@payfit/unity-components 0.0.0-alpha.9 → 1.1.0
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/esm/components/action-bar/ActionBar.d.ts +153 -0
- package/dist/esm/components/action-bar/ActionBar.js +173 -0
- package/dist/esm/components/action-bar/parts/ActionBarAction.d.ts +44 -0
- package/dist/esm/components/action-bar/parts/ActionBarAction.js +45 -0
- package/dist/esm/components/action-bar/parts/ActionBarRoot.d.ts +44 -0
- package/dist/esm/components/action-bar/parts/ActionBarRoot.js +46 -0
- package/dist/esm/components/actionable/Actionable.d.ts +14 -0
- package/dist/esm/components/actionable/Actionable.js +71 -0
- package/dist/esm/components/alert/Alert.d.ts +95 -0
- package/dist/esm/components/alert/Alert.js +78 -0
- package/dist/esm/components/alert/parts/AlertActions.d.ts +35 -0
- package/dist/esm/components/alert/parts/AlertActions.js +21 -0
- package/dist/esm/components/alert/parts/AlertContent.d.ts +17 -0
- package/dist/esm/components/alert/parts/AlertContent.js +10 -0
- package/dist/esm/components/alert/parts/AlertTitle.d.ts +17 -0
- package/dist/esm/components/alert/parts/AlertTitle.js +20 -0
- package/dist/esm/components/anchor/Anchor.js +49 -0
- package/dist/esm/components/app-layout/AppLayout.js +77 -0
- package/dist/esm/components/app-menu/AppMenu.js +14 -0
- package/dist/esm/components/app-menu/parts/AppMenuFooter.js +233 -0
- package/dist/esm/components/app-menu/parts/AppMenuHeader.js +41 -0
- package/dist/esm/components/app-menu/parts/AppMenuNavContent.js +23 -0
- package/dist/esm/components/autocomplete/Autocomplete.d.ts +96 -0
- package/dist/esm/components/autocomplete/Autocomplete.js +172 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteClearButton.d.ts +18 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteClearButton.js +35 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteItem.d.ts +36 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteItem.js +36 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteItemGroup.d.ts +80 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteItemGroup.js +30 -0
- package/dist/esm/components/autocomplete/parts/AutocompletePanel.d.ts +62 -0
- package/dist/esm/components/autocomplete/parts/AutocompletePanel.js +47 -0
- package/dist/esm/components/avatar/Avatar.d.ts +120 -0
- package/dist/esm/components/avatar/Avatar.js +32 -0
- package/dist/esm/components/avatar/Avatar.variants.d.ts +37 -0
- package/dist/esm/components/avatar/Avatar.variants.js +46 -0
- package/dist/esm/components/avatar/parts/AvatarFallback.d.ts +95 -0
- package/dist/esm/components/avatar/parts/AvatarFallback.js +86 -0
- package/dist/esm/components/avatar/parts/AvatarImage.js +21 -0
- package/dist/esm/components/avatar/parts/AvatarPair.d.ts +48 -0
- package/dist/esm/components/avatar/parts/AvatarPair.js +47 -0
- package/dist/esm/components/badge/Badge.d.ts +90 -0
- package/dist/esm/components/badge/Badge.js +57 -0
- package/dist/esm/components/bottom-sheet/BottomSheet.d.ts +137 -0
- package/dist/esm/components/bottom-sheet/BottomSheet.js +68 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.d.ts +56 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.js +26 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetDragIndicator.d.ts +40 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetDragIndicator.js +67 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetFooter.d.ts +27 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetFooter.js +28 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetHeader.d.ts +65 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetHeader.js +45 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.context.d.ts +12 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.d.ts +33 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.js +30 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.d.ts +37 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.js +20 -0
- package/dist/esm/components/breadcrumbs/parts/Breadcrumb.d.ts +9 -0
- package/dist/esm/components/breadcrumbs/parts/Breadcrumb.js +33 -0
- package/dist/esm/components/button/Button.d.ts +45 -0
- package/dist/esm/components/button/Button.js +67 -0
- package/dist/esm/components/button/Button.variants.d.ts +248 -0
- package/dist/esm/components/button/Button.variants.js +157 -0
- package/dist/esm/components/checkbox/Checkbox.d.ts +102 -0
- package/dist/esm/components/checkbox/Checkbox.js +89 -0
- package/dist/esm/components/checkbox/Checkbox.variants.d.ts +67 -0
- package/dist/esm/components/checkbox/Checkbox.variants.js +65 -0
- package/dist/esm/components/checkbox/CheckboxStandalone.d.ts +63 -0
- package/dist/esm/components/checkbox/CheckboxStandalone.js +30 -0
- package/dist/esm/components/checkbox/parts/CheckboxIndicator.js +146 -0
- package/dist/esm/components/checkbox-field/CheckboxField.js +66 -0
- package/dist/esm/components/checkbox-group/CheckboxGroup.d.ts +65 -0
- package/dist/esm/components/checkbox-group/CheckboxGroup.js +73 -0
- package/dist/esm/components/checkbox-group-field/CheckboxGroupField.js +54 -0
- package/dist/esm/components/collapsible/Collapsible.js +29 -0
- package/dist/esm/components/collapsible/parts/CollapsibleContent.js +19 -0
- package/dist/esm/components/collapsible/parts/CollapsibleTitle.js +51 -0
- package/dist/esm/components/data-table/DataTable.d.ts +122 -0
- package/dist/esm/components/data-table/DataTable.js +126 -0
- package/dist/esm/components/data-table/mocks/employee-columns.d.ts +7 -0
- package/dist/esm/components/data-table/mocks/employee-data.d.ts +17 -0
- package/dist/esm/components/data-table/parts/ColumnSortHeader.d.ts +10 -0
- package/dist/esm/components/data-table/parts/ColumnSortHeader.js +37 -0
- package/dist/esm/components/data-table/parts/DataTableBulkActions.d.ts +55 -0
- package/dist/esm/components/data-table/parts/DataTableBulkActions.js +65 -0
- package/dist/esm/components/data-table/parts/DataTableRoot.d.ts +37 -0
- package/dist/esm/components/data-table/parts/DataTableRoot.js +13 -0
- package/dist/esm/components/date-calendar/DateCalendar.d.ts +23 -0
- package/dist/esm/components/date-calendar/DateCalendar.js +174 -0
- package/dist/esm/components/date-calendar/parts/DateSegmentSelect.js +69 -0
- package/dist/esm/components/date-picker/DatePicker.d.ts +67 -0
- package/dist/esm/components/date-picker/DatePicker.js +164 -0
- package/dist/esm/components/date-picker/parts/DateInput.d.ts +87 -0
- package/dist/esm/components/date-picker/parts/DateInput.js +124 -0
- package/dist/esm/components/date-picker-field/DatePickerField.js +73 -0
- package/dist/esm/components/date-picker-field/test-utils.d.ts +12 -0
- package/dist/esm/components/date-picker-field/test-utils.js +35 -0
- package/dist/esm/components/definition-tooltip/DefinitionTooltip.d.ts +23 -0
- package/dist/esm/components/definition-tooltip/DefinitionTooltip.js +29 -0
- package/dist/esm/components/dialog/Dialog.d.ts +101 -0
- package/dist/esm/components/dialog/Dialog.js +72 -0
- package/dist/esm/components/dialog/parts/DialogActions/DialogButton.d.ts +22 -0
- package/dist/esm/components/dialog/parts/DialogActions/DialogButton.js +63 -0
- package/dist/esm/components/dialog/parts/DialogActions.js +13 -0
- package/dist/esm/components/dialog/parts/DialogContent.js +22 -0
- package/dist/esm/components/dialog/parts/DialogTitle.js +7 -0
- package/dist/esm/components/fieldset/Fieldset.d.ts +98 -0
- package/dist/esm/components/fieldset/Fieldset.js +66 -0
- package/dist/esm/components/fieldset/parts/FieldGroup.js +18 -0
- package/dist/esm/components/flex/Flex.d.ts +64 -0
- package/dist/esm/components/flex/Flex.js +42 -0
- package/dist/esm/components/flex/Flex.variants.d.ts +476 -0
- package/dist/esm/components/flex/Flex.variants.js +200 -0
- package/dist/esm/components/flex/FlexItem.d.ts +40 -0
- package/dist/esm/components/flex/FlexItem.js +32 -0
- package/dist/esm/components/form/Form.context.d.ts +9 -0
- package/dist/esm/components/form/Form.context.js +28 -0
- package/dist/esm/components/form/Form.d.ts +35 -0
- package/dist/esm/components/form/Form.js +55 -0
- package/dist/esm/components/form-field/FormField.context.d.ts +33 -0
- package/dist/esm/components/form-field/FormField.context.js +73 -0
- package/dist/esm/components/form-field/FormField.d.ts +59 -0
- package/dist/esm/components/form-field/FormField.js +55 -0
- package/dist/esm/components/form-field/parts/FormContextualLink.js +37 -0
- package/dist/esm/components/form-field/parts/FormControl.js +54 -0
- package/dist/esm/components/form-field/parts/FormFeedbackText.js +26 -0
- package/dist/esm/components/form-field/parts/FormHelperText.js +26 -0
- package/dist/esm/components/form-field/parts/FormLabel.js +30 -0
- package/dist/esm/components/full-page-loader/FullPageLoader.d.ts +13 -0
- package/dist/esm/components/full-page-loader/FullPageLoader.js +35 -0
- package/dist/esm/components/funnel-layout/FunnelLayout.context.d.ts +18 -0
- package/dist/esm/components/funnel-layout/FunnelLayout.context.js +27 -0
- package/dist/esm/components/funnel-layout/FunnelLayout.d.ts +40 -0
- package/dist/esm/components/funnel-layout/FunnelLayout.js +137 -0
- package/dist/esm/components/funnel-layout/parts/FunnelBody.d.ts +36 -0
- package/dist/esm/components/funnel-layout/parts/FunnelBody.js +23 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPage.d.ts +36 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPage.js +36 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageAction.d.ts +40 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageAction.js +36 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageActions.d.ts +47 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageActions.js +41 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageContent.d.ts +35 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageContent.js +23 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageFooter.d.ts +36 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageFooter.js +29 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageHeader.d.ts +77 -0
- package/dist/esm/components/funnel-layout/parts/FunnelPageHeader.js +55 -0
- package/dist/esm/components/funnel-layout/parts/FunnelProgressBar.d.ts +45 -0
- package/dist/esm/components/funnel-layout/parts/FunnelProgressBar.js +50 -0
- package/dist/esm/components/funnel-layout/parts/FunnelSidebar.d.ts +55 -0
- package/dist/esm/components/funnel-layout/parts/FunnelSidebar.js +44 -0
- package/dist/esm/components/funnel-layout/parts/FunnelTopBar.d.ts +91 -0
- package/dist/esm/components/funnel-layout/parts/FunnelTopBar.js +125 -0
- package/dist/esm/components/grid/Grid.d.ts +54 -0
- package/dist/esm/components/grid/Grid.js +38 -0
- package/dist/esm/components/grid/Grid.variants.d.ts +386 -0
- package/dist/esm/components/grid/Grid.variants.js +164 -0
- package/dist/esm/components/grid/GridItem.d.ts +60 -0
- package/dist/esm/components/grid/GridItem.js +43 -0
- package/dist/esm/components/icon/Icon.d.ts +262 -0
- package/dist/esm/components/icon/Icon.js +113 -0
- package/dist/esm/components/icon-button/CircularIconButton.d.ts +46 -0
- package/dist/esm/components/icon-button/CircularIconButton.js +98 -0
- package/dist/esm/components/icon-button/IconButton.d.ts +23 -0
- package/dist/esm/components/icon-button/IconButton.js +62 -0
- package/dist/esm/components/icon-button/IconButton.variants.d.ts +290 -0
- package/dist/esm/components/icon-button/IconButton.variants.js +379 -0
- package/dist/esm/components/input/Input.js +149 -0
- package/dist/esm/components/label/Label.js +64 -0
- package/dist/esm/components/link/Link.d.ts +93 -0
- package/dist/esm/components/link/Link.js +68 -0
- package/dist/esm/components/link/Link.variants.d.ts +166 -0
- package/dist/esm/components/link/Link.variants.js +76 -0
- package/dist/esm/components/menu/Menu.d.ts +7 -0
- package/dist/esm/components/menu/Menu.js +9 -0
- package/dist/esm/components/menu/parts/MenuContent.d.ts +12 -0
- package/dist/esm/components/menu/parts/MenuContent.js +24 -0
- package/dist/esm/components/menu/parts/MenuHeader.js +16 -0
- package/dist/esm/components/menu/parts/MenuItem.js +32 -0
- package/dist/esm/components/menu/parts/MenuSeparator.js +9 -0
- package/dist/esm/components/multi-select/MultiSelect.js +233 -0
- package/dist/esm/components/multi-select/parts/MultiSelectButton.js +161 -0
- package/dist/esm/components/multi-select/parts/MultiSelectOptGroup.js +34 -0
- package/dist/esm/components/multi-select/parts/MultiSelectOption.js +87 -0
- package/dist/esm/components/multi-select/parts/MultiSelectPopover.js +65 -0
- package/dist/esm/components/multi-select-field/MultiSelectField.js +82 -0
- package/dist/esm/components/nav/Nav.js +28 -0
- package/dist/esm/components/nav/parts/NavGroup.js +104 -0
- package/dist/esm/components/nav/parts/NavItem.d.ts +164 -0
- package/dist/esm/components/nav/parts/NavItem.js +95 -0
- package/dist/esm/components/number-field/NumberField.d.ts +47 -0
- package/dist/esm/components/number-field/NumberField.js +71 -0
- package/dist/esm/components/number-input/NumberInput.d.ts +140 -0
- package/dist/esm/components/number-input/NumberInput.js +214 -0
- package/dist/esm/components/page/Page.d.ts +55 -0
- package/dist/esm/components/page/Page.js +44 -0
- package/dist/esm/components/page/parts/PageHeader.d.ts +82 -0
- package/dist/esm/components/page/parts/PageHeader.js +34 -0
- package/dist/esm/components/page/parts/PageHeading.d.ts +30 -0
- package/dist/esm/components/page/parts/PageHeading.js +19 -0
- package/dist/esm/components/pagination/Pagination.d.ts +92 -0
- package/dist/esm/components/pagination/Pagination.js +180 -0
- package/dist/esm/components/pagination/hooks/use-pagination.d.ts +12 -0
- package/dist/esm/components/pagination/hooks/use-pagination.js +28 -0
- package/dist/esm/components/pagination/parts/PaginationEllipsis.d.ts +11 -0
- package/dist/esm/components/pagination/parts/PaginationEllipsis.js +30 -0
- package/dist/esm/components/pagination/parts/PaginationJumpDialog.d.ts +8 -0
- package/dist/esm/components/pagination/parts/PaginationJumpDialog.js +143 -0
- package/dist/esm/components/pagination/parts/PaginationLink.d.ts +26 -0
- package/dist/esm/components/pagination/parts/PaginationLink.js +49 -0
- package/dist/esm/components/pagination/parts/PaginationNavButton.d.ts +9 -0
- package/dist/esm/components/pagination/parts/PaginationNavButton.js +32 -0
- package/dist/esm/components/pagination/utils/pagination-window.d.ts +8 -0
- package/dist/esm/components/pagination/utils/pagination-window.js +33 -0
- package/dist/esm/components/payfit-brand/PayFitBrand.js +76 -0
- package/dist/esm/components/payfit-brand/PayFitPreprod.js +57 -0
- package/dist/esm/components/pill/Pill.d.ts +87 -0
- package/dist/esm/components/pill/Pill.js +53 -0
- package/dist/esm/components/popover/Popover.d.ts +56 -0
- package/dist/esm/components/popover/Popover.js +41 -0
- package/dist/esm/components/popover/parts/PopoverContent.d.ts +6 -0
- package/dist/esm/components/popover/parts/PopoverHeader.d.ts +20 -0
- package/dist/esm/components/popover/parts/PopoverHeader.js +58 -0
- package/dist/esm/components/progress-bar/ProgressBar.js +40 -0
- package/dist/esm/components/radio-button-group/RadioButtonGroup.d.ts +22 -0
- package/dist/esm/components/radio-button-group/RadioButtonGroup.js +23 -0
- package/dist/esm/components/radio-button-group/parts/RadioButton.d.ts +58 -0
- package/dist/esm/components/radio-button-group/parts/RadioButton.js +79 -0
- package/dist/esm/components/radio-button-group/parts/RadioButtonHelper.d.ts +19 -0
- package/dist/esm/components/radio-button-group/parts/RadioButtonHelper.js +19 -0
- package/dist/esm/components/radio-button-group/parts/radio-input-selected.svg.js +5 -0
- package/dist/esm/components/radio-button-group/parts/radio-input-unselected.svg.js +5 -0
- package/dist/esm/components/radio-button-group-field/RadioButtonGroupField.d.ts +47 -0
- package/dist/esm/components/radio-button-group-field/RadioButtonGroupField.js +52 -0
- package/dist/esm/components/search/Search.d.ts +124 -0
- package/dist/esm/components/search/Search.js +164 -0
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroup.js +22 -0
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroups.context.js +15 -0
- package/dist/esm/components/segmented-button-group/parts/ToggleButton.js +122 -0
- package/dist/esm/components/select/Select.d.ts +56 -0
- package/dist/esm/components/select/Select.js +78 -0
- package/dist/esm/components/select/parts/SearchInput.js +40 -0
- package/dist/esm/components/select/parts/SelectButton.js +99 -0
- package/dist/esm/components/select/parts/SelectOption.d.ts +13 -0
- package/dist/esm/components/select/parts/SelectOption.js +64 -0
- package/dist/esm/components/select/parts/SelectOptionGroup.js +26 -0
- package/dist/esm/components/select/parts/SelectOptionHelper.js +22 -0
- package/dist/esm/components/select-field/SelectField.d.ts +50 -0
- package/dist/esm/components/select-field/SelectField.js +65 -0
- package/dist/esm/components/select-field/test-utils.d.ts +12 -0
- package/dist/esm/components/select-field/test-utils.js +26 -0
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.context.d.ts +6 -0
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.d.ts +65 -0
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.js +41 -0
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.d.ts +110 -0
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.js +117 -0
- package/dist/esm/components/selectable-button-group-field/SelectableButtonGroupField.d.ts +59 -0
- package/dist/esm/components/selectable-button-group-field/SelectableButtonGroupField.js +45 -0
- package/dist/esm/components/selectable-card/internals/Content.d.ts +6 -0
- package/dist/esm/components/selectable-card/internals/Content.js +9 -0
- package/dist/esm/components/selectable-card/internals/Description.d.ts +6 -0
- package/dist/esm/components/selectable-card/internals/Description.js +10 -0
- package/dist/esm/components/selectable-card/internals/Illustration.d.ts +6 -0
- package/dist/esm/components/selectable-card/internals/Illustration.js +9 -0
- package/dist/esm/components/selectable-card/internals/SelectedIndicator.d.ts +6 -0
- package/dist/esm/components/selectable-card/internals/SelectedIndicator.js +9 -0
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.d.ts +20 -0
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.js +16 -0
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.d.ts +47 -0
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.js +40 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.d.ts +20 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.js +24 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/RadioIndicator.d.ts +8 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/RadioIndicator.js +67 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.d.ts +50 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.js +36 -0
- package/dist/esm/components/selectable-card/selectableCard.variant.d.ts +19 -0
- package/dist/esm/components/selectable-card/selectableCard.variant.js +24 -0
- package/dist/esm/components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.d.ts +31 -0
- package/dist/esm/components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.js +46 -0
- package/dist/esm/components/selectable-card-radio-group-field/SelectableCardRadioGroupField.d.ts +31 -0
- package/dist/esm/components/selectable-card-radio-group-field/SelectableCardRadioGroupField.js +46 -0
- package/dist/esm/components/side-panel/SidePanel.d.ts +142 -0
- package/dist/esm/components/side-panel/SidePanel.js +70 -0
- package/dist/esm/components/side-panel/parts/SidePanelContent.d.ts +57 -0
- package/dist/esm/components/side-panel/parts/SidePanelContent.js +26 -0
- package/dist/esm/components/side-panel/parts/SidePanelDragIndicator.d.ts +40 -0
- package/dist/esm/components/side-panel/parts/SidePanelDragIndicator.js +67 -0
- package/dist/esm/components/side-panel/parts/SidePanelFooter.d.ts +27 -0
- package/dist/esm/components/side-panel/parts/SidePanelFooter.js +20 -0
- package/dist/esm/components/side-panel/parts/SidePanelHeader.d.ts +59 -0
- package/dist/esm/components/side-panel/parts/SidePanelHeader.js +43 -0
- package/dist/esm/components/skip-links/SkipLinks.d.ts +79 -0
- package/dist/esm/components/skip-links/SkipLinks.js +80 -0
- package/dist/esm/components/spinner/Spinner.js +108 -0
- package/dist/esm/components/table/Table.context.d.ts +59 -0
- package/dist/esm/components/table/Table.context.js +42 -0
- package/dist/esm/components/table/Table.d.ts +97 -0
- package/dist/esm/components/table/Table.js +174 -0
- package/dist/esm/components/table/assets/EmptyStateError.svg.js +5 -0
- package/dist/esm/components/table/assets/EmptyStateNoData.svg.js +5 -0
- package/dist/esm/components/table/hooks/useTableAnnouncer.d.ts +5 -0
- package/dist/esm/components/table/hooks/useTableKeyboardNavigation.d.ts +21 -0
- package/dist/esm/components/table/hooks/useTableKeyboardNavigation.js +209 -0
- package/dist/esm/components/table/parts/TableBody.d.ts +71 -0
- package/dist/esm/components/table/parts/TableBody.js +42 -0
- package/dist/esm/components/table/parts/TableCell.d.ts +72 -0
- package/dist/esm/components/table/parts/TableCell.js +59 -0
- package/dist/esm/components/table/parts/TableColumnHeader.d.ts +66 -0
- package/dist/esm/components/table/parts/TableColumnHeader.js +78 -0
- package/dist/esm/components/table/parts/TableEmptyState.d.ts +149 -0
- package/dist/esm/components/table/parts/TableEmptyState.js +94 -0
- package/dist/esm/components/table/parts/TableHeader.d.ts +29 -0
- package/dist/esm/components/table/parts/TableHeader.js +37 -0
- package/dist/esm/components/table/parts/TablePagination.d.ts +135 -0
- package/dist/esm/components/table/parts/TablePagination.js +139 -0
- package/dist/esm/components/table/parts/TableRow.d.ts +40 -0
- package/dist/esm/components/table/parts/TableRow.js +48 -0
- package/dist/esm/components/tabs/Tabs.context.d.ts +11 -0
- package/dist/esm/components/tabs/Tabs.d.ts +12 -0
- package/dist/esm/components/tabs/Tabs.js +24 -0
- package/dist/esm/components/tabs/Tabs.variant.d.ts +76 -0
- package/dist/esm/components/tabs/Tabs.variant.js +38 -0
- package/dist/esm/components/tabs/parts/NavigationButton.js +43 -0
- package/dist/esm/components/tabs/parts/Tab.d.ts +10 -0
- package/dist/esm/components/tabs/parts/Tab.js +18 -0
- package/dist/esm/components/tabs/parts/TabList.js +87 -0
- package/dist/esm/components/tabs/parts/TabPanel.d.ts +6 -0
- package/dist/esm/components/tabs/parts/TabPanel.js +10 -0
- package/dist/esm/components/task-menu/TaskMenu.context.d.ts +24 -0
- package/dist/esm/components/task-menu/TaskMenu.context.js +60 -0
- package/dist/esm/components/task-menu/TaskMenu.d.ts +80 -0
- package/dist/esm/components/task-menu/TaskMenu.js +28 -0
- package/dist/esm/components/task-menu/parts/Content.d.ts +9 -0
- package/dist/esm/components/task-menu/parts/Content.js +47 -0
- package/dist/esm/components/task-menu/parts/Header.d.ts +5 -0
- package/dist/esm/components/task-menu/parts/Header.js +55 -0
- package/dist/esm/components/task-menu/parts/SubTask.d.ts +166 -0
- package/dist/esm/components/task-menu/parts/SubTask.js +197 -0
- package/dist/esm/components/task-menu/parts/Task.d.ts +179 -0
- package/dist/esm/components/task-menu/parts/Task.js +172 -0
- package/dist/esm/components/task-menu/parts/TaskGroup.d.ts +30 -0
- package/dist/esm/components/task-menu/parts/TaskGroup.js +175 -0
- package/dist/esm/components/task-menu/parts/dot.svg.js +5 -0
- package/dist/esm/components/task-menu/parts/task.variants.d.ts +76 -0
- package/dist/esm/components/task-menu/parts/task.variants.js +54 -0
- package/dist/esm/components/text/Text.d.ts +84 -0
- package/dist/esm/components/text/Text.js +58 -0
- package/dist/esm/components/text/Text.variants.d.ts +292 -0
- package/dist/esm/components/text/Text.variants.js +109 -0
- package/dist/esm/components/text-area/TextArea.d.ts +128 -0
- package/dist/esm/components/text-area/TextArea.js +163 -0
- package/dist/esm/components/text-field/TextField.js +78 -0
- package/dist/esm/components/toast/UnityToast.d.ts +71 -0
- package/dist/esm/components/toast/UnityToast.js +96 -0
- package/dist/esm/components/toast/parts/ToastAction.js +12 -0
- package/dist/esm/components/toast/parts/ToastContent.js +11 -0
- package/dist/esm/components/toast/parts/ToastTitle.js +9 -0
- package/dist/esm/components/toast/toast.js +39 -0
- package/dist/esm/components/toggle-switch/ToggleSwitch.d.ts +89 -0
- package/dist/esm/components/toggle-switch/ToggleSwitch.js +81 -0
- package/dist/esm/components/toggle-switch-field/ToggleSwitchField.d.ts +68 -0
- package/dist/esm/components/toggle-switch-field/ToggleSwitchField.js +57 -0
- package/dist/esm/components/toggle-switch-group/ToggleSwitchGroup.d.ts +71 -0
- package/dist/esm/components/toggle-switch-group/ToggleSwitchGroup.js +109 -0
- package/dist/esm/components/toggle-switch-group-field/ToggleSwitchGroupField.d.ts +82 -0
- package/dist/esm/components/toggle-switch-group-field/ToggleSwitchGroupField.js +59 -0
- package/dist/esm/components/tooltip/Tooltip.d.ts +10 -0
- package/dist/esm/components/tooltip/Tooltip.js +30 -0
- package/dist/esm/docs/blocks/Cards.d.ts +18 -0
- package/dist/esm/docs/table/mocks/employee-columns.d.ts +3 -0
- package/dist/esm/hooks/use-async-list.d.ts +2 -0
- package/dist/esm/hooks/use-breakpoint-listener.js +14 -0
- package/dist/esm/hooks/use-form.js +32 -0
- package/dist/esm/hooks/use-media-query.js +19 -0
- package/dist/esm/index.d.ts +166 -0
- package/dist/esm/index.js +400 -0
- package/dist/esm/index.storybook-testing.d.ts +2 -0
- package/dist/esm/integrations/react-router/v5/UnityReactRouterV5Provider.d.ts +6 -0
- package/dist/esm/integrations/react-router/v5/UnityReactRouterV5Provider.js +28 -0
- package/dist/esm/integrations/react-router/v5/index.d.ts +1 -0
- package/dist/esm/integrations/react-router/v5.js +4 -0
- package/dist/esm/mocks/employees.d.ts +17 -0
- package/dist/esm/providers/router/RouterProvider.d.ts +37 -0
- package/dist/esm/storybook-testing.js +6 -0
- package/dist/esm/storybook-utilities/breadcrumbs/transform.d.ts +2 -0
- package/dist/esm/storybook-utilities/previewTransform.d.ts +1 -0
- package/dist/esm/types/testing.d.ts +2 -0
- package/dist/esm/utils/platform.js +7 -0
- package/i18n/en-GB.json +50 -2
- package/i18n/es-ES.json +50 -2
- package/i18n/fr-FR.json +50 -2
- package/package.json +95 -64
- package/dist/cjs/components/actionable/Actionable.d.ts +0 -12
- package/dist/cjs/components/actionable/Actionable.js +0 -1
- package/dist/cjs/components/alert/Alert.d.ts +0 -155
- package/dist/cjs/components/alert/Alert.js +0 -1
- package/dist/cjs/components/alert/parts/AlertActions.d.ts +0 -55
- package/dist/cjs/components/alert/parts/AlertActions.js +0 -1
- package/dist/cjs/components/alert/parts/AlertContent.d.ts +0 -17
- package/dist/cjs/components/alert/parts/AlertContent.js +0 -1
- package/dist/cjs/components/alert/parts/AlertTitle.d.ts +0 -17
- package/dist/cjs/components/alert/parts/AlertTitle.js +0 -1
- package/dist/cjs/components/anchor/Anchor.js +0 -1
- package/dist/cjs/components/app-layout/AppLayout.js +0 -1
- package/dist/cjs/components/app-menu/AppMenu.js +0 -1
- package/dist/cjs/components/app-menu/parts/AppMenu.context.js +0 -1
- package/dist/cjs/components/app-menu/parts/AppMenuFooter.js +0 -1
- package/dist/cjs/components/app-menu/parts/AppMenuHeader.js +0 -1
- package/dist/cjs/components/app-menu/parts/AppMenuNavContent.js +0 -1
- package/dist/cjs/components/avatar/Avatar.context.js +0 -1
- package/dist/cjs/components/avatar/Avatar.d.ts +0 -206
- package/dist/cjs/components/avatar/Avatar.js +0 -1
- package/dist/cjs/components/avatar/Avatar.variants.d.ts +0 -85
- package/dist/cjs/components/avatar/Avatar.variants.js +0 -1
- package/dist/cjs/components/avatar/parts/AvatarFallback.d.ts +0 -170
- package/dist/cjs/components/avatar/parts/AvatarFallback.js +0 -1
- package/dist/cjs/components/avatar/parts/AvatarImage.js +0 -1
- package/dist/cjs/components/avatar/parts/AvatarPair.d.ts +0 -48
- package/dist/cjs/components/avatar/parts/AvatarPair.js +0 -1
- package/dist/cjs/components/avatar/utils.js +0 -1
- package/dist/cjs/components/badge/Badge.d.ts +0 -70
- package/dist/cjs/components/badge/Badge.js +0 -1
- package/dist/cjs/components/bottom-sheet/BottomSheet.d.ts +0 -153
- package/dist/cjs/components/bottom-sheet/BottomSheet.js +0 -1
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetContent.d.ts +0 -70
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetContent.js +0 -1
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetDragIndicator.d.ts +0 -54
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetDragIndicator.js +0 -1
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetFooter.d.ts +0 -27
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetFooter.js +0 -1
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetHeader.d.ts +0 -83
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetHeader.js +0 -1
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.context.d.ts +0 -12
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.context.js +0 -1
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.d.ts +0 -33
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.js +0 -1
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.variant.d.ts +0 -73
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.variant.js +0 -1
- package/dist/cjs/components/breadcrumbs/parts/Breadcrumb.d.ts +0 -9
- package/dist/cjs/components/breadcrumbs/parts/Breadcrumb.js +0 -1
- package/dist/cjs/components/button/Button.d.ts +0 -42
- package/dist/cjs/components/button/Button.js +0 -1
- package/dist/cjs/components/button/Button.variants.d.ts +0 -536
- package/dist/cjs/components/button/Button.variants.js +0 -1
- package/dist/cjs/components/checkbox/Checkbox.d.ts +0 -225
- package/dist/cjs/components/checkbox/Checkbox.js +0 -1
- package/dist/cjs/components/checkbox/parts/CheckboxIndicator.js +0 -1
- package/dist/cjs/components/checkbox-field/CheckboxField.js +0 -1
- package/dist/cjs/components/checkbox-group/CheckboxGroup.d.ts +0 -65
- package/dist/cjs/components/checkbox-group/CheckboxGroup.js +0 -1
- package/dist/cjs/components/checkbox-group-field/CheckboxGroupField.js +0 -1
- package/dist/cjs/components/date-picker/DatePicker.d.ts +0 -67
- package/dist/cjs/components/date-picker/DatePicker.js +0 -1
- package/dist/cjs/components/date-picker/hooks/useMonthsList.js +0 -1
- package/dist/cjs/components/date-picker/hooks/useYearsList.js +0 -1
- package/dist/cjs/components/date-picker/parts/DateCalendar.d.ts +0 -9
- package/dist/cjs/components/date-picker/parts/DateCalendar.js +0 -1
- package/dist/cjs/components/date-picker/parts/DateInput.d.ts +0 -155
- package/dist/cjs/components/date-picker/parts/DateInput.js +0 -1
- package/dist/cjs/components/date-picker/parts/DateSegmentSelect.js +0 -1
- package/dist/cjs/components/date-picker-field/DatePickerField.js +0 -1
- package/dist/cjs/components/dialog/Dialog.d.ts +0 -117
- package/dist/cjs/components/dialog/Dialog.js +0 -1
- package/dist/cjs/components/dialog/parts/DialogActions/DialogButton.d.ts +0 -18
- package/dist/cjs/components/dialog/parts/DialogActions/DialogButton.js +0 -1
- package/dist/cjs/components/dialog/parts/DialogActions.js +0 -1
- package/dist/cjs/components/dialog/parts/DialogContent.js +0 -1
- package/dist/cjs/components/dialog/parts/DialogTitle.js +0 -1
- package/dist/cjs/components/fieldset/Fieldset.d.ts +0 -150
- package/dist/cjs/components/fieldset/Fieldset.js +0 -1
- package/dist/cjs/components/fieldset/parts/FieldGroup.js +0 -1
- package/dist/cjs/components/flex/Flex.d.ts +0 -64
- package/dist/cjs/components/flex/Flex.js +0 -1
- package/dist/cjs/components/flex/Flex.variants.d.ts +0 -484
- package/dist/cjs/components/flex/Flex.variants.js +0 -1
- package/dist/cjs/components/flex/FlexItem.d.ts +0 -40
- package/dist/cjs/components/flex/FlexItem.js +0 -1
- package/dist/cjs/components/form/Form.context.d.ts +0 -12
- package/dist/cjs/components/form/Form.context.js +0 -1
- package/dist/cjs/components/form/Form.d.ts +0 -33
- package/dist/cjs/components/form/Form.js +0 -1
- package/dist/cjs/components/form-field/FormField.context.d.ts +0 -38
- package/dist/cjs/components/form-field/FormField.context.js +0 -1
- package/dist/cjs/components/form-field/FormField.d.ts +0 -61
- package/dist/cjs/components/form-field/FormField.js +0 -1
- package/dist/cjs/components/form-field/parts/FormContextualLink.js +0 -1
- package/dist/cjs/components/form-field/parts/FormControl.js +0 -1
- package/dist/cjs/components/form-field/parts/FormFeedbackText.js +0 -1
- package/dist/cjs/components/form-field/parts/FormHelperText.js +0 -1
- package/dist/cjs/components/form-field/parts/FormLabel.js +0 -1
- package/dist/cjs/components/form-field/utils/isFieldRequired.js +0 -1
- package/dist/cjs/components/full-page-loader/FullPageLoader.d.ts +0 -13
- package/dist/cjs/components/full-page-loader/FullPageLoader.js +0 -1
- package/dist/cjs/components/grid/Grid.d.ts +0 -54
- package/dist/cjs/components/grid/Grid.js +0 -1
- package/dist/cjs/components/grid/Grid.variants.d.ts +0 -394
- package/dist/cjs/components/grid/Grid.variants.js +0 -1
- package/dist/cjs/components/grid/GridItem.d.ts +0 -60
- package/dist/cjs/components/grid/GridItem.js +0 -1
- package/dist/cjs/components/icon/Icon.d.ts +0 -574
- package/dist/cjs/components/icon/Icon.js +0 -1
- package/dist/cjs/components/icon-button/CircularIconButton.d.ts +0 -78
- package/dist/cjs/components/icon-button/CircularIconButton.js +0 -1
- package/dist/cjs/components/icon-button/IconButton.d.ts +0 -26
- package/dist/cjs/components/icon-button/IconButton.js +0 -1
- package/dist/cjs/components/icon-button/IconButton.variants.d.ts +0 -724
- package/dist/cjs/components/icon-button/IconButton.variants.js +0 -1
- package/dist/cjs/components/input/Input.js +0 -1
- package/dist/cjs/components/label/Label.js +0 -1
- package/dist/cjs/components/link/Link.d.ts +0 -73
- package/dist/cjs/components/link/Link.js +0 -1
- package/dist/cjs/components/link/Link.variants.d.ts +0 -120
- package/dist/cjs/components/link/Link.variants.js +0 -1
- package/dist/cjs/components/link/utils.js +0 -1
- package/dist/cjs/components/menu/Menu.d.ts +0 -10
- package/dist/cjs/components/menu/Menu.js +0 -1
- package/dist/cjs/components/menu/parts/MenuContent.d.ts +0 -11
- package/dist/cjs/components/menu/parts/MenuContent.js +0 -1
- package/dist/cjs/components/menu/parts/MenuHeader.js +0 -1
- package/dist/cjs/components/menu/parts/MenuItem.js +0 -1
- package/dist/cjs/components/menu/parts/MenuSeparator.js +0 -1
- package/dist/cjs/components/menu/parts/MenuTrigger.js +0 -1
- package/dist/cjs/components/multi-select/MultiSelect.js +0 -1
- package/dist/cjs/components/multi-select/Multiselect.context.js +0 -1
- package/dist/cjs/components/multi-select/hooks/use-combobox-filter.js +0 -1
- package/dist/cjs/components/multi-select/hooks/use-multiselection-state.js +0 -1
- package/dist/cjs/components/multi-select/parts/MultiSelectButton.js +0 -1
- package/dist/cjs/components/multi-select/parts/MultiSelectOptGroup.js +0 -1
- package/dist/cjs/components/multi-select/parts/MultiSelectOption.js +0 -1
- package/dist/cjs/components/multi-select/parts/MultiSelectPopover.js +0 -1
- package/dist/cjs/components/multi-select-field/MultiSelectField.js +0 -1
- package/dist/cjs/components/nav/Nav.js +0 -1
- package/dist/cjs/components/nav/parts/NavGroup.js +0 -1
- package/dist/cjs/components/nav/parts/NavItem.d.ts +0 -279
- package/dist/cjs/components/nav/parts/NavItem.js +0 -1
- package/dist/cjs/components/payfit-brand/PayFitBrand.js +0 -1
- package/dist/cjs/components/payfit-brand/PayFitPreprod.js +0 -1
- package/dist/cjs/components/pill/Pill.d.ts +0 -143
- package/dist/cjs/components/pill/Pill.js +0 -1
- package/dist/cjs/components/progress-bar/ProgressBar.js +0 -1
- package/dist/cjs/components/select/Select.d.ts +0 -52
- package/dist/cjs/components/select/Select.js +0 -1
- package/dist/cjs/components/select/parts/SearchInput.js +0 -1
- package/dist/cjs/components/select/parts/SelectButton.js +0 -1
- package/dist/cjs/components/select/parts/SelectOption.context.js +0 -1
- package/dist/cjs/components/select/parts/SelectOption.d.ts +0 -6
- package/dist/cjs/components/select/parts/SelectOption.js +0 -1
- package/dist/cjs/components/select/parts/SelectOptionGroup.js +0 -1
- package/dist/cjs/components/select/parts/SelectOptionHelper.js +0 -1
- package/dist/cjs/components/select-field/SelectField.d.ts +0 -50
- package/dist/cjs/components/select-field/SelectField.js +0 -1
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.context.d.ts +0 -2
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.context.js +0 -1
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.d.ts +0 -59
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.js +0 -1
- package/dist/cjs/components/selectable-button-group/parts/SelectableButton.d.ts +0 -127
- package/dist/cjs/components/selectable-button-group/parts/SelectableButton.js +0 -1
- package/dist/cjs/components/side-panel/SidePanel.d.ts +0 -152
- package/dist/cjs/components/side-panel/SidePanel.js +0 -1
- package/dist/cjs/components/side-panel/parts/SidePanelContent.d.ts +0 -71
- package/dist/cjs/components/side-panel/parts/SidePanelContent.js +0 -1
- package/dist/cjs/components/side-panel/parts/SidePanelDragIndicator.d.ts +0 -54
- package/dist/cjs/components/side-panel/parts/SidePanelDragIndicator.js +0 -1
- package/dist/cjs/components/side-panel/parts/SidePanelFooter.d.ts +0 -27
- package/dist/cjs/components/side-panel/parts/SidePanelFooter.js +0 -1
- package/dist/cjs/components/side-panel/parts/SidePanelHeader.d.ts +0 -75
- package/dist/cjs/components/side-panel/parts/SidePanelHeader.js +0 -1
- package/dist/cjs/components/spinner/Spinner.js +0 -1
- package/dist/cjs/components/tabs/Tabs.context.d.ts +0 -11
- package/dist/cjs/components/tabs/Tabs.context.js +0 -1
- package/dist/cjs/components/tabs/Tabs.d.ts +0 -12
- package/dist/cjs/components/tabs/Tabs.js +0 -1
- package/dist/cjs/components/tabs/Tabs.variant.d.ts +0 -139
- package/dist/cjs/components/tabs/Tabs.variant.js +0 -1
- package/dist/cjs/components/tabs/parts/NavigationButton.js +0 -1
- package/dist/cjs/components/tabs/parts/Tab.d.ts +0 -9
- package/dist/cjs/components/tabs/parts/Tab.js +0 -1
- package/dist/cjs/components/tabs/parts/TabList.js +0 -1
- package/dist/cjs/components/tabs/parts/TabPanel.d.ts +0 -4
- package/dist/cjs/components/tabs/parts/TabPanel.js +0 -1
- package/dist/cjs/components/text/Text.d.ts +0 -84
- package/dist/cjs/components/text/Text.js +0 -1
- package/dist/cjs/components/text/Text.variants.d.ts +0 -673
- package/dist/cjs/components/text/Text.variants.js +0 -1
- package/dist/cjs/components/text-area/TextArea.d.ts +0 -220
- package/dist/cjs/components/text-area/TextArea.js +0 -1
- package/dist/cjs/components/text-field/TextField.js +0 -1
- package/dist/cjs/components/toast/Toast.context.js +0 -1
- package/dist/cjs/components/toast/ToastManager.js +0 -1
- package/dist/cjs/components/toast/UnityToast.d.ts +0 -55
- package/dist/cjs/components/toast/UnityToast.js +0 -1
- package/dist/cjs/components/toast/parts/ToastAction.js +0 -1
- package/dist/cjs/components/toast/parts/ToastContent.js +0 -1
- package/dist/cjs/components/toast/parts/ToastTitle.js +0 -1
- package/dist/cjs/components/toast/toast.js +0 -1
- package/dist/cjs/components/tooltip/Tooltip.d.ts +0 -7
- package/dist/cjs/components/tooltip/Tooltip.js +0 -1
- package/dist/cjs/docs/blocks/Cards.d.ts +0 -18
- package/dist/cjs/hooks/use-breakpoint-listener.js +0 -1
- package/dist/cjs/hooks/use-form.js +0 -1
- package/dist/cjs/hooks/use-id.js +0 -1
- package/dist/cjs/hooks/use-media-query.js +0 -1
- package/dist/cjs/hooks/use-resizable.js +0 -1
- package/dist/cjs/index.d.ts +0 -103
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/providers/router/RouterProvider.d.ts +0 -37
- package/dist/cjs/providers/router/RouterProvider.js +0 -1
- package/dist/cjs/providers/router/integrations/UnityReactRouterV5Provider.d.ts +0 -6
- package/dist/cjs/providers/router/integrations/UnityReactRouterV5Provider.js +0 -1
- package/dist/cjs/utils/platform.js +0 -1
- package/dist/esm/components/actionable/Actionable.d.mts +0 -12
- package/dist/esm/components/actionable/Actionable.mjs +0 -31
- package/dist/esm/components/alert/Alert.d.mts +0 -155
- package/dist/esm/components/alert/Alert.mjs +0 -78
- package/dist/esm/components/alert/parts/AlertActions.d.mts +0 -55
- package/dist/esm/components/alert/parts/AlertActions.mjs +0 -21
- package/dist/esm/components/alert/parts/AlertContent.d.mts +0 -17
- package/dist/esm/components/alert/parts/AlertContent.mjs +0 -10
- package/dist/esm/components/alert/parts/AlertTitle.d.mts +0 -17
- package/dist/esm/components/alert/parts/AlertTitle.mjs +0 -20
- package/dist/esm/components/anchor/Anchor.d.mts +0 -15
- package/dist/esm/components/anchor/Anchor.mjs +0 -49
- package/dist/esm/components/app-layout/AppLayout.d.mts +0 -27
- package/dist/esm/components/app-layout/AppLayout.mjs +0 -70
- package/dist/esm/components/app-menu/AppMenu.d.mts +0 -9
- package/dist/esm/components/app-menu/AppMenu.mjs +0 -14
- package/dist/esm/components/app-menu/parts/AppMenu.context.d.mts +0 -9
- package/dist/esm/components/app-menu/parts/AppMenuFooter.d.mts +0 -31
- package/dist/esm/components/app-menu/parts/AppMenuFooter.mjs +0 -232
- package/dist/esm/components/app-menu/parts/AppMenuHeader.d.mts +0 -9
- package/dist/esm/components/app-menu/parts/AppMenuHeader.mjs +0 -41
- package/dist/esm/components/app-menu/parts/AppMenuNavContent.d.mts +0 -5
- package/dist/esm/components/app-menu/parts/AppMenuNavContent.mjs +0 -23
- package/dist/esm/components/avatar/Avatar.context.d.mts +0 -11
- package/dist/esm/components/avatar/Avatar.d.mts +0 -206
- package/dist/esm/components/avatar/Avatar.mjs +0 -33
- package/dist/esm/components/avatar/Avatar.variants.d.mts +0 -85
- package/dist/esm/components/avatar/Avatar.variants.mjs +0 -46
- package/dist/esm/components/avatar/parts/AvatarFallback.d.mts +0 -170
- package/dist/esm/components/avatar/parts/AvatarFallback.mjs +0 -87
- package/dist/esm/components/avatar/parts/AvatarImage.d.mts +0 -8
- package/dist/esm/components/avatar/parts/AvatarImage.mjs +0 -21
- package/dist/esm/components/avatar/parts/AvatarPair.d.mts +0 -48
- package/dist/esm/components/avatar/parts/AvatarPair.mjs +0 -47
- package/dist/esm/components/avatar/utils.d.mts +0 -1
- package/dist/esm/components/badge/Badge.d.mts +0 -70
- package/dist/esm/components/badge/Badge.mjs +0 -61
- package/dist/esm/components/bottom-sheet/BottomSheet.d.mts +0 -153
- package/dist/esm/components/bottom-sheet/BottomSheet.mjs +0 -68
- package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.d.mts +0 -70
- package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.mjs +0 -26
- package/dist/esm/components/bottom-sheet/parts/BottomSheetDragIndicator.d.mts +0 -54
- package/dist/esm/components/bottom-sheet/parts/BottomSheetDragIndicator.mjs +0 -67
- package/dist/esm/components/bottom-sheet/parts/BottomSheetFooter.d.mts +0 -27
- package/dist/esm/components/bottom-sheet/parts/BottomSheetFooter.mjs +0 -28
- package/dist/esm/components/bottom-sheet/parts/BottomSheetHeader.d.mts +0 -83
- package/dist/esm/components/bottom-sheet/parts/BottomSheetHeader.mjs +0 -45
- package/dist/esm/components/breadcrumbs/Breadcrumbs.context.d.mts +0 -12
- package/dist/esm/components/breadcrumbs/Breadcrumbs.d.mts +0 -33
- package/dist/esm/components/breadcrumbs/Breadcrumbs.mjs +0 -21
- package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.d.mts +0 -73
- package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.mjs +0 -20
- package/dist/esm/components/breadcrumbs/parts/Breadcrumb.d.mts +0 -9
- package/dist/esm/components/breadcrumbs/parts/Breadcrumb.mjs +0 -24
- package/dist/esm/components/button/Button.d.mts +0 -42
- package/dist/esm/components/button/Button.mjs +0 -75
- package/dist/esm/components/button/Button.variants.d.mts +0 -536
- package/dist/esm/components/button/Button.variants.mjs +0 -80
- package/dist/esm/components/checkbox/Checkbox.d.mts +0 -225
- package/dist/esm/components/checkbox/Checkbox.mjs +0 -154
- package/dist/esm/components/checkbox/parts/CheckboxIndicator.d.mts +0 -13
- package/dist/esm/components/checkbox/parts/CheckboxIndicator.mjs +0 -146
- package/dist/esm/components/checkbox-field/CheckboxField.d.mts +0 -74
- package/dist/esm/components/checkbox-field/CheckboxField.mjs +0 -61
- package/dist/esm/components/checkbox-group/CheckboxGroup.d.mts +0 -65
- package/dist/esm/components/checkbox-group/CheckboxGroup.mjs +0 -73
- package/dist/esm/components/checkbox-group-field/CheckboxGroupField.d.mts +0 -79
- package/dist/esm/components/checkbox-group-field/CheckboxGroupField.mjs +0 -54
- package/dist/esm/components/collapsible/Collapsible.d.mts +0 -33
- package/dist/esm/components/collapsible/parts/CollapsibleContent.d.mts +0 -36
- package/dist/esm/components/collapsible/parts/CollapsibleTitle.d.mts +0 -39
- package/dist/esm/components/date-picker/DatePicker.d.mts +0 -67
- package/dist/esm/components/date-picker/DatePicker.mjs +0 -164
- package/dist/esm/components/date-picker/parts/DateCalendar.d.mts +0 -9
- package/dist/esm/components/date-picker/parts/DateCalendar.mjs +0 -172
- package/dist/esm/components/date-picker/parts/DateInput.d.mts +0 -155
- package/dist/esm/components/date-picker/parts/DateInput.mjs +0 -124
- package/dist/esm/components/date-picker/parts/DateSegmentSelect.d.mts +0 -15
- package/dist/esm/components/date-picker/parts/DateSegmentSelect.mjs +0 -69
- package/dist/esm/components/date-picker/utils.d.mts +0 -12
- package/dist/esm/components/date-picker-field/DatePickerField.d.mts +0 -83
- package/dist/esm/components/date-picker-field/DatePickerField.mjs +0 -73
- package/dist/esm/components/dialog/Dialog.d.mts +0 -117
- package/dist/esm/components/dialog/Dialog.mjs +0 -70
- package/dist/esm/components/dialog/parts/DialogActions/DialogButton.d.mts +0 -18
- package/dist/esm/components/dialog/parts/DialogActions/DialogButton.mjs +0 -43
- package/dist/esm/components/dialog/parts/DialogActions.d.mts +0 -6
- package/dist/esm/components/dialog/parts/DialogActions.mjs +0 -13
- package/dist/esm/components/dialog/parts/DialogContent.d.mts +0 -4
- package/dist/esm/components/dialog/parts/DialogContent.mjs +0 -22
- package/dist/esm/components/dialog/parts/DialogTitle.d.mts +0 -6
- package/dist/esm/components/dialog/parts/DialogTitle.mjs +0 -7
- package/dist/esm/components/fieldset/Fieldset.d.mts +0 -150
- package/dist/esm/components/fieldset/Fieldset.mjs +0 -66
- package/dist/esm/components/fieldset/parts/FieldGroup.d.mts +0 -27
- package/dist/esm/components/fieldset/parts/FieldGroup.mjs +0 -18
- package/dist/esm/components/flex/Flex.d.mts +0 -64
- package/dist/esm/components/flex/Flex.mjs +0 -42
- package/dist/esm/components/flex/Flex.variants.d.mts +0 -484
- package/dist/esm/components/flex/Flex.variants.mjs +0 -218
- package/dist/esm/components/flex/FlexItem.d.mts +0 -40
- package/dist/esm/components/flex/FlexItem.mjs +0 -32
- package/dist/esm/components/form/Form.context.d.mts +0 -12
- package/dist/esm/components/form/Form.context.mjs +0 -30
- package/dist/esm/components/form/Form.d.mts +0 -33
- package/dist/esm/components/form/Form.mjs +0 -58
- package/dist/esm/components/form-field/FormField.context.d.mts +0 -38
- package/dist/esm/components/form-field/FormField.context.mjs +0 -81
- package/dist/esm/components/form-field/FormField.d.mts +0 -61
- package/dist/esm/components/form-field/FormField.mjs +0 -60
- package/dist/esm/components/form-field/parts/FormContextualLink.d.mts +0 -20
- package/dist/esm/components/form-field/parts/FormContextualLink.mjs +0 -37
- package/dist/esm/components/form-field/parts/FormControl.d.mts +0 -30
- package/dist/esm/components/form-field/parts/FormControl.mjs +0 -50
- package/dist/esm/components/form-field/parts/FormFeedbackText.d.mts +0 -7
- package/dist/esm/components/form-field/parts/FormFeedbackText.mjs +0 -28
- package/dist/esm/components/form-field/parts/FormHelperText.d.mts +0 -7
- package/dist/esm/components/form-field/parts/FormHelperText.mjs +0 -26
- package/dist/esm/components/form-field/parts/FormLabel.d.mts +0 -8
- package/dist/esm/components/form-field/parts/FormLabel.mjs +0 -30
- package/dist/esm/components/form-field/utils/isFieldRequired.d.mts +0 -8
- package/dist/esm/components/full-page-loader/FullPageLoader.d.mts +0 -13
- package/dist/esm/components/full-page-loader/FullPageLoader.mjs +0 -35
- package/dist/esm/components/grid/Grid.d.mts +0 -54
- package/dist/esm/components/grid/Grid.mjs +0 -38
- package/dist/esm/components/grid/Grid.variants.d.mts +0 -394
- package/dist/esm/components/grid/Grid.variants.mjs +0 -164
- package/dist/esm/components/grid/GridItem.d.mts +0 -60
- package/dist/esm/components/grid/GridItem.mjs +0 -43
- package/dist/esm/components/icon/Icon.d.mts +0 -574
- package/dist/esm/components/icon/Icon.mjs +0 -113
- package/dist/esm/components/icon-button/CircularIconButton.d.mts +0 -78
- package/dist/esm/components/icon-button/CircularIconButton.mjs +0 -66
- package/dist/esm/components/icon-button/IconButton.d.mts +0 -26
- package/dist/esm/components/icon-button/IconButton.mjs +0 -59
- package/dist/esm/components/icon-button/IconButton.variants.d.mts +0 -724
- package/dist/esm/components/icon-button/IconButton.variants.mjs +0 -242
- package/dist/esm/components/input/Input.d.mts +0 -48
- package/dist/esm/components/input/Input.mjs +0 -149
- package/dist/esm/components/label/Label.d.mts +0 -17
- package/dist/esm/components/label/Label.mjs +0 -57
- package/dist/esm/components/link/Link.d.mts +0 -73
- package/dist/esm/components/link/Link.mjs +0 -65
- package/dist/esm/components/link/Link.variants.d.mts +0 -120
- package/dist/esm/components/link/Link.variants.mjs +0 -42
- package/dist/esm/components/link/utils.d.mts +0 -1
- package/dist/esm/components/menu/Menu.d.mts +0 -10
- package/dist/esm/components/menu/Menu.mjs +0 -9
- package/dist/esm/components/menu/parts/MenuContent.d.mts +0 -11
- package/dist/esm/components/menu/parts/MenuContent.mjs +0 -22
- package/dist/esm/components/menu/parts/MenuHeader.d.mts +0 -9
- package/dist/esm/components/menu/parts/MenuHeader.mjs +0 -16
- package/dist/esm/components/menu/parts/MenuItem.d.mts +0 -15
- package/dist/esm/components/menu/parts/MenuItem.mjs +0 -32
- package/dist/esm/components/menu/parts/MenuSeparator.d.mts +0 -4
- package/dist/esm/components/menu/parts/MenuSeparator.mjs +0 -9
- package/dist/esm/components/menu/parts/MenuTrigger.d.mts +0 -10
- package/dist/esm/components/multi-select/MultiSelect.d.mts +0 -62
- package/dist/esm/components/multi-select/MultiSelect.mjs +0 -231
- package/dist/esm/components/multi-select/Multiselect.context.d.mts +0 -7
- package/dist/esm/components/multi-select/Multiselect.types.d.mts +0 -109
- package/dist/esm/components/multi-select/hooks/use-combobox-filter.d.mts +0 -12
- package/dist/esm/components/multi-select/hooks/use-multiselection-state.d.mts +0 -14
- package/dist/esm/components/multi-select/parts/MultiSelectButton.d.mts +0 -16
- package/dist/esm/components/multi-select/parts/MultiSelectButton.mjs +0 -161
- package/dist/esm/components/multi-select/parts/MultiSelectOptGroup.d.mts +0 -69
- package/dist/esm/components/multi-select/parts/MultiSelectOptGroup.mjs +0 -34
- package/dist/esm/components/multi-select/parts/MultiSelectOption.d.mts +0 -20
- package/dist/esm/components/multi-select/parts/MultiSelectOption.mjs +0 -87
- package/dist/esm/components/multi-select/parts/MultiSelectPopover.d.mts +0 -7
- package/dist/esm/components/multi-select/parts/MultiSelectPopover.mjs +0 -65
- package/dist/esm/components/multi-select-field/MultiSelectField.d.mts +0 -59
- package/dist/esm/components/multi-select-field/MultiSelectField.mjs +0 -82
- package/dist/esm/components/nav/Nav.d.mts +0 -12
- package/dist/esm/components/nav/Nav.mjs +0 -28
- package/dist/esm/components/nav/parts/NavGroup.d.mts +0 -30
- package/dist/esm/components/nav/parts/NavGroup.mjs +0 -105
- package/dist/esm/components/nav/parts/NavItem.d.mts +0 -279
- package/dist/esm/components/nav/parts/NavItem.mjs +0 -87
- package/dist/esm/components/payfit-brand/PayFitBrand.d.mts +0 -22
- package/dist/esm/components/payfit-brand/PayFitBrand.mjs +0 -76
- package/dist/esm/components/payfit-brand/PayFitPreprod.d.mts +0 -10
- package/dist/esm/components/payfit-brand/PayFitPreprod.mjs +0 -57
- package/dist/esm/components/pill/Pill.d.mts +0 -143
- package/dist/esm/components/pill/Pill.mjs +0 -53
- package/dist/esm/components/progress-bar/ProgressBar.d.mts +0 -10
- package/dist/esm/components/progress-bar/ProgressBar.mjs +0 -40
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroup.d.mts +0 -43
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroups.context.d.mts +0 -8
- package/dist/esm/components/segmented-button-group/parts/ToggleButton.d.mts +0 -47
- package/dist/esm/components/select/Select.d.mts +0 -52
- package/dist/esm/components/select/Select.mjs +0 -63
- package/dist/esm/components/select/parts/SearchInput.d.mts +0 -2
- package/dist/esm/components/select/parts/SearchInput.mjs +0 -39
- package/dist/esm/components/select/parts/SelectButton.d.mts +0 -8
- package/dist/esm/components/select/parts/SelectButton.mjs +0 -96
- package/dist/esm/components/select/parts/SelectOption.context.d.mts +0 -8
- package/dist/esm/components/select/parts/SelectOption.d.mts +0 -6
- package/dist/esm/components/select/parts/SelectOption.mjs +0 -64
- package/dist/esm/components/select/parts/SelectOptionGroup.d.mts +0 -12
- package/dist/esm/components/select/parts/SelectOptionGroup.mjs +0 -26
- package/dist/esm/components/select/parts/SelectOptionHelper.d.mts +0 -4
- package/dist/esm/components/select/parts/SelectOptionHelper.mjs +0 -22
- package/dist/esm/components/select-field/SelectField.d.mts +0 -50
- package/dist/esm/components/select-field/SelectField.mjs +0 -65
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.context.d.mts +0 -2
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.d.mts +0 -59
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.mjs +0 -34
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.d.mts +0 -127
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.mjs +0 -99
- package/dist/esm/components/side-panel/SidePanel.d.mts +0 -152
- package/dist/esm/components/side-panel/SidePanel.mjs +0 -67
- package/dist/esm/components/side-panel/parts/SidePanelContent.d.mts +0 -71
- package/dist/esm/components/side-panel/parts/SidePanelContent.mjs +0 -26
- package/dist/esm/components/side-panel/parts/SidePanelDragIndicator.d.mts +0 -54
- package/dist/esm/components/side-panel/parts/SidePanelDragIndicator.mjs +0 -67
- package/dist/esm/components/side-panel/parts/SidePanelFooter.d.mts +0 -27
- package/dist/esm/components/side-panel/parts/SidePanelFooter.mjs +0 -20
- package/dist/esm/components/side-panel/parts/SidePanelHeader.d.mts +0 -75
- package/dist/esm/components/side-panel/parts/SidePanelHeader.mjs +0 -43
- package/dist/esm/components/spinner/Spinner.d.mts +0 -17
- package/dist/esm/components/spinner/Spinner.mjs +0 -108
- package/dist/esm/components/spinner/dynamic-content.d.mts +0 -2
- package/dist/esm/components/stepper/Stepper.context.d.mts +0 -8
- package/dist/esm/components/stepper/Stepper.d.mts +0 -45
- package/dist/esm/components/stepper/hooks/useStepper.d.mts +0 -12
- package/dist/esm/components/stepper/parts/Step.d.mts +0 -15
- package/dist/esm/components/tabs/Tabs.context.d.mts +0 -11
- package/dist/esm/components/tabs/Tabs.d.mts +0 -12
- package/dist/esm/components/tabs/Tabs.mjs +0 -24
- package/dist/esm/components/tabs/Tabs.variant.d.mts +0 -139
- package/dist/esm/components/tabs/Tabs.variant.mjs +0 -35
- package/dist/esm/components/tabs/parts/NavigationButton.d.mts +0 -7
- package/dist/esm/components/tabs/parts/NavigationButton.mjs +0 -43
- package/dist/esm/components/tabs/parts/Tab.d.mts +0 -9
- package/dist/esm/components/tabs/parts/Tab.mjs +0 -18
- package/dist/esm/components/tabs/parts/TabList.d.mts +0 -4
- package/dist/esm/components/tabs/parts/TabList.mjs +0 -78
- package/dist/esm/components/tabs/parts/TabPanel.d.mts +0 -4
- package/dist/esm/components/tabs/parts/TabPanel.mjs +0 -10
- package/dist/esm/components/text/Text.d.mts +0 -84
- package/dist/esm/components/text/Text.mjs +0 -57
- package/dist/esm/components/text/Text.variants.d.mts +0 -673
- package/dist/esm/components/text/Text.variants.mjs +0 -108
- package/dist/esm/components/text-area/TextArea.d.mts +0 -220
- package/dist/esm/components/text-area/TextArea.mjs +0 -162
- package/dist/esm/components/text-field/TextField.d.mts +0 -63
- package/dist/esm/components/text-field/TextField.mjs +0 -78
- package/dist/esm/components/toast/Toast.context.d.mts +0 -8
- package/dist/esm/components/toast/ToastManager.d.mts +0 -7
- package/dist/esm/components/toast/UnityToast.d.mts +0 -55
- package/dist/esm/components/toast/UnityToast.mjs +0 -93
- package/dist/esm/components/toast/parts/ToastAction.d.mts +0 -9
- package/dist/esm/components/toast/parts/ToastAction.mjs +0 -12
- package/dist/esm/components/toast/parts/ToastContent.d.mts +0 -6
- package/dist/esm/components/toast/parts/ToastContent.mjs +0 -11
- package/dist/esm/components/toast/parts/ToastTitle.d.mts +0 -6
- package/dist/esm/components/toast/parts/ToastTitle.mjs +0 -9
- package/dist/esm/components/toast/toast.d.mts +0 -44
- package/dist/esm/components/toast/toast.mjs +0 -39
- package/dist/esm/components/tooltip/Tooltip.d.mts +0 -7
- package/dist/esm/components/tooltip/Tooltip.mjs +0 -21
- package/dist/esm/docs/blocks/Cards.d.mts +0 -18
- package/dist/esm/hooks/use-breakpoint-listener.d.mts +0 -2
- package/dist/esm/hooks/use-breakpoint-listener.mjs +0 -14
- package/dist/esm/hooks/use-form.d.mts +0 -48
- package/dist/esm/hooks/use-form.mjs +0 -32
- package/dist/esm/hooks/use-form.types.d.mts +0 -3
- package/dist/esm/hooks/use-id.d.mts +0 -2
- package/dist/esm/hooks/use-media-query.d.mts +0 -8
- package/dist/esm/hooks/use-media-query.mjs +0 -19
- package/dist/esm/hooks/use-resizable.d.mts +0 -13
- package/dist/esm/index.d.mts +0 -103
- package/dist/esm/index.mjs +0 -235
- package/dist/esm/providers/router/RouterProvider.d.mts +0 -37
- package/dist/esm/providers/router/integrations/UnityReactRouterV5Provider.d.mts +0 -6
- package/dist/esm/providers/router/integrations/UnityReactRouterV5Provider.mjs +0 -29
- package/dist/esm/types/DataAttributes.d.mts +0 -1
- package/dist/esm/types/utils.d.mts +0 -1
- package/dist/esm/utils/platform.d.mts +0 -3
- package/dist/esm/utils/platform.mjs +0 -11
- /package/dist/{cjs → esm}/components/anchor/Anchor.d.ts +0 -0
- /package/dist/{cjs → esm}/components/app-layout/AppLayout.d.ts +0 -0
- /package/dist/{cjs → esm}/components/app-menu/AppMenu.d.ts +0 -0
- /package/dist/{cjs → esm}/components/app-menu/parts/AppMenu.context.d.ts +0 -0
- /package/dist/esm/components/app-menu/parts/{AppMenu.context.mjs → AppMenu.context.js} +0 -0
- /package/dist/{cjs → esm}/components/app-menu/parts/AppMenuFooter.d.ts +0 -0
- /package/dist/{cjs → esm}/components/app-menu/parts/AppMenuHeader.d.ts +0 -0
- /package/dist/{cjs → esm}/components/app-menu/parts/AppMenuNavContent.d.ts +0 -0
- /package/dist/{cjs → esm}/components/avatar/Avatar.context.d.ts +0 -0
- /package/dist/esm/components/avatar/{Avatar.context.mjs → Avatar.context.js} +0 -0
- /package/dist/{cjs → esm}/components/avatar/parts/AvatarImage.d.ts +0 -0
- /package/dist/{cjs → esm}/components/avatar/utils.d.ts +0 -0
- /package/dist/esm/components/avatar/{utils.mjs → utils.js} +0 -0
- /package/dist/esm/components/breadcrumbs/{Breadcrumbs.context.mjs → Breadcrumbs.context.js} +0 -0
- /package/dist/{cjs → esm}/components/checkbox/parts/CheckboxIndicator.d.ts +0 -0
- /package/dist/{cjs → esm}/components/checkbox-field/CheckboxField.d.ts +0 -0
- /package/dist/{cjs → esm}/components/checkbox-group-field/CheckboxGroupField.d.ts +0 -0
- /package/dist/{cjs → esm}/components/collapsible/Collapsible.d.ts +0 -0
- /package/dist/{cjs → esm}/components/collapsible/parts/CollapsibleContent.d.ts +0 -0
- /package/dist/{cjs → esm}/components/collapsible/parts/CollapsibleTitle.d.ts +0 -0
- /package/dist/{cjs/components/date-picker → esm/components/date-calendar}/hooks/useMonthsList.d.ts +0 -0
- /package/dist/esm/components/{date-picker/hooks/useMonthsList.mjs → date-calendar/hooks/useMonthsList.js} +0 -0
- /package/dist/{cjs/components/date-picker → esm/components/date-calendar}/hooks/useYearsList.d.ts +0 -0
- /package/dist/esm/components/{date-picker/hooks/useYearsList.mjs → date-calendar/hooks/useYearsList.js} +0 -0
- /package/dist/{cjs/components/date-picker → esm/components/date-calendar}/parts/DateSegmentSelect.d.ts +0 -0
- /package/dist/esm/components/date-picker/hooks/{useMonthsList.d.mts → useMonthsList.d.ts} +0 -0
- /package/dist/esm/components/date-picker/hooks/{useYearsList.d.mts → useYearsList.d.ts} +0 -0
- /package/dist/{cjs → esm}/components/date-picker/utils.d.ts +0 -0
- /package/dist/{cjs → esm}/components/date-picker-field/DatePickerField.d.ts +0 -0
- /package/dist/{cjs → esm}/components/dialog/parts/DialogActions.d.ts +0 -0
- /package/dist/{cjs → esm}/components/dialog/parts/DialogContent.d.ts +0 -0
- /package/dist/{cjs → esm}/components/dialog/parts/DialogTitle.d.ts +0 -0
- /package/dist/{cjs → esm}/components/fieldset/parts/FieldGroup.d.ts +0 -0
- /package/dist/{cjs → esm}/components/form-field/parts/FormContextualLink.d.ts +0 -0
- /package/dist/{cjs → esm}/components/form-field/parts/FormControl.d.ts +0 -0
- /package/dist/{cjs → esm}/components/form-field/parts/FormFeedbackText.d.ts +0 -0
- /package/dist/{cjs → esm}/components/form-field/parts/FormHelperText.d.ts +0 -0
- /package/dist/{cjs → esm}/components/form-field/parts/FormLabel.d.ts +0 -0
- /package/dist/{cjs → esm}/components/form-field/utils/isFieldRequired.d.ts +0 -0
- /package/dist/esm/components/form-field/utils/{isFieldRequired.mjs → isFieldRequired.js} +0 -0
- /package/dist/{cjs → esm}/components/input/Input.d.ts +0 -0
- /package/dist/{cjs → esm}/components/label/Label.d.ts +0 -0
- /package/dist/{cjs → esm}/components/link/utils.d.ts +0 -0
- /package/dist/esm/components/link/{utils.mjs → utils.js} +0 -0
- /package/dist/{cjs → esm}/components/menu/parts/MenuHeader.d.ts +0 -0
- /package/dist/{cjs → esm}/components/menu/parts/MenuItem.d.ts +0 -0
- /package/dist/{cjs → esm}/components/menu/parts/MenuSeparator.d.ts +0 -0
- /package/dist/{cjs → esm}/components/menu/parts/MenuTrigger.d.ts +0 -0
- /package/dist/esm/components/menu/parts/{MenuTrigger.mjs → MenuTrigger.js} +0 -0
- /package/dist/{cjs → esm}/components/multi-select/MultiSelect.d.ts +0 -0
- /package/dist/{cjs → esm}/components/multi-select/Multiselect.context.d.ts +0 -0
- /package/dist/esm/components/multi-select/{Multiselect.context.mjs → Multiselect.context.js} +0 -0
- /package/dist/{cjs → esm}/components/multi-select/Multiselect.types.d.ts +0 -0
- /package/dist/{cjs → esm}/components/multi-select/hooks/use-combobox-filter.d.ts +0 -0
- /package/dist/esm/components/multi-select/hooks/{use-combobox-filter.mjs → use-combobox-filter.js} +0 -0
- /package/dist/{cjs → esm}/components/multi-select/hooks/use-multiselection-state.d.ts +0 -0
- /package/dist/esm/components/multi-select/hooks/{use-multiselection-state.mjs → use-multiselection-state.js} +0 -0
- /package/dist/{cjs → esm}/components/multi-select/parts/MultiSelectButton.d.ts +0 -0
- /package/dist/{cjs → esm}/components/multi-select/parts/MultiSelectOptGroup.d.ts +0 -0
- /package/dist/{cjs → esm}/components/multi-select/parts/MultiSelectOption.d.ts +0 -0
- /package/dist/{cjs → esm}/components/multi-select/parts/MultiSelectPopover.d.ts +0 -0
- /package/dist/{cjs → esm}/components/multi-select-field/MultiSelectField.d.ts +0 -0
- /package/dist/{cjs → esm}/components/nav/Nav.d.ts +0 -0
- /package/dist/{cjs → esm}/components/nav/parts/NavGroup.d.ts +0 -0
- /package/dist/{cjs → esm}/components/payfit-brand/PayFitBrand.d.ts +0 -0
- /package/dist/{cjs → esm}/components/payfit-brand/PayFitPreprod.d.ts +0 -0
- /package/dist/{cjs → esm}/components/progress-bar/ProgressBar.d.ts +0 -0
- /package/dist/{cjs → esm}/components/segmented-button-group/SegmentedButtonGroup.d.ts +0 -0
- /package/dist/{cjs → esm}/components/segmented-button-group/SegmentedButtonGroups.context.d.ts +0 -0
- /package/dist/{cjs → esm}/components/segmented-button-group/parts/ToggleButton.d.ts +0 -0
- /package/dist/{cjs → esm}/components/select/parts/SearchInput.d.ts +0 -0
- /package/dist/{cjs → esm}/components/select/parts/SelectButton.d.ts +0 -0
- /package/dist/{cjs → esm}/components/select/parts/SelectOption.context.d.ts +0 -0
- /package/dist/esm/components/select/parts/{SelectOption.context.mjs → SelectOption.context.js} +0 -0
- /package/dist/{cjs → esm}/components/select/parts/SelectOptionGroup.d.ts +0 -0
- /package/dist/{cjs → esm}/components/select/parts/SelectOptionHelper.d.ts +0 -0
- /package/dist/esm/components/selectable-button-group/{SelectableButtonGroup.context.mjs → SelectableButtonGroup.context.js} +0 -0
- /package/dist/{cjs → esm}/components/spinner/Spinner.d.ts +0 -0
- /package/dist/{cjs → esm}/components/spinner/dynamic-content.d.ts +0 -0
- /package/dist/{cjs → esm}/components/stepper/Stepper.context.d.ts +0 -0
- /package/dist/{cjs → esm}/components/stepper/Stepper.d.ts +0 -0
- /package/dist/{cjs → esm}/components/stepper/hooks/useStepper.d.ts +0 -0
- /package/dist/{cjs → esm}/components/stepper/parts/Step.d.ts +0 -0
- /package/dist/esm/components/tabs/{Tabs.context.mjs → Tabs.context.js} +0 -0
- /package/dist/{cjs → esm}/components/tabs/parts/NavigationButton.d.ts +0 -0
- /package/dist/{cjs → esm}/components/tabs/parts/TabList.d.ts +0 -0
- /package/dist/{cjs → esm}/components/text-field/TextField.d.ts +0 -0
- /package/dist/{cjs → esm}/components/toast/Toast.context.d.ts +0 -0
- /package/dist/esm/components/toast/{Toast.context.mjs → Toast.context.js} +0 -0
- /package/dist/{cjs → esm}/components/toast/ToastManager.d.ts +0 -0
- /package/dist/esm/components/toast/{ToastManager.mjs → ToastManager.js} +0 -0
- /package/dist/{cjs → esm}/components/toast/parts/ToastAction.d.ts +0 -0
- /package/dist/{cjs → esm}/components/toast/parts/ToastContent.d.ts +0 -0
- /package/dist/{cjs → esm}/components/toast/parts/ToastTitle.d.ts +0 -0
- /package/dist/{cjs → esm}/components/toast/toast.d.ts +0 -0
- /package/dist/{cjs → esm}/hooks/use-breakpoint-listener.d.ts +0 -0
- /package/dist/{cjs → esm}/hooks/use-form.d.ts +0 -0
- /package/dist/{cjs → esm}/hooks/use-form.types.d.ts +0 -0
- /package/dist/{cjs → esm}/hooks/use-id.d.ts +0 -0
- /package/dist/esm/hooks/{use-id.mjs → use-id.js} +0 -0
- /package/dist/{cjs → esm}/hooks/use-media-query.d.ts +0 -0
- /package/dist/{cjs → esm}/hooks/use-resizable.d.ts +0 -0
- /package/dist/esm/hooks/{use-resizable.mjs → use-resizable.js} +0 -0
- /package/dist/esm/providers/router/{RouterProvider.mjs → RouterProvider.js} +0 -0
- /package/dist/{cjs → esm}/types/DataAttributes.d.ts +0 -0
- /package/dist/{cjs → esm}/types/utils.d.ts +0 -0
- /package/dist/{cjs → esm}/utils/platform.d.ts +0 -0
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
export declare const sidePanel: import('tailwind-variants').TVReturnType<{
|
|
4
|
-
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
6
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
7
|
-
overlay?: import('tailwind-merge').ClassNameValue;
|
|
8
|
-
wrapper?: import('tailwind-merge').ClassNameValue;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
} | {
|
|
12
|
-
[x: string]: {
|
|
13
|
-
[x: string]: import('tailwind-merge').ClassNameValue | {
|
|
14
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
15
|
-
overlay?: import('tailwind-merge').ClassNameValue;
|
|
16
|
-
wrapper?: import('tailwind-merge').ClassNameValue;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
} | {}, {
|
|
20
|
-
overlay: string[];
|
|
21
|
-
wrapper: string[];
|
|
22
|
-
content: string[];
|
|
23
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
24
|
-
[key: string]: {
|
|
25
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
26
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
27
|
-
overlay?: import('tailwind-merge').ClassNameValue;
|
|
28
|
-
wrapper?: import('tailwind-merge').ClassNameValue;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
} | {}>, {
|
|
32
|
-
[key: string]: {
|
|
33
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
34
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
35
|
-
overlay?: import('tailwind-merge').ClassNameValue;
|
|
36
|
-
wrapper?: import('tailwind-merge').ClassNameValue;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
} | {}, {
|
|
40
|
-
overlay: string[];
|
|
41
|
-
wrapper: string[];
|
|
42
|
-
content: string[];
|
|
43
|
-
}, import('tailwind-variants').TVReturnType<unknown, {
|
|
44
|
-
overlay: string[];
|
|
45
|
-
wrapper: string[];
|
|
46
|
-
content: string[];
|
|
47
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
48
|
-
[key: string]: {
|
|
49
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
50
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
51
|
-
overlay?: import('tailwind-merge').ClassNameValue;
|
|
52
|
-
wrapper?: import('tailwind-merge').ClassNameValue;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
56
|
-
export interface SidePanelProps extends PropsWithChildren<VariantProps<typeof sidePanel>> {
|
|
57
|
-
/**
|
|
58
|
-
* Controls whether the panel can be dismissed by clicking outside or using escape key.
|
|
59
|
-
* @default true
|
|
60
|
-
*/
|
|
61
|
-
isDismissable?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* When true, pressing the Escape key will not close the panel.
|
|
64
|
-
* This is useful when you need to prevent accidental dismissal.
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
isKeyboardDismissDisabled?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Controls the open state of the panel in controlled mode.
|
|
70
|
-
* Must be used together with `onOpenChange`.
|
|
71
|
-
*/
|
|
72
|
-
isOpen?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Sets the initial open state in uncontrolled mode.
|
|
75
|
-
* @default false
|
|
76
|
-
*/
|
|
77
|
-
defaultOpen?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Callback fired when the open state changes.
|
|
80
|
-
* Required when using controlled mode with `isOpen`.
|
|
81
|
-
*/
|
|
82
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* The SidePanel component provides contextual space for supplementary content without fully
|
|
86
|
-
* interrupting the user's workflow. It slides in from the right on desktop and from the bottom on mobile.
|
|
87
|
-
*
|
|
88
|
-
* You can use SidePanel to display detailed information, forms, or secondary actions while keeping
|
|
89
|
-
* the main interface visible and accessible. It's ideal for multi-step processes, editing items in a list,
|
|
90
|
-
* or displaying contextual details.
|
|
91
|
-
*
|
|
92
|
-
* Control the panel using either uncontrolled mode with `defaultOpen` or controlled mode with
|
|
93
|
-
* `isOpen`/`onOpenChange` props. Customize dismissal behavior with `isDismissable` and
|
|
94
|
-
* `isKeyboardDismissDisabled` props.
|
|
95
|
-
* @param {SidePanelProps} props - The props for the SidePanel component
|
|
96
|
-
* @see {@link SidePanelProps} for all available props
|
|
97
|
-
* @example
|
|
98
|
-
* ```tsx
|
|
99
|
-
* import {
|
|
100
|
-
* SidePanel,
|
|
101
|
-
* SidePanelHeader,
|
|
102
|
-
* SidePanelContent,
|
|
103
|
-
* SidePanelFooter,
|
|
104
|
-
* Button
|
|
105
|
-
* } from '@payfit/unity-components'
|
|
106
|
-
*
|
|
107
|
-
* // Uncontrolled example
|
|
108
|
-
* function BasicExample() {
|
|
109
|
-
* return (
|
|
110
|
-
* <DialogTrigger>
|
|
111
|
-
* <Button>Open panel</Button>
|
|
112
|
-
* <SidePanel>
|
|
113
|
-
* <SidePanelHeader>Panel title</SidePanelHeader>
|
|
114
|
-
* <SidePanelContent>Your content here</SidePanelContent>
|
|
115
|
-
* <SidePanelFooter>
|
|
116
|
-
* <Button variant="secondary">Cancel</Button>
|
|
117
|
-
* <Button variant="primary">Save</Button>
|
|
118
|
-
* </SidePanelFooter>
|
|
119
|
-
* </SidePanel>
|
|
120
|
-
* </DialogTrigger>
|
|
121
|
-
* )
|
|
122
|
-
* }
|
|
123
|
-
*
|
|
124
|
-
* // Controlled example
|
|
125
|
-
* function ControlledExample() {
|
|
126
|
-
* const [isOpen, setIsOpen] = useState(false)
|
|
127
|
-
*
|
|
128
|
-
* return (
|
|
129
|
-
* <>
|
|
130
|
-
* <Button onPress={() => setIsOpen(true)}>Open panel</Button>
|
|
131
|
-
*
|
|
132
|
-
* <SidePanel isOpen={isOpen} onOpenChange={setIsOpen}>
|
|
133
|
-
* <SidePanelHeader>Panel title</SidePanelHeader>
|
|
134
|
-
* <SidePanelContent>Your content here</SidePanelContent>
|
|
135
|
-
* <SidePanelFooter>
|
|
136
|
-
* <Button
|
|
137
|
-
* variant="primary"
|
|
138
|
-
* onPress={() => setIsOpen(false)}
|
|
139
|
-
* >
|
|
140
|
-
* Close
|
|
141
|
-
* </Button>
|
|
142
|
-
* </SidePanelFooter>
|
|
143
|
-
* </SidePanel>
|
|
144
|
-
* </>
|
|
145
|
-
* )
|
|
146
|
-
* }
|
|
147
|
-
* ```
|
|
148
|
-
* @remarks
|
|
149
|
-
* [API Docs](https://unity-components.payfit.io/?path=/docs/feedback-sidepanel--docs) • [Design Docs](https://www.payfit.design/24f360409/p/21bfe4-side-panel)
|
|
150
|
-
*/
|
|
151
|
-
declare const SidePanel: import('react').ForwardRefExoticComponent<SidePanelProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
152
|
-
export { SidePanel };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("react"),a=require("react-aria-components"),x=require("tailwind-variants"),h=require("./parts/SidePanelDragIndicator.js"),t=x.tv({slots:{overlay:["md:uy-bg-gradient-to-r md:uy-from-grayscale-L12/0 md:uy-to-grayscale-L12/10 md:uy-from-70% md:uy-via-100%","uy-fixed uy-inset-0 uy-isolate","data-[entering]:uy-animate-fade-in data-[exiting]:uy-animate-fade-out"],wrapper:["uy-w-full md:uy-w-[400px]","uy-fixed uy-bottom-0 md:uy-inset-y-200 md:uy-right-200 uy-z-[100]","uy-bg-surface-neutral uy-rounded-t-200 md:uy-rounded-200 uy-shadow-flying","uy-flex uy-flex-col uy-h-[95svh] md:uy-max-h-[calc(100vh-2rem)]","uy-overflow-hidden","data-[entering]:uy-animate-slide-up-fade-in data-[exiting]:uy-animate-slide-down-fade-out md:data-[entering]:uy-animate-slide-right-fade-in md:data-[exiting]:uy-animate-slide-right-fade-out"],content:["uy-flex uy-flex-col uy-h-full uy-overflow-hidden uy-outline-none"]}}),i=g.forwardRef(({children:d,isOpen:n,onOpenChange:u,defaultOpen:r,isDismissable:l=!0,isKeyboardDismissDisabled:o=!1,...y},s)=>{const{overlay:m,wrapper:c,content:f}=t();return e.jsx(a.ModalOverlay,{className:m(),isOpen:n,onOpenChange:u,defaultOpen:r,isDismissable:l,isKeyboardDismissDisabled:o,children:e.jsxs(a.Modal,{"data-dd-privacy":"allow",...y,ref:s,className:c(),"data-unity-side-panel":!0,children:[e.jsx(h.SidePanelDragIndicator,{}),e.jsx(a.Dialog,{className:f(),children:d})]})})});i.displayName="SidePanel";exports.SidePanel=i;exports.sidePanel=t;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
export declare const sidePanelContent: import('tailwind-variants').TVReturnType<{
|
|
4
|
-
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
6
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
7
|
-
scroller?: import('tailwind-merge').ClassNameValue;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
} | {
|
|
11
|
-
[x: string]: {
|
|
12
|
-
[x: string]: import('tailwind-merge').ClassNameValue | {
|
|
13
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
14
|
-
scroller?: import('tailwind-merge').ClassNameValue;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
} | {}, {
|
|
18
|
-
base: string[];
|
|
19
|
-
scroller: string[];
|
|
20
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
21
|
-
[key: string]: {
|
|
22
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
23
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
24
|
-
scroller?: import('tailwind-merge').ClassNameValue;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
} | {}>, {
|
|
28
|
-
[key: string]: {
|
|
29
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
30
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
31
|
-
scroller?: import('tailwind-merge').ClassNameValue;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
} | {}, {
|
|
35
|
-
base: string[];
|
|
36
|
-
scroller: string[];
|
|
37
|
-
}, import('tailwind-variants').TVReturnType<unknown, {
|
|
38
|
-
base: string[];
|
|
39
|
-
scroller: string[];
|
|
40
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
41
|
-
[key: string]: {
|
|
42
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
43
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
44
|
-
scroller?: import('tailwind-merge').ClassNameValue;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
48
|
-
export interface SidePanelContentProps extends PropsWithChildren<VariantProps<typeof sidePanelContent>> {
|
|
49
|
-
className?: string;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* The `SidePanelContent` component renders the main content area of a side panel.
|
|
53
|
-
* It takes up the majority of the space between the header and footer components
|
|
54
|
-
* and adjusts for both mobile (bottom sheet) and desktop (side panel) views.
|
|
55
|
-
* The content is scrollable when it exceeds the available space.
|
|
56
|
-
* @component
|
|
57
|
-
* @param {SidePanelContentProps} props - The props for the `SidePanelContent` component
|
|
58
|
-
* @example
|
|
59
|
-
* ```tsx
|
|
60
|
-
* import { SidePanelContent } from '@payfit/unity-components'
|
|
61
|
-
*
|
|
62
|
-
* <SidePanelContent>
|
|
63
|
-
* Your panel content here
|
|
64
|
-
* </SidePanelContent>
|
|
65
|
-
* ```
|
|
66
|
-
* @see {@link SidePanelContentProps} for all available props
|
|
67
|
-
* @remarks
|
|
68
|
-
* [API Docs](https://unity-components.payfit.io/?path=/docs/feedback-sidepanel--docs) • [Design Docs](https://www.payfit.design/24f360409/p/21bfe4-side-panel)
|
|
69
|
-
*/
|
|
70
|
-
declare const SidePanelContent: import('react').ForwardRefExoticComponent<SidePanelContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
71
|
-
export { SidePanelContent };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),i=require("tailwind-variants"),n=i.tv({slots:{base:["uy-bg-surface-neutral","uy-flex uy-flex-col uy-flex-1 uy-min-h-0 uy-overflow-hidden","uy-w-full"],scroller:["uy-flex-1 uy-overflow-y-auto uy-overflow-x-hidden uy-p-300","uy-h-full uy-min-h-0"]}}),t=a.forwardRef(({children:l,...o},s)=>{const{base:u,scroller:r}=n();return e.jsx("section",{ref:s,className:u(),...o,children:e.jsx("div",{className:r(),children:l})})});t.displayName="SidePanelContent";exports.SidePanelContent=t;exports.sidePanelContent=n;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export declare const sidePanelDragIndicator: import('tailwind-variants').TVReturnType<{
|
|
2
|
-
[key: string]: {
|
|
3
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
4
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
5
|
-
indicator?: import('tailwind-merge').ClassNameValue;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
} | {
|
|
9
|
-
[x: string]: {
|
|
10
|
-
[x: string]: import('tailwind-merge').ClassNameValue | {
|
|
11
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
12
|
-
indicator?: import('tailwind-merge').ClassNameValue;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
} | {}, {
|
|
16
|
-
base: string[];
|
|
17
|
-
indicator: string;
|
|
18
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
19
|
-
[key: string]: {
|
|
20
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
21
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
22
|
-
indicator?: import('tailwind-merge').ClassNameValue;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
} | {}>, {
|
|
26
|
-
[key: string]: {
|
|
27
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
28
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
29
|
-
indicator?: import('tailwind-merge').ClassNameValue;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
} | {}, {
|
|
33
|
-
base: string[];
|
|
34
|
-
indicator: string;
|
|
35
|
-
}, import('tailwind-variants').TVReturnType<unknown, {
|
|
36
|
-
base: string[];
|
|
37
|
-
indicator: string;
|
|
38
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
39
|
-
[key: string]: {
|
|
40
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
41
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
42
|
-
indicator?: import('tailwind-merge').ClassNameValue;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
46
|
-
/**
|
|
47
|
-
* A drag indicator component that connects to the overlay state context and
|
|
48
|
-
* provides swipe-to-dismiss functionality for the SidePanel.
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
export declare function SidePanelDragIndicator(): import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
export declare namespace SidePanelDragIndicator {
|
|
53
|
-
var displayName: string;
|
|
54
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),o=require("react"),v=require("@use-gesture/react"),P=require("react-aria-components"),S=require("tailwind-variants"),h=require("../../../hooks/use-breakpoint-listener.js"),c=S.tv({slots:{base:["md:uy-hidden uy-mx-auto uy-pt-300 uy-w-500","uy-cursor-grab uy-touch-action-none"],indicator:"uy-h-50 uy-rounded-pill uy-bg-content-neutral-lowest"}}),q=100;function l(){const n=o.useRef(null),r=o.useContext(P.OverlayTriggerStateContext),s=h.useBreakpointListener(),{base:u,indicator:d}=c(),y=s==="xs"||s==="sm",m=v.useDrag(f=>{var a;const{movement:[I,t],direction:[R,g],intentional:p,cancel:x,last:D,event:b}=f;if(!y){x();return}b.preventDefault();const e=(a=n.current)==null?void 0:a.closest("[data-unity-side-panel]");if(e){if(t<0){e.style.transform="translate3d(0, 0, 0)";return}e.style.transform=`translate3d(0, ${t}px, 0)`,e.style.transition="none",D&&p&&(t>q||g>0?r&&setTimeout(()=>{r.close()},50):(e.style.transform="translate3d(0, 0, 0)",e.style.transition="transform 0.3s ease"))}},{axis:"y",filterTaps:!0,threshold:5});return i.jsx("div",{className:u(),"aria-hidden":"true",ref:n,...m(),children:i.jsx("div",{className:d()})})}l.displayName="SidePanelDragIndicator";exports.SidePanelDragIndicator=l;exports.sidePanelDragIndicator=c;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
export declare const sidePanelFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], import('tailwind-variants/dist/config').TVConfig<unknown, {} | {}>, {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], import('tailwind-variants/dist/config').TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
4
|
-
export interface SidePanelFooterProps extends PropsWithChildren<VariantProps<typeof sidePanelFooter>> {
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* The `SidePanelFooter` component renders the footer section of a side panel.
|
|
9
|
-
* It provides a space for action buttons and stays fixed at the bottom of the panel.
|
|
10
|
-
* On mobile devices, it respects the safe area to avoid being obscured by device UI elements.
|
|
11
|
-
* @component
|
|
12
|
-
* @param {SidePanelFooterProps} props - The props for the `SidePanelFooter` component
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* import { SidePanelFooter, Button } from '@payfit/unity-components'
|
|
16
|
-
*
|
|
17
|
-
* <SidePanelFooter>
|
|
18
|
-
* <Button variant="secondary">Cancel</Button>
|
|
19
|
-
* <Button>Save</Button>
|
|
20
|
-
* </SidePanelFooter>
|
|
21
|
-
* ```
|
|
22
|
-
* @see {@link SidePanelFooterProps} for all available props
|
|
23
|
-
* @remarks
|
|
24
|
-
* [API Docs](https://unity-components.payfit.io/?path=/docs/feedback-sidepanel--docs) • [Design Docs](https://www.payfit.design/24f360409/p/21bfe4-side-panel)
|
|
25
|
-
*/
|
|
26
|
-
declare const SidePanelFooter: import('react').ForwardRefExoticComponent<SidePanelFooterProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export { SidePanelFooter };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),y=require("react"),n=require("tailwind-variants"),e=n.tv({base:["uy-py-200 uy-px-300 uy-w-full","uy-flex uy-items-center uy-justify-end uy-gap-100 uy-shrink-0","uy-bg-surface-neutral uy-rounded-bl-200 uy-rounded-br-200 uy-border-t uy-border-solid uy-border-t-solid uy-border-border-neutral","uy-sticky uy-bottom-0 uy-z-10","uy-mt-auto","uy-pb-[max(env(safe-area-inset-bottom),var(--uy-spacing-200))] md:uy-pb-200"]}),r=y.forwardRef(({children:t,...u},o)=>a.jsx("footer",{ref:o,className:e(),...u,children:t}));r.displayName="SidePanelFooter";exports.SidePanelFooter=r;exports.sidePanelFooter=e;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
export declare const sidePanelHeader: import('tailwind-variants').TVReturnType<{
|
|
4
|
-
[key: string]: {
|
|
5
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
6
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
7
|
-
heading?: import('tailwind-merge').ClassNameValue;
|
|
8
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
} | {
|
|
12
|
-
[x: string]: {
|
|
13
|
-
[x: string]: import('tailwind-merge').ClassNameValue | {
|
|
14
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
15
|
-
heading?: import('tailwind-merge').ClassNameValue;
|
|
16
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
} | {}, {
|
|
20
|
-
base: string[];
|
|
21
|
-
content: string[];
|
|
22
|
-
heading: string[];
|
|
23
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
24
|
-
[key: string]: {
|
|
25
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
26
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
27
|
-
heading?: import('tailwind-merge').ClassNameValue;
|
|
28
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
} | {}>, {
|
|
32
|
-
[key: string]: {
|
|
33
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
34
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
35
|
-
heading?: import('tailwind-merge').ClassNameValue;
|
|
36
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
} | {}, {
|
|
40
|
-
base: string[];
|
|
41
|
-
content: string[];
|
|
42
|
-
heading: string[];
|
|
43
|
-
}, import('tailwind-variants').TVReturnType<unknown, {
|
|
44
|
-
base: string[];
|
|
45
|
-
content: string[];
|
|
46
|
-
heading: string[];
|
|
47
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<unknown, {
|
|
48
|
-
[key: string]: {
|
|
49
|
-
[key: string]: import('tailwind-merge').ClassNameValue | {
|
|
50
|
-
content?: import('tailwind-merge').ClassNameValue;
|
|
51
|
-
heading?: import('tailwind-merge').ClassNameValue;
|
|
52
|
-
base?: import('tailwind-merge').ClassNameValue;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
56
|
-
export interface SidePanelHeaderProps extends PropsWithChildren<VariantProps<typeof sidePanelHeader>> {
|
|
57
|
-
className?: string;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* The `SidePanelHeader` component renders the header section of a side panel.
|
|
61
|
-
* It includes a title and close button, and on mobile it displays a drag handle for bottom sheet interaction.
|
|
62
|
-
* @component
|
|
63
|
-
* @param {SidePanelHeaderProps} props - The props for the `SidePanelHeader` component
|
|
64
|
-
* @example
|
|
65
|
-
* ```tsx
|
|
66
|
-
* import { SidePanelHeader } from '@payfit/unity-components'
|
|
67
|
-
*
|
|
68
|
-
* <SidePanelHeader>Title of the panel</SidePanelHeader>
|
|
69
|
-
* ```
|
|
70
|
-
* @see {@link SidePanelHeaderProps} for all available props
|
|
71
|
-
* @remarks
|
|
72
|
-
* [API Docs](https://unity-components.payfit.io/?path=/docs/feedback-sidepanel--docs) • [Design Docs](https://www.payfit.design/24f360409/p/21bfe4-side-panel)
|
|
73
|
-
*/
|
|
74
|
-
declare const SidePanelHeader: import('react').ForwardRefExoticComponent<SidePanelHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
75
|
-
export { SidePanelHeader };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),c=require("react-aria-components"),y=require("tailwind-variants"),d=require("../../icon-button/CircularIconButton.js"),t=y.tv({slots:{base:["uy-py-200 uy-px-300 uy-w-full","uy-flex uy-flex-col uy-shrink-0","uy-bg-surface-neutral uy-rounded-tl-200 uy-rounded-tr-200 uy-shadow-raising","uy-sticky uy-top-0 uy-z-10"],content:["uy-flex uy-items-center uy-justify-between uy-w-full"],heading:["uy-typography-h2 md:uy-typography-h3 uy-text-content-neutral uy-truncate"]}}),n=i.forwardRef(({children:r,...u},a)=>{const{base:s,content:l,heading:o}=t();return e.jsx("header",{ref:a,className:s(),...u,children:e.jsxs("div",{className:l(),children:[e.jsx(c.Heading,{slot:"title",className:o(),children:r}),e.jsx(d.CircularIconButton,{asElement:"button",slot:"close",icon:"CloseOutlined",title:"Close",size:"large",color:"content.neutral.low"})]})})});n.displayName="SidePanelHeader";exports.SidePanelHeader=n;exports.sidePanelHeader=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),y=require("react"),p=require("tailwind-variants"),m=require("../../hooks/use-id.js"),x=p.tv({slots:{base:"uy-flex uy-flex-col uy-items-center uy-gap-200",indicator:"",label:"uy-typography-body uy-text-left uy-truncate"},variants:{size:{small:{indicator:"uy-w-200 uy-h-200",label:"uy-hidden"},medium:{indicator:"uy-w-300 uy-h-300"}},color:{primary:{indicator:"uy-text-content-primary"},inverted:{indicator:"uy-text-content-inverted",label:"uy-text-content-inverted"},inherit:{indicator:""}}},defaultVariants:{size:"small",color:"primary"}});function n({label:a,color:s,size:i,role:t="status",...l},c){const r=`uy-spinner-label-${m()}`,{base:o,indicator:d,label:u}=x({size:i,color:s});return e.jsxs("div",{...l,ref:c,role:t,className:o(),"aria-labelledby":t==="status"?r:void 0,"aria-live":"polite","data-dd-privacy":"allow",children:[e.jsxs("svg",{viewBox:"0 0 100 100","aria-hidden":"true",className:d(),children:[e.jsx("title",{children:"Loading"}),e.jsx("circle",{cx:"50",cy:"50",r:"45",fill:"none",stroke:"currentColor",style:{"--r":"45px","--1deg":"calc(2 * pi * var(--r) / 360)",strokeWidth:"9.6px",shapeRendering:"geometricPrecision",strokeDasharray:"calc(40 * var(--1deg)) calc(80 * var(--1deg))",transformOrigin:"50% 50%",animation:"arc-shrink 1.4s ease-in-out infinite, spin 2s linear infinite"}})]}),e.jsx("span",{id:r,className:u(),"aria-hidden":i!=="small",children:a})]})}n.displayName="Spinner";const h=y.forwardRef(n);exports.Spinner=h;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import { tabsVariant } from './Tabs.variant.js';
|
|
4
|
-
interface TabsContextValue {
|
|
5
|
-
variant: VariantProps<typeof tabsVariant>['variant'];
|
|
6
|
-
scrollable: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const TabsContext: import('react').Context<TabsContextValue>;
|
|
9
|
-
export declare function TabsProvider({ children, variant, scrollable, }: PropsWithChildren<TabsContextValue>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare function useTabsContext(): TabsContextValue;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),t=r.createContext({variant:"primary",scrollable:!1});function a({children:e,variant:n,scrollable:o}){return s.jsx(t.Provider,{value:{variant:n,scrollable:o},children:e})}function i(){const e=r.useContext(t);if(!e)throw new Error("useTabsContext must be used within an TabsProvider");return e}exports.TabsContext=t;exports.TabsProvider=a;exports.useTabsContext=i;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TabsProps as AriaTabsProps } from 'react-aria-components';
|
|
2
|
-
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import { tabsVariant } from './Tabs.variant.js';
|
|
4
|
-
export interface TabsProps extends Omit<AriaTabsProps, 'isDisabled' | 'orientation' | 'className' | 'style' | 'disabledKeys' | 'keyboardActivation' | 'slot'>, VariantProps<typeof tabsVariant> {
|
|
5
|
-
/** set to true to make the tabs scrollable */
|
|
6
|
-
scrollable?: boolean;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Tabs allow users to explore and switch between different views.
|
|
10
|
-
*/
|
|
11
|
-
declare const Tabs: import('react').ForwardRefExoticComponent<TabsProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export { Tabs };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),c=require("react"),b=require("react-aria-components"),u=require("./Tabs.context.js"),d=require("./Tabs.variant.js"),r=c.forwardRef(({children:t,variant:e,scrollable:a=!1,...n},o)=>{const{base:i}=d.tabsVariant({variant:e,scrollable:a});return s.jsx(u.TabsProvider,{variant:e,scrollable:a,children:s.jsx(b.Tabs,{"data-dd-privacy":"allow",ref:o,className:i(),...n,children:t})})});r.displayName="Tabs";exports.Tabs=r;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
export declare const tabsVariant: import('tailwind-variants').TVReturnType<{
|
|
2
|
-
variant: {
|
|
3
|
-
primary: {
|
|
4
|
-
tab: string;
|
|
5
|
-
};
|
|
6
|
-
neutral: {
|
|
7
|
-
tab: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
scrollable: {
|
|
11
|
-
true: {
|
|
12
|
-
tabList: string;
|
|
13
|
-
};
|
|
14
|
-
false: {
|
|
15
|
-
base: string;
|
|
16
|
-
tabList: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
}, {
|
|
20
|
-
base: string;
|
|
21
|
-
tabList: string;
|
|
22
|
-
tab: string[];
|
|
23
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<{
|
|
24
|
-
variant: {
|
|
25
|
-
primary: {
|
|
26
|
-
tab: string;
|
|
27
|
-
};
|
|
28
|
-
neutral: {
|
|
29
|
-
tab: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
scrollable: {
|
|
33
|
-
true: {
|
|
34
|
-
tabList: string;
|
|
35
|
-
};
|
|
36
|
-
false: {
|
|
37
|
-
base: string;
|
|
38
|
-
tabList: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
}, {
|
|
42
|
-
variant: {
|
|
43
|
-
primary: {
|
|
44
|
-
tab: string;
|
|
45
|
-
};
|
|
46
|
-
neutral: {
|
|
47
|
-
tab: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
scrollable: {
|
|
51
|
-
true: {
|
|
52
|
-
tabList: string;
|
|
53
|
-
};
|
|
54
|
-
false: {
|
|
55
|
-
base: string;
|
|
56
|
-
tabList: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
}>, {
|
|
60
|
-
variant: {
|
|
61
|
-
primary: {
|
|
62
|
-
tab: string;
|
|
63
|
-
};
|
|
64
|
-
neutral: {
|
|
65
|
-
tab: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
scrollable: {
|
|
69
|
-
true: {
|
|
70
|
-
tabList: string;
|
|
71
|
-
};
|
|
72
|
-
false: {
|
|
73
|
-
base: string;
|
|
74
|
-
tabList: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
}, {
|
|
78
|
-
base: string;
|
|
79
|
-
tabList: string;
|
|
80
|
-
tab: string[];
|
|
81
|
-
}, import('tailwind-variants').TVReturnType<{
|
|
82
|
-
variant: {
|
|
83
|
-
primary: {
|
|
84
|
-
tab: string;
|
|
85
|
-
};
|
|
86
|
-
neutral: {
|
|
87
|
-
tab: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
scrollable: {
|
|
91
|
-
true: {
|
|
92
|
-
tabList: string;
|
|
93
|
-
};
|
|
94
|
-
false: {
|
|
95
|
-
base: string;
|
|
96
|
-
tabList: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
}, {
|
|
100
|
-
base: string;
|
|
101
|
-
tabList: string;
|
|
102
|
-
tab: string[];
|
|
103
|
-
}, undefined, import('tailwind-variants/dist/config').TVConfig<{
|
|
104
|
-
variant: {
|
|
105
|
-
primary: {
|
|
106
|
-
tab: string;
|
|
107
|
-
};
|
|
108
|
-
neutral: {
|
|
109
|
-
tab: string;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
scrollable: {
|
|
113
|
-
true: {
|
|
114
|
-
tabList: string;
|
|
115
|
-
};
|
|
116
|
-
false: {
|
|
117
|
-
base: string;
|
|
118
|
-
tabList: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
}, {
|
|
122
|
-
variant: {
|
|
123
|
-
primary: {
|
|
124
|
-
tab: string;
|
|
125
|
-
};
|
|
126
|
-
neutral: {
|
|
127
|
-
tab: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
scrollable: {
|
|
131
|
-
true: {
|
|
132
|
-
tabList: string;
|
|
133
|
-
};
|
|
134
|
-
false: {
|
|
135
|
-
base: string;
|
|
136
|
-
tabList: string;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
}>, unknown, unknown, undefined>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({slots:{base:"uy-w-full",tabList:"uy-flex",tab:["uy-flex uy-relative uy-shrink-0 uy-gap-100 uy-whitespace-nowrap uy-min-w-[3ch] uy-text-center uy-text-content-form-enabled uy-text-action uy-pt-150 uy-pb-150 uy-pl-200 uy-pr-200 uy-rounded-25 uy-cursor-pointer",'data-[selected]:after:uy-content:" " data-[selected]:after:uy-w-full data-[selected]:after:uy-h-[4px] data-[selected]:after:uy-absolute data-[selected]:after:uy-bottom-[-1px] data-[selected]:after:uy-left-0 data-[selected]:after:uy-right-0',"hover:uy-cursor-pointer focus-visible:uy-outline-2 focus-visible:uy-outline-utility-focus-ring focus-visible:uy-outline-offset-[4px]"]},variants:{variant:{primary:{tab:"data-[selected]:after:uy-bg-border-form-active"},neutral:{tab:"data-[selected]:after:uy-bg-content-neutral"}},scrollable:{true:{tabList:""},false:{base:"",tabList:"uy-border-b-[1.25px] uy-border-solid uy-border-b-border-form-enabled"}}},defaultVariants:{variant:"primary",scrollable:!1}});exports.tabsVariant=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react-aria-components"),s=require("tailwind-variants"),a=require("../../icon/Icon.js"),l=s.tv({slots:{base:"uy-absolute uy-pt-150 uy-pb-150",button:"uy-rounded-circle hover:uy-text-content-neutral-hover focus-visible:uy-outline-2 focus-visible:uy-outline-offset-2 focus-visible:uy-outline-utility-focus-ring",icon:"uy-text-content-neutral-enabled"},variants:{direction:{left:{base:"uy-top-0 uy-left-0 uy-z-10 uy-bg-gradient-to-r uy-from-surface-inverted/0 uy-from-surface-inverted/100 uy-pl-50 uy-pr-200"},right:{base:"uy-right-0 uy-top-0 uy-z-10 uy-bg-gradient-to-l uy-from-surface-inverted/100 uy-from-surface-inverted/0 uy-pl-200 uy-pr-50"}}}}),c=({direction:t,onPress:u})=>{const{base:r,button:n,icon:o}=l({direction:t});return e.jsx("div",{className:r(),children:e.jsx(i.Button,{id:`scroll-${t}`,className:n(),"aria-label":`Scroll ${t}`,onPress:u,children:e.jsx(a.Icon,{className:o(),"aria-labelledby":`scroll-${t}`,src:t==="left"?"CaretLeftOutlined":"CaretRightOutlined"})})})};exports.NavigationButton=c;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TabProps as AriaTabProps } from 'react-aria-components';
|
|
3
|
-
export interface TabProps extends Omit<AriaTabProps, 'isDisabled' | 'className' | 'style' | 'download' | 'ping' | 'routerOptions'> {
|
|
4
|
-
suffix?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
declare const Tab: import('react').ForwardRefExoticComponent<TabProps & {
|
|
7
|
-
children?: ReactNode | undefined;
|
|
8
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export { Tab };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),b=require("react"),l=require("react-aria-components"),u=require("../Tabs.context.js"),T=require("../Tabs.variant.js"),a=b.forwardRef(({children:r,suffix:e,...s},n)=>{const{variant:o,scrollable:c}=u.useTabsContext(),{tab:i}=T.tabsVariant({variant:o,scrollable:c});return t.jsxs(l.Tab,{ref:n,...s,className:i(),children:[r,e?t.jsx("span",{children:e}):null]})});a.displayName="Tab";exports.Tab=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),l=require("react"),g=require("react-aria-components"),N=require("../Tabs.context.js"),W=require("../Tabs.variant.js"),L=require("./NavigationButton.js"),y=l.forwardRef(({children:f},b)=>{const e=l.useRef(null),[v,m]=l.useState(!1),[S,x]=l.useState(!0),{variant:R,scrollable:d}=N.useTabsContext(),{tabList:h}=W.tabsVariant({variant:R,scrollable:d}),T=t=>{const{scrollLeft:o,scrollWidth:s,clientWidth:r}=t.currentTarget;m(o>0),x(o+r<s)},j=()=>{var r;const t=(r=e.current)==null?void 0:r.querySelectorAll("div[role=tab]");if(!e.current||!t)return 0;const{scrollLeft:o}=e.current,s=Array.from(t);for(let a=s.length-1;a>=0;a--){const c=s[a];if(c.offsetLeft<o)return-c.offsetWidth}return 0},q=()=>{var c;const t=(c=e.current)==null?void 0:c.querySelectorAll("div[role=tab]");if(!e.current||!t)return 0;const{scrollLeft:o,clientWidth:s}=e.current,r=Array.from(t),a=o+s;for(let i=0;i<r.length-1;i++){const u=r[i];if(u.offsetLeft+u.offsetWidth>a)return u.offsetWidth}return 0};return d?n.jsxs("div",{className:"uy-relative",children:[v&&n.jsx(L.NavigationButton,{direction:"left",onPress:()=>{var t;(t=e.current)==null||t.scrollBy({behavior:"smooth",left:j()})}}),n.jsx("div",{ref:e,"data-testid":"scrollable-tab-list",className:"uy-overflow-x-auto uy-overflow-y-hidden uy-border-b-[1.25px] uy-border-solid uy-border-b-border-form-enabled",onScroll:T,children:n.jsx(g.TabList,{ref:b,className:h(),children:f})}),S&&n.jsx(L.NavigationButton,{direction:"right",onPress:()=>{var t;(t=e.current)==null||t.scrollBy({behavior:"smooth",left:q()})}})]}):n.jsx(g.TabList,{ref:b,className:h(),children:f})});y.displayName="TabList";exports.TabList=y;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TabPanelProps as AriaTabPanelProps } from 'react-aria-components';
|
|
2
|
-
export type TabPanelProps = Omit<AriaTabPanelProps, 'classname' | 'style'>;
|
|
3
|
-
declare const TabPanel: import('react').ForwardRefExoticComponent<TabPanelProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
-
export { TabPanel };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("react"),s=require("react-aria-components"),e=o.forwardRef(({children:a,...r},t)=>n.jsx(s.TabPanel,{ref:t,...r,children:a}));e.displayName="TabPanel";exports.TabPanel=e;
|