ButtonDropdowns.spec.js.snap 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Dropdowns.vue renders correctly 1`] = `
  3. <div>
  4. <div
  5. class="row"
  6. >
  7. <div
  8. class="col-12 col-md-6"
  9. >
  10. <div
  11. class="card"
  12. >
  13. <header
  14. class="card-header"
  15. >
  16. <svg
  17. class="c-icon"
  18. role="img"
  19. viewBox="0 0 64 64"
  20. xmlns="http://www.w3.org/2000/svg"
  21. >
  22. undefined
  23. </svg>
  24. <strong>
  25. Bootstrap Dropdown
  26. </strong>
  27. <div
  28. class="card-header-actions"
  29. >
  30. <a
  31. class="card-header-action"
  32. href="https://coreui.io/vue/docs/components/dropdown"
  33. rel="noreferrer noopener"
  34. target="_blank"
  35. >
  36. <small
  37. class="text-muted"
  38. >
  39. docs
  40. </small>
  41. </a>
  42. </div>
  43. </header>
  44. <div
  45. class="card-body"
  46. >
  47. <div>
  48. <div
  49. class="m-2 dropdown"
  50. >
  51. <button
  52. aria-expanded="false"
  53. aria-haspopup="true"
  54. class="btn dropdown-toggle btn-secondary"
  55. type="button"
  56. >
  57. Dropdown Button
  58. </button>
  59. <!---->
  60. <div
  61. class="dropdown-menu"
  62. >
  63. <a
  64. class="dropdown-item"
  65. href="#"
  66. role="menuitem"
  67. target="_self"
  68. >
  69. First Action
  70. </a>
  71. <a
  72. class="dropdown-item"
  73. href="#"
  74. role="menuitem"
  75. target="_self"
  76. >
  77. Second Action
  78. </a>
  79. <a
  80. class="dropdown-item"
  81. href="#"
  82. role="menuitem"
  83. target="_self"
  84. >
  85. Third Action
  86. </a>
  87. <div
  88. class="dropdown-divider"
  89. role="separator"
  90. />
  91. <a
  92. class="dropdown-item"
  93. href="#"
  94. role="menuitem"
  95. target="_self"
  96. >
  97. Something else here...
  98. </a>
  99. <a
  100. aria-disabled="true"
  101. class="dropdown-item disabled"
  102. href="#"
  103. role="menuitem"
  104. tabindex="-1"
  105. target="_self"
  106. >
  107. Disabled action
  108. </a>
  109. </div>
  110. </div>
  111. </div>
  112. <div>
  113. <div
  114. class="m-2 dropdown"
  115. >
  116. <button
  117. aria-expanded="false"
  118. aria-haspopup="true"
  119. class="btn dropdown-toggle btn-secondary"
  120. type="button"
  121. >
  122. Dropdown with divider
  123. </button>
  124. <!---->
  125. <div
  126. class="dropdown-menu"
  127. >
  128. <a
  129. class="dropdown-item"
  130. href="#"
  131. role="menuitem"
  132. target="_self"
  133. >
  134. First item
  135. </a>
  136. <a
  137. class="dropdown-item"
  138. href="#"
  139. role="menuitem"
  140. target="_self"
  141. >
  142. Second item
  143. </a>
  144. <div
  145. class="dropdown-divider"
  146. role="separator"
  147. />
  148. <a
  149. class="dropdown-item"
  150. href="#"
  151. role="menuitem"
  152. target="_self"
  153. >
  154. Separated Item
  155. </a>
  156. </div>
  157. </div>
  158. </div>
  159. <div>
  160. <div
  161. class="m-2 dropdown"
  162. >
  163. <button
  164. aria-expanded="false"
  165. aria-haspopup="true"
  166. class="btn dropdown-toggle btn-secondary"
  167. type="button"
  168. >
  169. Dropdown with header
  170. </button>
  171. <!---->
  172. <div
  173. class="dropdown-menu"
  174. >
  175. <div
  176. class="dropdown-header"
  177. >
  178. Dropdown header
  179. </div>
  180. <a
  181. class="dropdown-item"
  182. href="#"
  183. role="menuitem"
  184. target="_self"
  185. >
  186. First item
  187. </a>
  188. <a
  189. class="dropdown-item"
  190. href="#"
  191. role="menuitem"
  192. target="_self"
  193. >
  194. Second Item
  195. </a>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. <div
  203. class="col-12 col-md-6"
  204. >
  205. <div
  206. class="card"
  207. >
  208. <header
  209. class="card-header"
  210. >
  211. <svg
  212. class="c-icon"
  213. role="img"
  214. viewBox="0 0 64 64"
  215. xmlns="http://www.w3.org/2000/svg"
  216. >
  217. undefined
  218. </svg>
  219. <strong>
  220. Dropdown
  221. </strong>
  222. <small>
  223. positioning
  224. </small>
  225. </header>
  226. <div
  227. class="card-body"
  228. >
  229. <div>
  230. <div
  231. class="m-2 d-inline-block dropdown"
  232. >
  233. <button
  234. aria-expanded="false"
  235. aria-haspopup="true"
  236. class="btn dropdown-toggle btn-primary"
  237. type="button"
  238. >
  239. Left align
  240. </button>
  241. <!---->
  242. <div
  243. class="dropdown-menu"
  244. >
  245. <a
  246. class="dropdown-item"
  247. href="#"
  248. role="menuitem"
  249. target="_self"
  250. >
  251. Action
  252. </a>
  253. <a
  254. class="dropdown-item"
  255. href="#"
  256. role="menuitem"
  257. target="_self"
  258. >
  259. Another action
  260. </a>
  261. <a
  262. class="dropdown-item"
  263. href="#"
  264. role="menuitem"
  265. target="_self"
  266. >
  267. Something else here
  268. </a>
  269. </div>
  270. </div>
  271. <div
  272. class="m-2 d-inline-block dropdown"
  273. >
  274. <button
  275. aria-expanded="false"
  276. aria-haspopup="true"
  277. class="btn dropdown-toggle btn-primary"
  278. type="button"
  279. >
  280. Right align
  281. </button>
  282. <!---->
  283. <div
  284. class="dropdown-menu"
  285. >
  286. <a
  287. class="dropdown-item"
  288. href="#"
  289. role="menuitem"
  290. target="_self"
  291. >
  292. Action
  293. </a>
  294. <a
  295. class="dropdown-item"
  296. href="#"
  297. role="menuitem"
  298. target="_self"
  299. >
  300. Another action
  301. </a>
  302. <a
  303. class="dropdown-item"
  304. href="#"
  305. role="menuitem"
  306. target="_self"
  307. >
  308. Something else here
  309. </a>
  310. </div>
  311. </div>
  312. </div>
  313. <div>
  314. <div
  315. class="m-2 dropup"
  316. >
  317. <button
  318. aria-expanded="false"
  319. aria-haspopup="true"
  320. class="btn dropdown-toggle btn-info"
  321. type="button"
  322. >
  323. Drop-Up
  324. </button>
  325. <!---->
  326. <div
  327. class="dropdown-menu"
  328. >
  329. <a
  330. class="dropdown-item"
  331. href="#"
  332. role="menuitem"
  333. target="_self"
  334. >
  335. Action
  336. </a>
  337. <a
  338. class="dropdown-item"
  339. href="#"
  340. role="menuitem"
  341. target="_self"
  342. >
  343. Another action
  344. </a>
  345. <a
  346. class="dropdown-item"
  347. href="#"
  348. role="menuitem"
  349. target="_self"
  350. >
  351. Something else here
  352. </a>
  353. </div>
  354. </div>
  355. </div>
  356. <div>
  357. <div
  358. class="m-2 dropdown"
  359. >
  360. <button
  361. aria-expanded="false"
  362. aria-haspopup="true"
  363. class="btn dropdown-toggle btn-secondary"
  364. type="button"
  365. >
  366. Offset Dropdown
  367. </button>
  368. <!---->
  369. <div
  370. class="dropdown-menu"
  371. >
  372. <a
  373. class="dropdown-item"
  374. href="#"
  375. role="menuitem"
  376. target="_self"
  377. >
  378. Action
  379. </a>
  380. <a
  381. class="dropdown-item"
  382. href="#"
  383. role="menuitem"
  384. target="_self"
  385. >
  386. Another action
  387. </a>
  388. <a
  389. class="dropdown-item"
  390. href="#"
  391. role="menuitem"
  392. target="_self"
  393. >
  394. Something else here
  395. </a>
  396. </div>
  397. </div>
  398. </div>
  399. <div>
  400. <div
  401. class="m-2 dropdown btn-group"
  402. >
  403. <button
  404. class="btn btn-secondary"
  405. >
  406. Split Dropdown
  407. </button>
  408. <button
  409. aria-expanded="false"
  410. aria-haspopup="true"
  411. class="dropdown-toggle dropdown-toggle-split btn btn-secondary"
  412. type="button"
  413. />
  414. <div
  415. class="dropdown-menu"
  416. >
  417. <a
  418. class="dropdown-item"
  419. href="#"
  420. role="menuitem"
  421. target="_self"
  422. >
  423. Action
  424. </a>
  425. <a
  426. class="dropdown-item"
  427. href="#"
  428. role="menuitem"
  429. target="_self"
  430. >
  431. Another action
  432. </a>
  433. <a
  434. class="dropdown-item"
  435. href="#"
  436. role="menuitem"
  437. target="_self"
  438. >
  439. Something else here...
  440. </a>
  441. </div>
  442. </div>
  443. </div>
  444. </div>
  445. </div>
  446. </div>
  447. </div>
  448. <div
  449. class="row"
  450. >
  451. <div
  452. class="col-12 col-md-6"
  453. >
  454. <div
  455. class="card"
  456. >
  457. <header
  458. class="card-header"
  459. >
  460. <svg
  461. class="c-icon"
  462. role="img"
  463. viewBox="0 0 64 64"
  464. xmlns="http://www.w3.org/2000/svg"
  465. >
  466. undefined
  467. </svg>
  468. <strong>
  469. Dropdown
  470. </strong>
  471. <small>
  472. hidden caret
  473. </small>
  474. </header>
  475. <div
  476. class="card-body"
  477. >
  478. <div>
  479. <div
  480. class="dropdown"
  481. >
  482. <button
  483. aria-expanded="false"
  484. aria-haspopup="true"
  485. class="btn btn-lg btn-link"
  486. type="button"
  487. >
  488. 🔍
  489. <span
  490. class="sr-only"
  491. >
  492. Search
  493. </span>
  494. </button>
  495. <!---->
  496. <div
  497. class="dropdown-menu"
  498. >
  499. <a
  500. class="dropdown-item"
  501. href="#"
  502. role="menuitem"
  503. target="_self"
  504. >
  505. Action
  506. </a>
  507. <a
  508. class="dropdown-item"
  509. href="#"
  510. role="menuitem"
  511. target="_self"
  512. >
  513. Another action
  514. </a>
  515. <a
  516. class="dropdown-item"
  517. href="#"
  518. role="menuitem"
  519. target="_self"
  520. >
  521. Something else here...
  522. </a>
  523. </div>
  524. </div>
  525. </div>
  526. </div>
  527. </div>
  528. </div>
  529. <div
  530. class="col-12 col-md-6"
  531. >
  532. <div
  533. class="card"
  534. >
  535. <header
  536. class="card-header"
  537. >
  538. <svg
  539. class="c-icon"
  540. role="img"
  541. viewBox="0 0 64 64"
  542. xmlns="http://www.w3.org/2000/svg"
  543. >
  544. undefined
  545. </svg>
  546. <strong>
  547. Dropdown
  548. </strong>
  549. <small>
  550. sizing
  551. </small>
  552. </header>
  553. <div
  554. class="card-body"
  555. >
  556. <div>
  557. <div
  558. class="m-2 d-inline-block dropdown"
  559. >
  560. <button
  561. aria-expanded="false"
  562. aria-haspopup="true"
  563. class="btn dropdown-toggle btn-lg btn-secondary"
  564. type="button"
  565. >
  566. Large
  567. </button>
  568. <!---->
  569. <div
  570. class="dropdown-menu"
  571. >
  572. <a
  573. class="dropdown-item"
  574. href="#"
  575. role="menuitem"
  576. target="_self"
  577. >
  578. Action
  579. </a>
  580. <a
  581. class="dropdown-item"
  582. href="#"
  583. role="menuitem"
  584. target="_self"
  585. >
  586. Another action
  587. </a>
  588. <a
  589. class="dropdown-item"
  590. href="#"
  591. role="menuitem"
  592. target="_self"
  593. >
  594. Something else here
  595. </a>
  596. </div>
  597. </div>
  598. <div
  599. class="m-2 dropdown btn-group"
  600. >
  601. <button
  602. class="btn btn-lg btn-secondary"
  603. >
  604. Large Split
  605. </button>
  606. <button
  607. aria-expanded="false"
  608. aria-haspopup="true"
  609. class="dropdown-toggle dropdown-toggle-split btn btn-lg btn-secondary"
  610. type="button"
  611. />
  612. <div
  613. class="dropdown-menu"
  614. >
  615. <a
  616. class="dropdown-item"
  617. href="#"
  618. role="menuitem"
  619. target="_self"
  620. >
  621. Action
  622. </a>
  623. <a
  624. class="dropdown-item"
  625. href="#"
  626. role="menuitem"
  627. target="_self"
  628. >
  629. Another action
  630. </a>
  631. <a
  632. class="dropdown-item"
  633. href="#"
  634. role="menuitem"
  635. target="_self"
  636. >
  637. Something else here...
  638. </a>
  639. </div>
  640. </div>
  641. <br />
  642. <div
  643. class="m-2 d-inline-block dropdown"
  644. >
  645. <button
  646. aria-expanded="false"
  647. aria-haspopup="true"
  648. class="btn dropdown-toggle btn-sm btn-secondary"
  649. type="button"
  650. >
  651. Small
  652. </button>
  653. <!---->
  654. <div
  655. class="dropdown-menu"
  656. >
  657. <a
  658. class="dropdown-item"
  659. href="#"
  660. role="menuitem"
  661. target="_self"
  662. >
  663. Action
  664. </a>
  665. <a
  666. class="dropdown-item"
  667. href="#"
  668. role="menuitem"
  669. target="_self"
  670. >
  671. Another action
  672. </a>
  673. <a
  674. class="dropdown-item"
  675. href="#"
  676. role="menuitem"
  677. target="_self"
  678. >
  679. Something else here...
  680. </a>
  681. </div>
  682. </div>
  683. <div
  684. class="m-2 dropdown btn-group"
  685. >
  686. <button
  687. class="btn btn-sm btn-secondary"
  688. >
  689. Small Split
  690. </button>
  691. <button
  692. aria-expanded="false"
  693. aria-haspopup="true"
  694. class="dropdown-toggle dropdown-toggle-split btn btn-sm btn-secondary"
  695. type="button"
  696. />
  697. <div
  698. class="dropdown-menu"
  699. >
  700. <a
  701. class="dropdown-item"
  702. href="#"
  703. role="menuitem"
  704. target="_self"
  705. >
  706. Action
  707. </a>
  708. <a
  709. class="dropdown-item"
  710. href="#"
  711. role="menuitem"
  712. target="_self"
  713. >
  714. Another action
  715. </a>
  716. <a
  717. class="dropdown-item"
  718. href="#"
  719. role="menuitem"
  720. target="_self"
  721. >
  722. Something else here...
  723. </a>
  724. </div>
  725. </div>
  726. </div>
  727. </div>
  728. </div>
  729. </div>
  730. </div>
  731. <div
  732. class="row"
  733. >
  734. <div
  735. class="col-12 col-md-6"
  736. >
  737. <div
  738. class="card"
  739. >
  740. <header
  741. class="card-header"
  742. >
  743. <svg
  744. class="c-icon"
  745. role="img"
  746. viewBox="0 0 64 64"
  747. xmlns="http://www.w3.org/2000/svg"
  748. >
  749. undefined
  750. </svg>
  751. <strong>
  752. Dropdown
  753. </strong>
  754. <small>
  755. headers and accessibility
  756. </small>
  757. </header>
  758. <div
  759. class="card-body"
  760. >
  761. <div>
  762. <div
  763. class="m-2 dropdown"
  764. >
  765. <button
  766. aria-expanded="false"
  767. aria-haspopup="true"
  768. class="btn dropdown-toggle btn-primary"
  769. type="button"
  770. >
  771. Dropdown ARIA
  772. </button>
  773. <!---->
  774. <div
  775. class="dropdown-menu"
  776. >
  777. <div
  778. role="group"
  779. >
  780. <div
  781. class="dropdown-header"
  782. >
  783. Groups
  784. </div>
  785. <a
  786. class="dropdown-item"
  787. href="#"
  788. role="menuitem"
  789. target="_self"
  790. >
  791. Add
  792. </a>
  793. <a
  794. class="dropdown-item"
  795. href="#"
  796. role="menuitem"
  797. target="_self"
  798. >
  799. Delete
  800. </a>
  801. </div>
  802. <div
  803. role="group"
  804. >
  805. <div
  806. class="dropdown-header"
  807. >
  808. Users
  809. </div>
  810. <a
  811. class="dropdown-item"
  812. href="#"
  813. role="menuitem"
  814. target="_self"
  815. >
  816. Add
  817. </a>
  818. <a
  819. class="dropdown-item"
  820. href="#"
  821. role="menuitem"
  822. target="_self"
  823. >
  824. Delete
  825. </a>
  826. </div>
  827. <div
  828. class="dropdown-divider"
  829. role="separator"
  830. />
  831. <a
  832. class="dropdown-item"
  833. href="#"
  834. role="menuitem"
  835. target="_self"
  836. >
  837. Something
  838. <strong>
  839. not
  840. </strong>
  841. associated with user
  842. </a>
  843. </div>
  844. </div>
  845. </div>
  846. </div>
  847. </div>
  848. </div>
  849. <div
  850. class="col-12 col-md-6"
  851. >
  852. <div
  853. class="card"
  854. >
  855. <header
  856. class="card-header"
  857. >
  858. <svg
  859. class="c-icon"
  860. role="img"
  861. viewBox="0 0 64 64"
  862. xmlns="http://www.w3.org/2000/svg"
  863. >
  864. undefined
  865. </svg>
  866. <strong>
  867. Dropdown
  868. </strong>
  869. <small>
  870. <code>
  871. color
  872. </code>
  873. </small>
  874. </header>
  875. <div
  876. class="card-body"
  877. >
  878. <div
  879. class="m-0 d-inline-block dropdown"
  880. >
  881. <button
  882. aria-expanded="false"
  883. aria-haspopup="true"
  884. class="btn dropdown-toggle btn-sm btn-primary"
  885. type="button"
  886. >
  887. Primary
  888. </button>
  889. <!---->
  890. <div
  891. class="dropdown-menu"
  892. >
  893. <a
  894. class="dropdown-item"
  895. href="#"
  896. role="menuitem"
  897. target="_self"
  898. >
  899. First Action
  900. </a>
  901. <a
  902. class="dropdown-item"
  903. href="#"
  904. role="menuitem"
  905. target="_self"
  906. >
  907. Second Action
  908. </a>
  909. <a
  910. class="dropdown-item"
  911. href="#"
  912. role="menuitem"
  913. target="_self"
  914. >
  915. Third Action
  916. </a>
  917. </div>
  918. </div>
  919. <div
  920. class="m-0 d-inline-block dropdown"
  921. >
  922. <button
  923. aria-expanded="false"
  924. aria-haspopup="true"
  925. class="btn dropdown-toggle btn-sm btn-secondary"
  926. type="button"
  927. >
  928. Secondary
  929. </button>
  930. <!---->
  931. <div
  932. class="dropdown-menu"
  933. >
  934. <a
  935. class="dropdown-item"
  936. href="#"
  937. role="menuitem"
  938. target="_self"
  939. >
  940. First Action
  941. </a>
  942. <a
  943. class="dropdown-item"
  944. href="#"
  945. role="menuitem"
  946. target="_self"
  947. >
  948. Second Action
  949. </a>
  950. <a
  951. class="dropdown-item"
  952. href="#"
  953. role="menuitem"
  954. target="_self"
  955. >
  956. Third Action
  957. </a>
  958. </div>
  959. </div>
  960. <div
  961. class="m-0 d-inline-block dropdown"
  962. >
  963. <button
  964. aria-expanded="false"
  965. aria-haspopup="true"
  966. class="btn dropdown-toggle btn-sm btn-success"
  967. type="button"
  968. >
  969. Success
  970. </button>
  971. <!---->
  972. <div
  973. class="dropdown-menu"
  974. >
  975. <a
  976. class="dropdown-item"
  977. href="#"
  978. role="menuitem"
  979. target="_self"
  980. >
  981. First Action
  982. </a>
  983. <a
  984. class="dropdown-item"
  985. href="#"
  986. role="menuitem"
  987. target="_self"
  988. >
  989. Second Action
  990. </a>
  991. <a
  992. class="dropdown-item"
  993. href="#"
  994. role="menuitem"
  995. target="_self"
  996. >
  997. Third Action
  998. </a>
  999. </div>
  1000. </div>
  1001. <div
  1002. class="m-0 d-inline-block dropdown"
  1003. >
  1004. <button
  1005. aria-expanded="false"
  1006. aria-haspopup="true"
  1007. class="btn dropdown-toggle btn-sm btn-warning"
  1008. type="button"
  1009. >
  1010. Warning
  1011. </button>
  1012. <!---->
  1013. <div
  1014. class="dropdown-menu"
  1015. >
  1016. <a
  1017. class="dropdown-item"
  1018. href="#"
  1019. role="menuitem"
  1020. target="_self"
  1021. >
  1022. First Action
  1023. </a>
  1024. <a
  1025. class="dropdown-item"
  1026. href="#"
  1027. role="menuitem"
  1028. target="_self"
  1029. >
  1030. Second Action
  1031. </a>
  1032. <a
  1033. class="dropdown-item"
  1034. href="#"
  1035. role="menuitem"
  1036. target="_self"
  1037. >
  1038. Third Action
  1039. </a>
  1040. </div>
  1041. </div>
  1042. <div
  1043. class="m-0 d-inline-block dropdown"
  1044. >
  1045. <button
  1046. aria-expanded="false"
  1047. aria-haspopup="true"
  1048. class="btn dropdown-toggle btn-sm btn-danger"
  1049. type="button"
  1050. >
  1051. Danger
  1052. </button>
  1053. <!---->
  1054. <div
  1055. class="dropdown-menu"
  1056. >
  1057. <a
  1058. class="dropdown-item"
  1059. href="#"
  1060. role="menuitem"
  1061. target="_self"
  1062. >
  1063. First Action
  1064. </a>
  1065. <a
  1066. class="dropdown-item"
  1067. href="#"
  1068. role="menuitem"
  1069. target="_self"
  1070. >
  1071. Second Action
  1072. </a>
  1073. <a
  1074. class="dropdown-item"
  1075. href="#"
  1076. role="menuitem"
  1077. target="_self"
  1078. >
  1079. Third Action
  1080. </a>
  1081. </div>
  1082. </div>
  1083. <div
  1084. class="m-0 d-inline-block dropdown"
  1085. >
  1086. <button
  1087. aria-expanded="false"
  1088. aria-haspopup="true"
  1089. class="btn dropdown-toggle btn-sm btn-info"
  1090. type="button"
  1091. >
  1092. Info
  1093. </button>
  1094. <!---->
  1095. <div
  1096. class="dropdown-menu"
  1097. >
  1098. <a
  1099. class="dropdown-item"
  1100. href="#"
  1101. role="menuitem"
  1102. target="_self"
  1103. >
  1104. First Action
  1105. </a>
  1106. <a
  1107. class="dropdown-item"
  1108. href="#"
  1109. role="menuitem"
  1110. target="_self"
  1111. >
  1112. Second Action
  1113. </a>
  1114. <a
  1115. class="dropdown-item"
  1116. href="#"
  1117. role="menuitem"
  1118. target="_self"
  1119. >
  1120. Third Action
  1121. </a>
  1122. </div>
  1123. </div>
  1124. <div
  1125. class="m-0 d-inline-block dropdown"
  1126. >
  1127. <button
  1128. aria-expanded="false"
  1129. aria-haspopup="true"
  1130. class="btn dropdown-toggle btn-sm btn-light"
  1131. type="button"
  1132. >
  1133. Light
  1134. </button>
  1135. <!---->
  1136. <div
  1137. class="dropdown-menu"
  1138. >
  1139. <a
  1140. class="dropdown-item"
  1141. href="#"
  1142. role="menuitem"
  1143. target="_self"
  1144. >
  1145. First Action
  1146. </a>
  1147. <a
  1148. class="dropdown-item"
  1149. href="#"
  1150. role="menuitem"
  1151. target="_self"
  1152. >
  1153. Second Action
  1154. </a>
  1155. <a
  1156. class="dropdown-item"
  1157. href="#"
  1158. role="menuitem"
  1159. target="_self"
  1160. >
  1161. Third Action
  1162. </a>
  1163. </div>
  1164. </div>
  1165. <div
  1166. class="m-0 d-inline-block dropdown"
  1167. >
  1168. <button
  1169. aria-expanded="false"
  1170. aria-haspopup="true"
  1171. class="btn dropdown-toggle btn-sm btn-dark"
  1172. type="button"
  1173. >
  1174. Dark
  1175. </button>
  1176. <!---->
  1177. <div
  1178. class="dropdown-menu"
  1179. >
  1180. <a
  1181. class="dropdown-item"
  1182. href="#"
  1183. role="menuitem"
  1184. target="_self"
  1185. >
  1186. First Action
  1187. </a>
  1188. <a
  1189. class="dropdown-item"
  1190. href="#"
  1191. role="menuitem"
  1192. target="_self"
  1193. >
  1194. Second Action
  1195. </a>
  1196. <a
  1197. class="dropdown-item"
  1198. href="#"
  1199. role="menuitem"
  1200. target="_self"
  1201. >
  1202. Third Action
  1203. </a>
  1204. </div>
  1205. </div>
  1206. <div
  1207. class="m-0 d-inline-block dropdown"
  1208. >
  1209. <button
  1210. aria-expanded="false"
  1211. aria-haspopup="true"
  1212. class="btn dropdown-toggle btn-sm btn-link"
  1213. type="button"
  1214. >
  1215. Link
  1216. </button>
  1217. <!---->
  1218. <div
  1219. class="dropdown-menu"
  1220. >
  1221. <a
  1222. class="dropdown-item"
  1223. href="#"
  1224. role="menuitem"
  1225. target="_self"
  1226. >
  1227. First Action
  1228. </a>
  1229. <a
  1230. class="dropdown-item"
  1231. href="#"
  1232. role="menuitem"
  1233. target="_self"
  1234. >
  1235. Second Action
  1236. </a>
  1237. <a
  1238. class="dropdown-item"
  1239. href="#"
  1240. role="menuitem"
  1241. target="_self"
  1242. >
  1243. Third Action
  1244. </a>
  1245. </div>
  1246. </div>
  1247. </div>
  1248. </div>
  1249. </div>
  1250. </div>
  1251. </div>
  1252. `;