carbon-react 161.2.1 → 161.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__internal__/character-count/character-count.style.js +1 -1
- package/esm/__internal__/checkable-input/checkable-input.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.component.d.ts +3 -1
- package/esm/components/menu/scrollable-block/scrollable-block.component.js +1 -1
- package/esm/components/menu/scrollable-block/scrollable-block.style.d.ts +1 -0
- 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.component.d.ts +3 -1
- package/lib/components/menu/scrollable-block/scrollable-block.component.js +1 -1
- package/lib/components/menu/scrollable-block/scrollable-block.style.d.ts +1 -0
- 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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),n=require("../icon/icon.style.js"),i=require("../../style/themes/apply-base-theme.js"),s=require("../../style/utils/add-focus-styling.js"),o=require("./button-types.style.js");function r(e){return e&&e.__esModule?e:{default:e}}var a=r(e);function l({iconOnly:t,disabled:n,buttonType:i,size:s,destructive:r,isWhite:a}){return e.css(["",";"," "," "," ",""],o.default(n,r,a)[i],"small"===s&&e.css(["font-size:var(--fontSizes100);min-height:32px;"]),"medium"===s&&e.css(["font-size:var(--fontSizes100);min-height:40px;"]),"large"===s&&e.css(["font-size:var(--fontSizes200);min-height:48px;"]),t&&function(e){let t="";switch(e){case"small":t="32px";break;case"large":t="48px";break;default:t="40px"}return`\n padding: 0px; \n width: ${t}; \n min-height: ${t};\n `}(s))}const c=a.default.button.attrs(i.default).withConfig({displayName:"button.style__StyledButton",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),n=require("../icon/icon.style.js"),i=require("../../style/themes/apply-base-theme.js"),s=require("../../style/utils/add-focus-styling.js"),o=require("./button-types.style.js");function r(e){return e&&e.__esModule?e:{default:e}}var a=r(e);function l({iconOnly:t,disabled:n,buttonType:i,size:s,destructive:r,isWhite:a}){return e.css(["",";"," "," "," ",""],o.default(n,r,a)[i],"small"===s&&e.css(["font-size:var(--fontSizes100);min-height:32px;"]),"medium"===s&&e.css(["font-size:var(--fontSizes100);min-height:40px;"]),"large"===s&&e.css(["font-size:var(--fontSizes200);min-height:48px;"]),t&&function(e){let t="";switch(e){case"small":t="32px";break;case"large":t="48px";break;default:t="40px"}return`\n padding: 0px; \n width: ${t}; \n min-height: ${t};\n `}(s))}const c=a.default.button.attrs(i.default).withConfig({displayName:"button.style__StyledButton",componentId:"carbon_v161_3_0__sc-7eccfb5e-0"})([""," "," "," ",""],t.space,(({disabled:t,noWrap:n})=>e.css(["align-items:center;cursor:",";display:inline-flex;",";justify-content:center;vertical-align:middle;outline-offset:0;border:2px solid transparent;box-sizing:border-box;font-weight:500;text-decoration:none;border-radius:var(--borderRadius400);&:focus{","}",""],t?"not-allowed":"pointer",n?"white-space: nowrap":"flex-flow: wrap",s.default(),l)),(({fullWidth:t})=>t&&e.css(["width:100%;"])),(({iconOnly:t,iconPosition:i,iconType:s})=>e.css(["","{"," "," height:",";width:20px;svg{margin-top:0;}}"],n.default,t&&e.css(["margin-left:auto;margin-right:auto;margin-bottom:1px;"]),!t&&e.css(["margin-bottom:0px;"," ",""],"after"===i&&"\n margin-left: var(--spacing100);\n margin-right: 0px;\n ","before"===i&&"\n margin-left: 0px;\n margin-right: var(--spacing100);\n "),function(e){return"services"===e?"6px":"20px"}(s)))),d=a.default.span.withConfig({displayName:"button.style__StyledButtonSubtext",componentId:"carbon_v161_3_0__sc-7eccfb5e-1"})(["font-size:14px;font-weight:400;display:block;"]),u=a.default.span.withConfig({displayName:"button.style__StyledButtonMainText",componentId:"carbon_v161_3_0__sc-7eccfb5e-2"})(["display:flex;align-items:center;"]);exports.StyledButtonMainText=u,exports.StyledButtonSubtext=d,exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("styled-components"),r=require("styled-system"),t=require("../../style/themes/apply-base-theme.js"),e=require("../icon/icon.style.js"),i=require("../icon-button/icon-button.style.js");function d(o){return o&&o.__esModule?o:{default:o}}const s=d(o).default.div.attrs(t.default).withConfig({displayName:"button-bar.style__StyledButtonBar",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("styled-components"),r=require("styled-system"),t=require("../../style/themes/apply-base-theme.js"),e=require("../icon/icon.style.js"),i=require("../icon-button/icon-button.style.js");function d(o){return o&&o.__esModule?o:{default:o}}const s=d(o).default.div.attrs(t.default).withConfig({displayName:"button-bar.style__StyledButtonBar",componentId:"carbon_v161_3_0__sc-488d349-0"})([""," ",""],r.space,(({fullWidth:r,size:t})=>o.css([""," button{margin:0;position:relative;&:not(:first-child):not(:last-child){border-radius:var(--borderRadius000);}&:first-child:not(:last-child){border-top-right-radius:var(--borderRadius000);border-bottom-right-radius:var(--borderRadius000);}&:last-child:not(:first-child){border-top-left-radius:var(--borderRadius000);border-bottom-left-radius:var(--borderRadius000);}&:not(:first-of-type){margin-left:-2px;}&:not(:disabled){z-index:1;}&:hover:not(:disabled){z-index:2;}&:focus{z-index:3;}}",":not(:disabled){border:2px solid var(--colorsActionMajor500);&:focus{border-right-color:var(--colorsActionMajor500);}&:hover{background-color:var(--colorsActionMajor600);border-color:var(--colorsActionMajor600);color:var(--colorsActionMajorYang100);}","{color:var(--colorsActionMajor500);&:hover{color:var(--colorsActionMajorYang100);}}}",":disabled{border:2px solid var(--colorsActionDisabled500);}"],r&&o.css(["width:100%;display:flex;button{box-sizing:content-box;padding:0;width:100%;"," "," ","}"],"small"===t&&"min-height: 28px","medium"===t&&"min-height: 36px","large"===t&&"min-height: 44px"),i.default,e.default,i.default)));exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("styled-components"),r=require("../button/button.component.js"),o=require("../icon/icon.style.js"),a=require("../loader/loader-square.style.js");function i(n){return n&&n.__esModule?n:{default:n}}function e(n){return`\n color: ${n};\n ${o.default} {\n color: ${n};\n }\n ${a.default} {\n background-color: ${n};\n }\n `}const c=i(n).default(r.default).withConfig({displayName:"button-minor.style__StyledButtonMinor",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("styled-components"),r=require("../button/button.component.js"),o=require("../icon/icon.style.js"),a=require("../loader/loader-square.style.js");function i(n){return n&&n.__esModule?n:{default:n}}function e(n){return`\n color: ${n};\n ${o.default} {\n color: ${n};\n }\n ${a.default} {\n background-color: ${n};\n }\n `}const c=i(n).default(r.default).withConfig({displayName:"button-minor.style__StyledButtonMinor",componentId:"carbon_v161_3_0__sc-e9ee7e36-0"})(["border-radius:var(--borderRadius050);"," "," "," ",""],(({children:r})=>!r&&n.css(["","{position:absolute;}"],o.default)),(({buttonType:r,destructive:o,disabled:a})=>!o&&!a&&n.css([""," "," ",""],"primary"===r&&`\n background: var(--colorsActionMinor500);\n border-color: var(--colorsActionMinorTransparent);\n ${e("var(--colorsActionMinorYang100)")}\n &:hover {\n background: var(--colorsActionMinor600);\n }\n `,"secondary"===r&&`\n background: transparent;\n padding: var(--spacing100);\n border-color: var(--colorsActionMinor500);\n ${e("var(--colorsActionMinor500)")}\n &:hover {\n color: var(--colorsActionMinorYang100);\n background: var(--colorsActionMinor600);\n }\n `,"tertiary"===r&&`\n background: transparent;\n padding: var(--spacing100);\n ${e("var(--colorsActionMinor500)")}\n &:hover {\n color: var(--colorsActionMinorYang100);\n background: var(--colorsActionMinor600);\n }\n `)),(({isInPassword:r,disabled:a})=>r&&!a&&n.css(["","{color:var(--colorsUtilityMajor300);}&:hover{","{color:var(--colorsUtilityMajor300);}color:var(--colorsActionMinor500);background:transparent;}"],o.default,o.default)),(({size:r})=>n.css([""," "," ",""],"small"===r&&"\n min-height: var(--sizing400);\n padding: var(--spacing000) var(--spacing100) var(--spacing000)\n var(--spacing100);\n ","medium"===r&&"\n padding-left: var(--spacing150);\n padding-right: var(--spacing150);\n ","large"===r&&"\n padding-left: var(--spacing200);\n padding-right: var(--spacing200);\n ")));exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),a=require("styled-system"),l=require("../../../style/themes/apply-base-theme.js");function t(e){return e&&e.__esModule?e:{default:e}}var o=t(e);const r={small:{gap:"var(--global-space-comp-xs)",borderRadius:"var(--global-radius-action-l)"},medium:{gap:"var(--global-space-comp-s)",borderRadius:"var(--global-radius-action-xl)"},large:{gap:"var(--global-space-comp-m)",borderRadius:"var(--global-radius-action-2-xl)"}},s=o.default.div.attrs(l.default).withConfig({displayName:"button-toggle-group.style__StyledButtonToggleGroup",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),a=require("styled-system"),l=require("../../../style/themes/apply-base-theme.js");function t(e){return e&&e.__esModule?e:{default:e}}var o=t(e);const r={small:{gap:"var(--global-space-comp-xs)",borderRadius:"var(--global-radius-action-l)"},medium:{gap:"var(--global-space-comp-s)",borderRadius:"var(--global-radius-action-xl)"},large:{gap:"var(--global-space-comp-m)",borderRadius:"var(--global-radius-action-2-xl)"}},s=o.default.div.attrs(l.default).withConfig({displayName:"button-toggle-group.style__StyledButtonToggleGroup",componentId:"carbon_v161_3_0__sc-9691d771-0"})([""," ",""],(({$size:a,$fullWidth:l,$width:t})=>e.css(["display:flex;flex-direction:column;gap:",";"," ",""],r[a].gap,l&&e.css(["width:100%;"]),t&&e.css(["width:","%;"],t))),a.margin),d=o.default.div.withConfig({displayName:"button-toggle-group.style__StyledLabelWrapper",componentId:"carbon_v161_3_0__sc-9691d771-1"})(["display:flex;flex-direction:column;"]),i=o.default.div.withConfig({displayName:"button-toggle-group.style__StyledButtonToggleWrapper",componentId:"carbon_v161_3_0__sc-9691d771-2"})(["",""],(({$size:a,$isDisabled:l,$fullWidth:t})=>e.css(["display:flex;flex-wrap:wrap;padding:var(--global-space-comp-xs);align-items:center;gap:var(--global-space-comp-s);"," border-radius:",";border:var(--global-borderwidth-xs) solid var(--button-typical-toggle-border-default);",""],!t&&e.css(["width:fit-content;"]),r[a].borderRadius,l&&e.css(["border-color:var(--button-typical-toggle-border-disabled);"]))));exports.StyledButtonToggleGroup=s,exports.StyledButtonToggleWrapper=i,exports.StyledLabelWrapper=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("styled-components"),e=require("../../style/themes/apply-base-theme.js"),l=require("../../style/utils/add-focus-styling.js");function o(a){return a&&a.__esModule?a:{default:a}}const t={extraSmall:{font:"var(--global-font-static-comp-medium-s)",size:"var(--global-size-xs)",padding:"var(--global-space-comp-2-xs) var(--global-space-comp-s)",borderRadius:"12px"},small:{font:"var(--global-font-static-comp-medium-s)",size:"var(--global-size-s)",padding:"var(--global-space-comp-xs) var(--global-space-comp-m)",borderRadius:"var(--global-radius-action-l)"},medium:{font:"var(--global-font-static-comp-medium-m)",size:"var(--global-size-m)",padding:"var(--global-space-comp-s) var(--global-space-comp-l)",borderRadius:"var(--global-radius-action-xl)"},large:{font:"var(--global-font-static-comp-medium-l)",size:"var(--global-size-l)",padding:"var(--global-space-comp-s) var(--global-space-comp-l)",borderRadius:"var(--global-radius-action-2-xl)"}},s=o(a).default.button.attrs(e.default).withConfig({displayName:"button-toggle.style__StyledButtonToggle",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("styled-components"),e=require("../../style/themes/apply-base-theme.js"),l=require("../../style/utils/add-focus-styling.js");function o(a){return a&&a.__esModule?a:{default:a}}const t={extraSmall:{font:"var(--global-font-static-comp-medium-s)",size:"var(--global-size-xs)",padding:"var(--global-space-comp-2-xs) var(--global-space-comp-s)",borderRadius:"12px"},small:{font:"var(--global-font-static-comp-medium-s)",size:"var(--global-size-s)",padding:"var(--global-space-comp-xs) var(--global-space-comp-m)",borderRadius:"var(--global-radius-action-l)"},medium:{font:"var(--global-font-static-comp-medium-m)",size:"var(--global-size-m)",padding:"var(--global-space-comp-s) var(--global-space-comp-l)",borderRadius:"var(--global-radius-action-xl)"},large:{font:"var(--global-font-static-comp-medium-l)",size:"var(--global-size-l)",padding:"var(--global-space-comp-s) var(--global-space-comp-l)",borderRadius:"var(--global-radius-action-2-xl)"}},s=o(a).default.button.attrs(e.default).withConfig({displayName:"button-toggle.style__StyledButtonToggle",componentId:"carbon_v161_3_0__sc-3f79f28e-0"})(["",""],(({$active:e,$size:o,disabled:s,$iconOnly:r,$fullWidth:i})=>a.css(["display:inline-flex;justify-content:center;align-items:center;flex-wrap:nowrap;white-space:nowrap;cursor:pointer;gap:var(--global-space-comp-s);height:",";"," "," "," border-radius:",";border:none;background-color:transparent;color:var(--button-typical-toggle-label-default);font:",";text-align:center;"," "," ",""],t[o].size,!r&&a.css(["padding:",";"],t[o].padding),r&&a.css(["width:",";"],t[o].size),i&&a.css(["flex:1 1 auto;"]),t[o].borderRadius,t[o].font,e&&a.css(["background:var(--button-typical-toggle-bg-active);color:var(--button-typical-toggle-label-active);"]),s&&a.css(["cursor:not-allowed;color:var(--button-typical-toggle-label-disabled);",""],e&&a.css(["background:var(--button-typical-toggle-bg-active-disabled);color:var(--button-typical-toggle-label-active-disabled);"])),!s&&a.css(["&:focus{","}&:hover{background:var(--button-typical-toggle-bg-hover);color:var(--button-typical-toggle-label-hover);}"],l.default()))));exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=e(require("styled-components")).default.div.withConfig({displayName:"card-column.style__StyledCardColumn",componentId:"
|
|
1
|
+
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=e(require("styled-components")).default.div.withConfig({displayName:"card-column.style__StyledCardColumn",componentId:"carbon_v161_3_0__sc-95a32290-0"})(["flex-grow:1;text-align:",";"],(({align:e})=>e));exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("styled-components"),e=require("styled-system"),o=require("../card-column/card-column.style.js");function t(r){return r&&r.__esModule?r:{default:r}}const a={small:"0 -24px",medium:"0 -32px",large:"0 -48px"},d={small:"16px 24px",medium:"18px 32px",large:"20px 48px"},s=t(r).default.div.withConfig({displayName:"card-footer.style__StyledCardFooter",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("styled-components"),e=require("styled-system"),o=require("../card-column/card-column.style.js");function t(r){return r&&r.__esModule?r:{default:r}}const a={small:"0 -24px",medium:"0 -32px",large:"0 -48px"},d={small:"16px 24px",medium:"18px 32px",large:"20px 48px"},s=t(r).default.div.withConfig({displayName:"card-footer.style__StyledCardFooter",componentId:"carbon_v161_3_0__sc-bacf2806-0"})([""," ",""],e.space,(({spacing:e,variant:t,roundness:s})=>r.css(["background-color:",";border-top:var(--colorsUtilityMajor100);border-top-width:1px;border-top-style:solid;margin:",";display:flex;"," "," ","{margin:0;padding:",";}"],"transparent"===t?"transparent":"var(--colorsUtilityMajor025)",a[e],"default"===s&&r.css(["border-bottom-left-radius:var(--borderRadius100);border-bottom-right-radius:var(--borderRadius100);"]),"large"===s&&r.css(["border-bottom-left-radius:var(--borderRadius200);border-bottom-right-radius:var(--borderRadius200);"]),o.default,d[e])));exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),a=require("../../../style/themes/apply-base-theme.js");function s(e){return e&&e.__esModule?e:{default:e}}const d={small:"var(--spacing200)",medium:"var(--spacing300)",large:"var(--spacing400)"},o=s(e).default.div.attrs(a.default).withConfig({displayName:"card-row.style__StyledCardRow",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),a=require("../../../style/themes/apply-base-theme.js");function s(e){return e&&e.__esModule?e:{default:e}}const d={small:"var(--spacing200)",medium:"var(--spacing300)",large:"var(--spacing400)"},o=s(e).default.div.attrs(a.default).withConfig({displayName:"card-row.style__StyledCardRow",componentId:"carbon_v161_3_0__sc-922ff5ec-0"})(["display:flex;"," &:first-of-type:not(:only-of-type){padding-top:var(--spacing000);padding-bottom:var(--spacing000);}&:only-of-type{padding-top:var(--spacing000);}&&{","}"],(({spacing:t})=>e.css(["padding-top:",";padding-bottom:",";"],d[t],d[t])),t.padding);exports.default=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("styled-components"),e=require("styled-system"),o=require("../../style/themes/apply-base-theme.js"),a=require("../../style/utils/add-focus-styling.js");function t(r){return r&&r.__esModule?r:{default:r}}var s=t(r);const d={small:"0 var(--spacing300)",medium:"0 var(--spacing400)",large:"0 var(--spacing600)"},i={small:"0 -24px",medium:"0 -32px",large:"0 -48px"},n=s.default.div.attrs(o.default).withConfig({displayName:"card.style__StyledCard",componentId:"
|
|
1
|
+
"use strict";var r=require("styled-components"),e=require("styled-system"),o=require("../../style/themes/apply-base-theme.js"),a=require("../../style/utils/add-focus-styling.js");function t(r){return r&&r.__esModule?r:{default:r}}var s=t(r);const d={small:"0 var(--spacing300)",medium:"0 var(--spacing400)",large:"0 var(--spacing600)"},i={small:"0 -24px",medium:"0 -32px",large:"0 -48px"},n=s.default.div.attrs(o.default).withConfig({displayName:"card.style__StyledCard",componentId:"carbon_v161_3_0__sc-4237fca-0"})(["",""],(({cardWidth:o,interactive:a,draggable:t,height:s,spacing:i,boxShadow:n="boxShadow050",hoverBoxShadow:l="boxShadow100",roundness:u})=>r.css(["background-color:var(--colorsUtilityYang100);border:none;border-radius:",";box-shadow:var(--",");color:var(--colorsUtilityYin090);display:flex;flex-direction:column;height:",";justify-content:space-between;align-items:normal;margin:25px;outline:none;padding:",";transition:all 0.3s ease-in-out;vertical-align:top;width:",";"," "," "," ::-moz-focus-inner{border:0;}"],"default"===u?"var(--borderRadius100)":"var(--borderRadius200)",n,s,d[i],o,e.margin,a&&r.css([":hover,:focus{box-shadow:var(--",");}"],l),t&&r.css(["cursor:move;"])))),l=s.default.div.attrs(o.default).attrs((({href:r,onClick:e})=>r?{as:"a"}:e?{as:"button",role:"button",type:"button"}:{})).withConfig({displayName:"card.style__StyledCardContent",componentId:"carbon_v161_3_0__sc-4237fca-1"})([""," align-items:stretch;outline:none;text-decoration:none;background-color:inherit;border:none;padding:0;"," ",""],(({interactive:e})=>e&&r.css(["cursor:pointer;display:inline-flex;flex-direction:column;height:100%;:focus{",";position:relative;}"],a.default())),(({spacing:r})=>`\n padding: ${d[r]};\n margin: ${i[r]};\n `),(({roundness:e,hasFooter:o})=>r.css([""," ",""],"default"===e&&r.css(["border-top-left-radius:var(--borderRadius100);border-top-right-radius:var(--borderRadius100);",""],!o&&r.css(["border-bottom-left-radius:var(--borderRadius100);border-bottom-right-radius:var(--borderRadius100);"])),"default"!==e&&r.css(["border-top-left-radius:var(--borderRadius200);border-top-right-radius:var(--borderRadius200);",""],!o&&r.css(["border-bottom-left-radius:var(--borderRadius200);border-bottom-right-radius:var(--borderRadius200);"])))));exports.StyledCard=n,exports.StyledCardContent=l,exports.marginSizes=i,exports.paddingSizes=d;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { CheckboxSizes } from "../checkbox-group/checkbox-group.component";
|
|
3
|
+
type CheckboxGroupContext = {
|
|
4
|
+
inline?: boolean;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
warning?: boolean;
|
|
7
|
+
size?: CheckboxSizes;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: React.Context<CheckboxGroupContext>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react"),exports.default=({indeterminate:r})=>e.jsx("div",{"data-role":"checkable-input-svg-wrapper",children:r?e.jsx("svg",{"data-role":"indeterminate-svg",focusable:"false",viewBox:"0 0 20 20",fill:"none",children:e.jsx("rect",{y:"8",width:"20",height:"4",rx:"2",fill:"transparent"})}):e.jsx("svg",{focusable:"false",viewBox:"0 0 16 12",fill:"none",children:e.jsx("path",{d:"M15.3254 0.231177C15.0768 0.0725131 14.7858 -0.0078498 14.4904 0.000604729C14.1106 0.0116071 13.7498 0.168628 13.4841 0.43853L5.39406 8.47955L2.522 5.62489C2.38757 5.48677 2.22699 5.37639 2.04948 5.30014C1.87029 5.22317 1.67746 5.1825 1.48226 5.18053C1.28706 5.17856 1.09344 5.21532 0.912713 5.28865C0.731991 5.36199 0.567806 5.47043 0.429775 5.60762C0.291743 5.74482 0.182642 5.90801 0.108858 6.08764C0.035074 6.26727 -0.00190855 6.45972 7.58261e-05 6.65373C0.0020602 6.84775 0.0429724 7.03941 0.120415 7.21751C0.197135 7.39395 0.308179 7.55356 0.447147 7.68717L4.35671 11.573C4.63187 11.8464 5.005 12 5.39406 12C5.78312 12 6.15633 11.8464 6.43149 11.573L15.559 2.50077C15.7693 2.29623 15.9128 2.03357 15.971 1.74686C16.0294 1.45899 15.9991 1.16029 15.8839 0.889848C15.7687 0.619408 15.574 0.389838 15.3254 0.231177Z",fill:"transparent"})})});
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("../../../__internal__/utils/helpers/tags/tags.js"),n=require("../../../__internal__/fieldset/__next__/fieldset.component.js");require("../../../style/utils/filter-styled-system-padding-props.js");var i=require("../../../style/utils/filter-styled-system-margin-props.js"),l=require("../__internal__/checkbox-group.context.js"),o=require("./checkbox-group.style.js"),s=require("../../../__internal__/utils/helpers/guid/index.js");function u(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:a,legend:c,legendHint:p,size:g="medium",error:f,warning:b,info:y,disabled:O,required:j,legendInline:_,legendWidth:h,legendAlign:P,legendSpacing:v,legendHelp:x,tooltipPosition:m,inline:w,id:q,validationMessagePositionTop:k=!0}=d,S=function(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},l=Object.keys(e);for(n=0;n<l.length;n++)t=l[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)t=l[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 z=r.useRef(s.default()),D=q||z.current;return e.jsx(n.default,(H=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){u(e,r,t[r])}))}return e}({id:D,legend:c,legendHint:p||x,isDisabled:O,isRequired:j,error:f,warning:b,validationMessagePositionTop:k,size:g},t.default("checkbox-group",S),i.default(S)),M=null!=(M={children:e.jsx(l.default.Provider,{value:{error:!!f,warning:!!b,inline:w,size:g,disabled:O,required:j},children:e.jsx(o.default,{"data-role":"checkbox-group-content",$inline:w,$size:g,children:a})})})?M:{},Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(M)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(M)).forEach((function(e){Object.defineProperty(H,e,Object.getOwnPropertyDescriptor(M,e))})),H));var H,M};d.displayName="CheckboxGroup",exports.CheckboxGroup=d,exports.default=d;
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components");function l(e){return e&&e.__esModule?e:{default:e}}const a={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)"}},o=l(e).default.div.withConfig({displayName:"checkbox-group.style__StyledCheckboxGroupContent",componentId:"carbon_v161_3_0__sc-87d1bb91-0"})(["",""],(({$size:l,$inline:o})=>e.css(["display:flex;flex-direction:column;gap:",";.checkable-label{font:",";}",""],a[l].gap,a[l].labelFont,o&&e.css(["flex-direction:row;gap:var(--global-space-comp-l);"]))));exports.default=o;
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("../../__internal__/utils/helpers/tags/tags.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("../../__internal__/utils/helpers/tags/tags.js"),i=require("./checkbox.style.js"),n=require("../../__internal__/checkable-input/checkable-input.component.js"),a=require("./__internal__/checkbox-svg.component.js"),l=require("./__internal__/checkbox-group.context.js"),o=require("../../__internal__/error-border/error-border.style.js"),s=require("../../__internal__/validation-message/__next__/validation-message.component.js"),u=require("../../__internal__/utils/helpers/guid/index.js");require("../../style/utils/filter-styled-system-padding-props.js");var c=require("../../style/utils/filter-styled-system-margin-props.js"),d=require("../fieldset/__internal__/fieldset.context.js");function p(e){return e&&e.__esModule?e:{default:e}}function b(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function f(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){b(e,r,t[r])}))}return e}function y(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 g=p(r).default.forwardRef(((p,b)=>{var{"aria-describedby":g,"data-element":_,"data-role":j,id:h,label:m,inputHint:O,name:v,value:x,fieldHelp:k,autoFocus:w,labelHelp:q,labelSpacing:P,labelWidth:S,adaptiveSpacingBreakpoint:H,required:z,error:D,warning:$,info:C,fieldHelpInline:E,reverse:W,checked:F,indeterminate:M,disabled:R,inputWidth:A,size:B="medium",tooltipPosition:I,helpAriaLabel:L,progressiveDisclosure:T,validationMessagePositionTop:N=!0}=p,G=function(e,r){if(null==e)return{};var t,i,n=function(e,r){if(null==e)return{};var t,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)t=a[i],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)t=a[i],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(p,["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 J=r.useRef(u.default()),K=r.useRef(null),Q=h||J.current,U=D||$?`${Q}-validation-message`:void 0,V=[U,g].filter(Boolean).join(" "),{error:X,warning:Y,inline:Z,size:ee,disabled:re,required:te}=r.useContext(l.default),ie=void 0!==ee,{size:ne,hasError:ae}=r.useContext(d.default),le=ne||ee||B,oe=X||ae||!!D,se=!!M;r.useEffect((()=>{K.current&&(K.current.indeterminate=se)}),[M]);const ue=()=>D||$?e.jsxs(e.Fragment,{children:[e.jsx(s.default,{error:D,warning:$,id:U,size:ne||B}),e.jsx(o.default,{$warning:!(D||!$)})]}):null,ce=e.jsx(n.default,y(f({type:"checkbox",id:h,name:v,value:x,label:m,inputHint:O||q,disabled:re||R,required:te||z,showRequiredAsterisk:z,checked:F,ref:e=>{K.current=e,"function"==typeof b?b(e):b&&(b.current=e)},autoFocus:w,size:le,error:oe,warning:Y||!!$,"aria-describedby":V,"aria-checked":M?"mixed":F},!Z&&{progressiveDisclosure:T},G),{children:e.jsx(a.default,{indeterminate:se})}));return e.jsx(i.StyledCheckbox,y(f({$isDisabled:R||re,$size:le,$error:oe,$checked:!!F,$indeterminate:se},c.default(G),t.default("checkbox",{"data-element":_,"data-role":j})),{children:ie?ce:e.jsxs(i.StyledCheckboxContentWrapper,{$size:ne||B,children:[N&&ue(),ce,!N&&ue()]})}))}));g.displayName="Checkbox",exports.Checkbox=g,exports.default=g;
|
|
@@ -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
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("styled-components"),i=require("styled-system"),a=require("../../__internal__/checkable-input/hidden-checkable-input.style.js"),t=require("../../style/themes/apply-base-theme.js"),r=require("../../style/utils/add-focus-styling.js");function l(e){return e&&e.__esModule?e:{default:e}}var s=l(e);const o={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)"}},c=s.default.div.attrs(t.default).withConfig({displayName:"checkbox.style__StyledCheckbox",componentId:"carbon_v161_3_0__sc-9c8e3171-0"})(["margin-bottom:var(--fieldSpacing);",";",""],i.margin,(({$isDisabled:i,$size:t,$error:l,$checked:s,$indeterminate:c})=>e.css(['[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"===t?"var(--global-radius-action-m)":"var(--global-radius-action-s)",o[t].inputSize,o[t].inputSize,s&&e.css(["svg{width:",";}"],o[t].checkSvgSize),c&&e.css(["svg{width:",";}"],o[t].indeterminateSvgSize),!i&&l&&e.css(["border:var(--global-borderwidth-s) solid var(--input-validation-border-error);"]),i&&e.css(["border-color:var(--input-typical-border-disabled);background-color:var(--input-typical-bg-disabled);"]),a.default,o[t].inputSize,o[t].inputSize,(s||c)&&e.css(["svg path,svg rect{fill:var(--input-typical-icon-active);","}"],i&&e.css(["fill:var(--input-typical-icon-disabled);"])),a.default,r.default()))),d=s.default.div.withConfig({displayName:"checkbox.style__StyledCheckboxContentWrapper",componentId:"carbon_v161_3_0__sc-9c8e3171-1"})(["",";"],(({$size:i})=>e.css(["display:flex;flex-direction:column;position:relative;gap:",";"],o[i].validationGap)));exports.StyledCheckbox=c,exports.StyledCheckboxContentWrapper=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("../icon/icon.style.js"),n=require("../heading/heading.style.js");function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e);const r=o.default.div.withConfig({displayName:"confirm.style__StyledConfirmButtons",componentId:"
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("../icon/icon.style.js"),n=require("../heading/heading.style.js");function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e);const r=o.default.div.withConfig({displayName:"confirm.style__StyledConfirmButtons",componentId:"carbon_v161_3_0__sc-1b5d4dde-0"})(["margin-top:48px;display:flex;justify-content:flex-end;"]),d=o.default.div.withConfig({displayName:"confirm.style__StyledConfirmHeading",componentId:"carbon_v161_3_0__sc-1b5d4dde-1"})(["display:flex;align-items:center;","{padding:0px;}","{margin-right:16px;margin-bottom:20px;"," ","}"],n.StyledHeadingTitle,t.default,(({type:t})=>"warning"===t&&e.css(["color:var(--colorsSemanticCaution500);"])),(({type:t})=>"error"===t&&e.css(["color:var(--colorsSemanticNegative500);"])));exports.StyledConfirmButtons=r,exports.StyledConfirmHeading=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("styled-components"),e=require("styled-system"),n=require("../../style/themes/apply-base-theme.js");function i(t){return t&&t.__esModule?t:{default:t}}var l=i(t);const s=l.default.div.attrs(n.default).withConfig({displayName:"content.style__StyledContent",componentId:"
|
|
1
|
+
"use strict";var t=require("styled-components"),e=require("styled-system"),n=require("../../style/themes/apply-base-theme.js");function i(t){return t&&t.__esModule?t:{default:t}}var l=i(t);const s=l.default.div.attrs(n.default).withConfig({displayName:"content.style__StyledContent",componentId:"carbon_v161_3_0__sc-273b17cd-0"})(["",""],(({bodyFullWidth:n,align:i})=>t.css([""," & + &{margin-top:15px;}"," ",""],e.margin,i&&t.css(["text-align:",";"],i),n&&t.css(["text-align:left;"])))),o=l.default.div.withConfig({displayName:"content.style__StyledContentTitle",componentId:"carbon_v161_3_0__sc-273b17cd-1"})(["",";"],(({titleWidth:e,inline:n,variant:i,align:l})=>t.css(["display:",";font-weight:500;width:",";text-align:",";"," ",""],n?"inline-block":"block",e&&`calc(${e}% - 30px)`,!n&&l,"center"===l&&n&&t.css(["text-align:right;width:calc(50% - 30px);"]),"secondary"===i&&t.css(["color:var(--colorsUtilityYin055);font-weight:normal;"])))),a=l.default.div.withConfig({displayName:"content.style__StyledContentBody",componentId:"carbon_v161_3_0__sc-273b17cd-2"})(["",";"],(({bodyFullWidth:e,titleWidth:n,inline:i,align:l})=>t.css(["display:",";margin-top:2px;white-space:pre-wrap;word-wrap:break-word;font-weight:normal;"," "," "," "," ",""],i?"inline-block":"block","center"===l&&i&&t.css(["width:50%;"]),n&&t.css(["width:","%;"],100-Number(n)),e&&t.css(["width:100%;"]),i&&e&&t.css(["margin-top:15px;"]),i&&!e&&t.css(["margin-top:0;margin-left:var(--spacing300);text-align:left;"]))));exports.StyledContent=s,exports.StyledContentBody=a,exports.StyledContentTitle=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("styled-components"),e=require("../../../../style/themes/apply-base-theme.js"),o=require("../../../../style/utils/add-focus-styling.js");function d(r){return r&&r.__esModule?r:{default:r}}const t=d(r).default.div.attrs(e.default).withConfig({displayName:"day-picker.style__StyledDayPicker",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("styled-components"),e=require("../../../../style/themes/apply-base-theme.js"),o=require("../../../../style/utils/add-focus-styling.js");function d(r){return r&&r.__esModule?r:{default:r}}const t=d(r).default.div.attrs(e.default).withConfig({displayName:"day-picker.style__StyledDayPicker",componentId:"carbon_v161_3_0__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{","}}"],(()=>r.css(['.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;}'])),o.default(!0),o.default(!0));exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../../../style/utils/add-focus-styling.js"),r=require("../../../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}const s=o(e).default.button.attrs(r.default).attrs({type:"button"}).withConfig({displayName:"button.style__StyledButton",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../../../style/utils/add-focus-styling.js"),r=require("../../../../style/themes/apply-base-theme.js");function o(e){return e&&e.__esModule?e:{default:e}}const s=o(e).default.button.attrs(r.default).attrs({type:"button"}).withConfig({displayName:"button.style__StyledButton",componentId:"carbon_v161_3_0__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{","}"],t.default());exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=e(require("styled-components")).default.div.withConfig({displayName:"navbar.style__StyledNavbar",componentId:"
|
|
1
|
+
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=e(require("styled-components")).default.div.withConfig({displayName:"navbar.style__StyledNavbar",componentId:"carbon_v161_3_0__sc-d6686bc9-0"})(["&.rdp-nav{display:flex;justify-content:space-between;padding:0;top:0;height:var(--sizing500);}"]);exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=e(require("styled-components")).default.abbr.withConfig({displayName:"abbr.style__StyledAbbr",componentId:"
|
|
1
|
+
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=e(require("styled-components")).default.abbr.withConfig({displayName:"abbr.style__StyledAbbr",componentId:"carbon_v161_3_0__sc-e967dee-0"})(["text-decoration:none;"]);exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("./abbr.style.js");function r(e){return e&&e.__esModule?e:{default:e}}const o=r(e).default.th.withConfig({displayName:"weekday.style__StyledWeekday",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("./abbr.style.js");function r(e){return e&&e.__esModule?e:{default:e}}const o=r(e).default.th.withConfig({displayName:"weekday.style__StyledWeekday",componentId:"carbon_v161_3_0__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;}"],t.default);exports.default=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),a=require("../../style/themes/apply-base-theme.js"),l=require("../../__internal__/validation-message/validation-message.style.js"),s=require("../../__internal__/label/label.style.js");function r(e){return e&&e.__esModule?e:{default:e}}const i={large:"140px",medium:"135px",small:"120px"},n=r(e).default.div.attrs(a.default).withConfig({displayName:"date.style__StyledDateInput",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),a=require("../../style/themes/apply-base-theme.js"),l=require("../../__internal__/validation-message/validation-message.style.js"),s=require("../../__internal__/label/label.style.js");function r(e){return e&&e.__esModule?e:{default:e}}const i={large:"140px",medium:"135px",small:"120px"},n=r(e).default.div.attrs(a.default).withConfig({displayName:"date.style__StyledDateInput",componentId:"carbon_v161_3_0__sc-48d2712c-0"})(["margin-bottom:var(--fieldSpacing);"," ",""],t.margin,(({applyDateRangeStyling:t,labelInline:a,maxWidth:r,size:n})=>t&&e.css(['[data-role="input-wrapper"]{width:',";flex:0 0 auto;}",""],null!=r?r:i[n],!a&&e.css(["",",","{overflow-wrap:anywhere;}"],l.default,s.default))));exports.datePickerWidth=i,exports.default=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),a=require("../date/date.style.js"),i=require("../../style/themes/apply-base-theme.js");function l(e){return e&&e.__esModule?e:{default:e}}const s=l(e).default.div.attrs(i.default).withConfig({displayName:"date-range.style__StyledDateRange",componentId:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("styled-system"),a=require("../date/date.style.js"),i=require("../../style/themes/apply-base-theme.js");function l(e){return e&&e.__esModule?e:{default:e}}const s=l(e).default.div.attrs(i.default).withConfig({displayName:"date-range.style__StyledDateRange",componentId:"carbon_v161_3_0__sc-91656d90-0"})([""," margin-bottom:var(--fieldSpacing);"," & ","{display:inline-block;vertical-align:",";}& ",":first-of-type{margin-right:var(--spacing300);}"],(({validationMessagePositionTop:e})=>`\n display: flex;\n align-items: ${e?"flex-end":"flex-start"};\n `),t.margin,a.default,(({labelsInline:e})=>e?"top":"bottom"),a.default);exports.default=s;
|