baseui 12.0.0 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +5 -1
- 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 +5 -1
- 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/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 +1 -0
- 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 -12
- 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 +4 -2
- 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/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 +5 -1
- 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/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 +1 -0
- 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 -12
- 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 +4 -2
- 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/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/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/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 +9 -11
- 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 -12
- package/popover/popover.js.flow +2 -12
- 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.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 +1 -1
- 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 +4 -2
- package/textarea/types.d.ts +6 -5
- package/textarea/types.js.flow +3 -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/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
|
@@ -96,7 +96,8 @@ function getAnchorStyles(props) {
|
|
|
96
96
|
return {};
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
}
|
|
99
|
+
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
100
|
+
|
|
100
101
|
|
|
101
102
|
export var StyledRoot = styled('div', function (props) {
|
|
102
103
|
return {
|
|
@@ -109,6 +110,7 @@ export var StyledRoot = styled('div', function (props) {
|
|
|
109
110
|
};
|
|
110
111
|
});
|
|
111
112
|
StyledRoot.displayName = "StyledRoot";
|
|
113
|
+
StyledRoot.displayName = 'StyledRoot';
|
|
112
114
|
export var StyledBackdrop = styled('div', function (props) {
|
|
113
115
|
var $animating = props.$animating,
|
|
114
116
|
$isOpen = props.$isOpen,
|
|
@@ -134,6 +136,7 @@ export var StyledBackdrop = styled('div', function (props) {
|
|
|
134
136
|
} : null);
|
|
135
137
|
});
|
|
136
138
|
StyledBackdrop.displayName = "StyledBackdrop";
|
|
139
|
+
StyledBackdrop.displayName = 'StyledBackdrop';
|
|
137
140
|
export var StyledDrawerContainer = styled('div', function (props) {
|
|
138
141
|
var $animating = props.$animating,
|
|
139
142
|
$isOpen = props.$isOpen,
|
|
@@ -156,6 +159,7 @@ export var StyledDrawerContainer = styled('div', function (props) {
|
|
|
156
159
|
});
|
|
157
160
|
});
|
|
158
161
|
StyledDrawerContainer.displayName = "StyledDrawerContainer";
|
|
162
|
+
StyledDrawerContainer.displayName = 'StyledDrawerContainer';
|
|
159
163
|
export var StyledDrawerBody = styled('div', function (props) {
|
|
160
164
|
var $theme = props.$theme;
|
|
161
165
|
return _objectSpread(_objectSpread({}, $theme.typography.font200), {}, {
|
|
@@ -169,6 +173,7 @@ export var StyledDrawerBody = styled('div', function (props) {
|
|
|
169
173
|
});
|
|
170
174
|
});
|
|
171
175
|
StyledDrawerBody.displayName = "StyledDrawerBody";
|
|
176
|
+
StyledDrawerBody.displayName = 'StyledDrawerBody';
|
|
172
177
|
export var StyledClose = styled('button', function (props) {
|
|
173
178
|
var _ref;
|
|
174
179
|
|
|
@@ -211,7 +216,9 @@ export var StyledClose = styled('button', function (props) {
|
|
|
211
216
|
}, _defineProperty(_ref, dir, $theme.sizing.scale500), _defineProperty(_ref, "width", $theme.sizing.scale800), _defineProperty(_ref, "height", $theme.sizing.scale800), _defineProperty(_ref, "display", 'flex'), _defineProperty(_ref, "justifyContent", 'center'), _defineProperty(_ref, "alignItems", 'center'), _defineProperty(_ref, "cursor", 'pointer'), _ref;
|
|
212
217
|
});
|
|
213
218
|
StyledClose.displayName = "StyledClose";
|
|
219
|
+
StyledClose.displayName = 'StyledClose';
|
|
214
220
|
export var Hidden = styled('div', {
|
|
215
221
|
display: 'none'
|
|
216
222
|
});
|
|
217
|
-
Hidden.displayName = "Hidden";
|
|
223
|
+
Hidden.displayName = "Hidden";
|
|
224
|
+
Hidden.displayName = 'Hidden';
|
|
@@ -45,6 +45,7 @@ export var StyledFileDragAndDrop = styled('div', function (props) {
|
|
|
45
45
|
};
|
|
46
46
|
});
|
|
47
47
|
StyledFileDragAndDrop.displayName = "StyledFileDragAndDrop";
|
|
48
|
+
StyledFileDragAndDrop.displayName = 'StyledFileDragAndDrop';
|
|
48
49
|
export var StyledContentMessage = styled('div', function (_ref) {
|
|
49
50
|
var $theme = _ref.$theme,
|
|
50
51
|
$afterFileDrop = _ref.$afterFileDrop,
|
|
@@ -56,6 +57,7 @@ export var StyledContentMessage = styled('div', function (_ref) {
|
|
|
56
57
|
});
|
|
57
58
|
});
|
|
58
59
|
StyledContentMessage.displayName = "StyledContentMessage";
|
|
60
|
+
StyledContentMessage.displayName = 'StyledContentMessage';
|
|
59
61
|
export var StyledContentSeparator = StyledContentMessage;
|
|
60
62
|
export var StyledErrorMessage = styled('div', function (props) {
|
|
61
63
|
return _objectSpread(_objectSpread({}, props.$theme.typography.LabelMedium), {}, {
|
|
@@ -65,11 +67,14 @@ export var StyledErrorMessage = styled('div', function (props) {
|
|
|
65
67
|
});
|
|
66
68
|
});
|
|
67
69
|
StyledErrorMessage.displayName = "StyledErrorMessage";
|
|
70
|
+
StyledErrorMessage.displayName = 'StyledErrorMessage';
|
|
68
71
|
export var StyledRoot = styled('div', function (props) {
|
|
69
72
|
return _objectSpread(_objectSpread({}, props.$theme.typography.font300), {}, {
|
|
70
73
|
color: props.$theme.colors.fileUploaderMessageColor
|
|
71
74
|
});
|
|
72
75
|
});
|
|
73
76
|
StyledRoot.displayName = "StyledRoot";
|
|
77
|
+
StyledRoot.displayName = 'StyledRoot';
|
|
74
78
|
export var StyledHiddenInput = styled('input', {});
|
|
75
|
-
StyledHiddenInput.displayName = "StyledHiddenInput";
|
|
79
|
+
StyledHiddenInput.displayName = "StyledHiddenInput";
|
|
80
|
+
StyledHiddenInput.displayName = 'StyledHiddenInput';
|
|
@@ -55,11 +55,9 @@ export var flexGridItemMediaQueryStyle = function flexGridItemMediaQueryStyle(_r
|
|
|
55
55
|
// Subtract .5px to avoid rounding issues on IE/Edge
|
|
56
56
|
// See https://github.com/uber/baseweb/pull/1748
|
|
57
57
|
width: "calc(".concat(widthCalc, " - .5px)")
|
|
58
|
-
}, _defineProperty(_objectSpread2, marginDirection, colGapQuantity && (
|
|
59
|
-
(itemIndex + 1) % colCount !== 0 ? colGap : 0)), _defineProperty(_objectSpread2, "marginBottom", rowGapQuantity && ( //flowlint-line sketchy-number-and:off
|
|
60
|
-
~~(itemIndex / colCount) !== ~~((itemCount - 1) / colCount) ? rowGap : 0)), _objectSpread2), itemIndex === itemCount - 1 && (itemIndex + 1) % colCount !== 0 ? _defineProperty({}, marginDirection, "calc(".concat(colCount - itemIndex % colCount - 1, " * (").concat(colGap, " + ").concat(widthCalc, "))")) : {}));
|
|
58
|
+
}, _defineProperty(_objectSpread2, marginDirection, colGapQuantity && ((itemIndex + 1) % colCount !== 0 ? colGap : 0)), _defineProperty(_objectSpread2, "marginBottom", rowGapQuantity && (~~(itemIndex / colCount) !== ~~((itemCount - 1) / colCount) ? rowGap : 0)), _objectSpread2), itemIndex === itemCount - 1 && (itemIndex + 1) % colCount !== 0 ? _defineProperty({}, marginDirection, "calc(".concat(colCount - itemIndex % colCount - 1, " * (").concat(colGap, " + ").concat(widthCalc, "))")) : {}));
|
|
61
59
|
};
|
|
62
|
-
export
|
|
60
|
+
export function getResponsiveValue(responsive, i) {
|
|
63
61
|
if (!responsive) {
|
|
64
62
|
return null;
|
|
65
63
|
}
|
|
@@ -69,7 +67,7 @@ export var getResponsiveValue = function getResponsiveValue(responsive, i) {
|
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
return responsive[i] || responsive[responsive.length - 1];
|
|
72
|
-
}
|
|
70
|
+
}
|
|
73
71
|
export var flexGridItemStyle = function flexGridItemStyle(_ref3) {
|
|
74
72
|
var $flexGridColumnCount = _ref3.$flexGridColumnCount,
|
|
75
73
|
$flexGridColumnGap = _ref3.$flexGridColumnGap,
|
|
@@ -145,6 +143,7 @@ var FlexGridItem = function FlexGridItem(_ref4) {
|
|
|
145
143
|
var blockOverrides = overrides ? mergeOverrides(flexGridItemOverrides, overrides) : flexGridItemOverrides;
|
|
146
144
|
return /*#__PURE__*/React.createElement(Block // coerced to any because of how react components are typed.
|
|
147
145
|
// cannot guarantee an html element
|
|
146
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
148
147
|
, _extends({
|
|
149
148
|
ref: forwardedRef,
|
|
150
149
|
as: as,
|
|
@@ -78,9 +78,13 @@ var FlexGrid = function FlexGrid(_ref2) {
|
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
var FlexGridComponent = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
81
|
-
return
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
return (
|
|
82
|
+
/*#__PURE__*/
|
|
83
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
84
|
+
React.createElement(FlexGrid, _extends({}, props, {
|
|
85
|
+
forwardedRef: ref
|
|
86
|
+
}))
|
|
87
|
+
);
|
|
84
88
|
});
|
|
85
89
|
FlexGridComponent.displayName = 'FlexGrid';
|
|
86
90
|
export default FlexGridComponent;
|
|
@@ -27,6 +27,7 @@ export var Label = styled('label', function (props) {
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
Label.displayName = "Label";
|
|
30
|
+
Label.displayName = 'Label';
|
|
30
31
|
export var LabelContainer = styled('span', function (_ref) {
|
|
31
32
|
var sizing = _ref.$theme.sizing;
|
|
32
33
|
return {
|
|
@@ -39,6 +40,7 @@ export var LabelContainer = styled('span', function (_ref) {
|
|
|
39
40
|
};
|
|
40
41
|
});
|
|
41
42
|
LabelContainer.displayName = "LabelContainer";
|
|
43
|
+
LabelContainer.displayName = 'LabelContainer';
|
|
42
44
|
export var LabelEndEnhancer = styled('span', function (_ref2) {
|
|
43
45
|
var $disabled = _ref2.$disabled,
|
|
44
46
|
$counterError = _ref2.$counterError,
|
|
@@ -52,6 +54,7 @@ export var LabelEndEnhancer = styled('span', function (_ref2) {
|
|
|
52
54
|
});
|
|
53
55
|
});
|
|
54
56
|
LabelEndEnhancer.displayName = "LabelEndEnhancer";
|
|
57
|
+
LabelEndEnhancer.displayName = 'LabelEndEnhancer';
|
|
55
58
|
export var Caption = styled('div', function (props) {
|
|
56
59
|
var $error = props.$error,
|
|
57
60
|
$positive = props.$positive,
|
|
@@ -80,6 +83,7 @@ export var Caption = styled('div', function (props) {
|
|
|
80
83
|
});
|
|
81
84
|
});
|
|
82
85
|
Caption.displayName = "Caption";
|
|
86
|
+
Caption.displayName = 'Caption';
|
|
83
87
|
export var ControlContainer = styled('div', function (props) {
|
|
84
88
|
var sizing = props.$theme.sizing;
|
|
85
89
|
return {
|
|
@@ -87,4 +91,5 @@ export var ControlContainer = styled('div', function (props) {
|
|
|
87
91
|
marginBottom: sizing.scale600
|
|
88
92
|
};
|
|
89
93
|
});
|
|
90
|
-
ControlContainer.displayName = "ControlContainer";
|
|
94
|
+
ControlContainer.displayName = "ControlContainer";
|
|
95
|
+
ControlContainer.displayName = 'ControlContainer';
|
|
@@ -28,6 +28,7 @@ export var Root = styled('nav', function (props) {
|
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
Root.displayName = "Root";
|
|
31
|
+
Root.displayName = 'Root';
|
|
31
32
|
export var NavigationItem = styled('li', function (props) {
|
|
32
33
|
var $theme = props.$theme;
|
|
33
34
|
var scale800 = $theme.sizing.scale800;
|
|
@@ -37,6 +38,7 @@ export var NavigationItem = styled('li', function (props) {
|
|
|
37
38
|
};
|
|
38
39
|
});
|
|
39
40
|
NavigationItem.displayName = "NavigationItem";
|
|
41
|
+
NavigationItem.displayName = 'NavigationItem';
|
|
40
42
|
export var NavigationList = styled('ul', function (props) {
|
|
41
43
|
var $align = props.$align,
|
|
42
44
|
$theme = props.$theme;
|
|
@@ -64,4 +66,5 @@ export var NavigationList = styled('ul', function (props) {
|
|
|
64
66
|
marginRight: 0
|
|
65
67
|
};
|
|
66
68
|
});
|
|
67
|
-
NavigationList.displayName = "NavigationList";
|
|
69
|
+
NavigationList.displayName = "NavigationList";
|
|
70
|
+
NavigationList.displayName = 'NavigationList';
|
|
@@ -196,7 +196,9 @@ export var StyledBody = styled('div', function (props) {
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
StyledBody.displayName = "StyledBody";
|
|
199
|
+
StyledBody.displayName = 'StyledBody';
|
|
199
200
|
export var StyledArrow = styled('div', function (props) {
|
|
200
201
|
return _objectSpread({}, clampArrowStyle(props.$arrowOffset, props.$placement, props.$theme.colors.backgroundPrimary));
|
|
201
202
|
});
|
|
202
|
-
StyledArrow.displayName = "StyledArrow";
|
|
203
|
+
StyledArrow.displayName = "StyledArrow";
|
|
204
|
+
StyledArrow.displayName = 'StyledArrow';
|
package/esm/helpers/overrides.js
CHANGED
|
@@ -14,15 +14,15 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
14
14
|
This source code is licensed under the MIT license found in the
|
|
15
15
|
LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
|
|
18
|
-
/* eslint-disable cup/no-undef */
|
|
19
17
|
import * as React from 'react';
|
|
20
18
|
import { isValidElementType } from 'react-is';
|
|
21
19
|
import deepMerge from '../utils/deep-merge'; // Object -> any
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
22
21
|
|
|
23
22
|
/**
|
|
24
23
|
* Given an override argument, returns the component implementation override if it exists
|
|
25
24
|
*/
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26
26
|
export function getOverride(_override) {
|
|
27
27
|
if (isValidElementType(_override)) {
|
|
28
28
|
return _override;
|
|
@@ -32,6 +32,7 @@ export function getOverride(_override) {
|
|
|
32
32
|
if (_override && _typeof(_override) === 'object') {
|
|
33
33
|
// Remove this 'any' once this flow issue is fixed:
|
|
34
34
|
// https://github.com/facebook/flow/issues/6666
|
|
35
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
35
36
|
return _override.component;
|
|
36
37
|
} // null/undefined
|
|
37
38
|
|
|
@@ -69,11 +70,13 @@ export function getOverrideProps(_override) {
|
|
|
69
70
|
export function toObjectOverride(_override) {
|
|
70
71
|
if (isValidElementType(_override)) {
|
|
71
72
|
return {
|
|
73
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
72
74
|
component: _override
|
|
73
75
|
};
|
|
74
76
|
} // Flow can't figure out that typeof 'function' above will
|
|
75
77
|
// catch React.StatelessFunctionalComponent
|
|
76
78
|
// (probably related to https://github.com/facebook/flow/issues/6666)
|
|
79
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
77
80
|
|
|
78
81
|
|
|
79
82
|
return _override || {};
|
|
@@ -81,8 +84,11 @@ export function toObjectOverride(_override) {
|
|
|
81
84
|
/**
|
|
82
85
|
* Get a convenient override array that will always have [component, props]
|
|
83
86
|
*/
|
|
87
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
84
88
|
|
|
85
|
-
export function getOverrides(
|
|
89
|
+
export function getOverrides( // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
90
|
+
_override, // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
91
|
+
defaultComponent) {
|
|
86
92
|
var Component = getOverride(_override) || defaultComponent;
|
|
87
93
|
|
|
88
94
|
if (_override && _typeof(_override) === 'object' && typeof _override.props === 'function') {
|
|
@@ -109,8 +115,6 @@ export function getOverrides(_override, defaultComponent) {
|
|
|
109
115
|
var props = getOverrideProps(_override);
|
|
110
116
|
return [Component, props];
|
|
111
117
|
}
|
|
112
|
-
/* flowlint unclear-type:error */
|
|
113
|
-
|
|
114
118
|
/**
|
|
115
119
|
* Merges two overrides objects – this is useful if you want to inject your own
|
|
116
120
|
* overrides into a child component, but also accept further overrides from
|
package/esm/icon/build-icons.js
CHANGED
|
@@ -7,8 +7,6 @@ This source code is licensed under the MIT license found in the
|
|
|
7
7
|
LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
/* eslint-disable flowtype/require-valid-file-annotation */
|
|
11
|
-
|
|
12
10
|
/* eslint-env node*/
|
|
13
11
|
|
|
14
12
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
package/esm/icon/index.js
CHANGED
|
@@ -5,7 +5,7 @@ This source code is licensed under the MIT license found in the
|
|
|
5
5
|
LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
export { default as Icon } from './icon';
|
|
8
|
-
export { Svg as StyledSvg } from './styled-components';
|
|
8
|
+
export { Svg as StyledSvg, getSvgStyles } from './styled-components';
|
|
9
9
|
export * from './icon-exports';
|
|
10
10
|
export * from './types';
|
|
11
11
|
/** @deprecated use StyledComponentArgs instead. To be removed in future versions.*/
|
|
@@ -4,6 +4,7 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
4
4
|
This source code is licensed under the MIT license found in the
|
|
5
5
|
LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7
8
|
export default function omitDollarPrefixedKeys(source) {
|
|
8
9
|
var result = {};
|
|
9
10
|
|
package/esm/input/base-input.js
CHANGED
|
@@ -42,6 +42,7 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
42
42
|
This source code is licensed under the MIT license found in the
|
|
43
43
|
LICENSE file in the root directory of this source tree.
|
|
44
44
|
*/
|
|
45
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
45
46
|
|
|
46
47
|
/* global window */
|
|
47
48
|
import * as React from 'react';
|
|
@@ -70,8 +70,11 @@ export default function MaskedInput(_ref2) {
|
|
|
70
70
|
restOverrides = _objectWithoutProperties(_ref2$overrides, _excluded2),
|
|
71
71
|
restProps = _objectWithoutProperties(_ref2, _excluded3);
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
var
|
|
73
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
74
|
+
var componentOverride = MaskOverride; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
75
|
+
|
|
76
|
+
var propsOverride = {}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
77
|
+
|
|
75
78
|
var styleOverride = {};
|
|
76
79
|
|
|
77
80
|
if (typeof inputOverride === 'function') {
|
|
@@ -87,6 +87,7 @@ var StatefulContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
87
87
|
_createClass(StatefulContainer, [{
|
|
88
88
|
key: "render",
|
|
89
89
|
value: function render() {
|
|
90
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
90
91
|
var _this$props = this.props,
|
|
91
92
|
children = _this$props.children,
|
|
92
93
|
initialState = _this$props.initialState,
|
|
@@ -35,6 +35,7 @@ export var StyledMaskToggleButton = styled('button', function (_ref) {
|
|
|
35
35
|
};
|
|
36
36
|
});
|
|
37
37
|
StyledMaskToggleButton.displayName = "StyledMaskToggleButton";
|
|
38
|
+
StyledMaskToggleButton.displayName = 'StyledMaskToggleButton';
|
|
38
39
|
export var StyledClearIconContainer = styled('div', function (_ref2) {
|
|
39
40
|
var _SIZE$mini$SIZE$compa2;
|
|
40
41
|
|
|
@@ -53,6 +54,7 @@ export var StyledClearIconContainer = styled('div', function (_ref2) {
|
|
|
53
54
|
};
|
|
54
55
|
});
|
|
55
56
|
StyledClearIconContainer.displayName = "StyledClearIconContainer";
|
|
57
|
+
StyledClearIconContainer.displayName = 'StyledClearIconContainer';
|
|
56
58
|
export var StyledClearIcon = styled(DeleteAlt, function (_ref3) {
|
|
57
59
|
var $theme = _ref3.$theme,
|
|
58
60
|
$isFocusVisible = _ref3.$isFocusVisible;
|
|
@@ -62,6 +64,7 @@ export var StyledClearIcon = styled(DeleteAlt, function (_ref3) {
|
|
|
62
64
|
};
|
|
63
65
|
});
|
|
64
66
|
StyledClearIcon.displayName = "StyledClearIcon";
|
|
67
|
+
StyledClearIcon.displayName = 'StyledClearIcon';
|
|
65
68
|
|
|
66
69
|
function getInputPadding(size, sizing) {
|
|
67
70
|
var _SIZE$mini$SIZE$compa3;
|
|
@@ -157,7 +160,13 @@ function getRootColors($disabled, $isFocused, $error) {
|
|
|
157
160
|
};
|
|
158
161
|
}
|
|
159
162
|
|
|
160
|
-
function getRootBorderRadius(
|
|
163
|
+
function getRootBorderRadius(size, borders) {
|
|
164
|
+
var radius = borders.inputBorderRadius;
|
|
165
|
+
|
|
166
|
+
if (size === SIZE.mini) {
|
|
167
|
+
radius = borders.inputBorderRadiusMini;
|
|
168
|
+
}
|
|
169
|
+
|
|
161
170
|
return {
|
|
162
171
|
borderTopLeftRadius: radius,
|
|
163
172
|
borderBottomLeftRadius: radius,
|
|
@@ -197,11 +206,11 @@ export var getRootStyles = function getRootStyles(props) {
|
|
|
197
206
|
transitionProperty: 'border',
|
|
198
207
|
transitionDuration: animation.timing200,
|
|
199
208
|
transitionTimingFunction: animation.easeOutCurve
|
|
200
|
-
}, getRootBorderRadius(borders
|
|
209
|
+
}, getRootBorderRadius($size, borders)), getFont($size, typography)), getRootColors($disabled, $isFocused, $error, $positive, colors)), getRootPadding($adjoined, $size, sizing, $theme.direction, $hasIconTrailing));
|
|
201
210
|
};
|
|
202
|
-
export var Root = styled('div', getRootStyles);
|
|
203
|
-
|
|
211
|
+
export var Root = styled('div', getRootStyles);
|
|
204
212
|
Root.displayName = "Root";
|
|
213
|
+
Root.displayName = 'Root'; // InputEnhancer
|
|
205
214
|
|
|
206
215
|
function getInputEnhancerPadding($size, sizing) {
|
|
207
216
|
var _SIZE$mini$SIZE$compa5;
|
|
@@ -275,9 +284,9 @@ export var InputEnhancer = styled('div', function (props) {
|
|
|
275
284
|
transitionDuration: animation.timing200,
|
|
276
285
|
transitionTimingFunction: animation.easeOutCurve
|
|
277
286
|
}, getFont($size, typography)), getInputEnhancerPadding($size, sizing)), getInputEnhancerColors($disabled, $isFocused, $error, $positive, colors));
|
|
278
|
-
});
|
|
279
|
-
|
|
287
|
+
});
|
|
280
288
|
InputEnhancer.displayName = "InputEnhancer";
|
|
289
|
+
InputEnhancer.displayName = 'InputEnhancer'; // InputContainer
|
|
281
290
|
|
|
282
291
|
function getInputContainerColors($disabled, $isFocused, $error, $positive, colors) {
|
|
283
292
|
if ($disabled) {
|
|
@@ -334,6 +343,7 @@ export var getInputContainerStyles = function getInputContainerStyles(props) {
|
|
|
334
343
|
};
|
|
335
344
|
export var InputContainer = styled('div', getInputContainerStyles);
|
|
336
345
|
InputContainer.displayName = "InputContainer";
|
|
346
|
+
InputContainer.displayName = 'InputContainer';
|
|
337
347
|
|
|
338
348
|
function getInputColors($disabled, $isFocused, $error, colors) {
|
|
339
349
|
if ($disabled) {
|
|
@@ -390,4 +400,5 @@ export var getInputStyles = function getInputStyles(props) {
|
|
|
390
400
|
}, getFont($size, typography)), getInputPadding($size, sizing)), getInputColors($disabled, $isFocused, $error, colors));
|
|
391
401
|
};
|
|
392
402
|
export var Input = styled('input', getInputStyles);
|
|
393
|
-
Input.displayName = "Input";
|
|
403
|
+
Input.displayName = "Input";
|
|
404
|
+
Input.displayName = 'Input';
|
package/esm/input/utils.js
CHANGED
|
@@ -11,6 +11,7 @@ export function getSharedProps(props, state) {
|
|
|
11
11
|
adjoined = props.adjoined,
|
|
12
12
|
size = props.size,
|
|
13
13
|
required = props.required,
|
|
14
|
+
resize = props.resize,
|
|
14
15
|
readOnly = props.readOnly;
|
|
15
16
|
var isFocused = state.isFocused;
|
|
16
17
|
return {
|
|
@@ -21,6 +22,7 @@ export function getSharedProps(props, state) {
|
|
|
21
22
|
$adjoined: adjoined,
|
|
22
23
|
$size: size,
|
|
23
24
|
$required: required,
|
|
25
|
+
$resize: resize,
|
|
24
26
|
$isReadOnly: readOnly
|
|
25
27
|
};
|
|
26
28
|
}
|
package/esm/layer/layer.js
CHANGED
|
@@ -74,6 +74,24 @@ var LayerComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
+
_defineProperty(_assertThisInitialized(_this), "onKeyDown", function (event) {
|
|
78
|
+
if (_this.props.onKeyDown) {
|
|
79
|
+
_this.props.onKeyDown(event);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
_defineProperty(_assertThisInitialized(_this), "onKeyUp", function (event) {
|
|
84
|
+
if (_this.props.onKeyUp) {
|
|
85
|
+
_this.props.onKeyUp(event);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
_defineProperty(_assertThisInitialized(_this), "onKeyPress", function (event) {
|
|
90
|
+
if (_this.props.onKeyPress) {
|
|
91
|
+
_this.props.onKeyPress(event);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
|
|
77
95
|
_defineProperty(_assertThisInitialized(_this), "onDocumentClick", function (event) {
|
|
78
96
|
if (_this.props.onDocumentClick) {
|
|
79
97
|
_this.props.onDocumentClick(event);
|
|
@@ -87,6 +105,9 @@ var LayerComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
87
105
|
key: "componentDidMount",
|
|
88
106
|
value: function componentDidMount() {
|
|
89
107
|
this.context.addEscapeHandler(this.onEscape);
|
|
108
|
+
this.context.addKeyDownHandler(this.onKeyDown);
|
|
109
|
+
this.context.addKeyUpHandler(this.onKeyUp);
|
|
110
|
+
this.context.addKeyPressHandler(this.onKeyPress);
|
|
90
111
|
|
|
91
112
|
if (!this.props.isHoverLayer) {
|
|
92
113
|
this.context.addDocClickHandler(this.onDocumentClick);
|
|
@@ -145,6 +166,9 @@ var LayerComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
145
166
|
key: "componentWillUnmount",
|
|
146
167
|
value: function componentWillUnmount() {
|
|
147
168
|
this.context.removeEscapeHandler(this.onEscape);
|
|
169
|
+
this.context.removeKeyDownHandler(this.onKeyDown);
|
|
170
|
+
this.context.removeKeyUpHandler(this.onKeyUp);
|
|
171
|
+
this.context.removeKeyPressHandler(this.onKeyPress);
|
|
148
172
|
this.context.removeDocClickHandler(this.onDocumentClick);
|
|
149
173
|
|
|
150
174
|
if (this.props.onUnmount) {
|
|
@@ -68,6 +68,12 @@ function defaultEventHandlerFn() {
|
|
|
68
68
|
export var LayersContext = /*#__PURE__*/React.createContext({
|
|
69
69
|
addEscapeHandler: defaultEventHandlerFn,
|
|
70
70
|
removeEscapeHandler: defaultEventHandlerFn,
|
|
71
|
+
addKeyDownHandler: defaultEventHandlerFn,
|
|
72
|
+
removeKeyDownHandler: defaultEventHandlerFn,
|
|
73
|
+
addKeyUpHandler: defaultEventHandlerFn,
|
|
74
|
+
removeKeyUpHandler: defaultEventHandlerFn,
|
|
75
|
+
addKeyPressHandler: defaultEventHandlerFn,
|
|
76
|
+
removeKeyPressHandler: defaultEventHandlerFn,
|
|
71
77
|
addDocClickHandler: defaultEventHandlerFn,
|
|
72
78
|
removeDocClickHandler: defaultEventHandlerFn,
|
|
73
79
|
host: undefined,
|
|
@@ -81,6 +87,7 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
81
87
|
|
|
82
88
|
var _super = _createSuper(LayersManager);
|
|
83
89
|
|
|
90
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
84
91
|
function LayersManager(props) {
|
|
85
92
|
var _this;
|
|
86
93
|
|
|
@@ -100,6 +107,14 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
100
107
|
}
|
|
101
108
|
});
|
|
102
109
|
|
|
110
|
+
_defineProperty(_assertThisInitialized(_this), "onKeyDown", function (event) {
|
|
111
|
+
var keyDownHandler = _this.state.keyDownHandlers[_this.state.keyDownHandlers.length - 1];
|
|
112
|
+
|
|
113
|
+
if (keyDownHandler) {
|
|
114
|
+
keyDownHandler(event);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
|
|
103
118
|
_defineProperty(_assertThisInitialized(_this), "onKeyUp", function (event) {
|
|
104
119
|
if (event.key === 'Escape') {
|
|
105
120
|
var escapeKeyHandler = _this.state.escapeKeyHandlers[_this.state.escapeKeyHandlers.length - 1];
|
|
@@ -108,6 +123,20 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
108
123
|
escapeKeyHandler();
|
|
109
124
|
}
|
|
110
125
|
}
|
|
126
|
+
|
|
127
|
+
var keyUpHandler = _this.state.keyUpHandlers[_this.state.keyUpHandlers.length - 1];
|
|
128
|
+
|
|
129
|
+
if (keyUpHandler) {
|
|
130
|
+
keyUpHandler(event);
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
_defineProperty(_assertThisInitialized(_this), "onKeyPress", function (event) {
|
|
135
|
+
var keyPressHandler = _this.state.keyPressHandlers[_this.state.keyPressHandlers.length - 1];
|
|
136
|
+
|
|
137
|
+
if (keyPressHandler) {
|
|
138
|
+
keyPressHandler(event);
|
|
139
|
+
}
|
|
111
140
|
});
|
|
112
141
|
|
|
113
142
|
_defineProperty(_assertThisInitialized(_this), "onAddEscapeHandler", function (escapeKeyHandler) {
|
|
@@ -128,6 +157,60 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
128
157
|
});
|
|
129
158
|
});
|
|
130
159
|
|
|
160
|
+
_defineProperty(_assertThisInitialized(_this), "onAddKeyDownHandler", function (keyDownHandler) {
|
|
161
|
+
_this.setState(function (prev) {
|
|
162
|
+
return {
|
|
163
|
+
keyDownHandlers: [].concat(_toConsumableArray(prev.keyDownHandlers), [keyDownHandler])
|
|
164
|
+
};
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
_defineProperty(_assertThisInitialized(_this), "onRemoveKeyDownHandler", function (keyDownHandler) {
|
|
169
|
+
_this.setState(function (prev) {
|
|
170
|
+
return {
|
|
171
|
+
keyDownHandlers: prev.keyDownHandlers.filter(function (handler) {
|
|
172
|
+
return handler !== keyDownHandler;
|
|
173
|
+
})
|
|
174
|
+
};
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
_defineProperty(_assertThisInitialized(_this), "onAddKeyUpHandler", function (keyUpHandler) {
|
|
179
|
+
_this.setState(function (prev) {
|
|
180
|
+
return {
|
|
181
|
+
keyUpHandlers: [].concat(_toConsumableArray(prev.keyUpHandlers), [keyUpHandler])
|
|
182
|
+
};
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
_defineProperty(_assertThisInitialized(_this), "onRemoveKeyUpHandler", function (keyUpHandler) {
|
|
187
|
+
_this.setState(function (prev) {
|
|
188
|
+
return {
|
|
189
|
+
keyUpHandlers: prev.keyUpHandlers.filter(function (handler) {
|
|
190
|
+
return handler !== keyUpHandler;
|
|
191
|
+
})
|
|
192
|
+
};
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
_defineProperty(_assertThisInitialized(_this), "onAddKeyPressHandler", function (keyPressHandler) {
|
|
197
|
+
_this.setState(function (prev) {
|
|
198
|
+
return {
|
|
199
|
+
keyPressHandlers: [].concat(_toConsumableArray(prev.keyPressHandlers), [keyPressHandler])
|
|
200
|
+
};
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
_defineProperty(_assertThisInitialized(_this), "onRemoveKeyPressHandler", function (keyPressHandler) {
|
|
205
|
+
_this.setState(function (prev) {
|
|
206
|
+
return {
|
|
207
|
+
keyPressHandlers: prev.keyPressHandlers.filter(function (handler) {
|
|
208
|
+
return handler !== keyPressHandler;
|
|
209
|
+
})
|
|
210
|
+
};
|
|
211
|
+
});
|
|
212
|
+
});
|
|
213
|
+
|
|
131
214
|
_defineProperty(_assertThisInitialized(_this), "onAddDocClickHandler", function (docClickHandler) {
|
|
132
215
|
_this.setState(function (prev) {
|
|
133
216
|
return {
|
|
@@ -148,6 +231,9 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
148
231
|
|
|
149
232
|
_this.state = {
|
|
150
233
|
escapeKeyHandlers: [],
|
|
234
|
+
keyDownHandlers: [],
|
|
235
|
+
keyUpHandlers: [],
|
|
236
|
+
keyPressHandlers: [],
|
|
151
237
|
docClickHandlers: []
|
|
152
238
|
};
|
|
153
239
|
return _this;
|
|
@@ -160,7 +246,9 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
160
246
|
initFocusVisible(this.containerRef.current);
|
|
161
247
|
|
|
162
248
|
if (typeof document !== 'undefined') {
|
|
163
|
-
document.addEventListener('
|
|
249
|
+
document.addEventListener('keydown', this.onKeyDown);
|
|
250
|
+
document.addEventListener('keyup', this.onKeyUp);
|
|
251
|
+
document.addEventListener('keypress', this.onKeyPress); // using mousedown event so that callback runs before events on children inside of the layer
|
|
164
252
|
|
|
165
253
|
document.addEventListener('mousedown', this.onDocumentClick);
|
|
166
254
|
}
|
|
@@ -169,7 +257,9 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
169
257
|
key: "componentWillUnmount",
|
|
170
258
|
value: function componentWillUnmount() {
|
|
171
259
|
if (typeof document !== 'undefined') {
|
|
260
|
+
document.removeEventListener('keydown', this.onKeyDown);
|
|
172
261
|
document.removeEventListener('keyup', this.onKeyUp);
|
|
262
|
+
document.removeEventListener('keypress', this.onKeyPress);
|
|
173
263
|
document.removeEventListener('mousedown', this.onDocumentClick);
|
|
174
264
|
}
|
|
175
265
|
}
|
|
@@ -207,6 +297,12 @@ var LayersManager = /*#__PURE__*/function (_React$Component) {
|
|
|
207
297
|
zIndex: _this2.props.zIndex,
|
|
208
298
|
addEscapeHandler: _this2.onAddEscapeHandler,
|
|
209
299
|
removeEscapeHandler: _this2.onRemoveEscapeHandler,
|
|
300
|
+
addKeyDownHandler: _this2.onAddKeyDownHandler,
|
|
301
|
+
removeKeyDownHandler: _this2.onRemoveKeyDownHandler,
|
|
302
|
+
addKeyUpHandler: _this2.onAddKeyUpHandler,
|
|
303
|
+
removeKeyUpHandler: _this2.onRemoveKeyUpHandler,
|
|
304
|
+
addKeyPressHandler: _this2.onAddKeyPressHandler,
|
|
305
|
+
removeKeyPressHandler: _this2.onRemoveKeyPressHandler,
|
|
210
306
|
addDocClickHandler: _this2.onAddDocClickHandler,
|
|
211
307
|
removeDocClickHandler: _this2.onRemoveDocClickHandler
|
|
212
308
|
}
|
|
@@ -29,6 +29,7 @@ export var StyledGridWrapper = styled('div', function (_ref) {
|
|
|
29
29
|
};
|
|
30
30
|
});
|
|
31
31
|
StyledGridWrapper.displayName = "StyledGridWrapper";
|
|
32
|
+
StyledGridWrapper.displayName = 'StyledGridWrapper';
|
|
32
33
|
export var StyledGrid = styled('div', function (_ref2) {
|
|
33
34
|
var $theme = _ref2.$theme,
|
|
34
35
|
_ref2$$align = _ref2.$align,
|
|
@@ -67,6 +68,7 @@ export var StyledGrid = styled('div', function (_ref2) {
|
|
|
67
68
|
}, gridStyles);
|
|
68
69
|
});
|
|
69
70
|
StyledGrid.displayName = "StyledGrid";
|
|
71
|
+
StyledGrid.displayName = 'StyledGrid';
|
|
70
72
|
export var StyledCell = styled('div', function (_ref3) {
|
|
71
73
|
var $theme = _ref3.$theme,
|
|
72
74
|
_ref3$$align = _ref3.$align,
|
|
@@ -120,6 +122,7 @@ export var StyledCell = styled('div', function (_ref3) {
|
|
|
120
122
|
}, cellStyles);
|
|
121
123
|
});
|
|
122
124
|
StyledCell.displayName = "StyledCell";
|
|
125
|
+
StyledCell.displayName = 'StyledCell';
|
|
123
126
|
|
|
124
127
|
function getResponsiveNumber(responsive, i) {
|
|
125
128
|
var res = getResponsiveValue(responsive, i);
|