@arthurzakharov/ui-kit 1.5.3 → 1.5.5

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 (280) hide show
  1. package/dist/animations/fade-grow/fade-grow.component.d.ts +2 -0
  2. package/dist/animations/{animation-fade-grow/animation-fade-grow.component.js → fade-grow/fade-grow.component.js} +9 -9
  3. package/dist/animations/fade-grow/index.d.ts +1 -0
  4. package/dist/animations/fade-grow/index.js +4 -0
  5. package/dist/animations/fade-scale/fade-scale.component.d.ts +2 -0
  6. package/dist/animations/{animation-fade-scale/animation-fade-scale.component.js → fade-scale/fade-scale.component.js} +10 -10
  7. package/dist/animations/fade-scale/index.d.ts +1 -0
  8. package/dist/animations/fade-scale/index.js +4 -0
  9. package/dist/animations/fade-slide/fade-slide.component.d.ts +6 -0
  10. package/dist/animations/{animation-fade-slide/animation-fade-slide.component.js → fade-slide/fade-slide.component.js} +8 -8
  11. package/dist/animations/fade-slide/index.d.ts +1 -0
  12. package/dist/animations/fade-slide/index.js +4 -0
  13. package/dist/animations/rotate/index.d.ts +1 -0
  14. package/dist/animations/rotate/index.js +4 -0
  15. package/dist/animations/{animation-rotate/animation-rotate.component.d.ts → rotate/rotate.component.d.ts} +2 -2
  16. package/dist/animations/{animation-rotate/animation-rotate.component.js → rotate/rotate.component.js} +6 -6
  17. package/dist/animations/utils/default-props.d.ts +1 -1
  18. package/dist/assets/box-5bAcfszB.css +1 -0
  19. package/dist/assets/button-card-B-nlEbJU.css +1 -0
  20. package/dist/assets/button-radio-CPeNePW2.css +1 -0
  21. package/dist/assets/button-text-BKSERdhL.css +1 -0
  22. package/dist/assets/caption-B28SGRY1.css +1 -0
  23. package/dist/assets/card-image-LY9zvE8g.css +1 -0
  24. package/dist/assets/card-text-sR2uSJyo.css +1 -0
  25. package/dist/assets/checkbox-BzL5bg8o.css +1 -0
  26. package/dist/assets/choice-j496CvVc.css +1 -0
  27. package/dist/assets/dropdown-DLhCAHEx.css +1 -0
  28. package/dist/assets/error-message-CQHYhXbt.css +1 -0
  29. package/dist/assets/hidden-input-DHJQHUKd.css +1 -0
  30. package/dist/assets/input-D66hMzHc.css +1 -0
  31. package/dist/assets/label-BKXQlPJi.css +1 -0
  32. package/dist/assets/{main-DlyWXITA.css → main-Dz2hrn4n.css} +1 -1
  33. package/dist/assets/radio-VoXwCoAp.css +1 -0
  34. package/dist/assets/radio-label-CZHWBUUt.css +1 -0
  35. package/dist/assets/signature-D9gYlpze.css +1 -0
  36. package/dist/assets/status-ZxxbM9u1.css +1 -0
  37. package/dist/assets/text-area-Dgc2jHSx.css +1 -0
  38. package/dist/assets/text-field-Bp4Ra0yN.css +1 -0
  39. package/dist/components/accordion-table/accordion-table.component.js +18 -18
  40. package/dist/components/bottom-bar/bottom-bar.component.d.ts +1 -1
  41. package/dist/components/bottom-bar/bottom-bar.component.js +25 -27
  42. package/dist/components/dialog/dialog.component.js +19108 -60
  43. package/dist/components/dialog-article/dialog-article.component.d.ts +0 -4
  44. package/dist/components/dialog-article/dialog-article.component.js +20 -20
  45. package/dist/components/main-attachment/main-attachment.component.js +7 -7
  46. package/dist/components/payment/components/glass/glass.component.js +2 -2
  47. package/dist/components/sidebar/sidebar.component.d.ts +1 -1
  48. package/dist/components/sidebar/sidebar.component.js +14 -14
  49. package/dist/components/signature/signature.component.d.ts +1 -1
  50. package/dist/components/signature/signature.component.js +848 -783
  51. package/dist/components/text/text.component.d.ts +2 -2
  52. package/dist/components/user-panel/user-panel.component.js +13 -13
  53. package/dist/controls/box/box.component.d.ts +10 -0
  54. package/dist/controls/box/box.component.js +40 -0
  55. package/dist/controls/box/index.d.ts +1 -0
  56. package/dist/controls/box/index.js +4 -0
  57. package/dist/controls/{control-button/control-button.component.d.ts → button/button.component.d.ts} +5 -4
  58. package/dist/controls/button/button.component.js +82 -0
  59. package/dist/controls/button/index.d.ts +1 -0
  60. package/dist/controls/button/index.js +4 -0
  61. package/dist/controls/{control-button-card/control-button-card.component.d.ts → button-card/button-card.component.d.ts} +5 -4
  62. package/dist/controls/button-card/button-card.component.js +79 -0
  63. package/dist/controls/button-card/index.d.ts +1 -0
  64. package/dist/controls/button-card/index.js +4 -0
  65. package/dist/controls/button-radio/button-radio.component.d.ts +20 -0
  66. package/dist/controls/button-radio/button-radio.component.js +83 -0
  67. package/dist/controls/button-radio/index.d.ts +1 -0
  68. package/dist/controls/button-radio/index.js +4 -0
  69. package/dist/controls/{control-button-text/control-button-text.component.d.ts → button-text/button-text.component.d.ts} +4 -4
  70. package/dist/controls/button-text/button-text.component.js +87 -0
  71. package/dist/controls/button-text/index.d.ts +1 -0
  72. package/dist/controls/button-text/index.js +4 -0
  73. package/dist/controls/caption/caption.component.d.ts +10 -0
  74. package/dist/controls/caption/caption.component.js +48 -0
  75. package/dist/controls/caption/index.d.ts +1 -0
  76. package/dist/controls/caption/index.js +4 -0
  77. package/dist/controls/card-image/card-image.component.d.ts +10 -0
  78. package/dist/controls/card-image/card-image.component.js +81 -0
  79. package/dist/controls/card-image/index.d.ts +1 -0
  80. package/dist/controls/card-image/index.js +4 -0
  81. package/dist/controls/card-text/card-text.component.d.ts +9 -0
  82. package/dist/controls/card-text/card-text.component.js +75 -0
  83. package/dist/controls/card-text/index.d.ts +1 -0
  84. package/dist/controls/card-text/index.js +4 -0
  85. package/dist/controls/checkbox/checkbox.component.d.ts +10 -0
  86. package/dist/controls/checkbox/checkbox.component.js +103 -0
  87. package/dist/controls/checkbox/index.d.ts +1 -0
  88. package/dist/controls/checkbox/index.js +4 -0
  89. package/dist/controls/choice/choice.component.d.ts +12 -0
  90. package/dist/controls/choice/choice.component.js +67 -0
  91. package/dist/controls/choice/index.d.ts +1 -0
  92. package/dist/controls/choice/index.js +4 -0
  93. package/dist/controls/{control-dropdown/control-dropdown.component.d.ts → dropdown/dropdown.component.d.ts} +3 -3
  94. package/dist/controls/dropdown/dropdown.component.js +127 -0
  95. package/dist/controls/dropdown/index.d.ts +1 -0
  96. package/dist/controls/dropdown/index.js +4 -0
  97. package/dist/controls/error-message/error-message.component.d.ts +5 -0
  98. package/dist/controls/error-message/error-message.component.js +22 -0
  99. package/dist/controls/error-message/index.d.ts +1 -0
  100. package/dist/controls/error-message/index.js +4 -0
  101. package/dist/controls/hidden-input/hidden-input.component.d.ts +15 -0
  102. package/dist/controls/hidden-input/hidden-input.component.js +38 -0
  103. package/dist/controls/hidden-input/index.d.ts +1 -0
  104. package/dist/controls/hidden-input/index.js +4 -0
  105. package/dist/controls/hooks/index.d.ts +1 -0
  106. package/dist/controls/hooks/index.js +3 -1
  107. package/dist/controls/hooks/use-choice/use-choice.hook.d.ts +2 -2
  108. package/dist/controls/hooks/use-control-interaction/index.d.ts +1 -0
  109. package/dist/controls/hooks/use-control-interaction/index.js +4 -0
  110. package/dist/controls/hooks/use-control-interaction/use-control-interaction.hook.d.ts +7 -0
  111. package/dist/controls/hooks/use-control-interaction/use-control-interaction.hook.js +25 -0
  112. package/dist/controls/index.d.ts +22 -0
  113. package/dist/controls/index.js +50 -0
  114. package/dist/controls/input/index.d.ts +1 -0
  115. package/dist/controls/input/index.js +4 -0
  116. package/dist/controls/input/input.component.d.ts +9 -0
  117. package/dist/controls/input/input.component.js +143 -0
  118. package/dist/controls/input/input.utils.d.ts +10 -0
  119. package/dist/controls/input/input.utils.js +24 -0
  120. package/dist/controls/label/index.d.ts +1 -0
  121. package/dist/controls/label/index.js +4 -0
  122. package/dist/controls/label/label.component.d.ts +8 -0
  123. package/dist/controls/label/label.component.js +33 -0
  124. package/dist/controls/radio/index.d.ts +1 -0
  125. package/dist/controls/radio/index.js +4 -0
  126. package/dist/controls/radio/radio.component.d.ts +12 -0
  127. package/dist/controls/radio/radio.component.js +109 -0
  128. package/dist/controls/radio-label/index.d.ts +1 -0
  129. package/dist/controls/radio-label/index.js +4 -0
  130. package/dist/controls/radio-label/radio-label.component.d.ts +19 -0
  131. package/dist/controls/radio-label/radio-label.component.js +49 -0
  132. package/dist/controls/status/index.d.ts +1 -0
  133. package/dist/controls/status/index.js +4 -0
  134. package/dist/controls/status/status.component.d.ts +6 -0
  135. package/dist/controls/status/status.component.js +36 -0
  136. package/dist/controls/text-area/index.d.ts +1 -0
  137. package/dist/controls/text-area/index.js +4 -0
  138. package/dist/controls/text-area/text-area.component.d.ts +8 -0
  139. package/dist/controls/text-area/text-area.component.js +62 -0
  140. package/dist/controls/text-field/index.d.ts +1 -0
  141. package/dist/controls/text-field/index.js +4 -0
  142. package/dist/controls/text-field/text-field.component.d.ts +10 -0
  143. package/dist/controls/text-field/text-field.component.js +100 -0
  144. package/dist/controls/utils/functions/functions.util.d.ts +0 -1
  145. package/dist/controls/utils/functions/functions.util.js +3 -14
  146. package/dist/controls/utils/functions/index.js +3 -4
  147. package/dist/controls/utils/index.js +3 -4
  148. package/dist/controls/utils/types.d.ts +8 -5
  149. package/dist/{index-PfP8s0Qf.js → index-CPvYWadf.js} +1 -1
  150. package/dist/main.d.ts +25 -24
  151. package/dist/main.js +101 -99
  152. package/dist/{proxy-Cx6n7mT2.js → proxy-CmTphuYR.js} +1762 -1717
  153. package/dist/utils/converter/index.d.ts +1 -0
  154. package/dist/utils/converter/index.js +4 -0
  155. package/dist/utils/functions/functions.util.js +10 -10
  156. package/dist/utils/story/grey-box/grey-box.component.d.ts +9 -0
  157. package/dist/utils/story/grey-box/grey-box.component.js +24 -0
  158. package/dist/utils/story/grey-box/index.d.ts +1 -0
  159. package/dist/utils/story/grey-box/index.js +4 -0
  160. package/dist/utils/story/size-box/index.d.ts +1 -0
  161. package/dist/utils/story/size-box/index.js +4 -0
  162. package/dist/utils/story/size-box/size-box.component.d.ts +6 -0
  163. package/dist/utils/story/size-box/size-box.component.js +5 -0
  164. package/package.json +10 -18
  165. package/dist/_commonjsHelpers-CqEciG1_.js +0 -31
  166. package/dist/animations/animation-fade-grow/animation-fade-grow.component.d.ts +0 -2
  167. package/dist/animations/animation-fade-grow/index.d.ts +0 -1
  168. package/dist/animations/animation-fade-grow/index.js +0 -4
  169. package/dist/animations/animation-fade-scale/animation-fade-scale.component.d.ts +0 -2
  170. package/dist/animations/animation-fade-scale/index.d.ts +0 -1
  171. package/dist/animations/animation-fade-scale/index.js +0 -4
  172. package/dist/animations/animation-fade-slide/animation-fade-slide.component.d.ts +0 -6
  173. package/dist/animations/animation-fade-slide/index.d.ts +0 -1
  174. package/dist/animations/animation-fade-slide/index.js +0 -4
  175. package/dist/animations/animation-rotate/index.d.ts +0 -1
  176. package/dist/animations/animation-rotate/index.js +0 -4
  177. package/dist/assets/control-box-Dx-QKPgf.css +0 -1
  178. package/dist/assets/control-button-card-Cb8_vJbQ.css +0 -1
  179. package/dist/assets/control-button-radio-BodzD0rU.css +0 -1
  180. package/dist/assets/control-button-text-BbE_5ebO.css +0 -1
  181. package/dist/assets/control-card-image-BYT3bzTE.css +0 -1
  182. package/dist/assets/control-card-text-Cvv3bL2p.css +0 -1
  183. package/dist/assets/control-checkbox-uLtXjmYN.css +0 -1
  184. package/dist/assets/control-choice-BAHN-VTm.css +0 -1
  185. package/dist/assets/control-dropdown-DaS5KsvG.css +0 -1
  186. package/dist/assets/control-error-message-CKgqmo1U.css +0 -1
  187. package/dist/assets/control-hidden-input-BhMdNmnP.css +0 -1
  188. package/dist/assets/control-input-nR0XQHHp.css +0 -1
  189. package/dist/assets/control-label-C8pjaWEU.css +0 -1
  190. package/dist/assets/control-radio-Bo1rvcg2.css +0 -1
  191. package/dist/assets/control-radio-label-CgZ-FNj0.css +0 -1
  192. package/dist/assets/control-radio-text-S7MEO4a2.css +0 -1
  193. package/dist/assets/control-status-DPNvkGlM.css +0 -1
  194. package/dist/assets/control-text-n-qi7e2Y.css +0 -1
  195. package/dist/assets/control-textarea-B6gWlJs3.css +0 -1
  196. package/dist/assets/signature-EuXLu4YT.css +0 -1
  197. package/dist/controls/control-box/control-box.component.d.ts +0 -14
  198. package/dist/controls/control-box/control-box.component.js +0 -33
  199. package/dist/controls/control-box/index.d.ts +0 -2
  200. package/dist/controls/control-box/index.js +0 -4
  201. package/dist/controls/control-button/control-button.component.js +0 -84
  202. package/dist/controls/control-button/index.d.ts +0 -2
  203. package/dist/controls/control-button/index.js +0 -4
  204. package/dist/controls/control-button-card/control-button-card.component.js +0 -65
  205. package/dist/controls/control-button-card/index.d.ts +0 -2
  206. package/dist/controls/control-button-card/index.js +0 -4
  207. package/dist/controls/control-button-radio/control-button-radio.component.d.ts +0 -19
  208. package/dist/controls/control-button-radio/control-button-radio.component.js +0 -69
  209. package/dist/controls/control-button-radio/index.d.ts +0 -2
  210. package/dist/controls/control-button-radio/index.js +0 -4
  211. package/dist/controls/control-button-text/control-button-text.component.js +0 -87
  212. package/dist/controls/control-button-text/index.d.ts +0 -2
  213. package/dist/controls/control-button-text/index.js +0 -4
  214. package/dist/controls/control-card-image/control-card-image.component.d.ts +0 -8
  215. package/dist/controls/control-card-image/control-card-image.component.js +0 -53
  216. package/dist/controls/control-card-image/index.d.ts +0 -2
  217. package/dist/controls/control-card-image/index.js +0 -4
  218. package/dist/controls/control-card-text/control-card-text.component.d.ts +0 -7
  219. package/dist/controls/control-card-text/control-card-text.component.js +0 -48
  220. package/dist/controls/control-card-text/index.d.ts +0 -2
  221. package/dist/controls/control-card-text/index.js +0 -4
  222. package/dist/controls/control-checkbox/control-checkbox.component.d.ts +0 -11
  223. package/dist/controls/control-checkbox/control-checkbox.component.js +0 -97
  224. package/dist/controls/control-checkbox/index.d.ts +0 -2
  225. package/dist/controls/control-checkbox/index.js +0 -4
  226. package/dist/controls/control-choice/control-choice.component.d.ts +0 -12
  227. package/dist/controls/control-choice/control-choice.component.js +0 -64
  228. package/dist/controls/control-choice/index.d.ts +0 -2
  229. package/dist/controls/control-choice/index.js +0 -4
  230. package/dist/controls/control-dropdown/control-dropdown.component.js +0 -106
  231. package/dist/controls/control-dropdown/index.d.ts +0 -2
  232. package/dist/controls/control-dropdown/index.js +0 -4
  233. package/dist/controls/control-error-message/control-error-message.component.d.ts +0 -7
  234. package/dist/controls/control-error-message/control-error-message.component.js +0 -16
  235. package/dist/controls/control-error-message/index.d.ts +0 -1
  236. package/dist/controls/control-error-message/index.js +0 -4
  237. package/dist/controls/control-hidden-input/control-hidden-input.component.d.ts +0 -15
  238. package/dist/controls/control-hidden-input/control-hidden-input.component.js +0 -41
  239. package/dist/controls/control-hidden-input/index.d.ts +0 -2
  240. package/dist/controls/control-hidden-input/index.js +0 -4
  241. package/dist/controls/control-input/control-input.component.d.ts +0 -11
  242. package/dist/controls/control-input/control-input.component.js +0 -973
  243. package/dist/controls/control-input/index.d.ts +0 -2
  244. package/dist/controls/control-input/index.js +0 -4
  245. package/dist/controls/control-label/control-label.component.d.ts +0 -13
  246. package/dist/controls/control-label/control-label.component.js +0 -25
  247. package/dist/controls/control-label/index.d.ts +0 -1
  248. package/dist/controls/control-label/index.js +0 -4
  249. package/dist/controls/control-radio/control-radio.component.d.ts +0 -14
  250. package/dist/controls/control-radio/control-radio.component.js +0 -79
  251. package/dist/controls/control-radio/index.d.ts +0 -2
  252. package/dist/controls/control-radio/index.js +0 -4
  253. package/dist/controls/control-radio-label/control-radio-label.component.d.ts +0 -22
  254. package/dist/controls/control-radio-label/control-radio-label.component.js +0 -39
  255. package/dist/controls/control-radio-label/index.d.ts +0 -1
  256. package/dist/controls/control-radio-label/index.js +0 -4
  257. package/dist/controls/control-radio-text/control-radio-text.component.d.ts +0 -10
  258. package/dist/controls/control-radio-text/control-radio-text.component.js +0 -45
  259. package/dist/controls/control-radio-text/index.d.ts +0 -2
  260. package/dist/controls/control-radio-text/index.js +0 -4
  261. package/dist/controls/control-status/control-status.component.d.ts +0 -11
  262. package/dist/controls/control-status/control-status.component.js +0 -42
  263. package/dist/controls/control-status/index.d.ts +0 -1
  264. package/dist/controls/control-status/index.js +0 -4
  265. package/dist/controls/control-text/control-text.component.d.ts +0 -11
  266. package/dist/controls/control-text/control-text.component.js +0 -70
  267. package/dist/controls/control-text/index.d.ts +0 -2
  268. package/dist/controls/control-text/index.js +0 -4
  269. package/dist/controls/control-textarea/control-textarea.component.d.ts +0 -15
  270. package/dist/controls/control-textarea/control-textarea.component.js +0 -63
  271. package/dist/controls/control-textarea/index.d.ts +0 -1
  272. package/dist/controls/control-textarea/index.js +0 -4
  273. package/dist/index-D3EuHLHH.js +0 -19053
  274. /package/dist/animations/{hook → hooks}/index.d.ts +0 -0
  275. /package/dist/animations/{hook → hooks}/index.js +0 -0
  276. /package/dist/animations/{hook → hooks}/use-animation-lifecycle/index.d.ts +0 -0
  277. /package/dist/animations/{hook → hooks}/use-animation-lifecycle/index.js +0 -0
  278. /package/dist/animations/{hook → hooks}/use-animation-lifecycle/use-animation-lifecycle.hook.d.ts +0 -0
  279. /package/dist/animations/{hook → hooks}/use-animation-lifecycle/use-animation-lifecycle.hook.js +0 -0
  280. /package/dist/assets/{control-button-Tzg6F5Dp.css → button-Tzg6F5Dp.css} +0 -0
@@ -0,0 +1,81 @@
1
+ import { jsx as o, jsxs as c } from "react/jsx-runtime";
2
+ import b from "clsx";
3
+ import { Box as j } from "../box/box.component.js";
4
+ import { Caption as z } from "../caption/caption.component.js";
5
+ import { Choice as $ } from "../choice/choice.component.js";
6
+ import { HiddenInput as F } from "../hidden-input/hidden-input.component.js";
7
+ import { RadioLabel as H } from "../radio-label/radio-label.component.js";
8
+ import { useChoice as L } from "../hooks/use-choice/use-choice.hook.js";
9
+ import "usehooks-ts";
10
+ import { getChoiceId as P } from "../utils/functions/functions.util.js";
11
+ import { baseProps as C } from "../../utils/functions/functions.util.js";
12
+ import '../../assets/card-image-LY9zvE8g.css';const R = "_CardImage_nc2yn_1", q = "_Content_nc2yn_13", w = "_Top_nc2yn_27", A = "_Wrap_nc2yn_32", D = "_Bottom_nc2yn_43", n = {
13
+ CardImage: R,
14
+ Content: q,
15
+ Top: w,
16
+ Wrap: A,
17
+ Bottom: D
18
+ }, Z = ({
19
+ // Interactive props
20
+ id: a,
21
+ value: m,
22
+ disabled: s = !1,
23
+ state: _ = "idle",
24
+ onChange: g,
25
+ onFocus: f,
26
+ onBlur: u,
27
+ // CardImage props
28
+ sprite: v,
29
+ choices: I,
30
+ iconSize: y = "md",
31
+ textSize: h = "body-small",
32
+ // Base props
33
+ ...i
34
+ }) => {
35
+ const { type: l, onChoiceChange: x } = L(m, a, g);
36
+ return /* @__PURE__ */ o(
37
+ "div",
38
+ {
39
+ "data-testid": C(i, "data-testid", "card-image"),
40
+ className: b(n.CardImage, C(i, "className")),
41
+ children: I.map((t, B, N) => {
42
+ const e = P(a, t.value, B);
43
+ return /* @__PURE__ */ o(H, { id: e, value: m, state: _, choice: t, choices: N, children: ({ focused: d, hovered: T, checked: r, state: p }) => /* @__PURE__ */ o(j, { state: p, checked: r, focused: d, children: /* @__PURE__ */ c("div", { className: n.Content, children: [
44
+ /* @__PURE__ */ o(
45
+ F,
46
+ {
47
+ type: l,
48
+ id: e,
49
+ name: a,
50
+ value: t.value,
51
+ checked: r,
52
+ disabled: s,
53
+ onChange: (E, W) => x(t.value, W),
54
+ onFocus: () => f?.(a),
55
+ onBlur: () => u?.(a)
56
+ }
57
+ ),
58
+ /* @__PURE__ */ o("div", { className: n.Top, children: /* @__PURE__ */ o("div", { "data-image": t.icon, style: { backgroundImage: `url(${v})` }, className: n.Wrap }) }),
59
+ /* @__PURE__ */ c("div", { className: n.Bottom, children: [
60
+ /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
61
+ $,
62
+ {
63
+ type: l,
64
+ size: y,
65
+ state: p,
66
+ checked: r,
67
+ focused: d,
68
+ hovered: T,
69
+ disabled: s
70
+ }
71
+ ) }),
72
+ /* @__PURE__ */ o(z, { text: t.label, size: h, checked: r })
73
+ ] })
74
+ ] }) }) }, e);
75
+ })
76
+ }
77
+ );
78
+ };
79
+ export {
80
+ Z as CardImage
81
+ };
@@ -0,0 +1 @@
1
+ export { CardImage, type CardImageProps } from './card-image.component';
@@ -0,0 +1,4 @@
1
+ import { CardImage as e } from "./card-image.component.js";
2
+ export {
3
+ e as CardImage
4
+ };
@@ -0,0 +1,9 @@
1
+ import { ChoiceProps } from '../choice';
2
+ import { ChoiceValue, Interactive, RadioChoice } from '../utils';
3
+ import { Base, FontSize } from '../../utils/types';
4
+ export interface CardTextProps extends Base, Interactive<ChoiceValue> {
5
+ choices: RadioChoice[];
6
+ iconSize?: ChoiceProps['size'];
7
+ textSize?: Extract<FontSize, 'body' | 'body-small'>;
8
+ }
9
+ export declare const CardText: ({ id, value, disabled, state, onChange, onBlur, onFocus, choices, iconSize, textSize, ...base }: CardTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,75 @@
1
+ import { jsx as o, jsxs as w } from "react/jsx-runtime";
2
+ import I from "clsx";
3
+ import { Box as j } from "../box/box.component.js";
4
+ import { Caption as y } from "../caption/caption.component.js";
5
+ import { Choice as z } from "../choice/choice.component.js";
6
+ import { HiddenInput as B } from "../hidden-input/hidden-input.component.js";
7
+ import { RadioLabel as $ } from "../radio-label/radio-label.component.js";
8
+ import { useChoice as F } from "../hooks/use-choice/use-choice.hook.js";
9
+ import "usehooks-ts";
10
+ import { getChoiceId as H } from "../utils/functions/functions.util.js";
11
+ import { baseProps as p } from "../../utils/functions/functions.util.js";
12
+ import '../../assets/card-text-sR2uSJyo.css';const P = "_CardText_1uv8w_1", R = "_Label_1uv8w_9", q = "_Choice_1uv8w_24", i = {
13
+ CardText: P,
14
+ Label: R,
15
+ Choice: q
16
+ }, W = ({
17
+ // Interactive props
18
+ id: t,
19
+ value: s,
20
+ disabled: m = !1,
21
+ state: C = "idle",
22
+ onChange: x,
23
+ onBlur: h,
24
+ onFocus: u,
25
+ // CardText props
26
+ choices: f,
27
+ iconSize: _ = "md",
28
+ textSize: v = "body",
29
+ // Base props
30
+ ...n
31
+ }) => {
32
+ const { type: l, onChoiceChange: b } = F(s, t, x);
33
+ return /* @__PURE__ */ o(
34
+ "div",
35
+ {
36
+ "data-testid": p(n, "data-testid", "card-text"),
37
+ className: I(i.CardText, p(n, "className")),
38
+ children: f.map((e, L, T) => {
39
+ const a = H(t, e.value, L);
40
+ return /* @__PURE__ */ o($, { id: a, value: s, state: C, choice: e, choices: T, children: ({ focused: c, hovered: N, checked: r, state: d }) => /* @__PURE__ */ o(j, { state: d, checked: r, focused: c, children: /* @__PURE__ */ w("div", { className: i.Label, children: [
41
+ /* @__PURE__ */ o(
42
+ B,
43
+ {
44
+ type: l,
45
+ id: a,
46
+ name: t,
47
+ value: e.value,
48
+ checked: r,
49
+ disabled: m,
50
+ onChange: (A, g) => b(e.value, g),
51
+ onFocus: () => u?.(t),
52
+ onBlur: () => h?.(t)
53
+ }
54
+ ),
55
+ /* @__PURE__ */ o("div", { className: i.Choice, children: /* @__PURE__ */ o(
56
+ z,
57
+ {
58
+ type: l,
59
+ size: _,
60
+ state: d,
61
+ checked: r,
62
+ focused: c,
63
+ hovered: N,
64
+ disabled: m
65
+ }
66
+ ) }),
67
+ /* @__PURE__ */ o(y, { text: e.label, size: v, checked: r })
68
+ ] }) }) }, a);
69
+ })
70
+ }
71
+ );
72
+ };
73
+ export {
74
+ W as CardText
75
+ };
@@ -0,0 +1 @@
1
+ export { CardText, type CardTextProps } from './card-text.component';
@@ -0,0 +1,4 @@
1
+ import { CardText as o } from "./card-text.component.js";
2
+ export {
3
+ o as CardText
4
+ };
@@ -0,0 +1,10 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { ChoiceProps } from '../choice';
3
+ import { Interactive } from '../utils';
4
+ import { Base, FontSize } from '../../utils/types';
5
+ export interface CheckboxProps extends PropsWithChildren<Base>, Interactive<boolean> {
6
+ iconSize?: ChoiceProps['size'];
7
+ textSize?: Extract<FontSize, 'body' | 'body-small'>;
8
+ message?: string;
9
+ }
10
+ export declare const Checkbox: ({ id, value, disabled, state, onChange, onFocus, onBlur, iconSize, textSize, message, children, ...base }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,103 @@
1
+ import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
+ import { useRef as M } from "react";
3
+ import { useHover as N } from "usehooks-ts";
4
+ import _ from "clsx";
5
+ import { FadeSlide as S } from "../../animations/fade-slide/fade-slide.component.js";
6
+ import { Choice as v } from "../choice/choice.component.js";
7
+ import { HiddenInput as F } from "../hidden-input/hidden-input.component.js";
8
+ import { ErrorMessage as L } from "../error-message/error-message.component.js";
9
+ import { useControlInteraction as $ } from "../hooks/use-control-interaction/use-control-interaction.hook.js";
10
+ import { Converter as j } from "../../utils/converter/converter.util.js";
11
+ import { baseProps as C } from "../../utils/functions/functions.util.js";
12
+ import '../../assets/checkbox-BzL5bg8o.css';const H = "_Checkbox_19a0f_1", I = "_Label_19a0f_6", P = "_Choice_19a0f_19", D = "_Content_19a0f_25", R = "_Body_19a0f_44", T = "_BodySmall_19a0f_49", q = "_ErrorMessage_19a0f_54", o = {
13
+ Checkbox: H,
14
+ Label: I,
15
+ Choice: P,
16
+ Content: D,
17
+ Body: R,
18
+ BodySmall: T,
19
+ ErrorMessage: q
20
+ }, X = ({
21
+ // Interactive props
22
+ id: t,
23
+ value: r = !1,
24
+ disabled: s = !1,
25
+ state: c = "idle",
26
+ onChange: p,
27
+ onFocus: b,
28
+ onBlur: x,
29
+ // Checkbox props
30
+ iconSize: y = "md",
31
+ textSize: n = "body-small",
32
+ message: l = "",
33
+ // PropsWithChildren
34
+ children: k,
35
+ // Base props
36
+ ...m
37
+ }) => {
38
+ const i = M(null), B = N(i), { focused: d, emitChange: h, handleFocus: u, handleBlur: g } = $({
39
+ id: t,
40
+ disabled: s,
41
+ onChange: p,
42
+ onFocus: b,
43
+ onBlur: x
44
+ });
45
+ return /* @__PURE__ */ f("div", { "data-testid": C(m, "data-testid", "checkbox"), className: _(o.Checkbox, C(m, "className")), children: [
46
+ /* @__PURE__ */ f(
47
+ "label",
48
+ {
49
+ "data-testid": "checkbox-label",
50
+ ref: i,
51
+ htmlFor: t,
52
+ className: o.Label,
53
+ onClick: (a) => {
54
+ d || (a.preventDefault(), h(!r, "mouse"));
55
+ },
56
+ onFocus: u,
57
+ onBlur: g,
58
+ children: [
59
+ /* @__PURE__ */ e(
60
+ F,
61
+ {
62
+ type: "checkbox",
63
+ id: t,
64
+ name: t,
65
+ value: j.Boolean.ToBooleanString(r),
66
+ checked: r,
67
+ disabled: s,
68
+ onChange: (a, E) => {
69
+ a.stopPropagation(), h(!r, E);
70
+ }
71
+ }
72
+ ),
73
+ /* @__PURE__ */ e("div", { className: o.Choice, children: /* @__PURE__ */ e(
74
+ v,
75
+ {
76
+ type: "checkbox",
77
+ size: y,
78
+ state: c,
79
+ checked: r,
80
+ focused: d,
81
+ hovered: B,
82
+ disabled: s
83
+ }
84
+ ) }),
85
+ /* @__PURE__ */ e(
86
+ "div",
87
+ {
88
+ className: _(o.Content, {
89
+ [o.Body]: n === "body",
90
+ [o.BodySmall]: n === "body-small"
91
+ }),
92
+ children: k
93
+ }
94
+ )
95
+ ]
96
+ }
97
+ ),
98
+ /* @__PURE__ */ e(S, { name: "text-message", condition: c === "error" && !!l, children: /* @__PURE__ */ e(L, { text: l, className: o.ErrorMessage }) })
99
+ ] });
100
+ };
101
+ export {
102
+ X as Checkbox
103
+ };
@@ -0,0 +1 @@
1
+ export { Checkbox, type CheckboxProps } from './checkbox.component';
@@ -0,0 +1,4 @@
1
+ import { Checkbox as r } from "./checkbox.component.js";
2
+ export {
3
+ r as Checkbox
4
+ };
@@ -0,0 +1,12 @@
1
+ import { ControlChoiceType, State } from '../utils';
2
+ import { Base, Size } from '../../utils/types';
3
+ export interface ChoiceProps extends Base {
4
+ type: ControlChoiceType;
5
+ checked: boolean;
6
+ state?: State;
7
+ size?: Size;
8
+ focused?: boolean;
9
+ hovered?: boolean;
10
+ disabled?: boolean;
11
+ }
12
+ export declare const Choice: ({ type, checked, state, size, focused, hovered, disabled, ...base }: ChoiceProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,67 @@
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { Check as l } from "lucide-react";
3
+ import n from "clsx";
4
+ import { baseProps as d } from "../../utils/functions/functions.util.js";
5
+ import '../../assets/choice-j496CvVc.css';const h = "_Choice_2ykst_1", x = "_Focused_2ykst_20", y = "_Disabled_2ykst_20", L = "_Hovered_2ykst_24", S = "_Idle_2ykst_24", m = "_Success_2ykst_36", C = "_Mark_2ykst_44", M = "_Radio_2ykst_59", b = "_Checked_2ykst_63", u = "_XXS_2ykst_77", D = "_XS_2ykst_82", f = "_SM_2ykst_87", v = "_MD_2ykst_92", F = "_LG_2ykst_97", G = "_XL_2ykst_102", H = "_XXL_2ykst_107", I = "_XXXL_2ykst_112", N = "_Checkbox_2ykst_124", s = {
6
+ Choice: h,
7
+ Focused: x,
8
+ Disabled: y,
9
+ Hovered: L,
10
+ Idle: S,
11
+ Success: m,
12
+ Error: "_Error_2ykst_40",
13
+ Mark: C,
14
+ Radio: M,
15
+ Checked: b,
16
+ XXS: u,
17
+ XS: D,
18
+ SM: f,
19
+ MD: v,
20
+ LG: F,
21
+ XL: G,
22
+ XXL: H,
23
+ XXXL: I,
24
+ Checkbox: N
25
+ }, g = ({
26
+ // Choice props
27
+ type: o,
28
+ checked: k,
29
+ state: _ = "idle",
30
+ size: c = "md",
31
+ focused: X = !1,
32
+ hovered: r = !1,
33
+ disabled: a = !1,
34
+ // Base props
35
+ ...e
36
+ }) => /* @__PURE__ */ i(
37
+ "div",
38
+ {
39
+ "data-testid": d(e, "data-testid", "choice"),
40
+ className: n(s.Choice, d(e, "className"), {
41
+ [s.Checked]: k,
42
+ [s.Focused]: X,
43
+ [s.Hovered]: r,
44
+ [s.Disabled]: a,
45
+ [s.Radio]: o === "radio",
46
+ [s.Checkbox]: o === "checkbox",
47
+ [s.Idle]: _ === "idle",
48
+ [s.Error]: _ === "error",
49
+ [s.Success]: _ === "success",
50
+ [s.XXS]: c === "xxs",
51
+ [s.XS]: c === "xs",
52
+ [s.SM]: c === "sm",
53
+ [s.MD]: c === "md",
54
+ [s.LG]: c === "lg",
55
+ [s.XL]: c === "xl",
56
+ [s.XXL]: c === "xxl",
57
+ [s.XXXL]: c === "xxxl"
58
+ }),
59
+ children: [
60
+ o === "radio" && /* @__PURE__ */ t("div", { "data-testid": "choice-radio", className: s.Mark }),
61
+ o === "checkbox" && /* @__PURE__ */ t(l, { "data-testid": "choice-checkbox", className: s.Mark })
62
+ ]
63
+ }
64
+ );
65
+ export {
66
+ g as Choice
67
+ };
@@ -0,0 +1 @@
1
+ export { Choice, type ChoiceProps } from './choice.component';
@@ -0,0 +1,4 @@
1
+ import { Choice as r } from "./choice.component.js";
2
+ export {
3
+ r as Choice
4
+ };
@@ -1,6 +1,6 @@
1
- import { QuestionChoice } from '../utils/types';
1
+ import { QuestionChoice } from '../utils';
2
2
  import { Base } from '../../utils/types';
3
- export interface ControlDropdownProps extends Base {
3
+ export interface DropdownProps extends Base {
4
4
  choices: QuestionChoice[];
5
5
  value: QuestionChoice[];
6
6
  label?: string;
@@ -13,4 +13,4 @@ export interface ControlDropdownProps extends Base {
13
13
  onOpen?: (height: number, width: number) => void;
14
14
  onClose?: () => void;
15
15
  }
16
- export declare const ControlDropdown: (props: ControlDropdownProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Dropdown: ({ choices, value, label, placeholder, noResult, isSearchHidden, multiple, closeButton, onChange, onOpen, onClose, ...base }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,127 @@
1
+ import { jsxs as i, jsx as s } from "react/jsx-runtime";
2
+ import { useRef as u, useState as f, useEffect as y, useMemo as K } from "react";
3
+ import { useBoolean as M, useResizeObserver as E, useOnClickOutside as P } from "usehooks-ts";
4
+ import { ChevronDown as T, Search as q } from "lucide-react";
5
+ import k from "clsx";
6
+ import { Button as J } from "../button/button.component.js";
7
+ import { Box as R } from "../box/box.component.js";
8
+ import { Caption as x } from "../caption/caption.component.js";
9
+ import { Choice as Q } from "../choice/choice.component.js";
10
+ import { Label as U } from "../label/label.component.js";
11
+ import { clickHasNode as X } from "../utils/functions/functions.util.js";
12
+ import { Converter as Y } from "../../utils/converter/converter.util.js";
13
+ import { baseProps as H } from "../../utils/functions/functions.util.js";
14
+ import '../../assets/dropdown-DLhCAHEx.css';const Z = "_Dropdown_1kidn_1", ee = "_Border_1kidn_17", oe = "_Content_1kidn_28", se = "_Chevron_1kidn_39", ie = "_ChevronWrap_1kidn_53", ne = "_Box_1kidn_69", te = "_BoxVisible_1kidn_75", re = "_BoxHidden_1kidn_79", ce = "_Search_1kidn_83", le = "_SearchVisible_1kidn_89", ae = "_SearchHidden_1kidn_93", de = "_Close_1kidn_97", he = "_Input_1kidn_106", _e = "_Glass_1kidn_120", me = "_Choices_1kidn_131", Ce = "_Choice_1kidn_131", pe = "_ChoiceNoResult_1kidn_151", o = {
15
+ Dropdown: Z,
16
+ Border: ee,
17
+ Content: oe,
18
+ Chevron: se,
19
+ ChevronWrap: ie,
20
+ Box: ne,
21
+ BoxVisible: te,
22
+ BoxHidden: re,
23
+ Search: ce,
24
+ SearchVisible: le,
25
+ SearchHidden: ae,
26
+ Close: de,
27
+ Input: he,
28
+ Glass: _e,
29
+ Choices: me,
30
+ Choice: Ce,
31
+ ChoiceNoResult: pe
32
+ }, He = ({
33
+ choices: v = [],
34
+ value: d = [],
35
+ label: z = "",
36
+ placeholder: D = "Wählen Sie Ihre private Krankenversicherung...",
37
+ noResult: V = "Keine Versicherung gefunden.",
38
+ isSearchHidden: I = !1,
39
+ multiple: c = !1,
40
+ closeButton: W = "Schließen",
41
+ onChange: h,
42
+ onOpen: A,
43
+ onClose: G,
44
+ // Base props
45
+ ...b
46
+ }) => {
47
+ const B = u(null), _ = u(null), S = u(null), { value: l, setFalse: m, toggle: L } = M(!1), [C, O] = f(""), [n, $] = f({ width: 0, height: 0 }), [a, N] = f([]);
48
+ E({
49
+ ref: _,
50
+ onResize: (e) => $({ width: e.width || 0, height: e.height || 0 })
51
+ }), P(_, (e) => {
52
+ X(e, B) || (c && h(a), m());
53
+ }), y(() => N(Array.isArray(d) ? d : []), [d]), y(() => {
54
+ l && n.width && n.height ? (S.current?.focus(), A?.call(null, n.height, n.width)) : G?.call(null);
55
+ }, [l, n]);
56
+ const j = (e, t) => {
57
+ N((r) => r.some(({ value: p }) => p === e) ? r.filter(({ value: p }) => p !== e) : [...r, { value: e, label: t }]);
58
+ }, F = () => {
59
+ m(), h(a);
60
+ }, w = K(
61
+ () => v.filter(({ label: e }) => e.toLowerCase().includes(C.toLowerCase())),
62
+ [C, v]
63
+ );
64
+ return /* @__PURE__ */ i(
65
+ "div",
66
+ {
67
+ "data-testid": H(b, "data-testid", "dropdown"),
68
+ className: k(o.Dropdown, H(b, "className")),
69
+ children: [
70
+ /* @__PURE__ */ s(R, { ref: B, onClick: L, children: /* @__PURE__ */ i("div", { className: o.Border, children: [
71
+ /* @__PURE__ */ i("div", { className: o.Content, children: [
72
+ /* @__PURE__ */ s(U, { text: z, position: "active" }),
73
+ /* @__PURE__ */ s(
74
+ x,
75
+ {
76
+ text: Y.Answer.FromArrayToMultiple(a.map(({ label: e }) => e)) || D,
77
+ size: "body",
78
+ checked: !0,
79
+ oneLine: !0
80
+ }
81
+ )
82
+ ] }),
83
+ /* @__PURE__ */ s("div", { className: o.ChevronWrap, children: /* @__PURE__ */ s(T, { "data-open": l, className: o.Chevron }) })
84
+ ] }) }),
85
+ /* @__PURE__ */ s(R, { ref: _, className: l ? o.BoxVisible : o.BoxHidden, children: /* @__PURE__ */ i("div", { className: o.Box, children: [
86
+ /* @__PURE__ */ i("div", { className: k(o.Search, I ? o.SearchHidden : o.SearchVisible), children: [
87
+ /* @__PURE__ */ s(
88
+ "input",
89
+ {
90
+ ref: S,
91
+ value: C,
92
+ type: "text",
93
+ className: o.Input,
94
+ onChange: (e) => O(e.target.value)
95
+ }
96
+ ),
97
+ /* @__PURE__ */ s(q, { className: o.Glass })
98
+ ] }),
99
+ /* @__PURE__ */ s("ul", { className: o.Choices, children: w.length ? w.map(({ value: e, label: t }, r) => /* @__PURE__ */ i(
100
+ "li",
101
+ {
102
+ className: o.Choice,
103
+ onClick: () => {
104
+ c ? j(e, t) : (m(), h([{ value: e, label: t }]));
105
+ },
106
+ children: [
107
+ c && /* @__PURE__ */ s(
108
+ Q,
109
+ {
110
+ type: "checkbox",
111
+ checked: a.some((g) => g.value === e)
112
+ }
113
+ ),
114
+ /* @__PURE__ */ s(x, { text: t, size: "body", checked: !1 })
115
+ ]
116
+ },
117
+ e + r
118
+ )) : /* @__PURE__ */ s("li", { className: k(o.Choice, o.ChoiceNoResult), children: /* @__PURE__ */ s(x, { text: V, size: "body", checked: !1 }) }) }),
119
+ c && /* @__PURE__ */ s("div", { className: o.Close, children: /* @__PURE__ */ s(J, { color: "primary", size: "sm", type: "button", onClick: () => F(), children: W }) })
120
+ ] }) })
121
+ ]
122
+ }
123
+ );
124
+ };
125
+ export {
126
+ He as Dropdown
127
+ };
@@ -0,0 +1 @@
1
+ export { Dropdown, type DropdownProps } from './dropdown.component';
@@ -0,0 +1,4 @@
1
+ import { Dropdown as p } from "./dropdown.component.js";
2
+ export {
3
+ p as Dropdown
4
+ };
@@ -0,0 +1,5 @@
1
+ import { Base } from '../../utils/types';
2
+ export interface ErrorMessageProps extends Base {
3
+ text: string;
4
+ }
5
+ export declare const ErrorMessage: ({ text, ...base }: ErrorMessageProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import t from "clsx";
3
+ import { Content as a } from "../../utils/content/content.component.js";
4
+ import { baseProps as s } from "../../utils/functions/functions.util.js";
5
+ import '../../assets/error-message-CQHYhXbt.css';const m = "_ErrorMessage_dqn66_1", c = {
6
+ ErrorMessage: m
7
+ }, p = ({
8
+ // ErrorMessage props
9
+ text: e,
10
+ // Base props
11
+ ...r
12
+ }) => /* @__PURE__ */ o(
13
+ a,
14
+ {
15
+ "data-testid": s(r, "data-testid", "error-message"),
16
+ className: t(c.ErrorMessage, s(r, "className")),
17
+ children: e
18
+ }
19
+ );
20
+ export {
21
+ p as ErrorMessage
22
+ };
@@ -0,0 +1 @@
1
+ export { ErrorMessage, type ErrorMessageProps } from './error-message.component';
@@ -0,0 +1,4 @@
1
+ import { ErrorMessage as o } from "./error-message.component.js";
2
+ export {
3
+ o as ErrorMessage
4
+ };
@@ -0,0 +1,15 @@
1
+ import { ChangeEvent, FocusEvent } from 'react';
2
+ import { ControlChoiceType, InputChangeSource } from '../utils';
3
+ import { Base } from '../../utils/types';
4
+ export interface HiddenInputProps extends Base {
5
+ id: string;
6
+ value: string;
7
+ name: string;
8
+ type: ControlChoiceType;
9
+ checked: boolean;
10
+ disabled?: boolean;
11
+ onChange: (e: ChangeEvent<HTMLInputElement>, source: InputChangeSource) => void;
12
+ onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
13
+ onFocus?: (e: FocusEvent<HTMLInputElement>) => void;
14
+ }
15
+ export declare const HiddenInput: ({ type, id, name, value, disabled, checked, onChange, onFocus, onBlur, ...base }: HiddenInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,38 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import l from "clsx";
3
+ import { baseProps as d } from "../../utils/functions/functions.util.js";
4
+ import '../../assets/hidden-input-DHJQHUKd.css';const f = "_HiddenInput_bej3d_1", v = {
5
+ HiddenInput: f
6
+ }, g = ({
7
+ type: i,
8
+ id: a,
9
+ name: p,
10
+ value: r,
11
+ disabled: s,
12
+ checked: o,
13
+ onChange: n,
14
+ onFocus: u,
15
+ onBlur: m,
16
+ // Base props
17
+ ...e
18
+ }) => /* @__PURE__ */ c(
19
+ "input",
20
+ {
21
+ "data-testid": d(e, "data-testid", "hidden-input"),
22
+ type: i,
23
+ id: a,
24
+ name: p,
25
+ value: r,
26
+ checked: o,
27
+ disabled: s,
28
+ className: l(v.HiddenInput, d(e, "className")),
29
+ onChange: (t) => {
30
+ t.preventDefault(), t.nativeEvent?.pageX || t.nativeEvent.pageY ? (t.currentTarget.blur(), n(t, "mouse")) : n(t, "keyboard");
31
+ },
32
+ onFocus: u,
33
+ onBlur: m
34
+ }
35
+ );
36
+ export {
37
+ g as HiddenInput
38
+ };
@@ -0,0 +1 @@
1
+ export { HiddenInput, type HiddenInputProps } from './hidden-input.component';
@@ -0,0 +1,4 @@
1
+ import { HiddenInput as n } from "./hidden-input.component.js";
2
+ export {
3
+ n as HiddenInput
4
+ };
@@ -1 +1,2 @@
1
1
  export * from './use-choice';
2
+ export * from './use-control-interaction';