@payfit/unity-components 1.2.0 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/action-bar/ActionBar.js +14 -14
- package/dist/esm/components/actionable/Actionable.js +31 -28
- package/dist/esm/components/alert/Alert.js +41 -29
- package/dist/esm/components/alert/parts/AlertTitle.js +8 -8
- package/dist/esm/components/app-layout/AppLayout.d.ts +2 -0
- package/dist/esm/components/app-layout/AppLayout.js +17 -17
- package/dist/esm/components/app-menu/parts/AppMenuFooter.js +23 -23
- package/dist/esm/components/app-menu/parts/AppMenuHeader.d.ts +87 -5
- package/dist/esm/components/app-menu/parts/AppMenuHeader.js +25 -25
- package/dist/esm/components/autocomplete/Autocomplete.d.ts +0 -9
- package/dist/esm/components/autocomplete/Autocomplete.js +54 -57
- package/dist/esm/components/autocomplete/parts/AutocompleteItem.js +8 -8
- package/dist/esm/components/avatar/Avatar.variants.js +1 -1
- package/dist/esm/components/avatar/parts/AvatarFallback.js +26 -27
- package/dist/esm/components/badge/Badge.js +1 -1
- package/dist/esm/components/breadcrumbs/Breadcrumbs.context.js +3 -3
- package/dist/esm/components/breadcrumbs/Breadcrumbs.d.ts +19 -11
- package/dist/esm/components/breadcrumbs/Breadcrumbs.js +29 -18
- package/dist/esm/components/breadcrumbs/Breadcrumbs.variant.js +1 -1
- package/dist/esm/components/breadcrumbs/parts/Breadcrumb.d.ts +30 -5
- package/dist/esm/components/breadcrumbs/parts/Breadcrumb.js +35 -27
- package/dist/esm/components/breadcrumbs/parts/RawBreadcrumbLink.d.ts +37 -0
- package/dist/esm/components/breadcrumbs/parts/RawBreadcrumbLink.js +36 -0
- package/dist/esm/components/button/Button.js +6 -6
- package/dist/esm/components/button/Button.variants.d.ts +1 -0
- package/dist/esm/components/button/Button.variants.js +22 -15
- package/dist/esm/components/card/Card.context.d.ts +5 -0
- package/dist/esm/components/card/Card.context.js +14 -0
- package/dist/esm/components/card/Card.d.ts +210 -0
- package/dist/esm/components/card/Card.js +93 -0
- package/dist/esm/components/card/parts/CardContent.d.ts +37 -0
- package/dist/esm/components/card/parts/CardContent.js +8 -0
- package/dist/esm/components/card/parts/CardTitle.d.ts +55 -0
- package/dist/esm/components/card/parts/CardTitle.js +33 -0
- package/dist/esm/components/checkbox/Checkbox.js +38 -30
- package/dist/esm/components/checkbox/Checkbox.variants.d.ts +9 -9
- package/dist/esm/components/checkbox/Checkbox.variants.js +23 -7
- package/dist/esm/components/checkbox/TanstackCheckbox.d.ts +28 -0
- package/dist/esm/components/checkbox/TanstackCheckbox.js +51 -0
- package/dist/esm/components/checkbox/parts/CheckboxIndicator.js +7 -7
- package/dist/esm/components/checkbox-field/CheckboxField.d.ts +2 -0
- package/dist/esm/components/checkbox-field/TanstackCheckboxField.d.ts +14 -0
- package/dist/esm/components/checkbox-field/TanstackCheckboxField.js +40 -0
- package/dist/esm/components/checkbox-group/TanstackCheckboxGroup.d.ts +4 -0
- package/dist/esm/components/checkbox-group/TanstackCheckboxGroup.js +37 -0
- package/dist/esm/components/checkbox-group-field/CheckboxGroupField.d.ts +2 -0
- package/dist/esm/components/checkbox-group-field/TanstackCheckGroupField.d.ts +72 -0
- package/dist/esm/components/checkbox-group-field/TanstackCheckGroupField.js +40 -0
- package/dist/esm/components/client-side-pagination/ClientSidePagination.d.ts +103 -0
- package/dist/esm/components/client-side-pagination/ClientSidePagination.js +177 -0
- package/dist/esm/components/client-side-pagination/parts/PaginationEllipsis.d.ts +11 -0
- package/dist/esm/components/client-side-pagination/parts/PaginationEllipsis.js +30 -0
- package/dist/esm/components/client-side-pagination/parts/PaginationJumpDialog.d.ts +8 -0
- package/dist/esm/components/{pagination → client-side-pagination}/parts/PaginationNavButton.js +1 -1
- package/dist/esm/components/{pagination/parts/PaginationLink.d.ts → client-side-pagination/parts/RawPaginationLink.d.ts} +2 -2
- package/dist/esm/components/{pagination/parts/PaginationLink.js → client-side-pagination/parts/RawPaginationLink.js} +12 -12
- package/dist/esm/components/client-side-pagination/utils/pagination-window.d.ts +8 -0
- package/dist/esm/components/client-side-pagination/utils/pagination-window.js +33 -0
- package/dist/esm/components/collapsible/parts/CollapsibleContent.js +5 -5
- package/dist/esm/components/collapsible/parts/CollapsibleTitle.js +8 -8
- package/dist/esm/components/data-table/DataTable.d.ts +109 -16
- package/dist/esm/components/data-table/DataTable.js +107 -93
- package/dist/esm/components/data-table/mocks/employee-data.d.ts +1 -0
- package/dist/esm/components/date-calendar/DateCalendar.js +1 -1
- package/dist/esm/components/date-calendar/parts/DateSegmentSelect.js +1 -1
- package/dist/esm/components/date-picker/DatePicker.d.ts +1 -1
- package/dist/esm/components/date-picker/DatePicker.js +59 -50
- package/dist/esm/components/date-picker/TanstackDatePicker.d.ts +22 -0
- package/dist/esm/components/date-picker/TanstackDatePicker.js +53 -0
- package/dist/esm/components/date-picker/parts/DateInput.js +4 -4
- package/dist/esm/components/date-picker-field/DatePickerField.d.ts +2 -0
- package/dist/esm/components/date-picker-field/TanstackDatePickerField.d.ts +71 -0
- package/dist/esm/components/date-picker-field/TanstackDatePickerField.js +41 -0
- package/dist/esm/components/definition-list/DefinitionList.context.d.ts +19 -0
- package/dist/esm/components/definition-list/DefinitionList.d.ts +24 -0
- package/dist/esm/components/definition-list/parts/DefinitionItem.d.ts +25 -0
- package/dist/esm/components/dialog/Dialog.d.ts +34 -22
- package/dist/esm/components/dialog/Dialog.js +90 -52
- package/dist/esm/components/dialog/parts/DialogActions.js +6 -6
- package/dist/esm/components/dialog/parts/DialogTitle.js +7 -4
- package/dist/esm/components/dialog/test-utils.d.ts +28 -0
- package/dist/esm/components/dialog/test-utils.js +78 -0
- package/dist/esm/components/error-state/ErrorState.d.ts +13 -1
- package/dist/esm/components/error-state/ErrorState.js +133 -92
- package/dist/esm/components/error-state/initConfig.js +1 -1
- package/dist/esm/components/fieldset/Fieldset.d.ts +19 -0
- package/dist/esm/components/fieldset/Fieldset.js +32 -26
- package/dist/esm/components/filter/Filter.controls.d.ts +192 -0
- package/dist/esm/components/filter/Filter.controls.js +45 -0
- package/dist/esm/components/filter/Filter.d.ts +189 -0
- package/dist/esm/components/filter/Filter.js +147 -0
- package/dist/esm/components/filter/Filter.types.d.ts +121 -0
- package/dist/esm/components/filter/hooks/useFilterIds.d.ts +49 -0
- package/dist/esm/components/filter/hooks/useFilterIds.js +13 -0
- package/dist/esm/components/filter/hooks/useFilterState.d.ts +74 -0
- package/dist/esm/components/filter/hooks/useFilterState.js +23 -0
- package/dist/esm/components/filter/hooks/useFilterValue.d.ts +61 -0
- package/dist/esm/components/filter/hooks/useFilterValue.js +31 -0
- package/dist/esm/components/filter/parts/FilterButton.d.ts +75 -0
- package/dist/esm/components/filter/parts/FilterButton.js +55 -0
- package/dist/esm/components/filter/parts/FilterLabel.d.ts +96 -0
- package/dist/esm/components/filter/parts/FilterLabel.js +57 -0
- package/dist/esm/components/filter/parts/FilterPopover.d.ts +95 -0
- package/dist/esm/components/filter/parts/FilterPopover.js +79 -0
- package/dist/esm/components/filter/utils/value-formatters.d.ts +62 -0
- package/dist/esm/components/filter/utils/value-formatters.js +14 -0
- package/dist/esm/components/filter-toolbar/FilterToolbar.d.ts +110 -0
- package/dist/esm/components/filter-toolbar/FilterToolbar.js +172 -0
- package/dist/esm/components/filter-toolbar/FilterToolbar.types.d.ts +119 -0
- package/dist/esm/components/filter-toolbar/hooks/use-filter-toolbar-state.d.ts +96 -0
- package/dist/esm/components/filter-toolbar/hooks/use-filter-toolbar-state.js +132 -0
- package/dist/esm/components/filter-toolbar/parts/AddFilter.d.ts +63 -0
- package/dist/esm/components/filter-toolbar/parts/AddFilter.js +107 -0
- package/dist/esm/components/filter-toolbar/parts/AddFilterItem.d.ts +18 -0
- package/dist/esm/components/filter-toolbar/parts/AddFilterItem.js +18 -0
- package/dist/esm/components/filter-toolbar/utils/filter-adapters.d.ts +93 -0
- package/dist/esm/components/filter-toolbar/utils/filter-adapters.js +88 -0
- package/dist/esm/components/filter-toolbar/utils/normalize-filter-value.d.ts +24 -0
- package/dist/esm/components/filter-toolbar/utils/normalize-filter-value.js +19 -0
- package/dist/esm/components/flex/Flex.js +52 -37
- package/dist/esm/components/form/Form.d.ts +2 -0
- package/dist/esm/components/form/TanstackForm.d.ts +24 -0
- package/dist/esm/components/form/TanstackForm.js +29 -0
- package/dist/esm/components/form-field/FormField.d.ts +2 -0
- package/dist/esm/components/form-field/FormField.js +12 -12
- package/dist/esm/components/form-field/TanstackFormField.context.d.ts +10 -0
- package/dist/esm/components/form-field/TanstackFormField.context.js +14 -0
- package/dist/esm/components/form-field/TanstackFormField.d.ts +49 -0
- package/dist/esm/components/form-field/TanstackFormField.js +46 -0
- package/dist/esm/components/form-field/parts/FormControl.d.ts +2 -0
- package/dist/esm/components/form-field/parts/FormFeedbackText.d.ts +2 -0
- package/dist/esm/components/form-field/parts/FormHelperText.d.ts +2 -0
- package/dist/esm/components/form-field/parts/FormLabel.d.ts +2 -0
- package/dist/esm/components/form-field/parts/RawFormContextualLink.d.ts +22 -0
- package/dist/esm/components/form-field/parts/RawFormContextualLink.js +39 -0
- package/dist/esm/components/form-field/parts/TanstackFormFeedbackText.d.ts +12 -0
- package/dist/esm/components/form-field/parts/TanstackFormFeedbackText.js +32 -0
- package/dist/esm/components/form-field/parts/TanstackFormHelperText.d.ts +11 -0
- package/dist/esm/components/form-field/parts/TanstackFormHelperText.js +25 -0
- package/dist/esm/components/form-field/parts/TanstackFormLabel.d.ts +8 -0
- package/dist/esm/components/form-field/parts/TanstackFormLabel.js +26 -0
- package/dist/esm/components/form-field/parts/TanstackRawFormContextualLink.d.ts +26 -0
- package/dist/esm/components/form-field/parts/TanstackRawFormContextualLink.js +45 -0
- package/dist/esm/components/funnel-layout/parts/FunnelSidebar.d.ts +2 -2
- package/dist/esm/components/icon/Icon.js +23 -19
- package/dist/esm/components/icon-button/CircularIconButton.d.ts +9 -9
- package/dist/esm/components/icon-button/CircularIconButton.js +53 -36
- package/dist/esm/components/icon-button/IconButton.variants.d.ts +1 -0
- package/dist/esm/components/icon-button/IconButton.variants.js +44 -28
- package/dist/esm/components/input/Input.js +36 -35
- package/dist/esm/components/input/TanstackInput.d.ts +22 -0
- package/dist/esm/components/input/TanstackInput.js +38 -0
- package/dist/esm/components/label/Label.js +12 -12
- package/dist/esm/components/link/{Link.variants.d.ts → RawLink.d.ts} +92 -0
- package/dist/esm/components/link/{Link.variants.js → RawLink.js} +78 -5
- package/dist/esm/components/list-view/ListView.d.ts +56 -0
- package/dist/esm/components/list-view/ListView.fixtures.d.ts +20 -0
- package/dist/esm/components/list-view/ListView.js +44 -0
- package/dist/esm/components/list-view/parts/ListViewItemLabel.d.ts +34 -0
- package/dist/esm/components/list-view/parts/ListViewItemLabel.js +22 -0
- package/dist/esm/components/list-view/parts/ListViewItemText.d.ts +33 -0
- package/dist/esm/components/list-view/parts/ListViewItemText.js +22 -0
- package/dist/esm/components/list-view/parts/ListViewSection.d.ts +14 -0
- package/dist/esm/components/list-view/parts/ListViewSection.js +21 -0
- package/dist/esm/components/list-view/parts/RawListViewItem.d.ts +102 -0
- package/dist/esm/components/list-view/parts/RawListViewItem.js +80 -0
- package/dist/esm/components/menu/parts/{MenuItem.d.ts → RawMenuItem.d.ts} +3 -4
- package/dist/esm/components/menu/parts/{MenuItem.js → RawMenuItem.js} +9 -9
- package/dist/esm/components/multi-select/MultiSelect.d.ts +5 -7
- package/dist/esm/components/multi-select/MultiSelect.js +199 -176
- package/dist/esm/components/multi-select/MultiselectTypes.d.ts +114 -0
- package/dist/esm/components/multi-select/TanstackMultiSelect.d.ts +7 -0
- package/dist/esm/components/multi-select/TanstackMultiSelect.js +41 -0
- package/dist/esm/components/multi-select/parts/MultiSelectButton.d.ts +2 -0
- package/dist/esm/components/multi-select/parts/MultiSelectButton.js +62 -46
- package/dist/esm/components/multi-select/parts/MultiSelectPopover.js +15 -15
- package/dist/esm/components/multi-select-field/MultiSelectField.d.ts +45 -12
- package/dist/esm/components/multi-select-field/MultiSelectField.js +56 -66
- package/dist/esm/components/multi-select-field/TanstackMultiSelectField.d.ts +92 -0
- package/dist/esm/components/multi-select-field/TanstackMultiSelectField.js +48 -0
- package/dist/esm/components/multi-select-field/test-utils.d.ts +17 -0
- package/dist/esm/components/multi-select-field/test-utils.js +45 -0
- package/dist/esm/components/nav/parts/NavGroup.d.ts +3 -3
- package/dist/esm/components/nav/parts/NavGroup.js +62 -51
- package/dist/esm/components/nav/parts/{NavItem.d.ts → RawNavItem.d.ts} +102 -5
- package/dist/esm/components/nav/parts/RawNavItem.js +106 -0
- package/dist/esm/components/navigation-card/NavigationCard.context.d.ts +31 -0
- package/dist/esm/components/navigation-card/NavigationCard.context.js +13 -0
- package/dist/esm/components/navigation-card/NavigationCard.d.ts +46 -0
- package/dist/esm/components/navigation-card/NavigationCard.js +62 -0
- package/dist/esm/components/navigation-card/NavigationCard.types.d.ts +37 -0
- package/dist/esm/components/navigation-card/NavigationCard.variants.d.ts +1147 -0
- package/dist/esm/components/navigation-card/NavigationCard.variants.js +164 -0
- package/dist/esm/components/navigation-card/parts/NavigationCardDescription.d.ts +39 -0
- package/dist/esm/components/navigation-card/parts/NavigationCardDescription.js +22 -0
- package/dist/esm/components/navigation-card/parts/NavigationCardGroup.d.ts +146 -0
- package/dist/esm/components/navigation-card/parts/NavigationCardGroup.js +93 -0
- package/dist/esm/components/navigation-card/parts/NavigationCardLabel.d.ts +32 -0
- package/dist/esm/components/navigation-card/parts/NavigationCardLabel.js +24 -0
- package/dist/esm/components/number-field/NumberField.d.ts +2 -0
- package/dist/esm/components/number-field/TanstackNumberField.d.ts +74 -0
- package/dist/esm/components/number-field/TanstackNumberField.js +44 -0
- package/dist/esm/components/number-input/NumberInput.js +31 -29
- package/dist/esm/components/number-input/TanstackNumberInput.d.ts +58 -0
- package/dist/esm/components/number-input/TanstackNumberInput.js +38 -0
- package/dist/esm/components/page/Page.js +13 -12
- package/dist/esm/components/page/parts/PageHeader.d.ts +79 -9
- package/dist/esm/components/page/parts/PageHeader.js +22 -20
- package/dist/esm/components/pagination/Pagination.d.ts +23 -44
- package/dist/esm/components/pagination/Pagination.js +89 -163
- package/dist/esm/components/pagination/PaginationContext.d.ts +11 -0
- package/dist/esm/components/pagination/PaginationContext.js +15 -0
- package/dist/esm/components/pagination/hooks/use-pagination-state.d.ts +63 -0
- package/dist/esm/components/pagination/hooks/use-pagination-state.js +27 -0
- package/dist/esm/components/pagination/hooks/use-pagination-window.d.ts +64 -0
- package/dist/esm/components/pagination/hooks/use-pagination-window.js +15 -0
- package/dist/esm/components/pagination/parts/PaginationContent.d.ts +30 -0
- package/dist/esm/components/pagination/parts/PaginationContent.js +37 -0
- package/dist/esm/components/pagination/parts/PaginationEllipsis.d.ts +23 -4
- package/dist/esm/components/pagination/parts/PaginationEllipsis.js +20 -16
- package/dist/esm/components/pagination/parts/PaginationItem.d.ts +38 -0
- package/dist/esm/components/pagination/parts/PaginationItem.js +22 -0
- package/dist/esm/components/pagination/parts/RawPaginationLink.d.ts +11 -0
- package/dist/esm/components/pagination/parts/RawPaginationLink.js +60 -0
- package/dist/esm/components/pagination/parts/RawPaginationNext.d.ts +22 -0
- package/dist/esm/components/pagination/parts/RawPaginationNext.js +70 -0
- package/dist/esm/components/pagination/parts/RawPaginationPrevious.d.ts +22 -0
- package/dist/esm/components/pagination/parts/RawPaginationPrevious.js +67 -0
- package/dist/esm/components/pagination/utils/pagination-window.js +29 -20
- package/dist/esm/components/payfit-brand/PayFitBrand.d.ts +4 -0
- package/dist/esm/components/payfit-brand/PayFitBrand.js +30 -22
- package/dist/esm/components/payfit-brand/PayFitPreprod.js +25 -25
- package/dist/esm/components/phone-number/PhoneNumberInput.d.ts +67 -0
- package/dist/esm/components/phone-number/PhoneNumberInput.js +322 -0
- package/dist/esm/components/phone-number/TanstackPhoneNumberInput.d.ts +64 -0
- package/dist/esm/components/phone-number/TanstackPhoneNumberInput.js +33 -0
- package/dist/esm/components/phone-number/parts/PhoneNumberItem.d.ts +42 -0
- package/dist/esm/components/phone-number/parts/PhoneNumberItem.js +68 -0
- package/dist/esm/components/phone-number/unknownFlag.svg.js +4 -0
- package/dist/esm/components/phone-number-field/TanstackPhoneNumberField.d.ts +15 -0
- package/dist/esm/components/phone-number-field/TanstackPhoneNumberField.js +32 -0
- package/dist/esm/components/pill/Pill.d.ts +2 -2
- package/dist/esm/components/pill/Pill.js +8 -8
- package/dist/esm/components/popover/Popover.js +6 -6
- package/dist/esm/components/promo-dialog/PromoDialog.d.ts +149 -0
- package/dist/esm/components/promo-dialog/PromoDialog.js +219 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogActions.d.ts +44 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogActions.js +29 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogContent.d.ts +43 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogContent.js +20 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogHero.d.ts +47 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogHero.js +25 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogSubtitle.d.ts +53 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogSubtitle.js +21 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogTitle.d.ts +6 -0
- package/dist/esm/components/promo-dialog/parts/PromoDialogTitle.js +18 -0
- package/dist/esm/components/radio-button-group/TanstackRadioButtonGroup.d.ts +13 -0
- package/dist/esm/components/radio-button-group/TanstackRadioButtonGroup.js +43 -0
- package/dist/esm/components/radio-button-group/parts/RadioButton.d.ts +29 -11
- package/dist/esm/components/radio-button-group/parts/RadioButton.js +53 -51
- package/dist/esm/components/radio-button-group-field/RadioButtonGroupField.d.ts +2 -0
- package/dist/esm/components/radio-button-group-field/TanstackRadioButtonGroupField.d.ts +13 -0
- package/dist/esm/components/radio-button-group-field/TanstackRadioButtonGroupField.js +38 -0
- package/dist/esm/components/search/Search.js +46 -46
- package/dist/esm/components/segmented-button-group/parts/ToggleButton.js +5 -5
- package/dist/esm/components/select/Select.d.ts +5 -4
- package/dist/esm/components/select/Select.js +79 -53
- package/dist/esm/components/select/TanstackSelect.d.ts +80 -0
- package/dist/esm/components/select/TanstackSelect.js +34 -0
- package/dist/esm/components/select/parts/SearchInput.d.ts +4 -1
- package/dist/esm/components/select/parts/SearchInput.js +49 -31
- package/dist/esm/components/select/parts/SelectButton.js +19 -17
- package/dist/esm/components/select/parts/SelectOption.js +9 -9
- package/dist/esm/components/select-field/SelectField.d.ts +2 -0
- package/dist/esm/components/select-field/SelectField.js +8 -9
- package/dist/esm/components/select-field/TanstackSelectField.d.ts +124 -0
- package/dist/esm/components/select-field/TanstackSelectField.js +44 -0
- package/dist/esm/components/select-list/SelectList.d.ts +95 -0
- package/dist/esm/components/select-list/SelectList.js +79 -0
- package/dist/esm/components/select-list/SelectList.types.d.ts +29 -0
- package/dist/esm/components/select-list/constants.d.ts +36 -0
- package/dist/esm/components/select-list/constants.js +29 -0
- package/dist/esm/components/select-list/helpers.d.ts +42 -0
- package/dist/esm/components/select-list/helpers.js +48 -0
- package/dist/esm/components/select-list/hooks/useControlledSelection.d.ts +23 -0
- package/dist/esm/components/select-list/hooks/useControlledSelection.js +16 -0
- package/dist/esm/components/select-list/hooks/useSelectedFirstSorting.d.ts +23 -0
- package/dist/esm/components/select-list/hooks/useSelectedFirstSorting.js +31 -0
- package/dist/esm/components/select-list/parts/SelectListEmptyState.d.ts +8 -0
- package/dist/esm/components/select-list/parts/SelectListEmptyState.js +25 -0
- package/dist/esm/components/select-list/parts/SelectListOptGroup.d.ts +118 -0
- package/dist/esm/components/select-list/parts/SelectListOptGroup.js +28 -0
- package/dist/esm/components/select-list/parts/SelectListOption.d.ts +24 -0
- package/dist/esm/components/select-list/parts/SelectListOption.js +72 -0
- package/dist/esm/components/select-list/parts/SelectListSearchInput.d.ts +2 -0
- package/dist/esm/components/select-list/parts/SelectListSearchInput.js +43 -0
- package/dist/esm/components/select-list/parts/SelectedItemsSection.d.ts +54 -0
- package/dist/esm/components/select-list/parts/SelectedItemsSection.js +35 -0
- package/dist/esm/components/select-list/utils/partition.d.ts +13 -0
- package/dist/esm/components/select-list/utils/partition.js +9 -0
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.context.d.ts +1 -5
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.d.ts +6 -1
- package/dist/esm/components/selectable-button-group/SelectableButtonGroup.js +23 -23
- package/dist/esm/components/selectable-button-group/TanstackSelectableButtonGroup.d.ts +27 -0
- package/dist/esm/components/selectable-button-group/TanstackSelectableButtonGroup.js +34 -0
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.d.ts +1 -16
- package/dist/esm/components/selectable-button-group/parts/SelectableButton.js +56 -57
- package/dist/esm/components/selectable-button-group-field/SelectableButtonGroupField.d.ts +2 -0
- package/dist/esm/components/selectable-button-group-field/TanstackSelectableButtonGroupField.d.ts +81 -0
- package/dist/esm/components/selectable-button-group-field/TanstackSelectableButtonGroupField.js +47 -0
- package/dist/esm/components/selectable-card/internals/Description.js +1 -1
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/SelectableCardCheckboxGroup.js +1 -1
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/TanstackSelectableCardCheckboxGroup.d.ts +26 -0
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/TanstackSelectableCardCheckboxGroup.js +32 -0
- package/dist/esm/components/selectable-card/selectable-card-checkbox-group/parts/SelectableCardCheckbox.js +24 -24
- package/dist/esm/components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.d.ts +2 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/SelectableCardRadioGroup.js +12 -14
- package/dist/esm/components/selectable-card/selectable-card-radio-group/TanstackSelectableCardRadioGroup.d.ts +28 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/TanstackSelectableCardRadioGroup.js +32 -0
- package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/RadioIndicator.js +14 -13
- package/dist/esm/components/selectable-card/selectable-card-radio-group/parts/SelectableCardRadio.js +27 -25
- package/dist/esm/components/selectable-card/selectableCard.variant.js +5 -5
- package/dist/esm/components/selectable-card-checkbox-group-field/SelectableCardCheckboxGroupField.d.ts +2 -0
- package/dist/esm/components/selectable-card-checkbox-group-field/TanstackSelectableCardCheckboxGroupField.d.ts +10 -0
- package/dist/esm/components/selectable-card-checkbox-group-field/TanstackSelectableCardCheckboxGroupField.js +38 -0
- package/dist/esm/components/selectable-card-radio-group-field/SelectableCardRadioGroupField.d.ts +2 -0
- package/dist/esm/components/selectable-card-radio-group-field/TanstackSelectableCardRadioGroupField.d.ts +10 -0
- package/dist/esm/components/selectable-card-radio-group-field/TanstackSelectableCardRadioGroupField.js +38 -0
- package/dist/esm/components/skip-links/SkipLinks.js +1 -1
- package/dist/esm/components/table/Table.context.d.ts +5 -0
- package/dist/esm/components/table/Table.context.js +14 -13
- package/dist/esm/components/table/Table.d.ts +94 -0
- package/dist/esm/components/table/Table.js +145 -108
- package/dist/esm/components/table/hooks/useTableKeyboardNavigation.js +6 -6
- package/dist/esm/components/table/parts/TableBody.js +83 -21
- package/dist/esm/components/table/parts/TableCell.js +29 -26
- package/dist/esm/components/table/parts/TableEmptyState.js +6 -6
- package/dist/esm/components/table/parts/TableHeader.js +1 -1
- package/dist/esm/components/table/parts/TablePagination.d.ts +5 -5
- package/dist/esm/components/table/parts/TablePagination.js +11 -11
- package/dist/esm/components/table/parts/TableRow.js +22 -18
- package/dist/esm/components/tabs/Tabs.variant.d.ts +0 -6
- package/dist/esm/components/tabs/Tabs.variant.js +11 -12
- package/dist/esm/components/tabs/parts/{Tab.d.ts → RawTab.d.ts} +2 -2
- package/dist/esm/components/tabs/parts/{Tab.js → RawTab.js} +6 -6
- package/dist/esm/components/task-menu/TaskMenu.d.ts +4 -4
- package/dist/esm/components/task-menu/parts/{SubTask.d.ts → RawSubTask.d.ts} +7 -7
- package/dist/esm/components/task-menu/parts/{SubTask.js → RawSubTask.js} +43 -43
- package/dist/esm/components/task-menu/parts/{Task.d.ts → RawTask.d.ts} +7 -7
- package/dist/esm/components/task-menu/parts/{Task.js → RawTask.js} +45 -41
- package/dist/esm/components/task-menu/parts/TaskGroup.d.ts +5 -5
- package/dist/esm/components/task-menu/parts/TaskGroup.js +30 -26
- package/dist/esm/components/task-menu/parts/task.variants.js +4 -2
- package/dist/esm/components/text/Text.d.ts +11 -1
- package/dist/esm/components/text/Text.js +43 -30
- package/dist/esm/components/text/Text.variants.d.ts +12 -0
- package/dist/esm/components/text/Text.variants.js +4 -0
- package/dist/esm/components/text-area/TanstackTextArea.d.ts +21 -0
- package/dist/esm/components/text-area/TanstackTextArea.js +35 -0
- package/dist/esm/components/text-area/TextArea.js +31 -29
- package/dist/esm/components/text-field/TanstackTextField.d.ts +79 -0
- package/dist/esm/components/text-field/TanstackTextField.js +60 -0
- package/dist/esm/components/text-field/TextField.d.ts +2 -0
- package/dist/esm/components/toast/UnityToast.js +5 -5
- package/dist/esm/components/toast/test-utils.d.ts +36 -0
- package/dist/esm/components/toast/test-utils.js +118 -0
- package/dist/esm/components/toggle-switch/TanstackToggleSwitch.d.ts +46 -0
- package/dist/esm/components/toggle-switch/TanstackToggleSwitch.js +25 -0
- package/dist/esm/components/toggle-switch/ToggleSwitch.d.ts +21 -9
- package/dist/esm/components/toggle-switch/ToggleSwitch.js +71 -32
- package/dist/esm/components/toggle-switch-field/TanstackToggleSwitchField.d.ts +11 -0
- package/dist/esm/components/toggle-switch-field/TanstackToggleSwitchField.js +34 -0
- package/dist/esm/components/toggle-switch-field/ToggleSwitchField.d.ts +2 -0
- package/dist/esm/components/toggle-switch-group/TanstackToggleSwitchGroup.d.ts +57 -0
- package/dist/esm/components/toggle-switch-group/TanstackToggleSwitchGroup.js +23 -0
- package/dist/esm/components/toggle-switch-group/ToggleSwitchGroup.js +1 -1
- package/dist/esm/components/toggle-switch-group-field/TanstackToggleSwitchGroupField.d.ts +19 -0
- package/dist/esm/components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js +50 -0
- package/dist/esm/components/toggle-switch-group-field/ToggleSwitchGroupField.d.ts +2 -0
- package/dist/esm/docs/{table → examples/data}/mocks/employee-columns.d.ts +1 -1
- package/dist/esm/hooks/tanstack-form-context.d.ts +1 -0
- package/dist/esm/hooks/tanstack-form-context.js +8 -0
- package/dist/esm/hooks/use-container-query-level.d.ts +42 -0
- package/dist/esm/hooks/use-container-query-level.js +33 -0
- package/dist/esm/hooks/use-form.d.ts +2 -0
- package/dist/esm/hooks/use-has-scroll.d.ts +71 -0
- package/dist/esm/hooks/use-has-scroll.js +75 -0
- package/dist/esm/hooks/use-tanstack-form.d.ts +369 -0
- package/dist/esm/hooks/use-tanstack-form.js +209 -0
- package/dist/esm/index.d.ts +64 -30
- package/dist/esm/index.js +482 -394
- package/dist/esm/index.storybook-testing.d.ts +3 -0
- package/dist/esm/integrations/tanstack-router/components/breadcrumbs/Breadcrumb.d.ts +23 -0
- package/dist/esm/integrations/tanstack-router/components/breadcrumbs/BreadcrumbLink.d.ts +38 -0
- package/dist/esm/integrations/tanstack-router/components/breadcrumbs/BreadcrumbLink.js +7 -0
- package/dist/esm/integrations/tanstack-router/components/breadcrumbs/Breadcrumbs.d.ts +23 -0
- package/dist/esm/integrations/tanstack-router/components/breadcrumbs/use-route-breadcrumb.d.ts +53 -0
- package/dist/esm/integrations/tanstack-router/components/form-contextual-link/FormContextualLink.d.ts +45 -0
- package/dist/esm/integrations/tanstack-router/components/form-contextual-link/FormContextualLink.js +7 -0
- package/dist/esm/integrations/tanstack-router/components/form-contextual-link/TanstackFormContextualLink.d.ts +43 -0
- package/dist/esm/integrations/tanstack-router/components/link/Link.d.ts +33 -0
- package/dist/esm/integrations/tanstack-router/components/link/Link.js +7 -0
- package/dist/esm/integrations/tanstack-router/components/list-view/ListView.d.ts +34 -0
- package/dist/esm/integrations/tanstack-router/components/list-view/ListView.js +25 -0
- package/dist/esm/integrations/tanstack-router/components/list-view/parts/ListViewItem.d.ts +51 -0
- package/dist/esm/integrations/tanstack-router/components/list-view/parts/ListViewItem.js +32 -0
- package/dist/esm/integrations/tanstack-router/components/menu-item/MenuItem.d.ts +49 -0
- package/dist/esm/integrations/tanstack-router/components/menu-item/MenuItem.js +16 -0
- package/dist/esm/integrations/tanstack-router/components/nav-item/NavItem.d.ts +52 -0
- package/dist/esm/integrations/tanstack-router/components/nav-item/NavItem.js +29 -0
- package/dist/esm/integrations/tanstack-router/components/navigation-card/NavigationCard.d.ts +73 -0
- package/dist/esm/integrations/tanstack-router/components/navigation-card/NavigationCard.js +37 -0
- package/dist/esm/integrations/tanstack-router/components/pagination/PaginationLink.d.ts +54 -0
- package/dist/esm/integrations/tanstack-router/components/pagination/PaginationLink.js +21 -0
- package/dist/esm/integrations/tanstack-router/components/pagination/PaginationNext.d.ts +52 -0
- package/dist/esm/integrations/tanstack-router/components/pagination/PaginationNext.js +22 -0
- package/dist/esm/integrations/tanstack-router/components/pagination/PaginationPrevious.d.ts +51 -0
- package/dist/esm/integrations/tanstack-router/components/pagination/PaginationPrevious.js +22 -0
- package/dist/esm/integrations/tanstack-router/components/tabs/Tabs.d.ts +82 -0
- package/dist/esm/integrations/tanstack-router/components/tabs/Tabs.js +41 -0
- package/dist/esm/integrations/tanstack-router/components/tabs/parts/Tab.d.ts +52 -0
- package/dist/esm/integrations/tanstack-router/components/tabs/parts/Tab.js +15 -0
- package/dist/esm/integrations/tanstack-router/components/tabs/parts/TabList.d.ts +5 -0
- package/dist/esm/integrations/tanstack-router/components/tabs/parts/TabPanel.d.ts +77 -0
- package/dist/esm/integrations/tanstack-router/components/tabs/parts/TabPanel.js +16 -0
- package/dist/esm/integrations/tanstack-router/components/task-menu/SubTask.d.ts +69 -0
- package/dist/esm/integrations/tanstack-router/components/task-menu/SubTask.js +14 -0
- package/dist/esm/integrations/tanstack-router/components/task-menu/Task.d.ts +64 -0
- package/dist/esm/integrations/tanstack-router/components/task-menu/Task.js +14 -0
- package/dist/esm/integrations/tanstack-router/index.d.ts +19 -0
- package/dist/esm/integrations/tanstack-router/utils/decorators.d.ts +23 -0
- package/dist/esm/integrations/tanstack-router.js +40 -0
- package/dist/esm/mocks/employees.d.ts +1 -5
- package/dist/esm/providers/router/RouterProvider.d.ts +7 -2
- package/dist/esm/providers/router/RouterProvider.js +14 -10
- package/dist/esm/storybook-testing.js +8 -2
- package/dist/esm/storybook-utilities/previewTransform.d.ts +1 -0
- package/dist/esm/types/DataAttributes.d.ts +1 -1
- package/dist/esm/utils/scroll-detection.d.ts +77 -0
- package/dist/esm/utils/scroll-detection.js +33 -0
- package/dist/esm/utils/spacing.d.ts +63 -0
- package/dist/esm/utils/spacing.js +15 -0
- package/i18n/en-GB.json +22 -8
- package/i18n/es-ES.json +24 -10
- package/i18n/fr-FR.json +25 -11
- package/package.json +66 -45
- package/dist/esm/components/form-field/parts/FormContextualLink.d.ts +0 -20
- package/dist/esm/components/form-field/parts/FormContextualLink.js +0 -37
- package/dist/esm/components/link/Link.d.ts +0 -93
- package/dist/esm/components/link/Link.js +0 -68
- package/dist/esm/components/multi-select/Multiselect.types.d.ts +0 -109
- package/dist/esm/components/nav/parts/NavItem.js +0 -95
- package/dist/esm/integrations/react-router/v5/UnityReactRouterV5Provider.d.ts +0 -6
- package/dist/esm/integrations/react-router/v5/UnityReactRouterV5Provider.js +0 -28
- package/dist/esm/integrations/react-router/v5/index.d.ts +0 -1
- package/dist/esm/integrations/react-router/v5.js +0 -4
- /package/dist/esm/components/{pagination → client-side-pagination}/hooks/use-pagination.d.ts +0 -0
- /package/dist/esm/components/{pagination → client-side-pagination}/hooks/use-pagination.js +0 -0
- /package/dist/esm/components/{pagination → client-side-pagination}/parts/PaginationJumpDialog.js +0 -0
- /package/dist/esm/components/{pagination → client-side-pagination}/parts/PaginationNavButton.d.ts +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { IconButton as
|
|
5
|
-
import { PayFitBrand as
|
|
6
|
-
import { PayFitBrandPreprod as
|
|
7
|
-
import { useAppMenuContext as
|
|
8
|
-
const
|
|
1
|
+
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Link as m } from "react-aria-components";
|
|
3
|
+
import { useIntl as s } from "react-intl";
|
|
4
|
+
import { IconButton as c } from "../../icon-button/IconButton.js";
|
|
5
|
+
import { PayFitBrand as y } from "../../payfit-brand/PayFitBrand.js";
|
|
6
|
+
import { PayFitBrandPreprod as f } from "../../payfit-brand/PayFitPreprod.js";
|
|
7
|
+
import { useAppMenuContext as h } from "./AppMenu.context.js";
|
|
8
|
+
const O = ({
|
|
9
9
|
environment: o,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
brandLabel: a,
|
|
11
|
+
notificationsComponent: t,
|
|
12
|
+
searchComponent: i,
|
|
13
|
+
renderLink: l = ({ children: e }) => /* @__PURE__ */ n(m, { href: "/", children: e })
|
|
14
14
|
}) => {
|
|
15
|
-
const { isMobileMenuOpen:
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
|
|
15
|
+
const { isMobileMenuOpen: e, toggleMobileMenu: u } = h(), d = s(), p = o === "prod" ? /* @__PURE__ */ n(y, { label: a, width: 104 }) : /* @__PURE__ */ n(f, { label: a, env: o });
|
|
16
|
+
return /* @__PURE__ */ r("header", { className: "uy:flex uy:flex-col uy:gap-y-200 uy:pl-25 uy:pr-25", children: [
|
|
17
|
+
/* @__PURE__ */ n("div", { className: "uy:block uy:md:hidden", children: /* @__PURE__ */ n(
|
|
18
|
+
c,
|
|
19
19
|
{
|
|
20
20
|
variant: "ghost",
|
|
21
21
|
color: "neutral",
|
|
22
|
-
icon:
|
|
22
|
+
icon: e ? "CloseOutlined" : "ListOutlined",
|
|
23
23
|
label: d.formatMessage({
|
|
24
|
-
id:
|
|
25
|
-
defaultMessage:
|
|
24
|
+
id: e ? "unity:component:app-menu:header:menu-close" : "unity:component:app-menu:header:menu-open",
|
|
25
|
+
defaultMessage: e ? "Close navigation" : "Open navigation"
|
|
26
26
|
}),
|
|
27
27
|
onClick: u,
|
|
28
|
-
"aria-expanded":
|
|
28
|
+
"aria-expanded": e,
|
|
29
29
|
"aria-controls": "app-menu-nav-container app-menu-profile-button"
|
|
30
30
|
}
|
|
31
31
|
) }),
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
/* @__PURE__ */ r("div", { className: "uy:hidden uy:justify-between uy:items-center uy:md:flex", children: [
|
|
33
|
+
l({ children: p }),
|
|
34
|
+
t
|
|
35
35
|
] }),
|
|
36
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ n("div", { className: "uy:hidden uy:md:flex", children: i })
|
|
37
37
|
] });
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
O as AppMenuHeader
|
|
41
41
|
};
|
|
@@ -7,8 +7,6 @@ declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
|
7
7
|
true: {
|
|
8
8
|
base: string;
|
|
9
9
|
icon: string;
|
|
10
|
-
button: string;
|
|
11
|
-
clearButton: string;
|
|
12
10
|
input: string;
|
|
13
11
|
};
|
|
14
12
|
false: {
|
|
@@ -20,7 +18,6 @@ declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
|
20
18
|
}, {
|
|
21
19
|
base: string[];
|
|
22
20
|
input: string[];
|
|
23
|
-
clearButton: never[];
|
|
24
21
|
icon: string[];
|
|
25
22
|
invalidIcon: string[];
|
|
26
23
|
wrapperState: string[];
|
|
@@ -29,8 +26,6 @@ declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
|
29
26
|
true: {
|
|
30
27
|
base: string;
|
|
31
28
|
icon: string;
|
|
32
|
-
button: string;
|
|
33
|
-
clearButton: string;
|
|
34
29
|
input: string;
|
|
35
30
|
};
|
|
36
31
|
false: {
|
|
@@ -42,7 +37,6 @@ declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
|
42
37
|
}, {
|
|
43
38
|
base: string[];
|
|
44
39
|
input: string[];
|
|
45
|
-
clearButton: never[];
|
|
46
40
|
icon: string[];
|
|
47
41
|
invalidIcon: string[];
|
|
48
42
|
wrapperState: string[];
|
|
@@ -51,8 +45,6 @@ declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
|
51
45
|
true: {
|
|
52
46
|
base: string;
|
|
53
47
|
icon: string;
|
|
54
|
-
button: string;
|
|
55
|
-
clearButton: string;
|
|
56
48
|
input: string;
|
|
57
49
|
};
|
|
58
50
|
false: {
|
|
@@ -64,7 +56,6 @@ declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
|
64
56
|
}, {
|
|
65
57
|
base: string[];
|
|
66
58
|
input: string[];
|
|
67
|
-
clearButton: never[];
|
|
68
59
|
icon: string[];
|
|
69
60
|
invalidIcon: string[];
|
|
70
61
|
wrapperState: string[];
|
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as R, useRef as A, useState as
|
|
3
|
-
import { uyTv as
|
|
4
|
-
import { useId as
|
|
5
|
-
import { ComboBox as
|
|
6
|
-
import { useIntl as
|
|
7
|
-
import { useResizeObserver as
|
|
8
|
-
import { Icon as
|
|
2
|
+
import { forwardRef as R, useRef as A, useState as O, useCallback as W } from "react";
|
|
3
|
+
import { uyTv as k } from "@payfit/unity-themes";
|
|
4
|
+
import { useId as C } from "react-aria";
|
|
5
|
+
import { ComboBox as z, Input as T } from "react-aria-components";
|
|
6
|
+
import { useIntl as j } from "react-intl";
|
|
7
|
+
import { useResizeObserver as B } from "usehooks-ts";
|
|
8
|
+
import { Icon as y } from "../icon/Icon.js";
|
|
9
9
|
import { Spinner as D } from "../spinner/Spinner.js";
|
|
10
10
|
import { Text as P } from "../text/Text.js";
|
|
11
11
|
import { AutocompleteClearButton as E } from "./parts/AutocompleteClearButton.js";
|
|
12
12
|
import { AutocompletePanel as G } from "./parts/AutocompletePanel.js";
|
|
13
|
-
const L =
|
|
13
|
+
const L = k({
|
|
14
14
|
slots: {
|
|
15
15
|
base: [
|
|
16
|
-
"uy:group uy:w-full uy:flex uy:gap-100 uy:
|
|
17
|
-
"uy:enabled:
|
|
18
|
-
|
|
19
|
-
"uy:active:border-border-form-active",
|
|
20
|
-
"uy:data-[disabled=true]:border-border-form-disabled uy:data-[disabled=true]:bg-surface-form-disabled",
|
|
21
|
-
"uy:data-[invalid=true]:border-border-form-error uy:data-[invalid=true]:bg-surface-form-error"
|
|
16
|
+
"uy:group uy:transition-colors uy:w-full uy:flex uy:gap-100 uy:py-125 uy:sm:py-100 uy:px-150 uy:rounded-100 uy:sm:rounded-75",
|
|
17
|
+
"uy:enabled:bg-surface-form-high-enabled",
|
|
18
|
+
'uy:has-data-[focus-visible="true"]:outline-none uy:has-data-[focus-visible="true"]:ring-2 uy:has-data-[focus-visible="true"]:ring-utility-focus-ring uy:has-data-[focus-visible="true"]:ring-offset-2 uy:has-data-[focus-visible="true"]:bg-surface-form-high-focus',
|
|
19
|
+
"uy:active:border uy:active:border-solid uy:active:border-border-form-active",
|
|
20
|
+
"uy:data-[disabled=true]:border uy:data-[disabled=true]:border-solid uy:data-[disabled=true]:border-border-form-disabled uy:data-[disabled=true]:bg-surface-form-high-disabled",
|
|
21
|
+
"uy:data-[invalid=true]:border uy:data-[invalid=true]:border-solid uy:data-[invalid=true]:border-border-form-error uy:data-[invalid=true]:bg-surface-form-high-error"
|
|
22
22
|
],
|
|
23
23
|
input: [
|
|
24
24
|
"uy:h-300 uy:typography-body uy:flex-grow uy:outline-none uy:[&::-webkit-search-cancel-button]:hidden",
|
|
25
25
|
"uy:enabled:text-content-form-enabled",
|
|
26
|
-
"uy:
|
|
27
|
-
"uy:focus-visible:text-content-form-focus",
|
|
26
|
+
"uy:data-[hovered]:text-content-form-hover",
|
|
27
|
+
"uy:data-[focus-visible]:text-content-form-focus",
|
|
28
28
|
"uy:active:text-content-form-active",
|
|
29
|
-
"uy:group-data-[invalid=true]:bg-surface-form-error"
|
|
29
|
+
"uy:group-data-[invalid=true]:bg-surface-form-high-error"
|
|
30
30
|
],
|
|
31
|
-
clearButton: [],
|
|
32
31
|
icon: [
|
|
33
32
|
"uy:self-center",
|
|
34
33
|
"uy:group-data-[disabled=true]:text-content-neutral-lowest-disabled"
|
|
@@ -42,16 +41,14 @@ const L = W({
|
|
|
42
41
|
variants: {
|
|
43
42
|
isReadOnly: {
|
|
44
43
|
true: {
|
|
45
|
-
base: "uy:bg-surface-form-disabled",
|
|
44
|
+
base: "uy:border uy:border-solid uy:border-border-form-disabled uy:bg-surface-form-high-disabled",
|
|
46
45
|
icon: "uy:text-content-neutral-lowest-disabled",
|
|
47
|
-
|
|
48
|
-
clearButton: "uy:hidden",
|
|
49
|
-
input: "uy:bg-surface-form-disabled uy:text-content-form-read-only uy:placeholder-content-form-read-only uy:cursor-text"
|
|
46
|
+
input: "uy:bg-surface-form-high-disabled uy:text-content-form-read-only uy:placeholder-content-form-read-only uy:cursor-text"
|
|
50
47
|
},
|
|
51
48
|
false: {
|
|
52
49
|
base: [
|
|
53
|
-
"uy:bg-surface-form-enabled",
|
|
54
|
-
"uy:
|
|
50
|
+
"uy:bg-surface-form-high-enabled",
|
|
51
|
+
"uy:has-data-[hovered]:bg-surface-form-high-hover uy:data-[disabled=true]:cursor-not-allowed"
|
|
55
52
|
],
|
|
56
53
|
icon: "uy:text-content-neutral-lowest",
|
|
57
54
|
input: "uy:bg-text-content-form-active uy:placeholder-content-neutral-lowest uy:group-data-[disabled=true]:cursor-not-allowed"
|
|
@@ -61,48 +58,48 @@ const L = W({
|
|
|
61
58
|
}), U = ({
|
|
62
59
|
intl: a,
|
|
63
60
|
placeholder: r,
|
|
64
|
-
isDisabled:
|
|
65
|
-
}) =>
|
|
61
|
+
isDisabled: o
|
|
62
|
+
}) => o ? "" : r || a.formatMessage({
|
|
66
63
|
id: "unity:component:autocomplete:placeholder",
|
|
67
64
|
defaultMessage: "Search"
|
|
68
65
|
}), $ = (a, r) => {
|
|
69
66
|
const {
|
|
70
|
-
placeholder:
|
|
71
|
-
isDisabled:
|
|
72
|
-
isInvalid:
|
|
67
|
+
placeholder: o,
|
|
68
|
+
isDisabled: d,
|
|
69
|
+
isInvalid: l,
|
|
73
70
|
isReadOnly: u,
|
|
74
|
-
items:
|
|
75
|
-
children:
|
|
76
|
-
loadingState:
|
|
71
|
+
items: f,
|
|
72
|
+
children: m,
|
|
73
|
+
loadingState: n,
|
|
77
74
|
name: b,
|
|
78
75
|
feedbackText: p,
|
|
79
|
-
...
|
|
80
|
-
} = a,
|
|
81
|
-
|
|
82
|
-
}, [
|
|
83
|
-
|
|
84
|
-
const { base: w, input: I, icon: M, invalidIcon: N, wrapperState: S
|
|
76
|
+
...h
|
|
77
|
+
} = a, i = j(), t = A(null), [g, v] = O(null), c = C(), x = W(() => {
|
|
78
|
+
t.current && v(`${t.current.offsetWidth}px`);
|
|
79
|
+
}, [t]);
|
|
80
|
+
B({ ref: t, onResize: x });
|
|
81
|
+
const { base: w, input: I, icon: M, invalidIcon: N, wrapperState: S } = L({
|
|
85
82
|
isReadOnly: u
|
|
86
83
|
});
|
|
87
84
|
return /* @__PURE__ */ s("search", { ref: r, children: [
|
|
88
85
|
/* @__PURE__ */ s(
|
|
89
|
-
|
|
86
|
+
z,
|
|
90
87
|
{
|
|
91
88
|
className: w(),
|
|
92
89
|
name: b,
|
|
93
|
-
isInvalid:
|
|
94
|
-
isDisabled:
|
|
90
|
+
isInvalid: l,
|
|
91
|
+
isDisabled: d || u,
|
|
95
92
|
isReadOnly: u,
|
|
96
|
-
ref:
|
|
97
|
-
"aria-label":
|
|
93
|
+
ref: t,
|
|
94
|
+
"aria-label": i.formatMessage({
|
|
98
95
|
id: "unity:component:autocomplete:placeholder",
|
|
99
96
|
defaultMessage: "Search"
|
|
100
97
|
}),
|
|
101
|
-
items:
|
|
102
|
-
...
|
|
98
|
+
items: f,
|
|
99
|
+
...h,
|
|
103
100
|
children: [
|
|
104
101
|
/* @__PURE__ */ e(
|
|
105
|
-
|
|
102
|
+
y,
|
|
106
103
|
{
|
|
107
104
|
src: "MagnifyingGlassOutlined",
|
|
108
105
|
className: M(),
|
|
@@ -110,30 +107,30 @@ const L = W({
|
|
|
110
107
|
}
|
|
111
108
|
),
|
|
112
109
|
/* @__PURE__ */ e(
|
|
113
|
-
|
|
110
|
+
T,
|
|
114
111
|
{
|
|
115
112
|
className: I(),
|
|
116
113
|
"aria-describedby": c,
|
|
117
|
-
placeholder: U({ intl:
|
|
114
|
+
placeholder: U({ intl: i, placeholder: o, isDisabled: d })
|
|
118
115
|
}
|
|
119
116
|
),
|
|
120
117
|
/* @__PURE__ */ s("div", { className: S(), children: [
|
|
121
118
|
/* @__PURE__ */ e(
|
|
122
|
-
|
|
119
|
+
y,
|
|
123
120
|
{
|
|
124
121
|
className: N(),
|
|
125
122
|
src: "WarningCircleOutlined",
|
|
126
123
|
color: "content.form.invalid",
|
|
127
|
-
alt:
|
|
124
|
+
alt: i.formatMessage({
|
|
128
125
|
id: "unity:component:form-field:form-input:error:alt",
|
|
129
126
|
defaultMessage: "Error"
|
|
130
127
|
})
|
|
131
128
|
}
|
|
132
129
|
),
|
|
133
|
-
|
|
130
|
+
n && n !== "error" && n !== "idle" && /* @__PURE__ */ e("span", { className: "uy:px-50", children: /* @__PURE__ */ e(
|
|
134
131
|
D,
|
|
135
132
|
{
|
|
136
|
-
label:
|
|
133
|
+
label: i.formatMessage({
|
|
137
134
|
id: "unity:component:common:loading:label",
|
|
138
135
|
defaultMessage: "Loading..."
|
|
139
136
|
}),
|
|
@@ -146,15 +143,15 @@ const L = W({
|
|
|
146
143
|
E,
|
|
147
144
|
{
|
|
148
145
|
isReadOnly: u,
|
|
149
|
-
isDisabled:
|
|
146
|
+
isDisabled: d
|
|
150
147
|
}
|
|
151
148
|
)
|
|
152
149
|
] }),
|
|
153
|
-
/* @__PURE__ */ e(G, { panelWidth:
|
|
150
|
+
/* @__PURE__ */ e(G, { panelWidth: g, searchRef: t, children: m })
|
|
154
151
|
]
|
|
155
152
|
}
|
|
156
153
|
),
|
|
157
|
-
|
|
154
|
+
l && /* @__PURE__ */ e(
|
|
158
155
|
P,
|
|
159
156
|
{
|
|
160
157
|
id: c,
|
|
@@ -163,8 +160,8 @@ const L = W({
|
|
|
163
160
|
}
|
|
164
161
|
)
|
|
165
162
|
] });
|
|
166
|
-
}, q = R(function(r,
|
|
167
|
-
return $(r,
|
|
163
|
+
}, q = R(function(r, o) {
|
|
164
|
+
return $(r, o);
|
|
168
165
|
});
|
|
169
166
|
q.displayName = "Autocomplete";
|
|
170
167
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as l } from "react";
|
|
3
3
|
import { uyTv as n } from "@payfit/unity-themes";
|
|
4
4
|
import { ListBoxItem as d } from "react-aria-components";
|
|
5
5
|
const i = n({
|
|
@@ -7,24 +7,24 @@ const i = n({
|
|
|
7
7
|
"uy:flex uy:flex-col uy:typography-body uy:rounded-50 uy:pt-100 uy:pb-100 uy:pl-150 uy:pr-150 uy:outline-none uy:bg-surface-neutral-enabled uy:enabled:text-content-neutral-enabled",
|
|
8
8
|
"uy:enabled:bg-surface-neutral-enabled uy:enabled:text-content-neutral-enabled",
|
|
9
9
|
"uy:data-[pressed]:bg-surface-neutral-pressed uy:data-[pressed]:text-content-neutral-pressed",
|
|
10
|
-
|
|
10
|
+
'uy:data-[focus-visible="true"]:outline-offset-2 uy:data-[focus-visible="true"]:outline-2 uy:data-[focus-visible="true"]:outline-utility-focus-ring uy:data-[focus-visible="true"]:bg-surface-neutral-focus uy:data-[focus-visible="true"]:text-content-neutral-focus',
|
|
11
11
|
"uy:data-[disabled]:text-content-neutral-disabled"
|
|
12
12
|
],
|
|
13
13
|
variants: {
|
|
14
14
|
isDisabled: {
|
|
15
|
-
false:
|
|
15
|
+
false: 'uy:data-[hovered="true"]:bg-surface-neutral-hover',
|
|
16
16
|
true: "uy:cursor-not-allowed"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
}), y =
|
|
20
|
-
({ children: e, isDisabled: t, textValue: u, ...a },
|
|
19
|
+
}), y = l(
|
|
20
|
+
({ children: e, isDisabled: t, textValue: u, ...a }, r) => /* @__PURE__ */ s(
|
|
21
21
|
d,
|
|
22
22
|
{
|
|
23
23
|
...a,
|
|
24
24
|
isDisabled: t,
|
|
25
25
|
textValue: u,
|
|
26
|
-
ref:
|
|
27
|
-
className: ({ isDisabled:
|
|
26
|
+
ref: r,
|
|
27
|
+
className: ({ isDisabled: o }) => i({ isDisabled: o }),
|
|
28
28
|
children: e
|
|
29
29
|
}
|
|
30
30
|
)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { uyTv as
|
|
4
|
-
import * as
|
|
5
|
-
import { useAvatarContext as
|
|
6
|
-
import { avatarBase as
|
|
7
|
-
import { getInitials as
|
|
8
|
-
const
|
|
9
|
-
extend:
|
|
2
|
+
import * as m from "react";
|
|
3
|
+
import { uyTv as n, uyMerge as b } from "@payfit/unity-themes";
|
|
4
|
+
import * as e from "@radix-ui/react-avatar";
|
|
5
|
+
import { useAvatarContext as f } from "../Avatar.context.js";
|
|
6
|
+
import { avatarBase as s } from "../Avatar.variants.js";
|
|
7
|
+
import { getInitials as h } from "../utils.js";
|
|
8
|
+
const v = n({
|
|
9
|
+
extend: s,
|
|
10
10
|
slots: {
|
|
11
11
|
base: "uy:absolute uy:overflow-hidden",
|
|
12
12
|
background: "",
|
|
@@ -28,9 +28,9 @@ const h = t({
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
}), w =
|
|
32
|
-
extend:
|
|
33
|
-
base: "uy:absolute uy:flex uy:h-full uy:w-full uy:items-center uy:justify-center uy:text-content-neutral uy:bg-surface-neutral-
|
|
31
|
+
}), w = n({
|
|
32
|
+
extend: s,
|
|
33
|
+
base: "uy:absolute uy:flex uy:h-full uy:w-full uy:items-center uy:justify-center uy:text-content-neutral uy:bg-surface-neutral-lowest",
|
|
34
34
|
variants: {
|
|
35
35
|
size: {
|
|
36
36
|
xs: "uy:typography-body-small-strong",
|
|
@@ -40,47 +40,46 @@ const h = t({
|
|
|
40
40
|
xl: "uy:typography-h2"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
}), x =
|
|
44
|
-
const c =
|
|
43
|
+
}), x = m.forwardRef(({ variant: u, color: i, children: y, ...r }, o) => {
|
|
44
|
+
const c = f(), { size: t, variant: l } = c;
|
|
45
45
|
if (u === "placeholder") {
|
|
46
|
-
const { base: d, background: g, foreground:
|
|
47
|
-
color:
|
|
48
|
-
size:
|
|
49
|
-
variant:
|
|
46
|
+
const { base: d, background: g, foreground: p } = v({
|
|
47
|
+
color: i,
|
|
48
|
+
size: t,
|
|
49
|
+
variant: l
|
|
50
50
|
});
|
|
51
|
-
return /* @__PURE__ */ a(
|
|
51
|
+
return /* @__PURE__ */ a(e.Fallback, { ref: o, role: "presentation", ...r, children: /* @__PURE__ */ a(
|
|
52
52
|
"svg",
|
|
53
53
|
{
|
|
54
54
|
role: "img",
|
|
55
55
|
"aria-hidden": !0,
|
|
56
56
|
xmlns: "http://www.w3.org/2000/svg",
|
|
57
57
|
viewBox: "0 0 16 16",
|
|
58
|
-
className:
|
|
59
|
-
...r,
|
|
58
|
+
className: b(d(), g()),
|
|
60
59
|
children: /* @__PURE__ */ a(
|
|
61
60
|
"path",
|
|
62
61
|
{
|
|
63
|
-
className:
|
|
62
|
+
className: p(),
|
|
64
63
|
fillRule: "evenodd",
|
|
65
64
|
d: "M0 8.322c.245.06.49.117.732.17 2.113.455 3.727.487 4.79.12.478-.166.824-.405 1.09-.732.276-.336.567-.888.737-1.82.4-2.19.02-3.485-.47-4.283C6.407 1.012 5.665.432 4.732 0h6.861c.904 1.906 1.173 4.227.674 6.959-.29 1.587-.871 2.97-1.784 4.086-.921 1.126-2.08 1.86-3.328 2.292-2.283.789-4.872.574-7.156.11V8.322Z",
|
|
66
65
|
clipRule: "evenodd"
|
|
67
66
|
}
|
|
68
67
|
)
|
|
69
68
|
}
|
|
70
|
-
);
|
|
69
|
+
) });
|
|
71
70
|
}
|
|
72
71
|
return /* @__PURE__ */ a(
|
|
73
|
-
|
|
72
|
+
e.Fallback,
|
|
74
73
|
{
|
|
75
|
-
ref:
|
|
74
|
+
ref: o,
|
|
76
75
|
role: "presentation",
|
|
77
|
-
className: w({ size:
|
|
76
|
+
className: w({ size: t, variant: l }),
|
|
78
77
|
...r,
|
|
79
|
-
children:
|
|
78
|
+
children: h(y)
|
|
80
79
|
}
|
|
81
80
|
);
|
|
82
81
|
});
|
|
83
|
-
x.displayName =
|
|
82
|
+
x.displayName = e.Fallback.displayName;
|
|
84
83
|
export {
|
|
85
84
|
x as AvatarFallback
|
|
86
85
|
};
|
|
@@ -9,7 +9,7 @@ const g = y({
|
|
|
9
9
|
success: "uy:bg-surface-success-low uy:text-content-success-high",
|
|
10
10
|
warning: "uy:bg-surface-warning-low uy:text-content-warning-high",
|
|
11
11
|
danger: "uy:bg-surface-danger-low uy:text-content-danger-high",
|
|
12
|
-
neutral: "uy:bg-surface-neutral-
|
|
12
|
+
neutral: "uy:bg-surface-neutral-lowest uy:text-content-neutral",
|
|
13
13
|
promo: "uy:bg-surface-promo-low uy:text-content-promo-high",
|
|
14
14
|
attention: "uy:bg-surface-danger uy:text-content-inverted",
|
|
15
15
|
numeric: "uy:bg-surface-info-low uy:text-content-info-high",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
const e =
|
|
2
|
+
import { useContext as i, createContext as u } from "react";
|
|
3
|
+
const e = u({
|
|
4
4
|
wrap: "wrap",
|
|
5
5
|
isMobile: !1,
|
|
6
6
|
isStaticApi: !1
|
|
@@ -14,7 +14,7 @@ function m({
|
|
|
14
14
|
return /* @__PURE__ */ s(e.Provider, { value: { wrap: t, isMobile: o, isStaticApi: n }, children: r });
|
|
15
15
|
}
|
|
16
16
|
function d() {
|
|
17
|
-
const r =
|
|
17
|
+
const r = i(e);
|
|
18
18
|
if (!r)
|
|
19
19
|
throw new Error(
|
|
20
20
|
"useBreadcrumbsContext must be used within an BreadcrumbsProvider"
|
|
@@ -1,33 +1,41 @@
|
|
|
1
1
|
import { VariantProps } from '@payfit/unity-themes';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsWithoutRef, ReactElement, ReactNode, Ref } from 'react';
|
|
3
3
|
import { AriaBreadcrumbsProps as AriaAriaBreadcrumbsProps } from 'react-aria';
|
|
4
4
|
import { BreadcrumbsProps as AriaBreadcrumbsProps } from 'react-aria-components';
|
|
5
|
-
import {
|
|
5
|
+
import { Breadcrumb } from './parts/Breadcrumb.js';
|
|
6
6
|
import { breadcrumbsVariant } from './Breadcrumbs.variant.js';
|
|
7
|
-
export interface BreadcrumbsProps extends AriaAriaBreadcrumbsProps, Pick<AriaBreadcrumbsProps<
|
|
7
|
+
export interface BreadcrumbsProps extends AriaAriaBreadcrumbsProps, Pick<AriaBreadcrumbsProps<never>, 'onAction'> {
|
|
8
8
|
items?: never;
|
|
9
9
|
/**
|
|
10
|
-
* The breadcrumb list to render (static
|
|
10
|
+
* The breadcrumb list to render (static API)
|
|
11
11
|
*/
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Whether the breadcrumbs should wrap or not
|
|
15
15
|
*/
|
|
16
16
|
wrap: VariantProps<typeof breadcrumbsVariant>['wrap'];
|
|
17
17
|
}
|
|
18
|
-
export interface BreadcrumbsWithItemProps extends
|
|
18
|
+
export interface BreadcrumbsWithItemProps<TItem extends {
|
|
19
|
+
label: string;
|
|
20
|
+
}> extends AriaAriaBreadcrumbsProps, VariantProps<typeof breadcrumbsVariant>, Pick<AriaBreadcrumbsProps<TItem>, 'onAction'> {
|
|
19
21
|
/**
|
|
20
22
|
* The list of items to render, when using the dynamic API.
|
|
21
23
|
*/
|
|
22
|
-
items:
|
|
24
|
+
items: TItem[];
|
|
23
25
|
/**
|
|
24
|
-
* The function
|
|
26
|
+
* The render function for each breadcrumb item (dynamic API)
|
|
25
27
|
*/
|
|
26
|
-
children: (item:
|
|
28
|
+
children: (item: TItem) => ReactElement<ComponentPropsWithoutRef<typeof Breadcrumb>>;
|
|
27
29
|
/**
|
|
28
|
-
*
|
|
30
|
+
* Whether the breadcrumbs should wrap or not
|
|
29
31
|
*/
|
|
30
32
|
wrap: VariantProps<typeof breadcrumbsVariant>['wrap'];
|
|
31
33
|
}
|
|
32
|
-
declare const Breadcrumbs:
|
|
34
|
+
declare const Breadcrumbs: (<TItem extends {
|
|
35
|
+
label: string;
|
|
36
|
+
}>(props: (BreadcrumbsProps | BreadcrumbsWithItemProps<TItem>) & {
|
|
37
|
+
ref?: Ref<HTMLOListElement>;
|
|
38
|
+
}) => ReactNode) & {
|
|
39
|
+
displayName: string;
|
|
40
|
+
};
|
|
33
41
|
export { Breadcrumbs };
|
|
@@ -1,30 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as d, Fragment as m } from "react";
|
|
3
3
|
import { Breadcrumbs as p } from "react-aria-components";
|
|
4
4
|
import { useBreakpointListener as u } from "../../hooks/use-breakpoint-listener.js";
|
|
5
|
-
import { BreadcrumbsProvider as
|
|
6
|
-
import { breadcrumbsVariant as
|
|
7
|
-
const b = (
|
|
8
|
-
const
|
|
9
|
-
return /* @__PURE__ */ e
|
|
10
|
-
|
|
5
|
+
import { BreadcrumbsProvider as l } from "./Breadcrumbs.context.js";
|
|
6
|
+
import { breadcrumbsVariant as f } from "./Breadcrumbs.variant.js";
|
|
7
|
+
const b = (a, o, n) => a ? o.length === 0 ? null : n(o.at(o.length === 1 ? 0 : -2)) : o.map((r, t) => {
|
|
8
|
+
const e = "id" in r && r.id && typeof r.id == "string" ? r.id : `${r.label}-${t}`;
|
|
9
|
+
return /* @__PURE__ */ s(m, { children: n(r) }, e);
|
|
10
|
+
});
|
|
11
|
+
function B({
|
|
12
|
+
items: a,
|
|
13
|
+
children: o,
|
|
14
|
+
wrap: n = "nowrap",
|
|
15
|
+
...r
|
|
16
|
+
}, t) {
|
|
17
|
+
const { base: e } = f({ wrap: n }), i = u(), c = i === "xs" || i === "sm";
|
|
18
|
+
return /* @__PURE__ */ s(
|
|
19
|
+
l,
|
|
11
20
|
{
|
|
12
|
-
wrap:
|
|
13
|
-
isMobile:
|
|
14
|
-
isStaticApi:
|
|
15
|
-
children: /* @__PURE__ */
|
|
21
|
+
wrap: n,
|
|
22
|
+
isMobile: c,
|
|
23
|
+
isStaticApi: a === void 0,
|
|
24
|
+
children: /* @__PURE__ */ s(
|
|
16
25
|
p,
|
|
17
26
|
{
|
|
18
27
|
"data-dd-privacy": "allow",
|
|
19
|
-
ref:
|
|
20
|
-
className:
|
|
21
|
-
...
|
|
22
|
-
children:
|
|
28
|
+
ref: t,
|
|
29
|
+
className: e(),
|
|
30
|
+
...r,
|
|
31
|
+
children: a ? b(c, a, o) : o
|
|
23
32
|
}
|
|
24
33
|
)
|
|
25
34
|
}
|
|
26
35
|
);
|
|
27
|
-
}
|
|
36
|
+
}
|
|
37
|
+
const y = d(B);
|
|
38
|
+
y.displayName = "Breadcrumbs";
|
|
28
39
|
export {
|
|
29
|
-
|
|
40
|
+
y as Breadcrumbs
|
|
30
41
|
};
|
|
@@ -2,7 +2,7 @@ import { uyTv as a } from "@payfit/unity-themes";
|
|
|
2
2
|
const r = a({
|
|
3
3
|
slots: {
|
|
4
4
|
base: "uy:flex uy:gap-50 uy:list-none uy:text-content-neutral-enabled uy:typography-action",
|
|
5
|
-
breadcrumb: "uy:flex uy:gap-50 uy:sm:leading-[1.75] uy:
|
|
5
|
+
breadcrumb: "uy:flex uy:gap-50 uy:sm:leading-[1.75] uy:items-center"
|
|
6
6
|
},
|
|
7
7
|
variants: {
|
|
8
8
|
wrap: {
|