Cards.spec.js.snap 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Cards.vue renders correctly 1`] = `
  3. <div>
  4. <div
  5. class="row"
  6. >
  7. <div
  8. class="col-sm-6 col-md-4"
  9. >
  10. <div
  11. class="card"
  12. >
  13. <header
  14. class="card-header"
  15. >
  16. Card title
  17. <div
  18. class="card-header-actions"
  19. >
  20. <a
  21. class="card-header-action"
  22. href="https://coreui.io/vue/docs/components/card-components"
  23. rel="noreferrer noopener"
  24. target="_blank"
  25. >
  26. <small
  27. class="text-muted"
  28. >
  29. docs
  30. </small>
  31. </a>
  32. </div>
  33. </header>
  34. <div
  35. class="card-body"
  36. >
  37. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  38. </div>
  39. </div>
  40. </div>
  41. <div
  42. class="col-sm-6 col-md-4"
  43. >
  44. <div
  45. class="card"
  46. >
  47. <div
  48. class="card-body"
  49. >
  50. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  51. </div>
  52. <footer
  53. class="card-footer"
  54. >
  55. Card Footer
  56. </footer>
  57. </div>
  58. </div>
  59. <div
  60. class="col-sm-6 col-md-4"
  61. >
  62. <div
  63. class="card"
  64. >
  65. <header
  66. class="card-header"
  67. >
  68. <svg
  69. class="c-icon"
  70. role="img"
  71. viewBox="0 0 64 64"
  72. xmlns="http://www.w3.org/2000/svg"
  73. >
  74. undefined
  75. </svg>
  76. Card with icon
  77. </header>
  78. <div
  79. class="card-body"
  80. >
  81. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  82. </div>
  83. </div>
  84. </div>
  85. <div
  86. class="col-sm-6 col-md-4"
  87. >
  88. <div
  89. class="card"
  90. >
  91. <header
  92. class="card-header"
  93. >
  94. Card with switch
  95. <label
  96. class="float-right c-switch form-check-label c-switch-sm c-switch-pill c-switch-info"
  97. >
  98. <input
  99. class="c-switch-input form-check-input"
  100. data-off="Off"
  101. data-on="On"
  102. type="checkbox"
  103. />
  104. <span
  105. class="c-switch-slider"
  106. />
  107. </label>
  108. </header>
  109. <div
  110. class="card-body"
  111. >
  112. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  113. </div>
  114. </div>
  115. </div>
  116. <div
  117. class="col-sm-6 col-md-4"
  118. >
  119. <div
  120. class="card"
  121. >
  122. <header
  123. class="card-header"
  124. >
  125. Card with label
  126. <span
  127. class="badge float-right badge-success"
  128. >
  129. Success
  130. </span>
  131. </header>
  132. <div
  133. class="card-body"
  134. >
  135. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  136. </div>
  137. </div>
  138. </div>
  139. <div
  140. class="col-sm-6 col-md-4"
  141. >
  142. <div
  143. class="card"
  144. >
  145. <header
  146. class="card-header"
  147. >
  148. Card with label
  149. <span
  150. class="badge float-right badge-danger badge-pill"
  151. >
  152. 42
  153. </span>
  154. </header>
  155. <div
  156. class="card-body"
  157. >
  158. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. <div
  164. class="row"
  165. >
  166. <div
  167. class="col-sm-6 col-md-4"
  168. >
  169. <div
  170. class="card border-primary"
  171. >
  172. <header
  173. class="card-header"
  174. >
  175. Card outline primary
  176. </header>
  177. <div
  178. class="card-body"
  179. >
  180. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  181. </div>
  182. </div>
  183. </div>
  184. <div
  185. class="col-sm-6 col-md-4"
  186. >
  187. <div
  188. class="card border-secondary"
  189. >
  190. <header
  191. class="card-header"
  192. >
  193. Card outline secondary
  194. </header>
  195. <div
  196. class="card-body"
  197. >
  198. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  199. </div>
  200. </div>
  201. </div>
  202. <div
  203. class="col-sm-6 col-md-4"
  204. >
  205. <div
  206. class="card border-success"
  207. >
  208. <header
  209. class="card-header"
  210. >
  211. Card outline success
  212. </header>
  213. <div
  214. class="card-body"
  215. >
  216. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  217. </div>
  218. </div>
  219. </div>
  220. <div
  221. class="col-sm-6 col-md-4"
  222. >
  223. <div
  224. class="card border-info"
  225. >
  226. <header
  227. class="card-header"
  228. >
  229. Card outline info
  230. </header>
  231. <div
  232. class="card-body"
  233. >
  234. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  235. </div>
  236. </div>
  237. </div>
  238. <div
  239. class="col-sm-6 col-md-4"
  240. >
  241. <div
  242. class="card border-warning"
  243. >
  244. <header
  245. class="card-header"
  246. >
  247. Card outline warning
  248. </header>
  249. <div
  250. class="card-body"
  251. >
  252. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  253. </div>
  254. </div>
  255. </div>
  256. <div
  257. class="col-sm-6 col-md-4"
  258. >
  259. <div
  260. class="card border-danger"
  261. >
  262. <header
  263. class="card-header"
  264. >
  265. Card outline danger
  266. </header>
  267. <div
  268. class="card-body"
  269. >
  270. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  271. </div>
  272. </div>
  273. </div>
  274. </div>
  275. <div
  276. class="row"
  277. >
  278. <div
  279. class="col-sm-6 col-md-4"
  280. >
  281. <div
  282. class="card card-accent-primary"
  283. >
  284. <header
  285. class="card-header"
  286. >
  287. Card with primary accent
  288. </header>
  289. <div
  290. class="card-body"
  291. >
  292. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  293. </div>
  294. </div>
  295. </div>
  296. <div
  297. class="col-sm-6 col-md-4"
  298. >
  299. <div
  300. class="card card-accent-secondary"
  301. >
  302. <header
  303. class="card-header"
  304. >
  305. Card with secondary accent
  306. </header>
  307. <div
  308. class="card-body"
  309. >
  310. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  311. </div>
  312. </div>
  313. </div>
  314. <div
  315. class="col-sm-6 col-md-4"
  316. >
  317. <div
  318. class="card card-accent-success"
  319. >
  320. <header
  321. class="card-header"
  322. >
  323. Card with success accent
  324. </header>
  325. <div
  326. class="card-body"
  327. >
  328. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  329. </div>
  330. </div>
  331. </div>
  332. <div
  333. class="col-sm-6 col-md-4"
  334. >
  335. <div
  336. class="card card-accent-info"
  337. >
  338. <header
  339. class="card-header"
  340. >
  341. Card with info accent
  342. </header>
  343. <div
  344. class="card-body"
  345. >
  346. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  347. </div>
  348. </div>
  349. </div>
  350. <div
  351. class="col-sm-6 col-md-4"
  352. >
  353. <div
  354. class="card card-accent-info"
  355. >
  356. <header
  357. class="card-header"
  358. >
  359. Card with info accent
  360. </header>
  361. <div
  362. class="card-body"
  363. >
  364. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  365. </div>
  366. </div>
  367. </div>
  368. <div
  369. class="col-sm-6 col-md-4"
  370. >
  371. <div
  372. class="card card-accent-danger"
  373. >
  374. <header
  375. class="card-header"
  376. >
  377. Card with danger accent
  378. </header>
  379. <div
  380. class="card-body"
  381. >
  382. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  383. </div>
  384. </div>
  385. </div>
  386. </div>
  387. <div
  388. class="row"
  389. >
  390. <div
  391. class="col-sm-6 col-md-4"
  392. >
  393. <div
  394. class="card text-center bg-primary text-white"
  395. >
  396. <div
  397. class="card-body"
  398. >
  399. <blockquote
  400. class="card-blockquote"
  401. >
  402. <p>
  403. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
  404. </p>
  405. <footer>
  406. Someone famous in
  407. <cite
  408. title="Source Title"
  409. >
  410. Source Title
  411. </cite>
  412. </footer>
  413. </blockquote>
  414. </div>
  415. </div>
  416. </div>
  417. <div
  418. class="col-sm-6 col-md-4"
  419. >
  420. <div
  421. class="card text-center bg-success text-white"
  422. >
  423. <div
  424. class="card-body"
  425. >
  426. <blockquote
  427. class="card-blockquote"
  428. >
  429. <p>
  430. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
  431. </p>
  432. <footer>
  433. Someone famous in
  434. <cite
  435. title="Source Title"
  436. >
  437. Source Title
  438. </cite>
  439. </footer>
  440. </blockquote>
  441. </div>
  442. </div>
  443. </div>
  444. <div
  445. class="col-sm-6 col-md-4"
  446. >
  447. <div
  448. class="card text-center bg-info text-white"
  449. >
  450. <div
  451. class="card-body"
  452. >
  453. <blockquote
  454. class="card-blockquote"
  455. >
  456. <p>
  457. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
  458. </p>
  459. <footer>
  460. Someone famous in
  461. <cite
  462. title="Source Title"
  463. >
  464. Source Title
  465. </cite>
  466. </footer>
  467. </blockquote>
  468. </div>
  469. </div>
  470. </div>
  471. <div
  472. class="col-sm-6 col-md-4"
  473. >
  474. <div
  475. class="card text-center bg-warning text-white"
  476. >
  477. <div
  478. class="card-body"
  479. >
  480. <blockquote
  481. class="card-blockquote"
  482. >
  483. <p>
  484. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
  485. </p>
  486. <footer>
  487. Someone famous in
  488. <cite
  489. title="Source Title"
  490. >
  491. Source Title
  492. </cite>
  493. </footer>
  494. </blockquote>
  495. </div>
  496. </div>
  497. </div>
  498. <div
  499. class="col-sm-6 col-md-4"
  500. >
  501. <div
  502. class="card text-center bg-danger text-white"
  503. >
  504. <div
  505. class="card-body"
  506. >
  507. <blockquote
  508. class="card-blockquote"
  509. >
  510. <p>
  511. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
  512. </p>
  513. <footer>
  514. Someone famous in
  515. <cite
  516. title="Source Title"
  517. >
  518. Source Title
  519. </cite>
  520. </footer>
  521. </blockquote>
  522. </div>
  523. </div>
  524. </div>
  525. <div
  526. class="col-sm-6 col-md-4"
  527. >
  528. <div
  529. class="card text-center bg-secondary"
  530. >
  531. <div
  532. class="card-body"
  533. >
  534. <blockquote
  535. class="card-blockquote"
  536. >
  537. <p>
  538. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
  539. </p>
  540. <footer>
  541. Someone famous in
  542. <cite
  543. title="Source Title"
  544. >
  545. Source Title
  546. </cite>
  547. </footer>
  548. </blockquote>
  549. </div>
  550. </div>
  551. </div>
  552. </div>
  553. <div
  554. class="row"
  555. >
  556. <div
  557. class="col-sm-6 col-md-4"
  558. >
  559. <div
  560. class="card bg-primary text-white"
  561. >
  562. <div
  563. class="card-body"
  564. >
  565. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  566. </div>
  567. </div>
  568. </div>
  569. <div
  570. class="col-sm-6 col-md-4"
  571. >
  572. <div
  573. class="card bg-success text-white"
  574. >
  575. <div
  576. class="card-body"
  577. >
  578. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  579. </div>
  580. </div>
  581. </div>
  582. <div
  583. class="col-sm-6 col-md-4"
  584. >
  585. <div
  586. class="card bg-info text-white"
  587. >
  588. <div
  589. class="card-body"
  590. >
  591. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  592. </div>
  593. </div>
  594. </div>
  595. <div
  596. class="col-sm-6 col-md-4"
  597. >
  598. <div
  599. class="card bg-warning text-white"
  600. >
  601. <div
  602. class="card-body"
  603. >
  604. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  605. </div>
  606. </div>
  607. </div>
  608. <div
  609. class="col-sm-6 col-md-4"
  610. >
  611. <div
  612. class="card bg-danger text-white"
  613. >
  614. <div
  615. class="card-body"
  616. >
  617. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  618. </div>
  619. </div>
  620. </div>
  621. <div
  622. class="col-sm-6 col-md-4"
  623. >
  624. <transition-stub
  625. name="fade"
  626. >
  627. <div
  628. class="card bg-secondary"
  629. >
  630. <header
  631. class="card-header"
  632. >
  633. Card with header actions
  634. <div
  635. class="card-header-actions"
  636. >
  637. <a
  638. class="card-header-action btn-setting"
  639. href="#"
  640. target="_self"
  641. >
  642. <svg
  643. class="c-icon"
  644. role="img"
  645. viewBox="0 0 64 64"
  646. xmlns="http://www.w3.org/2000/svg"
  647. >
  648. undefined
  649. </svg>
  650. </a>
  651. <a
  652. class="card-header-action btn-minimize"
  653. href="#"
  654. target="_self"
  655. >
  656. <svg
  657. class="c-icon"
  658. role="img"
  659. viewBox="0 0 64 64"
  660. xmlns="http://www.w3.org/2000/svg"
  661. >
  662. undefined
  663. </svg>
  664. </a>
  665. <a
  666. class="card-header-action btn-close"
  667. href="#"
  668. target="_self"
  669. >
  670. <svg
  671. class="c-icon"
  672. role="img"
  673. viewBox="0 0 64 64"
  674. xmlns="http://www.w3.org/2000/svg"
  675. >
  676. undefined
  677. </svg>
  678. </a>
  679. </div>
  680. </header>
  681. <div
  682. class=""
  683. >
  684. <div
  685. class="card-body"
  686. >
  687. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
  688. </div>
  689. </div>
  690. </div>
  691. </transition-stub>
  692. </div>
  693. </div>
  694. </div>
  695. `;