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/es/icon/build-icons.js
CHANGED
|
@@ -4,7 +4,6 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
4
4
|
This source code is licensed under the MIT license found in the
|
|
5
5
|
LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
7
|
export default function omitDollarPrefixedKeys(source) {
|
|
9
8
|
const result = {};
|
|
10
9
|
|
package/es/input/base-input.js
CHANGED
|
@@ -8,7 +8,6 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
8
8
|
This source code is licensed under the MIT license found in the
|
|
9
9
|
LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12
11
|
|
|
13
12
|
/* global window */
|
|
14
13
|
import * as React from 'react';
|
package/es/input/masked-input.js
CHANGED
|
@@ -13,13 +13,9 @@ import { Input as StyledInput } from './styled-components';
|
|
|
13
13
|
const MaskOverride = /*#__PURE__*/React.forwardRef(({
|
|
14
14
|
// do nothing with these - we just don't want to pass it to the InputMask, as
|
|
15
15
|
// it does not have these properties
|
|
16
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
17
16
|
startEnhancer,
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
19
17
|
endEnhancer,
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
21
18
|
error,
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
23
19
|
positive,
|
|
24
20
|
// below are props that are used by the masked-input
|
|
25
21
|
onChange,
|
|
@@ -57,11 +53,8 @@ export default function MaskedInput({
|
|
|
57
53
|
} = {},
|
|
58
54
|
...restProps
|
|
59
55
|
}) {
|
|
60
|
-
|
|
61
|
-
let
|
|
62
|
-
|
|
63
|
-
let propsOverride = {}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
64
|
-
|
|
56
|
+
let componentOverride = MaskOverride;
|
|
57
|
+
let propsOverride = {};
|
|
65
58
|
let styleOverride = {};
|
|
66
59
|
|
|
67
60
|
if (typeof inputOverride === 'function') {
|
|
@@ -33,7 +33,6 @@ export const StyledMaskToggleButton = styled('button', ({
|
|
|
33
33
|
};
|
|
34
34
|
});
|
|
35
35
|
StyledMaskToggleButton.displayName = "StyledMaskToggleButton";
|
|
36
|
-
StyledMaskToggleButton.displayName = 'StyledMaskToggleButton';
|
|
37
36
|
export const StyledClearIconContainer = styled('div', ({
|
|
38
37
|
$alignTop = false,
|
|
39
38
|
$size,
|
|
@@ -55,7 +54,6 @@ export const StyledClearIconContainer = styled('div', ({
|
|
|
55
54
|
};
|
|
56
55
|
});
|
|
57
56
|
StyledClearIconContainer.displayName = "StyledClearIconContainer";
|
|
58
|
-
StyledClearIconContainer.displayName = 'StyledClearIconContainer';
|
|
59
57
|
export const StyledClearIcon = styled(DeleteAlt, ({
|
|
60
58
|
$theme,
|
|
61
59
|
$isFocusVisible
|
|
@@ -64,7 +62,6 @@ export const StyledClearIcon = styled(DeleteAlt, ({
|
|
|
64
62
|
outline: $isFocusVisible ? `solid 3px ${$theme.colors.accent}` : 'none'
|
|
65
63
|
}));
|
|
66
64
|
StyledClearIcon.displayName = "StyledClearIcon";
|
|
67
|
-
StyledClearIcon.displayName = 'StyledClearIcon';
|
|
68
65
|
|
|
69
66
|
function getInputPadding(size, sizing) {
|
|
70
67
|
return {
|
|
@@ -212,9 +209,9 @@ export const getRootStyles = props => {
|
|
|
212
209
|
...getRootPadding($adjoined, $size, sizing, $theme.direction, $hasIconTrailing)
|
|
213
210
|
};
|
|
214
211
|
};
|
|
215
|
-
export const Root = styled('div', getRootStyles);
|
|
212
|
+
export const Root = styled('div', getRootStyles); // InputEnhancer
|
|
213
|
+
|
|
216
214
|
Root.displayName = "Root";
|
|
217
|
-
Root.displayName = 'Root'; // InputEnhancer
|
|
218
215
|
|
|
219
216
|
function getInputEnhancerPadding($size, sizing) {
|
|
220
217
|
return {
|
|
@@ -297,9 +294,9 @@ export const InputEnhancer = styled('div', props => {
|
|
|
297
294
|
...getInputEnhancerPadding($size, sizing),
|
|
298
295
|
...getInputEnhancerColors($disabled, $isFocused, $error, $positive, colors)
|
|
299
296
|
};
|
|
300
|
-
});
|
|
297
|
+
}); // InputContainer
|
|
298
|
+
|
|
301
299
|
InputEnhancer.displayName = "InputEnhancer";
|
|
302
|
-
InputEnhancer.displayName = 'InputEnhancer'; // InputContainer
|
|
303
300
|
|
|
304
301
|
function getInputContainerColors($disabled, $isFocused, $error, $positive, colors) {
|
|
305
302
|
if ($disabled) {
|
|
@@ -361,7 +358,6 @@ export const getInputContainerStyles = props => {
|
|
|
361
358
|
};
|
|
362
359
|
export const InputContainer = styled('div', getInputContainerStyles);
|
|
363
360
|
InputContainer.displayName = "InputContainer";
|
|
364
|
-
InputContainer.displayName = 'InputContainer';
|
|
365
361
|
|
|
366
362
|
function getInputColors($disabled, $isFocused, $error, colors) {
|
|
367
363
|
if ($disabled) {
|
|
@@ -424,5 +420,4 @@ export const getInputStyles = props => {
|
|
|
424
420
|
};
|
|
425
421
|
};
|
|
426
422
|
export const Input = styled('input', getInputStyles);
|
|
427
|
-
Input.displayName = "Input";
|
|
428
|
-
Input.displayName = 'Input';
|
|
423
|
+
Input.displayName = "Input";
|
package/es/layer/layer.js
CHANGED
|
@@ -39,24 +39,6 @@ class LayerComponent extends React.Component {
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
_defineProperty(this, "onKeyDown", event => {
|
|
43
|
-
if (this.props.onKeyDown) {
|
|
44
|
-
this.props.onKeyDown(event);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
_defineProperty(this, "onKeyUp", event => {
|
|
49
|
-
if (this.props.onKeyUp) {
|
|
50
|
-
this.props.onKeyUp(event);
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
_defineProperty(this, "onKeyPress", event => {
|
|
55
|
-
if (this.props.onKeyPress) {
|
|
56
|
-
this.props.onKeyPress(event);
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
|
|
60
42
|
_defineProperty(this, "onDocumentClick", event => {
|
|
61
43
|
if (this.props.onDocumentClick) {
|
|
62
44
|
this.props.onDocumentClick(event);
|
|
@@ -66,9 +48,6 @@ class LayerComponent extends React.Component {
|
|
|
66
48
|
|
|
67
49
|
componentDidMount() {
|
|
68
50
|
this.context.addEscapeHandler(this.onEscape);
|
|
69
|
-
this.context.addKeyDownHandler(this.onKeyDown);
|
|
70
|
-
this.context.addKeyUpHandler(this.onKeyUp);
|
|
71
|
-
this.context.addKeyPressHandler(this.onKeyPress);
|
|
72
51
|
|
|
73
52
|
if (!this.props.isHoverLayer) {
|
|
74
53
|
this.context.addDocClickHandler(this.onDocumentClick);
|
|
@@ -127,9 +106,6 @@ class LayerComponent extends React.Component {
|
|
|
127
106
|
|
|
128
107
|
componentWillUnmount() {
|
|
129
108
|
this.context.removeEscapeHandler(this.onEscape);
|
|
130
|
-
this.context.removeKeyDownHandler(this.onKeyDown);
|
|
131
|
-
this.context.removeKeyUpHandler(this.onKeyUp);
|
|
132
|
-
this.context.removeKeyPressHandler(this.onKeyPress);
|
|
133
109
|
this.context.removeDocClickHandler(this.onDocumentClick);
|
|
134
110
|
|
|
135
111
|
if (this.props.onUnmount) {
|
|
@@ -26,12 +26,6 @@ function defaultEventHandlerFn() {
|
|
|
26
26
|
export const LayersContext = /*#__PURE__*/React.createContext({
|
|
27
27
|
addEscapeHandler: defaultEventHandlerFn,
|
|
28
28
|
removeEscapeHandler: defaultEventHandlerFn,
|
|
29
|
-
addKeyDownHandler: defaultEventHandlerFn,
|
|
30
|
-
removeKeyDownHandler: defaultEventHandlerFn,
|
|
31
|
-
addKeyUpHandler: defaultEventHandlerFn,
|
|
32
|
-
removeKeyUpHandler: defaultEventHandlerFn,
|
|
33
|
-
addKeyPressHandler: defaultEventHandlerFn,
|
|
34
|
-
removeKeyPressHandler: defaultEventHandlerFn,
|
|
35
29
|
addDocClickHandler: defaultEventHandlerFn,
|
|
36
30
|
removeDocClickHandler: defaultEventHandlerFn,
|
|
37
31
|
host: undefined,
|
|
@@ -40,7 +34,6 @@ export const LayersContext = /*#__PURE__*/React.createContext({
|
|
|
40
34
|
export const Provider = LayersContext.Provider;
|
|
41
35
|
export const Consumer = LayersContext.Consumer;
|
|
42
36
|
export default class LayersManager extends React.Component {
|
|
43
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
44
37
|
constructor(props) {
|
|
45
38
|
super(props);
|
|
46
39
|
|
|
@@ -56,14 +49,6 @@ export default class LayersManager extends React.Component {
|
|
|
56
49
|
}
|
|
57
50
|
});
|
|
58
51
|
|
|
59
|
-
_defineProperty(this, "onKeyDown", event => {
|
|
60
|
-
const keyDownHandler = this.state.keyDownHandlers[this.state.keyDownHandlers.length - 1];
|
|
61
|
-
|
|
62
|
-
if (keyDownHandler) {
|
|
63
|
-
keyDownHandler(event);
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
|
|
67
52
|
_defineProperty(this, "onKeyUp", event => {
|
|
68
53
|
if (event.key === 'Escape') {
|
|
69
54
|
const escapeKeyHandler = this.state.escapeKeyHandlers[this.state.escapeKeyHandlers.length - 1];
|
|
@@ -72,20 +57,6 @@ export default class LayersManager extends React.Component {
|
|
|
72
57
|
escapeKeyHandler();
|
|
73
58
|
}
|
|
74
59
|
}
|
|
75
|
-
|
|
76
|
-
const keyUpHandler = this.state.keyUpHandlers[this.state.keyUpHandlers.length - 1];
|
|
77
|
-
|
|
78
|
-
if (keyUpHandler) {
|
|
79
|
-
keyUpHandler(event);
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
_defineProperty(this, "onKeyPress", event => {
|
|
84
|
-
const keyPressHandler = this.state.keyPressHandlers[this.state.keyPressHandlers.length - 1];
|
|
85
|
-
|
|
86
|
-
if (keyPressHandler) {
|
|
87
|
-
keyPressHandler(event);
|
|
88
|
-
}
|
|
89
60
|
});
|
|
90
61
|
|
|
91
62
|
_defineProperty(this, "onAddEscapeHandler", escapeKeyHandler => {
|
|
@@ -104,54 +75,6 @@ export default class LayersManager extends React.Component {
|
|
|
104
75
|
});
|
|
105
76
|
});
|
|
106
77
|
|
|
107
|
-
_defineProperty(this, "onAddKeyDownHandler", keyDownHandler => {
|
|
108
|
-
this.setState(prev => {
|
|
109
|
-
return {
|
|
110
|
-
keyDownHandlers: [...prev.keyDownHandlers, keyDownHandler]
|
|
111
|
-
};
|
|
112
|
-
});
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
_defineProperty(this, "onRemoveKeyDownHandler", keyDownHandler => {
|
|
116
|
-
this.setState(prev => {
|
|
117
|
-
return {
|
|
118
|
-
keyDownHandlers: prev.keyDownHandlers.filter(handler => handler !== keyDownHandler)
|
|
119
|
-
};
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
_defineProperty(this, "onAddKeyUpHandler", keyUpHandler => {
|
|
124
|
-
this.setState(prev => {
|
|
125
|
-
return {
|
|
126
|
-
keyUpHandlers: [...prev.keyUpHandlers, keyUpHandler]
|
|
127
|
-
};
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
_defineProperty(this, "onRemoveKeyUpHandler", keyUpHandler => {
|
|
132
|
-
this.setState(prev => {
|
|
133
|
-
return {
|
|
134
|
-
keyUpHandlers: prev.keyUpHandlers.filter(handler => handler !== keyUpHandler)
|
|
135
|
-
};
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
_defineProperty(this, "onAddKeyPressHandler", keyPressHandler => {
|
|
140
|
-
this.setState(prev => {
|
|
141
|
-
return {
|
|
142
|
-
keyPressHandlers: [...prev.keyPressHandlers, keyPressHandler]
|
|
143
|
-
};
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
_defineProperty(this, "onRemoveKeyPressHandler", keyPressHandler => {
|
|
148
|
-
this.setState(prev => {
|
|
149
|
-
return {
|
|
150
|
-
keyPressHandlers: prev.keyPressHandlers.filter(handler => handler !== keyPressHandler)
|
|
151
|
-
};
|
|
152
|
-
});
|
|
153
|
-
});
|
|
154
|
-
|
|
155
78
|
_defineProperty(this, "onAddDocClickHandler", docClickHandler => {
|
|
156
79
|
this.setState(prev => {
|
|
157
80
|
return {
|
|
@@ -170,9 +93,6 @@ export default class LayersManager extends React.Component {
|
|
|
170
93
|
|
|
171
94
|
this.state = {
|
|
172
95
|
escapeKeyHandlers: [],
|
|
173
|
-
keyDownHandlers: [],
|
|
174
|
-
keyUpHandlers: [],
|
|
175
|
-
keyPressHandlers: [],
|
|
176
96
|
docClickHandlers: []
|
|
177
97
|
};
|
|
178
98
|
}
|
|
@@ -182,9 +102,7 @@ export default class LayersManager extends React.Component {
|
|
|
182
102
|
initFocusVisible(this.containerRef.current);
|
|
183
103
|
|
|
184
104
|
if (typeof document !== 'undefined') {
|
|
185
|
-
document.addEventListener('
|
|
186
|
-
document.addEventListener('keyup', this.onKeyUp);
|
|
187
|
-
document.addEventListener('keypress', this.onKeyPress); // using mousedown event so that callback runs before events on children inside of the layer
|
|
105
|
+
document.addEventListener('keyup', this.onKeyUp); // using mousedown event so that callback runs before events on children inside of the layer
|
|
188
106
|
|
|
189
107
|
document.addEventListener('mousedown', this.onDocumentClick);
|
|
190
108
|
}
|
|
@@ -192,9 +110,7 @@ export default class LayersManager extends React.Component {
|
|
|
192
110
|
|
|
193
111
|
componentWillUnmount() {
|
|
194
112
|
if (typeof document !== 'undefined') {
|
|
195
|
-
document.removeEventListener('keydown', this.onKeyDown);
|
|
196
113
|
document.removeEventListener('keyup', this.onKeyUp);
|
|
197
|
-
document.removeEventListener('keypress', this.onKeyPress);
|
|
198
114
|
document.removeEventListener('mousedown', this.onDocumentClick);
|
|
199
115
|
}
|
|
200
116
|
}
|
|
@@ -221,12 +137,6 @@ export default class LayersManager extends React.Component {
|
|
|
221
137
|
zIndex: this.props.zIndex,
|
|
222
138
|
addEscapeHandler: this.onAddEscapeHandler,
|
|
223
139
|
removeEscapeHandler: this.onRemoveEscapeHandler,
|
|
224
|
-
addKeyDownHandler: this.onAddKeyDownHandler,
|
|
225
|
-
removeKeyDownHandler: this.onRemoveKeyDownHandler,
|
|
226
|
-
addKeyUpHandler: this.onAddKeyUpHandler,
|
|
227
|
-
removeKeyUpHandler: this.onRemoveKeyUpHandler,
|
|
228
|
-
addKeyPressHandler: this.onAddKeyPressHandler,
|
|
229
|
-
removeKeyPressHandler: this.onRemoveKeyPressHandler,
|
|
230
140
|
addDocClickHandler: this.onAddDocClickHandler,
|
|
231
141
|
removeDocClickHandler: this.onRemoveDocClickHandler
|
|
232
142
|
}
|
|
@@ -18,7 +18,6 @@ export const StyledGridWrapper = styled('div', ({
|
|
|
18
18
|
maxWidth: $behavior === BEHAVIOR.fixed ? `${$gridMaxWidth + 2 * getResponsiveNumber($gridMargins, Infinity) - 1}${$gridUnit}` : null
|
|
19
19
|
}));
|
|
20
20
|
StyledGridWrapper.displayName = "StyledGridWrapper";
|
|
21
|
-
StyledGridWrapper.displayName = 'StyledGridWrapper';
|
|
22
21
|
export const StyledGrid = styled('div', ({
|
|
23
22
|
$theme,
|
|
24
23
|
$align = null,
|
|
@@ -55,7 +54,6 @@ export const StyledGrid = styled('div', ({
|
|
|
55
54
|
};
|
|
56
55
|
});
|
|
57
56
|
StyledGrid.displayName = "StyledGrid";
|
|
58
|
-
StyledGrid.displayName = 'StyledGrid';
|
|
59
57
|
export const StyledCell = styled('div', ({
|
|
60
58
|
$theme,
|
|
61
59
|
$align = null,
|
|
@@ -107,7 +105,6 @@ export const StyledCell = styled('div', ({
|
|
|
107
105
|
};
|
|
108
106
|
});
|
|
109
107
|
StyledCell.displayName = "StyledCell";
|
|
110
|
-
StyledCell.displayName = 'StyledCell';
|
|
111
108
|
|
|
112
109
|
function getResponsiveNumber(responsive, i) {
|
|
113
110
|
const res = getResponsiveValue(responsive, i);
|
package/es/link/index.js
CHANGED
package/es/list/list-heading.js
CHANGED
|
@@ -63,27 +63,23 @@ const ListHeading = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
return (
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
})), Boolean(EndEnhancerDescription) && isEndEnhancerString && /*#__PURE__*/React.createElement(EndEnhancerDescriptionContainer, endEnhancerDescriptionContainerProps, /*#__PURE__*/React.createElement(RenderNode, {
|
|
84
|
-
component: EndEnhancerDescription
|
|
85
|
-
})))))
|
|
86
|
-
);
|
|
66
|
+
return /*#__PURE__*/React.createElement(Root, _extends({
|
|
67
|
+
ref: ref
|
|
68
|
+
}, rootProps), /*#__PURE__*/React.createElement(Content, contentProps, /*#__PURE__*/React.createElement(StyledHeadingContentRow, null, /*#__PURE__*/React.createElement(HeadingContainer, _extends({
|
|
69
|
+
$maxLines: isMaxLinesValid(maxLines) ? maxLines : 1
|
|
70
|
+
}, headingContainerProps), /*#__PURE__*/React.createElement(RenderNode, {
|
|
71
|
+
component: props.heading
|
|
72
|
+
})), EndEnhancer && /*#__PURE__*/React.createElement(EndEnhancerContainer, _extends({
|
|
73
|
+
$isText: isEndEnhancerString
|
|
74
|
+
}, endEnhancerContainerProps), /*#__PURE__*/React.createElement(RenderNode, {
|
|
75
|
+
component: EndEnhancer
|
|
76
|
+
}))), (Boolean(SubHeading) || EndEnhancerDescription) && /*#__PURE__*/React.createElement(StyledHeadingContentRow, null, /*#__PURE__*/React.createElement(SubHeadingContainer, _extends({
|
|
77
|
+
$maxLines: isMaxLinesValid(maxLines) ? maxLines : 1
|
|
78
|
+
}, subHeadingContainerProps), /*#__PURE__*/React.createElement(RenderNode, {
|
|
79
|
+
component: SubHeading
|
|
80
|
+
})), Boolean(EndEnhancerDescription) && isEndEnhancerString && /*#__PURE__*/React.createElement(EndEnhancerDescriptionContainer, endEnhancerDescriptionContainerProps, /*#__PURE__*/React.createElement(RenderNode, {
|
|
81
|
+
component: EndEnhancerDescription
|
|
82
|
+
})))));
|
|
87
83
|
});
|
|
88
84
|
ListHeading.displayName = 'ListHeading';
|
|
89
85
|
export default ListHeading;
|
package/es/list/list-item.js
CHANGED
|
@@ -38,8 +38,7 @@ const ListItem = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
38
38
|
return props.artworkSize || ARTWORK_SIZES.MEDIUM;
|
|
39
39
|
}
|
|
40
40
|
}, [props.artworkSize, props.sublist]);
|
|
41
|
-
return /*#__PURE__*/React.createElement(Root
|
|
42
|
-
, _extends({
|
|
41
|
+
return /*#__PURE__*/React.createElement(Root, _extends({
|
|
43
42
|
ref: ref,
|
|
44
43
|
$shape: props.shape || SHAPE.DEFAULT,
|
|
45
44
|
"aria-label": props['aria-label'],
|
|
@@ -25,7 +25,6 @@ export const StyledRoot = styled('li', ({
|
|
|
25
25
|
};
|
|
26
26
|
});
|
|
27
27
|
StyledRoot.displayName = "StyledRoot";
|
|
28
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
29
28
|
export const StyledContent = styled('div', ({
|
|
30
29
|
$mLeft,
|
|
31
30
|
$sublist,
|
|
@@ -50,13 +49,11 @@ export const StyledContent = styled('div', ({
|
|
|
50
49
|
};
|
|
51
50
|
});
|
|
52
51
|
StyledContent.displayName = "StyledContent";
|
|
53
|
-
StyledContent.displayName = 'StyledContent';
|
|
54
52
|
export const StyledEndEnhancerContainer = styled('div', {
|
|
55
53
|
alignItems: 'center',
|
|
56
54
|
display: 'flex'
|
|
57
55
|
});
|
|
58
56
|
StyledEndEnhancerContainer.displayName = "StyledEndEnhancerContainer";
|
|
59
|
-
StyledEndEnhancerContainer.displayName = 'StyledEndEnhancerContainer';
|
|
60
57
|
export const StyledArtworkContainer = styled('div', ({
|
|
61
58
|
$artworkSize,
|
|
62
59
|
$sublist,
|
|
@@ -81,7 +78,6 @@ export const StyledArtworkContainer = styled('div', ({
|
|
|
81
78
|
};
|
|
82
79
|
});
|
|
83
80
|
StyledArtworkContainer.displayName = "StyledArtworkContainer";
|
|
84
|
-
StyledArtworkContainer.displayName = 'StyledArtworkContainer';
|
|
85
81
|
export const StyledLabelContent = styled('p', ({
|
|
86
82
|
$theme
|
|
87
83
|
}) => {
|
|
@@ -92,7 +88,6 @@ export const StyledLabelContent = styled('p', ({
|
|
|
92
88
|
};
|
|
93
89
|
});
|
|
94
90
|
StyledLabelContent.displayName = "StyledLabelContent";
|
|
95
|
-
StyledLabelContent.displayName = 'StyledLabelContent';
|
|
96
91
|
export const StyledLabelDescription = styled('p', ({
|
|
97
92
|
$theme
|
|
98
93
|
}) => {
|
|
@@ -103,7 +98,6 @@ export const StyledLabelDescription = styled('p', ({
|
|
|
103
98
|
};
|
|
104
99
|
});
|
|
105
100
|
StyledLabelDescription.displayName = "StyledLabelDescription";
|
|
106
|
-
StyledLabelDescription.displayName = 'StyledLabelDescription';
|
|
107
101
|
export const StyledLabelSublistContent = styled('p', ({
|
|
108
102
|
$theme
|
|
109
103
|
}) => {
|
|
@@ -114,7 +108,6 @@ export const StyledLabelSublistContent = styled('p', ({
|
|
|
114
108
|
};
|
|
115
109
|
});
|
|
116
110
|
StyledLabelSublistContent.displayName = "StyledLabelSublistContent";
|
|
117
|
-
StyledLabelSublistContent.displayName = 'StyledLabelSublistContent';
|
|
118
111
|
export const StyledHeadingRoot = styled('div', ({
|
|
119
112
|
$theme
|
|
120
113
|
}) => {
|
|
@@ -128,7 +121,6 @@ export const StyledHeadingRoot = styled('div', ({
|
|
|
128
121
|
};
|
|
129
122
|
});
|
|
130
123
|
StyledHeadingRoot.displayName = "StyledHeadingRoot";
|
|
131
|
-
StyledHeadingRoot.displayName = 'StyledHeadingRoot';
|
|
132
124
|
export const StyledHeadingContent = styled('div', ({
|
|
133
125
|
$theme
|
|
134
126
|
}) => {
|
|
@@ -148,14 +140,12 @@ export const StyledHeadingContent = styled('div', ({
|
|
|
148
140
|
};
|
|
149
141
|
});
|
|
150
142
|
StyledHeadingContent.displayName = "StyledHeadingContent";
|
|
151
|
-
StyledHeadingContent.displayName = 'StyledHeadingContent';
|
|
152
143
|
export const StyledHeadingContentRow = styled('div', {
|
|
153
144
|
display: 'flex',
|
|
154
145
|
justifyContent: 'space-between',
|
|
155
146
|
width: '100%'
|
|
156
147
|
});
|
|
157
148
|
StyledHeadingContentRow.displayName = "StyledHeadingContentRow";
|
|
158
|
-
StyledHeadingContentRow.displayName = 'StyledHeadingContentRow';
|
|
159
149
|
export const StyledHeadingMainHeading = styled('p', ({
|
|
160
150
|
$maxLines = 1,
|
|
161
151
|
$theme
|
|
@@ -172,7 +162,6 @@ export const StyledHeadingMainHeading = styled('p', ({
|
|
|
172
162
|
};
|
|
173
163
|
});
|
|
174
164
|
StyledHeadingMainHeading.displayName = "StyledHeadingMainHeading";
|
|
175
|
-
StyledHeadingMainHeading.displayName = 'StyledHeadingMainHeading';
|
|
176
165
|
export const StyledHeadingSubHeading = styled('p', ({
|
|
177
166
|
$maxLines = 1,
|
|
178
167
|
$theme
|
|
@@ -189,7 +178,6 @@ export const StyledHeadingSubHeading = styled('p', ({
|
|
|
189
178
|
};
|
|
190
179
|
});
|
|
191
180
|
StyledHeadingSubHeading.displayName = "StyledHeadingSubHeading";
|
|
192
|
-
StyledHeadingSubHeading.displayName = 'StyledHeadingSubHeading';
|
|
193
181
|
export const StyledHeadingEndEnhancerContainer = styled('div', ({
|
|
194
182
|
$isText,
|
|
195
183
|
$theme
|
|
@@ -201,7 +189,6 @@ export const StyledHeadingEndEnhancerContainer = styled('div', ({
|
|
|
201
189
|
textOverflow: 'ellipsis'
|
|
202
190
|
}));
|
|
203
191
|
StyledHeadingEndEnhancerContainer.displayName = "StyledHeadingEndEnhancerContainer";
|
|
204
|
-
StyledHeadingEndEnhancerContainer.displayName = 'StyledHeadingEndEnhancerContainer';
|
|
205
192
|
export const StyledHeadingEndEnhancerDescriptionContainer = styled('p', ({
|
|
206
193
|
$theme
|
|
207
194
|
}) => ({ ...$theme.typography.ParagraphMedium,
|
|
@@ -213,5 +200,4 @@ export const StyledHeadingEndEnhancerDescriptionContainer = styled('p', ({
|
|
|
213
200
|
overflow: 'hidden',
|
|
214
201
|
textOverflow: 'ellipsis'
|
|
215
202
|
}));
|
|
216
|
-
StyledHeadingEndEnhancerDescriptionContainer.displayName = "StyledHeadingEndEnhancerDescriptionContainer";
|
|
217
|
-
StyledHeadingEndEnhancerDescriptionContainer.displayName = 'StyledHeadingEndEnhancerDescriptionContainer';
|
|
203
|
+
StyledHeadingEndEnhancerDescriptionContainer.displayName = "StyledHeadingEndEnhancerDescriptionContainer";
|
package/es/locale/es_AR.js
CHANGED
|
@@ -77,9 +77,7 @@ const 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/es/locale/index.js
CHANGED
|
@@ -14,9 +14,8 @@ const LocaleProvider = props => {
|
|
|
14
14
|
locale,
|
|
15
15
|
children
|
|
16
16
|
} = props;
|
|
17
|
-
const parentLocale = React.useContext(LocaleContext) ?? {};
|
|
18
17
|
return /*#__PURE__*/React.createElement(LocaleContext.Provider, {
|
|
19
|
-
value: extend({}, en_US,
|
|
18
|
+
value: extend({}, en_US, locale)
|
|
20
19
|
}, children);
|
|
21
20
|
};
|
|
22
21
|
|
package/es/locale/tr_TR.js
CHANGED
|
@@ -77,9 +77,7 @@ const 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'
|
|
@@ -210,18 +210,4 @@ export const KIND = Object.freeze({
|
|
|
210
210
|
default: 'default',
|
|
211
211
|
accent: 'accent',
|
|
212
212
|
negative: 'negative'
|
|
213
|
-
});
|
|
214
|
-
export const LOCATION_PUCK_SIZES = Object.freeze({
|
|
215
|
-
small: 'small',
|
|
216
|
-
medium: 'medium',
|
|
217
|
-
large: 'large'
|
|
218
|
-
});
|
|
219
|
-
export const LOCATION_PUCK_TYPES = Object.freeze({
|
|
220
|
-
consumer: 'consumer',
|
|
221
|
-
earner: 'earner'
|
|
222
|
-
});
|
|
223
|
-
export const EARNER_LOCATION_PUCK_CORE_SCALES = Object.freeze({
|
|
224
|
-
[LOCATION_PUCK_SIZES.small]: '50%',
|
|
225
|
-
[LOCATION_PUCK_SIZES.medium]: '75%',
|
|
226
|
-
[LOCATION_PUCK_SIZES.large]: '100%'
|
|
227
213
|
});
|
|
@@ -49,7 +49,6 @@ const FixedMarker = ({
|
|
|
49
49
|
labelEnhancerPosition = LABEL_ENHANCER_POSITIONS.bottom,
|
|
50
50
|
badgeEnhancerSize = null,
|
|
51
51
|
badgeEnhancerContent = null,
|
|
52
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
53
52
|
...restProps
|
|
54
53
|
}) => {
|
|
55
54
|
const [, theme] = useStyletron();
|
package/es/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.*/
|