@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/pagination/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,eAAe;IACzB;;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, 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 * Pagination size.\n */\nexport enum PAGINATION_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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/pagination/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,cAAc,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 '../select/select-item';\nimport './pagination';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/pagination/pagination.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AASvC,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAEzC,OAAO,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGzB;;;;;;;;GAQG;AACH,cACM,aAAc,SAAQ,kBAAyC;IAEnE,OAAO,CAAC,eAAe,CAAe;IAEtC,OAAO,CAAC,iBAAiB;IAYzB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAwBzB;;;;OAIG;IACH,OAAO,CAAC,+BAA+B;IAiBvC;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAS9B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAS9B;;;;OAIG;IAGH,OAAO,CAAC,qBAAqB;IAe7B;;OAEG;IAEH,YAAY,SAAmB;IAE/B;;OAEG;IAEH,IAAI,SAAK;IAET;;;OAGG;IAEH,eAAe;;iBAC2C;IAE1D;;OAEG;IAEH,gCAAgC;;;;iBAC6B;IAE7D;;OAEG;IAEH,kCAAkC;;;;iBAGmB;IAErD;;OAEG;IAEH,sBAAsB;;iBAG2B;IACjD;;OAEG;IAEH,UAAU,EAAG,OAAO,CAAC;IAErB;;OAEG;IAEH,gBAAgB,SAAqB;IAErC;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,WAAW,SAAe;IAE1B;;OAEG;IAEH,iBAAiB,MAAC;IAElB;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,qBAAqB,MAAC;IAEtB;;OAEG;IAEH,iBAAiB,EAAG,MAAM,CAAC;IAE3B;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,IAAI,kBAA0B;IAE9B;;OAEG;IAEH,KAAK,SAAK;IAEV;;OAEG;IAEH,UAAU,EAAG,MAAM,CAAC;IAEpB;;OAEG;IAEH,UAAU,SAAK;IAEf,OAAO,CAAC,iBAAiB,KAAA;IAoBzB,MAAM;IAqJN;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,uBAAuB,WAEjC;IAED;;OAEG;IACH,MAAM,KAAK,kBAAkB,WAE5B;IAED;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"pagination.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 CaretLeft16 from '@carbon/icons/lib/caret--left/16';\nimport CaretRight16 from '@carbon/icons/lib/caret--right/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport styles from './pagination.scss';\nimport { PAGINATION_SIZE } from './defs';\nimport CDSSelect from '../select/select';\nimport '../button/index';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Pagination UI.\n *\n * @element cds-pagination\n * @slot page-sizes-select - Where to put in the `<page-sizes-select>`.\n * @fires cds-pages-select-changed - The custom event fired after the current page is changed from `<cds-pages-select>`.\n * @fires cds-page-sizes-select-changed\n * The custom event fired after the number of rows per page is changed from `<cds-page-sizes-select>`.\n */\n@customElement(`${prefix}-pagination`)\nclass CDSPagination extends FocusMixin(HostListenerMixin(LitElement)) {\n @query(`${prefix}-select`)\n private _pageSizeSelect!: HTMLElement;\n\n private _handleSlotChange({ target }: Event) {\n const content = (target as HTMLSlotElement)\n .assignedNodes()\n .filter(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n\n content.forEach((item) => {\n this._pageSizeSelect.appendChild(item);\n });\n }\n\n /**\n * @returns Page status text.\n */\n private _renderStatusText() {\n const {\n start,\n pageSize,\n totalItems,\n pagesUnknown,\n formatStatusWithDeterminateTotal,\n formatStatusWithIndeterminateTotal,\n } = this;\n // * Regular: `1-10 of 100 items`\n // * Indeterminate total: `Item 1-10` (`Item 11-` at the last page)\n const end = Math.min(\n start + pageSize,\n totalItems == null ? Infinity : totalItems\n );\n const format =\n totalItems == null || pagesUnknown\n ? formatStatusWithIndeterminateTotal\n : formatStatusWithDeterminateTotal;\n\n // `start`/`end` properties starts with zero, whereas we want to show number starting with 1\n return format({ start: start + 1, end, count: totalItems });\n }\n\n /**\n * Handles user-initiated change in the row number the current page starts with.\n *\n * @param start The new current row number, index that starts with zero.\n */\n private _handleUserInitiatedChangeStart(start: number) {\n this.start = start;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSPagination).eventChangeCurrent,\n {\n bubbles: true,\n composed: true,\n detail: {\n page: this.page,\n pageSize: this.pageSize,\n },\n }\n )\n );\n }\n\n /**\n * Handles `click` event on the previous button.\n */\n private _handleClickPrevButton() {\n const { start: oldStart, pageSize } = this;\n this.page--;\n const newStart = Math.max(oldStart - pageSize, 0);\n if (newStart !== oldStart) {\n this._handleUserInitiatedChangeStart(newStart);\n }\n }\n\n /**\n * Handles `click` event on the next button.\n */\n private _handleClickNextButton() {\n const { start: oldStart, pageSize, totalItems } = this;\n this.page++;\n const newStart = oldStart + pageSize;\n if (newStart < (totalItems == null ? Infinity : totalItems)) {\n this._handleUserInitiatedChangeStart(newStart);\n }\n }\n\n /**\n * Handles user-initiated change in number of rows per page.\n *\n * @param event The event.\n */\n @HostListener('eventChangeSelect')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleChangeSelector(event) {\n const { value } = event.detail;\n const { totalItems, pageSize } = this;\n\n if (event.composedPath()[0] === this._pageSizeSelect) {\n this.pageSize = parseInt(value);\n this.totalPages = Math.ceil(totalItems / pageSize);\n this.page = 1;\n this.start = 0;\n } else {\n this.page = value;\n this._handleUserInitiatedChangeStart((value - 1) * pageSize);\n }\n }\n\n /**\n * The assistive text for the button to go to previous page.\n */\n @property({ attribute: 'backward-text' })\n backwardText = 'Previous page';\n\n /**\n * The current page\n */\n @property({ type: Number, reflect: true })\n page = 1;\n\n /**\n * The formatter for the assistive text for screen readers to announce.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatLabelText = ({ count }) =>\n `Page number, of ${count} page${count <= 1 ? '' : 's'}`;\n\n /**\n * The formatter, used with determinate the total pages. Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatStatusWithDeterminateTotal = ({ start, end, count }) =>\n `${start}–${end} of ${count} item${count <= 1 ? '' : 's'}`;\n\n /**\n * The formatter, used with indeterminate the total pages. Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatStatusWithIndeterminateTotal = ({ start, end, count }) =>\n end == null\n ? `Item ${start}–`\n : `${start}–${end} item${count <= 1 ? '' : 's'}`;\n\n /**\n * The formatter for the text next to the select box. Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatSupplementalText = ({ count }) =>\n this.pagesUnknown || !this.totalItems\n ? `page`\n : `of ${count} page${count <= 1 ? '' : 's'}`;\n /**\n * `true` to explicitly state that user is at the last page.\n */\n @property({ type: Boolean, attribute: 'is-last-page' })\n isLastPage!: boolean;\n\n /**\n * The translatable text indicating the number of items per page.\n */\n @property({ attribute: 'items-per-page-text' })\n itemsPerPageText = 'Items per page:';\n\n /**\n * `true` if the pagination UI should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The assistive text for the button to go to next page.\n */\n @property({ attribute: 'forward-text' })\n forwardText = 'Next page';\n\n /**\n * true if the select box to change the page should be disabled.\n */\n @property({ attribute: 'page-input-disabled' })\n pageInputDisabled;\n\n /**\n * Number of items per page.\n */\n @property({ type: Number, attribute: 'page-size', reflect: true })\n pageSize = 10;\n\n /**\n * true if the select box to change the items per page should be disabled.\n */\n @property({ type: Boolean, attribute: 'page-size-input-disabled' })\n pageSizeInputDisabled;\n\n /**\n * The label text for the UI to select page size.\n */\n @property({ attribute: 'page-size-label-text' })\n pageSizeLabelText!: string;\n\n /**\n * true if the total number of items is unknown.\n */\n @property({ type: Boolean, reflect: true, attribute: 'pages-unknown' })\n pagesUnknown = false;\n\n /**\n * Specify the size of the Pagination.\n */\n @property({ reflect: true })\n size = PAGINATION_SIZE.MEDIUM;\n\n /**\n * The row number where current page start with, index that starts with zero.\n */\n @property({ type: Number })\n start = 0;\n\n /**\n * The number of total items.\n */\n @property({ type: Number, attribute: 'total-items' })\n totalItems!: number;\n\n /**\n * The number of total pages.\n */\n @property({ type: Number })\n totalPages = 1;\n\n updated(changedProperties) {\n const { page, pageSize, totalItems } = this;\n const { selectorPageSizesSelect, selectorPagesSelect } = this\n .constructor as typeof CDSPagination;\n\n if (changedProperties.has('pageSize')) {\n (this.shadowRoot!.querySelector(selectorPageSizesSelect) as any).value =\n pageSize;\n }\n if (changedProperties.has('pageSize') || changedProperties.has('start')) {\n this.totalPages = Math.ceil(totalItems / pageSize);\n (this.shadowRoot!.querySelector(selectorPagesSelect) as CDSSelect).value =\n this.page.toString();\n }\n\n if (changedProperties.has('page')) {\n this._handleUserInitiatedChangeStart((page - 1) * pageSize);\n }\n }\n\n render() {\n const {\n page,\n disabled,\n forwardText,\n backwardText,\n itemsPerPageText,\n pageInputDisabled,\n pageSize,\n pageSizeInputDisabled,\n pagesUnknown,\n size,\n start,\n totalItems,\n totalPages,\n _handleClickPrevButton: handleClickPrevButton,\n _handleClickNextButton: handleClickNextButton,\n _handleSlotChange: handleSlotChange,\n formatLabelText,\n formatSupplementalText,\n } = this;\n\n const { isLastPage = start + pageSize >= totalItems } = this;\n const prevButtonDisabled = disabled || start === 0;\n const nextButtonDisabled = disabled || isLastPage;\n\n const prevButtonClassMap = {\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--icon-only`]: true,\n [`${prefix}--pagination__button`]: true,\n [`${prefix}--pagination__button--backward`]: true,\n [`${prefix}--pagination__button--no-index`]: prevButtonDisabled,\n [`${prefix}--btn--${size}`]: true,\n [`${prefix}--btn--ghost`]: true,\n };\n const nextButtonClassMap = {\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--icon-only`]: true,\n [`${prefix}--pagination__button`]: true,\n [`${prefix}--pagination__button--forward`]: true,\n [`${prefix}--pagination__button--no-index`]: nextButtonDisabled,\n [`${prefix}--btn--${size}`]: true,\n [`${prefix}--btn--ghost`]: true,\n };\n\n const prevButtonClasses = Object.entries(prevButtonClassMap)\n .filter(([, value]) => value === true)\n .map(([key]) => key)\n .join(' ');\n const nextButtonClasses = Object.entries(nextButtonClassMap)\n .filter(([, value]) => value === true)\n .map(([key]) => key)\n .join(' ');\n\n return html`\n <div class=\"${prefix}--pagination__left\">\n <label for=\"select\" class=\"${prefix}--pagination__text\"\n ><slot name=\"label-text\">${itemsPerPageText}</slot></label\n >\n <cds-select\n ?disabled=${disabled || pageSizeInputDisabled}\n id=\"page-size-select\"\n left-select\n pagination\n size=\"${size}\"\n inline\n value=\"${pageSize}\">\n <slot @slotchange=${handleSlotChange}></slot>\n </cds-select>\n <span\n class=\"${prefix}--pagination__text ${prefix}--pagination__items-count\"\n >${this._renderStatusText()}</span\n >\n </div>\n <div class=\"${prefix}--pagination__right\">\n <label for=\"select\" class=\"${prefix}--label ${prefix}--visually-hidden\">\n ${formatLabelText({ count: totalPages })}\n </label>\n ${pagesUnknown || !totalItems\n ? html`\n <span\n class=\"${prefix}--pagination__text ${prefix}--pagination__page-text\"\n >${formatSupplementalText({ count: totalPages })}</span\n >\n\n <cds-select\n ?disabled=${disabled || pageInputDisabled}\n id=\"pages-select\"\n pagination\n size=\"${size}\"\n inline\n value=\"${page}\">\n ${Array.from(new Array(totalPages)).map(\n (_item, index) =>\n html`\n <cds-select-item value=\"${index + 1}\">\n ${index + 1}\n </cds-select-item>\n `\n )}\n </cds-select>\n `\n : html`\n <cds-select\n ?disabled=${disabled || pageInputDisabled}\n id=\"pages-select\"\n pagination\n size=\"${size}\"\n inline\n value=\"${page}\">\n ${Array.from(new Array(totalPages)).map(\n (_item, index) =>\n html`\n <cds-select-item value=\"${index + 1}\">\n ${index + 1}\n </cds-select-item>\n `\n )}\n </cds-select>\n <span class=\"${prefix}--pagination__text\"\n >${formatSupplementalText({ count: totalPages })}</span\n >\n `}\n\n <div class=\"${prefix}--pagination__control-buttons\">\n <cds-button\n pagination\n size=\"${size}\"\n ?disabled=\"${prevButtonDisabled}\"\n button-class-name=\"${prevButtonClasses}\"\n tooltip-text=\"${backwardText}\"\n @click=\"${handleClickPrevButton}\">\n ${CaretLeft16({ slot: 'icon' })}\n </cds-button>\n <cds-button\n tooltip-position=\"top-right\"\n pagination\n size=\"${size}\"\n ?disabled=\"${nextButtonDisabled}\"\n button-class-name=\"${nextButtonClasses}\"\n tooltip-text=\"${forwardText}\"\n @click=\"${handleClickNextButton}\">\n ${CaretRight16({ slot: 'icon' })}\n </cds-button>\n </div>\n </div>\n `;\n }\n\n /**\n * A selector that will return the select box for the current page.\n */\n static get selectorPagesSelect() {\n return `${prefix}-select#pages-select`;\n }\n\n /**\n * A selector that will return the select box for page sizes.\n */\n static get selectorPageSizesSelect() {\n return `${prefix}-select`;\n }\n\n /**\n * The name of the custom event fired after the current row number is changed.\n */\n static get eventChangeCurrent() {\n return `${prefix}-pagination-changed-current`;\n }\n\n /**\n * The name of the custom event fired after the number of rows per page is changed from `<cds-page-sizes-select>`.\n */\n static get eventChangeSelect() {\n return `${prefix}-select-selected`;\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 CDSPagination;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/popover/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;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,WAAW,gBAAgB;IAE3B;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,SAAS,cAAc;CACxB","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 * The alignment choices of popover.\n */\nexport enum POPOVER_ALIGNMENT {\n /**\n * Align the top position for the popover content.\n */\n TOP = 'top',\n\n /**\n * Align the top-left position for the popover content.\n */\n TOP_LEFT = 'top-left',\n\n /**\n * Align the top right position for the popover content.\n */\n TOP_RIGHT = 'top-right',\n\n /**\n * Align the bottom position for the popover content.\n */\n BOTTOM = 'bottom',\n\n /**\n * Align the bottom left position for the popover content.\n */\n BOTTOM_LEFT = 'bottom-left',\n\n /**\n * Align the bottom right position for the popover content.\n */\n BOTTOM_RIGHT = 'bottom-right',\n\n /**\n * Align the left position for the popover content.\n */\n LEFT = 'left',\n\n /**\n * Align the left bottom position for the popover content.\n */\n LEFT_BOTTOM = 'left-bottom',\n\n /**\n * Align the left top position for the popover content.\n */\n LEFT_TOP = 'left-top',\n\n /**\n * Align the right position for the popover content.\n */\n RIGHT = 'right',\n\n /**\n * Align the right bottom position for the popover content.\n */\n RIGHT_BOTTOM = 'right-bottom',\n\n /**\n * Align the right top position for the popover content.\n */\n RIGHT_TOP = 'right-top',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/popover/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,WAAW,CAAC;AACnB,OAAO,mBAAmB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './popover';\nimport './popover-content';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/popover/popover-content.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,KAAK,MAAC;IAEN;;OAEG;IAEH,UAAU,UAAQ;IAElB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,IAAI,SAAa;IAEjB,MAAM;IAUN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"popover-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 { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './popover.scss';\n\n/**\n * Popover.\n *\n * @element cds-popover\n */\n@customElement(`${prefix}-popover-content`)\nclass CDSPopoverContent extends LitElement {\n /**\n * Specify the popover alignment\n */\n @property({ reflect: true, type: String })\n align = '';\n\n /**\n * Specify whether a caret should be rendered\n */\n @property({ type: Boolean, reflect: true })\n caret;\n\n /**\n * Specify whether a dropShadow should be rendered\n */\n @property({ type: Boolean, reflect: true })\n dropShadow = true;\n\n /**\n * Specify whether the component is currently open or closed\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * Render the component using the tab tip variant\n */\n @property({ type: Boolean, reflect: true })\n tabTip = false;\n\n /**\n * The shadow slot this popover content should be in.\n */\n @property({ reflect: true })\n slot = 'content';\n\n render() {\n return html`\n <span class=\"${prefix}--popover-content\">\n <slot> </slot>\n </span>\n <span class=\"${prefix}--popover-caret\"></span>\n </span>\n `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSPopoverContent;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/popover/popover.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;GAIG;AACH,cACM,UAAW,SAAQ,UAAU;IACjC;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,KAAK,UAAQ;IAEb;;OAEG;IAEH,UAAU,UAAQ;IAElB;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK;IAe7C,OAAO,CAAC,iBAAiB,KAAA;IAYzB,MAAM;IA8BN;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,UAAU,CAAC","file":"popover.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './popover.scss';\nimport CDSPopoverContent from './popover-content';\n\n/**\n * Popover.\n *\n * @element cds-popover\n */\n@customElement(`${prefix}-popover`)\nclass CDSPopover extends LitElement {\n /**\n * Specify direction of alignment\n */\n @property({ reflect: true, type: String })\n align = '';\n\n /**\n * Specify whether a caret should be rendered\n */\n @property({ type: Boolean, reflect: true })\n caret = true;\n\n /**\n * Specify whether a dropShadow should be rendered\n */\n @property({ type: Boolean, reflect: true })\n dropShadow = true;\n\n /**\n * Render the component using the high-contrast variant\n */\n @property({ type: Boolean, reflect: true })\n highContrast = false;\n\n /**\n * Specify whether the component is currently open or closed\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * Render the component using the tab tip variant\n */\n @property({ type: Boolean, reflect: true })\n tabTip = false;\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n if (this.tabTip) {\n const component = (target as HTMLSlotElement)\n .assignedNodes()\n .filter(\n (node) =>\n node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n (component[0] as HTMLElement).classList.add(\n `${prefix}--popover--tab-tip__button`\n );\n }\n this.requestUpdate();\n }\n\n updated(changedProperties) {\n const { selectorPopoverContent } = this.constructor as typeof CDSPopover;\n ['open', 'align', 'caret', 'dropShadow', 'tabTip'].forEach((name) => {\n if (changedProperties.has(name)) {\n const { [name as keyof CDSPopover]: value } = this;\n (this.querySelector(selectorPopoverContent) as CDSPopoverContent)[\n name\n ] = value;\n }\n });\n }\n\n render() {\n const {\n dropShadow,\n highContrast,\n open,\n tabTip,\n _handleSlotChange: handleSlotChange,\n } = this;\n if (tabTip) {\n this.caret = tabTip ? false : true;\n }\n this.align = this.align ? this.align : tabTip ? 'bottom-left' : 'bottom';\n\n const classes = classMap({\n [`${prefix}--popover-container`]: true,\n [`${prefix}--popover--caret`]: this.caret,\n [`${prefix}--popover--drop-shadow`]: dropShadow,\n [`${prefix}--popover--high-contrast`]: highContrast,\n [`${prefix}--popover--open`]: open,\n [`${prefix}--popover--${this.align}`]: true,\n [`${prefix}--popover--tab-tip`]: tabTip,\n });\n return html`\n <span class=\"${classes}\">\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <slot name=\"content\"><slot>\n </span>\n `;\n }\n\n /**\n * A selector that will return the CDSPopoverContent.\n */\n static get selectorPopoverContent() {\n return `${prefix}-popover-content`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSPopover;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-bar/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,mBAAmB;IAC7B;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,GAAG,QAAQ;CACZ;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,QAAQ,aAAa;CACtB","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 * Status of progress bar.\n */\nexport enum PROGRESS_BAR_STATUS {\n /**\n * Currently active.\n */\n ACTIVE = 'active',\n\n /**\n * Executed.\n */\n FINISHED = 'finished',\n\n /**\n * Invalid.\n */\n ERROR = 'error',\n}\n\n/**\n * Size of progress bar.\n */\nexport enum PROGRESS_BAR_SIZE {\n /**\n * small size (thinner)\n */\n SMALL = 'small',\n\n /**\n * big size\n */\n BIG = 'big',\n}\n\n/**\n * Defines the alignment variant of the progress bar.\n */\nexport enum PROGRESS_BAR_TYPE {\n /**\n * default type\n */\n DEFAULT = 'default',\n\n /**\n * Inline type\n */\n INLINE = 'inline',\n\n /**\n * indented type\n */\n INDENTED = 'indented',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-bar/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,gBAAgB,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 './progress-bar';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-bar/progress-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,QAAQ,CAAC;AAIhB,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAC;AAErE;;;;GAIG;AACH,cACM,cAAe,SAAQ,UAAU;IACrC;;OAEG;IAEH,UAAU,MAAC;IAEX;;OAEG;IAEH,SAAS,MAAC;IAEV;;OAEG;IAEH,KAAK,MAAC;IAEN;;OAEG;IAEH,GAAG,SAAO;IAEV;;OAEG;IAEH,IAAI,oBAAyB;IAE7B;;OAEG;IAEH,MAAM,sBAA8B;IAEpC;;OAEG;IAEH,IAAI,oBAA6B;IAEjC;;OAEG;IAEH,KAAK,MAAC;IAEN,SAAS,KAAK,YAAY,QAiBzB;IAED,OAAO,CAAC,iBAAiB,KAAA;IAyBzB,MAAM;IAuEN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"progress-bar.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 { classMap } from 'lit/directives/class-map.js';\nimport ErrorFilled16 from '@carbon/icons/lib/error--filled/16';\nimport CheckmarkFilled16 from '@carbon/icons/lib/checkmark--filled/16';\nimport {\n PROGRESS_BAR_SIZE,\n PROGRESS_BAR_STATUS,\n PROGRESS_BAR_TYPE,\n} from './defs';\nimport { prefix } from '../../globals/settings';\nimport styles from './progress-bar.scss';\n\nexport { PROGRESS_BAR_SIZE, PROGRESS_BAR_STATUS, PROGRESS_BAR_TYPE };\n\n/**\n * Progress bar.\n *\n * @element cds-progress-bar\n */\n@customElement(`${prefix}-progress-bar`)\nclass CDSProgressBar extends LitElement {\n /**\n * The current progress as a textual representation.\n */\n @property({ type: String, attribute: 'helper-text', reflect: true })\n helperText;\n\n /**\n * Whether the label should be visually hidden.\n */\n @property({ type: Boolean, attribute: 'hide-label', reflect: true })\n hideLabel;\n\n /**\n * A label describing the progress bar.\n */\n @property({ type: String })\n label;\n\n /**\n * The maximum value.\n */\n @property({ type: Number, reflect: true })\n max = 100;\n\n /**\n * Specify the size of the ProgressBar.\n */\n @property({ type: String, reflect: true })\n size = PROGRESS_BAR_SIZE.BIG;\n\n /**\n * Specify the status.\n */\n @property({ type: String, reflect: true })\n status = PROGRESS_BAR_STATUS.ACTIVE;\n\n /**\n * Defines the alignment variant of the progress bar.\n */\n @property({ type: String, reflect: true })\n type = PROGRESS_BAR_TYPE.DEFAULT;\n\n /**\n * The current value.\n */\n @property({ type: Number, reflect: true })\n value;\n\n protected get _cappedValue() {\n const { value, max, status } = this;\n\n let cappedValue = value;\n if (cappedValue > max) {\n cappedValue = max;\n }\n if (cappedValue < 0) {\n cappedValue = 0;\n }\n if (status === PROGRESS_BAR_STATUS.ERROR) {\n cappedValue = 0;\n } else if (status === PROGRESS_BAR_STATUS.FINISHED) {\n cappedValue = max;\n }\n\n return cappedValue;\n }\n\n updated(changedProperties) {\n if (\n changedProperties.has('value') ||\n changedProperties.has('max') ||\n changedProperties.has('status')\n ) {\n const { _cappedValue: cappedValue, max, status } = this;\n\n const percentage: number = cappedValue / max;\n\n const bar = this.shadowRoot!.querySelector(\n `.${prefix}--progress-bar__bar`\n ) as HTMLElement;\n\n if (\n status != PROGRESS_BAR_STATUS.ERROR &&\n status != PROGRESS_BAR_STATUS.FINISHED\n ) {\n bar.style.transform = `scaleX(${percentage})`;\n } else {\n bar.style.transform = 'none';\n }\n }\n }\n\n render() {\n const {\n _cappedValue: cappedValue,\n helperText,\n hideLabel,\n label,\n max,\n size,\n status,\n type,\n value,\n } = this;\n\n const isFinished = status === PROGRESS_BAR_STATUS.FINISHED;\n const isError = status === PROGRESS_BAR_STATUS.ERROR;\n\n const indeterminate =\n !isFinished && !isError && (value === null || value === undefined);\n\n let statusIcon = null;\n\n if (isError) {\n statusIcon = ErrorFilled16({\n class: `${prefix}--progress-bar__status-icon`,\n });\n } else if (isFinished) {\n statusIcon = CheckmarkFilled16({\n class: `${prefix}--progress-bar__status-icon`,\n });\n }\n\n const wrapperClasses = classMap({\n [`${prefix}--progress-bar`]: true,\n [`${prefix}--progress-bar--${size}`]: true,\n [`${prefix}--progress-bar--${type}`]: true,\n [`${prefix}--progress-bar--indeterminate`]: indeterminate,\n [`${prefix}--progress-bar--finished`]: isFinished,\n [`${prefix}--progress-bar--error`]: isError,\n });\n\n const labelClasses = classMap({\n [`${prefix}--progress-bar__label`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n\n return html` <div class=\"${wrapperClasses}\">\n <div class=\"${labelClasses}\">\n <span class=\"${prefix}--progress-bar__label-text\">${label}</span>\n ${statusIcon}\n </div>\n <div\n class=\"${prefix}--progress-bar__track\"\n role=\"progressbar\"\n aria-busy=\"${!isFinished}\"\n aria-invalid=\"${isError}\"\n aria-valuemin=\"${!indeterminate ? 0 : null}\"\n aria-valuemax=\"${!indeterminate ? max : null}\"\n aria-valuenow=\"${!indeterminate ? cappedValue : null}\">\n <div class=\"${prefix}--progress-bar__bar\"></div>\n </div>\n ${helperText\n ? html`<div class=\"${prefix}--progress-bar__helper-text\">\n ${helperText}\n <div class=\"${prefix}--visually-hidden\" aria-live=\"polite\">\n ${isFinished ? 'Done' : 'Loading'}\n </div>\n </div>`\n : null}\n </div>`;\n }\n\n static styles = styles;\n}\n\nexport default CDSProgressBar;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-indicator/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,kBAAkB;IAC5B;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,OAAO,YAAY;CACpB","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 * State of progress step.\n */\nexport enum PROGRESS_STEP_STAT {\n /**\n * Complete one.\n */\n COMPLETE = 'complete',\n\n /**\n * One that is being executed now.\n */\n CURRENT = 'current',\n\n /**\n * One for future execution.\n */\n INCOMPLETE = 'incomplete',\n\n /**\n * Invalid one.\n */\n INVALID = 'invalid',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-indicator/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,sBAAsB,CAAC;AAC9B,OAAO,+BAA+B,CAAC;AACvC,OAAO,iBAAiB,CAAC;AACzB,OAAO,0BAA0B,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 './progress-indicator';\nimport './progress-indicator-skeleton';\nimport './progress-step';\nimport './progress-step-skeleton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-indicator/progress-indicator-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,UAAU;IAClE;;OAEG;IAEH,QAAQ,UAAS;IAEjB,OAAO,CAAC,iBAAiB,KAAA;IAczB,MAAM;IAIN;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB","file":"progress-indicator-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 { forEach } from '../../globals/internal/collection-helpers';\nimport CDSProgressStepSkeleton from './progress-step-skeleton';\nimport styles from './progress-indicator.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of progress indicator.\n */\n@customElement(`${prefix}-progress-indicator-skeleton`)\nexport default class CDSProgressIndicatorSkeleton extends LitElement {\n /**\n * `true` if the progress indicator should be vertical. Corresponds to the attribute with the same name.\n */\n @property({ type: Boolean, reflect: true })\n vertical = false;\n\n updated(changedProperties) {\n if (changedProperties.has('vertical')) {\n // Propagate `vertical` attribute to descendants until `:host-context()` gets supported in all major browsers\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSProgressIndicatorSkeleton).selectorStep\n ),\n (item) => {\n (item as CDSProgressStepSkeleton).vertical = this.vertical;\n }\n );\n }\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n /**\n * A selector that will return progress steps.\n */\n static get selectorStep() {\n return `${prefix}-progress-step-skeleton`;\n }\n\n static styles = styles;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-indicator/progress-indicator.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC;;;;GAIG;AAEH,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU;IAC1D;;;OAGG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,YAAY,UAAS;IAErB,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IA6BzB,MAAM;IAIN;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB","file":"progress-indicator.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 { forEach } from '../../globals/internal/collection-helpers';\nimport CDSProgressStep from './progress-step';\nimport styles from './progress-indicator.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Progress indicator.\n *\n * @element cds-progress-indicator\n */\n@customElement(`${prefix}-progress-indicator`)\nexport default class CDSProgressIndicator extends LitElement {\n /**\n * Determines whether or not the progress indicator should be rendered\n * vertically.\n */\n @property({ type: Boolean, reflect: true })\n vertical = false;\n\n /**\n * Specify whether the progress steps should be split equally in size in the\n * div\n */\n @property({ type: Boolean, reflect: true, attribute: 'space-equally' })\n spaceEqually = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'list');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n const spacingValue = this.vertical ? false : this.spaceEqually;\n if (changedProperties.has('vertical')) {\n // Propagate `vertical` attribute to descendants until\n // `:host-context()` gets supported in all major browsers\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSProgressIndicator).selectorStep\n ),\n (item) => {\n (item as CDSProgressStep).vertical = this.vertical;\n (item as CDSProgressStep).spaceEqually = spacingValue;\n }\n );\n }\n if (changedProperties.has('spaceEqually')) {\n // Propagate `spaceEqually` attribute to descendants until\n // `:host-context()` gets supported in all major browsers\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSProgressIndicator).selectorStep\n ),\n (item) => {\n (item as CDSProgressStep).spaceEqually = spacingValue;\n }\n );\n }\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n /**\n * A selector that will return progress steps.\n */\n static get selectorStep() {\n return `${prefix}-progress-step`;\n }\n\n static styles = styles;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-indicator/progress-step-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,OAAO,kBAAkB,CAAC;AAG1B;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,UAAU;IAC7D;;OAEG;IAEH,QAAQ,UAAS;IAEjB,MAAM;IAaN,MAAM,CAAC,MAAM,MAAU;CACxB","file":"progress-step-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 './progress-indicator.scss';\nimport CircleDash from '@carbon/icons/lib/circle-dash/16';\nimport '../skeleton-text';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of progress step.\n */\n@customElement(`${prefix}-progress-step-skeleton`)\nexport default class CDSProgressStepSkeleton extends LitElement {\n /**\n * `true` if the progress indicator should be vertical. Corresponds to the attribute with the same name.\n */\n @property({ type: Boolean, reflect: true })\n vertical = false;\n\n render() {\n return html`\n <div\n class=\"${prefix}--progress-step-button ${prefix}--progress-step-button--unclickable\">\n ${CircleDash()}\n <p class=\"${prefix}--progress-label\">\n <cds-skeleton-text width=\"40px\" linecount=\"1\"></cds-skeleton-text>\n </p>\n <span class=\"${prefix}--progress-line\"></span>\n </div>\n `;\n }\n\n static styles = styles;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/progress-indicator/progress-step.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAQ5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAI5C,OAAO,EAAE,kBAAkB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAY9B;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,oBAAsB;IACjE;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAC;IAGnB,WAAW,EAAG,MAAM,CAAC;IAErB;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAC;IAGnB,KAAK,EAAG,MAAM,CAAC;IAEf;;OAEG;IAEH,kBAAkB,EAAG,MAAM,CAAC;IAG5B,cAAc,EAAG,MAAM,CAAC;IAExB;;OAEG;IAEH,KAAK,qBAAiC;IAEtC;;;;OAIG;IAEH,QAAQ,UAAS;IAEjB;;;;OAIG;IAEH,YAAY,UAAS;IAErB,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAMzB,MAAM;IAwCN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB","file":"progress-step.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, svg } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport CheckmarkOutline16 from '@carbon/icons/lib/checkmark--outline/16';\nimport CircleDash16 from '@carbon/icons/lib/circle-dash/16';\nimport Incomplete16 from '@carbon/icons/lib/incomplete/16';\nimport Warning16 from '@carbon/icons/lib/warning/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { PROGRESS_STEP_STAT } from './defs';\nimport styles from './progress-indicator.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { PROGRESS_STEP_STAT };\n\n/**\n * Icons, keyed by state.\n */\nconst icons = {\n [PROGRESS_STEP_STAT.COMPLETE]: CheckmarkOutline16,\n [PROGRESS_STEP_STAT.INCOMPLETE]: CircleDash16,\n [PROGRESS_STEP_STAT.INVALID]: Warning16,\n [PROGRESS_STEP_STAT.CURRENT]: Incomplete16,\n};\n\n/**\n * Progress step.\n *\n * @element cds-progress-step\n * @slot secondary-label-text - The secondary progress label.\n */\n@customElement(`${prefix}-progress-step`)\nexport default class CDSProgressStep extends FocusMixin(LitElement) {\n /**\n * `true` if the progress step should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The a11y text for the icon.\n */\n @property({ attribute: 'icon-label' })\n iconLabel!: string;\n\n @property({ reflect: true })\n description!: string;\n\n /**\n * The primary progress label.\n */\n @property({ attribute: 'label-text' })\n labelText!: string;\n\n @property()\n label!: string;\n\n /**\n * The secondary progress label.\n */\n @property({ attribute: 'secondary-label-text' })\n secondaryLabelText!: string;\n\n @property({ attribute: 'secondary-label' })\n secondaryLabel!: string;\n\n /**\n * The progress state.\n */\n @property()\n state = PROGRESS_STEP_STAT.INCOMPLETE;\n\n /**\n * `true` if the progress step should be vertical.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n vertical = false;\n\n /**\n * `true` if the progress step should be spaced equally.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n spaceEqually = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('disabled')) {\n this.setAttribute('aria-disabled', String(Boolean(this.disabled)));\n }\n }\n\n render() {\n const {\n description,\n iconLabel,\n label,\n secondaryLabelText,\n secondaryLabel,\n state,\n } = this;\n const svgLabel = iconLabel || description;\n const optionalLabel = secondaryLabelText || secondaryLabel;\n return html`\n <div class=\"${prefix}--progress-step-button\" tabindex=\"0\">\n ${icons[state]({\n class: {\n [PROGRESS_STEP_STAT.INVALID]: `${prefix}--progress__warning`,\n }[state],\n children: svgLabel ? svg`<title>${svgLabel}</title>` : undefined,\n })}\n <slot>\n <p\n role=\"button\"\n class=\"${prefix}--progress-label\"\n aria-describedby=\"label-tooltip\"\n title=\"${label}\">\n ${label}\n </p>\n </slot>\n <slot name=\"secondary-label-text\">\n ${!optionalLabel\n ? undefined\n : html`<p class=\"${prefix}--progress-optional\">\n ${optionalLabel}\n </p>`}\n </slot>\n <span class=\"${prefix}--progress-line\"></span>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/radio-button/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,2BAA2B;IACrC;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,wBAAwB;IAClC;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,QAAQ,aAAa;CACtB","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 * The label position of radio button.\n */\nexport enum RADIO_BUTTON_LABEL_POSITION {\n /**\n * Placed at left.\n */\n LEFT = 'left',\n\n /**\n * Placed at right.\n */\n RIGHT = 'right',\n}\n\n/**\n * How to lay out radio buttons.\n */\nexport enum RADIO_BUTTON_ORIENTATION {\n /**\n * Laying out radio buttons horizontally.\n */\n HORIZONTAL = 'horizontal',\n\n /**\n * Laying out radio buttons vertically.\n */\n VERTICAL = 'vertical',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/radio-button/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,gBAAgB,CAAC;AACxB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,yBAAyB,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 './radio-button';\nimport './radio-button-group';\nimport './radio-button-skeleton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/radio-button/radio-button-group.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAO/E,OAAO,EAAE,wBAAwB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEA8DlC;;mBAEG;;;;;AA9DL;;;;;GAKG;AACH,cACM,mBAAoB,SAAQ,wBAAwC;IACxE;;OAEG;IAGH,OAAO,CAAC,6BAA6B,CAqBnC;IAEF,eAAe,CAAC,KAAK,EAAE,KAAK;IAY5B;;OAEG;IAEH,eAAe,EAAG,MAAM,CAAC;IAEzB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,8BAAqC;IAElD;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,UAAU,MAAC;IAEX;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,WAAW,2BAAuC;IAElD;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,OAAO,CAAC,iBAAiB,KAAA;IA4BzB,MAAM;IA2DN;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"radio-button-group.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport FormMixin from '../../globals/mixins/form';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { find, forEach } from '../../globals/internal/collection-helpers';\nimport { RADIO_BUTTON_LABEL_POSITION, RADIO_BUTTON_ORIENTATION } from './defs';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport CDSRadioButton from './radio-button';\nimport styles from './radio-button.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { RADIO_BUTTON_ORIENTATION };\n\n/**\n * Radio button group.\n *\n * @element cds-radio-button-group\n * @fires cds-radio-button-group-changed - The custom event fired after this radio button group changes its selected item.\n */\n@customElement(`${prefix}-radio-button-group`)\nclass CDSRadioButtonGroup extends FormMixin(HostListenerMixin(LitElement)) {\n /**\n * Handles user-initiated change in selected radio button.\n */\n @HostListener('eventChangeRadioButton')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleAfterChangeRadioButton = () => {\n const { selectorRadioButton } = this\n .constructor as typeof CDSRadioButtonGroup;\n const selected = find(\n this.querySelectorAll(selectorRadioButton),\n (elem) => (elem as CDSRadioButton).checked\n );\n const oldValue = this.value;\n this.value = selected && selected.value;\n if (oldValue !== this.value) {\n const { eventChange } = this.constructor as typeof CDSRadioButtonGroup;\n this.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n },\n })\n );\n }\n };\n\n _handleFormdata(event: Event) {\n const { formData } = event as any; // TODO: Wait for `FormDataEvent` being available in `lib.dom.d.ts`\n const { disabled, name, value } = this;\n if (\n !disabled &&\n typeof name !== 'undefined' &&\n typeof value !== 'undefined'\n ) {\n formData.append(name, value);\n }\n }\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n defaultSelected!: string;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'label-position' })\n labelPosition = RADIO_BUTTON_LABEL_POSITION.RIGHT;\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'legend-text' })\n legendText = '';\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText;\n\n /**\n * Specify whether the control is currently in warning state\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * The `name` attribute for the `<input>` for selection.\n */\n @property()\n name!: string;\n\n /**\n * The orientation to lay out radio buttons.\n */\n @property({ reflect: true })\n orientation = RADIO_BUTTON_ORIENTATION.HORIZONTAL;\n\n /**\n * Controls the readonly state of the radio button group.\n */\n @property({ type: Boolean, reflect: true })\n readOnly = false;\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n value!: string;\n\n updated(changedProperties) {\n const { selectorRadioButton } = this\n .constructor as typeof CDSRadioButtonGroup;\n ['disabled', 'labelPosition', 'orientation', 'readOnly', 'name'].forEach(\n (name) => {\n if (changedProperties.has(name)) {\n const { [name as keyof CDSRadioButtonGroup]: value } = this;\n // Propagate the property to descendants until `:host-context()` gets supported in all major browsers\n forEach(this.querySelectorAll(selectorRadioButton), (elem) => {\n (elem as CDSRadioButton)[name] = value;\n });\n }\n }\n );\n if (changedProperties.has('value')) {\n const { value } = this;\n forEach(this.querySelectorAll(selectorRadioButton), (elem) => {\n (elem as CDSRadioButton).checked =\n value === (elem as CDSRadioButton).value;\n });\n }\n if (changedProperties.has('invalid')) {\n forEach(this.querySelectorAll(selectorRadioButton), (elem) => {\n (elem as CDSRadioButton).invalid = this.invalid;\n });\n }\n }\n\n render() {\n const {\n readOnly,\n invalid,\n invalidText,\n warn,\n warnText,\n disabled,\n orientation,\n legendText,\n helperText,\n } = this;\n\n const showWarning = !readOnly && !invalid && warn;\n const showHelper = !invalid && !disabled && !warn;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--radio-button__invalid-icon`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--radio-button__invalid-icon ${prefix}--radio-button__invalid-icon--warning`,\n });\n\n const helper = helperText\n ? html`<div class=\"${prefix}--form__helper-text\">${helperText}</div>`\n : null;\n\n const fieldsetClasses = classMap({\n [`${prefix}--radio-button-group`]: true,\n [`${prefix}--radio-button-group--readonly`]: readOnly,\n [`${prefix}--radio-button-group--${orientation}`]:\n orientation === 'vertical',\n });\n\n return html` <fieldset\n class=\"${fieldsetClasses}\"\n ?disabled=\"${disabled}\"\n aria-readonly=\"${readOnly}\">\n ${legendText\n ? html` <legend class=\"${prefix}--label\">${legendText}</legend>`\n : ``}\n <slot></slot>\n </fieldset>\n <div class=\"${prefix}--radio-button__validation-msg\">\n ${!readOnly && invalid\n ? html`\n ${invalidIcon}\n <div class=\"${prefix}--form-requirement\">${invalidText}</div>\n `\n : null}\n ${showWarning\n ? html`${warnIcon}\n <div class=\"${prefix}--form-requirement\">${warnText}</div>`\n : null}\n </div>\n ${showHelper ? helper : null}`;\n }\n\n /**\n * A selector that will return the radio buttons.\n */\n static get selectorRadioButton() {\n return `${prefix}-radio-button`;\n }\n\n /**\n * The name of the custom event fired after this radio button group changes its selected item.\n */\n static get eventChange() {\n return `${prefix}-radio-button-group-changed`;\n }\n\n /**\n * The name of the custom event fired after a radio button changes its checked state.\n */\n static get eventChangeRadioButton() {\n return `${prefix}-radio-button-changed`;\n }\n\n static styles = styles;\n}\n\nexport default CDSRadioButtonGroup;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/radio-button/radio-button-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,sBAAuB,SAAQ,UAAU;IAC7C,MAAM;IAON,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,sBAAsB,CAAC","file":"radio-button-skeleton.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './radio-button.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of radio button.\n */\n@customElement(`${prefix}-radio-button-skeleton`)\nclass CDSRadioButtonSkeleton extends LitElement {\n render() {\n return html`\n <div class=\"${prefix}--radio-button ${prefix}--skeleton\"></div>\n <span class=\"${prefix}--radio-button__label ${prefix}--skeleton\"></span>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSRadioButtonSkeleton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/radio-button/radio-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAWvC,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAI/E,OAAO,EAAE,2BAA2B,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EvC;;;;;GAKG;AACH,cACM,cAAe,SAAQ,mBAAyC;IACpE;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAkC;IAElD;;OAEG;IACH,OAAO,CAAC,oBAAoB,CAAuB;IAEnD;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAoB;IAEtC;;OAEG;IAGH,OAAO,CAAC,YAAY,CAoBlB;IAEF;;OAEG;IAGH,OAAO,CAAC,cAAc,CAmBpB;IAEF;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,aAAa,8BAAqC;IAElD;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,WAAW,2BAAuC;IAElD;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,oBAAoB;IAOpB,YAAY;IAIZ,OAAO,CAAC,iBAAiB,KAAA;IA+BzB,MAAM;IA6BN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"radio-button.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport HostListener from '../../globals/decorators/host-listener';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport RadioGroupManager, {\n NAVIGATION_DIRECTION,\n ManagedRadioButtonDelegate,\n} from '../../globals/internal/radio-group-manager';\nimport { RADIO_BUTTON_LABEL_POSITION, RADIO_BUTTON_ORIENTATION } from './defs';\nimport styles from './radio-button.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { RADIO_BUTTON_LABEL_POSITION };\n\n/**\n * Map of navigation direction by key for horizontal alignment.\n */\nconst navigationDirectionForKeyHorizontal = {\n ArrowLeft: NAVIGATION_DIRECTION.BACKWARD,\n Left: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowRight: NAVIGATION_DIRECTION.FORWARD,\n Right: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * Map of navigation direction by key for vertical alignment.\n */\nconst navigationDirectionForKeyVertical = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * The interface for `RadioGroupManager` for radio button.\n */\nclass RadioButtonDelegate implements ManagedRadioButtonDelegate {\n /**\n * The radio button to target.\n */\n private _radio: HTMLInputElement;\n\n constructor(radio: HTMLInputElement) {\n this._radio = radio;\n }\n\n get checked() {\n return this._radio.checked;\n }\n\n set checked(checked) {\n const { host } = this._radio.getRootNode() as ShadowRoot;\n const { eventChange } = host.constructor as typeof CDSRadioButton; // eslint-disable-line no-use-before-define\n (host as CDSRadioButton).checked = checked;\n this._radio.tabIndex = checked ? 0 : -1;\n host.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n checked,\n },\n })\n );\n }\n\n get tabIndex() {\n return this._radio.tabIndex;\n }\n\n set tabIndex(tabIndex) {\n this._radio.tabIndex = tabIndex;\n }\n\n get name() {\n return this._radio.name;\n }\n\n compareDocumentPosition(other: RadioButtonDelegate) {\n return this._radio.compareDocumentPosition(other._radio);\n }\n\n focus() {\n this._radio.focus();\n }\n}\n\n/**\n * Radio button.\n *\n * @element cds-radio-button\n * @fires cds-radio-button-changed - The custom event fired after this radio button changes its checked state.\n */\n@customElement(`${prefix}-radio-button`)\nclass CDSRadioButton extends HostListenerMixin(FocusMixin(LitElement)) {\n /**\n * The radio group manager associated with the radio button.\n */\n private _manager: RadioGroupManager | null = null;\n\n /**\n * The interface for `RadioGroupManager` for radio button.\n */\n private _radioButtonDelegate!: RadioButtonDelegate;\n\n /**\n * The hidden radio button.\n */\n @query('#input')\n private _inputNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on this element.\n */\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = () => {\n const { disabled, _radioButtonDelegate: radioButtonDelegate } = this;\n if (radioButtonDelegate && !disabled && !this.disabledItem) {\n this.checked = true;\n if (this._manager) {\n this._manager.select(radioButtonDelegate, this.readOnly);\n }\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSRadioButton).eventChange,\n {\n bubbles: true,\n composed: true,\n detail: {\n checked: this.checked,\n },\n }\n )\n );\n }\n };\n\n /**\n * Handles `keydown` event on this element.\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n const { orientation, _radioButtonDelegate: radioButtonDelegate } = this;\n const manager = this._manager;\n if (radioButtonDelegate && manager) {\n const navigationDirectionForKey =\n orientation === RADIO_BUTTON_ORIENTATION.HORIZONTAL\n ? navigationDirectionForKeyHorizontal\n : navigationDirectionForKeyVertical;\n const navigationDirection = navigationDirectionForKey[event.key];\n if (navigationDirection) {\n manager.select(\n manager.navigate(radioButtonDelegate, navigationDirection),\n this.readOnly\n );\n }\n if (event.key === ' ' || event.key === 'Enter') {\n manager.select(radioButtonDelegate, this.readOnly);\n }\n }\n };\n\n /**\n * `true` if this radio button should be checked.\n */\n @property({ type: Boolean, reflect: true })\n checked = false;\n\n /**\n * `true` if the radio button is used in a data table\n */\n @property({ type: Boolean, reflect: true, attribute: 'data-table' })\n dataTable = false;\n\n /**\n * `true` if the radio button item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabledItem = false;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the label should be hidden.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'label-position' })\n labelPosition = RADIO_BUTTON_LABEL_POSITION.RIGHT;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The `name` attribute for the `<input>` for selection.\n */\n @property()\n name!: string;\n\n /**\n * The orientation to lay out radio buttons.\n */\n @property({ reflect: true })\n orientation = RADIO_BUTTON_ORIENTATION.HORIZONTAL;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n readOnly = false;\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n value!: string;\n\n disconnectedCallback() {\n if (this._manager) {\n this._manager.delete(this._radioButtonDelegate);\n }\n super.disconnectedCallback();\n }\n\n firstUpdated() {\n this._radioButtonDelegate = new RadioButtonDelegate(this._inputNode);\n }\n\n updated(changedProperties) {\n const {\n _inputNode: inputNode,\n _radioButtonDelegate: radioButtonDelegate,\n name,\n } = this;\n if (changedProperties.has('checked') || changedProperties.has('name')) {\n if (this.readOnly) {\n this.checked = false;\n }\n if (!this._manager) {\n this._manager = RadioGroupManager.get(\n this.getRootNode({ composed: true }) as Document\n );\n }\n const { _manager: manager } = this;\n if (changedProperties.has('name')) {\n manager!.delete(radioButtonDelegate, changedProperties.get('name'));\n if (name) {\n manager!.add(radioButtonDelegate);\n }\n }\n inputNode.setAttribute(\n 'tabindex',\n !name || !manager || !manager.shouldBeFocusable(radioButtonDelegate)\n ? '-1'\n : '0'\n );\n }\n }\n\n render() {\n const {\n checked,\n hideLabel,\n labelText,\n name,\n value,\n disabled,\n disabledItem,\n } = this;\n const innerLabelClasses = classMap({\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n return html`\n <input\n id=\"input\"\n type=\"radio\"\n class=\"${prefix}--radio-button\"\n .checked=${checked}\n ?disabled=\"${disabledItem || disabled}\"\n name=${ifDefined(name)}\n value=${ifDefined(value)} />\n <label for=\"input\" class=\"${prefix}--radio-button__label\">\n <span class=\"${prefix}--radio-button__appearance\"></span>\n <span class=\"${innerLabelClasses}\"><slot>${labelText}</slot></span>\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this radio button changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-radio-button-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSRadioButton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/search/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC;AAClB,OAAO,mBAAmB,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 './search';\nimport './search-skeleton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/search/search-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAItD;;GAEG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC;;OAEG;IAEH,IAAI,aAAqB;IAEzB,MAAM;IAON,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"search-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 { INPUT_SIZE } from '../text-input/text-input';\nimport styles from './search.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of search.\n */\n@customElement(`${prefix}-search-skeleton`)\nclass CDSSearchSkeleton extends LitElement {\n /**\n * The search box size. Corresponds to the attribute with the same name.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n render() {\n return html`\n <span class=\"${prefix}--label\"></span>\n <div class=\"${prefix}--search-input\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSearchSkeleton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/search/search.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMtD;;;;;;;;;;GAUG;AACH,cACM,SAAU,SAAQ,cAAoD;IAC1E;;OAEG;IACH,OAAO,CAAC,YAAY;IAgBpB;;OAEG;IACH,OAAO,CAAC,4BAA4B;IAoBpC;;OAEG;IAGH,OAAO,CAAC,aAAa;IAMrB;;;OAGG;IAGH,OAAO,CAAC,YAAY;IAMpB;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAQzB,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;;OAGG;IAEH,YAAY,SAAS;IAErB;;OAEG;IAEH,oBAAoB,SAAM;IAE1B;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,QAAQ,UAAS;IAGjB,aAAa,UAAS;IAEtB;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,WAAW,SAAY;IAEvB;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,KAAK,SAAM;IAEX,MAAM;IA8DN;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"search.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 Close16 from '@carbon/icons/lib/close/16';\nimport Search16 from '@carbon/icons/lib/search/16';\nimport { prefix } from '../../globals/settings';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport FocusMixin from '../../globals/mixins/focus';\nimport FormMixin from '../../globals/mixins/form';\nimport { INPUT_SIZE } from '../text-input/text-input';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport styles from './search.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Search box.\n *\n * @element cds-search\n * @csspart search-icon The search icon.\n * @csspart label-text The label text.\n * @csspart input The input box.\n * @csspart close-button The close button.\n * @csspart close-icon The close icon.\n * @fires cds-search-input - The custom event fired after the search content is changed upon a user gesture.\n */\n@customElement(`${prefix}-search`)\nclass CDSSearch extends HostListenerMixin(FocusMixin(FormMixin(LitElement))) {\n /**\n * Handles `input` event on the `<input>` in the shadow DOM.\n */\n private _handleInput(event: Event) {\n const { target } = event;\n const { value } = target as HTMLInputElement;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSearch).eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value,\n },\n })\n );\n this.value = value;\n }\n\n /**\n * Handles `click` event on the button to clear search box content.\n */\n private _handleClearInputButtonClick() {\n if (this.value) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSearch).eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: '',\n },\n })\n );\n this.value = '';\n\n // set focus on back to input once search is cleared\n const input = this.shadowRoot!.querySelector('input');\n (input as HTMLElement).focus();\n }\n }\n\n /**\n * Handles `focus` event on the button when the button can be expanded\n */\n @HostListener('focus')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleExpand() {\n if (this.expandable && !this.expanded) {\n this.setAttribute('expanded', '');\n }\n }\n\n /**\n * Handles `focusout` event on the component to be closed after being expanded\n * Will not close if there is a value typed within.\n */\n @HostListener('focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClose() {\n if (this.expandable && this.expanded && !this.value) {\n this.removeAttribute('expanded');\n }\n }\n\n /**\n * Handler for @slotchange, will only be ran if user sets an element under the \"icon\" slot.\n *\n * @private\n */\n private _handleSlotChange() {\n const icon = this.querySelector('svg');\n icon?.setAttribute('part', 'search-icon');\n icon?.setAttribute('class', `${prefix}--search-magnifier-icon`);\n icon?.setAttribute('role', `img`);\n this.hasCustomIcon = true;\n }\n\n _handleFormdata(event: Event) {\n const { formData } = event as any; // TODO: Wait for `FormDataEvent` being available in `lib.dom.d.ts`\n const { disabled, name, value } = this;\n if (!disabled) {\n formData.append(name, value);\n }\n }\n\n /**\n * Specify an optional value for the autocomplete property on the underlying <input>,\n * defaults to \"off\"\n */\n @property({ attribute: 'autocomplete' })\n autoComplete = 'off';\n\n /**\n * Specify a label to be read by screen readers on the \"close\" button\n */\n @property({ attribute: 'close-button-label-text' })\n closeButtonLabelText = '';\n\n /**\n * `true` if the search box should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the search bar can be expandable\n */\n @property({ type: Boolean, reflect: true })\n expandable = false;\n\n /**\n * `true` if the expandable search has been expanded\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n @property({ type: Boolean })\n hasCustomIcon = false;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The form name in `FormData`.\n */\n @property()\n name = '';\n\n /**\n * Specify the role for the underlying <input>, defaults to searchbox\n */\n @property()\n role = '';\n\n /**\n * The placeholder text.\n */\n @property()\n placeholder = 'Search';\n\n /**\n * The search box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * The `<input>` name.\n */\n @property()\n type = '';\n\n /**\n * The value.\n */\n @property({ type: String })\n value = '';\n\n render() {\n const {\n autoComplete,\n closeButtonLabelText,\n disabled,\n hasCustomIcon,\n labelText,\n name,\n placeholder,\n role,\n type,\n value = '',\n _handleInput: handleInput,\n _handleClearInputButtonClick: handleClearInputButtonClick,\n _handleSlotChange: handleSlotChange,\n } = this;\n const clearClasses = classMap({\n [`${prefix}--search-close`]: true,\n [`${prefix}--search-close--hidden`]: !this.value,\n });\n return html`\n <div class=\"${prefix}--search-magnifier\">\n <slot name=\"icon\" @slotchange=${handleSlotChange}>\n ${hasCustomIcon\n ? html``\n : html`${Search16({\n part: 'search-icon',\n class: `${prefix}--search-magnifier-icon`,\n role: 'img',\n })}`}\n </slot>\n </div>\n <label for=\"input\" part=\"label-text\" class=\"${prefix}--label\">\n <slot>${labelText}</slot>\n </label>\n <input\n autocomplete=\"${autoComplete}\"\n id=\"input\"\n part=\"input\"\n type=\"${ifNonEmpty(type)}\"\n class=\"${prefix}--search-input\"\n ?disabled=\"${disabled}\"\n name=\"${ifNonEmpty(name)}\"\n placeholder=\"${ifNonEmpty(placeholder)}\"\n role=\"${role}\"\n .value=\"${value}\"\n @input=\"${handleInput}\" />\n <button\n part=\"close-button\"\n class=\"${clearClasses}\"\n @click=\"${handleClearInputButtonClick}\"\n type=\"button\"\n aria-label=\"${closeButtonLabelText}\">\n ${Close16({\n part: 'close-icon',\n 'aria-label': closeButtonLabelText,\n role: 'img',\n })}\n </button>\n `;\n }\n\n /**\n * The name of the custom event fired after the search content is changed upon a user gesture.\n */\n static get eventInput() {\n return `${prefix}-search-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 CDSSearch;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/select/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC;AAClB,OAAO,eAAe,CAAC;AACvB,OAAO,qBAAqB,CAAC;AAC7B,OAAO,mBAAmB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './select';\nimport './select-item';\nimport './select-item-group';\nimport './select-skeleton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/select/select-item-group.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC;;;;GAIG;AACH,cACM,kBAAmB,SAAQ,UAAU;IACzC;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,SAAM;CACZ;AAED,eAAe,kBAAkB,CAAC","file":"select-item-group.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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * An option group in select box.\n *\n * @element cds-select-item-group\n */\n@customElement(`${prefix}-select-item-group`)\nclass CDSSelectItemGroup extends LitElement {\n /**\n * `true` to disable this option.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The label.\n */\n @property({ reflect: true })\n label = '';\n}\n\nexport default CDSSelectItemGroup;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/select/select-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC;;;;GAIG;AACH,cACM,aAAc,SAAQ,UAAU;IACpC;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,SAAM;CACZ;AAED,eAAe,aAAa,CAAC","file":"select-item.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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * An option in select box.\n *\n * @element cds-select-item\n */\n@customElement(`${prefix}-select-item`)\nclass CDSSelectItem extends LitElement {\n /**\n * `true` to disable this option.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The label. If this is not specified, the child text content is used.\n */\n @property({ reflect: true })\n label = '';\n\n /**\n * `true` to select this option.\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * The value.\n */\n @property({ reflect: true })\n value = '';\n}\n\nexport default CDSSelectItem;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/select/select-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC;;OAEG;IAEH,SAAS,UAAS;IAElB,MAAM;IASN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"select-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, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './select.scss';\n\n/**\n * Skeleton of number input.\n */\n@customElement(`${prefix}-select-skeleton`)\nclass CDSSelectSkeleton 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}--select ${prefix}--skeleton\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSelectSkeleton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/select/select.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAUvC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAItD;;;;;;;GAOG;AACH,cACM,SAAU,SAAQ,cAAqB;IAC3C;;OAEG;IACH,OAAO,CAAC,iBAAiB,CAAiC;IAE1D;;OAEG;IACH,OAAO,CAAC,qBAAqB,CAEf;IAEd;;OAEG;IAEH,OAAO,CAAC,WAAW,CAAqB;IAExC;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAepB;;;;;;OAMG;IACH,OAAO,CAAC,eAAe,CAErB;IAEF;;;OAGG;IACH,OAAO,CAAC,YAAY;IAyCpB,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;;OAGG;IACH,IAAI,MAAM,WAET;IAED;;OAEG;IACH,IAAI,OAAO,0BAEV;IAED;;OAEG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,EAAE,SAAM;IAER;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IACH,IAEI,QAAQ,YAEX;IAED;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,uBAAuB,SAAiC;IAExD;;OAEG;IACH,IACI,aAAa,WAEhB;IAED,IAAI,aAAa,CAAC,KAAK,QAAA,EAGtB;IAED;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IAEH,KAAK,SAAM;IAEX,iBAAiB;IAUjB,oBAAoB;IAQpB,OAAO,CAAC,iBAAiB,KAAA;IASzB,MAAM;IAsHN;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"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 { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport { prefix } from '../../globals/settings';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport FormMixin from '../../globals/mixins/form';\nimport { filter } from '../../globals/internal/collection-helpers';\nimport { INPUT_SIZE } from '../text-input/text-input';\nimport styles from './select.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Select box.\n *\n * @element cds-select\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}-select`)\nclass CDSSelect extends FormMixin(LitElement) {\n /**\n * The mutation observer DOM mutation.\n */\n private _observerMutation: MutationObserver | null = null;\n\n /**\n * The `value` for placeholder `<option>`.\n */\n private _placeholderItemValue = `__${prefix}-select-placeholder_${Math.random()\n .toString(36)\n .slice(2)}`;\n\n /**\n * The select box.\n */\n @query('select')\n private _selectNode!: HTMLSelectElement;\n\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n private _handleInput({ target }: Event) {\n const { value } = target as HTMLSelectElement;\n this.value = value;\n const { eventSelect } = this.constructor as typeof CDSSelect;\n this.dispatchEvent(\n new CustomEvent(eventSelect, {\n bubbles: true,\n composed: true,\n detail: {\n value,\n },\n })\n );\n }\n\n /**\n * Handles DOM mutation of `<cds-select-item>` or `<cds-select-item-group>` put in `<cds-select>`, or their changes.\n * In such event, `<cds-select>` creates the corresponding `<option>` and `<optgroup>`, respectively, into shadow DOM,\n * with `._renderItems()`.\n * Doing so allows the shadow DOM style of `<cds-select>` to control the style of the `<option>` and `<optgroup>`,\n * notably the disabled ones.\n */\n private _handleMutation = () => {\n this.requestUpdate();\n };\n\n /**\n * @param element The parent element containing pseudo `<optgroup>`/`<option>`.\n * @returns The template containing child `<optgroup>`/`<option>` that will be rendered to shadow DOM.\n */\n private _renderItems(element: CDSSelect | HTMLOptGroupElement) {\n const { selectorItem, selectorLeafItem } = this\n .constructor as typeof CDSSelect;\n // Harvests attributes from `<cds-select-item>` and `<cds-select-item-group>`.\n // Does not use properties to avoid delay in attribute to property mapping, which runs in custom element reaction cycle:\n // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions\n return html`\n ${filter(\n element.childNodes,\n (item) =>\n item.nodeType === Node.ELEMENT_NODE &&\n (item as Element).matches(selectorItem)\n ).map((item) => {\n const disabled = item.hasAttribute('disabled');\n const label = item.getAttribute('label');\n const selected = item.hasAttribute('selected');\n const value = item.getAttribute('value');\n const { textContent } = item;\n return item.matches(selectorLeafItem)\n ? html`\n <option\n class=\"${prefix}--select-option\"\n ?disabled=\"${disabled}\"\n label=\"${ifDefined(label ?? textContent)}\"\n ?selected=\"${selected}\"\n value=\"${ifDefined(value)}\">\n ${textContent}\n </option>\n `\n : html`\n <optgroup\n class=\"${prefix}--select-optgroup\"\n ?disabled=\"${disabled}\"\n label=\"${ifDefined(label)}\">\n ${this._renderItems(item)}\n </optgroup>\n `;\n })}\n `;\n }\n\n _handleFormdata(event: Event) {\n const { formData } = event as any; // TODO: Wait for `FormDataEvent` being available in `lib.dom.d.ts`\n const { disabled, name, value } = this;\n if (!disabled) {\n formData.append(name, value);\n }\n }\n\n /**\n * The count of child `<option>`s.\n * If the placeholder is in effect, it includes the `<option>` for the placeholder.\n */\n get length() {\n return this._selectNode.length;\n }\n\n /**\n * The child `<option>`s.\n */\n get options() {\n return this._selectNode.options;\n }\n\n /**\n * This form control's type.\n */\n get type() {\n return this._selectNode.type;\n }\n\n /**\n * Sets the select to be focussed automatically on page load. Defaults to false\n */\n @property({ type: Boolean })\n autofocus = false;\n\n /**\n * Controls the disabled state of the select\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText = '';\n\n /**\n * Specify whether the label should be hidden, or not\n */\n @property({ type: Boolean, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * ID to link the `label` and `select`\n */\n @property()\n id = '';\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * Specify if the currently value is warn.\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Message which is displayed if the value is warn.\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * Specify whether you want the inline version of this control\n */\n @property({ type: Boolean, reflect: true })\n inline = false;\n\n /**\n * `true` to enable multiple selection.\n */\n @property({ type: Boolean })\n // eslint-disable-next-line class-methods-use-this\n get multiple() {\n return false;\n }\n\n /**\n * Name for the select in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * Pattern to validate the select against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Value to display when the select has an empty `value`\n */\n @property({ reflect: true })\n placeholder = '';\n\n /**\n * Controls the readonly state of the select\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The special validity message for `required`.\n */\n @property({ attribute: 'required-validity-message' })\n requiredValidityMessage = 'Please fill out this field.';\n\n /**\n * The selected index.\n */\n @property({ type: Number })\n get selectedIndex() {\n return this._selectNode.selectedIndex;\n }\n\n set selectedIndex(value) {\n this._selectNode.selectedIndex = value;\n this.value = this._selectNode.value;\n }\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * The value of the text area.\n */\n @property({ reflect: true })\n value = '';\n\n connectedCallback() {\n super.connectedCallback();\n this._observerMutation = new MutationObserver(this._handleMutation);\n this._observerMutation.observe(this, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this._observerMutation) {\n this._observerMutation.disconnect();\n this._observerMutation = null;\n }\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('value')) {\n const { value, _placeholderItemValue: placeholderItemValue } = this;\n // Ensures setting the `value` after rendering child `<option>`s/`<optgroup>`s when there is a change in `value`,\n // given reflecting `value` requires child `<option>`s/`<optgroup>`s being there beforehand\n this._selectNode.value = !value ? placeholderItemValue : value;\n }\n }\n\n render() {\n const {\n disabled,\n helperText,\n hideLabel,\n inline,\n invalid,\n invalidText,\n labelText,\n placeholder,\n readonly,\n size,\n warn,\n warnText,\n value,\n _placeholderItemValue: placeholderItemValue,\n _handleInput: handleInput,\n } = this;\n\n const selectClasses = classMap({\n [`${prefix}--select`]: true,\n [`${prefix}--select--inline`]: inline,\n [`${prefix}--select--invalid`]: invalid,\n [`${prefix}--select--warning`]: warn,\n [`${prefix}--select--disabled`]: disabled,\n [`${prefix}--select--readonly`]: readonly,\n });\n\n const inputClasses = classMap({\n [`${prefix}--select-input`]: true,\n [`${prefix}--select-input--${size}`]: size,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: disabled,\n });\n\n const supplementalText = helperText\n ? html`\n <div class=\"${helperTextClasses}\">\n <slot name=\"helper-text\"> ${helperText} </slot>\n </div>\n `\n : null;\n\n const errorText =\n invalid || warn\n ? html` <div class=\"${prefix}--form-requirement\">\n ${invalid ? invalidText : warnText}\n </div>`\n : null;\n\n const input = html`\n <select\n id=\"input\"\n class=\"${inputClasses}\"\n ?disabled=\"${disabled}\"\n aria-readonly=\"${String(Boolean(readonly))}\"\n aria-invalid=\"${String(Boolean(invalid))}\"\n aria-describedby=\"${ifDefined(!invalid ? undefined : 'invalid-text')}\"\n @input=\"${handleInput}\">\n ${!placeholder || value\n ? undefined\n : html`\n <option\n disabled\n hidden\n class=\"${prefix}--select-option\"\n value=\"${placeholderItemValue}\"\n selected>\n ${placeholder}\n </option>\n `}\n ${this._renderItems(this)}\n </select>\n ${ChevronDown16({ class: `${prefix}--select__arrow` })}\n ${!invalid\n ? undefined\n : WarningFilled16({ class: `${prefix}--select__invalid-icon` })}\n ${!invalid && warn\n ? WarningAltFilled16({\n class: `${prefix}--select__invalid-icon ${prefix}--select__invalid-icon--warning`,\n })\n : null}\n `;\n\n return html`\n <div class=\"${selectClasses}\">\n ${!hideLabel\n ? html`<label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${labelText} </slot>\n </label>`\n : null}\n ${inline\n ? html`<div class=\"${prefix}--select-input--inline__wrapper\">\n <div\n class=\"${prefix}--select-input__wrapper\"\n ?data-invalid=\"${invalid}\">\n ${input}\n </div>\n ${errorText}\n </div>`\n : html`<div\n class=\"${prefix}--select-input__wrapper\"\n ?data-invalid=\"${invalid}\">\n ${input}\n </div> `}\n ${!inline && errorText ? errorText : supplementalText}\n </div>\n `;\n }\n\n /**\n * A selector selecting child pseudo `<optgroup>`/`<option>`.\n */\n static get selectorItem() {\n return `${prefix}-select-item-group,${prefix}-select-item`;\n }\n\n /**\n * A selector selecting child pseudo `<option>`.\n */\n static get selectorLeafItem() {\n return `${prefix}-select-item`;\n }\n\n /**\n * The name of the custom event fired after item is selected.\n */\n static get eventSelect() {\n return `${prefix}-select-selected`;\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 CDSSelect;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/skeleton-placeholder/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,wBAAwB,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 './skeleton-placeholder';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/skeleton-placeholder/skeleton-placeholder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,sBAAuB,SAAQ,UAAU;IAC7C,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,sBAAsB,CAAC","file":"skeleton-placeholder.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 './skeleton-placeholder.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton placeholder.\n *\n * @element cds-skeleton-placeholder\n */\n@customElement(`${prefix}-skeleton-placeholder`)\nclass CDSSkeletonPlaceholder extends LitElement {\n render() {\n return html` <div class=\"${prefix}--skeleton__placeholder\"></div> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSkeletonPlaceholder;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/skeleton-text/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,kBAAkB;IAC5B;;OAEG;IACH,OAAO,KAAK;IAEZ;;OAEG;IACH,OAAO,YAAY;CACpB","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 * Skeleton text types.\n */\nexport enum SKELETON_TEXT_TYPE {\n /**\n * Regular variant.\n */\n REGULAR = '',\n\n /**\n * Heading variant.\n */\n HEADING = 'heading',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/skeleton-text/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,iBAAiB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './skeleton-text';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/skeleton-text/skeleton-text.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAI5C,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAO9B;;;;GAIG;AACH,cACM,eAAgB,SAAQ,UAAU;IACtC;;OAEG;IAEH,IAAI,qBAA8B;IAElC;;OAEG;IAEH,KAAK,SAAU;IAEf;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,SAAS,SAAK;IAEd,MAAM;IA0BN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"skeleton-text.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 { SKELETON_TEXT_TYPE } from './defs';\nimport styles from './skeleton-text.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { SKELETON_TEXT_TYPE };\n\nfunction getRandomInt(min: number, max: number, n: number) {\n const randoms = [0.973051493507435, 0.15334737213558558, 0.5671034553053769];\n return Math.floor(randoms[n % 3] * (max - min + 1)) + min;\n}\n\n/**\n * Skeleton text.\n *\n * @element cds-skeleton-text\n */\n@customElement(`${prefix}-skeleton-text`)\nclass CDSSkeletonText extends LitElement {\n /**\n * The type of skeleton text.\n */\n @property({ reflect: true })\n type = SKELETON_TEXT_TYPE.REGULAR;\n\n /**\n * width (in px or %) of single line of text or max-width of paragraph lines\n */\n @property({ reflect: true })\n width = '100%';\n\n /**\n * will generate multiple lines of text\n */\n @property({ type: Boolean, reflect: true })\n paragraph = false;\n\n /**\n * the number of lines in a paragraph\n */\n @property({ type: Number, reflect: true })\n lineCount = 3;\n\n render() {\n const { paragraph, lineCount, type, width } = this;\n const classes = classMap({\n [`${prefix}--skeleton__text`]: true,\n [`${prefix}--skeleton__heading`]: type === SKELETON_TEXT_TYPE.HEADING,\n });\n if (paragraph) {\n const widthNum = parseInt(this.width, 10);\n const widthPx = this.width.includes('px');\n const widthPercent = this.width.includes('%');\n const lines = Array.apply(null, Array(lineCount));\n return html`${lines.map((_, i) => {\n const randomWidth =\n (widthPercent && `${getRandomInt(0, 75, i)}px`) ||\n (widthPx && `${getRandomInt(0, widthNum, i)}px`);\n const style =\n (widthPercent && `width: calc(${width} - ${randomWidth})`) ||\n (widthPx && `width: ${randomWidth}`) ||\n '';\n return html`<p class=\"${classes}\" style=\"${style}\"></p>`;\n })}`;\n }\n\n return html`<p class=\"${classes}\" style=\"width:${width}\"></p>`;\n }\n\n static styles = styles;\n}\n\nexport default CDSSkeletonText;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/skip-to-content/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,mBAAmB,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 './skip-to-content';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/skip-to-content/skip-to-content.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQvC;;;;GAIG;AACH,cACM,gBAAiB,SAAQ,qBAAsB;IACnD;;OAEG;IAEH,kBAAkB,SAA0B;IAE5C;;OAEG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,iBAAiB;IAOjB,MAAM;IASN,OAAO,CAAC,iBAAiB,KAAA;IAOzB,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC","file":"skip-to-content.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 { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './skip-to-content.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skip-to-content link.\n *\n * @element cds-skip-to-content\n */\n@customElement(`${prefix}-skip-to-content`)\nclass CDSSkipToContent extends FocusMixin(LitElement) {\n /**\n * The assistive text for the link,\n */\n @property({ attribute: 'link-assistive-text' })\n linkAssisstiveText = 'Skip to main content';\n\n /**\n * The skip link href.\n */\n @property()\n href?: string;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'navigation');\n }\n super.connectedCallback();\n }\n\n render() {\n const { linkAssisstiveText } = this;\n return html`\n <a class=\"${prefix}--skip-to-content\" href=\"${ifDefined(this.href)}\"\n ><slot>${linkAssisstiveText}</slot></a\n >\n `;\n }\n\n updated(changedProperties) {\n if (changedProperties.has('linkAssisstiveText')) {\n const { linkAssisstiveText } = this;\n this.setAttribute('aria-label', linkAssisstiveText);\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 CDSSkipToContent;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/slider/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC;AAClB,OAAO,gBAAgB,CAAC;AACxB,OAAO,mBAAmB,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 './slider';\nimport './slider-input';\nimport './slider-skeleton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/slider/slider-input.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUvC;;;;;GAKG;AACH,cACM,cAAe,SAAQ,mBAAsB;IACjD;;OAEG;IACH,OAAO,CAAC,IAAI,CAAS;IAErB;;OAEG;IACH,OAAO,CAAC,IAAI,CAAO;IAEnB;;OAEG;IACH,OAAO,CAAC,KAAK,CAAO;IAEpB;;OAEG;IACH,OAAO,CAAC,aAAa;IAYrB;;OAEG;IACH,OAAO,CAAC,YAAY;IAapB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,IAAI,UAAS;IAEb;;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,IAAI,SAAY;IAEhB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf;;OAEG;IAEH,QAAQ,UAAS;IAEjB,MAAM;IAgDN;;OAEG;IACH,MAAM,KAAK,cAAc,WAExB;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"slider-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 { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.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 FocusMixin from '../../globals/mixins/focus';\nimport styles from './slider.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * The `<input>` box for slider.\n *\n * @element cds-slider-input\n * @fires cds-slider-input-changed - The custom event fired after the value is changed by user gesture.\n */\n@customElement(`${prefix}-slider-input`)\nclass CDSSliderInput extends FocusMixin(LitElement) {\n /**\n * The internal value of `max` property.\n */\n private _max = '100';\n\n /**\n * The internal value of `min` property.\n */\n private _min = '0';\n\n /**\n * The internal value of `step` property.\n */\n private _step = '1';\n\n /**\n * Handles `change` event to fire a normalized custom event.\n */\n private _handleChange({ target }: Event) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSliderInput).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: Number((target as HTMLInputElement).value),\n },\n })\n );\n }\n\n /**\n * Handles `input` event to fire a normalized custom event.\n */\n private _handleInput({ target }: Event) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSliderInput).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: Number((target as HTMLInputElement).value),\n intermediate: true,\n },\n })\n );\n }\n\n /**\n * `true` if the input should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * true to specify if the control is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * true to specify if the control should display warn icon and text.\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * The maximum value.\n */\n @property({ type: Number, reflect: true })\n get max() {\n return this._max.toString();\n }\n\n set max(value) {\n const { max: oldMax } = this;\n this._max = value;\n this.requestUpdate('max', oldMax);\n }\n\n /**\n * The minimum value.\n */\n @property({ type: Number, reflect: true })\n get min() {\n return this._min.toString();\n }\n\n set min(value) {\n const { min: oldMin } = this;\n this._min = value;\n this.requestUpdate('min', oldMin);\n }\n\n /**\n * The snapping step of the value.\n */\n @property({ type: Number, reflect: true })\n get step() {\n return this._step.toString();\n }\n\n set step(value) {\n const { step: oldStep } = this;\n this._step = value;\n this.requestUpdate('step', oldStep);\n }\n\n /**\n * The type of the `<input>`.\n */\n @property()\n type = 'number';\n\n /**\n * The value.\n */\n @property({ type: Number })\n value!: number;\n\n /**\n * true` if the input should be readonly.\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n render() {\n const {\n disabled,\n max,\n min,\n readonly,\n step,\n type,\n value,\n invalid,\n warn,\n _handleChange: handleChange,\n _handleInput: handleInput,\n } = this;\n\n const classes = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--slider-text-input`]: true,\n [`${prefix}--text-input--invalid`]: invalid,\n [`${prefix}--slider-text-input--warn`]: warn,\n });\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--slider__invalid-icon`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--slider__invalid-icon ${prefix}--slider__invalid-icon--warning`,\n });\n\n return html`\n <input\n ?disabled=\"${disabled}\"\n ?data-invalid=\"${invalid}\"\n type=\"${ifDefined(type)}\"\n class=\"${classes}\"\n max=\"${max}\"\n min=\"${min}\"\n ?readonly=\"${ifDefined(readonly)}\"\n step=\"${step}\"\n .value=\"${value}\"\n @change=\"${handleChange}\"\n @input=\"${handleInput}\" />\n ${invalid ? html`${invalidIcon}` : null}\n ${warn ? html`${warnIcon}` : null}\n `;\n }\n\n /**\n * A selector that will return the parent slider.\n */\n static get selectorParent() {\n return `${prefix}-slider`;\n }\n\n /**\n * The name of the custom event fired after the value is changed by user gesture.\n */\n static get eventChange() {\n return `${prefix}-slider-input-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSSliderInput;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/slider/slider-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC,MAAM;IAeN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"slider-skeleton.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './slider.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of slider.\n */\n@customElement(`${prefix}-slider-skeleton`)\nclass CDSSliderSkeleton extends LitElement {\n render() {\n return html`\n <span class=\"${prefix}--label ${prefix}--skeleton\"></span>\n <div class=\"${prefix}--slider-container ${prefix}--skeleton\">\n <span class=\"${prefix}--slider__range-label\"></span>\n <div class=\"${prefix}--slider\">\n <div class=\"${prefix}--slider__track\"></div>\n <div class=\"${prefix}--slider__filled-track\"></div>\n <div class=\"${prefix}--slider__thumb\"></div>\n </div>\n <span class=\"${prefix}--slider__range-label\"></span>\n </div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSliderSkeleton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/slider/slider.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BvC;;;;;;;;GAQG;AACH,cACM,SAAU,SAAQ,cAAoD;IAC1E;;OAEG;IACH,OAAO,CAAC,IAAI,CAAS;IAErB;;OAEG;IACH,OAAO,CAAC,IAAI,CAAO;IAEnB;;OAEG;IACH,OAAO,CAAC,KAAK,CAAO;IAEpB;;OAEG;IACH,OAAO,CAAC,eAAe,CAAO;IAE9B;;OAEG;IACH,OAAO,CAAC,+BAA+B,CAEvB;IAEhB;;OAEG;IACH,OAAO,CAAC,SAAS,CAAS;IAE1B;;;OAGG;IACH,OAAO,KAAK,KAAK,GAOhB;IAED,OAAO,KAAK,KAAK,QAShB;IAED;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAkB;IAEpC;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAkB;IAEpC;;OAEG;IACH,iBAAiB;IAIjB,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;OAEG;IACH,OAAO,CAAC,cAAc;IAwCtB;;OAEG;IACH,OAAO,CAAC,UAAU;IAKlB;;OAEG;IACH,OAAO,CAAC,YAAY;IA0BpB;;;;OAIG;IAGH,OAAO,CAAC,kBAAkB,CAKxB;IAEF;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IA2B9B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAcd;IAEF;;OAEG;IAGH,OAAO,CAAC,kBAAkB,CAaxB;IAEF;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,QAAQ,SAAM;IAEd;;;OAGG;IAEH,aAAa,QAAS,MAAM,YAAY,MAAM,GAAG,SAAS,YACpC;IAEtB;;;OAGG;IAEH,aAAa,QAAS,MAAM,YAAY,MAAM,GAAG,SAAS,YACpC;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;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IACH,IACI,IAAI,WAEP;IAED,IAAI,IAAI,CAAC,KAAK,QAAA,EAIb;IAED;;;OAGG;IACH,IACI,cAAc,WAEjB;IAED,IAAI,cAAc,CAAC,KAAK,QAAA,EAIvB;IAED;;OAEG;IAEH,KAAK,MAAC;IAEN;;OAEG;IAEH,OAAO,MAAC;IAER,iBAAiB,CAAC,KAAK,KAAA;IAcvB,iBAAiB;IAUjB,oBAAoB;IAQpB,YAAY,CAAC,iBAAiB,KAAA;IAqD9B,MAAM;IA0FN;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"slider.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 throttle from 'lodash-es/throttle';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport FormMixin from '../../globals/mixins/form';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport CDSSliderInput from './slider-input';\nimport styles from './slider.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\ninterface Cancelable {\n cancel(): void;\n}\n\n/**\n * The direction to move the thumb, associated with key symbols.\n */\nconst THUMB_DIRECTION = {\n Left: -1,\n ArrowLeft: -1,\n Up: -1,\n ArrowUp: -1,\n Right: 1,\n ArrowRight: 1,\n Down: 1,\n ArrowDown: 1,\n};\n\n/**\n * Slider.\n *\n * @element cds-slider\n * @slot label-text - The label text.\n * @slot max-text - The text for maximum value.\n * @slot min-text - The text for minimum value.\n * @fires cds-slider-changed - The custom event fired after the value is changed by user gesture.\n */\n@customElement(`${prefix}-slider`)\nclass CDSSlider extends HostListenerMixin(FormMixin(FocusMixin(LitElement))) {\n /**\n * The internal value of `max` property.\n */\n private _max = '100';\n\n /**\n * The internal value of `min` property.\n */\n private _min = '0';\n\n /**\n * The internal value of `step` property.\n */\n private _step = '1';\n\n /**\n * The internal value of `stepMultiplier` property.\n */\n private _stepMultiplier = '4';\n\n /**\n * The handle for the throttled listener of `pointermove` event.\n */\n private _throttledHandlePointermoveImpl:\n | (((event: PointerEvent) => void) & Cancelable)\n | null = null;\n\n /**\n * `true` if dragging of thumb is in progress.\n */\n private _dragging = false;\n\n /**\n * The rate of the thumb position in the track.\n * When we try to set a new value, we adjust the value considering `step` property.\n */\n private get _rate() {\n const { max, min, value } = this;\n // Copes with out-of-range value coming programmatically or from `<cds-slider-input>`\n return (\n (Math.min(Number(max), Math.max(Number(min), value)) - Number(min)) /\n (Number(max) - Number(min))\n );\n }\n\n private set _rate(rate: number) {\n const { max, min, step } = this;\n this.value =\n Number(min) +\n Math.round(\n ((Number(max) - Number(min)) * Math.min(1, Math.max(0, rate))) /\n Number(step)\n ) *\n Number(step);\n }\n\n /**\n * The DOM element of the thumb.\n */\n @query('#thumb')\n private _thumbNode!: HTMLDivElement;\n\n /**\n * The DOM element of the track.\n */\n @query('#track')\n private _trackNode!: HTMLDivElement;\n\n /**\n * Handles `click` event on the `<label>` to focus on the thumb.\n */\n _handleClickLabel() {\n this._thumbNode?.focus();\n }\n\n _handleFormdata(event: Event) {\n const { formData } = event as any; // TODO: Wait for `FormDataEvent` being available in `lib.dom.d.ts`\n const { disabled, name, value } = this;\n if (!disabled) {\n formData.append(name, String(value));\n }\n }\n\n /**\n * Handles `keydown` event on the thumb to increase/decrease the value.\n */\n private _handleKeydown({ key, shiftKey }: KeyboardEvent) {\n if (!this.disabled) {\n if (key in THUMB_DIRECTION) {\n const {\n max: rawMax,\n min: rawMin,\n step: rawStep,\n stepMultiplier: rawstepMultiplier,\n value,\n } = this;\n const max = Number(rawMax);\n const min = Number(rawMin);\n const step = Number(rawStep);\n const stepMultiplier = Number(rawstepMultiplier);\n const diff =\n (!shiftKey ? step : (max - min) / stepMultiplier) *\n THUMB_DIRECTION[key];\n const stepCount = (value + diff) / step;\n // Snaps to next\n this.value = Math.min(\n max,\n Math.max(\n min,\n (diff >= 0 ? Math.floor(stepCount) : Math.ceil(stepCount)) * step\n )\n );\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n intermediate: false,\n },\n })\n );\n }\n }\n }\n\n /**\n * Handles `pointerdown` event on the thumb to start dragging.\n */\n private _startDrag() {\n this._dragging = true;\n this._thumbNode.style.touchAction = 'none';\n }\n\n /**\n * Handles `pointerdown` event on the track to update the thumb position and the value as necessary.\n */\n private _handleClick(event: PointerEvent) {\n if (!this.disabled) {\n const { _trackNode: trackNode } = this;\n const isRtl =\n trackNode\n .ownerDocument!.defaultView!.getComputedStyle(trackNode)\n .getPropertyValue('direction') === 'rtl';\n const thumbPosition = event.clientX;\n const { left: trackLeft, width: trackWidth } =\n trackNode.getBoundingClientRect();\n this._rate =\n (isRtl\n ? trackLeft + trackWidth - thumbPosition\n : thumbPosition - trackLeft) / trackWidth;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n },\n })\n );\n }\n }\n\n /**\n * Handles `pointermove` to update the thumb position and the value as necessary.\n *\n * @param event The event.\n */\n @HostListener('document:pointermove')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handlePointermove = (event: PointerEvent) => {\n const { disabled, _dragging: dragging } = this;\n if (!disabled && dragging) {\n this._throttledHandlePointermoveImpl!(event);\n }\n };\n\n /**\n * Updates thumb position and value upon user's `pointermove` gesture.\n *\n * @param event The event.\n */\n private _handlePointermoveImpl(event: PointerEvent) {\n const { disabled, _dragging: dragging, _trackNode: trackNode } = this;\n if (!disabled && dragging) {\n const isRtl =\n trackNode\n .ownerDocument!.defaultView!.getComputedStyle(trackNode)\n .getPropertyValue('direction') === 'rtl';\n const thumbPosition = event.clientX;\n const { left: trackLeft, width: trackWidth } =\n this._trackNode.getBoundingClientRect();\n this._rate =\n (isRtl\n ? trackLeft + trackWidth - thumbPosition\n : thumbPosition - trackLeft) / trackWidth;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n intermediate: true,\n },\n })\n );\n }\n }\n\n /**\n * Handles `pointerup` and `pointerleave` event to finishing dragging.\n */\n private _endDrag = () => {\n if (this._dragging) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n },\n })\n );\n this._dragging = false;\n this._thumbNode.style.touchAction = '';\n }\n };\n\n /**\n * Handles `${prefix}-slider-input-changed` event to update the value.\n */\n @HostListener('eventChangeInput')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleChangeInput = ({ detail }: CustomEvent) => {\n const { intermediate, value } = detail;\n this.value = value;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value,\n intermediate,\n },\n })\n );\n };\n\n /**\n * `true` if the check box should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * \ttrue to specify if the control is required.\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * \tWhether the slider should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The label associated with the maximum value.\n */\n @property({ attribute: 'max-label', reflect: true })\n maxLabel = '';\n\n /**\n * The label associated with the minimum value.\n */\n @property({ attribute: 'min-label', reflect: true })\n minLabel = '';\n\n /**\n * The formatter for the text for maximum value.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatMaxText = (max: string, maxLabel: string | undefined) =>\n `${max}${maxLabel}`;\n\n /**\n * The formatter for the text for min/max value.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatMinText = (min: string, minLabel: string | undefined) =>\n `${min}${minLabel}`;\n\n /**\n * The maximum value.\n */\n @property({ type: Number, reflect: true })\n get max() {\n return this._max.toString();\n }\n\n set max(value) {\n const { max: oldMax } = this;\n this._max = value;\n this.requestUpdate('max', oldMax);\n }\n\n /**\n * The minimum value.\n */\n @property({ type: Number, reflect: true })\n get min() {\n return this._min.toString();\n }\n\n set min(value) {\n const { min: oldMin } = this;\n this._min = value;\n this.requestUpdate('min', oldMin);\n }\n\n /**\n * The form name.\n */\n @property()\n name!: string;\n\n /**\n * true to specify if the control is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * true to specify if the control should display warn icon and text.\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * The snapping step of the value.\n */\n @property({ type: Number, reflect: true })\n get step() {\n return this._step.toString();\n }\n\n set step(value) {\n const { step: oldStep } = this;\n this._step = value;\n this.requestUpdate('step', oldStep);\n }\n\n /**\n * A value determining how much the value should increase/decrease by Shift+arrow keys,\n * which will be `(max - min) / stepMultiplier`.\n */\n @property({ type: Number, reflect: true, attribute: 'step-multiplier' })\n get stepMultiplier() {\n return this._stepMultiplier.toString();\n }\n\n set stepMultiplier(value) {\n const { stepMultiplier: oldstepMultiplier } = this;\n this._stepMultiplier = value;\n this.requestUpdate('stepMultiplier', oldstepMultiplier);\n }\n\n /**\n * The value.\n */\n @property({ type: Number })\n value;\n\n /**\n * is slide input valid\n */\n @property({ type: Boolean })\n isValid;\n\n _getInputValidity(input) {\n if (this.invalid) {\n return false;\n }\n\n if (\n input?.valueAsNumber > Number(this.max) ||\n input?.valueAsNumber < Number(this.min)\n ) {\n return false;\n }\n return true;\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (!this._throttledHandlePointermoveImpl) {\n this._throttledHandlePointermoveImpl = throttle(\n this._handlePointermoveImpl,\n 10\n );\n }\n }\n\n disconnectedCallback() {\n if (this._throttledHandlePointermoveImpl) {\n this._throttledHandlePointermoveImpl.cancel();\n this._throttledHandlePointermoveImpl = null;\n }\n super.disconnectedCallback();\n }\n\n shouldUpdate(changedProperties) {\n const input = this.querySelector(\n (this.constructor as typeof CDSSlider).selectorInput\n ) as CDSSliderInput;\n if (changedProperties.has('disabled')) {\n if (input) {\n input.disabled = this.disabled;\n }\n if (this.disabled) {\n this._dragging = false;\n }\n }\n if (changedProperties.has('readonly')) {\n if (input) {\n input.readonly = this.readonly;\n }\n if (this.readonly) {\n this._dragging = false;\n }\n }\n if (input) {\n ['max', 'min', 'step', 'value'].forEach((name) => {\n if (changedProperties.has(name)) {\n input[name] = this[name];\n }\n });\n\n if (\n changedProperties.has('value') ||\n changedProperties.has('invalid') ||\n changedProperties.has('warn') ||\n changedProperties.has('readonly')\n ) {\n const innerInput = input?.shadowRoot?.querySelector('input');\n\n this.isValid = this._getInputValidity(innerInput);\n\n if (!this.readonly && !this.isValid) {\n input.invalid = true;\n } else {\n input.invalid = false;\n }\n\n if (!this.readonly && !this.invalid && this.warn && this.isValid) {\n input.warn = true;\n } else {\n input.warn = false;\n }\n }\n }\n return true;\n }\n\n render() {\n const {\n disabled,\n formatMaxText,\n formatMinText,\n labelText,\n max,\n min,\n maxLabel,\n minLabel,\n readonly,\n invalidText,\n isValid,\n warn,\n warnText,\n value,\n _rate: rate,\n _handleClickLabel: handleClickLabel,\n _handleKeydown: handleKeydown,\n _handleClick: handleClick,\n _startDrag: startDrag,\n _endDrag: endDrag,\n } = this;\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: disabled,\n });\n const sliderClasses = classMap({\n [`${prefix}--slider`]: true,\n [`${prefix}--slider--disabled`]: disabled,\n [`${prefix}--slider--readonly`]: readonly,\n });\n\n return html`\n <label class=\"${labelClasses}\" @click=\"${handleClickLabel}\">\n <slot name=\"label-text\">${labelText}</slot>\n </label>\n <div class=\"${prefix}--slider-container\">\n <span class=\"${prefix}--slider__range-label\">\n <slot name=\"min-text\">${formatMinText(min, minLabel)}</slot>\n </span>\n <div\n @keydown=\"${handleKeydown}\"\n @click=\"${handleClick}\"\n @pointerup=\"${endDrag}\"\n @pointerleave=\"${endDrag}\"\n class=\"${sliderClasses}\"\n tabindex=\"-1\"\n role=\"presentation\">\n <div\n id=\"thumb\"\n class=\"${prefix}--slider__thumb\"\n role=\"slider\"\n tabindex=\"${!readonly ? 0 : -1}\"\n aria-valuemax=\"${max}\"\n aria-valuemin=\"${min}\"\n aria-valuenow=\"${value}\"\n style=\"left: ${rate * 100}%\"\n @pointerdown=\"${startDrag}\"></div>\n <div id=\"track\" class=\"${prefix}--slider__track\"></div>\n <div class=\"${prefix}-ce--slider__filled-track-container\">\n <div\n class=\"${prefix}--slider__filled-track\"\n style=\"transform: translate(0%, -50%) scaleX(${rate})\"></div>\n </div>\n </div>\n <span class=\"${prefix}--slider__range-label\">\n <slot name=\"max-text\">${formatMaxText(max, maxLabel)}</slot>\n </span>\n <slot></slot>\n </div>\n\n ${!readonly && !isValid\n ? html`\n <div\n class=\"${prefix}--slider__validation-msg ${prefix}--slider__validation-msg--invalid ${prefix}--form-requirement\">\n ${invalidText}\n </div>\n `\n : null}\n ${!readonly && warn && isValid\n ? html`<div\n class=\"${prefix}--slider__validation-msg ${prefix}--form-requirement\">\n ${warnText}\n </div>`\n : null}\n `;\n }\n\n /**\n * A selector that will return the `<input>` box got entering the value directly.\n */\n static get selectorInput() {\n return `${prefix}-slider-input`;\n }\n\n /**\n * The name of the custom event fired after the value is changed by user gesture.\n */\n static get eventChange() {\n return `${prefix}-slider-changed`;\n }\n\n /**\n * The name of the custom event fired after the value is changed in `<cds-slider-input>` by user gesture.\n */\n static get eventChangeInput() {\n return `${prefix}-slider-input-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSSlider;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/stack/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,UAAU,eAAe;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,UAIzB,CAAC","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\nimport { spacing } from '@carbon/layout';\n\n/**\n * Stack orientation\n */\nexport enum STACK_ORIENTATION {\n /**\n * Default vertical orientation.\n */\n VERTICAL = 'vertical',\n\n /**\n * Horizontal.\n */\n HORIZONTAL = 'horizontal',\n}\n\n/**\n * The steps in the spacing scale\n *\n * @type {Array<number>}\n */\nexport const SPACING_STEPS = Array.from({ length: spacing.length - 1 }).map(\n (_, step) => {\n return step + 1;\n }\n);\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/stack/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,SAAS,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 './stack';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/stack/stack.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC;AAE5C;;;;;;;;;;;;;GAaG;AACH,cACM,QAAS,SAAQ,UAAU;IAC/B;;OAEG;IAEH,WAAW,oBAA8B;IAEzC;;;OAGG;IAEH,GAAG,MAAC;IAEJ;;OAEG;IAEH,iBAAiB,UAAS;IAE1B,OAAO,CAAC,iBAAiB,KAAA;IAYzB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,QAAQ,CAAC","file":"stack.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './stack.scss';\nimport { STACK_ORIENTATION, SPACING_STEPS } from './defs';\n\nexport { STACK_ORIENTATION, SPACING_STEPS };\n\n/**\n * The Stack component is a useful layout utility in a component-based model.\n * This allows components to not use margin and instead delegate the\n * responsibility of positioning and layout to parent components.\n *\n * In the case of the Stack component, it uses the spacing scale from the\n * Design Language in order to determine how much space there should be between\n * items rendered by the Stack component. It also supports a custom `gap` prop\n * which will allow a user to provide a custom value for the gap of the layout.\n *\n * This component supports both horizontal and vertical orientations.\n *\n * @element cds-stack\n */\n@customElement(`${prefix}-stack`)\nclass CDSStack extends LitElement {\n /**\n * Specify the orientation of them items in the Stack\n */\n @property({ type: String, reflect: true })\n orientation = STACK_ORIENTATION.VERTICAL;\n\n /**\n * Provide either a custom value or a step from the spacing scale to be used\n * as the gap in the layout\n */\n @property({ type: SPACING_STEPS || String, reflect: true })\n gap;\n\n /**\n * Turn on when passing in custom value to 'gap' attribute (ie. gap=\"2rem\")\n */\n @property({ type: Boolean, attribute: 'use-custom-gap-value' })\n useCustomGapValue = false;\n\n updated(changedProperties) {\n if (changedProperties.has('gap')) {\n if (this.useCustomGapValue) {\n this.style.setProperty(`--${prefix}-stack-gap`, `${this.gap}`);\n } else {\n const oldGapValue = changedProperties.get('gap');\n this.classList.remove(`${prefix}--stack-scale-${oldGapValue}`);\n this.classList.add(`${prefix}--stack-scale-${this.gap}`);\n }\n }\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSStack;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,mBAAmB,CAAC;AAC3B,OAAO,wBAAwB,CAAC;AAChC,OAAO,wBAAwB,CAAC;AAChC,OAAO,wBAAwB,CAAC;AAChC,OAAO,+BAA+B,CAAC;AACvC,OAAO,wCAAwC,CAAC;AAChD,OAAO,8BAA8B,CAAC;AACtC,OAAO,uBAAuB,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 './structured-list';\nimport './structured-list-body';\nimport './structured-list-cell';\nimport './structured-list-head';\nimport './structured-list-header-cell';\nimport './structured-list-header-cell-skeleton';\nimport './structured-list-header-row';\nimport './structured-list-row';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/structured-list-body.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,qBAAsB,SAAQ,UAAU;IAC5C,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"structured-list-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 { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './structured-list.scss';\n\n/**\n * Structured list body.\n *\n * @element cds-structured-list-body\n */\n@customElement(`${prefix}-structured-list-body`)\nclass CDSStructuredListBody extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'rowgroup');\n }\n super.connectedCallback();\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListBody;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/structured-list-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,qBAAsB,SAAQ,UAAU;IAC5C,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"structured-list-cell.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 { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Structured list cell.\n *\n * @element cds-structured-list-cell\n */\n@customElement(`${prefix}-structured-list-cell`)\nclass CDSStructuredListCell extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'cell');\n }\n super.connectedCallback();\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListCell;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/structured-list-head.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,uBAAwB,SAAQ,UAAU;IAC9C,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,uBAAuB,CAAC","file":"structured-list-head.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './structured-list.scss';\n\n/**\n * Structured list header.\n *\n * @element cds-structured-list-head\n */\n@customElement(`${prefix}-structured-list-head`)\nclass CDSStructuredListHeader extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'rowgroup');\n }\n super.connectedCallback();\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListHeader;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/structured-list-header-cell-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,mCAAoC,SAAQ,UAAU;IAC1D,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mCAAmC,CAAC","file":"structured-list-header-cell-skeleton.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of structured list header cell.\n */\n@customElement(`${prefix}-structured-list-header-cell-skeleton`)\nclass CDSStructuredListHeaderCellSkeleton extends LitElement {\n render() {\n return html` <span></span> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListHeaderCellSkeleton;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/structured-list-header-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,2BAA4B,SAAQ,UAAU;IAClD,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,2BAA2B,CAAC","file":"structured-list-header-cell.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 { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Structured list header cell.\n *\n * @element cds-structured-list-header-cell\n */\n@customElement(`${prefix}-structured-list-header-cell`)\nclass CDSStructuredListHeaderCell extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'columnheader');\n }\n super.connectedCallback();\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListHeaderCell;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/structured-list-header-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;GAIG;AACH,cACM,0BAA2B,SAAQ,UAAU;IACjD;;;OAGG;IAEH,aAAa,SAAM;IAEnB,iBAAiB;IAOjB,MAAM;IAYN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,0BAA0B,CAAC","file":"structured-list-header-row.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './structured-list.scss';\n\n/**\n * Structured list header row.\n *\n * @element cds-structured-list-header-row\n */\n@customElement(`${prefix}-structured-list-header-row`)\nclass CDSStructuredListHeaderRow extends LitElement {\n /**\n * The `name` attribute for the `<input>` for selection.\n * If present, this structured list header row will show its selectable version of the UI.\n */\n @property({ attribute: 'selection-name' })\n selectionName = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'row');\n }\n super.connectedCallback();\n }\n\n render() {\n // We could look up in DOM for `${prefix}-structured-list[hasSelection]`,\n // but uses `hasSelection` prop to utilize attribute change callback\n if (this.selectionName) {\n return html`\n <slot></slot>\n <div class=\"${prefix}--structured-list-th\"></div>\n `;\n }\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListHeaderRow;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["components/structured-list/structured-list-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEvC;;;;GAIG;AACH,cACM,oBAAqB,SAAQ,yBAA6B;IAC9D;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAkC;IAElD;;OAEG;IACH,OAAO,CAAC,oBAAoB,CAAkD;IAE9E;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAoB;IAEtC;;OAEG;IAGH,OAAO,CAAC,YAAY,CAQlB;IAEF;;OAEG;IAGH,OAAO,CAAC,cAAc,CAcpB;IAEF;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,aAAa,SAAM;IAEnB;;OAEG;IAEH,cAAc,SAAM;IAEpB;;OAEG;IAEH,kBAAkB,SAAM;IAExB,iBAAiB;IAgBjB,oBAAoB;IAOpB,OAAO,CAAC,iBAAiB,KAAA;IAuBzB,MAAM;IA0BN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,oBAAoB,CAAC","file":"structured-list-row.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 { ifDefined } from 'lit/directives/if-defined.js';\nimport CheckmarkFilled16 from '@carbon/icons/lib/checkmark--filled/16';\nimport { prefix } from '../../globals/settings';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport RadioGroupManager, {\n NAVIGATION_DIRECTION,\n ManagedRadioButtonDelegate,\n} from '../../globals/internal/radio-group-manager';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Map of navigation direction by key.\n */\nconst navigationDirectionForKey = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * The interface for `RadioGroupManager` for structured list row.\n */\nclass StructuredListRowRadioButtonDelegate\n implements ManagedRadioButtonDelegate\n{\n /**\n * The structured list row to target.\n */\n private _row: CDSStructuredListRow;\n\n constructor(row: CDSStructuredListRow) {\n this._row = row;\n }\n\n get checked() {\n return this._row.selected;\n }\n\n set checked(checked) {\n this._row.selected = checked;\n this._row.tabIndex = checked ? 0 : -1;\n }\n\n get tabIndex() {\n return this._row.tabIndex;\n }\n\n set tabIndex(tabIndex) {\n this._row.tabIndex = tabIndex;\n }\n\n get name() {\n return this._row.selectionName;\n }\n\n compareDocumentPosition(other: StructuredListRowRadioButtonDelegate) {\n return this._row.compareDocumentPosition(other._row);\n }\n\n focus() {\n this._row.focus();\n }\n}\n\n/**\n * Structured list row.\n *\n * @element cds-structured-list-row\n */\n@customElement(`${prefix}-structured-list-row`)\nclass CDSStructuredListRow extends HostListenerMixin(LitElement) {\n /**\n * The radio group manager associated with the radio button.\n */\n private _manager: RadioGroupManager | null = null;\n\n /**\n * The interface for `RadioGroupManager` for structured list row.\n */\n private _radioButtonDelegate = new StructuredListRowRadioButtonDelegate(this);\n\n /**\n * The hidden radio button.\n */\n @query('#input')\n private _inputNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on this element.\n */\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = () => {\n const { _inputNode: inputNode } = this;\n if (inputNode) {\n this.selected = true;\n if (this._manager) {\n this._manager.select(this._radioButtonDelegate);\n }\n }\n };\n\n /**\n * Handles `keydown` event on this element.\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n const { _inputNode: inputNode } = this;\n const manager = this._manager;\n if (inputNode && manager) {\n const navigationDirection = navigationDirectionForKey[event.key];\n if (navigationDirection) {\n manager.select(\n manager.navigate(this._radioButtonDelegate, navigationDirection)\n );\n }\n if (event.key === ' ' || event.key === 'Enter') {\n manager.select(this._radioButtonDelegate);\n }\n }\n };\n\n /**\n * `true` if this structured list row should be selectable and selected.\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * The `name` attribute for the `<input>` for selection.\n * If present, this structured list row will be a selectable one.\n */\n @property({ attribute: 'selection-name' })\n selectionName = '';\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property({ attribute: 'selection-value' })\n selectionValue = '';\n\n /**\n * The content to put into the `<title>` attribute of the selection icon.\n */\n @property({ attribute: 'selection-icon-title' })\n selectionIconTitle = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'row');\n }\n super.connectedCallback();\n if (!this._manager) {\n this._manager = RadioGroupManager.get(\n this.getRootNode({ composed: true }) as Document\n );\n const { selectionName } = this;\n if (selectionName) {\n this._manager?.add(this._radioButtonDelegate);\n }\n }\n }\n\n disconnectedCallback() {\n if (this._manager) {\n this._manager.delete(this._radioButtonDelegate);\n }\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n const { _manager: manager, selectionName } = this;\n if (changedProperties.has('selectionName')) {\n if (manager) {\n manager.delete(\n this._radioButtonDelegate,\n changedProperties.get('selectionName')\n );\n if (selectionName) {\n manager.add(this._radioButtonDelegate);\n }\n }\n this.setAttribute(\n 'tabindex',\n !selectionName ||\n !manager ||\n !manager.shouldBeFocusable(this._radioButtonDelegate)\n ? '-1'\n : '0'\n );\n }\n }\n\n render() {\n const { selected, selectionName, selectionValue, selectionIconTitle } =\n this;\n if (selectionName) {\n // \"Selected\" style with `.${prefix}--structured-list-td` does not work somehow - Need investigation\n return html`\n <slot></slot>\n <input\n id=\"input\"\n type=\"radio\"\n class=\"${prefix}--structured-list-input ${prefix}--visually-hidden\"\n .checked=${selected}\n name=${selectionName}\n value=${ifDefined(selectionValue)} />\n <div\n class=\"${prefix}--structured-list-td ${prefix}--structured-list-cell\">\n ${CheckmarkFilled16({\n class: `${prefix}--structured-list-svg`,\n title: selectionIconTitle,\n })}\n </div>\n `;\n }\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListRow;\n"]}
|