@intlayer/design-system 5.7.8 → 5.8.1-canary.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.
- package/dist/.vite/manifest.json +127 -91
- package/dist/{better-auth.8zoxzg-F-D8e0X4ys.js → better-auth.CMQ3rA-I-7umXOENE.js} +1 -7
- package/dist/better-auth.CMQ3rA-I-7umXOENE.js.map +1 -0
- package/dist/{better-auth.8zoxzg-F-BEBqzpjz.cjs → better-auth.CMQ3rA-I-C2nBKRMa.cjs} +1 -7
- package/dist/better-auth.CMQ3rA-I-C2nBKRMa.cjs.map +1 -0
- package/dist/components/Accordion/Accordion.cjs +2 -2
- package/dist/components/Accordion/Accordion.cjs.map +1 -1
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.mjs +3 -3
- package/dist/components/Accordion/Accordion.mjs.map +1 -1
- package/dist/components/Badge/index.cjs +69 -12
- package/dist/components/Badge/index.cjs.map +1 -1
- package/dist/components/Badge/index.d.ts +18 -2
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.mjs +69 -12
- package/dist/components/Badge/index.mjs.map +1 -1
- package/dist/components/Breadcrumb/index.cjs +4 -5
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts +2 -1
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs +7 -8
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/Button/Button.cjs +95 -40
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.d.ts +42 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.mjs +96 -41
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Button/index.cjs +5 -0
- package/dist/components/Button/index.cjs.map +1 -1
- package/dist/components/Button/index.mjs +7 -2
- package/dist/components/Container/index.cjs +67 -0
- package/dist/components/Container/index.cjs.map +1 -1
- package/dist/components/Container/index.d.ts +53 -0
- package/dist/components/Container/index.d.ts.map +1 -1
- package/dist/components/Container/index.mjs +67 -0
- package/dist/components/Container/index.mjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditor.cjs +3 -1
- package/dist/components/ContentEditor/ContentEditor.cjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditor.d.ts.map +1 -1
- package/dist/components/ContentEditor/ContentEditor.mjs +3 -1
- package/dist/components/ContentEditor/ContentEditor.mjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditorInput.cjs +7 -7
- package/dist/components/ContentEditor/ContentEditorInput.cjs.map +1 -1
- package/dist/components/ContentEditor/ContentEditorInput.d.ts +1 -1
- package/dist/components/ContentEditor/ContentEditorInput.d.ts.map +1 -1
- package/dist/components/ContentEditor/ContentEditorInput.mjs +9 -9
- package/dist/components/ContentEditor/ContentEditorInput.mjs.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.cjs.map +1 -0
- package/dist/components/CopyButton/CopyButton.content.d.ts.map +1 -0
- package/dist/components/CopyButton/CopyButton.content.mjs.map +1 -0
- package/dist/components/CopyButton/index.cjs +4 -5
- package/dist/components/CopyButton/index.cjs.map +1 -1
- package/dist/components/CopyButton/index.d.ts.map +1 -1
- package/dist/components/CopyButton/index.mjs +6 -7
- package/dist/components/CopyButton/index.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs +29 -33
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +32 -36
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +4 -6
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +5 -7
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +2 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +2 -3
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +3 -4
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +5 -5
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +6 -6
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +2 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +3 -24
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +2 -3
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +2 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +3 -4
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +6 -10
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +9 -13
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +8 -9
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +10 -11
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +2 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +1 -2
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +2 -3
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +14 -14
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +16 -16
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +2 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +3 -24
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs +11 -12
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs +13 -14
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs +3 -2
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs +2 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +5 -8
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +7 -10
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +2 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +2 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +1 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +1 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs +11 -2
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.d.ts +7 -2
- package/dist/components/DropDown/index.d.ts.map +1 -1
- package/dist/components/DropDown/index.mjs +12 -3
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldLayout.cjs +9 -9
- package/dist/components/EditableField/EditableFieldLayout.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldLayout.d.ts +1 -1
- package/dist/components/EditableField/EditableFieldLayout.d.ts.map +1 -1
- package/dist/components/EditableField/EditableFieldLayout.mjs +10 -10
- package/dist/components/EditableField/EditableFieldLayout.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.cjs +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.mjs +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.cjs +56 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.cjs.map +1 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +9 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.mjs +56 -0
- package/dist/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs +41 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs.map +1 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts +40 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts.map +1 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs +42 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs.map +1 -0
- package/dist/components/ExpandCollapse/index.cjs +5 -0
- package/dist/components/ExpandCollapse/index.cjs.map +1 -0
- package/dist/components/ExpandCollapse/index.d.ts +2 -0
- package/dist/components/ExpandCollapse/index.d.ts.map +1 -0
- package/dist/components/ExpandCollapse/index.mjs +5 -0
- package/dist/components/ExpandCollapse/index.mjs.map +1 -0
- package/dist/components/Form/FormBase.cjs +1 -1
- package/dist/components/Form/FormBase.mjs +1 -1
- package/dist/components/Form/elements/FormElementWrapper.cjs +2 -2
- package/dist/components/Form/elements/FormElementWrapper.mjs +2 -2
- package/dist/components/IDE/Code.cjs +12 -1
- package/dist/components/IDE/Code.cjs.map +1 -1
- package/dist/components/IDE/Code.d.ts +1 -0
- package/dist/components/IDE/Code.d.ts.map +1 -1
- package/dist/components/IDE/Code.mjs +12 -1
- package/dist/components/IDE/Code.mjs.map +1 -1
- package/dist/components/IDE/CodeBlockClient.cjs +2 -2
- package/dist/components/IDE/CodeBlockClient.cjs.map +1 -1
- package/dist/components/IDE/CodeBlockClient.mjs +2 -2
- package/dist/components/IDE/CodeBlockClient.mjs.map +1 -1
- package/dist/components/IDE/CodeBlockServer.cjs +2 -2
- package/dist/components/IDE/CodeBlockServer.cjs.map +1 -1
- package/dist/components/IDE/CodeBlockServer.mjs +2 -2
- package/dist/components/IDE/CodeBlockServer.mjs.map +1 -1
- package/dist/components/IDE/CodeContext.cjs +1 -1
- package/dist/components/IDE/CodeContext.mjs +1 -1
- package/dist/components/IDE/CopyCode.cjs +2 -3
- package/dist/components/IDE/CopyCode.cjs.map +1 -1
- package/dist/components/IDE/CopyCode.d.ts.map +1 -1
- package/dist/components/IDE/CopyCode.mjs +4 -5
- package/dist/components/IDE/CopyCode.mjs.map +1 -1
- package/dist/components/Input/Checkbox.cjs +21 -0
- package/dist/components/Input/Checkbox.cjs.map +1 -1
- package/dist/components/Input/Checkbox.d.ts +21 -1
- package/dist/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/components/Input/Checkbox.mjs +21 -0
- package/dist/components/Input/Checkbox.mjs.map +1 -1
- package/dist/components/Input/Input.cjs +12 -0
- package/dist/components/Input/Input.cjs.map +1 -1
- package/dist/components/Input/Input.d.ts +13 -2
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.mjs +12 -0
- package/dist/components/Input/Input.mjs.map +1 -1
- package/dist/components/Input/index.cjs +4 -0
- package/dist/components/Input/index.cjs.map +1 -1
- package/dist/components/Input/index.mjs +6 -2
- package/dist/components/Link/Link.cjs +60 -19
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.d.ts +27 -2
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Link/Link.mjs +60 -19
- package/dist/components/Link/Link.mjs.map +1 -1
- package/dist/components/Link/index.cjs +3 -0
- package/dist/components/Link/index.cjs.map +1 -1
- package/dist/components/Link/index.mjs +4 -1
- package/dist/components/Loader/index.content.d.ts +2 -24
- package/dist/components/Loader/index.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +8 -9
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +11 -12
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +4 -5
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +6 -7
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/components/MarkDownRender/index.cjs +17 -23
- package/dist/components/MarkDownRender/index.cjs.map +1 -1
- package/dist/components/MarkDownRender/index.d.ts.map +1 -1
- package/dist/components/MarkDownRender/index.mjs +18 -24
- package/dist/components/MarkDownRender/index.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs +14 -5
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.d.ts +10 -4
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.mjs +16 -7
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Modal/index.cjs +1 -0
- package/dist/components/Modal/index.cjs.map +1 -1
- package/dist/components/Modal/index.mjs +3 -2
- package/dist/components/Navbar/DesktopNavbar.cjs +2 -2
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs +3 -3
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.cjs +1 -1
- package/dist/components/Navbar/MobileNavbar.mjs +1 -1
- package/dist/components/Navbar/index.cjs +2 -2
- package/dist/components/Navbar/index.cjs.map +1 -1
- package/dist/components/Navbar/index.mjs +2 -2
- package/dist/components/Navbar/index.mjs.map +1 -1
- package/dist/components/Popover/index.cjs +12 -0
- package/dist/components/Popover/index.cjs.map +1 -1
- package/dist/components/Popover/index.d.ts +10 -2
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.mjs +13 -1
- package/dist/components/Popover/index.mjs.map +1 -1
- package/dist/components/RightDrawer/RightDrawer.cjs +5 -5
- package/dist/components/RightDrawer/RightDrawer.cjs.map +1 -1
- package/dist/components/RightDrawer/RightDrawer.mjs +6 -6
- package/dist/components/RightDrawer/RightDrawer.mjs.map +1 -1
- package/dist/components/Select/Multiselect.cjs +1 -1
- package/dist/components/Select/Multiselect.cjs.map +1 -1
- package/dist/components/Select/Multiselect.mjs +2 -2
- package/dist/components/Select/Multiselect.mjs.map +1 -1
- package/dist/components/Select/Select.cjs +12 -1
- package/dist/components/Select/Select.cjs.map +1 -1
- package/dist/components/Select/Select.d.ts +5 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.mjs +12 -1
- package/dist/components/Select/Select.mjs.map +1 -1
- package/dist/components/Select/index.cjs +1 -0
- package/dist/components/Select/index.cjs.map +1 -1
- package/dist/components/Select/index.mjs +2 -1
- package/dist/components/SocialNetworks/index.cjs +1 -1
- package/dist/components/SocialNetworks/index.cjs.map +1 -1
- package/dist/components/SocialNetworks/index.mjs +1 -1
- package/dist/components/SocialNetworks/index.mjs.map +1 -1
- package/dist/components/SwitchSelector/index.cjs +89 -18
- package/dist/components/SwitchSelector/index.cjs.map +1 -1
- package/dist/components/SwitchSelector/index.d.ts +16 -2
- package/dist/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/components/SwitchSelector/index.mjs +90 -19
- package/dist/components/SwitchSelector/index.mjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.cjs +12 -1
- package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.d.ts +12 -1
- package/dist/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/components/TabSelector/TabSelector.mjs +13 -2
- package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/components/TabSelector/index.cjs +1 -0
- package/dist/components/TabSelector/index.cjs.map +1 -1
- package/dist/components/TabSelector/index.d.ts +1 -0
- package/dist/components/TabSelector/index.d.ts.map +1 -1
- package/dist/components/TabSelector/index.mjs +3 -2
- package/dist/components/Table/Table.cjs +58 -0
- package/dist/components/Table/Table.cjs.map +1 -0
- package/dist/components/Table/Table.d.ts +7 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/Table.mjs +58 -0
- package/dist/components/Table/Table.mjs.map +1 -0
- package/dist/components/Table/index.cjs +5 -0
- package/dist/components/Table/index.cjs.map +1 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Table/index.d.ts.map +1 -0
- package/dist/components/Table/index.mjs +5 -0
- package/dist/components/Table/index.mjs.map +1 -0
- package/dist/components/Table/table.content.cjs +24 -0
- package/dist/components/Table/table.content.cjs.map +1 -0
- package/dist/components/Table/table.content.d.ts +40 -0
- package/dist/components/Table/table.content.d.ts.map +1 -0
- package/dist/components/Table/table.content.mjs +25 -0
- package/dist/components/Table/table.content.mjs.map +1 -0
- package/dist/components/Tag/index.cjs +131 -22
- package/dist/components/Tag/index.cjs.map +1 -1
- package/dist/components/Tag/index.d.ts +37 -5
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.mjs +132 -23
- package/dist/components/Tag/index.mjs.map +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.cjs +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.mjs +1 -1
- package/dist/components/TextArea/TextArea.cjs.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts +5 -3
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.mjs.map +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.map +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +2 -2
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
- package/dist/components/index.cjs +36 -0
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.mjs +49 -13
- package/dist/components/index.mjs.map +1 -1
- package/dist/hooks/auth.cjs +2 -2
- package/dist/hooks/auth.cjs.map +1 -1
- package/dist/hooks/auth.mjs +1 -1
- package/dist/hooks/auth.mjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.cjs +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +1 -1
- package/dist/hooks/useAsync/useAsync.cjs +6 -6
- package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.mjs +6 -6
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
- package/dist/hooks/useUser/index.cjs +1 -1
- package/dist/hooks/useUser/index.mjs +1 -1
- package/dist/index-BCuMWKyy.js.map +1 -1
- package/dist/index-BYzBot7l.cjs.map +1 -1
- package/dist/{parse-BJVwmz92.cjs → parse-Ltyyb1op.cjs} +9 -11
- package/dist/parse-Ltyyb1op.cjs.map +1 -0
- package/dist/{parse-pnJgclyf.js → parse-Vrm0h1r9.js} +30 -32
- package/dist/parse-Vrm0h1r9.js.map +1 -0
- package/dist/{schemas-BIuxHDyZ.js → schemas-DEXdAbCK.js} +75 -46
- package/dist/schemas-DEXdAbCK.js.map +1 -0
- package/dist/{schemas-Q6C7ZNs3.cjs → schemas-lh5OFOvX.cjs} +75 -46
- package/dist/schemas-lh5OFOvX.cjs.map +1 -0
- package/dist/{zod-K7y5gPX4.cjs → zod-BvUVjPTw.cjs} +11 -11
- package/dist/zod-BvUVjPTw.cjs.map +1 -0
- package/dist/{zod-D4WapgbL.js → zod-CJrbzxwg.js} +11 -11
- package/dist/zod-CJrbzxwg.js.map +1 -0
- package/package.json +42 -35
- package/dist/better-auth.8zoxzg-F-BEBqzpjz.cjs.map +0 -1
- package/dist/better-auth.8zoxzg-F-D8e0X4ys.js.map +0 -1
- package/dist/components/Headers/SectionScroller.cjs +0 -29
- package/dist/components/Headers/SectionScroller.cjs.map +0 -1
- package/dist/components/Headers/SectionScroller.d.ts +0 -2
- package/dist/components/Headers/SectionScroller.d.ts.map +0 -1
- package/dist/components/Headers/SectionScroller.mjs +0 -29
- package/dist/components/Headers/SectionScroller.mjs.map +0 -1
- package/dist/components/IDE/CopyButton.content.cjs.map +0 -1
- package/dist/components/IDE/CopyButton.content.d.ts.map +0 -1
- package/dist/components/IDE/CopyButton.content.mjs.map +0 -1
- package/dist/parse-BJVwmz92.cjs.map +0 -1
- package/dist/parse-pnJgclyf.js.map +0 -1
- package/dist/schemas-BIuxHDyZ.js.map +0 -1
- package/dist/schemas-Q6C7ZNs3.cjs.map +0 -1
- package/dist/zod-D4WapgbL.js.map +0 -1
- package/dist/zod-K7y5gPX4.cjs.map +0 -1
- /package/dist/components/{IDE → CopyButton}/CopyButton.content.cjs +0 -0
- /package/dist/components/{IDE → CopyButton}/CopyButton.content.d.ts +0 -0
- /package/dist/components/{IDE → CopyButton}/CopyButton.content.mjs +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const tableContent: {
|
|
2
|
+
key: string;
|
|
3
|
+
content: {
|
|
4
|
+
show: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
5
|
+
en: string;
|
|
6
|
+
fr: string;
|
|
7
|
+
es: string;
|
|
8
|
+
'en-GB': string;
|
|
9
|
+
de: string;
|
|
10
|
+
ja: string;
|
|
11
|
+
ko: string;
|
|
12
|
+
zh: string;
|
|
13
|
+
it: string;
|
|
14
|
+
pt: string;
|
|
15
|
+
hi: string;
|
|
16
|
+
ar: string;
|
|
17
|
+
ru: string;
|
|
18
|
+
}, {
|
|
19
|
+
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
20
|
+
} & {
|
|
21
|
+
translation: {
|
|
22
|
+
en: string;
|
|
23
|
+
fr: string;
|
|
24
|
+
es: string;
|
|
25
|
+
'en-GB': string;
|
|
26
|
+
de: string;
|
|
27
|
+
ja: string;
|
|
28
|
+
ko: string;
|
|
29
|
+
zh: string;
|
|
30
|
+
it: string;
|
|
31
|
+
pt: string;
|
|
32
|
+
hi: string;
|
|
33
|
+
ar: string;
|
|
34
|
+
ru: string;
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default tableContent;
|
|
40
|
+
//# sourceMappingURL=table.content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.content.d.ts","sourceRoot":"","sources":["../../../src/components/Table/table.content.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBI,CAAC;AAEvB,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t } from "intlayer";
|
|
2
|
+
const tableContent = {
|
|
3
|
+
key: "table",
|
|
4
|
+
content: {
|
|
5
|
+
show: t({
|
|
6
|
+
en: "Show all table content",
|
|
7
|
+
fr: "Afficher tout le contenu du tableau",
|
|
8
|
+
es: "Mostrar todo el contenido de la tabla",
|
|
9
|
+
"en-GB": "Show all table content",
|
|
10
|
+
de: "Alle Tabellendaten anzeigen",
|
|
11
|
+
ja: "テーブルのすべての内容を表示",
|
|
12
|
+
ko: "테이블의 모든 내용 표시",
|
|
13
|
+
zh: "显示表格的所有内容",
|
|
14
|
+
it: "Mostra tutto il contenuto della tabella",
|
|
15
|
+
pt: "Mostrar todo o conteúdo da tabela",
|
|
16
|
+
hi: "सभी तालिका सामग्री दिखाएं",
|
|
17
|
+
ar: "اظهار جميع محتويات الجدول",
|
|
18
|
+
ru: "Показать все данные таблицы"
|
|
19
|
+
})
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
tableContent as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=table.content.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.content.mjs","sources":["../../../src/components/Table/table.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nconst tableContent = {\n key: 'table',\n content: {\n show: t({\n en: 'Show all table content',\n fr: 'Afficher tout le contenu du tableau',\n es: 'Mostrar todo el contenido de la tabla',\n 'en-GB': 'Show all table content',\n de: 'Alle Tabellendaten anzeigen',\n ja: 'テーブルのすべての内容を表示',\n ko: '테이블의 모든 내용 표시',\n zh: '显示表格的所有内容',\n it: 'Mostra tutto il contenuto della tabella',\n pt: 'Mostrar todo o conteúdo da tabela',\n hi: 'सभी तालिका सामग्री दिखाएं',\n ar: 'اظهار جميع محتويات الجدول',\n ru: 'Показать все данные таблицы',\n }),\n },\n} satisfies Dictionary;\n\nexport default tableContent;\n"],"names":[],"mappings":";AAEA,MAAM,eAAe;AAAA,EACnB,KAAK;AAAA,EACL,SAAS;AAAA,IACP,MAAM,EAAE;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;"}
|
|
@@ -2,39 +2,142 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const classVarianceAuthority = require("class-variance-authority");
|
|
5
|
+
var TagRoundedSize = /* @__PURE__ */ ((TagRoundedSize2) => {
|
|
6
|
+
TagRoundedSize2["NONE"] = "none";
|
|
7
|
+
TagRoundedSize2["SM"] = "sm";
|
|
8
|
+
TagRoundedSize2["MD"] = "md";
|
|
9
|
+
TagRoundedSize2["LG"] = "lg";
|
|
10
|
+
TagRoundedSize2["XL"] = "xl";
|
|
11
|
+
TagRoundedSize2["XXL"] = "2xl";
|
|
12
|
+
TagRoundedSize2["XXXL"] = "3xl";
|
|
13
|
+
TagRoundedSize2["FULL"] = "full";
|
|
14
|
+
return TagRoundedSize2;
|
|
15
|
+
})(TagRoundedSize || {});
|
|
16
|
+
var TagColor = /* @__PURE__ */ ((TagColor2) => {
|
|
17
|
+
TagColor2["SUCCESS"] = "success";
|
|
18
|
+
TagColor2["ERROR"] = "error";
|
|
19
|
+
TagColor2["WARNING"] = "warning";
|
|
20
|
+
TagColor2["NEUTRAL"] = "neutral";
|
|
21
|
+
TagColor2["TEXT"] = "text";
|
|
22
|
+
return TagColor2;
|
|
23
|
+
})(TagColor || {});
|
|
24
|
+
var TagSize = /* @__PURE__ */ ((TagSize2) => {
|
|
25
|
+
TagSize2["XS"] = "xs";
|
|
26
|
+
TagSize2["SM"] = "sm";
|
|
27
|
+
TagSize2["MD"] = "md";
|
|
28
|
+
TagSize2["LG"] = "lg";
|
|
29
|
+
TagSize2["XL"] = "xl";
|
|
30
|
+
return TagSize2;
|
|
31
|
+
})(TagSize || {});
|
|
32
|
+
var TagBorder = /* @__PURE__ */ ((TagBorder2) => {
|
|
33
|
+
TagBorder2["NONE"] = "none";
|
|
34
|
+
TagBorder2["WITH"] = "with";
|
|
35
|
+
return TagBorder2;
|
|
36
|
+
})(TagBorder || {});
|
|
37
|
+
var TagBackground = /* @__PURE__ */ ((TagBackground2) => {
|
|
38
|
+
TagBackground2["NONE"] = "none";
|
|
39
|
+
TagBackground2["WITH"] = "with";
|
|
40
|
+
return TagBackground2;
|
|
41
|
+
})(TagBackground || {});
|
|
5
42
|
const containerVariants = classVarianceAuthority.cva("backdrop-blur w-fit", {
|
|
6
43
|
variants: {
|
|
7
44
|
roundedSize: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
45
|
+
[
|
|
46
|
+
"none"
|
|
47
|
+
/* NONE */
|
|
48
|
+
]: "rounded-none",
|
|
49
|
+
[
|
|
50
|
+
"sm"
|
|
51
|
+
/* SM */
|
|
52
|
+
]: "rounded-sm",
|
|
53
|
+
[
|
|
54
|
+
"md"
|
|
55
|
+
/* MD */
|
|
56
|
+
]: "rounded-md",
|
|
57
|
+
[
|
|
58
|
+
"lg"
|
|
59
|
+
/* LG */
|
|
60
|
+
]: "rounded-lg",
|
|
61
|
+
[
|
|
62
|
+
"xl"
|
|
63
|
+
/* XL */
|
|
64
|
+
]: "rounded-xl",
|
|
65
|
+
[
|
|
66
|
+
"2xl"
|
|
67
|
+
/* XXL */
|
|
68
|
+
]: "rounded-2xl",
|
|
69
|
+
[
|
|
70
|
+
"3xl"
|
|
71
|
+
/* XXXL */
|
|
72
|
+
]: "rounded-3xl",
|
|
73
|
+
[
|
|
74
|
+
"full"
|
|
75
|
+
/* FULL */
|
|
76
|
+
]: "rounded-full"
|
|
16
77
|
},
|
|
17
78
|
color: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
79
|
+
[
|
|
80
|
+
"success"
|
|
81
|
+
/* SUCCESS */
|
|
82
|
+
]: "bg-success/10 border-success text-success ",
|
|
83
|
+
[
|
|
84
|
+
"error"
|
|
85
|
+
/* ERROR */
|
|
86
|
+
]: "bg-error/10 border-error text-error",
|
|
87
|
+
[
|
|
88
|
+
"warning"
|
|
89
|
+
/* WARNING */
|
|
90
|
+
]: "bg-warning/10 border-warning text-warning",
|
|
91
|
+
[
|
|
92
|
+
"neutral"
|
|
93
|
+
/* NEUTRAL */
|
|
94
|
+
]: "bg-neutral/10 /10 border-neutral text-neutral ",
|
|
95
|
+
[
|
|
96
|
+
"text"
|
|
97
|
+
/* TEXT */
|
|
98
|
+
]: "bg-text/10 border-text text-text"
|
|
23
99
|
},
|
|
24
100
|
size: {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
101
|
+
[
|
|
102
|
+
"xs"
|
|
103
|
+
/* XS */
|
|
104
|
+
]: "py-0.5 px-2 text-xs border-[1.2px]",
|
|
105
|
+
[
|
|
106
|
+
"sm"
|
|
107
|
+
/* SM */
|
|
108
|
+
]: "py-0.5 px-2 text-sm border-[1.5px]",
|
|
109
|
+
[
|
|
110
|
+
"md"
|
|
111
|
+
/* MD */
|
|
112
|
+
]: "py-1 px-2 text-base border-2",
|
|
113
|
+
[
|
|
114
|
+
"lg"
|
|
115
|
+
/* LG */
|
|
116
|
+
]: "py-2 px-3 text-lg border-2",
|
|
117
|
+
[
|
|
118
|
+
"xl"
|
|
119
|
+
/* XL */
|
|
120
|
+
]: "py-4 px-5 text-xl border-2"
|
|
30
121
|
},
|
|
31
122
|
border: {
|
|
32
|
-
|
|
33
|
-
|
|
123
|
+
[
|
|
124
|
+
"none"
|
|
125
|
+
/* NONE */
|
|
126
|
+
]: "border-none",
|
|
127
|
+
[
|
|
128
|
+
"with"
|
|
129
|
+
/* WITH */
|
|
130
|
+
]: "border-text border-[1.5px]"
|
|
34
131
|
},
|
|
35
132
|
background: {
|
|
36
|
-
|
|
37
|
-
|
|
133
|
+
[
|
|
134
|
+
"none"
|
|
135
|
+
/* NONE */
|
|
136
|
+
]: "bg-none",
|
|
137
|
+
[
|
|
138
|
+
"with"
|
|
139
|
+
/* WITH */
|
|
140
|
+
]: ""
|
|
38
141
|
}
|
|
39
142
|
},
|
|
40
143
|
defaultVariants: {
|
|
@@ -42,6 +145,7 @@ const containerVariants = classVarianceAuthority.cva("backdrop-blur w-fit", {
|
|
|
42
145
|
border: "none",
|
|
43
146
|
color: "text",
|
|
44
147
|
size: "md"
|
|
148
|
+
/* MD */
|
|
45
149
|
}
|
|
46
150
|
});
|
|
47
151
|
const Tag = ({
|
|
@@ -71,4 +175,9 @@ const Tag = ({
|
|
|
71
175
|
);
|
|
72
176
|
};
|
|
73
177
|
exports.Tag = Tag;
|
|
178
|
+
exports.TagBackground = TagBackground;
|
|
179
|
+
exports.TagBorder = TagBorder;
|
|
180
|
+
exports.TagColor = TagColor;
|
|
181
|
+
exports.TagRoundedSize = TagRoundedSize;
|
|
182
|
+
exports.TagSize = TagSize;
|
|
74
183
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { type VariantProps, cva } from 'class-variance-authority';\nimport type { FC, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { type VariantProps, cva } from 'class-variance-authority';\nimport type { FC, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport enum TagRoundedSize {\n NONE = 'none',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XL = 'xl',\n XXL = '2xl',\n XXXL = '3xl',\n FULL = 'full',\n}\n\nexport enum TagColor {\n SUCCESS = 'success',\n ERROR = 'error',\n WARNING = 'warning',\n NEUTRAL = 'neutral',\n TEXT = 'text',\n}\n\nexport enum TagSize {\n XS = 'xs',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XL = 'xl',\n}\n\nexport enum TagBorder {\n NONE = 'none',\n WITH = 'with',\n}\n\nexport enum TagBackground {\n NONE = 'none',\n WITH = 'with',\n}\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n [TagRoundedSize.NONE]: 'rounded-none',\n [TagRoundedSize.SM]: 'rounded-sm',\n [TagRoundedSize.MD]: 'rounded-md',\n [TagRoundedSize.LG]: 'rounded-lg',\n [TagRoundedSize.XL]: 'rounded-xl',\n [TagRoundedSize.XXL]: 'rounded-2xl',\n [TagRoundedSize.XXXL]: 'rounded-3xl',\n [TagRoundedSize.FULL]: 'rounded-full',\n },\n color: {\n [TagColor.SUCCESS]: 'bg-success/10 border-success text-success ',\n [TagColor.ERROR]: 'bg-error/10 border-error text-error',\n [TagColor.WARNING]: 'bg-warning/10 border-warning text-warning',\n [TagColor.NEUTRAL]: 'bg-neutral/10 /10 border-neutral text-neutral ',\n [TagColor.TEXT]: 'bg-text/10 border-text text-text',\n },\n size: {\n [TagSize.XS]: 'py-0.5 px-2 text-xs border-[1.2px]',\n [TagSize.SM]: 'py-0.5 px-2 text-sm border-[1.5px]',\n [TagSize.MD]: 'py-1 px-2 text-base border-2',\n [TagSize.LG]: 'py-2 px-3 text-lg border-2',\n [TagSize.XL]: 'py-4 px-5 text-xl border-2',\n },\n border: {\n [TagBorder.NONE]: 'border-none',\n [TagBorder.WITH]: 'border-text border-[1.5px]',\n },\n background: {\n [TagBackground.NONE]: 'bg-none',\n [TagBackground.WITH]: '',\n },\n },\n\n defaultVariants: {\n roundedSize: TagRoundedSize.FULL,\n border: TagBorder.NONE,\n color: TagColor.TEXT,\n size: TagSize.MD,\n },\n});\n\nexport const Tag: FC<TagProps> = ({\n children,\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n ...props\n}) => {\n return (\n <div\n className={containerVariants({\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n })}\n {...props}\n >\n {children}\n </div>\n );\n};\n"],"names":["TagRoundedSize","TagColor","TagSize","TagBorder","TagBackground","cva","jsx"],"mappings":"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"}
|
|
@@ -1,12 +1,44 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { FC, HTMLAttributes, PropsWithChildren } from 'react';
|
|
3
3
|
type TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> & HTMLAttributes<HTMLDivElement>;
|
|
4
|
+
export declare enum TagRoundedSize {
|
|
5
|
+
NONE = "none",
|
|
6
|
+
SM = "sm",
|
|
7
|
+
MD = "md",
|
|
8
|
+
LG = "lg",
|
|
9
|
+
XL = "xl",
|
|
10
|
+
XXL = "2xl",
|
|
11
|
+
XXXL = "3xl",
|
|
12
|
+
FULL = "full"
|
|
13
|
+
}
|
|
14
|
+
export declare enum TagColor {
|
|
15
|
+
SUCCESS = "success",
|
|
16
|
+
ERROR = "error",
|
|
17
|
+
WARNING = "warning",
|
|
18
|
+
NEUTRAL = "neutral",
|
|
19
|
+
TEXT = "text"
|
|
20
|
+
}
|
|
21
|
+
export declare enum TagSize {
|
|
22
|
+
XS = "xs",
|
|
23
|
+
SM = "sm",
|
|
24
|
+
MD = "md",
|
|
25
|
+
LG = "lg",
|
|
26
|
+
XL = "xl"
|
|
27
|
+
}
|
|
28
|
+
export declare enum TagBorder {
|
|
29
|
+
NONE = "none",
|
|
30
|
+
WITH = "with"
|
|
31
|
+
}
|
|
32
|
+
export declare enum TagBackground {
|
|
33
|
+
NONE = "none",
|
|
34
|
+
WITH = "with"
|
|
35
|
+
}
|
|
4
36
|
declare const containerVariants: (props?: ({
|
|
5
|
-
roundedSize?:
|
|
6
|
-
color?:
|
|
7
|
-
size?:
|
|
8
|
-
border?:
|
|
9
|
-
background?:
|
|
37
|
+
roundedSize?: TagRoundedSize | null | undefined;
|
|
38
|
+
color?: TagColor | null | undefined;
|
|
39
|
+
size?: TagSize | null | undefined;
|
|
40
|
+
border?: TagBorder | null | undefined;
|
|
41
|
+
background?: TagBackground | null | undefined;
|
|
10
42
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
43
|
export declare const Tag: FC<TagProps>;
|
|
12
44
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnE,KAAK,QAAQ,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,GACvE,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjC,QAAA,MAAM,iBAAiB;;;;;;8EA0CrB,CAAC;AAEH,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAyB5B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnE,KAAK,QAAQ,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,GACvE,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjC,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,IAAI,QAAQ;IACZ,IAAI,SAAS;CACd;AAED,oBAAY,QAAQ;IAClB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,OAAO;IACjB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,oBAAY,aAAa;IACvB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,QAAA,MAAM,iBAAiB;;;;;;8EA0CrB,CAAC;AAEH,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAyB5B,CAAC"}
|
|
@@ -1,38 +1,141 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
+
var TagRoundedSize = /* @__PURE__ */ ((TagRoundedSize2) => {
|
|
4
|
+
TagRoundedSize2["NONE"] = "none";
|
|
5
|
+
TagRoundedSize2["SM"] = "sm";
|
|
6
|
+
TagRoundedSize2["MD"] = "md";
|
|
7
|
+
TagRoundedSize2["LG"] = "lg";
|
|
8
|
+
TagRoundedSize2["XL"] = "xl";
|
|
9
|
+
TagRoundedSize2["XXL"] = "2xl";
|
|
10
|
+
TagRoundedSize2["XXXL"] = "3xl";
|
|
11
|
+
TagRoundedSize2["FULL"] = "full";
|
|
12
|
+
return TagRoundedSize2;
|
|
13
|
+
})(TagRoundedSize || {});
|
|
14
|
+
var TagColor = /* @__PURE__ */ ((TagColor2) => {
|
|
15
|
+
TagColor2["SUCCESS"] = "success";
|
|
16
|
+
TagColor2["ERROR"] = "error";
|
|
17
|
+
TagColor2["WARNING"] = "warning";
|
|
18
|
+
TagColor2["NEUTRAL"] = "neutral";
|
|
19
|
+
TagColor2["TEXT"] = "text";
|
|
20
|
+
return TagColor2;
|
|
21
|
+
})(TagColor || {});
|
|
22
|
+
var TagSize = /* @__PURE__ */ ((TagSize2) => {
|
|
23
|
+
TagSize2["XS"] = "xs";
|
|
24
|
+
TagSize2["SM"] = "sm";
|
|
25
|
+
TagSize2["MD"] = "md";
|
|
26
|
+
TagSize2["LG"] = "lg";
|
|
27
|
+
TagSize2["XL"] = "xl";
|
|
28
|
+
return TagSize2;
|
|
29
|
+
})(TagSize || {});
|
|
30
|
+
var TagBorder = /* @__PURE__ */ ((TagBorder2) => {
|
|
31
|
+
TagBorder2["NONE"] = "none";
|
|
32
|
+
TagBorder2["WITH"] = "with";
|
|
33
|
+
return TagBorder2;
|
|
34
|
+
})(TagBorder || {});
|
|
35
|
+
var TagBackground = /* @__PURE__ */ ((TagBackground2) => {
|
|
36
|
+
TagBackground2["NONE"] = "none";
|
|
37
|
+
TagBackground2["WITH"] = "with";
|
|
38
|
+
return TagBackground2;
|
|
39
|
+
})(TagBackground || {});
|
|
3
40
|
const containerVariants = cva("backdrop-blur w-fit", {
|
|
4
41
|
variants: {
|
|
5
42
|
roundedSize: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
43
|
+
[
|
|
44
|
+
"none"
|
|
45
|
+
/* NONE */
|
|
46
|
+
]: "rounded-none",
|
|
47
|
+
[
|
|
48
|
+
"sm"
|
|
49
|
+
/* SM */
|
|
50
|
+
]: "rounded-sm",
|
|
51
|
+
[
|
|
52
|
+
"md"
|
|
53
|
+
/* MD */
|
|
54
|
+
]: "rounded-md",
|
|
55
|
+
[
|
|
56
|
+
"lg"
|
|
57
|
+
/* LG */
|
|
58
|
+
]: "rounded-lg",
|
|
59
|
+
[
|
|
60
|
+
"xl"
|
|
61
|
+
/* XL */
|
|
62
|
+
]: "rounded-xl",
|
|
63
|
+
[
|
|
64
|
+
"2xl"
|
|
65
|
+
/* XXL */
|
|
66
|
+
]: "rounded-2xl",
|
|
67
|
+
[
|
|
68
|
+
"3xl"
|
|
69
|
+
/* XXXL */
|
|
70
|
+
]: "rounded-3xl",
|
|
71
|
+
[
|
|
72
|
+
"full"
|
|
73
|
+
/* FULL */
|
|
74
|
+
]: "rounded-full"
|
|
14
75
|
},
|
|
15
76
|
color: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
77
|
+
[
|
|
78
|
+
"success"
|
|
79
|
+
/* SUCCESS */
|
|
80
|
+
]: "bg-success/10 border-success text-success ",
|
|
81
|
+
[
|
|
82
|
+
"error"
|
|
83
|
+
/* ERROR */
|
|
84
|
+
]: "bg-error/10 border-error text-error",
|
|
85
|
+
[
|
|
86
|
+
"warning"
|
|
87
|
+
/* WARNING */
|
|
88
|
+
]: "bg-warning/10 border-warning text-warning",
|
|
89
|
+
[
|
|
90
|
+
"neutral"
|
|
91
|
+
/* NEUTRAL */
|
|
92
|
+
]: "bg-neutral/10 /10 border-neutral text-neutral ",
|
|
93
|
+
[
|
|
94
|
+
"text"
|
|
95
|
+
/* TEXT */
|
|
96
|
+
]: "bg-text/10 border-text text-text"
|
|
21
97
|
},
|
|
22
98
|
size: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
99
|
+
[
|
|
100
|
+
"xs"
|
|
101
|
+
/* XS */
|
|
102
|
+
]: "py-0.5 px-2 text-xs border-[1.2px]",
|
|
103
|
+
[
|
|
104
|
+
"sm"
|
|
105
|
+
/* SM */
|
|
106
|
+
]: "py-0.5 px-2 text-sm border-[1.5px]",
|
|
107
|
+
[
|
|
108
|
+
"md"
|
|
109
|
+
/* MD */
|
|
110
|
+
]: "py-1 px-2 text-base border-2",
|
|
111
|
+
[
|
|
112
|
+
"lg"
|
|
113
|
+
/* LG */
|
|
114
|
+
]: "py-2 px-3 text-lg border-2",
|
|
115
|
+
[
|
|
116
|
+
"xl"
|
|
117
|
+
/* XL */
|
|
118
|
+
]: "py-4 px-5 text-xl border-2"
|
|
28
119
|
},
|
|
29
120
|
border: {
|
|
30
|
-
|
|
31
|
-
|
|
121
|
+
[
|
|
122
|
+
"none"
|
|
123
|
+
/* NONE */
|
|
124
|
+
]: "border-none",
|
|
125
|
+
[
|
|
126
|
+
"with"
|
|
127
|
+
/* WITH */
|
|
128
|
+
]: "border-text border-[1.5px]"
|
|
32
129
|
},
|
|
33
130
|
background: {
|
|
34
|
-
|
|
35
|
-
|
|
131
|
+
[
|
|
132
|
+
"none"
|
|
133
|
+
/* NONE */
|
|
134
|
+
]: "bg-none",
|
|
135
|
+
[
|
|
136
|
+
"with"
|
|
137
|
+
/* WITH */
|
|
138
|
+
]: ""
|
|
36
139
|
}
|
|
37
140
|
},
|
|
38
141
|
defaultVariants: {
|
|
@@ -40,6 +143,7 @@ const containerVariants = cva("backdrop-blur w-fit", {
|
|
|
40
143
|
border: "none",
|
|
41
144
|
color: "text",
|
|
42
145
|
size: "md"
|
|
146
|
+
/* MD */
|
|
43
147
|
}
|
|
44
148
|
});
|
|
45
149
|
const Tag = ({
|
|
@@ -69,6 +173,11 @@ const Tag = ({
|
|
|
69
173
|
);
|
|
70
174
|
};
|
|
71
175
|
export {
|
|
72
|
-
Tag
|
|
176
|
+
Tag,
|
|
177
|
+
TagBackground,
|
|
178
|
+
TagBorder,
|
|
179
|
+
TagColor,
|
|
180
|
+
TagRoundedSize,
|
|
181
|
+
TagSize
|
|
73
182
|
};
|
|
74
183
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { type VariantProps, cva } from 'class-variance-authority';\nimport type { FC, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { type VariantProps, cva } from 'class-variance-authority';\nimport type { FC, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport enum TagRoundedSize {\n NONE = 'none',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XL = 'xl',\n XXL = '2xl',\n XXXL = '3xl',\n FULL = 'full',\n}\n\nexport enum TagColor {\n SUCCESS = 'success',\n ERROR = 'error',\n WARNING = 'warning',\n NEUTRAL = 'neutral',\n TEXT = 'text',\n}\n\nexport enum TagSize {\n XS = 'xs',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XL = 'xl',\n}\n\nexport enum TagBorder {\n NONE = 'none',\n WITH = 'with',\n}\n\nexport enum TagBackground {\n NONE = 'none',\n WITH = 'with',\n}\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n [TagRoundedSize.NONE]: 'rounded-none',\n [TagRoundedSize.SM]: 'rounded-sm',\n [TagRoundedSize.MD]: 'rounded-md',\n [TagRoundedSize.LG]: 'rounded-lg',\n [TagRoundedSize.XL]: 'rounded-xl',\n [TagRoundedSize.XXL]: 'rounded-2xl',\n [TagRoundedSize.XXXL]: 'rounded-3xl',\n [TagRoundedSize.FULL]: 'rounded-full',\n },\n color: {\n [TagColor.SUCCESS]: 'bg-success/10 border-success text-success ',\n [TagColor.ERROR]: 'bg-error/10 border-error text-error',\n [TagColor.WARNING]: 'bg-warning/10 border-warning text-warning',\n [TagColor.NEUTRAL]: 'bg-neutral/10 /10 border-neutral text-neutral ',\n [TagColor.TEXT]: 'bg-text/10 border-text text-text',\n },\n size: {\n [TagSize.XS]: 'py-0.5 px-2 text-xs border-[1.2px]',\n [TagSize.SM]: 'py-0.5 px-2 text-sm border-[1.5px]',\n [TagSize.MD]: 'py-1 px-2 text-base border-2',\n [TagSize.LG]: 'py-2 px-3 text-lg border-2',\n [TagSize.XL]: 'py-4 px-5 text-xl border-2',\n },\n border: {\n [TagBorder.NONE]: 'border-none',\n [TagBorder.WITH]: 'border-text border-[1.5px]',\n },\n background: {\n [TagBackground.NONE]: 'bg-none',\n [TagBackground.WITH]: '',\n },\n },\n\n defaultVariants: {\n roundedSize: TagRoundedSize.FULL,\n border: TagBorder.NONE,\n color: TagColor.TEXT,\n size: TagSize.MD,\n },\n});\n\nexport const Tag: FC<TagProps> = ({\n children,\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n ...props\n}) => {\n return (\n <div\n className={containerVariants({\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n })}\n {...props}\n >\n {children}\n </div>\n );\n};\n"],"names":["TagRoundedSize","TagColor","TagSize","TagBorder","TagBackground"],"mappings":"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"}
|
|
@@ -5,7 +5,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
5
5
|
const editorReact = require("@intlayer/editor-react");
|
|
6
6
|
const ReactExports = require("react");
|
|
7
7
|
require("@intlayer/config/built");
|
|
8
|
-
require("../../better-auth.
|
|
8
|
+
require("../../better-auth.CMQ3rA-I-C2nBKRMa.cjs");
|
|
9
9
|
const hooks_intlayerAPIHooks = require("../../hooks/intlayerAPIHooks.cjs");
|
|
10
10
|
require("../../hooks/useAsync/useAsyncStateStore.cjs");
|
|
11
11
|
require("@intlayer/api");
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import { useConfiguration } from "@intlayer/editor-react";
|
|
4
4
|
import { useState, useEffect, useRef } from "react";
|
|
5
5
|
import "@intlayer/config/built";
|
|
6
|
-
import "../../better-auth.
|
|
6
|
+
import "../../better-auth.CMQ3rA-I-7umXOENE.js";
|
|
7
7
|
import { useAutocomplete } from "../../hooks/intlayerAPIHooks.mjs";
|
|
8
8
|
import "../../hooks/useAsync/useAsyncStateStore.mjs";
|
|
9
9
|
import "@intlayer/api";
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"TextArea.cjs","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import type { VariantProps } from 'class-variance-authority';\nimport {\n type DetailedHTMLProps,\n type FC,\n type TextareaHTMLAttributes,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { InputVariant, inputVariants } from '../Input';\n\nexport type TextAreaProps = DetailedHTMLProps<\n DetailedHTMLProps<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n HTMLTextAreaElement\n >,\n HTMLTextAreaElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<\n VariantProps<typeof inputVariants>,\n 'validationStyleEnabled' | 'variant'\n > & {\n variant?: InputVariant | `${InputVariant}`;\n };\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":";;;;;;;;AAwBO,MAAM,WAA8B,CAAC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,GAAG;AACL,MACEA,2BAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,SAAAA;AAAAA,MACT;AAAA,MACAC,qCAAc;AAAA,QACZ;AAAA,QACA,wBAAwB,yBAAyB,YAAY;AAAA,QAC7D;AAAA,MAAA,CACD;AAAA,IAAA;AAAA,IAEF,GAAG;AAAA,EAAA;AACN;;"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import {
|
|
3
|
-
import { inputVariants } from '../Input';
|
|
2
|
+
import { DetailedHTMLProps, FC, TextareaHTMLAttributes } from 'react';
|
|
3
|
+
import { InputVariant, inputVariants } from '../Input';
|
|
4
4
|
export type TextAreaProps = DetailedHTMLProps<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, HTMLTextAreaElement> & {
|
|
5
5
|
validationStyleEnabled?: boolean;
|
|
6
|
-
} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'
|
|
6
|
+
} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled' | 'variant'> & {
|
|
7
|
+
variant?: InputVariant | `${InputVariant}`;
|
|
8
|
+
};
|
|
7
9
|
export declare const TextArea: FC<TextAreaProps>;
|
|
8
10
|
//# 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,
|
|
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,iBAAiB,EACtB,KAAK,EAAE,EACP,KAAK,sBAAsB,EAC5B,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEvD,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,CACJ,YAAY,CAAC,OAAO,aAAa,CAAC,EAClC,wBAAwB,GAAG,SAAS,CACrC,GAAG;IACF,OAAO,CAAC,EAAE,YAAY,GAAG,GAAG,YAAY,EAAE,CAAC;CAC5C,CAAC;AAEJ,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
|
|
1
|
+
{"version":3,"file":"TextArea.mjs","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import type { VariantProps } from 'class-variance-authority';\nimport {\n type DetailedHTMLProps,\n type FC,\n type TextareaHTMLAttributes,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { InputVariant, inputVariants } from '../Input';\n\nexport type TextAreaProps = DetailedHTMLProps<\n DetailedHTMLProps<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n HTMLTextAreaElement\n >,\n HTMLTextAreaElement\n> & {\n validationStyleEnabled?: boolean;\n} & Omit<\n VariantProps<typeof inputVariants>,\n 'validationStyleEnabled' | 'variant'\n > & {\n variant?: InputVariant | `${InputVariant}`;\n };\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":";;;;;;AAwBO,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,MAAA,CACD;AAAA,IAAA;AAAA,IAEF,GAAG;AAAA,EAAA;AACN;"}
|