@cloudscape-design/components 3.0.995 → 3.0.997
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/alert/actions-wrapper/index.d.ts +22 -14
- package/alert/analytics-metadata/interfaces.d.ts +14 -15
- package/alert/index.d.ts +1 -2
- package/alert/interfaces.d.ts +86 -87
- package/alert/internal.d.ts +3 -4
- package/anchor-navigation/anchor-item/index.d.ts +13 -8
- package/anchor-navigation/index.d.ts +4 -2
- package/anchor-navigation/interfaces.d.ts +55 -56
- package/anchor-navigation/internal.d.ts +10 -2
- package/anchor-navigation/use-scroll-spy.d.ts +9 -6
- package/anchor-navigation/utils.d.ts +3 -4
- package/annotation-context/annotation/annotation-icon.d.ts +5 -4
- package/annotation-context/annotation/annotation-popover.d.ts +35 -19
- package/annotation-context/annotation/annotation-trigger.d.ts +6 -7
- package/annotation-context/annotation/closed-annotation.d.ts +15 -9
- package/annotation-context/annotation/open-annotation.d.ts +33 -18
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +32 -32
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/annotation-context/context.d.ts +8 -9
- package/annotation-context/index.d.ts +9 -2
- package/annotation-context/interfaces.d.ts +67 -68
- package/annotation-context/utils.d.ts +9 -10
- package/app-layout/classic.d.ts +14 -15
- package/app-layout/content-wrapper/index.d.ts +10 -11
- package/app-layout/defaults.d.ts +4 -5
- package/app-layout/drawer/drawers-helpers.d.ts +6 -7
- package/app-layout/drawer/index.d.ts +10 -2
- package/app-layout/drawer/interfaces.d.ts +50 -51
- package/app-layout/drawer/overflow-menu.d.ts +14 -9
- package/app-layout/drawer/resizable-drawer.d.ts +9 -2
- package/app-layout/index.d.ts +1 -2
- package/app-layout/interfaces.d.ts +294 -296
- package/app-layout/internal.d.ts +14 -15
- package/app-layout/mobile-toolbar/index.d.ts +34 -20
- package/app-layout/notifications/index.d.ts +7 -8
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/runtime-drawer/index.d.ts +5 -6
- package/app-layout/runtime-drawer/use-runtime-drawer-context.d.ts +5 -4
- package/app-layout/split-panel/constants.d.ts +1 -2
- package/app-layout/split-panel/drawer.d.ts +7 -5
- package/app-layout/split-panel/index.d.ts +1 -2
- package/app-layout/split-panel/provider.d.ts +14 -7
- package/app-layout/split-panel/split-panel-forced-position.d.ts +7 -5
- package/app-layout/toggles/index.d.ts +21 -22
- package/app-layout/toggles/interfaces.d.ts +11 -12
- package/app-layout/utils/feature-flags.d.ts +1 -2
- package/app-layout/utils/interfaces.d.ts +5 -6
- package/app-layout/utils/sticky-offsets.d.ts +2 -3
- package/app-layout/utils/use-app-layout-placement.d.ts +6 -7
- package/app-layout/utils/use-drawers.d.ts +48 -35
- package/app-layout/utils/use-focus-control.d.ts +15 -16
- package/app-layout/utils/use-keyboard-events.d.ts +8 -5
- package/app-layout/utils/use-observed-element.d.ts +1 -2
- package/app-layout/utils/use-pointer-events.d.ts +6 -2
- package/app-layout/utils/use-resize.d.ts +22 -15
- package/app-layout/utils/use-split-panel-focus-control.d.ts +9 -10
- package/app-layout/utils/visibility-context.d.ts +1 -2
- package/app-layout/visual-refresh/background.d.ts +1 -2
- package/app-layout/visual-refresh/breadcrumbs.d.ts +1 -2
- package/app-layout/visual-refresh/context.d.ts +55 -56
- package/app-layout/visual-refresh/drawers.d.ts +1 -2
- package/app-layout/visual-refresh/header.d.ts +1 -2
- package/app-layout/visual-refresh/index.d.ts +14 -15
- package/app-layout/visual-refresh/layout.d.ts +5 -4
- package/app-layout/visual-refresh/main.d.ts +1 -2
- package/app-layout/visual-refresh/mobile-toolbar.d.ts +1 -2
- package/app-layout/visual-refresh/navigation.d.ts +1 -2
- package/app-layout/visual-refresh/notifications.d.ts +1 -2
- package/app-layout/visual-refresh/split-panel.d.ts +6 -5
- package/app-layout/visual-refresh/styles.css.js +86 -86
- package/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh/tools.d.ts +5 -4
- package/app-layout/visual-refresh/trigger-button.d.ts +19 -20
- package/app-layout/visual-refresh/use-background-overlap.d.ts +11 -8
- package/app-layout/visual-refresh-toolbar/compute-layout.d.ts +67 -44
- package/app-layout/visual-refresh-toolbar/contexts.d.ts +2 -3
- package/app-layout/visual-refresh-toolbar/drawer/global-drawer.d.ts +9 -6
- package/app-layout/visual-refresh-toolbar/drawer/global-drawers.d.ts +5 -4
- package/app-layout/visual-refresh-toolbar/drawer/index.d.ts +1 -2
- package/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts +5 -4
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +17 -17
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +39 -39
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +17 -17
- package/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts +19 -13
- package/app-layout/visual-refresh-toolbar/index.d.ts +1 -2
- package/app-layout/visual-refresh-toolbar/interfaces.d.ts +52 -53
- package/app-layout/visual-refresh-toolbar/internal.d.ts +1 -2
- package/app-layout/visual-refresh-toolbar/multi-layout.d.ts +26 -27
- package/app-layout/visual-refresh-toolbar/navigation/index.d.ts +5 -4
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
- package/app-layout/visual-refresh-toolbar/notifications/index.d.ts +7 -5
- package/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/index.d.ts +7 -5
- package/app-layout/visual-refresh-toolbar/skeleton/index.d.ts +12 -13
- package/app-layout/visual-refresh-toolbar/skeleton/slot-skeletons.d.ts +1 -2
- package/app-layout/visual-refresh-toolbar/skeleton/slot-wrappers.d.ts +7 -8
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +21 -21
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +45 -45
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +21 -21
- package/app-layout/visual-refresh-toolbar/split-panel/index.d.ts +17 -10
- package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts +42 -25
- package/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +27 -25
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts +47 -48
- package/app-layout-toolbar/analytics-metadata/interfaces.d.ts +11 -12
- package/app-layout-toolbar/index.d.ts +1 -2
- package/app-layout-toolbar/interfaces.d.ts +46 -48
- package/area-chart/async-store/index.d.ts +11 -12
- package/area-chart/chart-container.d.ts +34 -8
- package/area-chart/elements/area-chart-filter.d.ts +11 -7
- package/area-chart/elements/area-chart-legend.d.ts +11 -7
- package/area-chart/elements/area-series.d.ts +8 -5
- package/area-chart/elements/chart-popover.d.ts +15 -9
- package/area-chart/elements/data-series.d.ts +5 -4
- package/area-chart/elements/highlighted-point.d.ts +3 -4
- package/area-chart/elements/threshold-series.d.ts +10 -6
- package/area-chart/elements/use-highlight-details.d.ts +22 -17
- package/area-chart/elements/vertical-marker.d.ts +5 -4
- package/area-chart/index.d.ts +10 -3
- package/area-chart/interfaces.d.ts +51 -52
- package/area-chart/internal.d.ts +38 -3
- package/area-chart/model/compute-chart-props.d.ts +30 -22
- package/area-chart/model/create-series-decorator.d.ts +1 -2
- package/area-chart/model/index.d.ts +72 -73
- package/area-chart/model/interactions-store.d.ts +15 -16
- package/area-chart/model/use-chart-model.d.ts +32 -17
- package/area-chart/model/use-filter-props.d.ts +1 -2
- package/area-chart/model/use-highlight-props.d.ts +1 -2
- package/area-chart/model/utils.d.ts +4 -5
- package/attribute-editor/additional-info.d.ts +7 -5
- package/attribute-editor/grid-defaults.d.ts +1 -2
- package/attribute-editor/index.d.ts +1 -2
- package/attribute-editor/interfaces.d.ts +148 -149
- package/attribute-editor/internal.d.ts +1 -2
- package/attribute-editor/row.d.ts +13 -14
- package/attribute-editor/utils.d.ts +3 -4
- package/autosuggest/analytics-metadata/interfaces.d.ts +6 -7
- package/autosuggest/autosuggest-option.d.ts +12 -13
- package/autosuggest/index.d.ts +1 -2
- package/autosuggest/interfaces.d.ts +118 -119
- package/autosuggest/internal.d.ts +2 -4
- package/autosuggest/load-more-controller.d.ts +13 -10
- package/autosuggest/options-controller.d.ts +24 -17
- package/autosuggest/options-list.d.ts +28 -14
- package/autosuggest/plain-list.d.ts +23 -15
- package/autosuggest/utils/utils.d.ts +1 -2
- package/autosuggest/virtual-list.d.ts +11 -3
- package/badge/index.d.ts +5 -2
- package/badge/interfaces.d.ts +9 -10
- package/bar-chart/index.d.ts +14 -3
- package/bar-chart/interfaces.d.ts +27 -28
- package/box/index.d.ts +6 -2
- package/box/interfaces.d.ts +130 -131
- package/box/internal.d.ts +16 -3
- package/breadcrumb-group/all-items-dropdown.d.ts +13 -10
- package/breadcrumb-group/analytics-metadata/interfaces.d.ts +17 -18
- package/breadcrumb-group/implementation.d.ts +11 -3
- package/breadcrumb-group/index.d.ts +4 -2
- package/breadcrumb-group/interfaces.d.ts +56 -59
- package/breadcrumb-group/internal.d.ts +1 -2
- package/breadcrumb-group/item/funnel.d.ts +6 -7
- package/breadcrumb-group/item/item.d.ts +9 -2
- package/breadcrumb-group/skeleton.d.ts +2 -3
- package/breadcrumb-group/utils.d.ts +5 -6
- package/button/analytics-metadata/interfaces.d.ts +12 -13
- package/button/icon-helper.d.ts +11 -12
- package/button/index.d.ts +1 -2
- package/button/index.d.ts.map +1 -1
- package/button/index.js +11 -13
- package/button/interfaces.d.ts +202 -169
- package/button/interfaces.d.ts.map +1 -1
- package/button/interfaces.js.map +1 -1
- package/button/internal-do-not-use-core.js +20 -0
- package/button/internal-do-not-use-core.js.map +1 -0
- package/button/internal.d.ts +19 -20
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +27 -3
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +22 -22
- package/button/styles.scoped.css +211 -210
- package/button/styles.selectors.js +22 -22
- package/button-dropdown/analytics-metadata/interfaces.d.ts +26 -27
- package/button-dropdown/category-elements/category-element.d.ts +15 -3
- package/button-dropdown/category-elements/expandable-category-element.d.ts +16 -3
- package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts +15 -3
- package/button-dropdown/index.d.ts +1 -2
- package/button-dropdown/interfaces.d.ts +256 -257
- package/button-dropdown/internal.d.ts +1 -2
- package/button-dropdown/item-element/index.d.ts +15 -3
- package/button-dropdown/items-list.d.ts +19 -2
- package/button-dropdown/mobile-expandable-group/mobile-expandable-group.d.ts +18 -15
- package/button-dropdown/tooltip.d.ts +11 -7
- package/button-dropdown/utils/create-items-tree.d.ts +5 -6
- package/button-dropdown/utils/menu-item.d.ts +5 -6
- package/button-dropdown/utils/move-highlight.d.ts +17 -12
- package/button-dropdown/utils/use-button-dropdown.d.ts +25 -18
- package/button-dropdown/utils/use-highlighted-menu.d.ts +14 -11
- package/button-dropdown/utils/utils.d.ts +1 -2
- package/button-group/analytics-metadata/interfaces.d.ts +3 -4
- package/button-group/file-input-item.d.ts +5 -6
- package/button-group/icon-button-item.d.ts +6 -7
- package/button-group/icon-toggle-button-item.d.ts +6 -7
- package/button-group/index.d.ts +1 -2
- package/button-group/interfaces.d.ts +164 -166
- package/button-group/internal.d.ts +1 -2
- package/button-group/item-element.d.ts +14 -15
- package/button-group/menu-dropdown-item.d.ts +7 -8
- package/calendar/grid/calendar-grid-header.d.ts +7 -5
- package/calendar/grid/index.d.ts +32 -18
- package/calendar/grid/use-calendar-grid-keyboard-navigation.d.ts +19 -11
- package/calendar/grid/use-calendar-grid-rows.d.ts +11 -7
- package/calendar/header/header-button.d.ts +11 -6
- package/calendar/header/index.d.ts +13 -8
- package/calendar/index.d.ts +6 -2
- package/calendar/interfaces.d.ts +97 -98
- package/calendar/internal.d.ts +18 -2
- package/calendar/use-calendar-labels.d.ts +21 -15
- package/calendar/utils/intl.d.ts +1 -2
- package/calendar/utils/navigation-day.d.ts +1 -2
- package/calendar/utils/navigation-month.d.ts +1 -2
- package/cards/cards-layout-helper.d.ts +1 -2
- package/cards/index.d.ts +1 -2
- package/cards/interfaces.d.ts +228 -229
- package/checkbox/analytics-metadata/interfaces.d.ts +11 -12
- package/checkbox/base-checkbox.d.ts +51 -52
- package/checkbox/index.d.ts +1 -2
- package/checkbox/interfaces.d.ts +30 -31
- package/checkbox/internal.d.ts +4 -5
- package/code-editor/ace-modes.d.ts +329 -330
- package/code-editor/ace-themes.d.ts +81 -82
- package/code-editor/error-screen.d.ts +9 -6
- package/code-editor/index.d.ts +1 -2
- package/code-editor/interfaces.d.ts +146 -147
- package/code-editor/listeners.d.ts +1 -2
- package/code-editor/loading-screen.d.ts +2 -3
- package/code-editor/pane.d.ts +27 -15
- package/code-editor/preferences-modal.d.ts +20 -21
- package/code-editor/resizable-box/index.d.ts +14 -8
- package/code-editor/setup-editor.d.ts +1 -2
- package/code-editor/status-bar.d.ts +36 -20
- package/code-editor/tab-button.d.ts +16 -17
- package/code-editor/use-editor.d.ts +20 -13
- package/code-editor/util.d.ts +9 -7
- package/collection-preferences/analytics-metadata/interfaces.d.ts +33 -34
- package/collection-preferences/analytics-metadata/utils.d.ts +3 -4
- package/collection-preferences/content-display/content-display-option.d.ts +4 -5
- package/collection-preferences/content-display/index.d.ts +18 -5
- package/collection-preferences/content-display/utils.d.ts +8 -6
- package/collection-preferences/index.d.ts +22 -2
- package/collection-preferences/interfaces.d.ts +298 -299
- package/collection-preferences/utils.d.ts +70 -30
- package/collection-preferences/visible-content.d.ts +9 -5
- package/column-layout/flexible-column-layout/index.d.ts +10 -4
- package/column-layout/grid-column-layout.d.ts +12 -5
- package/column-layout/index.d.ts +7 -2
- package/column-layout/interfaces.d.ts +38 -39
- package/column-layout/internal.d.ts +12 -2
- package/column-layout/util.d.ts +1 -2
- package/container/analytics-metadata/interfaces.d.ts +3 -4
- package/container/index.d.ts +7 -2
- package/container/interfaces.d.ts +82 -83
- package/container/internal.d.ts +41 -20
- package/container/use-sticky-header.d.ts +24 -19
- package/content-layout/index.d.ts +1 -2
- package/content-layout/interfaces.d.ts +68 -69
- package/content-layout/internal.d.ts +15 -3
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/contexts/form-field.d.ts +1 -2
- package/copy-to-clipboard/index.d.ts +5 -2
- package/copy-to-clipboard/interfaces.d.ts +54 -55
- package/copy-to-clipboard/internal.d.ts +16 -5
- package/date-input/index.d.ts +1 -2
- package/date-input/interfaces.d.ts +6 -7
- package/date-input/internal.d.ts +2 -3
- package/date-input/utils.d.ts +5 -3
- package/date-picker/index.d.ts +1 -2
- package/date-picker/interfaces.d.ts +79 -80
- package/date-picker/utils.d.ts +23 -13
- package/date-range-picker/calendar/grids/grid-cell.d.ts +2 -3
- package/date-range-picker/calendar/grids/grid.d.ts +22 -2
- package/date-range-picker/calendar/grids/index.d.ts +18 -2
- package/date-range-picker/calendar/grids/interfaces.d.ts +37 -38
- package/date-range-picker/calendar/grids/intl.d.ts +13 -8
- package/date-range-picker/calendar/header/header-button.d.ts +11 -6
- package/date-range-picker/calendar/header/index.d.ts +18 -10
- package/date-range-picker/calendar/index.d.ts +23 -12
- package/date-range-picker/calendar/range-inputs.d.ts +26 -14
- package/date-range-picker/calendar/utils.d.ts +1 -2
- package/date-range-picker/dropdown.d.ts +31 -8
- package/date-range-picker/index.d.ts +1 -2
- package/date-range-picker/interfaces.d.ts +373 -374
- package/date-range-picker/mode-switcher.d.ts +8 -5
- package/date-range-picker/relative-range/index.d.ts +18 -10
- package/date-range-picker/time-offset.d.ts +9 -10
- package/date-range-picker/utils.d.ts +13 -10
- package/drawer/implementation.d.ts +11 -3
- package/drawer/index.d.ts +1 -2
- package/drawer/interfaces.d.ts +33 -34
- package/drawer/internal.d.ts +1 -2
- package/expandable-section/analytics-metadata/interfaces.d.ts +15 -16
- package/expandable-section/expandable-section-container.d.ts +19 -10
- package/expandable-section/expandable-section-header.d.ts +41 -23
- package/expandable-section/index.d.ts +4 -2
- package/expandable-section/interfaces.d.ts +87 -88
- package/expandable-section/internal.d.ts +21 -4
- package/expandable-section/utils.d.ts +1 -2
- package/file-dropzone/index.d.ts +1 -2
- package/file-dropzone/interfaces.d.ts +13 -14
- package/file-dropzone/internal.d.ts +6 -2
- package/file-dropzone/use-files-dragging.d.ts +2 -3
- package/file-input/analytics-metadata/interfaces.d.ts +7 -8
- package/file-input/index.d.ts +1 -2
- package/file-input/interfaces.d.ts +46 -47
- package/file-input/internal.d.ts +4 -5
- package/file-token-group/default-formatters.d.ts +1 -2
- package/file-token-group/file-token.d.ts +39 -25
- package/file-token-group/index.d.ts +9 -3
- package/file-token-group/interfaces.d.ts +79 -80
- package/file-token-group/internal.d.ts +14 -3
- package/file-token-group/thumbnail.d.ts +5 -4
- package/file-upload/index.d.ts +1 -2
- package/file-upload/interfaces.d.ts +101 -102
- package/file-upload/internal.d.ts +1 -2
- package/flashbar/analytics-metadata/interfaces.d.ts +30 -31
- package/flashbar/analytics-metadata/utils.d.ts +2 -3
- package/flashbar/collapsible-flashbar.d.ts +4 -2
- package/flashbar/common.d.ts +20 -15
- package/flashbar/constant.d.ts +1 -2
- package/flashbar/flash.d.ts +4 -5
- package/flashbar/index.d.ts +1 -2
- package/flashbar/interfaces.d.ts +86 -87
- package/flashbar/non-collapsible-flashbar.d.ts +5 -2
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +166 -166
- package/flashbar/styles.selectors.js +50 -50
- package/flashbar/utils.d.ts +6 -7
- package/form/analytics-metadata/interfaces.d.ts +7 -8
- package/form/index.d.ts +4 -2
- package/form/interfaces.d.ts +48 -49
- package/form/internal.d.ts +15 -5
- package/form-field/analytics-metadata/interfaces.d.ts +3 -4
- package/form-field/index.d.ts +4 -2
- package/form-field/interfaces.d.ts +91 -92
- package/form-field/internal.d.ts +44 -15
- package/form-field/util.d.ts +13 -9
- package/grid/index.d.ts +6 -2
- package/grid/interfaces.d.ts +47 -48
- package/grid/internal.d.ts +10 -11
- package/header/analytics/use-table-integration.d.ts +1 -2
- package/header/index.d.ts +4 -2
- package/header/interfaces.d.ts +40 -41
- package/header/internal.d.ts +24 -9
- package/help-panel/implementation.d.ts +10 -3
- package/help-panel/index.d.ts +1 -2
- package/help-panel/interfaces.d.ts +27 -28
- package/help-panel/internal.d.ts +1 -2
- package/hotspot/index.d.ts +7 -2
- package/hotspot/interfaces.d.ts +31 -32
- package/i18n/context.d.ts +9 -10
- package/i18n/dynamic.d.ts +1 -2
- package/i18n/get-matchable-locales.d.ts +1 -2
- package/i18n/index.d.ts +1 -2
- package/i18n/messages/all.all.d.ts +1 -1
- package/i18n/messages/all.ar.d.ts +1 -1
- package/i18n/messages/all.de.d.ts +1 -1
- package/i18n/messages/all.en-GB.d.ts +1 -1
- package/i18n/messages/all.en.d.ts +1 -1
- package/i18n/messages/all.es.d.ts +1 -1
- package/i18n/messages/all.fr.d.ts +1 -1
- package/i18n/messages/all.id.d.ts +1 -1
- package/i18n/messages/all.it.d.ts +1 -1
- package/i18n/messages/all.ja.d.ts +1 -1
- package/i18n/messages/all.ko.d.ts +1 -1
- package/i18n/messages/all.pt-BR.d.ts +1 -1
- package/i18n/messages/all.th.d.ts +1 -1
- package/i18n/messages/all.tr.d.ts +1 -1
- package/i18n/messages/all.zh-CN.d.ts +1 -1
- package/i18n/messages/all.zh-TW.d.ts +1 -1
- package/i18n/messages-types.d.ts +558 -559
- package/i18n/provider.d.ts +16 -13
- package/i18n/testing.d.ts +9 -6
- package/icon/generated/icons.d.ts +128 -129
- package/icon/index.d.ts +5 -2
- package/icon/interfaces.d.ts +62 -63
- package/icon/internal.d.ts +14 -4
- package/index.d.ts +1 -2
- package/input/analytics-metadata/interfaces.d.ts +5 -6
- package/input/index.d.ts +1 -2
- package/input/interfaces.d.ts +136 -137
- package/input/internal.d.ts +14 -15
- package/input/utils.d.ts +1 -2
- package/interfaces.d.ts +1 -2
- package/internal/analytics/components/analytics-funnel.d.ts +26 -23
- package/internal/analytics/context/analytics-context.d.ts +51 -52
- package/internal/analytics/hooks/use-funnel.d.ts +13 -14
- package/internal/analytics/index.d.ts +1 -2
- package/internal/analytics/interfaces.d.ts +98 -99
- package/internal/analytics/selectors.d.ts +1 -2
- package/internal/analytics/utils/parse-count-text.d.ts +1 -2
- package/internal/animate.d.ts +14 -10
- package/internal/base-component/index.d.ts +15 -16
- package/internal/breakpoints.d.ts +1 -2
- package/internal/components/abstract-switch/index.d.ts +36 -18
- package/internal/components/autosuggest-input/index.d.ts +19 -20
- package/internal/components/button-trigger/analytics-metadata/interfaces.d.ts +9 -10
- package/internal/components/button-trigger/index.d.ts +27 -28
- package/internal/components/cartesian-chart/axis-label.d.ts +8 -5
- package/internal/components/cartesian-chart/block-end-labels.d.ts +35 -20
- package/internal/components/cartesian-chart/chart-container.d.ts +9 -10
- package/internal/components/cartesian-chart/constants.d.ts +1 -2
- package/internal/components/cartesian-chart/emphasized-baseline.d.ts +10 -6
- package/internal/components/cartesian-chart/highlighted-point.d.ts +10 -11
- package/internal/components/cartesian-chart/inline-start-labels.d.ts +20 -11
- package/internal/components/cartesian-chart/interfaces.d.ts +196 -197
- package/internal/components/cartesian-chart/label-utils.d.ts +16 -12
- package/internal/components/cartesian-chart/labels-measure.d.ts +12 -7
- package/internal/components/cartesian-chart/scales.d.ts +31 -32
- package/internal/components/cartesian-chart/ticks.d.ts +1 -2
- package/internal/components/cartesian-chart/vertical-grid-lines.d.ts +9 -6
- package/internal/components/cartesian-chart/vertical-marker.d.ts +9 -10
- package/internal/components/chart-filter/index.d.ts +17 -12
- package/internal/components/chart-legend/index.d.ts +17 -11
- package/internal/components/chart-plot/application-controller.d.ts +7 -8
- package/internal/components/chart-plot/focus-outline.d.ts +9 -6
- package/internal/components/chart-plot/index.d.ts +30 -31
- package/internal/components/chart-plot/interfaces.d.ts +3 -4
- package/internal/components/chart-popover/index.d.ts +30 -31
- package/internal/components/chart-series-details/index.d.ts +13 -14
- package/internal/components/chart-series-details/series-details-text.d.ts +1 -2
- package/internal/components/chart-series-marker/index.d.ts +6 -4
- package/internal/components/chart-status-container/index.d.ts +34 -20
- package/internal/components/chart-wrapper/index.d.ts +12 -13
- package/internal/components/checkbox-icon/index.d.ts +12 -7
- package/internal/components/drag-handle/button.d.ts +1 -2
- package/internal/components/drag-handle/hooks/interfaces.d.ts +36 -37
- package/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.d.ts +10 -11
- package/internal/components/drag-handle/index.d.ts +1 -2
- package/internal/components/drag-handle/interfaces.d.ts +34 -35
- package/internal/components/drag-handle/resize-icon.d.ts +5 -4
- package/internal/components/drag-handle-wrapper/direction-button.d.ts +11 -7
- package/internal/components/drag-handle-wrapper/index.d.ts +10 -2
- package/internal/components/drag-handle-wrapper/interfaces.d.ts +9 -10
- package/internal/components/drag-handle-wrapper/portal-overlay.d.ts +9 -6
- package/internal/components/drag-handle-wrapper/styles.css.js +21 -21
- package/internal/components/drag-handle-wrapper/styles.scoped.css +44 -44
- package/internal/components/drag-handle-wrapper/styles.selectors.js +21 -21
- package/internal/components/dropdown/context.d.ts +8 -6
- package/internal/components/dropdown/dropdown-fit-handler.d.ts +44 -27
- package/internal/components/dropdown/dropdown-position.d.ts +17 -13
- package/internal/components/dropdown/index.d.ts +29 -3
- package/internal/components/dropdown/interfaces.d.ts +146 -147
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +38 -38
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/dropdown-footer/index.d.ts +4 -5
- package/internal/components/dropdown-status/index.d.ts +40 -25
- package/internal/components/dropdown-status/interfaces.d.ts +38 -39
- package/internal/components/focus-lock/index.d.ts +10 -11
- package/internal/components/focus-lock/utils.d.ts +1 -2
- package/internal/components/interfaces.d.ts +3 -4
- package/internal/components/masked-input/index.d.ts +1 -2
- package/internal/components/masked-input/interfaces.d.ts +20 -21
- package/internal/components/masked-input/keyboard-handler.d.ts +3 -4
- package/internal/components/masked-input/use-mask.d.ts +26 -17
- package/internal/components/masked-input/utils/keys.d.ts +1 -2
- package/internal/components/masked-input/utils/mask-format.d.ts +42 -39
- package/internal/components/masked-input/utils/strings.d.ts +1 -2
- package/internal/components/menu-dropdown/index.d.ts +11 -3
- package/internal/components/menu-dropdown/interfaces.d.ts +20 -21
- package/internal/components/option/highlight-match.d.ts +7 -5
- package/internal/components/option/index.d.ts +11 -3
- package/internal/components/option/interfaces.d.ts +29 -30
- package/internal/components/option/option-announcer.d.ts +9 -6
- package/internal/components/option/option-parts.d.ts +55 -29
- package/internal/components/option/utils/filter-options.d.ts +1 -2
- package/internal/components/option/utils/flatten-options.d.ts +3 -4
- package/internal/components/option/utils/prepare-options.d.ts +6 -7
- package/internal/components/options-list/index.d.ts +27 -28
- package/internal/components/options-list/utils/test-indexes.d.ts +5 -6
- package/internal/components/options-list/utils/use-highlight-option.d.ts +20 -17
- package/internal/components/options-list/utils/use-highlight-option.d.ts.map +1 -1
- package/internal/components/options-list/utils/use-highlight-option.js +1 -0
- package/internal/components/options-list/utils/use-highlight-option.js.map +1 -1
- package/internal/components/options-list/utils/use-ids.d.ts +1 -2
- package/internal/components/options-list/utils/use-keyboard.d.ts +14 -15
- package/internal/components/options-list/utils/use-open-state.d.ts +14 -11
- package/internal/components/panel-resize-handle/index.d.ts +9 -10
- package/internal/components/responsive-text/index.d.ts +13 -8
- package/internal/components/responsive-text/responsive-text-utils.d.ts +1 -2
- package/internal/components/screenreader-only/index.d.ts +4 -5
- package/internal/components/selectable-item/analytics-metadata/interfaces.d.ts +8 -9
- package/internal/components/selectable-item/analytics-metadata/utils.d.ts +5 -2
- package/internal/components/selectable-item/index.d.ts +1 -2
- package/internal/components/selectable-item/interfaces.d.ts +30 -31
- package/internal/components/sortable-area/index.d.ts +9 -3
- package/internal/components/sortable-area/interfaces.d.ts +35 -36
- package/internal/components/sortable-area/keyboard-sensor/defaults.d.ts +1 -2
- package/internal/components/sortable-area/keyboard-sensor/index.d.ts +15 -16
- package/internal/components/sortable-area/keyboard-sensor/utilities/events.d.ts +5 -6
- package/internal/components/sortable-area/keyboard-sensor/utilities/listeners.d.ts +6 -7
- package/internal/components/sortable-area/keyboard-sensor/utilities/scroll.d.ts +11 -7
- package/internal/components/sortable-area/use-drag-and-drop-reorder.d.ts +13 -11
- package/internal/components/sortable-area/use-live-announcements.d.ts +25 -10
- package/internal/components/tab-trap/index.d.ts +7 -5
- package/internal/components/token-list/analytics-metadata/interfaces.d.ts +9 -10
- package/internal/components/token-list/index.d.ts +11 -2
- package/internal/components/token-list/interfaces.d.ts +12 -13
- package/internal/components/token-list/token-limit-toggle.d.ts +19 -11
- package/internal/components/tooltip/index.d.ts +20 -11
- package/internal/components/transition/index.d.ts +18 -11
- package/internal/components/visual-context/index.d.ts +9 -6
- package/internal/context/button-context.d.ts +6 -5
- package/internal/context/collection-label-context.d.ts +2 -3
- package/internal/context/collection-preferences-metadata-context.d.ts +5 -6
- package/internal/context/container-header.d.ts +5 -4
- package/internal/context/dynamic-overlap-context.d.ts +1 -2
- package/internal/context/form-field-context.d.ts +49 -50
- package/internal/context/info-link-label-context.d.ts +1 -2
- package/internal/context/link-default-variant-context.d.ts +3 -4
- package/internal/context/modal-context.d.ts +4 -5
- package/internal/context/reset-contexts-for-modal.d.ts +5 -4
- package/internal/context/single-tab-stop-navigation-context.d.ts +17 -18
- package/internal/context/split-panel-context.d.ts +27 -28
- package/internal/context/table-component-context.d.ts +15 -16
- package/internal/debounce.d.ts +1 -2
- package/internal/do-not-use/chart-filter.d.ts +1 -2
- package/internal/do-not-use/chart-tooltip.d.ts +1 -2
- package/internal/do-not-use/drag-handle.d.ts +1 -2
- package/internal/do-not-use/expandable-section.d.ts +1 -2
- package/internal/do-not-use/i18n.d.ts +1 -2
- package/internal/do-not-use/tooltip.d.ts +1 -2
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/events/index.d.ts +20 -18
- package/internal/focus-tracker.d.ts +18 -16
- package/internal/generated/custom-css-properties/index.d.ts +76 -61
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +75 -59
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/generated/theming/index.cjs.d.ts +12 -13
- package/internal/generated/theming/index.d.ts +12 -13
- package/internal/hooks/check-controlled/index.d.ts +1 -2
- package/internal/hooks/container-queries/index.d.ts +1 -2
- package/internal/hooks/container-queries/use-container-breakpoints.d.ts +1 -2
- package/internal/hooks/container-queries/use-height-measure.d.ts +1 -2
- package/internal/hooks/forward-focus/index.d.ts +3 -4
- package/internal/hooks/forward-focus/radio-group.d.ts +3 -4
- package/internal/hooks/use-base-component/index.d.ts +3 -4
- package/internal/hooks/use-controllable/index.d.ts +9 -6
- package/internal/hooks/use-date-cache/index.d.ts +1 -2
- package/internal/hooks/use-debounce-callback/index.d.ts +1 -2
- package/internal/hooks/use-dom-attribute/index.d.ts +2 -3
- package/internal/hooks/use-dynamic-overlap/index.d.ts +5 -6
- package/internal/hooks/use-effect-on-update.d.ts +1 -2
- package/internal/hooks/use-focus-tracker.d.ts +6 -7
- package/internal/hooks/use-has-rendered/index.d.ts +1 -2
- package/internal/hooks/use-hidden-description/index.d.ts +6 -7
- package/internal/hooks/use-intersection-observer/index.d.ts +7 -6
- package/internal/hooks/use-list-focus-controller.d.ts +13 -8
- package/internal/hooks/use-mobile/index.d.ts +1 -2
- package/internal/hooks/use-modal-component-analytics/index.d.ts +1 -2
- package/internal/hooks/use-mouse-down-target.d.ts +1 -2
- package/internal/hooks/use-performance-marks/index.d.ts +2 -3
- package/internal/hooks/use-performance-marks/is-in-viewport.d.ts +1 -2
- package/internal/hooks/use-portal-mode-classes/index.d.ts +1 -2
- package/internal/hooks/use-previous/index.d.ts +1 -2
- package/internal/hooks/use-scroll-sync/index.d.ts +1 -2
- package/internal/hooks/use-table-interaction-metrics/index.d.ts +23 -15
- package/internal/hooks/use-virtual/index.d.ts +14 -10
- package/internal/hooks/use-virtual/sticky-range-extractor.d.ts +5 -6
- package/internal/hooks/use-visual-mode/index.d.ts +1 -2
- package/internal/is-development.d.ts +1 -2
- package/internal/keycode.d.ts +14 -15
- package/internal/manifest.json +1 -1
- package/internal/metrics.d.ts +1 -2
- package/internal/plugins/api.d.ts +20 -21
- package/internal/plugins/controllers/action-buttons.d.ts +20 -21
- package/internal/plugins/controllers/alert-flash-content.d.ts +36 -37
- package/internal/plugins/controllers/app-layout-widget.d.ts +19 -20
- package/internal/plugins/controllers/breadcrumbs.d.ts +23 -24
- package/internal/plugins/controllers/drawers.d.ts +63 -61
- package/internal/plugins/controllers/shared-react-contexts.d.ts +5 -6
- package/internal/plugins/helpers/index.d.ts +1 -2
- package/internal/plugins/helpers/metrics.d.ts +1 -2
- package/internal/plugins/helpers/use-discovered-action.d.ts +4 -5
- package/internal/plugins/helpers/use-discovered-content.d.ts +16 -13
- package/internal/plugins/helpers/use-global-breadcrumbs.d.ts +1 -2
- package/internal/plugins/helpers/utils.d.ts +3 -4
- package/internal/plugins/index.d.ts +1 -2
- package/internal/styles/colors.d.ts +1 -2
- package/internal/styles/global-vars.d.ts +3 -4
- package/internal/styles/motion/utils.d.ts +1 -2
- package/internal/tooltip-do-not-use/index.d.ts +1 -2
- package/internal/types.d.ts +2 -5
- package/internal/utils/apply-display-name.d.ts +1 -2
- package/internal/utils/browser-scrollbar-size.d.ts +3 -4
- package/internal/utils/calculate-once.d.ts +1 -2
- package/internal/utils/check-safe-url.d.ts +1 -2
- package/internal/utils/circle-index.d.ts +1 -2
- package/internal/utils/content-header-utils.d.ts +1 -2
- package/internal/utils/create-category-color-scale.d.ts +1 -2
- package/internal/utils/date-time/calendar.d.ts +44 -34
- package/internal/utils/date-time/display-format.d.ts +1 -2
- package/internal/utils/date-time/format-date-iso.d.ts +13 -8
- package/internal/utils/date-time/format-date-localized.d.ts +15 -9
- package/internal/utils/date-time/format-date-time-with-offset.d.ts +13 -8
- package/internal/utils/date-time/format-date-time.d.ts +1 -2
- package/internal/utils/date-time/format-date.d.ts +1 -2
- package/internal/utils/date-time/format-time-offset.d.ts +1 -2
- package/internal/utils/date-time/format-time.d.ts +1 -2
- package/internal/utils/date-time/index.d.ts +1 -2
- package/internal/utils/date-time/is-iso-only.d.ts +1 -2
- package/internal/utils/date-time/join-date-time.d.ts +3 -4
- package/internal/utils/date-time/parse-date.d.ts +1 -2
- package/internal/utils/date-time/parse-timezone-offset.d.ts +1 -2
- package/internal/utils/date-time/shift-timezone-offset.d.ts +1 -2
- package/internal/utils/dom.d.ts +7 -5
- package/internal/utils/external-props.d.ts +1 -2
- package/internal/utils/get-visual-theme.d.ts +1 -2
- package/internal/utils/handle-key.d.ts +27 -16
- package/internal/utils/has-value.d.ts +1 -2
- package/internal/utils/locale/index.d.ts +1 -2
- package/internal/utils/locale/merge-locales.d.ts +1 -2
- package/internal/utils/locale/normalize-locale.d.ts +1 -2
- package/internal/utils/locale/normalize-start-of-week.d.ts +1 -2
- package/internal/utils/node-belongs.d.ts +1 -2
- package/internal/utils/pointer-events-mock.d.ts +3 -4
- package/internal/utils/promises.d.ts +5 -7
- package/internal/utils/scrollable-containers.d.ts +19 -12
- package/internal/utils/strings/index.d.ts +1 -2
- package/internal/utils/strings/join-strings.d.ts +1 -2
- package/internal/utils/strings/pad-left-zeros.d.ts +1 -2
- package/internal/utils/throttle.d.ts +7 -6
- package/internal/utils/use-container-width.d.ts +1 -2
- package/internal/widget-exports.d.ts +3 -4
- package/internal/widgets/index.d.ts +1 -2
- package/key-value-pairs/index.d.ts +8 -2
- package/key-value-pairs/interfaces.d.ts +55 -56
- package/key-value-pairs/internal.d.ts +1 -2
- package/line-chart/index.d.ts +11 -3
- package/line-chart/interfaces.d.ts +13 -14
- package/link/analytics-metadata/interfaces.d.ts +13 -14
- package/link/index.d.ts +1 -2
- package/link/interfaces.d.ts +96 -97
- package/link/internal.d.ts +2 -3
- package/live-region/controller.d.ts +28 -26
- package/live-region/index.d.ts +7 -3
- package/live-region/interfaces.d.ts +22 -23
- package/live-region/internal.d.ts +22 -23
- package/mixed-line-bar-chart/bar-groups.d.ts +15 -9
- package/mixed-line-bar-chart/bar-series.d.ts +31 -17
- package/mixed-line-bar-chart/chart-container.d.ts +59 -31
- package/mixed-line-bar-chart/chart-legend.d.ts +17 -10
- package/mixed-line-bar-chart/chart-popover.d.ts +14 -15
- package/mixed-line-bar-chart/create-one-side-rounded-rect-path.d.ts +11 -7
- package/mixed-line-bar-chart/data-series.d.ts +25 -14
- package/mixed-line-bar-chart/domain.d.ts +1 -2
- package/mixed-line-bar-chart/format-highlighted.d.ts +13 -9
- package/mixed-line-bar-chart/hooks/use-mouse-hover.d.ts +26 -16
- package/mixed-line-bar-chart/hooks/use-navigation.d.ts +41 -23
- package/mixed-line-bar-chart/hooks/use-popover.d.ts +6 -7
- package/mixed-line-bar-chart/index.d.ts +13 -3
- package/mixed-line-bar-chart/interfaces.d.ts +106 -107
- package/mixed-line-bar-chart/internal.d.ts +41 -3
- package/mixed-line-bar-chart/line-series.d.ts +15 -9
- package/mixed-line-bar-chart/make-scaled-bar-groups.d.ts +10 -11
- package/mixed-line-bar-chart/make-scaled-series.d.ts +6 -7
- package/mixed-line-bar-chart/utils.d.ts +3 -4
- package/modal/analytics-metadata/interfaces.d.ts +7 -8
- package/modal/body-scroll.d.ts +1 -2
- package/modal/index.d.ts +4 -2
- package/modal/interfaces.d.ts +74 -75
- package/modal/internal.d.ts +14 -10
- package/multiselect/analytics-metadata/interfaces.d.ts +7 -8
- package/multiselect/embedded.d.ts +7 -8
- package/multiselect/index.d.ts +1 -2
- package/multiselect/interfaces.d.ts +80 -81
- package/multiselect/internal.d.ts +7 -8
- package/multiselect/use-multiselect.d.ts +87 -59
- package/package.json +1 -1
- package/pagination/analytics-metadata/interfaces.d.ts +13 -14
- package/pagination/index.d.ts +1 -2
- package/pagination/interfaces.d.ts +72 -73
- package/pagination/internal.d.ts +13 -3
- package/pagination/utils.d.ts +5 -6
- package/pie-chart/index.d.ts +21 -3
- package/pie-chart/interfaces.d.ts +221 -222
- package/pie-chart/labels.d.ts +19 -11
- package/pie-chart/pie-chart.d.ts +35 -13
- package/pie-chart/responsive-text.d.ts +17 -11
- package/pie-chart/segments.d.ts +23 -13
- package/pie-chart/utils.d.ts +22 -19
- package/popover/arrow.d.ts +2 -3
- package/popover/body.d.ts +22 -12
- package/popover/container.d.ts +48 -31
- package/popover/index.d.ts +1 -2
- package/popover/interfaces.d.ts +80 -81
- package/popover/internal.d.ts +8 -9
- package/popover/use-popover-position.d.ts +32 -20
- package/popover/utils/positions.d.ts +30 -20
- package/progress-bar/index.d.ts +15 -2
- package/progress-bar/interfaces.d.ts +70 -71
- package/progress-bar/internal.d.ts +35 -19
- package/prompt-input/index.d.ts +1 -2
- package/prompt-input/interfaces.d.ts +92 -93
- package/prompt-input/internal.d.ts +2 -4
- package/property-filter/analytics-metadata/interfaces.d.ts +24 -25
- package/property-filter/controller.d.ts +45 -41
- package/property-filter/filter-options.d.ts +1 -2
- package/property-filter/filtering-token/index.d.ts +27 -28
- package/property-filter/i18n-utils.d.ts +14 -15
- package/property-filter/index.d.ts +1 -2
- package/property-filter/interfaces.d.ts +325 -326
- package/property-filter/internal.d.ts +7 -8
- package/property-filter/property-editor.d.ts +45 -24
- package/property-filter/property-filter-autosuggest.d.ts +10 -11
- package/property-filter/token-editor-inputs.d.ts +41 -26
- package/property-filter/token-editor.d.ts +34 -18
- package/property-filter/token.d.ts +39 -21
- package/property-filter/use-load-items.d.ts +4 -5
- package/property-filter/utils.d.ts +9 -6
- package/radio-group/analytics-metadata/interfaces.d.ts +9 -10
- package/radio-group/index.d.ts +1 -2
- package/radio-group/interfaces.d.ts +64 -65
- package/radio-group/internal.d.ts +1 -2
- package/radio-group/radio-button.d.ts +6 -7
- package/s3-resource-selector/index.d.ts +1 -2
- package/s3-resource-selector/interfaces.d.ts +231 -232
- package/s3-resource-selector/s3-in-context/index.d.ts +12 -13
- package/s3-resource-selector/s3-in-context/search-input.d.ts +1 -2
- package/s3-resource-selector/s3-in-context/use-versions-fetch.d.ts +9 -10
- package/s3-resource-selector/s3-in-context/validation.d.ts +1 -2
- package/s3-resource-selector/s3-modal/basic-table.d.ts +35 -26
- package/s3-resource-selector/s3-modal/buckets-table.d.ts +21 -12
- package/s3-resource-selector/s3-modal/column-formats.d.ts +1 -2
- package/s3-resource-selector/s3-modal/empty-state.d.ts +9 -6
- package/s3-resource-selector/s3-modal/index.d.ts +34 -18
- package/s3-resource-selector/s3-modal/objects-table.d.ts +23 -13
- package/s3-resource-selector/s3-modal/table-utils.d.ts +4 -2
- package/s3-resource-selector/s3-modal/versions-table.d.ts +19 -11
- package/s3-resource-selector/utils.d.ts +1 -2
- package/segmented-control/index.d.ts +1 -2
- package/segmented-control/interfaces.d.ts +46 -47
- package/segmented-control/internal-segmented-control.d.ts +7 -2
- package/segmented-control/internal.d.ts +10 -3
- package/segmented-control/segment.d.ts +5 -6
- package/select/analytics-metadata/interfaces.d.ts +6 -7
- package/select/index.d.ts +1 -2
- package/select/interfaces.d.ts +182 -183
- package/select/internal.d.ts +2 -3
- package/select/parts/common.d.ts +1 -2
- package/select/parts/filter.d.ts +3 -4
- package/select/parts/item.d.ts +15 -16
- package/select/parts/multiselect-item.d.ts +2 -3
- package/select/parts/plain-list.d.ts +13 -14
- package/select/parts/trigger.d.ts +11 -12
- package/select/parts/virtual-list.d.ts +1 -2
- package/select/utils/check-option-value-field.d.ts +1 -2
- package/select/utils/connect-options.d.ts +1 -2
- package/select/utils/get-item-props.d.ts +13 -8
- package/select/utils/render-options.d.ts +29 -16
- package/select/utils/scroll-to-index.d.ts +7 -5
- package/select/utils/use-announcement.d.ts +16 -10
- package/select/utils/use-load-items.d.ts +12 -9
- package/select/utils/use-native-search.d.ts +13 -8
- package/select/utils/use-select.d.ts +50 -34
- package/select/utils/use-select.d.ts.map +1 -1
- package/select/utils/use-select.js +17 -4
- package/select/utils/use-select.js.map +1 -1
- package/side-navigation/analytics-metadata/interfaces.d.ts +13 -14
- package/side-navigation/implementation.d.ts +11 -3
- package/side-navigation/index.d.ts +4 -2
- package/side-navigation/interfaces.d.ts +171 -172
- package/side-navigation/internal.d.ts +1 -2
- package/side-navigation/parts.d.ts +21 -11
- package/side-navigation/util.d.ts +1 -2
- package/slider/index.d.ts +5 -2
- package/slider/interfaces.d.ts +74 -75
- package/slider/internal.d.ts +20 -5
- package/slider/slider-labels.d.ts +15 -9
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +86 -86
- package/slider/styles.selectors.js +26 -26
- package/slider/tick-marks.d.ts +11 -12
- package/slider/utils.d.ts +3 -4
- package/space-between/index.d.ts +4 -2
- package/space-between/interfaces.d.ts +20 -21
- package/space-between/internal.d.ts +1 -2
- package/spinner/index.d.ts +5 -2
- package/spinner/interfaces.d.ts +11 -12
- package/spinner/internal.d.ts +8 -5
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +39 -39
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/bottom.d.ts +16 -5
- package/split-panel/icons/bottom-icon-refresh.d.ts +1 -2
- package/split-panel/icons/bottom-icon.d.ts +1 -2
- package/split-panel/icons/side-position-refresh.d.ts +4 -5
- package/split-panel/icons/side-position.d.ts +1 -2
- package/split-panel/implementation.d.ts +10 -3
- package/split-panel/index.d.ts +6 -2
- package/split-panel/interfaces.d.ts +53 -54
- package/split-panel/internal.d.ts +1 -2
- package/split-panel/preferences-modal.d.ts +20 -21
- package/split-panel/side.d.ts +19 -6
- package/split-panel/utils/size-utils.d.ts +1 -2
- package/status-indicator/index.d.ts +5 -2
- package/status-indicator/internal.d.ts +48 -38
- package/steps/index.d.ts +5 -3
- package/steps/interfaces.d.ts +33 -34
- package/steps/internal.d.ts +9 -3
- package/table/analytics-metadata/interfaces.d.ts +44 -45
- package/table/body-cell/click-away.d.ts +1 -2
- package/table/body-cell/disabled-inline-editor.d.ts +12 -4
- package/table/body-cell/index.d.ts +8 -9
- package/table/body-cell/inline-editor.d.ts +17 -11
- package/table/body-cell/inline-editor.d.ts.map +1 -1
- package/table/body-cell/inline-editor.js +15 -10
- package/table/body-cell/inline-editor.js.map +1 -1
- package/table/body-cell/td-element.d.ts +35 -36
- package/table/column-widths-utils.d.ts +4 -5
- package/table/expandable-rows/expand-toggle-button.d.ts +11 -7
- package/table/expandable-rows/expandable-rows-utils.d.ts +24 -20
- package/table/header-cell/index.d.ts +54 -28
- package/table/header-cell/th-element.d.ts +37 -19
- package/table/header-cell/utils.d.ts +1 -2
- package/table/index.d.ts +1 -2
- package/table/interfaces.d.ts +514 -505
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/table/internal.d.ts +1 -2
- package/table/no-data-cell.d.ts +17 -10
- package/table/progressive-loading/items-loader.d.ts +22 -12
- package/table/progressive-loading/loader-cell.d.ts +7 -4
- package/table/progressive-loading/progressive-loading-utils.d.ts +15 -12
- package/table/resizer/index.d.ts +23 -13
- package/table/resizer/resizer-lookup.d.ts +5 -6
- package/table/selection/index.d.ts +1 -2
- package/table/selection/interfaces.d.ts +10 -11
- package/table/selection/selection-cell.d.ts +17 -9
- package/table/selection/selection-control.d.ts +23 -11
- package/table/selection/use-selection-focus-move.d.ts +7 -8
- package/table/selection/use-selection.d.ts +6 -7
- package/table/selection/utils.d.ts +16 -17
- package/table/sticky-columns/index.d.ts +1 -2
- package/table/sticky-columns/interfaces.d.ts +21 -22
- package/table/sticky-columns/use-sticky-columns.d.ts +26 -19
- package/table/sticky-columns/utils.d.ts +1 -2
- package/table/sticky-header.d.ts +14 -15
- package/table/sticky-scrollbar/index.d.ts +1 -2
- package/table/sticky-scrollbar/sticky-scrollbar.d.ts +5 -6
- package/table/sticky-scrollbar/use-sticky-scrollbar.d.ts +1 -2
- package/table/sticky-scrolling.d.ts +3 -4
- package/table/table-role/grid-navigation.d.ts +6 -2
- package/table/table-role/index.d.ts +2 -3
- package/table/table-role/interfaces.d.ts +9 -10
- package/table/table-role/table-role-helper.d.ts +23 -24
- package/table/table-role/utils.d.ts +1 -2
- package/table/thead.d.ts +26 -27
- package/table/tools-header.d.ts +13 -8
- package/table/use-cell-editing.d.ts +22 -14
- package/table/use-column-widths.d.ts +16 -12
- package/table/use-prevent-sticky-click-scroll.d.ts +1 -2
- package/table/use-row-events.d.ts +7 -5
- package/table/use-sticky-header.d.ts +3 -4
- package/table/use-table-focus-navigation.d.ts +14 -9
- package/table/utils.d.ts +10 -7
- package/tabs/analytics-metadata/interfaces.d.ts +27 -28
- package/tabs/index.d.ts +14 -2
- package/tabs/interfaces.d.ts +154 -155
- package/tabs/native-smooth-scroll-supported.d.ts +1 -2
- package/tabs/scroll-utils.d.ts +1 -2
- package/tabs/smooth-scroll.d.ts +1 -2
- package/tabs/tab-header-bar.d.ts +29 -16
- package/tag-editor/index.d.ts +1 -2
- package/tag-editor/interfaces.d.ts +112 -113
- package/tag-editor/internal.d.ts +20 -21
- package/tag-editor/utils.d.ts +3 -4
- package/tag-editor/validation.d.ts +3 -4
- package/test-utils/dom/alert/index.d.ts +21 -21
- package/test-utils/dom/anchor-navigation/index.d.ts +12 -12
- package/test-utils/dom/annotation/index.d.ts +9 -9
- package/test-utils/dom/app-layout/index.d.ts +32 -32
- package/test-utils/dom/app-layout-toolbar/index.d.ts +2 -2
- package/test-utils/dom/area-chart/index.d.ts +8 -8
- package/test-utils/dom/attribute-editor/index.d.ts +30 -30
- package/test-utils/dom/autosuggest/index.d.ts +87 -87
- package/test-utils/dom/badge/index.d.ts +2 -2
- package/test-utils/dom/bar-chart/index.d.ts +2 -2
- package/test-utils/dom/box/index.d.ts +2 -2
- package/test-utils/dom/breadcrumb-group/index.d.ts +18 -18
- package/test-utils/dom/button/index.d.ts +6 -6
- package/test-utils/dom/button-dropdown/index.d.ts +41 -41
- package/test-utils/dom/button-group/index.d.ts +26 -26
- package/test-utils/dom/calendar/index.d.ts +24 -24
- package/test-utils/dom/cards/index.d.ts +31 -31
- package/test-utils/dom/checkbox/index.d.ts +6 -6
- package/test-utils/dom/code-editor/index.d.ts +17 -17
- package/test-utils/dom/collection-preferences/content-display-preference.d.ts +40 -40
- package/test-utils/dom/collection-preferences/index.d.ts +16 -16
- package/test-utils/dom/collection-preferences/page-size-preference.d.ts +4 -4
- package/test-utils/dom/collection-preferences/sticky-columns-preference.d.ts +6 -6
- package/test-utils/dom/collection-preferences/visible-content-preference.d.ts +12 -12
- package/test-utils/dom/column-layout/index.d.ts +2 -2
- package/test-utils/dom/container/index.d.ts +6 -6
- package/test-utils/dom/content-layout/index.d.ts +7 -7
- package/test-utils/dom/copy-to-clipboard/index.d.ts +15 -15
- package/test-utils/dom/date-input/index.d.ts +2 -2
- package/test-utils/dom/date-picker/index.d.ts +19 -19
- package/test-utils/dom/date-range-picker/index.d.ts +82 -82
- package/test-utils/dom/drawer/index.d.ts +5 -5
- package/test-utils/dom/expandable-section/index.d.ts +9 -9
- package/test-utils/dom/file-dropzone/index.d.ts +3 -3
- package/test-utils/dom/file-input/index.d.ts +4 -4
- package/test-utils/dom/file-token-group/index.d.ts +17 -17
- package/test-utils/dom/file-upload/index.d.ts +18 -18
- package/test-utils/dom/flashbar/flash.d.ts +20 -20
- package/test-utils/dom/flashbar/index.d.ts +20 -20
- package/test-utils/dom/form/index.d.ts +7 -7
- package/test-utils/dom/form-field/index.d.ts +10 -10
- package/test-utils/dom/grid/index.d.ts +7 -7
- package/test-utils/dom/header/index.d.ts +7 -7
- package/test-utils/dom/help-panel/index.d.ts +5 -5
- package/test-utils/dom/hotspot/index.d.ts +4 -4
- package/test-utils/dom/icon/index.d.ts +2 -2
- package/test-utils/dom/index.d.ts +1443 -1443
- package/test-utils/dom/input/base-input.d.ts +17 -17
- package/test-utils/dom/input/index.d.ts +3 -3
- package/test-utils/dom/internal/abstract-switch.d.ts +5 -5
- package/test-utils/dom/internal/autosuggest-input.d.ts +4 -4
- package/test-utils/dom/internal/chart-filter.d.ts +4 -4
- package/test-utils/dom/internal/chart-legend.d.ts +6 -6
- package/test-utils/dom/internal/chart-popover.d.ts +9 -9
- package/test-utils/dom/internal/chart-tooltip.d.ts +6 -6
- package/test-utils/dom/internal/charts.d.ts +5 -5
- package/test-utils/dom/internal/drag-handle.d.ts +7 -7
- package/test-utils/dom/internal/dropdown-host.d.ts +119 -119
- package/test-utils/dom/internal/dropdown.d.ts +3 -3
- package/test-utils/dom/internal/option.d.ts +7 -7
- package/test-utils/dom/internal/options-list.d.ts +2 -2
- package/test-utils/dom/internal/tooltip.d.ts +2 -2
- package/test-utils/dom/key-value-pairs/index.d.ts +8 -8
- package/test-utils/dom/line-chart/index.d.ts +2 -2
- package/test-utils/dom/link/index.d.ts +2 -2
- package/test-utils/dom/live-region/index.d.ts +2 -2
- package/test-utils/dom/mixed-line-bar-chart/index.d.ts +21 -21
- package/test-utils/dom/modal/index.d.ts +7 -7
- package/test-utils/dom/multiselect/index.d.ts +38 -38
- package/test-utils/dom/pagination/index.d.ts +13 -13
- package/test-utils/dom/pie-chart/index.d.ts +13 -13
- package/test-utils/dom/popover/index.d.ts +24 -24
- package/test-utils/dom/progress-bar/index.d.ts +14 -14
- package/test-utils/dom/prompt-input/index.d.ts +18 -18
- package/test-utils/dom/property-filter/index.d.ts +68 -68
- package/test-utils/dom/radio-group/index.d.ts +4 -4
- package/test-utils/dom/radio-group/radio-button.d.ts +5 -5
- package/test-utils/dom/s3-resource-selector/index.d.ts +11 -11
- package/test-utils/dom/segmented-control/index.d.ts +11 -11
- package/test-utils/dom/select/index.d.ts +28 -28
- package/test-utils/dom/side-navigation/index.d.ts +18 -18
- package/test-utils/dom/slider/index.d.ts +3 -3
- package/test-utils/dom/space-between/index.d.ts +2 -2
- package/test-utils/dom/spinner/index.d.ts +2 -2
- package/test-utils/dom/split-panel/index.d.ts +17 -17
- package/test-utils/dom/status-indicator/index.d.ts +2 -2
- package/test-utils/dom/steps/index.d.ts +14 -14
- package/test-utils/dom/table/index.d.ts +91 -91
- package/test-utils/dom/tabs/index.d.ts +68 -68
- package/test-utils/dom/tag-editor/index.d.ts +17 -17
- package/test-utils/dom/text-content/index.d.ts +2 -2
- package/test-utils/dom/text-filter/index.d.ts +4 -4
- package/test-utils/dom/textarea/index.d.ts +15 -15
- package/test-utils/dom/tiles/index.d.ts +5 -5
- package/test-utils/dom/tiles/tile.d.ts +7 -7
- package/test-utils/dom/time-input/index.d.ts +2 -2
- package/test-utils/dom/toggle/index.d.ts +6 -6
- package/test-utils/dom/toggle-button/index.d.ts +3 -3
- package/test-utils/dom/token-group/index.d.ts +13 -13
- package/test-utils/dom/token-group/token.d.ts +5 -5
- package/test-utils/dom/top-navigation/1.0-beta/index.d.ts +17 -17
- package/test-utils/dom/top-navigation/index.d.ts +23 -23
- package/test-utils/dom/tutorial-panel/index.d.ts +12 -12
- package/test-utils/dom/tutorial-panel/tutorial.d.ts +10 -10
- package/test-utils/dom/wizard/index.d.ts +22 -22
- package/test-utils/selectors/alert/index.d.ts +21 -21
- package/test-utils/selectors/anchor-navigation/index.d.ts +11 -11
- package/test-utils/selectors/annotation/index.d.ts +9 -9
- package/test-utils/selectors/app-layout/index.d.ts +32 -32
- package/test-utils/selectors/app-layout-toolbar/index.d.ts +2 -2
- package/test-utils/selectors/area-chart/index.d.ts +8 -8
- package/test-utils/selectors/attribute-editor/index.d.ts +30 -30
- package/test-utils/selectors/autosuggest/index.d.ts +67 -67
- package/test-utils/selectors/badge/index.d.ts +2 -2
- package/test-utils/selectors/bar-chart/index.d.ts +2 -2
- package/test-utils/selectors/box/index.d.ts +2 -2
- package/test-utils/selectors/breadcrumb-group/index.d.ts +18 -18
- package/test-utils/selectors/button/index.d.ts +5 -5
- package/test-utils/selectors/button-dropdown/index.d.ts +39 -39
- package/test-utils/selectors/button-group/index.d.ts +26 -26
- package/test-utils/selectors/calendar/index.d.ts +24 -24
- package/test-utils/selectors/cards/index.d.ts +31 -31
- package/test-utils/selectors/checkbox/index.d.ts +6 -6
- package/test-utils/selectors/code-editor/index.d.ts +11 -11
- package/test-utils/selectors/collection-preferences/content-display-preference.d.ts +40 -40
- package/test-utils/selectors/collection-preferences/index.d.ts +16 -16
- package/test-utils/selectors/collection-preferences/page-size-preference.d.ts +4 -4
- package/test-utils/selectors/collection-preferences/sticky-columns-preference.d.ts +6 -6
- package/test-utils/selectors/collection-preferences/visible-content-preference.d.ts +12 -12
- package/test-utils/selectors/column-layout/index.d.ts +2 -2
- package/test-utils/selectors/container/index.d.ts +6 -6
- package/test-utils/selectors/content-layout/index.d.ts +7 -7
- package/test-utils/selectors/copy-to-clipboard/index.d.ts +15 -15
- package/test-utils/selectors/date-input/index.d.ts +2 -2
- package/test-utils/selectors/date-picker/index.d.ts +11 -11
- package/test-utils/selectors/date-range-picker/index.d.ts +81 -81
- package/test-utils/selectors/drawer/index.d.ts +5 -5
- package/test-utils/selectors/expandable-section/index.d.ts +9 -9
- package/test-utils/selectors/file-dropzone/index.d.ts +3 -3
- package/test-utils/selectors/file-input/index.d.ts +4 -4
- package/test-utils/selectors/file-token-group/index.d.ts +17 -17
- package/test-utils/selectors/file-upload/index.d.ts +18 -18
- package/test-utils/selectors/flashbar/flash.d.ts +20 -20
- package/test-utils/selectors/flashbar/index.d.ts +20 -20
- package/test-utils/selectors/form/index.d.ts +7 -7
- package/test-utils/selectors/form-field/index.d.ts +10 -10
- package/test-utils/selectors/grid/index.d.ts +7 -7
- package/test-utils/selectors/header/index.d.ts +7 -7
- package/test-utils/selectors/help-panel/index.d.ts +5 -5
- package/test-utils/selectors/hotspot/index.d.ts +4 -4
- package/test-utils/selectors/icon/index.d.ts +2 -2
- package/test-utils/selectors/index.d.ts +1283 -1283
- package/test-utils/selectors/input/base-input.d.ts +2 -2
- package/test-utils/selectors/input/index.d.ts +3 -3
- package/test-utils/selectors/internal/abstract-switch.d.ts +5 -5
- package/test-utils/selectors/internal/autosuggest-input.d.ts +4 -4
- package/test-utils/selectors/internal/chart-filter.d.ts +4 -4
- package/test-utils/selectors/internal/chart-legend.d.ts +6 -6
- package/test-utils/selectors/internal/chart-popover.d.ts +9 -9
- package/test-utils/selectors/internal/chart-tooltip.d.ts +6 -6
- package/test-utils/selectors/internal/charts.d.ts +5 -5
- package/test-utils/selectors/internal/drag-handle.d.ts +7 -7
- package/test-utils/selectors/internal/dropdown-host.d.ts +56 -56
- package/test-utils/selectors/internal/dropdown.d.ts +3 -3
- package/test-utils/selectors/internal/option.d.ts +7 -7
- package/test-utils/selectors/internal/options-list.d.ts +2 -2
- package/test-utils/selectors/internal/tooltip.d.ts +2 -2
- package/test-utils/selectors/key-value-pairs/index.d.ts +8 -8
- package/test-utils/selectors/line-chart/index.d.ts +2 -2
- package/test-utils/selectors/link/index.d.ts +2 -2
- package/test-utils/selectors/live-region/index.d.ts +2 -2
- package/test-utils/selectors/mixed-line-bar-chart/index.d.ts +21 -21
- package/test-utils/selectors/modal/index.d.ts +6 -6
- package/test-utils/selectors/multiselect/index.d.ts +37 -37
- package/test-utils/selectors/pagination/index.d.ts +12 -12
- package/test-utils/selectors/pie-chart/index.d.ts +13 -13
- package/test-utils/selectors/popover/index.d.ts +24 -24
- package/test-utils/selectors/progress-bar/index.d.ts +14 -14
- package/test-utils/selectors/prompt-input/index.d.ts +6 -6
- package/test-utils/selectors/property-filter/index.d.ts +68 -68
- package/test-utils/selectors/radio-group/index.d.ts +4 -4
- package/test-utils/selectors/radio-group/radio-button.d.ts +5 -5
- package/test-utils/selectors/s3-resource-selector/index.d.ts +11 -11
- package/test-utils/selectors/segmented-control/index.d.ts +11 -11
- package/test-utils/selectors/select/index.d.ts +27 -27
- package/test-utils/selectors/side-navigation/index.d.ts +18 -18
- package/test-utils/selectors/slider/index.d.ts +3 -3
- package/test-utils/selectors/space-between/index.d.ts +2 -2
- package/test-utils/selectors/spinner/index.d.ts +2 -2
- package/test-utils/selectors/split-panel/index.d.ts +17 -17
- package/test-utils/selectors/status-indicator/index.d.ts +2 -2
- package/test-utils/selectors/steps/index.d.ts +14 -14
- package/test-utils/selectors/table/index.d.ts +90 -90
- package/test-utils/selectors/tabs/index.d.ts +68 -68
- package/test-utils/selectors/tag-editor/index.d.ts +17 -17
- package/test-utils/selectors/text-content/index.d.ts +2 -2
- package/test-utils/selectors/text-filter/index.d.ts +4 -4
- package/test-utils/selectors/textarea/index.d.ts +3 -3
- package/test-utils/selectors/tiles/index.d.ts +5 -5
- package/test-utils/selectors/tiles/tile.d.ts +7 -7
- package/test-utils/selectors/time-input/index.d.ts +2 -2
- package/test-utils/selectors/toggle/index.d.ts +6 -6
- package/test-utils/selectors/toggle-button/index.d.ts +2 -2
- package/test-utils/selectors/token-group/index.d.ts +13 -13
- package/test-utils/selectors/token-group/token.d.ts +5 -5
- package/test-utils/selectors/top-navigation/1.0-beta/index.d.ts +17 -17
- package/test-utils/selectors/top-navigation/index.d.ts +23 -23
- package/test-utils/selectors/tutorial-panel/index.d.ts +12 -12
- package/test-utils/selectors/tutorial-panel/tutorial.d.ts +10 -10
- package/test-utils/selectors/wizard/index.d.ts +22 -22
- package/text-content/index.d.ts +4 -2
- package/text-content/interfaces.d.ts +6 -7
- package/text-filter/analytics/use-table-integration.d.ts +1 -2
- package/text-filter/analytics-metadata/interfaces.d.ts +6 -7
- package/text-filter/index.d.ts +1 -2
- package/text-filter/interfaces.d.ts +54 -55
- package/text-filter/internal.d.ts +1 -2
- package/text-filter/search-results.d.ts +4 -5
- package/text-filter/use-debounce-search-result-callback.d.ts +10 -6
- package/textarea/index.d.ts +1 -2
- package/textarea/interfaces.d.ts +26 -27
- package/theming/index.d.ts +13 -8
- package/tiles/analytics-metadata/interfaces.d.ts +9 -10
- package/tiles/index.d.ts +1 -2
- package/tiles/interfaces.d.ts +70 -71
- package/tiles/internal.d.ts +1 -2
- package/tiles/tile.d.ts +7 -8
- package/time-input/index.d.ts +1 -2
- package/time-input/interfaces.d.ts +26 -27
- package/time-input/internal.d.ts +1 -2
- package/toggle/analytics-metadata/interfaces.d.ts +11 -12
- package/toggle/index.d.ts +1 -2
- package/toggle/interfaces.d.ts +16 -17
- package/toggle/internal.d.ts +2 -3
- package/toggle-button/index.d.ts +1 -2
- package/toggle-button/index.js +11 -15
- package/toggle-button/interfaces.d.ts +68 -69
- package/toggle-button/internal-do-not-use-core.js +22 -0
- package/toggle-button/internal.d.ts +2 -3
- package/toggle-button/util.d.ts +1 -2
- package/token-group/analytics-metadata/interfaces.d.ts +11 -12
- package/token-group/dismiss-button.d.ts +5 -6
- package/token-group/index.d.ts +5 -2
- package/token-group/interfaces.d.ts +75 -76
- package/token-group/internal.d.ts +14 -3
- package/token-group/token.d.ts +17 -10
- package/top-navigation/1.0-beta/index.d.ts +4 -2
- package/top-navigation/1.0-beta/interfaces.d.ts +94 -95
- package/top-navigation/1.0-beta/internal.d.ts +9 -3
- package/top-navigation/1.0-beta/parts/overflow-menu.d.ts +13 -10
- package/top-navigation/1.0-beta/parts/utility.d.ts +10 -6
- package/top-navigation/1.0-beta/use-top-navigation.d.ts +21 -17
- package/top-navigation/index.d.ts +4 -2
- package/top-navigation/interfaces.d.ts +108 -109
- package/top-navigation/internal.d.ts +9 -3
- package/top-navigation/parts/overflow-menu/header.d.ts +7 -8
- package/top-navigation/parts/overflow-menu/index.d.ts +14 -9
- package/top-navigation/parts/overflow-menu/menu-item.d.ts +4 -5
- package/top-navigation/parts/overflow-menu/router.d.ts +15 -11
- package/top-navigation/parts/overflow-menu/views/submenu.d.ts +12 -5
- package/top-navigation/parts/overflow-menu/views/utilities.d.ts +10 -5
- package/top-navigation/parts/utility.d.ts +8 -5
- package/top-navigation/use-top-navigation.d.ts +29 -26
- package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts +9 -6
- package/tutorial-panel/components/tutorial-detail-view/index.d.ts +13 -8
- package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts +11 -7
- package/tutorial-panel/components/tutorial-detail-view/task.d.ts +15 -9
- package/tutorial-panel/components/tutorial-list/index.d.ts +13 -8
- package/tutorial-panel/index.d.ts +8 -2
- package/tutorial-panel/interfaces.d.ts +169 -170
- package/wizard/analytics-metadata/interfaces.d.ts +25 -26
- package/wizard/analytics-metadata/utils.d.ts +3 -4
- package/wizard/analytics.d.ts +5 -6
- package/wizard/index.d.ts +6 -3
- package/wizard/interfaces.d.ts +145 -146
- package/wizard/internal.d.ts +16 -4
- package/wizard/unmount.d.ts +5 -6
- package/wizard/wizard-actions.d.ts +33 -18
- package/wizard/wizard-form-header.d.ts +5 -4
- package/wizard/wizard-form.d.ts +13 -14
- package/wizard/wizard-navigation.d.ts +21 -12
- package/button/index.js.map +0 -1
- /package/toggle-button/{index.js.map → internal-do-not-use-core.js.map} +0 -0
|
@@ -14,5 +14,4 @@ export declare const CONSTRAINED_MAIN_PANEL_MIN_HEIGHT = 40;
|
|
|
14
14
|
* Estimate a default split panel size for the first render based on the document size.
|
|
15
15
|
*/
|
|
16
16
|
export declare function getSplitPanelDefaultSize(position: 'side' | 'bottom'): number;
|
|
17
|
-
export declare function getLimitedValue(min: number, value: number, max: number): number;
|
|
18
|
-
//# sourceMappingURL=size-utils.d.ts.map
|
|
17
|
+
export declare function getLimitedValue(min: number, value: number, max: number): number;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { StatusIndicatorProps } from './internal';
|
|
3
3
|
export { StatusIndicatorProps };
|
|
4
|
-
export default function StatusIndicator({
|
|
5
|
-
|
|
4
|
+
export default function StatusIndicator({
|
|
5
|
+
type,
|
|
6
|
+
wrapText,
|
|
7
|
+
...props
|
|
8
|
+
}: StatusIndicatorProps): JSX.Element;
|
|
@@ -4,46 +4,56 @@ import { BaseComponentProps } from '../internal/base-component';
|
|
|
4
4
|
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
|
|
5
5
|
import { SomeRequired } from '../internal/types';
|
|
6
6
|
export interface StatusIndicatorProps extends BaseComponentProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the status type.
|
|
9
|
+
*/
|
|
10
|
+
type?: StatusIndicatorProps.Type;
|
|
11
|
+
/**
|
|
12
|
+
* A text fragment that communicates the status.
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies an `aria-label` for the icon. If the status text alone does not fully describe the status,
|
|
17
|
+
* use this to communicate additional context.
|
|
18
|
+
*/
|
|
19
|
+
iconAriaLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies an override for the status indicator color.
|
|
22
|
+
*/
|
|
23
|
+
colorOverride?: StatusIndicatorProps.Color;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies if the text content should wrap. If you set it to false, it prevents the text from wrapping
|
|
26
|
+
* and truncates it with an ellipsis.
|
|
27
|
+
*/
|
|
28
|
+
wrapText?: boolean;
|
|
29
29
|
}
|
|
30
30
|
export interface InternalStatusIndicatorProps extends SomeRequired<StatusIndicatorProps, 'type'>, InternalBaseComponentProps {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Play an animation on the error icon when first rendered
|
|
33
|
+
*/
|
|
34
|
+
__animate?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Size of icon.
|
|
37
|
+
*/
|
|
38
|
+
__size?: IconProps.Size;
|
|
39
|
+
/**
|
|
40
|
+
* The CSS behavior of the status indicator container element.
|
|
41
|
+
*/
|
|
42
|
+
__display?: 'inline' | 'inline-block';
|
|
43
43
|
}
|
|
44
44
|
export declare namespace StatusIndicatorProps {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
type Type = 'error' | 'warning' | 'success' | 'info' | 'stopped' | 'pending' | 'in-progress' | 'loading';
|
|
46
|
+
type Color = 'blue' | 'grey' | 'green' | 'red' | 'yellow';
|
|
47
47
|
}
|
|
48
|
-
export default function StatusIndicator({
|
|
49
|
-
|
|
48
|
+
export default function StatusIndicator({
|
|
49
|
+
type,
|
|
50
|
+
children,
|
|
51
|
+
iconAriaLabel,
|
|
52
|
+
colorOverride,
|
|
53
|
+
wrapText,
|
|
54
|
+
__animate,
|
|
55
|
+
__internalRootRef,
|
|
56
|
+
__size,
|
|
57
|
+
__display,
|
|
58
|
+
...rest
|
|
59
|
+
}: InternalStatusIndicatorProps): JSX.Element;
|
package/steps/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { StepsProps } from './interfaces';
|
|
3
3
|
export { StepsProps };
|
|
4
|
-
declare const Steps: ({
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const Steps: ({
|
|
5
|
+
steps,
|
|
6
|
+
...props
|
|
7
|
+
}: StepsProps) => JSX.Element;
|
|
8
|
+
export default Steps;
|
package/steps/interfaces.d.ts
CHANGED
|
@@ -2,39 +2,38 @@
|
|
|
2
2
|
import { BaseComponentProps } from '../internal/base-component';
|
|
3
3
|
import { StatusIndicatorProps } from '../status-indicator/internal';
|
|
4
4
|
export interface StepsProps extends BaseComponentProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
5
|
+
/**
|
|
6
|
+
* An array of individual steps
|
|
7
|
+
*
|
|
8
|
+
* Each step definition has the following properties:
|
|
9
|
+
* * `status` (string) - Status of the step corresponding to a status indicator.
|
|
10
|
+
* * `statusIconAriaLabel` - (string) - (Optional) Alternative text for the status icon.
|
|
11
|
+
* * `header` (ReactNode) - Summary corresponding to the step.
|
|
12
|
+
* * `details` (ReactNode) - (Optional) Additional information corresponding to the step.
|
|
13
|
+
*/
|
|
14
|
+
steps: ReadonlyArray<StepsProps.Step>;
|
|
15
|
+
/**
|
|
16
|
+
* Provides an `aria-label` to the progress steps container.
|
|
17
|
+
* Don't use `ariaLabel` and `ariaLabelledby` at the same time.
|
|
18
|
+
*/
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the `aria-labelledby` property on the progress steps container.
|
|
22
|
+
* If there's a visible label element that you can reference, use this instead of `ariaLabel`.
|
|
23
|
+
* Don't use `ariaLabel` and `ariaLabelledby` at the same time.
|
|
24
|
+
*/
|
|
25
|
+
ariaLabelledby?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the `aria-describedby` property on the progress steps container.
|
|
28
|
+
*/
|
|
29
|
+
ariaDescribedby?: string;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace StepsProps {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=interfaces.d.ts.map
|
|
32
|
+
type Status = StatusIndicatorProps.Type;
|
|
33
|
+
interface Step {
|
|
34
|
+
status: Status;
|
|
35
|
+
statusIconAriaLabel?: string;
|
|
36
|
+
header: React.ReactNode;
|
|
37
|
+
details?: React.ReactNode;
|
|
38
|
+
}
|
|
39
|
+
}
|
package/steps/internal.d.ts
CHANGED
|
@@ -3,6 +3,12 @@ import { InternalBaseComponentProps } from '../internal/hooks/use-base-component
|
|
|
3
3
|
import { SomeRequired } from '../internal/types';
|
|
4
4
|
import { StepsProps } from './interfaces';
|
|
5
5
|
type InternalStepsProps = SomeRequired<StepsProps, 'steps'> & InternalBaseComponentProps<HTMLDivElement>;
|
|
6
|
-
declare const InternalSteps: ({
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
declare const InternalSteps: ({
|
|
7
|
+
steps,
|
|
8
|
+
ariaLabel,
|
|
9
|
+
ariaLabelledby,
|
|
10
|
+
ariaDescribedby,
|
|
11
|
+
__internalRootRef,
|
|
12
|
+
...props
|
|
13
|
+
}: InternalStepsProps) => JSX.Element;
|
|
14
|
+
export default InternalSteps;
|
|
@@ -1,57 +1,56 @@
|
|
|
1
1
|
import { LabelIdentifier } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';
|
|
2
2
|
export interface GeneratedAnalyticsMetadataTableSelect {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
action: 'select';
|
|
4
|
+
detail: {
|
|
5
|
+
label?: string;
|
|
6
|
+
position: string;
|
|
7
|
+
item: string;
|
|
8
|
+
};
|
|
9
9
|
}
|
|
10
10
|
export interface GeneratedAnalyticsMetadataTableDeselect {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
action: 'deselect';
|
|
12
|
+
detail: {
|
|
13
|
+
label?: string;
|
|
14
|
+
position: string;
|
|
15
|
+
item: string;
|
|
16
|
+
};
|
|
17
17
|
}
|
|
18
18
|
export interface GeneratedAnalyticsMetadataTableSelectAll {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
action: 'selectAll';
|
|
20
|
+
detail: {
|
|
21
|
+
label: string;
|
|
22
|
+
};
|
|
23
23
|
}
|
|
24
24
|
export interface GeneratedAnalyticsMetadataTableDeselectAll {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
action: 'deselectAll';
|
|
26
|
+
detail: {
|
|
27
|
+
label: string;
|
|
28
|
+
};
|
|
29
29
|
}
|
|
30
30
|
export interface GeneratedAnalyticsMetadataTableSort {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
action: 'sort';
|
|
32
|
+
detail: {
|
|
33
|
+
label: string;
|
|
34
|
+
position: string;
|
|
35
|
+
columnId: string;
|
|
36
|
+
sortingDescending: string;
|
|
37
|
+
};
|
|
38
38
|
}
|
|
39
39
|
export interface GeneratedAnalyticsMetadataTableComponent {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=interfaces.d.ts.map
|
|
40
|
+
name: 'awsui.Table';
|
|
41
|
+
label: string | LabelIdentifier;
|
|
42
|
+
properties: {
|
|
43
|
+
selectionType: string;
|
|
44
|
+
itemsCount: string;
|
|
45
|
+
selectedItemsCount: string;
|
|
46
|
+
sortingColumnId?: string;
|
|
47
|
+
sortingDescending?: string;
|
|
48
|
+
variant: string;
|
|
49
|
+
};
|
|
50
|
+
innerContext?: {
|
|
51
|
+
position: string;
|
|
52
|
+
columnId: string;
|
|
53
|
+
columnLabel: string | LabelIdentifier;
|
|
54
|
+
item: string;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare function useClickAway(onClick: () => void): import("react").MutableRefObject<any>;
|
|
3
|
-
//# sourceMappingURL=click-away.d.ts.map
|
|
2
|
+
export declare function useClickAway(onClick: () => void): import("react").MutableRefObject<any>;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TableBodyCellProps } from './index';
|
|
3
3
|
interface DisabledInlineEditorProps<ItemType> extends TableBodyCellProps<ItemType> {
|
|
4
|
-
|
|
4
|
+
editDisabledReason: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function DisabledInlineEditor<ItemType>({
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
export declare function DisabledInlineEditor<ItemType>({
|
|
7
|
+
item,
|
|
8
|
+
column,
|
|
9
|
+
ariaLabels,
|
|
10
|
+
isEditing,
|
|
11
|
+
onEditStart,
|
|
12
|
+
onEditEnd,
|
|
13
|
+
editDisabledReason,
|
|
14
|
+
...rest
|
|
15
|
+
}: DisabledInlineEditorProps<ItemType>): JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
import { TableProps } from '../interfaces';
|
|
3
3
|
import { TableTdElementProps } from './td-element';
|
|
4
4
|
export interface TableBodyCellProps<ItemType> extends TableTdElementProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
column: TableProps.ColumnDefinition<ItemType>;
|
|
6
|
+
item: ItemType;
|
|
7
|
+
successfulEdit?: boolean;
|
|
8
|
+
onEditStart: () => void;
|
|
9
|
+
onEditEnd: (cancelled: boolean) => void;
|
|
10
|
+
submitEdit?: TableProps.SubmitEditFunction<ItemType>;
|
|
11
|
+
ariaLabels: TableProps['ariaLabels'];
|
|
12
12
|
}
|
|
13
|
-
export declare function TableBodyCell<ItemType>(props: TableBodyCellProps<ItemType>): JSX.Element;
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
13
|
+
export declare function TableBodyCell<ItemType>(props: TableBodyCellProps<ItemType>): JSX.Element;
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TableProps } from '../interfaces';
|
|
3
3
|
interface OnEditEndOptions {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
cancelled: boolean;
|
|
5
|
+
refocusCell: boolean;
|
|
6
6
|
}
|
|
7
7
|
interface InlineEditorProps<ItemType> {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
ariaLabels: TableProps['ariaLabels'];
|
|
9
|
+
column: TableProps.ColumnDefinition<ItemType>;
|
|
10
|
+
item: ItemType;
|
|
11
|
+
onEditEnd: (options: OnEditEndOptions) => void;
|
|
12
|
+
submitEdit: TableProps.SubmitEditFunction<ItemType>;
|
|
13
|
+
__onRender?: () => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function InlineEditor<ItemType>({
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
export declare function InlineEditor<ItemType>({
|
|
16
|
+
ariaLabels,
|
|
17
|
+
item,
|
|
18
|
+
column,
|
|
19
|
+
onEditEnd,
|
|
20
|
+
submitEdit,
|
|
21
|
+
__onRender
|
|
22
|
+
}: InlineEditorProps<ItemType>): JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-editor.d.ts","sourceRoot":"","sources":["../../../../src/table/body-cell/inline-editor.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,UAAU,gBAAgB;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,iBAAiB,CAAC,QAAQ;IAClC,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;IACrC,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/C,UAAU,EAAE,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,EACrC,UAAU,EACV,IAAI,EACJ,MAAM,EACN,SAAS,EACT,UAAU,EACV,UAAU,GACX,EAAE,iBAAiB,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"inline-editor.d.ts","sourceRoot":"","sources":["../../../../src/table/body-cell/inline-editor.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,UAAU,gBAAgB;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,iBAAiB,CAAC,QAAQ;IAClC,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;IACrC,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/C,UAAU,EAAE,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,EACrC,UAAU,EACV,IAAI,EACJ,MAAM,EACN,SAAS,EACT,UAAU,EACV,UAAU,GACX,EAAE,iBAAiB,CAAC,QAAQ,CAAC,eAoI7B"}
|
|
@@ -18,21 +18,15 @@ export function InlineEditor({ ariaLabels, item, column, onEditEnd, submitEdit,
|
|
|
18
18
|
const [currentEditValue, setCurrentEditValue] = useState();
|
|
19
19
|
const i18n = useInternalI18n('table');
|
|
20
20
|
const focusLockRef = useRef(null);
|
|
21
|
-
const cellContext = {
|
|
22
|
-
currentValue: currentEditValue,
|
|
23
|
-
setValue: setCurrentEditValue,
|
|
24
|
-
};
|
|
25
21
|
function finishEdit({ cancelled = false, refocusCell = true } = {}) {
|
|
26
22
|
if (!cancelled) {
|
|
27
23
|
setCurrentEditValue(undefined);
|
|
28
24
|
}
|
|
29
25
|
onEditEnd({ cancelled, refocusCell: refocusCell });
|
|
30
26
|
}
|
|
31
|
-
function
|
|
27
|
+
function handleSubmit() {
|
|
32
28
|
var _a;
|
|
33
29
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
evt.preventDefault(); // Prevents the form from navigating away
|
|
35
|
-
evt.stopPropagation(); // Prevents any outer form elements from submitting
|
|
36
30
|
if (currentEditValue === undefined) {
|
|
37
31
|
finishEdit();
|
|
38
32
|
return;
|
|
@@ -51,6 +45,11 @@ export function InlineEditor({ ariaLabels, item, column, onEditEnd, submitEdit,
|
|
|
51
45
|
}
|
|
52
46
|
});
|
|
53
47
|
}
|
|
48
|
+
function onFormSubmit(evt) {
|
|
49
|
+
evt.preventDefault(); // Prevents the form from navigating away
|
|
50
|
+
evt.stopPropagation(); // Prevents any outer form elements from submitting
|
|
51
|
+
handleSubmit();
|
|
52
|
+
}
|
|
54
53
|
function onCancel({ reFocusEditedCell = true } = {}) {
|
|
55
54
|
if (currentEditLoading) {
|
|
56
55
|
return;
|
|
@@ -70,17 +69,23 @@ export function InlineEditor({ ariaLabels, item, column, onEditEnd, submitEdit,
|
|
|
70
69
|
}
|
|
71
70
|
}, [__onRender]);
|
|
72
71
|
// asserting non-undefined editConfig here because this component is unreachable otherwise
|
|
73
|
-
const { ariaLabel = undefined, validation = noop, errorIconAriaLabel, constraintText, editingCell, } = column.editConfig;
|
|
72
|
+
const { ariaLabel = undefined, validation = noop, errorIconAriaLabel, constraintText, editingCell, disableNativeForm, } = column.editConfig;
|
|
73
|
+
const cellContext = {
|
|
74
|
+
currentValue: currentEditValue,
|
|
75
|
+
setValue: setCurrentEditValue,
|
|
76
|
+
submitValue: handleSubmit,
|
|
77
|
+
};
|
|
78
|
+
const FormElement = disableNativeForm ? 'div' : 'form';
|
|
74
79
|
return (React.createElement(FocusLock, { restoreFocus: true, ref: focusLockRef },
|
|
75
80
|
React.createElement("div", { role: "dialog", ref: clickAwayRef, "aria-label": (_a = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.activateEditLabel) === null || _a === void 0 ? void 0 : _a.call(ariaLabels, column, item), onKeyDown: handleEscape },
|
|
76
|
-
React.createElement(
|
|
81
|
+
React.createElement(FormElement, { onSubmit: disableNativeForm ? undefined : onFormSubmit },
|
|
77
82
|
React.createElement(FormField, { stretch: true, label: ariaLabel, constraintText: constraintText, __hideLabel: true, __disableGutters: true, i18nStrings: { errorIconAriaLabel }, errorText: validation(item, currentEditValue) },
|
|
78
83
|
React.createElement("div", { className: styles['body-cell-editor-row'] },
|
|
79
84
|
React.createElement("div", { className: styles['body-cell-editor-row-editor'] }, editingCell(item, cellContext)),
|
|
80
85
|
React.createElement("span", { className: styles['body-cell-editor-controls'] },
|
|
81
86
|
React.createElement(SpaceBetween, { direction: "horizontal", size: "xxs" },
|
|
82
87
|
!currentEditLoading ? (React.createElement(Button, { ariaLabel: (_b = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.cancelEditLabel) === null || _b === void 0 ? void 0 : _b.call(ariaLabels, column), formAction: "none", iconName: "close", variant: "inline-icon", onClick: () => onCancel() })) : null,
|
|
83
|
-
React.createElement(Button, { ariaLabel: (_c = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.submitEditLabel) === null || _c === void 0 ? void 0 : _c.call(ariaLabels, column), formAction:
|
|
88
|
+
React.createElement(Button, { ariaLabel: (_c = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.submitEditLabel) === null || _c === void 0 ? void 0 : _c.call(ariaLabels, column), formAction: disableNativeForm ? 'none' : 'submit', onClick: disableNativeForm ? handleSubmit : undefined, iconName: "check", variant: "inline-icon", loading: currentEditLoading })),
|
|
84
89
|
React.createElement(InternalLiveRegion, { tagName: "span", hidden: true }, currentEditLoading
|
|
85
90
|
? i18n('ariaLabels.submittingEditText', (_d = ariaLabels === null || ariaLabels === void 0 ? void 0 : ariaLabels.submittingEditText) === null || _d === void 0 ? void 0 : _d.call(ariaLabels, column))
|
|
86
91
|
: ''))))))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-editor.js","sourceRoot":"","sources":["../../../../src/table/body-cell/inline-editor.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,SAA2B,MAAM,sCAAsC,CAAC;AAE/E,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,YAAY,MAAM,8BAA8B,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,+BAA+B;AAC/B,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC;AAgB7B,MAAM,UAAU,YAAY,CAAW,EACrC,UAAU,EACV,IAAI,EACJ,MAAM,EACN,SAAS,EACT,UAAU,EACV,UAAU,GACkB;;IAC5B,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpE,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,EAAiB,CAAC;IAC1E,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAEtC,MAAM,YAAY,GAAG,MAAM,CAAe,IAAI,CAAC,CAAC;IAEhD,
|
|
1
|
+
{"version":3,"file":"inline-editor.js","sourceRoot":"","sources":["../../../../src/table/body-cell/inline-editor.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\n\nimport Button from '../../button/internal';\nimport FormField from '../../form-field/internal';\nimport { useInternalI18n } from '../../i18n/context';\nimport FocusLock, { FocusLockRef } from '../../internal/components/focus-lock';\nimport { Optional } from '../../internal/types';\nimport InternalLiveRegion from '../../live-region/internal';\nimport SpaceBetween from '../../space-between/internal';\nimport { TableProps } from '../interfaces';\nimport { useClickAway } from './click-away';\n\nimport styles from './styles.css.js';\n\n// A function that does nothing\nconst noop = () => undefined;\n\ninterface OnEditEndOptions {\n cancelled: boolean;\n refocusCell: boolean;\n}\n\ninterface InlineEditorProps<ItemType> {\n ariaLabels: TableProps['ariaLabels'];\n column: TableProps.ColumnDefinition<ItemType>;\n item: ItemType;\n onEditEnd: (options: OnEditEndOptions) => void;\n submitEdit: TableProps.SubmitEditFunction<ItemType>;\n __onRender?: () => void;\n}\n\nexport function InlineEditor<ItemType>({\n ariaLabels,\n item,\n column,\n onEditEnd,\n submitEdit,\n __onRender,\n}: InlineEditorProps<ItemType>) {\n const [currentEditLoading, setCurrentEditLoading] = useState(false);\n const [currentEditValue, setCurrentEditValue] = useState<Optional<any>>();\n const i18n = useInternalI18n('table');\n\n const focusLockRef = useRef<FocusLockRef>(null);\n\n function finishEdit({ cancelled = false, refocusCell = true }: Partial<OnEditEndOptions> = {}) {\n if (!cancelled) {\n setCurrentEditValue(undefined);\n }\n onEditEnd({ cancelled, refocusCell: refocusCell });\n }\n\n async function handleSubmit() {\n if (currentEditValue === undefined) {\n finishEdit();\n return;\n }\n\n setCurrentEditLoading(true);\n try {\n await submitEdit(item, column, currentEditValue);\n setCurrentEditLoading(false);\n finishEdit();\n\n // Consumers in the past have not always been able to support not specifiying the value so we keep and ignore\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n } catch (e) {\n setCurrentEditLoading(false);\n focusLockRef.current?.focusFirst();\n }\n }\n\n function onFormSubmit(evt: React.FormEvent) {\n evt.preventDefault(); // Prevents the form from navigating away\n evt.stopPropagation(); // Prevents any outer form elements from submitting\n handleSubmit();\n }\n\n function onCancel({ reFocusEditedCell = true } = {}) {\n if (currentEditLoading) {\n return;\n }\n finishEdit({ cancelled: true, refocusCell: reFocusEditedCell });\n }\n\n function handleEscape(event: React.KeyboardEvent): void {\n if (event.key === 'Escape') {\n onCancel();\n }\n }\n\n const clickAwayRef = useClickAway(() => onCancel({ reFocusEditedCell: false }));\n\n useEffect(() => {\n if (__onRender) {\n const timer = setTimeout(__onRender, 1);\n return () => clearTimeout(timer);\n }\n }, [__onRender]);\n\n // asserting non-undefined editConfig here because this component is unreachable otherwise\n const {\n ariaLabel = undefined,\n validation = noop,\n errorIconAriaLabel,\n constraintText,\n editingCell,\n disableNativeForm,\n } = column.editConfig!;\n\n const cellContext = {\n currentValue: currentEditValue,\n setValue: setCurrentEditValue,\n submitValue: handleSubmit,\n };\n\n const FormElement = disableNativeForm ? 'div' : 'form';\n\n return (\n <FocusLock restoreFocus={true} ref={focusLockRef}>\n <div\n role=\"dialog\"\n ref={clickAwayRef}\n aria-label={ariaLabels?.activateEditLabel?.(column, item)}\n onKeyDown={handleEscape}\n >\n <FormElement onSubmit={disableNativeForm ? undefined : onFormSubmit}>\n <FormField\n stretch={true}\n label={ariaLabel}\n constraintText={constraintText}\n __hideLabel={true}\n __disableGutters={true}\n i18nStrings={{ errorIconAriaLabel }}\n errorText={validation(item, currentEditValue)}\n >\n <div className={styles['body-cell-editor-row']}>\n <div className={styles['body-cell-editor-row-editor']}>{editingCell(item, cellContext)}</div>\n <span className={styles['body-cell-editor-controls']}>\n <SpaceBetween direction=\"horizontal\" size=\"xxs\">\n {!currentEditLoading ? (\n <Button\n ariaLabel={ariaLabels?.cancelEditLabel?.(column)}\n formAction=\"none\"\n iconName=\"close\"\n variant=\"inline-icon\"\n onClick={() => onCancel()}\n />\n ) : null}\n <Button\n ariaLabel={ariaLabels?.submitEditLabel?.(column)}\n formAction={disableNativeForm ? 'none' : 'submit'}\n onClick={disableNativeForm ? handleSubmit : undefined}\n iconName=\"check\"\n variant=\"inline-icon\"\n loading={currentEditLoading}\n />\n </SpaceBetween>\n <InternalLiveRegion tagName=\"span\" hidden={true}>\n {currentEditLoading\n ? i18n('ariaLabels.submittingEditText', ariaLabels?.submittingEditText?.(column))\n : ''}\n </InternalLiveRegion>\n </span>\n </div>\n </FormField>\n </FormElement>\n </div>\n </FocusLock>\n );\n}\n"]}
|
|
@@ -4,40 +4,39 @@ import { TableProps } from '../interfaces.js';
|
|
|
4
4
|
import { StickyColumnsModel } from '../sticky-columns';
|
|
5
5
|
import { TableRole } from '../table-role';
|
|
6
6
|
export interface TableTdElementProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
7
|
+
wrapLines: boolean | undefined;
|
|
8
|
+
isRowHeader?: boolean;
|
|
9
|
+
isFirstRow: boolean;
|
|
10
|
+
isLastRow: boolean;
|
|
11
|
+
isSelected: boolean;
|
|
12
|
+
isNextSelected: boolean;
|
|
13
|
+
isPrevSelected: boolean;
|
|
14
|
+
nativeAttributes?: Omit<React.TdHTMLAttributes<HTMLTableCellElement> | React.ThHTMLAttributes<HTMLTableCellElement>, 'style' | 'className' | 'onClick'>;
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
onFocus?: () => void;
|
|
17
|
+
onBlur?: () => void;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
isEvenRow?: boolean;
|
|
20
|
+
stripedRows?: boolean;
|
|
21
|
+
isSelection?: boolean;
|
|
22
|
+
hasSelection?: boolean;
|
|
23
|
+
hasFooter?: boolean;
|
|
24
|
+
columnId: PropertyKey;
|
|
25
|
+
colIndex: number;
|
|
26
|
+
stickyState: StickyColumnsModel;
|
|
27
|
+
tableRole: TableRole;
|
|
28
|
+
level?: number;
|
|
29
|
+
isExpandable?: boolean;
|
|
30
|
+
isExpanded?: boolean;
|
|
31
|
+
onExpandableItemToggle?: () => void;
|
|
32
|
+
expandButtonLabel?: string;
|
|
33
|
+
collapseButtonLabel?: string;
|
|
34
|
+
verticalAlign?: TableProps.VerticalAlign;
|
|
35
|
+
resizableColumns?: boolean;
|
|
36
|
+
resizableStyle?: ColumnWidthStyle;
|
|
37
|
+
isEditable: boolean;
|
|
38
|
+
isEditing: boolean;
|
|
39
|
+
isEditingDisabled?: boolean;
|
|
40
|
+
hasSuccessIcon?: boolean;
|
|
41
41
|
}
|
|
42
|
-
export declare const TableTdElement: React.ForwardRefExoticComponent<TableTdElementProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
43
|
-
//# sourceMappingURL=td-element.d.ts.map
|
|
42
|
+
export declare const TableTdElement: React.ForwardRefExoticComponent<TableTdElementProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TableProps } from './interfaces';
|
|
2
2
|
export interface ColumnWidthStyle {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
width?: string | number;
|
|
4
|
+
minWidth?: string | number;
|
|
5
|
+
maxWidth?: string | number;
|
|
6
6
|
}
|
|
7
7
|
export declare function checkColumnWidths(columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<any>>): void;
|
|
8
|
-
export declare function setElementWidths(element: HTMLElement, styles: ColumnWidthStyle): void;
|
|
9
|
-
//# sourceMappingURL=column-widths-utils.d.ts.map
|
|
8
|
+
export declare function setElementWidths(element: HTMLElement, styles: ColumnWidthStyle): void;
|