@caratlogic/design-system 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/molecules/Sidebar/Sidebar.parts.d.ts.map +1 -1
- package/dist/hooks/useIsMobile.d.ts +4 -1
- package/dist/hooks/useIsMobile.d.ts.map +1 -1
- package/dist/index.cjs.js +41 -27
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +41 -27
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/atoms/Avatar/Avatar.accessibility.d.ts +0 -6
- package/dist/components/atoms/Avatar/Avatar.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Avatar/Avatar.d.ts +0 -5
- package/dist/components/atoms/Avatar/Avatar.d.ts.map +0 -1
- package/dist/components/atoms/Avatar/Avatar.hooks.d.ts +0 -8
- package/dist/components/atoms/Avatar/Avatar.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Avatar/Avatar.types.d.ts +0 -23
- package/dist/components/atoms/Avatar/Avatar.types.d.ts.map +0 -1
- package/dist/components/atoms/Avatar/Avatar.utils.d.ts +0 -19
- package/dist/components/atoms/Avatar/Avatar.utils.d.ts.map +0 -1
- package/dist/components/atoms/Avatar/index.d.ts +0 -3
- package/dist/components/atoms/Avatar/index.d.ts.map +0 -1
- package/dist/components/atoms/Card/Card.accessibility.d.ts +0 -4
- package/dist/components/atoms/Card/Card.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Card/Card.d.ts +0 -10
- package/dist/components/atoms/Card/Card.d.ts.map +0 -1
- package/dist/components/atoms/Card/Card.hooks.d.ts +0 -5
- package/dist/components/atoms/Card/Card.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Card/Card.types.d.ts +0 -37
- package/dist/components/atoms/Card/Card.types.d.ts.map +0 -1
- package/dist/components/atoms/Card/Card.utils.d.ts +0 -14
- package/dist/components/atoms/Card/Card.utils.d.ts.map +0 -1
- package/dist/components/atoms/Card/index.d.ts +0 -3
- package/dist/components/atoms/Card/index.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/Checkbox.accessibility.d.ts +0 -4
- package/dist/components/atoms/Checkbox/Checkbox.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +0 -4
- package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/Checkbox.hooks.d.ts +0 -8
- package/dist/components/atoms/Checkbox/Checkbox.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/Checkbox.types.d.ts +0 -29
- package/dist/components/atoms/Checkbox/Checkbox.types.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/Checkbox.utils.d.ts +0 -8
- package/dist/components/atoms/Checkbox/Checkbox.utils.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/index.d.ts +0 -3
- package/dist/components/atoms/Checkbox/index.d.ts.map +0 -1
- package/dist/components/atoms/GradientSwitch/GradientSwitch.accessibility.d.ts +0 -4
- package/dist/components/atoms/GradientSwitch/GradientSwitch.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/GradientSwitch/GradientSwitch.d.ts +0 -4
- package/dist/components/atoms/GradientSwitch/GradientSwitch.d.ts.map +0 -1
- package/dist/components/atoms/GradientSwitch/GradientSwitch.hooks.d.ts +0 -7
- package/dist/components/atoms/GradientSwitch/GradientSwitch.hooks.d.ts.map +0 -1
- package/dist/components/atoms/GradientSwitch/GradientSwitch.types.d.ts +0 -7
- package/dist/components/atoms/GradientSwitch/GradientSwitch.types.d.ts.map +0 -1
- package/dist/components/atoms/GradientSwitch/GradientSwitch.utils.d.ts +0 -3
- package/dist/components/atoms/GradientSwitch/GradientSwitch.utils.d.ts.map +0 -1
- package/dist/components/atoms/GradientSwitch/index.d.ts +0 -3
- package/dist/components/atoms/GradientSwitch/index.d.ts.map +0 -1
- package/dist/components/atoms/OtpInput/OtpInput.accessibility.d.ts +0 -5
- package/dist/components/atoms/OtpInput/OtpInput.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/OtpInput/OtpInput.d.ts +0 -4
- package/dist/components/atoms/OtpInput/OtpInput.d.ts.map +0 -1
- package/dist/components/atoms/OtpInput/OtpInput.hooks.d.ts +0 -6
- package/dist/components/atoms/OtpInput/OtpInput.hooks.d.ts.map +0 -1
- package/dist/components/atoms/OtpInput/OtpInput.types.d.ts +0 -12
- package/dist/components/atoms/OtpInput/OtpInput.types.d.ts.map +0 -1
- package/dist/components/atoms/OtpInput/OtpInput.utils.d.ts +0 -4
- package/dist/components/atoms/OtpInput/OtpInput.utils.d.ts.map +0 -1
- package/dist/components/atoms/OtpInput/index.d.ts +0 -3
- package/dist/components/atoms/OtpInput/index.d.ts.map +0 -1
- package/dist/components/atoms/Progress/Progress.accessibility.d.ts +0 -7
- package/dist/components/atoms/Progress/Progress.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Progress/Progress.d.ts +0 -5
- package/dist/components/atoms/Progress/Progress.d.ts.map +0 -1
- package/dist/components/atoms/Progress/Progress.hooks.d.ts +0 -4
- package/dist/components/atoms/Progress/Progress.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Progress/Progress.types.d.ts +0 -51
- package/dist/components/atoms/Progress/Progress.types.d.ts.map +0 -1
- package/dist/components/atoms/Progress/Progress.utils.d.ts +0 -13
- package/dist/components/atoms/Progress/Progress.utils.d.ts.map +0 -1
- package/dist/components/atoms/Progress/index.d.ts +0 -3
- package/dist/components/atoms/Progress/index.d.ts.map +0 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.accessibility.d.ts +0 -4
- package/dist/components/atoms/RadioGroup/RadioGroup.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.d.ts +0 -45
- package/dist/components/atoms/RadioGroup/RadioGroup.d.ts.map +0 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.hooks.d.ts +0 -8
- package/dist/components/atoms/RadioGroup/RadioGroup.hooks.d.ts.map +0 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.types.d.ts +0 -47
- package/dist/components/atoms/RadioGroup/RadioGroup.types.d.ts.map +0 -1
- package/dist/components/atoms/RadioGroup/RadioGroup.utils.d.ts +0 -21
- package/dist/components/atoms/RadioGroup/RadioGroup.utils.d.ts.map +0 -1
- package/dist/components/atoms/RadioGroup/index.d.ts +0 -4
- package/dist/components/atoms/RadioGroup/index.d.ts.map +0 -1
- package/dist/components/atoms/Rating/Rating.accessibility.d.ts +0 -10
- package/dist/components/atoms/Rating/Rating.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Rating/Rating.d.ts +0 -7
- package/dist/components/atoms/Rating/Rating.d.ts.map +0 -1
- package/dist/components/atoms/Rating/Rating.hooks.d.ts +0 -28
- package/dist/components/atoms/Rating/Rating.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Rating/Rating.types.d.ts +0 -44
- package/dist/components/atoms/Rating/Rating.types.d.ts.map +0 -1
- package/dist/components/atoms/Rating/Rating.utils.d.ts +0 -16
- package/dist/components/atoms/Rating/Rating.utils.d.ts.map +0 -1
- package/dist/components/atoms/Rating/index.d.ts +0 -3
- package/dist/components/atoms/Rating/index.d.ts.map +0 -1
- package/dist/components/atoms/Select/Select.accessibility.d.ts +0 -3
- package/dist/components/atoms/Select/Select.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Select/Select.d.ts +0 -3
- package/dist/components/atoms/Select/Select.d.ts.map +0 -1
- package/dist/components/atoms/Select/Select.hooks.d.ts +0 -9
- package/dist/components/atoms/Select/Select.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Select/Select.types.d.ts +0 -51
- package/dist/components/atoms/Select/Select.types.d.ts.map +0 -1
- package/dist/components/atoms/Select/Select.utils.d.ts +0 -6
- package/dist/components/atoms/Select/Select.utils.d.ts.map +0 -1
- package/dist/components/atoms/Select/index.d.ts +0 -3
- package/dist/components/atoms/Select/index.d.ts.map +0 -1
- package/dist/components/atoms/Skeleton/Skeleton.accessibility.d.ts +0 -7
- package/dist/components/atoms/Skeleton/Skeleton.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Skeleton/Skeleton.d.ts +0 -5
- package/dist/components/atoms/Skeleton/Skeleton.d.ts.map +0 -1
- package/dist/components/atoms/Skeleton/Skeleton.hooks.d.ts +0 -3
- package/dist/components/atoms/Skeleton/Skeleton.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Skeleton/Skeleton.types.d.ts +0 -32
- package/dist/components/atoms/Skeleton/Skeleton.types.d.ts.map +0 -1
- package/dist/components/atoms/Skeleton/Skeleton.utils.d.ts +0 -7
- package/dist/components/atoms/Skeleton/Skeleton.utils.d.ts.map +0 -1
- package/dist/components/atoms/StepItem/StepItem.accessibility.d.ts +0 -6
- package/dist/components/atoms/StepItem/StepItem.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/StepItem/StepItem.d.ts +0 -4
- package/dist/components/atoms/StepItem/StepItem.d.ts.map +0 -1
- package/dist/components/atoms/StepItem/StepItem.hooks.d.ts +0 -3
- package/dist/components/atoms/StepItem/StepItem.hooks.d.ts.map +0 -1
- package/dist/components/atoms/StepItem/StepItem.types.d.ts +0 -32
- package/dist/components/atoms/StepItem/StepItem.types.d.ts.map +0 -1
- package/dist/components/atoms/StepItem/StepItem.utils.d.ts +0 -12
- package/dist/components/atoms/StepItem/StepItem.utils.d.ts.map +0 -1
- package/dist/components/atoms/StepItem/index.d.ts +0 -4
- package/dist/components/atoms/StepItem/index.d.ts.map +0 -1
- package/dist/components/atoms/Switch/Switch.accessibility.d.ts +0 -4
- package/dist/components/atoms/Switch/Switch.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Switch/Switch.d.ts +0 -4
- package/dist/components/atoms/Switch/Switch.d.ts.map +0 -1
- package/dist/components/atoms/Switch/Switch.hooks.d.ts +0 -11
- package/dist/components/atoms/Switch/Switch.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Switch/Switch.types.d.ts +0 -22
- package/dist/components/atoms/Switch/Switch.types.d.ts.map +0 -1
- package/dist/components/atoms/Switch/Switch.utils.d.ts +0 -16
- package/dist/components/atoms/Switch/Switch.utils.d.ts.map +0 -1
- package/dist/components/atoms/Switch/index.d.ts +0 -4
- package/dist/components/atoms/Switch/index.d.ts.map +0 -1
- package/dist/components/atoms/TableCell/TableCell.accessibility.d.ts +0 -4
- package/dist/components/atoms/TableCell/TableCell.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/TableCell/TableCell.d.ts +0 -3
- package/dist/components/atoms/TableCell/TableCell.d.ts.map +0 -1
- package/dist/components/atoms/TableCell/TableCell.hooks.d.ts +0 -14
- package/dist/components/atoms/TableCell/TableCell.hooks.d.ts.map +0 -1
- package/dist/components/atoms/TableCell/TableCell.types.d.ts +0 -27
- package/dist/components/atoms/TableCell/TableCell.types.d.ts.map +0 -1
- package/dist/components/atoms/TableCell/TableCell.utils.d.ts +0 -14
- package/dist/components/atoms/TableCell/TableCell.utils.d.ts.map +0 -1
- package/dist/components/atoms/TableCell/index.d.ts +0 -4
- package/dist/components/atoms/TableCell/index.d.ts.map +0 -1
- package/dist/components/atoms/Tabs/Tabs.accessibility.d.ts +0 -10
- package/dist/components/atoms/Tabs/Tabs.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/TextInput.accessibility.d.ts +0 -5
- package/dist/components/atoms/TextInput/TextInput.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts +0 -4
- package/dist/components/atoms/TextInput/TextInput.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/TextInput.hooks.d.ts +0 -7
- package/dist/components/atoms/TextInput/TextInput.hooks.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/TextInput.types.d.ts +0 -11
- package/dist/components/atoms/TextInput/TextInput.types.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/TextInput.utils.d.ts +0 -6
- package/dist/components/atoms/TextInput/TextInput.utils.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/index.d.ts +0 -3
- package/dist/components/atoms/TextInput/index.d.ts.map +0 -1
- package/dist/components/atoms/Textarea/Textarea.accessibility.d.ts +0 -3
- package/dist/components/atoms/Textarea/Textarea.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Textarea/Textarea.d.ts +0 -3
- package/dist/components/atoms/Textarea/Textarea.d.ts.map +0 -1
- package/dist/components/atoms/Textarea/Textarea.hooks.d.ts +0 -5
- package/dist/components/atoms/Textarea/Textarea.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Textarea/Textarea.types.d.ts +0 -10
- package/dist/components/atoms/Textarea/Textarea.types.d.ts.map +0 -1
- package/dist/components/atoms/Textarea/Textarea.utils.d.ts +0 -6
- package/dist/components/atoms/Textarea/Textarea.utils.d.ts.map +0 -1
- package/dist/components/atoms/Textarea/index.d.ts +0 -3
- package/dist/components/atoms/Textarea/index.d.ts.map +0 -1
- package/dist/components/atoms/Tooltip/Tooltip.accessibility.d.ts +0 -6
- package/dist/components/atoms/Tooltip/Tooltip.accessibility.d.ts.map +0 -1
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +0 -6
- package/dist/components/atoms/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/components/atoms/Tooltip/Tooltip.hooks.d.ts +0 -3
- package/dist/components/atoms/Tooltip/Tooltip.hooks.d.ts.map +0 -1
- package/dist/components/atoms/Tooltip/Tooltip.types.d.ts +0 -45
- package/dist/components/atoms/Tooltip/Tooltip.types.d.ts.map +0 -1
- package/dist/components/atoms/Tooltip/Tooltip.utils.d.ts +0 -15
- package/dist/components/atoms/Tooltip/Tooltip.utils.d.ts.map +0 -1
- package/dist/components/atoms/Tooltip/index.d.ts +0 -4
- package/dist/components/atoms/Tooltip/index.d.ts.map +0 -1
- package/dist/components/molecules/AlertDialog/AlertDialog.accessibility.d.ts +0 -5
- package/dist/components/molecules/AlertDialog/AlertDialog.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/AlertDialog/AlertDialog.d.ts +0 -7
- package/dist/components/molecules/AlertDialog/AlertDialog.d.ts.map +0 -1
- package/dist/components/molecules/AlertDialog/AlertDialog.hooks.d.ts +0 -11
- package/dist/components/molecules/AlertDialog/AlertDialog.hooks.d.ts.map +0 -1
- package/dist/components/molecules/AlertDialog/AlertDialog.types.d.ts +0 -18
- package/dist/components/molecules/AlertDialog/AlertDialog.types.d.ts.map +0 -1
- package/dist/components/molecules/AlertDialog/AlertDialog.utils.d.ts +0 -8
- package/dist/components/molecules/AlertDialog/AlertDialog.utils.d.ts.map +0 -1
- package/dist/components/molecules/AlertDialog/index.d.ts +0 -4
- package/dist/components/molecules/AlertDialog/index.d.ts.map +0 -1
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.accessibility.d.ts +0 -7
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +0 -4
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.hooks.d.ts +0 -3
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.hooks.d.ts.map +0 -1
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.types.d.ts +0 -28
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.types.d.ts.map +0 -1
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.utils.d.ts +0 -7
- package/dist/components/molecules/Breadcrumbs/Breadcrumbs.utils.d.ts.map +0 -1
- package/dist/components/molecules/Breadcrumbs/index.d.ts +0 -3
- package/dist/components/molecules/Breadcrumbs/index.d.ts.map +0 -1
- package/dist/components/molecules/Carousel/Carousel.accessibility.d.ts +0 -5
- package/dist/components/molecules/Carousel/Carousel.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Carousel/Carousel.d.ts +0 -5
- package/dist/components/molecules/Carousel/Carousel.d.ts.map +0 -1
- package/dist/components/molecules/Carousel/Carousel.hooks.d.ts +0 -9
- package/dist/components/molecules/Carousel/Carousel.hooks.d.ts.map +0 -1
- package/dist/components/molecules/Carousel/Carousel.types.d.ts +0 -15
- package/dist/components/molecules/Carousel/Carousel.types.d.ts.map +0 -1
- package/dist/components/molecules/Carousel/Carousel.utils.d.ts +0 -7
- package/dist/components/molecules/Carousel/Carousel.utils.d.ts.map +0 -1
- package/dist/components/molecules/Carousel/index.d.ts +0 -4
- package/dist/components/molecules/Carousel/index.d.ts.map +0 -1
- package/dist/components/molecules/Collapsible/Collapsible.accessibility.d.ts +0 -4
- package/dist/components/molecules/Collapsible/Collapsible.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Collapsible/Collapsible.d.ts +0 -9
- package/dist/components/molecules/Collapsible/Collapsible.d.ts.map +0 -1
- package/dist/components/molecules/Collapsible/Collapsible.hooks.d.ts +0 -8
- package/dist/components/molecules/Collapsible/Collapsible.hooks.d.ts.map +0 -1
- package/dist/components/molecules/Collapsible/Collapsible.types.d.ts +0 -21
- package/dist/components/molecules/Collapsible/Collapsible.types.d.ts.map +0 -1
- package/dist/components/molecules/Collapsible/Collapsible.utils.d.ts +0 -3
- package/dist/components/molecules/Collapsible/Collapsible.utils.d.ts.map +0 -1
- package/dist/components/molecules/Collapsible/index.d.ts +0 -4
- package/dist/components/molecules/Collapsible/index.d.ts.map +0 -1
- package/dist/components/molecules/Command/Command.accessibility.d.ts +0 -4
- package/dist/components/molecules/Command/Command.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Command/Command.d.ts +0 -21
- package/dist/components/molecules/Command/Command.d.ts.map +0 -1
- package/dist/components/molecules/Command/Command.hooks.d.ts +0 -13
- package/dist/components/molecules/Command/Command.hooks.d.ts.map +0 -1
- package/dist/components/molecules/Command/Command.types.d.ts +0 -17
- package/dist/components/molecules/Command/Command.types.d.ts.map +0 -1
- package/dist/components/molecules/Command/Command.utils.d.ts +0 -3
- package/dist/components/molecules/Command/Command.utils.d.ts.map +0 -1
- package/dist/components/molecules/Command/index.d.ts +0 -4
- package/dist/components/molecules/Command/index.d.ts.map +0 -1
- package/dist/components/molecules/DropdownMenu/DropdownMenu.accessibility.d.ts +0 -4
- package/dist/components/molecules/DropdownMenu/DropdownMenu.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Form/Form.accessibility.d.ts +0 -5
- package/dist/components/molecules/Form/Form.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Form/Form.d.ts +0 -7
- package/dist/components/molecules/Form/Form.d.ts.map +0 -1
- package/dist/components/molecules/Form/Form.fields.d.ts +0 -10
- package/dist/components/molecules/Form/Form.fields.d.ts.map +0 -1
- package/dist/components/molecules/Form/Form.hooks.d.ts +0 -8
- package/dist/components/molecules/Form/Form.hooks.d.ts.map +0 -1
- package/dist/components/molecules/Form/Form.layout.d.ts +0 -7
- package/dist/components/molecules/Form/Form.layout.d.ts.map +0 -1
- package/dist/components/molecules/Form/Form.types.d.ts +0 -83
- package/dist/components/molecules/Form/Form.types.d.ts.map +0 -1
- package/dist/components/molecules/Form/Form.utils.d.ts +0 -13
- package/dist/components/molecules/Form/Form.utils.d.ts.map +0 -1
- package/dist/components/molecules/Form/index.d.ts +0 -8
- package/dist/components/molecules/Form/index.d.ts.map +0 -1
- package/dist/components/molecules/Sidebar/Sidebar.accessibility.d.ts +0 -9
- package/dist/components/molecules/Sidebar/Sidebar.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Steps/Steps.accessibility.d.ts +0 -6
- package/dist/components/molecules/Steps/Steps.accessibility.d.ts.map +0 -1
- package/dist/components/molecules/Steps/Steps.d.ts +0 -4
- package/dist/components/molecules/Steps/Steps.d.ts.map +0 -1
- package/dist/components/molecules/Steps/Steps.hooks.d.ts +0 -3
- package/dist/components/molecules/Steps/Steps.hooks.d.ts.map +0 -1
- package/dist/components/molecules/Steps/Steps.types.d.ts +0 -33
- package/dist/components/molecules/Steps/Steps.types.d.ts.map +0 -1
- package/dist/components/molecules/Steps/Steps.utils.d.ts +0 -6
- package/dist/components/molecules/Steps/Steps.utils.d.ts.map +0 -1
- package/dist/components/molecules/Steps/index.d.ts +0 -4
- package/dist/components/molecules/Steps/index.d.ts.map +0 -1
- package/dist/components/organisms/Accordion/Accordion.accessibility.d.ts +0 -4
- package/dist/components/organisms/Accordion/Accordion.accessibility.d.ts.map +0 -1
- package/dist/components/organisms/Accordion/Accordion.d.ts +0 -7
- package/dist/components/organisms/Accordion/Accordion.d.ts.map +0 -1
- package/dist/components/organisms/Accordion/Accordion.hooks.d.ts +0 -4
- package/dist/components/organisms/Accordion/Accordion.hooks.d.ts.map +0 -1
- package/dist/components/organisms/Accordion/Accordion.types.d.ts +0 -81
- package/dist/components/organisms/Accordion/Accordion.types.d.ts.map +0 -1
- package/dist/components/organisms/Accordion/Accordion.utils.d.ts +0 -26
- package/dist/components/organisms/Accordion/Accordion.utils.d.ts.map +0 -1
- package/dist/components/organisms/Accordion/index.d.ts +0 -4
- package/dist/components/organisms/Accordion/index.d.ts.map +0 -1
- package/dist/components/organisms/Dialog/Dialog.accessibility.d.ts +0 -5
- package/dist/components/organisms/Dialog/Dialog.accessibility.d.ts.map +0 -1
- package/dist/components/organisms/Dialog/Dialog.d.ts +0 -19
- package/dist/components/organisms/Dialog/Dialog.d.ts.map +0 -1
- package/dist/components/organisms/Dialog/Dialog.hooks.d.ts +0 -9
- package/dist/components/organisms/Dialog/Dialog.hooks.d.ts.map +0 -1
- package/dist/components/organisms/Dialog/Dialog.types.d.ts +0 -76
- package/dist/components/organisms/Dialog/Dialog.types.d.ts.map +0 -1
- package/dist/components/organisms/Dialog/Dialog.utils.d.ts +0 -27
- package/dist/components/organisms/Dialog/Dialog.utils.d.ts.map +0 -1
- package/dist/components/organisms/Dialog/index.d.ts +0 -4
- package/dist/components/organisms/Dialog/index.d.ts.map +0 -1
- package/dist/components/organisms/Table/Table.accessibility.d.ts +0 -9
- package/dist/components/organisms/Table/Table.accessibility.d.ts.map +0 -1
- package/dist/components/organisms/Table/Table.d.ts +0 -18
- package/dist/components/organisms/Table/Table.d.ts.map +0 -1
- package/dist/components/organisms/Table/Table.hooks.d.ts +0 -28
- package/dist/components/organisms/Table/Table.hooks.d.ts.map +0 -1
- package/dist/components/organisms/Table/Table.types.d.ts +0 -130
- package/dist/components/organisms/Table/Table.types.d.ts.map +0 -1
- package/dist/components/organisms/Table/Table.utils.d.ts +0 -22
- package/dist/components/organisms/Table/Table.utils.d.ts.map +0 -1
- package/dist/components/organisms/Table/index.d.ts +0 -4
- package/dist/components/organisms/Table/index.d.ts.map +0 -1
- package/dist/components/ui/accordion.d.ts +0 -9
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.d.ts +0 -15
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/avatar.d.ts +0 -7
- package/dist/components/ui/avatar.d.ts.map +0 -1
- package/dist/components/ui/carousel.d.ts +0 -29
- package/dist/components/ui/carousel.d.ts.map +0 -1
- package/dist/components/ui/collapsible.d.ts +0 -7
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -25
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/form.d.ts +0 -25
- package/dist/components/ui/form.d.ts.map +0 -1
- package/dist/components/ui/input-otp.d.ts +0 -31
- package/dist/components/ui/input-otp.d.ts.map +0 -1
- package/dist/components/ui/pagination.d.ts +0 -29
- package/dist/components/ui/pagination.d.ts.map +0 -1
- package/dist/components/ui/progress.d.ts +0 -5
- package/dist/components/ui/progress.d.ts.map +0 -1
- package/dist/components/ui/radio-group.d.ts +0 -12
- package/dist/components/ui/radio-group.d.ts.map +0 -1
- package/dist/components/ui/sidebar.d.ts +0 -75
- package/dist/components/ui/sidebar.d.ts.map +0 -1
- package/dist/components/ui/skeleton.d.ts +0 -4
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/slider.d.ts +0 -9
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/table.d.ts +0 -11
- package/dist/components/ui/table.d.ts.map +0 -1
- package/dist/components/ui/tabs.d.ts +0 -8
- package/dist/components/ui/tabs.d.ts.map +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export type BreadcrumbSeparator = 'chevron-right' | 'slash';
|
|
3
|
-
export type BreadcrumbItemStyle = 'link' | 'badge' | 'outline-badge';
|
|
4
|
-
export interface BreadcrumbDropdownItem {
|
|
5
|
-
label: string;
|
|
6
|
-
href: string;
|
|
7
|
-
}
|
|
8
|
-
export interface BreadcrumbItemDef {
|
|
9
|
-
label: string;
|
|
10
|
-
href?: string;
|
|
11
|
-
icon?: ReactNode;
|
|
12
|
-
isCurrent?: boolean;
|
|
13
|
-
style?: BreadcrumbItemStyle;
|
|
14
|
-
dropdownItems?: BreadcrumbDropdownItem[];
|
|
15
|
-
}
|
|
16
|
-
export interface BreadcrumbsProps {
|
|
17
|
-
items: BreadcrumbItemDef[];
|
|
18
|
-
separator?: BreadcrumbSeparator;
|
|
19
|
-
itemStyle?: BreadcrumbItemStyle;
|
|
20
|
-
withRing?: boolean;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface BreadcrumbsState {
|
|
24
|
-
openDropdownIndex: number | null;
|
|
25
|
-
toggleDropdown: (index: number, e: React.MouseEvent) => void;
|
|
26
|
-
closeDropdown: () => void;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=Breadcrumbs.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Breadcrumbs/Breadcrumbs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,OAAO,CAAC;AAC5D,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,CAAC;AAErE,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,aAAa,CAAC,EAAE,sBAAsB,EAAE,CAAC;CAC1C;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC7D,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { BreadcrumbItemStyle } from './Breadcrumbs.types';
|
|
2
|
-
export declare const breadcrumbItemVariants: (props?: ({
|
|
3
|
-
style?: "link" | "badge" | "outline-badge" | null | undefined;
|
|
4
|
-
isCurrent?: boolean | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
|
-
export declare const resolveItemStyle: (itemStyle: BreadcrumbItemStyle | undefined, defaultStyle: BreadcrumbItemStyle) => BreadcrumbItemStyle;
|
|
7
|
-
//# sourceMappingURL=Breadcrumbs.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Breadcrumbs/Breadcrumbs.utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,eAAO,MAAM,sBAAsB;;;mFAsClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,WAAW,mBAAmB,GAAG,SAAS,EAC1C,cAAc,mBAAmB,KAChC,mBAAgD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Breadcrumbs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/Carousel.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;CAGf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAYhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiCzE,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAc9C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkBtC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { CarouselSlidesPerView } from './Carousel.types';
|
|
3
|
-
interface CarouselVariantContextValue {
|
|
4
|
-
slidesPerView: CarouselSlidesPerView;
|
|
5
|
-
}
|
|
6
|
-
export declare const CarouselVariantContext: React.Context<CarouselVariantContextValue>;
|
|
7
|
-
export declare const useCarouselVariant: () => CarouselVariantContextValue;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=Carousel.hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/Carousel.hooks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAE9D,UAAU,2BAA2B;IACnC,aAAa,EAAE,qBAAqB,CAAC;CACtC;AAED,eAAO,MAAM,sBAAsB,4CAG/B,CAAC;AAEL,eAAO,MAAM,kBAAkB,QAAO,2BACI,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { CarouselApi } from '../../ui/carousel';
|
|
3
|
-
export type CarouselSlidesPerView = 'single' | 'two' | 'three';
|
|
4
|
-
export interface CarouselProps {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
slidesPerView?: CarouselSlidesPerView;
|
|
7
|
-
loop?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
setApi?: (api: CarouselApi) => void;
|
|
10
|
-
}
|
|
11
|
-
export interface CarouselItemProps {
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=Carousel.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/Carousel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;CACrC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
-
export declare const carouselItemVariants: (props?: ({
|
|
3
|
-
slidesPerView?: "single" | "two" | "three" | null | undefined;
|
|
4
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
5
|
-
export type CarouselItemVariantProps = VariantProps<typeof carouselItemVariants>;
|
|
6
|
-
export declare const carouselNavButtonClass = "flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-border bg-background shadow-xs transition-colors hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2";
|
|
7
|
-
//# sourceMappingURL=Carousel.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/Carousel.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,oBAAoB;;mFAS/B,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,YAAY,CACjD,OAAO,oBAAoB,CAC5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,uSACmQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,YAAY,EACV,iBAAiB,EACjB,aAAa,EACb,qBAAqB,GACtB,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Collapsible/Collapsible.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;CAElB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps } from './Collapsible.types';
|
|
2
|
-
export declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
/**
|
|
4
|
-
* Default trigger renders a 36px chevrons-up-down icon button. When passed
|
|
5
|
-
* `asChild`, defers to the consumer-supplied element entirely.
|
|
6
|
-
*/
|
|
7
|
-
export declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
export declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
//# sourceMappingURL=Collapsible.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Collapsible/Collapsible.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,WAAW,6GAKtB,CAAC;AAGH;;;GAGG;AACH,eAAO,MAAM,kBAAkB,uHA2B7B,CAAC;AAGH,eAAO,MAAM,kBAAkB,oHAW7B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { UseCollapsibleResult } from './Collapsible.types';
|
|
2
|
-
/**
|
|
3
|
-
* Tiny controlled-open helper. Radix Collapsible already handles open state
|
|
4
|
-
* internally, so this hook is purely for consumers who need to mirror the
|
|
5
|
-
* open state into their own component tree.
|
|
6
|
-
*/
|
|
7
|
-
export declare const useCollapsible: (defaultOpen?: boolean, onChange?: (open: boolean) => void) => UseCollapsibleResult;
|
|
8
|
-
//# sourceMappingURL=Collapsible.hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Collapsible/Collapsible.hooks.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,cAAc,GACzB,qBAAmB,EACnB,WAAW,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,KACjC,oBAoBF,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import type * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
3
|
-
export interface CollapsibleProps extends React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root> {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface CollapsibleTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
|
-
/** Forward children unchanged to the underlying button (Radix `asChild`). */
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export interface CollapsibleContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
13
|
-
className?: string;
|
|
14
|
-
children: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export interface UseCollapsibleResult {
|
|
17
|
-
open: boolean;
|
|
18
|
-
setOpen: (open: boolean) => void;
|
|
19
|
-
toggle: () => void;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=Collapsible.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Collapsible/Collapsible.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,KAAK,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAEzE,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,wBAAwB,CACtE,OAAO,oBAAoB,CAAC,IAAI,CACjC;IACC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IACtF,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Collapsible/Collapsible.utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,yFAStC,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAKzB,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger, } from './Collapsible';
|
|
2
|
-
export { useCollapsible } from './Collapsible.hooks';
|
|
3
|
-
export type { CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps, UseCollapsibleResult, } from './Collapsible.types';
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Collapsible/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EACV,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Command.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Command/Command.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;CAEd,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { CommandInputProps } from './Command.types';
|
|
2
|
-
export declare const Command: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
} & Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | "key"> & {
|
|
5
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
6
|
-
} & {
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
}, keyof import("react").HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
|
|
9
|
-
label?: string;
|
|
10
|
-
shouldFilter?: boolean;
|
|
11
|
-
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
12
|
-
defaultValue?: string;
|
|
13
|
-
value?: string;
|
|
14
|
-
onValueChange?: (value: string) => void;
|
|
15
|
-
loop?: boolean;
|
|
16
|
-
disablePointerSelection?: boolean;
|
|
17
|
-
vimBindings?: boolean;
|
|
18
|
-
} & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
-
export declare const CommandInput: import("react").ForwardRefExoticComponent<CommandInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
20
|
-
export { CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, } from '../../ui/command';
|
|
21
|
-
//# sourceMappingURL=Command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Command/Command.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,iBAAiB,CAAC;AAGvE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;kKASlB,CAAC;AAGH,eAAO,MAAM,YAAY,gHAkDxB,CAAC;AAGF,OAAO,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface UseCommandInputArgs {
|
|
2
|
-
value?: string;
|
|
3
|
-
defaultValue?: string;
|
|
4
|
-
onValueChange?: (value: string) => void;
|
|
5
|
-
onClear?: () => void;
|
|
6
|
-
}
|
|
7
|
-
export interface UseCommandInputReturn {
|
|
8
|
-
value: string;
|
|
9
|
-
setValue: (next: string) => void;
|
|
10
|
-
clear: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const useCommandInput: ({ value, defaultValue, onValueChange, onClear, }: UseCommandInputArgs) => UseCommandInputReturn;
|
|
13
|
-
//# sourceMappingURL=Command.hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Command.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Command/Command.hooks.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,GAAI,kDAK7B,mBAAmB,KAAG,qBAqBxB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import type { Command as CommandPrimitive, CommandInput as CommandInputPrimitive, CommandList as CommandListPrimitive, CommandEmpty as CommandEmptyPrimitive, CommandGroup as CommandGroupPrimitive, CommandItem as CommandItemPrimitive, CommandSeparator as CommandSeparatorPrimitive } from '../../ui/command';
|
|
3
|
-
export type CommandProps = ComponentPropsWithoutRef<typeof CommandPrimitive>;
|
|
4
|
-
export interface CommandInputProps extends Omit<ComponentPropsWithoutRef<typeof CommandInputPrimitive>, 'onChange'> {
|
|
5
|
-
value?: string;
|
|
6
|
-
defaultValue?: string;
|
|
7
|
-
onValueChange?: (value: string) => void;
|
|
8
|
-
onClear?: () => void;
|
|
9
|
-
showClear?: boolean;
|
|
10
|
-
clearLabel?: string;
|
|
11
|
-
}
|
|
12
|
-
export type CommandListProps = ComponentPropsWithoutRef<typeof CommandListPrimitive>;
|
|
13
|
-
export type CommandEmptyProps = ComponentPropsWithoutRef<typeof CommandEmptyPrimitive>;
|
|
14
|
-
export type CommandGroupProps = ComponentPropsWithoutRef<typeof CommandGroupPrimitive>;
|
|
15
|
-
export type CommandItemProps = ComponentPropsWithoutRef<typeof CommandItemPrimitive>;
|
|
16
|
-
export type CommandSeparatorProps = ComponentPropsWithoutRef<typeof CommandSeparatorPrimitive>;
|
|
17
|
-
//# sourceMappingURL=Command.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Command.types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Command/Command.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EACV,OAAO,IAAI,gBAAgB,EAC3B,YAAY,IAAI,qBAAqB,EACrC,WAAW,IAAI,oBAAoB,EACnC,YAAY,IAAI,qBAAqB,EACrC,YAAY,IAAI,qBAAqB,EACrC,WAAW,IAAI,oBAAoB,EACnC,gBAAgB,IAAI,yBAAyB,EAC9C,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,YAAY,GAAG,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE7E,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAC7C,wBAAwB,CAAC,OAAO,qBAAqB,CAAC,EACtD,UAAU,CACX;IACC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CACrD,OAAO,oBAAoB,CAC5B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CACtD,OAAO,qBAAqB,CAC7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CACtD,OAAO,qBAAqB,CAC7B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CACrD,OAAO,oBAAoB,CAC5B,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,CAC1D,OAAO,yBAAyB,CACjC,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const commandRootClass = "rounded-lg border border-border bg-popover text-popover-foreground shadow-md";
|
|
2
|
-
export declare const commandClearButtonClass = "ml-2 flex h-5 w-5 shrink-0 items-center justify-center rounded-sm text-muted-foreground transition-opacity hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring";
|
|
3
|
-
//# sourceMappingURL=Command.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Command.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Command/Command.utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,iFACmD,CAAC;AAEjF,eAAO,MAAM,uBAAuB,+MAC0K,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from './Command';
|
|
2
|
-
export { useCommandInput } from './Command.hooks';
|
|
3
|
-
export type { CommandEmptyProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandListProps, CommandProps, CommandSeparatorProps, } from './Command.types';
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Command/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,qBAAqB,GACtB,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/DropdownMenu/DropdownMenu.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;CAEnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/Form.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;CAGX,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ForwardedRef, ReactElement } from 'react';
|
|
2
|
-
import type { FieldValues } from 'react-hook-form';
|
|
3
|
-
import type { FormProps } from './Form.types';
|
|
4
|
-
export declare const Form: <TFieldValues extends FieldValues = FieldValues>(props: FormProps<TFieldValues> & {
|
|
5
|
-
ref?: ForwardedRef<HTMLFormElement>;
|
|
6
|
-
}) => ReactElement;
|
|
7
|
-
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAKnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AA0B9C,eAAO,MAAM,IAAI,EAA4B,CAC3C,YAAY,SAAS,WAAW,GAAG,WAAW,EAE9C,KAAK,EAAE,SAAS,CAAC,YAAY,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAA;CAAE,KACrE,YAAY,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { FieldPath, FieldValues } from 'react-hook-form';
|
|
3
|
-
import type { FormCheckboxFieldProps, FormRadioGroupFieldProps, FormSelectFieldProps, FormSwitchFieldProps, FormTextFieldProps, FormTextareaFieldProps } from './Form.types';
|
|
4
|
-
export declare const FormTextField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, required, disabled, className, type, placeholder, autoComplete, size, leadingIcon, trailingIcon, }: FormTextFieldProps<TFieldValues, TName>) => ReactElement;
|
|
5
|
-
export declare const FormTextareaField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, required, disabled, className, placeholder, rows, size, }: FormTextareaFieldProps<TFieldValues, TName>) => ReactElement;
|
|
6
|
-
export declare const FormSelectField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, required, disabled, className, options, placeholder, size, }: FormSelectFieldProps<TFieldValues, TName>) => ReactElement;
|
|
7
|
-
export declare const FormRadioGroupField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, required, disabled, className, options, orientation, }: FormRadioGroupFieldProps<TFieldValues, TName>) => ReactElement;
|
|
8
|
-
export declare const FormCheckboxField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, required, disabled, className, checkboxLabel, }: FormCheckboxFieldProps<TFieldValues, TName>) => ReactElement;
|
|
9
|
-
export declare const FormSwitchField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, required, disabled, className, switchLabel, }: FormSwitchFieldProps<TFieldValues, TName>) => ReactElement;
|
|
10
|
-
//# sourceMappingURL=Form.fields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.fields.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/Form.fields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAmB9D,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAwFtB,eAAO,MAAM,aAAa,GACxB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,gIAaC,kBAAkB,CAAC,YAAY,EAAE,KAAK,CAAC,KAAG,YA0B5C,CAAC;AA0CF,eAAO,MAAM,iBAAiB,GAC5B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,uFAUC,sBAAsB,CAAC,YAAY,EAAE,KAAK,CAAC,KAAG,YAuBhD,CAAC;AAwCF,eAAO,MAAM,eAAe,GAC1B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,0FAUC,oBAAoB,CAAC,YAAY,EAAE,KAAK,CAAC,KAAG,YAuB9C,CAAC;AAoCF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,oFASC,wBAAwB,CAAC,YAAY,EAAE,KAAK,CAAC,KAAG,YAsBlD,CAAC;AA2CF,eAAO,MAAM,iBAAiB,GAC5B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,6EAQC,sBAAsB,CAAC,YAAY,EAAE,KAAK,CAAC,KAAG,YAqBhD,CAAC;AAyCF,eAAO,MAAM,eAAe,GAC1B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,2EAQC,oBAAoB,CAAC,YAAY,EAAE,KAAK,CAAC,KAAG,YAqB9C,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
2
|
-
/**
|
|
3
|
-
* Re-exported react-hook-form context hook so consumers can subscribe to the
|
|
4
|
-
* form state from within custom fields without importing react-hook-form
|
|
5
|
-
* directly.
|
|
6
|
-
*/
|
|
7
|
-
export declare const useFormContext: <TFieldValues extends FieldValues = FieldValues>() => UseFormReturn<TFieldValues>;
|
|
8
|
-
//# sourceMappingURL=Form.hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/Form.hooks.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,cAAc,GACzB,YAAY,SAAS,WAAW,GAAG,WAAW,OAC3C,aAAa,CAAC,YAAY,CAAkC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { FormCardProps, FormFooterProps, FormHeaderProps, FormRowProps, FormSectionProps } from './Form.types';
|
|
2
|
-
export declare const FormHeader: import("react").ForwardRefExoticComponent<FormHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const FormSection: import("react").ForwardRefExoticComponent<FormSectionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
-
export declare const FormRow: import("react").ForwardRefExoticComponent<FormRowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export declare const FormFooter: import("react").ForwardRefExoticComponent<FormFooterProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export declare const FormCard: import("react").ForwardRefExoticComponent<FormCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
//# sourceMappingURL=Form.layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.layout.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/Form.layout.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,YAAY,EACZ,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,UAAU,4GAUtB,CAAC;AAGF,eAAO,MAAM,WAAW,6GAoBvB,CAAC;AAGF,eAAO,MAAM,OAAO,yGAQnB,CAAC;AAGF,eAAO,MAAM,UAAU,4GAItB,CAAC;AAGF,eAAO,MAAM,QAAQ,0GAUpB,CAAC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import type { FormHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import type { FieldPath, FieldValues, SubmitHandler, UseFormReturn } from 'react-hook-form';
|
|
3
|
-
import type { RadioGroupOrientation, RadioOption } from '../../atoms/RadioGroup';
|
|
4
|
-
import type { SelectOptionsList, SelectSize } from '../../atoms/Select';
|
|
5
|
-
import type { TextareaSize } from '../../atoms/Textarea';
|
|
6
|
-
export interface FormProps<TFieldValues extends FieldValues = FieldValues> extends Omit<FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'children'> {
|
|
7
|
-
/** react-hook-form instance from `useForm()`. */
|
|
8
|
-
form: UseFormReturn<TFieldValues>;
|
|
9
|
-
/** Handler invoked with validated form values. */
|
|
10
|
-
onSubmit?: SubmitHandler<TFieldValues>;
|
|
11
|
-
/** Form fields and layout helpers. */
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export interface BaseFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> {
|
|
15
|
-
/** Field name — must match a key in the form schema. */
|
|
16
|
-
name: TName;
|
|
17
|
-
/** Visible label rendered above the control. */
|
|
18
|
-
label?: ReactNode;
|
|
19
|
-
/** Helper text rendered below the control (hidden when an error is shown). */
|
|
20
|
-
description?: ReactNode;
|
|
21
|
-
/** Visually marks the field as required (does not configure validation — set rules in `useForm`). */
|
|
22
|
-
required?: boolean;
|
|
23
|
-
/** Disable the input. */
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/** Class names applied to the FormItem wrapper. */
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface FormTextFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends BaseFieldProps<TFieldValues, TName> {
|
|
29
|
-
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search';
|
|
30
|
-
placeholder?: string;
|
|
31
|
-
autoComplete?: string;
|
|
32
|
-
/** Visual size of the input. @default 'md' */
|
|
33
|
-
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
34
|
-
leadingIcon?: ReactNode;
|
|
35
|
-
trailingIcon?: ReactNode;
|
|
36
|
-
}
|
|
37
|
-
export interface FormTextareaFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends BaseFieldProps<TFieldValues, TName> {
|
|
38
|
-
placeholder?: string;
|
|
39
|
-
rows?: number;
|
|
40
|
-
size?: TextareaSize;
|
|
41
|
-
}
|
|
42
|
-
export interface FormSelectFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends BaseFieldProps<TFieldValues, TName> {
|
|
43
|
-
options: SelectOptionsList;
|
|
44
|
-
placeholder?: string;
|
|
45
|
-
size?: SelectSize;
|
|
46
|
-
}
|
|
47
|
-
export interface FormRadioGroupFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends BaseFieldProps<TFieldValues, TName> {
|
|
48
|
-
options: ReadonlyArray<RadioOption>;
|
|
49
|
-
orientation?: RadioGroupOrientation;
|
|
50
|
-
}
|
|
51
|
-
export interface FormCheckboxFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends BaseFieldProps<TFieldValues, TName> {
|
|
52
|
-
/** Inline label rendered next to the checkbox (overrides the FormItem-level label position). */
|
|
53
|
-
checkboxLabel?: ReactNode;
|
|
54
|
-
}
|
|
55
|
-
export interface FormSwitchFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends BaseFieldProps<TFieldValues, TName> {
|
|
56
|
-
/** Inline label rendered next to the switch. */
|
|
57
|
-
switchLabel?: ReactNode;
|
|
58
|
-
}
|
|
59
|
-
export interface FormCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
60
|
-
/** Optional title rendered in the FormHeader. */
|
|
61
|
-
title?: ReactNode;
|
|
62
|
-
/** Optional supporting text rendered under the title. */
|
|
63
|
-
description?: ReactNode;
|
|
64
|
-
/** Body content (fields). */
|
|
65
|
-
children?: ReactNode;
|
|
66
|
-
/** Footer content (typically action buttons). */
|
|
67
|
-
footer?: ReactNode;
|
|
68
|
-
}
|
|
69
|
-
export interface FormHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
70
|
-
title?: ReactNode;
|
|
71
|
-
description?: ReactNode;
|
|
72
|
-
}
|
|
73
|
-
export interface FormSectionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
74
|
-
title?: ReactNode;
|
|
75
|
-
description?: ReactNode;
|
|
76
|
-
children?: ReactNode;
|
|
77
|
-
}
|
|
78
|
-
export interface FormRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
79
|
-
/** Number of columns. @default 2 */
|
|
80
|
-
columns?: 2 | 3 | 4;
|
|
81
|
-
}
|
|
82
|
-
export type FormFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
83
|
-
//# sourceMappingURL=Form.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/Form.types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const formCardVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
2
|
-
export declare const formHeaderVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
3
|
-
export declare const formHeaderTitleVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
4
|
-
export declare const formHeaderDescriptionVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
5
|
-
export declare const formContentVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
6
|
-
export declare const formSectionVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
7
|
-
export declare const formSectionTitleVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
8
|
-
export declare const formSectionDescriptionVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
9
|
-
export declare const formRowVariants: (props?: ({
|
|
10
|
-
columns?: 2 | 3 | 4 | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
|
-
export declare const formFooterVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
13
|
-
//# sourceMappingURL=Form.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Form.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/Form.utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yFAK5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yFAAoC,CAAC;AACpE,eAAO,MAAM,uBAAuB,yFAEnC,CAAC;AACF,eAAO,MAAM,6BAA6B,yFAEzC,CAAC;AAEF,eAAO,MAAM,mBAAmB,yFAAkC,CAAC;AAEnE,eAAO,MAAM,mBAAmB,yFAA6B,CAAC;AAC9D,eAAO,MAAM,wBAAwB,yFAEpC,CAAC;AACF,eAAO,MAAM,8BAA8B,yFAE1C,CAAC;AAEF,eAAO,MAAM,eAAe;;mFAS1B,CAAC;AAEH,eAAO,MAAM,kBAAkB,yFAE9B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { Form } from './Form';
|
|
2
|
-
export { FormCheckboxField, FormRadioGroupField, FormSelectField, FormSwitchField, FormTextField, FormTextareaField, } from './Form.fields';
|
|
3
|
-
export { FormCard, FormFooter, FormHeader, FormRow, FormSection, } from './Form.layout';
|
|
4
|
-
export { useFormContext } from './Form.hooks';
|
|
5
|
-
export type { BaseFieldProps, FormCardProps, FormCheckboxFieldProps, FormFooterProps, FormHeaderProps, FormProps, FormRadioGroupFieldProps, FormRowProps, FormSectionProps, FormSelectFieldProps, FormSwitchFieldProps, FormTextFieldProps, FormTextareaFieldProps, } from './Form.types';
|
|
6
|
-
export { useForm, useWatch, useFieldArray } from 'react-hook-form';
|
|
7
|
-
export type { Control, FieldErrors, FieldValues, Path, SubmitHandler, UseFormReturn, } from 'react-hook-form';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,aAAa,EACb,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACV,OAAO,EACP,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,YAAY,EACV,cAAc,EACd,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,SAAS,EACT,wBAAwB,EACxB,YAAY,EACZ,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACnE,YAAY,EACV,OAAO,EACP,WAAW,EACX,WAAW,EACX,IAAI,EACJ,aAAa,EACb,aAAa,GACd,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const sidebarA11y: {
|
|
2
|
-
readonly teamSwitcherLabel: "Switch team";
|
|
3
|
-
readonly userMenuLabel: "User menu";
|
|
4
|
-
readonly navLabel: "Main navigation";
|
|
5
|
-
readonly collapseLabel: (title: string) => string;
|
|
6
|
-
readonly sidebarToggleLabel: "Toggle Sidebar";
|
|
7
|
-
readonly teamLogoAlt: (name: string) => string;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=Sidebar.accessibility.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Sidebar/Sidebar.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;oCAIC,MAAM,KAAG,MAAM;;iCAElB,MAAM,KAAG,MAAM;CAC3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Steps.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Steps/Steps.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;CAIrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Steps/Steps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAoChC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Steps.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Steps/Steps.hooks.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,SAAI,GAAG,UAAU,CA4BxE"}
|