@arthurzakharov/ui-kit 1.3.9 → 1.4.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 (279) hide show
  1. package/dist/_commonjsHelpers-CqEciG1_.js +31 -0
  2. package/dist/animations/animation-fade-grow/animation-fade-grow.component.d.ts +2 -0
  3. package/dist/animations/animation-fade-grow/animation-fade-grow.component.js +34 -0
  4. package/dist/animations/animation-fade-grow/index.d.ts +1 -0
  5. package/dist/animations/animation-fade-grow/index.js +4 -0
  6. package/dist/animations/animation-fade-scale/animation-fade-scale.component.d.ts +2 -0
  7. package/dist/animations/animation-fade-scale/animation-fade-scale.component.js +33 -0
  8. package/dist/animations/animation-fade-scale/index.d.ts +1 -0
  9. package/dist/animations/animation-fade-scale/index.js +4 -0
  10. package/dist/animations/animation-fade-slide/animation-fade-slide.component.d.ts +6 -0
  11. package/dist/animations/animation-fade-slide/animation-fade-slide.component.js +33 -0
  12. package/dist/animations/animation-fade-slide/index.d.ts +1 -0
  13. package/dist/animations/animation-fade-slide/index.js +4 -0
  14. package/dist/animations/animation-rotate/animation-rotate.component.d.ts +8 -0
  15. package/dist/animations/animation-rotate/animation-rotate.component.js +38 -0
  16. package/dist/animations/animation-rotate/index.d.ts +1 -0
  17. package/dist/animations/animation-rotate/index.js +4 -0
  18. package/dist/animations/hook/index.d.ts +1 -0
  19. package/dist/animations/hook/index.js +4 -0
  20. package/dist/animations/hook/use-animation-lifecycle/index.d.ts +1 -0
  21. package/dist/animations/hook/use-animation-lifecycle/index.js +4 -0
  22. package/dist/animations/hook/use-animation-lifecycle/use-animation-lifecycle.hook.d.ts +12 -0
  23. package/dist/animations/hook/use-animation-lifecycle/use-animation-lifecycle.hook.js +31 -0
  24. package/dist/animations/utils/default-props.d.ts +5 -0
  25. package/dist/animations/utils/default-props.js +17 -0
  26. package/dist/animations/utils/index.d.ts +2 -0
  27. package/dist/animations/utils/index.js +4 -0
  28. package/dist/animations/utils/types.d.ts +15 -0
  29. package/dist/animations/utils/types.js +1 -0
  30. package/dist/assets/control-box-Dx-QKPgf.css +1 -0
  31. package/dist/assets/control-button-Tzg6F5Dp.css +1 -0
  32. package/dist/assets/control-button-card-Cb8_vJbQ.css +1 -0
  33. package/dist/assets/control-button-radio-BodzD0rU.css +1 -0
  34. package/dist/assets/control-button-text-BbE_5ebO.css +1 -0
  35. package/dist/assets/control-card-image-BYT3bzTE.css +1 -0
  36. package/dist/assets/control-card-text-Cvv3bL2p.css +1 -0
  37. package/dist/assets/control-checkbox-uLtXjmYN.css +1 -0
  38. package/dist/assets/control-choice-BAHN-VTm.css +1 -0
  39. package/dist/assets/control-dropdown-DaS5KsvG.css +1 -0
  40. package/dist/assets/control-error-message-CKgqmo1U.css +1 -0
  41. package/dist/assets/control-hidden-input-BhMdNmnP.css +1 -0
  42. package/dist/assets/control-input-nR0XQHHp.css +1 -0
  43. package/dist/assets/control-label-C8pjaWEU.css +1 -0
  44. package/dist/assets/control-radio-Bo1rvcg2.css +1 -0
  45. package/dist/assets/control-radio-label-CgZ-FNj0.css +1 -0
  46. package/dist/assets/control-radio-text-S7MEO4a2.css +1 -0
  47. package/dist/assets/control-status-DPNvkGlM.css +1 -0
  48. package/dist/assets/control-text-n-qi7e2Y.css +1 -0
  49. package/dist/assets/control-textarea-B6gWlJs3.css +1 -0
  50. package/dist/assets/data-protected-label-BN19_NZF.css +1 -0
  51. package/dist/assets/dialog-article-WnyHZI47.css +1 -0
  52. package/dist/assets/expenses-AU5q4idk.css +1 -0
  53. package/dist/assets/loader-DadlBlOF.css +1 -0
  54. package/dist/assets/main-DlyWXITA.css +1 -0
  55. package/dist/assets/message-block-DG1cePyB.css +1 -0
  56. package/dist/components/accordion-table/accordion-table.component.d.ts +9 -7
  57. package/dist/components/accordion-table/accordion-table.component.js +44 -41
  58. package/dist/components/bottom-bar/bottom-bar.component.js +2 -2
  59. package/dist/components/certifications/certifications.component.d.ts +6 -3
  60. package/dist/components/certifications/certifications.component.js +54 -46
  61. package/dist/components/data-protected-label/data-protected-label.component.d.ts +8 -3
  62. package/dist/components/data-protected-label/data-protected-label.component.js +31 -28
  63. package/dist/components/data-protected-label/index.d.ts +1 -0
  64. package/dist/components/data-protected-label/index.js +4 -0
  65. package/dist/components/dialog-article/dialog-article.component.d.ts +9 -3
  66. package/dist/components/dialog-article/dialog-article.component.js +51 -21
  67. package/dist/components/dialog-article/index.d.ts +1 -0
  68. package/dist/components/dialog-article/index.js +4 -0
  69. package/dist/components/expenses/expenses.component.d.ts +12 -7
  70. package/dist/components/expenses/expenses.component.js +26 -20
  71. package/dist/components/expenses/index.d.ts +1 -0
  72. package/dist/components/expenses/index.js +4 -0
  73. package/dist/components/flex/flex.component.d.ts +158 -158
  74. package/dist/components/footer/footer.component.d.ts +6 -3
  75. package/dist/components/footer/footer.component.js +39 -31
  76. package/dist/components/footer/index.d.ts +1 -1
  77. package/dist/components/info-panel/info-panel.component.d.ts +6 -3
  78. package/dist/components/info-panel/info-panel.component.js +20 -12
  79. package/dist/components/information/index.d.ts +1 -1
  80. package/dist/components/information/information.component.d.ts +5 -4
  81. package/dist/components/information/information.component.js +21 -12
  82. package/dist/components/loader/index.d.ts +1 -1
  83. package/dist/components/loader/loader.component.d.ts +9 -5
  84. package/dist/components/loader/loader.component.js +42 -55
  85. package/dist/components/loader/loader.utils.d.ts +2 -0
  86. package/dist/components/loader/loader.utils.js +13 -0
  87. package/dist/components/main-attachment/main-attachment.component.js +2 -2
  88. package/dist/components/message/index.d.ts +1 -1
  89. package/dist/components/message/message.component.d.ts +6 -3
  90. package/dist/components/message/message.component.js +23 -22
  91. package/dist/components/message-block/index.d.ts +1 -0
  92. package/dist/components/message-block/index.js +4 -0
  93. package/dist/components/message-block/message-block.component.d.ts +7 -2
  94. package/dist/components/message-block/message-block.component.js +36 -18
  95. package/dist/components/not-found/not-found.component.d.ts +6 -3
  96. package/dist/components/not-found/not-found.component.js +35 -27
  97. package/dist/components/payment/components/glass/glass.component.js +1 -1
  98. package/dist/components/sidebar/components/step/step.component.d.ts +1 -1
  99. package/dist/components/sidebar/components/step/step.component.js +6 -6
  100. package/dist/components/sidebar/sidebar.component.d.ts +1 -1
  101. package/dist/components/sidebar/sidebar.component.js +9 -9
  102. package/dist/components/signature/index.d.ts +1 -1
  103. package/dist/components/signature/signature.component.d.ts +2 -2
  104. package/dist/components/signature/signature.component.js +255 -263
  105. package/dist/components/text/components/tag/tag.component.d.ts +316 -316
  106. package/dist/components/text/text.component.d.ts +316 -316
  107. package/dist/components/user-panel/user-panel.component.d.ts +6 -3
  108. package/dist/components/user-panel/user-panel.component.js +35 -27
  109. package/dist/components/warranty/warranty.component.d.ts +6 -3
  110. package/dist/components/warranty/warranty.component.js +26 -19
  111. package/dist/controls/control-box/control-box.component.d.ts +15 -0
  112. package/dist/controls/control-box/control-box.component.js +33 -0
  113. package/dist/controls/control-box/index.d.ts +2 -0
  114. package/dist/controls/control-box/index.js +4 -0
  115. package/dist/controls/control-button/control-button.component.d.ts +18 -0
  116. package/dist/controls/control-button/control-button.component.js +84 -0
  117. package/dist/controls/control-button/index.d.ts +2 -0
  118. package/dist/controls/control-button/index.js +4 -0
  119. package/dist/{components/control/components/button-card/button-card.component.d.ts → controls/control-button-card/control-button-card.component.d.ts} +4 -3
  120. package/dist/controls/control-button-card/control-button-card.component.js +65 -0
  121. package/dist/controls/control-button-card/index.d.ts +2 -0
  122. package/dist/controls/control-button-card/index.js +4 -0
  123. package/dist/controls/control-button-radio/control-button-radio.component.d.ts +19 -0
  124. package/dist/controls/control-button-radio/control-button-radio.component.js +69 -0
  125. package/dist/controls/control-button-radio/index.d.ts +2 -0
  126. package/dist/controls/control-button-radio/index.js +4 -0
  127. package/dist/controls/control-button-text/control-button-text.component.d.ts +20 -0
  128. package/dist/controls/control-button-text/control-button-text.component.js +87 -0
  129. package/dist/controls/control-button-text/index.d.ts +2 -0
  130. package/dist/controls/control-button-text/index.js +4 -0
  131. package/dist/controls/control-card-image/control-card-image.component.d.ts +8 -0
  132. package/dist/controls/control-card-image/control-card-image.component.js +53 -0
  133. package/dist/controls/control-card-image/index.d.ts +2 -0
  134. package/dist/controls/control-card-image/index.js +4 -0
  135. package/dist/controls/control-card-text/control-card-text.component.d.ts +7 -0
  136. package/dist/controls/control-card-text/control-card-text.component.js +48 -0
  137. package/dist/controls/control-card-text/index.d.ts +2 -0
  138. package/dist/controls/control-card-text/index.js +4 -0
  139. package/dist/controls/control-checkbox/control-checkbox.component.d.ts +11 -0
  140. package/dist/controls/control-checkbox/control-checkbox.component.js +96 -0
  141. package/dist/controls/control-checkbox/index.d.ts +2 -0
  142. package/dist/controls/control-checkbox/index.js +4 -0
  143. package/dist/controls/control-choice/control-choice.component.d.ts +12 -0
  144. package/dist/controls/control-choice/control-choice.component.js +64 -0
  145. package/dist/controls/control-choice/index.d.ts +2 -0
  146. package/dist/controls/control-choice/index.js +4 -0
  147. package/dist/{components/control/components/dropdown/dropdown.component.d.ts → controls/control-dropdown/control-dropdown.component.d.ts} +4 -3
  148. package/dist/controls/control-dropdown/control-dropdown.component.js +106 -0
  149. package/dist/controls/control-dropdown/index.d.ts +2 -0
  150. package/dist/controls/control-dropdown/index.js +4 -0
  151. package/dist/controls/control-error-message/control-error-message.component.d.ts +7 -0
  152. package/dist/controls/control-error-message/control-error-message.component.js +16 -0
  153. package/dist/controls/control-error-message/index.d.ts +1 -0
  154. package/dist/controls/control-error-message/index.js +4 -0
  155. package/dist/controls/control-hidden-input/control-hidden-input.component.d.ts +15 -0
  156. package/dist/controls/control-hidden-input/control-hidden-input.component.js +41 -0
  157. package/dist/controls/control-hidden-input/index.d.ts +2 -0
  158. package/dist/controls/control-hidden-input/index.js +4 -0
  159. package/dist/controls/control-input/control-input.component.d.ts +11 -0
  160. package/dist/controls/control-input/control-input.component.js +973 -0
  161. package/dist/controls/control-input/index.d.ts +2 -0
  162. package/dist/controls/control-input/index.js +4 -0
  163. package/dist/controls/control-label/control-label.component.d.ts +13 -0
  164. package/dist/controls/control-label/control-label.component.js +30 -0
  165. package/dist/controls/control-label/index.d.ts +1 -0
  166. package/dist/controls/control-label/index.js +4 -0
  167. package/dist/controls/control-radio/control-radio.component.d.ts +14 -0
  168. package/dist/controls/control-radio/control-radio.component.js +79 -0
  169. package/dist/controls/control-radio/index.d.ts +2 -0
  170. package/dist/controls/control-radio/index.js +4 -0
  171. package/dist/controls/control-radio-label/control-radio-label.component.d.ts +22 -0
  172. package/dist/controls/control-radio-label/control-radio-label.component.js +39 -0
  173. package/dist/controls/control-radio-label/index.d.ts +1 -0
  174. package/dist/controls/control-radio-label/index.js +4 -0
  175. package/dist/controls/control-radio-text/control-radio-text.component.d.ts +10 -0
  176. package/dist/controls/control-radio-text/control-radio-text.component.js +45 -0
  177. package/dist/controls/control-radio-text/index.d.ts +2 -0
  178. package/dist/controls/control-radio-text/index.js +4 -0
  179. package/dist/controls/control-status/control-status.component.d.ts +11 -0
  180. package/dist/controls/control-status/control-status.component.js +42 -0
  181. package/dist/controls/control-status/index.d.ts +1 -0
  182. package/dist/controls/control-status/index.js +4 -0
  183. package/dist/controls/control-text/control-text.component.d.ts +11 -0
  184. package/dist/controls/control-text/control-text.component.js +70 -0
  185. package/dist/controls/control-text/index.d.ts +2 -0
  186. package/dist/controls/control-text/index.js +4 -0
  187. package/dist/controls/control-textarea/control-textarea.component.d.ts +15 -0
  188. package/dist/controls/control-textarea/control-textarea.component.js +63 -0
  189. package/dist/controls/control-textarea/index.d.ts +1 -0
  190. package/dist/controls/control-textarea/index.js +4 -0
  191. package/dist/controls/hooks/index.d.ts +1 -0
  192. package/dist/controls/hooks/index.js +4 -0
  193. package/dist/controls/hooks/use-choice/index.d.ts +1 -0
  194. package/dist/controls/hooks/use-choice/index.js +4 -0
  195. package/dist/{components/control/hooks/useChoice/useChoice.hook.d.ts → controls/hooks/use-choice/use-choice.hook.d.ts} +2 -2
  196. package/dist/controls/utils/functions/index.d.ts +1 -0
  197. package/dist/controls/utils/functions/index.js +7 -0
  198. package/dist/controls/utils/index.d.ts +2 -0
  199. package/dist/controls/utils/index.js +7 -0
  200. package/dist/{components/control/control.types.d.ts → controls/utils/types.d.ts} +11 -3
  201. package/dist/main.d.ts +35 -13
  202. package/dist/main.js +101 -59
  203. package/dist/utils/functions/functions.util.d.ts +12 -2
  204. package/dist/utils/functions/functions.util.js +7 -3
  205. package/dist/utils/functions/index.js +5 -4
  206. package/dist/utils/svg/svg.component.d.ts +2 -2
  207. package/dist/utils/types.d.ts +6 -1
  208. package/package.json +6 -1
  209. package/dist/animations/animation.component.d.ts +0 -10
  210. package/dist/animations/animation.component.js +0 -13
  211. package/dist/animations/fade-grow/fade-grow.component.d.ts +0 -14
  212. package/dist/animations/fade-grow/fade-grow.component.js +0 -40
  213. package/dist/animations/fade-scale/fade-scale.component.d.ts +0 -14
  214. package/dist/animations/fade-scale/fade-scale.component.js +0 -40
  215. package/dist/animations/fade-slide/fade-slide.component.d.ts +0 -15
  216. package/dist/animations/fade-slide/fade-slide.component.js +0 -41
  217. package/dist/animations/rotate/rotate.component.d.ts +0 -18
  218. package/dist/animations/rotate/rotate.component.js +0 -43
  219. package/dist/assets/box-b_yPaNPs.css +0 -1
  220. package/dist/assets/button-4MJZ7yPE.css +0 -1
  221. package/dist/assets/button-text-CNXFsTky.css +0 -1
  222. package/dist/assets/choice-pCBafXqx.css +0 -1
  223. package/dist/assets/control-Dk23qyF8.css +0 -1
  224. package/dist/assets/data-protected-label-zRn9upL6.css +0 -1
  225. package/dist/assets/dialog-article-lpJC_c40.css +0 -1
  226. package/dist/assets/expenses-8eaHjdlH.css +0 -1
  227. package/dist/assets/fade-grow-B23oZuuD.css +0 -1
  228. package/dist/assets/hidden-input-DHJQHUKd.css +0 -1
  229. package/dist/assets/input-Cckwgcro.css +0 -1
  230. package/dist/assets/label-bo2ALC-X.css +0 -1
  231. package/dist/assets/loader-C0f3AvRU.css +0 -1
  232. package/dist/assets/main-BK_1RcKG.css +0 -1
  233. package/dist/assets/message-block-BVk5u9rO.css +0 -1
  234. package/dist/assets/radio-label-Bd5UiESO.css +0 -1
  235. package/dist/assets/radio-text-BI17l0wD.css +0 -1
  236. package/dist/assets/status-6MH80dkz.css +0 -1
  237. package/dist/components/control/components/box/box.component.d.ts +0 -10
  238. package/dist/components/control/components/box/box.component.js +0 -32
  239. package/dist/components/control/components/button/button.component.d.ts +0 -16
  240. package/dist/components/control/components/button/button.component.js +0 -82
  241. package/dist/components/control/components/button-card/button-card.component.js +0 -9
  242. package/dist/components/control/components/button-radio/button-radio.component.d.ts +0 -17
  243. package/dist/components/control/components/button-radio/button-radio.component.js +0 -7
  244. package/dist/components/control/components/button-text/button-text.component.d.ts +0 -18
  245. package/dist/components/control/components/button-text/button-text.component.js +0 -86
  246. package/dist/components/control/components/card-image/card-image.component.d.ts +0 -7
  247. package/dist/components/control/components/card-image/card-image.component.js +0 -7
  248. package/dist/components/control/components/card-text/card-text.component.d.ts +0 -6
  249. package/dist/components/control/components/card-text/card-text.component.js +0 -7
  250. package/dist/components/control/components/checkbox/checkbox.component.d.ts +0 -9
  251. package/dist/components/control/components/checkbox/checkbox.component.js +0 -8
  252. package/dist/components/control/components/choice/choice.component.d.ts +0 -10
  253. package/dist/components/control/components/choice/choice.component.js +0 -52
  254. package/dist/components/control/components/dropdown/dropdown.component.js +0 -11
  255. package/dist/components/control/components/hidden-input/hidden-input.component.d.ts +0 -12
  256. package/dist/components/control/components/hidden-input/hidden-input.component.js +0 -25
  257. package/dist/components/control/components/input/input.component.d.ts +0 -10
  258. package/dist/components/control/components/input/input.component.js +0 -7
  259. package/dist/components/control/components/label/label.component.d.ts +0 -7
  260. package/dist/components/control/components/label/label.component.js +0 -28
  261. package/dist/components/control/components/radio/radio.component.d.ts +0 -9
  262. package/dist/components/control/components/radio/radio.component.js +0 -7
  263. package/dist/components/control/components/radio-label/radio-label.component.d.ts +0 -17
  264. package/dist/components/control/components/radio-label/radio-label.component.js +0 -37
  265. package/dist/components/control/components/radio-text/radio-text.component.d.ts +0 -9
  266. package/dist/components/control/components/radio-text/radio-text.component.js +0 -29
  267. package/dist/components/control/components/status/status.component.d.ts +0 -6
  268. package/dist/components/control/components/status/status.component.js +0 -37
  269. package/dist/components/control/components/text/text.component.d.ts +0 -9
  270. package/dist/components/control/components/text/text.component.js +0 -8
  271. package/dist/components/control/components/textarea/textarea.component.d.ts +0 -9
  272. package/dist/components/control/components/textarea/textarea.component.js +0 -6
  273. package/dist/components/control/control.component.d.ts +0 -41
  274. package/dist/components/control/control.component.js +0 -14
  275. package/dist/control.component-B9Ao9mfl.js +0 -557
  276. package/dist/input.component-C5xcmnfu.js +0 -999
  277. /package/dist/{components/control/hooks/useChoice/useChoice.hook.js → controls/hooks/use-choice/use-choice.hook.js} +0 -0
  278. /package/dist/{components/control → controls}/utils/functions/functions.util.d.ts +0 -0
  279. /package/dist/{components/control → controls}/utils/functions/functions.util.js +0 -0
@@ -1,8 +1,11 @@
1
- import { BaseProps } from '../../utils/types';
2
- export interface UserPanelProps extends BaseProps {
1
+ import { Base } from '../../utils/types';
2
+ export interface UserPanelProps extends Base {
3
3
  title: string;
4
4
  button: string;
5
5
  data: string[];
6
6
  onClick: () => void;
7
7
  }
8
- export declare const UserPanel: ({ title, button, data, onClick, className }: UserPanelProps) => import("react/jsx-runtime").JSX.Element;
8
+ /**
9
+ * Displays a user panel with title, editable button, and user information data.
10
+ */
11
+ export declare const UserPanel: ({ title, button, data, onClick, ...base }: UserPanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,29 +1,37 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { Pencil as d } from "lucide-react";
3
- import m from "clsx";
4
- import { C as p } from "../../control.component-B9Ao9mfl.js";
5
- import '../../assets/user-panel-BJB6pJ70.css';const f = "_Head_12b2p_13", u = "_Info_12b2p_25", r = {
6
- Head: f,
7
- Info: u
8
- }, I = ({ title: n, button: o, data: s, onClick: a, className: i = "" }) => /* @__PURE__ */ t("div", { "data-testid": "user-panel", className: m(r.UserPanel, i), children: [
9
- /* @__PURE__ */ t("div", { className: r.Head, children: [
10
- /* @__PURE__ */ e("span", { "data-testid": "user-panel-title", children: n }),
11
- /* @__PURE__ */ e(
12
- p.ButtonText,
13
- {
14
- preventDefault: !0,
15
- blurAfterClick: !0,
16
- icon: /* @__PURE__ */ e(d, { className: "XXX" }),
17
- iconPosition: "right",
18
- size: "md",
19
- color: "primary",
20
- onClick: a,
21
- children: o
22
- }
23
- )
24
- ] }),
25
- /* @__PURE__ */ e("ul", { className: r.Info, children: s.map((l, c) => /* @__PURE__ */ e("li", { children: l }, c)) })
26
- ] });
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { Pencil as m } from "lucide-react";
3
+ import p from "clsx";
4
+ import { ControlButtonText as f } from "../../controls/control-button-text/control-button-text.component.js";
5
+ import { baseProps as i } from "../../utils/functions/functions.util.js";
6
+ import '../../assets/user-panel-BJB6pJ70.css';const u = "_Head_12b2p_13", h = "_Info_12b2p_25", t = {
7
+ Head: u,
8
+ Info: h
9
+ }, N = ({ title: n, button: s, data: a, onClick: l, ...r }) => /* @__PURE__ */ o(
10
+ "div",
11
+ {
12
+ "data-testid": i(r, "data-testid", "user-panel"),
13
+ className: p(t.UserPanel, i(r, "className")),
14
+ children: [
15
+ /* @__PURE__ */ o("div", { className: t.Head, children: [
16
+ /* @__PURE__ */ e("span", { "data-testid": "user-panel-title", children: n }),
17
+ /* @__PURE__ */ e(
18
+ f,
19
+ {
20
+ preventDefault: !0,
21
+ blurAfterClick: !0,
22
+ icon: /* @__PURE__ */ e(m, {}),
23
+ iconPosition: "right",
24
+ size: "md",
25
+ color: "text-primary",
26
+ onClick: l,
27
+ children: s
28
+ }
29
+ )
30
+ ] }),
31
+ /* @__PURE__ */ e("ul", { className: t.Info, children: a.map((c, d) => /* @__PURE__ */ e("li", { children: c }, d)) })
32
+ ]
33
+ }
34
+ );
27
35
  export {
28
- I as UserPanel
36
+ N as UserPanel
29
37
  };
@@ -1,7 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
- import { BaseProps } from '../../utils/types';
3
- export interface WarrantyProps extends BaseProps {
2
+ import { Base } from '../../utils/types';
3
+ export interface WarrantyProps extends Base {
4
4
  title: ReactNode;
5
5
  text: ReactNode;
6
6
  }
7
- export declare const Warranty: ({ title, text, className }: WarrantyProps) => import("react/jsx-runtime").JSX.Element;
7
+ /**
8
+ * Displays a warranty badge with icon, title, and descriptive text.
9
+ */
10
+ export declare const Warranty: ({ title, text, ...base }: WarrantyProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,14 @@
1
1
  import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
- import h from "clsx";
3
- import { Content as r } from "../../utils/content/content.component.js";
4
- import { isHtmlString as i } from "../../utils/functions/functions.util.js";
5
- import '../../assets/warranty-8YaLpEkj.css';const s = "_Warranty_1gdgm_1", o = "_Icon_1gdgm_16", d = "_Main_1gdgm_22", m = "_Title_1gdgm_29", g = "_Text_1gdgm_34", t = {
6
- Warranty: s,
7
- Icon: o,
8
- Main: d,
9
- Title: m,
10
- Text: g
11
- }, _ = () => /* @__PURE__ */ c(
2
+ import i from "clsx";
3
+ import { Content as l } from "../../utils/content/content.component.js";
4
+ import { isHtmlString as h, baseProps as e } from "../../utils/functions/functions.util.js";
5
+ import '../../assets/warranty-8YaLpEkj.css';const o = "_Warranty_1gdgm_1", d = "_Icon_1gdgm_16", m = "_Main_1gdgm_22", g = "_Title_1gdgm_29", _ = "_Text_1gdgm_34", t = {
6
+ Warranty: o,
7
+ Icon: d,
8
+ Main: m,
9
+ Title: g,
10
+ Text: _
11
+ }, v = () => /* @__PURE__ */ c(
12
12
  "svg",
13
13
  {
14
14
  "data-testid": "warranty-icon",
@@ -30,14 +30,21 @@ import '../../assets/warranty-8YaLpEkj.css';const s = "_Warranty_1gdgm_1", o = "
30
30
  ] })
31
31
  ]
32
32
  }
33
- ), x = ({ title: l, text: n, className: e = "" }) => /* @__PURE__ */ c("div", { "data-testid": "warranty", className: h(t.Warranty, e), children: [
34
- /* @__PURE__ */ a(_, {}),
35
- /* @__PURE__ */ c("div", { className: t.Main, children: [
36
- i(n),
37
- /* @__PURE__ */ a(r, { "data-testid": "warranty-title", className: t.Title, children: l }),
38
- /* @__PURE__ */ a(r, { "data-testid": "warranty-text", className: t.Text, children: n })
39
- ] })
40
- ] });
33
+ ), Z = ({ title: s, text: n, ...r }) => /* @__PURE__ */ c(
34
+ "div",
35
+ {
36
+ "data-testid": e(r, "data-testid", "warranty"),
37
+ className: i(t.Warranty, e(r, "className")),
38
+ children: [
39
+ /* @__PURE__ */ a(v, {}),
40
+ /* @__PURE__ */ c("div", { className: t.Main, children: [
41
+ h(n),
42
+ /* @__PURE__ */ a(l, { "data-testid": "warranty-title", className: t.Title, children: s }),
43
+ /* @__PURE__ */ a(l, { "data-testid": "warranty-text", className: t.Text, children: n })
44
+ ] })
45
+ ]
46
+ }
47
+ );
41
48
  export {
42
- x as Warranty
49
+ Z as Warranty
43
50
  };
@@ -0,0 +1,15 @@
1
+ import { State } from '../utils/types';
2
+ import { Base } from '../../utils/types';
3
+ export interface ControlBoxProps extends Base {
4
+ state?: State;
5
+ focused?: boolean;
6
+ checked?: boolean;
7
+ onClick?: () => void;
8
+ }
9
+ /**
10
+ * `ControlBox` provides a consistent frame for checkbox/radio-like controls. It handles visual
11
+ * states (`idle`, `error`, `success`) plus `focused` and `checked` modifiers.
12
+ */
13
+ export declare const ControlBox: import('react').ForwardRefExoticComponent<ControlBoxProps & {
14
+ children?: import('react').ReactNode | undefined;
15
+ } & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,33 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as n } from "react";
3
+ import u from "clsx";
4
+ import { baseProps as e } from "../../utils/functions/functions.util.js";
5
+ import '../../assets/control-box-Dx-QKPgf.css';const x = "_ControlBox_1utix_1", m = "_Checked_1utix_15", C = "_Idle_1utix_21", a = "_Focused_1utix_25", f = "_Success_1utix_34", o = {
6
+ ControlBox: x,
7
+ Checked: m,
8
+ Idle: C,
9
+ Focused: a,
10
+ Error: "_Error_1utix_30",
11
+ Success: f
12
+ }, F = n(
13
+ ({ children: r, focused: t = !1, checked: d = !1, state: c = "idle", onClick: l = () => {
14
+ }, ...s }, _) => /* @__PURE__ */ i(
15
+ "div",
16
+ {
17
+ "data-testid": e(s, "data-testid", "control-box"),
18
+ ref: _,
19
+ className: u(o.ControlBox, e(s, "className"), {
20
+ [o.Focused]: t,
21
+ [o.Checked]: d,
22
+ [o.Idle]: c === "idle",
23
+ [o.Error]: c === "error",
24
+ [o.Success]: c === "success"
25
+ }),
26
+ onClick: () => l(),
27
+ children: r
28
+ }
29
+ )
30
+ );
31
+ export {
32
+ F as ControlBox
33
+ };
@@ -0,0 +1,2 @@
1
+ export { ControlBox } from './control-box.component';
2
+ export type { ControlBoxProps } from './control-box.component';
@@ -0,0 +1,4 @@
1
+ import { ControlBox as t } from "./control-box.component.js";
2
+ export {
3
+ t as ControlBox
4
+ };
@@ -0,0 +1,18 @@
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
+ import { ControlButtonColor, ControlButtonSize, ControlButtonType } from '../utils/types';
3
+ import { Base } from '../../utils/types';
4
+ export interface ControlButtonProps extends Base {
5
+ color?: ControlButtonColor;
6
+ size?: ControlButtonSize;
7
+ type?: ControlButtonType;
8
+ disabled?: boolean;
9
+ info?: ReactNode;
10
+ fullWidth?: boolean;
11
+ loading?: boolean;
12
+ preventDefault?: boolean;
13
+ blurAfterClick?: boolean;
14
+ onClick?: () => void;
15
+ onFocus?: () => void;
16
+ onBlur?: () => void;
17
+ }
18
+ export declare const ControlButton: ({ children, color, size, type, disabled, info, fullWidth, loading, preventDefault, blurAfterClick, onClick, onFocus, onBlur, ...base }: PropsWithChildren<ControlButtonProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,84 @@
1
+ import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
+ import h from "clsx";
3
+ import { AnimationFadeScale as c } from "../../animations/animation-fade-scale/animation-fade-scale.component.js";
4
+ import { Loader as x } from "../../components/loader/loader.component.js";
5
+ import { Content as C } from "../../utils/content/content.component.js";
6
+ import { withControl as M, baseProps as i } from "../../utils/functions/functions.util.js";
7
+ import '../../assets/control-button-Tzg6F5Dp.css';const S = "_Button_1b52a_1", T = "_SM_1b52a_11", B = "_LG_1b52a_16", F = "_Tertiary_1b52a_16", N = "_Text_1b52a_20", P = "_MD_1b52a_26", D = "_Primary_1b52a_54", G = "_Info_1b52a_59", I = "_Secondary_1b52a_63", W = "_Loading_1b52a_82", w = "_FullWidth_1b52a_90", g = "_Content_1b52a_94", j = "_Loader_1b52a_110", t = {
8
+ Button: S,
9
+ SM: T,
10
+ LG: B,
11
+ Tertiary: F,
12
+ Text: N,
13
+ MD: P,
14
+ Primary: D,
15
+ Info: G,
16
+ Secondary: I,
17
+ Loading: W,
18
+ FullWidth: w,
19
+ Content: g,
20
+ Loader: j
21
+ }, H = ({
22
+ children: _,
23
+ color: a = "primary",
24
+ size: r = "md",
25
+ type: d = "button",
26
+ disabled: m = !1,
27
+ info: l = "",
28
+ fullWidth: y = !1,
29
+ loading: o = !1,
30
+ preventDefault: u = !1,
31
+ blurAfterClick: b = !1,
32
+ onClick: f = () => {
33
+ },
34
+ onFocus: p = () => {
35
+ },
36
+ onBlur: L = () => {
37
+ },
38
+ ...e
39
+ }) => /* @__PURE__ */ s(
40
+ "button",
41
+ {
42
+ "data-testid": i(e, "data-testid", "control-button"),
43
+ type: d,
44
+ disabled: m || o,
45
+ className: h(t.Button, i(e, "className"), {
46
+ [t.SM]: r === "sm",
47
+ [t.MD]: r === "md",
48
+ [t.LG]: r === "lg",
49
+ [t.Primary]: a === "primary",
50
+ [t.Secondary]: a === "secondary",
51
+ [t.Tertiary]: a === "tertiary",
52
+ [t.FullWidth]: y,
53
+ [t.Loading]: o
54
+ }),
55
+ onClick: M(f, { prevent: u, blur: b }),
56
+ onFocus: () => p(),
57
+ onBlur: () => L(),
58
+ children: [
59
+ /* @__PURE__ */ n(c, { name: "loader", condition: o, className: t.Loader, children: /* @__PURE__ */ n(
60
+ x,
61
+ {
62
+ size: "xs",
63
+ color: (() => {
64
+ switch (a) {
65
+ case "primary":
66
+ return "white";
67
+ case "secondary":
68
+ return "text-secondary";
69
+ case "tertiary":
70
+ return "text-primary";
71
+ }
72
+ })()
73
+ }
74
+ ) }),
75
+ /* @__PURE__ */ s(c, { name: "content", keepMount: !0, condition: !o, className: t.Content, children: [
76
+ /* @__PURE__ */ n("span", { className: t.Text, children: _ }),
77
+ /* @__PURE__ */ n(C, { className: t.Info, children: l })
78
+ ] })
79
+ ]
80
+ }
81
+ );
82
+ export {
83
+ H as ControlButton
84
+ };
@@ -0,0 +1,2 @@
1
+ export { ControlButton } from './control-button.component';
2
+ export type { ControlButtonProps } from './control-button.component';
@@ -0,0 +1,4 @@
1
+ import { ControlButton as r } from "./control-button.component.js";
2
+ export {
3
+ r as ControlButton
4
+ };
@@ -1,6 +1,7 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { SvgProps } from '../../../../utils/svg';
3
- export interface ButtonCardProps extends PropsWithChildren {
2
+ import { SvgProps } from '../../utils/svg';
3
+ import { Base } from '../../utils/types';
4
+ export interface ControlButtonCardProps extends Base, PropsWithChildren {
4
5
  icon?: SvgProps['icon'];
5
6
  iconPosition?: 'top' | 'left';
6
7
  active?: boolean;
@@ -11,4 +12,4 @@ export interface ButtonCardProps extends PropsWithChildren {
11
12
  onFocus?: () => void;
12
13
  onBlur?: () => void;
13
14
  }
14
- export declare const ButtonCard: (props: ButtonCardProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const ControlButtonCard: (props: ControlButtonCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,65 @@
1
+ import { jsx as t, jsxs as T } from "react/jsx-runtime";
2
+ import { useRef as B } from "react";
3
+ import { useHover as b, useToggle as g } from "usehooks-ts";
4
+ import v from "clsx";
5
+ import { ControlBox as z } from "../control-box/control-box.component.js";
6
+ import { ControlRadioText as h } from "../control-radio-text/control-radio-text.component.js";
7
+ import { Svg as k } from "../../utils/svg/svg.component.js";
8
+ import '../../assets/control-button-card-Cb8_vJbQ.css';const L = "_ControlButtonCard_1luaz_1", y = "_Icon_1luaz_10", N = "_IconTop_1luaz_14", F = "_Text_1luaz_21", R = "_IconLeft_1luaz_25", o = {
9
+ ControlButtonCard: L,
10
+ Icon: y,
11
+ IconTop: N,
12
+ Text: F,
13
+ IconLeft: R
14
+ }, q = (a) => {
15
+ const {
16
+ children: u,
17
+ onClick: i,
18
+ onFocus: f,
19
+ onBlur: m,
20
+ icon: d = null,
21
+ iconPosition: n = "top",
22
+ active: e = !1,
23
+ disabled: l = !1,
24
+ preventDefault: p = !1,
25
+ blurAfterClick: C = !1,
26
+ className: _
27
+ } = a, c = B(null), x = b(c), [I, r] = g(!1);
28
+ return /* @__PURE__ */ t(z, { ref: c, checked: e || x, state: "idle", focused: I, className: _, children: /* @__PURE__ */ T(
29
+ "button",
30
+ {
31
+ type: "button",
32
+ disabled: l,
33
+ className: v(o.ControlButtonCard, {
34
+ [o.IconTop]: n === "top",
35
+ [o.IconLeft]: n === "left"
36
+ }),
37
+ onClick: (s) => {
38
+ p && s.preventDefault(), C && s.currentTarget.blur(), i?.call(null);
39
+ },
40
+ onFocus: () => {
41
+ r(), f?.call(null);
42
+ },
43
+ onBlur: () => {
44
+ r(), m?.call(null);
45
+ },
46
+ children: [
47
+ /* @__PURE__ */ t(k, { icon: d, className: o.Icon }),
48
+ /* @__PURE__ */ t(
49
+ h,
50
+ {
51
+ oneLine: !0,
52
+ size: "body",
53
+ checked: e,
54
+ color: l ? "text-secondary" : "text-primary",
55
+ className: o.Text,
56
+ children: u
57
+ }
58
+ )
59
+ ]
60
+ }
61
+ ) });
62
+ };
63
+ export {
64
+ q as ControlButtonCard
65
+ };
@@ -0,0 +1,2 @@
1
+ export { ControlButtonCard } from './control-button-card.component';
2
+ export type { ControlButtonCardProps } from './control-button-card.component';
@@ -0,0 +1,4 @@
1
+ import { ControlButtonCard as t } from "./control-button-card.component.js";
2
+ export {
3
+ t as ControlButtonCard
4
+ };
@@ -0,0 +1,19 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { Base } from '../../utils/types';
3
+ type ControlButtonRadioInfo = {
4
+ text?: string;
5
+ hintLeft?: string;
6
+ hintRight?: string;
7
+ };
8
+ export interface ControlButtonRadioProps extends Base, PropsWithChildren {
9
+ active?: boolean;
10
+ disabled?: boolean;
11
+ preventDefault?: boolean;
12
+ blurAfterClick?: boolean;
13
+ info?: ControlButtonRadioInfo;
14
+ onClick?: () => void;
15
+ onFocus?: () => void;
16
+ onBlur?: () => void;
17
+ }
18
+ export declare const ControlButtonRadio: (props: ControlButtonRadioProps) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
@@ -0,0 +1,69 @@
1
+ import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
+ import { useRef as x } from "react";
3
+ import { useHover as v, useToggle as N } from "usehooks-ts";
4
+ import { ControlBox as j } from "../control-box/control-box.component.js";
5
+ import { ControlRadioText as B } from "../control-radio-text/control-radio-text.component.js";
6
+ import { ControlStatus as b } from "../control-status/control-status.component.js";
7
+ import '../../assets/control-button-radio-BodzD0rU.css';const g = "_ControlButtonRadio_1jar9_1", H = "_Row_1jar9_14", T = "_Wrap_1jar9_23", k = "_Content_1jar9_32", w = "_Text_1jar9_42", y = "_Hint_1jar9_50", t = {
8
+ ControlButtonRadio: g,
9
+ Row: H,
10
+ Wrap: T,
11
+ Content: k,
12
+ Text: w,
13
+ Hint: y
14
+ }, S = (i) => {
15
+ const {
16
+ children: d,
17
+ onClick: u,
18
+ onFocus: f,
19
+ onBlur: m,
20
+ info: e,
21
+ active: l = !1,
22
+ disabled: r = !1,
23
+ preventDefault: h = !1,
24
+ blurAfterClick: p = !1,
25
+ className: _
26
+ } = i, s = x(null), C = v(s), [R, a] = N(!1);
27
+ return /* @__PURE__ */ o(j, { ref: s, checked: l || C, state: "idle", focused: R, className: _, children: /* @__PURE__ */ o(
28
+ "button",
29
+ {
30
+ type: "button",
31
+ disabled: r,
32
+ className: t.ControlButtonRadio,
33
+ onClick: (c) => {
34
+ h && c.preventDefault(), p && c.currentTarget.blur(), u?.call(null);
35
+ },
36
+ onFocus: () => {
37
+ a(), f?.call(null);
38
+ },
39
+ onBlur: () => {
40
+ a(), m?.call(null);
41
+ },
42
+ children: /* @__PURE__ */ n("div", { className: t.Wrap, children: [
43
+ /* @__PURE__ */ o(b, { state: l ? "success" : "idle" }),
44
+ /* @__PURE__ */ n("div", { className: t.Content, children: [
45
+ /* @__PURE__ */ n("div", { className: t.Row, children: [
46
+ /* @__PURE__ */ o(
47
+ B,
48
+ {
49
+ oneLine: !0,
50
+ size: "body",
51
+ checked: l,
52
+ color: r ? "text-secondary" : "text-primary",
53
+ children: d
54
+ }
55
+ ),
56
+ e?.text ? /* @__PURE__ */ o("span", { className: t.Text, children: e.text }) : null
57
+ ] }),
58
+ (e?.hintLeft || e?.hintRight) && /* @__PURE__ */ n("div", { className: t.Row, children: [
59
+ /* @__PURE__ */ o("span", { className: t.Hint, children: e.hintLeft }),
60
+ /* @__PURE__ */ o("span", { className: t.Hint, children: e.hintRight })
61
+ ] })
62
+ ] })
63
+ ] })
64
+ }
65
+ ) });
66
+ };
67
+ export {
68
+ S as ControlButtonRadio
69
+ };
@@ -0,0 +1,2 @@
1
+ export { ControlButtonRadio } from './control-button-radio.component';
2
+ export type { ControlButtonRadioProps } from './control-button-radio.component';
@@ -0,0 +1,4 @@
1
+ import { ControlButtonRadio as r } from "./control-button-radio.component.js";
2
+ export {
3
+ r as ControlButtonRadio
4
+ };
@@ -0,0 +1,20 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { ControlButtonSize, ControlButtonType, ControlButtonTypeColor } from '../utils';
3
+ import { Base, FontWeight } from '../../utils/types';
4
+ import { SvgProps } from '../../utils/svg';
5
+ export interface ControlButtonTextProps extends Base {
6
+ color?: ControlButtonTypeColor;
7
+ size?: ControlButtonSize;
8
+ type?: ControlButtonType;
9
+ weight?: FontWeight;
10
+ icon?: SvgProps['icon'];
11
+ iconPosition?: 'left' | 'right';
12
+ underlined?: boolean;
13
+ disabled?: boolean;
14
+ preventDefault?: boolean;
15
+ blurAfterClick?: boolean;
16
+ onClick?: () => void;
17
+ onFocus?: () => void;
18
+ onBlur?: () => void;
19
+ }
20
+ export declare const ControlButtonText: ({ children, size, color, weight, type, icon, iconPosition, underlined, disabled, preventDefault, blurAfterClick, onClick, onFocus, onBlur, className, ...rest }: PropsWithChildren<ControlButtonTextProps>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,87 @@
1
+ import { jsxs as S, jsx as o } from "react/jsx-runtime";
2
+ import _ from "clsx";
3
+ import { withControl as f } from "../../utils/functions/functions.util.js";
4
+ import { Svg as g } from "../../utils/svg/svg.component.js";
5
+ import '../../assets/control-button-text-BbE_5ebO.css';const L = "_ControlButtonText_1t9qc_1", M = "_TextPrimary_1t9qc_11", p = "_TextSecondary_1t9qc_15", C = "_AccentPrimary_1t9qc_19", P = "_AccentSecondary_1t9qc_23", B = "_ThemePrimary_1t9qc_27", A = "_ThemeSecondary_1t9qc_31", R = "_Left_1t9qc_35", b = "_Right_1t9qc_39", D = "_Icon_1t9qc_43", G = "_SM_1t9qc_47", I = "_MD_1t9qc_52", U = "_LG_1t9qc_57", N = "_Content_1t9qc_62", j = "_Light_1t9qc_81", v = "_Regular_1t9qc_85", k = "_Medium_1t9qc_89", F = "_Bold_1t9qc_93", $ = "_Underlined_1t9qc_97", t = {
6
+ ControlButtonText: L,
7
+ TextPrimary: M,
8
+ TextSecondary: p,
9
+ AccentPrimary: C,
10
+ AccentSecondary: P,
11
+ ThemePrimary: B,
12
+ ThemeSecondary: A,
13
+ Left: R,
14
+ Right: b,
15
+ Icon: D,
16
+ SM: G,
17
+ MD: I,
18
+ LG: U,
19
+ Content: N,
20
+ Light: j,
21
+ Regular: v,
22
+ Medium: k,
23
+ Bold: F,
24
+ Underlined: $
25
+ }, O = ({
26
+ children: a,
27
+ size: c = "md",
28
+ color: e = "text-primary",
29
+ weight: n = "medium",
30
+ type: m = "button",
31
+ icon: d = null,
32
+ iconPosition: r = "left",
33
+ underlined: s = !1,
34
+ disabled: i = !1,
35
+ preventDefault: l = !1,
36
+ blurAfterClick: y = !1,
37
+ onClick: u = () => {
38
+ },
39
+ onFocus: T = () => {
40
+ },
41
+ onBlur: x = () => {
42
+ },
43
+ className: h = "",
44
+ ...q
45
+ }) => /* @__PURE__ */ S(
46
+ "button",
47
+ {
48
+ "data-testid": q["data-testid"],
49
+ type: m,
50
+ disabled: i,
51
+ className: _(t.ControlButtonText, h, {
52
+ [t.Left]: r === "left",
53
+ [t.Right]: r === "right",
54
+ [t.SM]: c === "sm",
55
+ [t.MD]: c === "md",
56
+ [t.LG]: c === "lg",
57
+ [t.TextPrimary]: e === "text-primary",
58
+ [t.TextSecondary]: e === "text-secondary",
59
+ [t.AccentPrimary]: e === "accent-primary",
60
+ [t.AccentSecondary]: e === "accent-secondary",
61
+ [t.ThemePrimary]: e === "theme-primary",
62
+ [t.ThemeSecondary]: e === "theme-secondary"
63
+ }),
64
+ onClick: f(u, { prevent: l, blur: y }),
65
+ onFocus: () => T(),
66
+ onBlur: () => x(),
67
+ children: [
68
+ /* @__PURE__ */ o(g, { icon: d, className: t.Icon }),
69
+ /* @__PURE__ */ o(
70
+ "span",
71
+ {
72
+ className: _(t.Content, {
73
+ [t.Light]: n === "light",
74
+ [t.Regular]: n === "regular",
75
+ [t.Medium]: n === "medium",
76
+ [t.Bold]: n === "bold",
77
+ [t.Underlined]: s
78
+ }),
79
+ children: a
80
+ }
81
+ )
82
+ ]
83
+ }
84
+ );
85
+ export {
86
+ O as ControlButtonText
87
+ };
@@ -0,0 +1,2 @@
1
+ export { ControlButtonText } from './control-button-text.component';
2
+ export type { ControlButtonTextProps } from './control-button-text.component';
@@ -0,0 +1,4 @@
1
+ import { ControlButtonText as r } from "./control-button-text.component.js";
2
+ export {
3
+ r as ControlButtonText
4
+ };
@@ -0,0 +1,8 @@
1
+ import { Interactive, RadioChoice, ChoiceValue, State } from '../utils/types';
2
+ import { Base } from '../../utils/types';
3
+ export interface ControlCardImageProps extends Base, Interactive<ChoiceValue> {
4
+ sprite: string;
5
+ choices: RadioChoice[];
6
+ state?: State;
7
+ }
8
+ export declare const ControlCardImage: (props: ControlCardImageProps) => import("react/jsx-runtime").JSX.Element;