Typography.spec.js.snap 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Typography.vue renders correctly 1`] = `
  3. <div>
  4. <div
  5. class="card"
  6. >
  7. <div
  8. class="card-header"
  9. >
  10. Headings
  11. </div>
  12. <div
  13. class="card-body"
  14. >
  15. <p>
  16. Documentation and examples for Bootstrap typography,
  17. including global settings, headings, body text, lists, and more.
  18. </p>
  19. <table
  20. class="table"
  21. >
  22. <thead>
  23. <tr>
  24. <th>
  25. Heading
  26. </th>
  27. <th>
  28. Example
  29. </th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <tr>
  34. <td>
  35. <p>
  36. <code
  37. class="highlighter-rouge"
  38. >
  39. &lt;h1&gt;&lt;/h1&gt;
  40. </code>
  41. </p>
  42. </td>
  43. <td>
  44. <span
  45. class="h1"
  46. >
  47. h1. Bootstrap heading
  48. </span>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td>
  53. <p>
  54. <code
  55. class="highlighter-rouge"
  56. >
  57. &lt;h2&gt;&lt;/h2&gt;
  58. </code>
  59. </p>
  60. </td>
  61. <td>
  62. <span
  63. class="h2"
  64. >
  65. h2. Bootstrap heading
  66. </span>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td>
  71. <p>
  72. <code
  73. class="highlighter-rouge"
  74. >
  75. &lt;h3&gt;&lt;/h3&gt;
  76. </code>
  77. </p>
  78. </td>
  79. <td>
  80. <span
  81. class="h3"
  82. >
  83. h3. Bootstrap heading
  84. </span>
  85. </td>
  86. </tr>
  87. <tr>
  88. <td>
  89. <p>
  90. <code
  91. class="highlighter-rouge"
  92. >
  93. &lt;h4&gt;&lt;/h4&gt;
  94. </code>
  95. </p>
  96. </td>
  97. <td>
  98. <span
  99. class="h4"
  100. >
  101. h4. Bootstrap heading
  102. </span>
  103. </td>
  104. </tr>
  105. <tr>
  106. <td>
  107. <p>
  108. <code
  109. class="highlighter-rouge"
  110. >
  111. &lt;h5&gt;&lt;/h5&gt;
  112. </code>
  113. </p>
  114. </td>
  115. <td>
  116. <span
  117. class="h5"
  118. >
  119. h5. Bootstrap heading
  120. </span>
  121. </td>
  122. </tr>
  123. <tr>
  124. <td>
  125. <p>
  126. <code
  127. class="highlighter-rouge"
  128. >
  129. &lt;h6&gt;&lt;/h6&gt;
  130. </code>
  131. </p>
  132. </td>
  133. <td>
  134. <span
  135. class="h6"
  136. >
  137. h6. Bootstrap heading
  138. </span>
  139. </td>
  140. </tr>
  141. </tbody>
  142. </table>
  143. </div>
  144. </div>
  145. <div
  146. class="card"
  147. >
  148. <div
  149. class="card-header"
  150. >
  151. Headings
  152. </div>
  153. <div
  154. class="card-body"
  155. >
  156. <p>
  157. <code
  158. class="highlighter-rouge"
  159. >
  160. .h1
  161. </code>
  162. through
  163. <code
  164. class="highlighter-rouge"
  165. >
  166. .h6
  167. </code>
  168. classes are also available, for when you want to match the font
  169. styling of a heading but cannot use the associated HTML element.
  170. </p>
  171. <div
  172. class="bd-example"
  173. >
  174. <p
  175. class="h1"
  176. >
  177. h1. Bootstrap heading
  178. </p>
  179. <p
  180. class="h2"
  181. >
  182. h2. Bootstrap heading
  183. </p>
  184. <p
  185. class="h3"
  186. >
  187. h3. Bootstrap heading
  188. </p>
  189. <p
  190. class="h4"
  191. >
  192. h4. Bootstrap heading
  193. </p>
  194. <p
  195. class="h5"
  196. >
  197. h5. Bootstrap heading
  198. </p>
  199. <p
  200. class="h6"
  201. >
  202. h6. Bootstrap heading
  203. </p>
  204. </div>
  205. </div>
  206. </div>
  207. <div
  208. class="card"
  209. >
  210. <div
  211. class="card-header"
  212. >
  213. Display headings
  214. </div>
  215. <div
  216. class="card-body"
  217. >
  218. <p>
  219. Traditional heading elements are designed to work best in the meat
  220. of your page content. When you need a heading to stand out,
  221. consider using a
  222. <strong>
  223. display heading
  224. </strong>
  225. —a larger,
  226. slightly more opinionated heading style.
  227. </p>
  228. <div
  229. class="bd-example bd-example-type"
  230. >
  231. <table
  232. class="table"
  233. >
  234. <tbody>
  235. <tr>
  236. <td>
  237. <span
  238. class="display-1"
  239. >
  240. Display 1
  241. </span>
  242. </td>
  243. </tr>
  244. <tr>
  245. <td>
  246. <span
  247. class="display-2"
  248. >
  249. Display 2
  250. </span>
  251. </td>
  252. </tr>
  253. <tr>
  254. <td>
  255. <span
  256. class="display-3"
  257. >
  258. Display 3
  259. </span>
  260. </td>
  261. </tr>
  262. <tr>
  263. <td>
  264. <span
  265. class="display-4"
  266. >
  267. Display 4
  268. </span>
  269. </td>
  270. </tr>
  271. </tbody>
  272. </table>
  273. </div>
  274. </div>
  275. </div>
  276. <div
  277. class="card"
  278. >
  279. <div
  280. class="card-header"
  281. >
  282. Inline text elements
  283. </div>
  284. <div
  285. class="card-body"
  286. >
  287. <p>
  288. Traditional heading elements are designed to work best in the meat
  289. of your page content. When you need a heading to stand out,
  290. consider using a
  291. <strong>
  292. display heading
  293. </strong>
  294. —a larger,
  295. slightly more opinionated heading style.
  296. </p>
  297. <div
  298. class="bd-example"
  299. >
  300. <p>
  301. You can use the mark tag to
  302. <mark>
  303. highlight
  304. </mark>
  305. text.
  306. </p>
  307. <p>
  308. <del>
  309. This line of text is meant to be treated as deleted text.
  310. </del>
  311. </p>
  312. <p>
  313. <s>
  314. This line of text is meant to be treated as no longer accurate.
  315. </s>
  316. </p>
  317. <p>
  318. <ins>
  319. This line of text is meant to be treated as an addition to the document.
  320. </ins>
  321. </p>
  322. <p>
  323. <u>
  324. This line of text will render as underlined
  325. </u>
  326. </p>
  327. <p>
  328. <small>
  329. This line of text is meant to be treated as fine print.
  330. </small>
  331. </p>
  332. <p>
  333. <strong>
  334. This line rendered as bold text.
  335. </strong>
  336. </p>
  337. <p>
  338. <em>
  339. This line rendered as italicized text.
  340. </em>
  341. </p>
  342. </div>
  343. </div>
  344. </div>
  345. <div
  346. class="card"
  347. >
  348. <div
  349. class="card-header"
  350. >
  351. Description list alignment
  352. </div>
  353. <div
  354. class="card-body"
  355. >
  356. <p>
  357. Align terms and descriptions horizontally by using our grid system’s
  358. predefined classes (or semantic mixins). For longer terms, you can
  359. optionally add a
  360. <code
  361. class="highlighter-rouge"
  362. >
  363. .text-truncate
  364. </code>
  365. class to truncate the text with an ellipsis.
  366. </p>
  367. <div
  368. class="bd-example"
  369. >
  370. <dl
  371. class="row"
  372. >
  373. <dt
  374. class="col-sm-3"
  375. >
  376. Description lists
  377. </dt>
  378. <dd
  379. class="col-sm-9"
  380. >
  381. A description list is perfect for defining terms.
  382. </dd>
  383. <dt
  384. class="col-sm-3"
  385. >
  386. Euismod
  387. </dt>
  388. <dd
  389. class="col-sm-9"
  390. >
  391. <p>
  392. Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
  393. </p>
  394. <p>
  395. Donec id elit non mi porta gravida at eget metus.
  396. </p>
  397. </dd>
  398. <dt
  399. class="col-sm-3"
  400. >
  401. Malesuada porta
  402. </dt>
  403. <dd
  404. class="col-sm-9"
  405. >
  406. Etiam porta sem malesuada magna mollis euismod.
  407. </dd>
  408. <dt
  409. class="col-sm-3 text-truncate"
  410. >
  411. Truncated term is truncated
  412. </dt>
  413. <dd
  414. class="col-sm-9"
  415. >
  416. Fusce dapibus, tellus ac cursus commodo, tortor mauris
  417. condimentum nibh, ut fermentum massa justo sit amet risus.
  418. </dd>
  419. <dt
  420. class="col-sm-3"
  421. >
  422. Nesting
  423. </dt>
  424. <dd
  425. class="col-sm-9"
  426. >
  427. <dl
  428. class="row"
  429. >
  430. <dt
  431. class="col-sm-4"
  432. >
  433. Nested definition list
  434. </dt>
  435. <dd
  436. class="col-sm-8"
  437. >
  438. Aenean posuere, tortor sed cursus feugiat, nunc augue nunc.
  439. </dd>
  440. </dl>
  441. </dd>
  442. </dl>
  443. </div>
  444. </div>
  445. </div>
  446. </div>
  447. `;