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
|
@@ -17,15 +17,15 @@ var _box = _interopRequireDefault(require("../box/box.style"));
|
|
|
17
17
|
var _pager = require("../pager/pager.style");
|
|
18
18
|
var _addFocusStyling = _interopRequireDefault(require("../../style/utils/add-focus-styling"));
|
|
19
19
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
-
function _getRequireWildcardCache(
|
|
21
|
-
function _interopRequireWildcard(
|
|
20
|
+
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); }
|
|
21
|
+
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; }
|
|
22
22
|
const HEADER_OVERLAY_INCREMENT = 3;
|
|
23
23
|
const STICKY_FOOTER_OVERLAY_INCREMENT = 1;
|
|
24
24
|
const ROW_HEADER_OVERLAY_INCREMENT = 5;
|
|
25
25
|
const oldFocusStyling = `
|
|
26
26
|
outline: 2px solid var(--colorsSemanticFocus500);
|
|
27
27
|
`;
|
|
28
|
-
const StyledTableContainer = _styledComponents.default.div`
|
|
28
|
+
const StyledTableContainer = exports.StyledTableContainer = _styledComponents.default.div`
|
|
29
29
|
${({
|
|
30
30
|
width,
|
|
31
31
|
overflowX
|
|
@@ -35,8 +35,7 @@ const StyledTableContainer = _styledComponents.default.div`
|
|
|
35
35
|
${overflowX && `overflow-x: ${overflowX};`}
|
|
36
36
|
`}
|
|
37
37
|
`;
|
|
38
|
-
exports.
|
|
39
|
-
const StyledFlatTable = _styledComponents.default.table`
|
|
38
|
+
const StyledFlatTable = exports.StyledFlatTable = _styledComponents.default.table`
|
|
40
39
|
border-collapse: separate;
|
|
41
40
|
border-spacing: 0;
|
|
42
41
|
width: 100%;
|
|
@@ -103,8 +102,7 @@ const StyledFlatTable = _styledComponents.default.table`
|
|
|
103
102
|
}
|
|
104
103
|
`}
|
|
105
104
|
`;
|
|
106
|
-
exports.
|
|
107
|
-
const StyledFlatTableWrapper = (0, _styledComponents.default)(_box.default)`
|
|
105
|
+
const StyledFlatTableWrapper = exports.StyledFlatTableWrapper = (0, _styledComponents.default)(_box.default)`
|
|
108
106
|
border-top-left-radius: var(--borderRadius100);
|
|
109
107
|
border-top-right-radius: var(--borderRadius100);
|
|
110
108
|
${({
|
|
@@ -342,11 +340,10 @@ const StyledFlatTableWrapper = (0, _styledComponents.default)(_box.default)`
|
|
|
342
340
|
}
|
|
343
341
|
`}
|
|
344
342
|
`;
|
|
345
|
-
exports.StyledFlatTableWrapper = StyledFlatTableWrapper;
|
|
346
343
|
StyledFlatTableWrapper.defaultProps = {
|
|
347
344
|
theme: _themes.baseTheme
|
|
348
345
|
};
|
|
349
|
-
const StyledFlatTableFooter = _styledComponents.default.div`
|
|
346
|
+
const StyledFlatTableFooter = exports.StyledFlatTableFooter = _styledComponents.default.div`
|
|
350
347
|
& > ${_pager.StyledPagerContainer} {
|
|
351
348
|
border-top: none;
|
|
352
349
|
border-top-left-radius: 0;
|
|
@@ -367,7 +364,6 @@ const StyledFlatTableFooter = _styledComponents.default.div`
|
|
|
367
364
|
}
|
|
368
365
|
`}
|
|
369
366
|
`;
|
|
370
|
-
exports.StyledFlatTableFooter = StyledFlatTableFooter;
|
|
371
367
|
StyledFlatTableFooter.defaultProps = {
|
|
372
368
|
theme: _themes.baseTheme
|
|
373
369
|
};
|
|
@@ -11,8 +11,8 @@ var _icon = _interopRequireDefault(require("../../icon"));
|
|
|
11
11
|
var _sort = require("./sort.style");
|
|
12
12
|
var _guid = _interopRequireDefault(require("../../../__internal__/utils/helpers/guid"));
|
|
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
|
const Sort = ({
|
|
17
17
|
children,
|
|
18
18
|
onClick,
|
|
@@ -41,5 +41,4 @@ const Sort = ({
|
|
|
41
41
|
color: "--colorsUtilityMajor200"
|
|
42
42
|
})), !sortType && /*#__PURE__*/_react.default.createElement(_sort.StyledSpaceHolder, null));
|
|
43
43
|
};
|
|
44
|
-
var _default = Sort;
|
|
45
|
-
exports.default = _default;
|
|
44
|
+
var _default = exports.default = Sort;
|
|
@@ -12,7 +12,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
const oldFocusStyling = `
|
|
13
13
|
outline: solid 1px var(--colorsSemanticFocus500);
|
|
14
14
|
`;
|
|
15
|
-
const StyledSort = _styledComponents.default.div`
|
|
15
|
+
const StyledSort = exports.StyledSort = _styledComponents.default.div`
|
|
16
16
|
display: inline-flex;
|
|
17
17
|
align-items: center;
|
|
18
18
|
padding-left: 2px;
|
|
@@ -38,12 +38,10 @@ const StyledSort = _styledComponents.default.div`
|
|
|
38
38
|
border-radius: var(--borderRadius025);
|
|
39
39
|
}
|
|
40
40
|
`;
|
|
41
|
-
exports.StyledSort = StyledSort;
|
|
42
41
|
StyledSort.defaultProps = {
|
|
43
42
|
theme: _base.default
|
|
44
43
|
};
|
|
45
|
-
const StyledSpaceHolder = _styledComponents.default.div`
|
|
44
|
+
const StyledSpaceHolder = exports.StyledSpaceHolder = _styledComponents.default.div`
|
|
46
45
|
display: inline-block;
|
|
47
46
|
width: 22px;
|
|
48
|
-
`;
|
|
49
|
-
exports.StyledSpaceHolder = StyledSpaceHolder;
|
|
47
|
+
`;
|
|
@@ -10,8 +10,8 @@ var _formSummary = require("./form-summary.style");
|
|
|
10
10
|
var _icon = _interopRequireDefault(require("../../icon"));
|
|
11
11
|
var _useLocale = _interopRequireDefault(require("../../../hooks/__internal__/useLocale"));
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
function _getRequireWildcardCache(
|
|
14
|
-
function _interopRequireWildcard(
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
15
|
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); }
|
|
16
16
|
const Summary = ({
|
|
17
17
|
type,
|
|
@@ -49,5 +49,4 @@ const FormSummary = ({
|
|
|
49
49
|
type: "warning"
|
|
50
50
|
}, props)), props.children);
|
|
51
51
|
};
|
|
52
|
-
var _default = FormSummary;
|
|
53
|
-
exports.default = _default;
|
|
52
|
+
var _default = exports.default = FormSummary;
|
|
@@ -8,9 +8,9 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
|
8
8
|
var _icon = _interopRequireDefault(require("../../icon/icon.style"));
|
|
9
9
|
var _button = _interopRequireDefault(require("../../button/button.style"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
13
|
-
const StyledFormSummary = _styledComponents.default.div`
|
|
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
|
+
const StyledFormSummary = exports.StyledFormSummary = _styledComponents.default.div`
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
font-size: 13px;
|
|
@@ -37,15 +37,13 @@ const StyledFormSummary = _styledComponents.default.div`
|
|
|
37
37
|
margin-right: 0;
|
|
38
38
|
}
|
|
39
39
|
`;
|
|
40
|
-
exports.
|
|
41
|
-
const StyledMessagePrefix = _styledComponents.default.div`
|
|
40
|
+
const StyledMessagePrefix = exports.StyledMessagePrefix = _styledComponents.default.div`
|
|
42
41
|
&:first-of-type {
|
|
43
42
|
margin-left: 4px;
|
|
44
43
|
}
|
|
45
44
|
margin-right: 4px;
|
|
46
45
|
`;
|
|
47
|
-
exports.
|
|
48
|
-
const StyledInternalSummary = _styledComponents.default.div`
|
|
46
|
+
const StyledInternalSummary = exports.StyledInternalSummary = _styledComponents.default.div`
|
|
49
47
|
display: flex;
|
|
50
48
|
align-items: center;
|
|
51
49
|
margin-right: 8px;
|
|
@@ -76,5 +74,4 @@ const StyledInternalSummary = _styledComponents.default.div`
|
|
|
76
74
|
color: var(--colorsSemanticNegative600);
|
|
77
75
|
`}
|
|
78
76
|
}
|
|
79
|
-
`;
|
|
80
|
-
exports.StyledInternalSummary = StyledInternalSummary;
|
|
77
|
+
`;
|
|
@@ -13,8 +13,8 @@ var _form = require("./form.style");
|
|
|
13
13
|
var _form2 = require("./form.config");
|
|
14
14
|
var _formSpacingProvider = _interopRequireDefault(require("../../__internal__/form-spacing-provider"));
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
-
function _getRequireWildcardCache(
|
|
17
|
-
function _interopRequireWildcard(
|
|
16
|
+
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); }
|
|
17
|
+
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; }
|
|
18
18
|
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); }
|
|
19
19
|
const Form = ({
|
|
20
20
|
children,
|
|
@@ -94,5 +94,4 @@ const Form = ({
|
|
|
94
94
|
};
|
|
95
95
|
exports.Form = Form;
|
|
96
96
|
Form.displayName = "Form";
|
|
97
|
-
var _default = Form;
|
|
98
|
-
exports.default = _default;
|
|
97
|
+
var _default = exports.default = Form;
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.formSpacing = exports.FORM_BUTTON_ALIGNMENTS = void 0;
|
|
7
|
-
const FORM_BUTTON_ALIGNMENTS = ["left", "right"];
|
|
8
|
-
exports.
|
|
9
|
-
const formSpacing = {
|
|
7
|
+
const FORM_BUTTON_ALIGNMENTS = exports.FORM_BUTTON_ALIGNMENTS = ["left", "right"];
|
|
8
|
+
const formSpacing = exports.formSpacing = {
|
|
10
9
|
0: "var(--spacing000)",
|
|
11
10
|
1: "var(--spacing100)",
|
|
12
11
|
2: "var(--spacing200)",
|
|
@@ -15,5 +14,4 @@ const formSpacing = {
|
|
|
15
14
|
5: "var(--spacing500)",
|
|
16
15
|
6: "var(--spacing600)",
|
|
17
16
|
7: "var(--spacing700)"
|
|
18
|
-
};
|
|
19
|
-
exports.formSpacing = formSpacing;
|
|
17
|
+
};
|
|
@@ -12,9 +12,9 @@ var _base = _interopRequireDefault(require("../../style/themes/base"));
|
|
|
12
12
|
var _search = _interopRequireDefault(require("../search/search.style"));
|
|
13
13
|
var _textarea = _interopRequireDefault(require("../textarea/textarea.style"));
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
function _getRequireWildcardCache(
|
|
16
|
-
function _interopRequireWildcard(
|
|
17
|
-
const StyledFormContent = _styledComponents.default.div`
|
|
15
|
+
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); }
|
|
16
|
+
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; }
|
|
17
|
+
const StyledFormContent = exports.StyledFormContent = _styledComponents.default.div`
|
|
18
18
|
${({
|
|
19
19
|
stickyFooter,
|
|
20
20
|
isInModal
|
|
@@ -25,8 +25,7 @@ const StyledFormContent = _styledComponents.default.div`
|
|
|
25
25
|
`}
|
|
26
26
|
`}
|
|
27
27
|
`;
|
|
28
|
-
exports.
|
|
29
|
-
const StyledFormFooter = _styledComponents.default.div`
|
|
28
|
+
const StyledFormFooter = exports.StyledFormFooter = _styledComponents.default.div`
|
|
30
29
|
align-items: center;
|
|
31
30
|
display: flex;
|
|
32
31
|
|
|
@@ -66,14 +65,13 @@ const StyledFormFooter = _styledComponents.default.div`
|
|
|
66
65
|
|
|
67
66
|
${_styledSystem.padding}
|
|
68
67
|
`;
|
|
69
|
-
exports.StyledFormFooter = StyledFormFooter;
|
|
70
68
|
StyledFormFooter.defaultProps = {
|
|
71
69
|
theme: _base.default
|
|
72
70
|
};
|
|
73
71
|
|
|
74
72
|
// Accounts for height of the header of Modal parent, the height form footer and some additional spacing
|
|
75
73
|
const HEIGHT_SPACING = 216;
|
|
76
|
-
const StyledForm = _styledComponents.default.form`
|
|
74
|
+
const StyledForm = exports.StyledForm = _styledComponents.default.form`
|
|
77
75
|
${_styledSystem.space}
|
|
78
76
|
|
|
79
77
|
${({
|
|
@@ -109,8 +107,7 @@ const StyledForm = _styledComponents.default.form`
|
|
|
109
107
|
`}
|
|
110
108
|
`}
|
|
111
109
|
`;
|
|
112
|
-
exports.
|
|
113
|
-
const StyledRightButtons = _styledComponents.default.div`
|
|
110
|
+
const StyledRightButtons = exports.StyledRightButtons = _styledComponents.default.div`
|
|
114
111
|
display: flex;
|
|
115
112
|
${({
|
|
116
113
|
fullWidthButtons
|
|
@@ -123,13 +120,11 @@ const StyledRightButtons = _styledComponents.default.div`
|
|
|
123
120
|
margin-right: 0;
|
|
124
121
|
}
|
|
125
122
|
`;
|
|
126
|
-
exports.
|
|
127
|
-
const StyledFullWidthButtons = _styledComponents.default.div`
|
|
123
|
+
const StyledFullWidthButtons = exports.StyledFullWidthButtons = _styledComponents.default.div`
|
|
128
124
|
width: 100%;
|
|
129
125
|
display: flex;
|
|
130
126
|
`;
|
|
131
|
-
exports.
|
|
132
|
-
const StyledLeftButtons = _styledComponents.default.div`
|
|
127
|
+
const StyledLeftButtons = exports.StyledLeftButtons = _styledComponents.default.div`
|
|
133
128
|
display: flex;
|
|
134
129
|
justify-content: flex-end;
|
|
135
130
|
${({
|
|
@@ -143,7 +138,6 @@ const StyledLeftButtons = _styledComponents.default.div`
|
|
|
143
138
|
margin-right: 0;
|
|
144
139
|
}
|
|
145
140
|
`;
|
|
146
|
-
exports.StyledLeftButtons = StyledLeftButtons;
|
|
147
141
|
StyledForm.defaultProps = {
|
|
148
142
|
theme: _base.default
|
|
149
143
|
};
|
|
@@ -13,5 +13,4 @@ const GridContainer = props => /*#__PURE__*/_react.default.createElement(_gridCo
|
|
|
13
13
|
"data-component": "grid"
|
|
14
14
|
}, props));
|
|
15
15
|
exports.GridContainer = GridContainer;
|
|
16
|
-
var _default = GridContainer;
|
|
17
|
-
exports.default = _default;
|
|
16
|
+
var _default = exports.default = GridContainer;
|
|
@@ -7,8 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
exports.getSpacing = getSpacing;
|
|
8
8
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
9
|
var _styledSystem = require("styled-system");
|
|
10
|
-
function _getRequireWildcardCache(
|
|
11
|
-
function _interopRequireWildcard(
|
|
10
|
+
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); }
|
|
11
|
+
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; }
|
|
12
12
|
function getSpacing(prop) {
|
|
13
13
|
if (typeof prop === "number") {
|
|
14
14
|
switch (prop) {
|
|
@@ -98,5 +98,4 @@ const StyledGridItem = _styledComponents.default.div`
|
|
|
98
98
|
`}
|
|
99
99
|
`}
|
|
100
100
|
`;
|
|
101
|
-
var _default = StyledGridItem;
|
|
102
|
-
exports.default = _default;
|
|
101
|
+
var _default = exports.default = StyledGridItem;
|
|
@@ -10,8 +10,8 @@ var _textbox = _interopRequireDefault(require("../textbox"));
|
|
|
10
10
|
var _groupedCharacter = require("./grouped-character.utils");
|
|
11
11
|
var _logger = _interopRequireDefault(require("../../__internal__/utils/logger"));
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
function _getRequireWildcardCache(
|
|
14
|
-
function _interopRequireWildcard(
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
15
|
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); }
|
|
16
16
|
const buildCustomTarget = ({
|
|
17
17
|
target
|
|
@@ -32,7 +32,7 @@ const buildCustomTarget = ({
|
|
|
32
32
|
};
|
|
33
33
|
let deprecateInputRefWarnTriggered = false;
|
|
34
34
|
let deprecateUncontrolledWarnTriggered = false;
|
|
35
|
-
const GroupedCharacter = /*#__PURE__*/_react.default.forwardRef(({
|
|
35
|
+
const GroupedCharacter = exports.GroupedCharacter = /*#__PURE__*/_react.default.forwardRef(({
|
|
36
36
|
defaultValue,
|
|
37
37
|
groups,
|
|
38
38
|
onBlur,
|
|
@@ -127,7 +127,6 @@ const GroupedCharacter = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
127
127
|
ref: ref
|
|
128
128
|
}));
|
|
129
129
|
});
|
|
130
|
-
exports.GroupedCharacter = GroupedCharacter;
|
|
131
130
|
GroupedCharacter.propTypes = {
|
|
132
131
|
"about": _propTypes.default.string,
|
|
133
132
|
"accept": _propTypes.default.string,
|
|
@@ -199,7 +198,6 @@ GroupedCharacter.propTypes = {
|
|
|
199
198
|
"content": _propTypes.default.string,
|
|
200
199
|
"contentEditable": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "inherit", "true"]), _propTypes.default.bool]),
|
|
201
200
|
"contextMenu": _propTypes.default.string,
|
|
202
|
-
"crossOrigin": _propTypes.default.oneOf(["", "anonymous", "use-credentials"]),
|
|
203
201
|
"dangerouslySetInnerHTML": _propTypes.default.shape({
|
|
204
202
|
"__html": _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.string]).isRequired
|
|
205
203
|
}),
|
|
@@ -665,5 +663,4 @@ GroupedCharacter.propTypes = {
|
|
|
665
663
|
"width": _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])
|
|
666
664
|
};
|
|
667
665
|
GroupedCharacter.displayName = "GroupedCharacter";
|
|
668
|
-
var _default = GroupedCharacter;
|
|
669
|
-
exports.default = _default;
|
|
666
|
+
var _default = exports.default = GroupedCharacter;
|
|
@@ -15,23 +15,21 @@ var _hr = _interopRequireDefault(require("../hr"));
|
|
|
15
15
|
var _link = _interopRequireDefault(require("../link"));
|
|
16
16
|
var _addFocusStyling = _interopRequireDefault(require("../../style/utils/add-focus-styling"));
|
|
17
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
-
function _getRequireWildcardCache(
|
|
19
|
-
function _interopRequireWildcard(
|
|
20
|
-
const StyledHeading = _styledComponents.default.div`
|
|
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
|
+
const StyledHeading = exports.StyledHeading = _styledComponents.default.div`
|
|
21
21
|
width: 100%;
|
|
22
22
|
${_styledSystem.margin}
|
|
23
23
|
`;
|
|
24
|
-
exports.StyledHeading = StyledHeading;
|
|
25
24
|
StyledHeading.defaultProps = {
|
|
26
25
|
theme: _base.default
|
|
27
26
|
};
|
|
28
|
-
const StyledHeaderContent = _styledComponents.default.div`
|
|
27
|
+
const StyledHeaderContent = exports.StyledHeaderContent = _styledComponents.default.div`
|
|
29
28
|
display: inline-flex;
|
|
30
29
|
align-items: flex-end;
|
|
31
30
|
`;
|
|
32
|
-
exports.StyledHeaderContent = StyledHeaderContent;
|
|
33
31
|
const oldFocusStyling = "outline: 3px solid var(--colorsSemanticFocus500);";
|
|
34
|
-
const StyledHeader = _styledComponents.default.div`
|
|
32
|
+
const StyledHeader = exports.StyledHeader = _styledComponents.default.div`
|
|
35
33
|
${({
|
|
36
34
|
divider,
|
|
37
35
|
subheader,
|
|
@@ -55,8 +53,7 @@ const StyledHeader = _styledComponents.default.div`
|
|
|
55
53
|
`}
|
|
56
54
|
`}
|
|
57
55
|
`;
|
|
58
|
-
exports.
|
|
59
|
-
const StyledHeadingBackButton = (0, _styledComponents.default)(_link.default)`
|
|
56
|
+
const StyledHeadingBackButton = exports.StyledHeadingBackButton = (0, _styledComponents.default)(_link.default)`
|
|
60
57
|
margin-right: 5px;
|
|
61
58
|
margin-top: 2px;
|
|
62
59
|
|
|
@@ -85,11 +82,10 @@ const StyledHeadingBackButton = (0, _styledComponents.default)(_link.default)`
|
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
84
|
`;
|
|
88
|
-
exports.StyledHeadingBackButton = StyledHeadingBackButton;
|
|
89
85
|
StyledHeadingBackButton.defaultProps = {
|
|
90
86
|
theme: _base.default
|
|
91
87
|
};
|
|
92
|
-
const StyledHeadingTitle = (0, _styledComponents.default)(_typography.default)`
|
|
88
|
+
const StyledHeadingTitle = exports.StyledHeadingTitle = (0, _styledComponents.default)(_typography.default)`
|
|
93
89
|
line-height: 32px;
|
|
94
90
|
${({
|
|
95
91
|
withMargin
|
|
@@ -97,14 +93,12 @@ const StyledHeadingTitle = (0, _styledComponents.default)(_typography.default)`
|
|
|
97
93
|
margin-right: 16px;
|
|
98
94
|
` : null}
|
|
99
95
|
`;
|
|
100
|
-
exports.
|
|
101
|
-
const StyledHeadingPills = _styledComponents.default.span`
|
|
96
|
+
const StyledHeadingPills = exports.StyledHeadingPills = _styledComponents.default.span`
|
|
102
97
|
line-height: 32px;
|
|
103
98
|
display: inline-block;
|
|
104
99
|
vertical-align: top;
|
|
105
100
|
`;
|
|
106
|
-
exports.
|
|
107
|
-
const StyledSubHeader = _styledComponents.default.div`
|
|
101
|
+
const StyledSubHeader = exports.StyledSubHeader = _styledComponents.default.div`
|
|
108
102
|
margin-top: 5px;
|
|
109
103
|
grid-row: 2;
|
|
110
104
|
|
|
@@ -121,8 +115,7 @@ const StyledSubHeader = _styledComponents.default.div`
|
|
|
121
115
|
margin-top: 0px;
|
|
122
116
|
`}
|
|
123
117
|
`;
|
|
124
|
-
exports.
|
|
125
|
-
const StyledHeadingIcon = (0, _styledComponents.default)(_icon.default)`
|
|
118
|
+
const StyledHeadingIcon = exports.StyledHeadingIcon = (0, _styledComponents.default)(_icon.default)`
|
|
126
119
|
height: 30px;
|
|
127
120
|
|
|
128
121
|
&:before,
|
|
@@ -130,24 +123,20 @@ const StyledHeadingIcon = (0, _styledComponents.default)(_icon.default)`
|
|
|
130
123
|
font-size: 24px;
|
|
131
124
|
}
|
|
132
125
|
`;
|
|
133
|
-
exports.
|
|
134
|
-
const StyledSeparator = _styledComponents.default.hr`
|
|
126
|
+
const StyledSeparator = exports.StyledSeparator = _styledComponents.default.hr`
|
|
135
127
|
border-top: 2px solid var(--colorsUtilityMajor100);
|
|
136
128
|
margin: 10px 0 8px;
|
|
137
129
|
text-align: left;
|
|
138
130
|
width: 50px;
|
|
139
131
|
`;
|
|
140
|
-
exports.
|
|
141
|
-
const StyledDivider = (0, _styledComponents.default)(_hr.default)`
|
|
132
|
+
const StyledDivider = exports.StyledDivider = (0, _styledComponents.default)(_hr.default)`
|
|
142
133
|
margin: 15px 0 20px;
|
|
143
134
|
`;
|
|
144
|
-
exports.
|
|
145
|
-
const StyledHeaderHelp = (0, _styledComponents.default)(_help.default)`
|
|
135
|
+
const StyledHeaderHelp = exports.StyledHeaderHelp = (0, _styledComponents.default)(_help.default)`
|
|
146
136
|
display: inline-block;
|
|
147
137
|
margin-left: -6px;
|
|
148
138
|
margin-right: 16px;
|
|
149
139
|
position: relative;
|
|
150
140
|
top: -4px;
|
|
151
141
|
height: 22px;
|
|
152
|
-
`;
|
|
153
|
-
exports.StyledHeaderHelp = StyledHeaderHelp;
|
|
142
|
+
`;
|
|
@@ -14,8 +14,8 @@ var _tooltipProvider = require("../../__internal__/tooltip-provider");
|
|
|
14
14
|
var _utils = require("../../style/utils");
|
|
15
15
|
var _guid = _interopRequireDefault(require("../../__internal__/utils/helpers/guid"));
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
17
|
+
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); }
|
|
18
|
+
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; }
|
|
19
19
|
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); }
|
|
20
20
|
const Help = ({
|
|
21
21
|
as,
|
|
@@ -265,5 +265,4 @@ Help.propTypes = {
|
|
|
265
265
|
"type": _propTypes.default.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"])
|
|
266
266
|
};
|
|
267
267
|
Help.displayName = "Help";
|
|
268
|
-
var _default = Help;
|
|
269
|
-
exports.default = _default;
|
|
268
|
+
var _default = exports.default = Help;
|
|
@@ -5,5 +5,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.HELP_POSITIONS = void 0;
|
|
7
7
|
// eslint-disable-next-line import/prefer-default-export
|
|
8
|
-
const HELP_POSITIONS = ["bottom", "left", "right", "top"];
|
|
9
|
-
exports.HELP_POSITIONS = HELP_POSITIONS;
|
|
8
|
+
const HELP_POSITIONS = exports.HELP_POSITIONS = ["bottom", "left", "right", "top"];
|
|
@@ -10,8 +10,8 @@ var _base = _interopRequireDefault(require("../../style/themes/base"));
|
|
|
10
10
|
var _icon = _interopRequireDefault(require("../icon/icon.style"));
|
|
11
11
|
var _addFocusStyling = _interopRequireDefault(require("../../style/utils/add-focus-styling"));
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
function _getRequireWildcardCache(
|
|
14
|
-
function _interopRequireWildcard(
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
15
|
const oldFocusStyling = `
|
|
16
16
|
outline: solid 2px var(--colorsSemanticFocus500);
|
|
17
17
|
`;
|
|
@@ -56,5 +56,4 @@ const StyledHelp = _styledComponents.default.div`
|
|
|
56
56
|
StyledHelp.defaultProps = {
|
|
57
57
|
theme: _base.default
|
|
58
58
|
};
|
|
59
|
-
var _default = StyledHelp;
|
|
60
|
-
exports.default = _default;
|
|
59
|
+
var _default = exports.default = StyledHelp;
|