@sk-web-gui/core 3.10.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/aria-plugin.js +101 -1
- package/dist/cjs/aria-plugin.js.map +1 -1
- package/dist/cjs/base.js +60 -1
- package/dist/cjs/base.js.map +1 -1
- package/dist/cjs/colors.js +724 -1
- package/dist/cjs/colors.js.map +1 -1
- package/dist/cjs/components/accordion.js +211 -1
- package/dist/cjs/components/accordion.js.map +1 -1
- package/dist/cjs/components/ai/ai-corner-module.js +344 -1
- package/dist/cjs/components/ai/ai-corner-module.js.map +1 -1
- package/dist/cjs/components/ai/ai-feed.js +74 -1
- package/dist/cjs/components/ai/ai-feed.js.map +1 -1
- package/dist/cjs/components/ai/ai-service-module.js +225 -1
- package/dist/cjs/components/ai/ai-service-module.js.map +1 -1
- package/dist/cjs/components/ai/assistant-presentation.js +65 -1
- package/dist/cjs/components/ai/assistant-presentation.js.map +1 -1
- package/dist/cjs/components/ai/assistant-switch.js +58 -1
- package/dist/cjs/components/ai/assistant-switch.js.map +1 -1
- package/dist/cjs/components/ai/bubble.js +127 -1
- package/dist/cjs/components/ai/bubble.js.map +1 -1
- package/dist/cjs/components/ai/feedback.js +40 -1
- package/dist/cjs/components/ai/feedback.js.map +1 -1
- package/dist/cjs/components/ai/input-section.js +34 -1
- package/dist/cjs/components/ai/input-section.js.map +1 -1
- package/dist/cjs/components/ai/markdown-rendered.js +33 -1
- package/dist/cjs/components/ai/markdown-rendered.js.map +1 -1
- package/dist/cjs/components/ai/new-session-button.js +29 -1
- package/dist/cjs/components/ai/new-session-button.js.map +1 -1
- package/dist/cjs/components/ai/typing-bubble.js +31 -1
- package/dist/cjs/components/ai/typing-bubble.js.map +1 -1
- package/dist/cjs/components/ai/typing-sequence.js +91 -1
- package/dist/cjs/components/ai/typing-sequence.js.map +1 -1
- package/dist/cjs/components/avatar.js +104 -1
- package/dist/cjs/components/avatar.js.map +1 -1
- package/dist/cjs/components/badge.js +93 -1
- package/dist/cjs/components/badge.js.map +1 -1
- package/dist/cjs/components/breadcrumb.js +49 -1
- package/dist/cjs/components/breadcrumb.js.map +1 -1
- package/dist/cjs/components/button-group.js +38 -1
- package/dist/cjs/components/button-group.js.map +1 -1
- package/dist/cjs/components/button.js +306 -1
- package/dist/cjs/components/button.js.map +1 -1
- package/dist/cjs/components/callout.js +96 -1
- package/dist/cjs/components/callout.js.map +1 -1
- package/dist/cjs/components/card.js +282 -1
- package/dist/cjs/components/card.js.map +1 -1
- package/dist/cjs/components/checkbox.js +141 -1
- package/dist/cjs/components/checkbox.js.map +1 -1
- package/dist/cjs/components/chip.js +50 -1
- package/dist/cjs/components/chip.js.map +1 -1
- package/dist/cjs/components/code.js +22 -1
- package/dist/cjs/components/code.js.map +1 -1
- package/dist/cjs/components/combobox.js +102 -1
- package/dist/cjs/components/combobox.js.map +1 -1
- package/dist/cjs/components/cookie-consent.js +54 -1
- package/dist/cjs/components/cookie-consent.js.map +1 -1
- package/dist/cjs/components/dialog.js +82 -1
- package/dist/cjs/components/dialog.js.map +1 -1
- package/dist/cjs/components/divider.js +63 -1
- package/dist/cjs/components/divider.js.map +1 -1
- package/dist/cjs/components/dot.js +115 -1
- package/dist/cjs/components/dot.js.map +1 -1
- package/dist/cjs/components/file-upload.js +230 -1
- package/dist/cjs/components/file-upload.js.map +1 -1
- package/dist/cjs/components/filter.js +27 -1
- package/dist/cjs/components/filter.js.map +1 -1
- package/dist/cjs/components/footer.js +44 -1
- package/dist/cjs/components/footer.js.map +1 -1
- package/dist/cjs/components/forms.js +37 -1
- package/dist/cjs/components/forms.js.map +1 -1
- package/dist/cjs/components/header.js +41 -1
- package/dist/cjs/components/header.js.map +1 -1
- package/dist/cjs/components/icon.js +117 -1
- package/dist/cjs/components/icon.js.map +1 -1
- package/dist/cjs/components/input.js +302 -1
- package/dist/cjs/components/input.js.map +1 -1
- package/dist/cjs/components/kbd.js +20 -1
- package/dist/cjs/components/kbd.js.map +1 -1
- package/dist/cjs/components/label.js +96 -1
- package/dist/cjs/components/label.js.map +1 -1
- package/dist/cjs/components/link.js +62 -1
- package/dist/cjs/components/link.js.map +1 -1
- package/dist/cjs/components/list.js +66 -1
- package/dist/cjs/components/list.js.map +1 -1
- package/dist/cjs/components/logo.js +61 -1
- package/dist/cjs/components/logo.js.map +1 -1
- package/dist/cjs/components/menu-vertical.js +256 -1
- package/dist/cjs/components/menu-vertical.js.map +1 -1
- package/dist/cjs/components/menubar.js +104 -1
- package/dist/cjs/components/menubar.js.map +1 -1
- package/dist/cjs/components/modal.js +61 -1
- package/dist/cjs/components/modal.js.map +1 -1
- package/dist/cjs/components/pagination.js +114 -1
- package/dist/cjs/components/pagination.js.map +1 -1
- package/dist/cjs/components/popup-menu.js +153 -1
- package/dist/cjs/components/popup-menu.js.map +1 -1
- package/dist/cjs/components/progress-bar.js +82 -1
- package/dist/cjs/components/progress-bar.js.map +1 -1
- package/dist/cjs/components/progress-stepper.js +83 -1
- package/dist/cjs/components/progress-stepper.js.map +1 -1
- package/dist/cjs/components/radio.js +143 -1
- package/dist/cjs/components/radio.js.map +1 -1
- package/dist/cjs/components/search-field.js +48 -1
- package/dist/cjs/components/search-field.js.map +1 -1
- package/dist/cjs/components/select.js +267 -1
- package/dist/cjs/components/select.js.map +1 -1
- package/dist/cjs/components/snackbar.js +43 -1
- package/dist/cjs/components/snackbar.js.map +1 -1
- package/dist/cjs/components/spinner.js +82 -1
- package/dist/cjs/components/spinner.js.map +1 -1
- package/dist/cjs/components/switch.js +93 -1
- package/dist/cjs/components/switch.js.map +1 -1
- package/dist/cjs/components/table.js +308 -1
- package/dist/cjs/components/table.js.map +1 -1
- package/dist/cjs/components/tabs.js +128 -1
- package/dist/cjs/components/tabs.js.map +1 -1
- package/dist/cjs/components/tooltip.js +71 -1
- package/dist/cjs/components/tooltip.js.map +1 -1
- package/dist/cjs/components/user-menu.js +27 -1
- package/dist/cjs/components/user-menu.js.map +1 -1
- package/dist/cjs/components.js +415 -1
- package/dist/cjs/components.js.map +1 -1
- package/dist/cjs/data-plugin.js +67 -1
- package/dist/cjs/data-plugin.js.map +1 -1
- package/dist/cjs/fonts.js +19 -1
- package/dist/cjs/fonts.js.map +1 -1
- package/dist/cjs/index.js +38 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/plugin.js +144 -1
- package/dist/cjs/plugin.js.map +1 -1
- package/dist/cjs/preset.js +164 -1
- package/dist/cjs/preset.js.map +1 -1
- package/dist/cjs/theme.js +209 -1
- package/dist/cjs/theme.js.map +1 -1
- package/dist/cjs/units.js +415 -1
- package/dist/cjs/units.js.map +1 -1
- package/dist/cjs/with-opacity.js +19 -1
- package/dist/cjs/with-opacity.js.map +1 -1
- package/dist/esm/aria-plugin.js +86 -1
- package/dist/esm/aria-plugin.js.map +1 -1
- package/dist/esm/base.js +51 -1
- package/dist/esm/base.js.map +1 -1
- package/dist/esm/colors.js +715 -1
- package/dist/esm/colors.js.map +1 -1
- package/dist/esm/components/accordion.js +201 -1
- package/dist/esm/components/accordion.js.map +1 -1
- package/dist/esm/components/ai/ai-corner-module.js +334 -1
- package/dist/esm/components/ai/ai-corner-module.js.map +1 -1
- package/dist/esm/components/ai/ai-feed.js +64 -1
- package/dist/esm/components/ai/ai-feed.js.map +1 -1
- package/dist/esm/components/ai/ai-service-module.js +215 -1
- package/dist/esm/components/ai/ai-service-module.js.map +1 -1
- package/dist/esm/components/ai/assistant-presentation.js +55 -1
- package/dist/esm/components/ai/assistant-presentation.js.map +1 -1
- package/dist/esm/components/ai/assistant-switch.js +48 -1
- package/dist/esm/components/ai/assistant-switch.js.map +1 -1
- package/dist/esm/components/ai/bubble.js +117 -1
- package/dist/esm/components/ai/bubble.js.map +1 -1
- package/dist/esm/components/ai/feedback.js +30 -1
- package/dist/esm/components/ai/feedback.js.map +1 -1
- package/dist/esm/components/ai/input-section.js +24 -1
- package/dist/esm/components/ai/input-section.js.map +1 -1
- package/dist/esm/components/ai/markdown-rendered.js +23 -1
- package/dist/esm/components/ai/markdown-rendered.js.map +1 -1
- package/dist/esm/components/ai/new-session-button.js +19 -1
- package/dist/esm/components/ai/new-session-button.js.map +1 -1
- package/dist/esm/components/ai/typing-bubble.js +21 -1
- package/dist/esm/components/ai/typing-bubble.js.map +1 -1
- package/dist/esm/components/ai/typing-sequence.js +81 -1
- package/dist/esm/components/ai/typing-sequence.js.map +1 -1
- package/dist/esm/components/avatar.js +94 -1
- package/dist/esm/components/avatar.js.map +1 -1
- package/dist/esm/components/badge.js +83 -1
- package/dist/esm/components/badge.js.map +1 -1
- package/dist/esm/components/breadcrumb.js +39 -1
- package/dist/esm/components/breadcrumb.js.map +1 -1
- package/dist/esm/components/button-group.js +28 -1
- package/dist/esm/components/button-group.js.map +1 -1
- package/dist/esm/components/button.js +296 -1
- package/dist/esm/components/button.js.map +1 -1
- package/dist/esm/components/callout.js +86 -1
- package/dist/esm/components/callout.js.map +1 -1
- package/dist/esm/components/card.js +272 -1
- package/dist/esm/components/card.js.map +1 -1
- package/dist/esm/components/checkbox.js +131 -1
- package/dist/esm/components/checkbox.js.map +1 -1
- package/dist/esm/components/chip.js +40 -1
- package/dist/esm/components/chip.js.map +1 -1
- package/dist/esm/components/code.js +12 -1
- package/dist/esm/components/code.js.map +1 -1
- package/dist/esm/components/combobox.js +92 -1
- package/dist/esm/components/combobox.js.map +1 -1
- package/dist/esm/components/cookie-consent.js +44 -1
- package/dist/esm/components/cookie-consent.js.map +1 -1
- package/dist/esm/components/dialog.js +72 -1
- package/dist/esm/components/dialog.js.map +1 -1
- package/dist/esm/components/divider.js +53 -1
- package/dist/esm/components/divider.js.map +1 -1
- package/dist/esm/components/dot.js +105 -1
- package/dist/esm/components/dot.js.map +1 -1
- package/dist/esm/components/file-upload.js +220 -1
- package/dist/esm/components/file-upload.js.map +1 -1
- package/dist/esm/components/filter.js +17 -1
- package/dist/esm/components/filter.js.map +1 -1
- package/dist/esm/components/footer.js +34 -1
- package/dist/esm/components/footer.js.map +1 -1
- package/dist/esm/components/forms.js +27 -1
- package/dist/esm/components/forms.js.map +1 -1
- package/dist/esm/components/header.js +31 -1
- package/dist/esm/components/header.js.map +1 -1
- package/dist/esm/components/icon.js +107 -1
- package/dist/esm/components/icon.js.map +1 -1
- package/dist/esm/components/input.js +292 -1
- package/dist/esm/components/input.js.map +1 -1
- package/dist/esm/components/kbd.js +10 -1
- package/dist/esm/components/kbd.js.map +1 -1
- package/dist/esm/components/label.js +86 -1
- package/dist/esm/components/label.js.map +1 -1
- package/dist/esm/components/link.js +52 -1
- package/dist/esm/components/link.js.map +1 -1
- package/dist/esm/components/list.js +56 -1
- package/dist/esm/components/list.js.map +1 -1
- package/dist/esm/components/logo.js +51 -1
- package/dist/esm/components/logo.js.map +1 -1
- package/dist/esm/components/menu-vertical.js +241 -1
- package/dist/esm/components/menu-vertical.js.map +1 -1
- package/dist/esm/components/menubar.js +94 -1
- package/dist/esm/components/menubar.js.map +1 -1
- package/dist/esm/components/modal.js +51 -1
- package/dist/esm/components/modal.js.map +1 -1
- package/dist/esm/components/pagination.js +104 -1
- package/dist/esm/components/pagination.js.map +1 -1
- package/dist/esm/components/popup-menu.js +143 -1
- package/dist/esm/components/popup-menu.js.map +1 -1
- package/dist/esm/components/progress-bar.js +72 -1
- package/dist/esm/components/progress-bar.js.map +1 -1
- package/dist/esm/components/progress-stepper.js +73 -1
- package/dist/esm/components/progress-stepper.js.map +1 -1
- package/dist/esm/components/radio.js +133 -1
- package/dist/esm/components/radio.js.map +1 -1
- package/dist/esm/components/search-field.js +38 -1
- package/dist/esm/components/search-field.js.map +1 -1
- package/dist/esm/components/select.js +257 -1
- package/dist/esm/components/select.js.map +1 -1
- package/dist/esm/components/snackbar.js +33 -1
- package/dist/esm/components/snackbar.js.map +1 -1
- package/dist/esm/components/spinner.js +72 -1
- package/dist/esm/components/spinner.js.map +1 -1
- package/dist/esm/components/switch.js +83 -1
- package/dist/esm/components/switch.js.map +1 -1
- package/dist/esm/components/table.js +298 -1
- package/dist/esm/components/table.js.map +1 -1
- package/dist/esm/components/tabs.js +118 -1
- package/dist/esm/components/tabs.js.map +1 -1
- package/dist/esm/components/tooltip.js +61 -1
- package/dist/esm/components/tooltip.js.map +1 -1
- package/dist/esm/components/user-menu.js +17 -1
- package/dist/esm/components/user-menu.js.map +1 -1
- package/dist/esm/components.js +407 -1
- package/dist/esm/components.js.map +1 -1
- package/dist/esm/data-plugin.js +52 -1
- package/dist/esm/data-plugin.js.map +1 -1
- package/dist/esm/fonts.js +9 -1
- package/dist/esm/fonts.js.map +1 -1
- package/dist/esm/index.js +7 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/plugin.js +121 -1
- package/dist/esm/plugin.js.map +1 -1
- package/dist/esm/preset.js +109 -1
- package/dist/esm/preset.js.map +1 -1
- package/dist/esm/theme.js +195 -1
- package/dist/esm/theme.js.map +1 -1
- package/dist/esm/units.js +406 -1
- package/dist/esm/units.js.map +1 -1
- package/dist/esm/with-opacity.js +9 -1
- package/dist/esm/with-opacity.js.map +1 -1
- package/dist/types/components/checkbox.d.ts +19 -3
- package/dist/types/components/input.d.ts +12 -0
- package/dist/types/components/radio.d.ts +8 -0
- package/dist/types/components/select.d.ts +7 -0
- package/package.json +10 -8
|
@@ -1,2 +1,216 @@
|
|
|
1
|
-
function _define_property(obj,key,
|
|
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
|
+
export var AIServiceModule = function(colors) {
|
|
54
|
+
return {
|
|
55
|
+
'.sk-ai-service-module': {
|
|
56
|
+
'@apply flex gap-0': {},
|
|
57
|
+
'@apply rounded-groups': {},
|
|
58
|
+
'@apply bg-background-content': {},
|
|
59
|
+
'@apply relative': {},
|
|
60
|
+
'@apply z-10': {},
|
|
61
|
+
'&[data-inverted="true"]': {
|
|
62
|
+
'@apply text-inverted-dark-primary': {},
|
|
63
|
+
'@apply bg-inverted-background-content': {}
|
|
64
|
+
},
|
|
65
|
+
'&[data-variant="secondary"]': {
|
|
66
|
+
'@apply border-1 border-divider': {},
|
|
67
|
+
'@apply bg-transparent': {},
|
|
68
|
+
'@apply flex-col': {}
|
|
69
|
+
},
|
|
70
|
+
'&[data-variant="primary"]': {
|
|
71
|
+
'@apply shadow-100': {}
|
|
72
|
+
},
|
|
73
|
+
'&-row': _object_spread({
|
|
74
|
+
'@apply flex flex-col': {},
|
|
75
|
+
'@apply grow shrink': {},
|
|
76
|
+
'@apply bg-transparent': {},
|
|
77
|
+
'&[data-variant="primary"]': {
|
|
78
|
+
'@apply p-16 md:p-32': {},
|
|
79
|
+
'@apply first:rounded-l-groups': {},
|
|
80
|
+
'@apply last:rounded-r-groups': {}
|
|
81
|
+
},
|
|
82
|
+
'&[data-variant="secondary"]': {
|
|
83
|
+
'@apply px-24 md:px-32 pb-20': {},
|
|
84
|
+
'@apply first:pt-24 first:md:pt-32': {},
|
|
85
|
+
'@apply last:pb-24 last:md:pb-32': {},
|
|
86
|
+
'@apply first:rounded-t-groups': {},
|
|
87
|
+
'@apply last:rounded-b-groups': {}
|
|
88
|
+
}
|
|
89
|
+
}, colors.reduce(function(styles, color) {
|
|
90
|
+
var _obj, _obj1;
|
|
91
|
+
return _object_spread_props(_object_spread({}, styles), _define_property({}, '&[data-color="'.concat(color, '"]'), (_obj1 = {}, _define_property(_obj1, "@apply bg-".concat(color, "-surface-primary"), {}), _define_property(_obj1, '@apply text-light-primary', {}), _define_property(_obj1, '&[data-inverted="true"]', (_obj = {}, _define_property(_obj, "@apply bg-inverted-".concat(color, "-surface-primary"), {}), _define_property(_obj, '@apply text-inverted-light-primary', {}), _obj)), _obj1)));
|
|
92
|
+
}, {})),
|
|
93
|
+
'&-content': {
|
|
94
|
+
'@apply flex flex-col gap-6 md:gap-24': {},
|
|
95
|
+
'@apply p-4 md:p-8': {},
|
|
96
|
+
'@apply w-full': {},
|
|
97
|
+
'&[data-variant="secondary"]': {
|
|
98
|
+
'@apply md:gap-16': {},
|
|
99
|
+
'@apply py-4 md:py-8 px-24 md:px-48': {}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
'&-header': {
|
|
103
|
+
'@apply relative': {},
|
|
104
|
+
'&, > *': {
|
|
105
|
+
'@apply font-header text-display-3-sm md:text-display-3-md xl:text-display-3-lg': {}
|
|
106
|
+
},
|
|
107
|
+
'&[data-variant="secondary"], &[data-variant="secondary"] > *': {
|
|
108
|
+
'@apply font-header text-h2-sm md:text-h2-md': {}
|
|
109
|
+
},
|
|
110
|
+
'&-icon': _object_spread({
|
|
111
|
+
'@apply absolute -left-52 -top-2': {},
|
|
112
|
+
'.sk-icon, svg': {
|
|
113
|
+
'@apply h-40 w-40': {}
|
|
114
|
+
}
|
|
115
|
+
}, colors.reduce(function(styles, color) {
|
|
116
|
+
var _obj;
|
|
117
|
+
return _object_spread_props(_object_spread({}, styles), _define_property({}, '&[data-color="'.concat(color, '"]'), (_obj = {}, _define_property(_obj, "@apply text-".concat(color, "-surface-primary"), {}), _define_property(_obj, '&[data-inverted="true"]', _define_property({}, "@apply text-inverted-".concat(color, "-surface-primary"), {})), _obj)));
|
|
118
|
+
}, {}))
|
|
119
|
+
},
|
|
120
|
+
'&-form': {
|
|
121
|
+
'@apply w-full': {},
|
|
122
|
+
'@apply flex flex-col': {},
|
|
123
|
+
'@apply gap-8': {},
|
|
124
|
+
'@apply relative': {},
|
|
125
|
+
'&-control': {
|
|
126
|
+
'@apply w-full': {}
|
|
127
|
+
},
|
|
128
|
+
'&-label': {
|
|
129
|
+
'@apply text-label-large': {}
|
|
130
|
+
},
|
|
131
|
+
'&-error': {
|
|
132
|
+
'@apply text-small': {}
|
|
133
|
+
},
|
|
134
|
+
'&-input': {
|
|
135
|
+
'@apply w-full': {},
|
|
136
|
+
'&-group': {
|
|
137
|
+
'@apply w-full': {},
|
|
138
|
+
'.sk-form-input-addin-right': {
|
|
139
|
+
'@apply pr-8': {}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
'&-wrapper': {
|
|
143
|
+
'@apply relative': {},
|
|
144
|
+
'@apply w-full h-48': {}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
'&-readmore': {
|
|
148
|
+
'@apply text-small': {},
|
|
149
|
+
'@apply text-light-secondary': {},
|
|
150
|
+
'&[data-inverted="true"]': {
|
|
151
|
+
'@apply text-inverted-light-secondary': {}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
'&-assistant': {
|
|
156
|
+
'&-expanded': {
|
|
157
|
+
'@apply z-20': {},
|
|
158
|
+
'@apply h-[35em] max-h-[35em]': {},
|
|
159
|
+
'@apply rounded-button': {},
|
|
160
|
+
'@apply overflow-hidden': {},
|
|
161
|
+
'@apply flex flex-col gap-0': {},
|
|
162
|
+
'@apply shadow-200': {},
|
|
163
|
+
'@apply bg-background-content': {},
|
|
164
|
+
'@apply absolute top-0 left-0 right-0': {},
|
|
165
|
+
'&-feed': {
|
|
166
|
+
'@apply shrink grow': {},
|
|
167
|
+
'@apply pl-16 pt-16 pr-48 pb-24': {},
|
|
168
|
+
'@apply max-h-full overflow-y-auto': {},
|
|
169
|
+
'@apply text-dark-primary': {},
|
|
170
|
+
'sk-ai-markdown': {
|
|
171
|
+
'@apply text-dark-secondary': {}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
'&[data-inverted="true"]': {
|
|
175
|
+
'@apply bg-inverted-background-content': {},
|
|
176
|
+
'.sk-ai-service-module-feed': {
|
|
177
|
+
'@apply text-inverted-dark-primary': {},
|
|
178
|
+
'sk-ai-markdown': {
|
|
179
|
+
'@apply text-inverted-dark-secondary': {}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
'&-close-button': {
|
|
184
|
+
'@apply absolute right-12 top-12': {}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
'&-questions': {
|
|
189
|
+
'@apply flex flex-col gap-12': {},
|
|
190
|
+
'@apply pb-8': {},
|
|
191
|
+
'@apply text-dark-primary': {},
|
|
192
|
+
'&-title, &-title > *': {
|
|
193
|
+
'@apply text-label-large': {}
|
|
194
|
+
},
|
|
195
|
+
'&-list': {
|
|
196
|
+
'@apply flex flex-col gap-8': {}
|
|
197
|
+
},
|
|
198
|
+
'&[data-inverted="true"]': {
|
|
199
|
+
'@apply text-inverted-dark-primary': {}
|
|
200
|
+
},
|
|
201
|
+
'&[data-variant="primary"]': {
|
|
202
|
+
'@apply w-[22.5em] max-w-[22.5em] min-w-[22.5em]': {}
|
|
203
|
+
},
|
|
204
|
+
'&[data-variant="secondary"]': {
|
|
205
|
+
'@apply w-full': {},
|
|
206
|
+
'@apply px-24 md:px-48': {},
|
|
207
|
+
'.sk-ai-service-module-questions-list': {
|
|
208
|
+
'@apply flex-row flex-wrap': {}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
|
|
2
216
|
//# sourceMappingURL=ai-service-module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ai/ai-service-module.ts"],"sourcesContent":["export const AIServiceModule = (colors: string[]) => ({\n '.sk-ai-service-module': {\n '@apply flex gap-0': {},\n '@apply rounded-groups': {},\n '@apply bg-background-content': {},\n '@apply relative': {},\n '@apply z-10': {},\n\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-dark-primary': {},\n '@apply bg-inverted-background-content': {},\n },\n\n '&[data-variant=\"secondary\"]': {\n '@apply border-1 border-divider': {},\n '@apply bg-transparent': {},\n '@apply flex-col': {},\n },\n '&[data-variant=\"primary\"]': {\n '@apply shadow-100': {},\n },\n '&-row': {\n '@apply flex flex-col': {},\n '@apply grow shrink': {},\n '@apply bg-transparent': {},\n '&[data-variant=\"primary\"]': {\n '@apply p-16 md:p-32': {},\n '@apply first:rounded-l-groups': {},\n '@apply last:rounded-r-groups': {},\n },\n '&[data-variant=\"secondary\"]': {\n '@apply px-24 md:px-32 pb-20': {},\n '@apply first:pt-24 first:md:pt-32': {},\n '@apply last:pb-24 last:md:pb-32': {},\n '@apply first:rounded-t-groups': {},\n '@apply last:rounded-b-groups': {},\n },\n\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n [`&[data-color=\"${color}\"]`]: {\n [`@apply bg-${color}-surface-primary`]: {},\n '@apply text-light-primary': {},\n '&[data-inverted=\"true\"]': {\n [`@apply bg-inverted-${color}-surface-primary`]: {},\n '@apply text-inverted-light-primary': {},\n },\n },\n }),\n {}\n ),\n },\n\n '&-content': {\n '@apply flex flex-col gap-6 md:gap-24': {},\n '@apply p-4 md:p-8': {},\n '@apply w-full': {},\n '&[data-variant=\"secondary\"]': {\n '@apply md:gap-16': {},\n '@apply py-4 md:py-8 px-24 md:px-48': {},\n },\n },\n\n '&-header': {\n '@apply relative': {},\n '&, > *': {\n '@apply font-header text-display-3-sm md:text-display-3-md xl:text-display-3-lg': {},\n },\n '&[data-variant=\"secondary\"], &[data-variant=\"secondary\"] > *': {\n '@apply font-header text-h2-sm md:text-h2-md': {},\n },\n '&-icon': {\n '@apply absolute -left-52 -top-2': {},\n '.sk-icon, svg': {\n '@apply h-40 w-40': {},\n },\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n [`&[data-color=\"${color}\"]`]: {\n [`@apply text-${color}-surface-primary`]: {},\n '&[data-inverted=\"true\"]': {\n [`@apply text-inverted-${color}-surface-primary`]: {},\n },\n },\n }),\n {}\n ),\n },\n },\n\n '&-form': {\n '@apply w-full': {},\n '@apply flex flex-col': {},\n '@apply gap-8': {},\n '@apply relative': {},\n\n '&-control': {\n '@apply w-full': {},\n },\n\n '&-label': {\n '@apply text-label-large': {},\n },\n\n '&-error': {\n '@apply text-small': {},\n },\n '&-input': {\n '@apply w-full': {},\n '&-group': {\n '@apply w-full': {},\n '.sk-form-input-addin-right': {\n '@apply pr-8': {},\n },\n },\n '&-wrapper': {\n '@apply relative': {},\n '@apply w-full h-48': {},\n },\n },\n\n '&-readmore': {\n '@apply text-small': {},\n '@apply text-light-secondary': {},\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-light-secondary': {},\n },\n },\n },\n\n '&-assistant': {\n '&-expanded': {\n '@apply z-20': {},\n '@apply h-[35em] max-h-[35em]': {},\n '@apply rounded-button': {},\n '@apply overflow-hidden': {},\n '@apply flex flex-col gap-0': {},\n '@apply shadow-200': {},\n '@apply bg-background-content': {},\n '@apply absolute top-0 left-0 right-0': {},\n\n '&-feed': {\n '@apply shrink grow': {},\n '@apply pl-16 pt-16 pr-48 pb-24': {},\n '@apply max-h-full overflow-y-auto': {},\n '@apply text-dark-primary': {},\n 'sk-ai-markdown': {\n '@apply text-dark-secondary': {},\n },\n },\n\n '&[data-inverted=\"true\"]': {\n '@apply bg-inverted-background-content': {},\n '.sk-ai-service-module-feed': {\n '@apply text-inverted-dark-primary': {},\n 'sk-ai-markdown': {\n '@apply text-inverted-dark-secondary': {},\n },\n },\n },\n '&-close-button': {\n '@apply absolute right-12 top-12': {},\n },\n },\n },\n\n '&-questions': {\n '@apply flex flex-col gap-12': {},\n '@apply pb-8': {},\n '@apply text-dark-primary': {},\n '&-title, &-title > *': {\n '@apply text-label-large': {},\n },\n '&-list': {\n '@apply flex flex-col gap-8': {},\n },\n\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-dark-primary': {},\n },\n '&[data-variant=\"primary\"]': {\n '@apply w-[22.5em] max-w-[22.5em] min-w-[22.5em]': {},\n },\n '&[data-variant=\"secondary\"]': {\n '@apply w-full': {},\n '@apply px-24 md:px-48': {},\n '.sk-ai-service-module-questions-list': {\n '@apply flex-row flex-wrap': {},\n },\n },\n },\n },\n});\n"],"names":["AIServiceModule","colors","reduce","styles","color"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ai/ai-service-module.ts"],"sourcesContent":["export const AIServiceModule = (colors: string[]) => ({\n '.sk-ai-service-module': {\n '@apply flex gap-0': {},\n '@apply rounded-groups': {},\n '@apply bg-background-content': {},\n '@apply relative': {},\n '@apply z-10': {},\n\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-dark-primary': {},\n '@apply bg-inverted-background-content': {},\n },\n\n '&[data-variant=\"secondary\"]': {\n '@apply border-1 border-divider': {},\n '@apply bg-transparent': {},\n '@apply flex-col': {},\n },\n '&[data-variant=\"primary\"]': {\n '@apply shadow-100': {},\n },\n '&-row': {\n '@apply flex flex-col': {},\n '@apply grow shrink': {},\n '@apply bg-transparent': {},\n '&[data-variant=\"primary\"]': {\n '@apply p-16 md:p-32': {},\n '@apply first:rounded-l-groups': {},\n '@apply last:rounded-r-groups': {},\n },\n '&[data-variant=\"secondary\"]': {\n '@apply px-24 md:px-32 pb-20': {},\n '@apply first:pt-24 first:md:pt-32': {},\n '@apply last:pb-24 last:md:pb-32': {},\n '@apply first:rounded-t-groups': {},\n '@apply last:rounded-b-groups': {},\n },\n\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n [`&[data-color=\"${color}\"]`]: {\n [`@apply bg-${color}-surface-primary`]: {},\n '@apply text-light-primary': {},\n '&[data-inverted=\"true\"]': {\n [`@apply bg-inverted-${color}-surface-primary`]: {},\n '@apply text-inverted-light-primary': {},\n },\n },\n }),\n {}\n ),\n },\n\n '&-content': {\n '@apply flex flex-col gap-6 md:gap-24': {},\n '@apply p-4 md:p-8': {},\n '@apply w-full': {},\n '&[data-variant=\"secondary\"]': {\n '@apply md:gap-16': {},\n '@apply py-4 md:py-8 px-24 md:px-48': {},\n },\n },\n\n '&-header': {\n '@apply relative': {},\n '&, > *': {\n '@apply font-header text-display-3-sm md:text-display-3-md xl:text-display-3-lg': {},\n },\n '&[data-variant=\"secondary\"], &[data-variant=\"secondary\"] > *': {\n '@apply font-header text-h2-sm md:text-h2-md': {},\n },\n '&-icon': {\n '@apply absolute -left-52 -top-2': {},\n '.sk-icon, svg': {\n '@apply h-40 w-40': {},\n },\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n [`&[data-color=\"${color}\"]`]: {\n [`@apply text-${color}-surface-primary`]: {},\n '&[data-inverted=\"true\"]': {\n [`@apply text-inverted-${color}-surface-primary`]: {},\n },\n },\n }),\n {}\n ),\n },\n },\n\n '&-form': {\n '@apply w-full': {},\n '@apply flex flex-col': {},\n '@apply gap-8': {},\n '@apply relative': {},\n\n '&-control': {\n '@apply w-full': {},\n },\n\n '&-label': {\n '@apply text-label-large': {},\n },\n\n '&-error': {\n '@apply text-small': {},\n },\n '&-input': {\n '@apply w-full': {},\n '&-group': {\n '@apply w-full': {},\n '.sk-form-input-addin-right': {\n '@apply pr-8': {},\n },\n },\n '&-wrapper': {\n '@apply relative': {},\n '@apply w-full h-48': {},\n },\n },\n\n '&-readmore': {\n '@apply text-small': {},\n '@apply text-light-secondary': {},\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-light-secondary': {},\n },\n },\n },\n\n '&-assistant': {\n '&-expanded': {\n '@apply z-20': {},\n '@apply h-[35em] max-h-[35em]': {},\n '@apply rounded-button': {},\n '@apply overflow-hidden': {},\n '@apply flex flex-col gap-0': {},\n '@apply shadow-200': {},\n '@apply bg-background-content': {},\n '@apply absolute top-0 left-0 right-0': {},\n\n '&-feed': {\n '@apply shrink grow': {},\n '@apply pl-16 pt-16 pr-48 pb-24': {},\n '@apply max-h-full overflow-y-auto': {},\n '@apply text-dark-primary': {},\n 'sk-ai-markdown': {\n '@apply text-dark-secondary': {},\n },\n },\n\n '&[data-inverted=\"true\"]': {\n '@apply bg-inverted-background-content': {},\n '.sk-ai-service-module-feed': {\n '@apply text-inverted-dark-primary': {},\n 'sk-ai-markdown': {\n '@apply text-inverted-dark-secondary': {},\n },\n },\n },\n '&-close-button': {\n '@apply absolute right-12 top-12': {},\n },\n },\n },\n\n '&-questions': {\n '@apply flex flex-col gap-12': {},\n '@apply pb-8': {},\n '@apply text-dark-primary': {},\n '&-title, &-title > *': {\n '@apply text-label-large': {},\n },\n '&-list': {\n '@apply flex flex-col gap-8': {},\n },\n\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-dark-primary': {},\n },\n '&[data-variant=\"primary\"]': {\n '@apply w-[22.5em] max-w-[22.5em] min-w-[22.5em]': {},\n },\n '&[data-variant=\"secondary\"]': {\n '@apply w-full': {},\n '@apply px-24 md:px-48': {},\n '.sk-ai-service-module-questions-list': {\n '@apply flex-row flex-wrap': {},\n },\n },\n },\n },\n});\n"],"names":["AIServiceModule","colors","reduce","styles","color"],"mappings":"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"}
|
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
export var AssistantPresentation=function()
|
|
1
|
+
export var AssistantPresentation = function() {
|
|
2
|
+
return {
|
|
3
|
+
'.sk-ai-assistant-presentation': {
|
|
4
|
+
'@apply flex flex-col gap-16 items-center justify-center': {},
|
|
5
|
+
'@apply text-base': {},
|
|
6
|
+
'@apply h-full grow': {},
|
|
7
|
+
'&-header': {
|
|
8
|
+
'@apply flex flex-col items-center justify-start': {},
|
|
9
|
+
'&-title': {
|
|
10
|
+
'@apply text-dark-primary text-center w-full': {}
|
|
11
|
+
},
|
|
12
|
+
'&-descriptions': {
|
|
13
|
+
'@apply w-full flex flex-col gap-24': {}
|
|
14
|
+
},
|
|
15
|
+
'&-description': {
|
|
16
|
+
'@apply text-dark-secondary text-center w-full': {}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
'&[data-size="lg"]': {
|
|
20
|
+
'@apply min-h-[25.5em]': {},
|
|
21
|
+
'@apply m-24': {},
|
|
22
|
+
'@apply max-w-[27em]': {},
|
|
23
|
+
'.sk-avatar': {
|
|
24
|
+
'@apply w-90-1 h-90-1': {},
|
|
25
|
+
'@apply max-w-90-1 max-h-90-1': {}
|
|
26
|
+
},
|
|
27
|
+
'.sk-ai-assistant-presentation-header': {
|
|
28
|
+
'@apply gap-6 pb-24': {},
|
|
29
|
+
'&-title': {
|
|
30
|
+
'@apply text-h3-lg': {}
|
|
31
|
+
},
|
|
32
|
+
'&-description': {
|
|
33
|
+
'@apply text-lead': {}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
'&[data-size="sm"]': {
|
|
38
|
+
'.sk-avatar': {
|
|
39
|
+
'@apply w-64 sm:w-72 h-64 sm:h-72': {},
|
|
40
|
+
'@apply max-w-72 max-h-72': {}
|
|
41
|
+
},
|
|
42
|
+
'.sk-ai-assistant-presentation-header': {
|
|
43
|
+
'@apply gap-4 pb-16': {},
|
|
44
|
+
'&-title': {
|
|
45
|
+
'@apply text-h3-sm sm:text-h3-md': {}
|
|
46
|
+
},
|
|
47
|
+
'&-description': {
|
|
48
|
+
'@apply text-small': {}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
2
56
|
//# sourceMappingURL=assistant-presentation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ai/assistant-presentation.ts"],"sourcesContent":["export const AssistantPresentation = () => ({\n '.sk-ai-assistant-presentation': {\n '@apply flex flex-col gap-16 items-center justify-center': {},\n '@apply text-base': {},\n '@apply h-full grow': {},\n\n '&-header': {\n '@apply flex flex-col items-center justify-start': {},\n '&-title': {\n '@apply text-dark-primary text-center w-full': {},\n },\n '&-descriptions': {\n '@apply w-full flex flex-col gap-24': {},\n },\n '&-description': {\n '@apply text-dark-secondary text-center w-full': {},\n },\n },\n\n '&[data-size=\"lg\"]': {\n '@apply min-h-[25.5em]': {},\n '@apply m-24': {},\n '@apply max-w-[27em]': {},\n\n '.sk-avatar': {\n '@apply w-90-1 h-90-1': {},\n '@apply max-w-90-1 max-h-90-1': {},\n },\n '.sk-ai-assistant-presentation-header': {\n '@apply gap-6 pb-24': {},\n '&-title': {\n '@apply text-h3-lg': {},\n },\n '&-description': {\n '@apply text-lead': {},\n },\n },\n },\n '&[data-size=\"sm\"]': {\n '.sk-avatar': {\n '@apply w-64 sm:w-72 h-64 sm:h-72': {},\n '@apply max-w-72 max-h-72': {},\n },\n '.sk-ai-assistant-presentation-header': {\n '@apply gap-4 pb-16': {},\n '&-title': {\n '@apply text-h3-sm sm:text-h3-md': {},\n },\n '&-description': {\n '@apply text-small': {},\n },\n },\n },\n },\n});\n"],"names":["AssistantPresentation"],"mappings":"AAAA,OAAO,IAAMA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ai/assistant-presentation.ts"],"sourcesContent":["export const AssistantPresentation = () => ({\n '.sk-ai-assistant-presentation': {\n '@apply flex flex-col gap-16 items-center justify-center': {},\n '@apply text-base': {},\n '@apply h-full grow': {},\n\n '&-header': {\n '@apply flex flex-col items-center justify-start': {},\n '&-title': {\n '@apply text-dark-primary text-center w-full': {},\n },\n '&-descriptions': {\n '@apply w-full flex flex-col gap-24': {},\n },\n '&-description': {\n '@apply text-dark-secondary text-center w-full': {},\n },\n },\n\n '&[data-size=\"lg\"]': {\n '@apply min-h-[25.5em]': {},\n '@apply m-24': {},\n '@apply max-w-[27em]': {},\n\n '.sk-avatar': {\n '@apply w-90-1 h-90-1': {},\n '@apply max-w-90-1 max-h-90-1': {},\n },\n '.sk-ai-assistant-presentation-header': {\n '@apply gap-6 pb-24': {},\n '&-title': {\n '@apply text-h3-lg': {},\n },\n '&-description': {\n '@apply text-lead': {},\n },\n },\n },\n '&[data-size=\"sm\"]': {\n '.sk-avatar': {\n '@apply w-64 sm:w-72 h-64 sm:h-72': {},\n '@apply max-w-72 max-h-72': {},\n },\n '.sk-ai-assistant-presentation-header': {\n '@apply gap-4 pb-16': {},\n '&-title': {\n '@apply text-h3-sm sm:text-h3-md': {},\n },\n '&-description': {\n '@apply text-small': {},\n },\n },\n },\n },\n});\n"],"names":["AssistantPresentation"],"mappings":"AAAA,OAAO,IAAMA,wBAAwB;WAAO;QAC1C,iCAAiC;YAC/B,2DAA2D,CAAC;YAC5D,oBAAoB,CAAC;YACrB,sBAAsB,CAAC;YAEvB,YAAY;gBACV,mDAAmD,CAAC;gBACpD,WAAW;oBACT,+CAA+C,CAAC;gBAClD;gBACA,kBAAkB;oBAChB,sCAAsC,CAAC;gBACzC;gBACA,iBAAiB;oBACf,iDAAiD,CAAC;gBACpD;YACF;YAEA,qBAAqB;gBACnB,yBAAyB,CAAC;gBAC1B,eAAe,CAAC;gBAChB,uBAAuB,CAAC;gBAExB,cAAc;oBACZ,wBAAwB,CAAC;oBACzB,gCAAgC,CAAC;gBACnC;gBACA,wCAAwC;oBACtC,sBAAsB,CAAC;oBACvB,WAAW;wBACT,qBAAqB,CAAC;oBACxB;oBACA,iBAAiB;wBACf,oBAAoB,CAAC;oBACvB;gBACF;YACF;YACA,qBAAqB;gBACnB,cAAc;oBACZ,oCAAoC,CAAC;oBACrC,4BAA4B,CAAC;gBAC/B;gBACA,wCAAwC;oBACtC,sBAAsB,CAAC;oBACvB,WAAW;wBACT,mCAAmC,CAAC;oBACtC;oBACA,iBAAiB;wBACf,qBAAqB,CAAC;oBACxB;gBACF;YACF;QACF;IACF;EAAG"}
|
|
@@ -1,2 +1,49 @@
|
|
|
1
|
-
export var AssistantSwitch=function()
|
|
1
|
+
export var AssistantSwitch = function() {
|
|
2
|
+
return {
|
|
3
|
+
'.sk-ai-assistant-switch': {
|
|
4
|
+
'@apply flex gap-12': {},
|
|
5
|
+
'@apply rounded-button': {},
|
|
6
|
+
'@apply focus-visible:ring ring-ring': {},
|
|
7
|
+
'@apply justify-start items-center': {},
|
|
8
|
+
'@apply pr-8': {},
|
|
9
|
+
'&-icon': {
|
|
10
|
+
'@apply leading-0': {},
|
|
11
|
+
'& > *, .sk-avatar, .sk-icon, svg': {
|
|
12
|
+
'@apply h-32 w-32': {}
|
|
13
|
+
},
|
|
14
|
+
'&-switch': {
|
|
15
|
+
'.sk-avatar-img': {
|
|
16
|
+
'@apply min-w-18 max-w-18 w-18 min-h-18 max-h-18 h-18': {}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'&-text': {
|
|
21
|
+
'@apply text-label-medium': {},
|
|
22
|
+
'@apply text-dark-primary': {}
|
|
23
|
+
},
|
|
24
|
+
'&-hover-icon': {
|
|
25
|
+
'@apply text-dark-secondary': {},
|
|
26
|
+
'@apply opacity-0': {},
|
|
27
|
+
'@apply leading-0': {},
|
|
28
|
+
'.sk-icon, svg': {
|
|
29
|
+
'@apply h-16 w-16': {}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
'&:hover > &-hover-icon, &:focus-visible > &-hover-icon': {
|
|
33
|
+
'@apply opacity-100': {}
|
|
34
|
+
},
|
|
35
|
+
'&[data-inverted="true"]': {
|
|
36
|
+
'.sk-ai-assistant-switch': {
|
|
37
|
+
'&-text': {
|
|
38
|
+
'@apply text-inverted-dark-primary': {}
|
|
39
|
+
},
|
|
40
|
+
'&-hover-icon': {
|
|
41
|
+
'@apply text-inverted-dark-secondary': {}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
|
|
2
49
|
//# sourceMappingURL=assistant-switch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ai/assistant-switch.ts"],"sourcesContent":["export const AssistantSwitch = () => ({\n '.sk-ai-assistant-switch': {\n '@apply flex gap-12': {},\n '@apply rounded-button': {},\n '@apply focus-visible:ring ring-ring': {},\n '@apply justify-start items-center': {},\n '@apply pr-8': {},\n '&-icon': {\n '@apply leading-0': {},\n '& > *, .sk-avatar, .sk-icon, svg': {\n '@apply h-32 w-32': {},\n },\n '&-switch': {\n '.sk-avatar-img': {\n '@apply min-w-18 max-w-18 w-18 min-h-18 max-h-18 h-18': {},\n },\n },\n },\n\n '&-text': {\n '@apply text-label-medium': {},\n '@apply text-dark-primary': {},\n },\n '&-hover-icon': {\n '@apply text-dark-secondary': {},\n '@apply opacity-0': {},\n '@apply leading-0': {},\n\n '.sk-icon, svg': {\n '@apply h-16 w-16': {},\n },\n },\n '&:hover > &-hover-icon, &:focus-visible > &-hover-icon': {\n '@apply opacity-100': {},\n },\n\n '&[data-inverted=\"true\"]': {\n '.sk-ai-assistant-switch': {\n '&-text': {\n '@apply text-inverted-dark-primary': {},\n },\n '&-hover-icon': {\n '@apply text-inverted-dark-secondary': {},\n },\n },\n },\n },\n});\n"],"names":["AssistantSwitch"],"mappings":"AAAA,OAAO,IAAMA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ai/assistant-switch.ts"],"sourcesContent":["export const AssistantSwitch = () => ({\n '.sk-ai-assistant-switch': {\n '@apply flex gap-12': {},\n '@apply rounded-button': {},\n '@apply focus-visible:ring ring-ring': {},\n '@apply justify-start items-center': {},\n '@apply pr-8': {},\n '&-icon': {\n '@apply leading-0': {},\n '& > *, .sk-avatar, .sk-icon, svg': {\n '@apply h-32 w-32': {},\n },\n '&-switch': {\n '.sk-avatar-img': {\n '@apply min-w-18 max-w-18 w-18 min-h-18 max-h-18 h-18': {},\n },\n },\n },\n\n '&-text': {\n '@apply text-label-medium': {},\n '@apply text-dark-primary': {},\n },\n '&-hover-icon': {\n '@apply text-dark-secondary': {},\n '@apply opacity-0': {},\n '@apply leading-0': {},\n\n '.sk-icon, svg': {\n '@apply h-16 w-16': {},\n },\n },\n '&:hover > &-hover-icon, &:focus-visible > &-hover-icon': {\n '@apply opacity-100': {},\n },\n\n '&[data-inverted=\"true\"]': {\n '.sk-ai-assistant-switch': {\n '&-text': {\n '@apply text-inverted-dark-primary': {},\n },\n '&-hover-icon': {\n '@apply text-inverted-dark-secondary': {},\n },\n },\n },\n },\n});\n"],"names":["AssistantSwitch"],"mappings":"AAAA,OAAO,IAAMA,kBAAkB;WAAO;QACpC,2BAA2B;YACzB,sBAAsB,CAAC;YACvB,yBAAyB,CAAC;YAC1B,uCAAuC,CAAC;YACxC,qCAAqC,CAAC;YACtC,eAAe,CAAC;YAChB,UAAU;gBACR,oBAAoB,CAAC;gBACrB,oCAAoC;oBAClC,oBAAoB,CAAC;gBACvB;gBACA,YAAY;oBACV,kBAAkB;wBAChB,wDAAwD,CAAC;oBAC3D;gBACF;YACF;YAEA,UAAU;gBACR,4BAA4B,CAAC;gBAC7B,4BAA4B,CAAC;YAC/B;YACA,gBAAgB;gBACd,8BAA8B,CAAC;gBAC/B,oBAAoB,CAAC;gBACrB,oBAAoB,CAAC;gBAErB,iBAAiB;oBACf,oBAAoB,CAAC;gBACvB;YACF;YACA,0DAA0D;gBACxD,sBAAsB,CAAC;YACzB;YAEA,2BAA2B;gBACzB,2BAA2B;oBACzB,UAAU;wBACR,qCAAqC,CAAC;oBACxC;oBACA,gBAAgB;wBACd,uCAAuC,CAAC;oBAC1C;gBACF;YACF;QACF;IACF;EAAG"}
|
|
@@ -1,2 +1,118 @@
|
|
|
1
|
-
function _define_property(obj,key,
|
|
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
|
+
export var Bubble = function(colors) {
|
|
54
|
+
return {
|
|
55
|
+
'.sk-ai-bubble': _object_spread_props(_object_spread({
|
|
56
|
+
'@apply inline-flex text-left items-center justify-start': {},
|
|
57
|
+
'@apply w-fit': {},
|
|
58
|
+
'@apply focus-visible:ring ring-ring': {},
|
|
59
|
+
'@apply relative': {},
|
|
60
|
+
'@apply rounded-t-button rounded-br-button': {},
|
|
61
|
+
'@apply pt-10 pr-12 pb-10 pl-14': {},
|
|
62
|
+
'@apply gap-16': {},
|
|
63
|
+
'@apply text-small': {},
|
|
64
|
+
'@apply text-dark-secondary': {},
|
|
65
|
+
'&[data-inverted="true"]': {
|
|
66
|
+
'@apply text-inverted-dark-secondary': {}
|
|
67
|
+
}
|
|
68
|
+
}, colors.reduce(function(styles, color) {
|
|
69
|
+
var _obj, _obj1;
|
|
70
|
+
return _object_spread_props(_object_spread({}, styles), _define_property({}, '&[data-color="'.concat(color, '"]'), (_obj1 = {}, _define_property(_obj1, "@apply bg-".concat(color, "-surface-accent hover:bg-").concat(color, "-surface-accent-hover"), {}), _define_property(_obj1, '.sk-ai-bubble-tail', _define_property({}, "@apply shadow-".concat(color, "-surface-accent"), {})), _define_property(_obj1, '&:hover', {
|
|
71
|
+
'.sk-ai-bubble-tail': _define_property({}, "@apply shadow-".concat(color, "-surface-accent-hover"), {})
|
|
72
|
+
}), _define_property(_obj1, '&[data-inverted="true"]', (_obj = {}, _define_property(_obj, "@apply bg-".concat(color, "-surface-primary hover:bg-").concat(color, "-surface-primary-hover"), {}), _define_property(_obj, '.sk-ai-bubble-tail', _define_property({}, "@apply shadow-".concat(color, "-surface-primary"), {})), _define_property(_obj, '&:hover', {
|
|
73
|
+
'.sk-ai-bubble-tail': _define_property({}, "@apply shadow-".concat(color, "-surface-primary-hover"), {})
|
|
74
|
+
}), _obj)), _obj1)));
|
|
75
|
+
}, {})), {
|
|
76
|
+
'&[data-color="primary"]': {
|
|
77
|
+
'@apply bg-inverted-primary-surface hover:bg-inverted-primary-surface-hover': {},
|
|
78
|
+
'.sk-ai-bubble-tail': _define_property({}, "@apply shadow-inverted-primary-surface", {}),
|
|
79
|
+
'&:hover': {
|
|
80
|
+
'.sk-ai-bubble-tail': _define_property({}, "@apply shadow-inverted-primary-surface-hover", {})
|
|
81
|
+
},
|
|
82
|
+
'&[data-inverted="true"]': {
|
|
83
|
+
'@apply bg-primary-surface hover:bg-primary-surface-hover': {},
|
|
84
|
+
'.sk-ai-bubble-tail': _define_property({}, "@apply shadow-primary-surface", {}),
|
|
85
|
+
'&:hover': {
|
|
86
|
+
'.sk-ai-bubble-tail': _define_property({}, "@apply shadow-primary-surface-hover", {})
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
'&-tail': {
|
|
91
|
+
'@apply text-base': {},
|
|
92
|
+
'@apply absolute left-0 bottom-[-1.25em]': {},
|
|
93
|
+
'@apply w-32 h-32': {},
|
|
94
|
+
'@apply rounded-tl-16 rounded-bl-0': {},
|
|
95
|
+
'@apply bg-transparent': {},
|
|
96
|
+
'@apply shadow-[0_-1em_0_0_var(--tw-shadow-color)]': {},
|
|
97
|
+
'@apply scale-y-[25%]': {},
|
|
98
|
+
'&:before': {
|
|
99
|
+
'&[data-shadow="true"]': {}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
'&[data-shadow="true"]': {
|
|
103
|
+
'@apply shadow-[0_1px_0_0_rgba(0,0,0,0.2)]': {},
|
|
104
|
+
'.sk-ai-bubble-tail:before': {
|
|
105
|
+
'@apply content-[""]': {},
|
|
106
|
+
'@apply absolute left-0 bottom-[-0.15625em]': {},
|
|
107
|
+
'@apply w-32 h-32': {},
|
|
108
|
+
'@apply rounded-tl-16 rounded-bl-0': {},
|
|
109
|
+
'@apply bg-transparent': {},
|
|
110
|
+
'@apply shadow-[0_-0.15625em_0_0_rgb(0,0,0,0.2)]': {},
|
|
111
|
+
'clip-path': 'polygon(0 0, 0 1em, 0.25em 1em, 0.59375em 0)'
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
})
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
|
|
2
118
|
//# sourceMappingURL=bubble.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ai/bubble.ts"],"sourcesContent":["export const Bubble = (colors: string[]) => ({\n '.sk-ai-bubble': {\n '@apply inline-flex text-left items-center justify-start': {},\n '@apply w-fit': {},\n '@apply focus-visible:ring ring-ring': {},\n '@apply relative': {},\n '@apply rounded-t-button rounded-br-button': {},\n '@apply pt-10 pr-12 pb-10 pl-14': {},\n '@apply gap-16': {},\n\n '@apply text-small': {},\n '@apply text-dark-secondary': {},\n\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-dark-secondary': {},\n },\n\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n\n [`&[data-color=\"${color}\"]`]: {\n [`@apply bg-${color}-surface-accent hover:bg-${color}-surface-accent-hover`]: {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-accent`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-accent-hover`]: {},\n },\n },\n '&[data-inverted=\"true\"]': {\n [`@apply bg-${color}-surface-primary hover:bg-${color}-surface-primary-hover`]: {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-primary`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-primary-hover`]: {},\n },\n },\n },\n },\n }),\n {}\n ),\n '&[data-color=\"primary\"]': {\n '@apply bg-inverted-primary-surface hover:bg-inverted-primary-surface-hover': {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-inverted-primary-surface`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-inverted-primary-surface-hover`]: {},\n },\n },\n '&[data-inverted=\"true\"]': {\n '@apply bg-primary-surface hover:bg-primary-surface-hover': {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-primary-surface`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-primary-surface-hover`]: {},\n },\n },\n },\n },\n '&-tail': {\n '@apply text-base': {},\n '@apply absolute left-0 bottom-[-1.25em]': {},\n '@apply w-32 h-32': {},\n '@apply rounded-tl-16 rounded-bl-0': {},\n '@apply bg-transparent': {},\n '@apply shadow-[0_-1em_0_0_var(--tw-shadow-color)]': {},\n '@apply scale-y-[25%]': {},\n '&:before': {\n '&[data-shadow=\"true\"]': {},\n },\n },\n\n '&[data-shadow=\"true\"]': {\n '@apply shadow-[0_1px_0_0_rgba(0,0,0,0.2)]': {},\n '.sk-ai-bubble-tail:before': {\n '@apply content-[\"\"]': {},\n '@apply absolute left-0 bottom-[-0.15625em]': {},\n '@apply w-32 h-32': {},\n '@apply rounded-tl-16 rounded-bl-0': {},\n '@apply bg-transparent': {},\n '@apply shadow-[0_-0.15625em_0_0_rgb(0,0,0,0.2)]': {},\n 'clip-path': 'polygon(0 0, 0 1em, 0.25em 1em, 0.59375em 0)',\n },\n },\n },\n});\n"],"names":["Bubble","colors","reduce","styles","color"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ai/bubble.ts"],"sourcesContent":["export const Bubble = (colors: string[]) => ({\n '.sk-ai-bubble': {\n '@apply inline-flex text-left items-center justify-start': {},\n '@apply w-fit': {},\n '@apply focus-visible:ring ring-ring': {},\n '@apply relative': {},\n '@apply rounded-t-button rounded-br-button': {},\n '@apply pt-10 pr-12 pb-10 pl-14': {},\n '@apply gap-16': {},\n\n '@apply text-small': {},\n '@apply text-dark-secondary': {},\n\n '&[data-inverted=\"true\"]': {\n '@apply text-inverted-dark-secondary': {},\n },\n\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n\n [`&[data-color=\"${color}\"]`]: {\n [`@apply bg-${color}-surface-accent hover:bg-${color}-surface-accent-hover`]: {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-accent`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-accent-hover`]: {},\n },\n },\n '&[data-inverted=\"true\"]': {\n [`@apply bg-${color}-surface-primary hover:bg-${color}-surface-primary-hover`]: {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-primary`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-${color}-surface-primary-hover`]: {},\n },\n },\n },\n },\n }),\n {}\n ),\n '&[data-color=\"primary\"]': {\n '@apply bg-inverted-primary-surface hover:bg-inverted-primary-surface-hover': {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-inverted-primary-surface`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-inverted-primary-surface-hover`]: {},\n },\n },\n '&[data-inverted=\"true\"]': {\n '@apply bg-primary-surface hover:bg-primary-surface-hover': {},\n '.sk-ai-bubble-tail': {\n [`@apply shadow-primary-surface`]: {},\n },\n '&:hover': {\n '.sk-ai-bubble-tail': {\n [`@apply shadow-primary-surface-hover`]: {},\n },\n },\n },\n },\n '&-tail': {\n '@apply text-base': {},\n '@apply absolute left-0 bottom-[-1.25em]': {},\n '@apply w-32 h-32': {},\n '@apply rounded-tl-16 rounded-bl-0': {},\n '@apply bg-transparent': {},\n '@apply shadow-[0_-1em_0_0_var(--tw-shadow-color)]': {},\n '@apply scale-y-[25%]': {},\n '&:before': {\n '&[data-shadow=\"true\"]': {},\n },\n },\n\n '&[data-shadow=\"true\"]': {\n '@apply shadow-[0_1px_0_0_rgba(0,0,0,0.2)]': {},\n '.sk-ai-bubble-tail:before': {\n '@apply content-[\"\"]': {},\n '@apply absolute left-0 bottom-[-0.15625em]': {},\n '@apply w-32 h-32': {},\n '@apply rounded-tl-16 rounded-bl-0': {},\n '@apply bg-transparent': {},\n '@apply shadow-[0_-0.15625em_0_0_rgb(0,0,0,0.2)]': {},\n 'clip-path': 'polygon(0 0, 0 1em, 0.25em 1em, 0.59375em 0)',\n },\n },\n },\n});\n"],"names":["Bubble","colors","reduce","styles","color"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,IAAMA,SAAS,SAACC;WAAsB;QAC3C,iBAAiB;YACf,2DAA2D,CAAC;YAC5D,gBAAgB,CAAC;YACjB,uCAAuC,CAAC;YACxC,mBAAmB,CAAC;YACpB,6CAA6C,CAAC;YAC9C,kCAAkC,CAAC;YACnC,iBAAiB,CAAC;YAElB,qBAAqB,CAAC;YACtB,8BAA8B,CAAC;YAE/B,2BAA2B;gBACzB,uCAAuC,CAAC;YAC1C;WAEGA,OAAOC,MAAM,CACd,SAACC,QAAQC;gBAasB,MAVC;mBAHZ,wCACfD,8BAEF,AAAC,iBAAsB,OAANC,OAAM,QAAM,YAC5B,iBAD4B,OAC3B,AAAC,aAA6CA,OAAjCA,OAAM,6BAAiC,OAANA,OAAM,0BAAyB,CAAC,IAC/E,iBAF4B,OAE5B,sBACE,qBAAC,AAAC,iBAAsB,OAANA,OAAM,oBAAmB,CAAC,KAE9C,iBAL4B,OAK5B,WAAW;gBACT,sBACE,qBAAC,AAAC,iBAAsB,OAANA,OAAM,0BAAyB,CAAC;YAEtD,qBAT4B,OAU5B,4BAA2B,WACzB,iBADyB,MACxB,AAAC,aAA8CA,OAAlCA,OAAM,8BAAkC,OAANA,OAAM,2BAA0B,CAAC,IACjF,iBAFyB,MAEzB,sBACE,qBAAC,AAAC,iBAAsB,OAANA,OAAM,qBAAoB,CAAC,KAE/C,iBALyB,MAKzB,WAAW;gBACT,sBACE,qBAAC,AAAC,iBAAsB,OAANA,OAAM,2BAA0B,CAAC;YAEvD,IATyB,QAVC;WAuBhC,CAAC;YAEH,2BAA2B;gBACzB,8EAA8E,CAAC;gBAC/E,sBACE,qBAAE,0CAA0C,CAAC;gBAE/C,WAAW;oBACT,sBACE,qBAAE,gDAAgD,CAAC;gBAEvD;gBACA,2BAA2B;oBACzB,4DAA4D,CAAC;oBAC7D,sBACE,qBAAE,iCAAiC,CAAC;oBAEtC,WAAW;wBACT,sBACE,qBAAE,uCAAuC,CAAC;oBAE9C;gBACF;YACF;YACA,UAAU;gBACR,oBAAoB,CAAC;gBACrB,2CAA2C,CAAC;gBAC5C,oBAAoB,CAAC;gBACrB,qCAAqC,CAAC;gBACtC,yBAAyB,CAAC;gBAC1B,qDAAqD,CAAC;gBACtD,wBAAwB,CAAC;gBACzB,YAAY;oBACV,yBAAyB,CAAC;gBAC5B;YACF;YAEA,yBAAyB;gBACvB,6CAA6C,CAAC;gBAC9C,6BAA6B;oBAC3B,uBAAuB,CAAC;oBACxB,8CAA8C,CAAC;oBAC/C,oBAAoB,CAAC;oBACrB,qCAAqC,CAAC;oBACtC,yBAAyB,CAAC;oBAC1B,mDAAmD,CAAC;oBACpD,aAAa;gBACf;YACF;;IAEJ;EAAG"}
|
|
@@ -1,2 +1,31 @@
|
|
|
1
|
-
export var Feedback=function()
|
|
1
|
+
export var Feedback = function() {
|
|
2
|
+
return {
|
|
3
|
+
'.sk-ai-feedback': {
|
|
4
|
+
'@apply ml-24 flex gap-24 justify-start mb-16': {},
|
|
5
|
+
'@apply max-w-full': {},
|
|
6
|
+
'&-button': {
|
|
7
|
+
'&[data-current="true"]': {
|
|
8
|
+
'@apply bg-tertiary-surface-hover': {},
|
|
9
|
+
'&[data-inverted="true"]': {
|
|
10
|
+
'@apply bg-inverted-tertiary-surface-hover': {}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
'&-more': {
|
|
15
|
+
'@apply flex flex-col gap-8 px-14 pt-8 pb-12 rounded-button': {},
|
|
16
|
+
'@apply bg-background-color-mixin-1 text-dark-primary': {},
|
|
17
|
+
'&[data-inverted="true"]': {
|
|
18
|
+
'@apply bg-inverted-background-color-mixin-1 text-inverted-dark-primary': {}
|
|
19
|
+
},
|
|
20
|
+
'&-header': {
|
|
21
|
+
'@apply flex flex-row items-center justify-between text-label-small': {}
|
|
22
|
+
},
|
|
23
|
+
'&-reason': {
|
|
24
|
+
'@apply flex flex-row items-center gap-8 justify-start flex-wrap': {}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
|
|
2
31
|
//# sourceMappingURL=feedback.js.map
|