@sk-web-gui/core 3.12.0 → 3.13.1
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/dist/cjs/aria-plugin.js +18 -20
- package/dist/cjs/aria-plugin.js.map +1 -1
- package/dist/cjs/base.js +2 -2
- package/dist/cjs/base.js.map +1 -1
- package/dist/cjs/colors.js +420 -420
- package/dist/cjs/colors.js.map +1 -1
- package/dist/cjs/components/accordion.js +2 -4
- package/dist/cjs/components/accordion.js.map +1 -1
- package/dist/cjs/components/ai/ai-corner-module.js +11 -62
- package/dist/cjs/components/ai/ai-corner-module.js.map +1 -1
- package/dist/cjs/components/ai/ai-feed.js +2 -4
- package/dist/cjs/components/ai/ai-feed.js.map +1 -1
- package/dist/cjs/components/ai/ai-service-module.js +28 -68
- package/dist/cjs/components/ai/ai-service-module.js.map +1 -1
- package/dist/cjs/components/ai/assistant-presentation.js +2 -4
- package/dist/cjs/components/ai/assistant-presentation.js.map +1 -1
- package/dist/cjs/components/ai/assistant-switch.js +2 -4
- package/dist/cjs/components/ai/assistant-switch.js.map +1 -1
- package/dist/cjs/components/ai/bubble.js +42 -71
- package/dist/cjs/components/ai/bubble.js.map +1 -1
- package/dist/cjs/components/ai/feedback.js +2 -4
- package/dist/cjs/components/ai/feedback.js.map +1 -1
- package/dist/cjs/components/ai/input-section.js +2 -4
- package/dist/cjs/components/ai/input-section.js.map +1 -1
- package/dist/cjs/components/ai/markdown-rendered.js +2 -4
- package/dist/cjs/components/ai/markdown-rendered.js.map +1 -1
- package/dist/cjs/components/ai/new-session-button.js +2 -4
- package/dist/cjs/components/ai/new-session-button.js.map +1 -1
- package/dist/cjs/components/ai/typing-bubble.js +2 -4
- package/dist/cjs/components/ai/typing-bubble.js.map +1 -1
- package/dist/cjs/components/ai/typing-sequence.js +17 -63
- package/dist/cjs/components/ai/typing-sequence.js.map +1 -1
- package/dist/cjs/components/avatar.js +14 -63
- package/dist/cjs/components/avatar.js.map +1 -1
- package/dist/cjs/components/badge.js +15 -65
- package/dist/cjs/components/badge.js.map +1 -1
- package/dist/cjs/components/breadcrumb.js +14 -24
- package/dist/cjs/components/breadcrumb.js.map +1 -1
- package/dist/cjs/components/button-group.js +2 -4
- package/dist/cjs/components/button-group.js.map +1 -1
- package/dist/cjs/components/button.js +59 -88
- package/dist/cjs/components/button.js.map +1 -1
- package/dist/cjs/components/callout.js +19 -69
- package/dist/cjs/components/callout.js.map +1 -1
- package/dist/cjs/components/card.js +128 -155
- package/dist/cjs/components/card.js.map +1 -1
- package/dist/cjs/components/checkbox.js +2 -4
- package/dist/cjs/components/checkbox.js.map +1 -1
- package/dist/cjs/components/chip.js +2 -4
- package/dist/cjs/components/chip.js.map +1 -1
- package/dist/cjs/components/code.js +2 -4
- package/dist/cjs/components/code.js.map +1 -1
- package/dist/cjs/components/combobox.js +2 -4
- package/dist/cjs/components/combobox.js.map +1 -1
- package/dist/cjs/components/cookie-consent.js +2 -4
- package/dist/cjs/components/cookie-consent.js.map +1 -1
- package/dist/cjs/components/dialog.js +11 -61
- package/dist/cjs/components/dialog.js.map +1 -1
- package/dist/cjs/components/divider.js +2 -4
- package/dist/cjs/components/divider.js.map +1 -1
- package/dist/cjs/components/dot.js +27 -70
- package/dist/cjs/components/dot.js.map +1 -1
- package/dist/cjs/components/file-upload.js +2 -4
- package/dist/cjs/components/file-upload.js.map +1 -1
- package/dist/cjs/components/filter.js +2 -4
- package/dist/cjs/components/filter.js.map +1 -1
- package/dist/cjs/components/footer.js +2 -4
- package/dist/cjs/components/footer.js.map +1 -1
- package/dist/cjs/components/forms.js +2 -4
- package/dist/cjs/components/forms.js.map +1 -1
- package/dist/cjs/components/header.js +2 -4
- package/dist/cjs/components/header.js.map +1 -1
- package/dist/cjs/components/icon.js +29 -76
- package/dist/cjs/components/icon.js.map +1 -1
- package/dist/cjs/components/input.js +21 -71
- package/dist/cjs/components/input.js.map +1 -1
- package/dist/cjs/components/kbd.js +2 -4
- package/dist/cjs/components/kbd.js.map +1 -1
- package/dist/cjs/components/label.js +16 -63
- package/dist/cjs/components/label.js.map +1 -1
- package/dist/cjs/components/link.js +2 -4
- package/dist/cjs/components/link.js.map +1 -1
- package/dist/cjs/components/list.js +2 -4
- package/dist/cjs/components/list.js.map +1 -1
- package/dist/cjs/components/logo.js +2 -4
- package/dist/cjs/components/logo.js.map +1 -1
- package/dist/cjs/components/menu-vertical.js +19 -45
- package/dist/cjs/components/menu-vertical.js.map +1 -1
- package/dist/cjs/components/menubar.js +35 -68
- package/dist/cjs/components/menubar.js.map +1 -1
- package/dist/cjs/components/modal.js +2 -4
- package/dist/cjs/components/modal.js.map +1 -1
- package/dist/cjs/components/pagination.js +2 -4
- package/dist/cjs/components/pagination.js.map +1 -1
- package/dist/cjs/components/popup-menu.js +2 -4
- package/dist/cjs/components/popup-menu.js.map +1 -1
- package/dist/cjs/components/progress-bar.js +19 -66
- package/dist/cjs/components/progress-bar.js.map +1 -1
- package/dist/cjs/components/progress-stepper.js +2 -4
- package/dist/cjs/components/progress-stepper.js.map +1 -1
- package/dist/cjs/components/radio.js +2 -4
- package/dist/cjs/components/radio.js.map +1 -1
- package/dist/cjs/components/search-field.js +2 -4
- package/dist/cjs/components/search-field.js.map +1 -1
- package/dist/cjs/components/select.js +15 -68
- package/dist/cjs/components/select.js.map +1 -1
- package/dist/cjs/components/snackbar.js +2 -4
- package/dist/cjs/components/snackbar.js.map +1 -1
- package/dist/cjs/components/spinner.js +14 -67
- package/dist/cjs/components/spinner.js.map +1 -1
- package/dist/cjs/components/switch.js +34 -42
- package/dist/cjs/components/switch.js.map +1 -1
- package/dist/cjs/components/table.js +15 -66
- package/dist/cjs/components/table.js.map +1 -1
- package/dist/cjs/components/tabs.js +13 -64
- package/dist/cjs/components/tabs.js.map +1 -1
- package/dist/cjs/components/tooltip.js +2 -4
- package/dist/cjs/components/tooltip.js.map +1 -1
- package/dist/cjs/components/user-menu.js +2 -4
- package/dist/cjs/components/user-menu.js.map +1 -1
- package/dist/cjs/components.js +56 -56
- package/dist/cjs/components.js.map +1 -1
- package/dist/cjs/data-plugin.js +10 -10
- package/dist/cjs/data-plugin.js.map +1 -1
- package/dist/cjs/fonts.js +1 -1
- package/dist/cjs/fonts.js.map +1 -1
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/plugin.js +41 -86
- package/dist/cjs/plugin.js.map +1 -1
- package/dist/cjs/preset.js +31 -99
- package/dist/cjs/preset.js.map +1 -1
- package/dist/cjs/theme.js +83 -98
- package/dist/cjs/theme.js.map +1 -1
- package/dist/cjs/units.js +2 -2
- package/dist/cjs/units.js.map +1 -1
- package/dist/cjs/with-opacity.js +6 -6
- package/dist/cjs/with-opacity.js.map +1 -1
- package/dist/esm/aria-plugin.js +17 -19
- package/dist/esm/aria-plugin.js.map +1 -1
- package/dist/esm/base.js +2 -2
- package/dist/esm/base.js.map +1 -1
- package/dist/esm/colors.js +420 -420
- package/dist/esm/colors.js.map +1 -1
- package/dist/esm/components/accordion.js +2 -4
- package/dist/esm/components/accordion.js.map +1 -1
- package/dist/esm/components/ai/ai-corner-module.js +11 -62
- package/dist/esm/components/ai/ai-corner-module.js.map +1 -1
- package/dist/esm/components/ai/ai-feed.js +2 -4
- package/dist/esm/components/ai/ai-feed.js.map +1 -1
- package/dist/esm/components/ai/ai-service-module.js +28 -68
- package/dist/esm/components/ai/ai-service-module.js.map +1 -1
- package/dist/esm/components/ai/assistant-presentation.js +2 -4
- package/dist/esm/components/ai/assistant-presentation.js.map +1 -1
- package/dist/esm/components/ai/assistant-switch.js +2 -4
- package/dist/esm/components/ai/assistant-switch.js.map +1 -1
- package/dist/esm/components/ai/bubble.js +42 -71
- package/dist/esm/components/ai/bubble.js.map +1 -1
- package/dist/esm/components/ai/feedback.js +2 -4
- package/dist/esm/components/ai/feedback.js.map +1 -1
- package/dist/esm/components/ai/input-section.js +2 -4
- package/dist/esm/components/ai/input-section.js.map +1 -1
- package/dist/esm/components/ai/markdown-rendered.js +2 -4
- package/dist/esm/components/ai/markdown-rendered.js.map +1 -1
- package/dist/esm/components/ai/new-session-button.js +2 -4
- package/dist/esm/components/ai/new-session-button.js.map +1 -1
- package/dist/esm/components/ai/typing-bubble.js +2 -4
- package/dist/esm/components/ai/typing-bubble.js.map +1 -1
- package/dist/esm/components/ai/typing-sequence.js +17 -63
- package/dist/esm/components/ai/typing-sequence.js.map +1 -1
- package/dist/esm/components/avatar.js +14 -63
- package/dist/esm/components/avatar.js.map +1 -1
- package/dist/esm/components/badge.js +15 -65
- package/dist/esm/components/badge.js.map +1 -1
- package/dist/esm/components/breadcrumb.js +14 -24
- package/dist/esm/components/breadcrumb.js.map +1 -1
- package/dist/esm/components/button-group.js +2 -4
- package/dist/esm/components/button-group.js.map +1 -1
- package/dist/esm/components/button.js +59 -88
- package/dist/esm/components/button.js.map +1 -1
- package/dist/esm/components/callout.js +19 -69
- package/dist/esm/components/callout.js.map +1 -1
- package/dist/esm/components/card.js +128 -155
- package/dist/esm/components/card.js.map +1 -1
- package/dist/esm/components/checkbox.js +2 -4
- package/dist/esm/components/checkbox.js.map +1 -1
- package/dist/esm/components/chip.js +2 -4
- package/dist/esm/components/chip.js.map +1 -1
- package/dist/esm/components/code.js +2 -4
- package/dist/esm/components/code.js.map +1 -1
- package/dist/esm/components/combobox.js +2 -4
- package/dist/esm/components/combobox.js.map +1 -1
- package/dist/esm/components/cookie-consent.js +2 -4
- package/dist/esm/components/cookie-consent.js.map +1 -1
- package/dist/esm/components/dialog.js +11 -61
- package/dist/esm/components/dialog.js.map +1 -1
- package/dist/esm/components/divider.js +2 -4
- package/dist/esm/components/divider.js.map +1 -1
- package/dist/esm/components/dot.js +27 -70
- package/dist/esm/components/dot.js.map +1 -1
- package/dist/esm/components/file-upload.js +2 -4
- package/dist/esm/components/file-upload.js.map +1 -1
- package/dist/esm/components/filter.js +2 -4
- package/dist/esm/components/filter.js.map +1 -1
- package/dist/esm/components/footer.js +2 -4
- package/dist/esm/components/footer.js.map +1 -1
- package/dist/esm/components/forms.js +2 -4
- package/dist/esm/components/forms.js.map +1 -1
- package/dist/esm/components/header.js +2 -4
- package/dist/esm/components/header.js.map +1 -1
- package/dist/esm/components/icon.js +29 -76
- package/dist/esm/components/icon.js.map +1 -1
- package/dist/esm/components/input.js +21 -71
- package/dist/esm/components/input.js.map +1 -1
- package/dist/esm/components/kbd.js +2 -4
- package/dist/esm/components/kbd.js.map +1 -1
- package/dist/esm/components/label.js +16 -63
- package/dist/esm/components/label.js.map +1 -1
- package/dist/esm/components/link.js +2 -4
- package/dist/esm/components/link.js.map +1 -1
- package/dist/esm/components/list.js +2 -4
- package/dist/esm/components/list.js.map +1 -1
- package/dist/esm/components/logo.js +2 -4
- package/dist/esm/components/logo.js.map +1 -1
- package/dist/esm/components/menu-vertical.js +18 -44
- package/dist/esm/components/menu-vertical.js.map +1 -1
- package/dist/esm/components/menubar.js +35 -68
- package/dist/esm/components/menubar.js.map +1 -1
- package/dist/esm/components/modal.js +2 -4
- package/dist/esm/components/modal.js.map +1 -1
- package/dist/esm/components/pagination.js +2 -4
- package/dist/esm/components/pagination.js.map +1 -1
- package/dist/esm/components/popup-menu.js +2 -4
- package/dist/esm/components/popup-menu.js.map +1 -1
- package/dist/esm/components/progress-bar.js +19 -66
- package/dist/esm/components/progress-bar.js.map +1 -1
- package/dist/esm/components/progress-stepper.js +2 -4
- package/dist/esm/components/progress-stepper.js.map +1 -1
- package/dist/esm/components/radio.js +2 -4
- package/dist/esm/components/radio.js.map +1 -1
- package/dist/esm/components/search-field.js +2 -4
- package/dist/esm/components/search-field.js.map +1 -1
- package/dist/esm/components/select.js +15 -68
- package/dist/esm/components/select.js.map +1 -1
- package/dist/esm/components/snackbar.js +2 -4
- package/dist/esm/components/snackbar.js.map +1 -1
- package/dist/esm/components/spinner.js +14 -67
- package/dist/esm/components/spinner.js.map +1 -1
- package/dist/esm/components/switch.js +34 -42
- package/dist/esm/components/switch.js.map +1 -1
- package/dist/esm/components/table.js +15 -66
- package/dist/esm/components/table.js.map +1 -1
- package/dist/esm/components/tabs.js +13 -64
- package/dist/esm/components/tabs.js.map +1 -1
- package/dist/esm/components/tooltip.js +2 -4
- package/dist/esm/components/tooltip.js.map +1 -1
- package/dist/esm/components/user-menu.js +2 -4
- package/dist/esm/components/user-menu.js.map +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/components.js.map +1 -1
- package/dist/esm/data-plugin.js +9 -9
- package/dist/esm/data-plugin.js.map +1 -1
- package/dist/esm/fonts.js +1 -1
- package/dist/esm/fonts.js.map +1 -1
- package/dist/esm/plugin.js +36 -81
- package/dist/esm/plugin.js.map +1 -1
- package/dist/esm/preset.js +25 -93
- package/dist/esm/preset.js.map +1 -1
- package/dist/esm/theme.js +79 -94
- package/dist/esm/theme.js.map +1 -1
- package/dist/esm/units.js +2 -2
- package/dist/esm/units.js.map +1 -1
- package/dist/esm/with-opacity.js +5 -5
- package/dist/esm/with-opacity.js.map +1 -1
- package/dist/types/components/menubar.d.ts +14 -4
- package/dist/types/components/spinner.d.ts +1 -4
- package/package.json +2 -2
|
@@ -1,60 +1,8 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
1
|
function calendar() {
|
|
54
|
-
return
|
|
2
|
+
return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2' ry='2' /><line x1='16' x2='16' y1='2' y2='6' /><line x1='8' x2='8' y1='2' y2='6' /><line x1='3' x2='21' y1='10' y2='10' /></svg>`;
|
|
55
3
|
}
|
|
56
4
|
function clock() {
|
|
57
|
-
return
|
|
5
|
+
return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /><polyline points='12 6 12 12 16 14' /></svg>`;
|
|
58
6
|
}
|
|
59
7
|
function inputStandards() {
|
|
60
8
|
return {
|
|
@@ -136,7 +84,7 @@ function addin() {
|
|
|
136
84
|
}
|
|
137
85
|
function inputGroup() {
|
|
138
86
|
return {
|
|
139
|
-
'&-group':
|
|
87
|
+
'&-group': {
|
|
140
88
|
'@apply flex relative': {},
|
|
141
89
|
'@apply items-center': {},
|
|
142
90
|
'@apply focus-within:ring': {},
|
|
@@ -158,8 +106,8 @@ function inputGroup() {
|
|
|
158
106
|
'&&-sm': {
|
|
159
107
|
'@apply text-input-small': {},
|
|
160
108
|
'@apply rounded-button-sm': {}
|
|
161
|
-
}
|
|
162
|
-
|
|
109
|
+
},
|
|
110
|
+
...inputStandards(),
|
|
163
111
|
'.sk-form-input': {
|
|
164
112
|
'@apply rounded-0': {},
|
|
165
113
|
'@apply border-0': {},
|
|
@@ -169,7 +117,7 @@ function inputGroup() {
|
|
|
169
117
|
'@apply dark:bg-transparent': {},
|
|
170
118
|
'@apply grow': {}
|
|
171
119
|
}
|
|
172
|
-
}
|
|
120
|
+
}
|
|
173
121
|
};
|
|
174
122
|
}
|
|
175
123
|
function timeAndDatePicker() {
|
|
@@ -196,30 +144,30 @@ function timeAndDatePicker() {
|
|
|
196
144
|
},
|
|
197
145
|
'&[type="date"]::-webkit-inner-spin-button, &[type="date"]::-webkit-calendar-picker-indicator': {
|
|
198
146
|
mask: [
|
|
199
|
-
|
|
147
|
+
`url("data:image/svg+xml;utf-8,${calendar()}") no-repeat 100% 100%`
|
|
200
148
|
],
|
|
201
149
|
'-webkit-mask': [
|
|
202
|
-
|
|
150
|
+
`url("data:image/svg+xml;utf-8,${calendar()}") no-repeat 100% 100%`
|
|
203
151
|
],
|
|
204
152
|
maskSize: 'contain',
|
|
205
153
|
'-webkit-mask-size': 'contain'
|
|
206
154
|
},
|
|
207
155
|
'&[type="datetime-local"]::-webkit-inner-spin-button, &[type="datetime-local"]::-webkit-calendar-picker-indicator': {
|
|
208
156
|
mask: [
|
|
209
|
-
|
|
157
|
+
`url("data:image/svg+xml;utf-8,${calendar()}") no-repeat 100% 100%`
|
|
210
158
|
],
|
|
211
159
|
'-webkit-mask': [
|
|
212
|
-
|
|
160
|
+
`url("data:image/svg+xml;utf-8,${calendar()}") no-repeat 100% 100%`
|
|
213
161
|
],
|
|
214
162
|
maskSize: 'contain',
|
|
215
163
|
'-webkit-mask-size': 'contain'
|
|
216
164
|
},
|
|
217
165
|
'&[type="time"]::-webkit-inner-spin-button, &[type="time"]::-webkit-calendar-picker-indicator': {
|
|
218
166
|
mask: [
|
|
219
|
-
|
|
167
|
+
`url("data:image/svg+xml;utf-8,${clock()}") no-repeat 100% 100%`
|
|
220
168
|
],
|
|
221
169
|
'-webkit-mask': [
|
|
222
|
-
|
|
170
|
+
`url("data:image/svg+xml;utf-8,${clock()}") no-repeat 100% 100%`
|
|
223
171
|
],
|
|
224
172
|
maskSize: 'contain',
|
|
225
173
|
'-webkit-mask-size': 'contain'
|
|
@@ -231,9 +179,8 @@ function timeAndDatePicker() {
|
|
|
231
179
|
}
|
|
232
180
|
};
|
|
233
181
|
}
|
|
234
|
-
export
|
|
235
|
-
|
|
236
|
-
'.sk-form-input': _object_spread({
|
|
182
|
+
export const Input = ()=>({
|
|
183
|
+
'.sk-form-input': {
|
|
237
184
|
'@apply grow-0': {},
|
|
238
185
|
'@apply text-dark-primary': {},
|
|
239
186
|
'&[data-hideextra="true"]': {
|
|
@@ -285,9 +232,12 @@ export var Input = function() {
|
|
|
285
232
|
'@apply focus-within:border-input-field-surface': {},
|
|
286
233
|
'&:not(:invalid):not([aria-invalid="true"])': {
|
|
287
234
|
'@apply focus:hover:border-input-field-surface': {}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
235
|
+
},
|
|
236
|
+
...timeAndDatePicker(),
|
|
237
|
+
...inputStandards(),
|
|
238
|
+
...inputGroup(),
|
|
239
|
+
...addin()
|
|
240
|
+
}
|
|
241
|
+
});
|
|
292
242
|
|
|
293
243
|
//# sourceMappingURL=input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/input.ts"],"sourcesContent":["function calendar() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2' ry='2' /><line x1='16' x2='16' y1='2' y2='6' /><line x1='8' x2='8' y1='2' y2='6' /><line x1='3' x2='21' y1='10' y2='10' /></svg>`;\r\n}\r\nfunction clock() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /><polyline points='12 6 12 12 16 14' /></svg>`;\r\n}\r\n\r\nfunction inputStandards() {\r\n return {\r\n '@apply border-1': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n\r\n '@apply placeholder:text-dark-placeholder': {},\r\n\r\n '@apply bg-input-field-surface': {},\r\n\r\n //Invalid\r\n '&:invalid, &[aria-invalid=\"true\"]': {\r\n '@apply border-2 border-error-surface-primary': {},\r\n },\r\n\r\n //Disabled\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '@apply bg-input-field-surface-disabled': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply hover:border-input-field-outline-disabled': {},\r\n '@apply text-dark-disabled': {},\r\n },\r\n\r\n //readOnly\r\n '&:read-only': {\r\n '@apply bg-input-field-surface': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply text-dark-secondary': {},\r\n '@apply placeholder:text-dark-secondary': {},\r\n },\r\n };\r\n}\r\n\r\nfunction addin() {\r\n return {\r\n '&-addin': {\r\n '@apply bg-transparent': {},\r\n '@apply flex': {},\r\n '@apply justify-start items-center': {},\r\n '&-sm': {\r\n '@apply px-6 gap-6': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-12': {},\r\n '@apply pl-10': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-12': {},\r\n '@apply pr-10': {},\r\n },\r\n svg: {\r\n '@apply w-16 h-16': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-16': {},\r\n '@apply pl-12': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-16': {},\r\n '@apply pr-12': {},\r\n },\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-20': {},\r\n '@apply pl-16': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-20': {},\r\n '@apply pr-16': {},\r\n },\r\n svg: {\r\n '@apply w-22 h-22': {},\r\n },\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction inputGroup() {\r\n return {\r\n '&-group': {\r\n '@apply flex relative': {},\r\n '@apply items-center': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply text-dark-secondary': {},\r\n //Focus\r\n '@apply focus-within:border-input-field-surface': {},\r\n\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus-within:border-input-field-surface': {},\r\n },\r\n\r\n '&&-lg': {\r\n '@apply text-input-large': {},\r\n '@apply rounded-button-lg': {},\r\n },\r\n '&&-md': {\r\n '@apply text-input-medium': {},\r\n '@apply rounded-button-md': {},\r\n },\r\n '&&-sm': {\r\n '@apply text-input-small': {},\r\n '@apply rounded-button-sm': {},\r\n },\r\n ...inputStandards(),\r\n '.sk-form-input': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus:ring-0': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction timeAndDatePicker() {\r\n return {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply block': {},\r\n '@apply p-0': {},\r\n '@apply pl-6 md:pl-8': {},\r\n '@apply m-0': {},\r\n '@apply bg-none': {},\r\n '@apply bg-dark-secondary': {},\r\n '&.sk-form-input-sm': {\r\n '@apply w-16 h-16': {},\r\n '@apply -mr-2': {},\r\n },\r\n '&.sk-form-input-md': {\r\n '@apply -mr-4': {},\r\n '@apply w-18 h-18': {},\r\n },\r\n '&.sk-form-input-lg': {\r\n '@apply -mr-6': {},\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n\r\n '&[type=\"date\"]::-webkit-inner-spin-button, &[type=\"date\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"datetime-local\"]::-webkit-inner-spin-button, &[type=\"datetime-local\"]::-webkit-calendar-picker-indicator':\r\n {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"time\"]::-webkit-inner-spin-button, &[type=\"time\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply color-black-disabled': {},\r\n },\r\n },\r\n };\r\n}\r\n\r\nexport const Input = () => ({\r\n '.sk-form-input': {\r\n '@apply grow-0': {},\r\n '@apply text-dark-primary': {},\r\n\r\n '&[data-hideextra=\"true\"]': {\r\n '&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {\r\n '-webkit-appearance': 'none',\r\n display: 'none',\r\n margin: '0px',\r\n },\r\n '-moz-appearance': 'textfield',\r\n },\r\n\r\n '&&-lg': {\r\n '@apply rounded-button-lg': {},\r\n '@apply px-20': {},\r\n '@apply py-11': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-large': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply rounded-button-md': {},\r\n '@apply px-16': {},\r\n '@apply py-7': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-medium': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply rounded-button-sm': {},\r\n '@apply px-12': {},\r\n '@apply py-5': {},\r\n '@apply gap-6': {},\r\n '@apply text-input-small': {},\r\n '@apply h-32': {},\r\n },\r\n '&&-textarea': {\r\n '@apply h-auto': {},\r\n '&-warning': {\r\n '@apply sr-only': {},\r\n },\r\n },\r\n\r\n //Focus\r\n '@apply focus:ring': {},\r\n '@apply focus:ring-ring': {},\r\n '@apply focus:ring-offset': {},\r\n '@apply focus:border-input-field-surface': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply focus-within:ring-offset': {},\r\n '@apply focus-within:border-input-field-surface': {},\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus:hover:border-input-field-surface': {},\r\n },\r\n ...timeAndDatePicker(),\r\n ...inputStandards(),\r\n ...inputGroup(),\r\n ...addin(),\r\n },\r\n});\r\n"],"names":["calendar","clock","inputStandards","addin","svg","inputGroup","timeAndDatePicker","mask","maskSize","Input","display","margin"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAASA;IACP,OAAQ;AACV;AACA,SAASC;IACP,OAAQ;AACV;AAEA,SAASC;IACP,OAAO;QACL,mBAAmB,CAAC;QACpB,qCAAqC,CAAC;QACtC,iDAAiD,CAAC;QAElD,4CAA4C,CAAC;QAE7C,iCAAiC,CAAC;QAElC,SAAS;QACT,qCAAqC;YACnC,gDAAgD,CAAC;QACnD;QAEA,UAAU;QACV,uCAAuC;YACrC,0CAA0C,CAAC;YAC3C,8CAA8C,CAAC;YAC/C,oDAAoD,CAAC;YACrD,6BAA6B,CAAC;QAChC;QAEA,UAAU;QACV,eAAe;YACb,iCAAiC,CAAC;YAClC,8CAA8C,CAAC;YAC/C,8BAA8B,CAAC;YAC/B,0CAA0C,CAAC;QAC7C;IACF;AACF;AAEA,SAASC;IACP,OAAO;QACL,WAAW;YACT,yBAAyB,CAAC;YAC1B,eAAe,CAAC;YAChB,qCAAqC,CAAC;YACtC,QAAQ;gBACN,qBAAqB,CAAC;gBACtB,8BAA8B;oBAC5B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACA,+BAA+B;oBAC7B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACAC,KAAK;oBACH,oBAAoB,CAAC;gBACvB;YACF;YACA,QAAQ;gBACN,2BAA2B,CAAC;gBAC5B,8BAA8B;oBAC5B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACA,+BAA+B;oBAC7B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACAA,KAAK;oBACH,oBAAoB,CAAC;gBACvB;YACF;YACA,QAAQ;gBACN,2BAA2B,CAAC;gBAC5B,8BAA8B;oBAC5B,iBAAiB,CAAC;oB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ACpC,kDAAkD,CAAC;YACnD,8CAA8C;gBAC5C,iDAAiD,CAAC;YACpD;WACGL,qBACAJ,kBACAG,cACAF;IAEP;EAAG"}
|
|
1
|
+
{"version":3,"sources":["../../../src/components/input.ts"],"sourcesContent":["function calendar() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2' ry='2' /><line x1='16' x2='16' y1='2' y2='6' /><line x1='8' x2='8' y1='2' y2='6' /><line x1='3' x2='21' y1='10' y2='10' /></svg>`;\r\n}\r\nfunction clock() {\r\n return `<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /><polyline points='12 6 12 12 16 14' /></svg>`;\r\n}\r\n\r\nfunction inputStandards() {\r\n return {\r\n '@apply border-1': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n\r\n '@apply placeholder:text-dark-placeholder': {},\r\n\r\n '@apply bg-input-field-surface': {},\r\n\r\n //Invalid\r\n '&:invalid, &[aria-invalid=\"true\"]': {\r\n '@apply border-2 border-error-surface-primary': {},\r\n },\r\n\r\n //Disabled\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '@apply bg-input-field-surface-disabled': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply hover:border-input-field-outline-disabled': {},\r\n '@apply text-dark-disabled': {},\r\n },\r\n\r\n //readOnly\r\n '&:read-only': {\r\n '@apply bg-input-field-surface': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply text-dark-secondary': {},\r\n '@apply placeholder:text-dark-secondary': {},\r\n },\r\n };\r\n}\r\n\r\nfunction addin() {\r\n return {\r\n '&-addin': {\r\n '@apply bg-transparent': {},\r\n '@apply flex': {},\r\n '@apply justify-start items-center': {},\r\n '&-sm': {\r\n '@apply px-6 gap-6': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-12': {},\r\n '@apply pl-10': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-12': {},\r\n '@apply pr-10': {},\r\n },\r\n svg: {\r\n '@apply w-16 h-16': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-16': {},\r\n '@apply pl-12': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-16': {},\r\n '@apply pr-12': {},\r\n },\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply md:px-8 md:gap-8': {},\r\n '&.sk-form-input-addin-left': {\r\n '@apply -mr-20': {},\r\n '@apply pl-16': {},\r\n },\r\n '&.sk-form-input-addin-right': {\r\n '@apply -ml-20': {},\r\n '@apply pr-16': {},\r\n },\r\n svg: {\r\n '@apply w-22 h-22': {},\r\n },\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction inputGroup() {\r\n return {\r\n '&-group': {\r\n '@apply flex relative': {},\r\n '@apply items-center': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply text-dark-secondary': {},\r\n //Focus\r\n '@apply focus-within:border-input-field-surface': {},\r\n\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus-within:border-input-field-surface': {},\r\n },\r\n\r\n '&&-lg': {\r\n '@apply text-input-large': {},\r\n '@apply rounded-button-lg': {},\r\n },\r\n '&&-md': {\r\n '@apply text-input-medium': {},\r\n '@apply rounded-button-md': {},\r\n },\r\n '&&-sm': {\r\n '@apply text-input-small': {},\r\n '@apply rounded-button-sm': {},\r\n },\r\n ...inputStandards(),\r\n '.sk-form-input': {\r\n '@apply rounded-0': {},\r\n '@apply border-0': {},\r\n '@apply focus:ring-0': {},\r\n '@apply focus:ring-offset-0': {},\r\n '@apply bg-transparent': {},\r\n '@apply dark:bg-transparent': {},\r\n '@apply grow': {},\r\n },\r\n },\r\n };\r\n}\r\n\r\nfunction timeAndDatePicker() {\r\n return {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply block': {},\r\n '@apply p-0': {},\r\n '@apply pl-6 md:pl-8': {},\r\n '@apply m-0': {},\r\n '@apply bg-none': {},\r\n '@apply bg-dark-secondary': {},\r\n '&.sk-form-input-sm': {\r\n '@apply w-16 h-16': {},\r\n '@apply -mr-2': {},\r\n },\r\n '&.sk-form-input-md': {\r\n '@apply -mr-4': {},\r\n '@apply w-18 h-18': {},\r\n },\r\n '&.sk-form-input-lg': {\r\n '@apply -mr-6': {},\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n\r\n '&[type=\"date\"]::-webkit-inner-spin-button, &[type=\"date\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"datetime-local\"]::-webkit-inner-spin-button, &[type=\"datetime-local\"]::-webkit-calendar-picker-indicator':\r\n {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${calendar()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n '&[type=\"time\"]::-webkit-inner-spin-button, &[type=\"time\"]::-webkit-calendar-picker-indicator': {\r\n mask: [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n '-webkit-mask': [`url(\"data:image/svg+xml;utf-8,${clock()}\") no-repeat 100% 100%`],\r\n maskSize: 'contain',\r\n '-webkit-mask-size': 'contain',\r\n },\r\n\r\n '&:disabled, &[aria-disabled=\"true\"]': {\r\n '&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {\r\n '@apply color-black-disabled': {},\r\n },\r\n },\r\n };\r\n}\r\n\r\nexport const Input = () => ({\r\n '.sk-form-input': {\r\n '@apply grow-0': {},\r\n '@apply text-dark-primary': {},\r\n\r\n '&[data-hideextra=\"true\"]': {\r\n '&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {\r\n '-webkit-appearance': 'none',\r\n display: 'none',\r\n margin: '0px',\r\n },\r\n '-moz-appearance': 'textfield',\r\n },\r\n\r\n '&&-lg': {\r\n '@apply rounded-button-lg': {},\r\n '@apply px-20': {},\r\n '@apply py-11': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-large': {},\r\n '@apply h-48': {},\r\n },\r\n '&&-md': {\r\n '@apply rounded-button-md': {},\r\n '@apply px-16': {},\r\n '@apply py-7': {},\r\n '@apply gap-8': {},\r\n '@apply text-input-medium': {},\r\n '@apply h-40': {},\r\n },\r\n '&&-sm': {\r\n '@apply rounded-button-sm': {},\r\n '@apply px-12': {},\r\n '@apply py-5': {},\r\n '@apply gap-6': {},\r\n '@apply text-input-small': {},\r\n '@apply h-32': {},\r\n },\r\n '&&-textarea': {\r\n '@apply h-auto': {},\r\n '&-warning': {\r\n '@apply sr-only': {},\r\n },\r\n },\r\n\r\n //Focus\r\n '@apply focus:ring': {},\r\n '@apply focus:ring-ring': {},\r\n '@apply focus:ring-offset': {},\r\n '@apply focus:border-input-field-surface': {},\r\n '@apply focus-within:ring': {},\r\n '@apply focus-within:ring-ring': {},\r\n '@apply focus-within:ring-offset': {},\r\n '@apply focus-within:border-input-field-surface': {},\r\n '&:not(:invalid):not([aria-invalid=\"true\"])': {\r\n '@apply focus:hover:border-input-field-surface': {},\r\n },\r\n ...timeAndDatePicker(),\r\n ...inputStandards(),\r\n ...inputGroup(),\r\n ...addin(),\r\n },\r\n});\r\n"],"names":["calendar","clock","inputStandards","addin","svg","inputGroup","timeAndDatePicker","mask","maskSize","Input","display","margin"],"mappings":"AAAA,SAASA;IACP,OAAO,CAAC,qWAAqW,CAAC;AAChX;AACA,SAASC;IACP,OAAO,CAAC,kQAAkQ,CAAC;AAC7Q;AAEA,SAASC;IACP,OAAO;QACL,mBAAmB,CAAC;QACpB,qCAAqC,CAAC;QACtC,iDAAiD,CAAC;QAElD,4CAA4C,CAAC;QAE7C,iCAAiC,CAAC;QAElC,SAAS;QACT,qCAAqC;YACnC,gDAAgD,CAAC;QACnD;QAEA,UAAU;QACV,uCAAuC;YACrC,0CAA0C,CAAC;YAC3C,8CAA8C,CAAC;YAC/C,oDAAoD,CAAC;YACrD,6BAA6B,CAAC;QAChC;QAEA,UAAU;QACV,eAAe;YACb,iCAAiC,CAAC;YAClC,8CAA8C,CAAC;YAC/C,8BAA8B,CAAC;YAC/B,0CAA0C,CAAC;QAC7C;IACF;AACF;AAEA,SAASC;IACP,OAAO;QACL,WAAW;YACT,yBAAyB,CAAC;YAC1B,eAAe,CAAC;YAChB,qCAAqC,CAAC;YACtC,QAAQ;gBACN,qBAAqB,CAAC;gBACtB,8BAA8B;oBAC5B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACA,+BAA+B;oBAC7B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACAC,KAAK;oBACH,oBAAoB,CAAC;gBACvB;YACF;YACA,QAAQ;gBACN,2BAA2B,CAAC;gBAC5B,8BAA8B;oBAC5B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACA,+BAA+B;oBAC7B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACAA,KAAK;oBACH,oBAAoB,CAAC;gBACvB;YACF;YACA,QAAQ;gBACN,2BAA2B,CAAC;gBAC5B,8BAA8B;oBAC5B,iBAAiB,CAAC;oBAClB,gBAAgB,CAAC;gBACnB;gBACA,+BAA+B;oBAC7B,iBAA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YAC7B,2CAA2C,CAAC;YAC5C,4BAA4B,CAAC;YAC7B,iCAAiC,CAAC;YAClC,mCAAmC,CAAC;YACpC,kDAAkD,CAAC;YACnD,8CAA8C;gBAC5C,iDAAiD,CAAC;YACpD;YACA,GAAGL,mBAAmB;YACtB,GAAGJ,gBAAgB;YACnB,GAAGG,YAAY;YACf,GAAGF,OAAO;QACZ;IACF,CAAA,EAAG"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
return {
|
|
1
|
+
export const Kbd = ()=>({
|
|
3
2
|
'.kbd': {
|
|
4
3
|
'@apply inline-flex justify-center items-center capitalize text-xs p-1 rounded h-5 whitespace-nowrap font-sans': {},
|
|
5
4
|
minWidth: '1.25rem',
|
|
6
5
|
'@apply bg-blackAlpha-100 text-body': {}
|
|
7
6
|
}
|
|
8
|
-
};
|
|
9
|
-
};
|
|
7
|
+
});
|
|
10
8
|
|
|
11
9
|
//# sourceMappingURL=kbd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/kbd.ts"],"sourcesContent":["export const Kbd = () => ({\r\n '.kbd': {\r\n '@apply inline-flex justify-center items-center capitalize text-xs p-1 rounded h-5 whitespace-nowrap font-sans': {},\r\n minWidth: '1.25rem',\r\n '@apply bg-blackAlpha-100 text-body': {},\r\n // dark\r\n // '@apply dark:bg-white/30 dark:text-neutral-300': {},\r\n },\r\n});\r\n"],"names":["Kbd","minWidth"],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"sources":["../../../src/components/kbd.ts"],"sourcesContent":["export const Kbd = () => ({\r\n '.kbd': {\r\n '@apply inline-flex justify-center items-center capitalize text-xs p-1 rounded h-5 whitespace-nowrap font-sans': {},\r\n minWidth: '1.25rem',\r\n '@apply bg-blackAlpha-100 text-body': {},\r\n // dark\r\n // '@apply dark:bg-white/30 dark:text-neutral-300': {},\r\n },\r\n});\r\n"],"names":["Kbd","minWidth"],"mappings":"AAAA,OAAO,MAAMA,MAAM,IAAO,CAAA;QACxB,QAAQ;YACN,iHAAiH,CAAC;YAClHC,UAAU;YACV,sCAAsC,CAAC;QAGzC;IACF,CAAA,EAAG"}
|
|
@@ -1,58 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
|
-
export var Label = function(colors) {
|
|
54
|
-
return {
|
|
55
|
-
'.sk-label': _object_spread_props(_object_spread({
|
|
1
|
+
export const Label = (colors)=>({
|
|
2
|
+
'.sk-label': {
|
|
56
3
|
'@apply inline-flex flex-row': {},
|
|
57
4
|
'@apply justify-center items-center': {},
|
|
58
5
|
'@apply gap-6 px-10 py-4': {},
|
|
@@ -67,11 +14,18 @@ export var Label = function(colors) {
|
|
|
67
14
|
'&[data-inverted="true"]': {
|
|
68
15
|
'@apply bg-tertiary-surface': {},
|
|
69
16
|
'@apply text-dark-primary': {}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
17
|
+
},
|
|
18
|
+
...colors.reduce((styles, color)=>({
|
|
19
|
+
...styles,
|
|
20
|
+
[`&[data-color="${color}"]`]: {
|
|
21
|
+
[`@apply bg-${color}-surface-primary`]: {},
|
|
22
|
+
[`@apply text-${color}-text-secondary`]: {},
|
|
23
|
+
'&[data-inverted="true"]': {
|
|
24
|
+
[`@apply bg-${color}-surface-accent`]: {},
|
|
25
|
+
[`@apply text-${color}-text-primary`]: {}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}), {}),
|
|
75
29
|
'&[data-color="tertiary"]': {
|
|
76
30
|
'@apply bg-dark-primary': {},
|
|
77
31
|
'@apply text-light-primary': {},
|
|
@@ -80,8 +34,7 @@ export var Label = function(colors) {
|
|
|
80
34
|
'@apply text-dark-primary': {}
|
|
81
35
|
}
|
|
82
36
|
}
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
86
39
|
|
|
87
40
|
//# sourceMappingURL=label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/label.ts"],"sourcesContent":["export const Label = (colors: string[]) => ({\r\n '.sk-label': {\r\n '@apply inline-flex flex-row': {},\r\n '@apply justify-center items-center': {},\r\n '@apply gap-6 px-10 py-4': {},\r\n '@apply h-24 max-h-24': {},\r\n '@apply text-label-small': {},\r\n\r\n '@apply rounded-utility-sm md:rounded-utility-md xl:rounded-utility-lg': {},\r\n\r\n '@apply bg-dark-primary': {},\r\n '@apply text-light-primary': {},\r\n\r\n '&[data-rounded=\"true\"]': {\r\n '@apply rounded-full': {},\r\n },\r\n '&[data-inverted=\"true\"]': {\r\n '@apply bg-tertiary-surface': {},\r\n '@apply text-dark-primary': {},\r\n },\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n [`@apply bg-${color}-surface-primary`]: {},\r\n [`@apply text-${color}-text-secondary`]: {},\r\n '&[data-inverted=\"true\"]': {\r\n [`@apply bg-${color}-surface-accent`]: {},\r\n [`@apply text-${color}-text-primary`]: {},\r\n },\r\n },\r\n }),\r\n {}\r\n ),\r\n '&[data-color=\"tertiary\"]': {\r\n '@apply bg-dark-primary': {},\r\n '@apply text-light-primary': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply bg-tertiary-surface': {},\r\n '@apply text-dark-primary': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Label","colors","reduce","styles","color"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/components/label.ts"],"sourcesContent":["export const Label = (colors: string[]) => ({\r\n '.sk-label': {\r\n '@apply inline-flex flex-row': {},\r\n '@apply justify-center items-center': {},\r\n '@apply gap-6 px-10 py-4': {},\r\n '@apply h-24 max-h-24': {},\r\n '@apply text-label-small': {},\r\n\r\n '@apply rounded-utility-sm md:rounded-utility-md xl:rounded-utility-lg': {},\r\n\r\n '@apply bg-dark-primary': {},\r\n '@apply text-light-primary': {},\r\n\r\n '&[data-rounded=\"true\"]': {\r\n '@apply rounded-full': {},\r\n },\r\n '&[data-inverted=\"true\"]': {\r\n '@apply bg-tertiary-surface': {},\r\n '@apply text-dark-primary': {},\r\n },\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n [`@apply bg-${color}-surface-primary`]: {},\r\n [`@apply text-${color}-text-secondary`]: {},\r\n '&[data-inverted=\"true\"]': {\r\n [`@apply bg-${color}-surface-accent`]: {},\r\n [`@apply text-${color}-text-primary`]: {},\r\n },\r\n },\r\n }),\r\n {}\r\n ),\r\n '&[data-color=\"tertiary\"]': {\r\n '@apply bg-dark-primary': {},\r\n '@apply text-light-primary': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply bg-tertiary-surface': {},\r\n '@apply text-dark-primary': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Label","colors","reduce","styles","color"],"mappings":"AAAA,OAAO,MAAMA,QAAQ,CAACC,SAAsB,CAAA;QAC1C,aAAa;YACX,+BAA+B,CAAC;YAChC,sCAAsC,CAAC;YACvC,2BAA2B,CAAC;YAC5B,wBAAwB,CAAC;YACzB,2BAA2B,CAAC;YAE5B,yEAAyE,CAAC;YAE1E,0BAA0B,CAAC;YAC3B,6BAA6B,CAAC;YAE9B,0BAA0B;gBACxB,uBAAuB,CAAC;YAC1B;YACA,2BAA2B;gBACzB,8BAA8B,CAAC;gBAC/B,4BAA4B,CAAC;YAC/B;YAEA,GAAGA,OAAOC,MAAM,CACd,CAACC,QAAQC,QAAW,CAAA;oBAClB,GAAGD,MAAM;oBACT,CAAC,CAAC,cAAc,EAAEC,MAAM,EAAE,CAAC,CAAC,EAAE;wBAC5B,CAAC,CAAC,UAAU,EAAEA,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC;wBACzC,CAAC,CAAC,YAAY,EAAEA,MAAM,eAAe,CAAC,CAAC,EAAE,CAAC;wBAC1C,2BAA2B;4BACzB,CAAC,CAAC,UAAU,EAAEA,MAAM,eAAe,CAAC,CAAC,EAAE,CAAC;4BACxC,CAAC,CAAC,YAAY,EAAEA,MAAM,aAAa,CAAC,CAAC,EAAE,CAAC;wBAC1C;oBACF;gBACF,CAAA,GACA,CAAC,EACF;YACD,4BAA4B;gBAC1B,0BAA0B,CAAC;gBAC3B,6BAA6B,CAAC;gBAC9B,2BAA2B;oBACzB,8BAA8B,CAAC;oBAC/B,4BAA4B,CAAC;gBAC/B;YACF;QACF;IACF,CAAA,EAAG"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
return {
|
|
1
|
+
export const Link = ()=>({
|
|
3
2
|
'.sk-link': {
|
|
4
3
|
'@apply underline outline-none hover:underline': {},
|
|
5
4
|
'@apply rounded-utility': {},
|
|
@@ -47,7 +46,6 @@ export var Link = function() {
|
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
|
-
};
|
|
51
|
-
};
|
|
49
|
+
});
|
|
52
50
|
|
|
53
51
|
//# sourceMappingURL=link.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/link.ts"],"sourcesContent":["export const Link = () => ({\r\n '.sk-link': {\r\n '@apply underline outline-none hover:underline': {},\r\n '@apply rounded-utility': {},\r\n\r\n // focus\r\n '@apply focus-visible:ring ring-offset-6': {},\r\n\r\n // sizes\r\n '&-sm': {\r\n '@apply text-small': {},\r\n },\r\n '&-md': {\r\n '@apply text-base': {},\r\n },\r\n '&-lg': {\r\n '@apply text-large': {},\r\n },\r\n '&-xl': {\r\n '@apply text-lead': {},\r\n },\r\n\r\n // variants\r\n '&-primary': {\r\n '@apply text-vattjom-surface-primary hover:text-vattjom-surface-primary-hover': {},\r\n \r\n '&[data-inverted=\"true\"]':{\r\n '@apply text-inverted-vattjom-surface-primary hover:text-inverted-vattjom-surface-primary-hover': {},\r\n },\r\n },\r\n '&-tertiary': {\r\n '@apply text-dark-secondary hover:text-dark-primary': {},\r\n '&[data-inverted=\"true\"]':{\r\n '@apply text-inverted-dark-secondary hover:text-inverted-dark-primary': {},\r\n },\r\n },\r\n\r\n '&.active': {\r\n '@apply underline': {},\r\n },\r\n\r\n '& &-external-icon': {\r\n '@apply w-[1em] h-[1em] leading-none ml-[.25em] align-text-top': {},\r\n },\r\n\r\n '&[type=\"button\"]': {\r\n '@apply inline-flex items-center align-bottom': {},\r\n },\r\n\r\n '&-disabled': {\r\n '@apply text-dark-disabled cursor-default': {},\r\n '&[data-inverted=\"true\"]':{\r\n '@apply text-inverted-dark-disabled': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Link"],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"sources":["../../../src/components/link.ts"],"sourcesContent":["export const Link = () => ({\r\n '.sk-link': {\r\n '@apply underline outline-none hover:underline': {},\r\n '@apply rounded-utility': {},\r\n\r\n // focus\r\n '@apply focus-visible:ring ring-offset-6': {},\r\n\r\n // sizes\r\n '&-sm': {\r\n '@apply text-small': {},\r\n },\r\n '&-md': {\r\n '@apply text-base': {},\r\n },\r\n '&-lg': {\r\n '@apply text-large': {},\r\n },\r\n '&-xl': {\r\n '@apply text-lead': {},\r\n },\r\n\r\n // variants\r\n '&-primary': {\r\n '@apply text-vattjom-surface-primary hover:text-vattjom-surface-primary-hover': {},\r\n \r\n '&[data-inverted=\"true\"]':{\r\n '@apply text-inverted-vattjom-surface-primary hover:text-inverted-vattjom-surface-primary-hover': {},\r\n },\r\n },\r\n '&-tertiary': {\r\n '@apply text-dark-secondary hover:text-dark-primary': {},\r\n '&[data-inverted=\"true\"]':{\r\n '@apply text-inverted-dark-secondary hover:text-inverted-dark-primary': {},\r\n },\r\n },\r\n\r\n '&.active': {\r\n '@apply underline': {},\r\n },\r\n\r\n '& &-external-icon': {\r\n '@apply w-[1em] h-[1em] leading-none ml-[.25em] align-text-top': {},\r\n },\r\n\r\n '&[type=\"button\"]': {\r\n '@apply inline-flex items-center align-bottom': {},\r\n },\r\n\r\n '&-disabled': {\r\n '@apply text-dark-disabled cursor-default': {},\r\n '&[data-inverted=\"true\"]':{\r\n '@apply text-inverted-dark-disabled': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Link"],"mappings":"AAAA,OAAO,MAAMA,OAAO,IAAO,CAAA;QACzB,YAAY;YACV,iDAAiD,CAAC;YAClD,0BAA0B,CAAC;YAE3B,QAAQ;YACR,2CAA2C,CAAC;YAE5C,QAAQ;YACR,QAAQ;gBACN,qBAAqB,CAAC;YACxB;YACA,QAAQ;gBACN,oBAAoB,CAAC;YACvB;YACA,QAAQ;gBACN,qBAAqB,CAAC;YACxB;YACA,QAAQ;gBACN,oBAAoB,CAAC;YACvB;YAEA,WAAW;YACX,aAAa;gBACX,gFAAgF,CAAC;gBAEjF,2BAA0B;oBACxB,mGAAmG,CAAC;gBACtG;YACF;YACA,cAAc;gBACZ,sDAAsD,CAAC;gBACvD,2BAA0B;oBACxB,wEAAwE,CAAC;gBAC3E;YACF;YAEA,YAAY;gBACV,oBAAoB,CAAC;YACvB;YAEA,qBAAqB;gBACnB,iEAAiE,CAAC;YACpE;YAEA,oBAAoB;gBAClB,gDAAgD,CAAC;YACnD;YAEA,cAAc;gBACZ,4CAA4C,CAAC;gBAC7C,2BAA0B;oBACxB,sCAAsC,CAAC;gBACzC;YACF;QACF;IACF,CAAA,EAAG"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
return {
|
|
1
|
+
export const List = ()=>({
|
|
3
2
|
'.sk-list': {
|
|
4
3
|
// General
|
|
5
4
|
li: {
|
|
@@ -51,7 +50,6 @@ export var List = function() {
|
|
|
51
50
|
'@apply text-dark-secondary ml-32': {}
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
|
-
};
|
|
55
|
-
};
|
|
53
|
+
});
|
|
56
54
|
|
|
57
55
|
//# sourceMappingURL=list.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/list.ts"],"sourcesContent":["export const List = () => ({\r\n '.sk-list': {\r\n // General\r\n li: {\r\n '&:before': {\r\n '@apply text-vattjom-surface-primary font-bold': {},\r\n '@apply absolute inline-flex items-center justify-center text-center': {},\r\n '@apply w-24 h-24': {},\r\n },\r\n },\r\n\r\n '&[data-style=\"bullet\"]': {\r\n li: {\r\n '&:before': {\r\n \"@apply content-['•'] my-5 text-lead\": {},\r\n },\r\n },\r\n },\r\n\r\n '&[data-style=\"numbered\"]': {\r\n li: {\r\n counterIncrement: 'item',\r\n\r\n '&:before': {\r\n '@apply text-small border-vattjom-surface-primary rounded-full leading-8': {},\r\n '@apply my-6 h-22 w-22 border-2': {},\r\n content: 'counter(item)',\r\n },\r\n },\r\n },\r\n\r\n '&[data-style=\"stroke\"]': {\r\n li: {\r\n '&:before': {\r\n \"@apply content-['–'] my-4 text-base\": {},\r\n },\r\n },\r\n },\r\n\r\n '.sk-link': {\r\n '&-tertiary': {\r\n '@apply text-dark-primary': {},\r\n '&:hover': {\r\n '@apply text-dark-secondary': {},\r\n },\r\n },\r\n },\r\n\r\n '&-item': {\r\n '@apply pt-20': {},\r\n },\r\n\r\n '&-header': {\r\n '@apply text-large font-bold ml-32': {},\r\n },\r\n\r\n '&-text': {\r\n '@apply text-dark-secondary ml-32': {},\r\n },\r\n },\r\n});\r\n"],"names":["List","li","counterIncrement","content"],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"sources":["../../../src/components/list.ts"],"sourcesContent":["export const List = () => ({\r\n '.sk-list': {\r\n // General\r\n li: {\r\n '&:before': {\r\n '@apply text-vattjom-surface-primary font-bold': {},\r\n '@apply absolute inline-flex items-center justify-center text-center': {},\r\n '@apply w-24 h-24': {},\r\n },\r\n },\r\n\r\n '&[data-style=\"bullet\"]': {\r\n li: {\r\n '&:before': {\r\n \"@apply content-['•'] my-5 text-lead\": {},\r\n },\r\n },\r\n },\r\n\r\n '&[data-style=\"numbered\"]': {\r\n li: {\r\n counterIncrement: 'item',\r\n\r\n '&:before': {\r\n '@apply text-small border-vattjom-surface-primary rounded-full leading-8': {},\r\n '@apply my-6 h-22 w-22 border-2': {},\r\n content: 'counter(item)',\r\n },\r\n },\r\n },\r\n\r\n '&[data-style=\"stroke\"]': {\r\n li: {\r\n '&:before': {\r\n \"@apply content-['–'] my-4 text-base\": {},\r\n },\r\n },\r\n },\r\n\r\n '.sk-link': {\r\n '&-tertiary': {\r\n '@apply text-dark-primary': {},\r\n '&:hover': {\r\n '@apply text-dark-secondary': {},\r\n },\r\n },\r\n },\r\n\r\n '&-item': {\r\n '@apply pt-20': {},\r\n },\r\n\r\n '&-header': {\r\n '@apply text-large font-bold ml-32': {},\r\n },\r\n\r\n '&-text': {\r\n '@apply text-dark-secondary ml-32': {},\r\n },\r\n },\r\n});\r\n"],"names":["List","li","counterIncrement","content"],"mappings":"AAAA,OAAO,MAAMA,OAAO,IAAO,CAAA;QACzB,YAAY;YACV,UAAU;YACVC,IAAI;gBACF,YAAY;oBACV,iDAAiD,CAAC;oBAClD,uEAAuE,CAAC;oBACxE,oBAAoB,CAAC;gBACvB;YACF;YAEA,0BAA0B;gBACxBA,IAAI;oBACF,YAAY;wBACV,uCAAuC,CAAC;oBAC1C;gBACF;YACF;YAEA,4BAA4B;gBAC1BA,IAAI;oBACFC,kBAAkB;oBAElB,YAAY;wBACV,2EAA2E,CAAC;wBAC5E,kCAAkC,CAAC;wBACnCC,SAAS;oBACX;gBACF;YACF;YAEA,0BAA0B;gBACxBF,IAAI;oBACF,YAAY;wBACV,uCAAuC,CAAC;oBAC1C;gBACF;YACF;YAEA,YAAY;gBACV,cAAc;oBACZ,4BAA4B,CAAC;oBAC7B,WAAW;wBACT,8BAA8B,CAAC;oBACjC;gBACF;YACF;YAEA,UAAU;gBACR,gBAAgB,CAAC;YACnB;YAEA,YAAY;gBACV,qCAAqC,CAAC;YACxC;YAEA,UAAU;gBACR,oCAAoC,CAAC;YACvC;QACF;IACF,CAAA,EAAG"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
return {
|
|
1
|
+
export const Logo = ()=>({
|
|
3
2
|
'.sk-logo': {
|
|
4
3
|
'@apply flex w-auto h-auto': {},
|
|
5
4
|
'@apply items-center': {},
|
|
@@ -46,7 +45,6 @@ export var Logo = function() {
|
|
|
46
45
|
'@apply pt-8 pb-4': {}
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
|
-
};
|
|
50
|
-
};
|
|
48
|
+
});
|
|
51
49
|
|
|
52
50
|
//# sourceMappingURL=logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/logo.ts"],"sourcesContent":["export const Logo = () => ({\r\n '.sk-logo': {\r\n '@apply flex w-auto h-auto': {},\r\n '@apply items-center': {},\r\n '@apply text-dark-primary': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply text-light-primary': {},\r\n '.sk-logo-divider': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n },\r\n\r\n '&-figure': {\r\n '@apply w-full h-full': {},\r\n },\r\n '&[data-variant=\"service\"]': {\r\n '@apply flex-row gap-6': {},\r\n '@apply w-max': {},\r\n '@apply h-60': {},\r\n '@apply pb-4': {},\r\n '.sk-logo-figure': {\r\n '@apply w-auto h-56': {},\r\n },\r\n },\r\n 'a:focus-within &': {\r\n '@apply outline outline-2 outline-ring': {},\r\n },\r\n 'a &': {\r\n '@apply no-underline': {},\r\n },\r\n 'a:hover &': {\r\n '@apply underline': {},\r\n },\r\n '&-service-content': {\r\n '@apply h-full w-max': {},\r\n '@apply flex flex-col justify-center': {},\r\n '@apply pl-2 pt-2 pr-8 pb-0': {},\r\n },\r\n '&-title': {\r\n '@apply font-header text-logo-header': {},\r\n },\r\n '&-subtitle': {\r\n '@apply text-small font-normal block': {},\r\n },\r\n '&-divider': {\r\n '@apply pt-8 pb-4': {},\r\n },\r\n },\r\n});\r\n"],"names":["Logo"],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"sources":["../../../src/components/logo.ts"],"sourcesContent":["export const Logo = () => ({\r\n '.sk-logo': {\r\n '@apply flex w-auto h-auto': {},\r\n '@apply items-center': {},\r\n '@apply text-dark-primary': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply text-light-primary': {},\r\n '.sk-logo-divider': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n },\r\n\r\n '&-figure': {\r\n '@apply w-full h-full': {},\r\n },\r\n '&[data-variant=\"service\"]': {\r\n '@apply flex-row gap-6': {},\r\n '@apply w-max': {},\r\n '@apply h-60': {},\r\n '@apply pb-4': {},\r\n '.sk-logo-figure': {\r\n '@apply w-auto h-56': {},\r\n },\r\n },\r\n 'a:focus-within &': {\r\n '@apply outline outline-2 outline-ring': {},\r\n },\r\n 'a &': {\r\n '@apply no-underline': {},\r\n },\r\n 'a:hover &': {\r\n '@apply underline': {},\r\n },\r\n '&-service-content': {\r\n '@apply h-full w-max': {},\r\n '@apply flex flex-col justify-center': {},\r\n '@apply pl-2 pt-2 pr-8 pb-0': {},\r\n },\r\n '&-title': {\r\n '@apply font-header text-logo-header': {},\r\n },\r\n '&-subtitle': {\r\n '@apply text-small font-normal block': {},\r\n },\r\n '&-divider': {\r\n '@apply pt-8 pb-4': {},\r\n },\r\n },\r\n});\r\n"],"names":["Logo"],"mappings":"AAAA,OAAO,MAAMA,OAAO,IAAO,CAAA;QACzB,YAAY;YACV,6BAA6B,CAAC;YAC9B,uBAAuB,CAAC;YACxB,4BAA4B,CAAC;YAC7B,2BAA2B;gBACzB,6BAA6B,CAAC;gBAC9B,oBAAoB;oBAClB,kCAAkC,CAAC;gBACrC;YACF;YAEA,YAAY;gBACV,wBAAwB,CAAC;YAC3B;YACA,6BAA6B;gBAC3B,yBAAyB,CAAC;gBAC1B,gBAAgB,CAAC;gBACjB,eAAe,CAAC;gBAChB,eAAe,CAAC;gBAChB,mBAAmB;oBACjB,sBAAsB,CAAC;gBACzB;YACF;YACA,oBAAoB;gBAClB,yCAAyC,CAAC;YAC5C;YACA,OAAO;gBACL,uBAAuB,CAAC;YAC1B;YACA,aAAa;gBACX,oBAAoB,CAAC;YACvB;YACA,qBAAqB;gBACnB,uBAAuB,CAAC;gBACxB,uCAAuC,CAAC;gBACxC,8BAA8B,CAAC;YACjC;YACA,WAAW;gBACT,uCAAuC,CAAC;YAC1C;YACA,cAAc;gBACZ,uCAAuC,CAAC;YAC1C;YACA,aAAa;gBACX,oBAAoB,CAAC;YACvB;QACF;IACF,CAAA,EAAG"}
|
|
@@ -1,34 +1,5 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
1
|
import svgToTinyDataUri from 'mini-svg-data-uri';
|
|
30
|
-
|
|
31
|
-
return {
|
|
2
|
+
const MenuVerticalNav = ()=>({
|
|
32
3
|
'.sk-menu-vertical-nav': {
|
|
33
4
|
'.sk-menu-vertical': {
|
|
34
5
|
'@apply gap-12': {},
|
|
@@ -49,10 +20,8 @@ var MenuVerticalNav = function() {
|
|
|
49
20
|
}
|
|
50
21
|
}
|
|
51
22
|
}
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
var MenuVerticalSidebar = function() {
|
|
55
|
-
return {
|
|
23
|
+
});
|
|
24
|
+
const MenuVerticalSidebar = ()=>({
|
|
56
25
|
'.sk-menu-vertical-sidebar': {
|
|
57
26
|
'@apply rounded-button': {},
|
|
58
27
|
'> ul > li > .sk-menu-vertical-item-submenu': {
|
|
@@ -97,19 +66,25 @@ var MenuVerticalSidebar = function() {
|
|
|
97
66
|
// hook
|
|
98
67
|
'&:before': {
|
|
99
68
|
'@apply content-[""] absolute inline-flex w-20 h-44 -top-8 -left-16': {},
|
|
100
|
-
backgroundImage:
|
|
69
|
+
backgroundImage: `url("${svgToTinyDataUri(`<svg width="16" height="52" viewBox="0 0 16 52" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
70
|
+
<path d="M1 17V17C1 24.1797 6.8203 30 14 30H15" stroke="#B7B7BA" stroke-linecap="round" />
|
|
71
|
+
</svg>`)}")`,
|
|
101
72
|
backgroundRepeat: 'no-repeat'
|
|
102
73
|
},
|
|
103
74
|
// line
|
|
104
75
|
'&:not(:last-child):after': {
|
|
105
76
|
'@apply content-[""] absolute inline-flex w-20 -top-8 bottom-0 -left-16': {},
|
|
106
|
-
backgroundImage:
|
|
77
|
+
backgroundImage: `url("${svgToTinyDataUri(`<svg width="16" viewBox="0 0 16 52" xmlns="http://www.w3.org/2000/svg">
|
|
78
|
+
<line x1="1" y1="0" x2="1" y2="52" stroke="#B7B7BA" stroke-linecap="round" />
|
|
79
|
+
</svg> `)}")`,
|
|
107
80
|
backgroundRepeat: 'repeat-y'
|
|
108
81
|
},
|
|
109
82
|
// lastline
|
|
110
83
|
'&:last-child:after': {
|
|
111
84
|
'@apply content-[""] absolute inline-flex w-20 -top-8 bottom-0 -left-16': {},
|
|
112
|
-
backgroundImage:
|
|
85
|
+
backgroundImage: `url("${svgToTinyDataUri(`<svg width="16" height="17" viewBox="0 0 16 17" xmlns="http://www.w3.org/2000/svg">
|
|
86
|
+
<line x1="1" y1="0" x2="1" y2="17" stroke="#B7B7BA" stroke-linecap="round" />
|
|
87
|
+
</svg> `)}")`,
|
|
113
88
|
backgroundRepeat: 'no-repeat'
|
|
114
89
|
}
|
|
115
90
|
}
|
|
@@ -131,10 +106,8 @@ var MenuVerticalSidebar = function() {
|
|
|
131
106
|
}
|
|
132
107
|
}
|
|
133
108
|
}
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
export var MenuVertical = function() {
|
|
137
|
-
return _object_spread({
|
|
109
|
+
});
|
|
110
|
+
export const MenuVertical = ()=>({
|
|
138
111
|
'.sk-menu-vertical': {
|
|
139
112
|
'@apply flex flex-col': {},
|
|
140
113
|
'@apply text-base': {},
|
|
@@ -227,8 +200,9 @@ export var MenuVertical = function() {
|
|
|
227
200
|
}
|
|
228
201
|
}
|
|
229
202
|
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
203
|
+
},
|
|
204
|
+
...MenuVerticalNav(),
|
|
205
|
+
...MenuVerticalSidebar()
|
|
206
|
+
});
|
|
233
207
|
|
|
234
208
|
//# sourceMappingURL=menu-vertical.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/menu-vertical.ts"],"sourcesContent":["import svgToTinyDataUri from 'mini-svg-data-uri';\r\n\r\nconst MenuVerticalNav = () => ({\r\n '.sk-menu-vertical-nav': {\r\n '.sk-menu-vertical': {\r\n '@apply gap-12': {},\r\n\r\n '&.ul, & ul': {\r\n '@apply pt-12 pr-16 pb-16': {},\r\n },\r\n\r\n '&-item': {\r\n '.sk-menu-vertical-item-submenu': {\r\n '@apply font-bold': {},\r\n\r\n '&-medium &-button': {\r\n '@apply py-6 pl-14': {},\r\n },\r\n '&-large &-button': {\r\n '@apply text-large': {},\r\n '@apply py-10 pl-14': {},\r\n },\r\n },\r\n },\r\n },\r\n },\r\n});\r\n\r\nconst MenuVerticalSidebar = () => ({\r\n '.sk-menu-vertical-sidebar': {\r\n '@apply rounded-button': {},\r\n\r\n '> ul > li > .sk-menu-vertical-item-submenu': {\r\n '> .sk-menu-vertical-item-submenu-button': {\r\n '@apply min-h-52': {},\r\n },\r\n },\r\n\r\n '> ul': {\r\n '@apply py-16 px-24': {},\r\n },\r\n\r\n '.sk-menu-vertical': {\r\n '@apply gap-12': {},\r\n\r\n '&-header': {\r\n '@apply bg-primary-surface': {},\r\n\r\n '@apply rounded-t-button': {},\r\n '@apply py-20 px-32': {},\r\n\r\n '&, a': {\r\n '@apply text-light-primary': {},\r\n },\r\n\r\n '.sk-divider': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n\r\n '.sk-logo': {\r\n '@apply text-light-secondary': {},\r\n },\r\n },\r\n\r\n '&.ul, & ul': {\r\n '@apply py-8 pl-20 ml-20': {},\r\n },\r\n\r\n 'li ul': {\r\n '@apply gap-8': {},\r\n\r\n ul: {\r\n li: {\r\n '@apply text-small leading-18': {},\r\n\r\n '.sk-menu-vertical-item-submenu-button, .sk-menu-vertical-item-submenu-button-expand': {\r\n '@apply py-6 pr-14': {},\r\n },\r\n },\r\n },\r\n\r\n li: {\r\n '@apply relative -ml-4': {},\r\n\r\n // hook\r\n '&:before': {\r\n '@apply content-[\"\"] absolute inline-flex w-20 h-44 -top-8 -left-16': {},\r\n\r\n backgroundImage: `url(\"${svgToTinyDataUri(\r\n `<svg width=\"16\" height=\"52\" viewBox=\"0 0 16 52\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M1 17V17C1 24.1797 6.8203 30 14 30H15\" stroke=\"#B7B7BA\" stroke-linecap=\"round\" />\r\n </svg>`\r\n )}\")`,\r\n backgroundRepeat: 'no-repeat',\r\n },\r\n\r\n // line\r\n '&:not(:last-child):after': {\r\n '@apply content-[\"\"] absolute inline-flex w-20 -top-8 bottom-0 -left-16': {},\r\n\r\n backgroundImage: `url(\"${svgToTinyDataUri(\r\n `<svg width=\"16\" viewBox=\"0 0 16 52\" xmlns=\"http://www.w3.org/2000/svg\"> \r\n <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"52\" stroke=\"#B7B7BA\" stroke-linecap=\"round\" /> \r\n </svg> `\r\n )}\")`,\r\n backgroundRepeat: 'repeat-y',\r\n },\r\n\r\n // lastline\r\n '&:last-child:after': {\r\n '@apply content-[\"\"] absolute inline-flex w-20 -top-8 bottom-0 -left-16': {},\r\n\r\n backgroundImage: `url(\"${svgToTinyDataUri(\r\n `<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" xmlns=\"http://www.w3.org/2000/svg\"> \r\n <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"17\" stroke=\"#B7B7BA\" stroke-linecap=\"round\" /> \r\n </svg> `\r\n )}\")`,\r\n backgroundRepeat: 'no-repeat',\r\n },\r\n },\r\n },\r\n '&-item': {\r\n '.sk-menu-vertical-item-submenu': {\r\n '&-button': {\r\n '@apply gap-8': {},\r\n\r\n '&[aria-current=\"page\"], &[aria-current=\"page\"] ~ button': {\r\n '@apply font-bold': {},\r\n },\r\n },\r\n },\r\n\r\n '> a, > button': {\r\n '&[aria-current=\"page\"]': {\r\n '@apply font-bold': {},\r\n },\r\n },\r\n },\r\n },\r\n },\r\n});\r\n\r\nexport const MenuVertical = () => ({\r\n '.sk-menu-vertical': {\r\n '@apply flex flex-col': {},\r\n '@apply text-base': {},\r\n\r\n '&.hide': {\r\n '@apply hidden': {},\r\n },\r\n\r\n '&-backbutton': {\r\n '@apply flex items-center gap-16 text-lead mb-40': {},\r\n },\r\n\r\n '&-label': {\r\n '@apply mb-24': {},\r\n },\r\n\r\n '&-item': {\r\n '@apply flex flex-col': {},\r\n\r\n '&.hide': {\r\n '@apply hidden': {},\r\n },\r\n\r\n '[aria-disabled=\"true\"]': {\r\n '@apply cursor-default bg-transparent text-primitives-overlay-darken-6 dark:text-primitives-overlay-lighten-7':\r\n {},\r\n },\r\n\r\n 'a, button': {\r\n '@apply flex': {},\r\n color: 'unset',\r\n },\r\n\r\n '& > a, > button': {\r\n '@apply flex items-center min-h-44': {},\r\n\r\n '&:focus-visible': {\r\n '@apply outline outline-2 outline-ring': {},\r\n },\r\n\r\n '> *': {\r\n '@apply flex w-full py-6 pl-14': {},\r\n '@apply rounded-button cursor-pointer': {},\r\n },\r\n\r\n '&:not([aria-disabled=\"true\"]) > *': {\r\n '@apply bg-transparent text-dark-secondary': {},\r\n },\r\n\r\n '&:hover:not([aria-disabled=\"true\"]) > *': {\r\n '@apply bg-primitives-overlay-darken-3': {},\r\n },\r\n\r\n '&[aria-current=\"page\"]:not(:hover) > *': {\r\n '@apply bg-primary-surface text-light-primary': {},\r\n '@apply focus-visible:ring': {},\r\n },\r\n },\r\n\r\n '.sk-menu-vertical-item-submenu': {\r\n '@apply flex justify-between w-full': {},\r\n '@apply rounded-button': {},\r\n\r\n '&:hover': {\r\n '> a:not([aria-disabled=\"true\"]), > button:not([aria-disabled=\"true\"]), > a[aria-expanded=\"true\"]:not([aria-disabled=\"true\"]), > button[aria-expanded=\"true\"]:not([aria-disabled=\"true\"])':\r\n {\r\n '@apply text-dark-primary bg-primitives-overlay-darken-3': {},\r\n },\r\n },\r\n\r\n '&:focus-within': {\r\n '@apply outline outline-2 outline-ring': {},\r\n\r\n '.sk-menu-vertical-item-submenu-button, .sk-menu-vertical-item-submenu-button-expand': {\r\n '&:focus-visible': {\r\n '@apply ring-0 ring-offset-0 outline-0': {},\r\n },\r\n },\r\n },\r\n\r\n '&-medium &-button': {\r\n '@apply py-6 pl-14': {},\r\n },\r\n '&-large &-button': {\r\n '@apply py-10 pl-14': {},\r\n },\r\n\r\n '&-button-expand': {\r\n '@apply items-center': {},\r\n '@apply rounded-r-button rounded-l-0': {},\r\n '@apply py-10 pr-14 pl-8': {},\r\n },\r\n\r\n '&-button': {\r\n '@apply items-center': {},\r\n '@apply py-10 pl-14': {},\r\n '@apply text-left grow rounded-l-button rounded-r-0': {},\r\n\r\n '&[aria-current=\"page\"]:not(:hover), &[aria-current=\"page\"]:not(:hover) ~ button:not(:hover)': {\r\n '@apply bg-primary-surface text-light-primary': {},\r\n },\r\n\r\n '&[aria-expanded=\"true\"]': {\r\n '&:not(:hover,[aria-current=\"page\"],[aria-disabled=\"true\"]), &:not(:hover,[aria-current=\"page\"],[aria-disabled=\"true\"]) ~ button:not(:hover)':\r\n {\r\n '@apply bg-vattjom-surface-accent': {},\r\n },\r\n },\r\n },\r\n },\r\n\r\n '.sk-menu-vertical-item-tool-item': {\r\n '@apply flex items-center gap-10 p-6 rounded-groups': {},\r\n\r\n '.sk-avatar': {\r\n '@apply border-2 border-background-content': {},\r\n },\r\n },\r\n },\r\n },\r\n\r\n ...MenuVerticalNav(),\r\n ...MenuVerticalSidebar(),\r\n});\r\n"],"names":["svgToTinyDataUri","MenuVerticalNav","MenuVerticalSidebar","ul","li","backgroundImage","backgroundRepeat","MenuVertical","color"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAOA,sBAAsB,oBAAoB;AAEjD,IAAMC,kBAAkB;WAAO;QAC7B,yBAAyB;YACvB,qBAAqB;gBACnB,iBAAiB,CAAC;gBAElB,cAAc;oBACZ,4BAA4B,CAAC;gBAC/B;gBAEA,UAAU;oBACR,kCAAkC;wBAChC,oBAAoB,CAAC;wBAErB,qBAAqB;4BACnB,qBAAqB,CAAC;wBACxB;wBACA,oBAAoB;4BAClB,qBAAqB,CAAC;4BACtB,sBAAsB,CAAC;wBACzB;oBACF;gBACF;YACF;QACF;IACF;;AAEA,IAAMC,sBAAsB;WAAO;QACjC,6BAA6B;YAC3B,yBAAyB,CAAC;YAE1B,8CAA8C;gBAC5C,2CAA2C;oBACzC,mBAAmB,CAAC;gBACtB;YACF;YAEA,QAAQ;gBACN,sBAAsB,CAAC;YACzB;YAEA,q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
|
1
|
+
{"version":3,"sources":["../../../src/components/menu-vertical.ts"],"sourcesContent":["import svgToTinyDataUri from 'mini-svg-data-uri';\r\n\r\nconst MenuVerticalNav = () => ({\r\n '.sk-menu-vertical-nav': {\r\n '.sk-menu-vertical': {\r\n '@apply gap-12': {},\r\n\r\n '&.ul, & ul': {\r\n '@apply pt-12 pr-16 pb-16': {},\r\n },\r\n\r\n '&-item': {\r\n '.sk-menu-vertical-item-submenu': {\r\n '@apply font-bold': {},\r\n\r\n '&-medium &-button': {\r\n '@apply py-6 pl-14': {},\r\n },\r\n '&-large &-button': {\r\n '@apply text-large': {},\r\n '@apply py-10 pl-14': {},\r\n },\r\n },\r\n },\r\n },\r\n },\r\n});\r\n\r\nconst MenuVerticalSidebar = () => ({\r\n '.sk-menu-vertical-sidebar': {\r\n '@apply rounded-button': {},\r\n\r\n '> ul > li > .sk-menu-vertical-item-submenu': {\r\n '> .sk-menu-vertical-item-submenu-button': {\r\n '@apply min-h-52': {},\r\n },\r\n },\r\n\r\n '> ul': {\r\n '@apply py-16 px-24': {},\r\n },\r\n\r\n '.sk-menu-vertical': {\r\n '@apply gap-12': {},\r\n\r\n '&-header': {\r\n '@apply bg-primary-surface': {},\r\n\r\n '@apply rounded-t-button': {},\r\n '@apply py-20 px-32': {},\r\n\r\n '&, a': {\r\n '@apply text-light-primary': {},\r\n },\r\n\r\n '.sk-divider': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n\r\n '.sk-logo': {\r\n '@apply text-light-secondary': {},\r\n },\r\n },\r\n\r\n '&.ul, & ul': {\r\n '@apply py-8 pl-20 ml-20': {},\r\n },\r\n\r\n 'li ul': {\r\n '@apply gap-8': {},\r\n\r\n ul: {\r\n li: {\r\n '@apply text-small leading-18': {},\r\n\r\n '.sk-menu-vertical-item-submenu-button, .sk-menu-vertical-item-submenu-button-expand': {\r\n '@apply py-6 pr-14': {},\r\n },\r\n },\r\n },\r\n\r\n li: {\r\n '@apply relative -ml-4': {},\r\n\r\n // hook\r\n '&:before': {\r\n '@apply content-[\"\"] absolute inline-flex w-20 h-44 -top-8 -left-16': {},\r\n\r\n backgroundImage: `url(\"${svgToTinyDataUri(\r\n `<svg width=\"16\" height=\"52\" viewBox=\"0 0 16 52\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M1 17V17C1 24.1797 6.8203 30 14 30H15\" stroke=\"#B7B7BA\" stroke-linecap=\"round\" />\r\n </svg>`\r\n )}\")`,\r\n backgroundRepeat: 'no-repeat',\r\n },\r\n\r\n // line\r\n '&:not(:last-child):after': {\r\n '@apply content-[\"\"] absolute inline-flex w-20 -top-8 bottom-0 -left-16': {},\r\n\r\n backgroundImage: `url(\"${svgToTinyDataUri(\r\n `<svg width=\"16\" viewBox=\"0 0 16 52\" xmlns=\"http://www.w3.org/2000/svg\"> \r\n <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"52\" stroke=\"#B7B7BA\" stroke-linecap=\"round\" /> \r\n </svg> `\r\n )}\")`,\r\n backgroundRepeat: 'repeat-y',\r\n },\r\n\r\n // lastline\r\n '&:last-child:after': {\r\n '@apply content-[\"\"] absolute inline-flex w-20 -top-8 bottom-0 -left-16': {},\r\n\r\n backgroundImage: `url(\"${svgToTinyDataUri(\r\n `<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" xmlns=\"http://www.w3.org/2000/svg\"> \r\n <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"17\" stroke=\"#B7B7BA\" stroke-linecap=\"round\" /> \r\n </svg> `\r\n )}\")`,\r\n backgroundRepeat: 'no-repeat',\r\n },\r\n },\r\n },\r\n '&-item': {\r\n '.sk-menu-vertical-item-submenu': {\r\n '&-button': {\r\n '@apply gap-8': {},\r\n\r\n '&[aria-current=\"page\"], &[aria-current=\"page\"] ~ button': {\r\n '@apply font-bold': {},\r\n },\r\n },\r\n },\r\n\r\n '> a, > button': {\r\n '&[aria-current=\"page\"]': {\r\n '@apply font-bold': {},\r\n },\r\n },\r\n },\r\n },\r\n },\r\n});\r\n\r\nexport const MenuVertical = () => ({\r\n '.sk-menu-vertical': {\r\n '@apply flex flex-col': {},\r\n '@apply text-base': {},\r\n\r\n '&.hide': {\r\n '@apply hidden': {},\r\n },\r\n\r\n '&-backbutton': {\r\n '@apply flex items-center gap-16 text-lead mb-40': {},\r\n },\r\n\r\n '&-label': {\r\n '@apply mb-24': {},\r\n },\r\n\r\n '&-item': {\r\n '@apply flex flex-col': {},\r\n\r\n '&.hide': {\r\n '@apply hidden': {},\r\n },\r\n\r\n '[aria-disabled=\"true\"]': {\r\n '@apply cursor-default bg-transparent text-primitives-overlay-darken-6 dark:text-primitives-overlay-lighten-7':\r\n {},\r\n },\r\n\r\n 'a, button': {\r\n '@apply flex': {},\r\n color: 'unset',\r\n },\r\n\r\n '& > a, > button': {\r\n '@apply flex items-center min-h-44': {},\r\n\r\n '&:focus-visible': {\r\n '@apply outline outline-2 outline-ring': {},\r\n },\r\n\r\n '> *': {\r\n '@apply flex w-full py-6 pl-14': {},\r\n '@apply rounded-button cursor-pointer': {},\r\n },\r\n\r\n '&:not([aria-disabled=\"true\"]) > *': {\r\n '@apply bg-transparent text-dark-secondary': {},\r\n },\r\n\r\n '&:hover:not([aria-disabled=\"true\"]) > *': {\r\n '@apply bg-primitives-overlay-darken-3': {},\r\n },\r\n\r\n '&[aria-current=\"page\"]:not(:hover) > *': {\r\n '@apply bg-primary-surface text-light-primary': {},\r\n '@apply focus-visible:ring': {},\r\n },\r\n },\r\n\r\n '.sk-menu-vertical-item-submenu': {\r\n '@apply flex justify-between w-full': {},\r\n '@apply rounded-button': {},\r\n\r\n '&:hover': {\r\n '> a:not([aria-disabled=\"true\"]), > button:not([aria-disabled=\"true\"]), > a[aria-expanded=\"true\"]:not([aria-disabled=\"true\"]), > button[aria-expanded=\"true\"]:not([aria-disabled=\"true\"])':\r\n {\r\n '@apply text-dark-primary bg-primitives-overlay-darken-3': {},\r\n },\r\n },\r\n\r\n '&:focus-within': {\r\n '@apply outline outline-2 outline-ring': {},\r\n\r\n '.sk-menu-vertical-item-submenu-button, .sk-menu-vertical-item-submenu-button-expand': {\r\n '&:focus-visible': {\r\n '@apply ring-0 ring-offset-0 outline-0': {},\r\n },\r\n },\r\n },\r\n\r\n '&-medium &-button': {\r\n '@apply py-6 pl-14': {},\r\n },\r\n '&-large &-button': {\r\n '@apply py-10 pl-14': {},\r\n },\r\n\r\n '&-button-expand': {\r\n '@apply items-center': {},\r\n '@apply rounded-r-button rounded-l-0': {},\r\n '@apply py-10 pr-14 pl-8': {},\r\n },\r\n\r\n '&-button': {\r\n '@apply items-center': {},\r\n '@apply py-10 pl-14': {},\r\n '@apply text-left grow rounded-l-button rounded-r-0': {},\r\n\r\n '&[aria-current=\"page\"]:not(:hover), &[aria-current=\"page\"]:not(:hover) ~ button:not(:hover)': {\r\n '@apply bg-primary-surface text-light-primary': {},\r\n },\r\n\r\n '&[aria-expanded=\"true\"]': {\r\n '&:not(:hover,[aria-current=\"page\"],[aria-disabled=\"true\"]), &:not(:hover,[aria-current=\"page\"],[aria-disabled=\"true\"]) ~ button:not(:hover)':\r\n {\r\n '@apply bg-vattjom-surface-accent': {},\r\n },\r\n },\r\n },\r\n },\r\n\r\n '.sk-menu-vertical-item-tool-item': {\r\n '@apply flex items-center gap-10 p-6 rounded-groups': {},\r\n\r\n '.sk-avatar': {\r\n '@apply border-2 border-background-content': {},\r\n },\r\n },\r\n },\r\n },\r\n\r\n ...MenuVerticalNav(),\r\n ...MenuVerticalSidebar(),\r\n});\r\n"],"names":["svgToTinyDataUri","MenuVerticalNav","MenuVerticalSidebar","ul","li","backgroundImage","backgroundRepeat","MenuVertical","color"],"mappings":"AAAA,OAAOA,sBAAsB,oBAAoB;AAEjD,MAAMC,kBAAkB,IAAO,CAAA;QAC7B,yBAAyB;YACvB,qBAAqB;gBACnB,iBAAiB,CAAC;gBAElB,cAAc;oBACZ,4BAA4B,CAAC;gBAC/B;gBAEA,UAAU;oBACR,kCAAkC;wBAChC,oB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