@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,397 @@
1
+ ---
2
+ title: Tables
3
+ summary: Tables are useful interface elements that allow you to visualize data and arrange it in a clear way. Thanks to that, users can browse a lot of information at once and a good table design will help you take care of its clarity.
4
+ bootstrapLink: content/tables/
5
+ description: Visualize data clearly with tables.
6
+ ---
7
+
8
+ ## Basic Table
9
+
10
+ The basic table design has light padding and the presented data is separated with horizontal dividers. It helps provide users with all the necessary information, without overwhelming them with visuals.
11
+
12
+ The `.table` class adds basic styling to a table:
13
+
14
+ ```html example height="360px" scrollable
15
+ <div class="table-responsive">
16
+ <table class="table table-vcenter">
17
+ <thead>
18
+ <tr>
19
+ <th>Name</th>
20
+ <th>Title</th>
21
+ <th>Email</th>
22
+ <th>Role</th>
23
+ <th class="w-1"></th>
24
+ </tr>
25
+ </thead>
26
+ <tbody>
27
+ <tr>
28
+ <td>Paweł Kuna</td>
29
+ <td class="text-secondary">UI Designer, Training</td>
30
+ <td class="text-secondary">
31
+ <a href="#" class="text-reset">paweluna@howstuffworks.com</a>
32
+ </td>
33
+ <td class="text-secondary">User</td>
34
+ <td>
35
+ <a href="#">Edit</a>
36
+ </td>
37
+ </tr>
38
+ <tr>
39
+ <td>Jeffie Lewzey</td>
40
+ <td class="text-secondary">Chemical Engineer, Support</td>
41
+ <td class="text-secondary">
42
+ <a href="#" class="text-reset">jlewzey1@seesaa.net</a>
43
+ </td>
44
+ <td class="text-secondary">Admin</td>
45
+ <td>
46
+ <a href="#">Edit</a>
47
+ </td>
48
+ </tr>
49
+ <tr>
50
+ <td>Mallory Hulme</td>
51
+ <td class="text-secondary">Geologist IV, Support</td>
52
+ <td class="text-secondary">
53
+ <a href="#" class="text-reset">mhulme2@domainmarket.com</a>
54
+ </td>
55
+ <td class="text-secondary">User</td>
56
+ <td>
57
+ <a href="#">Edit</a>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td>Dunn Slane</td>
62
+ <td class="text-secondary">Research Nurse, Sales</td>
63
+ <td class="text-secondary">
64
+ <a href="#" class="text-reset">dslane3@epa.gov</a>
65
+ </td>
66
+ <td class="text-secondary">Owner</td>
67
+ <td>
68
+ <a href="#">Edit</a>
69
+ </td>
70
+ </tr>
71
+ <tr>
72
+ <td>Emmy Levet</td>
73
+ <td class="text-secondary">VP Product Management, Accounting</td>
74
+ <td class="text-secondary">
75
+ <a href="#" class="text-reset">elevet4@senate.gov</a>
76
+ </td>
77
+ <td class="text-secondary">Admin</td>
78
+ <td>
79
+ <a href="#">Edit</a>
80
+ </td>
81
+ </tr>
82
+ </tbody>
83
+ </table>
84
+ </div>
85
+ ```
86
+
87
+ ## Responsive tables
88
+
89
+ Use the `.table-responsive` class across each breakpoint for horizontal scrolling tables. If you want to create responsive tables up to a specific breakpoint, use `.table-responsive{-sm|-md|-lg|-xl}`. From that breakpoint and up, the table will behave normally, rather than scroll horizontally.
90
+
91
+ ```html example height="12rem"
92
+ <table class="table table-responsive">
93
+ <thead>
94
+ <tr>
95
+ <th>#</th>
96
+ <th class="text-nowrap">Heading 1</th>
97
+ <th class="text-nowrap">Heading 2</th>
98
+ <th class="text-nowrap">Heading 3</th>
99
+ <th class="text-nowrap">Heading 4</th>
100
+ <th class="text-nowrap">Heading 5</th>
101
+ <th class="text-nowrap">Heading 6</th>
102
+ <th class="text-nowrap">Heading 7</th>
103
+ <th class="text-nowrap">Heading 8</th>
104
+ <th class="text-nowrap">Heading 9</th>
105
+ <th class="text-nowrap">Heading 10</th>
106
+ </tr>
107
+ </thead>
108
+ <tbody>
109
+ <tr>
110
+ <th>1</th>
111
+ <td>Cell</td>
112
+ <td>Cell</td>
113
+ <td>Cell</td>
114
+ <td>Cell</td>
115
+ <td>Cell</td>
116
+ <td>Cell</td>
117
+ <td>Cell</td>
118
+ <td>Cell</td>
119
+ <td>Cell</td>
120
+ <td>Cell</td>
121
+ </tr>
122
+ <tr>
123
+ <th>2</th>
124
+ <td>Cell</td>
125
+ <td>Cell</td>
126
+ <td>Cell</td>
127
+ <td>Cell</td>
128
+ <td>Cell</td>
129
+ <td>Cell</td>
130
+ <td>Cell</td>
131
+ <td>Cell</td>
132
+ <td>Cell</td>
133
+ <td>Cell</td>
134
+ </tr>
135
+ </tbody>
136
+ </table>
137
+ ```
138
+
139
+ ## No wrap
140
+
141
+ If you don't want the table cell content to wrap to another line, use the `table-nowrap` class.
142
+
143
+ ```html example height="10rem"
144
+ <div class="table-responsive">
145
+ <table class="table table-vcenter table-nowrap">
146
+ <thead>
147
+ <tr>
148
+ <th>Name</th>
149
+ <th>Title</th>
150
+ <th>Email</th>
151
+ <th>Role</th>
152
+ <th></th>
153
+ <th class="w-1"></th>
154
+ </tr>
155
+ </thead>
156
+ <tbody>
157
+ <tr>
158
+ <td>Paweł Kuna</td>
159
+ <td class="text-secondary">UI Designer, Training</td>
160
+ <td class="text-secondary">
161
+ <a href="#" class="text-reset">paweluna@howstuffworks.com</a>
162
+ </td>
163
+ <td class="text-secondary">User</td>
164
+ <td>
165
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, commodi cupiditate
166
+ debitis deserunt expedita hic incidunt iste modi molestiae nesciunt non nostrum
167
+ perferendis perspiciatis placeat praesentium quaerat quo repellendus, voluptates.
168
+ </td>
169
+ <td>
170
+ <a href="#">Edit</a>
171
+ </td>
172
+ </tr>
173
+ </tbody>
174
+ </table>
175
+ </div>
176
+ ```
177
+
178
+ ```html
179
+ <div class="table-responsive">
180
+ <table class="table table-vcenter table-nowrap">
181
+ <thead>
182
+ <tr>
183
+ <th>Name</th>
184
+ <th>Title</th>
185
+ <th>Email</th>
186
+ <th>Role</th>
187
+ <th></th>
188
+ <th class="w-1"></th>
189
+ </tr>
190
+ </thead>
191
+ <tbody>
192
+ <tr>
193
+ <td>Paweł Kuna</td>
194
+ <td class="text-secondary">UI Designer, Training</td>
195
+ <td class="text-secondary">
196
+ <a href="#" class="text-reset">paweluna@howstuffworks.com</a>
197
+ </td>
198
+ <td class="text-secondary">User</td>
199
+ <td>
200
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, commodi cupiditate
201
+ debitis deserunt expedita hic incidunt iste modi molestiae nesciunt non nostrum
202
+ perferendis perspiciatis placeat praesentium quaerat quo repellendus, voluptates.
203
+ </td>
204
+ <td>
205
+ <a href="#">Edit</a>
206
+ </td>
207
+ </tr>
208
+ <tr>
209
+ <td>Jeffie Lewzey</td>
210
+ <td class="text-secondary">Chemical Engineer, Support</td>
211
+ <td class="text-secondary">
212
+ <a href="#" class="text-reset">jlewzey1@seesaa.net</a>
213
+ </td>
214
+ <td class="text-secondary">Admin</td>
215
+ <td>
216
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, commodi cupiditate
217
+ debitis deserunt expedita hic incidunt iste modi molestiae nesciunt non nostrum
218
+ perferendis perspiciatis placeat praesentium quaerat quo repellendus, voluptates.
219
+ </td>
220
+ <td>
221
+ <a href="#">Edit</a>
222
+ </td>
223
+ </tr>
224
+ <tr>
225
+ <td>Mallory Hulme</td>
226
+ <td class="text-secondary">Geologist IV, Support</td>
227
+ <td class="text-secondary">
228
+ <a href="#" class="text-reset">mhulme2@domainmarket.com</a>
229
+ </td>
230
+ <td class="text-secondary">User</td>
231
+ <td>
232
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, commodi cupiditate
233
+ debitis deserunt expedita hic incidunt iste modi molestiae nesciunt non nostrum
234
+ perferendis perspiciatis placeat praesentium quaerat quo repellendus, voluptates.
235
+ </td>
236
+ <td>
237
+ <a href="#">Edit</a>
238
+ </td>
239
+ </tr>
240
+ <tr>
241
+ <td>Dunn Slane</td>
242
+ <td class="text-secondary">Research Nurse, Sales</td>
243
+ <td class="text-secondary">
244
+ <a href="#" class="text-reset">dslane3@epa.gov</a>
245
+ </td>
246
+ <td class="text-secondary">Owner</td>
247
+ <td>
248
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, commodi cupiditate
249
+ debitis deserunt expedita hic incidunt iste modi molestiae nesciunt non nostrum
250
+ perferendis perspiciatis placeat praesentium quaerat quo repellendus, voluptates.
251
+ </td>
252
+ <td>
253
+ <a href="#">Edit</a>
254
+ </td>
255
+ </tr>
256
+ <tr>
257
+ <td>Emmy Levet</td>
258
+ <td class="text-secondary">VP Product Management, Accounting</td>
259
+ <td class="text-secondary">
260
+ <a href="#" class="text-reset">elevet4@senate.gov</a>
261
+ </td>
262
+ <td class="text-secondary">Admin</td>
263
+ <td>
264
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, commodi cupiditate
265
+ debitis deserunt expedita hic incidunt iste modi molestiae nesciunt non nostrum
266
+ perferendis perspiciatis placeat praesentium quaerat quo repellendus, voluptates.
267
+ </td>
268
+ <td>
269
+ <a href="#">Edit</a>
270
+ </td>
271
+ </tr>
272
+ </tbody>
273
+ </table>
274
+ </div>
275
+ ```
276
+
277
+ ## Table Variants
278
+
279
+ ```html example height="360px" scrollable
280
+ <table class="table">
281
+ <thead>
282
+ <tr>
283
+ <th scope="col">Class</th>
284
+ <th scope="col">Heading</th>
285
+ <th scope="col">Heading</th>
286
+ </tr>
287
+ </thead>
288
+ <tbody>
289
+ <tr>
290
+ <th scope="row">Default</th>
291
+ <td>Cell</td>
292
+ <td>Cell</td>
293
+ </tr>
294
+ <tr class="table-primary">
295
+ <th scope="row">Primary</th>
296
+ <td>Cell</td>
297
+ <td>Cell</td>
298
+ </tr>
299
+ <tr class="table-secondary">
300
+ <th scope="row">Secondary</th>
301
+ <td>Cell</td>
302
+ <td>Cell</td>
303
+ </tr>
304
+ <tr class="table-success">
305
+ <th scope="row">Success</th>
306
+ <td>Cell</td>
307
+ <td>Cell</td>
308
+ </tr>
309
+ <tr class="table-danger">
310
+ <th scope="row">Danger</th>
311
+ <td>Cell</td>
312
+ <td>Cell</td>
313
+ </tr>
314
+ <tr class="table-warning">
315
+ <th scope="row">Warning</th>
316
+ <td>Cell</td>
317
+ <td>Cell</td>
318
+ </tr>
319
+ <tr class="table-info">
320
+ <th scope="row">Info</th>
321
+ <td>Cell</td>
322
+ <td>Cell</td>
323
+ </tr>
324
+ <tr class="table-light">
325
+ <th scope="row">Light</th>
326
+ <td>Cell</td>
327
+ <td>Cell</td>
328
+ </tr>
329
+ <tr class="table-dark">
330
+ <th scope="row">Dark</th>
331
+ <td>Cell</td>
332
+ <td>Cell</td>
333
+ </tr>
334
+ </tbody>
335
+ </table>
336
+ ```
337
+
338
+ ## Table with sticky header
339
+
340
+ ```html example scrollable
341
+ <table class="table">
342
+ <thead class="sticky-top">
343
+ <tr>
344
+ <th scope="col">Class</th>
345
+ <th scope="col">Heading</th>
346
+ <th scope="col">Heading</th>
347
+ </tr>
348
+ </thead>
349
+ <tbody>
350
+ <tr>
351
+ <th scope="row">Default</th>
352
+ <td>Cell</td>
353
+ <td>Cell</td>
354
+ </tr>
355
+ <tr>
356
+ <th scope="row">Primary</th>
357
+ <td>Cell</td>
358
+ <td>Cell</td>
359
+ </tr>
360
+ <tr>
361
+ <th scope="row">Secondary</th>
362
+ <td>Cell</td>
363
+ <td>Cell</td>
364
+ </tr>
365
+ <tr>
366
+ <th scope="row">Success</th>
367
+ <td>Cell</td>
368
+ <td>Cell</td>
369
+ </tr>
370
+ <tr>
371
+ <th scope="row">Danger</th>
372
+ <td>Cell</td>
373
+ <td>Cell</td>
374
+ </tr>
375
+ <tr>
376
+ <th scope="row">Warning</th>
377
+ <td>Cell</td>
378
+ <td>Cell</td>
379
+ </tr>
380
+ <tr>
381
+ <th scope="row">Info</th>
382
+ <td>Cell</td>
383
+ <td>Cell</td>
384
+ </tr>
385
+ <tr>
386
+ <th scope="row">Light</th>
387
+ <td>Cell</td>
388
+ <td>Cell</td>
389
+ </tr>
390
+ <tr class="table-dark">
391
+ <th scope="row">Dark</th>
392
+ <td>Cell</td>
393
+ <td>Cell</td>
394
+ </tr>
395
+ </tbody>
396
+ </table>
397
+ ```