@tabler/core 1.0.0-beta22 → 1.0.0-beta24

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 (265) hide show
  1. package/LICENSE +1 -1
  2. package/dist/css/demo.css +2 -2
  3. package/dist/css/demo.min.css +2 -2
  4. package/dist/css/demo.rtl.css +2 -2
  5. package/dist/css/demo.rtl.min.css +2 -2
  6. package/dist/css/tabler-flags.css +2 -2
  7. package/dist/css/tabler-flags.min.css +2 -2
  8. package/dist/css/tabler-flags.rtl.css +2 -2
  9. package/dist/css/tabler-flags.rtl.min.css +2 -2
  10. package/dist/css/tabler-marketing.css +4751 -0
  11. package/dist/css/tabler-marketing.min.css +9 -0
  12. package/dist/css/tabler-marketing.rtl.css +4751 -0
  13. package/dist/css/tabler-marketing.rtl.min.css +9 -0
  14. package/dist/css/tabler-payments.css +2 -2
  15. package/dist/css/tabler-payments.min.css +2 -2
  16. package/dist/css/tabler-payments.rtl.css +2 -2
  17. package/dist/css/tabler-payments.rtl.min.css +2 -2
  18. package/dist/css/tabler-socials.css +221 -0
  19. package/dist/css/tabler-socials.min.css +9 -0
  20. package/dist/css/tabler-socials.rtl.css +221 -0
  21. package/dist/css/tabler-socials.rtl.min.css +9 -0
  22. package/dist/css/tabler-vendors.css +25 -19
  23. package/dist/css/tabler-vendors.min.css +3 -3
  24. package/dist/css/tabler-vendors.rtl.css +25 -19
  25. package/dist/css/tabler-vendors.rtl.min.css +3 -3
  26. package/dist/css/tabler.css +1300 -1501
  27. package/dist/css/tabler.min.css +4 -4
  28. package/dist/css/tabler.rtl.css +1300 -1501
  29. package/dist/css/tabler.rtl.min.css +4 -4
  30. package/dist/img/social/apple-gray.svg +3 -0
  31. package/dist/img/social/apple.svg +3 -0
  32. package/dist/img/social/discord-gray.svg +3 -0
  33. package/dist/img/social/discord.svg +3 -0
  34. package/dist/img/social/dribbble-gray.svg +3 -0
  35. package/dist/img/social/dribbble.svg +4 -0
  36. package/dist/img/social/facebook-gray.svg +3 -0
  37. package/dist/img/social/facebook.svg +4 -0
  38. package/dist/img/social/figma-gray.svg +3 -0
  39. package/dist/img/social/figma.svg +7 -0
  40. package/dist/img/social/github-gray.svg +10 -0
  41. package/dist/img/social/github.svg +10 -0
  42. package/dist/img/social/google-gray.svg +3 -0
  43. package/dist/img/social/google.svg +6 -0
  44. package/dist/img/social/instagram-gray.svg +5 -0
  45. package/dist/img/social/instagram.svg +18 -0
  46. package/dist/img/social/linkedin-gray.svg +3 -0
  47. package/dist/img/social/linkedin.svg +3 -0
  48. package/dist/img/social/medium-gray.svg +5 -0
  49. package/dist/img/social/medium.svg +5 -0
  50. package/dist/img/social/meta-gray.svg +5 -0
  51. package/dist/img/social/meta.svg +17 -0
  52. package/dist/img/social/metamask-gray.svg +12 -0
  53. package/dist/img/social/metamask.svg +14 -0
  54. package/dist/img/social/pinterest-gray.svg +3 -0
  55. package/dist/img/social/pinterest.svg +4 -0
  56. package/dist/img/social/reddit-gray.svg +6 -0
  57. package/dist/img/social/reddit.svg +11 -0
  58. package/dist/img/social/signal-gray.svg +10 -0
  59. package/dist/img/social/signal.svg +10 -0
  60. package/dist/img/social/skype-gray.svg +3 -0
  61. package/dist/img/social/skype.svg +3 -0
  62. package/dist/img/social/snapchat-gray.svg +10 -0
  63. package/dist/img/social/snapchat.svg +11 -0
  64. package/dist/img/social/spotify-gray.svg +3 -0
  65. package/dist/img/social/spotify.svg +3 -0
  66. package/dist/img/social/telegram-gray.svg +3 -0
  67. package/dist/img/social/telegram.svg +10 -0
  68. package/dist/img/social/tiktok-gray.svg +3 -0
  69. package/dist/img/social/tiktok.svg +5 -0
  70. package/dist/img/social/tumblr-gray.svg +3 -0
  71. package/dist/img/social/tumblr.svg +3 -0
  72. package/dist/img/social/twitch-gray.svg +5 -0
  73. package/dist/img/social/twitch.svg +6 -0
  74. package/dist/img/social/vk-gray.svg +3 -0
  75. package/dist/img/social/vk.svg +4 -0
  76. package/dist/img/social/x-gray.svg +3 -0
  77. package/dist/img/social/x.svg +3 -0
  78. package/dist/img/social/youtube-gray.svg +3 -0
  79. package/dist/img/social/youtube.svg +11 -0
  80. package/dist/js/demo-theme.js +2 -2
  81. package/dist/js/demo-theme.min.js +2 -2
  82. package/dist/js/demo.js +2 -2
  83. package/dist/js/demo.min.js +2 -2
  84. package/dist/js/tabler.esm.js +19 -4
  85. package/dist/js/tabler.esm.min.js +3 -3
  86. package/dist/js/tabler.js +19 -4
  87. package/dist/js/tabler.min.js +4 -4
  88. package/docs/icons/index.mdx +3 -93
  89. package/docs/icons/libraries/index.mdx +5 -0
  90. package/docs/icons/{preact.mdx → libraries/preact.mdx} +4 -2
  91. package/docs/icons/{react.mdx → libraries/react.mdx} +5 -3
  92. package/docs/icons/{solidjs.mdx → libraries/solidjs.mdx} +5 -2
  93. package/docs/icons/{svelte.mdx → libraries/svelte.mdx} +5 -2
  94. package/docs/icons/{vue.mdx → libraries/vue.mdx} +13 -8
  95. package/docs/icons/{webfont.mdx → libraries/webfont.mdx} +4 -1
  96. package/docs/icons/plugins/figma.mdx +15 -0
  97. package/docs/icons/plugins/index.mdx +4 -0
  98. package/docs/icons/{eps.mdx → static-files/eps.mdx} +3 -1
  99. package/docs/icons/static-files/index.mdx +5 -0
  100. package/docs/icons/{pdf.mdx → static-files/pdf.mdx} +3 -1
  101. package/docs/icons/static-files/png.mdx +31 -0
  102. package/docs/icons/{svg.mdx → static-files/svg.mdx} +18 -18
  103. package/docs/illustrations/index.mdx +8 -0
  104. package/docs/illustrations/introduction/contents.mdx +77 -0
  105. package/docs/illustrations/introduction/customization.mdx +431 -0
  106. package/docs/illustrations/introduction/index.mdx +5 -0
  107. package/docs/illustrations/introduction/license.mdx +22 -0
  108. package/docs/img/browsers/brave.svg +1 -0
  109. package/docs/img/browsers/chrome.svg +1 -0
  110. package/docs/img/browsers/edge.svg +1 -0
  111. package/docs/img/browsers/electron.svg +1 -0
  112. package/docs/img/browsers/firefox.svg +1 -0
  113. package/docs/img/browsers/internet-explorer.svg +1 -0
  114. package/docs/img/browsers/opera.svg +1 -0
  115. package/docs/img/browsers/safari.svg +1 -0
  116. package/docs/img/browsers/vivaldi.svg +1 -0
  117. package/docs/img/cover-illustrations-dark.png +0 -0
  118. package/docs/img/cover-illustrations.png +0 -0
  119. package/docs/img/cover-tabler-dark.png +0 -0
  120. package/docs/img/cover-tabler.png +0 -0
  121. package/docs/img/icons/figma-plugin.png +0 -0
  122. package/docs/img/icons/package-angular-dark.png +0 -0
  123. package/docs/img/icons/package-angular.png +0 -0
  124. package/docs/img/icons/package-eps-dark.png +0 -0
  125. package/docs/img/icons/package-eps.png +0 -0
  126. package/docs/img/icons/package-js-dark.png +0 -0
  127. package/docs/img/icons/package-js.png +0 -0
  128. package/docs/img/icons/package-pdf-dark.png +0 -0
  129. package/docs/img/icons/package-pdf.png +0 -0
  130. package/docs/img/icons/package-png-dark.png +0 -0
  131. package/docs/img/icons/package-png.png +0 -0
  132. package/docs/img/icons/package-preact-dark.png +0 -0
  133. package/docs/img/icons/package-preact.png +0 -0
  134. package/docs/img/icons/package-react-dark.png +0 -0
  135. package/docs/img/icons/package-react-native-dark.png +0 -0
  136. package/docs/img/icons/package-react-native.png +0 -0
  137. package/docs/img/icons/package-react.png +0 -0
  138. package/docs/img/icons/package-solidjs-dark.png +0 -0
  139. package/docs/img/icons/package-solidjs.png +0 -0
  140. package/docs/img/icons/package-sprite-dark.png +0 -0
  141. package/docs/img/icons/package-sprite.png +0 -0
  142. package/docs/img/icons/package-svelte-dark.png +0 -0
  143. package/docs/img/icons/package-svelte.png +0 -0
  144. package/docs/img/icons/package-svg-dark.png +0 -0
  145. package/docs/img/icons/package-svg.png +0 -0
  146. package/docs/img/icons/package-vue-dark.png +0 -0
  147. package/docs/img/icons/package-vue.png +0 -0
  148. package/docs/img/icons/package-webfont-dark.png +0 -0
  149. package/docs/img/icons/package-webfont.png +0 -0
  150. package/docs/index.mdx +16 -0
  151. package/docs/ui/base/colors.mdx +63 -5
  152. package/docs/ui/base/index.mdx +6 -0
  153. package/docs/ui/base/typography.mdx +96 -101
  154. package/docs/ui/components/alerts.mdx +45 -120
  155. package/docs/ui/components/autosize.mdx +12 -3
  156. package/docs/ui/components/avatars.mdx +7 -4
  157. package/docs/ui/components/badges.mdx +66 -75
  158. package/docs/ui/components/breadcrumb.mdx +125 -59
  159. package/docs/ui/components/buttons.mdx +142 -87
  160. package/docs/ui/components/cards.mdx +48 -27
  161. package/docs/ui/components/carousel.mdx +8 -7
  162. package/docs/ui/components/charts.mdx +15 -24
  163. package/docs/ui/components/countup.mdx +74 -45
  164. package/docs/ui/components/datagrid.mdx +10 -2
  165. package/docs/ui/components/divider.mdx +6 -6
  166. package/docs/ui/components/dropdowns.mdx +24 -15
  167. package/docs/ui/components/dropzone.mdx +39 -14
  168. package/docs/ui/components/empty.mdx +7 -5
  169. package/docs/ui/components/icons.mdx +53 -14
  170. package/docs/ui/components/index.mdx +6 -0
  171. package/docs/ui/components/inline-player.mdx +31 -4
  172. package/docs/ui/components/modals.mdx +53 -18
  173. package/docs/ui/components/offcanvas.mdx +55 -0
  174. package/docs/ui/components/placeholder.mdx +25 -25
  175. package/docs/ui/components/popover.mdx +8 -9
  176. package/docs/ui/components/progress.mdx +120 -19
  177. package/docs/ui/components/range-slider.mdx +17 -3
  178. package/docs/ui/components/ribbons.mdx +13 -12
  179. package/docs/ui/components/spinners.mdx +31 -10
  180. package/docs/ui/components/statuses.mdx +50 -13
  181. package/docs/ui/components/steps.mdx +62 -19
  182. package/docs/ui/components/switch-icon.mdx +4 -3
  183. package/docs/ui/components/tables.mdx +37 -17
  184. package/docs/ui/components/tabs.mdx +17 -11
  185. package/docs/ui/components/timelines.mdx +48 -29
  186. package/docs/ui/components/tinymce.mdx +3 -3
  187. package/docs/ui/components/toasts.mdx +3 -2
  188. package/docs/ui/components/tooltips.mdx +4 -3
  189. package/docs/ui/components/tracking.mdx +39 -34
  190. package/docs/ui/components/vector-maps.mdx +170 -0
  191. package/docs/ui/forms/form-color-check.mdx +36 -11
  192. package/docs/ui/forms/form-elements.mdx +32 -17
  193. package/docs/ui/forms/form-fieldset.mdx +3 -2
  194. package/docs/ui/forms/form-helpers.mdx +71 -4
  195. package/docs/ui/forms/form-image-check.mdx +43 -29
  196. package/docs/ui/forms/form-input-mask.mdx +33 -5
  197. package/docs/ui/forms/form-selectboxes.mdx +101 -16
  198. package/docs/ui/forms/form-validation.mdx +54 -13
  199. package/docs/ui/forms/index.mdx +6 -0
  200. package/docs/ui/getting-started/browser-support.mdx +10 -2
  201. package/docs/ui/getting-started/customize.mdx +5 -4
  202. package/docs/ui/getting-started/download.mdx +3 -5
  203. package/docs/ui/getting-started/faq.mdx +3 -1
  204. package/docs/ui/getting-started/how-to-contribute.mdx +96 -0
  205. package/docs/ui/getting-started/index.mdx +4 -28
  206. package/docs/ui/getting-started/installation.mdx +67 -0
  207. package/docs/ui/getting-started/license.mdx +30 -0
  208. package/docs/ui/index.mdx +8 -0
  209. package/docs/ui/layout/index.mdx +6 -0
  210. package/docs/ui/layout/navbars.mdx +106 -0
  211. package/docs/ui/layout/navs-tabls.mdx +187 -0
  212. package/docs/ui/layout/page-headers.mdx +16 -9
  213. package/docs/ui/layout/page-layouts.mdx +10 -6
  214. package/docs/ui/plugins/flags.mdx +270 -6
  215. package/docs/ui/plugins/index.mdx +6 -0
  216. package/docs/ui/plugins/payments.mdx +108 -4
  217. package/docs/ui/plugins/social-icons.mdx +135 -0
  218. package/docs/ui/utilities/borders.mdx +69 -49
  219. package/docs/ui/utilities/cursors.mdx +22 -51
  220. package/docs/ui/utilities/index.mdx +5 -0
  221. package/docs/ui/utilities/interactions.mdx +10 -5
  222. package/docs/ui/utilities/margins.mdx +234 -0
  223. package/docs/ui/utilities/vertical-align.mdx +66 -0
  224. package/docs/ui/utilities/visually-hidden.mdx +12 -0
  225. package/package.json +9 -6
  226. package/src/js/src/countup.js +17 -0
  227. package/src/js/tabler.esm.js +1 -0
  228. package/src/js/tabler.js +1 -0
  229. package/src/scss/_utilities-marketing.scss +209 -0
  230. package/src/scss/_utilities.scss +5 -9
  231. package/src/scss/_variables-marketing.scss +0 -0
  232. package/src/scss/_variables.scss +57 -22
  233. package/src/scss/layout/_animations.scss +2 -1
  234. package/src/scss/layout/_navbar.scss +0 -1
  235. package/src/scss/marketing/_browser.scss +67 -0
  236. package/src/scss/marketing/_core.scss +8 -0
  237. package/src/scss/marketing/_filters.scss +0 -0
  238. package/src/scss/marketing/_hero.scss +69 -0
  239. package/src/scss/marketing/_pricing.scss +111 -0
  240. package/src/scss/marketing/_sections.scss +124 -0
  241. package/src/scss/marketing/_shape.scss +31 -0
  242. package/src/scss/mixins/_mixins.scss +2 -2
  243. package/src/scss/tabler-marketing.scss +13 -0
  244. package/src/scss/tabler-socials.scss +2 -0
  245. package/src/scss/tabler-vendors.scss +1 -0
  246. package/src/scss/ui/_buttons.scss +8 -7
  247. package/src/scss/ui/_forms.scss +4 -0
  248. package/src/scss/ui/_images.scss +4 -0
  249. package/src/scss/ui/_lists.scss +11 -15
  250. package/src/scss/ui/_social.scss +52 -0
  251. package/src/scss/ui/_tables.scss +0 -1
  252. package/src/scss/ui/_type.scss +4 -0
  253. package/src/scss/utils/_colors.scss +1 -1
  254. package/src/scss/vendor/_dropzone.scss +3 -3
  255. package/src/scss/vendor/_tom-select.scss +1 -0
  256. package/src/scss/vendor/_typed.scss +4 -0
  257. package/dist/css/tabler-social.css +0 -10
  258. package/dist/css/tabler-social.min.css +0 -8
  259. package/dist/css/tabler-social.rtl.css +0 -10
  260. package/dist/css/tabler-social.rtl.min.css +0 -8
  261. package/docs/icons/figma.mdx +0 -7
  262. package/docs/icons/png.mdx +0 -19
  263. package/docs/menu.json +0 -317
  264. package/docs/ui/components/progressbg.mdx +0 -16
  265. package/src/scss/tabler-social.scss +0 -1
@@ -1,11 +1,22 @@
1
1
  ---
2
2
  title: Statuses
3
- description: Status dots are particularly useful if you want to make an interface element more noticeable regardless of limited space.
3
+ summary: Status dots are particularly useful if you want to make an interface element more noticeable regardless of limited space.
4
+ description: Highlight interface elements with status dots.
4
5
  ---
5
6
 
6
7
  ## Default markup
7
8
 
8
- ```html example vertical height="7rem"
9
+ Use the default status to notify users about the status of a component or page, helping them avoid confusion. Full list of available colors can be found in the [Colors](/docs/ui/base/colors) section.
10
+
11
+ ```html
12
+ <span class="status status-blue">Blue</span>
13
+ <span class="status status-azure">Azure</span>
14
+ ...
15
+ ```
16
+
17
+ Look at the example below to see how the status works:
18
+
19
+ ```html example centered separated columns={2}
9
20
  <span class="status status-blue">Blue</span>
10
21
  <span class="status status-azure">Azure</span>
11
22
  <span class="status status-indigo">Indigo</span>
@@ -20,15 +31,21 @@ description: Status dots are particularly useful if you want to make an interfac
20
31
  <span class="status status-cyan">Cyan</span>
21
32
  ```
22
33
 
34
+
35
+ ## Status with dot
36
+
37
+ You can add a dot to the status to make it more noticeable. To do this, use the `.status-dot` element inside the `.status` element.
38
+
23
39
  ```html
24
- <span class="status status-blue">Blue</span>
25
- <span class="status status-azure">Azure</span>
26
- ...
40
+ <span class="status status-blue">
41
+ <span class="status-dot"></span>
42
+ Blue
43
+ </span>
27
44
  ```
28
45
 
29
- ## Status with dot
46
+ Look at the example below to see how the status with a dot works:
30
47
 
31
- ```html example code vertical height="7rem"
48
+ ```html example centered separated columns={2}
32
49
  <span class="status status-blue">
33
50
  <span class="status-dot"></span>
34
51
  Blue
@@ -81,7 +98,9 @@ description: Status dots are particularly useful if you want to make an interfac
81
98
 
82
99
  ### Animated dot
83
100
 
84
- ```html example code vertical height="7rem"
101
+ You can also animate the dot to make it more noticeable. To do this, use the `.status-dot-animated` class inside the `.status-dot` element.
102
+
103
+ ```html example centered separated columns={2}
85
104
  <span class="status status-blue">
86
105
  <span class="status-dot status-dot-animated"></span>
87
106
  Blue
@@ -134,7 +153,9 @@ description: Status dots are particularly useful if you want to make an interfac
134
153
 
135
154
  ## Lite status
136
155
 
137
- ```html example code vertical height="7rem"
156
+ Use the lite status to make the status less noticeable. To do this, use the `.status-lite` class inside the `.status` element.
157
+
158
+ ```html example centered separated columns={2}
138
159
  <span class="status status-blue status-lite">
139
160
  <span class="status-dot"></span>
140
161
  Blue
@@ -187,7 +208,15 @@ description: Status dots are particularly useful if you want to make an interfac
187
208
 
188
209
  ## Status dots
189
210
 
190
- ```html code example centered separated height="7rem"
211
+ If you need only dot status, you can use the `.status-dot` class.
212
+
213
+ ```html
214
+ <span class="status-dot status-blue"></span>
215
+ ```
216
+
217
+ Look at the example below to see how the status dots work:
218
+
219
+ ```html example centered separated
191
220
  <span class="status-dot status-blue"></span>
192
221
  <span class="status-dot status-azure"></span>
193
222
  <span class="status-dot status-indigo"></span>
@@ -202,9 +231,15 @@ description: Status dots are particularly useful if you want to make an interfac
202
231
  <span class="status-dot status-cyan"></span>
203
232
  ```
204
233
 
205
- ### Animated dots
234
+ The dots can also be animated. To do this, use the `.status-dot-animated` class.
235
+
236
+ ```html
237
+ <span class="status-dot status-dot-animated status-blue"></span>
238
+ ```
239
+
240
+ The animated status dots can be used in the same way as the regular status dots.
206
241
 
207
- ```html code example centered separated height="7rem"
242
+ ```html example centered separated
208
243
  <span class="status-dot status-dot-animated status-blue"></span>
209
244
  <span class="status-dot status-dot-animated status-azure"></span>
210
245
  <span class="status-dot status-dot-animated status-indigo"></span>
@@ -221,7 +256,9 @@ description: Status dots are particularly useful if you want to make an interfac
221
256
 
222
257
  ## Status indicator
223
258
 
224
- ```html code example vertical centered height="7rem"
259
+ Use the status indicator to show the status of a component or page. The status indicator can be animated. To do this, use the `.status-indicator-animated` class.
260
+
261
+ ```html example centered separated columns={1}
225
262
  <span class="status-indicator status-blue status-indicator-animated">
226
263
  <span class="status-indicator-circle"></span>
227
264
  <span class="status-indicator-circle"></span>
@@ -1,16 +1,33 @@
1
1
  ---
2
2
  title: Steps
3
- description: Steps are used to guide users through complex processes, making them easier and more intuitive. Breaking a multi-step process into smaller parts and tracking progress along the way helps users complete it successfully.
3
+ summary: Steps are used to guide users through complex processes, making them easier and more intuitive. Breaking a multi-step process into smaller parts and tracking progress along the way helps users complete it successfully.
4
4
  new: true
5
+ description: Simplify complex processes with steps.
5
6
  ---
6
7
 
7
8
  ## Default markup
8
9
 
9
- Steps show users where they are within a process, what steps they have already completed and what they are expected to complete. Making multi-step processes more user-friendly facilitates users' interaction with your interface.
10
+ Steps provide a clear visual representation of a user’s progress through a multi-step process. By showing what has been completed and what remains, steps enhance usability and encourage task completion.
10
11
 
11
- Use the `steps` class to create the default progress tracker and name the steps accordingly.
12
+ To create a default progress tracker, use the `.steps` class and define each step as a `.step-item`. The active step clearly indicates the current position in the process.
12
13
 
13
- ```html code example
14
+ ```html
15
+ <div class="steps">
16
+ <a href="#" class="step-item">
17
+ Step 1
18
+ </a>
19
+ <a href="#" class="step-item">
20
+ Step 2
21
+ </a>
22
+ <a href="#" class="step-item active">
23
+ Step 3
24
+ </a>
25
+ </div>
26
+ ```
27
+
28
+ The example below demonstrates a simple progress tracker with four steps, where the third step is active.
29
+
30
+ ```html example centered
14
31
  <div class="steps">
15
32
  <a href="#" class="step-item">
16
33
  Step 1
@@ -31,18 +48,28 @@ Use the `steps` class to create the default progress tracker and name the steps
31
48
 
32
49
  Add tooltips, if you want to provide users with additional information about the steps they are expected to complete. Tooltips are displayed when a user hovers over a given step and help clarify what might not be clear from the interface.
33
50
 
34
- ```html code example
51
+ To add a tooltip, use the `data-bs-toggle="tooltip"` attribute and specify the tooltip content with the `title` attribute.
52
+
53
+ ```html
54
+ <a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 1 description">
55
+ Step 1
56
+ </a>
57
+ ```
58
+
59
+ The example below demonstrates a progress tracker with tooltips for each step.
60
+
61
+ ```html example centered height="20rem"
35
62
  <div class="steps">
36
- <a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 1 description">
63
+ <a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 1 description">
37
64
  Step 1
38
65
  </a>
39
- <a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 2 description">
66
+ <a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 2 description">
40
67
  Step 2
41
68
  </a>
42
- <a href="#" class="step-item active" data-bs-toggle="tooltip" title="Step 3 description">
69
+ <a href="#" class="step-item active" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 3 description">
43
70
  Step 3
44
71
  </a>
45
- <span href="#" class="step-item" data-bs-toggle="tooltip" title="Step 4 description">
72
+ <span href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 4 description">
46
73
  Step 4
47
74
  </span>
48
75
  </div>
@@ -50,9 +77,17 @@ Add tooltips, if you want to provide users with additional information about the
50
77
 
51
78
  ## Color
52
79
 
53
- You can customize the default progress indicator by changing the color to one that better suits your design. Click [here](/docs/ui/colors) to see the range of available colors.
80
+ You can customize the default progress indicator by changing the color to one that better suits your design. Click [here](/docs/ui/base/colors) to see the range of available colors.
54
81
 
55
- ```html code example
82
+ ```html
83
+ <div class="steps steps-green">
84
+ ...
85
+ </div>
86
+ ```
87
+
88
+ The example below demonstrates a progress tracker with two different color schemes.
89
+
90
+ ```html example centered
56
91
  <div class="steps steps-green">
57
92
  <a href="#" class="step-item">
58
93
  Step 1
@@ -87,21 +122,29 @@ You can customize the default progress indicator by changing the color to one th
87
122
 
88
123
  For designs with limited space, use progress indicators without titles and add tooltips to provide the necessary details.
89
124
 
90
- ```html code example
125
+ ```html example centered
91
126
  <div class="steps">
92
- <a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 1 description"></a>
93
- <a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 2 description"></a>
94
- <a href="#" class="step-item active" data-bs-toggle="tooltip" title="Step 3 description"></a>
95
- <span href="#" class="step-item" data-bs-toggle="tooltip" title="Step 4 description"></span>
127
+ <a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 1 description"></a>
128
+ <a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 2 description"></a>
129
+ <a href="#" class="step-item active" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 3 description"></a>
130
+ <span href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 4 description"></span>
96
131
  </div>
97
132
  ```
98
133
 
99
134
  ## Steps with numbers
100
135
 
101
- Use the `steps-counter` class to create a progress tracker with numbers instead of titles and change the color to customize it.
136
+ Use the `steps-counter` class to create a progress tracker with numbers instead of titles and change the color to customize it.
137
+
138
+ ```html
139
+ <div class="steps steps-counter">
140
+ ...
141
+ </div>
142
+ ```
143
+
144
+ The example below demonstrates a progress tracker with numbers and a different color scheme.
102
145
 
103
- ```html code example
104
- <div class="steps steps-counter steps-lime">
146
+ ```html example centered
147
+ <div class="steps steps-counter">
105
148
  <a href="#" class="step-item"></a>
106
149
  <a href="#" class="step-item active"></a>
107
150
  <span href="#" class="step-item"></span>
@@ -1,14 +1,15 @@
1
1
  ---
2
2
  title: Switch icon
3
- description: The Switch Icon component is used to create a transition between two icons. You can use any icon, both line and filled version.
3
+ summary: The Switch Icon component is used to create a transition between two icons. You can use any icon, both line and filled version.
4
4
  banner: icons
5
+ description: Transition between two icons smoothly.
5
6
  ---
6
7
 
7
8
  ## Default markup
8
9
 
9
10
  To replace the icons, all should add `active` class to the `switch-icon` component.
10
11
 
11
- ```html code example centered
12
+ ```html example centered
12
13
  <button class="switch-icon" data-bs-toggle="switch-icon">
13
14
  <span class="switch-icon-a text-secondary">
14
15
  <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-heart" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
@@ -29,7 +30,7 @@ To replace the icons, all should add `active` class to the `switch-icon` compone
29
30
 
30
31
  You can also add a fancy animation to add variety to your button. See demo below:
31
32
 
32
- ```html example code centered separated
33
+ ```html example centered separated
33
34
  <button class="switch-icon" data-bs-toggle="switch-icon">
34
35
  <span class="switch-icon-a text-secondary">
35
36
  <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-circle" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  title: Tables
3
- description: Tables are a useful interface element that allows to visualise 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.
3
+ summary: Tables are a useful interface element that allows to visualise 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
4
  bootstrapLink: content/tables/
5
+ description: Visualize data clearly with tables.
5
6
  ---
6
7
 
7
8
  ## Basic Table
@@ -10,7 +11,7 @@ The basic table design has light padding and the presented data is separated wih
10
11
 
11
12
  The `.table` class adds basic styling to a table:
12
13
 
13
- ```html code example height="360px" scrollable
14
+ ```html example height="360px" scrollable
14
15
  <div class="table-responsive">
15
16
  <table class="table table-vcenter">
16
17
  <thead>
@@ -28,7 +29,9 @@ The `.table` class adds basic styling to a table:
28
29
  <td class="text-secondary">
29
30
  UI Designer, Training
30
31
  </td>
31
- <td class="text-secondary"><a href="#" class="text-reset">paweluna@howstuffworks.com</a></td>
32
+ <td class="text-secondary">
33
+ <a href="#" class="text-reset">paweluna@howstuffworks.com</a>
34
+ </td>
32
35
  <td class="text-secondary">
33
36
  User
34
37
  </td>
@@ -41,7 +44,9 @@ The `.table` class adds basic styling to a table:
41
44
  <td class="text-secondary">
42
45
  Chemical Engineer, Support
43
46
  </td>
44
- <td class="text-secondary"><a href="#" class="text-reset">jlewzey1@seesaa.net</a></td>
47
+ <td class="text-secondary">
48
+ <a href="#" class="text-reset">jlewzey1@seesaa.net</a>
49
+ </td>
45
50
  <td class="text-secondary">
46
51
  Admin
47
52
  </td>
@@ -54,7 +59,9 @@ The `.table` class adds basic styling to a table:
54
59
  <td class="text-secondary">
55
60
  Geologist IV, Support
56
61
  </td>
57
- <td class="text-secondary"><a href="#" class="text-reset">mhulme2@domainmarket.com</a></td>
62
+ <td class="text-secondary">
63
+ <a href="#" class="text-reset">mhulme2@domainmarket.com</a>
64
+ </td>
58
65
  <td class="text-secondary">
59
66
  User
60
67
  </td>
@@ -67,7 +74,9 @@ The `.table` class adds basic styling to a table:
67
74
  <td class="text-secondary">
68
75
  Research Nurse, Sales
69
76
  </td>
70
- <td class="text-secondary"><a href="#" class="text-reset">dslane3@epa.gov</a></td>
77
+ <td class="text-secondary">
78
+ <a href="#" class="text-reset">dslane3@epa.gov</a>
79
+ </td>
71
80
  <td class="text-secondary">
72
81
  Owner
73
82
  </td>
@@ -80,7 +89,9 @@ The `.table` class adds basic styling to a table:
80
89
  <td class="text-secondary">
81
90
  VP Product Management, Accounting
82
91
  </td>
83
- <td class="text-secondary"><a href="#" class="text-reset">elevet4@senate.gov</a></td>
92
+ <td class="text-secondary">
93
+ <a href="#" class="text-reset">elevet4@senate.gov</a>
94
+ </td>
84
95
  <td class="text-secondary">
85
96
  Admin
86
97
  </td>
@@ -97,7 +108,7 @@ The `.table` class adds basic styling to a table:
97
108
 
98
109
  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.
99
110
 
100
- ```html code example height="12rem"
111
+ ```html example height="12rem"
101
112
  <table class="table table-responsive">
102
113
  <thead>
103
114
  <tr>
@@ -184,8 +195,7 @@ If you don't want the table cell content to wrap to another line, use the `table
184
195
 
185
196
  ```html
186
197
  <div class="table-responsive">
187
- <table
188
- class="table table-vcenter table-nowrap">
198
+ <table class="table table-vcenter table-nowrap">
189
199
  <thead>
190
200
  <tr>
191
201
  <th>Name</th>
@@ -202,7 +212,9 @@ If you don't want the table cell content to wrap to another line, use the `table
202
212
  <td class="text-secondary">
203
213
  UI Designer, Training
204
214
  </td>
205
- <td class="text-secondary"><a href="#" class="text-reset">paweluna@howstuffworks.com</a></td>
215
+ <td class="text-secondary">
216
+ <a href="#" class="text-reset">paweluna@howstuffworks.com</a>
217
+ </td>
206
218
  <td class="text-secondary">
207
219
  User
208
220
  </td>
@@ -219,7 +231,9 @@ If you don't want the table cell content to wrap to another line, use the `table
219
231
  <td class="text-secondary">
220
232
  Chemical Engineer, Support
221
233
  </td>
222
- <td class="text-secondary"><a href="#" class="text-reset">jlewzey1@seesaa.net</a></td>
234
+ <td class="text-secondary">
235
+ <a href="#" class="text-reset">jlewzey1@seesaa.net</a>
236
+ </td>
223
237
  <td class="text-secondary">
224
238
  Admin
225
239
  </td>
@@ -236,7 +250,9 @@ If you don't want the table cell content to wrap to another line, use the `table
236
250
  <td class="text-secondary">
237
251
  Geologist IV, Support
238
252
  </td>
239
- <td class="text-secondary"><a href="#" class="text-reset">mhulme2@domainmarket.com</a></td>
253
+ <td class="text-secondary">
254
+ <a href="#" class="text-reset">mhulme2@domainmarket.com</a>
255
+ </td>
240
256
  <td class="text-secondary">
241
257
  User
242
258
  </td>
@@ -253,7 +269,9 @@ If you don't want the table cell content to wrap to another line, use the `table
253
269
  <td class="text-secondary">
254
270
  Research Nurse, Sales
255
271
  </td>
256
- <td class="text-secondary"><a href="#" class="text-reset">dslane3@epa.gov</a></td>
272
+ <td class="text-secondary">
273
+ <a href="#" class="text-reset">dslane3@epa.gov</a>
274
+ </td>
257
275
  <td class="text-secondary">
258
276
  Owner
259
277
  </td>
@@ -270,7 +288,9 @@ If you don't want the table cell content to wrap to another line, use the `table
270
288
  <td class="text-secondary">
271
289
  VP Product Management, Accounting
272
290
  </td>
273
- <td class="text-secondary"><a href="#" class="text-reset">elevet4@senate.gov</a></td>
291
+ <td class="text-secondary">
292
+ <a href="#" class="text-reset">elevet4@senate.gov</a>
293
+ </td>
274
294
  <td class="text-secondary">
275
295
  Admin
276
296
  </td>
@@ -289,7 +309,7 @@ If you don't want the table cell content to wrap to another line, use the `table
289
309
 
290
310
  ## Table Variants
291
311
 
292
- ```html code example height="360px" scrollable
312
+ ```html example height="360px" scrollable
293
313
  <table class="table">
294
314
  <thead>
295
315
  <tr>
@@ -350,7 +370,7 @@ If you don't want the table cell content to wrap to another line, use the `table
350
370
 
351
371
  ## Table with sticky header
352
372
 
353
- ```html example code scrollable
373
+ ```html example scrollable
354
374
  <table class="table">
355
375
  <thead class="sticky-top">
356
376
  <tr>
@@ -1,14 +1,15 @@
1
1
  ---
2
2
  title: Tabs
3
- description: Tabs allow users to alternate between equally important views within the same context. By dividing content into meaningful sections, they improve its organization and make it easy for users to navigate.
3
+ summary: Tabs allow users to alternate between equally important views within the same context. By dividing content into meaningful sections, they improve its organization and make it easy for users to navigate.
4
4
  bootstrapLink: components/navs/
5
+ description: Organize content with interactive tabs.
5
6
  ---
6
7
 
7
8
  ## Default markup
8
9
 
9
10
  Use tabs to let users access different sections within one context quickly and with ease. In the default design, the current tab is highlighted, which makes the interface clear and user-friendly.
10
11
 
11
- ```html code example centered columns={1} height="20rem"
12
+ ```html example centered columns={1} height="20rem"
12
13
  <div class="card">
13
14
  <div class="card-header">
14
15
  <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
@@ -39,27 +40,32 @@ Use tabs to let users access different sections within one context quickly and w
39
40
 
40
41
  Add icons to your tab labels, if you want to use a visual element and make the tab content easier to identify.
41
42
 
42
- ```html example code centered columns={1} height="20rem"
43
+ ```html example centered columns={1} height="20rem"
43
44
  <div class="card">
44
45
  <div class="card-header">
45
46
  <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
46
47
  <li class="nav-item">
47
- <a href="#tabs-home-ex2" class="nav-link active" data-bs-toggle="tab"><svg xmlns="http://www.w3.org/2000/svg" class="icon me-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
48
+ <a href="#tabs-home-ex2" class="nav-link active" data-bs-toggle="tab">
49
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon me-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
48
50
  <path stroke="none" d="M0 0h24v24H0z" fill="none" />
49
51
  <polyline points="5 12 3 12 12 3 21 12 19 12" />
50
52
  <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
51
53
  <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
52
- </svg> Home</a>
54
+ </svg> Home
55
+ </a>
53
56
  </li>
54
57
  <li class="nav-item">
55
- <a href="#tabs-profile-ex2" class="nav-link" data-bs-toggle="tab"><svg xmlns="http://www.w3.org/2000/svg" class="icon me-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
58
+ <a href="#tabs-profile-ex2" class="nav-link" data-bs-toggle="tab">
59
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon me-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
56
60
  <path stroke="none" d="M0 0h24v24H0z" fill="none" />
57
61
  <circle cx="12" cy="7" r="4" />
58
62
  <path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
59
- </svg> Profile</a>
63
+ </svg> Profile
64
+ </a>
60
65
  </li>
61
66
  <li class="nav-item ms-auto">
62
- <a href="#tabs-settings-ex2" class="nav-link" title="Settings" data-bs-toggle="tab"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
67
+ <a href="#tabs-settings-ex2" class="nav-link" title="Settings" data-bs-toggle="tab">
68
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
63
69
  <path stroke="none" d="M0 0h24v24H0z" fill="none" />
64
70
  <path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
65
71
  <circle cx="12" cy="12" r="3" />
@@ -91,7 +97,7 @@ Add icons to your tab labels, if you want to use a visual element and make the t
91
97
 
92
98
  Use tabs without label names to save space and make the tab content easy to recognize for international users.
93
99
 
94
- ```html code example centered columns={1} height="20rem"
100
+ ```html example centered columns={1} height="20rem"
95
101
  <div class="card">
96
102
  <div class="card-header">
97
103
  <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
@@ -148,7 +154,7 @@ Use tabs without label names to save space and make the tab content easy to reco
148
154
 
149
155
  Make one or more of your tabs into a dropdown to add more options within one element.
150
156
 
151
- ```html code example centered columns={1} height="20rem"
157
+ ```html example centered columns={1} height="20rem"
152
158
  <div class="card">
153
159
  <div class="card-header">
154
160
  <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
@@ -190,7 +196,7 @@ Make one or more of your tabs into a dropdown to add more options within one ele
190
196
 
191
197
  Add the `nav-fill` class to make the tabs take up the full space of the parent element.
192
198
 
193
- ```html code example centered columns={1} height="20rem"
199
+ ```html example centered columns={1} height="20rem"
194
200
  <div class="card">
195
201
  <div class="card-header">
196
202
  <ul class="nav nav-tabs card-header-tabs nav-fill" data-bs-toggle="tabs">