@intlayer/design-system 5.3.3 → 5.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/.vite/manifest.json +72 -54
  2. package/dist/{Form-MjLzPGze.js → Form-CriPBaZk.js} +11 -1
  3. package/dist/Form-CriPBaZk.js.map +1 -0
  4. package/dist/{Form-BpxW17v4.cjs → Form-DJrUK3mm.cjs} +11 -1
  5. package/dist/Form-DJrUK3mm.cjs.map +1 -0
  6. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +1 -1
  7. package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +1 -1
  8. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.cjs +1 -1
  9. package/dist/components/Auth/DefineNewPasswordForm/DefineNewPasswordForm.mjs +1 -1
  10. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +1 -1
  11. package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +1 -1
  12. package/dist/components/Auth/SignInForm/SignInForm.cjs +1 -1
  13. package/dist/components/Auth/SignInForm/SignInForm.mjs +1 -1
  14. package/dist/components/Auth/SignUpForm/SignUpForm.cjs +1 -1
  15. package/dist/components/Auth/SignUpForm/SignUpForm.mjs +1 -1
  16. package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.cjs +1 -1
  17. package/dist/components/Auth/VerifyEmailForm/VerifyEmailForm.mjs +1 -1
  18. package/dist/components/ContentEditor/ContentEditor.cjs.map +1 -1
  19. package/dist/components/ContentEditor/ContentEditor.d.ts +3 -2
  20. package/dist/components/ContentEditor/ContentEditor.d.ts.map +1 -1
  21. package/dist/components/ContentEditor/ContentEditor.mjs.map +1 -1
  22. package/dist/components/ContentEditor/ContentEditorTextArea.cjs +1 -1
  23. package/dist/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  24. package/dist/components/DictionaryEditor/DictionaryEditor.cjs +2 -1
  25. package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
  26. package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
  27. package/dist/components/DictionaryEditor/DictionaryEditor.mjs +2 -1
  28. package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
  29. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs +1 -1
  30. package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.mjs +1 -1
  31. package/dist/components/DictionaryEditor/NodeWrapper/ConditionWrapper.cjs +1 -1
  32. package/dist/components/DictionaryEditor/NodeWrapper/ConditionWrapper.mjs +1 -1
  33. package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs +1 -1
  34. package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.mjs +1 -1
  35. package/dist/components/DictionaryEditor/NodeWrapper/FileWrapper.cjs +58 -0
  36. package/dist/components/DictionaryEditor/NodeWrapper/FileWrapper.cjs.map +1 -0
  37. package/dist/components/DictionaryEditor/NodeWrapper/FileWrapper.d.ts +9 -0
  38. package/dist/components/DictionaryEditor/NodeWrapper/FileWrapper.d.ts.map +1 -0
  39. package/dist/components/DictionaryEditor/NodeWrapper/FileWrapper.mjs +58 -0
  40. package/dist/components/DictionaryEditor/NodeWrapper/FileWrapper.mjs.map +1 -0
  41. package/dist/components/DictionaryEditor/NodeWrapper/InsertionWrapper.cjs +21 -0
  42. package/dist/components/DictionaryEditor/NodeWrapper/InsertionWrapper.cjs.map +1 -0
  43. package/dist/components/DictionaryEditor/NodeWrapper/InsertionWrapper.d.ts +9 -0
  44. package/dist/components/DictionaryEditor/NodeWrapper/InsertionWrapper.d.ts.map +1 -0
  45. package/dist/components/DictionaryEditor/NodeWrapper/InsertionWrapper.mjs +21 -0
  46. package/dist/components/DictionaryEditor/NodeWrapper/InsertionWrapper.mjs.map +1 -0
  47. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.cjs +4 -15
  48. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.cjs.map +1 -1
  49. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.d.ts +2 -2
  50. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.d.ts.map +1 -1
  51. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.mjs +4 -15
  52. package/dist/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.mjs.map +1 -1
  53. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs +1 -1
  54. package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs +1 -1
  55. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs +8 -5
  56. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.map +1 -1
  57. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.d.ts +2 -2
  58. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.d.ts.map +1 -1
  59. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +8 -5
  60. package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs.map +1 -1
  61. package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs +1 -1
  62. package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.mjs +1 -1
  63. package/dist/components/DictionaryEditor/NodeWrapper/index.cjs +2 -2
  64. package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts +4 -2
  65. package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts.map +1 -1
  66. package/dist/components/DictionaryEditor/NodeWrapper/index.mjs +2 -2
  67. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs +102 -22
  68. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs.map +1 -1
  69. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts +3 -1
  70. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
  71. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +102 -22
  72. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  73. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +1 -1
  74. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  75. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +1 -1
  76. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +1 -1
  77. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +48 -114
  78. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
  79. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
  80. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +49 -115
  81. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
  82. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +0 -51
  83. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
  84. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +0 -105
  85. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
  86. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +0 -51
  87. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
  88. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +6 -5
  89. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
  90. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
  91. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +7 -6
  92. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
  93. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +1 -1
  94. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +1 -1
  95. package/dist/components/DictionaryFieldEditor/getIsEditableSection.cjs +10 -2
  96. package/dist/components/DictionaryFieldEditor/getIsEditableSection.cjs.map +1 -1
  97. package/dist/components/DictionaryFieldEditor/getIsEditableSection.d.ts.map +1 -1
  98. package/dist/components/DictionaryFieldEditor/getIsEditableSection.mjs +11 -3
  99. package/dist/components/DictionaryFieldEditor/getIsEditableSection.mjs.map +1 -1
  100. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +30 -0
  101. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
  102. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +66 -0
  103. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  104. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +30 -0
  105. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
  106. package/dist/components/Form/Form.cjs +1 -1
  107. package/dist/components/Form/Form.mjs +1 -1
  108. package/dist/components/Form/elements/AutoSizeTextAreaElement.cjs +1 -1
  109. package/dist/components/Form/elements/AutoSizeTextAreaElement.mjs +1 -1
  110. package/dist/components/Form/elements/CheckboxElement.cjs +1 -1
  111. package/dist/components/Form/elements/CheckboxElement.mjs +1 -1
  112. package/dist/components/Form/elements/EditableFieldInputElement.cjs +1 -1
  113. package/dist/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  114. package/dist/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
  115. package/dist/components/Form/elements/EditableFieldInputElement.mjs +1 -1
  116. package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs +1 -1
  117. package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  118. package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
  119. package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +1 -1
  120. package/dist/components/Form/elements/FormElement.cjs +1 -1
  121. package/dist/components/Form/elements/FormElement.mjs +1 -1
  122. package/dist/components/Form/elements/InputElement.cjs +1 -1
  123. package/dist/components/Form/elements/InputElement.d.ts +2 -2
  124. package/dist/components/Form/elements/InputElement.d.ts.map +1 -1
  125. package/dist/components/Form/elements/InputElement.mjs +1 -1
  126. package/dist/components/Form/elements/InputPasswordElement.cjs +1 -1
  127. package/dist/components/Form/elements/InputPasswordElement.d.ts +2 -2
  128. package/dist/components/Form/elements/InputPasswordElement.d.ts.map +1 -1
  129. package/dist/components/Form/elements/InputPasswordElement.mjs +1 -1
  130. package/dist/components/Form/elements/MultiselectElement.cjs +1 -1
  131. package/dist/components/Form/elements/MultiselectElement.mjs +1 -1
  132. package/dist/components/Form/elements/SelectElement.cjs +1 -1
  133. package/dist/components/Form/elements/SelectElement.mjs +1 -1
  134. package/dist/components/Form/elements/SwitchSelectorElement.cjs +1 -1
  135. package/dist/components/Form/elements/SwitchSelectorElement.mjs +1 -1
  136. package/dist/components/Form/elements/TextAreaElement.cjs +1 -1
  137. package/dist/components/Form/elements/TextAreaElement.d.ts +3 -3
  138. package/dist/components/Form/elements/TextAreaElement.d.ts.map +1 -1
  139. package/dist/components/Form/elements/TextAreaElement.mjs +1 -1
  140. package/dist/components/Form/elements/index.cjs +1 -1
  141. package/dist/components/Form/elements/index.mjs +1 -1
  142. package/dist/components/Form/index.cjs +1 -1
  143. package/dist/components/Form/index.mjs +1 -1
  144. package/dist/components/Form/layout/FormItemLayout.cjs +1 -1
  145. package/dist/components/Form/layout/FormItemLayout.mjs +1 -1
  146. package/dist/components/Form/layout/FormLabelLayout.cjs +12 -4
  147. package/dist/components/Form/layout/FormLabelLayout.cjs.map +1 -1
  148. package/dist/components/Form/layout/FormLabelLayout.d.ts.map +1 -1
  149. package/dist/components/Form/layout/FormLabelLayout.mjs +12 -4
  150. package/dist/components/Form/layout/FormLabelLayout.mjs.map +1 -1
  151. package/dist/components/Form/layout/index.cjs +1 -1
  152. package/dist/components/Form/layout/index.mjs +1 -1
  153. package/dist/components/Input/Input.cjs.map +1 -1
  154. package/dist/components/Input/Input.d.ts +1 -7
  155. package/dist/components/Input/Input.d.ts.map +1 -1
  156. package/dist/components/Input/Input.mjs.map +1 -1
  157. package/dist/components/TextArea/TextArea.cjs.map +1 -1
  158. package/dist/components/TextArea/TextArea.d.ts +1 -7
  159. package/dist/components/TextArea/TextArea.d.ts.map +1 -1
  160. package/dist/components/TextArea/TextArea.mjs.map +1 -1
  161. package/dist/components/index.cjs +1 -1
  162. package/dist/components/index.mjs +1 -1
  163. package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
  164. package/dist/hooks/intlayerAPIHooks.d.ts +54 -54
  165. package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
  166. package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
  167. package/dist/hooks/useIntlayerAPI.d.ts +1 -1
  168. package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
  169. package/dist/{index-CVTE3oHq.js → index-Au2tP3vA.js} +27 -3
  170. package/dist/index-Au2tP3vA.js.map +1 -0
  171. package/dist/{index-BpCAhDMe.cjs → index-DbyCRREy.cjs} +27 -3
  172. package/dist/index-DbyCRREy.cjs.map +1 -0
  173. package/dist/utils/camelCase.cjs +2 -2
  174. package/dist/utils/camelCase.cjs.map +1 -1
  175. package/dist/utils/camelCase.d.ts +1 -1
  176. package/dist/utils/camelCase.d.ts.map +1 -1
  177. package/dist/utils/camelCase.mjs +2 -2
  178. package/dist/utils/camelCase.mjs.map +1 -1
  179. package/package.json +16 -18
  180. package/dist/Form-BpxW17v4.cjs.map +0 -1
  181. package/dist/Form-MjLzPGze.js.map +0 -1
  182. package/dist/index-BpCAhDMe.cjs.map +0 -1
  183. package/dist/index-CVTE3oHq.js.map +0 -1
@@ -3,7 +3,7 @@ import "../../Input/Input.mjs";
3
3
  import "lucide-react";
4
4
  import "react";
5
5
  import "../../Input/Checkbox.mjs";
6
- import { C } from "../../../Form-MjLzPGze.js";
6
+ import { C } from "../../../Form-CriPBaZk.js";
7
7
  export {
8
8
  C as CheckboxElement
9
9
  };
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("../../EditableField/EditableFieldInput.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
6
6
  exports.EditableFieldInputElement = components_Form_layout_FormItemLayout.EditableFieldInputElement;
7
7
  //# sourceMappingURL=EditableFieldInputElement.cjs.map
@@ -1,13 +1,13 @@
1
1
  import { ComponentProps, ReactNode } from 'react';
2
2
  import { EditableFieldInput } from '../../EditableField/EditableFieldInput';
3
3
  import { FormElementProps } from './FormElement';
4
- type EditableFieldInputElementProps = Omit<FormElementProps<typeof EditableFieldInput>, 'Element'> & ComponentProps<typeof EditableFieldInput> & {
4
+ type EditableFieldInputElementProps = Omit<FormElementProps<typeof EditableFieldInput>, 'Element'> & Omit<ComponentProps<typeof EditableFieldInput> & {
5
5
  name: string;
6
6
  description?: ReactNode;
7
7
  placeholder?: string;
8
8
  className?: string;
9
9
  children?: ReactNode;
10
- };
10
+ }, 'aria-label' | 'aria-labelledby'>;
11
11
  export declare const EditableFieldInputElement: (props: EditableFieldInputElementProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=EditableFieldInputElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditableFieldInputElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/EditableFieldInputElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,KAAK,8BAA8B,GAAG,IAAI,CACxC,gBAAgB,CAAC,OAAO,kBAAkB,CAAC,EAC3C,SAAS,CACV,GACC,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,yBAAyB,GACpC,OAAO,8BAA8B,4CAQtC,CAAC"}
1
+ {"version":3,"file":"EditableFieldInputElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/EditableFieldInputElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,KAAK,8BAA8B,GAAG,IAAI,CACxC,gBAAgB,CAAC,OAAO,kBAAkB,CAAC,EAC3C,SAAS,CACV,GACC,IAAI,CACF,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,EACD,YAAY,GAAG,iBAAiB,CACjC,CAAC;AAEJ,eAAO,MAAM,yBAAyB,GACpC,OAAO,8BAA8B,4CAUtC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../EditableField/EditableFieldInput.mjs";
3
- import { E } from "../../../Form-MjLzPGze.js";
3
+ import { E } from "../../../Form-CriPBaZk.js";
4
4
  export {
5
5
  E as EditableFieldInputElement
6
6
  };
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("../../EditableField/EditableFieldTextArea.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
6
6
  exports.EditableFieldTextAreaElement = components_Form_layout_FormItemLayout.EditableFieldTextAreaElement;
7
7
  //# sourceMappingURL=EditableFieldTextAreaElement.cjs.map
@@ -1,13 +1,13 @@
1
1
  import { ComponentProps, ReactNode } from 'react';
2
2
  import { EditableFieldTextArea } from '../../EditableField/EditableFieldTextArea';
3
3
  import { FormElementProps } from './FormElement';
4
- type EditableFieldTextAreaElementProps = Omit<FormElementProps<typeof EditableFieldTextArea>, 'Element'> & ComponentProps<typeof EditableFieldTextArea> & {
4
+ type EditableFieldTextAreaElementProps = Omit<FormElementProps<typeof EditableFieldTextArea>, 'Element'> & Omit<ComponentProps<typeof EditableFieldTextArea> & {
5
5
  name: string;
6
6
  description?: ReactNode;
7
7
  placeholder?: string;
8
8
  className?: string;
9
9
  children?: ReactNode;
10
- };
10
+ }, 'aria-label' | 'aria-labelledby'>;
11
11
  export declare const EditableFieldTextAreaElement: (props: EditableFieldTextAreaElementProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=EditableFieldTextAreaElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditableFieldTextAreaElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/EditableFieldTextAreaElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,KAAK,iCAAiC,GAAG,IAAI,CAC3C,gBAAgB,CAAC,OAAO,qBAAqB,CAAC,EAC9C,SAAS,CACV,GACC,cAAc,CAAC,OAAO,qBAAqB,CAAC,GAAG;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,4BAA4B,GACvC,OAAO,iCAAiC,4CAQzC,CAAC"}
1
+ {"version":3,"file":"EditableFieldTextAreaElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/EditableFieldTextAreaElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,KAAK,iCAAiC,GAAG,IAAI,CAC3C,gBAAgB,CAAC,OAAO,qBAAqB,CAAC,EAC9C,SAAS,CACV,GACC,IAAI,CACF,cAAc,CAAC,OAAO,qBAAqB,CAAC,GAAG;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,EACD,YAAY,GAAG,iBAAiB,CACjC,CAAC;AAEJ,eAAO,MAAM,4BAA4B,GACvC,OAAO,iCAAiC,4CAUzC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../EditableField/EditableFieldTextArea.mjs";
3
- import { c } from "../../../Form-MjLzPGze.js";
3
+ import { c } from "../../../Form-CriPBaZk.js";
4
4
  export {
5
5
  c as EditableFieldTextAreaElement
6
6
  };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("react-hook-form");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
6
6
  require("../FormField.cjs");
7
7
  require("clsx");
8
8
  require("tailwind-merge");
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react-hook-form";
3
- import { a } from "../../../Form-MjLzPGze.js";
3
+ import { a } from "../../../Form-CriPBaZk.js";
4
4
  import "../FormField.mjs";
5
5
  import "clsx";
6
6
  import "tailwind-merge";
@@ -5,6 +5,6 @@ require("../../Input/Input.cjs");
5
5
  require("lucide-react");
6
6
  require("react");
7
7
  require("../../Input/Checkbox.cjs");
8
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
8
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
9
9
  exports.InputElement = components_Form_layout_FormItemLayout.InputElement;
10
10
  //# sourceMappingURL=InputElement.cjs.map
@@ -1,9 +1,9 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { Input } from '../../../components/Input';
3
3
  import { FormElementProps } from './FormElement';
4
- type InputElementProps = Omit<FormElementProps<typeof Input>, 'Element'> & ComponentProps<typeof Input> & {
4
+ type InputElementProps = Omit<FormElementProps<typeof Input>, 'Element'> & Omit<ComponentProps<typeof Input> & {
5
5
  name: string;
6
- };
6
+ }, 'aria-label' | 'aria-labelledby'>;
7
7
  export declare const InputElement: FC<InputElementProps>;
8
8
  export {};
9
9
  //# sourceMappingURL=InputElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,KAAK,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAEnE,KAAK,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,KAAK,CAAC,EAAE,SAAS,CAAC,GACtE,cAAc,CAAC,OAAO,KAAK,CAAC,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAO9C,CAAC"}
1
+ {"version":3,"file":"InputElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,KAAK,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAEnE,KAAK,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,KAAK,CAAC,EAAE,SAAS,CAAC,GACtE,IAAI,CACF,cAAc,CAAC,OAAO,KAAK,CAAC,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd,EACD,YAAY,GAAG,iBAAiB,CACjC,CAAC;AAEJ,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAS9C,CAAC"}
@@ -3,7 +3,7 @@ import "../../Input/Input.mjs";
3
3
  import "lucide-react";
4
4
  import "react";
5
5
  import "../../Input/Checkbox.mjs";
6
- import { I } from "../../../Form-MjLzPGze.js";
6
+ import { I } from "../../../Form-CriPBaZk.js";
7
7
  export {
8
8
  I as InputElement
9
9
  };
@@ -4,6 +4,6 @@ require("react/jsx-runtime");
4
4
  require("../../Input/Input.cjs");
5
5
  require("../../Input/InputPassword.cjs");
6
6
  require("../../Input/Checkbox.cjs");
7
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
7
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
8
8
  exports.InputPasswordElement = components_Form_layout_FormItemLayout.InputPasswordElement;
9
9
  //# sourceMappingURL=InputPasswordElement.cjs.map
@@ -1,10 +1,10 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { InputPassword } from '../../Input';
3
3
  import { FormElementProps } from './FormElement';
4
- type InputPasswordElementProps = Omit<FormElementProps<typeof InputPassword>, 'Element'> & ComponentProps<typeof InputPassword> & {
4
+ type InputPasswordElementProps = Omit<FormElementProps<typeof InputPassword>, 'Element'> & Omit<ComponentProps<typeof InputPassword> & {
5
5
  name: string;
6
6
  autoComplete: 'current-password' | 'new-password';
7
- };
7
+ }, 'aria-label' | 'aria-labelledby'>;
8
8
  export declare const InputPasswordElement: FC<InputPasswordElementProps>;
9
9
  export {};
10
10
  //# sourceMappingURL=InputPasswordElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputPasswordElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputPasswordElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAEnE,KAAK,yBAAyB,GAAG,IAAI,CACnC,gBAAgB,CAAC,OAAO,aAAa,CAAC,EACtC,SAAS,CACV,GACC,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,kBAAkB,GAAG,cAAc,CAAC;CACnD,CAAC;AAEJ,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAa9D,CAAC"}
1
+ {"version":3,"file":"InputPasswordElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/InputPasswordElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,gBAAgB,EAAe,MAAM,eAAe,CAAC;AAEnE,KAAK,yBAAyB,GAAG,IAAI,CACnC,gBAAgB,CAAC,OAAO,aAAa,CAAC,EACtC,SAAS,CACV,GACC,IAAI,CACF,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,kBAAkB,GAAG,cAAc,CAAC;CACnD,EACD,YAAY,GAAG,iBAAiB,CACjC,CAAC;AAEJ,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAe9D,CAAC"}
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../../Input/Input.mjs";
3
3
  import "../../Input/InputPassword.mjs";
4
4
  import "../../Input/Checkbox.mjs";
5
- import { b } from "../../../Form-MjLzPGze.js";
5
+ import { b } from "../../../Form-CriPBaZk.js";
6
6
  export {
7
7
  b as InputPasswordElement
8
8
  };
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("react-hook-form");
5
5
  require("../../Select/Multiselect.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
6
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
7
7
  require("../FormField.cjs");
8
8
  exports.MultiSelectElement = components_Form_layout_FormItemLayout.MultiSelectElement;
9
9
  //# sourceMappingURL=MultiselectElement.cjs.map
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react-hook-form";
3
3
  import "../../Select/Multiselect.mjs";
4
- import { M } from "../../../Form-MjLzPGze.js";
4
+ import { M } from "../../../Form-CriPBaZk.js";
5
5
  import "../FormField.mjs";
6
6
  export {
7
7
  M as MultiSelectElement
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("react-hook-form");
5
5
  require("../../Select/Select.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
6
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
7
7
  require("../FormField.cjs");
8
8
  exports.SelectElement = components_Form_layout_FormItemLayout.SelectElement;
9
9
  //# sourceMappingURL=SelectElement.cjs.map
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react-hook-form";
3
3
  import "../../Select/Select.mjs";
4
- import { S } from "../../../Form-MjLzPGze.js";
4
+ import { S } from "../../../Form-CriPBaZk.js";
5
5
  import "../FormField.mjs";
6
6
  export {
7
7
  S as SelectElement
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("react-hook-form");
5
5
  require("../../SwitchSelector/index.cjs");
6
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
6
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
7
7
  require("../FormField.cjs");
8
8
  exports.SwitchSelectorElement = components_Form_layout_FormItemLayout.SwitchSelectorElement;
9
9
  //# sourceMappingURL=SwitchSelectorElement.cjs.map
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react-hook-form";
3
3
  import "../../SwitchSelector/index.mjs";
4
- import { e } from "../../../Form-MjLzPGze.js";
4
+ import { e } from "../../../Form-CriPBaZk.js";
5
5
  import "../FormField.mjs";
6
6
  export {
7
7
  e as SwitchSelectorElement
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
4
  require("../../TextArea/TextArea.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
6
6
  exports.TextAreaElement = components_Form_layout_FormItemLayout.TextAreaElement;
7
7
  //# sourceMappingURL=TextAreaElement.cjs.map
@@ -1,9 +1,9 @@
1
- import { FC } from 'react';
1
+ import { ComponentProps, FC } from 'react';
2
2
  import { TextArea } from '../../TextArea/TextArea';
3
3
  import { FormElementProps } from './FormElement';
4
- type TextAreaElementsProps = Omit<FormElementProps<typeof TextArea>, 'Element'> & React.ComponentProps<typeof TextArea> & {
4
+ type TextAreaElementsProps = Omit<FormElementProps<typeof TextArea>, 'Element'> & Omit<ComponentProps<typeof TextArea> & {
5
5
  name: string;
6
- };
6
+ }, 'aria-label' | 'aria-labelledby'>;
7
7
  export declare const TextAreaElement: FC<TextAreaElementsProps>;
8
8
  export {};
9
9
  //# sourceMappingURL=TextAreaElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextAreaElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/TextAreaElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,KAAK,qBAAqB,GAAG,IAAI,CAC/B,gBAAgB,CAAC,OAAO,QAAQ,CAAC,EACjC,SAAS,CACV,GACC,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CAOrD,CAAC"}
1
+ {"version":3,"file":"TextAreaElement.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/elements/TextAreaElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEnE,KAAK,qBAAqB,GAAG,IAAI,CAC/B,gBAAgB,CAAC,OAAO,QAAQ,CAAC,EACjC,SAAS,CACV,GACC,IAAI,CACF,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,EACD,YAAY,GAAG,iBAAiB,CACjC,CAAC;AAEJ,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CASrD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../TextArea/TextArea.mjs";
3
- import { T } from "../../../Form-MjLzPGze.js";
3
+ import { T } from "../../../Form-CriPBaZk.js";
4
4
  export {
5
5
  T as TextAreaElement
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
3
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
4
4
  exports.EditableFieldInputElement = components_Form_layout_FormItemLayout.EditableFieldInputElement;
5
5
  exports.EditableFieldTextAreaElement = components_Form_layout_FormItemLayout.EditableFieldTextAreaElement;
6
6
  exports.FormElement = components_Form_layout_FormItemLayout.FormElement;
@@ -1,4 +1,4 @@
1
- import { E, c, a, I, b, T } from "../../../Form-MjLzPGze.js";
1
+ import { E, c, a, I, b, T } from "../../../Form-CriPBaZk.js";
2
2
  export {
3
3
  E as EditableFieldInputElement,
4
4
  c as EditableFieldTextAreaElement,
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const components_Form_FormBase = require("./FormBase.cjs");
4
4
  const components_Form_FormField = require("./FormField.cjs");
5
- const components_Form_layout_FormItemLayout = require("../../Form-BpxW17v4.cjs");
5
+ const components_Form_layout_FormItemLayout = require("../../Form-DJrUK3mm.cjs");
6
6
  exports.useForm = components_Form_FormBase.useForm;
7
7
  exports.useFormField = components_Form_FormField.useFormField;
8
8
  exports.Form = components_Form_layout_FormItemLayout.Form;
@@ -1,6 +1,6 @@
1
1
  import { useForm } from "./FormBase.mjs";
2
2
  import { useFormField } from "./FormField.mjs";
3
- import { F } from "../../Form-MjLzPGze.js";
3
+ import { F } from "../../Form-CriPBaZk.js";
4
4
  export {
5
5
  F as Form,
6
6
  useForm,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("react/jsx-runtime");
4
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
4
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
5
5
  require("./FormLabelLayout.cjs");
6
6
  exports.FormItemLayout = components_Form_layout_FormItemLayout.FormItemLayout;
7
7
  //# sourceMappingURL=FormItemLayout.cjs.map
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { d } from "../../../Form-MjLzPGze.js";
2
+ import { d } from "../../../Form-CriPBaZk.js";
3
3
  import "./FormLabelLayout.mjs";
4
4
  export {
5
5
  d as FormItemLayout
@@ -12,10 +12,18 @@ const FormLabelLayout = ({
12
12
  htmlFor,
13
13
  className
14
14
  }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-1 flex gap-1 align-middle text-base leading-none", children: [
15
- children && /* @__PURE__ */ jsxRuntime.jsxs(components_Form_FormLabel.FormLabel, { htmlFor, className: clsx.clsx("font-bold", className), children: [
16
- children,
17
- /* @__PURE__ */ jsxRuntime.jsx(components_Form_layout_RequiredStar.RequiredStar, { isRequired })
18
- ] }),
15
+ children && /* @__PURE__ */ jsxRuntime.jsxs(
16
+ components_Form_FormLabel.FormLabel,
17
+ {
18
+ htmlFor,
19
+ id: `${htmlFor}-label`,
20
+ className: clsx.clsx("font-bold", className),
21
+ children: [
22
+ children,
23
+ /* @__PURE__ */ jsxRuntime.jsx(components_Form_layout_RequiredStar.RequiredStar, { isRequired })
24
+ ]
25
+ }
26
+ ),
19
27
  info && /* @__PURE__ */ jsxRuntime.jsx(components_InformationTag_index.InformationTag, { content: info })
20
28
  ] });
21
29
  exports.FormLabelLayout = FormLabelLayout;
@@ -1 +1 @@
1
- {"version":3,"file":"FormLabelLayout.cjs","sources":["../../../../src/components/Form/layout/FormLabelLayout.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { FC, ReactNode } from 'react';\nimport { InformationTag } from '../../InformationTag';\nimport { FormLabel } from '../FormLabel';\nimport { RequiredStar } from './RequiredStar';\n\nexport type FormLabelLayoutProps = {\n children?: ReactNode;\n isRequired?: boolean;\n info?: string;\n htmlFor?: string;\n className?: string;\n};\n\nexport const FormLabelLayout: FC<FormLabelLayoutProps> = ({\n children,\n isRequired,\n info,\n htmlFor,\n className,\n}) => (\n <div className=\"ml-1 flex gap-1 align-middle text-base leading-none\">\n {children && (\n <FormLabel htmlFor={htmlFor} className={clsx('font-bold', className)}>\n {children}\n <RequiredStar isRequired={isRequired} />\n </FormLabel>\n )}\n {info && <InformationTag content={info} />}\n </div>\n);\n"],"names":["jsxs","FormLabel","clsx","jsx","RequiredStar","InformationTag"],"mappings":";;;;;;;AAcO,MAAM,kBAA4C,CAAC;AAAA,EACxD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MACEA,2BAAA,KAAC,OAAI,EAAA,WAAU,uDACZ,UAAA;AAAA,EAAA,4CACEC,0BAAU,WAAA,EAAA,SAAkB,WAAWC,KAAAA,KAAK,aAAa,SAAS,GAChE,UAAA;AAAA,IAAA;AAAA,IACDC,+BAACC,oCAAAA,gBAAa,WAAwB,CAAA;AAAA,EAAA,GACxC;AAAA,EAED,QAAQD,2BAAAA,IAACE,gCAAAA,gBAAe,EAAA,SAAS,KAAM,CAAA;AAAA,EAC1C,CAAA;;"}
1
+ {"version":3,"file":"FormLabelLayout.cjs","sources":["../../../../src/components/Form/layout/FormLabelLayout.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { FC, ReactNode } from 'react';\nimport { InformationTag } from '../../InformationTag';\nimport { FormLabel } from '../FormLabel';\nimport { RequiredStar } from './RequiredStar';\n\nexport type FormLabelLayoutProps = {\n children?: ReactNode;\n isRequired?: boolean;\n info?: string;\n htmlFor?: string;\n className?: string;\n};\n\nexport const FormLabelLayout: FC<FormLabelLayoutProps> = ({\n children,\n isRequired,\n info,\n htmlFor,\n className,\n}) => (\n <div className=\"ml-1 flex gap-1 align-middle text-base leading-none\">\n {children && (\n <FormLabel\n htmlFor={htmlFor}\n id={`${htmlFor}-label`}\n className={clsx('font-bold', className)}\n >\n {children}\n <RequiredStar isRequired={isRequired} />\n </FormLabel>\n )}\n {info && <InformationTag content={info} />}\n </div>\n);\n"],"names":["jsxs","FormLabel","clsx","jsx","RequiredStar","InformationTag"],"mappings":";;;;;;;AAcO,MAAM,kBAA4C,CAAC;AAAA,EACxD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MACEA,2BAAA,KAAC,OAAI,EAAA,WAAU,uDACZ,UAAA;AAAA,EACC,YAAAA,2BAAA;AAAA,IAACC,0BAAA;AAAA,IAAA;AAAA,MACC;AAAA,MACA,IAAI,GAAG,OAAO;AAAA,MACd,WAAWC,KAAAA,KAAK,aAAa,SAAS;AAAA,MAErC,UAAA;AAAA,QAAA;AAAA,QACDC,+BAACC,oCAAAA,gBAAa,WAAwB,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACxC;AAAA,EAED,QAAQD,2BAAAA,IAACE,gCAAAA,gBAAe,EAAA,SAAS,KAAM,CAAA;AAAA,EAC1C,CAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormLabelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/layout/FormLabelLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAgBpD,CAAC"}
1
+ {"version":3,"file":"FormLabelLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/layout/FormLabelLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAoBpD,CAAC"}
@@ -10,10 +10,18 @@ const FormLabelLayout = ({
10
10
  htmlFor,
11
11
  className
12
12
  }) => /* @__PURE__ */ jsxs("div", { className: "ml-1 flex gap-1 align-middle text-base leading-none", children: [
13
- children && /* @__PURE__ */ jsxs(FormLabel, { htmlFor, className: clsx("font-bold", className), children: [
14
- children,
15
- /* @__PURE__ */ jsx(RequiredStar, { isRequired })
16
- ] }),
13
+ children && /* @__PURE__ */ jsxs(
14
+ FormLabel,
15
+ {
16
+ htmlFor,
17
+ id: `${htmlFor}-label`,
18
+ className: clsx("font-bold", className),
19
+ children: [
20
+ children,
21
+ /* @__PURE__ */ jsx(RequiredStar, { isRequired })
22
+ ]
23
+ }
24
+ ),
17
25
  info && /* @__PURE__ */ jsx(InformationTag, { content: info })
18
26
  ] });
19
27
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"FormLabelLayout.mjs","sources":["../../../../src/components/Form/layout/FormLabelLayout.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { FC, ReactNode } from 'react';\nimport { InformationTag } from '../../InformationTag';\nimport { FormLabel } from '../FormLabel';\nimport { RequiredStar } from './RequiredStar';\n\nexport type FormLabelLayoutProps = {\n children?: ReactNode;\n isRequired?: boolean;\n info?: string;\n htmlFor?: string;\n className?: string;\n};\n\nexport const FormLabelLayout: FC<FormLabelLayoutProps> = ({\n children,\n isRequired,\n info,\n htmlFor,\n className,\n}) => (\n <div className=\"ml-1 flex gap-1 align-middle text-base leading-none\">\n {children && (\n <FormLabel htmlFor={htmlFor} className={clsx('font-bold', className)}>\n {children}\n <RequiredStar isRequired={isRequired} />\n </FormLabel>\n )}\n {info && <InformationTag content={info} />}\n </div>\n);\n"],"names":[],"mappings":";;;;;AAcO,MAAM,kBAA4C,CAAC;AAAA,EACxD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MACE,qBAAC,OAAI,EAAA,WAAU,uDACZ,UAAA;AAAA,EAAA,iCACE,WAAU,EAAA,SAAkB,WAAW,KAAK,aAAa,SAAS,GAChE,UAAA;AAAA,IAAA;AAAA,IACD,oBAAC,gBAAa,WAAwB,CAAA;AAAA,EAAA,GACxC;AAAA,EAED,QAAQ,oBAAC,gBAAe,EAAA,SAAS,KAAM,CAAA;AAAA,EAC1C,CAAA;"}
1
+ {"version":3,"file":"FormLabelLayout.mjs","sources":["../../../../src/components/Form/layout/FormLabelLayout.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { FC, ReactNode } from 'react';\nimport { InformationTag } from '../../InformationTag';\nimport { FormLabel } from '../FormLabel';\nimport { RequiredStar } from './RequiredStar';\n\nexport type FormLabelLayoutProps = {\n children?: ReactNode;\n isRequired?: boolean;\n info?: string;\n htmlFor?: string;\n className?: string;\n};\n\nexport const FormLabelLayout: FC<FormLabelLayoutProps> = ({\n children,\n isRequired,\n info,\n htmlFor,\n className,\n}) => (\n <div className=\"ml-1 flex gap-1 align-middle text-base leading-none\">\n {children && (\n <FormLabel\n htmlFor={htmlFor}\n id={`${htmlFor}-label`}\n className={clsx('font-bold', className)}\n >\n {children}\n <RequiredStar isRequired={isRequired} />\n </FormLabel>\n )}\n {info && <InformationTag content={info} />}\n </div>\n);\n"],"names":[],"mappings":";;;;;AAcO,MAAM,kBAA4C,CAAC;AAAA,EACxD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MACE,qBAAC,OAAI,EAAA,WAAU,uDACZ,UAAA;AAAA,EACC,YAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA,IAAI,GAAG,OAAO;AAAA,MACd,WAAW,KAAK,aAAa,SAAS;AAAA,MAErC,UAAA;AAAA,QAAA;AAAA,QACD,oBAAC,gBAAa,WAAwB,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACxC;AAAA,EAED,QAAQ,oBAAC,gBAAe,EAAA,SAAS,KAAM,CAAA;AAAA,EAC1C,CAAA;"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const components_Form_layout_FormItemLayout = require("../../../Form-BpxW17v4.cjs");
3
+ const components_Form_layout_FormItemLayout = require("../../../Form-DJrUK3mm.cjs");
4
4
  const components_Form_layout_FormLabelLayout = require("./FormLabelLayout.cjs");
5
5
  exports.FormItemLayout = components_Form_layout_FormItemLayout.FormItemLayout;
6
6
  exports.FormLabelLayout = components_Form_layout_FormLabelLayout.FormLabelLayout;
@@ -1,4 +1,4 @@
1
- import { d } from "../../../Form-MjLzPGze.js";
1
+ import { d } from "../../../Form-CriPBaZk.js";
2
2
  import { FormLabelLayout } from "./FormLabelLayout.mjs";
3
3
  export {
4
4
  d as FormItemLayout,
@@ -1 +1 @@
1
- {"version":3,"file":"Input.cjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\ntype LabelType =\n | {\n 'aria-labelledby': string;\n }\n | {\n 'aria-label': string;\n };\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> &\n LabelType;\n\nexport const Input: FC<InputProps> = ({\n validationStyleEnabled = false,\n variant,\n size,\n className,\n ...props\n}) => (\n <input\n className={inputVariants({\n variant,\n size,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })}\n {...props}\n />\n);\n"],"names":["cva","jsx"],"mappings":";;;;AAOa,MAAA,gBAAgBA,2BAAI,IAAI;AAAA,EACnC,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT;AAAA,MAAA;AAAA,IAEJ;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,wBAAwB;AAAA,MACtB,UAAU;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,IACN,wBAAwB;AAAA,EAAA;AAE5B,CAAC;AAkBM,MAAM,QAAwB,CAAC;AAAA,EACpC,yBAAyB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACEC,2BAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,cAAc;AAAA,MACvB;AAAA,MACA;AAAA,MACA,wBAAwB,yBAAyB,YAAY;AAAA,MAC7D;AAAA,IAAA,CACD;AAAA,IACA,GAAG;AAAA,EAAA;AACN;;;"}
1
+ {"version":3,"file":"Input.cjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'>;\n\nexport const Input: FC<InputProps> = ({\n validationStyleEnabled = false,\n variant,\n size,\n className,\n ...props\n}) => (\n <input\n className={inputVariants({\n variant,\n size,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })}\n {...props}\n />\n);\n"],"names":["cva","jsx"],"mappings":";;;;AAOa,MAAA,gBAAgBA,2BAAI,IAAI;AAAA,EACnC,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT;AAAA,MAAA;AAAA,IAEJ;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,wBAAwB;AAAA,MACtB,UAAU;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,IACN,wBAAwB;AAAA,EAAA;AAE5B,CAAC;AASM,MAAM,QAAwB,CAAC;AAAA,EACpC,yBAAyB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACEC,2BAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,cAAc;AAAA,MACvB;AAAA,MACA;AAAA,MACA,wBAAwB,yBAAyB,YAAY;AAAA,MAC7D;AAAA,IAAA,CACD;AAAA,IACA,GAAG;AAAA,EAAA;AACN;;;"}
@@ -5,14 +5,8 @@ export declare const inputVariants: (props?: ({
5
5
  size?: "md" | "lg" | null | undefined;
6
6
  validationStyleEnabled?: "disabled" | "enabled" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
- type LabelType = {
9
- 'aria-labelledby': string;
10
- } | {
11
- 'aria-label': string;
12
- };
13
8
  export type InputProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
14
9
  validationStyleEnabled?: boolean;
15
- } & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> & LabelType;
10
+ } & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'>;
16
11
  export declare const Input: FC<InputProps>;
17
- export {};
18
12
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,KAAK,EAAE,EACP,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAEf,eAAO,MAAM,aAAa;;;;8EA2BxB,CAAC;AAEH,KAAK,SAAS,GACV;IACE,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GACD;IACE,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEN,MAAM,MAAM,UAAU,GAAG,iBAAiB,CACxC,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,gBAAgB,CACjB,GAAG;IACF,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,wBAAwB,CAAC,GACpE,SAAS,CAAC;AAEZ,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAgBhC,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,KAAK,EAAE,EACP,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAEf,eAAO,MAAM,aAAa;;;;8EA2BxB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,iBAAiB,CACxC,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,gBAAgB,CACjB,GAAG;IACF,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,wBAAwB,CAAC,CAAC;AAEvE,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAgBhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Input.mjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\ntype LabelType =\n | {\n 'aria-labelledby': string;\n }\n | {\n 'aria-label': string;\n };\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> &\n LabelType;\n\nexport const Input: FC<InputProps> = ({\n validationStyleEnabled = false,\n variant,\n size,\n className,\n ...props\n}) => (\n <input\n className={inputVariants({\n variant,\n size,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })}\n {...props}\n />\n);\n"],"names":[],"mappings":";;AAOa,MAAA,gBAAgB,IAAI,IAAI;AAAA,EACnC,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT;AAAA,MAAA;AAAA,IAEJ;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,wBAAwB;AAAA,MACtB,UAAU;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,IACN,wBAAwB;AAAA,EAAA;AAE5B,CAAC;AAkBM,MAAM,QAAwB,CAAC;AAAA,EACpC,yBAAyB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACE;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,cAAc;AAAA,MACvB;AAAA,MACA;AAAA,MACA,wBAAwB,yBAAyB,YAAY;AAAA,MAC7D;AAAA,IAAA,CACD;AAAA,IACA,GAAG;AAAA,EAAA;AACN;"}
1
+ {"version":3,"file":"Input.mjs","sources":["../../../src/components/Input/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport {\n type FC,\n type DetailedHTMLProps,\n type InputHTMLAttributes,\n} from 'react';\n\nexport const inputVariants = cva('', {\n variants: {\n variant: {\n default: [\n 'w-full select-text resize-none rounded-xl border-2 bg-input-background text-base md:text-sm text-input-text shadow-none outline-0 transition-all',\n 'border-input-border hover:border-input-border-hover focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error',\n 'disabled:opacity-50',\n ],\n invisible: [\n 'w-full border-none bg-inherit text-inherit outline-hidden ring-0',\n ],\n },\n size: {\n md: 'px-2 md:py-1 py-3',\n lg: 'p-4 md:py-2',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n validationStyleEnabled: 'disabled',\n },\n});\n\nexport type InputProps = DetailedHTMLProps<\n InputHTMLAttributes<HTMLInputElement>,\n HTMLInputElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'>;\n\nexport const Input: FC<InputProps> = ({\n validationStyleEnabled = false,\n variant,\n size,\n className,\n ...props\n}) => (\n <input\n className={inputVariants({\n variant,\n size,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })}\n {...props}\n />\n);\n"],"names":[],"mappings":";;AAOa,MAAA,gBAAgB,IAAI,IAAI;AAAA,EACnC,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT;AAAA,MAAA;AAAA,IAEJ;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,wBAAwB;AAAA,MACtB,UAAU;AAAA,MACV,SAAS;AAAA,IAAA;AAAA,EAEb;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,IACN,wBAAwB;AAAA,EAAA;AAE5B,CAAC;AASM,MAAM,QAAwB,CAAC;AAAA,EACpC,yBAAyB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACE;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,cAAc;AAAA,MACvB;AAAA,MACA;AAAA,MACA,wBAAwB,yBAAyB,YAAY;AAAA,MAC7D;AAAA,IAAA,CACD;AAAA,IACA,GAAG;AAAA,EAAA;AACN;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.cjs","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import type { VariantProps } from 'class-variance-authority';\nimport {\n type TextareaHTMLAttributes,\n type DetailedHTMLProps,\n type FC,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { inputVariants } from '../Input';\n\ntype LabelType =\n | {\n 'aria-labelledby': string;\n }\n | {\n 'aria-label': string;\n };\n\nexport type TextAreaProps = DetailedHTMLProps<\n DetailedHTMLProps<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n HTMLTextAreaElement\n >,\n HTMLTextAreaElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> &\n LabelType;\n\nexport const TextArea: FC<TextAreaProps> = ({\n className,\n variant,\n validationStyleEnabled = false,\n ...props\n}) => (\n <textarea\n className={cn(\n 'resize-none',\n inputVariants({\n variant,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })\n )}\n {...props}\n />\n);\n"],"names":["jsx","cn","inputVariants"],"mappings":";;;;;;;;AA4BO,MAAM,WAA8B,CAAC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,GAAG;AACL,MACEA,2BAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,SAAA;AAAA,MACT;AAAA,MACAC,qCAAc;AAAA,QACZ;AAAA,QACA,wBAAwB,yBAAyB,YAAY;AAAA,QAC7D;AAAA,MACD,CAAA;AAAA,IACH;AAAA,IACC,GAAG;AAAA,EAAA;AACN;;"}
1
+ {"version":3,"file":"TextArea.cjs","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import type { VariantProps } from 'class-variance-authority';\nimport {\n type TextareaHTMLAttributes,\n type DetailedHTMLProps,\n type FC,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { inputVariants } from '../Input';\n\nexport type TextAreaProps = DetailedHTMLProps<\n DetailedHTMLProps<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n HTMLTextAreaElement\n >,\n HTMLTextAreaElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'>;\n\nexport const TextArea: FC<TextAreaProps> = ({\n className,\n variant,\n validationStyleEnabled = false,\n ...props\n}) => (\n <textarea\n className={cn(\n 'resize-none',\n inputVariants({\n variant,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })\n )}\n {...props}\n />\n);\n"],"names":["jsx","cn","inputVariants"],"mappings":";;;;;;;;AAmBO,MAAM,WAA8B,CAAC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,GAAG;AACL,MACEA,2BAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,SAAA;AAAA,MACT;AAAA,MACAC,qCAAc;AAAA,QACZ;AAAA,QACA,wBAAwB,yBAAyB,YAAY;AAAA,QAC7D;AAAA,MACD,CAAA;AAAA,IACH;AAAA,IACC,GAAG;AAAA,EAAA;AACN;;"}
@@ -1,14 +1,8 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { TextareaHTMLAttributes, DetailedHTMLProps, FC } from 'react';
3
3
  import { inputVariants } from '../Input';
4
- type LabelType = {
5
- 'aria-labelledby': string;
6
- } | {
7
- 'aria-label': string;
8
- };
9
4
  export type TextAreaProps = DetailedHTMLProps<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, HTMLTextAreaElement> & {
10
5
  validationStyleEnabled?: boolean;
11
- } & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> & LabelType;
6
+ } & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'>;
12
7
  export declare const TextArea: FC<TextAreaProps>;
13
- export {};
14
8
  //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,KAAK,SAAS,GACV;IACE,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GACD;IACE,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEN,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAC3C,iBAAiB,CACf,sBAAsB,CAAC,mBAAmB,CAAC,EAC3C,mBAAmB,CACpB,EACD,mBAAmB,CACpB,GAAG;IACF,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,wBAAwB,CAAC,GACpE,SAAS,CAAC;AAEZ,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAiBtC,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAC3C,iBAAiB,CACf,sBAAsB,CAAC,mBAAmB,CAAC,EAC3C,mBAAmB,CACpB,EACD,mBAAmB,CACpB,GAAG;IACF,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,wBAAwB,CAAC,CAAC;AAEvE,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAiBtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.mjs","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import type { VariantProps } from 'class-variance-authority';\nimport {\n type TextareaHTMLAttributes,\n type DetailedHTMLProps,\n type FC,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { inputVariants } from '../Input';\n\ntype LabelType =\n | {\n 'aria-labelledby': string;\n }\n | {\n 'aria-label': string;\n };\n\nexport type TextAreaProps = DetailedHTMLProps<\n DetailedHTMLProps<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n HTMLTextAreaElement\n >,\n HTMLTextAreaElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'> &\n LabelType;\n\nexport const TextArea: FC<TextAreaProps> = ({\n className,\n variant,\n validationStyleEnabled = false,\n ...props\n}) => (\n <textarea\n className={cn(\n 'resize-none',\n inputVariants({\n variant,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })\n )}\n {...props}\n />\n);\n"],"names":[],"mappings":";;;;;;AA4BO,MAAM,WAA8B,CAAC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,GAAG;AACL,MACE;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW;AAAA,MACT;AAAA,MACA,cAAc;AAAA,QACZ;AAAA,QACA,wBAAwB,yBAAyB,YAAY;AAAA,QAC7D;AAAA,MACD,CAAA;AAAA,IACH;AAAA,IACC,GAAG;AAAA,EAAA;AACN;"}
1
+ {"version":3,"file":"TextArea.mjs","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import type { VariantProps } from 'class-variance-authority';\nimport {\n type TextareaHTMLAttributes,\n type DetailedHTMLProps,\n type FC,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { inputVariants } from '../Input';\n\nexport type TextAreaProps = DetailedHTMLProps<\n DetailedHTMLProps<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n HTMLTextAreaElement\n >,\n HTMLTextAreaElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'>;\n\nexport const TextArea: FC<TextAreaProps> = ({\n className,\n variant,\n validationStyleEnabled = false,\n ...props\n}) => (\n <textarea\n className={cn(\n 'resize-none',\n inputVariants({\n variant,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n className,\n })\n )}\n {...props}\n />\n);\n"],"names":[],"mappings":";;;;;;AAmBO,MAAM,WAA8B,CAAC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,GAAG;AACL,MACE;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW;AAAA,MACT;AAAA,MACA,cAAc;AAAA,QACZ;AAAA,QACA,wBAAwB,yBAAyB,YAAY;AAAA,QAC7D;AAAA,MACD,CAAA;AAAA,IACH;AAAA,IACC,GAAG;AAAA,EAAA;AACN;"}
@@ -37,7 +37,7 @@ const components_Flags_Flag = require("./Flags/Flag.cjs");
37
37
  const components_InformationTag_index = require("./InformationTag/index.cjs");
38
38
  const components_Form_FormBase = require("./Form/FormBase.cjs");
39
39
  const components_Form_FormField = require("./Form/FormField.cjs");
40
- const components_Form_layout_FormItemLayout = require("../Form-BpxW17v4.cjs");
40
+ const components_Form_layout_FormItemLayout = require("../Form-DJrUK3mm.cjs");
41
41
  const components_Label_index = require("./Label/index.cjs");
42
42
  const components_Input_Input = require("./Input/Input.cjs");
43
43
  const components_Input_InputPassword = require("./Input/InputPassword.cjs");
@@ -35,7 +35,7 @@ import { Flag } from "./Flags/Flag.mjs";
35
35
  import { InformationTag } from "./InformationTag/index.mjs";
36
36
  import { useForm } from "./Form/FormBase.mjs";
37
37
  import { useFormField } from "./Form/FormField.mjs";
38
- import { F } from "../Form-MjLzPGze.js";
38
+ import { F } from "../Form-CriPBaZk.js";
39
39
  import { Label } from "./Label/index.mjs";
40
40
  import { Input, inputVariants } from "./Input/Input.mjs";
41
41
  import { InputPassword } from "./Input/InputPassword.mjs";