@digdir/designsystemet-react 1.0.0-next.17 → 1.0.0-next.33
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/Accordion.js +15 -0
- package/dist/cjs/components/Accordion/AccordionContent.js +2 -11
- package/dist/cjs/components/Accordion/AccordionHeading.js +5 -17
- package/dist/cjs/components/Accordion/AccordionItem.js +61 -16
- package/dist/cjs/components/Accordion/index.js +4 -7
- package/dist/cjs/components/Alert/Alert.js +3 -18
- package/dist/cjs/components/Avatar/Avatar.js +36 -0
- package/dist/cjs/components/Badge/Badge.js +6 -1
- package/dist/cjs/components/Button/Button.js +6 -3
- package/dist/cjs/components/Card/Card.js +1 -1
- package/dist/cjs/components/Divider/Divider.js +5 -4
- package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +3 -22
- package/dist/cjs/components/DropdownMenu/DropdownMenuGroup.js +1 -1
- package/dist/cjs/components/DropdownMenu/DropdownMenuItem.js +1 -1
- package/dist/cjs/components/ErrorSummary/ErrorSummaryHeading.js +11 -7
- package/dist/cjs/components/ErrorSummary/ErrorSummaryItem.js +4 -4
- package/dist/cjs/components/ErrorSummary/ErrorSummaryList.js +7 -5
- package/dist/cjs/components/ErrorSummary/ErrorSummaryRoot.js +4 -4
- package/dist/cjs/components/ErrorSummary/index.js +2 -2
- package/dist/cjs/components/HelpText/HelpText.js +6 -4
- package/dist/cjs/components/Link/Link.js +2 -2
- package/dist/cjs/components/List/ListItem.js +2 -4
- package/dist/cjs/components/List/Lists.js +10 -13
- package/dist/cjs/components/List/index.js +7 -14
- package/dist/cjs/components/Modal/ModalHeader.js +1 -1
- package/dist/cjs/components/Pagination/Pagination.js +3 -17
- package/dist/cjs/components/Pagination/PaginationButton.js +2 -3
- package/dist/cjs/components/Pagination/PaginationEllipsis.js +1 -2
- package/dist/cjs/components/Pagination/PaginationItem.js +1 -2
- package/dist/cjs/components/Pagination/{PaginationContent.js → PaginationList.js} +4 -5
- package/dist/cjs/components/Pagination/PaginationNextPrev.js +4 -6
- package/dist/cjs/components/Pagination/PaginationRoot.js +2 -3
- package/dist/cjs/components/Pagination/index.js +4 -4
- package/dist/cjs/components/Popover/Popover.js +94 -0
- package/dist/cjs/components/Popover/PopoverContext.js +16 -0
- package/dist/cjs/components/Popover/PopoverTrigger.js +4 -13
- package/dist/cjs/components/Popover/index.js +6 -9
- package/dist/cjs/components/Table/Table.js +2 -22
- package/dist/cjs/components/Table/TableBody.js +2 -22
- package/dist/cjs/components/Table/TableCell.js +2 -23
- package/dist/cjs/components/Table/TableHead.js +2 -23
- package/dist/cjs/components/Table/TableHeaderCell.js +2 -29
- package/dist/cjs/components/Table/TableRow.js +2 -23
- package/dist/cjs/components/Tag/Tag.js +2 -3
- package/dist/cjs/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +3 -5
- package/dist/cjs/components/Tooltip/Tooltip.js +6 -25
- package/dist/cjs/components/Typography/Heading/Heading.js +2 -2
- package/dist/cjs/components/form/Combobox/Combobox.js +2 -3
- package/dist/cjs/components/form/Combobox/internal/ComboboxInput.js +1 -2
- package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +1 -1
- package/dist/cjs/components/form/Select/Select.js +20 -0
- package/dist/cjs/components/form/Select/SelectOptgroup.js +13 -0
- package/dist/cjs/components/form/Select/SelectOption.js +13 -0
- package/dist/cjs/components/form/Select/index.js +16 -0
- package/dist/cjs/components/form/Select/useSelect.js +49 -0
- package/dist/cjs/components/{Skeleton → loaders/Skeleton}/Circle/Circle.js +2 -2
- package/dist/cjs/components/{Skeleton → loaders/Skeleton}/Rectangle/Rectangle.js +2 -2
- package/dist/cjs/components/{Skeleton → loaders/Skeleton}/Text/Text.js +2 -2
- package/dist/cjs/components/loaders/Spinner/Spinner.js +16 -0
- package/dist/cjs/index.js +56 -60
- package/dist/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +7 -23
- package/dist/cjs/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +164 -0
- package/dist/cjs/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +22 -0
- package/dist/cjs/node_modules/@floating-ui/react/dist/floating-ui.react.js +85 -56
- package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -1
- package/dist/cjs/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +677 -0
- package/dist/cjs/node_modules/@tanstack/virtual-core/dist/esm/index.js +57 -65
- package/dist/cjs/node_modules/@u-elements/u-details/dist/u-details.js +117 -0
- package/dist/cjs/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js +4 -2
- package/dist/esm/components/Accordion/Accordion.js +13 -0
- package/dist/esm/components/Accordion/AccordionContent.js +3 -12
- package/dist/esm/components/Accordion/AccordionHeading.js +7 -19
- package/dist/esm/components/Accordion/AccordionItem.js +63 -17
- package/dist/esm/components/Accordion/index.js +5 -7
- package/dist/esm/components/Alert/Alert.js +4 -19
- package/dist/esm/components/Avatar/Avatar.js +34 -0
- package/dist/esm/components/Badge/Badge.js +6 -1
- package/dist/esm/components/Button/Button.js +8 -5
- package/dist/esm/components/Card/Card.js +1 -1
- package/dist/esm/components/Divider/Divider.js +5 -4
- package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +4 -5
- package/dist/esm/components/DropdownMenu/DropdownMenuGroup.js +1 -1
- package/dist/esm/components/DropdownMenu/DropdownMenuItem.js +1 -1
- package/dist/esm/components/ErrorSummary/ErrorSummaryHeading.js +12 -8
- package/dist/esm/components/ErrorSummary/ErrorSummaryItem.js +4 -4
- package/dist/esm/components/ErrorSummary/ErrorSummaryList.js +7 -5
- package/dist/esm/components/ErrorSummary/ErrorSummaryRoot.js +4 -4
- package/dist/esm/components/ErrorSummary/index.js +1 -1
- package/dist/esm/components/HelpText/HelpText.js +8 -6
- package/dist/esm/components/Link/Link.js +2 -2
- package/dist/esm/components/List/ListItem.js +2 -4
- package/dist/esm/components/List/Lists.js +10 -13
- package/dist/esm/components/List/index.js +7 -12
- package/dist/esm/components/Modal/ModalHeader.js +1 -1
- package/dist/esm/components/Pagination/Pagination.js +3 -17
- package/dist/esm/components/Pagination/PaginationButton.js +2 -3
- package/dist/esm/components/Pagination/PaginationEllipsis.js +1 -2
- package/dist/esm/components/Pagination/PaginationItem.js +1 -2
- package/dist/esm/components/Pagination/{PaginationContent.js → PaginationList.js} +4 -5
- package/dist/esm/components/Pagination/PaginationNextPrev.js +4 -6
- package/dist/esm/components/Pagination/PaginationRoot.js +2 -3
- package/dist/esm/components/Pagination/index.js +4 -4
- package/dist/esm/components/Popover/Popover.js +92 -0
- package/dist/esm/components/Popover/PopoverContext.js +13 -0
- package/dist/esm/components/Popover/PopoverTrigger.js +5 -14
- package/dist/esm/components/Popover/index.js +6 -8
- package/dist/esm/components/Table/Table.js +3 -4
- package/dist/esm/components/Table/TableBody.js +3 -4
- package/dist/esm/components/Table/TableCell.js +3 -5
- package/dist/esm/components/Table/TableHead.js +3 -5
- package/dist/esm/components/Table/TableHeaderCell.js +4 -12
- package/dist/esm/components/Table/TableRow.js +3 -5
- package/dist/esm/components/Tag/Tag.js +2 -3
- package/dist/esm/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +3 -5
- package/dist/esm/components/Tooltip/Tooltip.js +9 -10
- package/dist/esm/components/Typography/Heading/Heading.js +2 -2
- package/dist/esm/components/form/Combobox/Combobox.js +2 -3
- package/dist/esm/components/form/Combobox/internal/ComboboxInput.js +1 -2
- package/dist/esm/components/form/Combobox/useFloatingCombobox.js +1 -1
- package/dist/esm/components/form/Select/Select.js +18 -0
- package/dist/esm/components/form/Select/SelectOptgroup.js +11 -0
- package/dist/esm/components/form/Select/SelectOption.js +11 -0
- package/dist/esm/components/form/Select/index.js +12 -0
- package/dist/esm/components/form/Select/useSelect.js +47 -0
- package/dist/esm/components/{Skeleton → loaders/Skeleton}/Circle/Circle.js +2 -2
- package/dist/esm/components/{Skeleton → loaders/Skeleton}/Rectangle/Rectangle.js +2 -2
- package/dist/esm/components/{Skeleton → loaders/Skeleton}/Text/Text.js +2 -2
- package/dist/esm/components/loaders/Spinner/Spinner.js +14 -0
- package/dist/esm/index.js +13 -15
- package/dist/esm/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
- package/dist/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +7 -21
- package/dist/esm/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +143 -0
- package/dist/esm/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +16 -0
- package/dist/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +85 -56
- package/dist/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
- package/dist/esm/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +667 -0
- package/dist/esm/node_modules/@tanstack/virtual-core/dist/esm/index.js +57 -65
- package/dist/esm/node_modules/@u-elements/u-details/dist/u-details.js +114 -0
- package/dist/esm/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js +4 -2
- package/dist/types/components/Accordion/{AccordionRoot.d.ts → Accordion.d.ts} +5 -5
- package/dist/types/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/types/components/Accordion/AccordionContent.d.ts +1 -1
- package/dist/types/components/Accordion/AccordionContent.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionHeading.d.ts +6 -20
- package/dist/types/components/Accordion/AccordionHeading.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionItem.d.ts +12 -26
- package/dist/types/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/types/components/Accordion/index.d.ts +9 -11
- package/dist/types/components/Accordion/index.d.ts.map +1 -1
- package/dist/types/components/Alert/Alert.d.ts +7 -23
- package/dist/types/components/Alert/Alert.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +78 -0
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/types/components/Avatar/index.d.ts +3 -0
- package/dist/types/components/Avatar/index.d.ts.map +1 -0
- package/dist/types/components/Badge/Badge.d.ts +2 -2
- package/dist/types/components/Badge/Badge.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts +3 -3
- package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsList.d.ts +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsList.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsNav.d.ts +6 -4
- package/dist/types/components/Breadcrumbs/BreadcrumbsNav.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsRoot.d.ts +2 -2
- package/dist/types/components/Breadcrumbs/BreadcrumbsRoot.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/index.d.ts +9 -9
- package/dist/types/components/Button/Button.d.ts +10 -12
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Card/Card.d.ts +2 -2
- package/dist/types/components/Card/Card.d.ts.map +1 -1
- package/dist/types/components/Card/CardContent.d.ts +2 -2
- package/dist/types/components/Card/CardContent.d.ts.map +1 -1
- package/dist/types/components/Card/CardFooter.d.ts +2 -2
- package/dist/types/components/Card/CardFooter.d.ts.map +1 -1
- package/dist/types/components/Card/CardHeader.d.ts +2 -2
- package/dist/types/components/Card/CardHeader.d.ts.map +1 -1
- package/dist/types/components/Card/CardMedia.d.ts +2 -2
- package/dist/types/components/Card/CardMedia.d.ts.map +1 -1
- package/dist/types/components/Chip/Group/Group.d.ts +3 -3
- package/dist/types/components/Chip/Group/Group.d.ts.map +1 -1
- package/dist/types/components/Chip/Removable/Removable.d.ts +2 -2
- package/dist/types/components/Chip/Removable/Removable.d.ts.map +1 -1
- package/dist/types/components/Chip/Toggle/Toggle.d.ts +2 -2
- package/dist/types/components/Chip/Toggle/Toggle.d.ts.map +1 -1
- package/dist/types/components/Divider/Divider.d.ts +3 -15
- package/dist/types/components/Divider/Divider.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts +5 -5
- package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts +5 -5
- package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts +2 -2
- package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts +3 -3
- package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +3 -3
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/ErrorSummaryHeading.d.ts +8 -6
- package/dist/types/components/ErrorSummary/ErrorSummaryHeading.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts +2 -5
- package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/ErrorSummaryList.d.ts +6 -7
- package/dist/types/components/ErrorSummary/ErrorSummaryList.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/ErrorSummaryRoot.d.ts +7 -6
- package/dist/types/components/ErrorSummary/ErrorSummaryRoot.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/index.d.ts +1 -1
- package/dist/types/components/ErrorSummary/index.d.ts.map +1 -1
- package/dist/types/components/HelpText/HelpText.d.ts +19 -8
- package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +2 -2
- package/dist/types/components/Link/Link.d.ts.map +1 -1
- package/dist/types/components/List/ListItem.d.ts +2 -2
- package/dist/types/components/List/ListItem.d.ts.map +1 -1
- package/dist/types/components/List/Lists.d.ts +11 -21
- package/dist/types/components/List/Lists.d.ts.map +1 -1
- package/dist/types/components/List/index.d.ts +15 -14
- package/dist/types/components/List/index.d.ts.map +1 -1
- package/dist/types/components/Modal/ModaContent.d.ts +2 -2
- package/dist/types/components/Modal/ModaContent.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalDialog.d.ts +2 -2
- package/dist/types/components/Modal/ModalDialog.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalFooter.d.ts +2 -2
- package/dist/types/components/Modal/ModalFooter.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalHeader.d.ts +2 -2
- package/dist/types/components/Modal/ModalHeader.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalRoot.d.ts +4 -3
- package/dist/types/components/Modal/ModalRoot.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalTrigger.d.ts +3 -3
- package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +4 -5
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationButton.d.ts +3 -3
- package/dist/types/components/Pagination/PaginationButton.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationEllipsis.d.ts +1 -2
- package/dist/types/components/Pagination/PaginationEllipsis.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationItem.d.ts +2 -3
- package/dist/types/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/dist/types/components/Pagination/{PaginationContent.d.ts → PaginationList.d.ts} +4 -4
- package/dist/types/components/Pagination/PaginationList.d.ts.map +1 -0
- package/dist/types/components/Pagination/PaginationNextPrev.d.ts +4 -5
- package/dist/types/components/Pagination/PaginationNextPrev.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationRoot.d.ts +14 -4
- package/dist/types/components/Pagination/PaginationRoot.d.ts.map +1 -1
- package/dist/types/components/Pagination/index.d.ts +9 -10
- package/dist/types/components/Pagination/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/usePagination.d.ts +1 -1
- package/dist/types/components/Popover/Popover.d.ts +83 -0
- package/dist/types/components/Popover/Popover.d.ts.map +1 -0
- package/dist/types/components/Popover/PopoverContext.d.ts +13 -0
- package/dist/types/components/Popover/PopoverContext.d.ts.map +1 -0
- package/dist/types/components/Popover/PopoverTrigger.d.ts +3 -3
- package/dist/types/components/Popover/PopoverTrigger.d.ts.map +1 -1
- package/dist/types/components/Popover/index.d.ts +8 -10
- package/dist/types/components/Popover/index.d.ts.map +1 -1
- package/dist/types/components/Table/Table.d.ts +3 -3
- package/dist/types/components/Table/Table.d.ts.map +1 -1
- package/dist/types/components/Table/TableBody.d.ts +2 -2
- package/dist/types/components/Table/TableBody.d.ts.map +1 -1
- package/dist/types/components/Table/TableCell.d.ts +2 -2
- package/dist/types/components/Table/TableCell.d.ts.map +1 -1
- package/dist/types/components/Table/TableHead.d.ts +2 -2
- package/dist/types/components/Table/TableHead.d.ts.map +1 -1
- package/dist/types/components/Table/TableHeaderCell.d.ts +5 -25
- package/dist/types/components/Table/TableHeaderCell.d.ts.map +1 -1
- package/dist/types/components/Table/TableRow.d.ts +2 -2
- package/dist/types/components/Table/TableRow.d.ts.map +1 -1
- package/dist/types/components/Tabs/Tab.d.ts +2 -2
- package/dist/types/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabContent.d.ts +2 -2
- package/dist/types/components/Tabs/TabContent.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabList.d.ts +1 -1
- package/dist/types/components/Tabs/TabList.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabsRoot.d.ts +3 -3
- package/dist/types/components/Tabs/TabsRoot.d.ts.map +1 -1
- package/dist/types/components/Tag/Tag.d.ts +2 -2
- package/dist/types/components/Tag/Tag.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts +3 -3
- package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts +3 -3
- package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts.map +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +6 -7
- package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts +2 -2
- package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/dist/types/components/Typography/Heading/Heading.d.ts +4 -4
- package/dist/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/dist/types/components/Typography/Ingress/Ingress.d.ts +2 -2
- package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
- package/dist/types/components/Typography/Label/Label.d.ts +2 -2
- package/dist/types/components/Typography/Label/Label.d.ts.map +1 -1
- package/dist/types/components/Typography/Paragraph/Paragraph.d.ts +2 -2
- package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/Checkbox.d.ts +2 -2
- package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/CheckboxGroup.d.ts +3 -3
- package/dist/types/components/form/Checkbox/CheckboxGroup.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Combobox.d.ts +4 -4
- package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/ComboboxContext.d.ts +5 -4
- package/dist/types/components/form/Combobox/ComboboxContext.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/ComboboxIdContext.d.ts +4 -4
- package/dist/types/components/form/Combobox/ComboboxIdContext.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 +2 -2
- package/dist/types/components/form/Combobox/Option/Description.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Option/Option.d.ts +3 -3
- package/dist/types/components/form/Combobox/Option/Option.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Option/useComboboxOption.d.ts +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts +2 -1
- package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts +3 -2
- package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/useCombobox.d.ts +3 -3
- package/dist/types/components/form/Combobox/useComboboxKeyboard.d.ts +2 -1
- package/dist/types/components/form/Combobox/useComboboxKeyboard.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/useFloatingCombobox.d.ts +13 -12
- package/dist/types/components/form/Combobox/useFloatingCombobox.d.ts.map +1 -1
- package/dist/types/components/form/Fieldset/Fieldset.d.ts +2 -2
- package/dist/types/components/form/Fieldset/Fieldset.d.ts.map +1 -1
- package/dist/types/components/form/Fieldset/FieldsetContext.d.ts +1 -1
- package/dist/types/components/form/Fieldset/FieldsetContext.d.ts.map +1 -1
- package/dist/types/components/form/Fieldset/useFieldset.d.ts +1 -1
- package/dist/types/components/form/Radio/Radio.d.ts +2 -2
- package/dist/types/components/form/Radio/Radio.d.ts.map +1 -1
- package/dist/types/components/form/Radio/RadioGroup.d.ts +3 -3
- package/dist/types/components/form/Radio/RadioGroup.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/components/form/{NativeSelect/NativeSelect.d.ts → Select/Select.d.ts} +5 -5
- package/dist/types/components/form/Select/Select.d.ts.map +1 -0
- package/dist/types/components/form/Select/SelectOptgroup.d.ts +16 -0
- package/dist/types/components/form/Select/SelectOptgroup.d.ts.map +1 -0
- package/dist/types/components/form/Select/SelectOption.d.ts +16 -0
- package/dist/types/components/form/Select/SelectOption.d.ts.map +1 -0
- package/dist/types/components/form/Select/index.d.ts +13 -0
- package/dist/types/components/form/Select/index.d.ts.map +1 -0
- package/dist/types/components/form/Select/useSelect.d.ts +10 -0
- package/dist/types/components/form/Select/useSelect.d.ts.map +1 -0
- package/dist/types/components/form/Switch/Switch.d.ts +2 -2
- package/dist/types/components/form/Switch/Switch.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.d.ts +2 -2
- package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/form/Textfield/Textfield.d.ts +2 -2
- package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +4 -4
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/loaders/Skeleton/Circle/Circle.d.ts.map +1 -0
- package/dist/types/components/loaders/Skeleton/Rectangle/Rectangle.d.ts.map +1 -0
- package/dist/types/components/loaders/Skeleton/Text/Text.d.ts.map +1 -0
- package/dist/types/components/loaders/Skeleton/index.d.ts.map +1 -0
- package/dist/types/components/{Spinner → loaders/Spinner}/Spinner.d.ts +3 -3
- package/dist/types/components/loaders/Spinner/Spinner.d.ts.map +1 -0
- package/dist/types/components/loaders/Spinner/index.d.ts.map +1 -0
- package/dist/types/utilities/AnimateHeight/AnimateHeight.d.ts +2 -2
- package/dist/types/utilities/AnimateHeight/AnimateHeight.d.ts.map +1 -1
- package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts +2 -2
- package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts.map +1 -1
- package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts +3 -3
- package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts.map +1 -1
- package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts +163 -162
- package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -1
- package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts +1 -1
- package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +1 -1
- package/package.json +9 -4
- package/dist/cjs/components/Accordion/AccordionRoot.js +0 -16
- package/dist/cjs/components/Box/Box.js +0 -15
- package/dist/cjs/components/List/ListHeading.js +0 -28
- package/dist/cjs/components/List/ListRoot.js +0 -21
- package/dist/cjs/components/Popover/PopoverContent.js +0 -105
- package/dist/cjs/components/Popover/PopoverRoot.js +0 -68
- package/dist/cjs/components/Spinner/Spinner.js +0 -24
- package/dist/cjs/components/form/NativeSelect/NativeSelect.js +0 -21
- package/dist/cjs/components/form/NativeSelect/useNativeSelect.js +0 -55
- package/dist/cjs/utilities/AnimateHeight/AnimateHeight.js +0 -46
- package/dist/cjs/utilities/hooks/useMediaQuery/useMediaQuery.js +0 -49
- package/dist/cjs/utilities/hooks/usePrevious.js +0 -14
- package/dist/esm/components/Accordion/AccordionRoot.js +0 -14
- package/dist/esm/components/Box/Box.js +0 -13
- package/dist/esm/components/List/ListHeading.js +0 -26
- package/dist/esm/components/List/ListRoot.js +0 -18
- package/dist/esm/components/Popover/PopoverContent.js +0 -85
- package/dist/esm/components/Popover/PopoverRoot.js +0 -47
- package/dist/esm/components/Spinner/Spinner.js +0 -22
- package/dist/esm/components/form/NativeSelect/NativeSelect.js +0 -19
- package/dist/esm/components/form/NativeSelect/useNativeSelect.js +0 -53
- package/dist/esm/utilities/AnimateHeight/AnimateHeight.js +0 -44
- package/dist/esm/utilities/hooks/useMediaQuery/useMediaQuery.js +0 -47
- package/dist/esm/utilities/hooks/usePrevious.js +0 -12
- package/dist/types/components/Accordion/AccordionRoot.d.ts.map +0 -1
- package/dist/types/components/Box/Box.d.ts +0 -56
- package/dist/types/components/Box/Box.d.ts.map +0 -1
- package/dist/types/components/Box/index.d.ts +0 -3
- package/dist/types/components/Box/index.d.ts.map +0 -1
- package/dist/types/components/List/ListHeading.d.ts +0 -9
- package/dist/types/components/List/ListHeading.d.ts.map +0 -1
- package/dist/types/components/List/ListRoot.d.ts +0 -34
- package/dist/types/components/List/ListRoot.d.ts.map +0 -1
- package/dist/types/components/Pagination/PaginationContent.d.ts.map +0 -1
- package/dist/types/components/Popover/PopoverContent.d.ts +0 -8
- package/dist/types/components/Popover/PopoverContent.d.ts.map +0 -1
- package/dist/types/components/Popover/PopoverRoot.d.ts +0 -54
- package/dist/types/components/Popover/PopoverRoot.d.ts.map +0 -1
- package/dist/types/components/Skeleton/Circle/Circle.d.ts.map +0 -1
- package/dist/types/components/Skeleton/Rectangle/Rectangle.d.ts.map +0 -1
- package/dist/types/components/Skeleton/Text/Text.d.ts.map +0 -1
- package/dist/types/components/Skeleton/index.d.ts.map +0 -1
- package/dist/types/components/Spinner/Spinner.d.ts.map +0 -1
- package/dist/types/components/Spinner/index.d.ts.map +0 -1
- package/dist/types/components/form/NativeSelect/NativeSelect.d.ts.map +0 -1
- package/dist/types/components/form/NativeSelect/index.d.ts +0 -3
- package/dist/types/components/form/NativeSelect/index.d.ts.map +0 -1
- package/dist/types/components/form/NativeSelect/useNativeSelect.d.ts +0 -10
- package/dist/types/components/form/NativeSelect/useNativeSelect.d.ts.map +0 -1
- /package/dist/cjs/components/{Skeleton → loaders/Skeleton}/index.js +0 -0
- /package/dist/esm/components/{Skeleton → loaders/Skeleton}/index.js +0 -0
- /package/dist/types/components/{Skeleton → loaders/Skeleton}/Circle/Circle.d.ts +0 -0
- /package/dist/types/components/{Skeleton → loaders/Skeleton}/Rectangle/Rectangle.d.ts +0 -0
- /package/dist/types/components/{Skeleton → loaders/Skeleton}/Text/Text.d.ts +0 -0
- /package/dist/types/components/{Skeleton → loaders/Skeleton}/index.d.ts +0 -0
- /package/dist/types/components/{Spinner → loaders/Spinner}/index.d.ts +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import * as React from 'react';
|
|
1
|
+
import type { HTMLAttributes, ReactElement, RefAttributes } from 'react';
|
|
3
2
|
import type { PortalProps } from '../../types/Portal';
|
|
4
3
|
export type TooltipProps = {
|
|
5
4
|
/**
|
|
6
5
|
* The element that triggers the tooltip.
|
|
7
|
-
* @note Needs to be a single ReactElement and not: <
|
|
6
|
+
* @note Needs to be a single ReactElement and not: <Fragment/> | <></>
|
|
8
7
|
*/
|
|
9
|
-
children:
|
|
8
|
+
children: ReactElement & RefAttributes<HTMLElement>;
|
|
10
9
|
/** Content of the tooltip */
|
|
11
10
|
content: string;
|
|
12
11
|
/**
|
|
@@ -40,9 +39,9 @@ export type TooltipProps = {
|
|
|
40
39
|
export declare const Tooltip: React.ForwardRefExoticComponent<{
|
|
41
40
|
/**
|
|
42
41
|
* The element that triggers the tooltip.
|
|
43
|
-
* @note Needs to be a single ReactElement and not: <
|
|
42
|
+
* @note Needs to be a single ReactElement and not: <Fragment/> | <></>
|
|
44
43
|
*/
|
|
45
|
-
children:
|
|
44
|
+
children: ReactElement & RefAttributes<HTMLElement>;
|
|
46
45
|
/** Content of the tooltip */
|
|
47
46
|
content: string;
|
|
48
47
|
/**
|
|
@@ -65,5 +64,5 @@ export declare const Tooltip: React.ForwardRefExoticComponent<{
|
|
|
65
64
|
* @default false
|
|
66
65
|
*/
|
|
67
66
|
defaultOpen?: boolean;
|
|
68
|
-
} & HTMLAttributes<HTMLDivElement> & PortalProps &
|
|
67
|
+
} & HTMLAttributes<HTMLDivElement> & PortalProps & RefAttributes<HTMLDivElement>>;
|
|
69
68
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,cAAc,EAEd,YAAY,EACZ,aAAa,EACd,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMtD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,QAAQ,EAAE,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;IACpD,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,cAAc,CAAC,cAAc,CAAC,GAChC,WAAW,CAAC;AAEd;;;;;;GAMG;AACH,eAAO,MAAM,OAAO;IArClB;;;OAGG;cACO,YAAY,GAAG,aAAa,CAAC,WAAW,CAAC;IACnD,6BAA6B;aACpB,MAAM;IACf;;;OAGG;gBACS,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;IAC/C;;;OAGG;YACK,MAAM;IACd;;;OAGG;WACI,OAAO;IACd;;;OAGG;kBACW,OAAO;iFAuHtB,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type ErrorMessageProps = {
|
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & HTMLAttributes<HTMLParagraphElement>;
|
|
18
18
|
/** Use `ErrorMessage` to display text as error message. */
|
|
19
|
-
export declare const ErrorMessage:
|
|
19
|
+
export declare const ErrorMessage: React.ForwardRefExoticComponent<{
|
|
20
20
|
/**
|
|
21
21
|
* Changes text sizing
|
|
22
22
|
* @default md
|
|
@@ -31,5 +31,5 @@ export declare const ErrorMessage: import("react").ForwardRefExoticComponent<{
|
|
|
31
31
|
* @default false
|
|
32
32
|
*/
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
} & HTMLAttributes<HTMLParagraphElement> &
|
|
34
|
+
} & HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
35
|
//# sourceMappingURL=ErrorMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/ErrorMessage/ErrorMessage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,2DAA2D;AAC3D,eAAO,MAAM,YAAY;IAjBvB;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB,yBAAyB;YACjB,OAAO;IACf;;;OAGG;cACO,OAAO
|
|
1
|
+
{"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/ErrorMessage/ErrorMessage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,2DAA2D;AAC3D,eAAO,MAAM,YAAY;IAjBvB;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB,yBAAyB;YACjB,OAAO;IACf;;;OAGG;cACO,OAAO;qFAyBlB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { HTMLAttributes } from 'react';
|
|
|
2
2
|
export type HeadingProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Heading level. This will translate into any h1-6 level unless `asChild` is `true`
|
|
5
|
-
* @default
|
|
5
|
+
* @default 2
|
|
6
6
|
*/
|
|
7
7
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
8
8
|
/** Changes text sizing
|
|
@@ -24,10 +24,10 @@ export type HeadingProps = {
|
|
|
24
24
|
* @example
|
|
25
25
|
* <Heading size='lg' level={2}>Heading</Heading>
|
|
26
26
|
*/
|
|
27
|
-
export declare const Heading:
|
|
27
|
+
export declare const Heading: React.ForwardRefExoticComponent<{
|
|
28
28
|
/**
|
|
29
29
|
* Heading level. This will translate into any h1-6 level unless `asChild` is `true`
|
|
30
|
-
* @default
|
|
30
|
+
* @default 2
|
|
31
31
|
*/
|
|
32
32
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
33
33
|
/** Changes text sizing
|
|
@@ -42,5 +42,5 @@ export declare const Heading: import("react").ForwardRefExoticComponent<{
|
|
|
42
42
|
* @default false
|
|
43
43
|
*/
|
|
44
44
|
asChild?: boolean;
|
|
45
|
-
} & HTMLAttributes<HTMLHeadingElement> &
|
|
45
|
+
} & HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
46
46
|
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAGzD,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;YACK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;IAC7B;;;OAGG;WACI,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK;IACvD,yBAAyB;cACf,OAAO;IACjB;;;OAGG;cACO,OAAO;
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAGzD,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;YACK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;IAC7B;;;OAGG;WACI,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK;IACvD,yBAAyB;cACf,OAAO;IACjB;;;OAGG;cACO,OAAO;iFA6BlB,CAAC"}
|
|
@@ -18,7 +18,7 @@ export type IngressProps = {
|
|
|
18
18
|
* @example
|
|
19
19
|
* <Ingress size='lg'>Ingress</Ingress>
|
|
20
20
|
*/
|
|
21
|
-
export declare const Ingress:
|
|
21
|
+
export declare const Ingress: React.ForwardRefExoticComponent<{
|
|
22
22
|
/** Changes text sizing
|
|
23
23
|
* @default md
|
|
24
24
|
*/
|
|
@@ -30,5 +30,5 @@ export declare const Ingress: import("react").ForwardRefExoticComponent<{
|
|
|
30
30
|
* @default false
|
|
31
31
|
*/
|
|
32
32
|
asChild?: boolean;
|
|
33
|
-
} & HTMLAttributes<HTMLParagraphElement> &
|
|
33
|
+
} & HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
34
34
|
//# sourceMappingURL=Ingress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,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;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB;;;OAGG;cACO,OAAO
|
|
1
|
+
{"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,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;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB;;;OAGG;cACO,OAAO;qFA0BlB,CAAC"}
|
|
@@ -24,7 +24,7 @@ export type LabelProps = {
|
|
|
24
24
|
* @example
|
|
25
25
|
* <Label size='lg'>Label</Label>
|
|
26
26
|
*/
|
|
27
|
-
export declare const Label:
|
|
27
|
+
export declare const Label: React.ForwardRefExoticComponent<{
|
|
28
28
|
/**
|
|
29
29
|
* Changes text sizing
|
|
30
30
|
* @default md
|
|
@@ -42,5 +42,5 @@ export declare const Label: import("react").ForwardRefExoticComponent<{
|
|
|
42
42
|
* @default false
|
|
43
43
|
*/
|
|
44
44
|
asChild?: boolean;
|
|
45
|
-
} & LabelHTMLAttributes<HTMLLabelElement> &
|
|
45
|
+
} & LabelHTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>>;
|
|
46
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":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAGjD,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;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB;;;OAGG;aACM,SAAS,GAAG,QAAQ,GAAG,UAAU;IAC1C;;;OAGG;cACO,OAAO;
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Label/Label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAGjD,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;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB;;;OAGG;aACM,SAAS,GAAG,QAAQ,GAAG,UAAU;IAC1C;;;OAGG;cACO,OAAO;kFA8BlB,CAAC"}
|
|
@@ -26,7 +26,7 @@ export type ParagraphProps = {
|
|
|
26
26
|
* @example
|
|
27
27
|
* <Paragraph size='lg'>Paragraph</Paragraph>
|
|
28
28
|
*/
|
|
29
|
-
export declare const Paragraph:
|
|
29
|
+
export declare const Paragraph: React.ForwardRefExoticComponent<{
|
|
30
30
|
/**
|
|
31
31
|
* Changes text sizing
|
|
32
32
|
*
|
|
@@ -46,5 +46,5 @@ export declare const Paragraph: import("react").ForwardRefExoticComponent<{
|
|
|
46
46
|
* @default false
|
|
47
47
|
*/
|
|
48
48
|
asChild?: boolean;
|
|
49
|
-
} & HTMLAttributes<HTMLParagraphElement> &
|
|
49
|
+
} & HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
50
50
|
//# sourceMappingURL=Paragraph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Paragraph/Paragraph.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,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;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB;;;OAGG;cACO,MAAM,GAAG,SAAS,GAAG,OAAO;IACtC;;;OAGG;cACO,OAAO
|
|
1
|
+
{"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Paragraph/Paragraph.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,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;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;cACf,OAAO;IACjB;;;OAGG;cACO,MAAM,GAAG,SAAS,GAAG,OAAO;IACtC;;;OAGG;cACO,OAAO;qFAiClB,CAAC"}
|
|
@@ -10,7 +10,7 @@ export type CheckboxProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
indeterminate?: boolean;
|
|
12
12
|
} & Omit<FormFieldProps, 'error' | 'errorId'> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'value'>;
|
|
13
|
-
export declare const Checkbox:
|
|
13
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<{
|
|
14
14
|
/** Checkbox label */
|
|
15
15
|
children?: ReactNode;
|
|
16
16
|
/** Value of the `input` element */
|
|
@@ -19,5 +19,5 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<{
|
|
|
19
19
|
* @default false
|
|
20
20
|
*/
|
|
21
21
|
indeterminate?: boolean;
|
|
22
|
-
} & Omit<FormFieldProps, "error" | "errorId"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value"> &
|
|
22
|
+
} & Omit<FormFieldProps, "error" | "errorId"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value"> & React.RefAttributes<HTMLInputElement>>;
|
|
23
23
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,MAAM,MAAM,aAAa,GAAG;IAC1B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC,GAC3C,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;AAEhE,eAAO,MAAM,QAAQ;IAXnB,qBAAqB;eACV,SAAS;IACpB,mCAAmC;WAC5B,MAAM;IACb;;OAEG;oBACa,OAAO;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,MAAM,MAAM,aAAa,GAAG;IAC1B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC,GAC3C,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;AAEhE,eAAO,MAAM,QAAQ;IAXnB,qBAAqB;eACV,SAAS;IACpB,mCAAmC;WAC5B,MAAM;IACb;;OAEG;oBACa,OAAO;sJAuExB,CAAC"}
|
|
@@ -5,7 +5,7 @@ export type CheckboxGroupContextProps = {
|
|
|
5
5
|
defaultValue?: string[];
|
|
6
6
|
toggleValue: (value: string) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const CheckboxGroupContext:
|
|
8
|
+
export declare const CheckboxGroupContext: React.Context<CheckboxGroupContextProps | null>;
|
|
9
9
|
export type CheckboxGroupProps = {
|
|
10
10
|
/** Collection of `Checkbox` components */
|
|
11
11
|
children?: ReactNode;
|
|
@@ -16,7 +16,7 @@ export type CheckboxGroupProps = {
|
|
|
16
16
|
/** Callback event with checked `Checkbox` values */
|
|
17
17
|
onChange?: (value: string[]) => void;
|
|
18
18
|
} & Omit<FieldsetProps, 'onChange'>;
|
|
19
|
-
export declare const CheckboxGroup:
|
|
19
|
+
export declare const CheckboxGroup: React.ForwardRefExoticComponent<{
|
|
20
20
|
/** Collection of `Checkbox` components */
|
|
21
21
|
children?: ReactNode;
|
|
22
22
|
/** Controlled state for `Checkbox`'s */
|
|
@@ -25,5 +25,5 @@ export declare const CheckboxGroup: import("react").ForwardRefExoticComponent<{
|
|
|
25
25
|
defaultValue?: string[];
|
|
26
26
|
/** Callback event with checked `Checkbox` values */
|
|
27
27
|
onChange?: (value: string[]) => void;
|
|
28
|
-
} & Omit<FieldsetProps, "onChange"> &
|
|
28
|
+
} & Omit<FieldsetProps, "onChange"> & React.RefAttributes<HTMLFieldSetElement>>;
|
|
29
29
|
//# sourceMappingURL=CheckboxGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Checkbox/CheckboxGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"CheckboxGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Checkbox/CheckboxGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,oBAAoB,iDACsB,CAAC;AAExD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACtC,GAAG,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AAEpC,eAAO,MAAM,aAAa;IAVxB,0CAA0C;eAC/B,SAAS;IACpB,yCAAyC;YACjC,MAAM,EAAE;IAChB,mCAAmC;mBACpB,MAAM,EAAE;IACvB,oDAAoD;eACzC,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI;+EA+CrC,CAAC"}
|
|
@@ -94,7 +94,7 @@ export type ComboboxProps = {
|
|
|
94
94
|
*/
|
|
95
95
|
chipSrLabel?: (option: Option) => string;
|
|
96
96
|
} & PortalProps & FormFieldProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>;
|
|
97
|
-
export declare const ComboboxComponent:
|
|
97
|
+
export declare const ComboboxComponent: React.ForwardRefExoticComponent<{
|
|
98
98
|
/**
|
|
99
99
|
* Label for the combobox.
|
|
100
100
|
*
|
|
@@ -193,8 +193,8 @@ export declare const ComboboxComponent: import("react").ForwardRefExoticComponen
|
|
|
193
193
|
id?: string;
|
|
194
194
|
readOnly?: boolean;
|
|
195
195
|
size?: "sm" | "md" | "lg";
|
|
196
|
-
} & Pick<
|
|
197
|
-
export declare const Combobox:
|
|
196
|
+
} & Pick<React.HTMLAttributes<HTMLElement>, "aria-describedby"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLInputElement>>;
|
|
197
|
+
export declare const Combobox: React.ForwardRefExoticComponent<{
|
|
198
198
|
/**
|
|
199
199
|
* Label for the combobox.
|
|
200
200
|
*
|
|
@@ -293,5 +293,5 @@ export declare const Combobox: import("react").ForwardRefExoticComponent<{
|
|
|
293
293
|
id?: string;
|
|
294
294
|
readOnly?: boolean;
|
|
295
295
|
size?: "sm" | "md" | "lg";
|
|
296
|
-
} & Pick<
|
|
296
|
+
} & Pick<React.HTMLAttributes<HTMLElement>, "aria-describedby"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLInputElement>>;
|
|
297
297
|
//# sourceMappingURL=Combobox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Combobox.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,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":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAUtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAM5C,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;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,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IACzD;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;CAC1C,GAAG,WAAW,GACb,cAAc,GACd,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAEtD,eAAO,MAAM,iBAAiB;IA9F5B;;;;OAIG;YACK,SAAS;IACjB;;;OAGG;gBACS,OAAO;IACnB;;OAEG;YACK,MAAM,EAAE;IAChB;;OAEG;mBACY,MAAM,EAAE;IACvB;;OAEG;oBACa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI;IACzC;;;OAGG;eACQ,OAAO;IAClB;;OAEG;WACI,MAAM;IACb;;;OAGG;eACQ,MAAM;IACjB;;;OAGG;gBACS,OAAO;IACnB;;;OAGG;sBACe,OAAO;IACzB;;;OAGG;uBACgB,MAAM;IACzB;;;;OAIG;cACO,OAAO;IACjB;;OAEG;iBACU,MAAM;IACnB;;;;OAIG;cACO,OAAO;IACjB;;;OAGG;mBACY,MAAM;IACrB;;;;;;;OAOG;aACM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO;IACxD;;;;;;OAMG;kBACW,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM;;;;;;;;;8JA8WzC,CAAC;AAEF,eAAO,MAAM,QAAQ;IAzcnB;;;;OAIG;YACK,SAAS;IACjB;;;OAGG;gBACS,OAAO;IACnB;;OAEG;YACK,MAAM,EAAE;IAChB;;OAEG;mBACY,MAAM,EAAE;IACvB;;OAEG;oBACa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI;IACzC;;;OAGG;eACQ,OAAO;IAClB;;OAEG;WACI,MAAM;IACb;;;OAGG;eACQ,MAAM;IACjB;;;OAGG;gBACS,OAAO;IACnB;;;OAGG;sBACe,OAAO;IACzB;;;OAGG;uBACgB,MAAM;IACzB;;;;OAIG;cACO,OAAO;IACjB;;OAEG;iBACU,MAAM;IACnB;;;;OAIG;cACO,OAAO;IACjB;;;OAGG;mBACY,MAAM;IACrB;;;;;;;OAOG;aACM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO;IACxD;;;;;;OAMG;kBACW,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM;;;;;;;;;8JAsXzC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { UseFloatingReturn, UseListNavigationProps, useInteractions } from '@floating-ui/react';
|
|
2
|
+
import type { Dispatch, Ref, RefObject, SetStateAction } from 'react';
|
|
2
3
|
import type { useFormField } from '../useFormField';
|
|
3
4
|
import type { ComboboxProps } from './Combobox';
|
|
4
5
|
import type { Option, useCombobox } from './useCombobox';
|
|
@@ -18,11 +19,11 @@ export type ComboboxContextType = {
|
|
|
18
19
|
size: NonNullable<ComboboxProps['size']>;
|
|
19
20
|
formFieldProps: ReturnType<typeof useFormField>;
|
|
20
21
|
refs: UseFloatingReturn['refs'];
|
|
21
|
-
inputRef:
|
|
22
|
+
inputRef: RefObject<HTMLInputElement>;
|
|
22
23
|
open: boolean;
|
|
23
24
|
inputValue: string;
|
|
24
25
|
customIds: string[];
|
|
25
|
-
setInputValue:
|
|
26
|
+
setInputValue: Dispatch<SetStateAction<string>>;
|
|
26
27
|
setOpen: (open: boolean) => void;
|
|
27
28
|
getReferenceProps: (props?: Record<string, unknown>) => Record<string, unknown>;
|
|
28
29
|
getItemProps: ReturnType<typeof useInteractions>['getItemProps'];
|
|
@@ -34,8 +35,8 @@ export type ComboboxContextType = {
|
|
|
34
35
|
clear?: boolean;
|
|
35
36
|
}) => void;
|
|
36
37
|
listRef: UseListNavigationProps['listRef'];
|
|
37
|
-
forwareddRef:
|
|
38
|
+
forwareddRef: Ref<HTMLInputElement>;
|
|
38
39
|
setListRef: (index: number, ref: HTMLElement | null) => void;
|
|
39
40
|
};
|
|
40
|
-
export declare const ComboboxContext:
|
|
41
|
+
export declare const ComboboxContext: React.Context<ComboboxContextType | undefined>;
|
|
41
42
|
//# sourceMappingURL=ComboboxContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/ComboboxContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EAChB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ComboboxContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/ComboboxContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IACjD,QAAQ,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IACjD,QAAQ,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IACjD,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,gBAAgB,EAAE,WAAW,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACjE,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACnE,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,eAAe,EAAE;QACf,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,IAAI,EAAE,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,cAAc,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IAChD,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,QAAQ,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAChD,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,iBAAiB,EAAE,CACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7B,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,cAAc,CAAC,CAAC;IACjE,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;IACvD,kBAAkB,EAAE,CAAC,IAAI,EAAE;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,KAAK,IAAI,CAAC;IACX,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,YAAY,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACpC,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9D,CAAC;AAEF,eAAO,MAAM,eAAe,gDAE3B,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { Dispatch } from 'react';
|
|
1
|
+
import type { Dispatch, ReactNode } from 'react';
|
|
2
2
|
type ComboboxIdContextType = {
|
|
3
3
|
activeIndex: number;
|
|
4
4
|
};
|
|
5
|
-
export declare const ComboboxIdContext:
|
|
5
|
+
export declare const ComboboxIdContext: React.Context<ComboboxIdContextType>;
|
|
6
6
|
type SetActiveIndexAction = {
|
|
7
7
|
type: 'SET_ACTIVE_INDEX';
|
|
8
8
|
payload: number;
|
|
9
9
|
};
|
|
10
10
|
type ComboboxIdReducerAction = SetActiveIndexAction;
|
|
11
11
|
export declare const ComboboxIdReducer: (state: ComboboxIdContextType, action: ComboboxIdReducerAction) => ComboboxIdContextType;
|
|
12
|
-
export declare const ComboboxIdDispatch:
|
|
12
|
+
export declare const ComboboxIdDispatch: React.Context<Dispatch<SetActiveIndexAction>>;
|
|
13
13
|
export declare const ComboboxIdProvider: ({ children, }: {
|
|
14
|
-
children:
|
|
14
|
+
children: ReactNode;
|
|
15
15
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export declare function useComboboxIdDispatch(): Dispatch<SetActiveIndexAction>;
|
|
17
17
|
export declare function useComboboxId(): ComboboxIdContextType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxIdContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/ComboboxIdContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ComboboxIdContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/ComboboxIdContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjD,KAAK,qBAAqB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sCAE5B,CAAC;AAEH,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,uBAAuB,GAAG,oBAAoB,CAAC;AAEpD,eAAO,MAAM,iBAAiB,UACrB,qBAAqB,UACpB,uBAAuB,0BAWhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,+CAI7B,CAAC;AAEH,eAAO,MAAM,kBAAkB,kBAE5B;IACD,QAAQ,EAAE,SAAS,CAAC;CACrB,4CAYA,CAAC;AAEF,wBAAgB,qBAAqB,mCAEpC;AAED,wBAAgB,aAAa,0BAE5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
2
|
type InteractiveProps = {
|
|
3
3
|
interactive: true;
|
|
4
4
|
id: string;
|
|
@@ -27,7 +27,7 @@ export type ComboboxCustomProps = {
|
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
29
|
asChild?: boolean;
|
|
30
|
-
} &
|
|
30
|
+
} & HTMLAttributes<HTMLDivElement> & (InteractiveProps | NonInteractiveProps);
|
|
31
31
|
declare const ComboboxCustom: React.ForwardRefExoticComponent<ComboboxCustomProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
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":"AAIA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Custom.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Custom.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,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,cAAc,CAAC,cAAc,CAAC,GAChC,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAE3C,QAAA,MAAM,cAAc,4FA+CnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export type ComboboxEmptyProps =
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
export type ComboboxEmptyProps = HTMLAttributes<HTMLDivElement>;
|
|
3
3
|
declare const ComboboxEmpty: React.ForwardRefExoticComponent<ComboboxEmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
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":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/Empty.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEhE,QAAA,MAAM,aAAa,2FAuBlB,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
type ComboboxOptionDescriptionProps =
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
type ComboboxOptionDescriptionProps = 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":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/Description.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,8BAA8B,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEtE,QAAA,MAAM,yBAAyB,wGAa7B,CAAC;AAIH,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
export type ComboboxOptionProps = {
|
|
3
3
|
/**
|
|
4
4
|
* The value returned when the option is selected
|
|
@@ -13,7 +13,7 @@ export type ComboboxOptionProps = {
|
|
|
13
13
|
* Required if children is not composed of strings only.
|
|
14
14
|
*/
|
|
15
15
|
displayValue?: string;
|
|
16
|
-
} &
|
|
16
|
+
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
17
17
|
declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
18
18
|
/**
|
|
19
19
|
* The value returned when the option is selected
|
|
@@ -28,6 +28,6 @@ declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefExoticCo
|
|
|
28
28
|
* Required if children is not composed of strings only.
|
|
29
29
|
*/
|
|
30
30
|
displayValue?: string;
|
|
31
|
-
} &
|
|
31
|
+
} & ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>>;
|
|
32
32
|
export { ComboboxOption };
|
|
33
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":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/Option.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAUlD,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,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,QAAA,MAAM,cAAc;IAflB;;OAEG;WACI,MAAM;IACb;;OAEG;kBACW,MAAM;IACpB;;;OAGG;mBACY,MAAM;sFAmEtB,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ type UseComboboxOptionProps = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const useComboboxOption: ({ id, ref, value, }: UseComboboxOptionProps) => {
|
|
8
8
|
id: string;
|
|
9
|
-
ref: ((instance: HTMLButtonElement | null) => void |
|
|
9
|
+
ref: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | null;
|
|
10
10
|
selected: import("../useCombobox").Option;
|
|
11
11
|
active: boolean;
|
|
12
12
|
onOptionClick: (...args: never[]) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
declare const ComboboxClearButton: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
2
3
|
export default ComboboxClearButton;
|
|
3
4
|
//# sourceMappingURL=ComboboxClearButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,QAAA,MAAM,mBAAmB,mHAqCvB,CAAC;AAIH,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { InputHTMLAttributes, KeyboardEvent } from 'react';
|
|
1
2
|
import type { ComboboxProps } from '../Combobox';
|
|
2
3
|
type ComboboxInputProps = {
|
|
3
4
|
hideClearButton: ComboboxProps['hideClearButton'];
|
|
4
5
|
listId: string;
|
|
5
6
|
error: ComboboxProps['error'];
|
|
6
7
|
hideChips: NonNullable<ComboboxProps['hideChips']>;
|
|
7
|
-
handleKeyDown: (event:
|
|
8
|
-
} & Omit<
|
|
8
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
9
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>;
|
|
9
10
|
declare const ComboboxInput: {
|
|
10
11
|
({ hideClearButton, listId, error, hideChips, handleKeyDown, ...rest }: ComboboxInputProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxInput.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,mBAAmB,EACnB,aAAa,EAEd,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAQjD,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,aAAa,KAAK,IAAI,CAAC;CAC/C,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAExD,QAAA,MAAM,aAAa;4EAOhB,kBAAkB;;CAmIpB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type Option = {
|
|
|
16
16
|
description?: string;
|
|
17
17
|
};
|
|
18
18
|
export declare function useCombobox({ children, inputValue, multiple, filter, initialValue, }: UseComboboxProps): {
|
|
19
|
-
filteredOptionsChildren: (ReactElement<ComboboxOptionProps, string |
|
|
19
|
+
filteredOptionsChildren: (ReactElement<ComboboxOptionProps, string | React.JSXElementConstructor<any>> | undefined)[];
|
|
20
20
|
filteredOptions: string[];
|
|
21
21
|
restChildren: ReactNode[];
|
|
22
22
|
options: {
|
|
@@ -26,8 +26,8 @@ export declare function useCombobox({ children, inputValue, multiple, filter, in
|
|
|
26
26
|
selectedOptions: {
|
|
27
27
|
[key: string]: Option;
|
|
28
28
|
};
|
|
29
|
-
interactiveChildren: ReactElement<ComboboxCustomProps, string |
|
|
30
|
-
setSelectedOptions:
|
|
29
|
+
interactiveChildren: ReactElement<ComboboxCustomProps, string | React.JSXElementConstructor<any>>[];
|
|
30
|
+
setSelectedOptions: React.Dispatch<React.SetStateAction<{
|
|
31
31
|
[key: string]: Option;
|
|
32
32
|
}>>;
|
|
33
33
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { KeyboardEvent } from 'react';
|
|
1
2
|
import type { ComboboxContextType } from './ComboboxContext';
|
|
2
3
|
import type { useCombobox } from './useCombobox';
|
|
3
4
|
type UseComboboxKeyboardProps = {
|
|
@@ -14,6 +15,6 @@ type UseComboboxKeyboardProps = {
|
|
|
14
15
|
setInputValue: (value: string) => void;
|
|
15
16
|
handleSelectOption: ComboboxContextType['handleSelectOption'];
|
|
16
17
|
};
|
|
17
|
-
export declare const useComboboxKeyboard: ({ readOnly, disabled, interactiveChildren, filteredOptions, inputValue, selectedOptions, multiple, open, options, setOpen, handleSelectOption, }: UseComboboxKeyboardProps) => (...args:
|
|
18
|
+
export declare const useComboboxKeyboard: ({ readOnly, disabled, interactiveChildren, filteredOptions, inputValue, selectedOptions, multiple, open, options, setOpen, handleSelectOption, }: UseComboboxKeyboardProps) => (...args: KeyboardEvent<Element>[]) => void;
|
|
18
19
|
export {};
|
|
19
20
|
//# sourceMappingURL=useComboboxKeyboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComboboxKeyboard.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useComboboxKeyboard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,wBAAwB,GAAG;IAC9B,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACnE,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACnE,mBAAmB,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,qBAAqB,CAAC,CAAC;IAC3E,OAAO,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;IACnD,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kBAAkB,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,mBAAmB,qJAY7B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"useComboboxKeyboard.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useComboboxKeyboard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,wBAAwB,GAAG;IAC9B,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACnE,eAAe,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACnE,mBAAmB,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,qBAAqB,CAAC,CAAC;IAC3E,OAAO,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;IACnD,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kBAAkB,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,mBAAmB,qJAY7B,wBAAwB,gDA2E1B,CAAC"}
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
+
import type { MutableRefObject } from 'react';
|
|
1
2
|
type UseFloatingComboboxProps = {
|
|
2
|
-
listRef:
|
|
3
|
+
listRef: MutableRefObject<(HTMLElement | null)[]>;
|
|
3
4
|
};
|
|
4
5
|
export declare const useFloatingCombobox: ({ listRef }: UseFloatingComboboxProps) => {
|
|
5
6
|
open: boolean;
|
|
6
|
-
setOpen:
|
|
7
|
+
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
8
|
activeIndex: number;
|
|
8
9
|
refs: {
|
|
9
|
-
reference:
|
|
10
|
-
floating:
|
|
10
|
+
reference: MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
11
|
+
floating: MutableRefObject<HTMLElement | null>;
|
|
11
12
|
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
12
13
|
setFloating: (node: HTMLElement | null) => void;
|
|
13
14
|
} & import("@floating-ui/react").ExtendedRefs<HTMLInputElement>;
|
|
14
|
-
floatingStyles:
|
|
15
|
+
floatingStyles: React.CSSProperties;
|
|
15
16
|
context: {
|
|
16
|
-
placement: import("@floating-ui/utils").Placement;
|
|
17
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
18
17
|
x: number;
|
|
19
18
|
y: number;
|
|
19
|
+
placement: import("@floating-ui/utils").Placement;
|
|
20
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
20
21
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
21
22
|
isPositioned: boolean;
|
|
22
23
|
update: () => void;
|
|
23
|
-
floatingStyles:
|
|
24
|
+
floatingStyles: React.CSSProperties;
|
|
24
25
|
open: boolean;
|
|
25
26
|
onOpenChange: (open: boolean, event?: Event, reason?: import("@floating-ui/react").OpenChangeReason) => void;
|
|
26
27
|
events: import("@floating-ui/react").FloatingEvents;
|
|
27
|
-
dataRef:
|
|
28
|
+
dataRef: MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
28
29
|
nodeId: string | undefined;
|
|
29
30
|
floatingId: string;
|
|
30
31
|
refs: import("@floating-ui/react").ExtendedRefs<HTMLInputElement>;
|
|
31
32
|
elements: import("@floating-ui/react").ExtendedElements<HTMLInputElement>;
|
|
32
33
|
};
|
|
33
|
-
getReferenceProps: (userProps?:
|
|
34
|
-
getFloatingProps: (userProps?:
|
|
35
|
-
getItemProps: (userProps?: Omit<
|
|
34
|
+
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
35
|
+
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
36
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
36
37
|
active?: boolean;
|
|
37
38
|
selected?: boolean;
|
|
38
39
|
}) => Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFloatingCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useFloatingCombobox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFloatingCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useFloatingCombobox.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAK9C,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,gBAAgB,CAAC,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,gBAAiB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuExE,CAAC"}
|
|
@@ -15,7 +15,7 @@ export type FieldsetProps = {
|
|
|
15
15
|
/** Visually hide `legend` and `description` (still available for screen readers) */
|
|
16
16
|
hideLegend?: boolean;
|
|
17
17
|
} & Pick<FormFieldProps, 'size'> & FieldsetHTMLAttributes<HTMLFieldSetElement>;
|
|
18
|
-
export declare const Fieldset:
|
|
18
|
+
export declare const Fieldset: React.ForwardRefExoticComponent<{
|
|
19
19
|
/** A description of the fieldset. This will appear below the legend. */
|
|
20
20
|
description?: ReactNode;
|
|
21
21
|
/** Toggle `disabled` all input fields within the fieldset. */
|
|
@@ -29,5 +29,5 @@ export declare const Fieldset: import("react").ForwardRefExoticComponent<{
|
|
|
29
29
|
readOnly?: boolean;
|
|
30
30
|
/** Visually hide `legend` and `description` (still available for screen readers) */
|
|
31
31
|
hideLegend?: boolean;
|
|
32
|
-
} & Pick<FormFieldProps, "size"> & FieldsetHTMLAttributes<HTMLFieldSetElement> &
|
|
32
|
+
} & Pick<FormFieldProps, "size"> & FieldsetHTMLAttributes<HTMLFieldSetElement> & React.RefAttributes<HTMLFieldSetElement>>;
|
|
33
33
|
//# sourceMappingURL=Fieldset.d.ts.map
|