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
|
@@ -30,7 +30,6 @@ export var StyledRoot = styled('li', function (_ref) {
|
|
|
30
30
|
};
|
|
31
31
|
});
|
|
32
32
|
StyledRoot.displayName = "StyledRoot";
|
|
33
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
34
33
|
export var StyledContent = styled('div', function (_ref2) {
|
|
35
34
|
var $mLeft = _ref2.$mLeft,
|
|
36
35
|
$sublist = _ref2.$sublist,
|
|
@@ -53,13 +52,11 @@ export var StyledContent = styled('div', function (_ref2) {
|
|
|
53
52
|
});
|
|
54
53
|
});
|
|
55
54
|
StyledContent.displayName = "StyledContent";
|
|
56
|
-
StyledContent.displayName = 'StyledContent';
|
|
57
55
|
export var StyledEndEnhancerContainer = styled('div', {
|
|
58
56
|
alignItems: 'center',
|
|
59
57
|
display: 'flex'
|
|
60
58
|
});
|
|
61
59
|
StyledEndEnhancerContainer.displayName = "StyledEndEnhancerContainer";
|
|
62
|
-
StyledEndEnhancerContainer.displayName = 'StyledEndEnhancerContainer';
|
|
63
60
|
export var StyledArtworkContainer = styled('div', function (_ref3) {
|
|
64
61
|
var $artworkSize = _ref3.$artworkSize,
|
|
65
62
|
$sublist = _ref3.$sublist,
|
|
@@ -83,7 +80,6 @@ export var StyledArtworkContainer = styled('div', function (_ref3) {
|
|
|
83
80
|
};
|
|
84
81
|
});
|
|
85
82
|
StyledArtworkContainer.displayName = "StyledArtworkContainer";
|
|
86
|
-
StyledArtworkContainer.displayName = 'StyledArtworkContainer';
|
|
87
83
|
export var StyledLabelContent = styled('p', function (_ref4) {
|
|
88
84
|
var $theme = _ref4.$theme;
|
|
89
85
|
return _objectSpread(_objectSpread({}, $theme.typography.LabelMedium), {}, {
|
|
@@ -93,7 +89,6 @@ export var StyledLabelContent = styled('p', function (_ref4) {
|
|
|
93
89
|
});
|
|
94
90
|
});
|
|
95
91
|
StyledLabelContent.displayName = "StyledLabelContent";
|
|
96
|
-
StyledLabelContent.displayName = 'StyledLabelContent';
|
|
97
92
|
export var StyledLabelDescription = styled('p', function (_ref5) {
|
|
98
93
|
var $theme = _ref5.$theme;
|
|
99
94
|
return _objectSpread(_objectSpread({}, $theme.typography.ParagraphSmall), {}, {
|
|
@@ -103,7 +98,6 @@ export var StyledLabelDescription = styled('p', function (_ref5) {
|
|
|
103
98
|
});
|
|
104
99
|
});
|
|
105
100
|
StyledLabelDescription.displayName = "StyledLabelDescription";
|
|
106
|
-
StyledLabelDescription.displayName = 'StyledLabelDescription';
|
|
107
101
|
export var StyledLabelSublistContent = styled('p', function (_ref6) {
|
|
108
102
|
var $theme = _ref6.$theme;
|
|
109
103
|
return _objectSpread(_objectSpread({}, $theme.typography.LabelMedium), {}, {
|
|
@@ -113,7 +107,6 @@ export var StyledLabelSublistContent = styled('p', function (_ref6) {
|
|
|
113
107
|
});
|
|
114
108
|
});
|
|
115
109
|
StyledLabelSublistContent.displayName = "StyledLabelSublistContent";
|
|
116
|
-
StyledLabelSublistContent.displayName = 'StyledLabelSublistContent';
|
|
117
110
|
export var StyledHeadingRoot = styled('div', function (_ref7) {
|
|
118
111
|
var $theme = _ref7.$theme;
|
|
119
112
|
return {
|
|
@@ -126,7 +119,6 @@ export var StyledHeadingRoot = styled('div', function (_ref7) {
|
|
|
126
119
|
};
|
|
127
120
|
});
|
|
128
121
|
StyledHeadingRoot.displayName = "StyledHeadingRoot";
|
|
129
|
-
StyledHeadingRoot.displayName = 'StyledHeadingRoot';
|
|
130
122
|
export var StyledHeadingContent = styled('div', function (_ref8) {
|
|
131
123
|
var $theme = _ref8.$theme;
|
|
132
124
|
return _objectSpread({
|
|
@@ -144,14 +136,12 @@ export var StyledHeadingContent = styled('div', function (_ref8) {
|
|
|
144
136
|
});
|
|
145
137
|
});
|
|
146
138
|
StyledHeadingContent.displayName = "StyledHeadingContent";
|
|
147
|
-
StyledHeadingContent.displayName = 'StyledHeadingContent';
|
|
148
139
|
export var StyledHeadingContentRow = styled('div', {
|
|
149
140
|
display: 'flex',
|
|
150
141
|
justifyContent: 'space-between',
|
|
151
142
|
width: '100%'
|
|
152
143
|
});
|
|
153
144
|
StyledHeadingContentRow.displayName = "StyledHeadingContentRow";
|
|
154
|
-
StyledHeadingContentRow.displayName = 'StyledHeadingContentRow';
|
|
155
145
|
export var StyledHeadingMainHeading = styled('p', function (_ref9) {
|
|
156
146
|
var _ref9$$maxLines = _ref9.$maxLines,
|
|
157
147
|
$maxLines = _ref9$$maxLines === void 0 ? 1 : _ref9$$maxLines,
|
|
@@ -168,7 +158,6 @@ export var StyledHeadingMainHeading = styled('p', function (_ref9) {
|
|
|
168
158
|
});
|
|
169
159
|
});
|
|
170
160
|
StyledHeadingMainHeading.displayName = "StyledHeadingMainHeading";
|
|
171
|
-
StyledHeadingMainHeading.displayName = 'StyledHeadingMainHeading';
|
|
172
161
|
export var StyledHeadingSubHeading = styled('p', function (_ref10) {
|
|
173
162
|
var _ref10$$maxLines = _ref10.$maxLines,
|
|
174
163
|
$maxLines = _ref10$$maxLines === void 0 ? 1 : _ref10$$maxLines,
|
|
@@ -185,7 +174,6 @@ export var StyledHeadingSubHeading = styled('p', function (_ref10) {
|
|
|
185
174
|
});
|
|
186
175
|
});
|
|
187
176
|
StyledHeadingSubHeading.displayName = "StyledHeadingSubHeading";
|
|
188
|
-
StyledHeadingSubHeading.displayName = 'StyledHeadingSubHeading';
|
|
189
177
|
export var StyledHeadingEndEnhancerContainer = styled('div', function (_ref11) {
|
|
190
178
|
var $isText = _ref11.$isText,
|
|
191
179
|
$theme = _ref11.$theme;
|
|
@@ -198,7 +186,6 @@ export var StyledHeadingEndEnhancerContainer = styled('div', function (_ref11) {
|
|
|
198
186
|
});
|
|
199
187
|
});
|
|
200
188
|
StyledHeadingEndEnhancerContainer.displayName = "StyledHeadingEndEnhancerContainer";
|
|
201
|
-
StyledHeadingEndEnhancerContainer.displayName = 'StyledHeadingEndEnhancerContainer';
|
|
202
189
|
export var StyledHeadingEndEnhancerDescriptionContainer = styled('p', function (_ref12) {
|
|
203
190
|
var $theme = _ref12.$theme;
|
|
204
191
|
return _objectSpread(_objectSpread({}, $theme.typography.ParagraphMedium), {}, {
|
|
@@ -211,5 +198,4 @@ export var StyledHeadingEndEnhancerDescriptionContainer = styled('p', function (
|
|
|
211
198
|
textOverflow: 'ellipsis'
|
|
212
199
|
});
|
|
213
200
|
});
|
|
214
|
-
StyledHeadingEndEnhancerDescriptionContainer.displayName = "StyledHeadingEndEnhancerDescriptionContainer";
|
|
215
|
-
StyledHeadingEndEnhancerDescriptionContainer.displayName = 'StyledHeadingEndEnhancerDescriptionContainer';
|
|
201
|
+
StyledHeadingEndEnhancerDescriptionContainer.displayName = "StyledHeadingEndEnhancerDescriptionContainer";
|
package/esm/locale/es_AR.js
CHANGED
|
@@ -77,9 +77,7 @@ var es_AR = {
|
|
|
77
77
|
booleanFilterTrue: 'verdadero',
|
|
78
78
|
booleanFilterFalse: 'falso',
|
|
79
79
|
booleanColumnTrueShort: 'V',
|
|
80
|
-
booleanColumnFalseShort: 'F'
|
|
81
|
-
selectRow: 'Seleccionar fila',
|
|
82
|
-
selectAllRows: 'Seleccionar todas las filas'
|
|
80
|
+
booleanColumnFalseShort: 'F'
|
|
83
81
|
},
|
|
84
82
|
buttongroup: {
|
|
85
83
|
ariaLabel: 'grupo de botones'
|
package/esm/locale/index.js
CHANGED
|
@@ -10,13 +10,10 @@ import en_US from './en_US';
|
|
|
10
10
|
export var LocaleContext = /*#__PURE__*/React.createContext(en_US);
|
|
11
11
|
|
|
12
12
|
var LocaleProvider = function LocaleProvider(props) {
|
|
13
|
-
var _React$useContext;
|
|
14
|
-
|
|
15
13
|
var locale = props.locale,
|
|
16
14
|
children = props.children;
|
|
17
|
-
var parentLocale = (_React$useContext = React.useContext(LocaleContext)) !== null && _React$useContext !== void 0 ? _React$useContext : {};
|
|
18
15
|
return /*#__PURE__*/React.createElement(LocaleContext.Provider, {
|
|
19
|
-
value: extend({}, en_US,
|
|
16
|
+
value: extend({}, en_US, locale)
|
|
20
17
|
}, children);
|
|
21
18
|
};
|
|
22
19
|
|
package/esm/locale/tr_TR.js
CHANGED
|
@@ -77,9 +77,7 @@ var tr_TR = {
|
|
|
77
77
|
booleanFilterTrue: 'doğru',
|
|
78
78
|
booleanFilterFalse: 'yanlış',
|
|
79
79
|
booleanColumnTrueShort: 'D',
|
|
80
|
-
booleanColumnFalseShort: 'Y'
|
|
81
|
-
selectRow: 'satır seç',
|
|
82
|
-
selectAllRows: 'Tüm satırları seç'
|
|
80
|
+
booleanColumnFalseShort: 'Y'
|
|
83
81
|
},
|
|
84
82
|
buttongroup: {
|
|
85
83
|
ariaLabel: 'buton grup'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _Object$freeze, _Object$freeze2, _LABEL_SIZES, _xSmallPinheadBadge, _PINHEAD_SIZES_SHAPES, _PINHEAD_SIZES_SHAPES2, _PINHEAD_SIZES_SHAPES3, _BADGE_ENHANCER_POSIT, _BADGE_ENHANCER_STYLE, _BADGE_ENHANCER_CONTE
|
|
1
|
+
var _Object$freeze, _Object$freeze2, _LABEL_SIZES, _xSmallPinheadBadge, _PINHEAD_SIZES_SHAPES, _PINHEAD_SIZES_SHAPES2, _PINHEAD_SIZES_SHAPES3, _BADGE_ENHANCER_POSIT, _BADGE_ENHANCER_STYLE, _BADGE_ENHANCER_CONTE;
|
|
2
2
|
|
|
3
3
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
4
|
|
|
@@ -149,14 +149,4 @@ export var KIND = Object.freeze({
|
|
|
149
149
|
default: 'default',
|
|
150
150
|
accent: 'accent',
|
|
151
151
|
negative: 'negative'
|
|
152
|
-
});
|
|
153
|
-
export var LOCATION_PUCK_SIZES = Object.freeze({
|
|
154
|
-
small: 'small',
|
|
155
|
-
medium: 'medium',
|
|
156
|
-
large: 'large'
|
|
157
|
-
});
|
|
158
|
-
export var LOCATION_PUCK_TYPES = Object.freeze({
|
|
159
|
-
consumer: 'consumer',
|
|
160
|
-
earner: 'earner'
|
|
161
|
-
});
|
|
162
|
-
export var EARNER_LOCATION_PUCK_CORE_SCALES = Object.freeze((_Object$freeze3 = {}, _defineProperty(_Object$freeze3, LOCATION_PUCK_SIZES.small, '50%'), _defineProperty(_Object$freeze3, LOCATION_PUCK_SIZES.medium, '75%'), _defineProperty(_Object$freeze3, LOCATION_PUCK_SIZES.large, '100%'), _Object$freeze3));
|
|
152
|
+
});
|
package/esm/map-marker/index.js
CHANGED
|
@@ -6,7 +6,6 @@ LICENSE file in the root directory of this source tree.
|
|
|
6
6
|
*/
|
|
7
7
|
export { default as FixedMarker } from './fixed-marker';
|
|
8
8
|
export { default as FloatingMarker } from './floating-marker';
|
|
9
|
-
export {
|
|
10
|
-
export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, PINHEAD_DIMENSIONS, LOCATION_PUCK_SIZES, LOCATION_PUCK_TYPES } from './constants';
|
|
9
|
+
export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, PINHEAD_DIMENSIONS } from './constants';
|
|
11
10
|
export * from './types';
|
|
12
11
|
/** @deprecated use AnchorPositions instead. To be removed in future versions.*/
|
|
@@ -11,7 +11,7 @@ This source code is licensed under the MIT license found in the
|
|
|
11
11
|
LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
import { styled } from '../styles';
|
|
14
|
-
import { BADGE_ENHANCER_STYLES, FLOATING_MARKER_ANCHOR_POSITIONS, LABEL_SIZES
|
|
14
|
+
import { BADGE_ENHANCER_STYLES, FLOATING_MARKER_ANCHOR_POSITIONS, LABEL_SIZES } from './constants';
|
|
15
15
|
export var getAnchorTransform = function getAnchorTransform(anchor, anchorSize) {
|
|
16
16
|
var _FLOATING_MARKER_ANCH;
|
|
17
17
|
|
|
@@ -33,7 +33,6 @@ export var StyledDragShadowContainer = styled('div', function (_ref) {
|
|
|
33
33
|
};
|
|
34
34
|
});
|
|
35
35
|
StyledDragShadowContainer.displayName = "StyledDragShadowContainer";
|
|
36
|
-
StyledDragShadowContainer.displayName = 'StyledDragShadowContainer';
|
|
37
36
|
export var StyledDragShadow = styled('div', function (_ref2) {
|
|
38
37
|
var $theme = _ref2.$theme,
|
|
39
38
|
$background = _ref2.$background,
|
|
@@ -48,7 +47,6 @@ export var StyledDragShadow = styled('div', function (_ref2) {
|
|
|
48
47
|
};
|
|
49
48
|
});
|
|
50
49
|
StyledDragShadow.displayName = "StyledDragShadow";
|
|
51
|
-
StyledDragShadow.displayName = 'StyledDragShadow';
|
|
52
50
|
export var StyledNeedle = styled('div', function (_ref3) {
|
|
53
51
|
var $theme = _ref3.$theme,
|
|
54
52
|
$background = _ref3.$background,
|
|
@@ -61,7 +59,6 @@ export var StyledNeedle = styled('div', function (_ref3) {
|
|
|
61
59
|
};
|
|
62
60
|
});
|
|
63
61
|
StyledNeedle.displayName = "StyledNeedle";
|
|
64
|
-
StyledNeedle.displayName = 'StyledNeedle';
|
|
65
62
|
export var StyledFloatingMarkerRoot = styled('div', function (_ref4) {
|
|
66
63
|
var $size = _ref4.$size;
|
|
67
64
|
return {
|
|
@@ -71,7 +68,6 @@ export var StyledFloatingMarkerRoot = styled('div', function (_ref4) {
|
|
|
71
68
|
};
|
|
72
69
|
});
|
|
73
70
|
StyledFloatingMarkerRoot.displayName = "StyledFloatingMarkerRoot";
|
|
74
|
-
StyledFloatingMarkerRoot.displayName = 'StyledFloatingMarkerRoot';
|
|
75
71
|
export var StyledFloatingMarkerPinHeadContainer = styled('div', function (_ref5) {
|
|
76
72
|
var $theme = _ref5.$theme,
|
|
77
73
|
$anchor = _ref5.$anchor,
|
|
@@ -83,14 +79,12 @@ export var StyledFloatingMarkerPinHeadContainer = styled('div', function (_ref5)
|
|
|
83
79
|
};
|
|
84
80
|
});
|
|
85
81
|
StyledFloatingMarkerPinHeadContainer.displayName = "StyledFloatingMarkerPinHeadContainer";
|
|
86
|
-
StyledFloatingMarkerPinHeadContainer.displayName = 'StyledFloatingMarkerPinHeadContainer';
|
|
87
82
|
export var StyledFloatingMarkerAnchorContainer = styled('div', function () {
|
|
88
83
|
return {
|
|
89
84
|
position: 'absolute'
|
|
90
85
|
};
|
|
91
86
|
});
|
|
92
87
|
StyledFloatingMarkerAnchorContainer.displayName = "StyledFloatingMarkerAnchorContainer";
|
|
93
|
-
StyledFloatingMarkerAnchorContainer.displayName = 'StyledFloatingMarkerAnchorContainer';
|
|
94
88
|
export var StyledFixedMarkerRoot = styled('div', function () {
|
|
95
89
|
return {
|
|
96
90
|
display: 'flex',
|
|
@@ -99,7 +93,6 @@ export var StyledFixedMarkerRoot = styled('div', function () {
|
|
|
99
93
|
};
|
|
100
94
|
});
|
|
101
95
|
StyledFixedMarkerRoot.displayName = "StyledFixedMarkerRoot";
|
|
102
|
-
StyledFixedMarkerRoot.displayName = 'StyledFixedMarkerRoot';
|
|
103
96
|
export var StyledFixedMarkerDragContainer = styled('div', function (_ref6) {
|
|
104
97
|
var $theme = _ref6.$theme,
|
|
105
98
|
$translateAmount = _ref6.$translateAmount,
|
|
@@ -113,7 +106,6 @@ export var StyledFixedMarkerDragContainer = styled('div', function (_ref6) {
|
|
|
113
106
|
};
|
|
114
107
|
});
|
|
115
108
|
StyledFixedMarkerDragContainer.displayName = "StyledFixedMarkerDragContainer";
|
|
116
|
-
StyledFixedMarkerDragContainer.displayName = 'StyledFixedMarkerDragContainer';
|
|
117
109
|
export var StyledOuterXXSmallAnchor = styled('div', function (_ref7) {
|
|
118
110
|
var $theme = _ref7.$theme,
|
|
119
111
|
$round = _ref7.$round,
|
|
@@ -131,7 +123,6 @@ export var StyledOuterXXSmallAnchor = styled('div', function (_ref7) {
|
|
|
131
123
|
};
|
|
132
124
|
});
|
|
133
125
|
StyledOuterXXSmallAnchor.displayName = "StyledOuterXXSmallAnchor";
|
|
134
|
-
StyledOuterXXSmallAnchor.displayName = 'StyledOuterXXSmallAnchor';
|
|
135
126
|
export var StyledInnerXXSmallAnchor = styled('div', function (_ref8) {
|
|
136
127
|
var $round = _ref8.$round,
|
|
137
128
|
$color = _ref8.$color,
|
|
@@ -144,7 +135,6 @@ export var StyledInnerXXSmallAnchor = styled('div', function (_ref8) {
|
|
|
144
135
|
};
|
|
145
136
|
});
|
|
146
137
|
StyledInnerXXSmallAnchor.displayName = "StyledInnerXXSmallAnchor";
|
|
147
|
-
StyledInnerXXSmallAnchor.displayName = 'StyledInnerXXSmallAnchor';
|
|
148
138
|
export var StyledOuterXSmallAnchor = styled('div', function (_ref9) {
|
|
149
139
|
var $theme = _ref9.$theme,
|
|
150
140
|
$round = _ref9.$round,
|
|
@@ -162,7 +152,6 @@ export var StyledOuterXSmallAnchor = styled('div', function (_ref9) {
|
|
|
162
152
|
};
|
|
163
153
|
});
|
|
164
154
|
StyledOuterXSmallAnchor.displayName = "StyledOuterXSmallAnchor";
|
|
165
|
-
StyledOuterXSmallAnchor.displayName = 'StyledOuterXSmallAnchor';
|
|
166
155
|
export var StyledInnerXSmallAnchor = styled('div', function (_ref10) {
|
|
167
156
|
var $round = _ref10.$round,
|
|
168
157
|
$color = _ref10.$color,
|
|
@@ -175,7 +164,6 @@ export var StyledInnerXSmallAnchor = styled('div', function (_ref10) {
|
|
|
175
164
|
};
|
|
176
165
|
});
|
|
177
166
|
StyledInnerXSmallAnchor.displayName = "StyledInnerXSmallAnchor";
|
|
178
|
-
StyledInnerXSmallAnchor.displayName = 'StyledInnerXSmallAnchor';
|
|
179
167
|
export var StyledPinHead = styled('div', function (_ref11) {
|
|
180
168
|
var $theme = _ref11.$theme,
|
|
181
169
|
$height = _ref11.$height,
|
|
@@ -208,7 +196,6 @@ export var StyledPinHead = styled('div', function (_ref11) {
|
|
|
208
196
|
});
|
|
209
197
|
});
|
|
210
198
|
StyledPinHead.displayName = "StyledPinHead";
|
|
211
|
-
StyledPinHead.displayName = 'StyledPinHead';
|
|
212
199
|
export var StyledStrokedLabelContainer = styled('div', function (_ref12) {
|
|
213
200
|
var $position = _ref12.$position,
|
|
214
201
|
$theme = _ref12.$theme,
|
|
@@ -253,7 +240,6 @@ export var StyledStrokedLabelContainer = styled('div', function (_ref12) {
|
|
|
253
240
|
}, positions[$position]);
|
|
254
241
|
});
|
|
255
242
|
StyledStrokedLabelContainer.displayName = "StyledStrokedLabelContainer";
|
|
256
|
-
StyledStrokedLabelContainer.displayName = 'StyledStrokedLabelContainer';
|
|
257
243
|
export var StyledStrokedLabel = styled('div', function (_ref13) {
|
|
258
244
|
var $theme = _ref13.$theme,
|
|
259
245
|
$size = _ref13.$size;
|
|
@@ -272,7 +258,6 @@ export var StyledStrokedLabel = styled('div', function (_ref13) {
|
|
|
272
258
|
});
|
|
273
259
|
});
|
|
274
260
|
StyledStrokedLabel.displayName = "StyledStrokedLabel";
|
|
275
|
-
StyledStrokedLabel.displayName = 'StyledStrokedLabel';
|
|
276
261
|
export var StyledBadgeEnhancerRoot = styled('div', function (_ref14) {
|
|
277
262
|
var $theme = _ref14.$theme,
|
|
278
263
|
$size = _ref14.$size,
|
|
@@ -291,14 +276,12 @@ export var StyledBadgeEnhancerRoot = styled('div', function (_ref14) {
|
|
|
291
276
|
}, BADGE_ENHANCER_STYLES[$size]);
|
|
292
277
|
});
|
|
293
278
|
StyledBadgeEnhancerRoot.displayName = "StyledBadgeEnhancerRoot";
|
|
294
|
-
StyledBadgeEnhancerRoot.displayName = 'StyledBadgeEnhancerRoot';
|
|
295
279
|
export var RelativeContainer = styled('div', function () {
|
|
296
280
|
return {
|
|
297
281
|
position: 'relative'
|
|
298
282
|
};
|
|
299
283
|
});
|
|
300
284
|
RelativeContainer.displayName = "RelativeContainer";
|
|
301
|
-
RelativeContainer.displayName = 'RelativeContainer';
|
|
302
285
|
export var StyledContentItem = styled('div', function (_ref15) {
|
|
303
286
|
var $theme = _ref15.$theme,
|
|
304
287
|
$color = _ref15.$color,
|
|
@@ -313,67 +296,4 @@ export var StyledContentItem = styled('div', function (_ref15) {
|
|
|
313
296
|
color: $color
|
|
314
297
|
});
|
|
315
298
|
});
|
|
316
|
-
StyledContentItem.displayName = "StyledContentItem";
|
|
317
|
-
StyledContentItem.displayName = 'StyledContentItem';
|
|
318
|
-
export var LocationPuckContainer = styled('div', function () {
|
|
319
|
-
return {
|
|
320
|
-
position: 'relative',
|
|
321
|
-
display: 'flex',
|
|
322
|
-
alignItems: 'center',
|
|
323
|
-
justifyContent: 'center'
|
|
324
|
-
};
|
|
325
|
-
});
|
|
326
|
-
LocationPuckContainer.displayName = "LocationPuckContainer";
|
|
327
|
-
LocationPuckContainer.displayName = 'LocationPuckContainer';
|
|
328
|
-
export var consumerLocationShadow = {
|
|
329
|
-
boxShadow: "0px 2px 4px 0px rgba(67, 76, 123, 0.2)"
|
|
330
|
-
};
|
|
331
|
-
export var earnerLocationShadow = {
|
|
332
|
-
boxShadow: "0px 3px 5px 0px rgba(67, 76, 123, 0.4)"
|
|
333
|
-
};
|
|
334
|
-
export var StyledConsumerLocationPuckCore = styled('div', function (_ref16) {
|
|
335
|
-
var $theme = _ref16.$theme;
|
|
336
|
-
return _objectSpread({
|
|
337
|
-
height: "".concat(12, "px"),
|
|
338
|
-
width: "".concat(12, "px"),
|
|
339
|
-
background: $theme.colors.contentAccent,
|
|
340
|
-
borderRadius: "".concat(100, "px "),
|
|
341
|
-
position: 'absolute'
|
|
342
|
-
}, consumerLocationShadow);
|
|
343
|
-
});
|
|
344
|
-
StyledConsumerLocationPuckCore.displayName = "StyledConsumerLocationPuckCore";
|
|
345
|
-
export var StyledLocationPuckApproximation = styled('div', function (_ref17) {
|
|
346
|
-
var $theme = _ref17.$theme,
|
|
347
|
-
$color = _ref17.$color,
|
|
348
|
-
$radius = _ref17.$radius;
|
|
349
|
-
return {
|
|
350
|
-
background: $color,
|
|
351
|
-
opacity: 0.12,
|
|
352
|
-
height: "".concat($radius / 2, "px"),
|
|
353
|
-
width: "".concat($radius / 2, "px"),
|
|
354
|
-
borderRadius: "".concat(10000, "px "),
|
|
355
|
-
position: 'absolute',
|
|
356
|
-
transition: "".concat($theme.animation.timing300, " ").concat($theme.animation.easeOutCurve, " all")
|
|
357
|
-
};
|
|
358
|
-
});
|
|
359
|
-
StyledLocationPuckApproximation.displayName = "StyledLocationPuckApproximation";
|
|
360
|
-
StyledLocationPuckApproximation.displayName = 'StyledLocationPuckApproximation';
|
|
361
|
-
export var StyledEarnerLocationPuckCore = styled('div', function (_ref18) {
|
|
362
|
-
var $theme = _ref18.$theme,
|
|
363
|
-
$color = _ref18.$color,
|
|
364
|
-
$size = _ref18.$size;
|
|
365
|
-
return _objectSpread(_objectSpread({
|
|
366
|
-
position: 'absolute',
|
|
367
|
-
transform: "scale(".concat(EARNER_LOCATION_PUCK_CORE_SCALES[$size], ")"),
|
|
368
|
-
transition: "".concat($theme.animation.timing300, " ").concat($theme.animation.easeOutCurve, " all")
|
|
369
|
-
}, earnerLocationShadow), {}, {
|
|
370
|
-
borderRadius: '50%',
|
|
371
|
-
height: "".concat(72, "px"),
|
|
372
|
-
width: "".concat(72, "px"),
|
|
373
|
-
background: $theme.colors.backgroundPrimary,
|
|
374
|
-
border: "".concat(6, "px solid ", $color),
|
|
375
|
-
boxSizing: 'border-box'
|
|
376
|
-
});
|
|
377
|
-
});
|
|
378
|
-
StyledEarnerLocationPuckCore.displayName = "StyledEarnerLocationPuckCore";
|
|
379
|
-
StyledEarnerLocationPuckCore.displayName = 'StyledEarnerLocationPuckCore';
|
|
299
|
+
StyledContentItem.displayName = "StyledContentItem";
|
package/esm/menu/menu.js
CHANGED
|
@@ -59,8 +59,7 @@ export default function Menu(props) {
|
|
|
59
59
|
if (isFocusVisible(event)) {
|
|
60
60
|
setFocusVisible(true);
|
|
61
61
|
}
|
|
62
|
-
};
|
|
63
|
-
|
|
62
|
+
};
|
|
64
63
|
|
|
65
64
|
var handleBlur = function handleBlur(event) {
|
|
66
65
|
if (focusVisible !== false) {
|
|
@@ -102,12 +101,10 @@ export default function Menu(props) {
|
|
|
102
101
|
els.push( /*#__PURE__*/React.createElement(OptgroupHeader, _extends({
|
|
103
102
|
key: optgroup
|
|
104
103
|
}, optgroupHeaderProps), optgroup));
|
|
105
|
-
}
|
|
106
|
-
|
|
104
|
+
}
|
|
107
105
|
|
|
108
106
|
var groupItems = groupedItems[optgroup].map(function (item, index) {
|
|
109
|
-
itemIndex = itemIndex + 1;
|
|
110
|
-
|
|
107
|
+
itemIndex = itemIndex + 1;
|
|
111
108
|
var _props$getRequiredIte = props.getRequiredItemProps,
|
|
112
109
|
getRequiredItemProps = _props$getRequiredIte === void 0 ? function (item, index) {
|
|
113
110
|
return {};
|
|
@@ -30,7 +30,6 @@ import MaybeChildMenu from './maybe-child-menu';
|
|
|
30
30
|
import { StyledListItemProfile, StyledProfileImgContainer, StyledProfileImg, StyledProfileLabelsContainer, StyledProfileTitle, StyledProfileSubtitle, StyledProfileBody } from './styled-components';
|
|
31
31
|
import { getOverrides } from '../helpers/overrides'; // Types
|
|
32
32
|
|
|
33
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
34
33
|
function OptionProfile(props, ref) {
|
|
35
34
|
var item = props.item,
|
|
36
35
|
getChildMenu = props.getChildMenu,
|
|
@@ -468,7 +468,6 @@ var MenuStatefulContainerInner = /*#__PURE__*/function (_React$Component) {
|
|
|
468
468
|
handleMouseLeave: this.handleMouseLeave,
|
|
469
469
|
highlightedIndex: this.state.highlightedIndex,
|
|
470
470
|
isFocused: this.state.isFocused,
|
|
471
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
472
471
|
handleKeyDown: this.props.keyboardControlNode.current ? function (event) {} : this.onKeyDown,
|
|
473
472
|
focusMenu: this.focusMenu,
|
|
474
473
|
unfocusMenu: this.unfocusMenu
|
|
@@ -45,7 +45,6 @@ export var StyledList = styled('ul', function (_ref) {
|
|
|
45
45
|
};
|
|
46
46
|
});
|
|
47
47
|
StyledList.displayName = "StyledList";
|
|
48
|
-
StyledList.displayName = 'StyledList';
|
|
49
48
|
|
|
50
49
|
function getFontColor(props) {
|
|
51
50
|
if (props.$disabled) {
|
|
@@ -93,7 +92,6 @@ export var StyledEmptyState = styled('li', function (props) {
|
|
|
93
92
|
});
|
|
94
93
|
});
|
|
95
94
|
StyledEmptyState.displayName = "StyledEmptyState";
|
|
96
|
-
StyledEmptyState.displayName = 'StyledEmptyState';
|
|
97
95
|
export var StyledOptgroupHeader = styled('li', function (props) {
|
|
98
96
|
var paddingX = props.$theme.sizing.scale300;
|
|
99
97
|
var paddingY = props.$theme.sizing.scale200;
|
|
@@ -106,7 +104,6 @@ export var StyledOptgroupHeader = styled('li', function (props) {
|
|
|
106
104
|
});
|
|
107
105
|
});
|
|
108
106
|
StyledOptgroupHeader.displayName = "StyledOptgroupHeader";
|
|
109
|
-
StyledOptgroupHeader.displayName = 'StyledOptgroupHeader';
|
|
110
107
|
export var StyledListItemAnchor = styled('a', function (props) {
|
|
111
108
|
return {
|
|
112
109
|
display: 'block',
|
|
@@ -114,7 +111,6 @@ export var StyledListItemAnchor = styled('a', function (props) {
|
|
|
114
111
|
};
|
|
115
112
|
});
|
|
116
113
|
StyledListItemAnchor.displayName = "StyledListItemAnchor";
|
|
117
|
-
StyledListItemAnchor.displayName = 'StyledListItemAnchor';
|
|
118
114
|
export var StyledListItemElement = styled('li', function (props) {
|
|
119
115
|
var $disabled = props.$disabled,
|
|
120
116
|
$theme = props.$theme,
|
|
@@ -139,16 +135,13 @@ export var StyledListItemElement = styled('li', function (props) {
|
|
|
139
135
|
});
|
|
140
136
|
});
|
|
141
137
|
StyledListItemElement.displayName = "StyledListItemElement";
|
|
142
|
-
StyledListItemElement.displayName = 'StyledListItemElement';
|
|
143
138
|
export var StyledListItem = withWrapper(StyledListItemElement, function (Styled) {
|
|
144
|
-
return (
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
restProps = _objectWithoutProperties(_ref2, _excluded);
|
|
139
|
+
return function StyledListItem(_ref2) {
|
|
140
|
+
var item = _ref2.item,
|
|
141
|
+
restProps = _objectWithoutProperties(_ref2, _excluded);
|
|
148
142
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
);
|
|
143
|
+
return /*#__PURE__*/React.createElement(Styled, restProps);
|
|
144
|
+
};
|
|
152
145
|
});
|
|
153
146
|
export var StyledListItemProfile = styled('li', function (_ref3) {
|
|
154
147
|
var $theme = _ref3.$theme;
|
|
@@ -170,7 +163,6 @@ export var StyledListItemProfile = styled('li', function (_ref3) {
|
|
|
170
163
|
};
|
|
171
164
|
});
|
|
172
165
|
StyledListItemProfile.displayName = "StyledListItemProfile";
|
|
173
|
-
StyledListItemProfile.displayName = 'StyledListItemProfile';
|
|
174
166
|
export var StyledProfileImgContainer = styled('div', {
|
|
175
167
|
width: '60px',
|
|
176
168
|
height: '60px',
|
|
@@ -179,7 +171,6 @@ export var StyledProfileImgContainer = styled('div', {
|
|
|
179
171
|
alignItems: 'center'
|
|
180
172
|
});
|
|
181
173
|
StyledProfileImgContainer.displayName = "StyledProfileImgContainer";
|
|
182
|
-
StyledProfileImgContainer.displayName = 'StyledProfileImgContainer';
|
|
183
174
|
export var StyledProfileImg = styled('img', {
|
|
184
175
|
width: '100%',
|
|
185
176
|
height: '100%',
|
|
@@ -189,7 +180,6 @@ export var StyledProfileImg = styled('img', {
|
|
|
189
180
|
borderBottomLeftRadius: '50%'
|
|
190
181
|
});
|
|
191
182
|
StyledProfileImg.displayName = "StyledProfileImg";
|
|
192
|
-
StyledProfileImg.displayName = 'StyledProfileImg';
|
|
193
183
|
export var StyledProfileLabelsContainer = styled('div', function (_ref4) {
|
|
194
184
|
var _ref4$$theme = _ref4.$theme,
|
|
195
185
|
direction = _ref4$$theme.direction,
|
|
@@ -205,7 +195,6 @@ export var StyledProfileLabelsContainer = styled('div', function (_ref4) {
|
|
|
205
195
|
});
|
|
206
196
|
});
|
|
207
197
|
StyledProfileLabelsContainer.displayName = "StyledProfileLabelsContainer";
|
|
208
|
-
StyledProfileLabelsContainer.displayName = 'StyledProfileLabelsContainer';
|
|
209
198
|
export var StyledProfileTitle = styled('h6', function (_ref5) {
|
|
210
199
|
var $theme = _ref5.$theme;
|
|
211
200
|
return _objectSpread(_objectSpread({}, $theme.typography.font350), {}, {
|
|
@@ -217,7 +206,6 @@ export var StyledProfileTitle = styled('h6', function (_ref5) {
|
|
|
217
206
|
});
|
|
218
207
|
});
|
|
219
208
|
StyledProfileTitle.displayName = "StyledProfileTitle";
|
|
220
|
-
StyledProfileTitle.displayName = 'StyledProfileTitle';
|
|
221
209
|
export var StyledProfileSubtitle = styled('p', function (_ref6) {
|
|
222
210
|
var $theme = _ref6.$theme;
|
|
223
211
|
return _objectSpread(_objectSpread({}, $theme.typography.font200), {}, {
|
|
@@ -229,7 +217,6 @@ export var StyledProfileSubtitle = styled('p', function (_ref6) {
|
|
|
229
217
|
});
|
|
230
218
|
});
|
|
231
219
|
StyledProfileSubtitle.displayName = "StyledProfileSubtitle";
|
|
232
|
-
StyledProfileSubtitle.displayName = 'StyledProfileSubtitle';
|
|
233
220
|
export var StyledProfileBody = styled('p', function (_ref7) {
|
|
234
221
|
var $theme = _ref7.$theme;
|
|
235
222
|
return _objectSpread(_objectSpread({}, $theme.typography.font100), {}, {
|
|
@@ -240,5 +227,4 @@ export var StyledProfileBody = styled('p', function (_ref7) {
|
|
|
240
227
|
marginRight: 0
|
|
241
228
|
});
|
|
242
229
|
});
|
|
243
|
-
StyledProfileBody.displayName = "StyledProfileBody";
|
|
244
|
-
StyledProfileBody.displayName = 'StyledProfileBody';
|
|
230
|
+
StyledProfileBody.displayName = "StyledProfileBody";
|
package/esm/modal/modal.js
CHANGED
|
@@ -44,6 +44,8 @@ LICENSE file in the root directory of this source tree.
|
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
46
|
/* global document */
|
|
47
|
+
|
|
48
|
+
/* eslint-disable cup/no-undef */
|
|
47
49
|
import * as React from 'react';
|
|
48
50
|
import FocusLock from 'react-focus-lock';
|
|
49
51
|
import { LocaleContext } from '../locale';
|
|
@@ -204,6 +206,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
|
204
206
|
}
|
|
205
207
|
|
|
206
208
|
if (this.animateStartTimer) {
|
|
209
|
+
// eslint-disable-next-line cup/no-undef
|
|
207
210
|
cancelAnimationFrame(this.animateStartTimer);
|
|
208
211
|
}
|
|
209
212
|
}
|
|
@@ -222,7 +225,8 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
|
222
225
|
|
|
223
226
|
|
|
224
227
|
this.clearTimers();
|
|
225
|
-
this.disableMountNodeScroll();
|
|
228
|
+
this.disableMountNodeScroll(); // eslint-disable-next-line cup/no-undef
|
|
229
|
+
|
|
226
230
|
this.animateStartTimer = requestAnimationFrame(function () {
|
|
227
231
|
_this2.setState({
|
|
228
232
|
isVisible: true
|
|
@@ -272,7 +276,6 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
|
272
276
|
if (mountNode) {
|
|
273
277
|
return mountNode;
|
|
274
278
|
} // Flow thinks body could be null (cast through any)
|
|
275
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
276
279
|
|
|
277
280
|
|
|
278
281
|
return document.body;
|
|
@@ -333,8 +336,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
|
333
336
|
}, /*#__PURE__*/React.createElement(Root, _extends({
|
|
334
337
|
"data-baseweb": "modal",
|
|
335
338
|
ref: _this3.rootRef
|
|
336
|
-
}, sharedProps, rootProps), /*#__PURE__*/React.createElement(DialogContainer
|
|
337
|
-
, _extends({
|
|
339
|
+
}, sharedProps, rootProps), /*#__PURE__*/React.createElement(DialogContainer, _extends({
|
|
338
340
|
ref: _this3.dialogContainerRef
|
|
339
341
|
}, sharedProps, dialogContainerProps), /*#__PURE__*/React.createElement(Dialog, _extends({
|
|
340
342
|
tabIndex: -1,
|
|
@@ -47,7 +47,6 @@ export var Root = styled('div', function (props) {
|
|
|
47
47
|
};
|
|
48
48
|
});
|
|
49
49
|
Root.displayName = "Root";
|
|
50
|
-
Root.displayName = 'Root';
|
|
51
50
|
export var DialogContainer = styled('div', function (props) {
|
|
52
51
|
var $animate = props.$animate,
|
|
53
52
|
$isOpen = props.$isOpen,
|
|
@@ -73,7 +72,6 @@ export var DialogContainer = styled('div', function (props) {
|
|
|
73
72
|
}, $animate ? animationRules : null);
|
|
74
73
|
});
|
|
75
74
|
DialogContainer.displayName = "DialogContainer";
|
|
76
|
-
DialogContainer.displayName = 'DialogContainer';
|
|
77
75
|
export var Dialog = styled('div', function (props) {
|
|
78
76
|
var $animate = props.$animate,
|
|
79
77
|
$isOpen = props.$isOpen,
|
|
@@ -110,7 +108,6 @@ export var Dialog = styled('div', function (props) {
|
|
|
110
108
|
});
|
|
111
109
|
});
|
|
112
110
|
Dialog.displayName = "Dialog";
|
|
113
|
-
Dialog.displayName = 'Dialog';
|
|
114
111
|
export var Close = styled('button', function (props) {
|
|
115
112
|
var _ref;
|
|
116
113
|
|
|
@@ -153,7 +150,6 @@ export var Close = styled('button', function (props) {
|
|
|
153
150
|
}, _defineProperty(_ref, dir, $theme.sizing.scale500), _defineProperty(_ref, "width", $theme.sizing.scale800), _defineProperty(_ref, "height", $theme.sizing.scale800), _defineProperty(_ref, "display", 'flex'), _defineProperty(_ref, "justifyContent", 'center'), _defineProperty(_ref, "alignItems", 'center'), _defineProperty(_ref, "cursor", 'pointer'), _ref;
|
|
154
151
|
});
|
|
155
152
|
Close.displayName = "Close";
|
|
156
|
-
Close.displayName = 'Close';
|
|
157
153
|
export var ModalHeader = styled('div', function (_ref2) {
|
|
158
154
|
var _objectSpread2;
|
|
159
155
|
|
|
@@ -167,7 +163,6 @@ export var ModalHeader = styled('div', function (_ref2) {
|
|
|
167
163
|
}, _defineProperty(_objectSpread2, marginStartDir, $theme.sizing.scale800), _defineProperty(_objectSpread2, marginEndDir, $theme.sizing.scale900), _objectSpread2));
|
|
168
164
|
});
|
|
169
165
|
ModalHeader.displayName = "ModalHeader";
|
|
170
|
-
ModalHeader.displayName = 'ModalHeader';
|
|
171
166
|
export var ModalBody = styled('div', function (_ref3) {
|
|
172
167
|
var $theme = _ref3.$theme;
|
|
173
168
|
return _objectSpread(_objectSpread({}, $theme.typography.font200), {}, {
|
|
@@ -179,7 +174,6 @@ export var ModalBody = styled('div', function (_ref3) {
|
|
|
179
174
|
});
|
|
180
175
|
});
|
|
181
176
|
ModalBody.displayName = "ModalBody";
|
|
182
|
-
ModalBody.displayName = 'ModalBody';
|
|
183
177
|
export var ModalFooter = styled('div', function (_ref4) {
|
|
184
178
|
var $theme = _ref4.$theme;
|
|
185
179
|
return _objectSpread(_objectSpread({}, $theme.typography.font200), {}, {
|
|
@@ -191,5 +185,4 @@ export var ModalFooter = styled('div', function (_ref4) {
|
|
|
191
185
|
textAlign: $theme.direction === 'rtl' ? 'left' : 'right'
|
|
192
186
|
});
|
|
193
187
|
});
|
|
194
|
-
ModalFooter.displayName = "ModalFooter";
|
|
195
|
-
ModalFooter.displayName = 'ModalFooter';
|
|
188
|
+
ModalFooter.displayName = "ModalFooter";
|
|
@@ -107,7 +107,6 @@ var PaginationStatefulContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
107
107
|
|
|
108
108
|
_defineProperty(PaginationStatefulContainer, "defaultProps", {
|
|
109
109
|
initialState: initialState,
|
|
110
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
111
110
|
stateReducer: function stateReducer(changeType, changes) {
|
|
112
111
|
return changes;
|
|
113
112
|
}
|