@carbon/web-components 2.0.1 → 2.0.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +480 -12
- package/dist/16-01ebcb7f.js +50 -0
- package/dist/16-08c7b6ab.js +50 -0
- package/dist/16-1664e172.js +50 -0
- package/dist/16-1c0007f3.js +50 -0
- package/dist/16-20c5edc1.js +50 -0
- package/dist/16-220724e0.js +50 -0
- package/dist/16-228e7358.js +50 -0
- package/dist/16-291af4c1.js +50 -0
- package/dist/16-36ae18bf.js +50 -0
- package/dist/16-3b37b4ba.js +50 -0
- package/dist/16-46b03826.js +50 -0
- package/dist/16-5aefc3c2.js +50 -0
- package/dist/16-60b422c4.js +50 -0
- package/dist/16-6791071b.js +50 -0
- package/dist/16-6ceb5b82.js +50 -0
- package/dist/16-758bd5d3.js +50 -0
- package/dist/16-99afca88.js +50 -0
- package/dist/16-9e41b122.js +50 -0
- package/dist/16-9f0fa955.js +50 -0
- package/dist/16-a89c399c.js +50 -0
- package/dist/16-ae0e9a56.js +50 -0
- package/dist/16-c0c1a32f.js +50 -0
- package/dist/16-c18899be.js +50 -0
- package/dist/16-c56d8c15.js +50 -0
- package/dist/16-d814df5b.js +50 -0
- package/dist/16-d9457893.js +50 -0
- package/dist/16-d9a15472.js +50 -0
- package/dist/16-f1e0111b.js +50 -0
- package/dist/16-f62d4131.js +50 -0
- package/dist/16-f7a9dffe.js +50 -0
- package/dist/16-fbf142c7.js +50 -0
- package/dist/16-fd11e4ec.js +50 -0
- package/dist/20-1dd5ae57.js +50 -0
- package/dist/20-b7ed64f4.js +50 -0
- package/dist/20-d7cf1679.js +50 -0
- package/dist/20-e51c1f39.js +50 -0
- package/dist/accordion.min.js +103 -0
- package/dist/accordion.rtl.min.js +103 -0
- package/dist/breadcrumb.min.js +64 -0
- package/dist/breadcrumb.rtl.min.js +64 -0
- package/dist/button-3dafe360.js +114 -0
- package/dist/button-582a2f3a.js +114 -0
- package/dist/button-8d4316cb.js +114 -0
- package/dist/button-e33e1c4a.js +114 -0
- package/dist/button-set-04f29086.js +50 -0
- package/dist/button-set-49c4279d.js +50 -0
- package/dist/button-set-5ee221b2.js +50 -0
- package/dist/button-set-c9335535.js +50 -0
- package/dist/button-skeleton-00620289.js +70 -0
- package/dist/button-skeleton-b2facaf2.js +70 -0
- package/dist/button-skeleton-d68066fe.js +70 -0
- package/dist/button-skeleton-f9f83011.js +70 -0
- package/dist/button.min.js +50 -0
- package/dist/button.rtl.min.js +50 -0
- package/dist/carbon-element-4ca9803f.js +58 -0
- package/dist/checkbox-1ca3f18c.js +72 -0
- package/dist/checkbox-1e621c4d.js +72 -0
- package/dist/checkbox-440be135.js +72 -0
- package/dist/checkbox-fa74151f.js +72 -0
- package/dist/checkbox.min.js +56 -0
- package/dist/checkbox.rtl.min.js +56 -0
- package/dist/class-map-0ae732f6.js +55 -0
- package/dist/class-map-ff7e8fde.js +55 -0
- package/dist/code-snippet.min.js +115 -0
- package/dist/code-snippet.rtl.min.js +115 -0
- package/dist/collection-helpers-4e32fe16.js +58 -0
- package/dist/combo-box.min.js +72 -0
- package/dist/combo-box.rtl.min.js +72 -0
- package/dist/content-switcher-item-55b2adca.js +84 -0
- package/dist/content-switcher-item-6d9b81cf.js +84 -0
- package/dist/content-switcher-item-bee4ce7e.js +84 -0
- package/dist/content-switcher-item-f758c238.js +84 -0
- package/dist/content-switcher.min.js +50 -0
- package/dist/content-switcher.rtl.min.js +50 -0
- package/dist/copy-button-0404162f.js +63 -0
- package/dist/copy-button-1d23e1bd.js +63 -0
- package/dist/copy-button-cf261260.js +63 -0
- package/dist/copy-button-d35b2079.js +63 -0
- package/dist/copy-button.min.js +50 -0
- package/dist/copy-button.rtl.min.js +50 -0
- package/dist/custom-element-975be15f.js +55 -0
- package/dist/data-table.min.js +169 -0
- package/dist/data-table.rtl.min.js +169 -0
- package/dist/date-picker.min.js +169 -0
- package/dist/date-picker.rtl.min.js +169 -0
- package/dist/directive-e2d48b9c.js +55 -0
- package/dist/dropdown-item-2ae1dc7f.js +128 -0
- package/dist/dropdown-item-64bf0a4f.js +128 -0
- package/dist/dropdown-item-7273edb2.js +128 -0
- package/dist/dropdown-item-cdd1a116.js +128 -0
- package/dist/dropdown.min.js +57 -0
- package/dist/dropdown.rtl.min.js +57 -0
- package/dist/file-uploader.min.js +128 -0
- package/dist/file-uploader.rtl.min.js +128 -0
- package/dist/floating-menu-1795f0f3.js +58 -0
- package/dist/floating-menu-26d746d4.js +58 -0
- package/dist/floating-menu.min.js +50 -0
- package/dist/floating-menu.rtl.min.js +50 -0
- package/dist/focus-4a59e420.js +58 -0
- package/dist/focus-e79b2a40.js +58 -0
- package/dist/form-54a62766.js +50 -0
- package/dist/form-f6607c5c.js +50 -0
- package/dist/form-group.min.js +61 -0
- package/dist/form-group.rtl.min.js +61 -0
- package/dist/form.min.js +50 -0
- package/dist/form.rtl.min.js +50 -0
- package/dist/get-d229c408.js +50 -0
- package/dist/host-listener-0e75581e.js +58 -0
- package/dist/host-listener-42fdb22d.js +58 -0
- package/dist/icon-button-32eafa9f.js +71 -0
- package/dist/icon-button-334ed010.js +71 -0
- package/dist/icon-button-6974bc9a.js +71 -0
- package/dist/icon-button-8f6cac1e.js +71 -0
- package/dist/icon-button.min.js +50 -0
- package/dist/icon-button.rtl.min.js +50 -0
- package/dist/if-defined-2063a6b2.js +55 -0
- package/dist/if-defined-5b102a7a.js +55 -0
- package/dist/if-non-empty-3cac5484.js +58 -0
- package/dist/if-non-empty-f97d9ca3.js +58 -0
- package/dist/inline-loading.min.js +69 -0
- package/dist/inline-loading.rtl.min.js +69 -0
- package/dist/layer.min.js +50 -0
- package/dist/layer.rtl.min.js +50 -0
- package/dist/link-40eed54e.js +74 -0
- package/dist/link-42b684df.js +74 -0
- package/dist/link.min.js +50 -0
- package/dist/link.rtl.min.js +50 -0
- package/dist/list.min.js +65 -0
- package/dist/list.rtl.min.js +65 -0
- package/dist/loading-38056720.js +50 -0
- package/dist/loading-3aa24148.js +50 -0
- package/dist/loading-638b469c.js +50 -0
- package/dist/loading-dadfb60c.js +50 -0
- package/dist/loading-icon-5f6382df.js +82 -0
- package/dist/loading-icon-64a5114e.js +82 -0
- package/dist/loading.min.js +50 -0
- package/dist/loading.rtl.min.js +50 -0
- package/dist/modal.min.js +87 -0
- package/dist/modal.rtl.min.js +87 -0
- package/dist/multi-select.min.js +119 -0
- package/dist/multi-select.rtl.min.js +119 -0
- package/dist/notification.min.js +119 -0
- package/dist/notification.rtl.min.js +119 -0
- package/dist/number-input.min.js +130 -0
- package/dist/number-input.rtl.min.js +130 -0
- package/dist/objectSpread2-8208d45c.js +50 -0
- package/dist/objectSpread2-ea408269.js +50 -0
- package/dist/on-6c264d49.js +50 -0
- package/dist/overflow-menu.min.js +77 -0
- package/dist/overflow-menu.rtl.min.js +77 -0
- package/dist/pagination.min.js +142 -0
- package/dist/pagination.rtl.min.js +142 -0
- package/dist/popover-content-091b39e0.js +61 -0
- package/dist/popover-content-9e3bbe49.js +61 -0
- package/dist/popover-content-b376ac06.js +61 -0
- package/dist/popover-content-f183f37a.js +61 -0
- package/dist/popover.min.js +50 -0
- package/dist/popover.rtl.min.js +50 -0
- package/dist/progress-bar.min.js +79 -0
- package/dist/progress-bar.rtl.min.js +79 -0
- package/dist/progress-indicator.min.js +87 -0
- package/dist/progress-indicator.rtl.min.js +87 -0
- package/dist/query-6ca5e414.js +55 -0
- package/dist/query-assigned-elements-8e88277c.js +60 -0
- package/dist/radio-button.min.js +89 -0
- package/dist/radio-button.rtl.min.js +89 -0
- package/dist/radio-group-manager-3a681292.js +58 -0
- package/dist/radio-group-manager-f79f750e.js +58 -0
- package/dist/search-28dbefa9.js +79 -0
- package/dist/search-45d09092.js +79 -0
- package/dist/search-63dc2971.js +79 -0
- package/dist/search-f633f8c0.js +79 -0
- package/dist/search.min.js +53 -0
- package/dist/search.rtl.min.js +53 -0
- package/dist/select-item-355b65a2.js +50 -0
- package/dist/select-item-ac48969e.js +50 -0
- package/dist/select.min.js +121 -0
- package/dist/select.rtl.min.js +121 -0
- package/dist/settings-a675998f.js +80 -0
- package/dist/settings-daf72103.js +80 -0
- package/dist/shared-enums-c6fe8c39.js +58 -0
- package/dist/skeleton-placeholder.min.js +50 -0
- package/dist/skeleton-placeholder.rtl.min.js +50 -0
- package/dist/skeleton-text-3f580931.js +58 -0
- package/dist/skeleton-text-5cfb8d17.js +58 -0
- package/dist/skeleton-text-bb615714.js +58 -0
- package/dist/skeleton-text-e6700c4b.js +58 -0
- package/dist/skeleton-text.min.js +50 -0
- package/dist/skeleton-text.rtl.min.js +50 -0
- package/dist/skip-to-content.min.js +54 -0
- package/dist/skip-to-content.rtl.min.js +54 -0
- package/dist/slider.min.js +125 -0
- package/dist/slider.rtl.min.js +125 -0
- package/dist/slug.min.js +84 -0
- package/dist/slug.rtl.min.js +84 -0
- package/dist/spread-6bfe3826.js +58 -0
- package/dist/spread-eaa3f2b9.js +58 -0
- package/dist/stack.min.js +59 -0
- package/dist/stack.rtl.min.js +59 -0
- package/dist/state-63312e74.js +55 -0
- package/dist/structured-list.min.js +68 -0
- package/dist/structured-list.rtl.min.js +68 -0
- package/dist/tabs.min.js +114 -0
- package/dist/tabs.rtl.min.js +114 -0
- package/dist/tag.min.js +71 -0
- package/dist/tag.rtl.min.js +71 -0
- package/dist/text-input-08a8a922.js +119 -0
- package/dist/text-input-45ea7bf7.js +119 -0
- package/dist/text-input-4616af44.js +119 -0
- package/dist/text-input-6d08528b.js +119 -0
- package/dist/text-input.min.js +53 -0
- package/dist/text-input.rtl.min.js +53 -0
- package/dist/textarea.min.js +95 -0
- package/dist/textarea.rtl.min.js +95 -0
- package/dist/tile.min.js +106 -0
- package/dist/tile.rtl.min.js +106 -0
- package/dist/toggle-tip.min.js +50 -0
- package/dist/toggle-tip.rtl.min.js +50 -0
- package/dist/toggle.min.js +92 -0
- package/dist/toggle.rtl.min.js +92 -0
- package/dist/toggletip-0aa429db.js +90 -0
- package/dist/toggletip-0c43069a.js +90 -0
- package/dist/toggletip-6a368ecf.js +90 -0
- package/dist/toggletip-f3e84381.js +90 -0
- package/dist/tooltip-content-2470a2af.js +52 -0
- package/dist/tooltip-content-267c3eb7.js +52 -0
- package/dist/tooltip-content-3096d302.js +52 -0
- package/dist/tooltip-content-a38f2e85.js +52 -0
- package/dist/tooltip.min.js +50 -0
- package/dist/tooltip.rtl.min.js +50 -0
- package/dist/ui-shell.min.js +186 -0
- package/dist/ui-shell.rtl.min.js +186 -0
- package/dist/validity-d86ffa4f.js +58 -0
- 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 -6
- 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/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/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/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/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/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/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/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--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/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/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/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/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/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 +6 -1
- 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/floating-menu/floating-menu.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,MAAM,MAAM,+BAA+B,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,QAAQ,CAAC;AAChB,OAAO,sBAAsB,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,uBAAuB,EAAE,gCAAgC,EAAE,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,SAAS,EAAE,gCAAgC,CAAC;IAE5C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCD;;GAEG;AACH,uBAAe,eAAgB,SAAQ,oBAEtC;IACC;;OAEG;IACH,OAAO,CAAC,qBAAqB,CAAuB;IAEpD;;OAEG;IACH,OAAO,CAAC,wBAAwB,CAAuB;IAEvD;;OAEG;IAGH,OAAO,CAAC,eAAe,CASpB;IAIH,OAAO,CAAC,WAAW,CAQjB;IAIF,OAAO,CAAC,MAAM,CAKZ;IAIF,OAAO,CAAC,cAAc,CASpB;IAEF;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAQ;IAEvD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAE5C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,IAAI,SAAS,QAOZ;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,oBAAoB,CAyEnC;IAED,oBAAoB;IASpB,OAAO,CAAC,iBAAiB,KAAA;IA0CzB;;OAEG;IACH,MAAM,CAAC,aAAa,UAAQ;IAE5B;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IACD,MAAM,CAAC,iBAAiB;;;;MAGtB;CACH;AAED,eAAe,eAAe,CAAC","file":"floating-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 } from 'lit';\nimport HostListener from '../../globals/decorators/host-listener';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport Handle from '../../globals/internal/handle';\nimport {\n FLOATING_MENU_DIRECTION,\n FLOATING_MENU_POSITION_DIRECTION,\n} from './defs';\nimport CDSFloatingMenuTrigger from './floating-menu-trigger';\nimport { prefix } from '../../globals/settings';\n\nexport { FLOATING_MENU_DIRECTION, FLOATING_MENU_POSITION_DIRECTION };\n\n/**\n * Position of floating menu, or trigger button of floating menu.\n */\nexport interface FloatingMenuPosition {\n /**\n * The LTR/RTL direction used for positioning floating menu.\n */\n direction: FLOATING_MENU_POSITION_DIRECTION;\n\n /**\n * The start position (Left position for LTR, right position for RTL).\n */\n start: number;\n\n /**\n * The top position.\n */\n top: number;\n}\n\n/**\n * Observes resize of the given element with the given resize observer.\n *\n * @param observer The resize observer.\n * @param elem The element to observe the resize.\n */\nconst observeResize = (observer: ResizeObserver, elem: Element) => {\n observer.observe(elem);\n return {\n release() {\n observer.unobserve(elem);\n return null;\n },\n } as Handle;\n};\n\n/**\n * @param elem The starting element.\n * @param selector The CSS selector.\n * @returns {Element}\n * The closest ancestor node of the given element that matches the given selector, crossing Shadow DOM boundary.\n */\nconst closestComposed = (elem: Element, selector: string) => {\n const found = elem.closest(selector);\n if (found) {\n return found;\n }\n const { host } = elem.getRootNode() as ShadowRoot;\n if (host) {\n return closestComposed(host, selector);\n }\n return null;\n};\n\n/**\n * Floating menu.\n */\nabstract class CDSFloatingMenu extends HostListenerMixin(\n FocusMixin(LitElement)\n) {\n /**\n * The handle for observing resize of the element containing the trigger button.\n */\n private _hObserveResizeParent: Handle | null = null;\n\n /**\n * The handle for observing resize of the floating menu container.\n */\n private _hObserveResizeContainer: Handle | null = null;\n\n /**\n * The `ResizeObserver` instance for observing element resizes for re-positioning floating menu position.\n */\n // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n // @ts-ignore\n private _resizeObserver = new ResizeObserver(() => {\n const { container, open, parent, position } = this;\n if (container && open && parent) {\n const { direction, start, top } = position;\n this.style[\n direction !== FLOATING_MENU_POSITION_DIRECTION.RTL ? 'left' : 'right'\n ] = `${start}px`;\n this.style.top = `${top}px`;\n }\n });\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 const { parent } = this;\n if (parent && parent !== relatedTarget) {\n parent.open = false;\n HTMLElement.prototype.focus.call(this.parent); // SVGElement in IE11 does not have `.focus()` method\n }\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 _click = (event: MouseEvent) => {\n const { parent } = this;\n if (parent) {\n parent.open = false;\n }\n };\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 if (event.key === 'Tab') {\n if (event.shiftKey) {\n const { parent } = this;\n if (parent) {\n parent.open = false;\n }\n }\n }\n };\n\n /**\n * The DOM element, typically a custom element in this library, launching this floating menu.\n */\n protected parent: CDSFloatingMenuTrigger | null = null;\n\n /**\n * The menu direction.\n */\n abstract direction: FLOATING_MENU_DIRECTION;\n\n /**\n * `true` if the menu should be open.\n */\n abstract open: boolean;\n\n /**\n * `true` if the menu alignment should be flipped.\n */\n abstract flipped: boolean;\n\n /**\n * The DOM element to put this menu into.\n */\n get container() {\n return (\n closestComposed(\n this,\n (this.constructor as typeof CDSFloatingMenu).selectorContainer\n ) || this.ownerDocument!.body\n );\n }\n\n /**\n * The position of this floating menu.\n */\n get position(): FloatingMenuPosition {\n const { triggerPosition } = this.parent!;\n if (!triggerPosition) {\n throw new TypeError('Missing information of trigger button position.');\n }\n\n const { container } = this;\n const {\n left: refLeft = 0,\n top: refTop = 0,\n right: refRight = 0,\n bottom: refBottom = 0,\n } = triggerPosition;\n const { width, height } = this.getBoundingClientRect();\n const {\n left: containerLeft = 0,\n right: containerRight = 0,\n top: containerTop = 0,\n } = container.getBoundingClientRect();\n\n const containerComputedStyle =\n container.ownerDocument!.defaultView!.getComputedStyle(container);\n const positionDirection = containerComputedStyle.getPropertyValue(\n 'direction'\n ) as FLOATING_MENU_POSITION_DIRECTION;\n const isRtl = positionDirection === FLOATING_MENU_POSITION_DIRECTION.RTL;\n const containerStartFromViewport = !isRtl\n ? containerLeft\n : container.ownerDocument!.defaultView!.innerWidth - containerRight;\n const refStartFromContainer = !isRtl\n ? refLeft - containerLeft\n : containerRight - refRight;\n const refEndFromContainer = !isRtl\n ? refRight - containerLeft\n : containerRight - refLeft;\n const refTopFromContainer = refTop - containerTop;\n\n if (\n (container !== this.ownerDocument!.body ||\n containerStartFromViewport !== 0 ||\n containerTop !== 0) &&\n containerComputedStyle.getPropertyValue('position') === 'static'\n ) {\n throw new Error(\n 'Floating menu container must not have `position:static`.'\n );\n }\n\n const { flipped, direction } = this;\n if (Object.values(FLOATING_MENU_DIRECTION).indexOf(direction) < 0) {\n throw new Error(`Wrong menu position direction: ${direction}`);\n }\n\n const alignmentStart = flipped\n ? refEndFromContainer - width\n : refStartFromContainer;\n\n const { start, top } = {\n [FLOATING_MENU_DIRECTION.TOP]: () => ({\n start: alignmentStart,\n top: refTopFromContainer - height,\n }),\n [FLOATING_MENU_DIRECTION.BOTTOM]: () => ({\n start: alignmentStart,\n top: refBottom,\n }),\n }[direction]();\n\n return {\n direction: positionDirection,\n start,\n top,\n };\n }\n\n disconnectedCallback() {\n if (this._hObserveResizeContainer) {\n this._hObserveResizeContainer = this._hObserveResizeContainer.release();\n }\n if (this._hObserveResizeParent) {\n this._hObserveResizeParent = this._hObserveResizeParent.release();\n }\n }\n\n updated(changedProperties) {\n const { container, open, parent } = this;\n if (\n (changedProperties.has('flipped') ||\n changedProperties.has('direction') ||\n changedProperties.has('open')) &&\n open\n ) {\n if (!parent) {\n this.parent = this.parentElement as CDSFloatingMenuTrigger;\n container.appendChild(this);\n }\n // Note: `this.position` cannot be referenced until `this.parent` is set\n const { direction, start, top } = this.position;\n this.style[\n direction !== FLOATING_MENU_POSITION_DIRECTION.RTL ? 'left' : 'right'\n ] = `${start}px`;\n this.style.top = `${top}px`;\n }\n if (changedProperties.has('open')) {\n if (this._hObserveResizeContainer) {\n this._hObserveResizeContainer = this._hObserveResizeContainer.release();\n }\n if (this._hObserveResizeParent) {\n this._hObserveResizeParent = this._hObserveResizeParent.release();\n }\n if (open) {\n const { parentElement } = this.parent ?? {};\n this._hObserveResizeContainer = observeResize(\n this._resizeObserver,\n container\n );\n if (parentElement) {\n this._hObserveResizeParent = observeResize(\n this._resizeObserver,\n parentElement\n );\n }\n }\n }\n }\n\n /**\n * A constant indicating that this class is a floating menu.\n */\n static FLOATING_MENU = true;\n\n /**\n * The CSS selector to find the element to put this floating menu in.\n */\n static get selectorContainer() {\n return `[data-floating-menu-container],${prefix}-modal`;\n }\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n}\n\nexport default CDSFloatingMenu;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/floating-menu/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,iBAAiB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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\nimport './floating-menu';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/form/form-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,WAAY,SAAQ,UAAU;IAClC,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,WAAW,CAAC","file":"form-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 { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './form-item.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Presentational element for form items\n *\n * @element cds-form-item\n */\n@customElement(`${prefix}-form-item`)\nclass CDSFormItem extends LitElement {\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 CDSFormItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/form/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,aAAa,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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\nimport './form-item';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/form-group/form-group.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;;;GAMG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC;;OAEG;IAEH,OAAO,UAAS;IAEhB;;;OAGG;IAEH,QAAQ,MAAC;IAET;;OAEG;IAEH,UAAU,EAAG,MAAM,CAAC;IAEpB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,MAAC;IAEZ,MAAM;IAmBN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"form-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, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './form-group.scss';\n\n/**\n * The shell UI for file uploader.\n *\n * @element cds-form-group\n * @slot label-title.\n * @slot lebel-description.\n */\n@customElement(`${prefix}-form-group`)\nclass CDSFormGroup extends LitElement {\n /**\n * Specify whether the Form Group is invalid\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Provide id for the fieldset <legend> which corresponds to the fieldset\n * `aria-labelledby`\n */\n @property({ attribute: 'legend-id' })\n legendId;\n\n /**\n * Provide the text to be rendered inside of the fieldset <legend>\n */\n @property({ attribute: 'legend-text' })\n legendText!: string;\n\n /**\n * Specify whether the message should be displayed in the Form Group\n */\n @property({ type: Boolean, reflect: true })\n message = false;\n\n /**\n * Provide the text for the message in the Form Group\n */\n @property({ type: String, attribute: 'message-text', reflect: true })\n messageText;\n\n render() {\n const { invalid, legendId, legendText, message, messageText } = this;\n\n return html`\n <fieldset\n class=\"${prefix}--fieldset\"\n ?data-invalid=${invalid}\n aria-labelledby=\"${legendId}\">\n <legend class=\"${prefix}--label\" id=${legendId}>${legendText}</legend>\n <slot></slot>\n ${message\n ? html`<div class=\"${prefix}--form__requirements\">\n ${messageText}\n </div>`\n : null}\n </fieldset>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSFormGroup;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/form-group/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,cAAc,CAAC","file":"index.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 './form-group';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/icon-button/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,KAAK,OAAO;IAEZ;;OAEG;IACH,MAAM,OAAO;IAEb;;OAEG;IACH,KAAK,OAAO;CACb;AAED;;GAEG;AACH,oBAAY,6BAA6B;IACvC;;OAEG;IACH,GAAG,QAAQ;IAEX;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,KAAK,UAAU;CAChB","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 * Icon Button size.\n */\nexport enum ICON_BUTTON_SIZE {\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * Medium size.\n */\n MEDIUM = 'md',\n\n /**\n * Large size.\n */\n LARGE = 'lg',\n}\n\n/**\n * Icon Button Tooltip alignment.\n */\nexport enum ICON_BUTTON_TOOLTIP_ALIGNMENT {\n /**\n * Align the top position for the tooltip content.\n */\n TOP = 'top',\n\n /**\n * Align the top-left position for the tooltip content.\n */\n TOP_LEFT = 'top-left',\n\n /**\n * Align the top right position for the tooltip content.\n */\n TOP_RIGHT = 'top-right',\n\n /**\n * Align the bottom position for the tooltip content.\n */\n BOTTOM = 'bottom',\n\n /**\n * Align the bottom left position for the tooltip content.\n */\n BOTTOM_LEFT = 'bottom-left',\n\n /**\n * Align the bottom right position for the tooltip content.\n */\n BOTTOM_RIGHT = 'bottom-right',\n\n /**\n * Align the left position for the tooltip content.\n */\n LEFT = 'left',\n\n /**\n * Align the right position for the tooltip content.\n */\n RIGHT = 'right',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,QAAQ,CAAC;AAGzE,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,CAAC;AAE3D;;;GAGG;AACH,cACM,aAAc,SAAQ,SAAS;IACnC;;OAEG;IAEH,KAAK,SAAS;IAEd;;OAEG;IAEH,iBAAiB,UAAQ;IAEzB;;OAEG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,YAAY,SAAO;IAEnB;;OAEG;IAEH,YAAY,SAAO;IAEnB;;OAEG;IAEH,IAAI,SAAQ;IAEZ,OAAO,CAAC,iBAAiB,KAAA;IAkBzB,SAAS,CAAC,qBAAqB;IAQ/B,MAAM;IAoBN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"icon-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 { html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport '../tooltip/index';\nimport '../button/index';\nimport CDSButton from '../button/button';\nimport { ICON_BUTTON_SIZE, ICON_BUTTON_TOOLTIP_ALIGNMENT } from './defs';\nimport styles from './icon-button.scss';\n\nexport { ICON_BUTTON_SIZE, ICON_BUTTON_TOOLTIP_ALIGNMENT };\n\n/**\n * Icon Button\n *\n */\n@customElement(`${prefix}-icon-button`)\nclass CDSIconButton extends CDSButton {\n /**\n * Specify how the trigger should align with the tooltip\n */\n @property({ reflect: true, type: String })\n align = 'top';\n\n /**\n * Determines whether the tooltip should close when inner content is activated (click, Enter or Space)\n */\n @property({ attribute: 'close-on-activation', reflect: true, type: Boolean })\n closeOnActivation = true;\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 Button. Defaults to `md`.\n */\n @property({ reflect: true })\n size = 'md';\n\n updated(changedProperties) {\n if (changedProperties) {\n this.shadowRoot\n ?.querySelector(`${prefix}-tooltip`)\n ?.shadowRoot?.querySelector(`.${prefix}--tooltip`)\n ?.classList.add(`${prefix}--icon-tooltip`);\n\n const tooltipContent = this.querySelector(\n '[slot=tooltip-content]'\n )?.textContent;\n this.shadowRoot\n ?.querySelector(`${prefix}-tooltip`)\n ?.querySelector(`button`)\n ?.setAttribute('aria-label', String(tooltipContent));\n }\n }\n\n // eslint-disable-next-line class-methods-use-this\n protected _renderTooltipContent() {\n return html`\n <cds-tooltip-content>\n <slot name=\"tooltip-content\"></slot>\n </cds-tooltip-content>\n `;\n }\n\n render() {\n const {\n align,\n closeOnActivation,\n defaultOpen,\n enterDelayMs,\n leaveDelayMs,\n } = this;\n return html`\n <cds-tooltip\n align=${align}\n ?defaultOpen=${defaultOpen}\n close-on-activation=\"${closeOnActivation}\"\n enter-delay-ms=${enterDelayMs}\n leave-delay-ms=${leaveDelayMs}>\n ${super.render()} ${this._renderTooltipContent()}\n </cds-tooltip>\n `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSIconButton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/icon-button/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,eAAe,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 './icon-button';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/inline-loading/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,KAAK,UAAU;CAChB","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Loading state for inline loading spinner.\n */\nexport enum INLINE_LOADING_STATE {\n /**\n * Inactive state.\n */\n INACTIVE = 'inactive',\n\n /**\n * State for loading in progress.\n */\n ACTIVE = 'active',\n\n /**\n * State for loading successful.\n */\n FINISHED = 'finished',\n\n /**\n * State for loading failure.\n */\n ERROR = 'error',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/inline-loading/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,kBAAkB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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\nimport './inline-loading';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/inline-loading/inline-loading.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAI9C,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC;;;;GAIG;AACH,cACM,gBAAiB,SAAQ,UAAU;IACvC;;OAEG;IAEH,aAAa,SAAa;IAE1B;;OAEG;IACH,OAAO,CAAC,WAAW;IA8BnB;;OAEG;IAEH,MAAM,uBAA+B;IAErC,iBAAiB;IAOjB,MAAM;IAeN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC","file":"inline-loading.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 CheckmarkFilled16 from '@carbon/icons/lib/checkmark--filled/16';\nimport ErrorFilled16 from '@carbon/icons/lib/error--filled/16';\nimport { prefix } from '../../globals/settings';\nimport LOADING_TYPE from '../loading/types';\nimport getLoadingIcon from '../loading/loading-icon';\nimport { INLINE_LOADING_STATE } from './defs';\nimport styles from './inline-loading.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { INLINE_LOADING_STATE };\n\n/**\n * Lnline loading spinner.\n *\n * @element cds-inline-loading\n */\n@customElement(`${prefix}-inline-loading`)\nclass CDSInlineLoading extends LitElement {\n /**\n * The assistive text for the spinner icon.\n */\n @property({ attribute: 'assistive-text' })\n assistiveText = 'Loading';\n\n /**\n * @returns The template for the status icon.\n */\n private _renderIcon() {\n const { assistiveText, status } = this;\n if (status === INLINE_LOADING_STATE.ERROR) {\n return ErrorFilled16({\n class: `${prefix}--inline-loading--error`,\n });\n }\n if (status === INLINE_LOADING_STATE.FINISHED) {\n return CheckmarkFilled16({\n class: `${prefix}--inline-loading__checkmark-container`,\n });\n }\n if (\n status === INLINE_LOADING_STATE.INACTIVE ||\n status === INLINE_LOADING_STATE.ACTIVE\n ) {\n const classes = classMap({\n [`${prefix}--loading`]: true,\n [`${prefix}--loading--small`]: true,\n [`${prefix}--loading--stop`]: status === INLINE_LOADING_STATE.INACTIVE,\n });\n return html`\n <div class=\"${classes}\">\n ${getLoadingIcon({ assistiveText, type: LOADING_TYPE.SMALL })}\n </div>\n `;\n }\n return undefined;\n }\n\n /**\n * The loading status.\n */\n @property({ reflect: true })\n status = INLINE_LOADING_STATE.ACTIVE;\n\n connectedCallback() {\n if (!this.hasAttribute('aria-live')) {\n this.setAttribute('aria-live', 'assertive');\n }\n super.connectedCallback();\n }\n\n render() {\n const statusIconResult = this._renderIcon();\n const statusIconWrapperResult = !statusIconResult\n ? undefined\n : html`\n <div class=\"${prefix}--inline-loading__animation\">\n ${statusIconResult}\n </div>\n `;\n return html`\n ${statusIconWrapperResult}\n <p class=\"${prefix}--inline-loading__text\"><slot></slot></p>\n `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSInlineLoading;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/layer/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,SAAS,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 './layer';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/layer/layer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;;GAKG;AACH,cACM,QAAS,SAAQ,UAAU;IAC/B;;OAEG;IAEH,KAAK,SAAK;IAGV,MAAM,MAAC;IAEP,OAAO;IA2BP,MAAM;IAIN;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,QAAQ,CAAC","file":"layer.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 } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './layer.scss';\n\n/**\n * Basic layer\n *\n * @element cds-layer\n * @slot children - The elements contained within the component.\n */\n@customElement(`${prefix}-layer`)\nclass CDSLayer extends LitElement {\n /**\n * Specify the layer level and override any existing levels based on hierarchy\n */\n @property({ type: Number, reflect: true })\n level = 0;\n\n @property()\n layers;\n\n updated() {\n if (!this.layers) {\n this.layers = this.querySelectorAll(\n (this.constructor as typeof CDSLayer).selectorLayer\n );\n }\n\n this.layers.forEach((item) => {\n (item as HTMLElement).setAttribute(\n 'level',\n ((this.level + 1) % 3).toString()\n );\n });\n\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSLayer).eventUseLayer, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n layer: this,\n level: this.level,\n },\n })\n );\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n /**\n * A selector that selects a layer component.\n */\n static get selectorLayer() {\n return `${prefix}-layer`;\n }\n\n /**\n * A selector that selects a layer component.\n */\n static get eventUseLayer() {\n return `${prefix}-use-layer`;\n }\n\n static styles = styles;\n}\n\nexport default CDSLayer;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/link/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,QAAQ,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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\nimport './link';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/link/link.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,KAAK,OAAO;IAEZ;;OAEG;IACH,MAAM,OAAO;IAEb;;OAEG;IACH,KAAK,OAAO;CACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED;;;;;GAKG;AACH,cACM,OAAQ,SAAQ,YAAsB;IAC1C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAS;IAEzB;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK;IAY7C,SAAS,CAAC,SAAS,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAE/D;;OAEG;IACH,SAAS,KAAK,QAAQ,mHAUrB;IAED;;OAEG;IAEH,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU;IAEpC;;OAEG;IAEH,SAAS,CAAC,YAAY;IAUtB;;OAEG;IACH,SAAS,CAAC,mBAAmB;IAO7B;;OAEG;IACH,SAAS,CAAC,WAAW;IAiCrB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,EAAG,MAAM,CAAC;IAElB;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,QAAQ,EAAG,MAAM,CAAC;IAElB;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,QAAQ,EAAG,MAAM,CAAC;IAElB;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,GAAG,EAAG,MAAM,CAAC;IAEb;;OAEG;IAEH,IAAI,YAAoB;IAExB;;OAEG;IAEH,MAAM,EAAG,MAAM,CAAC;IAEhB;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB,MAAM;IAKN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,OAAO,CAAC","file":"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 './link.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Link size.\n */\nexport enum LINK_SIZE {\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * Medium size.\n */\n MEDIUM = 'md',\n\n /**\n * Large size.\n */\n LARGE = 'lg',\n}\n\n/**\n * Link.\n *\n * @element cds-link\n * @csspart link The link.\n */\n@customElement(`${prefix}-link`)\nclass CDSLink extends FocusMixin(LitElement) {\n /**\n * `true` if there is an icon.\n */\n private _hasIcon = false;\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const { name } = target as HTMLSlotElement;\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this[name === 'icon' ? '_hasIcon' : ''] = hasContent;\n this.requestUpdate();\n }\n\n @query('#link')\n protected _linkNode?: HTMLAnchorElement | HTMLParagraphElement;\n\n /**\n * The CSS class list for the link node.\n */\n protected get _classes() {\n const { disabled, size, inline, visited, _hasIcon } = this;\n return classMap({\n [`${prefix}--link`]: true,\n [`${prefix}--link--disabled`]: disabled,\n [`${prefix}--link--icon`]: _hasIcon,\n [`${prefix}--link--inline`]: inline,\n [`${prefix}--link--${size}`]: size,\n [`${prefix}--link--visited`]: visited,\n });\n }\n\n /**\n * Handles `click` event on the `<a>`.\n */\n // eslint-disable-next-line class-methods-use-this, @typescript-eslint/no-unused-vars\n protected _handleClick(_: MouseEvent) {}\n\n /**\n * @returns The inner content.\n */\n // eslint-disable-next-line class-methods-use-this\n protected _renderInner() {\n const { _hasIcon: hasIcon, _handleSlotChange: handleSlotChange } = this;\n return html`\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <div ?hidden=\"${!hasIcon}\" class=\"${prefix}--link__icon\">\n <slot name=\"icon\" @slotchange=\"${handleSlotChange}\"></slot>\n </div>\n `;\n }\n\n /**\n * @returns The disabled link content.\n */\n protected _renderDisabledLink() {\n const { _classes: classes } = this;\n return html`\n <p id=\"link\" part=\"link\" class=\"${classes}\">${this._renderInner()}</p>\n `;\n }\n\n /**\n * @returns The link content.\n */\n protected _renderLink() {\n const {\n download,\n href,\n hreflang,\n linkRole,\n ping,\n rel,\n target,\n type,\n _classes: classes,\n _handleClick: handleClick,\n } = this;\n return html`\n <a\n tabindex=\"0\"\n id=\"link\"\n role=\"${ifDefined(linkRole)}\"\n class=\"${classes}\"\n part=\"link\"\n download=\"${ifDefined(download)}\"\n href=\"${ifDefined(href)}\"\n hreflang=\"${ifDefined(hreflang)}\"\n ping=\"${ifDefined(ping)}\"\n rel=\"${ifDefined(rel)}\"\n target=\"${ifDefined(target)}\"\n type=\"${ifDefined(type)}\"\n @click=\"${handleClick}\">\n ${this._renderInner()}\n </a>\n `;\n }\n\n /**\n * `true` if the link should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The default file name.\n */\n @property({ reflect: true })\n download!: string;\n\n /**\n * Link `href`.\n */\n @property({ reflect: true })\n href!: string;\n\n /**\n * The language of what `href` points to.\n */\n @property({ reflect: true })\n hreflang!: string;\n\n /**\n * `true` if the link should be inline.\n */\n @property({ type: Boolean, reflect: true })\n inline = false;\n\n /**\n * The a11y role for `<a>`.\n */\n @property({ attribute: 'link-role' })\n linkRole!: string;\n\n /**\n * URLs to ping.\n */\n @property({ reflect: true })\n ping!: string;\n\n /**\n * The link type.\n */\n @property({ reflect: true })\n rel!: string;\n\n /**\n * Link size.\n */\n @property({ reflect: true })\n size = LINK_SIZE.MEDIUM;\n\n /**\n * The link target.\n */\n @property({ reflect: true })\n target!: string;\n\n /**\n * MIME type of the `target`.\n */\n @property({ reflect: true })\n type!: string;\n\n /**\n * `true` if the link has been visited.\n */\n @property({ type: Boolean, reflect: true })\n visited = false;\n\n render() {\n const { disabled } = this;\n return disabled ? this._renderDisabledLink() : this._renderLink();\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 CDSLink;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/list/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,aAAa,CAAC;AACrB,OAAO,gBAAgB,CAAC;AACxB,OAAO,kBAAkB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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\nimport './list-item';\nimport './ordered-list';\nimport './unordered-list';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/list/list-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;;GAKG;AACH,cACM,WAAY,SAAQ,UAAU;IAClC;;OAEG;IACH,OAAO,CAAC,eAAe,CAAS;IAEhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAM/B;;;OAGG;IAEH,MAAM,UAAS;IAEf,iBAAiB;IAgBjB,MAAM;IAeN;;OAEG;IACH,MAAM,KAAK,kBAAkB,WAE5B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,WAAW,CAAC","file":"list-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 { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * List item.\n *\n * @element cds-list-item\n * @slot nested - The nested child list.\n */\n@customElement(`${prefix}-list-item`)\nclass CDSListItem extends LitElement {\n /**\n * `true` if there is slotted nested child list.\n */\n private _hasNestedChild = false;\n\n /**\n * Handles `slotchange` event for the `<slot>` for the nested child list.\n *\n * @param event The event.\n */\n private _handleSlotChangeNested({ target }: Event) {\n this._hasNestedChild =\n (target as HTMLSlotElement).assignedNodes().length > 0;\n this.requestUpdate();\n }\n\n /**\n * `true` if this list item is a child of a nested list.\n * `<cds-ordered-list>` or `<cds-unordered-list>` automatically sets this property.\n */\n @property({ type: Boolean, reflect: true })\n nested = false;\n\n connectedCallback() {\n // Uses attribute for lookup from child\n this.toggleAttribute(\n 'nested',\n Boolean(\n this.closest(\n (this.constructor as typeof CDSListItem).selectorNestedList\n )\n )\n );\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n }\n\n render() {\n const {\n _hasNestedChild: hasNestedChild,\n _handleSlotChangeNested: handleSlotChangeNested,\n } = this;\n return html`\n <slot></slot>\n <div\n ?hidden=\"${!hasNestedChild}\"\n class=\"${prefix}-ce--list__item__nested-child\">\n <slot name=\"nested\" @slotchange=\"${handleSlotChangeNested}\"></slot>\n </div>\n `;\n }\n\n /**\n * A selector that will return nested list.\n */\n static get selectorNestedList() {\n return `${prefix}-ordered-list[slot=\"nested\"],${prefix}-unordered-list[slot=\"nested\"]`;\n }\n\n static styles = styles;\n}\n\nexport default CDSListItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/list/ordered-list.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,gBAAgB,MAAM,kBAAkB,CAAC;AAGhD;;GAEG;AACH,cACM,cAAe,SAAQ,gBAAgB;IAC3C;;;OAGG;IAEH,MAAM,UAAS;IAEf,MAAM;CAaP;AAED,eAAe,cAAc,CAAC","file":"ordered-list.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 } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSUnorderedList from './unordered-list';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Ordered list.\n */\n@customElement(`${prefix}-ordered-list`)\nclass CDSOrderedList extends CDSUnorderedList {\n /**\n * Specify whether the ordered list should use native list styles instead of\n * custom counter\n */\n @property({ type: Boolean, reflect: true })\n native = false;\n\n render() {\n const classes = classMap({\n [`${prefix}--list--ordered`]: !this.native,\n [`${prefix}--list--ordered--native`]: this.native,\n [`${prefix}--list--nested`]: this.getAttribute('slot') === 'nested',\n [`${prefix}--list--expressive`]: this.isExpressive,\n });\n return html`\n <ol class=\"${classes}\">\n <slot></slot>\n </ol>\n `;\n }\n}\n\nexport default CDSOrderedList;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/list/unordered-list.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;GAEG;AACH,cACM,gBAAiB,SAAQ,UAAU;IACvC;;OAEG;IAEH,YAAY,UAAS;IAErB,iBAAiB;IAcjB,MAAM;IAaN;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC","file":"unordered-list.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 styles from './list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Ordered list.\n */\n@customElement(`${prefix}-unordered-list`)\nclass CDSUnorderedList extends LitElement {\n /**\n * `true` if expressive theme enabled.\n */\n @property({ type: Boolean, reflect: true })\n isExpressive = false;\n\n connectedCallback() {\n // Uses attribute for lookup from child\n if (\n this.closest(\n (this.constructor as typeof CDSUnorderedList).selectorListItem\n )\n ) {\n this.setAttribute('slot', 'nested');\n } else {\n this.removeAttribute('slot');\n }\n super.connectedCallback();\n }\n\n render() {\n const classes = classMap({\n [`${prefix}--list--unordered`]: true,\n [`${prefix}--list--nested`]: this.getAttribute('slot') === 'nested',\n [`${prefix}--list--expressive`]: this.isExpressive,\n });\n return html`\n <ul class=\"${classes}\">\n <slot></slot>\n </ul>\n `;\n }\n\n /**\n * A selector that will return list item.\n */\n static get selectorListItem() {\n return `${prefix}-list-item`;\n }\n\n static styles = styles;\n}\n\nexport default CDSUnorderedList;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/loading/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,KAAK,UAAU;CAChB","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022, 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 * Spinner types.\n */\nexport enum LOADING_TYPE {\n /**\n * Regular spinner.\n */\n REGULAR = 'regular',\n\n /**\n * Small spinner.\n */\n SMALL = 'small',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/loading/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,WAAW,CAAC;AACnB,OAAO,gBAAgB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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\nimport './loading';\nimport './loading-icon';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/loading/loading-icon.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH;;;;;GAKG;;;;;AACH,wBAwBE","file":"loading-icon.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 } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport LOADING_TYPE from './types';\n\n/**\n * @param Object options The options.\n * @param [options.assistiveText] The assistive text for the spinner icon.\n * @param [options.type] The spinner type.\n * @returns The spinner icon.\n */\nexport default ({\n assistiveText,\n type,\n}: {\n assistiveText?: string;\n type?: string;\n}) => {\n const radius = type === LOADING_TYPE.SMALL ? '42' : '44';\n return html`\n <svg class=\"${prefix}--loading__svg\" viewBox=\"0 0 100 100\">\n ${!assistiveText ? undefined : html` <title>${assistiveText}</title> `}\n <circle\n ?hidden=\"${type !== LOADING_TYPE.SMALL}\"\n class=\"${prefix}--loading__background\"\n cx=\"50%\"\n cy=\"50%\"\n r=\"${radius}\" />\n <circle\n class=\"${prefix}--loading__stroke\"\n cx=\"50%\"\n cy=\"50%\"\n r=\"${radius}\" />\n </svg>\n `;\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/loading/loading.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAKtC;;;;GAIG;AACH,cACM,UAAW,SAAQ,UAAU;IACjC;;OAEG;IAEH,aAAa,SAAa;IAE1B;;OAEG;IAEH,IAAI,eAAwB;IAE5B;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,QAAQ,UAAS;IAEjB,MAAM;IAWN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,eAAe,UAAU,CAAC","file":"loading.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 { LOADING_TYPE } from './defs';\nimport getLoadingIcon from './loading-icon';\nimport styles from './loading.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Spinner indicating loading state.\n *\n * @element cds-loading\n */\n@customElement(`${prefix}-loading`)\nclass CDSLoading extends LitElement {\n /**\n * The assistive text for the spinner icon.\n */\n @property({ attribute: 'assistive-text' })\n assistiveText = 'Loading';\n\n /**\n * Spinner type.\n */\n @property()\n type = LOADING_TYPE.REGULAR;\n\n /**\n * `true` if overlay should be applied.\n */\n @property({ type: Boolean, reflect: true })\n overlay = false;\n\n /**\n * `true` if spinner should stop.\n */\n @property({ type: Boolean, reflect: true })\n inactive = false;\n\n render() {\n const { inactive, assistiveText, type, overlay } = this;\n const innerClasses = classMap({\n [`${prefix}--loading`]: true,\n [`${prefix}--loading--stop`]: inactive,\n [`${prefix}--loading--small`]: type === LOADING_TYPE.SMALL,\n });\n const icon = getLoadingIcon({ assistiveText, type });\n return overlay ? html`<div class=\"${innerClasses}\">${icon}</div>` : icon;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport { LOADING_TYPE };\n\nexport default CDSLoading;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/loading/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC;;GAEG;AACH,eAAe,YAAY,CAAC","file":"types.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\nimport { LOADING_TYPE } from './defs';\n\n/**\n * @deprecated Use `defs.ts`\n */\nexport default LOADING_TYPE;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,UAAU;IACpB;;OAEG;IACH,WAAW,OAAO;IAElB;;OAEG;IACH,KAAK,OAAO;IAEZ;;OAEG;IACH,MAAM,OAAO;IAEb;;OAEG;IACH,KAAK,OAAO;CACb","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022, 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 * Modal size.\n */\nexport enum MODAL_SIZE {\n /**\n * Extra small size.\n */\n EXTRA_SMALL = 'xs',\n\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * Medium size.\n */\n MEDIUM = 'md',\n\n /**\n * Large size.\n */\n LARGE = 'lg',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,SAAS,CAAC;AACjB,OAAO,cAAc,CAAC;AACtB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,gBAAgB,CAAC;AACxB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AACzB,OAAO,eAAe,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022, 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 './modal';\nimport './modal-body';\nimport './modal-body-content';\nimport './modal-close-button';\nimport './modal-footer';\nimport './modal-footer-button';\nimport './modal-header';\nimport './modal-heading';\nimport './modal-label';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-body-content.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,mBAAoB,SAAQ,UAAU;IAC1C,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"modal-body-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 { LitElement, html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './modal.scss';\n\n/**\n * Modal body content\n *\n * @element cds-modal-body-content\n */\n@customElement(`${prefix}-modal-body-content`)\nclass CDSModalBodyContent extends LitElement {\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 CDSModalBodyContent;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-body.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"modal-body.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 './modal.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Modal body.\n *\n * @element cds-modal-body\n */\n@customElement(`${prefix}-modal-body`)\nclass CDSModalBody extends LitElement {\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 CDSModalBody;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-close-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASvC;;;;;;GAMG;AACH,cACM,mBAAoB,SAAQ,wBAAsB;IACtD;;OAEG;IAEH,gBAAgB,SAAW;IAE3B,MAAM;IAgBN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"modal-close-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 { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport Close20 from '@carbon/icons/lib/close/20';\nimport { prefix } from '../../globals/settings';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './modal.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Modal close button.\n *\n * @element cds-modal-close-button\n * @csspart button The button.\n * @csspart close-icon The close icon.\n */\n@customElement(`${prefix}-modal-close-button`)\nclass CDSModalCloseButton extends FocusMixin(LitElement) {\n /**\n * Specify a label for the close button of the modal; defaults to close\n */\n @property({ attribute: 'close-button-label' })\n closeButtonLabel = 'Close';\n\n render() {\n const { closeButtonLabel } = this;\n return html`\n <button\n part=\"button\"\n aria-label=\"${ifDefined(closeButtonLabel)}\"\n class=\"${prefix}--modal-close\"\n title=\"${ifDefined(closeButtonLabel)}\">\n ${Close20({\n part: 'close-icon',\n class: `${prefix}--modal-close__icon`,\n })}\n </button>\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 CDSModalCloseButton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-footer-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAKzC;;;;GAIG;AACH,cACM,oBAAqB,SAAQ,SAAS;IAC1C,MAAM,CAAC,MAAM,QAA0B;CACxC;AAED,eAAe,oBAAoB,CAAC","file":"modal-footer-button.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 { prefix } from '../../globals/settings';\nimport CDSButton from '../button/button';\nimport buttonStyles from '../button/button.scss';\nimport styles from './modal.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Modal footer button.\n *\n * @element cds-modal-footer-button\n */\n@customElement(`${prefix}-modal-footer-button`)\nclass CDSModalFooterButton extends CDSButton {\n static styles = [buttonStyles, styles]; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSModalFooterButton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-footer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;GAIG;AACH,cACM,cAAe,SAAQ,UAAU;IACrC;;OAEG;IAEH,eAAe,UAAS;IAExB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAazB,MAAM;IAIN;;OAEG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"modal-footer.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 styles from './modal.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Modal footer.\n *\n * @element cds-modal-footer\n */\n@customElement(`${prefix}-modal-footer`)\nclass CDSModalFooter extends LitElement {\n /**\n * `true` if this modal footer has more than two buttons.\n */\n @property({ type: Boolean, reflect: true, attribute: 'has-three-buttons' })\n hasThreeButtons = false;\n\n /**\n * Handles `slotchange` event.\n */\n private _handleSlotChange(event: Event) {\n const { selectorButtons } = this.constructor as typeof CDSModalFooter;\n this.hasThreeButtons =\n (event.target as HTMLSlotElement)\n .assignedNodes()\n .filter(\n (node) =>\n node.nodeType === Node.ELEMENT_NODE &&\n (node as Element).matches(selectorButtons)\n ).length > 2;\n this.requestUpdate();\n }\n\n render() {\n return html` <slot @slotchange=\"${this._handleSlotChange}\"></slot> `;\n }\n\n /**\n * A selector that selects the child buttons.\n */\n static get selectorButtons() {\n return `${prefix}-button,${prefix}-modal-footer-button`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSModalFooter;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-header.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,cAAe,SAAQ,UAAU;IACrC,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"modal-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 styles from './modal.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Modal header.\n *\n * @element cds-modal-header\n */\n@customElement(`${prefix}-modal-header`)\nclass CDSModalHeader extends LitElement {\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 CDSModalHeader;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-heading.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,eAAgB,SAAQ,UAAU;IACtC,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"modal-heading.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 './modal.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Modal heading.\n *\n * @element cds-modal-heading\n */\n@customElement(`${prefix}-modal-heading`)\nclass CDSModalHeading extends LitElement {\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 CDSModalHeading;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal-label.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,aAAc,SAAQ,UAAU;IACpC,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"modal-label.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 './modal.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Modal label.\n *\n * @element cds-modal-label\n */\n@customElement(`${prefix}-modal-label`)\nclass CDSModalLabel extends LitElement {\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 CDSModalLabel;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/modal/modal.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAKpC,OAAO,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCtB;;;;;;;;;GASG;AACH,cACM,QAAS,SAAQ,aAA6B;IAClD;;OAEG;IACH,OAAO,CAAC,SAAS,CAAwB;IAEzC;;OAEG;IAEH,OAAO,CAAC,kBAAkB,CAAqB;IAE/C;;OAEG;IAEH,OAAO,CAAC,gBAAgB,CAAqB;IAE7C;;;;OAIG;IAGH,OAAO,CAAC,YAAY,CAOlB;IAEF;;;;OAIG;IAGH,OAAO,CAAC,WAAW,CA+CjB;IAIF,OAAO,CAAC,cAAc,CAIpB;IAEF;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;IAW7B;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA6BjC;;;OAGG;IAEH,KAAK,UAAS;IAEd;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,cAAc,SAAM;IAEpB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAMH,mBAAmB,UAAS;IAE5B;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IAEH,0BAA0B,UAAS;IAEnC;;OAEG;IAEH,YAAY,UAAS;IAErB,YAAY;IAaZ,MAAM;IAqCA,OAAO,CAAC,iBAAiB,KAAA;IAgC/B;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,MAAM;IAMrB;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;;OAGG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,QAAQ,CAAC","file":"modal.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, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport { MODAL_SIZE } from './defs';\nimport styles from './modal.scss';\nimport { selectorTabbable } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { MODAL_SIZE };\n\n// eslint-disable-next-line no-bitwise\nconst PRECEDING =\n Node.DOCUMENT_POSITION_PRECEDING | Node.DOCUMENT_POSITION_CONTAINS;\n// eslint-disable-next-line no-bitwise\nconst FOLLOWING =\n Node.DOCUMENT_POSITION_FOLLOWING | Node.DOCUMENT_POSITION_CONTAINED_BY;\n\n/**\n * Tries to focus on the given elements and bails out if one of them is successful.\n *\n * @param elems The elements.\n * @param reverse `true` to go through the list in reverse order.\n * @returns `true` if one of the attempts is successful, `false` otherwise.\n */\nfunction tryFocusElems(\n elems: NodeListOf<HTMLElement>,\n reverse: boolean = false\n) {\n if (!reverse) {\n for (let i = 0; i < elems.length; ++i) {\n const elem = elems[i];\n elem.focus();\n if (elem.ownerDocument!.activeElement === elem) {\n return true;\n }\n }\n } else {\n for (let i = elems.length - 1; i >= 0; --i) {\n const elem = elems[i];\n elem.focus();\n if (elem.ownerDocument!.activeElement === elem) {\n return true;\n }\n }\n }\n return false;\n}\n\n/**\n * Modal.\n *\n * @element cds-modal\n * @csspart dialog The dialog.\n * @fires cds-modal-beingclosed\n * The custom event fired before this modal is being closed upon a user gesture.\n * Cancellation of this event stops the user-initiated action of closing this modal.\n * @fires cds-modal-closed - The custom event fired after this modal is closed upon a user gesture.\n */\n@customElement(`${prefix}-modal`)\nclass CDSModal extends HostListenerMixin(LitElement) {\n /**\n * The element that had focus before this modal gets open.\n */\n private _launcher: Element | null = null;\n\n /**\n * Node to track focus going outside of modal content.\n */\n @query('#start-sentinel')\n private _startSentinelNode!: HTMLAnchorElement;\n\n /**\n * Node to track focus going outside of modal content.\n */\n @query('#end-sentinel')\n private _endSentinelNode!: HTMLAnchorElement;\n\n /**\n * Handles `click` event on this element.\n *\n * @param event The event.\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 = (event: MouseEvent) => {\n if (\n event.composedPath().indexOf(this.shadowRoot!) < 0 &&\n !this.preventCloseOnClickOutside\n ) {\n this._handleUserInitiatedClose(event.target);\n }\n };\n\n /**\n * Handles `blur` event on this element.\n *\n * @param event The event.\n */\n @HostListener('shadowRoot:focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleBlur = async ({ target, relatedTarget }: FocusEvent) => {\n const {\n open,\n _startSentinelNode: startSentinelNode,\n _endSentinelNode: endSentinelNode,\n } = this;\n const oldContains = target !== this && this.contains(target as Node);\n const currentContains =\n relatedTarget !== this &&\n (this.contains(relatedTarget as Node) ||\n (this.shadowRoot?.contains(relatedTarget as Node) &&\n relatedTarget !== (endSentinelNode as Node)));\n\n // Performs focus wrapping if _all_ of the following is met:\n // * This modal is open\n // * The viewport still has focus\n // * Modal body used to have focus but no longer has focus\n const { selectorTabbable: selectorTabbableForModal } = this\n .constructor as typeof CDSModal;\n if (open && relatedTarget && oldContains && !currentContains) {\n const comparisonResult = (target as Node).compareDocumentPosition(\n relatedTarget as Node\n );\n // eslint-disable-next-line no-bitwise\n if (relatedTarget === startSentinelNode || comparisonResult & PRECEDING) {\n await (this.constructor as typeof CDSModal)._delay();\n if (\n !tryFocusElems(\n this.querySelectorAll(selectorTabbableForModal),\n true\n ) &&\n relatedTarget !== this\n ) {\n this.focus();\n }\n }\n // eslint-disable-next-line no-bitwise\n else if (\n relatedTarget === endSentinelNode ||\n comparisonResult & FOLLOWING\n ) {\n await (this.constructor as typeof CDSModal)._delay();\n if (!tryFocusElems(this.querySelectorAll(selectorTabbableForModal))) {\n this.focus();\n }\n }\n }\n };\n\n @HostListener('document:keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = ({ key, target }: KeyboardEvent) => {\n if (key === 'Esc' || key === 'Escape') {\n this._handleUserInitiatedClose(target);\n }\n };\n\n /**\n * Handles `click` event on the modal container.\n *\n * @param event The event.\n */\n private _handleClickContainer(event: MouseEvent) {\n if (\n (event.target as Element).matches(\n (this.constructor as typeof CDSModal).selectorCloseButton\n ) &&\n !this.preventClose\n ) {\n this._handleUserInitiatedClose(event.target);\n }\n }\n\n /**\n * Handles user-initiated close request of this modal.\n *\n * @param triggeredBy The element that triggered this close request.\n */\n private _handleUserInitiatedClose(triggeredBy: EventTarget | null) {\n if (this.open) {\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n triggeredBy,\n },\n };\n if (\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSModal).eventBeforeClose,\n init\n )\n )\n ) {\n this.open = false;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSModal).eventClose,\n init\n )\n );\n }\n }\n }\n\n /**\n * Specify whether the Modal is displaying an alert, error or warning.\n * Should go hand in hand with the danger prop.\n */\n @property({ type: Boolean, reflect: true })\n alert = false;\n\n /**\n * Specify text for the accessibility label of the header\n */\n @property({ attribute: 'aria-label' })\n ariaLabel = '';\n\n /**\n * The additional CSS class names for the container <div> of the element.\n */\n @property({ attribute: 'container-class' })\n containerClass = '';\n\n /**\n * Specify whether or not the Modal content should have any inner padding.\n */\n @property({ type: Boolean, reflect: true, attribute: 'full-width' })\n fullWidth = false;\n\n /**\n * Specify whether the modal contains scrolling content\n */\n @property({\n type: Boolean,\n reflect: true,\n attribute: 'has-scrolling-content',\n })\n hasScrollingContent = false;\n\n /**\n * `true` if the modal should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * Modal size.\n */\n @property({ reflect: true })\n size = MODAL_SIZE.MEDIUM;\n\n /**\n * Prevent closing on click outside of modal\n */\n @property({ type: Boolean, attribute: 'prevent-close-on-click-outside' })\n preventCloseOnClickOutside = false;\n\n /**\n * Prevent the modal from closing after clicking the close button\n */\n @property({ type: Boolean, attribute: 'prevent-close' })\n preventClose = false;\n\n firstUpdated() {\n const body = this.querySelector(\n (this.constructor as typeof CDSModal).selectorModalBody\n );\n\n if (!body) {\n const bodyElement = document.createElement(\n (this.constructor as typeof CDSModal).selectorModalBody\n );\n this.appendChild(bodyElement);\n }\n }\n\n render() {\n const { alert, ariaLabel, size, hasScrollingContent } = this;\n const containerClass = this.containerClass\n .split(' ')\n .filter(Boolean)\n .reduce((acc, item) => ({ ...acc, [item]: true }), {});\n const containerClasses = classMap({\n [`${prefix}--modal-container`]: true,\n [`${prefix}--modal-container--${size}`]: size,\n ...containerClass,\n });\n return html`\n <a\n id=\"start-sentinel\"\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n <div\n aria-label=${ariaLabel}\n part=\"dialog\"\n class=${containerClasses}\n role=\"${alert ? 'alert' : 'dialog'}\"\n tabindex=\"-1\"\n @click=${this._handleClickContainer}>\n <slot></slot>\n ${hasScrollingContent\n ? html` <div class=\"cds--modal-content--overflow-indicator\"></div> `\n : ``}\n </div>\n <a\n id=\"end-sentinel\"\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n `;\n }\n\n async updated(changedProperties) {\n if (changedProperties.has('open')) {\n if (this.open) {\n this._launcher = this.ownerDocument!.activeElement;\n const primaryFocusNode = this.querySelector(\n (this.constructor as typeof CDSModal).selectorPrimaryFocus\n );\n await (this.constructor as typeof CDSModal)._delay();\n if (primaryFocusNode) {\n // For cases where a `carbon-web-components` component (e.g. `<cds-button>`) being `primaryFocusNode`,\n // where its first update/render cycle that makes it focusable happens after `<cds-modal>`'s first update/render cycle\n (primaryFocusNode as HTMLElement).focus();\n } else if (\n !tryFocusElems(\n this.querySelectorAll(\n (this.constructor as typeof CDSModal).selectorTabbable\n ),\n true\n )\n ) {\n this.focus();\n }\n } else if (\n this._launcher &&\n typeof (this._launcher as HTMLElement).focus === 'function'\n ) {\n (this._launcher as HTMLElement).focus();\n this._launcher = null;\n }\n }\n }\n\n /**\n * @param ms The number of milliseconds.\n * @returns A promise that is resolves after the given milliseconds.\n */\n private static _delay(ms: number = 0) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n }\n\n /**\n * A selector selecting buttons that should close this modal.\n */\n static get selectorCloseButton() {\n return `[data-modal-close],${prefix}-modal-close-button`;\n }\n\n /**\n * A selector selecting tabbable nodes.\n */\n static get selectorTabbable() {\n return selectorTabbable;\n }\n\n /**\n * A selector selecting the nodes that should be focused when modal gets open.\n */\n static get selectorPrimaryFocus() {\n return `[data-modal-primary-focus],${prefix}-modal-footer ${prefix}-button[kind=\"primary\"]`;\n }\n\n /**\n * A selector selecting the modal body component\n */\n static get selectorModalBody() {\n return `${prefix}-modal-body`;\n }\n\n /**\n * The name of the custom event fired before this modal is being closed upon a user gesture.\n * Cancellation of this event stops the user-initiated action of closing this modal.\n */\n static get eventBeforeClose() {\n return `${prefix}-modal-beingclosed`;\n }\n\n /**\n * The name of the custom event fired after this modal is closed upon a user gesture.\n */\n static get eventClose() {\n return `${prefix}-modal-closed`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSModal;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/multi-select/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,yBAAyB;IACnC;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,GAAG,QAAQ;IAEX;;OAEG;IACH,gBAAgB,qBAAqB;CACtC","file":"defs.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\n/**\n * Multi-select selection feedback options.\n */\nexport enum SELECTION_FEEDBACK_OPTION {\n /**\n * selected item stays at it's position\n */\n FIXED = 'fixed',\n\n /**\n * selected item jumps to top\n */\n TOP = 'top',\n\n /**\n * selected item jump to top after reopen dropdown\n */\n TOP_AFTER_REOPEN = 'top-after-reopen',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/multi-select/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,gBAAgB,CAAC;AACxB,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 './multi-select';\nimport './multi-select-item';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/multi-select/multi-select-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAIxD;;;;GAIG;AACH,cACM,kBAAmB,SAAQ,eAAe;IAC9C;;OAEG;IAEH,QAAQ,MAAC;IAET;;OAEG;IAEH,aAAa,SAAM;IAEnB,MAAM;IAkBN;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,kBAAkB,CAAC","file":"multi-select-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 { html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { prefix } from '../../globals/settings';\nimport CDSDropdownItem from '../dropdown/dropdown-item';\nimport styles from './multi-select.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Multi select item.\n *\n * @element cds-multi-select-item\n */\n@customElement(`${prefix}-multi-select-item`)\nclass CDSMultiSelectItem extends CDSDropdownItem {\n /**\n * The property to hide when item is filtered from input\n */\n @property({ type: Boolean })\n filtered;\n\n /**\n * The `name` attribute for the `<input>` for selection.\n */\n @property({ attribute: 'selection-name' })\n selectionName = '';\n\n render() {\n const { disabled, selected, selectionName, value } = this;\n return html`\n <div class=\"${prefix}--list-box__menu-item__option\">\n <div class=\"${prefix}--form-item ${prefix}--checkbox-wrapper\">\n <span\n value=\"${value}\"\n name=\"${ifDefined(selectionName || undefined)}\"\n class=\"${prefix}--checkbox-label\"\n ?disabled=${disabled}\n data-contained-checkbox-state=${selected}\n ><slot></slot\n ></span>\n </div>\n </div>\n `;\n }\n\n /**\n * A selector that will return multi select.\n */\n static get selectorList() {\n return `${prefix}-multi-select`;\n }\n\n static styles = styles;\n}\n\nexport default CDSMultiSelectItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/multi-select/multi-select.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAU3C,OAAO,WAGN,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,kBAAkB,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EACL,aAAa,EACb,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAErC;;;;;;;;;;;;;GAaG;AACH,cACM,cAAe,SAAQ,WAAW;IAEtC,UAAU,MAAC;IAEX;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAK;IAEhC;;OAEG;IAEH,OAAO,CAAC,gBAAgB,CAAe;IAEvC;;OAEG;IAEH,OAAO,CAAC,oBAAoB,CAAe;IAE3C;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAe;IAEpC;;OAEG;IAEH,OAAO,CAAC,gBAAgB,CAAoB;IAE5C;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAe;IAEnC,SAAS,CAAC,sBAAsB,CAAC,YAAY,CAAC,EAAE,kBAAkB;IAKlE,SAAS,CAAC,mBAAmB,CAAC,YAAY,CAAC,EAAE,kBAAkB;IA6B/D,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU;IAmB7C;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,aAAa;IA0BnD;;;OAGG;IAEH,SAAS,CAAC,6BAA6B,CAAC,KAAK,EAAE,aAAa;IAgC5D,SAAS,CAAC,iBAAiB;IA0C3B,SAAS,CAAC,qBAAqB;IAmC/B;;OAEG;IACH,SAAS,CAAC,YAAY,IAAI,cAAc;IAoBxC,SAAS,CAAC,qBAAqB,IAAI,cAAc,GAAG,IAAI;IAkBxD;;OAEG;IACH,SAAS,CAAC,YAAY;IAsBtB;;;;OAIG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM;IAyBrC;;OAEG;IACH,SAAS,CAAC,8BAA8B;IAWxC;;OAEG;IAEH,mBAAmB,SAAM;IAEzB;;OAEG;IAEH,yBAAyB,SAA4B;IAErD;;OAEG;IAEH,kBAAkB,SAAoD;IAEtE;;OAEG;IAEH,MAAM,SAAQ;IAEd;;OAEG;IAEH,2BAA2B,SAAyB;IAEpD;;OAEG;IAEH,0BAA0B,SAA2B;IAErD;;;;;OAKG;IAEH,iBAAiB,4BAA8C;IAE/D;;OAEG;IACH,SAAS,KAAK,QAAQ,mHA2BrB;IAED,SAAS,CAAC,YAAY;;eAEpB;IAEF,SAAS,CAAC,SAAS,cACN,QAAQ;;;;iBA4BnB;IAEF,YAAY,CAAC,iBAAiB,KAAA;IAiD9B,OAAO,CAAC,iBAAiB,KAAA;IAOzB,iBAAiB;IAejB;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,uBAAuB,WAEjC;IAED;;;OAGG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"multi-select.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\nimport { html, TemplateResult } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport Close16 from '@carbon/icons/lib/close/16';\nimport { prefix } from '../../globals/settings';\nimport {\n filter,\n forEach,\n indexOf,\n} from '../../globals/internal/collection-helpers';\nimport CDSDropdown, {\n DROPDOWN_KEYBOARD_ACTION,\n DROPDOWN_TYPE,\n} from '../dropdown/dropdown';\nimport { SELECTION_FEEDBACK_OPTION } from './defs';\nimport CDSMultiSelectItem from './multi-select-item';\nimport styles from './multi-select.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport {\n DROPDOWN_SIZE,\n DROPDOWN_TYPE,\n DROPDOWN_DIRECTION,\n} from '../dropdown/dropdown';\n\nexport { SELECTION_FEEDBACK_OPTION };\n\n/**\n * Multi select.\n *\n * @element cds-multi-select\n * @fires cds-multi-select-beingselected\n * The custom event fired before a multi select item is selected upon a user gesture.\n * Cancellation of this event stops changing the user-initiated selection.\n * @fires cds-multi-select-selected - The custom event fired after a multi select item is selected upon a user gesture.\n * @fires cds-multi-select-beingtoggled\n * The custom event fired before the open state of this multi select is toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated toggling.\n * @fires cds-multi-select-toggled\n * The custom event fired after the open state of this multi select is toggled upon a user gesture.\n */\n@customElement(`${prefix}-multi-select`)\nclass CDSMultiSelect extends CDSDropdown {\n @property({ type: Boolean })\n filterable;\n\n /**\n * The count of selected items.\n */\n private _selectedItemsCount = 0;\n\n /**\n * The clear button.\n */\n @query('#clear-button')\n private _clearButtonNode!: HTMLElement;\n\n /**\n * The selection button.\n */\n @query('#selection-button')\n private _selectionButtonNode!: HTMLElement;\n\n /**\n * The menu body.\n */\n @query('#menu-body')\n private _menuBodyNode!: HTMLElement;\n\n /**\n * The `<input>` for filtering.\n */\n @query('input')\n private _filterInputNode!: HTMLInputElement;\n\n /**\n * The trigger button.\n */\n @query(`.${prefix}--list-box__field`)\n private _triggerNode!: HTMLElement;\n\n protected _selectionShouldChange(itemToSelect?: CDSMultiSelectItem) {\n // If we are selecting an item, assumes we always toggle\n return Boolean(this.value || itemToSelect);\n }\n\n protected _selectionDidChange(itemToSelect?: CDSMultiSelectItem) {\n if (itemToSelect) {\n itemToSelect.selected = !itemToSelect.selected;\n this._assistiveStatusText = itemToSelect.selected\n ? this.selectedItemAssistiveText\n : this.unselectedItemAssistiveText;\n } else {\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSMultiSelect).selectorItemSelected\n ),\n (item) => {\n (item as CDSMultiSelectItem).selected = false;\n }\n );\n this._handleUserInitiatedToggle(false);\n this._assistiveStatusText = this.unselectedAllAssistiveText;\n }\n // Change in `.selected` hasn't been reflected to the corresponding attribute yet\n this.value = filter(\n this.querySelectorAll(\n (this.constructor as typeof CDSMultiSelect).selectorItem\n ),\n (item) => (item as CDSMultiSelectItem).selected\n )\n .map((item) => (item as CDSMultiSelectItem).value)\n .join(',');\n }\n\n protected _handleClickInner(event: MouseEvent) {\n if (\n this._selectionButtonNode?.contains(event.target as Node) &&\n !this.readOnly\n ) {\n this._handleUserInitiatedSelectItem();\n if (this.filterable) {\n this._filterInputNode.focus();\n } else {\n this._triggerNode.focus();\n }\n } else if (this._clearButtonNode?.contains(event.target as Node)) {\n this._handleUserInitiatedClearInput();\n } else {\n super._handleClickInner(event);\n if (this.filterable) this._filterInputNode.focus();\n }\n }\n\n /**\n * Handler for the `keypress` event, ensures filter still works upon entering space\n */\n protected _handleKeypressInner(event: KeyboardEvent) {\n const { key } = event;\n const action = (this.constructor as typeof CDSDropdown).getAction(key);\n const { TRIGGERING } = DROPDOWN_KEYBOARD_ACTION;\n\n if (\n this._clearButtonNode?.contains(event.target as Node) &&\n // Space key should be handled by `<input>` unless \"clear selection\" button has focus\n (action === TRIGGERING || key === ' ')\n ) {\n this._handleUserInitiatedClearInput();\n } else if (this._selectionButtonNode?.contains(event.target as Node)) {\n this._handleUserInitiatedSelectItem();\n this.open = true;\n if (this.filterable) {\n this._filterInputNode.focus();\n } else {\n this._triggerNode.focus();\n }\n } else if (this.filterable) {\n this._handleKeypressInnerFlterable(event);\n } else {\n super._handleKeypressInner(event);\n }\n }\n\n /**\n * Special andler for the `keypress` event, ensures space selection for filterable\n * variation is disabled\n */\n\n protected _handleKeypressInnerFlterable(event: KeyboardEvent) {\n const { key } = event;\n const action = (this.constructor as typeof CDSDropdown).getAction(key);\n if (!this.open) {\n switch (action) {\n case DROPDOWN_KEYBOARD_ACTION.TRIGGERING:\n this._handleUserInitiatedToggle(true);\n break;\n default:\n break;\n }\n } else {\n switch (key) {\n case 'Enter':\n {\n const constructor = this.constructor as typeof CDSDropdown;\n const highlightedItem = this.querySelector(\n constructor.selectorItemHighlighted\n ) as CDSMultiSelectItem;\n if (highlightedItem) {\n this._handleUserInitiatedSelectItem(highlightedItem);\n } else {\n this._handleUserInitiatedToggle(false);\n }\n }\n break;\n default:\n break;\n }\n }\n }\n\n protected _renderTitleLabel() {\n const {\n clearSelectionDescription,\n clearSelectionText,\n disabled,\n hideLabel,\n titleText,\n _selectedItemsCount: selectedItemsCount,\n _slotTitleTextNode: slotTitleTextNode,\n _handleSlotchangeLabelText: handleSlotchangeLabelText,\n } = this;\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: disabled,\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n\n const hasTitleText =\n titleText ||\n (slotTitleTextNode && slotTitleTextNode.assignedNodes().length > 0);\n\n return html`\n <label\n part=\"title-text\"\n class=\"${labelClasses}\"\n ?hidden=\"${!hasTitleText}\">\n <slot name=\"title-text\" @slotchange=\"${handleSlotchangeLabelText}\"\n >${titleText}</slot\n >\n ${selectedItemsCount > 0\n ? html`\n <span class=\"${prefix}--visually-hidden\">\n ${clearSelectionDescription} ${selectedItemsCount},\n ${clearSelectionText}\n </span>\n `\n : null}\n </label>\n `;\n }\n\n protected _renderPrecedingLabel() {\n const {\n disabled,\n readOnly,\n clearSelectionLabel,\n _selectedItemsCount: selectedItemsCount,\n } = this;\n\n const selectionButtonClasses = classMap({\n [`${prefix}--list-box__selection`]: true,\n [`${prefix}--list-box__selection--multi`]: true,\n [`${prefix}--tag`]: true,\n [`${prefix}--tag--filter`]: true,\n [`${prefix}--tag--high-contrast`]: true,\n [`${prefix}--tag--disabled`]: disabled,\n });\n return selectedItemsCount === 0\n ? undefined\n : html`\n <div\n id=\"selection-button\"\n role=\"button\"\n class=\"${selectionButtonClasses}\"\n tabindex=\"-1\"\n aria-disabled=${readOnly}\n title=\"${clearSelectionLabel}\">\n ${selectedItemsCount}\n ${Close16({\n 'aria-label': clearSelectionLabel,\n class: `${prefix}--tag__close-icon`,\n })}\n </div>\n `;\n }\n\n /**\n @returns The main content of the trigger button.\n */\n protected _renderLabel(): TemplateResult {\n const { label, _selectedItemContent: selectedItemContent } = this;\n return !this.filterable\n ? html`\n <span id=\"trigger-label\" class=\"${prefix}--list-box__label\"\n >${selectedItemContent || label}</span\n >\n `\n : html`\n <input\n id=\"trigger-label\"\n class=\"${prefix}--text-input\"\n placeholder=\"${label}\"\n role=\"combobox\"\n aria-controls=\"menu-body\"\n aria-autocomplete=\"list\"\n @input=\"${this._handleInput}\" />\n `;\n }\n\n protected _renderFollowingLabel(): TemplateResult | void {\n const { clearSelectionLabel, _filterInputNode: filterInputNode } = this;\n return filterInputNode &&\n filterInputNode.value.length > 0 &&\n this.filterable\n ? html`\n <div\n id=\"clear-button\"\n role=\"button\"\n class=\"${prefix}--list-box__selection\"\n tabindex=\"0\"\n title=\"${clearSelectionLabel}\">\n ${Close16({ 'aria-label': clearSelectionLabel })}\n </div>\n `\n : undefined;\n }\n\n /**\n * Handles `input` event on the `<input>` for filtering.\n */\n protected _handleInput() {\n const items = this.querySelectorAll(\n (this.constructor as typeof CDSMultiSelect).selectorItem\n );\n const inputValue = this._filterInputNode.value.toLocaleLowerCase();\n\n if (!this.open) this.open = true;\n\n forEach(items, (item) => {\n const itemValue = (item as HTMLElement).innerText.toLocaleLowerCase();\n\n if (!itemValue.includes(inputValue)) {\n (item as CDSMultiSelectItem).setAttribute('filtered', '');\n (item as CDSMultiSelectItem).removeAttribute('highlighted');\n } else {\n (item as CDSMultiSelectItem).removeAttribute('filtered');\n }\n });\n\n this.requestUpdate();\n }\n\n /**\n * Navigate through dropdown items.\n *\n * @param direction `-1` to navigate backward, `1` to navigate forward.\n */\n protected _navigate(direction: number) {\n if (!this.filterable) {\n super._navigate(direction);\n } else {\n // only navigate through remaining item\n const constructor = this.constructor as typeof CDSMultiSelect;\n const items = this.querySelectorAll(constructor.selectorItemResults);\n const highlightedItem = this.querySelector(\n constructor.selectorItemHighlighted\n );\n const highlightedIndex = indexOf(items, highlightedItem!);\n\n let nextIndex = highlightedIndex + direction;\n if (nextIndex < 0) {\n nextIndex = items.length - 1;\n }\n if (nextIndex >= items.length) {\n nextIndex = 0;\n }\n forEach(items, (item, i) => {\n (item as CDSMultiSelectItem).highlighted = i === nextIndex;\n });\n }\n }\n\n /**\n * Handles user-initiated clearing the `<input>` for filtering.\n */\n protected _handleUserInitiatedClearInput() {\n const constructor = this.constructor as typeof CDSMultiSelect;\n const items = this.querySelectorAll(constructor.selectorItemFiltered);\n this._filterInputNode.value = '';\n this.open = true;\n this._filterInputNode.focus();\n forEach(items, (item) => {\n (item as CDSMultiSelectItem).removeAttribute('filtered');\n });\n }\n\n /**\n * The `aria-label` attribute for the icon to clear selection.\n */\n @property({ attribute: 'clear-selection-label' })\n clearSelectionLabel = '';\n\n /**\n * Specify the text that should be read for screen readers that describes total items selected\n */\n @property({ attribute: 'clear-selection-description' })\n clearSelectionDescription = 'Total items selected: ';\n\n /**\n * Specify the text that should be read for screen readers to clear selection.\n */\n @property({ attribute: 'clear-selection-text' })\n clearSelectionText = 'To clear selection, press Delete or Backspace.';\n\n /**\n * Specify the locale of the control. Used for the default compareItems used for sorting the list of items in the control.\n */\n @property()\n locale = 'en';\n\n /**\n * An assistive text for screen reader to announce, telling that an item is unselected.\n */\n @property({ attribute: 'unselected-item-assistive-text' })\n unselectedItemAssistiveText = 'Unselected an item.';\n\n /**\n * An assistive text for screen reader to announce, telling that all items are unselected.\n */\n @property({ attribute: 'unselected-all-assistive-text' })\n unselectedAllAssistiveText = 'Unselected all items.';\n\n /**\n * Specify feedback (mode) of the selection.\n * `top`: selected item jumps to top\n * `fixed`: selected item stays at it's position\n * `top-after-reopen`: selected item jump to top after reopen dropdown\n */\n @property({ attribute: 'selection-feedback' })\n selectionFeedback = SELECTION_FEEDBACK_OPTION.TOP_AFTER_REOPEN;\n\n /**\n * The CSS class list for multi-select listbox\n */\n protected get _classes() {\n const {\n disabled,\n size,\n type,\n invalid,\n readOnly,\n open,\n warn,\n _selectedItemsCount: selectedItemsCount,\n } = this;\n const inline = type === DROPDOWN_TYPE.INLINE;\n\n return classMap({\n [`${prefix}--multi-select`]: true,\n [`${prefix}--list-box`]: true,\n [`${prefix}--list-box--disabled`]: disabled,\n [`${prefix}--list-box--inline`]: inline,\n [`${prefix}--list-box--expanded`]: open,\n [`${prefix}--list-box--${size}`]: size,\n [`${prefix}--multi-select--invalid`]: invalid,\n [`${prefix}--multi-select--warn`]: warn,\n [`${prefix}--multi-select--inline`]: inline,\n [`${prefix}--list-box--inline`]: inline,\n [`${prefix}--multi-select--readonly`]: readOnly,\n [`${prefix}--multi-select--selected`]: selectedItemsCount > 0,\n });\n }\n\n protected compareItems = (itemA, itemB, { locale }) => {\n itemA.localeCompare(itemB, locale, { numeric: true });\n };\n\n protected sortItems = (\n menuItems: NodeList,\n { values, compareItems, locale = 'en' }\n ) => {\n const menuItemsArray = Array.from(menuItems);\n\n const sortedArray = menuItemsArray.sort((itemA, itemB) => {\n const hasItemA = values.includes((itemA as HTMLInputElement).value);\n const hasItemB = values.includes((itemB as HTMLInputElement).value);\n\n // Prefer whichever item is in the `value` array first\n if (hasItemA && !hasItemB) {\n return -1;\n }\n\n if (hasItemB && !hasItemA) {\n return 1;\n }\n\n return compareItems(\n (itemA as HTMLInputElement).value,\n (itemB as HTMLInputElement).value,\n {\n locale,\n }\n );\n });\n\n return sortedArray;\n };\n\n shouldUpdate(changedProperties) {\n const { selectorItem } = this.constructor as typeof CDSMultiSelect;\n const items = this.querySelectorAll(selectorItem);\n\n const { value, locale } = this;\n const values = !value ? [] : value.split(',');\n\n if (changedProperties.has('size')) {\n forEach(this.querySelectorAll(selectorItem), (elem) => {\n (elem as CDSMultiSelectItem).size = this.size;\n });\n }\n if (changedProperties.has('value')) {\n // Updates selection beforehand because our rendering logic for `<cds-multi-select>` looks for selected items via `qSA()`\n forEach(items, (elem) => {\n (elem as CDSMultiSelectItem).selected =\n values.indexOf((elem as CDSMultiSelectItem).value) >= 0;\n });\n this._selectedItemsCount = filter(\n items,\n (elem) => values.indexOf((elem as CDSMultiSelectItem).value) >= 0\n ).length;\n\n if (this.selectionFeedback === SELECTION_FEEDBACK_OPTION.TOP) {\n const sortedMenuItems = this.sortItems(items, {\n values,\n compareItems: this.compareItems,\n locale,\n });\n\n this.replaceChildren(...sortedMenuItems);\n }\n }\n if (changedProperties.has('open')) {\n if (\n this.selectionFeedback === SELECTION_FEEDBACK_OPTION.TOP_AFTER_REOPEN\n ) {\n const sortedMenuItems = this.sortItems(items, {\n values,\n compareItems: this.compareItems,\n locale,\n });\n\n this.replaceChildren(...sortedMenuItems);\n }\n }\n return true;\n }\n\n updated(changedProperties) {\n if (changedProperties.has('open') && this.open && !this.filterable) {\n // move focus to menu body when open for non-filterable mulit-select\n this._menuBodyNode.focus();\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n /**\n * Detect if multi-select already has initially selected items\n */\n this.value = filter(\n this.querySelectorAll(\n (this.constructor as typeof CDSMultiSelect).selectorItem\n ),\n (item) => (item as CDSMultiSelectItem).selected\n )\n .map((item) => (item as CDSMultiSelectItem).value)\n .join(',');\n }\n\n /**\n * A selector that will return menu body.\n */\n static get selectorMenuBody() {\n return `div[part=\"menu-body\"]`;\n }\n\n /**\n * A selector that will return highlighted items.\n */\n static get selectorItemHighlighted() {\n return `${prefix}-multi-select-item[highlighted]`;\n }\n\n /**\n * A selector that will return multi select items.\n * We use a separate property from `.itemTagName` due to the nature in difference of tag name vs. selector.\n */\n static get selectorItem() {\n return `${prefix}-multi-select-item`;\n }\n\n /**\n * A selector that will return remaining items after a filter.\n */\n static get selectorItemFiltered() {\n return `${prefix}-multi-select-item[filtered]`;\n }\n\n /**\n * A selector that will return remaining items after a filter.\n */\n static get selectorItemResults() {\n return `${prefix}-multi-select-item:not([filtered])`;\n }\n\n /**\n * A selector that will return selected items.\n */\n static get selectorItemSelected() {\n return `${prefix}-multi-select-item[selected]`;\n }\n\n /**\n * The name of the custom event fired before this multi select item is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling this multi select item.\n */\n static get eventBeforeToggle() {\n return `${prefix}-multi-select-beingtoggled`;\n }\n\n /**\n * The name of the custom event fired after this multi select item is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${prefix}-multi-select-toggled`;\n }\n\n /**\n * The name of the custom event fired before a multi select item is selected upon a user gesture.\n * Cancellation of this event stops changing the user-initiated selection.\n */\n static get eventBeforeSelect() {\n return `${prefix}-multi-select-beingselected`;\n }\n\n /**\n * The name of the custom event fired after a a multi select item is selected upon a user gesture.\n */\n static get eventSelect() {\n return `${prefix}-multi-select-selected`;\n }\n\n static styles = styles;\n}\n\nexport default CDSMultiSelect;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/notification/actionable-notification-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAGzC;;;;GAIG;AACH,cACM,+BAAgC,SAAQ,SAAS;IACrD,MAAM,CAAC,iBAAiB,KAAA;IASxB,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,+BAA+B,CAAC","file":"actionable-notification-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 { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSButton from '../button/button';\nimport styles from './actionable-notification.scss';\n\n/**\n * Actionable notification action button.\n *\n * @element cds-actionable-notification-button\n */\n@customElement(`${prefix}-actionable-notification-button`)\nclass CDSActionableNotificationButton extends CDSButton {\n update(changedProperties) {\n super.update(changedProperties);\n this.shadowRoot!.getElementById('button')?.classList.add(\n `${prefix}--actionable-notification__action-button`\n );\n\n this.setAttribute('size', 'sm');\n }\n\n static styles = styles;\n}\n\nexport default CDSActionableNotificationButton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/notification/actionable-notification.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,iBAAiB,EAAqB,MAAM,QAAQ,CAAC;AAC9D,OAAO,qBAAqB,MAAM,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiB1D;;;;;;;;;;GAUG;AACH,cACM,yBAA0B,SAAQ,8BAEvC;IACC,SAAS,CAAC,KAAK,oBAAgC;IAE/C;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,iBAAiB,SAAM;IAEvB;;OAEG;IAEH,aAAa,UAAQ;IAErB;;OAEG;IAEH,QAAQ,UAAQ;IAEhB;;;OAGG;IAGH,OAAO,CAAC,cAAc,CAKpB;IAEF,iBAAiB;IAOjB,SAAS,CAAC,WAAW;IAarB,SAAS,CAAC,WAAW;IAiBrB;;OAEG;IAEH,OAAO,SAAM;IAEb,OAAO,CAAC,iBAAiB,KAAA;IA8BzB,MAAM;IAWN;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,yBAAyB,CAAC","file":"actionable-notification.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 */\nimport CheckmarkFilled20 from '@carbon/icons/lib/checkmark--filled/20';\nimport ErrorFilled20 from '@carbon/icons/lib/error--filled/20';\nimport InformationFilled20 from '@carbon/icons/lib/information--filled/20';\nimport InformationSquareFilled20 from '@carbon/icons/lib/information--square--filled/20';\nimport WarningFilled20 from '@carbon/icons/lib/warning--filled/20';\nimport WarningAltFilled20 from '@carbon/icons/lib/warning--alt--filled/20';\nimport { html, svg } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { NOTIFICATION_TYPE, NOTIFICATION_KIND } from './defs';\nimport CDSInlineNotification from './inline-notification';\nimport styles from './actionable-notification.scss';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\n\n/**\n * The default icons, keyed by notification kind.\n */\nconst iconsForKinds = {\n [NOTIFICATION_KIND.SUCCESS]: CheckmarkFilled20,\n [NOTIFICATION_KIND.INFO]: InformationFilled20,\n [NOTIFICATION_KIND.INFO_SQUARE]: InformationSquareFilled20,\n [NOTIFICATION_KIND.WARNING]: WarningFilled20,\n [NOTIFICATION_KIND.WARNING_ALT]: WarningAltFilled20,\n [NOTIFICATION_KIND.ERROR]: ErrorFilled20,\n};\n\n/**\n * Actionable notification.\n *\n * @element cds-actionable-notification\n * @slot subtitle - The subtitle.\n * @slot title - The title.\n * @fires cds-notification-beingclosed\n * The custom event fired before this notification is being closed upon a user gesture.\n * Cancellation of this event stops the user-initiated action of closing this notification.\n * @fires cds-notification-closed - The custom event fired after this notification is closed upon a user gesture.\n */\n@customElement(`${prefix}-actionable-notification`)\nclass CDSActionableNotification extends HostListenerMixin(\n CDSInlineNotification\n) {\n protected _type = NOTIFICATION_TYPE.ACTIONABLE;\n\n /**\n * Inline notification type.\n */\n @property({ type: Boolean, reflect: true })\n inline = false;\n\n /**\n * Pass in the action button label that will be rendered within the ActionableNotification.\n */\n @property({ type: String, reflect: true, attribute: 'action-button-label' })\n actionButtonLabel = '';\n\n /**\n * Specify if pressing the escape key should close notifications\n */\n @property({ type: Boolean, reflect: true, attribute: 'close-on-escape' })\n closeOnEscape = true;\n\n /**\n * Specify if focus should be moved to the component when the notification contains actions\n */\n @property({ type: Boolean, reflect: true, attribute: 'has-focus' })\n hasFocus = true;\n\n /**\n * Handles `keydown` event on this event.\n * Escape will close the notification if `closeOnEscape` is true\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 = async (event: KeyboardEvent) => {\n const { key } = event;\n if (this.closeOnEscape && key === 'Escape') {\n this.open = false;\n }\n };\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'alertdialog');\n }\n super.connectedCallback();\n }\n\n protected _renderIcon() {\n const { statusIconDescription, kind, inline } = this;\n const { [kind]: icon } = iconsForKinds;\n return !icon\n ? undefined\n : icon({\n class: `${prefix}--${inline ? 'inline' : 'toast'}-notification__icon`,\n children: !statusIconDescription\n ? undefined\n : svg`<title>${statusIconDescription}</title>`,\n });\n }\n\n protected _renderText() {\n const { subtitle, title, _type: type } = this;\n return html`\n <div class=\"${prefix}--${type}-notification__text-wrapper\">\n <div class=\"${prefix}--${type}-notification__content\">\n <div class=\"${prefix}--${type}-notification__title\">\n ${title}<slot name=\"title\"></slot>\n </div>\n <div class=\"${prefix}--${type}-notification__subtitle\">\n ${subtitle}<slot name=\"subtitle\"></slot>\n </div>\n <slot></slot>\n </div>\n </div>\n `;\n }\n\n /**\n * The caption.\n */\n @property()\n caption = '';\n\n updated(changedProperties) {\n super.updated(changedProperties);\n const button = this.querySelector(\n (this.constructor as typeof CDSActionableNotification)\n .selectorActionButton\n );\n if (changedProperties.has('inline')) {\n button?.setAttribute('kind', this.inline ? 'ghost' : 'tertiary');\n }\n if (changedProperties.has('lowContrast')) {\n if (this.lowContrast) {\n button?.setAttribute('low-contrast', 'true');\n } else {\n button?.removeAttribute('low-contrast');\n }\n }\n if (changedProperties.has('hideCloseButton')) {\n if (this.hideCloseButton) {\n button?.setAttribute('hide-close-button', 'true');\n } else {\n button?.removeAttribute('hide-close-button');\n }\n }\n if (changedProperties.has('hasFocus')) {\n if (this.hasFocus) {\n this.focus();\n }\n }\n }\n\n render() {\n const { _type: type } = this;\n return html`\n <div class=\"${prefix}--${type}-notification__details\">\n ${this._renderIcon()} ${this._renderText()}\n </div>\n <slot name=\"action\"></slot>\n ${this._renderButton()}\n `;\n }\n\n /**\n * A selector that will return the action button element\n */\n static get selectorActionButton() {\n return `${prefix}-actionable-notification-button`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSActionableNotification;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/notification/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;;OAGG;IACH,MAAM,WAAW;IAEjB;;;OAGG;IACH,KAAK,UAAU;IAEf;;;;;;OAMG;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 * Notification kinds.\n */\nexport enum NOTIFICATION_KIND {\n /**\n * Notification to represent success state.\n */\n SUCCESS = 'success',\n\n /**\n * Informational notification.\n */\n INFO = 'info',\n\n /**\n * Informational square icon notification.\n */\n INFO_SQUARE = 'info-square',\n\n /**\n * Warning notification.\n */\n WARNING = 'warning',\n\n /**\n * Warning Alt notification.\n */\n WARNING_ALT = 'warning-alt',\n\n /**\n * Error notification.\n */\n ERROR = 'error',\n}\n\n/**\n * Notification types.\n */\nexport enum NOTIFICATION_TYPE {\n /**\n * Inline notification, which show up in task flows, to notify users of the status of an action.\n * They usually appear at the top of the primary content area.\n */\n INLINE = 'inline',\n\n /**\n * Toast notification, which is a non-modal, time-based window elements used to display short messages.\n * They usually appear at the bottom of the screen and disappear after a few seconds.\n */\n TOAST = 'toast',\n\n /**\n * Actionable notifications allow for interactive elements within a notification styled like an inline\n * or toast notification. Actionable notifications, since they require user interaction, take focus when\n * triggered and can be highly disruptive to screen readers and keyboard users. With actionable notifications,\n * only one action is allowed per notification. This action frequently takes users to a flow or page related\n * to the message, where they can resolve the notification.\n */\n ACTIONABLE = 'actionable',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/notification/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,2BAA2B,CAAC;AACnC,OAAO,kCAAkC,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 './inline-notification';\nimport './toast-notification';\nimport './actionable-notification';\nimport './actionable-notification-button';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/notification/inline-notification.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAM5C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAG9D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAchD;;;;;;;;;;GAUG;AACH,cACM,qBAAsB,SAAQ,0BAAsB;IACxD;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE3C;;OAEG;IACH,SAAS,CAAC,KAAK,oBAA4B;IAE3C;;;;OAIG;IACH,SAAS,CAAC,cAAc,CAAC,SAAS,EAAE,MAAM;IAK1C;;;;OAIG;IACH,SAAS,CAAC,kBAAkB,CAAC,OAAO,EAAE,MAAM;IAU5C;;;;OAIG;IACH,SAAS,CAAC,uBAAuB,CAAC,EAAE,MAAM,EAAE,EAAE,UAAU;IAIxD;;;;OAIG;IACH,SAAS,CAAC,gCAAgC,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IA6B1E;;OAEG;IACH,SAAS,CAAC,aAAa;IAoBvB;;OAEG;IACH,SAAS,CAAC,WAAW;IAerB;;OAEG;IACH,SAAS,CAAC,WAAW;IAarB;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAC;IAEnB;;OAEG;IAEH,eAAe,UAAS;IAExB;;OAEG;IAEH,qBAAqB,EAAG,MAAM,CAAC;IAE/B;;OAEG;IAEH,IAAI,oBAA6B;IAEjC;;OAEG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,IAAI,UAAQ;IAEZ;;OAEG;IAEH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE9B;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,KAAK,SAAM;IAEX,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAazB,MAAM;IAUN;;;OAGG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"inline-notification.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 CheckmarkFilled20 from '@carbon/icons/lib/checkmark--filled/20';\nimport Close16 from '@carbon/icons/lib/close/16';\nimport ErrorFilled20 from '@carbon/icons/lib/error--filled/20';\nimport InformationFilled20 from '@carbon/icons/lib/information--filled/20';\nimport InformationSquareFilled20 from '@carbon/icons/lib/information--square--filled/20';\nimport WarningFilled20 from '@carbon/icons/lib/warning--filled/20';\nimport WarningAltFilled20 from '@carbon/icons/lib/warning--alt--filled/20';\nimport { LitElement, html, svg } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { NOTIFICATION_KIND, NOTIFICATION_TYPE } from './defs';\nimport styles from './inline-notification.scss';\n\nexport { NOTIFICATION_KIND, NOTIFICATION_TYPE };\n\n/**\n * The default icons, keyed by notification kind.\n */\nconst iconsForKinds = {\n [NOTIFICATION_KIND.SUCCESS]: CheckmarkFilled20,\n [NOTIFICATION_KIND.INFO]: InformationFilled20,\n [NOTIFICATION_KIND.INFO_SQUARE]: InformationSquareFilled20,\n [NOTIFICATION_KIND.WARNING]: WarningFilled20,\n [NOTIFICATION_KIND.WARNING_ALT]: WarningAltFilled20,\n [NOTIFICATION_KIND.ERROR]: ErrorFilled20,\n};\n\n/**\n * Inline notification.\n *\n * @element cds-inline-notification\n * @slot subtitle - The subtitle.\n * @slot title - The title.\n * @fires cds-notification-beingclosed\n * The custom event fired before this notification is being closed upon a user gesture.\n * Cancellation of this event stops the user-initiated action of closing this notification.\n * @fires cds-notification-closed - The custom event fired after this notification is closed upon a user gesture.\n */\n@customElement(`${prefix}-inline-notification`)\nclass CDSInlineNotification extends FocusMixin(LitElement) {\n /**\n * Current timeout identifier\n */\n protected _timeoutID: number | null = null;\n\n /**\n * Notification type.\n */\n protected _type = NOTIFICATION_TYPE.INLINE;\n\n /**\n * Cancels the current timeout configured for the notification\n *\n * @param timeoutID current timeout's identifier\n */\n protected _cancelTimeout(timeoutID: number) {\n clearTimeout(timeoutID);\n this._timeoutID = null;\n }\n\n /**\n * Overrides (if exists) the timeout to close the notification\n *\n * @param timeout the time in ms\n */\n protected _initializeTimeout(timeout: number) {\n if (this._timeoutID) {\n this._cancelTimeout(this._timeoutID);\n }\n this._timeoutID = setTimeout(\n this._handleUserOrTimerInitiatedClose.bind(this, null),\n timeout\n ) as unknown as number;\n }\n\n /**\n * Handles `click` event on the close button.\n *\n * @param event The event.\n */\n protected _handleClickCloseButton({ target }: MouseEvent) {\n this._handleUserOrTimerInitiatedClose(target);\n }\n\n /**\n * Handles user-initiated or through timer close request of this modal.\n *\n * @param triggeredBy The element that triggered this close request, if there is one.\n */\n protected _handleUserOrTimerInitiatedClose(triggeredBy: EventTarget | null) {\n if (this.open) {\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n triggeredBy,\n },\n };\n if (\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSInlineNotification).eventBeforeClose,\n init\n )\n )\n ) {\n this.open = false;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSInlineNotification).eventClose,\n init\n )\n );\n }\n }\n }\n\n /**\n * @returns The template part for the close button.\n */\n protected _renderButton() {\n const {\n ariaLabel,\n _type: type,\n _handleClickCloseButton: handleClickCloseButton,\n } = this;\n return html`\n <button\n type=\"button\"\n class=\"${prefix}--${type}-notification__close-button\"\n aria-label=${ifDefined(ariaLabel)}\n title=${ifDefined(ariaLabel)}\n @click=\"${handleClickCloseButton}\">\n ${Close16({\n class: `${prefix}--${type}-notification__close-icon`,\n })}\n </button>\n `;\n }\n\n /**\n * @returns The template part for the text contents.\n */\n protected _renderText() {\n const { subtitle, title, _type: type } = this;\n return html`\n <div class=\"${prefix}--${type}-notification__text-wrapper\">\n <p class=\"${prefix}--${type}-notification__title\">\n ${title}<slot name=\"title\"></slot>\n </p>\n <div class=\"${prefix}--${type}-notification__subtitle\">\n ${subtitle}<slot name=\"subtitle\"></slot>\n </div>\n <slot></slot>\n </div>\n `;\n }\n\n /**\n * @returns The template part for the icon.\n */\n protected _renderIcon() {\n const { statusIconDescription, kind, _type: type } = this;\n const { [kind]: icon } = iconsForKinds;\n return !icon\n ? undefined\n : icon({\n class: `${prefix}--${type}-notification__icon`,\n children: !statusIconDescription\n ? undefined\n : svg`<title>${statusIconDescription}</title>`,\n });\n }\n\n /**\n * Provide a description for \"close\" icon button that can be read by screen readers\n */\n @property({ attribute: 'aria-label' })\n ariaLabel!: string;\n\n /**\n * `true` to hide the close button.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-close-button' })\n hideCloseButton = false;\n\n /**\n * Provide a description for \"status\" icon that can be read by screen readers\n */\n @property({ attribute: 'status-icon-description' })\n statusIconDescription!: string;\n\n /**\n * Notification kind.\n */\n @property({ reflect: true })\n kind = NOTIFICATION_KIND.SUCCESS;\n\n /**\n * Low contrast mode\n */\n @property({ type: Boolean, reflect: true, attribute: 'low-contrast' })\n lowContrast = false;\n\n /**\n * `true` if the notification should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = true;\n\n /**\n * Specify an optional duration the notification should be closed in\n */\n @property({ type: Number, reflect: true })\n timeout: number | null = null;\n\n /**\n * The subtitle.\n */\n @property()\n subtitle = '';\n\n /**\n * The title.\n */\n @property()\n title = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'alert');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n const openChanged = changedProperties.has('open');\n const timeoutChanged = changedProperties.has('timeout');\n\n if (openChanged || timeoutChanged) {\n if (this.open && this.timeout) {\n this._initializeTimeout(this.timeout);\n } else if (!this.open && this._timeoutID) {\n this._cancelTimeout(this._timeoutID);\n }\n }\n }\n\n render() {\n const { _type: type } = this;\n return html`\n <div class=\"${prefix}--${type}-notification__details\">\n ${this._renderIcon()}${this._renderText()}\n </div>\n ${this._renderButton()}\n `;\n }\n\n /**\n * The name of the custom event fired before this notification is being closed upon a user gesture.\n * Cancellation of this event stops the user-initiated action of closing this notification.\n */\n static get eventBeforeClose() {\n return `${prefix}-notification-beingclosed`;\n }\n\n /**\n * The name of the custom event fired after this notification is closed upon a user gesture.\n */\n static get eventClose() {\n return `${prefix}-notification-closed`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSInlineNotification;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/notification/toast-notification.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,qBAAqB,MAAM,uBAAuB,CAAC;AAG1D;;;;;;;;;;GAUG;AACH,cACM,oBAAqB,SAAQ,qBAAqB;IACtD,SAAS,CAAC,KAAK,oBAA2B;IAE1C,SAAS,CAAC,WAAW;IAkBrB;;OAEG;IAEH,OAAO,SAAM;IAEb,MAAM;IAWN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,oBAAoB,CAAC","file":"toast-notification.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 } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport { NOTIFICATION_TYPE } from './defs';\nimport CDSInlineNotification from './inline-notification';\nimport styles from './toast-notification.scss';\n\n/**\n * Toast notification.\n *\n * @element cds-toast-notification\n * @slot subtitle - The subtitle.\n * @slot title - The title.\n * @fires cds-notification-beingclosed\n * The custom event fired before this notification is being closed upon a user gesture.\n * Cancellation of this event stops the user-initiated action of closing this notification.\n * @fires cds-notification-closed - The custom event fired after this notification is closed upon a user gesture.\n */\n@customElement(`${prefix}-toast-notification`)\nclass CDSToastNotification extends CDSInlineNotification {\n protected _type = NOTIFICATION_TYPE.TOAST;\n\n protected _renderText() {\n const { caption, subtitle, title, _type: type } = this;\n return html`\n <div class=\"${prefix}--${type}-notification__details\">\n <div class=\"${prefix}--${type}-notification__title\">\n ${title}<slot name=\"title\"></slot>\n </div>\n <div class=\"${prefix}--${type}-notification__subtitle\">\n ${subtitle}<slot name=\"subtitle\"></slot>\n </div>\n <div class=\"${prefix}--${type}-notification__caption\">\n ${caption}<slot name=\"caption\"></slot>\n </div>\n <slot></slot>\n </div>\n `;\n }\n\n /**\n * Specify the caption\n */\n @property()\n caption = '';\n\n render() {\n const { _type: type } = this;\n return html`\n ${this._renderIcon()}\n <div class=\"${prefix}--${type}-notification__details\">\n ${this._renderText()}\n </div>\n ${this._renderButton()}\n `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSToastNotification;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/number-input/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,yBAAyB,IAAI,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAEpG;;GAEG;AACH,oBAAY,8BAA8B;IACxC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;CACtC","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 NUMBER_INPUT_COLOR_SCHEME } from '../../globals/shared-enums';\n\n/**\n * Works in conjunction with VALIDATION_STATUS\n */\nexport enum NUMBER_INPUT_VALIDATION_STATUS {\n EXCEEDED_MAXIMUM = 'exceeded_maximum',\n EXCEEDED_MINIMUM = 'exceeded_minimum',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/number-input/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,gBAAgB,CAAC;AACxB,OAAO,yBAAyB,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 './number-input';\nimport './number-input-skeleton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/number-input/number-input-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;GAEG;AACH,cACM,sBAAuB,SAAQ,UAAU;IAC7C;;OAEG;IAEH,SAAS,UAAS;IAElB,MAAM;IASN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,sBAAsB,CAAC","file":"number-input-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 { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './number-input.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of number input.\n */\n@customElement(`${prefix}-number-input-skeleton`)\nclass CDSNumberInputSkeleton extends LitElement {\n /**\n * `true` if the label should be hidden. Corresponds to the attribute with the same name.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n render() {\n const { hideLabel } = this;\n return html`\n ${!hideLabel &&\n html` <span class=\"${prefix}--label ${prefix}--skeleton\"></span> `}\n <div class=\"${prefix}--number ${prefix}--skeleton\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSNumberInputSkeleton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/number-input/number-input.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAWH,OAAO,EAAE,8BAA8B,EAAE,MAAM,QAAQ,CAAC;AAExD,OAAO,YAAY,EAAE,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGpE,OAAO,EAAE,8BAA8B,EAAE,CAAC;AAE1C;;;;;;;GAOG;AACH,cACM,cAAe,SAAQ,YAAY;IACvC;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,KAAK;IAgBnC;;OAEG;IAEH,SAAS,CAAC,4BAA4B,CAAC,CAAC,EAAE,KAAK;IAe/C;;OAEG;IAEH,SAAS,CAAC,0BAA0B,CAAC,CAAC,EAAE,KAAK;IAe7C;;OAEG;IAEH,SAAS,CAAC,MAAM,EAAG,gBAAgB,CAAC;IAEpC,iBAAiB;IAgBjB,SAAS,CAAC,IAAI,SAAM;IAEpB,SAAS,CAAC,IAAI,SAAM;IAEpB,SAAS,CAAC,KAAK,SAAO;IAEtB;;OAEG;IACH,IACI,GAAG,WAEN;IAED,IAAI,GAAG,CAAC,KAAK,QAAA,EAIZ;IAED;;OAEG;IACH,IACI,GAAG,WAEN;IAED,IAAI,GAAG,CAAC,KAAK,QAAA,EAIZ;IAED;;OAEG;IACH,IACI,IAAI,WAEP;IAED,IAAI,IAAI,CAAC,KAAK,QAAA,EAIb;IAED;;OAEG;IAEH,4BAA4B,SAA2B;IAEvD;;OAEG;IAEH,4BAA4B,SAA2B;IAEvD;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IACH,MAAM;IAIN;;OAEG;IACH,QAAQ;IAIR,MAAM;IAwIN;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"number-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, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport Add16 from '@carbon/icons/lib/add/16';\nimport Subtract16 from '@carbon/icons/lib/subtract/16';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport { NUMBER_INPUT_VALIDATION_STATUS } from './defs';\nimport styles from './number-input.scss';\nimport CDSTextInput, { INPUT_SIZE } from '../text-input/text-input';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { NUMBER_INPUT_VALIDATION_STATUS };\n\n/**\n * Number input.\n *\n * @element cds-number-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}-number-input`)\nclass CDSNumberInput extends CDSTextInput {\n /**\n * Handles `input` event on the `<input>` in the shadow DOM.\n */\n protected _handleInput(event: Event) {\n const { target } = event;\n const { value } = target as HTMLInputElement;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSNumberInput).eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value,\n },\n })\n );\n super._handleInput(event);\n }\n\n /**\n * Handles `click` event on the up button in the shadow DOM.\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n protected _handleUserInitiatedStepDown(_: Event) {\n const { _input: input } = this;\n this.stepDown();\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSNumberInput).eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: input.value,\n },\n })\n );\n }\n\n /**\n * Handles `click` event on the down button in the shadow DOM.\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n protected _handleUserInitiatedStepUp(_: Event) {\n const { _input: input } = this;\n this.stepUp();\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSNumberInput).eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: input.value,\n },\n })\n );\n }\n\n /**\n * The underlying input element\n */\n @query('input')\n protected _input!: HTMLInputElement;\n\n _getInputValidity() {\n if (this.invalid) {\n return false;\n }\n if (\n this._input?.valueAsNumber > Number(this.max) ||\n this._input?.valueAsNumber < Number(this.min)\n ) {\n return false;\n }\n if (this.value === '') {\n return this.allowEmpty;\n }\n return true;\n }\n\n protected _min = '';\n\n protected _max = '';\n\n protected _step = '1';\n\n /**\n * The minimum value allowed in the input\n */\n @property({ reflect: true })\n get min() {\n return this._min.toString();\n }\n\n set min(value) {\n const oldValue = this.min;\n this._min = value;\n this.requestUpdate('min', oldValue);\n }\n\n /**\n * The maximum value allowed in the input\n */\n @property({ reflect: true })\n get max() {\n return this._max.toString();\n }\n\n set max(value) {\n const oldValue = this.max;\n this._max = value;\n this.requestUpdate('max', oldValue);\n }\n\n /**\n * The amount the value should increase or decrease by\n */\n @property({ reflect: true })\n get step() {\n return this._step.toString();\n }\n\n set step(value) {\n const oldValue = this.step;\n this._step = value;\n this.requestUpdate('step', oldValue);\n }\n\n /**\n * Aria text for the button that increments the value\n */\n @property({ attribute: 'increment-button-assistive-text' })\n incrementButtonAssistiveText = 'increase number input';\n\n /**\n * Aria text for the button that decrements the value\n */\n @property({ attribute: 'decrement-button-assistive-text' })\n decrementButtonAssistiveText = 'decrease number input';\n\n /**\n * Specify whether you want the steppers to be hidden\n */\n @property({ type: Boolean, attribute: 'hide-steppers', reflect: true })\n hideSteppers = false;\n\n /**\n * `true` to allow empty string.\n */\n @property({ type: Boolean, attribute: 'allow-empty', reflect: true })\n allowEmpty = false;\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * Handles incrementing the value in the input\n */\n stepUp() {\n this._input.stepUp();\n }\n\n /**\n * Handles decrementing the value in the input\n */\n stepDown() {\n this._input.stepDown();\n }\n\n render() {\n const {\n _handleInput: handleInput,\n _handleUserInitiatedStepDown: handleUserInitiatedStepDown,\n _handleUserInitiatedStepUp: handleUserInitiatedStepUp,\n } = this;\n\n const isValid = this._getInputValidity();\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--number__invalid`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--number__invalid ${prefix}--number__invalid--warning`,\n });\n\n let normalizedProps = {\n disabled: !this.readonly && this.disabled,\n invalid: !this.readonly && !isValid,\n warn: !this.readonly && isValid && this.warn,\n 'slot-name': '',\n 'slot-text': '',\n icon: null,\n };\n\n const wrapperClasses = classMap({\n [`${prefix}--number`]: true,\n [`${prefix}--number--${this.size}`]: this.size,\n [`${prefix}--number--nosteppers`]: this.hideSteppers,\n [`${prefix}--number--readonly`]: this.readonly,\n });\n\n const inputWrapperClasses = classMap({\n [`${prefix}--number__input-wrapper`]: true,\n [`${prefix}--number__input-wrapper--warning`]: normalizedProps.warn,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: normalizedProps.disabled,\n [`${prefix}--visually-hidden`]: this.hideLabel,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: normalizedProps.disabled,\n });\n\n const incrementButton = html`\n <button\n class=\"${prefix}--number__control-btn up-icon\"\n aria-label=\"${this.incrementButtonAssistiveText}\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n type=\"button\"\n ?disabled=${normalizedProps.disabled}\n @click=${handleUserInitiatedStepUp}>\n ${Add16()}\n </button>\n <div class=\"${prefix}--number__rule-divider\"></div>\n `;\n const decrementButton = html`\n <button\n class=\"${prefix}--number__control-btn down-icon\"\n aria-label=\"${this.decrementButtonAssistiveText}\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n type=\"button\"\n ?disabled=${normalizedProps.disabled}\n @click=${handleUserInitiatedStepDown}>\n ${Subtract16()}\n </button>\n <div class=\"${prefix}--number__rule-divider\"></div>\n `;\n\n const input = html`\n <input\n autocomplete=\"${this.autocomplete}\"\n ?autofocus=\"${this.autofocus}\"\n ?data-invalid=\"${normalizedProps.invalid}\"\n ?disabled=\"${normalizedProps.disabled}\"\n id=\"input\"\n name=\"${ifNonEmpty(this.name)}\"\n pattern=\"${ifNonEmpty(this.pattern)}\"\n ?readonly=\"${this.readonly}\"\n ?required=\"${this.required}\"\n type=\"number\"\n .value=\"${this._value}\"\n @input=\"${handleInput}\"\n min=\"${ifNonEmpty(this.min)}\"\n max=\"${ifNonEmpty(this.max)}\"\n step=\"${ifNonEmpty(this.step)}\"\n role=\"alert\"\n aria-atomic=\"true\" />\n `;\n\n if (normalizedProps.invalid) {\n normalizedProps.icon = invalidIcon;\n normalizedProps['slot-name'] = 'invalid-text';\n normalizedProps['slot-text'] = this.invalidText;\n } else if (normalizedProps.warn) {\n normalizedProps.icon = warnIcon;\n normalizedProps['slot-name'] = 'warn-text';\n normalizedProps['slot-text'] = this.warnText;\n }\n\n return html`\n <div class=\"${wrapperClasses}\" ?data-invalid=${normalizedProps.invalid}>\n <label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${this.label} </slot>\n </label>\n <div class=\"${inputWrapperClasses}\">\n ${normalizedProps.icon} ${input}\n <div class=\"${prefix}--number__controls\">\n ${!this.hideSteppers\n ? html`${decrementButton} ${incrementButton}`\n : null}\n </div>\n </div>\n <div\n class=\"${helperTextClasses}\"\n ?hidden=\"${normalizedProps.invalid || normalizedProps.warn}\">\n <slot name=\"helper-text\"> ${this.helperText} </slot>\n </div>\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 `;\n }\n\n /**\n * The name of the custom event fired after the value is changed upon a user gesture.\n */\n static get eventInput() {\n return `${prefix}-number-input`;\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 CDSNumberInput;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/overflow-menu/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,kBAAkB;IAC5B;;OAEG;IACH,KAAK,OAAO;IAEZ;;OAEG;IACH,MAAM,OAAO;IAEb;;OAEG;IACH,KAAK,OAAO;CACb;AAED,eAAO,MAAM,oBAAoB;;;CAGhC,CAAC","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 * Overflow menu size.\n */\nexport enum OVERFLOW_MENU_SIZE {\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * Medium size.\n */\n MEDIUM = 'md',\n\n /**\n * Large size.\n */\n LARGE = 'lg',\n}\n\nexport const NAVIGATION_DIRECTION = {\n ArrowDown: 1,\n ArrowUp: -1,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/overflow-menu/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,sBAAsB,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 './overflow-menu';\nimport './overflow-menu-body';\nimport './overflow-menu-item';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/overflow-menu/overflow-menu-body.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,eAAe,EAAE,EACtB,uBAAuB,EACxB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAwB,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,mBAAmB,MAAM,sBAAsB,CAAC;AAqBvD;;;;GAIG;AACH,cACM,mBAAoB,SAAQ,eAAe;IAC/C;;OAEG;IAEH,SAAS,0BAAkC;IAE3C;;OAEG;IAEH,OAAO,UAAS;IAEhB;;;;OAIG;IAEH,IAAI,UAAS;IAEb,QAAQ,EAAE,mBAAmB,GAAG,IAAI,CAAQ;IAE5C;;OAEG;IAEH,IAAI,qBAA6B;IAEjC;;;;OAIG;IACH,SAAS,CAAC,YAAY,CAAC,WAAW,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM;IAS1E;;;;OAIG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM;IAOrC;;OAEG;IAGH,SAAS,CAAC,cAAc,UAAiB,aAAa,mBAmBpD;IAEF,iBAAiB;IAWjB,OAAO,CAAC,iBAAiB,KAAA;IAazB,MAAM;IAIN;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"overflow-menu-body.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 } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSFloatingMenu, {\n FLOATING_MENU_DIRECTION,\n} from '../floating-menu/floating-menu';\nimport { NAVIGATION_DIRECTION, OVERFLOW_MENU_SIZE } from './defs';\nimport CDSOverflowMenuItem from './overflow-menu-item';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { indexOf } from '../../globals/internal/collection-helpers';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './overflow-menu.scss';\n\n/**\n * @param index The index\n * @param length The length of the array.\n * @returns The new index, adjusting overflow/underflow.\n */\nconst capIndex = (index: number, length: number) => {\n if (index < 0) {\n return length - 1;\n }\n if (index >= length) {\n return 0;\n }\n return index;\n};\n\n/**\n * Overflow menu body.\n *\n * @element cds-overflow-menu-body\n */\n@customElement(`${prefix}-overflow-menu-body`)\nclass CDSOverflowMenuBody extends CDSFloatingMenu {\n /**\n * The menu direction.\n */\n @property()\n direction = FLOATING_MENU_DIRECTION.BOTTOM;\n\n /**\n * How the menu is aligned to the trigger button.\n */\n @property({ type: Boolean, reflect: true })\n flipped = false;\n\n /**\n * `true` if the menu should be open.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n selected: CDSOverflowMenuItem | null = null;\n\n /**\n * The overflow menu size.\n */\n @property({ reflect: true })\n size = OVERFLOW_MENU_SIZE.MEDIUM;\n\n /**\n * @param currentItem The currently selected item.\n * @param direction The navigation direction.\n * @returns The item to be selected.\n */\n protected _getNextItem(currentItem: CDSOverflowMenuItem, direction: number) {\n const { selectorItemEnabled } = this\n .constructor as typeof CDSOverflowMenuBody;\n const menuItems = this.querySelectorAll(selectorItemEnabled);\n const currentIndex = indexOf(menuItems, currentItem);\n const nextIndex = capIndex(currentIndex + direction, menuItems.length);\n return nextIndex === currentIndex ? null : menuItems[nextIndex];\n }\n\n /**\n * Navigates through overflow menu items.\n *\n * @param direction `-1` to navigate backward, `1` to navigate forward.\n */\n protected _navigate(direction: number) {\n if (this.selected) {\n const nextItem = this._getNextItem(this.selected, direction);\n (nextItem as HTMLElement)?.focus();\n }\n }\n\n /**\n * Handles `keydown` event on the menu body.\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 if (this.open) {\n /**\n * sets this.selected to focused menu item. the menu item is focused\n * automatically due to FocusMixin\n */\n if (this.contains(document.activeElement)) {\n this.selected = document.activeElement as CDSOverflowMenuItem;\n }\n\n if (key in NAVIGATION_DIRECTION) {\n this._navigate(NAVIGATION_DIRECTION[key]);\n }\n\n if (key === 'Escape') {\n this.open = false;\n }\n }\n };\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'menu');\n }\n if (!this.hasAttribute('tabindex')) {\n // TODO: Should we use a property?\n this.setAttribute('tabindex', '-1');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('size')) {\n const { selectorMenuItem } = this\n .constructor as typeof CDSOverflowMenuBody;\n const menuItems = this.querySelectorAll(selectorMenuItem);\n menuItems.forEach((item) => {\n item.setAttribute('size', this.size);\n });\n }\n\n super.updated(changedProperties);\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n /**\n * A selector that will return menu items.\n */\n static get selectorMenuItem() {\n return `${prefix}-overflow-menu-item`;\n }\n\n /**\n * A selector that will return enabled menu items.\n */\n static get selectorItemEnabled() {\n return `${prefix}-overflow-menu-item:not([disabled])`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSOverflowMenuBody;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/overflow-menu/overflow-menu-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG5C;;;;GAIG;AACH,cACM,mBAAoB,SAAQ,wBAAsB;IACtD;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,IAAI,qBAA6B;IAEjC,iBAAiB;IAOjB,MAAM;IAyBN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"overflow-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 { 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 FocusMixin from '../../globals/mixins/focus';\nimport { OVERFLOW_MENU_SIZE } from './defs';\nimport styles from './overflow-menu.scss';\n\n/**\n * Overflow menu item.\n *\n * @element cds-overflow-menu-item\n */\n@customElement(`${prefix}-overflow-menu-item`)\nclass CDSOverflowMenuItem extends FocusMixin(LitElement) {\n /**\n * `true` if the action is danger.\n */\n @property({ type: Boolean, reflect: true })\n danger = false;\n\n /**\n * `true` if the overflow menu item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the item has a divider\n */\n @property({ type: Boolean, reflect: true })\n divider = false;\n\n /**\n * The link href of the overflow menu item.\n */\n @property()\n href = '';\n\n /**\n * The size of the overflow menu item.\n */\n @property({ reflect: true })\n size = OVERFLOW_MENU_SIZE.MEDIUM;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'menuitem');\n }\n super.connectedCallback();\n }\n\n render() {\n return this.href\n ? html`\n <a\n class=\"${prefix}--overflow-menu-options__btn\"\n ?disabled=${this.disabled}\n href=\"${this.href}\"\n tabindex=\"-1\">\n <div class=\"${prefix}--overflow-menu-options__option-content\">\n <slot></slot>\n </div>\n </a>\n `\n : html`\n <button\n class=\"${prefix}--overflow-menu-options__btn\"\n ?disabled=${this.disabled}\n tabindex=\"-1\">\n <div class=\"${prefix}--overflow-menu-options__option-content\">\n <slot></slot>\n </div>\n </button>\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 CDSOverflowMenuItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/overflow-menu/overflow-menu.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,sBAAsB,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAG5C,OAAO,aAAa,MAAM,4BAA4B,CAAC;AAGvD,OAAO,EAAE,kBAAkB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE9B;;;;;GAKG;AACH,cACM,eACJ,SAAQ,oBACR,YAAW,sBAAsB;IAEjC;;OAEG;IACH,OAAO,CAAC,SAAS,CAAoC;IAErD;;OAEG;YACW,0BAA0B;IAaxC;;OAEG;IAGH,OAAO,CAAC,mBAAmB,CAEzB;IAEF;;OAEG;IAGH,OAAO,CAAC,qBAAqB,CAK3B;IAEF;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,KAAK,SAAK;IAEV;;OAEG;IAEH,IAAI,qBAA6B;IAEjC;;OAEG;IAEH,aAAa,UAAS;IAEtB;;OAEG;IACH,IAAI,eAAe,YAElB;IAED,iBAAiB;IAUjB,OAAO,CAAC,iBAAiB,KAAA;IA8DzB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"overflow-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 { html } from 'lit';\nimport { property } from 'lit/decorators.js';\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 { find } from '../../globals/internal/collection-helpers';\nimport CDSFloatingMenuTrigger from '../floating-menu/floating-menu-trigger';\nimport { OVERFLOW_MENU_SIZE } from './defs';\nimport CDSOverflowMenuBody from './overflow-menu-body';\nimport styles from './overflow-menu.scss';\nimport CDSIconButton from '../icon-button/icon-button';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { OVERFLOW_MENU_SIZE };\n\n/**\n * Overflow menu.\n *\n * @element cds-overflow-menu\n * @slot icon - The icon for the trigger button.\n */\n@customElement(`${prefix}-overflow-menu`)\nclass CDSOverflowMenu\n extends HostListenerMixin(FocusMixin(CDSIconButton))\n implements CDSFloatingMenuTrigger\n{\n /**\n * The menu body.\n */\n private _menuBody: CDSOverflowMenuBody | null = null;\n\n /**\n * Handles user-initiated toggling of the menu.\n */\n private async _handleUserInitiatedToggle() {\n this.open = !this.open;\n const { index, open, updateComplete } = this;\n if (open) {\n await updateComplete;\n const { _menuBody: menuBody } = this;\n const menuItem = menuBody?.querySelector(\n `${prefix}-overflow-menu-item:nth-of-type(${index})`\n ) as HTMLElement;\n menuItem?.focus();\n }\n }\n\n /**\n * Handles `click` event on the trigger button.\n */\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClickTrigger = async () => {\n this._handleUserInitiatedToggle();\n };\n\n /**\n * Handles `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 = async (event) => {\n if (event.key === ' ' || event.key === 'Enter') {\n this._handleUserInitiatedToggle();\n event.preventDefault();\n }\n };\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 * `true` if this overflow menu should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if this overflow menu body should be flipped.\n */\n @property({ type: Boolean, reflect: true })\n flipped = false;\n\n /**\n * `true` if the dropdown should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * Index (starting at 1) of overflow menu item to focus on open.\n */\n @property()\n index = 1;\n\n /**\n * Overflow menu size.\n */\n @property({ reflect: true })\n size = OVERFLOW_MENU_SIZE.MEDIUM;\n\n /**\n * `true` if this menu is a toolbar action\n */\n @property({ type: Boolean, attribute: 'toolbar-action', reflect: true })\n toolbarAction = false;\n\n /**\n * @returns The position of the trigger button in the viewport.\n */\n get triggerPosition() {\n return this.getBoundingClientRect();\n }\n\n connectedCallback() {\n if (!this.hasAttribute('aria-haspopup')) {\n this.setAttribute('aria-haspopup', 'true');\n }\n if (!this.shadowRoot) {\n this.attachShadow({ mode: 'open' });\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n const button = this.shadowRoot\n ?.querySelector(`${prefix}-tooltip`)\n ?.querySelector('button');\n button?.classList.add(\n `${prefix}--btn--icon-only`,\n `${prefix}--overflow-menu`\n );\n\n if (changedProperties.has('open')) {\n const { open } = this;\n if (open && !this._menuBody) {\n this._menuBody = find(\n this.childNodes,\n (elem) =>\n (elem.constructor as typeof CDSOverflowMenuBody).FLOATING_MENU\n );\n }\n const { _menuBody: menuBody } = this;\n if (menuBody) {\n menuBody.open = open;\n\n const tooltipContent = this.querySelector(\n '[slot=tooltip-content]'\n )?.textContent;\n button?.setAttribute('aria-expanded', String(Boolean(open)));\n button?.setAttribute('aria-label', String(tooltipContent));\n }\n }\n\n if (changedProperties.has('dataTable')) {\n const tooltip = this.shadowRoot?.querySelector(`${prefix}-tooltip`);\n tooltip?.setAttribute('data-table', '');\n }\n\n if (changedProperties.has('size')) {\n const { size } = this;\n const { _menuBody: menuBody } = this;\n if (menuBody) {\n menuBody.size = size;\n }\n\n button?.classList.forEach((item) => {\n if (item.startsWith(`${prefix}--overflow-menu--`)) {\n button?.classList.remove(item);\n }\n });\n button?.classList.add(`${prefix}--overflow-menu--${this.size}`);\n\n const tooltip = this.shadowRoot?.querySelector(`${prefix}-tooltip`);\n tooltip?.setAttribute('size', this.size);\n }\n\n if (changedProperties.has('toolbarAction') && this.toolbarAction) {\n this.shadowRoot\n ?.querySelector(`${prefix}-tooltip`)\n ?.setAttribute('toolbar-action', '');\n }\n\n super.updated(changedProperties);\n }\n\n render() {\n return html` ${super.render()} `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSOverflowMenu;\n"]}
|