@sk-web-gui/core 4.1.1 → 4.2.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/components/accordion.js +113 -111
- package/dist/cjs/components/accordion.js.map +1 -1
- package/dist/cjs/components/ai/chat-input.js +91 -0
- package/dist/cjs/components/ai/chat-input.js.map +1 -0
- package/dist/cjs/components/alert.js +80 -0
- package/dist/cjs/components/alert.js.map +1 -0
- package/dist/cjs/components/forms.js +9 -0
- package/dist/cjs/components/forms.js.map +1 -1
- package/dist/cjs/components/input.js +41 -1
- package/dist/cjs/components/input.js.map +1 -1
- package/dist/cjs/components/progress-bar.js +6 -0
- package/dist/cjs/components/progress-bar.js.map +1 -1
- package/dist/cjs/components.js +12 -1
- package/dist/cjs/components.js.map +1 -1
- package/dist/esm/components/accordion.js +113 -111
- package/dist/esm/components/accordion.js.map +1 -1
- package/dist/esm/components/ai/chat-input.js +81 -0
- package/dist/esm/components/ai/chat-input.js.map +1 -0
- package/dist/esm/components/alert.js +70 -0
- package/dist/esm/components/alert.js.map +1 -0
- package/dist/esm/components/forms.js +9 -0
- package/dist/esm/components/forms.js.map +1 -1
- package/dist/esm/components/input.js +41 -1
- package/dist/esm/components/input.js.map +1 -1
- package/dist/esm/components/progress-bar.js +6 -0
- package/dist/esm/components/progress-bar.js.map +1 -1
- package/dist/esm/components.js +12 -1
- package/dist/esm/components.js.map +1 -1
- package/dist/types/components/accordion.d.ts +108 -106
- package/dist/types/components/ai/chat-input.d.ts +79 -0
- package/dist/types/components/alert.d.ts +68 -0
- package/dist/types/components/forms.d.ts +9 -0
- package/dist/types/components/input.d.ts +106 -0
- package/dist/types/components/progress-bar.d.ts +6 -0
- package/package.json +2 -2
|
@@ -10,121 +10,141 @@ Object.defineProperty(exports, "Accordion", {
|
|
|
10
10
|
});
|
|
11
11
|
const Accordion = ()=>({
|
|
12
12
|
'.sk-disclosure': {
|
|
13
|
+
'@apply mt-6 mb-8': {},
|
|
14
|
+
'@apply text-dark-secondary': {},
|
|
15
|
+
'&[data-inverted="true"]': {
|
|
16
|
+
'@apply text-inverted-dark-secondary': {}
|
|
17
|
+
},
|
|
13
18
|
'&-icon': {
|
|
14
19
|
'@apply flex self-center': {}
|
|
15
20
|
},
|
|
16
21
|
'&-header': {
|
|
17
|
-
'@apply
|
|
18
|
-
'@apply flex flex-
|
|
22
|
+
'@apply py-8': {},
|
|
23
|
+
'@apply flex flex-row text-left': {},
|
|
19
24
|
'@apply cursor-pointer': {},
|
|
20
|
-
'
|
|
21
|
-
|
|
25
|
+
'@apply items-center justify-between': {},
|
|
26
|
+
'@apply gap-16': {},
|
|
27
|
+
'&-icon': {
|
|
28
|
+
'@apply w-32 h-32': {},
|
|
29
|
+
'&-sm': {
|
|
30
|
+
'@apply w-20 min-h-20': {}
|
|
31
|
+
},
|
|
32
|
+
'&-md': {
|
|
33
|
+
'@apply w-24 min-h-24': {}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
'&-title': {
|
|
37
|
+
'@apply text-dark-primary': {},
|
|
38
|
+
'@apply w-full': {},
|
|
39
|
+
'@apply flex flex-row': {},
|
|
40
|
+
'@apply items-center': {},
|
|
41
|
+
'@apply grow shrink': {},
|
|
42
|
+
'&[data-inverted="true"]': {
|
|
43
|
+
'@apply text-inverted-dark-primary': {}
|
|
44
|
+
},
|
|
45
|
+
'*': {
|
|
46
|
+
'@apply m-0': {},
|
|
47
|
+
'@apply text-inherit': {},
|
|
48
|
+
fontSize: 'inherit',
|
|
49
|
+
FontFamily: 'inherit',
|
|
50
|
+
lineHeight: 'inherit'
|
|
51
|
+
},
|
|
52
|
+
'&-disabled': {
|
|
53
|
+
'@apply text-dark-disabled': {},
|
|
54
|
+
'&[data-inverted="true"]': {
|
|
55
|
+
'@apply text-inverted-dark-disabled': {}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
'&-sm': {
|
|
59
|
+
'@apply gap-16': {},
|
|
60
|
+
'@apply text-h4-sm': {},
|
|
61
|
+
'&[data-variant="alt"]': {
|
|
62
|
+
'@apply gap-12': {}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
'&-md': {
|
|
66
|
+
'@apply gap-16': {},
|
|
67
|
+
'@apply text-h4-md': {},
|
|
68
|
+
'&[data-variant="alt"]': {
|
|
69
|
+
'@apply gap-12': {}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
'&-lg': {
|
|
73
|
+
'@apply gap-16': {},
|
|
74
|
+
'&[data-variant="alt"]': {
|
|
75
|
+
'@apply gap-16': {},
|
|
76
|
+
'@apply text-h3-md': {}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
'&-divider': {
|
|
80
|
+
'@apply border-divider': {},
|
|
81
|
+
'&[data-inverted="true"]': {
|
|
82
|
+
'@apply border-inverted-divider': {}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
22
85
|
},
|
|
23
86
|
'&:focus-visible': {
|
|
24
87
|
'@apply outline-0': {}
|
|
25
88
|
},
|
|
26
|
-
'
|
|
27
|
-
'@apply ml-auto': {},
|
|
28
|
-
'@apply text-dark-secondary': {},
|
|
29
|
-
svg: {
|
|
30
|
-
'@apply w-20 h-20': {}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
'&[data-disabled="true"]': {
|
|
89
|
+
'&[aria-disabled="true"]': {
|
|
34
90
|
'@apply text-dark-disabled': {},
|
|
35
|
-
'.sk-disclosure-title': {
|
|
36
|
-
'@apply text-dark-disabled': {}
|
|
37
|
-
},
|
|
38
91
|
'@apply cursor-default': {},
|
|
39
92
|
'*': {
|
|
40
93
|
'@apply cursor-default': {}
|
|
94
|
+
},
|
|
95
|
+
'&[data-inverted="true"]': {
|
|
96
|
+
'@apply text-inverted-dark-disabled': {}
|
|
41
97
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
'&-toggle': {
|
|
48
|
-
'@apply flex items-center justify-between': {},
|
|
49
|
-
'@apply gap-16': {},
|
|
50
|
-
'.sk-icon': {
|
|
51
|
-
'@apply w-32 h-32': {}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
'&-title': {
|
|
55
|
-
'@apply text-dark-primary': {},
|
|
56
|
-
'&-wrapper': {
|
|
57
|
-
'@apply w-full': {},
|
|
58
|
-
'@apply flex flex-row': {},
|
|
59
|
-
'@apply items-center': {}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
'&-sm': {
|
|
63
|
-
'.sk-disclosure-title': {
|
|
64
|
-
'@apply text-h4-sm font-bold': {},
|
|
65
|
-
'&-wrapper': {
|
|
98
|
+
},
|
|
99
|
+
'&-sm': {
|
|
100
|
+
'@apply gap-16': {},
|
|
101
|
+
'@apply h-32': {},
|
|
102
|
+
'&[data-variant="alt"]': {
|
|
66
103
|
'@apply gap-12': {}
|
|
104
|
+
},
|
|
105
|
+
'&[data-variant="default"]': {
|
|
106
|
+
'@apply min-h-40': {}
|
|
67
107
|
}
|
|
68
108
|
},
|
|
69
|
-
'
|
|
70
|
-
'@apply gap-
|
|
71
|
-
'
|
|
72
|
-
'@apply
|
|
109
|
+
'&-md': {
|
|
110
|
+
'@apply gap-16': {},
|
|
111
|
+
'&[data-variant="alt"]': {
|
|
112
|
+
'@apply gap-12': {}
|
|
113
|
+
},
|
|
114
|
+
'&[data-variant="default"]': {
|
|
115
|
+
'@apply min-h-56': {}
|
|
73
116
|
}
|
|
74
117
|
},
|
|
75
|
-
'
|
|
76
|
-
'@apply
|
|
77
|
-
},
|
|
78
|
-
'&[data-variant="default"]': {
|
|
79
|
-
'.sk-disclosure-toggle': {
|
|
80
|
-
'@apply py-4': {},
|
|
81
|
-
'@apply min-h-40': {}
|
|
82
|
-
},
|
|
118
|
+
'&-lg': {
|
|
119
|
+
'@apply gap-16': {},
|
|
83
120
|
'.sk-disclosure-header-icon': {
|
|
84
|
-
'@apply w-32 h-32': {}
|
|
121
|
+
'@apply w-32 min-h-32': {}
|
|
122
|
+
},
|
|
123
|
+
'&[data-variant="alt"]': {
|
|
124
|
+
'@apply gap-16': {}
|
|
85
125
|
}
|
|
86
|
-
}
|
|
87
|
-
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
'&[data-variant="alt"]': {
|
|
129
|
+
'.sk-disclosure-header': {
|
|
130
|
+
'@apply py-0': {},
|
|
131
|
+
'@apply h-32': {}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
'&-label': {
|
|
135
|
+
'@apply shrink-0': {}
|
|
88
136
|
},
|
|
89
137
|
'&-md': {
|
|
90
|
-
'.sk-disclosure-title': {
|
|
91
|
-
'@apply text-h4-md font-bold': {},
|
|
92
|
-
'&-wrapper': {
|
|
93
|
-
'@apply gap-12': {}
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
'.sk-disclosure-toggle': {
|
|
97
|
-
'@apply gap-12': {},
|
|
98
|
-
'.sk-icon': {
|
|
99
|
-
'@apply w-24 min-h-24': {}
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
'.sk-disclosure-support': {
|
|
103
|
-
'@apply text-body': {}
|
|
104
|
-
},
|
|
105
138
|
'&[data-variant="default"]': {
|
|
106
|
-
'.sk-disclosure-
|
|
139
|
+
'.sk-disclosure-header': {
|
|
107
140
|
'@apply py-8': {},
|
|
108
141
|
'@apply min-h-56': {}
|
|
109
142
|
},
|
|
110
|
-
'.sk-disclosure-header-
|
|
143
|
+
'.sk-disclosure-header-button': {
|
|
111
144
|
'@apply w-40 h-40': {}
|
|
112
145
|
}
|
|
113
146
|
}
|
|
114
147
|
},
|
|
115
|
-
'&-lg': {
|
|
116
|
-
'&[data-variant="alt"]': {
|
|
117
|
-
'.sk-disclosure-support': {
|
|
118
|
-
'@apply text-large': {}
|
|
119
|
-
},
|
|
120
|
-
'.sk-disclosure-title': {
|
|
121
|
-
'@apply text-h3-md font-bold': {},
|
|
122
|
-
'&-wrapper': {
|
|
123
|
-
'@apply gap-16': {}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
148
|
'&-body': {
|
|
129
149
|
'&[data-size="sm"]': {
|
|
130
150
|
'@apply pr-12': {}
|
|
@@ -141,13 +161,13 @@ const Accordion = ()=>({
|
|
|
141
161
|
'@apply mr-32': {},
|
|
142
162
|
'@apply gap-8': {},
|
|
143
163
|
'@apply py-0': {},
|
|
144
|
-
transitionProperty: '
|
|
164
|
+
transitionProperty: 'height, opacity, padding, margin',
|
|
145
165
|
transitionDuration: '180ms',
|
|
146
|
-
'&[aria-hidden="true"]
|
|
147
|
-
'@apply my-0
|
|
166
|
+
'&[aria-hidden="true"]': {
|
|
167
|
+
'@apply my-0 overflow-hidden max-h-0 opacity-0': {}
|
|
148
168
|
},
|
|
149
|
-
'&[aria-hidden="false"]
|
|
150
|
-
'@apply block opacity-100
|
|
169
|
+
'&[aria-hidden="false"]': {
|
|
170
|
+
'@apply block opacity-100': {}
|
|
151
171
|
},
|
|
152
172
|
'&[data-variant="alt"]': {
|
|
153
173
|
'@apply mt-24': {},
|
|
@@ -179,33 +199,15 @@ const Accordion = ()=>({
|
|
|
179
199
|
'.sk-disclosure': {
|
|
180
200
|
transitionProperty: 'margin',
|
|
181
201
|
transitionDuration: '180ms',
|
|
182
|
-
'@apply border-b-1 border-divider': {}
|
|
202
|
+
'@apply border-b-1 border-divider': {},
|
|
203
|
+
'&[data-inverted="true"]': {
|
|
204
|
+
'@apply border-inverted-divider': {}
|
|
205
|
+
}
|
|
183
206
|
},
|
|
184
207
|
'&:last-child .sk-disclosure': {
|
|
185
208
|
'@apply border-b-transparent': {}
|
|
186
209
|
}
|
|
187
210
|
}
|
|
188
|
-
},
|
|
189
|
-
'&[data-inverted="true"]': {
|
|
190
|
-
'&.sk-disclosure': {
|
|
191
|
-
'&-icon': {
|
|
192
|
-
'@apply text-inverted-dark-secondary': {}
|
|
193
|
-
},
|
|
194
|
-
'&[data-disabled="true"]': {
|
|
195
|
-
'@apply text-inverted-dark-disabled': {},
|
|
196
|
-
'.sk-disclosure-title': {
|
|
197
|
-
'@apply text-inverted-dark-disabled': {}
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
'&-title': {
|
|
201
|
-
'@apply text-inverted-dark-primary': {}
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
'&.sk-accordion': {
|
|
205
|
-
'&-item': {
|
|
206
|
-
'@apply border-inverted-divider': {}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
211
|
}
|
|
210
212
|
});
|
|
211
213
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/accordion.ts"],"sourcesContent":["export const Accordion = () => ({\r\n '.sk-disclosure': {\r\n '&-icon': {\r\n '@apply flex self-center': {},\r\n },\r\n '&-header': {\r\n '@apply
|
|
1
|
+
{"version":3,"sources":["../../../src/components/accordion.ts"],"sourcesContent":["export const Accordion = () => ({\r\n '.sk-disclosure': {\r\n '@apply mt-6 mb-8': {},\r\n '@apply text-dark-secondary': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply text-inverted-dark-secondary': {},\r\n },\r\n '&-icon': {\r\n '@apply flex self-center': {},\r\n },\r\n '&-header': {\r\n '@apply py-8': {},\r\n '@apply flex flex-row text-left': {},\r\n '@apply cursor-pointer': {},\r\n '@apply items-center justify-between': {},\r\n '@apply gap-16': {},\r\n '&-icon': {\r\n '@apply w-32 h-32': {},\r\n '&-sm': {\r\n '@apply w-20 min-h-20': {},\r\n },\r\n '&-md': {\r\n '@apply w-24 min-h-24': {},\r\n },\r\n },\r\n\r\n '&-title': {\r\n '@apply text-dark-primary': {},\r\n '@apply w-full': {},\r\n '@apply flex flex-row': {},\r\n '@apply items-center': {},\r\n '@apply grow shrink': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply text-inverted-dark-primary': {},\r\n },\r\n '*': {\r\n '@apply m-0': {},\r\n '@apply text-inherit': {},\r\n fontSize: 'inherit',\r\n FontFamily: 'inherit',\r\n lineHeight: 'inherit',\r\n },\r\n '&-disabled': {\r\n '@apply text-dark-disabled': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply text-inverted-dark-disabled': {},\r\n },\r\n },\r\n '&-sm': {\r\n '@apply gap-16': {},\r\n '@apply text-h4-sm': {},\r\n '&[data-variant=\"alt\"]': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply gap-16': {},\r\n '@apply text-h4-md': {},\r\n '&[data-variant=\"alt\"]': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply gap-16': {},\r\n '&[data-variant=\"alt\"]': {\r\n '@apply gap-16': {},\r\n '@apply text-h3-md': {},\r\n },\r\n },\r\n '&-divider': {\r\n '@apply border-divider': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n },\r\n },\r\n\r\n '&:focus-visible': {\r\n '@apply outline-0': {},\r\n },\r\n '&[aria-disabled=\"true\"]': {\r\n '@apply text-dark-disabled': {},\r\n '@apply cursor-default': {},\r\n '*': {\r\n '@apply cursor-default': {},\r\n },\r\n '&[data-inverted=\"true\"]': {\r\n '@apply text-inverted-dark-disabled': {},\r\n },\r\n },\r\n '&-sm': {\r\n '@apply gap-16': {},\r\n '@apply h-32': {},\r\n '&[data-variant=\"alt\"]': {\r\n '@apply gap-12': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '@apply min-h-40': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply gap-16': {},\r\n '&[data-variant=\"alt\"]': {\r\n '@apply gap-12': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '@apply min-h-56': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply gap-16': {},\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-32 min-h-32': {},\r\n },\r\n '&[data-variant=\"alt\"]': {\r\n '@apply gap-16': {},\r\n },\r\n },\r\n },\r\n '&[data-variant=\"alt\"]': {\r\n '.sk-disclosure-header': {\r\n '@apply py-0': {},\r\n '@apply h-32': {},\r\n },\r\n },\r\n '&-label': {\r\n '@apply shrink-0': {},\r\n },\r\n\r\n '&-md': {\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-header': {\r\n '@apply py-8': {},\r\n '@apply min-h-56': {},\r\n },\r\n '.sk-disclosure-header-button': {\r\n '@apply w-40 h-40': {},\r\n },\r\n },\r\n },\r\n\r\n '&-body': {\r\n '&[data-size=\"sm\"]': {\r\n '@apply pr-12': {},\r\n },\r\n '&[data-size=\"md\"]': {\r\n '@apply pr-12': {},\r\n },\r\n '&[data-size=\"lg\"]': {\r\n '@apply pr-16': {},\r\n },\r\n '@apply text-base': {},\r\n '@apply flex flex-col': {},\r\n '@apply mb-32': {},\r\n '@apply mr-32': {},\r\n '@apply gap-8': {},\r\n '@apply py-0': {},\r\n transitionProperty: 'height, opacity, padding, margin',\r\n\r\n transitionDuration: '180ms',\r\n\r\n '&[aria-hidden=\"true\"]': {\r\n '@apply my-0 overflow-hidden max-h-0 opacity-0': {},\r\n },\r\n\r\n '&[aria-hidden=\"false\"]': {\r\n '@apply block opacity-100': {},\r\n },\r\n\r\n '&[data-variant=\"alt\"]': {\r\n '@apply mt-24': {},\r\n '&[data-size=\"sm\"]': {\r\n '@apply pr-12': {},\r\n },\r\n '&[data-size=\"md\"]': {\r\n '@apply pr-12': {},\r\n },\r\n '&[data-size=\"lg\"]': {\r\n '@apply pr-16': {},\r\n },\r\n '&[data-has-icon=\"true\"]': {\r\n '&[data-size=\"sm\"]': {\r\n '@apply ml-32': {},\r\n },\r\n '&[data-size=\"md\"]': {\r\n '@apply ml-36': {},\r\n },\r\n '&[data-size=\"lg\"]': {\r\n '@apply ml-48': {},\r\n },\r\n },\r\n },\r\n },\r\n },\r\n '.sk-accordion': {\r\n '&-item': {\r\n '.sk-disclosure': {\r\n transitionProperty: 'margin',\r\n transitionDuration: '180ms',\r\n '@apply border-b-1 border-divider': {},\r\n '&[data-inverted=\"true\"]': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n },\r\n\r\n '&:last-child .sk-disclosure': {\r\n '@apply border-b-transparent': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Accordion","fontSize","FontFamily","lineHeight","transitionProperty","transitionDuration"],"mappings":"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"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "ChatInput", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return ChatInput;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const ChatInput = ()=>({
|
|
12
|
+
'.sk-chat-input': {
|
|
13
|
+
'&-textarea': {
|
|
14
|
+
'@apply flex': {},
|
|
15
|
+
'@apply grow shrink': {},
|
|
16
|
+
'@apply self-start': {},
|
|
17
|
+
'&[data-wrap="true"]': {
|
|
18
|
+
'@apply w-full': {}
|
|
19
|
+
},
|
|
20
|
+
'&[data-wrap="false"]': {
|
|
21
|
+
'@apply w-auto': {}
|
|
22
|
+
},
|
|
23
|
+
'&-sm': {
|
|
24
|
+
'@apply min-h-34+1': {},
|
|
25
|
+
'@apply max-h-[11rem]': {},
|
|
26
|
+
'@apply mt-5': {}
|
|
27
|
+
},
|
|
28
|
+
'&-md': {
|
|
29
|
+
'@apply min-h-42': {},
|
|
30
|
+
'@apply max-h-[13.4rem]': {},
|
|
31
|
+
'@apply mt-4': {}
|
|
32
|
+
},
|
|
33
|
+
'&-lg': {
|
|
34
|
+
'@apply min-h-56': {},
|
|
35
|
+
'@apply max-h-[14.2rem]': {},
|
|
36
|
+
'@apply mt-6': {}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
'&-wrapper': {
|
|
40
|
+
'@apply flex flex-row flex-wrap': {},
|
|
41
|
+
'@apply justify-end': {}
|
|
42
|
+
},
|
|
43
|
+
'&-submitbutton': {
|
|
44
|
+
'@apply shrink-0 flex justify-self-end': {},
|
|
45
|
+
'@apply relative': {},
|
|
46
|
+
'&-sm': {
|
|
47
|
+
'@apply py-5 px-7': {}
|
|
48
|
+
},
|
|
49
|
+
'&-md': {
|
|
50
|
+
'@apply py-7 px-9': {}
|
|
51
|
+
},
|
|
52
|
+
'&-lg': {
|
|
53
|
+
'@apply py-11 px-13': {}
|
|
54
|
+
},
|
|
55
|
+
'&-inner-wrapper': {
|
|
56
|
+
'@apply relative inline-flex items-center': {}
|
|
57
|
+
},
|
|
58
|
+
'&-tooltip': {
|
|
59
|
+
'@apply absolute right-full': {}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
'&-toolbar': {
|
|
63
|
+
'@apply flex': {},
|
|
64
|
+
'@apply relative': {},
|
|
65
|
+
'@apply gap-6': {},
|
|
66
|
+
'@apply bg-transparent': {},
|
|
67
|
+
'@apply justify-start': {},
|
|
68
|
+
'@apply w-auto': {},
|
|
69
|
+
'@apply shrink grow': {},
|
|
70
|
+
'&-sm': {
|
|
71
|
+
'@apply py-5 px-7': {}
|
|
72
|
+
},
|
|
73
|
+
'&-md': {
|
|
74
|
+
'@apply py-7 px-9': {}
|
|
75
|
+
},
|
|
76
|
+
'&-lg': {
|
|
77
|
+
'@apply py-11 px-13': {}
|
|
78
|
+
},
|
|
79
|
+
'&-button': {
|
|
80
|
+
'&-wrapper': {
|
|
81
|
+
'@apply relative inline-flex justify-center overflow-visible': {}
|
|
82
|
+
},
|
|
83
|
+
'&-tooltip': {
|
|
84
|
+
'@apply absolute shrink-0 bottom-full w-max': {}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=chat-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ai/chat-input.ts"],"sourcesContent":["export const ChatInput = () => ({\r\n '.sk-chat-input': {\r\n '&-textarea': {\r\n '@apply flex': {},\r\n '@apply grow shrink': {},\r\n '@apply self-start': {},\r\n '&[data-wrap=\"true\"]': {\r\n '@apply w-full': {},\r\n },\r\n '&[data-wrap=\"false\"]': {\r\n '@apply w-auto': {},\r\n },\r\n '&-sm': {\r\n '@apply min-h-34+1': {},\r\n '@apply max-h-[11rem]': {},\r\n '@apply mt-5': {},\r\n },\r\n '&-md': {\r\n '@apply min-h-42': {},\r\n '@apply max-h-[13.4rem]': {},\r\n '@apply mt-4': {},\r\n },\r\n '&-lg': {\r\n '@apply min-h-56': {},\r\n '@apply max-h-[14.2rem]': {},\r\n '@apply mt-6': {},\r\n },\r\n },\r\n\r\n '&-wrapper': {\r\n '@apply flex flex-row flex-wrap': {},\r\n '@apply justify-end': {},\r\n },\r\n\r\n '&-submitbutton': {\r\n '@apply shrink-0 flex justify-self-end': {},\r\n '@apply relative': {},\r\n '&-sm': {\r\n '@apply py-5 px-7': {},\r\n },\r\n '&-md': {\r\n '@apply py-7 px-9': {},\r\n },\r\n '&-lg': {\r\n '@apply py-11 px-13': {},\r\n },\r\n '&-inner-wrapper': {\r\n '@apply relative inline-flex items-center': {},\r\n },\r\n '&-tooltip': {\r\n '@apply absolute right-full': {},\r\n },\r\n },\r\n\r\n '&-toolbar': {\r\n '@apply flex': {},\r\n '@apply relative': {},\r\n '@apply gap-6': {},\r\n '@apply bg-transparent': {},\r\n '@apply justify-start': {},\r\n '@apply w-auto': {},\r\n '@apply shrink grow': {},\r\n '&-sm': {\r\n '@apply py-5 px-7': {},\r\n },\r\n '&-md': {\r\n '@apply py-7 px-9': {},\r\n },\r\n '&-lg': {\r\n '@apply py-11 px-13': {},\r\n },\r\n '&-button': {\r\n '&-wrapper': {\r\n '@apply relative inline-flex justify-center overflow-visible': {},\r\n },\r\n '&-tooltip': {\r\n '@apply absolute shrink-0 bottom-full w-max': {},\r\n },\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["ChatInput"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,YAAY,IAAO,CAAA;QAC9B,kBAAkB;YAChB,cAAc;gBACZ,eAAe,CAAC;gBAChB,sBAAsB,CAAC;gBACvB,qBAAqB,CAAC;gBACtB,uBAAuB;oBACrB,iBAAiB,CAAC;gBACpB;gBACA,wBAAwB;oBACtB,iBAAiB,CAAC;gBACpB;gBACA,QAAQ;oBACN,qBAAqB,CAAC;oBACtB,wBAAwB,CAAC;oBACzB,eAAe,CAAC;gBAClB;gBACA,QAAQ;oBACN,mBAAmB,CAAC;oBACpB,0BAA0B,CAAC;oBAC3B,eAAe,CAAC;gBAClB;gBACA,QAAQ;oBACN,mBAAmB,CAAC;oBACpB,0BAA0B,CAAC;oBAC3B,eAAe,CAAC;gBAClB;YACF;YAEA,aAAa;gBACX,kCAAkC,CAAC;gBACnC,sBAAsB,CAAC;YACzB;YAEA,kBAAkB;gBAChB,yCAAyC,CAAC;gBAC1C,mBAAmB,CAAC;gBACpB,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,sBAAsB,CAAC;gBACzB;gBACA,mBAAmB;oBACjB,4CAA4C,CAAC;gBAC/C;gBACA,aAAa;oBACX,8BAA8B,CAAC;gBACjC;YACF;YAEA,aAAa;gBACX,eAAe,CAAC;gBAChB,mBAAmB,CAAC;gBACpB,gBAAgB,CAAC;gBACjB,yBAAyB,CAAC;gBAC1B,wBAAwB,CAAC;gBACzB,iBAAiB,CAAC;gBAClB,sBAAsB,CAAC;gBACvB,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,oBAAoB,CAAC;gBACvB;gBACA,QAAQ;oBACN,sBAAsB,CAAC;gBACzB;gBACA,YAAY;oBACV,aAAa;wBACX,+DAA+D,CAAC;oBAClE;oBACA,aAAa;wBACX,8CAA8C,CAAC;oBACjD;gBACF;YACF;QACF;IACF,CAAA"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "Alert", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return Alert;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const Alert = ()=>({
|
|
12
|
+
'.sk-alert': {
|
|
13
|
+
'@apply flex rounded-button': {},
|
|
14
|
+
'&-sm': {
|
|
15
|
+
'@apply rounded-xl gap-8 pl-10 pr-6': {},
|
|
16
|
+
'.sk-alert-icon': {
|
|
17
|
+
'@apply pt-6': {}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'&-md': {
|
|
21
|
+
'@apply gap-12 pl-16 pr-12 py-12': {},
|
|
22
|
+
'.sk-alert-icon': {
|
|
23
|
+
'@apply pt-6': {}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
'&-lg': {
|
|
27
|
+
'@apply gap-12 pl-16 pr-12 py-12': {},
|
|
28
|
+
'.sk-alert-icon': {
|
|
29
|
+
'@apply pt-6': {}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
'&-content': {
|
|
33
|
+
'@apply flex flex-col w-full grow': {},
|
|
34
|
+
'&-description': {
|
|
35
|
+
'@apply text-small': {}
|
|
36
|
+
},
|
|
37
|
+
'&-sm': {
|
|
38
|
+
'@apply py-6': {},
|
|
39
|
+
'.sk-alert-content-title': {
|
|
40
|
+
'@apply text-small m-0': {}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
'&-md': {
|
|
44
|
+
'@apply py-4': {},
|
|
45
|
+
'.sk-alert-content-title': {
|
|
46
|
+
'@apply text-base': {}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
'&-lg': {
|
|
50
|
+
'@apply py-4': {},
|
|
51
|
+
'.sk-alert-content-title': {
|
|
52
|
+
'@apply text-large': {}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
'&-icon': {
|
|
57
|
+
'@apply flex-none': {}
|
|
58
|
+
},
|
|
59
|
+
'&-button': {
|
|
60
|
+
'@apply flex-none justify-self-end': {}
|
|
61
|
+
},
|
|
62
|
+
'&-info': {
|
|
63
|
+
'@apply border-1 border-vattjom-surface-primary bg-vattjom-background-100': {}
|
|
64
|
+
},
|
|
65
|
+
'&-neutral': {
|
|
66
|
+
'@apply border-1 border-divider bg-background-100': {}
|
|
67
|
+
},
|
|
68
|
+
'&-success': {
|
|
69
|
+
'@apply border-1 border-gronsta-surface-primary bg-gronsta-background-100': {}
|
|
70
|
+
},
|
|
71
|
+
'&-warning': {
|
|
72
|
+
'@apply border-1 border-warning-surface-primary bg-warning-background-100': {}
|
|
73
|
+
},
|
|
74
|
+
'&-error': {
|
|
75
|
+
'@apply border-1 border-error-surface-primary bg-error-background-100': {}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
//# sourceMappingURL=alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/alert.ts"],"sourcesContent":["export const Alert = () => ({\r\n '.sk-alert': {\r\n '@apply flex rounded-button': {},\r\n '&-sm': {\r\n '@apply rounded-xl gap-8 pl-10 pr-6': {},\r\n '.sk-alert-icon': {\r\n '@apply pt-6': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply gap-12 pl-16 pr-12 py-12': {},\r\n '.sk-alert-icon': {\r\n '@apply pt-6': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply gap-12 pl-16 pr-12 py-12': {},\r\n '.sk-alert-icon': {\r\n '@apply pt-6': {},\r\n },\r\n },\r\n '&-content': {\r\n '@apply flex flex-col w-full grow': {},\r\n '&-description': {\r\n '@apply text-small': {},\r\n },\r\n '&-sm': {\r\n '@apply py-6': {},\r\n '.sk-alert-content-title': {\r\n '@apply text-small m-0': {},\r\n },\r\n },\r\n '&-md': {\r\n '@apply py-4': {},\r\n '.sk-alert-content-title': {\r\n '@apply text-base': {},\r\n },\r\n },\r\n '&-lg': {\r\n '@apply py-4': {},\r\n '.sk-alert-content-title': {\r\n '@apply text-large': {},\r\n },\r\n },\r\n },\r\n '&-icon': {\r\n '@apply flex-none': {},\r\n },\r\n '&-button': {\r\n '@apply flex-none justify-self-end': {},\r\n },\r\n '&-info': {\r\n '@apply border-1 border-vattjom-surface-primary bg-vattjom-background-100': {},\r\n },\r\n '&-neutral': {\r\n '@apply border-1 border-divider bg-background-100': {},\r\n },\r\n '&-success': {\r\n '@apply border-1 border-gronsta-surface-primary bg-gronsta-background-100': {},\r\n },\r\n '&-warning': {\r\n '@apply border-1 border-warning-surface-primary bg-warning-background-100': {},\r\n },\r\n '&-error': {\r\n '@apply border-1 border-error-surface-primary bg-error-background-100': {},\r\n },\r\n },\r\n});\r\n"],"names":["Alert"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,QAAQ,IAAO,CAAA;QAC1B,aAAa;YACX,8BAA8B,CAAC;YAC/B,QAAQ;gBACN,sCAAsC,CAAC;gBACvC,kBAAkB;oBAChB,eAAe,CAAC;gBAClB;YACF;YACA,QAAQ;gBACN,mCAAmC,CAAC;gBACpC,kBAAkB;oBAChB,eAAe,CAAC;gBAClB;YACF;YACA,QAAQ;gBACN,mCAAmC,CAAC;gBACpC,kBAAkB;oBAChB,eAAe,CAAC;gBAClB;YACF;YACA,aAAa;gBACX,oCAAoC,CAAC;gBACrC,iBAAiB;oBACf,qBAAqB,CAAC;gBACxB;gBACA,QAAQ;oBACN,eAAe,CAAC;oBAChB,2BAA2B;wBACzB,yBAAyB,CAAC;oBAC5B;gBACF;gBACA,QAAQ;oBACN,eAAe,CAAC;oBAChB,2BAA2B;wBACzB,oBAAoB,CAAC;oBACvB;gBACF;gBACA,QAAQ;oBACN,eAAe,CAAC;oBAChB,2BAA2B;wBACzB,qBAAqB,CAAC;oBACxB;gBACF;YACF;YACA,UAAU;gBACR,oBAAoB,CAAC;YACvB;YACA,YAAY;gBACV,qCAAqC,CAAC;YACxC;YACA,UAAU;gBACR,4EAA4E,CAAC;YAC/E;YACA,aAAa;gBACX,oDAAoD,CAAC;YACvD;YACA,aAAa;gBACX,4EAA4E,CAAC;YAC/E;YACA,aAAa;gBACX,4EAA4E,CAAC;YAC/E;YACA,WAAW;gBACT,wEAAwE,CAAC;YAC3E;QACF;IACF,CAAA"}
|
|
@@ -30,6 +30,15 @@ const Forms = ()=>({
|
|
|
30
30
|
'.sk-form-helper-text, .sk-form-error-message': {
|
|
31
31
|
'@apply font-normal': {},
|
|
32
32
|
'@apply text-small': {}
|
|
33
|
+
},
|
|
34
|
+
'.sk-form-error-message': {
|
|
35
|
+
'@apply text-error': {},
|
|
36
|
+
'@apply flex items-start gap-8': {},
|
|
37
|
+
'@apply self-stretch': {}
|
|
38
|
+
},
|
|
39
|
+
'.sk-form-error-message-icon': {
|
|
40
|
+
'@apply shrink-0': {},
|
|
41
|
+
'@apply pt-1': {}
|
|
33
42
|
}
|
|
34
43
|
});
|
|
35
44
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/forms.ts"],"sourcesContent":["export const Forms = () => ({\r\n '.sk-form-control': {\r\n '@apply flex flex-col gap-8 w-fit': {},\r\n },\r\n\r\n '.sk-form-label': {\r\n '@apply font-bold': {},\r\n '&-sm': {\r\n '@apply text-label-small': {},\r\n },\r\n '&-md': {\r\n '@apply text-label-medium': {},\r\n },\r\n '&-lg': {\r\n '@apply text-label-large': {},\r\n },\r\n },\r\n\r\n 'legend.sk-form-label': {\r\n display: 'contents',\r\n },\r\n\r\n '.sk-form-helper-text, .sk-form-error-message': {\r\n '@apply font-normal': {},\r\n '@apply text-small': {},\r\n },\r\n});\r\n"],"names":["Forms","display"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,QAAQ,IAAO,CAAA;QAC1B,oBAAoB;YAClB,oCAAoC,CAAC;QACvC;QAEA,kBAAkB;YAChB,oBAAoB,CAAC;YACrB,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;YACA,QAAQ;gBACN,4BAA4B,CAAC;YAC/B;YACA,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;QACF;QAEA,wBAAwB;YACtBC,SAAS;QACX;QAEA,gDAAgD;YAC9C,sBAAsB,CAAC;YACvB,qBAAqB,CAAC;QACxB;IACF,CAAA"}
|
|
1
|
+
{"version":3,"sources":["../../../src/components/forms.ts"],"sourcesContent":["export const Forms = () => ({\r\n '.sk-form-control': {\r\n '@apply flex flex-col gap-8 w-fit': {},\r\n },\r\n\r\n '.sk-form-label': {\r\n '@apply font-bold': {},\r\n '&-sm': {\r\n '@apply text-label-small': {},\r\n },\r\n '&-md': {\r\n '@apply text-label-medium': {},\r\n },\r\n '&-lg': {\r\n '@apply text-label-large': {},\r\n },\r\n },\r\n\r\n 'legend.sk-form-label': {\r\n display: 'contents',\r\n },\r\n\r\n '.sk-form-helper-text, .sk-form-error-message': {\r\n '@apply font-normal': {},\r\n '@apply text-small': {},\r\n },\r\n '.sk-form-error-message': {\r\n '@apply text-error': {},\r\n '@apply flex items-start gap-8': {},\r\n '@apply self-stretch': {},\r\n },\r\n '.sk-form-error-message-icon': {\r\n '@apply shrink-0': {},\r\n '@apply pt-1': {},\r\n },\r\n});\r\n"],"names":["Forms","display"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,QAAQ,IAAO,CAAA;QAC1B,oBAAoB;YAClB,oCAAoC,CAAC;QACvC;QAEA,kBAAkB;YAChB,oBAAoB,CAAC;YACrB,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;YACA,QAAQ;gBACN,4BAA4B,CAAC;YAC/B;YACA,QAAQ;gBACN,2BAA2B,CAAC;YAC9B;QACF;QAEA,wBAAwB;YACtBC,SAAS;QACX;QAEA,gDAAgD;YAC9C,sBAAsB,CAAC;YACvB,qBAAqB,CAAC;QACxB;QACA,0BAA0B;YACxB,qBAAqB,CAAC;YACtB,iCAAiC,CAAC;YAClC,uBAAuB,CAAC;QAC1B;QACA,+BAA+B;YAC7B,mBAAmB,CAAC;YACpB,eAAe,CAAC;QAClB;IACF,CAAA"}
|
|
@@ -291,6 +291,45 @@ function timeAndDatePicker() {
|
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
+
function textareaGroup() {
|
|
295
|
+
return {
|
|
296
|
+
'&-textarea': {
|
|
297
|
+
...inputGroup(),
|
|
298
|
+
'&-group-inner': {
|
|
299
|
+
'@apply h-auto': {},
|
|
300
|
+
'@apply flex-wrap': {},
|
|
301
|
+
'.sk-form-input-textarea': {
|
|
302
|
+
'@apply w-full': {}
|
|
303
|
+
},
|
|
304
|
+
'.sk-form-textarea-counter': {
|
|
305
|
+
'@apply w-full': {},
|
|
306
|
+
'@apply border-t-divider border-t-1': {}
|
|
307
|
+
},
|
|
308
|
+
'&&-lg': {
|
|
309
|
+
'@apply min-h-48 h-auto': {},
|
|
310
|
+
'.sk-form-textarea-counter': {
|
|
311
|
+
'@apply px-20': {},
|
|
312
|
+
'@apply py-11': {}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
'&&-md': {
|
|
316
|
+
'@apply min-h-40 h-auto': {},
|
|
317
|
+
'.sk-form-textarea-counter': {
|
|
318
|
+
'@apply px-16': {},
|
|
319
|
+
'@apply py-7': {}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
'&&-sm': {
|
|
323
|
+
'@apply min-h-32 h-auto': {},
|
|
324
|
+
'.sk-form-textarea-counter': {
|
|
325
|
+
'@apply px-12': {},
|
|
326
|
+
'@apply py-5': {}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
}
|
|
294
333
|
const Input = ()=>({
|
|
295
334
|
'.sk-form-input': {
|
|
296
335
|
'@apply grow-0': {},
|
|
@@ -349,7 +388,8 @@ const Input = ()=>({
|
|
|
349
388
|
...inputStandards(),
|
|
350
389
|
...inputGroup(),
|
|
351
390
|
...addin(),
|
|
352
|
-
...addon()
|
|
391
|
+
...addon(),
|
|
392
|
+
...textareaGroup()
|
|
353
393
|
}
|
|
354
394
|
});
|
|
355
395
|
|