@voicenter-team/voicenter-ui-plus 3.4.4 → 3.4.6
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/VcAvatar/VcAvatar.css +1 -0
- package/library/assets/components/VcBadgeTag/VcBadgeTag.css +1 -0
- package/library/assets/components/VcChatComposer/VcChatComposer.css +1 -0
- package/library/assets/components/VcEmojiPicker/VcEmojiPicker.css +1 -0
- package/library/assets/components/VcFileUploader/VcFileItem.css +1 -0
- package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
- package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
- package/library/assets/components/VcLoading/VcLoading.css +1 -1
- package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
- package/library/assets/components/VcMessage/VcMessage.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageAudioBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageFileBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageImageBlock.css +1 -0
- package/library/assets/components/VcMessage/content/VcMessageTextBlock.css +1 -0
- package/library/assets/components/VcMessage/reactions/VcMessageEmojiPicker.css +1 -0
- package/library/assets/components/VcMessage/reactions/VcMessageReactionBar.css +1 -0
- package/library/assets/components/VcMessagesWrapper/VcMessagesWrapper.css +1 -0
- package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
- package/library/components/VcAvatar/VcAvatar.vue.mjs +62 -0
- package/library/components/VcAvatar/VcAvatar.vue3.mjs +5 -0
- package/library/components/VcBadgeTag/VcBadgeTag.vue.mjs +31 -0
- package/library/components/VcBadgeTag/VcBadgeTag.vue3.mjs +5 -0
- package/library/components/VcChatComposer/VcChatComposer.vue.mjs +554 -0
- package/library/components/VcChatComposer/VcChatComposer.vue3.mjs +5 -0
- package/library/components/VcChatComposer/richText.mjs +320 -0
- package/library/components/VcEmojiPicker/VcEmojiPicker.vue.mjs +387 -0
- package/library/components/VcEmojiPicker/VcEmojiPicker.vue3.mjs +5 -0
- package/library/components/VcEmojiPicker/emojiData.mjs +26 -0
- package/library/components/VcFileUploader/VcFileItem.vue.mjs +146 -0
- package/library/components/VcFileUploader/VcFileItem.vue3.mjs +5 -0
- package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +24 -147
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMessage/VcMessage.vue.mjs +212 -0
- package/library/components/VcMessage/VcMessage.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageAudioBlock.vue.mjs +53 -0
- package/library/components/VcMessage/content/VcMessageAudioBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageFileBlock.vue.mjs +80 -0
- package/library/components/VcMessage/content/VcMessageFileBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageImageBlock.vue.mjs +57 -0
- package/library/components/VcMessage/content/VcMessageImageBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue.mjs +19 -0
- package/library/components/VcMessage/content/VcMessageTextBlock.vue3.mjs +5 -0
- package/library/components/VcMessage/content/messageContentComponents.mjs +17 -0
- package/library/components/VcMessage/reactions/VcMessageEmojiPicker.vue.mjs +167 -0
- package/library/components/VcMessage/reactions/VcMessageEmojiPicker.vue3.mjs +5 -0
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +82 -0
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue3.mjs +5 -0
- package/library/components/VcMessage/reactions/emojis.mjs +4 -0
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue.mjs +243 -0
- package/library/components/VcMessagesWrapper/VcMessagesWrapper.vue3.mjs +5 -0
- package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
- package/library/components/VcSoundplayer/useSoundPlayerProvideInject.mjs +1 -1
- package/library/composables/useAudioRecorder.mjs +120 -0
- package/library/enum/fileTypes.mjs +51 -0
- package/library/index.mjs +237 -216
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +24 -1
- package/library/plugin-components.gen.mjs +171 -150
- package/library/plugin.mjs +235 -214
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +42 -16
- 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/VcAvatar/VcAvatar.vue.d.ts +47 -0
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +42 -0
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +81 -0
- package/library/types/components/VcChatComposer/richText.d.ts +12 -0
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +1 -1
- package/library/types/components/VcEmojiPicker/VcEmojiPicker.vue.d.ts +63 -0
- package/library/types/components/VcEmojiPicker/emojiData.d.ts +16 -0
- package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +2 -2
- package/library/types/components/VcFileUploader/VcFileItem.vue.d.ts +85 -0
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +3 -3
- package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +17 -18
- package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +3 -3
- package/library/types/components/VcForm/VcForm.vue.d.ts +1 -1
- package/library/types/components/VcMessage/VcMessage.vue.d.ts +66 -0
- package/library/types/components/VcMessage/content/VcMessageAudioBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageFileBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/VcMessageImageBlock.vue.d.ts +28 -0
- package/library/types/components/VcMessage/content/VcMessageTextBlock.vue.d.ts +24 -0
- package/library/types/components/VcMessage/content/messageContentComponents.d.ts +3 -0
- package/library/types/components/VcMessage/reactions/VcMessageEmojiPicker.vue.d.ts +68 -0
- package/library/types/components/VcMessage/reactions/VcMessageReactionBar.vue.d.ts +28 -0
- package/library/types/components/VcMessage/reactions/emojis.d.ts +1 -0
- package/library/types/components/VcMessagesWrapper/VcMessagesWrapper.vue.d.ts +71 -0
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +1 -1
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +3 -3
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelectOption.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTree.vue.d.ts +6 -6
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +3 -3
- package/library/types/components/VcWizard/VcSummaryStep.vue.d.ts +1 -1
- package/library/types/components/VcWizard/VcWizardSummary.vue.d.ts +1 -1
- package/library/types/components/exports.d.ts +15 -1
- package/library/types/components.gen.d.ts +7 -0
- package/library/types/composables/useAudioRecorder.d.ts +18 -0
- package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +3 -3
- package/library/types/enum/fileTypes.d.ts +3 -0
- package/library/types/localization/locales/en.json.d.ts +187 -164
- package/library/types/theme/themes.json.d.ts +227 -227
- package/library/types/types/VcAvatar.types.d.ts +35 -0
- package/library/types/types/VcBadgeTag.types.d.ts +19 -0
- package/library/types/types/VcChatComposer.types.d.ts +112 -0
- package/library/types/types/VcEmojiPicker.types.d.ts +20 -0
- package/library/types/types/VcFileUploader.types.d.ts +4 -0
- package/library/types/types/VcMessage.types.d.ts +131 -0
- package/library/types/types/VcMessagesWrapper.types.d.ts +61 -0
- package/library/types/types/index.d.ts +6 -0
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/package.json +215 -185
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +37 -37
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +40 -40
- package/src/theme/themes.json +227 -227
- package/tailwind.config.d.ts +5 -5
- 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
|
+
|