baseui 12.0.0 → 12.1.2
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 +4 -2
- package/accordion/accordion.js.flow +1 -1
- package/accordion/panel.js +3 -2
- package/accordion/stateful-panel-container.js +1 -0
- package/accordion/styled-components.js +8 -1
- package/accordion/types.d.ts +2 -2
- package/app-nav-bar/app-nav-bar.js +4 -2
- package/app-nav-bar/mobile-menu.js +2 -1
- package/app-nav-bar/styled-components.js +19 -1
- 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 +3 -1
- package/aspect-ratio-box/types.d.ts +1 -1
- package/avatar/styled-components.js +4 -1
- package/badge/styled-components.js +16 -11
- 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 +25 -12
- package/banner/types.d.ts +15 -15
- package/banner/types.js.flow +13 -11
- package/block/block.js +3 -1
- package/block/styled-components.js +2 -1
- package/block/types.d.ts +3 -4
- package/breadcrumbs/styled-components.js +7 -2
- package/button/styled-components.js +7 -0
- package/button/styled-components.js.flow +2 -0
- package/button/types.d.ts +4 -5
- package/button-group/stateful-button-group.js +1 -0
- package/button-group/stateful-container.js +3 -1
- package/button-group/styled-components.js +2 -1
- package/button-group/types.d.ts +4 -5
- package/card/styled-components.js +11 -4
- package/checkbox/styled-components.js +10 -4
- package/checkbox/styled-components.js.flow +1 -1
- package/checkbox/types.d.ts +36 -37
- package/combobox/combobox.js +78 -71
- package/combobox/styled-components.js +5 -1
- package/combobox/types.d.ts +4 -5
- package/data-table/column-anchor.js +3 -0
- package/data-table/column-datetime.js +10 -4
- package/data-table/column-numerical.js +4 -4
- package/data-table/column-string.js +3 -0
- package/data-table/column.js +6 -1
- package/data-table/data-table.js +6 -3
- package/data-table/filter-menu.js +2 -1
- package/data-table/header-cell.js +43 -34
- package/data-table/locale.d.ts +4 -0
- package/data-table/locale.js +3 -1
- package/data-table/locale.js.flow +5 -0
- package/data-table/measure-column-widths.js +5 -4
- package/data-table/stateful-container.js +2 -1
- package/data-table/stateful-data-table.js +4 -4
- package/data-table/types.d.ts +4 -5
- package/datepicker/calendar-header.js +1 -0
- package/datepicker/calendar.js +2 -0
- package/datepicker/datepicker.js +2 -0
- package/datepicker/day.js +2 -1
- package/datepicker/index.d.ts +1 -1
- package/datepicker/index.js +7 -0
- package/datepicker/index.js.flow +1 -1
- package/datepicker/stateful-calendar.js +7 -3
- package/datepicker/stateful-container.js +2 -0
- package/datepicker/stateful-datepicker.js +9 -4
- package/datepicker/styled-components.js +27 -4
- package/datepicker/types.d.ts +2 -2
- package/datepicker/utils/date-helpers.js +2 -1
- package/datepicker/utils/index.js +2 -1
- package/divider/styled-components.js +4 -3
- package/divider/types.d.ts +1 -1
- package/dnd-list/stateful-list-container.js +1 -0
- package/dnd-list/styled-components.js +7 -0
- package/dnd-list/types.d.ts +2 -2
- package/drawer/constants.js +1 -0
- package/drawer/drawer.js +2 -3
- package/drawer/drawer.js.flow +1 -3
- package/drawer/styled-components.js +9 -2
- package/drawer/types.d.ts +2 -2
- package/es/accordion/accordion.js +3 -3
- package/es/accordion/panel.js +3 -2
- package/es/accordion/stateful-panel-container.js +1 -0
- package/es/accordion/styled-components.js +8 -1
- package/es/app-nav-bar/app-nav-bar.js +6 -2
- package/es/app-nav-bar/mobile-menu.js +4 -2
- package/es/app-nav-bar/styled-components.js +19 -1
- package/es/app-nav-bar/user-menu.js +1 -1
- package/es/aspect-ratio-box/aspect-ratio-box.js +3 -1
- package/es/avatar/styled-components.js +4 -1
- package/es/badge/styled-components.js +11 -6
- package/es/banner/styled-components.js +16 -3
- package/es/block/block.js +3 -1
- package/es/block/styled-components.js +2 -1
- package/es/breadcrumbs/styled-components.js +7 -2
- package/es/button/button.js +8 -0
- package/es/button/styled-components.js +7 -0
- package/es/button-group/stateful-button-group.js +1 -0
- package/es/button-group/stateful-container.js +3 -1
- package/es/button-group/styled-components.js +2 -1
- package/es/card/index.js +2 -1
- package/es/card/styled-components.js +12 -4
- package/es/checkbox/index.js +1 -0
- package/es/checkbox/stateful-checkbox-container.js +3 -0
- package/es/checkbox/styled-components.js +10 -4
- package/es/combobox/combobox.js +76 -69
- package/es/combobox/styled-components.js +5 -1
- package/es/data-table/column-anchor.js +3 -0
- package/es/data-table/column-datetime.js +12 -5
- package/es/data-table/column-numerical.js +5 -4
- package/es/data-table/column-string.js +3 -0
- package/es/data-table/column.js +4 -1
- package/es/data-table/data-table.js +6 -3
- package/es/data-table/filter-menu.js +2 -1
- package/es/data-table/header-cell.js +41 -34
- package/es/data-table/locale.js +3 -1
- package/es/data-table/measure-column-widths.js +5 -4
- package/es/data-table/stateful-container.js +2 -1
- package/es/data-table/stateful-data-table.js +4 -4
- package/es/datepicker/calendar-header.js +1 -0
- package/es/datepicker/calendar.js +2 -0
- package/es/datepicker/datepicker.js +3 -1
- package/es/datepicker/day.js +2 -1
- package/es/datepicker/index.js +1 -1
- package/es/datepicker/stateful-calendar.js +4 -1
- package/es/datepicker/stateful-container.js +2 -0
- package/es/datepicker/stateful-datepicker.js +5 -1
- package/es/datepicker/styled-components.js +26 -3
- package/es/datepicker/utils/date-helpers.js +2 -1
- package/es/datepicker/utils/index.js +2 -1
- package/es/divider/styled-components.js +3 -2
- package/es/dnd-list/stateful-list-container.js +1 -0
- package/es/dnd-list/styled-components.js +7 -0
- package/es/drawer/constants.js +1 -0
- package/es/drawer/drawer.js +2 -5
- package/es/drawer/styled-components.js +9 -2
- package/es/file-uploader/file-uploader.js +82 -78
- package/es/file-uploader/styled-components.js +6 -1
- package/es/flex-grid/flex-grid-item.js +5 -6
- package/es/flex-grid/flex-grid.js +4 -1
- package/es/form-control/styled-components.js +6 -1
- package/es/header-navigation/styled-components.js +4 -1
- package/es/helper/styled-components.js +3 -1
- package/es/helpers/overrides.js +9 -5
- package/es/icon/build-icons.js +0 -2
- package/es/icon/index.js +1 -1
- package/es/icon/omit-dollar-prefixed-keys.js +1 -0
- package/es/icon/styled-components.js +2 -1
- package/es/input/base-input.js +9 -12
- package/es/input/input.js +9 -13
- package/es/input/masked-input.js +9 -2
- package/es/input/stateful-container.js +1 -0
- package/es/input/styled-components.js +18 -7
- package/es/input/utils.js +2 -0
- package/es/layer/layer.js +24 -0
- package/es/layer/layers-manager.js +91 -1
- package/es/layout-grid/styled-components.js +3 -0
- package/es/link/index.js +2 -1
- package/es/link/styled-components.js +2 -1
- package/es/list/list-heading.js +21 -17
- package/es/list/list-item.js +2 -1
- package/es/list/styled-components.js +17 -1
- package/es/locale/es_AR.js +3 -1
- package/es/locale/index.js +2 -1
- package/es/locale/tr_TR.js +3 -1
- package/es/map-marker/constants.js +14 -0
- package/es/map-marker/fixed-marker.js +1 -0
- package/es/map-marker/index.js +2 -1
- package/es/map-marker/location-puck.js +142 -0
- package/es/map-marker/pin-head.js +1 -0
- package/es/map-marker/styled-components.js +86 -2
- package/es/menu/index.js +1 -1
- package/es/menu/menu.js +14 -4
- package/es/menu/option-profile.js +1 -0
- package/es/menu/stateful-container.js +10 -0
- package/es/menu/styled-components.js +32 -2
- package/es/message-card/constants.js +19 -0
- package/es/message-card/index.js +10 -0
- package/es/message-card/message-card.js +114 -0
- package/es/message-card/styled-components.js +108 -0
- package/es/message-card/types.js +1 -0
- package/es/message-card/utils.js +27 -0
- package/es/modal/modal.js +4 -6
- package/es/modal/styled-components.js +8 -1
- package/es/pagination/stateful-container.js +1 -0
- package/es/pagination/stateful-pagination.js +1 -0
- package/es/pagination/styled-components.js +4 -1
- package/es/payment-card/styled-components.js +2 -1
- package/es/phone-input/base-country-picker.js +3 -1
- package/es/phone-input/country-select-dropdown.js +1 -0
- package/es/phone-input/styled-components.js +15 -4
- package/es/pin-code/styled-components.js +4 -1
- package/es/popover/popover.js +9 -11
- package/es/popover/stateful-container.js +4 -1
- package/es/popover/styled-components.js +9 -4
- package/es/progress-bar/progressbar-rounded.js +1 -0
- package/es/progress-bar/styled-components.js +14 -2
- package/es/progress-steps/progress-steps.js +2 -1
- package/es/progress-steps/styled-components.js +20 -12
- package/es/radio/stateful-radiogroup-container.js +3 -0
- package/es/radio/styled-components.js +10 -3
- package/es/rating/emoticon-rating.js +2 -1
- package/es/rating/star-rating.js +2 -1
- package/es/rating/styled-components.js +5 -1
- package/es/select/autosize-input.js +2 -3
- package/es/select/default-props.js +1 -1
- package/es/select/dropdown.js +2 -1
- package/es/select/multi-value.js +2 -1
- package/es/select/select-component.js +10 -10
- package/es/select/single-select.js +2 -2
- package/es/select/stateful-select-container.js +2 -0
- package/es/select/styled-components.js +33 -6
- package/es/select/value.js +3 -4
- package/es/side-navigation/index.js +2 -1
- package/es/side-navigation/nav-item.js +1 -0
- package/es/side-navigation/nav.js +1 -1
- package/es/side-navigation/stateful-container.js +1 -0
- package/es/side-navigation/styled-components.js +8 -2
- package/es/skeleton/styled-components.js +3 -1
- package/es/slider/slider.js +4 -2
- package/es/slider/stateful-slider-container.js +2 -0
- package/es/slider/styled-components.js +9 -0
- package/es/snackbar/snackbar-element.js +1 -0
- package/es/snackbar/styled-components.js +9 -1
- package/es/spinner/styled-components.js +2 -1
- package/es/styles/__mocks__/styled.js +8 -5
- package/es/styles/styled.js +7 -6
- package/es/table/index.js +2 -1
- package/es/table/styled-components.js +13 -1
- package/es/table-grid/styled-components.js +4 -1
- package/es/table-semantic/styled-components.js +20 -3
- package/es/tabs/stateful-tabs.js +1 -0
- package/es/tabs/styled-components.js +5 -1
- package/es/tabs/tabs.js +4 -2
- package/es/tabs-motion/styled-components.js +32 -2
- package/es/tabs-motion/tab.js +1 -0
- package/es/tabs-motion/tabs.js +31 -6
- package/es/tag/styled-components.js +32 -1
- package/es/tag/tag.js +6 -2
- package/es/textarea/styled-components.js +20 -12
- package/es/textarea/textarea.js +13 -15
- 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 +36 -0
- package/es/themes/shared/borders.js +8 -3
- package/es/themes/shared/typography.js +10 -10
- package/es/timezonepicker/timezone-picker.js +5 -1
- package/es/timezonepicker/tzdata.js +1 -1
- package/es/timezonepicker/update-tzdata.js +11 -6
- package/es/toast/styled-components.js +5 -1
- package/es/toast/toaster.js +0 -2
- package/es/tokens/colors.js +24 -0
- package/es/tooltip/styled-components.js +4 -1
- package/es/tree-view/index.js +2 -1
- package/es/tree-view/styled-components.js +7 -1
- package/es/tree-view/tree-view.js +3 -1
- package/es/types/globals.d.js +12 -0
- package/es/utils/deep-merge.js +0 -5
- package/es/utils/deprecated-component.js +1 -0
- package/es/utils/focusVisible.js +4 -2
- package/esm/accordion/accordion.js +4 -4
- package/esm/accordion/panel.js +3 -2
- package/esm/accordion/stateful-panel-container.js +1 -0
- package/esm/accordion/styled-components.js +8 -1
- package/esm/app-nav-bar/app-nav-bar.js +4 -2
- package/esm/app-nav-bar/mobile-menu.js +4 -2
- package/esm/app-nav-bar/styled-components.js +19 -1
- package/esm/app-nav-bar/user-menu.js +1 -1
- package/esm/aspect-ratio-box/aspect-ratio-box.js +3 -1
- package/esm/avatar/styled-components.js +4 -1
- package/esm/badge/styled-components.js +11 -6
- package/esm/banner/styled-components.js +16 -3
- package/esm/block/block.js +3 -1
- package/esm/block/styled-components.js +2 -1
- package/esm/breadcrumbs/styled-components.js +7 -2
- package/esm/button/styled-components.js +7 -0
- package/esm/button-group/stateful-button-group.js +1 -0
- package/esm/button-group/stateful-container.js +3 -1
- package/esm/button-group/styled-components.js +2 -1
- package/esm/card/index.js +2 -1
- package/esm/card/styled-components.js +12 -4
- package/esm/checkbox/index.js +1 -0
- package/esm/checkbox/styled-components.js +10 -4
- package/esm/combobox/combobox.js +78 -71
- package/esm/combobox/styled-components.js +5 -1
- package/esm/data-table/column-anchor.js +3 -0
- package/esm/data-table/column-datetime.js +12 -5
- package/esm/data-table/column-numerical.js +4 -4
- package/esm/data-table/column-string.js +3 -0
- package/esm/data-table/column.js +5 -1
- package/esm/data-table/data-table.js +6 -3
- package/esm/data-table/filter-menu.js +2 -1
- package/esm/data-table/header-cell.js +42 -34
- package/esm/data-table/locale.js +3 -1
- package/esm/data-table/measure-column-widths.js +5 -4
- package/esm/data-table/stateful-container.js +2 -1
- package/esm/data-table/stateful-data-table.js +4 -4
- package/esm/datepicker/calendar-header.js +1 -0
- package/esm/datepicker/calendar.js +2 -0
- package/esm/datepicker/datepicker.js +3 -1
- package/esm/datepicker/day.js +2 -1
- package/esm/datepicker/index.js +1 -1
- package/esm/datepicker/stateful-calendar.js +7 -3
- package/esm/datepicker/stateful-container.js +2 -0
- package/esm/datepicker/stateful-datepicker.js +9 -4
- package/esm/datepicker/styled-components.js +26 -3
- package/esm/datepicker/utils/date-helpers.js +2 -1
- package/esm/datepicker/utils/index.js +2 -1
- package/esm/divider/styled-components.js +3 -2
- package/esm/dnd-list/stateful-list-container.js +1 -0
- package/esm/dnd-list/styled-components.js +7 -0
- package/esm/drawer/constants.js +1 -0
- package/esm/drawer/drawer.js +2 -5
- package/esm/drawer/styled-components.js +9 -2
- package/esm/file-uploader/file-uploader.js +87 -83
- package/esm/file-uploader/styled-components.js +6 -1
- package/esm/flex-grid/flex-grid-item.js +4 -5
- package/esm/flex-grid/flex-grid.js +7 -3
- package/esm/form-control/styled-components.js +6 -1
- package/esm/header-navigation/styled-components.js +4 -1
- package/esm/helper/styled-components.js +3 -1
- package/esm/helpers/overrides.js +9 -5
- package/esm/icon/build-icons.js +0 -2
- package/esm/icon/index.js +1 -1
- package/esm/icon/omit-dollar-prefixed-keys.js +1 -0
- package/esm/icon/styled-components.js +2 -1
- package/esm/input/base-input.js +9 -12
- package/esm/input/input.js +9 -13
- package/esm/input/masked-input.js +5 -2
- package/esm/input/stateful-container.js +1 -0
- package/esm/input/styled-components.js +18 -7
- package/esm/input/utils.js +2 -0
- package/esm/layer/layer.js +24 -0
- package/esm/layer/layers-manager.js +97 -1
- package/esm/layout-grid/styled-components.js +3 -0
- package/esm/link/index.js +2 -1
- package/esm/link/styled-components.js +2 -1
- package/esm/list/list-heading.js +21 -17
- package/esm/list/list-item.js +2 -1
- package/esm/list/styled-components.js +17 -1
- package/esm/locale/es_AR.js +3 -1
- package/esm/locale/index.js +4 -1
- package/esm/locale/tr_TR.js +3 -1
- package/esm/map-marker/constants.js +12 -2
- package/esm/map-marker/index.js +2 -1
- package/esm/map-marker/location-puck.js +199 -0
- package/esm/map-marker/styled-components.js +82 -2
- package/esm/menu/index.js +1 -1
- package/esm/menu/menu.js +16 -4
- package/esm/menu/option-profile.js +1 -0
- package/esm/menu/stateful-container.js +1 -0
- package/esm/menu/styled-components.js +38 -6
- package/esm/message-card/constants.js +20 -0
- package/esm/message-card/index.js +10 -0
- package/esm/message-card/message-card.js +168 -0
- package/esm/message-card/styled-components.js +116 -0
- package/esm/message-card/types.js +1 -0
- package/esm/message-card/utils.js +26 -0
- package/esm/modal/modal.js +4 -6
- package/esm/modal/styled-components.js +8 -1
- package/esm/pagination/stateful-container.js +1 -0
- package/esm/pagination/stateful-pagination.js +1 -0
- package/esm/pagination/styled-components.js +4 -1
- package/esm/payment-card/styled-components.js +2 -1
- package/esm/phone-input/base-country-picker.js +3 -1
- package/esm/phone-input/country-select-dropdown.js +1 -0
- package/esm/phone-input/styled-components.js +20 -8
- package/esm/pin-code/styled-components.js +4 -1
- package/esm/popover/popover.js +9 -11
- package/esm/popover/stateful-container.js +4 -1
- package/esm/popover/styled-components.js +9 -4
- package/esm/progress-bar/progressbar-rounded.js +1 -0
- package/esm/progress-bar/styled-components.js +14 -2
- package/esm/progress-steps/progress-steps.js +2 -1
- package/esm/progress-steps/styled-components.js +28 -19
- package/esm/radio/styled-components.js +10 -3
- package/esm/rating/emoticon-rating.js +2 -1
- package/esm/rating/star-rating.js +2 -1
- package/esm/rating/styled-components.js +5 -1
- package/esm/select/autosize-input.js +2 -3
- package/esm/select/default-props.js +1 -1
- package/esm/select/dropdown.js +2 -1
- package/esm/select/multi-value.js +2 -1
- package/esm/select/select-component.js +10 -10
- package/esm/select/single-select.js +2 -2
- package/esm/select/styled-components.js +33 -6
- package/esm/select/value.js +3 -4
- package/esm/side-navigation/index.js +2 -1
- package/esm/side-navigation/nav-item.js +1 -0
- package/esm/side-navigation/nav.js +1 -1
- package/esm/side-navigation/stateful-container.js +1 -0
- package/esm/side-navigation/styled-components.js +13 -6
- package/esm/skeleton/styled-components.js +3 -1
- package/esm/slider/slider.js +4 -2
- package/esm/slider/styled-components.js +9 -0
- package/esm/snackbar/snackbar-element.js +1 -0
- package/esm/snackbar/styled-components.js +9 -1
- package/esm/spinner/styled-components.js +2 -1
- package/esm/styles/__mocks__/styled.js +8 -5
- package/esm/styles/styled.js +7 -6
- package/esm/table/index.js +2 -1
- package/esm/table/styled-components.js +13 -1
- package/esm/table-grid/styled-components.js +4 -1
- package/esm/table-semantic/styled-components.js +20 -3
- package/esm/tabs/stateful-tabs.js +1 -0
- package/esm/tabs/styled-components.js +5 -1
- package/esm/tabs/tabs.js +4 -2
- package/esm/tabs-motion/styled-components.js +68 -40
- package/esm/tabs-motion/tab.js +1 -0
- package/esm/tabs-motion/tabs.js +87 -58
- package/esm/tag/styled-components.js +5 -1
- package/esm/tag/tag.js +4 -2
- package/esm/textarea/styled-components.js +11 -6
- package/esm/textarea/textarea.js +13 -15
- 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 +36 -0
- package/esm/themes/shared/borders.js +8 -3
- package/esm/themes/shared/typography.js +10 -10
- package/esm/timezonepicker/timezone-picker.js +6 -2
- package/esm/timezonepicker/tzdata.js +1 -1
- package/esm/timezonepicker/update-tzdata.js +51 -39
- package/esm/toast/styled-components.js +5 -1
- package/esm/toast/toaster.js +0 -2
- package/esm/tokens/colors.js +24 -0
- package/esm/tooltip/styled-components.js +4 -1
- package/esm/tree-view/index.js +2 -1
- package/esm/tree-view/styled-components.js +7 -1
- package/esm/tree-view/tree-view.js +3 -1
- package/esm/types/globals.d.js +12 -0
- package/esm/utils/deep-merge.js +0 -5
- package/esm/utils/deprecated-component.js +1 -0
- package/esm/utils/focusVisible.js +4 -2
- package/file-uploader/file-uploader.js +87 -83
- package/file-uploader/styled-components.js +6 -1
- package/flex-grid/flex-grid-item.d.ts +1 -1
- package/flex-grid/flex-grid-item.js +6 -8
- package/flex-grid/flex-grid.js +7 -3
- package/flex-grid/types.d.ts +1 -1
- package/form-control/styled-components.js +6 -1
- package/form-control/types.d.ts +1 -1
- package/header-navigation/styled-components.js +4 -1
- package/heading/types.d.ts +1 -1
- package/helper/styled-components.js +3 -1
- package/helpers/overrides.js +8 -3
- package/helpers/overrides.js.flow +1 -1
- package/helpers/types.d.ts +1 -1
- package/icon/build-icons.js +0 -2
- package/icon/build-icons.js.flow +0 -1
- package/icon/index.d.ts +1 -1
- package/icon/index.js +8 -1
- package/icon/index.js.flow +1 -1
- package/icon/omit-dollar-prefixed-keys.js +1 -0
- package/icon/styled-components.js +2 -1
- package/icon/types.d.ts +1 -1
- package/input/base-input.js +8 -12
- package/input/base-input.js.flow +4 -8
- package/input/input.js +9 -13
- package/input/input.js.flow +5 -9
- package/input/masked-input.js +5 -2
- package/input/stateful-container.js +1 -0
- package/input/styled-components.js +18 -7
- package/input/styled-components.js.flow +9 -2
- package/input/types.d.ts +16 -14
- package/input/types.js.flow +3 -0
- package/input/utils.js +2 -0
- package/layer/layer.js +24 -0
- package/layer/layer.js.flow +25 -0
- package/layer/layers-manager.d.ts +8 -0
- package/layer/layers-manager.js +97 -1
- package/layer/layers-manager.js.flow +84 -1
- package/layer/types.d.ts +23 -2
- package/layer/types.js.flow +22 -1
- package/layout-grid/styled-components.js +3 -0
- package/layout-grid/types.d.ts +2 -2
- package/link/index.js +2 -1
- package/link/styled-components.js +2 -1
- package/list/list-heading.js +21 -17
- package/list/list-item.js +2 -1
- package/list/styled-components.js +17 -1
- 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 +3 -1
- package/locale/index.js +4 -1
- package/locale/tr_TR.d.ts +1 -1
- package/locale/tr_TR.js +3 -1
- package/map-marker/constants.d.ts +14 -0
- package/map-marker/constants.js +16 -3
- package/map-marker/constants.js.flow +17 -0
- package/map-marker/index.d.ts +2 -1
- package/map-marker/index.js +24 -1
- package/map-marker/index.js.flow +5 -3
- package/map-marker/location-puck.d.ts +4 -0
- package/map-marker/location-puck.js +211 -0
- package/map-marker/location-puck.js.flow +18 -0
- package/map-marker/styled-components.d.ts +17 -1
- package/map-marker/styled-components.js +88 -2
- package/map-marker/styled-components.js.flow +58 -0
- package/map-marker/types.d.ts +33 -5
- package/map-marker/types.js.flow +37 -3
- package/menu/index.d.ts +2 -3
- package/menu/index.js +8 -1
- package/menu/index.js.flow +1 -0
- package/menu/menu.js +15 -3
- package/menu/menu.js.flow +11 -1
- package/menu/option-profile.js +1 -0
- package/menu/stateful-container.js +1 -0
- package/menu/styled-components.d.ts +1 -0
- package/menu/styled-components.js +40 -7
- package/menu/styled-components.js.flow +13 -0
- package/menu/types.d.ts +13 -13
- package/menu/types.js.flow +1 -0
- package/message-card/constants.d.ts +12 -0
- package/message-card/constants.js +25 -0
- package/message-card/index.d.ts +4 -0
- package/message-card/index.js +60 -0
- package/message-card/index.js.flow +72 -0
- package/message-card/message-card.d.ts +4 -0
- package/message-card/message-card.js +184 -0
- package/message-card/package.json +4 -0
- package/message-card/styled-components.d.ts +14 -0
- package/message-card/styled-components.js +124 -0
- package/message-card/types.d.ts +27 -0
- package/message-card/types.js +5 -0
- package/message-card/utils.d.ts +1 -0
- package/message-card/utils.js +36 -0
- package/modal/modal.js +4 -4
- package/modal/modal.js.flow +1 -3
- package/modal/styled-components.js +8 -1
- package/modal/types.d.ts +2 -2
- package/package.json +10 -12
- package/pagination/stateful-container.js +1 -0
- package/pagination/stateful-pagination.js +1 -0
- package/pagination/styled-components.js +4 -1
- package/pagination/types.d.ts +2 -2
- package/payment-card/styled-components.js +2 -1
- package/phone-input/base-country-picker.js +3 -1
- package/phone-input/country-select-dropdown.js +1 -0
- package/phone-input/styled-components.js +21 -9
- package/phone-input/types.d.ts +5 -6
- package/pin-code/styled-components.js +4 -1
- package/pin-code/types.d.ts +2 -2
- package/popover/popover.js +9 -11
- package/popover/popover.js.flow +2 -12
- package/popover/stateful-container.js +5 -1
- package/popover/styled-components.js +12 -9
- package/popover/types.d.ts +2 -2
- package/progress-bar/progressbar-rounded.js +1 -0
- package/progress-bar/styled-components.d.ts +4 -1
- package/progress-bar/styled-components.js +14 -2
- package/progress-bar/types.d.ts +2 -2
- package/progress-steps/progress-steps.js +2 -1
- package/progress-steps/styled-components.js +28 -19
- package/radio/styled-components.js +10 -3
- package/radio/types.d.ts +19 -20
- package/rating/emoticon-rating.js +2 -1
- package/rating/star-rating.js +2 -1
- package/rating/styled-components.js +5 -1
- package/select/autosize-input.js +2 -1
- package/select/autosize-input.js.flow +1 -1
- package/select/default-props.js +1 -1
- package/select/dropdown.js +2 -1
- package/select/multi-value.js +1 -0
- package/select/select-component.d.ts +1 -1
- package/select/select-component.js +9 -7
- 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 +33 -6
- package/select/styled-components.js.flow +25 -5
- package/select/types.d.ts +5 -6
- package/select/value.js +2 -3
- package/side-navigation/nav-item.js +1 -0
- package/side-navigation/nav.js +1 -1
- package/side-navigation/stateful-container.js +1 -0
- package/side-navigation/styled-components.js +13 -6
- package/side-navigation/types.d.ts +4 -4
- package/skeleton/styled-components.js +3 -1
- package/slider/slider.js +4 -2
- package/slider/styled-components.js +9 -0
- package/slider/types.d.ts +1 -1
- package/snackbar/snackbar-element.js +1 -0
- package/snackbar/styled-components.js +9 -1
- package/snackbar/types.d.ts +3 -4
- package/spinner/styled-components.js +2 -1
- package/spinner/types.d.ts +1 -1
- package/styles/__mocks__/styled.js +8 -3
- package/styles/styled.d.ts +1 -1
- package/styles/styled.js +7 -6
- package/table/styled-components.js +13 -1
- package/table/types.d.ts +2 -2
- package/table-grid/styled-components.js +4 -1
- package/table-semantic/styled-components.js +20 -3
- package/table-semantic/types.d.ts +2 -2
- package/tabs/stateful-tabs.js +1 -0
- package/tabs/styled-components.js +5 -1
- package/tabs/tabs.js +4 -2
- package/tabs/types.d.ts +2 -2
- package/tabs-motion/styled-components.d.ts +5 -0
- package/tabs-motion/styled-components.js +71 -41
- package/tabs-motion/styled-components.js.flow +21 -0
- package/tabs-motion/tab.js +1 -0
- package/tabs-motion/tabs.d.ts +1 -1
- package/tabs-motion/tabs.js +87 -57
- package/tabs-motion/tabs.js.flow +69 -38
- package/tabs-motion/types.d.ts +5 -2
- package/tabs-motion/types.js.flow +3 -0
- package/tabs-motion/utils.d.ts +1 -1
- package/tag/styled-components.js +5 -1
- package/tag/tag.js +4 -2
- package/tag/types.d.ts +4 -5
- package/textarea/styled-components.js +11 -6
- package/textarea/textarea.js +13 -15
- package/textarea/textarea.js.flow +5 -9
- package/textarea/types.d.ts +6 -5
- package/textarea/types.js.flow +3 -1
- 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 +36 -0
- package/themes/move-theme/typography.js +36 -0
- package/themes/move-theme/typography.js.flow +12 -0
- package/themes/shared/borders.js +8 -3
- package/themes/shared/borders.js.flow +7 -3
- package/themes/shared/typography.js +10 -10
- package/themes/shared/typography.js.flow +10 -10
- package/themes/types.d.ts +3 -0
- package/themes/types.js.flow +3 -0
- package/timezonepicker/timezone-picker.js +6 -2
- package/timezonepicker/types.d.ts +1 -0
- package/timezonepicker/types.js.flow +1 -0
- package/timezonepicker/tzdata.js +1 -1
- package/timezonepicker/update-tzdata.js +51 -39
- package/toast/styled-components.js +5 -1
- package/toast/toaster.js.flow +1 -1
- package/toast/types.d.ts +2 -2
- package/tokens/colors.js +24 -0
- package/tokens/colors.js.flow +27 -0
- package/tokens/types.d.ts +24 -0
- package/tokens/types.js.flow +27 -0
- package/tooltip/styled-components.js +4 -1
- package/tree-view/styled-components.js +7 -1
- package/tree-view/tree-view.js +3 -1
- package/tree-view/types.d.ts +3 -4
- package/types/globals.d.js +14 -1
- package/utils/deep-merge.js +0 -6
- package/utils/deprecated-component.js +1 -0
- package/utils/focusVisible.d.ts +1 -1
- package/utils/focusVisible.js +4 -2
- package/card/images.d.ts +0 -2
- package/card/images.js +0 -17
- package/card/images.js.flow +0 -18
- package/es/card/images.js +0 -8
- package/esm/card/images.js +0 -8
|
@@ -110,6 +110,7 @@ var Root = (0, _styles.styled)('div', function (_ref) {
|
|
|
110
110
|
});
|
|
111
111
|
exports.Root = Root;
|
|
112
112
|
Root.displayName = "Root";
|
|
113
|
+
Root.displayName = 'Root';
|
|
113
114
|
var InnerContainer = (0, _styles.styled)('div', // eslint-disable-next-line no-empty-pattern
|
|
114
115
|
function (_ref2) {
|
|
115
116
|
_objectDestructuringEmpty(_ref2);
|
|
@@ -118,6 +119,7 @@ function (_ref2) {
|
|
|
118
119
|
});
|
|
119
120
|
exports.InnerContainer = InnerContainer;
|
|
120
121
|
InnerContainer.displayName = "InnerContainer";
|
|
122
|
+
InnerContainer.displayName = 'InnerContainer';
|
|
121
123
|
var Body = (0, _styles.styled)('div', function (_ref3) {
|
|
122
124
|
var $isVisible = _ref3.$isVisible,
|
|
123
125
|
$kind = _ref3.$kind,
|
|
@@ -151,6 +153,7 @@ var Body = (0, _styles.styled)('div', function (_ref3) {
|
|
|
151
153
|
});
|
|
152
154
|
exports.Body = Body;
|
|
153
155
|
Body.displayName = "Body";
|
|
156
|
+
Body.displayName = 'Body';
|
|
154
157
|
var CloseIconSvg = (0, _styles.styled)('svg', function (_ref4) {
|
|
155
158
|
var $theme = _ref4.$theme,
|
|
156
159
|
$size = _ref4.$size,
|
|
@@ -168,4 +171,5 @@ var CloseIconSvg = (0, _styles.styled)('svg', function (_ref4) {
|
|
|
168
171
|
});
|
|
169
172
|
});
|
|
170
173
|
exports.CloseIconSvg = CloseIconSvg;
|
|
171
|
-
CloseIconSvg.displayName = "CloseIconSvg";
|
|
174
|
+
CloseIconSvg.displayName = "CloseIconSvg";
|
|
175
|
+
CloseIconSvg.displayName = 'CloseIconSvg';
|
package/toast/toaster.js.flow
CHANGED
package/toast/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import type { Override } from '../helpers/overrides';
|
|
3
|
-
import { KIND, PLACEMENT, TYPE } from './constants';
|
|
3
|
+
import type { KIND, PLACEMENT, TYPE } from './constants';
|
|
4
4
|
export declare type KindType = typeof KIND[keyof typeof KIND];
|
|
5
5
|
export declare type NotificationType = typeof TYPE[keyof typeof TYPE];
|
|
6
6
|
export declare type PlacementType = typeof PLACEMENT[keyof typeof PLACEMENT];
|
package/tokens/colors.js
CHANGED
|
@@ -57,6 +57,14 @@ var colors = {
|
|
|
57
57
|
yellow500: '#BC8B2C',
|
|
58
58
|
yellow600: '#996F00',
|
|
59
59
|
yellow700: '#674D1B',
|
|
60
|
+
lime50: '#F2F7ED',
|
|
61
|
+
lime100: '#E0ECD2',
|
|
62
|
+
lime200: '#BCD69D',
|
|
63
|
+
lime300: '#8BB956',
|
|
64
|
+
lime400: '#67A421',
|
|
65
|
+
lime500: '#4E7C19',
|
|
66
|
+
lime600: '#3D6213',
|
|
67
|
+
lime700: '#29410d',
|
|
60
68
|
green50: '#E6F2ED',
|
|
61
69
|
green100: '#ADDEC9',
|
|
62
70
|
green200: '#66D19E',
|
|
@@ -65,6 +73,14 @@ var colors = {
|
|
|
65
73
|
green500: '#03703C',
|
|
66
74
|
green600: '#03582F',
|
|
67
75
|
green700: '#10462D',
|
|
76
|
+
teal50: '#EDF5F7',
|
|
77
|
+
teal100: '#D2E8EC',
|
|
78
|
+
teal200: '#9DCDD6',
|
|
79
|
+
teal300: '#56A9B9',
|
|
80
|
+
teal400: '#218EA4',
|
|
81
|
+
teal500: '#196B7C',
|
|
82
|
+
teal600: '#135562',
|
|
83
|
+
teal700: '#0D3841',
|
|
68
84
|
blue50: '#EFF3FE',
|
|
69
85
|
blue100: '#D4E2FC',
|
|
70
86
|
blue200: '#A0BFF8',
|
|
@@ -89,6 +105,14 @@ var colors = {
|
|
|
89
105
|
purple500: '#574191',
|
|
90
106
|
purple600: '#453473',
|
|
91
107
|
purple700: '#2E224C',
|
|
108
|
+
magenta50: '#F9F1F7',
|
|
109
|
+
magenta100: '#F2DDEB',
|
|
110
|
+
magenta200: '#E2B4D3',
|
|
111
|
+
magenta300: '#CE7EB3',
|
|
112
|
+
magenta400: '#BF569C',
|
|
113
|
+
magenta500: '#914176',
|
|
114
|
+
magenta600: '#72335D',
|
|
115
|
+
magenta700: '#4C223E',
|
|
92
116
|
brown50: '#F6F0EA',
|
|
93
117
|
brown100: '#EBE0DB',
|
|
94
118
|
brown200: '#D2BBB0',
|
package/tokens/colors.js.flow
CHANGED
|
@@ -58,6 +58,15 @@ const colors: ColorTokensT = {
|
|
|
58
58
|
yellow600: '#996F00',
|
|
59
59
|
yellow700: '#674D1B',
|
|
60
60
|
|
|
61
|
+
lime50: '#F2F7ED',
|
|
62
|
+
lime100: '#E0ECD2',
|
|
63
|
+
lime200: '#BCD69D',
|
|
64
|
+
lime300: '#8BB956',
|
|
65
|
+
lime400: '#67A421',
|
|
66
|
+
lime500: '#4E7C19',
|
|
67
|
+
lime600: '#3D6213',
|
|
68
|
+
lime700: '#29410d',
|
|
69
|
+
|
|
61
70
|
green50: '#E6F2ED',
|
|
62
71
|
green100: '#ADDEC9',
|
|
63
72
|
green200: '#66D19E',
|
|
@@ -67,6 +76,15 @@ const colors: ColorTokensT = {
|
|
|
67
76
|
green600: '#03582F',
|
|
68
77
|
green700: '#10462D',
|
|
69
78
|
|
|
79
|
+
teal50: '#EDF5F7',
|
|
80
|
+
teal100: '#D2E8EC',
|
|
81
|
+
teal200: '#9DCDD6',
|
|
82
|
+
teal300: '#56A9B9',
|
|
83
|
+
teal400: '#218EA4',
|
|
84
|
+
teal500: '#196B7C',
|
|
85
|
+
teal600: '#135562',
|
|
86
|
+
teal700: '#0D3841',
|
|
87
|
+
|
|
70
88
|
blue50: '#EFF3FE',
|
|
71
89
|
blue100: '#D4E2FC',
|
|
72
90
|
blue200: '#A0BFF8',
|
|
@@ -94,6 +112,15 @@ const colors: ColorTokensT = {
|
|
|
94
112
|
purple600: '#453473',
|
|
95
113
|
purple700: '#2E224C',
|
|
96
114
|
|
|
115
|
+
magenta50: '#F9F1F7',
|
|
116
|
+
magenta100: '#F2DDEB',
|
|
117
|
+
magenta200: '#E2B4D3',
|
|
118
|
+
magenta300: '#CE7EB3',
|
|
119
|
+
magenta400: '#BF569C',
|
|
120
|
+
magenta500: '#914176',
|
|
121
|
+
magenta600: '#72335D',
|
|
122
|
+
magenta700: '#4C223E',
|
|
123
|
+
|
|
97
124
|
brown50: '#F6F0EA',
|
|
98
125
|
brown100: '#EBE0DB',
|
|
99
126
|
brown200: '#D2BBB0',
|
package/tokens/types.d.ts
CHANGED
|
@@ -28,6 +28,14 @@ export declare type ColorTokens = {
|
|
|
28
28
|
blue500: string;
|
|
29
29
|
blue600: string;
|
|
30
30
|
blue700: string;
|
|
31
|
+
teal50: string;
|
|
32
|
+
teal100: string;
|
|
33
|
+
teal200: string;
|
|
34
|
+
teal300: string;
|
|
35
|
+
teal400: string;
|
|
36
|
+
teal500: string;
|
|
37
|
+
teal600: string;
|
|
38
|
+
teal700: string;
|
|
31
39
|
red50: string;
|
|
32
40
|
red100: string;
|
|
33
41
|
red200: string;
|
|
@@ -52,6 +60,14 @@ export declare type ColorTokens = {
|
|
|
52
60
|
orange500: string;
|
|
53
61
|
orange600: string;
|
|
54
62
|
orange700: string;
|
|
63
|
+
magenta50: string;
|
|
64
|
+
magenta100: string;
|
|
65
|
+
magenta200: string;
|
|
66
|
+
magenta300: string;
|
|
67
|
+
magenta400: string;
|
|
68
|
+
magenta500: string;
|
|
69
|
+
magenta600: string;
|
|
70
|
+
magenta700: string;
|
|
55
71
|
purple50: string;
|
|
56
72
|
purple100: string;
|
|
57
73
|
purple200: string;
|
|
@@ -68,6 +84,14 @@ export declare type ColorTokens = {
|
|
|
68
84
|
yellow500: string;
|
|
69
85
|
yellow600: string;
|
|
70
86
|
yellow700: string;
|
|
87
|
+
lime50: string;
|
|
88
|
+
lime100: string;
|
|
89
|
+
lime200: string;
|
|
90
|
+
lime300: string;
|
|
91
|
+
lime400: string;
|
|
92
|
+
lime500: string;
|
|
93
|
+
lime600: string;
|
|
94
|
+
lime700: string;
|
|
71
95
|
brown50: string;
|
|
72
96
|
brown100: string;
|
|
73
97
|
brown200: string;
|
package/tokens/types.js.flow
CHANGED
|
@@ -39,6 +39,15 @@ export type ColorTokensT = {
|
|
|
39
39
|
blue600: string,
|
|
40
40
|
blue700: string,
|
|
41
41
|
|
|
42
|
+
teal50: string,
|
|
43
|
+
teal100: string,
|
|
44
|
+
teal200: string,
|
|
45
|
+
teal300: string,
|
|
46
|
+
teal400: string,
|
|
47
|
+
teal500: string,
|
|
48
|
+
teal600: string,
|
|
49
|
+
teal700: string,
|
|
50
|
+
|
|
42
51
|
red50: string,
|
|
43
52
|
red100: string,
|
|
44
53
|
red200: string,
|
|
@@ -66,6 +75,15 @@ export type ColorTokensT = {
|
|
|
66
75
|
orange600: string,
|
|
67
76
|
orange700: string,
|
|
68
77
|
|
|
78
|
+
magenta50: string,
|
|
79
|
+
magenta100: string,
|
|
80
|
+
magenta200: string,
|
|
81
|
+
magenta300: string,
|
|
82
|
+
magenta400: string,
|
|
83
|
+
magenta500: string,
|
|
84
|
+
magenta600: string,
|
|
85
|
+
magenta700: string,
|
|
86
|
+
|
|
69
87
|
purple50: string,
|
|
70
88
|
purple100: string,
|
|
71
89
|
purple200: string,
|
|
@@ -84,6 +102,15 @@ export type ColorTokensT = {
|
|
|
84
102
|
yellow600: string,
|
|
85
103
|
yellow700: string,
|
|
86
104
|
|
|
105
|
+
lime50: string,
|
|
106
|
+
lime100: string,
|
|
107
|
+
lime200: string,
|
|
108
|
+
lime300: string,
|
|
109
|
+
lime400: string,
|
|
110
|
+
lime500: string,
|
|
111
|
+
lime600: string,
|
|
112
|
+
lime700: string,
|
|
113
|
+
|
|
87
114
|
brown50: string,
|
|
88
115
|
brown100: string,
|
|
89
116
|
brown200: string,
|
|
@@ -44,6 +44,7 @@ var Body = (0, _styles.styled)('div', function (props) {
|
|
|
44
44
|
});
|
|
45
45
|
exports.Body = Body;
|
|
46
46
|
Body.displayName = "Body";
|
|
47
|
+
Body.displayName = 'Body';
|
|
47
48
|
var Inner = (0, _styles.styled)('div', function (props) {
|
|
48
49
|
return _objectSpread(_objectSpread(_objectSpread({}, (0, _styledComponents.getInnerStyles)(props)), {}, {
|
|
49
50
|
backgroundColor: props.$theme.colors.tooltipBackground,
|
|
@@ -61,10 +62,12 @@ var Inner = (0, _styles.styled)('div', function (props) {
|
|
|
61
62
|
});
|
|
62
63
|
exports.Inner = Inner;
|
|
63
64
|
Inner.displayName = "Inner";
|
|
65
|
+
Inner.displayName = 'Inner';
|
|
64
66
|
var Arrow = (0, _styles.styled)('div', function (props) {
|
|
65
67
|
return _objectSpread(_objectSpread({}, (0, _styledComponents.getArrowStyles)(props)), {}, {
|
|
66
68
|
backgroundColor: props.$theme.colors.tooltipBackground
|
|
67
69
|
});
|
|
68
70
|
});
|
|
69
71
|
exports.Arrow = Arrow;
|
|
70
|
-
Arrow.displayName = "Arrow";
|
|
72
|
+
Arrow.displayName = "Arrow";
|
|
73
|
+
Arrow.displayName = 'Arrow';
|
|
@@ -29,6 +29,7 @@ var StyledTreeItemList = (0, _styles.styled)('ul', function (_ref) {
|
|
|
29
29
|
});
|
|
30
30
|
exports.StyledTreeItemList = StyledTreeItemList;
|
|
31
31
|
StyledTreeItemList.displayName = "StyledTreeItemList";
|
|
32
|
+
StyledTreeItemList.displayName = 'StyledTreeItemList';
|
|
32
33
|
var StyledTreeItem = (0, _styles.styled)('li', function (_ref3) {
|
|
33
34
|
var $theme = _ref3.$theme,
|
|
34
35
|
$isLeafNode = _ref3.$isLeafNode;
|
|
@@ -49,6 +50,7 @@ var StyledTreeItem = (0, _styles.styled)('li', function (_ref3) {
|
|
|
49
50
|
});
|
|
50
51
|
exports.StyledTreeItem = StyledTreeItem;
|
|
51
52
|
StyledTreeItem.displayName = "StyledTreeItem";
|
|
53
|
+
StyledTreeItem.displayName = 'StyledTreeItem';
|
|
52
54
|
var StyledItemContent = (0, _styles.styled)('div', function (_ref4) {
|
|
53
55
|
var $theme = _ref4.$theme,
|
|
54
56
|
$isSelected = _ref4.$isSelected,
|
|
@@ -75,6 +77,7 @@ var StyledItemContent = (0, _styles.styled)('div', function (_ref4) {
|
|
|
75
77
|
});
|
|
76
78
|
exports.StyledItemContent = StyledItemContent;
|
|
77
79
|
StyledItemContent.displayName = "StyledItemContent";
|
|
80
|
+
StyledItemContent.displayName = 'StyledItemContent';
|
|
78
81
|
var StyledIconContainer = (0, _styles.styled)('div', function (_ref5) {
|
|
79
82
|
var $theme = _ref5.$theme;
|
|
80
83
|
var marginDirection = $theme.direction === 'rtl' ? 'marginLeft' : 'marginRight';
|
|
@@ -88,6 +91,7 @@ var StyledIconContainer = (0, _styles.styled)('div', function (_ref5) {
|
|
|
88
91
|
});
|
|
89
92
|
exports.StyledIconContainer = StyledIconContainer;
|
|
90
93
|
StyledIconContainer.displayName = "StyledIconContainer";
|
|
94
|
+
StyledIconContainer.displayName = 'StyledIconContainer';
|
|
91
95
|
var StyledNoIconContainer = (0, _styles.styled)('div', function (_ref7) {
|
|
92
96
|
var _ref8;
|
|
93
97
|
|
|
@@ -103,10 +107,12 @@ var StyledNoIconContainer = (0, _styles.styled)('div', function (_ref7) {
|
|
|
103
107
|
});
|
|
104
108
|
exports.StyledNoIconContainer = StyledNoIconContainer;
|
|
105
109
|
StyledNoIconContainer.displayName = "StyledNoIconContainer";
|
|
110
|
+
StyledNoIconContainer.displayName = 'StyledNoIconContainer';
|
|
106
111
|
var StyledLabelInteractable = (0, _styles.styled)('div', function () {
|
|
107
112
|
return {
|
|
108
113
|
width: '100%'
|
|
109
114
|
};
|
|
110
115
|
});
|
|
111
116
|
exports.StyledLabelInteractable = StyledLabelInteractable;
|
|
112
|
-
StyledLabelInteractable.displayName = "StyledLabelInteractable";
|
|
117
|
+
StyledLabelInteractable.displayName = "StyledLabelInteractable";
|
|
118
|
+
StyledLabelInteractable.displayName = 'StyledLabelInteractable';
|
package/tree-view/tree-view.js
CHANGED
|
@@ -83,6 +83,7 @@ function TreeView(props) {
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
var onKeyDown = function onKeyDown(e, node) {
|
|
86
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
86
87
|
var elementId = e.target.getAttribute('data-nodeid'); // this check prevents bubbling
|
|
87
88
|
|
|
88
89
|
if (elementId !== getId(node) && parseInt(elementId) !== getId(node)) {
|
|
@@ -171,7 +172,8 @@ function TreeView(props) {
|
|
|
171
172
|
if (selectedNodeId === null && data.length) {
|
|
172
173
|
setSelectedNodeId(getId(data[0]));
|
|
173
174
|
}
|
|
174
|
-
};
|
|
175
|
+
}; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
176
|
+
|
|
175
177
|
|
|
176
178
|
var onBlur = function onBlur(event) {
|
|
177
179
|
if (focusVisible) {
|
package/tree-view/types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import type { Override } from '../helpers/overrides';
|
|
3
|
-
import type { SyntheticEvent } from 'react';
|
|
4
3
|
export declare type TreeLabelOverrides = {
|
|
5
4
|
TreeItemContent?: Override;
|
|
6
5
|
IconContainer?: Override;
|
|
@@ -46,8 +45,8 @@ export declare type TreeNodeProps = {
|
|
|
46
45
|
overrides?: TreeViewOverrides;
|
|
47
46
|
renderAll?: boolean;
|
|
48
47
|
onKeyDown?: (e: KeyboardEvent, node: TreeNodeData) => unknown;
|
|
49
|
-
onFocus?: (event: SyntheticEvent) => unknown;
|
|
50
|
-
onBlur?: (event: SyntheticEvent) => unknown;
|
|
48
|
+
onFocus?: (event: React.SyntheticEvent) => unknown;
|
|
49
|
+
onBlur?: (event: React.SyntheticEvent) => unknown;
|
|
51
50
|
selectedNodeId?: TreeNodeId;
|
|
52
51
|
addRef: (id: TreeNodeId, ref: React.Ref<HTMLLIElement>) => unknown;
|
|
53
52
|
removeRef: (id: TreeNodeId) => unknown;
|
package/types/globals.d.js
CHANGED
|
@@ -1 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
Copyright (c) Uber Technologies, Inc.
|
|
5
|
+
|
|
6
|
+
This source code is licensed under the MIT license found in the
|
|
7
|
+
LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12
|
+
var PlaywrightTest;
|
|
13
|
+
|
|
14
|
+
(function (_PlaywrightTest) {})(PlaywrightTest || (PlaywrightTest = {}));
|
package/utils/deep-merge.js
CHANGED
|
@@ -13,8 +13,6 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
13
13
|
This source code is licensed under the MIT license found in the
|
|
14
14
|
LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
/* flowlint unclear-type:off */
|
|
18
16
|
function deepMerge(target) {
|
|
19
17
|
target = target || {};
|
|
20
18
|
var len = arguments.length <= 1 ? 0 : arguments.length - 1;
|
|
@@ -41,10 +39,6 @@ function deepMerge(target) {
|
|
|
41
39
|
|
|
42
40
|
return target;
|
|
43
41
|
}
|
|
44
|
-
/* flowlint unclear-type:error */
|
|
45
|
-
|
|
46
|
-
/* eslint-disable-next-line flowtype/no-weak-types */
|
|
47
|
-
|
|
48
42
|
|
|
49
43
|
function isCloneable(obj) {
|
|
50
44
|
/* eslint-disable-next-line eqeqeq */
|
|
@@ -16,6 +16,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
16
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
17
|
|
|
18
18
|
function _default(Component, displayName) {
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
19
20
|
var DeprecatedComponent = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
20
21
|
if (process.env.NODE_ENV !== "production") {
|
|
21
22
|
console.warn("We have stabilized the ".concat(displayName, " component, so you can drop the \"Unstable_\" prefix from your imports. We will remove the \"Unstable_\" exports soon, so please make these changes as soon as possible!"));
|
package/utils/focusVisible.d.ts
CHANGED
package/utils/focusVisible.js
CHANGED
|
@@ -160,7 +160,8 @@ function initFocusVisible(node) {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
var forkFocus =
|
|
163
|
+
var forkFocus = // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
164
|
+
function forkFocus(rootProps, handler) {
|
|
164
165
|
return function (e) {
|
|
165
166
|
if (typeof rootProps.onFocus === 'function') {
|
|
166
167
|
rootProps.onFocus(e);
|
|
@@ -172,7 +173,8 @@ var forkFocus = function forkFocus(rootProps, handler) {
|
|
|
172
173
|
|
|
173
174
|
exports.forkFocus = forkFocus;
|
|
174
175
|
|
|
175
|
-
var forkBlur =
|
|
176
|
+
var forkBlur = // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
177
|
+
function forkBlur(rootProps, handler) {
|
|
176
178
|
return function (e) {
|
|
177
179
|
if (typeof rootProps.onBlur === 'function') {
|
|
178
180
|
rootProps.onBlur(e);
|