@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,45 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { RadioGroupProps, RadioGroupSize, RadioGroupTone } from './RadioGroup.types';
|
|
3
|
-
interface RadioGroupComponent extends React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>> {
|
|
4
|
-
Card: typeof RadioCard;
|
|
5
|
-
Pill: typeof RadioPill;
|
|
6
|
-
}
|
|
7
|
-
export interface RadioCardProps {
|
|
8
|
-
value: string;
|
|
9
|
-
/** Title rendered next to (or under) the leading slot. */
|
|
10
|
-
label: ReactNode;
|
|
11
|
-
/** Supporting copy under the label. */
|
|
12
|
-
description?: ReactNode;
|
|
13
|
-
/** Content rendered before the label block (icon, avatar, image). */
|
|
14
|
-
leading?: ReactNode;
|
|
15
|
-
/** Content rendered to the right of the label block (badge, price, etc.). */
|
|
16
|
-
trailing?: ReactNode;
|
|
17
|
-
/** Position of the radio indicator. @default 'right' */
|
|
18
|
-
indicatorPosition?: 'left' | 'right';
|
|
19
|
-
/** Visual tone — destructive renders the error card treatment. @default 'primary' */
|
|
20
|
-
tone?: 'primary' | 'destructive';
|
|
21
|
-
/** Padding scale. @default 'md' */
|
|
22
|
-
padding?: 'sm' | 'md' | 'lg';
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
className?: string;
|
|
25
|
-
/** Accessible label override (when `label` isn't text). */
|
|
26
|
-
'aria-label'?: string;
|
|
27
|
-
}
|
|
28
|
-
declare const RadioCard: import("react").ForwardRefExoticComponent<RadioCardProps & import("react").RefAttributes<HTMLLabelElement>>;
|
|
29
|
-
export interface RadioPillProps {
|
|
30
|
-
value: string;
|
|
31
|
-
/** Label rendered inside the pill. */
|
|
32
|
-
label: ReactNode;
|
|
33
|
-
/** Tone override (defaults to the group's tone). */
|
|
34
|
-
tone?: RadioGroupTone;
|
|
35
|
-
/** Size override (defaults to the group's size). */
|
|
36
|
-
size?: RadioGroupSize;
|
|
37
|
-
/** Show the radio indicator dot inside the pill. @default true */
|
|
38
|
-
showIndicator?: boolean;
|
|
39
|
-
disabled?: boolean;
|
|
40
|
-
className?: string;
|
|
41
|
-
}
|
|
42
|
-
declare const RadioPill: import("react").ForwardRefExoticComponent<RadioPillProps & import("react").RefAttributes<HTMLLabelElement>>;
|
|
43
|
-
export declare const RadioGroup: RadioGroupComponent;
|
|
44
|
-
export { RadioCard, RadioPill };
|
|
45
|
-
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvC,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,cAAc,EACf,MAAM,oBAAoB,CAAC;AAmB5B,UAAU,mBAAoB,SAAQ,KAAK,CAAC,yBAAyB,CACnE,eAAe,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CACtD;IACC,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,IAAI,EAAE,OAAO,SAAS,CAAC;CACxB;AA6FD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,KAAK,EAAE,SAAS,CAAC;IACjB,uCAAuC;IACvC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,qEAAqE;IACrE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACrC,qFAAqF;IACrF,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACjC,mCAAmC;IACnC,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,QAAA,MAAM,SAAS,6GA4Dd,CAAC;AAKF,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,KAAK,EAAE,SAAS,CAAC;IACjB,oDAAoD;IACpD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,oDAAoD;IACpD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,kEAAkE;IAClE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,SAAS,6GA6Cd,CAAC;AAKF,eAAO,MAAM,UAAU,EAAqB,mBAAmB,CAAC;AAIhE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { RadioOption } from './RadioGroup.types';
|
|
2
|
-
interface UseRadioGroupResult {
|
|
3
|
-
optionIds: Record<string, string>;
|
|
4
|
-
descriptionIds: Record<string, string>;
|
|
5
|
-
}
|
|
6
|
-
export declare const useRadioGroup: (options: ReadonlyArray<RadioOption>) => UseRadioGroupResult;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=RadioGroup.hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RadioGroup/RadioGroup.hooks.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,UAAU,mBAAmB;IAC3B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,aAAa,GACxB,SAAS,aAAa,CAAC,WAAW,CAAC,KAClC,mBAWF,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export type RadioGroupOrientation = 'horizontal' | 'vertical';
|
|
3
|
-
export type RadioGroupSize = 'sm' | 'md' | 'lg';
|
|
4
|
-
export type RadioGroupTone = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'destructive';
|
|
5
|
-
export interface RadioOption {
|
|
6
|
-
value: string;
|
|
7
|
-
label: ReactNode;
|
|
8
|
-
description?: ReactNode;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface RadioGroupProps {
|
|
12
|
-
/** Available options. */
|
|
13
|
-
options?: ReadonlyArray<RadioOption>;
|
|
14
|
-
/** Controlled value. */
|
|
15
|
-
value?: string;
|
|
16
|
-
/** Uncontrolled initial value. */
|
|
17
|
-
defaultValue?: string;
|
|
18
|
-
/** Callback fired when the selected value changes. */
|
|
19
|
-
onValueChange?: (value: string) => void;
|
|
20
|
-
/** Layout direction. @default 'vertical' */
|
|
21
|
-
orientation?: RadioGroupOrientation;
|
|
22
|
-
/** Visual size. @default 'md' */
|
|
23
|
-
size?: RadioGroupSize;
|
|
24
|
-
/** Tone applied to the selected indicator. @default 'primary' */
|
|
25
|
-
tone?: RadioGroupTone;
|
|
26
|
-
/** Disable the entire group. */
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
/** Name for native form submission. */
|
|
29
|
-
name?: string;
|
|
30
|
-
/** Mark the group as required for native form submission. */
|
|
31
|
-
required?: boolean;
|
|
32
|
-
/** Wrapper class names. */
|
|
33
|
-
className?: string;
|
|
34
|
-
/** Accessible label when no <label> is associated. */
|
|
35
|
-
'aria-label'?: string;
|
|
36
|
-
/** ID of the element labelling the group. */
|
|
37
|
-
'aria-labelledby'?: string;
|
|
38
|
-
/** ID of the element describing the group. */
|
|
39
|
-
'aria-describedby'?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Composable children — supply <RadioGroup.Card>, <RadioGroup.Pill>, or
|
|
42
|
-
* custom items that render a RadioGroupItem. When provided, `options` is
|
|
43
|
-
* ignored.
|
|
44
|
-
*/
|
|
45
|
-
children?: ReactNode;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=RadioGroup.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RadioGroup/RadioGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,UAAU,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,WAAW,GACX,MAAM,GACN,SAAS,GACT,SAAS,GACT,aAAa,CAAC;AAElB,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,yBAAyB;IACzB,OAAO,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACrC,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,4CAA4C;IAC5C,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,iCAAiC;IACjC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,iEAAiE;IACjE,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const radioGroupRootVariants: (props?: ({
|
|
2
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
3
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
4
|
-
export declare const radioOptionLabelVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
-
disabled?: boolean | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
|
-
export declare const radioOptionDescriptionVariants: (props?: ({
|
|
9
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
11
|
-
export declare const radioCardVariants: (props?: ({
|
|
12
|
-
padding?: "sm" | "md" | "lg" | null | undefined;
|
|
13
|
-
tone?: "destructive" | "primary" | null | undefined;
|
|
14
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
15
|
-
export declare const radioCardLabelVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
16
|
-
export declare const radioCardDescriptionVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
17
|
-
export declare const radioPillVariants: (props?: ({
|
|
18
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
19
|
-
tone?: "info" | "success" | "warning" | "destructive" | "primary" | "secondary" | null | undefined;
|
|
20
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
21
|
-
//# sourceMappingURL=RadioGroup.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RadioGroup/RadioGroup.utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;mFAQjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;mFAgBpC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;mFAY1C,CAAC;AAIF,eAAO,MAAM,iBAAiB;;;mFAyB7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,yFAElC,CAAC;AAEF,eAAO,MAAM,4BAA4B,yFAExC,CAAC;AAIF,eAAO,MAAM,iBAAiB;;;mFA+B7B,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { RadioGroup, RadioCard, RadioPill } from './RadioGroup';
|
|
2
|
-
export type { RadioGroupOrientation, RadioGroupProps, RadioGroupSize, RadioGroupTone, RadioOption, } from './RadioGroup.types';
|
|
3
|
-
export type { RadioCardProps, RadioPillProps } from './RadioGroup';
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RadioGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChE,YAAY,EACV,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,cAAc,EACd,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RatingType } from './Rating.types';
|
|
2
|
-
export declare const ratingA11y: {
|
|
3
|
-
readonly groupLabel: "Rating";
|
|
4
|
-
readonly numericGroupLabel: "Numeric rating";
|
|
5
|
-
readonly emojiGroupLabel: "Emoji rating";
|
|
6
|
-
};
|
|
7
|
-
export declare function getRatingItemLabel(index: number, max: number, type: RatingType): string;
|
|
8
|
-
export declare function getRatingReadOnlyLabel(value: number, max: number, type: RatingType): string;
|
|
9
|
-
export declare const emojiLabels: Record<number, string>;
|
|
10
|
-
//# sourceMappingURL=Rating.accessibility.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Rating/Rating.accessibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,eAAO,MAAM,UAAU;;;;CAIb,CAAC;AAEX,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,GACf,MAAM,CAER;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,GACf,MAAM,CAER;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM9C,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { RatingEmojiProps, RatingNumericProps, RatingProps, RatingSliderProps } from './Rating.types';
|
|
3
|
-
export declare const Rating: FC<RatingProps>;
|
|
4
|
-
export declare const RatingNumeric: FC<RatingNumericProps>;
|
|
5
|
-
export declare const RatingEmoji: FC<RatingEmojiProps>;
|
|
6
|
-
export declare const RatingSlider: FC<RatingSliderProps>;
|
|
7
|
-
//# sourceMappingURL=Rating.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Rating/Rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AA0CvD,OAAO,KAAK,EAEV,gBAAgB,EAEhB,kBAAkB,EAClB,WAAW,EAEX,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAgHxB,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAyClC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA2DhD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA4C5C,CAAC;AAwBF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA0I9C,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { MouseEvent } from 'react';
|
|
2
|
-
interface UseRatingOptions {
|
|
3
|
-
value?: number;
|
|
4
|
-
defaultValue?: number;
|
|
5
|
-
onChange?: (value: number) => void;
|
|
6
|
-
readOnly?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface UseRatingReturn {
|
|
9
|
-
displayValue: number;
|
|
10
|
-
handleMouseMove: (e: MouseEvent<HTMLButtonElement>, index: number) => void;
|
|
11
|
-
handleMouseLeave: () => void;
|
|
12
|
-
handleClick: (e: MouseEvent<HTMLButtonElement>, index: number) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare function useRating({ value, defaultValue, onChange, readOnly, }: UseRatingOptions): UseRatingReturn;
|
|
15
|
-
interface UseControlledValueOptions {
|
|
16
|
-
value?: number;
|
|
17
|
-
defaultValue?: number;
|
|
18
|
-
onChange?: (value: number) => void;
|
|
19
|
-
}
|
|
20
|
-
export interface UseControlledValueReturn {
|
|
21
|
-
currentValue: number;
|
|
22
|
-
handleSelect: (value: number) => void;
|
|
23
|
-
}
|
|
24
|
-
export declare function useRatingNumeric(options: UseControlledValueOptions): UseControlledValueReturn;
|
|
25
|
-
export declare function useRatingEmoji(options: UseControlledValueOptions): UseControlledValueReturn;
|
|
26
|
-
export declare function useRatingSlider(options: UseControlledValueOptions): UseControlledValueReturn;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=Rating.hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Rating/Rating.hooks.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3E,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxE;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,YAAgB,EAChB,QAAQ,EACR,QAAgB,GACjB,EAAE,gBAAgB,GAAG,eAAe,CAuCpC;AAED,UAAU,yBAAyB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAsBD,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,yBAAyB,GACjC,wBAAwB,CAE1B;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,yBAAyB,GACjC,wBAAwB,CAE1B;AAED,wBAAgB,eAAe,CAC7B,OAAO,EAAE,yBAAyB,GACjC,wBAAwB,CAE1B"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export type RatingSize = 'sm' | 'md' | 'lg';
|
|
2
|
-
export type RatingType = 'star' | 'heart';
|
|
3
|
-
export type RatingColor = 'primary' | 'warning' | 'destructive';
|
|
4
|
-
export type RatingItemState = 'filled' | 'half' | 'empty';
|
|
5
|
-
export interface RatingProps {
|
|
6
|
-
value?: number;
|
|
7
|
-
defaultValue?: number;
|
|
8
|
-
onChange?: (value: number) => void;
|
|
9
|
-
size?: RatingSize;
|
|
10
|
-
type?: RatingType;
|
|
11
|
-
color?: RatingColor;
|
|
12
|
-
readOnly?: boolean;
|
|
13
|
-
max?: number;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface RatingNumericProps {
|
|
17
|
-
value?: number;
|
|
18
|
-
defaultValue?: number;
|
|
19
|
-
onChange?: (value: number) => void;
|
|
20
|
-
min?: number;
|
|
21
|
-
max?: number;
|
|
22
|
-
minLabel?: string;
|
|
23
|
-
maxLabel?: string;
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface RatingEmojiProps {
|
|
27
|
-
value?: number;
|
|
28
|
-
defaultValue?: number;
|
|
29
|
-
onChange?: (value: number) => void;
|
|
30
|
-
showLabels?: boolean;
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
export type RatingSliderVariant = 'emoji-range' | 'emoji-indicator' | 'star-indicator' | 'emoji-thumb' | 'emoji-badge';
|
|
34
|
-
export interface RatingSliderProps {
|
|
35
|
-
value?: number;
|
|
36
|
-
defaultValue?: number;
|
|
37
|
-
onChange?: (value: number) => void;
|
|
38
|
-
variant?: RatingSliderVariant;
|
|
39
|
-
min?: number;
|
|
40
|
-
max?: number;
|
|
41
|
-
step?: number;
|
|
42
|
-
className?: string;
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=Rating.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Rating/Rating.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAC1C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAChE,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAE1D,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,GAC3B,aAAa,GACb,iBAAiB,GACjB,gBAAgB,GAChB,aAAa,GACb,aAAa,CAAC;AAElB,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { RatingColor, RatingItemState, RatingSize } from './Rating.types';
|
|
2
|
-
export declare const ratingIconSize: Record<RatingSize, number>;
|
|
3
|
-
export declare const ratingGapClass: Record<RatingSize, string>;
|
|
4
|
-
export declare const ratingFilledColorClass: Record<RatingColor, string>;
|
|
5
|
-
export declare const ratingEmptyClass = "fill-muted text-muted-foreground";
|
|
6
|
-
export declare function getItemState(index: number, value: number): RatingItemState;
|
|
7
|
-
export declare const numericButtonBase = "min-w-[2.5rem] px-3 py-1.5 text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1";
|
|
8
|
-
export declare const numericButtonFirst = "rounded-l-lg";
|
|
9
|
-
export declare const numericButtonLast = "rounded-r-lg";
|
|
10
|
-
export declare const numericButtonDefault = "bg-muted text-foreground hover:bg-muted/70";
|
|
11
|
-
export declare const numericButtonSelected = "bg-primary text-primary-foreground hover:bg-primary/90";
|
|
12
|
-
export declare function getThumbPercent(value: number, min: number, max: number): number;
|
|
13
|
-
export declare const emojiButtonBase = "flex h-7 w-7 items-center justify-center rounded-full transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1";
|
|
14
|
-
export declare const emojiButtonDefault = "text-muted-foreground hover:text-foreground hover:bg-muted";
|
|
15
|
-
export declare const emojiButtonSelected = "text-primary bg-primary/10";
|
|
16
|
-
//# sourceMappingURL=Rating.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Rating/Rating.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE/E,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIrD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAI9D,CAAC;AAEF,eAAO,MAAM,gBAAgB,qCAAqC,CAAC;AAEnE,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,eAAe,CAI1E;AAED,eAAO,MAAM,iBAAiB,2KAC4I,CAAC;AAE3K,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AACjD,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAChD,eAAO,MAAM,oBAAoB,+CACa,CAAC;AAC/C,eAAO,MAAM,qBAAqB,2DACwB,CAAC;AAE3D,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,GACV,MAAM,CAGR;AAED,eAAO,MAAM,eAAe,kLACqJ,CAAC;AAElL,eAAO,MAAM,kBAAkB,+DAC+B,CAAC;AAC/D,eAAO,MAAM,mBAAmB,+BAA+B,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { Rating, RatingEmoji, RatingNumeric, RatingSlider } from './Rating';
|
|
2
|
-
export type { RatingColor, RatingEmojiProps, RatingItemState, RatingNumericProps, RatingProps, RatingSize, RatingSliderProps, RatingSliderVariant, RatingType, } from './Rating.types';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5E,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,GACX,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Select/Select.accessibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,oBAAoB,GAAI,QAAQ,WAAW,KAAG,OAClC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Select/Select.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,MAAM,2GAmFlB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SelectOption, SelectOptionsList, SelectState } from './Select.types';
|
|
2
|
-
interface UseSelectResult {
|
|
3
|
-
isInvalid: boolean;
|
|
4
|
-
flatOptions: SelectOption[];
|
|
5
|
-
isGrouped: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const useSelect: (options: SelectOptionsList, state: SelectState) => UseSelectResult;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=Select.hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Select/Select.hooks.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,UAAU,eAAe;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GACpB,SAAS,iBAAiB,EAC1B,OAAO,WAAW,KACjB,eAiBmB,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export type SelectSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
3
|
-
export type SelectState = 'default' | 'success' | 'destructive';
|
|
4
|
-
export interface SelectOption {
|
|
5
|
-
/** The value submitted with the form. */
|
|
6
|
-
value: string;
|
|
7
|
-
/** Visible label rendered in the trigger and the menu. */
|
|
8
|
-
label: ReactNode;
|
|
9
|
-
/** When true, the option is rendered but cannot be selected. */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface SelectGroupOption {
|
|
13
|
-
/** Group heading shown above the items. */
|
|
14
|
-
label: string;
|
|
15
|
-
options: SelectOption[];
|
|
16
|
-
}
|
|
17
|
-
export type SelectOptionsList = ReadonlyArray<SelectOption | SelectGroupOption>;
|
|
18
|
-
export interface SelectProps {
|
|
19
|
-
/** Available options. Pass plain options or grouped options. */
|
|
20
|
-
options: SelectOptionsList;
|
|
21
|
-
/** Controlled value. */
|
|
22
|
-
value?: string;
|
|
23
|
-
/** Uncontrolled initial value. */
|
|
24
|
-
defaultValue?: string;
|
|
25
|
-
/** Callback fired when the selection changes. */
|
|
26
|
-
onValueChange?: (value: string) => void;
|
|
27
|
-
/** Placeholder shown when no value is selected. */
|
|
28
|
-
placeholder?: string;
|
|
29
|
-
/** Visual size. @default 'md' */
|
|
30
|
-
size?: SelectSize;
|
|
31
|
-
/** State styling. @default 'default' */
|
|
32
|
-
state?: SelectState;
|
|
33
|
-
/** Disable the entire select. */
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
/** Name for native form submission. */
|
|
36
|
-
name?: string;
|
|
37
|
-
/** Required marker for native form submission. */
|
|
38
|
-
required?: boolean;
|
|
39
|
-
/** Class names on the trigger. */
|
|
40
|
-
className?: string;
|
|
41
|
-
/** ID applied to the trigger. */
|
|
42
|
-
id?: string;
|
|
43
|
-
/** ARIA label when no visible label is associated. */
|
|
44
|
-
'aria-label'?: string;
|
|
45
|
-
/** ID of the element labelling the trigger. */
|
|
46
|
-
'aria-labelledby'?: string;
|
|
47
|
-
/** ID of the element describing the trigger. */
|
|
48
|
-
'aria-describedby'?: string;
|
|
49
|
-
}
|
|
50
|
-
export declare const isSelectGroup: (entry: SelectOption | SelectGroupOption) => entry is SelectGroupOption;
|
|
51
|
-
//# sourceMappingURL=Select.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACnD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAEhE,MAAM,WAAW,YAAY;IAC3B,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,KAAK,EAAE,SAAS,CAAC;IACjB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;AAEhF,MAAM,WAAW,WAAW;IAC1B,gEAAgE;IAChE,OAAO,EAAE,iBAAiB,CAAC;IAC3B,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,wCAAwC;IACxC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gDAAgD;IAChD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,GACxB,OAAO,YAAY,GAAG,iBAAiB,KACtC,KAAK,IAAI,iBAC4C,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const selectTriggerVariants: (props?: ({
|
|
2
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
3
|
-
state?: "default" | "success" | "destructive" | null | undefined;
|
|
4
|
-
disabled?: boolean | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
|
-
//# sourceMappingURL=Select.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Select/Select.utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;mFAuCjC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,WAAW,GACZ,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Skeleton/Skeleton.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;CAKf,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { SkeletonGroupProps, SkeletonProps } from './Skeleton.types';
|
|
3
|
-
export declare const Skeleton: import("react").ForwardRefExoticComponent<SkeletonProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
-
export declare const SkeletonGroup: FC<SkeletonGroupProps>;
|
|
5
|
-
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAG1E,eAAO,MAAM,QAAQ,0GAQpB,CAAC;AAiBF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgDhD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Skeleton/Skeleton.hooks.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,KAAG,iBAY1C,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export type SkeletonShape = 'rectangle' | 'circle' | 'pill';
|
|
3
|
-
export type SkeletonVariant = 'default' | 'card' | 'text';
|
|
4
|
-
export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* @default 'rectangle'
|
|
7
|
-
*/
|
|
8
|
-
shape?: SkeletonShape;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface SkeletonGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
12
|
-
/**
|
|
13
|
-
* @default 'default'
|
|
14
|
-
*/
|
|
15
|
-
variant?: SkeletonVariant;
|
|
16
|
-
/**
|
|
17
|
-
* Number of paragraph lines rendered for the text/card/default variants.
|
|
18
|
-
* @default 2
|
|
19
|
-
*/
|
|
20
|
-
lines?: number;
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface UseSkeletonResult {
|
|
24
|
-
rootClassName: string;
|
|
25
|
-
ariaProps: {
|
|
26
|
-
role: 'status';
|
|
27
|
-
'aria-busy': true;
|
|
28
|
-
'aria-live': 'polite';
|
|
29
|
-
'aria-label': string;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=Skeleton.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Skeleton/Skeleton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC5D,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1D,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,QAAQ,CAAC;QACf,WAAW,EAAE,IAAI,CAAC;QAClB,WAAW,EAAE,QAAQ,CAAC;QACtB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const skeletonVariants: (props?: ({
|
|
2
|
-
shape?: "circle" | "rectangle" | "pill" | null | undefined;
|
|
3
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
4
|
-
export declare const skeletonGroupVariants: (props?: ({
|
|
5
|
-
variant?: "default" | "text" | "card" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
-
//# sourceMappingURL=Skeleton.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Skeleton/Skeleton.utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;mFAW3B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;mFAWhC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepItem.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/StepItem/StepItem.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;+BAIT,MAAM,UACV,MAAM,aACH,OAAO,KACjB,MAAM;4BAOe,OAAO,KAAG,MAAM,GAAG,SAAS;CAErD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepItem.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/StepItem/StepItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAsBtD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkDtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepItem.hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/StepItem/StepItem.hooks.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAErE,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,WAAW,GACZ,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,OAAO,GAAG,aAAa,CAAC,GAAG,aAAa,CAY3E"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export type StepItemPosition = 'start' | 'middle';
|
|
3
|
-
export type StepItemOrientation = 'horizontal' | 'vertical';
|
|
4
|
-
export type StepBulletType = 'text' | 'icon';
|
|
5
|
-
export type StepShape = 'rounded' | 'round';
|
|
6
|
-
export interface StepItemProps {
|
|
7
|
-
/** Whether this step has a leading connector line. @default 'start' */
|
|
8
|
-
position?: StepItemPosition;
|
|
9
|
-
/** Current or completed step. @default false */
|
|
10
|
-
isActive?: boolean;
|
|
11
|
-
/** Layout direction of the connector. @default 'horizontal' */
|
|
12
|
-
orientation?: StepItemOrientation;
|
|
13
|
-
/** Show step number or custom icon in the bullet. @default 'text' */
|
|
14
|
-
bulletType?: StepBulletType;
|
|
15
|
-
/** Border radius of the bullet. @default 'rounded' */
|
|
16
|
-
shape?: StepShape;
|
|
17
|
-
/** Show sub-text slot. @default false */
|
|
18
|
-
showSubText?: boolean;
|
|
19
|
-
/** 1-based step index shown when bulletType is 'text'. @default 1 */
|
|
20
|
-
stepNumber?: number;
|
|
21
|
-
/** Primary step label */
|
|
22
|
-
label?: string;
|
|
23
|
-
/** Secondary label shown when showSubText is true */
|
|
24
|
-
subText?: string;
|
|
25
|
-
/** Custom icon node for bulletType='icon'. Falls back to a checkmark. */
|
|
26
|
-
icon?: ReactNode;
|
|
27
|
-
}
|
|
28
|
-
export interface StepItemState {
|
|
29
|
-
bulletClass: string;
|
|
30
|
-
connectorClass: string;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=StepItem.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepItem.types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/StepItem/StepItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAClD,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,UAAU,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC;AAC7C,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC5B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,qEAAqE;IACrE,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,sDAAsD;IACtD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,yCAAyC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const stepBulletVariants: (props?: ({
|
|
2
|
-
isActive?: boolean | null | undefined;
|
|
3
|
-
shape?: "rounded" | "round" | null | undefined;
|
|
4
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
5
|
-
export declare const stepConnectorVariants: (props?: ({
|
|
6
|
-
isActive?: boolean | null | undefined;
|
|
7
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
8
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
|
-
export declare const stepLabelVariants: (props?: ({
|
|
10
|
-
isActive?: boolean | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
12
|
-
//# sourceMappingURL=StepItem.utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepItem.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/StepItem/StepItem.utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;mFAkB9B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;mFAehC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;mFAW7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/StepItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,SAAS,GACV,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.accessibility.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Switch/Switch.accessibility.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;CAEb,CAAC"}
|