@sk-web-gui/core 4.0.0 → 4.1.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 +1 -1
- package/dist/cjs/components/accordion.js.map +1 -1
- package/dist/cjs/components/progress-stepper.js +64 -42
- package/dist/cjs/components/progress-stepper.js.map +1 -1
- package/dist/esm/components/accordion.js +1 -1
- package/dist/esm/components/accordion.js.map +1 -1
- package/dist/esm/components/progress-stepper.js +64 -42
- package/dist/esm/components/progress-stepper.js.map +1 -1
- package/dist/types/components/accordion.d.ts +1 -1
- package/dist/types/components/progress-stepper.d.ts +62 -40
- package/package.json +2 -2
- package/dist/types/components/countrycode-select.d.ts +0 -5
|
@@ -147,7 +147,7 @@ const Accordion = ()=>({
|
|
|
147
147
|
'@apply my-0 invisible max-h-0 opacity-0': {}
|
|
148
148
|
},
|
|
149
149
|
'&[aria-hidden="false"], &[data-hidden="false"]': {
|
|
150
|
-
'@apply block
|
|
150
|
+
'@apply block opacity-100 visible': {}
|
|
151
151
|
},
|
|
152
152
|
'&[data-variant="alt"]': {
|
|
153
153
|
'@apply mt-24': {},
|
|
@@ -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 mt-6 mb-8': {},\r\n '@apply flex flex-col text-left': {},\r\n '@apply cursor-pointer': {},\r\n '*': {\r\n '@apply cursor-pointer': {},\r\n },\r\n '&:focus-visible': {\r\n '@apply outline-0': {},\r\n },\r\n\r\n '&-icon': {\r\n '@apply ml-auto': {},\r\n '@apply text-dark-secondary': {},\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-dark-disabled': {},\r\n '.sk-disclosure-title': {\r\n '@apply text-dark-disabled': {},\r\n },\r\n '@apply cursor-default': {},\r\n '*': {\r\n '@apply cursor-default': {},\r\n },\r\n },\r\n },\r\n '&-label': {\r\n '@apply shrink-0': {},\r\n },\r\n '&-toggle': {\r\n '@apply flex items-center justify-between': {},\r\n '@apply gap-16': {},\r\n '.sk-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&-title': {\r\n '@apply text-dark-primary': {},\r\n '&-wrapper': {\r\n '@apply w-full': {},\r\n '@apply flex flex-row': {},\r\n '@apply items-center': {},\r\n },\r\n },\r\n\r\n '&-sm': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-sm font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-20 min-h-20': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-small': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-4': {},\r\n '@apply min-h-40': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&[data-variant=\"alt\"]': {},\r\n },\r\n '&-md': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-24 min-h-24': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-body': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-8': {},\r\n '@apply min-h-56': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-40 h-40': {},\r\n },\r\n },\r\n },\r\n '&-lg': {\r\n '&[data-variant=\"alt\"]': {\r\n '.sk-disclosure-support': {\r\n '@apply text-large': {},\r\n },\r\n '.sk-disclosure-title': {\r\n '@apply text-h3-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-16': {},\r\n },\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: 'visibility, height, opacity, padding, margin',\r\n\r\n transitionDuration: '180ms',\r\n\r\n '&[aria-hidden=\"true\"], &[data-hidden=\"true\"]': {\r\n '@apply my-0 invisible max-h-0 opacity-0': {},\r\n },\r\n\r\n '&[aria-hidden=\"false\"], &[data-hidden=\"false\"]': {\r\n '@apply block
|
|
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 mt-6 mb-8': {},\r\n '@apply flex flex-col text-left': {},\r\n '@apply cursor-pointer': {},\r\n '*': {\r\n '@apply cursor-pointer': {},\r\n },\r\n '&:focus-visible': {\r\n '@apply outline-0': {},\r\n },\r\n\r\n '&-icon': {\r\n '@apply ml-auto': {},\r\n '@apply text-dark-secondary': {},\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-dark-disabled': {},\r\n '.sk-disclosure-title': {\r\n '@apply text-dark-disabled': {},\r\n },\r\n '@apply cursor-default': {},\r\n '*': {\r\n '@apply cursor-default': {},\r\n },\r\n },\r\n },\r\n '&-label': {\r\n '@apply shrink-0': {},\r\n },\r\n '&-toggle': {\r\n '@apply flex items-center justify-between': {},\r\n '@apply gap-16': {},\r\n '.sk-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&-title': {\r\n '@apply text-dark-primary': {},\r\n '&-wrapper': {\r\n '@apply w-full': {},\r\n '@apply flex flex-row': {},\r\n '@apply items-center': {},\r\n },\r\n },\r\n\r\n '&-sm': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-sm font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-20 min-h-20': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-small': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-4': {},\r\n '@apply min-h-40': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&[data-variant=\"alt\"]': {},\r\n },\r\n '&-md': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-24 min-h-24': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-body': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-8': {},\r\n '@apply min-h-56': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-40 h-40': {},\r\n },\r\n },\r\n },\r\n '&-lg': {\r\n '&[data-variant=\"alt\"]': {\r\n '.sk-disclosure-support': {\r\n '@apply text-large': {},\r\n },\r\n '.sk-disclosure-title': {\r\n '@apply text-h3-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-16': {},\r\n },\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: 'visibility, height, opacity, padding, margin',\r\n\r\n transitionDuration: '180ms',\r\n\r\n '&[aria-hidden=\"true\"], &[data-hidden=\"true\"]': {\r\n '@apply my-0 invisible max-h-0 opacity-0': {},\r\n },\r\n\r\n '&[aria-hidden=\"false\"], &[data-hidden=\"false\"]': {\r\n '@apply block opacity-100 visible': {},\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 },\r\n\r\n '&:last-child .sk-disclosure': {\r\n '@apply border-b-transparent': {},\r\n },\r\n },\r\n },\r\n\r\n '&[data-inverted=\"true\"]': {\r\n '&.sk-disclosure': {\r\n '&-icon': {\r\n '@apply text-inverted-dark-secondary': {},\r\n },\r\n\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-inverted-dark-disabled': {},\r\n '.sk-disclosure-title': {\r\n '@apply text-inverted-dark-disabled': {},\r\n },\r\n },\r\n\r\n '&-title': {\r\n '@apply text-inverted-dark-primary': {},\r\n },\r\n },\r\n '&.sk-accordion': {\r\n '&-item': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Accordion","svg","transitionProperty","transitionDuration"],"mappings":"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"}
|
|
@@ -10,69 +10,91 @@ Object.defineProperty(exports, "ProgressStepper", {
|
|
|
10
10
|
});
|
|
11
11
|
const ProgressStepper = ()=>({
|
|
12
12
|
'.sk-progress-stepper': {
|
|
13
|
-
'@apply flex justify-between': {},
|
|
14
|
-
|
|
15
|
-
'@apply
|
|
13
|
+
'@apply flex justify-between items-center': {},
|
|
14
|
+
'&.horizontal': {
|
|
15
|
+
'@apply flex-row gap-16': {}
|
|
16
|
+
},
|
|
17
|
+
'&.vertical': {
|
|
18
|
+
'@apply flex-col gap-4 h-full': {}
|
|
16
19
|
},
|
|
17
20
|
'&-step': {
|
|
18
|
-
'@apply flex
|
|
19
|
-
'@apply gap-4': {},
|
|
20
|
-
'@apply w-auto': {},
|
|
21
|
-
'@apply shrink-0': {},
|
|
21
|
+
'@apply flex items-center': {},
|
|
22
22
|
'@apply text-base leading-base text-dark-primary font-normal': {},
|
|
23
|
-
svg: {
|
|
24
|
-
'@apply w-20 h-20': {}
|
|
25
|
-
},
|
|
26
23
|
'&-wrapper': {
|
|
27
|
-
'@apply flex
|
|
28
|
-
|
|
29
|
-
'@apply
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
'@apply invisible': {}
|
|
24
|
+
'@apply flex items-center gap-8': {},
|
|
25
|
+
'&&-top': {
|
|
26
|
+
'@apply flex-col-reverse': {}
|
|
27
|
+
},
|
|
28
|
+
'&&-right': {
|
|
29
|
+
'@apply flex-row': {}
|
|
30
|
+
},
|
|
31
|
+
'&&-bottom': {
|
|
32
|
+
'@apply flex-col': {}
|
|
33
|
+
},
|
|
34
|
+
'&&-left': {
|
|
35
|
+
'@apply flex-row-reverse': {}
|
|
40
36
|
}
|
|
41
37
|
},
|
|
42
38
|
'&-box': {
|
|
43
|
-
'@apply
|
|
44
|
-
'@apply shrink-0': {},
|
|
45
|
-
'@apply h-40 w-40': {},
|
|
46
|
-
'@apply bg-secondary-surface': {},
|
|
39
|
+
'@apply shrink-0 rounded-lg h-32 w-32 bg-tertiary-surface': {},
|
|
47
40
|
'@apply flex justify-center items-center': {},
|
|
48
|
-
'@apply text-label-medium': {},
|
|
49
|
-
'@apply border-2 border-secondary-outline': {},
|
|
50
|
-
'@apply text-dark-secondary': {},
|
|
51
|
-
'@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {},
|
|
52
41
|
'&[data-rounded="true"]': {
|
|
53
42
|
'@apply rounded-full': {}
|
|
54
43
|
},
|
|
55
|
-
'
|
|
56
|
-
'@apply h-
|
|
57
|
-
'@apply text-label-small': {}
|
|
44
|
+
'&.sm': {
|
|
45
|
+
'@apply h-24 w-24 text-label-small': {}
|
|
58
46
|
},
|
|
59
|
-
'
|
|
60
|
-
'@apply h-
|
|
47
|
+
'&.md': {
|
|
48
|
+
'@apply h-32 w-32': {}
|
|
49
|
+
},
|
|
50
|
+
'&-icon': {
|
|
51
|
+
'&.sm svg': {
|
|
52
|
+
'@apply w-16 h-16': {}
|
|
53
|
+
},
|
|
54
|
+
'&.md svg': {
|
|
55
|
+
'@apply w-20 h-20': {}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
'&&-vertical': {
|
|
60
|
+
'@apply flex-col': {}
|
|
61
|
+
},
|
|
62
|
+
'&&-horizontal': {
|
|
63
|
+
'@apply flex-row gap-16': {}
|
|
64
|
+
},
|
|
65
|
+
'&&-grow': {
|
|
66
|
+
'@apply grow': {}
|
|
67
|
+
},
|
|
68
|
+
'&&-grow-0': {
|
|
69
|
+
'@apply grow-0': {}
|
|
70
|
+
},
|
|
71
|
+
'&-divider': {
|
|
72
|
+
'&.horizontal': {
|
|
73
|
+
'@apply flex w-full': {}
|
|
74
|
+
},
|
|
75
|
+
'&.vertical': {
|
|
76
|
+
'@apply flex w-auto h-full': {}
|
|
61
77
|
}
|
|
62
78
|
},
|
|
63
79
|
'&[data-progress="current"]': {
|
|
64
80
|
'@apply font-bold': {},
|
|
65
81
|
'.sk-progress-stepper-step-box': {
|
|
66
|
-
'@apply
|
|
67
|
-
'@apply bg-vattjom-surface-primary': {},
|
|
68
|
-
'@apply text-vattjom-text-secondary': {}
|
|
82
|
+
'@apply bg-primary-surface text-light-primary': {}
|
|
69
83
|
}
|
|
70
84
|
},
|
|
71
85
|
'&[data-progress="done"]': {
|
|
72
86
|
'.sk-progress-stepper-step-box': {
|
|
73
|
-
'@apply
|
|
74
|
-
|
|
75
|
-
|
|
87
|
+
'@apply bg-gronsta-surface-accent text-gronsta-text-primary': {}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
'&[data-white-space="no-wrap"]': {
|
|
91
|
+
'.sk-progress-stepper-step-wrapper p': {
|
|
92
|
+
'@apply whitespace-nowrap': {}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
'&[data-white-space="normal"]': {
|
|
96
|
+
'.sk-progress-stepper-step-wrapper p': {
|
|
97
|
+
'@apply whitespace-normal': {}
|
|
76
98
|
}
|
|
77
99
|
}
|
|
78
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/progress-stepper.ts"],"sourcesContent":["export const ProgressStepper = () => ({\r\n '.sk-progress-stepper': {\r\n '@apply flex justify-between': {},\r\n
|
|
1
|
+
{"version":3,"sources":["../../../src/components/progress-stepper.ts"],"sourcesContent":["export const ProgressStepper = () => ({\r\n '.sk-progress-stepper': {\r\n '@apply flex justify-between items-center': {},\r\n '&.horizontal': { '@apply flex-row gap-16': {} },\r\n '&.vertical': { '@apply flex-col gap-4 h-full': {} },\r\n '&-step': {\r\n '@apply flex items-center': {},\r\n '@apply text-base leading-base text-dark-primary font-normal': {},\r\n '&-wrapper': {\r\n '@apply flex items-center gap-8': {},\r\n '&&-top': {\r\n '@apply flex-col-reverse': {},\r\n },\r\n '&&-right': {\r\n '@apply flex-row': {},\r\n },\r\n '&&-bottom': {\r\n '@apply flex-col': {},\r\n },\r\n '&&-left': {\r\n '@apply flex-row-reverse': {},\r\n },\r\n },\r\n '&-box': {\r\n '@apply shrink-0 rounded-lg h-32 w-32 bg-tertiary-surface': {},\r\n '@apply flex justify-center items-center': {},\r\n '&[data-rounded=\"true\"]': {\r\n '@apply rounded-full': {},\r\n },\r\n '&.sm': {\r\n '@apply h-24 w-24 text-label-small': {},\r\n },\r\n '&.md': {\r\n '@apply h-32 w-32': {},\r\n },\r\n '&-icon': {\r\n '&.sm svg': {\r\n '@apply w-16 h-16': {},\r\n },\r\n '&.md svg': {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n },\r\n '&&-vertical': {\r\n '@apply flex-col': {},\r\n },\r\n '&&-horizontal': {\r\n '@apply flex-row gap-16': {},\r\n },\r\n '&&-grow': {\r\n '@apply grow': {},\r\n },\r\n '&&-grow-0': {\r\n '@apply grow-0': {},\r\n },\r\n '&-divider': {\r\n '&.horizontal': {\r\n '@apply flex w-full': {},\r\n },\r\n '&.vertical': {\r\n '@apply flex w-auto h-full': {},\r\n },\r\n },\r\n '&[data-progress=\"current\"]': {\r\n '@apply font-bold': {},\r\n '.sk-progress-stepper-step-box': {\r\n '@apply bg-primary-surface text-light-primary': {},\r\n },\r\n },\r\n '&[data-progress=\"done\"]': {\r\n '.sk-progress-stepper-step-box': {\r\n '@apply bg-gronsta-surface-accent text-gronsta-text-primary': {},\r\n },\r\n },\r\n '&[data-white-space=\"no-wrap\"]': {\r\n '.sk-progress-stepper-step-wrapper p': {\r\n '@apply whitespace-nowrap': {},\r\n },\r\n },\r\n '&[data-white-space=\"normal\"]': {\r\n '.sk-progress-stepper-step-wrapper p': {\r\n '@apply whitespace-normal': {},\r\n },\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["ProgressStepper"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,MAAMA,kBAAkB,IAAO,CAAA;QACpC,wBAAwB;YACtB,4CAA4C,CAAC;YAC7C,gBAAgB;gBAAE,0BAA0B,CAAC;YAAE;YAC/C,cAAc;gBAAE,gCAAgC,CAAC;YAAE;YACnD,UAAU;gBACR,4BAA4B,CAAC;gBAC7B,+DAA+D,CAAC;gBAChE,aAAa;oBACX,kCAAkC,CAAC;oBACnC,UAAU;wBACR,2BAA2B,CAAC;oBAC9B;oBACA,YAAY;wBACV,mBAAmB,CAAC;oBACtB;oBACA,aAAa;wBACX,mBAAmB,CAAC;oBACtB;oBACA,WAAW;wBACT,2BAA2B,CAAC;oBAC9B;gBACF;gBACA,SAAS;oBACP,4DAA4D,CAAC;oBAC7D,2CAA2C,CAAC;oBAC5C,0BAA0B;wBACxB,uBAAuB,CAAC;oBAC1B;oBACA,QAAQ;wBACN,qCAAqC,CAAC;oBACxC;oBACA,QAAQ;wBACN,oBAAoB,CAAC;oBACvB;oBACA,UAAU;wBACR,YAAY;4BACV,oBAAoB,CAAC;wBACvB;wBACA,YAAY;4BACV,oBAAoB,CAAC;wBACvB;oBACF;gBACF;gBACA,eAAe;oBACb,mBAAmB,CAAC;gBACtB;gBACA,iBAAiB;oBACf,0BAA0B,CAAC;gBAC7B;gBACA,WAAW;oBACT,eAAe,CAAC;gBAClB;gBACA,aAAa;oBACX,iBAAiB,CAAC;gBACpB;gBACA,aAAa;oBACX,gBAAgB;wBACd,sBAAsB,CAAC;oBACzB;oBACA,cAAc;wBACZ,6BAA6B,CAAC;oBAChC;gBACF;gBACA,8BAA8B;oBAC5B,oBAAoB,CAAC;oBACrB,iCAAiC;wBAC/B,gDAAgD,CAAC;oBACnD;gBACF;gBACA,2BAA2B;oBACzB,iCAAiC;wBAC/B,8DAA8D,CAAC;oBACjE;gBACF;gBACA,iCAAiC;oBAC/B,uCAAuC;wBACrC,4BAA4B,CAAC;oBAC/B;gBACF;gBACA,gCAAgC;oBAC9B,uCAAuC;wBACrC,4BAA4B,CAAC;oBAC/B;gBACF;YACF;QACF;IACF,CAAA"}
|
|
@@ -137,7 +137,7 @@ export const Accordion = ()=>({
|
|
|
137
137
|
'@apply my-0 invisible max-h-0 opacity-0': {}
|
|
138
138
|
},
|
|
139
139
|
'&[aria-hidden="false"], &[data-hidden="false"]': {
|
|
140
|
-
'@apply block
|
|
140
|
+
'@apply block opacity-100 visible': {}
|
|
141
141
|
},
|
|
142
142
|
'&[data-variant="alt"]': {
|
|
143
143
|
'@apply mt-24': {},
|
|
@@ -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 mt-6 mb-8': {},\r\n '@apply flex flex-col text-left': {},\r\n '@apply cursor-pointer': {},\r\n '*': {\r\n '@apply cursor-pointer': {},\r\n },\r\n '&:focus-visible': {\r\n '@apply outline-0': {},\r\n },\r\n\r\n '&-icon': {\r\n '@apply ml-auto': {},\r\n '@apply text-dark-secondary': {},\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-dark-disabled': {},\r\n '.sk-disclosure-title': {\r\n '@apply text-dark-disabled': {},\r\n },\r\n '@apply cursor-default': {},\r\n '*': {\r\n '@apply cursor-default': {},\r\n },\r\n },\r\n },\r\n '&-label': {\r\n '@apply shrink-0': {},\r\n },\r\n '&-toggle': {\r\n '@apply flex items-center justify-between': {},\r\n '@apply gap-16': {},\r\n '.sk-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&-title': {\r\n '@apply text-dark-primary': {},\r\n '&-wrapper': {\r\n '@apply w-full': {},\r\n '@apply flex flex-row': {},\r\n '@apply items-center': {},\r\n },\r\n },\r\n\r\n '&-sm': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-sm font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-20 min-h-20': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-small': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-4': {},\r\n '@apply min-h-40': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&[data-variant=\"alt\"]': {},\r\n },\r\n '&-md': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-24 min-h-24': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-body': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-8': {},\r\n '@apply min-h-56': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-40 h-40': {},\r\n },\r\n },\r\n },\r\n '&-lg': {\r\n '&[data-variant=\"alt\"]': {\r\n '.sk-disclosure-support': {\r\n '@apply text-large': {},\r\n },\r\n '.sk-disclosure-title': {\r\n '@apply text-h3-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-16': {},\r\n },\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: 'visibility, height, opacity, padding, margin',\r\n\r\n transitionDuration: '180ms',\r\n\r\n '&[aria-hidden=\"true\"], &[data-hidden=\"true\"]': {\r\n '@apply my-0 invisible max-h-0 opacity-0': {},\r\n },\r\n\r\n '&[aria-hidden=\"false\"], &[data-hidden=\"false\"]': {\r\n '@apply block
|
|
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 mt-6 mb-8': {},\r\n '@apply flex flex-col text-left': {},\r\n '@apply cursor-pointer': {},\r\n '*': {\r\n '@apply cursor-pointer': {},\r\n },\r\n '&:focus-visible': {\r\n '@apply outline-0': {},\r\n },\r\n\r\n '&-icon': {\r\n '@apply ml-auto': {},\r\n '@apply text-dark-secondary': {},\r\n svg: {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-dark-disabled': {},\r\n '.sk-disclosure-title': {\r\n '@apply text-dark-disabled': {},\r\n },\r\n '@apply cursor-default': {},\r\n '*': {\r\n '@apply cursor-default': {},\r\n },\r\n },\r\n },\r\n '&-label': {\r\n '@apply shrink-0': {},\r\n },\r\n '&-toggle': {\r\n '@apply flex items-center justify-between': {},\r\n '@apply gap-16': {},\r\n '.sk-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&-title': {\r\n '@apply text-dark-primary': {},\r\n '&-wrapper': {\r\n '@apply w-full': {},\r\n '@apply flex flex-row': {},\r\n '@apply items-center': {},\r\n },\r\n },\r\n\r\n '&-sm': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-sm font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-20 min-h-20': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-small': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-4': {},\r\n '@apply min-h-40': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-32 h-32': {},\r\n },\r\n },\r\n '&[data-variant=\"alt\"]': {},\r\n },\r\n '&-md': {\r\n '.sk-disclosure-title': {\r\n '@apply text-h4-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-12': {},\r\n },\r\n },\r\n '.sk-disclosure-toggle': {\r\n '@apply gap-12': {},\r\n '.sk-icon': {\r\n '@apply w-24 min-h-24': {},\r\n },\r\n },\r\n '.sk-disclosure-support': {\r\n '@apply text-body': {},\r\n },\r\n '&[data-variant=\"default\"]': {\r\n '.sk-disclosure-toggle': {\r\n '@apply py-8': {},\r\n '@apply min-h-56': {},\r\n },\r\n '.sk-disclosure-header-icon': {\r\n '@apply w-40 h-40': {},\r\n },\r\n },\r\n },\r\n '&-lg': {\r\n '&[data-variant=\"alt\"]': {\r\n '.sk-disclosure-support': {\r\n '@apply text-large': {},\r\n },\r\n '.sk-disclosure-title': {\r\n '@apply text-h3-md font-bold': {},\r\n '&-wrapper': {\r\n '@apply gap-16': {},\r\n },\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: 'visibility, height, opacity, padding, margin',\r\n\r\n transitionDuration: '180ms',\r\n\r\n '&[aria-hidden=\"true\"], &[data-hidden=\"true\"]': {\r\n '@apply my-0 invisible max-h-0 opacity-0': {},\r\n },\r\n\r\n '&[aria-hidden=\"false\"], &[data-hidden=\"false\"]': {\r\n '@apply block opacity-100 visible': {},\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 },\r\n\r\n '&:last-child .sk-disclosure': {\r\n '@apply border-b-transparent': {},\r\n },\r\n },\r\n },\r\n\r\n '&[data-inverted=\"true\"]': {\r\n '&.sk-disclosure': {\r\n '&-icon': {\r\n '@apply text-inverted-dark-secondary': {},\r\n },\r\n\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-inverted-dark-disabled': {},\r\n '.sk-disclosure-title': {\r\n '@apply text-inverted-dark-disabled': {},\r\n },\r\n },\r\n\r\n '&-title': {\r\n '@apply text-inverted-dark-primary': {},\r\n },\r\n },\r\n '&.sk-accordion': {\r\n '&-item': {\r\n '@apply border-inverted-divider': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Accordion","svg","transitionProperty","transitionDuration"],"mappings":"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"}
|
|
@@ -1,68 +1,90 @@
|
|
|
1
1
|
export const ProgressStepper = ()=>({
|
|
2
2
|
'.sk-progress-stepper': {
|
|
3
|
-
'@apply flex justify-between': {},
|
|
4
|
-
|
|
5
|
-
'@apply
|
|
3
|
+
'@apply flex justify-between items-center': {},
|
|
4
|
+
'&.horizontal': {
|
|
5
|
+
'@apply flex-row gap-16': {}
|
|
6
|
+
},
|
|
7
|
+
'&.vertical': {
|
|
8
|
+
'@apply flex-col gap-4 h-full': {}
|
|
6
9
|
},
|
|
7
10
|
'&-step': {
|
|
8
|
-
'@apply flex
|
|
9
|
-
'@apply gap-4': {},
|
|
10
|
-
'@apply w-auto': {},
|
|
11
|
-
'@apply shrink-0': {},
|
|
11
|
+
'@apply flex items-center': {},
|
|
12
12
|
'@apply text-base leading-base text-dark-primary font-normal': {},
|
|
13
|
-
svg: {
|
|
14
|
-
'@apply w-20 h-20': {}
|
|
15
|
-
},
|
|
16
13
|
'&-wrapper': {
|
|
17
|
-
'@apply flex
|
|
18
|
-
|
|
19
|
-
'@apply
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
'@apply invisible': {}
|
|
14
|
+
'@apply flex items-center gap-8': {},
|
|
15
|
+
'&&-top': {
|
|
16
|
+
'@apply flex-col-reverse': {}
|
|
17
|
+
},
|
|
18
|
+
'&&-right': {
|
|
19
|
+
'@apply flex-row': {}
|
|
20
|
+
},
|
|
21
|
+
'&&-bottom': {
|
|
22
|
+
'@apply flex-col': {}
|
|
23
|
+
},
|
|
24
|
+
'&&-left': {
|
|
25
|
+
'@apply flex-row-reverse': {}
|
|
30
26
|
}
|
|
31
27
|
},
|
|
32
28
|
'&-box': {
|
|
33
|
-
'@apply
|
|
34
|
-
'@apply shrink-0': {},
|
|
35
|
-
'@apply h-40 w-40': {},
|
|
36
|
-
'@apply bg-secondary-surface': {},
|
|
29
|
+
'@apply shrink-0 rounded-lg h-32 w-32 bg-tertiary-surface': {},
|
|
37
30
|
'@apply flex justify-center items-center': {},
|
|
38
|
-
'@apply text-label-medium': {},
|
|
39
|
-
'@apply border-2 border-secondary-outline': {},
|
|
40
|
-
'@apply text-dark-secondary': {},
|
|
41
|
-
'@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {},
|
|
42
31
|
'&[data-rounded="true"]': {
|
|
43
32
|
'@apply rounded-full': {}
|
|
44
33
|
},
|
|
45
|
-
'
|
|
46
|
-
'@apply h-
|
|
47
|
-
'@apply text-label-small': {}
|
|
34
|
+
'&.sm': {
|
|
35
|
+
'@apply h-24 w-24 text-label-small': {}
|
|
48
36
|
},
|
|
49
|
-
'
|
|
50
|
-
'@apply h-
|
|
37
|
+
'&.md': {
|
|
38
|
+
'@apply h-32 w-32': {}
|
|
39
|
+
},
|
|
40
|
+
'&-icon': {
|
|
41
|
+
'&.sm svg': {
|
|
42
|
+
'@apply w-16 h-16': {}
|
|
43
|
+
},
|
|
44
|
+
'&.md svg': {
|
|
45
|
+
'@apply w-20 h-20': {}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
'&&-vertical': {
|
|
50
|
+
'@apply flex-col': {}
|
|
51
|
+
},
|
|
52
|
+
'&&-horizontal': {
|
|
53
|
+
'@apply flex-row gap-16': {}
|
|
54
|
+
},
|
|
55
|
+
'&&-grow': {
|
|
56
|
+
'@apply grow': {}
|
|
57
|
+
},
|
|
58
|
+
'&&-grow-0': {
|
|
59
|
+
'@apply grow-0': {}
|
|
60
|
+
},
|
|
61
|
+
'&-divider': {
|
|
62
|
+
'&.horizontal': {
|
|
63
|
+
'@apply flex w-full': {}
|
|
64
|
+
},
|
|
65
|
+
'&.vertical': {
|
|
66
|
+
'@apply flex w-auto h-full': {}
|
|
51
67
|
}
|
|
52
68
|
},
|
|
53
69
|
'&[data-progress="current"]': {
|
|
54
70
|
'@apply font-bold': {},
|
|
55
71
|
'.sk-progress-stepper-step-box': {
|
|
56
|
-
'@apply
|
|
57
|
-
'@apply bg-vattjom-surface-primary': {},
|
|
58
|
-
'@apply text-vattjom-text-secondary': {}
|
|
72
|
+
'@apply bg-primary-surface text-light-primary': {}
|
|
59
73
|
}
|
|
60
74
|
},
|
|
61
75
|
'&[data-progress="done"]': {
|
|
62
76
|
'.sk-progress-stepper-step-box': {
|
|
63
|
-
'@apply
|
|
64
|
-
|
|
65
|
-
|
|
77
|
+
'@apply bg-gronsta-surface-accent text-gronsta-text-primary': {}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
'&[data-white-space="no-wrap"]': {
|
|
81
|
+
'.sk-progress-stepper-step-wrapper p': {
|
|
82
|
+
'@apply whitespace-nowrap': {}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
'&[data-white-space="normal"]': {
|
|
86
|
+
'.sk-progress-stepper-step-wrapper p': {
|
|
87
|
+
'@apply whitespace-normal': {}
|
|
66
88
|
}
|
|
67
89
|
}
|
|
68
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/progress-stepper.ts"],"sourcesContent":["export const ProgressStepper = () => ({\r\n '.sk-progress-stepper': {\r\n '@apply flex justify-between': {},\r\n
|
|
1
|
+
{"version":3,"sources":["../../../src/components/progress-stepper.ts"],"sourcesContent":["export const ProgressStepper = () => ({\r\n '.sk-progress-stepper': {\r\n '@apply flex justify-between items-center': {},\r\n '&.horizontal': { '@apply flex-row gap-16': {} },\r\n '&.vertical': { '@apply flex-col gap-4 h-full': {} },\r\n '&-step': {\r\n '@apply flex items-center': {},\r\n '@apply text-base leading-base text-dark-primary font-normal': {},\r\n '&-wrapper': {\r\n '@apply flex items-center gap-8': {},\r\n '&&-top': {\r\n '@apply flex-col-reverse': {},\r\n },\r\n '&&-right': {\r\n '@apply flex-row': {},\r\n },\r\n '&&-bottom': {\r\n '@apply flex-col': {},\r\n },\r\n '&&-left': {\r\n '@apply flex-row-reverse': {},\r\n },\r\n },\r\n '&-box': {\r\n '@apply shrink-0 rounded-lg h-32 w-32 bg-tertiary-surface': {},\r\n '@apply flex justify-center items-center': {},\r\n '&[data-rounded=\"true\"]': {\r\n '@apply rounded-full': {},\r\n },\r\n '&.sm': {\r\n '@apply h-24 w-24 text-label-small': {},\r\n },\r\n '&.md': {\r\n '@apply h-32 w-32': {},\r\n },\r\n '&-icon': {\r\n '&.sm svg': {\r\n '@apply w-16 h-16': {},\r\n },\r\n '&.md svg': {\r\n '@apply w-20 h-20': {},\r\n },\r\n },\r\n },\r\n '&&-vertical': {\r\n '@apply flex-col': {},\r\n },\r\n '&&-horizontal': {\r\n '@apply flex-row gap-16': {},\r\n },\r\n '&&-grow': {\r\n '@apply grow': {},\r\n },\r\n '&&-grow-0': {\r\n '@apply grow-0': {},\r\n },\r\n '&-divider': {\r\n '&.horizontal': {\r\n '@apply flex w-full': {},\r\n },\r\n '&.vertical': {\r\n '@apply flex w-auto h-full': {},\r\n },\r\n },\r\n '&[data-progress=\"current\"]': {\r\n '@apply font-bold': {},\r\n '.sk-progress-stepper-step-box': {\r\n '@apply bg-primary-surface text-light-primary': {},\r\n },\r\n },\r\n '&[data-progress=\"done\"]': {\r\n '.sk-progress-stepper-step-box': {\r\n '@apply bg-gronsta-surface-accent text-gronsta-text-primary': {},\r\n },\r\n },\r\n '&[data-white-space=\"no-wrap\"]': {\r\n '.sk-progress-stepper-step-wrapper p': {\r\n '@apply whitespace-nowrap': {},\r\n },\r\n },\r\n '&[data-white-space=\"normal\"]': {\r\n '.sk-progress-stepper-step-wrapper p': {\r\n '@apply whitespace-normal': {},\r\n },\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["ProgressStepper"],"mappings":"AAAA,OAAO,MAAMA,kBAAkB,IAAO,CAAA;QACpC,wBAAwB;YACtB,4CAA4C,CAAC;YAC7C,gBAAgB;gBAAE,0BAA0B,CAAC;YAAE;YAC/C,cAAc;gBAAE,gCAAgC,CAAC;YAAE;YACnD,UAAU;gBACR,4BAA4B,CAAC;gBAC7B,+DAA+D,CAAC;gBAChE,aAAa;oBACX,kCAAkC,CAAC;oBACnC,UAAU;wBACR,2BAA2B,CAAC;oBAC9B;oBACA,YAAY;wBACV,mBAAmB,CAAC;oBACtB;oBACA,aAAa;wBACX,mBAAmB,CAAC;oBACtB;oBACA,WAAW;wBACT,2BAA2B,CAAC;oBAC9B;gBACF;gBACA,SAAS;oBACP,4DAA4D,CAAC;oBAC7D,2CAA2C,CAAC;oBAC5C,0BAA0B;wBACxB,uBAAuB,CAAC;oBAC1B;oBACA,QAAQ;wBACN,qCAAqC,CAAC;oBACxC;oBACA,QAAQ;wBACN,oBAAoB,CAAC;oBACvB;oBACA,UAAU;wBACR,YAAY;4BACV,oBAAoB,CAAC;wBACvB;wBACA,YAAY;4BACV,oBAAoB,CAAC;wBACvB;oBACF;gBACF;gBACA,eAAe;oBACb,mBAAmB,CAAC;gBACtB;gBACA,iBAAiB;oBACf,0BAA0B,CAAC;gBAC7B;gBACA,WAAW;oBACT,eAAe,CAAC;gBAClB;gBACA,aAAa;oBACX,iBAAiB,CAAC;gBACpB;gBACA,aAAa;oBACX,gBAAgB;wBACd,sBAAsB,CAAC;oBACzB;oBACA,cAAc;wBACZ,6BAA6B,CAAC;oBAChC;gBACF;gBACA,8BAA8B;oBAC5B,oBAAoB,CAAC;oBACrB,iCAAiC;wBAC/B,gDAAgD,CAAC;oBACnD;gBACF;gBACA,2BAA2B;oBACzB,iCAAiC;wBAC/B,8DAA8D,CAAC;oBACjE;gBACF;gBACA,iCAAiC;oBAC/B,uCAAuC;wBACrC,4BAA4B,CAAC;oBAC/B;gBACF;gBACA,gCAAgC;oBAC9B,uCAAuC;wBACrC,4BAA4B,CAAC;oBAC/B;gBACF;YACF;QACF;IACF,CAAA,EAAG"}
|
|
@@ -137,7 +137,7 @@ export declare const Accordion: () => {
|
|
|
137
137
|
'@apply my-0 invisible max-h-0 opacity-0': {};
|
|
138
138
|
};
|
|
139
139
|
'&[aria-hidden="false"], &[data-hidden="false"]': {
|
|
140
|
-
'@apply block
|
|
140
|
+
'@apply block opacity-100 visible': {};
|
|
141
141
|
};
|
|
142
142
|
'&[data-variant="alt"]': {
|
|
143
143
|
'@apply mt-24': {};
|
|
@@ -1,68 +1,90 @@
|
|
|
1
1
|
export declare const ProgressStepper: () => {
|
|
2
2
|
'.sk-progress-stepper': {
|
|
3
|
-
'@apply flex justify-between': {};
|
|
4
|
-
|
|
5
|
-
'@apply
|
|
3
|
+
'@apply flex justify-between items-center': {};
|
|
4
|
+
'&.horizontal': {
|
|
5
|
+
'@apply flex-row gap-16': {};
|
|
6
|
+
};
|
|
7
|
+
'&.vertical': {
|
|
8
|
+
'@apply flex-col gap-4 h-full': {};
|
|
6
9
|
};
|
|
7
10
|
'&-step': {
|
|
8
|
-
'@apply flex
|
|
9
|
-
'@apply gap-4': {};
|
|
10
|
-
'@apply w-auto': {};
|
|
11
|
-
'@apply shrink-0': {};
|
|
11
|
+
'@apply flex items-center': {};
|
|
12
12
|
'@apply text-base leading-base text-dark-primary font-normal': {};
|
|
13
|
-
svg: {
|
|
14
|
-
'@apply w-20 h-20': {};
|
|
15
|
-
};
|
|
16
13
|
'&-wrapper': {
|
|
17
|
-
'@apply flex
|
|
18
|
-
|
|
19
|
-
'@apply
|
|
14
|
+
'@apply flex items-center gap-8': {};
|
|
15
|
+
'&&-top': {
|
|
16
|
+
'@apply flex-col-reverse': {};
|
|
20
17
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'.sk-divider:first-of-type': {
|
|
24
|
-
'@apply invisible': {};
|
|
18
|
+
'&&-right': {
|
|
19
|
+
'@apply flex-row': {};
|
|
25
20
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
'&&-bottom': {
|
|
22
|
+
'@apply flex-col': {};
|
|
23
|
+
};
|
|
24
|
+
'&&-left': {
|
|
25
|
+
'@apply flex-row-reverse': {};
|
|
30
26
|
};
|
|
31
27
|
};
|
|
32
28
|
'&-box': {
|
|
33
|
-
'@apply
|
|
34
|
-
'@apply shrink-0': {};
|
|
35
|
-
'@apply h-40 w-40': {};
|
|
36
|
-
'@apply bg-secondary-surface': {};
|
|
29
|
+
'@apply shrink-0 rounded-lg h-32 w-32 bg-tertiary-surface': {};
|
|
37
30
|
'@apply flex justify-center items-center': {};
|
|
38
|
-
'@apply text-label-medium': {};
|
|
39
|
-
'@apply border-2 border-secondary-outline': {};
|
|
40
|
-
'@apply text-dark-secondary': {};
|
|
41
|
-
'@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {};
|
|
42
31
|
'&[data-rounded="true"]': {
|
|
43
32
|
'@apply rounded-full': {};
|
|
44
33
|
};
|
|
45
|
-
'
|
|
46
|
-
'@apply h-
|
|
47
|
-
'@apply text-label-small': {};
|
|
34
|
+
'&.sm': {
|
|
35
|
+
'@apply h-24 w-24 text-label-small': {};
|
|
48
36
|
};
|
|
49
|
-
'
|
|
50
|
-
'@apply h-
|
|
37
|
+
'&.md': {
|
|
38
|
+
'@apply h-32 w-32': {};
|
|
39
|
+
};
|
|
40
|
+
'&-icon': {
|
|
41
|
+
'&.sm svg': {
|
|
42
|
+
'@apply w-16 h-16': {};
|
|
43
|
+
};
|
|
44
|
+
'&.md svg': {
|
|
45
|
+
'@apply w-20 h-20': {};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'&&-vertical': {
|
|
50
|
+
'@apply flex-col': {};
|
|
51
|
+
};
|
|
52
|
+
'&&-horizontal': {
|
|
53
|
+
'@apply flex-row gap-16': {};
|
|
54
|
+
};
|
|
55
|
+
'&&-grow': {
|
|
56
|
+
'@apply grow': {};
|
|
57
|
+
};
|
|
58
|
+
'&&-grow-0': {
|
|
59
|
+
'@apply grow-0': {};
|
|
60
|
+
};
|
|
61
|
+
'&-divider': {
|
|
62
|
+
'&.horizontal': {
|
|
63
|
+
'@apply flex w-full': {};
|
|
64
|
+
};
|
|
65
|
+
'&.vertical': {
|
|
66
|
+
'@apply flex w-auto h-full': {};
|
|
51
67
|
};
|
|
52
68
|
};
|
|
53
69
|
'&[data-progress="current"]': {
|
|
54
70
|
'@apply font-bold': {};
|
|
55
71
|
'.sk-progress-stepper-step-box': {
|
|
56
|
-
'@apply
|
|
57
|
-
'@apply bg-vattjom-surface-primary': {};
|
|
58
|
-
'@apply text-vattjom-text-secondary': {};
|
|
72
|
+
'@apply bg-primary-surface text-light-primary': {};
|
|
59
73
|
};
|
|
60
74
|
};
|
|
61
75
|
'&[data-progress="done"]': {
|
|
62
76
|
'.sk-progress-stepper-step-box': {
|
|
63
|
-
'@apply
|
|
64
|
-
|
|
65
|
-
|
|
77
|
+
'@apply bg-gronsta-surface-accent text-gronsta-text-primary': {};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
'&[data-white-space="no-wrap"]': {
|
|
81
|
+
'.sk-progress-stepper-step-wrapper p': {
|
|
82
|
+
'@apply whitespace-nowrap': {};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
'&[data-white-space="normal"]': {
|
|
86
|
+
'.sk-progress-stepper-step-wrapper p': {
|
|
87
|
+
'@apply whitespace-normal': {};
|
|
66
88
|
};
|
|
67
89
|
};
|
|
68
90
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sk-web-gui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.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": "78174b1385bece36ac1519a25705bc5886dc72ac"
|
|
45
45
|
}
|