carbon-react 124.2.0 → 124.2.2
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/esm/__internal__/checkable-input/checkable-input.component.js +0 -1
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +0 -1
- package/esm/__internal__/focus-trap/focus-trap-utils.js +0 -1
- package/esm/__internal__/input/input.component.js +0 -1
- package/esm/components/accordion/accordion-group/accordion-group.component.js +1 -0
- package/esm/components/box/box.component.js +303 -45
- package/esm/components/checkbox/checkbox.component.js +0 -1
- package/esm/components/date/__internal__/utils.js +0 -1
- package/esm/components/date/date.component.js +0 -7
- package/esm/components/decimal/decimal.component.js +0 -1
- package/esm/components/grouped-character/grouped-character.component.js +0 -1
- package/esm/components/message/message-content/message-content.style.js +0 -8
- package/esm/components/navigation-bar/navigation-bar.component.js +293 -35
- package/esm/components/number/number.component.js +0 -1
- package/esm/components/radio-button/radio-button.component.js +0 -1
- package/esm/components/select/filterable-select/filterable-select.component.js +7 -2
- package/esm/components/select/multi-select/multi-select.component.js +0 -1
- package/esm/components/select/option/option.component.js +0 -1
- package/esm/components/select/select-textbox/select-textbox.component.js +1 -5
- package/esm/components/select/simple-select/simple-select.component.js +0 -1
- package/esm/components/switch/switch.component.js +0 -1
- package/esm/components/textarea/textarea.component.js +0 -1
- package/esm/components/textbox/textbox.component.js +4 -5
- package/esm/components/toast/toast.component.js +4 -4
- package/esm/components/toast/toast.style.d.ts +14 -13
- package/esm/components/toast/toast.style.js +42 -14
- package/lib/__internal__/character-count/character-count.component.js +1 -2
- package/lib/__internal__/character-count/character-count.style.js +6 -10
- package/lib/__internal__/checkable-input/checkable-input-svg-wrapper.style.js +1 -2
- package/lib/__internal__/checkable-input/checkable-input.component.js +3 -5
- package/lib/__internal__/checkable-input/checkable-input.style.js +5 -7
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +3 -5
- package/lib/__internal__/checkable-input/hidden-checkable-input.style.js +1 -2
- package/lib/__internal__/field-help/field-help.component.js +1 -2
- package/lib/__internal__/field-help/field-help.style.js +3 -4
- package/lib/__internal__/fieldset/fieldset.component.js +3 -4
- package/lib/__internal__/fieldset/fieldset.style.js +6 -9
- package/lib/__internal__/focus-trap/focus-trap-utils.js +1 -3
- package/lib/__internal__/focus-trap/focus-trap.component.js +6 -8
- package/lib/__internal__/form-field/form-field.component.js +3 -4
- package/lib/__internal__/form-field/form-field.style.js +4 -6
- package/lib/__internal__/form-spacing-provider/form-spacing-context.js +1 -2
- package/lib/__internal__/form-spacing-provider/form-spacing-provider.component.js +1 -2
- package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +3 -4
- package/lib/__internal__/full-screen-heading/full-screen-heading.style.js +4 -6
- package/lib/__internal__/i18n-context/index.js +1 -2
- package/lib/__internal__/input/index.js +1 -2
- package/lib/__internal__/input/input-presentation.component.js +3 -4
- package/lib/__internal__/input/input-presentation.style.js +4 -6
- package/lib/__internal__/input/input-sizes.style.js +1 -2
- package/lib/__internal__/input/input.component.js +3 -5
- package/lib/__internal__/input/input.style.js +3 -4
- package/lib/__internal__/input-behaviour/input-behaviour.component.js +1 -2
- package/lib/__internal__/input-behaviour/input-group-behaviour.component.js +1 -2
- package/lib/__internal__/input-behaviour/useInputBehaviour.js +1 -2
- package/lib/__internal__/input-icon-toggle/input-icon-toggle.component.js +1 -2
- package/lib/__internal__/input-icon-toggle/input-icon-toggle.style.js +3 -4
- package/lib/__internal__/label/icon-wrapper.style.js +1 -2
- package/lib/__internal__/label/label.component.js +3 -4
- package/lib/__internal__/label/label.style.js +4 -6
- package/lib/__internal__/popover/popover.component.js +3 -4
- package/lib/__internal__/popover/popover.style.js +3 -5
- package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.js +3 -4
- package/lib/__internal__/sticky-footer/sticky-footer.component.js +3 -4
- package/lib/__internal__/sticky-footer/sticky-footer.style.js +3 -4
- package/lib/__internal__/tooltip-provider/index.js +3 -4
- package/lib/__internal__/utils/helpers/browser-type-check/index.js +1 -2
- package/lib/__internal__/utils/helpers/events/events.js +1 -2
- package/lib/__internal__/utils/helpers/tags/tags.js +1 -2
- package/lib/__internal__/utils/logger/index.js +1 -2
- package/lib/__internal__/validation-message/validation-message.component.js +1 -2
- package/lib/__internal__/validation-message/validation-message.style.js +3 -4
- package/lib/__internal__/validations/validation-icon.component.js +3 -4
- package/lib/__internal__/validations/validation-icon.style.js +3 -4
- package/lib/__spec_helper__/mock-resize-observer.js +1 -2
- package/lib/__spec_helper__/test-utils.js +6 -12
- package/lib/components/accordion/accordion-group/accordion-group.component.js +3 -4
- package/lib/components/accordion/accordion.component.js +4 -6
- package/lib/components/accordion/accordion.style.js +11 -20
- package/lib/components/action-popover/action-popover-context.js +1 -2
- package/lib/components/action-popover/action-popover-divider/action-popover-divider.component.js +1 -2
- package/lib/components/action-popover/action-popover-item/action-popover-item.component.js +3 -4
- package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +3 -4
- package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.js +1 -2
- package/lib/components/action-popover/action-popover.component.js +3 -4
- package/lib/components/action-popover/action-popover.style.js +15 -27
- package/lib/components/advanced-color-picker/advanced-color-picker-cell.style.js +3 -4
- package/lib/components/advanced-color-picker/advanced-color-picker.component.js +3 -4
- package/lib/components/advanced-color-picker/advanced-color-picker.style.js +7 -11
- package/lib/components/alert/alert.component.js +1 -2
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +1 -2
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +3 -4
- package/lib/components/anchor-navigation/anchor-navigation.component.js +3 -4
- package/lib/components/anchor-navigation/anchor-navigation.style.js +4 -7
- package/lib/components/anchor-navigation/anchor-section-divider.component.js +1 -2
- package/lib/components/badge/badge.component.js +1 -2
- package/lib/components/badge/badge.style.js +6 -10
- package/lib/components/batch-selection/batch-selection.component.js +1 -2
- package/lib/components/batch-selection/batch-selection.style.js +5 -7
- package/lib/components/box/box.component.js +305 -49
- package/lib/components/box/box.config.js +2 -3
- package/lib/components/box/box.style.js +3 -4
- package/lib/components/breadcrumbs/breadcrumbs.component.js +2 -4
- package/lib/components/breadcrumbs/breadcrumbs.style.js +1 -2
- package/lib/components/breadcrumbs/crumb/crumb.component.js +1 -2
- package/lib/components/breadcrumbs/crumb/crumb.style.js +6 -9
- package/lib/components/button/button.component.js +4 -6
- package/lib/components/button/button.config.js +3 -6
- package/lib/components/button/button.style.js +4 -6
- package/lib/components/button/index.js +2 -2
- package/lib/components/button-bar/button-bar.component.js +2 -4
- package/lib/components/button-bar/button-bar.config.js +2 -4
- package/lib/components/button-bar/button-bar.style.js +3 -4
- package/lib/components/button-minor/button-minor.component.js +3 -4
- package/lib/components/button-minor/button-minor.style.js +3 -4
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.js +4 -6
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.style.js +4 -6
- package/lib/components/button-toggle/button-toggle-icon.component.js +1 -2
- package/lib/components/button-toggle/button-toggle.component.js +3 -4
- package/lib/components/button-toggle/button-toggle.style.js +7 -11
- package/lib/components/carbon-provider/carbon-provider.component.js +4 -6
- package/lib/components/carbon-provider/top-modal-context.js +3 -4
- package/lib/components/card/__internal__/card-context/index.js +1 -2
- package/lib/components/card/card-column/card-column.component.js +1 -2
- package/lib/components/card/card-column/card-column.style.js +1 -2
- package/lib/components/card/card-footer/card-footer.component.js +3 -4
- package/lib/components/card/card-footer/card-footer.style.js +3 -4
- package/lib/components/card/card-row/card-row.component.js +1 -2
- package/lib/components/card/card-row/card-row.style.js +3 -4
- package/lib/components/card/card.component.js +3 -4
- package/lib/components/card/card.config.js +2 -4
- package/lib/components/card/card.style.js +3 -4
- package/lib/components/carousel/carousel.component.js +3 -4
- package/lib/components/carousel/carousel.style.js +16 -29
- package/lib/components/carousel/slide/slide.component.js +1 -2
- package/lib/components/carousel/slide/slide.style.js +4 -5
- package/lib/components/carousel/slide.config.js +3 -5
- package/lib/components/checkbox/checkbox-group.component.js +4 -6
- package/lib/components/checkbox/checkbox-group.style.js +4 -6
- package/lib/components/checkbox/checkbox-svg.component.js +1 -2
- package/lib/components/checkbox/checkbox.component.js +4 -7
- package/lib/components/checkbox/checkbox.style.js +3 -4
- package/lib/components/confirm/confirm.component.js +3 -4
- package/lib/components/confirm/confirm.config.js +1 -2
- package/lib/components/confirm/confirm.style.js +5 -7
- package/lib/components/content/content.component.js +1 -2
- package/lib/components/content/content.style.js +6 -9
- package/lib/components/date/__internal__/date-formats/index.js +1 -2
- package/lib/components/date/__internal__/date-picker/date-picker.component.js +3 -4
- package/lib/components/date/__internal__/date-picker/day-picker.style.js +3 -4
- package/lib/components/date/__internal__/navbar/button.style.js +1 -2
- package/lib/components/date/__internal__/navbar/navbar.component.js +1 -2
- package/lib/components/date/__internal__/navbar/navbar.style.js +1 -2
- package/lib/components/date/__internal__/utils.js +0 -1
- package/lib/components/date/__internal__/weekday/abbr.style.js +1 -2
- package/lib/components/date/__internal__/weekday/weekday.component.js +1 -2
- package/lib/components/date/__internal__/weekday/weekday.style.js +1 -2
- package/lib/components/date/date.component.js +4 -13
- package/lib/components/date/date.style.js +3 -4
- package/lib/components/date-range/date-range.component.js +3 -4
- package/lib/components/date-range/date-range.context.js +1 -2
- package/lib/components/date-range/date-range.style.js +1 -2
- package/lib/components/decimal/decimal.component.js +4 -7
- package/lib/components/definition-list/__internal__/dl.context.js +1 -2
- package/lib/components/definition-list/dd.component.js +3 -4
- package/lib/components/definition-list/definition-list.style.js +6 -9
- package/lib/components/definition-list/dl.component.js +1 -2
- package/lib/components/definition-list/dt.component.js +3 -4
- package/lib/components/detail/detail.component.js +1 -2
- package/lib/components/detail/detail.style.js +6 -10
- package/lib/components/dialog/dialog.component.js +4 -6
- package/lib/components/dialog/dialog.config.js +5 -10
- package/lib/components/dialog/dialog.style.js +6 -10
- package/lib/components/dialog-full-screen/content.style.js +3 -4
- package/lib/components/dialog-full-screen/dialog-full-screen.component.js +3 -4
- package/lib/components/dialog-full-screen/dialog-full-screen.style.js +3 -4
- package/lib/components/dismissible-box/dismissible-box.component.js +1 -2
- package/lib/components/dismissible-box/dismissible-box.style.js +4 -5
- package/lib/components/draggable/draggable-container.component.js +3 -4
- package/lib/components/draggable/draggable-item.component.js +1 -2
- package/lib/components/draggable/draggable-item.style.js +3 -6
- package/lib/components/draggable/internal/drop-target.component.js +1 -2
- package/lib/components/drawer/drawer.component.js +4 -6
- package/lib/components/drawer/drawer.style.js +10 -17
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/duelling-picklist/duelling-picklist.component.js +3 -4
- package/lib/components/duelling-picklist/duelling-picklist.context.js +1 -2
- package/lib/components/duelling-picklist/duelling-picklist.style.js +9 -16
- package/lib/components/duelling-picklist/picklist/picklist.component.js +3 -4
- package/lib/components/duelling-picklist/picklist/picklist.style.js +3 -5
- package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.js +1 -2
- package/lib/components/duelling-picklist/picklist-divider/picklist-divider.style.js +1 -2
- package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +4 -6
- package/lib/components/duelling-picklist/picklist-group/picklist-group.style.js +7 -11
- package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +4 -6
- package/lib/components/duelling-picklist/picklist-item/picklist-item.style.js +6 -9
- package/lib/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +1 -2
- package/lib/components/fieldset/fieldset.component.js +1 -2
- package/lib/components/fieldset/fieldset.style.js +4 -7
- package/lib/components/flat-table/cell-sizes.style.js +2 -3
- package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +2 -4
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +3 -4
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.style.js +3 -4
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.js +3 -4
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.style.js +4 -6
- package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.js +3 -4
- package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +3 -4
- package/lib/components/flat-table/flat-table-head/flat-table-head.component.js +4 -6
- package/lib/components/flat-table/flat-table-head/flat-table-head.style.js +1 -2
- package/lib/components/flat-table/flat-table-header/flat-table-header-utils.js +1 -2
- package/lib/components/flat-table/flat-table-header/flat-table-header.component.js +3 -4
- package/lib/components/flat-table/flat-table-header/flat-table-header.style.js +3 -4
- package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-context.js +2 -3
- package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +1 -2
- package/lib/components/flat-table/flat-table-row/__internal__/sub-row-provider.js +4 -6
- package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +4 -6
- package/lib/components/flat-table/flat-table-row/flat-table-row.style.js +3 -4
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.js +3 -4
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.style.js +5 -7
- package/lib/components/flat-table/flat-table.component.js +4 -6
- package/lib/components/flat-table/flat-table.config.js +2 -4
- package/lib/components/flat-table/flat-table.style.js +6 -10
- package/lib/components/flat-table/sort/sort.component.js +3 -4
- package/lib/components/flat-table/sort/sort.style.js +3 -5
- package/lib/components/form/__internal__/form-summary.component.js +3 -4
- package/lib/components/form/__internal__/form-summary.style.js +6 -9
- package/lib/components/form/form.component.js +3 -4
- package/lib/components/form/form.config.js +3 -5
- package/lib/components/form/form.style.js +8 -14
- package/lib/components/global-header/global-header.component.js +1 -2
- package/lib/components/grid/grid-container/grid-container.component.js +1 -2
- package/lib/components/grid/grid-container/grid-container.style.js +1 -2
- package/lib/components/grid/grid-item/grid-item.component.js +1 -2
- package/lib/components/grid/grid-item/grid-item.style.js +3 -4
- package/lib/components/grouped-character/grouped-character.component.js +4 -7
- package/lib/components/heading/heading.component.js +1 -2
- package/lib/components/heading/heading.style.js +14 -25
- package/lib/components/help/help.component.js +3 -4
- package/lib/components/help/help.config.js +1 -2
- package/lib/components/help/help.style.js +3 -4
- package/lib/components/hr/hr.component.js +1 -2
- package/lib/components/hr/hr.style.js +1 -2
- package/lib/components/i18n-provider/i18n-provider.component.js +1 -2
- package/lib/components/icon/icon-config.js +6 -12
- package/lib/components/icon/icon-unicodes.js +1 -2
- package/lib/components/icon/icon.component.js +3 -4
- package/lib/components/icon/icon.style.js +3 -4
- package/lib/components/icon-button/icon-button.component.js +3 -4
- package/lib/components/icon-button/icon-button.style.js +3 -4
- package/lib/components/image/image.component.js +1 -2
- package/lib/components/image/image.style.js +3 -4
- package/lib/components/inline-inputs/inline-inputs.component.js +3 -4
- package/lib/components/inline-inputs/inline-inputs.config.js +1 -2
- package/lib/components/inline-inputs/inline-inputs.style.js +5 -8
- package/lib/components/link/link.component.js +4 -6
- package/lib/components/link/link.config.js +3 -6
- package/lib/components/link/link.style.js +4 -6
- package/lib/components/link-preview/__internal__/placeholder.component.js +2 -4
- package/lib/components/link-preview/link-preview.component.js +1 -2
- package/lib/components/link-preview/link-preview.style.js +9 -15
- package/lib/components/loader/loader-square.style.js +3 -4
- package/lib/components/loader/loader.component.js +1 -2
- package/lib/components/loader/loader.config.js +1 -2
- package/lib/components/loader/loader.style.js +1 -2
- package/lib/components/loader-bar/loader-bar.component.js +3 -4
- package/lib/components/loader-bar/loader-bar.config.js +1 -2
- package/lib/components/loader-bar/loader-bar.style.js +5 -8
- package/lib/components/menu/__internal__/locators.js +6 -12
- package/lib/components/menu/__internal__/spec-helper/index.js +1 -2
- package/lib/components/menu/__internal__/submenu/submenu.component.js +3 -4
- package/lib/components/menu/__internal__/submenu/submenu.context.js +1 -2
- package/lib/components/menu/__internal__/submenu/submenu.style.js +4 -6
- package/lib/components/menu/menu-divider/menu-divider.component.js +3 -4
- package/lib/components/menu/menu-divider/menu-divider.style.js +3 -4
- package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +3 -4
- package/lib/components/menu/menu-full-screen/menu-full-screen.style.js +4 -6
- package/lib/components/menu/menu-item/menu-item.component.js +3 -4
- package/lib/components/menu/menu-item/menu-item.style.js +3 -4
- package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +3 -4
- package/lib/components/menu/menu-segment-title/menu-segment-title.style.js +5 -7
- package/lib/components/menu/menu.component.js +3 -4
- package/lib/components/menu/menu.config.js +2 -3
- package/lib/components/menu/menu.context.js +2 -3
- package/lib/components/menu/menu.style.js +4 -6
- package/lib/components/menu/scrollable-block/scrollable-block.component.js +3 -4
- package/lib/components/menu/scrollable-block/scrollable-block.style.js +3 -4
- package/lib/components/message/message-content/message-content.component.js +1 -2
- package/lib/components/message/message-content/message-content.style.js +1 -10
- package/lib/components/message/message.component.js +4 -6
- package/lib/components/message/message.style.js +3 -4
- package/lib/components/message/type-icon/type-icon.component.js +1 -2
- package/lib/components/message/type-icon/type-icon.style.js +3 -4
- package/lib/components/modal/__internal__/modal-manager.js +2 -4
- package/lib/components/modal/index.js +2 -2
- package/lib/components/modal/modal.component.js +4 -6
- package/lib/components/modal/modal.style.js +4 -6
- package/lib/components/multi-action-button/multi-action-button.component.js +3 -4
- package/lib/components/multi-action-button/multi-action-button.config.js +3 -6
- package/lib/components/multi-action-button/multi-action-button.style.js +4 -6
- package/lib/components/navigation-bar/fixed-navigation-bar.context.js +3 -4
- package/lib/components/navigation-bar/navigation-bar.component.js +296 -39
- package/lib/components/navigation-bar/navigation-bar.style.js +3 -4
- package/lib/components/note/__internal__/status-icon/status-icon.component.js +1 -2
- package/lib/components/note/__internal__/status-icon/status-icon.style.js +1 -2
- package/lib/components/note/note.component.js +1 -2
- package/lib/components/note/note.style.js +9 -16
- package/lib/components/number/number.component.js +4 -7
- package/lib/components/numeral-date/numeral-date-context.js +1 -2
- package/lib/components/numeral-date/numeral-date.component.js +4 -6
- package/lib/components/numeral-date/numeral-date.style.js +5 -7
- package/lib/components/pager/__internal__/pager-navigation-link.component.js +3 -4
- package/lib/components/pager/__internal__/pager-navigation.component.js +3 -4
- package/lib/components/pager/pager.component.js +3 -4
- package/lib/components/pager/pager.style.js +13 -23
- package/lib/components/pages/page/page.component.js +3 -4
- package/lib/components/pages/page/page.style.js +2 -4
- package/lib/components/pages/pages.component.js +3 -4
- package/lib/components/pages/pages.config.js +3 -5
- package/lib/components/pages/pages.style.js +2 -4
- package/lib/components/password/password.component.js +3 -4
- package/lib/components/password/password.style.js +3 -5
- package/lib/components/pill/pill.component.js +1 -2
- package/lib/components/pill/pill.style.js +3 -4
- package/lib/components/pod/pod.component.js +3 -4
- package/lib/components/pod/pod.config.js +3 -6
- package/lib/components/pod/pod.style.js +13 -24
- package/lib/components/popover-container/popover-container.component.js +3 -4
- package/lib/components/popover-container/popover-container.style.js +6 -12
- package/lib/components/portal/portal.js +4 -6
- package/lib/components/portrait/portrait.component.js +3 -4
- package/lib/components/portrait/portrait.config.js +4 -7
- package/lib/components/portrait/portrait.style.js +5 -10
- package/lib/components/preview/__internal__/preview-placeholder.component.js +1 -2
- package/lib/components/preview/__internal__/preview-placeholder.style.js +4 -5
- package/lib/components/preview/preview.component.js +1 -2
- package/lib/components/preview/preview.style.js +1 -2
- package/lib/components/profile/profile.component.js +1 -2
- package/lib/components/profile/profile.config.js +3 -5
- package/lib/components/profile/profile.style.js +6 -12
- package/lib/components/progress-tracker/progress-tracker.component.js +3 -4
- package/lib/components/progress-tracker/progress-tracker.config.js +1 -2
- package/lib/components/progress-tracker/progress-tracker.style.js +8 -14
- package/lib/components/radio-button/index.js +1 -2
- package/lib/components/radio-button/radio-button-group.component.js +3 -4
- package/lib/components/radio-button/radio-button-group.style.js +4 -6
- package/lib/components/radio-button/radio-button-svg.component.js +1 -2
- package/lib/components/radio-button/radio-button.component.js +4 -7
- package/lib/components/radio-button/radio-button.style.js +3 -4
- package/lib/components/search/search-button.style.js +2 -4
- package/lib/components/search/search.component.js +4 -6
- package/lib/components/search/search.style.js +3 -4
- package/lib/components/select/__internal__/select-list-context.js +1 -2
- package/lib/components/select/__internal__/select-text/select-text.component.js +1 -2
- package/lib/components/select/__internal__/select-text/select-text.style.js +3 -4
- package/lib/components/select/filterable-select/filterable-select.component.js +11 -8
- package/lib/components/select/list-action-button/list-action-button.component.js +1 -2
- package/lib/components/select/list-action-button/list-action-button.style.js +1 -2
- package/lib/components/select/multi-select/multi-select.component.js +4 -7
- package/lib/components/select/multi-select/multi-select.style.js +3 -6
- package/lib/components/select/option/option.component.js +3 -5
- package/lib/components/select/option/option.style.js +3 -4
- package/lib/components/select/option-group-header/option-group-header.component.js +1 -2
- package/lib/components/select/option-group-header/option-group-header.style.js +1 -2
- package/lib/components/select/option-row/option-row.component.js +3 -4
- package/lib/components/select/option-row/option-row.style.js +3 -4
- package/lib/components/select/select-list/select-list-container.style.js +1 -2
- package/lib/components/select/select-list/select-list.component.js +3 -4
- package/lib/components/select/select-list/select-list.style.js +8 -13
- package/lib/components/select/select-textbox/select-textbox.component.js +4 -9
- package/lib/components/select/select.style.js +3 -4
- package/lib/components/select/simple-select/simple-select.component.js +4 -7
- package/lib/components/select/utils/get-next-index-by-key.js +1 -2
- package/lib/components/select/utils/matching-text.style.js +1 -2
- package/lib/components/select/utils/with-filter.hoc.js +3 -4
- package/lib/components/settings-row/settings-row.component.js +1 -2
- package/lib/components/settings-row/settings-row.style.js +6 -9
- package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.component.js +1 -2
- package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.style.js +3 -4
- package/lib/components/sidebar/index.js +2 -2
- package/lib/components/sidebar/sidebar.component.js +5 -8
- package/lib/components/sidebar/sidebar.config.js +7 -14
- package/lib/components/sidebar/sidebar.style.js +3 -4
- package/lib/components/simple-color-picker/simple-color/simple-color.component.js +4 -6
- package/lib/components/simple-color-picker/simple-color/simple-color.style.js +7 -11
- package/lib/components/simple-color-picker/simple-color-picker.component.js +4 -6
- package/lib/components/simple-color-picker/simple-color-picker.style.js +5 -7
- package/lib/components/split-button/__internal__/split-button.context.js +2 -3
- package/lib/components/split-button/split-button-children.style.js +4 -6
- package/lib/components/split-button/split-button-toggle.style.js +3 -4
- package/lib/components/split-button/split-button.component.js +3 -4
- package/lib/components/split-button/split-button.config.js +4 -8
- package/lib/components/split-button/split-button.style.js +3 -4
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.js +3 -4
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.style.js +7 -11
- package/lib/components/step-sequence/step-sequence.component.js +2 -4
- package/lib/components/step-sequence/step-sequence.config.js +2 -4
- package/lib/components/step-sequence/step-sequence.style.js +3 -4
- package/lib/components/switch/__internal__/switch-slider-panel.style.js +3 -4
- package/lib/components/switch/__internal__/switch-slider.component.js +1 -2
- package/lib/components/switch/__internal__/switch-slider.style.js +3 -4
- package/lib/components/switch/switch.component.js +4 -7
- package/lib/components/switch/switch.style.js +5 -8
- package/lib/components/tabs/__internal__/tab-title/index.js +2 -2
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +4 -6
- package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +8 -13
- package/lib/components/tabs/__internal__/tabs-header/tabs-header.component.js +3 -4
- package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.js +9 -15
- package/lib/components/tabs/tab/index.js +2 -2
- package/lib/components/tabs/tab/tab.component.js +4 -6
- package/lib/components/tabs/tab/tab.style.js +3 -4
- package/lib/components/tabs/tabs.component.js +2 -2
- package/lib/components/tabs/tabs.style.js +3 -4
- package/lib/components/text-editor/__internal__/decorators/index.js +1 -2
- package/lib/components/text-editor/__internal__/decorators/link-decorator.js +2 -3
- package/lib/components/text-editor/__internal__/editor-link/editor-link.component.js +3 -4
- package/lib/components/text-editor/__internal__/editor-link/editor-link.style.js +1 -2
- package/lib/components/text-editor/__internal__/editor-validation-wrapper/editor-validation-wrapper.component.js +1 -2
- package/lib/components/text-editor/__internal__/editor-validation-wrapper/editor-validation-wrapper.style.js +1 -2
- package/lib/components/text-editor/__internal__/label-wrapper/label-wrapper.component.js +1 -2
- package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +2 -4
- package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.js +3 -4
- package/lib/components/text-editor/__internal__/toolbar/toolbar.component.js +3 -4
- package/lib/components/text-editor/__internal__/toolbar/toolbar.style.js +4 -7
- package/lib/components/text-editor/index.js +2 -2
- package/lib/components/text-editor/text-editor.component.js +7 -12
- package/lib/components/text-editor/text-editor.style.js +6 -9
- package/lib/components/text-editor/types.js +4 -8
- package/lib/components/textarea/textarea.component.js +4 -7
- package/lib/components/textarea/textarea.style.js +4 -6
- package/lib/components/textbox/__internal__/prefix.style.js +1 -2
- package/lib/components/textbox/textbox.component.js +8 -11
- package/lib/components/textbox/textbox.style.js +5 -7
- package/lib/components/tile/__internal__/tile-context.js +2 -3
- package/lib/components/tile/tile-content/tile-content.component.js +3 -4
- package/lib/components/tile/tile-content/tile-content.style.js +3 -4
- package/lib/components/tile/tile-footer/tile-footer.component.js +1 -2
- package/lib/components/tile/tile-footer/tile-footer.style.js +3 -4
- package/lib/components/tile/tile.component.js +1 -2
- package/lib/components/tile/tile.config.js +2 -4
- package/lib/components/tile/tile.style.js +3 -4
- package/lib/components/tile-select/__internal__/accordion/accordion.component.js +3 -4
- package/lib/components/tile-select/__internal__/accordion/accordion.style.js +3 -5
- package/lib/components/tile-select/tile-select-group.component.js +1 -2
- package/lib/components/tile-select/tile-select.component.js +3 -4
- package/lib/components/tile-select/tile-select.style.js +16 -30
- package/lib/components/toast/toast.component.js +7 -9
- package/lib/components/toast/toast.config.js +1 -2
- package/lib/components/toast/toast.style.d.ts +14 -13
- package/lib/components/toast/toast.style.js +47 -23
- package/lib/components/tooltip/tooltip-pointer.style.js +3 -4
- package/lib/components/tooltip/tooltip.component.js +4 -6
- package/lib/components/tooltip/tooltip.config.js +1 -2
- package/lib/components/tooltip/tooltip.style.js +3 -4
- package/lib/components/typography/typography.component.js +1 -2
- package/lib/components/typography/typography.style.js +3 -4
- package/lib/components/vertical-divider/vertical-divider.component.js +3 -4
- package/lib/components/vertical-divider/vertical-divider.style.js +4 -6
- package/lib/components/vertical-menu/vertical-menu-full-screen.component.js +3 -4
- package/lib/components/vertical-menu/vertical-menu-full-screen.context.js +1 -2
- package/lib/components/vertical-menu/vertical-menu-item.component.js +3 -4
- package/lib/components/vertical-menu/vertical-menu-trigger.component.js +1 -2
- package/lib/components/vertical-menu/vertical-menu.component.js +1 -2
- package/lib/components/vertical-menu/vertical-menu.style.js +11 -19
- package/lib/hooks/__internal__/useCharacterCount/useCharacterCount.js +3 -4
- package/lib/hooks/__internal__/useChildButtons/useChildButtons.js +1 -2
- package/lib/hooks/__internal__/useDebounce/useDebounce.js +1 -2
- package/lib/hooks/__internal__/useFloating/useFloating.js +1 -2
- package/lib/hooks/__internal__/useIsStickyFooterForm/useIsStickyFooterForm.js +2 -2
- package/lib/hooks/__internal__/useModalManager/useModalManager.js +1 -2
- package/lib/hooks/__internal__/useScrollBlock/scroll-block-manager.js +1 -2
- package/lib/hooks/__internal__/useScrollBlock/useScrollBlock.js +1 -2
- package/lib/hooks/__internal__/useStableCallback/useStableCallback.js +1 -2
- package/lib/hooks/__internal__/useThrottle/useThrottle.js +1 -2
- package/lib/locales/en-gb.js +1 -2
- package/lib/locales/pl-pl.js +1 -2
- package/lib/style/color-config/index.js +1 -2
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.js +1 -2
- package/lib/style/design-tokens/debug-theme.util.js +2 -3
- package/lib/style/global-style.js +1 -2
- package/lib/style/palette/index.js +1 -2
- package/lib/style/themes/aegean/index.js +1 -2
- package/lib/style/themes/base/base-theme.config.js +1 -2
- package/lib/style/themes/base/index.js +1 -2
- package/lib/style/themes/index.js +1 -2
- package/lib/style/themes/medium/index.js +2 -3
- package/lib/style/themes/mint/index.js +1 -2
- package/lib/style/themes/none/index.js +1 -2
- package/lib/style/themes/sage/index.js +2 -3
- package/lib/style/themes/small/index.js +2 -3
- package/lib/style/utils/filter-out-position-props.js +1 -2
- package/lib/style/utils/filter-out-styled-system-spacing-props.js +1 -2
- package/lib/style/utils/filter-styled-system-flexbox-props.js +1 -2
- package/lib/style/utils/filter-styled-system-grid-props.js +1 -2
- package/lib/style/utils/filter-styled-system-layout-props.js +1 -2
- package/lib/style/utils/filter-styled-system-margin-props.js +1 -2
- package/lib/style/utils/filter-styled-system-padding-props.js +8 -16
- package/lib/style/utils/get-rgb-values.js +1 -2
- package/lib/style/utils/visually-hidden.js +2 -3
- package/package.json +53 -49
|
@@ -11,9 +11,9 @@ var _link = require("../link/link.style");
|
|
|
11
11
|
var _iconButton = _interopRequireDefault(require("../icon-button"));
|
|
12
12
|
var _icon = _interopRequireDefault(require("../icon/icon.style"));
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
-
function _getRequireWildcardCache(
|
|
15
|
-
function _interopRequireWildcard(
|
|
16
|
-
const StyledPod = _styledComponents.default.div`
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
+
const StyledPod = exports.StyledPod = _styledComponents.default.div`
|
|
17
17
|
${_styledSystem.margin}
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: flex-start;
|
|
@@ -29,7 +29,6 @@ const StyledPod = _styledComponents.default.div`
|
|
|
29
29
|
outline: none;
|
|
30
30
|
}
|
|
31
31
|
`;
|
|
32
|
-
exports.StyledPod = StyledPod;
|
|
33
32
|
const blockBackgrounds = {
|
|
34
33
|
primary: "var(--colorsUtilityYang100)",
|
|
35
34
|
secondary: "var(--colorsUtilityMajor025)",
|
|
@@ -37,7 +36,7 @@ const blockBackgrounds = {
|
|
|
37
36
|
transparent: "var(--colorsUtilityMajorTransparent)",
|
|
38
37
|
tile: "var(--colorsUtilityYang100)"
|
|
39
38
|
};
|
|
40
|
-
const StyledBlock = _styledComponents.default.div`
|
|
39
|
+
const StyledBlock = exports.StyledBlock = _styledComponents.default.div`
|
|
41
40
|
${({
|
|
42
41
|
variant,
|
|
43
42
|
softDelete,
|
|
@@ -96,7 +95,6 @@ const StyledBlock = _styledComponents.default.div`
|
|
|
96
95
|
`};
|
|
97
96
|
`}
|
|
98
97
|
`;
|
|
99
|
-
exports.StyledBlock = StyledBlock;
|
|
100
98
|
const contentPaddings = {
|
|
101
99
|
"extra-small": "8px",
|
|
102
100
|
small: "8px",
|
|
@@ -104,14 +102,13 @@ const contentPaddings = {
|
|
|
104
102
|
large: "32px 24px",
|
|
105
103
|
"extra-large": "40px"
|
|
106
104
|
};
|
|
107
|
-
const StyledContent = _styledComponents.default.div`
|
|
105
|
+
const StyledContent = exports.StyledContent = _styledComponents.default.div`
|
|
108
106
|
text-align: left;
|
|
109
107
|
padding: ${({
|
|
110
108
|
size
|
|
111
109
|
}) => contentPaddings[size]};
|
|
112
110
|
flex-grow: 1;
|
|
113
111
|
`;
|
|
114
|
-
exports.StyledContent = StyledContent;
|
|
115
112
|
const footerPaddings = {
|
|
116
113
|
"extra-small": "8px",
|
|
117
114
|
small: "8px",
|
|
@@ -119,7 +116,7 @@ const footerPaddings = {
|
|
|
119
116
|
large: "16px 24px",
|
|
120
117
|
"extra-large": "24px 40px"
|
|
121
118
|
};
|
|
122
|
-
const StyledFooter = _styledComponents.default.div`
|
|
119
|
+
const StyledFooter = exports.StyledFooter = _styledComponents.default.div`
|
|
123
120
|
${({
|
|
124
121
|
variant,
|
|
125
122
|
size,
|
|
@@ -137,8 +134,7 @@ const StyledFooter = _styledComponents.default.div`
|
|
|
137
134
|
${variant === "tile" && `border-top: 1px solid var(--colorsUtilityMajor100)`};
|
|
138
135
|
`}
|
|
139
136
|
`;
|
|
140
|
-
exports.
|
|
141
|
-
const StyledActionsContainer = _styledComponents.default.div`
|
|
137
|
+
const StyledActionsContainer = exports.StyledActionsContainer = _styledComponents.default.div`
|
|
142
138
|
display: flex;
|
|
143
139
|
flex-direction: column;
|
|
144
140
|
|
|
@@ -151,7 +147,6 @@ const StyledActionsContainer = _styledComponents.default.div`
|
|
|
151
147
|
z-index: 10;
|
|
152
148
|
`}
|
|
153
149
|
`;
|
|
154
|
-
exports.StyledActionsContainer = StyledActionsContainer;
|
|
155
150
|
const actionButtonSizes = {
|
|
156
151
|
"extra-small": 34,
|
|
157
152
|
small: 34,
|
|
@@ -166,7 +161,7 @@ const actionButtonBackgrounds = {
|
|
|
166
161
|
transparent: "var(--colorsActionMajorTransparent)",
|
|
167
162
|
tile: "var(--colorsActionMajorYang100)"
|
|
168
163
|
};
|
|
169
|
-
const StyledEditAction = (0, _styledComponents.default)(_iconButton.default)`
|
|
164
|
+
const StyledEditAction = exports.StyledEditAction = (0, _styledComponents.default)(_iconButton.default)`
|
|
170
165
|
&& {
|
|
171
166
|
${({
|
|
172
167
|
displayOnlyOnHover,
|
|
@@ -227,8 +222,7 @@ const StyledEditAction = (0, _styledComponents.default)(_iconButton.default)`
|
|
|
227
222
|
position: absolute;
|
|
228
223
|
}
|
|
229
224
|
`;
|
|
230
|
-
exports.
|
|
231
|
-
const StyledDeleteButton = (0, _styledComponents.default)(_iconButton.default)`
|
|
225
|
+
const StyledDeleteButton = exports.StyledDeleteButton = (0, _styledComponents.default)(_iconButton.default)`
|
|
232
226
|
&& {
|
|
233
227
|
${({
|
|
234
228
|
noBorder,
|
|
@@ -276,8 +270,7 @@ const StyledDeleteButton = (0, _styledComponents.default)(_iconButton.default)`
|
|
|
276
270
|
`}
|
|
277
271
|
}
|
|
278
272
|
`;
|
|
279
|
-
exports.
|
|
280
|
-
const StyledUndoButton = (0, _styledComponents.default)(_iconButton.default)`
|
|
273
|
+
const StyledUndoButton = exports.StyledUndoButton = (0, _styledComponents.default)(_iconButton.default)`
|
|
281
274
|
&& {
|
|
282
275
|
${({
|
|
283
276
|
isHovered,
|
|
@@ -327,7 +320,6 @@ const StyledUndoButton = (0, _styledComponents.default)(_iconButton.default)`
|
|
|
327
320
|
`}
|
|
328
321
|
}
|
|
329
322
|
`;
|
|
330
|
-
exports.StyledUndoButton = StyledUndoButton;
|
|
331
323
|
const headerRightAlignMargins = {
|
|
332
324
|
"extra-small": 20,
|
|
333
325
|
small: 25,
|
|
@@ -335,7 +327,7 @@ const headerRightAlignMargins = {
|
|
|
335
327
|
large: 30,
|
|
336
328
|
"extra-large": 30
|
|
337
329
|
};
|
|
338
|
-
const StyledHeader = _styledComponents.default.div`
|
|
330
|
+
const StyledHeader = exports.StyledHeader = _styledComponents.default.div`
|
|
339
331
|
${({
|
|
340
332
|
alignTitle,
|
|
341
333
|
internalEditButton,
|
|
@@ -349,19 +341,16 @@ const StyledHeader = _styledComponents.default.div`
|
|
|
349
341
|
`};
|
|
350
342
|
`}
|
|
351
343
|
`;
|
|
352
|
-
exports.
|
|
353
|
-
const StyledSubtitle = _styledComponents.default.h5`
|
|
344
|
+
const StyledSubtitle = exports.StyledSubtitle = _styledComponents.default.h5`
|
|
354
345
|
margin-top: 8px;
|
|
355
346
|
font-size: 14px;
|
|
356
347
|
font-weight: normal;
|
|
357
348
|
`;
|
|
358
|
-
exports.
|
|
359
|
-
const StyledTitle = _styledComponents.default.h4`
|
|
349
|
+
const StyledTitle = exports.StyledTitle = _styledComponents.default.h4`
|
|
360
350
|
display: inline;
|
|
361
351
|
font-size: 18px;
|
|
362
352
|
font-weight: 600;
|
|
363
353
|
`;
|
|
364
|
-
exports.StyledTitle = StyledTitle;
|
|
365
354
|
StyledPod.defaultProps = {
|
|
366
355
|
theme: _themes.baseTheme
|
|
367
356
|
};
|
|
@@ -16,8 +16,8 @@ var _utils = require("../../style/utils");
|
|
|
16
16
|
var _useClickAwayListener = _interopRequireDefault(require("../../hooks/__internal__/useClickAwayListener"));
|
|
17
17
|
var _events = _interopRequireDefault(require("../../__internal__/utils/helpers/events"));
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
function _getRequireWildcardCache(
|
|
20
|
-
function _interopRequireWildcard(
|
|
19
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
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); }
|
|
22
22
|
const renderOpen = ({
|
|
23
23
|
tabIndex,
|
|
@@ -177,5 +177,4 @@ const PopoverContainer = ({
|
|
|
177
177
|
}, title), renderCloseComponent(renderCloseComponentProps)), children))));
|
|
178
178
|
};
|
|
179
179
|
exports.PopoverContainer = PopoverContainer;
|
|
180
|
-
var _default = PopoverContainer;
|
|
181
|
-
exports.default = _default;
|
|
180
|
+
var _default = exports.default = PopoverContainer;
|
|
@@ -10,19 +10,17 @@ var _themes = require("../../style/themes");
|
|
|
10
10
|
var _iconButton = _interopRequireDefault(require("../icon-button"));
|
|
11
11
|
var _icon = _interopRequireDefault(require("../icon/icon.style"));
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
const PopoverContainerWrapperStyle = _styledComponents.default.div`
|
|
13
|
+
const PopoverContainerWrapperStyle = exports.PopoverContainerWrapperStyle = _styledComponents.default.div`
|
|
14
14
|
position: relative;
|
|
15
15
|
display: inline-block;
|
|
16
16
|
`;
|
|
17
|
-
exports.
|
|
18
|
-
const PopoverContainerHeaderStyle = _styledComponents.default.div`
|
|
17
|
+
const PopoverContainerHeaderStyle = exports.PopoverContainerHeaderStyle = _styledComponents.default.div`
|
|
19
18
|
display: flex;
|
|
20
19
|
justify-content: space-between;
|
|
21
20
|
margin-bottom: 8px;
|
|
22
21
|
max-width: 280px;
|
|
23
22
|
`;
|
|
24
|
-
exports.
|
|
25
|
-
const PopoverContainerContentStyle = _styledComponents.default.div`
|
|
23
|
+
const PopoverContainerContentStyle = exports.PopoverContainerContentStyle = _styledComponents.default.div`
|
|
26
24
|
${_styledSystem.padding}
|
|
27
25
|
|
|
28
26
|
background: var(--colorsUtilityYang100);
|
|
@@ -60,14 +58,12 @@ const PopoverContainerContentStyle = _styledComponents.default.div`
|
|
|
60
58
|
}
|
|
61
59
|
}}
|
|
62
60
|
`;
|
|
63
|
-
exports.
|
|
64
|
-
const PopoverContainerOpenIcon = (0, _styledComponents.default)(_iconButton.default)`
|
|
61
|
+
const PopoverContainerOpenIcon = exports.PopoverContainerOpenIcon = (0, _styledComponents.default)(_iconButton.default)`
|
|
65
62
|
${_icon.default} {
|
|
66
63
|
color: var(--colorsActionMinor500);
|
|
67
64
|
}
|
|
68
65
|
`;
|
|
69
|
-
exports.
|
|
70
|
-
const PopoverContainerCloseIcon = (0, _styledComponents.default)(_iconButton.default)`
|
|
66
|
+
const PopoverContainerCloseIcon = exports.PopoverContainerCloseIcon = (0, _styledComponents.default)(_iconButton.default)`
|
|
71
67
|
position: absolute;
|
|
72
68
|
top: 16px;
|
|
73
69
|
right: 24px;
|
|
@@ -76,12 +72,10 @@ const PopoverContainerCloseIcon = (0, _styledComponents.default)(_iconButton.def
|
|
|
76
72
|
color: var(--colorsActionMinor500);
|
|
77
73
|
}
|
|
78
74
|
`;
|
|
79
|
-
exports.
|
|
80
|
-
const PopoverContainerTitleStyle = _styledComponents.default.div`
|
|
75
|
+
const PopoverContainerTitleStyle = exports.PopoverContainerTitleStyle = _styledComponents.default.div`
|
|
81
76
|
font-size: 16px;
|
|
82
77
|
font-weight: bold;
|
|
83
78
|
`;
|
|
84
|
-
exports.PopoverContainerTitleStyle = PopoverContainerTitleStyle;
|
|
85
79
|
PopoverContainerContentStyle.defaultProps = {
|
|
86
80
|
theme: _themes.baseTheme
|
|
87
81
|
};
|
|
@@ -9,10 +9,9 @@ var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
|
9
9
|
var _guid = _interopRequireDefault(require("../../__internal__/utils/helpers/guid"));
|
|
10
10
|
var _carbonScopedTokensProvider = _interopRequireDefault(require("../../style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component"));
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(
|
|
13
|
-
function _interopRequireWildcard(
|
|
14
|
-
const PortalContext = /*#__PURE__*/_react.default.createContext({});
|
|
15
|
-
exports.PortalContext = PortalContext;
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
|
+
const PortalContext = exports.PortalContext = /*#__PURE__*/_react.default.createContext({});
|
|
16
15
|
const Portal = ({
|
|
17
16
|
children,
|
|
18
17
|
className,
|
|
@@ -77,5 +76,4 @@ const Portal = ({
|
|
|
77
76
|
"data-portal-entrance": uniqueId
|
|
78
77
|
}, /*#__PURE__*/_reactDom.default.createPortal( /*#__PURE__*/_react.default.createElement(_carbonScopedTokensProvider.default, null, children), getPortalContainer()));
|
|
79
78
|
};
|
|
80
|
-
var _default = Portal;
|
|
81
|
-
exports.default = _default;
|
|
79
|
+
var _default = exports.default = Portal;
|
|
@@ -15,8 +15,8 @@ var _portrait2 = require("./portrait.style");
|
|
|
15
15
|
var _utils = require("../../style/utils");
|
|
16
16
|
var _carbonProvider = require("../carbon-provider/carbon-provider.component");
|
|
17
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
-
function _getRequireWildcardCache(
|
|
19
|
-
function _interopRequireWildcard(
|
|
18
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
20
|
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); }
|
|
21
21
|
const Portrait = ({
|
|
22
22
|
alt,
|
|
@@ -114,5 +114,4 @@ const Portrait = ({
|
|
|
114
114
|
};
|
|
115
115
|
return renderComponent();
|
|
116
116
|
};
|
|
117
|
-
var _default = Portrait;
|
|
118
|
-
exports.default = _default;
|
|
117
|
+
var _default = exports.default = Portrait;
|
|
@@ -4,11 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.PORTRAIT_SIZE_PARAMS = exports.PORTRAIT_SIZES = exports.PORTRAIT_SHAPES = void 0;
|
|
7
|
-
const PORTRAIT_SHAPES = ["circle", "square"];
|
|
8
|
-
exports.
|
|
9
|
-
const
|
|
10
|
-
exports.PORTRAIT_SIZES = PORTRAIT_SIZES;
|
|
11
|
-
const PORTRAIT_SIZE_PARAMS = {
|
|
7
|
+
const PORTRAIT_SHAPES = exports.PORTRAIT_SHAPES = ["circle", "square"];
|
|
8
|
+
const PORTRAIT_SIZES = exports.PORTRAIT_SIZES = ["XS", "S", "M", "ML", "L", "XL", "XXL"];
|
|
9
|
+
const PORTRAIT_SIZE_PARAMS = exports.PORTRAIT_SIZE_PARAMS = {
|
|
12
10
|
XS: {
|
|
13
11
|
dimensions: 24,
|
|
14
12
|
iconDimensions: 16
|
|
@@ -37,5 +35,4 @@ const PORTRAIT_SIZE_PARAMS = {
|
|
|
37
35
|
dimensions: 128,
|
|
38
36
|
iconDimensions: 64
|
|
39
37
|
}
|
|
40
|
-
};
|
|
41
|
-
exports.PORTRAIT_SIZE_PARAMS = PORTRAIT_SIZE_PARAMS;
|
|
38
|
+
};
|
|
@@ -11,7 +11,7 @@ var _icon = _interopRequireDefault(require("../icon"));
|
|
|
11
11
|
var _portrait = require("./portrait.config");
|
|
12
12
|
var _profile = _interopRequireDefault(require("../profile/profile.config"));
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
-
const StyledPortraitInitials = _styledComponents.default.div`
|
|
14
|
+
const StyledPortraitInitials = exports.StyledPortraitInitials = _styledComponents.default.div`
|
|
15
15
|
font-weight: bold;
|
|
16
16
|
font-size: ${({
|
|
17
17
|
size
|
|
@@ -23,21 +23,18 @@ const StyledPortraitInitials = _styledComponents.default.div`
|
|
|
23
23
|
height: inherit;
|
|
24
24
|
width: inherit;
|
|
25
25
|
`;
|
|
26
|
-
exports.
|
|
27
|
-
const StyledPortraitGravatar = _styledComponents.default.img`
|
|
26
|
+
const StyledPortraitGravatar = exports.StyledPortraitGravatar = _styledComponents.default.img`
|
|
28
27
|
height: inherit;
|
|
29
28
|
width: inherit;
|
|
30
29
|
`;
|
|
31
|
-
exports.
|
|
32
|
-
const StyledCustomImg = _styledComponents.default.img`
|
|
30
|
+
const StyledCustomImg = exports.StyledCustomImg = _styledComponents.default.img`
|
|
33
31
|
height: inherit;
|
|
34
32
|
width: inherit;
|
|
35
33
|
`;
|
|
36
34
|
|
|
37
35
|
// && is used here to increase the specificity
|
|
38
36
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
39
|
-
exports.
|
|
40
|
-
const StyledIcon = (0, _styledComponents.default)(_icon.default)`
|
|
37
|
+
const StyledIcon = exports.StyledIcon = (0, _styledComponents.default)(_icon.default)`
|
|
41
38
|
&& {
|
|
42
39
|
color: inherit;
|
|
43
40
|
height: inherit;
|
|
@@ -50,8 +47,7 @@ const StyledIcon = (0, _styledComponents.default)(_icon.default)`
|
|
|
50
47
|
}
|
|
51
48
|
}
|
|
52
49
|
`;
|
|
53
|
-
exports.
|
|
54
|
-
const StyledPortraitContainer = _styledComponents.default.div`
|
|
50
|
+
const StyledPortraitContainer = exports.StyledPortraitContainer = _styledComponents.default.div`
|
|
55
51
|
color: ${({
|
|
56
52
|
darkBackground
|
|
57
53
|
}) => darkBackground ? "var(--colorsUtilityReadOnly600)" : "var(--colorsUtilityYin090)"};
|
|
@@ -75,7 +71,6 @@ const StyledPortraitContainer = _styledComponents.default.div`
|
|
|
75
71
|
}) => onClick && "cursor: pointer"}
|
|
76
72
|
${_styledSystem.margin}
|
|
77
73
|
`;
|
|
78
|
-
exports.StyledPortraitContainer = StyledPortraitContainer;
|
|
79
74
|
StyledPortraitContainer.defaultProps = {
|
|
80
75
|
theme: _base.default
|
|
81
76
|
};
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.StyledPreviewPlaceholder = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
8
|
-
function _getRequireWildcardCache(
|
|
9
|
-
function _interopRequireWildcard(
|
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10
10
|
const shimmer = (0, _styledComponents.keyframes)`
|
|
11
11
|
0% { opacity:0.1 }
|
|
12
12
|
70% { opacity:0.6 }
|
|
13
13
|
100% { opacity:0.1 }
|
|
14
14
|
`;
|
|
15
|
-
const StyledPreviewPlaceholder = _styledComponents.default.span`
|
|
15
|
+
const StyledPreviewPlaceholder = exports.StyledPreviewPlaceholder = _styledComponents.default.span`
|
|
16
16
|
animation: ${shimmer} 2s ease infinite;
|
|
17
17
|
background: var(--colorsUtilityMajor150);
|
|
18
18
|
display: block;
|
|
@@ -27,5 +27,4 @@ const StyledPreviewPlaceholder = _styledComponents.default.span`
|
|
|
27
27
|
& + & {
|
|
28
28
|
margin-top: 3px;
|
|
29
29
|
}
|
|
30
|
-
`;
|
|
31
|
-
exports.StyledPreviewPlaceholder = StyledPreviewPlaceholder;
|
|
30
|
+
`;
|
|
@@ -8,10 +8,9 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
8
8
|
var _styledSystem = require("styled-system");
|
|
9
9
|
var _base = _interopRequireDefault(require("../../style/themes/base"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
const StyledPreview = _styledComponents.default.div`
|
|
11
|
+
const StyledPreview = exports.StyledPreview = _styledComponents.default.div`
|
|
12
12
|
${_styledSystem.margin}
|
|
13
13
|
`;
|
|
14
|
-
exports.StyledPreview = StyledPreview;
|
|
15
14
|
StyledPreview.defaultProps = {
|
|
16
15
|
theme: _base.default
|
|
17
16
|
};
|
|
@@ -82,5 +82,4 @@ const Profile = ({
|
|
|
82
82
|
}, (0, _tags.default)("profile", props), (0, _utils.filterStyledSystemMarginProps)(props)), avatar(), children());
|
|
83
83
|
};
|
|
84
84
|
exports.Profile = Profile;
|
|
85
|
-
var _default = Profile;
|
|
86
|
-
exports.default = _default;
|
|
85
|
+
var _default = exports.default = Profile;
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = exports.PROFILE_SIZES = void 0;
|
|
7
|
-
const PROFILE_SIZES = ["XS", "S", "M", "ML", "L", "XL", "XXL"];
|
|
8
|
-
exports.
|
|
9
|
-
var _default = {
|
|
7
|
+
const PROFILE_SIZES = exports.PROFILE_SIZES = ["XS", "S", "M", "ML", "L", "XL", "XXL"];
|
|
8
|
+
var _default = exports.default = {
|
|
10
9
|
XS: {
|
|
11
10
|
initialSize: "var(--fontSizes050)",
|
|
12
11
|
nameSize: "var(--fontSizes050)",
|
|
@@ -56,5 +55,4 @@ var _default = {
|
|
|
56
55
|
lineHeight: "30px",
|
|
57
56
|
marginLeft: "40px"
|
|
58
57
|
}
|
|
59
|
-
};
|
|
60
|
-
exports.default = _default;
|
|
58
|
+
};
|
|
@@ -12,14 +12,13 @@ var _profile = _interopRequireDefault(require("./profile.config"));
|
|
|
12
12
|
var _link = _interopRequireDefault(require("../link"));
|
|
13
13
|
var _portrait2 = require("../portrait/portrait.style");
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
const ProfileNameStyle = _styledComponents.default.span`
|
|
15
|
+
const ProfileNameStyle = exports.ProfileNameStyle = _styledComponents.default.span`
|
|
16
16
|
font-weight: bold;
|
|
17
17
|
font-size: ${({
|
|
18
18
|
size = "M"
|
|
19
19
|
}) => _profile.default[size].nameSize};
|
|
20
20
|
`;
|
|
21
|
-
exports.
|
|
22
|
-
const ProfileEmailStyle = (0, _styledComponents.default)(_link.default)`
|
|
21
|
+
const ProfileEmailStyle = exports.ProfileEmailStyle = (0, _styledComponents.default)(_link.default)`
|
|
23
22
|
a {
|
|
24
23
|
font-size: ${({
|
|
25
24
|
size = "M"
|
|
@@ -29,14 +28,12 @@ const ProfileEmailStyle = (0, _styledComponents.default)(_link.default)`
|
|
|
29
28
|
}) => darkBackground && "var(--colorsActionMajor350)"};
|
|
30
29
|
}
|
|
31
30
|
`;
|
|
32
|
-
exports.
|
|
33
|
-
const ProfileTextStyle = _styledComponents.default.span`
|
|
31
|
+
const ProfileTextStyle = exports.ProfileTextStyle = _styledComponents.default.span`
|
|
34
32
|
font-size: ${({
|
|
35
33
|
size = "M"
|
|
36
34
|
}) => _profile.default[size].emailSize};
|
|
37
35
|
`;
|
|
38
|
-
exports.
|
|
39
|
-
const ProfileStyle = _styledComponents.default.div`
|
|
36
|
+
const ProfileStyle = exports.ProfileStyle = _styledComponents.default.div`
|
|
40
37
|
border-radius: inherit;
|
|
41
38
|
white-space: nowrap;
|
|
42
39
|
color: ${({
|
|
@@ -53,8 +50,7 @@ const ProfileStyle = _styledComponents.default.div`
|
|
|
53
50
|
flex-shrink: 0;
|
|
54
51
|
}
|
|
55
52
|
`;
|
|
56
|
-
exports.
|
|
57
|
-
const ProfileDetailsStyle = _styledComponents.default.div`
|
|
53
|
+
const ProfileDetailsStyle = exports.ProfileDetailsStyle = _styledComponents.default.div`
|
|
58
54
|
vertical-align: middle;
|
|
59
55
|
display: flex;
|
|
60
56
|
flex-direction: column;
|
|
@@ -66,11 +62,9 @@ const ProfileDetailsStyle = _styledComponents.default.div`
|
|
|
66
62
|
size = "M"
|
|
67
63
|
}) => _profile.default[size].marginLeft};
|
|
68
64
|
`;
|
|
69
|
-
exports.
|
|
70
|
-
const ProfileAvatarStyle = (0, _styledComponents.default)(_portrait.default)`
|
|
65
|
+
const ProfileAvatarStyle = exports.ProfileAvatarStyle = (0, _styledComponents.default)(_portrait.default)`
|
|
71
66
|
display: inline-block;
|
|
72
67
|
`;
|
|
73
|
-
exports.ProfileAvatarStyle = ProfileAvatarStyle;
|
|
74
68
|
ProfileStyle.defaultProps = {
|
|
75
69
|
theme: _base.default
|
|
76
70
|
};
|
|
@@ -11,8 +11,8 @@ var _tags = _interopRequireDefault(require("../../__internal__/utils/helpers/tag
|
|
|
11
11
|
var _progressTracker = require("./progress-tracker.style");
|
|
12
12
|
var _useResizeObserver = _interopRequireDefault(require("../../hooks/__internal__/useResizeObserver"));
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
-
function _getRequireWildcardCache(
|
|
15
|
-
function _interopRequireWildcard(
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
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); }
|
|
17
17
|
const ProgressTracker = ({
|
|
18
18
|
"aria-label": ariaLabel = "progress tracker",
|
|
@@ -96,5 +96,4 @@ const ProgressTracker = ({
|
|
|
96
96
|
})), !prefixLabels && renderValueLabels());
|
|
97
97
|
};
|
|
98
98
|
ProgressTracker.displayName = "ProgressTracker";
|
|
99
|
-
var _default = ProgressTracker;
|
|
100
|
-
exports.default = _default;
|
|
99
|
+
var _default = exports.default = ProgressTracker;
|
|
@@ -5,5 +5,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.PROGRESS_TRACKER_SIZES = void 0;
|
|
7
7
|
/* eslint-disable import/prefer-default-export */
|
|
8
|
-
const PROGRESS_TRACKER_SIZES = ["small", "medium", "large"];
|
|
9
|
-
exports.PROGRESS_TRACKER_SIZES = PROGRESS_TRACKER_SIZES;
|
|
8
|
+
const PROGRESS_TRACKER_SIZES = exports.PROGRESS_TRACKER_SIZES = ["small", "medium", "large"];
|
|
@@ -8,8 +8,8 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
|
8
8
|
var _styledSystem = require("styled-system");
|
|
9
9
|
var _base = _interopRequireDefault(require("../../style/themes/base"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
13
|
function getHeight(size) {
|
|
14
14
|
switch (size) {
|
|
15
15
|
case "small":
|
|
@@ -36,7 +36,7 @@ function getBorderColour({
|
|
|
36
36
|
if (progress === 100) return "var(--colorsSemanticPositive500)";
|
|
37
37
|
return "var(--colorsSemanticNeutral500)";
|
|
38
38
|
}
|
|
39
|
-
const StyledProgressTracker = _styledComponents.default.div`
|
|
39
|
+
const StyledProgressTracker = exports.StyledProgressTracker = _styledComponents.default.div`
|
|
40
40
|
${_styledSystem.margin}
|
|
41
41
|
text-align: center;
|
|
42
42
|
white-space: nowrap;
|
|
@@ -47,8 +47,7 @@ const StyledProgressTracker = _styledComponents.default.div`
|
|
|
47
47
|
width: ${length};
|
|
48
48
|
`};
|
|
49
49
|
`;
|
|
50
|
-
exports.
|
|
51
|
-
const StyledProgressBar = _styledComponents.default.span`
|
|
50
|
+
const StyledProgressBar = exports.StyledProgressBar = _styledComponents.default.span`
|
|
52
51
|
${({
|
|
53
52
|
size,
|
|
54
53
|
progress,
|
|
@@ -68,23 +67,20 @@ const StyledProgressBar = _styledComponents.default.span`
|
|
|
68
67
|
width: 100%;
|
|
69
68
|
`}
|
|
70
69
|
`;
|
|
71
|
-
exports.StyledProgressBar = StyledProgressBar;
|
|
72
70
|
const fontSizes = {
|
|
73
71
|
small: "var(--fontSizes100)",
|
|
74
72
|
medium: "var(--fontSizes100)",
|
|
75
73
|
large: "var(--fontSizes200)"
|
|
76
74
|
};
|
|
77
|
-
const StyledValue = _styledComponents.default.span`
|
|
75
|
+
const StyledValue = exports.StyledValue = _styledComponents.default.span`
|
|
78
76
|
display: inline-block;
|
|
79
77
|
font-weight: bold;
|
|
80
78
|
`;
|
|
81
|
-
exports.
|
|
82
|
-
const StyledDescription = _styledComponents.default.span`
|
|
79
|
+
const StyledDescription = exports.StyledDescription = _styledComponents.default.span`
|
|
83
80
|
color: var(--colorsUtilityYin055);
|
|
84
81
|
margin-left: 4px;
|
|
85
82
|
`;
|
|
86
|
-
exports.
|
|
87
|
-
const StyledValuesLabel = _styledComponents.default.span`
|
|
83
|
+
const StyledValuesLabel = exports.StyledValuesLabel = _styledComponents.default.span`
|
|
88
84
|
text-align: start;
|
|
89
85
|
display: flex;
|
|
90
86
|
justify-content: flex-start;
|
|
@@ -99,8 +95,7 @@ const StyledValuesLabel = _styledComponents.default.span`
|
|
|
99
95
|
labelsPosition
|
|
100
96
|
}) => labelsPosition !== "bottom" && "margin-bottom: 8px"};
|
|
101
97
|
`;
|
|
102
|
-
exports.
|
|
103
|
-
const InnerBar = _styledComponents.default.span`
|
|
98
|
+
const InnerBar = exports.InnerBar = _styledComponents.default.span`
|
|
104
99
|
${({
|
|
105
100
|
progress,
|
|
106
101
|
size = "medium",
|
|
@@ -120,7 +115,6 @@ const InnerBar = _styledComponents.default.span`
|
|
|
120
115
|
height: ${getHeight(size)};
|
|
121
116
|
`}
|
|
122
117
|
`;
|
|
123
|
-
exports.InnerBar = InnerBar;
|
|
124
118
|
InnerBar.defaultProps = {
|
|
125
119
|
theme: _base.default
|
|
126
120
|
};
|
|
@@ -19,5 +19,4 @@ exports.default = void 0;
|
|
|
19
19
|
var _radioButton = _interopRequireDefault(require("./radio-button.component"));
|
|
20
20
|
var _radioButtonGroup = _interopRequireDefault(require("./radio-button-group.component"));
|
|
21
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
var _default = _radioButton.default;
|
|
23
|
-
exports.default = _default;
|
|
22
|
+
var _default = exports.default = _radioButton.default;
|