@voicenter-team/voicenter-ui-plus 3.3.2 → 3.3.4
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/README.md +502 -502
- package/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcSoundplayer/VcSoundPlayerMarker.css +1 -0
- package/library/assets/components/VcSoundplayer/VcSoundPlayerProgress.css +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +54 -14
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +131 -0
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue3.mjs +5 -0
- package/library/components/VcSoundplayer/VcSoundPlayerMarkers.vue.mjs +49 -0
- package/library/components/VcSoundplayer/VcSoundPlayerMarkers.vue2.mjs +4 -0
- package/library/components/VcSoundplayer/VcSoundPlayerProgress.vue.mjs +13 -3
- package/library/components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs +17 -1
- package/library/index.mjs +53 -48
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/plugin-components.gen.mjs +47 -42
- package/library/plugin.mjs +53 -48
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +4 -2
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/types/components/VcModal/VcModal.vue.d.ts +1 -1
- package/library/types/components/VcNotification/VcNotification.vue.d.ts +1 -1
- package/library/types/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +3 -3
- package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +43 -3
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +95 -0
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarkers.vue.d.ts +52 -0
- package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +10 -2
- package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +2 -0
- package/library/types/components/VcSoundplayer/soundPlayerParts.d.ts +3 -1
- package/library/types/components/exports.d.ts +5 -1
- package/library/types/components.gen.d.ts +2 -0
- package/library/types/types/VcSoundPlayer.types.d.ts +36 -1
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/package.json +185 -169
- package/tailwind.config.js +192 -192
package/tailwind.config.js
CHANGED
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
const schemeColors = require('./src/theme/tailwindScheme.js')
|
|
2
|
-
|
|
3
|
-
/** @type {import('tailwindcss').Config} */
|
|
4
|
-
module.exports = {
|
|
5
|
-
content: [ './src/**/*.{vue,js,ts,scss}', './documentation/**/*.{vue,scss}' ],
|
|
6
|
-
plugins: [
|
|
7
|
-
require('tailwindcss/plugin')(({ addUtilities }) => {
|
|
8
|
-
addUtilities({
|
|
9
|
-
'.justify-normal': {
|
|
10
|
-
justifyContent: 'normal'
|
|
11
|
-
}
|
|
12
|
-
})
|
|
13
|
-
})
|
|
14
|
-
],
|
|
15
|
-
theme: {
|
|
16
|
-
fontFamily: {
|
|
17
|
-
main: [ 'Rubik', 'system-ui', 'sans-serif' ],
|
|
18
|
-
rubik: [ 'Rubik', 'system-ui', 'sans-serif' ],
|
|
19
|
-
// Deprecated aliases — Rubik replaced both Inter (latin) and Heebo
|
|
20
|
-
// (hebrew), but `font-inter`/`font-heebo` are still used in consumer
|
|
21
|
-
// projects. Kept pointing at Rubik so those classes keep working;
|
|
22
|
-
// remove in the next major once consumers migrate to `font-rubik`.
|
|
23
|
-
heebo: [ 'Rubik', 'system-ui', 'sans-serif' ],
|
|
24
|
-
inter: [ 'Rubik', 'system-ui', 'sans-serif' ]
|
|
25
|
-
},
|
|
26
|
-
screens: {
|
|
27
|
-
sm: '680px',
|
|
28
|
-
md: '960px',
|
|
29
|
-
lg: '1264px',
|
|
30
|
-
xl: '1680px',
|
|
31
|
-
xxl: '1900px'
|
|
32
|
-
},
|
|
33
|
-
colors: schemeColors,
|
|
34
|
-
borderColor: schemeColors,
|
|
35
|
-
backgroundColor: schemeColors,
|
|
36
|
-
boxShadow: {
|
|
37
|
-
none: 'none',
|
|
38
|
-
card: '0px 0px 5px var(--card-shadow-color)',
|
|
39
|
-
'card-no-active': '0px 0px 5px var(--inactive-elements)',
|
|
40
|
-
'table-header': '0 1px 0 0 var(--table-shadow-color)',
|
|
41
|
-
'focus-outer': '0 0 3px var(--active-elements--pressed)',
|
|
42
|
-
'focus-outer-off': '0 0 3px var(--inactive-elements--pressed)',
|
|
43
|
-
'focus-outer-primary': '0 0 3px var(--primary-actions--pressed)',
|
|
44
|
-
'focus-outer-secondary': '0 0 3px var(--secondary-actions--pressed)',
|
|
45
|
-
'focus-outer-destructive': '0 0 3px var(--destructive-actions--pressed)',
|
|
46
|
-
'focus-outer-success': '0 0 3px var(--success-actions--pressed)',
|
|
47
|
-
'focus-outer-warning': '0 0 3px var(--warning-actions--pressed)',
|
|
48
|
-
'focus-inner': 'inset 0 0 3px var(--active-elements--pressed)',
|
|
49
|
-
focus: '0 0 3px var(--active-elements--pressed), inset 0 0px 3px var(--active-elements--pressed)',
|
|
50
|
-
hover: '0 0 3px var(--active-elements--focus), inset 0 0px 3px var(--active-elements--focus)',
|
|
51
|
-
'focus-primary': '0 0 3px var(--primary-actions--pressed), inset 0 0px 3px var(--primary-actions--pressed)',
|
|
52
|
-
'hover-primary': '0 0 3px var(--primary-actions--focus), inset 0 0px 3px var(--primary-actions--focus)',
|
|
53
|
-
'focus-secondary': '0 0 3px var(--secondary-actions--pressed), inset 0 0px 3px var(--secondary-actions--pressed)',
|
|
54
|
-
'hover-secondary': '0 0 3px var(--secondary-actions--focus), inset 0 0px 3px var(--secondary-actions--focus)',
|
|
55
|
-
'focus-destructive': '0 0 3px var(--destructive-actions--pressed), inset 0 0px 3px var(--destructive-actions--pressed)',
|
|
56
|
-
'hover-destructive': '0 0 3px var(--destructive-actions--focus), inset 0 0px 3px var(--destructive-actions--focus)',
|
|
57
|
-
'focus-success': '0 0 3px var(--success-actions--pressed), inset 0 0px 3px var(--success-actions--pressed)',
|
|
58
|
-
'hover-success': '0 0 3px var(--success-actions--focus), inset 0 0px 3px var(--success-actions--focus)',
|
|
59
|
-
'focus-warning': '0 0 3px var(--warning-actions--pressed), inset 0 0px 3px var(--warning-actions--pressed)',
|
|
60
|
-
'hover-warning': '0 0 3px var(--warning-actions--focus), inset 0 0px 3px var(--warning-actions--focus)',
|
|
61
|
-
'hover-inner': 'inset 0 0 3px var(--active-elements--focus)',
|
|
62
|
-
'hover-outer': '0 0 3px var(--active-elements--focus)',
|
|
63
|
-
'hover-outer-off': '0 0 3px var(--inactive-elements--focus)',
|
|
64
|
-
'hover-outer-active': '0 0 3px var(--active-elements--focus)',
|
|
65
|
-
'hover-outer-primary': '0 0 3px var(--primary-actions--focus)',
|
|
66
|
-
'hover-outer-primary-alternative': '0 0 3px var(--primary-alternative-actions--focus)',
|
|
67
|
-
'hover-outer-secondary': '0 0 3px var(--secondary-actions--focus)',
|
|
68
|
-
'hover-outer-destructive': '0 0 3px var(--destructive-actions--focus)',
|
|
69
|
-
'hover-outer-success': '0 0 3px var(--success-actions--focus)',
|
|
70
|
-
'hover-outer-warning': '0 0 3px var(--warning-actions--focus)',
|
|
71
|
-
'view-switcher': '0px 0px 4px var(--overlay-bg)',
|
|
72
|
-
'vertical-tab-scroll': 'inset 0 0 8px (--light-bg)',
|
|
73
|
-
'vertical-tab-item': '0 1px 6px var(--card-shadow-color)',
|
|
74
|
-
'vertical-tab-item-hover': '0 1px 6px var(--active-elements--focus)',
|
|
75
|
-
table: '0px 0px 5px var(--card-shadow-color)',
|
|
76
|
-
'table-row': '0 10px 10px -12px var(--table-shadow-color)'
|
|
77
|
-
},
|
|
78
|
-
fontSize: {
|
|
79
|
-
xxs: '0.65rem',
|
|
80
|
-
xs: '0.75rem',
|
|
81
|
-
sm: '0.875rem',
|
|
82
|
-
base: '1rem',
|
|
83
|
-
lg: '1.125rem',
|
|
84
|
-
xl: '1.25rem',
|
|
85
|
-
'2xl': '1.5rem',
|
|
86
|
-
'3xl': '2rem',
|
|
87
|
-
'4xl': '2.25rem',
|
|
88
|
-
'5xl': '2.5rem',
|
|
89
|
-
'6xl': '3rem'
|
|
90
|
-
},
|
|
91
|
-
fill: schemeColors,
|
|
92
|
-
stroke: {
|
|
93
|
-
'active-elements': 'var(--active-elements)',
|
|
94
|
-
current: 'currentColor'
|
|
95
|
-
},
|
|
96
|
-
borderRadius: {
|
|
97
|
-
none: '0',
|
|
98
|
-
xs: '0.125rem',
|
|
99
|
-
sm: '0.25rem',
|
|
100
|
-
md: '0.375rem',
|
|
101
|
-
lg: '0.5rem',
|
|
102
|
-
xl: '0.75rem',
|
|
103
|
-
xxl: '0.875rem',
|
|
104
|
-
full: '9999px',
|
|
105
|
-
tag: '2rem',
|
|
106
|
-
DEFAULT: '0.25rem',
|
|
107
|
-
'horizontal-tab-wrapper': '0px 6px 6px 6px',
|
|
108
|
-
'horizontal-tab-item': '6px 6px 0px 0px'
|
|
109
|
-
},
|
|
110
|
-
extend: {
|
|
111
|
-
inset: {
|
|
112
|
-
unset: 'unset'
|
|
113
|
-
},
|
|
114
|
-
minWidth: {
|
|
115
|
-
auto: 'auto',
|
|
116
|
-
xs: '20rem',
|
|
117
|
-
sm: '24rem',
|
|
118
|
-
md: '28rem',
|
|
119
|
-
lg: '32rem',
|
|
120
|
-
xl: '36rem',
|
|
121
|
-
'1/4': '25%',
|
|
122
|
-
'1/2': '50%',
|
|
123
|
-
'3/4': '75%',
|
|
124
|
-
screen: '100vw'
|
|
125
|
-
},
|
|
126
|
-
minHeight: {
|
|
127
|
-
2: '2rem',
|
|
128
|
-
5.5: '1.375rem',
|
|
129
|
-
6.5: '1.625rem',
|
|
130
|
-
8: '2rem',
|
|
131
|
-
screen: '100vh',
|
|
132
|
-
inherit: 'inherit'
|
|
133
|
-
},
|
|
134
|
-
maxWidth: {
|
|
135
|
-
'1/2': '50%',
|
|
136
|
-
screen: '100vw'
|
|
137
|
-
},
|
|
138
|
-
maxHeight: {
|
|
139
|
-
inherit: 'inherit'
|
|
140
|
-
},
|
|
141
|
-
height: {
|
|
142
|
-
0.5: '2px',
|
|
143
|
-
'fit-content': 'fit-content',
|
|
144
|
-
'modal-wizard': '680px'
|
|
145
|
-
},
|
|
146
|
-
spacing: {
|
|
147
|
-
15: '3.75rem',
|
|
148
|
-
unset: 'unset'
|
|
149
|
-
},
|
|
150
|
-
width: {},
|
|
151
|
-
lineHeight: {
|
|
152
|
-
'40px': '40px'
|
|
153
|
-
},
|
|
154
|
-
zIndex: {
|
|
155
|
-
1: 1,
|
|
156
|
-
5: 5
|
|
157
|
-
},
|
|
158
|
-
rotate: {
|
|
159
|
-
135: '135deg',
|
|
160
|
-
225: '225deg'
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
safelist: [
|
|
165
|
-
// Essential text sizes
|
|
166
|
-
{
|
|
167
|
-
pattern: /text-(xxs|xs|sm|base|lg|2xl|3xl|4xl|5xl|6xl)/,
|
|
168
|
-
variants: [ 'hover', 'focus' ]
|
|
169
|
-
},
|
|
170
|
-
// Essential fonts
|
|
171
|
-
{
|
|
172
|
-
pattern: /font-(main|heebo|inter)/,
|
|
173
|
-
},
|
|
174
|
-
// Essential color classes for dynamic theming
|
|
175
|
-
{
|
|
176
|
-
pattern: /text-(primary|primary-alternative|secondary|destructive|success|warning)-actions/,
|
|
177
|
-
variants: [ 'hover', 'focus' ]
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
pattern: /bg-(primary|primary-alternative|secondary|destructive|success|warning)-actions/,
|
|
181
|
-
variants: [ 'hover', 'focus' ]
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
pattern: /border-(primary|primary-alternative|secondary|destructive|success|warning)-actions/,
|
|
185
|
-
variants: [ 'hover', 'focus' ]
|
|
186
|
-
}
|
|
187
|
-
],
|
|
188
|
-
variants: {
|
|
189
|
-
backgroundColor: [ 'responsive', 'hover', 'focus', 'active' ]
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
1
|
+
const schemeColors = require('./src/theme/tailwindScheme.js')
|
|
2
|
+
|
|
3
|
+
/** @type {import('tailwindcss').Config} */
|
|
4
|
+
module.exports = {
|
|
5
|
+
content: [ './src/**/*.{vue,js,ts,scss}', './documentation/**/*.{vue,scss}' ],
|
|
6
|
+
plugins: [
|
|
7
|
+
require('tailwindcss/plugin')(({ addUtilities }) => {
|
|
8
|
+
addUtilities({
|
|
9
|
+
'.justify-normal': {
|
|
10
|
+
justifyContent: 'normal'
|
|
11
|
+
}
|
|
12
|
+
})
|
|
13
|
+
})
|
|
14
|
+
],
|
|
15
|
+
theme: {
|
|
16
|
+
fontFamily: {
|
|
17
|
+
main: [ 'Rubik', 'system-ui', 'sans-serif' ],
|
|
18
|
+
rubik: [ 'Rubik', 'system-ui', 'sans-serif' ],
|
|
19
|
+
// Deprecated aliases — Rubik replaced both Inter (latin) and Heebo
|
|
20
|
+
// (hebrew), but `font-inter`/`font-heebo` are still used in consumer
|
|
21
|
+
// projects. Kept pointing at Rubik so those classes keep working;
|
|
22
|
+
// remove in the next major once consumers migrate to `font-rubik`.
|
|
23
|
+
heebo: [ 'Rubik', 'system-ui', 'sans-serif' ],
|
|
24
|
+
inter: [ 'Rubik', 'system-ui', 'sans-serif' ]
|
|
25
|
+
},
|
|
26
|
+
screens: {
|
|
27
|
+
sm: '680px',
|
|
28
|
+
md: '960px',
|
|
29
|
+
lg: '1264px',
|
|
30
|
+
xl: '1680px',
|
|
31
|
+
xxl: '1900px'
|
|
32
|
+
},
|
|
33
|
+
colors: schemeColors,
|
|
34
|
+
borderColor: schemeColors,
|
|
35
|
+
backgroundColor: schemeColors,
|
|
36
|
+
boxShadow: {
|
|
37
|
+
none: 'none',
|
|
38
|
+
card: '0px 0px 5px var(--card-shadow-color)',
|
|
39
|
+
'card-no-active': '0px 0px 5px var(--inactive-elements)',
|
|
40
|
+
'table-header': '0 1px 0 0 var(--table-shadow-color)',
|
|
41
|
+
'focus-outer': '0 0 3px var(--active-elements--pressed)',
|
|
42
|
+
'focus-outer-off': '0 0 3px var(--inactive-elements--pressed)',
|
|
43
|
+
'focus-outer-primary': '0 0 3px var(--primary-actions--pressed)',
|
|
44
|
+
'focus-outer-secondary': '0 0 3px var(--secondary-actions--pressed)',
|
|
45
|
+
'focus-outer-destructive': '0 0 3px var(--destructive-actions--pressed)',
|
|
46
|
+
'focus-outer-success': '0 0 3px var(--success-actions--pressed)',
|
|
47
|
+
'focus-outer-warning': '0 0 3px var(--warning-actions--pressed)',
|
|
48
|
+
'focus-inner': 'inset 0 0 3px var(--active-elements--pressed)',
|
|
49
|
+
focus: '0 0 3px var(--active-elements--pressed), inset 0 0px 3px var(--active-elements--pressed)',
|
|
50
|
+
hover: '0 0 3px var(--active-elements--focus), inset 0 0px 3px var(--active-elements--focus)',
|
|
51
|
+
'focus-primary': '0 0 3px var(--primary-actions--pressed), inset 0 0px 3px var(--primary-actions--pressed)',
|
|
52
|
+
'hover-primary': '0 0 3px var(--primary-actions--focus), inset 0 0px 3px var(--primary-actions--focus)',
|
|
53
|
+
'focus-secondary': '0 0 3px var(--secondary-actions--pressed), inset 0 0px 3px var(--secondary-actions--pressed)',
|
|
54
|
+
'hover-secondary': '0 0 3px var(--secondary-actions--focus), inset 0 0px 3px var(--secondary-actions--focus)',
|
|
55
|
+
'focus-destructive': '0 0 3px var(--destructive-actions--pressed), inset 0 0px 3px var(--destructive-actions--pressed)',
|
|
56
|
+
'hover-destructive': '0 0 3px var(--destructive-actions--focus), inset 0 0px 3px var(--destructive-actions--focus)',
|
|
57
|
+
'focus-success': '0 0 3px var(--success-actions--pressed), inset 0 0px 3px var(--success-actions--pressed)',
|
|
58
|
+
'hover-success': '0 0 3px var(--success-actions--focus), inset 0 0px 3px var(--success-actions--focus)',
|
|
59
|
+
'focus-warning': '0 0 3px var(--warning-actions--pressed), inset 0 0px 3px var(--warning-actions--pressed)',
|
|
60
|
+
'hover-warning': '0 0 3px var(--warning-actions--focus), inset 0 0px 3px var(--warning-actions--focus)',
|
|
61
|
+
'hover-inner': 'inset 0 0 3px var(--active-elements--focus)',
|
|
62
|
+
'hover-outer': '0 0 3px var(--active-elements--focus)',
|
|
63
|
+
'hover-outer-off': '0 0 3px var(--inactive-elements--focus)',
|
|
64
|
+
'hover-outer-active': '0 0 3px var(--active-elements--focus)',
|
|
65
|
+
'hover-outer-primary': '0 0 3px var(--primary-actions--focus)',
|
|
66
|
+
'hover-outer-primary-alternative': '0 0 3px var(--primary-alternative-actions--focus)',
|
|
67
|
+
'hover-outer-secondary': '0 0 3px var(--secondary-actions--focus)',
|
|
68
|
+
'hover-outer-destructive': '0 0 3px var(--destructive-actions--focus)',
|
|
69
|
+
'hover-outer-success': '0 0 3px var(--success-actions--focus)',
|
|
70
|
+
'hover-outer-warning': '0 0 3px var(--warning-actions--focus)',
|
|
71
|
+
'view-switcher': '0px 0px 4px var(--overlay-bg)',
|
|
72
|
+
'vertical-tab-scroll': 'inset 0 0 8px (--light-bg)',
|
|
73
|
+
'vertical-tab-item': '0 1px 6px var(--card-shadow-color)',
|
|
74
|
+
'vertical-tab-item-hover': '0 1px 6px var(--active-elements--focus)',
|
|
75
|
+
table: '0px 0px 5px var(--card-shadow-color)',
|
|
76
|
+
'table-row': '0 10px 10px -12px var(--table-shadow-color)'
|
|
77
|
+
},
|
|
78
|
+
fontSize: {
|
|
79
|
+
xxs: '0.65rem',
|
|
80
|
+
xs: '0.75rem',
|
|
81
|
+
sm: '0.875rem',
|
|
82
|
+
base: '1rem',
|
|
83
|
+
lg: '1.125rem',
|
|
84
|
+
xl: '1.25rem',
|
|
85
|
+
'2xl': '1.5rem',
|
|
86
|
+
'3xl': '2rem',
|
|
87
|
+
'4xl': '2.25rem',
|
|
88
|
+
'5xl': '2.5rem',
|
|
89
|
+
'6xl': '3rem'
|
|
90
|
+
},
|
|
91
|
+
fill: schemeColors,
|
|
92
|
+
stroke: {
|
|
93
|
+
'active-elements': 'var(--active-elements)',
|
|
94
|
+
current: 'currentColor'
|
|
95
|
+
},
|
|
96
|
+
borderRadius: {
|
|
97
|
+
none: '0',
|
|
98
|
+
xs: '0.125rem',
|
|
99
|
+
sm: '0.25rem',
|
|
100
|
+
md: '0.375rem',
|
|
101
|
+
lg: '0.5rem',
|
|
102
|
+
xl: '0.75rem',
|
|
103
|
+
xxl: '0.875rem',
|
|
104
|
+
full: '9999px',
|
|
105
|
+
tag: '2rem',
|
|
106
|
+
DEFAULT: '0.25rem',
|
|
107
|
+
'horizontal-tab-wrapper': '0px 6px 6px 6px',
|
|
108
|
+
'horizontal-tab-item': '6px 6px 0px 0px'
|
|
109
|
+
},
|
|
110
|
+
extend: {
|
|
111
|
+
inset: {
|
|
112
|
+
unset: 'unset'
|
|
113
|
+
},
|
|
114
|
+
minWidth: {
|
|
115
|
+
auto: 'auto',
|
|
116
|
+
xs: '20rem',
|
|
117
|
+
sm: '24rem',
|
|
118
|
+
md: '28rem',
|
|
119
|
+
lg: '32rem',
|
|
120
|
+
xl: '36rem',
|
|
121
|
+
'1/4': '25%',
|
|
122
|
+
'1/2': '50%',
|
|
123
|
+
'3/4': '75%',
|
|
124
|
+
screen: '100vw'
|
|
125
|
+
},
|
|
126
|
+
minHeight: {
|
|
127
|
+
2: '2rem',
|
|
128
|
+
5.5: '1.375rem',
|
|
129
|
+
6.5: '1.625rem',
|
|
130
|
+
8: '2rem',
|
|
131
|
+
screen: '100vh',
|
|
132
|
+
inherit: 'inherit'
|
|
133
|
+
},
|
|
134
|
+
maxWidth: {
|
|
135
|
+
'1/2': '50%',
|
|
136
|
+
screen: '100vw'
|
|
137
|
+
},
|
|
138
|
+
maxHeight: {
|
|
139
|
+
inherit: 'inherit'
|
|
140
|
+
},
|
|
141
|
+
height: {
|
|
142
|
+
0.5: '2px',
|
|
143
|
+
'fit-content': 'fit-content',
|
|
144
|
+
'modal-wizard': '680px'
|
|
145
|
+
},
|
|
146
|
+
spacing: {
|
|
147
|
+
15: '3.75rem',
|
|
148
|
+
unset: 'unset'
|
|
149
|
+
},
|
|
150
|
+
width: {},
|
|
151
|
+
lineHeight: {
|
|
152
|
+
'40px': '40px'
|
|
153
|
+
},
|
|
154
|
+
zIndex: {
|
|
155
|
+
1: 1,
|
|
156
|
+
5: 5
|
|
157
|
+
},
|
|
158
|
+
rotate: {
|
|
159
|
+
135: '135deg',
|
|
160
|
+
225: '225deg'
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
safelist: [
|
|
165
|
+
// Essential text sizes
|
|
166
|
+
{
|
|
167
|
+
pattern: /text-(xxs|xs|sm|base|lg|2xl|3xl|4xl|5xl|6xl)/,
|
|
168
|
+
variants: [ 'hover', 'focus' ]
|
|
169
|
+
},
|
|
170
|
+
// Essential fonts
|
|
171
|
+
{
|
|
172
|
+
pattern: /font-(main|heebo|inter)/,
|
|
173
|
+
},
|
|
174
|
+
// Essential color classes for dynamic theming
|
|
175
|
+
{
|
|
176
|
+
pattern: /text-(primary|primary-alternative|secondary|destructive|success|warning)-actions/,
|
|
177
|
+
variants: [ 'hover', 'focus' ]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
pattern: /bg-(primary|primary-alternative|secondary|destructive|success|warning)-actions/,
|
|
181
|
+
variants: [ 'hover', 'focus' ]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
pattern: /border-(primary|primary-alternative|secondary|destructive|success|warning)-actions/,
|
|
185
|
+
variants: [ 'hover', 'focus' ]
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
variants: {
|
|
189
|
+
backgroundColor: [ 'responsive', 'hover', 'focus', 'active' ]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|