@functionalui/functionalui 0.2.1 → 0.2.3

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 +1 -1
@@ -0,0 +1,134 @@
1
+ import { C as o } from "./generics-D33J7ILI.js";
2
+ import { d as i, S as t, f as r } from "./generics-C-WSPclF.js";
3
+ import { S as n } from "./generics-BrMr2-Gs.js";
4
+ var l = /* @__PURE__ */ ((e) => (e[e.Info = 1] = "Info", e[e.Note = 2] = "Note", e[e.Success = 3] = "Success", e[e.Warning = 4] = "Warning", e[e.Attention = 5] = "Attention", e[e.Error = 6] = "Error", e))(l || {});
5
+ const d = {
6
+ 1: {
7
+ borderColor: o.Blue4,
8
+ bgColor: o.Blue2,
9
+ textTitleColor: o.Blue6,
10
+ textDescriptionColor: o.Blue9,
11
+ iconColor: o.Blue5
12
+ },
13
+ 2: {
14
+ borderColor: o.Grey4,
15
+ bgColor: o.Grey2,
16
+ textTitleColor: o.Grey6,
17
+ textDescriptionColor: o.Grey9,
18
+ iconColor: o.Grey5
19
+ },
20
+ 3: {
21
+ borderColor: o.Green4,
22
+ bgColor: o.Green2,
23
+ textTitleColor: o.Green6,
24
+ textDescriptionColor: o.Green9,
25
+ iconColor: o.Green5
26
+ },
27
+ 4: {
28
+ borderColor: o.Yellow4,
29
+ bgColor: o.Yellow2,
30
+ textTitleColor: o.Yellow6,
31
+ textDescriptionColor: o.Yellow9,
32
+ iconColor: o.Yellow5
33
+ },
34
+ 5: {
35
+ borderColor: o.Red4,
36
+ bgColor: o.Red2,
37
+ textTitleColor: o.Red6,
38
+ textDescriptionColor: o.Red9,
39
+ iconColor: o.Red5
40
+ },
41
+ 6: {
42
+ borderColor: o.Red4,
43
+ bgColor: o.Red2,
44
+ textTitleColor: o.Red6,
45
+ textDescriptionColor: o.Red9,
46
+ iconColor: o.Red5
47
+ }
48
+ }, z = {
49
+ 1: {
50
+ titleIcon: "info"
51
+ },
52
+ 2: {
53
+ titleIcon: "info"
54
+ },
55
+ 3: {
56
+ titleIcon: "check"
57
+ },
58
+ 4: {
59
+ titleIcon: "alert-circle"
60
+ },
61
+ 5: {
62
+ titleIcon: "alert-triangle"
63
+ },
64
+ 6: {
65
+ titleIcon: "x-octagon"
66
+ }
67
+ }, C = {
68
+ 1: "Info",
69
+ 2: "Note",
70
+ 3: "Success",
71
+ 4: "Warning",
72
+ 5: "Attention",
73
+ 6: "Error"
74
+ };
75
+ var S = /* @__PURE__ */ ((e) => (e[e.Small = 1] = "Small", e[e.Medium = 2] = "Medium", e[e.Big = 3] = "Big", e))(S || {});
76
+ const p = {
77
+ 1: {
78
+ title: {
79
+ padding: t.Size1,
80
+ paddingBottom: t.Size1,
81
+ paddingLeft: t.Size2,
82
+ paddingRight: t.Size2,
83
+ fontSize: i.Size3,
84
+ fontWeight: r.Size4,
85
+ iconSize: n.Size4,
86
+ iconMargin: t.Size1
87
+ },
88
+ content: {
89
+ padding: t.Size1,
90
+ paddingTop: t.Size0,
91
+ paddingLeft: t.Size2,
92
+ paddingRight: t.Size2,
93
+ fontSize: i.Size3
94
+ }
95
+ },
96
+ 2: {
97
+ title: {
98
+ padding: t.Size2,
99
+ paddingBottom: t.Size2,
100
+ fontSize: i.Size5,
101
+ fontWeight: r.Size3,
102
+ iconSize: n.Size5,
103
+ iconMargin: t.Size1
104
+ },
105
+ content: {
106
+ padding: t.Size2,
107
+ paddingTop: t.Size0,
108
+ fontSize: i.Size4
109
+ }
110
+ },
111
+ 3: {
112
+ title: {
113
+ padding: t.Size3,
114
+ paddingBottom: t.Size3,
115
+ fontSize: i.Size6,
116
+ fontWeight: r.Size3,
117
+ iconSize: n.Size7,
118
+ iconMargin: t.Size2
119
+ },
120
+ content: {
121
+ padding: t.Size3,
122
+ paddingTop: t.Size0,
123
+ fontSize: i.Size5
124
+ }
125
+ }
126
+ };
127
+ export {
128
+ p as A,
129
+ d as a,
130
+ z as b,
131
+ l as c,
132
+ S as d,
133
+ C as e
134
+ };
@@ -0,0 +1 @@
1
+ "use strict";var t=(i=>(i[i.GlobalEventNotification=1]="GlobalEventNotification",i[i.Modals=2]="Modals",i))(t||{});exports.Portals=t;
@@ -0,0 +1,65 @@
1
+ var r = /* @__PURE__ */ ((h) => (h[h.Icon = 1] = "Icon", h[h.Loading = 2] = "Loading", h[h.Success = 3] = "Success", h[h.Error = 4] = "Error", h[h.Disabled = 5] = "Disabled", h))(r || {});
2
+ const b = {
3
+ 1: null,
4
+ 2: "spinner",
5
+ 3: "check",
6
+ 4: "x",
7
+ 5: "minus-circle"
8
+ };
9
+ var n = /* @__PURE__ */ ((h) => (h[h.Tiny = 1] = "Tiny", h[h.Smaller = 2] = "Smaller", h[h.Small = 3] = "Small", h[h.Medium = 4] = "Medium", h[h.Big = 5] = "Big", h[h.Large = 6] = "Large", h))(n || {});
10
+ const u = {
11
+ 1: {
12
+ container: { w: 60, h: 34 },
13
+ bg: { w: 60, h: 34 },
14
+ thumb: { w: 26, h: 26 },
15
+ bgBorderRadius: "17px",
16
+ thumbBR: "50%",
17
+ icon: { w: 20, h: 20 }
18
+ },
19
+ 2: {
20
+ container: { w: 60, h: 34 },
21
+ bg: { w: 60, h: 34 },
22
+ thumb: { w: 26, h: 26 },
23
+ bgBorderRadius: "17px",
24
+ thumbBR: "50%",
25
+ icon: { w: 20, h: 20 }
26
+ },
27
+ 3: {
28
+ container: { w: 60, h: 34 },
29
+ bg: { w: 60, h: 34 },
30
+ thumb: { w: 26, h: 26 },
31
+ bgBorderRadius: "17px",
32
+ thumbBR: "50%",
33
+ icon: { w: 20, h: 20 }
34
+ },
35
+ 4: {
36
+ container: { w: 60, h: 34 },
37
+ bg: { w: 60, h: 34 },
38
+ thumb: { w: 26, h: 26 },
39
+ bgBorderRadius: "17px",
40
+ thumbBR: "50%",
41
+ icon: { w: 20, h: 20 }
42
+ },
43
+ 5: {
44
+ container: { w: 60, h: 34 },
45
+ bg: { w: 60, h: 34 },
46
+ thumb: { w: 26, h: 26 },
47
+ bgBorderRadius: "17px",
48
+ thumbBR: "50%",
49
+ icon: { w: 20, h: 20 }
50
+ },
51
+ 6: {
52
+ container: { w: 60, h: 34 },
53
+ bg: { w: 60, h: 34 },
54
+ thumb: { w: 26, h: 26 },
55
+ bgBorderRadius: "17px",
56
+ thumbBR: "50%",
57
+ icon: { w: 20, h: 20 }
58
+ }
59
+ };
60
+ export {
61
+ u as T,
62
+ b as a,
63
+ n as b,
64
+ r as c
65
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./generics-DE1oV0MV.cjs");var o=(e=>(e[e.Success=1]="Success",e[e.Alert=2]="Alert",e[e.Error=3]="Error",e[e.Info=4]="Info",e[e.Static=5]="Static",e[e.Loading=6]="Loading",e[e.SuccessStatic=7]="SuccessStatic",e[e.ErrorStatic=8]="ErrorStatic",e[e.LoadingStatic=9]="LoadingStatic",e))(o||{});const c={1:{icon:"check-circle",color:r.ColorPalettes.Green5,isTimeout:!0,default:"Success",classname:"green"},2:{icon:"alert-circle",color:r.ColorPalettes.Yellow5,isTimeout:!0,default:"Alert",classname:"orange"},3:{icon:"x-octagon",color:r.ColorPalettes.Red5,isTimeout:!0,default:"Error",classname:"red"},4:{icon:"info",color:r.ColorPalettes.Grey7,isTimeout:!0,default:"Loading",classname:"blue"},6:{icon:"spinner",color:r.ColorPalettes.Blue5,isTimeout:!0,default:"Info",classname:"blue"},5:{icon:"info",color:r.ColorPalettes.Blue5,isTimeout:!1,default:"Info",classname:"blue"},7:{icon:"check-circle",color:r.ColorPalettes.Green5,isTimeout:!1,default:"Success",classname:"green"},8:{icon:"x-octagon",color:r.ColorPalettes.Red5,isTimeout:!1,default:"Error",classname:"red"},9:{icon:"spinner",color:r.ColorPalettes.Grey7,isTimeout:!1,default:"Loading",classname:""}};exports.TOAST_TYPE=c;exports.ToastTypes=o;
@@ -0,0 +1,234 @@
1
+ import { C as r } from "./generics-D33J7ILI.js";
2
+ import { R as c, d as n, S as i, b as d, C as a, B as S, a as g } from "./generics-C-WSPclF.js";
3
+ import { S as o } from "./generics-BrMr2-Gs.js";
4
+ var z = /* @__PURE__ */ ((e) => (e[e.Left = 1] = "Left", e[e.Right = 2] = "Right", e))(z || {}), l = /* @__PURE__ */ ((e) => (e.Button = "button", e.Submit = "submit", e.Reset = "reset", e))(l || {}), b = /* @__PURE__ */ ((e) => (e[e.Size1 = 1] = "Size1", e[e.Size2 = 2] = "Size2", e[e.Size3 = 3] = "Size3", e[e.Size4 = 4] = "Size4", e[e.Size5 = 5] = "Size5", e))(b || {});
5
+ const O = {
6
+ [d.Size0]: "fctrd--cboxs-0",
7
+ [d.Size1]: "fctrd--cboxs-1",
8
+ [d.Size2]: "fctrd--cboxs-2",
9
+ [d.Size3]: "fctrd--cboxs-3",
10
+ [d.Size4]: "fctrd--cboxs-4",
11
+ [d.Size5]: "fctrd--cboxs-5",
12
+ [d.Size6]: "fctrd--cboxs-6"
13
+ };
14
+ var y = /* @__PURE__ */ ((e) => (e[e.Icon = 1] = "Icon", e[e.Loading = 2] = "Loading", e[e.Success = 3] = "Success", e[e.Error = 4] = "Error", e[e.Disabled = 5] = "Disabled", e))(y || {});
15
+ const T = {
16
+ 1: {},
17
+ 3: {
18
+ icon: {
19
+ icon: "check"
20
+ }
21
+ },
22
+ 2: {
23
+ icon: {
24
+ icon: "spinner"
25
+ },
26
+ cursor: a.Progress,
27
+ animation: !1
28
+ },
29
+ 4: {
30
+ icon: {
31
+ icon: "alert-triangle",
32
+ iconColor: r.Red4
33
+ },
34
+ color: {
35
+ bgColor: r.Red9,
36
+ borderColor: r.Red4
37
+ },
38
+ text: {
39
+ color: r.Red4
40
+ }
41
+ },
42
+ 5: {
43
+ icon: {
44
+ icon: "minus-circle",
45
+ iconColor: r.Grey5
46
+ },
47
+ color: {
48
+ bgColor: r.Grey8,
49
+ borderColor: r.Grey5
50
+ },
51
+ text: {
52
+ color: r.Grey5
53
+ },
54
+ cursor: a.NotAllowed,
55
+ animation: !1
56
+ }
57
+ }, P = {
58
+ 2: "spinner",
59
+ 3: "check",
60
+ 4: "x",
61
+ 5: "minus-circle"
62
+ };
63
+ var p = /* @__PURE__ */ ((e) => (e[e.Primary5 = 1] = "Primary5", e[e.Secondary5 = 2] = "Secondary5", e[e.Grey5 = 3] = "Grey5", e[e.Blue5 = 4] = "Blue5", e[e.Green5 = 5] = "Green5", e[e.Red5 = 6] = "Red5", e[e.Yellow5 = 7] = "Yellow5", e[e.OutlinePrimary5 = 8] = "OutlinePrimary5", e[e.OutlineSecondary5 = 9] = "OutlineSecondary5", e[e.OutlineGrey5 = 10] = "OutlineGrey5", e[e.OutlineBlue5 = 11] = "OutlineBlue5", e[e.OutlineGreen5 = 12] = "OutlineGreen5", e[e.OutlineRed5 = 13] = "OutlineRed5", e[e.OutlineYellow5 = 14] = "OutlineYellow5", e))(p || {});
64
+ const L = {
65
+ 1: {
66
+ text: r.Grey10,
67
+ icon: r.Primary8,
68
+ background: r.Primary5,
69
+ borderColor: r.Primary6
70
+ },
71
+ 2: {
72
+ text: r.Grey10,
73
+ icon: r.Secondary8,
74
+ background: r.Secondary5,
75
+ borderColor: r.Secondary6
76
+ },
77
+ 3: {
78
+ text: r.Grey10,
79
+ icon: r.Grey8,
80
+ background: r.Grey5,
81
+ borderColor: r.Grey6
82
+ },
83
+ 4: {
84
+ text: r.Grey10,
85
+ icon: r.Blue8,
86
+ background: r.Blue5,
87
+ borderColor: r.Blue6
88
+ },
89
+ 6: {
90
+ text: r.Grey10,
91
+ icon: r.Red8,
92
+ background: r.Red5,
93
+ borderColor: r.Red6
94
+ },
95
+ 5: {
96
+ text: r.Grey10,
97
+ icon: r.Green8,
98
+ background: r.Green5,
99
+ borderColor: r.Green6
100
+ },
101
+ 7: {
102
+ text: r.Grey10,
103
+ icon: r.Yellow8,
104
+ background: r.Yellow5,
105
+ borderColor: r.Yellow6
106
+ }
107
+ };
108
+ var m = /* @__PURE__ */ ((e) => (e[e.Tiny = 1] = "Tiny", e[e.Smaller = 2] = "Smaller", e[e.Small = 3] = "Small", e[e.Medium = 4] = "Medium", e[e.Big = 5] = "Big", e[e.Large = 6] = "Large", e))(m || {});
109
+ const h = {
110
+ 1: {
111
+ paddingTop: i.Size1,
112
+ paddingBottom: i.Size1,
113
+ paddingLeft: i.Size2,
114
+ paddingRight: i.Size2,
115
+ icon: o.Size3,
116
+ iconMargin: i.Size0,
117
+ text: n.Size1,
118
+ borderRadius: c.Size5
119
+ },
120
+ 2: {
121
+ paddingTop: i.Size2,
122
+ paddingBottom: i.Size2,
123
+ paddingLeft: i.Size3,
124
+ paddingRight: i.Size3,
125
+ icon: o.Size4,
126
+ iconMargin: i.Size0,
127
+ text: n.Size2,
128
+ borderRadius: c.Size6
129
+ },
130
+ 3: {
131
+ paddingTop: i.Size3,
132
+ paddingBottom: i.Size3,
133
+ paddingLeft: i.Size4,
134
+ paddingRight: i.Size4,
135
+ icon: o.Size5,
136
+ iconMargin: i.Size0,
137
+ text: n.Size3,
138
+ borderRadius: c.Size7
139
+ },
140
+ 4: {
141
+ paddingTop: i.Size3,
142
+ paddingBottom: i.Size3,
143
+ paddingLeft: i.Size4,
144
+ paddingRight: i.Size4,
145
+ icon: o.Size6,
146
+ iconMargin: i.Size0,
147
+ text: n.Size4,
148
+ borderRadius: c.Size7
149
+ },
150
+ 5: {
151
+ paddingTop: i.Size4,
152
+ paddingBottom: i.Size4,
153
+ paddingLeft: i.Size5,
154
+ paddingRight: i.Size5,
155
+ icon: o.Size7,
156
+ iconMargin: i.Size1,
157
+ text: n.Size5,
158
+ borderRadius: c.Size7
159
+ },
160
+ 6: {
161
+ paddingTop: i.Size4,
162
+ paddingBottom: i.Size4,
163
+ paddingLeft: i.Size5,
164
+ paddingRight: i.Size5,
165
+ icon: o.Size9,
166
+ iconMargin: i.Size1,
167
+ text: n.Size6,
168
+ borderRadius: c.Size8
169
+ }
170
+ };
171
+ var G = /* @__PURE__ */ ((e) => (e[e.Plain = 1] = "Plain", e[e.Gray = 2] = "Gray", e[e.Tinted = 3] = "Tinted", e[e.Outlined = 4] = "Outlined", e[e.Filled = 5] = "Filled", e))(G || {});
172
+ const k = {
173
+ 1: {
174
+ bgColor: r.Transparent,
175
+ fontColor: r.Primary5,
176
+ border: {
177
+ borderWidth: g.Size0,
178
+ borderStyle: S.None
179
+ },
180
+ shadow: d.Size0,
181
+ cursor: a.Pointer
182
+ },
183
+ 2: {
184
+ bgColor: r.Grey6,
185
+ fontColor: r.Grey10,
186
+ border: {
187
+ borderWidth: g.Size0,
188
+ borderStyle: S.None
189
+ },
190
+ cursor: a.Pointer
191
+ },
192
+ 3: {
193
+ bgColor: r.Primary9,
194
+ fontColor: r.Primary5,
195
+ border: {
196
+ borderWidth: g.Size0,
197
+ borderStyle: S.None
198
+ },
199
+ cursor: a.Pointer
200
+ },
201
+ 4: {
202
+ bgColor: r.Transparent,
203
+ fontColor: r.Primary5,
204
+ border: {
205
+ borderWidth: g.Size2,
206
+ borderStyle: S.Solid,
207
+ borderColor: r.Primary5
208
+ },
209
+ cursor: a.Pointer
210
+ },
211
+ 5: {
212
+ // bgColor: ColorPalettes.Transparent,
213
+ border: {
214
+ borderWidth: g.Size0,
215
+ borderStyle: S.None
216
+ },
217
+ cursor: a.Pointer
218
+ }
219
+ };
220
+ export {
221
+ L as B,
222
+ O as a,
223
+ h as b,
224
+ T as c,
225
+ k as d,
226
+ p as e,
227
+ z as f,
228
+ b as g,
229
+ m as h,
230
+ P as i,
231
+ y as j,
232
+ G as k,
233
+ l
234
+ };
@@ -0,0 +1,76 @@
1
+ import { R as r } from "./generics-C-WSPclF.js";
2
+ var i = /* @__PURE__ */ ((d) => (d[d.Primary5 = 1] = "Primary5", d[d.Secondary5 = 2] = "Secondary5", d[d.Grey5 = 3] = "Grey5", d[d.Red5 = 4] = "Red5", d[d.Green5 = 5] = "Green5", d[d.Blue5 = 6] = "Blue5", d[d.Yellow5 = 7] = "Yellow5", d))(i || {}), a = /* @__PURE__ */ ((d) => (d[d.Size1 = 1] = "Size1", d[d.Size2 = 2] = "Size2", d[d.Size3 = 3] = "Size3", d[d.Size4 = 4] = "Size4", d[d.Size5 = 5] = "Size5", d))(a || {});
3
+ const e = {
4
+ 1: 2,
5
+ 2: 2,
6
+ 3: 3,
7
+ 4: 3,
8
+ 5: 4
9
+ }, c = {
10
+ // the container size, border size, padding size, the checkedcolor sizes
11
+ 1: {
12
+ checkedColor: { w: 8, h: 8 },
13
+ checkedBorderRadius: r.Size1,
14
+ boxBorderRadius: r.Size2,
15
+ padding: e[
16
+ 1
17
+ /* Size1 */
18
+ ],
19
+ borderWidth: "1px"
20
+ },
21
+ 2: {
22
+ checkedColor: { w: 12, h: 12 },
23
+ checkedBorderRadius: r.Size1,
24
+ boxBorderRadius: r.Size6,
25
+ padding: e[
26
+ 2
27
+ /* Size2 */
28
+ ],
29
+ borderWidth: "1px"
30
+ },
31
+ 3: {
32
+ checkedColor: { w: 16, h: 16 },
33
+ checkedBorderRadius: r.Size2,
34
+ boxBorderRadius: r.Size3,
35
+ padding: e[
36
+ 3
37
+ /* Size3 */
38
+ ],
39
+ borderWidth: "1px"
40
+ },
41
+ 4: {
42
+ checkedColor: { w: 20, h: 20 },
43
+ checkedBorderRadius: r.Size3,
44
+ boxBorderRadius: r.Size4,
45
+ padding: e[
46
+ 4
47
+ /* Size4 */
48
+ ],
49
+ borderWidth: "2px"
50
+ },
51
+ 5: {
52
+ checkedColor: { w: 24, h: 24 },
53
+ checkedBorderRadius: r.Size5,
54
+ boxBorderRadius: r.Size4,
55
+ padding: e[
56
+ 5
57
+ /* Size5 */
58
+ ],
59
+ borderWidth: "2px"
60
+ }
61
+ }, S = {
62
+ // border color, the checkedcolor
63
+ 1: { borderColor: "#A1662F", checkedColor: "#A1662F" },
64
+ 2: { borderColor: "#30b197", checkedColor: "#30b197" },
65
+ 3: { borderColor: "#adb5bd", checkedColor: "#adb5bd" },
66
+ 4: { borderColor: "#e45b5b", checkedColor: "#e45b5b" },
67
+ 5: { borderColor: "#70cfc6", checkedColor: "#70cfc6" },
68
+ 6: { borderColor: "#2f83c6", checkedColor: "#2f83c6" },
69
+ 7: { borderColor: "#f2c04d", checkedColor: "#f2c04d" }
70
+ };
71
+ export {
72
+ S as C,
73
+ c as a,
74
+ i as b,
75
+ a as c
76
+ };
@@ -0,0 +1,52 @@
1
+ import { S as i } from "./generics-C-WSPclF.js";
2
+ var r = /* @__PURE__ */ ((m) => (m[m.Small = 1] = "Small", m[m.Medium = 2] = "Medium", m[m.Big = 3] = "Big", m[m.Large = 4] = "Large", m))(r || {});
3
+ const a = {
4
+ 1: {
5
+ borderRadius: "50%",
6
+ width: 12,
7
+ height: 12,
8
+ margins: {
9
+ marginTop: i.Size1,
10
+ marginBottom: i.Size1,
11
+ marginLeft: i.Size1,
12
+ marginRight: i.Size1
13
+ }
14
+ },
15
+ 2: {
16
+ borderRadius: "50%",
17
+ width: 16,
18
+ height: 16,
19
+ margins: {
20
+ marginTop: i.Size1,
21
+ marginBottom: i.Size1,
22
+ marginLeft: i.Size1,
23
+ marginRight: i.Size1
24
+ }
25
+ },
26
+ 3: {
27
+ borderRadius: "50%",
28
+ width: 24,
29
+ height: 24,
30
+ margins: {
31
+ marginTop: i.Size1,
32
+ marginBottom: i.Size1,
33
+ marginLeft: i.Size1,
34
+ marginRight: i.Size1
35
+ }
36
+ },
37
+ 4: {
38
+ borderRadius: "50%",
39
+ width: 32,
40
+ height: 32,
41
+ margins: {
42
+ marginTop: i.Size1,
43
+ marginBottom: i.Size1,
44
+ marginLeft: i.Size1,
45
+ marginRight: i.Size1
46
+ }
47
+ }
48
+ };
49
+ export {
50
+ a as T,
51
+ r as a
52
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./generics-9F1CmKPb.cjs");var S=(t=>(t[t.Default=1]="Default",t[t.Light=2]="Light",t[t.Dark=3]="Dark",t))(S||{});const E={1:"athm-def",2:"athm-light",3:"athm-dark"},a=r.FontSizes.Size2||2;exports.BASE_FONT_SIZE=a;exports.THEME_CLASSES=E;exports.Themes=S;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react/jsx-runtime"),i=require("./types-B3Ew5Ber.cjs"),o={[i.Portals.GlobalEventNotification]:{id:"#papnot",html:t.jsx("div",{id:"papnot"})},[i.Portals.Modals]:{id:"#pmodmodify",html:t.jsx("div",{id:"pmodmodify"})}};exports.PORTAL=o;