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/map-marker/constants.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.xxSmallPinheadDimension = exports.xSmallPinheadDimension = exports.dragShadowWidth = exports.dragShadowMarginTop = exports.dragShadowHeight = exports.anchorSize = exports.PINHEAD_TYPES = exports.PINHEAD_SIZES_SHAPES = exports.PINHEAD_DIMENSIONS = exports.NEEDLE_SIZES = exports.NEEDLE_HEIGHTS = exports.
|
|
6
|
+
exports.xxSmallPinheadDimension = exports.xSmallPinheadDimension = exports.dragShadowWidth = exports.dragShadowMarginTop = exports.dragShadowHeight = exports.anchorSize = exports.PINHEAD_TYPES = exports.PINHEAD_SIZES_SHAPES = exports.PINHEAD_DIMENSIONS = exports.NEEDLE_SIZES = exports.NEEDLE_HEIGHTS = exports.LABEL_SIZES = exports.LABEL_ENHANCER_POSITIONS = exports.KIND = exports.FLOATING_MARKER_SIZES = exports.FLOATING_MARKER_ANCHOR_TYPES = exports.FLOATING_MARKER_ANCHOR_POSITIONS = exports.BADGE_ENHANCER_STYLES = exports.BADGE_ENHANCER_SIZES = exports.BADGE_ENHANCER_POSITIONS = exports.BADGE_ENHANCER_CONTENT_SIZE = void 0;
|
|
7
7
|
|
|
8
|
-
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
|
|
8
|
+
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;
|
|
9
9
|
|
|
10
10
|
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; }
|
|
11
11
|
|
|
@@ -177,17 +177,4 @@ var KIND = Object.freeze({
|
|
|
177
177
|
accent: 'accent',
|
|
178
178
|
negative: 'negative'
|
|
179
179
|
});
|
|
180
|
-
exports.KIND = KIND;
|
|
181
|
-
var LOCATION_PUCK_SIZES = Object.freeze({
|
|
182
|
-
small: 'small',
|
|
183
|
-
medium: 'medium',
|
|
184
|
-
large: 'large'
|
|
185
|
-
});
|
|
186
|
-
exports.LOCATION_PUCK_SIZES = LOCATION_PUCK_SIZES;
|
|
187
|
-
var LOCATION_PUCK_TYPES = Object.freeze({
|
|
188
|
-
consumer: 'consumer',
|
|
189
|
-
earner: 'earner'
|
|
190
|
-
});
|
|
191
|
-
exports.LOCATION_PUCK_TYPES = LOCATION_PUCK_TYPES;
|
|
192
|
-
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));
|
|
193
|
-
exports.EARNER_LOCATION_PUCK_CORE_SCALES = EARNER_LOCATION_PUCK_CORE_SCALES;
|
|
180
|
+
exports.KIND = KIND;
|
|
@@ -221,23 +221,6 @@ export const KIND = Object.freeze({
|
|
|
221
221
|
negative: 'negative',
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export const LOCATION_PUCK_SIZES = Object.freeze({
|
|
225
|
-
small: 'small',
|
|
226
|
-
medium: 'medium',
|
|
227
|
-
large: 'large',
|
|
228
|
-
});
|
|
229
|
-
|
|
230
|
-
export const LOCATION_PUCK_TYPES = Object.freeze({
|
|
231
|
-
consumer: 'consumer',
|
|
232
|
-
earner: 'earner',
|
|
233
|
-
});
|
|
234
|
-
|
|
235
|
-
export const EARNER_LOCATION_PUCK_CORE_SCALES = Object.freeze({
|
|
236
|
-
[LOCATION_PUCK_SIZES.small]: '50%',
|
|
237
|
-
[LOCATION_PUCK_SIZES.medium]: '75%',
|
|
238
|
-
[LOCATION_PUCK_SIZES.large]: '100%',
|
|
239
|
-
});
|
|
240
|
-
|
|
241
224
|
declare var __DEV__: boolean;
|
|
242
225
|
declare var __NODE__: boolean;
|
|
243
226
|
declare var __BROWSER__: boolean;
|
package/map-marker/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { AnchorPositions, NeedleSize, PinHead, PinHeadSize, FloatingMarkerSize, FloatingMarkerAnchorType, BadgeEnhancerSize, LabelEnhancerPosition, Kind, FixedMarkerOverrides, NeedleProps, ItemProps, LabelEnhancer, LabelEhancerComponent, BadgeEnhancer, BadgeEnhancerComponent, BadgePosition, FixedMarkerProps, FloatingMarkerOverrides, FloatingMarkerProps, PinHeadProps, DragShadowProps } from './types';
|
|
2
2
|
export { default as FixedMarker } from './fixed-marker';
|
|
3
3
|
export { default as FloatingMarker } from './floating-marker';
|
|
4
|
-
export {
|
|
5
|
-
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';
|
|
4
|
+
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';
|
|
6
5
|
export * from './types';
|
|
7
6
|
/** @deprecated use AnchorPositions instead. To be removed in future versions.*/
|
|
8
7
|
export declare type AnchorPositionsT = AnchorPositions;
|
package/map-marker/index.js
CHANGED
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
FixedMarker: true,
|
|
8
8
|
FloatingMarker: true,
|
|
9
|
-
LocationPuck: true,
|
|
10
9
|
FLOATING_MARKER_ANCHOR_POSITIONS: true,
|
|
11
10
|
FLOATING_MARKER_SIZES: true,
|
|
12
11
|
FLOATING_MARKER_ANCHOR_TYPES: true,
|
|
@@ -15,9 +14,7 @@ var _exportNames = {
|
|
|
15
14
|
BADGE_ENHANCER_SIZES: true,
|
|
16
15
|
LABEL_ENHANCER_POSITIONS: true,
|
|
17
16
|
KIND: true,
|
|
18
|
-
PINHEAD_DIMENSIONS: true
|
|
19
|
-
LOCATION_PUCK_SIZES: true,
|
|
20
|
-
LOCATION_PUCK_TYPES: true
|
|
17
|
+
PINHEAD_DIMENSIONS: true
|
|
21
18
|
};
|
|
22
19
|
Object.defineProperty(exports, "BADGE_ENHANCER_SIZES", {
|
|
23
20
|
enumerable: true,
|
|
@@ -67,24 +64,6 @@ Object.defineProperty(exports, "LABEL_ENHANCER_POSITIONS", {
|
|
|
67
64
|
return _constants.LABEL_ENHANCER_POSITIONS;
|
|
68
65
|
}
|
|
69
66
|
});
|
|
70
|
-
Object.defineProperty(exports, "LOCATION_PUCK_SIZES", {
|
|
71
|
-
enumerable: true,
|
|
72
|
-
get: function get() {
|
|
73
|
-
return _constants.LOCATION_PUCK_SIZES;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
Object.defineProperty(exports, "LOCATION_PUCK_TYPES", {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function get() {
|
|
79
|
-
return _constants.LOCATION_PUCK_TYPES;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(exports, "LocationPuck", {
|
|
83
|
-
enumerable: true,
|
|
84
|
-
get: function get() {
|
|
85
|
-
return _locationPuck.default;
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
67
|
Object.defineProperty(exports, "NEEDLE_SIZES", {
|
|
89
68
|
enumerable: true,
|
|
90
69
|
get: function get() {
|
|
@@ -108,8 +87,6 @@ var _fixedMarker = _interopRequireDefault(require("./fixed-marker"));
|
|
|
108
87
|
|
|
109
88
|
var _floatingMarker = _interopRequireDefault(require("./floating-marker"));
|
|
110
89
|
|
|
111
|
-
var _locationPuck = _interopRequireDefault(require("./location-puck"));
|
|
112
|
-
|
|
113
90
|
var _constants = require("./constants");
|
|
114
91
|
|
|
115
92
|
var _types = require("./types");
|
package/map-marker/index.js.flow
CHANGED
|
@@ -5,9 +5,9 @@ This source code is licensed under the MIT license found in the
|
|
|
5
5
|
LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
// @flow
|
|
8
|
-
export { default as FixedMarker } from './fixed-marker';
|
|
9
|
-
export { default as FloatingMarker } from './floating-marker';
|
|
10
|
-
|
|
8
|
+
export { default as FixedMarker } from './fixed-marker.js';
|
|
9
|
+
export { default as FloatingMarker } from './floating-marker.js';
|
|
10
|
+
|
|
11
11
|
export {
|
|
12
12
|
FLOATING_MARKER_ANCHOR_POSITIONS,
|
|
13
13
|
FLOATING_MARKER_SIZES,
|
|
@@ -17,8 +17,6 @@ export {
|
|
|
17
17
|
BADGE_ENHANCER_SIZES,
|
|
18
18
|
LABEL_ENHANCER_POSITIONS,
|
|
19
19
|
KIND,
|
|
20
|
-
LOCATION_PUCK_SIZES,
|
|
21
|
-
LOCATION_PUCK_TYPES,
|
|
22
20
|
PINHEAD_DIMENSIONS,
|
|
23
21
|
} from './constants.js';
|
|
24
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnchorPositions, LabelEnhancerPosition, BadgeEnhancerSize, BadgePosition, PinHeadSize
|
|
1
|
+
import type { AnchorPositions, LabelEnhancerPosition, BadgeEnhancerSize, BadgePosition, PinHeadSize } from './types';
|
|
2
2
|
export declare const getAnchorTransform: (anchor: AnchorPositions, anchorSize: number) => string;
|
|
3
3
|
export declare const StyledDragShadowContainer: import("styletron-react").StyletronComponent<"div", {
|
|
4
4
|
$height: number;
|
|
@@ -72,19 +72,3 @@ export declare const StyledContentItem: import("styletron-react").StyletronCompo
|
|
|
72
72
|
$height: number;
|
|
73
73
|
$size: PinHeadSize;
|
|
74
74
|
}>;
|
|
75
|
-
export declare const LocationPuckContainer: import("styletron-react").StyletronComponent<"div", {}>;
|
|
76
|
-
export declare const consumerLocationShadow: {
|
|
77
|
-
boxShadow: string;
|
|
78
|
-
};
|
|
79
|
-
export declare const earnerLocationShadow: {
|
|
80
|
-
boxShadow: string;
|
|
81
|
-
};
|
|
82
|
-
export declare const StyledConsumerLocationPuckCore: import("styletron-react").StyletronComponent<"div", {}>;
|
|
83
|
-
export declare const StyledLocationPuckApproximation: import("styletron-react").StyletronComponent<"div", {
|
|
84
|
-
$color: string;
|
|
85
|
-
$radius: number;
|
|
86
|
-
}>;
|
|
87
|
-
export declare const StyledEarnerLocationPuckCore: import("styletron-react").StyletronComponent<"div", {
|
|
88
|
-
$color: string;
|
|
89
|
-
$size: LocationPuckSize;
|
|
90
|
-
}>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getAnchorTransform = exports.
|
|
6
|
+
exports.getAnchorTransform = exports.StyledStrokedLabelContainer = exports.StyledStrokedLabel = exports.StyledPinHead = exports.StyledOuterXXSmallAnchor = exports.StyledOuterXSmallAnchor = exports.StyledNeedle = exports.StyledInnerXXSmallAnchor = exports.StyledInnerXSmallAnchor = exports.StyledFloatingMarkerRoot = exports.StyledFloatingMarkerPinHeadContainer = exports.StyledFloatingMarkerAnchorContainer = exports.StyledFixedMarkerRoot = exports.StyledFixedMarkerDragContainer = exports.StyledDragShadowContainer = exports.StyledDragShadow = exports.StyledContentItem = exports.StyledBadgeEnhancerRoot = exports.RelativeContainer = void 0;
|
|
7
7
|
|
|
8
8
|
var _styles = require("../styles");
|
|
9
9
|
|
|
@@ -39,7 +39,6 @@ var StyledDragShadowContainer = (0, _styles.styled)('div', function (_ref) {
|
|
|
39
39
|
});
|
|
40
40
|
exports.StyledDragShadowContainer = StyledDragShadowContainer;
|
|
41
41
|
StyledDragShadowContainer.displayName = "StyledDragShadowContainer";
|
|
42
|
-
StyledDragShadowContainer.displayName = 'StyledDragShadowContainer';
|
|
43
42
|
var StyledDragShadow = (0, _styles.styled)('div', function (_ref2) {
|
|
44
43
|
var $theme = _ref2.$theme,
|
|
45
44
|
$background = _ref2.$background,
|
|
@@ -55,7 +54,6 @@ var StyledDragShadow = (0, _styles.styled)('div', function (_ref2) {
|
|
|
55
54
|
});
|
|
56
55
|
exports.StyledDragShadow = StyledDragShadow;
|
|
57
56
|
StyledDragShadow.displayName = "StyledDragShadow";
|
|
58
|
-
StyledDragShadow.displayName = 'StyledDragShadow';
|
|
59
57
|
var StyledNeedle = (0, _styles.styled)('div', function (_ref3) {
|
|
60
58
|
var $theme = _ref3.$theme,
|
|
61
59
|
$background = _ref3.$background,
|
|
@@ -69,7 +67,6 @@ var StyledNeedle = (0, _styles.styled)('div', function (_ref3) {
|
|
|
69
67
|
});
|
|
70
68
|
exports.StyledNeedle = StyledNeedle;
|
|
71
69
|
StyledNeedle.displayName = "StyledNeedle";
|
|
72
|
-
StyledNeedle.displayName = 'StyledNeedle';
|
|
73
70
|
var StyledFloatingMarkerRoot = (0, _styles.styled)('div', function (_ref4) {
|
|
74
71
|
var $size = _ref4.$size;
|
|
75
72
|
return {
|
|
@@ -80,7 +77,6 @@ var StyledFloatingMarkerRoot = (0, _styles.styled)('div', function (_ref4) {
|
|
|
80
77
|
});
|
|
81
78
|
exports.StyledFloatingMarkerRoot = StyledFloatingMarkerRoot;
|
|
82
79
|
StyledFloatingMarkerRoot.displayName = "StyledFloatingMarkerRoot";
|
|
83
|
-
StyledFloatingMarkerRoot.displayName = 'StyledFloatingMarkerRoot';
|
|
84
80
|
var StyledFloatingMarkerPinHeadContainer = (0, _styles.styled)('div', function (_ref5) {
|
|
85
81
|
var $theme = _ref5.$theme,
|
|
86
82
|
$anchor = _ref5.$anchor,
|
|
@@ -93,7 +89,6 @@ var StyledFloatingMarkerPinHeadContainer = (0, _styles.styled)('div', function (
|
|
|
93
89
|
});
|
|
94
90
|
exports.StyledFloatingMarkerPinHeadContainer = StyledFloatingMarkerPinHeadContainer;
|
|
95
91
|
StyledFloatingMarkerPinHeadContainer.displayName = "StyledFloatingMarkerPinHeadContainer";
|
|
96
|
-
StyledFloatingMarkerPinHeadContainer.displayName = 'StyledFloatingMarkerPinHeadContainer';
|
|
97
92
|
var StyledFloatingMarkerAnchorContainer = (0, _styles.styled)('div', function () {
|
|
98
93
|
return {
|
|
99
94
|
position: 'absolute'
|
|
@@ -101,7 +96,6 @@ var StyledFloatingMarkerAnchorContainer = (0, _styles.styled)('div', function ()
|
|
|
101
96
|
});
|
|
102
97
|
exports.StyledFloatingMarkerAnchorContainer = StyledFloatingMarkerAnchorContainer;
|
|
103
98
|
StyledFloatingMarkerAnchorContainer.displayName = "StyledFloatingMarkerAnchorContainer";
|
|
104
|
-
StyledFloatingMarkerAnchorContainer.displayName = 'StyledFloatingMarkerAnchorContainer';
|
|
105
99
|
var StyledFixedMarkerRoot = (0, _styles.styled)('div', function () {
|
|
106
100
|
return {
|
|
107
101
|
display: 'flex',
|
|
@@ -111,7 +105,6 @@ var StyledFixedMarkerRoot = (0, _styles.styled)('div', function () {
|
|
|
111
105
|
});
|
|
112
106
|
exports.StyledFixedMarkerRoot = StyledFixedMarkerRoot;
|
|
113
107
|
StyledFixedMarkerRoot.displayName = "StyledFixedMarkerRoot";
|
|
114
|
-
StyledFixedMarkerRoot.displayName = 'StyledFixedMarkerRoot';
|
|
115
108
|
var StyledFixedMarkerDragContainer = (0, _styles.styled)('div', function (_ref6) {
|
|
116
109
|
var $theme = _ref6.$theme,
|
|
117
110
|
$translateAmount = _ref6.$translateAmount,
|
|
@@ -126,7 +119,6 @@ var StyledFixedMarkerDragContainer = (0, _styles.styled)('div', function (_ref6)
|
|
|
126
119
|
});
|
|
127
120
|
exports.StyledFixedMarkerDragContainer = StyledFixedMarkerDragContainer;
|
|
128
121
|
StyledFixedMarkerDragContainer.displayName = "StyledFixedMarkerDragContainer";
|
|
129
|
-
StyledFixedMarkerDragContainer.displayName = 'StyledFixedMarkerDragContainer';
|
|
130
122
|
var StyledOuterXXSmallAnchor = (0, _styles.styled)('div', function (_ref7) {
|
|
131
123
|
var $theme = _ref7.$theme,
|
|
132
124
|
$round = _ref7.$round,
|
|
@@ -145,7 +137,6 @@ var StyledOuterXXSmallAnchor = (0, _styles.styled)('div', function (_ref7) {
|
|
|
145
137
|
});
|
|
146
138
|
exports.StyledOuterXXSmallAnchor = StyledOuterXXSmallAnchor;
|
|
147
139
|
StyledOuterXXSmallAnchor.displayName = "StyledOuterXXSmallAnchor";
|
|
148
|
-
StyledOuterXXSmallAnchor.displayName = 'StyledOuterXXSmallAnchor';
|
|
149
140
|
var StyledInnerXXSmallAnchor = (0, _styles.styled)('div', function (_ref8) {
|
|
150
141
|
var $round = _ref8.$round,
|
|
151
142
|
$color = _ref8.$color,
|
|
@@ -159,7 +150,6 @@ var StyledInnerXXSmallAnchor = (0, _styles.styled)('div', function (_ref8) {
|
|
|
159
150
|
});
|
|
160
151
|
exports.StyledInnerXXSmallAnchor = StyledInnerXXSmallAnchor;
|
|
161
152
|
StyledInnerXXSmallAnchor.displayName = "StyledInnerXXSmallAnchor";
|
|
162
|
-
StyledInnerXXSmallAnchor.displayName = 'StyledInnerXXSmallAnchor';
|
|
163
153
|
var StyledOuterXSmallAnchor = (0, _styles.styled)('div', function (_ref9) {
|
|
164
154
|
var $theme = _ref9.$theme,
|
|
165
155
|
$round = _ref9.$round,
|
|
@@ -178,7 +168,6 @@ var StyledOuterXSmallAnchor = (0, _styles.styled)('div', function (_ref9) {
|
|
|
178
168
|
});
|
|
179
169
|
exports.StyledOuterXSmallAnchor = StyledOuterXSmallAnchor;
|
|
180
170
|
StyledOuterXSmallAnchor.displayName = "StyledOuterXSmallAnchor";
|
|
181
|
-
StyledOuterXSmallAnchor.displayName = 'StyledOuterXSmallAnchor';
|
|
182
171
|
var StyledInnerXSmallAnchor = (0, _styles.styled)('div', function (_ref10) {
|
|
183
172
|
var $round = _ref10.$round,
|
|
184
173
|
$color = _ref10.$color,
|
|
@@ -192,7 +181,6 @@ var StyledInnerXSmallAnchor = (0, _styles.styled)('div', function (_ref10) {
|
|
|
192
181
|
});
|
|
193
182
|
exports.StyledInnerXSmallAnchor = StyledInnerXSmallAnchor;
|
|
194
183
|
StyledInnerXSmallAnchor.displayName = "StyledInnerXSmallAnchor";
|
|
195
|
-
StyledInnerXSmallAnchor.displayName = 'StyledInnerXSmallAnchor';
|
|
196
184
|
var StyledPinHead = (0, _styles.styled)('div', function (_ref11) {
|
|
197
185
|
var $theme = _ref11.$theme,
|
|
198
186
|
$height = _ref11.$height,
|
|
@@ -226,7 +214,6 @@ var StyledPinHead = (0, _styles.styled)('div', function (_ref11) {
|
|
|
226
214
|
});
|
|
227
215
|
exports.StyledPinHead = StyledPinHead;
|
|
228
216
|
StyledPinHead.displayName = "StyledPinHead";
|
|
229
|
-
StyledPinHead.displayName = 'StyledPinHead';
|
|
230
217
|
var StyledStrokedLabelContainer = (0, _styles.styled)('div', function (_ref12) {
|
|
231
218
|
var $position = _ref12.$position,
|
|
232
219
|
$theme = _ref12.$theme,
|
|
@@ -272,7 +259,6 @@ var StyledStrokedLabelContainer = (0, _styles.styled)('div', function (_ref12) {
|
|
|
272
259
|
});
|
|
273
260
|
exports.StyledStrokedLabelContainer = StyledStrokedLabelContainer;
|
|
274
261
|
StyledStrokedLabelContainer.displayName = "StyledStrokedLabelContainer";
|
|
275
|
-
StyledStrokedLabelContainer.displayName = 'StyledStrokedLabelContainer';
|
|
276
262
|
var StyledStrokedLabel = (0, _styles.styled)('div', function (_ref13) {
|
|
277
263
|
var $theme = _ref13.$theme,
|
|
278
264
|
$size = _ref13.$size;
|
|
@@ -292,7 +278,6 @@ var StyledStrokedLabel = (0, _styles.styled)('div', function (_ref13) {
|
|
|
292
278
|
});
|
|
293
279
|
exports.StyledStrokedLabel = StyledStrokedLabel;
|
|
294
280
|
StyledStrokedLabel.displayName = "StyledStrokedLabel";
|
|
295
|
-
StyledStrokedLabel.displayName = 'StyledStrokedLabel';
|
|
296
281
|
var StyledBadgeEnhancerRoot = (0, _styles.styled)('div', function (_ref14) {
|
|
297
282
|
var $theme = _ref14.$theme,
|
|
298
283
|
$size = _ref14.$size,
|
|
@@ -312,7 +297,6 @@ var StyledBadgeEnhancerRoot = (0, _styles.styled)('div', function (_ref14) {
|
|
|
312
297
|
});
|
|
313
298
|
exports.StyledBadgeEnhancerRoot = StyledBadgeEnhancerRoot;
|
|
314
299
|
StyledBadgeEnhancerRoot.displayName = "StyledBadgeEnhancerRoot";
|
|
315
|
-
StyledBadgeEnhancerRoot.displayName = 'StyledBadgeEnhancerRoot';
|
|
316
300
|
var RelativeContainer = (0, _styles.styled)('div', function () {
|
|
317
301
|
return {
|
|
318
302
|
position: 'relative'
|
|
@@ -320,7 +304,6 @@ var RelativeContainer = (0, _styles.styled)('div', function () {
|
|
|
320
304
|
});
|
|
321
305
|
exports.RelativeContainer = RelativeContainer;
|
|
322
306
|
RelativeContainer.displayName = "RelativeContainer";
|
|
323
|
-
RelativeContainer.displayName = 'RelativeContainer';
|
|
324
307
|
var StyledContentItem = (0, _styles.styled)('div', function (_ref15) {
|
|
325
308
|
var $theme = _ref15.$theme,
|
|
326
309
|
$color = _ref15.$color,
|
|
@@ -336,73 +319,4 @@ var StyledContentItem = (0, _styles.styled)('div', function (_ref15) {
|
|
|
336
319
|
});
|
|
337
320
|
});
|
|
338
321
|
exports.StyledContentItem = StyledContentItem;
|
|
339
|
-
StyledContentItem.displayName = "StyledContentItem";
|
|
340
|
-
StyledContentItem.displayName = 'StyledContentItem';
|
|
341
|
-
var LocationPuckContainer = (0, _styles.styled)('div', function () {
|
|
342
|
-
return {
|
|
343
|
-
position: 'relative',
|
|
344
|
-
display: 'flex',
|
|
345
|
-
alignItems: 'center',
|
|
346
|
-
justifyContent: 'center'
|
|
347
|
-
};
|
|
348
|
-
});
|
|
349
|
-
exports.LocationPuckContainer = LocationPuckContainer;
|
|
350
|
-
LocationPuckContainer.displayName = "LocationPuckContainer";
|
|
351
|
-
LocationPuckContainer.displayName = 'LocationPuckContainer';
|
|
352
|
-
var consumerLocationShadow = {
|
|
353
|
-
boxShadow: "0px 2px 4px 0px rgba(67, 76, 123, 0.2)"
|
|
354
|
-
};
|
|
355
|
-
exports.consumerLocationShadow = consumerLocationShadow;
|
|
356
|
-
var earnerLocationShadow = {
|
|
357
|
-
boxShadow: "0px 3px 5px 0px rgba(67, 76, 123, 0.4)"
|
|
358
|
-
};
|
|
359
|
-
exports.earnerLocationShadow = earnerLocationShadow;
|
|
360
|
-
var StyledConsumerLocationPuckCore = (0, _styles.styled)('div', function (_ref16) {
|
|
361
|
-
var $theme = _ref16.$theme;
|
|
362
|
-
return _objectSpread({
|
|
363
|
-
height: "".concat(12, "px"),
|
|
364
|
-
width: "".concat(12, "px"),
|
|
365
|
-
background: $theme.colors.contentAccent,
|
|
366
|
-
borderRadius: "".concat(100, "px "),
|
|
367
|
-
position: 'absolute'
|
|
368
|
-
}, consumerLocationShadow);
|
|
369
|
-
});
|
|
370
|
-
exports.StyledConsumerLocationPuckCore = StyledConsumerLocationPuckCore;
|
|
371
|
-
StyledConsumerLocationPuckCore.displayName = "StyledConsumerLocationPuckCore";
|
|
372
|
-
var StyledLocationPuckApproximation = (0, _styles.styled)('div', function (_ref17) {
|
|
373
|
-
var $theme = _ref17.$theme,
|
|
374
|
-
$color = _ref17.$color,
|
|
375
|
-
$radius = _ref17.$radius;
|
|
376
|
-
return {
|
|
377
|
-
background: $color,
|
|
378
|
-
opacity: 0.12,
|
|
379
|
-
height: "".concat($radius / 2, "px"),
|
|
380
|
-
width: "".concat($radius / 2, "px"),
|
|
381
|
-
borderRadius: "".concat(10000, "px "),
|
|
382
|
-
position: 'absolute',
|
|
383
|
-
transition: "".concat($theme.animation.timing300, " ").concat($theme.animation.easeOutCurve, " all")
|
|
384
|
-
};
|
|
385
|
-
});
|
|
386
|
-
exports.StyledLocationPuckApproximation = StyledLocationPuckApproximation;
|
|
387
|
-
StyledLocationPuckApproximation.displayName = "StyledLocationPuckApproximation";
|
|
388
|
-
StyledLocationPuckApproximation.displayName = 'StyledLocationPuckApproximation';
|
|
389
|
-
var StyledEarnerLocationPuckCore = (0, _styles.styled)('div', function (_ref18) {
|
|
390
|
-
var $theme = _ref18.$theme,
|
|
391
|
-
$color = _ref18.$color,
|
|
392
|
-
$size = _ref18.$size;
|
|
393
|
-
return _objectSpread(_objectSpread({
|
|
394
|
-
position: 'absolute',
|
|
395
|
-
transform: "scale(".concat(_constants.EARNER_LOCATION_PUCK_CORE_SCALES[$size], ")"),
|
|
396
|
-
transition: "".concat($theme.animation.timing300, " ").concat($theme.animation.easeOutCurve, " all")
|
|
397
|
-
}, earnerLocationShadow), {}, {
|
|
398
|
-
borderRadius: '50%',
|
|
399
|
-
height: "".concat(72, "px"),
|
|
400
|
-
width: "".concat(72, "px"),
|
|
401
|
-
background: $theme.colors.backgroundPrimary,
|
|
402
|
-
border: "".concat(6, "px solid ", $color),
|
|
403
|
-
boxSizing: 'border-box'
|
|
404
|
-
});
|
|
405
|
-
});
|
|
406
|
-
exports.StyledEarnerLocationPuckCore = StyledEarnerLocationPuckCore;
|
|
407
|
-
StyledEarnerLocationPuckCore.displayName = "StyledEarnerLocationPuckCore";
|
|
408
|
-
StyledEarnerLocationPuckCore.displayName = 'StyledEarnerLocationPuckCore';
|
|
322
|
+
StyledContentItem.displayName = "StyledContentItem";
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
BADGE_ENHANCER_STYLES,
|
|
11
11
|
FLOATING_MARKER_ANCHOR_POSITIONS,
|
|
12
12
|
LABEL_SIZES,
|
|
13
|
-
EARNER_LOCATION_PUCK_CORE_SCALES,
|
|
14
13
|
} from './constants.js';
|
|
15
14
|
|
|
16
15
|
import type {
|
|
@@ -19,7 +18,6 @@ import type {
|
|
|
19
18
|
BadgeEnhancerSizeT,
|
|
20
19
|
BadgePositionT,
|
|
21
20
|
PinHeadSizeT,
|
|
22
|
-
LocationPuckSizeT,
|
|
23
21
|
} from './types.js';
|
|
24
22
|
|
|
25
23
|
export const getAnchorTransform = (anchor: AnchorPositionsT, anchorSize: number) =>
|
|
@@ -309,62 +307,6 @@ export const StyledContentItem = styled<{
|
|
|
309
307
|
};
|
|
310
308
|
});
|
|
311
309
|
|
|
312
|
-
export const LocationPuckContainer = styled<{}>('div', () => {
|
|
313
|
-
return {
|
|
314
|
-
position: 'relative',
|
|
315
|
-
display: 'flex',
|
|
316
|
-
alignItems: 'center',
|
|
317
|
-
justifyContent: 'center',
|
|
318
|
-
};
|
|
319
|
-
});
|
|
320
|
-
|
|
321
|
-
export const consumerLocationShadow = { boxShadow: `0px 2px 4px 0px rgba(67, 76, 123, 0.2)` };
|
|
322
|
-
export const earnerLocationShadow = { boxShadow: `0px 3px 5px 0px rgba(67, 76, 123, 0.4)` };
|
|
323
|
-
|
|
324
|
-
export const StyledConsumerLocationPuckCore = styled<{}>('div', ({ $theme }) => {
|
|
325
|
-
return {
|
|
326
|
-
height: `${12}px`,
|
|
327
|
-
width: `${12}px`,
|
|
328
|
-
background: $theme.colors.contentAccent,
|
|
329
|
-
borderRadius: `${100}px `,
|
|
330
|
-
position: 'absolute',
|
|
331
|
-
...consumerLocationShadow,
|
|
332
|
-
};
|
|
333
|
-
});
|
|
334
|
-
|
|
335
|
-
export const StyledLocationPuckApproximation = styled<{
|
|
336
|
-
$color: string,
|
|
337
|
-
$radius: number,
|
|
338
|
-
}>('div', ({ $theme, $color, $radius }) => {
|
|
339
|
-
return {
|
|
340
|
-
background: $color,
|
|
341
|
-
opacity: 0.12,
|
|
342
|
-
height: `${$radius / 2}px`,
|
|
343
|
-
width: `${$radius / 2}px`,
|
|
344
|
-
borderRadius: `${10000}px `,
|
|
345
|
-
position: 'absolute',
|
|
346
|
-
transition: `${$theme.animation.timing300} ${$theme.animation.easeOutCurve} all`,
|
|
347
|
-
};
|
|
348
|
-
});
|
|
349
|
-
|
|
350
|
-
export const StyledEarnerLocationPuckCore = styled<{
|
|
351
|
-
$color: string,
|
|
352
|
-
$size: LocationPuckSizeT,
|
|
353
|
-
}>('div', ({ $theme, $color, $size }) => {
|
|
354
|
-
return {
|
|
355
|
-
position: 'absolute',
|
|
356
|
-
transform: `scale(${EARNER_LOCATION_PUCK_CORE_SCALES[$size]})`,
|
|
357
|
-
transition: `${$theme.animation.timing300} ${$theme.animation.easeOutCurve} all`,
|
|
358
|
-
...earnerLocationShadow,
|
|
359
|
-
borderRadius: '50%',
|
|
360
|
-
height: `${72}px`,
|
|
361
|
-
width: `${72}px`,
|
|
362
|
-
background: $theme.colors.backgroundPrimary,
|
|
363
|
-
border: `${6}px solid ${$color}`,
|
|
364
|
-
boxSizing: 'border-box',
|
|
365
|
-
};
|
|
366
|
-
});
|
|
367
|
-
|
|
368
310
|
declare var __DEV__: boolean;
|
|
369
311
|
declare var __NODE__: boolean;
|
|
370
312
|
declare var __BROWSER__: boolean;
|
package/map-marker/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FLOATING_MARKER_ANCHOR_POSITIONS, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, FLOATING_MARKER_SIZES, PINHEAD_TYPES, FLOATING_MARKER_ANCHOR_TYPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND
|
|
2
|
+
import { FLOATING_MARKER_ANCHOR_POSITIONS, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, FLOATING_MARKER_SIZES, PINHEAD_TYPES, FLOATING_MARKER_ANCHOR_TYPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND } from './constants';
|
|
3
3
|
import type { Override } from '../helpers/overrides';
|
|
4
4
|
export declare type AnchorPositions = typeof FLOATING_MARKER_ANCHOR_POSITIONS[keyof typeof FLOATING_MARKER_ANCHOR_POSITIONS];
|
|
5
5
|
export declare type NeedleSize = typeof NEEDLE_SIZES[keyof typeof NEEDLE_SIZES];
|
|
@@ -10,8 +10,6 @@ export declare type FloatingMarkerAnchorType = typeof FLOATING_MARKER_ANCHOR_TYP
|
|
|
10
10
|
export declare type BadgeEnhancerSize = typeof BADGE_ENHANCER_SIZES[keyof typeof BADGE_ENHANCER_SIZES];
|
|
11
11
|
export declare type LabelEnhancerPosition = typeof LABEL_ENHANCER_POSITIONS[keyof typeof LABEL_ENHANCER_POSITIONS];
|
|
12
12
|
export declare type Kind = typeof KIND[keyof typeof KIND];
|
|
13
|
-
export declare type LocationPuckSize = typeof LOCATION_PUCK_SIZES[keyof typeof LOCATION_PUCK_SIZES];
|
|
14
|
-
export declare type LocationPuckType = typeof LOCATION_PUCK_TYPES[keyof typeof LOCATION_PUCK_TYPES];
|
|
15
13
|
export declare type FixedMarkerOverrides = {
|
|
16
14
|
Root?: Override;
|
|
17
15
|
InnerAnchor?: Override;
|
|
@@ -126,29 +124,3 @@ export declare type DragShadowProps = {
|
|
|
126
124
|
height: number;
|
|
127
125
|
overrides: FixedMarkerOverrides;
|
|
128
126
|
};
|
|
129
|
-
export declare type LocationPuckOverrides = {
|
|
130
|
-
Root?: Override;
|
|
131
|
-
LocationPuckApproximation?: Override;
|
|
132
|
-
ConsumerLocationPuckCore?: Override;
|
|
133
|
-
EarnerLocationPuckCore?: Override;
|
|
134
|
-
};
|
|
135
|
-
export declare type LocationPuckProps = {
|
|
136
|
-
size?: LocationPuckSize;
|
|
137
|
-
heading?: number;
|
|
138
|
-
confidenceRadius?: number;
|
|
139
|
-
showHeading?: boolean;
|
|
140
|
-
type?: LocationPuckType;
|
|
141
|
-
overrides?: LocationPuckOverrides;
|
|
142
|
-
};
|
|
143
|
-
export declare type ConsumerLocationPuckProps = {
|
|
144
|
-
heading: number;
|
|
145
|
-
confidenceRadius?: number;
|
|
146
|
-
showHeading?: boolean;
|
|
147
|
-
overrides: LocationPuckOverrides;
|
|
148
|
-
};
|
|
149
|
-
export declare type EarnerLocationPuckProps = {
|
|
150
|
-
heading: number;
|
|
151
|
-
confidenceRadius?: number;
|
|
152
|
-
size: LocationPuckSize;
|
|
153
|
-
overrides?: LocationPuckOverrides;
|
|
154
|
-
};
|
package/map-marker/types.js.flow
CHANGED
|
@@ -16,8 +16,6 @@ import {
|
|
|
16
16
|
BADGE_ENHANCER_SIZES,
|
|
17
17
|
LABEL_ENHANCER_POSITIONS,
|
|
18
18
|
KIND,
|
|
19
|
-
LOCATION_PUCK_SIZES,
|
|
20
|
-
LOCATION_PUCK_TYPES,
|
|
21
19
|
} from './constants.js';
|
|
22
20
|
import type { OverrideT } from '../helpers/overrides.js';
|
|
23
21
|
|
|
@@ -40,9 +38,6 @@ export type LabelEnhancerPositionT = $Values<typeof LABEL_ENHANCER_POSITIONS>;
|
|
|
40
38
|
|
|
41
39
|
export type KindT = $Values<typeof KIND>;
|
|
42
40
|
|
|
43
|
-
export type LocationPuckSizeT = $Values<typeof LOCATION_PUCK_SIZES>;
|
|
44
|
-
export type LocationPuckTypeT = $Values<typeof LOCATION_PUCK_TYPES>;
|
|
45
|
-
|
|
46
41
|
export type FixedMarkerOverridesT = {
|
|
47
42
|
Root?: OverrideT,
|
|
48
43
|
InnerAnchor?: OverrideT,
|
|
@@ -161,35 +156,6 @@ export type DragShadowPropsT = {
|
|
|
161
156
|
overrides: FixedMarkerOverridesT,
|
|
162
157
|
};
|
|
163
158
|
|
|
164
|
-
export type LocationPuckOverridesT = {
|
|
165
|
-
Root?: OverrideT,
|
|
166
|
-
LocationPuckApproximation?: OverrideT,
|
|
167
|
-
ConsumerLocationPuckCore?: OverrideT,
|
|
168
|
-
EarnerLocationPuckCore?: OverrideT,
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
export type LocationPuckPropsT = {
|
|
172
|
-
size?: LocationPuckSizeT,
|
|
173
|
-
heading?: number,
|
|
174
|
-
confidenceRadius?: number,
|
|
175
|
-
showHeading?: boolean,
|
|
176
|
-
type?: LocationPuckTypeT,
|
|
177
|
-
overrides?: LocationPuckOverridesT,
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
export type ConsumerLocationPuckPropsT = {
|
|
181
|
-
heading: number,
|
|
182
|
-
confidenceRadius?: number,
|
|
183
|
-
showHeading?: boolean,
|
|
184
|
-
overrides: LocationPuckOverridesT,
|
|
185
|
-
};
|
|
186
|
-
export type EarnerLocationPuckPropsT = {
|
|
187
|
-
heading: number,
|
|
188
|
-
confidenceRadius?: number,
|
|
189
|
-
size: LocationPuckSizeT,
|
|
190
|
-
overrides?: LocationPuckOverridesT,
|
|
191
|
-
};
|
|
192
|
-
|
|
193
159
|
declare var __DEV__: boolean;
|
|
194
160
|
declare var __NODE__: boolean;
|
|
195
161
|
declare var __BROWSER__: boolean;
|
package/menu/menu.js
CHANGED
|
@@ -72,8 +72,7 @@ function Menu(props) {
|
|
|
72
72
|
if ((0, _focusVisible.isFocusVisible)(event)) {
|
|
73
73
|
setFocusVisible(true);
|
|
74
74
|
}
|
|
75
|
-
};
|
|
76
|
-
|
|
75
|
+
};
|
|
77
76
|
|
|
78
77
|
var handleBlur = function handleBlur(event) {
|
|
79
78
|
if (focusVisible !== false) {
|
|
@@ -115,12 +114,10 @@ function Menu(props) {
|
|
|
115
114
|
els.push( /*#__PURE__*/React.createElement(OptgroupHeader, _extends({
|
|
116
115
|
key: optgroup
|
|
117
116
|
}, optgroupHeaderProps), optgroup));
|
|
118
|
-
}
|
|
119
|
-
|
|
117
|
+
}
|
|
120
118
|
|
|
121
119
|
var groupItems = groupedItems[optgroup].map(function (item, index) {
|
|
122
|
-
itemIndex = itemIndex + 1;
|
|
123
|
-
|
|
120
|
+
itemIndex = itemIndex + 1;
|
|
124
121
|
var _props$getRequiredIte = props.getRequiredItemProps,
|
|
125
122
|
getRequiredItemProps = _props$getRequiredIte === void 0 ? function (item, index) {
|
|
126
123
|
return {};
|
package/menu/option-profile.js
CHANGED
|
@@ -41,7 +41,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
41
41
|
|
|
42
42
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
43
43
|
|
|
44
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
45
44
|
function OptionProfile(props, ref) {
|
|
46
45
|
var item = props.item,
|
|
47
46
|
getChildMenu = props.getChildMenu,
|
|
@@ -475,7 +475,6 @@ var MenuStatefulContainerInner = /*#__PURE__*/function (_React$Component) {
|
|
|
475
475
|
handleMouseLeave: this.handleMouseLeave,
|
|
476
476
|
highlightedIndex: this.state.highlightedIndex,
|
|
477
477
|
isFocused: this.state.isFocused,
|
|
478
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
479
478
|
handleKeyDown: this.props.keyboardControlNode.current ? function (event) {} : this.onKeyDown,
|
|
480
479
|
focusMenu: this.focusMenu,
|
|
481
480
|
unfocusMenu: this.unfocusMenu
|