@sk-web-gui/core 1.0.2 → 1.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/base.js +6 -1
- package/dist/cjs/base.js.map +1 -1
- package/dist/cjs/colors.js +5 -1
- package/dist/cjs/colors.js.map +1 -1
- package/dist/cjs/components/accordion.js +97 -20
- package/dist/cjs/components/accordion.js.map +1 -1
- package/dist/cjs/components/alert.js +5 -1
- package/dist/cjs/components/alert.js.map +1 -1
- package/dist/cjs/components/avatar.js +5 -1
- package/dist/cjs/components/avatar.js.map +1 -1
- package/dist/cjs/components/badge.js +5 -1
- package/dist/cjs/components/badge.js.map +1 -1
- package/dist/cjs/components/breadcrumb.js +5 -1
- package/dist/cjs/components/breadcrumb.js.map +1 -1
- package/dist/cjs/components/button-group.js +5 -1
- package/dist/cjs/components/button-group.js.map +1 -1
- package/dist/cjs/components/button.js +5 -1
- package/dist/cjs/components/button.js.map +1 -1
- package/dist/cjs/components/card.js +5 -1
- package/dist/cjs/components/card.js.map +1 -1
- package/dist/cjs/components/checkbox.js +5 -1
- package/dist/cjs/components/checkbox.js.map +1 -1
- package/dist/cjs/components/chip.js +41 -0
- package/dist/cjs/components/chip.js.map +1 -0
- package/dist/cjs/components/code.js +5 -1
- package/dist/cjs/components/code.js.map +1 -1
- package/dist/cjs/components/combobox.js +10 -1
- package/dist/cjs/components/combobox.js.map +1 -1
- package/dist/cjs/components/cookie-consent.js +5 -1
- package/dist/cjs/components/cookie-consent.js.map +1 -1
- package/dist/cjs/components/dialog.js +5 -1
- package/dist/cjs/components/dialog.js.map +1 -1
- package/dist/cjs/components/divider.js +5 -1
- package/dist/cjs/components/divider.js.map +1 -1
- package/dist/cjs/components/dot.js +5 -1
- package/dist/cjs/components/dot.js.map +1 -1
- package/dist/cjs/components/filter.js +5 -1
- package/dist/cjs/components/filter.js.map +1 -1
- package/dist/cjs/components/footer.js +5 -1
- package/dist/cjs/components/footer.js.map +1 -1
- package/dist/cjs/components/forms.js +5 -1
- package/dist/cjs/components/forms.js.map +1 -1
- package/dist/cjs/components/header.js +10 -2
- package/dist/cjs/components/header.js.map +1 -1
- package/dist/cjs/components/icon.js +5 -1
- package/dist/cjs/components/icon.js.map +1 -1
- package/dist/cjs/components/input.js +17 -10
- package/dist/cjs/components/input.js.map +1 -1
- package/dist/cjs/components/kbd.js +5 -1
- package/dist/cjs/components/kbd.js.map +1 -1
- package/dist/cjs/components/label.js +5 -1
- package/dist/cjs/components/label.js.map +1 -1
- package/dist/cjs/components/link.js +5 -1
- package/dist/cjs/components/link.js.map +1 -1
- package/dist/cjs/components/list.js +5 -1
- package/dist/cjs/components/list.js.map +1 -1
- package/dist/cjs/components/logo.js +5 -1
- package/dist/cjs/components/logo.js.map +1 -1
- package/dist/cjs/components/menu-vertical.js +7 -6
- package/dist/cjs/components/menu-vertical.js.map +1 -1
- package/dist/cjs/components/menubar.js +7 -3
- package/dist/cjs/components/menubar.js.map +1 -1
- package/dist/cjs/components/modal.js +5 -1
- package/dist/cjs/components/modal.js.map +1 -1
- package/dist/cjs/components/pagination.js +5 -1
- package/dist/cjs/components/pagination.js.map +1 -1
- package/dist/cjs/components/popup-menu.js +5 -1
- package/dist/cjs/components/popup-menu.js.map +1 -1
- package/dist/cjs/components/progress-bar.js +5 -1
- package/dist/cjs/components/progress-bar.js.map +1 -1
- package/dist/cjs/components/progress-stepper.js +5 -1
- package/dist/cjs/components/progress-stepper.js.map +1 -1
- package/dist/cjs/components/radio.js +5 -1
- package/dist/cjs/components/radio.js.map +1 -1
- package/dist/cjs/components/search-field.js +5 -1
- package/dist/cjs/components/search-field.js.map +1 -1
- package/dist/cjs/components/select.js +5 -1
- package/dist/cjs/components/select.js.map +1 -1
- package/dist/cjs/components/snackbar.js +5 -1
- package/dist/cjs/components/snackbar.js.map +1 -1
- package/dist/cjs/components/spinner.js +5 -1
- package/dist/cjs/components/spinner.js.map +1 -1
- package/dist/cjs/components/switch.js +5 -1
- package/dist/cjs/components/switch.js.map +1 -1
- package/dist/cjs/components/table.js +5 -1
- package/dist/cjs/components/table.js.map +1 -1
- package/dist/cjs/components/tabs.js +12 -57
- package/dist/cjs/components/tabs.js.map +1 -1
- package/dist/cjs/components/tooltip.js +5 -1
- package/dist/cjs/components/tooltip.js.map +1 -1
- package/dist/cjs/components/user-menu.js +5 -1
- package/dist/cjs/components/user-menu.js.map +1 -1
- package/dist/cjs/components/zebratable.js +18 -5
- package/dist/cjs/components/zebratable.js.map +1 -1
- package/dist/cjs/index.js +10 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/plugin.js +56 -56
- package/dist/cjs/plugin.js.map +1 -1
- package/dist/cjs/preset.js +10 -2
- package/dist/cjs/preset.js.map +1 -1
- package/dist/cjs/theme.js +70 -66
- package/dist/cjs/theme.js.map +1 -1
- package/dist/cjs/units.js +44 -39
- package/dist/cjs/units.js.map +1 -1
- package/dist/cjs/with-opacity.js +6 -1
- package/dist/cjs/with-opacity.js.map +1 -1
- package/dist/esm/base.js +3 -1
- package/dist/esm/base.js.map +1 -1
- package/dist/esm/colors.js +2 -1
- package/dist/esm/colors.js.map +1 -1
- package/dist/esm/components/accordion.js +93 -20
- package/dist/esm/components/accordion.js.map +1 -1
- package/dist/esm/components/alert.js +1 -1
- package/dist/esm/components/alert.js.map +1 -1
- package/dist/esm/components/avatar.js +1 -1
- package/dist/esm/components/avatar.js.map +1 -1
- package/dist/esm/components/badge.js +1 -1
- package/dist/esm/components/badge.js.map +1 -1
- package/dist/esm/components/breadcrumb.js +1 -1
- package/dist/esm/components/breadcrumb.js.map +1 -1
- package/dist/esm/components/button-group.js +1 -1
- package/dist/esm/components/button-group.js.map +1 -1
- package/dist/esm/components/button.js +1 -1
- package/dist/esm/components/button.js.map +1 -1
- package/dist/esm/components/card.js +1 -1
- package/dist/esm/components/card.js.map +1 -1
- package/dist/esm/components/checkbox.js +1 -1
- package/dist/esm/components/checkbox.js.map +1 -1
- package/dist/esm/components/chip.js +35 -0
- package/dist/esm/components/chip.js.map +1 -0
- package/dist/esm/components/code.js +1 -1
- package/dist/esm/components/code.js.map +1 -1
- package/dist/esm/components/combobox.js +6 -1
- package/dist/esm/components/combobox.js.map +1 -1
- package/dist/esm/components/cookie-consent.js +1 -1
- package/dist/esm/components/cookie-consent.js.map +1 -1
- package/dist/esm/components/dialog.js +1 -1
- package/dist/esm/components/dialog.js.map +1 -1
- package/dist/esm/components/divider.js +1 -1
- package/dist/esm/components/divider.js.map +1 -1
- package/dist/esm/components/dot.js +1 -1
- package/dist/esm/components/dot.js.map +1 -1
- package/dist/esm/components/filter.js +1 -1
- package/dist/esm/components/filter.js.map +1 -1
- package/dist/esm/components/footer.js +1 -1
- package/dist/esm/components/footer.js.map +1 -1
- package/dist/esm/components/forms.js +1 -1
- package/dist/esm/components/forms.js.map +1 -1
- package/dist/esm/components/header.js +6 -2
- package/dist/esm/components/header.js.map +1 -1
- package/dist/esm/components/icon.js +1 -1
- package/dist/esm/components/icon.js.map +1 -1
- package/dist/esm/components/input.js +13 -10
- package/dist/esm/components/input.js.map +1 -1
- package/dist/esm/components/kbd.js +1 -1
- package/dist/esm/components/kbd.js.map +1 -1
- package/dist/esm/components/label.js +1 -1
- package/dist/esm/components/label.js.map +1 -1
- package/dist/esm/components/link.js +1 -1
- package/dist/esm/components/link.js.map +1 -1
- package/dist/esm/components/list.js +1 -1
- package/dist/esm/components/list.js.map +1 -1
- package/dist/esm/components/logo.js +1 -1
- package/dist/esm/components/logo.js.map +1 -1
- package/dist/esm/components/menu-vertical.js +3 -6
- package/dist/esm/components/menu-vertical.js.map +1 -1
- package/dist/esm/components/menubar.js +3 -3
- package/dist/esm/components/menubar.js.map +1 -1
- package/dist/esm/components/modal.js +1 -1
- package/dist/esm/components/modal.js.map +1 -1
- package/dist/esm/components/pagination.js +1 -1
- package/dist/esm/components/pagination.js.map +1 -1
- package/dist/esm/components/popup-menu.js +1 -1
- package/dist/esm/components/popup-menu.js.map +1 -1
- package/dist/esm/components/progress-bar.js +1 -1
- package/dist/esm/components/progress-bar.js.map +1 -1
- package/dist/esm/components/progress-stepper.js +1 -1
- package/dist/esm/components/progress-stepper.js.map +1 -1
- package/dist/esm/components/radio.js +1 -1
- package/dist/esm/components/radio.js.map +1 -1
- package/dist/esm/components/search-field.js +1 -1
- package/dist/esm/components/search-field.js.map +1 -1
- package/dist/esm/components/select.js +1 -1
- package/dist/esm/components/select.js.map +1 -1
- package/dist/esm/components/snackbar.js +1 -1
- package/dist/esm/components/snackbar.js.map +1 -1
- package/dist/esm/components/spinner.js +1 -1
- package/dist/esm/components/spinner.js.map +1 -1
- package/dist/esm/components/switch.js +1 -1
- package/dist/esm/components/switch.js.map +1 -1
- package/dist/esm/components/table.js +1 -1
- package/dist/esm/components/table.js.map +1 -1
- package/dist/esm/components/tabs.js +8 -57
- package/dist/esm/components/tabs.js.map +1 -1
- package/dist/esm/components/tooltip.js +1 -1
- package/dist/esm/components/tooltip.js.map +1 -1
- package/dist/esm/components/user-menu.js +1 -1
- package/dist/esm/components/user-menu.js.map +1 -1
- package/dist/esm/components/zebratable.js +14 -5
- package/dist/esm/components/zebratable.js.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/plugin.js +50 -54
- package/dist/esm/plugin.js.map +1 -1
- package/dist/esm/preset.js +5 -2
- package/dist/esm/preset.js.map +1 -1
- package/dist/esm/theme.js +25 -26
- package/dist/esm/theme.js.map +1 -1
- package/dist/esm/units.js +41 -39
- package/dist/esm/units.js.map +1 -1
- package/dist/esm/with-opacity.js +2 -1
- package/dist/esm/with-opacity.js.map +1 -1
- package/dist/types/base.d.ts +53 -0
- package/dist/types/colors.d.ts +643 -0
- package/dist/types/components/accordion.d.ts +169 -0
- package/dist/types/components/alert-banner.d.ts +24 -0
- package/dist/types/components/alert.d.ts +21 -0
- package/dist/types/components/avatar.d.ts +26 -0
- package/dist/types/components/badge.d.ts +21 -0
- package/dist/types/components/breadcrumb.d.ts +28 -0
- package/dist/types/components/button-group.d.ts +25 -0
- package/dist/types/components/button.d.ts +198 -0
- package/dist/types/components/card.d.ts +135 -0
- package/dist/types/components/checkbox.d.ts +105 -0
- package/dist/types/components/chip.d.ts +34 -0
- package/dist/types/components/code.d.ts +8 -0
- package/dist/types/components/combobox.d.ts +69 -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 +35 -0
- package/dist/types/components/dialog.d.ts +5 -0
- package/dist/types/components/divider.d.ts +50 -0
- package/dist/types/components/dot.d.ts +43 -0
- package/dist/types/components/dropdown-filter.d.ts +58 -0
- package/dist/types/components/filter.d.ts +14 -0
- package/dist/types/components/footer.d.ts +27 -0
- package/dist/types/components/forms.d.ts +24 -0
- package/dist/types/components/header.d.ts +28 -0
- package/dist/types/components/icon.d.ts +38 -0
- package/dist/types/components/input.d.ts +209 -0
- package/dist/types/components/kbd.d.ts +7 -0
- package/dist/types/components/label.d.ts +19 -0
- package/dist/types/components/link.d.ts +43 -0
- package/dist/types/components/list.d.ts +52 -0
- package/dist/types/components/logo.d.ts +48 -0
- package/dist/types/components/menu-vertical.d.ts +215 -0
- package/dist/types/components/menubar.d.ts +35 -0
- package/dist/types/components/modal.d.ts +41 -0
- package/dist/types/components/notification.d.ts +48 -0
- package/dist/types/components/pagination.d.ts +100 -0
- package/dist/types/components/popup-menu.d.ts +105 -0
- package/dist/types/components/progress-bar.d.ts +13 -0
- package/dist/types/components/progress-stepper.d.ts +50 -0
- package/dist/types/components/radio.d.ts +125 -0
- package/dist/types/components/search-field.d.ts +20 -0
- package/dist/types/components/select.d.ts +141 -0
- package/dist/types/components/side-menu.d.ts +219 -0
- package/dist/types/components/snackbar.d.ts +30 -0
- package/dist/types/components/spinner.d.ts +10 -0
- package/dist/types/components/switch.d.ts +64 -0
- package/dist/types/components/tab-menu.d.ts +57 -0
- package/dist/types/components/table.d.ts +11 -0
- package/dist/types/components/tabs.d.ts +14 -0
- package/dist/types/components/tooltip.d.ts +53 -0
- package/dist/types/components/user-menu.d.ts +13 -0
- package/dist/types/components/zebratable.d.ts +134 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/plugin.d.ts +12 -0
- package/dist/types/preset.d.ts +15 -0
- package/dist/types/theme.d.ts +4 -0
- package/dist/types/units.d.ts +251 -0
- package/dist/types/with-opacity.d.ts +4 -0
- package/package.json +20 -13
- 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 -5
- package/src/theme.js +0 -158
- package/src/units.js +0 -212
- package/src/with-opacity.js +0 -6
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
export declare const Input: () => {
|
|
2
|
+
'.sk-form-input': {
|
|
3
|
+
'&-addin': {
|
|
4
|
+
'@apply bg-transparent': {};
|
|
5
|
+
'@apply flex': {};
|
|
6
|
+
'@apply justify-start items-center': {};
|
|
7
|
+
'&-sm': {
|
|
8
|
+
'@apply px-6 gap-6': {};
|
|
9
|
+
'&.sk-form-input-addin-left': {
|
|
10
|
+
'@apply -mr-12': {};
|
|
11
|
+
'@apply pl-10': {};
|
|
12
|
+
};
|
|
13
|
+
'&.sk-form-input-addin-right': {
|
|
14
|
+
'@apply -ml-12': {};
|
|
15
|
+
'@apply pr-10': {};
|
|
16
|
+
};
|
|
17
|
+
svg: {
|
|
18
|
+
'@apply w-[1.6rem] h-[1.6rem]': {};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
'&-md': {
|
|
22
|
+
'@apply md:px-8 md:gap-8': {};
|
|
23
|
+
'&.sk-form-input-addin-left': {
|
|
24
|
+
'@apply -mr-16': {};
|
|
25
|
+
'@apply pl-12': {};
|
|
26
|
+
};
|
|
27
|
+
'&.sk-form-input-addin-right': {
|
|
28
|
+
'@apply -ml-16': {};
|
|
29
|
+
'@apply pr-12': {};
|
|
30
|
+
};
|
|
31
|
+
svg: {
|
|
32
|
+
'@apply w-[2rem] h-[2rem]': {};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
'&-lg': {
|
|
36
|
+
'@apply md:px-8 md:gap-8': {};
|
|
37
|
+
'&.sk-form-input-addin-left': {
|
|
38
|
+
'@apply -mr-20': {};
|
|
39
|
+
'@apply pl-16': {};
|
|
40
|
+
};
|
|
41
|
+
'&.sk-form-input-addin-right': {
|
|
42
|
+
'@apply -ml-20': {};
|
|
43
|
+
'@apply pr-16': {};
|
|
44
|
+
};
|
|
45
|
+
svg: {
|
|
46
|
+
'@apply w-[2.2rem] h-[2.2rem]': {};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'&-group': {
|
|
51
|
+
'.sk-form-input': {
|
|
52
|
+
'@apply rounded-0': {};
|
|
53
|
+
'@apply border-0': {};
|
|
54
|
+
'@apply focus:ring-0': {};
|
|
55
|
+
'@apply focus:ring-offset-0': {};
|
|
56
|
+
'@apply bg-transparent': {};
|
|
57
|
+
'@apply dark:bg-transparent': {};
|
|
58
|
+
'@apply grow': {};
|
|
59
|
+
};
|
|
60
|
+
'@apply border-1': {};
|
|
61
|
+
'@apply border-primitives-overlay-darken-6': {};
|
|
62
|
+
'@apply dark:border-primitives-overlay-lighten-6': {};
|
|
63
|
+
'@apply hover:border-primitives-overlay-darken-8': {};
|
|
64
|
+
'@apply dark:hover:border-primitives-overlay-lighten-4': {};
|
|
65
|
+
'@apply placeholder:text-dark-placeholder': {};
|
|
66
|
+
'@apply bg-primitives-overlay-lighten-10': {};
|
|
67
|
+
'@apply dark:bg-primitives-overlay-darken-6': {};
|
|
68
|
+
'&:invalid, &[aria-invalid="true"]': {
|
|
69
|
+
'@apply border-2 border-error-surface-primary': {};
|
|
70
|
+
};
|
|
71
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
72
|
+
'@apply bg-primitives-overlay-darken-1': {};
|
|
73
|
+
'@apply dark:bg-primitives-overlay-lighten-1': {};
|
|
74
|
+
'@apply border-primitives-overlay-darken-3': {};
|
|
75
|
+
'@apply dark:border-primitives-overlay-lighten-3': {};
|
|
76
|
+
'@apply hover:border-primitives-overlay-darken-3': {};
|
|
77
|
+
'@apply dark:hover:border-primitives-overlay-lighten-3': {};
|
|
78
|
+
'@apply text-dark-disabled': {};
|
|
79
|
+
};
|
|
80
|
+
'@apply flex relative': {};
|
|
81
|
+
'@apply items-center': {};
|
|
82
|
+
'@apply focus-within:ring': {};
|
|
83
|
+
'@apply focus-within:ring-ring': {};
|
|
84
|
+
'@apply text-dark-secondary': {};
|
|
85
|
+
'@apply focus-within:border-primitives-overlay-lighten-10': {};
|
|
86
|
+
'@apply dark:focus-within:border-primitives-overlay-darken-6': {};
|
|
87
|
+
'&:not(:invalid):not([aria-invalid="true"])': {
|
|
88
|
+
'@apply focus-within:hover:border-primitives-overlay-lighten-10': {};
|
|
89
|
+
'@apply dark:focus-within:hover:border-primitives-overlay-darken-6': {};
|
|
90
|
+
};
|
|
91
|
+
'&&-lg': {
|
|
92
|
+
'@apply text-input-large': {};
|
|
93
|
+
'@apply rounded-button-lg': {};
|
|
94
|
+
};
|
|
95
|
+
'&&-md': {
|
|
96
|
+
'@apply text-input-medium': {};
|
|
97
|
+
'@apply rounded-button-md': {};
|
|
98
|
+
};
|
|
99
|
+
'&&-sm': {
|
|
100
|
+
'@apply text-input-small': {};
|
|
101
|
+
'@apply rounded-button-sm': {};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
'@apply border-1': {};
|
|
105
|
+
'@apply border-primitives-overlay-darken-6': {};
|
|
106
|
+
'@apply dark:border-primitives-overlay-lighten-6': {};
|
|
107
|
+
'@apply hover:border-primitives-overlay-darken-8': {};
|
|
108
|
+
'@apply dark:hover:border-primitives-overlay-lighten-4': {};
|
|
109
|
+
'@apply placeholder:text-dark-placeholder': {};
|
|
110
|
+
'@apply bg-primitives-overlay-lighten-10': {};
|
|
111
|
+
'@apply dark:bg-primitives-overlay-darken-6': {};
|
|
112
|
+
'&:invalid, &[aria-invalid="true"]': {
|
|
113
|
+
'@apply border-2 border-error-surface-primary': {};
|
|
114
|
+
};
|
|
115
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
116
|
+
'@apply bg-primitives-overlay-darken-1': {};
|
|
117
|
+
'@apply dark:bg-primitives-overlay-lighten-1': {};
|
|
118
|
+
'@apply border-primitives-overlay-darken-3': {};
|
|
119
|
+
'@apply dark:border-primitives-overlay-lighten-3': {};
|
|
120
|
+
'@apply hover:border-primitives-overlay-darken-3': {};
|
|
121
|
+
'@apply dark:hover:border-primitives-overlay-lighten-3': {};
|
|
122
|
+
'@apply text-dark-disabled': {};
|
|
123
|
+
};
|
|
124
|
+
'&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator': {
|
|
125
|
+
'@apply block': {};
|
|
126
|
+
'@apply p-0': {};
|
|
127
|
+
'@apply pl-6 md:pl-8': {};
|
|
128
|
+
'@apply m-0': {};
|
|
129
|
+
'@apply bg-none': {};
|
|
130
|
+
'@apply bg-dark-secondary': {};
|
|
131
|
+
'&.sk-form-input-sm': {
|
|
132
|
+
'@apply w-[1.6rem] h-[1.6rem]': {};
|
|
133
|
+
'@apply -mr-2': {};
|
|
134
|
+
};
|
|
135
|
+
'&.sk-form-input-md': {
|
|
136
|
+
'@apply -mr-4': {};
|
|
137
|
+
'@apply w-[1.8rem] h-[1.8rem]': {};
|
|
138
|
+
};
|
|
139
|
+
'&.sk-form-input-lg': {
|
|
140
|
+
'@apply -mr-6': {};
|
|
141
|
+
'@apply w-[2rem] h-[2rem]': {};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
'&[type="date"]::-webkit-inner-spin-button, &[type="date"]::-webkit-calendar-picker-indicator': {
|
|
145
|
+
mask: string[];
|
|
146
|
+
'-webkit-mask': string[];
|
|
147
|
+
maskSize: string;
|
|
148
|
+
'-webkit-mask-size': string;
|
|
149
|
+
};
|
|
150
|
+
'&[type="datetime-local"]::-webkit-inner-spin-button, &[type="datetime-local"]::-webkit-calendar-picker-indicator': {
|
|
151
|
+
mask: string[];
|
|
152
|
+
'-webkit-mask': string[];
|
|
153
|
+
maskSize: string;
|
|
154
|
+
'-webkit-mask-size': string;
|
|
155
|
+
};
|
|
156
|
+
'&[type="time"]::-webkit-inner-spin-button, &[type="time"]::-webkit-calendar-picker-indicator': {
|
|
157
|
+
mask: string[];
|
|
158
|
+
'-webkit-mask': string[];
|
|
159
|
+
maskSize: string;
|
|
160
|
+
'-webkit-mask-size': string;
|
|
161
|
+
};
|
|
162
|
+
'@apply grow-0': {};
|
|
163
|
+
'@apply text-dark-primary': {};
|
|
164
|
+
'&[data-hideextra="true"]': {
|
|
165
|
+
'&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
|
166
|
+
'-webkit-appearance': string;
|
|
167
|
+
display: string;
|
|
168
|
+
margin: string;
|
|
169
|
+
};
|
|
170
|
+
'-moz-appearance': string;
|
|
171
|
+
};
|
|
172
|
+
'&&-lg': {
|
|
173
|
+
'@apply rounded-button-lg': {};
|
|
174
|
+
'@apply px-20': {};
|
|
175
|
+
'@apply py-[1.1rem]': {};
|
|
176
|
+
'@apply gap-8': {};
|
|
177
|
+
'@apply text-input-large': {};
|
|
178
|
+
'@apply h-[4.8rem]': {};
|
|
179
|
+
};
|
|
180
|
+
'&&-md': {
|
|
181
|
+
'@apply rounded-button-md': {};
|
|
182
|
+
'@apply px-16': {};
|
|
183
|
+
'@apply py-[0.7rem]': {};
|
|
184
|
+
'@apply gap-8': {};
|
|
185
|
+
'@apply text-input-medium': {};
|
|
186
|
+
'@apply h-[4rem]': {};
|
|
187
|
+
};
|
|
188
|
+
'&&-sm': {
|
|
189
|
+
'@apply rounded-button-sm': {};
|
|
190
|
+
'@apply px-12': {};
|
|
191
|
+
'@apply py-[0.5rem]': {};
|
|
192
|
+
'@apply gap-6': {};
|
|
193
|
+
'@apply text-input-small': {};
|
|
194
|
+
'@apply h-[3.2rem]': {};
|
|
195
|
+
};
|
|
196
|
+
'&&-textarea': {
|
|
197
|
+
'@apply h-auto': {};
|
|
198
|
+
};
|
|
199
|
+
'@apply focus:ring': {};
|
|
200
|
+
'@apply focus:ring-ring': {};
|
|
201
|
+
'@apply focus:ring-offset': {};
|
|
202
|
+
'@apply focus:border-primitives-overlay-lighten-10': {};
|
|
203
|
+
'@apply dark:focus:border-primitives-overlay-darken-6': {};
|
|
204
|
+
'&:not(:invalid):not([aria-invalid="true"])': {
|
|
205
|
+
'@apply focus:hover:border-primitives-overlay-lighten-10': {};
|
|
206
|
+
'@apply dark:focus:hover:border-primitives-overlay-darken-6': {};
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const Label: (colors: string[]) => {
|
|
2
|
+
'.sk-label': {
|
|
3
|
+
'@apply inline-flex flex-row': {};
|
|
4
|
+
'@apply justify-center items-center': {};
|
|
5
|
+
'@apply gap-6 px-10 py-4': {};
|
|
6
|
+
'@apply h-24 max-h-24': {};
|
|
7
|
+
'@apply text-label-small': {};
|
|
8
|
+
'@apply rounded-utility-sm md:rounded-utility-md xl:rounded-utility-lg': {};
|
|
9
|
+
'@apply bg-primary-surface': {};
|
|
10
|
+
'@apply text-light-primary': {};
|
|
11
|
+
'&[data-rounded="true"]': {
|
|
12
|
+
'@apply rounded-full': {};
|
|
13
|
+
};
|
|
14
|
+
'&[data-inverted="true"]': {
|
|
15
|
+
'@apply bg-inverted-primary-surface': {};
|
|
16
|
+
'@apply text-inverted-light-primary': {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const Link: () => {
|
|
2
|
+
'.sk-link': {
|
|
3
|
+
'@apply underline outline-none hover:underline': {};
|
|
4
|
+
'@apply rounded-utility': {};
|
|
5
|
+
'@apply focus-visible:ring ring-offset-[.6rem]': {};
|
|
6
|
+
'&-sm': {
|
|
7
|
+
'@apply text-small leading-[2rem]': {};
|
|
8
|
+
};
|
|
9
|
+
'&-md': {
|
|
10
|
+
'@apply text-base': {};
|
|
11
|
+
};
|
|
12
|
+
'&-lg': {
|
|
13
|
+
'@apply text-large': {};
|
|
14
|
+
};
|
|
15
|
+
'&-xl': {
|
|
16
|
+
'@apply text-lead leading-[3.2rem]': {};
|
|
17
|
+
};
|
|
18
|
+
'&-primary': {
|
|
19
|
+
'@apply text-vattjom-surface-primary': {};
|
|
20
|
+
'&:hover': {
|
|
21
|
+
'@apply text-vattjom-surface-primary-hover': {};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'&-tertiary': {
|
|
25
|
+
'@apply text-dark-secondary': {};
|
|
26
|
+
'&:hover': {
|
|
27
|
+
'@apply text-dark-primary': {};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
'&.active': {
|
|
31
|
+
'@apply underline': {};
|
|
32
|
+
};
|
|
33
|
+
'& &-external-icon': {
|
|
34
|
+
'@apply w-[1em] h-[1em] leading-none ml-[.25em] align-text-top': {};
|
|
35
|
+
};
|
|
36
|
+
'&[type="button"]': {
|
|
37
|
+
'@apply inline-flex items-center align-bottom': {};
|
|
38
|
+
};
|
|
39
|
+
'&-disabled': {
|
|
40
|
+
'@apply text-dark-disabled cursor-default': {};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const List: () => {
|
|
2
|
+
'.sk-list': {
|
|
3
|
+
li: {
|
|
4
|
+
'&:before': {
|
|
5
|
+
'@apply text-vattjom-surface-primary font-bold': {};
|
|
6
|
+
'@apply absolute inline-flex items-center justify-center text-center': {};
|
|
7
|
+
'@apply w-24 h-24': {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
'&[data-style="bullet"]': {
|
|
11
|
+
li: {
|
|
12
|
+
'&:before': {
|
|
13
|
+
"@apply content-['\u2022'] my-[.5rem] text-[1.8rem]": {};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
'&[data-style="numbered"]': {
|
|
18
|
+
li: {
|
|
19
|
+
counterIncrement: string;
|
|
20
|
+
'&:before': {
|
|
21
|
+
'@apply text-small border-vattjom-surface-primary rounded-full leading-8': {};
|
|
22
|
+
'@apply my-[.6rem] h-[2.2rem] w-[2.2rem] border-[.2rem]': {};
|
|
23
|
+
content: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
'&[data-style="stroke"]': {
|
|
28
|
+
li: {
|
|
29
|
+
'&:before': {
|
|
30
|
+
"@apply content-['\u2013'] my-[.4rem] text-[1.6rem]": {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'.sk-link': {
|
|
35
|
+
'&-tertiary': {
|
|
36
|
+
'@apply text-dark-primary': {};
|
|
37
|
+
'&:hover': {
|
|
38
|
+
'@apply text-dark-secondary': {};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
'&-item': {
|
|
43
|
+
'@apply pt-20': {};
|
|
44
|
+
};
|
|
45
|
+
'&-header': {
|
|
46
|
+
'@apply text-large font-bold ml-[3.2rem]': {};
|
|
47
|
+
};
|
|
48
|
+
'&-text': {
|
|
49
|
+
'@apply text-dark-secondary ml-[3.2rem]': {};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const Logo: () => {
|
|
2
|
+
'.sk-logo': {
|
|
3
|
+
'@apply flex w-auto h-auto': {};
|
|
4
|
+
'@apply items-center': {};
|
|
5
|
+
'@apply text-dark-primary': {};
|
|
6
|
+
'&[data-inverted="true"]': {
|
|
7
|
+
'@apply text-light-primary': {};
|
|
8
|
+
'.sk-logo-divider': {
|
|
9
|
+
'@apply border-inverted-divider': {};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
'&-figure': {
|
|
13
|
+
'@apply w-full h-full': {};
|
|
14
|
+
};
|
|
15
|
+
'&[data-variant="service"]': {
|
|
16
|
+
'@apply flex-row gap-6': {};
|
|
17
|
+
'@apply w-max': {};
|
|
18
|
+
'@apply h-[6rem]': {};
|
|
19
|
+
'@apply pb-4': {};
|
|
20
|
+
'.sk-logo-figure': {
|
|
21
|
+
'@apply w-auto h-[5.6rem]': {};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'a:focus-within &': {
|
|
25
|
+
'@apply outline outline-2 outline-ring': {};
|
|
26
|
+
};
|
|
27
|
+
'a &': {
|
|
28
|
+
'@apply no-underline': {};
|
|
29
|
+
};
|
|
30
|
+
'a:hover &': {
|
|
31
|
+
'@apply underline': {};
|
|
32
|
+
};
|
|
33
|
+
'&-service-content': {
|
|
34
|
+
'@apply h-full w-max': {};
|
|
35
|
+
'@apply flex flex-col justify-center': {};
|
|
36
|
+
'@apply pl-2 pt-2 pr-8 pb-0': {};
|
|
37
|
+
};
|
|
38
|
+
'&-title': {
|
|
39
|
+
'@apply text-[2.2rem] leading-[2.8rem] font-header font-bold': {};
|
|
40
|
+
};
|
|
41
|
+
'&-subtitle': {
|
|
42
|
+
'@apply text-small font-normal block': {};
|
|
43
|
+
};
|
|
44
|
+
'&-divider': {
|
|
45
|
+
'@apply pt-8 pb-4': {};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
export declare const MenuVertical: () => {
|
|
2
|
+
'.sk-menu-vertical-sidebar': {
|
|
3
|
+
'@apply rounded-button': {};
|
|
4
|
+
'> ul > li > .sk-menu-vertical-item-submenu': {
|
|
5
|
+
'> .sk-menu-vertical-item-submenu-button': {
|
|
6
|
+
'@apply min-h-[5.2rem]': {};
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
'> ul': {
|
|
10
|
+
'@apply py-16 px-24': {};
|
|
11
|
+
};
|
|
12
|
+
'.sk-menu-vertical': {
|
|
13
|
+
'@apply gap-12': {};
|
|
14
|
+
'&-header': {
|
|
15
|
+
'@apply bg-primary-surface': {};
|
|
16
|
+
'@apply rounded-t-button': {};
|
|
17
|
+
'@apply py-20 px-32': {};
|
|
18
|
+
'&, a': {
|
|
19
|
+
'@apply text-light-primary': {};
|
|
20
|
+
};
|
|
21
|
+
'.sk-divider': {
|
|
22
|
+
'@apply border-inverted-divider': {};
|
|
23
|
+
};
|
|
24
|
+
'.sk-logo': {
|
|
25
|
+
'@apply text-light-secondary': {};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'&.ul, & ul': {
|
|
29
|
+
'@apply py-8 pl-[2rem] ml-[2rem]': {};
|
|
30
|
+
};
|
|
31
|
+
'li ul': {
|
|
32
|
+
'@apply gap-8': {};
|
|
33
|
+
ul: {
|
|
34
|
+
li: {
|
|
35
|
+
'@apply text-small leading-[1.8rem]': {};
|
|
36
|
+
'.sk-menu-vertical-item-submenu-button, .sk-menu-vertical-item-submenu-button-expand': {
|
|
37
|
+
'@apply py-[0.6rem] px-[1.4rem]': {};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
li: {
|
|
42
|
+
'@apply relative -ml-[.4rem]': {};
|
|
43
|
+
'&:before': {
|
|
44
|
+
content: string;
|
|
45
|
+
position: string;
|
|
46
|
+
display: string;
|
|
47
|
+
width: string;
|
|
48
|
+
height: string;
|
|
49
|
+
top: string;
|
|
50
|
+
left: string;
|
|
51
|
+
backgroundImage: string;
|
|
52
|
+
backgroundRepeat: string;
|
|
53
|
+
};
|
|
54
|
+
'&:not(:last-child):after': {
|
|
55
|
+
content: string;
|
|
56
|
+
position: string;
|
|
57
|
+
display: string;
|
|
58
|
+
width: string;
|
|
59
|
+
top: string;
|
|
60
|
+
bottom: string;
|
|
61
|
+
left: string;
|
|
62
|
+
backgroundImage: string;
|
|
63
|
+
backgroundRepeat: string;
|
|
64
|
+
};
|
|
65
|
+
'&:last-child:after': {
|
|
66
|
+
content: string;
|
|
67
|
+
position: string;
|
|
68
|
+
display: string;
|
|
69
|
+
width: string;
|
|
70
|
+
top: string;
|
|
71
|
+
bottom: string;
|
|
72
|
+
left: string;
|
|
73
|
+
backgroundImage: string;
|
|
74
|
+
backgroundRepeat: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
'&-item': {
|
|
79
|
+
'.sk-menu-vertical-item-submenu': {
|
|
80
|
+
'&-button': {
|
|
81
|
+
'@apply gap-8': {};
|
|
82
|
+
'&[aria-current="page"], &[aria-current="page"] ~ button': {
|
|
83
|
+
'@apply font-bold': {};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
'> a, > button': {
|
|
88
|
+
'&[aria-current="page"]': {
|
|
89
|
+
'@apply font-bold': {};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
'.sk-menu-vertical-nav': {
|
|
96
|
+
'.sk-menu-vertical': {
|
|
97
|
+
'@apply gap-12': {};
|
|
98
|
+
'&.ul, & ul': {
|
|
99
|
+
'@apply pt-12 pr-[1.6rem] pb-16': {};
|
|
100
|
+
};
|
|
101
|
+
'&-item': {
|
|
102
|
+
'.sk-menu-vertical-item-submenu': {
|
|
103
|
+
'@apply font-bold': {};
|
|
104
|
+
'&-medium': {
|
|
105
|
+
'button, a': {
|
|
106
|
+
'@apply py-[0.6rem] px-[1.4rem]': {};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
'&-large': {
|
|
110
|
+
'button, a': {
|
|
111
|
+
'@apply text-large': {};
|
|
112
|
+
'@apply py-[1rem] px-[1.4rem]': {};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
'.sk-menu-vertical': {
|
|
120
|
+
'@apply flex flex-col': {};
|
|
121
|
+
'&.hide': {
|
|
122
|
+
'@apply hidden': {};
|
|
123
|
+
};
|
|
124
|
+
'&-backbutton': {
|
|
125
|
+
'@apply flex items-center gap-[1.6rem] text-lead mb-40': {};
|
|
126
|
+
};
|
|
127
|
+
'&-label': {
|
|
128
|
+
'@apply mb-24': {};
|
|
129
|
+
};
|
|
130
|
+
'&-item': {
|
|
131
|
+
'@apply flex flex-col': {};
|
|
132
|
+
'&.hide': {
|
|
133
|
+
'@apply hidden': {};
|
|
134
|
+
};
|
|
135
|
+
'[aria-disabled="true"]': {
|
|
136
|
+
'@apply cursor-default bg-transparent text-primitives-overlay-darken-6 dark:text-primitives-overlay-lighten-7': {};
|
|
137
|
+
};
|
|
138
|
+
'a, button': {
|
|
139
|
+
'@apply flex': {};
|
|
140
|
+
color: string;
|
|
141
|
+
};
|
|
142
|
+
'& > a, > button': {
|
|
143
|
+
'@apply flex items-center min-h-[4.4rem]': {};
|
|
144
|
+
'&:focus-visible': {
|
|
145
|
+
'@apply outline outline-2 outline-ring': {};
|
|
146
|
+
};
|
|
147
|
+
'> *': {
|
|
148
|
+
'@apply flex w-full py-[.6rem] px-[1.4rem]': {};
|
|
149
|
+
'@apply rounded-button cursor-pointer': {};
|
|
150
|
+
};
|
|
151
|
+
'&:not([aria-disabled="true"]) > *': {
|
|
152
|
+
'@apply bg-transparent text-dark-secondary': {};
|
|
153
|
+
};
|
|
154
|
+
'&:hover:not([aria-disabled="true"]) > *': {
|
|
155
|
+
'@apply bg-primitives-overlay-darken-3': {};
|
|
156
|
+
};
|
|
157
|
+
'&[aria-current="page"]:not(:hover) > *': {
|
|
158
|
+
'@apply bg-primary-surface text-light-primary': {};
|
|
159
|
+
'@apply focus-visible:ring': {};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
'.sk-menu-vertical-item-submenu': {
|
|
163
|
+
'@apply flex justify-between w-full': {};
|
|
164
|
+
'@apply rounded-button': {};
|
|
165
|
+
'&:hover': {
|
|
166
|
+
'> a:not([aria-disabled="true"]), > button:not([aria-disabled="true"]), > a[aria-expanded="true"]:not([aria-disabled="true"]), > button[aria-expanded="true"]:not([aria-disabled="true"])': {
|
|
167
|
+
'@apply text-dark-primary bg-primitives-overlay-darken-3': {};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
'&:focus-within': {
|
|
171
|
+
'@apply outline outline-2 outline-ring': {};
|
|
172
|
+
'.sk-menu-vertical-item-submenu-button, .sk-menu-vertical-item-submenu-button-expand': {
|
|
173
|
+
'&:focus-visible': {
|
|
174
|
+
'@apply ring-0 ring-offset-0 outline-0': {};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
'&-medium': {
|
|
179
|
+
'button, a': {
|
|
180
|
+
'@apply py-[0.6rem] px-[1.4rem]': {};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
'&-large': {
|
|
184
|
+
'button, a': {
|
|
185
|
+
'@apply py-[1rem] px-[1.4rem]': {};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
'&-button, &-button-expand': {
|
|
189
|
+
'@apply items-center': {};
|
|
190
|
+
'@apply py-[1rem] px-[1.4rem]': {};
|
|
191
|
+
};
|
|
192
|
+
'&-button-expand': {
|
|
193
|
+
'@apply rounded-r-button rounded-l-0': {};
|
|
194
|
+
};
|
|
195
|
+
'&-button': {
|
|
196
|
+
'@apply text-left grow rounded-l-button rounded-r-0': {};
|
|
197
|
+
'&[aria-current="page"]:not(:hover), &[aria-current="page"]:not(:hover) ~ button:not(:hover)': {
|
|
198
|
+
'@apply bg-primary-surface text-light-primary': {};
|
|
199
|
+
};
|
|
200
|
+
'&[aria-expanded="true"]': {
|
|
201
|
+
'&:not(:hover,[aria-current="page"],[aria-disabled="true"]), &:not(:hover,[aria-current="page"],[aria-disabled="true"]) ~ button:not(:hover)': {
|
|
202
|
+
'@apply bg-vattjom-surface-accent': {};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
'.sk-menu-vertical-item-tool-item': {
|
|
208
|
+
'@apply flex items-center gap-10 p-[.6rem] rounded-groups': {};
|
|
209
|
+
'.sk-avatar': {
|
|
210
|
+
'@apply border-2 border-background-content': {};
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const MenuBar: (colors: string[]) => {
|
|
2
|
+
'.sk-menubar': {
|
|
3
|
+
'@apply flex flex-row': {};
|
|
4
|
+
'@apply p-8 gap-16': {};
|
|
5
|
+
'@apply rounded-cards': {};
|
|
6
|
+
'&[data-background="true"]': {
|
|
7
|
+
'@apply bg-background-color-mixin-1': {};
|
|
8
|
+
};
|
|
9
|
+
'&-item': {
|
|
10
|
+
'@apply inline-block': {};
|
|
11
|
+
'@apply relative': {};
|
|
12
|
+
'@apply h-40': {};
|
|
13
|
+
'a, button': {
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
'> *:first-child': {
|
|
17
|
+
'@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {};
|
|
18
|
+
'@apply cursor-pointer': {};
|
|
19
|
+
'@apply bg-transparent text-dark-primary': {};
|
|
20
|
+
'@apply hover:bg-tertiary-surface': {};
|
|
21
|
+
'@apply font-bold': {};
|
|
22
|
+
'@apply gap-2 px-14 py-8': {};
|
|
23
|
+
'@apply h-full min-h-full': {};
|
|
24
|
+
'@apply text-base leading-base': {};
|
|
25
|
+
'@apply inline-flex shrink-0 flex-nowrap': {};
|
|
26
|
+
'@apply border-0': {};
|
|
27
|
+
'@apply focus-visible:bg-background-content focus-visible:ring': {};
|
|
28
|
+
'&[aria-current="page"]:not(:hover),&[aria-selected="true"]:not(:hover), ': {
|
|
29
|
+
'@apply bg-primary-surface text-light-primary': {};
|
|
30
|
+
'@apply focus-visible:ring': {};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const Modal: () => {
|
|
2
|
+
'.sk-modal': {
|
|
3
|
+
'&-wrapper': {
|
|
4
|
+
'@apply fixed inset-0 z-20 overflow-y-auto': {};
|
|
5
|
+
'@apply bg-primitives-overlay-darken-6': {};
|
|
6
|
+
'@apply dark:bg-primitives-overlay-darken-8': {};
|
|
7
|
+
'&-inner': {
|
|
8
|
+
'@apply min-h-screen px-4 text-center': {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'&-overlay': {
|
|
12
|
+
'@apply fixed inset-0': {};
|
|
13
|
+
};
|
|
14
|
+
'&-dialog': {
|
|
15
|
+
'@apply inline-flex flex-col': {};
|
|
16
|
+
'@apply text-left': {};
|
|
17
|
+
'@apply align-middle': {};
|
|
18
|
+
'@apply transition-all transform': {};
|
|
19
|
+
'@apply rounded-cards': {};
|
|
20
|
+
'@apply bg-background-content': {};
|
|
21
|
+
'@apply dark:bg-background-100': {};
|
|
22
|
+
'@apply px-24 pt-24 pb-40': {};
|
|
23
|
+
'@apply gap-16': {};
|
|
24
|
+
'&-header': {
|
|
25
|
+
'@apply flex justify-between items-center w-full': {};
|
|
26
|
+
'&-title': {
|
|
27
|
+
'@apply grow': {};
|
|
28
|
+
'@apply text-label-medium': {};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
'&-content': {
|
|
33
|
+
'@apply flex flex-col': {};
|
|
34
|
+
'@apply py-8 pb-16 gap-12': {};
|
|
35
|
+
};
|
|
36
|
+
'&-footer': {
|
|
37
|
+
'@apply flex flex-row justify-start': {};
|
|
38
|
+
'@apply p-0 gap-12': {};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|