@digdir/designsystemet-react 1.0.0-rc.12 → 1.0.0-rc.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Accordion/AccordionContent.js +5 -0
- package/dist/cjs/components/Accordion/AccordionHeading.js +5 -0
- package/dist/cjs/components/Accordion/AccordionItem.js +8 -0
- package/dist/cjs/components/Accordion/AccordionRoot.js +3 -0
- package/dist/cjs/components/Accordion/index.js +10 -0
- package/dist/cjs/components/Alert/Alert.js +7 -2
- package/dist/cjs/components/Button/Button.js +2 -0
- package/dist/cjs/components/Card/Card.js +9 -0
- package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/cjs/components/DropdownMenu/DropdownMenuRoot.js +12 -0
- package/dist/cjs/components/DropdownMenu/index.js +11 -0
- package/dist/cjs/components/ErrorSummary/index.js +9 -0
- package/dist/cjs/components/Pagination/PaginationEllipsis.js +0 -4
- package/dist/cjs/components/Pagination/PaginationItem.js +0 -4
- package/dist/cjs/components/Pagination/PaginationRoot.js +0 -4
- package/dist/cjs/components/Pagination/index.js +6 -6
- package/dist/cjs/components/Popover/PopoverContent.js +2 -2
- package/dist/cjs/components/Skeleton/Circle/Circle.js +1 -1
- package/dist/cjs/components/Skeleton/Rectangle/Rectangle.js +1 -1
- package/dist/cjs/components/Skeleton/Text/Text.js +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +1 -1
- package/dist/cjs/components/Tabs/Tab.js +7 -2
- package/dist/cjs/components/Tabs/TabContent.js +7 -0
- package/dist/cjs/components/Tabs/TabList.js +14 -2
- package/dist/cjs/components/Tabs/TabsRoot.js +17 -1
- package/dist/cjs/components/Tabs/index.js +16 -0
- package/dist/cjs/components/Tag/Tag.js +5 -0
- package/dist/cjs/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +8 -3
- package/dist/cjs/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.js +6 -4
- package/dist/cjs/components/ToggleGroup/ToggleGroupRoot.js +4 -5
- package/dist/cjs/components/ToggleGroup/index.js +11 -0
- package/dist/cjs/components/Tooltip/Tooltip.js +8 -1
- package/dist/cjs/components/Typography/Heading/Heading.js +6 -1
- package/dist/cjs/components/Typography/Ingress/Ingress.js +6 -1
- package/dist/cjs/components/Typography/Label/Label.js +6 -1
- package/dist/cjs/components/Typography/Paragraph/Paragraph.js +6 -1
- package/dist/cjs/components/form/Checkbox/Checkbox.js +2 -2
- package/dist/cjs/components/form/Combobox/Combobox.js +6 -6
- package/dist/cjs/components/form/Combobox/Custom.js +2 -6
- package/dist/cjs/components/form/Combobox/Empty.js +0 -3
- package/dist/cjs/components/form/Combobox/Option/Description.js +1 -4
- package/dist/cjs/components/form/Combobox/Option/Option.js +2 -2
- package/dist/cjs/components/form/Combobox/Option/SelectedIcon.js +0 -3
- package/dist/cjs/components/form/Combobox/Option/useComboboxOption.js +4 -4
- package/dist/cjs/components/form/Combobox/internal/ComboboxChips.js +1 -4
- package/dist/cjs/components/form/Combobox/internal/ComboboxClearButton.js +1 -4
- package/dist/cjs/components/form/Combobox/internal/ComboboxError.js +2 -5
- package/dist/cjs/components/form/Combobox/internal/ComboboxInput.js +9 -8
- package/dist/cjs/components/form/Combobox/internal/ComboboxLabel.js +1 -4
- package/dist/cjs/components/form/Combobox/internal/ComboboxNative.js +1 -4
- package/dist/cjs/components/form/Combobox/useCombobox.js +11 -4
- package/dist/cjs/components/form/Combobox/useComboboxKeyboard.js +2 -2
- package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +2 -2
- package/dist/cjs/components/form/NativeSelect/NativeSelect.js +2 -2
- package/dist/cjs/components/form/Radio/Radio.js +2 -2
- package/dist/cjs/components/form/Search/Search.js +3 -4
- package/dist/cjs/components/form/Switch/Switch.js +2 -2
- package/dist/cjs/components/form/Textarea/Textarea.js +2 -2
- package/dist/cjs/components/form/Textfield/Textfield.js +2 -2
- package/dist/cjs/index.js +15 -5
- package/dist/cjs/node_modules/@floating-ui/{react-dom/node_modules/@floating-ui/dom → dom}/dist/floating-ui.dom.js +3 -3
- package/dist/cjs/node_modules/@floating-ui/react/dist/floating-ui.react.js +1 -1
- package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -1
- package/dist/cjs/utilities/AnimateHeight/AnimateHeight.js +2 -2
- package/dist/cjs/utilities/{RovingTabIndex/RovingTabindexItem.js → RovingFocus/RovingFocusItem.js} +6 -6
- package/dist/cjs/utilities/{RovingTabIndex/RovingTabindexRoot.js → RovingFocus/RovingFocusRoot.js} +11 -7
- package/dist/cjs/utilities/{RovingTabIndex/useRovingTabindex.js → RovingFocus/useRovingFocus.js} +5 -5
- package/dist/cjs/utilities/{useDebounce.js → hooks/useDebounceCallback/useDebounceCallback.js} +2 -2
- package/dist/cjs/utilities/hooks/useMediaQuery/useMediaQuery.js +49 -0
- package/dist/esm/components/Accordion/AccordionContent.js +5 -0
- package/dist/esm/components/Accordion/AccordionHeading.js +5 -0
- package/dist/esm/components/Accordion/AccordionItem.js +8 -0
- package/dist/esm/components/Accordion/AccordionRoot.js +3 -0
- package/dist/esm/components/Accordion/index.js +10 -0
- package/dist/esm/components/Alert/Alert.js +7 -2
- package/dist/esm/components/Button/Button.js +2 -0
- package/dist/esm/components/Card/Card.js +9 -0
- package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/esm/components/DropdownMenu/DropdownMenuRoot.js +12 -0
- package/dist/esm/components/DropdownMenu/index.js +11 -0
- package/dist/esm/components/ErrorSummary/index.js +9 -0
- package/dist/esm/components/Pagination/PaginationEllipsis.js +1 -2
- package/dist/esm/components/Pagination/PaginationItem.js +1 -2
- package/dist/esm/components/Pagination/PaginationRoot.js +1 -2
- package/dist/esm/components/Pagination/index.js +3 -3
- package/dist/esm/components/Popover/PopoverContent.js +2 -2
- package/dist/esm/components/Skeleton/Circle/Circle.js +1 -1
- package/dist/esm/components/Skeleton/Rectangle/Rectangle.js +1 -1
- package/dist/esm/components/Skeleton/Text/Text.js +1 -1
- package/dist/esm/components/Spinner/Spinner.js +1 -1
- package/dist/esm/components/Tabs/Tab.js +7 -2
- package/dist/esm/components/Tabs/TabContent.js +7 -0
- package/dist/esm/components/Tabs/TabList.js +15 -3
- package/dist/esm/components/Tabs/TabsRoot.js +17 -1
- package/dist/esm/components/Tabs/index.js +16 -0
- package/dist/esm/components/Tag/Tag.js +5 -0
- package/dist/esm/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +8 -3
- package/dist/esm/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.js +7 -5
- package/dist/esm/components/ToggleGroup/ToggleGroupRoot.js +4 -5
- package/dist/esm/components/ToggleGroup/index.js +11 -0
- package/dist/esm/components/Tooltip/Tooltip.js +8 -1
- package/dist/esm/components/Typography/Heading/Heading.js +6 -1
- package/dist/esm/components/Typography/Ingress/Ingress.js +6 -1
- package/dist/esm/components/Typography/Label/Label.js +6 -1
- package/dist/esm/components/Typography/Paragraph/Paragraph.js +6 -1
- package/dist/esm/components/form/Checkbox/Checkbox.js +1 -1
- package/dist/esm/components/form/Combobox/Combobox.js +5 -5
- package/dist/esm/components/form/Combobox/Custom.js +2 -3
- package/dist/esm/components/form/Combobox/Empty.js +1 -1
- package/dist/esm/components/form/Combobox/Option/Description.js +1 -1
- package/dist/esm/components/form/Combobox/Option/Option.js +1 -1
- package/dist/esm/components/form/Combobox/Option/SelectedIcon.js +1 -1
- package/dist/esm/components/form/Combobox/Option/useComboboxOption.js +4 -4
- package/dist/esm/components/form/Combobox/internal/ComboboxChips.js +1 -1
- package/dist/esm/components/form/Combobox/internal/ComboboxClearButton.js +1 -1
- package/dist/esm/components/form/Combobox/internal/ComboboxError.js +2 -2
- package/dist/esm/components/form/Combobox/internal/ComboboxInput.js +7 -3
- package/dist/esm/components/form/Combobox/internal/ComboboxLabel.js +1 -1
- package/dist/esm/components/form/Combobox/internal/ComboboxNative.js +1 -1
- package/dist/esm/components/form/Combobox/useCombobox.js +12 -5
- package/dist/esm/components/form/Combobox/useComboboxKeyboard.js +2 -2
- package/dist/esm/components/form/Combobox/useFloatingCombobox.js +2 -2
- package/dist/esm/components/form/NativeSelect/NativeSelect.js +1 -1
- package/dist/esm/components/form/Radio/Radio.js +1 -1
- package/dist/esm/components/form/Search/Search.js +3 -4
- package/dist/esm/components/form/Switch/Switch.js +1 -1
- package/dist/esm/components/form/Textarea/Textarea.js +1 -1
- package/dist/esm/components/form/Textfield/Textfield.js +1 -1
- package/dist/esm/index.js +9 -5
- package/dist/esm/node_modules/@floating-ui/{react-dom/node_modules/@floating-ui/dom → dom}/dist/floating-ui.dom.js +4 -4
- package/dist/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +2 -2
- package/dist/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
- package/dist/esm/utilities/AnimateHeight/AnimateHeight.js +2 -2
- package/dist/esm/utilities/{RovingTabIndex/RovingTabindexItem.js → RovingFocus/RovingFocusItem.js} +6 -6
- package/dist/esm/utilities/{RovingTabIndex/RovingTabindexRoot.js → RovingFocus/RovingFocusRoot.js} +11 -7
- package/dist/esm/utilities/{RovingTabIndex/useRovingTabindex.js → RovingFocus/useRovingFocus.js} +5 -5
- package/dist/esm/utilities/{useDebounce.js → hooks/useDebounceCallback/useDebounceCallback.js} +2 -2
- package/dist/esm/utilities/hooks/useMediaQuery/useMediaQuery.js +47 -0
- package/dist/types/components/Accordion/AccordionContent.d.ts +8 -9
- package/dist/types/components/Accordion/AccordionContent.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionHeading.d.ts +5 -0
- package/dist/types/components/Accordion/AccordionHeading.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionItem.d.ts +22 -3
- package/dist/types/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionRoot.d.ts +15 -4
- package/dist/types/components/Accordion/AccordionRoot.d.ts.map +1 -1
- package/dist/types/components/Accordion/index.d.ts +10 -0
- package/dist/types/components/Accordion/index.d.ts.map +1 -1
- package/dist/types/components/Alert/Alert.d.ts +21 -10
- package/dist/types/components/Alert/Alert.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +18 -4
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Card/Card.d.ts +9 -0
- package/dist/types/components/Card/Card.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts +12 -0
- package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +4 -2
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/index.d.ts +11 -0
- package/dist/types/components/DropdownMenu/index.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/index.d.ts +9 -0
- package/dist/types/components/ErrorSummary/index.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalTrigger.d.ts +4 -2
- package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +2 -1
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationEllipsis.d.ts +2 -2
- package/dist/types/components/Pagination/PaginationEllipsis.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationItem.d.ts +2 -2
- package/dist/types/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationNextPrev.d.ts +3 -2
- package/dist/types/components/Pagination/PaginationNextPrev.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationRoot.d.ts +2 -2
- package/dist/types/components/Pagination/PaginationRoot.d.ts.map +1 -1
- package/dist/types/components/Pagination/index.d.ts +7 -7
- package/dist/types/components/Pagination/index.d.ts.map +1 -1
- package/dist/types/components/Popover/PopoverTrigger.d.ts +4 -2
- package/dist/types/components/Popover/PopoverTrigger.d.ts.map +1 -1
- package/dist/types/components/Table/index.d.ts +7 -0
- package/dist/types/components/Table/index.d.ts.map +1 -1
- package/dist/types/components/Tabs/Tab.d.ts +7 -2
- package/dist/types/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabContent.d.ts +7 -0
- package/dist/types/components/Tabs/TabContent.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabList.d.ts +10 -0
- package/dist/types/components/Tabs/TabList.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabsRoot.d.ts +14 -13
- package/dist/types/components/Tabs/TabsRoot.d.ts.map +1 -1
- package/dist/types/components/Tabs/index.d.ts +16 -0
- package/dist/types/components/Tabs/index.d.ts.map +1 -1
- package/dist/types/components/Tag/Tag.d.ts +9 -2
- package/dist/types/components/Tag/Tag.d.ts.map +1 -1
- package/dist/types/components/Tag/index.d.ts +1 -2
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts +13 -2
- package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.d.ts +2 -1
- package/dist/types/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts +2 -3
- package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/index.d.ts +11 -0
- package/dist/types/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +23 -6
- package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/Typography/Heading/Heading.d.ts +14 -3
- package/dist/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/dist/types/components/Typography/Ingress/Ingress.d.ts +6 -1
- package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
- package/dist/types/components/Typography/Label/Label.d.ts +16 -9
- package/dist/types/components/Typography/Label/Label.d.ts.map +1 -1
- package/dist/types/components/Typography/Paragraph/Paragraph.d.ts +10 -5
- package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Custom.d.ts +2 -2
- package/dist/types/components/form/Combobox/Custom.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Empty.d.ts +2 -2
- package/dist/types/components/form/Combobox/Empty.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Option/Description.d.ts +1 -1
- package/dist/types/components/form/Combobox/Option/Description.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Option/Option.d.ts +2 -1
- package/dist/types/components/form/Combobox/Option/Option.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Option/SelectedIcon.d.ts +2 -2
- package/dist/types/components/form/Combobox/Option/SelectedIcon.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Option/useComboboxOption.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxChips.d.ts +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxChips.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxError.d.ts +2 -2
- package/dist/types/components/form/Combobox/internal/ComboboxError.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxLabel.d.ts +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxLabel.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxNative.d.ts +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxNative.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/useCombobox.d.ts.map +1 -1
- package/dist/types/components/form/Search/Search.d.ts +2 -2
- package/dist/types/components/form/Search/Search.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/Portal.d.ts +1 -1
- package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts +16 -0
- package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts.map +1 -0
- package/dist/types/utilities/{RovingTabIndex/RovingTabindexRoot.d.ts → RovingFocus/RovingFocusRoot.d.ts} +9 -9
- package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts.map +1 -0
- package/dist/types/utilities/RovingFocus/index.d.ts +4 -0
- package/dist/types/utilities/RovingFocus/index.d.ts.map +1 -0
- package/dist/types/utilities/{RovingTabIndex/useRovingTabindex.d.ts → RovingFocus/useRovingFocus.d.ts} +7 -9
- package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -0
- package/dist/types/{hooks → utilities/hooks}/index.d.ts +4 -3
- package/dist/types/utilities/hooks/index.d.ts.map +1 -0
- package/dist/types/utilities/hooks/useDebounceCallback/useDebounceCallback.d.ts +4 -0
- package/dist/types/utilities/hooks/useDebounceCallback/useDebounceCallback.d.ts.map +1 -0
- package/dist/types/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/types/utilities/hooks/useMediaQuery/useMediaQuery.d.ts +7 -0
- package/dist/types/utilities/hooks/useMediaQuery/useMediaQuery.d.ts.map +1 -0
- package/dist/types/utilities/hooks/usePrevious.d.ts.map +1 -0
- package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +1 -0
- package/dist/types/utilities/index.d.ts +3 -1
- package/dist/types/utilities/index.d.ts.map +1 -1
- package/dist/types/utilities/{objectUtils.d.ts → omit/omit.d.ts} +1 -1
- package/dist/types/utilities/omit/omit.d.ts.map +1 -0
- package/package.json +9 -5
- package/dist/cjs/hooks/useMediaQuery.js +0 -27
- package/dist/esm/hooks/useMediaQuery.js +0 -25
- package/dist/types/hooks/index.d.ts.map +0 -1
- package/dist/types/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts.map +0 -1
- package/dist/types/hooks/useMediaQuery.d.ts +0 -2
- package/dist/types/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/types/hooks/usePrevious.d.ts.map +0 -1
- package/dist/types/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +0 -1
- package/dist/types/utilities/RovingTabIndex/RovingTabindexItem.d.ts +0 -16
- package/dist/types/utilities/RovingTabIndex/RovingTabindexItem.d.ts.map +0 -1
- package/dist/types/utilities/RovingTabIndex/RovingTabindexRoot.d.ts.map +0 -1
- package/dist/types/utilities/RovingTabIndex/index.d.ts +0 -4
- package/dist/types/utilities/RovingTabIndex/index.d.ts.map +0 -1
- package/dist/types/utilities/RovingTabIndex/useRovingTabindex.d.ts.map +0 -1
- package/dist/types/utilities/objectUtils.d.ts.map +0 -1
- package/dist/types/utilities/useDebounce.d.ts +0 -4
- package/dist/types/utilities/useDebounce.d.ts.map +0 -1
- /package/dist/cjs/{hooks → utilities/hooks}/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +0 -0
- /package/dist/cjs/{hooks → utilities/hooks}/usePrevious.js +0 -0
- /package/dist/cjs/{hooks → utilities/hooks}/useSynchronizedAnimation/useSynchronizedAnimation.js +0 -0
- /package/dist/cjs/utilities/{objectUtils.js → omit/omit.js} +0 -0
- /package/dist/esm/{hooks → utilities/hooks}/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +0 -0
- /package/dist/esm/{hooks → utilities/hooks}/usePrevious.js +0 -0
- /package/dist/esm/{hooks → utilities/hooks}/useSynchronizedAnimation/useSynchronizedAnimation.js +0 -0
- /package/dist/esm/utilities/{objectUtils.js → omit/omit.js} +0 -0
- /package/dist/types/{hooks → utilities/hooks}/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/dist/types/{hooks → utilities/hooks}/usePrevious.d.ts +0 -0
- /package/dist/types/{hooks → utilities/hooks}/useSynchronizedAnimation/useSynchronizedAnimation.d.ts +0 -0
|
@@ -23,15 +23,14 @@ export type ToggleGroupProps = {
|
|
|
23
23
|
*/
|
|
24
24
|
size?: ToggleGroupContextProps['size'];
|
|
25
25
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'value' | 'onChange'>;
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Display a group of buttons that can be toggled between.
|
|
27
28
|
* @example
|
|
28
|
-
* ```tsx
|
|
29
29
|
* <ToggleGroup.Root onChange={(value) => console.log(value)}>
|
|
30
30
|
* <ToggleGroup.Item value='1'>Toggle 1</ToggleGroup.Item>
|
|
31
31
|
* <ToggleGroup.Item value='2'>Toggle 2</ToggleGroup.Item>
|
|
32
32
|
* <ToggleGroup.Item value='3'>Toggle 3</ToggleGroup.Item>
|
|
33
33
|
* </ToggleGroup.Root>
|
|
34
|
-
* ```
|
|
35
34
|
*/
|
|
36
35
|
export declare const ToggleGroupRoot: import("react").ForwardRefExoticComponent<{
|
|
37
36
|
/** Controlled state for `ToggleGroup` component. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleGroupRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/ToggleGroupRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,MAAM,uBAAuB,GAAG;IACpC,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,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;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;IACnC,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;CACxC,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAE/D;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;IAxB1B,oDAAoD;;IAEpD,qBAAqB;;IAErB,uDAAuD;wBACpC,MAAM,KAAK,IAAI;IAClC,wBAAwB;;IAExB;;;OAGG;WACI,uBAAuB,CAAC,MAAM,CAAC;+GA8EvC,CAAC"}
|
|
@@ -6,6 +6,17 @@ type ToggleGroupComponent = {
|
|
|
6
6
|
Root: typeof ToggleGroupRoot;
|
|
7
7
|
Item: typeof ToggleGroupItem;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* Display a group of buttons that can be toggled between.
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <ToggleGroup.Root onChange={(value) => console.log(value)}>
|
|
14
|
+
* <ToggleGroup.Item value='1'>Toggle 1</ToggleGroup.Item>
|
|
15
|
+
* <ToggleGroup.Item value='2'>Toggle 2</ToggleGroup.Item>
|
|
16
|
+
* <ToggleGroup.Item value='3'>Toggle 3</ToggleGroup.Item>
|
|
17
|
+
* </ToggleGroup.Root>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
9
20
|
declare const ToggleGroup: ToggleGroupComponent;
|
|
10
21
|
export { ToggleGroup, ToggleGroupRoot, ToggleGroupItem };
|
|
11
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,OAAO,eAAe,CAAC;IAC7B,IAAI,EAAE,OAAO,eAAe,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,WAAW,sBAA6B,CAAC;AAQ/C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,OAAO,eAAe,CAAC;IAC7B,IAAI,EAAE,OAAO,eAAe,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,WAAW,sBAA6B,CAAC;AAQ/C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -14,17 +14,29 @@ export type TooltipProps = {
|
|
|
14
14
|
* @default 'top'
|
|
15
15
|
*/
|
|
16
16
|
placement?: 'top' | 'right' | 'bottom' | 'left';
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Delay in milliseconds before opening.
|
|
18
19
|
* @default 150
|
|
19
20
|
*/
|
|
20
21
|
delay?: number;
|
|
21
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Whether the tooltip is open or not.
|
|
22
24
|
* This overrides the internal state of the tooltip.
|
|
23
25
|
*/
|
|
24
26
|
open?: boolean;
|
|
25
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Whether the tooltip is open by default or not.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
26
31
|
defaultOpen?: boolean;
|
|
27
32
|
} & HTMLAttributes<HTMLDivElement> & PortalProps;
|
|
33
|
+
/**
|
|
34
|
+
* Tooltip component that displays a small piece of information when hovering or focusing on an element.
|
|
35
|
+
* @example
|
|
36
|
+
* <Tooltip content='This is a tooltip'>
|
|
37
|
+
* <button>Hover me</button>
|
|
38
|
+
* </Tooltip>
|
|
39
|
+
*/
|
|
28
40
|
export declare const Tooltip: React.ForwardRefExoticComponent<{
|
|
29
41
|
/**
|
|
30
42
|
* The element that triggers the tooltip.
|
|
@@ -38,15 +50,20 @@ export declare const Tooltip: React.ForwardRefExoticComponent<{
|
|
|
38
50
|
* @default 'top'
|
|
39
51
|
*/
|
|
40
52
|
placement?: "top" | "right" | "bottom" | "left" | undefined;
|
|
41
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* Delay in milliseconds before opening.
|
|
42
55
|
* @default 150
|
|
43
56
|
*/
|
|
44
57
|
delay?: number | undefined;
|
|
45
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Whether the tooltip is open or not.
|
|
46
60
|
* This overrides the internal state of the tooltip.
|
|
47
61
|
*/
|
|
48
62
|
open?: boolean | undefined;
|
|
49
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Whether the tooltip is open by default or not.
|
|
65
|
+
* @default false
|
|
66
|
+
*/
|
|
50
67
|
defaultOpen?: boolean | undefined;
|
|
51
68
|
} & HTMLAttributes<HTMLDivElement> & PortalProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
69
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,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;IACf;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;uFA2HJ,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
2
|
export type HeadingProps = {
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Heading level. This will translate into any h1-6 level unless `asChild` is `true`
|
|
5
|
+
* @default 1
|
|
6
|
+
*/
|
|
4
7
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
5
8
|
/** Changes text sizing
|
|
6
9
|
* @default 'xl'
|
|
@@ -15,9 +18,17 @@ export type HeadingProps = {
|
|
|
15
18
|
*/
|
|
16
19
|
asChild?: boolean;
|
|
17
20
|
} & HTMLAttributes<HTMLHeadingElement>;
|
|
18
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Use `Heading` to render h1-6 elements with heading text styles.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <Heading size='lg' level={2}>Heading</Heading>
|
|
26
|
+
*/
|
|
19
27
|
export declare const Heading: import("react").ForwardRefExoticComponent<{
|
|
20
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Heading level. This will translate into any h1-6 level unless `asChild` is `true`
|
|
30
|
+
* @default 1
|
|
31
|
+
*/
|
|
21
32
|
level?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
22
33
|
/** Changes text sizing
|
|
23
34
|
* @default 'xl'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAKzD,MAAM,MAAM,YAAY,GAAG;IACzB
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAKzD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACxD,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,OAAO;IAzBlB;;;OAGG;;IAEH;;;OAGG;;IAEH,yBAAyB;;IAEzB;;;OAGG;;2FA8BJ,CAAC"}
|
|
@@ -12,7 +12,12 @@ export type IngressProps = {
|
|
|
12
12
|
*/
|
|
13
13
|
asChild?: boolean;
|
|
14
14
|
} & HTMLAttributes<HTMLParagraphElement>;
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Use `Ingress` to display text as ingress.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* <Ingress size='lg'>Ingress</Ingress>
|
|
20
|
+
*/
|
|
16
21
|
export declare const Ingress: import("react").ForwardRefExoticComponent<{
|
|
17
22
|
/** Changes text sizing
|
|
18
23
|
* @default md
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC
|
|
1
|
+
{"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,OAAO;IAnBlB;;OAEG;;IAEH,yBAAyB;;IAEzB;;;OAGG;;+FA2BJ,CAAC"}
|
|
@@ -1,39 +1,46 @@
|
|
|
1
1
|
import type { LabelHTMLAttributes } from 'react';
|
|
2
|
-
type FontWeights = 'regular' | 'medium' | 'semibold';
|
|
3
2
|
export type LabelProps = {
|
|
4
3
|
/**
|
|
5
4
|
* Changes text sizing
|
|
6
|
-
*
|
|
7
5
|
* @default md
|
|
8
6
|
*/
|
|
9
7
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
10
8
|
/** Adds margin-bottom */
|
|
11
9
|
spacing?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Adjusts font weight. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset
|
|
12
|
+
* @default 'medium'
|
|
13
|
+
*/
|
|
14
|
+
weight?: 'regular' | 'medium' | 'semibold';
|
|
14
15
|
/**
|
|
15
16
|
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
16
17
|
* @default false
|
|
17
18
|
*/
|
|
18
19
|
asChild?: boolean;
|
|
19
20
|
} & LabelHTMLAttributes<HTMLLabelElement>;
|
|
20
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Use `Label` for labels.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <Label size='lg'>Label</Label>
|
|
26
|
+
*/
|
|
21
27
|
export declare const Label: import("react").ForwardRefExoticComponent<{
|
|
22
28
|
/**
|
|
23
29
|
* Changes text sizing
|
|
24
|
-
*
|
|
25
30
|
* @default md
|
|
26
31
|
*/
|
|
27
32
|
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
28
33
|
/** Adds margin-bottom */
|
|
29
34
|
spacing?: boolean | undefined;
|
|
30
|
-
/**
|
|
31
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Adjusts font weight. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset
|
|
37
|
+
* @default 'medium'
|
|
38
|
+
*/
|
|
39
|
+
weight?: "regular" | "medium" | "semibold" | undefined;
|
|
32
40
|
/**
|
|
33
41
|
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
34
42
|
* @default false
|
|
35
43
|
*/
|
|
36
44
|
asChild?: boolean | undefined;
|
|
37
45
|
} & LabelHTMLAttributes<HTMLLabelElement> & import("react").RefAttributes<HTMLLabelElement>>;
|
|
38
|
-
export {};
|
|
39
46
|
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAKjD,
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAKjD,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC3C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,KAAK;IAzBhB;;;OAGG;;IAEH,yBAAyB;;IAEzB;;;OAGG;;IAEH;;;OAGG;;4FA+BJ,CAAC"}
|
|
@@ -3,7 +3,7 @@ export type ParagraphProps = {
|
|
|
3
3
|
/**
|
|
4
4
|
* Changes text sizing
|
|
5
5
|
*
|
|
6
|
-
* @default
|
|
6
|
+
* @default 'md'
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -11,7 +11,7 @@ export type ParagraphProps = {
|
|
|
11
11
|
spacing?: boolean;
|
|
12
12
|
/**
|
|
13
13
|
* Adjusts styling for paragraph length
|
|
14
|
-
* @default
|
|
14
|
+
* @default 'default'
|
|
15
15
|
*/
|
|
16
16
|
variant?: 'long' | 'default' | 'short';
|
|
17
17
|
/**
|
|
@@ -20,12 +20,17 @@ export type ParagraphProps = {
|
|
|
20
20
|
*/
|
|
21
21
|
asChild?: boolean;
|
|
22
22
|
} & HTMLAttributes<HTMLParagraphElement>;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Use `Paragraph` to display text with paragraph text styles.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* <Paragraph size='lg'>Paragraph</Paragraph>
|
|
28
|
+
*/
|
|
24
29
|
export declare const Paragraph: import("react").ForwardRefExoticComponent<{
|
|
25
30
|
/**
|
|
26
31
|
* Changes text sizing
|
|
27
32
|
*
|
|
28
|
-
* @default
|
|
33
|
+
* @default 'md'
|
|
29
34
|
*
|
|
30
35
|
*/
|
|
31
36
|
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
@@ -33,7 +38,7 @@ export declare const Paragraph: import("react").ForwardRefExoticComponent<{
|
|
|
33
38
|
spacing?: boolean | undefined;
|
|
34
39
|
/**
|
|
35
40
|
* Adjusts styling for paragraph length
|
|
36
|
-
* @default
|
|
41
|
+
* @default 'default'
|
|
37
42
|
*/
|
|
38
43
|
variant?: "long" | "default" | "short" | undefined;
|
|
39
44
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Paragraph/Paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IACvC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAQzC
|
|
1
|
+
{"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Paragraph/Paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IACvC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAQzC;;;;;GAKG;AACH,eAAO,MAAM,SAAS;IAjCpB;;;;;OAKG;;IAEH,yBAAyB;;IAEzB;;;OAGG;;IAEH;;;OAGG;;+FAkCJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Combobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Combobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAY5C,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CA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EH;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;6BACqB,MAAM,EAAE,KAAK,IAAI;IACzC;;;OAGG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;IAEH;;OAEG;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;;;;;OAOG;2BACmB,MAAM,UAAU,MAAM,KAAK,OAAO;IACxD;;;;;;OAMG;4BACoB,MAAM,KAAK,MAAM;;;;;;;;;oKAuXzC,CAAC"}
|
|
@@ -28,6 +28,6 @@ export type ComboboxCustomProps = {
|
|
|
28
28
|
*/
|
|
29
29
|
asChild?: boolean;
|
|
30
30
|
} & React.HTMLAttributes<HTMLDivElement> & (InteractiveProps | NonInteractiveProps);
|
|
31
|
-
|
|
32
|
-
export
|
|
31
|
+
declare const ComboboxCustom: React.ForwardRefExoticComponent<ComboboxCustomProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
export { ComboboxCustom };
|
|
33
33
|
//# sourceMappingURL=Custom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Custom.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Custom.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAWpC,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,IAAI,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACtC,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"Custom.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Custom.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAWpC,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,IAAI,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACtC,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAE3C,QAAA,MAAM,cAAc,4FAkDnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
type ComboboxEmptyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
declare const ComboboxEmpty: React.ForwardRefExoticComponent<ComboboxEmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { ComboboxEmpty };
|
|
5
5
|
//# sourceMappingURL=Empty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Empty.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Empty.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAE/D,QAAA,MAAM,aAAa,2FA0BlB,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
type ComboboxOptionDescriptionProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
3
|
-
|
|
3
|
+
declare const ComboboxOptionDescription: React.ForwardRefExoticComponent<ComboboxOptionDescriptionProps & React.RefAttributes<HTMLSpanElement>>;
|
|
4
4
|
export default ComboboxOptionDescription;
|
|
5
5
|
//# sourceMappingURL=Description.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,KAAK,8BAA8B,GAAG,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;AAE5E,
|
|
1
|
+
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,KAAK,8BAA8B,GAAG,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;AAE5E,QAAA,MAAM,yBAAyB,wGAa7B,CAAC;AAIH,eAAe,yBAAyB,CAAC"}
|
|
@@ -14,7 +14,7 @@ export type ComboboxOptionProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
displayValue?: string;
|
|
16
16
|
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
17
|
-
|
|
17
|
+
declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
18
18
|
/**
|
|
19
19
|
* The value returned when the option is selected
|
|
20
20
|
*/
|
|
@@ -29,4 +29,5 @@ export declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefE
|
|
|
29
29
|
*/
|
|
30
30
|
displayValue?: string | undefined;
|
|
31
31
|
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>>;
|
|
32
|
+
export { ComboboxOption };
|
|
32
33
|
//# sourceMappingURL=Option.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/Option.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAWpC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/Option.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAWpC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAElD,QAAA,MAAM,cAAc;IAflB;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;;OAGG;;4FA6EJ,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -2,9 +2,9 @@ type SelectedIconProps = {
|
|
|
2
2
|
multiple: boolean;
|
|
3
3
|
selected: boolean;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
declare const SelectedIcon: {
|
|
6
6
|
({ multiple, selected }: SelectedIconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export { SelectedIcon };
|
|
10
10
|
//# sourceMappingURL=SelectedIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/SelectedIcon.tsx"],"names":[],"mappings":"AAGA,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"SelectedIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/SelectedIcon.tsx"],"names":[],"mappings":"AAGA,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,YAAY;6BAA4B,iBAAiB;;CAgB9D,CAAC;AAIF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComboboxOption.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/useComboboxOption.tsx"],"names":[],"mappings":"AAQA,KAAK,sBAAsB,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,EAAE,EACF,GAAG,EACH,KAAK,GACN,EAAE,sBAAsB;;;;;;
|
|
1
|
+
{"version":3,"file":"useComboboxOption.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/useComboboxOption.tsx"],"names":[],"mappings":"AAQA,KAAK,sBAAsB,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,EAAE,EACF,GAAG,EACH,KAAK,GACN,EAAE,sBAAsB;;;;;;EAuDxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxChips.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxChips.tsx"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"ComboboxChips.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxChips.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,aAAa;;;CAsDlB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,mBAAmB;;;CAmCxB,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
|
|
@@ -5,8 +5,8 @@ type ComboboxErrorProps = {
|
|
|
5
5
|
error?: ComboboxProps['error'];
|
|
6
6
|
formFieldProps: ReturnType<typeof useFormField>;
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
({ size, error, formFieldProps
|
|
8
|
+
declare const ComboboxError: {
|
|
9
|
+
({ size, error, formFieldProps }: ComboboxErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export default ComboboxError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxError.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxError.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5B,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,cAAc,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACjD,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"ComboboxError.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxError.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5B,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,cAAc,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACjD,CAAC;AAEF,QAAA,MAAM,aAAa;sCAAqC,kBAAkB;;CAWzE,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -6,7 +6,7 @@ type ComboboxInputProps = {
|
|
|
6
6
|
hideChips: NonNullable<ComboboxProps['hideChips']>;
|
|
7
7
|
handleKeyDown: (event: React.KeyboardEvent) => void;
|
|
8
8
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>;
|
|
9
|
-
|
|
9
|
+
declare const ComboboxInput: {
|
|
10
10
|
({ hideClearButton, listId, error, hideChips, handleKeyDown, ...rest }: ComboboxInputProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxInput.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxInput.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAMjD,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9B,SAAS,EAAE,WAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;IACnD,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;CACrD,GAAG,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE9D,QAAA,MAAM,aAAa;4EAOhB,kBAAkB;;CA6IpB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -8,7 +8,7 @@ type ComboboxLabelProps = {
|
|
|
8
8
|
readOnly?: ComboboxProps['readOnly'];
|
|
9
9
|
formFieldProps: ReturnType<typeof useFormField>;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
declare const ComboboxLabel: {
|
|
12
12
|
({ label, description, hideLabel, size, readOnly, formFieldProps, }: ComboboxLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxLabel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,KAAK,kBAAkB,GAAG;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,cAAc,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACjD,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"ComboboxLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxLabel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,KAAK,kBAAkB,GAAG;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,cAAc,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACjD,CAAC;AAEF,QAAA,MAAM,aAAa;yEAOhB,kBAAkB;;CAoCpB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -7,7 +7,7 @@ type ComboboxNativeProps = {
|
|
|
7
7
|
multiple: NonNullable<ComboboxProps['multiple']>;
|
|
8
8
|
name: ComboboxProps['name'];
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
declare const ComboboxNative: {
|
|
11
11
|
({ selectedOptions, multiple, name, }: ComboboxNativeProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxNative.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,KAAK,mBAAmB,GAAG;IACzB,eAAe,EAAE;QACf,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IACjD,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAC7B,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"ComboboxNative.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,KAAK,mBAAmB,GAAG;IACzB,eAAe,EAAE;QACf,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IACjD,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,cAAc;2CAIjB,mBAAmB;;CAmBrB,CAAC;AAIF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useCombobox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useCombobox.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAIF,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C;AAID;;;;GAIG;AACH,eAAO,MAAM,MAAM,WAAY,MAAM,KAAG,MAEvC,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,MAAM,KAAG,MAE5C,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAEC,EACD,YAAY,GACb,EAAE,gBAAgB;;;;;;;;;;;;;;;EAiJlB"}
|
|
@@ -32,7 +32,7 @@ export type SearchProps = {
|
|
|
32
32
|
* @default 27
|
|
33
33
|
*/
|
|
34
34
|
htmlSize?: number;
|
|
35
|
-
} & Omit<FormFieldProps, 'size' | 'description' | 'readOnly'> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'readOnly'>;
|
|
35
|
+
} & Omit<FormFieldProps, 'size' | 'description' | 'readOnly' | 'error' | 'errorId'> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'readOnly'>;
|
|
36
36
|
/** Search field
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
@@ -72,5 +72,5 @@ export declare const Search: import("react").ForwardRefExoticComponent<{
|
|
|
72
72
|
* @default 27
|
|
73
73
|
*/
|
|
74
74
|
htmlSize?: number | undefined;
|
|
75
|
-
} & Omit<FormFieldProps, "size" | "description" | "readOnly"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "readOnly"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
75
|
+
} & Omit<FormFieldProps, "size" | "error" | "errorId" | "description" | "readOnly"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "readOnly"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
76
76
|
//# sourceMappingURL=Search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAe,MAAM,OAAO,CAAC;AASzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC7C,kDAAkD;IAClD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC1E,uCAAuC;IACvC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE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HANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './components';
|
|
2
|
-
export { useSynchronizedAnimation, useIsomorphicLayoutEffect } from './
|
|
2
|
+
export { useSynchronizedAnimation, useIsomorphicLayoutEffect, RovingFocusRoot, useRovingFocus, RovingFocusItem, getNextFocusableValue, getPrevFocusableValue, omit, } from './utilities';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,IAAI,GACL,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import type { RovingFocusElement } from './RovingFocusRoot';
|
|
3
|
+
/** Get the next focusable RovingFocusItem */
|
|
4
|
+
export declare function getNextFocusableValue(items: RovingFocusElement[], value: string): RovingFocusElement | undefined;
|
|
5
|
+
/** Get the previous focusable RovingFocusItem */
|
|
6
|
+
export declare function getPrevFocusableValue(items: RovingFocusElement[], value: string): RovingFocusElement | undefined;
|
|
7
|
+
export declare const RovingFocusItem: import("react").ForwardRefExoticComponent<{
|
|
8
|
+
/** The value of the `RovingFocusItem` used to determine which item should have focus. */
|
|
9
|
+
value?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
asChild?: boolean | undefined;
|
|
15
|
+
} & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
16
|
+
//# sourceMappingURL=RovingFocusItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RovingFocusItem.d.ts","sourceRoot":"","sources":["../../../../src/utilities/RovingFocus/RovingFocusItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAc5D,6CAA6C;AAC7C,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,kBAAkB,EAAE,EAC3B,KAAK,EAAE,MAAM,GACZ,kBAAkB,GAAG,SAAS,CAGhC;AAED,iDAAiD;AACjD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,kBAAkB,EAAE,EAC3B,KAAK,EAAE,MAAM,GACZ,kBAAkB,GAAG,SAAS,CAGhC;AAED,eAAO,MAAM,eAAe;IA3B1B,yFAAyF;;IAEzF;;;OAGG;;6EA6DJ,CAAC"}
|