@tabler/core 1.0.0-beta23 → 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.
- package/LICENSE +1 -1
- package/dist/css/demo.css +2 -2
- package/dist/css/demo.min.css +2 -2
- package/dist/css/demo.rtl.css +2 -2
- package/dist/css/demo.rtl.min.css +2 -2
- package/dist/css/tabler-flags.css +2 -2
- package/dist/css/tabler-flags.min.css +2 -2
- package/dist/css/tabler-flags.rtl.css +2 -2
- package/dist/css/tabler-flags.rtl.min.css +2 -2
- package/dist/css/tabler-marketing.css +4751 -0
- package/dist/css/tabler-marketing.min.css +9 -0
- package/dist/css/tabler-marketing.rtl.css +4751 -0
- package/dist/css/tabler-marketing.rtl.min.css +9 -0
- package/dist/css/tabler-payments.css +2 -2
- package/dist/css/tabler-payments.min.css +2 -2
- package/dist/css/tabler-payments.rtl.css +2 -2
- package/dist/css/tabler-payments.rtl.min.css +2 -2
- package/dist/css/tabler-socials.css +2 -2
- package/dist/css/tabler-socials.min.css +2 -2
- package/dist/css/tabler-socials.rtl.css +2 -2
- package/dist/css/tabler-socials.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.css +23 -18
- package/dist/css/tabler-vendors.min.css +3 -3
- package/dist/css/tabler-vendors.rtl.css +23 -18
- package/dist/css/tabler-vendors.rtl.min.css +3 -3
- package/dist/css/tabler.css +1296 -1505
- package/dist/css/tabler.min.css +4 -4
- package/dist/css/tabler.rtl.css +1296 -1505
- package/dist/css/tabler.rtl.min.css +4 -4
- package/dist/js/demo-theme.js +2 -2
- package/dist/js/demo-theme.min.js +2 -2
- package/dist/js/demo.js +2 -2
- package/dist/js/demo.min.js +2 -2
- package/dist/js/tabler.esm.js +2 -2
- package/dist/js/tabler.esm.min.js +2 -2
- package/dist/js/tabler.js +2 -2
- package/dist/js/tabler.min.js +2 -2
- package/docs/illustrations/introduction/contents.mdx +77 -0
- package/docs/illustrations/introduction/customization.mdx +0 -11
- package/docs/illustrations/introduction/license.mdx +22 -0
- package/docs/ui/components/alerts.mdx +38 -114
- package/docs/ui/components/badges.mdx +57 -75
- package/docs/ui/components/charts.mdx +13 -23
- package/docs/ui/components/countup.mdx +73 -43
- package/docs/ui/components/dropzone.mdx +37 -6
- package/docs/ui/components/icons.mdx +49 -11
- package/docs/ui/components/inline-player.mdx +28 -2
- package/docs/ui/components/modals.mdx +40 -10
- package/docs/ui/components/offcanvas.mdx +55 -0
- package/docs/ui/components/placeholder.mdx +16 -17
- package/docs/ui/components/range-slider.mdx +0 -1
- package/docs/ui/components/statuses.mdx +12 -0
- package/docs/ui/components/steps.mdx +59 -17
- package/docs/ui/components/tinymce.mdx +0 -1
- package/docs/ui/components/vector-maps.mdx +170 -0
- package/docs/ui/forms/form-elements.mdx +0 -1
- package/docs/ui/getting-started/browser-support.mdx +8 -2
- package/docs/ui/getting-started/how-to-contribute.mdx +96 -0
- package/docs/ui/getting-started/installation.mdx +67 -0
- package/docs/ui/getting-started/license.mdx +30 -0
- package/docs/ui/layout/navbars.mdx +106 -0
- package/docs/ui/layout/navs-tabls.mdx +187 -0
- package/docs/ui/layout/page-layouts.mdx +8 -5
- package/docs/ui/utilities/borders.mdx +67 -48
- package/docs/ui/utilities/cursors.mdx +20 -50
- package/docs/ui/utilities/interactions.mdx +2 -2
- package/docs/ui/utilities/margins.mdx +234 -0
- package/docs/ui/utilities/vertical-align.mdx +66 -0
- package/docs/ui/utilities/visually-hidden.mdx +12 -0
- package/package.json +7 -5
- package/src/scss/_utilities-marketing.scss +209 -0
- package/src/scss/_utilities.scss +5 -9
- package/src/scss/_variables-marketing.scss +0 -0
- package/src/scss/_variables.scss +55 -18
- package/src/scss/layout/_animations.scss +2 -1
- package/src/scss/layout/_navbar.scss +0 -1
- package/src/scss/marketing/_browser.scss +67 -0
- package/src/scss/marketing/_core.scss +8 -0
- package/src/scss/marketing/_filters.scss +0 -0
- package/src/scss/marketing/_hero.scss +69 -0
- package/src/scss/marketing/_pricing.scss +111 -0
- package/src/scss/marketing/_sections.scss +124 -0
- package/src/scss/marketing/_shape.scss +31 -0
- package/src/scss/mixins/_mixins.scss +2 -2
- package/src/scss/tabler-marketing.scss +13 -0
- package/src/scss/tabler-vendors.scss +1 -0
- package/src/scss/ui/_buttons.scss +7 -7
- package/src/scss/ui/_images.scss +4 -0
- package/src/scss/ui/_lists.scss +11 -15
- package/src/scss/utils/_colors.scss +1 -1
- package/src/scss/vendor/_dropzone.scss +3 -3
- package/src/scss/vendor/_typed.scss +4 -0
- package/docs/ui/getting-started/development.mdx +0 -32
|
@@ -0,0 +1,234 @@
|
|
|
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 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
|
+
```
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tabler/core",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta24",
|
|
4
4
|
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
|
|
5
5
|
"homepage": "https://tabler.io",
|
|
6
6
|
"scripts": {
|
|
@@ -106,11 +106,11 @@
|
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"path": "./dist/css/tabler-vendors.css",
|
|
109
|
-
"maxSize": "7 kB"
|
|
109
|
+
"maxSize": "7.5 kB"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"path": "./dist/css/tabler-vendors.min.css",
|
|
113
|
-
"maxSize": "6 kB"
|
|
113
|
+
"maxSize": "6.5 kB"
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"path": "./dist/js/tabler.js",
|
|
@@ -166,6 +166,7 @@
|
|
|
166
166
|
"gulp-terser": "^2.1.0",
|
|
167
167
|
"imageoptim-cli": "^3.1.9",
|
|
168
168
|
"imask": "^7.6.1",
|
|
169
|
+
"js-beautify": "^1.15.1",
|
|
169
170
|
"jsvectormap": "^1.6.0",
|
|
170
171
|
"list.js": "^2.3.1",
|
|
171
172
|
"litepicker": "^2.0.12",
|
|
@@ -173,7 +174,6 @@
|
|
|
173
174
|
"plyr": "^3.7.8",
|
|
174
175
|
"postcss": "^8.4.49",
|
|
175
176
|
"prettier": "^2.8.8",
|
|
176
|
-
"js-beautify": "^1.15.1",
|
|
177
177
|
"release-it": "^15.11.0",
|
|
178
178
|
"request": "^2.88.2",
|
|
179
179
|
"rollup": "2.79.2",
|
|
@@ -183,6 +183,7 @@
|
|
|
183
183
|
"star-rating.js": "^4.3.1",
|
|
184
184
|
"tinymce": "^7.5.1",
|
|
185
185
|
"tom-select": "^2.4.1",
|
|
186
|
+
"typed.js": "^2.1.0",
|
|
186
187
|
"vinyl-buffer": "^1.0.1",
|
|
187
188
|
"vinyl-source-stream": "^2.0.0",
|
|
188
189
|
"yaml": "^2.6.1",
|
|
@@ -211,7 +212,8 @@
|
|
|
211
212
|
"plyr": "^3.7.8",
|
|
212
213
|
"star-rating.js": "^4.3.0",
|
|
213
214
|
"tinymce": "^6.4.2 || ^7.0.0",
|
|
214
|
-
"tom-select": "^2.2.2"
|
|
215
|
+
"tom-select": "^2.2.2",
|
|
216
|
+
"typed.js": "^2.1.0"
|
|
215
217
|
},
|
|
216
218
|
"peerDependenciesMeta": {
|
|
217
219
|
"@melloware/coloris": {
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
$negative-spacers-extra: if(
|
|
2
|
+
$enable-negative-margins,
|
|
3
|
+
negativify-map(map-merge($spacers, $spacers-extra)),
|
|
4
|
+
null
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
$utilities: (
|
|
8
|
+
// Margin utilities
|
|
9
|
+
"margin":
|
|
10
|
+
(
|
|
11
|
+
responsive: true,
|
|
12
|
+
property: margin,
|
|
13
|
+
class: m,
|
|
14
|
+
values: $spacers-extra,
|
|
15
|
+
),
|
|
16
|
+
"margin-x": (
|
|
17
|
+
responsive: true,
|
|
18
|
+
property: margin-right margin-left,
|
|
19
|
+
class: mx,
|
|
20
|
+
values: $spacers-extra,
|
|
21
|
+
),
|
|
22
|
+
"margin-y": (
|
|
23
|
+
responsive: true,
|
|
24
|
+
property: margin-top margin-bottom,
|
|
25
|
+
class: my,
|
|
26
|
+
values: $spacers-extra,
|
|
27
|
+
),
|
|
28
|
+
"margin-top": (
|
|
29
|
+
responsive: true,
|
|
30
|
+
property: margin-top,
|
|
31
|
+
class: mt,
|
|
32
|
+
values: $spacers-extra,
|
|
33
|
+
),
|
|
34
|
+
"margin-end": (
|
|
35
|
+
responsive: true,
|
|
36
|
+
property: margin-right,
|
|
37
|
+
class: me,
|
|
38
|
+
values: $spacers-extra,
|
|
39
|
+
),
|
|
40
|
+
"margin-bottom": (
|
|
41
|
+
responsive: true,
|
|
42
|
+
property: margin-bottom,
|
|
43
|
+
class: mb,
|
|
44
|
+
values: $spacers-extra,
|
|
45
|
+
),
|
|
46
|
+
"margin-start": (
|
|
47
|
+
responsive: true,
|
|
48
|
+
property: margin-left,
|
|
49
|
+
class: ms,
|
|
50
|
+
values: $spacers-extra,
|
|
51
|
+
),
|
|
52
|
+
// Negative margin utilities
|
|
53
|
+
"negative-margin":
|
|
54
|
+
(
|
|
55
|
+
responsive: true,
|
|
56
|
+
property: margin,
|
|
57
|
+
class: m,
|
|
58
|
+
values: $negative-spacers-extra,
|
|
59
|
+
),
|
|
60
|
+
"negative-margin-x": (
|
|
61
|
+
responsive: true,
|
|
62
|
+
property: margin-right margin-left,
|
|
63
|
+
class: mx,
|
|
64
|
+
values: $negative-spacers-extra,
|
|
65
|
+
),
|
|
66
|
+
"negative-margin-y": (
|
|
67
|
+
responsive: true,
|
|
68
|
+
property: margin-top margin-bottom,
|
|
69
|
+
class: my,
|
|
70
|
+
values: $negative-spacers-extra,
|
|
71
|
+
),
|
|
72
|
+
"negative-margin-top": (
|
|
73
|
+
responsive: true,
|
|
74
|
+
property: margin-top,
|
|
75
|
+
class: mt,
|
|
76
|
+
values: $negative-spacers-extra,
|
|
77
|
+
),
|
|
78
|
+
"negative-margin-end": (
|
|
79
|
+
responsive: true,
|
|
80
|
+
property: margin-right,
|
|
81
|
+
class: me,
|
|
82
|
+
values: $negative-spacers-extra,
|
|
83
|
+
),
|
|
84
|
+
"negative-margin-bottom": (
|
|
85
|
+
responsive: true,
|
|
86
|
+
property: margin-bottom,
|
|
87
|
+
class: mb,
|
|
88
|
+
values: $negative-spacers-extra,
|
|
89
|
+
),
|
|
90
|
+
"negative-margin-start": (
|
|
91
|
+
responsive: true,
|
|
92
|
+
property: margin-left,
|
|
93
|
+
class: ms,
|
|
94
|
+
values: $negative-spacers-extra,
|
|
95
|
+
),
|
|
96
|
+
// Padding utilities
|
|
97
|
+
"padding":
|
|
98
|
+
(
|
|
99
|
+
responsive: true,
|
|
100
|
+
property: padding,
|
|
101
|
+
class: p,
|
|
102
|
+
values: $spacers-extra,
|
|
103
|
+
),
|
|
104
|
+
"padding-x": (
|
|
105
|
+
responsive: true,
|
|
106
|
+
property: padding-right padding-left,
|
|
107
|
+
class: px,
|
|
108
|
+
values: $spacers-extra,
|
|
109
|
+
),
|
|
110
|
+
"padding-y": (
|
|
111
|
+
responsive: true,
|
|
112
|
+
property: padding-top padding-bottom,
|
|
113
|
+
class: py,
|
|
114
|
+
values: $spacers-extra,
|
|
115
|
+
),
|
|
116
|
+
"padding-top": (
|
|
117
|
+
responsive: true,
|
|
118
|
+
property: padding-top,
|
|
119
|
+
class: pt,
|
|
120
|
+
values: $spacers-extra,
|
|
121
|
+
),
|
|
122
|
+
"padding-end": (
|
|
123
|
+
responsive: true,
|
|
124
|
+
property: padding-right,
|
|
125
|
+
class: pe,
|
|
126
|
+
values: $spacers-extra,
|
|
127
|
+
),
|
|
128
|
+
"padding-bottom": (
|
|
129
|
+
responsive: true,
|
|
130
|
+
property: padding-bottom,
|
|
131
|
+
class: pb,
|
|
132
|
+
values: $spacers-extra,
|
|
133
|
+
),
|
|
134
|
+
"padding-start": (
|
|
135
|
+
responsive: true,
|
|
136
|
+
property: padding-left,
|
|
137
|
+
class: ps,
|
|
138
|
+
values: $spacers-extra,
|
|
139
|
+
),
|
|
140
|
+
// Gap utility
|
|
141
|
+
"gap":
|
|
142
|
+
(
|
|
143
|
+
responsive: true,
|
|
144
|
+
property: gap,
|
|
145
|
+
class: gap,
|
|
146
|
+
values: $spacers-extra,
|
|
147
|
+
),
|
|
148
|
+
"row-gap": (
|
|
149
|
+
responsive: true,
|
|
150
|
+
property: row-gap,
|
|
151
|
+
class: row-gap,
|
|
152
|
+
values: $spacers-extra,
|
|
153
|
+
),
|
|
154
|
+
"column-gap": (
|
|
155
|
+
responsive: true,
|
|
156
|
+
property: column-gap,
|
|
157
|
+
class: column-gap,
|
|
158
|
+
values: $spacers-extra,
|
|
159
|
+
),
|
|
160
|
+
// Letter spacing
|
|
161
|
+
"spacing":
|
|
162
|
+
(
|
|
163
|
+
property: letter-spacing,
|
|
164
|
+
class: tracking,
|
|
165
|
+
values: (
|
|
166
|
+
tight: $spacing-tight,
|
|
167
|
+
normal: $spacing-normal,
|
|
168
|
+
wide: $spacing-wide,
|
|
169
|
+
),
|
|
170
|
+
),
|
|
171
|
+
"width": (
|
|
172
|
+
property: width,
|
|
173
|
+
class: w,
|
|
174
|
+
values: $spacers-extra,
|
|
175
|
+
),
|
|
176
|
+
"height": (
|
|
177
|
+
property: height,
|
|
178
|
+
class: h,
|
|
179
|
+
values: $spacers-extra,
|
|
180
|
+
),
|
|
181
|
+
"filter": (
|
|
182
|
+
property: filter,
|
|
183
|
+
class: filter,
|
|
184
|
+
values: (
|
|
185
|
+
grayscale: grayscale(100%),
|
|
186
|
+
),
|
|
187
|
+
),
|
|
188
|
+
"gutter-x": (
|
|
189
|
+
responsive: true,
|
|
190
|
+
css-var: true,
|
|
191
|
+
css-variable-name: gutter-x,
|
|
192
|
+
class: gx,
|
|
193
|
+
values: $spacers-extra,
|
|
194
|
+
),
|
|
195
|
+
"gutter-y": (
|
|
196
|
+
responsive: true,
|
|
197
|
+
css-var: true,
|
|
198
|
+
css-variable-name: gutter-y,
|
|
199
|
+
class: gy,
|
|
200
|
+
values: $spacers-extra,
|
|
201
|
+
),
|
|
202
|
+
"gutter": (
|
|
203
|
+
responsive: true,
|
|
204
|
+
css-var: true,
|
|
205
|
+
css-variable-name: gutter-x,
|
|
206
|
+
class: g,
|
|
207
|
+
values: $spacers-extra,
|
|
208
|
+
)
|
|
209
|
+
);
|
package/src/scss/_utilities.scss
CHANGED
|
@@ -6,6 +6,11 @@ $border-values: (
|
|
|
6
6
|
0: 0,
|
|
7
7
|
);
|
|
8
8
|
|
|
9
|
+
$utilities-border-colors: map-loop((
|
|
10
|
+
"red": red,
|
|
11
|
+
"green": green,
|
|
12
|
+
), rgba-css-var, "$key", "border") !default;
|
|
13
|
+
|
|
9
14
|
//Utilities
|
|
10
15
|
$utilities: (
|
|
11
16
|
"object": (
|
|
@@ -19,15 +24,6 @@ $utilities: (
|
|
|
19
24
|
none: none,
|
|
20
25
|
),
|
|
21
26
|
),
|
|
22
|
-
"spacing": (
|
|
23
|
-
property: letter-spacing,
|
|
24
|
-
class: tracking,
|
|
25
|
-
values: (
|
|
26
|
-
tight: -0.05em,
|
|
27
|
-
normal: 0,
|
|
28
|
-
wide: 0.05em,
|
|
29
|
-
),
|
|
30
|
-
),
|
|
31
27
|
"cursor": (
|
|
32
28
|
property: cursor,
|
|
33
29
|
class: cursor,
|
|
File without changes
|