@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,105 @@
1
- export var Pagination=function(){return{".sk-pagination":{"@apply select-none":{},"@apply text-base":{},"&-list":{"@apply flex justify-between items-center":{},'.sk-pagination[data-hideprevnextlabel="true"] &':{"@apply w-fit":{}},li:{"@apply min-w-40 text-center":{}},"li:first-child":{"@apply text-left":{}},"li:last-child":{"@apply text-right":{}}},".form-select-wrapper":{"@apply w-fit":{}},"&-pageLabel":{"@apply leading-base cursor-pointer underline text-vattjom-surface-primary":{},"@apply focus-visible:ring ring-ring ring-offset":{},"@apply rounded-full":{},"@apply h-32 w-32":{},"&[aria-current='true']":{"@apply font-bold no-underline text-dark-primary":{}}},"&-prevNextButton":{"@apply text-dark-secondary":{},"&.sk-btn":{"@apply bg-transparent text-dark-secondary font-normal":{},'&.sk-btn-disabled:disabled, .sk-btn[aria-disabled="true"]:disabled':{"@apply bg-transparent !important":{},"@apply text-dark-disabled hover:text-dark-disabled":{},".sk-icon":{"@apply text-dark-disabled hover:text-dark-disabled":{}}},".sk-icon":{"@apply bg-transparent text-dark-secondary":{}},"&:hover":{"@apply text-dark-primary":{},"@apply bg-tertiary-surface-hover":{},".sk-icon":{"@apply text-dark-primary":{}}}},"&[disabled]":{"@apply cursor-default":{}},"&[disabled='false']":{".sk-pagination-prevNextButton-label, .sk-pagination-prevNextButton-icon":{"@apply cursor-pointer":{}}},"&-label":{"@apply hidden sm:inline ml-sm leading-none":{}},"&-icon":{"@apply m-1 leading-none flex items-center":{}}},"&-ellipsis":{"@apply inline-block w-16 text-center":{}},"&.fit-content":{"@apply w-full max-w-full":{},".sk-pagination-list":{"@apply w-full flex justify-center":{},"@apply gap-0 md:gap-24":{},"&-item":{"@apply px-0 grow-0 text-center":{},"&.ellipsis":{"@apply flex-shrink grow-0":{}},"&.prev-next":{"@apply flex-shrink":{},"&.prev":{"@apply text-left":{}},"&.next":{"@apply text-right":{}}},".sk-pagination-pageLabel":{"@apply mx-xs":{}}}},".form-select-wrapper":{"@apply w-full":{}}}}}};
1
+ export var Pagination = function() {
2
+ return {
3
+ '.sk-pagination': {
4
+ '@apply select-none': {},
5
+ '@apply text-base': {},
6
+ '&-list': {
7
+ '@apply flex justify-between items-center': {},
8
+ '.sk-pagination[data-hideprevnextlabel="true"] &': {
9
+ '@apply w-fit': {}
10
+ },
11
+ li: {
12
+ '@apply min-w-40 text-center': {}
13
+ },
14
+ 'li:first-child': {
15
+ '@apply text-left': {}
16
+ },
17
+ 'li:last-child': {
18
+ '@apply text-right': {}
19
+ }
20
+ },
21
+ '.form-select-wrapper': {
22
+ '@apply w-fit': {}
23
+ },
24
+ '&-pageLabel': {
25
+ '@apply leading-base cursor-pointer underline text-vattjom-surface-primary': {},
26
+ '@apply focus-visible:ring ring-ring ring-offset': {},
27
+ '@apply rounded-full': {},
28
+ '@apply h-32 w-32': {},
29
+ "&[aria-current='true']": {
30
+ '@apply font-bold no-underline text-dark-primary': {}
31
+ }
32
+ },
33
+ '&-prevNextButton': {
34
+ '@apply text-dark-secondary': {},
35
+ '&.sk-btn': {
36
+ '@apply bg-transparent text-dark-secondary font-normal': {},
37
+ '&.sk-btn-disabled:disabled, .sk-btn[aria-disabled="true"]:disabled': {
38
+ '@apply bg-transparent !important': {},
39
+ '@apply text-dark-disabled hover:text-dark-disabled': {},
40
+ '.sk-icon': {
41
+ '@apply text-dark-disabled hover:text-dark-disabled': {}
42
+ }
43
+ },
44
+ '.sk-icon': {
45
+ '@apply bg-transparent text-dark-secondary': {}
46
+ },
47
+ '&:hover': {
48
+ '@apply text-dark-primary': {},
49
+ '@apply bg-tertiary-surface-hover': {},
50
+ '.sk-icon': {
51
+ '@apply text-dark-primary': {}
52
+ }
53
+ }
54
+ },
55
+ '&[disabled]': {
56
+ '@apply cursor-default': {}
57
+ },
58
+ "&[disabled='false']": {
59
+ '.sk-pagination-prevNextButton-label, .sk-pagination-prevNextButton-icon': {
60
+ '@apply cursor-pointer': {}
61
+ }
62
+ },
63
+ '&-label': {
64
+ '@apply hidden sm:inline ml-sm leading-none': {}
65
+ },
66
+ '&-icon': {
67
+ '@apply m-1 leading-none flex items-center': {}
68
+ }
69
+ },
70
+ '&-ellipsis': {
71
+ '@apply inline-block w-16 text-center': {}
72
+ },
73
+ '&.fit-content': {
74
+ '@apply w-full max-w-full': {},
75
+ '.sk-pagination-list': {
76
+ '@apply w-full flex justify-center': {},
77
+ '@apply gap-0 md:gap-24': {},
78
+ '&-item': {
79
+ '@apply px-0 grow-0 text-center': {},
80
+ '&.ellipsis': {
81
+ '@apply flex-shrink grow-0': {}
82
+ },
83
+ '&.prev-next': {
84
+ '@apply flex-shrink': {},
85
+ '&.prev': {
86
+ '@apply text-left': {}
87
+ },
88
+ '&.next': {
89
+ '@apply text-right': {}
90
+ }
91
+ },
92
+ '.sk-pagination-pageLabel': {
93
+ '@apply mx-xs': {}
94
+ }
95
+ }
96
+ },
97
+ '.form-select-wrapper': {
98
+ '@apply w-full': {}
99
+ }
100
+ }
101
+ }
102
+ };
103
+ };
104
+
2
105
  //# sourceMappingURL=pagination.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/pagination.ts"],"sourcesContent":["export const Pagination = () => ({\r\n '.sk-pagination': {\r\n '@apply select-none': {},\r\n '@apply text-base': {},\r\n\r\n '&-list': {\r\n '@apply flex justify-between items-center': {},\r\n\r\n '.sk-pagination[data-hideprevnextlabel=\"true\"] &': {\r\n '@apply w-fit': {},\r\n },\r\n\r\n li: {\r\n '@apply min-w-40 text-center': {},\r\n },\r\n\r\n 'li:first-child': {\r\n '@apply text-left': {},\r\n },\r\n\r\n 'li:last-child': {\r\n '@apply text-right': {},\r\n },\r\n },\r\n '.form-select-wrapper': {\r\n '@apply w-fit': {},\r\n },\r\n '&-pageLabel': {\r\n '@apply leading-base cursor-pointer underline text-vattjom-surface-primary': {},\r\n '@apply focus-visible:ring ring-ring ring-offset': {},\r\n '@apply rounded-full': {},\r\n '@apply h-32 w-32': {},\r\n \"&[aria-current='true']\": {\r\n '@apply font-bold no-underline text-dark-primary': {},\r\n },\r\n },\r\n\r\n '&-prevNextButton': {\r\n '@apply text-dark-secondary': {},\r\n\r\n '&.sk-btn': {\r\n '@apply bg-transparent text-dark-secondary font-normal': {},\r\n\r\n '&.sk-btn-disabled:disabled, .sk-btn[aria-disabled=\"true\"]:disabled': {\r\n '@apply bg-transparent !important': {},\r\n '@apply text-dark-disabled hover:text-dark-disabled': {},\r\n '.sk-icon': {\r\n '@apply text-dark-disabled hover:text-dark-disabled': {},\r\n },\r\n },\r\n\r\n '.sk-icon': {\r\n '@apply bg-transparent text-dark-secondary': {},\r\n },\r\n\r\n '&:hover': {\r\n '@apply text-dark-primary': {},\r\n '@apply bg-tertiary-surface-hover': {},\r\n\r\n '.sk-icon': {\r\n '@apply text-dark-primary': {},\r\n },\r\n },\r\n },\r\n\r\n '&[disabled]': {\r\n '@apply cursor-default': {},\r\n },\r\n\r\n \"&[disabled='false']\": {\r\n '.sk-pagination-prevNextButton-label, .sk-pagination-prevNextButton-icon': {\r\n '@apply cursor-pointer': {},\r\n },\r\n },\r\n\r\n '&-label': {\r\n '@apply hidden sm:inline ml-sm leading-none': {},\r\n },\r\n\r\n '&-icon': {\r\n '@apply m-1 leading-none flex items-center': {},\r\n },\r\n },\r\n\r\n '&-ellipsis': {\r\n '@apply inline-block w-16 text-center': {},\r\n },\r\n '&.fit-content': {\r\n '@apply w-full max-w-full': {},\r\n '.sk-pagination-list': {\r\n '@apply w-full flex justify-center': {},\r\n '@apply gap-0 md:gap-24': {},\r\n '&-item': {\r\n '@apply px-0 grow-0 text-center': {},\r\n '&.ellipsis': {\r\n '@apply flex-shrink grow-0': {},\r\n },\r\n '&.prev-next': {\r\n '@apply flex-shrink': {},\r\n '&.prev': {\r\n '@apply text-left': {},\r\n },\r\n '&.next': {\r\n '@apply text-right': {},\r\n },\r\n },\r\n '.sk-pagination-pageLabel': {\r\n '@apply mx-xs': {},\r\n },\r\n },\r\n },\r\n '.form-select-wrapper': {\r\n '@apply w-full': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Pagination","li"],"mappings":"AAAA,OAAO,IAAMA,WAAa,iBAAO,CAC/B,iBAAkB,CAChB,qBAAsB,CAAC,EACvB,mBAAoB,CAAC,EAErB,SAAU,CACR,2CAA4C,CAAC,EAE7C,kDAAmD,CACjD,eAAgB,CAAC,CACnB,EAEAC,GAAI,CACF,8BAA+B,CAAC,CAClC,EAEA,iBAAkB,CAChB,mBAAoB,CAAC,CACvB,EAEA,gBAAiB,CACf,oBAAqB,CAAC,CACxB,CACF,EACA,uBAAwB,CACtB,eAAgB,CAAC,CACnB,EACA,cAAe,CACb,4EAA6E,CAAC,EAC9E,kDAAmD,CAAC,EACpD,sBAAuB,CAAC,EACxB,mBAAoB,CAAC,EACrB,yBAA0B,CACxB,kDAAmD,CAAC,CACtD,CACF,EAEA,mBAAoB,CAClB,6BAA8B,CAAC,EAE/B,WAAY,CACV,wDAAyD,CAAC,EAE1D,qEAAsE,CACpE,mCAAoC,CAAC,EACrC,qDAAsD,CAAC,EACvD,WAAY,CACV,qDAAsD,CAAC,CACzD,CACF,EAEA,WAAY,CACV,4CAA6C,CAAC,CAChD,EAEA,UAAW,CACT,2BAA4B,CAAC,EAC7B,mCAAoC,CAAC,EAErC,WAAY,CACV,2BAA4B,CAAC,CAC/B,CACF,CACF,EAEA,cAAe,CACb,wBAAyB,CAAC,CAC5B,EAEA,sBAAuB,CACrB,0EAA2E,CACzE,wBAAyB,CAAC,CAC5B,CACF,EAEA,UAAW,CACT,6CAA8C,CAAC,CACjD,EAEA,SAAU,CACR,4CAA6C,CAAC,CAChD,CACF,EAEA,aAAc,CACZ,uCAAwC,CAAC,CAC3C,EACA,gBAAiB,CACf,2BAA4B,CAAC,EAC7B,sBAAuB,CACrB,oCAAqC,CAAC,EACtC,yBAA0B,CAAC,EAC3B,SAAU,CACR,iCAAkC,CAAC,EACnC,aAAc,CACZ,4BAA6B,CAAC,CAChC,EACA,cAAe,CACb,qBAAsB,CAAC,EACvB,SAAU,CACR,mBAAoB,CAAC,CACvB,EACA,SAAU,CACR,oBAAqB,CAAC,CACxB,CACF,EACA,2BAA4B,CAC1B,eAAgB,CAAC,CACnB,CACF,CACF,EACA,uBAAwB,CACtB,gBAAiB,CAAC,CACpB,CACF,CACF,CACF,EAAG"}
1
+ {"version":3,"sources":["../../../src/components/pagination.ts"],"sourcesContent":["export const Pagination = () => ({\r\n '.sk-pagination': {\r\n '@apply select-none': {},\r\n '@apply text-base': {},\r\n\r\n '&-list': {\r\n '@apply flex justify-between items-center': {},\r\n\r\n '.sk-pagination[data-hideprevnextlabel=\"true\"] &': {\r\n '@apply w-fit': {},\r\n },\r\n\r\n li: {\r\n '@apply min-w-40 text-center': {},\r\n },\r\n\r\n 'li:first-child': {\r\n '@apply text-left': {},\r\n },\r\n\r\n 'li:last-child': {\r\n '@apply text-right': {},\r\n },\r\n },\r\n '.form-select-wrapper': {\r\n '@apply w-fit': {},\r\n },\r\n '&-pageLabel': {\r\n '@apply leading-base cursor-pointer underline text-vattjom-surface-primary': {},\r\n '@apply focus-visible:ring ring-ring ring-offset': {},\r\n '@apply rounded-full': {},\r\n '@apply h-32 w-32': {},\r\n \"&[aria-current='true']\": {\r\n '@apply font-bold no-underline text-dark-primary': {},\r\n },\r\n },\r\n\r\n '&-prevNextButton': {\r\n '@apply text-dark-secondary': {},\r\n\r\n '&.sk-btn': {\r\n '@apply bg-transparent text-dark-secondary font-normal': {},\r\n\r\n '&.sk-btn-disabled:disabled, .sk-btn[aria-disabled=\"true\"]:disabled': {\r\n '@apply bg-transparent !important': {},\r\n '@apply text-dark-disabled hover:text-dark-disabled': {},\r\n '.sk-icon': {\r\n '@apply text-dark-disabled hover:text-dark-disabled': {},\r\n },\r\n },\r\n\r\n '.sk-icon': {\r\n '@apply bg-transparent text-dark-secondary': {},\r\n },\r\n\r\n '&:hover': {\r\n '@apply text-dark-primary': {},\r\n '@apply bg-tertiary-surface-hover': {},\r\n\r\n '.sk-icon': {\r\n '@apply text-dark-primary': {},\r\n },\r\n },\r\n },\r\n\r\n '&[disabled]': {\r\n '@apply cursor-default': {},\r\n },\r\n\r\n \"&[disabled='false']\": {\r\n '.sk-pagination-prevNextButton-label, .sk-pagination-prevNextButton-icon': {\r\n '@apply cursor-pointer': {},\r\n },\r\n },\r\n\r\n '&-label': {\r\n '@apply hidden sm:inline ml-sm leading-none': {},\r\n },\r\n\r\n '&-icon': {\r\n '@apply m-1 leading-none flex items-center': {},\r\n },\r\n },\r\n\r\n '&-ellipsis': {\r\n '@apply inline-block w-16 text-center': {},\r\n },\r\n '&.fit-content': {\r\n '@apply w-full max-w-full': {},\r\n '.sk-pagination-list': {\r\n '@apply w-full flex justify-center': {},\r\n '@apply gap-0 md:gap-24': {},\r\n '&-item': {\r\n '@apply px-0 grow-0 text-center': {},\r\n '&.ellipsis': {\r\n '@apply flex-shrink grow-0': {},\r\n },\r\n '&.prev-next': {\r\n '@apply flex-shrink': {},\r\n '&.prev': {\r\n '@apply text-left': {},\r\n },\r\n '&.next': {\r\n '@apply text-right': {},\r\n },\r\n },\r\n '.sk-pagination-pageLabel': {\r\n '@apply mx-xs': {},\r\n },\r\n },\r\n },\r\n '.form-select-wrapper': {\r\n '@apply w-full': {},\r\n },\r\n },\r\n },\r\n});\r\n"],"names":["Pagination","li"],"mappings":"AAAA,OAAO,IAAMA,aAAa;WAAO;QAC/B,kBAAkB;YAChB,sBAAsB,CAAC;YACvB,oBAAoB,CAAC;YAErB,UAAU;gBACR,4CAA4C,CAAC;gBAE7C,mDAAmD;oBACjD,gBAAgB,CAAC;gBACnB;gBAEAC,IAAI;oBACF,+BAA+B,CAAC;gBAClC;gBAEA,kBAAkB;oBAChB,oBAAoB,CAAC;gBACvB;gBAEA,iBAAiB;oBACf,qBAAqB,CAAC;gBACxB;YACF;YACA,wBAAwB;gBACtB,gBAAgB,CAAC;YACnB;YACA,eAAe;gBACb,6EAA6E,CAAC;gBAC9E,mDAAmD,CAAC;gBACpD,uBAAuB,CAAC;gBACxB,oBAAoB,CAAC;gBACrB,0BAA0B;oBACxB,mDAAmD,CAAC;gBACtD;YACF;YAEA,oBAAoB;gBAClB,8BAA8B,CAAC;gBAE/B,YAAY;oBACV,yDAAyD,CAAC;oBAE1D,sEAAsE;wBACpE,oCAAoC,CAAC;wBACrC,sDAAsD,CAAC;wBACvD,YAAY;4BACV,sDAAsD,CAAC;wBACzD;oBACF;oBAEA,YAAY;wBACV,6CAA6C,CAAC;oBAChD;oBAEA,WAAW;wBACT,4BAA4B,CAAC;wBAC7B,oCAAoC,CAAC;wBAErC,YAAY;4BACV,4BAA4B,CAAC;wBAC/B;oBACF;gBACF;gBAEA,eAAe;oBACb,yBAAyB,CAAC;gBAC5B;gBAEA,uBAAuB;oBACrB,2EAA2E;wBACzE,yBAAyB,CAAC;oBAC5B;gBACF;gBAEA,WAAW;oBACT,8CAA8C,CAAC;gBACjD;gBAEA,UAAU;oBACR,6CAA6C,CAAC;gBAChD;YACF;YAEA,cAAc;gBACZ,wCAAwC,CAAC;YAC3C;YACA,iBAAiB;gBACf,4BAA4B,CAAC;gBAC7B,uBAAuB;oBACrB,qCAAqC,CAAC;oBACtC,0BAA0B,CAAC;oBAC3B,UAAU;wBACR,kCAAkC,CAAC;wBACnC,cAAc;4BACZ,6BAA6B,CAAC;wBAChC;wBACA,eAAe;4BACb,sBAAsB,CAAC;4BACvB,UAAU;gCACR,oBAAoB,CAAC;4BACvB;4BACA,UAAU;gCACR,qBAAqB,CAAC;4BACxB;wBACF;wBACA,4BAA4B;4BAC1B,gBAAgB,CAAC;wBACnB;oBACF;gBACF;gBACA,wBAAwB;oBACtB,iBAAiB,CAAC;gBACpB;YACF;QACF;IACF;EAAG"}
@@ -1,2 +1,144 @@
1
- export var PopupMenu=function(){return{".sk-popup-menu":{"@apply hidden":{},'&[data-open="true"]':{"@apply flex":{}},'&[data-position="left"]':{"@apply mt-0 mr-8 right-full":{},'&[data-align="end"]':{"@apply bottom-0":{}},'&[data-align="start"]':{"@apply top-0":{}}},'&[data-position="right"]':{"@apply mt-0 ml-8 left-full":{},'&[data-align="end"]':{"@apply bottom-0":{}},'&[data-align="start"]':{"@apply top-0":{}}},'&[data-position="over"]':{"@apply mt-0 mb-8 bottom-full":{},'&[data-align="end"]':{"@apply right-0":{}},'&[data-align="start"]':{"@apply left-0":{}}},'&[data-position="under"]':{'&[data-align="end"]':{"@apply right-0":{}},'&[data-align="start"]':{"@apply left-0":{}}},"> *":{"@apply max-w-full w-full":{}},"@apply absolute flex-col justify-start items-start mt-8":{},"@apply w-max":{},"@apply rounded-utility":{},"@apply bg-background-100":{},"@apply z-10":{},"@apply p-8 gap-4":{},"@apply shadow-100":{},"@apply border-0":{},"@apply focus-within:border-0":{},"@apply focus:outline-0 focus-visible:outline-0 focus-visible:ring":{},".sk-form-checkbox-label-left .sk-icon":{"@apply right-8":{}},".sk-form-checkbox-label-right .sk-icon":{"@apply left-8":{}},".sk-popup-menu-item":{"@apply list-none":{},"@apply w-full":{},"@apply h-40":{},"@apply min-h-40":{},"@apply bg-transparent hover:bg-menu-item-surface-hover":{},"@apply cursor-pointer":{},"@apply flex flex-row shrink-0":{},"@apply pl-8 pr-8 py-4 gap-12":{},"@apply ring-offset-0":{},"@apply focus-visible:ring ring-ring":{},"@apply rounded-utility":{},"@apply text-body font-normal":{},"> *":{"@apply max-w-full":{}},"&:focus-visible, &:focus-within":{"@apply bg-menu-item-surface-hover":{}},svg:{"@apply w-20 h-20":{}},"@apply justify-start":{},"@apply border-0":{},"@apply items-center":{},"@apply no-underline":{},"&-submenu":{"&-wrapper":{"@apply relative":{}}}},"&-group":{"@apply w-full flex flex-col border-b-1 border-divider pb-4 pt-4 gap-4":{},"&:first-child":{"@apply pt-0":{}},"&:last-child":{"@apply border-0 pb-0":{}}},"&-items":{"@apply w-full":{},"@apply rounded-utility":{},"@apply focus-within:ring ring-ring":{},".sk-popup-menu-item":{"@apply focus-visible:ring-0 ring-transparent ring-offset-0":{},"> *":{"@apply focus-visible:ring-0 ring-transparent ring-offset-0":{}}},"&:focus-within":{".sk-popup-menu-item.active":{"@apply bg-menu-item-surface-hover":{}}}},"&-sm":{"@apply p-8 gap-6":{},".sk-popup-menu-item":{"@apply h-32":{},"@apply min-h-32":{},"@apply gap-10 pl-8 pr-8 py-4":{},"@apply text-small":{},"&-group":{"@apply gap-6 pb-6":{},"> *":{"@apply gap-10 pl-8 pr-8 py-4":{}}},svg:{"@apply w-18 h-18":{}}}},"&.right":{"@apply right-0":{}}}}};
1
+ export var PopupMenu = function() {
2
+ return {
3
+ '.sk-popup-menu': {
4
+ '@apply hidden': {},
5
+ '&[data-open="true"]': {
6
+ '@apply flex': {}
7
+ },
8
+ '&[data-position="left"]': {
9
+ '@apply mt-0 mr-8 right-full': {},
10
+ '&[data-align="end"]': {
11
+ '@apply bottom-0': {}
12
+ },
13
+ '&[data-align="start"]': {
14
+ '@apply top-0': {}
15
+ }
16
+ },
17
+ '&[data-position="right"]': {
18
+ '@apply mt-0 ml-8 left-full': {},
19
+ '&[data-align="end"]': {
20
+ '@apply bottom-0': {}
21
+ },
22
+ '&[data-align="start"]': {
23
+ '@apply top-0': {}
24
+ }
25
+ },
26
+ '&[data-position="over"]': {
27
+ '@apply mt-0 mb-8 bottom-full': {},
28
+ '&[data-align="end"]': {
29
+ '@apply right-0': {}
30
+ },
31
+ '&[data-align="start"]': {
32
+ '@apply left-0': {}
33
+ }
34
+ },
35
+ '&[data-position="under"]': {
36
+ '&[data-align="end"]': {
37
+ '@apply right-0': {}
38
+ },
39
+ '&[data-align="start"]': {
40
+ '@apply left-0': {}
41
+ }
42
+ },
43
+ '> *': {
44
+ '@apply max-w-full w-full': {}
45
+ },
46
+ '@apply absolute flex-col justify-start items-start mt-8': {},
47
+ '@apply w-max': {},
48
+ '@apply rounded-utility': {},
49
+ '@apply bg-background-100': {},
50
+ '@apply z-10': {},
51
+ '@apply p-8 gap-4': {},
52
+ '@apply shadow-100': {},
53
+ '@apply border-0': {},
54
+ '@apply focus-within:border-0': {},
55
+ '@apply focus:outline-0 focus-visible:outline-0 focus-visible:ring': {},
56
+ '.sk-form-checkbox-label-left .sk-icon': {
57
+ '@apply right-8': {}
58
+ },
59
+ '.sk-form-checkbox-label-right .sk-icon': {
60
+ '@apply left-8': {}
61
+ },
62
+ '.sk-popup-menu-item': {
63
+ '@apply list-none': {},
64
+ '@apply w-full': {},
65
+ '@apply h-40': {},
66
+ '@apply min-h-40': {},
67
+ '@apply bg-transparent hover:bg-menu-item-surface-hover': {},
68
+ '@apply cursor-pointer': {},
69
+ '@apply flex flex-row shrink-0': {},
70
+ '@apply pl-8 pr-8 py-4 gap-12': {},
71
+ '@apply ring-offset-0': {},
72
+ '@apply focus-visible:ring ring-ring': {},
73
+ '@apply rounded-utility': {},
74
+ '@apply text-body font-normal': {},
75
+ '> *': {
76
+ '@apply max-w-full': {}
77
+ },
78
+ '&:focus-visible, &:focus-within': {
79
+ '@apply bg-menu-item-surface-hover': {}
80
+ },
81
+ svg: {
82
+ '@apply w-20 h-20': {}
83
+ },
84
+ '@apply justify-start': {},
85
+ '@apply border-0': {},
86
+ '@apply items-center': {},
87
+ '@apply no-underline': {},
88
+ '&-submenu': {
89
+ '&-wrapper': {
90
+ '@apply relative': {}
91
+ }
92
+ }
93
+ },
94
+ '&-group': {
95
+ '@apply w-full flex flex-col border-b-1 border-divider pb-4 pt-4 gap-4': {},
96
+ '&:first-child': {
97
+ '@apply pt-0': {}
98
+ },
99
+ '&:last-child': {
100
+ '@apply border-0 pb-0': {}
101
+ }
102
+ },
103
+ '&-items': {
104
+ '@apply w-full': {},
105
+ '@apply rounded-utility': {},
106
+ '@apply focus-within:ring ring-ring': {},
107
+ '.sk-popup-menu-item': {
108
+ '@apply focus-visible:ring-0 ring-transparent ring-offset-0': {},
109
+ '> *': {
110
+ '@apply focus-visible:ring-0 ring-transparent ring-offset-0': {}
111
+ }
112
+ },
113
+ '&:focus-within': {
114
+ '.sk-popup-menu-item.active': {
115
+ '@apply bg-menu-item-surface-hover': {}
116
+ }
117
+ }
118
+ },
119
+ '&-sm': {
120
+ '@apply p-8 gap-6': {},
121
+ '.sk-popup-menu-item': {
122
+ '@apply h-32': {},
123
+ '@apply min-h-32': {},
124
+ '@apply gap-10 pl-8 pr-8 py-4': {},
125
+ '@apply text-small': {},
126
+ '&-group': {
127
+ '@apply gap-6 pb-6': {},
128
+ '> *': {
129
+ '@apply gap-10 pl-8 pr-8 py-4': {}
130
+ }
131
+ },
132
+ svg: {
133
+ '@apply w-18 h-18': {}
134
+ }
135
+ }
136
+ },
137
+ '&.right': {
138
+ '@apply right-0': {}
139
+ }
140
+ }
141
+ };
142
+ };
143
+
2
144
  //# sourceMappingURL=popup-menu.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/popup-menu.ts"],"sourcesContent":["export const PopupMenu = () => ({\n '.sk-popup-menu': {\n '@apply hidden': {},\n '&[data-open=\"true\"]': {\n '@apply flex': {},\n },\n '&[data-position=\"left\"]': {\n '@apply mt-0 mr-8 right-full': {},\n '&[data-align=\"end\"]': {\n '@apply bottom-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply top-0': {},\n },\n },\n '&[data-position=\"right\"]': {\n '@apply mt-0 ml-8 left-full': {},\n '&[data-align=\"end\"]': {\n '@apply bottom-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply top-0': {},\n },\n },\n '&[data-position=\"over\"]': {\n '@apply mt-0 mb-8 bottom-full': {},\n '&[data-align=\"end\"]': {\n '@apply right-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply left-0': {},\n },\n },\n '&[data-position=\"under\"]': {\n '&[data-align=\"end\"]': {\n '@apply right-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply left-0': {},\n },\n },\n '> *': {\n '@apply max-w-full w-full': {},\n },\n\n '@apply absolute flex-col justify-start items-start mt-8': {},\n '@apply w-max': {},\n '@apply rounded-utility': {},\n '@apply bg-background-100': {},\n '@apply z-10': {},\n '@apply p-8 gap-4': {},\n '@apply shadow-100': {},\n '@apply border-0': {},\n '@apply focus-within:border-0': {},\n '@apply focus:outline-0 focus-visible:outline-0 focus-visible:ring': {},\n '.sk-form-checkbox-label-left .sk-icon': {\n '@apply right-8': {},\n },\n '.sk-form-checkbox-label-right .sk-icon': {\n '@apply left-8': {},\n },\n '.sk-popup-menu-item': {\n '@apply list-none': {},\n '@apply w-full': {},\n '@apply h-40': {},\n '@apply min-h-40': {},\n '@apply bg-transparent hover:bg-menu-item-surface-hover': {},\n '@apply cursor-pointer': {},\n '@apply flex flex-row shrink-0': {},\n '@apply pl-8 pr-8 py-4 gap-12': {},\n '@apply ring-offset-0': {},\n '@apply focus-visible:ring ring-ring': {},\n '@apply rounded-utility': {},\n '@apply text-body font-normal': {},\n '> *': {\n '@apply max-w-full': {},\n },\n '&:focus-visible, &:focus-within': {\n '@apply bg-menu-item-surface-hover': {},\n },\n svg: {\n '@apply w-20 h-20': {},\n },\n\n '@apply justify-start': {},\n\n '@apply border-0': {},\n '@apply items-center': {},\n '@apply no-underline': {},\n '&-submenu': {\n '&-wrapper': {\n '@apply relative': {},\n },\n },\n },\n\n '&-group': {\n '@apply w-full flex flex-col border-b-1 border-divider pb-4 pt-4 gap-4': {},\n '&:first-child': {\n '@apply pt-0': {},\n },\n '&:last-child': {\n '@apply border-0 pb-0': {},\n },\n },\n\n '&-items': {\n '@apply w-full': {},\n '@apply rounded-utility': {},\n '@apply focus-within:ring ring-ring': {},\n '.sk-popup-menu-item': {\n '@apply focus-visible:ring-0 ring-transparent ring-offset-0': {},\n '> *': {\n '@apply focus-visible:ring-0 ring-transparent ring-offset-0': {},\n },\n },\n '&:focus-within': {\n '.sk-popup-menu-item.active': {\n '@apply bg-menu-item-surface-hover': {},\n },\n },\n },\n\n '&-sm': {\n '@apply p-8 gap-6': {},\n\n '.sk-popup-menu-item': {\n '@apply h-32': {},\n '@apply min-h-32': {},\n '@apply gap-10 pl-8 pr-8 py-4': {},\n\n '@apply text-small': {},\n '&-group': {\n '@apply gap-6 pb-6': {},\n '> *': {\n '@apply gap-10 pl-8 pr-8 py-4': {},\n },\n },\n svg: {\n '@apply w-18 h-18': {},\n },\n },\n },\n '&.right': {\n '@apply right-0': {},\n },\n },\n});\n"],"names":["PopupMenu","svg"],"mappings":"AAAA,OAAO,IAAMA,UAAY,iBAAO,CAC9B,iBAAkB,CAChB,gBAAiB,CAAC,EAClB,sBAAuB,CACrB,cAAe,CAAC,CAClB,EACA,0BAA2B,CACzB,8BAA+B,CAAC,EAChC,sBAAuB,CACrB,kBAAmB,CAAC,CACtB,EACA,wBAAyB,CACvB,eAAgB,CAAC,CACnB,CACF,EACA,2BAA4B,CAC1B,6BAA8B,CAAC,EAC/B,sBAAuB,CACrB,kBAAmB,CAAC,CACtB,EACA,wBAAyB,CACvB,eAAgB,CAAC,CACnB,CACF,EACA,0BAA2B,CACzB,+BAAgC,CAAC,EACjC,sBAAuB,CACrB,iBAAkB,CAAC,CACrB,EACA,wBAAyB,CACvB,gBAAiB,CAAC,CACpB,CACF,EACA,2BAA4B,CAC1B,sBAAuB,CACrB,iBAAkB,CAAC,CACrB,EACA,wBAAyB,CACvB,gBAAiB,CAAC,CACpB,CACF,EACA,MAAO,CACL,2BAA4B,CAAC,CAC/B,EAEA,0DAA2D,CAAC,EAC5D,eAAgB,CAAC,EACjB,yBAA0B,CAAC,EAC3B,2BAA4B,CAAC,EAC7B,cAAe,CAAC,EAChB,mBAAoB,CAAC,EACrB,oBAAqB,CAAC,EACtB,kBAAmB,CAAC,EACpB,+BAAgC,CAAC,EACjC,oEAAqE,CAAC,EACtE,wCAAyC,CACvC,iBAAkB,CAAC,CACrB,EACA,yCAA0C,CACxC,gBAAiB,CAAC,CACpB,EACA,sBAAuB,CACrB,mBAAoB,CAAC,EACrB,gBAAiB,CAAC,EAClB,cAAe,CAAC,EAChB,kBAAmB,CAAC,EACpB,yDAA0D,CAAC,EAC3D,wBAAyB,CAAC,EAC1B,gCAAiC,CAAC,EAClC,+BAAgC,CAAC,EACjC,uBAAwB,CAAC,EACzB,sCAAuC,CAAC,EACxC,yBAA0B,CAAC,EAC3B,+BAAgC,CAAC,EACjC,MAAO,CACL,oBAAqB,CAAC,CACxB,EACA,kCAAmC,CACjC,oCAAqC,CAAC,CACxC,EACAC,IAAK,CACH,mBAAoB,CAAC,CACvB,EAEA,uBAAwB,CAAC,EAEzB,kBAAmB,CAAC,EACpB,sBAAuB,CAAC,EACxB,sBAAuB,CAAC,EACxB,YAAa,CACX,YAAa,CACX,kBAAmB,CAAC,CACtB,CACF,CACF,EAEA,UAAW,CACT,wEAAyE,CAAC,EAC1E,gBAAiB,CACf,cAAe,CAAC,CAClB,EACA,eAAgB,CACd,uBAAwB,CAAC,CAC3B,CACF,EAEA,UAAW,CACT,gBAAiB,CAAC,EAClB,yBAA0B,CAAC,EAC3B,qCAAsC,CAAC,EACvC,sBAAuB,CACrB,6DAA8D,CAAC,EAC/D,MAAO,CACL,6DAA8D,CAAC,CACjE,CACF,EACA,iBAAkB,CAChB,6BAA8B,CAC5B,oCAAqC,CAAC,CACxC,CACF,CACF,EAEA,OAAQ,CACN,mBAAoB,CAAC,EAErB,sBAAuB,CACrB,cAAe,CAAC,EAChB,kBAAmB,CAAC,EACpB,+BAAgC,CAAC,EAEjC,oBAAqB,CAAC,EACtB,UAAW,CACT,oBAAqB,CAAC,EACtB,MAAO,CACL,+BAAgC,CAAC,CACnC,CACF,EACAA,IAAK,CACH,mBAAoB,CAAC,CACvB,CACF,CACF,EACA,UAAW,CACT,iBAAkB,CAAC,CACrB,CACF,CACF,EAAG"}
1
+ {"version":3,"sources":["../../../src/components/popup-menu.ts"],"sourcesContent":["export const PopupMenu = () => ({\n '.sk-popup-menu': {\n '@apply hidden': {},\n '&[data-open=\"true\"]': {\n '@apply flex': {},\n },\n '&[data-position=\"left\"]': {\n '@apply mt-0 mr-8 right-full': {},\n '&[data-align=\"end\"]': {\n '@apply bottom-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply top-0': {},\n },\n },\n '&[data-position=\"right\"]': {\n '@apply mt-0 ml-8 left-full': {},\n '&[data-align=\"end\"]': {\n '@apply bottom-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply top-0': {},\n },\n },\n '&[data-position=\"over\"]': {\n '@apply mt-0 mb-8 bottom-full': {},\n '&[data-align=\"end\"]': {\n '@apply right-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply left-0': {},\n },\n },\n '&[data-position=\"under\"]': {\n '&[data-align=\"end\"]': {\n '@apply right-0': {},\n },\n '&[data-align=\"start\"]': {\n '@apply left-0': {},\n },\n },\n '> *': {\n '@apply max-w-full w-full': {},\n },\n\n '@apply absolute flex-col justify-start items-start mt-8': {},\n '@apply w-max': {},\n '@apply rounded-utility': {},\n '@apply bg-background-100': {},\n '@apply z-10': {},\n '@apply p-8 gap-4': {},\n '@apply shadow-100': {},\n '@apply border-0': {},\n '@apply focus-within:border-0': {},\n '@apply focus:outline-0 focus-visible:outline-0 focus-visible:ring': {},\n '.sk-form-checkbox-label-left .sk-icon': {\n '@apply right-8': {},\n },\n '.sk-form-checkbox-label-right .sk-icon': {\n '@apply left-8': {},\n },\n '.sk-popup-menu-item': {\n '@apply list-none': {},\n '@apply w-full': {},\n '@apply h-40': {},\n '@apply min-h-40': {},\n '@apply bg-transparent hover:bg-menu-item-surface-hover': {},\n '@apply cursor-pointer': {},\n '@apply flex flex-row shrink-0': {},\n '@apply pl-8 pr-8 py-4 gap-12': {},\n '@apply ring-offset-0': {},\n '@apply focus-visible:ring ring-ring': {},\n '@apply rounded-utility': {},\n '@apply text-body font-normal': {},\n '> *': {\n '@apply max-w-full': {},\n },\n '&:focus-visible, &:focus-within': {\n '@apply bg-menu-item-surface-hover': {},\n },\n svg: {\n '@apply w-20 h-20': {},\n },\n\n '@apply justify-start': {},\n\n '@apply border-0': {},\n '@apply items-center': {},\n '@apply no-underline': {},\n '&-submenu': {\n '&-wrapper': {\n '@apply relative': {},\n },\n },\n },\n\n '&-group': {\n '@apply w-full flex flex-col border-b-1 border-divider pb-4 pt-4 gap-4': {},\n '&:first-child': {\n '@apply pt-0': {},\n },\n '&:last-child': {\n '@apply border-0 pb-0': {},\n },\n },\n\n '&-items': {\n '@apply w-full': {},\n '@apply rounded-utility': {},\n '@apply focus-within:ring ring-ring': {},\n '.sk-popup-menu-item': {\n '@apply focus-visible:ring-0 ring-transparent ring-offset-0': {},\n '> *': {\n '@apply focus-visible:ring-0 ring-transparent ring-offset-0': {},\n },\n },\n '&:focus-within': {\n '.sk-popup-menu-item.active': {\n '@apply bg-menu-item-surface-hover': {},\n },\n },\n },\n\n '&-sm': {\n '@apply p-8 gap-6': {},\n\n '.sk-popup-menu-item': {\n '@apply h-32': {},\n '@apply min-h-32': {},\n '@apply gap-10 pl-8 pr-8 py-4': {},\n\n '@apply text-small': {},\n '&-group': {\n '@apply gap-6 pb-6': {},\n '> *': {\n '@apply gap-10 pl-8 pr-8 py-4': {},\n },\n },\n svg: {\n '@apply w-18 h-18': {},\n },\n },\n },\n '&.right': {\n '@apply right-0': {},\n },\n },\n});\n"],"names":["PopupMenu","svg"],"mappings":"AAAA,OAAO,IAAMA,YAAY;WAAO;QAC9B,kBAAkB;YAChB,iBAAiB,CAAC;YAClB,uBAAuB;gBACrB,eAAe,CAAC;YAClB;YACA,2BAA2B;gBACzB,+BAA+B,CAAC;gBAChC,uBAAuB;oBACrB,mBAAmB,CAAC;gBACtB;gBACA,yBAAyB;oBACvB,gBAAgB,CAAC;gBACnB;YACF;YACA,4BAA4B;gBAC1B,8BAA8B,CAAC;gBAC/B,uBAAuB;oBACrB,mBAAmB,CAAC;gBACtB;gBACA,yBAAyB;oBACvB,gBAAgB,CAAC;gBACnB;YACF;YACA,2BAA2B;gBACzB,gCAAgC,CAAC;gBACjC,uBAAuB;oBACrB,kBAAkB,CAAC;gBACrB;gBACA,yBAAyB;oBACvB,iBAAiB,CAAC;gBACpB;YACF;YACA,4BAA4B;gBAC1B,uBAAuB;oBACrB,kBAAkB,CAAC;gBACrB;gBACA,yBAAyB;oBACvB,iBAAiB,CAAC;gBACpB;YACF;YACA,OAAO;gBACL,4BAA4B,CAAC;YAC/B;YAEA,2DAA2D,CAAC;YAC5D,gBAAgB,CAAC;YACjB,0BAA0B,CAAC;YAC3B,4BAA4B,CAAC;YAC7B,eAAe,CAAC;YAChB,oBAAoB,CAAC;YACrB,qBAAqB,CAAC;YACtB,mBAAmB,CAAC;YACpB,gCAAgC,CAAC;YACjC,qEAAqE,CAAC;YACtE,yCAAyC;gBACvC,kBAAkB,CAAC;YACrB;YACA,0CAA0C;gBACxC,iBAAiB,CAAC;YACpB;YACA,uBAAuB;gBACrB,oBAAoB,CAAC;gBACrB,iBAAiB,CAAC;gBAClB,eAAe,CAAC;gBAChB,mBAAmB,CAAC;gBACpB,0DAA0D,CAAC;gBAC3D,yBAAyB,CAAC;gBAC1B,iCAAiC,CAAC;gBAClC,gCAAgC,CAAC;gBACjC,wBAAwB,CAAC;gBACzB,uCAAuC,CAAC;gBACxC,0BAA0B,CAAC;gBAC3B,gCAAgC,CAAC;gBACjC,OAAO;oBACL,qBAAqB,CAAC;gBACxB;gBACA,mCAAmC;oBACjC,qCAAqC,CAAC;gBACxC;gBACAC,KAAK;oBACH,oBAAoB,CAAC;gBACvB;gBAEA,wBAAwB,CAAC;gBAEzB,mBAAmB,CAAC;gBACpB,uBAAuB,CAAC;gBACxB,uBAAuB,CAAC;gBACxB,aAAa;oBACX,aAAa;wBACX,mBAAmB,CAAC;oBACtB;gBACF;YACF;YAEA,WAAW;gBACT,yEAAyE,CAAC;gBAC1E,iBAAiB;oBACf,eAAe,CAAC;gBAClB;gBACA,gBAAgB;oBACd,wBAAwB,CAAC;gBAC3B;YACF;YAEA,WAAW;gBACT,iBAAiB,CAAC;gBAClB,0BAA0B,CAAC;gBAC3B,sCAAsC,CAAC;gBACvC,uBAAuB;oBACrB,8DAA8D,CAAC;oBAC/D,OAAO;wBACL,8DAA8D,CAAC;oBACjE;gBACF;gBACA,kBAAkB;oBAChB,8BAA8B;wBAC5B,qCAAqC,CAAC;oBACxC;gBACF;YACF;YAEA,QAAQ;gBACN,oBAAoB,CAAC;gBAErB,uBAAuB;oBACrB,eAAe,CAAC;oBAChB,mBAAmB,CAAC;oBACpB,gCAAgC,CAAC;oBAEjC,qBAAqB,CAAC;oBACtB,WAAW;wBACT,qBAAqB,CAAC;wBACtB,OAAO;4BACL,gCAAgC,CAAC;wBACnC;oBACF;oBACAA,KAAK;wBACH,oBAAoB,CAAC;oBACvB;gBACF;YACF;YACA,WAAW;gBACT,kBAAkB,CAAC;YACrB;QACF;IACF;EAAG"}
@@ -1,2 +1,73 @@
1
- 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}export var ProgressBar=function(colors){return{".sk-progress-bar":_object_spread_props(_object_spread({"@apply flex h-4 rounded-circular bg-background-color-mixin-2":{},"&-fill":{"@apply rounded-circular":{}}},colors.reduce(function(styles,color){return _object_spread_props(_object_spread({},styles),_define_property({},'&[data-color="'.concat(color,'"]'),{".sk-progress-bar-fill":_define_property({},"@apply bg-".concat(color,"-surface-primary"),{}),'&[data-accent="true"]':_define_property({},"@apply bg-inverted-".concat(color,"-surface-primary"),{})}))},{})),{"&[data-color='tertiary']":{".sk-progress-bar-fill":_define_property({},"@apply bg-primary-surface",{})}})}};
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _object_spread(target) {
15
+ for(var i = 1; i < arguments.length; i++){
16
+ var source = arguments[i] != null ? arguments[i] : {};
17
+ var ownKeys = Object.keys(source);
18
+ if (typeof Object.getOwnPropertySymbols === "function") {
19
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
+ }));
22
+ }
23
+ ownKeys.forEach(function(key) {
24
+ _define_property(target, key, source[key]);
25
+ });
26
+ }
27
+ return target;
28
+ }
29
+ function ownKeys(object, enumerableOnly) {
30
+ var keys = Object.keys(object);
31
+ if (Object.getOwnPropertySymbols) {
32
+ var symbols = Object.getOwnPropertySymbols(object);
33
+ if (enumerableOnly) {
34
+ symbols = symbols.filter(function(sym) {
35
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
+ });
37
+ }
38
+ keys.push.apply(keys, symbols);
39
+ }
40
+ return keys;
41
+ }
42
+ function _object_spread_props(target, source) {
43
+ source = source != null ? source : {};
44
+ if (Object.getOwnPropertyDescriptors) {
45
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
+ } else {
47
+ ownKeys(Object(source)).forEach(function(key) {
48
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
+ });
50
+ }
51
+ return target;
52
+ }
53
+ export var ProgressBar = function(colors) {
54
+ return {
55
+ '.sk-progress-bar': _object_spread_props(_object_spread({
56
+ '@apply flex h-4 rounded-circular bg-background-color-mixin-2': {},
57
+ '&-fill': {
58
+ '@apply rounded-circular': {}
59
+ }
60
+ }, colors.reduce(function(styles, color) {
61
+ return _object_spread_props(_object_spread({}, styles), _define_property({}, '&[data-color="'.concat(color, '"]'), {
62
+ '.sk-progress-bar-fill': _define_property({}, "@apply bg-".concat(color, "-surface-primary"), {}),
63
+ '&[data-accent="true"]': _define_property({}, "@apply bg-inverted-".concat(color, "-surface-primary"), {})
64
+ }));
65
+ }, {})), {
66
+ "&[data-color='tertiary']": {
67
+ '.sk-progress-bar-fill': _define_property({}, "@apply bg-primary-surface", {})
68
+ }
69
+ })
70
+ };
71
+ };
72
+
2
73
  //# sourceMappingURL=progress-bar.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/progress-bar.ts"],"sourcesContent":["export const ProgressBar = (colors: string[]) => ({\n '.sk-progress-bar': {\n '@apply flex h-4 rounded-circular bg-background-color-mixin-2': {},\n\n '&-fill': {\n '@apply rounded-circular': {},\n },\n\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n [`&[data-color=\"${color}\"]`]: {\n '.sk-progress-bar-fill': {\n [`@apply bg-${color}-surface-primary`]: {},\n },\n\n '&[data-accent=\"true\"]': {\n [`@apply bg-inverted-${color}-surface-primary`]: {},\n },\n },\n }),\n {}\n ),\n\n \"&[data-color='tertiary']\": {\n '.sk-progress-bar-fill': {\n [`@apply bg-primary-surface`]: {},\n },\n },\n },\n});\n"],"names":["ProgressBar","colors","reduce","styles","color"],"mappings":"uuCAAA,OAAO,IAAMA,YAAc,SAACC,cAAsB,CAChD,mBAAoB,qCAClB,+DAAgE,CAAC,EAEjE,SAAU,CACR,0BAA2B,CAAC,CAC9B,GAEGA,OAAOC,MAAM,CACd,SAACC,OAAQC,cAAW,uCACfD,QACH,oBAAC,AAAC,iBAAsB,OAANC,MAAM,MAAM,CAC5B,wBACE,oBAAC,AAAC,aAAkB,OAANA,MAAM,oBAAoB,CAAC,GAG3C,wBACE,oBAAC,AAAC,sBAA2B,OAANA,MAAM,oBAAoB,CAAC,EAEtD,KAEF,CAAC,KAGH,2BAA4B,CAC1B,wBACE,oBAAE,4BAA6B,CAAC,EAEpC,GAEJ,EAAG"}
1
+ {"version":3,"sources":["../../../src/components/progress-bar.ts"],"sourcesContent":["export const ProgressBar = (colors: string[]) => ({\n '.sk-progress-bar': {\n '@apply flex h-4 rounded-circular bg-background-color-mixin-2': {},\n\n '&-fill': {\n '@apply rounded-circular': {},\n },\n\n ...colors.reduce(\n (styles, color) => ({\n ...styles,\n [`&[data-color=\"${color}\"]`]: {\n '.sk-progress-bar-fill': {\n [`@apply bg-${color}-surface-primary`]: {},\n },\n\n '&[data-accent=\"true\"]': {\n [`@apply bg-inverted-${color}-surface-primary`]: {},\n },\n },\n }),\n {}\n ),\n\n \"&[data-color='tertiary']\": {\n '.sk-progress-bar-fill': {\n [`@apply bg-primary-surface`]: {},\n },\n },\n },\n});\n"],"names":["ProgressBar","colors","reduce","styles","color"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,IAAMA,cAAc,SAACC;WAAsB;QAChD,oBAAoB;YAClB,gEAAgE,CAAC;YAEjE,UAAU;gBACR,2BAA2B,CAAC;YAC9B;WAEGA,OAAOC,MAAM,CACd,SAACC,QAAQC;mBAAW,wCACfD,SACH,qBAAC,AAAC,iBAAsB,OAANC,OAAM,OAAM;gBAC5B,yBACE,qBAAC,AAAC,aAAkB,OAANA,OAAM,qBAAoB,CAAC;gBAG3C,yBACE,qBAAC,AAAC,sBAA2B,OAANA,OAAM,qBAAoB,CAAC;YAEtD;WAEF,CAAC;YAGH,4BAA4B;gBAC1B,yBACE,qBAAE,6BAA6B,CAAC;YAEpC;;IAEJ;EAAG"}
@@ -1,2 +1,74 @@
1
- export 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
+ export var ProgressStepper = function() {
2
+ return {
3
+ '.sk-progress-stepper': {
4
+ '@apply flex justify-between': {},
5
+ hr: {
6
+ '@apply w-full mt-19': {}
7
+ },
8
+ '&-step': {
9
+ '@apply flex flex-col items-center': {},
10
+ '@apply gap-4': {},
11
+ '@apply w-auto': {},
12
+ '@apply shrink-0': {},
13
+ '@apply text-base leading-base text-dark-primary font-normal': {},
14
+ svg: {
15
+ '@apply w-20 h-20': {}
16
+ },
17
+ '&-wrapper': {
18
+ '@apply flex flex-row shrink w-full gap-4': {},
19
+ hr: {
20
+ '@apply w-full grow shrink mt-19': {}
21
+ }
22
+ },
23
+ '&:first-of-type': {
24
+ '.sk-divider:first-of-type': {
25
+ '@apply invisible': {}
26
+ }
27
+ },
28
+ '&:last-of-type': {
29
+ '.sk-divider:last-of-type': {
30
+ '@apply invisible': {}
31
+ }
32
+ },
33
+ '&-box': {
34
+ '@apply box-border': {},
35
+ '@apply shrink-0': {},
36
+ '@apply h-40 w-40': {},
37
+ '@apply bg-secondary-surface': {},
38
+ '@apply flex justify-center items-center': {},
39
+ '@apply text-label-medium': {},
40
+ '@apply border-2 border-secondary-outline': {},
41
+ '@apply text-dark-secondary': {},
42
+ '@apply rounded-button-sm md:rounded-button-md xl:rounded-button-lg': {},
43
+ '&[data-rounded="true"]': {
44
+ '@apply rounded-full': {}
45
+ },
46
+ '&&-sm': {
47
+ '@apply h-32 w-32 min-h-24 max-h-32 min-w-24 max-w-32': {},
48
+ '@apply text-label-small': {}
49
+ },
50
+ '&&-md': {
51
+ '@apply h-40 w-40 min-h-32 max-h-40 min-w-32 max-w-40': {}
52
+ }
53
+ },
54
+ '&[data-progress="current"]': {
55
+ '@apply font-bold': {},
56
+ '.sk-progress-stepper-step-box': {
57
+ '@apply border-vattjom-surface-primary': {},
58
+ '@apply bg-vattjom-surface-primary': {},
59
+ '@apply text-vattjom-text-secondary': {}
60
+ }
61
+ },
62
+ '&[data-progress="done"]': {
63
+ '.sk-progress-stepper-step-box': {
64
+ '@apply border-success-surface-primary': {},
65
+ '@apply bg-success-surface-primary': {},
66
+ '@apply text-success-text-secondary': {}
67
+ }
68
+ }
69
+ }
70
+ }
71
+ };
72
+ };
73
+
2
74
  //# 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":"AAAA,OAAO,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,EAAG"}
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":"AAAA,OAAO,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;EAAG"}