@functionalui/functionalui 0.2.1 → 0.2.4

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 (240) hide show
  1. package/dist/Avatar-BK9MFMsZ.cjs +1 -0
  2. package/dist/Avatar-CQA0mEVW.js +118 -0
  3. package/dist/Button-CpTXDsI7.js +215 -0
  4. package/dist/Button-rg5gSHcQ.cjs +1 -0
  5. package/dist/Checkbox-BHpT6PHl.cjs +1 -0
  6. package/dist/Checkbox-C29jP71p.js +96 -0
  7. package/dist/GlobalEventContext-D9ug9s1O.cjs +1 -0
  8. package/dist/GlobalEventContext-DUmT3Vay.js +49 -0
  9. package/dist/GlobalEventPortal-BIdCGd-m.cjs +1 -0
  10. package/dist/GlobalEventPortal-GjfUDr2B.js +17 -0
  11. package/dist/LabelText-BUslE9cx.cjs +1 -0
  12. package/dist/LabelText-D7QIWtWj.js +35 -0
  13. package/dist/Modal-BRIYhcOg.cjs +3 -0
  14. package/dist/Modal-DXLyt-j4.js +1290 -0
  15. package/dist/SpringEnterOffsetBy-BVN6rm57.cjs +1 -0
  16. package/dist/SpringEnterOffsetBy-DMSIQgV3.js +56 -0
  17. package/dist/TableHeader-BAdYoCbb.cjs +1 -0
  18. package/dist/TableHeader-Da0XxILB.js +103 -0
  19. package/dist/TableRow-BlJSvake.js +90 -0
  20. package/dist/TableRow-Bq58CTbU.cjs +1 -0
  21. package/dist/TagColor-BYKxfOU6.js +957 -0
  22. package/dist/TagColor-QGINp77p.cjs +1 -0
  23. package/dist/UIcon-B5rpDmHC.cjs +1 -0
  24. package/dist/UIcon-BHzbeYWw.js +245 -0
  25. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  26. package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
  27. package/dist/admonition/index.cjs +1 -0
  28. package/dist/admonition/index.d.ts +27 -0
  29. package/dist/admonition/index.mjs +88 -0
  30. package/dist/avatar/index.cjs +1 -0
  31. package/dist/avatar/index.d.ts +115 -0
  32. package/dist/avatar/index.mjs +4 -0
  33. package/dist/avatar-group/index.cjs +1 -0
  34. package/dist/avatar-group/index.d.ts +120 -0
  35. package/dist/avatar-group/index.mjs +52 -0
  36. package/dist/button/index.cjs +1 -0
  37. package/dist/button/index.d.ts +249 -0
  38. package/dist/button/index.mjs +4 -0
  39. package/dist/checkbox/index.cjs +1 -0
  40. package/dist/checkbox/index.d.ts +32 -0
  41. package/dist/checkbox/index.mjs +4 -0
  42. package/dist/checkboxes/index.cjs +1 -0
  43. package/dist/checkboxes/index.d.ts +38 -0
  44. package/dist/checkboxes/index.mjs +80 -0
  45. package/dist/chip/index.cjs +1 -0
  46. package/dist/chip/index.d.ts +159 -0
  47. package/dist/chip/index.mjs +132 -0
  48. package/dist/classes-CBD1K4L1.js +779 -0
  49. package/dist/classes-CVxy1f4M.js +137 -0
  50. package/dist/classes-CtwIjJdw.cjs +1 -0
  51. package/dist/classes-HsjFV5aN.cjs +1 -0
  52. package/dist/color-picker/index.cjs +1 -0
  53. package/dist/color-picker/index.d.ts +14 -0
  54. package/dist/color-picker/index.mjs +234 -0
  55. package/dist/component-B1mkowwk.cjs +1 -0
  56. package/dist/component-B6F6g6i4.cjs +1 -0
  57. package/dist/component-BbvCmqLI.cjs +1 -0
  58. package/dist/component-Bh3EPTN0.cjs +1 -0
  59. package/dist/component-BvHdlcdE.js +9 -0
  60. package/dist/component-C1Gs4nVu.js +55 -0
  61. package/dist/component-CBIQe7z5.js +29 -0
  62. package/dist/component-CW2JPBAq.js +59 -0
  63. package/dist/component-D-EEi7NI.cjs +1 -0
  64. package/dist/component-D0wwK4KY.js +9 -0
  65. package/dist/component-D5nxKQnT.js +55 -0
  66. package/dist/component-D92LT0Mq.cjs +1 -0
  67. package/dist/component-DCHO9d6d.js +55 -0
  68. package/dist/component-DRXQXr2G.js +36 -0
  69. package/dist/component-D_igOAz3.cjs +1 -0
  70. package/dist/component-DdQu0mLI.js +31 -0
  71. package/dist/component-FS_2VwVz.cjs +1 -0
  72. package/dist/component-JigdcRMd.cjs +1 -0
  73. package/dist/container/index.cjs +1 -0
  74. package/dist/container/index.d.ts +238 -0
  75. package/dist/container/index.mjs +4 -0
  76. package/dist/contexts/notifications/index.cjs +1 -0
  77. package/dist/contexts/notifications/index.d.ts +2 -0
  78. package/dist/contexts/notifications/index.mjs +6 -0
  79. package/dist/contexts/ui/index.cjs +1 -0
  80. package/dist/contexts/ui/index.d.ts +2 -0
  81. package/dist/contexts/ui/index.mjs +35 -0
  82. package/dist/createTextElement-Cgrvdwvh.js +32 -0
  83. package/dist/createTextElement-DITFvK9p.cjs +1 -0
  84. package/dist/css/index.cjs +1 -0
  85. package/dist/css/index.css +1 -0
  86. package/dist/css/index.d.ts +1 -0
  87. package/dist/css/index.mjs +1 -0
  88. package/dist/div-measure/index.cjs +1 -0
  89. package/dist/div-measure/index.d.ts +13 -0
  90. package/dist/div-measure/index.mjs +26 -0
  91. package/dist/feather-sprite.svg +1 -0
  92. package/dist/gallery-modal/index.cjs +1 -0
  93. package/dist/gallery-modal/index.d.ts +11 -0
  94. package/dist/gallery-modal/index.mjs +464 -0
  95. package/dist/generics-9F1CmKPb.cjs +1 -0
  96. package/dist/generics-BrMr2-Gs.js +5 -0
  97. package/dist/generics-C-WSPclF.js +19 -0
  98. package/dist/generics-D33J7ILI.js +5 -0
  99. package/dist/generics-DE1oV0MV.cjs +1 -0
  100. package/dist/generics-nyvJhwQE.cjs +1 -0
  101. package/dist/global-event-portal/index.cjs +1 -0
  102. package/dist/global-event-portal/index.d.ts +8 -0
  103. package/dist/global-event-portal/index.mjs +4 -0
  104. package/dist/icons/index.cjs +1 -0
  105. package/dist/icons/index.d.ts +457 -0
  106. package/dist/icons/index.mjs +5 -0
  107. package/dist/icons-B8R1UT86.js +147 -0
  108. package/dist/icons-DSpaHhtT.cjs +1 -0
  109. package/dist/input-image/index.cjs +1 -0
  110. package/dist/input-image/index.d.ts +18 -0
  111. package/dist/input-image/index.mjs +106 -0
  112. package/dist/input-text/index.cjs +1 -0
  113. package/dist/input-text/index.d.ts +199 -0
  114. package/dist/input-text/index.mjs +246 -0
  115. package/dist/inset-group/index.cjs +1 -0
  116. package/dist/inset-group/index.d.ts +33 -0
  117. package/dist/inset-group/index.mjs +105 -0
  118. package/dist/label-text/index.cjs +1 -0
  119. package/dist/label-text/index.d.ts +11 -0
  120. package/dist/label-text/index.mjs +4 -0
  121. package/dist/layout/index.cjs +1 -0
  122. package/dist/layout/index.d.ts +163 -0
  123. package/dist/layout/index.mjs +4 -0
  124. package/dist/loading-spinner/index.cjs +1 -0
  125. package/dist/loading-spinner/index.d.ts +33 -0
  126. package/dist/loading-spinner/index.mjs +101 -0
  127. package/dist/modal/index.cjs +1 -0
  128. package/dist/modal/index.d.ts +105 -0
  129. package/dist/modal/index.mjs +4 -0
  130. package/dist/notification-system/index.cjs +1 -0
  131. package/dist/notification-system/index.d.ts +5 -0
  132. package/dist/notification-system/index.mjs +158 -0
  133. package/dist/portals/index.cjs +1 -0
  134. package/dist/portals/index.d.ts +10 -0
  135. package/dist/portals/index.mjs +4 -0
  136. package/dist/radio/index.cjs +1 -0
  137. package/dist/radio/index.d.ts +36 -0
  138. package/dist/radio/index.mjs +121 -0
  139. package/dist/react-spring_web.modern-DgQDaJ06.js +2304 -0
  140. package/dist/react-spring_web.modern-W3Nkoq_6.cjs +1 -0
  141. package/dist/select-spring/index.cjs +1 -0
  142. package/dist/select-spring/index.d.ts +70 -0
  143. package/dist/select-spring/index.mjs +471 -0
  144. package/dist/spring-enter/index.cjs +1 -0
  145. package/dist/spring-enter/index.d.ts +16 -0
  146. package/dist/spring-enter/index.mjs +45 -0
  147. package/dist/spring-enter-offset-by/index.cjs +1 -0
  148. package/dist/spring-enter-offset-by/index.d.ts +17 -0
  149. package/dist/spring-enter-offset-by/index.mjs +5 -0
  150. package/dist/spring-menu-transition/index.cjs +1 -0
  151. package/dist/spring-menu-transition/index.d.ts +15 -0
  152. package/dist/spring-menu-transition/index.mjs +43 -0
  153. package/dist/spring-open-close-height/index.cjs +1 -0
  154. package/dist/spring-open-close-height/index.d.ts +9 -0
  155. package/dist/spring-open-close-height/index.mjs +19 -0
  156. package/dist/styled/button/index.cjs +1 -0
  157. package/dist/styled/button/index.d.ts +2 -0
  158. package/dist/styled/button/index.mjs +4 -0
  159. package/dist/styled/inputs/text/index.cjs +1 -0
  160. package/dist/styled/inputs/text/index.d.ts +2 -0
  161. package/dist/styled/inputs/text/index.mjs +4 -0
  162. package/dist/styled/inputs/text-area/index.cjs +1 -0
  163. package/dist/styled/inputs/text-area/index.d.ts +2 -0
  164. package/dist/styled/inputs/text-area/index.mjs +4 -0
  165. package/dist/styled/li/index.cjs +1 -0
  166. package/dist/styled/li/index.d.ts +2 -0
  167. package/dist/styled/li/index.mjs +4 -0
  168. package/dist/styled/ul/index.cjs +1 -0
  169. package/dist/styled/ul/index.d.ts +2 -0
  170. package/dist/styled/ul/index.mjs +4 -0
  171. package/dist/table-grid/index.cjs +1 -0
  172. package/dist/table-grid/index.d.ts +70 -0
  173. package/dist/table-grid/index.mjs +49 -0
  174. package/dist/table-header/index.cjs +1 -0
  175. package/dist/table-header/index.d.ts +53 -0
  176. package/dist/table-header/index.mjs +4 -0
  177. package/dist/table-row/index.cjs +1 -0
  178. package/dist/table-row/index.d.ts +54 -0
  179. package/dist/table-row/index.mjs +4 -0
  180. package/dist/tabs/index.cjs +1 -0
  181. package/dist/tabs/index.d.ts +21 -0
  182. package/dist/tabs/index.mjs +134 -0
  183. package/dist/tag-color/index.cjs +1 -0
  184. package/dist/tag-color/index.d.ts +104 -0
  185. package/dist/tag-color/index.mjs +4 -0
  186. package/dist/text-area/index.cjs +1 -0
  187. package/dist/text-area/index.d.ts +212 -0
  188. package/dist/text-area/index.mjs +160 -0
  189. package/dist/texts/header/index.cjs +1 -0
  190. package/dist/texts/header/index.d.ts +2 -0
  191. package/dist/texts/header/index.mjs +28 -0
  192. package/dist/texts/p/index.cjs +1 -0
  193. package/dist/texts/p/index.d.ts +2 -0
  194. package/dist/texts/p/index.mjs +4 -0
  195. package/dist/texts/span/index.cjs +1 -0
  196. package/dist/texts/span/index.d.ts +2 -0
  197. package/dist/texts/span/index.mjs +4 -0
  198. package/dist/toggle-switch/index.cjs +1 -0
  199. package/dist/toggle-switch/index.d.ts +35 -0
  200. package/dist/toggle-switch/index.mjs +100 -0
  201. package/dist/types-34thzuQ5.js +134 -0
  202. package/dist/types-B3Ew5Ber.cjs +1 -0
  203. package/dist/types-B6XaG3V2.js +65 -0
  204. package/dist/types-BL1gBa8J.cjs +1 -0
  205. package/dist/types-BNUi2DUD.js +234 -0
  206. package/dist/types-BWsKfOhf.js +76 -0
  207. package/dist/types-BXyuQRbv.js +52 -0
  208. package/dist/types-BciByhvn.cjs +1 -0
  209. package/dist/types-BhBb436R.cjs +1 -0
  210. package/dist/types-Bh_j-nXM.js +168 -0
  211. package/dist/types-BnEsY_pc.cjs +1 -0
  212. package/dist/types-BuixDDod.js +12 -0
  213. package/dist/types-BzOxElrp.cjs +1 -0
  214. package/dist/types-CQP0_A_u.cjs +1 -0
  215. package/dist/types-Cev70RJC.cjs +1 -0
  216. package/dist/types-Cj8dOa0j.cjs +1 -0
  217. package/dist/types-CyVpnRmY.cjs +1 -0
  218. package/dist/types-DDcRx4Wz.cjs +1 -0
  219. package/dist/types-DNLw5jE2.js +151 -0
  220. package/dist/types-DZ_qlO_d.cjs +1 -0
  221. package/dist/types-DamZRbFt.js +4 -0
  222. package/dist/types-DevrYOgX.cjs +1 -0
  223. package/dist/types-DgSz2H9f.js +14 -0
  224. package/dist/types-DmnAtXuW.js +17 -0
  225. package/dist/types-Dyu7oUOO.js +4 -0
  226. package/dist/types-OOX58qQg.js +17 -0
  227. package/dist/types.cjs +1 -0
  228. package/dist/types.d.ts +2062 -0
  229. package/dist/types.mjs +177 -0
  230. package/dist/useClickOutsideDOM-CBmttEFU.js +16 -0
  231. package/dist/useClickOutsideDOM-Dd6ewH8B.cjs +1 -0
  232. package/dist/useCombinedRef-COuiqHjO.js +14 -0
  233. package/dist/useCombinedRef-DZxHQ7PL.cjs +1 -0
  234. package/dist/values-B5r2bYNJ.js +75 -0
  235. package/dist/values-C40_Fyfk.cjs +1 -0
  236. package/dist/values-CSE3dLnv.js +200 -0
  237. package/dist/values-D-Y_dNaF.cjs +1 -0
  238. package/dist/web-B_p0FWHf.js +132 -0
  239. package/dist/web-yC_cLoAC.cjs +1 -0
  240. package/package.json +2 -4
package/dist/types.mjs ADDED
@@ -0,0 +1,177 @@
1
+ import { B as E, a as T, b as A, c as e, d as o, e as t, f as L, g as C, h as O, i as I, j as R, k as r, l as i, m as n, n as D, C as B, o as l, E as G, p as N, q as p, r as x, s as F, M as m, t as P, u as d, v as f, w as M, x as U, O as u, P as c, z as g, A as z, D as H, G as y, H as X, I as b, J as h, K as Y, T as Z } from "./classes-CBD1K4L1.js";
2
+ import { C as V, a as J } from "./generics-D33J7ILI.js";
3
+ import { C as k, a as v, b as K, c as j } from "./values-CSE3dLnv.js";
4
+ import { B as Q, a as $, b as SS, c as sS, C as aS, E as _S, F as ES, d as TS, e as AS, f as eS, M as oS, O as tS, P as LS, R as CS, S as OS, T as IS } from "./generics-C-WSPclF.js";
5
+ import { A as rS, a as iS, D as nS, b as DS, F as BS, c as lS, d as GS, e as NS, f as pS, g as xS, h as FS, i as mS, j as PS, k as dS, G as fS, l as MS, m as US, n as uS, o as cS, p as gS, q as zS, r as HS, s as yS, t as XS, J as bS, u as hS } from "./classes-CVxy1f4M.js";
6
+ import { F as ZS, S as WS } from "./generics-BrMr2-Gs.js";
7
+ import { B as JS, a as wS, b as kS, F as vS, R as KS, S as jS } from "./values-B5r2bYNJ.js";
8
+ import { B as QS, T as $S, a as Ss } from "./types-BuixDDod.js";
9
+ import { T as as, a as _s } from "./types-DmnAtXuW.js";
10
+ import { A as Ts, a as As, b as es, c as os, d as ts, e as Ls } from "./types-34thzuQ5.js";
11
+ import { A as Os, a as Is } from "./types-OOX58qQg.js";
12
+ import { B as rs, a as is, b as ns, e as Ds, f as Bs, g as ls, h as Gs, i as Ns, j as ps, k as xs, l as Fs } from "./types-BNUi2DUD.js";
13
+ import { C as Ps, a as ds, b as fs, c as Ms } from "./types-BWsKfOhf.js";
14
+ import { T as us, a as cs } from "./types-BXyuQRbv.js";
15
+ import { M as zs } from "./types-Dyu7oUOO.js";
16
+ import { P as ys } from "./types-DamZRbFt.js";
17
+ import { I as bs, a as hs, b as Ys, c as Zs, d as Ws, e as Vs, f as Js, g as ws, h as ks } from "./icons-B8R1UT86.js";
18
+ import { T as Ks, a as js, b as qs, c as Qs, d as $s, e as Sa } from "./types-DNLw5jE2.js";
19
+ import { D as aa, a as _a, S as Ea, b as Ta, c as Aa, d as ea, e as oa } from "./types-Bh_j-nXM.js";
20
+ import { T as La, a as Ca, b as Oa, c as Ia } from "./types-B6XaG3V2.js";
21
+ var s = /* @__PURE__ */ ((S) => (S.FontBaseSize = "data-b-fsize", S.Theme = "data-theme", S))(s || {});
22
+ export {
23
+ Ts as ADMONITION_SIZE,
24
+ rS as ALIGN_SELF_CLASSES,
25
+ Os as AVATAR_SIZE,
26
+ As as AdmonitionColors,
27
+ es as AdmonitionIcons,
28
+ os as AdmonitionLevels,
29
+ ts as AdmonitionSizes,
30
+ Ls as AdmonitionTitles,
31
+ iS as AlignSelfs,
32
+ Is as AvatarSizes,
33
+ E as BACKGROUND_COLOR_CLASSES,
34
+ QS as BASE_FONT_SIZE,
35
+ T as BORDER_BOTTOM_LEFT_RADIUS_CLASSES,
36
+ A as BORDER_BOTTOM_RIGHT_RADIUS_CLASSES,
37
+ e as BORDER_BOTTOM_STYLE_CLASSES,
38
+ o as BORDER_COLOR_CLASSES,
39
+ t as BORDER_LEFT_STYLE_CLASSES,
40
+ L as BORDER_RADIUS_CLASSES,
41
+ C as BORDER_RIGHT_STYLE_CLASSES,
42
+ O as BORDER_STYLE_CLASSES,
43
+ JS as BORDER_STYLE_VALUES,
44
+ I as BORDER_TOP_LEFT_RADIUS_CLASSES,
45
+ R as BORDER_TOP_RIGHT_RADIUS_CLASSES,
46
+ r as BORDER_TOP_STYLE_CLASSES,
47
+ i as BORDER_WIDTH_CLASSES,
48
+ wS as BORDER_WIDTH_VALUES,
49
+ n as BOX_SHADOW_CLASSES,
50
+ kS as BOX_SHADOW_VALUES,
51
+ D as BOX_SIZING_CLASSES,
52
+ rs as BUTTON_COLORS,
53
+ is as BUTTON_SHADOWS_CLASSES,
54
+ ns as BUTTON_SIZE,
55
+ Q as BorderStyles,
56
+ $ as BorderWidths,
57
+ SS as BoxShadows,
58
+ sS as BoxSizings,
59
+ Ds as ButtonColors,
60
+ Bs as ButtonIconPositions,
61
+ ls as ButtonShadows,
62
+ Gs as ButtonSizes,
63
+ Ns as ButtonStateIcon,
64
+ ps as ButtonStates,
65
+ xs as ButtonStyles,
66
+ Fs as ButtonTypes,
67
+ Ps as CHECKBOX_COLORS,
68
+ ds as CHECKBOX_SIZES,
69
+ B as COLOR_CLASSES,
70
+ k as COLOR_RGBA_ALPHA,
71
+ v as COLOR_VALUES,
72
+ l as CURSOR_CLASSES,
73
+ fs as CheckboxColors,
74
+ Ms as CheckboxSizes,
75
+ V as ColorPalettes,
76
+ K as ColorRGBAAlphas,
77
+ j as ColorRanges,
78
+ J as ColorSets,
79
+ aS as Cursors,
80
+ nS as DISPLAY_CLASSES,
81
+ DS as Displays,
82
+ aa as DropdownHeightStyles,
83
+ _a as DropdownPositions,
84
+ G as ELEMENT_RESIZE_CLASSES,
85
+ _S as ElementResizes,
86
+ BS as FLEX_ALIGN_CONTENT_CLASSES,
87
+ lS as FLEX_ALIGN_ITEMS_CLASSES,
88
+ GS as FLEX_DIRECTION_CLASSES,
89
+ NS as FLEX_JUSTIFY_CONTENT_CLASSES,
90
+ pS as FLEX_WRAP_CLASSES,
91
+ N as FONT_FAMILY_CLASSES,
92
+ p as FONT_SIZE_CLASSES,
93
+ vS as FONT_SIZE_VALUES,
94
+ x as FONT_STYLE_CLASSES,
95
+ F as FONT_WEIGHT_CLASSES,
96
+ s as FUIAttributeSelectors,
97
+ xS as FlexAlignContents,
98
+ FS as FlexAlignItems,
99
+ mS as FlexDirections,
100
+ PS as FlexJustifyContents,
101
+ dS as FlexWraps,
102
+ ZS as FontBaseSizes,
103
+ ES as FontFamilies,
104
+ TS as FontSizes,
105
+ AS as FontStyles,
106
+ eS as FontWeights,
107
+ fS as GRID_ALIGN_CONTENT_CLASSES,
108
+ MS as GRID_COLUMN_GAP_CLASSES,
109
+ US as GRID_GAP_CLASSES,
110
+ uS as GRID_JUSTIFY_CONTENT_CLASSES,
111
+ cS as GRID_ROW_GAP_CLASSES,
112
+ gS as GridAlignContents,
113
+ zS as GridColumnGaps,
114
+ HS as GridGaps,
115
+ yS as GridJustifyContents,
116
+ XS as GridRowGaps,
117
+ bs as INPUT_TEXT_COLOR,
118
+ hs as INPUT_TEXT_SIZE,
119
+ Ys as INPUT_TEXT_STYLE,
120
+ Zs as Icons,
121
+ Ws as InputTextLabelStyles,
122
+ Vs as InputTextModes,
123
+ Js as InputTextSizes,
124
+ ws as InputTextStyles,
125
+ ks as InputTextTypes,
126
+ bS as JUSTIFY_SELF_CLASSES,
127
+ hS as JustifySelfs,
128
+ m as MARGIN_BOTTOM_CLASSES,
129
+ P as MARGIN_CLASSES,
130
+ d as MARGIN_LEFT_CLASSES,
131
+ f as MARGIN_RIGHT_CLASSES,
132
+ M as MARGIN_TOP_CLASSES,
133
+ U as MEDIA_SIZES,
134
+ oS as MediaSizes,
135
+ zs as ModalStyles,
136
+ u as OUTLINE_COLOR_CLASSES,
137
+ tS as OutlineStyles,
138
+ c as PADDING_BOTTOM_CLASSES,
139
+ g as PADDING_CLASSES,
140
+ z as PADDING_LEFT_CLASSES,
141
+ H as PADDING_RIGHT_CLASSES,
142
+ y as PADDING_TOP_CLASSES,
143
+ X as POSITION_BOTTOM_CLASSES,
144
+ b as POSITION_LEFT_CLASSES,
145
+ h as POSITION_RIGHT_CLASSES,
146
+ Y as POSITION_TOP_CLASSES,
147
+ ys as Portals,
148
+ LS as Positions,
149
+ KS as RADIUS_VALUES,
150
+ CS as Radiuses,
151
+ Ea as SELECT_SIZES,
152
+ Ta as SELECT_STATES,
153
+ jS as SPACING_VALUES,
154
+ Aa as SelectSizes,
155
+ ea as SelectStates,
156
+ oa as SelectedValuesStyles,
157
+ WS as Sizings,
158
+ OS as Spacings,
159
+ us as TAG_SIZE,
160
+ Z as TEXT_ALIGN_CLASSES,
161
+ Ks as TEXT_AREA_COLOR,
162
+ js as TEXT_AREA_SIZE,
163
+ qs as TEXT_AREA_STYLE,
164
+ $S as THEME_CLASSES,
165
+ as as TOAST_TYPE,
166
+ La as TOGGLE_SIZE,
167
+ Ca as TOGGLE_STATE_ICON,
168
+ cs as TagColorSizes,
169
+ IS as TextAligns,
170
+ Qs as TextAreaModes,
171
+ $s as TextAreaSizes,
172
+ Sa as TextAreaStyles,
173
+ Ss as Themes,
174
+ _s as ToastTypes,
175
+ Oa as ToggleSizes,
176
+ Ia as ToggleStates
177
+ };
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import { useRef as r, useEffect as u } from "react";
3
+ const c = (n) => {
4
+ const e = r(null);
5
+ return u(() => {
6
+ const t = (o) => {
7
+ e.current && (e.current.contains(o.target) || n());
8
+ };
9
+ return document && document.addEventListener("mousedown", t), () => {
10
+ document && document.removeEventListener("mousedown", t);
11
+ };
12
+ }), e;
13
+ };
14
+ export {
15
+ c as u
16
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";const n=require("react"),s=u=>{const e=n.useRef(null);return n.useEffect(()=>{const t=r=>{e.current&&(e.current.contains(r.target)||u())};return document&&document.addEventListener("mousedown",t),()=>{document&&document.removeEventListener("mousedown",t)}}),e};exports.useClickOutsideDOM=s;
@@ -0,0 +1,14 @@
1
+ import { useEffect as i } from "react";
2
+ function u(n, t) {
3
+ n && (typeof n == "function" ? n(t) : n.current = t);
4
+ }
5
+ function s(n, t) {
6
+ return i(() => (u(t, n.current), () => {
7
+ u(t, null);
8
+ }), [t]), (c) => {
9
+ n.current = c, u(t, c);
10
+ };
11
+ }
12
+ export {
13
+ s as u
14
+ };
@@ -0,0 +1 @@
1
+ "use strict";const c=require("react");function u(n,t){n&&(typeof n=="function"?n(t):n.current=t)}function i(n,t){return c.useEffect(()=>(u(t,n.current),()=>{u(t,null)}),[t]),e=>{n.current=e,u(t,e)}}exports.useCombinedRef=i;
@@ -0,0 +1,75 @@
1
+ import { B as e, a as S, b as a, d as r, R as m, S as c } from "./generics-C-WSPclF.js";
2
+ const p = {
3
+ [c.Size0]: "clamp(0rem, calc(0rem + 0vw), 0rem)",
4
+ [c.Size1]: "clamp(0.31rem, calc(0.31rem + 0.00vw), 0.31rem)",
5
+ [c.Size2]: "clamp(0.56rem, calc(0.54rem + 0.11vw), 0.63rem)",
6
+ [c.Size3]: "clamp(0.88rem, calc(0.85rem + 0.11vw), 0.94rem)",
7
+ [c.Size4]: "clamp(1.13rem, calc(1.08rem + 0.22vw), 1.25rem)",
8
+ [c.Size5]: "clamp(1.69rem, calc(1.62rem + 0.33vw), 1.88rem)",
9
+ [c.Size6]: "clamp(2.25rem, calc(2.16rem + 0.43vw), 2.50rem)",
10
+ [c.Size7]: "clamp(3.38rem, calc(3.24rem + 0.65vw), 3.75rem)",
11
+ [c.Size8]: "clamp(4.50rem, calc(4.33rem + 0.87vw), 5.00rem)",
12
+ [c.Size9]: "clamp(6.75rem, calc(6.49rem + 1.30vw), 7.50rem)"
13
+ }, z = {
14
+ [a.Size0]: "0 0 0 0 rgb(0 0 0 / 0), 0 0 0 0 rgb(0 0 0 / 0)",
15
+ [a.Size1]: "0 1px 2px 0 rgb(0 0 0 / 0.05), 0 0 0 0 rgba(0, 0, 0, 0)",
16
+ [a.Size2]: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
17
+ [a.Size3]: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
18
+ [a.Size4]: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
19
+ [a.Size5]: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
20
+ [a.Size6]: "0 25px 50px -12px rgb(0 0 0 / 0.25), 0 0 0 0 rgba(0, 0, 0, 0)"
21
+ }, l = {
22
+ [m.Size0]: 0,
23
+ [m.Size1]: 3,
24
+ [m.Size2]: 5,
25
+ [m.Size3]: 7,
26
+ [m.Size4]: 11,
27
+ [m.Size5]: 13,
28
+ [m.Size6]: 17,
29
+ [m.Size7]: 23,
30
+ [m.Size8]: 27,
31
+ [m.Size9]: 31
32
+ }, s = {
33
+ [e.None]: "none",
34
+ [e.Hidden]: "hidden",
35
+ [e.Dotted]: "dotted",
36
+ [e.Dashed]: "dashed",
37
+ [e.Solid]: "solid",
38
+ [e.Double]: "double",
39
+ [e.Groove]: "groove",
40
+ [e.Ridge]: "ridge",
41
+ [e.Inset]: "inset",
42
+ [e.Outset]: "outset"
43
+ }, x = {
44
+ [S.Size0]: 0,
45
+ [S.Size1]: 1,
46
+ [S.Size2]: 2,
47
+ [S.Size3]: 3,
48
+ [S.Size4]: 4,
49
+ [S.Size5]: 5,
50
+ [S.Size6]: 6,
51
+ [S.Size7]: 7
52
+ }, o = {
53
+ [r.Size1]: "clamp(0.76rem, calc(0.76rem + 0.02vw), 0.77rem)",
54
+ //smallest
55
+ [r.Size2]: "clamp(0.86rem, calc(0.86rem + 0.02vw), 0.875rem)",
56
+ [r.Size3]: "clamp(0.91rem, calc(0.89rem + 0.10vw), 0.96rem)",
57
+ [r.Size4]: "clamp(1.09rem, calc(1.05rem + 0.21vw), 1.20rem)",
58
+ [r.Size5]: "clamp(1.31rem, calc(1.24rem + 0.37vw), 1.50rem)",
59
+ [r.Size6]: "clamp(1.58rem, calc(1.46rem + 0.59vw), 1.88rem)",
60
+ [r.Size7]: "clamp(1.89rem, calc(1.71rem + 0.89vw), 2.34rem)",
61
+ [r.Size8]: "clamp(2.27rem, calc(2.01rem + 1.29vw), 2.93rem)",
62
+ //largest
63
+ [r.Size9]: "clamp(2.72rem, calc(2.36rem + 1.83vw), 3.66rem)",
64
+ //largest
65
+ [r.Size10]: "clamp(3.27rem, calc(2.75rem + 2.56vw), 4.58rem)"
66
+ //largest
67
+ };
68
+ export {
69
+ s as B,
70
+ o as F,
71
+ l as R,
72
+ p as S,
73
+ x as a,
74
+ z as b
75
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./generics-DE1oV0MV.cjs"),a={[e.ColorPalettes.Transparent]:"#00000000",[e.ColorPalettes.Grey1]:"hsla(209, 25%, 10%, 1)",[e.ColorPalettes.Grey2]:"hsla(209, 25%, 20%, 1)",[e.ColorPalettes.Grey3]:"hsla(209, 25%, 30%, 1)",[e.ColorPalettes.Grey4]:"hsla(209, 25%, 40%, 1)",[e.ColorPalettes.Grey5]:"hsla(209, 25%, 50%, 1)",[e.ColorPalettes.Grey6]:"hsla(209, 25%, 60%, 1)",[e.ColorPalettes.Grey7]:"hsla(209, 25%, 70%, 1)",[e.ColorPalettes.Grey8]:"hsla(209, 25%, 80%, 1)",[e.ColorPalettes.Grey9]:"hsla(209, 25%, 90%, 1)",[e.ColorPalettes.Grey10]:"hsla(209, 25%, 99%, 1)",[e.ColorPalettes.Primary1]:"hsla(209, 100%, 9%, 1)",[e.ColorPalettes.Primary2]:"hsla(209, 100%, 19%, 1)",[e.ColorPalettes.Primary3]:"hsla(209, 100%, 29%, 1)",[e.ColorPalettes.Primary4]:"hsla(209, 100%, 39%, 1)",[e.ColorPalettes.Primary5]:"hsla(209, 100%, 49%, 1)",[e.ColorPalettes.Primary6]:"hsla(209, 100%, 59%, 1)",[e.ColorPalettes.Primary7]:"hsla(209, 100%, 69%, 1)",[e.ColorPalettes.Primary8]:"hsla(209, 100%, 79%, 1)",[e.ColorPalettes.Primary9]:"hsla(209, 100%, 89%, 1)",[e.ColorPalettes.Secondary1]:"hsla(28, 100%, 9%, 1)",[e.ColorPalettes.Secondary2]:"hsla(28, 100%, 19%, 1)",[e.ColorPalettes.Secondary3]:"hsla(28, 100%, 29%, 1)",[e.ColorPalettes.Secondary4]:"hsla(28, 100%, 39%, 1)",[e.ColorPalettes.Secondary5]:"hsla(28, 100%, 49%, 1)",[e.ColorPalettes.Secondary6]:"hsla(28, 100%, 59%, 1)",[e.ColorPalettes.Secondary7]:"hsla(28, 100%, 69%, 1)",[e.ColorPalettes.Secondary8]:"hsla(28, 100%, 79%, 1)",[e.ColorPalettes.Secondary9]:"hsla(28, 100%, 89%, 1)",[e.ColorPalettes.Red1]:"hsla(12, 100%, 10%, 1)",[e.ColorPalettes.Red2]:"hsla(12, 100%, 20%, 1)",[e.ColorPalettes.Red3]:"hsla(12, 100%, 30%, 1)",[e.ColorPalettes.Red4]:"hsla(12, 100%, 40%, 1)",[e.ColorPalettes.Red5]:"hsla(12, 100%, 50%, 1)",[e.ColorPalettes.Red6]:"hsla(12, 100%, 60%, 1)",[e.ColorPalettes.Red7]:"hsla(12, 100%, 70%, 1)",[e.ColorPalettes.Red8]:"hsla(12, 100%, 80%, 1)",[e.ColorPalettes.Red9]:"hsla(12, 100%, 90%, 1)",[e.ColorPalettes.Green1]:"hsla(123, 50%, 10%, 1)",[e.ColorPalettes.Green2]:"hsla(123, 50%, 20%, 1)",[e.ColorPalettes.Green3]:"hsla(123, 50%, 30%, 1)",[e.ColorPalettes.Green4]:"hsla(123, 50%, 40%, 1)",[e.ColorPalettes.Green5]:"hsla(123, 50%, 50%, 1)",[e.ColorPalettes.Green6]:"hsla(123, 50%, 60%, 1)",[e.ColorPalettes.Green7]:"hsla(123, 50%, 70%, 1)",[e.ColorPalettes.Green8]:"hsla(123, 50%, 80%, 1)",[e.ColorPalettes.Green9]:"hsla(123, 50%, 90%, 1)",[e.ColorPalettes.Blue1]:"hsla(205, 100%, 10%, 1)",[e.ColorPalettes.Blue2]:"hsla(205, 100%, 20%, 1)",[e.ColorPalettes.Blue3]:"hsla(205, 100%, 30%, 1)",[e.ColorPalettes.Blue4]:"hsla(205, 100%, 40%, 1)",[e.ColorPalettes.Blue5]:"hsla(205, 100%, 50%, 1)",[e.ColorPalettes.Blue6]:"hsla(205, 100%, 60%, 1)",[e.ColorPalettes.Blue7]:"hsla(205, 100%, 70%, 1)",[e.ColorPalettes.Blue8]:"hsla(205, 100%, 80%, 1)",[e.ColorPalettes.Blue9]:"hsla(205, 100%, 90%, 1)",[e.ColorPalettes.Yellow1]:"hsla(42, 100%, 10%, 1)",[e.ColorPalettes.Yellow2]:"hsla(42, 100%, 20%, 1)",[e.ColorPalettes.Yellow3]:"hsla(42, 100%, 30%, 1)",[e.ColorPalettes.Yellow4]:"hsla(42, 100%, 40%, 1)",[e.ColorPalettes.Yellow5]:"hsla(42, 100%, 50%, 1)",[e.ColorPalettes.Yellow6]:"hsla(42, 100%, 60%, 1)",[e.ColorPalettes.Yellow7]:"hsla(42, 100%, 70%, 1)",[e.ColorPalettes.Yellow8]:"hsla(42, 100%, 80%, 1)",[e.ColorPalettes.Yellow9]:"hsla(42, 100%, 90%, 1)"},P={[e.ColorPalettes.Transparent]:"#00000000",[e.ColorPalettes.Grey1]:"hsla(210, 10%, 98%, 1)",[e.ColorPalettes.Grey2]:"hsla(210, 8%, 94%, 1)",[e.ColorPalettes.Grey3]:"hsla(210, 7%, 88%, 1)",[e.ColorPalettes.Grey4]:"hsla(210, 6%, 76%, 1)",[e.ColorPalettes.Grey5]:"hsla(210, 6%, 64%, 1)",[e.ColorPalettes.Grey6]:"hsla(210, 6%, 52%, 1)",[e.ColorPalettes.Grey7]:"hsla(210, 7%, 40%, 1)",[e.ColorPalettes.Grey8]:"hsla(210, 8%, 30%, 1)",[e.ColorPalettes.Grey9]:"hsla(210, 9%, 22%, 1)",[e.ColorPalettes.Grey10]:"hsla(210, 10%, 12%, 1)",[e.ColorPalettes.Primary1]:"hsla(209, 90%, 96%, 1)",[e.ColorPalettes.Primary2]:"hsla(209, 85%, 92%, 1)",[e.ColorPalettes.Primary3]:"hsla(209, 80%, 86%, 1)",[e.ColorPalettes.Primary4]:"hsla(209, 75%, 78%, 1)",[e.ColorPalettes.Primary5]:"hsla(209, 72%, 68%, 1)",[e.ColorPalettes.Primary6]:"hsla(209, 70%, 56%, 1)",[e.ColorPalettes.Primary7]:"hsla(209, 68%, 44%, 1)",[e.ColorPalettes.Primary8]:"hsla(209, 66%, 34%, 1)",[e.ColorPalettes.Primary9]:"hsla(209, 64%, 24%, 1)",[e.ColorPalettes.Secondary1]:"hsla(28, 88%, 96%, 1)",[e.ColorPalettes.Secondary2]:"hsla(28, 84%, 92%, 1)",[e.ColorPalettes.Secondary3]:"hsla(28, 78%, 86%, 1)",[e.ColorPalettes.Secondary4]:"hsla(28, 72%, 78%, 1)",[e.ColorPalettes.Secondary5]:"hsla(28, 68%, 68%, 1)",[e.ColorPalettes.Secondary6]:"hsla(28, 64%, 56%, 1)",[e.ColorPalettes.Secondary7]:"hsla(28, 60%, 44%, 1)",[e.ColorPalettes.Secondary8]:"hsla(28, 56%, 34%, 1)",[e.ColorPalettes.Secondary9]:"hsla(28, 52%, 24%, 1)",[e.ColorPalettes.Red1]:"hsla(12, 85%, 96%, 1)",[e.ColorPalettes.Red2]:"hsla(12, 80%, 92%, 1)",[e.ColorPalettes.Red3]:"hsla(12, 75%, 86%, 1)",[e.ColorPalettes.Red4]:"hsla(12, 70%, 78%, 1)",[e.ColorPalettes.Red5]:"hsla(12, 68%, 68%, 1)",[e.ColorPalettes.Red6]:"hsla(12, 64%, 56%, 1)",[e.ColorPalettes.Red7]:"hsla(12, 60%, 44%, 1)",[e.ColorPalettes.Red8]:"hsla(12, 56%, 32%, 1)",[e.ColorPalettes.Red9]:"hsla(12, 52%, 22%, 1)",[e.ColorPalettes.Green1]:"hsla(123, 40%, 96%, 1)",[e.ColorPalettes.Green2]:"hsla(123, 35%, 90%, 1)",[e.ColorPalettes.Green3]:"hsla(123, 34%, 82%, 1)",[e.ColorPalettes.Green4]:"hsla(123, 33%, 72%, 1)",[e.ColorPalettes.Green5]:"hsla(123, 32%, 60%, 1)",[e.ColorPalettes.Green6]:"hsla(123, 36%, 48%, 1)",[e.ColorPalettes.Green7]:"hsla(123, 40%, 36%, 1)",[e.ColorPalettes.Green8]:"hsla(123, 46%, 26%, 1)",[e.ColorPalettes.Green9]:"hsla(123, 52%, 16%, 1)",[e.ColorPalettes.Blue1]:"hsla(205, 92%, 97%, 1)",[e.ColorPalettes.Blue2]:"hsla(205, 88%, 94%, 1)",[e.ColorPalettes.Blue3]:"hsla(205, 82%, 88%, 1)",[e.ColorPalettes.Blue4]:"hsla(205, 76%, 78%, 1)",[e.ColorPalettes.Blue5]:"hsla(205, 72%, 68%, 1)",[e.ColorPalettes.Blue6]:"hsla(205, 68%, 56%, 1)",[e.ColorPalettes.Blue7]:"hsla(205, 66%, 44%, 1)",[e.ColorPalettes.Blue8]:"hsla(205, 64%, 34%, 1)",[e.ColorPalettes.Blue9]:"hsla(205, 62%, 24%, 1)",[e.ColorPalettes.Yellow1]:"hsla(42, 95%, 98%, 1)",[e.ColorPalettes.Yellow2]:"hsla(42, 90%, 94%, 1)",[e.ColorPalettes.Yellow3]:"hsla(42, 85%, 88%, 1)",[e.ColorPalettes.Yellow4]:"hsla(42, 80%, 80%, 1)",[e.ColorPalettes.Yellow5]:"hsla(42, 78%, 70%, 1)",[e.ColorPalettes.Yellow6]:"hsla(42, 82%, 58%, 1)",[e.ColorPalettes.Yellow7]:"hsla(42, 88%, 46%, 1)",[e.ColorPalettes.Yellow8]:"hsla(42, 94%, 32%, 1)",[e.ColorPalettes.Yellow9]:"hsla(42, 100%, 18%, 1)"};exports.COLOR_VALUES=a;const C={[e.ColorSets.Transparents]:[0,1],[e.ColorSets.Greys]:[2,11],[e.ColorSets.Primarys]:[12,20],[e.ColorSets.Secondarys]:[21,29],[e.ColorSets.Reds]:[30,38],[e.ColorSets.Greens]:[39,47],[e.ColorSets.Blues]:[48,56],[e.ColorSets.Yellows]:[57,65],[e.ColorSets.Accents1]:[66,74],[e.ColorSets.Accents2]:[75,83]};var s=(l=>(l[l.Opaque=1]="Opaque",l[l.Dark3=2]="Dark3",l[l.Dark2=3]="Dark2",l[l.Dark1=4]="Dark1",l[l.Light1=5]="Light1",l[l.Light2=6]="Light2",l[l.Light3=7]="Light3",l[l.Transparent=8]="Transparent",l))(s||{});const h={1:"ff",2:"c0",3:"a0",4:"80",5:"60",6:"40",7:"20",8:"00"},t=document.documentElement;if(!t)throw new Error("document.elementElement not available");function n(l){console.log("theme changed to",l),l=="dark"?exports.COLOR_VALUES=a:l=="light"&&(exports.COLOR_VALUES=P)}const y=l=>{for(const o of l)if(o.type==="attributes"&&o.attributeName==="data-theme"){const r=t.getAttribute("data-theme");n(r)}},d=new MutationObserver(y);d.observe(t,{attributes:!0,attributeFilter:["data-theme"]});exports.COLOR_RGBA_ALPHA=h;exports.ColorRGBAAlphas=s;exports.ColorRanges=C;
@@ -0,0 +1,200 @@
1
+ import { C as a, a as l } from "./generics-D33J7ILI.js";
2
+ const n = {
3
+ [a.Transparent]: "#00000000",
4
+ // "#FFFFFF00"
5
+ // grey
6
+ [a.Grey1]: "hsla(209, 25%, 10%, 1)",
7
+ [a.Grey2]: "hsla(209, 25%, 20%, 1)",
8
+ [a.Grey3]: "hsla(209, 25%, 30%, 1)",
9
+ [a.Grey4]: "hsla(209, 25%, 40%, 1)",
10
+ [a.Grey5]: "hsla(209, 25%, 50%, 1)",
11
+ [a.Grey6]: "hsla(209, 25%, 60%, 1)",
12
+ [a.Grey7]: "hsla(209, 25%, 70%, 1)",
13
+ [a.Grey8]: "hsla(209, 25%, 80%, 1)",
14
+ [a.Grey9]: "hsla(209, 25%, 90%, 1)",
15
+ [a.Grey10]: "hsla(209, 25%, 99%, 1)",
16
+ // primary
17
+ [a.Primary1]: "hsla(209, 100%, 9%, 1)",
18
+ [a.Primary2]: "hsla(209, 100%, 19%, 1)",
19
+ [a.Primary3]: "hsla(209, 100%, 29%, 1)",
20
+ [a.Primary4]: "hsla(209, 100%, 39%, 1)",
21
+ [a.Primary5]: "hsla(209, 100%, 49%, 1)",
22
+ [a.Primary6]: "hsla(209, 100%, 59%, 1)",
23
+ [a.Primary7]: "hsla(209, 100%, 69%, 1)",
24
+ [a.Primary8]: "hsla(209, 100%, 79%, 1)",
25
+ [a.Primary9]: "hsla(209, 100%, 89%, 1)",
26
+ // secondary
27
+ [a.Secondary1]: "hsla(28, 100%, 9%, 1)",
28
+ [a.Secondary2]: "hsla(28, 100%, 19%, 1)",
29
+ [a.Secondary3]: "hsla(28, 100%, 29%, 1)",
30
+ [a.Secondary4]: "hsla(28, 100%, 39%, 1)",
31
+ [a.Secondary5]: "hsla(28, 100%, 49%, 1)",
32
+ [a.Secondary6]: "hsla(28, 100%, 59%, 1)",
33
+ [a.Secondary7]: "hsla(28, 100%, 69%, 1)",
34
+ [a.Secondary8]: "hsla(28, 100%, 79%, 1)",
35
+ [a.Secondary9]: "hsla(28, 100%, 89%, 1)",
36
+ // r g b y o
37
+ [a.Red1]: "hsla(12, 100%, 10%, 1)",
38
+ [a.Red2]: "hsla(12, 100%, 20%, 1)",
39
+ [a.Red3]: "hsla(12, 100%, 30%, 1)",
40
+ [a.Red4]: "hsla(12, 100%, 40%, 1)",
41
+ [a.Red5]: "hsla(12, 100%, 50%, 1)",
42
+ [a.Red6]: "hsla(12, 100%, 60%, 1)",
43
+ [a.Red7]: "hsla(12, 100%, 70%, 1)",
44
+ [a.Red8]: "hsla(12, 100%, 80%, 1)",
45
+ [a.Red9]: "hsla(12, 100%, 90%, 1)",
46
+ [a.Green1]: "hsla(123, 50%, 10%, 1)",
47
+ [a.Green2]: "hsla(123, 50%, 20%, 1)",
48
+ [a.Green3]: "hsla(123, 50%, 30%, 1)",
49
+ [a.Green4]: "hsla(123, 50%, 40%, 1)",
50
+ [a.Green5]: "hsla(123, 50%, 50%, 1)",
51
+ [a.Green6]: "hsla(123, 50%, 60%, 1)",
52
+ [a.Green7]: "hsla(123, 50%, 70%, 1)",
53
+ [a.Green8]: "hsla(123, 50%, 80%, 1)",
54
+ [a.Green9]: "hsla(123, 50%, 90%, 1)",
55
+ [a.Blue1]: "hsla(205, 100%, 10%, 1)",
56
+ [a.Blue2]: "hsla(205, 100%, 20%, 1)",
57
+ [a.Blue3]: "hsla(205, 100%, 30%, 1)",
58
+ [a.Blue4]: "hsla(205, 100%, 40%, 1)",
59
+ [a.Blue5]: "hsla(205, 100%, 50%, 1)",
60
+ [a.Blue6]: "hsla(205, 100%, 60%, 1)",
61
+ [a.Blue7]: "hsla(205, 100%, 70%, 1)",
62
+ [a.Blue8]: "hsla(205, 100%, 80%, 1)",
63
+ [a.Blue9]: "hsla(205, 100%, 90%, 1)",
64
+ [a.Yellow1]: "hsla(42, 100%, 10%, 1)",
65
+ [a.Yellow2]: "hsla(42, 100%, 20%, 1)",
66
+ [a.Yellow3]: "hsla(42, 100%, 30%, 1)",
67
+ [a.Yellow4]: "hsla(42, 100%, 40%, 1)",
68
+ [a.Yellow5]: "hsla(42, 100%, 50%, 1)",
69
+ [a.Yellow6]: "hsla(42, 100%, 60%, 1)",
70
+ [a.Yellow7]: "hsla(42, 100%, 70%, 1)",
71
+ [a.Yellow8]: "hsla(42, 100%, 80%, 1)",
72
+ [a.Yellow9]: "hsla(42, 100%, 90%, 1)"
73
+ }, y = {
74
+ [a.Transparent]: "#00000000",
75
+ // "#FFFFFF00"
76
+ // grey
77
+ [a.Grey1]: "hsla(210, 10%, 98%, 1)",
78
+ [a.Grey2]: "hsla(210, 8%, 94%, 1)",
79
+ [a.Grey3]: "hsla(210, 7%, 88%, 1)",
80
+ [a.Grey4]: "hsla(210, 6%, 76%, 1)",
81
+ [a.Grey5]: "hsla(210, 6%, 64%, 1)",
82
+ [a.Grey6]: "hsla(210, 6%, 52%, 1)",
83
+ [a.Grey7]: "hsla(210, 7%, 40%, 1)",
84
+ [a.Grey8]: "hsla(210, 8%, 30%, 1)",
85
+ [a.Grey9]: "hsla(210, 9%, 22%, 1)",
86
+ [a.Grey10]: "hsla(210, 10%, 12%, 1)",
87
+ // primary
88
+ [a.Primary1]: "hsla(209, 90%, 96%, 1)",
89
+ [a.Primary2]: "hsla(209, 85%, 92%, 1)",
90
+ [a.Primary3]: "hsla(209, 80%, 86%, 1)",
91
+ [a.Primary4]: "hsla(209, 75%, 78%, 1)",
92
+ [a.Primary5]: "hsla(209, 72%, 68%, 1)",
93
+ [a.Primary6]: "hsla(209, 70%, 56%, 1)",
94
+ [a.Primary7]: "hsla(209, 68%, 44%, 1)",
95
+ [a.Primary8]: "hsla(209, 66%, 34%, 1)",
96
+ [a.Primary9]: "hsla(209, 64%, 24%, 1)",
97
+ // secondary
98
+ [a.Secondary1]: "hsla(28, 88%, 96%, 1)",
99
+ [a.Secondary2]: "hsla(28, 84%, 92%, 1)",
100
+ [a.Secondary3]: "hsla(28, 78%, 86%, 1)",
101
+ [a.Secondary4]: "hsla(28, 72%, 78%, 1)",
102
+ [a.Secondary5]: "hsla(28, 68%, 68%, 1)",
103
+ [a.Secondary6]: "hsla(28, 64%, 56%, 1)",
104
+ [a.Secondary7]: "hsla(28, 60%, 44%, 1)",
105
+ [a.Secondary8]: "hsla(28, 56%, 34%, 1)",
106
+ [a.Secondary9]: "hsla(28, 52%, 24%, 1)",
107
+ // r g b y o
108
+ [a.Red1]: "hsla(12, 85%, 96%, 1)",
109
+ [a.Red2]: "hsla(12, 80%, 92%, 1)",
110
+ [a.Red3]: "hsla(12, 75%, 86%, 1)",
111
+ [a.Red4]: "hsla(12, 70%, 78%, 1)",
112
+ [a.Red5]: "hsla(12, 68%, 68%, 1)",
113
+ [a.Red6]: "hsla(12, 64%, 56%, 1)",
114
+ [a.Red7]: "hsla(12, 60%, 44%, 1)",
115
+ [a.Red8]: "hsla(12, 56%, 32%, 1)",
116
+ [a.Red9]: "hsla(12, 52%, 22%, 1)",
117
+ [a.Green1]: "hsla(123, 40%, 96%, 1)",
118
+ [a.Green2]: "hsla(123, 35%, 90%, 1)",
119
+ [a.Green3]: "hsla(123, 34%, 82%, 1)",
120
+ [a.Green4]: "hsla(123, 33%, 72%, 1)",
121
+ [a.Green5]: "hsla(123, 32%, 60%, 1)",
122
+ [a.Green6]: "hsla(123, 36%, 48%, 1)",
123
+ [a.Green7]: "hsla(123, 40%, 36%, 1)",
124
+ [a.Green8]: "hsla(123, 46%, 26%, 1)",
125
+ [a.Green9]: "hsla(123, 52%, 16%, 1)",
126
+ [a.Blue1]: "hsla(205, 92%, 97%, 1)",
127
+ [a.Blue2]: "hsla(205, 88%, 94%, 1)",
128
+ [a.Blue3]: "hsla(205, 82%, 88%, 1)",
129
+ [a.Blue4]: "hsla(205, 76%, 78%, 1)",
130
+ [a.Blue5]: "hsla(205, 72%, 68%, 1)",
131
+ [a.Blue6]: "hsla(205, 68%, 56%, 1)",
132
+ [a.Blue7]: "hsla(205, 66%, 44%, 1)",
133
+ [a.Blue8]: "hsla(205, 64%, 34%, 1)",
134
+ [a.Blue9]: "hsla(205, 62%, 24%, 1)",
135
+ [a.Yellow1]: "hsla(42, 95%, 98%, 1)",
136
+ [a.Yellow2]: "hsla(42, 90%, 94%, 1)",
137
+ [a.Yellow3]: "hsla(42, 85%, 88%, 1)",
138
+ [a.Yellow4]: "hsla(42, 80%, 80%, 1)",
139
+ [a.Yellow5]: "hsla(42, 78%, 70%, 1)",
140
+ [a.Yellow6]: "hsla(42, 82%, 58%, 1)",
141
+ [a.Yellow7]: "hsla(42, 88%, 46%, 1)",
142
+ [a.Yellow8]: "hsla(42, 94%, 32%, 1)",
143
+ [a.Yellow9]: "hsla(42, 100%, 18%, 1)"
144
+ };
145
+ let r = n;
146
+ const u = {
147
+ [l.Transparents]: [0, 1],
148
+ [l.Greys]: [2, 11],
149
+ [l.Primarys]: [12, 20],
150
+ [l.Secondarys]: [21, 29],
151
+ [l.Reds]: [30, 38],
152
+ [l.Greens]: [39, 47],
153
+ [l.Blues]: [48, 56],
154
+ [l.Yellows]: [57, 65],
155
+ [l.Accents1]: [66, 74],
156
+ [l.Accents2]: [75, 83]
157
+ };
158
+ var d = /* @__PURE__ */ ((e) => (e[e.Opaque = 1] = "Opaque", e[e.Dark3 = 2] = "Dark3", e[e.Dark2 = 3] = "Dark2", e[e.Dark1 = 4] = "Dark1", e[e.Light1 = 5] = "Light1", e[e.Light2 = 6] = "Light2", e[e.Light3 = 7] = "Light3", e[e.Transparent = 8] = "Transparent", e))(d || {});
159
+ const G = {
160
+ /**
161
+ * 6 (a-f (f is darker)) + 10 (0-9 (9 is darker)) | same concept (starts with 0 end with f)
162
+ * 18 | 18
163
+ * 18 / 2 = 9 | 2, 4, 6, 8 | 10 | 12, 14, 16, 18
164
+ * 0 2 4 6 8 a c e(f)
165
+ */
166
+ 1: "ff",
167
+ // e(f)
168
+ 2: "c0",
169
+ // c
170
+ 3: "a0",
171
+ // a
172
+ 4: "80",
173
+ // 8
174
+ 5: "60",
175
+ // 6
176
+ 6: "40",
177
+ // 4
178
+ 7: "20",
179
+ // 2
180
+ 8: "00"
181
+ // 0
182
+ }, s = document.documentElement;
183
+ if (!s) throw new Error("document.elementElement not available");
184
+ function o(e) {
185
+ console.log("theme changed to", e), e == "dark" ? r = n : e == "light" && (r = y);
186
+ }
187
+ const i = (e) => {
188
+ for (const h of e)
189
+ if (h.type === "attributes" && h.attributeName === "data-theme") {
190
+ const t = s.getAttribute("data-theme");
191
+ o(t);
192
+ }
193
+ }, c = new MutationObserver(i);
194
+ c.observe(s, { attributes: !0, attributeFilter: ["data-theme"] });
195
+ export {
196
+ G as C,
197
+ r as a,
198
+ d as b,
199
+ u as c
200
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./generics-9F1CmKPb.cjs"),r={[e.Spacings.Size0]:"clamp(0rem, calc(0rem + 0vw), 0rem)",[e.Spacings.Size1]:"clamp(0.31rem, calc(0.31rem + 0.00vw), 0.31rem)",[e.Spacings.Size2]:"clamp(0.56rem, calc(0.54rem + 0.11vw), 0.63rem)",[e.Spacings.Size3]:"clamp(0.88rem, calc(0.85rem + 0.11vw), 0.94rem)",[e.Spacings.Size4]:"clamp(1.13rem, calc(1.08rem + 0.22vw), 1.25rem)",[e.Spacings.Size5]:"clamp(1.69rem, calc(1.62rem + 0.33vw), 1.88rem)",[e.Spacings.Size6]:"clamp(2.25rem, calc(2.16rem + 0.43vw), 2.50rem)",[e.Spacings.Size7]:"clamp(3.38rem, calc(3.24rem + 0.65vw), 3.75rem)",[e.Spacings.Size8]:"clamp(4.50rem, calc(4.33rem + 0.87vw), 5.00rem)",[e.Spacings.Size9]:"clamp(6.75rem, calc(6.49rem + 1.30vw), 7.50rem)"},S={[e.BoxShadows.Size0]:"0 0 0 0 rgb(0 0 0 / 0), 0 0 0 0 rgb(0 0 0 / 0)",[e.BoxShadows.Size1]:"0 1px 2px 0 rgb(0 0 0 / 0.05), 0 0 0 0 rgba(0, 0, 0, 0)",[e.BoxShadows.Size2]:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",[e.BoxShadows.Size3]:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",[e.BoxShadows.Size4]:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",[e.BoxShadows.Size5]:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",[e.BoxShadows.Size6]:"0 25px 50px -12px rgb(0 0 0 / 0.25), 0 0 0 0 rgba(0, 0, 0, 0)"},i={[e.Radiuses.Size0]:0,[e.Radiuses.Size1]:3,[e.Radiuses.Size2]:5,[e.Radiuses.Size3]:7,[e.Radiuses.Size4]:11,[e.Radiuses.Size5]:13,[e.Radiuses.Size6]:17,[e.Radiuses.Size7]:23,[e.Radiuses.Size8]:27,[e.Radiuses.Size9]:31},s={[e.BorderStyles.None]:"none",[e.BorderStyles.Hidden]:"hidden",[e.BorderStyles.Dotted]:"dotted",[e.BorderStyles.Dashed]:"dashed",[e.BorderStyles.Solid]:"solid",[e.BorderStyles.Double]:"double",[e.BorderStyles.Groove]:"groove",[e.BorderStyles.Ridge]:"ridge",[e.BorderStyles.Inset]:"inset",[e.BorderStyles.Outset]:"outset"},m={[e.BorderWidths.Size0]:0,[e.BorderWidths.Size1]:1,[e.BorderWidths.Size2]:2,[e.BorderWidths.Size3]:3,[e.BorderWidths.Size4]:4,[e.BorderWidths.Size5]:5,[e.BorderWidths.Size6]:6,[e.BorderWidths.Size7]:7},c={[e.FontSizes.Size1]:"clamp(0.76rem, calc(0.76rem + 0.02vw), 0.77rem)",[e.FontSizes.Size2]:"clamp(0.86rem, calc(0.86rem + 0.02vw), 0.875rem)",[e.FontSizes.Size3]:"clamp(0.91rem, calc(0.89rem + 0.10vw), 0.96rem)",[e.FontSizes.Size4]:"clamp(1.09rem, calc(1.05rem + 0.21vw), 1.20rem)",[e.FontSizes.Size5]:"clamp(1.31rem, calc(1.24rem + 0.37vw), 1.50rem)",[e.FontSizes.Size6]:"clamp(1.58rem, calc(1.46rem + 0.59vw), 1.88rem)",[e.FontSizes.Size7]:"clamp(1.89rem, calc(1.71rem + 0.89vw), 2.34rem)",[e.FontSizes.Size8]:"clamp(2.27rem, calc(2.01rem + 1.29vw), 2.93rem)",[e.FontSizes.Size9]:"clamp(2.72rem, calc(2.36rem + 1.83vw), 3.66rem)",[e.FontSizes.Size10]:"clamp(3.27rem, calc(2.75rem + 2.56vw), 4.58rem)"};exports.BORDER_STYLE_VALUES=s;exports.BORDER_WIDTH_VALUES=m;exports.BOX_SHADOW_VALUES=S;exports.FONT_SIZE_VALUES=c;exports.RADIUS_VALUES=i;exports.SPACING_VALUES=r;
@@ -0,0 +1,132 @@
1
+ import { useState as j, useRef as g, useEffect as m, useMemo as H } from "react";
2
+ import { g as W } from "./_commonjsHelpers-C6fGbg64.js";
3
+ var p, E;
4
+ function k() {
5
+ if (E) return p;
6
+ E = 1;
7
+ function t(r, n, f) {
8
+ var o, u, l, d, e;
9
+ n == null && (n = 100);
10
+ function a() {
11
+ var i = Date.now() - d;
12
+ i < n && i >= 0 ? o = setTimeout(a, n - i) : (o = null, f || (e = r.apply(l, u), l = u = null));
13
+ }
14
+ var c = function() {
15
+ l = this, u = arguments, d = Date.now();
16
+ var i = f && !o;
17
+ return o || (o = setTimeout(a, n)), i && (e = r.apply(l, u), l = u = null), e;
18
+ };
19
+ return c.clear = function() {
20
+ o && (clearTimeout(o), o = null);
21
+ }, c.flush = function() {
22
+ o && (e = r.apply(l, u), l = u = null, clearTimeout(o), o = null);
23
+ }, c;
24
+ }
25
+ return t.debounce = t, p = t, p;
26
+ }
27
+ var F = k();
28
+ const y = /* @__PURE__ */ W(F);
29
+ function K(t) {
30
+ let {
31
+ debounce: r,
32
+ scroll: n,
33
+ polyfill: f,
34
+ offsetSize: o
35
+ } = t === void 0 ? {
36
+ debounce: 0,
37
+ scroll: !1,
38
+ offsetSize: !1
39
+ } : t;
40
+ const u = f || (typeof window > "u" ? class {
41
+ } : window.ResizeObserver);
42
+ if (!u)
43
+ throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");
44
+ const [l, d] = j({
45
+ left: 0,
46
+ top: 0,
47
+ width: 0,
48
+ height: 0,
49
+ bottom: 0,
50
+ right: 0,
51
+ x: 0,
52
+ y: 0
53
+ }), e = g({
54
+ element: null,
55
+ scrollContainers: null,
56
+ resizeObserver: null,
57
+ lastBounds: l
58
+ }), a = r ? typeof r == "number" ? r : r.scroll : null, c = r ? typeof r == "number" ? r : r.resize : null, i = g(!1);
59
+ m(() => (i.current = !0, () => void (i.current = !1)));
60
+ const [O, w, v] = H(() => {
61
+ const s = () => {
62
+ if (!e.current.element) return;
63
+ const {
64
+ left: x,
65
+ top: D,
66
+ width: R,
67
+ height: B,
68
+ bottom: S,
69
+ right: T,
70
+ x: q,
71
+ y: M
72
+ } = e.current.element.getBoundingClientRect(), b = {
73
+ left: x,
74
+ top: D,
75
+ width: R,
76
+ height: B,
77
+ bottom: S,
78
+ right: T,
79
+ x: q,
80
+ y: M
81
+ };
82
+ e.current.element instanceof HTMLElement && o && (b.height = e.current.element.offsetHeight, b.width = e.current.element.offsetWidth), Object.freeze(b), i.current && !A(e.current.lastBounds, b) && d(e.current.lastBounds = b);
83
+ };
84
+ return [s, c ? y(s, c) : s, a ? y(s, a) : s];
85
+ }, [d, o, a, c]);
86
+ function h() {
87
+ e.current.scrollContainers && (e.current.scrollContainers.forEach((s) => s.removeEventListener("scroll", v, !0)), e.current.scrollContainers = null), e.current.resizeObserver && (e.current.resizeObserver.disconnect(), e.current.resizeObserver = null);
88
+ }
89
+ function z() {
90
+ e.current.element && (e.current.resizeObserver = new u(v), e.current.resizeObserver.observe(e.current.element), n && e.current.scrollContainers && e.current.scrollContainers.forEach((s) => s.addEventListener("scroll", v, {
91
+ capture: !0,
92
+ passive: !0
93
+ })));
94
+ }
95
+ const L = (s) => {
96
+ !s || s === e.current.element || (h(), e.current.element = s, e.current.scrollContainers = C(s), z());
97
+ };
98
+ return X(v, !!n), N(w), m(() => {
99
+ h(), z();
100
+ }, [n, v, w]), m(() => h, []), [L, l, O];
101
+ }
102
+ function N(t) {
103
+ m(() => {
104
+ const r = t;
105
+ return window.addEventListener("resize", r), () => void window.removeEventListener("resize", r);
106
+ }, [t]);
107
+ }
108
+ function X(t, r) {
109
+ m(() => {
110
+ if (r) {
111
+ const n = t;
112
+ return window.addEventListener("scroll", n, {
113
+ capture: !0,
114
+ passive: !0
115
+ }), () => void window.removeEventListener("scroll", n, !0);
116
+ }
117
+ }, [t, r]);
118
+ }
119
+ function C(t) {
120
+ const r = [];
121
+ if (!t || t === document.body) return r;
122
+ const {
123
+ overflow: n,
124
+ overflowX: f,
125
+ overflowY: o
126
+ } = window.getComputedStyle(t);
127
+ return [n, f, o].some((u) => u === "auto" || u === "scroll") && r.push(t), [...r, ...C(t.parentElement)];
128
+ }
129
+ const Y = ["x", "y", "top", "bottom", "left", "right", "width", "height"], A = (t, r) => Y.every((n) => t[n] === r[n]);
130
+ export {
131
+ K as u
132
+ };
@@ -0,0 +1 @@
1
+ "use strict";const i=require("react"),M=require("./_commonjsHelpers-DwGv2jUC.cjs");var p,E;function j(){if(E)return p;E=1;function t(r,n,a){var s,u,c,v,e;n==null&&(n=100);function d(){var l=Date.now()-v;l<n&&l>=0?s=setTimeout(d,n-l):(s=null,a||(e=r.apply(c,u),c=u=null))}var f=function(){c=this,u=arguments,v=Date.now();var l=a&&!s;return s||(s=setTimeout(d,n)),l&&(e=r.apply(c,u),c=u=null),e};return f.clear=function(){s&&(clearTimeout(s),s=null)},f.flush=function(){s&&(e=r.apply(c,u),c=u=null,clearTimeout(s),s=null)},f}return t.debounce=t,p=t,p}var H=j();const g=M.getDefaultExportFromCjs(H);function W(t){let{debounce:r,scroll:n,polyfill:a,offsetSize:s}=t===void 0?{debounce:0,scroll:!1,offsetSize:!1}:t;const u=a||(typeof window>"u"?class{}:window.ResizeObserver);if(!u)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[c,v]=i.useState({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),e=i.useRef({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c}),d=r?typeof r=="number"?r:r.scroll:null,f=r?typeof r=="number"?r:r.resize:null,l=i.useRef(!1);i.useEffect(()=>(l.current=!0,()=>void(l.current=!1)));const[C,w,b]=i.useMemo(()=>{const o=()=>{if(!e.current.element)return;const{left:L,top:R,width:D,height:x,bottom:B,right:S,x:T,y:q}=e.current.element.getBoundingClientRect(),m={left:L,top:R,width:D,height:x,bottom:B,right:S,x:T,y:q};e.current.element instanceof HTMLElement&&s&&(m.height=e.current.element.offsetHeight,m.width=e.current.element.offsetWidth),Object.freeze(m),l.current&&!X(e.current.lastBounds,m)&&v(e.current.lastBounds=m)};return[o,f?g(o,f):o,d?g(o,d):o]},[v,s,d,f]);function h(){e.current.scrollContainers&&(e.current.scrollContainers.forEach(o=>o.removeEventListener("scroll",b,!0)),e.current.scrollContainers=null),e.current.resizeObserver&&(e.current.resizeObserver.disconnect(),e.current.resizeObserver=null)}function z(){e.current.element&&(e.current.resizeObserver=new u(b),e.current.resizeObserver.observe(e.current.element),n&&e.current.scrollContainers&&e.current.scrollContainers.forEach(o=>o.addEventListener("scroll",b,{capture:!0,passive:!0})))}const O=o=>{!o||o===e.current.element||(h(),e.current.element=o,e.current.scrollContainers=y(o),z())};return F(b,!!n),k(w),i.useEffect(()=>{h(),z()},[n,b,w]),i.useEffect(()=>h,[]),[O,c,C]}function k(t){i.useEffect(()=>{const r=t;return window.addEventListener("resize",r),()=>void window.removeEventListener("resize",r)},[t])}function F(t,r){i.useEffect(()=>{if(r){const n=t;return window.addEventListener("scroll",n,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",n,!0)}},[t,r])}function y(t){const r=[];if(!t||t===document.body)return r;const{overflow:n,overflowX:a,overflowY:s}=window.getComputedStyle(t);return[n,a,s].some(u=>u==="auto"||u==="scroll")&&r.push(t),[...r,...y(t.parentElement)]}const N=["x","y","top","bottom","left","right","width","height"],X=(t,r)=>N.every(n=>t[n]===r[n]);exports.useMeasure=W;