@sk-web-gui/core 0.1.75 → 0.1.76

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 (186) hide show
  1. package/dist/cjs/base.js +73 -0
  2. package/dist/cjs/base.js.map +1 -0
  3. package/dist/cjs/colors.js +139 -0
  4. package/dist/cjs/colors.js.map +1 -0
  5. package/dist/cjs/components/accordion.js +110 -0
  6. package/dist/cjs/components/accordion.js.map +1 -0
  7. package/dist/cjs/components/alert-banner.js +28 -0
  8. package/dist/cjs/components/alert-banner.js.map +1 -0
  9. package/dist/cjs/components/alert.js +55 -0
  10. package/dist/cjs/components/alert.js.map +1 -0
  11. package/dist/cjs/components/avatar.js +71 -0
  12. package/dist/cjs/components/avatar.js.map +1 -0
  13. package/dist/cjs/components/badge.js +178 -0
  14. package/dist/cjs/components/badge.js.map +1 -0
  15. package/dist/cjs/components/breadcrumb.js +16 -0
  16. package/dist/cjs/components/breadcrumb.js.map +1 -0
  17. package/dist/cjs/components/button-group.js +43 -0
  18. package/dist/cjs/components/button-group.js.map +1 -0
  19. package/dist/cjs/components/button.js +249 -0
  20. package/dist/cjs/components/button.js.map +1 -0
  21. package/dist/cjs/components/calendar.js +69 -0
  22. package/dist/cjs/components/calendar.js.map +1 -0
  23. package/dist/cjs/components/card.js +56 -0
  24. package/dist/cjs/components/card.js.map +1 -0
  25. package/dist/cjs/components/checkbox.js +82 -0
  26. package/dist/cjs/components/checkbox.js.map +1 -0
  27. package/dist/cjs/components/code.js +14 -0
  28. package/dist/cjs/components/code.js.map +1 -0
  29. package/dist/cjs/components/context-menu.js +15 -0
  30. package/dist/cjs/components/context-menu.js.map +1 -0
  31. package/dist/cjs/components/cookie-consent.js +28 -0
  32. package/dist/cjs/components/cookie-consent.js.map +1 -0
  33. package/dist/cjs/components/dialog.js +17 -0
  34. package/dist/cjs/components/dialog.js.map +1 -0
  35. package/dist/cjs/components/divider.js +17 -0
  36. package/dist/cjs/components/divider.js.map +1 -0
  37. package/dist/cjs/components/dot.js +59 -0
  38. package/dist/cjs/components/dot.js.map +1 -0
  39. package/dist/cjs/components/dropdown-filter.js +59 -0
  40. package/dist/cjs/components/dropdown-filter.js.map +1 -0
  41. package/dist/cjs/components/footer.js +32 -0
  42. package/dist/cjs/components/footer.js.map +1 -0
  43. package/dist/cjs/components/forms.js +273 -0
  44. package/dist/cjs/components/forms.js.map +1 -0
  45. package/dist/cjs/components/header.js +24 -0
  46. package/dist/cjs/components/header.js.map +1 -0
  47. package/dist/cjs/components/icon.js +13 -0
  48. package/dist/cjs/components/icon.js.map +1 -0
  49. package/dist/cjs/components/kbd.js +14 -0
  50. package/dist/cjs/components/kbd.js.map +1 -0
  51. package/dist/cjs/components/link.js +25 -0
  52. package/dist/cjs/components/link.js.map +1 -0
  53. package/dist/cjs/components/message.js +54 -0
  54. package/dist/cjs/components/message.js.map +1 -0
  55. package/dist/cjs/components/modal.js +28 -0
  56. package/dist/cjs/components/modal.js.map +1 -0
  57. package/dist/cjs/components/notification.js +53 -0
  58. package/dist/cjs/components/notification.js.map +1 -0
  59. package/dist/cjs/components/pagination.js +84 -0
  60. package/dist/cjs/components/pagination.js.map +1 -0
  61. package/dist/cjs/components/profile-picture.js +17 -0
  62. package/dist/cjs/components/profile-picture.js.map +1 -0
  63. package/dist/cjs/components/profile.js +36 -0
  64. package/dist/cjs/components/profile.js.map +1 -0
  65. package/dist/cjs/components/radio.js +86 -0
  66. package/dist/cjs/components/radio.js.map +1 -0
  67. package/dist/cjs/components/search-bar.js +10 -0
  68. package/dist/cjs/components/search-bar.js.map +1 -0
  69. package/dist/cjs/components/side-menu.js +207 -0
  70. package/dist/cjs/components/side-menu.js.map +1 -0
  71. package/dist/cjs/components/switch.js +95 -0
  72. package/dist/cjs/components/switch.js.map +1 -0
  73. package/dist/cjs/components/tab-menu.js +44 -0
  74. package/dist/cjs/components/tab-menu.js.map +1 -0
  75. package/dist/cjs/components/table.js +16 -0
  76. package/dist/cjs/components/table.js.map +1 -0
  77. package/dist/cjs/components/tag.js +74 -0
  78. package/dist/cjs/components/tag.js.map +1 -0
  79. package/dist/cjs/components/user-menu.js +43 -0
  80. package/dist/cjs/components/user-menu.js.map +1 -0
  81. package/dist/cjs/components/zebratable.js +63 -0
  82. package/dist/cjs/components/zebratable.js.map +1 -0
  83. package/dist/cjs/index.js +71 -0
  84. package/dist/cjs/index.js.map +1 -0
  85. package/dist/cjs/preset.js +90 -0
  86. package/dist/cjs/preset.js.map +1 -0
  87. package/dist/cjs/with-opacity.js +10 -0
  88. package/dist/cjs/with-opacity.js.map +1 -0
  89. package/dist/esm/base.js +71 -0
  90. package/dist/esm/base.js.map +1 -0
  91. package/dist/esm/colors.js +137 -0
  92. package/dist/esm/colors.js.map +1 -0
  93. package/dist/esm/components/accordion.js +106 -0
  94. package/dist/esm/components/accordion.js.map +1 -0
  95. package/dist/esm/components/alert-banner.js +24 -0
  96. package/dist/esm/components/alert-banner.js.map +1 -0
  97. package/dist/esm/components/alert.js +61 -0
  98. package/dist/esm/components/alert.js.map +1 -0
  99. package/dist/esm/components/avatar.js +67 -0
  100. package/dist/esm/components/avatar.js.map +1 -0
  101. package/dist/esm/components/badge.js +178 -0
  102. package/dist/esm/components/badge.js.map +1 -0
  103. package/dist/esm/components/breadcrumb.js +12 -0
  104. package/dist/esm/components/breadcrumb.js.map +1 -0
  105. package/dist/esm/components/button-group.js +39 -0
  106. package/dist/esm/components/button-group.js.map +1 -0
  107. package/dist/esm/components/button.js +337 -0
  108. package/dist/esm/components/button.js.map +1 -0
  109. package/dist/esm/components/calendar.js +65 -0
  110. package/dist/esm/components/calendar.js.map +1 -0
  111. package/dist/esm/components/card.js +52 -0
  112. package/dist/esm/components/card.js.map +1 -0
  113. package/dist/esm/components/checkbox.js +113 -0
  114. package/dist/esm/components/checkbox.js.map +1 -0
  115. package/dist/esm/components/code.js +10 -0
  116. package/dist/esm/components/code.js.map +1 -0
  117. package/dist/esm/components/context-menu.js +11 -0
  118. package/dist/esm/components/context-menu.js.map +1 -0
  119. package/dist/esm/components/cookie-consent.js +24 -0
  120. package/dist/esm/components/cookie-consent.js.map +1 -0
  121. package/dist/esm/components/dialog.js +13 -0
  122. package/dist/esm/components/dialog.js.map +1 -0
  123. package/dist/esm/components/divider.js +13 -0
  124. package/dist/esm/components/divider.js.map +1 -0
  125. package/dist/esm/components/dot.js +59 -0
  126. package/dist/esm/components/dot.js.map +1 -0
  127. package/dist/esm/components/dropdown-filter.js +55 -0
  128. package/dist/esm/components/dropdown-filter.js.map +1 -0
  129. package/dist/esm/components/footer.js +30 -0
  130. package/dist/esm/components/footer.js.map +1 -0
  131. package/dist/esm/components/forms.js +273 -0
  132. package/dist/esm/components/forms.js.map +1 -0
  133. package/dist/esm/components/header.js +27 -0
  134. package/dist/esm/components/header.js.map +1 -0
  135. package/dist/esm/components/icon.js +9 -0
  136. package/dist/esm/components/icon.js.map +1 -0
  137. package/dist/esm/components/kbd.js +10 -0
  138. package/dist/esm/components/kbd.js.map +1 -0
  139. package/dist/esm/components/link.js +21 -0
  140. package/dist/esm/components/link.js.map +1 -0
  141. package/dist/esm/components/message.js +50 -0
  142. package/dist/esm/components/message.js.map +1 -0
  143. package/dist/esm/components/modal.js +24 -0
  144. package/dist/esm/components/modal.js.map +1 -0
  145. package/dist/esm/components/notification.js +49 -0
  146. package/dist/esm/components/notification.js.map +1 -0
  147. package/dist/esm/components/pagination.js +80 -0
  148. package/dist/esm/components/pagination.js.map +1 -0
  149. package/dist/esm/components/profile-picture.js +13 -0
  150. package/dist/esm/components/profile-picture.js.map +1 -0
  151. package/dist/esm/components/profile.js +32 -0
  152. package/dist/esm/components/profile.js.map +1 -0
  153. package/dist/esm/components/radio.js +86 -0
  154. package/dist/esm/components/radio.js.map +1 -0
  155. package/dist/esm/components/search-bar.js +6 -0
  156. package/dist/esm/components/search-bar.js.map +1 -0
  157. package/dist/esm/components/side-menu.js +203 -0
  158. package/dist/esm/components/side-menu.js.map +1 -0
  159. package/dist/esm/components/switch.js +98 -0
  160. package/dist/esm/components/switch.js.map +1 -0
  161. package/dist/esm/components/tab-menu.js +40 -0
  162. package/dist/esm/components/tab-menu.js.map +1 -0
  163. package/dist/esm/components/table.js +12 -0
  164. package/dist/esm/components/table.js.map +1 -0
  165. package/dist/esm/components/tag.js +79 -0
  166. package/dist/esm/components/tag.js.map +1 -0
  167. package/dist/esm/components/user-menu.js +39 -0
  168. package/dist/esm/components/user-menu.js.map +1 -0
  169. package/dist/esm/components/zebratable.js +59 -0
  170. package/dist/esm/components/zebratable.js.map +1 -0
  171. package/dist/esm/index.js +69 -0
  172. package/dist/esm/index.js.map +1 -0
  173. package/dist/esm/preset.js +89 -0
  174. package/dist/esm/preset.js.map +1 -0
  175. package/dist/esm/with-opacity.js +10 -0
  176. package/dist/esm/with-opacity.js.map +1 -0
  177. package/package.json +18 -10
  178. package/src/base.js +47 -0
  179. package/src/components/badge.js +13 -24
  180. package/src/components/button.js +36 -42
  181. package/src/components/calendar.js +0 -4
  182. package/src/components/checkbox.js +1 -1
  183. package/src/components/switch.js +5 -5
  184. package/src/components/tab-menu.js +36 -38
  185. package/src/index.js +10 -186
  186. package/src/preset.js +87 -0
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+
3
+ module.exports = {
4
+ html: {
5
+ '@apply text-foreground antialiased bg-base': {},
6
+ fontSize: '62.5%',
7
+ lineHeight: '1.5',
8
+ textRendering: 'optimizeLegibility',
9
+ textSizeAdjust: '100%',
10
+ touchAction: 'manipulation'
11
+ },
12
+ body: {
13
+ '@apply text-base leading-base': {},
14
+ position: 'relative',
15
+ minHeight: '100%',
16
+ fontFeatureSettings: "'kern'"
17
+ },
18
+ 'h1,h2,h3,h4,h5,h6': {
19
+ '@apply font-bold': {}
20
+ },
21
+ small: {
22
+ fontSize: '1.4rem'
23
+ },
24
+ h1: {
25
+ '@apply text-3xl leading-3xl': {}
26
+ },
27
+ h2: {
28
+ '@apply text-2xl leading-2xl': {}
29
+ },
30
+ h3: {
31
+ '@apply text-xl leading-xl': {}
32
+ },
33
+ h4: {
34
+ '@apply text-lg leading-lg': {}
35
+ },
36
+ h5: {
37
+ '@apply text-base leading-base': {}
38
+ },
39
+ h6: {
40
+ '@apply text-sm leading-sm': {}
41
+ },
42
+ p: {
43
+ '@apply my-4': {}
44
+ },
45
+ '.text-content': {
46
+ '@apply max-w-[80rem]': {},
47
+ h1: {
48
+ '@apply mb-md': {},
49
+ '+ p': {
50
+ '@apply mb-[40px] mt-0': {}
51
+ }
52
+ },
53
+ h2: {
54
+ '@apply mt-lg': {}
55
+ },
56
+ h3: {
57
+ '@apply mt-lg': {}
58
+ },
59
+ h4: {
60
+ '@apply mt-lg': {}
61
+ },
62
+ h5: {
63
+ '@apply mt-lg': {}
64
+ },
65
+ h6: {
66
+ '@apply mt-lg': {}
67
+ },
68
+ p: {
69
+ '@apply mt-sm leading-[1.5]': {}
70
+ }
71
+ }
72
+ };
73
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","names":["module","exports","html","fontSize","lineHeight","textRendering","textSizeAdjust","touchAction","body","position","minHeight","fontFeatureSettings","small","h1","h2","h3","h4","h5","h6","p"],"sources":["../../src/base.js"],"sourcesContent":["module.exports = {\r\n html: {\r\n '@apply text-foreground antialiased bg-base': {},\r\n fontSize: '62.5%',\r\n lineHeight: '1.5',\r\n textRendering: 'optimizeLegibility',\r\n textSizeAdjust: '100%',\r\n touchAction: 'manipulation',\r\n },\r\n body: {\r\n '@apply text-base leading-base': {},\r\n position: 'relative',\r\n minHeight: '100%',\r\n fontFeatureSettings: \"'kern'\",\r\n },\r\n 'h1,h2,h3,h4,h5,h6': {\r\n '@apply font-bold': {},\r\n },\r\n small: {\r\n fontSize: '1.4rem',\r\n },\r\n h1: { '@apply text-3xl leading-3xl': {} },\r\n h2: { '@apply text-2xl leading-2xl': {} },\r\n h3: { '@apply text-xl leading-xl': {} },\r\n h4: { '@apply text-lg leading-lg': {} },\r\n h5: { '@apply text-base leading-base': {} },\r\n h6: { '@apply text-sm leading-sm': {} },\r\n p: { '@apply my-4': {} },\r\n\r\n '.text-content': {\r\n '@apply max-w-[80rem]': {},\r\n\r\n h1: {\r\n '@apply mb-md': {},\r\n\r\n '+ p': {\r\n '@apply mb-[40px] mt-0': {},\r\n },\r\n },\r\n h2: { '@apply mt-lg': {} },\r\n h3: { '@apply mt-lg': {} },\r\n h4: { '@apply mt-lg': {} },\r\n h5: { '@apply mt-lg': {} },\r\n h6: { '@apply mt-lg': {} },\r\n p: { '@apply mt-sm leading-[1.5]': {} },\r\n },\r\n};\r\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAO,GAAG;EACfC,IAAI,EAAE;IACJ,4CAA4C,EAAE,CAAC,CAAC;IAChDC,QAAQ,EAAE,OAAO;IACjBC,UAAU,EAAE,KAAK;IACjBC,aAAa,EAAE,oBAAoB;IACnCC,cAAc,EAAE,MAAM;IACtBC,WAAW,EAAE;EACf,CAAC;EACDC,IAAI,EAAE;IACJ,+BAA+B,EAAE,CAAC,CAAC;IACnCC,QAAQ,EAAE,UAAU;IACpBC,SAAS,EAAE,MAAM;IACjBC,mBAAmB,EAAE;EACvB,CAAC;EACD,mBAAmB,EAAE;IACnB,kBAAkB,EAAE,CAAC;EACvB,CAAC;EACDC,KAAK,EAAE;IACLT,QAAQ,EAAE;EACZ,CAAC;EACDU,EAAE,EAAE;IAAE,6BAA6B,EAAE,CAAC;EAAE,CAAC;EACzCC,EAAE,EAAE;IAAE,6BAA6B,EAAE,CAAC;EAAE,CAAC;EACzCC,EAAE,EAAE;IAAE,2BAA2B,EAAE,CAAC;EAAE,CAAC;EACvCC,EAAE,EAAE;IAAE,2BAA2B,EAAE,CAAC;EAAE,CAAC;EACvCC,EAAE,EAAE;IAAE,+BAA+B,EAAE,CAAC;EAAE,CAAC;EAC3CC,EAAE,EAAE;IAAE,2BAA2B,EAAE,CAAC;EAAE,CAAC;EACvCC,CAAC,EAAE;IAAE,aAAa,EAAE,CAAC;EAAE,CAAC;EAExB,eAAe,EAAE;IACf,sBAAsB,EAAE,CAAC,CAAC;IAE1BN,EAAE,EAAE;MACF,cAAc,EAAE,CAAC,CAAC;MAElB,KAAK,EAAE;QACL,uBAAuB,EAAE,CAAC;MAC5B;IACF,CAAC;IACDC,EAAE,EAAE;MAAE,cAAc,EAAE,CAAC;IAAE,CAAC;IAC1BC,EAAE,EAAE;MAAE,cAAc,EAAE,CAAC;IAAE,CAAC;IAC1BC,EAAE,EAAE;MAAE,cAAc,EAAE,CAAC;IAAE,CAAC;IAC1BC,EAAE,EAAE;MAAE,cAAc,EAAE,CAAC;IAAE,CAAC;IAC1BC,EAAE,EAAE;MAAE,cAAc,EAAE,CAAC;IAAE,CAAC;IAC1BC,CAAC,EAAE;MAAE,4BAA4B,EAAE,CAAC;IAAE;EACxC;AACF,CAAC"}
@@ -0,0 +1,139 @@
1
+ "use strict";
2
+
3
+ var withOpacity = require('./with-opacity');
4
+ module.exports = {
5
+ primary: {
6
+ DEFAULT: withOpacity('--vc-colors-primary-DEFAULT'),
7
+ dark: withOpacity('--vc-colors-primary-dark'),
8
+ light: withOpacity('--vc-colors-primary-light'),
9
+ active: withOpacity('--vc-colors-primary-active'),
10
+ 50: withOpacity('--vc-colors-primary-DEFAULT'),
11
+ 100: withOpacity('--vc-colors-primary-DEFAULT'),
12
+ 200: withOpacity('--vc-colors-primary-DEFAULT'),
13
+ 300: withOpacity('--vc-colors-primary-DEFAULT'),
14
+ 400: withOpacity('--vc-colors-primary-DEFAULT'),
15
+ 500: withOpacity('--vc-colors-primary-DEFAULT'),
16
+ 600: withOpacity('--vc-colors-primary-DEFAULT'),
17
+ 700: withOpacity('--vc-colors-primary-DEFAULT'),
18
+ 800: withOpacity('--vc-colors-primary-DEFAULT'),
19
+ 900: withOpacity('--vc-colors-primary-DEFAULT')
20
+ },
21
+ secondary: {
22
+ DEFAULT: withOpacity('--vc-colors-secondary-DEFAULT'),
23
+ dark: withOpacity('--vc-colors-secondary-dark'),
24
+ light: withOpacity('--vc-colors-secondary-light'),
25
+ active: withOpacity('--vc-colors-secondary-active'),
26
+ 50: withOpacity('--vc-colors-secondary-DEFAULT'),
27
+ 100: withOpacity('--vc-colors-secondary-DEFAULT'),
28
+ 200: withOpacity('--vc-colors-secondary-DEFAULT'),
29
+ 300: withOpacity('--vc-colors-secondary-DEFAULT'),
30
+ 400: withOpacity('--vc-colors-secondary-DEFAULT'),
31
+ 500: withOpacity('--vc-colors-secondary-DEFAULT'),
32
+ 600: withOpacity('--vc-colors-secondary-DEFAULT'),
33
+ 700: withOpacity('--vc-colors-secondary-DEFAULT'),
34
+ 800: withOpacity('--vc-colors-secondary-DEFAULT'),
35
+ 900: withOpacity('--vc-colors-secondary-DEFAULT')
36
+ },
37
+ success: {
38
+ DEFAULT: withOpacity('--vc-colors-success-DEFAULT'),
39
+ dark: withOpacity('--vc-colors-success-dark'),
40
+ light: withOpacity('--vc-colors-success-light'),
41
+ active: withOpacity('--vc-colors-success-active'),
42
+ 50: withOpacity('--vc-colors-success-DEFAULT'),
43
+ 100: withOpacity('--vc-colors-success-DEFAULT'),
44
+ 200: withOpacity('--vc-colors-success-DEFAULT'),
45
+ 300: withOpacity('--vc-colors-success-DEFAULT'),
46
+ 400: withOpacity('--vc-colors-success-DEFAULT'),
47
+ 500: withOpacity('--vc-colors-success-DEFAULT'),
48
+ 600: withOpacity('--vc-colors-success-DEFAULT'),
49
+ 700: withOpacity('--vc-colors-success-DEFAULT'),
50
+ 800: withOpacity('--vc-colors-success-DEFAULT'),
51
+ 900: withOpacity('--vc-colors-success-DEFAULT')
52
+ },
53
+ info: {
54
+ DEFAULT: withOpacity('--vc-colors-info-DEFAULT'),
55
+ dark: withOpacity('--vc-colors-info-dark'),
56
+ light: withOpacity('--vc-colors-info-light'),
57
+ active: withOpacity('--vc-colors-info-active'),
58
+ 50: withOpacity('--vc-colors-info-DEFAULT'),
59
+ 100: withOpacity('--vc-colors-info-DEFAULT'),
60
+ 200: withOpacity('--vc-colors-info-DEFAULT'),
61
+ 300: withOpacity('--vc-colors-info-DEFAULT'),
62
+ 400: withOpacity('--vc-colors-info-DEFAULT'),
63
+ 500: withOpacity('--vc-colors-info-DEFAULT'),
64
+ 600: withOpacity('--vc-colors-info-DEFAULT'),
65
+ 700: withOpacity('--vc-colors-info-DEFAULT'),
66
+ 800: withOpacity('--vc-colors-info-DEFAULT'),
67
+ 900: withOpacity('--vc-colors-info-DEFAULT')
68
+ },
69
+ warning: {
70
+ DEFAULT: withOpacity('--vc-colors-warning-DEFAULT'),
71
+ dark: withOpacity('--vc-colors-warning-dark'),
72
+ light: withOpacity('--vc-colors-warning-light'),
73
+ active: withOpacity('--vc-colors-warning-active'),
74
+ 50: withOpacity('--vc-colors-warning-DEFAULT'),
75
+ 100: withOpacity('--vc-colors-warning-DEFAULT'),
76
+ 200: withOpacity('--vc-colors-warning-DEFAULT'),
77
+ 300: withOpacity('--vc-colors-warning-DEFAULT'),
78
+ 400: withOpacity('--vc-colors-warning-DEFAULT'),
79
+ 500: withOpacity('--vc-colors-warning-DEFAULT'),
80
+ 600: withOpacity('--vc-colors-warning-DEFAULT'),
81
+ 700: withOpacity('--vc-colors-warning-DEFAULT'),
82
+ 800: withOpacity('--vc-colors-warning-DEFAULT'),
83
+ 900: withOpacity('--vc-colors-warning-DEFAULT')
84
+ },
85
+ error: {
86
+ DEFAULT: withOpacity('--vc-colors-error-DEFAULT'),
87
+ dark: withOpacity('--vc-colors-error-dark'),
88
+ light: withOpacity('--vc-colors-error-light'),
89
+ active: withOpacity('--vc-colors-error-active'),
90
+ 50: withOpacity('--vc-colors-error-DEFAULT'),
91
+ 100: withOpacity('--vc-colors-error-DEFAULT'),
92
+ 200: withOpacity('--vc-colors-error-DEFAULT'),
93
+ 300: withOpacity('--vc-colors-error-DEFAULT'),
94
+ 400: withOpacity('--vc-colors-error-DEFAULT'),
95
+ 500: withOpacity('--vc-colors-error-DEFAULT'),
96
+ 600: withOpacity('--vc-colors-error-DEFAULT'),
97
+ 700: withOpacity('--vc-colors-error-DEFAULT'),
98
+ 800: withOpacity('--vc-colors-error-DEFAULT'),
99
+ 900: withOpacity('--vc-colors-error-DEFAULT')
100
+ },
101
+ neutral: {
102
+ DEFAULT: withOpacity('--vc-colors-neutral'),
103
+ 50: withOpacity('--vc-colors-neutral-50'),
104
+ 100: withOpacity('--vc-colors-neutral-100'),
105
+ 200: withOpacity('--vc-colors-neutral-200'),
106
+ 300: withOpacity('--vc-colors-neutral-300'),
107
+ 400: withOpacity('--vc-colors-neutral-400'),
108
+ 500: withOpacity('--vc-colors-neutral-500'),
109
+ 600: withOpacity('--vc-colors-neutral-600'),
110
+ 700: withOpacity('--vc-colors-neutral-700'),
111
+ 800: withOpacity('--vc-colors-neutral-800'),
112
+ 900: withOpacity('--vc-colors-neutral-900')
113
+ },
114
+ whiteAlpha: {
115
+ 50: 'rgba(255, 255, 255, 0.04)',
116
+ 100: 'rgba(255, 255, 255, 0.06)',
117
+ 200: 'rgba(255, 255, 255, 0.08)',
118
+ 300: 'rgba(255, 255, 255, 0.16)',
119
+ 400: 'rgba(255, 255, 255, 0.24)',
120
+ 500: 'rgba(255, 255, 255, 0.36)',
121
+ 600: 'rgba(255, 255, 255, 0.48)',
122
+ 700: 'rgba(255, 255, 255, 0.64)',
123
+ 800: 'rgba(255, 255, 255, 0.80)',
124
+ 900: 'rgba(255, 255, 255, 0.92)'
125
+ },
126
+ blackAlpha: {
127
+ 50: 'rgba(0, 0, 0, 0.04)',
128
+ 100: 'rgba(0, 0, 0, 0.06)',
129
+ 200: 'rgba(0, 0, 0, 0.08)',
130
+ 300: 'rgba(0, 0, 0, 0.16)',
131
+ 400: 'rgba(0, 0, 0, 0.24)',
132
+ 500: 'rgba(0, 0, 0, 0.36)',
133
+ 600: 'rgba(0, 0, 0, 0.48)',
134
+ 700: 'rgba(0, 0, 0, 0.64)',
135
+ 800: 'rgba(0, 0, 0, 0.80)',
136
+ 900: 'rgba(0, 0, 0, 0.92)'
137
+ }
138
+ };
139
+ //# sourceMappingURL=colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.js","names":["withOpacity","require","module","exports","primary","DEFAULT","dark","light","active","secondary","success","info","warning","error","neutral","whiteAlpha","blackAlpha"],"sources":["../../src/colors.js"],"sourcesContent":["const withOpacity = require('./with-opacity');\r\n\r\nmodule.exports = {\r\n primary: {\r\n DEFAULT: withOpacity('--vc-colors-primary-DEFAULT'),\r\n dark: withOpacity('--vc-colors-primary-dark'),\r\n light: withOpacity('--vc-colors-primary-light'),\r\n active: withOpacity('--vc-colors-primary-active'),\r\n 50: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 100: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 200: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 300: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 400: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 500: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 600: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 700: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 800: withOpacity('--vc-colors-primary-DEFAULT'),\r\n 900: withOpacity('--vc-colors-primary-DEFAULT'),\r\n },\r\n\r\n secondary: {\r\n DEFAULT: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n dark: withOpacity('--vc-colors-secondary-dark'),\r\n light: withOpacity('--vc-colors-secondary-light'),\r\n active: withOpacity('--vc-colors-secondary-active'),\r\n 50: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 100: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 200: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 300: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 400: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 500: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 600: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 700: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 800: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n 900: withOpacity('--vc-colors-secondary-DEFAULT'),\r\n },\r\n\r\n success: {\r\n DEFAULT: withOpacity('--vc-colors-success-DEFAULT'),\r\n dark: withOpacity('--vc-colors-success-dark'),\r\n light: withOpacity('--vc-colors-success-light'),\r\n active: withOpacity('--vc-colors-success-active'),\r\n 50: withOpacity('--vc-colors-success-DEFAULT'),\r\n 100: withOpacity('--vc-colors-success-DEFAULT'),\r\n 200: withOpacity('--vc-colors-success-DEFAULT'),\r\n 300: withOpacity('--vc-colors-success-DEFAULT'),\r\n 400: withOpacity('--vc-colors-success-DEFAULT'),\r\n 500: withOpacity('--vc-colors-success-DEFAULT'),\r\n 600: withOpacity('--vc-colors-success-DEFAULT'),\r\n 700: withOpacity('--vc-colors-success-DEFAULT'),\r\n 800: withOpacity('--vc-colors-success-DEFAULT'),\r\n 900: withOpacity('--vc-colors-success-DEFAULT'),\r\n },\r\n\r\n info: {\r\n DEFAULT: withOpacity('--vc-colors-info-DEFAULT'),\r\n dark: withOpacity('--vc-colors-info-dark'),\r\n light: withOpacity('--vc-colors-info-light'),\r\n active: withOpacity('--vc-colors-info-active'),\r\n 50: withOpacity('--vc-colors-info-DEFAULT'),\r\n 100: withOpacity('--vc-colors-info-DEFAULT'),\r\n 200: withOpacity('--vc-colors-info-DEFAULT'),\r\n 300: withOpacity('--vc-colors-info-DEFAULT'),\r\n 400: withOpacity('--vc-colors-info-DEFAULT'),\r\n 500: withOpacity('--vc-colors-info-DEFAULT'),\r\n 600: withOpacity('--vc-colors-info-DEFAULT'),\r\n 700: withOpacity('--vc-colors-info-DEFAULT'),\r\n 800: withOpacity('--vc-colors-info-DEFAULT'),\r\n 900: withOpacity('--vc-colors-info-DEFAULT'),\r\n },\r\n\r\n warning: {\r\n DEFAULT: withOpacity('--vc-colors-warning-DEFAULT'),\r\n dark: withOpacity('--vc-colors-warning-dark'),\r\n light: withOpacity('--vc-colors-warning-light'),\r\n active: withOpacity('--vc-colors-warning-active'),\r\n 50: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 100: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 200: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 300: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 400: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 500: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 600: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 700: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 800: withOpacity('--vc-colors-warning-DEFAULT'),\r\n 900: withOpacity('--vc-colors-warning-DEFAULT'),\r\n },\r\n\r\n error: {\r\n DEFAULT: withOpacity('--vc-colors-error-DEFAULT'),\r\n dark: withOpacity('--vc-colors-error-dark'),\r\n light: withOpacity('--vc-colors-error-light'),\r\n active: withOpacity('--vc-colors-error-active'),\r\n 50: withOpacity('--vc-colors-error-DEFAULT'),\r\n 100: withOpacity('--vc-colors-error-DEFAULT'),\r\n 200: withOpacity('--vc-colors-error-DEFAULT'),\r\n 300: withOpacity('--vc-colors-error-DEFAULT'),\r\n 400: withOpacity('--vc-colors-error-DEFAULT'),\r\n 500: withOpacity('--vc-colors-error-DEFAULT'),\r\n 600: withOpacity('--vc-colors-error-DEFAULT'),\r\n 700: withOpacity('--vc-colors-error-DEFAULT'),\r\n 800: withOpacity('--vc-colors-error-DEFAULT'),\r\n 900: withOpacity('--vc-colors-error-DEFAULT'),\r\n },\r\n\r\n neutral: {\r\n DEFAULT: withOpacity('--vc-colors-neutral'),\r\n 50: withOpacity('--vc-colors-neutral-50'),\r\n 100: withOpacity('--vc-colors-neutral-100'),\r\n 200: withOpacity('--vc-colors-neutral-200'),\r\n 300: withOpacity('--vc-colors-neutral-300'),\r\n 400: withOpacity('--vc-colors-neutral-400'),\r\n 500: withOpacity('--vc-colors-neutral-500'),\r\n 600: withOpacity('--vc-colors-neutral-600'),\r\n 700: withOpacity('--vc-colors-neutral-700'),\r\n 800: withOpacity('--vc-colors-neutral-800'),\r\n 900: withOpacity('--vc-colors-neutral-900'),\r\n },\r\n\r\n whiteAlpha: {\r\n 50: 'rgba(255, 255, 255, 0.04)',\r\n 100: 'rgba(255, 255, 255, 0.06)',\r\n 200: 'rgba(255, 255, 255, 0.08)',\r\n 300: 'rgba(255, 255, 255, 0.16)',\r\n 400: 'rgba(255, 255, 255, 0.24)',\r\n 500: 'rgba(255, 255, 255, 0.36)',\r\n 600: 'rgba(255, 255, 255, 0.48)',\r\n 700: 'rgba(255, 255, 255, 0.64)',\r\n 800: 'rgba(255, 255, 255, 0.80)',\r\n 900: 'rgba(255, 255, 255, 0.92)',\r\n },\r\n\r\n blackAlpha: {\r\n 50: 'rgba(0, 0, 0, 0.04)',\r\n 100: 'rgba(0, 0, 0, 0.06)',\r\n 200: 'rgba(0, 0, 0, 0.08)',\r\n 300: 'rgba(0, 0, 0, 0.16)',\r\n 400: 'rgba(0, 0, 0, 0.24)',\r\n 500: 'rgba(0, 0, 0, 0.36)',\r\n 600: 'rgba(0, 0, 0, 0.48)',\r\n 700: 'rgba(0, 0, 0, 0.64)',\r\n 800: 'rgba(0, 0, 0, 0.80)',\r\n 900: 'rgba(0, 0, 0, 0.92)',\r\n },\r\n};\r\n"],"mappings":";;AAAA,IAAMA,WAAW,GAAGC,OAAO,CAAC,gBAAgB,CAAC;AAE7CC,MAAM,CAACC,OAAO,GAAG;EACfC,OAAO,EAAE;IACPC,OAAO,EAAEL,WAAW,CAAC,6BAA6B,CAAC;IACnDM,IAAI,EAAEN,WAAW,CAAC,0BAA0B,CAAC;IAC7CO,KAAK,EAAEP,WAAW,CAAC,2BAA2B,CAAC;IAC/CQ,MAAM,EAAER,WAAW,CAAC,4BAA4B,CAAC;IACjD,EAAE,EAAEA,WAAW,CAAC,6BAA6B,CAAC;IAC9C,GAAG,EAAEA,WAAW,CAAC,6BAA6B,CAAC;IAC/C,GAAG,EAAEA,WAAW,CAAC,6BAA6B,CAAC;IAC/C,GAAG,EAAEA,WAAW,CAAC,6BAA6B,CAAC;IAC/C,GAA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col text-left': {},
8
+ '[aria-expanded="true"] &': {
9
+ '@apply bg-hover': {}
10
+ },
11
+ '&-icon': {
12
+ '@apply ml-auto !text-2xl': {}
13
+ }
14
+ },
15
+ '&-is-open &-header': {
16
+ '@apply bg-hover': {}
17
+ },
18
+ '&-toggle': {
19
+ '@apply flex items-center inline-block text-lg leading-lg text-left text-lg mx-md sm:mx-lg my-md': {},
20
+ fontWeight: 'bold',
21
+ //"@apply focus-visible:shadow shadow-lg": {},
22
+ '&:focus-visible': {
23
+ boxShadow: '0 0 0 0.4rem #fff!important',
24
+ outline: '0'
25
+ //"@apply border-4": {},
26
+ },
27
+
28
+ '.accordion-title': {
29
+ '@apply mr-md text-base leading-base md:text-lg md:leading-lg': {}
30
+ },
31
+ '.accordion-subtitle': {
32
+ '@apply m-0 mr-md text-sm font-normal': {}
33
+ }
34
+ },
35
+ '&-body': {
36
+ '@apply h-0 overflow-hidden': {},
37
+ transitionProperty: 'visibility, height, padding, margin',
38
+ transitionTimingFunction: 'cubic-bezier(0.4, 0, 0.2, 1)',
39
+ transitionDuration: '180ms',
40
+ '&[aria-hidden="true"], &[data-hidden="true"]': {
41
+ '@apply my-0 invisible': {}
42
+ },
43
+ '&[aria-hidden="false"], &[data-hidden="false"]': {
44
+ '@apply block h-auto visible': {}
45
+ }
46
+ },
47
+ '&-solid': {
48
+ '@apply border border-primary': {},
49
+ '.accordion-header': {
50
+ '@apply bg-primary text-white': {},
51
+ '[aria-expanded="true"] &': {
52
+ '@apply bg-hover': {}
53
+ }
54
+ }
55
+ },
56
+ '&-alert': {
57
+ '@apply border border-warning': {},
58
+ '.accordion-header': {
59
+ '@apply bg-warning-light text-warning': {},
60
+ '[aria-expanded="true"] &': {
61
+ '@apply bg-warning-light': {}
62
+ }
63
+ }
64
+ },
65
+ '&-is-open': {
66
+ '@apply border border-gray-stroke': {},
67
+ '& .accordion-header': {
68
+ '@apply bg-hover text-white': {}
69
+ }
70
+ },
71
+ '&-is-open-alert': {
72
+ '@apply border border-warning': {},
73
+ '& .accordion-header': {
74
+ '@apply border-b border-warning': {}
75
+ }
76
+ },
77
+ '&-is-open &-body &-is-open-alert': {
78
+ '@apply overflow-visible animate-reset-overflow': {}
79
+ },
80
+ '&-outline': {
81
+ '@apply border border-gray-stroke': {},
82
+ '.accordion-body': {
83
+ '@apply mt-0': {}
84
+ },
85
+ '.accordion-toggle': {
86
+ '&:focus-visible': {
87
+ boxShadow: '0 0 0 0.4rem #4b4b4b!important',
88
+ outline: '0'
89
+ }
90
+ },
91
+ '.accordion-header': {
92
+ '@apply bg-transparent text-body': {},
93
+ '[aria-expanded="true"] &': {
94
+ '@apply bg-hover': {}
95
+ }
96
+ }
97
+ },
98
+ '&-disabled, &-disabled button': {
99
+ '@apply disabled:cursor-not-allowed cursor-not-allowed': {}
100
+ },
101
+ '&-disabled &-header': {
102
+ '@apply bg-gray-lighter text-gray': {}
103
+ },
104
+ '&-disabled, &&-disabled': {
105
+ '@apply border-gray': {}
106
+ }
107
+ }
108
+ };
109
+ };
110
+ //# sourceMappingURL=accordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.js","names":["module","exports","Accordion","colors","fontWeight","boxShadow","outline","transitionProperty","transitionTimingFunction","transitionDuration"],"sources":["../../../src/components/accordion.js"],"sourcesContent":["module.exports = Accordion = (colors) => ({\r\n '.accordion': {\r\n '&-header': {\r\n '@apply flex flex-col text-left': {},\r\n\r\n '[aria-expanded=\"true\"] &': {\r\n '@apply bg-hover': {},\r\n },\r\n\r\n '&-icon': {\r\n '@apply ml-auto !text-2xl': {},\r\n },\r\n },\r\n\r\n '&-is-open &-header': {\r\n '@apply bg-hover': {},\r\n },\r\n\r\n '&-toggle': {\r\n '@apply flex items-center inline-block text-lg leading-lg text-left text-lg mx-md sm:mx-lg my-md': {},\r\n fontWeight: 'bold',\r\n //\"@apply focus-visible:shadow shadow-lg\": {},\r\n '&:focus-visible': {\r\n boxShadow: '0 0 0 0.4rem #fff!important',\r\n outline: '0',\r\n //\"@apply border-4\": {},\r\n },\r\n '.accordion-title': {\r\n '@apply mr-md text-base leading-base md:text-lg md:leading-lg': {},\r\n },\r\n '.accordion-subtitle': {\r\n '@apply m-0 mr-md text-sm font-normal': {},\r\n },\r\n },\r\n\r\n '&-body': {\r\n '@apply h-0 overflow-hidden': {},\r\n transitionProperty: 'visibility, height, padding, margin',\r\n transitionTimingFunction: 'cubic-bezier(0.4, 0, 0.2, 1)',\r\n transitionDuration: '180ms',\r\n\r\n '&[aria-hidden=\"true\"], &[data-hidden=\"true\"]': {\r\n '@apply my-0 invisible': {},\r\n },\r\n\r\n '&[aria-hidden=\"false\"], &[data-hidden=\"false\"]': {\r\n '@apply block h-auto visible': {},\r\n },\r\n },\r\n\r\n '&-solid': {\r\n '@apply border border-primary': {},\r\n '.accordion-header': {\r\n '@apply bg-primary text-white': {},\r\n\r\n '[aria-expanded=\"true\"] &': {\r\n '@apply bg-hover': {},\r\n },\r\n },\r\n },\r\n\r\n '&-alert': {\r\n '@apply border border-warning': {},\r\n '.accordion-header': {\r\n '@apply bg-warning-light text-warning': {},\r\n\r\n '[aria-expanded=\"true\"] &': {\r\n '@apply bg-warning-light': {},\r\n },\r\n },\r\n },\r\n\r\n '&-is-open': {\r\n '@apply border border-gray-stroke': {},\r\n '& .accordion-header': {\r\n '@apply bg-hover text-white': {},\r\n },\r\n },\r\n\r\n '&-is-open-alert': {\r\n '@apply border border-warning': {},\r\n '& .accordion-header': {\r\n '@apply border-b border-warning': {},\r\n },\r\n },\r\n\r\n '&-is-open &-body &-is-open-alert': {\r\n '@apply overflow-visible animate-reset-overflow': {},\r\n },\r\n\r\n '&-outline': {\r\n '@apply border border-gray-stroke': {},\r\n '.accordion-body': {\r\n '@apply mt-0': {},\r\n },\r\n '.accordion-toggle': {\r\n '&:focus-visible': {\r\n boxShadow: '0 0 0 0.4rem #4b4b4b!important',\r\n outline: '0',\r\n },\r\n },\r\n '.accordion-header': {\r\n '@apply bg-transparent text-body': {},\r\n\r\n '[aria-expanded=\"true\"] &': {\r\n '@apply bg-hover': {},\r\n },\r\n },\r\n },\r\n\r\n '&-disabled, &-disabled button': {\r\n '@apply disabled:cursor-not-allowed cursor-not-allowed': {},\r\n },\r\n\r\n '&-disabled &-header': {\r\n '@apply bg-gray-lighter text-gray': {},\r\n },\r\n\r\n '&-disabled, &&-disabled': {\r\n '@apply border-gray': {},\r\n },\r\n },\r\n});\r\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAO,GAAGC,SAAS,GAAG,SAAAA,UAACC,MAAM;EAAA,OAAM;IACxC,YAAY,EAAE;MACZ,UAAU,EAAE;QACV,gCAAgC,EAAE,CAAC,CAAC;QAEpC,0BAA0B,EAAE;UAC1B,iBAAiB,EAAE,CAAC;QACtB,CAAC;QAED,QAAQ,EAAE;UACR,0BAA0B,EAAE,CAAC;QAC/B;MACF,CAAC;MAED,oBAAoB,EAAE;QACpB,iBAAiB,EAAE,CAAC;MACtB,CAAC;MAED,UAAU,EAAE;QACV,iGAAiG,EAAE,CAAC,CAAC;QACrGC,UAAU,EAAE,MAAM;QAClB;QACA,iBAAiB,EAAE;UACjBC,SAAS,EAAE,6BAA6B;UACxCC,OAAO,EAAE;UACT;QACF,CAAC;;QACD,kBAAkB,EAAE;UAClB,8DAA8D,EAAE,CAAC;QACnE,CAAC;QACD,qBAAqB,EAAE;UACrB,sCAAsC,EAAE,CAAC;QAC3C;MACF,CAAC;MAED,QAAQ,EAAE;QACR,4BAA4B,EAAE,CAAC,CAAC;QAChCC,kBAAkB,EAAE,qCAAqC;QACzDC,wBAAwB,EAAE,8BAA8B;QACxDC,kBAAkB,EAAE,OAAO;QAE3B,8CAA8C,EAAE;UAC9C,uBAAuB,EAAE,CAAC;QAC5B,CAAC;QAED,gDAAgD,EAAE;UAChD,6BAA6B,EAAE,CAAC;QAClC;MACF,CAAC;MAED,SAAS,EAAE;QACT,8BAA8B,EAAE,CAAC,CAAC;QAClC,mBAAmB,EAAE;UACnB,8BAA8B,EAAE,CAAC,CAAC;UAElC,0BAA0B,EAAE;YAC1B,iBAAiB,EAAE,CAAC;UACtB;QACF;MACF,CAAC;MAED,SAAS,EAAE;QACT,8BAA8B,EAAE,CAAC,CAAC;QAClC,mBAAmB,EAAE;UACnB,sCAAsC,EAAE,CAAC,CAAC;UAE1C,0BAA0B,EAAE;YAC1B,yBAAyB,EAAE,CAAC;UAC9B;QACF;MACF,CAAC;MAED,WAAW,EAAE;QACX,kCAAkC,EAAE,CAAC,CAAC;QACtC,qBAAqB,EAAE;UACrB,4BAA4B,EAAE,CAAC;QACjC;MACF,CAAC;MAED,iBAAiB,EAAE;QACjB,8BAA8B,EAAE,CAAC,CAAC;QAClC,qBAAqB,EAAE;UACrB,gCAAgC,EAAE,CAAC;QACrC;MACF,CAAC;MAED,kCAAkC,EAAE;QAClC,gDAAgD,EAAE,CAAC;MACrD,CAAC;MAED,WAAW,EAAE;QACX,kCAAkC,EAAE,CAAC,CAAC;QACtC,iBAAiB,EAAE;UACjB,aAAa,EAAE,CAAC;QAClB,CAAC;QACD,mBAAmB,EAAE;UACnB,iBAAiB,EAAE;YACjBJ,SAAS,EAAE,gCAAgC;YAC3CC,OAAO,EAAE;UACX;QACF,CAAC;QACD,mBAAmB,EAAE;UACnB,iCAAiC,EAAE,CAAC,CAAC;UAErC,0BAA0B,EAAE;YAC1B,iBAAiB,EAAE,CAAC;UACtB;QACF;MACF,CAAC;MAED,+BAA+B,EAAE;QAC/B,uDAAuD,EAAE,CAAC;MAC5D,CAAC;MAED,qBAAqB,EAAE;QACrB,kCAAkC,EAAE,CAAC;MACvC,CAAC;MAED,yBAAyB,EAAE;QACzB,oBAAoB,EAAE,CAAC;MACzB;IACF;EACF,CAAC;AAAA,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ module.exports = Modal = function Modal() {
4
+ return {
5
+ '.alert-banner': {
6
+ '@apply p-md': {},
7
+ '&-content': {
8
+ '@apply w-full m-auto flex': {},
9
+ '&-wrapper': {
10
+ '@apply flex-grow flex': {}
11
+ }
12
+ },
13
+ '&-icon': {
14
+ '@apply mr-[10px]': {}
15
+ },
16
+ '&-children': {
17
+ '@apply w-full underline inline-block max-w-[800px] text-body text-base': {}
18
+ },
19
+ '&-close': {
20
+ '@apply p-4 -m-4 flex flex-col': {}
21
+ }
22
+ },
23
+ '.tab': {
24
+ '@apply mr-[10px] bg-white pt-4 pb-3 px-4 rounded-b-3xl shadow-[rgba(0,_0,_0,_0.24)_0px_1.5px_4px]': {}
25
+ }
26
+ };
27
+ };
28
+ //# sourceMappingURL=alert-banner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-banner.js","names":["module","exports","Modal"],"sources":["../../../src/components/alert-banner.js"],"sourcesContent":["module.exports = Modal = () => ({\r\n '.alert-banner': {\r\n '@apply p-md': {},\r\n\r\n '&-content': {\r\n '@apply w-full m-auto flex': {},\r\n\r\n '&-wrapper': {\r\n '@apply flex-grow flex': {},\r\n },\r\n },\r\n\r\n '&-icon': {\r\n '@apply mr-[10px]': {},\r\n },\r\n\r\n '&-children': {\r\n '@apply w-full underline inline-block max-w-[800px] text-body text-base': {},\r\n },\r\n\r\n '&-close': {\r\n '@apply p-4 -m-4 flex flex-col': {},\r\n },\r\n },\r\n\r\n '.tab': {\r\n '@apply mr-[10px] bg-white pt-4 pb-3 px-4 rounded-b-3xl shadow-[rgba(0,_0,_0,_0.24)_0px_1.5px_4px]': {},\r\n },\r\n \r\n});\r\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAO,GAAGC,KAAK,GAAG,SAAAA,MAAA;EAAA,OAAO;IAC9B,eAAe,EAAE;MACf,aAAa,EAAE,CAAC,CAAC;MAEjB,WAAW,EAAE;QACX,2BAA2B,EAAE,CAAC,CAAC;QAE/B,WAAW,EAAE;UACX,uBAAuB,EAAE,CAAC;QAC5B;MACF,CAAC;MAED,QAAQ,EAAE;QACR,kBAAkB,EAAE,CAAC;MACvB,CAAC;MAED,YAAY,EAAE;QACZ,wEAAwE,EAAE,CAAC;MAC7E,CAAC;MAED,SAAS,EAAE;QACT,+BAA+B,EAAE,CAAC;MACpC;IACF,CAAC;IAED,MAAM,EAAE;MACN,mGAAmG,EAAE,CAAC;IACxG;EAEF,CAAC;AAAA,CAAC"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ function alertSubtle(colors) {
5
+ return {
6
+ '.alert-subtle': _extends({
7
+ '@apply border rounded-base': {},
8
+ '@apply text-body': {}
9
+ }, colors.reduce(function (styles, color) {
10
+ var _ref, _extends2;
11
+ return _extends({}, styles, (_extends2 = {}, _extends2["&[data-color=\"" + color + "\"]"] = (_ref = {}, _ref["@apply bg-" + color + "-50 border-" + color + "-500"] = {}, _ref["@apply dark:text-" + color + "-300 dark:bg-" + color + "-500"] = {}, _ref['@apply dark:bg-opacity-15'] = {}, _ref['@apply dark:border-opacity-40'] = {}, _ref), _extends2));
12
+ }, {}))
13
+ };
14
+ }
15
+ function alertSolid(colors) {
16
+ return {
17
+ '.alert-solid': _extends({
18
+ '@apply border rounded-base': {},
19
+ '@apply text-white': {}
20
+ }, colors.reduce(function (styles, color) {
21
+ var _ref2, _extends3;
22
+ return _extends({}, styles, (_extends3 = {}, _extends3["&[data-color=\"" + color + "\"]"] = (_ref2 = {}, _ref2["@apply bg-" + color + "-500 border-" + color + "-700 border-opacity-20"] = {}, _ref2["@apply dark:bg-" + color + "-600 dark:border-" + color + "-500"] = {}, _ref2['@apply dark:border-opacity-40'] = {}, _ref2), _extends3));
23
+ }, {}))
24
+ };
25
+ }
26
+ function alertLeftAccent(colors) {
27
+ return {
28
+ '.alert-left-accent': _extends({
29
+ '@apply border-l-2 rounded-none': {},
30
+ '@apply text-body': {}
31
+ }, colors.reduce(function (styles, color) {
32
+ var _ref3, _extends4;
33
+ return _extends({}, styles, (_extends4 = {}, _extends4["&[data-color=\"" + color + "\"]"] = (_ref3 = {}, _ref3["@apply bg-transparent border-" + color + "-500"] = {}, _ref3["@apply dark:text-" + color + "-300"] = {}, _ref3), _extends4));
34
+ }, {}))
35
+ };
36
+ }
37
+ function alertCloseButton(colors) {
38
+ return {
39
+ '.alert-close-button': _extends({
40
+ '@apply absolute right-4 cursor-base focus-visible:outline-none': {},
41
+ '@apply text-neutral-600 hover:text-neutral-700': {}
42
+ }, colors.reduce(function (styles, color) {
43
+ var _ref4, _extends5;
44
+ return _extends({}, styles, (_extends5 = {}, _extends5["&[data-color=\"" + color + "\"]"] = (_ref4 = {}, _ref4["@apply dark:text-" + color + "-300 dark:hover:text-" + color + "-400"] = {}, _ref4), _extends5));
45
+ }, {}))
46
+ };
47
+ }
48
+ module.exports = Alert = function Alert(colors) {
49
+ return _extends({
50
+ '.alert': {
51
+ '@apply w-full flex items-center px-4 py-3 relative overflow-hidden text-sm': {}
52
+ }
53
+ }, alertSubtle(colors), alertSolid(colors), alertLeftAccent(colors), alertCloseButton(colors));
54
+ };
55
+ //# sourceMappingURL=alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","names":["alertSubtle","colors","_extends","reduce","styles","color","_ref","_extends2","alertSolid","_ref2","_extends3","alertLeftAccent","_ref3","_extends4","alertCloseButton","_ref4","_extends5","module","exports","Alert"],"sources":["../../../src/components/alert.js"],"sourcesContent":["function alertSubtle(colors) {\r\n return {\r\n '.alert-subtle': {\r\n '@apply border rounded-base': {},\r\n '@apply text-body': {},\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n [`@apply bg-${color}-50 border-${color}-500`]: {},\r\n\r\n [`@apply dark:text-${color}-300 dark:bg-${color}-500`]: {},\r\n '@apply dark:bg-opacity-15': {},\r\n '@apply dark:border-opacity-40': {},\r\n },\r\n }),\r\n {}\r\n ),\r\n },\r\n };\r\n}\r\n\r\nfunction alertSolid(colors) {\r\n return {\r\n '.alert-solid': {\r\n '@apply border rounded-base': {},\r\n '@apply text-white': {},\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n [`@apply bg-${color}-500 border-${color}-700 border-opacity-20`]: {},\r\n\r\n [`@apply dark:bg-${color}-600 dark:border-${color}-500`]: {},\r\n '@apply dark:border-opacity-40': {},\r\n },\r\n }),\r\n {}\r\n ),\r\n },\r\n };\r\n}\r\n\r\nfunction alertLeftAccent(colors) {\r\n return {\r\n '.alert-left-accent': {\r\n '@apply border-l-2 rounded-none': {},\r\n '@apply text-body': {},\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n [`@apply bg-transparent border-${color}-500`]: {},\r\n\r\n [`@apply dark:text-${color}-300`]: {},\r\n },\r\n }),\r\n {}\r\n ),\r\n },\r\n };\r\n}\r\n\r\nfunction alertCloseButton(colors) {\r\n return {\r\n '.alert-close-button': {\r\n '@apply absolute right-4 cursor-base focus-visible:outline-none': {},\r\n '@apply text-neutral-600 hover:text-neutral-700': {},\r\n\r\n ...colors.reduce(\r\n (styles, color) => ({\r\n ...styles,\r\n [`&[data-color=\"${color}\"]`]: {\r\n [`@apply dark:text-${color}-300 dark:hover:text-${color}-400`]: {},\r\n },\r\n }),\r\n {}\r\n ),\r\n },\r\n };\r\n}\r\n\r\nmodule.exports = Alert = (colors) => ({\r\n '.alert': {\r\n '@apply w-full flex items-center px-4 py-3 relative overflow-hidden text-sm': {},\r\n },\r\n\r\n // variants\r\n ...alertSubtle(colors),\r\n ...alertSolid(colors),\r\n ...alertLeftAccent(colors),\r\n\r\n // close button\r\n ...alertCloseButton(colors),\r\n});\r\n"],"mappings":";;;AAAA,SAASA,WAAWA,CAACC,MAAM,EAAE;EAC3B,OAAO;IACL,eAAe,EAAAC,QAAA;MACb,4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nBD,MAAM,CAACE,MAAM,CACd,UAACC,MAAM,EAAEC,KAAK;MAAA,IAAAO,KAAA,EAAAC,SAAA;MAAA,OAAAX,QAAA,KACTE,MAAM,GAAAS,SAAA,OAAAA,SAAA,qBACSR,KAAK,aAAAO,KAAA,OAAAA,KAAA,mCACYP,KAAK,aAAS,CAAC,CAAC,EAAAO,KAAA,uBAE5BP,KAAK,aAAS,CAAC,CAAC,EAAAO,KAAA,GAAAC,SAAA;IAAA,CAEvC,EACF,CAAC,CAAC,CACH;EAEL,CAAC;AACH;AAEA,SAASC,gBAAgBA,CAACb,MAAM,EAAE;EAChC,OAAO;IACL,qBAAqB,EAAAC,QAAA;MACnB,gEAAgE,EAAE,CAAC,CAAC;MACpE,gDAAgD,EAAE,CAAC;IAAC,GAEjDD,MAAM,CAACE,MAAM,CACd,UAACC,MAAM,EAAEC,KAAK;MAAA,IAAAU,KAAA,EAAAC,SAAA;MAAA,OAAAd,QAAA,KACTE,MAAM,GAAAY,SAAA,OAAAA,SAAA,qBACSX,KAAK,aAAAU,KAAA,OAAAA,KAAA,uBACAV,KAAK,6BAAwBA,KAAK,aAAS,CAAC,CAAC,EAAAU,KAAA,GAAAC,SAAA;IAAA,CAEpE,EACF,CAAC,CAAC,CACH;EAEL,CAAC;AACH;AAEAC,MAAM,CAACC,OAAO,GAAGC,KAAK,GAAG,SAAAA,MAAClB,MAAM;EAAA,OAAAC,QAAA;IAC9B,QAAQ,EAAE;MACR,4EAA4E,EAAE,CAAC;IACjF;EAAC,GAGEF,WAAW,CAACC,MAAM,CAAC,EACnBO,UAAU,CAACP,MAAM,CAAC,EAClBU,eAAe,CAACV,MAAM,CAAC,EAGvBa,gBAAgB,CAACb,MAAM,CAAC;AAAA,CAC3B"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+
3
+ module.exports = Avatar = function Avatar() {
4
+ return {
5
+ '.avatar': {
6
+ '@apply relative inline-flex items-center justify-center flex-shrink-0 align-top rounded-full': {},
7
+ '@apply bg-neutral-300 text-neutral-800': {},
8
+ // dark colors
9
+ '@apply dark:bg-neutral-600 dark:text-neutral-100': {},
10
+ '&-2xs': {
11
+ '@apply w-4 h-4': {}
12
+ },
13
+ '&-xs': {
14
+ '@apply w-5 h-5': {}
15
+ },
16
+ '&-sm': {
17
+ '@apply w-6 h-6': {}
18
+ },
19
+ '&-md': {
20
+ '@apply w-7 h-7': {}
21
+ },
22
+ '&-lg': {
23
+ '@apply w-8 h-8': {}
24
+ },
25
+ '&-xl': {
26
+ '@apply w-10 h-10': {}
27
+ },
28
+ '&-2xl': {
29
+ '@apply w-12 h-12': {}
30
+ },
31
+ '&-3xl': {
32
+ '@apply w-16 h-16': {}
33
+ }
34
+ },
35
+ '.avatar-bordered': {
36
+ '@apply border-2 border-white': {},
37
+ '@apply dark:border-neutral-800': {}
38
+ },
39
+ '.avatar-name': {
40
+ '@apply font-medium text-center uppercase': {},
41
+ '&-2xs': {
42
+ '@apply w-4 h-4': {}
43
+ },
44
+ '&-xs': {
45
+ '@apply w-5 h-5': {}
46
+ },
47
+ '&-sm': {
48
+ '@apply w-6 h-6': {}
49
+ },
50
+ '&-md': {
51
+ '@apply w-7 h-7': {}
52
+ },
53
+ '&-lg': {
54
+ '@apply w-8 h-8': {}
55
+ },
56
+ '&-xl': {
57
+ '@apply w-10 h-10': {}
58
+ },
59
+ '&-2xl': {
60
+ '@apply w-12 h-12': {}
61
+ },
62
+ '&-3xl': {
63
+ '@apply w-16 h-16': {}
64
+ }
65
+ },
66
+ '.avatar-group': {
67
+ '@apply flex items-center justify-end flex-row-reverse': {}
68
+ }
69
+ };
70
+ };
71
+ //# sourceMappingURL=avatar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.js","names":["module","exports","Avatar"],"sources":["../../../src/components/avatar.js"],"sourcesContent":["module.exports = Avatar = () => ({\r\n '.avatar': {\r\n '@apply relative inline-flex items-center justify-center flex-shrink-0 align-top rounded-full': {},\r\n '@apply bg-neutral-300 text-neutral-800': {},\r\n // dark colors\r\n '@apply dark:bg-neutral-600 dark:text-neutral-100': {},\r\n\r\n '&-2xs': {\r\n '@apply w-4 h-4': {},\r\n },\r\n\r\n '&-xs': {\r\n '@apply w-5 h-5': {},\r\n },\r\n\r\n '&-sm': {\r\n '@apply w-6 h-6': {},\r\n },\r\n\r\n '&-md': {\r\n '@apply w-7 h-7': {},\r\n },\r\n\r\n '&-lg': {\r\n '@apply w-8 h-8': {},\r\n },\r\n\r\n '&-xl': {\r\n '@apply w-10 h-10': {},\r\n },\r\n\r\n '&-2xl': {\r\n '@apply w-12 h-12': {},\r\n },\r\n\r\n '&-3xl': {\r\n '@apply w-16 h-16': {},\r\n },\r\n },\r\n\r\n '.avatar-bordered': {\r\n '@apply border-2 border-white': {},\r\n '@apply dark:border-neutral-800': {},\r\n },\r\n\r\n '.avatar-name': {\r\n '@apply font-medium text-center uppercase': {},\r\n\r\n '&-2xs': {\r\n '@apply w-4 h-4': {},\r\n },\r\n\r\n '&-xs': {\r\n '@apply w-5 h-5': {},\r\n },\r\n\r\n '&-sm': {\r\n '@apply w-6 h-6': {},\r\n },\r\n\r\n '&-md': {\r\n '@apply w-7 h-7': {},\r\n },\r\n\r\n '&-lg': {\r\n '@apply w-8 h-8': {},\r\n },\r\n\r\n '&-xl': {\r\n '@apply w-10 h-10': {},\r\n },\r\n\r\n '&-2xl': {\r\n '@apply w-12 h-12': {},\r\n },\r\n\r\n '&-3xl': {\r\n '@apply w-16 h-16': {},\r\n },\r\n },\r\n\r\n '.avatar-group': {\r\n '@apply flex items-center justify-end flex-row-reverse': {},\r\n },\r\n});\r\n"],"mappings":";;AAAAA,MAAM,CAACC,OAAO,GAAGC,MAAM,GAAG,SAAAA,OAAA;EAAA,OAAO;IAC/B,SAAS,EAAE;MACT,8FAA8F,EAAE,CAAC,CAAC;MAClG,wCAAwC,EAAE,CAAC,CAAC;MAC5C;MACA,kDAAkD,EAAE,CAAC,CAAC;MAEtD,OAAO,EAAE;QACP,gBAAgB,EAAE,C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