@carbon/web-components 2.0.1 → 2.0.2-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 +480 -12
- package/es/components/accordion/accordion-item.d.ts +47 -27
- package/es/components/accordion/accordion-item.js +13 -3
- package/es/components/accordion/accordion-item.js.map +1 -1
- package/es/components/accordion/accordion.css.js +1 -1
- package/es/components/accordion/accordion.rtl.css.js +1 -1
- package/es/components/breadcrumb/breadcrumb.css.js +1 -1
- package/es/components/breadcrumb/breadcrumb.rtl.css.js +1 -1
- package/es/components/button/button.css.js +1 -1
- package/es/components/button/button.d.ts +98 -58
- package/es/components/button/button.js +3 -3
- package/es/components/button/button.js.map +1 -1
- package/es/components/button/button.rtl.css.js +1 -1
- package/es/components/checkbox/checkbox.css.js +1 -1
- package/es/components/checkbox/checkbox.d.ts +100 -60
- package/es/components/checkbox/checkbox.rtl.css.js +1 -1
- package/es/components/code-snippet/code-snippet.css.js +1 -1
- package/es/components/code-snippet/code-snippet.d.ts +47 -27
- package/es/components/code-snippet/code-snippet.js +1 -1
- package/es/components/code-snippet/code-snippet.js.map +1 -1
- package/es/components/code-snippet/code-snippet.rtl.css.js +1 -1
- package/es/components/combo-box/combo-box.css.js +1 -1
- package/es/components/combo-box/combo-box.d.ts +1 -1
- package/es/components/combo-box/combo-box.js +2 -1
- package/es/components/combo-box/combo-box.js.map +1 -1
- package/es/components/combo-box/combo-box.rtl.css.js +1 -1
- package/es/components/content-switcher/content-switcher-item.d.ts +47 -27
- package/es/components/content-switcher/content-switcher-item.js +3 -3
- package/es/components/content-switcher/content-switcher-item.js.map +1 -1
- package/es/components/content-switcher/content-switcher.css.js +1 -1
- package/es/components/content-switcher/content-switcher.rtl.css.js +1 -1
- package/es/components/copy/copy.js +14 -14
- package/es/components/copy/copy.js.map +1 -1
- package/es/components/copy-button/copy-button.css.js +1 -1
- package/es/components/copy-button/copy-button.d.ts +47 -27
- package/es/components/copy-button/copy-button.rtl.css.js +1 -1
- package/es/components/data-table/data-table.css.js +1 -1
- package/es/components/data-table/data-table.rtl.css.js +1 -1
- package/es/components/data-table/table-expanded-row.d.ts +47 -27
- package/es/components/data-table/table-header-cell.d.ts +47 -27
- package/es/components/data-table/table-row.d.ts +98 -58
- package/es/components/data-table/table-row.js +1 -1
- package/es/components/data-table/table-row.js.map +1 -1
- package/es/components/data-table/table-skeleton.js +2 -2
- package/es/components/data-table/table-skeleton.js.map +1 -1
- package/es/components/data-table/table-toolbar-search.d.ts +47 -27
- package/es/components/data-table/table-toolbar-search.js +1 -1
- package/es/components/data-table/table-toolbar-search.js.map +1 -1
- package/es/components/data-table/table.d.ts +47 -27
- package/es/components/data-table/table.js +2 -2
- package/es/components/data-table/table.js.map +1 -1
- package/es/components/date-picker/date-picker-input.d.ts +59 -27
- package/es/components/date-picker/date-picker-input.js +60 -19
- package/es/components/date-picker/date-picker-input.js.map +1 -1
- package/es/components/date-picker/date-picker.css.js +1 -1
- package/es/components/date-picker/date-picker.d.ts +98 -58
- package/es/components/date-picker/date-picker.rtl.css.js +1 -1
- package/es/components/dropdown/dropdown.css.js +1 -1
- package/es/components/dropdown/dropdown.d.ts +219 -126
- package/es/components/dropdown/dropdown.js +47 -1
- package/es/components/dropdown/dropdown.js.map +1 -1
- package/es/components/dropdown/dropdown.rtl.css.js +1 -1
- package/es/components/file-uploader/file-uploader-button.d.ts +47 -27
- package/es/components/file-uploader/file-uploader-button.js +7 -7
- package/es/components/file-uploader/file-uploader-button.js.map +1 -1
- package/es/components/file-uploader/file-uploader-drop-container.d.ts +47 -27
- package/es/components/file-uploader/file-uploader-drop-container.js +1 -1
- package/es/components/file-uploader/file-uploader-drop-container.js.map +1 -1
- package/es/components/file-uploader/file-uploader.css.js +1 -1
- package/es/components/file-uploader/file-uploader.rtl.css.js +1 -1
- package/es/components/floating-menu/floating-menu.d.ts +98 -58
- package/es/components/floating-menu/floating-menu.js +1 -1
- package/es/components/floating-menu/floating-menu.js.map +1 -1
- package/es/components/form/form-item.css.js +1 -1
- package/es/components/form/form-item.rtl.css.js +1 -1
- package/es/components/form-group/form-group.css.js +1 -1
- package/es/components/form-group/form-group.rtl.css.js +1 -1
- package/es/components/icon-button/icon-button.css.js +1 -1
- package/es/components/icon-button/icon-button.js +3 -3
- package/es/components/icon-button/icon-button.js.map +1 -1
- package/es/components/icon-button/icon-button.rtl.css.js +1 -1
- package/es/components/inline-loading/inline-loading.css.js +1 -1
- package/es/components/inline-loading/inline-loading.rtl.css.js +1 -1
- package/es/components/link/link.css.js +1 -1
- package/es/components/link/link.d.ts +54 -42
- package/es/components/link/link.js +7 -7
- package/es/components/link/link.js.map +1 -1
- package/es/components/link/link.rtl.css.js +1 -1
- package/es/components/list/list.css.js +1 -1
- package/es/components/list/list.rtl.css.js +1 -1
- package/es/components/loading/loading.css.js +1 -1
- package/es/components/loading/loading.rtl.css.js +1 -1
- package/es/components/modal/modal-close-button.d.ts +47 -27
- package/es/components/modal/modal.css.js +1 -1
- package/es/components/modal/modal.d.ts +47 -27
- package/es/components/modal/modal.rtl.css.js +1 -1
- package/es/components/multi-select/multi-select.css.js +1 -1
- package/es/components/multi-select/multi-select.js +15 -5
- package/es/components/multi-select/multi-select.js.map +1 -1
- package/es/components/multi-select/multi-select.rtl.css.js +1 -1
- package/es/components/notification/actionable-notification-button.js +1 -1
- package/es/components/notification/actionable-notification-button.js.map +1 -1
- package/es/components/notification/actionable-notification.css.js +1 -1
- package/es/components/notification/actionable-notification.d.ts +47 -27
- package/es/components/notification/actionable-notification.js +5 -5
- package/es/components/notification/actionable-notification.js.map +1 -1
- package/es/components/notification/actionable-notification.rtl.css.js +1 -1
- package/es/components/notification/inline-notification.css.js +1 -1
- package/es/components/notification/inline-notification.d.ts +47 -27
- package/es/components/notification/inline-notification.rtl.css.js +1 -1
- package/es/components/notification/toast-notification.css.js +1 -1
- package/es/components/notification/toast-notification.rtl.css.js +1 -1
- package/es/components/number-input/number-input.css.js +1 -1
- package/es/components/number-input/number-input.js +4 -2
- package/es/components/number-input/number-input.js.map +1 -1
- package/es/components/number-input/number-input.rtl.css.js +1 -1
- package/es/components/overflow-menu/overflow-menu-body.js +1 -1
- package/es/components/overflow-menu/overflow-menu-body.js.map +1 -1
- package/es/components/overflow-menu/overflow-menu-item.d.ts +47 -27
- package/es/components/overflow-menu/overflow-menu.css.js +1 -1
- package/es/components/overflow-menu/overflow-menu.d.ts +98 -58
- package/es/components/overflow-menu/overflow-menu.js +13 -13
- package/es/components/overflow-menu/overflow-menu.js.map +1 -1
- package/es/components/overflow-menu/overflow-menu.rtl.css.js +1 -1
- package/es/components/pagination/pagination.css.js +1 -1
- package/es/components/pagination/pagination.d.ts +100 -60
- package/es/components/pagination/pagination.js +6 -2
- package/es/components/pagination/pagination.js.map +1 -1
- package/es/components/pagination/pagination.rtl.css.js +1 -1
- package/es/components/popover/popover.css.js +1 -1
- package/es/components/popover/popover.rtl.css.js +1 -1
- package/es/components/progress-bar/progress-bar.css.js +1 -1
- package/es/components/progress-bar/progress-bar.rtl.css.js +1 -1
- package/es/components/progress-indicator/progress-indicator.css.js +1 -1
- package/es/components/progress-indicator/progress-indicator.rtl.css.js +1 -1
- package/es/components/progress-indicator/progress-step.d.ts +47 -27
- package/es/components/radio-button/radio-button-group.d.ts +98 -58
- package/es/components/radio-button/radio-button.css.js +1 -1
- package/es/components/radio-button/radio-button.d.ts +98 -58
- package/es/components/radio-button/radio-button.rtl.css.js +1 -1
- package/es/components/search/search.css.js +1 -1
- package/es/components/search/search.d.ts +149 -89
- package/es/components/search/search.js +3 -3
- package/es/components/search/search.js.map +1 -1
- package/es/components/search/search.rtl.css.js +1 -1
- package/es/components/select/select.css.js +1 -1
- package/es/components/select/select.d.ts +59 -27
- package/es/components/select/select.js +43 -3
- package/es/components/select/select.js.map +1 -1
- package/es/components/select/select.rtl.css.js +1 -1
- package/es/components/skeleton-placeholder/skeleton-placeholder.css.js +1 -1
- package/es/components/skeleton-placeholder/skeleton-placeholder.rtl.css.js +1 -1
- package/es/components/skeleton-text/skeleton-text.css.js +1 -1
- package/es/components/skeleton-text/skeleton-text.rtl.css.js +1 -1
- package/es/components/skip-to-content/skip-to-content.css.js +1 -1
- package/es/components/skip-to-content/skip-to-content.d.ts +47 -27
- package/es/components/skip-to-content/skip-to-content.rtl.css.js +1 -1
- package/es/components/slider/slider-input.d.ts +47 -27
- package/es/components/slider/slider.css.js +1 -1
- package/es/components/slider/slider.d.ts +149 -89
- package/es/components/slider/slider.js +2 -2
- package/es/components/slider/slider.js.map +1 -1
- package/es/components/slider/slider.rtl.css.js +1 -1
- package/es/components/slug/defs.d.ts +73 -0
- package/es/components/slug/defs.js +42 -0
- package/es/components/slug/defs.js.map +1 -0
- package/es/components/slug/index.d.ts +12 -0
- package/es/components/slug/index.js +12 -0
- package/es/components/slug/index.js.map +1 -0
- package/es/components/slug/slug-action-button.d.ts +23 -0
- package/es/components/slug/slug-action-button.js +51 -0
- package/es/components/slug/slug-action-button.js.map +1 -0
- package/es/components/slug/slug.css.js +12 -0
- package/es/components/slug/slug.d.ts +59 -0
- package/es/components/slug/slug.js +270 -0
- package/es/components/slug/slug.js.map +1 -0
- package/es/components/slug/slug.rtl.css.js +12 -0
- package/es/components/stack/stack.css.js +1 -1
- package/es/components/stack/stack.js +4 -3
- package/es/components/stack/stack.js.map +1 -1
- package/es/components/stack/stack.rtl.css.js +1 -1
- package/es/components/structured-list/structured-list-row.d.ts +47 -27
- package/es/components/structured-list/structured-list-row.js +1 -1
- package/es/components/structured-list/structured-list-row.js.map +1 -1
- package/es/components/structured-list/structured-list.css.js +1 -1
- package/es/components/structured-list/structured-list.d.ts +47 -27
- package/es/components/structured-list/structured-list.rtl.css.js +1 -1
- package/es/components/tabs/tab.d.ts +8 -0
- package/es/components/tabs/tab.js +30 -5
- package/es/components/tabs/tab.js.map +1 -1
- package/es/components/tabs/tabs.css.js +1 -1
- package/es/components/tabs/tabs.d.ts +58 -29
- package/es/components/tabs/tabs.js +53 -25
- package/es/components/tabs/tabs.js.map +1 -1
- package/es/components/tabs/tabs.rtl.css.js +1 -1
- package/es/components/tag/tag.css.js +1 -1
- package/es/components/tag/tag.d.ts +98 -58
- package/es/components/tag/tag.rtl.css.js +1 -1
- package/es/components/text-input/text-input.css.js +1 -1
- package/es/components/text-input/text-input.d.ts +112 -60
- package/es/components/text-input/text-input.js +46 -8
- package/es/components/text-input/text-input.js.map +1 -1
- package/es/components/text-input/text-input.rtl.css.js +1 -1
- package/es/components/textarea/textarea.css.js +1 -1
- package/es/components/textarea/textarea.js +4 -2
- package/es/components/textarea/textarea.js.map +1 -1
- package/es/components/textarea/textarea.rtl.css.js +1 -1
- package/es/components/tile/defs.d.ts +1 -1
- package/es/components/tile/defs.js +1 -1
- package/es/components/tile/defs.js.map +1 -1
- package/es/components/tile/expandable-tile.d.ts +98 -58
- package/es/components/tile/selectable-tile.d.ts +98 -58
- package/es/components/tile/tile-group.d.ts +47 -27
- package/es/components/tile/tile.css.js +1 -1
- package/es/components/tile/tile.js +1 -1
- package/es/components/tile/tile.js.map +1 -1
- package/es/components/tile/tile.rtl.css.js +1 -1
- package/es/components/toggle/index.d.ts +1 -1
- package/es/components/toggle/index.js +1 -1
- package/es/components/toggle/index.js.map +1 -1
- package/es/components/toggle/toggle.css.js +1 -1
- package/es/components/toggle/toggle.d.ts +47 -27
- package/es/components/toggle/toggle.rtl.css.js +1 -1
- package/es/components/toggle-tip/toggletip.css.js +1 -1
- package/es/components/toggle-tip/toggletip.d.ts +398 -29
- package/es/components/toggle-tip/toggletip.js +107 -32
- package/es/components/toggle-tip/toggletip.js.map +1 -1
- package/es/components/toggle-tip/toggletip.rtl.css.js +1 -1
- package/es/components/tooltip/tooltip-content.js +2 -2
- package/es/components/tooltip/tooltip-content.js.map +1 -1
- package/es/components/tooltip/tooltip.css.js +1 -1
- package/es/components/tooltip/tooltip.d.ts +47 -27
- package/es/components/tooltip/tooltip.js +3 -3
- package/es/components/tooltip/tooltip.js.map +1 -1
- package/es/components/tooltip/tooltip.rtl.css.js +1 -1
- package/es/components/ui-shell/header-menu-button.d.ts +47 -27
- package/es/components/ui-shell/header-menu.d.ts +98 -58
- package/es/components/ui-shell/header-name.d.ts +47 -27
- package/es/components/ui-shell/header-nav-item.d.ts +47 -27
- package/es/components/ui-shell/header.css.js +1 -1
- package/es/components/ui-shell/header.rtl.css.js +1 -1
- package/es/components/ui-shell/side-nav-link.d.ts +47 -27
- package/es/components/ui-shell/side-nav-link.js +1 -1
- package/es/components/ui-shell/side-nav-link.js.map +1 -1
- package/es/components/ui-shell/side-nav-menu-item.d.ts +48 -27
- package/es/components/ui-shell/side-nav-menu-item.js +11 -0
- package/es/components/ui-shell/side-nav-menu-item.js.map +1 -1
- package/es/components/ui-shell/side-nav-menu.d.ts +47 -27
- package/es/components/ui-shell/side-nav-menu.js +1 -1
- package/es/components/ui-shell/side-nav-menu.js.map +1 -1
- package/es/components/ui-shell/side-nav.css.js +1 -1
- package/es/components/ui-shell/side-nav.d.ts +47 -27
- package/es/components/ui-shell/side-nav.js +1 -1
- package/es/components/ui-shell/side-nav.js.map +1 -1
- package/es/components/ui-shell/side-nav.rtl.css.js +1 -1
- package/es/components/ui-shell/switcher-item.d.ts +47 -27
- package/es/components-react/slug/defs.d.ts +14 -0
- package/es/components-react/slug/defs.js +9 -0
- package/es/components-react/slug/index.d.ts +14 -0
- package/es/components-react/slug/index.js +8 -0
- package/es/components-react/slug/slug-action-button.d.ts +13 -0
- package/es/components-react/slug/slug-action-button.js +22 -0
- package/es/components-react/slug/slug.d.ts +13 -0
- package/es/components-react/slug/slug.js +22 -0
- package/es/globals/decorators/carbon-element.d.ts +1 -1
- package/es/globals/internal/feature-flags.d.ts +25 -0
- package/es/globals/internal/feature-flags.js +27 -0
- package/es/globals/internal/feature-flags.js.map +1 -0
- package/es/globals/internal/radio-group-manager.d.ts +1 -1
- package/es/globals/mixins/focus.d.ts +47 -27
- package/es/globals/mixins/form.d.ts +47 -27
- package/es/globals/mixins/host-listener.d.ts +47 -27
- package/es/globals/mixins/validity.d.ts +47 -27
- package/es/globals/scss/grid.css.js +1 -1
- package/es/globals/scss/grid.rtl.css.js +1 -1
- package/es/globals/scss/themes.css.js +1 -1
- package/es/globals/scss/themes.rtl.css.js +1 -1
- package/es/globals/settings.d.ts +1 -1
- package/es/globals/wrappers/createReactCustomElementType.js +2 -1
- package/es/globals/wrappers/createReactCustomElementType.js.map +1 -1
- package/es/icons/AI/16.d.ts +17 -0
- package/es/icons/AI/16.js +15 -0
- package/es/icons/AI/20.d.ts +17 -0
- package/es/icons/AI/20.js +15 -0
- package/es/icons/AI/24.d.ts +17 -0
- package/es/icons/AI/24.js +15 -0
- package/es/icons/AI/32.d.ts +17 -0
- package/es/icons/AI/32.js +15 -0
- package/es/icons/IP/16.d.ts +17 -0
- package/es/icons/IP/16.js +15 -0
- package/es/icons/IP/20.d.ts +17 -0
- package/es/icons/IP/20.js +15 -0
- package/es/icons/IP/24.d.ts +17 -0
- package/es/icons/IP/24.js +15 -0
- package/es/icons/IP/32.d.ts +17 -0
- package/es/icons/IP/32.js +15 -0
- package/es/icons/MAC/16.d.ts +17 -0
- package/es/icons/MAC/16.js +15 -0
- package/es/icons/MAC/20.d.ts +17 -0
- package/es/icons/MAC/20.js +15 -0
- package/es/icons/MAC/24.d.ts +17 -0
- package/es/icons/MAC/24.js +15 -0
- package/es/icons/MAC/32.d.ts +17 -0
- package/es/icons/MAC/32.js +15 -0
- package/es/icons/URL/16.d.ts +17 -0
- package/es/icons/URL/16.js +15 -0
- package/es/icons/URL/20.d.ts +17 -0
- package/es/icons/URL/20.js +15 -0
- package/es/icons/URL/24.d.ts +17 -0
- package/es/icons/URL/24.js +15 -0
- package/es/icons/URL/32.d.ts +17 -0
- package/es/icons/URL/32.js +15 -0
- package/es/icons/add--large/16.d.ts +17 -0
- package/es/icons/add--large/16.js +15 -0
- package/es/icons/add--large/20.d.ts +17 -0
- package/es/icons/add--large/20.js +15 -0
- package/es/icons/add--large/24.d.ts +17 -0
- package/es/icons/add--large/24.js +15 -0
- package/es/icons/add--large/32.d.ts +17 -0
- package/es/icons/add--large/32.js +15 -0
- package/es/icons/ai-governance--lifecycle/16.d.ts +17 -0
- package/es/icons/ai-governance--lifecycle/16.js +15 -0
- package/es/icons/ai-governance--lifecycle/20.d.ts +17 -0
- package/es/icons/ai-governance--lifecycle/20.js +15 -0
- package/es/icons/ai-governance--lifecycle/24.d.ts +17 -0
- package/es/icons/ai-governance--lifecycle/24.js +15 -0
- package/es/icons/ai-governance--lifecycle/32.d.ts +17 -0
- package/es/icons/ai-governance--lifecycle/32.js +15 -0
- package/es/icons/ai-governance--tracked/16.d.ts +17 -0
- package/es/icons/ai-governance--tracked/16.js +15 -0
- package/es/icons/ai-governance--tracked/20.d.ts +17 -0
- package/es/icons/ai-governance--tracked/20.js +15 -0
- package/es/icons/ai-governance--tracked/24.d.ts +17 -0
- package/es/icons/ai-governance--tracked/24.js +15 -0
- package/es/icons/ai-governance--tracked/32.d.ts +17 -0
- package/es/icons/ai-governance--tracked/32.js +15 -0
- package/es/icons/ai-governance--untracked/16.d.ts +17 -0
- package/es/icons/ai-governance--untracked/16.js +15 -0
- package/es/icons/ai-governance--untracked/20.d.ts +17 -0
- package/es/icons/ai-governance--untracked/20.js +15 -0
- package/es/icons/ai-governance--untracked/24.d.ts +17 -0
- package/es/icons/ai-governance--untracked/24.js +15 -0
- package/es/icons/ai-governance--untracked/32.d.ts +17 -0
- package/es/icons/ai-governance--untracked/32.js +15 -0
- package/es/icons/app-switcher/16.d.ts +17 -0
- package/es/icons/app-switcher/16.js +15 -0
- package/es/icons/app-switcher/20.d.ts +17 -0
- package/es/icons/app-switcher/20.js +15 -0
- package/es/icons/app-switcher/24.d.ts +17 -0
- package/es/icons/app-switcher/24.js +15 -0
- package/es/icons/app-switcher/32.d.ts +17 -0
- package/es/icons/app-switcher/32.js +15 -0
- package/es/icons/arithmetic-mean/16.d.ts +17 -0
- package/es/icons/arithmetic-mean/16.js +15 -0
- package/es/icons/arithmetic-mean/20.d.ts +17 -0
- package/es/icons/arithmetic-mean/20.js +15 -0
- package/es/icons/arithmetic-mean/24.d.ts +17 -0
- package/es/icons/arithmetic-mean/24.js +15 -0
- package/es/icons/arithmetic-mean/32.d.ts +17 -0
- package/es/icons/arithmetic-mean/32.js +15 -0
- package/es/icons/arithmetic-median/16.d.ts +17 -0
- package/es/icons/arithmetic-median/16.js +15 -0
- package/es/icons/arithmetic-median/20.d.ts +17 -0
- package/es/icons/arithmetic-median/20.js +15 -0
- package/es/icons/arithmetic-median/24.d.ts +17 -0
- package/es/icons/arithmetic-median/24.js +15 -0
- package/es/icons/arithmetic-median/32.d.ts +17 -0
- package/es/icons/arithmetic-median/32.js +15 -0
- package/es/icons/arrows/16.d.ts +17 -0
- package/es/icons/arrows/16.js +15 -0
- package/es/icons/arrows/20.d.ts +17 -0
- package/es/icons/arrows/20.js +15 -0
- package/es/icons/arrows/24.d.ts +17 -0
- package/es/icons/arrows/24.js +15 -0
- package/es/icons/arrows/32.d.ts +17 -0
- package/es/icons/arrows/32.js +15 -0
- package/es/icons/async/16.d.ts +17 -0
- package/es/icons/async/16.js +15 -0
- package/es/icons/async/20.d.ts +17 -0
- package/es/icons/async/20.js +15 -0
- package/es/icons/async/24.d.ts +17 -0
- package/es/icons/async/24.js +15 -0
- package/es/icons/async/32.d.ts +17 -0
- package/es/icons/async/32.js +15 -0
- package/es/icons/back-to-top/16.d.ts +17 -0
- package/es/icons/back-to-top/16.js +15 -0
- package/es/icons/back-to-top/20.d.ts +17 -0
- package/es/icons/back-to-top/20.js +15 -0
- package/es/icons/back-to-top/24.d.ts +17 -0
- package/es/icons/back-to-top/24.js +15 -0
- package/es/icons/back-to-top/32.d.ts +17 -0
- package/es/icons/back-to-top/32.js +15 -0
- package/es/icons/business-processes/16.d.ts +17 -0
- package/es/icons/business-processes/16.js +15 -0
- package/es/icons/business-processes/20.d.ts +17 -0
- package/es/icons/business-processes/20.js +15 -0
- package/es/icons/business-processes/24.d.ts +17 -0
- package/es/icons/business-processes/24.js +15 -0
- package/es/icons/business-processes/32.d.ts +17 -0
- package/es/icons/business-processes/32.js +15 -0
- package/es/icons/calls/16.d.ts +17 -0
- package/es/icons/calls/16.js +15 -0
- package/es/icons/calls/20.d.ts +17 -0
- package/es/icons/calls/20.js +15 -0
- package/es/icons/calls/24.d.ts +17 -0
- package/es/icons/calls/24.js +15 -0
- package/es/icons/calls/32.d.ts +17 -0
- package/es/icons/calls/32.js +15 -0
- package/es/icons/calls--all/16.d.ts +17 -0
- package/es/icons/calls--all/16.js +15 -0
- package/es/icons/calls--all/20.d.ts +17 -0
- package/es/icons/calls--all/20.js +15 -0
- package/es/icons/calls--all/24.d.ts +17 -0
- package/es/icons/calls--all/24.js +15 -0
- package/es/icons/calls--all/32.d.ts +17 -0
- package/es/icons/calls--all/32.js +15 -0
- package/es/icons/calls--incoming/16.d.ts +17 -0
- package/es/icons/calls--incoming/16.js +15 -0
- package/es/icons/calls--incoming/20.d.ts +17 -0
- package/es/icons/calls--incoming/20.js +15 -0
- package/es/icons/calls--incoming/24.d.ts +17 -0
- package/es/icons/calls--incoming/24.js +15 -0
- package/es/icons/calls--incoming/32.d.ts +17 -0
- package/es/icons/calls--incoming/32.js +15 -0
- package/es/icons/carbon-for-mobile/16.d.ts +17 -0
- package/es/icons/carbon-for-mobile/16.js +15 -0
- package/es/icons/carbon-for-mobile/20.d.ts +17 -0
- package/es/icons/carbon-for-mobile/20.js +15 -0
- package/es/icons/carbon-for-mobile/24.d.ts +17 -0
- package/es/icons/carbon-for-mobile/24.js +15 -0
- package/es/icons/carbon-for-mobile/32.d.ts +17 -0
- package/es/icons/carbon-for-mobile/32.js +15 -0
- package/es/icons/chart--dual-y-axis/16.d.ts +17 -0
- package/es/icons/chart--dual-y-axis/16.js +15 -0
- package/es/icons/chart--dual-y-axis/20.d.ts +17 -0
- package/es/icons/chart--dual-y-axis/20.js +15 -0
- package/es/icons/chart--dual-y-axis/24.d.ts +17 -0
- package/es/icons/chart--dual-y-axis/24.js +15 -0
- package/es/icons/chart--dual-y-axis/32.d.ts +17 -0
- package/es/icons/chart--dual-y-axis/32.js +15 -0
- package/es/icons/chart--planning-waterfall/16.d.ts +17 -0
- package/es/icons/chart--planning-waterfall/16.js +15 -0
- package/es/icons/chart--planning-waterfall/20.d.ts +17 -0
- package/es/icons/chart--planning-waterfall/20.js +15 -0
- package/es/icons/chart--planning-waterfall/24.d.ts +17 -0
- package/es/icons/chart--planning-waterfall/24.js +15 -0
- package/es/icons/chart--planning-waterfall/32.d.ts +17 -0
- package/es/icons/chart--planning-waterfall/32.js +15 -0
- package/es/icons/checkbox--undeterminate/16.d.ts +17 -0
- package/es/icons/checkbox--undeterminate/16.js +15 -0
- package/es/icons/checkbox--undeterminate/20.d.ts +17 -0
- package/es/icons/checkbox--undeterminate/20.js +15 -0
- package/es/icons/checkbox--undeterminate/24.d.ts +17 -0
- package/es/icons/checkbox--undeterminate/24.js +15 -0
- package/es/icons/checkbox--undeterminate/32.d.ts +17 -0
- package/es/icons/checkbox--undeterminate/32.js +15 -0
- package/es/icons/checkbox--undeterminate--filled/16.d.ts +17 -0
- package/es/icons/checkbox--undeterminate--filled/16.js +15 -0
- package/es/icons/checkbox--undeterminate--filled/20.d.ts +17 -0
- package/es/icons/checkbox--undeterminate--filled/20.js +15 -0
- package/es/icons/checkbox--undeterminate--filled/24.d.ts +17 -0
- package/es/icons/checkbox--undeterminate--filled/24.js +15 -0
- package/es/icons/checkbox--undeterminate--filled/32.d.ts +17 -0
- package/es/icons/checkbox--undeterminate--filled/32.js +15 -0
- package/es/icons/chevron--down--outline/16.d.ts +17 -0
- package/es/icons/chevron--down--outline/16.js +15 -0
- package/es/icons/chevron--down--outline/20.d.ts +17 -0
- package/es/icons/chevron--down--outline/20.js +15 -0
- package/es/icons/chevron--down--outline/24.d.ts +17 -0
- package/es/icons/chevron--down--outline/24.js +15 -0
- package/es/icons/chevron--down--outline/32.d.ts +17 -0
- package/es/icons/chevron--down--outline/32.js +15 -0
- package/es/icons/chevron--up--outline/16.d.ts +17 -0
- package/es/icons/chevron--up--outline/16.js +15 -0
- package/es/icons/chevron--up--outline/20.d.ts +17 -0
- package/es/icons/chevron--up--outline/20.js +15 -0
- package/es/icons/chevron--up--outline/24.d.ts +17 -0
- package/es/icons/chevron--up--outline/24.js +15 -0
- package/es/icons/chevron--up--outline/32.d.ts +17 -0
- package/es/icons/chevron--up--outline/32.js +15 -0
- package/es/icons/close/16.js +1 -1
- package/es/icons/close/20.js +1 -1
- package/es/icons/close/24.js +1 -1
- package/es/icons/close/32.js +1 -1
- package/es/icons/close--large/16.d.ts +17 -0
- package/es/icons/close--large/16.js +15 -0
- package/es/icons/close--large/20.d.ts +17 -0
- package/es/icons/close--large/20.js +15 -0
- package/es/icons/close--large/24.d.ts +17 -0
- package/es/icons/close--large/24.js +15 -0
- package/es/icons/close--large/32.d.ts +17 -0
- package/es/icons/close--large/32.js +15 -0
- package/es/icons/cloud--lightning/16.d.ts +17 -0
- package/es/icons/cloud--lightning/16.js +15 -0
- package/es/icons/cloud--lightning/20.d.ts +17 -0
- package/es/icons/cloud--lightning/20.js +15 -0
- package/es/icons/cloud--lightning/24.d.ts +17 -0
- package/es/icons/cloud--lightning/24.js +15 -0
- package/es/icons/cloud--lightning/32.d.ts +17 -0
- package/es/icons/cloud--lightning/32.js +15 -0
- package/es/icons/cloud--rain/16.d.ts +17 -0
- package/es/icons/cloud--rain/16.js +15 -0
- package/es/icons/cloud--rain/20.d.ts +17 -0
- package/es/icons/cloud--rain/20.js +15 -0
- package/es/icons/cloud--rain/24.d.ts +17 -0
- package/es/icons/cloud--rain/24.js +15 -0
- package/es/icons/cloud--rain/32.d.ts +17 -0
- package/es/icons/cloud--rain/32.js +15 -0
- package/es/icons/cloud--snow/16.d.ts +17 -0
- package/es/icons/cloud--snow/16.js +15 -0
- package/es/icons/cloud--snow/20.d.ts +17 -0
- package/es/icons/cloud--snow/20.js +15 -0
- package/es/icons/cloud--snow/24.d.ts +17 -0
- package/es/icons/cloud--snow/24.js +15 -0
- package/es/icons/cloud--snow/32.d.ts +17 -0
- package/es/icons/cloud--snow/32.js +15 -0
- package/es/icons/customer/16.d.ts +17 -0
- package/es/icons/customer/16.js +15 -0
- package/es/icons/customer/20.d.ts +17 -0
- package/es/icons/customer/20.js +15 -0
- package/es/icons/customer/24.d.ts +17 -0
- package/es/icons/customer/24.js +15 -0
- package/es/icons/customer/32.d.ts +17 -0
- package/es/icons/customer/32.js +15 -0
- package/es/icons/data--reference/16.js +1 -1
- package/es/icons/data--reference/20.js +1 -1
- package/es/icons/data--reference/24.js +1 -1
- package/es/icons/data--reference/32.js +1 -1
- package/es/icons/data--set/16.js +1 -1
- package/es/icons/data--set/20.js +1 -1
- package/es/icons/data--set/24.js +1 -1
- package/es/icons/data--set/32.js +1 -1
- package/es/icons/data--unreal/16.d.ts +17 -0
- package/es/icons/data--unreal/16.js +15 -0
- package/es/icons/data--unreal/20.d.ts +17 -0
- package/es/icons/data--unreal/20.js +15 -0
- package/es/icons/data--unreal/24.d.ts +17 -0
- package/es/icons/data--unreal/24.js +15 -0
- package/es/icons/data--unreal/32.d.ts +17 -0
- package/es/icons/data--unreal/32.js +15 -0
- package/es/icons/data-analytics/16.d.ts +17 -0
- package/es/icons/data-analytics/16.js +15 -0
- package/es/icons/data-analytics/20.d.ts +17 -0
- package/es/icons/data-analytics/20.js +15 -0
- package/es/icons/data-analytics/24.d.ts +17 -0
- package/es/icons/data-analytics/24.js +15 -0
- package/es/icons/data-analytics/32.d.ts +17 -0
- package/es/icons/data-analytics/32.js +15 -0
- package/es/icons/database--enterprisedb/16.d.ts +17 -0
- package/es/icons/database--enterprisedb/16.js +15 -0
- package/es/icons/database--enterprisedb/20.d.ts +17 -0
- package/es/icons/database--enterprisedb/20.js +15 -0
- package/es/icons/database--enterprisedb/24.d.ts +17 -0
- package/es/icons/database--enterprisedb/24.js +15 -0
- package/es/icons/database--enterprisedb/32.d.ts +17 -0
- package/es/icons/database--enterprisedb/32.js +15 -0
- package/es/icons/database--messaging/16.d.ts +17 -0
- package/es/icons/database--messaging/16.js +15 -0
- package/es/icons/database--messaging/20.d.ts +17 -0
- package/es/icons/database--messaging/20.js +15 -0
- package/es/icons/database--messaging/24.d.ts +17 -0
- package/es/icons/database--messaging/24.js +15 -0
- package/es/icons/database--messaging/32.d.ts +17 -0
- package/es/icons/database--messaging/32.js +15 -0
- package/es/icons/delete/16.d.ts +17 -0
- package/es/icons/delete/16.js +15 -0
- package/es/icons/delete/20.d.ts +17 -0
- package/es/icons/delete/20.js +15 -0
- package/es/icons/delete/24.d.ts +17 -0
- package/es/icons/delete/24.js +15 -0
- package/es/icons/delete/32.d.ts +17 -0
- package/es/icons/delete/32.js +15 -0
- package/es/icons/demo/16.d.ts +17 -0
- package/es/icons/demo/16.js +15 -0
- package/es/icons/demo/20.d.ts +17 -0
- package/es/icons/demo/20.js +15 -0
- package/es/icons/demo/24.d.ts +17 -0
- package/es/icons/demo/24.js +15 -0
- package/es/icons/demo/32.d.ts +17 -0
- package/es/icons/demo/32.js +15 -0
- package/es/icons/devices--apps/16.d.ts +17 -0
- package/es/icons/devices--apps/16.js +15 -0
- package/es/icons/devices--apps/20.d.ts +17 -0
- package/es/icons/devices--apps/20.js +15 -0
- package/es/icons/devices--apps/24.d.ts +17 -0
- package/es/icons/devices--apps/24.js +15 -0
- package/es/icons/devices--apps/32.d.ts +17 -0
- package/es/icons/devices--apps/32.js +15 -0
- package/es/icons/downstream/16.d.ts +17 -0
- package/es/icons/downstream/16.js +15 -0
- package/es/icons/downstream/20.d.ts +17 -0
- package/es/icons/downstream/20.js +15 -0
- package/es/icons/downstream/24.d.ts +17 -0
- package/es/icons/downstream/24.js +15 -0
- package/es/icons/downstream/32.d.ts +17 -0
- package/es/icons/downstream/32.js +15 -0
- package/es/icons/equal--approximately/16.d.ts +17 -0
- package/es/icons/equal--approximately/16.js +15 -0
- package/es/icons/equal--approximately/20.d.ts +17 -0
- package/es/icons/equal--approximately/20.js +15 -0
- package/es/icons/equal--approximately/24.d.ts +17 -0
- package/es/icons/equal--approximately/24.js +15 -0
- package/es/icons/equal--approximately/32.d.ts +17 -0
- package/es/icons/equal--approximately/32.js +15 -0
- package/es/icons/event--change/16.d.ts +17 -0
- package/es/icons/event--change/16.js +15 -0
- package/es/icons/event--change/20.d.ts +17 -0
- package/es/icons/event--change/20.js +15 -0
- package/es/icons/event--change/24.d.ts +17 -0
- package/es/icons/event--change/24.js +15 -0
- package/es/icons/event--change/32.d.ts +17 -0
- package/es/icons/event--change/32.js +15 -0
- package/es/icons/event--incident/16.d.ts +17 -0
- package/es/icons/event--incident/16.js +15 -0
- package/es/icons/event--incident/20.d.ts +17 -0
- package/es/icons/event--incident/20.js +15 -0
- package/es/icons/event--incident/24.d.ts +17 -0
- package/es/icons/event--incident/24.js +15 -0
- package/es/icons/event--incident/32.d.ts +17 -0
- package/es/icons/event--incident/32.js +15 -0
- package/es/icons/event--warning/16.d.ts +17 -0
- package/es/icons/event--warning/16.js +15 -0
- package/es/icons/event--warning/20.d.ts +17 -0
- package/es/icons/event--warning/20.js +15 -0
- package/es/icons/event--warning/24.d.ts +17 -0
- package/es/icons/event--warning/24.js +15 -0
- package/es/icons/event--warning/32.d.ts +17 -0
- package/es/icons/event--warning/32.js +15 -0
- package/es/icons/foundation-model/16.d.ts +17 -0
- package/es/icons/foundation-model/16.js +15 -0
- package/es/icons/foundation-model/20.d.ts +17 -0
- package/es/icons/foundation-model/20.js +15 -0
- package/es/icons/foundation-model/24.d.ts +17 -0
- package/es/icons/foundation-model/24.js +15 -0
- package/es/icons/foundation-model/32.d.ts +17 -0
- package/es/icons/foundation-model/32.js +15 -0
- package/es/icons/global-loan-and-trial/16.d.ts +17 -0
- package/es/icons/global-loan-and-trial/16.js +15 -0
- package/es/icons/global-loan-and-trial/20.d.ts +17 -0
- package/es/icons/global-loan-and-trial/20.js +15 -0
- package/es/icons/global-loan-and-trial/24.d.ts +17 -0
- package/es/icons/global-loan-and-trial/24.js +15 -0
- package/es/icons/global-loan-and-trial/32.d.ts +17 -0
- package/es/icons/global-loan-and-trial/32.js +15 -0
- package/es/icons/glyph--caution/index.d.ts +17 -0
- package/es/icons/glyph--caution/index.js +15 -0
- package/es/icons/glyph--caution-inverted/index.d.ts +17 -0
- package/es/icons/glyph--caution-inverted/index.js +15 -0
- package/es/icons/glyph--circle-fill/index.d.ts +17 -0
- package/es/icons/glyph--circle-fill/index.js +15 -0
- package/es/icons/glyph--circle-stroke/index.d.ts +17 -0
- package/es/icons/glyph--circle-stroke/index.js +15 -0
- package/es/icons/glyph--critical/index.d.ts +17 -0
- package/es/icons/glyph--critical/index.js +15 -0
- package/es/icons/glyph--incomplete/index.d.ts +17 -0
- package/es/icons/glyph--incomplete/index.js +15 -0
- package/es/icons/glyph--square-fill/index.d.ts +17 -0
- package/es/icons/glyph--square-fill/index.js +15 -0
- package/es/icons/glyph--undefined/index.d.ts +17 -0
- package/es/icons/glyph--undefined/index.js +15 -0
- package/es/icons/ibm--ai-on-z/16.d.ts +17 -0
- package/es/icons/ibm--ai-on-z/16.js +15 -0
- package/es/icons/ibm--ai-on-z/20.d.ts +17 -0
- package/es/icons/ibm--ai-on-z/20.js +15 -0
- package/es/icons/ibm--ai-on-z/24.d.ts +17 -0
- package/es/icons/ibm--ai-on-z/24.js +15 -0
- package/es/icons/ibm--ai-on-z/32.d.ts +17 -0
- package/es/icons/ibm--ai-on-z/32.js +15 -0
- package/es/icons/ibm--aiops-insights/16.d.ts +17 -0
- package/es/icons/ibm--aiops-insights/16.js +15 -0
- package/es/icons/ibm--aiops-insights/20.d.ts +17 -0
- package/es/icons/ibm--aiops-insights/20.js +15 -0
- package/es/icons/ibm--aiops-insights/24.d.ts +17 -0
- package/es/icons/ibm--aiops-insights/24.js +15 -0
- package/es/icons/ibm--aiops-insights/32.d.ts +17 -0
- package/es/icons/ibm--aiops-insights/32.js +15 -0
- package/es/icons/ibm--cloudant/16.d.ts +17 -0
- package/es/icons/ibm--cloudant/16.js +15 -0
- package/es/icons/ibm--cloudant/20.d.ts +17 -0
- package/es/icons/ibm--cloudant/20.js +15 -0
- package/es/icons/ibm--cloudant/24.d.ts +17 -0
- package/es/icons/ibm--cloudant/24.js +15 -0
- package/es/icons/ibm--cloudant/32.d.ts +17 -0
- package/es/icons/ibm--cloudant/32.js +15 -0
- package/es/icons/ibm--data-product-exchange/16.d.ts +17 -0
- package/es/icons/ibm--data-product-exchange/16.js +15 -0
- package/es/icons/ibm--data-product-exchange/20.d.ts +17 -0
- package/es/icons/ibm--data-product-exchange/20.js +15 -0
- package/es/icons/ibm--data-product-exchange/24.d.ts +17 -0
- package/es/icons/ibm--data-product-exchange/24.js +15 -0
- package/es/icons/ibm--data-product-exchange/32.d.ts +17 -0
- package/es/icons/ibm--data-product-exchange/32.js +15 -0
- package/es/icons/ibm--db2/16.js +1 -1
- package/es/icons/ibm--db2/20.js +1 -1
- package/es/icons/ibm--db2/24.js +1 -1
- package/es/icons/ibm--db2/32.js +1 -1
- package/es/icons/ibm--db2-warehouse/16.d.ts +17 -0
- package/es/icons/ibm--db2-warehouse/16.js +15 -0
- package/es/icons/ibm--db2-warehouse/20.d.ts +17 -0
- package/es/icons/ibm--db2-warehouse/20.js +15 -0
- package/es/icons/ibm--db2-warehouse/24.d.ts +17 -0
- package/es/icons/ibm--db2-warehouse/24.js +15 -0
- package/es/icons/ibm--db2-warehouse/32.d.ts +17 -0
- package/es/icons/ibm--db2-warehouse/32.js +15 -0
- package/es/icons/ibm--dynamic-route-server/16.d.ts +17 -0
- package/es/icons/ibm--dynamic-route-server/16.js +15 -0
- package/es/icons/ibm--dynamic-route-server/20.d.ts +17 -0
- package/es/icons/ibm--dynamic-route-server/20.js +15 -0
- package/es/icons/ibm--dynamic-route-server/24.d.ts +17 -0
- package/es/icons/ibm--dynamic-route-server/24.js +15 -0
- package/es/icons/ibm--dynamic-route-server/32.d.ts +17 -0
- package/es/icons/ibm--dynamic-route-server/32.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/16.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/16.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/20.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/20.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/24.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/24.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/32.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/32.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/16.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/16.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/20.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/20.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/24.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/24.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/32.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/32.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/16.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/16.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/20.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/20.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/24.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/24.js +15 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/32.d.ts +17 -0
- package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/32.js +15 -0
- package/es/icons/ibm--event-automation/16.d.ts +17 -0
- package/es/icons/ibm--event-automation/16.js +15 -0
- package/es/icons/ibm--event-automation/20.d.ts +17 -0
- package/es/icons/ibm--event-automation/20.js +15 -0
- package/es/icons/ibm--event-automation/24.d.ts +17 -0
- package/es/icons/ibm--event-automation/24.js +15 -0
- package/es/icons/ibm--event-automation/32.d.ts +17 -0
- package/es/icons/ibm--event-automation/32.js +15 -0
- package/es/icons/ibm--event-endpoint-mgmt/16.d.ts +17 -0
- package/es/icons/ibm--event-endpoint-mgmt/16.js +15 -0
- package/es/icons/ibm--event-endpoint-mgmt/20.d.ts +17 -0
- package/es/icons/ibm--event-endpoint-mgmt/20.js +15 -0
- package/es/icons/ibm--event-endpoint-mgmt/24.d.ts +17 -0
- package/es/icons/ibm--event-endpoint-mgmt/24.js +15 -0
- package/es/icons/ibm--event-endpoint-mgmt/32.d.ts +17 -0
- package/es/icons/ibm--event-endpoint-mgmt/32.js +15 -0
- package/es/icons/ibm--event-processing/16.d.ts +17 -0
- package/es/icons/ibm--event-processing/16.js +15 -0
- package/es/icons/ibm--event-processing/20.d.ts +17 -0
- package/es/icons/ibm--event-processing/20.js +15 -0
- package/es/icons/ibm--event-processing/24.d.ts +17 -0
- package/es/icons/ibm--event-processing/24.js +15 -0
- package/es/icons/ibm--event-processing/32.d.ts +17 -0
- package/es/icons/ibm--event-processing/32.js +15 -0
- package/es/icons/ibm--event-streams/16.d.ts +17 -0
- package/es/icons/ibm--event-streams/16.js +15 -0
- package/es/icons/ibm--event-streams/20.d.ts +17 -0
- package/es/icons/ibm--event-streams/20.js +15 -0
- package/es/icons/ibm--event-streams/24.d.ts +17 -0
- package/es/icons/ibm--event-streams/24.js +15 -0
- package/es/icons/ibm--event-streams/32.d.ts +17 -0
- package/es/icons/ibm--event-streams/32.js +15 -0
- package/es/icons/ibm--ibv/16.d.ts +17 -0
- package/es/icons/ibm--ibv/16.js +15 -0
- package/es/icons/ibm--ibv/20.d.ts +17 -0
- package/es/icons/ibm--ibv/20.js +15 -0
- package/es/icons/ibm--ibv/24.d.ts +17 -0
- package/es/icons/ibm--ibv/24.js +15 -0
- package/es/icons/ibm--ibv/32.d.ts +17 -0
- package/es/icons/ibm--ibv/32.js +15 -0
- package/es/icons/ibm--instana/16.d.ts +17 -0
- package/es/icons/ibm--instana/16.js +15 -0
- package/es/icons/ibm--instana/20.d.ts +17 -0
- package/es/icons/ibm--instana/20.js +15 -0
- package/es/icons/ibm--instana/24.d.ts +17 -0
- package/es/icons/ibm--instana/24.js +15 -0
- package/es/icons/ibm--instana/32.d.ts +17 -0
- package/es/icons/ibm--instana/32.js +15 -0
- package/es/icons/ibm--power-vs-private-cloud/16.d.ts +17 -0
- package/es/icons/ibm--power-vs-private-cloud/16.js +15 -0
- package/es/icons/ibm--power-vs-private-cloud/20.d.ts +17 -0
- package/es/icons/ibm--power-vs-private-cloud/20.js +15 -0
- package/es/icons/ibm--power-vs-private-cloud/24.d.ts +17 -0
- package/es/icons/ibm--power-vs-private-cloud/24.js +15 -0
- package/es/icons/ibm--power-vs-private-cloud/32.d.ts +17 -0
- package/es/icons/ibm--power-vs-private-cloud/32.js +15 -0
- package/es/icons/ibm--saas-console/16.d.ts +17 -0
- package/es/icons/ibm--saas-console/16.js +15 -0
- package/es/icons/ibm--saas-console/20.d.ts +17 -0
- package/es/icons/ibm--saas-console/20.js +15 -0
- package/es/icons/ibm--saas-console/24.d.ts +17 -0
- package/es/icons/ibm--saas-console/24.js +15 -0
- package/es/icons/ibm--saas-console/32.d.ts +17 -0
- package/es/icons/ibm--saas-console/32.js +15 -0
- package/es/icons/ibm--turbonomic/16.d.ts +17 -0
- package/es/icons/ibm--turbonomic/16.js +15 -0
- package/es/icons/ibm--turbonomic/20.d.ts +17 -0
- package/es/icons/ibm--turbonomic/20.js +15 -0
- package/es/icons/ibm--turbonomic/24.d.ts +17 -0
- package/es/icons/ibm--turbonomic/24.js +15 -0
- package/es/icons/ibm--turbonomic/32.d.ts +17 -0
- package/es/icons/ibm--turbonomic/32.js +15 -0
- package/es/icons/ibm--vpn-for-vpc/16.d.ts +17 -0
- package/es/icons/ibm--vpn-for-vpc/16.js +15 -0
- package/es/icons/ibm--vpn-for-vpc/20.d.ts +17 -0
- package/es/icons/ibm--vpn-for-vpc/20.js +15 -0
- package/es/icons/ibm--vpn-for-vpc/24.d.ts +17 -0
- package/es/icons/ibm--vpn-for-vpc/24.js +15 -0
- package/es/icons/ibm--vpn-for-vpc/32.d.ts +17 -0
- package/es/icons/ibm--vpn-for-vpc/32.js +15 -0
- package/es/icons/ibm--wazi-deploy/16.d.ts +17 -0
- package/es/icons/ibm--wazi-deploy/16.js +15 -0
- package/es/icons/ibm--wazi-deploy/20.d.ts +17 -0
- package/es/icons/ibm--wazi-deploy/20.js +15 -0
- package/es/icons/ibm--wazi-deploy/24.d.ts +17 -0
- package/es/icons/ibm--wazi-deploy/24.js +15 -0
- package/es/icons/ibm--wazi-deploy/32.d.ts +17 -0
- package/es/icons/ibm--wazi-deploy/32.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-server/16.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-server/16.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-server/20.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-server/20.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-server/24.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-server/24.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-server/32.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-server/32.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/16.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/16.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/20.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/20.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/24.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/24.js +15 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/32.d.ts +17 -0
- package/es/icons/ibm-cloud--bare-metal-servers-vpc/32.js +15 -0
- package/es/icons/ibm-cloud--hpc/16.d.ts +17 -0
- package/es/icons/ibm-cloud--hpc/16.js +15 -0
- package/es/icons/ibm-cloud--hpc/20.d.ts +17 -0
- package/es/icons/ibm-cloud--hpc/20.js +15 -0
- package/es/icons/ibm-cloud--hpc/24.d.ts +17 -0
- package/es/icons/ibm-cloud--hpc/24.js +15 -0
- package/es/icons/ibm-cloud--hpc/32.d.ts +17 -0
- package/es/icons/ibm-cloud--hpc/32.js +15 -0
- package/es/icons/ibm-cloud--pal/16.js +1 -1
- package/es/icons/ibm-cloud--pal/20.js +1 -1
- package/es/icons/ibm-cloud--pal/24.js +1 -1
- package/es/icons/ibm-cloud--pal/32.js +1 -1
- package/es/icons/ibm-cloud--transit-gateway/16.js +1 -1
- package/es/icons/ibm-cloud--transit-gateway/20.js +1 -1
- package/es/icons/ibm-cloud--transit-gateway/24.js +1 -1
- package/es/icons/ibm-cloud--transit-gateway/32.js +1 -1
- package/es/icons/ibm-cloud--virtual-server-classic/16.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-classic/16.js +15 -0
- package/es/icons/ibm-cloud--virtual-server-classic/20.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-classic/20.js +15 -0
- package/es/icons/ibm-cloud--virtual-server-classic/24.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-classic/24.js +15 -0
- package/es/icons/ibm-cloud--virtual-server-classic/32.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-classic/32.js +15 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/16.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/16.js +15 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/20.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/20.js +15 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/24.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/24.js +15 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/32.d.ts +17 -0
- package/es/icons/ibm-cloud--virtual-server-vpc/32.js +15 -0
- package/es/icons/ibm-cloud--vpc/16.d.ts +17 -0
- package/es/icons/ibm-cloud--vpc/16.js +15 -0
- package/es/icons/ibm-cloud--vpc/20.d.ts +17 -0
- package/es/icons/ibm-cloud--vpc/20.js +15 -0
- package/es/icons/ibm-cloud--vpc/24.d.ts +17 -0
- package/es/icons/ibm-cloud--vpc/24.js +15 -0
- package/es/icons/ibm-cloud--vpc/32.d.ts +17 -0
- package/es/icons/ibm-cloud--vpc/32.js +15 -0
- package/es/icons/ibm-watsonx--assistant/16.d.ts +17 -0
- package/es/icons/ibm-watsonx--assistant/16.js +15 -0
- package/es/icons/ibm-watsonx--assistant/20.d.ts +17 -0
- package/es/icons/ibm-watsonx--assistant/20.js +15 -0
- package/es/icons/ibm-watsonx--assistant/24.d.ts +17 -0
- package/es/icons/ibm-watsonx--assistant/24.js +15 -0
- package/es/icons/ibm-watsonx--assistant/32.d.ts +17 -0
- package/es/icons/ibm-watsonx--assistant/32.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant/16.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant/16.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant/20.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant/20.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant/24.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant/24.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant/32.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant/32.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/16.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/16.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/20.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/20.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/24.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/24.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/32.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z/32.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/16.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/16.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/20.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/20.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/24.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/24.js +15 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/32.d.ts +17 -0
- package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/32.js +15 -0
- package/es/icons/ibm-watsonx--orchestrate/16.d.ts +17 -0
- package/es/icons/ibm-watsonx--orchestrate/16.js +15 -0
- package/es/icons/ibm-watsonx--orchestrate/20.d.ts +17 -0
- package/es/icons/ibm-watsonx--orchestrate/20.js +15 -0
- package/es/icons/ibm-watsonx--orchestrate/24.d.ts +17 -0
- package/es/icons/ibm-watsonx--orchestrate/24.js +15 -0
- package/es/icons/ibm-watsonx--orchestrate/32.d.ts +17 -0
- package/es/icons/ibm-watsonx--orchestrate/32.js +15 -0
- package/es/icons/ibm-z--processor-capacity-reference/16.d.ts +17 -0
- package/es/icons/ibm-z--processor-capacity-reference/16.js +15 -0
- package/es/icons/ibm-z--processor-capacity-reference/20.d.ts +17 -0
- package/es/icons/ibm-z--processor-capacity-reference/20.js +15 -0
- package/es/icons/ibm-z--processor-capacity-reference/24.d.ts +17 -0
- package/es/icons/ibm-z--processor-capacity-reference/24.js +15 -0
- package/es/icons/ibm-z--processor-capacity-reference/32.d.ts +17 -0
- package/es/icons/ibm-z--processor-capacity-reference/32.js +15 -0
- package/es/icons/ibm-z-os/16.d.ts +17 -0
- package/es/icons/ibm-z-os/16.js +15 -0
- package/es/icons/ibm-z-os/20.d.ts +17 -0
- package/es/icons/ibm-z-os/20.js +15 -0
- package/es/icons/ibm-z-os/24.d.ts +17 -0
- package/es/icons/ibm-z-os/24.js +15 -0
- package/es/icons/ibm-z-os/32.d.ts +17 -0
- package/es/icons/ibm-z-os/32.js +15 -0
- package/es/icons/infinity/16.d.ts +17 -0
- package/es/icons/infinity/16.js +15 -0
- package/es/icons/infinity/20.d.ts +17 -0
- package/es/icons/infinity/20.js +15 -0
- package/es/icons/infinity/24.d.ts +17 -0
- package/es/icons/infinity/24.js +15 -0
- package/es/icons/infinity/32.d.ts +17 -0
- package/es/icons/infinity/32.js +15 -0
- package/es/icons/js-error/16.d.ts +17 -0
- package/es/icons/js-error/16.js +15 -0
- package/es/icons/js-error/20.d.ts +17 -0
- package/es/icons/js-error/20.js +15 -0
- package/es/icons/js-error/24.d.ts +17 -0
- package/es/icons/js-error/24.js +15 -0
- package/es/icons/js-error/32.d.ts +17 -0
- package/es/icons/js-error/32.js +15 -0
- package/es/icons/kubernetes--ip-address/16.d.ts +17 -0
- package/es/icons/kubernetes--ip-address/16.js +15 -0
- package/es/icons/kubernetes--ip-address/20.d.ts +17 -0
- package/es/icons/kubernetes--ip-address/20.js +15 -0
- package/es/icons/kubernetes--ip-address/24.d.ts +17 -0
- package/es/icons/kubernetes--ip-address/24.js +15 -0
- package/es/icons/kubernetes--ip-address/32.d.ts +17 -0
- package/es/icons/kubernetes--ip-address/32.js +15 -0
- package/es/icons/kubernetes--pod/16.d.ts +17 -0
- package/es/icons/kubernetes--pod/16.js +15 -0
- package/es/icons/kubernetes--pod/20.d.ts +17 -0
- package/es/icons/kubernetes--pod/20.js +15 -0
- package/es/icons/kubernetes--pod/24.d.ts +17 -0
- package/es/icons/kubernetes--pod/24.js +15 -0
- package/es/icons/kubernetes--pod/32.d.ts +17 -0
- package/es/icons/kubernetes--pod/32.js +15 -0
- package/es/icons/letter--Aa--large/16.d.ts +17 -0
- package/es/icons/letter--Aa--large/16.js +15 -0
- package/es/icons/letter--Aa--large/20.d.ts +17 -0
- package/es/icons/letter--Aa--large/20.js +15 -0
- package/es/icons/letter--Aa--large/24.d.ts +17 -0
- package/es/icons/letter--Aa--large/24.js +15 -0
- package/es/icons/letter--Aa--large/32.d.ts +17 -0
- package/es/icons/letter--Aa--large/32.js +15 -0
- package/es/icons/logo--delicious/16.d.ts +17 -0
- package/es/icons/logo--delicious/16.js +15 -0
- package/es/icons/logo--delicious/20.d.ts +17 -0
- package/es/icons/logo--delicious/20.js +15 -0
- package/es/icons/logo--delicious/24.d.ts +17 -0
- package/es/icons/logo--delicious/24.js +15 -0
- package/es/icons/logo--delicious/32.d.ts +17 -0
- package/es/icons/logo--delicious/32.js +15 -0
- package/es/icons/logo--gitlab/16.d.ts +17 -0
- package/es/icons/logo--gitlab/16.js +15 -0
- package/es/icons/logo--gitlab/20.d.ts +17 -0
- package/es/icons/logo--gitlab/20.js +15 -0
- package/es/icons/logo--gitlab/24.d.ts +17 -0
- package/es/icons/logo--gitlab/24.js +15 -0
- package/es/icons/logo--gitlab/32.d.ts +17 -0
- package/es/icons/logo--gitlab/32.js +15 -0
- package/es/icons/logo--google/16.d.ts +17 -0
- package/es/icons/logo--google/16.js +15 -0
- package/es/icons/logo--google/20.d.ts +17 -0
- package/es/icons/logo--google/20.js +15 -0
- package/es/icons/logo--google/24.d.ts +17 -0
- package/es/icons/logo--google/24.js +15 -0
- package/es/icons/logo--google/32.d.ts +17 -0
- package/es/icons/logo--google/32.js +15 -0
- package/es/icons/logo--stumbleupon/16.d.ts +17 -0
- package/es/icons/logo--stumbleupon/16.js +15 -0
- package/es/icons/logo--stumbleupon/20.d.ts +17 -0
- package/es/icons/logo--stumbleupon/20.js +15 -0
- package/es/icons/logo--stumbleupon/24.d.ts +17 -0
- package/es/icons/logo--stumbleupon/24.js +15 -0
- package/es/icons/logo--stumbleupon/32.d.ts +17 -0
- package/es/icons/logo--stumbleupon/32.js +15 -0
- package/es/icons/logo--x/16.d.ts +17 -0
- package/es/icons/logo--x/16.js +15 -0
- package/es/icons/logo--x/20.d.ts +17 -0
- package/es/icons/logo--x/20.js +15 -0
- package/es/icons/logo--x/24.d.ts +17 -0
- package/es/icons/logo--x/24.js +15 -0
- package/es/icons/logo--x/32.d.ts +17 -0
- package/es/icons/logo--x/32.js +15 -0
- package/es/icons/mammogram--stacked/16.d.ts +17 -0
- package/es/icons/mammogram--stacked/16.js +15 -0
- package/es/icons/mammogram--stacked/20.d.ts +17 -0
- package/es/icons/mammogram--stacked/20.js +15 -0
- package/es/icons/mammogram--stacked/24.d.ts +17 -0
- package/es/icons/mammogram--stacked/24.js +15 -0
- package/es/icons/mammogram--stacked/32.d.ts +17 -0
- package/es/icons/mammogram--stacked/32.js +15 -0
- package/es/icons/misuse--alt/16.d.ts +17 -0
- package/es/icons/misuse--alt/16.js +15 -0
- package/es/icons/misuse--alt/20.d.ts +17 -0
- package/es/icons/misuse--alt/20.js +15 -0
- package/es/icons/misuse--alt/24.d.ts +17 -0
- package/es/icons/misuse--alt/24.js +15 -0
- package/es/icons/misuse--alt/32.d.ts +17 -0
- package/es/icons/misuse--alt/32.js +15 -0
- package/es/icons/mobile--crash/16.d.ts +17 -0
- package/es/icons/mobile--crash/16.js +15 -0
- package/es/icons/mobile--crash/20.d.ts +17 -0
- package/es/icons/mobile--crash/20.js +15 -0
- package/es/icons/mobile--crash/24.d.ts +17 -0
- package/es/icons/mobile--crash/24.js +15 -0
- package/es/icons/mobile--crash/32.d.ts +17 -0
- package/es/icons/mobile--crash/32.js +15 -0
- package/es/icons/mobile--event/16.d.ts +17 -0
- package/es/icons/mobile--event/16.js +15 -0
- package/es/icons/mobile--event/20.d.ts +17 -0
- package/es/icons/mobile--event/20.js +15 -0
- package/es/icons/mobile--event/24.d.ts +17 -0
- package/es/icons/mobile--event/24.js +15 -0
- package/es/icons/mobile--event/32.d.ts +17 -0
- package/es/icons/mobile--event/32.js +15 -0
- package/es/icons/mobile--request/16.d.ts +17 -0
- package/es/icons/mobile--request/16.js +15 -0
- package/es/icons/mobile--request/20.d.ts +17 -0
- package/es/icons/mobile--request/20.js +15 -0
- package/es/icons/mobile--request/24.d.ts +17 -0
- package/es/icons/mobile--request/24.js +15 -0
- package/es/icons/mobile--request/32.d.ts +17 -0
- package/es/icons/mobile--request/32.js +15 -0
- package/es/icons/mobile--session/16.d.ts +17 -0
- package/es/icons/mobile--session/16.js +15 -0
- package/es/icons/mobile--session/20.d.ts +17 -0
- package/es/icons/mobile--session/20.js +15 -0
- package/es/icons/mobile--session/24.d.ts +17 -0
- package/es/icons/mobile--session/24.js +15 -0
- package/es/icons/mobile--session/32.d.ts +17 -0
- package/es/icons/mobile--session/32.js +15 -0
- package/es/icons/mobile--view/16.d.ts +17 -0
- package/es/icons/mobile--view/16.js +15 -0
- package/es/icons/mobile--view/20.d.ts +17 -0
- package/es/icons/mobile--view/20.js +15 -0
- package/es/icons/mobile--view/24.d.ts +17 -0
- package/es/icons/mobile--view/24.js +15 -0
- package/es/icons/mobile--view/32.d.ts +17 -0
- package/es/icons/mobile--view/32.js +15 -0
- package/es/icons/mobile--view-orientation/16.d.ts +17 -0
- package/es/icons/mobile--view-orientation/16.js +15 -0
- package/es/icons/mobile--view-orientation/20.d.ts +17 -0
- package/es/icons/mobile--view-orientation/20.js +15 -0
- package/es/icons/mobile--view-orientation/24.d.ts +17 -0
- package/es/icons/mobile--view-orientation/24.js +15 -0
- package/es/icons/mobile--view-orientation/32.d.ts +17 -0
- package/es/icons/mobile--view-orientation/32.js +15 -0
- package/es/icons/model--tuned/16.d.ts +17 -0
- package/es/icons/model--tuned/16.js +15 -0
- package/es/icons/model--tuned/20.d.ts +17 -0
- package/es/icons/model--tuned/20.js +15 -0
- package/es/icons/model--tuned/24.d.ts +17 -0
- package/es/icons/model--tuned/24.js +15 -0
- package/es/icons/model--tuned/32.d.ts +17 -0
- package/es/icons/model--tuned/32.js +15 -0
- package/es/icons/mysql/16.d.ts +17 -0
- package/es/icons/mysql/16.js +15 -0
- package/es/icons/mysql/20.d.ts +17 -0
- package/es/icons/mysql/20.js +15 -0
- package/es/icons/mysql/24.d.ts +17 -0
- package/es/icons/mysql/24.js +15 -0
- package/es/icons/mysql/32.d.ts +17 -0
- package/es/icons/mysql/32.js +15 -0
- package/es/icons/network-interface/16.d.ts +17 -0
- package/es/icons/network-interface/16.js +15 -0
- package/es/icons/network-interface/20.d.ts +17 -0
- package/es/icons/network-interface/20.js +15 -0
- package/es/icons/network-interface/24.d.ts +17 -0
- package/es/icons/network-interface/24.js +15 -0
- package/es/icons/network-interface/32.d.ts +17 -0
- package/es/icons/network-interface/32.js +15 -0
- package/es/icons/platforms/16.d.ts +17 -0
- package/es/icons/platforms/16.js +15 -0
- package/es/icons/platforms/20.d.ts +17 -0
- package/es/icons/platforms/20.js +15 -0
- package/es/icons/platforms/24.d.ts +17 -0
- package/es/icons/platforms/24.js +15 -0
- package/es/icons/platforms/32.d.ts +17 -0
- package/es/icons/platforms/32.js +15 -0
- package/es/icons/process/16.d.ts +17 -0
- package/es/icons/process/16.js +15 -0
- package/es/icons/process/20.d.ts +17 -0
- package/es/icons/process/20.js +15 -0
- package/es/icons/process/24.d.ts +17 -0
- package/es/icons/process/24.js +15 -0
- package/es/icons/process/32.d.ts +17 -0
- package/es/icons/process/32.js +15 -0
- package/es/icons/process-automate/16.d.ts +17 -0
- package/es/icons/process-automate/16.js +15 -0
- package/es/icons/process-automate/20.d.ts +17 -0
- package/es/icons/process-automate/20.js +15 -0
- package/es/icons/process-automate/24.d.ts +17 -0
- package/es/icons/process-automate/24.js +15 -0
- package/es/icons/process-automate/32.d.ts +17 -0
- package/es/icons/process-automate/32.js +15 -0
- package/es/icons/prompt-session/16.d.ts +17 -0
- package/es/icons/prompt-session/16.js +15 -0
- package/es/icons/prompt-session/20.d.ts +17 -0
- package/es/icons/prompt-session/20.js +15 -0
- package/es/icons/prompt-session/24.d.ts +17 -0
- package/es/icons/prompt-session/24.js +15 -0
- package/es/icons/prompt-session/32.d.ts +17 -0
- package/es/icons/prompt-session/32.js +15 -0
- package/es/icons/prompt-template/16.d.ts +17 -0
- package/es/icons/prompt-template/16.js +15 -0
- package/es/icons/prompt-template/20.d.ts +17 -0
- package/es/icons/prompt-template/20.js +15 -0
- package/es/icons/prompt-template/24.d.ts +17 -0
- package/es/icons/prompt-template/24.js +15 -0
- package/es/icons/prompt-template/32.d.ts +17 -0
- package/es/icons/prompt-template/32.js +15 -0
- package/es/icons/redo/16.js +1 -1
- package/es/icons/redo/20.js +1 -1
- package/es/icons/redo/24.js +1 -1
- package/es/icons/research--bloch-sphere/16.d.ts +17 -0
- package/es/icons/research--bloch-sphere/16.js +15 -0
- package/es/icons/research--bloch-sphere/20.d.ts +17 -0
- package/es/icons/research--bloch-sphere/20.js +15 -0
- package/es/icons/research--bloch-sphere/24.d.ts +17 -0
- package/es/icons/research--bloch-sphere/24.js +15 -0
- package/es/icons/research--bloch-sphere/32.d.ts +17 -0
- package/es/icons/research--bloch-sphere/32.js +15 -0
- package/es/icons/research--hinton-plot/16.d.ts +17 -0
- package/es/icons/research--hinton-plot/16.js +15 -0
- package/es/icons/research--hinton-plot/20.d.ts +17 -0
- package/es/icons/research--hinton-plot/20.js +15 -0
- package/es/icons/research--hinton-plot/24.d.ts +17 -0
- package/es/icons/research--hinton-plot/24.js +15 -0
- package/es/icons/research--hinton-plot/32.d.ts +17 -0
- package/es/icons/research--hinton-plot/32.js +15 -0
- package/es/icons/research--matrix/16.d.ts +17 -0
- package/es/icons/research--matrix/16.js +15 -0
- package/es/icons/research--matrix/20.d.ts +17 -0
- package/es/icons/research--matrix/20.js +15 -0
- package/es/icons/research--matrix/24.d.ts +17 -0
- package/es/icons/research--matrix/24.js +15 -0
- package/es/icons/research--matrix/32.d.ts +17 -0
- package/es/icons/research--matrix/32.js +15 -0
- package/es/icons/return/16.d.ts +17 -0
- package/es/icons/return/16.js +15 -0
- package/es/icons/return/20.d.ts +17 -0
- package/es/icons/return/20.js +15 -0
- package/es/icons/return/24.d.ts +17 -0
- package/es/icons/return/24.js +15 -0
- package/es/icons/return/32.d.ts +17 -0
- package/es/icons/return/32.js +15 -0
- package/es/icons/running/16.d.ts +17 -0
- package/es/icons/running/16.js +15 -0
- package/es/icons/running/20.d.ts +17 -0
- package/es/icons/running/20.js +15 -0
- package/es/icons/running/24.d.ts +17 -0
- package/es/icons/running/24.js +15 -0
- package/es/icons/running/32.d.ts +17 -0
- package/es/icons/running/32.js +15 -0
- package/es/icons/sales-ops/16.d.ts +17 -0
- package/es/icons/sales-ops/16.js +15 -0
- package/es/icons/sales-ops/20.d.ts +17 -0
- package/es/icons/sales-ops/20.js +15 -0
- package/es/icons/sales-ops/24.d.ts +17 -0
- package/es/icons/sales-ops/24.js +15 -0
- package/es/icons/sales-ops/32.d.ts +17 -0
- package/es/icons/sales-ops/32.js +15 -0
- package/es/icons/service-levels/16.d.ts +17 -0
- package/es/icons/service-levels/16.js +15 -0
- package/es/icons/service-levels/20.d.ts +17 -0
- package/es/icons/service-levels/20.js +15 -0
- package/es/icons/service-levels/24.d.ts +17 -0
- package/es/icons/service-levels/24.js +15 -0
- package/es/icons/service-levels/32.d.ts +17 -0
- package/es/icons/service-levels/32.js +15 -0
- package/es/icons/settings--edit/16.d.ts +17 -0
- package/es/icons/settings--edit/16.js +15 -0
- package/es/icons/settings--edit/20.d.ts +17 -0
- package/es/icons/settings--edit/20.js +15 -0
- package/es/icons/settings--edit/24.d.ts +17 -0
- package/es/icons/settings--edit/24.js +15 -0
- package/es/icons/settings--edit/32.d.ts +17 -0
- package/es/icons/settings--edit/32.js +15 -0
- package/es/icons/subdirectory/16.d.ts +17 -0
- package/es/icons/subdirectory/16.js +15 -0
- package/es/icons/subdirectory/20.d.ts +17 -0
- package/es/icons/subdirectory/20.js +15 -0
- package/es/icons/subdirectory/24.d.ts +17 -0
- package/es/icons/subdirectory/24.js +15 -0
- package/es/icons/subdirectory/32.d.ts +17 -0
- package/es/icons/subdirectory/32.js +15 -0
- package/es/icons/subtract--filled/16.d.ts +17 -0
- package/es/icons/subtract--filled/16.js +15 -0
- package/es/icons/subtract--filled/20.d.ts +17 -0
- package/es/icons/subtract--filled/20.js +15 -0
- package/es/icons/subtract--filled/24.d.ts +17 -0
- package/es/icons/subtract--filled/24.js +15 -0
- package/es/icons/subtract--filled/32.d.ts +17 -0
- package/es/icons/subtract--filled/32.js +15 -0
- package/es/icons/subtract--large/16.d.ts +17 -0
- package/es/icons/subtract--large/16.js +15 -0
- package/es/icons/subtract--large/20.d.ts +17 -0
- package/es/icons/subtract--large/20.js +15 -0
- package/es/icons/subtract--large/24.d.ts +17 -0
- package/es/icons/subtract--large/24.js +15 -0
- package/es/icons/subtract--large/32.d.ts +17 -0
- package/es/icons/subtract--large/32.js +15 -0
- package/es/icons/sunny/16.d.ts +17 -0
- package/es/icons/sunny/16.js +15 -0
- package/es/icons/sunny/20.d.ts +17 -0
- package/es/icons/sunny/20.js +15 -0
- package/es/icons/sunny/24.d.ts +17 -0
- package/es/icons/sunny/24.js +15 -0
- package/es/icons/sunny/32.d.ts +17 -0
- package/es/icons/sunny/32.js +15 -0
- package/es/icons/sustainability/16.d.ts +17 -0
- package/es/icons/sustainability/16.js +15 -0
- package/es/icons/sustainability/20.d.ts +17 -0
- package/es/icons/sustainability/20.js +15 -0
- package/es/icons/sustainability/24.d.ts +17 -0
- package/es/icons/sustainability/24.js +15 -0
- package/es/icons/sustainability/32.d.ts +17 -0
- package/es/icons/sustainability/32.js +15 -0
- package/es/icons/text--long-paragraph/16.d.ts +17 -0
- package/es/icons/text--long-paragraph/16.js +15 -0
- package/es/icons/text--long-paragraph/20.d.ts +17 -0
- package/es/icons/text--long-paragraph/20.js +15 -0
- package/es/icons/text--long-paragraph/24.d.ts +17 -0
- package/es/icons/text--long-paragraph/24.js +15 -0
- package/es/icons/text--long-paragraph/32.d.ts +17 -0
- package/es/icons/text--long-paragraph/32.js +15 -0
- package/es/icons/text--short-paragraph/16.d.ts +17 -0
- package/es/icons/text--short-paragraph/16.js +15 -0
- package/es/icons/text--short-paragraph/20.d.ts +17 -0
- package/es/icons/text--short-paragraph/20.js +15 -0
- package/es/icons/text--short-paragraph/24.d.ts +17 -0
- package/es/icons/text--short-paragraph/24.js +15 -0
- package/es/icons/text--short-paragraph/32.d.ts +17 -0
- package/es/icons/text--short-paragraph/32.js +15 -0
- package/es/icons/time--filled/16.d.ts +17 -0
- package/es/icons/time--filled/16.js +15 -0
- package/es/icons/time--filled/20.d.ts +17 -0
- package/es/icons/time--filled/20.js +15 -0
- package/es/icons/time--filled/24.d.ts +17 -0
- package/es/icons/time--filled/24.js +15 -0
- package/es/icons/time--filled/32.d.ts +17 -0
- package/es/icons/time--filled/32.js +15 -0
- package/es/icons/tour/16.d.ts +17 -0
- package/es/icons/tour/16.js +15 -0
- package/es/icons/tour/20.d.ts +17 -0
- package/es/icons/tour/20.js +15 -0
- package/es/icons/tour/24.d.ts +17 -0
- package/es/icons/tour/24.js +15 -0
- package/es/icons/tour/32.d.ts +17 -0
- package/es/icons/tour/32.js +15 -0
- package/es/icons/tuning/16.d.ts +17 -0
- package/es/icons/tuning/16.js +15 -0
- package/es/icons/tuning/20.d.ts +17 -0
- package/es/icons/tuning/20.js +15 -0
- package/es/icons/tuning/24.d.ts +17 -0
- package/es/icons/tuning/24.js +15 -0
- package/es/icons/tuning/32.d.ts +17 -0
- package/es/icons/tuning/32.js +15 -0
- package/es/icons/undefined/index.d.ts +17 -0
- package/es/icons/undefined/index.js +15 -0
- package/es/icons/undo/16.js +1 -1
- package/es/icons/undo/20.js +1 -1
- package/es/icons/undo/24.js +1 -1
- package/es/icons/upstream/16.d.ts +17 -0
- package/es/icons/upstream/16.js +15 -0
- package/es/icons/upstream/20.d.ts +17 -0
- package/es/icons/upstream/20.js +15 -0
- package/es/icons/upstream/24.d.ts +17 -0
- package/es/icons/upstream/24.js +15 -0
- package/es/icons/upstream/32.d.ts +17 -0
- package/es/icons/upstream/32.js +15 -0
- package/es/icons/vegetation--encroachment/16.d.ts +17 -0
- package/es/icons/vegetation--encroachment/16.js +15 -0
- package/es/icons/vegetation--encroachment/20.d.ts +17 -0
- package/es/icons/vegetation--encroachment/20.js +15 -0
- package/es/icons/vegetation--encroachment/24.d.ts +17 -0
- package/es/icons/vegetation--encroachment/24.js +15 -0
- package/es/icons/vegetation--encroachment/32.d.ts +17 -0
- package/es/icons/vegetation--encroachment/32.js +15 -0
- package/es/icons/vegetation--height/16.d.ts +17 -0
- package/es/icons/vegetation--height/16.js +15 -0
- package/es/icons/vegetation--height/20.d.ts +17 -0
- package/es/icons/vegetation--height/20.js +15 -0
- package/es/icons/vegetation--height/24.d.ts +17 -0
- package/es/icons/vegetation--height/24.js +15 -0
- package/es/icons/vegetation--height/32.d.ts +17 -0
- package/es/icons/vegetation--height/32.js +15 -0
- package/es/icons/video-player/16.d.ts +17 -0
- package/es/icons/video-player/16.js +15 -0
- package/es/icons/video-player/20.d.ts +17 -0
- package/es/icons/video-player/20.js +15 -0
- package/es/icons/video-player/24.d.ts +17 -0
- package/es/icons/video-player/24.js +15 -0
- package/es/icons/video-player/32.d.ts +17 -0
- package/es/icons/video-player/32.js +15 -0
- package/es/icons/warning--diamond/16.d.ts +17 -0
- package/es/icons/warning--diamond/16.js +15 -0
- package/es/icons/warning--diamond/20.d.ts +17 -0
- package/es/icons/warning--diamond/20.js +15 -0
- package/es/icons/warning--diamond/24.d.ts +17 -0
- package/es/icons/warning--diamond/24.js +15 -0
- package/es/icons/warning--diamond/32.d.ts +17 -0
- package/es/icons/warning--diamond/32.js +15 -0
- package/es/icons/warning--multiple/16.d.ts +17 -0
- package/es/icons/warning--multiple/16.js +15 -0
- package/es/icons/warning--multiple/20.d.ts +17 -0
- package/es/icons/warning--multiple/20.js +15 -0
- package/es/icons/warning--multiple/24.d.ts +17 -0
- package/es/icons/warning--multiple/24.js +15 -0
- package/es/icons/warning--multiple/32.d.ts +17 -0
- package/es/icons/warning--multiple/32.js +15 -0
- package/es/icons/watson-health/edit-filter/16.d.ts +17 -0
- package/es/icons/watson-health/edit-filter/16.js +15 -0
- package/es/icons/watson-health/edit-filter/20.d.ts +17 -0
- package/es/icons/watson-health/edit-filter/20.js +15 -0
- package/es/icons/watson-health/edit-filter/24.d.ts +17 -0
- package/es/icons/watson-health/edit-filter/24.js +15 -0
- package/es/icons/watson-health/edit-filter/32.d.ts +17 -0
- package/es/icons/watson-health/edit-filter/32.js +15 -0
- package/es/icons/watsonx/16.d.ts +17 -0
- package/es/icons/watsonx/16.js +15 -0
- package/es/icons/watsonx/20.d.ts +17 -0
- package/es/icons/watsonx/20.js +15 -0
- package/es/icons/watsonx/24.d.ts +17 -0
- package/es/icons/watsonx/24.js +15 -0
- package/es/icons/watsonx/32.d.ts +17 -0
- package/es/icons/watsonx/32.js +15 -0
- package/es/icons/watsonx-ai/16.d.ts +17 -0
- package/es/icons/watsonx-ai/16.js +15 -0
- package/es/icons/watsonx-ai/20.d.ts +17 -0
- package/es/icons/watsonx-ai/20.js +15 -0
- package/es/icons/watsonx-ai/24.d.ts +17 -0
- package/es/icons/watsonx-ai/24.js +15 -0
- package/es/icons/watsonx-ai/32.d.ts +17 -0
- package/es/icons/watsonx-ai/32.js +15 -0
- package/es/icons/watsonx-data/16.d.ts +17 -0
- package/es/icons/watsonx-data/16.js +15 -0
- package/es/icons/watsonx-data/20.d.ts +17 -0
- package/es/icons/watsonx-data/20.js +15 -0
- package/es/icons/watsonx-data/24.d.ts +17 -0
- package/es/icons/watsonx-data/24.js +15 -0
- package/es/icons/watsonx-data/32.d.ts +17 -0
- package/es/icons/watsonx-data/32.js +15 -0
- package/es/icons/watsonx-governance/16.d.ts +17 -0
- package/es/icons/watsonx-governance/16.js +15 -0
- package/es/icons/watsonx-governance/20.d.ts +17 -0
- package/es/icons/watsonx-governance/20.js +15 -0
- package/es/icons/watsonx-governance/24.d.ts +17 -0
- package/es/icons/watsonx-governance/24.js +15 -0
- package/es/icons/watsonx-governance/32.d.ts +17 -0
- package/es/icons/watsonx-governance/32.js +15 -0
- package/es/icons/web-services--cluster/16.d.ts +17 -0
- package/es/icons/web-services--cluster/16.js +15 -0
- package/es/icons/web-services--cluster/20.d.ts +17 -0
- package/es/icons/web-services--cluster/20.js +15 -0
- package/es/icons/web-services--cluster/24.d.ts +17 -0
- package/es/icons/web-services--cluster/24.js +15 -0
- package/es/icons/web-services--cluster/32.d.ts +17 -0
- package/es/icons/web-services--cluster/32.js +15 -0
- package/es/icons/web-services--container/16.d.ts +17 -0
- package/es/icons/web-services--container/16.js +15 -0
- package/es/icons/web-services--container/20.d.ts +17 -0
- package/es/icons/web-services--container/20.js +15 -0
- package/es/icons/web-services--container/24.d.ts +17 -0
- package/es/icons/web-services--container/24.js +15 -0
- package/es/icons/web-services--container/32.d.ts +17 -0
- package/es/icons/web-services--container/32.js +15 -0
- package/es/icons/web-services--definition/16.d.ts +17 -0
- package/es/icons/web-services--definition/16.js +15 -0
- package/es/icons/web-services--definition/20.d.ts +17 -0
- package/es/icons/web-services--definition/20.js +15 -0
- package/es/icons/web-services--definition/24.d.ts +17 -0
- package/es/icons/web-services--definition/24.js +15 -0
- package/es/icons/web-services--definition/32.d.ts +17 -0
- package/es/icons/web-services--definition/32.js +15 -0
- package/es/icons/web-services--service/16.d.ts +17 -0
- package/es/icons/web-services--service/16.js +15 -0
- package/es/icons/web-services--service/20.d.ts +17 -0
- package/es/icons/web-services--service/20.js +15 -0
- package/es/icons/web-services--service/24.d.ts +17 -0
- package/es/icons/web-services--service/24.js +15 -0
- package/es/icons/web-services--service/32.d.ts +17 -0
- package/es/icons/web-services--service/32.js +15 -0
- package/es/icons/web-services--task/16.d.ts +17 -0
- package/es/icons/web-services--task/16.js +15 -0
- package/es/icons/web-services--task/20.d.ts +17 -0
- package/es/icons/web-services--task/20.js +15 -0
- package/es/icons/web-services--task/24.d.ts +17 -0
- package/es/icons/web-services--task/24.js +15 -0
- package/es/icons/web-services--task/32.d.ts +17 -0
- package/es/icons/web-services--task/32.js +15 -0
- package/es/icons/web-services--task-definition-version/16.d.ts +17 -0
- package/es/icons/web-services--task-definition-version/16.js +15 -0
- package/es/icons/web-services--task-definition-version/20.d.ts +17 -0
- package/es/icons/web-services--task-definition-version/20.js +15 -0
- package/es/icons/web-services--task-definition-version/24.d.ts +17 -0
- package/es/icons/web-services--task-definition-version/24.js +15 -0
- package/es/icons/web-services--task-definition-version/32.d.ts +17 -0
- package/es/icons/web-services--task-definition-version/32.js +15 -0
- package/lib/components/accordion/defs.js +3 -6
- package/lib/components/accordion/defs.js.map +1 -1
- package/lib/components/button/defs.js +5 -10
- package/lib/components/button/defs.js.map +1 -1
- package/lib/components/code-snippet/defs.js +1 -2
- package/lib/components/code-snippet/defs.js.map +1 -1
- package/lib/components/content-switcher/defs.js +2 -4
- package/lib/components/content-switcher/defs.js.map +1 -1
- package/lib/components/data-table/defs.js +4 -8
- package/lib/components/data-table/defs.js.map +1 -1
- package/lib/components/date-picker/defs.js +1 -2
- package/lib/components/date-picker/defs.js.map +1 -1
- package/lib/components/dropdown/defs.js +5 -10
- package/lib/components/dropdown/defs.js.map +1 -1
- package/lib/components/file-uploader/defs.js +2 -4
- package/lib/components/file-uploader/defs.js.map +1 -1
- package/lib/components/floating-menu/defs.js +2 -4
- package/lib/components/floating-menu/defs.js.map +1 -1
- package/lib/components/icon-button/defs.js +2 -4
- package/lib/components/icon-button/defs.js.map +1 -1
- package/lib/components/inline-loading/defs.js +1 -2
- package/lib/components/inline-loading/defs.js.map +1 -1
- package/lib/components/loading/defs.js +1 -2
- package/lib/components/loading/defs.js.map +1 -1
- package/lib/components/modal/defs.js +1 -2
- package/lib/components/modal/defs.js.map +1 -1
- package/lib/components/multi-select/defs.js +1 -2
- package/lib/components/multi-select/defs.js.map +1 -1
- package/lib/components/notification/defs.js +2 -4
- package/lib/components/notification/defs.js.map +1 -1
- package/lib/components/number-input/defs.js +1 -2
- package/lib/components/number-input/defs.js.map +1 -1
- package/lib/components/overflow-menu/defs.js +2 -4
- package/lib/components/overflow-menu/defs.js.map +1 -1
- package/lib/components/pagination/defs.js +1 -2
- package/lib/components/pagination/defs.js.map +1 -1
- package/lib/components/popover/defs.js +1 -2
- package/lib/components/popover/defs.js.map +1 -1
- package/lib/components/progress-bar/defs.js +3 -6
- package/lib/components/progress-bar/defs.js.map +1 -1
- package/lib/components/progress-indicator/defs.js +1 -2
- package/lib/components/progress-indicator/defs.js.map +1 -1
- package/lib/components/radio-button/defs.js +2 -4
- package/lib/components/radio-button/defs.js.map +1 -1
- package/lib/components/skeleton-text/defs.js +1 -2
- package/lib/components/skeleton-text/defs.js.map +1 -1
- package/lib/components/slug/defs.js +45 -0
- package/lib/components/slug/defs.js.map +1 -0
- package/lib/components/stack/defs.js +2 -4
- package/lib/components/stack/defs.js.map +1 -1
- package/lib/components/tabs/defs.js +2 -4
- package/lib/components/tabs/defs.js.map +1 -1
- package/lib/components/tag/defs.js +2 -4
- package/lib/components/tag/defs.js.map +1 -1
- package/lib/components/text-input/defs.js +4 -8
- package/lib/components/text-input/defs.js.map +1 -1
- package/lib/components/tile/defs.js.map +1 -1
- package/lib/components/toggle/defs.js +1 -2
- package/lib/components/toggle/defs.js.map +1 -1
- package/lib/components/ui-shell/defs.js +2 -4
- package/lib/components/ui-shell/defs.js.map +1 -1
- package/lib/components-react-node/accordion/accordion-item-skeleton.js +3 -6
- package/lib/components-react-node/accordion/accordion-item.js +5 -8
- package/lib/components-react-node/accordion/accordion-skeleton.js +3 -6
- package/lib/components-react-node/accordion/accordion.js +3 -6
- package/lib/components-react-node/breadcrumb/breadcrumb-item.js +3 -6
- package/lib/components-react-node/breadcrumb/breadcrumb-link.js +3 -6
- package/lib/components-react-node/breadcrumb/breadcrumb-overflow-menu.js +11 -6
- package/lib/components-react-node/breadcrumb/breadcrumb-skeleton.js +3 -6
- package/lib/components-react-node/breadcrumb/breadcrumb.js +3 -6
- package/lib/components-react-node/button/button-set.js +3 -6
- package/lib/components-react-node/button/button-skeleton.js +7 -6
- package/lib/components-react-node/button/button.js +3 -6
- package/lib/components-react-node/checkbox/checkbox-skeleton.js +3 -6
- package/lib/components-react-node/checkbox/checkbox.js +5 -8
- package/lib/components-react-node/code-snippet/code-snippet-skeleton.js +3 -6
- package/lib/components-react-node/code-snippet/code-snippet.js +3 -6
- package/lib/components-react-node/combo-box/combo-box-item.js +11 -6
- package/lib/components-react-node/combo-box/combo-box.js +5 -8
- package/lib/components-react-node/content-switcher/content-switcher-item.js +3 -6
- package/lib/components-react-node/content-switcher/content-switcher.js +5 -8
- package/lib/components-react-node/copy/copy.js +11 -6
- package/lib/components-react-node/copy-button/copy-button.js +3 -6
- package/lib/components-react-node/data-table/table-batch-actions.js +5 -8
- package/lib/components-react-node/data-table/table-body.js +3 -6
- package/lib/components-react-node/data-table/table-cell-content.js +3 -6
- package/lib/components-react-node/data-table/table-cell.js +3 -6
- package/lib/components-react-node/data-table/table-expanded-row.js +3 -6
- package/lib/components-react-node/data-table/table-head.js +3 -6
- package/lib/components-react-node/data-table/table-header-cell.js +5 -8
- package/lib/components-react-node/data-table/table-header-description.js +3 -6
- package/lib/components-react-node/data-table/table-header-row.js +5 -8
- package/lib/components-react-node/data-table/table-header-title.js +3 -6
- package/lib/components-react-node/data-table/table-row.js +5 -8
- package/lib/components-react-node/data-table/table-skeleton.js +3 -6
- package/lib/components-react-node/data-table/table-toolbar-content.js +3 -6
- package/lib/components-react-node/data-table/table-toolbar-search.js +5 -8
- package/lib/components-react-node/data-table/table-toolbar.js +3 -6
- package/lib/components-react-node/data-table/table.js +5 -8
- package/lib/components-react-node/date-picker/date-picker-input-skeleton.js +3 -6
- package/lib/components-react-node/date-picker/date-picker-input.js +3 -6
- package/lib/components-react-node/date-picker/date-picker.js +5 -8
- package/lib/components-react-node/dropdown/dropdown-item.js +3 -6
- package/lib/components-react-node/dropdown/dropdown-skeleton.js +3 -6
- package/lib/components-react-node/dropdown/dropdown.js +5 -8
- package/lib/components-react-node/file-uploader/demo-file-uploader.js +3 -6
- package/lib/components-react-node/file-uploader/file-uploader-button.js +5 -8
- package/lib/components-react-node/file-uploader/file-uploader-drop-container.js +5 -8
- package/lib/components-react-node/file-uploader/file-uploader-item.js +5 -8
- package/lib/components-react-node/file-uploader/file-uploader-skeleton.js +3 -6
- package/lib/components-react-node/file-uploader/file-uploader.js +3 -6
- package/lib/components-react-node/floating-menu/floating-menu.js +2 -4
- package/lib/components-react-node/form/form-item.js +3 -6
- package/lib/components-react-node/form-group/form-group.js +3 -6
- package/lib/components-react-node/icon-button/icon-button.js +7 -6
- package/lib/components-react-node/inline-loading/inline-loading.js +3 -6
- package/lib/components-react-node/layer/layer.js +5 -8
- package/lib/components-react-node/link/link.js +3 -6
- package/lib/components-react-node/list/list-item.js +3 -6
- package/lib/components-react-node/list/ordered-list.js +11 -6
- package/lib/components-react-node/list/unordered-list.js +3 -6
- package/lib/components-react-node/loading/loading.js +3 -6
- package/lib/components-react-node/modal/modal-body-content.js +3 -6
- package/lib/components-react-node/modal/modal-body.js +3 -6
- package/lib/components-react-node/modal/modal-close-button.js +3 -6
- package/lib/components-react-node/modal/modal-footer-button.js +7 -6
- package/lib/components-react-node/modal/modal-footer.js +3 -6
- package/lib/components-react-node/modal/modal-header.js +3 -6
- package/lib/components-react-node/modal/modal-heading.js +3 -6
- package/lib/components-react-node/modal/modal-label.js +3 -6
- package/lib/components-react-node/modal/modal.js +5 -8
- package/lib/components-react-node/multi-select/multi-select-item.js +11 -6
- package/lib/components-react-node/multi-select/multi-select.js +5 -8
- package/lib/components-react-node/notification/actionable-notification-button.js +7 -6
- package/lib/components-react-node/notification/actionable-notification.js +11 -6
- package/lib/components-react-node/notification/inline-notification.js +5 -8
- package/lib/components-react-node/notification/toast-notification.js +11 -6
- package/lib/components-react-node/number-input/number-input-skeleton.js +3 -6
- package/lib/components-react-node/number-input/number-input.js +12 -11
- package/lib/components-react-node/overflow-menu/overflow-menu-body.js +11 -6
- package/lib/components-react-node/overflow-menu/overflow-menu-item.js +3 -6
- package/lib/components-react-node/overflow-menu/overflow-menu.js +11 -6
- package/lib/components-react-node/pagination/pagination.js +5 -8
- package/lib/components-react-node/popover/popover-content.js +3 -6
- package/lib/components-react-node/popover/popover.js +3 -6
- package/lib/components-react-node/progress-bar/progress-bar.js +3 -6
- package/lib/components-react-node/progress-indicator/progress-indicator-skeleton.js +3 -6
- package/lib/components-react-node/progress-indicator/progress-indicator.js +3 -6
- package/lib/components-react-node/progress-indicator/progress-step-skeleton.js +3 -6
- package/lib/components-react-node/progress-indicator/progress-step.js +3 -6
- package/lib/components-react-node/radio-button/radio-button-group.js +5 -8
- package/lib/components-react-node/radio-button/radio-button-skeleton.js +3 -6
- package/lib/components-react-node/radio-button/radio-button.js +5 -8
- package/lib/components-react-node/search/search-skeleton.js +3 -6
- package/lib/components-react-node/search/search.js +5 -8
- package/lib/components-react-node/select/select-item-group.js +3 -6
- package/lib/components-react-node/select/select-item.js +3 -6
- package/lib/components-react-node/select/select-skeleton.js +3 -6
- package/lib/components-react-node/select/select.js +5 -8
- package/lib/components-react-node/skeleton-placeholder/skeleton-placeholder.js +3 -6
- package/lib/components-react-node/skeleton-text/skeleton-text.js +3 -6
- package/lib/components-react-node/skip-to-content/skip-to-content.js +3 -6
- package/lib/components-react-node/slider/slider-input.js +5 -8
- package/lib/components-react-node/slider/slider-skeleton.js +3 -6
- package/lib/components-react-node/slider/slider.js +5 -8
- package/lib/components-react-node/slug/defs.js +24 -0
- package/lib/components-react-node/slug/index.js +9 -0
- package/lib/components-react-node/slug/slug-action-button.js +35 -0
- package/lib/components-react-node/slug/slug.js +39 -0
- package/lib/components-react-node/stack/stack.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-body.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-cell.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-head.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-header-cell-skeleton.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-header-cell.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-header-row.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-row.js +3 -6
- package/lib/components-react-node/structured-list/structured-list.js +3 -6
- package/lib/components-react-node/tabs/tab-skeleton.js +3 -6
- package/lib/components-react-node/tabs/tab.js +11 -6
- package/lib/components-react-node/tabs/tabs-skeleton.js +3 -6
- package/lib/components-react-node/tabs/tabs.js +21 -16
- package/lib/components-react-node/tag/tag.js +5 -8
- package/lib/components-react-node/text-input/text-input-skeleton.js +3 -6
- package/lib/components-react-node/text-input/text-input.js +3 -6
- package/lib/components-react-node/textarea/textarea-skeleton.js +3 -6
- package/lib/components-react-node/textarea/textarea.js +11 -6
- package/lib/components-react-node/tile/clickable-tile.js +3 -6
- package/lib/components-react-node/tile/expandable-tile.js +5 -8
- package/lib/components-react-node/tile/radio-tile.js +17 -12
- package/lib/components-react-node/tile/selectable-tile.js +5 -8
- package/lib/components-react-node/tile/tile-group.js +5 -8
- package/lib/components-react-node/tile/tile.js +3 -6
- package/lib/components-react-node/toggle/toggle.js +5 -8
- package/lib/components-react-node/toggle-tip/toggletip.js +3 -6
- package/lib/components-react-node/tooltip/tooltip-content.js +11 -6
- package/lib/components-react-node/tooltip/tooltip.js +7 -6
- package/lib/components-react-node/ui-shell/header-global-action.js +7 -6
- package/lib/components-react-node/ui-shell/header-menu-button.js +5 -8
- package/lib/components-react-node/ui-shell/header-menu-item.js +11 -6
- package/lib/components-react-node/ui-shell/header-menu.js +3 -6
- package/lib/components-react-node/ui-shell/header-name.js +3 -6
- package/lib/components-react-node/ui-shell/header-nav-item.js +3 -6
- package/lib/components-react-node/ui-shell/header-nav.js +3 -6
- package/lib/components-react-node/ui-shell/header-panel.js +3 -6
- package/lib/components-react-node/ui-shell/header-side-nav-items.js +3 -6
- package/lib/components-react-node/ui-shell/header.js +3 -6
- package/lib/components-react-node/ui-shell/side-nav-divider.js +3 -6
- package/lib/components-react-node/ui-shell/side-nav-items.js +3 -6
- package/lib/components-react-node/ui-shell/side-nav-link.js +3 -6
- package/lib/components-react-node/ui-shell/side-nav-menu-item.js +3 -6
- package/lib/components-react-node/ui-shell/side-nav-menu.js +5 -8
- package/lib/components-react-node/ui-shell/side-nav.js +5 -8
- package/lib/components-react-node/ui-shell/switcher-divider.js +3 -6
- package/lib/components-react-node/ui-shell/switcher-item.js +3 -6
- package/lib/components-react-node/ui-shell/switcher.js +3 -6
- package/lib/globals/settings.js +2 -4
- package/lib/globals/settings.js.map +1 -1
- package/lib/globals/shared-enums.js +1 -2
- package/lib/globals/shared-enums.js.map +1 -1
- package/lib/globals/wrappers/createReactCustomElementType.js +3 -4
- package/lib/globals/wrappers/createReactCustomElementType.js.map +1 -1
- package/package.json +18 -17
- package/scss/components/breadcrumb/breadcrumb.scss +2 -2
- package/scss/components/button/button.scss +3 -3
- package/scss/components/code-snippet/code-snippet.scss +5 -5
- package/scss/components/combo-box/combo-box.scss +62 -1
- package/scss/components/content-switcher/content-switcher.scss +8 -7
- package/scss/components/copy-button/copy-button.scss +3 -2
- package/scss/components/data-table/_table-action.scss +1 -1
- package/scss/components/data-table/_table-sizes.scss +5 -5
- package/scss/components/data-table/_table-sort.scss +1 -1
- package/scss/components/date-picker/date-picker.scss +13 -0
- package/scss/components/dropdown/dropdown.scss +28 -4
- package/scss/components/icon-button/icon-button.scss +5 -0
- package/scss/components/list/list.scss +1 -1
- package/scss/components/modal/modal.scss +17 -4
- package/scss/components/multi-select/multi-select.scss +29 -2
- package/scss/components/notification/inline-notification.scss +5 -0
- package/scss/components/number-input/number-input.scss +19 -0
- package/scss/components/overflow-menu/overflow-menu.scss +1 -1
- package/scss/components/pagination/pagination.scss +1 -1
- package/scss/components/popover/popover.scss +57 -20
- package/scss/components/select/select.scss +19 -0
- package/scss/components/slug/slug.scss +135 -0
- package/scss/components/stack/stack.scss +3 -3
- package/scss/components/tabs/tabs.scss +7 -9
- package/scss/components/text-input/text-input.scss +44 -10
- package/scss/components/textarea/textarea.scss +35 -0
- package/scss/components/tile/tile.scss +1 -1
- package/scss/components/toggle-tip/toggletip.scss +3 -2
- package/scss/components/tooltip/tooltip.scss +1 -2
- package/scss/components/ui-shell/header.scss +4 -4
- package/scss/components/ui-shell/side-nav.scss +1 -1
- package/es/components/accordion/accordion-item-skeleton.d.ts.map +0 -1
- package/es/components/accordion/accordion-item.d.ts.map +0 -1
- package/es/components/accordion/accordion-skeleton.d.ts.map +0 -1
- package/es/components/accordion/accordion.d.ts.map +0 -1
- package/es/components/accordion/defs.d.ts.map +0 -1
- package/es/components/accordion/index.d.ts.map +0 -1
- package/es/components/breadcrumb/breadcrumb-item.d.ts.map +0 -1
- package/es/components/breadcrumb/breadcrumb-link.d.ts.map +0 -1
- package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts.map +0 -1
- package/es/components/breadcrumb/breadcrumb-skeleton.d.ts.map +0 -1
- package/es/components/breadcrumb/breadcrumb.d.ts.map +0 -1
- package/es/components/breadcrumb/index.d.ts.map +0 -1
- package/es/components/button/button-set.d.ts.map +0 -1
- package/es/components/button/button-skeleton.d.ts.map +0 -1
- package/es/components/button/button.d.ts.map +0 -1
- package/es/components/button/defs.d.ts.map +0 -1
- package/es/components/button/index.d.ts.map +0 -1
- package/es/components/checkbox/checkbox-skeleton.d.ts.map +0 -1
- package/es/components/checkbox/checkbox.d.ts.map +0 -1
- package/es/components/checkbox/index.d.ts.map +0 -1
- package/es/components/code-snippet/code-snippet-skeleton.d.ts.map +0 -1
- package/es/components/code-snippet/code-snippet.d.ts.map +0 -1
- package/es/components/code-snippet/defs.d.ts.map +0 -1
- package/es/components/code-snippet/index.d.ts.map +0 -1
- package/es/components/combo-box/combo-box-item.d.ts.map +0 -1
- package/es/components/combo-box/combo-box.d.ts.map +0 -1
- package/es/components/combo-box/index.d.ts.map +0 -1
- package/es/components/content-switcher/content-switcher-item.d.ts.map +0 -1
- package/es/components/content-switcher/content-switcher.d.ts.map +0 -1
- package/es/components/content-switcher/defs.d.ts.map +0 -1
- package/es/components/content-switcher/index.d.ts.map +0 -1
- package/es/components/copy/copy.d.ts.map +0 -1
- package/es/components/copy-button/copy-button.d.ts.map +0 -1
- package/es/components/copy-button/index.d.ts.map +0 -1
- package/es/components/data-table/defs.d.ts.map +0 -1
- package/es/components/data-table/index.d.ts.map +0 -1
- package/es/components/data-table/table-batch-actions.d.ts.map +0 -1
- package/es/components/data-table/table-body.d.ts.map +0 -1
- package/es/components/data-table/table-cell-content.d.ts.map +0 -1
- package/es/components/data-table/table-cell.d.ts.map +0 -1
- package/es/components/data-table/table-expanded-row.d.ts.map +0 -1
- package/es/components/data-table/table-head.d.ts.map +0 -1
- package/es/components/data-table/table-header-cell.d.ts.map +0 -1
- package/es/components/data-table/table-header-description.d.ts.map +0 -1
- package/es/components/data-table/table-header-row.d.ts.map +0 -1
- package/es/components/data-table/table-header-title.d.ts.map +0 -1
- package/es/components/data-table/table-row.d.ts.map +0 -1
- package/es/components/data-table/table-skeleton.d.ts.map +0 -1
- package/es/components/data-table/table-toolbar-content.d.ts.map +0 -1
- package/es/components/data-table/table-toolbar-search.d.ts.map +0 -1
- package/es/components/data-table/table-toolbar.d.ts.map +0 -1
- package/es/components/data-table/table.d.ts.map +0 -1
- package/es/components/date-picker/append-to-plugin.d.ts.map +0 -1
- package/es/components/date-picker/css-class-plugin.d.ts.map +0 -1
- package/es/components/date-picker/date-picker-input-skeleton.d.ts.map +0 -1
- package/es/components/date-picker/date-picker-input.d.ts.map +0 -1
- package/es/components/date-picker/date-picker.d.ts.map +0 -1
- package/es/components/date-picker/defs.d.ts.map +0 -1
- package/es/components/date-picker/fix-events-plugin.d.ts.map +0 -1
- package/es/components/date-picker/focus-plugin.d.ts.map +0 -1
- package/es/components/date-picker/icon-plugin.d.ts.map +0 -1
- package/es/components/date-picker/index.d.ts.map +0 -1
- package/es/components/date-picker/iso-date.d.ts.map +0 -1
- package/es/components/date-picker/month-select-plugin.d.ts.map +0 -1
- package/es/components/date-picker/range-plugin.d.ts.map +0 -1
- package/es/components/date-picker/shadow-dom-events-plugin.d.ts.map +0 -1
- package/es/components/date-picker/state-handshake-plugin.d.ts.map +0 -1
- package/es/components/dropdown/defs.d.ts.map +0 -1
- package/es/components/dropdown/dropdown-item.d.ts.map +0 -1
- package/es/components/dropdown/dropdown-skeleton.d.ts.map +0 -1
- package/es/components/dropdown/dropdown.d.ts.map +0 -1
- package/es/components/dropdown/index.d.ts.map +0 -1
- package/es/components/file-uploader/defs.d.ts.map +0 -1
- package/es/components/file-uploader/demo-file-uploader.d.ts.map +0 -1
- package/es/components/file-uploader/file-uploader-button.d.ts.map +0 -1
- package/es/components/file-uploader/file-uploader-drop-container.d.ts.map +0 -1
- package/es/components/file-uploader/file-uploader-item.d.ts.map +0 -1
- package/es/components/file-uploader/file-uploader-skeleton.d.ts.map +0 -1
- package/es/components/file-uploader/file-uploader.d.ts.map +0 -1
- package/es/components/file-uploader/index.d.ts.map +0 -1
- package/es/components/floating-menu/defs.d.ts.map +0 -1
- package/es/components/floating-menu/floating-menu-trigger.d.ts.map +0 -1
- package/es/components/floating-menu/floating-menu.d.ts.map +0 -1
- package/es/components/floating-menu/index.d.ts.map +0 -1
- package/es/components/form/form-item.d.ts.map +0 -1
- package/es/components/form/index.d.ts.map +0 -1
- package/es/components/form-group/form-group.d.ts.map +0 -1
- package/es/components/form-group/index.d.ts.map +0 -1
- package/es/components/icon-button/defs.d.ts.map +0 -1
- package/es/components/icon-button/icon-button.d.ts.map +0 -1
- package/es/components/icon-button/index.d.ts.map +0 -1
- package/es/components/inline-loading/defs.d.ts.map +0 -1
- package/es/components/inline-loading/index.d.ts.map +0 -1
- package/es/components/inline-loading/inline-loading.d.ts.map +0 -1
- package/es/components/layer/index.d.ts.map +0 -1
- package/es/components/layer/layer.d.ts.map +0 -1
- package/es/components/link/index.d.ts.map +0 -1
- package/es/components/link/link.d.ts.map +0 -1
- package/es/components/list/index.d.ts.map +0 -1
- package/es/components/list/list-item.d.ts.map +0 -1
- package/es/components/list/ordered-list.d.ts.map +0 -1
- package/es/components/list/unordered-list.d.ts.map +0 -1
- package/es/components/loading/defs.d.ts.map +0 -1
- package/es/components/loading/index.d.ts.map +0 -1
- package/es/components/loading/loading-icon.d.ts.map +0 -1
- package/es/components/loading/loading.d.ts.map +0 -1
- package/es/components/loading/types.d.ts.map +0 -1
- package/es/components/modal/defs.d.ts.map +0 -1
- package/es/components/modal/index.d.ts.map +0 -1
- package/es/components/modal/modal-body-content.d.ts.map +0 -1
- package/es/components/modal/modal-body.d.ts.map +0 -1
- package/es/components/modal/modal-close-button.d.ts.map +0 -1
- package/es/components/modal/modal-footer-button.d.ts.map +0 -1
- package/es/components/modal/modal-footer.d.ts.map +0 -1
- package/es/components/modal/modal-header.d.ts.map +0 -1
- package/es/components/modal/modal-heading.d.ts.map +0 -1
- package/es/components/modal/modal-label.d.ts.map +0 -1
- package/es/components/modal/modal.d.ts.map +0 -1
- package/es/components/multi-select/defs.d.ts.map +0 -1
- package/es/components/multi-select/index.d.ts.map +0 -1
- package/es/components/multi-select/multi-select-item.d.ts.map +0 -1
- package/es/components/multi-select/multi-select.d.ts.map +0 -1
- package/es/components/notification/actionable-notification-button.d.ts.map +0 -1
- package/es/components/notification/actionable-notification.d.ts.map +0 -1
- package/es/components/notification/defs.d.ts.map +0 -1
- package/es/components/notification/index.d.ts.map +0 -1
- package/es/components/notification/inline-notification.d.ts.map +0 -1
- package/es/components/notification/toast-notification.d.ts.map +0 -1
- package/es/components/number-input/defs.d.ts.map +0 -1
- package/es/components/number-input/index.d.ts.map +0 -1
- package/es/components/number-input/number-input-skeleton.d.ts.map +0 -1
- package/es/components/number-input/number-input.d.ts.map +0 -1
- package/es/components/overflow-menu/defs.d.ts.map +0 -1
- package/es/components/overflow-menu/index.d.ts.map +0 -1
- package/es/components/overflow-menu/overflow-menu-body.d.ts.map +0 -1
- package/es/components/overflow-menu/overflow-menu-item.d.ts.map +0 -1
- package/es/components/overflow-menu/overflow-menu.d.ts.map +0 -1
- package/es/components/pagination/defs.d.ts.map +0 -1
- package/es/components/pagination/index.d.ts.map +0 -1
- package/es/components/pagination/pagination.d.ts.map +0 -1
- package/es/components/popover/defs.d.ts.map +0 -1
- package/es/components/popover/index.d.ts.map +0 -1
- package/es/components/popover/popover-content.d.ts.map +0 -1
- package/es/components/popover/popover.d.ts.map +0 -1
- package/es/components/progress-bar/defs.d.ts.map +0 -1
- package/es/components/progress-bar/index.d.ts.map +0 -1
- package/es/components/progress-bar/progress-bar.d.ts.map +0 -1
- package/es/components/progress-indicator/defs.d.ts.map +0 -1
- package/es/components/progress-indicator/index.d.ts.map +0 -1
- package/es/components/progress-indicator/progress-indicator-skeleton.d.ts.map +0 -1
- package/es/components/progress-indicator/progress-indicator.d.ts.map +0 -1
- package/es/components/progress-indicator/progress-step-skeleton.d.ts.map +0 -1
- package/es/components/progress-indicator/progress-step.d.ts.map +0 -1
- package/es/components/radio-button/defs.d.ts.map +0 -1
- package/es/components/radio-button/index.d.ts.map +0 -1
- package/es/components/radio-button/radio-button-group.d.ts.map +0 -1
- package/es/components/radio-button/radio-button-skeleton.d.ts.map +0 -1
- package/es/components/radio-button/radio-button.d.ts.map +0 -1
- package/es/components/search/index.d.ts.map +0 -1
- package/es/components/search/search-skeleton.d.ts.map +0 -1
- package/es/components/search/search.d.ts.map +0 -1
- package/es/components/select/index.d.ts.map +0 -1
- package/es/components/select/select-item-group.d.ts.map +0 -1
- package/es/components/select/select-item.d.ts.map +0 -1
- package/es/components/select/select-skeleton.d.ts.map +0 -1
- package/es/components/select/select.d.ts.map +0 -1
- package/es/components/skeleton-placeholder/index.d.ts.map +0 -1
- package/es/components/skeleton-placeholder/skeleton-placeholder.d.ts.map +0 -1
- package/es/components/skeleton-text/defs.d.ts.map +0 -1
- package/es/components/skeleton-text/index.d.ts.map +0 -1
- package/es/components/skeleton-text/skeleton-text.d.ts.map +0 -1
- package/es/components/skip-to-content/index.d.ts.map +0 -1
- package/es/components/skip-to-content/skip-to-content.d.ts.map +0 -1
- package/es/components/slider/index.d.ts.map +0 -1
- package/es/components/slider/slider-input.d.ts.map +0 -1
- package/es/components/slider/slider-skeleton.d.ts.map +0 -1
- package/es/components/slider/slider.d.ts.map +0 -1
- package/es/components/stack/defs.d.ts.map +0 -1
- package/es/components/stack/index.d.ts.map +0 -1
- package/es/components/stack/stack.d.ts.map +0 -1
- package/es/components/structured-list/index.d.ts.map +0 -1
- package/es/components/structured-list/structured-list-body.d.ts.map +0 -1
- package/es/components/structured-list/structured-list-cell.d.ts.map +0 -1
- package/es/components/structured-list/structured-list-head.d.ts.map +0 -1
- package/es/components/structured-list/structured-list-header-cell-skeleton.d.ts.map +0 -1
- package/es/components/structured-list/structured-list-header-cell.d.ts.map +0 -1
- package/es/components/structured-list/structured-list-header-row.d.ts.map +0 -1
- package/es/components/structured-list/structured-list-row.d.ts.map +0 -1
- package/es/components/structured-list/structured-list.d.ts.map +0 -1
- package/es/components/tabs/defs.d.ts.map +0 -1
- package/es/components/tabs/index.d.ts.map +0 -1
- package/es/components/tabs/tab-skeleton.d.ts.map +0 -1
- package/es/components/tabs/tab.d.ts.map +0 -1
- package/es/components/tabs/tabs-skeleton.d.ts.map +0 -1
- package/es/components/tabs/tabs.d.ts.map +0 -1
- package/es/components/tag/defs.d.ts.map +0 -1
- package/es/components/tag/index.d.ts.map +0 -1
- package/es/components/tag/tag.d.ts.map +0 -1
- package/es/components/tag/types.d.ts.map +0 -1
- package/es/components/text-input/defs.d.ts.map +0 -1
- package/es/components/text-input/index.d.ts.map +0 -1
- package/es/components/text-input/text-input-skeleton.d.ts.map +0 -1
- package/es/components/text-input/text-input.d.ts.map +0 -1
- package/es/components/textarea/defs.d.ts.map +0 -1
- package/es/components/textarea/index.d.ts.map +0 -1
- package/es/components/textarea/textarea-skeleton.d.ts.map +0 -1
- package/es/components/textarea/textarea.d.ts.map +0 -1
- package/es/components/tile/clickable-tile.d.ts.map +0 -1
- package/es/components/tile/defs.d.ts.map +0 -1
- package/es/components/tile/expandable-tile.d.ts.map +0 -1
- package/es/components/tile/index.d.ts.map +0 -1
- package/es/components/tile/radio-tile.d.ts.map +0 -1
- package/es/components/tile/selectable-tile.d.ts.map +0 -1
- package/es/components/tile/tile-group.d.ts.map +0 -1
- package/es/components/tile/tile.d.ts.map +0 -1
- package/es/components/toggle/defs.d.ts.map +0 -1
- package/es/components/toggle/index.d.ts.map +0 -1
- package/es/components/toggle/toggle.d.ts.map +0 -1
- package/es/components/toggle-tip/index.d.ts.map +0 -1
- package/es/components/toggle-tip/toggletip.d.ts.map +0 -1
- package/es/components/tooltip/index.d.ts.map +0 -1
- package/es/components/tooltip/tooltip-content.d.ts.map +0 -1
- package/es/components/tooltip/tooltip.d.ts.map +0 -1
- package/es/components/ui-shell/defs.d.ts.map +0 -1
- package/es/components/ui-shell/header-global-action.d.ts.map +0 -1
- package/es/components/ui-shell/header-menu-button.d.ts.map +0 -1
- package/es/components/ui-shell/header-menu-item.d.ts.map +0 -1
- package/es/components/ui-shell/header-menu.d.ts.map +0 -1
- package/es/components/ui-shell/header-name.d.ts.map +0 -1
- package/es/components/ui-shell/header-nav-item.d.ts.map +0 -1
- package/es/components/ui-shell/header-nav.d.ts.map +0 -1
- package/es/components/ui-shell/header-panel.d.ts.map +0 -1
- package/es/components/ui-shell/header-side-nav-items.d.ts.map +0 -1
- package/es/components/ui-shell/header.d.ts.map +0 -1
- package/es/components/ui-shell/index.d.ts.map +0 -1
- package/es/components/ui-shell/side-nav-divider.d.ts.map +0 -1
- package/es/components/ui-shell/side-nav-items.d.ts.map +0 -1
- package/es/components/ui-shell/side-nav-link.d.ts.map +0 -1
- package/es/components/ui-shell/side-nav-menu-item.d.ts.map +0 -1
- package/es/components/ui-shell/side-nav-menu.d.ts.map +0 -1
- package/es/components/ui-shell/side-nav.d.ts.map +0 -1
- package/es/components/ui-shell/switcher-divider.d.ts.map +0 -1
- package/es/components/ui-shell/switcher-item.d.ts.map +0 -1
- package/es/components/ui-shell/switcher.d.ts.map +0 -1
- package/es/globals/decorators/carbon-element.d.ts.map +0 -1
- package/es/globals/decorators/host-listener.d.ts.map +0 -1
- package/es/globals/directives/if-non-empty.d.ts.map +0 -1
- package/es/globals/directives/spread.d.ts.map +0 -1
- package/es/globals/internal/collection-helpers.d.ts.map +0 -1
- package/es/globals/internal/handle.d.ts.map +0 -1
- package/es/globals/internal/radio-group-manager.d.ts.map +0 -1
- package/es/globals/internal/storybook-cdn.d.ts.map +0 -1
- package/es/globals/mixins/focus.d.ts.map +0 -1
- package/es/globals/mixins/form.d.ts.map +0 -1
- package/es/globals/mixins/host-listener.d.ts.map +0 -1
- package/es/globals/mixins/on.d.ts.map +0 -1
- package/es/globals/mixins/validity.d.ts.map +0 -1
- package/es/globals/settings.d.ts.map +0 -1
- package/es/globals/shared-enums.d.ts.map +0 -1
- package/es/globals/wrappers/createReactCustomElementType.d.ts.map +0 -1
- package/es/index.d.ts.map +0 -1
- package/es/polyfills/element-closest.d.ts.map +0 -1
- package/es/polyfills/element-matches.d.ts.map +0 -1
- package/es/polyfills/index.d.ts.map +0 -1
- package/es/polyfills/toggle-attribute.d.ts.map +0 -1
- package/es/polyfills/toggle-class.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/text-input/text-input.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAWvC,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACX,MAAM,QAAQ,CAAC;AAGhB,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,GACX,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF;;;;;;;GAOG;AACH,cACM,YAAa,SAAQ,iBAAoC;IAC7D;;OAEG;IAEH,SAAS,CAAC,MAAM,EAAG,gBAAgB,CAAC;IAEpC;;OAEG;IACH,SAAS,CAAC,MAAM,SAAM;IAEtB;;;;OAIG;IACH,SAAS,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK;IAIxC,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;OAEG;IAEH,YAAY,SAAM;IAElB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,UAAS;IAEtB;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,QAAQ,MAAC;IAET;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,uBAAuB,SAAiC;IAExD;;OAEG;IAEH,iBAAiB,SAAmB;IAEpC;;OAEG;IAEH,iBAAiB,SAAmB;IAEpC;;OAEG;IAMH,4BAA4B,UAAS;IAErC;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IAEH,MAAM,UAAS;IAEf;;;OAGG;IAEH,gBAAgB,0BAAkC;IAElD;;;OAGG;IAEH,gBAAgB,0BAAkC;IAElD;;OAEG;IAEH,IAAI,aAAmB;IAEvB;;OAEG;IAEH,eAAe,SAAM;IAErB;;OAEG;IACH,IACI,KAAK,WAQR;IAED,IAAI,KAAK,CAAC,KAAK,QAAA,EAUd;IAED;;OAEG;IACH,OAAO,CAAC,8BAA8B;IAKtC,MAAM;IAuMN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"text-input.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport View16 from '@carbon/icons/lib/view/16';\nimport ViewOff16 from '@carbon/icons/lib/view--off/16';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport FormMixin from '../../globals/mixins/form';\nimport ValidityMixin from '../../globals/mixins/validity';\nimport {\n INPUT_COLOR_SCHEME,\n INPUT_SIZE,\n INPUT_TOOLTIP_ALIGNMENT,\n INPUT_TOOLTIP_DIRECTION,\n INPUT_TYPE,\n} from './defs';\nimport styles from './text-input.scss';\n\nexport {\n INPUT_COLOR_SCHEME,\n INPUT_SIZE,\n INPUT_TOOLTIP_ALIGNMENT,\n INPUT_TOOLTIP_DIRECTION,\n INPUT_TYPE,\n};\n\n/**\n * Text Input element. Supports all the usual attributes for textual input types\n *\n * @element cds-text-input\n * @slot helper-text - The helper text.\n * @slot label-text - The label text.\n * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n@customElement(`${prefix}-text-input`)\nclass CDSTextInput extends ValidityMixin(FormMixin(LitElement)) {\n /**\n * The underlying input element\n */\n @query('input')\n protected _input!: HTMLInputElement;\n\n /**\n * The internal value.\n */\n protected _value = '';\n\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n protected _handleInput({ target }: Event) {\n this.value = (target as HTMLInputElement).value;\n }\n\n _handleFormdata(event: Event) {\n const { formData } = event as any; // TODO: Wait for `FormDataEvent` being available in `lib.dom.d.ts`\n const { disabled, name, value } = this;\n if (!disabled) {\n formData.append(name, value);\n }\n }\n\n /**\n * May be any of the standard HTML autocomplete options\n */\n @property()\n autocomplete = '';\n\n /**\n * Sets the input to be focussed automatically on page load. Defaults to false\n */\n @property({ type: Boolean })\n autofocus = false;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Specify whether to display the character counter\n */\n @property({ type: Boolean, attribute: 'enable-counter', reflect: true })\n enableCounter = false;\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText = '';\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * Max character count allowed for input. This is needed in order for enableCounter to display\n */\n @property({ type: Number, attribute: 'max-count', reflect: true })\n maxCount;\n\n /**\n * Specify whether the control is currently in warning state\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n @property({ attribute: 'hide-label', type: Boolean, reflect: true })\n hideLabel = false;\n\n /**\n * Generic label that will be used as the textual representation of what this field is for\n */\n @property({ attribute: 'label' })\n label = '';\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * Pattern to validate the input against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Value to display when the input has an empty `value`\n */\n @property({ reflect: true })\n placeholder = '';\n\n /**\n * Specify if the component should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The special validity message for `required`.\n */\n @property({ attribute: 'required-validity-message' })\n requiredValidityMessage = 'Please fill out this field.';\n\n /**\n * \"Hide password\" tooltip text on password visibility toggle\n */\n @property()\n hidePasswordLabel = 'Hide password';\n\n /**\n * \"Show password\" tooltip text on password visibility toggle\n */\n @property()\n showPasswordLabel = 'Show password';\n\n /**\n * Boolean property to render password visibility toggle\n */\n @property({\n type: Boolean,\n attribute: 'show-password-visibility-toggle',\n reflect: true,\n })\n showPasswordVisibilityToggle = false;\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * true to use the inline version.\n */\n @property({ type: Boolean, reflect: true })\n inline = false;\n\n /**\n * Specify the alignment of the tooltip to the icon-only button.\n * Can be one of: start, center, or end.\n */\n @property()\n tooltipAlignment = INPUT_TOOLTIP_ALIGNMENT.CENTER;\n\n /**\n * Specify the direction of the tooltip for icon-only buttons.\n * Can be either top, right, bottom, or left.\n */\n @property()\n tooltipDirection = INPUT_TOOLTIP_DIRECTION.BOTTOM;\n\n /**\n * The type of the input. Can be one of the types listed in the INPUT_TYPE enum\n */\n @property({ reflect: true })\n type = INPUT_TYPE.TEXT;\n\n /**\n * The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n @property({ attribute: 'validity-message' })\n validityMessage = '';\n\n /**\n * The value of the input.\n */\n @property({ reflect: true })\n get value() {\n // FIXME: Figure out how to deal with TS2611\n // once we have the input we can directly query for the value\n if (this._input) {\n return this._input.value;\n }\n // but before then _value will work fine\n return this._value;\n }\n\n set value(value) {\n const oldValue = this._value;\n this._value = value;\n // make sure that lit-element updates the right properties\n this.requestUpdate('value', oldValue);\n // we set the value directly on the input (when available)\n // so that programatic manipulation updates the UI correctly\n if (this._input) {\n this._input.value = value;\n }\n }\n\n /**\n * Handles password visibility toggle button click\n */\n private handleTogglePasswordVisibility() {\n this.type =\n this.type === INPUT_TYPE.PASSWORD ? INPUT_TYPE.TEXT : INPUT_TYPE.PASSWORD;\n }\n\n render() {\n const {\n disabled,\n enableCounter,\n helperText,\n hideLabel,\n inline,\n invalid,\n invalidText,\n label,\n maxCount,\n readonly,\n required,\n size,\n type,\n warn,\n warnText,\n value,\n _handleInput: handleInput,\n } = this;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--text-input__invalid-icon`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--text-input__invalid-icon ${prefix}--text-input__invalid-icon--warning`,\n });\n\n let normalizedProps = {\n disabled: !readonly && disabled,\n invalid: !readonly && invalid,\n warn: !readonly && !invalid && warn,\n 'slot-name': '',\n 'slot-text': '',\n icon: null,\n };\n\n if (normalizedProps.invalid) {\n normalizedProps.icon = invalidIcon;\n normalizedProps['slot-name'] = 'invalid-text';\n normalizedProps['slot-text'] = invalidText;\n } else if (normalizedProps.warn) {\n normalizedProps.icon = warnIcon;\n normalizedProps['slot-name'] = 'warn-text';\n normalizedProps['slot-text'] = warnText;\n }\n\n const counterClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--text-input__label-counter`]: true,\n [`${prefix}--label--disabled`]: disabled,\n });\n\n const inputWrapperClasses = classMap({\n [`${prefix}--form-item`]: true,\n [`${prefix}--text-input-wrapper`]: true,\n [`${prefix}--text-input-wrapper--inline`]: inline,\n [`${prefix}--text-input-wrapper--readonly`]: readonly,\n [`${prefix}--text-input-wrapper--inline--invalid`]:\n inline && normalizedProps.invalid,\n });\n\n const inputClasses = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--text-input--invalid`]: normalizedProps.invalid,\n [`${prefix}--text-input--warning`]: normalizedProps.warn,\n [`${prefix}--text-input--${size}`]: size,\n [`${prefix}--layout--size-${size}`]: size,\n [`${prefix}--password-input`]: type === INPUT_TYPE.PASSWORD,\n });\n\n const fieldOuterWrapperClasses = classMap({\n [`${prefix}--text-input__field-outer-wrapper`]: true,\n [`${prefix}--text-input__field-outer-wrapper--inline`]: inline,\n });\n\n const fieldWrapperClasses = classMap({\n [`${prefix}--text-input__field-wrapper`]: true,\n [`${prefix}--text-input__field-wrapper--warning`]: normalizedProps.warn,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n [`${prefix}--label--disabled`]: normalizedProps.disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: normalizedProps.disabled,\n });\n\n const passwordIsVisible = type !== INPUT_TYPE.PASSWORD;\n const passwordVisibilityIcon = passwordIsVisible\n ? ViewOff16({ class: `${prefix}--icon-visibility-off` })\n : View16({ class: `${prefix}--icon-visibility-on` });\n\n const passwordVisibilityToggleClasses = classMap({\n [`${prefix}--text-input--password__visibility__toggle`]: true,\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--icon-only`]: true,\n [`${prefix}--tooltip__trigger`]: true,\n [`${prefix}--tooltip--a11y`]: true,\n [`${prefix}--btn--disabled`]: normalizedProps.disabled,\n [`${prefix}--tooltip--${this.tooltipDirection}`]: this.tooltipDirection,\n [`${prefix}--tooltip--align-${this.tooltipAlignment}`]:\n this.tooltipAlignment,\n });\n\n const passwordButtonLabel = html`\n <span class=\"${prefix}--assistive-text\">\n ${passwordIsVisible ? this.hidePasswordLabel : this.showPasswordLabel}\n </span>\n `;\n\n const passwordVisibilityButton = () => html`\n <button\n type=\"button\"\n class=\"${passwordVisibilityToggleClasses}\"\n ?disabled=\"${normalizedProps.disabled}\"\n @click=\"${this.handleTogglePasswordVisibility}\">\n ${!normalizedProps.disabled ? passwordButtonLabel : null}\n ${passwordVisibilityIcon}\n </button>\n `;\n\n const textCount = value?.length;\n\n const counter =\n enableCounter && maxCount\n ? html` <label class=\"${counterClasses}\">\n <slot name=\"label-text\">${textCount}/${maxCount}</slot>\n </label>`\n : null;\n\n const labelText =\n label && !hideLabel\n ? html`<label class=\"${labelClasses}\"> ${label} </label>`\n : null;\n\n const labelWrapper = html`<div class=\"${prefix}--text-input__label-wrapper\">\n ${labelText} ${counter}\n </div>`;\n\n const helper = helperText\n ? html`<div\n class=\"${helperTextClasses}\"\n id=\"helper-text\"\n ?hidden=\"${normalizedProps.invalid || normalizedProps.warn}\">\n <slot name=\"helper-text\"> ${helperText} </slot>\n </div>`\n : null;\n\n return html`\n <div class=\"${inputWrapperClasses}\">\n ${!inline\n ? labelWrapper\n : html`<div class=\"${prefix}--text-input__label-helper-wrapper\">\n ${labelWrapper} ${helper}\n </div>`}\n <div class=\"${fieldOuterWrapperClasses}\">\n <div class=\"${fieldWrapperClasses}\" ?data-invalid=\"${invalid}\">\n ${normalizedProps.icon}\n <input\n autocomplete=\"${this.autocomplete}\"\n ?autofocus=\"${this.autofocus}\"\n class=\"${inputClasses}\"\n ?data-invalid=\"${invalid}\"\n ?disabled=\"${disabled}\"\n aria-describedby=\"helper-text\"\n id=\"input\"\n name=\"${ifNonEmpty(this.name)}\"\n pattern=\"${ifNonEmpty(this.pattern)}\"\n placeholder=\"${ifNonEmpty(this.placeholder)}\"\n ?readonly=\"${readonly}\"\n ?required=\"${required}\"\n type=\"${ifNonEmpty(type)}\"\n .value=\"${this._value}\"\n maxlength=\"${ifNonEmpty(maxCount)}\"\n @input=\"${handleInput}\" />\n ${this.showPasswordVisibilityToggle &&\n (type === INPUT_TYPE.PASSWORD || type === INPUT_TYPE.TEXT)\n ? passwordVisibilityButton()\n : null}\n </div>\n ${!inline ? helper : null}\n <div\n class=\"${prefix}--form-requirement\"\n ?hidden=\"${!normalizedProps.invalid && !normalizedProps.warn}\">\n <slot name=\"${normalizedProps['slot-name']}\">\n ${normalizedProps['slot-text']}\n </slot>\n </div>\n </div>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTextInput;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/textarea/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,yBAAyB,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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\nexport { FORM_ELEMENT_COLOR_SCHEME as TEXTAREA_COLOR_SCHEME } from '../../globals/shared-enums';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/textarea/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,YAAY,CAAC;AACpB,OAAO,qBAAqB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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\nimport './textarea';\nimport './textarea-skeleton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/textarea/textarea-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,mBAAoB,SAAQ,UAAU;IAC1C,MAAM;IAON,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"textarea-skeleton.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './textarea.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of text area.\n */\n@customElement(`${prefix}-textarea-skeleton`)\nclass CDSTextareaSkeleton extends LitElement {\n render() {\n return html`\n <span class=\"${prefix}--label ${prefix}--skeleton\"></span>\n <div class=\"${prefix}--skeleton ${prefix}--text-area\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTextareaSkeleton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/textarea/textarea.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAUH,OAAO,YAAY,MAAM,0BAA0B,CAAC;AAIpD;;;;;;;GAOG;AACH,cACM,WAAY,SAAQ,YAAY;IACpC;;;;OAIG;IACH,SAAS,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK;IAIxC;;OAEG;IAEH,IAAI,MAAC;IAEL;;OAEG;IAEH,EAAE,SAAM;IAER;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,SAAK;IAET;;;OAGG;IAEH,SAAS,CAAC,SAAS,EAAG,mBAAmB,CAAC;IAE1C,MAAM;IA+FN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,WAAW,CAAC","file":"textarea.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport { prefix } from '../../globals/settings';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport CDSTextInput from '../text-input/text-input';\nimport styles from './textarea.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Text area.\n *\n * @element cds-textarea\n * @slot helper-text - The helper text.\n * @slot label-text - The label text.\n * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n@customElement(`${prefix}-textarea`)\nclass CDSTextarea extends CDSTextInput {\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n protected _handleInput({ target }: Event) {\n this.value = (target as HTMLTextAreaElement).value;\n }\n\n /**\n * The number of columns for the stextarea to show by default\n */\n @property({ type: Number })\n cols;\n\n /**\n * ID to link the `label` and `textarea`\n */\n @property()\n id = '';\n\n /**\n * Pattern to validate the textarea against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The number of rows for the textarea to show by default\n */\n @property()\n rows = 4;\n\n /**\n * Get a reference to the underlying textarea so we can directly apply values.\n * This lets us fixe a bug where after a user would clear text, the value wouldn't update programmatically\n */\n @query('textarea')\n protected _textarea!: HTMLTextAreaElement;\n\n render() {\n const { enableCounter, maxCount } = this;\n\n const textCount = this.value?.length;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--text-area__invalid-icon`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--text-area__invalid-icon ${prefix}--text-area__invalid-icon--warning`,\n });\n\n const textareaClasses = classMap({\n [`${prefix}--text-area`]: true,\n [`${prefix}--text-area--warn`]: this.warn,\n [`${prefix}--text-area--invalid`]: this.invalid,\n });\n\n const textareaWrapperClasses = classMap({\n [`${prefix}--text-area__wrapper`]: true,\n [`${prefix}--text-area__wrapper--warn`]: this.warn,\n [`${prefix}--text-area__wrapper--readonly`]: this.readonly,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: this.disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: this.disabled,\n });\n\n const counter =\n enableCounter && maxCount\n ? html` <label class=\"${labelClasses}\">\n <slot name=\"label-text\">${textCount}/${maxCount}</slot>\n </label>`\n : null;\n\n const icon = () => {\n if (this.invalid) {\n return invalidIcon;\n } else if (this.warn && !this.invalid) {\n return warnIcon;\n }\n return null;\n };\n\n return html`\n <div class=\"${prefix}--text-area__label-wrapper\">\n ${this.hideLabel\n ? html``\n : html`\n <label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${this.label} </slot>\n </label>\n `}\n ${counter}\n </div>\n <div class=\"${textareaWrapperClasses}\" ?data-invalid=\"${this.invalid}\">\n ${icon()}\n <textarea\n autocomplete=\"${this.autocomplete}\"\n ?autofocus=\"${this.autofocus}\"\n class=\"${textareaClasses}\"\n cols=\"${ifDefined(this.cols)}\"\n ?data-invalid=\"${this.invalid}\"\n ?disabled=\"${this.disabled}\"\n id=\"input\"\n name=\"${ifNonEmpty(this.name)}\"\n pattern=\"${ifNonEmpty(this.pattern)}\"\n placeholder=\"${ifNonEmpty(this.placeholder)}\"\n ?readonly=\"${this.readonly}\"\n ?required=\"${this.required}\"\n rows=\"${ifDefined(this.rows)}\"\n .value=\"${this.value}\"\n maxlength=\"${ifNonEmpty(this.maxCount)}\"\n @input=\"${this._handleInput}\"></textarea>\n </div>\n <div class=\"${helperTextClasses}\" ?hidden=\"${this.invalid || this.warn}\">\n <slot name=\"helper-text\"> ${this.helperText} </slot>\n </div>\n <div\n class=\"${prefix}--form-requirement\"\n ?hidden=\"${!this.invalid && !this.warn}\">\n <slot name=\"${this.invalid ? 'invalid-text' : 'warn-text'}\">\n ${this.invalid ? this.invalidText : this.warnText}\n </slot>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTextarea;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/clickable-tile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAI3C;;;;GAIG;AACH,cACM,gBAAiB,SAAQ,OAAO;IACpC,SAAS,KAAK,QAAQ,mHASrB;IAED;;OAEG;IAEH,WAAW,oBAA6B;IAExC;;OAEG;IAEH,QAAQ,SAAY;IAEpB,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC","file":"clickable-tile.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSLink from '../link/link';\nimport { TILE_COLOR_SCHEME } from './defs';\nimport styles from './tile.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Clickable tile.\n *\n * @element cds-clickable-tile\n */\n@customElement(`${prefix}-clickable-tile`)\nclass CDSClickableTile extends CDSLink {\n protected get _classes() {\n const { colorScheme, disabled } = this;\n return classMap({\n [`${prefix}--link`]: true,\n [`${prefix}--link--disabled`]: disabled,\n [`${prefix}--tile`]: true,\n [`${prefix}--tile--clickable`]: true,\n [`${prefix}--tile--${colorScheme}`]: colorScheme,\n });\n }\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = TILE_COLOR_SCHEME.REGULAR;\n\n /**\n * The a11y role for `<a>`.\n */\n @property({ attribute: 'link-role' })\n linkRole = 'button';\n\n static styles = styles;\n}\n\nexport default CDSClickableTile;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,yBAAyB,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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\nexport { FORM_ELEMENT_COLOR_SCHEME as TILE_COLOR_SCHEME } from '../../globals/shared-enums';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/expandable-tile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK3C;;;;;;;;GAQG;AACH,cACM,iBAAkB,SAAQ,sBAAyC;IACvE;;OAEG;IACH,OAAO,CAAC,sBAAsB,CAAK;IAEnC;;;;OAIG;IACH,OAAO,CAAC,oCAAoC;IAiB5C,OAAO,CAAC,aAAa;IAwBrB,OAAO,CAAC,YAAY,CAIlB;IAEF;;OAEG;IAEH,WAAW,oBAA6B;IAExC;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,eAAe,UAAS;IAExB,MAAM;IAqCN;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"expandable-tile.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport { prefix } from '../../globals/settings';\nimport HostListener from '../../globals/decorators/host-listener';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport { TILE_COLOR_SCHEME } from './defs';\nimport styles from './tile.scss';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Expandable tile.\n *\n * @element cds-expandable-tile\n * @fires cds-expandable-tile-beingtoggled\n * The custom event fired before the expanded state is changed upon a user gesture.\n * Cancellation of this event stops changing the user-initiated change in expanded state.\n * @fires cds-expandable-tile-toggled - The custom event fired after a the expanded state is changed upon a user gesture.\n */\n@customElement(`${prefix}-expandable-tile`)\nclass CDSExpandableTile extends HostListenerMixin(FocusMixin(LitElement)) {\n /**\n * The computed height of the below-the-fold content.\n */\n private _belowTheContentHeight = 0;\n\n /**\n * Handles `slotchange` event on the below-the-fold content.\n *\n * @param event The event.\n */\n private _handleSlotChangeBelowTheFoldContent(event: Event) {\n this._belowTheContentHeight = (event.target as HTMLSlotElement)\n .assignedNodes()\n .reduce(\n (acc, item) => acc + ((item as HTMLElement).offsetHeight ?? 0),\n 0\n );\n\n if (!this._belowTheContentHeight) {\n const element = getComputedStyle(\n this.querySelector('cds-tile-below-the-fold-content') as any\n );\n this._belowTheContentHeight = parseInt(element.height, 10);\n }\n this.requestUpdate();\n }\n\n private _handleExpand() {\n const expanded = !this.expanded;\n this.focus();\n const init = {\n bubbles: true,\n composed: true,\n detail: {\n expanded,\n },\n };\n const constructor = this.constructor as typeof CDSExpandableTile;\n const beforeChangeEvent = new CustomEvent(constructor.eventBeforeToggle, {\n ...init,\n cancelable: true,\n });\n if (this.dispatchEvent(beforeChangeEvent)) {\n this.expanded = expanded;\n const afterChangeEvent = new CustomEvent(constructor.eventToggle, init);\n this.dispatchEvent(afterChangeEvent);\n }\n }\n\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = () => {\n if (!this.withInteractive) {\n this._handleExpand();\n }\n };\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = TILE_COLOR_SCHEME.REGULAR;\n\n /**\n * `true` to expand this expandable tile.\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * `true` to expand this expandable tile.\n */\n @property({ type: Boolean, reflect: true, attribute: 'with-interactive' })\n withInteractive = false;\n\n render() {\n const {\n expanded,\n withInteractive,\n _belowTheContentHeight: belowTheContentHeight,\n _handleSlotChangeBelowTheFoldContent: handleSlotChangeBelowTheFoldContent,\n } = this;\n\n const classes = classMap({\n [`${prefix}--tile__chevron`]: true,\n [`${prefix}--tile__chevron--interactive`]: withInteractive,\n });\n return html`\n <button\n class=\"${classes}\"\n aria-labelledby=\"above-the-fold-content\"\n aria-controls=\"below-the-fold-content\"\n tabindex=\"0\"\n @click=\"${withInteractive ? this._handleExpand : ''}\"\n aria-expanded=\"${String(Boolean(expanded))}\">\n ${ChevronDown16({\n id: 'icon',\n })}\n </button>\n <div id=\"content\" class=\"${prefix}--tile-content\">\n <div><slot name=\"above-the-fold-content\"></slot></div>\n <div\n class=\"${prefix}-ce--expandable-tile--below-the-fold-content\"\n style=\"${ifDefined(\n !expanded ? undefined : `max-height: ${belowTheContentHeight}px`\n )}\">\n <slot @slotchange=\"${handleSlotChangeBelowTheFoldContent}\"></slot>\n </div>\n </div>\n `;\n }\n\n /**\n * The name of the custom event fired before the expanded state is changed upon a user gesture.\n * Cancellation of this event stops changing the user-initiated change in expanded state.\n */\n static get eventBeforeToggle() {\n return `${prefix}-expandable-tile-beingtoggled`;\n }\n\n /**\n * The name of the custom event fired after a the expanded state is changed upon a user gesture.\n */\n static get eventToggle() {\n return `${prefix}-expandable-tile-toggled`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSExpandableTile;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,cAAc,CAAC;AACtB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,QAAQ,CAAC;AAChB,OAAO,cAAc,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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\nimport './clickable-tile';\nimport './expandable-tile';\nimport './radio-tile';\nimport './selectable-tile';\nimport './tile';\nimport './tile-group';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/radio-tile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAI/C;;;;GAIG;AACH,cACM,YAAa,SAAQ,cAAc;IACvC;;OAEG;IACH,SAAS,CAAC,UAAU,SAAW;IAE/B;;OAEG;IACH,SAAS,CAAC,aAAa;IAgBvB,MAAM;IAuCN;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;CACF;AAED,eAAe,YAAY,CAAC","file":"radio-tile.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { html, svg } from 'lit';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { prefix } from '../../globals/settings';\nimport SelectableTile from './selectable-tile';\nimport CheckmarkFilled16 from '@carbon/icons/lib/checkmark--filled/16';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Single-selectable tile.\n *\n * @element cds-radio-tile\n */\n@customElement(`${prefix}-radio-tile`)\nclass CDSRadioTile extends SelectableTile {\n /**\n * The `type` attribute of the `<input>`.\n */\n protected _inputType = 'radio';\n\n /**\n * Handles `change` event on the `<input>` in the shadow DOM.\n */\n protected _handleChange() {\n this.selected = true;\n const { selected, name } = this;\n const { eventRadioChange } = this.constructor as typeof CDSRadioTile;\n this.dispatchEvent(\n new CustomEvent(eventRadioChange, {\n bubbles: true,\n composed: true,\n detail: {\n selected,\n name,\n },\n })\n );\n }\n\n render() {\n const {\n colorScheme,\n checkmarkLabel,\n name,\n selected,\n value,\n _inputType: inputType,\n _handleChange: handleChange,\n } = this;\n const classes = classMap({\n [`${prefix}--tile`]: true,\n [`${prefix}--tile--selectable`]: true,\n [`${prefix}--tile--is-selected`]: selected,\n [`${prefix}--tile--${colorScheme}`]: colorScheme,\n });\n return html`\n <input\n type=\"${inputType}\"\n id=\"input\"\n class=\"${prefix}--tile-input\"\n tabindex=\"-1\"\n name=\"${ifDefined(name)}\"\n value=\"${ifDefined(value)}\"\n .checked=${selected}\n @change=${handleChange} />\n <label for=\"input\" class=\"${classes}\" tabindex=\"0\">\n <div class=\"${prefix}--tile__checkmark\">\n ${CheckmarkFilled16({\n children: !checkmarkLabel\n ? undefined\n : svg`<title>${checkmarkLabel}</title>`,\n })}\n </div>\n <div class=\"${prefix}--tile-content\"><slot></slot></div>\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this selectable tile changes its selected state.\n */\n static get eventRadioChange() {\n return `${prefix}-radio-tile-selected`;\n }\n}\n\nexport default CDSRadioTile;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/selectable-tile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAQ5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAgFzC;;mBAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA7EL;;;;;GAKG;AACH,cACM,iBAAkB,SAAQ,sBAAyC;IAEvE,SAAS,CAAC,UAAU,EAAG,gBAAgB,CAAC;IAExC;;OAEG;IACH,SAAS,CAAC,UAAU,SAAc;IAElC;;OAEG;IACH,SAAS,CAAC,aAAa;IAgBvB;;OAEG;IACH,SAAS,CAAC,WAAW;IAgBrB;;;;OAIG;IAGH,OAAO,CAAC,cAAc,CAMpB;IAEF;;OAEG;IAEH,cAAc,EAAG,MAAM,CAAC;IAExB;;OAEG;IAEH,WAAW,oBAA6B;IAExC;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM;IAmCN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IAEF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"selectable-tile.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html, svg } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport Checkbox16 from '@carbon/icons/lib/checkbox/16';\nimport CheckboxCheckedFilled16 from '@carbon/icons/lib/checkbox--checked--filled/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport { TILE_COLOR_SCHEME } from './defs';\nimport styles from './tile.scss';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Multi-selectable tile.\n *\n * @element cds-selectable-tile\n * @fires cds-selectable-tile-changed - The custom event fired after this selectable tile changes its selected state.\n */\n@customElement(`${prefix}-selectable-tile`)\nclass CDSSelectableTile extends HostListenerMixin(FocusMixin(LitElement)) {\n @query('input')\n protected _inputNode!: HTMLInputElement;\n\n /**\n * The `type` attribute of the `<input>`.\n */\n protected _inputType = 'checkbox';\n\n /**\n * Handles `change` event on the `<input>` in the shadow DOM.\n */\n protected _handleChange() {\n this.selected = this._inputNode.checked;\n\n const selected = this.selected;\n const { eventChange } = this.constructor as typeof CDSSelectableTile;\n this.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n selected,\n },\n })\n );\n }\n\n /**\n * Handles the rendering of the icon.\n */\n protected _renderIcon() {\n const { selected, checkmarkLabel } = this;\n\n return html` ${selected\n ? CheckboxCheckedFilled16({\n children: !checkmarkLabel\n ? undefined\n : svg`<title>${checkmarkLabel}</title>`,\n })\n : Checkbox16({\n children: !checkmarkLabel\n ? undefined\n : svg`<title>${checkmarkLabel}</title>`,\n })}`;\n }\n\n /**\n * Listener function for keyboard interaction.\n *\n * @param event to get the key pressed\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n const { key } = event;\n\n if (key === ' ' || key === 'Enter') {\n this.selected = !this.selected;\n }\n };\n\n /**\n * The a11y text for the checkmark icon of the selected state.\n */\n @property({ attribute: 'checkmark-label' })\n checkmarkLabel!: string;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = TILE_COLOR_SCHEME.REGULAR;\n\n /**\n * The form name.\n */\n @property()\n name!: string;\n\n /**\n * `true` to show the selected state.\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * The form value.\n */\n @property()\n value!: string;\n\n render() {\n const {\n colorScheme,\n name,\n selected,\n value,\n _inputType: inputType,\n _handleChange: handleChange,\n } = this;\n const classes = classMap({\n [`${prefix}--tile`]: true,\n [`${prefix}--tile--selectable`]: true,\n [`${prefix}--tile--is-selected`]: selected,\n [`${prefix}--tile--${colorScheme}`]: colorScheme,\n });\n return html`\n <input\n type=\"${inputType}\"\n id=\"input\"\n class=\"${prefix}--tile-input\"\n tabindex=\"-1\"\n name=\"${ifDefined(name)}\"\n value=\"${ifDefined(value)}\"\n .checked=${selected}\n @change=${handleChange} />\n <label for=\"input\" class=\"${classes}\" tabindex=\"0\">\n <div\n class=\"${prefix}--tile__checkmark ${prefix}--tile__checkmark--persistent\">\n ${this._renderIcon()}\n </div>\n <div class=\"${prefix}--tile-content\"><slot></slot></div>\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this selectable tile changes its selected state.\n */\n static get eventChange() {\n return `${prefix}-selectable-tile-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n\n static styles = styles;\n}\n\nexport default CDSSelectableTile;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/tile-group.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBvC;;;;GAIG;AACH,cACM,YAAa,SAAQ,iBAA6B;IACtD,OAAO,CAAC,iBAAiB;IAwBzB,OAAO,CAAC,sBAAsB;IA0B9B;;;;OAIG;IAGH,OAAO,CAAC,iBAAiB;IAQzB;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAwB3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IA2BhC;;;;OAIG;IAGH,OAAO,CAAC,cAAc,CAwBpB;IAEF;;;;OAIG;IAGH,OAAO,CAAC,YAAY,CAgBlB;IAEF;;OAEG;IAEH,iBAAiB,MAAC;IAElB;;OAEG;IAEH,QAAQ,MAAC;IAGT,qBAAqB,MAAC;IAGtB,iBAAiB,MAAa;IAG9B,UAAU,MAAC;IAGX,eAAe,MAAC;IAEhB,YAAY;IAuBZ,MAAM;IAUN;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED;;OAEG;IACH,MAAM,KAAK,8BAA8B,WAExC;IAED;;OAEG;IACH,MAAM,KAAK,oCAAoC,WAE9C;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"tile-group.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { NAVIGATION_DIRECTION } from '../../globals/internal/radio-group-manager';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport styles from './tile.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Map of navigation direction by key.\n */\nconst navigationDirectionForKey = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * Tile group.\n *\n * @element cds-tile-group\n */\n@customElement(`${prefix}-tile-group`)\nclass CDSTileGroup extends HostListenerMixin(LitElement) {\n private _handleRadioClick(event) {\n const { target } = event;\n const { currentRadioSelection } = this;\n const { eventCurrentRadioTileSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (!currentRadioSelection) {\n this.currentRadioSelection = target;\n } else if (currentRadioSelection !== target) {\n currentRadioSelection.toggleAttribute('selected');\n this.currentRadioSelection = target;\n }\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentRadioTileSelection, {\n bubbles: true,\n composed: true,\n detail: {\n target,\n },\n })\n );\n }\n\n private _handleSelectableClick(event) {\n const { target } = event;\n const { currentSelections } = this;\n const { eventCurrentSelectableTilesSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (!currentSelections.includes(target)) {\n currentSelections.push(target);\n } else {\n currentSelections.splice(currentSelections.indexOf(target), 1);\n }\n (target as HTMLElement).toggleAttribute('selected');\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentSelectableTilesSelection, {\n bubbles: true,\n composed: true,\n detail: {\n currentSelections,\n },\n })\n );\n event.stopPropagation();\n event.preventDefault();\n }\n\n /**\n * Click listener to ensure selectability.\n *\n * @param event click\n */\n @HostListener('click')\n // @ts-ignore\n private _handleTileSelect(event: Event) {\n if (this.radioTiles.length) {\n this._handleRadioClick(event);\n } else {\n this._handleSelectableClick(event);\n }\n }\n\n /**\n * Handle keyboard navigation for radio tiles\n *\n * @param nextSibling to focus on\n */\n private _handleKeydownRadio(nextSibling) {\n const { currentRadioSelection } = this;\n\n const { eventCurrentRadioTileSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (currentRadioSelection) {\n currentRadioSelection.toggleAttribute('selected');\n }\n nextSibling.focus();\n nextSibling.toggleAttribute('selected');\n this.currentRadioSelection = nextSibling;\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentRadioTileSelection, {\n bubbles: true,\n composed: true,\n detail: {\n nextSibling,\n },\n })\n );\n }\n\n /**\n * Handle keyboard navigation for selectable tiles\n *\n * @param event to get target\n * @param nextSibling to focus on\n */\n private _handleKeydownSelectable(event, nextSibling?) {\n const { target } = event;\n const { currentSelections } = this;\n const { eventCurrentSelectableTilesSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (nextSibling) {\n nextSibling.focus();\n } else {\n if (!currentSelections.includes(target)) {\n currentSelections.push(target);\n } else {\n currentSelections.splice(currentSelections.indexOf(target), 1);\n }\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentSelectableTilesSelection, {\n bubbles: true,\n composed: true,\n detail: {\n currentSelections,\n },\n })\n );\n }\n }\n\n /**\n * Keyboard listener to ensure keyboard navigation.\n *\n * @param event to get key pressed\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n const { target, key } = event;\n const { radioTiles, selectableTiles } = this;\n const navigationDirection = navigationDirectionForKey[key];\n\n let tiles = radioTiles.length ? radioTiles : selectableTiles;\n const currentIndex = [...tiles].findIndex((e) => e == target);\n const nextIndex = currentIndex + navigationDirection;\n const nextSibling =\n nextIndex !== -1\n ? tiles[nextIndex % tiles.length]\n : tiles[tiles.length - 1];\n\n if (navigationDirection) {\n event.preventDefault(); // Prevent default (scrolling) behavior\n\n if (this.radioTiles.length) {\n this._handleKeydownRadio(nextSibling);\n } else {\n this._handleKeydownSelectable(event, nextSibling);\n }\n } else if (key === ' ' || key === 'Enter') {\n this._handleKeydownSelectable(event);\n }\n };\n\n /**\n * Focus listener to focus on selected element upon focusing\n *\n * @param event to get focused\n */\n @HostListener('focusin')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocus = (event: KeyboardEvent) => {\n const { relatedTarget, target } = event as any;\n\n if (this.radioTiles.length) {\n if (!this.currentRadioSelection) {\n target.toggleAttribute('selected');\n this.currentRadioSelection = target;\n } else if (\n !relatedTarget?.matches(\n (this.constructor as typeof CDSTileGroup).selectorRadioTile\n ) &&\n target !== this.currentRadioSelection\n ) {\n this.currentRadioSelection.focus();\n }\n }\n };\n\n /**\n * Provide an optional className to be applied to the component\n */\n @property({ reflect: true, attribute: 'fieldset-class-name' })\n fieldsetClassName;\n\n /**\n * Specify whether the group is disabled\n */\n @property({ reflect: true, type: Boolean })\n disabled;\n\n @property()\n currentRadioSelection;\n\n @property()\n currentSelections = [] as any;\n\n @property()\n radioTiles;\n\n @property()\n selectableTiles;\n\n firstUpdated() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'group');\n }\n\n if (!this.radioTiles) {\n this.radioTiles = this.querySelectorAll(\n (this.constructor as typeof CDSTileGroup).selectorRadioTile\n );\n }\n\n if (!this.selectableTiles) {\n this.selectableTiles = this.querySelectorAll(\n (this.constructor as typeof CDSTileGroup).selectorSelectableTile\n );\n }\n\n if (this.disabled) {\n this.radioTiles.forEach((e) => e.toggleAttribute('disabled'));\n this.selectableTiles.forEach((e) => e.toggleAttribute('disabled'));\n }\n }\n\n render() {\n const { fieldsetClassName, disabled } = this;\n return html`\n <fieldset class=\"${fieldsetClassName}\" ?disabled=${disabled}>\n <slot name=\"legend\" class=\"${prefix}--label\"></slot>\n <slot></slot>\n </fieldset>\n `;\n }\n\n /**\n * A selector that selects a radio tile component.\n */\n static get selectorRadioTile() {\n return `${prefix}-radio-tile`;\n }\n\n /**\n * A selector that selects a selectable tile component.\n */\n static get selectorSelectableTile() {\n return `${prefix}-selectable-tile`;\n }\n\n /**\n * The name of the custom event fired after a radio tile changes its selected state.\n */\n static get eventCurrentRadioTileSelection() {\n return `${prefix}-current-radio-tile-selection`;\n }\n\n /**\n * The name of the custom event fired after a radio tile changes its selected state.\n */\n static get eventCurrentSelectableTilesSelection() {\n return `${prefix}-current-selectable-tile-selections`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTileGroup;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tile/tile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAI3C,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B;;;;GAIG;AACH,cACM,OAAQ,SAAQ,UAAU;IAC9B;;OAEG;IAEH,WAAW,oBAA6B;IAExC,OAAO;IAUP,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,OAAO,CAAC","file":"tile.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { TILE_COLOR_SCHEME } from './defs';\nimport styles from './tile.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { TILE_COLOR_SCHEME };\n\n/**\n * Basic tile.\n *\n * @element cds-tile\n */\n@customElement(`${prefix}-tile`)\nclass CDSTile extends LitElement {\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = TILE_COLOR_SCHEME.REGULAR;\n\n updated() {\n const anchorTag = this.querySelector('a');\n\n if (anchorTag) {\n anchorTag?.classList.add(`${prefix}--link`);\n anchorTag.before(document.createElement('br'));\n anchorTag.before(document.createElement('br'));\n }\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTile;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/toggle/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,OAAO,KAAK;IAEZ;;OAEG;IACH,KAAK,OAAO;CACb","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\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 * Toggle size.\n */\nexport enum TOGGLE_SIZE {\n /**\n * Regular size.\n */\n REGULAR = '',\n\n /**\n * Small size.\n */\n SMALL = 'sm',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/toggle/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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\nimport './toggle';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/toggle/toggle.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAMrC,OAAO,EAAE,WAAW,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvB;;;;;;;;GAQG;AACH,cACM,SAAU,SAAQ,cAA8B;IAEpD,SAAS,CAAC,aAAa,EAAG,gBAAgB,CAAC;IAE3C;;OAEG;IACH,SAAS,CAAC,aAAa;IAiBvB;;OAEG;IAGH,SAAS,CAAC,cAAc,UAAiB,aAAa,mBAMpD;IAEF,SAAS,CAAC,gBAAgB;IAe1B;;OAEG;IAEH,MAAM,SAAM;IAEZ;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,cAAuB;IAE3B;;OAEG;IAEH,MAAM,SAAM;IAEZ,MAAM;IAoDN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"toggle.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { prefix } from '../../globals/settings';\nimport CDSCheckbox from '../checkbox/checkbox';\nimport { TOGGLE_SIZE } from './defs';\nimport styles from './toggle.scss';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { TOGGLE_SIZE };\n\n/**\n * Basic toggle.\n *\n * @element cds-toggle\n * @slot label-text - The label text.\n * @slot checked-text - The text for the checked state.\n * @slot unchecked-text - The text for the unchecked state.\n * @fires cds-toggle-changed - The custom event fired after this changebox changes its checked state.\n */\n@customElement(`${prefix}-toggle`)\nclass CDSToggle extends HostListenerMixin(CDSCheckbox) {\n @query('button')\n protected _checkboxNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on the `<button>` in the shadow DOM.\n */\n protected _handleChange() {\n const { checked, indeterminate } = this._checkboxNode;\n if (this.disabled || this.readOnly) return;\n this.checked = !checked;\n this.indeterminate = indeterminate;\n const { eventChange } = this.constructor as typeof CDSCheckbox;\n this.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n indeterminate,\n },\n })\n );\n }\n\n /**\n * Handles `keydown` event on the toggle button.\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n protected _handleKeydown = async (event: KeyboardEvent) => {\n const { key } = event;\n\n if (key === ' ') {\n this._handleChange();\n }\n };\n\n protected _renderCheckmark() {\n if (this.size !== TOGGLE_SIZE.SMALL) {\n return undefined;\n }\n return html`\n <svg\n class=\"${prefix}--toggle__check\"\n width=\"6px\"\n height=\"5px\"\n viewBox=\"0 0 6 5\">\n <path d=\"M2.2 2.7L5 0 6 1 2.2 5 0 2.7 1 1.5z\" />\n </svg>\n `;\n }\n\n /**\n * The text for the checked state.\n */\n @property({ attribute: 'label-a' })\n labelA = '';\n\n /**\n * Hide label text.\n */\n @property({ reflect: true, type: Boolean })\n hideLabel = false;\n\n /**\n * Read only boolean.\n */\n @property({ reflect: true, attribute: 'read-only', type: Boolean })\n readOnly = false;\n\n /**\n * Toggle size.\n */\n @property({ reflect: true })\n size = TOGGLE_SIZE.REGULAR;\n\n /**\n * The text for the unchecked state.\n */\n @property({ attribute: 'label-b' })\n labelB = '';\n\n render() {\n const {\n checked,\n disabled,\n labelText,\n hideLabel,\n id,\n name,\n size,\n labelA,\n labelB,\n value,\n _handleChange: handleChange,\n } = this;\n const inputClasses = classMap({\n [`${prefix}--toggle__appearance`]: true,\n [`${prefix}--toggle__appearance--${size}`]: size,\n });\n const toggleClasses = classMap({\n [`${prefix}--toggle__switch`]: true,\n [`${prefix}--toggle__switch--checked`]: checked,\n });\n const stateText = checked ? labelA : labelB;\n return html`\n <button\n class=\"${prefix}--toggle__button\"\n role=\"switch\"\n type=\"button\"\n aria-checked=${checked}\n aria-lable=${labelText}\n .checked=\"${checked}\"\n name=\"${ifDefined(name)}\"\n value=\"${ifDefined(value)}\"\n ?disabled=${disabled}\n id=\"${id}\"></button>\n <label for=\"${id}\" class=\"${prefix}--toggle__label\">\n <span class=\"${prefix}--toggle__label-text\">${labelText}</span>\n <div class=\"${inputClasses}\">\n <div class=\"${toggleClasses}\" @click=${handleChange}>\n ${this._renderCheckmark()}\n </div>\n <span\n ?hidden=\"${hideLabel}\"\n class=\"${prefix}--toggle__text\"\n aria-hidden=\"true\"\n >${stateText}</span\n >\n </div>\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this changebox changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-toggle-changed`;\n }\n\n static styles = styles;\n}\n\nexport default CDSToggle;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/toggle-tip/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,aAAa,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\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\nimport './toggletip';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/toggle-tip/toggletip.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAKvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGpD;;;;GAIG;AACH,cACM,YAAa,SAAQ,iBAAsB;IAC/C;;OAEG;IAEH,SAAS,oBAAyB;IAGlC,IAAI,UAAS;IAEb,OAAO,CAAC,YAAY,CAElB;IAEF,MAAM;IAwCN,MAAM,CAAC,iBAAiB;;;;MAGtB;IAEF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"toggletip.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html, LitElement } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport Information16 from '@carbon/icons/lib/information/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { POPOVER_ALIGNMENT } from '../popover/defs';\nimport styles from './toggletip.scss';\n\n/**\n * Definition tooltip.\n *\n * @element cds-toggletip\n */\n@customElement(`${prefix}-toggletip`)\nclass CDSToggletip extends FocusMixin(LitElement) {\n /**\n * How the tooltip is aligned to the trigger button.\n */\n @property()\n alignment = POPOVER_ALIGNMENT.TOP;\n\n @property({ type: Boolean, reflect: true })\n open = false;\n\n private _handleClick = () => {\n this.open = !this.open;\n };\n\n render() {\n const { alignment, id, open } = this;\n const classes = classMap({\n [`${prefix}--popover-container`]: true,\n [`${prefix}--popover--caret`]: true,\n [`${prefix}--popover--high-contrast`]: true,\n [`${prefix}--popover--open`]: open,\n [`${prefix}--popover--${alignment}`]: alignment,\n [`${prefix}--toggletip`]: true,\n [`${prefix}--toggletip--open`]: open,\n });\n return html`\n <span class=\"${prefix}--toggletip-label\">\n <slot></slot>\n </span>\n <span class=\"${classes}\">\n <button aria-controls=\"${id}\" class=\"${prefix}--toggletip-button\" @click=${\n this._handleClick\n }>\n ${Information16({ id: 'trigger' })}\n </button>\n\n <span class=\"${prefix}--popover\">\n <span class=\"${prefix}--popover-content\">\n\n <div class=\"${prefix}--toggletip-content\">\n <slot name=\"body-text\"></slot>\n <div class=\"${prefix}--toggletip-actions\">\n <slot name=\"actions\"></slot>\n </div>\n </div>\n </span>\n\n </span>\n <span class=\"${prefix}--popover-caret\"></span>\n </span>\n </span>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n\n static styles = styles;\n}\n\nexport default CDSToggletip;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tooltip/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,WAAW,CAAC;AACnB,OAAO,mBAAmB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\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\nimport './tooltip';\nimport './tooltip-content';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tooltip/tooltip-content.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AAG3D;;GAEG;AACH,cACM,iBAAkB,SAAQ,iBAAiB;IAC/C,iBAAiB;IAUjB,OAAO;IAMP,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"tooltip-content.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSPopoverContent from '../popover/popover-content';\nimport styles from './tooltip.scss';\n\n/**\n * Tooltip content.\n */\n@customElement(`${prefix}-tooltip-content`)\nclass CDSTooltipContent extends CDSPopoverContent {\n connectedCallback() {\n if (!this.hasAttribute('aria-hidden')) {\n this.setAttribute('aria-hidden', 'true');\n }\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'tooltip');\n }\n super.connectedCallback();\n }\n\n updated() {\n this.shadowRoot\n ?.querySelector(`.${prefix}--popover-content`)\n ?.classList.add(`${prefix}--tooltip-content`);\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTooltipContent;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/tooltip/tooltip.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKpC;;;;GAIG;AACH,cACM,UAAW,SAAQ,eAA6B;IACpD;;OAEG;IAEH,KAAK,SAAS;IAEd;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,iBAAiB,UAAS;IAE1B;;OAEG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,YAAY,SAAO;IAEnB;;OAEG;IAEH,YAAY,SAAO;IAEnB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,aAAa,UAAS;IAEtB;;OAEG;IACH,OAAO,CAAC,YAAY,CAWlB;IAEF;;OAEG;IACH,OAAO,CAAC,eAAe,CAOrB;IAEF;;OAEG;IAGH,OAAO,CAAC,YAAY,CAIlB;IAEF;;OAEG;IAGH,OAAO,CAAC,cAAc,CAIpB;IAEF;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK;IAyB7C,iBAAiB;IAUjB,OAAO,CAAC,iBAAiB,KAAA;IA0BzB;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED,MAAM,KAAK,MAAM,4BAIhB;CACF;AAED,eAAe,UAAU,CAAC","file":"tooltip.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { css } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport CDSPopover from '../popover/popover';\nimport '../popover/popover-content';\nimport styles from './tooltip.scss';\nimport CDSTooltipContent from './tooltip-content';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Trigger button of tooltip.\n *\n * @element cds-tooltip\n */\n@customElement(`${prefix}-tooltip`)\nclass CDSTooltip extends HostListenerMixin(CDSPopover) {\n /**\n * Specify how the trigger should align with the tooltip\n */\n @property({ reflect: true, type: String })\n align = 'top';\n\n /**\n * `true` if this tooltip is in a data table row\n */\n @property({ type: Boolean, reflect: true, attribute: 'data-table' })\n dataTable = false;\n\n /**\n * Specify whether the tooltip should be closed when clicked\n */\n @property({ reflect: true, type: Boolean })\n closeOnActivation = false;\n\n /**\n * Specify whether the tooltip should be open when it first renders\n */\n @property({ reflect: true, type: Boolean })\n defaultOpen = false;\n\n /**\n * Specify the duration in milliseconds to delay before displaying the tooltip\n */\n @property({ attribute: 'enter-delay-ms', type: Number })\n enterDelayMs = 100;\n\n /**\n * Specify the duration in milliseconds to delay before hiding the tooltip\n */\n @property({ attribute: 'leave-delay-ms', type: Number })\n leaveDelayMs = 300;\n\n /**\n * Specify the size of the tooltip\n */\n @property({ reflect: true })\n size = false;\n\n /**\n * Specify whether the tooltip should be open when it first renders\n */\n @property({ reflect: true, attribute: 'toolbar-action', type: Boolean })\n toolbarAction = false;\n\n /**\n * Handles `mouseover` event on this element.\n */\n private _handleHover = async () => {\n setTimeout(async () => {\n this.open = true;\n const { open, updateComplete } = this;\n if (open) {\n await updateComplete;\n const { selectorTooltipContent } = this\n .constructor as typeof CDSTooltip;\n (this.querySelector(selectorTooltipContent) as HTMLElement)?.focus();\n }\n }, this.enterDelayMs);\n };\n\n /**\n * Handles `mouseleave` event on this element.\n */\n private _handleHoverOut = async () => {\n setTimeout(async () => {\n const { open } = this;\n if (open) {\n this.open = false;\n }\n }, this.leaveDelayMs);\n };\n\n /**\n * Handles `click` event on this element.\n */\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = async () => {\n if (this.closeOnActivation) {\n this._handleHoverOut();\n }\n };\n\n /**\n * Handles `keydown` event on this element.\n */\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = async (event) => {\n if (event.key === ' ' || event.key === 'Enter' || event.key === 'Escape') {\n this._handleHoverOut();\n }\n };\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const component = (target as HTMLSlotElement)\n .assignedNodes()\n .filter(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n if (!component[0]) {\n return;\n }\n (component[0] as HTMLElement).addEventListener('focus', this._handleHover);\n (component[0] as HTMLElement).addEventListener(\n 'focusout',\n this._handleHoverOut\n );\n (component[0] as HTMLElement).addEventListener(\n 'mouseover',\n this._handleHover\n );\n (component[0] as HTMLElement).addEventListener(\n 'mouseleave',\n this._handleHoverOut\n );\n this.requestUpdate();\n }\n\n connectedCallback() {\n if (!this.hasAttribute('highContrast')) {\n this.setAttribute('highContrast', '');\n }\n if (!this.shadowRoot) {\n this.attachShadow({ mode: 'open' });\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n const { selectorTooltipContent } = this.constructor as typeof CDSTooltip;\n const toolTipContent = this.querySelector(selectorTooltipContent);\n\n if (changedProperties.has('defaultOpen')) {\n this.open = this.defaultOpen;\n }\n\n if (changedProperties.has('open')) {\n this.open\n ? toolTipContent?.setAttribute('open', '')\n : toolTipContent?.removeAttribute('open');\n }\n\n ['align', 'caret'].forEach((name) => {\n if (changedProperties.has(name)) {\n const { [name as keyof CDSTooltip]: value } = this;\n (toolTipContent as CDSTooltipContent)[name] = value;\n }\n });\n\n this.shadowRoot\n ?.querySelector(`.${prefix}--popover-container`)\n ?.classList.add(`${prefix}--tooltip`);\n }\n\n /**\n * A selector that will return the CDSTooltipContent.\n */\n static get selectorTooltipContent() {\n return `${prefix}-tooltip-content`;\n }\n\n static get styles() {\n return css`\n ${super.styles}${styles}\n `;\n } // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTooltip;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,sBAAsB;IAChC;;;OAGG;IACH,KAAK,UAAU;IAEf;;;OAGG;IACH,IAAI,SAAS;IAEb;;;OAGG;IACH,UAAU,eAAe;CAC1B;AAED;;GAEG;AACH,oBAAY,mBAAmB;IAC7B;;OAEG;IACH,OAAO,KAAK;IAEZ;;;;OAIG;IACH,UAAU,eAAe;CAC1B","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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 * Collapse modes of side nav.\n */\nexport enum SIDE_NAV_COLLAPSE_MODE {\n /**\n * Fixed mode.\n * In this mode, side nav is non-collapsible.\n */\n FIXED = 'fixed',\n\n /**\n * Rail mode.\n * In this mode, side nav can be collapsed to a narrower width (\"rail\" look) with a toggle button.\n */\n RAIL = 'rail',\n\n /**\n * Responsive mode.\n * In this mode, side nav sticks in wider screen, and can be completely collapsed with a toggle button in narrower screen.\n */\n RESPONSIVE = 'responsive',\n}\n\n/**\n * The usage purpose of side nav.\n */\nexport enum SIDE_NAV_USAGE_MODE {\n /**\n * Regular usage.\n */\n REGULAR = '',\n\n /**\n * To represent header nav.\n * In this mode, side nav is hidden when header nav is shown, and side nav is shown then header nav is hidden.\n * This mode can be used only with `SIDE_NAV_COLLAPSE_MODE.REGULAR`.\n */\n HEADER_NAV = 'header-nav',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-global-action.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAKzC;;;;GAIG;AACH,cACM,qBAAsB,SAAQ,SAAS;IAE3C,SAAS,CAAC,WAAW,EAAG,iBAAiB,CAAC;IAE1C;;OAEG;IAEH,MAAM,MAAC;IAEP;;OAEG;IAEH,OAAO,MAAC;IAER;;OAEG;IAEH,iBAAiB,MAAC;IAElB;;OAEG;IAEH,mBAAmB,MAAC;IAEpB,iBAAiB;IAOjB,OAAO,CAAC,YAAY;IAwBpB,OAAO;IAMP,YAAY,CAAC,iBAAiB,KAAA;IAmB9B,MAAM,CAAC,iBAAiB;;;;MAGtB;IAEF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"header-global-action.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\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\nimport { LitElement } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport { BUTTON_TOOLTIP_POSITION } from '../button/button';\nimport CDSButton from '../button/button';\nimport HostListener from '../../globals/decorators/host-listener';\nimport styles from './header.scss';\nimport { prefix } from '../../globals/settings';\n\n/**\n * Header global action button\n *\n * @element cds-header-global-action\n */\n@customElement(`${prefix}-header-global-action`)\nclass CDSHeaderGlobalAction extends CDSButton {\n @query('button')\n protected _buttonNode!: HTMLButtonElement;\n\n /**\n * Specify whether the action is currently active\n */\n @property({ type: Boolean, reflect: true })\n active;\n\n /**\n * Specify which header panel the button is associated with.\n */\n @property({ type: String, attribute: 'panel-id', reflect: true })\n panelId;\n\n /**\n * The `aria-label` attribute for the button in its active state.\n */\n @property({ attribute: 'button-label-active' })\n buttonLabelActive;\n\n /**\n * The `aria-label` attribute for the button in its inactive state.\n */\n @property({ attribute: 'button-label-inactive' })\n buttonLabelInactive;\n\n connectedCallback() {\n this.tooltipPosition = BUTTON_TOOLTIP_POSITION.BOTTOM;\n super.connectedCallback();\n }\n\n @HostListener('click', { capture: true })\n // @ts-ignore\n private _handleClick(event: Event) {\n const { disabled } = this;\n if (disabled) {\n event.stopPropagation();\n } else {\n const panel = document.querySelector(`#${this.panelId}`);\n\n // see if there is related panel for header-global-action button first\n // and then set the expanded attr of it accordingly\n if (panel) {\n const expanded = panel.getAttribute('expanded');\n\n if (expanded) {\n panel.removeAttribute('expanded');\n } else {\n panel.setAttribute('expanded', 'true');\n }\n\n const active = !this.active;\n this.active = active;\n }\n }\n }\n\n updated() {\n if (this._buttonNode) {\n this._buttonNode.classList.add(`${prefix}--header__action`);\n }\n }\n\n shouldUpdate(changedProperties) {\n if (changedProperties.has('active')) {\n if (this.active) {\n this._buttonNode.classList.add(`${prefix}--header__action--active`);\n\n if (this.buttonLabelActive) {\n this.tooltipText = this.buttonLabelActive;\n }\n } else {\n this._buttonNode.classList.remove(`${prefix}--header__action--active`);\n\n if (this.buttonLabelInactive) {\n this.tooltipText = this.buttonLabelInactive;\n }\n }\n }\n return true;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderGlobalAction;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-menu-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIpD;;;;;;;GAOG;AACH,cACM,mBAAoB,SAAQ,wBAAsB;IACtD,OAAO,CAAC,YAAY;IAkBpB;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,iBAAiB,SAA2B;IAE5C;;OAEG;IAEH,mBAAmB,SAA0B;IAE7C;;OAEG;IAEH,YAAY,yBAAqC;IAEjD;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAKH,kBAAkB,UAAS;IAE3B,MAAM;IA2BN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"header-menu-button.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport Close20 from '@carbon/icons/lib/close/20';\nimport Menu20 from '@carbon/icons/lib/menu/20';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { SIDE_NAV_COLLAPSE_MODE } from './side-nav';\nimport styles from './header.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * The trigger button for side nav in header nav.\n *\n * @element cds-header-menu-button\n * @csspart button The button.\n * @csspart toggle-icon The toggle icon.\n * @fires cds-header-menu-button-toggled - The custom event fired after this header menu button is toggled upon a user gesture.\n */\n@customElement(`${prefix}-header-menu-button`)\nclass CDSHeaderMenuButton extends FocusMixin(LitElement) {\n private _handleClick() {\n const active = !this.active;\n this.active = active;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSHeaderMenuButton).eventToggle,\n {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n active,\n },\n }\n )\n );\n }\n\n /**\n * `true` if the button should represent its active state.\n */\n @property({ type: Boolean, reflect: true })\n active = false;\n\n /**\n * The `aria-label` attribute for the button in its active state.\n */\n @property({ attribute: 'button-label-active' })\n buttonLabelActive = 'Close navigation menu';\n\n /**\n * The `aria-label` attribute for the button in its inactive state.\n */\n @property({ attribute: 'button-label-inactive' })\n buttonLabelInactive = 'Open navigation menu';\n\n /**\n * Collapse mode of the side nav.\n */\n @property({ reflect: true, attribute: 'collapse-mode' })\n collapseMode = SIDE_NAV_COLLAPSE_MODE.RESPONSIVE;\n\n /**\n * `true` if the button should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * If `true` will style the side nav to sit below the header\n */\n @property({\n type: Boolean,\n attribute: 'is-not-child-of-header',\n })\n isNotChildOfHeader = false;\n\n render() {\n const {\n active,\n buttonLabelActive,\n buttonLabelInactive,\n disabled,\n _handleClick: handleClick,\n } = this;\n const buttonLabel = active ? buttonLabelActive : buttonLabelInactive;\n const classes = classMap({\n [`${prefix}--header__action`]: true,\n [`${prefix}--header__menu-trigger`]: true,\n [`${prefix}--header__menu-toggle`]: true,\n [`${prefix}--header__action--active`]: active,\n });\n return html`\n <button\n part=\"button\"\n class=\"${classes}\"\n ?disabled=${disabled}\n aria-label=\"${ifDefined(buttonLabel)}\"\n @click=${handleClick}>\n ${(active ? Close20 : Menu20)({ slot: 'toggle-icon' })}\n </button>\n `;\n }\n\n /**\n * The name of the custom event fired after this header menu button is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${prefix}-header-menu-button-toggled`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderMenuButton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-menu-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,gBAAgB,MAAM,mBAAmB,CAAC;AAGjD;;;;GAIG;AACH,cACM,iBAAkB,SAAQ,gBAAgB;CAAG;AAEnD,eAAe,iBAAiB,CAAC","file":"header-menu-item.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { prefix } from '../../globals/settings';\nimport CDSHeaderNavItem from './header-nav-item';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Header submenu item.\n *\n * @element cds-header-menu-item\n */\n@customElement(`${prefix}-header-menu-item`)\nclass CDSHeaderMenuItem extends CDSHeaderNavItem {}\n\nexport default CDSHeaderMenuItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-menu.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAavC;;;;;;;GAOG;AACH,cACM,aAAc,SAAQ,kBAAyC;IACnE;;OAEG;IAEH,SAAS,CAAC,YAAY,EAAG,WAAW,CAAC;IAErC;;OAEG;IACH,OAAO,CAAC,kBAAkB,CAAS;IAEnC;;OAEG;IACH,OAAO,CAAC,YAAY;IAIpB;;OAEG;IAGH,OAAO,CAAC,qBAAqB;IAM7B;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;IAOlC;;OAEG;IAGH,OAAO,CAAC,WAAW;IAMnB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,cAAc,SAAM;IAEpB;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAC;IAEnB,iBAAiB;IAcjB,OAAO,CAAC,iBAAiB,KAAA;IAUzB,MAAM;IAyCN;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"header-menu.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport ChevronDownGlyph from '@carbon/icons/lib/chevron--down/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { forEach } from '../../globals/internal/collection-helpers';\nimport CDSHeaderMenuItem from './header-menu-item';\nimport styles from './header.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Header menu.\n *\n * @element cds-header-menu\n * @csspart trigger The trigger button.\n * @csspart trigger-icon The trigger button icon.\n * @csspart menu-body The menu body.\n */\n@customElement(`${prefix}-header-menu`)\nclass CDSHeaderMenu extends HostListenerMixin(FocusMixin(LitElement)) {\n /**\n * The trigger button.\n */\n @query('[part=\"trigger\"]')\n protected _topMenuItem!: HTMLElement;\n\n /**\n * keeps track if header menu has any active submenus\n */\n private _hasActiveChildren = false;\n\n /**\n * Handles `click` event handler on this element.\n */\n private _handleClick() {\n this._handleUserInitiatedToggle();\n }\n\n /**\n * Handler for the `keydown` event on the trigger button.\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydownTrigger({ key }: KeyboardEvent) {\n if (key === 'Esc' || key === 'Escape') {\n this._handleUserInitiatedToggle(false);\n }\n }\n\n /**\n * Handles user-initiated toggling the open state.\n *\n * @param [force] If specified, forces the open state to the given one.\n */\n private _handleUserInitiatedToggle(force: boolean = !this.expanded) {\n this.expanded = force;\n if (!force) {\n this._topMenuItem.focus();\n }\n }\n\n /**\n * Handles `blur` event handler on this element.\n */\n @HostListener('focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleBlur({ relatedTarget }: FocusEvent) {\n if (!this.contains(relatedTarget as Node)) {\n this.expanded = false;\n }\n }\n\n /**\n * `true` if the menu should be expanded.\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * Applies selected styles to the item if a user sets this to true and `aria-current !== 'page'`.\n */\n @property({ type: Boolean, attribute: 'is-active', reflect: true })\n isActive = false;\n\n /**\n * The content of the trigger button.\n */\n @property({ attribute: 'trigger-content' })\n triggerContent = '';\n\n /**\n * The `aria-label` attribute for the menu UI.\n */\n @property({ attribute: 'menu-label' })\n menuLabel!: string;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n const { selectorItem } = this.constructor as typeof CDSHeaderMenu;\n forEach(this.querySelectorAll(selectorItem), (elem) => {\n if ((elem as CDSHeaderMenuItem).isActive === true) {\n this._hasActiveChildren = true;\n }\n });\n\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('expanded')) {\n const { selectorItem } = this.constructor as typeof CDSHeaderMenu;\n const { expanded } = this;\n forEach(this.querySelectorAll(selectorItem), (elem) => {\n (elem as HTMLElement).tabIndex = expanded ? 0 : -1;\n });\n }\n }\n\n render() {\n const {\n expanded,\n isActive,\n triggerContent,\n menuLabel,\n _hasActiveChildren,\n _handleClick: handleClick,\n } = this;\n\n const linkClasses = classMap({\n [`${prefix}--header__menu-item`]: true,\n [`${prefix}--header__menu-title`]: true,\n [`${prefix}--header__menu-item--current`]:\n isActive || (_hasActiveChildren && !expanded),\n });\n\n return html`\n <a\n part=\"trigger\"\n role=\"button\"\n tabindex=\"0\"\n class=\"${linkClasses}\"\n href=\"javascript:void 0\"\n aria-haspopup=\"menu\"\n aria-expanded=\"${String(Boolean(expanded))}\"\n @click=${handleClick}>\n ${triggerContent}${ChevronDownGlyph({\n part: 'trigger-icon',\n class: `${prefix}--header__menu-arrow`,\n })}\n </a>\n <ul\n part=\"menu-body\"\n class=\"${prefix}--header__menu\"\n aria-label=\"${ifDefined(menuLabel)}\">\n <slot></slot>\n </ul>\n `;\n }\n\n /**\n * A selector that will return the menu items.\n */\n static get selectorItem() {\n return `${prefix}-header-menu-item`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderMenu;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-name.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOvC;;;;;;GAMG;AACH,cACM,aAAc,SAAQ,kBAAsB;IAChD;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,MAAM,EAAG,MAAM,CAAC;IAEhB,MAAM;IAgBN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"header-name.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './header.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * The product name UI in header nav.\n *\n * @element cds-header-name\n * @csspart link The link.\n * @csspart prefix The prefix content.\n */\n@customElement(`${prefix}-header-name`)\nclass CDSHeaderName extends FocusMixin(LitElement) {\n /**\n * Link `href`.\n */\n @property()\n href!: string;\n\n /**\n * The product name prefix.\n */\n @property()\n prefix!: string;\n\n render() {\n const { href, prefix: namePrefix } = this;\n const namePrefixPart = !namePrefix\n ? undefined\n : html`\n <span part=\"prefix\" class=\"${prefix}--header__name--prefix\"\n >${namePrefix}</span\n >\n `;\n return html`\n <a part=\"link\" class=\"${prefix}--header__name\" href=\"${ifDefined(href)}\"\n >${namePrefixPart} <slot></slot\n ></a>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderName;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-nav-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOvC;;;;;;GAMG;AACH,cACM,gBAAiB,SAAQ,qBAAsB;IACnD;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,GAAG,EAAG,MAAM,CAAC;IAEb;;OAEG;IAEH,MAAM,EAAG,MAAM,CAAC;IAEhB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,WAAW,MAAC;IAEZ;;OAEG;IAEH,IAAI,EAAE,MAAM,CAAc;IAE1B,MAAM;IAuBN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC","file":"header-nav-item.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './header.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Header nav item.\n *\n * @element cds-header-nav-item\n * @csspart link The link.\n * @csspart title The title.\n */\n@customElement(`${prefix}-header-nav-item`)\nclass CDSHeaderNavItem extends FocusMixin(LitElement) {\n /**\n * Link `href`.\n */\n @property()\n href!: string;\n\n /**\n * The link type.\n */\n @property({ reflect: true })\n rel!: string;\n\n /**\n * The link target.\n */\n @property({ reflect: true })\n target!: string;\n\n /**\n * The title.\n */\n @property()\n title!: string;\n\n /**\n * Applies selected styles to the item if a user sets this to true and `aria-current !== 'page'`.\n */\n @property({ type: Boolean, attribute: 'is-active' })\n isActive = false;\n\n /**\n * indicates that this element represents the current item\n */\n @property({ type: String, attribute: 'aria-current' })\n ariaCurrent;\n\n /**\n * As child of <ul>, this element must have role of listitem\n */\n @property({ reflect: true })\n role: string = 'listitem';\n\n render() {\n const { ariaCurrent, href, isActive, title, rel, target } = this;\n const linkClass = classMap({\n [`${prefix}--header__menu-item`]: true,\n [`${prefix}--header__menu-item--current`]:\n isActive && ariaCurrent !== 'page',\n });\n\n return html`\n <a\n part=\"link\"\n class=\"${linkClass}\"\n tabindex=\"0\"\n href=\"${ifDefined(href)}\"\n rel=\"${ifDefined(rel)}\"\n target=\"${ifDefined(target)}\">\n <span part=\"title\" class=\"${prefix}--text-truncate--end\"\n ><slot>${title}</slot></span\n >\n </a>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderNavItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-nav.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;;;GAMG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC;;OAEG;IAEH,YAAY,EAAG,MAAM,CAAC;IAEtB,iBAAiB;IAOjB,MAAM;IAaN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"header-nav.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './header.scss';\n\n/**\n * Header.\n *\n * @element cds-header-nav\n * @csspart menu-body The menu body.\n * @csspart divider The divider.\n */\n@customElement(`${prefix}-header-nav`)\nclass CDSHeaderNav extends LitElement {\n /**\n * The `aria-label` attribute for the menu bar UI.\n */\n @property({ attribute: 'menu-bar-label' })\n menuBarLabel!: string;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'navigation');\n }\n super.connectedCallback();\n }\n\n render() {\n const { menuBarLabel } = this;\n return html`\n <div part=\"divider\" class=\"${prefix}-ce--header__divider\"></div>\n <ul\n part=\"menu-body\"\n class=\"${prefix}--header__menu-bar\"\n aria-label=\"${menuBarLabel}\">\n <slot></slot>\n </ul>\n `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderNav;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-panel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,cAAe,SAAQ,UAAU;IACrC;;OAEG;IAEH,QAAQ,MAAC;IAET,MAAM;IAIN,MAAM,CAAC,iBAAiB;;;;MAGtB;IAEF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"header-panel.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\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\nimport { LitElement, html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport styles from './header.scss';\nimport { prefix } from '../../globals/settings';\n\n/**\n * Header panel\n *\n * @element cds-header-panel\n */\n@customElement(`${prefix}-header-panel`)\nclass CDSHeaderPanel extends LitElement {\n /**\n * Specify whether the panel is expanded\n */\n @property({ type: Boolean, reflect: true })\n expanded;\n\n render() {\n return html`<slot></slot>`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderPanel;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header-side-nav-items.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,qBAAsB,SAAQ,UAAU;IAC5C;;;OAGG;IAEH,UAAU,UAAS;IAEnB,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"header-side-nav-items.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\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\nimport { LitElement, html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './side-nav.scss';\n\n/**\n * Header Side Nav Items section\n *\n * @element cds-header-side-nav-items\n */\n@customElement(`${prefix}-header-side-nav-items`)\nclass CDSHeaderSideNavItems extends LitElement {\n /**\n * Optionally specify if container will have a bottom divider to differentiate\n * between original sidenav items and header menu items. False by default.\n */\n @property({ type: Boolean, attribute: 'has-divider' })\n hasDivider = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'list');\n }\n super.connectedCallback();\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeaderSideNavItems;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/header.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,SAAU,SAAQ,UAAU;IAChC,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"header.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './header.scss';\n\n/**\n * Header.\n *\n * @element cds-header\n */\n@customElement(`${prefix}-header`)\nclass CDSHeader extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'banner');\n }\n super.connectedCallback();\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSHeader;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC;AAClB,OAAO,wBAAwB,CAAC;AAChC,OAAO,eAAe,CAAC;AACvB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,eAAe,CAAC;AACvB,OAAO,cAAc,CAAC;AACtB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,gBAAgB,CAAC;AACxB,OAAO,yBAAyB,CAAC;AACjC,OAAO,YAAY,CAAC;AACpB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,YAAY,CAAC;AACpB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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\nimport './header';\nimport './header-global-action';\nimport './header-menu';\nimport './header-menu-button';\nimport './header-menu-item';\nimport './header-name';\nimport './header-nav';\nimport './header-nav-item';\nimport './header-panel';\nimport './header-side-nav-items';\nimport './side-nav';\nimport './side-nav-divider';\nimport './side-nav-items';\nimport './side-nav-link';\nimport './side-nav-menu';\nimport './side-nav-menu-item';\nimport './switcher';\nimport './switcher-divider';\nimport './switcher-item';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/side-nav-divider.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC;;;;GAIG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC,iBAAiB;IAOjB,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"side-nav-divider.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\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\nimport { LitElement } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './side-nav.scss';\n\n/**\n * A divider in side nav.\n *\n * @element cds-side-nav-divider\n */\n@customElement(`${prefix}-side-nav-divider`)\nclass CDSSideNavDivider extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'separator');\n }\n super.connectedCallback();\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSideNavDivider;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/side-nav-items.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,eAAgB,SAAQ,UAAU;IACtC,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"side-nav-items.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './side-nav.scss';\n\n/**\n * Side nav items.\n *\n * @element cds-side-nav-items\n */\n@customElement(`${prefix}-side-nav-items`)\nclass CDSSideNavItems extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'list');\n }\n super.connectedCallback();\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSideNavItems;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/side-nav-link.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOvC;;;;;;;GAOG;AACH,cACM,cAAe,SAAQ,mBAAsB;IACjD;;OAEG;IAEH,OAAO,CAAC,uBAAuB,CAAkB;IAEjD;;OAEG;IACH,OAAO,CAAC,0BAA0B;IAOlC;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,GAAG,EAAG,MAAM,CAAC;IAEb;;OAEG;IAEH,MAAM,EAAG,MAAM,CAAC;IAEhB;;OAEG;IAEH,KAAK,UAAS;IAEd;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,iBAAiB;IAOjB,MAAM;IAoCN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"side-nav-link.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './side-nav.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Side nav menu item.\n *\n * @element cds-side-nav-link\n * @slot link - The link.\n * @slot title - The title.\n * @slot title-icon-container - The title icon container.\n */\n@customElement(`${prefix}-side-nav-link`)\nclass CDSSideNavLink extends FocusMixin(LitElement) {\n /**\n * The container for the title icon.\n */\n @query('#title-icon-container')\n private _titleIconContainerNode!: HTMLDivElement;\n\n /**\n * Handles `slotchange` event on the `<slot>` for the title icon.\n */\n private _handleSlotChangeTitleIcon({ target }) {\n this._titleIconContainerNode?.toggleAttribute(\n 'hidden',\n target.assignedNodes().length === 0\n );\n }\n\n /**\n * `true` if the menu item should be active.\n */\n @property({ type: Boolean, reflect: true })\n active = false;\n\n /**\n * Link `href`.\n */\n @property()\n href = '';\n\n /**\n * The link type.\n */\n @property({ reflect: true })\n rel!: string;\n\n /**\n * The link target.\n */\n @property({ reflect: true })\n target!: string;\n\n /**\n * Specify if this is a large variation of the side nav link\n */\n @property({ type: Boolean, reflect: true })\n large = false;\n\n /**\n * The title.\n */\n @property()\n title!: string;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n }\n\n render() {\n const {\n active,\n href,\n rel,\n target,\n title,\n _handleSlotChangeTitleIcon: handleSlotChangeTitleIcon,\n } = this;\n const classes = classMap({\n [`${prefix}--side-nav__link`]: true,\n [`${prefix}--side-nav__link--current`]: active,\n });\n return html`\n <a\n part=\"link\"\n class=\"${classes}\"\n href=\"${href}\"\n rel=\"${ifDefined(rel)}\"\n target=\"${ifDefined(target)}\">\n <div\n id=\"title-icon-container\"\n part=\"title-icon-container\"\n hidden\n class=\"${prefix}--side-nav__icon\">\n <slot\n name=\"title-icon\"\n @slotchange=${handleSlotChangeTitleIcon}></slot>\n </div>\n <span part=\"title\" class=\"${prefix}--side-nav__link-text\">\n <slot>${title}</slot>\n </span>\n </a>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSideNavLink;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/side-nav-menu-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQvC;;;;;;GAMG;AACH,cACM,kBAAmB,SAAQ,uBAAsB;IACrD;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,YAAY,CAAC,iBAAiB,KAAA;IAW9B,MAAM;IAeN;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,kBAAkB,CAAC","file":"side-nav-menu-item.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport CDSSideNavMenu from './side-nav-menu';\nimport styles from './side-nav.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Side nav menu item.\n *\n * @element cds-side-nav-menu-item\n * @csspart link The link.\n * @csspart title The title.\n */\n@customElement(`${prefix}-side-nav-menu-item`)\nclass CDSSideNavMenuItem extends FocusMixin(LitElement) {\n /**\n * `true` if the menu item should be active.\n */\n @property({ type: Boolean, reflect: true })\n active = false;\n\n /**\n * Link `href`.\n */\n @property()\n href = '';\n\n /**\n * The title.\n */\n @property()\n title!: string;\n\n shouldUpdate(changedProperties) {\n if (changedProperties.has('active') && this.active) {\n const { selectorMenu } = this.constructor as typeof CDSSideNavMenuItem;\n const parent = this.closest(selectorMenu);\n if (parent) {\n (parent as CDSSideNavMenu).active = true;\n }\n }\n return true;\n }\n\n render() {\n const { active, href, title } = this;\n const classes = classMap({\n [`${prefix}--side-nav__link`]: true,\n [`${prefix}--side-nav__link--current`]: active,\n });\n return html`\n <a part=\"link\" class=\"${classes}\" href=\"${href}\">\n <span part=\"title\" class=\"${prefix}--side-nav__link-text\">\n <slot>${title}</slot>\n </span>\n </a>\n `;\n }\n\n /**\n * A selector that will return the parent menu.\n */\n static get selectorMenu() {\n return `${prefix}-side-nav-menu`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSideNavMenuItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/side-nav-menu.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASvC;;;;;;;;;;;GAWG;AACH,cACM,cAAe,SAAQ,mBAAsB;IACjD;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAS;IAEzB;;OAEG;IAEH,OAAO,CAAC,uBAAuB,CAAkB;IAEjD;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;IAiBlC;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAYzB;;OAEG;IACH,OAAO,CAAC,0BAA0B;IAUlC;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,UAAS;IAEd;;OAEG;IAEH,cAAc,UAAS;IAEvB;;OAEG;IAEH,KAAK,SAAM;IAEX,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAUzB,MAAM;IAyCN;;OAEG;IACH,MAAM,CAAC,iBAAiB,SAAqB;IAE7C;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"side-nav-menu.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport ChevronDown20 from '@carbon/icons/lib/chevron--down/20';\nimport { prefix } from '../../globals/settings';\nimport { forEach } from '../../globals/internal/collection-helpers';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './side-nav.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Side nav menu.\n *\n * @element cds-side-nav-menu\n * @slot title-icon - The icon.\n * @csspart expando The expando.\n * @csspart expando-icon-container The expando icon container.\n * @csspart expando-icon The expando icon.\n * @csspart title The title.\n * @csspart title-icon-container The title icon container.\n * @csspart menu-body The menu body.\n */\n@customElement(`${prefix}-side-nav-menu`)\nclass CDSSideNavMenu extends FocusMixin(LitElement) {\n /**\n * `true` if this menu has an icon.\n */\n private _hasIcon = false;\n\n /**\n * The container for the title icon.\n */\n @query('#title-icon-container')\n private _titleIconContainerNode!: HTMLDivElement;\n\n /**\n * Handles user-initiated toggle request of this side nav menu.\n *\n * @param expanded The new expanded state.\n */\n private _handleUserInitiatedToggle(expanded = !this.expanded) {\n const { eventBeforeToggle, eventToggle } = this\n .constructor as typeof CDSSideNavMenu;\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n expanded,\n },\n };\n if (this.dispatchEvent(new CustomEvent(eventBeforeToggle, init))) {\n this.expanded = expanded;\n this.dispatchEvent(new CustomEvent(eventToggle, init));\n }\n }\n\n /**\n * Handler for the `click` event on the expando button.\n */\n private _handleClickExpando() {\n this._handleUserInitiatedToggle();\n }\n\n /**\n * Handles `slotchange` event on the non-named `<slot>`.\n */\n private _handleSlotChange({ target }) {\n const { _hasIcon: hasIcon } = this;\n forEach(target.assignedNodes(), (item) => {\n if (item.nodeType === Node.ELEMENT_NODE) {\n item.toggleAttribute(\n (this.constructor as typeof CDSSideNavMenu).attribItemHasIcon,\n hasIcon\n );\n }\n });\n }\n\n /**\n * Handles `slotchange` event on the `<slot>` for the title icon.\n */\n private _handleSlotChangeTitleIcon({ target }) {\n const constructor = this.constructor as typeof CDSSideNavMenu;\n const hasIcon = target.assignedNodes().length > 0;\n this._hasIcon = hasIcon;\n this._titleIconContainerNode?.toggleAttribute('hidden', !hasIcon);\n forEach(this.querySelectorAll(constructor.selectorItem), (item) => {\n item.toggleAttribute(constructor.attribItemHasIcon, hasIcon);\n });\n }\n\n /**\n * `true` if the menu has active menu item.\n */\n @property({ type: Boolean, reflect: true })\n active = false;\n\n /**\n * `true` if the menu should be open.\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * Specify if this is a large variation of the side nav menu\n */\n @property({ type: Boolean, reflect: true })\n large = false;\n\n /**\n * `true` if the menu should be forced collapsed upon side nav's expanded state.\n */\n @property({ type: Boolean, reflect: true, attribute: 'force-collapsed' })\n forceCollapsed = false;\n\n /**\n * The title text.\n */\n @property()\n title = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('expanded')) {\n const { selectorItem } = this.constructor as typeof CDSSideNavMenu;\n const { expanded } = this;\n forEach(this.querySelectorAll(selectorItem), (elem) => {\n (elem as HTMLElement).tabIndex = expanded ? 0 : -1;\n });\n }\n }\n\n render() {\n const {\n expanded,\n forceCollapsed,\n title,\n _handleClickExpando: handleClickExpando,\n _handleSlotChange: handleSlotChange,\n _handleSlotChangeTitleIcon: handleSlotChangeTitleIcon,\n } = this;\n return html`\n <button\n type=\"button\"\n part=\"expando\"\n aria-haspopup=\"true\"\n aria-expanded=\"${String(Boolean(expanded && !forceCollapsed))}\"\n class=\"${prefix}--side-nav__submenu\"\n @click=${handleClickExpando}>\n <div\n id=\"title-icon-container\"\n part=\"title-icon-container\"\n hidden\n class=\"${prefix}--side-nav__icon\">\n <slot\n name=\"title-icon\"\n @slotchange=${handleSlotChangeTitleIcon}></slot>\n </div>\n <span part=\"title\" class=\"${prefix}--side-nav__submenu-title\"\n >${title}</span\n >\n <div\n part=\"expando-icon-container\"\n class=\"${prefix}--side-nav__icon ${prefix}--side-nav__icon--small ${prefix}--side-nav__submenu-chevron\">\n ${ChevronDown20({ part: 'expando-icon' })}\n </div>\n </button>\n <ul part=\"menu-body\" class=\"${prefix}--side-nav__menu\">\n <slot @slotchange=${handleSlotChange}></slot>\n </ul>\n `;\n }\n\n /**\n * The attribute name of the menu items, that is set if this menu has an icon.\n */\n static attribItemHasIcon = 'parent-has-icon';\n\n /**\n * A selector that will return the menu items.\n */\n static get selectorItem() {\n return `${prefix}-side-nav-menu-item`;\n }\n\n /**\n * The name of the custom event fired before this side nav menu is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling this side nav menu.\n */\n static get eventBeforeToggle() {\n return `${prefix}-side-nav-menu-beingtoggled`;\n }\n\n /**\n * The name of the custom event fired after this side nav menu is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${prefix}-side-nav-menu-toggled`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSideNavMenu;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/side-nav.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,MAAM,MAAM,+BAA+B,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAMrE,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD;;;;GAIG;AACH,cACM,UAAW,SAAQ,eAA6B;IACpD;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAS;IAEzB;;OAEG;IACH,OAAO,CAAC,YAAY,CAAuB;IAE3C;;OAEG;IACH,OAAO,CAAC,kBAAkB,CAAqB;IAE/C;;OAEG;IACH,OAAO,KAAK,2BAA2B,GAEtC;IAED;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAMzB;;OAEG;IAGH,OAAO,CAAC,mBAAmB,CAazB;IAEF;;OAEG;IACH,OAAO,CAAC,sCAAsC;IAY9C;;OAEG;IAEH,YAAY,yBAAqC;IAEjD;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAKH,kBAAkB,UAAS;IAE3B;;OAEG;IAEH,eAAe,UAAS;IAExB,iBAAiB;IAOjB,oBAAoB;IAKpB,YAAY,CAAC,iBAAiB,KAAA;IAa9B,OAAO,CAAC,iBAAiB,KAAA;IA+CzB;;;;OAIG;IAGH,OAAO,CAAC,eAAe;IASvB;;;;OAIG;IAGH,OAAO,CAAC,cAAc;IAOtB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAS1B;;;OAGG;IACH,OAAO,CAAC,eAAe;IAIvB,MAAM;IAgCN;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,UAAU,CAAC","file":"side-nav.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport on from '../../globals/mixins/on';\nimport { prefix } from '../../globals/settings';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { forEach } from '../../globals/internal/collection-helpers';\nimport Handle from '../../globals/internal/handle';\nimport { SIDE_NAV_COLLAPSE_MODE, SIDE_NAV_USAGE_MODE } from './defs';\nimport CDSHeaderMenuButton from './header-menu-button';\nimport CDSSideNavMenu from './side-nav-menu';\nimport styles from './side-nav.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { SIDE_NAV_COLLAPSE_MODE, SIDE_NAV_USAGE_MODE };\n\n/**\n * Side nav.\n *\n * @element cds-side-nav\n */\n@customElement(`${prefix}-side-nav`)\nclass CDSSideNav extends HostListenerMixin(LitElement) {\n /**\n * `true` if this side nav is hovered.\n */\n private _hovered = false;\n\n /**\n * The handle for `transitionend` event listener.\n */\n private _hTransition: Handle | null = null;\n\n /**\n * A promise that is resolved when the transition is complete.\n */\n private _transitionPromise = Promise.resolve();\n\n /**\n * A promise that is resolved when the transition upon proprety update is complete.\n */\n private get _updateAndTransitionPromise() {\n return this.updateComplete.then(() => this._transitionPromise);\n }\n\n /**\n * Cleans the handle for `transitionend` event listener.\n */\n private _cleanHTransition() {\n if (this._hTransition) {\n this._hTransition = this._hTransition.release();\n }\n }\n\n /**\n * Handles `${prefix}-header-menu-button-toggle` event on the document.\n */\n @HostListener('parentRoot:eventButtonToggle')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleButtonToggle = async (event: CustomEvent) => {\n this.expanded = event.detail.active;\n if (this.expanded) {\n await this._updateAndTransitionPromise;\n // Checks if the side nav is not collapsed during the animation\n if (this.expanded) {\n (\n this.querySelector(\n (this.constructor as typeof CDSSideNav).selectorNavItems\n ) as HTMLElement\n )?.focus();\n }\n }\n };\n\n /**\n * Force child side nav menus collapsed upon the hover/expanded state of this side nav.\n */\n private _updatedSideNavMenuForceCollapsedState() {\n const { expanded, _hovered: hovered } = this;\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSSideNav).selectorMenu\n ),\n (item) => {\n (item as CDSSideNavMenu).forceCollapsed = !expanded && !hovered;\n }\n );\n }\n\n /**\n * Collapse mode of the side nav.\n */\n @property({ reflect: true, attribute: 'collapse-mode' })\n collapseMode = SIDE_NAV_COLLAPSE_MODE.RESPONSIVE;\n\n /**\n * `true` to expand the side nav.\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * If `true` will style the side nav to sit below the header\n */\n @property({\n type: Boolean,\n attribute: 'is-not-child-of-header',\n })\n isNotChildOfHeader = false;\n\n /**\n * Specify if the side-nav will be persistent above the lg breakpoint\n */\n @property({ type: Boolean, reflect: true, attribute: 'is-not-persistent' })\n isNotPersistent = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'navigation');\n }\n super.connectedCallback();\n }\n\n disconnectedCallback() {\n this._cleanHTransition();\n super.disconnectedCallback();\n }\n\n shouldUpdate(changedProperties) {\n if (changedProperties.has('expanded')) {\n this._transitionPromise = new Promise((resolve) => {\n this._cleanHTransition();\n this._hTransition = on(this, 'transitionend', () => {\n this._cleanHTransition();\n resolve();\n });\n });\n }\n return true;\n }\n\n updated(changedProperties) {\n const doc = this.getRootNode() as Document;\n if (changedProperties.has('collapseMode')) {\n forEach(\n doc.querySelectorAll(\n (this.constructor as typeof CDSSideNav).selectorButtonToggle\n ),\n (item) => {\n (item as CDSHeaderMenuButton).collapseMode = this.collapseMode;\n }\n );\n }\n if (changedProperties.has('expanded')) {\n const headerItems = doc.querySelectorAll(\n (this.constructor as typeof CDSSideNav).selectorHeaderItems\n );\n forEach(\n doc.querySelectorAll(\n (this.constructor as typeof CDSSideNav).selectorButtonToggle\n ),\n (item) => {\n (item as CDSHeaderMenuButton).active = this.expanded;\n }\n );\n if (this.expanded) {\n forEach(headerItems, (item) => {\n item.setAttribute('tabindex', '-1');\n });\n } else {\n forEach(headerItems, (item) => {\n item.removeAttribute('tabindex');\n });\n }\n }\n if (changedProperties.has('isNotChildOfHeader')) {\n forEach(\n doc.querySelectorAll(\n (this.constructor as typeof CDSSideNav).selectorButtonToggle\n ),\n (item) => {\n (item as CDSHeaderMenuButton).isNotChildOfHeader =\n this.isNotChildOfHeader;\n }\n );\n }\n }\n\n /**\n * Handles `blur` event handler on this element.\n *\n * @param event The event.\n */\n @HostListener('focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocusOut({ relatedTarget }: FocusEvent) {\n const { collapseMode } = this;\n if (collapseMode !== SIDE_NAV_COLLAPSE_MODE.FIXED) {\n if (!this.contains(relatedTarget as Node)) {\n this.expanded = false;\n }\n }\n }\n\n /**\n * Handles `focus` event handler on this element.\n *\n * @param event The event.\n */\n @HostListener('focusin')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocusIn() {\n const { collapseMode } = this;\n if (collapseMode !== SIDE_NAV_COLLAPSE_MODE.FIXED) {\n this.expanded = true;\n }\n }\n\n /**\n * Handles the `mouseover` event for the side nav in rail mode.\n *\n */\n private _handleNavMouseOver() {\n const { collapseMode } = this;\n if (collapseMode === SIDE_NAV_COLLAPSE_MODE.RAIL) {\n this.expanded = true;\n this._hovered = true;\n this._updatedSideNavMenuForceCollapsedState();\n }\n }\n\n /**\n * Handles the `mouseout` event for the side nav in rail mode.\n *\n */\n private _handleNavMouseOut() {\n const { collapseMode } = this;\n if (collapseMode === SIDE_NAV_COLLAPSE_MODE.RAIL) {\n this.expanded = false;\n this._hovered = false;\n this._updatedSideNavMenuForceCollapsedState();\n }\n }\n\n /**\n * Handles the `click` event for the side nav overlay.\n *\n */\n private _onOverlayClick() {\n this.expanded = false;\n }\n\n render() {\n const { collapseMode, expanded, isNotChildOfHeader, isNotPersistent } =\n this;\n const classes = classMap({\n [`${prefix}--side-nav__navigation`]: true,\n [`${prefix}--side-nav`]: true,\n [`${prefix}--side-nav--expanded`]: expanded,\n [`${prefix}--side-nav--collapsed`]:\n !expanded && collapseMode === SIDE_NAV_COLLAPSE_MODE.FIXED,\n [`${prefix}--side-nav--rail`]:\n collapseMode === SIDE_NAV_COLLAPSE_MODE.RAIL,\n [`${prefix}--side-nav--ux`]: !isNotChildOfHeader,\n [`${prefix}--side-nav--hidden`]: isNotPersistent,\n });\n\n const overlayClasses = classMap({\n [`${prefix}--side-nav__overlay`]: true,\n [`${prefix}--side-nav__overlay-active`]: expanded,\n });\n return html`${this.collapseMode === SIDE_NAV_COLLAPSE_MODE.FIXED\n ? null\n : html`<div\n class=\"${overlayClasses}\"\n @click=${this._onOverlayClick}></div>`}\n <div\n class=\"${classes}\"\n @mouseover=\"${this._handleNavMouseOver}\"\n @mouseout=\"${this._handleNavMouseOut}\">\n <slot></slot>\n </div>`;\n }\n\n /**\n * A selector that will return the toggle buttons.\n */\n static get selectorButtonToggle() {\n return `${prefix}-header-menu-button`;\n }\n\n /**\n * A selector that will return the header name + global action elements.\n */\n static get selectorHeaderItems() {\n return `${prefix}-header-name, ${prefix}-header-global-action`;\n }\n\n /**\n * A selector that will return side nav focusable items.\n */\n static get selectorNavItems() {\n return `${prefix}-side-nav-menu, ${prefix}-side-nav-menu-item, ${prefix}-side-nav-link`;\n }\n\n /**\n * A selector that will return side nav menus.\n */\n static get selectorMenu() {\n return `${prefix}-side-nav-menu`;\n }\n\n /**\n * The name of the custom event fired after the header menu button in the document is toggled upon a user gesture.\n */\n static get eventButtonToggle() {\n return `${prefix}-header-menu-button-toggled`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSideNav;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/switcher-divider.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC;;;;GAIG;AACH,cACM,kBAAmB,SAAQ,UAAU;IACzC,iBAAiB;IAOjB,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,kBAAkB,CAAC","file":"switcher-divider.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\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\nimport { LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './header.scss';\n\n/**\n * A divider in switcher.\n *\n * @element cds-switcher-divider\n */\n@customElement(`${prefix}-switcher-divider`)\nclass CDSSwitcherDivider extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'separator');\n }\n super.connectedCallback();\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSwitcherDivider;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/switcher-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMvC;;;;GAIG;AACH,cACM,eAAgB,SAAQ,oBAAsB;IAClD;;OAEG;IAEH,SAAS,MAAC;IAEV;;OAEG;IAEH,cAAc,MAAC;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,SAAK;IAEb,iBAAiB;IAOjB,MAAM;IAqBN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"switcher-item.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './header.scss';\n\n/**\n * Switcher menu item.\n *\n * @element cds-switcher-item\n */\n@customElement(`${prefix}-switcher-item`)\nclass CDSSwitcherItem extends FocusMixin(LitElement) {\n /**\n * Required props for accessibility label\n */\n @property({ type: String, attribute: 'aria-label' })\n ariaLabel;\n\n /**\n * Props for accessibility labelled by\n */\n @property({ type: String, attribute: 'aria-labelledby' })\n ariaLabelledBy;\n\n /**\n * Link `href`.\n */\n @property()\n href = '';\n\n /**\n * Specify if this is a large variation of the side nav link\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * Specify if this is a large variation of the side nav link\n */\n @property({ type: Number, reflect: true, attribute: 'tab-index' })\n tabIndex = 0;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n }\n\n render() {\n const { href, selected, ariaLabel, ariaLabelledBy, tabIndex } = this;\n\n const classes = classMap({\n [`${prefix}--switcher__item-link`]: true,\n [`${prefix}--switcher__item-link--selected`]: selected,\n });\n\n return html`\n <a\n part=\"link\"\n aria-label=\"${ariaLabel}\"\n aria-labelledby=\"${ariaLabelledBy}\"\n tabindex=\"${tabIndex}\"\n class=\"${classes}\"\n href=\"${href}\">\n <slot></slot>\n </a>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSwitcherItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/ui-shell/switcher.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,WAAY,SAAQ,UAAU;IAClC;;OAEG;IAEH,SAAS,MAAC;IAEV;;OAEG;IAEH,cAAc,MAAC;IAEf,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,iBAAiB;;;;MAGtB;IAEF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,WAAW,CAAC","file":"switcher.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\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\nimport { LitElement, html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport styles from './header.scss';\nimport { prefix } from '../../globals/settings';\n\n/**\n * Switcher\n *\n * @element cds-switcher\n */\n@customElement(`${prefix}-switcher`)\nclass CDSSwitcher extends LitElement {\n /**\n * Required props for accessibility label on the underlying menu\n */\n @property({ type: String, attribute: 'aria-label' })\n ariaLabel;\n\n /**\n * Prop for accessibility labelled by on the underlying menu\n */\n @property({ type: String, attribute: 'aria-labelledby' })\n ariaLabelledBy;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'list');\n }\n super.connectedCallback();\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSSwitcher;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/decorators/carbon-element.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAQH,OAAO,EAEL,eAAe,EAChB,MAAM,0CAA0C,CAAC;AAElD;;GAEG;AACH,aAAK,kBAAkB,GAAG,IAAI,CAAC,OAAO,WAAW,EAAE,KAAK,CAAC,CAAC;AAoC1D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,YACd,MAAM,yBACI,kBAAkB,GAAG,eAAe,QAGkB,CAAC","file":"carbon-element.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 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 * 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 */\nimport {\n Constructor,\n ClassDescriptor,\n} from '@lit/reactive-element/decorators/base.js';\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 (error) {\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 (error) {\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/decorators/host-listener.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA8DH;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,SACT,MAAM,YAAY,OAAO,GAAG,uBAAuB,qCAC/B,MAAM,QAG6B,CAAC;AAEjE,eAAe,YAAY,CAAC","file":"host-listener.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 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 * Puts an event listener to an internal table for `@HostListener()`.\n *\n * @param type\n * The event type. Can be prefixed with `document:` or `window:`.\n * The event listener is attached to host element's owner document or its default view in such case.\n * @param options The event listener options.\n * @param Clazz The target class.\n * @param name The method name in the given target class that works as the event listener.\n */\nconst setHostListener = (\n type: string,\n options: boolean | AddEventListenerOptions,\n Clazz,\n name: string\n) => {\n const hostListeners = Clazz._hostListeners;\n if (!hostListeners) {\n throw new Error(\n 'The method `@HostListener()` is defined on has to be of a class that has `HostListerMixin`.'\n );\n }\n if (!hostListeners[name]) {\n hostListeners[name] = {};\n }\n hostListeners[name][type] = { options };\n};\n\n/**\n * @param type\n * The event type. Can be prefixed with `document:` or `window:`.\n * The event listener is attached to host element's owner document or its default view in such case.\n * @param options The event listener options.\n * @param descriptor The original class element descriptor of the event listener method.\n * @returns The updated class element descriptor with `@HostListener()` decorator.\n */\nconst HostListenerStandard = (\n type: string,\n options: boolean | AddEventListenerOptions,\n descriptor\n) => {\n const { kind, key, placement } = descriptor;\n if (\n !(\n (kind === 'method' && placement === 'prototype') ||\n (kind === 'field' && placement === 'own')\n )\n ) {\n throw new Error(\n '`@HostListener()` must be defined on instance methods, but you may have defined it on static, field, etc.'\n );\n }\n return {\n ...descriptor,\n finisher(Clazz) {\n setHostListener(type, options, Clazz, key);\n },\n };\n};\n\n/**\n * A decorator to add event listener to the host element, or its `document`/`window`, of a custom element.\n * The `target` must extend `HostListenerMixin`.\n *\n * @param type\n * The event type. Can be prefixed with `document:` or `window:`.\n * The event listener is attached to host element's owner document or its default view in such case.\n * @param options The event listener options.\n */\nconst HostListener =\n (type: string, options?: boolean | AddEventListenerOptions) =>\n (targetOrDescriptor, name: string) =>\n typeof name !== 'undefined'\n ? setHostListener(type, options!, targetOrDescriptor.constructor, name)\n : HostListenerStandard(type, options!, targetOrDescriptor);\n\nexport default HostListener;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/directives/if-non-empty.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;;GAIG;;AACH,wBAC2D","file":"if-non-empty.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport { ifDefined } from 'lit/directives/if-defined.js';\n\n/**\n * A variant of `if-non-null` which stops rendering if the given value is an emptry string in addition to `null`/`undefined`.\n *\n * @param The value.\n */\nexport default (value) =>\n ifDefined(value === '' ? undefined : value ?? undefined);\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/directives/spread.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;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;;;;;;OAMG;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,0GAA6B,CAAC;AAE1C,eAAe,MAAM,CAAC","file":"spread.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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\nimport {\n AttributePart,\n Directive,\n DirectiveParameters,\n} from 'lit/directive.js';\nimport { directive } from 'lit/async-directive.js';\n\nexport interface AttributesInfo {\n readonly [name: string]: string;\n}\n\n/**\n * Stores the ClassInfo object applied to a given AttributePart.\n * Used to unset existing values when a new ClassInfo object is applied.\n */\nconst attributesMapCache = new WeakMap();\n\n/**\n * A directive that applies attributes from a key-value pairs.\n * This must be used in the `...` name and must be the only part used in the attribute.\n * It applies the key-value pairs in the `attributesInfo` argument\n * and sets them as attribute name/value pairs.\n *\n */\nclass SpreadDirective extends Directive {\n /**\n * The update function that handles the attribute setting.\n *\n * @param part an object with an API to manage the element's DOM\n * @param attributesInfo The key-value pair to be set as the attribute name/value pairs.\n * @returns the render function\n */\n update(part: AttributePart, [attributesInfo]: DirectiveParameters<this>) {\n const { element } = part;\n\n // Removes old attributes that are no longer there\n const oldAttributesInfo = attributesMapCache.get(part);\n if (oldAttributesInfo) {\n Object.keys(oldAttributesInfo).forEach((name) => {\n if (!(name in attributesInfo)) {\n element.removeAttribute(name);\n }\n });\n }\n\n // Adds new attributes\n Object.keys(attributesInfo).forEach((name) => {\n const value = attributesInfo[name];\n if (\n (!oldAttributesInfo || !Object.is(value, oldAttributesInfo[name])) &&\n typeof value !== 'undefined'\n ) {\n element.setAttribute(name, value);\n }\n });\n\n // Updates the cache\n attributesMapCache.set(part, attributesInfo);\n\n return this.render(attributesInfo);\n }\n\n /**\n * The rendering function that simply takes in the arguments to be used\n * in the update() function.\n *\n * @param attributesInfo The key-value pair to be set as the attribute name/value pairs.\n * @returns the attributes info\n */\n render(attributesInfo: AttributesInfo) {\n return attributesInfo;\n }\n}\n\nconst spread = directive(SpreadDirective);\n\nexport default spread;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/internal/collection-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,MAAM,MACd,WAAW,IAAI,CAAC,GAAG,iBAAiB,OAAO,CAAC,sBAC3B,IAAI,UAAU,MAAM,KAAK,OAAO,eACvC,GAAG,UACwC,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,SAAS,MACjB,WAAW,IAAI,CAAC,GAAG,iBAAiB,OAAO,CAAC,sBAC3B,IAAI,UAAU,MAAM,KAAK,OAAO,eACvC,GAAG,WAC2C,CAAC;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,IAAI,MACZ,WAAW,IAAI,CAAC,GAAG,iBAAiB,OAAO,CAAC,sBAC3B,IAAI,UAAU,MAAM,KAAK,OAAO,eACvC,GAAG,QACsC,CAAC;AAEzD;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,MACf,WAAW,IAAI,CAAC,GAAG,iBAAiB,OAAO,CAAC,sBAC3B,OAAO,UAAU,MAAM,KAAK,IAAI,eACvC,GAAG,SACyC,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,OAAO,MACf,WAAW,IAAI,CAAC,GAAG,iBAAiB,OAAO,CAAC,QACzC,IAAI,WAC8B,CAAC","file":"collection-helpers.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 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 * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n * @returns A new array with all elements where `predicate` returns truthy.\n */\nexport const filter = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Node, index?: number) => boolean,\n thisObject?: any\n) => Array.prototype.filter.call(a, predicate, thisObject);\n\n/**\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n * @returns The index of the first item in the given collection where `predicate` returns `true`. `-1` if no such item is found.\n */\nexport const findIndex = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Node, index?: number) => boolean,\n thisObject?: any\n) => Array.prototype.findIndex.call(a, predicate, thisObject);\n\n/**\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n * @returns The first item in the given collection where `predicate` returns `true`. `null` if no such item is found.\n */\nexport const find = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Node, index?: number) => boolean,\n thisObject?: any\n) => Array.prototype.find.call(a, predicate, thisObject);\n\n/**\n * Walks through the given DOM collection and runs the given callback.\n *\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n */\nexport const forEach = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Element, index?: number) => void,\n thisObject?: any\n) => Array.prototype.forEach.call(a, predicate, thisObject);\n\n/**\n * @param a A DOM collection.\n * @param item An item in the DOM collection.\n * @returns The index of the first occurence of the given item in the given collection. `-1` if no such item is found.\n */\nexport const indexOf = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n item: Node\n) => Array.prototype.indexOf.call(a, item);\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/internal/handle.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;CACjB","file":"handle.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019\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 * An object to keep track of things that can be cleaned up.\n */\nexport default interface Handle {\n /**\n * Releases the thing that this object is keeping track of.\n * For example, if this `Handle` is keeping track of an event listener, this `release()` method removes the event listener.\n */\n release(): null;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/internal/radio-group-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,QAAQ,KAAK;IAEb;;OAEG;IACH,OAAO,IAAI;CACZ;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,uBAAuB,CAAC,KAAK,EAAE,0BAA0B,GAAG,MAAM,CAAC;IAEnE;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;CACf;AAED,aAAK,kBAAkB,GAAG,gBAAgB,GAAG,0BAA0B,CAAC;AAExE;;;GAGG;AACH,cAAM,iBAAiB;IACrB;;OAEG;IACH,OAAO,CAAC,OAAO,CAAmD;IAElE,OAAO;IAOP;;;;;;OAMG;IACH,iBAAiB,CAAC,KAAK,EAAE,kBAAkB;IAgB3C;;;OAGG;IACH,cAAc,CAAC,KAAK,EAAE,kBAAkB;IA2BxC;;;;;OAKG;IACH,GAAG,CAAC,KAAK,EAAE,kBAAkB;IAY7B;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,kBAAkB,EAAE,IAAI,GAAE,MAAmB;IAK3D;;;;;OAKG;IACH,MAAM,CAAC,KAAK,EAAE,kBAAkB,EAAE,QAAQ,CAAC,EAAE,OAAO;IAgBpD;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,oBAAoB;IAWnE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU,CAAiB;IAE1C;;;OAGG;IACH,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ;CAI9B;AAED,eAAe,iBAAiB,CAAC","file":"radio-group-manager.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\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 * The navigation direction.\n */\nexport enum NAVIGATION_DIRECTION {\n /**\n * Navigating backward.\n */\n BACKWARD = -1,\n\n /**\n * Navigating forward.\n */\n FORWARD = 1,\n}\n\nexport interface ManagedRadioButtonDelegate {\n /**\n * `true` if this radio button is selected.\n */\n checked: boolean;\n\n /**\n * The tab index.\n */\n tabIndex: number;\n\n /**\n * The name of the radio group.\n */\n name: string;\n\n /**\n * @param other A node to compare this radio button's DOM position in document with.\n * @returns\n * An integer value, the same format as `Node.compareDocumentPosition` does,\n * whose bits represent the calling this radio button's relationship to the given node within the document.\n */\n compareDocumentPosition(other: ManagedRadioButtonDelegate): number;\n\n /**\n * Focuses on the radio button.\n */\n focus(): void;\n}\n\ntype ManagedRadioButton = HTMLInputElement | ManagedRadioButtonDelegate;\n\n/**\n * An object that manages radio groups in a document.\n * There must be only one instance for one document.\n */\nclass RadioGroupManager {\n /**\n * Radio groups, keyed by their names.\n */\n private _groups: { [name: string]: Set<ManagedRadioButton> } = {};\n\n private constructor(document: Document) {\n (this.constructor as typeof RadioGroupManager)._instances.set(\n document,\n this\n );\n }\n\n /**\n * @param radio A radio button.\n * @returns\n * `true` if the given radio button should be focusable, which is either:\n * - The radio button is selected\n * - No radio button is selected and the radio button is first one in the radio group\n */\n shouldBeFocusable(radio: ManagedRadioButton) {\n if (radio.checked) {\n return true;\n }\n const { name } = radio;\n const group = this._groups[name];\n const hasSelectedItemInGroup =\n group && Array.from(group).some((item) => item.checked);\n if (hasSelectedItemInGroup) {\n return false;\n }\n const isFirstInGroup =\n !group || group.size === 1 || this.getSortedGroup(radio)[0] === radio;\n return isFirstInGroup;\n }\n\n /**\n * @param radio A radio button.\n * @returns The sorted radio group the given radio button is in.\n */\n getSortedGroup(radio: ManagedRadioButton) {\n const group = this._groups[radio.name];\n return (\n group &&\n Array.from(group).sort((lhs, rhs) => {\n const comparisonResult = (\n lhs as ManagedRadioButtonDelegate\n ).compareDocumentPosition(rhs as ManagedRadioButtonDelegate);\n // eslint-disable-next-line no-bitwise\n if (\n comparisonResult & Node.DOCUMENT_POSITION_FOLLOWING ||\n comparisonResult & Node.DOCUMENT_POSITION_CONTAINED_BY\n ) {\n return -1;\n }\n // eslint-disable-next-line no-bitwise\n if (\n comparisonResult & Node.DOCUMENT_POSITION_PRECEDING ||\n comparisonResult & Node.DOCUMENT_POSITION_CONTAINS\n ) {\n return 1;\n }\n return 0;\n })\n );\n }\n\n /**\n * Manages a radio button.\n *\n * @param radio The radio button to manage.\n * @returns This object.\n */\n add(radio: ManagedRadioButton) {\n const { name } = radio;\n if (name) {\n const groups = this._groups;\n if (!groups[name]) {\n groups[name] = new Set<ManagedRadioButton>();\n }\n groups[name].add(radio);\n }\n return this;\n }\n\n /**\n * Unmanages a radio button.\n *\n * @param radio The radio button to unmanage.\n * @param name The old name of the radio button to unmanage.\n * @returns `true` if `element` was actually managed.\n */\n delete(radio: ManagedRadioButton, name: string = radio.name) {\n const group = this._groups[name];\n return !group ? false : group.delete(radio);\n }\n\n /**\n * Selects or focuses on a radio button.\n *\n * @param radio The radio button to select.\n * @param readOnly optional if radio button has readOnly.\n */\n select(radio: ManagedRadioButton, readOnly?: boolean) {\n const group = this._groups[radio.name];\n if (group) {\n // Updates the state of the one being selected up-front to avoid the state of no radio button is selected\n radio.checked = !readOnly || true;\n radio.tabIndex = 0;\n radio.focus();\n group.forEach((item) => {\n if (radio !== item) {\n item.checked = readOnly || false;\n item.tabIndex = -1;\n }\n });\n }\n }\n\n /**\n * @param radio The currently selected radio button.\n * @param direction The direction to navigate to.\n * @returns The radio button that should be selected next.\n */\n navigate(radio: ManagedRadioButton, direction: NAVIGATION_DIRECTION) {\n const sortedGroup = this.getSortedGroup(radio);\n let newIndex = sortedGroup.indexOf(radio) + direction;\n if (newIndex < 0) {\n newIndex = sortedGroup.length - 1;\n } else if (newIndex >= sortedGroup.length) {\n newIndex = 0;\n }\n return sortedGroup[newIndex];\n }\n\n /**\n * `RadioGroupManager` instances associated with documents.\n */\n private static _instances = new WeakMap();\n\n /**\n * @param document A document element.\n * @returns The `RadioGroupManager` instance associated with the given document.\n */\n static get(document: Document) {\n const found = this._instances.get(document);\n return found || new RadioGroupManager(document);\n }\n}\n\nexport default RadioGroupManager;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["globals/internal/storybook-cdn.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAyBH;;;;GAIG;AACH,eAAO,MAAM,KAAK;;YA2BjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,cASlB,CAAC","file":"storybook-cdn.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\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\nimport packageJson from '../../../package.json';\n\n/* eslint-disable max-len */\n\n/**\n *\n */\n/**\n * Renders the component(s) script tag content and returns back the string\n *\n * @param {Array} components array of component names\n * @param {string} tag tag folder\n * @param {boolean} isRTL flag to show rtl version\n */\nfunction _renderScript(components, tag, isRTL = false) {\n let scripts = '';\n const rtl = isRTL ? '.rtl' : '';\n components.forEach((component) => {\n scripts += `<script type=\"module\" src=\"https://1.www.s81c.com/common/carbon/web-components/${tag}/${component}${rtl}.min.js\"></script>\\n`;\n });\n return scripts;\n}\n\n/**\n * This is the markdown block for JS via CDN\n *\n * @param {Array} components array of components to render\n */\nexport const cdnJs = ({ components }) => {\n return `\n ### JS (via CDN)\n\n \\`\\`\\`html\n // SPECIFIC VERSION (available starting v1.6.0)\n ${_renderScript(components, `version/v${packageJson.version}`)}\n\n // LATEST tag\n ${_renderScript(components, 'tag/v2/latest')}\n \\`\\`\\`\n\n > NOTE: The latest tag is a moving version. While beneficial to\n > always stay on the most recent version, it is recommended to choose a specific\n > version and properly test your application when upgrading to a newer version.\n\n\n #### Right-to-left (RTL) versions\n\n \\`\\`\\`html\n // SPECIFIC VERSION (available starting v1.6.0)\n ${_renderScript(components, `version/v${packageJson.version}`, true)}\n\n // LATEST tag\n ${_renderScript(components, 'tag/v2/latest', true)}\n \\`\\`\\`\n `;\n};\n\n/**\n * This is the markdown block for CSS via CDN\n */\nexport const cdnCss = () => {\n return `\n### Carbon CDN style helpers (optional)\n\nThere are optional CDN artifacts available that can assist with global Carbon\nstyles in lieu of including into your specific application bundle.\n\n[Click here to learn more](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md)\\n\\n\n `;\n};\n"]}
|