@tabler/core 1.0.0-beta22 → 1.0.0-beta23

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 (229) hide show
  1. package/dist/css/demo.css +2 -2
  2. package/dist/css/demo.min.css +2 -2
  3. package/dist/css/demo.rtl.css +2 -2
  4. package/dist/css/demo.rtl.min.css +2 -2
  5. package/dist/css/tabler-flags.css +2 -2
  6. package/dist/css/tabler-flags.min.css +2 -2
  7. package/dist/css/tabler-flags.rtl.css +2 -2
  8. package/dist/css/tabler-flags.rtl.min.css +2 -2
  9. package/dist/css/tabler-payments.css +2 -2
  10. package/dist/css/tabler-payments.min.css +2 -2
  11. package/dist/css/tabler-payments.rtl.css +2 -2
  12. package/dist/css/tabler-payments.rtl.min.css +2 -2
  13. package/dist/css/tabler-socials.css +221 -0
  14. package/dist/css/tabler-socials.min.css +9 -0
  15. package/dist/css/tabler-socials.rtl.css +221 -0
  16. package/dist/css/tabler-socials.rtl.min.css +9 -0
  17. package/dist/css/tabler-vendors.css +4 -3
  18. package/dist/css/tabler-vendors.min.css +3 -3
  19. package/dist/css/tabler-vendors.rtl.css +4 -3
  20. package/dist/css/tabler-vendors.rtl.min.css +3 -3
  21. package/dist/css/tabler.css +14 -6
  22. package/dist/css/tabler.min.css +4 -4
  23. package/dist/css/tabler.rtl.css +14 -6
  24. package/dist/css/tabler.rtl.min.css +4 -4
  25. package/dist/img/social/apple-gray.svg +3 -0
  26. package/dist/img/social/apple.svg +3 -0
  27. package/dist/img/social/discord-gray.svg +3 -0
  28. package/dist/img/social/discord.svg +3 -0
  29. package/dist/img/social/dribbble-gray.svg +3 -0
  30. package/dist/img/social/dribbble.svg +4 -0
  31. package/dist/img/social/facebook-gray.svg +3 -0
  32. package/dist/img/social/facebook.svg +4 -0
  33. package/dist/img/social/figma-gray.svg +3 -0
  34. package/dist/img/social/figma.svg +7 -0
  35. package/dist/img/social/github-gray.svg +10 -0
  36. package/dist/img/social/github.svg +10 -0
  37. package/dist/img/social/google-gray.svg +3 -0
  38. package/dist/img/social/google.svg +6 -0
  39. package/dist/img/social/instagram-gray.svg +5 -0
  40. package/dist/img/social/instagram.svg +18 -0
  41. package/dist/img/social/linkedin-gray.svg +3 -0
  42. package/dist/img/social/linkedin.svg +3 -0
  43. package/dist/img/social/medium-gray.svg +5 -0
  44. package/dist/img/social/medium.svg +5 -0
  45. package/dist/img/social/meta-gray.svg +5 -0
  46. package/dist/img/social/meta.svg +17 -0
  47. package/dist/img/social/metamask-gray.svg +12 -0
  48. package/dist/img/social/metamask.svg +14 -0
  49. package/dist/img/social/pinterest-gray.svg +3 -0
  50. package/dist/img/social/pinterest.svg +4 -0
  51. package/dist/img/social/reddit-gray.svg +6 -0
  52. package/dist/img/social/reddit.svg +11 -0
  53. package/dist/img/social/signal-gray.svg +10 -0
  54. package/dist/img/social/signal.svg +10 -0
  55. package/dist/img/social/skype-gray.svg +3 -0
  56. package/dist/img/social/skype.svg +3 -0
  57. package/dist/img/social/snapchat-gray.svg +10 -0
  58. package/dist/img/social/snapchat.svg +11 -0
  59. package/dist/img/social/spotify-gray.svg +3 -0
  60. package/dist/img/social/spotify.svg +3 -0
  61. package/dist/img/social/telegram-gray.svg +3 -0
  62. package/dist/img/social/telegram.svg +10 -0
  63. package/dist/img/social/tiktok-gray.svg +3 -0
  64. package/dist/img/social/tiktok.svg +5 -0
  65. package/dist/img/social/tumblr-gray.svg +3 -0
  66. package/dist/img/social/tumblr.svg +3 -0
  67. package/dist/img/social/twitch-gray.svg +5 -0
  68. package/dist/img/social/twitch.svg +6 -0
  69. package/dist/img/social/vk-gray.svg +3 -0
  70. package/dist/img/social/vk.svg +4 -0
  71. package/dist/img/social/x-gray.svg +3 -0
  72. package/dist/img/social/x.svg +3 -0
  73. package/dist/img/social/youtube-gray.svg +3 -0
  74. package/dist/img/social/youtube.svg +11 -0
  75. package/dist/js/demo-theme.js +2 -2
  76. package/dist/js/demo-theme.min.js +2 -2
  77. package/dist/js/demo.js +2 -2
  78. package/dist/js/demo.min.js +2 -2
  79. package/dist/js/tabler.esm.js +19 -4
  80. package/dist/js/tabler.esm.min.js +3 -3
  81. package/dist/js/tabler.js +19 -4
  82. package/dist/js/tabler.min.js +4 -4
  83. package/docs/icons/index.mdx +3 -93
  84. package/docs/icons/libraries/index.mdx +5 -0
  85. package/docs/icons/{preact.mdx → libraries/preact.mdx} +4 -2
  86. package/docs/icons/{react.mdx → libraries/react.mdx} +5 -3
  87. package/docs/icons/{solidjs.mdx → libraries/solidjs.mdx} +5 -2
  88. package/docs/icons/{svelte.mdx → libraries/svelte.mdx} +5 -2
  89. package/docs/icons/{vue.mdx → libraries/vue.mdx} +13 -8
  90. package/docs/icons/{webfont.mdx → libraries/webfont.mdx} +4 -1
  91. package/docs/icons/plugins/figma.mdx +15 -0
  92. package/docs/icons/plugins/index.mdx +4 -0
  93. package/docs/icons/{eps.mdx → static-files/eps.mdx} +3 -1
  94. package/docs/icons/static-files/index.mdx +5 -0
  95. package/docs/icons/{pdf.mdx → static-files/pdf.mdx} +3 -1
  96. package/docs/icons/static-files/png.mdx +31 -0
  97. package/docs/icons/{svg.mdx → static-files/svg.mdx} +18 -18
  98. package/docs/illustrations/index.mdx +8 -0
  99. package/docs/illustrations/introduction/customization.mdx +442 -0
  100. package/docs/illustrations/introduction/index.mdx +5 -0
  101. package/docs/img/browsers/brave.svg +1 -0
  102. package/docs/img/browsers/chrome.svg +1 -0
  103. package/docs/img/browsers/edge.svg +1 -0
  104. package/docs/img/browsers/electron.svg +1 -0
  105. package/docs/img/browsers/firefox.svg +1 -0
  106. package/docs/img/browsers/internet-explorer.svg +1 -0
  107. package/docs/img/browsers/opera.svg +1 -0
  108. package/docs/img/browsers/safari.svg +1 -0
  109. package/docs/img/browsers/vivaldi.svg +1 -0
  110. package/docs/img/cover-illustrations-dark.png +0 -0
  111. package/docs/img/cover-illustrations.png +0 -0
  112. package/docs/img/cover-tabler-dark.png +0 -0
  113. package/docs/img/cover-tabler.png +0 -0
  114. package/docs/img/icons/figma-plugin.png +0 -0
  115. package/docs/img/icons/package-angular-dark.png +0 -0
  116. package/docs/img/icons/package-angular.png +0 -0
  117. package/docs/img/icons/package-eps-dark.png +0 -0
  118. package/docs/img/icons/package-eps.png +0 -0
  119. package/docs/img/icons/package-js-dark.png +0 -0
  120. package/docs/img/icons/package-js.png +0 -0
  121. package/docs/img/icons/package-pdf-dark.png +0 -0
  122. package/docs/img/icons/package-pdf.png +0 -0
  123. package/docs/img/icons/package-png-dark.png +0 -0
  124. package/docs/img/icons/package-png.png +0 -0
  125. package/docs/img/icons/package-preact-dark.png +0 -0
  126. package/docs/img/icons/package-preact.png +0 -0
  127. package/docs/img/icons/package-react-dark.png +0 -0
  128. package/docs/img/icons/package-react-native-dark.png +0 -0
  129. package/docs/img/icons/package-react-native.png +0 -0
  130. package/docs/img/icons/package-react.png +0 -0
  131. package/docs/img/icons/package-solidjs-dark.png +0 -0
  132. package/docs/img/icons/package-solidjs.png +0 -0
  133. package/docs/img/icons/package-sprite-dark.png +0 -0
  134. package/docs/img/icons/package-sprite.png +0 -0
  135. package/docs/img/icons/package-svelte-dark.png +0 -0
  136. package/docs/img/icons/package-svelte.png +0 -0
  137. package/docs/img/icons/package-svg-dark.png +0 -0
  138. package/docs/img/icons/package-svg.png +0 -0
  139. package/docs/img/icons/package-vue-dark.png +0 -0
  140. package/docs/img/icons/package-vue.png +0 -0
  141. package/docs/img/icons/package-webfont-dark.png +0 -0
  142. package/docs/img/icons/package-webfont.png +0 -0
  143. package/docs/index.mdx +16 -0
  144. package/docs/ui/base/colors.mdx +63 -5
  145. package/docs/ui/base/index.mdx +6 -0
  146. package/docs/ui/base/typography.mdx +96 -101
  147. package/docs/ui/components/alerts.mdx +20 -19
  148. package/docs/ui/components/autosize.mdx +12 -3
  149. package/docs/ui/components/avatars.mdx +7 -4
  150. package/docs/ui/components/badges.mdx +25 -16
  151. package/docs/ui/components/breadcrumb.mdx +125 -59
  152. package/docs/ui/components/buttons.mdx +142 -87
  153. package/docs/ui/components/cards.mdx +48 -27
  154. package/docs/ui/components/carousel.mdx +8 -7
  155. package/docs/ui/components/charts.mdx +8 -7
  156. package/docs/ui/components/countup.mdx +13 -14
  157. package/docs/ui/components/datagrid.mdx +10 -2
  158. package/docs/ui/components/divider.mdx +6 -6
  159. package/docs/ui/components/dropdowns.mdx +24 -15
  160. package/docs/ui/components/dropzone.mdx +5 -11
  161. package/docs/ui/components/empty.mdx +7 -5
  162. package/docs/ui/components/icons.mdx +8 -7
  163. package/docs/ui/components/index.mdx +6 -0
  164. package/docs/ui/components/inline-player.mdx +4 -3
  165. package/docs/ui/components/modals.mdx +14 -9
  166. package/docs/ui/components/placeholder.mdx +12 -11
  167. package/docs/ui/components/popover.mdx +8 -9
  168. package/docs/ui/components/progress.mdx +120 -19
  169. package/docs/ui/components/range-slider.mdx +18 -3
  170. package/docs/ui/components/ribbons.mdx +13 -12
  171. package/docs/ui/components/spinners.mdx +31 -10
  172. package/docs/ui/components/statuses.mdx +38 -13
  173. package/docs/ui/components/steps.mdx +8 -7
  174. package/docs/ui/components/switch-icon.mdx +4 -3
  175. package/docs/ui/components/tables.mdx +37 -17
  176. package/docs/ui/components/tabs.mdx +17 -11
  177. package/docs/ui/components/timelines.mdx +48 -29
  178. package/docs/ui/components/tinymce.mdx +3 -2
  179. package/docs/ui/components/toasts.mdx +3 -2
  180. package/docs/ui/components/tooltips.mdx +4 -3
  181. package/docs/ui/components/tracking.mdx +39 -34
  182. package/docs/ui/forms/form-color-check.mdx +36 -11
  183. package/docs/ui/forms/form-elements.mdx +32 -16
  184. package/docs/ui/forms/form-fieldset.mdx +3 -2
  185. package/docs/ui/forms/form-helpers.mdx +71 -4
  186. package/docs/ui/forms/form-image-check.mdx +43 -29
  187. package/docs/ui/forms/form-input-mask.mdx +33 -5
  188. package/docs/ui/forms/form-selectboxes.mdx +101 -16
  189. package/docs/ui/forms/form-validation.mdx +54 -13
  190. package/docs/ui/forms/index.mdx +6 -0
  191. package/docs/ui/getting-started/browser-support.mdx +2 -0
  192. package/docs/ui/getting-started/customize.mdx +5 -4
  193. package/docs/ui/getting-started/development.mdx +32 -0
  194. package/docs/ui/getting-started/download.mdx +3 -5
  195. package/docs/ui/getting-started/faq.mdx +3 -1
  196. package/docs/ui/getting-started/index.mdx +4 -28
  197. package/docs/ui/index.mdx +8 -0
  198. package/docs/ui/layout/index.mdx +6 -0
  199. package/docs/ui/layout/page-headers.mdx +16 -9
  200. package/docs/ui/layout/page-layouts.mdx +4 -3
  201. package/docs/ui/plugins/flags.mdx +270 -6
  202. package/docs/ui/plugins/index.mdx +6 -0
  203. package/docs/ui/plugins/payments.mdx +108 -4
  204. package/docs/ui/plugins/social-icons.mdx +135 -0
  205. package/docs/ui/utilities/borders.mdx +2 -1
  206. package/docs/ui/utilities/cursors.mdx +2 -1
  207. package/docs/ui/utilities/index.mdx +5 -0
  208. package/docs/ui/utilities/interactions.mdx +10 -5
  209. package/package.json +4 -3
  210. package/src/js/src/countup.js +17 -0
  211. package/src/js/tabler.esm.js +1 -0
  212. package/src/js/tabler.js +1 -0
  213. package/src/scss/_variables.scss +2 -4
  214. package/src/scss/tabler-socials.scss +2 -0
  215. package/src/scss/ui/_buttons.scss +1 -0
  216. package/src/scss/ui/_forms.scss +4 -0
  217. package/src/scss/ui/_social.scss +52 -0
  218. package/src/scss/ui/_tables.scss +0 -1
  219. package/src/scss/ui/_type.scss +4 -0
  220. package/src/scss/vendor/_tom-select.scss +1 -0
  221. package/dist/css/tabler-social.css +0 -10
  222. package/dist/css/tabler-social.min.css +0 -8
  223. package/dist/css/tabler-social.rtl.css +0 -10
  224. package/dist/css/tabler-social.rtl.min.css +0 -8
  225. package/docs/icons/figma.mdx +0 -7
  226. package/docs/icons/png.mdx +0 -19
  227. package/docs/menu.json +0 -317
  228. package/docs/ui/components/progressbg.mdx +0 -16
  229. package/src/scss/tabler-social.scss +0 -1
@@ -1,13 +1,14 @@
1
1
  ---
2
2
  title: Ribbons
3
- description: Ribbons are graphical elements which attract users' attention to a given element of an interface and make it stand out.
3
+ summary: Ribbons are graphical elements which attract users' attention to a given element of an interface and make it stand out.
4
+ description: Highlight elements with graphical ribbons.
4
5
  ---
5
6
 
6
7
  ## Default markup
7
8
 
8
9
  Use the `ribbon` class to add the default ribbon to any section of your interface.
9
10
 
10
- ```html example columns={1} centered
11
+ ```html example columns={1} centered background="base"
11
12
  <div class="card">
12
13
  <div class="card-body" style="height: 5rem">
13
14
  </div>
@@ -25,7 +26,7 @@ Use the `ribbon` class to add the default ribbon to any section of your interfac
25
26
  <div class="card-body">
26
27
  </div>
27
28
  <div class="ribbon">
28
- <!-- SVG icon from http://tabler-icons.io/i/star -->
29
+ <!-- SVG icon from http://tabler.io/icons/icon/star -->
29
30
  <svg>...</svg>
30
31
  </div>
31
32
  </div>
@@ -42,7 +43,7 @@ You can change the position of a ribbon by adding one of the following classes t
42
43
 
43
44
  Using multiple classes at once will give you more position options. For example, the following class: `.ribbon.ribbon-top.ribbon-left` will move the ribbon to the top left corner.
44
45
 
45
- ```html example columns={1} centered
46
+ ```html example columns={1} centered background="base"
46
47
  <div class="card">
47
48
  <div class="card-body" style="height: 5rem">
48
49
  </div>
@@ -60,7 +61,7 @@ Using multiple classes at once will give you more position options. For example,
60
61
  <div class="card-body">
61
62
  </div>
62
63
  <div class="ribbon ribbon-top ribbon-start">
63
- <!-- SVG icon from http://tabler-icons.io/i/star -->
64
+ <!-- SVG icon from http://tabler.io/icons/icon/star -->
64
65
  <svg>...</svg>
65
66
  </div>
66
67
  </div>
@@ -68,9 +69,9 @@ Using multiple classes at once will give you more position options. For example,
68
69
 
69
70
  ## Ribbon color
70
71
 
71
- Customize the ribbon's background color. You can click [here](/docs/ui/colors) to see the list of available colors.
72
+ Customize the ribbon's background color. You can click [here](/docs/ui/base/colors) to see the list of available colors.
72
73
 
73
- ```html example columns={1} centered
74
+ ```html example columns={1} centered background="base"
74
75
  <div class="card">
75
76
  <div class="card-body" style="height: 5rem">
76
77
  </div>
@@ -88,7 +89,7 @@ Customize the ribbon's background color. You can click [here](/docs/ui/colors) t
88
89
  <div class="card-body">
89
90
  </div>
90
91
  <div class="ribbon bg-red">
91
- <!-- SVG icon from http://tabler-icons.io/i/star -->
92
+ <!-- SVG icon from http://tabler.io/icons/icon/star -->
92
93
  <svg>...</svg>
93
94
  </div>
94
95
  </div>
@@ -98,7 +99,7 @@ Customize the ribbon's background color. You can click [here](/docs/ui/colors) t
98
99
 
99
100
  Add your own text to a ribbon to display any additional information and make it easy to spot for users.
100
101
 
101
- ```html example columns={1} centered
102
+ ```html example columns={1} centered background="base"
102
103
  <div class="card">
103
104
  <div class="card-body" style="height: 5rem">
104
105
  </div>
@@ -116,7 +117,7 @@ Add your own text to a ribbon to display any additional information and make it
116
117
  <div class="card-body">
117
118
  </div>
118
119
  <div class="ribbon bg-green">
119
- <!-- SVG icon from http://tabler-icons.io/i/star -->
120
+ <!-- SVG icon from http://tabler.io/icons/icon/star -->
120
121
  <svg>...</svg>
121
122
  </div>
122
123
  </div>
@@ -126,7 +127,7 @@ Add your own text to a ribbon to display any additional information and make it
126
127
 
127
128
  Change the style of a ribbon to make it go well with your interface design.
128
129
 
129
- ```html example columns={1} centered
130
+ ```html example columns={1} centered background="base"
130
131
  <div class="card w-100">
131
132
  <div class="card-body" style="height: 5rem">
132
133
  </div>
@@ -144,7 +145,7 @@ Change the style of a ribbon to make it go well with your interface design.
144
145
  <div class="card-body">
145
146
  </div>
146
147
  <div class="ribbon ribbon-bookmark bg-orange">
147
- <!-- SVG icon from http://tabler-icons.io/i/star -->
148
+ <!-- SVG icon from http://tabler.io/icons/icon/star -->
148
149
  <svg>...</svg>
149
150
  </div>
150
151
  </div>
@@ -1,20 +1,27 @@
1
1
  ---
2
2
  title: Spinners
3
- description: Spinners are used to show the loading state of a component or page. They provide feedback for an action a user has taken, when it takes a bit longer to complete.
3
+ summary: Spinners are used to show the loading state of a component or page. They provide feedback for an action a user has taken, when it takes a bit longer to complete.
4
4
  bootstrapLink: components/spinners/
5
+ description: Indicate loading state with spinners.
5
6
  ---
6
7
 
7
8
  ## Default markup
8
9
 
9
10
  Use the default spinner to notify users that an action they have taken is in progress, helping them avoid confusion.
10
11
 
11
- ```html example code centered
12
+ ```html
13
+ <div class="spinner-border"></div>
14
+ ```
15
+
16
+ Look at the example below to see how the spinner works:
17
+
18
+ ```html example centered
12
19
  <div class="spinner-border"></div>
13
20
  ```
14
21
 
15
22
  ## Colors
16
23
 
17
- Choose one of the available colors to customize the spinner and make it suit your design.
24
+ Choose one of the available colors to customize the spinner and make it suit your design. Full list of available colors can be found in the [Colors](/docs/ui/base/colors) section.
18
25
 
19
26
  ```html example centered separated
20
27
  <div class="spinner-border text-blue" role="status"></div>
@@ -40,7 +47,7 @@ Choose one of the available colors to customize the spinner and make it suit you
40
47
 
41
48
  Choose the size of your spinner. You can use the default size or use the `spinner-border-sm` class to display a smaller spinner.
42
49
 
43
- ```html example code centered separated
50
+ ```html example centered separated
44
51
  <div class="spinner-border" role="status"></div>
45
52
  <div class="spinner-border spinner-border-sm" role="status"></div>
46
53
  ```
@@ -49,7 +56,7 @@ Choose the size of your spinner. You can use the default size or use the `spinne
49
56
 
50
57
  Use the growing spinner, if you are looking for a more original design than a border spinner. The spinner grows to show the loading state.
51
58
 
52
- ```html example code centered
59
+ ```html example centered
53
60
  <div class="spinner-grow" role="status"></div>
54
61
  ```
55
62
 
@@ -75,11 +82,20 @@ Growing spinners also come in a variety of colors to choose from.
75
82
  <div class="spinner-grow text-azure" role="status"></div>
76
83
  ```
77
84
 
78
- ### Button with spinner
85
+ ## Button with spinner
79
86
 
80
87
  Use buttons with spinners to notify users that an action they have taken by clicking the button is in progress and prevent them from clicking multiple times or giving up.
81
88
 
82
- ```html example centered separated code
89
+ ```html
90
+ <a href="#" class="btn btn-primary">
91
+ <span class="spinner-border spinner-border-sm me-2" role="status"></span>
92
+ Button
93
+ </a>
94
+ ```
95
+
96
+ Look at the example below to see how the button with a spinner works:
97
+
98
+ ```html example centered separated code background="bg-light"
83
99
  <a href="#" class="btn btn-primary">
84
100
  <span class="spinner-border spinner-border-sm me-2" role="status"></span>
85
101
  Button
@@ -104,11 +120,16 @@ Use buttons with spinners to notify users that an action they have taken by clic
104
120
 
105
121
  ## Animated dots
106
122
 
107
- ```html example centered code
108
- <h1>Loading<span class="animated-dots"></span></h1>
123
+ Use animated dots to show the loading state of a component. They provide feedback for an action a user has taken, when it takes a bit longer to complete. To do it you need to use the `.animated-dots` class on `span` element.
124
+
125
+ ```html example centered code background="bg-light"
126
+ <h1>Loading<span class="animated-dots"></span>
127
+ </h1>
109
128
  ```
110
129
 
111
- ```html example centered code separated
130
+ Use buttons with animated dots to notify users that an action they have taken by clicking the button is in progress and prevent them from clicking multiple times or giving up.
131
+
132
+ ```html example centered separated background="bg-light"
112
133
  <a href="#" class="btn btn-primary">
113
134
  Loading<span class="animated-dots"></span>
114
135
  </a>
@@ -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,9 @@ 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 example centered separated
191
214
  <span class="status-dot status-blue"></span>
192
215
  <span class="status-dot status-azure"></span>
193
216
  <span class="status-dot status-indigo"></span>
@@ -202,9 +225,9 @@ description: Status dots are particularly useful if you want to make an interfac
202
225
  <span class="status-dot status-cyan"></span>
203
226
  ```
204
227
 
205
- ### Animated dots
228
+ The dots can also be animated. To do this, use the `.status-dot-animated` class.
206
229
 
207
- ```html code example centered separated height="7rem"
230
+ ```html example centered separated
208
231
  <span class="status-dot status-dot-animated status-blue"></span>
209
232
  <span class="status-dot status-dot-animated status-azure"></span>
210
233
  <span class="status-dot status-dot-animated status-indigo"></span>
@@ -221,7 +244,9 @@ description: Status dots are particularly useful if you want to make an interfac
221
244
 
222
245
  ## Status indicator
223
246
 
224
- ```html code example vertical centered height="7rem"
247
+ 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.
248
+
249
+ ```html example centered separated columns={1}
225
250
  <span class="status-indicator status-blue status-indicator-animated">
226
251
  <span class="status-indicator-circle"></span>
227
252
  <span class="status-indicator-circle"></span>
@@ -1,7 +1,8 @@
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
@@ -10,7 +11,7 @@ Steps show users where they are within a process, what steps they have already c
10
11
 
11
12
  Use the `steps` class to create the default progress tracker and name the steps accordingly.
12
13
 
13
- ```html code example
14
+ ```html example
14
15
  <div class="steps">
15
16
  <a href="#" class="step-item">
16
17
  Step 1
@@ -31,7 +32,7 @@ Use the `steps` class to create the default progress tracker and name the steps
31
32
 
32
33
  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
34
 
34
- ```html code example
35
+ ```html example
35
36
  <div class="steps">
36
37
  <a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 1 description">
37
38
  Step 1
@@ -50,9 +51,9 @@ Add tooltips, if you want to provide users with additional information about the
50
51
 
51
52
  ## Color
52
53
 
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.
54
+ 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
55
 
55
- ```html code example
56
+ ```html example
56
57
  <div class="steps steps-green">
57
58
  <a href="#" class="step-item">
58
59
  Step 1
@@ -87,7 +88,7 @@ You can customize the default progress indicator by changing the color to one th
87
88
 
88
89
  For designs with limited space, use progress indicators without titles and add tooltips to provide the necessary details.
89
90
 
90
- ```html code example
91
+ ```html example
91
92
  <div class="steps">
92
93
  <a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 1 description"></a>
93
94
  <a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 2 description"></a>
@@ -100,7 +101,7 @@ For designs with limited space, use progress indicators without titles and add t
100
101
 
101
102
  Use the `steps-counter` class to create a progress tracker with numbers instead of titles and change the color to customize it.
102
103
 
103
- ```html code example
104
+ ```html example
104
105
  <div class="steps steps-counter steps-lime">
105
106
  <a href="#" class="step-item"></a>
106
107
  <a href="#" class="step-item active"></a>
@@ -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">