@sk-web-gui/core 2.4.0 → 3.0.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.
Files changed (167) hide show
  1. package/dist/cjs/aria-plugin.js.map +1 -1
  2. package/dist/cjs/base.js.map +1 -1
  3. package/dist/cjs/colors.js.map +1 -1
  4. package/dist/cjs/components/accordion.js.map +1 -1
  5. package/dist/cjs/components/alert.js.map +1 -1
  6. package/dist/cjs/components/avatar.js.map +1 -1
  7. package/dist/cjs/components/badge.js.map +1 -1
  8. package/dist/cjs/components/breadcrumb.js.map +1 -1
  9. package/dist/cjs/components/button-group.js.map +1 -1
  10. package/dist/cjs/components/button.js.map +1 -1
  11. package/dist/cjs/components/card.js.map +1 -1
  12. package/dist/cjs/components/checkbox.js.map +1 -1
  13. package/dist/cjs/components/chip.js.map +1 -1
  14. package/dist/cjs/components/code.js.map +1 -1
  15. package/dist/cjs/components/combobox.js.map +1 -1
  16. package/dist/cjs/components/cookie-consent.js.map +1 -1
  17. package/dist/cjs/components/dialog.js.map +1 -1
  18. package/dist/cjs/components/divider.js.map +1 -1
  19. package/dist/cjs/components/dot.js.map +1 -1
  20. package/dist/cjs/components/filter.js.map +1 -1
  21. package/dist/cjs/components/footer.js.map +1 -1
  22. package/dist/cjs/components/forms.js.map +1 -1
  23. package/dist/cjs/components/header.js.map +1 -1
  24. package/dist/cjs/components/icon.js.map +1 -1
  25. package/dist/cjs/components/input.js.map +1 -1
  26. package/dist/cjs/components/kbd.js.map +1 -1
  27. package/dist/cjs/components/label.js.map +1 -1
  28. package/dist/cjs/components/link.js.map +1 -1
  29. package/dist/cjs/components/list.js.map +1 -1
  30. package/dist/cjs/components/logo.js.map +1 -1
  31. package/dist/cjs/components/menu-vertical.js.map +1 -1
  32. package/dist/cjs/components/menubar.js.map +1 -1
  33. package/dist/cjs/components/modal.js.map +1 -1
  34. package/dist/cjs/components/pagination.js.map +1 -1
  35. package/dist/cjs/components/popup-menu.js.map +1 -1
  36. package/dist/cjs/components/progress-bar.js.map +1 -1
  37. package/dist/cjs/components/progress-stepper.js.map +1 -1
  38. package/dist/cjs/components/radio.js.map +1 -1
  39. package/dist/cjs/components/search-field.js.map +1 -1
  40. package/dist/cjs/components/select.js.map +1 -1
  41. package/dist/cjs/components/snackbar.js.map +1 -1
  42. package/dist/cjs/components/spinner.js.map +1 -1
  43. package/dist/cjs/components/switch.js.map +1 -1
  44. package/dist/cjs/components/table-autotable.js.map +1 -1
  45. package/dist/cjs/components/table.js.map +1 -1
  46. package/dist/cjs/components/tabs.js.map +1 -1
  47. package/dist/cjs/components/tooltip.js.map +1 -1
  48. package/dist/cjs/components/user-menu.js.map +1 -1
  49. package/dist/cjs/data-plugin.js.map +1 -1
  50. package/dist/cjs/index.js.map +1 -1
  51. package/dist/cjs/plugin.js.map +1 -1
  52. package/dist/cjs/preset.js.map +1 -1
  53. package/dist/cjs/theme.js.map +1 -1
  54. package/dist/cjs/units.js.map +1 -1
  55. package/dist/cjs/with-opacity.js.map +1 -1
  56. package/dist/esm/aria-plugin.js.map +1 -1
  57. package/dist/esm/base.js.map +1 -1
  58. package/dist/esm/colors.js.map +1 -1
  59. package/dist/esm/components/accordion.js.map +1 -1
  60. package/dist/esm/components/alert.js.map +1 -1
  61. package/dist/esm/components/avatar.js.map +1 -1
  62. package/dist/esm/components/badge.js.map +1 -1
  63. package/dist/esm/components/breadcrumb.js.map +1 -1
  64. package/dist/esm/components/button-group.js.map +1 -1
  65. package/dist/esm/components/button.js.map +1 -1
  66. package/dist/esm/components/card.js.map +1 -1
  67. package/dist/esm/components/checkbox.js.map +1 -1
  68. package/dist/esm/components/chip.js.map +1 -1
  69. package/dist/esm/components/code.js.map +1 -1
  70. package/dist/esm/components/combobox.js.map +1 -1
  71. package/dist/esm/components/cookie-consent.js.map +1 -1
  72. package/dist/esm/components/dialog.js.map +1 -1
  73. package/dist/esm/components/divider.js.map +1 -1
  74. package/dist/esm/components/dot.js.map +1 -1
  75. package/dist/esm/components/filter.js.map +1 -1
  76. package/dist/esm/components/footer.js.map +1 -1
  77. package/dist/esm/components/forms.js.map +1 -1
  78. package/dist/esm/components/header.js.map +1 -1
  79. package/dist/esm/components/icon.js.map +1 -1
  80. package/dist/esm/components/input.js.map +1 -1
  81. package/dist/esm/components/kbd.js.map +1 -1
  82. package/dist/esm/components/label.js.map +1 -1
  83. package/dist/esm/components/link.js.map +1 -1
  84. package/dist/esm/components/list.js.map +1 -1
  85. package/dist/esm/components/logo.js.map +1 -1
  86. package/dist/esm/components/menu-vertical.js.map +1 -1
  87. package/dist/esm/components/menubar.js.map +1 -1
  88. package/dist/esm/components/modal.js.map +1 -1
  89. package/dist/esm/components/pagination.js.map +1 -1
  90. package/dist/esm/components/popup-menu.js.map +1 -1
  91. package/dist/esm/components/progress-bar.js.map +1 -1
  92. package/dist/esm/components/progress-stepper.js.map +1 -1
  93. package/dist/esm/components/radio.js.map +1 -1
  94. package/dist/esm/components/search-field.js.map +1 -1
  95. package/dist/esm/components/select.js.map +1 -1
  96. package/dist/esm/components/snackbar.js.map +1 -1
  97. package/dist/esm/components/spinner.js.map +1 -1
  98. package/dist/esm/components/switch.js.map +1 -1
  99. package/dist/esm/components/table-autotable.js.map +1 -1
  100. package/dist/esm/components/table.js.map +1 -1
  101. package/dist/esm/components/tabs.js.map +1 -1
  102. package/dist/esm/components/tooltip.js.map +1 -1
  103. package/dist/esm/components/user-menu.js.map +1 -1
  104. package/dist/esm/data-plugin.js.map +1 -1
  105. package/dist/esm/index.js.map +1 -1
  106. package/dist/esm/plugin.js.map +1 -1
  107. package/dist/esm/preset.js.map +1 -1
  108. package/dist/esm/theme.js.map +1 -1
  109. package/dist/esm/units.js.map +1 -1
  110. package/dist/esm/with-opacity.js.map +1 -1
  111. package/dist/types/utils/src/assertion.d.ts +1 -0
  112. package/package.json +9 -14
  113. package/dist/types/aria-plugin.d.ts +0 -4
  114. package/dist/types/base.d.ts +0 -53
  115. package/dist/types/colors.d.ts +0 -643
  116. package/dist/types/components/accordion.d.ts +0 -164
  117. package/dist/types/components/alert.d.ts +0 -21
  118. package/dist/types/components/avatar.d.ts +0 -26
  119. package/dist/types/components/badge.d.ts +0 -21
  120. package/dist/types/components/breadcrumb.d.ts +0 -28
  121. package/dist/types/components/button-group.d.ts +0 -25
  122. package/dist/types/components/button.d.ts +0 -201
  123. package/dist/types/components/card.d.ts +0 -135
  124. package/dist/types/components/checkbox.d.ts +0 -108
  125. package/dist/types/components/chip.d.ts +0 -34
  126. package/dist/types/components/code.d.ts +0 -8
  127. package/dist/types/components/combobox.d.ts +0 -72
  128. package/dist/types/components/cookie-consent.d.ts +0 -35
  129. package/dist/types/components/dialog.d.ts +0 -5
  130. package/dist/types/components/divider.d.ts +0 -50
  131. package/dist/types/components/dot.d.ts +0 -43
  132. package/dist/types/components/filter.d.ts +0 -14
  133. package/dist/types/components/footer.d.ts +0 -27
  134. package/dist/types/components/forms.d.ts +0 -24
  135. package/dist/types/components/header.d.ts +0 -28
  136. package/dist/types/components/icon.d.ts +0 -38
  137. package/dist/types/components/input.d.ts +0 -214
  138. package/dist/types/components/kbd.d.ts +0 -7
  139. package/dist/types/components/label.d.ts +0 -27
  140. package/dist/types/components/link.d.ts +0 -43
  141. package/dist/types/components/list.d.ts +0 -52
  142. package/dist/types/components/logo.d.ts +0 -48
  143. package/dist/types/components/menu-vertical.d.ts +0 -215
  144. package/dist/types/components/menubar.d.ts +0 -35
  145. package/dist/types/components/modal.d.ts +0 -45
  146. package/dist/types/components/pagination.d.ts +0 -101
  147. package/dist/types/components/popup-menu.d.ts +0 -138
  148. package/dist/types/components/progress-bar.d.ts +0 -13
  149. package/dist/types/components/progress-stepper.d.ts +0 -60
  150. package/dist/types/components/radio.d.ts +0 -125
  151. package/dist/types/components/search-field.d.ts +0 -34
  152. package/dist/types/components/select.d.ts +0 -141
  153. package/dist/types/components/snackbar.d.ts +0 -30
  154. package/dist/types/components/spinner.d.ts +0 -10
  155. package/dist/types/components/switch.d.ts +0 -64
  156. package/dist/types/components/table-autotable.d.ts +0 -221
  157. package/dist/types/components/table.d.ts +0 -11
  158. package/dist/types/components/tabs.d.ts +0 -14
  159. package/dist/types/components/tooltip.d.ts +0 -53
  160. package/dist/types/components/user-menu.d.ts +0 -14
  161. package/dist/types/data-plugin.d.ts +0 -4
  162. package/dist/types/index.d.ts +0 -6
  163. package/dist/types/plugin.d.ts +0 -12
  164. package/dist/types/preset.d.ts +0 -18
  165. package/dist/types/theme.d.ts +0 -4
  166. package/dist/types/units.d.ts +0 -251
  167. package/dist/types/with-opacity.d.ts +0 -4
@@ -1,214 +0,0 @@
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
- '@apply focus-within:ring': {};
205
- '@apply focus-within:ring-ring': {};
206
- '@apply focus-within:ring-offset': {};
207
- '@apply focus-within:border-primitives-overlay-lighten-10': {};
208
- '@apply dark:focus-within:border-primitives-overlay-darken-6': {};
209
- '&:not(:invalid):not([aria-invalid="true"])': {
210
- '@apply focus:hover:border-primitives-overlay-lighten-10': {};
211
- '@apply dark:focus:hover:border-primitives-overlay-darken-6': {};
212
- };
213
- };
214
- };
@@ -1,7 +0,0 @@
1
- export declare const Kbd: () => {
2
- '.kbd': {
3
- '@apply inline-flex justify-center items-center capitalize text-xs p-1 rounded h-5 whitespace-nowrap font-sans': {};
4
- minWidth: string;
5
- '@apply bg-blackAlpha-100 text-body': {};
6
- };
7
- };
@@ -1,27 +0,0 @@
1
- export declare const Label: (colors: string[]) => {
2
- '.sk-label': {
3
- '&[data-color="tertiary"]': {
4
- '@apply bg-dark-primary': {};
5
- '@apply text-light-primary': {};
6
- '&[data-inverted="true"]': {
7
- '@apply bg-tertiary-surface': {};
8
- '@apply text-dark-primary': {};
9
- };
10
- };
11
- '@apply inline-flex flex-row': {};
12
- '@apply justify-center items-center': {};
13
- '@apply gap-6 px-10 py-4': {};
14
- '@apply h-24 max-h-24': {};
15
- '@apply text-label-small': {};
16
- '@apply rounded-utility-sm md:rounded-utility-md xl:rounded-utility-lg': {};
17
- '@apply bg-dark-primary': {};
18
- '@apply text-light-primary': {};
19
- '&[data-rounded="true"]': {
20
- '@apply rounded-full': {};
21
- };
22
- '&[data-inverted="true"]': {
23
- '@apply bg-tertiary-surface': {};
24
- '@apply text-dark-primary': {};
25
- };
26
- };
27
- };
@@ -1,43 +0,0 @@
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
- };
@@ -1,52 +0,0 @@
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
- };
@@ -1,48 +0,0 @@
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
- };
@@ -1,215 +0,0 @@
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
- };
@@ -1,35 +0,0 @@
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
- };