@tabler/core 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/docs/emails/index.mdx +14 -0
  2. package/docs/emails/introduction/compiled-html.mdx +29 -0
  3. package/docs/emails/introduction/contents.mdx +63 -0
  4. package/docs/emails/introduction/index.mdx +9 -0
  5. package/docs/emails/introduction/source-html.mdx +26 -0
  6. package/docs/icons/index.mdx +13 -0
  7. package/docs/icons/libraries/index.mdx +5 -0
  8. package/docs/icons/libraries/preact.mdx +42 -0
  9. package/docs/icons/libraries/react.mdx +42 -0
  10. package/docs/icons/libraries/solidjs.mdx +42 -0
  11. package/docs/icons/libraries/svelte.mdx +43 -0
  12. package/docs/icons/libraries/vue.mdx +50 -0
  13. package/docs/icons/libraries/webfont.mdx +60 -0
  14. package/docs/icons/plugins/figma.mdx +15 -0
  15. package/docs/icons/plugins/index.mdx +4 -0
  16. package/docs/icons/static-files/eps.mdx +15 -0
  17. package/docs/icons/static-files/index.mdx +5 -0
  18. package/docs/icons/static-files/pdf.mdx +15 -0
  19. package/docs/icons/static-files/png.mdx +31 -0
  20. package/docs/icons/static-files/svg.mdx +85 -0
  21. package/docs/illustrations/index.mdx +8 -0
  22. package/docs/illustrations/introduction/contents.mdx +77 -0
  23. package/docs/illustrations/introduction/customization.mdx +1198 -0
  24. package/docs/illustrations/introduction/index.mdx +5 -0
  25. package/docs/illustrations/introduction/license.mdx +90 -0
  26. package/docs/img/browsers/brave.svg +1 -0
  27. package/docs/img/browsers/chrome.svg +1 -0
  28. package/docs/img/browsers/edge.svg +1 -0
  29. package/docs/img/browsers/electron.svg +1 -0
  30. package/docs/img/browsers/firefox.svg +1 -0
  31. package/docs/img/browsers/internet-explorer.svg +1 -0
  32. package/docs/img/browsers/opera.svg +1 -0
  33. package/docs/img/browsers/safari.svg +1 -0
  34. package/docs/img/browsers/vivaldi.svg +1 -0
  35. package/docs/img/cover-illustrations-dark.png +0 -0
  36. package/docs/img/cover-illustrations.png +0 -0
  37. package/docs/img/cover-tabler-dark.png +0 -0
  38. package/docs/img/cover-tabler.png +0 -0
  39. package/docs/img/icons/figma-plugin.png +0 -0
  40. package/docs/img/icons/package-angular-dark.png +0 -0
  41. package/docs/img/icons/package-angular.png +0 -0
  42. package/docs/img/icons/package-eps-dark.png +0 -0
  43. package/docs/img/icons/package-eps.png +0 -0
  44. package/docs/img/icons/package-js-dark.png +0 -0
  45. package/docs/img/icons/package-js.png +0 -0
  46. package/docs/img/icons/package-pdf-dark.png +0 -0
  47. package/docs/img/icons/package-pdf.png +0 -0
  48. package/docs/img/icons/package-png-dark.png +0 -0
  49. package/docs/img/icons/package-png.png +0 -0
  50. package/docs/img/icons/package-preact-dark.png +0 -0
  51. package/docs/img/icons/package-preact.png +0 -0
  52. package/docs/img/icons/package-react-dark.png +0 -0
  53. package/docs/img/icons/package-react-native-dark.png +0 -0
  54. package/docs/img/icons/package-react-native.png +0 -0
  55. package/docs/img/icons/package-react.png +0 -0
  56. package/docs/img/icons/package-solidjs-dark.png +0 -0
  57. package/docs/img/icons/package-solidjs.png +0 -0
  58. package/docs/img/icons/package-sprite-dark.png +0 -0
  59. package/docs/img/icons/package-sprite.png +0 -0
  60. package/docs/img/icons/package-svelte-dark.png +0 -0
  61. package/docs/img/icons/package-svelte.png +0 -0
  62. package/docs/img/icons/package-svg-dark.png +0 -0
  63. package/docs/img/icons/package-svg.png +0 -0
  64. package/docs/img/icons/package-vue-dark.png +0 -0
  65. package/docs/img/icons/package-vue.png +0 -0
  66. package/docs/img/icons/package-webfont-dark.png +0 -0
  67. package/docs/img/icons/package-webfont.png +0 -0
  68. package/docs/index.mdx +16 -0
  69. package/docs/ui/base/colors.mdx +83 -0
  70. package/docs/ui/base/index.mdx +6 -0
  71. package/docs/ui/base/typography.mdx +311 -0
  72. package/docs/ui/components/alerts.mdx +406 -0
  73. package/docs/ui/components/autosize.mdx +25 -0
  74. package/docs/ui/components/avatars.mdx +227 -0
  75. package/docs/ui/components/badges.mdx +112 -0
  76. package/docs/ui/components/breadcrumb.mdx +199 -0
  77. package/docs/ui/components/buttons.mdx +1213 -0
  78. package/docs/ui/components/cards.mdx +417 -0
  79. package/docs/ui/components/carousel.mdx +459 -0
  80. package/docs/ui/components/charts.mdx +697 -0
  81. package/docs/ui/components/countup.mdx +165 -0
  82. package/docs/ui/components/datagrid.mdx +120 -0
  83. package/docs/ui/components/divider.mdx +68 -0
  84. package/docs/ui/components/dropdowns.mdx +302 -0
  85. package/docs/ui/components/dropzone.mdx +88 -0
  86. package/docs/ui/components/empty.mdx +149 -0
  87. package/docs/ui/components/icons.mdx +392 -0
  88. package/docs/ui/components/index.mdx +6 -0
  89. package/docs/ui/components/inline-player.mdx +58 -0
  90. package/docs/ui/components/modals.mdx +297 -0
  91. package/docs/ui/components/offcanvas.mdx +70 -0
  92. package/docs/ui/components/placeholder.mdx +273 -0
  93. package/docs/ui/components/popover.mdx +142 -0
  94. package/docs/ui/components/progress.mdx +241 -0
  95. package/docs/ui/components/range-slider.mdx +32 -0
  96. package/docs/ui/components/ribbons.mdx +207 -0
  97. package/docs/ui/components/segmented-control.mdx +401 -0
  98. package/docs/ui/components/spinners.mdx +135 -0
  99. package/docs/ui/components/statuses.mdx +322 -0
  100. package/docs/ui/components/steps.mdx +174 -0
  101. package/docs/ui/components/switch-icon.mdx +386 -0
  102. package/docs/ui/components/tables.mdx +397 -0
  103. package/docs/ui/components/tabs.mdx +396 -0
  104. package/docs/ui/components/timelines.mdx +697 -0
  105. package/docs/ui/components/tinymce.mdx +46 -0
  106. package/docs/ui/components/toasts.mdx +126 -0
  107. package/docs/ui/components/tooltips.mdx +65 -0
  108. package/docs/ui/components/tracking.mdx +548 -0
  109. package/docs/ui/components/vector-maps.mdx +166 -0
  110. package/docs/ui/forms/form-color-check.mdx +220 -0
  111. package/docs/ui/forms/form-elements.mdx +632 -0
  112. package/docs/ui/forms/form-fieldset.mdx +45 -0
  113. package/docs/ui/forms/form-helpers.mdx +91 -0
  114. package/docs/ui/forms/form-image-check.mdx +213 -0
  115. package/docs/ui/forms/form-input-mask.mdx +61 -0
  116. package/docs/ui/forms/form-selectboxes.mdx +398 -0
  117. package/docs/ui/forms/form-validation.mdx +62 -0
  118. package/docs/ui/forms/index.mdx +6 -0
  119. package/docs/ui/getting-started/browser-support.mdx +28 -0
  120. package/docs/ui/getting-started/customize.mdx +28 -0
  121. package/docs/ui/getting-started/download.mdx +44 -0
  122. package/docs/ui/getting-started/faq.mdx +30 -0
  123. package/docs/ui/getting-started/how-to-contribute.mdx +84 -0
  124. package/docs/ui/getting-started/index.mdx +16 -0
  125. package/docs/ui/getting-started/installation.mdx +67 -0
  126. package/docs/ui/getting-started/license.mdx +30 -0
  127. package/docs/ui/index.mdx +8 -0
  128. package/docs/ui/layout/index.mdx +6 -0
  129. package/docs/ui/layout/navbars.mdx +164 -0
  130. package/docs/ui/layout/navs-tabls.mdx +201 -0
  131. package/docs/ui/layout/page-headers.mdx +365 -0
  132. package/docs/ui/layout/page-layouts.mdx +213 -0
  133. package/docs/ui/plugins/flags.mdx +316 -0
  134. package/docs/ui/plugins/index.mdx +6 -0
  135. package/docs/ui/plugins/payments.mdx +152 -0
  136. package/docs/ui/plugins/social-icons.mdx +135 -0
  137. package/docs/ui/utilities/borders.mdx +260 -0
  138. package/docs/ui/utilities/cursors.mdx +63 -0
  139. package/docs/ui/utilities/index.mdx +5 -0
  140. package/docs/ui/utilities/interactions.mdx +26 -0
  141. package/docs/ui/utilities/margins.mdx +234 -0
  142. package/docs/ui/utilities/vertical-align.mdx +66 -0
  143. package/docs/ui/utilities/visually-hidden.mdx +12 -0
  144. package/package.json +6 -6
  145. package/LICENSE +0 -21
@@ -0,0 +1,311 @@
1
+ ---
2
+ title: Typography
3
+ summary: Typography plays an important role in creating an attractive and clear interface design. Good typography will make the content easy to follow and improve the usability of your website.
4
+ bootstrapLink: content/typography/
5
+ description: Role of typography in interface design.
6
+ ---
7
+
8
+ ## Headings
9
+
10
+ Use HTML headings to organize content on your website and make the structure clear and user-friendly. The `h1` to `h6` tags are used to define HTML headings.
11
+ The `h1` tag is the highest level and the `h6` tag is the lowest level.
12
+
13
+ ```html
14
+ <h1>H1 Heading</h1>
15
+ <h2>H2 Heading</h2>
16
+ <h3>H3 Heading</h3>
17
+ <h4>H4 Heading</h4>
18
+ <h5>H5 Heading</h5>
19
+ <h6>H6 Heading</h6>
20
+ ```
21
+
22
+ Below are examples of headings with different levels:
23
+
24
+ ```html example vertical columns={1}
25
+ <h1>H1 Heading</h1>
26
+ <h2>H2 Heading</h2>
27
+ <h3>H3 Heading</h3>
28
+ <h4>H4 Heading</h4>
29
+ <h5>H5 Heading</h5>
30
+ <h6>H6 Heading</h6>
31
+ ```
32
+
33
+ ## Paragraphs
34
+
35
+ Organize longer pieces of text into paragraphs using the `p` tag. It is the most common element for text content.
36
+
37
+ ```html
38
+ <p>At vero eos et accusam et justo duo dolores et ea rebum.</p>
39
+ ```
40
+
41
+ If you use a second paragraph, it will be separated from the first one by a blank line.
42
+
43
+ ```html example vertical centered columns={2}
44
+ <div>
45
+ <p>
46
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
47
+ ut labore et dolore magna aliquyam erat, sed diam voluptua.
48
+ </p>
49
+ <p>At vero eos et accusam et justo duo dolores et ea rebum.</p>
50
+ </div>
51
+ ```
52
+
53
+
54
+ ## Semantic text elements
55
+
56
+ Use a variety of semantic text elements, depending on how you want to display particular fragments of content.
57
+
58
+ ```html
59
+ <abbr title="Internationalization">I18N</abbr>
60
+ <strong>Bold</strong>
61
+ <cite>Citation</cite>
62
+ <code>Hello World!</code>
63
+ <del>Deleted</del>
64
+ <em>Emphasis</em>
65
+ <i>Italic</i>
66
+ <ins>Inserted</ins>
67
+ <kbd>Ctrl + S</kbd>
68
+ <mark>Highlighted</mark>
69
+ <s>Strikethrough</s>
70
+ <samp>Sample</samp>
71
+ Text <sub>Subscripted</sub> Text <sup>Superscripted</sup>
72
+ <time>20:00</time>
73
+ <u>Underline</u>
74
+ <var>x</var> = <var>y</var> + 2
75
+ ```
76
+
77
+ Here are examples of semantic text elements:
78
+
79
+ ```html example vertical separated columns={1}
80
+ <div>
81
+ <abbr title="Internationalization">I18N</abbr>
82
+ </div>
83
+ <div><strong>Bold</strong></div>
84
+ <div>
85
+ <cite>Citation</cite>
86
+ </div>
87
+ <div>
88
+ <code>Hello World!</code>
89
+ </div>
90
+ <div>
91
+ <del>Deleted</del>
92
+ </div>
93
+ <div>
94
+ <em>Emphasis</em>
95
+ </div>
96
+ <div>
97
+ <i>Italic</i>
98
+ </div>
99
+ <div>
100
+ <ins>Inserted</ins>
101
+ </div>
102
+ <div>
103
+ <kbd>Ctrl + S</kbd>
104
+ </div>
105
+ <div>
106
+ <mark>Highlighted</mark>
107
+ </div>
108
+ <div>
109
+ <s>Strikethrough</s>
110
+ </div>
111
+ <div>
112
+ <samp>Sample</samp>
113
+ </div>
114
+ <div>Text <sub>Subscripted</sub></div>
115
+ <div>Text <sup>Superscripted</sup></div>
116
+ <div>
117
+ <time>20:00</time>
118
+ </div>
119
+ <div>
120
+ <u>Underline</u>
121
+ </div>
122
+ <div><var>x</var> = <var>y</var> + 2</div>
123
+ ```
124
+
125
+
126
+
127
+ ## Horizontal rules
128
+
129
+ Use the `hr` tag to represent a thematic break between paragraphs within one section.
130
+
131
+ ```html example vertical centered columns={2}
132
+ <div>
133
+ <p>
134
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. A atque ex excepturi fuga magnam nam
135
+ reiciendis velit. Amet eius eos eveniet fuga in ipsa, ipsum voluptatum. Dolorem expedita
136
+ quibusdam veniam?
137
+ </p>
138
+ <hr />
139
+ <p>
140
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. A atque ex excepturi fuga magnam nam
141
+ reiciendis velit. Amet eius eos eveniet fuga in ipsa, ipsum voluptatum. Dolorem expedita
142
+ quibusdam veniam?
143
+ </p>
144
+ </div>
145
+ ```
146
+
147
+ ```html
148
+ <hr />
149
+ ```
150
+
151
+ ## Horizontal rules with label
152
+
153
+ You can also add a label to a horizontal rule and align it as you see fit.
154
+
155
+ ```html example vertical centered columns={2}
156
+ <p>
157
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
158
+ labore et dolore magna aliquyam erat, sed diam voluptua.
159
+ </p>
160
+ <div class="hr-text">
161
+ <span>Rule text</span>
162
+ </div>
163
+ <p>
164
+ At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
165
+ takimata sanctus est Lorem ipsum dolor sit amet.
166
+ </p>
167
+ <div class="hr-text hr-text-center">
168
+ <span>Rule text</span>
169
+ </div>
170
+ <p>
171
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
172
+ labore et dolore magna aliquyam erat, sed diam voluptua.
173
+ </p>
174
+ <div class="hr-text hr-text-end">
175
+ <span>Rule text</span>
176
+ </div>
177
+ <p>
178
+ At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
179
+ takimata sanctus est Lorem ipsum dolor sit amet.
180
+ </p>
181
+ ```
182
+
183
+ ## Optimized for different alphabets
184
+
185
+ Tabler has been optimized to correctly display content in any language. It supports most Asian, African and Middle Eastern languages.
186
+
187
+ ```html example vertical centered columns={2}
188
+ <p>汉字</p>
189
+ <p>日本語の表記体系</p>
190
+ <p>Кириллица</p>
191
+ <p>Eλληνική</p>
192
+ <p>ქართული დამწერლობა</p>
193
+ <p>Հայերենի այբուբեն</p>
194
+ <p>الحروف العربية</p>
195
+ <p>אלפבית עברי</p>
196
+ <p>อักษรไทย</p>
197
+ ```
198
+
199
+ ## Text transform
200
+
201
+ Transform the content of components with text capitalization classes.
202
+
203
+ ```html example vertical centered separated columns={1}
204
+ <div class="text-lowercase">Lowercased text.</div>
205
+ <div class="text-uppercase">Uppercased text.</div>
206
+ <div class="text-capitalize">Capitalized text.</div>
207
+ ```
208
+
209
+ ```html
210
+ <p class="text-lowercase">Lowercased text.</p>
211
+ <p class="text-uppercase">Uppercased text.</p>
212
+ <p class="text-capitalize">Capitalized text.</p>
213
+ ```
214
+
215
+ ## Letter spacing
216
+
217
+ Control the tracking (letter spacing) of an element and make it tight, wide or normal.
218
+
219
+ ```html example vertical centered separated columns={1}
220
+ <div class="tracking-tight">Lorem ipsum dolor sit amet. Tight letter spacing.</div>
221
+ <div class="tracking-normal">Lorem ipsum dolor sit amet. Normal letter spacing.</div>
222
+ <div class="tracking-wide">Lorem ipsum dolor sit amet. Wide letter spacing.</div>
223
+ ```
224
+
225
+ ```html
226
+ <p class="tracking-tight">Lorem ipsum dolor sit amet. Tight letter spacing.</p>
227
+ <p class="tracking-normal">Lorem ipsum dolor sit amet. Normal letter spacing.</p>
228
+ <p class="tracking-wide">Lorem ipsum dolor sit amet. Wide letter spacing.</p>
229
+ ```
230
+
231
+ ## Line height
232
+
233
+ Control the leading (line height) of an element.
234
+
235
+ ```html example vertical centered separated columns={1} height="20rem"
236
+ <p class="lh-1">
237
+ This is the long text with line height 1. Lorem ipsum dolor sit amet. Dolor sit amet.
238
+ </p>
239
+ <p class="lh-sm">
240
+ This is the long text with small line height. Lorem ipsum dolor sit amet. Dolor sit amet.
241
+ </p>
242
+ <p class="lh-base">
243
+ This is the long text with base line height. Lorem ipsum dolor sit amet. Dolor sit amet.
244
+ </p>
245
+ <p class="lh-lg">
246
+ This is the long text with large line height. Lorem ipsum dolor sit amet. Dolor sit amet.
247
+ </p>
248
+ ```
249
+
250
+ To control the line height of an element, use the following classes:
251
+
252
+ ```html
253
+ <p class="lh-1">...</p>
254
+ <p class="lh-sm">...</p>
255
+ <p class="lh-base">...</p>
256
+ <p class="lh-lg">...</p>
257
+ ```
258
+
259
+ ## Antialiasing
260
+
261
+ Control the font smoothing of an element.
262
+
263
+ Use the `.antialiased` utility to render text using subpixel antialiasing or use the `.subpixel-antialiased` utility to remove antialiasing.
264
+
265
+ ```html example vertical centered separated columns={1}
266
+ <div class="antialiased">Text with antialiasing</div>
267
+ <div class="subpixel-antialiased">Text without antialiasing</div>
268
+ ```
269
+
270
+ ## Keyboard input
271
+
272
+ Use the `<kbd>` to indicate input that is typically entered via keyboard.
273
+
274
+ ```html example vertical centered
275
+ <div>To edit settings, press <kbd>ctrl</kbd> + <kbd>,</kbd> or <kbd>ctrl</kbd> + <kbd>C</kbd>.</div>
276
+ ```
277
+
278
+ ```html
279
+ To edit settings, press <kbd>ctrl</kbd> + <kbd>,</kbd> or <kbd>ctrl</kbd> + <kbd>C</kbd>.
280
+ ```
281
+
282
+ ## Markdown elements
283
+
284
+ If you can't use the CSS classes you want, or you just want to use HTML tags, use the `.markdown` class in a container. It will apply the default styles for markdown elements.
285
+
286
+ ```html example centered background="white" columns={2} height="30rem"
287
+ <div class="markdown">
288
+ <h1>Hello World</h1>
289
+ <p>
290
+ Lorem ipsum<sup>[1]</sup> dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus
291
+ ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut
292
+ vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub<sub
293
+ >script</sub
294
+ >
295
+ works as well!
296
+ </p>
297
+ <h2>Second level</h2>
298
+ <p>
299
+ Curabitur accumsan turpis pharetra <strong>augue tincidunt</strong> blandit. Quisque condimentum
300
+ maximus mi, sit amet commodo arcu rutrum id. Proin pretium urna vel cursus venenatis.
301
+ Suspendisse potenti. Etiam mattis sem rhoncus lacus dapibus facilisis. Donec at dignissim dui.
302
+ Ut et neque nisl.
303
+ </p>
304
+ <ul>
305
+ <li>In fermentum leo eu lectus mollis, quis dictum mi aliquet.</li>
306
+ <li>Morbi eu nulla lobortis, lobortis est in, fringilla felis.</li>
307
+ <li>Aliquam nec felis in sapien venenatis viverra fermentum nec lectus.</li>
308
+ <li>Ut non enim metus.</li>
309
+ </ul>
310
+ </div>
311
+ ```