@equisoft/design-elements-react 9.11.1 → 9.11.2-snapshot.20260202170508
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 +2292 -2385
- package/dist/bundle.js.LICENSE.txt +18 -12
- 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 +1 -2
- package/dist/components/avatar/avatar.d.ts +2 -2
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/badge/badge.d.ts +2 -3
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/bento-menu-button/bento-menu-button.d.ts +1 -2
- package/dist/components/bento-menu-button/index.d.ts +3 -0
- package/dist/components/bento-menu-button/product-group.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +4 -5
- package/dist/components/breadcrumb/index.d.ts +2 -0
- 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 +10 -1
- package/dist/components/buttons/abstract/index.d.ts +2 -0
- package/dist/components/buttons/abstract/{styled.d.ts → styles.d.ts} +3 -4
- package/dist/components/buttons/button.d.ts +41 -1
- 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 +7 -7
- package/dist/components/buttons/toggle-button.d.ts +1 -1
- package/dist/components/card/card.d.ts +2 -3
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card-link/card-link.d.ts +3 -4
- package/dist/components/card-link/index.d.ts +2 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +11 -11
- package/dist/components/checkbox-group/index.d.ts +2 -0
- package/dist/components/chooser-button/chooser-button.d.ts +1 -2
- package/dist/components/chooser-button/chooser-label.d.ts +1 -0
- package/dist/components/chooser-button/index.d.ts +2 -0
- package/dist/components/chooser-button-group/chooser-button-group.d.ts +3 -4
- package/dist/components/chooser-button-group/index.d.ts +2 -0
- package/dist/components/combobox/combobox.d.ts +21 -10
- package/dist/components/combobox/index.d.ts +2 -0
- package/dist/components/date-picker/calendar-header.d.ts +3 -3
- package/dist/components/date-picker/date-picker.d.ts +4 -5
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/utils/datepicker-utils.d.ts +1 -1
- package/dist/components/date-picker/utils/index.d.ts +1 -0
- package/dist/components/design-system.d.ts +4 -3
- package/dist/components/device-context-provider/device-context-provider.d.ts +2 -2
- package/dist/components/device-context-provider/index.d.ts +2 -0
- package/dist/components/disclosure/disclosure.d.ts +7 -8
- package/dist/components/disclosure/index.d.ts +2 -0
- package/dist/components/dropdown-list/dropdown-list.d.ts +7 -8
- package/dist/components/dropdown-list/index.d.ts +2 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -2
- package/dist/components/dropdown-menu/index.d.ts +3 -0
- 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-classes.d.ts +7 -0
- package/dist/components/dropdown-menu-button/dropdown-menu-button.d.ts +23 -15
- package/dist/components/dropdown-menu-button/index.d.ts +3 -0
- package/dist/components/dropdown-navigation/dropdown-navigation.d.ts +5 -6
- package/dist/components/dropdown-navigation/index.d.ts +2 -0
- package/dist/components/error-summary/error-summary.d.ts +5 -6
- package/dist/components/error-summary/index.d.ts +2 -0
- package/dist/components/external-link/external-link.d.ts +3 -3
- package/dist/components/external-link/index.d.ts +2 -0
- package/dist/components/feedbacks/index.d.ts +2 -0
- package/dist/components/feedbacks/invalid-field.d.ts +3 -4
- package/dist/components/field-container/field-container.d.ts +2 -2
- package/dist/components/field-container/index.d.ts +2 -0
- package/dist/components/fieldset/fieldset.d.ts +16 -1
- package/dist/components/fieldset/index.d.ts +2 -1
- package/dist/components/fieldset/legend.d.ts +12 -2
- package/dist/components/filters/filter-multi.d.ts +17 -0
- package/dist/components/filters/filter-option.d.ts +5 -0
- package/dist/components/filters/filter-single.d.ts +14 -0
- package/dist/components/filters/index.d.ts +5 -0
- package/dist/components/filters/internal/clear-filters.d.ts +6 -0
- package/dist/components/filters/internal/filter-dropdown-button.d.ts +12 -0
- package/dist/components/filters/internal/list-container.d.ts +17 -0
- package/dist/components/filters/internal/use-list-filter.d.ts +15 -0
- package/dist/components/filters/internal/use.search.d.ts +11 -0
- package/dist/components/global-banner/global-banner.d.ts +1 -2
- package/dist/components/global-banner/index.d.ts +2 -0
- package/dist/components/global-header/global-header.d.ts +2 -3
- package/dist/components/global-header/index.d.ts +3 -0
- package/dist/components/heading/heading.d.ts +4 -4
- package/dist/components/heading/index.d.ts +2 -0
- package/dist/components/icon/icon.d.ts +2 -2
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/index.d.ts +73 -0
- package/dist/components/internationalization-provider/index.d.ts +2 -0
- package/dist/components/internationalization-provider/internationalization-provider.d.ts +1 -1
- package/dist/components/label/index.d.ts +2 -0
- package/dist/components/label/label.d.ts +3 -3
- package/dist/components/link/index.d.ts +1 -0
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/types.d.ts +5 -5
- package/dist/components/listbox/index.d.ts +2 -0
- package/dist/components/listbox/listbox-tag.d.ts +18 -0
- package/dist/components/listbox/listbox.d.ts +10 -2
- package/dist/components/listbox/utils/index.d.ts +1 -0
- package/dist/components/listbox/utils/listbox-utils.d.ts +34 -0
- package/dist/components/lozenge/index.d.ts +2 -0
- package/dist/components/lozenge/lozenge.d.ts +3 -4
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/menu.d.ts +3 -5
- package/dist/components/menu-button/index.d.ts +2 -0
- package/dist/components/menu-button/menu-button.d.ts +4 -4
- package/dist/components/modal/dialog/index.d.ts +2 -0
- package/dist/components/modal/dialog/modal-dialog.d.ts +20 -3
- package/dist/components/modal/dialog/styled.d.ts +3 -3
- package/dist/components/modal/index.d.ts +4 -0
- 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 +1 -2
- package/dist/components/money-input/money-input.d.ts +3 -3
- package/dist/components/nav-list/index.d.ts +3 -0
- 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 +0 -1
- package/dist/components/numeric-input/numeric-input.d.ts +5 -5
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/pagination.d.ts +3 -4
- package/dist/components/pagination/util/index.d.ts +1 -0
- package/dist/components/pagination/util/pagination-util.d.ts +1 -2
- package/dist/components/password-creation-input/index.d.ts +4 -0
- package/dist/components/password-creation-input/password-creation-input.d.ts +3 -4
- 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/index.d.ts +2 -0
- package/dist/components/password-input/password-input.d.ts +3 -4
- package/dist/components/phone-input/index.d.ts +2 -0
- package/dist/components/phone-input/phone-input.d.ts +3 -4
- package/dist/components/progress-circular/index.d.ts +2 -0
- package/dist/components/progress-circular/progress-circular.d.ts +2 -2
- package/dist/components/progress-indicator/index.d.ts +1 -0
- package/dist/components/progress-indicator/progress-indicator.d.ts +2 -13
- package/dist/components/progress-tracker/index.d.ts +2 -0
- package/dist/components/progress-tracker/progress-tracker.d.ts +3 -4
- package/dist/components/radio-button/index.d.ts +2 -0
- package/dist/components/radio-button/radio-button.d.ts +1 -2
- package/dist/components/radio-button/radio-input.d.ts +1 -2
- package/dist/components/radio-button-group/index.d.ts +2 -0
- package/dist/components/radio-button-group/radio-button-group.d.ts +8 -9
- package/dist/components/radio-card-group/index.d.ts +4 -0
- package/dist/components/radio-card-group/radio-card-group.d.ts +3 -4
- 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/index.d.ts +2 -0
- package/dist/components/route-link/route-link.d.ts +5 -5
- package/dist/components/route-link/styles/index.d.ts +1 -0
- package/dist/components/screen-reader-only-text/ScreenReaderOnlyText.d.ts +3 -4
- package/dist/components/screen-reader-only-text/index.d.ts +2 -0
- package/dist/components/search/index.d.ts +4 -0
- package/dist/components/search/search-contextual.d.ts +1 -2
- 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/index.d.ts +2 -0
- package/dist/components/sectional-banner/sectional-banner.d.ts +5 -6
- package/dist/components/segmented-control/index.d.ts +2 -0
- package/dist/components/segmented-control/segmented-control.d.ts +4 -5
- package/dist/components/shadow-wrapper/index.d.ts +2 -0
- package/dist/components/shadow-wrapper/shadow-wrapper.d.ts +1 -2
- package/dist/components/side-drawer/index.d.ts +2 -0
- package/dist/components/side-drawer/side-drawer.d.ts +1 -1
- package/dist/components/skip-link/index.d.ts +2 -0
- package/dist/components/skip-link/skip-link.d.ts +2 -2
- package/dist/components/slider/index.d.ts +2 -0
- 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 +5 -0
- package/dist/components/stepper-input/index.d.ts +2 -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 +3 -2
- package/dist/components/table/table-caption.d.ts +14 -0
- 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 +7 -4
- package/dist/components/table/types.d.ts +3 -3
- package/dist/components/table/utils/index.d.ts +1 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/tab-button.d.ts +1 -15
- package/dist/components/tabs/tab-panel.d.ts +2 -9
- package/dist/components/tabs/tabs-classes.d.ts +5 -0
- package/dist/components/tabs/tabs.d.ts +7 -7
- package/dist/components/tabs/types.d.ts +30 -0
- package/dist/components/tag/index.d.ts +4 -0
- package/dist/components/tag/tag.d.ts +3 -3
- package/dist/components/tag/toggle-tag.d.ts +1 -1
- package/dist/components/text-area/index.d.ts +2 -0
- package/dist/components/text-area/text-area.d.ts +4 -4
- package/dist/components/text-input/index.d.ts +4 -2
- package/dist/components/text-input/styles/index.d.ts +1 -0
- 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/index.d.ts +2 -0
- package/dist/components/theme-wrapper/theme-wrapper.d.ts +2 -2
- package/dist/components/toast/index.d.ts +3 -0
- 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/index.d.ts +2 -0
- package/dist/components/toggle-switch/toggle-switch.d.ts +3 -4
- package/dist/components/toggletip/index.d.ts +2 -0
- package/dist/components/toggletip/toggletip.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/user-profile/index.d.ts +2 -0
- package/dist/components/user-profile/user-profile.d.ts +4 -5
- package/dist/components/visually-hidden/index.d.ts +2 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts +3 -0
- package/dist/hooks/use-dropdown/index.d.ts +2 -0
- package/dist/hooks/use-dropdown/use-dropdown.d.ts +20 -0
- package/dist/hooks/use-list-select.d.ts +3 -1
- package/dist/hooks/use-scroll-into-view.d.ts +2 -1
- 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 +26 -0
- package/dist/index.d.ts +2 -82
- package/dist/theme.js +1 -1
- package/dist/themes/build-theme.d.ts +1 -1
- package/dist/themes/index.d.ts +1 -0
- package/dist/themes/theme.d.ts +13 -8
- package/dist/themes/tokens/alias/color-tokens.d.ts +3 -0
- package/dist/themes/tokens/alias/text-tokens.d.ts +3 -0
- package/dist/themes/tokens/alias-tokens.d.ts +195 -51
- package/dist/themes/tokens/component/accordion-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/avatar-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/badge-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/button-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/caption-tokens.d.ts +3 -0
- package/dist/themes/tokens/component/card-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/carousel-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/checkbox-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/chooser-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/combobox-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/datepicker-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/disclosure-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/field-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/filter-tokens.d.ts +3 -0
- package/dist/themes/tokens/component/focus-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/global-banner-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/global-header-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/heading-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/label-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/legend-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/link-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/listbox-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/lozenge-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/menu-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/modal-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/nav-list-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/numeric-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/pagination-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/password-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/phone-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/progress-circular-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/progress-indicator-tokens.d.ts +3 -0
- package/dist/themes/tokens/component/progress-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/radio-card-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/search-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/segmented-control-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/side-drawer-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/slider-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/spinner-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/stepper-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/tab-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/table-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/tag-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/text-area-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/text-input-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/toast-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/toggle-button-tokens.d.ts +2 -7
- package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/toggletip-tokens.d.ts +3 -8
- package/dist/themes/tokens/component/tooltip-tokens.d.ts +3 -8
- package/dist/themes/tokens/component-tokens.d.ts +721 -66
- package/dist/themes/tokens/index.d.ts +1 -0
- package/dist/themes/tokens/ref/palette-tokens.d.ts +3 -6
- package/dist/themes/tokens/ref/text-tokens.d.ts +3 -0
- package/dist/themes/tokens/ref/utility-tokens.d.ts +3 -0
- package/dist/themes/tokens/ref-tokens.d.ts +209 -9
- package/dist/themes/tokens/tokens.d.ts +11 -0
- package/dist/utils/component-classes.d.ts +1 -0
- package/dist/utils/css-state.d.ts +4 -1
- package/dist/utils/css-values/box-shadow.d.ts +11 -0
- package/dist/utils/css-values/box-shadow.test.d.ts +1 -0
- package/dist/utils/css-values/index.d.ts +2 -0
- package/dist/utils/css-values/size.d.ts +5 -0
- package/dist/utils/css-values/size.test.d.ts +1 -0
- package/dist/utils/dom.d.ts +1 -1
- package/package.json +60 -61
- package/dist/components/buttons/abstract/types.d.ts +0 -7
- package/dist/components/buttons/types.d.ts +0 -40
- package/dist/components/chooser-button/styles/choose.d.ts +0 -1
- package/dist/components/dropdown-list/dropdown-list-option.d.ts +0 -4
- package/dist/components/dropdown-list/utils/dropdown-list-utils.d.ts +0 -9
- package/dist/components/fieldset/styled.d.ts +0 -9
- package/dist/components/fieldset/types.d.ts +0 -17
- package/dist/components/global-navigation/global-navigation.d.ts +0 -20
- package/dist/components/legend/legend.d.ts +0 -12
- package/dist/components/listbox/listbox-option.d.ts +0 -5
- package/dist/components/modal/dialog/types.d.ts +0 -19
- package/dist/components/progress-circle/circle.d.ts +0 -9
- package/dist/components/progress-circle/progress-circle.d.ts +0 -12
- package/dist/components/progress-indicator/bar.d.ts +0 -9
- package/dist/components/spinner/spinner.d.ts +0 -3
- package/dist/components/status/status.d.ts +0 -9
- package/dist/components/visually-hidden/visuallyhidden.d.ts +0 -2
- package/dist/themes/tokens/component/global-navigation-tokens.d.ts +0 -8
- package/dist/themes/tokens/component/status-tokens.d.ts +0 -8
- package/dist/themes/tokens/ref/color-utility-tokens.d.ts +0 -6
- package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +0 -6
- package/dist/utility-types.d.ts +0 -1
- /package/dist/components/{dropdown-list/utils/dropdown-list-utils.test.d.ts → listbox/utils/listbox-utils.test.d.ts} +0 -0
- /package/dist/components/visually-hidden/{styles/visuallyhidden.d.ts → visually-hidden.style.d.ts} +0 -0
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
1
|
/*!
|
|
8
2
|
Copyright (c) 2015 Jed Watson.
|
|
9
3
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
@@ -11,7 +5,7 @@ object-assign
|
|
|
11
5
|
*/
|
|
12
6
|
|
|
13
7
|
/*!
|
|
14
|
-
react-datepicker v8.
|
|
8
|
+
react-datepicker v8.8.0
|
|
15
9
|
https://github.com/Hacker0x01/react-datepicker
|
|
16
10
|
Released under the MIT License.
|
|
17
11
|
*/
|
|
@@ -40,13 +34,17 @@ object-assign
|
|
|
40
34
|
*/
|
|
41
35
|
|
|
42
36
|
/**
|
|
43
|
-
* @license
|
|
37
|
+
* @license React
|
|
38
|
+
* react-dom-server-legacy.browser.production.min.js
|
|
44
39
|
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
40
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
47
44
|
*/
|
|
48
45
|
|
|
49
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* @license React
|
|
50
48
|
* react-dom-server.browser.production.min.js
|
|
51
49
|
*
|
|
52
50
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -55,7 +53,8 @@ object-assign
|
|
|
55
53
|
* LICENSE file in the root directory of this source tree.
|
|
56
54
|
*/
|
|
57
55
|
|
|
58
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* @license React
|
|
59
58
|
* react-jsx-runtime.production.min.js
|
|
60
59
|
*
|
|
61
60
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -63,3 +62,10 @@ object-assign
|
|
|
63
62
|
* This source code is licensed under the MIT license found in the
|
|
64
63
|
* LICENSE file in the root directory of this source tree.
|
|
65
64
|
*/
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @license lucide-react v0.563.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { type HeadingTag, type HeadingType } from '../heading';
|
|
3
3
|
export interface AccordionItemProps {
|
|
4
4
|
title: string;
|
|
5
5
|
id?: string;
|
|
6
|
-
headingType?:
|
|
7
|
-
headingTag?:
|
|
6
|
+
headingType?: HeadingType | undefined;
|
|
7
|
+
headingTag?: HeadingTag | undefined;
|
|
8
8
|
expanded?: boolean | undefined;
|
|
9
9
|
disabled?: boolean | undefined;
|
|
10
10
|
onToggle?: () => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { type HeadingTag, type HeadingType } from '../heading';
|
|
3
3
|
export interface ItemsProps {
|
|
4
4
|
title: string;
|
|
5
5
|
content: React.ReactNode | React.ReactElement;
|
|
6
6
|
id?: string;
|
|
7
|
-
headingType?:
|
|
8
|
-
headingTag?:
|
|
7
|
+
headingType?: HeadingType | undefined;
|
|
8
|
+
headingTag?: HeadingTag | undefined;
|
|
9
9
|
expanded?: boolean | undefined;
|
|
10
10
|
disabled?: boolean | undefined;
|
|
11
11
|
buttonRef?: React.RefObject<HTMLButtonElement> | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
export type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large';
|
|
3
3
|
export interface AvatarProps {
|
|
4
4
|
className?: string;
|
|
@@ -7,4 +7,4 @@ export interface AvatarProps {
|
|
|
7
7
|
imgSrc?: string;
|
|
8
8
|
size?: AvatarSize;
|
|
9
9
|
}
|
|
10
|
-
export declare const Avatar:
|
|
10
|
+
export declare const Avatar: FC<AvatarProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren } from 'react';
|
|
2
|
-
type BadgePosition = 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left';
|
|
2
|
+
export type BadgePosition = 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left';
|
|
3
3
|
export declare const BadgeCircle: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
4
4
|
$animate?: boolean;
|
|
5
5
|
$position: BadgePosition;
|
|
@@ -12,7 +12,7 @@ export declare const BadgeDot: import("styled-components").StyledComponent<"span
|
|
|
12
12
|
$offsetX: number;
|
|
13
13
|
$offsetY: number;
|
|
14
14
|
}, never>;
|
|
15
|
-
interface BadgeProps {
|
|
15
|
+
export interface BadgeProps {
|
|
16
16
|
animate?: boolean;
|
|
17
17
|
className?: string;
|
|
18
18
|
/** The largest value to display, beyond which a + sign is shown */
|
|
@@ -29,4 +29,3 @@ interface BadgeProps {
|
|
|
29
29
|
value: number;
|
|
30
30
|
}
|
|
31
31
|
export declare const Badge: FunctionComponent<PropsWithChildren<BadgeProps>>;
|
|
32
|
-
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren } from 'react';
|
|
2
2
|
import { ExternalItemProps, NavItemProps } from '../dropdown-menu/list-items';
|
|
3
3
|
import { ProductGroupProps } from './product-group';
|
|
4
|
-
interface BentoMenuButtonProps {
|
|
4
|
+
export interface BentoMenuButtonProps {
|
|
5
5
|
ariaLabel?: string;
|
|
6
6
|
buttonAriaLabel?: string;
|
|
7
7
|
externalLinks: ExternalItemProps[];
|
|
@@ -14,4 +14,3 @@ interface BentoMenuButtonProps {
|
|
|
14
14
|
title?: string;
|
|
15
15
|
}
|
|
16
16
|
export declare const BentoMenuButton: FunctionComponent<PropsWithChildren<BentoMenuButtonProps>>;
|
|
17
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren, RefObject } from 'react';
|
|
2
|
-
import { NavItemProps } from '../dropdown-menu/list-items';
|
|
2
|
+
import { type NavItemProps } from '../dropdown-menu/list-items';
|
|
3
3
|
export interface ProductGroupProps {
|
|
4
4
|
onClick?(): void;
|
|
5
5
|
firstItemRef?: RefObject<HTMLAnchorElement>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NavListOption } from '../nav-list
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type NavListOption } from '../nav-list';
|
|
3
3
|
export type BreadcrumbElement = NavListOption;
|
|
4
|
-
interface BreadcrumbProps {
|
|
4
|
+
export interface BreadcrumbProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
history: BreadcrumbElement[];
|
|
7
7
|
}
|
|
8
|
-
export declare const Breadcrumb:
|
|
9
|
-
export {};
|
|
8
|
+
export declare const Breadcrumb: FC<BreadcrumbProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Overflow } from '../../hooks/use-overflow';
|
|
2
|
-
import { NavListOption } from '../nav-list
|
|
1
|
+
import { type Overflow } from '../../hooks/use-overflow';
|
|
2
|
+
import { type NavListOption } from '../nav-list';
|
|
3
3
|
interface UseBreadcrumbLayoutEffectRequest {
|
|
4
4
|
overflow: Overflow;
|
|
5
5
|
shownRoutes: NavListOption[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
-
import { NavListOption } from '../nav-list
|
|
3
|
-
import { Overflow } from './use-breadcrumb-overflow';
|
|
2
|
+
import { type NavListOption } from '../nav-list';
|
|
3
|
+
import { type Overflow } from './use-breadcrumb-overflow';
|
|
4
4
|
interface BreadcrumbRoutes {
|
|
5
5
|
shownRoutes: NavListOption[];
|
|
6
6
|
hiddenRoutes: NavListOption[];
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { type BaseButtonStyles } from './styles';
|
|
3
|
+
export declare const StyledAbstractButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, BaseButtonStyles, never>;
|
|
4
|
+
export type ButtonSize = 'small' | 'medium';
|
|
5
|
+
export interface AbstractButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
+
focusable?: boolean;
|
|
7
|
+
isMobile: boolean;
|
|
8
|
+
size?: ButtonSize;
|
|
9
|
+
tabIndex?: number;
|
|
10
|
+
}
|
|
2
11
|
export declare const AbstractButton: import("react").ForwardRefExoticComponent<AbstractButtonProps & {
|
|
3
12
|
children?: import("react").ReactNode | undefined;
|
|
4
13
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { FlattenInterpolation, ThemeProps } from 'styled-components';
|
|
2
|
-
import { ResolvedTheme } from '../../../themes
|
|
3
|
-
import {
|
|
2
|
+
import type { ResolvedTheme } from '../../../themes';
|
|
3
|
+
import type { ButtonSize } from './abstract-button';
|
|
4
4
|
export interface BaseButtonStyles {
|
|
5
|
-
$size?:
|
|
5
|
+
$size?: ButtonSize;
|
|
6
6
|
$isMobile: boolean;
|
|
7
7
|
$focusable?: boolean;
|
|
8
8
|
$inverted?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare const getBaseButtonStyles: ({ $size, $isMobile, $focusable, $inverted, }: BaseButtonStyles) => FlattenInterpolation<ThemeProps<ResolvedTheme>>;
|
|
11
|
-
export declare const StyledAbstractButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, BaseButtonStyles, never>;
|
|
@@ -1,4 +1,44 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FocusEventHandler, type KeyboardEventHandler, type MouseEventHandler } from 'react';
|
|
2
|
+
import { type IconName } from '../icon';
|
|
3
|
+
import { type ButtonSize } from './abstract';
|
|
4
|
+
export type Type = 'submit' | 'button' | 'reset';
|
|
5
|
+
export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'destructive-primary' | 'destructive-secondary' | 'destructive-tertiary';
|
|
6
|
+
export interface ButtonProps {
|
|
7
|
+
id?: string;
|
|
8
|
+
autofocus?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Visual style
|
|
11
|
+
* @default primary
|
|
12
|
+
*/
|
|
13
|
+
buttonType: ButtonType;
|
|
14
|
+
className?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
focusable?: boolean;
|
|
20
|
+
inverted?: boolean;
|
|
21
|
+
label?: string;
|
|
22
|
+
loading?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @default Loading...
|
|
25
|
+
*/
|
|
26
|
+
loadingLabel?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Size variant
|
|
29
|
+
* @default medium
|
|
30
|
+
*/
|
|
31
|
+
size?: ButtonSize;
|
|
32
|
+
tabIndex?: number;
|
|
33
|
+
title?: string;
|
|
34
|
+
type?: Type;
|
|
35
|
+
leftIconName?: IconName;
|
|
36
|
+
rightIconName?: IconName;
|
|
37
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
38
|
+
onFocus?: FocusEventHandler<HTMLButtonElement>;
|
|
39
|
+
onBlur?: FocusEventHandler<HTMLButtonElement>;
|
|
40
|
+
onKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
|
|
41
|
+
}
|
|
2
42
|
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & {
|
|
3
43
|
children?: import("react").ReactNode | undefined;
|
|
4
44
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { AvatarProps } from '../avatar
|
|
3
|
-
import { IconName, IconProps } from '../icon
|
|
4
|
-
import {
|
|
5
|
-
import { ButtonProps } from './
|
|
2
|
+
import { type AvatarProps } from '../avatar';
|
|
3
|
+
import { type IconName, type IconProps } from '../icon';
|
|
4
|
+
import { type ButtonSize } from './abstract';
|
|
5
|
+
import { type ButtonProps } from './button';
|
|
6
6
|
export interface IconButtonProps extends ButtonProps {
|
|
7
7
|
children?: ReactElement<IconProps | AvatarProps>;
|
|
8
8
|
/**
|
|
9
9
|
* Name of the desired icon (refer to icon library)
|
|
10
10
|
*/
|
|
11
11
|
iconName: IconName;
|
|
12
|
-
size?:
|
|
12
|
+
size?: ButtonSize;
|
|
13
13
|
}
|
|
14
14
|
export declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { ButtonProps, ButtonType, Type } from './types';
|
|
3
|
-
export { getBaseButtonStyles } from './abstract/styled';
|
|
4
|
-
export { getButtonTypeStyles, getButtonStyles } from './styled';
|
|
1
|
+
export type { ButtonSize } from './abstract';
|
|
5
2
|
export { AbstractButton } from './abstract/abstract-button';
|
|
3
|
+
export { getBaseButtonStyles } from './abstract/styles';
|
|
6
4
|
export { Button } from './button';
|
|
5
|
+
export type { ButtonProps, ButtonType, Type } from './button';
|
|
6
|
+
export { IconButton } from './icon-button';
|
|
7
7
|
export { SearchButton } from './search-button';
|
|
8
8
|
export { ToggleButton, type ToggleButtonProps } from './toggle-button';
|
|
9
|
-
export {
|
|
9
|
+
export { getButtonTypeStyles, getButtonStyles } from './styled';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type FC, MouseEvent } from 'react';
|
|
2
2
|
interface ButtonProps {
|
|
3
|
-
className
|
|
3
|
+
className?: string;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
onClick?(event: MouseEvent<HTMLButtonElement>): void;
|
|
6
6
|
}
|
|
7
|
-
export declare const SearchButton:
|
|
7
|
+
export declare const SearchButton: FC<ButtonProps>;
|
|
8
8
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlattenInterpolation, ThemeProps } from 'styled-components';
|
|
2
|
-
import { ResolvedTheme } from '../../themes
|
|
3
|
-
import { BaseButtonStyles } from './abstract/
|
|
4
|
-
import { ButtonProps, ButtonType } from './
|
|
2
|
+
import { ResolvedTheme } from '../../themes';
|
|
3
|
+
import { type BaseButtonStyles } from './abstract/styles';
|
|
4
|
+
import type { ButtonProps, ButtonType } from './button';
|
|
5
5
|
interface ButtonTypeStyles {
|
|
6
6
|
buttonType: ButtonType;
|
|
7
7
|
focusable?: boolean;
|
|
@@ -12,12 +12,12 @@ export declare function getButtonTypeStyles({ focusable, inverted, buttonType, t
|
|
|
12
12
|
interface ButtonStylesProps extends ButtonTypeStyles, BaseButtonStyles {
|
|
13
13
|
}
|
|
14
14
|
export declare const getButtonStyles: ({ buttonType, inverted, focusable, $size, $isMobile, theme, }: ButtonStylesProps) => FlattenInterpolation<ThemeProps<ResolvedTheme>>;
|
|
15
|
-
export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("./abstract
|
|
15
|
+
export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("./abstract").AbstractButtonProps & {
|
|
16
16
|
children?: import("react").ReactNode | undefined;
|
|
17
17
|
} & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {
|
|
18
18
|
theme: ResolvedTheme;
|
|
19
19
|
} & ButtonProps, never>;
|
|
20
|
-
export declare const StyledSpinner: import("styled-components").StyledComponent<import("react").
|
|
21
|
-
export declare const LeftIcon: import("styled-components").StyledComponent<import("react").
|
|
22
|
-
export declare const RightIcon: import("styled-components").StyledComponent<import("react").
|
|
20
|
+
export declare const StyledSpinner: import("styled-components").StyledComponent<import("react").FC<import("react").SVGProps<SVGSVGElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
21
|
+
export declare const LeftIcon: import("styled-components").StyledComponent<import("react").FC<import("../icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
22
|
+
export declare const RightIcon: import("styled-components").StyledComponent<import("react").FC<import("../icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
23
23
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren } from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface CardProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
noPadding?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const Card: FunctionComponent<PropsWithChildren<
|
|
7
|
-
export {};
|
|
6
|
+
export declare const Card: FunctionComponent<PropsWithChildren<CardProps>>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
interface CardLinkProps {
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
export interface CardLinkProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
href: string;
|
|
5
5
|
label: string;
|
|
6
6
|
/** When true, clicking the link will replace the current entry in the history stack instead of adding a new one. */
|
|
7
7
|
replace?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare const CardLink:
|
|
10
|
-
export {};
|
|
9
|
+
export declare const CardLink: FC<CardLinkProps>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ChangeEvent,
|
|
2
|
-
interface
|
|
1
|
+
import { ChangeEvent, type FC } from 'react';
|
|
2
|
+
export interface CheckboxGroupItem {
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
defaultChecked?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface CheckboxGroupProps {
|
|
3
10
|
label?: string;
|
|
4
11
|
checkedValues?: string[];
|
|
5
|
-
checkboxGroup:
|
|
6
|
-
label: string;
|
|
7
|
-
name: string;
|
|
8
|
-
value: string;
|
|
9
|
-
defaultChecked?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}[];
|
|
12
|
+
checkboxGroup: CheckboxGroupItem[];
|
|
12
13
|
onChange?(event: ChangeEvent<HTMLInputElement>): void;
|
|
13
14
|
}
|
|
14
|
-
export declare const CheckboxGroup:
|
|
15
|
-
export {};
|
|
15
|
+
export declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeEvent, ReactNode } from 'react';
|
|
2
|
-
interface ChooserButtonProps {
|
|
2
|
+
export interface ChooserButtonProps {
|
|
3
3
|
defaultChecked?: boolean;
|
|
4
4
|
checked?: boolean;
|
|
5
5
|
children: ReactNode;
|
|
@@ -9,4 +9,3 @@ interface ChooserButtonProps {
|
|
|
9
9
|
onChange(event: ChangeEvent<HTMLInputElement>): void;
|
|
10
10
|
}
|
|
11
11
|
export declare const ChooserButton: import("react").ForwardRefExoticComponent<ChooserButtonProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ChooserLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
export interface ChooserButtonOption {
|
|
3
3
|
label: string;
|
|
4
4
|
value?: string;
|
|
5
5
|
}
|
|
6
|
-
interface ChooserButtonGroupProps {
|
|
6
|
+
export interface ChooserButtonGroupProps {
|
|
7
7
|
groupName: string;
|
|
8
8
|
options: ChooserButtonOption[];
|
|
9
9
|
/** Optional button to allow user to skip question */
|
|
@@ -14,5 +14,4 @@ interface ChooserButtonGroupProps {
|
|
|
14
14
|
value?: string | null;
|
|
15
15
|
onChange?(option: ChooserButtonOption): void;
|
|
16
16
|
}
|
|
17
|
-
export declare const ChooserButtonGroup:
|
|
18
|
-
export {};
|
|
17
|
+
export declare const ChooserButtonGroup: FC<ChooserButtonGroupProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ListboxOption } from '../listbox
|
|
3
|
-
import { ToggletipProps } from '../toggletip
|
|
4
|
-
import { TooltipProps } from '../tooltip
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { ListboxOption } from '../listbox';
|
|
3
|
+
import { type ToggletipProps } from '../toggletip';
|
|
4
|
+
import { type TooltipProps } from '../tooltip';
|
|
5
|
+
type Value = string | string[];
|
|
5
6
|
export type ComboboxOption = ListboxOption;
|
|
6
|
-
interface ComboboxProps {
|
|
7
|
+
export interface ComboboxProps {
|
|
7
8
|
/**
|
|
8
9
|
* If true, the input can have a value not included in the list of options
|
|
9
10
|
*/
|
|
@@ -12,6 +13,10 @@ interface ComboboxProps {
|
|
|
12
13
|
* Aria label for the input (used when no visual label is present)
|
|
13
14
|
*/
|
|
14
15
|
ariaLabel?: string;
|
|
16
|
+
/**
|
|
17
|
+
* If true, when the input value matches an option, that option is automatically selected
|
|
18
|
+
*/
|
|
19
|
+
autoSelectMatchingOption?: boolean;
|
|
15
20
|
className?: string;
|
|
16
21
|
/**
|
|
17
22
|
* @default false
|
|
@@ -20,7 +25,7 @@ interface ComboboxProps {
|
|
|
20
25
|
/**
|
|
21
26
|
* The default value and selected option
|
|
22
27
|
*/
|
|
23
|
-
defaultValue?:
|
|
28
|
+
defaultValue?: Value;
|
|
24
29
|
/**
|
|
25
30
|
* Disables the input
|
|
26
31
|
*/
|
|
@@ -47,9 +52,14 @@ interface ComboboxProps {
|
|
|
47
52
|
inlineAutoComplete?: boolean;
|
|
48
53
|
isLoading?: boolean;
|
|
49
54
|
label?: string;
|
|
55
|
+
/**
|
|
56
|
+
* If true, multiple options can be selected and displayed as tags
|
|
57
|
+
*/
|
|
58
|
+
multiselect?: boolean;
|
|
50
59
|
name?: string;
|
|
51
60
|
options: ComboboxOption[];
|
|
52
61
|
placeholder?: string;
|
|
62
|
+
readOnly?: boolean;
|
|
53
63
|
required?: boolean;
|
|
54
64
|
tooltip?: TooltipProps;
|
|
55
65
|
toggletip?: ToggletipProps;
|
|
@@ -65,12 +75,13 @@ interface ComboboxProps {
|
|
|
65
75
|
/**
|
|
66
76
|
* Sets the selected value (makes the component controlled)
|
|
67
77
|
*/
|
|
68
|
-
value?:
|
|
78
|
+
value?: Value;
|
|
69
79
|
hint?: string;
|
|
70
80
|
/**
|
|
71
|
-
* OnChange callback function, invoked when
|
|
81
|
+
* OnChange callback function, invoked when value/options change
|
|
72
82
|
*/
|
|
73
|
-
onChange?(value: string): void;
|
|
83
|
+
onChange?(value: string | ComboboxOption | ComboboxOption[]): void;
|
|
84
|
+
onInputChange?(value: string): void;
|
|
74
85
|
}
|
|
75
|
-
export declare const Combobox:
|
|
86
|
+
export declare const Combobox: FC<ComboboxProps>;
|
|
76
87
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DropdownListOption } from '../dropdown-list
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type DropdownListOption } from '../dropdown-list';
|
|
3
3
|
interface CalendarHeaderProps {
|
|
4
4
|
date: Date;
|
|
5
5
|
months: string[];
|
|
@@ -12,5 +12,5 @@ interface CalendarHeaderProps {
|
|
|
12
12
|
decreaseMonth(): void;
|
|
13
13
|
increaseMonth(): void;
|
|
14
14
|
}
|
|
15
|
-
export declare const CalendarHeader:
|
|
15
|
+
export declare const CalendarHeader: FC<CalendarHeaderProps>;
|
|
16
16
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FocusEvent } from 'react';
|
|
2
|
-
import { ToggletipProps } from '../toggletip
|
|
3
|
-
import { TooltipProps } from '../tooltip
|
|
4
|
-
import { DayOfWeek, SupportedLocale } from './utils
|
|
2
|
+
import { type ToggletipProps } from '../toggletip';
|
|
3
|
+
import { type TooltipProps } from '../tooltip';
|
|
4
|
+
import { DayOfWeek, SupportedLocale } from './utils';
|
|
5
5
|
export interface DatepickerHandles {
|
|
6
6
|
reset(): void;
|
|
7
7
|
setDate(date: Date): void;
|
|
8
8
|
}
|
|
9
|
-
interface DatepickerProps {
|
|
9
|
+
export interface DatepickerProps {
|
|
10
10
|
className?: string;
|
|
11
11
|
/** Sets default selected date */
|
|
12
12
|
defaultDate?: Date;
|
|
@@ -59,4 +59,3 @@ interface DatepickerProps {
|
|
|
59
59
|
onFocus?(event: FocusEvent<HTMLInputElement>): void;
|
|
60
60
|
}
|
|
61
61
|
export declare const Datepicker: import("react").ForwardRefExoticComponent<DatepickerProps & import("react").RefAttributes<DatepickerHandles>>;
|
|
62
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Locale } from 'date-fns';
|
|
2
|
-
import { DropdownListOption } from '../../dropdown-list
|
|
2
|
+
import { type DropdownListOption } from '../../dropdown-list';
|
|
3
3
|
export type SupportedLocale = 'fr-CA' | 'en-CA' | 'en-US';
|
|
4
4
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
5
5
|
export declare function getLocale(localeArray: Locale[], localeCode?: SupportedLocale): Locale;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './datepicker-utils';
|