carbon-react 161.2.1 → 161.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__internal__/character-count/character-count.style.js +1 -1
- package/esm/__internal__/checkable-input/checkable-input.component.d.ts +33 -42
- package/esm/__internal__/checkable-input/checkable-input.component.js +1 -1
- package/esm/__internal__/checkable-input/checkable-input.style.d.ts +14 -11
- package/esm/__internal__/checkable-input/checkable-input.style.js +1 -1
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.d.ts +12 -18
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.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.component.d.ts +1 -3
- package/esm/__internal__/fieldset/__next__/fieldset.component.js +1 -1
- package/esm/__internal__/fieldset/__next__/fieldset.style.d.ts +3 -8
- 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.component.d.ts +1 -3
- package/esm/__internal__/form-field/form-field.component.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.component.d.ts +3 -1
- package/esm/__internal__/hint-text/hint-text.component.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.component.d.ts +4 -2
- package/esm/__internal__/label/label.component.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.component.d.ts +2 -2
- package/esm/__internal__/legacy-label/label.component.js +1 -1
- package/esm/__internal__/legacy-label/label.style.d.ts +0 -2
- 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/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.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.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/__internal__/checkbox-group.context.d.ts +12 -0
- package/esm/components/checkbox/__internal__/checkbox-svg.component.d.ts +6 -0
- package/esm/components/checkbox/__internal__/checkbox-svg.component.js +1 -0
- package/esm/components/checkbox/checkbox-group/checkbox-group.component.d.ts +53 -13
- package/esm/components/checkbox/checkbox-group/checkbox-group.component.js +1 -1
- package/esm/components/checkbox/checkbox-group/checkbox-group.style.d.ts +5 -4
- package/esm/components/checkbox/checkbox-group/checkbox-group.style.js +1 -1
- package/esm/components/checkbox/checkbox.component.d.ts +78 -8
- package/esm/components/checkbox/checkbox.component.js +1 -1
- package/esm/components/checkbox/checkbox.style.d.ts +12 -13
- 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__/date-picker/day-picker.style.js +1 -1
- package/esm/components/date/__internal__/navbar/button.style.js +1 -1
- package/esm/components/date/__internal__/navbar/navbar.style.js +1 -1
- package/esm/components/date/__internal__/weekday/abbr.style.js +1 -1
- package/esm/components/date/__internal__/weekday/weekday.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-upload-status/file-upload-status.style.js +1 -1
- 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.component.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.style.js +1 -1
- package/esm/components/navigation-bar/navigation-bar.style.js +1 -1
- package/esm/components/note/__internal__/status-icon/status-icon.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/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/___internal___/radio-button-svg.component.js +1 -1
- package/esm/components/radio-button/radio-button-group/radio-button-group.component.d.ts +4 -1
- package/esm/components/radio-button/radio-button-group/radio-button-group.component.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.component.d.ts +1 -6
- package/esm/components/radio-button/radio-button.component.js +1 -1
- package/esm/components/radio-button/radio-button.style.js +1 -1
- package/esm/components/search/__internal__/legacy/search-button.style.js +1 -1
- package/esm/components/search/__internal__/legacy/search.style.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-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-children.style.js +1 -1
- package/esm/components/split-button/split-button-toggle.style.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/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__/LinkPreviewer/link-previewer.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-content/tile-content.style.js +1 -1
- package/esm/components/tile/tile-footer/tile-footer.style.js +1 -1
- package/esm/components/tile/tile-header/tile-header.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.d.ts +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/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.component.d.ts +33 -42
- package/lib/__internal__/checkable-input/checkable-input.component.js +1 -1
- package/lib/__internal__/checkable-input/checkable-input.style.d.ts +14 -11
- package/lib/__internal__/checkable-input/checkable-input.style.js +1 -1
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.d.ts +12 -18
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.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.component.d.ts +1 -3
- package/lib/__internal__/fieldset/__next__/fieldset.component.js +1 -1
- package/lib/__internal__/fieldset/__next__/fieldset.style.d.ts +3 -8
- 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.component.d.ts +1 -3
- package/lib/__internal__/form-field/form-field.component.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.component.d.ts +3 -1
- package/lib/__internal__/hint-text/hint-text.component.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.component.d.ts +4 -2
- package/lib/__internal__/label/label.component.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.component.d.ts +2 -2
- package/lib/__internal__/legacy-label/label.component.js +1 -1
- package/lib/__internal__/legacy-label/label.style.d.ts +0 -2
- 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/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.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.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/__internal__/checkbox-group.context.d.ts +12 -0
- package/lib/components/checkbox/__internal__/checkbox-svg.component.d.ts +6 -0
- package/lib/components/checkbox/__internal__/checkbox-svg.component.js +1 -0
- package/lib/components/checkbox/checkbox-group/checkbox-group.component.d.ts +53 -13
- package/lib/components/checkbox/checkbox-group/checkbox-group.component.js +1 -1
- package/lib/components/checkbox/checkbox-group/checkbox-group.style.d.ts +5 -4
- package/lib/components/checkbox/checkbox-group/checkbox-group.style.js +1 -1
- package/lib/components/checkbox/checkbox.component.d.ts +78 -8
- package/lib/components/checkbox/checkbox.component.js +1 -1
- package/lib/components/checkbox/checkbox.style.d.ts +12 -13
- 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__/date-picker/day-picker.style.js +1 -1
- package/lib/components/date/__internal__/navbar/button.style.js +1 -1
- package/lib/components/date/__internal__/navbar/navbar.style.js +1 -1
- package/lib/components/date/__internal__/weekday/abbr.style.js +1 -1
- package/lib/components/date/__internal__/weekday/weekday.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-upload-status/file-upload-status.style.js +1 -1
- 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.component.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.style.js +1 -1
- package/lib/components/navigation-bar/navigation-bar.style.js +1 -1
- package/lib/components/note/__internal__/status-icon/status-icon.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/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/___internal___/radio-button-svg.component.js +1 -1
- package/lib/components/radio-button/radio-button-group/radio-button-group.component.d.ts +4 -1
- package/lib/components/radio-button/radio-button-group/radio-button-group.component.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.component.d.ts +1 -6
- package/lib/components/radio-button/radio-button.component.js +1 -1
- package/lib/components/radio-button/radio-button.style.js +1 -1
- package/lib/components/search/__internal__/legacy/search-button.style.js +1 -1
- package/lib/components/search/__internal__/legacy/search.style.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-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-children.style.js +1 -1
- package/lib/components/split-button/split-button-toggle.style.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/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__/LinkPreviewer/link-previewer.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-content/tile-content.style.js +1 -1
- package/lib/components/tile/tile-footer/tile-footer.style.js +1 -1
- package/lib/components/tile/tile-header/tile-header.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.d.ts +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/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.js +1 -1
- package/package.json +4 -6
- package/esm/__internal__/checkable-input/__next__/checkable-input.component.d.ts +0 -38
- package/esm/__internal__/checkable-input/__next__/checkable-input.component.js +0 -1
- package/esm/__internal__/checkable-input/__next__/checkable-input.style.d.ts +0 -17
- package/esm/__internal__/checkable-input/__next__/checkable-input.style.js +0 -1
- package/esm/__internal__/checkable-input/checkable-input-svg-wrapper.style.d.ts +0 -2
- package/esm/__internal__/checkable-input/checkable-input-svg-wrapper.style.js +0 -1
- package/esm/components/checkbox/checkbox-group/__internal__/checkbox-group.context.d.ts +0 -4
- package/esm/components/checkbox/checkbox-svg.component.d.ts +0 -3
- package/esm/components/checkbox/checkbox-svg.component.js +0 -1
- package/lib/__internal__/checkable-input/__next__/checkable-input.component.d.ts +0 -38
- package/lib/__internal__/checkable-input/__next__/checkable-input.component.js +0 -1
- package/lib/__internal__/checkable-input/__next__/checkable-input.style.d.ts +0 -17
- package/lib/__internal__/checkable-input/__next__/checkable-input.style.js +0 -1
- package/lib/__internal__/checkable-input/checkable-input-svg-wrapper.style.d.ts +0 -2
- package/lib/__internal__/checkable-input/checkable-input-svg-wrapper.style.js +0 -1
- package/lib/components/checkbox/checkbox-group/__internal__/checkbox-group.context.d.ts +0 -4
- package/lib/components/checkbox/checkbox-svg.component.d.ts +0 -3
- package/lib/components/checkbox/checkbox-svg.component.js +0 -1
- /package/esm/components/checkbox/{checkbox-group/__internal__ → __internal__}/checkbox-group.context.js +0 -0
- /package/lib/components/checkbox/{checkbox-group/__internal__ → __internal__}/checkbox-group.context.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { MarginProps } from "styled-system";
|
|
3
3
|
import { TagProps } from "../../../__internal__/utils/helpers/tags/tags";
|
|
4
|
-
|
|
5
|
-
export interface CheckboxGroupProps extends
|
|
4
|
+
export type CheckboxSizes = "small" | "medium" | "large";
|
|
5
|
+
export interface CheckboxGroupProps extends MarginProps, TagProps {
|
|
6
6
|
/**
|
|
7
7
|
* Unique identifier for the component.
|
|
8
8
|
* Will use a randomly generated GUID if none is provided.
|
|
@@ -10,34 +10,74 @@ export interface CheckboxGroupProps extends ValidationProps, MarginProps, TagPro
|
|
|
10
10
|
id?: string;
|
|
11
11
|
/** The content for the CheckboxGroup Legend */
|
|
12
12
|
legend?: string;
|
|
13
|
+
/** Content for the hint text below the legend. */
|
|
14
|
+
legendHint?: string;
|
|
15
|
+
/** Size of the CheckboxGroup. */
|
|
16
|
+
size?: CheckboxSizes;
|
|
17
|
+
/** Error message to be displayed when validation fails. */
|
|
18
|
+
error?: string;
|
|
13
19
|
/**
|
|
14
|
-
*
|
|
20
|
+
* Warning message to be displayed when validation warning occurs.
|
|
21
|
+
* @deprecated The `warning` state is deprecated and will be removed in a future release.
|
|
22
|
+
*/
|
|
23
|
+
warning?: string;
|
|
24
|
+
/**
|
|
25
|
+
* [Legacy] Indicate additional information.
|
|
26
|
+
* @deprecated Information validation is no longer supported on this component.
|
|
27
|
+
*/
|
|
28
|
+
info?: string | boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The content for the RadioButtonGroup hint text,
|
|
15
31
|
* will only be rendered when `validationRedesignOptIn` is true.
|
|
32
|
+
* @deprecated The `legendHelp` prop is deprecated and will be removed in a future release. Please use the `legendHint` prop instead.
|
|
16
33
|
*/
|
|
17
34
|
legendHelp?: string;
|
|
18
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* [Legacy] When true, legend is placed in line with the Checkboxes.
|
|
37
|
+
* @deprecated Inline legends are no longer supported on this component.
|
|
38
|
+
*/
|
|
19
39
|
legendInline?: boolean;
|
|
20
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* [Legacy] Percentage width of legend (only when legend is inline)
|
|
42
|
+
* @deprecated Inline legends are no longer supported on this component.
|
|
43
|
+
*/
|
|
21
44
|
legendWidth?: number;
|
|
22
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* [Legacy] Alignment of the legend.
|
|
47
|
+
* @deprecated Right legend alignment is no longer supported.
|
|
48
|
+
*/
|
|
23
49
|
legendAlign?: "left" | "right";
|
|
24
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* [Legacy] Spacing between legend and field for inline legend, number multiplied by base spacing unit (8)
|
|
52
|
+
* @deprecated Custom spacing for legends is no longer supported on this component.
|
|
53
|
+
*/
|
|
25
54
|
legendSpacing?: 1 | 2;
|
|
26
55
|
/** The Checkboxes to be rendered in the group */
|
|
27
56
|
children: React.ReactNode;
|
|
28
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Spacing between label and a field for inline label, given number will be multiplied by base spacing unit (8)
|
|
59
|
+
* @deprecated Custom spacing for labels is no longer supported on this component.
|
|
60
|
+
*/
|
|
29
61
|
labelSpacing?: 1 | 2;
|
|
30
|
-
/** Flag to
|
|
62
|
+
/** Flag to disable the CheckboxGroup. */
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
/** Flag to configure CheckboxGroup as mandatory*/
|
|
31
65
|
required?: boolean;
|
|
32
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Overrides the default tooltip position
|
|
68
|
+
* @deprecated Tooltips are no longer supported on this component.
|
|
69
|
+
*/
|
|
33
70
|
tooltipPosition?: "top" | "bottom" | "left" | "right";
|
|
34
|
-
/** When true,
|
|
71
|
+
/** When true, Checkbox children are inline. */
|
|
35
72
|
inline?: boolean;
|
|
36
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Render the ValidationMessage above the CheckboxGroup
|
|
75
|
+
* @deprecated The `validationMessagePositionTop` prop is deprecated and will be removed in a future release.
|
|
76
|
+
*/
|
|
37
77
|
validationMessagePositionTop?: boolean;
|
|
38
78
|
}
|
|
39
79
|
export declare const CheckboxGroup: {
|
|
40
|
-
({ children, legend, error, warning, info, required, legendInline, legendWidth, legendAlign, legendSpacing, legendHelp, tooltipPosition, inline, id, validationMessagePositionTop, ...rest }: CheckboxGroupProps): React.JSX.Element;
|
|
80
|
+
({ children, legend, legendHint, size, error, warning, info, disabled, required, legendInline, legendWidth, legendAlign, legendSpacing, legendHelp, tooltipPosition, inline, id, validationMessagePositionTop, ...rest }: CheckboxGroupProps): React.JSX.Element;
|
|
41
81
|
displayName: string;
|
|
42
82
|
};
|
|
43
83
|
export default CheckboxGroup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useRef as r}from"react";import t from"../../../__internal__/utils/helpers/tags/tags.js";import n from"../../../__internal__/fieldset/__next__/fieldset.component.js";import"../../../style/utils/filter-styled-system-padding-props.js";import i from"../../../style/utils/filter-styled-system-margin-props.js";import o from"../__internal__/checkbox-group.context.js";import l from"./checkbox-group.style.js";import s from"../../../__internal__/utils/helpers/guid/index.js";function c(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const d=d=>{var{children:p,legend:a,legendHint:g,size:u="medium",error:f,warning:b,info:m,disabled:y,required:O,legendInline:j,legendWidth:h,legendAlign:_,legendSpacing:P,legendHelp:v,tooltipPosition:w,inline:x,id:k,validationMessagePositionTop:S=!0}=d,z=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(d,["children","legend","legendHint","size","error","warning","info","disabled","required","legendInline","legendWidth","legendAlign","legendSpacing","legendHelp","tooltipPosition","inline","id","validationMessagePositionTop"]);const D=r(s()),H=k||D.current;return e(n,(q=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(r){c(e,r,t[r])}))}return e}({id:H,legend:a,legendHint:g||v,isDisabled:y,isRequired:O,error:f,warning:b,validationMessagePositionTop:S,size:u},t("checkbox-group",z),i(z)),E=null!=(E={children:e(o.Provider,{value:{error:!!f,warning:!!b,inline:x,size:u,disabled:y,required:O},children:e(l,{"data-role":"checkbox-group-content",$inline:x,$size:u,children:p})})})?E:{},Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(E)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(E)).forEach((function(e){Object.defineProperty(q,e,Object.getOwnPropertyDescriptor(E,e))})),q));var q,E};d.displayName="CheckboxGroup";export{d as CheckboxGroup,d as default};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { CheckboxSizes } from "../checkbox-group/checkbox-group.component";
|
|
2
|
+
declare const StyledCheckboxGroupContent: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
$size: CheckboxSizes;
|
|
4
|
+
$inline?: boolean;
|
|
4
5
|
}, never>;
|
|
5
|
-
export default
|
|
6
|
+
export default StyledCheckboxGroupContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import l,{css as a}from"styled-components";const o={small:{gap:"var(--global-space-comp-s)",labelFont:"var(--global-font-static-comp-regular-s)"},medium:{gap:"var(--global-space-comp-m)",labelFont:"var(--global-font-static-comp-regular-m)"},large:{gap:"var(--global-space-comp-l)",labelFont:"var(--global-font-static-comp-regular-l)"}},e=l.div.withConfig({displayName:"checkbox-group.style__StyledCheckboxGroupContent",componentId:"carbon_v161_2_1__sc-87d1bb91-0"})(["",""],(({$size:l,$inline:e})=>a(["display:flex;flex-direction:column;gap:",";.checkable-label{font:",";}",""],o[l].gap,o[l].labelFont,e&&a(["flex-direction:row;gap:var(--global-space-comp-l);"]))));export{e as default};
|
|
@@ -1,26 +1,96 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
import { MarginProps } from "styled-system";
|
|
3
3
|
import { TagProps } from "../../__internal__/utils/helpers/tags";
|
|
4
4
|
import { CommonCheckableInputProps } from "../../__internal__/checkable-input/checkable-input.component";
|
|
5
|
+
import type { CheckboxSizes } from "./checkbox-group/checkbox-group.component";
|
|
5
6
|
export interface CheckboxProps extends CommonCheckableInputProps, MarginProps, TagProps {
|
|
6
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Breakpoint for adaptive spacing (left margin changes to 0). Enables the adaptive behaviour when set.
|
|
9
|
+
* @deprecated Adaptive spacing is no longer supported on this component.
|
|
10
|
+
*/
|
|
7
11
|
adaptiveSpacingBreakpoint?: number;
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
/**
|
|
13
|
+
* [Legacy] Aria label for rendered help component
|
|
14
|
+
* @deprecated Help tooltips are no longer supported on this component.
|
|
15
|
+
*/
|
|
11
16
|
helpAriaLabel?: string;
|
|
12
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* When true label is inline.
|
|
19
|
+
* @deprecated The checkbox label always renders in line with the input.
|
|
20
|
+
*/
|
|
13
21
|
labelInline?: boolean;
|
|
14
22
|
/** Accepts a callback function which is triggered on click event */
|
|
15
23
|
onClick?: (ev: React.MouseEvent<HTMLInputElement>) => void;
|
|
16
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* [Legacy] Overrides the default tooltip position.
|
|
26
|
+
* @deprecated Tooltips are no longer supported on this component.
|
|
27
|
+
*/
|
|
17
28
|
tooltipPosition?: "top" | "bottom" | "left" | "right";
|
|
18
29
|
/** The value of the checkbox, passed on form submit */
|
|
19
30
|
value?: string;
|
|
20
31
|
/** Handler for change events */
|
|
21
32
|
onChange: (ev: React.ChangeEvent<HTMLInputElement>) => void;
|
|
22
|
-
/** Checked state of the input */
|
|
33
|
+
/** Checked state of the input. */
|
|
23
34
|
checked: boolean;
|
|
35
|
+
/** Indeterminate state of the input, will override checked value. */
|
|
36
|
+
indeterminate?: boolean;
|
|
37
|
+
/** Size of the CheckboxGroup. */
|
|
38
|
+
size?: CheckboxSizes;
|
|
39
|
+
/** Flag to configure Checkbox as mandatory. */
|
|
40
|
+
required?: boolean;
|
|
41
|
+
/** Error message to be displayed when validation fails. */
|
|
42
|
+
error?: string | boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Warning message to be displayed when validation warning occurs.
|
|
45
|
+
* @deprecated The `warning` state is deprecated and will be removed in a future release.
|
|
46
|
+
*/
|
|
47
|
+
warning?: string | boolean;
|
|
48
|
+
/**
|
|
49
|
+
* [Legacy] Indicate additional information.
|
|
50
|
+
* @deprecated Information validation is no longer supported on this component.
|
|
51
|
+
*/
|
|
52
|
+
info?: string | boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Help content to be displayed under an input
|
|
55
|
+
* @deprecated The `fieldHelp` prop is no longer supported, please use the `inputHint` prop instead.
|
|
56
|
+
*/
|
|
57
|
+
fieldHelp?: ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* If true, the FieldHelp will be displayed inline
|
|
60
|
+
* To be used with labelInline prop set to true
|
|
61
|
+
* @deprecated The `fieldHelpInline` prop is no longer supported on this component.
|
|
62
|
+
*/
|
|
63
|
+
fieldHelpInline?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* [Legacy] The content for the help tooltip, to appear next to the Label
|
|
66
|
+
* @deprecated The `labelHelp` prop is deprecated and will be removed in a future release. Please use the `inputHint` prop instead.
|
|
67
|
+
*/
|
|
68
|
+
labelHelp?: ReactNode;
|
|
69
|
+
/**
|
|
70
|
+
* [Legacy] Spacing between label and a field for inline label, given number will be multiplied by base spacing unit (8)
|
|
71
|
+
* @deprecated Custom spacing for labels is no longer supported on this component.
|
|
72
|
+
*/
|
|
73
|
+
labelSpacing?: 1 | 2;
|
|
74
|
+
/**
|
|
75
|
+
* [Legacy] Label width
|
|
76
|
+
* @deprecated Custom label widths are no longer supported on this component.
|
|
77
|
+
*/
|
|
78
|
+
labelWidth?: number;
|
|
79
|
+
/**
|
|
80
|
+
* If true the label switches position with the input
|
|
81
|
+
* @deprecated Reversed layout is no longer supported on this component.
|
|
82
|
+
*/
|
|
83
|
+
reverse?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Sets percentage-based input width
|
|
86
|
+
* @deprecated Custom input widths are no longer supported on this component.
|
|
87
|
+
*/
|
|
88
|
+
inputWidth?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Render the ValidationMessage above the Checkbox
|
|
91
|
+
* @deprecated The `validationMessagePositionTop` prop is deprecated and will be removed in a future release.
|
|
92
|
+
*/
|
|
93
|
+
validationMessagePositionTop?: boolean;
|
|
24
94
|
}
|
|
25
95
|
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
96
|
export default Checkbox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,Fragment as
|
|
1
|
+
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import i,{useRef as n,useContext as o,useEffect as a}from"react";import l from"../../__internal__/utils/helpers/tags/tags.js";import{StyledCheckbox as s,StyledCheckboxContentWrapper as c}from"./checkbox.style.js";import p from"../../__internal__/checkable-input/checkable-input.component.js";import d from"./__internal__/checkbox-svg.component.js";import u from"./__internal__/checkbox-group.context.js";import b from"../../__internal__/error-border/error-border.style.js";import m from"../../__internal__/validation-message/__next__/validation-message.component.js";import f from"../../__internal__/utils/helpers/guid/index.js";import"../../style/utils/filter-styled-system-padding-props.js";import g from"../../style/utils/filter-styled-system-margin-props.js";import y from"../fieldset/__internal__/fieldset.context.js";function _(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function h(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(r){_(e,r,t[r])}))}return e}function j(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})),e}const O=i.forwardRef(((i,_)=>{var{"aria-describedby":O,"data-element":v,"data-role":k,id:w,label:P,inputHint:x,name:S,value:H,fieldHelp:z,autoFocus:D,labelHelp:$,labelSpacing:q,labelWidth:E,adaptiveSpacingBreakpoint:W,required:A,error:B,warning:F,info:I,fieldHelpInline:L,reverse:M,checked:R,indeterminate:T,disabled:C,inputWidth:N,size:G="medium",tooltipPosition:J,helpAriaLabel:K,progressiveDisclosure:Q,validationMessagePositionTop:U=!0}=i,V=function(e,r){if(null==e)return{};var t,i,n=function(e,r){if(null==e)return{};var t,i,n={},o=Object.keys(e);for(i=0;i<o.length;i++)t=o[i],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)t=o[i],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(i,["aria-describedby","data-element","data-role","id","label","inputHint","name","value","fieldHelp","autoFocus","labelHelp","labelSpacing","labelWidth","adaptiveSpacingBreakpoint","required","error","warning","info","fieldHelpInline","reverse","checked","indeterminate","disabled","inputWidth","size","tooltipPosition","helpAriaLabel","progressiveDisclosure","validationMessagePositionTop"]);const X=n(f()),Y=n(null),Z=w||X.current,ee=B||F?`${Z}-validation-message`:void 0,re=[ee,O].filter(Boolean).join(" "),{error:te,warning:ie,inline:ne,size:oe,disabled:ae,required:le}=o(u),se=void 0!==oe,{size:ce,hasError:pe}=o(y),de=ce||oe||G,ue=te||pe||!!B,be=!!T;a((()=>{Y.current&&(Y.current.indeterminate=be)}),[T]);const me=()=>B||F?r(t,{children:[e(m,{error:B,warning:F,id:ee,size:ce||G}),e(b,{$warning:!(B||!F)})]}):null,fe=e(p,j(h({type:"checkbox",id:w,name:S,value:H,label:P,inputHint:x||$,disabled:ae||C,required:le||A,showRequiredAsterisk:A,checked:R,ref:e=>{Y.current=e,"function"==typeof _?_(e):_&&(_.current=e)},autoFocus:D,size:de,error:ue,warning:ie||!!F,"aria-describedby":re,"aria-checked":T?"mixed":R},!ne&&{progressiveDisclosure:Q},V),{children:e(d,{indeterminate:be})}));return e(s,j(h({$isDisabled:C||ae,$size:de,$error:ue,$checked:!!R,$indeterminate:be},g(V),l("checkbox",{"data-element":v,"data-role":k})),{children:se?fe:r(c,{$size:ce||G,children:[U&&me(),fe,!U&&me()]})}))}));O.displayName="Checkbox";export{O as Checkbox,O as default};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
labelSpacing?: 1 | 2;
|
|
9
|
-
reverse?: boolean;
|
|
10
|
-
adaptiveSpacingSmallScreen?: boolean;
|
|
11
|
-
applyNewValidation?: boolean;
|
|
1
|
+
import type { CheckboxSizes } from "./checkbox-group/checkbox-group.component";
|
|
2
|
+
interface StyledCheckboxProps {
|
|
3
|
+
$isDisabled?: boolean;
|
|
4
|
+
$size: CheckboxSizes;
|
|
5
|
+
$error?: boolean;
|
|
6
|
+
$checked?: boolean;
|
|
7
|
+
$indeterminate?: boolean;
|
|
12
8
|
}
|
|
13
|
-
declare const StyledCheckbox: import("styled-components").StyledComponent<"div", any, {
|
|
9
|
+
export declare const StyledCheckbox: import("styled-components").StyledComponent<"div", any, {
|
|
14
10
|
theme: object;
|
|
15
11
|
} & StyledCheckboxProps, "theme">;
|
|
16
|
-
export
|
|
12
|
+
export declare const StyledCheckboxContentWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
13
|
+
$size: CheckboxSizes;
|
|
14
|
+
}, never>;
|
|
15
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e,{css as i}from"styled-components";import{margin as a}from"styled-system";import t from"../../__internal__/checkable-input/hidden-checkable-input.style.js";import o from"../../style/themes/apply-base-theme.js";import r from"../../style/utils/add-focus-styling.js";const l={small:{inputSize:"var(--global-size-3-xs)",checkSvgSize:"12px",indeterminateSvgSize:"10px",validationGap:"var(--global-space-comp-xs)"},medium:{inputSize:"var(--global-size-xs)",checkSvgSize:"16px",indeterminateSvgSize:"16px",validationGap:"var(--global-space-comp-s)"},large:{inputSize:"var(--global-size-s)",checkSvgSize:"22px",indeterminateSvgSize:"20px",validationGap:"var(--global-space-comp-s)"}},n=e.div.attrs(o).withConfig({displayName:"checkbox.style__StyledCheckbox",componentId:"carbon_v161_2_1__sc-9c8e3171-0"})(["margin-bottom:var(--fieldSpacing);",";",""],a,(({$isDisabled:e,$size:a,$error:o,$checked:n,$indeterminate:s})=>i(['[data-role="checkable-input-svg-wrapper"]{display:flex;justify-content:center;align-items:center;box-sizing:border-box;background-color:var(--input-typical-bg-default);border:var(--global-borderwidth-xs) solid var(--input-typical-border-default);border-radius:',";height:",";width:",";"," "," "," ","}","{position:absolute;box-sizing:border-box;min-height:var(--global-size-xs);height:",";width:",";}"," ",':not([disabled]){&:focus + [data-role="checkable-input-svg-wrapper"]{',"}}"],"large"===a?"var(--global-radius-action-m)":"var(--global-radius-action-s)",l[a].inputSize,l[a].inputSize,n&&i(["svg{width:",";}"],l[a].checkSvgSize),s&&i(["svg{width:",";}"],l[a].indeterminateSvgSize),!e&&o&&i(["border:var(--global-borderwidth-s) solid var(--input-validation-border-error);"]),e&&i(["border-color:var(--input-typical-border-disabled);background-color:var(--input-typical-bg-disabled);"]),t,l[a].inputSize,l[a].inputSize,(n||s)&&i(["svg path,svg rect{fill:var(--input-typical-icon-active);","}"],e&&i(["fill:var(--input-typical-icon-disabled);"])),t,r()))),s=e.div.withConfig({displayName:"checkbox.style__StyledCheckboxContentWrapper",componentId:"carbon_v161_2_1__sc-9c8e3171-1"})(["",";"],(({$size:e})=>i(["display:flex;flex-direction:column;position:relative;gap:",";"],l[e].validationGap)));export{n as StyledCheckbox,s as StyledCheckboxContentWrapper};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o,{css as i}from"styled-components";import n from"../icon/icon.style.js";import{StyledHeadingTitle as t}from"../heading/heading.style.js";const e=o.div.withConfig({displayName:"confirm.style__StyledConfirmButtons",componentId:"
|
|
1
|
+
import o,{css as i}from"styled-components";import n from"../icon/icon.style.js";import{StyledHeadingTitle as t}from"../heading/heading.style.js";const e=o.div.withConfig({displayName:"confirm.style__StyledConfirmButtons",componentId:"carbon_v161_2_1__sc-1b5d4dde-0"})(["margin-top:48px;display:flex;justify-content:flex-end;"]),r=o.div.withConfig({displayName:"confirm.style__StyledConfirmHeading",componentId:"carbon_v161_2_1__sc-1b5d4dde-1"})(["display:flex;align-items:center;","{padding:0px;}","{margin-right:16px;margin-bottom:20px;"," ","}"],t,n,(({type:o})=>"warning"===o&&i(["color:var(--colorsSemanticCaution500);"])),(({type:o})=>"error"===o&&i(["color:var(--colorsSemanticNegative500);"])));export{e as StyledConfirmButtons,r as StyledConfirmHeading};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t,{css as i}from"styled-components";import{margin as n}from"styled-system";import e from"../../style/themes/apply-base-theme.js";const o=t.div.attrs(e).withConfig({displayName:"content.style__StyledContent",componentId:"
|
|
1
|
+
import t,{css as i}from"styled-components";import{margin as n}from"styled-system";import e from"../../style/themes/apply-base-theme.js";const o=t.div.attrs(e).withConfig({displayName:"content.style__StyledContent",componentId:"carbon_v161_2_1__sc-273b17cd-0"})(["",""],(({bodyFullWidth:t,align:e})=>i([""," & + &{margin-top:15px;}"," ",""],n,e&&i(["text-align:",";"],e),t&&i(["text-align:left;"])))),l=t.div.withConfig({displayName:"content.style__StyledContentTitle",componentId:"carbon_v161_2_1__sc-273b17cd-1"})(["",";"],(({titleWidth:t,inline:n,variant:e,align:o})=>i(["display:",";font-weight:500;width:",";text-align:",";"," ",""],n?"inline-block":"block",t&&`calc(${t}% - 30px)`,!n&&o,"center"===o&&n&&i(["text-align:right;width:calc(50% - 30px);"]),"secondary"===e&&i(["color:var(--colorsUtilityYin055);font-weight:normal;"])))),a=t.div.withConfig({displayName:"content.style__StyledContentBody",componentId:"carbon_v161_2_1__sc-273b17cd-2"})(["",";"],(({bodyFullWidth:t,titleWidth:n,inline:e,align:o})=>i(["display:",";margin-top:2px;white-space:pre-wrap;word-wrap:break-word;font-weight:normal;"," "," "," "," ",""],e?"inline-block":"block","center"===o&&e&&i(["width:50%;"]),n&&i(["width:","%;"],100-Number(n)),t&&i(["width:100%;"]),e&&t&&i(["margin-top:15px;"]),e&&!t&&i(["margin-top:0;margin-left:var(--spacing300);text-align:left;"]))));export{o as StyledContent,a as StyledContentBody,l as StyledContentTitle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r,{css as o}from"styled-components";import d from"../../../../style/themes/apply-base-theme.js";import e from"../../../../style/utils/add-focus-styling.js";const t=r.div.attrs(d).withConfig({displayName:"day-picker.style__StyledDayPicker",componentId:"
|
|
1
|
+
import r,{css as o}from"styled-components";import d from"../../../../style/themes/apply-base-theme.js";import e from"../../../../style/utils/add-focus-styling.js";const t=r.div.attrs(d).withConfig({displayName:"day-picker.style__StyledDayPicker",componentId:"carbon_v161_2_1__sc-4198aa12-0"})([""," z-index:2000;.rdp-root{top:calc(100% + 1px);left:0;background-color:var(--colorsUtilityYang100);box-shadow:var(--boxShadow100);display:block;overflow:hidden;padding:var(--spacing300);text-align:center;user-select:none;border-radius:var(--borderRadius050);}.rdp-root *{box-sizing:border-box;}.rdp-root:focus{outline:none;}.rdp-root abbr[title]{border:none;cursor:initial;}.rdp-months{padding:0;}.rdp-month{margin:0 0 2px;}.rdp-month_grid,.rdp_weeks{width:100%;margin-top:8px;}.rdp-month_caption{color:var(--colorsActionMajorYin090);line-height:var(--sizing500);height:var(--sizing500);font-size:16px;font-weight:800;display:block;> div{margin:0 auto;width:80%;}}.rdp-weekday{border:medium;width:var(--sizing500);height:var(--sizing450);font-weight:800;color:var(--colorsActionMinor500);text-transform:uppercase;font-size:12px;text-align:center;}.rdp-day{min-width:var(--sizing500);height:var(--sizing450);padding:0;background-color:transparent;cursor:pointer;border:none;font-weight:var(--fontWeights500);font-size:var(--fontSizes100);line-height:var(--lineHeights500);border-radius:var(--borderRadius400);&:hover{background-color:var(--colorsActionMinor050);color:var(--colorsActionMajorYin090);}+ *{border-left:1px;}abbr{text-decoration:none;}}.rdp-today,.rdp-today.rdp-outside{color:var(--colorsActionMajorYin090);background-color:var(--colorsActionMinor200);}.rdp-outside{color:var(--colorsActionMajorYin055);background-color:transparent;}.rdp-today:not(.rdp-outside){font-weight:var(--fontWeights500);border-radius:var(--borderRadius400);color:inherit;}.rdp-disabled,.rdp-disabled:hover{color:var(--colorsActionMajorYin030);background-color:var(--colorsUtilityYang100);cursor:default;&.rdp-today{background-color:var(--colorsActionMinor200);}}.rdp-selected:not(.rdp-disabled):not(.rdp-outside){background-color:var(--colorsActionMajor500);color:var(--colorsUtilityYang100);border-radius:var(--borderRadius400);}.rdp-selected.rdp-disabled:not(.rdp-outside){background-color:var(--colorsActionMajor500);color:var(--colorsUtilityYang100);}.rdp-selected{&:focus-visible{outline:none;}}.rdp-selected .rdp-day_button{border:none;&:focus-visible{outline:none;}}.rdp-focused:not(.rdp-disabled):not(.rdp-outside){"," border-radius:var(--borderRadius400);}.rdp-day.rdp-selected{&:focus{","}}"],(()=>o(['.rdp-root{--rdp-accent-color:blue;--rdp-accent-background-color:#f0f0ff;--rdp-day-height:2.75rem;--rdp-day-width:2.75rem;--rdp-day_button-border-radius:100%;--rdp-day_button-border:2px solid transparent;--rdp-day_button-height:var(--rdp-day-height);--rdp-day_button-width:var(--rdp-day-width);--rdp-selected-border:2px solid var(--rdp-accent-color);--rdp-disabled-opacity:0.5;--rdp-outside-opacity:0.75;--rdp-today-color:var(--rdp-accent-color);--rdp-dropdown-gap:0.5rem;--rdp-months-gap:2rem;--rdp-nav_button-disabled-opacity:0.5;--rdp-nav_button-height:2.25rem;--rdp-nav_button-width:2.25rem;--rdp-nav-height:2.75rem;--rdp-range_middle-background-color:var(--rdp-accent-background-color);--rdp-range_middle-foreground-color:white;--rdp-range_middle-color:inherit;--rdp-range_start-color:white;--rdp-range_start-background:linear-gradient(var(--rdp-gradient-direction),transparent 50%,var(--rdp-range_middle-background-color) 50%);--rdp-range_start-date-background-color:var(--rdp-accent-color);--rdp-range_end-background:linear-gradient(var(--rdp-gradient-direction),var(--rdp-range_middle-background-color) 50%,transparent 50%);--rdp-range_end-color:white;--rdp-range_end-date-background-color:var(--rdp-accent-color);--rdp-week_number-border-radius:100%;--rdp-week_number-border:2px solid transparent;--rdp-week_number-height:var(--rdp-day-height);--rdp-week_number-opacity:0.75;--rdp-week_number-width:var(--rdp-day-width);--rdp-weeknumber-text-align:center;--rdp-weekday-opacity:0.75;--rdp-weekday-padding:0.5rem 0rem;--rdp-weekday-text-align:center;--rdp-gradient-direction:90deg;}.rdp-root[dir="rtl"]{--rdp-gradient-direction:-90deg;}.rdp-root{position:relative;box-sizing:border-box;}.rdp-root *{box-sizing:border-box;}.rdp-day{width:var(--sizing500);height:var(--sizing450);text-align:center;}.rdp-day_button{background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex;min-width:var(--sizing500);height:var(--sizing450);border:var(--rdp-day_button-border);border-radius:var(--rdp-day_button-border-radius);}.rdp-day_button:disabled{cursor:revert;}.rdp-day_button{outline:none;}.rdp-caption_label{z-index:1;position:relative;display:inline-flex;align-items:center;white-space:nowrap;border:0;}.rdp-button_next,.rdp-button_previous{border:none;background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;-moz-appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;position:relative;appearance:none;width:var(--rdp-nav_button-width);height:var(--rdp-nav_button-height);}.rdp-button_next:disabled,.rdp-button_previous:disabled{cursor:revert;opacity:var(--rdp-nav_button-disabled-opacity);}.rdp-chevron{display:inline-block;fill:var(--rdp-accent-color);}.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron{transform:rotate(180deg);}.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron{transform:rotate(180deg);transform-origin:50%;}.rdp-dropdowns{position:relative;display:inline-flex;align-items:center;gap:var(--rdp-dropdown-gap);}.rdp-dropdown{z-index:2;opacity:0;appearance:none;position:absolute;inset-block-start:0;inset-block-end:0;inset-inline-start:0;width:100%;margin:0;padding:0;cursor:inherit;border:none;line-height:inherit;}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center;}.rdp-dropdown_root[data-disabled="true"] .rdp-chevron{opacity:var(--rdp-disabled-opacity);}.rdp-month_caption{display:flex;align-content:center;height:var(--rdp-nav-height);font-weight:bold;font-size:large;}.rdp-months{position:relative;display:flex;flex-wrap:wrap;gap:var(--rdp-months-gap);max-width:fit-content;}.rdp-month_grid{border-collapse:collapse;}.rdp-nav{position:absolute;inset-block-start:0;inset-inline-end:0;display:flex;align-items:center;height:var(--rdp-nav-height);width:100%;}.rdp-weekday{opacity:var(--rdp-weekday-opacity);padding:var(--rdp-weekday-padding);font-weight:500;font-size:smaller;text-align:var(--rdp-weekday-text-align);text-transform:var(--rdp-weekday-text-transform);}.rdp-week_number{opacity:var(--rdp-week_number-opacity);font-weight:400;font-size:small;height:var(--rdp-week_number-height);width:var(--rdp-week_number-width);border:var(--rdp-week_number-border);border-radius:var(--rdp-week_number-border-radius);text-align:var(--rdp-weeknumber-text-align);}.rdp-today:not(.rdp-outside){color:var(--rdp-today-color);}.rdp-selected{font-weight:bold;font-size:large;}.rdp-selected .rdp-day_button{border:var(--rdp-selected-border);}.rdp-outside{opacity:var(--rdp-outside-opacity);}.rdp-disabled{opacity:var(--rdp-disabled-opacity);}.rdp-hidden{visibility:hidden;color:var(--rdp-range_start-color);}.rdp-range_start{background:var(--rdp-range_start-background);}.rdp-range_start .rdp-day_button{background-color:var(--rdp-range_start-date-background-color);color:var(--rdp-range_start-color);}.rdp-range_middle{background-color:var(--rdp-range_middle-background-color);}.rdp-range_middle .rdp-day_button{border-color:transparent;border:unset;border-radius:unset;color:var(--rdp-range_middle-color);}.rdp-range_end{background:var(--rdp-range_end-background);color:var(--rdp-range_end-color);}.rdp-range_end .rdp-day_button{color:var(--rdp-range_start-color);background-color:var(--rdp-range_end-date-background-color);}.rdp-range_start.rdp-range_end{background:revert;}.rdp-focusable{cursor:pointer;}'])),e(!0),e(!0));export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"styled-components";import o from"../../../../style/utils/add-focus-styling.js";import r from"../../../../style/themes/apply-base-theme.js";const e=t.button.attrs(r).attrs({type:"button"}).withConfig({displayName:"button.style__StyledButton",componentId:"
|
|
1
|
+
import t from"styled-components";import o from"../../../../style/utils/add-focus-styling.js";import r from"../../../../style/themes/apply-base-theme.js";const e=t.button.attrs(r).attrs({type:"button"}).withConfig({displayName:"button.style__StyledButton",componentId:"carbon_v161_2_1__sc-ce836932-0"})(["justify-content:center;align-items:center;display:flex;border:var(--borderWidth200) solid var(--colorsActionMinorTransparent);background:none;box-shadow:none;cursor:pointer;height:var(--sizing500);width:var(--sizing500);padding:var(--spacing150);box-sizing:border-box;border-radius:var(--borderRadius050);&:focus{","}"],o());export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"styled-components";const e=t.div.withConfig({displayName:"navbar.style__StyledNavbar",componentId:"
|
|
1
|
+
import t from"styled-components";const e=t.div.withConfig({displayName:"navbar.style__StyledNavbar",componentId:"carbon_v161_2_1__sc-d6686bc9-0"})(["&.rdp-nav{display:flex;justify-content:space-between;padding:0;top:0;height:var(--sizing500);}"]);export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"styled-components";const o=e.abbr.withConfig({displayName:"abbr.style__StyledAbbr",componentId:"
|
|
1
|
+
import e from"styled-components";const o=e.abbr.withConfig({displayName:"abbr.style__StyledAbbr",componentId:"carbon_v161_2_1__sc-e967dee-0"})(["text-decoration:none;"]);export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"styled-components";import e from"./abbr.style.js";const t=o.th.withConfig({displayName:"weekday.style__StyledWeekday",componentId:"
|
|
1
|
+
import o from"styled-components";import e from"./abbr.style.js";const t=o.th.withConfig({displayName:"weekday.style__StyledWeekday",componentId:"carbon_v161_2_1__sc-fb3dbb5c-0"})(["&,& ","{border:none;height:var(--sizing500);min-width:var(--sizing500);font-weight:800;color:var(--colorsActionMinor500);text-transform:uppercase;font-size:12px;text-align:center;padding:20px 0 5px;box-sizing:border-box;}"],e);export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{css as t}from"styled-components";import{margin as a}from"styled-system";import l from"../../style/themes/apply-base-theme.js";import o from"../../__internal__/validation-message/validation-message.style.js";import i from"../../__internal__/label/label.style.js";const s={large:"140px",medium:"135px",small:"120px"},m=e.div.attrs(l).withConfig({displayName:"date.style__StyledDateInput",componentId:"
|
|
1
|
+
import e,{css as t}from"styled-components";import{margin as a}from"styled-system";import l from"../../style/themes/apply-base-theme.js";import o from"../../__internal__/validation-message/validation-message.style.js";import i from"../../__internal__/label/label.style.js";const s={large:"140px",medium:"135px",small:"120px"},m=e.div.attrs(l).withConfig({displayName:"date.style__StyledDateInput",componentId:"carbon_v161_2_1__sc-48d2712c-0"})(["margin-bottom:var(--fieldSpacing);"," ",""],a,(({applyDateRangeStyling:e,labelInline:a,maxWidth:l,size:m})=>e&&t(['[data-role="input-wrapper"]{width:',";flex:0 0 auto;}",""],null!=l?l:s[m],!a&&t(["",",","{overflow-wrap:anywhere;}"],o,i))));export{s as datePickerWidth,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"styled-components";import{margin as e}from"styled-system";import a from"../date/date.style.js";import i from"../../style/themes/apply-base-theme.js";const o=t.div.attrs(i).withConfig({displayName:"date-range.style__StyledDateRange",componentId:"
|
|
1
|
+
import t from"styled-components";import{margin as e}from"styled-system";import a from"../date/date.style.js";import i from"../../style/themes/apply-base-theme.js";const o=t.div.attrs(i).withConfig({displayName:"date-range.style__StyledDateRange",componentId:"carbon_v161_2_1__sc-91656d90-0"})([""," margin-bottom:var(--fieldSpacing);"," & ","{display:inline-block;vertical-align:",";}& ",":first-of-type{margin-right:var(--spacing300);}"],(({validationMessagePositionTop:t})=>`\n display: flex;\n align-items: ${t?"flex-end":"flex-start"};\n `),e,a,(({labelsInline:t})=>t?"top":"bottom"),a);export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"styled-components";import{Button as t}from"../../button/__next__/button.component.js";const e=o(t).withConfig({displayName:"decimal-popover-button.style__StyledDecimalPopoverButton",componentId:"
|
|
1
|
+
import o from"styled-components";import{Button as t}from"../../button/__next__/button.component.js";const e=o(t).withConfig({displayName:"decimal-popover-button.style__StyledDecimalPopoverButton",componentId:"carbon_v161_2_1__sc-2527bb44-0"})(["border-radius:0 var(--global-radius-action-m) var(--global-radius-action-m) 0;border-left:none;"]);export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"styled-components";const t=o.span.withConfig({displayName:"decimal.style__StyledSuffix",componentId:"
|
|
1
|
+
import o from"styled-components";const t=o.span.withConfig({displayName:"decimal.style__StyledSuffix",componentId:"carbon_v161_2_1__sc-821f41bb-0"})(["font:var(--global-font-static-comp-medium-m);margin-right:var(--global-space-comp-m);"]);export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t,{css as o}from"styled-components";import{space as i}from"styled-system";import e from"../button/button.style.js";import n from"../../style/themes/apply-base-theme.js";const l=t.dl.attrs(n).withConfig({displayName:"definition-list.style__StyledDl",componentId:"
|
|
1
|
+
import t,{css as o}from"styled-components";import{space as i}from"styled-system";import e from"../button/button.style.js";import n from"../../style/themes/apply-base-theme.js";const l=t.dl.attrs(n).withConfig({displayName:"definition-list.style__StyledDl",componentId:"carbon_v161_2_1__sc-fefc9f1b-0"})([""," "," width:100%;height:auto;background-color:transparent;"],i,(({asSingleColumn:t,w:i})=>o([""," ",""],!t&&o(["display:grid;grid-template-rows:auto;grid-template-columns:","% auto;"],i),t&&o(["line-height:21px;"])))),s=t.dt.attrs(n).withConfig({displayName:"definition-list.style__StyledDt",componentId:"carbon_v161_2_1__sc-fefc9f1b-1"})([""," font-size:var(--fontSizes100);font-weight:500;color:var(--colorsUtilityYin090);"," ",""],i,(({asSingleColumn:t})=>!t&&o(["grid-column:1;"])),(({dtTextAlign:t})=>o(["text-align:",";"],t))),r=t.dd.withConfig({displayName:"definition-list.style__StyledDd",componentId:"carbon_v161_2_1__sc-fefc9f1b-2"})(["font-size:var(--fontSizes100);font-weight:var(--fontWeights400);color:var(--colorsUtilityYin065);margin-left:0px;"," "," ","{padding:0;border:none;}",""],(({asSingleColumn:t})=>!t&&o(["grid-column:2;"])),(({ddTextAlign:t})=>o(["text-align:",";"],t)),e,i);export{r as StyledDd,l as StyledDl,s as StyledDt};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t,{css as e}from"styled-components";import{margin as i}from"styled-system";import o from"../../style/themes/apply-base-theme.js";import a from"../icon/icon.component.js";const l="16px",n=t.div.attrs(o).withConfig({displayName:"detail.style__StyledDetail",componentId:"
|
|
1
|
+
import t,{css as e}from"styled-components";import{margin as i}from"styled-system";import o from"../../style/themes/apply-base-theme.js";import a from"../icon/icon.component.js";const l="16px",n=t.div.attrs(o).withConfig({displayName:"detail.style__StyledDetail",componentId:"carbon_v161_2_1__sc-aaa150de-0"})(["position:relative;",";+ &{margin-top:20px;}"],i),p=t.div.withConfig({displayName:"detail.style__StyledDetailContent",componentId:"carbon_v161_2_1__sc-aaa150de-1"})(["",""],(({hasIcon:t})=>e(["display:inline-block;line-height:18px;white-space:pre-wrap;text-overflow:ellipsis;overflow:hidden;",""],t&&e(["margin-left:26px;"])))),s=t(a).withConfig({displayName:"detail.style__StyledDetailIcon",componentId:"carbon_v161_2_1__sc-aaa150de-2"})(["position:absolute;color:var(--colorsUtilityYin065);height:",";width:",";top:-1px;vertical-align:top;span{height:",";width:",";vertical-align:middle;}"],l,l,l,l),d=t.div.withConfig({displayName:"detail.style__StyledDetailFootnote",componentId:"carbon_v161_2_1__sc-aaa150de-3"})(["",""],(({hasIcon:t})=>e(["color:var(--colorsUtilityYin055);font-size:13px;position:relative;margin-top:-2px;",""],t&&e(["margin-left:26px;"]))));export{n as StyledDetail,p as StyledDetailContent,d as StyledDetailFootnote,s as StyledDetailIcon};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import a,{css as e}from"styled-components";import{padding as i}from"styled-system";import t from"../../../../style/themes/apply-base-theme.js";import{StyledButton as o}from"../../../button/__next__/button.style.js";import{Typography as r}from"../../../typography/typography.component.js";import"react/jsx-runtime";import"react";import{DIALOG_SIZE_CONFIG as d,DIALOG_MIN_WIDTH as l}from"./dialog.config.js";import{StyledForm as n,StyledFormContent as s,StyledFormFooter as p}from"../../../form/form.style.js";import c from"../../../../__internal__/full-screen-heading/full-screen-heading.style.js";const g={small:d.small.maxWidth,medium:d.medium.maxWidth,large:d.large.maxWidth},m="600px",b=(a=!1)=>t=>a?e(["padding:0;"]):e([""," ",""],e(["padding:0 var(--global-space-layout-2-xs);@media screen and (min-width:600px){padding:0 var(--global-space-layout-xs);}@media screen and (min-width:960px){padding:0 var(--global-space-layout-s);}@media screen and (min-width:1260px){padding:0 var(--global-space-layout-m);}"]),i(t)),x=a.div.attrs(t).withConfig({displayName:"dialog.style__DialogPositioner",componentId:"
|
|
1
|
+
import a,{css as e}from"styled-components";import{padding as i}from"styled-system";import t from"../../../../style/themes/apply-base-theme.js";import{StyledButton as o}from"../../../button/__next__/button.style.js";import{Typography as r}from"../../../typography/typography.component.js";import"react/jsx-runtime";import"react";import{DIALOG_SIZE_CONFIG as d,DIALOG_MIN_WIDTH as l}from"./dialog.config.js";import{StyledForm as n,StyledFormContent as s,StyledFormFooter as p}from"../../../form/form.style.js";import c from"../../../../__internal__/full-screen-heading/full-screen-heading.style.js";const g={small:d.small.maxWidth,medium:d.medium.maxWidth,large:d.large.maxWidth},m="600px",b=(a=!1)=>t=>a?e(["padding:0;"]):e([""," ",""],e(["padding:0 var(--global-space-layout-2-xs);@media screen and (min-width:600px){padding:0 var(--global-space-layout-xs);}@media screen and (min-width:960px){padding:0 var(--global-space-layout-s);}@media screen and (min-width:1260px){padding:0 var(--global-space-layout-m);}"]),i(t)),x=a.div.attrs(t).withConfig({displayName:"dialog.style__DialogPositioner",componentId:"carbon_v161_2_1__sc-2536516c-0"})(["position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:",";"," ",""],(({$size:a})=>"fullscreen"===a?"var(--carbon-zindex-full-screen-modal)":"var(--carbon-zindex-modal)"),(({$size:a})=>"fullscreen"===a&&e(["justify-content:stretch;align-items:stretch;"])),(({$disableStickyOnSmallScreen:a})=>a&&e(["@media screen and (max-width:","){background-color:transparent;}"],m))),h=a.div.attrs(t).withConfig({displayName:"dialog.style__StyledDialogContent",componentId:"carbon_v161_2_1__sc-2536516c-1"})(["box-sizing:border-box;display:block;overflow-y:auto;width:100%;"," ",""],(a=>{var{disableContentPadding:t,$size:o,hasHeader:r,hasFooter:d}=a,l=function(a,e){if(null==a)return{};var i,t,o=function(a,e){if(null==a)return{};var i,t,o={},r=Object.keys(a);for(t=0;t<r.length;t++)i=r[t],e.indexOf(i)>=0||(o[i]=a[i]);return o}(a,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);for(t=0;t<r.length;t++)i=r[t],e.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(a,i)&&(o[i]=a[i])}return o}(a,["disableContentPadding","$size","hasHeader","hasFooter"]);return"fullscreen"===o?e(["flex:1;"," &:has(",".sticky){display:flex;flex-direction:column;overflow-y:hidden;padding:0;",".sticky{","{","}","{border-top:1px solid #a3adb5;box-shadow:0 -2px 4px 0 rgba(0,0,0,0.1),0 -10px 60px 0 rgba(0,0,0,0.1);background:var(--container-standard-bg-default);}}}"," ",""],b(t)(l),n,n,s,b(t)(l),p,!r&&e(["padding-top:var(--global-space-layout-xs);"]),!d&&e(["padding-bottom:var(--global-space-layout-xs);"])):e(["flex-grow:1;padding:",";"," &:has(",".sticky){display:flex;flex-direction:column;padding:0;",".sticky{","{padding:var(--global-space-layout-xs) var(--global-space-layout-s);","}","{border-top:1px solid #a3adb5;box-shadow:0 -2px 4px 0 rgba(0,0,0,0.1),0 -10px 60px 0 rgba(0,0,0,0.1);border-bottom-right-radius:var(--global-radius-container-xl);border-bottom-left-radius:var(--global-radius-container-xl);}}}"],t?"0px":"var(--global-space-layout-xs) var(--global-space-layout-s)",i,n,n,s,i,p)}),(({$disableStickyOnSmallScreen:a})=>a&&e(["@media screen and (max-width:","){overflow-y:visible;flex-grow:0;","{position:static;box-shadow:none;}}"],m,p))),u=a.div.withConfig({displayName:"dialog.style__StyledDialogFooter",componentId:"carbon_v161_2_1__sc-2536516c-2"})(["box-sizing:border-box;width:100%;height:var(--global-size-3-xl);padding-top:var(--global-space-comp-l);padding-bottom:var(--global-space-comp-l);padding-left:var(--global-space-comp-xl);padding-right:var(--global-space-comp-xl);border-bottom-right-radius:var(--global-radius-container-xl);border-bottom-left-radius:var(--global-radius-container-xl);background:var(--container-standard-bg-default);"," ",""],(({$sticky:a})=>a&&e(["position:sticky;bottom:0;background:var(--container-standard-bg-default);z-index:1;border-top:1px solid #a3adb5;box-shadow:0 -2px 4px 0 rgba(0,0,0,0.1),0 -10px 60px 0 rgba(0,0,0,0.1);"])),(({$disableStickyOnSmallScreen:a})=>a&&e(["@media screen and (max-width:","){position:static;border-radius:0;}"],m))),y=a.div.withConfig({displayName:"dialog.style__StyledDialogTitle",componentId:"carbon_v161_2_1__sc-2536516c-3"})(["background:var(--container-standard-bg-default);padding:var(--global-space-comp-xl);gap:var(--global-space-comp-l);border-bottom:1px solid #a3adb5;border-top-right-radius:var(--global-radius-container-xl);border-top-left-radius:var(--global-radius-container-xl);",';[data-element="dialog-title-help-wrapper"]{display:inline-flex;align-items:baseline;}[data-element="dialog-title-container"]{[data-element="dialog-title"]{color:var(--container-standard-txt-default,rgba(0,0,0,0.95));display:block;',"}}",""],(({showCloseIcon:a})=>a&&"padding-right: 85px"),(({hasSubtitle:a})=>!a&&e(["padding:4px 0px;"])),(({$disableStickyOnSmallScreen:a})=>a&&e(["@media screen and (max-width:","){border-radius:0;position:static;}"],m))),f=a.div.withConfig({displayName:"dialog.style__StyledDialog",componentId:"carbon_v161_2_1__sc-2536516c-4"})(["display:flex;flex-direction:column;position:relative;border-radius:var(--global-radius-container-xl);&:focus{outline:none;}"," > ","{margin:0;position:absolute;z-index:1;","}"," ",""],(({dialogHeight:a,$size:i,$gradientKeyLine:t,backgroundColor:o})=>"fullscreen"===i?e(["box-shadow:0 3px 4px 0 rgba(0,0,0,0.1),10px 10px 60px 0 rgba(0,0,0,0.1);background:var(--container-standard-bg-alt);border-radius:var(--global-radius-container-xl);overflow:hidden;height:100%;width:100%;"]):e(["box-shadow:0 3px 4px 0 rgba(0,0,0,0.1),10px 10px 60px 0 rgba(0,0,0,0.1);border-radius:var(--global-radius-container-xl);background:",";max-height:90vh;width:100%;"," "," "," "," @media screen and (max-width:","){max-width:calc(100% - var(--global-space-comp-2-xl));}",""],o,"small"===i&&e(["min-width:288px;max-width:var(--container-size-dialog-maxwidth-s);"]),"medium"===i&&e(["min-width:540px;max-width:var(--container-size-dialog-maxwidth-m);@media screen and (max-width:","){min-width:",";}"],d.small.maxWidth,l),"large"===i&&e(["min-width:850px;max-width:var(--container-size-dialog-maxwidth-l);@media screen and (max-width:","){min-width:",";}"],d.medium.maxWidth,l),t&&e(['&::before{content:"";position:absolute;top:-8px;height:100px;width:100%;z-index:-1;background:linear-gradient( 90deg,#00d639 0%,#00d6de 40%,#9d60ff 90% );border-radius:var(--global-radius-container-xl) var(--global-radius-container-xl) 0 0;}']),g[i],a&&e(["height:","px;"],a))),o,(({$size:a})=>e("fullscreen"===a?["right:40px;top:26px;"]:["right:33px;top:32px;"])),(({$disableStickyOnSmallScreen:a})=>a&&e(["@media screen and (max-width:","){width:100%;max-width:100%;min-width:100%;border-radius:0;max-height:100%;height:100%;overflow-y:auto;}"],m)),(({$size:a,pagesStyling:i})=>function({$size:a,pagesStyling:i}){return"fullscreen"===a&&i?e(["","{padding:0;}> ","{right:33px;top:32px;}",'{padding:32px 32px 0;}[data-element="dialog-title-container"]{width:auto;padding-top:4px;[data-element="dialog-title"]{margin:0 0 0 3px;box-sizing:content-box;width:100%;}}'],h,o,c):""}({$size:a,pagesStyling:i}))),v=a(r).withConfig({displayName:"dialog.style__StyledSubtitle",componentId:"carbon_v161_2_1__sc-2536516c-5"})(["font:var(--global-font-static-subheading-m);flex-basis:100%;width:100%;margin-top:5px;color:var(--container-standard-txt-alt);"]);export{x as DialogPositioner,f as StyledDialog,h as StyledDialogContent,u as StyledDialogFooter,y as StyledDialogTitle,v as StyledSubtitle,g as dialogSizes,m as smallScreenBreakpoint};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o,{css as r}from"styled-components";import{Box as i}from"../box/box.component.js";import t from"../icon/icon.style.js";const e=o(i).withConfig({displayName:"dismissible-box.style__StyledDismissibleBox",componentId:"
|
|
1
|
+
import o,{css as r}from"styled-components";import{Box as i}from"../box/box.component.js";import t from"../icon/icon.style.js";const e=o(i).withConfig({displayName:"dismissible-box.style__StyledDismissibleBox",componentId:"carbon_v161_2_1__sc-4a614024-0"})(["",""],(({hasBorderLeftHighlight:o=!0,variant:i="light"})=>r(["background-color:",";border:1px solid var(--colorsUtilityMajor100);display:flex;justify-content:space-between;word-break:break-word;"," ",":hover{color:var(--colorsActionMinor600);}"],"light"===i?"#FFFFFF":"var(--colorsUtilityMajor050)",o&&"\n border-left: none;\n box-shadow: -4px 0 0 0 var(--colorsUtilityMajor400);\n ",t)));export{e as StyledDismissibleBox};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{css as i}from"styled-components";import t from"../../style/themes/apply-base-theme.js";import{space as r,margin as n}from"styled-system";const a=({variant:e,inverse:i})=>"prominent"===e?i?"#6F6F6F":"#7C7C7C":i?"#505050":"#A0A0A0",o=e.div.attrs(t).withConfig({displayName:"divider.style__StyledVerticalDividerWrapper",componentId:"
|
|
1
|
+
import e,{css as i}from"styled-components";import t from"../../style/themes/apply-base-theme.js";import{space as r,margin as n}from"styled-system";const a=({variant:e,inverse:i})=>"prominent"===e?i?"#6F6F6F":"#7C7C7C":i?"#505050":"#A0A0A0",o=e.div.attrs(t).withConfig({displayName:"divider.style__StyledVerticalDividerWrapper",componentId:"carbon_v161_2_1__sc-f1b220ec-0"})([""," "," ",""],r,(({height:e})=>e&&i(["height:",";"],"string"==typeof e?`${e}`:`${e}px`)),(({displayInline:e})=>e?"display: inline;":"")),s=e.div.attrs(t).withConfig({displayName:"divider.style__StyledVerticalDivider",componentId:"carbon_v161_2_1__sc-f1b220ec-1"})(["height:100%;border-left:1px solid ",";display:inherit;"],(({variant:e,inverse:i})=>a({variant:e,inverse:i}))),d=e.hr.attrs(t).withConfig({displayName:"divider.style__StyledHorizontalDivider",componentId:"carbon_v161_2_1__sc-f1b220ec-2"})([""," width:100%;border:0;height:1px;background-color:",";"],n,(({variant:e,inverse:i})=>a({variant:e,inverse:i})));export{d as StyledHorizontalDivider,s as StyledVerticalDivider,o as StyledVerticalDividerWrapper};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t,{css as e}from"styled-components";import{margin as o,padding as i}from"styled-system";import a from"../../../style/themes/apply-base-theme.js";const s=t.div.attrs(a).withConfig({displayName:"draggable-item.style__StyledDraggableContainer",componentId:"
|
|
1
|
+
import t,{css as e}from"styled-components";import{margin as o,padding as i}from"styled-system";import a from"../../../style/themes/apply-base-theme.js";const s=t.div.attrs(a).withConfig({displayName:"draggable-item.style__StyledDraggableContainer",componentId:"carbon_v161_2_1__sc-b40520d8-0"})(["",""],o),n=t.div.withConfig({displayName:"draggable-item.style__StyledDraggableItem",componentId:"carbon_v161_2_1__sc-b40520d8-1"})(["opacity:",";"," "," ",""],(({isDragging:t})=>t?"0":"1"),(({isDraggingAndLeftSelf:t})=>t&&e(["display:none;"])),(({shadowStyling:t})=>t&&"top"===t.closestEdge&&e(['&::before{content:"";display:block;height:',"px;}"],t.height)),(({shadowStyling:t})=>t&&"bottom"===t.closestEdge&&e(['&::after{content:"";display:block;height:',"px;}"],t.height))),l=t.div.attrs(a).withConfig({displayName:"draggable-item.style__StyledItemContent",componentId:"carbon_v161_2_1__sc-b40520d8-2"})(["display:flex;align-items:center;border-bottom:1px solid var(--colorsUtilityMajor050);"," cursor:grab;justify-content:space-between;flex-direction:",";"],i,(({flexDirection:t})=>t));export{s as StyledDraggableContainer,n as StyledDraggableItem,l as StyledItemContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t,{css as o}from"styled-components";import e from"../../style/utils/add-focus-styling.js";import i from"../../style/themes/apply-base-theme.js";const a=t.div.withConfig({displayName:"drawer.style__StyledSidebarTitle",componentId:"
|
|
1
|
+
import t,{css as o}from"styled-components";import e from"../../style/utils/add-focus-styling.js";import i from"../../style/themes/apply-base-theme.js";const a=t.div.withConfig({displayName:"drawer.style__StyledSidebarTitle",componentId:"carbon_v161_2_1__sc-4497ce5f-0"})(["padding:var(--spacing300);",""],(({stickyHeader:t})=>t&&o(["position:sticky;top:0;border-bottom:var(--sizing010) solid #a0a0a0;"]))),r=t.div.withConfig({displayName:"drawer.style__StyledSidebarFooter",componentId:"carbon_v161_2_1__sc-4497ce5f-1"})(["padding:var(--spacing300);background-color:var(--colorsUtilityYang100);",""],(({stickyFooter:t})=>t&&o(["position:sticky;bottom:0;"]))),n=t.div.withConfig({displayName:"drawer.style__StyledDrawerSidebar",componentId:"carbon_v161_2_1__sc-4497ce5f-2"})(["display:flex;flex-direction:column;flex:1 1 0%;overflow-y:auto;outline:none;"]),d=t.aside.withConfig({displayName:"drawer.style__StyledDrawerContent",componentId:"carbon_v161_2_1__sc-4497ce5f-3"})(["",";"],(({animationDuration:t,backgroundColor:e,expandedWidth:i,isExpanded:d,showControls:s})=>o(['flex-direction:column;height:auto;position:relative;overflow:auto;display:flex;min-width:"288px";width:',';max-width:"760px";'," background-color:",";",""],i,!d&&o(["display:none;width:0;min-width:0;"]),e||"var(--colorsUtilityYang100)",s&&o(["display:flex;overflow:hidden;min-height:40px;transition:all "," ease-in-out;",",",",","{transition:all "," ease-in-out;white-space:nowrap;overflow:hidden;opacity:1;}",""],t,n,a,r,t,!d&&o(["min-width:var(--sizing500);width:var(--sizing500);",",",",","{opacity:0;}"],n,a,r))))),s=t.button.attrs(i).attrs({type:"button"}).withConfig({displayName:"drawer.style__StyledSidebarToggleButton",componentId:"carbon_v161_2_1__sc-4497ce5f-4"})(["",""],(({isExpanded:t})=>o(["position:absolute;top:var(--spacing300);right:8px;padding:var(--spacing100);width:var(--spacing300);height:var(--spacing300);display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;z-index:1;border-radius:var(--borderRadius050);transform:rotate(0deg);&:focus{","}&:hover{cursor:pointer;}",""],e(),t&&o(["transform:rotate(180deg);"])))),l=t.div.withConfig({displayName:"drawer.style__StyledDrawerWrapper",componentId:"carbon_v161_2_1__sc-4497ce5f-5"})(["display:flex;",""],(({height:t})=>o(["height:",";"],t)));export{d as StyledDrawerContent,n as StyledDrawerSidebar,l as StyledDrawerWrapper,r as StyledSidebarFooter,a as StyledSidebarTitle,s as StyledSidebarToggleButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{css as t}from"styled-components";import{margin as i}from"styled-system";import n from"../../style/themes/apply-base-theme.js";const l=e.div.attrs(n).withConfig({displayName:"duelling-picklist.style__StyledDuellingPicklistOverlay",componentId:"
|
|
1
|
+
import e,{css as t}from"styled-components";import{margin as i}from"styled-system";import n from"../../style/themes/apply-base-theme.js";const l=e.div.attrs(n).withConfig({displayName:"duelling-picklist.style__StyledDuellingPicklistOverlay",componentId:"carbon_v161_2_1__sc-c5d06e9c-0"})([""," transition:opacity 0.3s;",""],i,(({disabled:e})=>e&&t(["opacity:0.2;pointer-events:none;user-select:none;"]))),o=e.div.withConfig({displayName:"duelling-picklist.style__StyledDuellingPicklist",componentId:"carbon_v161_2_1__sc-c5d06e9c-1"})(["display:flex;justify-content:space-between;align-items:stretch;position:relative;"]),s=e.div.withConfig({displayName:"duelling-picklist.style__StyledLabelContainer",componentId:"carbon_v161_2_1__sc-c5d06e9c-2"})(["display:flex;justify-content:space-around;margin-top:40px;margin-bottom:16px;"]),c=e.p.withConfig({displayName:"duelling-picklist.style__StyledLabel",componentId:"carbon_v161_2_1__sc-c5d06e9c-3"})(["font-weight:500;font-size:12px;letter-spacing:1;margin:0;"]),d=e.div.withConfig({displayName:"duelling-picklist.style__StyledControlsContainer",componentId:"carbon_v161_2_1__sc-c5d06e9c-4"})(["display:flex;justify-content:space-around;margin-bottom:16px;"]),a=e.div.withConfig({displayName:"duelling-picklist.style__StyledControl",componentId:"carbon_v161_2_1__sc-c5d06e9c-5"})(["width:50%;padding-right:40px;& ~ &{padding-right:0;padding-left:40px;}"]),p=e.div.withConfig({displayName:"duelling-picklist.style__StyledPicklistPlaceholder",componentId:"carbon_v161_2_1__sc-c5d06e9c-6"})(["height:100%;display:flex;justify-content:center;align-items:center;"]);export{a as StyledControl,d as StyledControlsContainer,o as StyledDuellingPicklist,l as StyledDuellingPicklistOverlay,c as StyledLabel,s as StyledLabelContainer,p as StyledPicklistPlaceholder};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"styled-components";import i from"../../box/box.style.js";const e=t(i).attrs({as:"ul"}).withConfig({displayName:"picklist.style__StyledPicklist",componentId:"
|
|
1
|
+
import t from"styled-components";import i from"../../box/box.style.js";const e=t(i).attrs({as:"ul"}).withConfig({displayName:"picklist.style__StyledPicklist",componentId:"carbon_v161_2_1__sc-77f9122f-0"})(["position:relative;list-style:none;margin:0;padding:8px 8px 8px 8px;width:100%;box-sizing:border-box;overflow-y:auto;height:400px;& + &{margin-left:32px;}.picklist-item-enter{opacity:0;transform:translate(-16px);transition:all 300ms ease-in;}.picklist-item-enter-active{opacity:1;transform:translate(0px);transition:all 300ms ease-in;}.picklist-group-enter{opacity:0;transform:translate(-16px);transition:all 300ms ease-in;}.picklist-group-enter-active{opacity:1;transform:translate(0px);transition:all 300ms ease-in;}"]),o=t.li.withConfig({displayName:"picklist.style__StyledEmptyContainer",componentId:"carbon_v161_2_1__sc-77f9122f-1"})(["position:absolute;top:0;bottom:0;left:0;right:0;height:100%;"]);export{o as StyledEmptyContainer,e as StyledPicklist};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import i from"styled-components";const e=i.div.withConfig({displayName:"picklist-divider.style__StyledPicklistDivider",componentId:"
|
|
1
|
+
import i from"styled-components";const e=i.div.withConfig({displayName:"picklist-divider.style__StyledPicklistDivider",componentId:"carbon_v161_2_1__sc-6d9e8575-0"})(["min-width:2px;background-image:linear-gradient( 180deg,#bfcbd1 0%,rgba(191,203,209,0) 99.9% );margin-left:16px;margin-right:16px;"]);export{e as default};
|