@equisoft/design-elements-react 9.9.7-snapshot.20260114204630 → 9.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +3106 -3013
- package/dist/bundle.js.LICENSE.txt +14 -15
- package/dist/components/accordion/accordion-item.d.ts +3 -3
- package/dist/components/accordion/accordion.d.ts +3 -3
- package/dist/components/accordion/index.d.ts +2 -1
- package/dist/components/avatar/avatar.d.ts +2 -2
- package/dist/components/badge/badge.d.ts +3 -2
- package/dist/components/bento-menu-button/bento-menu-button.d.ts +2 -1
- package/dist/components/bento-menu-button/product-group.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +5 -4
- package/dist/components/breadcrumb/use-breadcrumb-layout-effect.d.ts +2 -2
- package/dist/components/breadcrumb/use-breadcrumb-overflow.d.ts +1 -1
- package/dist/components/breadcrumb/use-breadcrumb-routes.d.ts +2 -2
- package/dist/components/buttons/abstract/abstract-button.d.ts +1 -10
- package/dist/components/buttons/abstract/{styles.d.ts → styled.d.ts} +4 -3
- package/dist/components/buttons/abstract/types.d.ts +7 -0
- package/dist/components/buttons/button.d.ts +1 -41
- package/dist/components/buttons/icon-button.d.ts +5 -5
- package/dist/components/buttons/index.d.ts +5 -5
- package/dist/components/buttons/search-button.d.ts +3 -3
- package/dist/components/buttons/styled.d.ts +6 -6
- package/dist/components/buttons/types.d.ts +40 -0
- package/dist/components/card/card.d.ts +3 -2
- package/dist/components/card-link/card-link.d.ts +4 -3
- package/dist/components/checkbox-group/checkbox-group.d.ts +11 -11
- package/dist/components/chooser-button/chooser-button.d.ts +2 -1
- package/dist/components/chooser-button/styles/choose.d.ts +1 -0
- package/dist/components/chooser-button-group/chooser-button-group.d.ts +4 -3
- package/dist/components/combobox/combobox.d.ts +10 -21
- package/dist/components/date-picker/calendar-header.d.ts +3 -3
- package/dist/components/date-picker/date-picker.d.ts +6 -5
- package/dist/components/date-picker/utils/datepicker-utils.d.ts +6 -2
- package/dist/components/design-system.d.ts +3 -4
- package/dist/components/device-context-provider/device-context-provider.d.ts +2 -2
- package/dist/components/disclosure/disclosure.d.ts +8 -7
- package/dist/components/dropdown-list/dropdown-list-option.d.ts +4 -0
- package/dist/components/dropdown-list/dropdown-list.d.ts +8 -7
- package/dist/components/dropdown-list/utils/dropdown-list-utils.d.ts +9 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +2 -1
- package/dist/components/dropdown-menu/list-items/external-item.d.ts +3 -3
- package/dist/components/dropdown-menu/list-items/group-item.d.ts +4 -4
- package/dist/components/dropdown-menu/list-items/index.d.ts +3 -3
- package/dist/components/dropdown-menu/list-items/item-content.d.ts +4 -4
- package/dist/components/dropdown-menu/list-items/label-item.d.ts +2 -2
- package/dist/components/dropdown-menu/list-items/nav-item.d.ts +4 -4
- package/dist/components/dropdown-menu-button/dropdown-menu-button.d.ts +15 -23
- package/dist/components/dropdown-navigation/dropdown-navigation.d.ts +6 -5
- package/dist/components/error-summary/error-summary.d.ts +6 -5
- package/dist/components/external-link/external-link.d.ts +3 -3
- package/dist/components/feedbacks/invalid-field.d.ts +4 -3
- package/dist/components/field-container/field-container.d.ts +2 -2
- package/dist/components/fieldset/fieldset.d.ts +1 -16
- package/dist/components/fieldset/index.d.ts +1 -2
- package/dist/components/fieldset/legend.d.ts +2 -12
- package/dist/components/fieldset/styled.d.ts +9 -0
- package/dist/components/fieldset/types.d.ts +17 -0
- package/dist/components/global-banner/global-banner.d.ts +2 -1
- package/dist/components/global-header/global-header.d.ts +3 -2
- package/dist/components/global-navigation/global-navigation.d.ts +20 -0
- package/dist/components/heading/heading.d.ts +4 -4
- package/dist/components/icon/icon.d.ts +2 -2
- package/dist/components/internationalization-provider/internationalization-provider.d.ts +1 -1
- package/dist/components/label/label.d.ts +3 -3
- package/dist/components/legend/legend.d.ts +12 -0
- package/dist/components/link/index.d.ts +0 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/types.d.ts +5 -5
- package/dist/components/listbox/listbox-option.d.ts +5 -0
- package/dist/components/listbox/listbox.d.ts +2 -10
- package/dist/components/lozenge/lozenge.d.ts +4 -3
- package/dist/components/menu/menu.d.ts +5 -3
- package/dist/components/menu-button/menu-button.d.ts +4 -4
- package/dist/components/modal/dialog/modal-dialog.d.ts +3 -20
- package/dist/components/modal/dialog/styled.d.ts +3 -3
- package/dist/components/modal/dialog/types.d.ts +19 -0
- package/dist/components/modal/index.d.ts +0 -4
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/styled.d.ts +1 -1
- package/dist/components/modal/use-modal.d.ts +2 -1
- package/dist/components/money-input/money-input.d.ts +3 -3
- package/dist/components/nav-list/nav-list-item.d.ts +2 -2
- package/dist/components/nav-list/nav-list-option.d.ts +1 -1
- package/dist/components/nav-list/nav-list.d.ts +1 -0
- package/dist/components/numeric-input/numeric-input.d.ts +5 -5
- package/dist/components/pagination/pagination.d.ts +4 -3
- package/dist/components/pagination/util/pagination-util.d.ts +2 -1
- package/dist/components/password-creation-input/password-creation-input.d.ts +4 -3
- package/dist/components/password-creation-input/password-rule.d.ts +2 -2
- package/dist/components/password-creation-input/password-strength-container.d.ts +2 -2
- package/dist/components/password-creation-input/password-strength-meter.d.ts +2 -2
- package/dist/components/password-input/password-input.d.ts +4 -3
- package/dist/components/phone-input/phone-input.d.ts +4 -3
- package/dist/components/progress-circle/circle.d.ts +9 -0
- package/dist/components/progress-circle/progress-circle.d.ts +12 -0
- package/dist/components/progress-circular/progress-circular.d.ts +2 -2
- package/dist/components/progress-indicator/bar.d.ts +9 -0
- package/dist/components/progress-indicator/progress-indicator.d.ts +13 -1
- package/dist/components/progress-tracker/progress-tracker.d.ts +4 -3
- package/dist/components/radio-button/radio-button.d.ts +2 -1
- package/dist/components/radio-button/radio-input.d.ts +2 -1
- package/dist/components/radio-button-group/radio-button-group.d.ts +9 -8
- package/dist/components/radio-card-group/radio-card-group.d.ts +4 -3
- package/dist/components/radio-card-group/radio-card.d.ts +2 -2
- package/dist/components/radio-card-group/styled-components.d.ts +1 -1
- package/dist/components/route-link/route-link.d.ts +5 -5
- package/dist/components/screen-reader-only-text/ScreenReaderOnlyText.d.ts +4 -3
- package/dist/components/search/search-contextual.d.ts +2 -1
- package/dist/components/search/search-global.d.ts +2 -2
- package/dist/components/search/search-input.d.ts +2 -2
- package/dist/components/sectional-banner/sectional-banner.d.ts +6 -5
- package/dist/components/segmented-control/segmented-control.d.ts +5 -4
- package/dist/components/shadow-wrapper/shadow-wrapper.d.ts +2 -1
- package/dist/components/side-drawer/side-drawer.d.ts +1 -1
- package/dist/components/skip-link/skip-link.d.ts +2 -2
- package/dist/components/slider/slider.d.ts +3 -3
- package/dist/components/slider/value-tooltip.d.ts +2 -2
- package/dist/components/spinner/{index.d.ts → spinner.d.ts} +1 -4
- package/dist/components/status/status.d.ts +9 -0
- package/dist/components/stepper-input/stepper-buttons.d.ts +2 -2
- package/dist/components/stepper-input/stepper-input.d.ts +5 -5
- package/dist/components/table/index.d.ts +2 -3
- package/dist/components/table/table-footer.d.ts +1 -1
- package/dist/components/table/table-row.d.ts +1 -1
- package/dist/components/table/table.d.ts +4 -7
- package/dist/components/table/types.d.ts +3 -3
- package/dist/components/tabs/tab-button.d.ts +15 -1
- package/dist/components/tabs/tab-panel.d.ts +9 -2
- package/dist/components/tabs/tabs.d.ts +7 -7
- package/dist/components/tag/tag.d.ts +3 -3
- package/dist/components/tag/toggle-tag.d.ts +1 -1
- package/dist/components/text-area/text-area.d.ts +4 -4
- package/dist/components/text-input/index.d.ts +2 -4
- package/dist/components/text-input/styles/inputs.d.ts +2 -2
- package/dist/components/text-input/text-input.d.ts +2 -2
- package/dist/components/theme-wrapper/theme-wrapper.d.ts +2 -2
- package/dist/components/toast/toast-container.d.ts +4 -4
- package/dist/components/toast/toasts-container.d.ts +2 -2
- package/dist/components/toggle-switch/toggle-switch.d.ts +4 -3
- package/dist/components/toggletip/toggletip.d.ts +1 -1
- package/dist/components/user-profile/user-profile.d.ts +5 -4
- package/dist/components/visually-hidden/visuallyhidden.d.ts +2 -0
- package/dist/hooks/use-list-select.d.ts +1 -3
- package/dist/hooks/use-scroll-into-view.d.ts +1 -2
- package/dist/hooks/use-theme.d.ts +1 -1
- package/dist/hooks/use-toast.d.ts +1 -1
- package/dist/hooks/use-toasts.d.ts +1 -1
- package/dist/i18n/translations.d.ts +0 -26
- package/dist/index.d.ts +81 -2
- package/dist/theme.js +1 -1
- package/dist/themes/build-theme.d.ts +1 -1
- package/dist/themes/index.d.ts +0 -1
- package/dist/themes/theme.d.ts +8 -13
- package/dist/themes/tokens/alias-tokens.d.ts +47 -195
- package/dist/themes/tokens/component/accordion-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/avatar-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/badge-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/button-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/card-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/carousel-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/checkbox-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/chooser-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/combobox-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/datepicker-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/disclosure-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/field-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/focus-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/global-banner-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/global-header-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/global-navigation-tokens.d.ts +8 -0
- package/dist/themes/tokens/component/heading-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/label-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/legend-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/link-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/listbox-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/lozenge-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/menu-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/modal-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/nav-list-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/numeric-input-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/pagination-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/password-input-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/phone-input-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/progress-circular-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/progress-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/radio-card-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/search-input-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/segmented-control-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/side-drawer-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/slider-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/spinner-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/status-tokens.d.ts +8 -0
- package/dist/themes/tokens/component/stepper-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/tab-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/table-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/tag-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/text-area-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/text-input-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/toast-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/toggletip-tokens.d.ts +8 -3
- package/dist/themes/tokens/component/tooltip-tokens.d.ts +8 -3
- package/dist/themes/tokens/component-tokens.d.ts +66 -705
- package/dist/themes/tokens/index.d.ts +0 -1
- package/dist/themes/tokens/ref/color-utility-tokens.d.ts +6 -0
- package/dist/themes/tokens/ref/palette-tokens.d.ts +6 -3
- package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +6 -0
- package/dist/themes/tokens/ref-tokens.d.ts +9 -209
- package/dist/utility-types.d.ts +1 -0
- package/dist/utils/component-classes.d.ts +0 -1
- package/dist/utils/css-state.d.ts +1 -4
- package/dist/utils/dom.d.ts +1 -1
- package/package.json +64 -64
- package/dist/components/avatar/index.d.ts +0 -2
- package/dist/components/badge/index.d.ts +0 -2
- package/dist/components/bento-menu-button/index.d.ts +0 -3
- package/dist/components/breadcrumb/index.d.ts +0 -2
- package/dist/components/buttons/abstract/index.d.ts +0 -2
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/card-link/index.d.ts +0 -2
- package/dist/components/carousel/index.d.ts +0 -2
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/checkbox-group/index.d.ts +0 -2
- package/dist/components/chooser-button/chooser-label.d.ts +0 -1
- package/dist/components/chooser-button/index.d.ts +0 -2
- package/dist/components/chooser-button-group/index.d.ts +0 -2
- package/dist/components/combobox/index.d.ts +0 -2
- package/dist/components/date-picker/index.d.ts +0 -3
- package/dist/components/date-picker/utils/index.d.ts +0 -1
- package/dist/components/device-context-provider/index.d.ts +0 -2
- package/dist/components/disclosure/index.d.ts +0 -2
- package/dist/components/dropdown-list/index.d.ts +0 -2
- package/dist/components/dropdown-menu/index.d.ts +0 -3
- package/dist/components/dropdown-menu-button/dropdown-menu-button-classes.d.ts +0 -7
- package/dist/components/dropdown-menu-button/index.d.ts +0 -3
- package/dist/components/dropdown-navigation/index.d.ts +0 -2
- package/dist/components/error-summary/index.d.ts +0 -2
- package/dist/components/external-link/index.d.ts +0 -2
- package/dist/components/feedbacks/index.d.ts +0 -2
- package/dist/components/field-container/index.d.ts +0 -2
- package/dist/components/filters/filter-multi.d.ts +0 -17
- package/dist/components/filters/filter-option.d.ts +0 -5
- package/dist/components/filters/filter-single.d.ts +0 -14
- package/dist/components/filters/index.d.ts +0 -5
- package/dist/components/filters/internal/clear-filters.d.ts +0 -6
- package/dist/components/filters/internal/filter-dropdown-button.d.ts +0 -12
- package/dist/components/filters/internal/list-container.d.ts +0 -17
- package/dist/components/filters/internal/use-list-filter.d.ts +0 -15
- package/dist/components/filters/internal/use.search.d.ts +0 -11
- package/dist/components/global-banner/index.d.ts +0 -2
- package/dist/components/global-header/index.d.ts +0 -3
- package/dist/components/heading/index.d.ts +0 -2
- package/dist/components/icon/index.d.ts +0 -2
- package/dist/components/index.d.ts +0 -73
- package/dist/components/internationalization-provider/index.d.ts +0 -2
- package/dist/components/label/index.d.ts +0 -2
- package/dist/components/listbox/index.d.ts +0 -2
- package/dist/components/listbox/listbox-tag.d.ts +0 -18
- package/dist/components/listbox/utils/index.d.ts +0 -1
- package/dist/components/listbox/utils/listbox-utils.d.ts +0 -34
- package/dist/components/lozenge/index.d.ts +0 -2
- package/dist/components/menu/index.d.ts +0 -2
- package/dist/components/menu-button/index.d.ts +0 -2
- package/dist/components/modal/dialog/index.d.ts +0 -2
- package/dist/components/nav-list/index.d.ts +0 -3
- package/dist/components/pagination/index.d.ts +0 -2
- package/dist/components/pagination/util/index.d.ts +0 -1
- package/dist/components/password-creation-input/index.d.ts +0 -4
- package/dist/components/password-input/index.d.ts +0 -2
- package/dist/components/phone-input/index.d.ts +0 -2
- package/dist/components/progress-circular/index.d.ts +0 -2
- package/dist/components/progress-indicator/index.d.ts +0 -1
- package/dist/components/progress-tracker/index.d.ts +0 -2
- package/dist/components/radio-button/index.d.ts +0 -2
- package/dist/components/radio-button-group/index.d.ts +0 -2
- package/dist/components/radio-card-group/index.d.ts +0 -4
- package/dist/components/route-link/index.d.ts +0 -2
- package/dist/components/route-link/styles/index.d.ts +0 -1
- package/dist/components/screen-reader-only-text/index.d.ts +0 -2
- package/dist/components/search/index.d.ts +0 -4
- package/dist/components/sectional-banner/index.d.ts +0 -2
- package/dist/components/segmented-control/index.d.ts +0 -2
- package/dist/components/shadow-wrapper/index.d.ts +0 -2
- package/dist/components/side-drawer/index.d.ts +0 -2
- package/dist/components/skip-link/index.d.ts +0 -2
- package/dist/components/slider/index.d.ts +0 -2
- package/dist/components/stepper-input/index.d.ts +0 -2
- package/dist/components/table/table-caption.d.ts +0 -14
- package/dist/components/table/utils/index.d.ts +0 -1
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/tabs/tabs-classes.d.ts +0 -5
- package/dist/components/tabs/types.d.ts +0 -30
- package/dist/components/tag/index.d.ts +0 -4
- package/dist/components/text-area/index.d.ts +0 -2
- package/dist/components/text-input/styles/index.d.ts +0 -1
- package/dist/components/theme-wrapper/index.d.ts +0 -2
- package/dist/components/toast/index.d.ts +0 -3
- package/dist/components/toggle-switch/index.d.ts +0 -2
- package/dist/components/toggletip/index.d.ts +0 -2
- package/dist/components/tooltip/index.d.ts +0 -2
- package/dist/components/user-profile/index.d.ts +0 -2
- package/dist/components/visually-hidden/index.d.ts +0 -2
- package/dist/components/visually-hidden/visually-hidden.d.ts +0 -3
- package/dist/hooks/use-dropdown/index.d.ts +0 -2
- package/dist/hooks/use-dropdown/use-dropdown.d.ts +0 -20
- package/dist/themes/tokens/alias/color-tokens.d.ts +0 -3
- package/dist/themes/tokens/alias/text-tokens.d.ts +0 -3
- package/dist/themes/tokens/component/caption-tokens.d.ts +0 -3
- package/dist/themes/tokens/component/filter-tokens.d.ts +0 -3
- package/dist/themes/tokens/component/progress-indicator-tokens.d.ts +0 -3
- package/dist/themes/tokens/ref/text-tokens.d.ts +0 -3
- package/dist/themes/tokens/ref/utility-tokens.d.ts +0 -3
- package/dist/themes/tokens/tokens.d.ts +0 -11
- package/dist/utils/css-values/box-shadow.d.ts +0 -11
- package/dist/utils/css-values/box-shadow.test.d.ts +0 -1
- package/dist/utils/css-values/index.d.ts +0 -2
- package/dist/utils/css-values/size.d.ts +0 -5
- package/dist/utils/css-values/size.test.d.ts +0 -1
- /package/dist/components/{listbox/utils/listbox-utils.test.d.ts → dropdown-list/utils/dropdown-list-utils.test.d.ts} +0 -0
- /package/dist/components/visually-hidden/{visually-hidden.style.d.ts → styles/visuallyhidden.d.ts} +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { FilterOption } from './filter-option';
|
|
3
|
-
type Value = string | null;
|
|
4
|
-
export interface FilterSingleProps {
|
|
5
|
-
label: string;
|
|
6
|
-
options: FilterOption[];
|
|
7
|
-
value?: Value;
|
|
8
|
-
onChange?(value: Value): void;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @alpha This component is experimental and may change without a major version bump.
|
|
12
|
-
*/
|
|
13
|
-
export declare const FilterSingle: FC<FilterSingleProps>;
|
|
14
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type ThemeProps } from 'styled-components';
|
|
2
|
-
import { ResolvedTheme } from '../../../themes';
|
|
3
|
-
interface FilterDropdownButtonProps extends ThemeProps<ResolvedTheme> {
|
|
4
|
-
$label: string;
|
|
5
|
-
$hasFilters: boolean;
|
|
6
|
-
}
|
|
7
|
-
interface PortalDropdownMenuProps {
|
|
8
|
-
$dropdownMenuId: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const PortalFilterDropdownMenuStyle: import("styled-components").GlobalStyleComponent<PortalDropdownMenuProps, import("styled-components").DefaultTheme>;
|
|
11
|
-
export declare const FilterDropdownButton: import("styled-components").StyledComponent<import("react").FC<import("../../dropdown-menu-button").DropdownMenuButtonProps>, import("styled-components").DefaultTheme, FilterDropdownButtonProps, never>;
|
|
12
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'react';
|
|
2
|
-
import type { ListboxRef } from '../../listbox/listbox';
|
|
3
|
-
import type { FilterOption } from '../filter-option';
|
|
4
|
-
export declare const Divider: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export interface ListContainerProps {
|
|
6
|
-
listboxRef: Ref<ListboxRef>;
|
|
7
|
-
multiselect?: boolean;
|
|
8
|
-
options: FilterOption[];
|
|
9
|
-
searchRef: Ref<HTMLInputElement>;
|
|
10
|
-
selectedFiltersCount: number;
|
|
11
|
-
value: string | string[] | null | undefined;
|
|
12
|
-
onChange?(options: FilterOption[]): void;
|
|
13
|
-
onClearFilters(): void;
|
|
14
|
-
onOptionClick?(option: FilterOption): void;
|
|
15
|
-
onSearchChange?(search: string): void;
|
|
16
|
-
}
|
|
17
|
-
export declare const ListContainer: import("react").ForwardRefExoticComponent<ListContainerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { FilterOption } from '../filter-option';
|
|
2
|
-
type Nullable<T> = T | null | undefined;
|
|
3
|
-
type Value = string | string[];
|
|
4
|
-
export interface UseListFilterResponse {
|
|
5
|
-
displayValue: string;
|
|
6
|
-
filteredOptions: FilterOption[];
|
|
7
|
-
hasFiltersApplied: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface UseListFilterOptions<T extends Value> {
|
|
10
|
-
options: FilterOption[];
|
|
11
|
-
searchValue: string;
|
|
12
|
-
value: Nullable<T>;
|
|
13
|
-
}
|
|
14
|
-
export declare function useListFilter<T extends Value>({ searchValue, options, value, }: UseListFilterOptions<T>): UseListFilterResponse;
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface UseSearchOptions {
|
|
2
|
-
initialSearchValue?: string;
|
|
3
|
-
optionsCount: number;
|
|
4
|
-
}
|
|
5
|
-
export interface UseSearchResponse {
|
|
6
|
-
searchEnabled: boolean;
|
|
7
|
-
searchValue: string;
|
|
8
|
-
handleSearchChange?(newValue: string): void;
|
|
9
|
-
setSearchValue(value: string): void;
|
|
10
|
-
}
|
|
11
|
-
export declare function useSearch({ initialSearchValue, optionsCount, }: UseSearchOptions): UseSearchResponse;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export * from './accordion';
|
|
2
|
-
export * from './avatar';
|
|
3
|
-
export * from './badge';
|
|
4
|
-
export * from './bento-menu-button';
|
|
5
|
-
export * from './breadcrumb';
|
|
6
|
-
export * from './buttons';
|
|
7
|
-
export * from './card';
|
|
8
|
-
export * from './card-link';
|
|
9
|
-
export * from './carousel';
|
|
10
|
-
export * from './checkbox';
|
|
11
|
-
export * from './checkbox-group';
|
|
12
|
-
export * from './chooser-button';
|
|
13
|
-
export * from './chooser-button-group';
|
|
14
|
-
export * from './combobox';
|
|
15
|
-
export * from './date-picker';
|
|
16
|
-
export * from './design-system';
|
|
17
|
-
export { useDeviceContext, type DeviceContextProviderProps } from './device-context-provider';
|
|
18
|
-
export * from './disclosure';
|
|
19
|
-
export * from './dropdown-list';
|
|
20
|
-
export type { ExternalItemProps, GroupItemProps, NavItemProps } from './dropdown-menu';
|
|
21
|
-
export * from './dropdown-navigation';
|
|
22
|
-
export * from './error-summary';
|
|
23
|
-
export * from './external-link';
|
|
24
|
-
export * from './feedbacks';
|
|
25
|
-
export * from './field-container';
|
|
26
|
-
export * from './fieldset';
|
|
27
|
-
export * from './filters';
|
|
28
|
-
export * from './global-banner';
|
|
29
|
-
export * from './global-header';
|
|
30
|
-
export * from './heading';
|
|
31
|
-
export * from './icon';
|
|
32
|
-
export * from './label';
|
|
33
|
-
export * from './link';
|
|
34
|
-
export * from './listbox';
|
|
35
|
-
export * from './lozenge';
|
|
36
|
-
export * from './menu';
|
|
37
|
-
export * from './menu-button';
|
|
38
|
-
export * from './modal';
|
|
39
|
-
export * from './money-input';
|
|
40
|
-
export * from './nav-list';
|
|
41
|
-
export * from './numeric-input';
|
|
42
|
-
export * from './pagination';
|
|
43
|
-
export * from './password-creation-input';
|
|
44
|
-
export * from './password-input';
|
|
45
|
-
export * from './phone-input';
|
|
46
|
-
export * from './progress-circular';
|
|
47
|
-
export * from './progress-indicator';
|
|
48
|
-
export * from './progress-tracker';
|
|
49
|
-
export * from './radio-button';
|
|
50
|
-
export * from './radio-button-group';
|
|
51
|
-
export * from './radio-card-group';
|
|
52
|
-
export * from './route-link';
|
|
53
|
-
export * from './screen-reader-only-text';
|
|
54
|
-
export * from './search';
|
|
55
|
-
export * from './sectional-banner';
|
|
56
|
-
export * from './segmented-control';
|
|
57
|
-
export * from './shadow-wrapper';
|
|
58
|
-
export * from './side-drawer';
|
|
59
|
-
export * from './skip-link';
|
|
60
|
-
export * from './slider';
|
|
61
|
-
export * from './spinner';
|
|
62
|
-
export * from './stepper-input';
|
|
63
|
-
export * from './table';
|
|
64
|
-
export * from './tabs';
|
|
65
|
-
export * from './tag';
|
|
66
|
-
export * from './text-area';
|
|
67
|
-
export * from './text-input';
|
|
68
|
-
export * from './toast';
|
|
69
|
-
export * from './toggle-switch';
|
|
70
|
-
export * from './toggletip';
|
|
71
|
-
export * from './tooltip';
|
|
72
|
-
export * from './user-profile';
|
|
73
|
-
export * from './visually-hidden';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC, RefObject } from 'react';
|
|
2
|
-
type ListOption = {
|
|
3
|
-
value: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
};
|
|
6
|
-
export interface TagValue {
|
|
7
|
-
id?: string;
|
|
8
|
-
label: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ListBoxTagProps<T extends ListOption> {
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
option: T;
|
|
13
|
-
readOnly?: boolean;
|
|
14
|
-
textboxRef: RefObject<HTMLDivElement>;
|
|
15
|
-
handleTagRemove?(tag: TagValue): void;
|
|
16
|
-
}
|
|
17
|
-
export declare const ListboxTag: FC<ListBoxTagProps<ListOption>>;
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './listbox-utils';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
type HasValue = {
|
|
2
|
-
value: string;
|
|
3
|
-
};
|
|
4
|
-
type Value = string | string[];
|
|
5
|
-
export declare function optionsAreEqual<T extends HasValue>(option: T, optionToCompare: T): boolean;
|
|
6
|
-
export declare function addUniqueOption<T extends HasValue>(newOption: T, options?: T[]): T[];
|
|
7
|
-
export declare function removeOption<T extends HasValue>(optionToRemove: T, options?: T[]): T[];
|
|
8
|
-
export declare function isOptionEnabled<T extends {
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}>(option: T): boolean;
|
|
11
|
-
export declare function disableNonSelectedOptions<T extends {
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
value: string;
|
|
14
|
-
}>(options: T[], selectedOptions: T[]): T[];
|
|
15
|
-
export declare function findOptionsByValue<T extends HasValue>(options: T[], searchValue?: Value | undefined): T[];
|
|
16
|
-
export declare function createCustomOption<T extends {
|
|
17
|
-
value: string;
|
|
18
|
-
label?: string;
|
|
19
|
-
}>(value: string, label?: string): T;
|
|
20
|
-
export declare function getDefaultOptions<T extends {
|
|
21
|
-
value: string;
|
|
22
|
-
label?: string;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
}>(searchValue: Value | undefined, options: T[], multiselect?: boolean, forceSelectDefaultOption?: boolean): T[] | undefined;
|
|
25
|
-
export declare function getOptionLabel<T extends {
|
|
26
|
-
label?: string;
|
|
27
|
-
}>(option: T): string;
|
|
28
|
-
export declare function getValueAsString(value: Value | undefined): string;
|
|
29
|
-
export declare function getValueAsStringArray(value: Value | undefined): string[];
|
|
30
|
-
export declare function isOptionSelected<T extends HasValue>(option: T, selectedOptions: T[] | undefined): boolean;
|
|
31
|
-
export declare function getNewOptionSelection<T extends HasValue>(option: T, selectedOptions: T[] | undefined, forceSelected?: boolean): T[];
|
|
32
|
-
export declare function getSelectedOptionValues<T extends HasValue>(selectedOptions: T[] | undefined): string[] | undefined;
|
|
33
|
-
export declare function getJoinedValues<T extends HasValue>(selectedOptions: T[] | undefined): string;
|
|
34
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './pagination-util';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { PasswordCreationInput } from './password-creation-input';
|
|
2
|
-
export { hasALowerCaseLetter, hasAnUpperCaseLetter, hasMinLength as isLongEnough, } from './validation-condition';
|
|
3
|
-
export type { PasswordCreationInputProps } from './password-creation-input';
|
|
4
|
-
export type { ValidationCondition } from './validation-condition';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ProgressIndicator } from './progress-indicator';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './styled-link';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export type TableCaptionSize = 'large' | 'medium' | 'small';
|
|
3
|
-
export interface TableCaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
|
|
4
|
-
className?: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
bold?: boolean;
|
|
7
|
-
size?: TableCaptionSize;
|
|
8
|
-
}
|
|
9
|
-
export interface StyledTableCaptionProps {
|
|
10
|
-
$bold?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const TableCaption: import("react").ForwardRefExoticComponent<TableCaptionProps & {
|
|
13
|
-
children?: import("react").ReactNode | undefined;
|
|
14
|
-
} & import("react").RefAttributes<HTMLTableCaptionElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './table-utils';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { KeyboardEvent, ReactNode } from 'react';
|
|
2
|
-
import type { IconName } from '../icon';
|
|
3
|
-
export type TabSize = 'medium' | 'small';
|
|
4
|
-
export interface Tab {
|
|
5
|
-
id: string;
|
|
6
|
-
title: string;
|
|
7
|
-
leftIcon?: IconName;
|
|
8
|
-
rightIcon?: IconName;
|
|
9
|
-
panelContent: ReactNode;
|
|
10
|
-
onBeforeUnload?(): Promise<boolean>;
|
|
11
|
-
}
|
|
12
|
-
export interface TabButtonProps {
|
|
13
|
-
size: TabSize;
|
|
14
|
-
id: string;
|
|
15
|
-
panelId: string;
|
|
16
|
-
leftIcon?: IconName;
|
|
17
|
-
rightIcon?: IconName;
|
|
18
|
-
isSelected: boolean;
|
|
19
|
-
onClick(): void;
|
|
20
|
-
onRemove?(): void;
|
|
21
|
-
onKeyDown?(event: KeyboardEvent<HTMLDivElement>): void;
|
|
22
|
-
children: ReactNode;
|
|
23
|
-
}
|
|
24
|
-
export interface TabPanelProps {
|
|
25
|
-
buttonId: string;
|
|
26
|
-
children: ReactNode;
|
|
27
|
-
hidden: boolean;
|
|
28
|
-
id: string;
|
|
29
|
-
size?: TabSize;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './inputs';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type ReferenceType, type UseFloatingOptions } from '@floating-ui/react-dom';
|
|
2
|
-
import { type MutableRefObject } from 'react';
|
|
3
|
-
export interface DropdownRefs<T> {
|
|
4
|
-
floating: MutableRefObject<HTMLElement | null>;
|
|
5
|
-
reference: MutableRefObject<T | null>;
|
|
6
|
-
setFloating(node: HTMLElement | null): void;
|
|
7
|
-
setReference(node: T | null): void;
|
|
8
|
-
}
|
|
9
|
-
export interface UseDropdownResponse<T> {
|
|
10
|
-
refs: DropdownRefs<T>;
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
update(): void;
|
|
14
|
-
}
|
|
15
|
-
export interface UseDropdownOptions {
|
|
16
|
-
open: boolean;
|
|
17
|
-
placement?: UseFloatingOptions['placement'];
|
|
18
|
-
width?: 'auto' | 'initial' | 'reference' | number;
|
|
19
|
-
}
|
|
20
|
-
export declare function useDropdown<T extends ReferenceType>({ open, placement, width, }: UseDropdownOptions): UseDropdownResponse<T>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { AliasTokenMap } from '../tokens';
|
|
2
|
-
export type ColorAliasToken = 'color-action' | 'color-action-hover' | 'color-action-disabled' | 'color-action-destructive' | 'color-action-destructive-hover' | 'color-action-destructive-disabled' | 'color-action-inverse' | 'color-action-inverse-hover' | 'color-action-inverse-disabled' | 'color-background-neutral-subtlest' | 'color-background-neutral-subtle' | 'color-background-neutral-bold' | 'color-background-neutral-bold-disabled' | 'color-feedback-background-success-subtle' | 'color-feedback-background-warning-subtle' | 'color-feedback-background-alert-subtle' | 'color-feedback-background-discovery-subtle' | 'color-feedback-background-informative-subtle' | 'color-feedback-background-success-subtlest' | 'color-feedback-background-warning-subtlest' | 'color-feedback-background-alert-subtlest' | 'color-feedback-background-discovery-subtlest' | 'color-feedback-background-informative-subtlest' | 'color-feedback-background-success-bold' | 'color-feedback-background-success-bold-disabled' | 'color-feedback-background-alert-bold' | 'color-feedback-background-warning-bold' | 'color-feedback-background-discovery-bold' | 'color-feedback-background-informative-bold' | 'color-feedback-border-success' | 'color-feedback-border-warning' | 'color-feedback-border-alert' | 'color-feedback-border-discovery' | 'color-feedback-border-informative' | 'color-feedback-content-success' | 'color-feedback-content-warning' | 'color-feedback-content-alert' | 'color-feedback-content-discovery' | 'color-feedback-content-informative' | 'color-control-background' | 'color-control-background-hover' | 'color-control-background-disabled' | 'color-control-background-readonly' | 'color-control-background-checked' | 'color-control-background-selected' | 'color-control-background-selected-hover' | 'color-control-border' | 'color-control-border-hover' | 'color-control-border-disabled' | 'color-control-border-readonly' | 'color-control-border-selected' | 'color-control-border-checked' | 'color-control-border-error' | 'color-control-value' | 'color-control-value-hover' | 'color-control-value-disabled' | 'color-control-value-readonly' | 'color-control-auxiliary' | 'color-control-auxiliary-hover' | 'color-control-auxiliary-disabled' | 'color-control-auxiliary-readonly' | 'color-control-auxiliary-error' | 'color-control-auxiliary-success' | 'color-control-auxiliary-checked' | 'color-control-auxiliary-selected' | 'color-menu-background' | 'color-menu-border' | 'color-menu-item-background' | 'color-menu-item-background-hover' | 'color-menu-item-content' | 'color-menu-item-subcontent' | 'color-menu-item-content-hover' | 'color-menu-item-content-disabled' | 'color-background-brand-subtle' | 'color-background-brand' | 'color-background-brand-bold' | 'color-background-indicator-disabled' | 'color-background-indicator-selected' | 'color-background-indicator-active' | 'color-border-brand' | 'color-border-brand-bold' | 'color-content-brand' | 'color-background' | 'color-background-overlay' | 'color-background-isolated' | 'color-background-disabled' | 'color-background-empty' | 'color-background-hover' | 'color-background-selected' | 'color-background-selected-hover' | 'color-backdrop-background' | 'color-backdrop-background-subtle' | 'color-border' | 'color-border-subtle' | 'color-border-bold' | 'color-border-overlay' | 'color-border-hover' | 'color-border-disabled' | 'color-border-empty' | 'color-border-selected' | 'color-border-inverse' | 'color-border-focus-outside' | 'color-border-focus-inside' | 'color-border-focus-outside-inverse' | 'color-border-focus-inside-inverse' | 'color-content' | 'color-content-subtle' | 'color-content-inverse' | 'color-content-disabled' | 'color-content-hover' | 'color-content-selected' | 'color-link-content' | 'color-link-content-visited' | 'color-link-content-disabled' | 'color-link-content-hover' | 'color-box-shadow';
|
|
3
|
-
export declare const defaultColorAliasTokens: AliasTokenMap<ColorAliasToken>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { AliasTokenMap } from '../tokens';
|
|
2
|
-
export type TextAliasToken = 'text-heading-font-family' | 'text-heading-font-weight' | 'text-heading-letter-spacing' | 'text-heading-transform' | 'text-heading-xsmall-font-size' | 'text-heading-xsmall-line-height' | 'text-heading-small-font-size' | 'text-heading-small-line-height' | 'text-heading-medium-font-size' | 'text-heading-medium-line-height' | 'text-heading-large-font-size' | 'text-heading-large-line-height' | 'text-heading-xlarge-font-size' | 'text-heading-xlarge-line-height' | 'text-body-font-family' | 'text-body-font-weight' | 'text-body-letter-spacing' | 'text-body-transform' | 'text-body-strong-font-weight' | 'text-body-small-font-size' | 'text-body-small-line-height' | 'text-body-medium-font-size' | 'text-body-medium-line-height' | 'text-body-large-font-size' | 'text-body-large-line-height' | 'text-emphasis-font-family' | 'text-emphasis-font-weight' | 'text-emphasis-letter-spacing' | 'text-emphasis-transform' | 'text-emphasis-small-font-size' | 'text-emphasis-small-line-height' | 'text-emphasis-medium-font-size' | 'text-emphasis-medium-line-height' | 'text-emphasis-large-font-size' | 'text-emphasis-large-line-height' | 'text-caps-font-family' | 'text-caps-font-weight' | 'text-caps-letter-spacing' | 'text-caps-transform' | 'text-caps-small-font-size' | 'text-caps-small-line-height' | 'text-caps-medium-font-size' | 'text-caps-medium-line-height' | 'text-label-font-family' | 'text-label-font-weight' | 'text-label-letter-spacing' | 'text-label-transform' | 'text-label-small-font-size' | 'text-label-small-line-height' | 'text-label-medium-font-size' | 'text-label-medium-line-height' | 'text-legend-font-family' | 'text-legend-font-weight' | 'text-legend-letter-spacing' | 'text-legend-transform' | 'text-legend-xxsmall-font-size' | 'text-legend-xxsmall-line-height' | 'text-legend-xsmall-font-size' | 'text-legend-xsmall-line-height' | 'text-legend-small-font-size' | 'text-legend-small-line-height' | 'text-legend-medium-font-size' | 'text-legend-medium-line-height' | 'text-legend-large-font-size' | 'text-legend-large-line-height' | 'text-caption-font-family' | 'text-caption-font-weight' | 'text-caption-letter-spacing' | 'text-caption-transform' | 'text-caption-small-font-size' | 'text-caption-small-line-height' | 'text-caption-medium-font-size' | 'text-caption-medium-line-height' | 'text-caption-large-font-size' | 'text-caption-large-line-height';
|
|
3
|
-
export declare const defaultTextAliasTokens: AliasTokenMap<TextAliasToken>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { ComponentTokenMap } from '../tokens';
|
|
2
|
-
export type FilterToken = 'filter-button-active-background-color' | 'filter-button-active-border-color' | 'filter-button-active-label-color' | 'filter-button-active-value-color' | 'filter-button-background-color' | 'filter-button-border-color' | 'filter-button-hover-background-color' | 'filter-button-hover-border-color' | 'filter-button-hover-label-color' | 'filter-button-hover-value-color' | 'filter-button-label-color' | 'filter-button-value-color' | 'filter-clear-color' | 'filter-clear-disabled-color' | 'filter-divider-color' | 'filter-expand-icon-color';
|
|
3
|
-
export declare const defaultFilterTokens: ComponentTokenMap<FilterToken>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { RefTokenMap } from '../tokens';
|
|
2
|
-
export type TextToken = 'font-family-sans' | 'font-family-brand' | 'font-size-100' | 'font-size-200' | 'font-size-275' | 'font-size-300' | 'font-size-350' | 'font-size-400' | 'font-size-500' | 'font-size-600' | 'font-size-700' | 'font-size-800' | 'font-size-900' | 'font-size-1000' | 'font-size-1100' | 'font-size-1200' | 'font-weight-regular' | 'font-weight-semibold' | 'font-weight-bold' | 'line-height-100' | 'line-height-200' | 'line-height-300' | 'line-height-400' | 'line-height-500' | 'line-height-600' | 'line-height-700' | 'line-height-800' | 'line-height-900' | 'line-height-1000' | 'line-height-1100' | 'line-height-1200' | 'letter-spacing-normal' | 'font-transform-none' | 'font-transform-uppercase';
|
|
3
|
-
export declare const defaultTextTokens: RefTokenMap<TextToken>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { RefTokenMap } from '../tokens';
|
|
2
|
-
export type UtilityToken = 'transparent-dark-3' | 'transparent-dark-5' | 'transparent-light-5' | 'transparent-dark-10' | 'transparent-light-10' | 'transparent-dark-15' | 'transparent-light-15' | 'transparent-dark-20' | 'transparent-light-20' | 'transparent-dark-25' | 'transparent-light-25' | 'transparent-dark-30' | 'transparent-light-30' | 'transparent-dark-35' | 'transparent-light-35' | 'transparent-dark-40' | 'transparent-light-40' | 'transparent-dark-45' | 'transparent-light-45' | 'transparent-dark-50' | 'transparent-light-50' | 'transparent-dark-55' | 'transparent-light-55' | 'transparent-dark-60' | 'transparent-light-60' | 'transparent-dark-65' | 'transparent-light-65' | 'transparent-dark-70' | 'transparent-light-70' | 'transparent-dark-75' | 'transparent-light-75' | 'transparent-dark-80' | 'transparent-light-80' | 'transparent-dark-85' | 'transparent-light-85' | 'transparent-dark-90' | 'transparent-light-90' | 'transparent-dark-95' | 'transparent-light-95' | 'transparent-100';
|
|
3
|
-
export declare const defaultUtilityTokens: RefTokenMap<UtilityToken>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { AliasToken } from './alias-tokens';
|
|
2
|
-
import type { RefToken } from './ref-tokens';
|
|
3
|
-
export type TokenName = string;
|
|
4
|
-
export type TokenValue = string;
|
|
5
|
-
export type TokenMap<T extends TokenName, V extends TokenValue> = {
|
|
6
|
-
[Name in T]: Exclude<V, Name>;
|
|
7
|
-
};
|
|
8
|
-
export type ResolvedTokenMap<T extends TokenName> = TokenMap<T, TokenValue>;
|
|
9
|
-
export type RefTokenMap<T extends TokenName> = ResolvedTokenMap<T>;
|
|
10
|
-
export type AliasTokenMap<T extends TokenName> = TokenMap<T, RefToken | AliasToken>;
|
|
11
|
-
export type ComponentTokenMap<T extends TokenName> = TokenMap<T, RefToken | AliasToken>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface BoxShadow {
|
|
2
|
-
inset: boolean;
|
|
3
|
-
offsetX: string;
|
|
4
|
-
offsetY: string;
|
|
5
|
-
blurRadius?: string;
|
|
6
|
-
spreadRadius?: string;
|
|
7
|
-
color?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function parseBoxShadow(shadow: string): BoxShadow[];
|
|
10
|
-
export declare function findMaxBottomBoxShadow(shadows: BoxShadow[]): number;
|
|
11
|
-
export declare function findMaxTopBoxShadow(shadows: BoxShadow[]): number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|