@carbon/web-components 2.54.0-rc.0 → 2.55.0-rc.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 +213 -161
- package/es/components/accordion/accordion.scss.js +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/badge-indicator/badge-indicator.scss.js +1 -1
- package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es/components/button/button.d.ts +1 -1
- package/es/components/button/button.js +1 -1
- package/es/components/button/button.js.map +1 -1
- package/es/components/button/button.scss.js +1 -1
- package/es/components/checkbox/checkbox.scss.js +1 -1
- package/es/components/code-snippet/code-snippet.scss.js +1 -1
- package/es/components/combo-box/combo-box.scss.js +1 -1
- package/es/components/combo-button/combo-button.scss.js +1 -1
- package/es/components/contained-list/contained-list.scss.js +1 -1
- package/es/components/content-switcher/content-switcher.scss.js +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/date-picker.scss.js +1 -1
- package/es/components/date-picker/date-picker.scss.js.map +1 -1
- package/es/components/dialog/dialog-body.js +1 -1
- package/es/components/dialog/dialog-close-button.js +1 -1
- package/es/components/dialog/dialog-footer.js +1 -1
- package/es/components/dialog/dialog-subtitle.js +1 -1
- package/es/components/dialog/dialog-title.js +1 -1
- package/es/components/dialog/dialog.d.ts +18 -7
- package/es/components/dialog/dialog.d.ts.map +1 -1
- package/es/components/dialog/dialog.js +51 -17
- package/es/components/dialog/dialog.js.map +1 -1
- package/es/components/dialog/dialog.scss.js +1 -1
- package/es/components/dialog/dialog.scss.js.map +1 -1
- package/es/components/dropdown/dropdown.d.ts +3 -2
- package/es/components/dropdown/dropdown.d.ts.map +1 -1
- package/es/components/dropdown/dropdown.js +9 -2
- package/es/components/dropdown/dropdown.js.map +1 -1
- package/es/components/dropdown/dropdown.scss.js +1 -1
- package/es/components/feature-flags/index.d.ts.map +1 -1
- package/es/components/feature-flags/index.js +8 -3
- package/es/components/feature-flags/index.js.map +1 -1
- package/es/components/file-uploader/file-uploader-button.d.ts.map +1 -1
- package/es/components/file-uploader/file-uploader-button.js +3 -2
- package/es/components/file-uploader/file-uploader-button.js.map +1 -1
- package/es/components/file-uploader/file-uploader-drop-container.d.ts +1 -1
- package/es/components/file-uploader/file-uploader-drop-container.d.ts.map +1 -1
- package/es/components/file-uploader/file-uploader-drop-container.js +3 -2
- package/es/components/file-uploader/file-uploader-drop-container.js.map +1 -1
- package/es/components/file-uploader/file-uploader-item.d.ts +4 -0
- package/es/components/file-uploader/file-uploader-item.d.ts.map +1 -1
- package/es/components/file-uploader/file-uploader-item.js +6 -0
- package/es/components/file-uploader/file-uploader-item.js.map +1 -1
- package/es/components/file-uploader/file-uploader.scss.js +1 -1
- package/es/components/file-uploader/file-uploader.scss.js.map +1 -1
- package/es/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
- package/es/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
- package/es/components/fluid-form/fluid-form.d.ts +19 -0
- package/es/components/fluid-form/fluid-form.d.ts.map +1 -0
- package/es/components/fluid-form/fluid-form.js +44 -0
- package/es/components/fluid-form/fluid-form.js.map +1 -0
- package/es/components/fluid-form/fluid-form.scss.js +14 -0
- package/es/components/fluid-form/fluid-form.scss.js.map +1 -0
- package/es/components/fluid-form/index.d.ts +8 -0
- package/es/components/fluid-form/index.d.ts.map +1 -0
- package/es/components/fluid-form/index.js +8 -0
- package/es/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
- package/es/components/fluid-number-input/fluid-number-input.scss.js +1 -1
- package/es/components/fluid-number-input/fluid-number-input.scss.js.map +1 -1
- package/es/components/fluid-password-input/fluid-password-input.scss.js +1 -1
- package/es/components/fluid-password-input/fluid-password-input.scss.js.map +1 -1
- package/es/components/fluid-search/fluid-search.scss.js +1 -1
- package/es/components/fluid-select/fluid-select.scss.js +1 -1
- package/es/components/fluid-select/fluid-select.scss.js.map +1 -1
- package/es/components/fluid-text-input/fluid-text-input.scss.js +1 -1
- package/es/components/fluid-text-input/fluid-text-input.scss.js.map +1 -1
- package/es/components/fluid-textarea/fluid-textarea.scss.js +1 -1
- package/es/components/fluid-textarea/fluid-textarea.scss.js.map +1 -1
- package/es/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
- package/es/components/form/form-item.scss.js +1 -1
- package/es/components/form/form.scss.js +1 -1
- package/es/components/form-group/form-group.scss.js +1 -1
- package/es/components/heading/heading.scss.js +1 -1
- package/es/components/icon/icon.d.ts +1 -1
- package/es/components/icon-button/icon-button.scss.js +1 -1
- package/es/components/icon-indicator/icon-indicator.scss.js +1 -1
- package/es/components/inline-loading/inline-loading.scss.js +1 -1
- package/es/components/link/link.d.ts +1 -1
- package/es/components/link/link.d.ts.map +1 -1
- package/es/components/link/link.js.map +1 -1
- package/es/components/link/link.scss.js +1 -1
- package/es/components/list/list.scss.js +1 -1
- package/es/components/loading/loading.scss.js +1 -1
- package/es/components/menu/menu-item.scss.js +1 -1
- package/es/components/menu/menu.scss.js +1 -1
- package/es/components/menu-button/menu-button.scss.js +1 -1
- package/es/components/modal/modal-base.d.ts +144 -0
- package/es/components/modal/modal-base.d.ts.map +1 -0
- package/es/components/modal/modal-base.js +229 -0
- package/es/components/modal/modal-base.js.map +1 -0
- package/es/components/modal/modal.d.ts +15 -89
- package/es/components/modal/modal.d.ts.map +1 -1
- package/es/components/modal/modal.js +66 -169
- package/es/components/modal/modal.js.map +1 -1
- package/es/components/modal/modal.scss.js +1 -1
- package/es/components/modal/modal.scss.js.map +1 -1
- package/es/components/multi-select/multi-select.scss.js +1 -1
- package/es/components/notification/actionable-notification.d.ts +1 -1
- package/es/components/notification/actionable-notification.scss.js +1 -1
- package/es/components/notification/callout-notification.d.ts +1 -1
- package/es/components/notification/inline-notification.d.ts +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/number-input/number-input.scss.js +1 -1
- package/es/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es/components/page-header/index.d.ts +4 -0
- package/es/components/page-header/index.d.ts.map +1 -1
- package/es/components/page-header/page-header-breadcrumb.d.ts +7 -0
- package/es/components/page-header/page-header-breadcrumb.d.ts.map +1 -1
- package/es/components/page-header/page-header-breadcrumb.js +7 -0
- package/es/components/page-header/page-header-breadcrumb.js.map +1 -1
- package/es/components/page-header/page-header-content-text.d.ts +7 -0
- package/es/components/page-header/page-header-content-text.d.ts.map +1 -1
- package/es/components/page-header/page-header-content-text.js +7 -0
- package/es/components/page-header/page-header-content-text.js.map +1 -1
- package/es/components/page-header/page-header-content.d.ts +7 -0
- package/es/components/page-header/page-header-content.d.ts.map +1 -1
- package/es/components/page-header/page-header-content.js +7 -0
- package/es/components/page-header/page-header-content.js.map +1 -1
- package/es/components/page-header/page-header-hero-image.d.ts +7 -0
- package/es/components/page-header/page-header-hero-image.d.ts.map +1 -1
- package/es/components/page-header/page-header-hero-image.js +7 -0
- package/es/components/page-header/page-header-hero-image.js.map +1 -1
- package/es/components/page-header/page-header-tabs.d.ts +7 -0
- package/es/components/page-header/page-header-tabs.d.ts.map +1 -1
- package/es/components/page-header/page-header-tabs.js +7 -0
- package/es/components/page-header/page-header-tabs.js.map +1 -1
- package/es/components/page-header/page-header.d.ts +7 -0
- package/es/components/page-header/page-header.d.ts.map +1 -1
- package/es/components/page-header/page-header.js +7 -0
- package/es/components/page-header/page-header.js.map +1 -1
- package/es/components/page-header/page-header.scss.js +1 -1
- package/es/components/page-header/page-header.scss.js.map +1 -1
- package/es/components/pagination/pagination.scss.js +1 -1
- package/es/components/pagination-nav/pagination-nav.scss.js +1 -1
- package/es/components/password-input/password-input.d.ts.map +1 -1
- package/es/components/password-input/password-input.js +1 -1
- package/es/components/password-input/password-input.js.map +1 -1
- package/es/components/password-input/password-input.scss.js +1 -1
- package/es/components/popover/popover.scss.js +1 -1
- package/es/components/progress-bar/progress-bar.scss.js +1 -1
- package/es/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es/components/radio-button/radio-button.scss.js +1 -1
- package/es/components/search/search.d.ts +4 -0
- package/es/components/search/search.d.ts.map +1 -1
- package/es/components/search/search.js +4 -1
- package/es/components/search/search.js.map +1 -1
- package/es/components/search/search.scss.js +1 -1
- package/es/components/select/select.scss.js +1 -1
- package/es/components/shape-indicator/shape-indicator.scss.js +1 -1
- package/es/components/side-panel/side-panel.d.ts +1 -1
- package/es/components/side-panel/side-panel.js +1 -1
- package/es/components/side-panel/side-panel.js.map +1 -1
- package/es/components/skeleton-icon/skeleton-icon.scss.js +1 -1
- package/es/components/skeleton-placeholder/skeleton-placeholder.scss.js +1 -1
- package/es/components/skeleton-text/skeleton-text.scss.js +1 -1
- package/es/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es/components/slider/slider.scss.js +1 -1
- package/es/components/slug/slug.scss.js +1 -1
- package/es/components/stack/stack.scss.js +1 -1
- package/es/components/structured-list/structured-list.scss.js +1 -1
- package/es/components/tabs/stories/tabs-wrapper.d.ts +4 -0
- package/es/components/tabs/stories/tabs-wrapper.d.ts.map +1 -1
- package/es/components/tabs/stories/tabs-wrapper.js +22 -10
- package/es/components/tabs/stories/tabs-wrapper.js.map +1 -1
- package/es/components/tabs/tab.d.ts +34 -1
- package/es/components/tabs/tab.d.ts.map +1 -1
- package/es/components/tabs/tab.js +36 -3
- package/es/components/tabs/tab.js.map +1 -1
- package/es/components/tabs/tabs.d.ts +12 -0
- package/es/components/tabs/tabs.d.ts.map +1 -1
- package/es/components/tabs/tabs.js +36 -10
- package/es/components/tabs/tabs.js.map +1 -1
- package/es/components/tabs/tabs.scss.js +1 -1
- package/es/components/tabs/tabs.scss.js.map +1 -1
- package/es/components/tag/tag.scss.js +1 -1
- package/es/components/tearsheet/tearsheet.d.ts +1 -1
- package/es/components/tearsheet/tearsheet.js +1 -1
- package/es/components/tearsheet/tearsheet.js.map +1 -1
- package/es/components/text-input/text-input.d.ts +2 -1
- package/es/components/text-input/text-input.d.ts.map +1 -1
- package/es/components/text-input/text-input.scss.js +1 -1
- package/es/components/textarea/textarea.scss.js +1 -1
- package/es/components/tile/clickable-tile.d.ts +1 -1
- package/es/components/tile/clickable-tile.d.ts.map +1 -1
- package/es/components/tile/clickable-tile.js +6 -1
- package/es/components/tile/clickable-tile.js.map +1 -1
- package/es/components/tile/radio-tile.d.ts +4 -1
- package/es/components/tile/radio-tile.d.ts.map +1 -1
- package/es/components/tile/radio-tile.js +23 -6
- package/es/components/tile/radio-tile.js.map +1 -1
- package/es/components/tile/selectable-tile.d.ts +1 -1
- package/es/components/tile/tile.scss.js +1 -1
- package/es/components/tile/tile.scss.js.map +1 -1
- package/es/components/time-picker/time-picker.d.ts +2 -1
- package/es/components/time-picker/time-picker.d.ts.map +1 -1
- package/es/components/time-picker/time-picker.scss.js +1 -1
- package/es/components/toggle/toggle.scss.js +1 -1
- package/es/components/toggle-tip/toggletip.scss.js +1 -1
- package/es/components/tooltip/tooltip.scss.js +1 -1
- package/es/components/tree-view/tree-view.scss.js +1 -1
- package/es/components/ui-shell/header.scss.js +1 -1
- package/es/components/ui-shell/side-nav.scss.js +1 -1
- package/es/globals/decorators/carbon-element.js.map +1 -1
- package/es/globals/directives/spread.d.ts +1 -1
- package/es/globals/directives/spread.d.ts.map +1 -1
- package/es/globals/internal/icon-loader-utils.d.ts +1 -1
- package/es/globals/internal/icon-loader-utils.d.ts.map +1 -1
- package/es/globals/mixins/validity.d.ts +2 -1
- package/es/globals/mixins/validity.d.ts.map +1 -1
- package/es/globals/mixins/validity.js.map +1 -1
- package/es/index.js +1 -1
- package/es-custom/components/accordion/accordion.scss.js +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/badge-indicator/badge-indicator.scss.js +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es-custom/components/button/button.d.ts +1 -1
- package/es-custom/components/button/button.js +1 -1
- package/es-custom/components/button/button.js.map +1 -1
- package/es-custom/components/button/button.scss.js +1 -1
- package/es-custom/components/checkbox/checkbox.scss.js +1 -1
- package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
- package/es-custom/components/combo-box/combo-box.scss.js +1 -1
- package/es-custom/components/combo-button/combo-button.scss.js +1 -1
- package/es-custom/components/contained-list/contained-list.scss.js +1 -1
- package/es-custom/components/content-switcher/content-switcher.scss.js +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/date-picker.scss.js +1 -1
- package/es-custom/components/date-picker/date-picker.scss.js.map +1 -1
- package/es-custom/components/dialog/dialog-body.js +1 -1
- package/es-custom/components/dialog/dialog-close-button.js +1 -1
- package/es-custom/components/dialog/dialog-footer.js +1 -1
- package/es-custom/components/dialog/dialog-subtitle.js +1 -1
- package/es-custom/components/dialog/dialog-title.js +1 -1
- package/es-custom/components/dialog/dialog.d.ts +18 -7
- package/es-custom/components/dialog/dialog.d.ts.map +1 -1
- package/es-custom/components/dialog/dialog.js +51 -17
- package/es-custom/components/dialog/dialog.js.map +1 -1
- package/es-custom/components/dialog/dialog.scss.js +1 -1
- package/es-custom/components/dialog/dialog.scss.js.map +1 -1
- package/es-custom/components/dropdown/dropdown.d.ts +3 -2
- package/es-custom/components/dropdown/dropdown.d.ts.map +1 -1
- package/es-custom/components/dropdown/dropdown.js +9 -2
- package/es-custom/components/dropdown/dropdown.js.map +1 -1
- package/es-custom/components/dropdown/dropdown.scss.js +1 -1
- package/es-custom/components/feature-flags/index.d.ts.map +1 -1
- package/es-custom/components/feature-flags/index.js +8 -3
- package/es-custom/components/feature-flags/index.js.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-button.d.ts.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-button.js +3 -2
- package/es-custom/components/file-uploader/file-uploader-button.js.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-drop-container.d.ts +1 -1
- package/es-custom/components/file-uploader/file-uploader-drop-container.d.ts.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-drop-container.js +3 -2
- package/es-custom/components/file-uploader/file-uploader-drop-container.js.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-item.d.ts +4 -0
- package/es-custom/components/file-uploader/file-uploader-item.d.ts.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-item.js +6 -0
- package/es-custom/components/file-uploader/file-uploader-item.js.map +1 -1
- package/es-custom/components/file-uploader/file-uploader.scss.js +1 -1
- package/es-custom/components/file-uploader/file-uploader.scss.js.map +1 -1
- package/es-custom/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
- package/es-custom/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
- package/es-custom/components/fluid-form/fluid-form.d.ts +19 -0
- package/es-custom/components/fluid-form/fluid-form.d.ts.map +1 -0
- package/es-custom/components/fluid-form/fluid-form.js +44 -0
- package/es-custom/components/fluid-form/fluid-form.js.map +1 -0
- package/es-custom/components/fluid-form/fluid-form.scss.js +14 -0
- package/es-custom/components/fluid-form/fluid-form.scss.js.map +1 -0
- package/es-custom/components/fluid-form/index.d.ts +8 -0
- package/es-custom/components/fluid-form/index.d.ts.map +1 -0
- package/es-custom/components/fluid-form/index.js +8 -0
- package/es-custom/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
- package/es-custom/components/fluid-number-input/fluid-number-input.scss.js +1 -1
- package/es-custom/components/fluid-number-input/fluid-number-input.scss.js.map +1 -1
- package/es-custom/components/fluid-password-input/fluid-password-input.scss.js +1 -1
- package/es-custom/components/fluid-password-input/fluid-password-input.scss.js.map +1 -1
- package/es-custom/components/fluid-search/fluid-search.scss.js +1 -1
- package/es-custom/components/fluid-select/fluid-select.scss.js +1 -1
- package/es-custom/components/fluid-select/fluid-select.scss.js.map +1 -1
- package/es-custom/components/fluid-text-input/fluid-text-input.scss.js +1 -1
- package/es-custom/components/fluid-text-input/fluid-text-input.scss.js.map +1 -1
- package/es-custom/components/fluid-textarea/fluid-textarea.scss.js +1 -1
- package/es-custom/components/fluid-textarea/fluid-textarea.scss.js.map +1 -1
- package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
- package/es-custom/components/form/form-item.scss.js +1 -1
- package/es-custom/components/form/form.scss.js +1 -1
- package/es-custom/components/form-group/form-group.scss.js +1 -1
- package/es-custom/components/heading/heading.scss.js +1 -1
- package/es-custom/components/icon/icon.d.ts +1 -1
- package/es-custom/components/icon-button/icon-button.scss.js +1 -1
- package/es-custom/components/icon-indicator/icon-indicator.scss.js +1 -1
- package/es-custom/components/inline-loading/inline-loading.scss.js +1 -1
- package/es-custom/components/link/link.d.ts +1 -1
- package/es-custom/components/link/link.d.ts.map +1 -1
- package/es-custom/components/link/link.js.map +1 -1
- package/es-custom/components/link/link.scss.js +1 -1
- package/es-custom/components/list/list.scss.js +1 -1
- package/es-custom/components/loading/loading.scss.js +1 -1
- package/es-custom/components/menu/menu-item.scss.js +1 -1
- package/es-custom/components/menu/menu.scss.js +1 -1
- package/es-custom/components/menu-button/menu-button.scss.js +1 -1
- package/es-custom/components/modal/modal-base.d.ts +144 -0
- package/es-custom/components/modal/modal-base.d.ts.map +1 -0
- package/es-custom/components/modal/modal-base.js +229 -0
- package/es-custom/components/modal/modal-base.js.map +1 -0
- package/es-custom/components/modal/modal.d.ts +15 -89
- package/es-custom/components/modal/modal.d.ts.map +1 -1
- package/es-custom/components/modal/modal.js +66 -169
- package/es-custom/components/modal/modal.js.map +1 -1
- package/es-custom/components/modal/modal.scss.js +1 -1
- package/es-custom/components/modal/modal.scss.js.map +1 -1
- package/es-custom/components/multi-select/multi-select.scss.js +1 -1
- package/es-custom/components/notification/actionable-notification.d.ts +1 -1
- package/es-custom/components/notification/actionable-notification.scss.js +1 -1
- package/es-custom/components/notification/callout-notification.d.ts +1 -1
- package/es-custom/components/notification/inline-notification.d.ts +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/number-input/number-input.scss.js +1 -1
- package/es-custom/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es-custom/components/page-header/index.d.ts +4 -0
- package/es-custom/components/page-header/index.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header-breadcrumb.d.ts +7 -0
- package/es-custom/components/page-header/page-header-breadcrumb.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header-breadcrumb.js +7 -0
- 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 +7 -0
- package/es-custom/components/page-header/page-header-content-text.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header-content-text.js +7 -0
- 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 +7 -0
- package/es-custom/components/page-header/page-header-content.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header-content.js +7 -0
- 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 +7 -0
- package/es-custom/components/page-header/page-header-hero-image.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header-hero-image.js +7 -0
- 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 +7 -0
- package/es-custom/components/page-header/page-header-tabs.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header-tabs.js +7 -0
- package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
- package/es-custom/components/page-header/page-header.d.ts +7 -0
- package/es-custom/components/page-header/page-header.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header.js +7 -0
- package/es-custom/components/page-header/page-header.js.map +1 -1
- package/es-custom/components/page-header/page-header.scss.js +1 -1
- package/es-custom/components/page-header/page-header.scss.js.map +1 -1
- package/es-custom/components/pagination/pagination.scss.js +1 -1
- package/es-custom/components/pagination-nav/pagination-nav.scss.js +1 -1
- package/es-custom/components/password-input/password-input.d.ts.map +1 -1
- package/es-custom/components/password-input/password-input.js +1 -1
- package/es-custom/components/password-input/password-input.js.map +1 -1
- package/es-custom/components/password-input/password-input.scss.js +1 -1
- package/es-custom/components/popover/popover.scss.js +1 -1
- package/es-custom/components/progress-bar/progress-bar.scss.js +1 -1
- package/es-custom/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es-custom/components/radio-button/radio-button.scss.js +1 -1
- package/es-custom/components/search/search.d.ts +4 -0
- package/es-custom/components/search/search.d.ts.map +1 -1
- package/es-custom/components/search/search.js +4 -1
- package/es-custom/components/search/search.js.map +1 -1
- package/es-custom/components/search/search.scss.js +1 -1
- package/es-custom/components/select/select.scss.js +1 -1
- package/es-custom/components/shape-indicator/shape-indicator.scss.js +1 -1
- package/es-custom/components/side-panel/side-panel.d.ts +1 -1
- package/es-custom/components/side-panel/side-panel.js +1 -1
- package/es-custom/components/side-panel/side-panel.js.map +1 -1
- package/es-custom/components/skeleton-icon/skeleton-icon.scss.js +1 -1
- package/es-custom/components/skeleton-placeholder/skeleton-placeholder.scss.js +1 -1
- package/es-custom/components/skeleton-text/skeleton-text.scss.js +1 -1
- package/es-custom/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es-custom/components/slider/slider.scss.js +1 -1
- package/es-custom/components/slug/slug.scss.js +1 -1
- package/es-custom/components/stack/stack.scss.js +1 -1
- package/es-custom/components/structured-list/structured-list.scss.js +1 -1
- package/es-custom/components/tabs/stories/tabs-wrapper.d.ts +4 -0
- package/es-custom/components/tabs/stories/tabs-wrapper.d.ts.map +1 -1
- package/es-custom/components/tabs/stories/tabs-wrapper.js +22 -10
- package/es-custom/components/tabs/stories/tabs-wrapper.js.map +1 -1
- package/es-custom/components/tabs/tab.d.ts +34 -1
- package/es-custom/components/tabs/tab.d.ts.map +1 -1
- package/es-custom/components/tabs/tab.js +36 -3
- package/es-custom/components/tabs/tab.js.map +1 -1
- package/es-custom/components/tabs/tabs.d.ts +12 -0
- package/es-custom/components/tabs/tabs.d.ts.map +1 -1
- package/es-custom/components/tabs/tabs.js +36 -10
- package/es-custom/components/tabs/tabs.js.map +1 -1
- package/es-custom/components/tabs/tabs.scss.js +1 -1
- package/es-custom/components/tabs/tabs.scss.js.map +1 -1
- package/es-custom/components/tag/tag.scss.js +1 -1
- package/es-custom/components/tearsheet/tearsheet.d.ts +1 -1
- package/es-custom/components/tearsheet/tearsheet.js +1 -1
- package/es-custom/components/tearsheet/tearsheet.js.map +1 -1
- package/es-custom/components/text-input/text-input.d.ts +2 -1
- package/es-custom/components/text-input/text-input.d.ts.map +1 -1
- package/es-custom/components/text-input/text-input.scss.js +1 -1
- package/es-custom/components/textarea/textarea.scss.js +1 -1
- package/es-custom/components/tile/clickable-tile.d.ts +1 -1
- package/es-custom/components/tile/clickable-tile.d.ts.map +1 -1
- package/es-custom/components/tile/clickable-tile.js +6 -1
- package/es-custom/components/tile/clickable-tile.js.map +1 -1
- package/es-custom/components/tile/radio-tile.d.ts +4 -1
- package/es-custom/components/tile/radio-tile.d.ts.map +1 -1
- package/es-custom/components/tile/radio-tile.js +23 -6
- package/es-custom/components/tile/radio-tile.js.map +1 -1
- package/es-custom/components/tile/selectable-tile.d.ts +1 -1
- package/es-custom/components/tile/tile.scss.js +1 -1
- package/es-custom/components/tile/tile.scss.js.map +1 -1
- package/es-custom/components/time-picker/time-picker.d.ts +2 -1
- package/es-custom/components/time-picker/time-picker.d.ts.map +1 -1
- package/es-custom/components/time-picker/time-picker.scss.js +1 -1
- package/es-custom/components/toggle/toggle.scss.js +1 -1
- package/es-custom/components/toggle-tip/toggletip.scss.js +1 -1
- package/es-custom/components/tooltip/tooltip.scss.js +1 -1
- package/es-custom/components/tree-view/tree-view.scss.js +1 -1
- package/es-custom/components/ui-shell/header.scss.js +1 -1
- package/es-custom/components/ui-shell/side-nav.scss.js +1 -1
- package/es-custom/globals/decorators/carbon-element.js.map +1 -1
- package/es-custom/globals/directives/spread.d.ts +1 -1
- package/es-custom/globals/directives/spread.d.ts.map +1 -1
- package/es-custom/globals/internal/icon-loader-utils.d.ts +1 -1
- package/es-custom/globals/internal/icon-loader-utils.d.ts.map +1 -1
- package/es-custom/globals/mixins/validity.d.ts +2 -1
- package/es-custom/globals/mixins/validity.d.ts.map +1 -1
- package/es-custom/globals/mixins/validity.js.map +1 -1
- package/es-custom/index.js +1 -1
- package/lib/components/button/button.d.ts +1 -1
- package/lib/components/dialog/dialog.d.ts +18 -7
- package/lib/components/dialog/dialog.d.ts.map +1 -1
- package/lib/components/dropdown/dropdown.d.ts +3 -2
- package/lib/components/dropdown/dropdown.d.ts.map +1 -1
- package/lib/components/feature-flags/index.d.ts.map +1 -1
- package/lib/components/file-uploader/file-uploader-button.d.ts.map +1 -1
- package/lib/components/file-uploader/file-uploader-drop-container.d.ts +1 -1
- package/lib/components/file-uploader/file-uploader-drop-container.d.ts.map +1 -1
- package/lib/components/file-uploader/file-uploader-item.d.ts +4 -0
- package/lib/components/file-uploader/file-uploader-item.d.ts.map +1 -1
- package/lib/components/fluid-form/fluid-form.d.ts +19 -0
- package/lib/components/fluid-form/fluid-form.d.ts.map +1 -0
- package/lib/components/fluid-form/index.d.ts +8 -0
- package/lib/components/fluid-form/index.d.ts.map +1 -0
- package/lib/components/icon/icon.d.ts +1 -1
- package/lib/components/link/link.d.ts +1 -1
- package/lib/components/link/link.d.ts.map +1 -1
- package/lib/components/modal/modal-base.d.ts +144 -0
- package/lib/components/modal/modal-base.d.ts.map +1 -0
- package/lib/components/modal/modal.d.ts +15 -89
- package/lib/components/modal/modal.d.ts.map +1 -1
- package/lib/components/notification/actionable-notification.d.ts +1 -1
- package/lib/components/notification/callout-notification.d.ts +1 -1
- package/lib/components/notification/inline-notification.d.ts +1 -1
- package/lib/components/page-header/index.d.ts +4 -0
- package/lib/components/page-header/index.d.ts.map +1 -1
- package/lib/components/page-header/page-header-breadcrumb.d.ts +7 -0
- package/lib/components/page-header/page-header-breadcrumb.d.ts.map +1 -1
- package/lib/components/page-header/page-header-content-text.d.ts +7 -0
- package/lib/components/page-header/page-header-content-text.d.ts.map +1 -1
- package/lib/components/page-header/page-header-content.d.ts +7 -0
- package/lib/components/page-header/page-header-content.d.ts.map +1 -1
- package/lib/components/page-header/page-header-hero-image.d.ts +7 -0
- package/lib/components/page-header/page-header-hero-image.d.ts.map +1 -1
- package/lib/components/page-header/page-header-tabs.d.ts +7 -0
- package/lib/components/page-header/page-header-tabs.d.ts.map +1 -1
- package/lib/components/page-header/page-header.d.ts +7 -0
- package/lib/components/page-header/page-header.d.ts.map +1 -1
- package/lib/components/password-input/password-input.d.ts.map +1 -1
- package/lib/components/search/search.d.ts +4 -0
- package/lib/components/search/search.d.ts.map +1 -1
- package/lib/components/side-panel/side-panel.d.ts +1 -1
- package/lib/components/tabs/stories/tabs-wrapper.d.ts +4 -0
- package/lib/components/tabs/stories/tabs-wrapper.d.ts.map +1 -1
- package/lib/components/tabs/tab.d.ts +34 -1
- package/lib/components/tabs/tab.d.ts.map +1 -1
- package/lib/components/tabs/tabs.d.ts +12 -0
- package/lib/components/tabs/tabs.d.ts.map +1 -1
- package/lib/components/tearsheet/tearsheet.d.ts +1 -1
- package/lib/components/text-input/text-input.d.ts +2 -1
- package/lib/components/text-input/text-input.d.ts.map +1 -1
- package/lib/components/tile/clickable-tile.d.ts +1 -1
- package/lib/components/tile/clickable-tile.d.ts.map +1 -1
- package/lib/components/tile/radio-tile.d.ts +4 -1
- package/lib/components/tile/radio-tile.d.ts.map +1 -1
- package/lib/components/tile/selectable-tile.d.ts +1 -1
- package/lib/components/time-picker/time-picker.d.ts +2 -1
- package/lib/components/time-picker/time-picker.d.ts.map +1 -1
- package/lib/globals/directives/spread.d.ts +1 -1
- package/lib/globals/directives/spread.d.ts.map +1 -1
- package/lib/globals/internal/icon-loader-utils.d.ts +1 -1
- package/lib/globals/internal/icon-loader-utils.d.ts.map +1 -1
- package/lib/globals/mixins/validity.d.ts +2 -1
- package/lib/globals/mixins/validity.d.ts.map +1 -1
- package/package.json +13 -13
- package/scss/components/date-picker/date-picker.scss +2 -1
- package/scss/components/dialog/dialog.scss +10 -4
- package/scss/components/file-uploader/file-uploader.scss +4 -0
- package/scss/components/fluid-form/fluid-form.scss +24 -0
- package/scss/components/fluid-number-input/fluid-number-input.scss +3 -1
- package/scss/components/fluid-password-input/fluid-password-input.scss +1 -1
- package/scss/components/fluid-select/fluid-select.scss +3 -1
- package/scss/components/fluid-text-input/fluid-text-input.scss +3 -1
- package/scss/components/fluid-textarea/fluid-textarea.scss +3 -1
- package/scss/components/modal/modal.scss +28 -0
- package/scss/components/page-header/page-header.scss +2 -0
- package/scss/components/tabs/tabs.scss +121 -1
- package/scss/components/tile/tile.scss +67 -1
- package/telemetry.yml +10 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carbon-element.js","names":[],"sources":["../../../src/globals/decorators/carbon-element.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2019, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\nexport declare type Constructor<T> = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- https://github.com/carbon-design-system/carbon/issues/20452\n new (...args: any[]): T;\n};\n\ntype Finisher =\n | (<T>(clazz: Constructor<T>) => Constructor<T>)\n | (<T>(clazz: Constructor<T>) => void);\n\nexport interface ClassDescriptor {\n kind: 'class';\n elements: ClassElement[];\n finisher?: Finisher;\n}\n\nexport interface ClassElement {\n kind: 'field' | 'method';\n key: PropertyKey;\n placement: 'static' | 'prototype' | 'own';\n initializer?: () => unknown;\n extras?: ClassElement[];\n finisher?: Finisher;\n descriptor?: PropertyDescriptor;\n}\n\n/**\n * Allow for custom element classes with private constructors\n */\ntype CustomElementClass = Omit<typeof HTMLElement, 'new'>;\n\nconst legacyCustomElement = (tagName: string, clazz: CustomElementClass) => {\n try {\n customElements.define(tagName, clazz as CustomElementConstructor);\n } catch {\n // eslint-disable-next-line no-console
|
|
1
|
+
{"version":3,"file":"carbon-element.js","names":[],"sources":["../../../src/globals/decorators/carbon-element.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2019, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\nexport declare type Constructor<T> = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- https://github.com/carbon-design-system/carbon/issues/20452\n new (...args: any[]): T;\n};\n\ntype Finisher =\n | (<T>(clazz: Constructor<T>) => Constructor<T>)\n | (<T>(clazz: Constructor<T>) => void);\n\nexport interface ClassDescriptor {\n kind: 'class';\n elements: ClassElement[];\n finisher?: Finisher;\n}\n\nexport interface ClassElement {\n kind: 'field' | 'method';\n key: PropertyKey;\n placement: 'static' | 'prototype' | 'own';\n initializer?: () => unknown;\n extras?: ClassElement[];\n finisher?: Finisher;\n descriptor?: PropertyDescriptor;\n}\n\n/**\n * Allow for custom element classes with private constructors\n */\ntype CustomElementClass = Omit<typeof HTMLElement, 'new'>;\n\nconst legacyCustomElement = (tagName: string, clazz: CustomElementClass) => {\n try {\n customElements.define(tagName, clazz as CustomElementConstructor);\n } catch {\n // eslint-disable-next-line no-console\n console.warn(`Attempting to re-define ${tagName}`);\n }\n // Cast as any because TS doesn't recognize the return type as being a\n // subtype of the decorated class when clazz is typed as\n // `Constructor<HTMLElement>` for some reason.\n // `Constructor<HTMLElement>` is helpful to make sure the decorator is\n // applied to elements however.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return clazz as any;\n};\n\nconst standardCustomElement = (\n tagName: string,\n descriptor: ClassDescriptor\n) => {\n const { kind, elements } = descriptor;\n return {\n kind,\n elements,\n // This callback is called once the class is otherwise fully defined\n finisher(clazz: Constructor<HTMLElement>) {\n try {\n customElements.define(tagName, clazz);\n } catch {\n // eslint-disable-next-line no-console\n console.warn(`Attempting to re-define ${tagName}`);\n }\n },\n };\n};\n\n/**\n * Class decorator factory that defines the decorated class as a custom element.\n *\n * ```js\n * @customElement('my-element')\n * class MyElement extends LitElement {\n * render() {\n * return html``;\n * }\n * }\n * ```\n *\n * @category Decorator\n * @param tagName The tag name of the custom element to define.\n */\nexport const carbonElement =\n (tagName: string) =>\n (classOrDescriptor: CustomElementClass | ClassDescriptor) =>\n typeof classOrDescriptor === 'function'\n ? legacyCustomElement(tagName, classOrDescriptor)\n : standardCustomElement(tagName, classOrDescriptor as ClassDescriptor);\n"],"mappings":";;;;;;;;AA2CA,MAAM,uBAAuB,SAAiB,UAA8B;AAC1E,KAAI;AACF,iBAAe,OAAO,SAAS,MAAkC;SAC3D;AAEN,UAAQ,KAAK,2BAA2B,UAAU;;AAQpD,QAAO;;AAGT,MAAM,yBACJ,SACA,eACG;CACH,MAAM,EAAE,MAAM,aAAa;AAC3B,QAAO;EACL;EACA;EAEA,SAAS,OAAiC;AACxC,OAAI;AACF,mBAAe,OAAO,SAAS,MAAM;WAC/B;AAEN,YAAQ,KAAK,2BAA2B,UAAU;;;EAGvD;;;;;;;;;;;;;;;;;AAkBH,MAAa,iBACV,aACA,sBACC,OAAO,sBAAsB,aACzB,oBAAoB,SAAS,kBAAkB,GAC/C,sBAAsB,SAAS,kBAAqC"}
|
|
@@ -32,6 +32,6 @@ declare class SpreadDirective extends Directive {
|
|
|
32
32
|
*/
|
|
33
33
|
render(attributesInfo: AttributesInfo): AttributesInfo;
|
|
34
34
|
}
|
|
35
|
-
declare const spread: (attributesInfo: AttributesInfo) => import("lit-html/directive").DirectiveResult<typeof SpreadDirective>;
|
|
35
|
+
declare const spread: (attributesInfo: AttributesInfo) => import("lit-html/directive.js").DirectiveResult<typeof SpreadDirective>;
|
|
36
36
|
export default spread;
|
|
37
37
|
//# sourceMappingURL=spread.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spread.d.ts","sourceRoot":"","sources":["../../../src/globals/directives/spread.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,aAAa,EACb,SAAS,EACT,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAQD;;;;;;GAMG;AACH,cAAM,eAAgB,SAAQ,SAAS;IACrC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,CAAC,cAAc,CAAC,EAAE,mBAAmB,CAAC,IAAI,CAAC;IA8BvE;;;;;;OAMG;IACH,MAAM,CAAC,cAAc,EAAE,cAAc;CAGtC;AAED,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"spread.d.ts","sourceRoot":"","sources":["../../../src/globals/directives/spread.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,aAAa,EACb,SAAS,EACT,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAQD;;;;;;GAMG;AACH,cAAM,eAAgB,SAAQ,SAAS;IACrC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,CAAC,cAAc,CAAC,EAAE,mBAAmB,CAAC,IAAI,CAAC;IA8BvE;;;;;;OAMG;IACH,MAAM,CAAC,cAAc,EAAE,cAAc;CAGtC;AAED,QAAA,MAAM,MAAM,6GAA6B,CAAC;AAE1C,eAAe,MAAM,CAAC"}
|
|
@@ -28,5 +28,5 @@ export declare function carbonIconToSVG(descriptor: CarbonIcon, attributes?: Rec
|
|
|
28
28
|
/**
|
|
29
29
|
* Create an icon function that returns a Lit template with unsafeSVG
|
|
30
30
|
*/
|
|
31
|
-
export declare function createIconTemplate(descriptor: CarbonIcon): (attributes?: Record<string, string | number | undefined>) => import("lit-html/directive").DirectiveResult<typeof import("lit-html/directives/unsafe-svg").UnsafeSVGDirective>;
|
|
31
|
+
export declare function createIconTemplate(descriptor: CarbonIcon): (attributes?: Record<string, string | number | undefined>) => import("lit-html/directive.js").DirectiveResult<typeof import("lit-html/directives/unsafe-svg.js").UnsafeSVGDirective>;
|
|
32
32
|
//# sourceMappingURL=icon-loader-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-loader-utils.d.ts","sourceRoot":"","sources":["../../../src/globals/internal/icon-loader-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,OAAO,EAAE,CAAC,iBAAiB,GAAG,MAAM,CAAC,EAAE,CAAC;CACzC;AAGD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;AASjE;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,UAAU,EACtB,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAM,UA+B7D;AAiBD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,IAC/C,aAAY,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAM,
|
|
1
|
+
{"version":3,"file":"icon-loader-utils.d.ts","sourceRoot":"","sources":["../../../src/globals/internal/icon-loader-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,OAAO,EAAE,CAAC,iBAAiB,GAAG,MAAM,CAAC,EAAE,CAAC;CACzC;AAGD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;AASjE;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,UAAU,EACtB,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAM,UA+B7D;AAiBD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,IAC/C,aAAY,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAM,4HAIrE"}
|
|
@@ -29,7 +29,8 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => {
|
|
|
29
29
|
required: boolean;
|
|
30
30
|
requiredValidityMessage: string;
|
|
31
31
|
validityMessage: string;
|
|
32
|
-
value: string;
|
|
32
|
+
get value(): string;
|
|
33
|
+
set value(v: string): any;
|
|
33
34
|
checkValidity(): boolean;
|
|
34
35
|
setCustomValidity(validityMessage: string): void;
|
|
35
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validity.d.ts","sourceRoot":"","sources":["../../../src/globals/mixins/validity.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,QAAQ,KAAK;IAEb;;OAEG;IACH,cAAc,aAAa;CAC5B;AAED;;;GAGG;AACH,QAAA,MAAM,aAAa,GAAI,CAAC,SAAS,WAAW,CAAC,WAAW,CAAC,EACvD,MAAM,CAAC,KACN;IAED,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG;QACpB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;QACvD,aAAa,IAAI,MAAM,CAAC;QACxB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,OAAO,CAAC;QAClB,uBAAuB,EAAE,MAAM,CAAC;QAChC,eAAe,EAAE,MAAM,CAAC;QACxB,KAAK,
|
|
1
|
+
{"version":3,"file":"validity.d.ts","sourceRoot":"","sources":["../../../src/globals/mixins/validity.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,QAAQ,KAAK;IAEb;;OAEG;IACH,cAAc,aAAa;CAC5B;AAED;;;GAGG;AACH,QAAA,MAAM,aAAa,GAAI,CAAC,SAAS,WAAW,CAAC,WAAW,CAAC,EACvD,MAAM,CAAC,KACN;IAED,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG;QACpB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;QACvD,aAAa,IAAI,MAAM,CAAC;QACxB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,OAAO,CAAC;QAClB,uBAAuB,EAAE,MAAM,CAAC;QAChC,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,KAAK,IAAI,MAAM,CAAC;QACpB,IAAI,KAAK,CAAC,CAAC,EAAE,MAAM,OAAE;QACrB,aAAa,IAAI,OAAO,CAAC;QACzB,iBAAiB,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;KAClD,CAAC;CACH,GAAG,CAgGH,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validity.js","names":[],"sources":["../../../src/globals/mixins/validity.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2020, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Form validation status.\n */\nexport enum VALIDATION_STATUS {\n /**\n * One indicating no validation error.\n */\n NO_ERROR = '',\n\n /**\n * One indicating missing required value.\n */\n ERROR_REQUIRED = 'required',\n}\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing `.setCustomValidity()` method.\n */\nconst ValidityMixin = <T extends Constructor<HTMLElement>>(\n Base: T\n): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n new (...args: any[]): {\n _getValidityMessage(state: string): string | undefined;\n _testValidity(): string;\n invalid: boolean;\n required: boolean;\n requiredValidityMessage: string;\n validityMessage: string;\n value: string;\n checkValidity(): boolean;\n setCustomValidity(validityMessage: string): void;\n };\n} & T => {\n abstract class ValidityMixinImpl extends Base {\n // Not using TypeScript `protected` due to: microsoft/TypeScript#17744\n // Using `string` instead of `VALIDATION_STATUS` until we can require TypeScript 3.8\n /**\n * @param state The form validation status.\n * @returns The form validation error messages associated with the given status.\n * @protected\n */\n _getValidityMessage(state: string) {\n return {\n [VALIDATION_STATUS.NO_ERROR]: '',\n [VALIDATION_STATUS.ERROR_REQUIRED]: this.requiredValidityMessage,\n }[state];\n }\n\n // Not using TypeScript `protected` due to: microsoft/TypeScript#17744\n // Using `string` instead of `VALIDATION_STATUS` until we can require TypeScript 3.8\n /**\n * Checks if the value meets the constraints.\n *\n * @returns `VALIDATION_STATUS.NO_ERROR` if the value meets the constraints. Some other values otherwise.\n * @protected\n */\n _testValidity(): string {\n const { required, value } = this;\n return required && !value\n ? VALIDATION_STATUS.ERROR_REQUIRED\n : VALIDATION_STATUS.NO_ERROR;\n }\n\n /**\n * `true` to show the UI of the invalid state.\n */\n abstract invalid: boolean;\n\n /**\n * `true` if the value is required.\n */\n abstract required: boolean;\n\n /**\n * The special validity message for `required`.\n */\n abstract requiredValidityMessage: string;\n\n /**\n * The validity message.\n */\n abstract validityMessage: string;\n\n /**\n * The value.\n */\n abstract value: string;\n\n /**\n * Checks if the value meets the constraints.\n * Fires cancelable `invalid` event if it doesn't.\n *\n * @returns `true` if the value meets the constraints. `false` otherwise.\n */\n checkValidity() {\n const status = this._testValidity();\n if (status !== VALIDATION_STATUS.NO_ERROR) {\n if (\n this.dispatchEvent(\n new CustomEvent('invalid', {\n bubbles: false,\n cancelable: true,\n composed: false,\n })\n )\n ) {\n this.invalid = true;\n this.validityMessage = this._getValidityMessage(status) as string;\n }\n return false;\n }\n this.invalid = false;\n this.validityMessage = '';\n return true;\n }\n\n /**\n * Sets the given custom validity message.\n *\n * @param validityMessage The custom validity message\n */\n setCustomValidity(validityMessage: string) {\n this.invalid = Boolean(validityMessage);\n this.validityMessage = validityMessage;\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ValidityMixinImpl as any;\n};\n\nexport default ValidityMixin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAY,oBAAL,yBAAA,mBAAA;;;;AAIL,mBAAA,cAAA;;;;AAKA,mBAAA,oBAAA;;KACD;;;;;AAMD,MAAM,iBACJ,
|
|
1
|
+
{"version":3,"file":"validity.js","names":[],"sources":["../../../src/globals/mixins/validity.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2020, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Form validation status.\n */\nexport enum VALIDATION_STATUS {\n /**\n * One indicating no validation error.\n */\n NO_ERROR = '',\n\n /**\n * One indicating missing required value.\n */\n ERROR_REQUIRED = 'required',\n}\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing `.setCustomValidity()` method.\n */\nconst ValidityMixin = <T extends Constructor<HTMLElement>>(\n Base: T\n): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n new (...args: any[]): {\n _getValidityMessage(state: string): string | undefined;\n _testValidity(): string;\n invalid: boolean;\n required: boolean;\n requiredValidityMessage: string;\n validityMessage: string;\n get value(): string;\n set value(v: string);\n checkValidity(): boolean;\n setCustomValidity(validityMessage: string): void;\n };\n} & T => {\n abstract class ValidityMixinImpl extends Base {\n // Not using TypeScript `protected` due to: microsoft/TypeScript#17744\n // Using `string` instead of `VALIDATION_STATUS` until we can require TypeScript 3.8\n /**\n * @param state The form validation status.\n * @returns The form validation error messages associated with the given status.\n * @protected\n */\n _getValidityMessage(state: string) {\n return {\n [VALIDATION_STATUS.NO_ERROR]: '',\n [VALIDATION_STATUS.ERROR_REQUIRED]: this.requiredValidityMessage,\n }[state];\n }\n\n // Not using TypeScript `protected` due to: microsoft/TypeScript#17744\n // Using `string` instead of `VALIDATION_STATUS` until we can require TypeScript 3.8\n /**\n * Checks if the value meets the constraints.\n *\n * @returns `VALIDATION_STATUS.NO_ERROR` if the value meets the constraints. Some other values otherwise.\n * @protected\n */\n _testValidity(): string {\n const { required, value } = this;\n return required && !value\n ? VALIDATION_STATUS.ERROR_REQUIRED\n : VALIDATION_STATUS.NO_ERROR;\n }\n\n /**\n * `true` to show the UI of the invalid state.\n */\n abstract invalid: boolean;\n\n /**\n * `true` if the value is required.\n */\n abstract required: boolean;\n\n /**\n * The special validity message for `required`.\n */\n abstract requiredValidityMessage: string;\n\n /**\n * The validity message.\n */\n abstract validityMessage: string;\n\n /**\n * The value.\n */\n abstract value: string;\n\n /**\n * Checks if the value meets the constraints.\n * Fires cancelable `invalid` event if it doesn't.\n *\n * @returns `true` if the value meets the constraints. `false` otherwise.\n */\n checkValidity() {\n const status = this._testValidity();\n if (status !== VALIDATION_STATUS.NO_ERROR) {\n if (\n this.dispatchEvent(\n new CustomEvent('invalid', {\n bubbles: false,\n cancelable: true,\n composed: false,\n })\n )\n ) {\n this.invalid = true;\n this.validityMessage = this._getValidityMessage(status) as string;\n }\n return false;\n }\n this.invalid = false;\n this.validityMessage = '';\n return true;\n }\n\n /**\n * Sets the given custom validity message.\n *\n * @param validityMessage The custom validity message\n */\n setCustomValidity(validityMessage: string) {\n this.invalid = Boolean(validityMessage);\n this.validityMessage = validityMessage;\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ValidityMixinImpl as any;\n};\n\nexport default ValidityMixin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAUA,IAAY,oBAAL,yBAAA,mBAAA;;;;AAIL,mBAAA,cAAA;;;;AAKA,mBAAA,oBAAA;;KACD;;;;;AAMD,MAAM,iBACJ,SAeO;CACP,MAAe,0BAA0B,KAAK;;;;;;EAQ5C,oBAAoB,OAAe;AACjC,UAAO;UACyB;kBACM,KAAK;IAC1C,CAAC;;;;;;;;EAWJ,gBAAwB;GACtB,MAAM,EAAE,UAAU,UAAU;AAC5B,UAAO,YAAY,CAAC,QAAA,aAAA;;;;;;;;EAoCtB,gBAAgB;GACd,MAAM,SAAS,KAAK,eAAe;AACnC,OAAI,WAAA,IAAuC;AACzC,QACE,KAAK,cACH,IAAI,YAAY,WAAW;KACzB,SAAS;KACT,YAAY;KACZ,UAAU;KACX,CAAC,CACH,EACD;AACA,UAAK,UAAU;AACf,UAAK,kBAAkB,KAAK,oBAAoB,OAAO;;AAEzD,WAAO;;AAET,QAAK,UAAU;AACf,QAAK,kBAAkB;AACvB,UAAO;;;;;;;EAQT,kBAAkB,iBAAyB;AACzC,QAAK,UAAU,QAAQ,gBAAgB;AACvC,QAAK,kBAAkB;;;AAI3B,QAAO"}
|
package/es-custom/index.js
CHANGED
|
@@ -89,6 +89,7 @@ import layer_default from "./components/layer/layer.js";
|
|
|
89
89
|
import list_item_default from "./components/list/list-item.js";
|
|
90
90
|
import unordered_list_default from "./components/list/unordered-list.js";
|
|
91
91
|
import ordered_list_default from "./components/list/ordered-list.js";
|
|
92
|
+
import dialog_default from "./components/dialog/dialog.js";
|
|
92
93
|
import modal_default from "./components/modal/modal.js";
|
|
93
94
|
import modal_body_default from "./components/modal/modal-body.js";
|
|
94
95
|
import modal_body_content_default from "./components/modal/modal-body-content.js";
|
|
@@ -173,7 +174,6 @@ import tree_node_default from "./components/tree-view/tree-node.js";
|
|
|
173
174
|
import heading_default, { CDSSection } from "./components/heading/heading.js";
|
|
174
175
|
import menu_button_default from "./components/menu-button/menu-button.js";
|
|
175
176
|
import combo_button_default from "./components/combo-button/combo-button.js";
|
|
176
|
-
import dialog_default from "./components/dialog/dialog.js";
|
|
177
177
|
import dialog_body_default from "./components/dialog/dialog-body.js";
|
|
178
178
|
import dialog_close_button_default from "./components/dialog/dialog-close-button.js";
|
|
179
179
|
import dialog_controls_default from "./components/dialog/dialog-controls.js";
|
|
@@ -4,7 +4,7 @@
|
|
|
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.
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
7
|
+
import CDSModalBase from '../modal/modal-base';
|
|
8
8
|
/**
|
|
9
9
|
* Dialog.
|
|
10
10
|
*
|
|
@@ -16,18 +16,21 @@ import CDSModal from '../modal/modal';
|
|
|
16
16
|
* Cancellation of this event stops the user-initiated action of closing this dialog.
|
|
17
17
|
* @fires cds-dialog-closed - The custom event fired after this dialog is closed upon a user gesture.
|
|
18
18
|
*/
|
|
19
|
-
declare class CDSDialog extends
|
|
19
|
+
declare class CDSDialog extends CDSModalBase {
|
|
20
20
|
/**
|
|
21
21
|
* Reference to the native dialog element
|
|
22
22
|
*/
|
|
23
23
|
private _dialogElement?;
|
|
24
|
+
/**
|
|
25
|
+
* MutationObserver that observes the modal-footer
|
|
26
|
+
*/
|
|
27
|
+
private _footerObserver?;
|
|
24
28
|
/**
|
|
25
29
|
* Handles `click` event on this element.
|
|
26
30
|
*
|
|
27
31
|
* @param event The event.
|
|
28
32
|
*/
|
|
29
33
|
protected _handleClick: (event: MouseEvent) => void;
|
|
30
|
-
loadingStatus: 'inactive' | 'active' | 'finished' | 'error';
|
|
31
34
|
/**
|
|
32
35
|
* Specifies whether the dialog is modal or non-modal
|
|
33
36
|
*/
|
|
@@ -57,6 +60,14 @@ declare class CDSDialog extends CDSModal {
|
|
|
57
60
|
* Handles `slotchange` event.
|
|
58
61
|
*/
|
|
59
62
|
protected _handleSlotChange(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Observes the dialog footer's `has-three-buttons` attribute to account for cases
|
|
65
|
+
* where the loading status and the amount of footer-buttons
|
|
66
|
+
* are being changed dynamically
|
|
67
|
+
*/
|
|
68
|
+
private _observeFooter;
|
|
69
|
+
connectedCallback(): void;
|
|
70
|
+
disconnectedCallback(): void;
|
|
60
71
|
/**
|
|
61
72
|
* Gets footer elements.
|
|
62
73
|
*/
|
|
@@ -65,10 +76,6 @@ declare class CDSDialog extends CDSModal {
|
|
|
65
76
|
primaryButton: HTMLElement | null;
|
|
66
77
|
secondaryButtons: HTMLElement[];
|
|
67
78
|
};
|
|
68
|
-
/**
|
|
69
|
-
* Do not inherit hostKeyDown handling from modal
|
|
70
|
-
*/
|
|
71
|
-
protected _handleHostKeydown: () => void;
|
|
72
79
|
protected _handleKeydown: (event: KeyboardEvent) => void;
|
|
73
80
|
updated(changedProperties: any): Promise<void>;
|
|
74
81
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -93,6 +100,10 @@ declare class CDSDialog extends CDSModal {
|
|
|
93
100
|
* The name of the custom event fired after this dialog is closed upon a user gesture.
|
|
94
101
|
*/
|
|
95
102
|
static get eventClose(): string;
|
|
103
|
+
/**
|
|
104
|
+
* The name of the custom event fired when this modal reaches a `finished` loading state
|
|
105
|
+
*/
|
|
106
|
+
static get eventOnLoadingSuccess(): string;
|
|
96
107
|
static styles: any;
|
|
97
108
|
}
|
|
98
109
|
export default CDSDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAE/C;;;;;;;;;;GAUG;AACH,cACM,SAAU,SAAQ,YAAY;IAClC;;OAEG;IAEH,OAAO,CAAC,cAAc,CAAC,CAAoB;IAE3C;;OAEG;IACH,OAAO,CAAC,eAAe,CAAC,CAAmB;IAE3C;;;;OAIG;IAIH,SAAS,CAAC,YAAY,GAAI,OAAO,UAAU,UASzC;IAEF;;OAEG;IAEH,KAAK,UAAQ;IAEb;;OAEG;IAEH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEhC;;OAEG;IAEH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAErC;;OAEG;IAEH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEtC;;OAEG;IAEH,IAAI,EAAE,QAAQ,GAAG,aAAa,CAAY;IAE1C;;;OAGG;IAEH,0BAA0B,UAAS;IAEnC;;OAEG;IACH,SAAS,CAAC,iBAAiB;IAU3B;;;;OAIG;IACH,OAAO,CAAC,cAAc;IActB,iBAAiB;IAKjB,oBAAoB;IAKpB;;OAEG;IACH,SAAS,CAAC,kBAAkB;;;;;IAwB5B,SAAS,CAAC,cAAc,GAAI,OAAO,aAAa,UAS9C;IAEI,OAAO,CAAC,iBAAiB,KAAA;IAuF/B,MAAM;IAuBN;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;;OAGG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED;;OAEG;IACH,MAAM,KAAK,qBAAqB,WAE/B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -15,7 +15,8 @@ declare const CDSDropdown_base: (new (...args: any[]) => {
|
|
|
15
15
|
required: boolean;
|
|
16
16
|
requiredValidityMessage: string;
|
|
17
17
|
validityMessage: string;
|
|
18
|
-
value: string;
|
|
18
|
+
get value(): string;
|
|
19
|
+
set value(v: string): any;
|
|
19
20
|
checkValidity(): boolean;
|
|
20
21
|
setCustomValidity(validityMessage: string): void;
|
|
21
22
|
}) & {
|
|
@@ -307,7 +308,7 @@ declare class CDSDropdown extends CDSDropdown_base {
|
|
|
307
308
|
/**
|
|
308
309
|
* The value of the selected item.
|
|
309
310
|
*/
|
|
310
|
-
value: string;
|
|
311
|
+
accessor value: string;
|
|
311
312
|
/**
|
|
312
313
|
* Specify whether the control is currently in warning state
|
|
313
314
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown/dropdown.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,UAAU,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAkBvD,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,oBAAoB,EACrB,MAAM,QAAQ,CAAC;AAChB,OAAO,eAAe,MAAM,iBAAiB,CAAC;AAI9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,oBAAoB,GACrB,CAAC
|
|
1
|
+
{"version":3,"file":"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AW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;;;;MAGtB;IAEF,MAAM,CAAC,MAAM,MAAU;IAEvB;;OAEG;IACH,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM;CAY7B;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/feature-flags/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;GAkBG;AAOH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAYvC,cACM,mBAAoB,SAAQ,UAAU;IAC1C,OAAO,CAAC,KAAK,CAAsB;IACnC,OAAO,CAAC,KAAK,CAAoB;IAEjC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAU7B;IAEX,MAAM,KAAK,kBAAkB,aAE5B;;IAOD,iBAAiB;IAKjB,wBAAwB,CACtB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GAAG,IAAI,EACtB,MAAM,EAAE,MAAM,GAAG,IAAI;IAgBvB,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,WAAW;IASnB,MAAM;IAIC,oBAAoB,CAAC,IAAI,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/feature-flags/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH;;;;;;;;;;;;;;;;;;GAkBG;AAOH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAYvC,cACM,mBAAoB,SAAQ,UAAU;IAC1C,OAAO,CAAC,KAAK,CAAsB;IACnC,OAAO,CAAC,KAAK,CAAoB;IAEjC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAU7B;IAEX,MAAM,KAAK,kBAAkB,aAE5B;;IAOD,iBAAiB;IAKjB,wBAAwB,CAC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|
1
|
+
{"version":3,"file":"file-uploader-button.d.ts","sourceRoot":"","sources":["../../../src/components/file-uploader/file-uploader-button.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE1D,OAAO,EAAE,yBAAyB,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;uBAMpD,CAAC;;;;;AAJzC;;;;;GAKG;AACH,cACM,qBAAsB,SAAQ,0BAA6B;IAC/D;;OAEG;IACH,OAAO,CAAC,YAAY;IAOpB;;OAEG;IACH,OAAO,CAAC,cAAc;IAQtB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAoBrB;;;OAGG;IACH,OAAO,CAAC,SAAS;IA2BjB;;OAEG;IAEH,UAAU,cAAuB;IAEjC;;OAEG;IAEH,IAAI,cAAsB;IAE1B;;OAEG;IAEH,MAAM,SAAM;IAEZ;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,IAAI,SAAoB;IAExB,MAAM;IAkDN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -49,7 +49,7 @@ declare class CDSFileUploaderDropContainer extends CDSFileUploaderDropContainer_
|
|
|
49
49
|
*/
|
|
50
50
|
private _getFiles;
|
|
51
51
|
/**
|
|
52
|
-
* The file types the file input should accept, separated by
|
|
52
|
+
* The file types the file input should accept, separated by spaces and/or commas.
|
|
53
53
|
*/
|
|
54
54
|
accept: string;
|
|
55
55
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-uploader-drop-container.d.ts","sourceRoot":"","sources":["../../../src/components/file-uploader/file-uploader-drop-container.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AASvC,OAAO,EAAE,yBAAyB,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;uBAK/E,CAAC;;;;;AAKd;;;;;GAKG;AACH,cACM,4BAA6B,SAAQ,iCAA6B;IACtE;;OAEG;IACH,OAAO,CAAC,OAAO,CAAS;IAExB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAyBrB;;;;OAIG;IAMH,OAAO,CAAC,WAAW;IAiBnB;;;OAGG;IACH,OAAO,CAAC,SAAS;IAuBjB;;OAEG;IAEH,MAAM,SAAM;IAEZ;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,IAAI,SAAoB;IAExB,MAAM;
|
|
1
|
+
{"version":3,"file":"file-uploader-drop-container.d.ts","sourceRoot":"","sources":["../../../src/components/file-uploader/file-uploader-drop-container.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AASvC,OAAO,EAAE,yBAAyB,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;uBAK/E,CAAC;;;;;AAKd;;;;;GAKG;AACH,cACM,4BAA6B,SAAQ,iCAA6B;IACtE;;OAEG;IACH,OAAO,CAAC,OAAO,CAAS;IAExB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAyBrB;;;;OAIG;IAMH,OAAO,CAAC,WAAW;IAiBnB;;;OAGG;IACH,OAAO,CAAC,SAAS;IAuBjB;;OAEG;IAEH,MAAM,SAAM;IAEZ;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,IAAI,SAAoB;IAExB,MAAM;IA0CN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,4BAA4B,CAAC"}
|
|
@@ -47,6 +47,10 @@ declare class CDSFileUploaderItem extends LitElement {
|
|
|
47
47
|
* Controls the invalid state and visibility of the `validityMessage`.
|
|
48
48
|
*/
|
|
49
49
|
invalid: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Controls the disabled state of this file uploader item.
|
|
52
|
+
*/
|
|
53
|
+
disabled: boolean;
|
|
50
54
|
/**
|
|
51
55
|
* The size of this file uploader item.
|
|
52
56
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-uploader-item.d.ts","sourceRoot":"","sources":["../../../src/components/file-uploader/file-uploader-item.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAI3E,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,cACM,mBAAoB,SAAQ,UAAU;IAC1C;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAahC;;OAEG;IACH,OAAO,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"file-uploader-item.d.ts","sourceRoot":"","sources":["../../../src/components/file-uploader/file-uploader-item.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAI3E,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,cACM,mBAAoB,SAAQ,UAAU;IAC1C;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAahC;;OAEG;IACH,OAAO,CAAC,cAAc;IAqBtB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IASxB;;OAEG;IACH,OAAO,CAAC,eAAe;IAQvB;;OAEG;IACH,OAAO,CAAC,aAAa;IAcrB;;OAEG;IAEH,eAAe,SAAsB;IAErC;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,0BAAkC;IAEtC;;OAEG;IAEH,KAAK,2BAAsC;IAE3C;;OAEG;IAEH,YAAY,SAAM;IAElB;;OAEG;IAEH,SAAS,SAAM;IAEf,MAAM;IAkBN;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { LitElement } from 'lit';
|
|
8
|
+
/**
|
|
9
|
+
* Presentational element for fluid form
|
|
10
|
+
*
|
|
11
|
+
* @element cds-fluid-form
|
|
12
|
+
*/
|
|
13
|
+
declare class CDSFluidForm extends LitElement {
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
static styles: any;
|
|
17
|
+
}
|
|
18
|
+
export default CDSFluidForm;
|
|
19
|
+
//# sourceMappingURL=fluid-form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fluid-form.d.ts","sourceRoot":"","sources":["../../../src/components/fluid-form/fluid-form.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC,iBAAiB;IAKjB,MAAM;IAMN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/fluid-form/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,cAAc,CAAC"}
|
|
@@ -29,7 +29,7 @@ declare class CDSIcon extends LitElement {
|
|
|
29
29
|
* The aria-label for the icon
|
|
30
30
|
*/
|
|
31
31
|
ariaLabel: string | null;
|
|
32
|
-
render(): import("lit-html/directive").DirectiveResult<typeof import("lit-html/directives/unsafe-svg").UnsafeSVGDirective>;
|
|
32
|
+
render(): import("lit-html/directive.js").DirectiveResult<typeof import("lit-html/directives/unsafe-svg.js").UnsafeSVGDirective>;
|
|
33
33
|
}
|
|
34
34
|
export default CDSIcon;
|
|
35
35
|
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link/link.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC;;GAEG;AACH,eAAO,MAAM,SAAS;;;;CAIrB,CAAC;AAGF,KAAK,cAAc,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;;;;AAEjE;;;;;GAKG;AACH,cACM,OAAQ,SAAQ,YAAsB;IAC1C;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link/link.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAA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026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { LitElement } from 'lit';
|
|
8
|
+
import CDSModalFooter from './modal-footer';
|
|
9
|
+
import '../inline-loading';
|
|
10
|
+
declare const CDSModalBase_base: {
|
|
11
|
+
new (...args: any[]): {
|
|
12
|
+
_handles: Set<import("../../globals/internal/handle").default>;
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
};
|
|
16
|
+
_hostListeners: {
|
|
17
|
+
[listenerName: string]: {
|
|
18
|
+
[type: string]: {
|
|
19
|
+
options?: boolean | AddEventListenerOptions;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
} & typeof LitElement;
|
|
24
|
+
/**
|
|
25
|
+
* Base class for Modal and Dialog components.
|
|
26
|
+
*/
|
|
27
|
+
export declare class CDSModalBase extends CDSModalBase_base {
|
|
28
|
+
/**
|
|
29
|
+
* The element that had focus before this modal gets open.
|
|
30
|
+
*/
|
|
31
|
+
protected _launcher: Element | null;
|
|
32
|
+
/**
|
|
33
|
+
* The inline loading element that renders when `loading-status` is not `inactive`
|
|
34
|
+
*/
|
|
35
|
+
protected _loadingEl: HTMLElement | null;
|
|
36
|
+
/**
|
|
37
|
+
* Loading statuses that are not `inactive`
|
|
38
|
+
*/
|
|
39
|
+
protected WORKING_LOADING_STATUSES: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Specify the loading status
|
|
42
|
+
*/
|
|
43
|
+
loadingStatus: 'inactive' | 'active' | 'finished' | 'error';
|
|
44
|
+
/**
|
|
45
|
+
* Specify the description for the loading text
|
|
46
|
+
*/
|
|
47
|
+
loadingDescription: string;
|
|
48
|
+
/**
|
|
49
|
+
* Provide a delay for the setTimeout for success
|
|
50
|
+
*/
|
|
51
|
+
loadingSuccessDelay: number;
|
|
52
|
+
/**
|
|
53
|
+
* Specify the description for the loading icon
|
|
54
|
+
*/
|
|
55
|
+
loadingIconDescription: string;
|
|
56
|
+
/**
|
|
57
|
+
* `true` if the modal should be open.
|
|
58
|
+
*/
|
|
59
|
+
open: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Specify whether the Modal is displaying an alert, error or warning.
|
|
62
|
+
* Should go hand in hand with the danger prop.
|
|
63
|
+
*/
|
|
64
|
+
alert: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Prevent closing on click outside of modal
|
|
67
|
+
*/
|
|
68
|
+
preventCloseOnClickOutside: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Prevent the modal from closing after clicking the close button
|
|
71
|
+
*/
|
|
72
|
+
preventClose: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Handles `slotchange` event.
|
|
75
|
+
*/
|
|
76
|
+
protected _handleSlotChange(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Handles `click` event on the modal container.
|
|
79
|
+
*
|
|
80
|
+
* @param event The event.
|
|
81
|
+
*/
|
|
82
|
+
protected _handleClickContainer(event: MouseEvent): void;
|
|
83
|
+
/**
|
|
84
|
+
* Handles user-initiated close request of this modal.
|
|
85
|
+
*
|
|
86
|
+
* @param triggeredBy The element that triggered this close request.
|
|
87
|
+
*/
|
|
88
|
+
protected _handleUserInitiatedClose(triggeredBy: EventTarget | null): void;
|
|
89
|
+
/**
|
|
90
|
+
* Get focusable elements.
|
|
91
|
+
*
|
|
92
|
+
* Querying all tabbable items.
|
|
93
|
+
*
|
|
94
|
+
* @returns {{first: HTMLElement, last: HTMLElement, all: HTMLElement[]}} Returns an object with various elements.
|
|
95
|
+
*/
|
|
96
|
+
protected getFocusable(): {
|
|
97
|
+
first: HTMLElement | undefined;
|
|
98
|
+
last: HTMLElement | undefined;
|
|
99
|
+
all: HTMLElement[];
|
|
100
|
+
};
|
|
101
|
+
protected _getFooterElements(): {
|
|
102
|
+
footer: Element | null;
|
|
103
|
+
primaryButton: HTMLElement | null;
|
|
104
|
+
secondaryButtons: HTMLElement[];
|
|
105
|
+
};
|
|
106
|
+
protected _initializeLoadingEl(footer: CDSModalFooter): HTMLElement | null;
|
|
107
|
+
protected _updateLoadingElement(): void;
|
|
108
|
+
/**
|
|
109
|
+
* @param ms The number of milliseconds.
|
|
110
|
+
* @returns A promise that is resolves after the given milliseconds.
|
|
111
|
+
*/
|
|
112
|
+
protected static _delay(ms?: number): Promise<unknown>;
|
|
113
|
+
/**
|
|
114
|
+
* A selector selecting buttons that should close this modal.
|
|
115
|
+
*/
|
|
116
|
+
static get selectorCloseButton(): string;
|
|
117
|
+
/**
|
|
118
|
+
* A selector selecting tabbable nodes.
|
|
119
|
+
*/
|
|
120
|
+
static get selectorTabbable(): string;
|
|
121
|
+
/**
|
|
122
|
+
* A selector selecting the nodes that should be focused when modal gets open.
|
|
123
|
+
*/
|
|
124
|
+
static get selectorPrimaryFocus(): string;
|
|
125
|
+
/**
|
|
126
|
+
* A selector selecting the modal body component
|
|
127
|
+
*/
|
|
128
|
+
static get selectorModalBody(): string;
|
|
129
|
+
/**
|
|
130
|
+
* The name of the custom event fired before this modal is being closed upon a user gesture.
|
|
131
|
+
* Cancellation of this event stops the user-initiated action of closing this modal.
|
|
132
|
+
*/
|
|
133
|
+
static get eventBeforeClose(): string;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the custom event fired after this modal is closed upon a user gesture.
|
|
136
|
+
*/
|
|
137
|
+
static get eventClose(): string;
|
|
138
|
+
/**
|
|
139
|
+
* The name of the custom event fired when this modal reaches a `finished` loading state
|
|
140
|
+
*/
|
|
141
|
+
static get eventOnLoadingSuccess(): string;
|
|
142
|
+
}
|
|
143
|
+
export default CDSModalBase;
|
|
144
|
+
//# sourceMappingURL=modal-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-base.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modal-base.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EA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