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
package/esm/table/index.js
CHANGED
|
@@ -13,5 +13,4 @@ export { SORT_DIRECTION } from './constants'; // Styled elements
|
|
|
13
13
|
export { StyledTable, StyledFilterButton, StyledFilterContent, StyledFilterHeading, StyledFilterFooter, StyledHead, StyledHeadCell, StyledBody, StyledRow, StyledCell, StyledAction, StyledSortableLabel } from './styled-components'; // Flow
|
|
14
14
|
|
|
15
15
|
export * from './types';
|
|
16
|
-
/** @deprecated use HeadCellOverrides instead. To be removed in future versions.*/
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
16
|
+
/** @deprecated use HeadCellOverrides instead. To be removed in future versions.*/
|
|
@@ -29,7 +29,6 @@ var StyledTableElement = styled('div', function (_ref) {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
StyledTableElement.displayName = "StyledTableElement";
|
|
32
|
-
StyledTableElement.displayName = 'StyledTableElement';
|
|
33
32
|
export var StyledTable = withWrapper(StyledTableElement, function (StyledComponent) {
|
|
34
33
|
return function StyledTable(props) {
|
|
35
34
|
return /*#__PURE__*/React.createElement(StyledComponent, _extends({
|
|
@@ -50,7 +49,6 @@ var StyledHeadElement = styled('div', function (_ref2) {
|
|
|
50
49
|
};
|
|
51
50
|
});
|
|
52
51
|
StyledHeadElement.displayName = "StyledHeadElement";
|
|
53
|
-
StyledHeadElement.displayName = 'StyledHeadElement';
|
|
54
52
|
export var StyledHead = withWrapper(StyledHeadElement, function (StyledComponent) {
|
|
55
53
|
return function StyledHead(props) {
|
|
56
54
|
return /*#__PURE__*/React.createElement(StyledComponent, _extends({
|
|
@@ -79,7 +77,6 @@ var StyledHeadCellElement = styled('div', function (_ref3) {
|
|
|
79
77
|
});
|
|
80
78
|
});
|
|
81
79
|
StyledHeadCellElement.displayName = "StyledHeadCellElement";
|
|
82
|
-
StyledHeadCellElement.displayName = 'StyledHeadCellElement';
|
|
83
80
|
export var StyledHeadCell = withWrapper(StyledHeadCellElement, function (StyledComponent) {
|
|
84
81
|
return function StyledHeadCell(props) {
|
|
85
82
|
return /*#__PURE__*/React.createElement(StyledComponent, _extends({
|
|
@@ -108,7 +105,6 @@ export var StyledSortableLabel = styled('button', function (_ref4) {
|
|
|
108
105
|
});
|
|
109
106
|
});
|
|
110
107
|
StyledSortableLabel.displayName = "StyledSortableLabel";
|
|
111
|
-
StyledSortableLabel.displayName = 'StyledSortableLabel';
|
|
112
108
|
var StyledBodyElement = styled('div', function (_ref5) {
|
|
113
109
|
var $width = _ref5.$width;
|
|
114
110
|
return {
|
|
@@ -120,7 +116,6 @@ var StyledBodyElement = styled('div', function (_ref5) {
|
|
|
120
116
|
};
|
|
121
117
|
});
|
|
122
118
|
StyledBodyElement.displayName = "StyledBodyElement";
|
|
123
|
-
StyledBodyElement.displayName = 'StyledBodyElement';
|
|
124
119
|
export var StyledBody = withWrapper(StyledBodyElement, function (StyledComponent) {
|
|
125
120
|
return function StyledBody(props) {
|
|
126
121
|
return /*#__PURE__*/React.createElement(StyledComponent, _extends({
|
|
@@ -133,7 +128,6 @@ var StyledRowElement = styled('div', {
|
|
|
133
128
|
alignItems: 'center'
|
|
134
129
|
});
|
|
135
130
|
StyledRowElement.displayName = "StyledRowElement";
|
|
136
|
-
StyledRowElement.displayName = 'StyledRowElement';
|
|
137
131
|
export var StyledRow = withWrapper(StyledRowElement, function (StyledComponent) {
|
|
138
132
|
return function StyledRow(props) {
|
|
139
133
|
return /*#__PURE__*/React.createElement(StyledComponent, _extends({
|
|
@@ -156,7 +150,6 @@ var StyledCellElement = styled('div', function (_ref6) {
|
|
|
156
150
|
});
|
|
157
151
|
});
|
|
158
152
|
StyledCellElement.displayName = "StyledCellElement";
|
|
159
|
-
StyledCellElement.displayName = 'StyledCellElement';
|
|
160
153
|
export var StyledCell = withWrapper(StyledCellElement, function (StyledComponent) {
|
|
161
154
|
return function StyledCell(props) {
|
|
162
155
|
return /*#__PURE__*/React.createElement(StyledComponent, _extends({
|
|
@@ -203,7 +196,6 @@ export var StyledFilterButton = styled('button', function (props) {
|
|
|
203
196
|
};
|
|
204
197
|
});
|
|
205
198
|
StyledFilterButton.displayName = "StyledFilterButton";
|
|
206
|
-
StyledFilterButton.displayName = 'StyledFilterButton';
|
|
207
199
|
export var StyledFilterContent = styled('div', function (_ref7) {
|
|
208
200
|
var $theme = _ref7.$theme;
|
|
209
201
|
return _objectSpread(_objectSpread({}, expandBorderStyles($theme.borders.border300)), {}, {
|
|
@@ -217,7 +209,6 @@ export var StyledFilterContent = styled('div', function (_ref7) {
|
|
|
217
209
|
});
|
|
218
210
|
});
|
|
219
211
|
StyledFilterContent.displayName = "StyledFilterContent";
|
|
220
|
-
StyledFilterContent.displayName = 'StyledFilterContent';
|
|
221
212
|
export var StyledFilterHeading = styled('div', function (_ref8) {
|
|
222
213
|
var $theme = _ref8.$theme;
|
|
223
214
|
return _objectSpread(_objectSpread({}, $theme.typography.font250), {}, {
|
|
@@ -229,7 +220,6 @@ export var StyledFilterHeading = styled('div', function (_ref8) {
|
|
|
229
220
|
});
|
|
230
221
|
});
|
|
231
222
|
StyledFilterHeading.displayName = "StyledFilterHeading";
|
|
232
|
-
StyledFilterHeading.displayName = 'StyledFilterHeading';
|
|
233
223
|
export var StyledFilterFooter = styled('div', function (_ref9) {
|
|
234
224
|
var $theme = _ref9.$theme;
|
|
235
225
|
return {
|
|
@@ -244,7 +234,6 @@ export var StyledFilterFooter = styled('div', function (_ref9) {
|
|
|
244
234
|
};
|
|
245
235
|
});
|
|
246
236
|
StyledFilterFooter.displayName = "StyledFilterFooter";
|
|
247
|
-
StyledFilterFooter.displayName = 'StyledFilterFooter';
|
|
248
237
|
export var StyledAction = styled('button', function (_ref10) {
|
|
249
238
|
var $theme = _ref10.$theme;
|
|
250
239
|
return {
|
|
@@ -265,5 +254,4 @@ export var StyledAction = styled('button', function (_ref10) {
|
|
|
265
254
|
}
|
|
266
255
|
};
|
|
267
256
|
});
|
|
268
|
-
StyledAction.displayName = "StyledAction";
|
|
269
|
-
StyledAction.displayName = 'StyledAction';
|
|
257
|
+
StyledAction.displayName = "StyledAction";
|
|
@@ -20,7 +20,6 @@ var StyledTableElement = withStyle(FlexStyledTable, function (props) {
|
|
|
20
20
|
};
|
|
21
21
|
});
|
|
22
22
|
StyledTableElement.displayName = "StyledTableElement";
|
|
23
|
-
StyledTableElement.displayName = 'StyledTableElement';
|
|
24
23
|
export var StyledTable = withWrapper(StyledTableElement, function (StyledComponent) {
|
|
25
24
|
return function StyledTable(props) {
|
|
26
25
|
return /*#__PURE__*/React.createElement(StyledComponent, _extends({
|
|
@@ -47,7 +46,6 @@ export var StyledHeadCell = withStyle(FlexStyledHeadCell, function (_ref) {
|
|
|
47
46
|
};
|
|
48
47
|
});
|
|
49
48
|
StyledHeadCell.displayName = "StyledHeadCell";
|
|
50
|
-
StyledHeadCell.displayName = 'StyledHeadCell';
|
|
51
49
|
export var StyledBodyCell = withStyle(FlexStyledBodyCell, function (props) {
|
|
52
50
|
return {
|
|
53
51
|
display: 'block',
|
|
@@ -60,5 +58,4 @@ export var StyledBodyCell = withStyle(FlexStyledBodyCell, function (props) {
|
|
|
60
58
|
}
|
|
61
59
|
};
|
|
62
60
|
});
|
|
63
|
-
StyledBodyCell.displayName = "StyledBodyCell";
|
|
64
|
-
StyledBodyCell.displayName = 'StyledBodyCell';
|
|
61
|
+
StyledBodyCell.displayName = "StyledBodyCell";
|
|
@@ -45,8 +45,6 @@ export var StyledRoot = styled('div', function (_ref) {
|
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
StyledRoot.displayName = "StyledRoot";
|
|
48
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
49
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
50
48
|
export var StyledTable = styled('table', function (_ref2) {
|
|
51
49
|
var $theme = _ref2.$theme,
|
|
52
50
|
$width = _ref2.$width;
|
|
@@ -58,21 +56,16 @@ export var StyledTable = styled('table', function (_ref2) {
|
|
|
58
56
|
};
|
|
59
57
|
});
|
|
60
58
|
StyledTable.displayName = "StyledTable";
|
|
61
|
-
StyledTable.displayName = 'StyledTable'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
62
|
-
|
|
63
59
|
export var StyledTableHead = styled('thead', function (_ref3) {
|
|
64
60
|
var $theme = _ref3.$theme;
|
|
65
61
|
return {};
|
|
66
62
|
});
|
|
67
63
|
StyledTableHead.displayName = "StyledTableHead";
|
|
68
|
-
StyledTableHead.displayName = 'StyledTableHead'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
69
|
-
|
|
70
64
|
export var StyledTableHeadRow = styled('tr', function (_ref4) {
|
|
71
65
|
var $theme = _ref4.$theme;
|
|
72
66
|
return {};
|
|
73
67
|
});
|
|
74
68
|
StyledTableHeadRow.displayName = "StyledTableHeadRow";
|
|
75
|
-
StyledTableHeadRow.displayName = 'StyledTableHeadRow';
|
|
76
69
|
export var StyledTableHeadCell = styled('th', function (_ref5) {
|
|
77
70
|
var _notLastChild;
|
|
78
71
|
|
|
@@ -105,7 +98,6 @@ export var StyledTableHeadCell = styled('th', function (_ref5) {
|
|
|
105
98
|
});
|
|
106
99
|
});
|
|
107
100
|
StyledTableHeadCell.displayName = "StyledTableHeadCell";
|
|
108
|
-
StyledTableHeadCell.displayName = 'StyledTableHeadCell';
|
|
109
101
|
export var StyledTableHeadCellSortable = withStyle(StyledTableHeadCell, function (_ref6) {
|
|
110
102
|
var $theme = _ref6.$theme,
|
|
111
103
|
$isFocusVisible = _ref6.$isFocusVisible;
|
|
@@ -123,7 +115,6 @@ export var StyledTableHeadCellSortable = withStyle(StyledTableHeadCell, function
|
|
|
123
115
|
};
|
|
124
116
|
});
|
|
125
117
|
StyledTableHeadCellSortable.displayName = "StyledTableHeadCellSortable";
|
|
126
|
-
StyledTableHeadCellSortable.displayName = 'StyledTableHeadCellSortable';
|
|
127
118
|
export var StyledSortIconContainer = styled('span', function (_ref7) {
|
|
128
119
|
var $theme = _ref7.$theme;
|
|
129
120
|
return {
|
|
@@ -134,10 +125,9 @@ export var StyledSortIconContainer = styled('span', function (_ref7) {
|
|
|
134
125
|
right: $theme.sizing.scale500,
|
|
135
126
|
transform: 'translateY(-50%)'
|
|
136
127
|
};
|
|
137
|
-
});
|
|
138
|
-
StyledSortIconContainer.displayName = "StyledSortIconContainer";
|
|
139
|
-
StyledSortIconContainer.displayName = 'StyledSortIconContainer'; // No longer used, but will maintain for some time to support existing usage
|
|
128
|
+
}); // No longer used, but will maintain for some time to support existing usage
|
|
140
129
|
|
|
130
|
+
StyledSortIconContainer.displayName = "StyledSortIconContainer";
|
|
141
131
|
export var StyledSortAscIcon = styled(ChevronUp, function (_ref8) {
|
|
142
132
|
var $theme = _ref8.$theme;
|
|
143
133
|
return {
|
|
@@ -148,7 +138,6 @@ export var StyledSortAscIcon = styled(ChevronUp, function (_ref8) {
|
|
|
148
138
|
};
|
|
149
139
|
});
|
|
150
140
|
StyledSortAscIcon.displayName = "StyledSortAscIcon";
|
|
151
|
-
StyledSortAscIcon.displayName = 'StyledSortAscIcon';
|
|
152
141
|
export var StyledSortDescIcon = styled(ChevronDown, function (_ref9) {
|
|
153
142
|
var $theme = _ref9.$theme;
|
|
154
143
|
return {
|
|
@@ -159,7 +148,6 @@ export var StyledSortDescIcon = styled(ChevronDown, function (_ref9) {
|
|
|
159
148
|
};
|
|
160
149
|
});
|
|
161
150
|
StyledSortDescIcon.displayName = "StyledSortDescIcon";
|
|
162
|
-
StyledSortDescIcon.displayName = 'StyledSortDescIcon';
|
|
163
151
|
export var StyledSortNoneIcon = styled(Blank, function (_ref10) {
|
|
164
152
|
var $theme = _ref10.$theme;
|
|
165
153
|
return {
|
|
@@ -170,14 +158,11 @@ export var StyledSortNoneIcon = styled(Blank, function (_ref10) {
|
|
|
170
158
|
};
|
|
171
159
|
});
|
|
172
160
|
StyledSortNoneIcon.displayName = "StyledSortNoneIcon";
|
|
173
|
-
StyledSortNoneIcon.displayName = 'StyledSortNoneIcon'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
174
|
-
|
|
175
161
|
export var StyledTableBody = styled('tbody', function (_ref11) {
|
|
176
162
|
var $theme = _ref11.$theme;
|
|
177
163
|
return {};
|
|
178
164
|
});
|
|
179
165
|
StyledTableBody.displayName = "StyledTableBody";
|
|
180
|
-
StyledTableBody.displayName = 'StyledTableBody';
|
|
181
166
|
export var StyledTableBodyRow = styled('tr', function (_ref12) {
|
|
182
167
|
var $theme = _ref12.$theme;
|
|
183
168
|
return {
|
|
@@ -187,7 +172,6 @@ export var StyledTableBodyRow = styled('tr', function (_ref12) {
|
|
|
187
172
|
};
|
|
188
173
|
});
|
|
189
174
|
StyledTableBodyRow.displayName = "StyledTableBodyRow";
|
|
190
|
-
StyledTableBodyRow.displayName = 'StyledTableBodyRow';
|
|
191
175
|
export var StyledTableBodyCell = styled('td', function (_ref13) {
|
|
192
176
|
var _notLastChild2;
|
|
193
177
|
|
|
@@ -216,7 +200,6 @@ export var StyledTableBodyCell = styled('td', function (_ref13) {
|
|
|
216
200
|
});
|
|
217
201
|
});
|
|
218
202
|
StyledTableBodyCell.displayName = "StyledTableBodyCell";
|
|
219
|
-
StyledTableBodyCell.displayName = 'StyledTableBodyCell';
|
|
220
203
|
export var StyledTableLoadingMessage = styled('div', function (_ref14) {
|
|
221
204
|
var $theme = _ref14.$theme;
|
|
222
205
|
return _objectSpread(_objectSpread({}, $theme.typography.ParagraphSmall), {}, {
|
|
@@ -225,5 +208,4 @@ export var StyledTableLoadingMessage = styled('div', function (_ref14) {
|
|
|
225
208
|
});
|
|
226
209
|
});
|
|
227
210
|
StyledTableLoadingMessage.displayName = "StyledTableLoadingMessage";
|
|
228
|
-
StyledTableLoadingMessage.displayName = 'StyledTableLoadingMessage';
|
|
229
211
|
export var StyledTableEmptyMessage = StyledTableLoadingMessage;
|
|
@@ -96,7 +96,6 @@ var StatefulTabs = /*#__PURE__*/function (_React$Component) {
|
|
|
96
96
|
}, {
|
|
97
97
|
key: "render",
|
|
98
98
|
value: function render() {
|
|
99
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
100
99
|
var _this$props3 = this.props,
|
|
101
100
|
initialState = _this$props3.initialState,
|
|
102
101
|
stateReducer = _this$props3.stateReducer,
|
|
@@ -20,7 +20,6 @@ export var Root = styled('div', function (props) {
|
|
|
20
20
|
};
|
|
21
21
|
});
|
|
22
22
|
Root.displayName = "Root";
|
|
23
|
-
Root.displayName = 'Root';
|
|
24
23
|
export var Tab = styled('div', function (props) {
|
|
25
24
|
var $disabled = props.$disabled,
|
|
26
25
|
$active = props.$active,
|
|
@@ -61,7 +60,6 @@ export var Tab = styled('div', function (props) {
|
|
|
61
60
|
return style;
|
|
62
61
|
});
|
|
63
62
|
Tab.displayName = "Tab";
|
|
64
|
-
Tab.displayName = 'Tab';
|
|
65
63
|
export var TabBar = styled('div', function (props) {
|
|
66
64
|
var $orientation = props.$orientation,
|
|
67
65
|
_props$$theme2 = props.$theme,
|
|
@@ -76,7 +74,6 @@ export var TabBar = styled('div', function (props) {
|
|
|
76
74
|
};
|
|
77
75
|
});
|
|
78
76
|
TabBar.displayName = "TabBar";
|
|
79
|
-
TabBar.displayName = 'TabBar';
|
|
80
77
|
export var TabContent = styled('div', function (props) {
|
|
81
78
|
var $active = props.$active,
|
|
82
79
|
_props$$theme3 = props.$theme,
|
|
@@ -90,5 +87,4 @@ export var TabContent = styled('div', function (props) {
|
|
|
90
87
|
paddingBottom: sizing.scale500
|
|
91
88
|
});
|
|
92
89
|
});
|
|
93
|
-
TabContent.displayName = "TabContent";
|
|
94
|
-
TabContent.displayName = 'TabContent';
|
|
90
|
+
TabContent.displayName = "TabContent";
|
package/esm/tabs/tabs.js
CHANGED
|
@@ -78,8 +78,7 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
|
|
|
78
78
|
orientation = _this$props.orientation,
|
|
79
79
|
children = _this$props.children,
|
|
80
80
|
_this$props$overrides = _this$props.overrides,
|
|
81
|
-
overrides = _this$props$overrides === void 0 ? {} : _this$props$overrides;
|
|
82
|
-
|
|
81
|
+
overrides = _this$props$overrides === void 0 ? {} : _this$props$overrides;
|
|
83
82
|
var tabs = React.Children.map(children, function (child, index) {
|
|
84
83
|
if (!child) return;
|
|
85
84
|
var key = child.key || String(index);
|
|
@@ -117,8 +116,7 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
|
|
|
117
116
|
var _getOverrides = getOverrides(TabContentOverride, StyledTabContent),
|
|
118
117
|
_getOverrides2 = _slicedToArray(_getOverrides, 2),
|
|
119
118
|
TabContent = _getOverrides2[0],
|
|
120
|
-
tabContentProps = _getOverrides2[1];
|
|
121
|
-
|
|
119
|
+
tabContentProps = _getOverrides2[1];
|
|
122
120
|
|
|
123
121
|
var tabs = React.Children.map(children, function (child, index) {
|
|
124
122
|
if (!child) return;
|
|
@@ -30,7 +30,6 @@ export var StyledRoot = styled('div', function (_ref) {
|
|
|
30
30
|
return style;
|
|
31
31
|
});
|
|
32
32
|
StyledRoot.displayName = "StyledRoot";
|
|
33
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
34
33
|
export var StyledTabList = styled('div', function (_ref2) {
|
|
35
34
|
var $theme = _ref2.$theme,
|
|
36
35
|
_ref2$$fill = _ref2.$fill,
|
|
@@ -76,7 +75,6 @@ export var StyledTabList = styled('div', function (_ref2) {
|
|
|
76
75
|
return style;
|
|
77
76
|
});
|
|
78
77
|
StyledTabList.displayName = "StyledTabList";
|
|
79
|
-
StyledTabList.displayName = 'StyledTabList';
|
|
80
78
|
export var StyledTab = styled('button', function (_ref3) {
|
|
81
79
|
var $theme = _ref3.$theme,
|
|
82
80
|
_ref3$$orientation = _ref3.$orientation,
|
|
@@ -147,7 +145,6 @@ export var StyledTab = styled('button', function (_ref3) {
|
|
|
147
145
|
return style;
|
|
148
146
|
});
|
|
149
147
|
StyledTab.displayName = "StyledTab";
|
|
150
|
-
StyledTab.displayName = 'StyledTab';
|
|
151
148
|
export var StyledArtworkContainer = styled('div', function (_ref4) {
|
|
152
149
|
var $theme = _ref4.$theme,
|
|
153
150
|
_ref4$$orientation = _ref4.$orientation,
|
|
@@ -165,7 +162,6 @@ export var StyledArtworkContainer = styled('div', function (_ref4) {
|
|
|
165
162
|
return style;
|
|
166
163
|
});
|
|
167
164
|
StyledArtworkContainer.displayName = "StyledArtworkContainer";
|
|
168
|
-
StyledArtworkContainer.displayName = 'StyledArtworkContainer';
|
|
169
165
|
export var StyledTabBorder = styled('div', function (_ref5) {
|
|
170
166
|
var $theme = _ref5.$theme,
|
|
171
167
|
_ref5$$orientation = _ref5.$orientation,
|
|
@@ -184,7 +180,6 @@ export var StyledTabBorder = styled('div', function (_ref5) {
|
|
|
184
180
|
return style;
|
|
185
181
|
});
|
|
186
182
|
StyledTabBorder.displayName = "StyledTabBorder";
|
|
187
|
-
StyledTabBorder.displayName = 'StyledTabBorder';
|
|
188
183
|
export var StyledTabHighlight = styled('div', function (_ref6) {
|
|
189
184
|
var $theme = _ref6.$theme,
|
|
190
185
|
_ref6$$orientation = _ref6.$orientation,
|
|
@@ -228,7 +223,6 @@ export var StyledTabHighlight = styled('div', function (_ref6) {
|
|
|
228
223
|
return style;
|
|
229
224
|
});
|
|
230
225
|
StyledTabHighlight.displayName = "StyledTabHighlight";
|
|
231
|
-
StyledTabHighlight.displayName = 'StyledTabHighlight';
|
|
232
226
|
export var StyledTabPanel = styled('div', function (_ref7) {
|
|
233
227
|
var $theme = _ref7.$theme,
|
|
234
228
|
_ref7$$pad = _ref7.$pad,
|
|
@@ -248,5 +242,4 @@ export var StyledTabPanel = styled('div', function (_ref7) {
|
|
|
248
242
|
|
|
249
243
|
return style;
|
|
250
244
|
});
|
|
251
|
-
StyledTabPanel.displayName = "StyledTabPanel";
|
|
252
|
-
StyledTabPanel.displayName = 'StyledTabPanel';
|
|
245
|
+
StyledTabPanel.displayName = "StyledTabPanel";
|
package/esm/tabs-motion/tab.js
CHANGED
|
@@ -4,7 +4,6 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
4
4
|
This source code is licensed under the MIT license found in the
|
|
5
5
|
LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8
7
|
export function Tab(props) {
|
|
9
8
|
return null;
|
|
10
9
|
}
|
package/esm/tabs-motion/tabs.js
CHANGED
|
@@ -393,8 +393,7 @@ function InternalTab(_ref2) {
|
|
|
393
393
|
setFocusVisible(true);
|
|
394
394
|
}
|
|
395
395
|
}, []);
|
|
396
|
-
var handleBlur = React.useCallback(
|
|
397
|
-
function (event) {
|
|
396
|
+
var handleBlur = React.useCallback(function (event) {
|
|
398
397
|
if (focusVisible !== false) {
|
|
399
398
|
setFocusVisible(false);
|
|
400
399
|
}
|
|
@@ -279,7 +279,6 @@ export var Action = styled('span', function (props) {
|
|
|
279
279
|
}, _defineProperty(_ref, bottomRadiusDir, $theme.borders.useRoundedCorners ? $theme.borders.radius400 : 0), _defineProperty(_ref, topRadiusDir, $theme.borders.useRoundedCorners ? $theme.borders.radius400 : 0), _defineProperty(_ref, "cursor", $disabled ? 'not-allowed' : 'pointer'), _defineProperty(_ref, "display", 'flex'), _defineProperty(_ref, marginDir, (_SIZE$small$SIZE$medi = {}, _defineProperty(_SIZE$small$SIZE$medi, SIZE.small, '8px'), _defineProperty(_SIZE$small$SIZE$medi, SIZE.medium, '12px'), _defineProperty(_SIZE$small$SIZE$medi, SIZE.large, '16px'), _SIZE$small$SIZE$medi)[$size]), _defineProperty(_ref, "outline", 'none'), _defineProperty(_ref, "transitionProperty", 'all'), _defineProperty(_ref, "transitionDuration", 'background-color'), _defineProperty(_ref, "transitionTimingFunction", $theme.animation.easeOutCurve), _ref;
|
|
280
280
|
});
|
|
281
281
|
Action.displayName = "Action";
|
|
282
|
-
Action.displayName = 'Action';
|
|
283
282
|
export var StartEnhancerContainer = styled('div', function (_ref2) {
|
|
284
283
|
var $theme = _ref2.$theme,
|
|
285
284
|
_ref2$$size = _ref2.$size,
|
|
@@ -299,7 +298,6 @@ export var StartEnhancerContainer = styled('div', function (_ref2) {
|
|
|
299
298
|
}, paddingDir, paddingMagnitude);
|
|
300
299
|
});
|
|
301
300
|
StartEnhancerContainer.displayName = "StartEnhancerContainer";
|
|
302
|
-
StartEnhancerContainer.displayName = 'StartEnhancerContainer';
|
|
303
301
|
export var Text = styled('span', function (props) {
|
|
304
302
|
var $theme = props.$theme;
|
|
305
303
|
return {
|
|
@@ -311,7 +309,6 @@ export var Text = styled('span', function (props) {
|
|
|
311
309
|
};
|
|
312
310
|
});
|
|
313
311
|
Text.displayName = "Text";
|
|
314
|
-
Text.displayName = 'Text';
|
|
315
312
|
export var Root = styled('span', function (props) {
|
|
316
313
|
var _SIZE$small$SIZE$medi2, _SIZE$small$SIZE$medi3, _SIZE$small$SIZE$medi4;
|
|
317
314
|
|
|
@@ -377,5 +374,4 @@ export var Root = styled('span', function (props) {
|
|
|
377
374
|
}
|
|
378
375
|
});
|
|
379
376
|
});
|
|
380
|
-
Root.displayName = "Root";
|
|
381
|
-
Root.displayName = 'Root';
|
|
377
|
+
Root.displayName = "Root";
|
package/esm/tag/tag.js
CHANGED
|
@@ -77,8 +77,7 @@ var Tag = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
77
77
|
if (isFocusVisible(event)) {
|
|
78
78
|
setFocusVisible(true);
|
|
79
79
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
80
|
+
}
|
|
82
81
|
|
|
83
82
|
function handleBlur(event) {
|
|
84
83
|
if (focusVisible !== false) {
|
|
@@ -161,8 +160,7 @@ var Tag = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
161
160
|
var actionSize = (_SIZE$small$SIZE$medi = {}, _defineProperty(_SIZE$small$SIZE$medi, SIZE.small, 12), _defineProperty(_SIZE$small$SIZE$medi, SIZE.medium, 16), _defineProperty(_SIZE$small$SIZE$medi, SIZE.large, 20), _SIZE$small$SIZE$medi)[size]; // Capitalize for JSX
|
|
162
161
|
|
|
163
162
|
var StartEnhancer = startEnhancer;
|
|
164
|
-
return /*#__PURE__*/React.createElement(Root
|
|
165
|
-
, _extends({
|
|
163
|
+
return /*#__PURE__*/React.createElement(Root, _extends({
|
|
166
164
|
ref: ref,
|
|
167
165
|
"data-baseweb": "tag",
|
|
168
166
|
"aria-label": isButton && closeable ? "".concat(typeof children === 'string' ? "".concat(children, ", ") : '', "close by backspace") : null,
|
|
@@ -20,18 +20,15 @@ export var StyledTextAreaRoot = styled('div', function (props) {
|
|
|
20
20
|
}));
|
|
21
21
|
});
|
|
22
22
|
StyledTextAreaRoot.displayName = "StyledTextAreaRoot";
|
|
23
|
-
StyledTextAreaRoot.displayName = 'StyledTextAreaRoot';
|
|
24
23
|
export var StyledTextareaContainer = styled('div', function (props) {
|
|
25
24
|
return _objectSpread({}, getInputContainerStyles(_objectSpread({
|
|
26
25
|
$positive: false
|
|
27
26
|
}, props)));
|
|
28
27
|
});
|
|
29
28
|
StyledTextareaContainer.displayName = "StyledTextareaContainer";
|
|
30
|
-
StyledTextareaContainer.displayName = 'StyledTextareaContainer';
|
|
31
29
|
export var StyledTextarea = styled('textarea', function (props) {
|
|
32
30
|
return _objectSpread(_objectSpread({}, getInputStyles(props)), {}, {
|
|
33
31
|
resize: 'none'
|
|
34
32
|
});
|
|
35
33
|
});
|
|
36
|
-
StyledTextarea.displayName = "StyledTextarea";
|
|
37
|
-
StyledTextarea.displayName = 'StyledTextarea';
|
|
34
|
+
StyledTextarea.displayName = "StyledTextarea";
|
|
@@ -67,61 +67,61 @@ export default (function () {
|
|
|
67
67
|
var font550 = {
|
|
68
68
|
fontFamily: fontTokens.primaryFontFamily,
|
|
69
69
|
fontSize: '20px',
|
|
70
|
-
fontWeight:
|
|
70
|
+
fontWeight: 500,
|
|
71
71
|
lineHeight: '28px'
|
|
72
72
|
};
|
|
73
73
|
var font650 = {
|
|
74
74
|
fontFamily: fontTokens.primaryFontFamily,
|
|
75
75
|
fontSize: '24px',
|
|
76
|
-
fontWeight:
|
|
76
|
+
fontWeight: 500,
|
|
77
77
|
lineHeight: '32px'
|
|
78
78
|
};
|
|
79
79
|
var font750 = {
|
|
80
80
|
fontFamily: fontTokens.primaryFontFamily,
|
|
81
81
|
fontSize: '28px',
|
|
82
|
-
fontWeight:
|
|
82
|
+
fontWeight: 500,
|
|
83
83
|
lineHeight: '36px'
|
|
84
84
|
};
|
|
85
85
|
var font850 = {
|
|
86
86
|
fontFamily: fontTokens.primaryFontFamily,
|
|
87
87
|
fontSize: '32px',
|
|
88
|
-
fontWeight:
|
|
88
|
+
fontWeight: 500,
|
|
89
89
|
lineHeight: '40px'
|
|
90
90
|
};
|
|
91
91
|
var font950 = {
|
|
92
92
|
fontFamily: fontTokens.primaryFontFamily,
|
|
93
93
|
fontSize: '36px',
|
|
94
|
-
fontWeight:
|
|
94
|
+
fontWeight: 500,
|
|
95
95
|
lineHeight: '44px'
|
|
96
96
|
};
|
|
97
97
|
var font1050 = {
|
|
98
98
|
fontFamily: fontTokens.primaryFontFamily,
|
|
99
99
|
fontSize: '40px',
|
|
100
|
-
fontWeight:
|
|
100
|
+
fontWeight: 500,
|
|
101
101
|
lineHeight: '52px'
|
|
102
102
|
};
|
|
103
103
|
var font1150 = {
|
|
104
104
|
fontFamily: fontTokens.primaryFontFamily,
|
|
105
105
|
fontSize: '36px',
|
|
106
|
-
fontWeight:
|
|
106
|
+
fontWeight: 500,
|
|
107
107
|
lineHeight: '44px'
|
|
108
108
|
};
|
|
109
109
|
var font1250 = {
|
|
110
110
|
fontFamily: fontTokens.primaryFontFamily,
|
|
111
111
|
fontSize: '44px',
|
|
112
|
-
fontWeight:
|
|
112
|
+
fontWeight: 500,
|
|
113
113
|
lineHeight: '52px'
|
|
114
114
|
};
|
|
115
115
|
var font1350 = {
|
|
116
116
|
fontFamily: fontTokens.primaryFontFamily,
|
|
117
117
|
fontSize: '52px',
|
|
118
|
-
fontWeight:
|
|
118
|
+
fontWeight: 500,
|
|
119
119
|
lineHeight: '64px'
|
|
120
120
|
};
|
|
121
121
|
var font1450 = {
|
|
122
122
|
fontFamily: fontTokens.primaryFontFamily,
|
|
123
123
|
fontSize: '96px',
|
|
124
|
-
fontWeight:
|
|
124
|
+
fontWeight: 500,
|
|
125
125
|
lineHeight: '112px'
|
|
126
126
|
};
|
|
127
127
|
return {
|
|
@@ -104,7 +104,6 @@ export var Root = styled('div', function (_ref) {
|
|
|
104
104
|
}, getPlacement($placement));
|
|
105
105
|
});
|
|
106
106
|
Root.displayName = "Root";
|
|
107
|
-
Root.displayName = 'Root';
|
|
108
107
|
export var InnerContainer = styled('div', // eslint-disable-next-line no-empty-pattern
|
|
109
108
|
function (_ref2) {
|
|
110
109
|
_objectDestructuringEmpty(_ref2);
|
|
@@ -112,7 +111,6 @@ function (_ref2) {
|
|
|
112
111
|
return {};
|
|
113
112
|
});
|
|
114
113
|
InnerContainer.displayName = "InnerContainer";
|
|
115
|
-
InnerContainer.displayName = 'InnerContainer';
|
|
116
114
|
export var Body = styled('div', function (_ref3) {
|
|
117
115
|
var $isVisible = _ref3.$isVisible,
|
|
118
116
|
$kind = _ref3.$kind,
|
|
@@ -145,7 +143,6 @@ export var Body = styled('div', function (_ref3) {
|
|
|
145
143
|
});
|
|
146
144
|
});
|
|
147
145
|
Body.displayName = "Body";
|
|
148
|
-
Body.displayName = 'Body';
|
|
149
146
|
export var CloseIconSvg = styled('svg', function (_ref4) {
|
|
150
147
|
var $theme = _ref4.$theme,
|
|
151
148
|
$size = _ref4.$size,
|
|
@@ -162,5 +159,4 @@ export var CloseIconSvg = styled('svg', function (_ref4) {
|
|
|
162
159
|
outline: $isFocusVisible ? "3px solid ".concat($theme.colors.accent) : 'none'
|
|
163
160
|
});
|
|
164
161
|
});
|
|
165
|
-
CloseIconSvg.displayName = "CloseIconSvg";
|
|
166
|
-
CloseIconSvg.displayName = 'CloseIconSvg';
|
|
162
|
+
CloseIconSvg.displayName = "CloseIconSvg";
|
package/esm/toast/toaster.js
CHANGED
|
@@ -60,6 +60,8 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
60
60
|
This source code is licensed under the MIT license found in the
|
|
61
61
|
LICENSE file in the root directory of this source tree.
|
|
62
62
|
*/
|
|
63
|
+
|
|
64
|
+
/* eslint-disable cup/no-undef */
|
|
63
65
|
import * as React from 'react';
|
|
64
66
|
import ReactDOM from 'react-dom';
|
|
65
67
|
import { getOverrides, mergeOverrides } from '../helpers/overrides';
|
package/esm/tokens/colors.js
CHANGED
|
@@ -50,14 +50,6 @@ var 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',
|
|
61
53
|
green50: '#E6F2ED',
|
|
62
54
|
green100: '#ADDEC9',
|
|
63
55
|
green200: '#66D19E',
|
|
@@ -66,14 +58,6 @@ var colors = {
|
|
|
66
58
|
green500: '#03703C',
|
|
67
59
|
green600: '#03582F',
|
|
68
60
|
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',
|
|
77
61
|
blue50: '#EFF3FE',
|
|
78
62
|
blue100: '#D4E2FC',
|
|
79
63
|
blue200: '#A0BFF8',
|
|
@@ -98,14 +82,6 @@ var colors = {
|
|
|
98
82
|
purple500: '#574191',
|
|
99
83
|
purple600: '#453473',
|
|
100
84
|
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',
|
|
109
85
|
brown50: '#F6F0EA',
|
|
110
86
|
brown100: '#EBE0DB',
|
|
111
87
|
brown200: '#D2BBB0',
|
|
@@ -40,7 +40,6 @@ export var Body = styled('div', function (props) {
|
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
Body.displayName = "Body";
|
|
43
|
-
Body.displayName = 'Body';
|
|
44
43
|
export var Inner = styled('div', function (props) {
|
|
45
44
|
return _objectSpread(_objectSpread(_objectSpread({}, getInnerStyles(props)), {}, {
|
|
46
45
|
backgroundColor: props.$theme.colors.tooltipBackground,
|
|
@@ -57,11 +56,9 @@ export var Inner = styled('div', function (props) {
|
|
|
57
56
|
});
|
|
58
57
|
});
|
|
59
58
|
Inner.displayName = "Inner";
|
|
60
|
-
Inner.displayName = 'Inner';
|
|
61
59
|
export var Arrow = styled('div', function (props) {
|
|
62
60
|
return _objectSpread(_objectSpread({}, getArrowStyles(props)), {}, {
|
|
63
61
|
backgroundColor: props.$theme.colors.tooltipBackground
|
|
64
62
|
});
|
|
65
63
|
});
|
|
66
|
-
Arrow.displayName = "Arrow";
|
|
67
|
-
Arrow.displayName = 'Arrow';
|
|
64
|
+
Arrow.displayName = "Arrow";
|
package/esm/tree-view/index.js
CHANGED
|
@@ -12,5 +12,4 @@ 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.*/
|
|
16
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15
|
+
/** @deprecated use TreeNodeData instead. To be removed in future versions.*/
|