@tabler/core 1.1.1 → 1.2.0

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 (273) hide show
  1. package/LICENSE +21 -0
  2. package/dist/css/tabler-flags.css +2 -2
  3. package/dist/css/tabler-flags.css.map +1 -1
  4. package/dist/css/tabler-flags.min.css +2 -2
  5. package/dist/css/tabler-flags.min.css.map +1 -1
  6. package/dist/css/tabler-flags.rtl.css +2 -2
  7. package/dist/css/tabler-flags.rtl.css.map +1 -1
  8. package/dist/css/tabler-flags.rtl.min.css +2 -2
  9. package/dist/css/tabler-flags.rtl.min.css.map +1 -1
  10. package/dist/css/tabler-marketing.css +6 -6
  11. package/dist/css/tabler-marketing.css.map +1 -1
  12. package/dist/css/tabler-marketing.min.css +2 -2
  13. package/dist/css/tabler-marketing.min.css.map +1 -1
  14. package/dist/css/tabler-marketing.rtl.css +6 -6
  15. package/dist/css/tabler-marketing.rtl.css.map +1 -1
  16. package/dist/css/tabler-marketing.rtl.min.css +2 -2
  17. package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
  18. package/dist/css/tabler-payments.css +1 -1
  19. package/dist/css/tabler-payments.min.css +1 -1
  20. package/dist/css/tabler-payments.rtl.css +1 -1
  21. package/dist/css/tabler-payments.rtl.min.css +1 -1
  22. package/dist/css/tabler-props.css +448 -0
  23. package/dist/css/tabler-props.css.map +1 -0
  24. package/dist/css/tabler-props.min.css +8 -0
  25. package/dist/css/tabler-props.min.css.map +1 -0
  26. package/dist/css/tabler-props.rtl.css +447 -0
  27. package/dist/css/tabler-props.rtl.css.map +1 -0
  28. package/dist/css/tabler-props.rtl.min.css +8 -0
  29. package/dist/css/tabler-props.rtl.min.css.map +1 -0
  30. package/dist/css/tabler-socials.css +1 -1
  31. package/dist/css/tabler-socials.min.css +1 -1
  32. package/dist/css/tabler-socials.rtl.css +1 -1
  33. package/dist/css/tabler-socials.rtl.min.css +1 -1
  34. package/dist/css/tabler-themes.css +213 -0
  35. package/dist/css/tabler-themes.css.map +1 -0
  36. package/dist/css/tabler-themes.min.css +8 -0
  37. package/dist/css/tabler-themes.min.css.map +1 -0
  38. package/dist/css/tabler-themes.rtl.css +212 -0
  39. package/dist/css/tabler-themes.rtl.css.map +1 -0
  40. package/dist/css/tabler-themes.rtl.min.css +8 -0
  41. package/dist/css/tabler-themes.rtl.min.css.map +1 -0
  42. package/dist/css/tabler-vendors.css +31 -16
  43. package/dist/css/tabler-vendors.css.map +1 -1
  44. package/dist/css/tabler-vendors.min.css +2 -2
  45. package/dist/css/tabler-vendors.min.css.map +1 -1
  46. package/dist/css/tabler-vendors.rtl.css +31 -16
  47. package/dist/css/tabler-vendors.rtl.css.map +1 -1
  48. package/dist/css/tabler-vendors.rtl.min.css +2 -2
  49. package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
  50. package/dist/css/tabler.css +7662 -8392
  51. package/dist/css/tabler.css.map +1 -1
  52. package/dist/css/tabler.min.css +2 -2
  53. package/dist/css/tabler.min.css.map +1 -1
  54. package/dist/css/tabler.rtl.css +7751 -8481
  55. package/dist/css/tabler.rtl.css.map +1 -1
  56. package/dist/css/tabler.rtl.min.css +2 -2
  57. package/dist/css/tabler.rtl.min.css.map +1 -1
  58. package/dist/img/flags/kr.svg +1 -1
  59. package/dist/js/tabler-theme.esm.js +38 -0
  60. package/dist/js/tabler-theme.esm.js.map +1 -0
  61. package/dist/js/tabler-theme.esm.min.js +8 -0
  62. package/dist/js/tabler-theme.esm.min.js.map +1 -0
  63. package/dist/js/tabler-theme.js +45 -0
  64. package/dist/js/tabler-theme.js.map +1 -0
  65. package/dist/js/tabler-theme.min.js +8 -0
  66. package/dist/js/tabler-theme.min.js.map +1 -0
  67. package/dist/js/tabler.esm.js +28 -21
  68. package/dist/js/tabler.esm.js.map +1 -1
  69. package/dist/js/tabler.esm.min.js +5 -5
  70. package/dist/js/tabler.esm.min.js.map +1 -1
  71. package/dist/js/tabler.js +36 -24
  72. package/dist/js/tabler.js.map +1 -1
  73. package/dist/js/tabler.min.js +5 -5
  74. package/dist/js/tabler.min.js.map +1 -1
  75. package/js/src/autosize.js +1 -4
  76. package/js/src/input-mask.js +1 -3
  77. package/js/tabler-theme.js +35 -0
  78. package/js/{tabler.esm.js → tabler.js} +16 -0
  79. package/package.json +10 -8
  80. package/scss/_bootstrap-components.scss +0 -5
  81. package/scss/_core.scss +4 -0
  82. package/scss/_props.scss +91 -0
  83. package/scss/_utilities.scss +30 -1
  84. package/scss/_variables-dark.scss +1 -1
  85. package/scss/_variables.scss +79 -60
  86. package/scss/helpers/_index.scss +143 -0
  87. package/scss/layout/_core.scss +1 -0
  88. package/scss/layout/_dark.scss +33 -38
  89. package/scss/layout/_navbar.scss +2 -1
  90. package/scss/layout/_page.scss +1 -0
  91. package/scss/layout/_root.scss +26 -34
  92. package/scss/marketing/_core.scss +1 -1
  93. package/scss/marketing/_pricing.scss +1 -1
  94. package/scss/mixins/_mixins.scss +6 -6
  95. package/scss/tabler-props.scss +1 -0
  96. package/scss/tabler-themes.scss +121 -0
  97. package/scss/tabler-vendors.scss +3 -1
  98. package/scss/tabler.scss +0 -1
  99. package/scss/ui/_accordion.scss +31 -26
  100. package/scss/ui/_alerts.scss +19 -8
  101. package/scss/ui/_avatars.scss +35 -9
  102. package/scss/ui/_badges.scss +1 -1
  103. package/scss/ui/_buttons.scss +15 -17
  104. package/scss/ui/_close.scss +55 -2
  105. package/scss/ui/_dropdowns.scss +1 -0
  106. package/scss/ui/_forms.scss +12 -2
  107. package/scss/ui/_markdown.scss +10 -1
  108. package/scss/ui/_nav.scss +11 -1
  109. package/scss/ui/_offcanvas.scss +1 -1
  110. package/scss/ui/_pagination.scss +2 -0
  111. package/scss/ui/_signature.scss +4 -2
  112. package/scss/ui/_steps.scss +4 -0
  113. package/scss/ui/_tables.scss +16 -0
  114. package/scss/ui/_tags.scss +1 -1
  115. package/scss/ui/_type.scss +69 -7
  116. package/scss/ui/forms/_form-colorinput.scss +1 -1
  117. package/scss/ui/forms/_form-imagecheck.scss +6 -5
  118. package/scss/ui/forms/_form-selectgroup.scss +1 -1
  119. package/scss/utils/_colors.scss +58 -11
  120. package/scss/utils/_scroll.scss +0 -2
  121. package/scss/vendor/_coloris.scss +6 -1
  122. package/scss/vendor/_fslightbox.scss +1 -1
  123. package/scss/vendor/_jsvectormap.scss +2 -3
  124. package/scss/vendor/_litepicker.scss +1 -0
  125. package/scss/vendor/_nouislider.scss +0 -2
  126. package/scss/vendor/_tinymce.scss +3 -3
  127. package/scss/vendor/_tom-select.scss +7 -4
  128. package/scss/vendor/_turbo.scss +3 -0
  129. package/scss/vendor/_wysiwyg.scss +34 -0
  130. package/docs/emails/index.mdx +0 -14
  131. package/docs/emails/introduction/compiled-html.mdx +0 -29
  132. package/docs/emails/introduction/contents.mdx +0 -63
  133. package/docs/emails/introduction/index.mdx +0 -9
  134. package/docs/emails/introduction/source-html.mdx +0 -26
  135. package/docs/icons/index.mdx +0 -13
  136. package/docs/icons/libraries/index.mdx +0 -5
  137. package/docs/icons/libraries/preact.mdx +0 -42
  138. package/docs/icons/libraries/react.mdx +0 -42
  139. package/docs/icons/libraries/solidjs.mdx +0 -42
  140. package/docs/icons/libraries/svelte.mdx +0 -43
  141. package/docs/icons/libraries/vue.mdx +0 -50
  142. package/docs/icons/libraries/webfont.mdx +0 -60
  143. package/docs/icons/plugins/figma.mdx +0 -15
  144. package/docs/icons/plugins/index.mdx +0 -4
  145. package/docs/icons/static-files/eps.mdx +0 -15
  146. package/docs/icons/static-files/index.mdx +0 -5
  147. package/docs/icons/static-files/pdf.mdx +0 -15
  148. package/docs/icons/static-files/png.mdx +0 -31
  149. package/docs/icons/static-files/svg.mdx +0 -85
  150. package/docs/illustrations/index.mdx +0 -8
  151. package/docs/illustrations/introduction/contents.mdx +0 -77
  152. package/docs/illustrations/introduction/customization.mdx +0 -1198
  153. package/docs/illustrations/introduction/index.mdx +0 -5
  154. package/docs/illustrations/introduction/license.mdx +0 -90
  155. package/docs/img/browsers/brave.svg +0 -1
  156. package/docs/img/browsers/chrome.svg +0 -1
  157. package/docs/img/browsers/edge.svg +0 -1
  158. package/docs/img/browsers/electron.svg +0 -1
  159. package/docs/img/browsers/firefox.svg +0 -1
  160. package/docs/img/browsers/internet-explorer.svg +0 -1
  161. package/docs/img/browsers/opera.svg +0 -1
  162. package/docs/img/browsers/safari.svg +0 -1
  163. package/docs/img/browsers/vivaldi.svg +0 -1
  164. package/docs/img/cover-illustrations-dark.png +0 -0
  165. package/docs/img/cover-illustrations.png +0 -0
  166. package/docs/img/cover-tabler-dark.png +0 -0
  167. package/docs/img/cover-tabler.png +0 -0
  168. package/docs/img/icons/figma-plugin.png +0 -0
  169. package/docs/img/icons/package-angular-dark.png +0 -0
  170. package/docs/img/icons/package-angular.png +0 -0
  171. package/docs/img/icons/package-eps-dark.png +0 -0
  172. package/docs/img/icons/package-eps.png +0 -0
  173. package/docs/img/icons/package-js-dark.png +0 -0
  174. package/docs/img/icons/package-js.png +0 -0
  175. package/docs/img/icons/package-pdf-dark.png +0 -0
  176. package/docs/img/icons/package-pdf.png +0 -0
  177. package/docs/img/icons/package-png-dark.png +0 -0
  178. package/docs/img/icons/package-png.png +0 -0
  179. package/docs/img/icons/package-preact-dark.png +0 -0
  180. package/docs/img/icons/package-preact.png +0 -0
  181. package/docs/img/icons/package-react-dark.png +0 -0
  182. package/docs/img/icons/package-react-native-dark.png +0 -0
  183. package/docs/img/icons/package-react-native.png +0 -0
  184. package/docs/img/icons/package-react.png +0 -0
  185. package/docs/img/icons/package-solidjs-dark.png +0 -0
  186. package/docs/img/icons/package-solidjs.png +0 -0
  187. package/docs/img/icons/package-sprite-dark.png +0 -0
  188. package/docs/img/icons/package-sprite.png +0 -0
  189. package/docs/img/icons/package-svelte-dark.png +0 -0
  190. package/docs/img/icons/package-svelte.png +0 -0
  191. package/docs/img/icons/package-svg-dark.png +0 -0
  192. package/docs/img/icons/package-svg.png +0 -0
  193. package/docs/img/icons/package-vue-dark.png +0 -0
  194. package/docs/img/icons/package-vue.png +0 -0
  195. package/docs/img/icons/package-webfont-dark.png +0 -0
  196. package/docs/img/icons/package-webfont.png +0 -0
  197. package/docs/index.mdx +0 -16
  198. package/docs/ui/base/colors.mdx +0 -83
  199. package/docs/ui/base/index.mdx +0 -6
  200. package/docs/ui/base/typography.mdx +0 -311
  201. package/docs/ui/components/alerts.mdx +0 -406
  202. package/docs/ui/components/autosize.mdx +0 -25
  203. package/docs/ui/components/avatars.mdx +0 -227
  204. package/docs/ui/components/badges.mdx +0 -112
  205. package/docs/ui/components/breadcrumb.mdx +0 -199
  206. package/docs/ui/components/buttons.mdx +0 -1213
  207. package/docs/ui/components/cards.mdx +0 -417
  208. package/docs/ui/components/carousel.mdx +0 -459
  209. package/docs/ui/components/charts.mdx +0 -697
  210. package/docs/ui/components/countup.mdx +0 -165
  211. package/docs/ui/components/datagrid.mdx +0 -120
  212. package/docs/ui/components/divider.mdx +0 -68
  213. package/docs/ui/components/dropdowns.mdx +0 -302
  214. package/docs/ui/components/dropzone.mdx +0 -88
  215. package/docs/ui/components/empty.mdx +0 -149
  216. package/docs/ui/components/icons.mdx +0 -392
  217. package/docs/ui/components/index.mdx +0 -6
  218. package/docs/ui/components/inline-player.mdx +0 -58
  219. package/docs/ui/components/modals.mdx +0 -297
  220. package/docs/ui/components/offcanvas.mdx +0 -70
  221. package/docs/ui/components/placeholder.mdx +0 -273
  222. package/docs/ui/components/popover.mdx +0 -142
  223. package/docs/ui/components/progress.mdx +0 -241
  224. package/docs/ui/components/range-slider.mdx +0 -32
  225. package/docs/ui/components/ribbons.mdx +0 -207
  226. package/docs/ui/components/segmented-control.mdx +0 -401
  227. package/docs/ui/components/spinners.mdx +0 -135
  228. package/docs/ui/components/statuses.mdx +0 -322
  229. package/docs/ui/components/steps.mdx +0 -174
  230. package/docs/ui/components/switch-icon.mdx +0 -386
  231. package/docs/ui/components/tables.mdx +0 -397
  232. package/docs/ui/components/tabs.mdx +0 -396
  233. package/docs/ui/components/timelines.mdx +0 -697
  234. package/docs/ui/components/tinymce.mdx +0 -46
  235. package/docs/ui/components/toasts.mdx +0 -126
  236. package/docs/ui/components/tooltips.mdx +0 -65
  237. package/docs/ui/components/tracking.mdx +0 -548
  238. package/docs/ui/components/vector-maps.mdx +0 -166
  239. package/docs/ui/forms/form-color-check.mdx +0 -220
  240. package/docs/ui/forms/form-elements.mdx +0 -632
  241. package/docs/ui/forms/form-fieldset.mdx +0 -45
  242. package/docs/ui/forms/form-helpers.mdx +0 -91
  243. package/docs/ui/forms/form-image-check.mdx +0 -213
  244. package/docs/ui/forms/form-input-mask.mdx +0 -61
  245. package/docs/ui/forms/form-selectboxes.mdx +0 -398
  246. package/docs/ui/forms/form-validation.mdx +0 -62
  247. package/docs/ui/forms/index.mdx +0 -6
  248. package/docs/ui/getting-started/browser-support.mdx +0 -28
  249. package/docs/ui/getting-started/customize.mdx +0 -28
  250. package/docs/ui/getting-started/download.mdx +0 -44
  251. package/docs/ui/getting-started/faq.mdx +0 -30
  252. package/docs/ui/getting-started/how-to-contribute.mdx +0 -84
  253. package/docs/ui/getting-started/index.mdx +0 -16
  254. package/docs/ui/getting-started/installation.mdx +0 -67
  255. package/docs/ui/getting-started/license.mdx +0 -30
  256. package/docs/ui/index.mdx +0 -8
  257. package/docs/ui/layout/index.mdx +0 -6
  258. package/docs/ui/layout/navbars.mdx +0 -164
  259. package/docs/ui/layout/navs-tabls.mdx +0 -201
  260. package/docs/ui/layout/page-headers.mdx +0 -365
  261. package/docs/ui/layout/page-layouts.mdx +0 -213
  262. package/docs/ui/plugins/flags.mdx +0 -316
  263. package/docs/ui/plugins/index.mdx +0 -6
  264. package/docs/ui/plugins/payments.mdx +0 -152
  265. package/docs/ui/plugins/social-icons.mdx +0 -135
  266. package/docs/ui/utilities/borders.mdx +0 -260
  267. package/docs/ui/utilities/cursors.mdx +0 -63
  268. package/docs/ui/utilities/index.mdx +0 -5
  269. package/docs/ui/utilities/interactions.mdx +0 -26
  270. package/docs/ui/utilities/margins.mdx +0 -234
  271. package/docs/ui/utilities/vertical-align.mdx +0 -66
  272. package/docs/ui/utilities/visually-hidden.mdx +0 -12
  273. package/js/tabler.umd.js +0 -15
@@ -1,260 +0,0 @@
1
- ---
2
- title: Borders
3
- summary: Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element.
4
- description: Style elements with border utilities.
5
- ---
6
-
7
- ## Border direction
8
-
9
- Borders can be applied to specific sides of an element using utility classes. This is particularly useful for styling individual sides of a box, such as highlighting the top border for emphasis or applying a separator between elements. Below are examples of how to set borders for each side of an element.
10
-
11
- ```html
12
- <div class="border">1</div>
13
- <div class="border-top">2</div>
14
- <div class="border-end">3</div>
15
- <div class="border-bottom">4</div>
16
- <div class="border-start">5</div>
17
- <div class="border-x">6</div>
18
- <div class="border-y">7</div>
19
- ```
20
-
21
- ```html example centered separated background="white"
22
- <div
23
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border"
24
- >
25
- 1
26
- </div>
27
- <div
28
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-top"
29
- >
30
- 2
31
- </div>
32
- <div
33
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-end"
34
- >
35
- 3
36
- </div>
37
- <div
38
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-bottom"
39
- >
40
- 4
41
- </div>
42
- <div
43
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-start"
44
- >
45
- 5
46
- </div>
47
- <div
48
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-x"
49
- >
50
- 6
51
- </div>
52
- <div
53
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-y"
54
- >
55
- 7
56
- </div>
57
- ```
58
-
59
-
60
- ## Border size
61
-
62
- Border size utilities allow you to control the thickness of borders, providing flexibility to suit different design needs. You can add no border, a standard border, or a wide border for a more prominent effect. These classes are especially useful for creating visual hierarchy or highlighting specific elements.
63
-
64
- ```html
65
- <div class="border-0">1</div>
66
- <div class="border">2</div>
67
- <div class="border-wide">3</div>
68
- ```
69
-
70
- ```html example centered separated background="white"
71
- <div
72
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-0"
73
- >
74
- 1
75
- </div>
76
- <div
77
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border"
78
- >
79
- 2
80
- </div>
81
- <div
82
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border-wide"
83
- >
84
- 3
85
- </div>
86
- ```
87
-
88
- ## Remove border
89
-
90
- If you want to selectively remove borders from specific sides of an element, you can use border removal utilities. This feature simplifies styling tasks, such as creating a seamless connection between elements or achieving minimalistic designs.
91
-
92
- ```html
93
- <div class="border border-top-0">1</div>
94
- <div class="border border-end-0">2</div>
95
- <div class="border border-bottom-0">3</div>
96
- <div class="border border-start-0">4</div>
97
- <div class="border border-x-0">5</div>
98
- <div class="border border-y-0">6</div>
99
- ```
100
-
101
- ```html example centered separated background="white"
102
- <div
103
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-top-0"
104
- >
105
- 1
106
- </div>
107
- <div
108
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-end-0"
109
- >
110
- 2
111
- </div>
112
- <div
113
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-bottom-0"
114
- >
115
- 3
116
- </div>
117
- <div
118
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-start-0"
119
- >
120
- 4
121
- </div>
122
- <div
123
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-x-0"
124
- >
125
- 5
126
- </div>
127
- <div
128
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-y-0"
129
- >
130
- 6
131
- </div>
132
- ```
133
-
134
-
135
- ## Border color
136
-
137
- Customizing the border color helps to enhance the visual appeal and consistency of your design. With utility classes, you can easily apply specific colors to borders, allowing for greater flexibility in creating visually distinct sections.
138
-
139
- ```html
140
- <div class="border border-primary">1</div>
141
- <div class="border border-secondary">2</div>
142
- <div class="border border-success">3</div>
143
- <div class="border border-warning">4</div>
144
- <div class="border border-danger">5</div>
145
- <div class="border border-info">6</div>
146
- <div class="border border-dark">7</div>
147
- <div class="border border-light">8</div>
148
- ```
149
-
150
- ```html example centered separated background="white"
151
- <div
152
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-primary"
153
- >
154
- 1
155
- </div>
156
- <div
157
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-secondary"
158
- >
159
- 2
160
- </div>
161
- <div
162
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-success"
163
- >
164
- 3
165
- </div>
166
- <div
167
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-warning"
168
- >
169
- 4
170
- </div>
171
- <div
172
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-danger"
173
- >
174
- 5
175
- </div>
176
- <div
177
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-info"
178
- >
179
- 6
180
- </div>
181
- <div
182
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-dark"
183
- >
184
- 7
185
- </div>
186
- <div
187
- class="d-flex align-items-center justify-content-center text-secondary w-5 h-5 bg-light border border-light"
188
- >
189
- 8
190
- </div>
191
- ```
192
-
193
- ## Border radius
194
-
195
- Adding border radius gives elements smooth, rounded edges, which can make designs feel more modern and approachable. You can choose from various levels of rounding, including full circles, using the available utility classes.
196
-
197
- ```html
198
- <div class="border rounded-0">1</div>
199
- <div class="border rounded">2</div>
200
- <div class="border rounded-1">3</div>
201
- <div class="border rounded-2">4</div>
202
- <div class="border rounded-3">5</div>
203
- <div class="border rounded-circle">6</div>
204
- ```
205
-
206
- ```html example centered separated background="white"
207
- <div
208
- class="d-flex align-items-center justify-content-center text-secondary w-6 h-6 bg-light border rounded-0"
209
- >
210
- 1
211
- </div>
212
- <div
213
- class="d-flex align-items-center justify-content-center text-secondary w-6 h-6 bg-light border rounded"
214
- >
215
- 2
216
- </div>
217
- <div
218
- class="d-flex align-items-center justify-content-center text-secondary w-6 h-6 bg-light border rounded-1"
219
- >
220
- 3
221
- </div>
222
- <div
223
- class="d-flex align-items-center justify-content-center text-secondary w-6 h-6 bg-light border rounded-2"
224
- >
225
- 4
226
- </div>
227
- <div
228
- class="d-flex align-items-center justify-content-center text-secondary w-6 h-6 bg-light border rounded-3"
229
- >
230
- 5
231
- </div>
232
- <div
233
- class="d-flex align-items-center justify-content-center text-secondary w-6 h-6 bg-light border rounded-circle"
234
- >
235
- 6
236
- </div>
237
- ```
238
-
239
-
240
- ## Border opacity
241
-
242
- You can adjust the opacity of borders to create subtle visual effects or to blend elements seamlessly into the background. By using border opacity utilities, you can control the transparency of borders, allowing for more creative and visually appealing designs. To change the opacity of a border, add the `border-opacity-*` class to the element.
243
-
244
- ```html
245
- <div class="border border-success border-opacity-50">This is 50% opacity success border</div>
246
- ```
247
-
248
- ```html example
249
- <div class="border border-success p-2 mb-2">This is default success border</div>
250
- <div class="border border-success p-2 mb-2 border-opacity-75">
251
- This is 75% opacity success border
252
- </div>
253
- <div class="border border-success p-2 mb-2 border-opacity-50">
254
- This is 50% opacity success border
255
- </div>
256
- <div class="border border-success p-2 mb-2 border-opacity-25">
257
- This is 25% opacity success border
258
- </div>
259
- <div class="border border-success p-2 border-opacity-10">This is 10% opacity success border</div>
260
- ```
@@ -1,63 +0,0 @@
1
- ---
2
- title: Cursors
3
- summary: You can use different cursors to reflect the intended user interaction with particular elements of an interface. The cursor will change when a user hovers over a given element to indicate the action which can be performed.
4
- description: Custom cursors for enhanced interaction.
5
- ---
6
-
7
- ## Cursor utilities
8
-
9
- Use one of the available cursor utilities depending on the action you want to indicate.
10
-
11
- - `.cursor-auto`- the cursor style depends on what's inside a given element
12
- - `.cursor-pointer` - a pointing cursor, used to show that an element is clickable
13
- - `.cursor-move` - a cursor which shows that a given element can be moved
14
- - `.cursor-not-allowed` - a cursor which shows that a user is not allowed to perform an action on an element
15
- - `.cursor-zoom-in` - a cursor which shows that a user can zoom in
16
- - `.cursor-zoom-out` - a cursor which shows that a user can zoom out
17
- - `.cursor-default` - the default cursor
18
- - `.cursor-none` - no cursor
19
- - `.cursor-help` - a cursor which shows that help information is available
20
- - `.cursor-progress` - a cursor which shows that an action is in progress
21
- - `.cursor-wait` - a cursor which shows that a user cannot interact with the element because it is busy
22
- - `.cursor-text` - a cursor which shows that a user can type
23
- - `.cursor-v-text` - a cursor which shows that a user can type in a vertical text input
24
- - `.cursor-grab` - a cursor which shows that a user can grab an element
25
- - `.cursor-grabbing` - a cursor which shows that a user is grabbing an element
26
-
27
- ```html
28
- <div class="cursor-auto">auto</div>
29
- <div class="cursor-pointer">pointer</div>
30
- <div class="cursor-move">move</div>
31
- <div class="cursor-not-allowed">not-allowed</div>
32
- <div class="cursor-zoom-in">zoom-in</div>
33
- <div class="cursor-zoom-out">zoom-out</div>
34
- <div class="cursor-default">default</div>
35
- <div class="cursor-none">none</div>
36
- <div class="cursor-help">help</div>
37
- <div class="cursor-progress">progress</div>
38
- <div class="cursor-wait">wait</div>
39
- <div class="cursor-text">text</div>
40
- <div class="cursor-v-text">vertical-text</div>
41
- <div class="cursor-grab">grab</div>
42
- <div class="cursor-grabbing">grabbing</div>
43
- ```
44
-
45
- The results can be seen in the example below.
46
-
47
- ```html example height="20rem" separated centered
48
- <div class="cursor-auto bg-light p-3">auto</div>
49
- <div class="cursor-pointer bg-light p-3">pointer</div>
50
- <div class="cursor-move bg-light p-3">move</div>
51
- <div class="cursor-not-allowed bg-light p-3">not-allowed</div>
52
- <div class="cursor-zoom-in bg-light p-3">zoom-in</div>
53
- <div class="cursor-zoom-out bg-light p-3">zoom-out</div>
54
- <div class="cursor-default bg-light p-3">default</div>
55
- <div class="cursor-none bg-light p-3">none</div>
56
- <div class="cursor-help bg-light p-3">help</div>
57
- <div class="cursor-progress bg-light p-3">progress</div>
58
- <div class="cursor-wait bg-light p-3">wait</div>
59
- <div class="cursor-text bg-light p-3">text</div>
60
- <div class="cursor-v-text bg-light p-3">vertical-text</div>
61
- <div class="cursor-grab bg-light p-3">grab</div>
62
- <div class="cursor-grabbing bg-light p-3">grabbing</div>
63
- ```
@@ -1,5 +0,0 @@
1
- ---
2
- title: Utilities
3
- order: 6
4
- description: Helper classes for layout and design.
5
- ---
@@ -1,26 +0,0 @@
1
- ---
2
- title: Interactions
3
- summary: Utility classes that change how users interact with contents of a website.
4
- description: Modify user interactions efficiently.
5
- ---
6
-
7
- ## Text selection
8
-
9
- Change the way in which the content is selected when the user interacts with it.
10
-
11
- ```html example columns={1} centered separated
12
- <p class="user-select-all">This paragraph will be entirely selected when clicked by the user.</p>
13
- <p class="user-select-auto">This paragraph has default select behavior.</p>
14
- <p class="user-select-none">This paragraph will not be selectable when clicked by the user.</p>
15
- ```
16
-
17
- ## Pointer events
18
-
19
- Tabler provides `.pe-none` and `.pe-auto` classes to prevent or add element interactions.
20
-
21
- ```html example columns={1} centered separated
22
- <p>
23
- <a href="#" class="pe-none" tabindex="-1" aria-disabled="true">This link</a> can not be clicked.
24
- </p>
25
- <p><a href="#" class="pe-auto">This link</a> can be clicked (this is default behavior).</p>
26
- ```
@@ -1,234 +0,0 @@
1
- ---
2
- title: Margins
3
- summary: Use margin utilities to control the space between elements.
4
- description: Control the space between elements with margin utilities.
5
- ---
6
-
7
- Margin utilities allow you to control the space between elements, providing flexibility to suit different design needs. These utilities are especially useful for creating spacing between components or aligning them consistently. Below are examples of how to use margin utilities for various directions and sizes.
8
-
9
-
10
- ### Margin size
11
-
12
- In the table below you can see the available margin sizes.
13
-
14
- Name|Value
15
- -|-
16
- 0|0
17
- 1|0.25rem
18
- 2|0.5rem
19
- 3|1rem
20
- 4|1.5rem
21
- 5|2rem
22
- 6|3rem
23
- 7|5rem
24
- 8|8rem
25
-
26
-
27
- ### Margin
28
-
29
- Use the `.m-*` utilities to control the margin of an element. Margin utilities are used to create consistent spacing around an element, ensuring that the layout is visually balanced.
30
-
31
- ```html example hide-code centered separated vertical
32
- <div class="d-flex">
33
- <div class="bg-purple-lt">
34
- <div class="px-3 py-2 m-0 bg-purple rounded text-white font-monospace">.m-0</div>
35
- </div>
36
- </div>
37
- <div class="d-flex">
38
- <div class="bg-purple-lt">
39
- <div class="px-3 py-2 m-4 bg-purple rounded text-white font-monospace">.m-4</div>
40
- </div>
41
- </div>
42
- <div class="d-flex">
43
- <div class="bg-purple-lt">
44
- <div class="px-3 py-2 m-8 bg-purple rounded text-white font-monospace">.m-8</div>
45
- </div>
46
- </div>
47
- ```
48
-
49
- ### Start margin
50
-
51
- Start margins control the spacing to the left of an element, helping to create consistent horizontal gaps between elements. Start margin class names are prefixed with `ms-`.
52
-
53
- ```html
54
- <div class="ms-4">...</div>
55
- ```
56
-
57
- ```html example hide-code centered separated vertical
58
- <div class="d-flex">
59
- <div class="bg-red-lt">
60
- <div class="px-3 py-2 ms-0 bg-red rounded text-white font-monospace">.ms-0</div>
61
- </div>
62
- </div>
63
- <div class="d-flex">
64
- <div class="bg-red-lt">
65
- <div class="px-3 py-2 ms-4 bg-red rounded text-white font-monospace">.ms-4</div>
66
- </div>
67
- </div>
68
- <div class="d-flex">
69
- <div class="bg-red-lt">
70
- <div class="px-3 py-2 ms-8 bg-red rounded text-white font-monospace">.ms-8</div>
71
- </div>
72
- </div>
73
- ```
74
-
75
- ### End margin
76
-
77
- End margins control the spacing on the right side of an element. These utilities are helpful for creating visual separation between elements that flow horizontally. End margin class names are prefixed with `me-`.
78
-
79
- ```html
80
- <div class="me-4">...</div>
81
- ```
82
-
83
- ```html example hide-code centered separated vertical
84
- <div class="d-flex">
85
- <div class="bg-orange-lt">
86
- <div class="px-3 py-2 ms-0 bg-orange rounded text-white font-monospace">.me-0</div>
87
- </div>
88
- </div>
89
- <div class="d-flex">
90
- <div class="bg-orange-lt">
91
- <div class="px-3 py-2 me-4 bg-orange rounded text-white font-monospace">.me-4</div>
92
- </div>
93
- </div>
94
- <div class="d-flex">
95
- <div class="bg-orange-lt">
96
- <div class="px-3 py-2 me-8 bg-orange rounded text-white font-monospace">.me-8</div>
97
- </div>
98
- </div>
99
- ```
100
-
101
- ### Top margin
102
-
103
- Top margins define the spacing above an element. This is useful for separating stacked components or creating vertical spacing between sections. Top margin class names are prefixed with `mt-`.
104
-
105
- ```html
106
- <div class="mt-4">...</div>
107
- ```
108
-
109
- ```html example hide-code centered separated vertical
110
- <div class="d-flex">
111
- <div class="bg-yellow-lt">
112
- <div class="px-3 py-2 mt-0 bg-yellow rounded text-white font-monospace">.mt-0</div>
113
- </div>
114
- </div>
115
- <div class="d-flex">
116
- <div class="bg-yellow-lt">
117
- <div class="px-3 py-2 mt-4 bg-yellow rounded text-white font-monospace">.mt-4</div>
118
- </div>
119
- </div>
120
- <div class="d-flex">
121
- <div class="bg-yellow-lt">
122
- <div class="px-3 py-2 mt-8 bg-yellow rounded text-white font-monospace">.mt-8</div>
123
- </div>
124
- </div>
125
- ```
126
-
127
- ### Bottom margin
128
-
129
- Bottom margins control the spacing below an element, helping to create consistent vertical gaps between stacked elements. Bottom margin class names are prefixed with `mb-`.
130
-
131
- ```html
132
- <div class="mb-4">...</div>
133
- ```
134
-
135
- ```html example hide-code centered separated vertical
136
- <div class="d-flex">
137
- <div class="bg-lime-lt">
138
- <div class="px-3 py-2 mb-0 bg-lime rounded text-white font-monospace">.mb-0</div>
139
- </div>
140
- </div>
141
- <div class="d-flex">
142
- <div class="bg-lime-lt">
143
- <div class="px-3 py-2 mb-4 bg-lime rounded text-white font-monospace">.mb-4</div>
144
- </div>
145
- </div>
146
- <div class="d-flex">
147
- <div class="bg-lime-lt">
148
- <div class="px-3 py-2 mb-8 bg-lime rounded text-white font-monospace">.mb-8</div>
149
- </div>
150
- </div>
151
- ```
152
-
153
- ### Horizontal margin
154
-
155
- Use the `mx-*` utilities to control the horizontal margin of an element. Horizontal margin utilities are used to create consistent spacing between elements that flow horizontally.
156
-
157
- ```html
158
- <div class="mx-4">...</div>
159
- ```
160
-
161
- ```html example hide-code centered separated vertical
162
- <div class="d-flex">
163
- <div class="bg-azure-lt">
164
- <div class="px-3 py-2 mx-0 bg-azure rounded text-white font-monospace">.mx-0</div>
165
- </div>
166
- </div>
167
- <div class="d-flex">
168
- <div class="bg-azure-lt">
169
- <div class="px-3 py-2 mx-4 bg-azure rounded text-white font-monospace">.mx-4</div>
170
- </div>
171
- </div>
172
- <div class="d-flex">
173
- <div class="bg-azure-lt">
174
- <div class="px-3 py-2 mx-8 bg-azure rounded text-white font-monospace">.mx-8</div>
175
- </div>
176
- </div>
177
- ```
178
-
179
-
180
- ### Vertical margin
181
-
182
- Use the `my-*` utilities to control the vertical margin of an element. Vertical margin utilities are used to create consistent spacing between elements that flow vertically.
183
-
184
- ```html
185
- <div class="my-4">...</div>
186
- ```
187
-
188
- ```html example hide-code centered separated vertical
189
- <div class="d-flex">
190
- <div class="bg-blue-lt">
191
- <div class="px-3 py-2 my-0 bg-blue rounded text-white font-monospace">.my-0</div>
192
- </div>
193
- </div>
194
- <div class="d-flex">
195
- <div class="bg-blue-lt">
196
- <div class="px-3 py-2 my-4 bg-blue rounded text-white font-monospace">.my-4</div>
197
- </div>
198
- </div>
199
- <div class="d-flex">
200
- <div class="bg-blue-lt">
201
- <div class="px-3 py-2 my-8 bg-blue rounded text-white font-monospace">.my-8</div>
202
- </div>
203
- </div>
204
- ```
205
-
206
- ## Horizontal centering
207
-
208
- Additionally, Tabler also includes an `.mx-auto` class for horizontally centering fixed-width block level content — that is, content that has `display: block` and a width set — by setting the horizontal margins to `auto`.
209
-
210
- ```html
211
- <div class="mx-auto">...</div>
212
- ```
213
-
214
- ```html example hide-code centered vertical
215
- <div class="bg-teal-lt w-100 d-flex">
216
- <div class="px-3 py-2 mx-auto bg-teal rounded text-white font-monospace">.mx-auto</div>
217
- </div>
218
- ```
219
-
220
- ## Gap
221
-
222
- Use the `.gap-*` utilities to control the space between elements in a grid layout. The gap utilities are used to create consistent spacing between grid items, ensuring that the layout is visually balanced.
223
-
224
- ```html
225
- <div class="d-grid gap-6">...</div>
226
- ```
227
-
228
- ```html example
229
- <div class="d-grid gap-6 bg-indigo-lt">
230
- <div class="px-3 py-2 bg-indigo text-white rounded">Grid item 1</div>
231
- <div class="px-3 py-2 bg-indigo text-white rounded">Grid item 2</div>
232
- <div class="px-3 py-2 bg-indigo text-white rounded">Grid item 3</div>
233
- </div>
234
- ```
@@ -1,66 +0,0 @@
1
- ---
2
- title: Vertical align
3
- description: Quickly and easily align elements vertically with utility classes.
4
- summary: Easily modify the vertical alignment of elements such as inline, inline-block, inline-table, and table-cell to ensure proper positioning and alignment within their parent containers, allowing for more precise control over your layout and design.
5
- ---
6
-
7
- Choose from `.align-baseline`, `.align-top`, `.align-middle`, `.align-bottom`, `.align-text-bottom`, and `.align-text-top` as needed.
8
-
9
- ## Inline elements
10
-
11
- Use vertical alignment utilities to align inline-level elements relative to their surrounding text or baseline. These classes are particularly useful for aligning small inline elements like icons or badges alongside text.
12
-
13
- ```html
14
- <span class="align-baseline">baseline</span>
15
- <span class="align-top">top</span>
16
- <span class="align-middle">middle</span>
17
- <span class="align-bottom">bottom</span>
18
- <span class="align-text-top">text-top</span>
19
- <span class="align-text-bottom">text-bottom</span>
20
- ```
21
-
22
- ```html example centered
23
- <div>
24
- <span class="align-baseline">baseline</span>
25
- <span class="align-top">top</span>
26
- <span class="align-middle">middle</span>
27
- <span class="align-bottom">bottom</span>
28
- <span class="align-text-top">text-top</span>
29
- <span class="align-text-bottom">text-bottom</span>
30
- </div>
31
- ```
32
-
33
- ## Table cells
34
-
35
- Vertical alignment utilities are also applicable to table cells, allowing you to control the alignment of content within a cell. This is especially useful for creating well-structured and visually appealing tables where the content aligns consistently across rows and columns.
36
-
37
-
38
- ```html
39
- <table>
40
- <tbody>
41
- <tr>
42
- <td class="align-baseline">baseline</td>
43
- <td class="align-top">top</td>
44
- <td class="align-middle">middle</td>
45
- <td class="align-bottom">bottom</td>
46
- <td class="align-text-top">text-top</td>
47
- <td class="align-text-bottom">text-bottom</td>
48
- </tr>
49
- </tbody>
50
- </table>
51
- ```
52
-
53
- ```html example
54
- <table style="height: 100px">
55
- <tbody>
56
- <tr>
57
- <td class="align-baseline">baseline</td>
58
- <td class="align-top">top</td>
59
- <td class="align-middle">middle</td>
60
- <td class="align-bottom">bottom</td>
61
- <td class="align-text-top">text-top</td>
62
- <td class="align-text-bottom">text-bottom</td>
63
- </tr>
64
- </tbody>
65
- </table>
66
- ```
@@ -1,12 +0,0 @@
1
- ---
2
- title: Visually hidden
3
- summary: Use these helpers to visually hide elements but keep them accessible to assistive technologies.
4
- ---
5
-
6
- Visually hide an element while still allowing it to be exposed to assistive technologies (such as screen readers) with `.visually-hidden`. Use `.visually-hidden-focusable` to visually hide an element by default, but to display it when it's focused (e.g. by a keyboard-only user). `.visually-hidden-focusable` can also be applied to a container – thanks to `:focus-within`, the container will be displayed when any child element of the container receives focus.
7
-
8
- ```html
9
- <h2 class="visually-hidden">Title for screen readers</h2>
10
- <a class="visually-hidden-focusable" href="#content">Skip to main content</a>
11
- <div class="visually-hidden-focusable">A container with a <a href="#">focusable element</a>.</div>
12
- ```
package/js/tabler.umd.js DELETED
@@ -1,15 +0,0 @@
1
- import "./src/autosize"
2
- import "./src/countup"
3
- import "./src/input-mask"
4
- import "./src/dropdown"
5
- import "./src/tooltip"
6
- import "./src/popover"
7
- import "./src/switch-icon"
8
- import "./src/tab"
9
- import "./src/toast"
10
-
11
- import * as bootstrap from "bootstrap"
12
- import * as tabler from "./src/tabler"
13
-
14
- globalThis.bootstrap = bootstrap
15
- globalThis.tabler = tabler