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
|
@@ -57,16 +57,19 @@ const COLOR_STATE = {
|
|
|
57
57
|
const pick = (theme, light, dark) => theme.name && theme.name.includes('dark') ? dark : light;
|
|
58
58
|
|
|
59
59
|
const neutralColorStates = {
|
|
60
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
60
61
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
61
62
|
color: theme.colors.tagNeutralFontDisabled,
|
|
62
63
|
backgroundColor: null,
|
|
63
64
|
borderColor: theme.colors.tagNeutralOutlinedDisabled
|
|
64
65
|
}),
|
|
66
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
65
67
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
66
68
|
color: theme.colors.tagNeutralSolidFont,
|
|
67
69
|
backgroundColor: theme.colors.tagNeutralSolidBackground,
|
|
68
70
|
borderColor: null
|
|
69
71
|
}),
|
|
72
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
70
73
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
71
74
|
color: theme.colors.tagNeutralOutlinedFont,
|
|
72
75
|
backgroundColor: null,
|
|
@@ -74,16 +77,19 @@ const neutralColorStates = {
|
|
|
74
77
|
})
|
|
75
78
|
};
|
|
76
79
|
const primaryColorStates = {
|
|
80
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
77
81
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
78
82
|
color: theme.colors.tagPrimaryFontDisabled,
|
|
79
83
|
backgroundColor: null,
|
|
80
84
|
borderColor: theme.colors.tagPrimaryOutlinedDisabled
|
|
81
85
|
}),
|
|
86
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
82
87
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
83
88
|
color: theme.colors.tagPrimarySolidFont,
|
|
84
89
|
backgroundColor: theme.colors.tagPrimarySolidBackground,
|
|
85
90
|
borderColor: null
|
|
86
91
|
}),
|
|
92
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
87
93
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
88
94
|
color: theme.colors.tagPrimaryOutlinedFont,
|
|
89
95
|
backgroundColor: null,
|
|
@@ -91,16 +97,19 @@ const primaryColorStates = {
|
|
|
91
97
|
})
|
|
92
98
|
};
|
|
93
99
|
const accentColorStates = {
|
|
100
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
94
101
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
95
102
|
color: theme.colors.tagAccentFontDisabled,
|
|
96
103
|
backgroundColor: null,
|
|
97
104
|
borderColor: theme.colors.tagAccentOutlinedDisabled
|
|
98
105
|
}),
|
|
106
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
99
107
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
100
108
|
color: theme.colors.tagAccentSolidFont,
|
|
101
109
|
backgroundColor: theme.colors.tagAccentSolidBackground,
|
|
102
110
|
borderColor: null
|
|
103
111
|
}),
|
|
112
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
104
113
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
105
114
|
color: theme.colors.tagAccentOutlinedFont,
|
|
106
115
|
backgroundColor: null,
|
|
@@ -108,16 +117,19 @@ const accentColorStates = {
|
|
|
108
117
|
})
|
|
109
118
|
};
|
|
110
119
|
const positiveColorStates = {
|
|
120
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
111
121
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
112
122
|
color: theme.colors.tagPositiveFontDisabled,
|
|
113
123
|
backgroundColor: null,
|
|
114
124
|
borderColor: theme.colors.tagPositiveOutlinedDisabled
|
|
115
125
|
}),
|
|
126
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
116
127
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
117
128
|
color: theme.colors.tagPositiveSolidFont,
|
|
118
129
|
backgroundColor: theme.colors.tagPositiveSolidBackground,
|
|
119
130
|
borderColor: null
|
|
120
131
|
}),
|
|
132
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
121
133
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
122
134
|
color: theme.colors.tagPositiveOutlinedFont,
|
|
123
135
|
backgroundColor: null,
|
|
@@ -125,16 +137,19 @@ const positiveColorStates = {
|
|
|
125
137
|
})
|
|
126
138
|
};
|
|
127
139
|
const warningColorStates = {
|
|
140
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
128
141
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
129
142
|
color: theme.colors.tagWarningFontDisabled,
|
|
130
143
|
backgroundColor: null,
|
|
131
144
|
borderColor: theme.colors.tagWarningOutlinedDisabled
|
|
132
145
|
}),
|
|
146
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
133
147
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
134
148
|
color: theme.colors.tagWarningSolidFont,
|
|
135
149
|
backgroundColor: theme.colors.tagWarningSolidBackground,
|
|
136
150
|
borderColor: null
|
|
137
151
|
}),
|
|
152
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
138
153
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
139
154
|
color: theme.colors.tagWarningOutlinedFont,
|
|
140
155
|
backgroundColor: null,
|
|
@@ -142,16 +157,19 @@ const warningColorStates = {
|
|
|
142
157
|
})
|
|
143
158
|
};
|
|
144
159
|
const negativeColorStates = {
|
|
160
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
145
161
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
146
162
|
color: theme.colors.tagNegativeFontDisabled,
|
|
147
163
|
backgroundColor: null,
|
|
148
164
|
borderColor: theme.colors.tagNegativeOutlinedDisabled
|
|
149
165
|
}),
|
|
166
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
150
167
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
151
168
|
color: theme.colors.tagNegativeSolidFont,
|
|
152
169
|
backgroundColor: theme.colors.tagNegativeSolidBackground,
|
|
153
170
|
borderColor: null
|
|
154
171
|
}),
|
|
172
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
155
173
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
156
174
|
color: theme.colors.tagNegativeOutlinedFont,
|
|
157
175
|
backgroundColor: null,
|
|
@@ -159,16 +177,19 @@ const negativeColorStates = {
|
|
|
159
177
|
})
|
|
160
178
|
};
|
|
161
179
|
const orangeColorStates = {
|
|
180
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
162
181
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
163
182
|
color: pick(theme, colorTokens.orange200, colorTokens.orange600),
|
|
164
183
|
backgroundColor: null,
|
|
165
184
|
borderColor: pick(theme, colorTokens.orange200, colorTokens.orange700)
|
|
166
185
|
}),
|
|
186
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
167
187
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
168
188
|
color: colorTokens.white,
|
|
169
189
|
backgroundColor: pick(theme, colorTokens.orange400, colorTokens.orange500),
|
|
170
190
|
borderColor: null
|
|
171
191
|
}),
|
|
192
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
172
193
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
173
194
|
color: pick(theme, colorTokens.orange400, colorTokens.orange300),
|
|
174
195
|
backgroundColor: null,
|
|
@@ -176,16 +197,19 @@ const orangeColorStates = {
|
|
|
176
197
|
})
|
|
177
198
|
};
|
|
178
199
|
const purpleColorStates = {
|
|
200
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
179
201
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
180
202
|
color: pick(theme, colorTokens.purple200, colorTokens.purple600),
|
|
181
203
|
backgroundColor: null,
|
|
182
204
|
borderColor: pick(theme, colorTokens.purple200, colorTokens.purple700)
|
|
183
205
|
}),
|
|
206
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
184
207
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
185
208
|
color: colorTokens.white,
|
|
186
209
|
backgroundColor: pick(theme, colorTokens.purple400, colorTokens.purple500),
|
|
187
210
|
borderColor: null
|
|
188
211
|
}),
|
|
212
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
189
213
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
190
214
|
color: pick(theme, colorTokens.purple400, colorTokens.purple300),
|
|
191
215
|
backgroundColor: null,
|
|
@@ -193,16 +217,19 @@ const purpleColorStates = {
|
|
|
193
217
|
})
|
|
194
218
|
};
|
|
195
219
|
const brownColorStates = {
|
|
220
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
196
221
|
[COLOR_STATE.disabled]: (theme, color) => ({
|
|
197
222
|
color: pick(theme, colorTokens.brown200, colorTokens.brown600),
|
|
198
223
|
backgroundColor: null,
|
|
199
224
|
borderColor: pick(theme, colorTokens.brown200, colorTokens.brown700)
|
|
200
225
|
}),
|
|
226
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
201
227
|
[COLOR_STATE.solid]: (theme, color) => ({
|
|
202
228
|
color: colorTokens.white,
|
|
203
229
|
backgroundColor: pick(theme, colorTokens.brown400, colorTokens.brown500),
|
|
204
230
|
borderColor: null
|
|
205
231
|
}),
|
|
232
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
206
233
|
[COLOR_STATE.outline]: (theme, color) => ({
|
|
207
234
|
color: pick(theme, colorTokens.brown400, colorTokens.brown300),
|
|
208
235
|
backgroundColor: null,
|
|
@@ -277,6 +304,7 @@ export const Action = styled('span', props => {
|
|
|
277
304
|
};
|
|
278
305
|
});
|
|
279
306
|
Action.displayName = "Action";
|
|
307
|
+
Action.displayName = 'Action';
|
|
280
308
|
export const StartEnhancerContainer = styled('div', ({
|
|
281
309
|
$theme,
|
|
282
310
|
$size = SIZE.small
|
|
@@ -297,6 +325,7 @@ export const StartEnhancerContainer = styled('div', ({
|
|
|
297
325
|
};
|
|
298
326
|
});
|
|
299
327
|
StartEnhancerContainer.displayName = "StartEnhancerContainer";
|
|
328
|
+
StartEnhancerContainer.displayName = 'StartEnhancerContainer';
|
|
300
329
|
export const Text = styled('span', props => {
|
|
301
330
|
const {
|
|
302
331
|
$theme
|
|
@@ -310,6 +339,7 @@ export const Text = styled('span', props => {
|
|
|
310
339
|
};
|
|
311
340
|
});
|
|
312
341
|
Text.displayName = "Text";
|
|
342
|
+
Text.displayName = 'Text';
|
|
313
343
|
export const Root = styled('span', props => {
|
|
314
344
|
const {
|
|
315
345
|
$theme,
|
|
@@ -384,4 +414,5 @@ export const Root = styled('span', props => {
|
|
|
384
414
|
}
|
|
385
415
|
};
|
|
386
416
|
});
|
|
387
|
-
Root.displayName = "Root";
|
|
417
|
+
Root.displayName = "Root";
|
|
418
|
+
Root.displayName = 'Root';
|
package/es/tag/tag.js
CHANGED
|
@@ -30,7 +30,9 @@ const Tag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
30
30
|
isFocused = false,
|
|
31
31
|
isHovered = false,
|
|
32
32
|
kind = KIND.primary,
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
33
34
|
onActionClick = event => {},
|
|
35
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
34
36
|
onActionKeyDown = event => {},
|
|
35
37
|
onClick = null,
|
|
36
38
|
onKeyDown = null,
|
|
@@ -45,7 +47,8 @@ const Tag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
45
47
|
if (isFocusVisible(event)) {
|
|
46
48
|
setFocusVisible(true);
|
|
47
49
|
}
|
|
48
|
-
}
|
|
50
|
+
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
51
|
+
|
|
49
52
|
|
|
50
53
|
function handleBlur(event) {
|
|
51
54
|
if (focusVisible !== false) {
|
|
@@ -112,7 +115,8 @@ const Tag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
112
115
|
}[size]; // Capitalize for JSX
|
|
113
116
|
|
|
114
117
|
const StartEnhancer = startEnhancer;
|
|
115
|
-
return /*#__PURE__*/React.createElement(Root
|
|
118
|
+
return /*#__PURE__*/React.createElement(Root // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
119
|
+
, _extends({
|
|
116
120
|
ref: ref,
|
|
117
121
|
"data-baseweb": "tag",
|
|
118
122
|
"aria-label": isButton && closeable ? `${typeof children === 'string' ? `${children}, ` : ''}close by backspace` : null,
|
|
@@ -7,20 +7,28 @@ LICENSE file in the root directory of this source tree.
|
|
|
7
7
|
import { styled } from '../styles';
|
|
8
8
|
import { getInputStyles, getInputContainerStyles, getRootStyles } from '../input/styled-components';
|
|
9
9
|
export const StyledTextAreaRoot = styled('div', props => {
|
|
10
|
-
return getRootStyles({
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
return { ...getRootStyles({
|
|
11
|
+
$positive: false,
|
|
12
|
+
...props,
|
|
13
|
+
$hasIconTrailing: false
|
|
14
|
+
}),
|
|
15
|
+
width: props.$resize ? 'fit-content' : '100%'
|
|
16
|
+
};
|
|
15
17
|
});
|
|
16
18
|
StyledTextAreaRoot.displayName = "StyledTextAreaRoot";
|
|
17
|
-
|
|
19
|
+
StyledTextAreaRoot.displayName = 'StyledTextAreaRoot';
|
|
20
|
+
export const StyledTextareaContainer = styled('div', props => {
|
|
21
|
+
return getInputContainerStyles({
|
|
18
22
|
$positive: false,
|
|
19
23
|
...props
|
|
20
|
-
})
|
|
21
|
-
})
|
|
24
|
+
});
|
|
25
|
+
});
|
|
22
26
|
StyledTextareaContainer.displayName = "StyledTextareaContainer";
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
StyledTextareaContainer.displayName = 'StyledTextareaContainer';
|
|
28
|
+
export const StyledTextarea = styled('textarea', props => {
|
|
29
|
+
return { ...getInputStyles(props),
|
|
30
|
+
resize: props.$resize || 'none'
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
StyledTextarea.displayName = "StyledTextarea";
|
|
34
|
+
StyledTextarea.displayName = 'StyledTextarea';
|
package/es/textarea/textarea.js
CHANGED
|
@@ -60,12 +60,14 @@ class Textarea extends React.Component {
|
|
|
60
60
|
$disabled: this.props.disabled,
|
|
61
61
|
$error: this.props.error,
|
|
62
62
|
$positive: this.props.positive,
|
|
63
|
-
$required: this.props.required
|
|
63
|
+
$required: this.props.required,
|
|
64
|
+
$resize: this.props.resize
|
|
64
65
|
}, rootProps), /*#__PURE__*/React.createElement(BaseInput, _extends({}, this.props, {
|
|
65
66
|
type: CUSTOM_INPUT_TYPE.textarea,
|
|
66
67
|
overrides: inputOverrides,
|
|
67
68
|
onFocus: this.onFocus,
|
|
68
|
-
onBlur: this.onBlur
|
|
69
|
+
onBlur: this.onBlur,
|
|
70
|
+
resize: this.props.resize
|
|
69
71
|
})));
|
|
70
72
|
}
|
|
71
73
|
|
|
@@ -22,6 +22,24 @@ export const typography = {
|
|
|
22
22
|
font1150: {
|
|
23
23
|
fontFamily: secondaryFontFamily
|
|
24
24
|
},
|
|
25
|
+
font1050: {
|
|
26
|
+
fontFamily: secondaryFontFamily
|
|
27
|
+
},
|
|
28
|
+
font950: {
|
|
29
|
+
fontFamily: secondaryFontFamily
|
|
30
|
+
},
|
|
31
|
+
font850: {
|
|
32
|
+
fontFamily: secondaryFontFamily
|
|
33
|
+
},
|
|
34
|
+
font750: {
|
|
35
|
+
fontFamily: secondaryFontFamily
|
|
36
|
+
},
|
|
37
|
+
font650: {
|
|
38
|
+
fontFamily: secondaryFontFamily
|
|
39
|
+
},
|
|
40
|
+
font550: {
|
|
41
|
+
fontFamily: secondaryFontFamily
|
|
42
|
+
},
|
|
25
43
|
DisplayLarge: {
|
|
26
44
|
fontFamily: secondaryFontFamily
|
|
27
45
|
},
|
|
@@ -34,6 +52,24 @@ export const typography = {
|
|
|
34
52
|
DisplayXSmall: {
|
|
35
53
|
fontFamily: secondaryFontFamily
|
|
36
54
|
},
|
|
55
|
+
HeadingXXLarge: {
|
|
56
|
+
fontFamily: secondaryFontFamily
|
|
57
|
+
},
|
|
58
|
+
HeadingXLarge: {
|
|
59
|
+
fontFamily: secondaryFontFamily
|
|
60
|
+
},
|
|
61
|
+
HeadingLarge: {
|
|
62
|
+
fontFamily: secondaryFontFamily
|
|
63
|
+
},
|
|
64
|
+
HeadingMedium: {
|
|
65
|
+
fontFamily: secondaryFontFamily
|
|
66
|
+
},
|
|
67
|
+
HeadingSmall: {
|
|
68
|
+
fontFamily: secondaryFontFamily
|
|
69
|
+
},
|
|
70
|
+
HeadingXSmall: {
|
|
71
|
+
fontFamily: secondaryFontFamily
|
|
72
|
+
},
|
|
37
73
|
MonoParagraphXSmall: {
|
|
38
74
|
fontFamily: monoFontFamily
|
|
39
75
|
},
|
|
@@ -47,13 +47,18 @@ const borders = {
|
|
|
47
47
|
useRoundedCorners: true,
|
|
48
48
|
|
|
49
49
|
/** Button, ButtonGroup */
|
|
50
|
+
buttonBorderRadiusMini: '4px',
|
|
50
51
|
buttonBorderRadius: '8px',
|
|
51
52
|
|
|
52
|
-
/**
|
|
53
|
-
|
|
53
|
+
/** Checkbox */
|
|
54
|
+
checkboxBorderRadius: '0px',
|
|
55
|
+
|
|
56
|
+
/** Input, Select, Textarea */
|
|
57
|
+
inputBorderRadiusMini: '4px',
|
|
58
|
+
inputBorderRadius: '8px',
|
|
54
59
|
|
|
55
60
|
/** Popover, Menu, Tooltip */
|
|
56
|
-
popoverBorderRadius: '
|
|
61
|
+
popoverBorderRadius: '8px',
|
|
57
62
|
|
|
58
63
|
/** Card, Datepicker, Modal, Toast, Notification */
|
|
59
64
|
surfaceBorderRadius: '0px',
|
|
@@ -60,61 +60,61 @@ export default ((fontTokens = defaultFontTokens) => {
|
|
|
60
60
|
const font550 = {
|
|
61
61
|
fontFamily: fontTokens.primaryFontFamily,
|
|
62
62
|
fontSize: '20px',
|
|
63
|
-
fontWeight:
|
|
63
|
+
fontWeight: 700,
|
|
64
64
|
lineHeight: '28px'
|
|
65
65
|
};
|
|
66
66
|
const font650 = {
|
|
67
67
|
fontFamily: fontTokens.primaryFontFamily,
|
|
68
68
|
fontSize: '24px',
|
|
69
|
-
fontWeight:
|
|
69
|
+
fontWeight: 700,
|
|
70
70
|
lineHeight: '32px'
|
|
71
71
|
};
|
|
72
72
|
const font750 = {
|
|
73
73
|
fontFamily: fontTokens.primaryFontFamily,
|
|
74
74
|
fontSize: '28px',
|
|
75
|
-
fontWeight:
|
|
75
|
+
fontWeight: 700,
|
|
76
76
|
lineHeight: '36px'
|
|
77
77
|
};
|
|
78
78
|
const font850 = {
|
|
79
79
|
fontFamily: fontTokens.primaryFontFamily,
|
|
80
80
|
fontSize: '32px',
|
|
81
|
-
fontWeight:
|
|
81
|
+
fontWeight: 700,
|
|
82
82
|
lineHeight: '40px'
|
|
83
83
|
};
|
|
84
84
|
const font950 = {
|
|
85
85
|
fontFamily: fontTokens.primaryFontFamily,
|
|
86
86
|
fontSize: '36px',
|
|
87
|
-
fontWeight:
|
|
87
|
+
fontWeight: 700,
|
|
88
88
|
lineHeight: '44px'
|
|
89
89
|
};
|
|
90
90
|
const font1050 = {
|
|
91
91
|
fontFamily: fontTokens.primaryFontFamily,
|
|
92
92
|
fontSize: '40px',
|
|
93
|
-
fontWeight:
|
|
93
|
+
fontWeight: 700,
|
|
94
94
|
lineHeight: '52px'
|
|
95
95
|
};
|
|
96
96
|
const font1150 = {
|
|
97
97
|
fontFamily: fontTokens.primaryFontFamily,
|
|
98
98
|
fontSize: '36px',
|
|
99
|
-
fontWeight:
|
|
99
|
+
fontWeight: 700,
|
|
100
100
|
lineHeight: '44px'
|
|
101
101
|
};
|
|
102
102
|
const font1250 = {
|
|
103
103
|
fontFamily: fontTokens.primaryFontFamily,
|
|
104
104
|
fontSize: '44px',
|
|
105
|
-
fontWeight:
|
|
105
|
+
fontWeight: 700,
|
|
106
106
|
lineHeight: '52px'
|
|
107
107
|
};
|
|
108
108
|
const font1350 = {
|
|
109
109
|
fontFamily: fontTokens.primaryFontFamily,
|
|
110
110
|
fontSize: '52px',
|
|
111
|
-
fontWeight:
|
|
111
|
+
fontWeight: 700,
|
|
112
112
|
lineHeight: '64px'
|
|
113
113
|
};
|
|
114
114
|
const font1450 = {
|
|
115
115
|
fontFamily: fontTokens.primaryFontFamily,
|
|
116
116
|
fontSize: '96px',
|
|
117
|
-
fontWeight:
|
|
117
|
+
fontWeight: 700,
|
|
118
118
|
lineHeight: '112px'
|
|
119
119
|
};
|
|
120
120
|
return {
|
|
@@ -26,7 +26,7 @@ class TimezonePicker extends React.Component {
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
_defineProperty(this, "buildTimezones", compareDate => {
|
|
29
|
-
|
|
29
|
+
let timezones = [];
|
|
30
30
|
|
|
31
31
|
for (const zoneName of zones) {
|
|
32
32
|
try {
|
|
@@ -55,6 +55,10 @@ class TimezonePicker extends React.Component {
|
|
|
55
55
|
// Ignores timezones that are not available within a user's browser/operating system
|
|
56
56
|
console.error(`failed to format zone name ${zoneName}`);
|
|
57
57
|
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (this.props.additionalTimezones) {
|
|
61
|
+
timezones = timezones.concat(this.props.additionalTimezones);
|
|
58
62
|
} // Sorts W -> E, prioritizes america. could be more nuanced based on system tz but simple for now
|
|
59
63
|
|
|
60
64
|
|
|
@@ -4,4 +4,4 @@ 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
|
-
export const zones = ['Europe/Andorra', 'Asia/Dubai', 'Asia/Kabul', 'Europe/Tirane', 'Asia/Yerevan', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/Mawson', 'Antarctica/Palmer', 'Antarctica/Rothera', 'Antarctica/Troll', '
|
|
7
|
+
export const zones = ['Europe/Andorra', 'Asia/Dubai', 'Asia/Kabul', 'Europe/Tirane', 'Asia/Yerevan', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/Mawson', 'Antarctica/Palmer', 'Antarctica/Rothera', 'Antarctica/Troll', 'America/Argentina/Buenos_Aires', 'America/Argentina/Cordoba', 'America/Argentina/Salta', 'America/Argentina/Jujuy', 'America/Argentina/Tucuman', 'America/Argentina/Catamarca', 'America/Argentina/La_Rioja', 'America/Argentina/San_Juan', 'America/Argentina/Mendoza', 'America/Argentina/San_Luis', 'America/Argentina/Rio_Gallegos', 'America/Argentina/Ushuaia', 'Pacific/Pago_Pago', 'Europe/Vienna', 'Australia/Lord_Howe', 'Antarctica/Macquarie', 'Australia/Hobart', 'Australia/Melbourne', 'Australia/Sydney', 'Australia/Broken_Hill', 'Australia/Brisbane', 'Australia/Lindeman', 'Australia/Adelaide', 'Australia/Darwin', 'Australia/Perth', 'Australia/Eucla', 'Asia/Baku', 'America/Barbados', 'Asia/Dhaka', 'Europe/Brussels', 'Europe/Sofia', 'Atlantic/Bermuda', 'America/La_Paz', 'America/Noronha', 'America/Belem', 'America/Fortaleza', 'America/Recife', 'America/Araguaina', 'America/Maceio', 'America/Bahia', 'America/Sao_Paulo', 'America/Campo_Grande', 'America/Cuiaba', 'America/Santarem', 'America/Porto_Velho', 'America/Boa_Vista', 'America/Manaus', 'America/Eirunepe', 'America/Rio_Branco', 'Asia/Thimphu', 'Europe/Minsk', 'America/Belize', 'America/St_Johns', 'America/Halifax', 'America/Glace_Bay', 'America/Moncton', 'America/Goose_Bay', 'America/Toronto', 'America/Nipigon', 'America/Thunder_Bay', 'America/Iqaluit', 'America/Pangnirtung', 'America/Winnipeg', 'America/Rainy_River', 'America/Resolute', 'America/Rankin_Inlet', 'America/Regina', 'America/Swift_Current', 'America/Edmonton', 'America/Cambridge_Bay', 'America/Yellowknife', 'America/Inuvik', 'America/Dawson_Creek', 'America/Fort_Nelson', 'America/Whitehorse', 'America/Dawson', 'America/Vancouver', 'Europe/Zurich', 'Africa/Abidjan', 'Pacific/Rarotonga', 'America/Santiago', 'America/Punta_Arenas', 'Pacific/Easter', 'Asia/Shanghai', 'Asia/Urumqi', 'America/Bogota', 'America/Costa_Rica', 'America/Havana', 'Atlantic/Cape_Verde', 'Asia/Nicosia', 'Asia/Famagusta', 'Europe/Prague', 'Europe/Berlin', 'America/Santo_Domingo', 'Africa/Algiers', 'America/Guayaquil', 'Pacific/Galapagos', 'Europe/Tallinn', 'Africa/Cairo', 'Africa/El_Aaiun', 'Europe/Madrid', 'Africa/Ceuta', 'Atlantic/Canary', 'Europe/Helsinki', 'Pacific/Fiji', 'Atlantic/Stanley', 'Pacific/Kosrae', 'Atlantic/Faroe', 'Europe/Paris', 'Europe/London', 'Asia/Tbilisi', 'America/Cayenne', 'Europe/Gibraltar', 'America/Nuuk', 'America/Danmarkshavn', 'America/Scoresbysund', 'America/Thule', 'Europe/Athens', 'Atlantic/South_Georgia', 'America/Guatemala', 'Pacific/Guam', 'Africa/Bissau', 'America/Guyana', 'Asia/Hong_Kong', 'America/Tegucigalpa', 'America/Port-au-Prince', 'Europe/Budapest', 'Asia/Jakarta', 'Asia/Pontianak', 'Asia/Makassar', 'Asia/Jayapura', 'Europe/Dublin', 'Asia/Jerusalem', 'Asia/Kolkata', 'Indian/Chagos', 'Asia/Baghdad', 'Asia/Tehran', 'Europe/Rome', 'America/Jamaica', 'Asia/Amman', 'Asia/Tokyo', 'Africa/Nairobi', 'Asia/Bishkek', 'Pacific/Tarawa', 'Pacific/Kanton', 'Pacific/Kiritimati', 'Asia/Pyongyang', 'Asia/Seoul', 'Asia/Almaty', 'Asia/Qyzylorda', 'Asia/Qostanay', 'Asia/Aqtobe', 'Asia/Aqtau', 'Asia/Atyrau', 'Asia/Oral', 'Asia/Beirut', 'Asia/Colombo', 'Africa/Monrovia', 'Europe/Vilnius', 'Europe/Riga', 'Africa/Tripoli', 'Africa/Casablanca', 'Europe/Chisinau', 'Pacific/Kwajalein', 'Asia/Yangon', 'Asia/Ulaanbaatar', 'Asia/Hovd', 'Asia/Choibalsan', 'Asia/Macau', 'America/Martinique', 'Europe/Malta', 'Indian/Mauritius', 'Indian/Maldives', 'America/Mexico_City', 'America/Cancun', 'America/Merida', 'America/Monterrey', 'America/Matamoros', 'America/Mazatlan', 'America/Chihuahua', 'America/Ojinaga', 'America/Hermosillo', 'America/Tijuana', 'America/Bahia_Banderas', 'Asia/Kuching', 'Africa/Maputo', 'Africa/Windhoek', 'Pacific/Noumea', 'Pacific/Norfolk', 'Africa/Lagos', 'America/Managua', 'Asia/Kathmandu', 'Pacific/Nauru', 'Pacific/Niue', 'Pacific/Auckland', 'Pacific/Chatham', 'America/Panama', 'America/Lima', 'Pacific/Tahiti', 'Pacific/Marquesas', 'Pacific/Gambier', 'Pacific/Port_Moresby', 'Pacific/Bougainville', 'Asia/Manila', 'Asia/Karachi', 'Europe/Warsaw', 'America/Miquelon', 'Pacific/Pitcairn', 'America/Puerto_Rico', 'Asia/Gaza', 'Asia/Hebron', 'Europe/Lisbon', 'Atlantic/Madeira', 'Atlantic/Azores', 'Pacific/Palau', 'America/Asuncion', 'Asia/Qatar', 'Europe/Bucharest', 'Europe/Belgrade', 'Europe/Kaliningrad', 'Europe/Moscow', 'Europe/Simferopol', 'Europe/Kirov', 'Europe/Volgograd', 'Europe/Astrakhan', 'Europe/Saratov', 'Europe/Ulyanovsk', 'Europe/Samara', 'Asia/Yekaterinburg', 'Asia/Omsk', 'Asia/Novosibirsk', 'Asia/Barnaul', 'Asia/Tomsk', 'Asia/Novokuznetsk', 'Asia/Krasnoyarsk', 'Asia/Irkutsk', 'Asia/Chita', 'Asia/Yakutsk', 'Asia/Khandyga', 'Asia/Vladivostok', 'Asia/Ust-Nera', 'Asia/Magadan', 'Asia/Sakhalin', 'Asia/Srednekolymsk', 'Asia/Kamchatka', 'Asia/Anadyr', 'Asia/Riyadh', 'Pacific/Guadalcanal', 'Africa/Khartoum', 'Asia/Singapore', 'America/Paramaribo', 'Africa/Juba', 'Africa/Sao_Tome', 'America/El_Salvador', 'Asia/Damascus', 'America/Grand_Turk', 'Africa/Ndjamena', 'Asia/Bangkok', 'Asia/Dushanbe', 'Pacific/Fakaofo', 'Asia/Dili', 'Asia/Ashgabat', 'Africa/Tunis', 'Pacific/Tongatapu', 'Europe/Istanbul', 'Asia/Taipei', 'Europe/Kyiv', 'Europe/Uzhgorod', 'Europe/Zaporozhye', 'America/New_York', 'America/Detroit', 'America/Kentucky/Louisville', 'America/Kentucky/Monticello', 'America/Indiana/Indianapolis', 'America/Indiana/Vincennes', 'America/Indiana/Winamac', 'America/Indiana/Marengo', 'America/Indiana/Petersburg', 'America/Indiana/Vevay', 'America/Chicago', 'America/Indiana/Tell_City', 'America/Indiana/Knox', 'America/Menominee', 'America/North_Dakota/Center', 'America/North_Dakota/New_Salem', 'America/North_Dakota/Beulah', 'America/Denver', 'America/Boise', 'America/Phoenix', 'America/Los_Angeles', 'America/Anchorage', 'America/Juneau', 'America/Sitka', 'America/Metlakatla', 'America/Yakutat', 'America/Nome', 'America/Adak', 'Pacific/Honolulu', 'America/Montevideo', 'Asia/Samarkand', 'Asia/Tashkent', 'America/Caracas', 'Asia/Ho_Chi_Minh', 'Pacific/Efate', 'Pacific/Apia', 'Africa/Johannesburg'];
|
|
@@ -107,9 +107,11 @@ export const Root = styled('div', ({
|
|
|
107
107
|
};
|
|
108
108
|
});
|
|
109
109
|
Root.displayName = "Root";
|
|
110
|
+
Root.displayName = 'Root';
|
|
110
111
|
export const InnerContainer = styled('div', // eslint-disable-next-line no-empty-pattern
|
|
111
112
|
({}) => ({}));
|
|
112
113
|
InnerContainer.displayName = "InnerContainer";
|
|
114
|
+
InnerContainer.displayName = 'InnerContainer';
|
|
113
115
|
export const Body = styled('div', ({
|
|
114
116
|
$isVisible,
|
|
115
117
|
$kind,
|
|
@@ -143,6 +145,7 @@ export const Body = styled('div', ({
|
|
|
143
145
|
};
|
|
144
146
|
});
|
|
145
147
|
Body.displayName = "Body";
|
|
148
|
+
Body.displayName = 'Body';
|
|
146
149
|
export const CloseIconSvg = styled('svg', ({
|
|
147
150
|
$theme,
|
|
148
151
|
$size,
|
|
@@ -158,4 +161,5 @@ export const CloseIconSvg = styled('svg', ({
|
|
|
158
161
|
flexShrink: 0,
|
|
159
162
|
outline: $isFocusVisible ? `3px solid ${$theme.colors.accent}` : 'none'
|
|
160
163
|
}));
|
|
161
|
-
CloseIconSvg.displayName = "CloseIconSvg";
|
|
164
|
+
CloseIconSvg.displayName = "CloseIconSvg";
|
|
165
|
+
CloseIconSvg.displayName = 'CloseIconSvg';
|
package/es/toast/toaster.js
CHANGED
|
@@ -8,8 +8,6 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
8
8
|
This source code is licensed under the MIT license found in the
|
|
9
9
|
LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
/* eslint-disable cup/no-undef */
|
|
13
11
|
import * as React from 'react';
|
|
14
12
|
import ReactDOM from 'react-dom';
|
|
15
13
|
import { getOverrides, mergeOverrides } from '../helpers/overrides';
|
package/es/tokens/colors.js
CHANGED
|
@@ -50,6 +50,14 @@ const colors = {
|
|
|
50
50
|
yellow500: '#BC8B2C',
|
|
51
51
|
yellow600: '#996F00',
|
|
52
52
|
yellow700: '#674D1B',
|
|
53
|
+
lime50: '#F2F7ED',
|
|
54
|
+
lime100: '#E0ECD2',
|
|
55
|
+
lime200: '#BCD69D',
|
|
56
|
+
lime300: '#8BB956',
|
|
57
|
+
lime400: '#67A421',
|
|
58
|
+
lime500: '#4E7C19',
|
|
59
|
+
lime600: '#3D6213',
|
|
60
|
+
lime700: '#29410d',
|
|
53
61
|
green50: '#E6F2ED',
|
|
54
62
|
green100: '#ADDEC9',
|
|
55
63
|
green200: '#66D19E',
|
|
@@ -58,6 +66,14 @@ const colors = {
|
|
|
58
66
|
green500: '#03703C',
|
|
59
67
|
green600: '#03582F',
|
|
60
68
|
green700: '#10462D',
|
|
69
|
+
teal50: '#EDF5F7',
|
|
70
|
+
teal100: '#D2E8EC',
|
|
71
|
+
teal200: '#9DCDD6',
|
|
72
|
+
teal300: '#56A9B9',
|
|
73
|
+
teal400: '#218EA4',
|
|
74
|
+
teal500: '#196B7C',
|
|
75
|
+
teal600: '#135562',
|
|
76
|
+
teal700: '#0D3841',
|
|
61
77
|
blue50: '#EFF3FE',
|
|
62
78
|
blue100: '#D4E2FC',
|
|
63
79
|
blue200: '#A0BFF8',
|
|
@@ -82,6 +98,14 @@ const colors = {
|
|
|
82
98
|
purple500: '#574191',
|
|
83
99
|
purple600: '#453473',
|
|
84
100
|
purple700: '#2E224C',
|
|
101
|
+
magenta50: '#F9F1F7',
|
|
102
|
+
magenta100: '#F2DDEB',
|
|
103
|
+
magenta200: '#E2B4D3',
|
|
104
|
+
magenta300: '#CE7EB3',
|
|
105
|
+
magenta400: '#BF569C',
|
|
106
|
+
magenta500: '#914176',
|
|
107
|
+
magenta600: '#72335D',
|
|
108
|
+
magenta700: '#4C223E',
|
|
85
109
|
brown50: '#F6F0EA',
|
|
86
110
|
brown100: '#EBE0DB',
|
|
87
111
|
brown200: '#D2BBB0',
|
|
@@ -32,6 +32,7 @@ export const Body = styled('div', props => ({ ...getBodyStyles(props),
|
|
|
32
32
|
transform: getEndPosition(props.$popoverOffset)
|
|
33
33
|
}));
|
|
34
34
|
Body.displayName = "Body";
|
|
35
|
+
Body.displayName = 'Body';
|
|
35
36
|
export const Inner = styled('div', props => ({ ...getInnerStyles(props),
|
|
36
37
|
backgroundColor: props.$theme.colors.tooltipBackground,
|
|
37
38
|
borderTopLeftRadius: props.$theme.borders.radius300,
|
|
@@ -46,7 +47,9 @@ export const Inner = styled('div', props => ({ ...getInnerStyles(props),
|
|
|
46
47
|
color: props.$theme.colors.tooltipText
|
|
47
48
|
}));
|
|
48
49
|
Inner.displayName = "Inner";
|
|
50
|
+
Inner.displayName = 'Inner';
|
|
49
51
|
export const Arrow = styled('div', props => ({ ...getArrowStyles(props),
|
|
50
52
|
backgroundColor: props.$theme.colors.tooltipBackground
|
|
51
53
|
}));
|
|
52
|
-
Arrow.displayName = "Arrow";
|
|
54
|
+
Arrow.displayName = "Arrow";
|
|
55
|
+
Arrow.displayName = 'Arrow';
|
package/es/tree-view/index.js
CHANGED
|
@@ -12,4 +12,5 @@ export { StyledTreeItemList, StyledTreeItem, StyledItemContent, StyledIconContai
|
|
|
12
12
|
export { default as TreeLabel } from './tree-label';
|
|
13
13
|
export { default as TreeLabelInteractable } from './tree-label-interactable';
|
|
14
14
|
export { toggleIsExpanded };
|
|
15
|
-
/** @deprecated use TreeNodeData instead. To be removed in future versions.*/
|
|
15
|
+
/** @deprecated use TreeNodeData instead. To be removed in future versions.*/
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -27,6 +27,7 @@ export const StyledTreeItemList = styled('ul', ({
|
|
|
27
27
|
};
|
|
28
28
|
});
|
|
29
29
|
StyledTreeItemList.displayName = "StyledTreeItemList";
|
|
30
|
+
StyledTreeItemList.displayName = 'StyledTreeItemList';
|
|
30
31
|
export const StyledTreeItem = styled('li', ({
|
|
31
32
|
$theme,
|
|
32
33
|
$isLeafNode
|
|
@@ -47,6 +48,7 @@ export const StyledTreeItem = styled('li', ({
|
|
|
47
48
|
};
|
|
48
49
|
});
|
|
49
50
|
StyledTreeItem.displayName = "StyledTreeItem";
|
|
51
|
+
StyledTreeItem.displayName = 'StyledTreeItem';
|
|
50
52
|
export const StyledItemContent = styled('div', ({
|
|
51
53
|
$theme,
|
|
52
54
|
$isSelected,
|
|
@@ -73,6 +75,7 @@ export const StyledItemContent = styled('div', ({
|
|
|
73
75
|
};
|
|
74
76
|
});
|
|
75
77
|
StyledItemContent.displayName = "StyledItemContent";
|
|
78
|
+
StyledItemContent.displayName = 'StyledItemContent';
|
|
76
79
|
export const StyledIconContainer = styled('div', ({
|
|
77
80
|
$theme
|
|
78
81
|
}) => {
|
|
@@ -87,6 +90,7 @@ export const StyledIconContainer = styled('div', ({
|
|
|
87
90
|
};
|
|
88
91
|
});
|
|
89
92
|
StyledIconContainer.displayName = "StyledIconContainer";
|
|
93
|
+
StyledIconContainer.displayName = 'StyledIconContainer';
|
|
90
94
|
export const StyledNoIconContainer = styled('div', ({
|
|
91
95
|
$theme
|
|
92
96
|
}) => {
|
|
@@ -103,7 +107,9 @@ export const StyledNoIconContainer = styled('div', ({
|
|
|
103
107
|
};
|
|
104
108
|
});
|
|
105
109
|
StyledNoIconContainer.displayName = "StyledNoIconContainer";
|
|
110
|
+
StyledNoIconContainer.displayName = 'StyledNoIconContainer';
|
|
106
111
|
export const StyledLabelInteractable = styled('div', () => ({
|
|
107
112
|
width: '100%'
|
|
108
113
|
}));
|
|
109
|
-
StyledLabelInteractable.displayName = "StyledLabelInteractable";
|
|
114
|
+
StyledLabelInteractable.displayName = "StyledLabelInteractable";
|
|
115
|
+
StyledLabelInteractable.displayName = 'StyledLabelInteractable';
|