@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
|
@@ -1,120 +1,140 @@
|
|
|
1
1
|
export declare const Accordion: () => {
|
|
2
2
|
'.sk-disclosure': {
|
|
3
|
+
'@apply mt-6 mb-8': {};
|
|
4
|
+
'@apply text-dark-secondary': {};
|
|
5
|
+
'&[data-inverted="true"]': {
|
|
6
|
+
'@apply text-inverted-dark-secondary': {};
|
|
7
|
+
};
|
|
3
8
|
'&-icon': {
|
|
4
9
|
'@apply flex self-center': {};
|
|
5
10
|
};
|
|
6
11
|
'&-header': {
|
|
7
|
-
'@apply
|
|
8
|
-
'@apply flex flex-
|
|
12
|
+
'@apply py-8': {};
|
|
13
|
+
'@apply flex flex-row text-left': {};
|
|
9
14
|
'@apply cursor-pointer': {};
|
|
10
|
-
'
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
'&:focus-visible': {
|
|
14
|
-
'@apply outline-0': {};
|
|
15
|
-
};
|
|
15
|
+
'@apply items-center justify-between': {};
|
|
16
|
+
'@apply gap-16': {};
|
|
16
17
|
'&-icon': {
|
|
17
|
-
'@apply
|
|
18
|
-
'
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
'@apply w-32 h-32': {};
|
|
19
|
+
'&-sm': {
|
|
20
|
+
'@apply w-20 min-h-20': {};
|
|
21
|
+
};
|
|
22
|
+
'&-md': {
|
|
23
|
+
'@apply w-24 min-h-24': {};
|
|
21
24
|
};
|
|
22
25
|
};
|
|
23
|
-
'
|
|
24
|
-
'@apply text-dark-
|
|
25
|
-
'
|
|
26
|
+
'&-title': {
|
|
27
|
+
'@apply text-dark-primary': {};
|
|
28
|
+
'@apply w-full': {};
|
|
29
|
+
'@apply flex flex-row': {};
|
|
30
|
+
'@apply items-center': {};
|
|
31
|
+
'@apply grow shrink': {};
|
|
32
|
+
'&[data-inverted="true"]': {
|
|
33
|
+
'@apply text-inverted-dark-primary': {};
|
|
34
|
+
};
|
|
35
|
+
'*': {
|
|
36
|
+
'@apply m-0': {};
|
|
37
|
+
'@apply text-inherit': {};
|
|
38
|
+
fontSize: string;
|
|
39
|
+
FontFamily: string;
|
|
40
|
+
lineHeight: string;
|
|
41
|
+
};
|
|
42
|
+
'&-disabled': {
|
|
26
43
|
'@apply text-dark-disabled': {};
|
|
44
|
+
'&[data-inverted="true"]': {
|
|
45
|
+
'@apply text-inverted-dark-disabled': {};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
'&-sm': {
|
|
49
|
+
'@apply gap-16': {};
|
|
50
|
+
'@apply text-h4-sm': {};
|
|
51
|
+
'&[data-variant="alt"]': {
|
|
52
|
+
'@apply gap-12': {};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'&-md': {
|
|
56
|
+
'@apply gap-16': {};
|
|
57
|
+
'@apply text-h4-md': {};
|
|
58
|
+
'&[data-variant="alt"]': {
|
|
59
|
+
'@apply gap-12': {};
|
|
60
|
+
};
|
|
27
61
|
};
|
|
62
|
+
'&-lg': {
|
|
63
|
+
'@apply gap-16': {};
|
|
64
|
+
'&[data-variant="alt"]': {
|
|
65
|
+
'@apply gap-16': {};
|
|
66
|
+
'@apply text-h3-md': {};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
'&-divider': {
|
|
70
|
+
'@apply border-divider': {};
|
|
71
|
+
'&[data-inverted="true"]': {
|
|
72
|
+
'@apply border-inverted-divider': {};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
'&:focus-visible': {
|
|
77
|
+
'@apply outline-0': {};
|
|
78
|
+
};
|
|
79
|
+
'&[aria-disabled="true"]': {
|
|
80
|
+
'@apply text-dark-disabled': {};
|
|
28
81
|
'@apply cursor-default': {};
|
|
29
82
|
'*': {
|
|
30
83
|
'@apply cursor-default': {};
|
|
31
84
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
'&-label': {
|
|
35
|
-
'@apply shrink-0': {};
|
|
36
|
-
};
|
|
37
|
-
'&-toggle': {
|
|
38
|
-
'@apply flex items-center justify-between': {};
|
|
39
|
-
'@apply gap-16': {};
|
|
40
|
-
'.sk-icon': {
|
|
41
|
-
'@apply w-32 h-32': {};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
'&-title': {
|
|
45
|
-
'@apply text-dark-primary': {};
|
|
46
|
-
'&-wrapper': {
|
|
47
|
-
'@apply w-full': {};
|
|
48
|
-
'@apply flex flex-row': {};
|
|
49
|
-
'@apply items-center': {};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
'&-sm': {
|
|
53
|
-
'.sk-disclosure-title': {
|
|
54
|
-
'@apply text-h4-sm font-bold': {};
|
|
55
|
-
'&-wrapper': {
|
|
56
|
-
'@apply gap-12': {};
|
|
85
|
+
'&[data-inverted="true"]': {
|
|
86
|
+
'@apply text-inverted-dark-disabled': {};
|
|
57
87
|
};
|
|
58
88
|
};
|
|
59
|
-
'
|
|
60
|
-
'@apply gap-
|
|
61
|
-
'
|
|
62
|
-
|
|
89
|
+
'&-sm': {
|
|
90
|
+
'@apply gap-16': {};
|
|
91
|
+
'@apply h-32': {};
|
|
92
|
+
'&[data-variant="alt"]': {
|
|
93
|
+
'@apply gap-12': {};
|
|
63
94
|
};
|
|
64
|
-
|
|
65
|
-
'.sk-disclosure-support': {
|
|
66
|
-
'@apply text-small': {};
|
|
67
|
-
};
|
|
68
|
-
'&[data-variant="default"]': {
|
|
69
|
-
'.sk-disclosure-toggle': {
|
|
70
|
-
'@apply py-4': {};
|
|
95
|
+
'&[data-variant="default"]': {
|
|
71
96
|
'@apply min-h-40': {};
|
|
72
97
|
};
|
|
73
|
-
'.sk-disclosure-header-icon': {
|
|
74
|
-
'@apply w-32 h-32': {};
|
|
75
|
-
};
|
|
76
98
|
};
|
|
77
|
-
'
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
'.sk-disclosure-title': {
|
|
81
|
-
'@apply text-h4-md font-bold': {};
|
|
82
|
-
'&-wrapper': {
|
|
99
|
+
'&-md': {
|
|
100
|
+
'@apply gap-16': {};
|
|
101
|
+
'&[data-variant="alt"]': {
|
|
83
102
|
'@apply gap-12': {};
|
|
84
103
|
};
|
|
104
|
+
'&[data-variant="default"]': {
|
|
105
|
+
'@apply min-h-56': {};
|
|
106
|
+
};
|
|
85
107
|
};
|
|
86
|
-
'
|
|
87
|
-
'@apply gap-
|
|
88
|
-
'.sk-icon': {
|
|
89
|
-
'@apply w-
|
|
108
|
+
'&-lg': {
|
|
109
|
+
'@apply gap-16': {};
|
|
110
|
+
'.sk-disclosure-header-icon': {
|
|
111
|
+
'@apply w-32 min-h-32': {};
|
|
112
|
+
};
|
|
113
|
+
'&[data-variant="alt"]': {
|
|
114
|
+
'@apply gap-16': {};
|
|
90
115
|
};
|
|
91
116
|
};
|
|
92
|
-
|
|
93
|
-
|
|
117
|
+
};
|
|
118
|
+
'&[data-variant="alt"]': {
|
|
119
|
+
'.sk-disclosure-header': {
|
|
120
|
+
'@apply py-0': {};
|
|
121
|
+
'@apply h-32': {};
|
|
94
122
|
};
|
|
123
|
+
};
|
|
124
|
+
'&-label': {
|
|
125
|
+
'@apply shrink-0': {};
|
|
126
|
+
};
|
|
127
|
+
'&-md': {
|
|
95
128
|
'&[data-variant="default"]': {
|
|
96
|
-
'.sk-disclosure-
|
|
129
|
+
'.sk-disclosure-header': {
|
|
97
130
|
'@apply py-8': {};
|
|
98
131
|
'@apply min-h-56': {};
|
|
99
132
|
};
|
|
100
|
-
'.sk-disclosure-header-
|
|
133
|
+
'.sk-disclosure-header-button': {
|
|
101
134
|
'@apply w-40 h-40': {};
|
|
102
135
|
};
|
|
103
136
|
};
|
|
104
137
|
};
|
|
105
|
-
'&-lg': {
|
|
106
|
-
'&[data-variant="alt"]': {
|
|
107
|
-
'.sk-disclosure-support': {
|
|
108
|
-
'@apply text-large': {};
|
|
109
|
-
};
|
|
110
|
-
'.sk-disclosure-title': {
|
|
111
|
-
'@apply text-h3-md font-bold': {};
|
|
112
|
-
'&-wrapper': {
|
|
113
|
-
'@apply gap-16': {};
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
138
|
'&-body': {
|
|
119
139
|
'&[data-size="sm"]': {
|
|
120
140
|
'@apply pr-12': {};
|
|
@@ -133,11 +153,11 @@ export declare const Accordion: () => {
|
|
|
133
153
|
'@apply py-0': {};
|
|
134
154
|
transitionProperty: string;
|
|
135
155
|
transitionDuration: string;
|
|
136
|
-
'&[aria-hidden="true"]
|
|
137
|
-
'@apply my-0
|
|
156
|
+
'&[aria-hidden="true"]': {
|
|
157
|
+
'@apply my-0 overflow-hidden max-h-0 opacity-0': {};
|
|
138
158
|
};
|
|
139
|
-
'&[aria-hidden="false"]
|
|
140
|
-
'@apply block opacity-100
|
|
159
|
+
'&[aria-hidden="false"]': {
|
|
160
|
+
'@apply block opacity-100': {};
|
|
141
161
|
};
|
|
142
162
|
'&[data-variant="alt"]': {
|
|
143
163
|
'@apply mt-24': {};
|
|
@@ -170,31 +190,13 @@ export declare const Accordion: () => {
|
|
|
170
190
|
transitionProperty: string;
|
|
171
191
|
transitionDuration: string;
|
|
172
192
|
'@apply border-b-1 border-divider': {};
|
|
193
|
+
'&[data-inverted="true"]': {
|
|
194
|
+
'@apply border-inverted-divider': {};
|
|
195
|
+
};
|
|
173
196
|
};
|
|
174
197
|
'&:last-child .sk-disclosure': {
|
|
175
198
|
'@apply border-b-transparent': {};
|
|
176
199
|
};
|
|
177
200
|
};
|
|
178
201
|
};
|
|
179
|
-
'&[data-inverted="true"]': {
|
|
180
|
-
'&.sk-disclosure': {
|
|
181
|
-
'&-icon': {
|
|
182
|
-
'@apply text-inverted-dark-secondary': {};
|
|
183
|
-
};
|
|
184
|
-
'&[data-disabled="true"]': {
|
|
185
|
-
'@apply text-inverted-dark-disabled': {};
|
|
186
|
-
'.sk-disclosure-title': {
|
|
187
|
-
'@apply text-inverted-dark-disabled': {};
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
'&-title': {
|
|
191
|
-
'@apply text-inverted-dark-primary': {};
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
'&.sk-accordion': {
|
|
195
|
-
'&-item': {
|
|
196
|
-
'@apply border-inverted-divider': {};
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
202
|
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export declare const ChatInput: () => {
|
|
2
|
+
'.sk-chat-input': {
|
|
3
|
+
'&-textarea': {
|
|
4
|
+
'@apply flex': {};
|
|
5
|
+
'@apply grow shrink': {};
|
|
6
|
+
'@apply self-start': {};
|
|
7
|
+
'&[data-wrap="true"]': {
|
|
8
|
+
'@apply w-full': {};
|
|
9
|
+
};
|
|
10
|
+
'&[data-wrap="false"]': {
|
|
11
|
+
'@apply w-auto': {};
|
|
12
|
+
};
|
|
13
|
+
'&-sm': {
|
|
14
|
+
'@apply min-h-34+1': {};
|
|
15
|
+
'@apply max-h-[11rem]': {};
|
|
16
|
+
'@apply mt-5': {};
|
|
17
|
+
};
|
|
18
|
+
'&-md': {
|
|
19
|
+
'@apply min-h-42': {};
|
|
20
|
+
'@apply max-h-[13.4rem]': {};
|
|
21
|
+
'@apply mt-4': {};
|
|
22
|
+
};
|
|
23
|
+
'&-lg': {
|
|
24
|
+
'@apply min-h-56': {};
|
|
25
|
+
'@apply max-h-[14.2rem]': {};
|
|
26
|
+
'@apply mt-6': {};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'&-wrapper': {
|
|
30
|
+
'@apply flex flex-row flex-wrap': {};
|
|
31
|
+
'@apply justify-end': {};
|
|
32
|
+
};
|
|
33
|
+
'&-submitbutton': {
|
|
34
|
+
'@apply shrink-0 flex justify-self-end': {};
|
|
35
|
+
'@apply relative': {};
|
|
36
|
+
'&-sm': {
|
|
37
|
+
'@apply py-5 px-7': {};
|
|
38
|
+
};
|
|
39
|
+
'&-md': {
|
|
40
|
+
'@apply py-7 px-9': {};
|
|
41
|
+
};
|
|
42
|
+
'&-lg': {
|
|
43
|
+
'@apply py-11 px-13': {};
|
|
44
|
+
};
|
|
45
|
+
'&-inner-wrapper': {
|
|
46
|
+
'@apply relative inline-flex items-center': {};
|
|
47
|
+
};
|
|
48
|
+
'&-tooltip': {
|
|
49
|
+
'@apply absolute right-full': {};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
'&-toolbar': {
|
|
53
|
+
'@apply flex': {};
|
|
54
|
+
'@apply relative': {};
|
|
55
|
+
'@apply gap-6': {};
|
|
56
|
+
'@apply bg-transparent': {};
|
|
57
|
+
'@apply justify-start': {};
|
|
58
|
+
'@apply w-auto': {};
|
|
59
|
+
'@apply shrink grow': {};
|
|
60
|
+
'&-sm': {
|
|
61
|
+
'@apply py-5 px-7': {};
|
|
62
|
+
};
|
|
63
|
+
'&-md': {
|
|
64
|
+
'@apply py-7 px-9': {};
|
|
65
|
+
};
|
|
66
|
+
'&-lg': {
|
|
67
|
+
'@apply py-11 px-13': {};
|
|
68
|
+
};
|
|
69
|
+
'&-button': {
|
|
70
|
+
'&-wrapper': {
|
|
71
|
+
'@apply relative inline-flex justify-center overflow-visible': {};
|
|
72
|
+
};
|
|
73
|
+
'&-tooltip': {
|
|
74
|
+
'@apply absolute shrink-0 bottom-full w-max': {};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const Alert: () => {
|
|
2
|
+
'.sk-alert': {
|
|
3
|
+
'@apply flex rounded-button': {};
|
|
4
|
+
'&-sm': {
|
|
5
|
+
'@apply rounded-xl gap-8 pl-10 pr-6': {};
|
|
6
|
+
'.sk-alert-icon': {
|
|
7
|
+
'@apply pt-6': {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
'&-md': {
|
|
11
|
+
'@apply gap-12 pl-16 pr-12 py-12': {};
|
|
12
|
+
'.sk-alert-icon': {
|
|
13
|
+
'@apply pt-6': {};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
'&-lg': {
|
|
17
|
+
'@apply gap-12 pl-16 pr-12 py-12': {};
|
|
18
|
+
'.sk-alert-icon': {
|
|
19
|
+
'@apply pt-6': {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'&-content': {
|
|
23
|
+
'@apply flex flex-col w-full grow': {};
|
|
24
|
+
'&-description': {
|
|
25
|
+
'@apply text-small': {};
|
|
26
|
+
};
|
|
27
|
+
'&-sm': {
|
|
28
|
+
'@apply py-6': {};
|
|
29
|
+
'.sk-alert-content-title': {
|
|
30
|
+
'@apply text-small m-0': {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
'&-md': {
|
|
34
|
+
'@apply py-4': {};
|
|
35
|
+
'.sk-alert-content-title': {
|
|
36
|
+
'@apply text-base': {};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
'&-lg': {
|
|
40
|
+
'@apply py-4': {};
|
|
41
|
+
'.sk-alert-content-title': {
|
|
42
|
+
'@apply text-large': {};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
'&-icon': {
|
|
47
|
+
'@apply flex-none': {};
|
|
48
|
+
};
|
|
49
|
+
'&-button': {
|
|
50
|
+
'@apply flex-none justify-self-end': {};
|
|
51
|
+
};
|
|
52
|
+
'&-info': {
|
|
53
|
+
'@apply border-1 border-vattjom-surface-primary bg-vattjom-background-100': {};
|
|
54
|
+
};
|
|
55
|
+
'&-neutral': {
|
|
56
|
+
'@apply border-1 border-divider bg-background-100': {};
|
|
57
|
+
};
|
|
58
|
+
'&-success': {
|
|
59
|
+
'@apply border-1 border-gronsta-surface-primary bg-gronsta-background-100': {};
|
|
60
|
+
};
|
|
61
|
+
'&-warning': {
|
|
62
|
+
'@apply border-1 border-warning-surface-primary bg-warning-background-100': {};
|
|
63
|
+
};
|
|
64
|
+
'&-error': {
|
|
65
|
+
'@apply border-1 border-error-surface-primary bg-error-background-100': {};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -21,4 +21,13 @@ export declare const Forms: () => {
|
|
|
21
21
|
'@apply font-normal': {};
|
|
22
22
|
'@apply text-small': {};
|
|
23
23
|
};
|
|
24
|
+
'.sk-form-error-message': {
|
|
25
|
+
'@apply text-error': {};
|
|
26
|
+
'@apply flex items-start gap-8': {};
|
|
27
|
+
'@apply self-stretch': {};
|
|
28
|
+
};
|
|
29
|
+
'.sk-form-error-message-icon': {
|
|
30
|
+
'@apply shrink-0': {};
|
|
31
|
+
'@apply pt-1': {};
|
|
32
|
+
};
|
|
24
33
|
};
|
|
@@ -1,5 +1,111 @@
|
|
|
1
1
|
export declare const Input: () => {
|
|
2
2
|
'.sk-form-input': {
|
|
3
|
+
'&-textarea': {
|
|
4
|
+
'&-group-inner': {
|
|
5
|
+
'@apply h-auto': {};
|
|
6
|
+
'@apply flex-wrap': {};
|
|
7
|
+
'.sk-form-input-textarea': {
|
|
8
|
+
'@apply w-full': {};
|
|
9
|
+
};
|
|
10
|
+
'.sk-form-textarea-counter': {
|
|
11
|
+
'@apply w-full': {};
|
|
12
|
+
'@apply border-t-divider border-t-1': {};
|
|
13
|
+
};
|
|
14
|
+
'&&-lg': {
|
|
15
|
+
'@apply min-h-48 h-auto': {};
|
|
16
|
+
'.sk-form-textarea-counter': {
|
|
17
|
+
'@apply px-20': {};
|
|
18
|
+
'@apply py-11': {};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
'&&-md': {
|
|
22
|
+
'@apply min-h-40 h-auto': {};
|
|
23
|
+
'.sk-form-textarea-counter': {
|
|
24
|
+
'@apply px-16': {};
|
|
25
|
+
'@apply py-7': {};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'&&-sm': {
|
|
29
|
+
'@apply min-h-32 h-auto': {};
|
|
30
|
+
'.sk-form-textarea-counter': {
|
|
31
|
+
'@apply px-12': {};
|
|
32
|
+
'@apply py-5': {};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'&-group': {
|
|
37
|
+
'&-outer': {
|
|
38
|
+
'@apply flex gap-0 max-w-full': {};
|
|
39
|
+
'&[data-hasleftaddon="true"]': {
|
|
40
|
+
'.sk-form-input, .sk-form-input-group-inner': {
|
|
41
|
+
'@apply rounded-l-0': {};
|
|
42
|
+
'@apply border-l-0': {};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
'&[data-hasrightaddon="true"]': {
|
|
46
|
+
'.sk-form-input, .sk-form-input-group-inner': {
|
|
47
|
+
'@apply rounded-r-0': {};
|
|
48
|
+
'@apply border-r-0': {};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
'&-inner': {
|
|
53
|
+
'.sk-form-input': {
|
|
54
|
+
'@apply rounded-0': {};
|
|
55
|
+
'@apply border-0': {};
|
|
56
|
+
'@apply focus:ring-0': {};
|
|
57
|
+
'@apply focus:ring-offset-0': {};
|
|
58
|
+
'@apply bg-transparent': {};
|
|
59
|
+
'@apply dark:bg-transparent': {};
|
|
60
|
+
'@apply grow': {};
|
|
61
|
+
};
|
|
62
|
+
'@apply border-1': {};
|
|
63
|
+
'@apply border-input-field-outline': {};
|
|
64
|
+
'@apply hover:border-input-field-outline-hover': {};
|
|
65
|
+
'@apply placeholder:text-dark-placeholder': {};
|
|
66
|
+
'@apply bg-input-field-surface': {};
|
|
67
|
+
'&:invalid, &[aria-invalid="true"]': {
|
|
68
|
+
'@apply border-2 border-error-surface-primary': {};
|
|
69
|
+
};
|
|
70
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
71
|
+
'@apply bg-input-field-surface-disabled': {};
|
|
72
|
+
'@apply border-input-field-outline-disabled': {};
|
|
73
|
+
'@apply hover:border-input-field-outline-disabled': {};
|
|
74
|
+
'@apply text-dark-disabled': {};
|
|
75
|
+
};
|
|
76
|
+
'&:read-only': {
|
|
77
|
+
'@apply bg-input-field-surface': {};
|
|
78
|
+
'@apply border-input-field-outline-disabled': {};
|
|
79
|
+
'@apply text-dark-secondary': {};
|
|
80
|
+
'@apply placeholder:text-dark-secondary': {};
|
|
81
|
+
};
|
|
82
|
+
'@apply flex relative grow': {};
|
|
83
|
+
'@apply items-center': {};
|
|
84
|
+
'@apply focus-within:ring': {};
|
|
85
|
+
'@apply focus-within:ring-ring': {};
|
|
86
|
+
'@apply text-dark-secondary': {};
|
|
87
|
+
'@apply focus-within:border-input-field-surface': {};
|
|
88
|
+
'&:not(:invalid):not([aria-invalid="true"])': {
|
|
89
|
+
'@apply focus-within:border-input-field-surface': {};
|
|
90
|
+
};
|
|
91
|
+
'&&-lg': {
|
|
92
|
+
'@apply text-input-large': {};
|
|
93
|
+
'@apply rounded-button-lg': {};
|
|
94
|
+
'@apply h-48': {};
|
|
95
|
+
};
|
|
96
|
+
'&&-md': {
|
|
97
|
+
'@apply text-input-medium': {};
|
|
98
|
+
'@apply rounded-button-md': {};
|
|
99
|
+
'@apply h-40': {};
|
|
100
|
+
};
|
|
101
|
+
'&&-sm': {
|
|
102
|
+
'@apply text-input-small': {};
|
|
103
|
+
'@apply rounded-button-sm': {};
|
|
104
|
+
'@apply h-32': {};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
3
109
|
'&-addon': {
|
|
4
110
|
'.sk-form-input': {
|
|
5
111
|
'@apply rounded-0': {};
|
|
@@ -5,6 +5,12 @@ export declare const ProgressBar: (colors: string[]) => {
|
|
|
5
5
|
"@apply bg-primary-surface": {};
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
'&-sm': {
|
|
9
|
+
'@apply h-[4px]': {};
|
|
10
|
+
};
|
|
11
|
+
'&-md': {
|
|
12
|
+
'@apply h-[8px]': {};
|
|
13
|
+
};
|
|
8
14
|
'@apply flex h-4 rounded-circular bg-background-color-mixin-2': {};
|
|
9
15
|
'&-fill': {
|
|
10
16
|
'@apply rounded-circular': {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sk-web-gui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"mini-svg-data-uri": "^1.4.4",
|
|
42
42
|
"tailwindcss": "^3.4.17"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "9759cc8217a908dd19c3de4afbbcb41a552b2ded"
|
|
45
45
|
}
|