@payfit/unity-components 0.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/cjs/components/actionable/Actionable.cjs +1 -0
- package/dist/cjs/components/actionable/Actionable.d.cts +12 -0
- package/dist/cjs/components/alert/Alert.cjs +1 -0
- package/dist/cjs/components/alert/Alert.d.cts +155 -0
- package/dist/cjs/components/alert/parts/AlertActions.cjs +1 -0
- package/dist/cjs/components/alert/parts/AlertActions.d.cts +55 -0
- package/dist/cjs/components/alert/parts/AlertContent.cjs +1 -0
- package/dist/cjs/components/alert/parts/AlertContent.d.cts +17 -0
- package/dist/cjs/components/alert/parts/AlertTitle.cjs +1 -0
- package/dist/cjs/components/alert/parts/AlertTitle.d.cts +17 -0
- package/dist/cjs/components/anchor/Anchor.cjs +1 -0
- package/dist/cjs/components/anchor/Anchor.d.cts +15 -0
- package/dist/cjs/components/app-layout/AppLayout.cjs +1 -0
- package/dist/cjs/components/app-layout/AppLayout.d.cts +27 -0
- package/dist/cjs/components/app-menu/AppMenu.cjs +1 -0
- package/dist/cjs/components/app-menu/AppMenu.d.cts +9 -0
- package/dist/cjs/components/app-menu/parts/AppMenu.context.cjs +1 -0
- package/dist/cjs/components/app-menu/parts/AppMenu.context.d.cts +9 -0
- package/dist/cjs/components/app-menu/parts/AppMenuFooter.cjs +1 -0
- package/dist/cjs/components/app-menu/parts/AppMenuFooter.d.cts +31 -0
- package/dist/cjs/components/app-menu/parts/AppMenuHeader.cjs +1 -0
- package/dist/cjs/components/app-menu/parts/AppMenuHeader.d.cts +9 -0
- package/dist/cjs/components/app-menu/parts/AppMenuNavContent.cjs +1 -0
- package/dist/cjs/components/app-menu/parts/AppMenuNavContent.d.cts +5 -0
- package/dist/cjs/components/autocomplete/Autocomplete.cjs +1 -0
- package/dist/cjs/components/autocomplete/Autocomplete.d.cts +156 -0
- package/dist/cjs/components/autocomplete/parts/AutocompleteClearButton.cjs +1 -0
- package/dist/cjs/components/autocomplete/parts/AutocompleteClearButton.d.cts +18 -0
- package/dist/cjs/components/autocomplete/parts/AutocompleteItem.cjs +1 -0
- package/dist/cjs/components/autocomplete/parts/AutocompleteItem.d.cts +56 -0
- package/dist/cjs/components/autocomplete/parts/AutocompleteItemGroup.cjs +1 -0
- package/dist/cjs/components/autocomplete/parts/AutocompleteItemGroup.d.cts +96 -0
- package/dist/cjs/components/autocomplete/parts/AutocompletePanel.cjs +1 -0
- package/dist/cjs/components/autocomplete/parts/AutocompletePanel.d.cts +76 -0
- package/dist/cjs/components/avatar/Avatar.cjs +1 -0
- package/dist/cjs/components/avatar/Avatar.context.cjs +1 -0
- package/dist/cjs/components/avatar/Avatar.context.d.cts +11 -0
- package/dist/cjs/components/avatar/Avatar.d.cts +206 -0
- package/dist/cjs/components/avatar/Avatar.variants.cjs +1 -0
- package/dist/cjs/components/avatar/Avatar.variants.d.cts +85 -0
- package/dist/cjs/components/avatar/parts/AvatarFallback.cjs +1 -0
- package/dist/cjs/components/avatar/parts/AvatarFallback.d.cts +170 -0
- package/dist/cjs/components/avatar/parts/AvatarImage.cjs +1 -0
- package/dist/cjs/components/avatar/parts/AvatarImage.d.cts +8 -0
- package/dist/cjs/components/avatar/parts/AvatarPair.cjs +1 -0
- package/dist/cjs/components/avatar/parts/AvatarPair.d.cts +48 -0
- package/dist/cjs/components/avatar/utils.cjs +1 -0
- package/dist/cjs/components/avatar/utils.d.cts +1 -0
- package/dist/cjs/components/badge/Badge.cjs +1 -0
- package/dist/cjs/components/badge/Badge.d.cts +94 -0
- package/dist/cjs/components/bottom-sheet/BottomSheet.cjs +1 -0
- package/dist/cjs/components/bottom-sheet/BottomSheet.d.cts +153 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetContent.cjs +1 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetContent.d.cts +70 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetDragIndicator.cjs +1 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetDragIndicator.d.cts +54 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetFooter.cjs +1 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetFooter.d.cts +27 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetHeader.cjs +1 -0
- package/dist/cjs/components/bottom-sheet/parts/BottomSheetHeader.d.cts +83 -0
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.context.cjs +1 -0
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.context.d.cts +12 -0
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.d.cts +33 -0
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.variant.cjs +1 -0
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.variant.d.cts +73 -0
- package/dist/cjs/components/breadcrumbs/parts/Breadcrumb.cjs +1 -0
- package/dist/cjs/components/breadcrumbs/parts/Breadcrumb.d.cts +9 -0
- package/dist/cjs/components/button/Button.cjs +1 -0
- package/dist/cjs/components/button/Button.d.cts +42 -0
- package/dist/cjs/components/button/Button.variants.cjs +1 -0
- package/dist/cjs/components/button/Button.variants.d.cts +536 -0
- package/dist/cjs/components/checkbox/Checkbox.cjs +1 -0
- package/dist/cjs/components/checkbox/Checkbox.d.cts +102 -0
- package/dist/cjs/components/checkbox/Checkbox.variants.cjs +1 -0
- package/dist/cjs/components/checkbox/Checkbox.variants.d.cts +123 -0
- package/dist/cjs/components/checkbox/CheckboxStandalone.cjs +1 -0
- package/dist/cjs/components/checkbox/CheckboxStandalone.d.cts +63 -0
- package/dist/cjs/components/checkbox/parts/CheckboxIndicator.cjs +1 -0
- package/dist/cjs/components/checkbox/parts/CheckboxIndicator.d.cts +13 -0
- package/dist/cjs/components/checkbox-field/CheckboxField.cjs +1 -0
- package/dist/cjs/components/checkbox-field/CheckboxField.d.cts +74 -0
- package/dist/cjs/components/checkbox-group/CheckboxGroup.cjs +1 -0
- package/dist/cjs/components/checkbox-group/CheckboxGroup.d.cts +65 -0
- package/dist/cjs/components/checkbox-group-field/CheckboxGroupField.cjs +1 -0
- package/dist/cjs/components/checkbox-group-field/CheckboxGroupField.d.cts +79 -0
- package/dist/cjs/components/collapsible/Collapsible.cjs +1 -0
- package/dist/cjs/components/collapsible/Collapsible.d.cts +33 -0
- package/dist/cjs/components/collapsible/parts/CollapsibleContent.cjs +1 -0
- package/dist/cjs/components/collapsible/parts/CollapsibleContent.d.cts +36 -0
- package/dist/cjs/components/collapsible/parts/CollapsibleTitle.cjs +1 -0
- package/dist/cjs/components/collapsible/parts/CollapsibleTitle.d.cts +39 -0
- package/dist/cjs/components/data-table/DataTable.cjs +1 -0
- package/dist/cjs/components/data-table/DataTable.d.cts +94 -0
- package/dist/cjs/components/data-table/mocks/employee-columns.d.cts +3 -0
- package/dist/cjs/components/data-table/mocks/employee-data.d.cts +17 -0
- package/dist/cjs/components/data-table/parts/ColumnSortHeader.cjs +1 -0
- package/dist/cjs/components/data-table/parts/ColumnSortHeader.d.cts +10 -0
- package/dist/cjs/components/date-picker/DatePicker.cjs +1 -0
- package/dist/cjs/components/date-picker/DatePicker.d.cts +67 -0
- package/dist/cjs/components/date-picker/hooks/useMonthsList.cjs +1 -0
- package/dist/cjs/components/date-picker/hooks/useMonthsList.d.cts +4 -0
- package/dist/cjs/components/date-picker/hooks/useYearsList.cjs +1 -0
- package/dist/cjs/components/date-picker/hooks/useYearsList.d.cts +10 -0
- package/dist/cjs/components/date-picker/parts/DateCalendar.cjs +1 -0
- package/dist/cjs/components/date-picker/parts/DateCalendar.d.cts +9 -0
- package/dist/cjs/components/date-picker/parts/DateInput.cjs +1 -0
- package/dist/cjs/components/date-picker/parts/DateInput.d.cts +155 -0
- package/dist/cjs/components/date-picker/parts/DateSegmentSelect.cjs +1 -0
- package/dist/cjs/components/date-picker/parts/DateSegmentSelect.d.cts +15 -0
- package/dist/cjs/components/date-picker/utils.d.cts +12 -0
- package/dist/cjs/components/date-picker-field/DatePickerField.cjs +1 -0
- package/dist/cjs/components/date-picker-field/DatePickerField.d.cts +83 -0
- package/dist/cjs/components/dialog/Dialog.cjs +1 -0
- package/dist/cjs/components/dialog/Dialog.d.cts +117 -0
- package/dist/cjs/components/dialog/parts/DialogActions/DialogButton.cjs +1 -0
- package/dist/cjs/components/dialog/parts/DialogActions/DialogButton.d.cts +22 -0
- package/dist/cjs/components/dialog/parts/DialogActions.cjs +1 -0
- package/dist/cjs/components/dialog/parts/DialogActions.d.cts +6 -0
- package/dist/cjs/components/dialog/parts/DialogContent.cjs +1 -0
- package/dist/cjs/components/dialog/parts/DialogContent.d.cts +4 -0
- package/dist/cjs/components/dialog/parts/DialogTitle.cjs +1 -0
- package/dist/cjs/components/dialog/parts/DialogTitle.d.cts +6 -0
- package/dist/cjs/components/fieldset/Fieldset.cjs +1 -0
- package/dist/cjs/components/fieldset/Fieldset.d.cts +150 -0
- package/dist/cjs/components/fieldset/parts/FieldGroup.cjs +1 -0
- package/dist/cjs/components/fieldset/parts/FieldGroup.d.cts +27 -0
- package/dist/cjs/components/flex/Flex.cjs +1 -0
- package/dist/cjs/components/flex/Flex.d.cts +64 -0
- package/dist/cjs/components/flex/Flex.variants.cjs +1 -0
- package/dist/cjs/components/flex/Flex.variants.d.cts +484 -0
- package/dist/cjs/components/flex/FlexItem.cjs +1 -0
- package/dist/cjs/components/flex/FlexItem.d.cts +40 -0
- package/dist/cjs/components/form/Form.cjs +1 -0
- package/dist/cjs/components/form/Form.context.cjs +1 -0
- package/dist/cjs/components/form/Form.context.d.cts +12 -0
- package/dist/cjs/components/form/Form.d.cts +33 -0
- package/dist/cjs/components/form-field/FormField.cjs +1 -0
- package/dist/cjs/components/form-field/FormField.context.cjs +1 -0
- package/dist/cjs/components/form-field/FormField.context.d.cts +38 -0
- package/dist/cjs/components/form-field/FormField.d.cts +61 -0
- package/dist/cjs/components/form-field/parts/FormContextualLink.cjs +1 -0
- package/dist/cjs/components/form-field/parts/FormContextualLink.d.cts +20 -0
- package/dist/cjs/components/form-field/parts/FormControl.cjs +1 -0
- package/dist/cjs/components/form-field/parts/FormControl.d.cts +30 -0
- package/dist/cjs/components/form-field/parts/FormFeedbackText.cjs +1 -0
- package/dist/cjs/components/form-field/parts/FormFeedbackText.d.cts +7 -0
- package/dist/cjs/components/form-field/parts/FormHelperText.cjs +1 -0
- package/dist/cjs/components/form-field/parts/FormHelperText.d.cts +7 -0
- package/dist/cjs/components/form-field/parts/FormLabel.cjs +1 -0
- package/dist/cjs/components/form-field/parts/FormLabel.d.cts +8 -0
- package/dist/cjs/components/form-field/utils/isFieldRequired.cjs +1 -0
- package/dist/cjs/components/form-field/utils/isFieldRequired.d.cts +8 -0
- package/dist/cjs/components/full-page-loader/FullPageLoader.cjs +1 -0
- package/dist/cjs/components/full-page-loader/FullPageLoader.d.cts +13 -0
- package/dist/cjs/components/grid/Grid.cjs +1 -0
- package/dist/cjs/components/grid/Grid.d.cts +54 -0
- package/dist/cjs/components/grid/Grid.variants.cjs +1 -0
- package/dist/cjs/components/grid/Grid.variants.d.cts +394 -0
- package/dist/cjs/components/grid/GridItem.cjs +1 -0
- package/dist/cjs/components/grid/GridItem.d.cts +60 -0
- package/dist/cjs/components/icon/Icon.cjs +1 -0
- package/dist/cjs/components/icon/Icon.d.cts +574 -0
- package/dist/cjs/components/icon-button/CircularIconButton.cjs +1 -0
- package/dist/cjs/components/icon-button/CircularIconButton.d.cts +100 -0
- package/dist/cjs/components/icon-button/IconButton.cjs +1 -0
- package/dist/cjs/components/icon-button/IconButton.d.cts +26 -0
- package/dist/cjs/components/icon-button/IconButton.variants.cjs +1 -0
- package/dist/cjs/components/icon-button/IconButton.variants.d.cts +589 -0
- package/dist/cjs/components/input/Input.cjs +1 -0
- package/dist/cjs/components/input/Input.d.cts +48 -0
- package/dist/cjs/components/label/Label.cjs +1 -0
- package/dist/cjs/components/label/Label.d.cts +17 -0
- package/dist/cjs/components/link/Link.cjs +1 -0
- package/dist/cjs/components/link/Link.d.cts +83 -0
- package/dist/cjs/components/link/Link.variants.cjs +1 -0
- package/dist/cjs/components/link/Link.variants.d.cts +120 -0
- package/dist/cjs/components/link/utils.cjs +1 -0
- package/dist/cjs/components/link/utils.d.cts +1 -0
- package/dist/cjs/components/menu/Menu.cjs +1 -0
- package/dist/cjs/components/menu/Menu.d.cts +10 -0
- package/dist/cjs/components/menu/parts/MenuContent.cjs +1 -0
- package/dist/cjs/components/menu/parts/MenuContent.d.cts +11 -0
- package/dist/cjs/components/menu/parts/MenuHeader.cjs +1 -0
- package/dist/cjs/components/menu/parts/MenuHeader.d.cts +9 -0
- package/dist/cjs/components/menu/parts/MenuItem.cjs +1 -0
- package/dist/cjs/components/menu/parts/MenuItem.d.cts +15 -0
- package/dist/cjs/components/menu/parts/MenuSeparator.cjs +1 -0
- package/dist/cjs/components/menu/parts/MenuSeparator.d.cts +4 -0
- package/dist/cjs/components/menu/parts/MenuTrigger.cjs +1 -0
- package/dist/cjs/components/menu/parts/MenuTrigger.d.cts +10 -0
- package/dist/cjs/components/multi-select/MultiSelect.cjs +1 -0
- package/dist/cjs/components/multi-select/MultiSelect.d.cts +62 -0
- package/dist/cjs/components/multi-select/Multiselect.context.cjs +1 -0
- package/dist/cjs/components/multi-select/Multiselect.context.d.cts +7 -0
- package/dist/cjs/components/multi-select/Multiselect.types.d.cts +109 -0
- package/dist/cjs/components/multi-select/hooks/use-combobox-filter.cjs +1 -0
- package/dist/cjs/components/multi-select/hooks/use-combobox-filter.d.cts +12 -0
- package/dist/cjs/components/multi-select/hooks/use-multiselection-state.cjs +1 -0
- package/dist/cjs/components/multi-select/hooks/use-multiselection-state.d.cts +14 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectButton.cjs +1 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectButton.d.cts +16 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectOptGroup.cjs +1 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectOptGroup.d.cts +69 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectOption.cjs +1 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectOption.d.cts +20 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectPopover.cjs +1 -0
- package/dist/cjs/components/multi-select/parts/MultiSelectPopover.d.cts +7 -0
- package/dist/cjs/components/multi-select-field/MultiSelectField.cjs +1 -0
- package/dist/cjs/components/multi-select-field/MultiSelectField.d.cts +59 -0
- package/dist/cjs/components/nav/Nav.cjs +1 -0
- package/dist/cjs/components/nav/Nav.d.cts +12 -0
- package/dist/cjs/components/nav/parts/NavGroup.cjs +1 -0
- package/dist/cjs/components/nav/parts/NavGroup.d.cts +30 -0
- package/dist/cjs/components/nav/parts/NavItem.cjs +1 -0
- package/dist/cjs/components/nav/parts/NavItem.d.cts +281 -0
- package/dist/cjs/components/page/Page.cjs +1 -0
- package/dist/cjs/components/page/Page.d.cts +75 -0
- package/dist/cjs/components/page/parts/PageHeader.cjs +1 -0
- package/dist/cjs/components/page/parts/PageHeader.d.cts +100 -0
- package/dist/cjs/components/page/parts/PageHeading.cjs +1 -0
- package/dist/cjs/components/page/parts/PageHeading.d.cts +30 -0
- package/dist/cjs/components/pagination/Pagination.cjs +1 -0
- package/dist/cjs/components/pagination/Pagination.d.cts +106 -0
- package/dist/cjs/components/pagination/hooks/use-pagination.cjs +1 -0
- package/dist/cjs/components/pagination/hooks/use-pagination.d.cts +11 -0
- package/dist/cjs/components/pagination/parts/PaginationEllipsis.cjs +1 -0
- package/dist/cjs/components/pagination/parts/PaginationEllipsis.d.cts +6 -0
- package/dist/cjs/components/pagination/parts/PaginationJumpDialog.cjs +1 -0
- package/dist/cjs/components/pagination/parts/PaginationJumpDialog.d.cts +8 -0
- package/dist/cjs/components/pagination/parts/PaginationLink.cjs +1 -0
- package/dist/cjs/components/pagination/parts/PaginationLink.d.cts +46 -0
- package/dist/cjs/components/pagination/parts/PaginationNavButton.cjs +1 -0
- package/dist/cjs/components/pagination/parts/PaginationNavButton.d.cts +9 -0
- package/dist/cjs/components/pagination/utils/pagination-window.cjs +1 -0
- package/dist/cjs/components/pagination/utils/pagination-window.d.cts +8 -0
- package/dist/cjs/components/payfit-brand/PayFitBrand.cjs +1 -0
- package/dist/cjs/components/payfit-brand/PayFitBrand.d.cts +22 -0
- package/dist/cjs/components/payfit-brand/PayFitPreprod.cjs +1 -0
- package/dist/cjs/components/payfit-brand/PayFitPreprod.d.cts +10 -0
- package/dist/cjs/components/pill/Pill.cjs +1 -0
- package/dist/cjs/components/pill/Pill.d.cts +143 -0
- package/dist/cjs/components/popover/Popover.cjs +1 -0
- package/dist/cjs/components/popover/Popover.d.cts +56 -0
- package/dist/cjs/components/popover/parts/PopoverContent.cjs +1 -0
- package/dist/cjs/components/popover/parts/PopoverContent.d.cts +6 -0
- package/dist/cjs/components/popover/parts/PopoverHeader.cjs +1 -0
- package/dist/cjs/components/popover/parts/PopoverHeader.d.cts +20 -0
- package/dist/cjs/components/progress-bar/ProgressBar.cjs +1 -0
- package/dist/cjs/components/progress-bar/ProgressBar.d.cts +10 -0
- package/dist/cjs/components/radio-button-group/RadioButtonGroup.cjs +1 -0
- package/dist/cjs/components/radio-button-group/RadioButtonGroup.d.cts +22 -0
- package/dist/cjs/components/radio-button-group/parts/RadioButton.cjs +1 -0
- package/dist/cjs/components/radio-button-group/parts/RadioButton.d.cts +74 -0
- package/dist/cjs/components/radio-button-group/parts/RadioButtonHelper.cjs +1 -0
- package/dist/cjs/components/radio-button-group/parts/RadioButtonHelper.d.cts +19 -0
- package/dist/cjs/components/radio-button-group/parts/radio-input-selected.svg.cjs +1 -0
- package/dist/cjs/components/radio-button-group/parts/radio-input-unselected.svg.cjs +1 -0
- package/dist/cjs/components/radio-button-group-field/RadioButtonGroupField.cjs +1 -0
- package/dist/cjs/components/radio-button-group-field/RadioButtonGroupField.d.cts +47 -0
- package/dist/cjs/components/search/Search.cjs +1 -0
- package/dist/cjs/components/search/Search.d.cts +180 -0
- package/dist/cjs/components/segmented-button-group/SegmentedButtonGroup.cjs +1 -0
- package/dist/cjs/components/segmented-button-group/SegmentedButtonGroup.d.cts +43 -0
- package/dist/cjs/components/segmented-button-group/SegmentedButtonGroups.context.cjs +1 -0
- package/dist/cjs/components/segmented-button-group/SegmentedButtonGroups.context.d.cts +8 -0
- package/dist/cjs/components/segmented-button-group/parts/ToggleButton.cjs +1 -0
- package/dist/cjs/components/segmented-button-group/parts/ToggleButton.d.cts +47 -0
- package/dist/cjs/components/select/Select.cjs +1 -0
- package/dist/cjs/components/select/Select.d.cts +54 -0
- package/dist/cjs/components/select/parts/SearchInput.cjs +1 -0
- package/dist/cjs/components/select/parts/SearchInput.d.cts +2 -0
- package/dist/cjs/components/select/parts/SelectButton.cjs +1 -0
- package/dist/cjs/components/select/parts/SelectButton.d.cts +8 -0
- package/dist/cjs/components/select/parts/SelectOption.cjs +1 -0
- package/dist/cjs/components/select/parts/SelectOption.context.cjs +1 -0
- package/dist/cjs/components/select/parts/SelectOption.context.d.cts +8 -0
- package/dist/cjs/components/select/parts/SelectOption.d.cts +13 -0
- package/dist/cjs/components/select/parts/SelectOptionGroup.cjs +1 -0
- package/dist/cjs/components/select/parts/SelectOptionGroup.d.cts +12 -0
- package/dist/cjs/components/select/parts/SelectOptionHelper.cjs +1 -0
- package/dist/cjs/components/select/parts/SelectOptionHelper.d.cts +4 -0
- package/dist/cjs/components/select-field/SelectField.cjs +1 -0
- package/dist/cjs/components/select-field/SelectField.d.cts +50 -0
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.cjs +1 -0
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.context.cjs +1 -0
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.context.d.cts +2 -0
- package/dist/cjs/components/selectable-button-group/SelectableButtonGroup.d.cts +59 -0
- package/dist/cjs/components/selectable-button-group/parts/SelectableButton.cjs +1 -0
- package/dist/cjs/components/selectable-button-group/parts/SelectableButton.d.cts +127 -0
- package/dist/cjs/components/selectable-card/internals/Content.cjs +1 -0
- package/dist/cjs/components/selectable-card/internals/Content.d.cts +6 -0
- package/dist/cjs/components/selectable-card/internals/Description.cjs +1 -0
- package/dist/cjs/components/selectable-card/internals/Description.d.cts +6 -0
- package/dist/cjs/components/selectable-card/internals/Illustration.cjs +1 -0
- package/dist/cjs/components/selectable-card/internals/Illustration.d.cts +6 -0
- package/dist/cjs/components/selectable-card/internals/SelectedIndicator.cjs +1 -0
- package/dist/cjs/components/selectable-card/internals/SelectedIndicator.d.cts +6 -0
- package/dist/cjs/components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.cjs +1 -0
- package/dist/cjs/components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.d.cts +20 -0
- package/dist/cjs/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.cjs +1 -0
- package/dist/cjs/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.d.cts +47 -0
- package/dist/cjs/components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.cjs +1 -0
- package/dist/cjs/components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.d.cts +20 -0
- package/dist/cjs/components/selectable-card/selectable-card-radio-group/parts/RadioIndicator.cjs +1 -0
- package/dist/cjs/components/selectable-card/selectable-card-radio-group/parts/RadioIndicator.d.cts +8 -0
- package/dist/cjs/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.cjs +1 -0
- package/dist/cjs/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.d.cts +50 -0
- package/dist/cjs/components/selectable-card/selectableCard.variant.cjs +1 -0
- package/dist/cjs/components/selectable-card/selectableCard.variant.d.cts +35 -0
- package/dist/cjs/components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.cjs +1 -0
- package/dist/cjs/components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.d.cts +31 -0
- package/dist/cjs/components/selectable-card-radio-group-field/SelectableCardRadioGroupField.cjs +1 -0
- package/dist/cjs/components/selectable-card-radio-group-field/SelectableCardRadioGroupField.d.cts +31 -0
- package/dist/cjs/components/side-panel/SidePanel.cjs +1 -0
- package/dist/cjs/components/side-panel/SidePanel.d.cts +152 -0
- package/dist/cjs/components/side-panel/parts/SidePanelContent.cjs +1 -0
- package/dist/cjs/components/side-panel/parts/SidePanelContent.d.cts +71 -0
- package/dist/cjs/components/side-panel/parts/SidePanelDragIndicator.cjs +1 -0
- package/dist/cjs/components/side-panel/parts/SidePanelDragIndicator.d.cts +54 -0
- package/dist/cjs/components/side-panel/parts/SidePanelFooter.cjs +1 -0
- package/dist/cjs/components/side-panel/parts/SidePanelFooter.d.cts +27 -0
- package/dist/cjs/components/side-panel/parts/SidePanelHeader.cjs +1 -0
- package/dist/cjs/components/side-panel/parts/SidePanelHeader.d.cts +75 -0
- package/dist/cjs/components/spinner/Spinner.cjs +1 -0
- package/dist/cjs/components/spinner/Spinner.d.cts +17 -0
- package/dist/cjs/components/spinner/dynamic-content.d.cts +2 -0
- package/dist/cjs/components/stepper/Stepper.context.d.cts +8 -0
- package/dist/cjs/components/stepper/Stepper.d.cts +45 -0
- package/dist/cjs/components/stepper/hooks/useStepper.d.cts +12 -0
- package/dist/cjs/components/stepper/parts/Step.d.cts +15 -0
- package/dist/cjs/components/table/Table.cjs +1 -0
- package/dist/cjs/components/table/Table.context.cjs +1 -0
- package/dist/cjs/components/table/Table.context.d.cts +59 -0
- package/dist/cjs/components/table/Table.d.cts +93 -0
- package/dist/cjs/components/table/assets/EmptyStateError.svg.cjs +1 -0
- package/dist/cjs/components/table/assets/EmptyStateNoData.svg.cjs +1 -0
- package/dist/cjs/components/table/hooks/useTableAnnouncer.d.cts +5 -0
- package/dist/cjs/components/table/hooks/useTableKeyboardNavigation.cjs +1 -0
- package/dist/cjs/components/table/hooks/useTableKeyboardNavigation.d.cts +39 -0
- package/dist/cjs/components/table/parts/TableBody.cjs +1 -0
- package/dist/cjs/components/table/parts/TableBody.d.cts +56 -0
- package/dist/cjs/components/table/parts/TableCell.cjs +1 -0
- package/dist/cjs/components/table/parts/TableCell.d.cts +80 -0
- package/dist/cjs/components/table/parts/TableColumnHeader.cjs +1 -0
- package/dist/cjs/components/table/parts/TableColumnHeader.d.cts +89 -0
- package/dist/cjs/components/table/parts/TableEmptyState.cjs +1 -0
- package/dist/cjs/components/table/parts/TableEmptyState.d.cts +177 -0
- package/dist/cjs/components/table/parts/TableHeader.cjs +1 -0
- package/dist/cjs/components/table/parts/TableHeader.d.cts +29 -0
- package/dist/cjs/components/table/parts/TablePagination.cjs +1 -0
- package/dist/cjs/components/table/parts/TablePagination.d.cts +135 -0
- package/dist/cjs/components/table/parts/TableRow.cjs +1 -0
- package/dist/cjs/components/table/parts/TableRow.d.cts +40 -0
- package/dist/cjs/components/tabs/Tabs.cjs +1 -0
- package/dist/cjs/components/tabs/Tabs.context.cjs +1 -0
- package/dist/cjs/components/tabs/Tabs.context.d.cts +11 -0
- package/dist/cjs/components/tabs/Tabs.d.cts +12 -0
- package/dist/cjs/components/tabs/Tabs.variant.cjs +1 -0
- package/dist/cjs/components/tabs/Tabs.variant.d.cts +139 -0
- package/dist/cjs/components/tabs/parts/NavigationButton.cjs +1 -0
- package/dist/cjs/components/tabs/parts/NavigationButton.d.cts +7 -0
- package/dist/cjs/components/tabs/parts/Tab.cjs +1 -0
- package/dist/cjs/components/tabs/parts/Tab.d.cts +9 -0
- package/dist/cjs/components/tabs/parts/TabList.cjs +1 -0
- package/dist/cjs/components/tabs/parts/TabList.d.cts +4 -0
- package/dist/cjs/components/tabs/parts/TabPanel.cjs +1 -0
- package/dist/cjs/components/tabs/parts/TabPanel.d.cts +4 -0
- package/dist/cjs/components/text/Text.cjs +1 -0
- package/dist/cjs/components/text/Text.d.cts +84 -0
- package/dist/cjs/components/text/Text.variants.cjs +1 -0
- package/dist/cjs/components/text/Text.variants.d.cts +673 -0
- package/dist/cjs/components/text-area/TextArea.cjs +1 -0
- package/dist/cjs/components/text-area/TextArea.d.cts +220 -0
- package/dist/cjs/components/text-field/TextField.cjs +1 -0
- package/dist/cjs/components/text-field/TextField.d.cts +63 -0
- package/dist/cjs/components/toast/Toast.context.cjs +1 -0
- package/dist/cjs/components/toast/Toast.context.d.cts +8 -0
- package/dist/cjs/components/toast/ToastManager.cjs +1 -0
- package/dist/cjs/components/toast/ToastManager.d.cts +7 -0
- package/dist/cjs/components/toast/UnityToast.cjs +1 -0
- package/dist/cjs/components/toast/UnityToast.d.cts +55 -0
- package/dist/cjs/components/toast/parts/ToastAction.cjs +1 -0
- package/dist/cjs/components/toast/parts/ToastAction.d.cts +9 -0
- package/dist/cjs/components/toast/parts/ToastContent.cjs +1 -0
- package/dist/cjs/components/toast/parts/ToastContent.d.cts +6 -0
- package/dist/cjs/components/toast/parts/ToastTitle.cjs +1 -0
- package/dist/cjs/components/toast/parts/ToastTitle.d.cts +6 -0
- package/dist/cjs/components/toast/toast.cjs +1 -0
- package/dist/cjs/components/toast/toast.d.cts +44 -0
- package/dist/cjs/components/toggle-switch/ToggleSwitch.cjs +1 -0
- package/dist/cjs/components/toggle-switch/ToggleSwitch.d.cts +111 -0
- package/dist/cjs/components/toggle-switch-field/ToggleSwitchField.cjs +1 -0
- package/dist/cjs/components/toggle-switch-field/ToggleSwitchField.d.cts +73 -0
- package/dist/cjs/components/toggle-switch-group/ToggleSwitchGroup.cjs +1 -0
- package/dist/cjs/components/toggle-switch-group/ToggleSwitchGroup.d.cts +71 -0
- package/dist/cjs/components/toggle-switch-group-field/ToggleSwitchGroupField.cjs +1 -0
- package/dist/cjs/components/toggle-switch-group-field/ToggleSwitchGroupField.d.cts +82 -0
- package/dist/cjs/components/tooltip/Tooltip.cjs +1 -0
- package/dist/cjs/components/tooltip/Tooltip.d.cts +7 -0
- package/dist/cjs/docs/blocks/Cards.d.cts +18 -0
- package/dist/cjs/docs/table/mocks/employee-columns.d.cts +3 -0
- package/dist/cjs/hooks/use-async-list.d.cts +2 -0
- package/dist/cjs/hooks/use-breakpoint-listener.cjs +1 -0
- package/dist/cjs/hooks/use-breakpoint-listener.d.cts +2 -0
- package/dist/cjs/hooks/use-form.cjs +1 -0
- package/dist/cjs/hooks/use-form.d.cts +48 -0
- package/dist/cjs/hooks/use-form.types.d.cts +3 -0
- package/dist/cjs/hooks/use-id.cjs +1 -0
- package/dist/cjs/hooks/use-id.d.cts +2 -0
- package/dist/cjs/hooks/use-media-query.cjs +1 -0
- package/dist/cjs/hooks/use-media-query.d.cts +8 -0
- package/dist/cjs/hooks/use-resizable.cjs +1 -0
- package/dist/cjs/hooks/use-resizable.d.cts +13 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/index.d.cts +142 -0
- package/dist/cjs/mocks/employees.d.cts +17 -0
- package/dist/cjs/providers/router/RouterProvider.cjs +1 -0
- package/dist/cjs/providers/router/RouterProvider.d.cts +37 -0
- package/dist/cjs/providers/router/integrations/UnityReactRouterV5Provider.cjs +1 -0
- package/dist/cjs/providers/router/integrations/UnityReactRouterV5Provider.d.cts +6 -0
- package/dist/cjs/types/DataAttributes.d.cts +1 -0
- package/dist/cjs/types/utils.d.cts +1 -0
- package/dist/cjs/utils/platform.cjs +1 -0
- package/dist/cjs/utils/platform.d.cts +3 -0
- package/dist/esm/components/actionable/Actionable.d.ts +12 -0
- package/dist/esm/components/actionable/Actionable.js +31 -0
- package/dist/esm/components/alert/Alert.d.ts +155 -0
- package/dist/esm/components/alert/Alert.js +78 -0
- package/dist/esm/components/alert/parts/AlertActions.d.ts +55 -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.d.ts +15 -0
- package/dist/esm/components/anchor/Anchor.js +49 -0
- package/dist/esm/components/app-layout/AppLayout.d.ts +27 -0
- package/dist/esm/components/app-layout/AppLayout.js +77 -0
- package/dist/esm/components/app-menu/AppMenu.d.ts +9 -0
- package/dist/esm/components/app-menu/AppMenu.js +14 -0
- package/dist/esm/components/app-menu/parts/AppMenu.context.d.ts +9 -0
- package/dist/esm/components/app-menu/parts/AppMenu.context.js +25 -0
- package/dist/esm/components/app-menu/parts/AppMenuFooter.d.ts +31 -0
- package/dist/esm/components/app-menu/parts/AppMenuFooter.js +232 -0
- package/dist/esm/components/app-menu/parts/AppMenuHeader.d.ts +9 -0
- package/dist/esm/components/app-menu/parts/AppMenuHeader.js +41 -0
- package/dist/esm/components/app-menu/parts/AppMenuNavContent.d.ts +5 -0
- package/dist/esm/components/app-menu/parts/AppMenuNavContent.js +23 -0
- package/dist/esm/components/autocomplete/Autocomplete.d.ts +156 -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 +56 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteItem.js +36 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteItemGroup.d.ts +96 -0
- package/dist/esm/components/autocomplete/parts/AutocompleteItemGroup.js +30 -0
- package/dist/esm/components/autocomplete/parts/AutocompletePanel.d.ts +76 -0
- package/dist/esm/components/autocomplete/parts/AutocompletePanel.js +47 -0
- package/dist/esm/components/avatar/Avatar.context.d.ts +11 -0
- package/dist/esm/components/avatar/Avatar.context.js +26 -0
- package/dist/esm/components/avatar/Avatar.d.ts +206 -0
- package/dist/esm/components/avatar/Avatar.js +33 -0
- package/dist/esm/components/avatar/Avatar.variants.d.ts +85 -0
- package/dist/esm/components/avatar/Avatar.variants.js +46 -0
- package/dist/esm/components/avatar/parts/AvatarFallback.d.ts +170 -0
- package/dist/esm/components/avatar/parts/AvatarFallback.js +87 -0
- package/dist/esm/components/avatar/parts/AvatarImage.d.ts +8 -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/avatar/utils.d.ts +1 -0
- package/dist/esm/components/avatar/utils.js +4 -0
- package/dist/esm/components/badge/Badge.d.ts +94 -0
- package/dist/esm/components/badge/Badge.js +61 -0
- package/dist/esm/components/bottom-sheet/BottomSheet.d.ts +153 -0
- package/dist/esm/components/bottom-sheet/BottomSheet.js +68 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.d.ts +70 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetContent.js +26 -0
- package/dist/esm/components/bottom-sheet/parts/BottomSheetDragIndicator.d.ts +54 -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 +83 -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.context.js +28 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.d.ts +33 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.js +21 -0
- package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.d.ts +73 -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 +24 -0
- package/dist/esm/components/button/Button.d.ts +42 -0
- package/dist/esm/components/button/Button.js +75 -0
- package/dist/esm/components/button/Button.variants.d.ts +536 -0
- package/dist/esm/components/button/Button.variants.js +136 -0
- package/dist/esm/components/checkbox/Checkbox.d.ts +102 -0
- package/dist/esm/components/checkbox/Checkbox.js +93 -0
- package/dist/esm/components/checkbox/Checkbox.variants.d.ts +123 -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.d.ts +13 -0
- package/dist/esm/components/checkbox/parts/CheckboxIndicator.js +146 -0
- package/dist/esm/components/checkbox-field/CheckboxField.d.ts +74 -0
- package/dist/esm/components/checkbox-field/CheckboxField.js +61 -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.d.ts +79 -0
- package/dist/esm/components/checkbox-group-field/CheckboxGroupField.js +54 -0
- package/dist/esm/components/collapsible/Collapsible.d.ts +33 -0
- package/dist/esm/components/collapsible/Collapsible.js +23 -0
- package/dist/esm/components/collapsible/parts/CollapsibleContent.d.ts +36 -0
- package/dist/esm/components/collapsible/parts/CollapsibleContent.js +10 -0
- package/dist/esm/components/collapsible/parts/CollapsibleTitle.d.ts +39 -0
- package/dist/esm/components/collapsible/parts/CollapsibleTitle.js +51 -0
- package/dist/esm/components/data-table/DataTable.d.ts +94 -0
- package/dist/esm/components/data-table/DataTable.js +77 -0
- package/dist/esm/components/data-table/mocks/employee-columns.d.ts +3 -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/date-picker/DatePicker.d.ts +67 -0
- package/dist/esm/components/date-picker/DatePicker.js +164 -0
- package/dist/esm/components/date-picker/hooks/useMonthsList.d.ts +4 -0
- package/dist/esm/components/date-picker/hooks/useMonthsList.js +26 -0
- package/dist/esm/components/date-picker/hooks/useYearsList.d.ts +10 -0
- package/dist/esm/components/date-picker/hooks/useYearsList.js +33 -0
- package/dist/esm/components/date-picker/parts/DateCalendar.d.ts +9 -0
- package/dist/esm/components/date-picker/parts/DateCalendar.js +172 -0
- package/dist/esm/components/date-picker/parts/DateInput.d.ts +155 -0
- package/dist/esm/components/date-picker/parts/DateInput.js +124 -0
- package/dist/esm/components/date-picker/parts/DateSegmentSelect.d.ts +15 -0
- package/dist/esm/components/date-picker/parts/DateSegmentSelect.js +69 -0
- package/dist/esm/components/date-picker/utils.d.ts +12 -0
- package/dist/esm/components/date-picker-field/DatePickerField.d.ts +83 -0
- package/dist/esm/components/date-picker-field/DatePickerField.js +73 -0
- package/dist/esm/components/dialog/Dialog.d.ts +117 -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 +59 -0
- package/dist/esm/components/dialog/parts/DialogActions.d.ts +6 -0
- package/dist/esm/components/dialog/parts/DialogActions.js +13 -0
- package/dist/esm/components/dialog/parts/DialogContent.d.ts +4 -0
- package/dist/esm/components/dialog/parts/DialogContent.js +22 -0
- package/dist/esm/components/dialog/parts/DialogTitle.d.ts +6 -0
- package/dist/esm/components/dialog/parts/DialogTitle.js +7 -0
- package/dist/esm/components/fieldset/Fieldset.d.ts +150 -0
- package/dist/esm/components/fieldset/Fieldset.js +66 -0
- package/dist/esm/components/fieldset/parts/FieldGroup.d.ts +27 -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 +484 -0
- package/dist/esm/components/flex/Flex.variants.js +218 -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 +12 -0
- package/dist/esm/components/form/Form.context.js +30 -0
- package/dist/esm/components/form/Form.d.ts +33 -0
- package/dist/esm/components/form/Form.js +58 -0
- package/dist/esm/components/form-field/FormField.context.d.ts +38 -0
- package/dist/esm/components/form-field/FormField.context.js +81 -0
- package/dist/esm/components/form-field/FormField.d.ts +61 -0
- package/dist/esm/components/form-field/FormField.js +60 -0
- package/dist/esm/components/form-field/parts/FormContextualLink.d.ts +20 -0
- package/dist/esm/components/form-field/parts/FormContextualLink.js +37 -0
- package/dist/esm/components/form-field/parts/FormControl.d.ts +30 -0
- package/dist/esm/components/form-field/parts/FormControl.js +50 -0
- package/dist/esm/components/form-field/parts/FormFeedbackText.d.ts +7 -0
- package/dist/esm/components/form-field/parts/FormFeedbackText.js +28 -0
- package/dist/esm/components/form-field/parts/FormHelperText.d.ts +7 -0
- package/dist/esm/components/form-field/parts/FormHelperText.js +26 -0
- package/dist/esm/components/form-field/parts/FormLabel.d.ts +8 -0
- package/dist/esm/components/form-field/parts/FormLabel.js +30 -0
- package/dist/esm/components/form-field/utils/isFieldRequired.d.ts +8 -0
- package/dist/esm/components/form-field/utils/isFieldRequired.js +23 -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/grid/Grid.d.ts +54 -0
- package/dist/esm/components/grid/Grid.js +38 -0
- package/dist/esm/components/grid/Grid.variants.d.ts +394 -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 +574 -0
- package/dist/esm/components/icon/Icon.js +113 -0
- package/dist/esm/components/icon-button/CircularIconButton.d.ts +100 -0
- package/dist/esm/components/icon-button/CircularIconButton.js +99 -0
- package/dist/esm/components/icon-button/IconButton.d.ts +26 -0
- package/dist/esm/components/icon-button/IconButton.js +59 -0
- package/dist/esm/components/icon-button/IconButton.variants.d.ts +589 -0
- package/dist/esm/components/icon-button/IconButton.variants.js +356 -0
- package/dist/esm/components/input/Input.d.ts +48 -0
- package/dist/esm/components/input/Input.js +149 -0
- package/dist/esm/components/label/Label.d.ts +17 -0
- package/dist/esm/components/label/Label.js +64 -0
- package/dist/esm/components/link/Link.d.ts +83 -0
- package/dist/esm/components/link/Link.js +66 -0
- package/dist/esm/components/link/Link.variants.d.ts +120 -0
- package/dist/esm/components/link/Link.variants.js +42 -0
- package/dist/esm/components/link/utils.d.ts +1 -0
- package/dist/esm/components/link/utils.js +16 -0
- package/dist/esm/components/menu/Menu.d.ts +10 -0
- package/dist/esm/components/menu/Menu.js +9 -0
- package/dist/esm/components/menu/parts/MenuContent.d.ts +11 -0
- package/dist/esm/components/menu/parts/MenuContent.js +22 -0
- package/dist/esm/components/menu/parts/MenuHeader.d.ts +9 -0
- package/dist/esm/components/menu/parts/MenuHeader.js +16 -0
- package/dist/esm/components/menu/parts/MenuItem.d.ts +15 -0
- package/dist/esm/components/menu/parts/MenuItem.js +32 -0
- package/dist/esm/components/menu/parts/MenuSeparator.d.ts +4 -0
- package/dist/esm/components/menu/parts/MenuSeparator.js +9 -0
- package/dist/esm/components/menu/parts/MenuTrigger.d.ts +10 -0
- package/dist/esm/components/menu/parts/MenuTrigger.js +14 -0
- package/dist/esm/components/multi-select/MultiSelect.d.ts +62 -0
- package/dist/esm/components/multi-select/MultiSelect.js +233 -0
- package/dist/esm/components/multi-select/Multiselect.context.d.ts +7 -0
- package/dist/esm/components/multi-select/Multiselect.context.js +8 -0
- package/dist/esm/components/multi-select/Multiselect.types.d.ts +109 -0
- package/dist/esm/components/multi-select/hooks/use-combobox-filter.d.ts +12 -0
- package/dist/esm/components/multi-select/hooks/use-combobox-filter.js +22 -0
- package/dist/esm/components/multi-select/hooks/use-multiselection-state.d.ts +14 -0
- package/dist/esm/components/multi-select/hooks/use-multiselection-state.js +47 -0
- package/dist/esm/components/multi-select/parts/MultiSelectButton.d.ts +16 -0
- package/dist/esm/components/multi-select/parts/MultiSelectButton.js +161 -0
- package/dist/esm/components/multi-select/parts/MultiSelectOptGroup.d.ts +69 -0
- package/dist/esm/components/multi-select/parts/MultiSelectOptGroup.js +34 -0
- package/dist/esm/components/multi-select/parts/MultiSelectOption.d.ts +20 -0
- package/dist/esm/components/multi-select/parts/MultiSelectOption.js +87 -0
- package/dist/esm/components/multi-select/parts/MultiSelectPopover.d.ts +7 -0
- package/dist/esm/components/multi-select/parts/MultiSelectPopover.js +65 -0
- package/dist/esm/components/multi-select-field/MultiSelectField.d.ts +59 -0
- package/dist/esm/components/multi-select-field/MultiSelectField.js +82 -0
- package/dist/esm/components/nav/Nav.d.ts +12 -0
- package/dist/esm/components/nav/Nav.js +28 -0
- package/dist/esm/components/nav/parts/NavGroup.d.ts +30 -0
- package/dist/esm/components/nav/parts/NavGroup.js +105 -0
- package/dist/esm/components/nav/parts/NavItem.d.ts +281 -0
- package/dist/esm/components/nav/parts/NavItem.js +88 -0
- package/dist/esm/components/page/Page.d.ts +75 -0
- package/dist/esm/components/page/Page.js +44 -0
- package/dist/esm/components/page/parts/PageHeader.d.ts +100 -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 +106 -0
- package/dist/esm/components/pagination/Pagination.js +179 -0
- package/dist/esm/components/pagination/hooks/use-pagination.d.ts +11 -0
- package/dist/esm/components/pagination/hooks/use-pagination.js +27 -0
- package/dist/esm/components/pagination/parts/PaginationEllipsis.d.ts +6 -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 +46 -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 +31 -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.d.ts +22 -0
- package/dist/esm/components/payfit-brand/PayFitBrand.js +76 -0
- package/dist/esm/components/payfit-brand/PayFitPreprod.d.ts +10 -0
- package/dist/esm/components/payfit-brand/PayFitPreprod.js +57 -0
- package/dist/esm/components/pill/Pill.d.ts +143 -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 +37 -0
- package/dist/esm/components/popover/parts/PopoverContent.d.ts +6 -0
- package/dist/esm/components/popover/parts/PopoverContent.js +9 -0
- package/dist/esm/components/popover/parts/PopoverHeader.d.ts +20 -0
- package/dist/esm/components/popover/parts/PopoverHeader.js +56 -0
- package/dist/esm/components/progress-bar/ProgressBar.d.ts +10 -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 +74 -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 +180 -0
- package/dist/esm/components/search/Search.js +164 -0
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroup.d.ts +43 -0
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroup.js +22 -0
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroups.context.d.ts +8 -0
- package/dist/esm/components/segmented-button-group/SegmentedButtonGroups.context.js +15 -0
- package/dist/esm/components/segmented-button-group/parts/ToggleButton.d.ts +47 -0
- package/dist/esm/components/segmented-button-group/parts/ToggleButton.js +122 -0
- package/dist/esm/components/select/Select.d.ts +54 -0
- package/dist/esm/components/select/Select.js +68 -0
- package/dist/esm/components/select/parts/SearchInput.d.ts +2 -0
- package/dist/esm/components/select/parts/SearchInput.js +39 -0
- package/dist/esm/components/select/parts/SelectButton.d.ts +8 -0
- package/dist/esm/components/select/parts/SelectButton.js +96 -0
- package/dist/esm/components/select/parts/SelectOption.context.d.ts +8 -0
- package/dist/esm/components/select/parts/SelectOption.context.js +24 -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.d.ts +12 -0
- package/dist/esm/components/select/parts/SelectOptionGroup.js +26 -0
- package/dist/esm/components/select/parts/SelectOptionHelper.d.ts +4 -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/selectable-button-group/SelectableButtonGroup.context.d.ts +2 -0
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.context.js +5 -0
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.d.ts +59 -0
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.js +34 -0
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.d.ts +127 -0
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.js +99 -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 +35 -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 +152 -0
- package/dist/esm/components/side-panel/SidePanel.js +67 -0
- package/dist/esm/components/side-panel/parts/SidePanelContent.d.ts +71 -0
- package/dist/esm/components/side-panel/parts/SidePanelContent.js +26 -0
- package/dist/esm/components/side-panel/parts/SidePanelDragIndicator.d.ts +54 -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 +75 -0
- package/dist/esm/components/side-panel/parts/SidePanelHeader.js +43 -0
- package/dist/esm/components/spinner/Spinner.d.ts +17 -0
- package/dist/esm/components/spinner/Spinner.js +108 -0
- package/dist/esm/components/spinner/dynamic-content.d.ts +2 -0
- package/dist/esm/components/stepper/Stepper.context.d.ts +8 -0
- package/dist/esm/components/stepper/Stepper.d.ts +45 -0
- package/dist/esm/components/stepper/hooks/useStepper.d.ts +12 -0
- package/dist/esm/components/stepper/parts/Step.d.ts +15 -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 +93 -0
- package/dist/esm/components/table/Table.js +148 -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 +39 -0
- package/dist/esm/components/table/hooks/useTableKeyboardNavigation.js +157 -0
- package/dist/esm/components/table/parts/TableBody.d.ts +56 -0
- package/dist/esm/components/table/parts/TableBody.js +38 -0
- package/dist/esm/components/table/parts/TableCell.d.ts +80 -0
- package/dist/esm/components/table/parts/TableCell.js +55 -0
- package/dist/esm/components/table/parts/TableColumnHeader.d.ts +89 -0
- package/dist/esm/components/table/parts/TableColumnHeader.js +72 -0
- package/dist/esm/components/table/parts/TableEmptyState.d.ts +177 -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 +35 -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 +46 -0
- package/dist/esm/components/tabs/Tabs.context.d.ts +11 -0
- package/dist/esm/components/tabs/Tabs.context.js +24 -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 +139 -0
- package/dist/esm/components/tabs/Tabs.variant.js +35 -0
- package/dist/esm/components/tabs/parts/NavigationButton.d.ts +7 -0
- package/dist/esm/components/tabs/parts/NavigationButton.js +43 -0
- package/dist/esm/components/tabs/parts/Tab.d.ts +9 -0
- package/dist/esm/components/tabs/parts/Tab.js +18 -0
- package/dist/esm/components/tabs/parts/TabList.d.ts +4 -0
- package/dist/esm/components/tabs/parts/TabList.js +78 -0
- package/dist/esm/components/tabs/parts/TabPanel.d.ts +4 -0
- package/dist/esm/components/tabs/parts/TabPanel.js +10 -0
- package/dist/esm/components/text/Text.d.ts +84 -0
- package/dist/esm/components/text/Text.js +57 -0
- package/dist/esm/components/text/Text.variants.d.ts +673 -0
- package/dist/esm/components/text/Text.variants.js +108 -0
- package/dist/esm/components/text-area/TextArea.d.ts +220 -0
- package/dist/esm/components/text-area/TextArea.js +163 -0
- package/dist/esm/components/text-field/TextField.d.ts +63 -0
- package/dist/esm/components/text-field/TextField.js +78 -0
- package/dist/esm/components/toast/Toast.context.d.ts +8 -0
- package/dist/esm/components/toast/Toast.context.js +22 -0
- package/dist/esm/components/toast/ToastManager.d.ts +7 -0
- package/dist/esm/components/toast/ToastManager.js +21 -0
- package/dist/esm/components/toast/UnityToast.d.ts +55 -0
- package/dist/esm/components/toast/UnityToast.js +93 -0
- package/dist/esm/components/toast/parts/ToastAction.d.ts +9 -0
- package/dist/esm/components/toast/parts/ToastAction.js +12 -0
- package/dist/esm/components/toast/parts/ToastContent.d.ts +6 -0
- package/dist/esm/components/toast/parts/ToastContent.js +11 -0
- package/dist/esm/components/toast/parts/ToastTitle.d.ts +6 -0
- package/dist/esm/components/toast/parts/ToastTitle.js +9 -0
- package/dist/esm/components/toast/toast.d.ts +44 -0
- package/dist/esm/components/toast/toast.js +39 -0
- package/dist/esm/components/toggle-switch/ToggleSwitch.d.ts +111 -0
- package/dist/esm/components/toggle-switch/ToggleSwitch.js +60 -0
- package/dist/esm/components/toggle-switch-field/ToggleSwitchField.d.ts +73 -0
- package/dist/esm/components/toggle-switch-field/ToggleSwitchField.js +67 -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 +54 -0
- package/dist/esm/components/tooltip/Tooltip.d.ts +7 -0
- package/dist/esm/components/tooltip/Tooltip.js +21 -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.d.ts +2 -0
- package/dist/esm/hooks/use-breakpoint-listener.js +14 -0
- package/dist/esm/hooks/use-form.d.ts +48 -0
- package/dist/esm/hooks/use-form.js +32 -0
- package/dist/esm/hooks/use-form.types.d.ts +3 -0
- package/dist/esm/hooks/use-id.d.ts +2 -0
- package/dist/esm/hooks/use-id.js +28 -0
- package/dist/esm/hooks/use-media-query.d.ts +8 -0
- package/dist/esm/hooks/use-media-query.js +19 -0
- package/dist/esm/hooks/use-resizable.d.ts +13 -0
- package/dist/esm/hooks/use-resizable.js +51 -0
- package/dist/esm/index.d.ts +142 -0
- package/dist/esm/index.js +334 -0
- package/dist/esm/mocks/employees.d.ts +17 -0
- package/dist/esm/providers/router/RouterProvider.d.ts +37 -0
- package/dist/esm/providers/router/RouterProvider.js +18 -0
- package/dist/esm/providers/router/integrations/UnityReactRouterV5Provider.d.ts +6 -0
- package/dist/esm/providers/router/integrations/UnityReactRouterV5Provider.js +28 -0
- package/dist/esm/types/DataAttributes.d.ts +1 -0
- package/dist/esm/types/utils.d.ts +1 -0
- package/dist/esm/utils/platform.d.ts +3 -0
- package/dist/esm/utils/platform.js +11 -0
- package/i18n/en-GB.json +47 -0
- package/i18n/es-ES.json +47 -0
- package/i18n/fr-FR.json +47 -0
- package/package.json +112 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { VariantProps } from 'tailwind-variants';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
4
|
+
declare const avatarPlaceholder: import('tailwind-variants').TVReturnType<{
|
|
5
|
+
color: {
|
|
6
|
+
blue: {
|
|
7
|
+
background: string;
|
|
8
|
+
foreground: string;
|
|
9
|
+
};
|
|
10
|
+
sunglow: {
|
|
11
|
+
background: string;
|
|
12
|
+
foreground: string;
|
|
13
|
+
};
|
|
14
|
+
peach: {
|
|
15
|
+
background: string;
|
|
16
|
+
foreground: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
base: string;
|
|
21
|
+
background: string;
|
|
22
|
+
foreground: string;
|
|
23
|
+
}, undefined, import('tailwind-variants/dist/config.js').TVConfig<{
|
|
24
|
+
color: {
|
|
25
|
+
blue: {
|
|
26
|
+
background: string;
|
|
27
|
+
foreground: string;
|
|
28
|
+
};
|
|
29
|
+
sunglow: {
|
|
30
|
+
background: string;
|
|
31
|
+
foreground: string;
|
|
32
|
+
};
|
|
33
|
+
peach: {
|
|
34
|
+
background: string;
|
|
35
|
+
foreground: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
size: {
|
|
40
|
+
xs: string;
|
|
41
|
+
sm: string;
|
|
42
|
+
md: string;
|
|
43
|
+
lg: string;
|
|
44
|
+
xl: string;
|
|
45
|
+
};
|
|
46
|
+
variant: {
|
|
47
|
+
circle: string;
|
|
48
|
+
square: string;
|
|
49
|
+
};
|
|
50
|
+
}>, {
|
|
51
|
+
size: {
|
|
52
|
+
xs: string;
|
|
53
|
+
sm: string;
|
|
54
|
+
md: string;
|
|
55
|
+
lg: string;
|
|
56
|
+
xl: string;
|
|
57
|
+
};
|
|
58
|
+
variant: {
|
|
59
|
+
circle: string;
|
|
60
|
+
square: string;
|
|
61
|
+
};
|
|
62
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
63
|
+
size: {
|
|
64
|
+
xs: string;
|
|
65
|
+
sm: string;
|
|
66
|
+
md: string;
|
|
67
|
+
lg: string;
|
|
68
|
+
xl: string;
|
|
69
|
+
};
|
|
70
|
+
variant: {
|
|
71
|
+
circle: string;
|
|
72
|
+
square: string;
|
|
73
|
+
};
|
|
74
|
+
}, undefined, undefined, import('tailwind-variants/dist/config.js').TVConfig<{
|
|
75
|
+
size: {
|
|
76
|
+
xs: string;
|
|
77
|
+
sm: string;
|
|
78
|
+
md: string;
|
|
79
|
+
lg: string;
|
|
80
|
+
xl: string;
|
|
81
|
+
};
|
|
82
|
+
variant: {
|
|
83
|
+
circle: string;
|
|
84
|
+
square: string;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
size: {
|
|
88
|
+
xs: string;
|
|
89
|
+
sm: string;
|
|
90
|
+
md: string;
|
|
91
|
+
lg: string;
|
|
92
|
+
xl: string;
|
|
93
|
+
};
|
|
94
|
+
variant: {
|
|
95
|
+
circle: string;
|
|
96
|
+
square: string;
|
|
97
|
+
};
|
|
98
|
+
}>, {
|
|
99
|
+
size: {
|
|
100
|
+
xs: string;
|
|
101
|
+
sm: string;
|
|
102
|
+
md: string;
|
|
103
|
+
lg: string;
|
|
104
|
+
xl: string;
|
|
105
|
+
};
|
|
106
|
+
variant: {
|
|
107
|
+
circle: string;
|
|
108
|
+
square: string;
|
|
109
|
+
};
|
|
110
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
111
|
+
size: {
|
|
112
|
+
xs: string;
|
|
113
|
+
sm: string;
|
|
114
|
+
md: string;
|
|
115
|
+
lg: string;
|
|
116
|
+
xl: string;
|
|
117
|
+
};
|
|
118
|
+
variant: {
|
|
119
|
+
circle: string;
|
|
120
|
+
square: string;
|
|
121
|
+
};
|
|
122
|
+
}, undefined, undefined, import('tailwind-variants/dist/config.js').TVConfig<{
|
|
123
|
+
size: {
|
|
124
|
+
xs: string;
|
|
125
|
+
sm: string;
|
|
126
|
+
md: string;
|
|
127
|
+
lg: string;
|
|
128
|
+
xl: string;
|
|
129
|
+
};
|
|
130
|
+
variant: {
|
|
131
|
+
circle: string;
|
|
132
|
+
square: string;
|
|
133
|
+
};
|
|
134
|
+
}, {
|
|
135
|
+
size: {
|
|
136
|
+
xs: string;
|
|
137
|
+
sm: string;
|
|
138
|
+
md: string;
|
|
139
|
+
lg: string;
|
|
140
|
+
xl: string;
|
|
141
|
+
};
|
|
142
|
+
variant: {
|
|
143
|
+
circle: string;
|
|
144
|
+
square: string;
|
|
145
|
+
};
|
|
146
|
+
}>, unknown, unknown, undefined>>>;
|
|
147
|
+
type AvatarFallbackBaseProps = Pick<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>, 'delayMs'>;
|
|
148
|
+
type AvatarFallbackInitialsProps = AvatarFallbackBaseProps & {
|
|
149
|
+
/** The fallback's variant. It can be one of: `initials`, `placeholder` */
|
|
150
|
+
variant: 'initials';
|
|
151
|
+
/** The initials to display as fallback content. Only available when variant is set to `initials` */
|
|
152
|
+
children: string | null | undefined;
|
|
153
|
+
color?: never;
|
|
154
|
+
};
|
|
155
|
+
type AvatarFallbackPlaceholderProps = AvatarFallbackBaseProps & {
|
|
156
|
+
/** The variant of the fallback, should be 'placeholder' */
|
|
157
|
+
variant: 'placeholder';
|
|
158
|
+
/**
|
|
159
|
+
* The color variant for the placeholder. Can be one of: `blue`, `peach`, `sunglow`. Only available when variant is set to `placeholder`
|
|
160
|
+
* @default 'blue'
|
|
161
|
+
*/
|
|
162
|
+
color?: VariantProps<typeof avatarPlaceholder>['color'];
|
|
163
|
+
children?: never;
|
|
164
|
+
};
|
|
165
|
+
type AvatarFallbackProps = AvatarFallbackInitialsProps | AvatarFallbackPlaceholderProps;
|
|
166
|
+
/**
|
|
167
|
+
* The AvatarFallback component displays a fallback content for an `Avatar` component when no image is provided or failed to load.
|
|
168
|
+
*/
|
|
169
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
|
|
170
|
+
export { AvatarFallback };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),l=require("react"),m=require("@radix-ui/react-avatar"),v=require("tailwind-merge"),f=require("tailwind-variants"),g=require("../Avatar.context.cjs"),p=require("../Avatar.variants.cjs");function n(e){if(e&&typeof e=="object"&&"default"in e)return e;const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const d=n(l),s=n(m),y=f.tv({extend:p.avatarBase,base:"uy-aspect-square uy-w-full uy-h-full uy-object-cover uy-bg-surface-neutral-lowest"}),i=d.forwardRef(({className:e,...a},t)=>{const{variant:r,size:c}=g.useAvatarContext(),o=v.twMerge(y({variant:r,size:c}),e);return u.jsx(s.Image,{ref:t,className:o,...a})});i.displayName=s.Image.displayName;exports.AvatarImage=i;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AvatarImageProps as RadixAvatarImageProps } from '@radix-ui/react-avatar';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type AvatarImageProps = Omit<RadixAvatarImageProps, 'style' | 'width' | 'height' | 'slot' | 'asChild'>;
|
|
4
|
+
/**
|
|
5
|
+
* The AvatarImage component displays an image for the avatar.
|
|
6
|
+
*/
|
|
7
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
8
|
+
export { AvatarImage };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),y=require("react"),m=require("@radix-ui/react-avatar"),p=require("tailwind-variants"),o=require("../Avatar.context.cjs"),b=require("../Avatar.variants.cjs");function c(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const P=c(y),g=c(m),x=p.tv({extend:b.avatarBase,base:"uy-absolute uy-overflow-hidden uy-leading-[0] uy-border uy-border-solid uy-border-content-inverted -uy-bottom-[var(--pair-offset)] -uy-right-[var(--pair-offset)] uy-transition-transform uy-origin-center",variants:{size:{xs:"uy-size-200",sm:"uy-size-300"},isHidden:{true:"uy-scale-0",false:"uy-scale-100"}},defaultVariants:{size:"sm",variant:"circle",isHidden:!1}}),u=P.forwardRef(({variant:e,isHidden:t,children:r,...a},l)=>{const{size:d}=o.useAvatarContext(),i=d==="xl",s=i?"sm":"xs",f=i?0:4,v=x({variant:e,size:s,isHidden:t});return n.jsx(o.AvatarProvider,{variant:e,size:s,hasPair:!0,children:n.jsx(g.Root,{ref:l,role:"img",className:v,"aria-hidden":t,style:{"--pair-offset":`${f}px`},...a,children:r})})});u.displayName="AvatarPair";exports.AvatarPair=u;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { avatarBase } from '../Avatar.variants.cjs';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export type AvatarPairProps = PropsWithChildren<{
|
|
6
|
+
/** Variant of the avatar pair. they match the variants of the Avatar component */
|
|
7
|
+
variant: NonNullable<VariantProps<typeof avatarBase>['variant']>;
|
|
8
|
+
/**
|
|
9
|
+
* Set to true to visually hide the avatar pair
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
isHidden?: boolean;
|
|
13
|
+
/** Accessible label for the avatar */
|
|
14
|
+
'aria-label'?: string;
|
|
15
|
+
/** ID of the element that labels the avatar */
|
|
16
|
+
'aria-labelledby'?: string;
|
|
17
|
+
/** ID of the element that describes the avatar */
|
|
18
|
+
'aria-describedby'?: string;
|
|
19
|
+
/** Additional details for the avatar */
|
|
20
|
+
'aria-details'?: string;
|
|
21
|
+
/** Indicates if the avatar is hidden from assistive technologies */
|
|
22
|
+
'aria-hidden'?: boolean;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* The `AvatarPair` component displays a paired, smaller avatar in the bottom-right corner of the containing avatar.
|
|
26
|
+
*/
|
|
27
|
+
declare const AvatarPair: React.ForwardRefExoticComponent<{
|
|
28
|
+
/** Variant of the avatar pair. they match the variants of the Avatar component */
|
|
29
|
+
variant: NonNullable<VariantProps<typeof avatarBase>["variant"]>;
|
|
30
|
+
/**
|
|
31
|
+
* Set to true to visually hide the avatar pair
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
isHidden?: boolean;
|
|
35
|
+
/** Accessible label for the avatar */
|
|
36
|
+
'aria-label'?: string;
|
|
37
|
+
/** ID of the element that labels the avatar */
|
|
38
|
+
'aria-labelledby'?: string;
|
|
39
|
+
/** ID of the element that describes the avatar */
|
|
40
|
+
'aria-describedby'?: string;
|
|
41
|
+
/** Additional details for the avatar */
|
|
42
|
+
'aria-details'?: string;
|
|
43
|
+
/** Indicates if the avatar is hidden from assistive technologies */
|
|
44
|
+
'aria-hidden'?: boolean;
|
|
45
|
+
} & {
|
|
46
|
+
children?: React.ReactNode | undefined;
|
|
47
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
48
|
+
export { AvatarPair };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=t=>t?t.length<=2?t:t.replace(/[^a-z0-9 ]+/gi,"").split(" ").map(e=>e.charAt(0).toUpperCase()).filter((e,r,n)=>r===0||n.length>0&&r===n.length-1).join(""):"";exports.getInitials=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getInitials: (value: string | null | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),i=require("react"),d=require("@radix-ui/react-slot"),g=require("tailwind-merge"),b=require("tailwind-variants"),w=b.tv({base:"uy-inline-block uy-rounded-75 uy-px-75 uy-py-25 uy-font-sans uy-typography-body uy-whitespace-nowrap uy-text-center",variants:{variant:{success:"uy-bg-surface-success-low uy-text-content-neutral",warning:"uy-bg-surface-warning-low uy-text-content-neutral",danger:"uy-bg-surface-danger-low uy-text-content-neutral",neutral:"uy-bg-surface-neutral-lowest uy-text-content-neutral",promo:"uy-bg-surface-promo-low uy-text-content-neutral",attention:"uy-bg-surface-danger uy-text-content-inverted",numeric:"uy-bg-surface-primary-low uy-text-blue-L10",contextual:"uy-bg-surface-neutral uy-border uy-border-solid uy-border-border-neutral uy-text-content-neutral"}},defaultVariants:{variant:"neutral"}},{twMerge:!1}),f={success:"status",warning:"alert",danger:"alert",neutral:"status",promo:"status",attention:"alert",contextual:"status",numeric:"status"},t=i.forwardRef(({className:a,variant:e="neutral",role:r,asChild:n=!1,children:u,...s},o)=>{const l=r??f[e]??"status",c=n?d.Slot:"span";return y.jsx(c,{"data-dd-privacy":"allow",ref:o,className:g.twMerge(w({variant:e}),a),role:l,...s,children:u})});t.displayName="Badge";exports.Badge=t;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { AriaRole, PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const badge: import('tailwind-variants').TVReturnType<{
|
|
4
|
+
variant: {
|
|
5
|
+
success: string;
|
|
6
|
+
warning: string;
|
|
7
|
+
danger: string;
|
|
8
|
+
neutral: string;
|
|
9
|
+
promo: string;
|
|
10
|
+
attention: string;
|
|
11
|
+
numeric: string;
|
|
12
|
+
contextual: string;
|
|
13
|
+
};
|
|
14
|
+
}, undefined, "uy-inline-block uy-rounded-75 uy-px-75 uy-py-25 uy-font-sans uy-typography-body uy-whitespace-nowrap uy-text-center", {
|
|
15
|
+
twMerge: false;
|
|
16
|
+
}, {
|
|
17
|
+
variant: {
|
|
18
|
+
success: string;
|
|
19
|
+
warning: string;
|
|
20
|
+
danger: string;
|
|
21
|
+
neutral: string;
|
|
22
|
+
promo: string;
|
|
23
|
+
attention: string;
|
|
24
|
+
numeric: string;
|
|
25
|
+
contextual: string;
|
|
26
|
+
};
|
|
27
|
+
}, undefined, import('tailwind-variants').TVReturnType<{
|
|
28
|
+
variant: {
|
|
29
|
+
success: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
danger: string;
|
|
32
|
+
neutral: string;
|
|
33
|
+
promo: string;
|
|
34
|
+
attention: string;
|
|
35
|
+
numeric: string;
|
|
36
|
+
contextual: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, "uy-inline-block uy-rounded-75 uy-px-75 uy-py-25 uy-font-sans uy-typography-body uy-whitespace-nowrap uy-text-center", {
|
|
39
|
+
twMerge: false;
|
|
40
|
+
}, unknown, unknown, undefined>>;
|
|
41
|
+
export type BadgeProps = PropsWithChildren<{
|
|
42
|
+
/**
|
|
43
|
+
* To add classes to the badge
|
|
44
|
+
*/
|
|
45
|
+
className?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Defines the visual style of the badge
|
|
48
|
+
* @default 'neutral'
|
|
49
|
+
*/
|
|
50
|
+
variant?: VariantProps<typeof badge>['variant'];
|
|
51
|
+
/**
|
|
52
|
+
* Explicit ARIA role for the badge. If not provided, will be determined by variant
|
|
53
|
+
*/
|
|
54
|
+
role?: Extract<AriaRole, 'status' | 'alert'>;
|
|
55
|
+
/**
|
|
56
|
+
* Changes the root element to a different HTML element. The default element is a `<span>`.
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
asChild?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Accessible label for the badge
|
|
62
|
+
*/
|
|
63
|
+
'aria-label'?: string;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* The Badge component is a visual label or indicator used to convey status or highlight content.
|
|
67
|
+
*/
|
|
68
|
+
declare const Badge: import('react').ForwardRefExoticComponent<{
|
|
69
|
+
/**
|
|
70
|
+
* To add classes to the badge
|
|
71
|
+
*/
|
|
72
|
+
className?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Defines the visual style of the badge
|
|
75
|
+
* @default 'neutral'
|
|
76
|
+
*/
|
|
77
|
+
variant?: VariantProps<typeof badge>["variant"];
|
|
78
|
+
/**
|
|
79
|
+
* Explicit ARIA role for the badge. If not provided, will be determined by variant
|
|
80
|
+
*/
|
|
81
|
+
role?: Extract<AriaRole, "status" | "alert">;
|
|
82
|
+
/**
|
|
83
|
+
* Changes the root element to a different HTML element. The default element is a `<span>`.
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
asChild?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Accessible label for the badge
|
|
89
|
+
*/
|
|
90
|
+
'aria-label'?: string;
|
|
91
|
+
} & {
|
|
92
|
+
children?: import('react').ReactNode | undefined;
|
|
93
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
94
|
+
export { Badge };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),t=require("react-aria-components"),x=require("tailwind-variants"),g=require("./parts/BottomSheetDragIndicator.cjs"),a=x.tv({slots:{overlay:["uy-fixed uy-inset-0 uy-z-10 uy-overflow-y-auto","uy-backdrop-blur-sm uy-bg-utility-backdrop/65","data-[entering]:uy-animate-fade-in data-[exiting]:uy-animate-fade-out"],wrapper:["uy-w-full md:uy-max-w-[50svw]","uy-fixed uy-bottom-0 uy-left-0 uy-right-0 md:uy-left-0 md:uy-right-0 md:uy-mx-auto uy-z-[100]","uy-bg-surface-neutral uy-rounded-t-200","uy-shadow-flying","uy-flex uy-flex-col uy-max-h-[95svh]","uy-overflow-hidden","data-[entering]:uy-animate-slide-up-fade-in data-[exiting]:uy-animate-slide-down-fade-out"],content:["uy-flex uy-flex-col uy-h-full uy-min-h-[40svh] uy-overflow-hidden uy-outline-none"]}}),o=h.forwardRef(({children:u,isOpen:r,onOpenChange:n,defaultOpen:i,isDismissable:y=!0,isKeyboardDismissDisabled:l=!1,...d},s)=>{const{overlay:m,wrapper:c,content:f}=a();return e.jsx(t.ModalOverlay,{className:m(),isOpen:r,onOpenChange:n,defaultOpen:i,isDismissable:y,isKeyboardDismissDisabled:l,children:e.jsxs(t.Modal,{"data-dd-privacy":"allow",...d,ref:s,className:c(),"data-unity-bottom-sheet":!0,children:[e.jsx(g.BottomSheetDragIndicator,{}),e.jsx(t.Dialog,{className:f(),children:u})]})})});o.displayName="BottomSheet";exports.BottomSheet=o;exports.bottomSheet=a;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
export declare const bottomSheet: 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.js').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.js').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 BottomSheetProps extends PropsWithChildren<VariantProps<typeof bottomSheet>> {
|
|
57
|
+
/**
|
|
58
|
+
* Controls whether the sheet 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 sheet.
|
|
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 sheet 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 BottomSheet component provides a mobile-optimized interface for displaying content
|
|
86
|
+
* that slides up from the bottom of the screen. It's ideal for secondary tasks and supplementary
|
|
87
|
+
* information without leaving the current context.
|
|
88
|
+
*
|
|
89
|
+
* This component is specifically designed as a bottom-anchored variant, unlike the SidePanel
|
|
90
|
+
* which adapts to different viewports.
|
|
91
|
+
*
|
|
92
|
+
* Control the sheet 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 {BottomSheetProps} props - The props for the BottomSheet component
|
|
96
|
+
* @see {@link BottomSheetProps} for all available props
|
|
97
|
+
* @example
|
|
98
|
+
* ```tsx
|
|
99
|
+
* import {
|
|
100
|
+
* BottomSheet,
|
|
101
|
+
* BottomSheetHeader,
|
|
102
|
+
* BottomSheetContent,
|
|
103
|
+
* BottomSheetFooter,
|
|
104
|
+
* Button,
|
|
105
|
+
* DialogTrigger
|
|
106
|
+
* } from '@payfit/unity-components'
|
|
107
|
+
*
|
|
108
|
+
* // Uncontrolled example
|
|
109
|
+
* function BasicExample() {
|
|
110
|
+
* return (
|
|
111
|
+
* <DialogTrigger>
|
|
112
|
+
* <Button>Open bottom sheet</Button>
|
|
113
|
+
* <BottomSheet>
|
|
114
|
+
* <BottomSheetHeader>Sheet title</BottomSheetHeader>
|
|
115
|
+
* <BottomSheetContent>Your content here</BottomSheetContent>
|
|
116
|
+
* <BottomSheetFooter>
|
|
117
|
+
* <Button variant="secondary">Cancel</Button>
|
|
118
|
+
* <Button variant="primary">Save</Button>
|
|
119
|
+
* </BottomSheetFooter>
|
|
120
|
+
* </BottomSheet>
|
|
121
|
+
* </DialogTrigger>
|
|
122
|
+
* )
|
|
123
|
+
* }
|
|
124
|
+
*
|
|
125
|
+
* // Controlled example
|
|
126
|
+
* function ControlledExample() {
|
|
127
|
+
* const [isOpen, setIsOpen] = useState(false)
|
|
128
|
+
*
|
|
129
|
+
* return (
|
|
130
|
+
* <>
|
|
131
|
+
* <Button onPress={() => setIsOpen(true)}>Open bottom sheet</Button>
|
|
132
|
+
*
|
|
133
|
+
* <BottomSheet isOpen={isOpen} onOpenChange={setIsOpen}>
|
|
134
|
+
* <BottomSheetHeader>Sheet title</BottomSheetHeader>
|
|
135
|
+
* <BottomSheetContent>Your content here</BottomSheetContent>
|
|
136
|
+
* <BottomSheetFooter>
|
|
137
|
+
* <Button
|
|
138
|
+
* variant="primary"
|
|
139
|
+
* onPress={() => setIsOpen(false)}
|
|
140
|
+
* >
|
|
141
|
+
* Close
|
|
142
|
+
* </Button>
|
|
143
|
+
* </BottomSheetFooter>
|
|
144
|
+
* </BottomSheet>
|
|
145
|
+
* </>
|
|
146
|
+
* )
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
* @remarks
|
|
150
|
+
* [API Docs](https://unity-components.payfit.io/?path=/docs/feedback-bottomsheet--docs)
|
|
151
|
+
*/
|
|
152
|
+
declare const BottomSheet: import('react').ForwardRefExoticComponent<BottomSheetProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
153
|
+
export { BottomSheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),y=require("react"),a=require("tailwind-variants"),t=a.tv({slots:{base:["uy-bg-surface-neutral uy-typography-body uy-text-content-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"]}}),o=y.forwardRef(({children:n,...u},l)=>{const{base:r,scroller:s}=t();return e.jsx("section",{ref:l,className:r(),...u,children:e.jsx("div",{className:s(),children:n})})});o.displayName="BottomSheetContent";exports.BottomSheetContent=o;exports.bottomSheetContent=t;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
export declare const bottomSheetContent: 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.js').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.js').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 BottomSheetContentProps extends PropsWithChildren<VariantProps<typeof bottomSheetContent>> {
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The `BottomSheetContent` component renders the main content area of a bottom sheet.
|
|
53
|
+
* It takes up the majority of the space between the header and footer components
|
|
54
|
+
* The content is scrollable when it exceeds the available space.
|
|
55
|
+
* @component
|
|
56
|
+
* @param {BottomSheetContentProps} props - The props for the `BottomSheetContent` component
|
|
57
|
+
* @example
|
|
58
|
+
* ```tsx
|
|
59
|
+
* import { BottomSheetContent } from '@payfit/unity-components'
|
|
60
|
+
*
|
|
61
|
+
* <BottomSheetContent>
|
|
62
|
+
* Your panel content here
|
|
63
|
+
* </BottomSheetContent>
|
|
64
|
+
* ```
|
|
65
|
+
* @see {@link BottomSheetContentProps} for all available props
|
|
66
|
+
* @remarks
|
|
67
|
+
* [API Docs](https://unity-components.payfit.io/?path=/docs/feedback-bottomsheet--docs)
|
|
68
|
+
*/
|
|
69
|
+
declare const BottomSheetContent: import('react').ForwardRefExoticComponent<BottomSheetContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
70
|
+
export { BottomSheetContent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("react"),D=require("@use-gesture/react"),S=require("react-aria-components"),v=require("tailwind-variants"),q=require("../../../hooks/use-breakpoint-listener.cjs"),c=v.tv({slots:{base:["md:uy-hidden uy-mx-auto uy-py-100 uy-w-500","uy-cursor-grab uy-touch-action-none"],indicator:"uy-h-50 uy-rounded-pill uy-bg-content-neutral-lowest"}}),I=100;function u(){const r=i.useRef(null),n=i.useContext(S.OverlayTriggerStateContext),o=q.useBreakpointListener(),{base:l,indicator:d}=c(),m=o==="xs"||o==="sm",y=D.useDrag(f=>{var s;const{movement:[B,e],direction:[R,g],intentional:h,cancel:b,last:p,event:x}=f;if(!m){b();return}x.preventDefault();const t=(s=r.current)==null?void 0:s.closest("[data-unity-bottom-sheet]");if(t){if(e<0){t.style.transform="translate3d(0, 0, 0)";return}t.style.transform=`translate3d(0, ${e}px, 0)`,t.style.transition="none",p&&h&&(e>I||g>0?n&&setTimeout(()=>{n.close()},50):(t.style.transform="translate3d(0, 0, 0)",t.style.transition="transform 0.3s ease"))}},{axis:"y",filterTaps:!0,threshold:5});return a.jsx("div",{className:l(),"aria-hidden":"true",ref:r,...y(),children:a.jsx("div",{className:d()})})}u.displayName="BottomSheetDragIndicator";exports.BottomSheetDragIndicator=u;exports.bottomSheetDragIndicator=c;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare const bottomSheetDragIndicator: 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.js').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.js').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 BottomSheetDragIndicator(): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export declare namespace BottomSheetDragIndicator {
|
|
53
|
+
var displayName: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),a=require("react"),n=require("tailwind-variants"),e=n.tv({base:["uy-py-150 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-border-t uy-border-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"]}),t=a.forwardRef(({children:o,className:r,...u},s)=>y.jsx("footer",{ref:s,className:e({class:r}),...u,children:o}));t.displayName="BottomSheetFooter";exports.BottomSheetFooter=t;exports.bottomSheetFooter=e;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
export declare const bottomSheetFooter: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], import('tailwind-variants/dist/config.js').TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
4
|
+
export interface BottomSheetFooterProps extends PropsWithChildren<VariantProps<typeof bottomSheetFooter>> {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The `BottomSheetFooter` component renders the footer section of a bottom sheet.
|
|
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 {BottomSheetFooterProps} props - The props for the `BottomSheetFooter` component
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* import { BottomSheetFooter, Button } from '@payfit/unity-components'
|
|
16
|
+
*
|
|
17
|
+
* <BottomSheetFooter>
|
|
18
|
+
* <Button variant="secondary">Cancel</Button>
|
|
19
|
+
* <Button>Save</Button>
|
|
20
|
+
* </BottomSheetFooter>
|
|
21
|
+
* ```
|
|
22
|
+
* @see {@link BottomSheetFooterProps} for all available props
|
|
23
|
+
* @remarks
|
|
24
|
+
* [API Docs](https://unity-components.payfit.io/?path=/docs/navigation-sidepanel--docs) • [Design Docs](https://www.payfit.design/24f360409/p/21bfe4-side-panel)
|
|
25
|
+
*/
|
|
26
|
+
declare const BottomSheetFooter: import('react').ForwardRefExoticComponent<BottomSheetFooterProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export { BottomSheetFooter };
|