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
|
@@ -27,8 +27,7 @@ function getBarHeight(size) {
|
|
|
27
27
|
var _SIZE$small$SIZE$medi;
|
|
28
28
|
|
|
29
29
|
return (_SIZE$small$SIZE$medi = {}, _defineProperty(_SIZE$small$SIZE$medi, _constants.SIZE.small, '2px'), _defineProperty(_SIZE$small$SIZE$medi, _constants.SIZE.medium, '4px'), _defineProperty(_SIZE$small$SIZE$medi, _constants.SIZE.large, '8px'), _SIZE$small$SIZE$medi)[size];
|
|
30
|
-
}
|
|
31
|
-
|
|
30
|
+
}
|
|
32
31
|
|
|
33
32
|
var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
34
33
|
return {
|
|
@@ -37,7 +36,6 @@ var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
|
37
36
|
});
|
|
38
37
|
exports.StyledRoot = StyledRoot;
|
|
39
38
|
StyledRoot.displayName = "StyledRoot";
|
|
40
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
41
39
|
var StyledBarContainer = (0, _styles.styled)('div', function (props) {
|
|
42
40
|
var $theme = props.$theme;
|
|
43
41
|
var sizing = $theme.sizing;
|
|
@@ -51,7 +49,6 @@ var StyledBarContainer = (0, _styles.styled)('div', function (props) {
|
|
|
51
49
|
});
|
|
52
50
|
exports.StyledBarContainer = StyledBarContainer;
|
|
53
51
|
StyledBarContainer.displayName = "StyledBarContainer";
|
|
54
|
-
StyledBarContainer.displayName = 'StyledBarContainer';
|
|
55
52
|
var StyledBar = (0, _styles.styled)('div', function (props) {
|
|
56
53
|
var $theme = props.$theme,
|
|
57
54
|
$size = props.$size,
|
|
@@ -78,7 +75,6 @@ var StyledBar = (0, _styles.styled)('div', function (props) {
|
|
|
78
75
|
});
|
|
79
76
|
exports.StyledBar = StyledBar;
|
|
80
77
|
StyledBar.displayName = "StyledBar";
|
|
81
|
-
StyledBar.displayName = 'StyledBar';
|
|
82
78
|
var StyledBarProgress = (0, _styles.styled)('div', function (props) {
|
|
83
79
|
var $theme = props.$theme,
|
|
84
80
|
$value = props.$value,
|
|
@@ -157,7 +153,6 @@ var StyledBarProgress = (0, _styles.styled)('div', function (props) {
|
|
|
157
153
|
});
|
|
158
154
|
exports.StyledBarProgress = StyledBarProgress;
|
|
159
155
|
StyledBarProgress.displayName = "StyledBarProgress";
|
|
160
|
-
StyledBarProgress.displayName = 'StyledBarProgress';
|
|
161
156
|
var StyledInfiniteBar = (0, _styles.styled)('div', function (props) {
|
|
162
157
|
var $theme = props.$theme,
|
|
163
158
|
_props$$isLeft = props.$isLeft,
|
|
@@ -222,7 +217,6 @@ var StyledInfiniteBar = (0, _styles.styled)('div', function (props) {
|
|
|
222
217
|
});
|
|
223
218
|
exports.StyledInfiniteBar = StyledInfiniteBar;
|
|
224
219
|
StyledInfiniteBar.displayName = "StyledInfiniteBar";
|
|
225
|
-
StyledInfiniteBar.displayName = 'StyledInfiniteBar';
|
|
226
220
|
var StyledLabel = (0, _styles.styled)('div', function (props) {
|
|
227
221
|
return _objectSpread(_objectSpread({
|
|
228
222
|
textAlign: 'center'
|
|
@@ -232,7 +226,6 @@ var StyledLabel = (0, _styles.styled)('div', function (props) {
|
|
|
232
226
|
});
|
|
233
227
|
exports.StyledLabel = StyledLabel;
|
|
234
228
|
StyledLabel.displayName = "StyledLabel";
|
|
235
|
-
StyledLabel.displayName = 'StyledLabel';
|
|
236
229
|
var PROGRESS_BAR_ROUNDED_SIZES = (_PROGRESS_BAR_ROUNDED = {}, _defineProperty(_PROGRESS_BAR_ROUNDED, _constants.SIZE.large, {
|
|
237
230
|
d: 'M47.5 4H71.5529C82.2933 4 91 12.9543 91 24C91 35.0457 82.2933 44 71.5529 44H23.4471C12.7067 44 4 35.0457 4 24C4 12.9543 12.7067 4 23.4471 4H47.5195',
|
|
238
231
|
width: 95,
|
|
@@ -266,7 +259,6 @@ var StyledProgressBarRoundedRoot = (0, _styles.styled)('div', function (_ref) {
|
|
|
266
259
|
});
|
|
267
260
|
exports.StyledProgressBarRoundedRoot = StyledProgressBarRoundedRoot;
|
|
268
261
|
StyledProgressBarRoundedRoot.displayName = "StyledProgressBarRoundedRoot";
|
|
269
|
-
StyledProgressBarRoundedRoot.displayName = 'StyledProgressBarRoundedRoot';
|
|
270
262
|
|
|
271
263
|
var _StyledProgressBarRoundedSvg = (0, _styles.styled)('svg', function (_ref2) {
|
|
272
264
|
var $size = _ref2.$size;
|
|
@@ -279,7 +271,6 @@ var _StyledProgressBarRoundedSvg = (0, _styles.styled)('svg', function (_ref2) {
|
|
|
279
271
|
});
|
|
280
272
|
|
|
281
273
|
_StyledProgressBarRoundedSvg.displayName = "_StyledProgressBarRoundedSvg";
|
|
282
|
-
_StyledProgressBarRoundedSvg.displayName = '_StyledProgressBarRoundedSvg';
|
|
283
274
|
var StyledProgressBarRoundedSvg = (0, _styles.withWrapper)(_StyledProgressBarRoundedSvg, function (Styled) {
|
|
284
275
|
return function StyledProgressBarRoundedSvg(props) {
|
|
285
276
|
return /*#__PURE__*/_react.default.createElement(Styled, _extends({
|
|
@@ -300,7 +291,6 @@ var _StyledProgressBarRoundedTrackBackground = (0, _styles.styled)('path', funct
|
|
|
300
291
|
});
|
|
301
292
|
|
|
302
293
|
_StyledProgressBarRoundedTrackBackground.displayName = "_StyledProgressBarRoundedTrackBackground";
|
|
303
|
-
_StyledProgressBarRoundedTrackBackground.displayName = '_StyledProgressBarRoundedTrackBackground';
|
|
304
294
|
var StyledProgressBarRoundedTrackBackground = (0, _styles.withWrapper)(_StyledProgressBarRoundedTrackBackground, function (Styled) {
|
|
305
295
|
return function StyledProgressBarRoundedSvg(props) {
|
|
306
296
|
return /*#__PURE__*/_react.default.createElement(Styled, _extends({
|
|
@@ -326,7 +316,6 @@ var _StyledProgressBarRoundedTrackForeground = (0, _styles.styled)('path', funct
|
|
|
326
316
|
});
|
|
327
317
|
|
|
328
318
|
_StyledProgressBarRoundedTrackForeground.displayName = "_StyledProgressBarRoundedTrackForeground";
|
|
329
|
-
_StyledProgressBarRoundedTrackForeground.displayName = '_StyledProgressBarRoundedTrackForeground';
|
|
330
319
|
var StyledProgressBarRoundedTrackForeground = (0, _styles.withWrapper)(_StyledProgressBarRoundedTrackForeground, function (Styled) {
|
|
331
320
|
return function StyledProgressBarRoundedSvg(props) {
|
|
332
321
|
return /*#__PURE__*/_react.default.createElement(Styled, _extends({
|
|
@@ -343,5 +332,4 @@ var StyledProgressBarRoundedText = (0, _styles.styled)('div', function (_ref5) {
|
|
|
343
332
|
}, $theme.typography[PROGRESS_BAR_ROUNDED_SIZES[$size].typography]);
|
|
344
333
|
});
|
|
345
334
|
exports.StyledProgressBarRoundedText = StyledProgressBarRoundedText;
|
|
346
|
-
StyledProgressBarRoundedText.displayName = "StyledProgressBarRoundedText";
|
|
347
|
-
StyledProgressBarRoundedText.displayName = 'StyledProgressBarRoundedText';
|
|
335
|
+
StyledProgressBarRoundedText.displayName = "StyledProgressBarRoundedText";
|
|
@@ -48,8 +48,7 @@ function ProgressSteps(_ref) {
|
|
|
48
48
|
Root = _getOverrides2[0],
|
|
49
49
|
rootProps = _getOverrides2[1];
|
|
50
50
|
|
|
51
|
-
var numChildren = React.Children.count(children);
|
|
52
|
-
|
|
51
|
+
var numChildren = React.Children.count(children);
|
|
53
52
|
var modifiedChildren = React.Children.map(children, function (child, index) {
|
|
54
53
|
if (!child) return;
|
|
55
54
|
var childOverrides = child.props.overrides || {};
|
|
@@ -27,8 +27,6 @@ var StyledProgressSteps = (0, _styles.styled)('ol', function (_ref) {
|
|
|
27
27
|
});
|
|
28
28
|
exports.StyledProgressSteps = StyledProgressSteps;
|
|
29
29
|
StyledProgressSteps.displayName = "StyledProgressSteps";
|
|
30
|
-
StyledProgressSteps.displayName = 'StyledProgressSteps'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
31
|
-
|
|
32
30
|
var StyledStep = (0, _styles.styled)('li', function (_ref2) {
|
|
33
31
|
var $theme = _ref2.$theme;
|
|
34
32
|
return {
|
|
@@ -39,9 +37,7 @@ var StyledStep = (0, _styles.styled)('li', function (_ref2) {
|
|
|
39
37
|
});
|
|
40
38
|
exports.StyledStep = StyledStep;
|
|
41
39
|
StyledStep.displayName = "StyledStep";
|
|
42
|
-
|
|
43
|
-
var StyledIconContainer = (0, _styles.styled)('div', // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
44
|
-
function (_ref3) {
|
|
40
|
+
var StyledIconContainer = (0, _styles.styled)('div', function (_ref3) {
|
|
45
41
|
var $theme = _ref3.$theme,
|
|
46
42
|
$isActive = _ref3.$isActive,
|
|
47
43
|
$isCompleted = _ref3.$isCompleted,
|
|
@@ -84,11 +80,11 @@ function (_ref3) {
|
|
|
84
80
|
});
|
|
85
81
|
exports.StyledIconContainer = StyledIconContainer;
|
|
86
82
|
StyledIconContainer.displayName = "StyledIconContainer";
|
|
87
|
-
StyledIconContainer.displayName = 'StyledIconContainer';
|
|
88
83
|
var StyledIcon = (0, _styles.styled)('div', function (_ref5) {
|
|
89
84
|
var $theme = _ref5.$theme,
|
|
90
85
|
$isActive = _ref5.$isActive,
|
|
91
|
-
$isCompleted = _ref5.$isCompleted
|
|
86
|
+
$isCompleted = _ref5.$isCompleted,
|
|
87
|
+
$disabled = _ref5.$disabled;
|
|
92
88
|
var currentColor = $theme.colors.mono400;
|
|
93
89
|
var size = $theme.sizing.scale300;
|
|
94
90
|
|
|
@@ -120,7 +116,6 @@ var StyledIcon = (0, _styles.styled)('div', function (_ref5) {
|
|
|
120
116
|
});
|
|
121
117
|
exports.StyledIcon = StyledIcon;
|
|
122
118
|
StyledIcon.displayName = "StyledIcon";
|
|
123
|
-
StyledIcon.displayName = 'StyledIcon';
|
|
124
119
|
var StyledInnerIcon = (0, _styles.styled)('div', function (_ref6) {
|
|
125
120
|
var $theme = _ref6.$theme;
|
|
126
121
|
return {
|
|
@@ -137,7 +132,6 @@ var StyledInnerIcon = (0, _styles.styled)('div', function (_ref6) {
|
|
|
137
132
|
});
|
|
138
133
|
exports.StyledInnerIcon = StyledInnerIcon;
|
|
139
134
|
StyledInnerIcon.displayName = "StyledInnerIcon";
|
|
140
|
-
StyledInnerIcon.displayName = 'StyledInnerIcon';
|
|
141
135
|
var StyledContent = (0, _styles.styled)('div', function (_ref7) {
|
|
142
136
|
var $theme = _ref7.$theme;
|
|
143
137
|
var marginDir = $theme.direction === 'rtl' ? 'marginRight' : 'marginLeft';
|
|
@@ -145,7 +139,6 @@ var StyledContent = (0, _styles.styled)('div', function (_ref7) {
|
|
|
145
139
|
});
|
|
146
140
|
exports.StyledContent = StyledContent;
|
|
147
141
|
StyledContent.displayName = "StyledContent";
|
|
148
|
-
StyledContent.displayName = 'StyledContent';
|
|
149
142
|
var StyledContentTitle = (0, _styles.styled)('div', function (_ref9) {
|
|
150
143
|
var $theme = _ref9.$theme,
|
|
151
144
|
$isActive = _ref9.$isActive,
|
|
@@ -167,7 +160,6 @@ var StyledContentTitle = (0, _styles.styled)('div', function (_ref9) {
|
|
|
167
160
|
});
|
|
168
161
|
exports.StyledContentTitle = StyledContentTitle;
|
|
169
162
|
StyledContentTitle.displayName = "StyledContentTitle";
|
|
170
|
-
StyledContentTitle.displayName = 'StyledContentTitle';
|
|
171
163
|
var StyledContentTail = (0, _styles.styled)('div', function (_ref10) {
|
|
172
164
|
var _ref11;
|
|
173
165
|
|
|
@@ -194,7 +186,6 @@ var StyledContentTail = (0, _styles.styled)('div', function (_ref10) {
|
|
|
194
186
|
});
|
|
195
187
|
exports.StyledContentTail = StyledContentTail;
|
|
196
188
|
StyledContentTail.displayName = "StyledContentTail";
|
|
197
|
-
StyledContentTail.displayName = 'StyledContentTail';
|
|
198
189
|
var StyledContentDescription = (0, _styles.styled)('div', function (_ref12) {
|
|
199
190
|
var $theme = _ref12.$theme;
|
|
200
191
|
return {
|
|
@@ -203,8 +194,8 @@ var StyledContentDescription = (0, _styles.styled)('div', function (_ref12) {
|
|
|
203
194
|
});
|
|
204
195
|
exports.StyledContentDescription = StyledContentDescription;
|
|
205
196
|
StyledContentDescription.displayName = "StyledContentDescription";
|
|
206
|
-
|
|
207
|
-
var
|
|
197
|
+
var StyledNumberStep = (0, _styles.styled)('li', function (_ref13) {
|
|
198
|
+
var $theme = _ref13.$theme;
|
|
208
199
|
return {
|
|
209
200
|
listStyleType: 'none',
|
|
210
201
|
position: 'relative',
|
|
@@ -213,11 +204,11 @@ var StyledNumberStep = (0, _styles.styled)('li', function () {
|
|
|
213
204
|
});
|
|
214
205
|
exports.StyledNumberStep = StyledNumberStep;
|
|
215
206
|
StyledNumberStep.displayName = "StyledNumberStep";
|
|
216
|
-
|
|
217
|
-
var
|
|
218
|
-
|
|
219
|
-
$
|
|
220
|
-
$
|
|
207
|
+
var StyledNumberIcon = (0, _styles.styled)('div', function (_ref14) {
|
|
208
|
+
var $theme = _ref14.$theme,
|
|
209
|
+
$isActive = _ref14.$isActive,
|
|
210
|
+
$isCompleted = _ref14.$isCompleted,
|
|
211
|
+
$disabled = _ref14.$disabled;
|
|
221
212
|
var backgroundColor = $theme.colors.mono400;
|
|
222
213
|
var color = $theme.colors.contentStateDisabled;
|
|
223
214
|
var size = $theme.sizing.scale950;
|
|
@@ -257,12 +248,13 @@ var StyledNumberIcon = (0, _styles.styled)('div', function (_ref13) {
|
|
|
257
248
|
});
|
|
258
249
|
exports.StyledNumberIcon = StyledNumberIcon;
|
|
259
250
|
StyledNumberIcon.displayName = "StyledNumberIcon";
|
|
260
|
-
|
|
261
|
-
var
|
|
262
|
-
var _ref15;
|
|
251
|
+
var StyledNumberContentTail = (0, _styles.styled)('div', function (_ref15) {
|
|
252
|
+
var _ref16;
|
|
263
253
|
|
|
264
|
-
var $theme =
|
|
265
|
-
$
|
|
254
|
+
var $theme = _ref15.$theme,
|
|
255
|
+
$isActive = _ref15.$isActive,
|
|
256
|
+
$isCompleted = _ref15.$isCompleted,
|
|
257
|
+
$disabled = _ref15.$disabled;
|
|
266
258
|
var currentColor = $theme.colors.mono300;
|
|
267
259
|
var size = $theme.sizing.scale950;
|
|
268
260
|
var titleFont = $theme.typography.LabelMedium;
|
|
@@ -274,10 +266,9 @@ var StyledNumberContentTail = (0, _styles.styled)('div', function (_ref14) {
|
|
|
274
266
|
|
|
275
267
|
var marginTop = "calc(".concat(titlePad, " + ").concat(size, " + (").concat(titleFont.lineHeight, " - ").concat(size, ") / 2)");
|
|
276
268
|
var dir = $theme.direction === 'rtl' ? 'right' : 'left';
|
|
277
|
-
return
|
|
269
|
+
return _ref16 = {
|
|
278
270
|
position: 'absolute'
|
|
279
|
-
}, _defineProperty(
|
|
271
|
+
}, _defineProperty(_ref16, dir, '31px'), _defineProperty(_ref16, "top", 0), _defineProperty(_ref16, "height", "calc(100% - ".concat($theme.sizing.scale500, ")")), _defineProperty(_ref16, "paddingBottom", 0), _defineProperty(_ref16, "marginTop", marginTop), _defineProperty(_ref16, "width", $theme.sizing.scale0), _defineProperty(_ref16, "backgroundColor", currentColor), _defineProperty(_ref16, "display", 'inline-block'), _ref16;
|
|
280
272
|
});
|
|
281
273
|
exports.StyledNumberContentTail = StyledNumberContentTail;
|
|
282
|
-
StyledNumberContentTail.displayName = "StyledNumberContentTail";
|
|
283
|
-
StyledNumberContentTail.displayName = 'StyledNumberContentTail';
|
|
274
|
+
StyledNumberContentTail.displayName = "StyledNumberContentTail";
|
|
@@ -151,7 +151,6 @@ var RadioGroupRoot = (0, _styles.styled)('div', function (props) {
|
|
|
151
151
|
});
|
|
152
152
|
exports.RadioGroupRoot = RadioGroupRoot;
|
|
153
153
|
RadioGroupRoot.displayName = "RadioGroupRoot";
|
|
154
|
-
RadioGroupRoot.displayName = 'RadioGroupRoot';
|
|
155
154
|
var Root = (0, _styles.styled)('label', function (props) {
|
|
156
155
|
var _ref2;
|
|
157
156
|
|
|
@@ -173,7 +172,6 @@ var Root = (0, _styles.styled)('label', function (props) {
|
|
|
173
172
|
});
|
|
174
173
|
exports.Root = Root;
|
|
175
174
|
Root.displayName = "Root";
|
|
176
|
-
Root.displayName = 'Root';
|
|
177
175
|
var RadioMarkInner = (0, _styles.styled)('div', function (props) {
|
|
178
176
|
var _props$$theme = props.$theme,
|
|
179
177
|
animation = _props$$theme.animation,
|
|
@@ -192,7 +190,6 @@ var RadioMarkInner = (0, _styles.styled)('div', function (props) {
|
|
|
192
190
|
});
|
|
193
191
|
exports.RadioMarkInner = RadioMarkInner;
|
|
194
192
|
RadioMarkInner.displayName = "RadioMarkInner";
|
|
195
|
-
RadioMarkInner.displayName = 'RadioMarkInner';
|
|
196
193
|
var RadioMarkOuter = (0, _styles.styled)('div', function (props) {
|
|
197
194
|
var _props$$theme2 = props.$theme,
|
|
198
195
|
animation = _props$$theme2.animation,
|
|
@@ -222,7 +219,6 @@ var RadioMarkOuter = (0, _styles.styled)('div', function (props) {
|
|
|
222
219
|
});
|
|
223
220
|
exports.RadioMarkOuter = RadioMarkOuter;
|
|
224
221
|
RadioMarkOuter.displayName = "RadioMarkOuter";
|
|
225
|
-
RadioMarkOuter.displayName = 'RadioMarkOuter';
|
|
226
222
|
var Label = (0, _styles.styled)('div', function (props) {
|
|
227
223
|
var typography = props.$theme.typography;
|
|
228
224
|
return _objectSpread(_objectSpread({
|
|
@@ -230,11 +226,10 @@ var Label = (0, _styles.styled)('div', function (props) {
|
|
|
230
226
|
}, getLabelPadding(props)), {}, {
|
|
231
227
|
color: getLabelColor(props)
|
|
232
228
|
}, typography.LabelMedium);
|
|
233
|
-
});
|
|
229
|
+
}); // tricky style for focus event cause display: none doesn't work
|
|
230
|
+
|
|
234
231
|
exports.Label = Label;
|
|
235
232
|
Label.displayName = "Label";
|
|
236
|
-
Label.displayName = 'Label'; // tricky style for focus event cause display: none doesn't work
|
|
237
|
-
|
|
238
233
|
var Input = (0, _styles.styled)('input', {
|
|
239
234
|
width: 0,
|
|
240
235
|
height: 0,
|
|
@@ -251,7 +246,6 @@ var Input = (0, _styles.styled)('input', {
|
|
|
251
246
|
});
|
|
252
247
|
exports.Input = Input;
|
|
253
248
|
Input.displayName = "Input";
|
|
254
|
-
Input.displayName = 'Input';
|
|
255
249
|
var Description = (0, _styles.styled)('div', function (props) {
|
|
256
250
|
var _objectSpread2;
|
|
257
251
|
|
|
@@ -266,5 +260,4 @@ var Description = (0, _styles.styled)('div', function (props) {
|
|
|
266
260
|
}, _defineProperty(_objectSpread2, "margin".concat(marginBefore), $align === 'horizontal' ? null : $theme.sizing.scale900), _defineProperty(_objectSpread2, "margin".concat(marginAfter), isHorizontal ? $theme.sizing.scale200 : null), _defineProperty(_objectSpread2, "maxWidth", '240px'), _objectSpread2));
|
|
267
261
|
});
|
|
268
262
|
exports.Description = Description;
|
|
269
|
-
Description.displayName = "Description";
|
|
270
|
-
Description.displayName = 'Description';
|
|
263
|
+
Description.displayName = "Description";
|
|
@@ -139,8 +139,7 @@ var EmoticonRating = /*#__PURE__*/function (_React$Component) {
|
|
|
139
139
|
refs.push(starRef);
|
|
140
140
|
ratings.push( /*#__PURE__*/React.createElement(Emoticon, _extends({
|
|
141
141
|
key: x,
|
|
142
|
-
role: "radio"
|
|
143
|
-
,
|
|
142
|
+
role: "radio",
|
|
144
143
|
ref: starRef,
|
|
145
144
|
tabIndex: isFocusable ? '0' : '-1',
|
|
146
145
|
"aria-setsize": 5,
|
package/rating/star-rating.js
CHANGED
|
@@ -141,8 +141,7 @@ var StarRating = /*#__PURE__*/function (_React$Component) {
|
|
|
141
141
|
ratings.push( /*#__PURE__*/React.createElement(Star, _extends({
|
|
142
142
|
key: x,
|
|
143
143
|
role: "radio",
|
|
144
|
-
title: "rating"
|
|
145
|
-
,
|
|
144
|
+
title: "rating",
|
|
146
145
|
ref: starRef,
|
|
147
146
|
tabIndex: isFocusable ? '0' : '-1',
|
|
148
147
|
"aria-setsize": numItems,
|
|
@@ -15,7 +15,6 @@ Copyright (c) Uber Technologies, Inc.
|
|
|
15
15
|
This source code is licensed under the MIT license found in the
|
|
16
16
|
LICENSE file in the root directory of this source tree.
|
|
17
17
|
*/
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
19
18
|
var StyledRoot = (0, _styles.styled)('ul', function (_ref) {
|
|
20
19
|
var $theme = _ref.$theme;
|
|
21
20
|
return {
|
|
@@ -35,7 +34,6 @@ var StyledRoot = (0, _styles.styled)('ul', function (_ref) {
|
|
|
35
34
|
});
|
|
36
35
|
exports.StyledRoot = StyledRoot;
|
|
37
36
|
StyledRoot.displayName = "StyledRoot";
|
|
38
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
39
37
|
var StyledStar = (0, _styles.styled)('li', function (_ref2) {
|
|
40
38
|
var $theme = _ref2.$theme,
|
|
41
39
|
$isActive = _ref2.$isActive,
|
|
@@ -100,7 +98,6 @@ var StyledStar = (0, _styles.styled)('li', function (_ref2) {
|
|
|
100
98
|
});
|
|
101
99
|
exports.StyledStar = StyledStar;
|
|
102
100
|
StyledStar.displayName = "StyledStar";
|
|
103
|
-
StyledStar.displayName = 'StyledStar';
|
|
104
101
|
var StyledEmoticon = (0, _styles.styled)('li', function (_ref3) {
|
|
105
102
|
var $theme = _ref3.$theme,
|
|
106
103
|
$isActive = _ref3.$isActive,
|
|
@@ -142,5 +139,4 @@ var StyledEmoticon = (0, _styles.styled)('li', function (_ref3) {
|
|
|
142
139
|
return styles;
|
|
143
140
|
});
|
|
144
141
|
exports.StyledEmoticon = StyledEmoticon;
|
|
145
|
-
StyledEmoticon.displayName = "StyledEmoticon";
|
|
146
|
-
StyledEmoticon.displayName = 'StyledEmoticon';
|
|
142
|
+
StyledEmoticon.displayName = "StyledEmoticon";
|
package/select/autosize-input.js
CHANGED
|
@@ -99,8 +99,7 @@ var AutosizeInput = /*#__PURE__*/function (_React$Component) {
|
|
|
99
99
|
value: function componentDidMount() {
|
|
100
100
|
this.mounted = true;
|
|
101
101
|
this.updateInputWidth();
|
|
102
|
-
}
|
|
103
|
-
|
|
102
|
+
}
|
|
104
103
|
}, {
|
|
105
104
|
key: "componentDidUpdate",
|
|
106
105
|
value: function componentDidUpdate(prevProps, prevState) {
|
|
@@ -5,7 +5,7 @@ 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
|
-
|
|
8
|
+
/* eslint-disable cup/no-undef */
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { StyledInput, StyledInputSizer } from './styled-components.js';
|
|
11
11
|
import { getOverrides } from '../helpers/overrides.js';
|
package/select/dropdown.js
CHANGED
package/select/multi-value.js
CHANGED
|
@@ -37,7 +37,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
37
37
|
|
|
38
38
|
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; }
|
|
39
39
|
|
|
40
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41
40
|
function MultiValue(props) {
|
|
42
41
|
var _props$overrides = props.overrides,
|
|
43
42
|
overrides = _props$overrides === void 0 ? {} : _props$overrides,
|
|
@@ -145,7 +145,7 @@ declare class Select extends React.Component<SelectProps, SelectState> {
|
|
|
145
145
|
shouldShowPlaceholder: () => boolean;
|
|
146
146
|
shouldShowValue: () => boolean;
|
|
147
147
|
renderLoading(): JSX.Element;
|
|
148
|
-
renderValue(valueArray: Value): React.ReactNode | undefined | null | Array<React.ReactNode | undefined | null>;
|
|
148
|
+
renderValue(valueArray: Value, isOpen: boolean, locale: Locale): React.ReactNode | undefined | null | Array<React.ReactNode | undefined | null>;
|
|
149
149
|
renderInput(listboxId: string): JSX.Element;
|
|
150
150
|
renderClear(): JSX.Element;
|
|
151
151
|
renderArrow(): JSX.Element;
|
|
@@ -107,7 +107,6 @@ var isLeftClick = function isLeftClick(event) {
|
|
|
107
107
|
|
|
108
108
|
var containsNode = function containsNode(parent, child) {
|
|
109
109
|
if (typeof document !== 'undefined') {
|
|
110
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
111
110
|
return child && parent && parent.contains(child);
|
|
112
111
|
}
|
|
113
112
|
};
|
|
@@ -839,7 +838,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
839
838
|
}
|
|
840
839
|
}, {
|
|
841
840
|
key: "renderValue",
|
|
842
|
-
value: function renderValue(valueArray) {
|
|
841
|
+
value: function renderValue(valueArray, isOpen, locale) {
|
|
843
842
|
var _this4 = this;
|
|
844
843
|
|
|
845
844
|
var _this$props$overrides2 = this.props.overrides,
|
|
@@ -908,10 +907,13 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
908
907
|
|
|
909
908
|
if (!this.props.searchable) {
|
|
910
909
|
return /*#__PURE__*/React.createElement(InputContainer, _extends({
|
|
910
|
+
role: "listbox",
|
|
911
911
|
"aria-activedescendant": this.state.activeDescendant,
|
|
912
|
+
"aria-expanded": isOpen,
|
|
912
913
|
"aria-describedby": this.props['aria-describedby'],
|
|
913
914
|
"aria-errormessage": this.props['aria-errormessage'],
|
|
914
915
|
"aria-disabled": this.props.disabled,
|
|
916
|
+
"aria-label": label,
|
|
915
917
|
"aria-labelledby": this.props['aria-labelledby'],
|
|
916
918
|
"aria-owns": this.state.isOpen ? listboxId : null,
|
|
917
919
|
"aria-required": this.props.required || null,
|
|
@@ -968,8 +970,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
968
970
|
|
|
969
971
|
if (!this.props.clearable || this.props.disabled || this.props.isLoading || !isValueEntered) {
|
|
970
972
|
return;
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
+
}
|
|
973
974
|
|
|
974
975
|
var _this$getSharedProps = this.getSharedProps(),
|
|
975
976
|
$size = _this$getSharedProps.$size,
|
|
@@ -1000,8 +1001,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
1000
1001
|
|
|
1001
1002
|
if (this.props.type !== _constants.TYPE.select) {
|
|
1002
1003
|
return null;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1004
|
+
}
|
|
1005
1005
|
|
|
1006
1006
|
var _this$getSharedProps2 = this.getSharedProps(),
|
|
1007
1007
|
$size = _this$getSharedProps2.$size,
|
|
@@ -1199,13 +1199,11 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
1199
1199
|
// apply the ref to the Root component below it would be overwritten before the popover
|
|
1200
1200
|
// renders it. Using this strategy, we will get a ref to the popover, then reuse its
|
|
1201
1201
|
// anchorRef so we can check if clicks are on the select component or not.
|
|
1202
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1203
1202
|
, _extends({
|
|
1204
1203
|
innerRef: function innerRef(ref) {
|
|
1205
1204
|
if (!ref) return;
|
|
1206
1205
|
_this7.anchor = ref.anchorRef;
|
|
1207
1206
|
},
|
|
1208
|
-
accessibilityType: _popover.ACCESSIBILITY_TYPE.none,
|
|
1209
1207
|
autoFocus: false,
|
|
1210
1208
|
focusLock: false,
|
|
1211
1209
|
mountNode: _this7.props.mountNode,
|
|
@@ -1252,7 +1250,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
1252
1250
|
onTouchEnd: _this7.handleTouchEnd,
|
|
1253
1251
|
onTouchMove: _this7.handleTouchMove,
|
|
1254
1252
|
onTouchStart: _this7.handleTouchStart
|
|
1255
|
-
}, sharedProps, controlContainerProps), type === _constants.TYPE.search ? _this7.renderSearch() : null, /*#__PURE__*/React.createElement(ValueContainer, _extends({}, sharedProps, valueContainerProps), _this7.renderValue(valueArray), _this7.renderInput(listboxId), _this7.shouldShowPlaceholder() ? /*#__PURE__*/React.createElement(Placeholder, _extends({}, sharedProps, placeholderProps), typeof _this7.props.placeholder !== 'undefined' ? _this7.props.placeholder : locale.select.placeholder) : null), /*#__PURE__*/React.createElement(IconsContainer, _extends({}, sharedProps, iconsContainerProps), _this7.renderLoading(), _this7.renderClear(), type === _constants.TYPE.select ? _this7.renderArrow() : null))));
|
|
1253
|
+
}, sharedProps, controlContainerProps), type === _constants.TYPE.search ? _this7.renderSearch() : null, /*#__PURE__*/React.createElement(ValueContainer, _extends({}, sharedProps, valueContainerProps), _this7.renderValue(valueArray, isOpen, locale), _this7.renderInput(listboxId), _this7.shouldShowPlaceholder() ? /*#__PURE__*/React.createElement(Placeholder, _extends({}, sharedProps, placeholderProps), typeof _this7.props.placeholder !== 'undefined' ? _this7.props.placeholder : locale.select.placeholder) : null), /*#__PURE__*/React.createElement(IconsContainer, _extends({}, sharedProps, iconsContainerProps), _this7.renderLoading(), _this7.renderClear(), type === _constants.TYPE.select ? _this7.renderArrow() : null))));
|
|
1256
1254
|
});
|
|
1257
1255
|
});
|
|
1258
1256
|
}
|
|
@@ -5,7 +5,7 @@ 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
|
-
|
|
8
|
+
/* eslint-disable cup/no-undef */
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
|
|
11
11
|
import { getOverrides, mergeOverrides } from '../helpers/overrides.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { SelectProps } from './types';
|
|
3
|
-
declare function
|
|
4
|
-
export default
|
|
3
|
+
declare function MultiSelect(props: Partial<SelectProps>): JSX.Element;
|
|
4
|
+
export default MultiSelect;
|
package/select/single-select.js
CHANGED
|
@@ -21,12 +21,12 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
21
21
|
|
|
22
22
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23
23
|
|
|
24
|
-
function
|
|
24
|
+
function MultiSelect(props) {
|
|
25
25
|
return /*#__PURE__*/React.createElement(_selectComponent.default, _extends({}, props, {
|
|
26
26
|
multi: false,
|
|
27
27
|
valueComponent: _value.default
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
var _default =
|
|
31
|
+
var _default = MultiSelect;
|
|
32
32
|
exports.default = _default;
|
|
@@ -69,7 +69,6 @@ var StyledDropdownContainer = (0, _styles.styled)('div', function (props) {
|
|
|
69
69
|
});
|
|
70
70
|
exports.StyledDropdownContainer = StyledDropdownContainer;
|
|
71
71
|
StyledDropdownContainer.displayName = "StyledDropdownContainer";
|
|
72
|
-
StyledDropdownContainer.displayName = 'StyledDropdownContainer';
|
|
73
72
|
var StyledDropdown = _menu.StyledList;
|
|
74
73
|
exports.StyledDropdown = StyledDropdown;
|
|
75
74
|
var StyledDropdownListItem = _menu.StyledListItem;
|
|
@@ -87,7 +86,6 @@ var StyledOptionContent = (0, _styles.styled)('div', function (props) {
|
|
|
87
86
|
});
|
|
88
87
|
exports.StyledOptionContent = StyledOptionContent;
|
|
89
88
|
StyledOptionContent.displayName = "StyledOptionContent";
|
|
90
|
-
StyledOptionContent.displayName = 'StyledOptionContent';
|
|
91
89
|
var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
92
90
|
var typography = props.$theme.typography,
|
|
93
91
|
$size = props.$size;
|
|
@@ -99,7 +97,6 @@ var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
|
99
97
|
});
|
|
100
98
|
exports.StyledRoot = StyledRoot;
|
|
101
99
|
StyledRoot.displayName = "StyledRoot";
|
|
102
|
-
StyledRoot.displayName = 'StyledRoot';
|
|
103
100
|
|
|
104
101
|
function getControlContainerColors($disabled, $isFocused, $isPseudoFocused, $positive, $error, colors) {
|
|
105
102
|
if ($disabled) {
|
|
@@ -194,7 +191,6 @@ var StyledControlContainer = (0, _styles.styled)('div', function (props) {
|
|
|
194
191
|
});
|
|
195
192
|
exports.StyledControlContainer = StyledControlContainer;
|
|
196
193
|
StyledControlContainer.displayName = "StyledControlContainer";
|
|
197
|
-
StyledControlContainer.displayName = 'StyledControlContainer';
|
|
198
194
|
var StyledValueContainer = (0, _styles.styled)('div', function (props) {
|
|
199
195
|
var padding = getControlPadding(props);
|
|
200
196
|
return _objectSpread({
|
|
@@ -211,7 +207,6 @@ var StyledValueContainer = (0, _styles.styled)('div', function (props) {
|
|
|
211
207
|
});
|
|
212
208
|
exports.StyledValueContainer = StyledValueContainer;
|
|
213
209
|
StyledValueContainer.displayName = "StyledValueContainer";
|
|
214
|
-
StyledValueContainer.displayName = 'StyledValueContainer';
|
|
215
210
|
var StyledPlaceholder = (0, _styles.styled)('div', function (props) {
|
|
216
211
|
var $disabled = props.$disabled,
|
|
217
212
|
colors = props.$theme.colors;
|
|
@@ -225,7 +220,6 @@ var StyledPlaceholder = (0, _styles.styled)('div', function (props) {
|
|
|
225
220
|
});
|
|
226
221
|
exports.StyledPlaceholder = StyledPlaceholder;
|
|
227
222
|
StyledPlaceholder.displayName = "StyledPlaceholder";
|
|
228
|
-
StyledPlaceholder.displayName = 'StyledPlaceholder';
|
|
229
223
|
var StyledSingleValue = (0, _styles.styled)('div', function (props) {
|
|
230
224
|
var _objectSpread2;
|
|
231
225
|
|
|
@@ -242,7 +236,6 @@ var StyledSingleValue = (0, _styles.styled)('div', function (props) {
|
|
|
242
236
|
});
|
|
243
237
|
exports.StyledSingleValue = StyledSingleValue;
|
|
244
238
|
StyledSingleValue.displayName = "StyledSingleValue";
|
|
245
|
-
StyledSingleValue.displayName = 'StyledSingleValue';
|
|
246
239
|
var StyledInputContainer = (0, _styles.styled)('div', function (props) {
|
|
247
240
|
var $size = props.$size,
|
|
248
241
|
$searchable = props.$searchable,
|
|
@@ -277,7 +270,6 @@ var StyledInputContainer = (0, _styles.styled)('div', function (props) {
|
|
|
277
270
|
});
|
|
278
271
|
exports.StyledInputContainer = StyledInputContainer;
|
|
279
272
|
StyledInputContainer.displayName = "StyledInputContainer";
|
|
280
|
-
StyledInputContainer.displayName = 'StyledInputContainer';
|
|
281
273
|
var StyledInput = (0, _styles.styled)('input', function (props) {
|
|
282
274
|
var _props$$theme3 = props.$theme,
|
|
283
275
|
colors = _props$$theme3.colors,
|
|
@@ -310,7 +302,6 @@ var StyledInput = (0, _styles.styled)('input', function (props) {
|
|
|
310
302
|
});
|
|
311
303
|
exports.StyledInput = StyledInput;
|
|
312
304
|
StyledInput.displayName = "StyledInput";
|
|
313
|
-
StyledInput.displayName = 'StyledInput';
|
|
314
305
|
var StyledInputSizer = (0, _styles.styled)('div', function (_ref) {
|
|
315
306
|
var _objectSpread3;
|
|
316
307
|
|
|
@@ -325,7 +316,6 @@ var StyledInputSizer = (0, _styles.styled)('div', function (_ref) {
|
|
|
325
316
|
});
|
|
326
317
|
exports.StyledInputSizer = StyledInputSizer;
|
|
327
318
|
StyledInputSizer.displayName = "StyledInputSizer";
|
|
328
|
-
StyledInputSizer.displayName = 'StyledInputSizer';
|
|
329
319
|
var StyledIconsContainer = (0, _styles.styled)('div', function (_ref2) {
|
|
330
320
|
var $theme = _ref2.$theme,
|
|
331
321
|
sizing = _ref2.$theme.sizing;
|
|
@@ -341,7 +331,6 @@ var StyledIconsContainer = (0, _styles.styled)('div', function (_ref2) {
|
|
|
341
331
|
});
|
|
342
332
|
exports.StyledIconsContainer = StyledIconsContainer;
|
|
343
333
|
StyledIconsContainer.displayName = "StyledIconsContainer";
|
|
344
|
-
StyledIconsContainer.displayName = 'StyledIconsContainer';
|
|
345
334
|
|
|
346
335
|
function getSvgStyles(_ref4) {
|
|
347
336
|
var $theme = _ref4.$theme;
|
|
@@ -379,7 +368,6 @@ var StyledSelectArrow = (0, _styles.styled)('svg', function (props) {
|
|
|
379
368
|
});
|
|
380
369
|
exports.StyledSelectArrow = StyledSelectArrow;
|
|
381
370
|
StyledSelectArrow.displayName = "StyledSelectArrow";
|
|
382
|
-
StyledSelectArrow.displayName = 'StyledSelectArrow';
|
|
383
371
|
var StyledClearIcon = (0, _styles.styled)('svg', function (props) {
|
|
384
372
|
var _sizes2;
|
|
385
373
|
|
|
@@ -404,7 +392,6 @@ var StyledClearIcon = (0, _styles.styled)('svg', function (props) {
|
|
|
404
392
|
});
|
|
405
393
|
exports.StyledClearIcon = StyledClearIcon;
|
|
406
394
|
StyledClearIcon.displayName = "StyledClearIcon";
|
|
407
|
-
StyledClearIcon.displayName = 'StyledClearIcon';
|
|
408
395
|
var StyledLoadingIndicator = (0, _styles.withStyle)(_spinner.Spinner, function (_ref5) {
|
|
409
396
|
var $theme = _ref5.$theme;
|
|
410
397
|
return {
|
|
@@ -421,7 +408,6 @@ var StyledLoadingIndicator = (0, _styles.withStyle)(_spinner.Spinner, function (
|
|
|
421
408
|
});
|
|
422
409
|
exports.StyledLoadingIndicator = StyledLoadingIndicator;
|
|
423
410
|
StyledLoadingIndicator.displayName = "StyledLoadingIndicator";
|
|
424
|
-
StyledLoadingIndicator.displayName = 'StyledLoadingIndicator';
|
|
425
411
|
var StyledSearchIconContainer = (0, _styles.styled)('div', function (props) {
|
|
426
412
|
var _objectSpread4;
|
|
427
413
|
|
|
@@ -438,5 +424,4 @@ var StyledSearchIconContainer = (0, _styles.styled)('div', function (props) {
|
|
|
438
424
|
}, _defineProperty(_objectSpread4, dir, sizing.scale500), _defineProperty(_objectSpread4, "display", 'flex'), _defineProperty(_objectSpread4, "alignItems", 'center'), _defineProperty(_objectSpread4, "height", '100%'), _objectSpread4));
|
|
439
425
|
});
|
|
440
426
|
exports.StyledSearchIconContainer = StyledSearchIconContainer;
|
|
441
|
-
StyledSearchIconContainer.displayName = "StyledSearchIconContainer";
|
|
442
|
-
StyledSearchIconContainer.displayName = 'StyledSearchIconContainer';
|
|
427
|
+
StyledSearchIconContainer.displayName = "StyledSearchIconContainer";
|
package/select/value.js
CHANGED
|
@@ -37,7 +37,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
37
37
|
|
|
38
38
|
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; }
|
|
39
39
|
|
|
40
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41
40
|
function Value(props) {
|
|
42
41
|
var _props$overrides = props.overrides,
|
|
43
42
|
overrides = _props$overrides === void 0 ? {} : _props$overrides,
|
|
@@ -48,5 +47,7 @@ function Value(props) {
|
|
|
48
47
|
SingleValue = _getOverrides2[0],
|
|
49
48
|
singleValueProps = _getOverrides2[1];
|
|
50
49
|
|
|
51
|
-
return /*#__PURE__*/React.createElement(SingleValue, _extends({
|
|
50
|
+
return /*#__PURE__*/React.createElement(SingleValue, _extends({
|
|
51
|
+
"aria-selected": "true"
|
|
52
|
+
}, restProps, singleValueProps), props.children);
|
|
52
53
|
}
|