@carbon/web-components 2.46.0 → 2.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +89 -20
- package/es/components/ai-label/ai-label.d.ts +1 -1
- package/es/components/ai-label/ai-label.js +11 -2
- package/es/components/ai-label/ai-label.js.map +1 -1
- package/es/components/ai-label/ai-label.scss.js +1 -1
- package/es/components/ai-skeleton/ai-skeleton.scss.js +1 -1
- package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts +1 -1
- package/es/components/breadcrumb/breadcrumb-overflow-menu.js +7 -3
- package/es/components/breadcrumb/breadcrumb-overflow-menu.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es/components/button/button.scss.js +1 -1
- package/es/components/chat-button/chat-button-skeleton.d.ts +1 -1
- package/es/components/chat-button/chat-button-skeleton.js +6 -2
- package/es/components/chat-button/chat-button-skeleton.js.map +1 -1
- package/es/components/chat-button/chat-button.d.ts +1 -1
- package/es/components/chat-button/chat-button.js +6 -2
- package/es/components/chat-button/chat-button.js.map +1 -1
- package/es/components/chat-button/chat-button.scss.js +1 -1
- package/es/components/code-snippet/code-snippet.scss.js +1 -1
- package/es/components/combo-box/combo-box.d.ts +5 -1
- package/es/components/combo-box/combo-box.js +27 -3
- package/es/components/combo-box/combo-box.js.map +1 -1
- package/es/components/combo-box/combo-box.scss.js +1 -1
- package/es/components/copy/copy.d.ts +1 -1
- package/es/components/copy/copy.js +1 -2
- package/es/components/copy/copy.js.map +1 -1
- package/es/components/copy-button/copy-button.scss.js +1 -1
- package/es/components/data-table/data-table.scss.js +1 -1
- package/es/components/date-picker/range-plugin.d.ts +1 -1
- package/es/components/date-picker/range-plugin.js +1 -3
- package/es/components/date-picker/range-plugin.js.map +1 -1
- package/es/components/dropdown/dropdown.d.ts +3 -3
- package/es/components/dropdown/dropdown.js +1 -3
- package/es/components/dropdown/dropdown.js.map +1 -1
- package/es/components/dropdown/dropdown.scss.js +1 -1
- package/es/components/fluid-number-input/fluid-number-input.scss.js +1 -1
- package/es/components/fluid-search/fluid-search.scss.js +1 -1
- package/es/components/fluid-text-input/fluid-text-input.scss.js +1 -1
- package/es/components/grid/column-hang.d.ts +0 -2
- package/es/components/grid/column-hang.js +0 -2
- package/es/components/grid/column-hang.js.map +1 -1
- package/es/components/grid/column.d.ts +0 -2
- package/es/components/grid/column.js +0 -2
- package/es/components/grid/column.js.map +1 -1
- package/es/components/grid/grid.d.ts +0 -2
- package/es/components/grid/grid.js +0 -2
- package/es/components/grid/grid.js.map +1 -1
- package/es/components/grid/index.d.ts +0 -2
- package/es/components/icon-button/icon-button.d.ts +1 -1
- package/es/components/icon-button/icon-button.js +12 -3
- package/es/components/icon-button/icon-button.js.map +1 -1
- package/es/components/icon-button/icon-button.scss.js +2 -2
- package/es/components/menu/menu-context.d.ts +3 -2
- package/es/components/menu/menu-context.js +1 -1
- package/es/components/menu/menu-context.js.map +1 -1
- package/es/components/menu/menu.d.ts +3 -2
- package/es/components/menu/menu.js +5 -4
- package/es/components/menu/menu.js.map +1 -1
- package/es/components/menu/menu.scss.js +1 -1
- package/es/components/modal/modal-body.d.ts +3 -1
- package/es/components/modal/modal-body.js +17 -1
- package/es/components/modal/modal-body.js.map +1 -1
- package/es/components/modal/modal-close-button.d.ts +2 -1
- package/es/components/modal/modal-close-button.js +11 -5
- package/es/components/modal/modal-close-button.js.map +1 -1
- package/es/components/modal/modal.d.ts +67 -2
- package/es/components/modal/modal.js +228 -8
- package/es/components/modal/modal.js.map +1 -1
- package/es/components/modal/modal.scss.js +1 -1
- package/es/components/multi-select/multi-select.d.ts +2 -2
- package/es/components/multi-select/multi-select.js +8 -4
- package/es/components/multi-select/multi-select.js.map +1 -1
- package/es/components/multi-select/multi-select.scss.js +1 -1
- package/es/components/notification/actionable-notification.js +8 -1
- package/es/components/notification/actionable-notification.js.map +1 -1
- package/es/components/notification/actionable-notification.scss.js +1 -1
- package/es/components/notification/inline-notification.scss.js +1 -1
- package/es/components/notification/toast-notification.scss.js +1 -1
- package/es/components/overflow-menu/overflow-menu.d.ts +0 -1
- package/es/components/overflow-menu/overflow-menu.js +3 -2
- package/es/components/overflow-menu/overflow-menu.js.map +1 -1
- package/es/components/page-header/index.d.ts +0 -2
- package/es/components/page-header/page-header-breadcrumb.d.ts +0 -2
- package/es/components/page-header/page-header-breadcrumb.js +0 -2
- package/es/components/page-header/page-header-breadcrumb.js.map +1 -1
- package/es/components/page-header/page-header-content-text.d.ts +0 -2
- package/es/components/page-header/page-header-content-text.js +0 -2
- package/es/components/page-header/page-header-content-text.js.map +1 -1
- package/es/components/page-header/page-header-content.d.ts +0 -2
- package/es/components/page-header/page-header-content.js +0 -2
- package/es/components/page-header/page-header-content.js.map +1 -1
- package/es/components/page-header/page-header-hero-image.d.ts +0 -2
- package/es/components/page-header/page-header-hero-image.js +0 -2
- package/es/components/page-header/page-header-hero-image.js.map +1 -1
- package/es/components/page-header/page-header-tabs.d.ts +0 -2
- package/es/components/page-header/page-header-tabs.js +0 -2
- package/es/components/page-header/page-header-tabs.js.map +1 -1
- package/es/components/page-header/page-header.d.ts +0 -2
- package/es/components/page-header/page-header.js +0 -2
- package/es/components/page-header/page-header.js.map +1 -1
- package/es/components/pagination/pagination.js +7 -4
- package/es/components/pagination/pagination.js.map +1 -1
- package/es/components/password-input/password-input.scss.js +1 -1
- package/es/components/popover/popover-content.js +2 -2
- package/es/components/popover/popover-content.js.map +1 -1
- package/es/components/popover/popover.d.ts +7 -1
- package/es/components/popover/popover.js +54 -3
- package/es/components/popover/popover.js.map +1 -1
- package/es/components/popover/popover.scss.js +2 -2
- package/es/components/search/search.scss.js +1 -1
- package/es/components/slider/slider.scss.js +1 -1
- package/es/components/slug/slug.d.ts +1 -1
- package/es/components/slug/slug.js +11 -2
- package/es/components/slug/slug.js.map +1 -1
- package/es/components/slug/slug.scss.js +1 -1
- package/es/components/tabs/defs.d.ts +4 -0
- package/es/components/tabs/defs.js +4 -0
- package/es/components/tabs/defs.js.map +1 -1
- package/es/components/tabs/tabs.d.ts +2 -4
- package/es/components/tabs/tabs.js +37 -8
- package/es/components/tabs/tabs.js.map +1 -1
- package/es/components/tabs/tabs.scss.js +1 -1
- package/es/components/tag/dismissible-tag.d.ts +0 -2
- package/es/components/tag/dismissible-tag.js +0 -2
- package/es/components/tag/dismissible-tag.js.map +1 -1
- package/es/components/tag/operational-tag.d.ts +0 -2
- package/es/components/tag/operational-tag.js +0 -2
- package/es/components/tag/operational-tag.js.map +1 -1
- package/es/components/tag/selectable-tag.d.ts +0 -2
- package/es/components/tag/selectable-tag.js +0 -2
- package/es/components/tag/selectable-tag.js.map +1 -1
- package/es/components/tag/tag-skeleton.d.ts +0 -2
- package/es/components/tag/tag-skeleton.js +0 -2
- package/es/components/tag/tag-skeleton.js.map +1 -1
- package/es/components/text-input/text-input.scss.js +1 -1
- package/es/components/tile/tile.scss.js +1 -1
- package/es/components/time-picker/time-picker.scss.js +1 -1
- package/es/components/toggle-tip/toggletip.d.ts +0 -1
- package/es/components/toggle-tip/toggletip.js +4 -3
- package/es/components/toggle-tip/toggletip.js.map +1 -1
- package/es/components/toggle-tip/toggletip.scss.js +2 -2
- package/es/components/tooltip/definition-tooltip.js +5 -3
- package/es/components/tooltip/definition-tooltip.js.map +1 -1
- package/es/components/tooltip/tooltip-content.d.ts +0 -7
- package/es/components/tooltip/tooltip-content.js +4 -8
- package/es/components/tooltip/tooltip-content.js.map +1 -1
- package/es/components/tooltip/tooltip.d.ts +0 -1
- package/es/components/tooltip/tooltip.js +4 -7
- package/es/components/tooltip/tooltip.js.map +1 -1
- package/es/components/tooltip/tooltip.scss.js +2 -2
- package/es/components/tree-view/defs.d.ts +0 -2
- package/es/components/tree-view/defs.js +0 -2
- package/es/components/tree-view/defs.js.map +1 -1
- package/es/components/tree-view/index.d.ts +0 -2
- package/es/components/tree-view/tree-node.d.ts +0 -2
- package/es/components/tree-view/tree-node.js +0 -2
- package/es/components/tree-view/tree-node.js.map +1 -1
- package/es/components/tree-view/tree-view.d.ts +0 -2
- package/es/components/tree-view/tree-view.js +0 -2
- package/es/components/tree-view/tree-view.js.map +1 -1
- package/es/components/tree-view/tree-view.scss.js +1 -1
- package/es/components/ui-shell/header-global-action.d.ts +1 -1
- package/es/components/ui-shell/header-global-action.js +16 -2
- package/es/components/ui-shell/header-global-action.js.map +1 -1
- package/es/components/ui-shell/header-name.js +1 -1
- package/es/components/ui-shell/header-name.js.map +1 -1
- package/es/components/ui-shell/side-nav-menu-item.d.ts +4 -0
- package/es/components/ui-shell/side-nav-menu-item.js +10 -2
- package/es/components/ui-shell/side-nav-menu-item.js.map +1 -1
- package/es/globals/controllers/floating-controller.d.ts +1 -1
- package/es/globals/controllers/floating-controller.js +34 -30
- package/es/globals/controllers/floating-controller.js.map +1 -1
- package/es/globals/decorators/carbon-element.d.ts +5 -4
- package/es/globals/decorators/carbon-element.js +1 -1
- package/es/globals/decorators/carbon-element.js.map +1 -1
- package/es-custom/components/ai-label/ai-label.d.ts +1 -1
- package/es-custom/components/ai-label/ai-label.js +11 -2
- package/es-custom/components/ai-label/ai-label.js.map +1 -1
- package/es-custom/components/ai-label/ai-label.scss.js +1 -1
- package/es-custom/components/ai-skeleton/ai-skeleton.scss.js +1 -1
- package/es-custom/components/breadcrumb/breadcrumb-overflow-menu.d.ts +1 -1
- package/es-custom/components/breadcrumb/breadcrumb-overflow-menu.js +7 -3
- package/es-custom/components/breadcrumb/breadcrumb-overflow-menu.js.map +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es-custom/components/button/button.scss.js +1 -1
- package/es-custom/components/chat-button/chat-button-skeleton.d.ts +1 -1
- package/es-custom/components/chat-button/chat-button-skeleton.js +6 -2
- package/es-custom/components/chat-button/chat-button-skeleton.js.map +1 -1
- package/es-custom/components/chat-button/chat-button.d.ts +1 -1
- package/es-custom/components/chat-button/chat-button.js +6 -2
- package/es-custom/components/chat-button/chat-button.js.map +1 -1
- package/es-custom/components/chat-button/chat-button.scss.js +1 -1
- package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
- package/es-custom/components/combo-box/combo-box.d.ts +5 -1
- package/es-custom/components/combo-box/combo-box.js +27 -3
- package/es-custom/components/combo-box/combo-box.js.map +1 -1
- package/es-custom/components/combo-box/combo-box.scss.js +1 -1
- package/es-custom/components/copy/copy.d.ts +1 -1
- package/es-custom/components/copy/copy.js +1 -2
- package/es-custom/components/copy/copy.js.map +1 -1
- package/es-custom/components/copy-button/copy-button.scss.js +1 -1
- package/es-custom/components/data-table/data-table.scss.js +1 -1
- package/es-custom/components/date-picker/range-plugin.d.ts +1 -1
- package/es-custom/components/date-picker/range-plugin.js +1 -3
- package/es-custom/components/date-picker/range-plugin.js.map +1 -1
- package/es-custom/components/dropdown/dropdown.d.ts +3 -3
- package/es-custom/components/dropdown/dropdown.js +1 -3
- package/es-custom/components/dropdown/dropdown.js.map +1 -1
- package/es-custom/components/dropdown/dropdown.scss.js +1 -1
- package/es-custom/components/fluid-number-input/fluid-number-input.scss.js +1 -1
- package/es-custom/components/fluid-search/fluid-search.scss.js +1 -1
- package/es-custom/components/fluid-text-input/fluid-text-input.scss.js +1 -1
- package/es-custom/components/grid/column-hang.d.ts +0 -2
- package/es-custom/components/grid/column-hang.js +0 -2
- package/es-custom/components/grid/column-hang.js.map +1 -1
- package/es-custom/components/grid/column.d.ts +0 -2
- package/es-custom/components/grid/column.js +0 -2
- package/es-custom/components/grid/column.js.map +1 -1
- package/es-custom/components/grid/grid.d.ts +0 -2
- package/es-custom/components/grid/grid.js +0 -2
- package/es-custom/components/grid/grid.js.map +1 -1
- package/es-custom/components/grid/index.d.ts +0 -2
- package/es-custom/components/icon-button/icon-button.d.ts +1 -1
- package/es-custom/components/icon-button/icon-button.js +12 -3
- package/es-custom/components/icon-button/icon-button.js.map +1 -1
- package/es-custom/components/icon-button/icon-button.scss.js +2 -2
- package/es-custom/components/menu/menu-context.d.ts +3 -2
- package/es-custom/components/menu/menu-context.js +1 -1
- package/es-custom/components/menu/menu-context.js.map +1 -1
- package/es-custom/components/menu/menu.d.ts +3 -2
- package/es-custom/components/menu/menu.js +5 -4
- package/es-custom/components/menu/menu.js.map +1 -1
- package/es-custom/components/menu/menu.scss.js +1 -1
- package/es-custom/components/modal/modal-body.d.ts +3 -1
- package/es-custom/components/modal/modal-body.js +17 -1
- package/es-custom/components/modal/modal-body.js.map +1 -1
- package/es-custom/components/modal/modal-close-button.d.ts +2 -1
- package/es-custom/components/modal/modal-close-button.js +11 -5
- package/es-custom/components/modal/modal-close-button.js.map +1 -1
- package/es-custom/components/modal/modal.d.ts +67 -2
- package/es-custom/components/modal/modal.js +228 -8
- package/es-custom/components/modal/modal.js.map +1 -1
- package/es-custom/components/modal/modal.scss.js +1 -1
- package/es-custom/components/multi-select/multi-select.d.ts +2 -2
- package/es-custom/components/multi-select/multi-select.js +8 -4
- package/es-custom/components/multi-select/multi-select.js.map +1 -1
- package/es-custom/components/multi-select/multi-select.scss.js +1 -1
- package/es-custom/components/notification/actionable-notification.js +8 -1
- package/es-custom/components/notification/actionable-notification.js.map +1 -1
- package/es-custom/components/notification/actionable-notification.scss.js +1 -1
- package/es-custom/components/notification/inline-notification.scss.js +1 -1
- package/es-custom/components/notification/toast-notification.scss.js +1 -1
- package/es-custom/components/overflow-menu/overflow-menu.d.ts +0 -1
- package/es-custom/components/overflow-menu/overflow-menu.js +3 -2
- package/es-custom/components/overflow-menu/overflow-menu.js.map +1 -1
- package/es-custom/components/page-header/index.d.ts +0 -2
- package/es-custom/components/page-header/page-header-breadcrumb.d.ts +0 -2
- package/es-custom/components/page-header/page-header-breadcrumb.js +0 -2
- package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -1
- package/es-custom/components/page-header/page-header-content-text.d.ts +0 -2
- package/es-custom/components/page-header/page-header-content-text.js +0 -2
- package/es-custom/components/page-header/page-header-content-text.js.map +1 -1
- package/es-custom/components/page-header/page-header-content.d.ts +0 -2
- package/es-custom/components/page-header/page-header-content.js +0 -2
- package/es-custom/components/page-header/page-header-content.js.map +1 -1
- package/es-custom/components/page-header/page-header-hero-image.d.ts +0 -2
- package/es-custom/components/page-header/page-header-hero-image.js +0 -2
- package/es-custom/components/page-header/page-header-hero-image.js.map +1 -1
- package/es-custom/components/page-header/page-header-tabs.d.ts +0 -2
- package/es-custom/components/page-header/page-header-tabs.js +0 -2
- package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
- package/es-custom/components/page-header/page-header.d.ts +0 -2
- package/es-custom/components/page-header/page-header.js +0 -2
- package/es-custom/components/page-header/page-header.js.map +1 -1
- package/es-custom/components/pagination/pagination.js +7 -4
- package/es-custom/components/pagination/pagination.js.map +1 -1
- package/es-custom/components/password-input/password-input.scss.js +1 -1
- package/es-custom/components/popover/popover-content.js +2 -2
- package/es-custom/components/popover/popover-content.js.map +1 -1
- package/es-custom/components/popover/popover.d.ts +7 -1
- package/es-custom/components/popover/popover.js +54 -3
- package/es-custom/components/popover/popover.js.map +1 -1
- package/es-custom/components/popover/popover.scss.js +2 -2
- package/es-custom/components/search/search.scss.js +1 -1
- package/es-custom/components/slider/slider.scss.js +1 -1
- package/es-custom/components/slug/slug.d.ts +1 -1
- package/es-custom/components/slug/slug.js +11 -2
- package/es-custom/components/slug/slug.js.map +1 -1
- package/es-custom/components/slug/slug.scss.js +1 -1
- package/es-custom/components/tabs/defs.d.ts +4 -0
- package/es-custom/components/tabs/defs.js +4 -0
- package/es-custom/components/tabs/defs.js.map +1 -1
- package/es-custom/components/tabs/tabs.d.ts +2 -4
- package/es-custom/components/tabs/tabs.js +37 -8
- package/es-custom/components/tabs/tabs.js.map +1 -1
- package/es-custom/components/tabs/tabs.scss.js +1 -1
- package/es-custom/components/tag/dismissible-tag.d.ts +0 -2
- package/es-custom/components/tag/dismissible-tag.js +0 -2
- package/es-custom/components/tag/dismissible-tag.js.map +1 -1
- package/es-custom/components/tag/operational-tag.d.ts +0 -2
- package/es-custom/components/tag/operational-tag.js +0 -2
- package/es-custom/components/tag/operational-tag.js.map +1 -1
- package/es-custom/components/tag/selectable-tag.d.ts +0 -2
- package/es-custom/components/tag/selectable-tag.js +0 -2
- package/es-custom/components/tag/selectable-tag.js.map +1 -1
- package/es-custom/components/tag/tag-skeleton.d.ts +0 -2
- package/es-custom/components/tag/tag-skeleton.js +0 -2
- package/es-custom/components/tag/tag-skeleton.js.map +1 -1
- package/es-custom/components/text-input/text-input.scss.js +1 -1
- package/es-custom/components/tile/tile.scss.js +1 -1
- package/es-custom/components/time-picker/time-picker.scss.js +1 -1
- package/es-custom/components/toggle-tip/toggletip.d.ts +0 -1
- package/es-custom/components/toggle-tip/toggletip.js +4 -3
- package/es-custom/components/toggle-tip/toggletip.js.map +1 -1
- package/es-custom/components/toggle-tip/toggletip.scss.js +2 -2
- package/es-custom/components/tooltip/definition-tooltip.js +5 -3
- package/es-custom/components/tooltip/definition-tooltip.js.map +1 -1
- package/es-custom/components/tooltip/tooltip-content.d.ts +0 -7
- package/es-custom/components/tooltip/tooltip-content.js +4 -8
- package/es-custom/components/tooltip/tooltip-content.js.map +1 -1
- package/es-custom/components/tooltip/tooltip.d.ts +0 -1
- package/es-custom/components/tooltip/tooltip.js +4 -7
- package/es-custom/components/tooltip/tooltip.js.map +1 -1
- package/es-custom/components/tooltip/tooltip.scss.js +2 -2
- package/es-custom/components/tree-view/defs.d.ts +0 -2
- package/es-custom/components/tree-view/defs.js +0 -2
- package/es-custom/components/tree-view/defs.js.map +1 -1
- package/es-custom/components/tree-view/index.d.ts +0 -2
- package/es-custom/components/tree-view/tree-node.d.ts +0 -2
- package/es-custom/components/tree-view/tree-node.js +0 -2
- package/es-custom/components/tree-view/tree-node.js.map +1 -1
- package/es-custom/components/tree-view/tree-view.d.ts +0 -2
- package/es-custom/components/tree-view/tree-view.js +0 -2
- package/es-custom/components/tree-view/tree-view.js.map +1 -1
- package/es-custom/components/tree-view/tree-view.scss.js +1 -1
- package/es-custom/components/ui-shell/header-global-action.d.ts +1 -1
- package/es-custom/components/ui-shell/header-global-action.js +16 -2
- package/es-custom/components/ui-shell/header-global-action.js.map +1 -1
- package/es-custom/components/ui-shell/header-name.js +1 -1
- package/es-custom/components/ui-shell/header-name.js.map +1 -1
- package/es-custom/components/ui-shell/side-nav-menu-item.d.ts +4 -0
- package/es-custom/components/ui-shell/side-nav-menu-item.js +10 -2
- package/es-custom/components/ui-shell/side-nav-menu-item.js.map +1 -1
- package/es-custom/globals/controllers/floating-controller.d.ts +1 -1
- package/es-custom/globals/controllers/floating-controller.js +34 -30
- package/es-custom/globals/controllers/floating-controller.js.map +1 -1
- package/es-custom/globals/decorators/carbon-element.d.ts +5 -4
- package/es-custom/globals/decorators/carbon-element.js +1 -1
- package/es-custom/globals/decorators/carbon-element.js.map +1 -1
- package/lib/components/ai-label/ai-label.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb-overflow-menu.d.ts +1 -1
- package/lib/components/chat-button/chat-button-skeleton.d.ts +1 -1
- package/lib/components/chat-button/chat-button.d.ts +1 -1
- package/lib/components/combo-box/combo-box.d.ts +5 -1
- package/lib/components/copy/copy.d.ts +1 -1
- package/lib/components/date-picker/range-plugin.d.ts +1 -1
- package/lib/components/dropdown/dropdown.d.ts +3 -3
- package/lib/components/grid/column-hang.d.ts +0 -2
- package/lib/components/grid/column.d.ts +0 -2
- package/lib/components/grid/grid.d.ts +0 -2
- package/lib/components/grid/index.d.ts +0 -2
- package/lib/components/icon-button/icon-button.d.ts +1 -1
- package/lib/components/menu/menu-context.d.ts +3 -2
- package/lib/components/menu/menu.d.ts +3 -2
- package/lib/components/modal/modal-body.d.ts +3 -1
- package/lib/components/modal/modal-close-button.d.ts +2 -1
- package/lib/components/modal/modal.d.ts +67 -2
- package/lib/components/multi-select/multi-select.d.ts +2 -2
- package/lib/components/overflow-menu/overflow-menu.d.ts +0 -1
- package/lib/components/page-header/index.d.ts +0 -2
- package/lib/components/page-header/page-header-breadcrumb.d.ts +0 -2
- package/lib/components/page-header/page-header-content-text.d.ts +0 -2
- package/lib/components/page-header/page-header-content.d.ts +0 -2
- package/lib/components/page-header/page-header-hero-image.d.ts +0 -2
- package/lib/components/page-header/page-header-tabs.d.ts +0 -2
- package/lib/components/page-header/page-header.d.ts +0 -2
- package/lib/components/popover/popover.d.ts +7 -1
- package/lib/components/slug/slug.d.ts +1 -1
- package/lib/components/tabs/defs.d.ts +4 -0
- package/lib/components/tabs/defs.js +4 -0
- package/lib/components/tabs/defs.js.map +1 -1
- package/lib/components/tabs/tabs.d.ts +2 -4
- package/lib/components/tag/dismissible-tag.d.ts +0 -2
- package/lib/components/tag/operational-tag.d.ts +0 -2
- package/lib/components/tag/selectable-tag.d.ts +0 -2
- package/lib/components/tag/tag-skeleton.d.ts +0 -2
- package/lib/components/toggle-tip/toggletip.d.ts +0 -1
- package/lib/components/tooltip/tooltip-content.d.ts +0 -7
- package/lib/components/tooltip/tooltip.d.ts +0 -1
- package/lib/components/tree-view/defs.d.ts +0 -2
- package/lib/components/tree-view/defs.js +0 -2
- package/lib/components/tree-view/defs.js.map +1 -1
- package/lib/components/tree-view/index.d.ts +0 -2
- package/lib/components/tree-view/tree-node.d.ts +0 -2
- package/lib/components/tree-view/tree-view.d.ts +0 -2
- package/lib/components/ui-shell/header-global-action.d.ts +1 -1
- package/lib/components/ui-shell/side-nav-menu-item.d.ts +4 -0
- package/lib/globals/controllers/floating-controller.d.ts +1 -1
- package/lib/globals/controllers/floating-controller.js +34 -30
- package/lib/globals/controllers/floating-controller.js.map +1 -1
- package/lib/globals/decorators/carbon-element.d.ts +5 -4
- package/package.json +7 -9
- package/scss/components/ai-label/ai-label.scss +11 -12
- package/scss/components/ai-skeleton/ai-skeleton.scss +1 -3
- package/scss/components/breadcrumb/breadcrumb.scss +0 -1
- package/scss/components/button/button.scss +0 -2
- package/scss/components/chat-button/chat-button.scss +0 -1
- package/scss/components/icon-button/icon-button.scss +0 -2
- package/scss/components/menu/menu.scss +11 -2
- package/scss/components/modal/modal.scss +27 -7
- package/scss/components/multi-select/multi-select.scss +2 -2
- package/scss/components/notification/actionable-notification.scss +42 -128
- package/scss/components/notification/inline-notification.scss +17 -69
- package/scss/components/notification/toast-notification.scss +16 -37
- package/scss/components/popover/popover.scss +4 -4
- package/scss/components/slug/slug.scss +11 -12
- package/scss/components/tabs/tabs.scss +7 -0
- package/scss/components/tile/tile.scss +1 -1
- package/scss/components/toggle-tip/toggletip.scss +0 -2
- package/scss/components/tooltip/tooltip.scss +0 -1
- package/telemetry.yml +11 -0
- package/dist/16-BXPirV4t.js +0 -28
- package/dist/16-BcPXq4VE.js +0 -28
- package/dist/16-BiojhJb6.js +0 -28
- package/dist/16-BirbARgt.js +0 -28
- package/dist/16-CCrV-EKs.js +0 -28
- package/dist/16-CNObEOvs.js +0 -28
- package/dist/16-CsHohlYG.js +0 -28
- package/dist/16-D9rqeJJl.js +0 -28
- package/dist/16-DEZ8LNs3.js +0 -28
- package/dist/16-DThcsE9v.js +0 -28
- package/dist/16-T0hLy__N.js +0 -28
- package/dist/16-mUGLFymm.js +0 -28
- package/dist/20-BSzLZNRY.js +0 -28
- package/dist/20-ZHgmfbqd.js +0 -28
- package/dist/accordion.min.js +0 -72
- package/dist/ai-label.min.js +0 -54
- package/dist/ai-skeleton.min.js +0 -37
- package/dist/badge-indicator.min.js +0 -28
- package/dist/breadcrumb.min.js +0 -46
- package/dist/button-3n7S6dfU.js +0 -94
- package/dist/button-skeleton-DE9AxBek.js +0 -48
- package/dist/button.min.js +0 -28
- package/dist/carbon-element-tFMTVffV.js +0 -28
- package/dist/chat-button.min.js +0 -40
- package/dist/checkbox-CFU6bnOa.js +0 -67
- package/dist/checkbox.min.js +0 -64
- package/dist/class-map-BLvVLLRH.js +0 -33
- package/dist/code-snippet.min.js +0 -85
- package/dist/collection-helpers-C8K_t6zj.js +0 -28
- package/dist/combo-box.min.js +0 -65
- package/dist/combo-button.min.js +0 -42
- package/dist/consume-DNv3sWri.js +0 -64
- package/dist/contained-list.min.js +0 -70
- package/dist/content-switcher-item-CXc-BbRX.js +0 -54
- package/dist/content-switcher.min.js +0 -28
- package/dist/copy-button.min.js +0 -44
- package/dist/data-table.min.js +0 -185
- package/dist/date-picker.min.js +0 -89
- package/dist/defs-CcLNpvSO.js +0 -28
- package/dist/directive-CwpJ03IP.js +0 -33
- package/dist/dropdown-item-CSXYY4Up.js +0 -100
- package/dist/dropdown.min.js +0 -31
- package/dist/feature-flags.min.js +0 -28
- package/dist/file-uploader.min.js +0 -106
- package/dist/floating-controller-ClaZwDaj.js +0 -28
- package/dist/floating-menu.min.js +0 -28
- package/dist/fluid-number-input.min.js +0 -28
- package/dist/fluid-search.min.js +0 -33
- package/dist/fluid-select.min.js +0 -30
- package/dist/fluid-text-input.min.js +0 -28
- package/dist/fluid-textarea.min.js +0 -36
- package/dist/focus-DCv16lgz.js +0 -28
- package/dist/form-D0wM2t2A.js +0 -28
- package/dist/form-group.min.js +0 -39
- package/dist/form.min.js +0 -30
- package/dist/grid.min.js +0 -60
- package/dist/heading.min.js +0 -33
- package/dist/host-listener-BFnrKETa.js +0 -28
- package/dist/host-listener-maKckXVl.js +0 -28
- package/dist/icon-button.min.js +0 -42
- package/dist/icon-indicator.min.js +0 -28
- package/dist/icon-loader-BiaaiIZd.js +0 -28
- package/dist/icon-loader-utils-Dw7YsY3n.js +0 -33
- package/dist/icon.min.js +0 -28
- package/dist/if-defined-B342gMhK.js +0 -33
- package/dist/if-non-empty-BXM4sQkm.js +0 -28
- package/dist/inline-loading.min.js +0 -39
- package/dist/layer.min.js +0 -28
- package/dist/link.min.js +0 -52
- package/dist/list.min.js +0 -39
- package/dist/lit-element-W7dQy3wx.js +0 -50
- package/dist/loading-icon-9dSwtpx9.js +0 -43
- package/dist/loading.min.js +0 -28
- package/dist/menu-button.min.js +0 -37
- package/dist/menu.min.js +0 -80
- package/dist/modal.min.js +0 -49
- package/dist/multi-select.min.js +0 -90
- package/dist/notification.min.js +0 -116
- package/dist/number-input.min.js +0 -103
- package/dist/on-Bh72-1o0.js +0 -28
- package/dist/overflow-menu.min.js +0 -49
- package/dist/page-header.min.js +0 -142
- package/dist/pagination.min.js +0 -104
- package/dist/password-input.min.js +0 -93
- package/dist/popover.min.js +0 -42
- package/dist/progress-bar.min.js +0 -49
- package/dist/progress-indicator.min.js +0 -62
- package/dist/property-D8KHfsO7.js +0 -33
- package/dist/query-DZZk85FD.js +0 -38
- package/dist/query-assigned-elements-CuK851Xm.js +0 -33
- package/dist/radio-button.min.js +0 -71
- package/dist/radio-group-manager-BbeUxJeN.js +0 -28
- package/dist/search-BpfBrZ_q.js +0 -58
- package/dist/search.min.js +0 -31
- package/dist/select-Bu-C3DEh.js +0 -109
- package/dist/select-item-CY7ZCgDO.js +0 -28
- package/dist/select-skeleton-Bj1W9rv-.js +0 -31
- package/dist/select.min.js +0 -28
- package/dist/settings-CVGvqY8T.js +0 -28
- package/dist/shape-indicator.min.js +0 -28
- package/dist/shared-enums-D2BNx9-N.js +0 -28
- package/dist/side-panel.min.js +0 -160
- package/dist/skeleton-icon.min.js +0 -28
- package/dist/skeleton-placeholder.min.js +0 -28
- package/dist/skeleton-text.min.js +0 -28
- package/dist/skip-to-content.min.js +0 -32
- package/dist/slider.min.js +0 -273
- package/dist/slug.min.js +0 -54
- package/dist/stack.min.js +0 -28
- package/dist/state-DVnprZ3A.js +0 -33
- package/dist/structured-list.min.js +0 -46
- package/dist/tabs.min.js +0 -85
- package/dist/tag.min.js +0 -155
- package/dist/tearsheet.min.js +0 -141
- package/dist/text-input-CMLDDQcE.js +0 -95
- package/dist/text-input.min.js +0 -31
- package/dist/textarea.min.js +0 -84
- package/dist/tile.min.js +0 -101
- package/dist/time-picker.min.js +0 -79
- package/dist/toggle-tip.min.js +0 -73
- package/dist/toggle.min.js +0 -63
- package/dist/tooltip-content-eYgOs_c2.js +0 -30
- package/dist/tooltip.min.js +0 -50
- package/dist/tree-view.min.js +0 -127
- package/dist/ui-shell.min.js +0 -156
- package/dist/unsafe-html-SGvBIOsG.js +0 -33
- package/dist/validity-CzCNnEZK.js +0 -28
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2019,
|
|
2
|
+
// Copyright IBM Corp. 2019, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
@use '@carbon/styles/scss/utilities/ai-gradient' as *;
|
|
17
17
|
@use '@carbon/styles/scss/components/modal' as *;
|
|
18
18
|
@use '@carbon/styles/scss/components/button' as *;
|
|
19
|
+
@use '@carbon/styles/scss/utilities/focus-outline' as *;
|
|
19
20
|
|
|
20
21
|
:host(#{$prefix}-modal[open]) {
|
|
21
22
|
@extend .#{$prefix}--modal;
|
|
@@ -53,11 +54,15 @@
|
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
56
|
|
|
56
|
-
:host(#{$prefix}-modal[has-scrolling-content])
|
|
57
|
-
|
|
57
|
+
:host(#{$prefix}-modal[has-scrolling-content]) ::slotted(#{$prefix}-modal-body),
|
|
58
|
+
:host(#{$prefix}-modal) ::slotted(#{$prefix}-modal-body[is-scrollable]) {
|
|
58
59
|
@extend .#{$prefix}--modal-scroll-content;
|
|
59
60
|
}
|
|
60
61
|
|
|
62
|
+
:host(#{$prefix}-modal) ::slotted(#{$prefix}-modal-body[no-fade]) {
|
|
63
|
+
@extend .#{$prefix}--modal-scroll-content--no-fade;
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
:host(#{$prefix}-modal-header) {
|
|
62
67
|
@extend .#{$prefix}--modal-header;
|
|
63
68
|
}
|
|
@@ -68,6 +73,10 @@
|
|
|
68
73
|
outline: none;
|
|
69
74
|
}
|
|
70
75
|
|
|
76
|
+
:host(#{$prefix}-modal-close-button) #{$prefix}-icon-button::part(button) {
|
|
77
|
+
border-width: 2px;
|
|
78
|
+
}
|
|
79
|
+
|
|
71
80
|
:host(#{$prefix}-modal-heading),
|
|
72
81
|
:host(#{$prefix}-modal-label) {
|
|
73
82
|
display: block;
|
|
@@ -92,10 +101,10 @@
|
|
|
92
101
|
::slotted(#{$prefix}-select:last-of-type) {
|
|
93
102
|
padding-block-end: 0;
|
|
94
103
|
}
|
|
104
|
+
}
|
|
95
105
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
106
|
+
:host(#{$prefix}-modal-body:focus) {
|
|
107
|
+
@include focus-outline('outline');
|
|
99
108
|
}
|
|
100
109
|
|
|
101
110
|
:host(#{$prefix}-modal-body-content) {
|
|
@@ -119,6 +128,10 @@
|
|
|
119
128
|
::slotted(#{$prefix}-modal-footer-button) {
|
|
120
129
|
flex: 0 1 25%;
|
|
121
130
|
}
|
|
131
|
+
|
|
132
|
+
::slotted(#{$prefix}-inline-loading) {
|
|
133
|
+
flex: 0 1 25%;
|
|
134
|
+
}
|
|
122
135
|
}
|
|
123
136
|
|
|
124
137
|
:host(#{$prefix}-modal-footer-button:first-of-type) .#{$prefix}--btn {
|
|
@@ -151,6 +164,13 @@
|
|
|
151
164
|
max-inline-size: none;
|
|
152
165
|
}
|
|
153
166
|
|
|
167
|
+
:host(#{$prefix}-modal-footer) ::slotted(#{$prefix}-inline-loading) {
|
|
168
|
+
flex: 0 1 50%;
|
|
169
|
+
cursor: not-allowed;
|
|
170
|
+
padding-block: $spacing-05 $spacing-07;
|
|
171
|
+
padding-inline-start: $spacing-05;
|
|
172
|
+
}
|
|
173
|
+
|
|
154
174
|
// AI Label
|
|
155
175
|
|
|
156
176
|
:host(#{$prefix}-modal[ai-label]) {
|
|
@@ -177,7 +197,7 @@
|
|
|
177
197
|
}
|
|
178
198
|
|
|
179
199
|
:host(#{$prefix}-modal[ai-label][has-scrolling-content]) {
|
|
180
|
-
::slotted(#{$prefix}-modal-body) {
|
|
200
|
+
::slotted(#{$prefix}-modal-body:not([no-fade])) {
|
|
181
201
|
mask-image: linear-gradient(
|
|
182
202
|
to bottom,
|
|
183
203
|
$layer calc(100% - 80px),
|
|
@@ -89,7 +89,7 @@ $css--plex: true !default;
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
:host(#{$prefix}-multi-select[invalid]) {
|
|
92
|
+
:host(#{$prefix}-multi-select[invalid]:not([disabled]):not([read-only])) {
|
|
93
93
|
.#{$prefix}--form__helper-text {
|
|
94
94
|
color: $text-error;
|
|
95
95
|
}
|
|
@@ -477,7 +477,7 @@ $css--plex: true !default;
|
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
:host(#{$prefix}-multi-select[warn]) {
|
|
480
|
+
:host(#{$prefix}-multi-select[warn]:not([disabled]):not([read-only])) {
|
|
481
481
|
.#{$prefix}--form__helper-text {
|
|
482
482
|
color: $text-primary;
|
|
483
483
|
}
|
|
@@ -12,7 +12,6 @@ $css--plex: true !default;
|
|
|
12
12
|
@use '@carbon/styles/scss/theme' as *;
|
|
13
13
|
@use '@carbon/styles/scss/spacing' as *;
|
|
14
14
|
@use '@carbon/styles/scss/components/notification/index' as *;
|
|
15
|
-
@use '@carbon/styles/scss/components/notification/mixins' as *;
|
|
16
15
|
@use '@carbon/styles/scss/components/button';
|
|
17
16
|
@use '@carbon/styles/scss/components/button/mixins' as button-mixins;
|
|
18
17
|
@use '@carbon/styles/scss/components/button/vars' as button-vars;
|
|
@@ -21,7 +20,7 @@ $css--plex: true !default;
|
|
|
21
20
|
@include actionable-notification;
|
|
22
21
|
|
|
23
22
|
:host(#{$prefix}-actionable-notification) {
|
|
24
|
-
@
|
|
23
|
+
@include actionable-notification-base;
|
|
25
24
|
@include emit-layout-tokens();
|
|
26
25
|
|
|
27
26
|
display: none;
|
|
@@ -90,75 +89,60 @@ $css--plex: true !default;
|
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
:host(#{$prefix}-actionable-notification:not([inline])) {
|
|
93
|
-
@
|
|
92
|
+
@include actionable-notification-toast-base;
|
|
93
|
+
|
|
94
|
+
.#{$prefix}--actionable-notification__content {
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
98
|
|
|
96
|
-
:host(#{$prefix}-actionable-notification[inline][low-contrast])::before
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
inline-size: 100%;
|
|
105
|
-
inset-block-start: 0;
|
|
106
|
-
inset-inline-start: 0;
|
|
107
|
-
pointer-events: none;
|
|
99
|
+
:host(#{$prefix}-actionable-notification[inline][low-contrast])::before,
|
|
100
|
+
:host(#{$prefix}-callout-notification[inline][low-contrast])::before {
|
|
101
|
+
@include actionable-notification-low-contrast-inline-before;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host(#{$prefix}-actionable-notification[low-contrast]),
|
|
105
|
+
:host(#{$prefix}-callout-notification[low-contrast]) {
|
|
106
|
+
@include actionable-notification-low-contrast-base;
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
:host(#{$prefix}-actionable-notification[open]) {
|
|
111
110
|
display: flex;
|
|
112
111
|
}
|
|
113
112
|
|
|
113
|
+
:host(#{$prefix}-actionable-notification:not([inline]))
|
|
114
|
+
.#{$prefix}--actionable-notification__close-button {
|
|
115
|
+
position: absolute;
|
|
116
|
+
}
|
|
117
|
+
|
|
114
118
|
:host(#{$prefix}-actionable-notification[hide-close-button])
|
|
115
119
|
.#{$prefix}--actionable-notification__close-button {
|
|
116
120
|
display: none;
|
|
117
121
|
}
|
|
118
122
|
|
|
119
123
|
:host(#{$prefix}-actionable-notification[kind='success']) {
|
|
120
|
-
@
|
|
124
|
+
@include actionable-notification-success-base;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
:host(#{$prefix}-actionable-notification[kind='success'][low-contrast]) {
|
|
124
|
-
@
|
|
125
|
-
.#{$prefix}--actionable-notification--success;
|
|
126
|
-
|
|
127
|
-
@include notification--experimental(
|
|
128
|
-
$support-success,
|
|
129
|
-
$notification-background-success
|
|
130
|
-
);
|
|
131
|
-
|
|
132
|
-
&::before {
|
|
133
|
-
border-color: $support-success;
|
|
134
|
-
}
|
|
128
|
+
@include actionable-notification-low-contrast-success;
|
|
135
129
|
}
|
|
136
130
|
|
|
137
131
|
:host(#{$prefix}-actionable-notification[kind='info']) {
|
|
138
|
-
@
|
|
132
|
+
@include actionable-notification-info-base;
|
|
139
133
|
}
|
|
140
134
|
|
|
141
135
|
:host(#{$prefix}-actionable-notification[kind='info-square']) {
|
|
142
|
-
@
|
|
136
|
+
@include actionable-notification-info-base;
|
|
143
137
|
}
|
|
144
138
|
|
|
145
139
|
:host(#{$prefix}-actionable-notification[kind='info'][low-contrast]),
|
|
146
140
|
:host(#{$prefix}-actionable-notification[kind='info-square'][low-contrast]) {
|
|
147
|
-
@
|
|
148
|
-
.#{$prefix}--actionable-notification--info;
|
|
149
|
-
|
|
150
|
-
@include notification--experimental(
|
|
151
|
-
$support-info,
|
|
152
|
-
$notification-background-info
|
|
153
|
-
);
|
|
154
|
-
|
|
155
|
-
&::before {
|
|
156
|
-
border-color: $support-info;
|
|
157
|
-
}
|
|
141
|
+
@include actionable-notification-low-contrast-info;
|
|
158
142
|
}
|
|
159
143
|
|
|
160
144
|
:host(#{$prefix}-actionable-notification[kind='warning']) {
|
|
161
|
-
@
|
|
145
|
+
@include actionable-notification-warning-base;
|
|
162
146
|
|
|
163
147
|
/* TODO: Remove this once the following issue with icon fill is resolved:
|
|
164
148
|
** https://github.com/carbon-design-system/carbon/issues/13616
|
|
@@ -170,7 +154,7 @@ $css--plex: true !default;
|
|
|
170
154
|
}
|
|
171
155
|
|
|
172
156
|
:host(#{$prefix}-actionable-notification[kind='warning-alt']) {
|
|
173
|
-
@
|
|
157
|
+
@include actionable-notification-warning-base;
|
|
174
158
|
|
|
175
159
|
/* TODO: Remove this once the following issue with icon fill is resolved:
|
|
176
160
|
** https://github.com/carbon-design-system/carbon/issues/13616
|
|
@@ -186,38 +170,18 @@ $css--plex: true !default;
|
|
|
186
170
|
|
|
187
171
|
:host(#{$prefix}-actionable-notification[kind='warning'][low-contrast]),
|
|
188
172
|
:host(#{$prefix}-actionable-notification[kind='warning-alt'][low-contrast]) {
|
|
189
|
-
@
|
|
190
|
-
.#{$prefix}--actionable-notification--warning;
|
|
191
|
-
|
|
192
|
-
@include notification--experimental(
|
|
193
|
-
$support-warning,
|
|
194
|
-
$notification-background-warning
|
|
195
|
-
);
|
|
196
|
-
|
|
197
|
-
&::before {
|
|
198
|
-
border-color: $support-warning;
|
|
199
|
-
}
|
|
173
|
+
@include actionable-notification-low-contrast-warning;
|
|
200
174
|
}
|
|
201
175
|
|
|
202
176
|
:host(#{$prefix}-actionable-notification[kind='error']) {
|
|
203
|
-
@
|
|
177
|
+
@include actionable-notification-error-base;
|
|
204
178
|
}
|
|
205
179
|
|
|
206
180
|
:host(#{$prefix}-actionable-notification[kind='error'][low-contrast]) {
|
|
207
|
-
@
|
|
208
|
-
.#{$prefix}--actionable-notification--error;
|
|
209
|
-
|
|
210
|
-
@include notification--experimental(
|
|
211
|
-
$support-error,
|
|
212
|
-
$notification-background-error
|
|
213
|
-
);
|
|
214
|
-
|
|
215
|
-
&::before {
|
|
216
|
-
border-color: $support-error;
|
|
217
|
-
}
|
|
181
|
+
@include actionable-notification-low-contrast-error;
|
|
218
182
|
}
|
|
219
183
|
:host(#{$prefix}-callout-notification) {
|
|
220
|
-
@
|
|
184
|
+
@include actionable-notification-base;
|
|
221
185
|
@include emit-layout-tokens();
|
|
222
186
|
|
|
223
187
|
display: flex;
|
|
@@ -229,63 +193,33 @@ $css--plex: true !default;
|
|
|
229
193
|
display: none;
|
|
230
194
|
}
|
|
231
195
|
|
|
232
|
-
:host(#{$prefix}-callout-notification[low-contrast])::before {
|
|
233
|
-
|
|
234
|
-
box-sizing: border-box;
|
|
235
|
-
border-width: 1px 1px 1px 0;
|
|
236
|
-
border-style: solid;
|
|
237
|
-
block-size: 100%;
|
|
238
|
-
content: '';
|
|
239
|
-
filter: opacity(0.4);
|
|
240
|
-
inline-size: 100%;
|
|
241
|
-
inset-block-start: 0;
|
|
242
|
-
inset-inline-start: 0;
|
|
243
|
-
pointer-events: none;
|
|
196
|
+
:host(#{$prefix}-callout-notification[inline][low-contrast])::before {
|
|
197
|
+
@include actionable-notification-low-contrast-inline-before;
|
|
244
198
|
}
|
|
245
199
|
|
|
246
200
|
:host(#{$prefix}-callout-notification[kind='success']) {
|
|
247
|
-
@
|
|
201
|
+
@include actionable-notification-success-base;
|
|
248
202
|
}
|
|
249
203
|
|
|
250
204
|
:host(#{$prefix}-callout-notification[kind='success'][low-contrast]) {
|
|
251
|
-
@
|
|
252
|
-
.#{$prefix}--actionable-notification--success;
|
|
253
|
-
|
|
254
|
-
@include notification--experimental(
|
|
255
|
-
$support-success,
|
|
256
|
-
$notification-background-success
|
|
257
|
-
);
|
|
258
|
-
|
|
259
|
-
&::before {
|
|
260
|
-
border-color: $support-success;
|
|
261
|
-
}
|
|
205
|
+
@include actionable-notification-low-contrast-success;
|
|
262
206
|
}
|
|
263
207
|
|
|
264
208
|
:host(#{$prefix}-callout-notification[kind='info']) {
|
|
265
|
-
@
|
|
209
|
+
@include actionable-notification-info-base;
|
|
266
210
|
}
|
|
267
211
|
|
|
268
212
|
:host(#{$prefix}-callout-notification[kind='info-square']) {
|
|
269
|
-
@
|
|
213
|
+
@include actionable-notification-info-base;
|
|
270
214
|
}
|
|
271
215
|
|
|
272
216
|
:host(#{$prefix}-callout-notification[kind='info'][low-contrast]),
|
|
273
217
|
:host(#{$prefix}-callout-notification[kind='info-square'][low-contrast]) {
|
|
274
|
-
@
|
|
275
|
-
.#{$prefix}--actionable-notification--info;
|
|
276
|
-
|
|
277
|
-
@include notification--experimental(
|
|
278
|
-
$support-info,
|
|
279
|
-
$notification-background-info
|
|
280
|
-
);
|
|
281
|
-
|
|
282
|
-
&::before {
|
|
283
|
-
border-color: $support-info;
|
|
284
|
-
}
|
|
218
|
+
@include actionable-notification-low-contrast-info;
|
|
285
219
|
}
|
|
286
220
|
|
|
287
221
|
:host(#{$prefix}-callout-notification[kind='warning']) {
|
|
288
|
-
@
|
|
222
|
+
@include actionable-notification-warning-base;
|
|
289
223
|
|
|
290
224
|
/* TODO: Remove this once the following issue with icon fill is resolved:
|
|
291
225
|
** https://github.com/carbon-design-system/carbon/issues/13616
|
|
@@ -297,7 +231,7 @@ $css--plex: true !default;
|
|
|
297
231
|
}
|
|
298
232
|
|
|
299
233
|
:host(#{$prefix}-callout-notification[kind='warning-alt']) {
|
|
300
|
-
@
|
|
234
|
+
@include actionable-notification-warning-base;
|
|
301
235
|
|
|
302
236
|
/* TODO: Remove this once the following issue with icon fill is resolved:
|
|
303
237
|
** https://github.com/carbon-design-system/carbon/issues/13616
|
|
@@ -310,35 +244,15 @@ $css--plex: true !default;
|
|
|
310
244
|
|
|
311
245
|
:host(#{$prefix}-callout-notification[kind='warning'][low-contrast]),
|
|
312
246
|
:host(#{$prefix}-callout-notification[kind='warning-alt'][low-contrast]) {
|
|
313
|
-
@
|
|
314
|
-
.#{$prefix}--actionable-notification--warning;
|
|
315
|
-
|
|
316
|
-
@include notification--experimental(
|
|
317
|
-
$support-warning,
|
|
318
|
-
$notification-background-warning
|
|
319
|
-
);
|
|
320
|
-
|
|
321
|
-
&::before {
|
|
322
|
-
border-color: $support-warning;
|
|
323
|
-
}
|
|
247
|
+
@include actionable-notification-low-contrast-warning;
|
|
324
248
|
}
|
|
325
249
|
|
|
326
250
|
:host(#{$prefix}-callout-notification[kind='error']) {
|
|
327
|
-
@
|
|
251
|
+
@include actionable-notification-error-base;
|
|
328
252
|
}
|
|
329
253
|
|
|
330
254
|
:host(#{$prefix}-callout-notification[kind='error'][low-contrast]) {
|
|
331
|
-
@
|
|
332
|
-
.#{$prefix}--actionable-notification--error;
|
|
333
|
-
|
|
334
|
-
@include notification--experimental(
|
|
335
|
-
$support-error,
|
|
336
|
-
$notification-background-error
|
|
337
|
-
);
|
|
338
|
-
|
|
339
|
-
&::before {
|
|
340
|
-
border-color: $support-error;
|
|
341
|
-
}
|
|
255
|
+
@include actionable-notification-low-contrast-error;
|
|
342
256
|
}
|
|
343
257
|
|
|
344
258
|
:host(#{$prefix}-callout-notification)
|
|
@@ -12,7 +12,6 @@ $css--plex: true !default;
|
|
|
12
12
|
@use '@carbon/styles/scss/theme' as *;
|
|
13
13
|
@use '@carbon/styles/scss/utilities/focus-outline' as *;
|
|
14
14
|
@use '@carbon/styles/scss/components/notification/index' as *;
|
|
15
|
-
@use '@carbon/styles/scss/components/notification/mixins' as *;
|
|
16
15
|
@use '@carbon/styles/scss/components/button';
|
|
17
16
|
@use '@carbon/styles/scss/layout' as *;
|
|
18
17
|
|
|
@@ -20,7 +19,7 @@ $css--plex: true !default;
|
|
|
20
19
|
@include inline-notification;
|
|
21
20
|
|
|
22
21
|
:host(#{$prefix}-inline-notification) {
|
|
23
|
-
@
|
|
22
|
+
@include inline-notification-base;
|
|
24
23
|
@include emit-layout-tokens();
|
|
25
24
|
|
|
26
25
|
display: none;
|
|
@@ -35,20 +34,14 @@ $css--plex: true !default;
|
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
|
|
38
|
-
:host(#{$prefix}-inline-notification[low-contrast])
|
|
39
|
-
|
|
40
|
-
box-sizing: border-box;
|
|
41
|
-
border-width: 1px 1px 1px 0;
|
|
42
|
-
border-style: solid;
|
|
43
|
-
block-size: 100%;
|
|
44
|
-
content: '';
|
|
45
|
-
filter: opacity(0.4);
|
|
46
|
-
inline-size: 100%;
|
|
47
|
-
inset-block-start: 0;
|
|
48
|
-
inset-inline-start: 0;
|
|
49
|
-
pointer-events: none;
|
|
37
|
+
:host(#{$prefix}-inline-notification[low-contrast]) {
|
|
38
|
+
@include inline-notification-low-contrast-base;
|
|
50
39
|
}
|
|
51
40
|
|
|
41
|
+
// :host(#{$prefix}-inline-notification[low-contrast])::before {
|
|
42
|
+
// @include inline-notification-low-contrast-before;
|
|
43
|
+
// }
|
|
44
|
+
|
|
52
45
|
:host(#{$prefix}-inline-notification[open]) {
|
|
53
46
|
display: flex;
|
|
54
47
|
}
|
|
@@ -59,57 +52,32 @@ $css--plex: true !default;
|
|
|
59
52
|
}
|
|
60
53
|
|
|
61
54
|
:host(#{$prefix}-inline-notification[kind='success']) {
|
|
62
|
-
@
|
|
55
|
+
@include inline-notification-success-base;
|
|
63
56
|
}
|
|
64
57
|
|
|
65
58
|
:host(#{$prefix}-inline-notification[kind='success'][low-contrast]) {
|
|
66
|
-
@
|
|
67
|
-
.#{$prefix}--inline-notification--success;
|
|
68
|
-
|
|
69
|
-
@include notification--experimental(
|
|
70
|
-
$support-success,
|
|
71
|
-
$notification-background-success
|
|
72
|
-
);
|
|
73
|
-
|
|
74
|
-
&::before {
|
|
75
|
-
border-color: $support-success;
|
|
76
|
-
}
|
|
59
|
+
@include inline-notification-low-contrast-success;
|
|
77
60
|
}
|
|
78
61
|
|
|
79
62
|
:host(#{$prefix}-inline-notification[kind='info']) {
|
|
80
|
-
@
|
|
63
|
+
@include inline-notification-info-base;
|
|
81
64
|
}
|
|
82
65
|
|
|
83
66
|
:host(#{$prefix}-inline-notification[kind='info-square']) {
|
|
84
|
-
@
|
|
67
|
+
@include inline-notification-info-base;
|
|
85
68
|
}
|
|
86
69
|
|
|
87
70
|
:host(#{$prefix}-inline-notification[kind='info'][low-contrast]),
|
|
88
71
|
:host(#{$prefix}-inline-notification[kind='info-square'][low-contrast]) {
|
|
89
|
-
@
|
|
90
|
-
.#{$prefix}--inline-notification--info;
|
|
91
|
-
|
|
92
|
-
@include notification--experimental(
|
|
93
|
-
$support-info,
|
|
94
|
-
$notification-background-info
|
|
95
|
-
);
|
|
96
|
-
|
|
97
|
-
&::before {
|
|
98
|
-
border-color: $support-info;
|
|
99
|
-
}
|
|
72
|
+
@include inline-notification-low-contrast-info;
|
|
100
73
|
}
|
|
101
74
|
|
|
102
75
|
:host(#{$prefix}-inline-notification[kind='warning']) {
|
|
103
|
-
@
|
|
76
|
+
@include inline-notification-warning-base;
|
|
104
77
|
}
|
|
105
78
|
|
|
106
79
|
:host(#{$prefix}-inline-notification[kind='warning-alt']) {
|
|
107
|
-
@
|
|
108
|
-
|
|
109
|
-
&[low-contrast] {
|
|
110
|
-
@extend .#{$prefix}--inline-notification--low-contrast,
|
|
111
|
-
.#{$prefix}--inline-notification--warning-alt;
|
|
112
|
-
}
|
|
80
|
+
@include inline-notification-warning-base;
|
|
113
81
|
|
|
114
82
|
/* TODO: Remove this once the following issue with icon fill is resolved:
|
|
115
83
|
** https://github.com/carbon-design-system/carbon/issues/13616
|
|
@@ -121,33 +89,13 @@ $css--plex: true !default;
|
|
|
121
89
|
|
|
122
90
|
:host(#{$prefix}-inline-notification[kind='warning'][low-contrast]),
|
|
123
91
|
:host(#{$prefix}-inline-notification[kind='warning-alt'][low-contrast]) {
|
|
124
|
-
@
|
|
125
|
-
.#{$prefix}--inline-notification--warning;
|
|
126
|
-
|
|
127
|
-
@include notification--experimental(
|
|
128
|
-
$support-warning,
|
|
129
|
-
$notification-background-warning
|
|
130
|
-
);
|
|
131
|
-
|
|
132
|
-
&::before {
|
|
133
|
-
border-color: $support-warning;
|
|
134
|
-
}
|
|
92
|
+
@include inline-notification-low-contrast-warning;
|
|
135
93
|
}
|
|
136
94
|
|
|
137
95
|
:host(#{$prefix}-inline-notification[kind='error']) {
|
|
138
|
-
@
|
|
96
|
+
@include inline-notification-error-base;
|
|
139
97
|
}
|
|
140
98
|
|
|
141
99
|
:host(#{$prefix}-inline-notification[kind='error'][low-contrast]) {
|
|
142
|
-
@
|
|
143
|
-
.#{$prefix}--inline-notification--error;
|
|
144
|
-
|
|
145
|
-
@include notification--experimental(
|
|
146
|
-
$support-error,
|
|
147
|
-
$notification-background-error
|
|
148
|
-
);
|
|
149
|
-
|
|
150
|
-
&::before {
|
|
151
|
-
border-color: $support-error;
|
|
152
|
-
}
|
|
100
|
+
@include inline-notification-low-contrast-error;
|
|
153
101
|
}
|
|
@@ -10,7 +10,6 @@ $css--plex: true !default;
|
|
|
10
10
|
@use '@carbon/styles/scss/config' as *;
|
|
11
11
|
@use '@carbon/styles/scss/colors' as *;
|
|
12
12
|
@use '@carbon/styles/scss/theme' as *;
|
|
13
|
-
@use '@carbon/styles/scss/components/notification/mixins' as *;
|
|
14
13
|
@use '@carbon/styles/scss/components/notification/index' as *;
|
|
15
14
|
@use '@carbon/styles/scss/components/button';
|
|
16
15
|
@use '@carbon/styles/scss/layout' as *;
|
|
@@ -19,7 +18,7 @@ $css--plex: true !default;
|
|
|
19
18
|
@include toast-notification;
|
|
20
19
|
|
|
21
20
|
:host(#{$prefix}-toast-notification) {
|
|
22
|
-
@
|
|
21
|
+
@include toast-notification-base;
|
|
23
22
|
@include emit-layout-tokens();
|
|
24
23
|
|
|
25
24
|
display: none;
|
|
@@ -36,46 +35,38 @@ $css--plex: true !default;
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
:host(#{$prefix}-toast-notification[kind='success']) {
|
|
39
|
-
@
|
|
38
|
+
@include toast-notification-success-base;
|
|
40
39
|
}
|
|
41
40
|
|
|
42
|
-
:host(#{$prefix}-toast-notification[
|
|
43
|
-
@
|
|
44
|
-
|
|
41
|
+
:host(#{$prefix}-toast-notification[low-contrast]) {
|
|
42
|
+
@include toast-notification-low-contrast-base;
|
|
43
|
+
}
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
$notification-background-success
|
|
49
|
-
);
|
|
45
|
+
:host(#{$prefix}-toast-notification[kind='success'][low-contrast]) {
|
|
46
|
+
@include toast-notification-low-contrast-success;
|
|
50
47
|
}
|
|
51
48
|
|
|
52
49
|
:host(#{$prefix}-toast-notification[kind='info']) {
|
|
53
|
-
@
|
|
50
|
+
@include toast-notification-info-base;
|
|
54
51
|
}
|
|
55
52
|
|
|
56
53
|
:host(#{$prefix}-toast-notification[kind='info-square']) {
|
|
57
|
-
@
|
|
54
|
+
@include toast-notification-info-base;
|
|
58
55
|
}
|
|
59
56
|
|
|
60
57
|
:host(#{$prefix}-toast-notification[kind='info'][low-contrast]),
|
|
61
58
|
:host(#{$prefix}-toast-notification[kind='info-square'][low-contrast]) {
|
|
62
|
-
@
|
|
63
|
-
.#{$prefix}--toast-notification--info;
|
|
64
|
-
|
|
65
|
-
@include notification--experimental(
|
|
66
|
-
$support-info,
|
|
67
|
-
$notification-background-info
|
|
68
|
-
);
|
|
59
|
+
@include toast-notification-low-contrast-info;
|
|
69
60
|
}
|
|
70
61
|
|
|
71
62
|
:host(#{$prefix}-toast-notification[kind='warning']) {
|
|
72
|
-
@
|
|
63
|
+
@include toast-notification-warning-base;
|
|
73
64
|
}
|
|
74
65
|
|
|
75
66
|
:host(#{$prefix}-toast-notification[kind='warning-alt']) {
|
|
76
|
-
@
|
|
67
|
+
@include toast-notification-warning-base;
|
|
77
68
|
|
|
78
|
-
/* TODO: Remove this once the following issue with icon fill is resolved:
|
|
69
|
+
/* TODO: Remove this once the following issue with icon fill is resolved:
|
|
79
70
|
** https://github.com/carbon-design-system/carbon/issues/13616
|
|
80
71
|
*/
|
|
81
72
|
.#{$prefix}--toast-notification__icon path[data-icon-path='inner-path'] {
|
|
@@ -85,25 +76,13 @@ $css--plex: true !default;
|
|
|
85
76
|
|
|
86
77
|
:host(#{$prefix}-toast-notification[kind='warning'][low-contrast]),
|
|
87
78
|
:host(#{$prefix}-toast-notification[kind='warning-alt'][low-contrast]) {
|
|
88
|
-
@
|
|
89
|
-
.#{$prefix}--toast-notification--warning;
|
|
90
|
-
|
|
91
|
-
@include notification--experimental(
|
|
92
|
-
$support-warning,
|
|
93
|
-
$notification-background-warning
|
|
94
|
-
);
|
|
79
|
+
@include toast-notification-low-contrast-warning;
|
|
95
80
|
}
|
|
96
81
|
|
|
97
82
|
:host(#{$prefix}-toast-notification[kind='error']) {
|
|
98
|
-
@
|
|
83
|
+
@include toast-notification-error-base;
|
|
99
84
|
}
|
|
100
85
|
|
|
101
86
|
:host(#{$prefix}-toast-notification[kind='error'][low-contrast]) {
|
|
102
|
-
@
|
|
103
|
-
.#{$prefix}--toast-notification--error;
|
|
104
|
-
|
|
105
|
-
@include notification--experimental(
|
|
106
|
-
$support-error,
|
|
107
|
-
$notification-background-error
|
|
108
|
-
);
|
|
87
|
+
@include toast-notification-low-contrast-error;
|
|
109
88
|
}
|
|
@@ -13,7 +13,7 @@ $css--plex: true !default;
|
|
|
13
13
|
@use '@carbon/styles/scss/spacing' as *;
|
|
14
14
|
@use '@carbon/styles/scss/theme';
|
|
15
15
|
@use '@carbon/styles/scss/breakpoint' as *;
|
|
16
|
-
@use '@carbon/styles/scss/components/popover'
|
|
16
|
+
@use '@carbon/styles/scss/components/popover' as *;
|
|
17
17
|
|
|
18
18
|
// The distance between the popover container and the triggering element
|
|
19
19
|
// Specify the distance between the popover and the trigger. This value must
|
|
@@ -45,7 +45,7 @@ $popover-border-color: custom-property.get-var(
|
|
|
45
45
|
:host(#{$prefix}-tooltip),
|
|
46
46
|
:host(#{$prefix}-popover) {
|
|
47
47
|
::slotted(.#{$prefix}--popover--tab-tip__button) {
|
|
48
|
-
@
|
|
48
|
+
@include popover-tab-tip-button;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -53,7 +53,7 @@ $popover-border-color: custom-property.get-var(
|
|
|
53
53
|
:host(#{$prefix}-popover[highContrast]) {
|
|
54
54
|
::slotted(#{$prefix}-tooltip-content),
|
|
55
55
|
::slotted(#{$prefix}-popover-content) {
|
|
56
|
-
@
|
|
56
|
+
@include popover-highcontrast-base;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -86,7 +86,7 @@ $popover-border-color: custom-property.get-var(
|
|
|
86
86
|
|
|
87
87
|
:host(#{$prefix}-tooltip-content),
|
|
88
88
|
:host(#{$prefix}-popover-content) {
|
|
89
|
-
@
|
|
89
|
+
@include popover-base;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
:host(#{$prefix}-tooltip-content[open]),
|