@sk-web-gui/core 1.0.2 → 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 +13 -4
- package/dist/cjs/components/zebratable.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 +13 -4
- package/dist/esm/components/zebratable.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 +14 -6
- 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,64 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-tabs': {
|
|
3
|
+
'&-stretch': {
|
|
4
|
+
'@apply w-full': {};
|
|
5
|
+
};
|
|
6
|
+
'&-list': {
|
|
7
|
+
'@apply block relative w-full h-[3rem]': {};
|
|
8
|
+
'&-stretch': {
|
|
9
|
+
'@apply flex justify-between': {};
|
|
10
|
+
};
|
|
11
|
+
'&-right': {
|
|
12
|
+
'@apply text-right': {};
|
|
13
|
+
};
|
|
14
|
+
'&-center': {
|
|
15
|
+
'@apply text-center': {};
|
|
16
|
+
};
|
|
17
|
+
'&-line::after': {
|
|
18
|
+
content: string;
|
|
19
|
+
'@apply bg-gray-middle w-full h-[2px] absolute left-0 right-0 bottom-0': {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'&-tab': {
|
|
23
|
+
'@apply relative mr-[3.2rem] text-base font-bold p-0 relative h-[2.8rem] inline-block': {};
|
|
24
|
+
'@apply text-gray': {};
|
|
25
|
+
'@apply cursor-pointer': {};
|
|
26
|
+
'&.disabled': {
|
|
27
|
+
'@apply cursor-not-allowed': {};
|
|
28
|
+
'@apply text-gray-stroke': {};
|
|
29
|
+
};
|
|
30
|
+
'&.active': {
|
|
31
|
+
'@apply text-body': {};
|
|
32
|
+
'&::after': {
|
|
33
|
+
content: string;
|
|
34
|
+
'@apply bg-primary w-full h-[2px] absolute left-0 right-0 top-[100%] z-[1]': {};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
'&-stretch': {
|
|
38
|
+
'@apply mr-0': {};
|
|
39
|
+
};
|
|
40
|
+
'&-header': {
|
|
41
|
+
'@apply text-large font-normal': {};
|
|
42
|
+
};
|
|
43
|
+
'&-right': {
|
|
44
|
+
'@apply mr-0 ml-lg': {};
|
|
45
|
+
};
|
|
46
|
+
'&:last-of-type': {
|
|
47
|
+
'@apply mr-0': {};
|
|
48
|
+
};
|
|
49
|
+
'&-icon': {
|
|
50
|
+
'&-with-label': {
|
|
51
|
+
'@apply mr-sm': {};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'&-panel': {
|
|
56
|
+
'@apply mt-lg': {};
|
|
57
|
+
'&:not(.active)': {
|
|
58
|
+
display: string;
|
|
59
|
+
hidden: boolean;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export = _exports;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-tooltip': {
|
|
3
|
+
'@apply inline-flex justify-center items-center': {};
|
|
4
|
+
'@apply w-fit h-fit': {};
|
|
5
|
+
'@apply grow-0': {};
|
|
6
|
+
'&-text': {
|
|
7
|
+
'@apply inline-flex': {};
|
|
8
|
+
'@apply bg-primary-surface shadow': {};
|
|
9
|
+
'@apply px-16 py-8': {};
|
|
10
|
+
'@apply rounded-utility': {};
|
|
11
|
+
'@apply text-light-primary text-small': {};
|
|
12
|
+
'@apply font-bold': {};
|
|
13
|
+
'@apply w-fit h-fit': {};
|
|
14
|
+
'@apply grow-0': {};
|
|
15
|
+
'@apply min-h-[3.4rem]': {};
|
|
16
|
+
};
|
|
17
|
+
'&::after, &::before': {
|
|
18
|
+
'@apply h-0 w-0 overflow-hidden': {};
|
|
19
|
+
};
|
|
20
|
+
'&[data-position="above"]': {
|
|
21
|
+
'@apply flex-col': {};
|
|
22
|
+
'@apply pb-2': {};
|
|
23
|
+
'&::after': {
|
|
24
|
+
'@apply content-[""] border-solid border-[0.6rem] border-b-0': {};
|
|
25
|
+
'@apply border-t-primary-surface border-r-transparent border-b-transparent border-l-transparent': {};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'&[data-position="below"]': {
|
|
29
|
+
'@apply flex-col': {};
|
|
30
|
+
'@apply pt-2': {};
|
|
31
|
+
'&::before': {
|
|
32
|
+
'@apply content-[""] border-solid border-[0.6rem] border-t-0': {};
|
|
33
|
+
'@apply border-t-transparent border-r-transparent border-b-primary-surface border-l-transparent': {};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'&[data-position="left"]': {
|
|
37
|
+
'@apply flex-row': {};
|
|
38
|
+
'@apply pr-2 py-[0.3rem]': {};
|
|
39
|
+
'&::after': {
|
|
40
|
+
'@apply content-[""] border-solid border-[0.6rem] border-r-0': {};
|
|
41
|
+
'@apply border-t-transparent border-r-transparent border-b-transparent border-l-primary-surface': {};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
'&[data-position="right"]': {
|
|
45
|
+
'@apply flex-row': {};
|
|
46
|
+
'@apply pl-2 py-[0.3rem]': {};
|
|
47
|
+
'&::before': {
|
|
48
|
+
'@apply content-[""] border-solid border-[0.6rem] border-l-0': {};
|
|
49
|
+
'@apply border-t-transparent border-r-primary-surface border-b-transparent border-l-transparent': {};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export = _exports;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-usermenu': {
|
|
3
|
+
'@apply relative': {};
|
|
4
|
+
'&-button': {
|
|
5
|
+
'@apply p-0 bg-transparent hover:bg-transparent': {};
|
|
6
|
+
'@apply border-0': {};
|
|
7
|
+
'.sk-avatar': {
|
|
8
|
+
height: string;
|
|
9
|
+
width: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export = _exports;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare function _exports(): {
|
|
2
|
+
'.sk-zebratable-wrapper': {
|
|
3
|
+
'@apply rounded-groups': {};
|
|
4
|
+
'@apply border-1': {};
|
|
5
|
+
'@apply bg-background-content': {};
|
|
6
|
+
'&-inside': {
|
|
7
|
+
'@apply border-0 rounded-t-groups': {};
|
|
8
|
+
'@apply overflow-hidden': {};
|
|
9
|
+
};
|
|
10
|
+
'&[data-variant="table"]': {
|
|
11
|
+
'&:not([data-background="true"])': {
|
|
12
|
+
'@apply border-0': {};
|
|
13
|
+
'@apply bg-transparent': {};
|
|
14
|
+
};
|
|
15
|
+
'.sk-zebratable-wrapper-inside': {
|
|
16
|
+
'@apply border-0 rounded-b-groups': {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'.sk-zebratable': {
|
|
21
|
+
'@apply w-full text-left table-auto': {};
|
|
22
|
+
'@apply text-dark-secondary': {};
|
|
23
|
+
'&-thead': {
|
|
24
|
+
'@apply border-b-1 border-dark-primary': {};
|
|
25
|
+
'@apply h-48': {};
|
|
26
|
+
'&-tr': {
|
|
27
|
+
'@apply table-row': {};
|
|
28
|
+
'@apply text-label-small': {};
|
|
29
|
+
};
|
|
30
|
+
'&-th': {
|
|
31
|
+
'@apply py-4': {};
|
|
32
|
+
"&[data-isColumnSortable='true']": {
|
|
33
|
+
'@apply cursor-pointer': {};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'@apply bg-transparent': {};
|
|
37
|
+
'&[data-background="true"]': {
|
|
38
|
+
'@apply bg-vattjom-background-200 border-b-transparent': {};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
'&-sortbutton': {
|
|
42
|
+
'@apply flex items-center': {};
|
|
43
|
+
'@apply focus-visible:ring ring-ring ring-offset-0': {};
|
|
44
|
+
'@apply focus-visible:bg-vattjom-background-200': {};
|
|
45
|
+
'@apply rounded-utility': {};
|
|
46
|
+
'@apply px-16': {};
|
|
47
|
+
'@apply h-40': {};
|
|
48
|
+
'&-icon': {
|
|
49
|
+
'@apply inline-flex pl-sm': {};
|
|
50
|
+
'&-sort': {
|
|
51
|
+
'@apply text-dark-secondary': {};
|
|
52
|
+
'@apply flex flex-col': {};
|
|
53
|
+
svg: {
|
|
54
|
+
'@apply h-16 w-16': {};
|
|
55
|
+
'@apply first-of-type:-mb-4': {};
|
|
56
|
+
'@apply last-of-type:-mt-4': {};
|
|
57
|
+
};
|
|
58
|
+
"&[data-sortmodeascending='true']": {
|
|
59
|
+
'> *': {
|
|
60
|
+
'@apply last-of-type:text-dark-ghost': {};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
"&[data-sortmodeascending='false']": {
|
|
64
|
+
'> *': {
|
|
65
|
+
'@apply first-of-type:text-dark-ghost': {};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
'&-tbody': {
|
|
72
|
+
'@apply text-dark-secondary bg-transparent': {};
|
|
73
|
+
'&-tr': {
|
|
74
|
+
'@apply bg-transparent': {};
|
|
75
|
+
'@apply hover:bg-background-100': {};
|
|
76
|
+
'@apply border-b-1': {};
|
|
77
|
+
'@apply last-of-type:border-b-transparent': {};
|
|
78
|
+
};
|
|
79
|
+
'&-td': {
|
|
80
|
+
'@apply text-small': {};
|
|
81
|
+
'&-content': {
|
|
82
|
+
'@apply inline-flex': {};
|
|
83
|
+
'@apply justify-start items-center': {};
|
|
84
|
+
'@apply gap-8': {};
|
|
85
|
+
'@apply py-8 px-18': {};
|
|
86
|
+
'@apply h-[6.3rem]': {};
|
|
87
|
+
'@apply min-h-[6.3rem]': {};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
'&[data-dense="true"]': {
|
|
92
|
+
'.sk-zebratable': {
|
|
93
|
+
'&-thead': {
|
|
94
|
+
'&-th': {
|
|
95
|
+
'@apply py-4': {};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
'&-tbody': {
|
|
99
|
+
'&-td-content': {
|
|
100
|
+
'@apply py-0': {};
|
|
101
|
+
'@apply h-[4.7rem]': {};
|
|
102
|
+
'@apply min-h-[4.7rem]': {};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
'&-paginationwrapper': {
|
|
108
|
+
'@apply w-full max-w-[60rem]': {};
|
|
109
|
+
'@apply shrink': {};
|
|
110
|
+
};
|
|
111
|
+
'&-bottom': {
|
|
112
|
+
'@apply py-14 px-16': {};
|
|
113
|
+
'@apply border-t-1': {};
|
|
114
|
+
'@apply flex flex-row': {};
|
|
115
|
+
'@apply gap-32': {};
|
|
116
|
+
'@apply justify-between items-center': {};
|
|
117
|
+
'&-section': {
|
|
118
|
+
'@apply shrink-0': {};
|
|
119
|
+
'@apply flex flex-row': {};
|
|
120
|
+
'@apply justify-start items-center': {};
|
|
121
|
+
'@apply gap-8': {};
|
|
122
|
+
'&-label': {
|
|
123
|
+
'@apply font-normal': {};
|
|
124
|
+
'@apply text-small': {};
|
|
125
|
+
'@apply shrink-0': {};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
'&-pagination': {
|
|
129
|
+
'@apply grow': {};
|
|
130
|
+
'@apply shrink': {};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
export = _exports;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare function _exports(options?: {
|
|
2
|
+
tailwindForms: boolean;
|
|
3
|
+
plugin: {
|
|
4
|
+
colors: never[];
|
|
5
|
+
cssBase: boolean;
|
|
6
|
+
};
|
|
7
|
+
}): {
|
|
8
|
+
plugins: (typeof import("@tailwindcss/forms") | {
|
|
9
|
+
handler: import("tailwindcss/types/config").PluginCreator;
|
|
10
|
+
config?: Partial<import("tailwindcss/types/config").Config> | undefined;
|
|
11
|
+
})[];
|
|
12
|
+
};
|
|
13
|
+
export = _exports;
|