@telefonica/mistica 16.18.1 → 16.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +6 -6
  3. package/dist/align.css-mistica.js +1 -1
  4. package/dist/avatar.css-mistica.js +2 -2
  5. package/dist/badge.css-mistica.js +1 -1
  6. package/dist/box.css-mistica.js +13 -13
  7. package/dist/boxed.css-mistica.js +25 -25
  8. package/dist/button-group.css-mistica.js +1 -1
  9. package/dist/button-layout.css-mistica.js +13 -13
  10. package/dist/button.css-mistica.js +16 -16
  11. package/dist/callout.css-mistica.js +5 -5
  12. package/dist/card.css-mistica.js +3 -3
  13. package/dist/carousel.css-mistica.js +6 -6
  14. package/dist/checkbox.css-mistica.js +7 -7
  15. package/dist/chip.css-mistica.js +12 -12
  16. package/dist/circle.css-mistica.js +1 -1
  17. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  18. package/dist/community/blocks.css-mistica.js +3 -3
  19. package/dist/community/blocks.d.ts +3 -1
  20. package/dist/community/blocks.js +71 -56
  21. package/dist/community/example-component.css-mistica.js +1 -1
  22. package/dist/counter.css-mistica.js +1 -1
  23. package/dist/cover-hero.css-mistica.js +3 -3
  24. package/dist/credit-card-expiration-field.d.ts +1 -1
  25. package/dist/credit-card-expiration-field.js +21 -19
  26. package/dist/credit-card-number-field.css-mistica.js +3 -3
  27. package/dist/credit-card-number-field.d.ts +1 -1
  28. package/dist/credit-card-number-field.js +48 -46
  29. package/dist/cvv-field.d.ts +1 -1
  30. package/dist/cvv-field.js +21 -19
  31. package/dist/date-field.css-mistica.js +1 -1
  32. package/dist/date-field.d.ts +1 -1
  33. package/dist/date-field.js +15 -13
  34. package/dist/date-time-field.d.ts +1 -1
  35. package/dist/date-time-field.js +13 -11
  36. package/dist/date-time-picker.css-mistica.js +1 -1
  37. package/dist/decimal-field.d.ts +1 -1
  38. package/dist/decimal-field.js +38 -36
  39. package/dist/dialog.css-mistica.js +4 -4
  40. package/dist/divider.css-mistica.js +2 -2
  41. package/dist/double-field.css-mistica.js +2 -2
  42. package/dist/drawer.css-mistica.js +1 -1
  43. package/dist/email-field.d.ts +1 -1
  44. package/dist/email-field.js +16 -14
  45. package/dist/empty-state-card.css-mistica.js +1 -1
  46. package/dist/empty-state.css-mistica.js +7 -7
  47. package/dist/fade-in.css-mistica.js +1 -1
  48. package/dist/feedback.css-mistica.js +1 -1
  49. package/dist/fixed-footer-layout.css-mistica.js +4 -4
  50. package/dist/fixed-footer-layout.js +27 -21
  51. package/dist/form-context.d.ts +3 -2
  52. package/dist/form-context.js +47 -47
  53. package/dist/form.css-mistica.js +1 -1
  54. package/dist/generated/mistica-icons/icon-glass-filled.d.ts +4 -0
  55. package/dist/generated/mistica-icons/icon-glass-filled.js +111 -0
  56. package/dist/generated/mistica-icons/icon-glass-light.d.ts +4 -0
  57. package/dist/generated/mistica-icons/icon-glass-light.js +111 -0
  58. package/dist/generated/mistica-icons/icon-glass-regular.d.ts +4 -0
  59. package/dist/generated/mistica-icons/icon-glass-regular.js +111 -0
  60. package/dist/generated/mistica-icons/icon-washing-machine-filled.d.ts +4 -0
  61. package/dist/generated/mistica-icons/icon-washing-machine-filled.js +117 -0
  62. package/dist/generated/mistica-icons/icon-washing-machine-light.d.ts +4 -0
  63. package/dist/generated/mistica-icons/icon-washing-machine-light.js +117 -0
  64. package/dist/generated/mistica-icons/icon-washing-machine-regular.d.ts +4 -0
  65. package/dist/generated/mistica-icons/icon-washing-machine-regular.js +117 -0
  66. package/dist/generated/mistica-icons/icon-wind-filled.d.ts +4 -0
  67. package/dist/generated/mistica-icons/icon-wind-filled.js +117 -0
  68. package/dist/generated/mistica-icons/icon-wind-light.d.ts +4 -0
  69. package/dist/generated/mistica-icons/icon-wind-light.js +117 -0
  70. package/dist/generated/mistica-icons/icon-wind-regular.d.ts +4 -0
  71. package/dist/generated/mistica-icons/icon-wind-regular.js +117 -0
  72. package/dist/generated/mistica-icons/icons-keywords.js +42 -0
  73. package/dist/grid-layout.css-mistica.js +5 -5
  74. package/dist/grid.css-mistica.js +124 -124
  75. package/dist/header.css-mistica.js +1 -1
  76. package/dist/hero.css-mistica.js +2 -2
  77. package/dist/highlighted-card.css-mistica.js +4 -4
  78. package/dist/horizontal-scroll.css-mistica.js +3 -3
  79. package/dist/iban-field.d.ts +1 -1
  80. package/dist/iban-field.js +28 -26
  81. package/dist/icon-button.css-mistica.js +42 -42
  82. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  83. package/dist/icons/icon-error.css-mistica.js +1 -1
  84. package/dist/image.css-mistica.js +2 -2
  85. package/dist/index.d.ts +9 -0
  86. package/dist/index.js +36 -0
  87. package/dist/inline.css-mistica.js +9 -9
  88. package/dist/integer-field.d.ts +1 -1
  89. package/dist/integer-field.js +18 -16
  90. package/dist/list.css-mistica.js +1 -1
  91. package/dist/loading-bar.css-mistica.js +1 -1
  92. package/dist/loading-screen.css-mistica.js +5 -5
  93. package/dist/logo.css-mistica.js +6 -6
  94. package/dist/maybe-dismissable.css-mistica.js +1 -1
  95. package/dist/menu.css-mistica.js +12 -12
  96. package/dist/month-field.d.ts +1 -1
  97. package/dist/month-field.js +15 -13
  98. package/dist/mosaic.css-mistica.js +2 -2
  99. package/dist/navigation-bar.css-mistica.js +16 -16
  100. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  101. package/dist/package-version.js +1 -1
  102. package/dist/password-field.d.ts +1 -1
  103. package/dist/password-field.js +22 -20
  104. package/dist/phone-number-field-lite.d.ts +1 -1
  105. package/dist/phone-number-field-lite.js +32 -30
  106. package/dist/phone-number-field.d.ts +1 -1
  107. package/dist/phone-number-field.js +48 -46
  108. package/dist/pin-field.css-mistica.js +1 -1
  109. package/dist/popover.css-mistica.js +1 -1
  110. package/dist/progress-bar.css-mistica.js +5 -5
  111. package/dist/radio-button.css-mistica.js +14 -14
  112. package/dist/rating.css-mistica.js +3 -3
  113. package/dist/responsive-layout.css-mistica.js +6 -6
  114. package/dist/screen-reader-only.css-mistica.js +1 -1
  115. package/dist/search-field.d.ts +1 -0
  116. package/dist/search-field.js +19 -16
  117. package/dist/select.css-mistica.js +15 -15
  118. package/dist/select.d.ts +2 -1
  119. package/dist/select.js +35 -35
  120. package/dist/sheet-action-row.css-mistica.js +1 -1
  121. package/dist/sheet-common.css-mistica.js +1 -1
  122. package/dist/sheet-info.css-mistica.js +2 -2
  123. package/dist/skeletons.css-mistica.js +4 -4
  124. package/dist/skins/skin-contract.css-mistica.js +346 -346
  125. package/dist/slider.css-mistica.js +10 -10
  126. package/dist/snackbar.css-mistica.js +4 -4
  127. package/dist/spinner.css-mistica.js +1 -1
  128. package/dist/stack.css-mistica.js +7 -7
  129. package/dist/stacking-group.css-mistica.js +1 -1
  130. package/dist/stepper.css-mistica.js +2 -2
  131. package/dist/switch-component.css-mistica.js +26 -26
  132. package/dist/table.css-mistica.js +8 -8
  133. package/dist/tabs.css-mistica.js +12 -12
  134. package/dist/tag.css-mistica.js +1 -1
  135. package/dist/text-field-base.css-mistica.js +1 -1
  136. package/dist/text-field-base.d.ts +3 -0
  137. package/dist/text-field-base.js +33 -32
  138. package/dist/text-field-components.css-mistica.js +3 -3
  139. package/dist/text-field-components.d.ts +2 -2
  140. package/dist/text-field-components.js +1 -1
  141. package/dist/text-field.js +22 -20
  142. package/dist/text-link.css-mistica.js +3 -3
  143. package/dist/text.css-mistica.js +9 -9
  144. package/dist/theme-context.css-mistica.js +390 -390
  145. package/dist/timeline.css-mistica.js +10 -10
  146. package/dist/timer.css-mistica.js +6 -6
  147. package/dist/tooltip.css-mistica.js +1 -1
  148. package/dist/touchable.css-mistica.js +1 -1
  149. package/dist/utils/aspect-ratio-support.css-mistica.js +3 -3
  150. package/dist/video.css-mistica.js +2 -2
  151. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +3 -3
  152. package/dist-es/accordion.css-mistica.js +6 -6
  153. package/dist-es/align.css-mistica.js +1 -1
  154. package/dist-es/avatar.css-mistica.js +2 -2
  155. package/dist-es/badge.css-mistica.js +1 -1
  156. package/dist-es/box.css-mistica.js +13 -13
  157. package/dist-es/boxed.css-mistica.js +24 -24
  158. package/dist-es/button-group.css-mistica.js +1 -1
  159. package/dist-es/button-layout.css-mistica.js +13 -13
  160. package/dist-es/button.css-mistica.js +16 -16
  161. package/dist-es/callout.css-mistica.js +5 -5
  162. package/dist-es/card.css-mistica.js +3 -3
  163. package/dist-es/carousel.css-mistica.js +6 -6
  164. package/dist-es/checkbox.css-mistica.js +7 -7
  165. package/dist-es/chip.css-mistica.js +12 -12
  166. package/dist-es/circle.css-mistica.js +1 -1
  167. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  168. package/dist-es/community/blocks.css-mistica.js +2 -2
  169. package/dist-es/community/blocks.js +108 -93
  170. package/dist-es/community/example-component.css-mistica.js +1 -1
  171. package/dist-es/counter.css-mistica.js +1 -1
  172. package/dist-es/cover-hero.css-mistica.js +3 -3
  173. package/dist-es/credit-card-expiration-field.js +28 -26
  174. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  175. package/dist-es/credit-card-number-field.js +72 -70
  176. package/dist-es/cvv-field.js +52 -50
  177. package/dist-es/date-field.css-mistica.js +1 -1
  178. package/dist-es/date-field.js +29 -27
  179. package/dist-es/date-time-field.js +29 -27
  180. package/dist-es/date-time-picker.css-mistica.js +1 -1
  181. package/dist-es/decimal-field.js +43 -41
  182. package/dist-es/dialog.css-mistica.js +4 -4
  183. package/dist-es/divider.css-mistica.js +2 -2
  184. package/dist-es/double-field.css-mistica.js +2 -2
  185. package/dist-es/drawer.css-mistica.js +1 -1
  186. package/dist-es/email-field.js +21 -19
  187. package/dist-es/empty-state-card.css-mistica.js +1 -1
  188. package/dist-es/empty-state.css-mistica.js +6 -6
  189. package/dist-es/fade-in.css-mistica.js +1 -1
  190. package/dist-es/feedback.css-mistica.js +1 -1
  191. package/dist-es/fixed-footer-layout.css-mistica.js +4 -4
  192. package/dist-es/fixed-footer-layout.js +42 -36
  193. package/dist-es/form-context.js +50 -50
  194. package/dist-es/form.css-mistica.js +1 -1
  195. package/dist-es/generated/mistica-icons/icon-glass-filled.js +102 -0
  196. package/dist-es/generated/mistica-icons/icon-glass-light.js +102 -0
  197. package/dist-es/generated/mistica-icons/icon-glass-regular.js +102 -0
  198. package/dist-es/generated/mistica-icons/icon-washing-machine-filled.js +108 -0
  199. package/dist-es/generated/mistica-icons/icon-washing-machine-light.js +108 -0
  200. package/dist-es/generated/mistica-icons/icon-washing-machine-regular.js +108 -0
  201. package/dist-es/generated/mistica-icons/icon-wind-filled.js +108 -0
  202. package/dist-es/generated/mistica-icons/icon-wind-light.js +108 -0
  203. package/dist-es/generated/mistica-icons/icon-wind-regular.js +108 -0
  204. package/dist-es/generated/mistica-icons/icons-keywords.js +42 -0
  205. package/dist-es/grid-layout.css-mistica.js +4 -4
  206. package/dist-es/grid.css-mistica.js +124 -124
  207. package/dist-es/header.css-mistica.js +1 -1
  208. package/dist-es/hero.css-mistica.js +2 -2
  209. package/dist-es/highlighted-card.css-mistica.js +4 -4
  210. package/dist-es/horizontal-scroll.css-mistica.js +2 -2
  211. package/dist-es/iban-field.js +38 -36
  212. package/dist-es/icon-button.css-mistica.js +42 -42
  213. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  214. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  215. package/dist-es/image.css-mistica.js +2 -2
  216. package/dist-es/index.js +1096 -1087
  217. package/dist-es/inline.css-mistica.js +7 -7
  218. package/dist-es/integer-field.js +19 -17
  219. package/dist-es/list.css-mistica.js +1 -1
  220. package/dist-es/loading-bar.css-mistica.js +1 -1
  221. package/dist-es/loading-screen.css-mistica.js +5 -5
  222. package/dist-es/logo.css-mistica.js +6 -6
  223. package/dist-es/maybe-dismissable.css-mistica.js +1 -1
  224. package/dist-es/menu.css-mistica.js +12 -12
  225. package/dist-es/month-field.js +28 -26
  226. package/dist-es/mosaic.css-mistica.js +2 -2
  227. package/dist-es/navigation-bar.css-mistica.js +16 -16
  228. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  229. package/dist-es/package-version.js +1 -1
  230. package/dist-es/password-field.js +35 -33
  231. package/dist-es/phone-number-field-lite.js +33 -31
  232. package/dist-es/phone-number-field.js +57 -55
  233. package/dist-es/pin-field.css-mistica.js +1 -1
  234. package/dist-es/popover.css-mistica.js +1 -1
  235. package/dist-es/progress-bar.css-mistica.js +5 -5
  236. package/dist-es/radio-button.css-mistica.js +14 -14
  237. package/dist-es/rating.css-mistica.js +3 -3
  238. package/dist-es/responsive-layout.css-mistica.js +6 -6
  239. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  240. package/dist-es/search-field.js +33 -30
  241. package/dist-es/select.css-mistica.js +15 -15
  242. package/dist-es/select.js +68 -68
  243. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  244. package/dist-es/sheet-common.css-mistica.js +1 -1
  245. package/dist-es/sheet-info.css-mistica.js +2 -2
  246. package/dist-es/skeletons.css-mistica.js +4 -4
  247. package/dist-es/skins/skin-contract.css-mistica.js +346 -346
  248. package/dist-es/slider.css-mistica.js +10 -10
  249. package/dist-es/snackbar.css-mistica.js +4 -4
  250. package/dist-es/spinner.css-mistica.js +1 -1
  251. package/dist-es/stack.css-mistica.js +6 -6
  252. package/dist-es/stacking-group.css-mistica.js +1 -1
  253. package/dist-es/stepper.css-mistica.js +2 -2
  254. package/dist-es/style.css +1 -1
  255. package/dist-es/switch-component.css-mistica.js +26 -26
  256. package/dist-es/table.css-mistica.js +8 -8
  257. package/dist-es/tabs.css-mistica.js +12 -12
  258. package/dist-es/tag.css-mistica.js +1 -1
  259. package/dist-es/text-field-base.css-mistica.js +1 -1
  260. package/dist-es/text-field-base.js +67 -66
  261. package/dist-es/text-field-components.css-mistica.js +3 -3
  262. package/dist-es/text-field-components.js +1 -1
  263. package/dist-es/text-field.js +31 -29
  264. package/dist-es/text-link.css-mistica.js +3 -3
  265. package/dist-es/text.css-mistica.js +8 -8
  266. package/dist-es/theme-context.css-mistica.js +388 -388
  267. package/dist-es/timeline.css-mistica.js +10 -10
  268. package/dist-es/timer.css-mistica.js +6 -6
  269. package/dist-es/tooltip.css-mistica.js +1 -1
  270. package/dist-es/touchable.css-mistica.js +1 -1
  271. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  272. package/dist-es/video.css-mistica.js +2 -2
  273. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +2 -2
  274. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import * as l from "react";
3
- import { useTheme as z } from "./hooks.js";
4
- import { formFieldErrorIsMandatory as A } from "./text-tokens.js";
5
- const D = /*#__PURE__*/ l.createContext({
2
+ import * as d from "react";
3
+ import { useTheme as A } from "./hooks.js";
4
+ import { formFieldErrorIsMandatory as D } from "./text-tokens.js";
5
+ const G = /*#__PURE__*/ d.createContext({
6
6
  values: {},
7
7
  setValue: ()=>{},
8
8
  rawValues: {},
@@ -15,15 +15,15 @@ const D = /*#__PURE__*/ l.createContext({
15
15
  submit: ()=>{},
16
16
  validate: ()=>({}),
17
17
  formId: ""
18
- }), M = ()=>l.useContext(D), J = (param)=>{
19
- let { name: r, label: d, value: s, defaultValue: u, onChange: f, disabled: x } = param;
20
- const { setRawValue: i, setValue: v, rawValues: o, setFormError: E, register: p, formStatus: w } = M();
18
+ }), P = ()=>d.useContext(G), K = (param)=>{
19
+ let { name: r, label: v, value: s, defaultValue: u, onChange: f, disabled: R } = param;
20
+ const { setRawValue: i, setValue: E, rawValues: o, setFormError: c, register: p, formStatus: x } = P();
21
21
  var _o_r;
22
- return l.useEffect(()=>{
22
+ return d.useEffect(()=>{
23
23
  if (o[r] === void 0) {
24
24
  var _ref;
25
25
  const t = (_ref = s !== null && s !== void 0 ? s : u) !== null && _ref !== void 0 ? _ref : !1;
26
- v({
26
+ E({
27
27
  name: r,
28
28
  value: t
29
29
  }), i({
@@ -36,92 +36,92 @@ const D = /*#__PURE__*/ l.createContext({
36
36
  r,
37
37
  u,
38
38
  o,
39
- v,
39
+ E,
40
40
  i
41
41
  ]), {
42
42
  name: r,
43
- label: d,
43
+ label: v,
44
44
  value: s,
45
45
  defaultValue: u !== null && u !== void 0 ? u : s === void 0 ? (_o_r = o[r]) !== null && _o_r !== void 0 ? _o_r : !1 : void 0,
46
46
  focusableRef: (t)=>p(r, {
47
47
  focusableElement: t,
48
- label: d
48
+ label: v
49
49
  }),
50
50
  onChange: (t)=>{
51
51
  i({
52
52
  name: r,
53
53
  value: t
54
- }), v({
54
+ }), E({
55
55
  name: r,
56
56
  value: t
57
- }), E({
57
+ }), c({
58
58
  name: r,
59
59
  error: ""
60
60
  }), f == null || f(t);
61
61
  },
62
- disabled: w === "sending" || x
62
+ disabled: x === "sending" || R
63
63
  };
64
- }, K = (param)=>{
65
- let { name: r, label: d, value: s, defaultValue: u, processValue: f, helperText: x, optional: i, error: v, disabled: o, onBlur: E, validate: p, onChange: w, onChangeValue: t } = param;
64
+ }, L = (param)=>{
65
+ let { name: r, label: v, value: s, defaultValue: u, processValue: f, helperText: R, optional: i, error: E, disabled: o, onBlur: c, validate: p, validateOnBlurInsideForm: x = !0, onChange: t, onChangeValue: V } = param;
66
66
  var _ref, _ref1;
67
- const { texts: P, t: j } = z(), { setRawValue: V, setValue: T, rawValues: F, values: q, formErrors: S, formStatus: N, setFormError: R, register: b } = M(), I = (_ref1 = (_ref = s !== null && s !== void 0 ? s : u) !== null && _ref !== void 0 ? _ref : F[r]) !== null && _ref1 !== void 0 ? _ref1 : "", k = l.useRef(f);
68
- var _F_r;
69
- return l.useEffect(()=>{
70
- V({
67
+ const { texts: j, t: q } = A(), { setRawValue: T, setValue: I, rawValues: w, values: N, formErrors: y, formStatus: b, setFormError: F, register: k } = P(), S = (_ref1 = (_ref = s !== null && s !== void 0 ? s : u) !== null && _ref !== void 0 ? _ref : w[r]) !== null && _ref1 !== void 0 ? _ref1 : "", z = d.useRef(f);
68
+ var _w_r;
69
+ return d.useEffect(()=>{
70
+ T({
71
71
  name: r,
72
- value: I
73
- }), T({
72
+ value: S
73
+ }), I({
74
74
  name: r,
75
- value: k.current(I)
75
+ value: z.current(S)
76
76
  });
77
77
  }, [
78
78
  r,
79
- I,
80
- V,
81
- T
82
- ]), l.useEffect(()=>{
83
- o && R({
79
+ S,
80
+ T,
81
+ I
82
+ ]), d.useEffect(()=>{
83
+ o && F({
84
84
  name: r,
85
85
  error: void 0
86
86
  });
87
87
  }, [
88
88
  o,
89
89
  r,
90
- R
90
+ F
91
91
  ]), {
92
92
  value: s,
93
- defaultValue: u !== null && u !== void 0 ? u : s === void 0 ? (_F_r = F[r]) !== null && _F_r !== void 0 ? _F_r : "" : void 0,
93
+ defaultValue: u !== null && u !== void 0 ? u : s === void 0 ? (_w_r = w[r]) !== null && _w_r !== void 0 ? _w_r : "" : void 0,
94
94
  name: r,
95
- label: d,
96
- helperText: S[r] || x,
95
+ label: v,
96
+ helperText: y[r] || R,
97
97
  required: !i,
98
- error: v || !!S[r],
99
- disabled: o || N === "sending",
100
- onBlur: (c)=>{
98
+ error: E || !!y[r],
99
+ disabled: o || b === "sending",
100
+ onBlur: x ? (l)=>{
101
101
  let e;
102
- !F[r] && !i ? e = P.formFieldErrorIsMandatory || j(A) : p && (e = p(q[r], F[r])), R({
102
+ !w[r] && !i ? e = j.formFieldErrorIsMandatory || q(D) : p && (e = p(N[r], w[r])), F({
103
103
  name: r,
104
104
  error: e
105
- }), E == null || E(c);
106
- },
107
- inputRef: (c)=>b(r, {
108
- input: c,
105
+ }), c == null || c(l);
106
+ } : c,
107
+ inputRef: (l)=>k(r, {
108
+ input: l,
109
109
  validator: p,
110
- label: d
110
+ label: v
111
111
  }),
112
- onChange: (c)=>{
113
- const e = c.currentTarget.value, y = f(e);
114
- V({
112
+ onChange: (l)=>{
113
+ const e = l.currentTarget.value, M = f(e);
114
+ T({
115
115
  name: r,
116
116
  value: e
117
- }), T({
117
+ }), I({
118
118
  name: r,
119
- value: y
120
- }), R({
119
+ value: M
120
+ }), F({
121
121
  name: r,
122
122
  error: ""
123
- }), w == null || w(c), t == null || t(y, e);
123
+ }), t == null || t(l), V == null || V(M, e);
124
124
  }
125
125
  };
126
126
  };
127
- export { D as FormContext, J as useControlProps, K as useFieldProps, M as useForm };
127
+ export { G as FormContext, K as useControlProps, L as useFieldProps, P as useForm };
@@ -1,3 +1,3 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
- var o = "v16_18_1_1y2v1nfj7";
2
+ var o = "v16_19_1y2v1nfj7";
3
3
  export { o as form };
@@ -0,0 +1,102 @@
1
+ "use client";
2
+ function _define_property(obj, key, value) {
3
+ if (key in obj) {
4
+ Object.defineProperty(obj, key, {
5
+ value: value,
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true
9
+ });
10
+ } else {
11
+ obj[key] = value;
12
+ }
13
+ return obj;
14
+ }
15
+ function _object_spread(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i] != null ? arguments[i] : {};
18
+ var ownKeys = Object.keys(source);
19
+ if (typeof Object.getOwnPropertySymbols === "function") {
20
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
21
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
22
+ }));
23
+ }
24
+ ownKeys.forEach(function(key) {
25
+ _define_property(target, key, source[key]);
26
+ });
27
+ }
28
+ return target;
29
+ }
30
+ function ownKeys(object, enumerableOnly) {
31
+ var keys = Object.keys(object);
32
+ if (Object.getOwnPropertySymbols) {
33
+ var symbols = Object.getOwnPropertySymbols(object);
34
+ if (enumerableOnly) {
35
+ symbols = symbols.filter(function(sym) {
36
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
37
+ });
38
+ }
39
+ keys.push.apply(keys, symbols);
40
+ }
41
+ return keys;
42
+ }
43
+ function _object_spread_props(target, source) {
44
+ source = source != null ? source : {};
45
+ if (Object.getOwnPropertyDescriptors) {
46
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
47
+ } else {
48
+ ownKeys(Object(source)).forEach(function(key) {
49
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
50
+ });
51
+ }
52
+ return target;
53
+ }
54
+ function _object_without_properties(source, excluded) {
55
+ if (source == null) return {};
56
+ var target = _object_without_properties_loose(source, excluded);
57
+ var key, i;
58
+ if (Object.getOwnPropertySymbols) {
59
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
60
+ for(i = 0; i < sourceSymbolKeys.length; i++){
61
+ key = sourceSymbolKeys[i];
62
+ if (excluded.indexOf(key) >= 0) continue;
63
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
64
+ target[key] = source[key];
65
+ }
66
+ }
67
+ return target;
68
+ }
69
+ function _object_without_properties_loose(source, excluded) {
70
+ if (source == null) return {};
71
+ var target = {};
72
+ var sourceKeys = Object.keys(source);
73
+ var key, i;
74
+ for(i = 0; i < sourceKeys.length; i++){
75
+ key = sourceKeys[i];
76
+ if (excluded.indexOf(key) >= 0) continue;
77
+ target[key] = source[key];
78
+ }
79
+ return target;
80
+ }
81
+ import { jsx as r } from "react/jsx-runtime";
82
+ import { useIsInverseOrMediaVariant as i } from "../../theme-variant-context.js";
83
+ import { vars as s } from "../../skins/skin-contract.css-mistica.js";
84
+ const n = (_param)=>{
85
+ var { color: e, size: o = 24 } = _param, l = _object_without_properties(_param, [
86
+ "color",
87
+ "size"
88
+ ]);
89
+ const t = i(), a = e !== null && e !== void 0 ? e : t ? s.colors.inverse : s.colors.neutralHigh;
90
+ return /* @__PURE__ */ r("svg", _object_spread_props(_object_spread({
91
+ width: o,
92
+ height: o,
93
+ viewBox: "0 0 24 24",
94
+ role: "presentation"
95
+ }, l), {
96
+ children: /* @__PURE__ */ r("path", {
97
+ fill: a,
98
+ d: "M2.001 19.468V4.53C1.983 3.085 3.244 2.058 4.63 2h14.742c1.385.058 2.646 1.085 2.628 2.53v14.938c.018 1.445-1.243 2.472-2.628 2.53H4.629c-1.385-.058-2.646-1.085-2.628-2.53M7.967 5.475a.75.75 0 0 0-1.06.008l-1.43 1.452a.75.75 0 1 0 1.068 1.053l1.43-1.452a.75.75 0 0 0-.008-1.06m3.18 2.325a.75.75 0 0 0-1.074-1.048L7.19 9.705a.75.75 0 0 0 1.073 1.048z"
99
+ })
100
+ }));
101
+ }, m = n;
102
+ export { m as default };
@@ -0,0 +1,102 @@
1
+ "use client";
2
+ function _define_property(obj, key, value) {
3
+ if (key in obj) {
4
+ Object.defineProperty(obj, key, {
5
+ value: value,
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true
9
+ });
10
+ } else {
11
+ obj[key] = value;
12
+ }
13
+ return obj;
14
+ }
15
+ function _object_spread(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i] != null ? arguments[i] : {};
18
+ var ownKeys = Object.keys(source);
19
+ if (typeof Object.getOwnPropertySymbols === "function") {
20
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
21
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
22
+ }));
23
+ }
24
+ ownKeys.forEach(function(key) {
25
+ _define_property(target, key, source[key]);
26
+ });
27
+ }
28
+ return target;
29
+ }
30
+ function ownKeys(object, enumerableOnly) {
31
+ var keys = Object.keys(object);
32
+ if (Object.getOwnPropertySymbols) {
33
+ var symbols = Object.getOwnPropertySymbols(object);
34
+ if (enumerableOnly) {
35
+ symbols = symbols.filter(function(sym) {
36
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
37
+ });
38
+ }
39
+ keys.push.apply(keys, symbols);
40
+ }
41
+ return keys;
42
+ }
43
+ function _object_spread_props(target, source) {
44
+ source = source != null ? source : {};
45
+ if (Object.getOwnPropertyDescriptors) {
46
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
47
+ } else {
48
+ ownKeys(Object(source)).forEach(function(key) {
49
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
50
+ });
51
+ }
52
+ return target;
53
+ }
54
+ function _object_without_properties(source, excluded) {
55
+ if (source == null) return {};
56
+ var target = _object_without_properties_loose(source, excluded);
57
+ var key, i;
58
+ if (Object.getOwnPropertySymbols) {
59
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
60
+ for(i = 0; i < sourceSymbolKeys.length; i++){
61
+ key = sourceSymbolKeys[i];
62
+ if (excluded.indexOf(key) >= 0) continue;
63
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
64
+ target[key] = source[key];
65
+ }
66
+ }
67
+ return target;
68
+ }
69
+ function _object_without_properties_loose(source, excluded) {
70
+ if (source == null) return {};
71
+ var target = {};
72
+ var sourceKeys = Object.keys(source);
73
+ var key, i;
74
+ for(i = 0; i < sourceKeys.length; i++){
75
+ key = sourceKeys[i];
76
+ if (excluded.indexOf(key) >= 0) continue;
77
+ target[key] = source[key];
78
+ }
79
+ return target;
80
+ }
81
+ import { jsx as r } from "react/jsx-runtime";
82
+ import { useIsInverseOrMediaVariant as l } from "../../theme-variant-context.js";
83
+ import { vars as s } from "../../skins/skin-contract.css-mistica.js";
84
+ const n = (_param)=>{
85
+ var { color: t, size: o = 24 } = _param, a = _object_without_properties(_param, [
86
+ "color",
87
+ "size"
88
+ ]);
89
+ const e = l(), i = t !== null && t !== void 0 ? t : e ? s.colors.inverse : s.colors.neutralHigh;
90
+ return /* @__PURE__ */ r("svg", _object_spread_props(_object_spread({
91
+ width: o,
92
+ height: o,
93
+ viewBox: "0 0 24 24",
94
+ role: "presentation"
95
+ }, a), {
96
+ children: /* @__PURE__ */ r("path", {
97
+ fill: i,
98
+ d: "M19.55 2h.01c1.311.055 2.457 1.02 2.44 2.327v15.347c.017 1.306-1.129 2.271-2.44 2.326H4.44C3.13 21.945 1.983 20.98 2 19.673V4.327C1.983 3.02 3.13 2.055 4.44 2h15.11M4.471 3C3.578 3.042 2.99 3.67 3 4.315v15.37c-.01.644.578 1.274 1.472 1.315h15.056c.894-.041 1.482-.67 1.472-1.315V4.315c.01-.644-.578-1.273-1.472-1.315zm3.474 2.46a.5.5 0 0 1 .014.707L6.202 7.992a.5.5 0 1 1-.72-.693l1.757-1.825a.5.5 0 0 1 .707-.014m3.2 1.288a.5.5 0 0 1 .008.707L7.92 10.763a.5.5 0 0 1-.715-.7l3.235-3.307a.5.5 0 0 1 .707-.008"
99
+ })
100
+ }));
101
+ }, v = n;
102
+ export { v as default };
@@ -0,0 +1,102 @@
1
+ "use client";
2
+ function _define_property(obj, key, value) {
3
+ if (key in obj) {
4
+ Object.defineProperty(obj, key, {
5
+ value: value,
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true
9
+ });
10
+ } else {
11
+ obj[key] = value;
12
+ }
13
+ return obj;
14
+ }
15
+ function _object_spread(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i] != null ? arguments[i] : {};
18
+ var ownKeys = Object.keys(source);
19
+ if (typeof Object.getOwnPropertySymbols === "function") {
20
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
21
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
22
+ }));
23
+ }
24
+ ownKeys.forEach(function(key) {
25
+ _define_property(target, key, source[key]);
26
+ });
27
+ }
28
+ return target;
29
+ }
30
+ function ownKeys(object, enumerableOnly) {
31
+ var keys = Object.keys(object);
32
+ if (Object.getOwnPropertySymbols) {
33
+ var symbols = Object.getOwnPropertySymbols(object);
34
+ if (enumerableOnly) {
35
+ symbols = symbols.filter(function(sym) {
36
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
37
+ });
38
+ }
39
+ keys.push.apply(keys, symbols);
40
+ }
41
+ return keys;
42
+ }
43
+ function _object_spread_props(target, source) {
44
+ source = source != null ? source : {};
45
+ if (Object.getOwnPropertyDescriptors) {
46
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
47
+ } else {
48
+ ownKeys(Object(source)).forEach(function(key) {
49
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
50
+ });
51
+ }
52
+ return target;
53
+ }
54
+ function _object_without_properties(source, excluded) {
55
+ if (source == null) return {};
56
+ var target = _object_without_properties_loose(source, excluded);
57
+ var key, i;
58
+ if (Object.getOwnPropertySymbols) {
59
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
60
+ for(i = 0; i < sourceSymbolKeys.length; i++){
61
+ key = sourceSymbolKeys[i];
62
+ if (excluded.indexOf(key) >= 0) continue;
63
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
64
+ target[key] = source[key];
65
+ }
66
+ }
67
+ return target;
68
+ }
69
+ function _object_without_properties_loose(source, excluded) {
70
+ if (source == null) return {};
71
+ var target = {};
72
+ var sourceKeys = Object.keys(source);
73
+ var key, i;
74
+ for(i = 0; i < sourceKeys.length; i++){
75
+ key = sourceKeys[i];
76
+ if (excluded.indexOf(key) >= 0) continue;
77
+ target[key] = source[key];
78
+ }
79
+ return target;
80
+ }
81
+ import { jsx as o } from "react/jsx-runtime";
82
+ import { useIsInverseOrMediaVariant as c } from "../../theme-variant-context.js";
83
+ import { vars as s } from "../../skins/skin-contract.css-mistica.js";
84
+ const n = (_param)=>{
85
+ var { color: a, size: r = 24 } = _param, e = _object_without_properties(_param, [
86
+ "color",
87
+ "size"
88
+ ]);
89
+ const l = c(), t = a !== null && a !== void 0 ? a : l ? s.colors.inverse : s.colors.neutralHigh;
90
+ return /* @__PURE__ */ o("svg", _object_spread_props(_object_spread({
91
+ width: r,
92
+ height: r,
93
+ viewBox: "0 0 24 24",
94
+ role: "presentation"
95
+ }, e), {
96
+ children: /* @__PURE__ */ o("path", {
97
+ fill: t,
98
+ d: "M19.355 2h.015c1.385.058 2.647 1.085 2.628 2.53v14.938c.019 1.445-1.243 2.472-2.628 2.53H4.628C3.243 21.94 1.982 20.913 2 19.468V4.53C1.982 3.085 3.243 2.058 4.628 2h14.726M4.676 3.5c-.758.038-1.183.56-1.176 1.013v14.972c-.007.453.418.976 1.176 1.013h14.646c.758-.038 1.183-.56 1.176-1.013V4.513c.007-.453-.418-.975-1.176-1.013zm3.29 1.975a.75.75 0 0 1 .008 1.06l-1.43 1.453a.75.75 0 1 1-1.069-1.053l1.43-1.452a.75.75 0 0 1 1.061-.008m3.167 1.265a.75.75 0 0 1 .013 1.06l-2.884 2.953a.75.75 0 1 1-1.073-1.048l2.883-2.953a.75.75 0 0 1 1.061-.012"
99
+ })
100
+ }));
101
+ }, v = n;
102
+ export { v as default };
@@ -0,0 +1,108 @@
1
+ "use client";
2
+ function _define_property(obj, key, value) {
3
+ if (key in obj) {
4
+ Object.defineProperty(obj, key, {
5
+ value: value,
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true
9
+ });
10
+ } else {
11
+ obj[key] = value;
12
+ }
13
+ return obj;
14
+ }
15
+ function _object_spread(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i] != null ? arguments[i] : {};
18
+ var ownKeys = Object.keys(source);
19
+ if (typeof Object.getOwnPropertySymbols === "function") {
20
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
21
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
22
+ }));
23
+ }
24
+ ownKeys.forEach(function(key) {
25
+ _define_property(target, key, source[key]);
26
+ });
27
+ }
28
+ return target;
29
+ }
30
+ function ownKeys(object, enumerableOnly) {
31
+ var keys = Object.keys(object);
32
+ if (Object.getOwnPropertySymbols) {
33
+ var symbols = Object.getOwnPropertySymbols(object);
34
+ if (enumerableOnly) {
35
+ symbols = symbols.filter(function(sym) {
36
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
37
+ });
38
+ }
39
+ keys.push.apply(keys, symbols);
40
+ }
41
+ return keys;
42
+ }
43
+ function _object_spread_props(target, source) {
44
+ source = source != null ? source : {};
45
+ if (Object.getOwnPropertyDescriptors) {
46
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
47
+ } else {
48
+ ownKeys(Object(source)).forEach(function(key) {
49
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
50
+ });
51
+ }
52
+ return target;
53
+ }
54
+ function _object_without_properties(source, excluded) {
55
+ if (source == null) return {};
56
+ var target = _object_without_properties_loose(source, excluded);
57
+ var key, i;
58
+ if (Object.getOwnPropertySymbols) {
59
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
60
+ for(i = 0; i < sourceSymbolKeys.length; i++){
61
+ key = sourceSymbolKeys[i];
62
+ if (excluded.indexOf(key) >= 0) continue;
63
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
64
+ target[key] = source[key];
65
+ }
66
+ }
67
+ return target;
68
+ }
69
+ function _object_without_properties_loose(source, excluded) {
70
+ if (source == null) return {};
71
+ var target = {};
72
+ var sourceKeys = Object.keys(source);
73
+ var key, i;
74
+ for(i = 0; i < sourceKeys.length; i++){
75
+ key = sourceKeys[i];
76
+ if (excluded.indexOf(key) >= 0) continue;
77
+ target[key] = source[key];
78
+ }
79
+ return target;
80
+ }
81
+ import { jsxs as t, jsx as r } from "react/jsx-runtime";
82
+ import { useIsInverseOrMediaVariant as l } from "../../theme-variant-context.js";
83
+ import { vars as e } from "../../skins/skin-contract.css-mistica.js";
84
+ const a = (_param)=>{
85
+ var { color: i, size: c = 24 } = _param, s = _object_without_properties(_param, [
86
+ "color",
87
+ "size"
88
+ ]);
89
+ const n = l(), o = i !== null && i !== void 0 ? i : n ? e.colors.inverse : e.colors.neutralHigh;
90
+ return /* @__PURE__ */ t("svg", _object_spread_props(_object_spread({
91
+ width: c,
92
+ height: c,
93
+ viewBox: "0 0 24 24",
94
+ role: "presentation"
95
+ }, s), {
96
+ children: [
97
+ /* @__PURE__ */ r("path", {
98
+ fill: o,
99
+ d: "M16.229 3c1.915 0 3.585 1.319 3.758 3.107H4.031C4.204 4.319 5.874 3 7.789 3zM9.665 12.433c0-.92.77-1.664 1.72-1.664h1.156c.95 0 1.72.745 1.72 1.664v1.117c0 .918-.77 1.663-1.72 1.663h-1.156c-.95 0-1.72-.745-1.72-1.663z"
100
+ }),
101
+ /* @__PURE__ */ r("path", {
102
+ fill: o,
103
+ d: "M20 7.566H4.014L4 16.136c0 1.75 1.422 3.118 3.183 3.371v.763c0 .403.338.73.755.73a.74.74 0 0 0 .754-.73v-.72h6.54v.72c0 .403.339.73.755.73a.743.743 0 0 0 .755-.73v-.755c1.79-.23 3.244-1.609 3.244-3.378zM8.156 12.433c0-1.725 1.446-3.124 3.23-3.124h1.155c1.783 0 3.23 1.399 3.23 3.124v1.117c0 1.724-1.447 3.123-3.23 3.123h-1.156c-1.783 0-3.23-1.399-3.23-3.123z"
104
+ })
105
+ ]
106
+ }));
107
+ }, f = a;
108
+ export { f as default };