baseui 12.0.0 → 12.1.0
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 +4 -2
- package/accordion/accordion.js.flow +1 -1
- package/accordion/panel.js +3 -2
- package/accordion/stateful-panel-container.js +1 -0
- package/accordion/styled-components.js +8 -1
- package/accordion/types.d.ts +2 -2
- package/app-nav-bar/app-nav-bar.js +4 -2
- package/app-nav-bar/mobile-menu.js +2 -1
- package/app-nav-bar/styled-components.js +19 -1
- package/app-nav-bar/types.d.ts +2 -2
- package/app-nav-bar/user-menu.js +1 -1
- package/aspect-ratio-box/aspect-ratio-box-body.d.ts +1 -1
- package/aspect-ratio-box/aspect-ratio-box.js +3 -1
- package/aspect-ratio-box/types.d.ts +1 -1
- package/avatar/styled-components.js +4 -1
- package/badge/styled-components.js +16 -11
- package/badge/styled-components.js.flow +4 -4
- package/badge/types.d.ts +2 -2
- package/banner/index.d.ts +1 -1
- package/banner/styled-components.js +25 -12
- package/banner/types.d.ts +15 -15
- package/banner/types.js.flow +13 -11
- package/block/block.js +3 -1
- package/block/styled-components.js +2 -1
- package/block/types.d.ts +3 -4
- package/breadcrumbs/styled-components.js +5 -1
- package/button/styled-components.js +7 -0
- package/button/styled-components.js.flow +2 -0
- package/button/types.d.ts +4 -5
- package/button-group/stateful-button-group.js +1 -0
- package/button-group/stateful-container.js +3 -1
- package/button-group/styled-components.js +2 -1
- package/button-group/types.d.ts +4 -5
- package/card/styled-components.js +11 -4
- package/checkbox/styled-components.js +10 -4
- package/checkbox/styled-components.js.flow +1 -1
- package/checkbox/types.d.ts +36 -37
- package/combobox/combobox.js +78 -71
- package/combobox/styled-components.js +5 -1
- package/combobox/types.d.ts +4 -5
- package/data-table/column-anchor.js +3 -0
- package/data-table/column-datetime.js +10 -4
- package/data-table/column-numerical.js +4 -4
- package/data-table/column-string.js +3 -0
- package/data-table/column.js +6 -1
- package/data-table/data-table.js +6 -3
- package/data-table/filter-menu.js +2 -1
- package/data-table/header-cell.js +43 -34
- package/data-table/locale.d.ts +4 -0
- package/data-table/locale.js +3 -1
- package/data-table/locale.js.flow +5 -0
- package/data-table/measure-column-widths.js +5 -4
- package/data-table/stateful-container.js +2 -1
- package/data-table/stateful-data-table.js +4 -4
- package/data-table/types.d.ts +4 -5
- package/datepicker/calendar-header.js +1 -0
- package/datepicker/calendar.js +2 -0
- package/datepicker/datepicker.js +2 -0
- package/datepicker/day.js +2 -1
- package/datepicker/index.d.ts +1 -1
- package/datepicker/index.js +7 -0
- package/datepicker/index.js.flow +1 -1
- package/datepicker/stateful-calendar.js +7 -3
- package/datepicker/stateful-container.js +2 -0
- package/datepicker/stateful-datepicker.js +9 -4
- package/datepicker/styled-components.js +27 -4
- package/datepicker/types.d.ts +2 -2
- package/datepicker/utils/date-helpers.js +2 -1
- package/datepicker/utils/index.js +2 -1
- package/divider/styled-components.js +4 -3
- package/divider/types.d.ts +1 -1
- package/dnd-list/stateful-list-container.js +1 -0
- package/dnd-list/styled-components.js +7 -0
- package/dnd-list/types.d.ts +2 -2
- package/drawer/constants.js +1 -0
- package/drawer/drawer.js +2 -3
- package/drawer/drawer.js.flow +1 -3
- package/drawer/styled-components.js +9 -2
- package/drawer/types.d.ts +2 -2
- package/es/accordion/accordion.js +3 -3
- package/es/accordion/panel.js +3 -2
- package/es/accordion/stateful-panel-container.js +1 -0
- package/es/accordion/styled-components.js +8 -1
- package/es/app-nav-bar/app-nav-bar.js +6 -2
- package/es/app-nav-bar/mobile-menu.js +4 -2
- package/es/app-nav-bar/styled-components.js +19 -1
- package/es/app-nav-bar/user-menu.js +1 -1
- package/es/aspect-ratio-box/aspect-ratio-box.js +3 -1
- package/es/avatar/styled-components.js +4 -1
- package/es/badge/styled-components.js +11 -6
- package/es/banner/styled-components.js +16 -3
- package/es/block/block.js +3 -1
- package/es/block/styled-components.js +2 -1
- package/es/breadcrumbs/styled-components.js +5 -1
- package/es/button/button.js +8 -0
- package/es/button/styled-components.js +7 -0
- package/es/button-group/stateful-button-group.js +1 -0
- package/es/button-group/stateful-container.js +3 -1
- package/es/button-group/styled-components.js +2 -1
- package/es/card/index.js +2 -1
- package/es/card/styled-components.js +12 -4
- package/es/checkbox/index.js +1 -0
- package/es/checkbox/stateful-checkbox-container.js +3 -0
- package/es/checkbox/styled-components.js +10 -4
- package/es/combobox/combobox.js +76 -69
- package/es/combobox/styled-components.js +5 -1
- package/es/data-table/column-anchor.js +3 -0
- package/es/data-table/column-datetime.js +12 -5
- package/es/data-table/column-numerical.js +5 -4
- package/es/data-table/column-string.js +3 -0
- package/es/data-table/column.js +4 -1
- package/es/data-table/data-table.js +6 -3
- package/es/data-table/filter-menu.js +2 -1
- package/es/data-table/header-cell.js +41 -34
- package/es/data-table/locale.js +3 -1
- package/es/data-table/measure-column-widths.js +5 -4
- package/es/data-table/stateful-container.js +2 -1
- package/es/data-table/stateful-data-table.js +4 -4
- package/es/datepicker/calendar-header.js +1 -0
- package/es/datepicker/calendar.js +2 -0
- package/es/datepicker/datepicker.js +3 -1
- package/es/datepicker/day.js +2 -1
- package/es/datepicker/index.js +1 -1
- package/es/datepicker/stateful-calendar.js +4 -1
- package/es/datepicker/stateful-container.js +2 -0
- package/es/datepicker/stateful-datepicker.js +5 -1
- package/es/datepicker/styled-components.js +26 -3
- package/es/datepicker/utils/date-helpers.js +2 -1
- package/es/datepicker/utils/index.js +2 -1
- package/es/divider/styled-components.js +3 -2
- package/es/dnd-list/stateful-list-container.js +1 -0
- package/es/dnd-list/styled-components.js +7 -0
- package/es/drawer/constants.js +1 -0
- package/es/drawer/drawer.js +2 -5
- package/es/drawer/styled-components.js +9 -2
- package/es/file-uploader/styled-components.js +6 -1
- package/es/flex-grid/flex-grid-item.js +5 -6
- package/es/flex-grid/flex-grid.js +4 -1
- package/es/form-control/styled-components.js +6 -1
- package/es/header-navigation/styled-components.js +4 -1
- package/es/helper/styled-components.js +3 -1
- package/es/helpers/overrides.js +9 -5
- package/es/icon/build-icons.js +0 -2
- package/es/icon/index.js +1 -1
- package/es/icon/omit-dollar-prefixed-keys.js +1 -0
- package/es/icon/styled-components.js +2 -1
- package/es/input/base-input.js +1 -0
- package/es/input/masked-input.js +9 -2
- package/es/input/stateful-container.js +1 -0
- package/es/input/styled-components.js +18 -7
- package/es/input/utils.js +2 -0
- package/es/layer/layer.js +24 -0
- package/es/layer/layers-manager.js +91 -1
- package/es/layout-grid/styled-components.js +3 -0
- package/es/link/index.js +2 -1
- package/es/link/styled-components.js +2 -1
- package/es/list/list-heading.js +21 -17
- package/es/list/list-item.js +2 -1
- package/es/list/styled-components.js +17 -1
- package/es/locale/es_AR.js +3 -1
- package/es/locale/index.js +2 -1
- package/es/locale/tr_TR.js +3 -1
- package/es/map-marker/constants.js +14 -0
- package/es/map-marker/fixed-marker.js +1 -0
- package/es/map-marker/index.js +2 -1
- package/es/map-marker/location-puck.js +142 -0
- package/es/map-marker/pin-head.js +1 -0
- package/es/map-marker/styled-components.js +86 -2
- package/es/menu/index.js +1 -1
- package/es/menu/menu.js +14 -4
- package/es/menu/option-profile.js +1 -0
- package/es/menu/stateful-container.js +10 -0
- package/es/menu/styled-components.js +32 -2
- package/es/message-card/constants.js +19 -0
- package/es/message-card/index.js +10 -0
- package/es/message-card/message-card.js +114 -0
- package/es/message-card/styled-components.js +108 -0
- package/es/message-card/types.js +1 -0
- package/es/message-card/utils.js +27 -0
- package/es/modal/modal.js +4 -6
- package/es/modal/styled-components.js +8 -1
- package/es/pagination/stateful-container.js +1 -0
- package/es/pagination/stateful-pagination.js +1 -0
- package/es/pagination/styled-components.js +4 -1
- package/es/payment-card/styled-components.js +2 -1
- package/es/phone-input/base-country-picker.js +3 -1
- package/es/phone-input/country-select-dropdown.js +1 -0
- package/es/phone-input/styled-components.js +15 -4
- package/es/pin-code/styled-components.js +4 -1
- package/es/popover/popover.js +9 -12
- package/es/popover/styled-components.js +9 -4
- package/es/progress-bar/progressbar-rounded.js +1 -0
- package/es/progress-bar/styled-components.js +14 -2
- package/es/progress-steps/progress-steps.js +2 -1
- package/es/progress-steps/styled-components.js +20 -12
- package/es/radio/stateful-radiogroup-container.js +3 -0
- package/es/radio/styled-components.js +10 -3
- package/es/rating/emoticon-rating.js +2 -1
- package/es/rating/star-rating.js +2 -1
- package/es/rating/styled-components.js +5 -1
- package/es/select/autosize-input.js +2 -3
- package/es/select/default-props.js +1 -1
- package/es/select/dropdown.js +2 -1
- package/es/select/multi-value.js +2 -1
- package/es/select/select-component.js +10 -10
- package/es/select/single-select.js +2 -2
- package/es/select/stateful-select-container.js +2 -0
- package/es/select/styled-components.js +33 -6
- package/es/select/value.js +3 -4
- package/es/side-navigation/index.js +2 -1
- package/es/side-navigation/nav-item.js +1 -0
- package/es/side-navigation/nav.js +1 -1
- package/es/side-navigation/stateful-container.js +1 -0
- package/es/side-navigation/styled-components.js +8 -2
- package/es/skeleton/styled-components.js +3 -1
- package/es/slider/slider.js +4 -2
- package/es/slider/stateful-slider-container.js +2 -0
- package/es/slider/styled-components.js +9 -0
- package/es/snackbar/snackbar-element.js +1 -0
- package/es/snackbar/styled-components.js +9 -1
- package/es/spinner/styled-components.js +2 -1
- package/es/styles/__mocks__/styled.js +8 -5
- package/es/styles/styled.js +7 -6
- package/es/table/index.js +2 -1
- package/es/table/styled-components.js +13 -1
- package/es/table-grid/styled-components.js +4 -1
- package/es/table-semantic/styled-components.js +20 -3
- package/es/tabs/stateful-tabs.js +1 -0
- package/es/tabs/styled-components.js +5 -1
- package/es/tabs/tabs.js +4 -2
- package/es/tabs-motion/styled-components.js +32 -2
- package/es/tabs-motion/tab.js +1 -0
- package/es/tabs-motion/tabs.js +31 -6
- package/es/tag/styled-components.js +32 -1
- package/es/tag/tag.js +6 -2
- package/es/textarea/styled-components.js +20 -12
- package/es/textarea/textarea.js +4 -2
- package/es/themes/move-theme/typography.js +36 -0
- package/es/themes/shared/borders.js +8 -3
- package/es/themes/shared/typography.js +10 -10
- package/es/timezonepicker/timezone-picker.js +5 -1
- package/es/timezonepicker/tzdata.js +1 -1
- package/es/toast/styled-components.js +5 -1
- package/es/toast/toaster.js +0 -2
- package/es/tokens/colors.js +24 -0
- package/es/tooltip/styled-components.js +4 -1
- package/es/tree-view/index.js +2 -1
- package/es/tree-view/styled-components.js +7 -1
- package/es/tree-view/tree-view.js +3 -1
- package/es/types/globals.d.js +12 -0
- package/es/utils/deep-merge.js +0 -5
- package/es/utils/deprecated-component.js +1 -0
- package/es/utils/focusVisible.js +4 -2
- package/esm/accordion/accordion.js +4 -4
- package/esm/accordion/panel.js +3 -2
- package/esm/accordion/stateful-panel-container.js +1 -0
- package/esm/accordion/styled-components.js +8 -1
- package/esm/app-nav-bar/app-nav-bar.js +4 -2
- package/esm/app-nav-bar/mobile-menu.js +4 -2
- package/esm/app-nav-bar/styled-components.js +19 -1
- package/esm/app-nav-bar/user-menu.js +1 -1
- package/esm/aspect-ratio-box/aspect-ratio-box.js +3 -1
- package/esm/avatar/styled-components.js +4 -1
- package/esm/badge/styled-components.js +11 -6
- package/esm/banner/styled-components.js +16 -3
- package/esm/block/block.js +3 -1
- package/esm/block/styled-components.js +2 -1
- package/esm/breadcrumbs/styled-components.js +5 -1
- package/esm/button/styled-components.js +7 -0
- package/esm/button-group/stateful-button-group.js +1 -0
- package/esm/button-group/stateful-container.js +3 -1
- package/esm/button-group/styled-components.js +2 -1
- package/esm/card/index.js +2 -1
- package/esm/card/styled-components.js +12 -4
- package/esm/checkbox/index.js +1 -0
- package/esm/checkbox/styled-components.js +10 -4
- package/esm/combobox/combobox.js +78 -71
- package/esm/combobox/styled-components.js +5 -1
- package/esm/data-table/column-anchor.js +3 -0
- package/esm/data-table/column-datetime.js +12 -5
- package/esm/data-table/column-numerical.js +4 -4
- package/esm/data-table/column-string.js +3 -0
- package/esm/data-table/column.js +5 -1
- package/esm/data-table/data-table.js +6 -3
- package/esm/data-table/filter-menu.js +2 -1
- package/esm/data-table/header-cell.js +42 -34
- package/esm/data-table/locale.js +3 -1
- package/esm/data-table/measure-column-widths.js +5 -4
- package/esm/data-table/stateful-container.js +2 -1
- package/esm/data-table/stateful-data-table.js +4 -4
- package/esm/datepicker/calendar-header.js +1 -0
- package/esm/datepicker/calendar.js +2 -0
- package/esm/datepicker/datepicker.js +3 -1
- package/esm/datepicker/day.js +2 -1
- package/esm/datepicker/index.js +1 -1
- package/esm/datepicker/stateful-calendar.js +7 -3
- package/esm/datepicker/stateful-container.js +2 -0
- package/esm/datepicker/stateful-datepicker.js +9 -4
- package/esm/datepicker/styled-components.js +26 -3
- package/esm/datepicker/utils/date-helpers.js +2 -1
- package/esm/datepicker/utils/index.js +2 -1
- package/esm/divider/styled-components.js +3 -2
- package/esm/dnd-list/stateful-list-container.js +1 -0
- package/esm/dnd-list/styled-components.js +7 -0
- package/esm/drawer/constants.js +1 -0
- package/esm/drawer/drawer.js +2 -5
- package/esm/drawer/styled-components.js +9 -2
- package/esm/file-uploader/styled-components.js +6 -1
- package/esm/flex-grid/flex-grid-item.js +4 -5
- package/esm/flex-grid/flex-grid.js +7 -3
- package/esm/form-control/styled-components.js +6 -1
- package/esm/header-navigation/styled-components.js +4 -1
- package/esm/helper/styled-components.js +3 -1
- package/esm/helpers/overrides.js +9 -5
- package/esm/icon/build-icons.js +0 -2
- package/esm/icon/index.js +1 -1
- package/esm/icon/omit-dollar-prefixed-keys.js +1 -0
- package/esm/icon/styled-components.js +2 -1
- package/esm/input/base-input.js +1 -0
- package/esm/input/masked-input.js +5 -2
- package/esm/input/stateful-container.js +1 -0
- package/esm/input/styled-components.js +18 -7
- package/esm/input/utils.js +2 -0
- package/esm/layer/layer.js +24 -0
- package/esm/layer/layers-manager.js +97 -1
- package/esm/layout-grid/styled-components.js +3 -0
- package/esm/link/index.js +2 -1
- package/esm/link/styled-components.js +2 -1
- package/esm/list/list-heading.js +21 -17
- package/esm/list/list-item.js +2 -1
- package/esm/list/styled-components.js +17 -1
- package/esm/locale/es_AR.js +3 -1
- package/esm/locale/index.js +4 -1
- package/esm/locale/tr_TR.js +3 -1
- package/esm/map-marker/constants.js +12 -2
- package/esm/map-marker/index.js +2 -1
- package/esm/map-marker/location-puck.js +199 -0
- package/esm/map-marker/styled-components.js +82 -2
- package/esm/menu/index.js +1 -1
- package/esm/menu/menu.js +16 -4
- package/esm/menu/option-profile.js +1 -0
- package/esm/menu/stateful-container.js +1 -0
- package/esm/menu/styled-components.js +38 -6
- package/esm/message-card/constants.js +20 -0
- package/esm/message-card/index.js +10 -0
- package/esm/message-card/message-card.js +168 -0
- package/esm/message-card/styled-components.js +116 -0
- package/esm/message-card/types.js +1 -0
- package/esm/message-card/utils.js +26 -0
- package/esm/modal/modal.js +4 -6
- package/esm/modal/styled-components.js +8 -1
- package/esm/pagination/stateful-container.js +1 -0
- package/esm/pagination/stateful-pagination.js +1 -0
- package/esm/pagination/styled-components.js +4 -1
- package/esm/payment-card/styled-components.js +2 -1
- package/esm/phone-input/base-country-picker.js +3 -1
- package/esm/phone-input/country-select-dropdown.js +1 -0
- package/esm/phone-input/styled-components.js +20 -8
- package/esm/pin-code/styled-components.js +4 -1
- package/esm/popover/popover.js +9 -12
- package/esm/popover/styled-components.js +9 -4
- package/esm/progress-bar/progressbar-rounded.js +1 -0
- package/esm/progress-bar/styled-components.js +14 -2
- package/esm/progress-steps/progress-steps.js +2 -1
- package/esm/progress-steps/styled-components.js +28 -19
- package/esm/radio/styled-components.js +10 -3
- package/esm/rating/emoticon-rating.js +2 -1
- package/esm/rating/star-rating.js +2 -1
- package/esm/rating/styled-components.js +5 -1
- package/esm/select/autosize-input.js +2 -3
- package/esm/select/default-props.js +1 -1
- package/esm/select/dropdown.js +2 -1
- package/esm/select/multi-value.js +2 -1
- package/esm/select/select-component.js +10 -10
- package/esm/select/single-select.js +2 -2
- package/esm/select/styled-components.js +33 -6
- package/esm/select/value.js +3 -4
- package/esm/side-navigation/index.js +2 -1
- package/esm/side-navigation/nav-item.js +1 -0
- package/esm/side-navigation/nav.js +1 -1
- package/esm/side-navigation/stateful-container.js +1 -0
- package/esm/side-navigation/styled-components.js +13 -6
- package/esm/skeleton/styled-components.js +3 -1
- package/esm/slider/slider.js +4 -2
- package/esm/slider/styled-components.js +9 -0
- package/esm/snackbar/snackbar-element.js +1 -0
- package/esm/snackbar/styled-components.js +9 -1
- package/esm/spinner/styled-components.js +2 -1
- package/esm/styles/__mocks__/styled.js +8 -5
- package/esm/styles/styled.js +7 -6
- package/esm/table/index.js +2 -1
- package/esm/table/styled-components.js +13 -1
- package/esm/table-grid/styled-components.js +4 -1
- package/esm/table-semantic/styled-components.js +20 -3
- package/esm/tabs/stateful-tabs.js +1 -0
- package/esm/tabs/styled-components.js +5 -1
- package/esm/tabs/tabs.js +4 -2
- package/esm/tabs-motion/styled-components.js +68 -40
- package/esm/tabs-motion/tab.js +1 -0
- package/esm/tabs-motion/tabs.js +87 -58
- package/esm/tag/styled-components.js +5 -1
- package/esm/tag/tag.js +4 -2
- package/esm/textarea/styled-components.js +11 -6
- package/esm/textarea/textarea.js +4 -2
- package/esm/themes/move-theme/typography.js +36 -0
- package/esm/themes/shared/borders.js +8 -3
- package/esm/themes/shared/typography.js +10 -10
- package/esm/timezonepicker/timezone-picker.js +6 -2
- package/esm/timezonepicker/tzdata.js +1 -1
- package/esm/toast/styled-components.js +5 -1
- package/esm/toast/toaster.js +0 -2
- package/esm/tokens/colors.js +24 -0
- package/esm/tooltip/styled-components.js +4 -1
- package/esm/tree-view/index.js +2 -1
- package/esm/tree-view/styled-components.js +7 -1
- package/esm/tree-view/tree-view.js +3 -1
- package/esm/types/globals.d.js +12 -0
- package/esm/utils/deep-merge.js +0 -5
- package/esm/utils/deprecated-component.js +1 -0
- package/esm/utils/focusVisible.js +4 -2
- package/file-uploader/styled-components.js +6 -1
- package/flex-grid/flex-grid-item.d.ts +1 -1
- package/flex-grid/flex-grid-item.js +6 -8
- package/flex-grid/flex-grid.js +7 -3
- package/flex-grid/types.d.ts +1 -1
- package/form-control/styled-components.js +6 -1
- package/form-control/types.d.ts +1 -1
- package/header-navigation/styled-components.js +4 -1
- package/heading/types.d.ts +1 -1
- package/helper/styled-components.js +3 -1
- package/helpers/overrides.js +8 -3
- package/helpers/overrides.js.flow +1 -1
- package/helpers/types.d.ts +1 -1
- package/icon/build-icons.js +0 -2
- package/icon/build-icons.js.flow +0 -1
- package/icon/index.d.ts +1 -1
- package/icon/index.js +8 -1
- package/icon/index.js.flow +1 -1
- package/icon/omit-dollar-prefixed-keys.js +1 -0
- package/icon/styled-components.js +2 -1
- package/icon/types.d.ts +1 -1
- package/input/masked-input.js +5 -2
- package/input/stateful-container.js +1 -0
- package/input/styled-components.js +18 -7
- package/input/styled-components.js.flow +9 -2
- package/input/types.d.ts +16 -14
- package/input/types.js.flow +3 -0
- package/input/utils.js +2 -0
- package/layer/layer.js +24 -0
- package/layer/layer.js.flow +25 -0
- package/layer/layers-manager.d.ts +8 -0
- package/layer/layers-manager.js +97 -1
- package/layer/layers-manager.js.flow +84 -1
- package/layer/types.d.ts +23 -2
- package/layer/types.js.flow +22 -1
- package/layout-grid/styled-components.js +3 -0
- package/layout-grid/types.d.ts +2 -2
- package/link/index.js +2 -1
- package/link/styled-components.js +2 -1
- package/list/list-heading.js +21 -17
- package/list/list-item.js +2 -1
- package/list/styled-components.js +17 -1
- package/list/types.d.ts +2 -2
- package/locale/en_US.d.ts +1 -1
- package/locale/es_AR.d.ts +1 -1
- package/locale/es_AR.js +3 -1
- package/locale/index.js +4 -1
- package/locale/tr_TR.d.ts +1 -1
- package/locale/tr_TR.js +3 -1
- package/map-marker/constants.d.ts +14 -0
- package/map-marker/constants.js +16 -3
- package/map-marker/constants.js.flow +17 -0
- package/map-marker/index.d.ts +2 -1
- package/map-marker/index.js +24 -1
- package/map-marker/index.js.flow +5 -3
- package/map-marker/location-puck.d.ts +4 -0
- package/map-marker/location-puck.js +211 -0
- package/map-marker/location-puck.js.flow +18 -0
- package/map-marker/styled-components.d.ts +17 -1
- package/map-marker/styled-components.js +88 -2
- package/map-marker/styled-components.js.flow +58 -0
- package/map-marker/types.d.ts +33 -5
- package/map-marker/types.js.flow +37 -3
- package/menu/index.d.ts +2 -3
- package/menu/index.js +8 -1
- package/menu/index.js.flow +1 -0
- package/menu/menu.js +15 -3
- package/menu/menu.js.flow +11 -1
- package/menu/option-profile.js +1 -0
- package/menu/stateful-container.js +1 -0
- package/menu/styled-components.d.ts +1 -0
- package/menu/styled-components.js +40 -7
- package/menu/styled-components.js.flow +13 -0
- package/menu/types.d.ts +13 -13
- package/menu/types.js.flow +1 -0
- package/message-card/constants.d.ts +12 -0
- package/message-card/constants.js +25 -0
- package/message-card/index.d.ts +4 -0
- package/message-card/index.js +60 -0
- package/message-card/index.js.flow +72 -0
- package/message-card/message-card.d.ts +4 -0
- package/message-card/message-card.js +184 -0
- package/message-card/package.json +4 -0
- package/message-card/styled-components.d.ts +14 -0
- package/message-card/styled-components.js +124 -0
- package/message-card/types.d.ts +27 -0
- package/message-card/types.js +5 -0
- package/message-card/utils.d.ts +1 -0
- package/message-card/utils.js +36 -0
- package/modal/modal.js +4 -4
- package/modal/modal.js.flow +1 -3
- package/modal/styled-components.js +8 -1
- package/modal/types.d.ts +2 -2
- package/package.json +9 -11
- package/pagination/stateful-container.js +1 -0
- package/pagination/stateful-pagination.js +1 -0
- package/pagination/styled-components.js +4 -1
- package/pagination/types.d.ts +2 -2
- package/payment-card/styled-components.js +2 -1
- package/phone-input/base-country-picker.js +3 -1
- package/phone-input/country-select-dropdown.js +1 -0
- package/phone-input/styled-components.js +21 -9
- package/phone-input/types.d.ts +5 -6
- package/pin-code/styled-components.js +4 -1
- package/pin-code/types.d.ts +2 -2
- package/popover/popover.js +9 -12
- package/popover/popover.js.flow +2 -12
- package/popover/styled-components.js +12 -9
- package/popover/types.d.ts +2 -2
- package/progress-bar/progressbar-rounded.js +1 -0
- package/progress-bar/styled-components.js +14 -2
- package/progress-bar/types.d.ts +2 -2
- package/progress-steps/progress-steps.js +2 -1
- package/progress-steps/styled-components.js +28 -19
- package/radio/styled-components.js +10 -3
- package/radio/types.d.ts +19 -20
- package/rating/emoticon-rating.js +2 -1
- package/rating/star-rating.js +2 -1
- package/rating/styled-components.js +5 -1
- package/select/autosize-input.js +2 -1
- package/select/autosize-input.js.flow +1 -1
- package/select/default-props.js +1 -1
- package/select/dropdown.js +2 -1
- package/select/multi-value.js +1 -0
- package/select/select-component.d.ts +1 -1
- package/select/select-component.js +9 -7
- 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 +33 -6
- package/select/styled-components.js.flow +25 -5
- package/select/types.d.ts +5 -6
- package/select/value.js +2 -3
- package/side-navigation/nav-item.js +1 -0
- package/side-navigation/nav.js +1 -1
- package/side-navigation/stateful-container.js +1 -0
- package/side-navigation/styled-components.js +13 -6
- package/side-navigation/types.d.ts +1 -1
- package/skeleton/styled-components.js +3 -1
- package/slider/slider.js +4 -2
- package/slider/styled-components.js +9 -0
- package/slider/types.d.ts +1 -1
- package/snackbar/snackbar-element.js +1 -0
- package/snackbar/styled-components.js +9 -1
- package/snackbar/types.d.ts +3 -4
- package/spinner/styled-components.js +2 -1
- package/spinner/types.d.ts +1 -1
- package/styles/__mocks__/styled.js +8 -3
- package/styles/styled.d.ts +1 -1
- package/styles/styled.js +7 -6
- package/table/styled-components.js +13 -1
- package/table/types.d.ts +2 -2
- package/table-grid/styled-components.js +4 -1
- package/table-semantic/styled-components.js +20 -3
- package/table-semantic/types.d.ts +2 -2
- package/tabs/stateful-tabs.js +1 -0
- package/tabs/styled-components.js +5 -1
- package/tabs/tabs.js +4 -2
- package/tabs/types.d.ts +2 -2
- package/tabs-motion/styled-components.d.ts +5 -0
- package/tabs-motion/styled-components.js +71 -41
- package/tabs-motion/styled-components.js.flow +21 -0
- package/tabs-motion/tab.js +1 -0
- package/tabs-motion/tabs.d.ts +1 -1
- package/tabs-motion/tabs.js +87 -57
- package/tabs-motion/tabs.js.flow +69 -38
- package/tabs-motion/types.d.ts +5 -2
- package/tabs-motion/types.js.flow +3 -0
- package/tabs-motion/utils.d.ts +1 -1
- package/tag/styled-components.js +5 -1
- package/tag/tag.js +4 -2
- package/tag/types.d.ts +4 -5
- package/textarea/styled-components.js +11 -6
- package/textarea/textarea.js +4 -2
- package/textarea/types.d.ts +6 -5
- package/textarea/types.js.flow +3 -1
- package/themes/move-theme/typography.d.ts +36 -0
- package/themes/move-theme/typography.js +36 -0
- package/themes/move-theme/typography.js.flow +12 -0
- package/themes/shared/borders.js +8 -3
- package/themes/shared/borders.js.flow +7 -3
- package/themes/shared/typography.js +10 -10
- package/themes/shared/typography.js.flow +10 -10
- package/themes/types.d.ts +3 -0
- package/themes/types.js.flow +3 -0
- package/timezonepicker/timezone-picker.js +6 -2
- package/timezonepicker/types.d.ts +1 -0
- package/timezonepicker/types.js.flow +1 -0
- package/timezonepicker/tzdata.js +1 -1
- package/toast/styled-components.js +5 -1
- package/toast/toaster.js.flow +1 -1
- package/toast/types.d.ts +2 -2
- package/tokens/colors.js +24 -0
- package/tokens/colors.js.flow +27 -0
- package/tokens/types.d.ts +24 -0
- package/tokens/types.js.flow +27 -0
- package/tooltip/styled-components.js +4 -1
- package/tree-view/styled-components.js +7 -1
- package/tree-view/tree-view.js +3 -1
- package/tree-view/types.d.ts +3 -4
- package/types/globals.d.js +14 -1
- package/utils/deep-merge.js +0 -6
- package/utils/deprecated-component.js +1 -0
- package/utils/focusVisible.d.ts +1 -1
- package/utils/focusVisible.js +4 -2
- package/card/images.d.ts +0 -2
- package/card/images.js +0 -17
- package/card/images.js.flow +0 -18
- package/es/card/images.js +0 -8
- package/esm/card/images.js +0 -8
package/accordion/accordion.js
CHANGED
|
@@ -94,7 +94,8 @@ var Accordion = /*#__PURE__*/function (_React$Component) {
|
|
|
94
94
|
|
|
95
95
|
_createClass(Accordion, [{
|
|
96
96
|
key: "onPanelChange",
|
|
97
|
-
value:
|
|
97
|
+
value: // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
98
|
+
function onPanelChange(key, onChange) {
|
|
98
99
|
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
|
99
100
|
args[_key2 - 2] = arguments[_key2];
|
|
100
101
|
}
|
|
@@ -195,7 +196,8 @@ var Accordion = /*#__PURE__*/function (_React$Component) {
|
|
|
195
196
|
disabled = _this$props2.disabled,
|
|
196
197
|
children = _this$props2.children,
|
|
197
198
|
renderAll = _this$props2.renderAll,
|
|
198
|
-
overrides = _this$props2.overrides;
|
|
199
|
+
overrides = _this$props2.overrides; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
200
|
+
|
|
199
201
|
return React.Children.map(children, function (child, index) {
|
|
200
202
|
if (!child) return;
|
|
201
203
|
var itemRef = /*#__PURE__*/React.createRef();
|
|
@@ -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
|
+
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { getOverrides } from '../helpers/overrides.js';
|
|
11
11
|
import { Root as StyledRoot } from './styled-components.js';
|
package/accordion/panel.js
CHANGED
|
@@ -78,7 +78,8 @@ var Panel = function Panel(_ref, ref) {
|
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
80
80
|
}, [localState]);
|
|
81
|
-
var handleBlur = React.useCallback(
|
|
81
|
+
var handleBlur = React.useCallback( // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
82
|
+
function (event) {
|
|
82
83
|
if (localState.isFocusVisible) {
|
|
83
84
|
setLocalState(_objectSpread(_objectSpread({}, localState), {}, {
|
|
84
85
|
isFocusVisible: false
|
|
@@ -114,7 +115,7 @@ var Panel = function Panel(_ref, ref) {
|
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
typeof onKeyDown === 'function' && onKeyDown(e);
|
|
117
|
-
}, [expanded, disabled, onChange, onKeyDown]);
|
|
118
|
+
}, [expanded, disabled, onChange, onKeyDown]); // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
118
119
|
|
|
119
120
|
var _animateRef = React.useRef(null);
|
|
120
121
|
|
|
@@ -97,6 +97,7 @@ var StatefulPanelContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
97
97
|
}, {
|
|
98
98
|
key: "render",
|
|
99
99
|
value: function render() {
|
|
100
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
100
101
|
var _this$props = this.props,
|
|
101
102
|
children = _this$props.children,
|
|
102
103
|
initialState = _this$props.initialState,
|
|
@@ -28,6 +28,7 @@ var Root = (0, _styles.styled)('ul', {
|
|
|
28
28
|
});
|
|
29
29
|
exports.Root = Root;
|
|
30
30
|
Root.displayName = "Root";
|
|
31
|
+
Root.displayName = 'Root';
|
|
31
32
|
var PanelContainer = (0, _styles.styled)('li', function (props) {
|
|
32
33
|
var $expanded = props.$expanded,
|
|
33
34
|
colors = props.$theme.colors;
|
|
@@ -41,6 +42,7 @@ var PanelContainer = (0, _styles.styled)('li', function (props) {
|
|
|
41
42
|
});
|
|
42
43
|
exports.PanelContainer = PanelContainer;
|
|
43
44
|
PanelContainer.displayName = "PanelContainer";
|
|
45
|
+
PanelContainer.displayName = 'PanelContainer';
|
|
44
46
|
var Header = (0, _styles.styled)('div', function (props) {
|
|
45
47
|
var $disabled = props.$disabled,
|
|
46
48
|
$isFocusVisible = props.$isFocusVisible,
|
|
@@ -72,6 +74,7 @@ var Header = (0, _styles.styled)('div', function (props) {
|
|
|
72
74
|
});
|
|
73
75
|
exports.Header = Header;
|
|
74
76
|
Header.displayName = "Header";
|
|
77
|
+
Header.displayName = 'Header';
|
|
75
78
|
var ToggleIcon = (0, _styles.styled)('svg', function (props) {
|
|
76
79
|
var $theme = props.$theme,
|
|
77
80
|
$disabled = props.$disabled,
|
|
@@ -84,6 +87,7 @@ var ToggleIcon = (0, _styles.styled)('svg', function (props) {
|
|
|
84
87
|
});
|
|
85
88
|
exports.ToggleIcon = ToggleIcon;
|
|
86
89
|
ToggleIcon.displayName = "ToggleIcon";
|
|
90
|
+
ToggleIcon.displayName = 'ToggleIcon';
|
|
87
91
|
var ToggleIconGroup = (0, _styles.styled)('g', function (props) {
|
|
88
92
|
var $theme = props.$theme,
|
|
89
93
|
$expanded = props.$expanded;
|
|
@@ -97,6 +101,7 @@ var ToggleIconGroup = (0, _styles.styled)('g', function (props) {
|
|
|
97
101
|
});
|
|
98
102
|
exports.ToggleIconGroup = ToggleIconGroup;
|
|
99
103
|
ToggleIconGroup.displayName = "ToggleIconGroup";
|
|
104
|
+
ToggleIconGroup.displayName = 'ToggleIconGroup';
|
|
100
105
|
var Content = (0, _styles.styled)('div', function (props) {
|
|
101
106
|
var _props$$theme2 = props.$theme,
|
|
102
107
|
animation = _props$$theme2.animation,
|
|
@@ -127,6 +132,7 @@ var Content = (0, _styles.styled)('div', function (props) {
|
|
|
127
132
|
});
|
|
128
133
|
exports.Content = Content;
|
|
129
134
|
Content.displayName = "Content";
|
|
135
|
+
Content.displayName = 'Content';
|
|
130
136
|
var ContentAnimationContainer = (0, _styles.styled)('div', function (props) {
|
|
131
137
|
var $height = props.$height,
|
|
132
138
|
animation = props.$theme.animation;
|
|
@@ -139,4 +145,5 @@ var ContentAnimationContainer = (0, _styles.styled)('div', function (props) {
|
|
|
139
145
|
};
|
|
140
146
|
});
|
|
141
147
|
exports.ContentAnimationContainer = ContentAnimationContainer;
|
|
142
|
-
ContentAnimationContainer.displayName = "ContentAnimationContainer";
|
|
148
|
+
ContentAnimationContainer.displayName = "ContentAnimationContainer";
|
|
149
|
+
ContentAnimationContainer.displayName = 'ContentAnimationContainer';
|
package/accordion/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import type { Override } from '../helpers/overrides';
|
|
3
|
-
import { STATE_CHANGE_TYPE } from './constants';
|
|
3
|
+
import type { STATE_CHANGE_TYPE } from './constants';
|
|
4
4
|
export declare type AccordionState = {
|
|
5
5
|
expanded: Array<React.Key>;
|
|
6
6
|
};
|
|
@@ -65,13 +65,15 @@ function MainMenuItem(props) {
|
|
|
65
65
|
if ((0, _focusVisible.isFocusVisible)(event)) {
|
|
66
66
|
setFocusVisible(true);
|
|
67
67
|
}
|
|
68
|
-
}
|
|
68
|
+
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
69
|
+
|
|
69
70
|
|
|
70
71
|
function handleBlur(event) {
|
|
71
72
|
if (focusVisible) {
|
|
72
73
|
setFocusVisible(false);
|
|
73
74
|
}
|
|
74
|
-
}
|
|
75
|
+
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
76
|
+
|
|
75
77
|
|
|
76
78
|
function handleClick(event) {
|
|
77
79
|
if (onSelect) {
|
|
@@ -72,7 +72,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
72
72
|
|
|
73
73
|
var USER_TITLE_ITEM = 'USER_TITLE_ITEM';
|
|
74
74
|
var USER_MENU_ITEM = 'USER_MENU_ITEM';
|
|
75
|
-
var PARENT_MENU_ITEM = 'PARENT_MENU_ITEM'; // eslint-disable-next-line react/display-name
|
|
75
|
+
var PARENT_MENU_ITEM = 'PARENT_MENU_ITEM'; // eslint-disable-next-line @typescript-eslint/no-explicit-any,react/display-name
|
|
76
76
|
|
|
77
77
|
var MobileNavMenuItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
78
78
|
var item = props.item,
|
|
@@ -169,6 +169,7 @@ function MobileMenu(props) {
|
|
|
169
169
|
|
|
170
170
|
drawerProps.overrides = (0, _overrides.mergeOverrides)({
|
|
171
171
|
DrawerBody: {
|
|
172
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
172
173
|
style: function style(_ref2) {
|
|
173
174
|
var $theme = _ref2.$theme;
|
|
174
175
|
return {
|
|
@@ -50,6 +50,7 @@ var StyledButton = (0, _styles.styled)('button', function (_ref) {
|
|
|
50
50
|
};
|
|
51
51
|
});
|
|
52
52
|
StyledButton.displayName = "StyledButton";
|
|
53
|
+
StyledButton.displayName = 'StyledButton';
|
|
53
54
|
var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
54
55
|
var $theme = props.$theme;
|
|
55
56
|
var mediaQueries = (0, _responsiveHelpers.getMediaQueries)($theme.breakpoints);
|
|
@@ -95,9 +96,11 @@ var StyledRoot = (0, _styles.styled)('div', function (props) {
|
|
|
95
96
|
});
|
|
96
97
|
exports.StyledRoot = StyledRoot;
|
|
97
98
|
StyledRoot.displayName = "StyledRoot";
|
|
99
|
+
StyledRoot.displayName = 'StyledRoot';
|
|
98
100
|
var StyledSubnavContainer = (0, _styles.styled)('div', {});
|
|
99
101
|
exports.StyledSubnavContainer = StyledSubnavContainer;
|
|
100
102
|
StyledSubnavContainer.displayName = "StyledSubnavContainer";
|
|
103
|
+
StyledSubnavContainer.displayName = 'StyledSubnavContainer';
|
|
101
104
|
var StyledSpacing = (0, _styles.styled)('div', function (props) {
|
|
102
105
|
var $theme = props.$theme;
|
|
103
106
|
return _defineProperty({
|
|
@@ -114,6 +117,7 @@ var StyledSpacing = (0, _styles.styled)('div', function (props) {
|
|
|
114
117
|
});
|
|
115
118
|
exports.StyledSpacing = StyledSpacing;
|
|
116
119
|
StyledSpacing.displayName = "StyledSpacing";
|
|
120
|
+
StyledSpacing.displayName = 'StyledSpacing';
|
|
117
121
|
var StyledAppName = (0, _styles.styled)('div', function (_ref3) {
|
|
118
122
|
var $theme = _ref3.$theme;
|
|
119
123
|
return _objectSpread(_objectSpread({}, $theme.typography.font550), {}, _defineProperty({
|
|
@@ -123,6 +127,7 @@ var StyledAppName = (0, _styles.styled)('div', function (_ref3) {
|
|
|
123
127
|
});
|
|
124
128
|
exports.StyledAppName = StyledAppName;
|
|
125
129
|
StyledAppName.displayName = "StyledAppName";
|
|
130
|
+
StyledAppName.displayName = 'StyledAppName';
|
|
126
131
|
var StyledSideMenuButton = (0, _styles.withStyle)(StyledButton, function (_ref4) {
|
|
127
132
|
var $theme = _ref4.$theme;
|
|
128
133
|
return _objectSpread(_objectSpread({}, $theme.direction === 'rtl' ? {
|
|
@@ -138,6 +143,7 @@ var StyledSideMenuButton = (0, _styles.withStyle)(StyledButton, function (_ref4)
|
|
|
138
143
|
});
|
|
139
144
|
exports.StyledSideMenuButton = StyledSideMenuButton;
|
|
140
145
|
StyledSideMenuButton.displayName = "StyledSideMenuButton";
|
|
146
|
+
StyledSideMenuButton.displayName = 'StyledSideMenuButton';
|
|
141
147
|
var StyledPrimaryMenuContainer = (0, _styles.styled)('div', function (_ref5) {
|
|
142
148
|
var $theme = _ref5.$theme;
|
|
143
149
|
return {
|
|
@@ -154,6 +160,7 @@ var StyledPrimaryMenuContainer = (0, _styles.styled)('div', function (_ref5) {
|
|
|
154
160
|
});
|
|
155
161
|
exports.StyledPrimaryMenuContainer = StyledPrimaryMenuContainer;
|
|
156
162
|
StyledPrimaryMenuContainer.displayName = "StyledPrimaryMenuContainer";
|
|
163
|
+
StyledPrimaryMenuContainer.displayName = 'StyledPrimaryMenuContainer';
|
|
157
164
|
var StyledMainMenuItem = (0, _styles.styled)('div', function (props) {
|
|
158
165
|
var $active = props.$active,
|
|
159
166
|
$isFocusVisible = props.$isFocusVisible,
|
|
@@ -195,6 +202,7 @@ var StyledMainMenuItem = (0, _styles.styled)('div', function (props) {
|
|
|
195
202
|
});
|
|
196
203
|
exports.StyledMainMenuItem = StyledMainMenuItem;
|
|
197
204
|
StyledMainMenuItem.displayName = "StyledMainMenuItem";
|
|
205
|
+
StyledMainMenuItem.displayName = 'StyledMainMenuItem';
|
|
198
206
|
var StyledSecondaryMenuContainer = (0, _styles.styled)('div', function (_ref6) {
|
|
199
207
|
var $theme = _ref6.$theme;
|
|
200
208
|
return {
|
|
@@ -212,8 +220,10 @@ var StyledSecondaryMenuContainer = (0, _styles.styled)('div', function (_ref6) {
|
|
|
212
220
|
});
|
|
213
221
|
exports.StyledSecondaryMenuContainer = StyledSecondaryMenuContainer;
|
|
214
222
|
StyledSecondaryMenuContainer.displayName = "StyledSecondaryMenuContainer";
|
|
223
|
+
StyledSecondaryMenuContainer.displayName = 'StyledSecondaryMenuContainer';
|
|
215
224
|
var StyledUserMenuButton = StyledButton;
|
|
216
225
|
exports.StyledUserMenuButton = StyledUserMenuButton;
|
|
226
|
+
StyledUserMenuButton.displayName = 'StyledUserMenuButton';
|
|
217
227
|
var StyledUserMenuProfileListItem = (0, _styles.withStyle)(_menu.StyledListItem, function (_ref7) {
|
|
218
228
|
var $theme = _ref7.$theme;
|
|
219
229
|
return _objectSpread({
|
|
@@ -227,6 +237,7 @@ var StyledUserMenuProfileListItem = (0, _styles.withStyle)(_menu.StyledListItem,
|
|
|
227
237
|
});
|
|
228
238
|
exports.StyledUserMenuProfileListItem = StyledUserMenuProfileListItem;
|
|
229
239
|
StyledUserMenuProfileListItem.displayName = "StyledUserMenuProfileListItem";
|
|
240
|
+
StyledUserMenuProfileListItem.displayName = 'StyledUserMenuProfileListItem';
|
|
230
241
|
var StyledUserProfileTileContainer = (0, _styles.styled)('div', function (_ref8) {
|
|
231
242
|
var $theme = _ref8.$theme;
|
|
232
243
|
return {
|
|
@@ -242,6 +253,7 @@ var StyledUserProfileTileContainer = (0, _styles.styled)('div', function (_ref8)
|
|
|
242
253
|
});
|
|
243
254
|
exports.StyledUserProfileTileContainer = StyledUserProfileTileContainer;
|
|
244
255
|
StyledUserProfileTileContainer.displayName = "StyledUserProfileTileContainer";
|
|
256
|
+
StyledUserProfileTileContainer.displayName = 'StyledUserProfileTileContainer';
|
|
245
257
|
var StyledUserProfilePictureContainer = (0, _styles.styled)('div', function (_ref9) {
|
|
246
258
|
var $theme = _ref9.$theme;
|
|
247
259
|
return _objectSpread({}, $theme.direction === 'rtl' ? {
|
|
@@ -252,6 +264,8 @@ var StyledUserProfilePictureContainer = (0, _styles.styled)('div', function (_re
|
|
|
252
264
|
});
|
|
253
265
|
exports.StyledUserProfilePictureContainer = StyledUserProfilePictureContainer;
|
|
254
266
|
StyledUserProfilePictureContainer.displayName = "StyledUserProfilePictureContainer";
|
|
267
|
+
StyledUserProfilePictureContainer.displayName = 'StyledUserProfilePictureContainer'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
268
|
+
|
|
255
269
|
var StyledUserProfileInfoContainer = (0, _styles.styled)('div', function (_ref10) {
|
|
256
270
|
var $theme = _ref10.$theme;
|
|
257
271
|
return {
|
|
@@ -261,12 +275,15 @@ var StyledUserProfileInfoContainer = (0, _styles.styled)('div', function (_ref10
|
|
|
261
275
|
});
|
|
262
276
|
exports.StyledUserProfileInfoContainer = StyledUserProfileInfoContainer;
|
|
263
277
|
StyledUserProfileInfoContainer.displayName = "StyledUserProfileInfoContainer";
|
|
278
|
+
StyledUserProfileInfoContainer.displayName = 'StyledUserProfileInfoContainer'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
279
|
+
|
|
264
280
|
var StyledDesktopMenuContainer = (0, _styles.styled)('div', function (_ref11) {
|
|
265
281
|
var $theme = _ref11.$theme;
|
|
266
282
|
return {};
|
|
267
283
|
});
|
|
268
284
|
exports.StyledDesktopMenuContainer = StyledDesktopMenuContainer;
|
|
269
285
|
StyledDesktopMenuContainer.displayName = "StyledDesktopMenuContainer";
|
|
286
|
+
StyledDesktopMenuContainer.displayName = 'StyledDesktopMenuContainer';
|
|
270
287
|
var StyledDesktopMenu = (0, _styles.styled)('div', function (_ref12) {
|
|
271
288
|
var $theme = _ref12.$theme;
|
|
272
289
|
return {
|
|
@@ -280,4 +297,5 @@ var StyledDesktopMenu = (0, _styles.styled)('div', function (_ref12) {
|
|
|
280
297
|
};
|
|
281
298
|
});
|
|
282
299
|
exports.StyledDesktopMenu = StyledDesktopMenu;
|
|
283
|
-
StyledDesktopMenu.displayName = "StyledDesktopMenu";
|
|
300
|
+
StyledDesktopMenu.displayName = "StyledDesktopMenu";
|
|
301
|
+
StyledDesktopMenu.displayName = 'StyledDesktopMenu';
|
package/app-nav-bar/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { POSITION } from './constants';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { POSITION } from './constants';
|
|
3
3
|
import type { Override } from '../helpers/overrides';
|
|
4
4
|
export declare type AppNavBarOverrides = {
|
|
5
5
|
Root?: Override;
|
package/app-nav-bar/user-menu.js
CHANGED
|
@@ -57,7 +57,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
57
57
|
|
|
58
58
|
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); }
|
|
59
59
|
|
|
60
|
-
var MENU_ITEM_WIDTH = '275px'; // eslint-disable-next-line react/display-name
|
|
60
|
+
var MENU_ITEM_WIDTH = '275px'; // eslint-disable-next-line @typescript-eslint/no-explicit-any,react/display-name
|
|
61
61
|
|
|
62
62
|
var UserMenuListItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
63
63
|
var item = props.item,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StyledBlockProps, BlockProps } from '../block';
|
|
2
|
+
import type { StyledBlockProps, BlockProps } from '../block';
|
|
3
3
|
interface AspectRatioBoxBodyComponentType<D extends React.ElementType> {
|
|
4
4
|
<C extends React.ElementType = D>(props: BlockProps<C> & Omit<StyledBlockProps & React.ComponentProps<C>, keyof BlockProps>): JSX.Element;
|
|
5
5
|
displayName?: string;
|
|
@@ -44,7 +44,8 @@ var aspectRatioBoxStyle = function aspectRatioBoxStyle(_ref) {
|
|
|
44
44
|
clear: 'both'
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
};
|
|
47
|
+
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
48
|
+
|
|
48
49
|
|
|
49
50
|
var AspectRatioBox = function AspectRatioBox(_ref2) {
|
|
50
51
|
var forwardedRef = _ref2.forwardedRef,
|
|
@@ -62,6 +63,7 @@ var AspectRatioBox = function AspectRatioBox(_ref2) {
|
|
|
62
63
|
var blockOverrides = (0, _overrides.mergeOverrides)(aspectRatioBoxOverrides, overrides);
|
|
63
64
|
return /*#__PURE__*/React.createElement(_block.Block // coerced to any because of how react components are typed.
|
|
64
65
|
// cannot guarantee an html element
|
|
66
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
65
67
|
, _extends({
|
|
66
68
|
ref: forwardedRef,
|
|
67
69
|
overrides: blockOverrides,
|
|
@@ -37,6 +37,7 @@ var Avatar = (0, _styles.styled)('img', function (props) {
|
|
|
37
37
|
});
|
|
38
38
|
exports.Avatar = Avatar;
|
|
39
39
|
Avatar.displayName = "Avatar";
|
|
40
|
+
Avatar.displayName = 'Avatar';
|
|
40
41
|
var Initials = (0, _styles.styled)('div', function (props) {
|
|
41
42
|
return _objectSpread(_objectSpread({}, props.$theme.typography.font300), {}, {
|
|
42
43
|
color: props.$theme.colors.mono100,
|
|
@@ -48,6 +49,7 @@ var Initials = (0, _styles.styled)('div', function (props) {
|
|
|
48
49
|
});
|
|
49
50
|
exports.Initials = Initials;
|
|
50
51
|
Initials.displayName = "Initials";
|
|
52
|
+
Initials.displayName = 'Initials';
|
|
51
53
|
var Root = (0, _styles.styled)('div', function (props) {
|
|
52
54
|
var $didImageFailToLoad = props.$didImageFailToLoad;
|
|
53
55
|
var themedSize = getSize(props);
|
|
@@ -66,4 +68,5 @@ var Root = (0, _styles.styled)('div', function (props) {
|
|
|
66
68
|
};
|
|
67
69
|
});
|
|
68
70
|
exports.Root = Root;
|
|
69
|
-
Root.displayName = "Root";
|
|
71
|
+
Root.displayName = "Root";
|
|
72
|
+
Root.displayName = 'Root';
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.StyledRoot = exports.StyledPositioner = exports.StyledNotificationCircle = exports.StyledHintDot = exports.StyledBadge = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _styles = require("../styles");
|
|
9
9
|
|
|
10
10
|
var _constants = require("./constants");
|
|
11
11
|
|
|
@@ -24,19 +24,19 @@ function getColorStyles(_ref) {
|
|
|
24
24
|
$hierarchy = _ref.$hierarchy,
|
|
25
25
|
$color = _ref.$color;
|
|
26
26
|
var COLOR_STYLES = (_COLOR_STYLES = {}, _defineProperty(_COLOR_STYLES, _constants.HIERARCHY.primary, (_HIERARCHY$primary = {}, _defineProperty(_HIERARCHY$primary, _constants.COLOR.accent, {
|
|
27
|
-
color: $theme.colors.
|
|
27
|
+
color: $theme.colors.contentOnColor,
|
|
28
28
|
backgroundColor: $theme.colors.backgroundAccent
|
|
29
29
|
}), _defineProperty(_HIERARCHY$primary, _constants.COLOR.primary, {
|
|
30
30
|
color: $theme.colors.contentInversePrimary,
|
|
31
31
|
backgroundColor: $theme.colors.backgroundInversePrimary
|
|
32
32
|
}), _defineProperty(_HIERARCHY$primary, _constants.COLOR.positive, {
|
|
33
|
-
color: $theme.colors.
|
|
33
|
+
color: $theme.colors.contentOnColor,
|
|
34
34
|
backgroundColor: $theme.colors.backgroundPositive
|
|
35
35
|
}), _defineProperty(_HIERARCHY$primary, _constants.COLOR.negative, {
|
|
36
|
-
color: $theme.colors.
|
|
36
|
+
color: $theme.colors.contentOnColor,
|
|
37
37
|
backgroundColor: $theme.colors.backgroundNegative
|
|
38
38
|
}), _defineProperty(_HIERARCHY$primary, _constants.COLOR.warning, {
|
|
39
|
-
color: $theme.colors.
|
|
39
|
+
color: $theme.colors.contentOnColorInverse,
|
|
40
40
|
backgroundColor: $theme.colors.backgroundWarning
|
|
41
41
|
}), _HIERARCHY$primary)), _defineProperty(_COLOR_STYLES, _constants.HIERARCHY.secondary, (_HIERARCHY$secondary = {}, _defineProperty(_HIERARCHY$secondary, _constants.COLOR.accent, {
|
|
42
42
|
color: $theme.colors.contentAccent,
|
|
@@ -116,7 +116,7 @@ var POSITION_STYLES = Object.freeze((_Object$freeze = {}, _defineProperty(_Objec
|
|
|
116
116
|
top: '-4px',
|
|
117
117
|
left: '-4px'
|
|
118
118
|
}), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.topRight, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.topEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.bottomEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.bottomRight, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.bottomLeft, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.topLeftEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.topRightEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.bottomRightEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.bottomLeftEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.leftTopEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.rightTopEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.rightBottomEdge, DEFAULT_HINT_DOT_PLACEMENT), _defineProperty(_ROLE$hintDot, _constants.PLACEMENT.leftBottomEdge, DEFAULT_HINT_DOT_PLACEMENT), _ROLE$hintDot)), _Object$freeze));
|
|
119
|
-
var StyledRoot = (0,
|
|
119
|
+
var StyledRoot = (0, _styles.styled)('div', function () {
|
|
120
120
|
return {
|
|
121
121
|
position: 'relative',
|
|
122
122
|
display: 'inline-block',
|
|
@@ -125,11 +125,12 @@ var StyledRoot = (0, _index.styled)('div', function () {
|
|
|
125
125
|
});
|
|
126
126
|
exports.StyledRoot = StyledRoot;
|
|
127
127
|
StyledRoot.displayName = "StyledRoot";
|
|
128
|
+
StyledRoot.displayName = 'StyledRoot';
|
|
128
129
|
var TOP_PLACEMENTS = [_constants.PLACEMENT.topLeft, _constants.PLACEMENT.topRight, _constants.PLACEMENT.topLeftEdge, _constants.PLACEMENT.topEdge, _constants.PLACEMENT.topRightEdge, _constants.PLACEMENT.leftTopEdge, _constants.PLACEMENT.rightTopEdge];
|
|
129
130
|
var BOTTOM_PLACEMENTS = [_constants.PLACEMENT.bottomLeft, _constants.PLACEMENT.bottomRight, _constants.PLACEMENT.bottomLeftEdge, _constants.PLACEMENT.bottomEdge, _constants.PLACEMENT.bottomRightEdge, _constants.PLACEMENT.leftBottomEdge, _constants.PLACEMENT.rightBottomEdge];
|
|
130
131
|
var LEFT_PLACEMENTS = [_constants.PLACEMENT.topLeft, _constants.PLACEMENT.topLeftEdge, _constants.PLACEMENT.topEdge, _constants.PLACEMENT.bottomLeft, _constants.PLACEMENT.bottomLeftEdge, _constants.PLACEMENT.bottomEdge, _constants.PLACEMENT.leftTopEdge, _constants.PLACEMENT.leftBottomEdge];
|
|
131
132
|
var RIGHT_PLACEMENTS = [_constants.PLACEMENT.topRight, _constants.PLACEMENT.topRightEdge, _constants.PLACEMENT.bottomRight, _constants.PLACEMENT.bottomRightEdge, _constants.PLACEMENT.rightTopEdge, _constants.PLACEMENT.rightBottomEdge];
|
|
132
|
-
var StyledPositioner = (0,
|
|
133
|
+
var StyledPositioner = (0, _styles.styled)('div', function (_ref2) {
|
|
133
134
|
var $theme = _ref2.$theme,
|
|
134
135
|
$role = _ref2.$role,
|
|
135
136
|
$placement = _ref2.$placement,
|
|
@@ -172,7 +173,8 @@ var StyledPositioner = (0, _index.styled)('div', function (_ref2) {
|
|
|
172
173
|
});
|
|
173
174
|
exports.StyledPositioner = StyledPositioner;
|
|
174
175
|
StyledPositioner.displayName = "StyledPositioner";
|
|
175
|
-
|
|
176
|
+
StyledPositioner.displayName = 'StyledPositioner';
|
|
177
|
+
var StyledBadge = (0, _styles.styled)('div', function (_ref3) {
|
|
176
178
|
var $theme = _ref3.$theme,
|
|
177
179
|
_ref3$$shape = _ref3.$shape,
|
|
178
180
|
$shape = _ref3$$shape === void 0 ? _constants.SHAPE.rectangle : _ref3$$shape,
|
|
@@ -198,7 +200,8 @@ var StyledBadge = (0, _index.styled)('div', function (_ref3) {
|
|
|
198
200
|
});
|
|
199
201
|
exports.StyledBadge = StyledBadge;
|
|
200
202
|
StyledBadge.displayName = "StyledBadge";
|
|
201
|
-
|
|
203
|
+
StyledBadge.displayName = 'StyledBadge';
|
|
204
|
+
var StyledNotificationCircle = (0, _styles.styled)('div', function (_ref4) {
|
|
202
205
|
var $theme = _ref4.$theme,
|
|
203
206
|
_ref4$$color = _ref4.$color,
|
|
204
207
|
$color = _ref4$$color === void 0 ? _constants.COLOR.accent : _ref4$$color,
|
|
@@ -219,7 +222,8 @@ var StyledNotificationCircle = (0, _index.styled)('div', function (_ref4) {
|
|
|
219
222
|
});
|
|
220
223
|
exports.StyledNotificationCircle = StyledNotificationCircle;
|
|
221
224
|
StyledNotificationCircle.displayName = "StyledNotificationCircle";
|
|
222
|
-
|
|
225
|
+
StyledNotificationCircle.displayName = 'StyledNotificationCircle';
|
|
226
|
+
var StyledHintDot = (0, _styles.styled)('div', function (_ref5) {
|
|
223
227
|
var $theme = _ref5.$theme,
|
|
224
228
|
_ref5$$color = _ref5.$color,
|
|
225
229
|
$color = _ref5$$color === void 0 ? _constants.COLOR.accent : _ref5$$color,
|
|
@@ -239,4 +243,5 @@ var StyledHintDot = (0, _index.styled)('div', function (_ref5) {
|
|
|
239
243
|
}));
|
|
240
244
|
});
|
|
241
245
|
exports.StyledHintDot = StyledHintDot;
|
|
242
|
-
StyledHintDot.displayName = "StyledHintDot";
|
|
246
|
+
StyledHintDot.displayName = "StyledHintDot";
|
|
247
|
+
StyledHintDot.displayName = 'StyledHintDot';
|
|
@@ -16,7 +16,7 @@ function getColorStyles({ $theme, $hierarchy, $color }): {|
|
|
|
16
16
|
const COLOR_STYLES = {
|
|
17
17
|
[HIERARCHY.primary]: {
|
|
18
18
|
[COLOR.accent]: {
|
|
19
|
-
color: $theme.colors.
|
|
19
|
+
color: $theme.colors.contentOnColor,
|
|
20
20
|
backgroundColor: $theme.colors.backgroundAccent,
|
|
21
21
|
},
|
|
22
22
|
[COLOR.primary]: {
|
|
@@ -24,15 +24,15 @@ function getColorStyles({ $theme, $hierarchy, $color }): {|
|
|
|
24
24
|
backgroundColor: $theme.colors.backgroundInversePrimary,
|
|
25
25
|
},
|
|
26
26
|
[COLOR.positive]: {
|
|
27
|
-
color: $theme.colors.
|
|
27
|
+
color: $theme.colors.contentOnColor,
|
|
28
28
|
backgroundColor: $theme.colors.backgroundPositive,
|
|
29
29
|
},
|
|
30
30
|
[COLOR.negative]: {
|
|
31
|
-
color: $theme.colors.
|
|
31
|
+
color: $theme.colors.contentOnColor,
|
|
32
32
|
backgroundColor: $theme.colors.backgroundNegative,
|
|
33
33
|
},
|
|
34
34
|
[COLOR.warning]: {
|
|
35
|
-
color: $theme.colors.
|
|
35
|
+
color: $theme.colors.contentOnColorInverse,
|
|
36
36
|
backgroundColor: $theme.colors.backgroundWarning,
|
|
37
37
|
},
|
|
38
38
|
},
|
package/badge/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { HIERARCHY, SHAPE, COLOR, PLACEMENT, ROLE } from './constants';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { HIERARCHY, SHAPE, COLOR, PLACEMENT, ROLE } from './constants';
|
|
3
3
|
import type { Override } from '../helpers/overrides';
|
|
4
4
|
export declare type Hierarchy = typeof HIERARCHY[keyof typeof HIERARCHY];
|
|
5
5
|
export declare type Shape = typeof SHAPE[keyof typeof SHAPE];
|
package/banner/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.StyledTrailingIconButton = exports.StyledTrailingContent = exports.StyledTrailingButtonContainer = exports.StyledTitle = exports.StyledRoot = exports.StyledMessageContent = exports.StyledMessage = exports.StyledLeadingContent = exports.StyledBelowContent = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _styles = require("../styles");
|
|
9
9
|
|
|
10
10
|
var _constants = require("./constants");
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ 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
|
-
var StyledRoot = (0,
|
|
18
|
+
var StyledRoot = (0, _styles.styled)('div', function (_ref) {
|
|
19
19
|
var $theme = _ref.$theme,
|
|
20
20
|
$backgroundColor = _ref.$backgroundColor,
|
|
21
21
|
$color = _ref.$color,
|
|
@@ -32,12 +32,16 @@ var StyledRoot = (0, _index.styled)('div', function (_ref) {
|
|
|
32
32
|
gridColumnGap: $theme.sizing.scale600,
|
|
33
33
|
gridTemplateColumns: 'min-content auto min-content',
|
|
34
34
|
gridTemplateRows: 'auto min-content',
|
|
35
|
-
|
|
35
|
+
marginTop: $theme.sizing.scale600,
|
|
36
|
+
marginRight: $theme.sizing.scale600,
|
|
37
|
+
marginBottom: $theme.sizing.scale600,
|
|
38
|
+
marginLeft: $theme.sizing.scale600
|
|
36
39
|
};
|
|
37
40
|
});
|
|
38
41
|
exports.StyledRoot = StyledRoot;
|
|
39
42
|
StyledRoot.displayName = "StyledRoot";
|
|
40
|
-
|
|
43
|
+
StyledRoot.displayName = 'StyledRoot';
|
|
44
|
+
var StyledLeadingContent = (0, _styles.styled)('div', function (_ref2) {
|
|
41
45
|
var $theme = _ref2.$theme,
|
|
42
46
|
$includesArtwork = _ref2.$includesArtwork;
|
|
43
47
|
return {
|
|
@@ -48,7 +52,8 @@ var StyledLeadingContent = (0, _index.styled)('div', function (_ref2) {
|
|
|
48
52
|
});
|
|
49
53
|
exports.StyledLeadingContent = StyledLeadingContent;
|
|
50
54
|
StyledLeadingContent.displayName = "StyledLeadingContent";
|
|
51
|
-
|
|
55
|
+
StyledLeadingContent.displayName = 'StyledLeadingContent';
|
|
56
|
+
var StyledMessageContent = (0, _styles.styled)('div', function (_ref3) {
|
|
52
57
|
var $theme = _ref3.$theme,
|
|
53
58
|
$actionPosition = _ref3.$actionPosition;
|
|
54
59
|
return {
|
|
@@ -61,7 +66,9 @@ var StyledMessageContent = (0, _index.styled)('div', function (_ref3) {
|
|
|
61
66
|
});
|
|
62
67
|
exports.StyledMessageContent = StyledMessageContent;
|
|
63
68
|
StyledMessageContent.displayName = "StyledMessageContent";
|
|
64
|
-
|
|
69
|
+
StyledMessageContent.displayName = 'StyledMessageContent'; // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
70
|
+
|
|
71
|
+
var StyledTrailingContent = (0, _styles.styled)('div', function (_ref4) {
|
|
65
72
|
var $theme = _ref4.$theme;
|
|
66
73
|
return {
|
|
67
74
|
display: 'flex',
|
|
@@ -71,7 +78,8 @@ var StyledTrailingContent = (0, _index.styled)('div', function (_ref4) {
|
|
|
71
78
|
});
|
|
72
79
|
exports.StyledTrailingContent = StyledTrailingContent;
|
|
73
80
|
StyledTrailingContent.displayName = "StyledTrailingContent";
|
|
74
|
-
|
|
81
|
+
StyledTrailingContent.displayName = 'StyledTrailingContent';
|
|
82
|
+
var StyledBelowContent = (0, _styles.styled)('div', function (_ref5) {
|
|
75
83
|
var $theme = _ref5.$theme,
|
|
76
84
|
$actionPosition = _ref5.$actionPosition;
|
|
77
85
|
return {
|
|
@@ -82,19 +90,22 @@ var StyledBelowContent = (0, _index.styled)('div', function (_ref5) {
|
|
|
82
90
|
});
|
|
83
91
|
exports.StyledBelowContent = StyledBelowContent;
|
|
84
92
|
StyledBelowContent.displayName = "StyledBelowContent";
|
|
85
|
-
|
|
93
|
+
StyledBelowContent.displayName = 'StyledBelowContent';
|
|
94
|
+
var StyledTitle = (0, _styles.styled)('div', function (_ref6) {
|
|
86
95
|
var $theme = _ref6.$theme;
|
|
87
96
|
return $theme.typography.LabelMedium;
|
|
88
97
|
});
|
|
89
98
|
exports.StyledTitle = StyledTitle;
|
|
90
99
|
StyledTitle.displayName = "StyledTitle";
|
|
91
|
-
|
|
100
|
+
StyledTitle.displayName = 'StyledTitle';
|
|
101
|
+
var StyledMessage = (0, _styles.styled)('div', function (_ref7) {
|
|
92
102
|
var $theme = _ref7.$theme;
|
|
93
103
|
return $theme.typography.ParagraphMedium;
|
|
94
104
|
});
|
|
95
105
|
exports.StyledMessage = StyledMessage;
|
|
96
106
|
StyledMessage.displayName = "StyledMessage";
|
|
97
|
-
|
|
107
|
+
StyledMessage.displayName = 'StyledMessage';
|
|
108
|
+
var StyledTrailingButtonContainer = (0, _styles.styled)('div', function (_ref8) {
|
|
98
109
|
var $theme = _ref8.$theme;
|
|
99
110
|
return {
|
|
100
111
|
display: 'flex',
|
|
@@ -104,7 +115,8 @@ var StyledTrailingButtonContainer = (0, _index.styled)('div', function (_ref8) {
|
|
|
104
115
|
});
|
|
105
116
|
exports.StyledTrailingButtonContainer = StyledTrailingButtonContainer;
|
|
106
117
|
StyledTrailingButtonContainer.displayName = "StyledTrailingButtonContainer";
|
|
107
|
-
|
|
118
|
+
StyledTrailingButtonContainer.displayName = 'StyledTrailingButtonContainer';
|
|
119
|
+
var StyledTrailingIconButton = (0, _styles.styled)('button', function (_ref9) {
|
|
108
120
|
var $theme = _ref9.$theme,
|
|
109
121
|
$nested = _ref9.$nested;
|
|
110
122
|
var radius = $nested ? $theme.borders.radius300 : $theme.borders.radius400;
|
|
@@ -128,4 +140,5 @@ var StyledTrailingIconButton = (0, _index.styled)('button', function (_ref9) {
|
|
|
128
140
|
};
|
|
129
141
|
});
|
|
130
142
|
exports.StyledTrailingIconButton = StyledTrailingIconButton;
|
|
131
|
-
StyledTrailingIconButton.displayName = "StyledTrailingIconButton";
|
|
143
|
+
StyledTrailingIconButton.displayName = "StyledTrailingIconButton";
|
|
144
|
+
StyledTrailingIconButton.displayName = 'StyledTrailingIconButton';
|