@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,112 @@
1
+ ---
2
+ title: Badges
3
+ summary: Badges are small count and labeling components, which are used to add extra information to an interface element. You can use them to draw users' attention to a new element, notify about unread messages or provide any kind of additional info.
4
+ description: Add extra information with badges.
5
+ bootstrapLink: components/badge/
6
+ ---
7
+
8
+ ## Default markup
9
+
10
+ The default badges are square and come in the basic set of colors.
11
+
12
+ ```html example centered separated
13
+ <span class="badge bg-blue-lt">Blue</span>
14
+ <span class="badge bg-azure-lt">Azure</span>
15
+ <span class="badge bg-indigo-lt">Indigo</span>
16
+ <span class="badge bg-purple-lt">Purple</span>
17
+ <span class="badge bg-pink-lt">Pink</span>
18
+ <span class="badge bg-red-lt">Red</span>
19
+ <span class="badge bg-orange-lt">Orange</span>
20
+ <span class="badge bg-yellow-lt">Yellow</span>
21
+ <span class="badge bg-lime-lt">Lime</span>
22
+ <span class="badge bg-green-lt">Green</span>
23
+ <span class="badge bg-teal-lt">Teal</span>
24
+ <span class="badge bg-cyan-lt">Cyan</span>
25
+ ```
26
+
27
+ ## Headings
28
+
29
+ ```html example columns={1} height="20rem" centered
30
+ <h1>Example heading <span class="badge">New</span></h1>
31
+ <h2>Example heading <span class="badge">New</span></h2>
32
+ <h3>Example heading <span class="badge">New</span></h3>
33
+ <h4>Example heading <span class="badge">New</span></h4>
34
+ <h5>Example heading <span class="badge">New</span></h5>
35
+ <h6>Example heading <span class="badge">New</span></h6>
36
+ ```
37
+
38
+ ## Outline badges
39
+
40
+
41
+
42
+ ```html example centered separated
43
+ <span class="badge badge-outline text-blue">blue</span>
44
+ <span class="badge badge-outline text-azure">azure</span>
45
+ <span class="badge badge-outline text-indigo">indigo</span>
46
+ <span class="badge badge-outline text-purple">purple</span>
47
+ <span class="badge badge-outline text-pink">pink</span>
48
+ <span class="badge badge-outline text-red">red</span>
49
+ <span class="badge badge-outline text-orange">orange</span>
50
+ <span class="badge badge-outline text-yellow">yellow</span>
51
+ <span class="badge badge-outline text-lime">lime</span>
52
+ <span class="badge badge-outline text-green">green</span>
53
+ <span class="badge badge-outline text-teal">teal</span>
54
+ <span class="badge badge-outline text-cyan">cyan</span>
55
+ ```
56
+
57
+ ## Pill badges
58
+
59
+ Use the `.badge-pill` class if you want to create a badge with rounded corners. Its width will adjust to the label text.
60
+
61
+ ```html example centered separated
62
+ <span class="badge badge-pill bg-blue-lt">1</span>
63
+ <span class="badge badge-pill bg-azure-lt">2</span>
64
+ <span class="badge badge-pill bg-indigo-lt">3</span>
65
+ <span class="badge badge-pill bg-purple-lt">4</span>
66
+ <span class="badge badge-pill bg-pink-lt">5</span>
67
+ <span class="badge badge-pill bg-red-lt">6</span>
68
+ <span class="badge badge-pill bg-orange-lt">7</span>
69
+ <span class="badge badge-pill bg-yellow-lt">8</span>
70
+ <span class="badge badge-pill bg-lime-lt">9</span>
71
+ <span class="badge badge-pill bg-green-lt">10</span>
72
+ <span class="badge badge-pill bg-teal-lt">11</span>
73
+ <span class="badge badge-pill bg-cyan-lt">12</span>
74
+ ```
75
+
76
+ ## Links
77
+
78
+ Place the badge within an `<a>` element if you want it to perform the function of a link and make it clickable.
79
+
80
+ ```html example centered separated
81
+ <a href="#" class="badge bg-blue-lt">Blue</a>
82
+ <a href="#" class="badge bg-azure-lt">Azure</a>
83
+ <a href="#" class="badge bg-indigo-lt">Indigo</a>
84
+ <a href="#" class="badge bg-purple-lt">Purple</a>
85
+ <a href="#" class="badge bg-pink-lt">Pink</a>
86
+ <a href="#" class="badge bg-red-lt">Red</a>
87
+ <a href="#" class="badge bg-orange-lt">Orange</a>
88
+ <a href="#" class="badge bg-yellow-lt">Yellow</a>
89
+ <a href="#" class="badge bg-lime-lt">Lime</a>
90
+ <a href="#" class="badge bg-green-lt">Green</a>
91
+ <a href="#" class="badge bg-teal-lt">Teal</a>
92
+ <a href="#" class="badge bg-cyan-lt">Cyan</a>
93
+ ```
94
+
95
+ ## Button with badge
96
+
97
+ Badges can be used as part of links or buttons to provide a counter.
98
+
99
+ ```
100
+ <button type="button" class="btn">
101
+ Notifications <span class="badge bg-red-lt ms-2">4</span>
102
+ </button>
103
+ ```
104
+
105
+ The results can be seen in the example below.
106
+
107
+ ```html example centered separated
108
+ <button type="button" class="btn">Notifications <span class="badge bg-red-lt ms-2">4</span></button>
109
+ <button type="button" class="btn">
110
+ Notifications <span class="badge bg-green-lt ms-2">4</span>
111
+ </button>
112
+ ```
@@ -0,0 +1,199 @@
1
+ ---
2
+ title: Breadcrumb
3
+ summary: Breadcrumbs are used to show the current website or app location and reduce the number of actions users have to take. Thanks to breadcrumbs, they can easily navigate within the website hierarchy and better understand its structure.
4
+ bootstrapLink: components/breadcrumb/
5
+ description: Navigation aid for better structure.
6
+ ---
7
+
8
+ ## Default markup
9
+
10
+ Use the `breadcrumb` class to add a breadcrumb to your interface design for better navigation. The `active` modifier in a `li` tag will help you indicate the current page location and facilitate navigation within your website or app.
11
+
12
+ ```html
13
+ <ol class="breadcrumb">
14
+ <li class="breadcrumb-item">
15
+ <a href="#">...</a>
16
+ </li>
17
+ <li class="breadcrumb-item active">
18
+ <a href="#">...</a>
19
+ </li>
20
+ </ol>
21
+ ```
22
+
23
+ Look at the example below to see how breadcrumbs work in practice.
24
+
25
+ ```html example centered
26
+ <ol class="breadcrumb">
27
+ <li class="breadcrumb-item">
28
+ <a href="#">Home</a>
29
+ </li>
30
+ <li class="breadcrumb-item">
31
+ <a href="#">Library</a>
32
+ </li>
33
+ <li class="breadcrumb-item active">
34
+ <a href="#">Data</a>
35
+ </li>
36
+ </ol>
37
+ ```
38
+
39
+ ## Different separators
40
+
41
+ You can use different breadcrumb styles to match your website or app design. Choose between `breadcrumb-dots`, `breadcrumb-arrows`, and `breadcrumb-bullets` to create a unique look.
42
+
43
+ ```html
44
+ <ol class="breadcrumb breadcrumb-dots">
45
+ ...
46
+ </ol>
47
+ ```
48
+
49
+ This example shows how to use different breadcrumb styles.
50
+
51
+ ```html example centered separated vertical
52
+ <ol class="breadcrumb breadcrumb-dots">
53
+ <li class="breadcrumb-item">
54
+ <a href="#">Home</a>
55
+ </li>
56
+ <li class="breadcrumb-item">
57
+ <a href="#">Library</a>
58
+ </li>
59
+ <li class="breadcrumb-item active">
60
+ <a href="#">Data</a>
61
+ </li>
62
+ </ol>
63
+ <ol class="breadcrumb breadcrumb-arrows">
64
+ <li class="breadcrumb-item">
65
+ <a href="#">Home</a>
66
+ </li>
67
+ <li class="breadcrumb-item">
68
+ <a href="#">Library</a>
69
+ </li>
70
+ <li class="breadcrumb-item active">
71
+ <a href="#">Data</a>
72
+ </li>
73
+ </ol>
74
+ <ol class="breadcrumb breadcrumb-bullets">
75
+ <li class="breadcrumb-item">
76
+ <a href="#">Home</a>
77
+ </li>
78
+ <li class="breadcrumb-item">
79
+ <a href="#">Library</a>
80
+ </li>
81
+ <li class="breadcrumb-item active">
82
+ <a href="#">Data</a>
83
+ </li>
84
+ </ol>
85
+ ```
86
+
87
+ ## With icon
88
+
89
+ You can use icons in breadcrumbs to make them more visually appealing. The example below demonstrates how to use icons in breadcrumbs.
90
+
91
+ ```html example centered
92
+ <ol class="breadcrumb">
93
+ <li class="breadcrumb-item">
94
+ <a href="#">
95
+ <svg
96
+ xmlns="http://www.w3.org/2000/svg"
97
+ class="icon"
98
+ width="24"
99
+ height="24"
100
+ viewBox="0 0 24 24"
101
+ stroke-width="2"
102
+ stroke="currentColor"
103
+ fill="none"
104
+ stroke-linecap="round"
105
+ stroke-linejoin="round"
106
+ >
107
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
108
+ <polyline points="5 12 3 12 12 3 21 12 19 12" />
109
+ <path d="M5 12v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-8" />
110
+ <rect x="10" y="12" width="4" height="4" />
111
+ </svg>
112
+ </a>
113
+ </li>
114
+ <li class="breadcrumb-item">
115
+ <a href="#">Library</a>
116
+ </li>
117
+ <li class="breadcrumb-item active">
118
+ <a href="#">Data</a>
119
+ </li>
120
+ </ol>
121
+ ```
122
+
123
+ ## Muted breadcrumbs
124
+
125
+ You can use the `breadcrumb-muted` class to create a muted breadcrumb style. This style is perfect for breadcrumbs that are not the main focus of your website or app.
126
+
127
+ ```html example centered
128
+ <nav aria-label="breadcrumb">
129
+ <ol class="breadcrumb breadcrumb-muted">
130
+ <li class="breadcrumb-item">
131
+ <a href="#">Home</a>
132
+ </li>
133
+ <li class="breadcrumb-item">
134
+ <a href="#">Library</a>
135
+ </li>
136
+ <li class="breadcrumb-item active">
137
+ <a href="#">Data</a>
138
+ </li>
139
+ </ol>
140
+ </nav>
141
+ ```
142
+
143
+ ## Breadcrumb in headers
144
+
145
+ You can use breadcrumbs in headers to show the current page location and provide a better navigation experience. The example below demonstrates how to use breadcrumbs in headers.
146
+
147
+ ```html example vertical centered columns={3}
148
+ <div class="page-header">
149
+ <div class="row align-items-center mw-100">
150
+ <div class="col">
151
+ <div class="mb-1">
152
+ <ol class="breadcrumb">
153
+ <li class="breadcrumb-item">
154
+ <a href="#">Home</a>
155
+ </li>
156
+ <li class="breadcrumb-item">
157
+ <a href="#">Library</a>
158
+ </li>
159
+ <li class="breadcrumb-item active">
160
+ <a href="#">Articles</a>
161
+ </li>
162
+ </ol>
163
+ </div>
164
+ <h2 class="page-title">
165
+ <span class="text-truncate"
166
+ >Knights of Ni, we are but simple travelers who seek the enchanter who lives beyond these
167
+ woods.</span
168
+ >
169
+ </h2>
170
+ </div>
171
+ <div class="col-auto">
172
+ <div class="btn-list">
173
+ <a href="#" class="btn d-none d-md-inline-flex">
174
+ <svg
175
+ xmlns="http://www.w3.org/2000/svg"
176
+ class="icon"
177
+ width="24"
178
+ height="24"
179
+ viewBox="0 0 24 24"
180
+ stroke-width="2"
181
+ stroke="currentColor"
182
+ fill="none"
183
+ stroke-linecap="round"
184
+ stroke-linejoin="round"
185
+ >
186
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
187
+ <path d="M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1" />
188
+ <path d="M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z" />
189
+ <path d="M16 5l3 3" />
190
+ </svg>
191
+ Edit
192
+ </a>
193
+ <a href="#" class="btn btn-primary">Publish</a>
194
+ </div>
195
+ </div>
196
+ </div>
197
+ </div>
198
+ ```
199
+