baseui 0.0.0-alpha-8ab2335 → 0.0.0-alpha-e79754d
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/accordion/accordion.js +2 -4
- package/accordion/accordion.js.flow +1 -1
- package/accordion/panel.js +2 -3
- package/accordion/stateful-panel-container.js +0 -1
- package/accordion/styled-components.js +1 -8
- package/accordion/types.d.ts +2 -2
- package/app-nav-bar/app-nav-bar.js +2 -4
- package/app-nav-bar/mobile-menu.js +1 -2
- package/app-nav-bar/styled-components.js +1 -19
- package/app-nav-bar/types.d.ts +2 -2
- package/app-nav-bar/user-menu.js +1 -1
- package/aspect-ratio-box/aspect-ratio-box-body.d.ts +1 -1
- package/aspect-ratio-box/aspect-ratio-box.js +1 -3
- package/aspect-ratio-box/types.d.ts +1 -1
- package/avatar/styled-components.js +1 -4
- package/badge/styled-components.js +11 -16
- package/badge/styled-components.js.flow +4 -4
- package/badge/types.d.ts +2 -2
- package/banner/index.d.ts +1 -1
- package/banner/styled-components.js +12 -25
- package/banner/types.d.ts +15 -15
- package/banner/types.js.flow +11 -13
- package/block/block.js +1 -3
- package/block/styled-components.js +1 -2
- package/block/types.d.ts +4 -3
- package/breadcrumbs/styled-components.js +2 -7
- package/button/styled-components.js +0 -7
- package/button/styled-components.js.flow +0 -2
- package/button/types.d.ts +5 -4
- package/button-group/stateful-button-group.js +0 -1
- package/button-group/stateful-container.js +1 -3
- package/button-group/styled-components.js +1 -2
- package/button-group/types.d.ts +5 -4
- package/card/images.d.ts +2 -0
- package/card/images.js +17 -0
- package/card/images.js.flow +18 -0
- package/card/styled-components.js +4 -11
- package/checkbox/styled-components.js +4 -10
- package/checkbox/styled-components.js.flow +1 -1
- package/checkbox/types.d.ts +37 -36
- package/combobox/combobox.js +71 -78
- package/combobox/styled-components.js +1 -5
- package/combobox/types.d.ts +5 -4
- package/data-table/column-anchor.js +0 -3
- package/data-table/column-datetime.js +4 -10
- package/data-table/column-numerical.js +4 -4
- package/data-table/column-string.js +0 -3
- package/data-table/column.js +1 -6
- package/data-table/data-table.js +6 -7
- package/data-table/filter-menu.js +1 -2
- package/data-table/header-cell.js +34 -43
- package/data-table/locale.d.ts +0 -4
- package/data-table/locale.js +1 -3
- package/data-table/locale.js.flow +0 -5
- package/data-table/measure-column-widths.js +4 -5
- package/data-table/stateful-container.js +1 -2
- package/data-table/stateful-data-table.js +4 -4
- package/data-table/types.d.ts +5 -4
- package/datepicker/calendar-header.js +0 -1
- package/datepicker/calendar.js +0 -2
- package/datepicker/datepicker.js +0 -2
- package/datepicker/day.js +1 -2
- package/datepicker/index.d.ts +1 -1
- package/datepicker/index.js +0 -7
- package/datepicker/index.js.flow +1 -1
- package/datepicker/stateful-calendar.js +3 -7
- package/datepicker/stateful-container.js +0 -2
- package/datepicker/stateful-datepicker.js +4 -9
- package/datepicker/styled-components.js +4 -27
- package/datepicker/types.d.ts +2 -2
- package/datepicker/utils/date-helpers.js +1 -2
- package/datepicker/utils/index.js +1 -2
- package/divider/styled-components.js +3 -4
- package/divider/types.d.ts +1 -1
- package/dnd-list/stateful-list-container.js +0 -1
- package/dnd-list/styled-components.js +0 -7
- package/dnd-list/types.d.ts +2 -2
- package/drawer/constants.js +0 -1
- package/drawer/drawer.js +3 -2
- package/drawer/drawer.js.flow +3 -1
- package/drawer/styled-components.js +2 -9
- package/drawer/types.d.ts +2 -2
- package/es/accordion/accordion.js +3 -3
- package/es/accordion/panel.js +2 -3
- package/es/accordion/stateful-panel-container.js +0 -1
- package/es/accordion/styled-components.js +1 -8
- package/es/app-nav-bar/app-nav-bar.js +2 -6
- package/es/app-nav-bar/mobile-menu.js +2 -4
- package/es/app-nav-bar/styled-components.js +1 -19
- package/es/app-nav-bar/user-menu.js +1 -1
- package/es/aspect-ratio-box/aspect-ratio-box.js +1 -3
- package/es/avatar/styled-components.js +1 -4
- package/es/badge/styled-components.js +6 -11
- package/es/banner/styled-components.js +3 -16
- package/es/block/block.js +1 -3
- package/es/block/styled-components.js +1 -2
- package/es/breadcrumbs/styled-components.js +2 -7
- package/es/button/button.js +0 -8
- package/es/button/styled-components.js +0 -7
- package/es/button-group/stateful-button-group.js +0 -1
- package/es/button-group/stateful-container.js +1 -3
- package/es/button-group/styled-components.js +1 -2
- package/es/card/images.js +8 -0
- package/es/card/index.js +1 -2
- package/es/card/styled-components.js +4 -12
- package/es/checkbox/index.js +0 -1
- package/es/checkbox/stateful-checkbox-container.js +0 -3
- package/es/checkbox/styled-components.js +4 -10
- package/es/combobox/combobox.js +69 -76
- package/es/combobox/styled-components.js +1 -5
- package/es/data-table/column-anchor.js +0 -3
- package/es/data-table/column-datetime.js +5 -12
- package/es/data-table/column-numerical.js +4 -5
- package/es/data-table/column-string.js +0 -3
- package/es/data-table/column.js +1 -4
- package/es/data-table/data-table.js +6 -7
- package/es/data-table/filter-menu.js +1 -2
- package/es/data-table/header-cell.js +34 -41
- package/es/data-table/locale.js +1 -3
- package/es/data-table/measure-column-widths.js +4 -5
- package/es/data-table/stateful-container.js +1 -2
- package/es/data-table/stateful-data-table.js +4 -4
- package/es/datepicker/calendar-header.js +0 -1
- package/es/datepicker/calendar.js +0 -2
- package/es/datepicker/datepicker.js +1 -3
- package/es/datepicker/day.js +1 -2
- package/es/datepicker/index.js +1 -1
- package/es/datepicker/stateful-calendar.js +1 -4
- package/es/datepicker/stateful-container.js +0 -2
- package/es/datepicker/stateful-datepicker.js +1 -5
- package/es/datepicker/styled-components.js +3 -26
- package/es/datepicker/utils/date-helpers.js +1 -2
- package/es/datepicker/utils/index.js +1 -2
- package/es/divider/styled-components.js +2 -3
- package/es/dnd-list/stateful-list-container.js +0 -1
- package/es/dnd-list/styled-components.js +0 -7
- package/es/drawer/constants.js +0 -1
- package/es/drawer/drawer.js +5 -2
- package/es/drawer/styled-components.js +2 -9
- package/es/file-uploader/file-uploader.js +78 -82
- package/es/file-uploader/styled-components.js +1 -6
- package/es/flex-grid/flex-grid-item.js +6 -5
- package/es/flex-grid/flex-grid.js +1 -4
- package/es/form-control/styled-components.js +1 -6
- package/es/header-navigation/styled-components.js +1 -4
- package/es/helper/styled-components.js +1 -3
- package/es/helpers/overrides.js +5 -9
- package/es/icon/build-icons.js +2 -0
- package/es/icon/index.js +1 -1
- package/es/icon/omit-dollar-prefixed-keys.js +0 -1
- package/es/icon/styled-components.js +1 -2
- package/es/input/base-input.js +12 -9
- package/es/input/input.js +13 -9
- package/es/input/masked-input.js +2 -9
- package/es/input/stateful-container.js +0 -1
- package/es/input/styled-components.js +7 -18
- package/es/input/utils.js +0 -2
- package/es/layer/layer.js +0 -24
- package/es/layer/layers-manager.js +1 -91
- package/es/layout-grid/styled-components.js +0 -3
- package/es/link/index.js +1 -2
- package/es/link/styled-components.js +1 -2
- package/es/list/list-heading.js +17 -21
- package/es/list/list-item.js +1 -2
- package/es/list/styled-components.js +1 -17
- package/es/locale/es_AR.js +1 -3
- package/es/locale/index.js +1 -2
- package/es/locale/tr_TR.js +1 -3
- package/es/map-marker/constants.js +0 -14
- package/es/map-marker/fixed-marker.js +0 -1
- package/es/map-marker/index.js +1 -2
- package/es/map-marker/pin-head.js +0 -1
- package/es/map-marker/styled-components.js +2 -86
- package/es/menu/index.js +1 -1
- package/es/menu/menu.js +4 -14
- package/es/menu/option-profile.js +0 -1
- package/es/menu/stateful-container.js +0 -10
- package/es/menu/styled-components.js +2 -32
- package/es/modal/modal.js +6 -4
- package/es/modal/styled-components.js +1 -8
- package/es/pagination/stateful-container.js +0 -1
- package/es/pagination/stateful-pagination.js +0 -1
- package/es/pagination/styled-components.js +1 -4
- package/es/payment-card/styled-components.js +1 -2
- package/es/phone-input/base-country-picker.js +1 -3
- package/es/phone-input/country-select-dropdown.js +0 -1
- package/es/phone-input/styled-components.js +4 -15
- package/es/pin-code/styled-components.js +1 -4
- package/es/popover/popover.js +11 -9
- package/es/popover/stateful-container.js +1 -4
- package/es/popover/styled-components.js +4 -9
- package/es/progress-bar/progressbar-rounded.js +0 -1
- package/es/progress-bar/styled-components.js +2 -14
- package/es/progress-steps/progress-steps.js +1 -2
- package/es/progress-steps/styled-components.js +12 -20
- package/es/radio/stateful-radiogroup-container.js +0 -3
- package/es/radio/styled-components.js +3 -10
- package/es/rating/emoticon-rating.js +1 -2
- package/es/rating/star-rating.js +1 -2
- package/es/rating/styled-components.js +1 -5
- package/es/select/autosize-input.js +3 -2
- package/es/select/default-props.js +1 -1
- package/es/select/dropdown.js +1 -2
- package/es/select/multi-value.js +1 -2
- package/es/select/select-component.js +10 -10
- package/es/select/single-select.js +2 -2
- package/es/select/stateful-select-container.js +0 -2
- package/es/select/styled-components.js +6 -33
- package/es/select/value.js +4 -3
- package/es/side-navigation/index.js +1 -2
- package/es/side-navigation/nav-item.js +0 -1
- package/es/side-navigation/nav.js +1 -1
- package/es/side-navigation/stateful-container.js +0 -1
- package/es/side-navigation/styled-components.js +2 -8
- package/es/skeleton/styled-components.js +1 -3
- package/es/slider/slider.js +2 -4
- package/es/slider/stateful-slider-container.js +0 -2
- package/es/slider/styled-components.js +0 -9
- package/es/snackbar/snackbar-element.js +0 -1
- package/es/snackbar/styled-components.js +1 -9
- package/es/spinner/styled-components.js +1 -2
- package/es/styles/__mocks__/styled.js +5 -8
- package/es/styles/styled.js +6 -7
- package/es/table/index.js +1 -2
- package/es/table/styled-components.js +1 -13
- package/es/table-grid/styled-components.js +1 -4
- package/es/table-semantic/styled-components.js +3 -20
- package/es/tabs/stateful-tabs.js +0 -1
- package/es/tabs/styled-components.js +1 -5
- package/es/tabs/tabs.js +2 -4
- package/es/tabs-motion/styled-components.js +2 -32
- package/es/tabs-motion/tab.js +0 -1
- package/es/tabs-motion/tabs.js +6 -31
- package/es/tag/styled-components.js +1 -32
- package/es/tag/tag.js +2 -6
- package/es/textarea/styled-components.js +12 -20
- package/es/textarea/textarea.js +15 -13
- package/es/themes/dark-theme/color-component-tokens.js +1 -1
- package/es/themes/light-theme/color-component-tokens.js +1 -1
- package/es/themes/move-theme/typography.js +0 -36
- package/es/themes/shared/borders.js +3 -8
- package/es/themes/shared/typography.js +10 -10
- package/es/timezonepicker/timezone-picker.js +1 -5
- package/es/timezonepicker/tzdata.js +1 -1
- package/es/timezonepicker/update-tzdata.js +6 -11
- package/es/toast/styled-components.js +1 -5
- package/es/toast/toaster.js +2 -0
- package/es/tokens/colors.js +0 -24
- package/es/tooltip/styled-components.js +1 -4
- package/es/tree-view/index.js +1 -2
- package/es/tree-view/styled-components.js +1 -7
- package/es/tree-view/tree-view.js +1 -3
- package/es/types/globals.d.js +0 -12
- package/es/utils/deep-merge.js +5 -0
- package/es/utils/deprecated-component.js +0 -1
- package/es/utils/focusVisible.js +2 -4
- package/esm/accordion/accordion.js +4 -4
- package/esm/accordion/panel.js +2 -3
- package/esm/accordion/stateful-panel-container.js +0 -1
- package/esm/accordion/styled-components.js +1 -8
- package/esm/app-nav-bar/app-nav-bar.js +2 -4
- package/esm/app-nav-bar/mobile-menu.js +2 -4
- package/esm/app-nav-bar/styled-components.js +1 -19
- package/esm/app-nav-bar/user-menu.js +1 -1
- package/esm/aspect-ratio-box/aspect-ratio-box.js +1 -3
- package/esm/avatar/styled-components.js +1 -4
- package/esm/badge/styled-components.js +6 -11
- package/esm/banner/styled-components.js +3 -16
- package/esm/block/block.js +1 -3
- package/esm/block/styled-components.js +1 -2
- package/esm/breadcrumbs/styled-components.js +2 -7
- package/esm/button/styled-components.js +0 -7
- package/esm/button-group/stateful-button-group.js +0 -1
- package/esm/button-group/stateful-container.js +1 -3
- package/esm/button-group/styled-components.js +1 -2
- package/esm/card/images.js +8 -0
- package/esm/card/index.js +1 -2
- package/esm/card/styled-components.js +4 -12
- package/esm/checkbox/index.js +0 -1
- package/esm/checkbox/styled-components.js +4 -10
- package/esm/combobox/combobox.js +71 -78
- package/esm/combobox/styled-components.js +1 -5
- package/esm/data-table/column-anchor.js +0 -3
- package/esm/data-table/column-datetime.js +5 -12
- package/esm/data-table/column-numerical.js +4 -4
- package/esm/data-table/column-string.js +0 -3
- package/esm/data-table/column.js +1 -5
- package/esm/data-table/data-table.js +6 -7
- package/esm/data-table/filter-menu.js +1 -2
- package/esm/data-table/header-cell.js +34 -42
- package/esm/data-table/locale.js +1 -3
- package/esm/data-table/measure-column-widths.js +4 -5
- package/esm/data-table/stateful-container.js +1 -2
- package/esm/data-table/stateful-data-table.js +4 -4
- package/esm/datepicker/calendar-header.js +0 -1
- package/esm/datepicker/calendar.js +0 -2
- package/esm/datepicker/datepicker.js +1 -3
- package/esm/datepicker/day.js +1 -2
- package/esm/datepicker/index.js +1 -1
- package/esm/datepicker/stateful-calendar.js +3 -7
- package/esm/datepicker/stateful-container.js +0 -2
- package/esm/datepicker/stateful-datepicker.js +4 -9
- package/esm/datepicker/styled-components.js +3 -26
- package/esm/datepicker/utils/date-helpers.js +1 -2
- package/esm/datepicker/utils/index.js +1 -2
- package/esm/divider/styled-components.js +2 -3
- package/esm/dnd-list/stateful-list-container.js +0 -1
- package/esm/dnd-list/styled-components.js +0 -7
- package/esm/drawer/constants.js +0 -1
- package/esm/drawer/drawer.js +5 -2
- package/esm/drawer/styled-components.js +2 -9
- package/esm/file-uploader/file-uploader.js +83 -87
- package/esm/file-uploader/styled-components.js +1 -6
- package/esm/flex-grid/flex-grid-item.js +5 -4
- package/esm/flex-grid/flex-grid.js +3 -7
- package/esm/form-control/styled-components.js +1 -6
- package/esm/header-navigation/styled-components.js +1 -4
- package/esm/helper/styled-components.js +1 -3
- package/esm/helpers/overrides.js +5 -9
- package/esm/icon/build-icons.js +2 -0
- package/esm/icon/index.js +1 -1
- package/esm/icon/omit-dollar-prefixed-keys.js +0 -1
- package/esm/icon/styled-components.js +1 -2
- package/esm/input/base-input.js +12 -9
- package/esm/input/input.js +13 -9
- package/esm/input/masked-input.js +2 -5
- package/esm/input/stateful-container.js +0 -1
- package/esm/input/styled-components.js +7 -18
- package/esm/input/utils.js +0 -2
- package/esm/layer/layer.js +0 -24
- package/esm/layer/layers-manager.js +1 -97
- package/esm/layout-grid/styled-components.js +0 -3
- package/esm/link/index.js +1 -2
- package/esm/link/styled-components.js +1 -2
- package/esm/list/list-heading.js +17 -21
- package/esm/list/list-item.js +1 -2
- package/esm/list/styled-components.js +1 -17
- package/esm/locale/es_AR.js +1 -3
- package/esm/locale/index.js +1 -4
- package/esm/locale/tr_TR.js +1 -3
- package/esm/map-marker/constants.js +2 -12
- package/esm/map-marker/index.js +1 -2
- package/esm/map-marker/styled-components.js +2 -82
- package/esm/menu/index.js +1 -1
- package/esm/menu/menu.js +4 -16
- package/esm/menu/option-profile.js +0 -1
- package/esm/menu/stateful-container.js +0 -1
- package/esm/menu/styled-components.js +6 -38
- package/esm/modal/modal.js +6 -4
- package/esm/modal/styled-components.js +1 -8
- package/esm/pagination/stateful-container.js +0 -1
- package/esm/pagination/stateful-pagination.js +0 -1
- package/esm/pagination/styled-components.js +1 -4
- package/esm/payment-card/styled-components.js +1 -2
- package/esm/phone-input/base-country-picker.js +1 -3
- package/esm/phone-input/country-select-dropdown.js +0 -1
- package/esm/phone-input/styled-components.js +8 -20
- package/esm/pin-code/styled-components.js +1 -4
- package/esm/popover/popover.js +11 -9
- package/esm/popover/stateful-container.js +1 -4
- package/esm/popover/styled-components.js +4 -9
- package/esm/progress-bar/progressbar-rounded.js +0 -1
- package/esm/progress-bar/styled-components.js +2 -14
- package/esm/progress-steps/progress-steps.js +1 -2
- package/esm/progress-steps/styled-components.js +19 -28
- package/esm/radio/styled-components.js +3 -10
- package/esm/rating/emoticon-rating.js +1 -2
- package/esm/rating/star-rating.js +1 -2
- package/esm/rating/styled-components.js +1 -5
- package/esm/select/autosize-input.js +3 -2
- package/esm/select/default-props.js +1 -1
- package/esm/select/dropdown.js +1 -2
- package/esm/select/multi-value.js +1 -2
- package/esm/select/select-component.js +10 -10
- package/esm/select/single-select.js +2 -2
- package/esm/select/styled-components.js +6 -33
- package/esm/select/value.js +4 -3
- package/esm/side-navigation/index.js +1 -2
- package/esm/side-navigation/nav-item.js +0 -1
- package/esm/side-navigation/nav.js +1 -1
- package/esm/side-navigation/stateful-container.js +0 -1
- package/esm/side-navigation/styled-components.js +6 -13
- package/esm/skeleton/styled-components.js +1 -3
- package/esm/slider/slider.js +2 -4
- package/esm/slider/styled-components.js +0 -9
- package/esm/snackbar/snackbar-element.js +0 -1
- package/esm/snackbar/styled-components.js +1 -9
- package/esm/spinner/styled-components.js +1 -2
- package/esm/styles/__mocks__/styled.js +5 -8
- package/esm/styles/styled.js +6 -7
- package/esm/table/index.js +1 -2
- package/esm/table/styled-components.js +1 -13
- package/esm/table-grid/styled-components.js +1 -4
- package/esm/table-semantic/styled-components.js +3 -20
- package/esm/tabs/stateful-tabs.js +0 -1
- package/esm/tabs/styled-components.js +1 -5
- package/esm/tabs/tabs.js +2 -4
- package/esm/tabs-motion/styled-components.js +40 -68
- package/esm/tabs-motion/tab.js +0 -1
- package/esm/tabs-motion/tabs.js +58 -87
- package/esm/tag/styled-components.js +1 -5
- package/esm/tag/tag.js +2 -4
- package/esm/textarea/styled-components.js +6 -11
- package/esm/textarea/textarea.js +15 -13
- package/esm/themes/dark-theme/color-component-tokens.js +1 -1
- package/esm/themes/light-theme/color-component-tokens.js +1 -1
- package/esm/themes/move-theme/typography.js +0 -36
- package/esm/themes/shared/borders.js +3 -8
- package/esm/themes/shared/typography.js +10 -10
- package/esm/timezonepicker/timezone-picker.js +2 -6
- package/esm/timezonepicker/tzdata.js +1 -1
- package/esm/timezonepicker/update-tzdata.js +39 -51
- package/esm/toast/styled-components.js +1 -5
- package/esm/toast/toaster.js +2 -0
- package/esm/tokens/colors.js +0 -24
- package/esm/tooltip/styled-components.js +1 -4
- package/esm/tree-view/index.js +1 -2
- package/esm/tree-view/styled-components.js +1 -7
- package/esm/tree-view/tree-view.js +1 -3
- package/esm/types/globals.d.js +0 -12
- package/esm/utils/deep-merge.js +5 -0
- package/esm/utils/deprecated-component.js +0 -1
- package/esm/utils/focusVisible.js +2 -4
- package/file-uploader/file-uploader.js +83 -87
- package/file-uploader/styled-components.js +1 -6
- package/flex-grid/flex-grid-item.d.ts +1 -1
- package/flex-grid/flex-grid-item.js +8 -6
- package/flex-grid/flex-grid.js +3 -7
- package/flex-grid/types.d.ts +1 -1
- package/form-control/styled-components.js +1 -6
- package/form-control/types.d.ts +1 -1
- package/header-navigation/styled-components.js +1 -4
- package/heading/types.d.ts +1 -1
- package/helper/styled-components.js +1 -3
- package/helpers/overrides.js +3 -8
- package/helpers/overrides.js.flow +1 -1
- package/helpers/types.d.ts +1 -1
- package/icon/build-icons.js +2 -0
- package/icon/build-icons.js.flow +1 -0
- package/icon/index.d.ts +1 -1
- package/icon/index.js +1 -8
- package/icon/index.js.flow +1 -1
- package/icon/omit-dollar-prefixed-keys.js +0 -1
- package/icon/styled-components.js +1 -2
- package/icon/types.d.ts +1 -1
- package/input/base-input.js +12 -8
- package/input/base-input.js.flow +8 -4
- package/input/input.js +13 -9
- package/input/input.js.flow +9 -5
- package/input/masked-input.js +2 -5
- package/input/stateful-container.js +0 -1
- package/input/styled-components.js +7 -18
- package/input/styled-components.js.flow +2 -9
- package/input/types.d.ts +14 -16
- package/input/types.js.flow +0 -3
- package/input/utils.js +0 -2
- package/layer/layer.js +0 -24
- package/layer/layer.js.flow +0 -25
- package/layer/layers-manager.d.ts +0 -8
- package/layer/layers-manager.js +1 -97
- package/layer/layers-manager.js.flow +1 -84
- package/layer/types.d.ts +2 -23
- package/layer/types.js.flow +1 -22
- package/layout-grid/styled-components.js +0 -3
- package/layout-grid/types.d.ts +2 -2
- package/link/index.js +1 -2
- package/link/styled-components.js +1 -2
- package/list/list-heading.js +17 -21
- package/list/list-item.js +1 -2
- package/list/styled-components.js +1 -17
- package/list/types.d.ts +2 -2
- package/locale/en_US.d.ts +1 -1
- package/locale/es_AR.d.ts +1 -1
- package/locale/es_AR.js +1 -3
- package/locale/index.js +1 -4
- package/locale/tr_TR.d.ts +1 -1
- package/locale/tr_TR.js +1 -3
- package/map-marker/constants.d.ts +0 -14
- package/map-marker/constants.js +3 -16
- package/map-marker/constants.js.flow +0 -17
- package/map-marker/index.d.ts +1 -2
- package/map-marker/index.js +1 -24
- package/map-marker/index.js.flow +3 -5
- package/map-marker/styled-components.d.ts +1 -17
- package/map-marker/styled-components.js +2 -88
- package/map-marker/styled-components.js.flow +0 -58
- package/map-marker/types.d.ts +5 -33
- package/map-marker/types.js.flow +3 -37
- package/menu/index.d.ts +3 -2
- package/menu/index.js +1 -8
- package/menu/index.js.flow +0 -1
- package/menu/menu.js +3 -15
- package/menu/menu.js.flow +1 -11
- package/menu/option-profile.js +0 -1
- package/menu/stateful-container.js +0 -1
- package/menu/styled-components.d.ts +0 -1
- package/menu/styled-components.js +7 -40
- package/menu/styled-components.js.flow +0 -13
- package/menu/types.d.ts +13 -13
- package/menu/types.js.flow +0 -1
- package/modal/modal.js +4 -4
- package/modal/modal.js.flow +3 -1
- package/modal/styled-components.js +1 -8
- package/modal/types.d.ts +2 -2
- package/package.json +12 -10
- package/pagination/stateful-container.js +0 -1
- package/pagination/stateful-pagination.js +0 -1
- package/pagination/styled-components.js +1 -4
- package/pagination/types.d.ts +2 -2
- package/payment-card/styled-components.js +1 -2
- package/phone-input/base-country-picker.js +1 -3
- package/phone-input/country-select-dropdown.js +0 -1
- package/phone-input/styled-components.js +9 -21
- package/phone-input/types.d.ts +6 -5
- package/pin-code/styled-components.js +1 -4
- package/pin-code/types.d.ts +2 -2
- package/popover/popover.js +11 -9
- package/popover/popover.js.flow +12 -2
- package/popover/stateful-container.js +1 -5
- package/popover/styled-components.js +9 -12
- package/popover/types.d.ts +2 -2
- package/progress-bar/progressbar-rounded.js +0 -1
- package/progress-bar/styled-components.d.ts +1 -4
- package/progress-bar/styled-components.js +2 -14
- package/progress-bar/types.d.ts +2 -2
- package/progress-steps/progress-steps.js +1 -2
- package/progress-steps/styled-components.js +19 -28
- package/radio/styled-components.js +3 -10
- package/radio/types.d.ts +20 -19
- package/rating/emoticon-rating.js +1 -2
- package/rating/star-rating.js +1 -2
- package/rating/styled-components.js +1 -5
- package/select/autosize-input.js +1 -2
- package/select/autosize-input.js.flow +1 -1
- package/select/default-props.js +1 -1
- package/select/dropdown.js +1 -2
- package/select/multi-value.js +0 -1
- package/select/select-component.d.ts +1 -1
- package/select/select-component.js +7 -9
- package/select/select-component.js.flow +1 -1
- package/select/single-select.d.ts +2 -2
- package/select/single-select.js +2 -2
- package/select/styled-components.js +6 -33
- package/select/styled-components.js.flow +5 -25
- package/select/types.d.ts +6 -5
- package/select/value.js +3 -2
- package/side-navigation/nav-item.js +0 -1
- package/side-navigation/nav.js +1 -1
- package/side-navigation/stateful-container.js +0 -1
- package/side-navigation/styled-components.js +6 -13
- package/side-navigation/types.d.ts +4 -4
- package/skeleton/styled-components.js +1 -3
- package/slider/slider.js +2 -4
- package/slider/styled-components.js +0 -9
- package/slider/types.d.ts +1 -1
- package/snackbar/snackbar-element.js +0 -1
- package/snackbar/styled-components.js +1 -9
- package/snackbar/types.d.ts +4 -3
- package/spinner/styled-components.js +1 -2
- package/spinner/types.d.ts +1 -1
- package/styles/__mocks__/styled.js +3 -8
- package/styles/styled.d.ts +1 -1
- package/styles/styled.js +6 -7
- package/table/styled-components.js +1 -13
- package/table/types.d.ts +2 -2
- package/table-grid/styled-components.js +1 -4
- package/table-semantic/styled-components.js +3 -20
- package/table-semantic/types.d.ts +2 -2
- package/tabs/stateful-tabs.js +0 -1
- package/tabs/styled-components.js +1 -5
- package/tabs/tabs.js +2 -4
- package/tabs/types.d.ts +2 -2
- package/tabs-motion/styled-components.d.ts +0 -5
- package/tabs-motion/styled-components.js +41 -71
- package/tabs-motion/styled-components.js.flow +0 -21
- package/tabs-motion/tab.js +0 -1
- package/tabs-motion/tabs.d.ts +1 -1
- package/tabs-motion/tabs.js +57 -87
- package/tabs-motion/tabs.js.flow +38 -69
- package/tabs-motion/types.d.ts +2 -5
- package/tabs-motion/types.js.flow +0 -3
- package/tabs-motion/utils.d.ts +1 -1
- package/tag/styled-components.js +1 -5
- package/tag/tag.js +2 -4
- package/tag/types.d.ts +5 -4
- package/textarea/styled-components.js +6 -11
- package/textarea/textarea.js +15 -13
- package/textarea/textarea.js.flow +9 -5
- package/textarea/types.d.ts +5 -6
- package/textarea/types.js.flow +1 -3
- package/themes/dark-theme/color-component-tokens.js +1 -1
- package/themes/dark-theme/color-component-tokens.js.flow +1 -1
- package/themes/light-theme/color-component-tokens.js +1 -1
- package/themes/light-theme/color-component-tokens.js.flow +1 -1
- package/themes/move-theme/typography.d.ts +0 -36
- package/themes/move-theme/typography.js +0 -36
- package/themes/move-theme/typography.js.flow +0 -12
- package/themes/shared/borders.js +3 -8
- package/themes/shared/borders.js.flow +3 -7
- package/themes/shared/typography.js +10 -10
- package/themes/shared/typography.js.flow +10 -10
- package/themes/types.d.ts +0 -3
- package/themes/types.js.flow +0 -3
- package/timezonepicker/timezone-picker.js +2 -6
- package/timezonepicker/types.d.ts +0 -1
- package/timezonepicker/types.js.flow +0 -1
- package/timezonepicker/tzdata.js +1 -1
- package/timezonepicker/update-tzdata.js +39 -51
- package/toast/styled-components.js +1 -5
- package/toast/toaster.js.flow +1 -1
- package/toast/types.d.ts +2 -2
- package/tokens/colors.js +0 -24
- package/tokens/colors.js.flow +0 -27
- package/tokens/types.d.ts +0 -24
- package/tokens/types.js.flow +0 -27
- package/tooltip/styled-components.js +1 -4
- package/tree-view/styled-components.js +1 -7
- package/tree-view/tree-view.js +1 -3
- package/tree-view/types.d.ts +4 -3
- package/types/globals.d.js +1 -14
- package/utils/deep-merge.js +6 -0
- package/utils/deprecated-component.js +0 -1
- package/utils/focusVisible.d.ts +1 -1
- package/utils/focusVisible.js +2 -4
- package/es/map-marker/location-puck.js +0 -142
- package/es/message-card/constants.js +0 -19
- package/es/message-card/index.js +0 -10
- package/es/message-card/message-card.js +0 -114
- package/es/message-card/styled-components.js +0 -108
- package/es/message-card/types.js +0 -1
- package/es/message-card/utils.js +0 -27
- package/esm/map-marker/location-puck.js +0 -199
- package/esm/message-card/constants.js +0 -20
- package/esm/message-card/index.js +0 -10
- package/esm/message-card/message-card.js +0 -168
- package/esm/message-card/styled-components.js +0 -116
- package/esm/message-card/types.js +0 -1
- package/esm/message-card/utils.js +0 -26
- package/map-marker/location-puck.d.ts +0 -4
- package/map-marker/location-puck.js +0 -211
- package/map-marker/location-puck.js.flow +0 -18
- package/message-card/constants.d.ts +0 -12
- package/message-card/constants.js +0 -25
- package/message-card/index.d.ts +0 -4
- package/message-card/index.js +0 -60
- package/message-card/index.js.flow +0 -72
- package/message-card/message-card.d.ts +0 -4
- package/message-card/message-card.js +0 -184
- package/message-card/package.json +0 -4
- package/message-card/styled-components.d.ts +0 -14
- package/message-card/styled-components.js +0 -124
- package/message-card/types.d.ts +0 -27
- package/message-card/types.js +0 -5
- package/message-card/utils.d.ts +0 -1
- package/message-card/utils.js +0 -36
package/data-table/data-table.js
CHANGED
|
@@ -197,8 +197,7 @@ function Header(props) {
|
|
|
197
197
|
var _React$useState3 = React.useState(0),
|
|
198
198
|
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
199
199
|
endResizePos = _React$useState4[0],
|
|
200
|
-
setEndResizePos = _React$useState4[1];
|
|
201
|
-
|
|
200
|
+
setEndResizePos = _React$useState4[1];
|
|
202
201
|
|
|
203
202
|
var headerCellRef = React.useRef(null);
|
|
204
203
|
var RULER_OFFSET = 2;
|
|
@@ -242,8 +241,7 @@ function Header(props) {
|
|
|
242
241
|
}
|
|
243
242
|
}
|
|
244
243
|
}
|
|
245
|
-
}
|
|
246
|
-
|
|
244
|
+
}
|
|
247
245
|
|
|
248
246
|
function handleMouseUp(event) {
|
|
249
247
|
props.onResize(props.index, endResizePos - startResizePos);
|
|
@@ -806,13 +804,15 @@ function DataTable(_ref2) {
|
|
|
806
804
|
}
|
|
807
805
|
|
|
808
806
|
result.push(gridProps.width - sum(result) - scrollbarWidth);
|
|
809
|
-
resetAfterColumnIndex(0);
|
|
810
807
|
return result;
|
|
811
808
|
}
|
|
812
809
|
}
|
|
813
810
|
|
|
814
811
|
return resizedWidths;
|
|
815
812
|
}, [gridRef, measuredWidths, resizeDeltas, browserScrollbarWidth, rows.length, columns]);
|
|
813
|
+
React.useEffect(function () {
|
|
814
|
+
resetAfterColumnIndex(0);
|
|
815
|
+
}, [normalizedWidths]);
|
|
816
816
|
var isSelectable = batchActions ? !!batchActions.length : false;
|
|
817
817
|
var isSelectedAll = React.useMemo(function () {
|
|
818
818
|
if (!selectedRowIds) {
|
|
@@ -960,8 +960,7 @@ function DataTable(_ref2) {
|
|
|
960
960
|
tableHeight: height,
|
|
961
961
|
widths: normalizedWidths
|
|
962
962
|
}
|
|
963
|
-
}, /*#__PURE__*/React.createElement(_reactWindow.VariableSizeGrid
|
|
964
|
-
, {
|
|
963
|
+
}, /*#__PURE__*/React.createElement(_reactWindow.VariableSizeGrid, {
|
|
965
964
|
ref: setGridRef,
|
|
966
965
|
overscanRowCount: 10,
|
|
967
966
|
overscanColumnCount: 5,
|
|
@@ -98,8 +98,7 @@ function Options(props) {
|
|
|
98
98
|
if ((0, _focusVisible.isFocusVisible)(event)) {
|
|
99
99
|
setFocusVisible(true);
|
|
100
100
|
}
|
|
101
|
-
};
|
|
102
|
-
|
|
101
|
+
};
|
|
103
102
|
|
|
104
103
|
var handleBlur = function handleBlur(event) {
|
|
105
104
|
if (focusVisible !== false) {
|
|
@@ -11,8 +11,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _checkbox = require("../checkbox");
|
|
13
13
|
|
|
14
|
-
var _locale = require("../locale");
|
|
15
|
-
|
|
16
14
|
var _styles = require("../styles");
|
|
17
15
|
|
|
18
16
|
var _chevronDown = _interopRequireDefault(require("../icon/chevron-down"));
|
|
@@ -48,8 +46,6 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
48
46
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
49
47
|
|
|
50
48
|
var HeaderCell = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
51
|
-
var locale = React.useContext(_locale.LocaleContext);
|
|
52
|
-
|
|
53
49
|
var _useStyletron = (0, _styles.useStyletron)(),
|
|
54
50
|
_useStyletron2 = _slicedToArray(_useStyletron, 2),
|
|
55
51
|
css = _useStyletron2[0],
|
|
@@ -68,7 +64,7 @@ var HeaderCell = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
68
64
|
}
|
|
69
65
|
};
|
|
70
66
|
|
|
71
|
-
var handleBlur = function handleBlur() {
|
|
67
|
+
var handleBlur = function handleBlur(event) {
|
|
72
68
|
if (focusVisible !== false) {
|
|
73
69
|
setFocusVisible(false);
|
|
74
70
|
}
|
|
@@ -77,64 +73,59 @@ var HeaderCell = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
77
73
|
var backgroundColor = props.isHovered ? theme.colors.backgroundSecondary : theme.colors.backgroundPrimary;
|
|
78
74
|
return /*#__PURE__*/React.createElement("div", {
|
|
79
75
|
ref: ref,
|
|
76
|
+
role: "button",
|
|
77
|
+
tabIndex: 0,
|
|
80
78
|
className: css(_objectSpread(_objectSpread({}, theme.typography.font350), {}, {
|
|
81
79
|
alignItems: 'center',
|
|
82
80
|
backgroundColor: backgroundColor,
|
|
81
|
+
boxSizing: 'border-box',
|
|
83
82
|
color: theme.colors.contentPrimary,
|
|
83
|
+
cursor: props.sortable ? 'pointer' : null,
|
|
84
84
|
display: props.isMeasured ? 'inline-flex' : 'flex',
|
|
85
85
|
flexGrow: 1,
|
|
86
86
|
height: '100%',
|
|
87
|
-
paddingLeft: theme.sizing.scale500
|
|
88
|
-
|
|
87
|
+
paddingLeft: theme.sizing.scale500,
|
|
88
|
+
paddingRight: theme.sizing.scale500,
|
|
89
|
+
flexWrap: 'nowrap',
|
|
90
|
+
whiteSpace: 'nowrap',
|
|
91
|
+
outline: focusVisible ? "3px solid ".concat(theme.colors.accent) : 'none',
|
|
92
|
+
outlineOffset: '-3px'
|
|
93
|
+
})),
|
|
94
|
+
onMouseEnter: props.onMouseEnter,
|
|
95
|
+
onMouseLeave: props.onMouseLeave,
|
|
96
|
+
onKeyUp: function onKeyUp(event) {
|
|
97
|
+
if (event.key === 'Enter') {
|
|
98
|
+
props.onSort(props.index);
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
onClick: function onClick(event) {
|
|
102
|
+
// Avoid column sort if select-all checkbox click.
|
|
103
|
+
if (checkboxRef.current && checkboxRef.current.contains(event.target)) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (props.sortable) {
|
|
108
|
+
props.onSort(props.index);
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
onFocus: handleFocus,
|
|
112
|
+
onBlur: handleBlur
|
|
89
113
|
}, props.isSelectable && /*#__PURE__*/React.createElement("span", {
|
|
90
114
|
className: css({
|
|
91
115
|
paddingRight: theme.sizing.scale300
|
|
92
116
|
}),
|
|
93
117
|
ref: checkboxRef
|
|
94
118
|
}, /*#__PURE__*/React.createElement(_checkbox.Checkbox, {
|
|
95
|
-
onChange: function onChange() {
|
|
119
|
+
onChange: function onChange(e) {
|
|
96
120
|
if (props.isSelectedAll || props.isSelectedIndeterminate) {
|
|
97
121
|
props.onSelectNone();
|
|
98
122
|
} else {
|
|
99
123
|
props.onSelectAll();
|
|
100
124
|
}
|
|
101
125
|
},
|
|
102
|
-
"aria-label": locale.datatable.selectAllRows,
|
|
103
126
|
checked: props.isSelectedAll || props.isSelectedIndeterminate,
|
|
104
127
|
isIndeterminate: props.isSelectedIndeterminate
|
|
105
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
106
|
-
className: css({
|
|
107
|
-
alignItems: 'center',
|
|
108
|
-
backgroundColor: 'transparent',
|
|
109
|
-
border: 'none',
|
|
110
|
-
boxSizing: 'border-box',
|
|
111
|
-
cursor: props.sortable ? 'pointer' : null,
|
|
112
|
-
display: 'flex',
|
|
113
|
-
flexGrow: 1,
|
|
114
|
-
height: '100%',
|
|
115
|
-
outline: focusVisible ? "3px solid ".concat(theme.colors.accent) : 'none',
|
|
116
|
-
outlineOffset: '-3px',
|
|
117
|
-
// paddingLeft: theme.sizing.scale500,
|
|
118
|
-
paddingRight: theme.sizing.scale500,
|
|
119
|
-
whiteSpace: 'nowrap'
|
|
120
|
-
}),
|
|
121
|
-
onMouseEnter: props.onMouseEnter,
|
|
122
|
-
onMouseLeave: props.onMouseLeave,
|
|
123
|
-
onKeyUp: function onKeyUp(event) {
|
|
124
|
-
if (event.key === 'Enter') {
|
|
125
|
-
props.onSort(props.index);
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
onClick: function onClick() {
|
|
129
|
-
if (props.sortable) {
|
|
130
|
-
props.onSort(props.index);
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
onFocus: handleFocus,
|
|
134
|
-
onBlur: handleBlur,
|
|
135
|
-
role: "button",
|
|
136
|
-
tabIndex: 0
|
|
137
|
-
}, props.title, /*#__PURE__*/React.createElement("div", {
|
|
128
|
+
})), props.title, /*#__PURE__*/React.createElement("div", {
|
|
138
129
|
className: css({
|
|
139
130
|
position: 'relative',
|
|
140
131
|
width: '100%',
|
|
@@ -153,7 +144,7 @@ var HeaderCell = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
153
144
|
color: props.sortDirection ? theme.colors.contentPrimary : theme.colors.contentSecondary
|
|
154
145
|
}), (props.sortDirection === _constants.SORT_DIRECTIONS.ASC || !props.sortDirection) && /*#__PURE__*/React.createElement(_chevronUp.default, {
|
|
155
146
|
color: props.sortDirection ? theme.colors.contentPrimary : theme.colors.contentSecondary
|
|
156
|
-
}))))
|
|
147
|
+
}))));
|
|
157
148
|
});
|
|
158
149
|
HeaderCell.displayName = 'HeaderCell';
|
|
159
150
|
var _default = HeaderCell;
|
package/data-table/locale.d.ts
CHANGED
|
@@ -32,8 +32,6 @@ export declare type DataTableLocale = {
|
|
|
32
32
|
booleanFilterFalse: string;
|
|
33
33
|
booleanColumnTrueShort: string;
|
|
34
34
|
booleanColumnFalseShort: string;
|
|
35
|
-
selectRow: string;
|
|
36
|
-
selectAllRows: string;
|
|
37
35
|
};
|
|
38
36
|
declare const locale: {
|
|
39
37
|
emptyState: string;
|
|
@@ -69,7 +67,5 @@ declare const locale: {
|
|
|
69
67
|
booleanFilterFalse: string;
|
|
70
68
|
booleanColumnTrueShort: string;
|
|
71
69
|
booleanColumnFalseShort: string;
|
|
72
|
-
selectRow: string;
|
|
73
|
-
selectAllRows: string;
|
|
74
70
|
};
|
|
75
71
|
export default locale;
|
package/data-table/locale.js
CHANGED
|
@@ -44,9 +44,7 @@ var locale = {
|
|
|
44
44
|
booleanFilterTrue: 'true',
|
|
45
45
|
booleanFilterFalse: 'false',
|
|
46
46
|
booleanColumnTrueShort: 'T',
|
|
47
|
-
booleanColumnFalseShort: 'F'
|
|
48
|
-
selectRow: 'Select row',
|
|
49
|
-
selectAllRows: 'Select all rows'
|
|
47
|
+
booleanColumnFalseShort: 'F'
|
|
50
48
|
};
|
|
51
49
|
var _default = locale;
|
|
52
50
|
exports.default = _default;
|
|
@@ -40,8 +40,6 @@ export type DataTableLocaleT = {|
|
|
|
40
40
|
booleanFilterFalse: string,
|
|
41
41
|
booleanColumnTrueShort: string,
|
|
42
42
|
booleanColumnFalseShort: string,
|
|
43
|
-
selectRow: string,
|
|
44
|
-
selectAllRows: string,
|
|
45
43
|
|};
|
|
46
44
|
|
|
47
45
|
const locale = {
|
|
@@ -79,9 +77,6 @@ const locale = {
|
|
|
79
77
|
booleanFilterFalse: 'false',
|
|
80
78
|
booleanColumnTrueShort: 'T',
|
|
81
79
|
booleanColumnFalseShort: 'F',
|
|
82
|
-
selectRow: 'Select row',
|
|
83
|
-
selectAllRows: 'Select all rows',
|
|
84
|
-
|
|
85
80
|
};
|
|
86
81
|
|
|
87
82
|
export default locale;
|
|
@@ -51,7 +51,7 @@ function MeasureColumn(_ref) {
|
|
|
51
51
|
onLayout(columnIndex, ref.current.getBoundingClientRect());
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
}, [
|
|
54
|
+
}, []);
|
|
55
55
|
return /*#__PURE__*/React.createElement("div", {
|
|
56
56
|
ref: ref,
|
|
57
57
|
className: css({
|
|
@@ -68,8 +68,7 @@ function MeasureColumn(_ref) {
|
|
|
68
68
|
onMouseEnter: function onMouseEnter() {},
|
|
69
69
|
onMouseLeave: function onMouseLeave() {},
|
|
70
70
|
onSelectAll: function onSelectAll() {},
|
|
71
|
-
onSelectNone: function onSelectNone() {}
|
|
72
|
-
,
|
|
71
|
+
onSelectNone: function onSelectNone() {},
|
|
73
72
|
onSort: function onSort(i) {},
|
|
74
73
|
sortable: column.sortable,
|
|
75
74
|
sortDirection: null,
|
|
@@ -133,7 +132,7 @@ function MeasureColumnWidths(_ref2) {
|
|
|
133
132
|
|
|
134
133
|
var widthMap = React.useMemo(function () {
|
|
135
134
|
return new Map();
|
|
136
|
-
}, [
|
|
135
|
+
}, []);
|
|
137
136
|
var sampleSize = rows.length < MAX_SAMPLE_SIZE ? rows.length : MAX_SAMPLE_SIZE;
|
|
138
137
|
var finishedMeasurementCount = (sampleSize + 1) * columns.length;
|
|
139
138
|
var sampleIndexes = React.useMemo(function () {
|
|
@@ -152,7 +151,7 @@ function MeasureColumnWidths(_ref2) {
|
|
|
152
151
|
widthMap.size === Math.floor(columns.length / 4)) {
|
|
153
152
|
onWidthsChange(Array.from(widthMap.values()));
|
|
154
153
|
}
|
|
155
|
-
}, [columns,
|
|
154
|
+
}, [columns, finishedMeasurementCount, onWidthsChange]);
|
|
156
155
|
var hiddenStyle = css({
|
|
157
156
|
position: 'absolute',
|
|
158
157
|
overflow: 'hidden',
|
|
@@ -182,8 +182,7 @@ var StatefulContainer = function StatefulContainer(props) {
|
|
|
182
182
|
selectedRowIds: selectedRowIds,
|
|
183
183
|
sortIndex: sortIndex,
|
|
184
184
|
sortDirection: sortDirection,
|
|
185
|
-
textQuery: textQuery
|
|
186
|
-
|
|
185
|
+
textQuery: textQuery
|
|
187
186
|
});
|
|
188
187
|
};
|
|
189
188
|
|
|
@@ -277,12 +277,12 @@ function StatefulDataTable(props) {
|
|
|
277
277
|
title: title
|
|
278
278
|
});
|
|
279
279
|
}))), Boolean(selectedRowIds.size) && props.batchActions && /*#__PURE__*/React.createElement("div", {
|
|
280
|
-
|
|
280
|
+
style: {
|
|
281
281
|
display: 'flex',
|
|
282
282
|
alignItems: 'center',
|
|
283
|
-
paddingTop: theme.sizing.
|
|
284
|
-
paddingBottom: theme.sizing.
|
|
285
|
-
}
|
|
283
|
+
paddingTop: theme.sizing.scale400,
|
|
284
|
+
paddingBottom: theme.sizing.scale400
|
|
285
|
+
}
|
|
286
286
|
}, props.batchActions.map(function (action) {
|
|
287
287
|
function onClick(event) {
|
|
288
288
|
action.onClick({
|
package/data-table/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { COLUMNS, SORT_DIRECTIONS } from './constants';
|
|
3
|
+
import type { SyntheticEvent } from 'react';
|
|
3
4
|
export declare type SortDirections = typeof SORT_DIRECTIONS[keyof typeof SORT_DIRECTIONS];
|
|
4
5
|
export declare type Columns = typeof COLUMNS[keyof typeof COLUMNS];
|
|
5
6
|
export declare type SharedColumnOptions<Value> = {
|
|
@@ -44,7 +45,7 @@ export declare type BatchAction = {
|
|
|
44
45
|
label: string;
|
|
45
46
|
onClick: (a: {
|
|
46
47
|
clearSelection: () => unknown;
|
|
47
|
-
event:
|
|
48
|
+
event: SyntheticEvent<HTMLButtonElement>;
|
|
48
49
|
selection: Row[];
|
|
49
50
|
}) => unknown;
|
|
50
51
|
renderIcon?: React.ComponentType<{
|
|
@@ -54,7 +55,7 @@ export declare type BatchAction = {
|
|
|
54
55
|
export declare type RowAction = {
|
|
55
56
|
label: string;
|
|
56
57
|
onClick: (a: {
|
|
57
|
-
event:
|
|
58
|
+
event: SyntheticEvent<HTMLButtonElement>;
|
|
58
59
|
row: Row;
|
|
59
60
|
}) => unknown;
|
|
60
61
|
renderIcon: React.ComponentType<{
|
|
@@ -83,7 +83,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
83
83
|
|
|
84
84
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
85
85
|
|
|
86
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
87
86
|
var navBtnStyle = function navBtnStyle(_ref) {
|
|
88
87
|
var $theme = _ref.$theme;
|
|
89
88
|
return {
|
package/datepicker/calendar.js
CHANGED
|
@@ -333,7 +333,6 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
|
333
333
|
});
|
|
334
334
|
|
|
335
335
|
_defineProperty(_assertThisInitialized(_this), "handleDateChange", function (data) {
|
|
336
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
337
336
|
var _this$props$onChange = _this.props.onChange,
|
|
338
337
|
onChange = _this$props$onChange === void 0 ? function (params) {} : _this$props$onChange;
|
|
339
338
|
var updatedDate = data.date; // Apply the currently selected time values (saved in state) to the updated date
|
|
@@ -373,7 +372,6 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
|
373
372
|
});
|
|
374
373
|
|
|
375
374
|
_defineProperty(_assertThisInitialized(_this), "handleTimeChange", function (time, index) {
|
|
376
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
377
375
|
var _this$props$onChange2 = _this.props.onChange,
|
|
378
376
|
onChange = _this$props$onChange2 === void 0 ? function (params) {} : _this$props$onChange2; // Save/update the time value in internal state
|
|
379
377
|
|
package/datepicker/datepicker.js
CHANGED
|
@@ -132,7 +132,6 @@ var Datepicker = /*#__PURE__*/function (_React$Component) {
|
|
|
132
132
|
|
|
133
133
|
if (Array.isArray(date)) {
|
|
134
134
|
if (onChange && date.every(Boolean)) {
|
|
135
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
136
135
|
onChange({
|
|
137
136
|
date: date
|
|
138
137
|
});
|
|
@@ -619,7 +618,6 @@ var Datepicker = /*#__PURE__*/function (_React$Component) {
|
|
|
619
618
|
|
|
620
619
|
return /*#__PURE__*/React.createElement(_locale.LocaleContext.Consumer, null, function (locale) {
|
|
621
620
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PopoverComponent, _extends({
|
|
622
|
-
accessibilityType: _popover.ACCESSIBILITY_TYPE.none,
|
|
623
621
|
focusLock: false,
|
|
624
622
|
autoFocus: false,
|
|
625
623
|
mountNode: _this4.props.mountNode,
|
package/datepicker/day.js
CHANGED
|
@@ -298,8 +298,7 @@ var Day = /*#__PURE__*/function (_React$Component) {
|
|
|
298
298
|
this.dayElm.focus();
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
}
|
|
302
|
-
|
|
301
|
+
}
|
|
303
302
|
}, {
|
|
304
303
|
key: "componentDidUpdate",
|
|
305
304
|
value: function componentDidUpdate(prevProps) {
|
package/datepicker/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { default as StatefulCalendar } from './stateful-calendar';
|
|
|
5
5
|
export { default as Datepicker, default as DatePicker } from './datepicker';
|
|
6
6
|
export { default as StatefulDatepicker, default as StatefulDatePicker, } from './stateful-datepicker';
|
|
7
7
|
export { formatDate } from './utils';
|
|
8
|
-
export {
|
|
8
|
+
export { ORIENTATION, STATE_CHANGE_TYPE } from './constants';
|
|
9
9
|
export * from './styled-components';
|
|
10
10
|
export * from '../timepicker';
|
|
11
11
|
export * from '../timezonepicker';
|
package/datepicker/index.js
CHANGED
|
@@ -12,7 +12,6 @@ var _exportNames = {
|
|
|
12
12
|
StatefulDatepicker: true,
|
|
13
13
|
StatefulDatePicker: true,
|
|
14
14
|
formatDate: true,
|
|
15
|
-
DENSITY: true,
|
|
16
15
|
ORIENTATION: true,
|
|
17
16
|
STATE_CHANGE_TYPE: true
|
|
18
17
|
};
|
|
@@ -22,12 +21,6 @@ Object.defineProperty(exports, "Calendar", {
|
|
|
22
21
|
return _calendar.default;
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
|
-
Object.defineProperty(exports, "DENSITY", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function get() {
|
|
28
|
-
return _constants.DENSITY;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
24
|
Object.defineProperty(exports, "DatePicker", {
|
|
32
25
|
enumerable: true,
|
|
33
26
|
get: function get() {
|
package/datepicker/index.js.flow
CHANGED
|
@@ -18,7 +18,7 @@ export { default as TimezonePicker } from '../timezonepicker/timezone-picker.js'
|
|
|
18
18
|
// Util functions
|
|
19
19
|
export { formatDate } from './utils/index.js';
|
|
20
20
|
// Constants
|
|
21
|
-
export {
|
|
21
|
+
export { ORIENTATION, STATE_CHANGE_TYPE } from './constants.js';
|
|
22
22
|
// Styled elements
|
|
23
23
|
export * from './styled-components.js';
|
|
24
24
|
// Flow
|
|
@@ -58,13 +58,9 @@ var StatefulComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
58
58
|
key: "render",
|
|
59
59
|
value: function render() {
|
|
60
60
|
return /*#__PURE__*/React.createElement(_statefulContainer.default, this.props, function (extendedProps) {
|
|
61
|
-
return (
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
React.createElement(_calendar.default, _extends({}, extendedProps, {
|
|
65
|
-
onChange: extendedProps.onChange
|
|
66
|
-
}))
|
|
67
|
-
);
|
|
61
|
+
return /*#__PURE__*/React.createElement(_calendar.default, _extends({}, extendedProps, {
|
|
62
|
+
onChange: extendedProps.onChange
|
|
63
|
+
}));
|
|
68
64
|
});
|
|
69
65
|
}
|
|
70
66
|
}]);
|
|
@@ -71,7 +71,6 @@ var StatefulContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
71
71
|
if (onChange) {
|
|
72
72
|
if (Array.isArray(date)) {
|
|
73
73
|
if (date.every(Boolean)) {
|
|
74
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
75
74
|
onChange({
|
|
76
75
|
date: date
|
|
77
76
|
});
|
|
@@ -110,7 +109,6 @@ var StatefulContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
110
109
|
}, {
|
|
111
110
|
key: "render",
|
|
112
111
|
value: function render() {
|
|
113
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
114
112
|
var _this$props = this.props,
|
|
115
113
|
children = _this$props.children,
|
|
116
114
|
initialState = _this$props.initialState,
|
|
@@ -56,16 +56,11 @@ var StatefulComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
56
56
|
|
|
57
57
|
_createClass(StatefulComponent, [{
|
|
58
58
|
key: "render",
|
|
59
|
-
value:
|
|
60
|
-
function render() {
|
|
59
|
+
value: function render() {
|
|
61
60
|
return /*#__PURE__*/React.createElement(_statefulContainer.default, this.props, function (extendedProps) {
|
|
62
|
-
return (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
React.createElement(_datepicker.default, _extends({}, extendedProps, {
|
|
66
|
-
onChange: extendedProps.onChange
|
|
67
|
-
}))
|
|
68
|
-
);
|
|
61
|
+
return /*#__PURE__*/React.createElement(_datepicker.default, _extends({}, extendedProps, {
|
|
62
|
+
onChange: extendedProps.onChange
|
|
63
|
+
}));
|
|
69
64
|
});
|
|
70
65
|
}
|
|
71
66
|
}]);
|
|
@@ -45,7 +45,6 @@ var StyledInputWrapper = (0, _styles.styled)('div', function (props) {
|
|
|
45
45
|
});
|
|
46
46
|
exports.StyledInputWrapper = StyledInputWrapper;
|
|
47
47
|
StyledInputWrapper.displayName = "StyledInputWrapper";
|
|
48
|
-
StyledInputWrapper.displayName = 'StyledInputWrapper';
|
|
49
48
|
var StyledInputLabel = (0, _styles.styled)('div', function (_ref) {
|
|
50
49
|
var $theme = _ref.$theme;
|
|
51
50
|
return _objectSpread(_objectSpread({}, $theme.typography.LabelMedium), {}, {
|
|
@@ -54,7 +53,6 @@ var StyledInputLabel = (0, _styles.styled)('div', function (_ref) {
|
|
|
54
53
|
});
|
|
55
54
|
exports.StyledInputLabel = StyledInputLabel;
|
|
56
55
|
StyledInputLabel.displayName = "StyledInputLabel";
|
|
57
|
-
StyledInputLabel.displayName = 'StyledInputLabel';
|
|
58
56
|
var StyledStartDate = (0, _styles.styled)('div', function (_ref2) {
|
|
59
57
|
var $theme = _ref2.$theme;
|
|
60
58
|
return {
|
|
@@ -64,21 +62,18 @@ var StyledStartDate = (0, _styles.styled)('div', function (_ref2) {
|
|
|
64
62
|
});
|
|
65
63
|
exports.StyledStartDate = StyledStartDate;
|
|
66
64
|
StyledStartDate.displayName = "StyledStartDate";
|
|
67
|
-
StyledStartDate.displayName = 'StyledStartDate'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
68
|
-
|
|
69
65
|
var StyledEndDate = (0, _styles.styled)('div', function (_ref3) {
|
|
70
66
|
var $theme = _ref3.$theme;
|
|
71
67
|
return {
|
|
72
68
|
width: '100%'
|
|
73
69
|
};
|
|
74
70
|
});
|
|
75
|
-
exports.StyledEndDate = StyledEndDate;
|
|
76
|
-
StyledEndDate.displayName = "StyledEndDate";
|
|
77
|
-
StyledEndDate.displayName = 'StyledEndDate';
|
|
78
71
|
/**
|
|
79
72
|
* Main component container element
|
|
80
73
|
*/
|
|
81
74
|
|
|
75
|
+
exports.StyledEndDate = StyledEndDate;
|
|
76
|
+
StyledEndDate.displayName = "StyledEndDate";
|
|
82
77
|
var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
83
78
|
var _props$$theme = props.$theme,
|
|
84
79
|
typography = _props$$theme.typography,
|
|
@@ -97,7 +92,6 @@ var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
|
97
92
|
});
|
|
98
93
|
exports.StyledRoot = StyledRoot;
|
|
99
94
|
StyledRoot.displayName = "StyledRoot";
|
|
100
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
101
95
|
var StyledMonthContainer = (0, _styles.styled)('div', function (props) {
|
|
102
96
|
var $orientation = props.$orientation;
|
|
103
97
|
return {
|
|
@@ -107,7 +101,6 @@ var StyledMonthContainer = (0, _styles.styled)('div', function (props) {
|
|
|
107
101
|
});
|
|
108
102
|
exports.StyledMonthContainer = StyledMonthContainer;
|
|
109
103
|
StyledMonthContainer.displayName = "StyledMonthContainer";
|
|
110
|
-
StyledMonthContainer.displayName = 'StyledMonthContainer';
|
|
111
104
|
var StyledCalendarContainer = (0, _styles.styled)('div', function (props) {
|
|
112
105
|
var sizing = props.$theme.sizing,
|
|
113
106
|
$density = props.$density;
|
|
@@ -120,7 +113,6 @@ var StyledCalendarContainer = (0, _styles.styled)('div', function (props) {
|
|
|
120
113
|
});
|
|
121
114
|
exports.StyledCalendarContainer = StyledCalendarContainer;
|
|
122
115
|
StyledCalendarContainer.displayName = "StyledCalendarContainer";
|
|
123
|
-
StyledCalendarContainer.displayName = 'StyledCalendarContainer';
|
|
124
116
|
var StyledSelectorContainer = (0, _styles.styled)('div', function (_ref4) {
|
|
125
117
|
var $theme = _ref4.$theme;
|
|
126
118
|
var textAlign = $theme.direction === 'rtl' ? 'right' : 'left';
|
|
@@ -133,7 +125,6 @@ var StyledSelectorContainer = (0, _styles.styled)('div', function (_ref4) {
|
|
|
133
125
|
});
|
|
134
126
|
exports.StyledSelectorContainer = StyledSelectorContainer;
|
|
135
127
|
StyledSelectorContainer.displayName = "StyledSelectorContainer";
|
|
136
|
-
StyledSelectorContainer.displayName = 'StyledSelectorContainer';
|
|
137
128
|
var StyledCalendarHeader = (0, _styles.styled)('div', function (props) {
|
|
138
129
|
var _props$$theme2 = props.$theme,
|
|
139
130
|
typography = _props$$theme2.typography,
|
|
@@ -161,7 +152,6 @@ var StyledCalendarHeader = (0, _styles.styled)('div', function (props) {
|
|
|
161
152
|
});
|
|
162
153
|
exports.StyledCalendarHeader = StyledCalendarHeader;
|
|
163
154
|
StyledCalendarHeader.displayName = "StyledCalendarHeader";
|
|
164
|
-
StyledCalendarHeader.displayName = 'StyledCalendarHeader';
|
|
165
155
|
var StyledMonthHeader = (0, _styles.styled)('div', function (props) {
|
|
166
156
|
return {
|
|
167
157
|
color: props.$theme.colors.calendarHeaderForeground,
|
|
@@ -171,7 +161,6 @@ var StyledMonthHeader = (0, _styles.styled)('div', function (props) {
|
|
|
171
161
|
});
|
|
172
162
|
exports.StyledMonthHeader = StyledMonthHeader;
|
|
173
163
|
StyledMonthHeader.displayName = "StyledMonthHeader";
|
|
174
|
-
StyledMonthHeader.displayName = 'StyledMonthHeader';
|
|
175
164
|
var StyledMonthYearSelectButton = (0, _styles.styled)('button', function (props) {
|
|
176
165
|
var _props$$theme3 = props.$theme,
|
|
177
166
|
typography = _props$$theme3.typography,
|
|
@@ -196,7 +185,6 @@ var StyledMonthYearSelectButton = (0, _styles.styled)('button', function (props)
|
|
|
196
185
|
});
|
|
197
186
|
exports.StyledMonthYearSelectButton = StyledMonthYearSelectButton;
|
|
198
187
|
StyledMonthYearSelectButton.displayName = "StyledMonthYearSelectButton";
|
|
199
|
-
StyledMonthYearSelectButton.displayName = 'StyledMonthYearSelectButton';
|
|
200
188
|
var StyledMonthYearSelectIconContainer = (0, _styles.styled)('span', function (props) {
|
|
201
189
|
var marginDirection = props.$theme.direction === 'rtl' ? 'marginRight' : 'marginLeft';
|
|
202
190
|
return _defineProperty({
|
|
@@ -206,7 +194,6 @@ var StyledMonthYearSelectIconContainer = (0, _styles.styled)('span', function (p
|
|
|
206
194
|
});
|
|
207
195
|
exports.StyledMonthYearSelectIconContainer = StyledMonthYearSelectIconContainer;
|
|
208
196
|
StyledMonthYearSelectIconContainer.displayName = "StyledMonthYearSelectIconContainer";
|
|
209
|
-
StyledMonthYearSelectIconContainer.displayName = 'StyledMonthYearSelectIconContainer';
|
|
210
197
|
|
|
211
198
|
function getArrowBtnStyle(_ref6) {
|
|
212
199
|
var $theme = _ref6.$theme,
|
|
@@ -238,12 +225,9 @@ function getArrowBtnStyle(_ref6) {
|
|
|
238
225
|
var StyledPrevButton = (0, _styles.styled)('button', getArrowBtnStyle);
|
|
239
226
|
exports.StyledPrevButton = StyledPrevButton;
|
|
240
227
|
StyledPrevButton.displayName = "StyledPrevButton";
|
|
241
|
-
StyledPrevButton.displayName = 'StyledPrevButton';
|
|
242
228
|
var StyledNextButton = (0, _styles.styled)('button', getArrowBtnStyle);
|
|
243
229
|
exports.StyledNextButton = StyledNextButton;
|
|
244
230
|
StyledNextButton.displayName = "StyledNextButton";
|
|
245
|
-
StyledNextButton.displayName = 'StyledNextButton'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
246
|
-
|
|
247
231
|
var StyledMonth = (0, _styles.styled)('div', function (props) {
|
|
248
232
|
return {
|
|
249
233
|
display: 'inline-block'
|
|
@@ -251,7 +235,6 @@ var StyledMonth = (0, _styles.styled)('div', function (props) {
|
|
|
251
235
|
});
|
|
252
236
|
exports.StyledMonth = StyledMonth;
|
|
253
237
|
StyledMonth.displayName = "StyledMonth";
|
|
254
|
-
StyledMonth.displayName = 'StyledMonth';
|
|
255
238
|
var StyledWeek = (0, _styles.styled)('div', function (props) {
|
|
256
239
|
var sizing = props.$theme.sizing;
|
|
257
240
|
return {
|
|
@@ -262,7 +245,6 @@ var StyledWeek = (0, _styles.styled)('div', function (props) {
|
|
|
262
245
|
});
|
|
263
246
|
exports.StyledWeek = StyledWeek;
|
|
264
247
|
StyledWeek.displayName = "StyledWeek";
|
|
265
|
-
StyledWeek.displayName = 'StyledWeek';
|
|
266
248
|
|
|
267
249
|
function generateDayStyles(defaultCode, defaultStyle) {
|
|
268
250
|
var _ref7;
|
|
@@ -270,8 +252,7 @@ function generateDayStyles(defaultCode, defaultStyle) {
|
|
|
270
252
|
var codeForSM = defaultCode.substr(0, 12) + '1' + defaultCode.substr(12 + 1);
|
|
271
253
|
var codeForEM = defaultCode.substr(0, 13) + '1' + defaultCode.substr(13 + 1);
|
|
272
254
|
return _ref7 = {}, _defineProperty(_ref7, defaultCode, defaultStyle), _defineProperty(_ref7, codeForSM, defaultStyle), _defineProperty(_ref7, codeForEM, defaultStyle), _ref7;
|
|
273
|
-
}
|
|
274
|
-
|
|
255
|
+
}
|
|
275
256
|
|
|
276
257
|
function getDayStyles(code, _ref8) {
|
|
277
258
|
var colors = _ref8.colors;
|
|
@@ -603,12 +584,10 @@ var StyledDay = (0, _styles.styled)('div', function (props) {
|
|
|
603
584
|
content: '""'
|
|
604
585
|
} : {})
|
|
605
586
|
} : // a hack to make flow happy, otherwise it complains about complexity
|
|
606
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
607
587
|
{});
|
|
608
588
|
});
|
|
609
589
|
exports.StyledDay = StyledDay;
|
|
610
590
|
StyledDay.displayName = "StyledDay";
|
|
611
|
-
StyledDay.displayName = 'StyledDay';
|
|
612
591
|
var StyledDayLabel = (0, _styles.styled)('div', function (props) {
|
|
613
592
|
var _props$$theme5 = props.$theme,
|
|
614
593
|
typography = _props$$theme5.typography,
|
|
@@ -620,7 +599,6 @@ var StyledDayLabel = (0, _styles.styled)('div', function (props) {
|
|
|
620
599
|
});
|
|
621
600
|
exports.StyledDayLabel = StyledDayLabel;
|
|
622
601
|
StyledDayLabel.displayName = "StyledDayLabel";
|
|
623
|
-
StyledDayLabel.displayName = 'StyledDayLabel';
|
|
624
602
|
var StyledWeekdayHeader = (0, _styles.styled)('div', function (props) {
|
|
625
603
|
var _props$$theme6 = props.$theme,
|
|
626
604
|
typography = _props$$theme6.typography,
|
|
@@ -650,5 +628,4 @@ var StyledWeekdayHeader = (0, _styles.styled)('div', function (props) {
|
|
|
650
628
|
});
|
|
651
629
|
});
|
|
652
630
|
exports.StyledWeekdayHeader = StyledWeekdayHeader;
|
|
653
|
-
StyledWeekdayHeader.displayName = "StyledWeekdayHeader";
|
|
654
|
-
StyledWeekdayHeader.displayName = 'StyledWeekdayHeader';
|
|
631
|
+
StyledWeekdayHeader.displayName = "StyledWeekdayHeader";
|
package/datepicker/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import type { Override } from '../helpers/overrides';
|
|
3
3
|
import type { Size } from '../input';
|
|
4
|
-
import
|
|
4
|
+
import { INPUT_ROLE, ORIENTATION, RANGED_CALENDAR_BEHAVIOR, STATE_CHANGE_TYPE, DENSITY } from './constants';
|
|
5
5
|
import type { DateIOAdapter } from './utils/types';
|
|
6
6
|
declare type Locale = any;
|
|
7
7
|
export declare type Density = keyof typeof DENSITY;
|