carbon-react 162.25.0 → 163.0.1
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__/character-count/character-count.style.js +1 -1
- package/esm/__internal__/checkable-input/checkable-input.style.js +1 -1
- package/esm/__internal__/checkable-input/hidden-checkable-input.style.js +1 -1
- package/esm/__internal__/error-border/error-border.style.js +1 -1
- package/esm/__internal__/field-help/field-help.style.js +1 -1
- package/esm/__internal__/fieldset/__next__/fieldset.style.js +1 -1
- package/esm/__internal__/fieldset/fieldset.style.js +1 -1
- package/esm/__internal__/form-field/form-field.style.js +1 -1
- package/esm/__internal__/full-screen-heading/full-screen-heading.style.js +1 -1
- package/esm/__internal__/hint-text/hint-text.style.js +1 -1
- package/esm/__internal__/input/input.style.js +1 -1
- package/esm/__internal__/input-icon-toggle/input-icon-toggle.style.js +1 -1
- package/esm/__internal__/label/label.style.js +1 -1
- package/esm/__internal__/legacy-error-border/error-border.style.js +1 -1
- package/esm/__internal__/legacy-hint-text/hint-text.style.js +1 -1
- package/esm/__internal__/legacy-input/input-presentation.style.js +1 -1
- package/esm/__internal__/legacy-input/input.style.js +1 -1
- package/esm/__internal__/legacy-label/icon-wrapper.style.js +1 -1
- package/esm/__internal__/legacy-label/label.style.js +1 -1
- package/esm/__internal__/modal/modal.style.js +1 -1
- package/esm/__internal__/popover/popover.style.js +1 -1
- package/esm/__internal__/popover-menu/hooks/useHandleDropdownMenuKeyDown.js +1 -1
- package/esm/__internal__/popover-menu/menu-item/menu-item-content/menu-item-label.component.js +1 -1
- package/esm/__internal__/popover-menu/menu-item/menu-item-content/menu-item-leading.component.js +1 -1
- package/esm/__internal__/popover-menu/menu-item/menu-item-content/menu-item-subtext.component.js +1 -1
- package/esm/__internal__/popover-menu/menu-item/menu-item-divider/menu-item-divider.component.js +1 -1
- package/esm/__internal__/popover-menu/menu-item/menu-item-heading/menu-item-heading.component.js +1 -1
- package/esm/__internal__/popover-menu/menu-item/menu-item.component.js +1 -1
- package/esm/__internal__/popover-menu/popover-menu.component.d.ts +4 -0
- package/esm/__internal__/popover-menu/popover-menu.component.js +1 -1
- package/esm/__internal__/validation-message/__next__/validation-message.style.js +1 -1
- package/esm/__internal__/validation-message/validation-message.style.js +1 -1
- package/esm/__internal__/validations/validation-icon.style.js +1 -1
- package/esm/components/accordion/accordion.style.js +1 -1
- package/esm/components/action-popover/action-popover-item/action-popover-item.component.js +1 -1
- package/esm/components/action-popover/action-popover.component.js +1 -1
- package/esm/components/action-popover/action-popover.style.d.ts +1 -0
- package/esm/components/action-popover/action-popover.style.js +1 -1
- package/esm/components/adaptive-sidebar/adaptive-sidebar.style.js +1 -1
- package/esm/components/advanced-color-picker/advanced-color-picker-cell.style.js +1 -1
- package/esm/components/advanced-color-picker/advanced-color-picker.style.js +1 -1
- package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +1 -1
- package/esm/components/anchor-navigation/anchor-navigation.style.js +1 -1
- package/esm/components/anchor-navigation/anchor-section-divider.component.js +1 -1
- package/esm/components/badge/badge.style.js +1 -1
- package/esm/components/batch-selection/batch-selection.style.js +1 -1
- package/esm/components/box/box.style.js +1 -1
- package/esm/components/breadcrumbs/breadcrumbs.style.js +1 -1
- package/esm/components/breadcrumbs/crumb/crumb.style.js +1 -1
- package/esm/components/button/__next__/button.style.js +1 -1
- package/esm/components/button/button.style.js +1 -1
- package/esm/components/button-bar/button-bar.style.js +1 -1
- package/esm/components/button-minor/button-minor.style.js +1 -1
- package/esm/components/button-toggle/button-toggle-group/button-toggle-group.style.js +1 -1
- package/esm/components/button-toggle/button-toggle.style.js +1 -1
- package/esm/components/card/card-column/card-column.style.js +1 -1
- package/esm/components/card/card-footer/card-footer.style.js +1 -1
- package/esm/components/card/card-row/card-row.style.js +1 -1
- package/esm/components/card/card.style.js +1 -1
- package/esm/components/checkbox/checkbox-group/checkbox-group.style.js +1 -1
- package/esm/components/checkbox/checkbox.style.js +1 -1
- package/esm/components/confirm/confirm.style.js +1 -1
- package/esm/components/content/content.style.js +1 -1
- package/esm/components/date/__internal__/calendar/calendar-close-button.style.js +1 -1
- package/esm/components/date/__internal__/calendar/calendar-navigation.style.js +1 -1
- package/esm/components/date/__internal__/calendar/calendar-select/calendar-select.style.js +1 -1
- package/esm/components/date/__internal__/calendar/calendar-weekday.style.js +1 -1
- package/esm/components/date/__internal__/date-picker/date-picker.style.js +1 -1
- package/esm/components/date/__internal__/date-picker-trigger/date-picker-trigger.style.js +1 -1
- package/esm/components/date/date.style.js +1 -1
- package/esm/components/date-range/date-range.style.js +1 -1
- package/esm/components/decimal/__internal__/decimal-popover-button.style.js +1 -1
- package/esm/components/decimal/decimal.style.js +1 -1
- package/esm/components/definition-list/definition-list.style.js +1 -1
- package/esm/components/detail/detail.style.js +1 -1
- package/esm/components/dialog/__internal__/__next__/dialog.style.js +1 -1
- package/esm/components/dismissible-box/dismissible-box.style.js +1 -1
- package/esm/components/divider/divider.style.js +1 -1
- package/esm/components/draggable/draggable-item/draggable-item.style.js +1 -1
- package/esm/components/drawer/drawer.style.js +1 -1
- package/esm/components/duelling-picklist/duelling-picklist.style.js +1 -1
- package/esm/components/duelling-picklist/picklist/picklist.style.js +1 -1
- package/esm/components/duelling-picklist/picklist-divider/picklist-divider.style.js +1 -1
- package/esm/components/duelling-picklist/picklist-group/picklist-group.style.js +1 -1
- package/esm/components/duelling-picklist/picklist-item/picklist-item.style.js +1 -1
- package/esm/components/fieldset/fieldset.style.js +1 -1
- package/esm/components/file-input/__internal__/file-input-validation/file-input-validation.component.d.ts +8 -0
- package/esm/components/file-input/__internal__/file-input-validation/file-input-validation.component.js +1 -0
- package/esm/components/file-input/__internal__/file-input-validation/index.d.ts +1 -0
- package/esm/components/file-input/__internal__/file-input-validation/index.js +1 -0
- package/esm/components/file-input/__internal__/file-input.types.d.ts +5 -0
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +110 -28
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +1 -1
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.style.d.ts +30 -11
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.style.js +1 -1
- package/esm/components/file-input/__internal__/file-upload-status/thumbnail-content.component.d.ts +24 -0
- package/esm/components/file-input/__internal__/file-upload-status/thumbnail-content.component.js +1 -0
- package/esm/components/file-input/__internal__/file-upload-status-list/file-upload-status-list.component.d.ts +17 -0
- package/esm/components/file-input/__internal__/file-upload-status-list/file-upload-status-list.component.js +1 -0
- package/esm/components/file-input/__internal__/file-upload-status-list/index.d.ts +1 -0
- package/esm/components/file-input/__internal__/file-upload-status-list/index.js +1 -0
- package/esm/components/file-input/__internal__/hooks/useFileDropZone.d.ts +20 -0
- package/esm/components/file-input/__internal__/hooks/useFileDropZone.js +1 -0
- package/esm/components/file-input/__internal__/hooks/useMoveFocusAfterFileRemoval.d.ts +19 -0
- package/esm/components/file-input/__internal__/hooks/useMoveFocusAfterFileRemoval.js +1 -0
- package/esm/components/file-input/__internal__/hooks/useMoveFocusAfterFileSelection.d.ts +19 -0
- package/esm/components/file-input/__internal__/hooks/useMoveFocusAfterFileSelection.js +1 -0
- package/esm/components/file-input/__internal__/hooks/useStatusAnnouncement.d.ts +11 -0
- package/esm/components/file-input/__internal__/hooks/useStatusAnnouncement.js +1 -0
- package/esm/components/file-input/__internal__/hooks/useUploadCompletionAnnouncement.d.ts +11 -0
- package/esm/components/file-input/__internal__/hooks/useUploadCompletionAnnouncement.js +1 -0
- package/esm/components/file-input/__internal__/utils/focus-next-action.d.ts +18 -0
- package/esm/components/file-input/__internal__/utils/focus-next-action.js +1 -0
- package/esm/components/file-input/__internal__/utils/split-statuses.d.ts +12 -0
- package/esm/components/file-input/__internal__/utils/split-statuses.js +1 -0
- package/esm/components/file-input/file-input.component.d.ts +83 -22
- package/esm/components/file-input/file-input.component.js +1 -1
- package/esm/components/file-input/file-input.style.d.ts +47 -15
- package/esm/components/file-input/file-input.style.js +1 -1
- package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.style.js +1 -1
- package/esm/components/flat-table/flat-table-cell/flat-table-cell.style.js +1 -1
- package/esm/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +1 -1
- package/esm/components/flat-table/flat-table-head/flat-table-head.style.js +1 -1
- package/esm/components/flat-table/flat-table-header/flat-table-header.style.js +1 -1
- package/esm/components/flat-table/flat-table-row/flat-table-row.style.js +1 -1
- package/esm/components/flat-table/flat-table-row-header/flat-table-row-header.style.js +1 -1
- package/esm/components/flat-table/flat-table.style.js +1 -1
- package/esm/components/flat-table/sort/sort.style.js +1 -1
- package/esm/components/form/__internal__/form-summary.style.js +1 -1
- package/esm/components/form/form.style.js +1 -1
- package/esm/components/form/required-fields-indicator/required-fields-indicator.component.js +1 -1
- package/esm/components/global-header/global-header.component.js +1 -1
- package/esm/components/grid/grid-container/grid-container.style.js +1 -1
- package/esm/components/grid/grid-item/grid-item.style.js +1 -1
- package/esm/components/heading/heading.style.js +1 -1
- package/esm/components/help/help.style.js +1 -1
- package/esm/components/hr/hr.style.js +1 -1
- package/esm/components/icon/icon.style.js +1 -1
- package/esm/components/icon-button/icon-button.style.js +1 -1
- package/esm/components/image/image.style.js +1 -1
- package/esm/components/inline-inputs/inline-inputs.style.js +1 -1
- package/esm/components/link/link.style.js +1 -1
- package/esm/components/link-preview/__internal__/placeholder.component.js +1 -1
- package/esm/components/link-preview/link-preview.style.js +1 -1
- package/esm/components/loader/__next__/internal/star.style.js +1 -1
- package/esm/components/loader/__next__/loader.style.js +1 -1
- package/esm/components/loader/loader-square.style.js +1 -1
- package/esm/components/loader/loader.style.js +1 -1
- package/esm/components/loader-bar/loader-bar.style.js +1 -1
- package/esm/components/loader-spinner/loader-spinner.style.js +1 -1
- package/esm/components/loader-star/internal/star.style.js +1 -1
- package/esm/components/loader-star/loader-star.style.js +1 -1
- package/esm/components/menu/__internal__/submenu/submenu.style.js +1 -1
- package/esm/components/menu/menu-divider/menu-divider.style.js +1 -1
- package/esm/components/menu/menu-full-screen/menu-full-screen.style.js +1 -1
- package/esm/components/menu/menu-item/menu-item.style.js +1 -1
- package/esm/components/menu/menu-segment-title/menu-segment-title.style.js +1 -1
- package/esm/components/menu/menu.style.js +1 -1
- package/esm/components/menu/scrollable-block/scrollable-block.style.js +1 -1
- package/esm/components/message/message.style.js +1 -1
- package/esm/components/multi-action-button/multi-action-button.component.js +1 -1
- package/esm/components/multi-action-button/multi-action-button.style.js +1 -1
- package/esm/components/navigation-bar/navigation-bar.style.js +1 -1
- package/esm/components/note/note.style.js +1 -1
- package/esm/components/numeral-date/numeral-date.style.js +1 -1
- package/esm/components/option-tile/option-tile.style.js +1 -1
- package/esm/components/pager/__internal__/pagination-navigation.style.js +1 -1
- package/esm/components/pager/pager.style.js +1 -1
- package/esm/components/pages/page/page.style.js +1 -1
- package/esm/components/pages/pages.style.js +1 -1
- package/esm/components/password/password.style.js +1 -1
- package/esm/components/pill/pill.style.js +1 -1
- package/esm/components/pod/pod.style.js +1 -1
- package/esm/components/popover-container/popover-container.style.js +1 -1
- package/esm/components/portal/portal.js +1 -1
- package/esm/components/portal/portal.style.js +1 -1
- package/esm/components/portrait/portrait.style.js +1 -1
- package/esm/components/preview/preview.style.js +1 -1
- package/esm/components/profile/profile.style.js +1 -1
- package/esm/components/progress-tracker/progress-tracker.style.js +1 -1
- package/esm/components/radio-button/radio-button-group/radio-button-group.style.js +1 -1
- package/esm/components/radio-button/radio-button.style.js +1 -1
- package/esm/components/search/__internal__/results-announcement.component.js +1 -1
- package/esm/components/search/search.component.js +1 -1
- package/esm/components/select/__internal__/list-action-button/list-action-button.style.js +1 -1
- package/esm/components/select/__internal__/select-list/select-list.style.js +1 -1
- package/esm/components/select/__internal__/select-textbox/select-textbox.style.js +1 -1
- package/esm/components/select/__internal__/utils/matching-text.style.js +1 -1
- package/esm/components/select/multi-select/multi-select.style.js +1 -1
- package/esm/components/select/option/option.style.js +1 -1
- package/esm/components/select/option-group-header/option-group-header.style.js +1 -1
- package/esm/components/select/option-row/option-row.style.js +1 -1
- package/esm/components/select/select.style.js +1 -1
- package/esm/components/settings-row/settings-row.style.js +1 -1
- package/esm/components/sidebar/__internal__/sidebar-content/sidebar-content.style.js +1 -1
- package/esm/components/sidebar/__internal__/sidebar-footer/sidebar-footer.style.js +1 -1
- package/esm/components/sidebar/__internal__/sidebar-header/sidebar-header.style.js +1 -1
- package/esm/components/sidebar/sidebar.style.js +1 -1
- package/esm/components/simple-color-picker/simple-color/simple-color.style.js +1 -1
- package/esm/components/simple-color-picker/simple-color-picker.style.js +1 -1
- package/esm/components/split-button/split-button-toggle.style.js +1 -1
- package/esm/components/split-button/split-button.component.js +1 -1
- package/esm/components/split-button/split-button.style.js +1 -1
- package/esm/components/step-flow/step-flow.style.js +1 -1
- package/esm/components/step-sequence/step-sequence-item/step-sequence-item.style.js +1 -1
- package/esm/components/step-sequence/step-sequence.style.js +1 -1
- package/esm/components/switch/switch.style.js +1 -1
- package/esm/components/table/table-body/table-body.component.js +1 -1
- package/esm/components/table/table-cell/table-cell.style.js +1 -1
- package/esm/components/table/table-foot/table-foot.component.js +1 -1
- package/esm/components/table/table-head/table-head.component.js +1 -1
- package/esm/components/table/table-header/__internal__/sort/sort.style.js +1 -1
- package/esm/components/table/table-header/table-header.style.js +1 -1
- package/esm/components/table/table-row/table-row.style.js +1 -1
- package/esm/components/table/table.style.js +1 -1
- package/esm/components/tabs/__next__/tabs.style.js +1 -1
- package/esm/components/text-editor/__internal__/__ui__/CharacterCounter/character-counter.style.js +1 -1
- package/esm/components/text-editor/__internal__/__ui__/ContentEditor/content-editor.style.js +1 -1
- package/esm/components/text-editor/__internal__/__ui__/Mentions/mentions.style.js +1 -1
- package/esm/components/text-editor/__internal__/__ui__/Placeholder/placeholder.style.js +1 -1
- package/esm/components/text-editor/__internal__/__ui__/Toolbar/button-group/button-group.style.js +1 -1
- package/esm/components/text-editor/__internal__/__ui__/Toolbar/buttons/typography-dropdown/dropdown.style.js +1 -1
- package/esm/components/text-editor/__internal__/__ui__/Toolbar/toolbar.style.js +1 -1
- package/esm/components/text-editor/text-editor.style.js +1 -1
- package/esm/components/textarea/textarea.style.js +1 -1
- package/esm/components/textbox/__internal__/__next__/text-input.style.js +1 -1
- package/esm/components/tile/tile-footer/tile-footer.style.js +1 -1
- package/esm/components/tile/tile.style.js +1 -1
- package/esm/components/tile-select/__internal__/accordion/accordion.style.js +1 -1
- package/esm/components/tile-select/tile-select.style.js +1 -1
- package/esm/components/time/time.style.js +1 -1
- package/esm/components/toast/toast.style.js +1 -1
- package/esm/components/tokens-wrapper/tokens-wrapper.component.js +1 -1
- package/esm/components/tooltip/tooltip-pointer.style.js +1 -1
- package/esm/components/tooltip/tooltip.style.js +1 -1
- package/esm/components/typography/__internal__/__next__/typography.style.js +1 -1
- package/esm/components/typography/typography.style.js +1 -1
- package/esm/components/vertical-divider/vertical-divider.style.js +1 -1
- package/esm/components/vertical-menu/responsive-vertical-menu/responsive-vertical-menu-divider/responsive-vertical-menu-divider.style.js +1 -1
- package/esm/components/vertical-menu/responsive-vertical-menu/responsive-vertical-menu-item/responsive-vertical-menu-item.style.js +1 -1
- package/esm/components/vertical-menu/responsive-vertical-menu/responsive-vertical-menu.style.js +1 -1
- package/esm/components/vertical-menu/vertical-menu.style.js +1 -1
- package/esm/hooks/__internal__/useFocusPortalContent/useFocusPortalContent.d.ts +1 -1
- package/esm/hooks/__internal__/useFocusPortalContent/useFocusPortalContent.js +1 -1
- package/esm/hooks/__internal__/useIsFileDraggedOverDocument/index.d.ts +1 -0
- package/esm/hooks/__internal__/useIsFileDraggedOverDocument/index.js +1 -0
- package/esm/hooks/__internal__/useIsFileDraggedOverDocument/useIsFileDraggedOverDocument.d.ts +10 -0
- package/esm/hooks/__internal__/useIsFileDraggedOverDocument/useIsFileDraggedOverDocument.js +1 -0
- package/esm/locales/de-de.js +1 -1
- package/esm/locales/en-gb.js +1 -1
- package/esm/locales/es-es.js +1 -1
- package/esm/locales/fr-ca.js +1 -1
- package/esm/locales/fr-fr.js +1 -1
- package/esm/locales/locale.d.ts +38 -4
- package/esm/locales/pt-pt.js +1 -1
- package/esm/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.js +1 -1
- package/lib/__internal__/character-count/character-count.style.js +1 -1
- package/lib/__internal__/checkable-input/checkable-input.style.js +1 -1
- package/lib/__internal__/checkable-input/hidden-checkable-input.style.js +1 -1
- package/lib/__internal__/error-border/error-border.style.js +1 -1
- package/lib/__internal__/field-help/field-help.style.js +1 -1
- package/lib/__internal__/fieldset/__next__/fieldset.style.js +1 -1
- package/lib/__internal__/fieldset/fieldset.style.js +1 -1
- package/lib/__internal__/form-field/form-field.style.js +1 -1
- package/lib/__internal__/full-screen-heading/full-screen-heading.style.js +1 -1
- package/lib/__internal__/hint-text/hint-text.style.js +1 -1
- package/lib/__internal__/input/input.style.js +1 -1
- package/lib/__internal__/input-icon-toggle/input-icon-toggle.style.js +1 -1
- package/lib/__internal__/label/label.style.js +1 -1
- package/lib/__internal__/legacy-error-border/error-border.style.js +1 -1
- package/lib/__internal__/legacy-hint-text/hint-text.style.js +1 -1
- package/lib/__internal__/legacy-input/input-presentation.style.js +1 -1
- package/lib/__internal__/legacy-input/input.style.js +1 -1
- package/lib/__internal__/legacy-label/icon-wrapper.style.js +1 -1
- package/lib/__internal__/legacy-label/label.style.js +1 -1
- package/lib/__internal__/modal/modal.style.js +1 -1
- package/lib/__internal__/popover/popover.style.js +1 -1
- package/lib/__internal__/popover-menu/hooks/useHandleDropdownMenuKeyDown.js +1 -1
- package/lib/__internal__/popover-menu/menu-item/menu-item-content/menu-item-label.component.js +1 -1
- package/lib/__internal__/popover-menu/menu-item/menu-item-content/menu-item-leading.component.js +1 -1
- package/lib/__internal__/popover-menu/menu-item/menu-item-content/menu-item-subtext.component.js +1 -1
- package/lib/__internal__/popover-menu/menu-item/menu-item-divider/menu-item-divider.component.js +1 -1
- package/lib/__internal__/popover-menu/menu-item/menu-item-heading/menu-item-heading.component.js +1 -1
- package/lib/__internal__/popover-menu/menu-item/menu-item.component.js +1 -1
- package/lib/__internal__/popover-menu/popover-menu.component.d.ts +4 -0
- package/lib/__internal__/popover-menu/popover-menu.component.js +1 -1
- package/lib/__internal__/validation-message/__next__/validation-message.style.js +1 -1
- package/lib/__internal__/validation-message/validation-message.style.js +1 -1
- package/lib/__internal__/validations/validation-icon.style.js +1 -1
- package/lib/components/accordion/accordion.style.js +1 -1
- package/lib/components/action-popover/action-popover-item/action-popover-item.component.js +1 -1
- package/lib/components/action-popover/action-popover.component.js +1 -1
- package/lib/components/action-popover/action-popover.style.d.ts +1 -0
- package/lib/components/action-popover/action-popover.style.js +1 -1
- package/lib/components/adaptive-sidebar/adaptive-sidebar.style.js +1 -1
- package/lib/components/advanced-color-picker/advanced-color-picker-cell.style.js +1 -1
- package/lib/components/advanced-color-picker/advanced-color-picker.style.js +1 -1
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +1 -1
- package/lib/components/anchor-navigation/anchor-navigation.style.js +1 -1
- package/lib/components/anchor-navigation/anchor-section-divider.component.js +1 -1
- package/lib/components/badge/badge.style.js +1 -1
- package/lib/components/batch-selection/batch-selection.style.js +1 -1
- package/lib/components/box/box.style.js +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.style.js +1 -1
- package/lib/components/breadcrumbs/crumb/crumb.style.js +1 -1
- package/lib/components/button/__next__/button.style.js +1 -1
- package/lib/components/button/button.style.js +1 -1
- package/lib/components/button-bar/button-bar.style.js +1 -1
- package/lib/components/button-minor/button-minor.style.js +1 -1
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.style.js +1 -1
- package/lib/components/button-toggle/button-toggle.style.js +1 -1
- package/lib/components/card/card-column/card-column.style.js +1 -1
- package/lib/components/card/card-footer/card-footer.style.js +1 -1
- package/lib/components/card/card-row/card-row.style.js +1 -1
- package/lib/components/card/card.style.js +1 -1
- package/lib/components/checkbox/checkbox-group/checkbox-group.style.js +1 -1
- package/lib/components/checkbox/checkbox.style.js +1 -1
- package/lib/components/confirm/confirm.style.js +1 -1
- package/lib/components/content/content.style.js +1 -1
- package/lib/components/date/__internal__/calendar/calendar-close-button.style.js +1 -1
- package/lib/components/date/__internal__/calendar/calendar-navigation.style.js +1 -1
- package/lib/components/date/__internal__/calendar/calendar-select/calendar-select.style.js +1 -1
- package/lib/components/date/__internal__/calendar/calendar-weekday.style.js +1 -1
- package/lib/components/date/__internal__/date-picker/date-picker.style.js +1 -1
- package/lib/components/date/__internal__/date-picker-trigger/date-picker-trigger.style.js +1 -1
- package/lib/components/date/date.style.js +1 -1
- package/lib/components/date-range/date-range.style.js +1 -1
- package/lib/components/decimal/__internal__/decimal-popover-button.style.js +1 -1
- package/lib/components/decimal/decimal.style.js +1 -1
- package/lib/components/definition-list/definition-list.style.js +1 -1
- package/lib/components/detail/detail.style.js +1 -1
- package/lib/components/dialog/__internal__/__next__/dialog.style.js +1 -1
- package/lib/components/dismissible-box/dismissible-box.style.js +1 -1
- package/lib/components/divider/divider.style.js +1 -1
- package/lib/components/draggable/draggable-item/draggable-item.style.js +1 -1
- package/lib/components/drawer/drawer.style.js +1 -1
- package/lib/components/duelling-picklist/duelling-picklist.style.js +1 -1
- package/lib/components/duelling-picklist/picklist/picklist.style.js +1 -1
- package/lib/components/duelling-picklist/picklist-divider/picklist-divider.style.js +1 -1
- package/lib/components/duelling-picklist/picklist-group/picklist-group.style.js +1 -1
- package/lib/components/duelling-picklist/picklist-item/picklist-item.style.js +1 -1
- package/lib/components/fieldset/fieldset.style.js +1 -1
- package/lib/components/file-input/__internal__/file-input-validation/file-input-validation.component.d.ts +8 -0
- package/lib/components/file-input/__internal__/file-input-validation/file-input-validation.component.js +1 -0
- package/lib/components/file-input/__internal__/file-input-validation/index.d.ts +1 -0
- package/lib/components/file-input/__internal__/file-input-validation/index.js +1 -0
- package/lib/components/file-input/__internal__/file-input-validation/package.json +5 -0
- package/lib/components/file-input/__internal__/file-input.types.d.ts +5 -0
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +110 -28
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.js +1 -1
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.style.d.ts +30 -11
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.style.js +1 -1
- package/lib/components/file-input/__internal__/file-upload-status/thumbnail-content.component.d.ts +24 -0
- package/lib/components/file-input/__internal__/file-upload-status/thumbnail-content.component.js +1 -0
- package/lib/components/file-input/__internal__/file-upload-status-list/file-upload-status-list.component.d.ts +17 -0
- package/lib/components/file-input/__internal__/file-upload-status-list/file-upload-status-list.component.js +1 -0
- package/lib/components/file-input/__internal__/file-upload-status-list/index.d.ts +1 -0
- package/lib/components/file-input/__internal__/file-upload-status-list/index.js +1 -0
- package/lib/components/file-input/__internal__/file-upload-status-list/package.json +5 -0
- package/lib/components/file-input/__internal__/hooks/useFileDropZone.d.ts +20 -0
- package/lib/components/file-input/__internal__/hooks/useFileDropZone.js +1 -0
- package/lib/components/file-input/__internal__/hooks/useMoveFocusAfterFileRemoval.d.ts +19 -0
- package/lib/components/file-input/__internal__/hooks/useMoveFocusAfterFileRemoval.js +1 -0
- package/lib/components/file-input/__internal__/hooks/useMoveFocusAfterFileSelection.d.ts +19 -0
- package/lib/components/file-input/__internal__/hooks/useMoveFocusAfterFileSelection.js +1 -0
- package/lib/components/file-input/__internal__/hooks/useStatusAnnouncement.d.ts +11 -0
- package/lib/components/file-input/__internal__/hooks/useStatusAnnouncement.js +1 -0
- package/lib/components/file-input/__internal__/hooks/useUploadCompletionAnnouncement.d.ts +11 -0
- package/lib/components/file-input/__internal__/hooks/useUploadCompletionAnnouncement.js +1 -0
- package/lib/components/file-input/__internal__/utils/focus-next-action.d.ts +18 -0
- package/lib/components/file-input/__internal__/utils/focus-next-action.js +1 -0
- package/lib/components/file-input/__internal__/utils/split-statuses.d.ts +12 -0
- package/lib/components/file-input/__internal__/utils/split-statuses.js +1 -0
- package/lib/components/file-input/file-input.component.d.ts +83 -22
- package/lib/components/file-input/file-input.component.js +1 -1
- package/lib/components/file-input/file-input.style.d.ts +47 -15
- package/lib/components/file-input/file-input.style.js +1 -1
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.style.js +1 -1
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.style.js +1 -1
- package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +1 -1
- package/lib/components/flat-table/flat-table-head/flat-table-head.style.js +1 -1
- package/lib/components/flat-table/flat-table-header/flat-table-header.style.js +1 -1
- package/lib/components/flat-table/flat-table-row/flat-table-row.style.js +1 -1
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.style.js +1 -1
- package/lib/components/flat-table/flat-table.style.js +1 -1
- package/lib/components/flat-table/sort/sort.style.js +1 -1
- package/lib/components/form/__internal__/form-summary.style.js +1 -1
- package/lib/components/form/form.style.js +1 -1
- package/lib/components/form/required-fields-indicator/required-fields-indicator.component.js +1 -1
- package/lib/components/global-header/global-header.component.js +1 -1
- package/lib/components/grid/grid-container/grid-container.style.js +1 -1
- package/lib/components/grid/grid-item/grid-item.style.js +1 -1
- package/lib/components/heading/heading.style.js +1 -1
- package/lib/components/help/help.style.js +1 -1
- package/lib/components/hr/hr.style.js +1 -1
- package/lib/components/icon/icon.style.js +1 -1
- package/lib/components/icon-button/icon-button.style.js +1 -1
- package/lib/components/image/image.style.js +1 -1
- package/lib/components/inline-inputs/inline-inputs.style.js +1 -1
- package/lib/components/link/link.style.js +1 -1
- package/lib/components/link-preview/__internal__/placeholder.component.js +1 -1
- package/lib/components/link-preview/link-preview.style.js +1 -1
- package/lib/components/loader/__next__/internal/star.style.js +1 -1
- package/lib/components/loader/__next__/loader.style.js +1 -1
- package/lib/components/loader/loader-square.style.js +1 -1
- package/lib/components/loader/loader.style.js +1 -1
- package/lib/components/loader-bar/loader-bar.style.js +1 -1
- package/lib/components/loader-spinner/loader-spinner.style.js +1 -1
- package/lib/components/loader-star/internal/star.style.js +1 -1
- package/lib/components/loader-star/loader-star.style.js +1 -1
- package/lib/components/menu/__internal__/submenu/submenu.style.js +1 -1
- package/lib/components/menu/menu-divider/menu-divider.style.js +1 -1
- package/lib/components/menu/menu-full-screen/menu-full-screen.style.js +1 -1
- package/lib/components/menu/menu-item/menu-item.style.js +1 -1
- package/lib/components/menu/menu-segment-title/menu-segment-title.style.js +1 -1
- package/lib/components/menu/menu.style.js +1 -1
- package/lib/components/menu/scrollable-block/scrollable-block.style.js +1 -1
- package/lib/components/message/message.style.js +1 -1
- package/lib/components/multi-action-button/multi-action-button.component.js +1 -1
- package/lib/components/multi-action-button/multi-action-button.style.js +1 -1
- package/lib/components/navigation-bar/navigation-bar.style.js +1 -1
- package/lib/components/note/note.style.js +1 -1
- package/lib/components/numeral-date/numeral-date.style.js +1 -1
- package/lib/components/option-tile/option-tile.style.js +1 -1
- package/lib/components/pager/__internal__/pagination-navigation.style.js +1 -1
- package/lib/components/pager/pager.style.js +1 -1
- package/lib/components/pages/page/page.style.js +1 -1
- package/lib/components/pages/pages.style.js +1 -1
- package/lib/components/password/password.style.js +1 -1
- package/lib/components/pill/pill.style.js +1 -1
- package/lib/components/pod/pod.style.js +1 -1
- package/lib/components/popover-container/popover-container.style.js +1 -1
- package/lib/components/portal/portal.js +1 -1
- package/lib/components/portal/portal.style.js +1 -1
- package/lib/components/portrait/portrait.style.js +1 -1
- package/lib/components/preview/preview.style.js +1 -1
- package/lib/components/profile/profile.style.js +1 -1
- package/lib/components/progress-tracker/progress-tracker.style.js +1 -1
- package/lib/components/radio-button/radio-button-group/radio-button-group.style.js +1 -1
- package/lib/components/radio-button/radio-button.style.js +1 -1
- package/lib/components/search/__internal__/results-announcement.component.js +1 -1
- package/lib/components/search/search.component.js +1 -1
- package/lib/components/select/__internal__/list-action-button/list-action-button.style.js +1 -1
- package/lib/components/select/__internal__/select-list/select-list.style.js +1 -1
- package/lib/components/select/__internal__/select-textbox/select-textbox.style.js +1 -1
- package/lib/components/select/__internal__/utils/matching-text.style.js +1 -1
- package/lib/components/select/multi-select/multi-select.style.js +1 -1
- package/lib/components/select/option/option.style.js +1 -1
- package/lib/components/select/option-group-header/option-group-header.style.js +1 -1
- package/lib/components/select/option-row/option-row.style.js +1 -1
- package/lib/components/select/select.style.js +1 -1
- package/lib/components/settings-row/settings-row.style.js +1 -1
- package/lib/components/sidebar/__internal__/sidebar-content/sidebar-content.style.js +1 -1
- package/lib/components/sidebar/__internal__/sidebar-footer/sidebar-footer.style.js +1 -1
- package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.style.js +1 -1
- package/lib/components/sidebar/sidebar.style.js +1 -1
- package/lib/components/simple-color-picker/simple-color/simple-color.style.js +1 -1
- package/lib/components/simple-color-picker/simple-color-picker.style.js +1 -1
- package/lib/components/split-button/split-button-toggle.style.js +1 -1
- package/lib/components/split-button/split-button.component.js +1 -1
- package/lib/components/split-button/split-button.style.js +1 -1
- package/lib/components/step-flow/step-flow.style.js +1 -1
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.style.js +1 -1
- package/lib/components/step-sequence/step-sequence.style.js +1 -1
- package/lib/components/switch/switch.style.js +1 -1
- package/lib/components/table/table-body/table-body.component.js +1 -1
- package/lib/components/table/table-cell/table-cell.style.js +1 -1
- package/lib/components/table/table-foot/table-foot.component.js +1 -1
- package/lib/components/table/table-head/table-head.component.js +1 -1
- package/lib/components/table/table-header/__internal__/sort/sort.style.js +1 -1
- package/lib/components/table/table-header/table-header.style.js +1 -1
- package/lib/components/table/table-row/table-row.style.js +1 -1
- package/lib/components/table/table.style.js +1 -1
- package/lib/components/tabs/__next__/tabs.style.js +1 -1
- package/lib/components/text-editor/__internal__/__ui__/CharacterCounter/character-counter.style.js +1 -1
- package/lib/components/text-editor/__internal__/__ui__/ContentEditor/content-editor.style.js +1 -1
- package/lib/components/text-editor/__internal__/__ui__/Mentions/mentions.style.js +1 -1
- package/lib/components/text-editor/__internal__/__ui__/Placeholder/placeholder.style.js +1 -1
- package/lib/components/text-editor/__internal__/__ui__/Toolbar/button-group/button-group.style.js +1 -1
- package/lib/components/text-editor/__internal__/__ui__/Toolbar/buttons/typography-dropdown/dropdown.style.js +1 -1
- package/lib/components/text-editor/__internal__/__ui__/Toolbar/toolbar.style.js +1 -1
- package/lib/components/text-editor/text-editor.style.js +1 -1
- package/lib/components/textarea/textarea.style.js +1 -1
- package/lib/components/textbox/__internal__/__next__/text-input.style.js +1 -1
- package/lib/components/tile/tile-footer/tile-footer.style.js +1 -1
- package/lib/components/tile/tile.style.js +1 -1
- package/lib/components/tile-select/__internal__/accordion/accordion.style.js +1 -1
- package/lib/components/tile-select/tile-select.style.js +1 -1
- package/lib/components/time/time.style.js +1 -1
- package/lib/components/toast/toast.style.js +1 -1
- package/lib/components/tokens-wrapper/tokens-wrapper.component.js +1 -1
- package/lib/components/tooltip/tooltip-pointer.style.js +1 -1
- package/lib/components/tooltip/tooltip.style.js +1 -1
- package/lib/components/typography/__internal__/__next__/typography.style.js +1 -1
- package/lib/components/typography/typography.style.js +1 -1
- package/lib/components/vertical-divider/vertical-divider.style.js +1 -1
- package/lib/components/vertical-menu/responsive-vertical-menu/responsive-vertical-menu-divider/responsive-vertical-menu-divider.style.js +1 -1
- package/lib/components/vertical-menu/responsive-vertical-menu/responsive-vertical-menu-item/responsive-vertical-menu-item.style.js +1 -1
- package/lib/components/vertical-menu/responsive-vertical-menu/responsive-vertical-menu.style.js +1 -1
- package/lib/components/vertical-menu/vertical-menu.style.js +1 -1
- package/lib/hooks/__internal__/useFocusPortalContent/useFocusPortalContent.d.ts +1 -1
- package/lib/hooks/__internal__/useFocusPortalContent/useFocusPortalContent.js +1 -1
- package/lib/hooks/__internal__/useIsFileDraggedOverDocument/index.d.ts +1 -0
- package/lib/hooks/__internal__/useIsFileDraggedOverDocument/index.js +1 -0
- package/lib/hooks/__internal__/useIsFileDraggedOverDocument/package.json +5 -0
- package/lib/hooks/__internal__/useIsFileDraggedOverDocument/useIsFileDraggedOverDocument.d.ts +10 -0
- package/lib/hooks/__internal__/useIsFileDraggedOverDocument/useIsFileDraggedOverDocument.js +1 -0
- package/lib/locales/de-de.js +1 -1
- package/lib/locales/en-gb.js +1 -1
- package/lib/locales/es-es.js +1 -1
- package/lib/locales/fr-ca.js +1 -1
- package/lib/locales/fr-fr.js +1 -1
- package/lib/locales/locale.d.ts +38 -4
- package/lib/locales/pt-pt.js +1 -1
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),o=require("../icon/icon.style.js"),r=require("../../style/themes/apply-base-theme.js"),s=require("../../style/utils/add-focus-styling.js");function n(e){return e&&e.__esModule?e:{default:e}}const u=n(e).default.button.attrs(r.default).attrs({type:"button"}).withConfig({displayName:"icon-button.style__StyledIconButton",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),o=require("../icon/icon.style.js"),r=require("../../style/themes/apply-base-theme.js"),s=require("../../style/utils/add-focus-styling.js");function n(e){return e&&e.__esModule?e:{default:e}}const u=n(e).default.button.attrs(r.default).attrs({type:"button"}).withConfig({displayName:"icon-button.style__StyledIconButton",componentId:"carbon_v163_0_0__sc-efc15704-0"})(["",""],(({disabled:r})=>e.css(["&&{","}background:transparent;border:none;border-radius:var(--borderRadius050);&:focus{","}&:hover{cursor:",";}&::-moz-focus-inner{border:none;}","{",";position:relative;&:focus{border:none;}}"],t.space,s.default(),r?"not-allowed":"pointer",o.default,r&&e.css(["color:var(--colorsActionMinorYin030);background-color:transparent;"]))));exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("styled-system"),r=require("../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=o(e).default.div.attrs(r.default).attrs((({backgroundPosition:e="center",backgroundRepeat:t="no-repeat",backgroundSize:r="cover",src:o,alt:i,decorative:c,children:s,hidden:a=!1,position:l,top:p,right:u,bottom:b,left:d})=>{return g=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){n(e,t,r[t])}))}return e}({backgroundPosition:e,backgroundRepeat:t,backgroundSize:r},o&&{as:"img"}),y=null!=(y={children:o?void 0:s,src:o,alt:c?"":i,hidden:a,position:l,top:p,right:u,bottom:b,left:d})?y:{},Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(y)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(y)).forEach((function(e){Object.defineProperty(g,e,Object.getOwnPropertyDescriptor(y,e))})),g;var g,y})).withConfig({displayName:"image.style__StyledImage",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("styled-system"),r=require("../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=o(e).default.div.attrs(r.default).attrs((({backgroundPosition:e="center",backgroundRepeat:t="no-repeat",backgroundSize:r="cover",src:o,alt:i,decorative:c,children:s,hidden:a=!1,position:l,top:p,right:u,bottom:b,left:d})=>{return g=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){n(e,t,r[t])}))}return e}({backgroundPosition:e,backgroundRepeat:t,backgroundSize:r},o&&{as:"img"}),y=null!=(y={children:o?void 0:s,src:o,alt:c?"":i,hidden:a,position:l,top:p,right:u,bottom:b,left:d})?y:{},Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(y)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(y)).forEach((function(e){Object.defineProperty(g,e,Object.getOwnPropertyDescriptor(y,e))})),g;var g,y})).withConfig({displayName:"image.style__StyledImage",componentId:"carbon_v163_0_0__sc-49c06c20-0"})([""," "," "," "," ",""],t.margin,t.layout,t.padding,(({position:t,top:r,right:o,bottom:n,left:i})=>e.css(["position:",";top:",";right:",";bottom:",";left:",";"],t,r,o,n,i)),(({as:r})=>"img"!==r&&e.css(["",""],t.background)));exports.StyledImage=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),r=require("../../__internal__/legacy-input/input-presentation.style.js"),a=require("../../__internal__/legacy-label/label.style.js"),i=require("../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}var n=o(e);const l={none:0,"extra-small":8,small:16,"medium-small":20,medium:24,"medium-large":28,large:32,"extra-large":40},d=n.default.div.withConfig({displayName:"inline-inputs.style__StyledInlineInput",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),r=require("../../__internal__/legacy-input/input-presentation.style.js"),a=require("../../__internal__/legacy-label/label.style.js"),i=require("../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}var n=o(e);const l={none:0,"extra-small":8,small:16,"medium-small":20,medium:24,"medium-large":28,large:32,"extra-large":40},d=n.default.div.withConfig({displayName:"inline-inputs.style__StyledInlineInput",componentId:"carbon_v163_0_0__sc-7bef1a9c-0"})(["flex:1;",""],(({gutter:t})=>t&&e.css(["margin-bottom:0;padding-left:","px;"],l[t]))),s=n.default.div.withConfig({displayName:"inline-inputs.style__StyledContentContainer",componentId:"carbon_v163_0_0__sc-7bef1a9c-1"})(["display:flex;flex:",";",""],(({inputWidth:e})=>e?`0 0 ${e}%`:1),(({gutter:t})=>t&&e.css(["margin-bottom:0;margin-left:-","px;",""],l[t],"none"===t&&e.css([""," + "," ","{border-left:none;}",":not(:first-of-type):not(:last-of-type) ","{border-radius:var(--borderRadius000);}",":first-of-type:not(:last-of-type) ","{border-top-right-radius:var(--borderRadius000);border-bottom-right-radius:var(--borderRadius000);border-top-left-radius:var(--borderRadius050);border-bottom-left-radius:var(--borderRadius050);}",":last-of-type:not(:first-of-type) ","{border-top-left-radius:var(--borderRadius000);border-bottom-left-radius:var(--borderRadius000);border-top-right-radius:var(--borderRadius050);border-bottom-right-radius:var(--borderRadius050);}"],d,d,r.default,d,r.default,d,r.default,d,r.default)))),u=n.default.div.attrs(i.default).withConfig({displayName:"inline-inputs.style__StyledInlineInputs",componentId:"carbon_v163_0_0__sc-7bef1a9c-2"})(["margin-bottom:var(--fieldSpacing);"," display:",";align-items:center;","{width:auto;margin-bottom:",";padding-right:16px;flex:0 0 ",';}input{width:1px;}[data-component="carbon-select"] input{width:30px;}'],t.margin,(({labelInline:e})=>e?"flex":"block"),a.StyledLabelContainer,(({labelInline:e})=>e?"0px":"8px"),(({labelWidth:e})=>e?`${e}%`:"auto"));exports.StyledContentContainer=s,exports.StyledInlineInput=d,exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var o=require("styled-components"),e=require("../../style/themes/apply-base-theme.js"),l=require("../../style/utils/add-focus-styling.js"),r=require("../icon/icon.style.js"),a=require("../button/button.style.js");function t(o){return o&&o.__esModule?o:{default:o}}var i=t(o);const n={light:o=>{let e="var(--link-typical-label-default)",l="var(--link-typical-label-hover)";return"negative"===o?(e="var(--link-destructive-label-default)",l="var(--link-destructive-label-hover)"):"subtle"===o&&(e="var(--link-subtle-label-default)",l="var(--link-subtle-label-hover)"),{color:e,hoverColor:l,focusColor:"var(--focus-label)",focusBgColor:"var(--focus-bg)",focusBoxShadowColor:"var(--focus-borderalt)"}},dark:o=>{let e="var(--link-typical-inverse-label-default)",l="var(--link-typical-inverse-label-hover)";return"negative"===o?(e="var(--link-destructive-inverse-label-default)",l="var(--link-destructive-inverse-label-hover)"):"subtle"===o&&(e="var(--link-subtle-inverse-label-default)",l="var(--link-subtle-inverse-label-hover)"),{color:e,hoverColor:l,focusColor:"var(--focus-inverse-label)",focusBgColor:"var(--focus-inverse-bg)",focusBoxShadowColor:"var(--focus-inverse-borderalt)"}}},s=i.default.span.attrs(e.default).withConfig({displayName:"link.style__StyledLink",componentId:"
|
|
1
|
+
"use strict";var o=require("styled-components"),e=require("../../style/themes/apply-base-theme.js"),l=require("../../style/utils/add-focus-styling.js"),r=require("../icon/icon.style.js"),a=require("../button/button.style.js");function t(o){return o&&o.__esModule?o:{default:o}}var i=t(o);const n={light:o=>{let e="var(--link-typical-label-default)",l="var(--link-typical-label-hover)";return"negative"===o?(e="var(--link-destructive-label-default)",l="var(--link-destructive-label-hover)"):"subtle"===o&&(e="var(--link-subtle-label-default)",l="var(--link-subtle-label-hover)"),{color:e,hoverColor:l,focusColor:"var(--focus-label)",focusBgColor:"var(--focus-bg)",focusBoxShadowColor:"var(--focus-borderalt)"}},dark:o=>{let e="var(--link-typical-inverse-label-default)",l="var(--link-typical-inverse-label-hover)";return"negative"===o?(e="var(--link-destructive-inverse-label-default)",l="var(--link-destructive-inverse-label-hover)"):"subtle"===o&&(e="var(--link-subtle-inverse-label-default)",l="var(--link-subtle-inverse-label-hover)"),{color:e,hoverColor:l,focusColor:"var(--focus-inverse-label)",focusBgColor:"var(--focus-inverse-bg)",focusBoxShadowColor:"var(--focus-inverse-borderalt)"}}},s=i.default.span.attrs(e.default).withConfig({displayName:"link.style__StyledLink",componentId:"carbon_v163_0_0__sc-a1ed90ba-0"})(["",""],(({$isSkipLink:e,theme:t,$iconAlign:i,$hasContent:s,$disabled:c,$underline:u,$variant:d,$inverse:b,$hasFocus:v,$linkSize:f,$bold:g})=>{const p=b?"dark":"light",{color:h,hoverColor:m,focusColor:k,focusBgColor:x,focusBoxShadowColor:y}=n[p](d);return o.css([""," "," "," > a,> button{> ","{display:",";position:relative;vertical-align:middle;}&:focus{outline:none;}}"," > button,","{background-color:transparent;border:none;padding:0;}"],e&&o.css(["a{position:absolute;box-sizing:border-box;display:inline-flex;min-height:var(--global-size-m);padding:var(--global-space-comp-m) var(--global-space-comp-xl);flex-direction:column;justify-content:center;align-items:flex-start;left:-999em;z-index:",";border:var(--global-borderwidth-s) solid var(--focus-borderalt);box-shadow:var(--global-depth-lvl1);border-radius:0 var(--global-radius-action-m) var(--global-radius-action-m) 0;background-color:var(--focus-bg);font:var(--global-font-static-comp-regular-m);color:var(--link-subtle-label-default);text-decoration:underline;outline:none;&:focus{top:var(--global-space-comp-s);left:0;}}"],t.zIndex.aboveAll),!e&&o.css(["> a,> button{"," text-decoration:",";"," ","}"],((e,l)=>{let r;return r="large"===e?l?"--global-font-static-comp-lined-medium-l":"--global-font-static-comp-regular-l":l?"--global-font-static-comp-lined-medium-m":"--global-font-static-comp-regular-m",o.css(["font:var(",");"],r)})(f,g),s&&"always"===u?"underline":"none",!c&&o.css(["color:",";","{width:20px;height:20px;color:",";::before{font-size:18px;line-height:18px;}"," ","}&:hover{color:",";text-decoration:",";> ","{color:",";}}&:not(:has(img,svg,picture)):focus{color:",";text-decoration:none;","{color:",";}}&:has(img,svg,picture){display:inline-block;vertical-align:middle;}&:has(img,svg,picture):focus{"," border-radius:var(--global-radius-action-xs);outline:default;}"],h,r.default,h,"left"===i&&o.css(["margin-right:",";"],s?"var(--global-space-comp-s)":0),"right"===i&&o.css(["margin-right:0;margin-left:",";"],s?"var(--global-space-comp-s)":0),m,!s||"hover"!==u&&"always"!==u?"none":"underline",r.default,m,k,r.default,k,l.default()),c&&o.css(["color:var(--colorsActionMajorYin030);&:hover,&:focus{cursor:not-allowed;color:var(--colorsActionMajorYin030);}"])),!c&&o.css(["> a:any-link:hover,> button:hover{cursor:pointer;}"]),r.default,s?"inline-block":"inline",!e&&!c&&v&&o.css(["max-width:fit-content;&:not(:has(img,svg,picture)){border-radius:var(--global-radius-action-xs);background-color:",";box-shadow:0 var(--global-size-5-xs) 0 0 ",';}&:has([data-popover-container-button="true"]){border-bottom-left-radius:0;border-bottom-right-radius:0;}'],x,y),a.default)})),c=i.default.span.withConfig({displayName:"link.style__StyledContent",componentId:"carbon_v163_0_0__sc-a1ed90ba-1"})([""]);exports.StyledContent=c,exports.StyledLink=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");function t(e){return e&&e.__esModule?e:{default:e}}require("react");const i=t(require("styled-components")).default.div.withConfig({displayName:"placeholder.component__StyledPlaceHolder",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");function t(e){return e&&e.__esModule?e:{default:e}}require("react");const i=t(require("styled-components")).default.div.withConfig({displayName:"placeholder.component__StyledPlaceHolder",componentId:"carbon_v163_0_0__sc-25235b82-0"})(["position:absolute;inset:0;svg{display:block;width:100%;height:100%;}"]);exports.StyledPlaceHolder=i,exports.default=()=>e.jsx(i,{"data-component":"link-preview-placeholder",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"160",height:"90",viewBox:"0 0 160 90",fill:"none","aria-hidden":"true",children:[e.jsxs("g",{clipPath:"url(#a)",children:[e.jsx("path",{fill:"#fff",d:"M0 0h160v90H0z"}),e.jsx("circle",{cx:"55",cy:"24",r:"7",fill:"#d1d1d1"}),e.jsx("rect",{width:"120.67",height:"120.75",fill:"#eaeaea",rx:"1.96",transform:"rotate(43.49 -29.82 90.72)skewX(.64)"}),e.jsx("rect",{width:"120.67",height:"120.75",fill:"url(#b)",fillOpacity:".05",rx:"1.96",transform:"rotate(43.49 -29.82 90.72)skewX(.64)"}),e.jsx("rect",{width:"120.67",height:"120.75",fill:"#d4d4d4",rx:"1.96",transform:"rotate(43.49 11.3 141.27)skewX(.64)"}),e.jsx("rect",{width:"120.67",height:"120.75",fill:"url(#c)",fillOpacity:".2",rx:"1.96",transform:"rotate(43.49 11.3 141.27)skewX(.64)"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"b",x1:"22.48",x2:"3.83",y1:"46.88",y2:".45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{}),e.jsx("stop",{offset:"1",stopOpacity:"0"})]}),e.jsxs("linearGradient",{id:"c",x1:"60.08",x2:"-12.97",y1:"40.62",y2:"15.5",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{}),e.jsx("stop",{offset:"1",stopOpacity:"0"})]}),e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:"#fff",d:"M0 0h160v90H0z"})})]})]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("../../style/utils/add-focus-styling.js"),a=require("../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}var i=o(e);const r={small:{wrapperPadding:"var(--global-space-comp-s)",wrapperGap:"var(--global-space-comp-xs)",titleWrapperGap:"var(--global-space-comp-s)",titleFont:"var(--global-font-static-comp-medium-s)",descriptionFont:"var(--global-font-static-comp-regular-s)",urlFont:"var(--global-font-static-comp-lined-regular-s)"},medium:{wrapperPadding:"var(--global-space-comp-m)",wrapperGap:"var(--global-space-comp-m)",titleWrapperGap:"var(--global-space-comp-m)",titleFont:"var(--global-font-static-comp-medium-m)",descriptionFont:"var(--global-font-static-comp-regular-m)",urlFont:"var(--global-font-static-comp-lined-regular-m)"},large:{wrapperPadding:"var(--global-space-comp-l)",wrapperGap:"var(--global-space-comp-m)",titleWrapperGap:"var(--global-space-comp-l)",titleFont:"var(--global-font-static-comp-medium-l)",descriptionFont:"var(--global-font-static-comp-regular-l)",urlFont:"var(--global-font-static-comp-lined-regular-l)"}},l=i.default.div.withConfig({displayName:"link-preview.style__StyledWrapper",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("../../style/utils/add-focus-styling.js"),a=require("../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}var i=o(e);const r={small:{wrapperPadding:"var(--global-space-comp-s)",wrapperGap:"var(--global-space-comp-xs)",titleWrapperGap:"var(--global-space-comp-s)",titleFont:"var(--global-font-static-comp-medium-s)",descriptionFont:"var(--global-font-static-comp-regular-s)",urlFont:"var(--global-font-static-comp-lined-regular-s)"},medium:{wrapperPadding:"var(--global-space-comp-m)",wrapperGap:"var(--global-space-comp-m)",titleWrapperGap:"var(--global-space-comp-m)",titleFont:"var(--global-font-static-comp-medium-m)",descriptionFont:"var(--global-font-static-comp-regular-m)",urlFont:"var(--global-font-static-comp-lined-regular-m)"},large:{wrapperPadding:"var(--global-space-comp-l)",wrapperGap:"var(--global-space-comp-m)",titleWrapperGap:"var(--global-space-comp-l)",titleFont:"var(--global-font-static-comp-medium-l)",descriptionFont:"var(--global-font-static-comp-regular-l)",urlFont:"var(--global-font-static-comp-lined-regular-l)"}},l=i.default.div.withConfig({displayName:"link-preview.style__StyledWrapper",componentId:"carbon_v163_0_0__sc-f277a2d1-0"})(["",""],(({$size:t,$isLoading:a})=>e.css(["display:flex;flex-direction:column;"," ",""],!a&&e.css(["padding:",";gap:",";"],r[t].wrapperPadding,r[t].wrapperGap),a&&e.css(["box-sizing:border-box;width:100%;padding:var(--global-space-comp-s) var(--global-space-comp-l);"])))),n=i.default.div.withConfig({displayName:"link-preview.style__StyledContentWrapper",componentId:"carbon_v163_0_0__sc-f277a2d1-1"})(["display:flex;flex-direction:column;"]),p=i.default.div.withConfig({displayName:"link-preview.style__StyledTitleWrapper",componentId:"carbon_v163_0_0__sc-f277a2d1-2"})(["",""],(({$size:t})=>e.css(["display:flex;align-items:flex-start;gap:",";"],r[t].titleWrapperGap))),s=i.default.div.withConfig({displayName:"link-preview.style__StyledTitle",componentId:"carbon_v163_0_0__sc-f277a2d1-3"})(["",""],(({$size:t})=>e.css(["display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;flex:1 0 0;text-overflow:ellipsis;overflow:hidden;white-space:normal;padding-top:var(--global-space-comp-xs);color:var(--container-action-txt-active);font:",";"],r[t].titleFont))),c=i.default.p.withConfig({displayName:"link-preview.style__StyledDescription",componentId:"carbon_v163_0_0__sc-f277a2d1-4"})(["",""],(({$size:t})=>e.css(["margin:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden;color:var(--container-action-txt-alt-default);font:",";"],r[t].descriptionFont))),d=i.default.div.withConfig({displayName:"link-preview.style__StyledUrl",componentId:"carbon_v163_0_0__sc-f277a2d1-5"})(["",""],(({$size:t})=>e.css(["display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden;color:var(--container-action-txt-active);font:",";text-decoration-line:underline;"],r[t].urlFont))),v=i.default.div.withConfig({displayName:"link-preview.style__StyledThumbnailWrapper",componentId:"carbon_v163_0_0__sc-f277a2d1-6"})(["width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;border-top-right-radius:var(--global-radius-container-xs);border-top-left-radius:var(--global-radius-container-xs);background-color:var(--container-action-bg-default);"]),b=i.default.img.withConfig({displayName:"link-preview.style__StyledThumbnailImage",componentId:"carbon_v163_0_0__sc-f277a2d1-7"})(["display:block;width:100%;height:100%;object-fit:contain;object-position:center;"]),m=i.default.a.attrs(a.default).withConfig({displayName:"link-preview.style__StyledLinkPreview",componentId:"carbon_v163_0_0__sc-f277a2d1-8"})(["",""],(({as:a})=>e.css(["display:flex;flex-direction:column;min-width:224px;width:fit-content;height:fit-content;max-width:400px;text-decoration:none;outline:none;box-sizing:border-box;border-radius:var(--global-radius-container-xs);border:var(--global-borderwidth-xs) solid var(--container-action-border-alt);background:var(--container-action-bg-default);",""],"div"!==a&&e.css(["&:focus{","}&:hover{cursor:pointer;border-color:var(--container-action-borderalt-hover);background:var(--container-action-bg-hover);",",",",","{color:var(--container-action-txt-hover);}}"],t.default(),s,c,d))));exports.StyledContentWrapper=n,exports.StyledDescription=c,exports.StyledLinkPreview=m,exports.StyledThumbnailImage=b,exports.StyledThumbnailWrapper=v,exports.StyledTitle=s,exports.StyledTitleWrapper=p,exports.StyledUrl=d,exports.StyledWrapper=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("styled-components");function a(t){return t&&t.__esModule?t:{default:t}}var i=a(t);const e=t.keyframes(["0%{transform:scale(0);animation-timing-function:cubic-bezier(0.17,1,1,1);}15.29%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}30.64%,100%{transform:scale(0);}"]),n=t.keyframes(["0%,15.29%{transform:scale(0);}15.29%{animation-timing-function:cubic-bezier(0.17,1,1,1);}30.64%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}45.36%,100%{transform:scale(0);}"]),o=t.keyframes(["0%,30.61%{transform:scale(0);}30.61%{animation-timing-function:cubic-bezier(0.17,1,1,1);}45.36%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}60.68%,100%{transform:scale(0);}"]),r=t.keyframes(["0%{transform:scale(0);opacity:1;animation-timing-function:cubic-bezier(0.17,1,0.83,1);}15.32%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}30.33%,100%{transform:scale(0);opacity:1;}"]),s=t.keyframes(["0%{transform:scale(0);opacity:1;animation-timing-function:cubic-bezier(0.17,1,1,1);}15.29%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}30.07%,100%{transform:scale(0);opacity:1;}"]),c=t.keyframes(["0%{transform:scale(0);opacity:1;animation-timing-function:cubic-bezier(0.17,1,1,1);}14.79%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}24.03%,100%{transform:scale(0.117);opacity:1;animation-timing-function:ease-in-out;}"]),l=(a,i=0,e=!1)=>t.css(["transform:scale(0);transform-box:fill-box;transform-origin:center;",""],(({$animationTime:n,$hasMotion:o})=>o?t.css(["opacity:",";animation:"," ","s linear infinite;animation-delay:","s;"],e?0:1,a,n,(null!=n?n:3.159)*i):t.css(["animation:none;opacity:1;transform:scale(1);"]))),f=i.default.div.withConfig({displayName:"star.style__StyledLoaderStarRoot",componentId:"
|
|
1
|
+
"use strict";var t=require("styled-components");function a(t){return t&&t.__esModule?t:{default:t}}var i=a(t);const e=t.keyframes(["0%{transform:scale(0);animation-timing-function:cubic-bezier(0.17,1,1,1);}15.29%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}30.64%,100%{transform:scale(0);}"]),n=t.keyframes(["0%,15.29%{transform:scale(0);}15.29%{animation-timing-function:cubic-bezier(0.17,1,1,1);}30.64%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}45.36%,100%{transform:scale(0);}"]),o=t.keyframes(["0%,30.61%{transform:scale(0);}30.61%{animation-timing-function:cubic-bezier(0.17,1,1,1);}45.36%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}60.68%,100%{transform:scale(0);}"]),r=t.keyframes(["0%{transform:scale(0);opacity:1;animation-timing-function:cubic-bezier(0.17,1,0.83,1);}15.32%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}30.33%,100%{transform:scale(0);opacity:1;}"]),s=t.keyframes(["0%{transform:scale(0);opacity:1;animation-timing-function:cubic-bezier(0.17,1,1,1);}15.29%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}30.07%,100%{transform:scale(0);opacity:1;}"]),c=t.keyframes(["0%{transform:scale(0);opacity:1;animation-timing-function:cubic-bezier(0.17,1,1,1);}14.79%{transform:scale(1.1);animation-timing-function:cubic-bezier(0.78,0,0.22,1);}24.03%,100%{transform:scale(0.117);opacity:1;animation-timing-function:ease-in-out;}"]),l=(a,i=0,e=!1)=>t.css(["transform:scale(0);transform-box:fill-box;transform-origin:center;",""],(({$animationTime:n,$hasMotion:o})=>o?t.css(["opacity:",";animation:"," ","s linear infinite;animation-delay:","s;"],e?0:1,a,n,(null!=n?n:3.159)*i):t.css(["animation:none;opacity:1;transform:scale(1);"]))),f=i.default.div.withConfig({displayName:"star.style__StyledLoaderStarRoot",componentId:"carbon_v163_0_0__sc-fb87f657-0"})(["display:inline-block;height:var(--global-size-s);position:relative;width:var(--global-size-s);"]),m=i.default.svg.withConfig({displayName:"star.style__StyledStarSVG",componentId:"carbon_v163_0_0__sc-fb87f657-1"})(["height:100%;inset:0;overflow:visible;position:absolute;width:100%;"]),_=i.default.path.withConfig({displayName:"star.style__StyledStar1Scale",componentId:"carbon_v163_0_0__sc-fb87f657-2"})(["",""],l(e)),d=i.default.path.withConfig({displayName:"star.style__StyledStar2Scale",componentId:"carbon_v163_0_0__sc-fb87f657-3"})(["",""],l(n)),y=i.default.path.withConfig({displayName:"star.style__StyledStar3Scale",componentId:"carbon_v163_0_0__sc-fb87f657-4"})(["",""],l(o)),b=i.default.path.withConfig({displayName:"star.style__StyledStar4Scale",componentId:"carbon_v163_0_0__sc-fb87f657-5"})(["",""],l(r,.4536,!0)),S=i.default.path.withConfig({displayName:"star.style__StyledStar5Scale",componentId:"carbon_v163_0_0__sc-fb87f657-6"})(["",""],l(s,.6068,!0)),p=i.default.path.withConfig({displayName:"star.style__StyledStar6Scale",componentId:"carbon_v163_0_0__sc-fb87f657-7"})(["",""],l(c,.7597,!0));exports.StyledLoaderStarRoot=f,exports.StyledStar1Scale=_,exports.StyledStar2Scale=d,exports.StyledStar3Scale=y,exports.StyledStar4Scale=b,exports.StyledStar5Scale=S,exports.StyledStar6Scale=p,exports.StyledStarSVG=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),a=require("styled-system"),r=require("../../../style/themes/apply-base-theme.js"),t=require("../../typography/typography.component.js");require("react/jsx-runtime"),require("react");var o=require("../../button/button.style.js"),s=require("../../button/__next__/button.style.js");function i(e){return e&&e.__esModule?e:{default:e}}var l=i(e);const n={"extra-small":20,small:32,medium:64,large:80},d={small:"var(--global-radius-container-2-xs)",medium:"var(--global-radius-container-xs)",large:"var(--global-radius-container-m)"},c={small:"var(--global-size-5-xs)",medium:"var(--global-size-4-xs)",large:"var(--global-size-3-xs)"},m={"extra-small":"var(--global-space-comp-s)",small:"var(--global-space-comp-s)",medium:"var(--global-space-comp-m)",large:"var(--global-space-comp-l)"},p=e.keyframes(["0%{transform:translateX(calc(-100% - 1px));animation-timing-function:cubic-bezier(0.66,0,0.34,1);}100%{transform:translateX(200%);}"]),g=e.keyframes(["0%{transform:rotate(-115deg);animation-timing-function:cubic-bezier(0.17,0.17,0.83,1);}100%{transform:rotate(237.5deg);animation-timing-function:cubic-bezier(0.17,0.17,0.83,0.83);}"]),f=e.keyframes(["0%{stroke-dasharray:1 1;stroke-dashoffset:1;}100%{stroke-dasharray:1 1;stroke-dashoffset:0.2;}"]),u=e.keyframes(["0%{animation-timing-function:cubic-bezier(0.32,0,0.85,1);stroke-dasharray:0.1 1;stroke-dashoffset:-0.9;}61.686%{animation-timing-function:cubic-bezier(0.37,0,0.77,1);stroke-dasharray:0.35 1;stroke-dashoffset:-0.65;}100%{animation-timing-function:cubic-bezier(0.33,0.66,0.61,0.92);stroke-dasharray:0.128 1;stroke-dashoffset:-0.872;}"]),_=(e,a)=>{const r=a?"var(--progress-loader-inverse-bg-default)":"var(--progress-loader-bg-default)";return"ai"===e?{outerBarBackground:r,innerBarBackground:"linear-gradient(90deg, var(--mode-color-ai-alt-stop-1) 0%, var(--mode-color-ai-alt-stop-2) 40%, var(--mode-color-ai-alt-stop-3) 90%)"}:{outerBarBackground:r,innerBarBackground:a?"var(--progress-loader-inverse-fg-default)":"var(--progress-loader-fg-default)"}},v=e.css(["display:flex;justify-content:center;text-align:center;"]),y=l.default.div.withConfig({displayName:"loader.style__StyledLoaderPlaceholder",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),a=require("styled-system"),r=require("../../../style/themes/apply-base-theme.js"),t=require("../../typography/typography.component.js");require("react/jsx-runtime"),require("react");var o=require("../../button/button.style.js"),s=require("../../button/__next__/button.style.js");function i(e){return e&&e.__esModule?e:{default:e}}var l=i(e);const n={"extra-small":20,small:32,medium:64,large:80},d={small:"var(--global-radius-container-2-xs)",medium:"var(--global-radius-container-xs)",large:"var(--global-radius-container-m)"},c={small:"var(--global-size-5-xs)",medium:"var(--global-size-4-xs)",large:"var(--global-size-3-xs)"},m={"extra-small":"var(--global-space-comp-s)",small:"var(--global-space-comp-s)",medium:"var(--global-space-comp-m)",large:"var(--global-space-comp-l)"},p=e.keyframes(["0%{transform:translateX(calc(-100% - 1px));animation-timing-function:cubic-bezier(0.66,0,0.34,1);}100%{transform:translateX(200%);}"]),g=e.keyframes(["0%{transform:rotate(-115deg);animation-timing-function:cubic-bezier(0.17,0.17,0.83,1);}100%{transform:rotate(237.5deg);animation-timing-function:cubic-bezier(0.17,0.17,0.83,0.83);}"]),f=e.keyframes(["0%{stroke-dasharray:1 1;stroke-dashoffset:1;}100%{stroke-dasharray:1 1;stroke-dashoffset:0.2;}"]),u=e.keyframes(["0%{animation-timing-function:cubic-bezier(0.32,0,0.85,1);stroke-dasharray:0.1 1;stroke-dashoffset:-0.9;}61.686%{animation-timing-function:cubic-bezier(0.37,0,0.77,1);stroke-dasharray:0.35 1;stroke-dashoffset:-0.65;}100%{animation-timing-function:cubic-bezier(0.33,0.66,0.61,0.92);stroke-dasharray:0.128 1;stroke-dashoffset:-0.872;}"]),_=(e,a)=>{const r=a?"var(--progress-loader-inverse-bg-default)":"var(--progress-loader-bg-default)";return"ai"===e?{outerBarBackground:r,innerBarBackground:"linear-gradient(90deg, var(--mode-color-ai-alt-stop-1) 0%, var(--mode-color-ai-alt-stop-2) 40%, var(--mode-color-ai-alt-stop-3) 90%)"}:{outerBarBackground:r,innerBarBackground:a?"var(--progress-loader-inverse-fg-default)":"var(--progress-loader-fg-default)"}},v=e.css(["display:flex;justify-content:center;text-align:center;"]),y=l.default.div.withConfig({displayName:"loader.style__StyledLoaderPlaceholder",componentId:"carbon_v163_0_0__sc-a9704fea-0"})(["display:inline-block;min-width:var(--global-size-2-xl);"]),b=l.default.div.attrs(r.default).withConfig({displayName:"loader.style__StyledLoader",componentId:"carbon_v163_0_0__sc-a9704fea-1"})([""," text-align:center;white-space:nowrap;"],a.margin),h=l.default.div.withConfig({displayName:"loader.style__OuterBar",componentId:"carbon_v163_0_0__sc-a9704fea-2"})(["",""],(({$size:a,$variant:r,$inverse:t})=>e.css(["border-radius:",";height:",";width:100%;background:",";overflow:hidden;position:relative;"],d[a],c[a],_(r,t).outerBarBackground))),x=l.default.div.withConfig({displayName:"loader.style__InnerBar",componentId:"carbon_v163_0_0__sc-a9704fea-3"})(["",""],(({$size:a,$variant:r,$inverse:t,$animationTime:o,$hasMotion:s})=>e.css(["background:",";border-radius:",";height:",";left:0;position:absolute;width:50%;transform:translateX(",");",""],_(r,t).innerBarBackground,d[a],c[a],s?"calc(-100% - 1px)":"50%",s?e.css(["animation:"," ","s cubic-bezier(0.66,0,0.34,1) infinite;"],p,o):"animation: none;"))),k=l.default.svg.withConfig({displayName:"loader.style__StyledRingCircleSvg",componentId:"carbon_v163_0_0__sc-a9704fea-4"})(["",""],(({$size:a})=>{const r=`${n[a]}px`;return e.css(["height:",";min-height:",";width:",';overflow:visible;circle[data-role="outer-arc"]{fill:transparent;stroke-width:8px;cx:32px;cy:32px;r:28px;}'],r,r,r)})),$=l.default.circle.withConfig({displayName:"loader.style__StyledRingTrack",componentId:"carbon_v163_0_0__sc-a9704fea-5"})(["stroke:",";"],(({$inverse:e})=>e?"var(--progress-loader-inverse-bg-default)":"var(--progress-loader-bg-default)")),S=l.default.g.withConfig({displayName:"loader.style__StyledRingRotator",componentId:"carbon_v163_0_0__sc-a9704fea-6"})(["transform:rotate(-115deg);transform-origin:32px 32px;",""],(({$hasMotion:a,$isTracked:r,$animationTime:t})=>a&&!r&&e.css(["animation:"," ","s linear infinite;"],g,t))),w=l.default.circle.withConfig({displayName:"loader.style__StyledRingArc",componentId:"carbon_v163_0_0__sc-a9704fea-7"})(["fill:transparent;stroke:",";stroke-width:8px;stroke-linecap:round;cx:32px;cy:32px;r:28px;stroke-dasharray:1 1;stroke-dashoffset:0;"," "," "," &,"," &{","}"],(({$gradientId:e,$inverse:a,$isSuccess:r,$isError:t})=>e?`url(#${e})`:(({inverse:e,isSuccess:a,isError:r})=>r?"var(--progress-loader-fg-error)":a?"var(--progress-loader-fg-complete)":e?"var(--progress-loader-inverse-fg-default)":"var(--progress-loader-fg-default)")({inverse:a,isSuccess:r,isError:t})),(({$hasMotion:a,$isGradientVariant:r,$isSuccess:t,$isError:o})=>(r||!a&&!t&&!o)&&e.css(["stroke-dasharray:0.34 1;stroke-dashoffset:-0.66;"])),(({$hasMotion:a,$isTracked:r,$animationTime:t})=>a&&e.css(["animation:"," ","s linear infinite;"],r?f:u,t)),s.StyledButton,o.default,(({$isGradientVariant:e})=>!e&&"stroke: currentColor;")),B="var(--global-size-s)",C=l.default.div.withConfig({displayName:"loader.style__StyledStars",componentId:"carbon_v163_0_0__sc-a9704fea-8"})(["position:relative;width:",";height:",";"],B,B),z={standalone:{small:"var(--global-space-comp-xs)",medium:"var(--global-space-comp-s)",large:"var(--global-space-comp-m)"},ring:{"extra-small":"var(--global-space-comp-xs)",small:"var(--global-space-comp-s)",medium:"var(--global-space-comp-s)",large:"var(--global-space-comp-m)"}},I=l.default.div.withConfig({displayName:"loader.style__StyledStarLoaderWrapper",componentId:"carbon_v163_0_0__sc-a9704fea-9"})(["position:relative;display:flex;align-items:center;justify-content:center;"]),L=l.default(t.Typography).withConfig({displayName:"loader.style__StyledLoaderLabel",componentId:"carbon_v163_0_0__sc-a9704fea-10"})([""," line-height:150%;color:",";"," &,"," &{color:currentColor;}",""],v,(({$inverse:e})=>e?"var(--progress-inverse-label-alt)":"var(--progress-label-alt)"),s.StyledButton,o.default,(({$size:a="medium",$loaderType:r,$loaderVariant:t,$isInsideButton:o})=>{const s=a;return"star"===r?e.css(["font-size:16px;font-weight:400;margin-left:12px;width:min-content;"]):"standalone"===r?e.css(["font:",";width:100%;margin-top:",";"],"large"===s?"var(--global-font-static-comp-medium-l)":"small"===s?"var(--global-font-static-comp-medium-s)":"var(--global-font-static-comp-medium-m)",z[r][s]):e.css(["font:",";width:",";",";"],o?"var(--global-font-static-comp-medium-s)":"large"===s?"var(--global-font-static-comp-medium-l)":"extra-small"===s?"var(--global-font-static-comp-medium-xs)":"small"===s?"var(--global-font-static-comp-medium-s)":"var(--global-font-static-comp-medium-m)","inline"===t?"auto":"100%","inline"===t?`margin-left: ${m[s]}`:`margin-top: ${z[r][s]}`)})),N=l.default.div.withConfig({displayName:"loader.style__StyledRingLoaderWrapper",componentId:"carbon_v163_0_0__sc-a9704fea-11"})(["",""],(({$loaderVariant:a})=>e.css(["display:flex;flex-direction:",";align-items:center;justify-content:center;width:",";"],"inline"===a?"row":"column","inline"===a?"auto":"100%"))),R=l.default.span.withConfig({displayName:"loader.style__StyledLabel",componentId:"carbon_v163_0_0__sc-a9704fea-12"})(["",";"],(({$inverse:a})=>e.css(["color:",";"," &,"," &{color:currentColor;}"],a?"var(--progress-inverse-label-alt)":"var(--progress-label-alt)",s.StyledButton,o.default)));exports.InnerBar=x,exports.OuterBar=h,exports.StyledLabel=R,exports.StyledLoader=b,exports.StyledLoaderLabel=L,exports.StyledLoaderPlaceholder=y,exports.StyledRingArc=w,exports.StyledRingCircleSvg=k,exports.StyledRingLoaderWrapper=N,exports.StyledRingRotator=S,exports.StyledRingTrack=$,exports.StyledStarLoaderWrapper=I,exports.StyledStars=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),a=require("../../style/themes/apply-base-theme.js");function t(e){return e&&e.__esModule?e:{default:e}}var r=t(e);const i=e.keyframes(["0%,80%,100%{opacity:0;transform:scale(0);}40%{opacity:1;transform:scale(1);}"]),o=r.default.div.withConfig({displayName:"loader-square.style__StyledLoaderPlaceholder",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),a=require("../../style/themes/apply-base-theme.js");function t(e){return e&&e.__esModule?e:{default:e}}var r=t(e);const i=e.keyframes(["0%,80%,100%{opacity:0;transform:scale(0);}40%{opacity:1;transform:scale(1);}"]),o=r.default.div.withConfig({displayName:"loader-square.style__StyledLoaderPlaceholder",componentId:"carbon_v163_0_0__sc-717eeb54-0"})(["display:inline-block;min-width:var(--sizing800);"]),s=r.default.div.attrs(a.default).withConfig({displayName:"loader-square.style__StyledLoaderSquare",componentId:"carbon_v163_0_0__sc-717eeb54-1"})(["",""],(({size:a,isInsideButton:t,isActive:r,backgroundColor:o})=>e.css(["animation:"," 1s infinite ease-in-out both;background-color:",";display:inline-block;"," border-radius:var(--borderRadiusCircle);"," &:nth-of-type(1){animation-delay:0s;}&:nth-of-type(2){animation-delay:0.2s;}&:nth-of-type(3){animation-delay:0.4s;margin-right:0px;}"],i,o,(a=>{let t,r;switch(a){case"medium":t="16px",r="8px";break;case"large":t="20px",r="8px";break;default:t="12px",r="6px"}return e.css(["width:",";height:",";margin-right:",";"],t,t,r)})(a),t&&e.css(["background-color:",";"],r?"var(--colorsUtilityYang100)":"var(--colorsSemanticNeutral500)"))));exports.StyledLoaderPlaceholder=o,exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),r=require("../../style/themes/apply-base-theme.js");function s(e){return e&&e.__esModule?e:{default:e}}const a=s(e).default.div.attrs(r.default).withConfig({displayName:"loader.style__StyledLoader",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),r=require("../../style/themes/apply-base-theme.js");function s(e){return e&&e.__esModule?e:{default:e}}const a=s(e).default.div.attrs(r.default).withConfig({displayName:"loader.style__StyledLoader",componentId:"carbon_v163_0_0__sc-4961968f-0"})([""," text-align:center;white-space:nowrap;"],t.margin);exports.default=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),r=require("styled-system"),t=require("../../style/themes/apply-base-theme.js");function a(e){return e&&e.__esModule?e:{default:e}}var o=a(e);function n(e){switch(e){case"small":return"4px";case"large":return"16px";default:return"8px"}}const s="128px",i=o.default.div.attrs(t.default).withConfig({displayName:"loader-bar.style__StyledLoader",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),r=require("styled-system"),t=require("../../style/themes/apply-base-theme.js");function a(e){return e&&e.__esModule?e:{default:e}}var o=a(e);function n(e){switch(e){case"small":return"4px";case"large":return"16px";default:return"8px"}}const s="128px",i=o.default.div.attrs(t.default).withConfig({displayName:"loader-bar.style__StyledLoader",componentId:"carbon_v163_0_0__sc-290b8a7-0"})([""," text-align:center;"],r.margin),l=e.keyframes(["0%{left:-",";}100%{left:100%;}"],s),d=o.default.div.withConfig({displayName:"loader-bar.style__StyledLoaderBar",componentId:"carbon_v163_0_0__sc-290b8a7-1"})(["",""],(({size:r})=>e.css(["border-radius:var(--borderRadius400);height:",";width:100%;background-color:var(--colorsActionMajor150);overflow:hidden;position:relative;"],n(r)))),c=o.default.div.withConfig({displayName:"loader-bar.style__InnerBar",componentId:"carbon_v163_0_0__sc-290b8a7-2"})(["",""],(({size:r})=>e.css(["position:absolute;background-color:var(--colorsActionMajor500);width:",";height:",";animation:2s "," linear 0s infinite normal none running;"],s,n(r),l)));exports.InnerBar=c,exports.StyledLoader=i,exports.default=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),r=require("styled-system"),t=require("./loader-spinner.config.js"),a=require("../typography/typography.component.js");function n(e){return e&&e.__esModule?e:{default:e}}require("react/jsx-runtime"),require("react");var i=n(e);const o=(e,r)=>{switch(r){case"neutral":return e?"var(--colorsSemanticNeutral500)":"var(--colorsSemanticNeutral200)";case"gradient-grey":return e?"#00D639":"#0000001A";case"gradient-white":return e?"#00D639":"var(--colorsActionMajorYang100)";case"inverse":return"var(--colorsActionMajorYang100)";default:return e?"var(--colorsActionMajor500)":"var(--colorsActionMajor150)"}},s=i.default.div.withConfig({displayName:"loader-spinner.style__StyledSpinnerWrapper",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),r=require("styled-system"),t=require("./loader-spinner.config.js"),a=require("../typography/typography.component.js");function n(e){return e&&e.__esModule?e:{default:e}}require("react/jsx-runtime"),require("react");var i=n(e);const o=(e,r)=>{switch(r){case"neutral":return e?"var(--colorsSemanticNeutral500)":"var(--colorsSemanticNeutral200)";case"gradient-grey":return e?"#00D639":"#0000001A";case"gradient-white":return e?"#00D639":"var(--colorsActionMajorYang100)";case"inverse":return"var(--colorsActionMajorYang100)";default:return e?"var(--colorsActionMajor500)":"var(--colorsActionMajor150)"}},s=i.default.div.withConfig({displayName:"loader-spinner.style__StyledSpinnerWrapper",componentId:"carbon_v163_0_0__sc-fe9a4dc0-0"})([""," display:flex;flex-direction:",";"],r.margin,(({size:e})=>"extra-small"===e?"row":"column")),c=i.default(a.Typography).withConfig({displayName:"loader-spinner.style__StyledLabel",componentId:"carbon_v163_0_0__sc-fe9a4dc0-1"})(["",""],(({$size:r})=>e.css(["display:flex;justify-content:center;text-align:center;",";"],"extra-small"===r?"margin-left: var(--spacing100)":`margin-top: ${t.LOADER_SPINNER_SIZE_PARAMS[r].labelMarginTop}px`))),d=i.default.svg.withConfig({displayName:"loader-spinner.style__StyledSpinnerCircleSvg",componentId:"carbon_v163_0_0__sc-fe9a4dc0-2"})(["",";"],(({size:r,isTracked:a,hasMotion:n,isGradientVariant:i,animationTime:s,variant:c})=>{const d=`${t.LOADER_SPINNER_SIZE_PARAMS[r].wrapperDimensions}px`;return r&&e.css(["height:",";min-height:",';circle[data-role="outer-arc"]{fill:transparent;stroke-width:',"px;stroke:",";",' cx:12px;cy:12px;r:10px;}circle[data-role="inner-arc"]{fill:transparent;stroke-width:',"px;stroke:",";stroke-linecap:round;stroke-dasharray:100px;stroke-dashoffset:80px;transform-origin:12px 12px 0px;cx:12px;cy:12px;r:10px;transform:rotate(270deg);@keyframes gradientAnimation{0%{stroke:#00d639;}33%{stroke:#11afff;}66%{stroke:#8f49fe;}}@keyframes trackedAnimation{from{stroke-dasharray:100;stroke-dashoffset:100;}to{stroke-dasharray:100;stroke-dashoffset:20;}}@keyframes untrackedAnimation{0%{transform:rotate(0deg);stroke-dasharray:100;}40%{stroke-dasharray:80;}80%{stroke-dasharray:100;}100%{transform:rotate(360deg);}}animation-name:",",",";",";animation-timing-function:cubic-bezier(0.2,0.1,0.8,1);animation-iteration-count:",";"],d,d,t.LOADER_SPINNER_SIZE_PARAMS[r].strokeWidth,o(!1,c),"inverse"===c&&"stroke-opacity: 0.3;",t.LOADER_SPINNER_SIZE_PARAMS[r].strokeWidth,o(!0,c),a&&!i?"trackedAnimation":"untrackedAnimation","gradient-grey"===c||"gradient-white"===c?"gradientAnimation":"none",n&&`animation-duration: ${s}s`,n?"infinite":"none")}));exports.StyledLabel=c,exports.StyledSpinnerCircleSvg=d,exports.StyledSpinnerWrapper=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var a=require("styled-components");function t(a){return a&&a.__esModule?a:{default:a}}var o=t(a);const e=a.keyframes(["0%{transform:translate3d(0px,0px,0px) scale(0.3);opacity:0;}10%{transform:translate3d(0px,0px,0px) scale(0.3);opacity:0;}20%{transform:translate3d(0px,0px,0px) scale(0.6);opacity:1;}35%{transform:translate3d(0px,0px,0px) scale(0.6);opacity:1;}55%{transform:translate3d(16px,-12px,0px) scale(1.4);opacity:1;}60%{transform:translate3d(16px,-12px,0px) scale(1.4);opacity:1;}90%{transform:translate3d(0px,-24px,0px) scale(0.8);opacity:1;}100%{transform:translate3d(0px,-24px,0px) scale(0.6);opacity:0;}"]),s=a.keyframes(["0%{stop-color:#13a038;}10%{stop-color:#13a038;}50%{stop-color:#0092db;}90%{stop-color:#8f49fe;}100%{stop-color:#8f49fe;}"]),i=a.keyframes(["0%{stop-color:#13a038;}10%{stop-color:#13a038;}50%{stop-color:#13a038;}90%{stop-color:#0092db;}100%{stop-color:#0092db;}"]),r="3s",n=o.default.svg.withConfig({displayName:"star.style__StyledStarSVG",componentId:"
|
|
1
|
+
"use strict";var a=require("styled-components");function t(a){return a&&a.__esModule?a:{default:a}}var o=t(a);const e=a.keyframes(["0%{transform:translate3d(0px,0px,0px) scale(0.3);opacity:0;}10%{transform:translate3d(0px,0px,0px) scale(0.3);opacity:0;}20%{transform:translate3d(0px,0px,0px) scale(0.6);opacity:1;}35%{transform:translate3d(0px,0px,0px) scale(0.6);opacity:1;}55%{transform:translate3d(16px,-12px,0px) scale(1.4);opacity:1;}60%{transform:translate3d(16px,-12px,0px) scale(1.4);opacity:1;}90%{transform:translate3d(0px,-24px,0px) scale(0.8);opacity:1;}100%{transform:translate3d(0px,-24px,0px) scale(0.6);opacity:0;}"]),s=a.keyframes(["0%{stop-color:#13a038;}10%{stop-color:#13a038;}50%{stop-color:#0092db;}90%{stop-color:#8f49fe;}100%{stop-color:#8f49fe;}"]),i=a.keyframes(["0%{stop-color:#13a038;}10%{stop-color:#13a038;}50%{stop-color:#13a038;}90%{stop-color:#0092db;}100%{stop-color:#0092db;}"]),r="3s",n=o.default.svg.withConfig({displayName:"star.style__StyledStarSVG",componentId:"carbon_v163_0_0__sc-1b60e449-0"})(["animation:"," "," ease-in-out forwards infinite;height:var(--sizing200);opacity:0;width:var(--sizing200);"],e,r),p=o.default.stop.withConfig({displayName:"star.style__GradientStopTop",componentId:"carbon_v163_0_0__sc-1b60e449-1"})(["animation:"," "," ease-in-out forwards infinite;"],s,r),l=o.default.stop.withConfig({displayName:"star.style__GradientStopBottom",componentId:"carbon_v163_0_0__sc-1b60e449-2"})(["animation:"," "," ease-in-out forwards infinite;"],i,r),d=o.default.div.withConfig({displayName:"star.style__StyledLoaderStarContainer",componentId:"carbon_v163_0_0__sc-1b60e449-3"})(["bottom:0;height:var(--sizing200);left:0;position:absolute;width:var(--sizing200);&.star-1{.ai-star-path{fill:url(#gradient1);}","{animation-delay:-2s;}#gradient1{","{animation-delay:-2s;}","{animation-delay:-2s;}}}&.star-2{.ai-star-path{fill:url(#gradient2);}","{animation-delay:-1s;}#gradient2{","{animation-delay:-1s;}","{animation-delay:-1s;}}}&.star-3{.ai-star-path{fill:url(#gradient3);}","{animation-delay:0s;}#gradient3{","{animation-delay:0s;}","{animation-delay:0s;}}}"],n,p,l,n,p,l,n,p,l);exports.GradientStopBottom=l,exports.GradientStopTop=p,exports.StyledLoaderStarContainer=d,exports.StyledStarSVG=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("../typography/typography.component.js");function r(e){return e&&e.__esModule?e:{default:e}}require("react/jsx-runtime"),require("react");var a=r(e);const o=a.default.div.withConfig({displayName:"loader-star.style__StyledLoaderStarWrapper",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("../typography/typography.component.js");function r(e){return e&&e.__esModule?e:{default:e}}require("react/jsx-runtime"),require("react");var a=r(e);const o=a.default.div.withConfig({displayName:"loader-star.style__StyledLoaderStarWrapper",componentId:"carbon_v163_0_0__sc-d84f526-0"})(["position:relative;width:max-content;"]),d=a.default(t.Typography).withConfig({displayName:"loader-star.style__StyledLabel",componentId:"carbon_v163_0_0__sc-d84f526-1"})(["display:flex;justify-content:center;text-align:center;"]),n=a.default.div.withConfig({displayName:"loader-star.style__StyledStars",componentId:"carbon_v163_0_0__sc-d84f526-2"})(["width:40px;height:40px;"]);exports.StyledLabel=d,exports.StyledLoaderStarWrapper=o,exports.StyledStars=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("../../../../style/themes/apply-base-theme.js"),i=require("../../menu.config.js");function r(e){return e&&e.__esModule?e:{default:e}}var a=r(e);const s=a.default.div.attrs(t.default).withConfig({displayName:"submenu.style__StyledSubmenuWrapper",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("../../../../style/themes/apply-base-theme.js"),i=require("../../menu.config.js");function r(e){return e&&e.__esModule?e:{default:e}}var a=r(e);const s=a.default.div.attrs(t.default).withConfig({displayName:"submenu.style__StyledSubmenuWrapper",componentId:"carbon_v163_0_0__sc-92487cd8-0"})(["position:relative;width:fit-content;max-width:inherit;height:inherit;",""],(({$inFullscreenView:t})=>e.css([""," ",""],t&&e.css(["width:100%;"]),!t&&e.css(["display:flex;"])))),n=a.default.ul.attrs(t.default).withConfig({displayName:"submenu.style__StyledSubmenu",componentId:"carbon_v163_0_0__sc-92487cd8-1"})(["",""],(({$menuVariant:t,$submenuDirection:r,$inFullscreenView:a,$maxHeight:s,$submenuMaxWidth:n,$submenuMinWidth:o,theme:d})=>e.css(["display:block;list-style:none;margin:0;padding:0;background-color:",";"," ",""],i.default[t].submenuItemBackground,!a&&e.css(["position:absolute;top:100%;z-index:",";box-shadow:var(--global-depth-lvl1);width:max-content;min-width:100%;box-sizing:border-box;border-radius:var(--global-radius-none) var(--global-radius-none) var(--global-radius-container-m) var(--global-radius-container-m);overflow-y:auto;"," "," "," "," "," [data-last-menu-item='true']{border-bottom-left-radius:var(--global-radius-container-m);border-bottom-right-radius:var(--global-radius-container-m);}"],d.zIndex.popover,"white"===t&&e.css(["margin-top:-1px;border:var(--global-borderwidth-xs) solid var(--nav-tertiary-border-default);"]),n&&e.css(["max-width:",";"],n),o&&e.css(["min-width:",";"],o),"left"===r&&e.css(["right:0;"]),s&&`max-height: ${s};`),a&&e.css(["min-width:100%;"]))));exports.StyledSubmenu=n,exports.StyledSubmenuWrapper=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),a=require("../menu.config.js");function r(e){return e&&e.__esModule?e:{default:e}}const l=r(e).default.div.withConfig({displayName:"menu-divider.style__StyledDivider",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),a=require("../menu.config.js");function r(e){return e&&e.__esModule?e:{default:e}}const l=r(e).default.div.withConfig({displayName:"menu-divider.style__StyledDivider",componentId:"carbon_v163_0_0__sc-b48c8639-0"})(["",""],(({$menuVariant:r,$size:l,$inFullscreenView:o})=>e.css(["background-color:",";margin:var(--global-space-none) var(--global-space-comp-l);height:1px;"," ",""],a.default[r].divider,o&&e.css(["margin:var(--global-space-comp-s) var(--global-space-comp-l);"]),"large"===l&&e.css(["margin:var(--global-space-none);height:4px;"]))));exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("../../../style/themes/apply-base-theme.js"),l=require("../menu.config.js");function n(e){return e&&e.__esModule?e:{default:e}}var i=n(e);const a=i.default.div.attrs(t.default).withConfig({displayName:"menu-full-screen.style__StyledMenuFullscreen",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("../../../style/themes/apply-base-theme.js"),l=require("../menu.config.js");function n(e){return e&&e.__esModule?e:{default:e}}var i=n(e);const a=i.default.div.attrs(t.default).withConfig({displayName:"menu-full-screen.style__StyledMenuFullscreen",componentId:"carbon_v163_0_0__sc-9603f910-0"})(["",""],(({$startPosition:t,$transitionDuration:l,theme:n})=>e.css(["position:fixed;top:0;bottom:0;z-index:",";&.enter{visibility:hidden;",":-100%;}&.enter-active{visibility:visible;",":0;transition:all ","ms ease;}&.exit{visibility:visible;",":0;}&.exit-active{visibility:hidden;",":-100%;transition:all ","ms ease;}"],n.zIndex.fullScreenModal,t,t,l,t,t,l))),s=i.default.div.attrs(t.default).withConfig({displayName:"menu-full-screen.style__StyledMenuModal",componentId:"carbon_v163_0_0__sc-9603f910-1"})(["",""],(({$menuVariant:t})=>e.css(["height:100vh;width:100vw;outline:none;background-color:",";"],l.default[t].background))),o=i.default.div.withConfig({displayName:"menu-full-screen.style__StyledMenuFullscreenHeader",componentId:"carbon_v163_0_0__sc-9603f910-2"})(["",""],(({$menuVariant:t})=>e.css(["height:var(--global-size-m);display:flex;justify-content:flex-end;align-items:center;padding:var(--global-space-none) var(--global-space-comp-l);margin-bottom:var(--global-space-comp-s);background-color:",";"],l.default[t].fullScreenHeader))),r=i.default.div.withConfig({displayName:"menu-full-screen.style__StyledMenuFullscreenContent",componentId:"carbon_v163_0_0__sc-9603f910-3"})(["overflow-y:auto;width:100%;height:calc(100% - var(--global-size-m) - var(--global-space-comp-s));"]);exports.StyledMenuFullscreen=a,exports.StyledMenuFullscreenContent=r,exports.StyledMenuFullscreenHeader=o,exports.StyledMenuModal=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),o=require("../menu.config.js"),a=require("../../../style/themes/apply-base-theme.js"),s=require("../../../style/utils/add-focus-styling.js");function r(e){return e&&e.__esModule?e:{default:e}}var l=r(e);const n=l.default.li.attrs(a.default).withConfig({displayName:"menu-item.style__StyledMenuItem",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),o=require("../menu.config.js"),a=require("../../../style/themes/apply-base-theme.js"),s=require("../../../style/utils/add-focus-styling.js");function r(e){return e&&e.__esModule?e:{default:e}}var l=r(e);const n=l.default.li.attrs(a.default).withConfig({displayName:"menu-item.style__StyledMenuItem",componentId:"carbon_v163_0_0__sc-338885db-0"})(["display:flex;list-style:none;align-items:stretch;min-height:var(--global-size-m);"," "," ",""],t.layout,t.flexbox,(({$inSubmenu:t,$removeHeight:o,$inFullscreenView:a,$maxWidth:s})=>e.css([""," "," ",""],t&&e.css(["display:list-item;",""],a&&e.css(["width:100%;"])),o&&e.css(["min-height:0;"]),s&&e.css(["max-width:",";"],s)))),i=e.css(['padding:0;.popover-open-component{[data-component="button"]{background-color:inherit;color:inherit;border-radius:inherit;border:none;padding:var(--global-space-comp-xs) var(--global-space-comp-l);&:focus{','}}[data-popover-container-button="true"]{background-color:var(--colorsActionMajor500);&:focus{background-color:var(--colorsActionMajor500);}}}'],s.default(!0)),c=l.default.a.attrs(a.default).withConfig({displayName:"menu-item.style__StyledMenuItemWrapper",componentId:"carbon_v163_0_0__sc-338885db-1"})(["",""],(({$menuVariant:a,$selected:r,$hasSubmenu:l,$isOpen:n,$menuItemVariant:c,$maxWidth:d,$inFullscreenView:u,$asPassiveItem:m,$asDiv:p,$inSubmenu:b,$submenuMaxWidth:g,theme:f})=>e.css(["position:relative;display:flex;align-items:center;box-sizing:border-box;min-height:var(--global-size-m);text-decoration:none;text-align:left;font:var(--global-font-static-comp-medium-m);padding:var(--global-space-comp-xs) var(--global-space-comp-l);background-color:",";color:",";border:none;"," "," "," "," "," "," &:has([data-component='popover-container']){","}"],o.default[a].background,o.default[a].color,t.padding,d&&e.css(["max-width:",";"],d),u&&e.css(["width:100%;font:var(--global-font-static-comp-medium-l);",""],l&&e.css(["color:",";"],o.default[a].title)),!m&&!p&&e.css(["&:hover{cursor:pointer;background-color:",";color:",";}&:focus{","}&:active{background-color:",";color:",";}"],o.default[a].backgroundHover,o.default[a].colorHover,s.default(!0),o.default[a].backgroundActive,o.default[a].colorActive),r&&e.css(['&::before{content:"";position:absolute;width:var(--global-size-xs);height:var(--global-size-6-xs);background-color:var(--nav-primary-bg-selected);'," ","}"],!u&&e.css(["bottom:0px;left:50%;transform:translate(-50%,0%);width:var(--global-size-xs);height:var(--global-size-6-xs);"]),u&&e.css(["left:0px;top:50%;transform:translate(0%,-50%);height:var(--global-size-xs);width:var(--global-size-6-xs);"])),!u&&e.css([""," ",""],l&&n&&e.css(["z-index:calc("," + 1);background-color:",";",""],f.zIndex.popover,o.default[a].submenuOpenedBackground,"white"===a&&e.css(["box-shadow:inset 1px 0 0 var(--nav-tertiary-border-default),inset -1px 0 0 var(--nav-tertiary-border-default);"])),b&&e.css(["width:100%;background-color:",";"," ",""],o.default[a].submenuItemBackground,"alternate"===c&&e.css(["background-color:",";"],o.default[a].alternate),g&&e.css(["max-width:",";"],g))),i))),d=l.default.span.withConfig({displayName:"menu-item.style__StyledMenuItemContent",componentId:"carbon_v163_0_0__sc-338885db-2"})(["",""],(({$hasMaxWidth:t})=>e.css(["display:flex;align-items:center;gap:var(--global-space-comp-s);width:100%;"," .search{width:100%;}"],t&&e.css(["display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;"]))));exports.StyledMenuItem=n,exports.StyledMenuItemContent=d,exports.StyledMenuItemWrapper=c,exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),a=require("../menu.config.js");function t(e){return e&&e.__esModule?e:{default:e}}var l=t(e);const n=l.default.h2.withConfig({displayName:"menu-segment-title.style__StyledTitle",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),a=require("../menu.config.js");function t(e){return e&&e.__esModule?e:{default:e}}var l=t(e);const n=l.default.h2.withConfig({displayName:"menu-segment-title.style__StyledTitle",componentId:"carbon_v163_0_0__sc-6f99340f-0"})(["",""],(({$menuVariant:t,$variant:l,$shouldWrap:n,$isInFullscreen:o})=>e.css(["margin:var(--global-space-none);padding:var(--global-space-comp-s) var(--global-space-comp-l) var(--global-space-none);text-transform:uppercase;cursor:default;white-space:",";font-size:12px;font-weight:500;line-height:150%;color:",";background-color:",";"," ",""],n?"normal":"nowrap",a.default[t].title,a.default[t].submenuItemBackground,"alternate"===l&&e.css(["background-color:",";"],a.default[t].alternate),o&&e.css(["background-color:",";padding:var(--global-space-comp-s) var(--global-space-comp-l);"],a.default[t].background)))),o=l.default.ul.withConfig({displayName:"menu-segment-title.style__StyledSegmentChildren",componentId:"carbon_v163_0_0__sc-6f99340f-1"})(["padding:0;"]);exports.StyledSegmentChildren=o,exports.StyledTitle=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system");function l(e){return e&&e.__esModule?e:{default:e}}const n=l(e).default.ul.withConfig({displayName:"menu.style__StyledMenuWrapper",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system");function l(e){return e&&e.__esModule?e:{default:e}}const n=l(e).default.ul.withConfig({displayName:"menu.style__StyledMenuWrapper",componentId:"carbon_v163_0_0__sc-5b0dbbae-0"})(["list-style:none;margin:0;padding:0;outline:none;display:flex;align-items:stretch;min-height:var(--global-size-m);"," "," ",""],t.layout,t.flexbox,(({$inFullscreenView:t})=>t&&e.css(["flex-direction:column;"])));exports.StyledMenuWrapper=n,exports.default=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components");function l(e){return e&&e.__esModule?e:{default:e}}var o=l(e);const t=o.default.li.withConfig({displayName:"scrollable-block.style__StyledScrollableBlock",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components");function l(e){return e&&e.__esModule?e:{default:e}}var o=l(e);const t=o.default.li.withConfig({displayName:"scrollable-block.style__StyledScrollableBlock",componentId:"carbon_v163_0_0__sc-50e9ce29-0"})(['[data-last-menu-item="true"]{border-bottom-right-radius:var(--global-radius-none);}']),r=o.default.ul.withConfig({displayName:"scrollable-block.style__ScrollableContainer",componentId:"carbon_v163_0_0__sc-50e9ce29-1"})(["",""],(({$height:l,$maxHeight:o})=>e.css(["list-style:none;margin:0;padding:0;overflow-y:scroll;overscroll-behavior-y:none;"," ",""],l&&e.css(["height:",";"],"number"==typeof l?`${l}px`:l),o&&e.css(["max-height:",";"],"number"==typeof o?`${o}px`:o))));exports.ScrollableContainer=r,exports.StyledScrollableBlock=t,exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),a=require("styled-system"),s=require("../../style/themes/apply-base-theme.js"),t=require("./message.config.js");function r(e){return e&&e.__esModule?e:{default:e}}var o=r(e);const n=o.default.div.attrs(s.default).withConfig({displayName:"message.style__MessageStyle",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),a=require("styled-system"),s=require("../../style/themes/apply-base-theme.js"),t=require("./message.config.js");function r(e){return e&&e.__esModule?e:{default:e}}var o=r(e);const n=o.default.div.attrs(s.default).withConfig({displayName:"message.style__MessageStyle",componentId:"carbon_v163_0_0__sc-8540121a-0"})(["position:relative;display:flex;box-sizing:border-box;border-radius:var(--global-radius-container-m);overflow:hidden;border:var(--global-borderwidth-xs) solid ",";background-color:var(--message-contextual-bg);max-width:720px;:focus{outline:none;}"," "," "," ",""],(({variant:e})=>t.variantPrimaryColorBorder[e]),(({isSubtle:a,variant:s})=>a&&e.css(["border:",";background-color:",";"],(e=>{switch(e){case"info":return"var(--global-borderwidth-xs) solid var(--message-contextual-info-border-alt)";case"success":return"var(--global-borderwidth-xs) solid var(--message-contextual-success-border-alt)";case"warning":return"var(--global-borderwidth-xs) solid var(--message-contextual-warning-border-alt)";case"ai":return"var(--global-borderwidth-xs) solid var(--message-contextual-ai-border-alt)";default:return"none"}})(s),t.variantSubtleColor[s])),(({transparent:a})=>a&&e.css(["border:none;background:transparent;"])),(({width:e})=>e&&`width: ${e};`),a.margin),i=o.default.div.withConfig({displayName:"message.style__MessageWrapper",componentId:"carbon_v163_0_0__sc-8540121a-1"})(["display:flex;align-items:flex-start;flex:1 0 0;"]),l=o.default.div.withConfig({displayName:"message.style__MessageContent",componentId:"carbon_v163_0_0__sc-8540121a-2"})(["display:flex;flex:1 0 0;",""],(({size:a,isSubtle:s})=>e.css(["padding:",";",""],t.sizeMap[a].padding,s&&e.css(["gap:",";"],t.sizeMap[a].subtleGap)))),d=o.default.div.withConfig({displayName:"message.style__MessageContentWrapper",componentId:"carbon_v163_0_0__sc-8540121a-3"})(["display:flex;flex-direction:column;justify-content:center;color:var(--message-contextual-txt);",""],(({size:a})=>e.css(["gap:",";font:",";"],t.sizeMap[a].contentGap,t.sizeMap[a].contentFont))),c=o.default.p.withConfig({displayName:"message.style__MessageTitle",componentId:"carbon_v163_0_0__sc-8540121a-4"})(["",""],(({size:a})=>e.css(["margin:0;font:",";"],t.sizeMap[a].titleFont))),p=o.default.div.withConfig({displayName:"message.style__CloseButtonWrapper",componentId:"carbon_v163_0_0__sc-8540121a-5"})(["",""],(({size:a})=>e.css(["padding:",";"],t.sizeMap[a].closeButtonPadding))),g=o.default.div.withConfig({displayName:"message.style__TypeIconStyle",componentId:"carbon_v163_0_0__sc-8540121a-6"})(["",""],(({transparent:a,isSubtle:s,variant:r})=>e.css(["display:flex;span{width:var(--global-size-2-xs);height:var(--global-size-2-xs);}"," ",""],!s&&e.css(["background-color:",";justify-content:center;align-items:center;width:var(--global-size-s);span{&:before{color:var(--message-contextual-icon);}}"],t.variantPrimaryColor[r]),(s||a)&&e.css(["background-color:transparent;span{&:before{color:",";}}"],t.variantSubtleIconColor[r]))));exports.CloseButtonWrapper=p,exports.MessageContent=l,exports.MessageContentWrapper=d,exports.MessageStyle=n,exports.MessageTitle=c,exports.MessageWrapper=i,exports.TypeIconStyle=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),n=require("../../hooks/__internal__/useClickAwayListener/useClickAwayListener.js"),r=require("../split-button/__internal__/split-button.context.js"),o=require("./multi-action-button.style.js"),i=require("../split-button/split-button.style.js"),u=require("../button/__next__/button.component.js"),l=require("../icon/icon.component.js");require("../icon/icon.style.js"),require("../../style/utils/filter-styled-system-padding-props.js");var s=require("../../style/utils/filter-styled-system-margin-props.js"),a=require("../../style/utils/filter-out-styled-system-spacing-props.js"),c=require("../../hooks/__internal__/useChildButtons/useChildButtons.js"),d=require("../../hooks/__internal__/useAdaptiveSidebarModalFocus/useAdaptiveSidebarModalFocus.js"),p=require("../../__internal__/utils/helpers/guid/index.js"),m=require("../../__internal__/popover-menu/popover-menu.component.js");require("../../__internal__/popover-menu/menu-item/menu-item.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-content/menu-item-leading.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-content/menu-item-label.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-content/menu-item-subtext.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-divider/menu-item-divider.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-heading/menu-item-heading.component.js");var _=require("../../__internal__/utils/helpers/combine-refs/index.js"),b=require("./__internal__/multi-action-button.context.js");require("../table/__internal__/contexts/table.context.js"),require("../table/__internal__/contexts/table-row.context.js"),require("../table/__internal__/contexts/table-footer.context.js"),require("../table/__internal__/contexts/sub-row.context.js"),require("../table/__internal__/contexts/table-header.context.js");var f=require("../table/__internal__/contexts/table-body.context.js");function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){j(e,t,n[t])}))}return e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}const v=t.forwardRef(((j,v)=>{var{align:x="left",position:g="right",disabled:O,buttonType:q="primary",size:w="medium",children:k,text:P,subtext:B,width:C,onClick:S,"data-element":W,"data-role":E,isWhite:M,menuWidth:A,fullWidth:D}=j,T=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(j,["align","position","disabled","buttonType","size","children","text","subtext","width","onClick","data-element","data-role","isWhite","menuWidth","fullWidth"]);const L=t.useRef(null),{isInTable:R}=t.useContext(f.default),z=t.useRef(p.default());t.useImperativeHandle(v,(()=>({focusMainButton(){var e;null===(e=L.current)||void 0===e||e.focus({preventScroll:!0})}})),[]);const{showAdditionalButtons:I,hideButtons:F,showButtons:H,buttonNode:K,handleToggleButtonKeyDown:N}=c.default(L),G=n.default(F),J=t.useCallback((e=>t=>{var n;null==e||e(t),F(),null===(n=L.current)||void 0===n||n.focus()}),[F]),Q=e=>{null==S||S(e),I?F():H(),G()};return d.default((()=>F())),t.useEffect((()=>{if(!R)return;const e=e=>{e.target instanceof HTMLElement&&"popup-backdrop"===e.target.dataset.role&&I&&F()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[F,R,I]),e.jsxs(o.default,h(y({ref:K,"data-component":"multi-action-button","data-element":W,"data-role":E,displayed:I,width:C},s.default(T)),{children:[R&&I&&e.jsx(i.StyledBackdrop,{"data-role":"popup-backdrop"}),e.jsx(r.default.Provider,{value:{inSplitButton:I,onChildButtonClick:J},children:e.jsx(b.default.Provider,{value:{align:x},children:e.jsx(m.default,{open:I,onOpen:H,onClose:F,size:w,placement:"left"===g?"bottom-start":"bottom-end",isButtonMenu:!0,id:z.current,controlReference:K,matchReferenceWidth:D,popoverStrategy:"fixed",width:A,controlWrapperStyle:{width:C?"100%":void 0},popoverControl:(t,n)=>{const r=_.default(t,L);return e.jsxs(u.Button,h(y(h(y({},n),{className:I?"active":"","data-element":"toggle-button",ref:r,iconPosition:"after",disabled:O,variantType:q,size:w,subtext:B,onKeyDown:N,onClick:Q,isWhite:M,fullWidth:!!C}),a.default(T)),{children:[P,e.jsx(l.default,{type:"dropdown",color:"inherit",bg:"transparent"})]}))},children:k})})})]}))}));exports.MultiActionButton=v,exports.default=v;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),n=require("../../hooks/__internal__/useClickAwayListener/useClickAwayListener.js"),r=require("../split-button/__internal__/split-button.context.js"),o=require("./multi-action-button.style.js"),i=require("../split-button/split-button.style.js"),u=require("../button/__next__/button.component.js"),l=require("../icon/icon.component.js");require("../icon/icon.style.js"),require("../../style/utils/filter-styled-system-padding-props.js");var s=require("../../style/utils/filter-styled-system-margin-props.js"),a=require("../../style/utils/filter-out-styled-system-spacing-props.js"),c=require("../../hooks/__internal__/useChildButtons/useChildButtons.js"),d=require("../../hooks/__internal__/useAdaptiveSidebarModalFocus/useAdaptiveSidebarModalFocus.js"),p=require("../../__internal__/utils/helpers/guid/index.js"),m=require("../../__internal__/popover-menu/popover-menu.component.js");require("../../__internal__/popover-menu/menu-item/menu-item.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-content/menu-item-leading.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-content/menu-item-label.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-content/menu-item-subtext.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-divider/menu-item-divider.component.js"),require("../../__internal__/popover-menu/menu-item/menu-item-heading/menu-item-heading.component.js");var _=require("../../__internal__/utils/helpers/combine-refs/index.js"),b=require("./__internal__/multi-action-button.context.js");require("../table/__internal__/contexts/table.context.js"),require("../table/__internal__/contexts/table-row.context.js"),require("../table/__internal__/contexts/table-footer.context.js"),require("../table/__internal__/contexts/sub-row.context.js"),require("../table/__internal__/contexts/table-header.context.js");var f=require("../table/__internal__/contexts/table-body.context.js");function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){j(e,t,n[t])}))}return e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}const v=t.forwardRef(((j,v)=>{var{align:x="left",position:g="right",disabled:O,buttonType:q="primary",size:w="medium",children:k,text:P,subtext:B,width:C,onClick:S,"data-element":W,"data-role":E,isWhite:M,menuWidth:A,fullWidth:D}=j,T=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(j,["align","position","disabled","buttonType","size","children","text","subtext","width","onClick","data-element","data-role","isWhite","menuWidth","fullWidth"]);const L=t.useRef(null),{isInTable:R}=t.useContext(f.default),z=t.useRef(p.default());t.useImperativeHandle(v,(()=>({focusMainButton(){var e;null===(e=L.current)||void 0===e||e.focus({preventScroll:!0})}})),[]);const{showAdditionalButtons:I,hideButtons:F,showButtons:H,buttonNode:K,handleToggleButtonKeyDown:N}=c.default(L),G=n.default(F),J=t.useCallback((e=>t=>{var n;null==e||e(t),F(),null===(n=L.current)||void 0===n||n.focus()}),[F]),Q=e=>{null==S||S(e),I?F():H(),G()};return d.default((()=>F())),t.useEffect((()=>{if(!R)return;const e=e=>{e.target instanceof HTMLElement&&"popup-backdrop"===e.target.dataset.role&&I&&F()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[F,R,I]),e.jsxs(o.default,h(y({ref:K,"data-component":"multi-action-button","data-element":W,"data-role":E,displayed:I,width:C},s.default(T)),{children:[R&&I&&e.jsx(i.StyledBackdrop,{"data-role":"popup-backdrop"}),e.jsx(r.default.Provider,{value:{inSplitButton:I,onChildButtonClick:J},children:e.jsx(b.default.Provider,{value:{align:x},children:e.jsx(m.default,{open:I,onOpen:H,onClose:F,size:w,placement:"left"===g?"bottom-start":"bottom-end",isButtonMenu:!0,disablePortal:!R,id:z.current,controlReference:K,matchReferenceWidth:D,popoverStrategy:"fixed",width:A,controlWrapperStyle:{width:C?"100%":void 0},popoverControl:(t,n)=>{const r=_.default(t,L);return e.jsxs(u.Button,h(y(h(y({},n),{className:I?"active":"","data-element":"toggle-button",ref:r,iconPosition:"after",disabled:O,variantType:q,size:w,subtext:B,onKeyDown:N,onClick:Q,isWhite:M,fullWidth:!!C}),a.default(T)),{children:[P,e.jsx(l.default,{type:"dropdown",color:"inherit",bg:"transparent"})]}))},children:k})})})]}))}));exports.MultiActionButton=v,exports.default=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),i=require("../../style/themes/apply-base-theme.js"),s=require("../../style/utils/element-sizing.js");function l(e){return e&&e.__esModule?e:{default:e}}const r=l(e).default.div.attrs(i.default).withConfig({displayName:"multi-action-button.style__StyledMultiActionButton",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),i=require("../../style/themes/apply-base-theme.js"),s=require("../../style/utils/element-sizing.js");function l(e){return e&&e.__esModule?e:{default:e}}const r=l(e).default.div.attrs(i.default).withConfig({displayName:"multi-action-button.style__StyledMultiActionButton",componentId:"carbon_v163_0_0__sc-6667b8ee-0"})([""," display:inline-block;position:relative;",' form & [data-role="menu-wrapper"]{z-index:1001;}'],t.margin,(({width:t})=>t&&e.css(["",""],s.default({width:t}))));exports.default=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("styled-components"),e=require("styled-system"),r=require("../../style/themes/apply-base-theme.js");function t(a){return a&&a.__esModule?a:{default:a}}const n=t(a).default.nav.attrs(r.default).withConfig({displayName:"navigation-bar.style__StyledNavigationBar",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("styled-components"),e=require("styled-system"),r=require("../../style/themes/apply-base-theme.js");function t(a){return a&&a.__esModule?a:{default:a}}const n=t(a).default.nav.attrs(r.default).withConfig({displayName:"navigation-bar.style__StyledNavigationBar",componentId:"carbon_v163_0_0__sc-c7124150-0"})(["display:flex;align-items:center;padding:0 40px;min-height:40px;& > *{box-sizing:border-box;vertical-align:middle;}@media only screen and (max-width:1259px){padding:0 32px;}@media only screen and (max-width:959px){padding:0 24px;}@media only screen and (max-width:599px){padding:0 16px;}&&{","}"," .carbon-logo{margin-right:10px;}"," ",""],e.padding,e.flexbox,(({$position:e,$orientation:r,$offset:t})=>e&&r&&a.css(["position:",";",":",";",""],e,r,t,"fixed"===e&&a.css(["box-sizing:border-box;width:100%;"]))),(({$variant:e})=>a.css(['&[data-component="global-header"]{z-index:var(--carbon-zindex-global-nav);}&:not([data-component="global-header"]){z-index:var(--carbon-zindex-nav);}'," ",""],"black"===e&&a.css(["background-color:var(--nav-primary-bg-default);color:var(--nav-primary-label-default);"]),"white"===e&&a.css(["background-color:var(--nav-tertiary-bg-default);border-bottom:var(--global-borderwidth-xs) solid var(--nav-tertiary-border-default);color:var(--nav-tertiary-label-default);"]))));exports.default=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),a=require("styled-system"),o=require("../../style/themes/apply-base-theme.js"),t=require("../typography/typography.component.js");function l(e){return e&&e.__esModule?e:{default:e}}var n=l(e);const r=n.default.div.withConfig({displayName:"note.style__StyledNoteContent",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),a=require("styled-system"),o=require("../../style/themes/apply-base-theme.js"),t=require("../typography/typography.component.js");function l(e){return e&&e.__esModule?e:{default:e}}var n=l(e);const r=n.default.div.withConfig({displayName:"note.style__StyledNoteContent",componentId:"carbon_v163_0_0__sc-5ea7ec6f-0"})(["position:relative;"," "," "," ",";"],(({$isBody:a})=>a&&e.css(["display:flex;flex-direction:column;flex:1;gap:var(--global-space-comp-l);min-width:0;padding:var(--global-space-comp-xl);> div[readonly]{padding:var(--global-space-none);}"])),(({$hasPreviews:a})=>a&&e.css(["margin-top:var(--global-space-comp-l);"])),(({$hasTitlelessControl:a})=>a&&e.css(['[role="article"]{padding-inline-end:calc( var(--global-size-m) + var(--global-space-comp-l) );}'])),(({$isPreviews:a})=>e.css([""," ",""],!a&&e.css(["a{color:var(--link-typical-label-default);&:hover{cursor:pointer;color:var(--link-typical-label-hover);}&:focus{outline:none;text-decoration:none;color:var(--focus-label);background-color:var(--focus-bg);border-radius:var(--global-radius-action-xs);box-shadow:0 var(--global-size-5-xs) 0 0 var(--focus-borderalt);}}"]),a&&e.css(["display:flex;flex-direction:column;gap:var(--global-space-comp-s);"])))),i=n.default.div.withConfig({displayName:"note.style__StyledNoteMain",componentId:"carbon_v163_0_0__sc-5ea7ec6f-1"})(['[role="article"]{color:var(--container-standard-txt-default);font:var(--global-font-static-body-regular-m);> :last-child{margin-bottom:var(--global-space-none);}}']),s=n.default.h3.withConfig({displayName:"note.style__StyledNoteTitle",componentId:"carbon_v163_0_0__sc-5ea7ec6f-2"})(["color:var(--container-standard-txt-default);font:var(--global-font-static-heading-m);margin:var(--global-space-none);"]),d=n.default.div.withConfig({displayName:"note.style__StyledInlineControl",componentId:"carbon_v163_0_0__sc-5ea7ec6f-3"})(["display:inline-flex;flex:0 0 var(--global-size-m);height:var(--global-size-m);min-width:fit-content;width:var(--global-size-m);",""],(({$isTitleless:a})=>a&&e.css(["inset-inline-end:var(--global-space-comp-xl);position:absolute;top:var(--global-space-comp-xl);"]))),c=n.default.div.withConfig({displayName:"note.style__StyledTitleRow",componentId:"carbon_v163_0_0__sc-5ea7ec6f-4"})(["align-items:flex-start;display:flex;gap:var(--global-space-comp-l);justify-content:flex-end;min-width:0;width:100%;> :not(","){flex:1;min-width:0;padding-top:var(--global-space-comp-xs);}"],d),p=n.default.div.withConfig({displayName:"note.style__StyledTitleWrapper",componentId:"carbon_v163_0_0__sc-5ea7ec6f-5"})(["",""],t.VARIANT_TYPES.map((e=>`\n ${e}{\n font: var(--global-font-static-heading-m);\n }\n `))),g=n.default.div.withConfig({displayName:"note.style__StyledFooterContent",componentId:"carbon_v163_0_0__sc-5ea7ec6f-6"})(["display:flex;flex-direction:column;gap:var(--global-space-comp-xs);> span{color:var(--container-standard-txt-default);font:var(--global-font-static-comp-medium-m);}"," time{color:var(--container-standard-txt-alt);font:var(--global-font-static-comp-regular-xs);}"],(({$isName:a})=>a&&e.css(["color:var(--container-standard-txt-default);font:var(--global-font-static-section-heading-s);"]))),m=n.default.div.withConfig({displayName:"note.style__StyledFooter",componentId:"carbon_v163_0_0__sc-5ea7ec6f-7"})(["display:flex;flex-direction:column;gap:var(--global-space-comp-s);padding:var(--global-space-comp-l) var(--global-space-none) var(--global-space-comp-xl);"]),v=n.default.div.withConfig({displayName:"note.style__StyledTimestamps",componentId:"carbon_v163_0_0__sc-5ea7ec6f-8"})(["display:flex;flex-direction:column;gap:var(--global-space-comp-xl);"]),b=n.default.div.attrs(o.default).withConfig({displayName:"note.style__StyledNote",componentId:"carbon_v163_0_0__sc-5ea7ec6f-9"})(["",' > [data-role="note-metadata"]{border-radius:var(--global-radius-action-xs) var(--global-radius-action-xs) var(--global-radius-none) var(--global-radius-none);border-top-color:var(--container-standard-border-default);border-top-style:solid;border-top-width:var(--global-borderwidth-xs);margin-left:var(--global-space-comp-xl);margin-right:var(--global-space-comp-xl);}> [data-role="note-previews"]{padding:var(--global-space-none) var(--global-space-comp-xl) var(--global-space-comp-xl);}.textBold{font-weight:bold !important;}.textItalic{font-style:italic;}.textUnderline{text-decoration:underline;}.mention{cursor:default !important;}',""],(({width:a})=>e.css(["background-color:var(--container-standard-bg-default);border:var(--global-borderwidth-xs) solid var(--container-standard-border-default);border-radius:var(--global-radius-action-m);display:flex;flex-direction:column;min-width:288px;padding:var(--global-space-none);position:relative;width:","%;box-sizing:border-box;","{box-sizing:border-box;width:auto;}"],a,r)),a.margin);exports.StyledFooter=m,exports.StyledFooterContent=g,exports.StyledInlineControl=d,exports.StyledNote=b,exports.StyledNoteContent=r,exports.StyledNoteMain=i,exports.StyledNoteTitle=s,exports.StyledTimestamps=v,exports.StyledTitleRow=c,exports.StyledTitleWrapper=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("styled-components");function e(a){return a&&a.__esModule?a:{default:a}}const l={small:{font:"var(--global-font-static-comp-regular-s)",gap:"var(--global-space-comp-m)"},medium:{font:"var(--global-font-static-comp-regular-m)",gap:"var(--global-space-comp-l)"},large:{font:"var(--global-font-static-comp-regular-l)",gap:"var(--global-space-comp-xl)"}},t=e(a).default.div.withConfig({displayName:"numeral-date.style__StyledNumeralDate",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("styled-components");function e(a){return a&&a.__esModule?a:{default:a}}const l={small:{font:"var(--global-font-static-comp-regular-s)",gap:"var(--global-space-comp-m)"},medium:{font:"var(--global-font-static-comp-regular-m)",gap:"var(--global-space-comp-l)"},large:{font:"var(--global-font-static-comp-regular-l)",gap:"var(--global-space-comp-xl)"}},t=e(a).default.div.withConfig({displayName:"numeral-date.style__StyledNumeralDate",componentId:"carbon_v163_0_0__sc-cb8089db-0"})(["display:inline-flex;",""],(({$size:e})=>a.css(["gap:",";.numeral-date-wrapper label{font:",";}"],l[e].gap,l[e].font)));exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var o=require("styled-components"),t=require("../../style/utils/add-focus-styling.js"),e=require("../icon/icon.component.js");function i(o){return o&&o.__esModule?o:{default:o}}require("../icon/icon.style.js");var a=i(o);const r=a.default.span.withConfig({displayName:"option-tile.style__StyledNumberBadge",componentId:"
|
|
1
|
+
"use strict";var o=require("styled-components"),t=require("../../style/utils/add-focus-styling.js"),e=require("../icon/icon.component.js");function i(o){return o&&o.__esModule?o:{default:o}}require("../icon/icon.style.js");var a=i(o);const r=a.default.span.withConfig({displayName:"option-tile.style__StyledNumberBadge",componentId:"carbon_v163_0_0__sc-7fa99ef1-0"})(["box-sizing:border-box;flex-shrink:0;min-width:var(--global-size-xs);height:var(--global-size-xs);display:inline-flex;align-items:center;justify-content:center;padding:0 var(--global-space-comp-xs);border:var(--global-borderwidth-xs) solid var(--input-quickpick-border-default);border-radius:var(--global-radius-action-circle);background-color:var(--input-quickpick-bg-default);color:var(--container-action-txt-default);font:var(--global-font-static-comp-medium-m);font-variant-numeric:tabular-nums;"]),l=a.default(e.default).withConfig({displayName:"option-tile.style__StyledCustomIcon",componentId:"carbon_v163_0_0__sc-7fa99ef1-1"})(["flex-shrink:0;width:var(--global-size-3-xs);height:var(--global-size-3-xs);margin-left:4px;font-size:var(--global-size-3-xs);line-height:var(--global-size-3-xs);color:var(--container-action-icon-default);&::before{font-size:var(--global-size-3-xs);line-height:var(--global-size-3-xs);}"]),n=a.default.span.withConfig({displayName:"option-tile.style__StyledTileText",componentId:"carbon_v163_0_0__sc-7fa99ef1-2"})(["font:var(--global-font-static-comp-regular-m);text-align:left;"]),c=a.default.span.withConfig({displayName:"option-tile.style__StyledCheckboxDecoration",componentId:"carbon_v163_0_0__sc-7fa99ef1-3"})(["box-sizing:border-box;flex-shrink:0;width:var(--global-size-2-xs);height:var(--global-size-2-xs);display:inline-flex;align-items:center;justify-content:center;border:var(--global-borderwidth-xs) solid var(--input-typical-border-default);border-radius:var(--global-radius-action-s);background-color:var(--input-typical-bg-default);svg{width:14px;height:auto;}svg path{fill:transparent;}",""],(({$isSelected:t})=>t&&o.css(["svg path{fill:var(--input-typical-icon-active);}"]))),s=a.default.input.withConfig({displayName:"option-tile.style__StyledCustomInput",componentId:"carbon_v163_0_0__sc-7fa99ef1-4"})(["box-sizing:border-box;flex:1 1 auto;width:100%;height:var(--global-size-s);min-width:0;padding:0 var(--global-space-comp-s);border:var(--global-borderwidth-xs) solid var(--input-typical-border-default);border-radius:var(--global-radius-action-m);background-color:var(--input-typical-bg-default);color:var(--container-action-txt-default);font:var(--global-font-static-comp-regular-m);text-overflow:clip;white-space:nowrap;&:focus{","}"],t.default()),d=o.css(["box-sizing:border-box;width:424px;height:48px;display:flex;align-items:center;gap:var(--global-space-comp-m);padding:12px;border:var(--global-borderwidth-xs) solid transparent;border-radius:var(--global-radius-container-m);background-color:var(--container-action-bg-default);color:var(--container-action-txt-default);cursor:pointer;transition:border-color 0.15s ease,background-color 0.15s ease;&:hover{background-color:var(--input-quickpick-bg-hover);color:var(--container-action-txt-hover);}&:focus-visible{","}",""],t.default(),(({$isDisabled:t})=>t&&o.css(["cursor:not-allowed;background-color:var(--container-action-bg-disabled);border-color:transparent;color:var(--container-action-txt-disabled);&:hover{background-color:var(--container-action-bg-disabled);color:var(--container-action-txt-disabled);}","{border-color:var(--container-action-border-inactive);color:var(--container-action-txt-disabled);}","{border-color:var(--input-typical-border-disabled);background-color:var(--input-typical-bg-disabled);svg path{fill:var(--input-typical-icon-disabled);}}","{color:var(--container-action-txt-disabled);}"],r,c,l))),p=a.default.button.withConfig({displayName:"option-tile.style__StyledOptionTileButton",componentId:"carbon_v163_0_0__sc-7fa99ef1-5"})([""," text-align:left;&:hover ","{background-color:var(--input-quickpick-bg-hover);border-color:var(--input-quickpick-border-hover);}"],d,r),u=a.default.div.withConfig({displayName:"option-tile.style__StyledOptionTileMultiple",componentId:"carbon_v163_0_0__sc-7fa99ef1-6"})([""," ",""],d,(({$isSelected:t,$isDisabled:e})=>t&&!e&&o.css(["background-color:var(--input-quickpick-bg-active);border-color:transparent;color:var(--input-quickpick-txt-active);&:hover{background-color:var(--input-quickpick-bg-active);color:var(--input-quickpick-txt-active);}"]))),b=a.default.div.withConfig({displayName:"option-tile.style__StyledOptionTileCustomActive",componentId:"carbon_v163_0_0__sc-7fa99ef1-7"})([""," background-color:var(--input-quickpick-bg-active);border-color:transparent;cursor:text;&:hover{background-color:var(--input-quickpick-bg-active);}"],d),v=a.default.div.withConfig({displayName:"option-tile.style__StyledOptionTileGroup",componentId:"carbon_v163_0_0__sc-7fa99ef1-8"})(["display:flex;flex-direction:column;align-items:flex-start;gap:4px;"]);exports.StyledCheckboxDecoration=c,exports.StyledCustomIcon=l,exports.StyledCustomInput=s,exports.StyledNumberBadge=r,exports.StyledOptionTileButton=p,exports.StyledOptionTileCustomActive=b,exports.StyledOptionTileGroup=v,exports.StyledOptionTileMultiple=u,exports.StyledTileText=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var a=require("styled-components");function t(a){return a&&a.__esModule?a:{default:a}}var e=t(a);const i={small:{width:"var(--global-size-s)"},medium:{width:"var(--global-size-m)"}},n=e.default.div.withConfig({displayName:"pagination-navigation.style__StyledPaginationNavigation",componentId:"
|
|
1
|
+
"use strict";var a=require("styled-components");function t(a){return a&&a.__esModule?a:{default:a}}var e=t(a);const i={small:{width:"var(--global-size-s)"},medium:{width:"var(--global-size-m)"}},n=e.default.div.withConfig({displayName:"pagination-navigation.style__StyledPaginationNavigation",componentId:"carbon_v163_0_0__sc-17846a48-0"})(["",""],(({$alignment:t})=>a.css(["display:flex;align-items:center;gap:var(--global-space-comp-xs);flex:1 0 0;",""],"centred"===t&&a.css(["justify-content:center;"])))),o=e.default.div.withConfig({displayName:"pagination-navigation.style__StyledButtonWrapper",componentId:"carbon_v163_0_0__sc-17846a48-1"})(["",""],(({$visible:t})=>a.css(["visibility:",";"],t?"visible":"hidden"))),s=e.default.div.withConfig({displayName:"pagination-navigation.style__StyledCurrentPageContainer",componentId:"carbon_v163_0_0__sc-17846a48-2"})(["display:flex;align-items:center;gap:var(--global-space-comp-s);white-space:nowrap;"]),l=e.default.span.withConfig({displayName:"pagination-navigation.style__StyledCurrentPage",componentId:"carbon_v163_0_0__sc-17846a48-3"})(["padding:0 var(--global-space-layout-3-xs);white-space:nowrap;"]),p=e.default.div.withConfig({displayName:"pagination-navigation.style__StyledInputWrapper",componentId:"carbon_v163_0_0__sc-17846a48-4"})(["",""],(({$size:t})=>a.css(["min-width:",";&& input{text-align:center;field-sizing:content;}"],i[t].width)));exports.StyledButtonWrapper=o,exports.StyledCurrentPage=l,exports.StyledCurrentPageContainer=s,exports.StyledInputWrapper=p,exports.StyledPaginationNavigation=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components");function a(e){return e&&e.__esModule?e:{default:e}}var o=a(e);const t={small:{padding:"var(--global-space-comp-m)",font:"var(--global-font-static-comp-regular-s)",rowGap:"var(--global-space-comp-m)"},medium:{padding:"var(--global-space-comp-l)",font:"var(--global-font-static-comp-regular-m)",rowGap:"var(--global-space-comp-l)"}},l=o.default.nav.withConfig({displayName:"pager.style__StyledPagination",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components");function a(e){return e&&e.__esModule?e:{default:e}}var o=a(e);const t={small:{padding:"var(--global-space-comp-m)",font:"var(--global-font-static-comp-regular-s)",rowGap:"var(--global-space-comp-m)"},medium:{padding:"var(--global-space-comp-l)",font:"var(--global-font-static-comp-regular-m)",rowGap:"var(--global-space-comp-l)"}},l=o.default.nav.withConfig({displayName:"pager.style__StyledPagination",componentId:"carbon_v163_0_0__sc-e6346955-0"})(["",""],(({$variant:a,$size:o,$layout:l})=>e.css(["--fieldSpacing:0;display:flex;align-items:center;flex-direction:",";box-sizing:border-box;flex-wrap:wrap;font:",";width:100%;min-width:288px;padding:",";row-gap:",";border-radius:var(--global-radius-container-m);border:var(--global-borderwidth-xs) solid var(--container-standard-border-default);background:var(--container-standard-bg-alt);",""],"single"===l?"row":"column",t[o].font,t[o].padding,t[o].rowGap,"alternate"===a&&e.css(["background:none;border:none;"])))),n=o.default.div.withConfig({displayName:"pager.style__StyledPageInfo",componentId:"carbon_v163_0_0__sc-e6346955-1"})(["",""],(({$layout:a,$alignment:o})=>e.css(["display:flex;align-items:center;flex-direction:",";justify-content:",";gap:var(--global-space-comp-l);flex:1 0 0;white-space:nowrap;color:var(--input-labelset-label-default);"],"three-row"===a?"column":"row","centred"===o?"center":"flex-end"))),r=o.default.div.withConfig({displayName:"pager.style__StyledPageSizeSelect",componentId:"carbon_v163_0_0__sc-e6346955-2"})(["display:flex;align-items:center;gap:var(--global-space-comp-s);min-width:fit-content;&& input{field-sizing:content;}"]),i=o.default.span.withConfig({displayName:"pager.style__StyledTotalRecords",componentId:"carbon_v163_0_0__sc-e6346955-3"})(["font:var(--global-font-static-comp-medium-s);margin-right:var(--global-space-comp-xs);"]);exports.StyledPageInfo=n,exports.StyledPageSizeSelect=r,exports.StyledPagination=l,exports.StyledTotalRecords=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("styled-system"),d=require("../../../style/themes/apply-base-theme.js");function s(e){return e&&e.__esModule?e:{default:e}}var a=s(e);const o=a.default.div.attrs(d.default).withConfig({displayName:"page.style__StyledPage",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("styled-system"),d=require("../../../style/themes/apply-base-theme.js");function s(e){return e&&e.__esModule?e:{default:e}}var a=s(e);const o=a.default.div.attrs(d.default).withConfig({displayName:"page.style__StyledPage",componentId:"carbon_v163_0_0__sc-535d517d-0"})(["width:100%;position:absolute;"]),i=a.default.div.attrs(d.default).withConfig({displayName:"page.style__StyledPageContent",componentId:"carbon_v163_0_0__sc-535d517d-1"})([""," box-sizing:border-box;width:100%;height:100%;"],t.padding);exports.StyledPage=o,exports.StyledPageContent=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("./pages.config.js"),a=require("../../style/themes/apply-base-theme.js"),n=require("../heading/heading.style.js");function s(e){return e&&e.__esModule?e:{default:e}}var i=s(e);const o=i.default.div.attrs(a.default).withConfig({displayName:"pages.style__PagesContent",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("./pages.config.js"),a=require("../../style/themes/apply-base-theme.js"),n=require("../heading/heading.style.js");function s(e){return e&&e.__esModule?e:{default:e}}var i=s(e);const o=i.default.div.attrs(a.default).withConfig({displayName:"pages.style__PagesContent",componentId:"carbon_v163_0_0__sc-3e7b0c1a-0"})(["border:none;","{padding-left:45px;margin-bottom:34px;}","{display:none;}"],n.StyledHeading,n.StyledDivider),r=i.default.div.withConfig({displayName:"pages.style__PagesWrapperStyle",componentId:"carbon_v163_0_0__sc-3e7b0c1a-1"})([".carbon-carousel__content{position:relative;}"," ",""],t.slideAnimation,t.fadeAnimation);exports.PagesContent=o,exports.PagesWrapperStyle=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../style/utils/visually-hidden.js");function s(e){return e&&e.__esModule?e:{default:e}}const d=s(e).default.p.withConfig({displayName:"password.style__HiddenAriaLive",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../style/utils/visually-hidden.js");function s(e){return e&&e.__esModule?e:{default:e}}const d=s(e).default.p.withConfig({displayName:"password.style__HiddenAriaLive",componentId:"carbon_v163_0_0__sc-213d9b67-0"})(["",""],t.default);exports.default=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),o=require("styled-system"),s=require("./pill.style.config.js"),t=require("../../style/themes/apply-base-theme.js"),r=require("../icon/icon.style.js"),a=require("../../style/utils/add-focus-styling.js"),l=require("../../style/utils/color.js"),i=require("../../style/utils/get-color-value.js"),n=require("../../style/utils/get-hex-value.js"),c=require("../../style/utils/get-accessible-foreground-color.js");function d(e){return e&&e.__esModule?e:{default:e}}var p=d(e);const u=p.default.button.withConfig({displayName:"pill.style__StyledDeleteButton",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),o=require("styled-system"),s=require("./pill.style.config.js"),t=require("../../style/themes/apply-base-theme.js"),r=require("../icon/icon.style.js"),a=require("../../style/utils/add-focus-styling.js"),l=require("../../style/utils/color.js"),i=require("../../style/utils/get-color-value.js"),n=require("../../style/utils/get-hex-value.js"),c=require("../../style/utils/get-accessible-foreground-color.js");function d(e){return e&&e.__esModule?e:{default:e}}var p=d(e);const u=p.default.button.withConfig({displayName:"pill.style__StyledDeleteButton",componentId:"carbon_v163_0_0__sc-e085f6af-0"})([""]),g=p.default.span.attrs(t.default).withConfig({displayName:"pill.style__StyledPill",componentId:"carbon_v163_0_0__sc-e085f6af-1"})([""," ",""],o.margin,(({$wrapText:o,$borderColor:t,$colorVariant:d,$inverse:p,$isDeletable:g,$inFill:b,$maxWidth:h,$size:f,theme:v})=>{let x,m,y,w,_,z,j;if(t){x=l.toColor(v,t),m=x,y=x;const e=i.default(x);z=c.default(n.default(e),!1,!0),j=z}else{const{status:e}=s.default(p),{varietyColor:o,varietyColorAlt:t,varietyBorderColor:r,buttonFocus:a,buttonFocusAlt:l,content:i,contentAlt:n}=e[d];x=o,m=t,y=r,w=a,_=l,z=i,j=n}const q=b||t?z:j,$=b||t?w:_;return e.css(["position:relative;display:inline-flex;text-align:center;align-items:center;justify-content:center;gap:var(--global-space-comp-xs);border:var(--global-borderwidth-s) solid ",";border-radius:var(--global-radius-container-s);height:auto;box-sizing:border-box;"," "," color:",";","{color:inherit;width:var(--global-size-2-xs);height:var(--global-size-2-xs);padding:var(--global-space-comp-xs);box-sizing:border-box;}"," "," font-family:var(--global-font-families-component);font-weight:500;line-height:1;"," "," "," "," "," ",""],y,!o&&e.css(["white-space:nowrap;"]),o&&e.css(["overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:manual;"]),z,r.default,b&&e.css(["background-color:",";"],x),!b&&e.css(["",""],t?e.css(["color:",";"],p?"var(--colorsUtilityYang100)":"var(--colorsUtilityYin090)"):e.css(["background-color:",";color:",";"],m,j)),"S"===f&&e.css(["min-height:var(--global-size-2-xs);font-size:14px;padding:0 var(--global-space-comp-s);"]),"M"===f&&e.css(["min-height:var(--global-size-xs);font-size:14px;padding:0 var(--global-space-comp-s);"]),"L"===f&&e.css(["min-height:28px;font-size:16px;padding:0 var(--global-space-comp-s);"]),"XL"===f&&e.css(["min-height:28px;font-size:16px;padding:0 12px;"]),g&&e.css(["","{-webkit-appearance:none;background:transparent;border-radius:0 var(--global-radius-container-s) var(--global-radius-container-s) 0;border:none;bottom:0;font-size:100%;position:absolute;right:0;top:0;width:20px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:",";"," ","{color:currentColor;height:unset;width:unset;}&:focus{"," color:",";::-moz-focus-inner{border:0;}","}&:hover{background-color:",";color:",";}","}"," "," "," ",""],u,q,!b&&t&&e.css(["color:",";"],p?"var(--colorsUtilityYang100)":"var(--colorsUtilityYin090)"),r.default,a.default(),q,t?e.css(["&::before{border-radius:0 var(--global-radius-container-s) var(--global-radius-container-s) 0;}"]):e.css(["background-color:",";"],b?w:_),$,q,t&&e.css(['&:hover,&:focus{&::before{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-color:',";filter:brightness(0.9);}}"],x),"S"===f&&e.css(["padding:0 calc(20px + var(--global-space-comp-xs)) 0 var(--global-space-comp-s);"]),"M"===f&&e.css(["padding:0 calc(24px + var(--global-space-comp-xs)) 0 var(--global-space-comp-s);","{width:24px;padding:0;}"],u),"L"===f&&e.css(["padding:0 calc(28px + var(--global-space-comp-xs)) 0 var(--global-space-comp-s);","{width:28px;padding:0;}"],u),"XL"===f&&e.css(["padding:0 calc(32px + var(--global-space-comp-xs)) 0 12px;","{width:32px;padding:0;line-height:18px;}"],u)),h&&`max-width: ${h}`)}));exports.StyledDeleteButton=u,exports.default=g;
|