@digdir/designsystemet-react 1.0.0-next.33 → 1.0.0-next.35
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 +4 -4
- package/dist/cjs/components/Accordion/AccordionContent.js +3 -4
- package/dist/cjs/components/Accordion/AccordionHeading.js +6 -8
- package/dist/cjs/components/Accordion/AccordionItem.js +23 -59
- package/dist/cjs/components/Alert/Alert.js +4 -5
- package/dist/cjs/components/Avatar/Avatar.js +6 -12
- package/dist/cjs/components/Badge/Badge.js +4 -16
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.js +10 -0
- package/dist/cjs/components/Breadcrumbs/BreadcrumbsItem.js +4 -4
- package/dist/cjs/components/Breadcrumbs/BreadcrumbsLink.js +4 -4
- package/dist/cjs/components/Breadcrumbs/BreadcrumbsList.js +8 -10
- package/dist/cjs/components/Breadcrumbs/index.js +11 -20
- package/dist/cjs/components/Button/Button.js +9 -8
- package/dist/cjs/components/Card/Card.js +28 -10
- package/dist/cjs/components/Card/CardBlock.js +14 -0
- package/dist/cjs/components/Card/index.js +6 -17
- package/dist/cjs/components/Chip/Chips.js +50 -0
- package/dist/cjs/components/Chip/index.js +12 -11
- package/dist/cjs/components/Divider/Divider.js +4 -4
- package/dist/cjs/components/Dropdown/Dropdown.js +23 -0
- package/dist/cjs/components/Dropdown/DropdownContext.js +26 -0
- package/dist/cjs/components/Dropdown/DropdownHeading.js +12 -0
- package/dist/cjs/components/Dropdown/DropdownItem.js +14 -0
- package/dist/cjs/components/Dropdown/DropdownList.js +12 -0
- package/dist/cjs/components/Dropdown/DropdownTrigger.js +13 -0
- package/dist/cjs/components/Dropdown/index.js +41 -0
- package/dist/cjs/components/ErrorSummary/ErrorSummary.js +20 -0
- package/dist/cjs/components/ErrorSummary/ErrorSummaryHeading.js +7 -8
- package/dist/cjs/components/ErrorSummary/ErrorSummaryItem.js +2 -2
- package/dist/cjs/components/ErrorSummary/ErrorSummaryList.js +4 -4
- package/dist/cjs/components/ErrorSummary/index.js +8 -10
- package/dist/cjs/components/Heading/Heading.js +20 -0
- package/dist/cjs/components/HelpText/HelpText.js +4 -10
- package/dist/cjs/components/Label/Label.js +20 -0
- package/dist/cjs/components/Link/Link.js +6 -6
- package/dist/cjs/components/List/ListItem.js +4 -4
- package/dist/cjs/components/List/Lists.js +7 -8
- package/dist/cjs/components/Modal/Modal.js +45 -0
- package/dist/cjs/components/Modal/ModalBlock.js +14 -0
- package/dist/cjs/components/Modal/ModalContext.js +17 -0
- package/dist/cjs/components/Modal/ModalTrigger.js +7 -8
- package/dist/cjs/components/Modal/index.js +12 -22
- package/dist/cjs/components/Pagination/Pagination.js +10 -15
- package/dist/cjs/components/Pagination/PaginationButton.js +5 -5
- package/dist/cjs/components/Pagination/PaginationItem.js +5 -8
- package/dist/cjs/components/Pagination/PaginationList.js +5 -8
- package/dist/cjs/components/Pagination/index.js +5 -19
- package/dist/cjs/components/Pagination/usePagination.js +47 -52
- package/dist/cjs/components/Paragraph/Paragraph.js +20 -0
- package/dist/cjs/components/Popover/Popover.js +22 -21
- package/dist/cjs/components/Popover/PopoverContext.js +4 -4
- package/dist/cjs/components/Popover/PopoverTrigger.js +6 -6
- package/dist/cjs/components/SkipLink/SkipLink.js +5 -5
- package/dist/cjs/components/Table/Table.js +4 -5
- package/dist/cjs/components/Table/TableBody.js +2 -2
- package/dist/cjs/components/Table/TableCell.js +2 -2
- package/dist/cjs/components/Table/TableHead.js +2 -2
- package/dist/cjs/components/Table/TableHeaderCell.js +2 -2
- package/dist/cjs/components/Table/TableRow.js +2 -2
- package/dist/cjs/components/Tabs/Tabs.js +45 -0
- package/dist/cjs/components/Tabs/TabsList.js +25 -0
- package/dist/cjs/components/Tabs/TabsPanel.js +22 -0
- package/dist/cjs/components/Tabs/TabsTab.js +21 -0
- package/dist/cjs/components/Tabs/index.js +18 -20
- package/dist/cjs/components/Tag/Tag.js +4 -5
- package/dist/cjs/components/ToggleGroup/ToggleGroup.js +41 -0
- package/dist/cjs/components/ToggleGroup/{ToggleGroupItem/ToggleGroupItem.js → ToggleGroupItem.js} +5 -6
- package/dist/cjs/components/ToggleGroup/index.js +5 -8
- package/dist/cjs/components/ToggleGroup/{ToggleGroupItem/useToggleGroupitem.js → useToggleGroupitem.js} +5 -5
- package/dist/cjs/components/Tooltip/Tooltip.js +29 -32
- package/dist/cjs/components/ValidationMessage/ValidationMessage.js +15 -0
- package/dist/cjs/components/form/CharacterCounter.js +2 -2
- package/dist/cjs/components/form/Checkbox/Checkbox.js +8 -8
- package/dist/cjs/components/form/Checkbox/CheckboxGroup.js +6 -6
- package/dist/cjs/components/form/Checkbox/useCheckbox.js +2 -2
- package/dist/cjs/components/form/Combobox/Combobox.js +16 -17
- package/dist/cjs/components/form/Combobox/ComboboxContext.js +2 -2
- package/dist/cjs/components/form/Combobox/ComboboxIdContext.js +6 -6
- package/dist/cjs/components/form/Combobox/Custom.js +13 -13
- package/dist/cjs/components/form/Combobox/Empty.js +6 -6
- package/dist/cjs/components/form/Combobox/Option/Description.js +4 -4
- package/dist/cjs/components/form/Combobox/Option/Option.js +12 -8
- package/dist/cjs/components/form/Combobox/Option/SelectedIcon.js +2 -2
- package/dist/cjs/components/form/Combobox/Option/useComboboxOption.js +8 -8
- package/dist/cjs/components/form/Combobox/internal/ComboboxChips.js +4 -4
- package/dist/cjs/components/form/Combobox/internal/ComboboxClearButton.js +5 -5
- package/dist/cjs/components/form/Combobox/internal/ComboboxError.js +2 -2
- package/dist/cjs/components/form/Combobox/internal/ComboboxInput.js +8 -8
- package/dist/cjs/components/form/Combobox/internal/ComboboxLabel.js +4 -4
- package/dist/cjs/components/form/Combobox/useCombobox.js +11 -10
- package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +14 -16
- package/dist/cjs/components/form/Combobox/utilities.js +2 -7
- package/dist/cjs/components/form/Fieldset/Fieldset.js +12 -14
- package/dist/cjs/components/form/Fieldset/FieldsetContext.js +2 -2
- package/dist/cjs/components/form/Radio/Radio.js +6 -6
- package/dist/cjs/components/form/Radio/RadioGroup.js +6 -6
- package/dist/cjs/components/form/Radio/useRadio.js +2 -2
- package/dist/cjs/components/form/Search/Search.js +13 -13
- package/dist/cjs/components/form/Search/useSearch.js +2 -2
- package/dist/cjs/components/form/Select/Select.js +7 -7
- package/dist/cjs/components/form/Select/SelectOptgroup.js +4 -4
- package/dist/cjs/components/form/Select/SelectOption.js +4 -4
- package/dist/cjs/components/form/Select/useSelect.js +2 -2
- package/dist/cjs/components/form/Switch/Switch.js +6 -6
- package/dist/cjs/components/form/Switch/useSwitch.js +2 -2
- package/dist/cjs/components/form/Textarea/Textarea.js +10 -10
- package/dist/cjs/components/form/Textarea/useTextarea.js +2 -2
- package/dist/cjs/components/form/Textfield/Textfield.js +11 -11
- package/dist/cjs/components/form/Textfield/useTextfield.js +2 -2
- package/dist/cjs/components/form/useFormField.js +5 -5
- package/dist/cjs/components/loaders/Skeleton/Skeleton.js +20 -0
- package/dist/cjs/components/loaders/Spinner/Spinner.js +2 -2
- package/dist/cjs/index.js +69 -107
- package/dist/cjs/utilities/RovingFocus/RovingFocusItem.js +6 -6
- package/dist/cjs/utilities/RovingFocus/RovingFocusRoot.js +12 -12
- package/dist/cjs/utilities/RovingFocus/useRovingFocus.js +2 -2
- package/dist/cjs/utilities/hooks/useDebounceCallback/useDebounceCallback.js +3 -3
- package/dist/cjs/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +2 -2
- package/dist/cjs/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js +2 -2
- package/dist/esm/components/Accordion/Accordion.js +2 -2
- package/dist/esm/components/Accordion/AccordionContent.js +1 -2
- package/dist/esm/components/Accordion/AccordionHeading.js +4 -6
- package/dist/esm/components/Accordion/AccordionItem.js +20 -56
- package/dist/esm/components/Alert/Alert.js +2 -3
- package/dist/esm/components/Avatar/Avatar.js +3 -9
- package/dist/esm/components/Badge/Badge.js +4 -16
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +8 -0
- package/dist/esm/components/Breadcrumbs/BreadcrumbsItem.js +3 -3
- package/dist/esm/components/Breadcrumbs/BreadcrumbsLink.js +3 -3
- package/dist/esm/components/Breadcrumbs/BreadcrumbsList.js +4 -6
- package/dist/esm/components/Breadcrumbs/index.js +12 -19
- package/dist/esm/components/Button/Button.js +8 -7
- package/dist/esm/components/Card/Card.js +27 -9
- package/dist/esm/components/Card/CardBlock.js +12 -0
- package/dist/esm/components/Card/index.js +6 -14
- package/dist/esm/components/Chip/Chips.js +45 -0
- package/dist/esm/components/Chip/index.js +9 -9
- package/dist/esm/components/Divider/Divider.js +2 -2
- package/dist/esm/components/Dropdown/Dropdown.js +20 -0
- package/dist/esm/components/Dropdown/DropdownContext.js +24 -0
- package/dist/esm/components/Dropdown/DropdownHeading.js +10 -0
- package/dist/esm/components/Dropdown/DropdownItem.js +12 -0
- package/dist/esm/components/Dropdown/DropdownList.js +10 -0
- package/dist/esm/components/Dropdown/DropdownTrigger.js +11 -0
- package/dist/esm/components/Dropdown/index.js +34 -0
- package/dist/esm/components/ErrorSummary/ErrorSummary.js +17 -0
- package/dist/esm/components/ErrorSummary/ErrorSummaryHeading.js +3 -4
- package/dist/esm/components/ErrorSummary/ErrorSummaryList.js +1 -1
- package/dist/esm/components/ErrorSummary/index.js +9 -10
- package/dist/esm/components/Heading/Heading.js +18 -0
- package/dist/esm/components/HelpText/HelpText.js +5 -11
- package/dist/esm/components/Label/Label.js +18 -0
- package/dist/esm/components/Link/Link.js +3 -3
- package/dist/esm/components/List/ListItem.js +1 -1
- package/dist/esm/components/List/Lists.js +3 -4
- package/dist/esm/components/Modal/Modal.js +43 -0
- package/dist/esm/components/Modal/ModalBlock.js +12 -0
- package/dist/esm/components/Modal/ModalContext.js +14 -0
- package/dist/esm/components/Modal/ModalTrigger.js +5 -6
- package/dist/esm/components/Modal/index.js +11 -18
- package/dist/esm/components/Pagination/Pagination.js +11 -17
- package/dist/esm/components/Pagination/PaginationButton.js +3 -3
- package/dist/esm/components/Pagination/PaginationItem.js +3 -6
- package/dist/esm/components/Pagination/PaginationList.js +4 -7
- package/dist/esm/components/Pagination/index.js +6 -16
- package/dist/esm/components/Pagination/usePagination.js +47 -52
- package/dist/esm/components/Paragraph/Paragraph.js +18 -0
- package/dist/esm/components/Popover/Popover.js +9 -8
- package/dist/esm/components/Popover/PopoverTrigger.js +2 -2
- package/dist/esm/components/SkipLink/SkipLink.js +5 -5
- package/dist/esm/components/Table/Table.js +2 -3
- package/dist/esm/components/Tabs/{TabsRoot.js → Tabs.js} +11 -12
- package/dist/esm/components/Tabs/{TabList.js → TabsList.js} +6 -7
- package/dist/esm/components/Tabs/TabsPanel.js +20 -0
- package/dist/esm/components/Tabs/TabsTab.js +19 -0
- package/dist/esm/components/Tabs/index.js +16 -17
- package/dist/esm/components/Tag/Tag.js +2 -3
- package/dist/esm/components/ToggleGroup/ToggleGroup.js +38 -0
- package/dist/esm/components/ToggleGroup/ToggleGroupItem.js +18 -0
- package/dist/esm/components/ToggleGroup/index.js +6 -8
- package/dist/esm/components/ToggleGroup/{ToggleGroupItem/useToggleGroupitem.js → useToggleGroupitem.js} +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js +7 -10
- package/dist/esm/components/ValidationMessage/ValidationMessage.js +13 -0
- package/dist/esm/components/form/CharacterCounter.js +2 -2
- package/dist/esm/components/form/Checkbox/Checkbox.js +5 -5
- package/dist/esm/components/form/Checkbox/CheckboxGroup.js +2 -2
- package/dist/esm/components/form/Combobox/Combobox.js +6 -7
- package/dist/esm/components/form/Combobox/Custom.js +5 -5
- package/dist/esm/components/form/Combobox/Empty.js +3 -3
- package/dist/esm/components/form/Combobox/Option/Description.js +2 -2
- package/dist/esm/components/form/Combobox/Option/Option.js +9 -6
- package/dist/esm/components/form/Combobox/Option/SelectedIcon.js +2 -2
- package/dist/esm/components/form/Combobox/Option/useComboboxOption.js +2 -2
- package/dist/esm/components/form/Combobox/internal/ComboboxChips.js +2 -2
- package/dist/esm/components/form/Combobox/internal/ComboboxClearButton.js +2 -2
- package/dist/esm/components/form/Combobox/internal/ComboboxError.js +2 -2
- package/dist/esm/components/form/Combobox/internal/ComboboxInput.js +4 -4
- package/dist/esm/components/form/Combobox/internal/ComboboxLabel.js +4 -4
- package/dist/esm/components/form/Combobox/useCombobox.js +2 -1
- package/dist/esm/components/form/Combobox/useFloatingCombobox.js +1 -3
- package/dist/esm/components/form/Combobox/utilities.js +1 -5
- package/dist/esm/components/form/Fieldset/Fieldset.js +10 -12
- package/dist/esm/components/form/Radio/Radio.js +4 -4
- package/dist/esm/components/form/Radio/RadioGroup.js +2 -2
- package/dist/esm/components/form/Search/Search.js +7 -7
- package/dist/esm/components/form/Select/Select.js +5 -5
- package/dist/esm/components/form/Select/SelectOptgroup.js +1 -1
- package/dist/esm/components/form/Select/SelectOption.js +1 -1
- package/dist/esm/components/form/Switch/Switch.js +4 -4
- package/dist/esm/components/form/Textarea/Textarea.js +7 -7
- package/dist/esm/components/form/Textfield/Textfield.js +7 -7
- package/dist/esm/components/form/useFormField.js +2 -2
- package/dist/esm/components/loaders/Skeleton/Skeleton.js +18 -0
- package/dist/esm/components/loaders/Spinner/Spinner.js +2 -2
- package/dist/esm/index.js +19 -39
- package/dist/esm/utilities/RovingFocus/RovingFocusItem.js +2 -2
- package/dist/esm/utilities/RovingFocus/RovingFocusRoot.js +2 -2
- package/dist/types/components/Accordion/AccordionContent.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionHeading.d.ts +2 -2
- package/dist/types/components/Accordion/AccordionHeading.d.ts.map +1 -1
- package/dist/types/components/Accordion/AccordionItem.d.ts +8 -8
- package/dist/types/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/types/components/Alert/Alert.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Badge/Badge.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/{BreadcrumbsNav.d.ts → Breadcrumbs.d.ts} +13 -3
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsList.d.ts.map +1 -1
- package/dist/types/components/Breadcrumbs/index.d.ts +17 -25
- package/dist/types/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +12 -2
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Card/Card.d.ts +5 -15
- package/dist/types/components/Card/Card.d.ts.map +1 -1
- package/dist/types/components/Card/{CardMedia.d.ts → CardBlock.d.ts} +3 -3
- package/dist/types/components/Card/{CardMedia.d.ts.map → CardBlock.d.ts.map} +1 -1
- package/dist/types/components/Card/index.d.ts +12 -16
- package/dist/types/components/Card/index.d.ts.map +1 -1
- package/dist/types/components/Chip/Chips.d.ts +45 -0
- package/dist/types/components/Chip/Chips.d.ts.map +1 -0
- package/dist/types/components/Chip/index.d.ts +20 -21
- package/dist/types/components/Chip/index.d.ts.map +1 -1
- package/dist/types/components/Dropdown/Dropdown.d.ts +23 -0
- package/dist/types/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/types/components/Dropdown/DropdownContext.d.ts +22 -0
- package/dist/types/components/Dropdown/DropdownContext.d.ts.map +1 -0
- package/dist/types/components/Dropdown/DropdownHeading.d.ts +4 -0
- package/dist/types/components/Dropdown/DropdownHeading.d.ts.map +1 -0
- package/dist/types/components/Dropdown/DropdownItem.d.ts +4 -0
- package/dist/types/components/Dropdown/DropdownItem.d.ts.map +1 -0
- package/dist/types/components/Dropdown/DropdownList.d.ts +4 -0
- package/dist/types/components/Dropdown/DropdownList.d.ts.map +1 -0
- package/dist/types/components/Dropdown/DropdownTrigger.d.ts +17 -0
- package/dist/types/components/Dropdown/DropdownTrigger.d.ts.map +1 -0
- package/dist/types/components/Dropdown/index.d.ts +49 -0
- package/dist/types/components/Dropdown/index.d.ts.map +1 -0
- package/dist/types/components/ErrorSummary/{ErrorSummaryRoot.d.ts → ErrorSummary.d.ts} +2 -2
- package/dist/types/components/ErrorSummary/ErrorSummary.d.ts.map +1 -0
- package/dist/types/components/ErrorSummary/ErrorSummaryHeading.d.ts +1 -2
- package/dist/types/components/ErrorSummary/ErrorSummaryHeading.d.ts.map +1 -1
- package/dist/types/components/ErrorSummary/index.d.ts +18 -12
- package/dist/types/components/ErrorSummary/index.d.ts.map +1 -1
- package/dist/types/components/{Typography/Heading → Heading}/Heading.d.ts +0 -4
- package/dist/types/components/Heading/Heading.d.ts.map +1 -0
- package/dist/types/components/Heading/index.d.ts.map +1 -0
- package/dist/types/components/HelpText/HelpText.d.ts +6 -6
- package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
- package/dist/types/components/{Typography/Label → Label}/Label.d.ts +0 -4
- package/dist/types/components/Label/Label.d.ts.map +1 -0
- package/dist/types/components/Label/index.d.ts.map +1 -0
- package/dist/types/components/List/Lists.d.ts.map +1 -1
- package/dist/types/components/Modal/Modal.d.ts +38 -0
- package/dist/types/components/Modal/Modal.d.ts.map +1 -0
- package/dist/types/components/{Card/CardHeader.d.ts → Modal/ModalBlock.d.ts} +3 -3
- package/dist/types/components/Modal/ModalBlock.d.ts.map +1 -0
- package/dist/types/components/Modal/ModalContext.d.ts +10 -0
- package/dist/types/components/Modal/ModalContext.d.ts.map +1 -0
- package/dist/types/components/Modal/ModalTrigger.d.ts +3 -2
- package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
- package/dist/types/components/Modal/index.d.ts +31 -20
- package/dist/types/components/Modal/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +23 -36
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationButton.d.ts +4 -3
- package/dist/types/components/Pagination/PaginationButton.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationList.d.ts +1 -1
- package/dist/types/components/Pagination/PaginationList.d.ts.map +1 -1
- package/dist/types/components/Pagination/index.d.ts +16 -17
- package/dist/types/components/Pagination/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/usePagination.d.ts +41 -17
- package/dist/types/components/Pagination/usePagination.d.ts.map +1 -1
- package/dist/types/components/{Typography/Paragraph → Paragraph}/Paragraph.d.ts +2 -6
- package/dist/types/components/Paragraph/Paragraph.d.ts.map +1 -0
- package/dist/types/components/Paragraph/index.d.ts.map +1 -0
- package/dist/types/components/Popover/Popover.d.ts +2 -0
- package/dist/types/components/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/Popover/PopoverTrigger.d.ts +3 -2
- package/dist/types/components/Popover/PopoverTrigger.d.ts.map +1 -1
- package/dist/types/components/SkipLink/SkipLink.d.ts +7 -5
- package/dist/types/components/SkipLink/SkipLink.d.ts.map +1 -1
- package/dist/types/components/Table/Table.d.ts.map +1 -1
- package/dist/types/components/Tabs/{TabsRoot.d.ts → Tabs.d.ts} +9 -9
- package/dist/types/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/types/components/Tabs/{TabList.d.ts → TabsList.d.ts} +3 -2
- package/dist/types/components/Tabs/TabsList.d.ts.map +1 -0
- package/dist/types/components/Tabs/{TabContent.d.ts → TabsPanel.d.ts} +6 -6
- package/dist/types/components/Tabs/TabsPanel.d.ts.map +1 -0
- package/dist/types/components/Tabs/{Tab.d.ts → TabsTab.d.ts} +3 -3
- package/dist/types/components/Tabs/TabsTab.d.ts.map +1 -0
- package/dist/types/components/Tabs/index.d.ts +27 -20
- package/dist/types/components/Tabs/index.d.ts.map +1 -1
- package/dist/types/components/Tag/Tag.d.ts +2 -5
- package/dist/types/components/Tag/Tag.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/{ToggleGroupRoot.d.ts → ToggleGroup.d.ts} +4 -4
- package/dist/types/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
- package/dist/types/components/ToggleGroup/{ToggleGroupItem/ToggleGroupItem.d.ts → ToggleGroupItem.d.ts} +2 -2
- package/dist/types/components/ToggleGroup/ToggleGroupItem.d.ts.map +1 -0
- package/dist/types/components/ToggleGroup/index.d.ts +8 -9
- package/dist/types/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/{ToggleGroupItem/useToggleGroupitem.d.ts → useToggleGroupitem.d.ts} +2 -2
- package/dist/types/components/ToggleGroup/useToggleGroupitem.d.ts.map +1 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/{Typography/ErrorMessage/ErrorMessage.d.ts → ValidationMessage/ValidationMessage.d.ts} +4 -8
- package/dist/types/components/ValidationMessage/ValidationMessage.d.ts.map +1 -0
- package/dist/types/components/ValidationMessage/index.d.ts +2 -0
- package/dist/types/components/ValidationMessage/index.d.ts.map +1 -0
- package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Combobox.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/internal/ComboboxLabel.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/useCombobox.d.ts +1 -1
- package/dist/types/components/form/Combobox/useCombobox.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/utilities.d.ts +0 -2
- package/dist/types/components/form/Combobox/utilities.d.ts.map +1 -1
- package/dist/types/components/form/Fieldset/Fieldset.d.ts +1 -1
- package/dist/types/components/form/Fieldset/Fieldset.d.ts.map +1 -1
- package/dist/types/components/form/Radio/Radio.d.ts.map +1 -1
- package/dist/types/components/form/Search/Search.d.ts.map +1 -1
- package/dist/types/components/form/Select/Select.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +5 -2
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/loaders/Skeleton/Skeleton.d.ts +25 -0
- package/dist/types/components/loaders/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/types/components/loaders/Skeleton/index.d.ts +7 -19
- package/dist/types/components/loaders/Skeleton/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/cjs/components/Breadcrumbs/BreadcrumbsNav.js +0 -11
- package/dist/cjs/components/Breadcrumbs/BreadcrumbsRoot.js +0 -11
- package/dist/cjs/components/Card/CardContent.js +0 -16
- package/dist/cjs/components/Card/CardFooter.js +0 -16
- package/dist/cjs/components/Card/CardHeader.js +0 -16
- package/dist/cjs/components/Card/CardMedia.js +0 -15
- package/dist/cjs/components/Chip/Group/Group.js +0 -15
- package/dist/cjs/components/Chip/Removable/Removable.js +0 -17
- package/dist/cjs/components/Chip/Toggle/Toggle.js +0 -18
- package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +0 -55
- package/dist/cjs/components/DropdownMenu/DropdownMenuGroup.js +0 -16
- package/dist/cjs/components/DropdownMenu/DropdownMenuItem.js +0 -15
- package/dist/cjs/components/DropdownMenu/DropdownMenuRoot.js +0 -49
- package/dist/cjs/components/DropdownMenu/DropdownMenuTrigger.js +0 -22
- package/dist/cjs/components/DropdownMenu/index.js +0 -38
- package/dist/cjs/components/ErrorSummary/ErrorSummaryRoot.js +0 -21
- package/dist/cjs/components/HelpText/HelpTextIcon.js +0 -14
- package/dist/cjs/components/Modal/ModaContent.js +0 -15
- package/dist/cjs/components/Modal/ModalDialog.js +0 -73
- package/dist/cjs/components/Modal/ModalFooter.js +0 -15
- package/dist/cjs/components/Modal/ModalHeader.js +0 -21
- package/dist/cjs/components/Modal/ModalRoot.js +0 -31
- package/dist/cjs/components/Modal/useModalState.js +0 -30
- package/dist/cjs/components/Modal/useScrollLock.js +0 -29
- package/dist/cjs/components/Pagination/PaginationEllipsis.js +0 -15
- package/dist/cjs/components/Pagination/PaginationNextPrev.js +0 -16
- package/dist/cjs/components/Pagination/PaginationRoot.js +0 -18
- package/dist/cjs/components/Tabs/Tab.js +0 -23
- package/dist/cjs/components/Tabs/TabContent.js +0 -24
- package/dist/cjs/components/Tabs/TabList.js +0 -26
- package/dist/cjs/components/Tabs/TabsRoot.js +0 -46
- package/dist/cjs/components/Tabs/useTab.js +0 -24
- package/dist/cjs/components/ToggleGroup/ToggleGroupRoot.js +0 -42
- package/dist/cjs/components/Typography/ErrorMessage/ErrorMessage.js +0 -16
- package/dist/cjs/components/Typography/Heading/Heading.js +0 -21
- package/dist/cjs/components/Typography/Ingress/Ingress.js +0 -21
- package/dist/cjs/components/Typography/Label/Label.js +0 -21
- package/dist/cjs/components/Typography/Paragraph/Paragraph.js +0 -26
- package/dist/cjs/components/form/Fieldset/useFieldset.js +0 -19
- package/dist/cjs/components/loaders/Skeleton/Circle/Circle.js +0 -15
- package/dist/cjs/components/loaders/Skeleton/Rectangle/Rectangle.js +0 -15
- package/dist/cjs/components/loaders/Skeleton/Text/Text.js +0 -15
- package/dist/cjs/components/loaders/Skeleton/index.js +0 -20
- package/dist/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -674
- package/dist/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -661
- package/dist/cjs/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -164
- package/dist/cjs/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -22
- package/dist/cjs/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -3302
- package/dist/cjs/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -165
- package/dist/cjs/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -68
- package/dist/cjs/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -11
- package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -353
- package/dist/cjs/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -677
- package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -159
- package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -158
- package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -18
- package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.js +0 -104
- package/dist/cjs/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -70
- package/dist/cjs/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -676
- package/dist/cjs/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -66
- package/dist/cjs/node_modules/@u-elements/u-details/dist/u-details.js +0 -117
- package/dist/cjs/node_modules/clsx/dist/lite.js +0 -9
- package/dist/cjs/node_modules/tabbable/dist/index.esm.js +0 -550
- package/dist/esm/components/Breadcrumbs/BreadcrumbsNav.js +0 -9
- package/dist/esm/components/Breadcrumbs/BreadcrumbsRoot.js +0 -9
- package/dist/esm/components/Card/CardContent.js +0 -14
- package/dist/esm/components/Card/CardFooter.js +0 -14
- package/dist/esm/components/Card/CardHeader.js +0 -14
- package/dist/esm/components/Card/CardMedia.js +0 -13
- package/dist/esm/components/Chip/Group/Group.js +0 -12
- package/dist/esm/components/Chip/Removable/Removable.js +0 -15
- package/dist/esm/components/Chip/Toggle/Toggle.js +0 -16
- package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +0 -53
- package/dist/esm/components/DropdownMenu/DropdownMenuGroup.js +0 -14
- package/dist/esm/components/DropdownMenu/DropdownMenuItem.js +0 -13
- package/dist/esm/components/DropdownMenu/DropdownMenuRoot.js +0 -46
- package/dist/esm/components/DropdownMenu/DropdownMenuTrigger.js +0 -20
- package/dist/esm/components/DropdownMenu/index.js +0 -31
- package/dist/esm/components/ErrorSummary/ErrorSummaryRoot.js +0 -18
- package/dist/esm/components/HelpText/HelpTextIcon.js +0 -12
- package/dist/esm/components/Modal/ModaContent.js +0 -13
- package/dist/esm/components/Modal/ModalDialog.js +0 -71
- package/dist/esm/components/Modal/ModalFooter.js +0 -13
- package/dist/esm/components/Modal/ModalHeader.js +0 -19
- package/dist/esm/components/Modal/ModalRoot.js +0 -28
- package/dist/esm/components/Modal/useModalState.js +0 -28
- package/dist/esm/components/Modal/useScrollLock.js +0 -27
- package/dist/esm/components/Pagination/PaginationEllipsis.js +0 -13
- package/dist/esm/components/Pagination/PaginationNextPrev.js +0 -13
- package/dist/esm/components/Pagination/PaginationRoot.js +0 -15
- package/dist/esm/components/Tabs/Tab.js +0 -21
- package/dist/esm/components/Tabs/TabContent.js +0 -22
- package/dist/esm/components/Tabs/useTab.js +0 -22
- package/dist/esm/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +0 -19
- package/dist/esm/components/ToggleGroup/ToggleGroupRoot.js +0 -39
- package/dist/esm/components/Typography/ErrorMessage/ErrorMessage.js +0 -14
- package/dist/esm/components/Typography/Heading/Heading.js +0 -19
- package/dist/esm/components/Typography/Ingress/Ingress.js +0 -19
- package/dist/esm/components/Typography/Label/Label.js +0 -19
- package/dist/esm/components/Typography/Paragraph/Paragraph.js +0 -24
- package/dist/esm/components/form/Fieldset/useFieldset.js +0 -17
- package/dist/esm/components/loaders/Skeleton/Circle/Circle.js +0 -13
- package/dist/esm/components/loaders/Skeleton/Rectangle/Rectangle.js +0 -13
- package/dist/esm/components/loaders/Skeleton/Text/Text.js +0 -13
- package/dist/esm/components/loaders/Skeleton/index.js +0 -15
- package/dist/esm/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -665
- package/dist/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -653
- package/dist/esm/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -143
- package/dist/esm/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -16
- package/dist/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -3258
- package/dist/esm/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -144
- package/dist/esm/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -57
- package/dist/esm/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -9
- package/dist/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -325
- package/dist/esm/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -667
- package/dist/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -139
- package/dist/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -136
- package/dist/esm/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -16
- package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
- package/dist/esm/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -43
- package/dist/esm/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -664
- package/dist/esm/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -61
- package/dist/esm/node_modules/@u-elements/u-details/dist/u-details.js +0 -114
- package/dist/esm/node_modules/clsx/dist/lite.js +0 -4
- package/dist/esm/node_modules/tabbable/dist/index.esm.js +0 -546
- package/dist/types/components/Breadcrumbs/BreadcrumbsNav.d.ts.map +0 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsRoot.d.ts +0 -16
- package/dist/types/components/Breadcrumbs/BreadcrumbsRoot.d.ts.map +0 -1
- package/dist/types/components/Card/CardContent.d.ts +0 -16
- package/dist/types/components/Card/CardContent.d.ts.map +0 -1
- package/dist/types/components/Card/CardFooter.d.ts +0 -16
- package/dist/types/components/Card/CardFooter.d.ts.map +0 -1
- package/dist/types/components/Card/CardHeader.d.ts.map +0 -1
- package/dist/types/components/Chip/Group/Group.d.ts +0 -20
- package/dist/types/components/Chip/Group/Group.d.ts.map +0 -1
- package/dist/types/components/Chip/Removable/Removable.d.ts +0 -17
- package/dist/types/components/Chip/Removable/Removable.d.ts.map +0 -1
- package/dist/types/components/Chip/Toggle/Toggle.d.ts +0 -33
- package/dist/types/components/Chip/Toggle/Toggle.d.ts.map +0 -1
- package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts +0 -8
- package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts.map +0 -1
- package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts +0 -14
- package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts.map +0 -1
- package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts +0 -4
- package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts.map +0 -1
- package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -51
- package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts.map +0 -1
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts.map +0 -1
- package/dist/types/components/DropdownMenu/index.d.ts +0 -30
- package/dist/types/components/DropdownMenu/index.d.ts.map +0 -1
- package/dist/types/components/ErrorSummary/ErrorSummaryRoot.d.ts.map +0 -1
- package/dist/types/components/HelpText/HelpTextIcon.d.ts +0 -10
- package/dist/types/components/HelpText/HelpTextIcon.d.ts.map +0 -1
- package/dist/types/components/Modal/ModaContent.d.ts +0 -16
- package/dist/types/components/Modal/ModaContent.d.ts.map +0 -1
- package/dist/types/components/Modal/ModalDialog.d.ts +0 -38
- package/dist/types/components/Modal/ModalDialog.d.ts.map +0 -1
- package/dist/types/components/Modal/ModalFooter.d.ts +0 -16
- package/dist/types/components/Modal/ModalFooter.d.ts.map +0 -1
- package/dist/types/components/Modal/ModalHeader.d.ts +0 -44
- package/dist/types/components/Modal/ModalHeader.d.ts.map +0 -1
- package/dist/types/components/Modal/ModalRoot.d.ts +0 -17
- package/dist/types/components/Modal/ModalRoot.d.ts.map +0 -1
- package/dist/types/components/Modal/useModalState.d.ts +0 -2
- package/dist/types/components/Modal/useModalState.d.ts.map +0 -1
- package/dist/types/components/Modal/useScrollLock.d.ts +0 -2
- package/dist/types/components/Modal/useScrollLock.d.ts.map +0 -1
- package/dist/types/components/Pagination/PaginationEllipsis.d.ts +0 -4
- package/dist/types/components/Pagination/PaginationEllipsis.d.ts.map +0 -1
- package/dist/types/components/Pagination/PaginationNextPrev.d.ts +0 -10
- package/dist/types/components/Pagination/PaginationNextPrev.d.ts.map +0 -1
- package/dist/types/components/Pagination/PaginationRoot.d.ts +0 -53
- package/dist/types/components/Pagination/PaginationRoot.d.ts.map +0 -1
- package/dist/types/components/Tabs/Tab.d.ts.map +0 -1
- package/dist/types/components/Tabs/TabContent.d.ts.map +0 -1
- package/dist/types/components/Tabs/TabList.d.ts.map +0 -1
- package/dist/types/components/Tabs/TabsRoot.d.ts.map +0 -1
- package/dist/types/components/Tabs/useTab.d.ts +0 -10
- package/dist/types/components/Tabs/useTab.d.ts.map +0 -1
- package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts.map +0 -1
- package/dist/types/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.d.ts.map +0 -1
- package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts.map +0 -1
- package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts.map +0 -1
- package/dist/types/components/Typography/ErrorMessage/index.d.ts +0 -2
- package/dist/types/components/Typography/ErrorMessage/index.d.ts.map +0 -1
- package/dist/types/components/Typography/Heading/Heading.d.ts.map +0 -1
- package/dist/types/components/Typography/Heading/index.d.ts.map +0 -1
- package/dist/types/components/Typography/Ingress/Ingress.d.ts +0 -34
- package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +0 -1
- package/dist/types/components/Typography/Ingress/index.d.ts +0 -2
- package/dist/types/components/Typography/Ingress/index.d.ts.map +0 -1
- package/dist/types/components/Typography/Label/Label.d.ts.map +0 -1
- package/dist/types/components/Typography/Label/index.d.ts.map +0 -1
- package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +0 -1
- package/dist/types/components/Typography/Paragraph/index.d.ts.map +0 -1
- package/dist/types/components/Typography/index.d.ts +0 -6
- package/dist/types/components/Typography/index.d.ts.map +0 -1
- package/dist/types/components/form/Fieldset/useFieldset.d.ts +0 -17
- package/dist/types/components/form/Fieldset/useFieldset.d.ts.map +0 -1
- package/dist/types/components/loaders/Skeleton/Circle/Circle.d.ts +0 -13
- package/dist/types/components/loaders/Skeleton/Circle/Circle.d.ts.map +0 -1
- package/dist/types/components/loaders/Skeleton/Rectangle/Rectangle.d.ts +0 -13
- package/dist/types/components/loaders/Skeleton/Rectangle/Rectangle.d.ts.map +0 -1
- package/dist/types/components/loaders/Skeleton/Text/Text.d.ts +0 -13
- package/dist/types/components/loaders/Skeleton/Text/Text.d.ts.map +0 -1
- package/dist/types/utilities/AnimateHeight/AnimateHeight.d.ts +0 -9
- package/dist/types/utilities/AnimateHeight/AnimateHeight.d.ts.map +0 -1
- package/dist/types/utilities/AnimateHeight/index.d.ts +0 -3
- package/dist/types/utilities/AnimateHeight/index.d.ts.map +0 -1
- /package/dist/types/components/{Typography/Heading → Heading}/index.d.ts +0 -0
- /package/dist/types/components/{Typography/Label → Label}/index.d.ts +0 -0
- /package/dist/types/components/{Typography/Paragraph → Paragraph}/index.d.ts +0 -0
|
@@ -1,32 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TabsRoot } from './TabsRoot';
|
|
5
|
-
export type { TabsProps } from './TabsRoot';
|
|
6
|
-
export type { TabProps } from './Tab';
|
|
7
|
-
export type { TabContentProps } from './TabContent';
|
|
8
|
-
type TabsComponent = {
|
|
9
|
-
Root: typeof TabsRoot;
|
|
10
|
-
Tab: typeof Tab;
|
|
11
|
-
List: typeof TabList;
|
|
12
|
-
Content: typeof TabContent;
|
|
13
|
-
};
|
|
1
|
+
import { TabsList } from './TabsList';
|
|
2
|
+
import { TabsPanel } from './TabsPanel';
|
|
3
|
+
import { TabsTab } from './TabsTab';
|
|
14
4
|
/**
|
|
15
5
|
* Display a group of tabs that can be toggled between.
|
|
16
6
|
* @example
|
|
17
7
|
* ```tsx
|
|
18
|
-
* <Tabs
|
|
8
|
+
* <Tabs onChange={(value) => console.log(value)}>
|
|
19
9
|
* <Tabs.List>
|
|
20
10
|
* <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
|
|
21
11
|
* <Tabs.Tab value='2'>Tab 2</Tabs.Tab>
|
|
22
12
|
* <Tabs.Tab value='3'>Tab 3</Tabs.Tab>
|
|
23
13
|
* </Tabs.List>
|
|
24
|
-
* <Tabs.
|
|
25
|
-
* <Tabs.
|
|
26
|
-
* <Tabs.
|
|
27
|
-
* </Tabs
|
|
14
|
+
* <Tabs.Panel value='1'>content 1</Tabs.Panel>
|
|
15
|
+
* <Tabs.Panel value='2'>content 2</Tabs.Panel>
|
|
16
|
+
* <Tabs.Panel value='3'>content 3</Tabs.Panel>
|
|
17
|
+
* </Tabs>
|
|
28
18
|
* ```
|
|
29
19
|
*/
|
|
30
|
-
declare const Tabs:
|
|
31
|
-
|
|
20
|
+
declare const Tabs: React.ForwardRefExoticComponent<{
|
|
21
|
+
value?: string;
|
|
22
|
+
defaultValue?: string;
|
|
23
|
+
onChange?: (value: string) => void;
|
|
24
|
+
size?: "sm" | "md" | "lg";
|
|
25
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "value"> & React.RefAttributes<HTMLDivElement>> & {
|
|
26
|
+
List: React.ForwardRefExoticComponent<import("./TabsList").TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Tab: React.ForwardRefExoticComponent<{
|
|
28
|
+
value: string;
|
|
29
|
+
} & Omit<React.HTMLAttributes<HTMLButtonElement>, "value"> & React.RefAttributes<HTMLButtonElement>>;
|
|
30
|
+
Panel: React.ForwardRefExoticComponent<{
|
|
31
|
+
value: string;
|
|
32
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "value"> & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
};
|
|
34
|
+
export type { TabsProps } from './Tabs';
|
|
35
|
+
export type { TabsListProps } from './TabsList';
|
|
36
|
+
export type { TabsTabProps } from './TabsTab';
|
|
37
|
+
export type { TabsPanelProps } from './TabsPanel';
|
|
38
|
+
export { Tabs, TabsTab, TabsList, TabsPanel };
|
|
32
39
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;CAIR,CAAC;AAMH,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
-
import type { ParagraphProps } from '../Typography';
|
|
3
|
-
type Size = Exclude<ParagraphProps['size'], 'xs'>;
|
|
4
2
|
export type TagProps = {
|
|
5
3
|
/**
|
|
6
4
|
* Color of the tag
|
|
@@ -11,7 +9,7 @@ export type TagProps = {
|
|
|
11
9
|
* Size of the tag
|
|
12
10
|
* @default md
|
|
13
11
|
*/
|
|
14
|
-
size?:
|
|
12
|
+
size?: 'sm' | 'md' | 'lg';
|
|
15
13
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
16
14
|
/**
|
|
17
15
|
* Use `Tag` to display a small piece of information.
|
|
@@ -28,7 +26,6 @@ export declare const Tag: React.ForwardRefExoticComponent<{
|
|
|
28
26
|
* Size of the tag
|
|
29
27
|
* @default md
|
|
30
28
|
*/
|
|
31
|
-
size?:
|
|
29
|
+
size?: "sm" | "md" | "lg";
|
|
32
30
|
} & HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
33
|
-
export {};
|
|
34
31
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,QAAQ,GAAG;IACrB;;;OAGG;IACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,GAAG;IAzBd;;;OAGG;YAEC,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ;IACZ;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;2EAqBzB,CAAC"}
|
|
@@ -26,13 +26,13 @@ export type ToggleGroupProps = {
|
|
|
26
26
|
/**
|
|
27
27
|
* Display a group of buttons that can be toggled between.
|
|
28
28
|
* @example
|
|
29
|
-
* <ToggleGroup
|
|
29
|
+
* <ToggleGroup 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
|
-
* </ToggleGroup
|
|
33
|
+
* </ToggleGroup>
|
|
34
34
|
*/
|
|
35
|
-
export declare const
|
|
35
|
+
export declare const ToggleGroup: React.ForwardRefExoticComponent<{
|
|
36
36
|
/** Controlled state for `ToggleGroup` component. */
|
|
37
37
|
value?: string;
|
|
38
38
|
/** Default value. */
|
|
@@ -47,4 +47,4 @@ export declare const ToggleGroupRoot: React.ForwardRefExoticComponent<{
|
|
|
47
47
|
*/
|
|
48
48
|
size?: ToggleGroupContextProps["size"];
|
|
49
49
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "value"> & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
//# sourceMappingURL=
|
|
50
|
+
//# sourceMappingURL=ToggleGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/ToggleGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,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;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,wCAA6C,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;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,WAAW;IAxBtB,oDAAoD;YAC5C,MAAM;IACd,qBAAqB;mBACN,MAAM;IACrB,uDAAuD;eAC5C,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;IAClC,wBAAwB;WACjB,MAAM;IACb;;;OAGG;WACI,uBAAuB,CAAC,MAAM,CAAC;qGAiEvC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ButtonProps } from '../Button/Button';
|
|
2
2
|
export type ToggleGroupItemProps = {
|
|
3
3
|
/**
|
|
4
4
|
* The value of the ToggleGroupItem.
|
|
@@ -17,5 +17,5 @@ export declare const ToggleGroupItem: React.ForwardRefExoticComponent<{
|
|
|
17
17
|
* Generates a random value if not set.
|
|
18
18
|
**/
|
|
19
19
|
value?: string;
|
|
20
|
-
} & Omit<ButtonProps, "size" | "
|
|
20
|
+
} & Omit<ButtonProps, "size" | "value" | "loading"> & React.RefAttributes<HTMLButtonElement>>;
|
|
21
21
|
//# sourceMappingURL=ToggleGroupItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleGroupItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/ToggleGroupItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI5D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;QAGI;IACJ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,eAAe;IAZ1B;;;QAGI;YACI,MAAM;6FAyBd,CAAC"}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export type { ToggleGroupProps } from './
|
|
4
|
-
export type { ToggleGroupItemProps } from './ToggleGroupItem
|
|
5
|
-
type ToggleGroupComponent = {
|
|
6
|
-
Root: typeof ToggleGroupRoot;
|
|
1
|
+
import { ToggleGroup as ToggleGroupParent } from './ToggleGroup';
|
|
2
|
+
import { ToggleGroupItem } from './ToggleGroupItem';
|
|
3
|
+
export type { ToggleGroupProps } from './ToggleGroup';
|
|
4
|
+
export type { ToggleGroupItemProps } from './ToggleGroupItem';
|
|
5
|
+
type ToggleGroupComponent = typeof ToggleGroupParent & {
|
|
7
6
|
Item: typeof ToggleGroupItem;
|
|
8
7
|
};
|
|
9
8
|
/**
|
|
10
9
|
* Display a group of buttons that can be toggled between.
|
|
11
10
|
* @example
|
|
12
11
|
* ```tsx
|
|
13
|
-
* <ToggleGroup
|
|
12
|
+
* <ToggleGroup onChange={(value) => console.log(value)}>
|
|
14
13
|
* <ToggleGroup.Item value='1'>Toggle 1</ToggleGroup.Item>
|
|
15
14
|
* <ToggleGroup.Item value='2'>Toggle 2</ToggleGroup.Item>
|
|
16
15
|
* <ToggleGroup.Item value='3'>Toggle 3</ToggleGroup.Item>
|
|
17
|
-
* </ToggleGroup
|
|
16
|
+
* </ToggleGroup>
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
20
19
|
declare const ToggleGroup: ToggleGroupComponent;
|
|
21
|
-
export { ToggleGroup,
|
|
20
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
22
21
|
//# 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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,oBAAoB,GAAG,OAAO,iBAAiB,GAAG;IACrD,IAAI,EAAE,OAAO,eAAe,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,WAAW,EAAwB,oBAAoB,CAAC;AAM9D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ButtonProps } from '
|
|
2
|
-
import type { ToggleGroupContextProps } from '
|
|
1
|
+
import type { ButtonProps } from '../Button';
|
|
2
|
+
import type { ToggleGroupContextProps } from './ToggleGroup';
|
|
3
3
|
import type { ToggleGroupItemProps } from './ToggleGroupItem';
|
|
4
4
|
type UseToggleGroupItem = (props: ToggleGroupItemProps) => {
|
|
5
5
|
active: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useToggleGroupitem.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/useToggleGroupitem.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAG7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,oBAAoB,KAAK;IACzD,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,IAAI,CAChB,WAAW,EACX,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,cAAc,GAAG,cAAc,GAAG,MAAM,CACrE,CAAC;CACH,CAAC;AAEF,2FAA2F;AAC3F,eAAO,MAAM,kBAAkB,EAAE,kBA0BhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAKtD,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;iFAqHtB,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export type
|
|
2
|
+
export type ValidationMessageProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Changes text sizing
|
|
5
5
|
* @default md
|
|
6
6
|
*/
|
|
7
7
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
8
|
-
/** Adds margin-bottom */
|
|
9
|
-
spacing?: boolean;
|
|
10
8
|
/** Toggle error color */
|
|
11
9
|
error?: boolean;
|
|
12
10
|
/**
|
|
@@ -15,15 +13,13 @@ export type ErrorMessageProps = {
|
|
|
15
13
|
*/
|
|
16
14
|
asChild?: boolean;
|
|
17
15
|
} & HTMLAttributes<HTMLParagraphElement>;
|
|
18
|
-
/** Use `
|
|
19
|
-
export declare const
|
|
16
|
+
/** Use `ValidationMessage` to display validation text */
|
|
17
|
+
export declare const ValidationMessage: React.ForwardRefExoticComponent<{
|
|
20
18
|
/**
|
|
21
19
|
* Changes text sizing
|
|
22
20
|
* @default md
|
|
23
21
|
*/
|
|
24
22
|
size?: "xs" | "sm" | "md" | "lg";
|
|
25
|
-
/** Adds margin-bottom */
|
|
26
|
-
spacing?: boolean;
|
|
27
23
|
/** Toggle error color */
|
|
28
24
|
error?: boolean;
|
|
29
25
|
/**
|
|
@@ -32,4 +28,4 @@ export declare const ErrorMessage: React.ForwardRefExoticComponent<{
|
|
|
32
28
|
*/
|
|
33
29
|
asChild?: boolean;
|
|
34
30
|
} & HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=ValidationMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidationMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ValidationMessage/ValidationMessage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,yDAAyD;AACzD,eAAO,MAAM,iBAAiB;IAf5B;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC,yBAAyB;YACjB,OAAO;IACf;;;OAGG;cACO,OAAO;qFAqBjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ValidationMessage/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -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;
|
|
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;AAM5D,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"}
|
|
@@ -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;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;;;;;;;;;
|
|
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;;;;;;;;;8JA2WzC,CAAC;AAEF,eAAO,MAAM,QAAQ;IAtcnB;;;;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;;;;;;;;;8JAmXzC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonHTMLAttributes } from 'react';
|
|
1
|
+
import type { ButtonHTMLAttributes, ReactElement, ReactNode } from 'react';
|
|
2
2
|
export type ComboboxOptionProps = {
|
|
3
3
|
/**
|
|
4
4
|
* The value returned when the option is selected
|
|
@@ -30,4 +30,5 @@ declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefExoticCo
|
|
|
30
30
|
displayValue?: string;
|
|
31
31
|
} & ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>>;
|
|
32
32
|
export { ComboboxOption };
|
|
33
|
+
export declare function isComboboxOption(child: ReactNode): child is ReactElement<ComboboxOptionProps>;
|
|
33
34
|
//# 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,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/Option/Option.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAU3E,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;AAE1B,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxLabel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComboboxLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxLabel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,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;;CAiCpB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import type { ComboboxProps } from './Combobox';
|
|
3
3
|
import type { ComboboxCustomProps } from './Custom';
|
|
4
|
-
import type
|
|
4
|
+
import { type ComboboxOptionProps } from './Option/Option';
|
|
5
5
|
export type UseComboboxProps = {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
inputValue: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/useCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,KAAK,mBAAmB,EAAoB,MAAM,iBAAiB,CAAC;AAG7E,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,WAAW,CAAC,EAC1B,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAEC,EACD,YAAY,GACb,EAAE,gBAAgB;;;;;;;;;;;;;;;EA0JlB"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import type { ComboboxCustomProps } from './Custom';
|
|
3
|
-
import type { ComboboxOptionProps } from './Option/Option';
|
|
4
|
-
export declare function isComboboxOption(child: ReactNode): child is ReactElement<ComboboxOptionProps>;
|
|
5
3
|
export declare function isComboboxCustom(child: ReactNode): child is ReactElement<ComboboxCustomProps>;
|
|
6
4
|
export declare function isInteractiveComboboxCustom(child: ReactNode): child is ReactElement<ComboboxCustomProps>;
|
|
7
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/utilities.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Combobox/utilities.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,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;AAIF,KAAK,iBAAiB,GAAG;IAAE,aAAa,CAAC,EAAE;QAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;CAAE,CAAC;AAE/E,eAAO,MAAM,kBAAkB,UACtB,gBAAgB,GAAG,iBAAiB,SACpC,MAAM,KACZ,IAaF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FieldsetHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type FormFieldProps } from '../useFormField';
|
|
3
3
|
export type FieldsetProps = {
|
|
4
4
|
/** A description of the fieldset. This will appear below the legend. */
|
|
5
5
|
description?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Fieldset/Fieldset.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Fieldset/Fieldset.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM/D,OAAO,EAAE,KAAK,cAAc,EAAgB,MAAM,iBAAiB,CAAC;AAIpE,MAAM,MAAM,aAAa,GAAG;IAC1B,wEAAwE;IACxE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kCAAkC;IAClC,MAAM,EAAE,SAAS,CAAC;IAClB;yEACqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qFAAqF;IACrF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,GAC9B,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAE9C,eAAO,MAAM,QAAQ;IAhBnB,wEAAwE;kBAC1D,SAAS;IACvB,8DAA8D;eACnD,OAAO;IAClB,+EAA+E;YACvE,SAAS;IACjB,kCAAkC;YAC1B,SAAS;IACjB;yEACqE;eAC1D,OAAO;IAClB,qFAAqF;iBACxE,OAAO;0HA8DrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Radio/Radio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Radio/Radio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,MAAM,MAAM,UAAU,GAAG;IACvB,kBAAkB;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;CACf,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,KAAK;IAPhB,kBAAkB;eACP,SAAS;IACpB,mCAAmC;WAC5B,MAAM;sJAuDb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/Search.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAe,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/Search.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAe,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOzE,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,CACN,cAAc,EACd,MAAM,GAAG,aAAa,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,CAC1D,GACC,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAEnE;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;IA5CjB,YAAY;YACJ,SAAS;IACjB;;OAEG;gBACS,OAAO;IACnB;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;IACzB;;OAEG;cACO,SAAS,GAAG,WAAW,GAAG,QAAQ;IAC5C,kDAAkD;cACxC,CAAC,KAAK,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,KAAK,IAAI;IACzE,uCAAuC;oBACvB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;IACvC;;OAEG;wBACiB,SAAS;IAC7B;;OAEG;uBACgB,MAAM;IACzB;;OAEG;eACQ,MAAM;+LA0IlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Select/Select.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,SAAS,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Select/Select.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,SAAS,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAS3E,MAAM,MAAM,WAAW,GAAG;IACxB;iDAC6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;SAGK;IACL,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;QAGI;IACJ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,mCAAmC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAEvE,eAAO,MAAM,MAAM;IA/BjB;iDAC6C;YACrC,MAAM;IACd;;;SAGK;gBACO,OAAO;IACnB;;OAEG;kBACW,SAAS;IACvB,gDAAgD;eACrC,OAAO;IAClB;;;QAGI;WACG,IAAI,GAAG,IAAI,GAAG,IAAI;IACzB,mCAAmC;YAC3B,SAAS;IACjB;;OAEG;eACQ,OAAO;IAClB;;OAEG;eACQ,MAAM;gHAgGlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Switch/Switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Switch/Switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,MAAM,MAAM,WAAW,GAAG;IACxB,mBAAmB;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC,GAClD,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;AAEhE,eAAO,MAAM,MAAM;IAXjB,mBAAmB;eACR,SAAS;IACpB,mCAAmC;YAC3B,MAAM;IACd;;OAEG;eACQ,MAAM,GAAG,OAAO;6JA0E5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textarea/Textarea.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textarea/Textarea.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAO/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,MAAM,MAAM,aAAa,GAAG;IAC1B,YAAY;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACtC,GAAG,cAAc,GAChB,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAE9C;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;IAxBnB,YAAY;YACJ,SAAS;IACjB,qFAAqF;gBACzE,OAAO;IACnB;;;;;;;;OAQG;qBACc,mBAAmB;;;;;;;;;yJAqHrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textfield/Textfield.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textfield/Textfield.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAO5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8BAA8B;IAC9B,IAAI,CAAC,EACD,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC;IACX;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,GAC9B,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAEtD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;IApDpB,YAAY;YACJ,SAAS;IACjB,qFAAqF;gBACzE,OAAO;IACnB;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;IACzB,wBAAwB;aACf,MAAM;IACf,wBAAwB;aACf,MAAM;IACf,8BAA8B;WAE1B,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM;IACV;;;;;;;;OAQG;qBACc,mBAAmB;IACpC;;OAEG;eACQ,MAAM;+HA8JlB,CAAC"}
|
|
@@ -7,7 +7,10 @@ export * from './loaders/Spinner';
|
|
|
7
7
|
export * from './loaders/Skeleton';
|
|
8
8
|
export * from './Link';
|
|
9
9
|
export * from './List';
|
|
10
|
-
export * from './
|
|
10
|
+
export * from './Label';
|
|
11
|
+
export * from './Heading';
|
|
12
|
+
export * from './Paragraph';
|
|
13
|
+
export * from './ValidationMessage';
|
|
11
14
|
export * from './Accordion';
|
|
12
15
|
export * from './form/Select';
|
|
13
16
|
export * from './Alert';
|
|
@@ -27,7 +30,7 @@ export * from './ToggleGroup';
|
|
|
27
30
|
export * from './Popover';
|
|
28
31
|
export * from './Divider';
|
|
29
32
|
export * from './Modal';
|
|
30
|
-
export * from './
|
|
33
|
+
export * from './Dropdown';
|
|
31
34
|
export * from './form/Search';
|
|
32
35
|
export * from './Card';
|
|
33
36
|
export * from './form/Combobox';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
export type SkeletonProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
/** The width of the component */
|
|
9
|
+
width?: string | number;
|
|
10
|
+
/** The height of the component */
|
|
11
|
+
height?: string | number;
|
|
12
|
+
/**
|
|
13
|
+
* The shape variant
|
|
14
|
+
* @default 'rectangle'
|
|
15
|
+
* */
|
|
16
|
+
variant?: 'rectangle' | 'circle' | 'text';
|
|
17
|
+
} & HTMLAttributes<HTMLSpanElement> & ({
|
|
18
|
+
variant: 'text';
|
|
19
|
+
characters?: number;
|
|
20
|
+
} | {
|
|
21
|
+
variant?: 'rectangle' | 'circle';
|
|
22
|
+
characters?: never;
|
|
23
|
+
});
|
|
24
|
+
export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
|
|
25
|
+
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/components/loaders/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;SAGK;IACL,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC3C,GAAG,cAAc,CAAC,eAAe,CAAC,GACjC,CACI;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IAAC,UAAU,CAAC,EAAE,KAAK,CAAA;CAAE,CAC3D,CAAC;AAEJ,eAAO,MAAM,QAAQ,uFAmCpB,CAAC"}
|
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
import { Circle as SkeletonCircle, type CircleProps as SkeletonCircleProps } from './Circle/Circle';
|
|
2
|
-
import { Rectangle as SkeletonRectangle, type RectangleProps as SkeletonRectangleProps } from './Rectangle/Rectangle';
|
|
3
|
-
import { Text as SkeletonText, type TextProps as SkeletonTextProps } from './Text/Text';
|
|
4
1
|
/**
|
|
5
2
|
* Represent a draft of page while the content loads. Mix different skeleton components to create your layout.
|
|
6
3
|
* @example
|
|
7
|
-
* <Skeleton
|
|
8
|
-
* <Skeleton
|
|
9
|
-
* <Skeleton
|
|
10
|
-
* <Skeleton
|
|
11
|
-
* <Skeleton
|
|
4
|
+
* <Skeleton variant="circle" />
|
|
5
|
+
* <Skeleton variant="text" />
|
|
6
|
+
* <Skeleton variant="text" />
|
|
7
|
+
* <Skeleton variant="text" />
|
|
8
|
+
* <Skeleton variant="rectangle" />
|
|
12
9
|
*/
|
|
13
|
-
type
|
|
14
|
-
|
|
15
|
-
Circle: typeof SkeletonCircle;
|
|
16
|
-
/** Skeleton component used for indicating loading elements of rectangle shape */
|
|
17
|
-
Rectangle: typeof SkeletonRectangle;
|
|
18
|
-
/** Skeleton component used for indicating loading elements of text */
|
|
19
|
-
Text: typeof SkeletonText;
|
|
20
|
-
};
|
|
21
|
-
declare const Skeleton: SkeletonComponent;
|
|
22
|
-
export type { SkeletonCircleProps, SkeletonRectangleProps, SkeletonTextProps };
|
|
23
|
-
export { Skeleton, SkeletonCircle, SkeletonRectangle, SkeletonText };
|
|
10
|
+
export type { SkeletonProps } from './Skeleton';
|
|
11
|
+
export { Skeleton } from './Skeleton';
|
|
24
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/loaders/Skeleton/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/loaders/Skeleton/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digdir/designsystemet-react",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.35",
|
|
4
4
|
"description": "React components for Designsystemet",
|
|
5
5
|
"author": "Designsystemet team",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"@navikt/aksel-icons": "^6.14.0",
|
|
41
41
|
"@radix-ui/react-slot": "^1.1.0",
|
|
42
42
|
"@tanstack/react-virtual": "^3.10.7",
|
|
43
|
-
"@u-elements/u-details": "^0.0
|
|
43
|
+
"@u-elements/u-details": "^0.1.0",
|
|
44
|
+
"clsx": "^2.1.1"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
@@ -54,8 +55,7 @@
|
|
|
54
55
|
"react": "^18.3.1",
|
|
55
56
|
"react-dom": "^18.3.1",
|
|
56
57
|
"rimraf": "^6.0.1",
|
|
57
|
-
"rollup": "^4.
|
|
58
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
58
|
+
"rollup": "^4.22.4",
|
|
59
59
|
"typescript": "^5.5.4"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var lite = require('../../node_modules/clsx/dist/lite.js');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
|
|
8
|
-
const BreadcrumbsNav = React.forwardRef(({ 'aria-label': ariaLabel = 'Du er her:', className, ...rest }, ref) => (jsxRuntime.jsx("nav", { "aria-label": ariaLabel, ref: ref, className: lite.clsx('ds-breadcrumbs__nav', className), ...rest })));
|
|
9
|
-
BreadcrumbsNav.displayName = 'BreadcrumbsNav';
|
|
10
|
-
|
|
11
|
-
exports.BreadcrumbsNav = BreadcrumbsNav;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var lite = require('../../node_modules/clsx/dist/lite.js');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
|
|
8
|
-
const BreadcrumbsRoot = React.forwardRef(({ className, size = 'md', ...rest }, ref) => (jsxRuntime.jsx("div", { ref: ref, className: lite.clsx('ds-breadcrumbs', `ds-breadcrumbs--${size}`, className), ...rest })));
|
|
9
|
-
BreadcrumbsRoot.displayName = 'BreadcrumbsRoot';
|
|
10
|
-
|
|
11
|
-
exports.BreadcrumbsRoot = BreadcrumbsRoot;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var index = require('../../node_modules/@radix-ui/react-slot/dist/index.js');
|
|
6
|
-
var lite = require('../../node_modules/clsx/dist/lite.js');
|
|
7
|
-
var React = require('react');
|
|
8
|
-
var Paragraph = require('../Typography/Paragraph/Paragraph.js');
|
|
9
|
-
|
|
10
|
-
const CardContent = React.forwardRef(({ asChild, className, ...rest }, ref) => {
|
|
11
|
-
const Component = asChild ? index.Slot : 'div';
|
|
12
|
-
return (jsxRuntime.jsx(Paragraph.Paragraph, { size: 'md', asChild: true, children: jsxRuntime.jsx(Component, { className: lite.clsx(`ds-card__content`, className), ref: ref, ...rest }) }));
|
|
13
|
-
});
|
|
14
|
-
CardContent.displayName = 'CardContent';
|
|
15
|
-
|
|
16
|
-
exports.CardContent = CardContent;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var index = require('../../node_modules/@radix-ui/react-slot/dist/index.js');
|
|
6
|
-
var lite = require('../../node_modules/clsx/dist/lite.js');
|
|
7
|
-
var React = require('react');
|
|
8
|
-
var Paragraph = require('../Typography/Paragraph/Paragraph.js');
|
|
9
|
-
|
|
10
|
-
const CardFooter = React.forwardRef(({ asChild, className, ...rest }, ref) => {
|
|
11
|
-
const Component = asChild ? index.Slot : 'div';
|
|
12
|
-
return (jsxRuntime.jsx(Paragraph.Paragraph, { size: 'md', asChild: true, children: jsxRuntime.jsx(Component, { className: lite.clsx(`ds-card__footer`, className), ref: ref, ...rest }) }));
|
|
13
|
-
});
|
|
14
|
-
CardFooter.displayName = 'CardFooter';
|
|
15
|
-
|
|
16
|
-
exports.CardFooter = CardFooter;
|