baseui 0.0.0-alpha-3479e57 → 0.0.0-alpha-e79754d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.js +2 -4
- package/accordion/accordion.js.flow +1 -1
- package/accordion/panel.js +2 -3
- package/accordion/stateful-panel-container.js +0 -1
- package/accordion/styled-components.js +1 -8
- package/app-nav-bar/app-nav-bar.js +2 -4
- package/app-nav-bar/mobile-menu.js +1 -2
- package/app-nav-bar/styled-components.js +1 -19
- package/app-nav-bar/user-menu.js +1 -1
- package/aspect-ratio-box/aspect-ratio-box.js +1 -3
- package/avatar/styled-components.js +1 -4
- package/badge/styled-components.js +7 -12
- package/banner/styled-components.js +11 -21
- package/banner/types.d.ts +11 -12
- package/banner/types.js.flow +11 -13
- package/block/block.js +1 -3
- package/block/styled-components.js +1 -2
- package/breadcrumbs/styled-components.js +1 -5
- package/button/styled-components.js +0 -5
- package/button-group/stateful-button-group.js +0 -1
- package/button-group/stateful-container.js +1 -3
- package/button-group/styled-components.js +1 -2
- package/card/images.d.ts +1 -1
- package/card/styled-components.js +4 -11
- package/checkbox/styled-components.js +3 -9
- package/combobox/combobox.js +71 -78
- package/combobox/styled-components.js +1 -5
- package/data-table/column-anchor.js +0 -3
- package/data-table/column-datetime.js +4 -10
- package/data-table/column-numerical.js +4 -4
- package/data-table/column-string.js +0 -3
- package/data-table/column.js +1 -6
- package/data-table/data-table.js +6 -7
- package/data-table/filter-menu.js +1 -2
- package/data-table/header-cell.js +34 -43
- package/data-table/locale.d.ts +0 -4
- package/data-table/locale.js +1 -3
- package/data-table/locale.js.flow +0 -5
- package/data-table/measure-column-widths.js +1 -2
- package/data-table/stateful-container.js +1 -2
- package/data-table/stateful-data-table.js +4 -4
- package/datepicker/calendar-header.js +0 -1
- package/datepicker/calendar.js +0 -2
- package/datepicker/datepicker.js +0 -2
- package/datepicker/day.js +1 -2
- package/datepicker/stateful-calendar.js +3 -7
- package/datepicker/stateful-container.js +0 -2
- package/datepicker/stateful-datepicker.js +4 -9
- package/datepicker/styled-components.js +4 -27
- package/datepicker/utils/date-helpers.js +1 -2
- package/datepicker/utils/index.js +1 -2
- package/divider/styled-components.js +3 -4
- package/dnd-list/stateful-list-container.js +0 -1
- package/dnd-list/styled-components.js +0 -7
- package/drawer/constants.js +0 -1
- package/drawer/drawer.js +3 -2
- package/drawer/drawer.js.flow +3 -1
- package/drawer/styled-components.js +2 -9
- package/es/accordion/accordion.js +3 -3
- package/es/accordion/panel.js +2 -3
- package/es/accordion/stateful-panel-container.js +0 -1
- package/es/accordion/styled-components.js +1 -8
- package/es/app-nav-bar/app-nav-bar.js +2 -6
- package/es/app-nav-bar/mobile-menu.js +2 -4
- package/es/app-nav-bar/styled-components.js +1 -19
- package/es/app-nav-bar/user-menu.js +1 -1
- package/es/aspect-ratio-box/aspect-ratio-box.js +1 -3
- package/es/avatar/styled-components.js +1 -4
- package/es/badge/styled-components.js +2 -7
- package/es/banner/styled-components.js +2 -12
- package/es/block/block.js +1 -3
- package/es/block/styled-components.js +1 -2
- package/es/breadcrumbs/styled-components.js +1 -5
- package/es/button/button.js +0 -8
- package/es/button/styled-components.js +0 -5
- package/es/button-group/stateful-button-group.js +0 -1
- package/es/button-group/stateful-container.js +1 -3
- package/es/button-group/styled-components.js +1 -2
- package/es/card/index.js +1 -2
- package/es/card/styled-components.js +4 -12
- package/es/checkbox/index.js +0 -1
- package/es/checkbox/stateful-checkbox-container.js +0 -3
- package/es/checkbox/styled-components.js +3 -9
- package/es/combobox/combobox.js +69 -76
- package/es/combobox/styled-components.js +1 -5
- package/es/data-table/column-anchor.js +0 -3
- package/es/data-table/column-datetime.js +5 -12
- package/es/data-table/column-numerical.js +4 -5
- package/es/data-table/column-string.js +0 -3
- package/es/data-table/column.js +1 -4
- package/es/data-table/data-table.js +6 -7
- package/es/data-table/filter-menu.js +1 -2
- package/es/data-table/header-cell.js +34 -41
- package/es/data-table/locale.js +1 -3
- package/es/data-table/measure-column-widths.js +1 -2
- package/es/data-table/stateful-container.js +1 -2
- package/es/data-table/stateful-data-table.js +4 -4
- package/es/datepicker/calendar-header.js +0 -1
- package/es/datepicker/calendar.js +0 -2
- package/es/datepicker/datepicker.js +1 -3
- package/es/datepicker/day.js +1 -2
- package/es/datepicker/stateful-calendar.js +1 -4
- package/es/datepicker/stateful-container.js +0 -2
- package/es/datepicker/stateful-datepicker.js +1 -5
- package/es/datepicker/styled-components.js +3 -26
- package/es/datepicker/utils/date-helpers.js +1 -2
- package/es/datepicker/utils/index.js +1 -2
- package/es/divider/styled-components.js +2 -3
- package/es/dnd-list/stateful-list-container.js +0 -1
- package/es/dnd-list/styled-components.js +0 -7
- package/es/drawer/constants.js +0 -1
- package/es/drawer/drawer.js +5 -2
- package/es/drawer/styled-components.js +2 -9
- package/es/file-uploader/styled-components.js +1 -6
- package/es/flex-grid/flex-grid-item.js +6 -5
- package/es/flex-grid/flex-grid.js +1 -4
- package/es/form-control/styled-components.js +1 -6
- package/es/header-navigation/styled-components.js +1 -4
- package/es/helper/styled-components.js +1 -3
- package/es/helpers/overrides.js +5 -9
- package/es/icon/build-icons.js +2 -0
- package/es/icon/omit-dollar-prefixed-keys.js +0 -1
- package/es/icon/styled-components.js +1 -2
- package/es/input/base-input.js +0 -1
- package/es/input/masked-input.js +2 -9
- package/es/input/stateful-container.js +0 -1
- package/es/input/styled-components.js +5 -10
- package/es/layer/layer.js +0 -24
- package/es/layer/layers-manager.js +1 -91
- package/es/layout-grid/styled-components.js +0 -3
- package/es/link/index.js +1 -2
- package/es/link/styled-components.js +1 -2
- package/es/list/list-heading.js +17 -21
- package/es/list/list-item.js +1 -2
- package/es/list/styled-components.js +1 -15
- package/es/locale/es_AR.js +1 -3
- package/es/locale/index.js +1 -2
- package/es/locale/tr_TR.js +1 -3
- package/es/map-marker/constants.js +0 -14
- package/es/map-marker/fixed-marker.js +0 -1
- package/es/map-marker/index.js +1 -2
- package/es/map-marker/pin-head.js +0 -1
- package/es/map-marker/styled-components.js +2 -86
- package/es/menu/menu.js +3 -7
- package/es/menu/option-profile.js +0 -1
- package/es/menu/stateful-container.js +0 -10
- package/es/menu/styled-components.js +2 -15
- package/es/modal/modal.js +6 -4
- package/es/modal/styled-components.js +1 -8
- package/es/pagination/stateful-container.js +0 -1
- package/es/pagination/stateful-pagination.js +0 -1
- package/es/pagination/styled-components.js +1 -4
- package/es/payment-card/styled-components.js +1 -2
- package/es/phone-input/base-country-picker.js +1 -3
- package/es/phone-input/country-select-dropdown.js +0 -1
- package/es/phone-input/styled-components.js +4 -15
- package/es/pin-code/styled-components.js +1 -4
- package/es/popover/popover.js +12 -9
- package/es/popover/styled-components.js +4 -9
- package/es/progress-bar/progressbar-rounded.js +0 -1
- package/es/progress-bar/styled-components.js +2 -14
- package/es/progress-steps/progress-steps.js +1 -2
- package/es/progress-steps/styled-components.js +12 -20
- package/es/radio/stateful-radiogroup-container.js +0 -3
- package/es/radio/styled-components.js +3 -10
- package/es/rating/emoticon-rating.js +1 -2
- package/es/rating/star-rating.js +1 -2
- package/es/rating/styled-components.js +1 -5
- package/es/select/autosize-input.js +3 -2
- package/es/select/dropdown.js +1 -2
- package/es/select/multi-value.js +1 -2
- package/es/select/select-component.js +10 -10
- package/es/select/single-select.js +2 -2
- package/es/select/stateful-select-container.js +0 -2
- package/es/select/styled-components.js +1 -16
- package/es/select/value.js +4 -3
- package/es/side-navigation/index.js +1 -2
- package/es/side-navigation/nav-item.js +0 -1
- package/es/side-navigation/nav.js +1 -1
- package/es/side-navigation/stateful-container.js +0 -1
- package/es/side-navigation/styled-components.js +2 -8
- package/es/skeleton/styled-components.js +1 -3
- package/es/slider/slider.js +2 -4
- package/es/slider/stateful-slider-container.js +0 -2
- package/es/slider/styled-components.js +0 -9
- package/es/snackbar/snackbar-element.js +0 -1
- package/es/snackbar/styled-components.js +1 -9
- package/es/spinner/styled-components.js +1 -2
- package/es/styles/__mocks__/styled.js +5 -8
- package/es/styles/styled.js +6 -7
- package/es/table/index.js +1 -2
- package/es/table/styled-components.js +1 -13
- package/es/table-grid/styled-components.js +1 -4
- package/es/table-semantic/styled-components.js +2 -20
- package/es/tabs/stateful-tabs.js +0 -1
- package/es/tabs/styled-components.js +1 -5
- package/es/tabs/tabs.js +2 -4
- package/es/tabs-motion/styled-components.js +1 -9
- package/es/tabs-motion/tab.js +0 -1
- package/es/tabs-motion/tabs.js +1 -2
- package/es/tag/styled-components.js +1 -32
- package/es/tag/tag.js +2 -6
- package/es/textarea/styled-components.js +1 -4
- package/es/themes/shared/typography.js +10 -10
- package/es/toast/styled-components.js +1 -5
- package/es/toast/toaster.js +2 -0
- package/es/tokens/colors.js +0 -24
- package/es/tooltip/styled-components.js +1 -4
- package/es/tree-view/index.js +1 -2
- package/es/tree-view/styled-components.js +1 -7
- package/es/tree-view/tree-view.js +1 -3
- package/es/types/globals.d.js +0 -12
- package/es/utils/deep-merge.js +5 -0
- package/es/utils/deprecated-component.js +0 -1
- package/es/utils/focusVisible.js +2 -4
- package/esm/accordion/accordion.js +4 -4
- package/esm/accordion/panel.js +2 -3
- package/esm/accordion/stateful-panel-container.js +0 -1
- package/esm/accordion/styled-components.js +1 -8
- package/esm/app-nav-bar/app-nav-bar.js +2 -4
- package/esm/app-nav-bar/mobile-menu.js +2 -4
- package/esm/app-nav-bar/styled-components.js +1 -19
- package/esm/app-nav-bar/user-menu.js +1 -1
- package/esm/aspect-ratio-box/aspect-ratio-box.js +1 -3
- package/esm/avatar/styled-components.js +1 -4
- package/esm/badge/styled-components.js +2 -7
- package/esm/banner/styled-components.js +2 -12
- package/esm/block/block.js +1 -3
- package/esm/block/styled-components.js +1 -2
- package/esm/breadcrumbs/styled-components.js +1 -5
- package/esm/button/styled-components.js +0 -5
- package/esm/button-group/stateful-button-group.js +0 -1
- package/esm/button-group/stateful-container.js +1 -3
- package/esm/button-group/styled-components.js +1 -2
- package/esm/card/index.js +1 -2
- package/esm/card/styled-components.js +4 -12
- package/esm/checkbox/index.js +0 -1
- package/esm/checkbox/styled-components.js +3 -9
- package/esm/combobox/combobox.js +71 -78
- package/esm/combobox/styled-components.js +1 -5
- package/esm/data-table/column-anchor.js +0 -3
- package/esm/data-table/column-datetime.js +5 -12
- package/esm/data-table/column-numerical.js +4 -4
- package/esm/data-table/column-string.js +0 -3
- package/esm/data-table/column.js +1 -5
- package/esm/data-table/data-table.js +6 -7
- package/esm/data-table/filter-menu.js +1 -2
- package/esm/data-table/header-cell.js +34 -42
- package/esm/data-table/locale.js +1 -3
- package/esm/data-table/measure-column-widths.js +1 -2
- package/esm/data-table/stateful-container.js +1 -2
- package/esm/data-table/stateful-data-table.js +4 -4
- package/esm/datepicker/calendar-header.js +0 -1
- package/esm/datepicker/calendar.js +0 -2
- package/esm/datepicker/datepicker.js +1 -3
- package/esm/datepicker/day.js +1 -2
- package/esm/datepicker/stateful-calendar.js +3 -7
- package/esm/datepicker/stateful-container.js +0 -2
- package/esm/datepicker/stateful-datepicker.js +4 -9
- package/esm/datepicker/styled-components.js +3 -26
- package/esm/datepicker/utils/date-helpers.js +1 -2
- package/esm/datepicker/utils/index.js +1 -2
- package/esm/divider/styled-components.js +2 -3
- package/esm/dnd-list/stateful-list-container.js +0 -1
- package/esm/dnd-list/styled-components.js +0 -7
- package/esm/drawer/constants.js +0 -1
- package/esm/drawer/drawer.js +5 -2
- package/esm/drawer/styled-components.js +2 -9
- package/esm/file-uploader/styled-components.js +1 -6
- package/esm/flex-grid/flex-grid-item.js +5 -4
- package/esm/flex-grid/flex-grid.js +3 -7
- package/esm/form-control/styled-components.js +1 -6
- package/esm/header-navigation/styled-components.js +1 -4
- package/esm/helper/styled-components.js +1 -3
- package/esm/helpers/overrides.js +5 -9
- package/esm/icon/build-icons.js +2 -0
- package/esm/icon/omit-dollar-prefixed-keys.js +0 -1
- package/esm/icon/styled-components.js +1 -2
- package/esm/input/base-input.js +0 -1
- package/esm/input/masked-input.js +2 -5
- package/esm/input/stateful-container.js +0 -1
- package/esm/input/styled-components.js +5 -10
- package/esm/layer/layer.js +0 -24
- package/esm/layer/layers-manager.js +1 -97
- package/esm/layout-grid/styled-components.js +0 -3
- package/esm/link/index.js +1 -2
- package/esm/link/styled-components.js +1 -2
- package/esm/list/list-heading.js +17 -21
- package/esm/list/list-item.js +1 -2
- package/esm/list/styled-components.js +1 -15
- package/esm/locale/es_AR.js +1 -3
- package/esm/locale/index.js +1 -4
- package/esm/locale/tr_TR.js +1 -3
- package/esm/map-marker/constants.js +2 -12
- package/esm/map-marker/index.js +1 -2
- package/esm/map-marker/styled-components.js +2 -82
- package/esm/menu/menu.js +3 -6
- package/esm/menu/option-profile.js +0 -1
- package/esm/menu/stateful-container.js +0 -1
- package/esm/menu/styled-components.js +6 -20
- package/esm/modal/modal.js +6 -4
- package/esm/modal/styled-components.js +1 -8
- package/esm/pagination/stateful-container.js +0 -1
- package/esm/pagination/stateful-pagination.js +0 -1
- package/esm/pagination/styled-components.js +1 -4
- package/esm/payment-card/styled-components.js +1 -2
- package/esm/phone-input/base-country-picker.js +1 -3
- package/esm/phone-input/country-select-dropdown.js +0 -1
- package/esm/phone-input/styled-components.js +8 -20
- package/esm/pin-code/styled-components.js +1 -4
- package/esm/popover/popover.js +12 -9
- package/esm/popover/styled-components.js +4 -9
- package/esm/progress-bar/progressbar-rounded.js +0 -1
- package/esm/progress-bar/styled-components.js +2 -14
- package/esm/progress-steps/progress-steps.js +1 -2
- package/esm/progress-steps/styled-components.js +19 -28
- package/esm/radio/styled-components.js +3 -10
- package/esm/rating/emoticon-rating.js +1 -2
- package/esm/rating/star-rating.js +1 -2
- package/esm/rating/styled-components.js +1 -5
- package/esm/select/autosize-input.js +3 -2
- package/esm/select/dropdown.js +1 -2
- package/esm/select/multi-value.js +1 -2
- package/esm/select/select-component.js +10 -10
- package/esm/select/single-select.js +2 -2
- package/esm/select/styled-components.js +1 -16
- package/esm/select/value.js +4 -3
- package/esm/side-navigation/index.js +1 -2
- package/esm/side-navigation/nav-item.js +0 -1
- package/esm/side-navigation/nav.js +1 -1
- package/esm/side-navigation/stateful-container.js +0 -1
- package/esm/side-navigation/styled-components.js +6 -13
- package/esm/skeleton/styled-components.js +1 -3
- package/esm/slider/slider.js +2 -4
- package/esm/slider/styled-components.js +0 -9
- package/esm/snackbar/snackbar-element.js +0 -1
- package/esm/snackbar/styled-components.js +1 -9
- package/esm/spinner/styled-components.js +1 -2
- package/esm/styles/__mocks__/styled.js +5 -8
- package/esm/styles/styled.js +6 -7
- package/esm/table/index.js +1 -2
- package/esm/table/styled-components.js +1 -13
- package/esm/table-grid/styled-components.js +1 -4
- package/esm/table-semantic/styled-components.js +2 -20
- package/esm/tabs/stateful-tabs.js +0 -1
- package/esm/tabs/styled-components.js +1 -5
- package/esm/tabs/tabs.js +2 -4
- package/esm/tabs-motion/styled-components.js +1 -8
- package/esm/tabs-motion/tab.js +0 -1
- package/esm/tabs-motion/tabs.js +1 -2
- package/esm/tag/styled-components.js +1 -5
- package/esm/tag/tag.js +2 -4
- package/esm/textarea/styled-components.js +1 -4
- package/esm/themes/shared/typography.js +10 -10
- package/esm/toast/styled-components.js +1 -5
- package/esm/toast/toaster.js +2 -0
- package/esm/tokens/colors.js +0 -24
- package/esm/tooltip/styled-components.js +1 -4
- package/esm/tree-view/index.js +1 -2
- package/esm/tree-view/styled-components.js +1 -7
- package/esm/tree-view/tree-view.js +1 -3
- package/esm/types/globals.d.js +0 -12
- package/esm/utils/deep-merge.js +5 -0
- package/esm/utils/deprecated-component.js +0 -1
- package/esm/utils/focusVisible.js +2 -4
- package/file-uploader/styled-components.js +1 -6
- package/flex-grid/flex-grid-item.d.ts +1 -1
- package/flex-grid/flex-grid-item.js +8 -6
- package/flex-grid/flex-grid.js +3 -7
- package/form-control/styled-components.js +1 -6
- package/header-navigation/styled-components.js +1 -4
- package/helper/styled-components.js +1 -3
- package/helpers/overrides.js +3 -8
- package/helpers/overrides.js.flow +1 -1
- package/icon/build-icons.js +2 -0
- package/icon/build-icons.js.flow +1 -0
- package/icon/omit-dollar-prefixed-keys.js +0 -1
- package/icon/styled-components.js +1 -2
- package/input/masked-input.js +2 -5
- package/input/stateful-container.js +0 -1
- package/input/styled-components.js +5 -10
- package/layer/layer.js +0 -24
- package/layer/layer.js.flow +0 -25
- package/layer/layers-manager.d.ts +0 -8
- package/layer/layers-manager.js +1 -97
- package/layer/layers-manager.js.flow +1 -84
- package/layer/types.d.ts +0 -21
- package/layer/types.js.flow +1 -22
- package/layout-grid/styled-components.js +0 -3
- package/link/index.js +1 -2
- package/link/styled-components.js +1 -2
- package/list/list-heading.js +17 -21
- package/list/list-item.js +1 -2
- package/list/styled-components.js +1 -15
- package/locale/es_AR.js +1 -3
- package/locale/index.js +1 -4
- package/locale/tr_TR.js +1 -3
- package/map-marker/constants.d.ts +0 -14
- package/map-marker/constants.js +3 -16
- package/map-marker/constants.js.flow +0 -17
- package/map-marker/index.d.ts +1 -2
- package/map-marker/index.js +1 -24
- package/map-marker/index.js.flow +3 -5
- package/map-marker/styled-components.d.ts +1 -17
- package/map-marker/styled-components.js +2 -88
- package/map-marker/styled-components.js.flow +0 -58
- package/map-marker/types.d.ts +1 -29
- package/map-marker/types.js.flow +0 -34
- package/menu/menu.js +3 -6
- package/menu/option-profile.js +0 -1
- package/menu/stateful-container.js +0 -1
- package/menu/styled-components.js +6 -20
- package/modal/modal.js +4 -4
- package/modal/modal.js.flow +3 -1
- package/modal/styled-components.js +1 -8
- package/package.json +11 -9
- package/pagination/stateful-container.js +0 -1
- package/pagination/stateful-pagination.js +0 -1
- package/pagination/styled-components.js +1 -4
- package/payment-card/styled-components.js +1 -2
- package/phone-input/base-country-picker.js +1 -3
- package/phone-input/country-select-dropdown.js +0 -1
- package/phone-input/styled-components.js +9 -21
- package/pin-code/styled-components.js +1 -4
- package/popover/popover.js +12 -9
- package/popover/popover.js.flow +12 -2
- package/popover/styled-components.js +9 -12
- package/progress-bar/progressbar-rounded.js +0 -1
- package/progress-bar/styled-components.js +2 -14
- package/progress-steps/progress-steps.js +1 -2
- package/progress-steps/styled-components.js +19 -28
- package/radio/styled-components.js +3 -10
- package/rating/emoticon-rating.js +1 -2
- package/rating/star-rating.js +1 -2
- package/rating/styled-components.js +1 -5
- package/select/autosize-input.js +1 -2
- package/select/autosize-input.js.flow +1 -1
- package/select/dropdown.js +1 -2
- package/select/multi-value.js +0 -1
- package/select/select-component.d.ts +1 -1
- package/select/select-component.js +7 -9
- package/select/select-component.js.flow +1 -1
- package/select/single-select.d.ts +2 -2
- package/select/single-select.js +2 -2
- package/select/styled-components.js +1 -16
- package/select/value.js +3 -2
- package/side-navigation/nav-item.js +0 -1
- package/side-navigation/nav.js +1 -1
- package/side-navigation/stateful-container.js +0 -1
- package/side-navigation/styled-components.js +6 -13
- package/skeleton/styled-components.js +1 -3
- package/slider/slider.js +2 -4
- package/slider/styled-components.js +0 -9
- package/snackbar/snackbar-element.js +0 -1
- package/snackbar/styled-components.js +1 -9
- package/spinner/styled-components.js +1 -2
- package/styles/__mocks__/styled.js +3 -8
- package/styles/styled.js +6 -7
- package/table/styled-components.js +1 -13
- package/table-grid/styled-components.js +1 -4
- package/table-semantic/styled-components.js +2 -20
- package/tabs/stateful-tabs.js +0 -1
- package/tabs/styled-components.js +1 -5
- package/tabs/tabs.js +2 -4
- package/tabs-motion/styled-components.js +1 -8
- package/tabs-motion/tab.js +0 -1
- package/tabs-motion/tabs.js +1 -2
- package/tag/styled-components.js +1 -5
- package/tag/tag.js +2 -4
- package/textarea/styled-components.js +1 -4
- package/themes/shared/typography.js +10 -10
- package/themes/shared/typography.js.flow +10 -10
- package/toast/styled-components.js +1 -5
- package/toast/toaster.js.flow +1 -1
- package/tokens/colors.js +0 -24
- package/tokens/colors.js.flow +0 -27
- package/tokens/types.d.ts +0 -24
- package/tokens/types.js.flow +0 -27
- package/tooltip/styled-components.js +1 -4
- package/tree-view/styled-components.js +1 -7
- package/tree-view/tree-view.js +1 -3
- package/types/globals.d.js +1 -14
- package/utils/deep-merge.js +6 -0
- package/utils/deprecated-component.js +0 -1
- package/utils/focusVisible.js +2 -4
- package/es/map-marker/location-puck.js +0 -142
- package/es/message-card/constants.js +0 -19
- package/es/message-card/index.js +0 -10
- package/es/message-card/message-card.js +0 -112
- package/es/message-card/styled-components.js +0 -108
- package/es/message-card/types.js +0 -1
- package/es/message-card/utils.js +0 -27
- package/esm/map-marker/location-puck.js +0 -199
- package/esm/message-card/constants.js +0 -20
- package/esm/message-card/index.js +0 -10
- package/esm/message-card/message-card.js +0 -166
- package/esm/message-card/styled-components.js +0 -116
- package/esm/message-card/types.js +0 -1
- package/esm/message-card/utils.js +0 -26
- package/map-marker/location-puck.d.ts +0 -4
- package/map-marker/location-puck.js +0 -211
- package/map-marker/location-puck.js.flow +0 -18
- package/message-card/constants.d.ts +0 -12
- package/message-card/constants.js +0 -25
- package/message-card/index.d.ts +0 -4
- package/message-card/index.js +0 -60
- package/message-card/index.js.flow +0 -72
- package/message-card/message-card.d.ts +0 -4
- package/message-card/message-card.js +0 -182
- package/message-card/package.json +0 -4
- package/message-card/styled-components.d.ts +0 -14
- package/message-card/styled-components.js +0 -124
- package/message-card/types.d.ts +0 -27
- package/message-card/types.js +0 -5
- package/message-card/utils.d.ts +0 -1
- package/message-card/utils.js +0 -36
|
@@ -35,7 +35,6 @@ var StyledRoot = (0, _styles.styled)('div', function (_ref) {
|
|
|
35
35
|
});
|
|
36
36
|
exports.StyledRoot = StyledRoot;
|
|
37
37
|
StyledRoot.displayName = "StyledRoot";
|
|
38
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
39
38
|
var StyledTabList = (0, _styles.styled)('div', function (_ref2) {
|
|
40
39
|
var $theme = _ref2.$theme,
|
|
41
40
|
_ref2$$fill = _ref2.$fill,
|
|
@@ -82,7 +81,6 @@ var StyledTabList = (0, _styles.styled)('div', function (_ref2) {
|
|
|
82
81
|
});
|
|
83
82
|
exports.StyledTabList = StyledTabList;
|
|
84
83
|
StyledTabList.displayName = "StyledTabList";
|
|
85
|
-
StyledTabList.displayName = 'StyledTabList';
|
|
86
84
|
var StyledTab = (0, _styles.styled)('button', function (_ref3) {
|
|
87
85
|
var $theme = _ref3.$theme,
|
|
88
86
|
_ref3$$orientation = _ref3.$orientation,
|
|
@@ -154,7 +152,6 @@ var StyledTab = (0, _styles.styled)('button', function (_ref3) {
|
|
|
154
152
|
});
|
|
155
153
|
exports.StyledTab = StyledTab;
|
|
156
154
|
StyledTab.displayName = "StyledTab";
|
|
157
|
-
StyledTab.displayName = 'StyledTab';
|
|
158
155
|
var StyledArtworkContainer = (0, _styles.styled)('div', function (_ref4) {
|
|
159
156
|
var $theme = _ref4.$theme,
|
|
160
157
|
_ref4$$orientation = _ref4.$orientation,
|
|
@@ -173,7 +170,6 @@ var StyledArtworkContainer = (0, _styles.styled)('div', function (_ref4) {
|
|
|
173
170
|
});
|
|
174
171
|
exports.StyledArtworkContainer = StyledArtworkContainer;
|
|
175
172
|
StyledArtworkContainer.displayName = "StyledArtworkContainer";
|
|
176
|
-
StyledArtworkContainer.displayName = 'StyledArtworkContainer';
|
|
177
173
|
var StyledTabBorder = (0, _styles.styled)('div', function (_ref5) {
|
|
178
174
|
var $theme = _ref5.$theme,
|
|
179
175
|
_ref5$$orientation = _ref5.$orientation,
|
|
@@ -193,7 +189,6 @@ var StyledTabBorder = (0, _styles.styled)('div', function (_ref5) {
|
|
|
193
189
|
});
|
|
194
190
|
exports.StyledTabBorder = StyledTabBorder;
|
|
195
191
|
StyledTabBorder.displayName = "StyledTabBorder";
|
|
196
|
-
StyledTabBorder.displayName = 'StyledTabBorder';
|
|
197
192
|
var StyledTabHighlight = (0, _styles.styled)('div', function (_ref6) {
|
|
198
193
|
var $theme = _ref6.$theme,
|
|
199
194
|
_ref6$$orientation = _ref6.$orientation,
|
|
@@ -238,7 +233,6 @@ var StyledTabHighlight = (0, _styles.styled)('div', function (_ref6) {
|
|
|
238
233
|
});
|
|
239
234
|
exports.StyledTabHighlight = StyledTabHighlight;
|
|
240
235
|
StyledTabHighlight.displayName = "StyledTabHighlight";
|
|
241
|
-
StyledTabHighlight.displayName = 'StyledTabHighlight';
|
|
242
236
|
var StyledTabPanel = (0, _styles.styled)('div', function (_ref7) {
|
|
243
237
|
var $theme = _ref7.$theme,
|
|
244
238
|
_ref7$$pad = _ref7.$pad,
|
|
@@ -259,5 +253,4 @@ var StyledTabPanel = (0, _styles.styled)('div', function (_ref7) {
|
|
|
259
253
|
return style;
|
|
260
254
|
});
|
|
261
255
|
exports.StyledTabPanel = StyledTabPanel;
|
|
262
|
-
StyledTabPanel.displayName = "StyledTabPanel";
|
|
263
|
-
StyledTabPanel.displayName = 'StyledTabPanel';
|
|
256
|
+
StyledTabPanel.displayName = "StyledTabPanel";
|
package/tabs-motion/tab.js
CHANGED
|
@@ -11,7 +11,6 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
11
11
|
This source code is licensed under the MIT license found in the
|
|
12
12
|
LICENSE file in the root directory of this source tree.
|
|
13
13
|
*/
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
14
|
function Tab(props) {
|
|
16
15
|
return null;
|
|
17
16
|
}
|
package/tabs-motion/tabs.js
CHANGED
|
@@ -406,8 +406,7 @@ function InternalTab(_ref2) {
|
|
|
406
406
|
setFocusVisible(true);
|
|
407
407
|
}
|
|
408
408
|
}, []);
|
|
409
|
-
var handleBlur = React.useCallback(
|
|
410
|
-
function (event) {
|
|
409
|
+
var handleBlur = React.useCallback(function (event) {
|
|
411
410
|
if (focusVisible !== false) {
|
|
412
411
|
setFocusVisible(false);
|
|
413
412
|
}
|
package/tag/styled-components.js
CHANGED
|
@@ -290,7 +290,6 @@ var Action = (0, _styles.styled)('span', function (props) {
|
|
|
290
290
|
});
|
|
291
291
|
exports.Action = Action;
|
|
292
292
|
Action.displayName = "Action";
|
|
293
|
-
Action.displayName = 'Action';
|
|
294
293
|
var StartEnhancerContainer = (0, _styles.styled)('div', function (_ref2) {
|
|
295
294
|
var $theme = _ref2.$theme,
|
|
296
295
|
_ref2$$size = _ref2.$size,
|
|
@@ -311,7 +310,6 @@ var StartEnhancerContainer = (0, _styles.styled)('div', function (_ref2) {
|
|
|
311
310
|
});
|
|
312
311
|
exports.StartEnhancerContainer = StartEnhancerContainer;
|
|
313
312
|
StartEnhancerContainer.displayName = "StartEnhancerContainer";
|
|
314
|
-
StartEnhancerContainer.displayName = 'StartEnhancerContainer';
|
|
315
313
|
var Text = (0, _styles.styled)('span', function (props) {
|
|
316
314
|
var $theme = props.$theme;
|
|
317
315
|
return {
|
|
@@ -324,7 +322,6 @@ var Text = (0, _styles.styled)('span', function (props) {
|
|
|
324
322
|
});
|
|
325
323
|
exports.Text = Text;
|
|
326
324
|
Text.displayName = "Text";
|
|
327
|
-
Text.displayName = 'Text';
|
|
328
325
|
var Root = (0, _styles.styled)('span', function (props) {
|
|
329
326
|
var _SIZE$small$SIZE$medi2, _SIZE$small$SIZE$medi3, _SIZE$small$SIZE$medi4;
|
|
330
327
|
|
|
@@ -391,5 +388,4 @@ var Root = (0, _styles.styled)('span', function (props) {
|
|
|
391
388
|
});
|
|
392
389
|
});
|
|
393
390
|
exports.Root = Root;
|
|
394
|
-
Root.displayName = "Root";
|
|
395
|
-
Root.displayName = 'Root';
|
|
391
|
+
Root.displayName = "Root";
|
package/tag/tag.js
CHANGED
|
@@ -92,8 +92,7 @@ var Tag = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
92
92
|
if ((0, _focusVisible.isFocusVisible)(event)) {
|
|
93
93
|
setFocusVisible(true);
|
|
94
94
|
}
|
|
95
|
-
}
|
|
96
|
-
|
|
95
|
+
}
|
|
97
96
|
|
|
98
97
|
function handleBlur(event) {
|
|
99
98
|
if (focusVisible !== false) {
|
|
@@ -176,8 +175,7 @@ var Tag = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
176
175
|
var actionSize = (_SIZE$small$SIZE$medi = {}, _defineProperty(_SIZE$small$SIZE$medi, _constants.SIZE.small, 12), _defineProperty(_SIZE$small$SIZE$medi, _constants.SIZE.medium, 16), _defineProperty(_SIZE$small$SIZE$medi, _constants.SIZE.large, 20), _SIZE$small$SIZE$medi)[size]; // Capitalize for JSX
|
|
177
176
|
|
|
178
177
|
var StartEnhancer = startEnhancer;
|
|
179
|
-
return /*#__PURE__*/React.createElement(Root
|
|
180
|
-
, _extends({
|
|
178
|
+
return /*#__PURE__*/React.createElement(Root, _extends({
|
|
181
179
|
ref: ref,
|
|
182
180
|
"data-baseweb": "tag",
|
|
183
181
|
"aria-label": isButton && closeable ? "".concat(typeof children === 'string' ? "".concat(children, ", ") : '', "close by backspace") : null,
|
|
@@ -24,7 +24,6 @@ var StyledTextAreaRoot = (0, _styles.styled)('div', function (props) {
|
|
|
24
24
|
});
|
|
25
25
|
exports.StyledTextAreaRoot = StyledTextAreaRoot;
|
|
26
26
|
StyledTextAreaRoot.displayName = "StyledTextAreaRoot";
|
|
27
|
-
StyledTextAreaRoot.displayName = 'StyledTextAreaRoot';
|
|
28
27
|
var StyledTextareaContainer = (0, _styles.styled)('div', function (props) {
|
|
29
28
|
return _objectSpread({}, (0, _styledComponents.getInputContainerStyles)(_objectSpread({
|
|
30
29
|
$positive: false
|
|
@@ -32,12 +31,10 @@ var StyledTextareaContainer = (0, _styles.styled)('div', function (props) {
|
|
|
32
31
|
});
|
|
33
32
|
exports.StyledTextareaContainer = StyledTextareaContainer;
|
|
34
33
|
StyledTextareaContainer.displayName = "StyledTextareaContainer";
|
|
35
|
-
StyledTextareaContainer.displayName = 'StyledTextareaContainer';
|
|
36
34
|
var StyledTextarea = (0, _styles.styled)('textarea', function (props) {
|
|
37
35
|
return _objectSpread(_objectSpread({}, (0, _styledComponents.getInputStyles)(props)), {}, {
|
|
38
36
|
resize: 'none'
|
|
39
37
|
});
|
|
40
38
|
});
|
|
41
39
|
exports.StyledTextarea = StyledTextarea;
|
|
42
|
-
StyledTextarea.displayName = "StyledTextarea";
|
|
43
|
-
StyledTextarea.displayName = 'StyledTextarea';
|
|
40
|
+
StyledTextarea.displayName = "StyledTextarea";
|
|
@@ -76,61 +76,61 @@ var _default = function _default() {
|
|
|
76
76
|
var font550 = {
|
|
77
77
|
fontFamily: fontTokens.primaryFontFamily,
|
|
78
78
|
fontSize: '20px',
|
|
79
|
-
fontWeight:
|
|
79
|
+
fontWeight: 500,
|
|
80
80
|
lineHeight: '28px'
|
|
81
81
|
};
|
|
82
82
|
var font650 = {
|
|
83
83
|
fontFamily: fontTokens.primaryFontFamily,
|
|
84
84
|
fontSize: '24px',
|
|
85
|
-
fontWeight:
|
|
85
|
+
fontWeight: 500,
|
|
86
86
|
lineHeight: '32px'
|
|
87
87
|
};
|
|
88
88
|
var font750 = {
|
|
89
89
|
fontFamily: fontTokens.primaryFontFamily,
|
|
90
90
|
fontSize: '28px',
|
|
91
|
-
fontWeight:
|
|
91
|
+
fontWeight: 500,
|
|
92
92
|
lineHeight: '36px'
|
|
93
93
|
};
|
|
94
94
|
var font850 = {
|
|
95
95
|
fontFamily: fontTokens.primaryFontFamily,
|
|
96
96
|
fontSize: '32px',
|
|
97
|
-
fontWeight:
|
|
97
|
+
fontWeight: 500,
|
|
98
98
|
lineHeight: '40px'
|
|
99
99
|
};
|
|
100
100
|
var font950 = {
|
|
101
101
|
fontFamily: fontTokens.primaryFontFamily,
|
|
102
102
|
fontSize: '36px',
|
|
103
|
-
fontWeight:
|
|
103
|
+
fontWeight: 500,
|
|
104
104
|
lineHeight: '44px'
|
|
105
105
|
};
|
|
106
106
|
var font1050 = {
|
|
107
107
|
fontFamily: fontTokens.primaryFontFamily,
|
|
108
108
|
fontSize: '40px',
|
|
109
|
-
fontWeight:
|
|
109
|
+
fontWeight: 500,
|
|
110
110
|
lineHeight: '52px'
|
|
111
111
|
};
|
|
112
112
|
var font1150 = {
|
|
113
113
|
fontFamily: fontTokens.primaryFontFamily,
|
|
114
114
|
fontSize: '36px',
|
|
115
|
-
fontWeight:
|
|
115
|
+
fontWeight: 500,
|
|
116
116
|
lineHeight: '44px'
|
|
117
117
|
};
|
|
118
118
|
var font1250 = {
|
|
119
119
|
fontFamily: fontTokens.primaryFontFamily,
|
|
120
120
|
fontSize: '44px',
|
|
121
|
-
fontWeight:
|
|
121
|
+
fontWeight: 500,
|
|
122
122
|
lineHeight: '52px'
|
|
123
123
|
};
|
|
124
124
|
var font1350 = {
|
|
125
125
|
fontFamily: fontTokens.primaryFontFamily,
|
|
126
126
|
fontSize: '52px',
|
|
127
|
-
fontWeight:
|
|
127
|
+
fontWeight: 500,
|
|
128
128
|
lineHeight: '64px'
|
|
129
129
|
};
|
|
130
130
|
var font1450 = {
|
|
131
131
|
fontFamily: fontTokens.primaryFontFamily,
|
|
132
132
|
fontSize: '96px',
|
|
133
|
-
fontWeight:
|
|
133
|
+
fontWeight: 500,
|
|
134
134
|
lineHeight: '112px'
|
|
135
135
|
};
|
|
136
136
|
return {
|
|
@@ -65,61 +65,61 @@ export default (fontTokens?: FontTokensT = defaultFontTokens): TypographyT => {
|
|
|
65
65
|
const font550 = {
|
|
66
66
|
fontFamily: fontTokens.primaryFontFamily,
|
|
67
67
|
fontSize: '20px',
|
|
68
|
-
fontWeight:
|
|
68
|
+
fontWeight: 500,
|
|
69
69
|
lineHeight: '28px',
|
|
70
70
|
};
|
|
71
71
|
const font650 = {
|
|
72
72
|
fontFamily: fontTokens.primaryFontFamily,
|
|
73
73
|
fontSize: '24px',
|
|
74
|
-
fontWeight:
|
|
74
|
+
fontWeight: 500,
|
|
75
75
|
lineHeight: '32px',
|
|
76
76
|
};
|
|
77
77
|
const font750 = {
|
|
78
78
|
fontFamily: fontTokens.primaryFontFamily,
|
|
79
79
|
fontSize: '28px',
|
|
80
|
-
fontWeight:
|
|
80
|
+
fontWeight: 500,
|
|
81
81
|
lineHeight: '36px',
|
|
82
82
|
};
|
|
83
83
|
const font850 = {
|
|
84
84
|
fontFamily: fontTokens.primaryFontFamily,
|
|
85
85
|
fontSize: '32px',
|
|
86
|
-
fontWeight:
|
|
86
|
+
fontWeight: 500,
|
|
87
87
|
lineHeight: '40px',
|
|
88
88
|
};
|
|
89
89
|
const font950 = {
|
|
90
90
|
fontFamily: fontTokens.primaryFontFamily,
|
|
91
91
|
fontSize: '36px',
|
|
92
|
-
fontWeight:
|
|
92
|
+
fontWeight: 500,
|
|
93
93
|
lineHeight: '44px',
|
|
94
94
|
};
|
|
95
95
|
const font1050 = {
|
|
96
96
|
fontFamily: fontTokens.primaryFontFamily,
|
|
97
97
|
fontSize: '40px',
|
|
98
|
-
fontWeight:
|
|
98
|
+
fontWeight: 500,
|
|
99
99
|
lineHeight: '52px',
|
|
100
100
|
};
|
|
101
101
|
const font1150 = {
|
|
102
102
|
fontFamily: fontTokens.primaryFontFamily,
|
|
103
103
|
fontSize: '36px',
|
|
104
|
-
fontWeight:
|
|
104
|
+
fontWeight: 500,
|
|
105
105
|
lineHeight: '44px',
|
|
106
106
|
};
|
|
107
107
|
const font1250 = {
|
|
108
108
|
fontFamily: fontTokens.primaryFontFamily,
|
|
109
109
|
fontSize: '44px',
|
|
110
|
-
fontWeight:
|
|
110
|
+
fontWeight: 500,
|
|
111
111
|
lineHeight: '52px',
|
|
112
112
|
};
|
|
113
113
|
const font1350 = {
|
|
114
114
|
fontFamily: fontTokens.primaryFontFamily,
|
|
115
115
|
fontSize: '52px',
|
|
116
|
-
fontWeight:
|
|
116
|
+
fontWeight: 500,
|
|
117
117
|
lineHeight: '64px',
|
|
118
118
|
};
|
|
119
119
|
const font1450 = {
|
|
120
120
|
fontFamily: fontTokens.primaryFontFamily,
|
|
121
121
|
fontSize: '96px',
|
|
122
|
-
fontWeight:
|
|
122
|
+
fontWeight: 500,
|
|
123
123
|
lineHeight: '112px',
|
|
124
124
|
};
|
|
125
125
|
|
|
@@ -110,7 +110,6 @@ var Root = (0, _styles.styled)('div', function (_ref) {
|
|
|
110
110
|
});
|
|
111
111
|
exports.Root = Root;
|
|
112
112
|
Root.displayName = "Root";
|
|
113
|
-
Root.displayName = 'Root';
|
|
114
113
|
var InnerContainer = (0, _styles.styled)('div', // eslint-disable-next-line no-empty-pattern
|
|
115
114
|
function (_ref2) {
|
|
116
115
|
_objectDestructuringEmpty(_ref2);
|
|
@@ -119,7 +118,6 @@ function (_ref2) {
|
|
|
119
118
|
});
|
|
120
119
|
exports.InnerContainer = InnerContainer;
|
|
121
120
|
InnerContainer.displayName = "InnerContainer";
|
|
122
|
-
InnerContainer.displayName = 'InnerContainer';
|
|
123
121
|
var Body = (0, _styles.styled)('div', function (_ref3) {
|
|
124
122
|
var $isVisible = _ref3.$isVisible,
|
|
125
123
|
$kind = _ref3.$kind,
|
|
@@ -153,7 +151,6 @@ var Body = (0, _styles.styled)('div', function (_ref3) {
|
|
|
153
151
|
});
|
|
154
152
|
exports.Body = Body;
|
|
155
153
|
Body.displayName = "Body";
|
|
156
|
-
Body.displayName = 'Body';
|
|
157
154
|
var CloseIconSvg = (0, _styles.styled)('svg', function (_ref4) {
|
|
158
155
|
var $theme = _ref4.$theme,
|
|
159
156
|
$size = _ref4.$size,
|
|
@@ -171,5 +168,4 @@ var CloseIconSvg = (0, _styles.styled)('svg', function (_ref4) {
|
|
|
171
168
|
});
|
|
172
169
|
});
|
|
173
170
|
exports.CloseIconSvg = CloseIconSvg;
|
|
174
|
-
CloseIconSvg.displayName = "CloseIconSvg";
|
|
175
|
-
CloseIconSvg.displayName = 'CloseIconSvg';
|
|
171
|
+
CloseIconSvg.displayName = "CloseIconSvg";
|
package/toast/toaster.js.flow
CHANGED
package/tokens/colors.js
CHANGED
|
@@ -57,14 +57,6 @@ var colors = {
|
|
|
57
57
|
yellow500: '#BC8B2C',
|
|
58
58
|
yellow600: '#996F00',
|
|
59
59
|
yellow700: '#674D1B',
|
|
60
|
-
lime50: '#F2F7ED',
|
|
61
|
-
lime100: '#E0ECD2',
|
|
62
|
-
lime200: '#BCD69D',
|
|
63
|
-
lime300: '#8BB956',
|
|
64
|
-
lime400: '#67A421',
|
|
65
|
-
lime500: '#4E7C19',
|
|
66
|
-
lime600: '#3D6213',
|
|
67
|
-
lime700: '#29410d',
|
|
68
60
|
green50: '#E6F2ED',
|
|
69
61
|
green100: '#ADDEC9',
|
|
70
62
|
green200: '#66D19E',
|
|
@@ -73,14 +65,6 @@ var colors = {
|
|
|
73
65
|
green500: '#03703C',
|
|
74
66
|
green600: '#03582F',
|
|
75
67
|
green700: '#10462D',
|
|
76
|
-
teal50: '#EDF5F7',
|
|
77
|
-
teal100: '#D2E8EC',
|
|
78
|
-
teal200: '#9DCDD6',
|
|
79
|
-
teal300: '#56A9B9',
|
|
80
|
-
teal400: '#218EA4',
|
|
81
|
-
teal500: '#196B7C',
|
|
82
|
-
teal600: '#135562',
|
|
83
|
-
teal700: '#0D3841',
|
|
84
68
|
blue50: '#EFF3FE',
|
|
85
69
|
blue100: '#D4E2FC',
|
|
86
70
|
blue200: '#A0BFF8',
|
|
@@ -105,14 +89,6 @@ var colors = {
|
|
|
105
89
|
purple500: '#574191',
|
|
106
90
|
purple600: '#453473',
|
|
107
91
|
purple700: '#2E224C',
|
|
108
|
-
magenta50: '#F9F1F7',
|
|
109
|
-
magenta100: '#F2DDEB',
|
|
110
|
-
magenta200: '#E2B4D3',
|
|
111
|
-
magenta300: '#CE7EB3',
|
|
112
|
-
magenta400: '#BF569C',
|
|
113
|
-
magenta500: '#914176',
|
|
114
|
-
magenta600: '#72335D',
|
|
115
|
-
magenta700: '#4C223E',
|
|
116
92
|
brown50: '#F6F0EA',
|
|
117
93
|
brown100: '#EBE0DB',
|
|
118
94
|
brown200: '#D2BBB0',
|
package/tokens/colors.js.flow
CHANGED
|
@@ -58,15 +58,6 @@ const colors: ColorTokensT = {
|
|
|
58
58
|
yellow600: '#996F00',
|
|
59
59
|
yellow700: '#674D1B',
|
|
60
60
|
|
|
61
|
-
lime50: '#F2F7ED',
|
|
62
|
-
lime100: '#E0ECD2',
|
|
63
|
-
lime200: '#BCD69D',
|
|
64
|
-
lime300: '#8BB956',
|
|
65
|
-
lime400: '#67A421',
|
|
66
|
-
lime500: '#4E7C19',
|
|
67
|
-
lime600: '#3D6213',
|
|
68
|
-
lime700: '#29410d',
|
|
69
|
-
|
|
70
61
|
green50: '#E6F2ED',
|
|
71
62
|
green100: '#ADDEC9',
|
|
72
63
|
green200: '#66D19E',
|
|
@@ -76,15 +67,6 @@ const colors: ColorTokensT = {
|
|
|
76
67
|
green600: '#03582F',
|
|
77
68
|
green700: '#10462D',
|
|
78
69
|
|
|
79
|
-
teal50: '#EDF5F7',
|
|
80
|
-
teal100: '#D2E8EC',
|
|
81
|
-
teal200: '#9DCDD6',
|
|
82
|
-
teal300: '#56A9B9',
|
|
83
|
-
teal400: '#218EA4',
|
|
84
|
-
teal500: '#196B7C',
|
|
85
|
-
teal600: '#135562',
|
|
86
|
-
teal700: '#0D3841',
|
|
87
|
-
|
|
88
70
|
blue50: '#EFF3FE',
|
|
89
71
|
blue100: '#D4E2FC',
|
|
90
72
|
blue200: '#A0BFF8',
|
|
@@ -112,15 +94,6 @@ const colors: ColorTokensT = {
|
|
|
112
94
|
purple600: '#453473',
|
|
113
95
|
purple700: '#2E224C',
|
|
114
96
|
|
|
115
|
-
magenta50: '#F9F1F7',
|
|
116
|
-
magenta100: '#F2DDEB',
|
|
117
|
-
magenta200: '#E2B4D3',
|
|
118
|
-
magenta300: '#CE7EB3',
|
|
119
|
-
magenta400: '#BF569C',
|
|
120
|
-
magenta500: '#914176',
|
|
121
|
-
magenta600: '#72335D',
|
|
122
|
-
magenta700: '#4C223E',
|
|
123
|
-
|
|
124
97
|
brown50: '#F6F0EA',
|
|
125
98
|
brown100: '#EBE0DB',
|
|
126
99
|
brown200: '#D2BBB0',
|
package/tokens/types.d.ts
CHANGED
|
@@ -28,14 +28,6 @@ export declare type ColorTokens = {
|
|
|
28
28
|
blue500: string;
|
|
29
29
|
blue600: string;
|
|
30
30
|
blue700: string;
|
|
31
|
-
teal50: string;
|
|
32
|
-
teal100: string;
|
|
33
|
-
teal200: string;
|
|
34
|
-
teal300: string;
|
|
35
|
-
teal400: string;
|
|
36
|
-
teal500: string;
|
|
37
|
-
teal600: string;
|
|
38
|
-
teal700: string;
|
|
39
31
|
red50: string;
|
|
40
32
|
red100: string;
|
|
41
33
|
red200: string;
|
|
@@ -60,14 +52,6 @@ export declare type ColorTokens = {
|
|
|
60
52
|
orange500: string;
|
|
61
53
|
orange600: string;
|
|
62
54
|
orange700: string;
|
|
63
|
-
magenta50: string;
|
|
64
|
-
magenta100: string;
|
|
65
|
-
magenta200: string;
|
|
66
|
-
magenta300: string;
|
|
67
|
-
magenta400: string;
|
|
68
|
-
magenta500: string;
|
|
69
|
-
magenta600: string;
|
|
70
|
-
magenta700: string;
|
|
71
55
|
purple50: string;
|
|
72
56
|
purple100: string;
|
|
73
57
|
purple200: string;
|
|
@@ -84,14 +68,6 @@ export declare type ColorTokens = {
|
|
|
84
68
|
yellow500: string;
|
|
85
69
|
yellow600: string;
|
|
86
70
|
yellow700: string;
|
|
87
|
-
lime50: string;
|
|
88
|
-
lime100: string;
|
|
89
|
-
lime200: string;
|
|
90
|
-
lime300: string;
|
|
91
|
-
lime400: string;
|
|
92
|
-
lime500: string;
|
|
93
|
-
lime600: string;
|
|
94
|
-
lime700: string;
|
|
95
71
|
brown50: string;
|
|
96
72
|
brown100: string;
|
|
97
73
|
brown200: string;
|
package/tokens/types.js.flow
CHANGED
|
@@ -39,15 +39,6 @@ export type ColorTokensT = {
|
|
|
39
39
|
blue600: string,
|
|
40
40
|
blue700: string,
|
|
41
41
|
|
|
42
|
-
teal50: string,
|
|
43
|
-
teal100: string,
|
|
44
|
-
teal200: string,
|
|
45
|
-
teal300: string,
|
|
46
|
-
teal400: string,
|
|
47
|
-
teal500: string,
|
|
48
|
-
teal600: string,
|
|
49
|
-
teal700: string,
|
|
50
|
-
|
|
51
42
|
red50: string,
|
|
52
43
|
red100: string,
|
|
53
44
|
red200: string,
|
|
@@ -75,15 +66,6 @@ export type ColorTokensT = {
|
|
|
75
66
|
orange600: string,
|
|
76
67
|
orange700: string,
|
|
77
68
|
|
|
78
|
-
magenta50: string,
|
|
79
|
-
magenta100: string,
|
|
80
|
-
magenta200: string,
|
|
81
|
-
magenta300: string,
|
|
82
|
-
magenta400: string,
|
|
83
|
-
magenta500: string,
|
|
84
|
-
magenta600: string,
|
|
85
|
-
magenta700: string,
|
|
86
|
-
|
|
87
69
|
purple50: string,
|
|
88
70
|
purple100: string,
|
|
89
71
|
purple200: string,
|
|
@@ -102,15 +84,6 @@ export type ColorTokensT = {
|
|
|
102
84
|
yellow600: string,
|
|
103
85
|
yellow700: string,
|
|
104
86
|
|
|
105
|
-
lime50: string,
|
|
106
|
-
lime100: string,
|
|
107
|
-
lime200: string,
|
|
108
|
-
lime300: string,
|
|
109
|
-
lime400: string,
|
|
110
|
-
lime500: string,
|
|
111
|
-
lime600: string,
|
|
112
|
-
lime700: string,
|
|
113
|
-
|
|
114
87
|
brown50: string,
|
|
115
88
|
brown100: string,
|
|
116
89
|
brown200: string,
|
|
@@ -44,7 +44,6 @@ var Body = (0, _styles.styled)('div', function (props) {
|
|
|
44
44
|
});
|
|
45
45
|
exports.Body = Body;
|
|
46
46
|
Body.displayName = "Body";
|
|
47
|
-
Body.displayName = 'Body';
|
|
48
47
|
var Inner = (0, _styles.styled)('div', function (props) {
|
|
49
48
|
return _objectSpread(_objectSpread(_objectSpread({}, (0, _styledComponents.getInnerStyles)(props)), {}, {
|
|
50
49
|
backgroundColor: props.$theme.colors.tooltipBackground,
|
|
@@ -62,12 +61,10 @@ var Inner = (0, _styles.styled)('div', function (props) {
|
|
|
62
61
|
});
|
|
63
62
|
exports.Inner = Inner;
|
|
64
63
|
Inner.displayName = "Inner";
|
|
65
|
-
Inner.displayName = 'Inner';
|
|
66
64
|
var Arrow = (0, _styles.styled)('div', function (props) {
|
|
67
65
|
return _objectSpread(_objectSpread({}, (0, _styledComponents.getArrowStyles)(props)), {}, {
|
|
68
66
|
backgroundColor: props.$theme.colors.tooltipBackground
|
|
69
67
|
});
|
|
70
68
|
});
|
|
71
69
|
exports.Arrow = Arrow;
|
|
72
|
-
Arrow.displayName = "Arrow";
|
|
73
|
-
Arrow.displayName = 'Arrow';
|
|
70
|
+
Arrow.displayName = "Arrow";
|
|
@@ -29,7 +29,6 @@ var StyledTreeItemList = (0, _styles.styled)('ul', function (_ref) {
|
|
|
29
29
|
});
|
|
30
30
|
exports.StyledTreeItemList = StyledTreeItemList;
|
|
31
31
|
StyledTreeItemList.displayName = "StyledTreeItemList";
|
|
32
|
-
StyledTreeItemList.displayName = 'StyledTreeItemList';
|
|
33
32
|
var StyledTreeItem = (0, _styles.styled)('li', function (_ref3) {
|
|
34
33
|
var $theme = _ref3.$theme,
|
|
35
34
|
$isLeafNode = _ref3.$isLeafNode;
|
|
@@ -50,7 +49,6 @@ var StyledTreeItem = (0, _styles.styled)('li', function (_ref3) {
|
|
|
50
49
|
});
|
|
51
50
|
exports.StyledTreeItem = StyledTreeItem;
|
|
52
51
|
StyledTreeItem.displayName = "StyledTreeItem";
|
|
53
|
-
StyledTreeItem.displayName = 'StyledTreeItem';
|
|
54
52
|
var StyledItemContent = (0, _styles.styled)('div', function (_ref4) {
|
|
55
53
|
var $theme = _ref4.$theme,
|
|
56
54
|
$isSelected = _ref4.$isSelected,
|
|
@@ -77,7 +75,6 @@ var StyledItemContent = (0, _styles.styled)('div', function (_ref4) {
|
|
|
77
75
|
});
|
|
78
76
|
exports.StyledItemContent = StyledItemContent;
|
|
79
77
|
StyledItemContent.displayName = "StyledItemContent";
|
|
80
|
-
StyledItemContent.displayName = 'StyledItemContent';
|
|
81
78
|
var StyledIconContainer = (0, _styles.styled)('div', function (_ref5) {
|
|
82
79
|
var $theme = _ref5.$theme;
|
|
83
80
|
var marginDirection = $theme.direction === 'rtl' ? 'marginLeft' : 'marginRight';
|
|
@@ -91,7 +88,6 @@ var StyledIconContainer = (0, _styles.styled)('div', function (_ref5) {
|
|
|
91
88
|
});
|
|
92
89
|
exports.StyledIconContainer = StyledIconContainer;
|
|
93
90
|
StyledIconContainer.displayName = "StyledIconContainer";
|
|
94
|
-
StyledIconContainer.displayName = 'StyledIconContainer';
|
|
95
91
|
var StyledNoIconContainer = (0, _styles.styled)('div', function (_ref7) {
|
|
96
92
|
var _ref8;
|
|
97
93
|
|
|
@@ -107,12 +103,10 @@ var StyledNoIconContainer = (0, _styles.styled)('div', function (_ref7) {
|
|
|
107
103
|
});
|
|
108
104
|
exports.StyledNoIconContainer = StyledNoIconContainer;
|
|
109
105
|
StyledNoIconContainer.displayName = "StyledNoIconContainer";
|
|
110
|
-
StyledNoIconContainer.displayName = 'StyledNoIconContainer';
|
|
111
106
|
var StyledLabelInteractable = (0, _styles.styled)('div', function () {
|
|
112
107
|
return {
|
|
113
108
|
width: '100%'
|
|
114
109
|
};
|
|
115
110
|
});
|
|
116
111
|
exports.StyledLabelInteractable = StyledLabelInteractable;
|
|
117
|
-
StyledLabelInteractable.displayName = "StyledLabelInteractable";
|
|
118
|
-
StyledLabelInteractable.displayName = 'StyledLabelInteractable';
|
|
112
|
+
StyledLabelInteractable.displayName = "StyledLabelInteractable";
|
package/tree-view/tree-view.js
CHANGED
|
@@ -83,7 +83,6 @@ function TreeView(props) {
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
var onKeyDown = function onKeyDown(e, node) {
|
|
86
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
87
86
|
var elementId = e.target.getAttribute('data-nodeid'); // this check prevents bubbling
|
|
88
87
|
|
|
89
88
|
if (elementId !== getId(node) && parseInt(elementId) !== getId(node)) {
|
|
@@ -172,8 +171,7 @@ function TreeView(props) {
|
|
|
172
171
|
if (selectedNodeId === null && data.length) {
|
|
173
172
|
setSelectedNodeId(getId(data[0]));
|
|
174
173
|
}
|
|
175
|
-
};
|
|
176
|
-
|
|
174
|
+
};
|
|
177
175
|
|
|
178
176
|
var onBlur = function onBlur(event) {
|
|
179
177
|
if (focusVisible) {
|
package/types/globals.d.js
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
Copyright (c) Uber Technologies, Inc.
|
|
5
|
-
|
|
6
|
-
This source code is licensed under the MIT license found in the
|
|
7
|
-
LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12
|
-
var PlaywrightTest;
|
|
13
|
-
|
|
14
|
-
(function (_PlaywrightTest) {})(PlaywrightTest || (PlaywrightTest = {}));
|
|
1
|
+
"use strict";
|
package/utils/deep-merge.js
CHANGED
|
@@ -13,6 +13,8 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
13
13
|
This source code is licensed under the MIT license found in the
|
|
14
14
|
LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
+
|
|
17
|
+
/* flowlint unclear-type:off */
|
|
16
18
|
function deepMerge(target) {
|
|
17
19
|
target = target || {};
|
|
18
20
|
var len = arguments.length <= 1 ? 0 : arguments.length - 1;
|
|
@@ -39,6 +41,10 @@ function deepMerge(target) {
|
|
|
39
41
|
|
|
40
42
|
return target;
|
|
41
43
|
}
|
|
44
|
+
/* flowlint unclear-type:error */
|
|
45
|
+
|
|
46
|
+
/* eslint-disable-next-line flowtype/no-weak-types */
|
|
47
|
+
|
|
42
48
|
|
|
43
49
|
function isCloneable(obj) {
|
|
44
50
|
/* eslint-disable-next-line eqeqeq */
|
|
@@ -16,7 +16,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
16
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
17
|
|
|
18
18
|
function _default(Component, displayName) {
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20
19
|
var DeprecatedComponent = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
21
20
|
if (process.env.NODE_ENV !== "production") {
|
|
22
21
|
console.warn("We have stabilized the ".concat(displayName, " component, so you can drop the \"Unstable_\" prefix from your imports. We will remove the \"Unstable_\" exports soon, so please make these changes as soon as possible!"));
|
package/utils/focusVisible.js
CHANGED
|
@@ -160,8 +160,7 @@ function initFocusVisible(node) {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
var forkFocus =
|
|
164
|
-
function forkFocus(rootProps, handler) {
|
|
163
|
+
var forkFocus = function forkFocus(rootProps, handler) {
|
|
165
164
|
return function (e) {
|
|
166
165
|
if (typeof rootProps.onFocus === 'function') {
|
|
167
166
|
rootProps.onFocus(e);
|
|
@@ -173,8 +172,7 @@ function forkFocus(rootProps, handler) {
|
|
|
173
172
|
|
|
174
173
|
exports.forkFocus = forkFocus;
|
|
175
174
|
|
|
176
|
-
var forkBlur =
|
|
177
|
-
function forkBlur(rootProps, handler) {
|
|
175
|
+
var forkBlur = function forkBlur(rootProps, handler) {
|
|
178
176
|
return function (e) {
|
|
179
177
|
if (typeof rootProps.onBlur === 'function') {
|
|
180
178
|
rootProps.onBlur(e);
|