@sk-web-gui/core 1.0.1 → 1.0.3
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/header.js +5 -1
- package/dist/cjs/components/header.js.map +1 -1
- package/dist/cjs/components/zebratable.js +14 -5
- package/dist/cjs/components/zebratable.js.map +1 -1
- package/dist/cjs/preset.js +1 -21
- package/dist/cjs/preset.js.map +1 -1
- package/dist/cjs/theme.js +1 -1
- package/dist/cjs/theme.js.map +1 -1
- package/dist/esm/components/header.js +5 -1
- package/dist/esm/components/header.js.map +1 -1
- package/dist/esm/components/zebratable.js +14 -5
- package/dist/esm/components/zebratable.js.map +1 -1
- package/dist/esm/preset.js +1 -23
- package/dist/esm/preset.js.map +1 -1
- package/dist/esm/theme.js +1 -1
- package/dist/esm/theme.js.map +1 -1
- package/dist/types/base.d.ts +52 -0
- package/dist/types/colors.d.ts +883 -0
- package/dist/types/components/accordion.d.ts +97 -0
- package/dist/types/components/alert-banner.d.ts +24 -0
- package/dist/types/components/alert.d.ts +10 -0
- package/dist/types/components/avatar.d.ts +4 -0
- package/dist/types/components/badge.d.ts +4 -0
- package/dist/types/components/breadcrumb.d.ts +29 -0
- package/dist/types/components/button-group.d.ts +26 -0
- package/dist/types/components/button.d.ts +172 -0
- package/dist/types/components/card.d.ts +56 -0
- package/dist/types/components/checkbox.d.ts +106 -0
- package/dist/types/components/code.d.ts +9 -0
- package/dist/types/components/combobox.d.ts +65 -0
- package/dist/types/components/comments.d.ts +30 -0
- package/dist/types/components/context-menu.d.ts +39 -0
- package/dist/types/components/cookie-consent.d.ts +36 -0
- package/dist/types/components/dialog.d.ts +6 -0
- package/dist/types/components/divider.d.ts +51 -0
- package/dist/types/components/dot.d.ts +35 -0
- package/dist/types/components/dropdown-filter.d.ts +58 -0
- package/dist/types/components/filter.d.ts +15 -0
- package/dist/types/components/footer.d.ts +28 -0
- package/dist/types/components/forms.d.ts +25 -0
- package/dist/types/components/header.d.ts +29 -0
- package/dist/types/components/icon.d.ts +4 -0
- package/dist/types/components/input.d.ts +207 -0
- package/dist/types/components/kbd.d.ts +8 -0
- package/dist/types/components/label.d.ts +4 -0
- package/dist/types/components/link.d.ts +44 -0
- package/dist/types/components/list.d.ts +53 -0
- package/dist/types/components/logo.d.ts +49 -0
- package/dist/types/components/menu-vertical.d.ts +219 -0
- package/dist/types/components/menubar.d.ts +12 -0
- package/dist/types/components/modal.d.ts +42 -0
- package/dist/types/components/notification.d.ts +48 -0
- package/dist/types/components/pagination.d.ts +101 -0
- package/dist/types/components/popup-menu.d.ts +106 -0
- package/dist/types/components/progress-bar.d.ts +4 -0
- package/dist/types/components/progress-stepper.d.ts +51 -0
- package/dist/types/components/radio.d.ts +126 -0
- package/dist/types/components/search-field.d.ts +21 -0
- package/dist/types/components/select.d.ts +142 -0
- package/dist/types/components/side-menu.d.ts +219 -0
- package/dist/types/components/snackbar.d.ts +31 -0
- package/dist/types/components/spinner.d.ts +4 -0
- package/dist/types/components/switch.d.ts +65 -0
- package/dist/types/components/tab-menu.d.ts +57 -0
- package/dist/types/components/table.d.ts +12 -0
- package/dist/types/components/tabs.d.ts +64 -0
- package/dist/types/components/tooltip.d.ts +54 -0
- package/dist/types/components/user-menu.d.ts +14 -0
- package/dist/types/components/zebratable.d.ts +135 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/plugin.d.ts +8 -0
- package/dist/types/preset.d.ts +13 -0
- package/dist/types/theme.d.ts +1719 -0
- package/dist/types/units.d.ts +247 -0
- package/dist/types/with-opacity.d.ts +4 -0
- package/package.json +15 -8
- package/dist/cjs/components/calendar.js +0 -67
- package/dist/cjs/components/calendar.js.map +0 -1
- package/dist/cjs/components/form-control.js +0 -8
- package/dist/cjs/components/form-control.js.map +0 -1
- package/dist/cjs/components/message.js +0 -52
- package/dist/cjs/components/message.js.map +0 -1
- package/dist/cjs/components/profile-picture.js +0 -15
- package/dist/cjs/components/profile-picture.js.map +0 -1
- package/dist/cjs/components/profile.js +0 -34
- package/dist/cjs/components/profile.js.map +0 -1
- package/dist/cjs/components/search-bar.js +0 -8
- package/dist/cjs/components/search-bar.js.map +0 -1
- package/dist/cjs/components/tag.js +0 -72
- package/dist/cjs/components/tag.js.map +0 -1
- package/dist/esm/components/calendar.js +0 -65
- package/dist/esm/components/calendar.js.map +0 -1
- package/dist/esm/components/form-control.js +0 -6
- package/dist/esm/components/form-control.js.map +0 -1
- package/dist/esm/components/message.js +0 -50
- package/dist/esm/components/message.js.map +0 -1
- package/dist/esm/components/profile-picture.js +0 -13
- package/dist/esm/components/profile-picture.js.map +0 -1
- package/dist/esm/components/profile.js +0 -32
- package/dist/esm/components/profile.js.map +0 -1
- package/dist/esm/components/search-bar.js +0 -6
- package/dist/esm/components/search-bar.js.map +0 -1
- package/dist/esm/components/tag.js +0 -79
- package/dist/esm/components/tag.js.map +0 -1
- package/src/base.js +0 -47
- package/src/colors.js +0 -645
- package/src/components/accordion.js +0 -103
- package/src/components/alert-banner.js +0 -29
- package/src/components/alert.js +0 -90
- package/src/components/avatar.js +0 -39
- package/src/components/badge.js +0 -41
- package/src/components/breadcrumb.js +0 -33
- package/src/components/button-group.js +0 -31
- package/src/components/button.js +0 -309
- package/src/components/card.js +0 -293
- package/src/components/checkbox.js +0 -136
- package/src/components/code.js +0 -9
- package/src/components/combobox.js +0 -66
- package/src/components/comments.js +0 -38
- package/src/components/context-menu.js +0 -49
- package/src/components/cookie-consent.js +0 -45
- package/src/components/dialog.js +0 -5
- package/src/components/divider.js +0 -52
- package/src/components/dot.js +0 -83
- package/src/components/dropdown-filter.js +0 -66
- package/src/components/filter.js +0 -16
- package/src/components/footer.js +0 -29
- package/src/components/forms.js +0 -27
- package/src/components/header.js +0 -28
- package/src/components/icon.js +0 -78
- package/src/components/input.js +0 -244
- package/src/components/kbd.js +0 -9
- package/src/components/label.js +0 -37
- package/src/components/link.js +0 -53
- package/src/components/list.js +0 -61
- package/src/components/logo.js +0 -49
- package/src/components/menu-vertical.js +0 -293
- package/src/components/menubar.js +0 -56
- package/src/components/modal.js +0 -47
- package/src/components/notification.js +0 -56
- package/src/components/pagination.js +0 -116
- package/src/components/popup-menu.js +0 -111
- package/src/components/progress-bar.js +0 -31
- package/src/components/progress-stepper.js +0 -50
- package/src/components/radio.js +0 -138
- package/src/components/search-field.js +0 -20
- package/src/components/select.js +0 -203
- package/src/components/side-menu.js +0 -272
- package/src/components/snackbar.js +0 -34
- package/src/components/spinner.js +0 -23
- package/src/components/switch.js +0 -85
- package/src/components/tab-menu.js +0 -58
- package/src/components/table.js +0 -13
- package/src/components/tabs.js +0 -64
- package/src/components/tooltip.js +0 -64
- package/src/components/user-menu.js +0 -13
- package/src/components/zebratable.js +0 -140
- package/src/index.js +0 -8
- package/src/plugin.js +0 -142
- package/src/preset.js +0 -38
- package/src/theme.js +0 -158
- package/src/units.js +0 -212
- package/src/with-opacity.js +0 -6
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-disclosure': {
|
|
3
|
+
'&-header': {
|
|
4
|
+
'@apply mt-6 mb-8': {};
|
|
5
|
+
'@apply flex flex-col text-left': {};
|
|
6
|
+
'@apply cursor-pointer': {};
|
|
7
|
+
'*': {
|
|
8
|
+
'@apply cursor-pointer': {};
|
|
9
|
+
};
|
|
10
|
+
'&:focus-visible': {
|
|
11
|
+
'@apply outline-0': {};
|
|
12
|
+
};
|
|
13
|
+
'&-icon': {
|
|
14
|
+
'@apply ml-auto': {};
|
|
15
|
+
svg: {
|
|
16
|
+
'@apply w-20 h-20': {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
'&[data-disabled="true"]': {
|
|
20
|
+
'@apply text-dark-disabled': {};
|
|
21
|
+
'@apply cursor-default': {};
|
|
22
|
+
'*': {
|
|
23
|
+
'@apply cursor-default': {};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
'&-sm': {
|
|
28
|
+
'.sk-disclosure-title': {
|
|
29
|
+
'@apply text-h4-sm font-bold': {};
|
|
30
|
+
};
|
|
31
|
+
'.sk-disclosure-toggle': {
|
|
32
|
+
'@apply py-4': {};
|
|
33
|
+
'@apply h-40': {};
|
|
34
|
+
};
|
|
35
|
+
'.sk-disclosure-header-icon': {
|
|
36
|
+
'@apply w-32 h-32': {};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
'&-md': {
|
|
40
|
+
'.sk-disclosure-title': {
|
|
41
|
+
'@apply text-h4-md font-bold': {};
|
|
42
|
+
};
|
|
43
|
+
'.sk-disclosure-toggle': {
|
|
44
|
+
'@apply py-8': {};
|
|
45
|
+
'@apply h-56': {};
|
|
46
|
+
};
|
|
47
|
+
'.sk-disclosure-header-icon': {
|
|
48
|
+
'@apply w-40 h-40': {};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
'&-toggle': {
|
|
52
|
+
'@apply flex items-center justify-between': {};
|
|
53
|
+
'@apply gap-16': {};
|
|
54
|
+
};
|
|
55
|
+
'&-title': {
|
|
56
|
+
'@apply text-dark-secondary': {};
|
|
57
|
+
};
|
|
58
|
+
'&-body': {
|
|
59
|
+
'@apply flex flex-col': {};
|
|
60
|
+
'@apply mb-32': {};
|
|
61
|
+
'@apply mr-32': {};
|
|
62
|
+
'@apply gap-8': {};
|
|
63
|
+
'@apply py-0': {};
|
|
64
|
+
'@apply h-0 overflow-hidden': {};
|
|
65
|
+
transitionProperty: string;
|
|
66
|
+
transitionTimingFunction: string;
|
|
67
|
+
transitionDuration: string;
|
|
68
|
+
'&[aria-hidden="true"], &[data-hidden="true"]': {
|
|
69
|
+
'@apply my-0 invisible h-0': {};
|
|
70
|
+
};
|
|
71
|
+
'&[aria-hidden="false"], &[data-hidden="false"]': {
|
|
72
|
+
'@apply block h-max visible': {};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
'&-is-open': {
|
|
76
|
+
'.sk-disclosure-body': {
|
|
77
|
+
'@apply overflow-visible animate-reset-overflow': {};
|
|
78
|
+
};
|
|
79
|
+
'.sk-disclosure-title': {
|
|
80
|
+
'@apply text-vattjom-text-primary': {};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
'.sk-accordion': {
|
|
85
|
+
'&-item': {
|
|
86
|
+
'.sk-disclosure': {
|
|
87
|
+
transitionProperty: string;
|
|
88
|
+
transitionDuration: string;
|
|
89
|
+
'@apply border-b-1 border-divider': {};
|
|
90
|
+
};
|
|
91
|
+
'&:last-child .sk-disclosure': {
|
|
92
|
+
'@apply border-b-transparent': {};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export = _exports;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.alert-banner': {
|
|
3
|
+
'@apply p-md': {};
|
|
4
|
+
'&-content': {
|
|
5
|
+
'@apply w-full m-auto flex': {};
|
|
6
|
+
'&-wrapper': {
|
|
7
|
+
'@apply flex-grow flex': {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
'&-icon': {
|
|
11
|
+
'@apply mr-[10px]': {};
|
|
12
|
+
};
|
|
13
|
+
'&-children': {
|
|
14
|
+
'@apply w-full underline inline-block max-w-[800px] text-body text-base': {};
|
|
15
|
+
};
|
|
16
|
+
'&-close': {
|
|
17
|
+
'@apply p-4 -m-4 flex flex-col': {};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'.tab': {
|
|
21
|
+
'@apply mr-[10px] bg-white pt-4 pb-3 px-4 rounded-b-button shadow-[rgba(0,_0,_0,_0.24)_0px_1.5px_4px]': {};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export = _exports;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function _exports(colors: any): {
|
|
2
|
+
'.alert-close-button': any;
|
|
3
|
+
'.alert-left-accent': any;
|
|
4
|
+
'.alert-solid': any;
|
|
5
|
+
'.alert-subtle': any;
|
|
6
|
+
'.alert': {
|
|
7
|
+
'@apply w-full flex items-center px-4 py-3 relative overflow-hidden text-small': {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export = _exports;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-breadcrumb': {
|
|
3
|
+
'@apply text-body relative': {};
|
|
4
|
+
'&-item': {
|
|
5
|
+
'@apply inline-flex items-center whitespace-nowrap': {};
|
|
6
|
+
};
|
|
7
|
+
'&-separator': {
|
|
8
|
+
'@apply mx-6': {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'.sk-breadcrumb-item': {
|
|
12
|
+
span: {
|
|
13
|
+
'&[aria-current="page"]': {
|
|
14
|
+
'@apply font-bold': {};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
"&[data-color=\"primary\"]": {
|
|
18
|
+
'a.sk-link': {
|
|
19
|
+
"@apply text-secondary": {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
"&[data-color=\"vattjom\"]": {
|
|
23
|
+
'a.sk-link': {
|
|
24
|
+
"@apply text-vattjom-text-primary": {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export = _exports;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-btn-group': {
|
|
3
|
+
'@apply inline-flex items-center': {};
|
|
4
|
+
'&.sk-btn-group-attached': {
|
|
5
|
+
'@apply rounded-groups': {};
|
|
6
|
+
'@apply bg-tertiary-surface': {};
|
|
7
|
+
'@apply py-6 px-12': {};
|
|
8
|
+
'> *': {
|
|
9
|
+
'@apply bg-transparent': {};
|
|
10
|
+
};
|
|
11
|
+
'.sk-btn[data-icon="true"] .sk-icon': {
|
|
12
|
+
'@apply bg-transparent text-dark-secondary': {};
|
|
13
|
+
};
|
|
14
|
+
'.sk-icon': {
|
|
15
|
+
'@apply p-0 w-fit h-fit': {};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
'&-divider': {
|
|
19
|
+
'@apply grow bg-tertiary-surface px-6': {};
|
|
20
|
+
hr: {
|
|
21
|
+
'@apply h-[2rem]': {};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export = _exports;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
declare function _exports(colors: any): {
|
|
2
|
+
'.sk-btn': {
|
|
3
|
+
'.btn-has-icon': {
|
|
4
|
+
'&-left': {
|
|
5
|
+
'@apply h-full flex items-center justify-center -ml-2': {};
|
|
6
|
+
'.sk-icon': {
|
|
7
|
+
'@apply bg-transparent': {};
|
|
8
|
+
color: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'&-right': {
|
|
12
|
+
'@apply h-full flex items-center justify-center -mr-2': {};
|
|
13
|
+
'.sk-icon': {
|
|
14
|
+
'@apply bg-transparent': {};
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
'&-lg .btn-has-icon-left': {
|
|
20
|
+
'@apply -ml-4': {};
|
|
21
|
+
};
|
|
22
|
+
'&-lg .btn-has-icon-right': {
|
|
23
|
+
'@apply -mr-4': {};
|
|
24
|
+
};
|
|
25
|
+
'&[data-icon=true]': {
|
|
26
|
+
'@apply p-0': {};
|
|
27
|
+
'.sk-icon': {
|
|
28
|
+
'@apply bg-transparent': {};
|
|
29
|
+
color: string;
|
|
30
|
+
};
|
|
31
|
+
"&[data-rounded='true']": {
|
|
32
|
+
'@apply rounded-full': {};
|
|
33
|
+
};
|
|
34
|
+
'&.sk-btn-sm': {
|
|
35
|
+
minWidth: string;
|
|
36
|
+
width: string;
|
|
37
|
+
maxWidth: string;
|
|
38
|
+
svg: {
|
|
39
|
+
'@apply h-[2rem] w-[2rem]': {};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
'&.sk-btn-md': {
|
|
43
|
+
minWidth: string;
|
|
44
|
+
width: string;
|
|
45
|
+
maxWidth: string;
|
|
46
|
+
svg: {
|
|
47
|
+
'@apply h-[2rem] w-[2rem]': {};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'&.sk-btn-lg': {
|
|
51
|
+
minWidth: string;
|
|
52
|
+
width: string;
|
|
53
|
+
maxWidth: string;
|
|
54
|
+
svg: {
|
|
55
|
+
'@apply h-[2.4rem] w-[2.4rem]': {};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
'.btn-has-icon': {
|
|
59
|
+
'&-left': {
|
|
60
|
+
'@apply m-0': {};
|
|
61
|
+
};
|
|
62
|
+
'&-right': {
|
|
63
|
+
'@apply m-0': {};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
'&-link': any;
|
|
68
|
+
'&-ghost': {
|
|
69
|
+
'@apply text-dark-secondary': {};
|
|
70
|
+
'@apply bg-transparent': {};
|
|
71
|
+
'@apply border-transparent': {};
|
|
72
|
+
'@apply hover:bg-transparent': {};
|
|
73
|
+
'@apply hover:border-transparent': {};
|
|
74
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
75
|
+
'@apply disabled:bg-transparent bg-transparent disabled:border-transparent border-transparent !important': {};
|
|
76
|
+
};
|
|
77
|
+
'&[data-inverted="true"]': {
|
|
78
|
+
'@apply text-inverted-dark-secondary': {};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
'&-tertiary': {
|
|
82
|
+
'@apply text-dark-secondary': {};
|
|
83
|
+
'@apply bg-tertiary-surface': {};
|
|
84
|
+
'@apply hover:bg-tertiary-surface-hover': {};
|
|
85
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
86
|
+
'@apply disabled:bg-tertiary-surface-disabled bg-tertiary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
87
|
+
};
|
|
88
|
+
'&[data-inverted="true"]': {
|
|
89
|
+
'@apply text-inverted-dark-secondary': {};
|
|
90
|
+
'@apply bg-inverted-tertiary-surface': {};
|
|
91
|
+
'@apply hover:bg-inverted-tertiary-surface-hover': {};
|
|
92
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
93
|
+
'@apply disabled:bg-inverted-tertiary-surface-disabled bg-inverted-tertiary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
'&-secondary': {
|
|
98
|
+
'@apply border-secondary-outline': {};
|
|
99
|
+
'@apply text-dark-secondary': {};
|
|
100
|
+
'@apply bg-secondary-surface': {};
|
|
101
|
+
'@apply hover:border-secondary-outline-hover': {};
|
|
102
|
+
'@apply hover:bg-secondary-surface-hover': {};
|
|
103
|
+
'@apply focus-visible:border-background-content': {};
|
|
104
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
105
|
+
'@apply disabled:bg-secondary-surface-disabled bg-secondary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
106
|
+
};
|
|
107
|
+
'&[data-inverted="true"]': {
|
|
108
|
+
'@apply border-inverted-secondary-outline': {};
|
|
109
|
+
'@apply text-inverted-dark-secondary': {};
|
|
110
|
+
'@apply bg-inverted-secondary-surface': {};
|
|
111
|
+
'@apply hover:border-inverted-secondary-outline-hover': {};
|
|
112
|
+
'@apply hover:bg-inverted-secondary-surface-hover': {};
|
|
113
|
+
'@apply focus-visible:border-inverted-background-content': {};
|
|
114
|
+
'&.sk-btn-disabled, &[aria-disabled="true"]': {
|
|
115
|
+
'@apply disabled:bg-inverted-secondary-surface-disabled bg-inverted-secondary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
'&-primary': any;
|
|
120
|
+
'@apply box-border': {};
|
|
121
|
+
'@apply border-2 border-transparent': {};
|
|
122
|
+
'@apply cursor-pointer': {};
|
|
123
|
+
'@apply relative': {};
|
|
124
|
+
'@apply m-0': {};
|
|
125
|
+
'@apply px-24 py-8 gap-8': {};
|
|
126
|
+
'@apply inline-flex items-center justify-center flex-shrink-0 align-middle': {};
|
|
127
|
+
'@apply rounded-button': {};
|
|
128
|
+
transitionProperty: string;
|
|
129
|
+
'@apply\tduration-75 ease-out': {};
|
|
130
|
+
'@apply outline-none appearance-none select-none whitespace-nowrap': {};
|
|
131
|
+
'@apply focus-visible:outline-none': {};
|
|
132
|
+
'@apply focus-visible:ring': {};
|
|
133
|
+
"&[data-rounded='true']": {
|
|
134
|
+
'@apply rounded-circular': {};
|
|
135
|
+
};
|
|
136
|
+
'&-sm': {
|
|
137
|
+
'@apply text-label-small': {};
|
|
138
|
+
'@apply px-14 py-8 gap-6': {};
|
|
139
|
+
'@apply max-h-[3.2rem] h-[3.2rem]': {};
|
|
140
|
+
'@apply rounded-button-sm': {};
|
|
141
|
+
svg: {
|
|
142
|
+
'@apply h-[1.6rem] w-[1.6rem]': {};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
'&-md': {
|
|
146
|
+
'@apply text-label-medium': {};
|
|
147
|
+
'@apply px-18 py-8 gap-8': {};
|
|
148
|
+
'@apply max-h-[4rem] h-[4rem]': {};
|
|
149
|
+
'@apply rounded-button-md': {};
|
|
150
|
+
svg: {
|
|
151
|
+
'@apply h-[1.8rem] w-[1.8rem]': {};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
'&-lg': {
|
|
155
|
+
'@apply text-label-large': {};
|
|
156
|
+
'@apply px-24 py-8 gap-8': {};
|
|
157
|
+
'@apply max-h-[4.8rem] h-[4.8rem]': {};
|
|
158
|
+
'@apply rounded-button-lg': {};
|
|
159
|
+
svg: {
|
|
160
|
+
'@apply h-[2rem] w-[2rem]': {};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
'&-disabled, &[aria-disabled="true"]': {
|
|
164
|
+
'@apply shadow-none disabled:shadow-none disabled:cursor-default cursor-default': {};
|
|
165
|
+
'@apply disabled:text-dark-disabled text-dark-disabled disabled:bg-primary-surface-disabled bg-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
166
|
+
'&[data-inverted="true"]': {
|
|
167
|
+
'@apply disabled:text-inverted-dark-disabled text-inverted-dark-disabled disabled:bg-inverted-primary-surface-disabled bg-inverted-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
export = _exports;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare function _exports(colors: any): {
|
|
2
|
+
'.sk-card': any;
|
|
3
|
+
'.sk-card-link': {
|
|
4
|
+
'@apply hover:cursor-pointer': {};
|
|
5
|
+
'&::after': {
|
|
6
|
+
content: string;
|
|
7
|
+
position: string;
|
|
8
|
+
left: string;
|
|
9
|
+
top: string;
|
|
10
|
+
right: string;
|
|
11
|
+
bottom: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Meta card
|
|
16
|
+
*/
|
|
17
|
+
'.sk-meta-card': {
|
|
18
|
+
'@apply no-underline hover:no-underline': {};
|
|
19
|
+
'@apply flex bg-vattjom-surface-accent': {};
|
|
20
|
+
'@apply p-14 rounded-16 w-[454px]': {};
|
|
21
|
+
'&[data-color="mono"]': {
|
|
22
|
+
'@apply bg-primitives-overlay-darken-1 dark:bg-primitives-overlay-lighten-1': {};
|
|
23
|
+
};
|
|
24
|
+
'&[data-color="vattjom"]': {
|
|
25
|
+
'@apply bg-vattjom-background-200': {};
|
|
26
|
+
};
|
|
27
|
+
'&-text-icon': {
|
|
28
|
+
'@apply mr-12 rounded-12 p-8': {};
|
|
29
|
+
'@apply bg-primitives-gray-lightest dark:bg-primitives-gray-800': {};
|
|
30
|
+
'@apply text-dark': {};
|
|
31
|
+
svg: {
|
|
32
|
+
height: string;
|
|
33
|
+
width: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'&-body': {
|
|
37
|
+
'&-header': {
|
|
38
|
+
'h1, h2, h3, h4, h5, h6, h7, a, p': {
|
|
39
|
+
'@apply mt-6 text-base line-clamp-1': {};
|
|
40
|
+
'@apply text-dark-primary': {};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'&-content': {
|
|
44
|
+
'p, a': {
|
|
45
|
+
'@apply text-primitives-gray-700 dark:text-primitives-gray-200': {};
|
|
46
|
+
'@apply text-dark-secondary line-clamp-1': {};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'&-external-link-icon': {
|
|
51
|
+
'@apply ml-auto h-[32px] w-[32px]': {};
|
|
52
|
+
'@apply p-6 text-dark': {};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export = _exports;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-form-checkbox': {
|
|
3
|
+
'@apply bg-inherit': {};
|
|
4
|
+
'@apply rounded-utility': {};
|
|
5
|
+
'@apply bg-transparent border-transparent': {};
|
|
6
|
+
'&-sm': {
|
|
7
|
+
'@apply w-[2.4rem] h-[2.4rem]': {};
|
|
8
|
+
};
|
|
9
|
+
'&-md': {
|
|
10
|
+
'@apply w-[2.4rem] h-[2.4rem]': {};
|
|
11
|
+
};
|
|
12
|
+
'&-lg': {
|
|
13
|
+
'@apply w-[2.4rem] h-[2.4rem]': {};
|
|
14
|
+
};
|
|
15
|
+
'+ .sk-icon': {
|
|
16
|
+
'@apply absolute inset-0 my-auto bg-transparent': {};
|
|
17
|
+
'@apply border-[0.1rem] p-2 border-primitives-overlay-darken-6 dark:border-primitives-overlay-lighten-6': {};
|
|
18
|
+
'@apply bg-primitives-overlay-lighten-10 dark:bg-primitives-overlay-darken-6': {};
|
|
19
|
+
svg: {
|
|
20
|
+
'@apply hidden': {};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'&&:checked': {
|
|
24
|
+
'@apply text-light-primary bg-none': {};
|
|
25
|
+
'& + .sk-icon': {
|
|
26
|
+
'@apply text-light-primary bg-dark-primary border-dark-primary': {};
|
|
27
|
+
svg: {
|
|
28
|
+
'@apply block': {};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
'&&:hover:not(&&-disabled,&&:checked,&&[aria-invalid=true]),&&:hover:focus:not(&&-disabled,&&:checked,&&[aria-invalid=true])': {
|
|
33
|
+
'& + .sk-icon, &:focus + .sk-icon': {
|
|
34
|
+
'@apply text-primitives-overlay-darken-6 dark:text-primitives-overlay-lighten-5 border-primitives-overlay-darken-8 dark:border-primitives-overlay-lighten-4': {};
|
|
35
|
+
svg: {
|
|
36
|
+
'@apply block': {};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
'&&[aria-invalid=true]': {
|
|
41
|
+
'& + .sk-icon': {
|
|
42
|
+
'@apply border-2 border-error-surface-primary': {};
|
|
43
|
+
};
|
|
44
|
+
'&&:checked': {
|
|
45
|
+
'& + .sk-icon': {
|
|
46
|
+
'@apply p-2 bg-background-content text-dark-primary': {};
|
|
47
|
+
svg: {
|
|
48
|
+
'@apply block': {};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
'&&-disabled,&&-disabled:hover': {
|
|
54
|
+
'@apply cursor-not-allowed': {};
|
|
55
|
+
'& + .sk-icon': {
|
|
56
|
+
'@apply bg-background-200 border-primitives-overlay-darken-3': {};
|
|
57
|
+
};
|
|
58
|
+
'&:checked': {
|
|
59
|
+
'& + .sk-icon': {
|
|
60
|
+
'@apply bg-dark-disabled text-light-primary border-0': {};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
'& ~ .sk-form-checkbox-label': {
|
|
64
|
+
'@apply text-dark-disabled': {};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
'&-label-left &-label': {
|
|
68
|
+
'@apply mr-[.8rem]': {};
|
|
69
|
+
};
|
|
70
|
+
'&-label-right &-label': {
|
|
71
|
+
'@apply ml-[.8rem]': {};
|
|
72
|
+
};
|
|
73
|
+
'&-label-left': {
|
|
74
|
+
'.sk-icon': {
|
|
75
|
+
'@apply left-auto right-0': {};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
'&-label-right': {
|
|
79
|
+
'.sk-icon': {
|
|
80
|
+
'@apply right-auto left-0': {};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
'&-label': {
|
|
84
|
+
'@apply font-normal text-body select-none text-small': {};
|
|
85
|
+
'&-wrapper': {
|
|
86
|
+
'@apply relative inline-flex align-top items-center cursor-base': {};
|
|
87
|
+
};
|
|
88
|
+
'&-sm': {
|
|
89
|
+
'@apply text-small': {};
|
|
90
|
+
};
|
|
91
|
+
'&-md': {
|
|
92
|
+
'@apply text-base': {};
|
|
93
|
+
};
|
|
94
|
+
'&-lg': {
|
|
95
|
+
'@apply text-large': {};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
'&-group': {
|
|
99
|
+
'@apply flex flex-col gap-16 my-12': {};
|
|
100
|
+
'&[data-direction="row"]': {
|
|
101
|
+
'@apply flex-row': {};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export = _exports;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.code': {
|
|
3
|
+
'@apply inline-flex justify-center items-center capitalize text-xs rounded-sm font-mono break-all': {};
|
|
4
|
+
'@apply bg-neutral-200 border border-neutral-100 text-body': {};
|
|
5
|
+
'@apply dark:bg-neutral-700 dark:border-neutral-600 dark:text-neutral-300': {};
|
|
6
|
+
padding: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export = _exports;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-form-combobox': {
|
|
3
|
+
'@apply focus-within:ring ring-ring ring-offset': {};
|
|
4
|
+
'@apply relative w-auto': {};
|
|
5
|
+
'@apply inline-block': {};
|
|
6
|
+
'&-sm': {
|
|
7
|
+
'@apply h-[3.2rem]': {};
|
|
8
|
+
'@apply rounded-button-sm': {};
|
|
9
|
+
'.sk-form-combobox-select.active': {
|
|
10
|
+
'@apply text-input-small': {};
|
|
11
|
+
'@apply pr-[5.2rem]': {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
'&-md': {
|
|
15
|
+
'@apply h-[4rem]': {};
|
|
16
|
+
'@apply rounded-button-md': {};
|
|
17
|
+
'.sk-form-combobox-select.active': {
|
|
18
|
+
'@apply text-input-medium': {};
|
|
19
|
+
'@apply pr-[6.1rem]': {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'&-lg': {
|
|
23
|
+
'@apply h-[4.8rem]': {};
|
|
24
|
+
'@apply rounded-button-lg': {};
|
|
25
|
+
'.sk-form-combobox-select.active': {
|
|
26
|
+
'@apply text-input-large': {};
|
|
27
|
+
'@apply pr-[6.8rem]': {};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
'&-select': {
|
|
31
|
+
'@apply h-full bg-right-12 bg-no-repeat': {};
|
|
32
|
+
'&.sk-form-select': {
|
|
33
|
+
'@apply focus:outline-none focus:ring-0 focus:ring-transparent': {};
|
|
34
|
+
};
|
|
35
|
+
'@apply w-full': {};
|
|
36
|
+
'&:not(.active)': {
|
|
37
|
+
'@apply cursor-default': {};
|
|
38
|
+
};
|
|
39
|
+
'@apply focus:border-transparent': {};
|
|
40
|
+
'@apply focus:hover:border-transparent': {};
|
|
41
|
+
'&.active': {
|
|
42
|
+
'@apply bg-primitives-overlay-lighten-10': {};
|
|
43
|
+
'@apply dark:bg-primitives-overlay-darken-6': {};
|
|
44
|
+
'@apply placeholder:text-dark-placeholder': {};
|
|
45
|
+
'@apply text-dark-primary': {};
|
|
46
|
+
'@apply border-transparent': {};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'&-list': {
|
|
50
|
+
'@apply w-full': {};
|
|
51
|
+
'@apply max-h-[23rem] overflow-y-auto': {};
|
|
52
|
+
'&-option': {
|
|
53
|
+
'&.sk-popup-menu-item': {
|
|
54
|
+
'@apply cursor-default': {};
|
|
55
|
+
'@apply leading-none': {};
|
|
56
|
+
'@apply h-auto': {};
|
|
57
|
+
};
|
|
58
|
+
'&-checkbox': {
|
|
59
|
+
'@apply w-0 h-0 m-0 p-0 opacity-0': {};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export = _exports;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.comment-header': {
|
|
3
|
+
'@apply w-full flex items-center gap-8 p-16 border-b-4 border-gray-200': {};
|
|
4
|
+
};
|
|
5
|
+
'.comment-item': {
|
|
6
|
+
'@apply w-full': {};
|
|
7
|
+
'&-container': {
|
|
8
|
+
'@apply flex justify-between relative': {};
|
|
9
|
+
'&-textpic': {
|
|
10
|
+
'@apply flex gap-2': {};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
'&-text': {
|
|
14
|
+
'@apply text-base font-bold mx-0 mb-0 mt-4': {};
|
|
15
|
+
};
|
|
16
|
+
'&-commentorpublished': {
|
|
17
|
+
'@apply float-right text-neutral-600 m-0': {};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'.comment-input': {
|
|
21
|
+
'@apply w-full flex gap-4 px-10 pt-8 pb-10': {};
|
|
22
|
+
'&-inactive': {
|
|
23
|
+
'@apply text-neutral-300 !text-3xl': {};
|
|
24
|
+
};
|
|
25
|
+
'&-active': {
|
|
26
|
+
'@apply text-primary !text-3xl': {};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export = _exports;
|