@sk-web-gui/core 3.10.0 → 3.11.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 (281) hide show
  1. package/dist/cjs/aria-plugin.js +101 -1
  2. package/dist/cjs/aria-plugin.js.map +1 -1
  3. package/dist/cjs/base.js +60 -1
  4. package/dist/cjs/base.js.map +1 -1
  5. package/dist/cjs/colors.js +724 -1
  6. package/dist/cjs/colors.js.map +1 -1
  7. package/dist/cjs/components/accordion.js +211 -1
  8. package/dist/cjs/components/accordion.js.map +1 -1
  9. package/dist/cjs/components/ai/ai-corner-module.js +344 -1
  10. package/dist/cjs/components/ai/ai-corner-module.js.map +1 -1
  11. package/dist/cjs/components/ai/ai-feed.js +74 -1
  12. package/dist/cjs/components/ai/ai-feed.js.map +1 -1
  13. package/dist/cjs/components/ai/ai-service-module.js +225 -1
  14. package/dist/cjs/components/ai/ai-service-module.js.map +1 -1
  15. package/dist/cjs/components/ai/assistant-presentation.js +65 -1
  16. package/dist/cjs/components/ai/assistant-presentation.js.map +1 -1
  17. package/dist/cjs/components/ai/assistant-switch.js +58 -1
  18. package/dist/cjs/components/ai/assistant-switch.js.map +1 -1
  19. package/dist/cjs/components/ai/bubble.js +127 -1
  20. package/dist/cjs/components/ai/bubble.js.map +1 -1
  21. package/dist/cjs/components/ai/feedback.js +40 -1
  22. package/dist/cjs/components/ai/feedback.js.map +1 -1
  23. package/dist/cjs/components/ai/input-section.js +34 -1
  24. package/dist/cjs/components/ai/input-section.js.map +1 -1
  25. package/dist/cjs/components/ai/markdown-rendered.js +33 -1
  26. package/dist/cjs/components/ai/markdown-rendered.js.map +1 -1
  27. package/dist/cjs/components/ai/new-session-button.js +29 -1
  28. package/dist/cjs/components/ai/new-session-button.js.map +1 -1
  29. package/dist/cjs/components/ai/typing-bubble.js +31 -1
  30. package/dist/cjs/components/ai/typing-bubble.js.map +1 -1
  31. package/dist/cjs/components/ai/typing-sequence.js +91 -1
  32. package/dist/cjs/components/ai/typing-sequence.js.map +1 -1
  33. package/dist/cjs/components/avatar.js +104 -1
  34. package/dist/cjs/components/avatar.js.map +1 -1
  35. package/dist/cjs/components/badge.js +93 -1
  36. package/dist/cjs/components/badge.js.map +1 -1
  37. package/dist/cjs/components/breadcrumb.js +49 -1
  38. package/dist/cjs/components/breadcrumb.js.map +1 -1
  39. package/dist/cjs/components/button-group.js +38 -1
  40. package/dist/cjs/components/button-group.js.map +1 -1
  41. package/dist/cjs/components/button.js +306 -1
  42. package/dist/cjs/components/button.js.map +1 -1
  43. package/dist/cjs/components/callout.js +96 -1
  44. package/dist/cjs/components/callout.js.map +1 -1
  45. package/dist/cjs/components/card.js +282 -1
  46. package/dist/cjs/components/card.js.map +1 -1
  47. package/dist/cjs/components/checkbox.js +141 -1
  48. package/dist/cjs/components/checkbox.js.map +1 -1
  49. package/dist/cjs/components/chip.js +50 -1
  50. package/dist/cjs/components/chip.js.map +1 -1
  51. package/dist/cjs/components/code.js +22 -1
  52. package/dist/cjs/components/code.js.map +1 -1
  53. package/dist/cjs/components/combobox.js +102 -1
  54. package/dist/cjs/components/combobox.js.map +1 -1
  55. package/dist/cjs/components/cookie-consent.js +54 -1
  56. package/dist/cjs/components/cookie-consent.js.map +1 -1
  57. package/dist/cjs/components/dialog.js +82 -1
  58. package/dist/cjs/components/dialog.js.map +1 -1
  59. package/dist/cjs/components/divider.js +63 -1
  60. package/dist/cjs/components/divider.js.map +1 -1
  61. package/dist/cjs/components/dot.js +115 -1
  62. package/dist/cjs/components/dot.js.map +1 -1
  63. package/dist/cjs/components/file-upload.js +230 -1
  64. package/dist/cjs/components/file-upload.js.map +1 -1
  65. package/dist/cjs/components/filter.js +27 -1
  66. package/dist/cjs/components/filter.js.map +1 -1
  67. package/dist/cjs/components/footer.js +44 -1
  68. package/dist/cjs/components/footer.js.map +1 -1
  69. package/dist/cjs/components/forms.js +37 -1
  70. package/dist/cjs/components/forms.js.map +1 -1
  71. package/dist/cjs/components/header.js +41 -1
  72. package/dist/cjs/components/header.js.map +1 -1
  73. package/dist/cjs/components/icon.js +117 -1
  74. package/dist/cjs/components/icon.js.map +1 -1
  75. package/dist/cjs/components/input.js +302 -1
  76. package/dist/cjs/components/input.js.map +1 -1
  77. package/dist/cjs/components/kbd.js +20 -1
  78. package/dist/cjs/components/kbd.js.map +1 -1
  79. package/dist/cjs/components/label.js +96 -1
  80. package/dist/cjs/components/label.js.map +1 -1
  81. package/dist/cjs/components/link.js +62 -1
  82. package/dist/cjs/components/link.js.map +1 -1
  83. package/dist/cjs/components/list.js +66 -1
  84. package/dist/cjs/components/list.js.map +1 -1
  85. package/dist/cjs/components/logo.js +61 -1
  86. package/dist/cjs/components/logo.js.map +1 -1
  87. package/dist/cjs/components/menu-vertical.js +256 -1
  88. package/dist/cjs/components/menu-vertical.js.map +1 -1
  89. package/dist/cjs/components/menubar.js +104 -1
  90. package/dist/cjs/components/menubar.js.map +1 -1
  91. package/dist/cjs/components/modal.js +61 -1
  92. package/dist/cjs/components/modal.js.map +1 -1
  93. package/dist/cjs/components/pagination.js +114 -1
  94. package/dist/cjs/components/pagination.js.map +1 -1
  95. package/dist/cjs/components/popup-menu.js +153 -1
  96. package/dist/cjs/components/popup-menu.js.map +1 -1
  97. package/dist/cjs/components/progress-bar.js +82 -1
  98. package/dist/cjs/components/progress-bar.js.map +1 -1
  99. package/dist/cjs/components/progress-stepper.js +83 -1
  100. package/dist/cjs/components/progress-stepper.js.map +1 -1
  101. package/dist/cjs/components/radio.js +143 -1
  102. package/dist/cjs/components/radio.js.map +1 -1
  103. package/dist/cjs/components/search-field.js +48 -1
  104. package/dist/cjs/components/search-field.js.map +1 -1
  105. package/dist/cjs/components/select.js +267 -1
  106. package/dist/cjs/components/select.js.map +1 -1
  107. package/dist/cjs/components/snackbar.js +43 -1
  108. package/dist/cjs/components/snackbar.js.map +1 -1
  109. package/dist/cjs/components/spinner.js +82 -1
  110. package/dist/cjs/components/spinner.js.map +1 -1
  111. package/dist/cjs/components/switch.js +93 -1
  112. package/dist/cjs/components/switch.js.map +1 -1
  113. package/dist/cjs/components/table.js +308 -1
  114. package/dist/cjs/components/table.js.map +1 -1
  115. package/dist/cjs/components/tabs.js +128 -1
  116. package/dist/cjs/components/tabs.js.map +1 -1
  117. package/dist/cjs/components/tooltip.js +71 -1
  118. package/dist/cjs/components/tooltip.js.map +1 -1
  119. package/dist/cjs/components/user-menu.js +27 -1
  120. package/dist/cjs/components/user-menu.js.map +1 -1
  121. package/dist/cjs/components.js +415 -1
  122. package/dist/cjs/components.js.map +1 -1
  123. package/dist/cjs/data-plugin.js +67 -1
  124. package/dist/cjs/data-plugin.js.map +1 -1
  125. package/dist/cjs/fonts.js +19 -1
  126. package/dist/cjs/fonts.js.map +1 -1
  127. package/dist/cjs/index.js +38 -1
  128. package/dist/cjs/index.js.map +1 -1
  129. package/dist/cjs/plugin.js +144 -1
  130. package/dist/cjs/plugin.js.map +1 -1
  131. package/dist/cjs/preset.js +164 -1
  132. package/dist/cjs/preset.js.map +1 -1
  133. package/dist/cjs/theme.js +209 -1
  134. package/dist/cjs/theme.js.map +1 -1
  135. package/dist/cjs/units.js +415 -1
  136. package/dist/cjs/units.js.map +1 -1
  137. package/dist/cjs/with-opacity.js +19 -1
  138. package/dist/cjs/with-opacity.js.map +1 -1
  139. package/dist/esm/aria-plugin.js +86 -1
  140. package/dist/esm/aria-plugin.js.map +1 -1
  141. package/dist/esm/base.js +51 -1
  142. package/dist/esm/base.js.map +1 -1
  143. package/dist/esm/colors.js +715 -1
  144. package/dist/esm/colors.js.map +1 -1
  145. package/dist/esm/components/accordion.js +201 -1
  146. package/dist/esm/components/accordion.js.map +1 -1
  147. package/dist/esm/components/ai/ai-corner-module.js +334 -1
  148. package/dist/esm/components/ai/ai-corner-module.js.map +1 -1
  149. package/dist/esm/components/ai/ai-feed.js +64 -1
  150. package/dist/esm/components/ai/ai-feed.js.map +1 -1
  151. package/dist/esm/components/ai/ai-service-module.js +215 -1
  152. package/dist/esm/components/ai/ai-service-module.js.map +1 -1
  153. package/dist/esm/components/ai/assistant-presentation.js +55 -1
  154. package/dist/esm/components/ai/assistant-presentation.js.map +1 -1
  155. package/dist/esm/components/ai/assistant-switch.js +48 -1
  156. package/dist/esm/components/ai/assistant-switch.js.map +1 -1
  157. package/dist/esm/components/ai/bubble.js +117 -1
  158. package/dist/esm/components/ai/bubble.js.map +1 -1
  159. package/dist/esm/components/ai/feedback.js +30 -1
  160. package/dist/esm/components/ai/feedback.js.map +1 -1
  161. package/dist/esm/components/ai/input-section.js +24 -1
  162. package/dist/esm/components/ai/input-section.js.map +1 -1
  163. package/dist/esm/components/ai/markdown-rendered.js +23 -1
  164. package/dist/esm/components/ai/markdown-rendered.js.map +1 -1
  165. package/dist/esm/components/ai/new-session-button.js +19 -1
  166. package/dist/esm/components/ai/new-session-button.js.map +1 -1
  167. package/dist/esm/components/ai/typing-bubble.js +21 -1
  168. package/dist/esm/components/ai/typing-bubble.js.map +1 -1
  169. package/dist/esm/components/ai/typing-sequence.js +81 -1
  170. package/dist/esm/components/ai/typing-sequence.js.map +1 -1
  171. package/dist/esm/components/avatar.js +94 -1
  172. package/dist/esm/components/avatar.js.map +1 -1
  173. package/dist/esm/components/badge.js +83 -1
  174. package/dist/esm/components/badge.js.map +1 -1
  175. package/dist/esm/components/breadcrumb.js +39 -1
  176. package/dist/esm/components/breadcrumb.js.map +1 -1
  177. package/dist/esm/components/button-group.js +28 -1
  178. package/dist/esm/components/button-group.js.map +1 -1
  179. package/dist/esm/components/button.js +296 -1
  180. package/dist/esm/components/button.js.map +1 -1
  181. package/dist/esm/components/callout.js +86 -1
  182. package/dist/esm/components/callout.js.map +1 -1
  183. package/dist/esm/components/card.js +272 -1
  184. package/dist/esm/components/card.js.map +1 -1
  185. package/dist/esm/components/checkbox.js +131 -1
  186. package/dist/esm/components/checkbox.js.map +1 -1
  187. package/dist/esm/components/chip.js +40 -1
  188. package/dist/esm/components/chip.js.map +1 -1
  189. package/dist/esm/components/code.js +12 -1
  190. package/dist/esm/components/code.js.map +1 -1
  191. package/dist/esm/components/combobox.js +92 -1
  192. package/dist/esm/components/combobox.js.map +1 -1
  193. package/dist/esm/components/cookie-consent.js +44 -1
  194. package/dist/esm/components/cookie-consent.js.map +1 -1
  195. package/dist/esm/components/dialog.js +72 -1
  196. package/dist/esm/components/dialog.js.map +1 -1
  197. package/dist/esm/components/divider.js +53 -1
  198. package/dist/esm/components/divider.js.map +1 -1
  199. package/dist/esm/components/dot.js +105 -1
  200. package/dist/esm/components/dot.js.map +1 -1
  201. package/dist/esm/components/file-upload.js +220 -1
  202. package/dist/esm/components/file-upload.js.map +1 -1
  203. package/dist/esm/components/filter.js +17 -1
  204. package/dist/esm/components/filter.js.map +1 -1
  205. package/dist/esm/components/footer.js +34 -1
  206. package/dist/esm/components/footer.js.map +1 -1
  207. package/dist/esm/components/forms.js +27 -1
  208. package/dist/esm/components/forms.js.map +1 -1
  209. package/dist/esm/components/header.js +31 -1
  210. package/dist/esm/components/header.js.map +1 -1
  211. package/dist/esm/components/icon.js +107 -1
  212. package/dist/esm/components/icon.js.map +1 -1
  213. package/dist/esm/components/input.js +292 -1
  214. package/dist/esm/components/input.js.map +1 -1
  215. package/dist/esm/components/kbd.js +10 -1
  216. package/dist/esm/components/kbd.js.map +1 -1
  217. package/dist/esm/components/label.js +86 -1
  218. package/dist/esm/components/label.js.map +1 -1
  219. package/dist/esm/components/link.js +52 -1
  220. package/dist/esm/components/link.js.map +1 -1
  221. package/dist/esm/components/list.js +56 -1
  222. package/dist/esm/components/list.js.map +1 -1
  223. package/dist/esm/components/logo.js +51 -1
  224. package/dist/esm/components/logo.js.map +1 -1
  225. package/dist/esm/components/menu-vertical.js +241 -1
  226. package/dist/esm/components/menu-vertical.js.map +1 -1
  227. package/dist/esm/components/menubar.js +94 -1
  228. package/dist/esm/components/menubar.js.map +1 -1
  229. package/dist/esm/components/modal.js +51 -1
  230. package/dist/esm/components/modal.js.map +1 -1
  231. package/dist/esm/components/pagination.js +104 -1
  232. package/dist/esm/components/pagination.js.map +1 -1
  233. package/dist/esm/components/popup-menu.js +143 -1
  234. package/dist/esm/components/popup-menu.js.map +1 -1
  235. package/dist/esm/components/progress-bar.js +72 -1
  236. package/dist/esm/components/progress-bar.js.map +1 -1
  237. package/dist/esm/components/progress-stepper.js +73 -1
  238. package/dist/esm/components/progress-stepper.js.map +1 -1
  239. package/dist/esm/components/radio.js +133 -1
  240. package/dist/esm/components/radio.js.map +1 -1
  241. package/dist/esm/components/search-field.js +38 -1
  242. package/dist/esm/components/search-field.js.map +1 -1
  243. package/dist/esm/components/select.js +257 -1
  244. package/dist/esm/components/select.js.map +1 -1
  245. package/dist/esm/components/snackbar.js +33 -1
  246. package/dist/esm/components/snackbar.js.map +1 -1
  247. package/dist/esm/components/spinner.js +72 -1
  248. package/dist/esm/components/spinner.js.map +1 -1
  249. package/dist/esm/components/switch.js +83 -1
  250. package/dist/esm/components/switch.js.map +1 -1
  251. package/dist/esm/components/table.js +298 -1
  252. package/dist/esm/components/table.js.map +1 -1
  253. package/dist/esm/components/tabs.js +118 -1
  254. package/dist/esm/components/tabs.js.map +1 -1
  255. package/dist/esm/components/tooltip.js +61 -1
  256. package/dist/esm/components/tooltip.js.map +1 -1
  257. package/dist/esm/components/user-menu.js +17 -1
  258. package/dist/esm/components/user-menu.js.map +1 -1
  259. package/dist/esm/components.js +407 -1
  260. package/dist/esm/components.js.map +1 -1
  261. package/dist/esm/data-plugin.js +52 -1
  262. package/dist/esm/data-plugin.js.map +1 -1
  263. package/dist/esm/fonts.js +9 -1
  264. package/dist/esm/fonts.js.map +1 -1
  265. package/dist/esm/index.js +7 -1
  266. package/dist/esm/index.js.map +1 -1
  267. package/dist/esm/plugin.js +121 -1
  268. package/dist/esm/plugin.js.map +1 -1
  269. package/dist/esm/preset.js +109 -1
  270. package/dist/esm/preset.js.map +1 -1
  271. package/dist/esm/theme.js +195 -1
  272. package/dist/esm/theme.js.map +1 -1
  273. package/dist/esm/units.js +406 -1
  274. package/dist/esm/units.js.map +1 -1
  275. package/dist/esm/with-opacity.js +9 -1
  276. package/dist/esm/with-opacity.js.map +1 -1
  277. package/dist/types/components/checkbox.d.ts +19 -3
  278. package/dist/types/components/input.d.ts +12 -0
  279. package/dist/types/components/radio.d.ts +8 -0
  280. package/dist/types/components/select.d.ts +7 -0
  281. package/package.json +10 -8
@@ -1,2 +1,84 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"ProgressStepper",{enumerable:true,get:function(){return ProgressStepper}});var ProgressStepper=function(){return{".sk-progress-stepper":{"@apply flex justify-between":{},hr:{"@apply w-full mt-19":{}},"&-step":{"@apply flex flex-col items-center":{},"@apply gap-4":{},"@apply w-auto":{},"@apply shrink-0":{},"@apply text-base leading-base text-dark-primary font-normal":{},svg:{"@apply w-20 h-20":{}},"&-wrapper":{"@apply flex flex-row shrink w-full gap-4":{},hr:{"@apply w-full grow shrink mt-19":{}}},"&:first-of-type":{".sk-divider:first-of-type":{"@apply invisible":{}}},"&:last-of-type":{".sk-divider:last-of-type":{"@apply invisible":{}}},"&-box":{"@apply box-border":{},"@apply shrink-0":{},"@apply h-40 w-40":{},"@apply bg-secondary-surface":{},"@apply flex justify-center items-center":{},"@apply text-label-medium":{},"@apply border-2 border-secondary-outline":{},"@apply text-dark-secondary":{},"@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg":{},'&[data-rounded="true"]':{"@apply rounded-full":{}},"&&-sm":{"@apply h-32 w-32 min-h-24 max-h-32 min-w-24 max-w-32":{},"@apply text-label-small":{}},"&&-md":{"@apply h-40 w-40 min-h-32 max-h-40 min-w-32 max-w-40":{}}},'&[data-progress="current"]':{"@apply font-bold":{},".sk-progress-stepper-step-box":{"@apply border-vattjom-surface-primary":{},"@apply bg-vattjom-surface-primary":{},"@apply text-vattjom-text-secondary":{}}},'&[data-progress="done"]':{".sk-progress-stepper-step-box":{"@apply border-success-surface-primary":{},"@apply bg-success-surface-primary":{},"@apply text-success-text-secondary":{}}}}}}};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "ProgressStepper", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return ProgressStepper;
9
+ }
10
+ });
11
+ var ProgressStepper = function() {
12
+ return {
13
+ '.sk-progress-stepper': {
14
+ '@apply flex justify-between': {},
15
+ hr: {
16
+ '@apply w-full mt-19': {}
17
+ },
18
+ '&-step': {
19
+ '@apply flex flex-col items-center': {},
20
+ '@apply gap-4': {},
21
+ '@apply w-auto': {},
22
+ '@apply shrink-0': {},
23
+ '@apply text-base leading-base text-dark-primary font-normal': {},
24
+ svg: {
25
+ '@apply w-20 h-20': {}
26
+ },
27
+ '&-wrapper': {
28
+ '@apply flex flex-row shrink w-full gap-4': {},
29
+ hr: {
30
+ '@apply w-full grow shrink mt-19': {}
31
+ }
32
+ },
33
+ '&:first-of-type': {
34
+ '.sk-divider:first-of-type': {
35
+ '@apply invisible': {}
36
+ }
37
+ },
38
+ '&:last-of-type': {
39
+ '.sk-divider:last-of-type': {
40
+ '@apply invisible': {}
41
+ }
42
+ },
43
+ '&-box': {
44
+ '@apply box-border': {},
45
+ '@apply shrink-0': {},
46
+ '@apply h-40 w-40': {},
47
+ '@apply bg-secondary-surface': {},
48
+ '@apply flex justify-center items-center': {},
49
+ '@apply text-label-medium': {},
50
+ '@apply border-2 border-secondary-outline': {},
51
+ '@apply text-dark-secondary': {},
52
+ '@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {},
53
+ '&[data-rounded="true"]': {
54
+ '@apply rounded-full': {}
55
+ },
56
+ '&&-sm': {
57
+ '@apply h-32 w-32 min-h-24 max-h-32 min-w-24 max-w-32': {},
58
+ '@apply text-label-small': {}
59
+ },
60
+ '&&-md': {
61
+ '@apply h-40 w-40 min-h-32 max-h-40 min-w-32 max-w-40': {}
62
+ }
63
+ },
64
+ '&[data-progress="current"]': {
65
+ '@apply font-bold': {},
66
+ '.sk-progress-stepper-step-box': {
67
+ '@apply border-vattjom-surface-primary': {},
68
+ '@apply bg-vattjom-surface-primary': {},
69
+ '@apply text-vattjom-text-secondary': {}
70
+ }
71
+ },
72
+ '&[data-progress="done"]': {
73
+ '.sk-progress-stepper-step-box': {
74
+ '@apply border-success-surface-primary': {},
75
+ '@apply bg-success-surface-primary': {},
76
+ '@apply text-success-text-secondary': {}
77
+ }
78
+ }
79
+ }
80
+ }
81
+ };
82
+ };
83
+
2
84
  //# sourceMappingURL=progress-stepper.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/progress-stepper.ts"],"sourcesContent":["export const ProgressStepper = () => ({\n '.sk-progress-stepper': {\n '@apply flex justify-between': {},\n hr: {\n '@apply w-full mt-19': {},\n },\n '&-step': {\n '@apply flex flex-col items-center': {},\n '@apply gap-4': {},\n '@apply w-auto': {},\n '@apply shrink-0': {},\n '@apply text-base leading-base text-dark-primary font-normal': {},\n svg: {\n '@apply w-20 h-20': {},\n },\n '&-wrapper': {\n '@apply flex flex-row shrink w-full gap-4': {},\n hr: {\n '@apply w-full grow shrink mt-19': {},\n },\n },\n '&:first-of-type': {\n '.sk-divider:first-of-type': {\n '@apply invisible': {},\n },\n },\n '&:last-of-type': {\n '.sk-divider:last-of-type': {\n '@apply invisible': {},\n },\n },\n '&-box': {\n '@apply box-border': {},\n '@apply shrink-0': {},\n '@apply h-40 w-40': {},\n '@apply bg-secondary-surface': {},\n '@apply flex justify-center items-center': {},\n '@apply text-label-medium': {},\n '@apply border-2 border-secondary-outline': {},\n '@apply text-dark-secondary': {},\n '@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {},\n '&[data-rounded=\"true\"]': {\n '@apply rounded-full': {},\n },\n\n '&&-sm': {\n '@apply h-32 w-32 min-h-24 max-h-32 min-w-24 max-w-32': {},\n '@apply text-label-small': {},\n },\n '&&-md': {\n '@apply h-40 w-40 min-h-32 max-h-40 min-w-32 max-w-40': {},\n },\n },\n '&[data-progress=\"current\"]': {\n '@apply font-bold': {},\n '.sk-progress-stepper-step-box': {\n '@apply border-vattjom-surface-primary': {},\n '@apply bg-vattjom-surface-primary': {},\n '@apply text-vattjom-text-secondary': {},\n },\n },\n '&[data-progress=\"done\"]': {\n '.sk-progress-stepper-step-box': {\n '@apply border-success-surface-primary': {},\n '@apply bg-success-surface-primary': {},\n '@apply text-success-text-secondary': {},\n },\n },\n },\n },\n});\n"],"names":["ProgressStepper","hr","svg"],"mappings":"oGAAaA,yDAAAA,mBAAN,IAAMA,gBAAkB,iBAAO,CACpC,uBAAwB,CACtB,8BAA+B,CAAC,EAChCC,GAAI,CACF,sBAAuB,CAAC,CAC1B,EACA,SAAU,CACR,oCAAqC,CAAC,EACtC,eAAgB,CAAC,EACjB,gBAAiB,CAAC,EAClB,kBAAmB,CAAC,EACpB,8DAA+D,CAAC,EAChEC,IAAK,CACH,mBAAoB,CAAC,CACvB,EACA,YAAa,CACX,2CAA4C,CAAC,EAC7CD,GAAI,CACF,kCAAmC,CAAC,CACtC,CACF,EACA,kBAAmB,CACjB,4BAA6B,CAC3B,mBAAoB,CAAC,CACvB,CACF,EACA,iBAAkB,CAChB,2BAA4B,CAC1B,mBAAoB,CAAC,CACvB,CACF,EACA,QAAS,CACP,oBAAqB,CAAC,EACtB,kBAAmB,CAAC,EACpB,mBAAoB,CAAC,EACrB,8BAA+B,CAAC,EAChC,0CAA2C,CAAC,EAC5C,2BAA4B,CAAC,EAC7B,2CAA4C,CAAC,EAC7C,6BAA8B,CAAC,EAC/B,qEAAsE,CAAC,EACvE,yBAA0B,CACxB,sBAAuB,CAAC,CAC1B,EAEA,QAAS,CACP,uDAAwD,CAAC,EACzD,0BAA2B,CAAC,CAC9B,EACA,QAAS,CACP,uDAAwD,CAAC,CAC3D,CACF,EACA,6BAA8B,CAC5B,mBAAoB,CAAC,EACrB,gCAAiC,CAC/B,wCAAyC,CAAC,EAC1C,oCAAqC,CAAC,EACtC,qCAAsC,CAAC,CACzC,CACF,EACA,0BAA2B,CACzB,gCAAiC,CAC/B,wCAAyC,CAAC,EAC1C,oCAAqC,CAAC,EACtC,qCAAsC,CAAC,CACzC,CACF,CACF,CACF,CACF"}
1
+ {"version":3,"sources":["../../../src/components/progress-stepper.ts"],"sourcesContent":["export const ProgressStepper = () => ({\n '.sk-progress-stepper': {\n '@apply flex justify-between': {},\n hr: {\n '@apply w-full mt-19': {},\n },\n '&-step': {\n '@apply flex flex-col items-center': {},\n '@apply gap-4': {},\n '@apply w-auto': {},\n '@apply shrink-0': {},\n '@apply text-base leading-base text-dark-primary font-normal': {},\n svg: {\n '@apply w-20 h-20': {},\n },\n '&-wrapper': {\n '@apply flex flex-row shrink w-full gap-4': {},\n hr: {\n '@apply w-full grow shrink mt-19': {},\n },\n },\n '&:first-of-type': {\n '.sk-divider:first-of-type': {\n '@apply invisible': {},\n },\n },\n '&:last-of-type': {\n '.sk-divider:last-of-type': {\n '@apply invisible': {},\n },\n },\n '&-box': {\n '@apply box-border': {},\n '@apply shrink-0': {},\n '@apply h-40 w-40': {},\n '@apply bg-secondary-surface': {},\n '@apply flex justify-center items-center': {},\n '@apply text-label-medium': {},\n '@apply border-2 border-secondary-outline': {},\n '@apply text-dark-secondary': {},\n '@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {},\n '&[data-rounded=\"true\"]': {\n '@apply rounded-full': {},\n },\n\n '&&-sm': {\n '@apply h-32 w-32 min-h-24 max-h-32 min-w-24 max-w-32': {},\n '@apply text-label-small': {},\n },\n '&&-md': {\n '@apply h-40 w-40 min-h-32 max-h-40 min-w-32 max-w-40': {},\n },\n },\n '&[data-progress=\"current\"]': {\n '@apply font-bold': {},\n '.sk-progress-stepper-step-box': {\n '@apply border-vattjom-surface-primary': {},\n '@apply bg-vattjom-surface-primary': {},\n '@apply text-vattjom-text-secondary': {},\n },\n },\n '&[data-progress=\"done\"]': {\n '.sk-progress-stepper-step-box': {\n '@apply border-success-surface-primary': {},\n '@apply bg-success-surface-primary': {},\n '@apply text-success-text-secondary': {},\n },\n },\n },\n },\n});\n"],"names":["ProgressStepper","hr","svg"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,IAAMA,kBAAkB;WAAO;QACpC,wBAAwB;YACtB,+BAA+B,CAAC;YAChCC,IAAI;gBACF,uBAAuB,CAAC;YAC1B;YACA,UAAU;gBACR,qCAAqC,CAAC;gBACtC,gBAAgB,CAAC;gBACjB,iBAAiB,CAAC;gBAClB,mBAAmB,CAAC;gBACpB,+DAA+D,CAAC;gBAChEC,KAAK;oBACH,oBAAoB,CAAC;gBACvB;gBACA,aAAa;oBACX,4CAA4C,CAAC;oBAC7CD,IAAI;wBACF,mCAAmC,CAAC;oBACtC;gBACF;gBACA,mBAAmB;oBACjB,6BAA6B;wBAC3B,oBAAoB,CAAC;oBACvB;gBACF;gBACA,kBAAkB;oBAChB,4BAA4B;wBAC1B,oBAAoB,CAAC;oBACvB;gBACF;gBACA,SAAS;oBACP,qBAAqB,CAAC;oBACtB,mBAAmB,CAAC;oBACpB,oBAAoB,CAAC;oBACrB,+BAA+B,CAAC;oBAChC,2CAA2C,CAAC;oBAC5C,4BAA4B,CAAC;oBAC7B,4CAA4C,CAAC;oBAC7C,8BAA8B,CAAC;oBAC/B,sEAAsE,CAAC;oBACvE,0BAA0B;wBACxB,uBAAuB,CAAC;oBAC1B;oBAEA,SAAS;wBACP,wDAAwD,CAAC;wBACzD,2BAA2B,CAAC;oBAC9B;oBACA,SAAS;wBACP,wDAAwD,CAAC;oBAC3D;gBACF;gBACA,8BAA8B;oBAC5B,oBAAoB,CAAC;oBACrB,iCAAiC;wBAC/B,yCAAyC,CAAC;wBAC1C,qCAAqC,CAAC;wBACtC,sCAAsC,CAAC;oBACzC;gBACF;gBACA,2BAA2B;oBACzB,iCAAiC;wBAC/B,yCAAyC,CAAC;wBAC1C,qCAAqC,CAAC;wBACtC,sCAAsC,CAAC;oBACzC;gBACF;YACF;QACF;IACF"}
@@ -1,2 +1,144 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Radio",{enumerable:true,get:function(){return Radio}});var Radio=function(){return{".sk-form-radio":{backgroundImage:"none","@apply relative":{},"@apply box-border":{},"@apply bg-input-field-surface":{},"@apply border-1":{},"@apply border-input-field-outline":{},"@apply m-0":{},"@apply h-24 w-24":{},'@apply hover:after:content-[""]':{},"@apply hover:border-input-field-outline-hover":{},"&::after":{"@apply absolute":{},"@apply rounded-full":{},"@apply bg-dark-placeholder":{},"@apply m-5":{},"@apply top-0 left-0 bottom-0 right-0":{}},"@apply focus-visible:ring":{},"@apply focus-visible:bg-background-content":{},"@apply focus-visible:border-background-content":{},"@apply focus-visible:hover:border-background-content":{},'&[aria-invalid="true"]':{"@apply border-2":{},"@apply border-error-surface-primary":{},"@apply hover:border-2":{},"@apply hover:border-error-surface-primary":{}},'&:checked, &[checked="true"]':{"@apply bg-input-field-surface":{},"@apply hover:bg-input-field-surface":{},"@apply focus:bg-input-field-surface":{},"@apply text-input-field-surface":{},"@apply border-input-field-outline":{},"@apply hover:text-input-field-surface":{},"@apply focus:text-input-field-surface":{},"@apply focus:border-input-field-outline":{},"@apply focus:hover:border-input-field-outline-hover":{},"@apply hover:border-input-field-outline-hover":{},"@apply focus:outline-0":{},"@apply focus:ring-0 focus:ring-offset-0":{},"@apply focus-visible:ring":{},"@apply focus-visible:hover:border-transparent":{},"@apply focus-visible:border-transparent":{},'@apply after:content-[""]':{},'&[aria-invalid="true"]':{"@apply border-2":{},"@apply border-error-surface-primary":{},"@apply hover:border-2":{},"@apply hover:border-error-surface-primary":{}},"&::after":{"@apply bg-dark-primary":{}}},"&:active":{"@apply ring-0 ring-offset-0":{}},'&:disabled, &[disabled="true"]':{"@apply border-input-field-outline-disabled":{},"@apply hover:border-input-field-outline-disabled":{},"@apply bg-input-field-surface-disabled":{},"@apply hover:bg-input-field-surface-disabled":{},"@apply cursor-not-allowed":{},'&:not(:checked):not([checked="true"]):after':{"@apply hidden":{}},'&:checked, &[checked="true"]':{"@apply border-input-field-outline-disabled":{},"&::after":{"@apply bg-dark-disabled":{}}}},"&-label":{"@apply inline-flex align-top items-center":{},"@apply font-normal":{},"@apply p-2":{},"&-sm":{"@apply text-small":{},"@apply h-28":{},"@apply gap-10":{}},"&-md":{"@apply text-base":{},"@apply h-28":{},"@apply gap-10":{}},"&-lg":{"@apply text-large":{},"@apply h-30":{},"@apply gap-12":{}},'&[data-disabled="true"]':{"@apply text-dark-disabled":{},"@apply cursor-default":{}}},"&-group":{"@apply flex flex-row":{},'&[data-direction="column"]':{"@apply flex-col":{}},"&-sm":{"@apply gap-12":{}},"&-md":{"@apply gap-16":{}},"&-lg":{"@apply gap-16":{}}}}}};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "Radio", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return Radio;
9
+ }
10
+ });
11
+ var Radio = function() {
12
+ return {
13
+ '.sk-form-radio': {
14
+ backgroundImage: 'none',
15
+ '@apply relative': {},
16
+ '@apply box-border': {},
17
+ '@apply bg-input-field-surface': {},
18
+ '@apply border-1': {},
19
+ '@apply border-input-field-outline': {},
20
+ '@apply m-0': {},
21
+ '@apply h-24 w-24': {},
22
+ //Hover
23
+ '@apply hover:after:content-[""]': {},
24
+ '@apply hover:border-input-field-outline-hover': {},
25
+ '&::after': {
26
+ '@apply absolute': {},
27
+ '@apply rounded-full': {},
28
+ '@apply bg-dark-placeholder': {},
29
+ '@apply m-5': {},
30
+ '@apply top-0 left-0 bottom-0 right-0': {}
31
+ },
32
+ //Focus
33
+ '@apply focus-visible:ring': {},
34
+ '@apply focus-visible:bg-background-content': {},
35
+ '@apply focus-visible:border-background-content': {},
36
+ '@apply focus-visible:hover:border-background-content': {},
37
+ //Invalid
38
+ '&[aria-invalid="true"]': {
39
+ '@apply border-2': {},
40
+ '@apply border-error-surface-primary': {},
41
+ '@apply hover:border-2': {},
42
+ '@apply hover:border-error-surface-primary': {}
43
+ },
44
+ //Checked
45
+ '&:checked, &[checked="true"]': {
46
+ '@apply bg-input-field-surface': {},
47
+ '@apply hover:bg-input-field-surface': {},
48
+ '@apply focus:bg-input-field-surface': {},
49
+ '@apply text-input-field-surface': {},
50
+ '@apply border-input-field-outline': {},
51
+ '@apply hover:text-input-field-surface': {},
52
+ '@apply focus:text-input-field-surface': {},
53
+ '@apply focus:border-input-field-outline': {},
54
+ '@apply focus:hover:border-input-field-outline-hover': {},
55
+ '@apply hover:border-input-field-outline-hover': {},
56
+ '@apply focus:outline-0': {},
57
+ '@apply focus:ring-0 focus:ring-offset-0': {},
58
+ '@apply focus-visible:ring': {},
59
+ '@apply focus-visible:hover:border-transparent': {},
60
+ '@apply focus-visible:border-transparent': {},
61
+ '@apply after:content-[""]': {},
62
+ '&[aria-invalid="true"]': {
63
+ '@apply border-2': {},
64
+ '@apply border-error-surface-primary': {},
65
+ '@apply hover:border-2': {},
66
+ '@apply hover:border-error-surface-primary': {}
67
+ },
68
+ '&::after': {
69
+ '@apply bg-dark-primary': {}
70
+ }
71
+ },
72
+ '&:active': {
73
+ '@apply ring-0 ring-offset-0': {}
74
+ },
75
+ //Disabled
76
+ '&:disabled, &[disabled="true"]': {
77
+ '@apply border-input-field-outline-disabled': {},
78
+ '@apply hover:border-input-field-outline-disabled': {},
79
+ '@apply bg-input-field-surface-disabled': {},
80
+ '@apply hover:bg-input-field-surface-disabled': {},
81
+ '@apply cursor-not-allowed': {},
82
+ '&:not(:checked):not([checked="true"]):after': {
83
+ '@apply hidden': {}
84
+ },
85
+ '&:checked, &[checked="true"]': {
86
+ '@apply border-input-field-outline-disabled': {},
87
+ '&::after': {
88
+ '@apply bg-dark-disabled': {}
89
+ }
90
+ }
91
+ },
92
+ //ReadOnly
93
+ '&[readonly], &[readonly="true"]': {
94
+ '@apply bg-input-field-surface-disabled': {},
95
+ '@apply border-input-field-outline-disabled': {},
96
+ '@apply hover:border-input-field-outline-disabled': {},
97
+ '&:not(:checked):not([checked="true"]):after': {
98
+ '@apply hidden': {}
99
+ }
100
+ },
101
+ '&-label': {
102
+ '@apply inline-flex align-top items-center': {},
103
+ '@apply font-normal': {},
104
+ '@apply p-2': {},
105
+ '&-sm': {
106
+ '@apply text-small': {},
107
+ '@apply h-28': {},
108
+ '@apply gap-10': {}
109
+ },
110
+ '&-md': {
111
+ '@apply text-base': {},
112
+ '@apply h-28': {},
113
+ '@apply gap-10': {}
114
+ },
115
+ '&-lg': {
116
+ '@apply text-large': {},
117
+ '@apply h-30': {},
118
+ '@apply gap-12': {}
119
+ },
120
+ '&[data-disabled="true"]': {
121
+ '@apply text-dark-disabled': {},
122
+ '@apply cursor-default': {}
123
+ }
124
+ },
125
+ '&-group': {
126
+ '@apply flex flex-row': {},
127
+ '&[data-direction="column"]': {
128
+ '@apply flex-col': {}
129
+ },
130
+ '&-sm': {
131
+ '@apply gap-12': {}
132
+ },
133
+ '&-md': {
134
+ '@apply gap-16': {}
135
+ },
136
+ '&-lg': {
137
+ '@apply gap-16': {}
138
+ }
139
+ }
140
+ }
141
+ };
142
+ };
143
+
2
144
  //# sourceMappingURL=radio.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/radio.ts"],"sourcesContent":["export const Radio = () => ({\r\n '.sk-form-radio': {\r\n backgroundImage: 'none',\r\n\r\n '@apply relative': {},\r\n '@apply box-border': {},\r\n '@apply bg-input-field-surface': {},\r\n '@apply border-1': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply m-0': {},\r\n '@apply h-24 w-24': {},\r\n\r\n //Hover\r\n '@apply hover:after:content-[\"\"]': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n '&::after': {\r\n '@apply absolute': {},\r\n '@apply rounded-full': {},\r\n '@apply bg-dark-placeholder': {},\r\n '@apply m-5': {},\r\n '@apply top-0 left-0 bottom-0 right-0': {},\r\n },\r\n\r\n //Focus\r\n '@apply focus-visible:ring': {},\r\n '@apply focus-visible:bg-background-content': {},\r\n '@apply focus-visible:border-background-content': {},\r\n '@apply focus-visible:hover:border-background-content': {},\r\n\r\n //Invalid\r\n '&[aria-invalid=\"true\"]': {\r\n '@apply border-2': {},\r\n '@apply border-error-surface-primary': {},\r\n '@apply hover:border-2': {},\r\n '@apply hover:border-error-surface-primary': {},\r\n },\r\n\r\n //Checked\r\n '&:checked, &[checked=\"true\"]': {\r\n '@apply bg-input-field-surface': {},\r\n '@apply hover:bg-input-field-surface': {},\r\n '@apply focus:bg-input-field-surface': {},\r\n '@apply text-input-field-surface': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply hover:text-input-field-surface': {},\r\n '@apply focus:text-input-field-surface': {},\r\n '@apply focus:border-input-field-outline': {},\r\n '@apply focus:hover:border-input-field-outline-hover': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n '@apply focus:outline-0': {},\r\n '@apply focus:ring-0 focus:ring-offset-0': {},\r\n '@apply focus-visible:ring': {},\r\n '@apply focus-visible:hover:border-transparent': {},\r\n '@apply focus-visible:border-transparent': {},\r\n '@apply after:content-[\"\"]': {},\r\n '&[aria-invalid=\"true\"]': {\r\n '@apply border-2': {},\r\n '@apply border-error-surface-primary': {},\r\n '@apply hover:border-2': {},\r\n '@apply hover:border-error-surface-primary': {},\r\n },\r\n '&::after': {\r\n '@apply bg-dark-primary': {},\r\n },\r\n },\r\n\r\n '&:active': {\r\n '@apply ring-0 ring-offset-0': {},\r\n },\r\n\r\n //Disabled\r\n '&:disabled, &[disabled=\"true\"]': {\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply hover:border-input-field-outline-disabled': {},\r\n '@apply bg-input-field-surface-disabled': {},\r\n '@apply hover:bg-input-field-surface-disabled': {},\r\n '@apply cursor-not-allowed': {},\r\n '&:not(:checked):not([checked=\"true\"]):after': {\r\n '@apply hidden': {},\r\n },\r\n '&:checked, &[checked=\"true\"]': {\r\n '@apply border-input-field-outline-disabled': {},\r\n '&::after': {\r\n '@apply bg-dark-disabled': {},\r\n },\r\n },\r\n },\r\n\r\n '&-label': {\r\n '@apply inline-flex align-top items-center': {},\r\n '@apply font-normal': {},\r\n '@apply p-2': {},\r\n '&-sm': {\r\n '@apply text-small': {},\r\n '@apply h-28': {},\r\n '@apply gap-10': {},\r\n },\r\n '&-md': {\r\n '@apply text-base': {},\r\n '@apply h-28': {},\r\n '@apply gap-10': {},\r\n },\r\n '&-lg': {\r\n '@apply text-large': {},\r\n '@apply h-30': {},\r\n '@apply gap-12': {},\r\n },\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-dark-disabled': {},\r\n '@apply cursor-default': {},\r\n },\r\n },\r\n '&-group': {\r\n '@apply flex flex-row': {},\r\n '&[data-direction=\"column\"]': {\r\n '@apply flex-col': {},\r\n },\r\n '&-sm': {\r\n '@apply gap-12': {},\r\n },\r\n '&-md': {\r\n '@apply gap-16': {},\r\n },\r\n '&-lg': {\r\n '@apply gap-16': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Radio","backgroundImage"],"mappings":"oGAAaA,+CAAAA,SAAN,IAAMA,MAAQ,iBAAO,CAC1B,iBAAkB,CAChBC,gBAAiB,OAEjB,kBAAmB,CAAC,EACpB,oBAAqB,CAAC,EACtB,gCAAiC,CAAC,EAClC,kBAAmB,CAAC,EACpB,oCAAqC,CAAC,EACtC,aAAc,CAAC,EACf,mBAAoB,CAAC,EAGrB,kCAAmC,CAAC,EACpC,gDAAiD,CAAC,EAClD,WAAY,CACV,kBAAmB,CAAC,EACpB,sBAAuB,CAAC,EACxB,6BAA8B,CAAC,EAC/B,aAAc,CAAC,EACf,uCAAwC,CAAC,CAC3C,EAGA,4BAA6B,CAAC,EAC9B,6CAA8C,CAAC,EAC/C,iDAAkD,CAAC,EACnD,uDAAwD,CAAC,EAGzD,yBAA0B,CACxB,kBAAmB,CAAC,EACpB,sCAAuC,CAAC,EACxC,wBAAyB,CAAC,EAC1B,4CAA6C,CAAC,CAChD,EAGA,+BAAgC,CAC9B,gCAAiC,CAAC,EAClC,sCAAuC,CAAC,EACxC,sCAAuC,CAAC,EACxC,kCAAmC,CAAC,EACpC,oCAAqC,CAAC,EACtC,wCAAyC,CAAC,EAC1C,wCAAyC,CAAC,EAC1C,0CAA2C,CAAC,EAC5C,sDAAuD,CAAC,EACxD,gDAAiD,CAAC,EAClD,yBAA0B,CAAC,EAC3B,0CAA2C,CAAC,EAC5C,4BAA6B,CAAC,EAC9B,gDAAiD,CAAC,EAClD,0CAA2C,CAAC,EAC5C,4BAA6B,CAAC,EAC9B,yBAA0B,CACxB,kBAAmB,CAAC,EACpB,sCAAuC,CAAC,EACxC,wBAAyB,CAAC,EAC1B,4CAA6C,CAAC,CAChD,EACA,WAAY,CACV,yBAA0B,CAAC,CAC7B,CACF,EAEA,WAAY,CACV,8BAA+B,CAAC,CAClC,EAGA,iCAAkC,CAChC,6CAA8C,CAAC,EAC/C,mDAAoD,CAAC,EACrD,yCAA0C,CAAC,EAC3C,+CAAgD,CAAC,EACjD,4BAA6B,CAAC,EAC9B,8CAA+C,CAC7C,gBAAiB,CAAC,CACpB,EACA,+BAAgC,CAC9B,6CAA8C,CAAC,EAC/C,WAAY,CACV,0BAA2B,CAAC,CAC9B,CACF,CACF,EAEA,UAAW,CACT,4CAA6C,CAAC,EAC9C,qBAAsB,CAAC,EACvB,aAAc,CAAC,EACf,OAAQ,CACN,oBAAqB,CAAC,EACtB,cAAe,CAAC,EAChB,gBAAiB,CAAC,CACpB,EACA,OAAQ,CACN,mBAAoB,CAAC,EACrB,cAAe,CAAC,EAChB,gBAAiB,CAAC,CACpB,EACA,OAAQ,CACN,oBAAqB,CAAC,EACtB,cAAe,CAAC,EAChB,gBAAiB,CAAC,CACpB,EACA,0BAA2B,CACzB,4BAA6B,CAAC,EAC9B,wBAAyB,CAAC,CAC5B,CACF,EACA,UAAW,CACT,uBAAwB,CAAC,EACzB,6BAA8B,CAC5B,kBAAmB,CAAC,CACtB,EACA,OAAQ,CACN,gBAAiB,CAAC,CACpB,EACA,OAAQ,CACN,gBAAiB,CAAC,CACpB,EACA,OAAQ,CACN,gBAAiB,CAAC,CACpB,CACF,CACF,CACF"}
1
+ {"version":3,"sources":["../../../src/components/radio.ts"],"sourcesContent":["export const Radio = () => ({\r\n '.sk-form-radio': {\r\n backgroundImage: 'none',\r\n\r\n '@apply relative': {},\r\n '@apply box-border': {},\r\n '@apply bg-input-field-surface': {},\r\n '@apply border-1': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply m-0': {},\r\n '@apply h-24 w-24': {},\r\n\r\n //Hover\r\n '@apply hover:after:content-[\"\"]': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n '&::after': {\r\n '@apply absolute': {},\r\n '@apply rounded-full': {},\r\n '@apply bg-dark-placeholder': {},\r\n '@apply m-5': {},\r\n '@apply top-0 left-0 bottom-0 right-0': {},\r\n },\r\n\r\n //Focus\r\n '@apply focus-visible:ring': {},\r\n '@apply focus-visible:bg-background-content': {},\r\n '@apply focus-visible:border-background-content': {},\r\n '@apply focus-visible:hover:border-background-content': {},\r\n\r\n //Invalid\r\n '&[aria-invalid=\"true\"]': {\r\n '@apply border-2': {},\r\n '@apply border-error-surface-primary': {},\r\n '@apply hover:border-2': {},\r\n '@apply hover:border-error-surface-primary': {},\r\n },\r\n\r\n //Checked\r\n '&:checked, &[checked=\"true\"]': {\r\n '@apply bg-input-field-surface': {},\r\n '@apply hover:bg-input-field-surface': {},\r\n '@apply focus:bg-input-field-surface': {},\r\n '@apply text-input-field-surface': {},\r\n '@apply border-input-field-outline': {},\r\n '@apply hover:text-input-field-surface': {},\r\n '@apply focus:text-input-field-surface': {},\r\n '@apply focus:border-input-field-outline': {},\r\n '@apply focus:hover:border-input-field-outline-hover': {},\r\n '@apply hover:border-input-field-outline-hover': {},\r\n '@apply focus:outline-0': {},\r\n '@apply focus:ring-0 focus:ring-offset-0': {},\r\n '@apply focus-visible:ring': {},\r\n '@apply focus-visible:hover:border-transparent': {},\r\n '@apply focus-visible:border-transparent': {},\r\n '@apply after:content-[\"\"]': {},\r\n '&[aria-invalid=\"true\"]': {\r\n '@apply border-2': {},\r\n '@apply border-error-surface-primary': {},\r\n '@apply hover:border-2': {},\r\n '@apply hover:border-error-surface-primary': {},\r\n },\r\n '&::after': {\r\n '@apply bg-dark-primary': {},\r\n },\r\n },\r\n\r\n '&:active': {\r\n '@apply ring-0 ring-offset-0': {},\r\n },\r\n\r\n //Disabled\r\n '&:disabled, &[disabled=\"true\"]': {\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply hover:border-input-field-outline-disabled': {},\r\n '@apply bg-input-field-surface-disabled': {},\r\n '@apply hover:bg-input-field-surface-disabled': {},\r\n '@apply cursor-not-allowed': {},\r\n '&:not(:checked):not([checked=\"true\"]):after': {\r\n '@apply hidden': {},\r\n },\r\n '&:checked, &[checked=\"true\"]': {\r\n '@apply border-input-field-outline-disabled': {},\r\n '&::after': {\r\n '@apply bg-dark-disabled': {},\r\n },\r\n },\r\n },\r\n\r\n //ReadOnly\r\n '&[readonly], &[readonly=\"true\"]': {\r\n '@apply bg-input-field-surface-disabled': {},\r\n '@apply border-input-field-outline-disabled': {},\r\n '@apply hover:border-input-field-outline-disabled': {},\r\n '&:not(:checked):not([checked=\"true\"]):after': {\r\n '@apply hidden': {},\r\n },\r\n },\r\n\r\n '&-label': {\r\n '@apply inline-flex align-top items-center': {},\r\n '@apply font-normal': {},\r\n '@apply p-2': {},\r\n '&-sm': {\r\n '@apply text-small': {},\r\n '@apply h-28': {},\r\n '@apply gap-10': {},\r\n },\r\n '&-md': {\r\n '@apply text-base': {},\r\n '@apply h-28': {},\r\n '@apply gap-10': {},\r\n },\r\n '&-lg': {\r\n '@apply text-large': {},\r\n '@apply h-30': {},\r\n '@apply gap-12': {},\r\n },\r\n '&[data-disabled=\"true\"]': {\r\n '@apply text-dark-disabled': {},\r\n '@apply cursor-default': {},\r\n },\r\n },\r\n '&-group': {\r\n '@apply flex flex-row': {},\r\n '&[data-direction=\"column\"]': {\r\n '@apply flex-col': {},\r\n },\r\n '&-sm': {\r\n '@apply gap-12': {},\r\n },\r\n '&-md': {\r\n '@apply gap-16': {},\r\n },\r\n '&-lg': {\r\n '@apply gap-16': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Radio","backgroundImage"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,IAAMA,QAAQ;WAAO;QAC1B,kBAAkB;YAChBC,iBAAiB;YAEjB,mBAAmB,CAAC;YACpB,qBAAqB,CAAC;YACtB,iCAAiC,CAAC;YAClC,mBAAmB,CAAC;YACpB,qCAAqC,CAAC;YACtC,cAAc,CAAC;YACf,oBAAoB,CAAC;YAErB,OAAO;YACP,mCAAmC,CAAC;YACpC,iDAAiD,CAAC;YAClD,YAAY;gBACV,mBAAmB,CAAC;gBACpB,uBAAuB,CAAC;gBACxB,8BAA8B,CAAC;gBAC/B,cAAc,CAAC;gBACf,wCAAwC,CAAC;YAC3C;YAEA,OAAO;YACP,6BAA6B,CAAC;YAC9B,8CAA8C,CAAC;YAC/C,kDAAkD,CAAC;YACnD,wDAAwD,CAAC;YAEzD,SAAS;YACT,0BAA0B;gBACxB,mBAAmB,CAAC;gBACpB,uCAAuC,CAAC;gBACxC,yBAAyB,CAAC;gBAC1B,6CAA6C,CAAC;YAChD;YAEA,SAAS;YACT,gCAAgC;gBAC9B,iCAAiC,CAAC;gBAClC,uCAAuC,CAAC;gBACxC,uCAAuC,CAAC;gBACxC,mCAAmC,CAAC;gBACpC,qCAAqC,CAAC;gBACtC,yCAAyC,CAAC;gBAC1C,yCAAyC,CAAC;gBAC1C,2CAA2C,CAAC;gBAC5C,uDAAuD,CAAC;gBACxD,iDAAiD,CAAC;gBAClD,0BAA0B,CAAC;gBAC3B,2CAA2C,CAAC;gBAC5C,6BAA6B,CAAC;gBAC9B,iDAAiD,CAAC;gBAClD,2CAA2C,CAAC;gBAC5C,6BAA6B,CAAC;gBAC9B,0BAA0B;oBACxB,mBAAmB,CAAC;oBACpB,uCAAuC,CAAC;oBACxC,yBAAyB,CAAC;oBAC1B,6CAA6C,CAAC;gBAChD;gBACA,YAAY;oBACV,0BAA0B,CAAC;gBAC7B;YACF;YAEA,YAAY;gBACV,+BAA+B,CAAC;YAClC;YAEA,UAAU;YACV,kCAAkC;gBAChC,8CAA8C,CAAC;gBAC/C,oDAAoD,CAAC;gBACrD,0CAA0C,CAAC;gBAC3C,gDAAgD,CAAC;gBACjD,6BAA6B,CAAC;gBAC9B,+CAA+C;oBAC7C,iBAAiB,CAAC;gBACpB;gBACA,gCAAgC;oBAC9B,8CAA8C,CAAC;oBAC/C,YAAY;wBACV,2BAA2B,CAAC;oBAC9B;gBACF;YACF;YAEA,UAAU;YACV,mCAAmC;gBACjC,0CAA0C,CAAC;gBAC3C,8CAA8C,CAAC;gBAC/C,oDAAoD,CAAC;gBACrD,+CAA+C;oBAC7C,iBAAiB,CAAC;gBACpB;YACF;YAEA,WAAW;gBACT,6CAA6C,CAAC;gBAC9C,sBAAsB,CAAC;gBACvB,cAAc,CAAC;gBACf,QAAQ;oBACN,qBAAqB,CAAC;oBACtB,eAAe,CAAC;oBAChB,iBAAiB,CAAC;gBACpB;gBACA,QAAQ;oBACN,oBAAoB,CAAC;oBACrB,eAAe,CAAC;oBAChB,iBAAiB,CAAC;gBACpB;gBACA,QAAQ;oBACN,qBAAqB,CAAC;oBACtB,eAAe,CAAC;oBAChB,iBAAiB,CAAC;gBACpB;gBACA,2BAA2B;oBACzB,6BAA6B,CAAC;oBAC9B,yBAAyB,CAAC;gBAC5B;YACF;YACA,WAAW;gBACT,wBAAwB,CAAC;gBACzB,8BAA8B;oBAC5B,mBAAmB,CAAC;gBACtB;gBACA,QAAQ;oBACN,iBAAiB,CAAC;gBACpB;gBACA,QAAQ;oBACN,iBAAiB,CAAC;gBACpB;gBACA,QAAQ;oBACN,iBAAiB,CAAC;gBACpB;YACF;QACF;IACF"}
@@ -1,2 +1,49 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"SearchField",{enumerable:true,get:function(){return SearchField}});var SearchField=function(){return{".sk-search-field-suggestions":{"&.sk-form-combobox":{"@apply h-auto":{}},".sk-form-combobox":{"&-list":{"@apply w-full":{},"&-option":{".sk-icon":{"@apply hidden":{}}}}}},".sk-search-field":{"&-md":{".sk-search-field-icon":{"@apply w-20 h-20":{},svg:{"@apply w-20 h-20":{}}}},"&-lg":{".sk-search-field-icon":{"@apply w-22 h-22":{},svg:{"@apply w-22 h-22":{}}}}}}};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "SearchField", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return SearchField;
9
+ }
10
+ });
11
+ var SearchField = function() {
12
+ return {
13
+ '.sk-search-field-suggestions': {
14
+ '&.sk-form-combobox': {
15
+ '@apply h-auto': {}
16
+ },
17
+ '.sk-form-combobox': {
18
+ '&-list': {
19
+ '@apply w-full': {},
20
+ '&-option': {
21
+ '.sk-icon': {
22
+ '@apply hidden': {}
23
+ }
24
+ }
25
+ }
26
+ }
27
+ },
28
+ '.sk-search-field': {
29
+ '&-md': {
30
+ '.sk-search-field-icon': {
31
+ '@apply w-20 h-20': {},
32
+ svg: {
33
+ '@apply w-20 h-20': {}
34
+ }
35
+ }
36
+ },
37
+ '&-lg': {
38
+ '.sk-search-field-icon': {
39
+ '@apply w-22 h-22': {},
40
+ svg: {
41
+ '@apply w-22 h-22': {}
42
+ }
43
+ }
44
+ }
45
+ }
46
+ };
47
+ };
48
+
2
49
  //# sourceMappingURL=search-field.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/search-field.ts"],"sourcesContent":["export const SearchField = () => ({\n '.sk-search-field-suggestions': {\n '&.sk-form-combobox': {\n '@apply h-auto': {},\n },\n '.sk-form-combobox': {\n '&-list': {\n '@apply w-full': {},\n '&-option': {\n '.sk-icon': {\n '@apply hidden': {},\n },\n },\n },\n },\n },\n '.sk-search-field': {\n '&-md': {\n '.sk-search-field-icon': {\n '@apply w-20 h-20': {},\n svg: {\n '@apply w-20 h-20': {},\n },\n },\n },\n '&-lg': {\n '.sk-search-field-icon': {\n '@apply w-22 h-22': {},\n svg: {\n '@apply w-22 h-22': {},\n },\n },\n },\n },\n});\n"],"names":["SearchField","svg"],"mappings":"oGAAaA,qDAAAA,eAAN,IAAMA,YAAc,iBAAO,CAChC,+BAAgC,CAC9B,qBAAsB,CACpB,gBAAiB,CAAC,CACpB,EACA,oBAAqB,CACnB,SAAU,CACR,gBAAiB,CAAC,EAClB,WAAY,CACV,WAAY,CACV,gBAAiB,CAAC,CACpB,CACF,CACF,CACF,CACF,EACA,mBAAoB,CAClB,OAAQ,CACN,wBAAyB,CACvB,mBAAoB,CAAC,EACrBC,IAAK,CACH,mBAAoB,CAAC,CACvB,CACF,CACF,EACA,OAAQ,CACN,wBAAyB,CACvB,mBAAoB,CAAC,EACrBA,IAAK,CACH,mBAAoB,CAAC,CACvB,CACF,CACF,CACF,CACF"}
1
+ {"version":3,"sources":["../../../src/components/search-field.ts"],"sourcesContent":["export const SearchField = () => ({\n '.sk-search-field-suggestions': {\n '&.sk-form-combobox': {\n '@apply h-auto': {},\n },\n '.sk-form-combobox': {\n '&-list': {\n '@apply w-full': {},\n '&-option': {\n '.sk-icon': {\n '@apply hidden': {},\n },\n },\n },\n },\n },\n '.sk-search-field': {\n '&-md': {\n '.sk-search-field-icon': {\n '@apply w-20 h-20': {},\n svg: {\n '@apply w-20 h-20': {},\n },\n },\n },\n '&-lg': {\n '.sk-search-field-icon': {\n '@apply w-22 h-22': {},\n svg: {\n '@apply w-22 h-22': {},\n },\n },\n },\n },\n});\n"],"names":["SearchField","svg"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,IAAMA,cAAc;WAAO;QAChC,gCAAgC;YAC9B,sBAAsB;gBACpB,iBAAiB,CAAC;YACpB;YACA,qBAAqB;gBACnB,UAAU;oBACR,iBAAiB,CAAC;oBAClB,YAAY;wBACV,YAAY;4BACV,iBAAiB,CAAC;wBACpB;oBACF;gBACF;YACF;QACF;QACA,oBAAoB;YAClB,QAAQ;gBACN,yBAAyB;oBACvB,oBAAoB,CAAC;oBACrBC,KAAK;wBACH,oBAAoB,CAAC;oBACvB;gBACF;YACF;YACA,QAAQ;gBACN,yBAAyB;oBACvB,oBAAoB,CAAC;oBACrBA,KAAK;wBACH,oBAAoB,CAAC;oBACvB;gBACF;YACF;QACF;IACF"}
@@ -1,2 +1,268 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Select",{enumerable:true,get:function(){return Select}});function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==="function"){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))}ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})}keys.push.apply(keys,symbols)}return keys}function _object_spread_props(target,source){source=source!=null?source:{};if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source))}else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function chevronDown(color){return"<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='".concat(color,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6' /></svg>")}function tertiary(){return{"&-tertiary":{"@apply border-2":{},"@apply bg-tertiary-surface":{},"@apply hover:bg-tertiary-surface-hover":{},"@apply border-transparent":{},"&.sk-form-select-sm":{"@apply pl-12":{},"@apply bg-right-8":{},"@apply pr-32":{}},"&.sk-form-select-md":{"@apply pl-16":{},"@apply bg-right-12":{},"@apply pr-42":{}},"&.sk-form-select-lg":{"@apply pl-18":{},"@apply bg-right-16":{},"@apply pr-48":{}},'&[aria-disabled="true"]':{"@apply bg-tertiary-surface-disabled":{}}}}}function primary(){return{"&-primary":{"@apply border-1":{},"@apply border-input-field-outline":{},"@apply hover:border-input-field-outline-hover":{},"@apply bg-input-field-surface":{},"@apply hover:bg-input-field-surface":{},"&.sk-form-select-sm":{"@apply pl-13":{},"@apply bg-[center_right_0.643em]":{},"@apply pr-34-1":{},'&[aria-invalid="true"]':{"@apply pl-12":{},"@apply bg-right-8":{},"@apply pr-32":{}}},"&.sk-form-select-md":{"@apply pl-17":{},"@apply bg-[center_right_0.8125em]":{},"@apply pr-44-1":{},'&[aria-invalid="true"]':{"@apply pl-16":{},"@apply bg-right-12":{},"@apply pr-42":{}}},"&.sk-form-select-lg":{"@apply pl-19":{},"@apply bg-[center_right_0.944em]":{},"@apply pr-50-1":{},'&[aria-invalid="true"]':{"@apply pl-18":{},"@apply bg-right-16":{},"@apply pr-48":{}}},'&[aria-disabled="true"],&:disabled':{"@apply bg-input-field-surface-disabled":{},"@apply hover:bg-input-field-surface-disabled":{},"@apply border-input-field-outline-disabled":{},"@apply hover:border-input-field-outline-disabled":{}}}}}var Select=function(){return{".sk-form-select":_object_spread_props(_object_spread({"@apply h-fit":{},"@apply w-fit":{},"@apply box-border":{},"@apply focus:border-transparent":{},"@apply rounded-button":{},"@apply text-dark-secondary":{},"@apply placeholder:text-dark-secondary":{},"@apply hover:placeholder:text-dark-primary":{},"@apply focus:placeholder:text-dark-primary":{},"@apply hover:text-dark-primary":{},"@apply focus:text-dark-primary":{},"@apply py-6":{},"@apply focus:ring focus:ring-ring focus:ring-offset":{},"@apply focus:outline-0":{},backgroundImage:['url("data:image/svg+xml;utf-8,'.concat(chevronDown("rgb(68,68,80)"),'")')],"&:hover, &:focus":{backgroundImage:['url("data:image/svg+xml;utf-8,'.concat(chevronDown("rgb(28,28,40)"),'")')]},'&[aria-invalid="true"]':{"@apply border-2 border-error-surface-primary":{}},'&[aria-disabled="true"]':{"@apply opacity-100":{},"@apply text-dark-disabled":{},"@apply placeholder:text-dark-disabled":{},"@apply bg-tertiary-surface-disabled":{},backgroundImage:['url("data:image/svg+xml;utf-8,'.concat(chevronDown("rgba(28,28,40, 0.5)"),'")')]}},tertiary(),primary()),{"*":{"@apply bg-background-content":{}},"&-sm":{"@apply h-32":{},"@apply text-label-small":{},"@apply rounded-button-sm":{},"*":{"@apply text-input-small":{}}},"&-md":{"@apply h-40":{},"@apply text-label-medium":{},"@apply rounded-button-md":{},"*":{"@apply text-input-medium":{}}},"&-lg":{"@apply h-48":{},"@apply text-label-large":{},"@apply rounded-button-lg":{},"*":{"@apply text-input-large":{}}}}),".dark .sk-form-select":{backgroundImage:['url("data:image/svg+xml;utf-8,'.concat(chevronDown("rgb(229,229,229)"),'")')],"&:hover, &:focus":{backgroundImage:['url("data:image/svg+xml;utf-8,'.concat(chevronDown("rgb(255,255,255)"),'")')]},'&[aria-disabled="true"]':{backgroundImage:['url("data:image/svg+xml;utf-8,'.concat(chevronDown("rgba(255,255,255, 0.64)"),'")')]}}}};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "Select", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return Select;
9
+ }
10
+ });
11
+ function _define_property(obj, key, value) {
12
+ if (key in obj) {
13
+ Object.defineProperty(obj, key, {
14
+ value: value,
15
+ enumerable: true,
16
+ configurable: true,
17
+ writable: true
18
+ });
19
+ } else {
20
+ obj[key] = value;
21
+ }
22
+ return obj;
23
+ }
24
+ function _object_spread(target) {
25
+ for(var i = 1; i < arguments.length; i++){
26
+ var source = arguments[i] != null ? arguments[i] : {};
27
+ var ownKeys = Object.keys(source);
28
+ if (typeof Object.getOwnPropertySymbols === "function") {
29
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
30
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
31
+ }));
32
+ }
33
+ ownKeys.forEach(function(key) {
34
+ _define_property(target, key, source[key]);
35
+ });
36
+ }
37
+ return target;
38
+ }
39
+ function ownKeys(object, enumerableOnly) {
40
+ var keys = Object.keys(object);
41
+ if (Object.getOwnPropertySymbols) {
42
+ var symbols = Object.getOwnPropertySymbols(object);
43
+ if (enumerableOnly) {
44
+ symbols = symbols.filter(function(sym) {
45
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
46
+ });
47
+ }
48
+ keys.push.apply(keys, symbols);
49
+ }
50
+ return keys;
51
+ }
52
+ function _object_spread_props(target, source) {
53
+ source = source != null ? source : {};
54
+ if (Object.getOwnPropertyDescriptors) {
55
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
56
+ } else {
57
+ ownKeys(Object(source)).forEach(function(key) {
58
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
59
+ });
60
+ }
61
+ return target;
62
+ }
63
+ function chevronDown(color) {
64
+ //TODO: This wont work with CSS variables. The colors are set here and wont work with themes
65
+ return "<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='".concat(color, "' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6' /></svg>");
66
+ }
67
+ function tertiary() {
68
+ return {
69
+ '&-tertiary': {
70
+ '@apply border-2': {},
71
+ '@apply bg-tertiary-surface': {},
72
+ '@apply hover:bg-tertiary-surface-hover': {},
73
+ '@apply border-transparent': {},
74
+ '&.sk-form-select-sm': {
75
+ //Padding - border width
76
+ '@apply pl-12': {},
77
+ //Background position - border width
78
+ '@apply bg-right-8': {},
79
+ //Padding + icon width - border width
80
+ '@apply pr-32': {}
81
+ },
82
+ '&.sk-form-select-md': {
83
+ //Padding - border width
84
+ '@apply pl-16': {},
85
+ //Background position - border width
86
+ '@apply bg-right-12': {},
87
+ //Padding + icon width - border width
88
+ '@apply pr-42': {}
89
+ },
90
+ '&.sk-form-select-lg': {
91
+ //Padding - border width
92
+ '@apply pl-18': {},
93
+ //Background position - border width
94
+ '@apply bg-right-16': {},
95
+ //Padding + icon width - border width
96
+ '@apply pr-48': {}
97
+ },
98
+ //Disabled
99
+ '&[aria-disabled="true"]': {
100
+ '@apply bg-tertiary-surface-disabled': {}
101
+ }
102
+ }
103
+ };
104
+ }
105
+ function primary() {
106
+ return {
107
+ '&-primary': {
108
+ '@apply border-1': {},
109
+ '@apply border-input-field-outline': {},
110
+ '@apply hover:border-input-field-outline-hover': {},
111
+ '@apply bg-input-field-surface': {},
112
+ '@apply hover:bg-input-field-surface': {},
113
+ '&.sk-form-select-sm': {
114
+ //Padding - border width
115
+ '@apply pl-13': {},
116
+ //Background position - border width
117
+ '@apply bg-[center_right_0.643em]': {},
118
+ //Padding + icon width - border width
119
+ '@apply pr-34-1': {},
120
+ '&[aria-invalid="true"]': {
121
+ //Padding - border width
122
+ '@apply pl-12': {},
123
+ //Background position - border width
124
+ '@apply bg-right-8': {},
125
+ //Padding + icon width - border width
126
+ '@apply pr-32': {}
127
+ }
128
+ },
129
+ '&.sk-form-select-md': {
130
+ //Padding - border width
131
+ '@apply pl-17': {},
132
+ //Background position - border width
133
+ '@apply bg-[center_right_0.8125em]': {},
134
+ //Padding + icon width - border width
135
+ '@apply pr-44-1': {},
136
+ '&[aria-invalid="true"]': {
137
+ //Padding - border width
138
+ '@apply pl-16': {},
139
+ //Background position - border width
140
+ '@apply bg-right-12': {},
141
+ //Padding + icon width - border width
142
+ '@apply pr-42': {}
143
+ }
144
+ },
145
+ '&.sk-form-select-lg': {
146
+ //Padding - border width
147
+ '@apply pl-19': {},
148
+ //Background position - border width
149
+ '@apply bg-[center_right_0.944em]': {},
150
+ //Padding + icon width - border width
151
+ '@apply pr-50-1': {},
152
+ '&[aria-invalid="true"]': {
153
+ //Padding - border width
154
+ '@apply pl-18': {},
155
+ //Background position - border width
156
+ '@apply bg-right-16': {},
157
+ //Padding + icon width - border width
158
+ '@apply pr-48': {}
159
+ }
160
+ },
161
+ //Disabled
162
+ '&[aria-disabled="true"],&:disabled': {
163
+ '@apply bg-input-field-surface-disabled': {},
164
+ '@apply hover:bg-input-field-surface-disabled': {},
165
+ '@apply border-input-field-outline-disabled': {},
166
+ '@apply hover:border-input-field-outline-disabled': {}
167
+ }
168
+ }
169
+ };
170
+ }
171
+ var Select = function() {
172
+ return {
173
+ '.sk-form-select': _object_spread_props(_object_spread({
174
+ '@apply h-fit': {},
175
+ '@apply w-fit': {},
176
+ '@apply box-border': {},
177
+ '@apply focus:border-transparent': {},
178
+ '@apply rounded-button': {},
179
+ '@apply text-dark-secondary': {},
180
+ '@apply placeholder:text-dark-secondary': {},
181
+ '@apply hover:placeholder:text-dark-primary': {},
182
+ '@apply focus:placeholder:text-dark-primary': {},
183
+ '@apply hover:text-dark-primary': {},
184
+ '@apply focus:text-dark-primary': {},
185
+ '@apply py-6': {},
186
+ '@apply focus:ring focus:ring-ring focus:ring-offset': {},
187
+ '@apply focus:outline-0': {},
188
+ backgroundImage: [
189
+ 'url("data:image/svg+xml;utf-8,'.concat(chevronDown('rgb(68,68,80)'), '")')
190
+ ],
191
+ '&:hover, &:focus': {
192
+ backgroundImage: [
193
+ 'url("data:image/svg+xml;utf-8,'.concat(chevronDown('rgb(28,28,40)'), '")')
194
+ ]
195
+ },
196
+ //Invalid
197
+ '&[aria-invalid="true"]': {
198
+ '@apply border-2 border-error-surface-primary': {}
199
+ },
200
+ //Disabled
201
+ '&[aria-disabled="true"]': {
202
+ '@apply opacity-100': {},
203
+ '@apply text-dark-disabled': {},
204
+ '@apply placeholder:text-dark-disabled': {},
205
+ '@apply bg-tertiary-surface-disabled': {},
206
+ backgroundImage: [
207
+ 'url("data:image/svg+xml;utf-8,'.concat(chevronDown('rgba(28,28,40, 0.64)'), '")')
208
+ ]
209
+ }
210
+ }, tertiary(), primary()), {
211
+ //Droprown
212
+ '*': {
213
+ '@apply bg-background-content': {}
214
+ },
215
+ //readOnly
216
+ '&[readonly], &[readonly="true"]': {
217
+ '@apply border-input-field-outline-disabled': {},
218
+ '@apply bg-input-field-surface-disabled': {},
219
+ '@apply text-dark-secondary': {},
220
+ '@apply pointer-events-none': {},
221
+ backgroundImage: [
222
+ 'url("data:image/svg+xml;utf-8,'.concat(chevronDown('rgba(28,28,40, 0.64)'), '")')
223
+ ]
224
+ },
225
+ '&-sm': {
226
+ '@apply h-32': {},
227
+ '@apply text-label-small': {},
228
+ '@apply rounded-button-sm': {},
229
+ '*': {
230
+ '@apply text-input-small': {}
231
+ }
232
+ },
233
+ '&-md': {
234
+ '@apply h-40': {},
235
+ '@apply text-label-medium': {},
236
+ '@apply rounded-button-md': {},
237
+ '*': {
238
+ '@apply text-input-medium': {}
239
+ }
240
+ },
241
+ '&-lg': {
242
+ '@apply h-48': {},
243
+ '@apply text-label-large': {},
244
+ '@apply rounded-button-lg': {},
245
+ '*': {
246
+ '@apply text-input-large': {}
247
+ }
248
+ }
249
+ }),
250
+ '.dark .sk-form-select': {
251
+ backgroundImage: [
252
+ 'url("data:image/svg+xml;utf-8,'.concat(chevronDown('rgb(229,229,229)'), '")')
253
+ ],
254
+ '&:hover, &:focus': {
255
+ backgroundImage: [
256
+ 'url("data:image/svg+xml;utf-8,'.concat(chevronDown('rgb(255,255,255)'), '")')
257
+ ]
258
+ },
259
+ '&[aria-disabled="true"]': {
260
+ backgroundImage: [
261
+ 'url("data:image/svg+xml;utf-8,'.concat(chevronDown('rgba(255,255,255, 0.64)'), '")')
262
+ ]
263
+ }
264
+ }
265
+ };
266
+ };
267
+
2
268
  //# sourceMappingURL=select.js.map