@carbon/web-components 2.0.0-beta.0 → 2.0.0-beta.2
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 +5992 -3869
- package/es/components/breadcrumb/breadcrumb-skeleton.d.ts.map +1 -1
- package/es/components/breadcrumb/breadcrumb-skeleton.js.map +1 -1
- package/es/components/button/button-set.d.ts +2 -2
- package/es/components/button/button-set.d.ts.map +1 -1
- package/es/components/button/button-set.js +4 -4
- package/es/components/button/button-set.js.map +1 -1
- package/es/components/button/button-skeleton.d.ts +3 -3
- package/es/components/button/button-skeleton.d.ts.map +1 -1
- package/es/components/button/button-skeleton.js +6 -6
- package/es/components/button/button-skeleton.js.map +1 -1
- package/es/components/button/button.css.js +1 -1
- package/es/components/button/button.d.ts +5 -5
- package/es/components/button/button.d.ts.map +1 -1
- package/es/components/button/button.js +6 -6
- package/es/components/button/button.js.map +1 -1
- package/es/components/button/button.rtl.css.js +1 -1
- package/es/components/button/defs.d.ts +4 -0
- package/es/components/button/defs.d.ts.map +1 -1
- package/es/components/button/defs.js +1 -0
- package/es/components/button/defs.js.map +1 -1
- package/es/components/checkbox/checkbox-skeleton.d.ts +19 -0
- package/es/components/checkbox/checkbox-skeleton.d.ts.map +1 -0
- package/es/components/checkbox/checkbox-skeleton.js +55 -0
- package/es/components/checkbox/checkbox-skeleton.js.map +1 -0
- package/es/components/checkbox/checkbox.css.js +1 -1
- package/es/components/checkbox/checkbox.d.ts +21 -8
- package/es/components/checkbox/checkbox.d.ts.map +1 -1
- package/es/components/checkbox/checkbox.js +65 -17
- package/es/components/checkbox/checkbox.js.map +1 -1
- package/es/components/checkbox/checkbox.rtl.css.js +1 -1
- package/es/components/checkbox/index.d.ts +2 -1
- package/es/components/checkbox/index.d.ts.map +1 -1
- package/es/components/checkbox/index.js +2 -1
- package/es/components/checkbox/index.js.map +1 -1
- package/es/components/code-snippet/code-snippet.d.ts +0 -8
- package/es/components/code-snippet/code-snippet.d.ts.map +1 -1
- package/es/components/code-snippet/code-snippet.js +20 -56
- package/es/components/code-snippet/code-snippet.js.map +1 -1
- package/es/components/combo-box/combo-box-item.d.ts +3 -3
- package/es/components/combo-box/combo-box-item.d.ts.map +1 -1
- package/es/components/combo-box/combo-box-item.js +6 -6
- package/es/components/combo-box/combo-box-item.js.map +1 -1
- package/es/components/combo-box/combo-box.css.js +1 -1
- package/es/components/combo-box/combo-box.d.ts +11 -11
- package/es/components/combo-box/combo-box.d.ts.map +1 -1
- package/es/components/combo-box/combo-box.js +40 -19
- 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.css.js +1 -1
- package/es/components/content-switcher/content-switcher.rtl.css.js +1 -1
- package/es/components/copy/copy.d.ts +49 -0
- package/es/components/copy/copy.d.ts.map +1 -0
- package/es/components/copy/copy.js +183 -0
- package/es/components/copy/copy.js.map +1 -0
- package/es/components/copy-button/copy-button.css.js +1 -1
- package/es/components/copy-button/copy-button.d.ts +8 -53
- package/es/components/copy-button/copy-button.d.ts.map +1 -1
- package/es/components/copy-button/copy-button.js +22 -150
- package/es/components/copy-button/copy-button.js.map +1 -1
- 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-header-cell.d.ts.map +1 -1
- package/es/components/data-table/table-header-cell.js +2 -2
- package/es/components/data-table/table-header-cell.js.map +1 -1
- package/es/components/data-table/table-toolbar-search.d.ts +3 -3
- package/es/components/data-table/table-toolbar-search.d.ts.map +1 -1
- package/es/components/data-table/table-toolbar-search.js +3 -3
- package/es/components/data-table/table-toolbar-search.js.map +1 -1
- package/es/components/date-picker/date-picker-input-skeleton.d.ts +2 -2
- package/es/components/date-picker/date-picker-input-skeleton.d.ts.map +1 -1
- package/es/components/date-picker/date-picker-input-skeleton.js +4 -4
- package/es/components/date-picker/date-picker-input-skeleton.js.map +1 -1
- package/es/components/date-picker/date-picker-input.d.ts +38 -352
- package/es/components/date-picker/date-picker-input.d.ts.map +1 -1
- package/es/components/date-picker/date-picker-input.js +138 -97
- 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 +23 -3
- package/es/components/date-picker/date-picker.d.ts.map +1 -1
- package/es/components/date-picker/date-picker.js +100 -24
- package/es/components/date-picker/date-picker.js.map +1 -1
- package/es/components/date-picker/date-picker.rtl.css.js +1 -1
- package/es/components/date-picker/defs.d.ts +1 -14
- package/es/components/date-picker/defs.d.ts.map +1 -1
- package/es/components/date-picker/defs.js +1 -10
- package/es/components/date-picker/defs.js.map +1 -1
- package/es/components/date-picker/fix-events-plugin.d.ts +6 -6
- package/es/components/date-picker/fix-events-plugin.d.ts.map +1 -1
- package/es/components/date-picker/fix-events-plugin.js +8 -8
- package/es/components/date-picker/fix-events-plugin.js.map +1 -1
- package/es/components/date-picker/focus-plugin.d.ts +9 -9
- package/es/components/date-picker/focus-plugin.d.ts.map +1 -1
- package/es/components/date-picker/focus-plugin.js +17 -17
- package/es/components/date-picker/focus-plugin.js.map +1 -1
- package/es/components/date-picker/shadow-dom-events-plugin.d.ts +2 -2
- package/es/components/date-picker/shadow-dom-events-plugin.d.ts.map +1 -1
- package/es/components/date-picker/shadow-dom-events-plugin.js +5 -5
- package/es/components/date-picker/shadow-dom-events-plugin.js.map +1 -1
- package/es/components/date-picker/state-handshake-plugin.d.ts +2 -2
- package/es/components/date-picker/state-handshake-plugin.d.ts.map +1 -1
- package/es/components/date-picker/state-handshake-plugin.js.map +1 -1
- package/es/components/dropdown/defs.d.ts +16 -3
- package/es/components/dropdown/defs.d.ts.map +1 -1
- package/es/components/dropdown/defs.js +11 -2
- package/es/components/dropdown/defs.js.map +1 -1
- package/es/components/dropdown/dropdown-item.d.ts +2 -2
- package/es/components/dropdown/dropdown-item.d.ts.map +1 -1
- package/es/components/dropdown/dropdown-item.js +4 -4
- package/es/components/dropdown/dropdown-item.js.map +1 -1
- package/es/components/dropdown/dropdown-skeleton.d.ts +2 -2
- package/es/components/dropdown/dropdown-skeleton.d.ts.map +1 -1
- package/es/components/dropdown/dropdown-skeleton.js +4 -4
- package/es/components/dropdown/dropdown-skeleton.js.map +1 -1
- package/es/components/dropdown/dropdown.css.js +1 -1
- package/es/components/dropdown/dropdown.d.ts +48 -21
- package/es/components/dropdown/dropdown.d.ts.map +1 -1
- package/es/components/dropdown/dropdown.js +156 -65
- package/es/components/dropdown/dropdown.js.map +1 -1
- package/es/components/dropdown/dropdown.rtl.css.js +1 -1
- package/es/components/file-uploader/defs.d.ts +6 -10
- package/es/components/file-uploader/defs.d.ts.map +1 -1
- package/es/components/file-uploader/defs.js +3 -4
- package/es/components/file-uploader/defs.js.map +1 -1
- package/es/components/file-uploader/demo-file-uploader.d.ts +33 -10
- package/es/components/file-uploader/demo-file-uploader.d.ts.map +1 -1
- package/es/components/file-uploader/demo-file-uploader.js +108 -27
- package/es/components/file-uploader/demo-file-uploader.js.map +1 -1
- package/es/components/file-uploader/file-uploader-button.d.ts +396 -0
- package/es/components/file-uploader/file-uploader-button.d.ts.map +1 -0
- package/es/components/file-uploader/file-uploader-button.js +295 -0
- package/es/components/file-uploader/file-uploader-button.js.map +1 -0
- package/es/components/file-uploader/file-uploader-drop-container.d.ts +389 -0
- package/es/components/file-uploader/file-uploader-drop-container.d.ts.map +1 -0
- package/es/components/file-uploader/file-uploader-drop-container.js +274 -0
- package/es/components/file-uploader/file-uploader-drop-container.js.map +1 -0
- package/es/components/file-uploader/file-uploader-item.d.ts +7 -11
- package/es/components/file-uploader/file-uploader-item.d.ts.map +1 -1
- package/es/components/file-uploader/file-uploader-item.js +35 -45
- package/es/components/file-uploader/file-uploader-item.js.map +1 -1
- package/es/components/file-uploader/file-uploader-skeleton.d.ts +22 -0
- package/es/components/file-uploader/file-uploader-skeleton.d.ts.map +1 -0
- package/es/components/file-uploader/file-uploader-skeleton.js +50 -0
- package/es/components/file-uploader/file-uploader-skeleton.js.map +1 -0
- package/es/components/file-uploader/file-uploader.css.js +1 -1
- package/es/components/file-uploader/file-uploader.d.ts +17 -8
- package/es/components/file-uploader/file-uploader.d.ts.map +1 -1
- package/es/components/file-uploader/file-uploader.js +71 -24
- package/es/components/file-uploader/file-uploader.js.map +1 -1
- package/es/components/file-uploader/file-uploader.rtl.css.js +1 -1
- package/es/components/file-uploader/index.d.ts +4 -2
- package/es/components/file-uploader/index.d.ts.map +1 -1
- package/es/components/file-uploader/index.js +4 -2
- package/es/components/file-uploader/index.js.map +1 -1
- package/es/components/icon-button/defs.d.ts +64 -0
- package/es/components/icon-button/defs.d.ts.map +1 -0
- package/es/components/icon-button/defs.js +34 -0
- package/es/components/icon-button/defs.js.map +1 -0
- package/es/components/icon-button/icon-button.css.js +12 -0
- package/es/components/icon-button/icon-button.d.ts +50 -0
- package/es/components/icon-button/icon-button.d.ts.map +1 -0
- package/es/components/icon-button/icon-button.js +176 -0
- package/es/components/icon-button/icon-button.js.map +1 -0
- package/es/components/icon-button/icon-button.rtl.css.js +12 -0
- package/es/components/icon-button/index.d.ts +11 -0
- package/es/components/icon-button/index.d.ts.map +1 -0
- package/es/components/icon-button/index.js +11 -0
- package/es/components/icon-button/index.js.map +1 -0
- package/es/components/inline-loading/inline-loading.d.ts +6 -2
- package/es/components/inline-loading/inline-loading.d.ts.map +1 -1
- package/es/components/inline-loading/inline-loading.js +20 -5
- package/es/components/inline-loading/inline-loading.js.map +1 -1
- package/es/components/layer/layer.css.js +1 -1
- package/es/components/layer/layer.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/list/ordered-list.d.ts +3 -3
- package/es/components/list/ordered-list.d.ts.map +1 -1
- package/es/components/list/ordered-list.js +6 -6
- package/es/components/list/ordered-list.js.map +1 -1
- package/es/components/list/unordered-list.d.ts +2 -2
- package/es/components/list/unordered-list.d.ts.map +1 -1
- package/es/components/list/unordered-list.js +5 -5
- package/es/components/list/unordered-list.js.map +1 -1
- package/es/components/loading/loading.css.js +1 -1
- package/es/components/loading/loading.d.ts +2 -2
- package/es/components/loading/loading.d.ts.map +1 -1
- package/es/components/loading/loading.js +4 -4
- package/es/components/loading/loading.js.map +1 -1
- package/es/components/loading/loading.rtl.css.js +1 -1
- package/es/components/modal/modal-footer-button.d.ts +3 -3
- package/es/components/modal/modal-footer-button.d.ts.map +1 -1
- package/es/components/modal/modal-footer-button.js +6 -6
- package/es/components/modal/modal-footer-button.js.map +1 -1
- package/es/components/modal/modal-footer.d.ts.map +1 -1
- package/es/components/modal/modal-footer.js +1 -1
- package/es/components/modal/modal-footer.js.map +1 -1
- package/es/components/modal/modal.css.js +1 -1
- package/es/components/modal/modal.d.ts.map +1 -1
- package/es/components/modal/modal.js +2 -2
- package/es/components/modal/modal.js.map +1 -1
- package/es/components/modal/modal.rtl.css.js +1 -1
- package/es/components/multi-select/multi-select-item.d.ts +3 -3
- package/es/components/multi-select/multi-select-item.d.ts.map +1 -1
- package/es/components/multi-select/multi-select-item.js +6 -6
- package/es/components/multi-select/multi-select-item.js.map +1 -1
- package/es/components/multi-select/multi-select.css.js +1 -1
- package/es/components/multi-select/multi-select.d.ts +9 -9
- package/es/components/multi-select/multi-select.d.ts.map +1 -1
- package/es/components/multi-select/multi-select.js +17 -17
- 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.d.ts +21 -0
- package/es/components/notification/actionable-notification-button.d.ts.map +1 -0
- package/es/components/notification/actionable-notification-button.js +56 -0
- package/es/components/notification/actionable-notification-button.js.map +1 -0
- package/es/components/notification/actionable-notification.css.js +12 -0
- package/es/components/notification/actionable-notification.d.ts +370 -0
- package/es/components/notification/actionable-notification.d.ts.map +1 -0
- package/es/components/notification/actionable-notification.js +281 -0
- package/es/components/notification/actionable-notification.js.map +1 -0
- package/es/components/notification/actionable-notification.rtl.css.js +12 -0
- package/es/components/notification/defs.d.ts +17 -1
- package/es/components/notification/defs.d.ts.map +1 -1
- package/es/components/notification/defs.js +3 -0
- package/es/components/notification/defs.js.map +1 -1
- package/es/components/notification/index.d.ts +2 -0
- package/es/components/notification/index.d.ts.map +1 -1
- package/es/components/notification/index.js +2 -0
- package/es/components/notification/index.js.map +1 -1
- package/es/components/notification/inline-notification.css.js +1 -1
- package/es/components/notification/inline-notification.d.ts +8 -8
- package/es/components/notification/inline-notification.d.ts.map +1 -1
- package/es/components/notification/inline-notification.js +23 -18
- package/es/components/notification/inline-notification.js.map +1 -1
- 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.d.ts +4 -4
- package/es/components/notification/toast-notification.d.ts.map +1 -1
- package/es/components/notification/toast-notification.js +7 -7
- package/es/components/notification/toast-notification.js.map +1 -1
- package/es/components/notification/toast-notification.rtl.css.js +1 -1
- package/es/components/number-input/index.d.ts +2 -1
- package/es/components/number-input/index.d.ts.map +1 -1
- package/es/components/number-input/index.js +2 -1
- package/es/components/number-input/index.js.map +1 -1
- package/es/components/number-input/number-input-skeleton.d.ts +2 -2
- package/es/components/number-input/number-input-skeleton.d.ts.map +1 -1
- package/es/components/number-input/number-input-skeleton.js +4 -4
- package/es/components/number-input/number-input-skeleton.js.map +1 -1
- package/es/components/number-input/number-input.css.js +1 -1
- package/es/components/number-input/number-input.d.ts +12 -25
- package/es/components/number-input/number-input.d.ts.map +1 -1
- package/es/components/number-input/number-input.js +85 -106
- 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/pagination/pagination.css.js +1 -1
- package/es/components/pagination/pagination.rtl.css.js +1 -1
- package/es/components/popover/defs.d.ts +63 -0
- package/es/components/popover/defs.d.ts.map +1 -0
- package/es/components/popover/defs.js +28 -0
- package/es/components/popover/defs.js.map +1 -0
- package/es/components/popover/index.d.ts +12 -0
- package/es/components/popover/index.d.ts.map +1 -0
- package/es/components/popover/index.js +12 -0
- package/es/components/popover/index.js.map +1 -0
- package/es/components/popover/popover-content.d.ts +45 -0
- package/es/components/popover/popover-content.d.ts.map +1 -0
- package/es/components/popover/popover-content.js +141 -0
- package/es/components/popover/popover-content.js.map +1 -0
- package/es/components/popover/popover.css.js +12 -0
- package/es/components/popover/popover.d.ts +54 -0
- package/es/components/popover/popover.d.ts.map +1 -0
- package/es/components/popover/popover.js +201 -0
- package/es/components/popover/popover.js.map +1 -0
- package/es/components/popover/popover.rtl.css.js +12 -0
- package/es/components/progress-bar/defs.d.ts +57 -0
- package/es/components/progress-bar/defs.d.ts.map +1 -0
- package/es/components/progress-bar/defs.js +38 -0
- package/es/components/progress-bar/defs.js.map +1 -0
- package/es/components/progress-bar/index.d.ts +11 -0
- package/es/components/progress-bar/index.d.ts.map +1 -0
- package/es/components/progress-bar/index.js +11 -0
- package/es/components/progress-bar/index.js.map +1 -0
- package/es/components/progress-bar/progress-bar.css.js +12 -0
- package/es/components/progress-bar/progress-bar.d.ts +57 -0
- package/es/components/progress-bar/progress-bar.d.ts.map +1 -0
- package/es/components/progress-bar/progress-bar.js +260 -0
- package/es/components/progress-bar/progress-bar.js.map +1 -0
- package/es/components/progress-bar/progress-bar.rtl.css.js +12 -0
- 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/radio-button/radio-button.css.js +1 -1
- package/es/components/radio-button/radio-button.rtl.css.js +1 -1
- package/es/components/search/search-skeleton.d.ts +3 -3
- package/es/components/search/search-skeleton.d.ts.map +1 -1
- package/es/components/search/search-skeleton.js +6 -6
- package/es/components/search/search-skeleton.js.map +1 -1
- package/es/components/search/search.css.js +1 -1
- package/es/components/search/search.d.ts +361 -19
- package/es/components/search/search.d.ts.map +1 -1
- package/es/components/search/search.js +136 -29
- package/es/components/search/search.js.map +1 -1
- package/es/components/search/search.rtl.css.js +1 -1
- package/es/components/select/index.d.ts +2 -1
- package/es/components/select/index.d.ts.map +1 -1
- package/es/components/select/index.js +2 -1
- package/es/components/select/index.js.map +1 -1
- package/es/components/select/select-item-group.d.ts +2 -2
- package/es/components/select/select-item-group.d.ts.map +1 -1
- package/es/components/select/select-item-group.js +4 -4
- package/es/components/select/select-item-group.js.map +1 -1
- package/es/components/select/select-item.d.ts +2 -2
- package/es/components/select/select-item.d.ts.map +1 -1
- package/es/components/select/select-item.js +4 -4
- package/es/components/select/select-item.js.map +1 -1
- package/es/components/select/select-skeleton.d.ts +23 -0
- package/es/components/select/select-skeleton.d.ts.map +1 -0
- package/es/components/select/select-skeleton.js +72 -0
- package/es/components/select/select-skeleton.js.map +1 -0
- package/es/components/select/select.css.js +1 -1
- package/es/components/select/select.d.ts +29 -331
- package/es/components/select/select.d.ts.map +1 -1
- package/es/components/select/select.js +151 -74
- 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.d.ts +2 -2
- package/es/components/skeleton-placeholder/skeleton-placeholder.d.ts.map +1 -1
- package/es/components/skeleton-placeholder/skeleton-placeholder.js +4 -4
- package/es/components/skeleton-placeholder/skeleton-placeholder.js.map +1 -1
- package/es/components/skeleton-text/defs.d.ts +2 -6
- package/es/components/skeleton-text/defs.d.ts.map +1 -1
- package/es/components/skeleton-text/defs.js +1 -2
- package/es/components/skeleton-text/defs.js.map +1 -1
- package/es/components/skeleton-text/skeleton-text.css.js +1 -1
- package/es/components/skeleton-text/skeleton-text.d.ts +2 -2
- package/es/components/skeleton-text/skeleton-text.d.ts.map +1 -1
- package/es/components/skeleton-text/skeleton-text.js +4 -4
- package/es/components/skeleton-text/skeleton-text.js.map +1 -1
- package/es/components/skeleton-text/skeleton-text.rtl.css.js +1 -1
- package/es/components/slider/slider-input.d.ts +11 -9
- package/es/components/slider/slider-input.d.ts.map +1 -1
- package/es/components/slider/slider-input.js +36 -18
- package/es/components/slider/slider-input.js.map +1 -1
- package/es/components/slider/slider-skeleton.d.ts +2 -2
- package/es/components/slider/slider-skeleton.d.ts.map +1 -1
- package/es/components/slider/slider-skeleton.js +4 -4
- package/es/components/slider/slider-skeleton.js.map +1 -1
- package/es/components/slider/slider.css.js +1 -1
- package/es/components/slider/slider.d.ts +35 -19
- package/es/components/slider/slider.d.ts.map +1 -1
- package/es/components/slider/slider.js +119 -54
- package/es/components/slider/slider.js.map +1 -1
- package/es/components/slider/slider.rtl.css.js +1 -1
- package/es/components/structured-list/structured-list-row.d.ts +3 -0
- package/es/components/structured-list/structured-list-row.d.ts.map +1 -1
- package/es/components/structured-list/structured-list.css.js +1 -1
- package/es/components/structured-list/structured-list.rtl.css.js +1 -1
- package/es/components/tabs/tabs.css.js +1 -1
- package/es/components/tabs/tabs.rtl.css.js +1 -1
- package/es/components/text-input/defs.d.ts +44 -0
- package/es/components/text-input/defs.d.ts.map +1 -0
- package/es/components/text-input/defs.js +36 -0
- package/es/components/text-input/defs.js.map +1 -0
- package/es/components/text-input/index.d.ts +12 -0
- package/es/components/text-input/index.d.ts.map +1 -0
- package/es/components/text-input/index.js +12 -0
- package/es/components/text-input/index.js.map +1 -0
- package/es/components/text-input/text-input-skeleton.d.ts +23 -0
- package/es/components/text-input/text-input-skeleton.d.ts.map +1 -0
- package/es/components/text-input/text-input-skeleton.js +72 -0
- package/es/components/text-input/text-input-skeleton.js.map +1 -0
- package/es/components/text-input/text-input.css.js +12 -0
- package/es/components/text-input/text-input.d.ts +786 -0
- package/es/components/text-input/text-input.d.ts.map +1 -0
- package/es/components/text-input/text-input.js +657 -0
- package/es/components/text-input/text-input.js.map +1 -0
- package/es/components/text-input/text-input.rtl.css.js +12 -0
- package/es/components/textarea/textarea-skeleton.d.ts +2 -2
- package/es/components/textarea/textarea-skeleton.d.ts.map +1 -1
- package/es/components/textarea/textarea-skeleton.js +4 -4
- package/es/components/textarea/textarea-skeleton.js.map +1 -1
- package/es/components/textarea/textarea.css.js +1 -1
- package/es/components/textarea/textarea.d.ts +6 -681
- package/es/components/textarea/textarea.d.ts.map +1 -1
- package/es/components/textarea/textarea.js +63 -197
- package/es/components/textarea/textarea.js.map +1 -1
- package/es/components/textarea/textarea.rtl.css.js +1 -1
- package/es/components/tile/expandable-tile.d.ts +3 -1
- package/es/components/tile/expandable-tile.d.ts.map +1 -1
- package/es/components/tile/expandable-tile.js +4 -0
- package/es/components/tile/expandable-tile.js.map +1 -1
- package/es/components/tile/tile.css.js +1 -1
- package/es/components/tile/tile.rtl.css.js +1 -1
- package/es/components/toggle-tip/toggletip.d.ts +2 -2
- package/es/components/toggle-tip/toggletip.d.ts.map +1 -1
- package/es/components/toggle-tip/toggletip.js +2 -2
- package/es/components/toggle-tip/toggletip.js.map +1 -1
- package/es/components/tooltip/index.d.ts +1 -3
- package/es/components/tooltip/index.d.ts.map +1 -1
- package/es/components/tooltip/index.js +1 -3
- package/es/components/tooltip/index.js.map +1 -1
- package/es/components/tooltip/tooltip-content.d.ts +20 -0
- package/es/components/tooltip/tooltip-content.d.ts.map +1 -0
- package/es/components/tooltip/tooltip-content.js +62 -0
- package/es/components/tooltip/tooltip-content.js.map +1 -0
- package/es/components/tooltip/tooltip.css.js +1 -1
- package/es/components/tooltip/tooltip.d.ts +36 -25
- package/es/components/tooltip/tooltip.d.ts.map +1 -1
- package/es/components/tooltip/tooltip.js +111 -124
- package/es/components/tooltip/tooltip.js.map +1 -1
- package/es/components/tooltip/tooltip.rtl.css.js +1 -1
- package/es/components/ui-shell/side-nav.d.ts.map +1 -1
- package/es/components/ui-shell/side-nav.js +1 -1
- package/es/components/ui-shell/side-nav.js.map +1 -1
- package/es/components-react/button/button-set.js +1 -1
- package/es/components-react/button/button-skeleton.d.ts +2 -2
- package/es/components-react/button/button-skeleton.js +1 -1
- package/es/components-react/button/button.d.ts +2 -2
- package/es/components-react/button/button.js +1 -1
- package/es/components-react/checkbox/checkbox-skeleton.d.ts +15 -0
- package/es/components-react/checkbox/checkbox-skeleton.js +21 -0
- package/es/components-react/checkbox/checkbox.d.ts +2 -2
- package/es/components-react/combo-box/combo-box-item.d.ts +2 -2
- package/es/components-react/combo-box/combo-box.d.ts +2 -2
- package/es/components-react/combo-box/combo-box.js +1 -5
- package/es/components-react/copy/copy.d.ts +14 -0
- package/es/components-react/copy/copy.js +23 -0
- package/es/components-react/copy-button/copy-button.d.ts +2 -2
- package/es/components-react/date-picker/date-picker-input-skeleton.d.ts +2 -2
- package/es/components-react/date-picker/date-picker-input.d.ts +2 -2
- package/es/components-react/date-picker/date-picker-input.js +0 -1
- package/es/components-react/date-picker/date-picker.d.ts +2 -2
- package/es/components-react/dropdown/dropdown-item.d.ts +2 -2
- package/es/components-react/dropdown/dropdown-skeleton.d.ts +2 -2
- package/es/components-react/dropdown/dropdown.d.ts +2 -2
- package/es/components-react/dropdown/dropdown.js +1 -1
- package/es/components-react/file-uploader/demo-file-uploader.d.ts +31 -7
- package/es/components-react/file-uploader/demo-file-uploader.js +30 -6
- package/es/components-react/file-uploader/file-uploader-button.d.ts +19 -0
- package/es/components-react/file-uploader/file-uploader-button.js +28 -0
- package/es/components-react/file-uploader/file-uploader-drop-container.d.ts +19 -0
- package/es/components-react/file-uploader/file-uploader-drop-container.js +28 -0
- package/es/components-react/file-uploader/file-uploader-item.d.ts +2 -2
- package/es/components-react/file-uploader/file-uploader-skeleton.d.ts +15 -0
- package/es/components-react/file-uploader/file-uploader-skeleton.js +21 -0
- package/es/components-react/file-uploader/file-uploader.d.ts +2 -2
- package/es/components-react/icon-button/defs.js +9 -0
- package/es/components-react/icon-button/icon-button.d.ts +14 -0
- package/es/components-react/icon-button/icon-button.js +24 -0
- package/es/components-react/inline-loading/inline-loading.d.ts +2 -2
- package/es/components-react/list/ordered-list.d.ts +2 -2
- package/es/components-react/list/unordered-list.d.ts +2 -2
- package/es/components-react/loading/loading.d.ts +2 -2
- package/es/components-react/modal/modal-footer-button.d.ts +2 -2
- package/es/components-react/multi-select/multi-select-item.d.ts +2 -2
- package/es/components-react/multi-select/multi-select.d.ts +2 -2
- package/es/components-react/multi-select/multi-select.js +1 -5
- package/es/components-react/notification/actionable-notification-button.d.ts +15 -0
- package/es/components-react/notification/actionable-notification-button.js +23 -0
- package/es/components-react/notification/actionable-notification.d.ts +14 -0
- package/es/components-react/notification/actionable-notification.js +23 -0
- package/es/components-react/notification/inline-notification.d.ts +2 -2
- package/es/components-react/notification/toast-notification.d.ts +2 -2
- package/es/components-react/number-input/number-input-skeleton.d.ts +2 -2
- package/es/components-react/number-input/number-input.d.ts +3 -3
- package/es/components-react/number-input/number-input.js +3 -6
- package/es/components-react/popover/defs.js +9 -0
- package/es/components-react/popover/index.js +8 -0
- package/es/components-react/popover/popover-content.d.ts +15 -0
- package/es/components-react/popover/popover-content.js +21 -0
- package/es/components-react/popover/popover.d.ts +15 -0
- package/es/components-react/popover/popover.js +21 -0
- package/es/components-react/progress-bar/defs.js +9 -0
- package/es/components-react/progress-bar/index.d.ts +14 -0
- package/es/components-react/progress-bar/index.js +8 -0
- package/es/components-react/progress-bar/progress-bar.d.ts +15 -0
- package/es/components-react/progress-bar/progress-bar.js +26 -0
- package/es/components-react/search/search-skeleton.d.ts +2 -2
- package/es/components-react/search/search.d.ts +2 -2
- package/es/components-react/search/search.js +0 -1
- package/es/components-react/select/select-item-group.d.ts +2 -2
- package/es/components-react/select/select-item.d.ts +2 -2
- package/es/components-react/select/select-skeleton.d.ts +15 -0
- package/es/components-react/select/select-skeleton.js +21 -0
- package/es/components-react/select/select.d.ts +2 -2
- package/es/components-react/select/select.js +0 -1
- package/es/components-react/skeleton-placeholder/skeleton-placeholder.d.ts +2 -2
- package/es/components-react/skeleton-text/skeleton-text.d.ts +2 -2
- package/es/components-react/slider/slider-input.d.ts +2 -2
- package/es/components-react/slider/slider-input.js +0 -1
- package/es/components-react/slider/slider-skeleton.d.ts +2 -2
- package/es/components-react/slider/slider.d.ts +2 -2
- package/es/components-react/text-input/defs.d.ts +14 -0
- package/es/components-react/text-input/defs.js +9 -0
- package/es/components-react/text-input/index.d.ts +14 -0
- package/es/components-react/text-input/index.js +8 -0
- package/es/components-react/text-input/text-input-skeleton.d.ts +15 -0
- package/es/components-react/text-input/text-input-skeleton.js +21 -0
- package/es/components-react/text-input/text-input.d.ts +15 -0
- package/es/components-react/text-input/text-input.js +22 -0
- package/es/components-react/textarea/textarea-skeleton.d.ts +2 -2
- package/es/components-react/textarea/textarea.d.ts +4 -5
- package/es/components-react/textarea/textarea.js +4 -3
- package/es/components-react/tooltip/tooltip-content.d.ts +14 -0
- package/es/components-react/tooltip/tooltip-content.js +23 -0
- package/es/components-react/tooltip/tooltip.d.ts +4 -5
- package/es/components-react/tooltip/tooltip.js +4 -2
- package/es/globals/mixins/form.d.ts +1 -1
- package/es/globals/mixins/form.d.ts.map +1 -1
- package/es/globals/mixins/form.js +2 -2
- package/es/globals/mixins/form.js.map +1 -1
- package/es/globals/mixins/host-listener.d.ts +1 -1
- package/es/globals/mixins/host-listener.d.ts.map +1 -1
- package/es/globals/mixins/host-listener.js +2 -2
- package/es/globals/mixins/host-listener.js.map +1 -1
- package/es/globals/mixins/on.d.ts +11 -0
- package/es/globals/mixins/on.d.ts.map +1 -0
- package/es/globals/mixins/on.js +17 -0
- package/es/globals/mixins/on.js.map +1 -0
- package/es/globals/settings.d.ts.map +1 -1
- package/es/globals/settings.js +1 -1
- package/es/globals/settings.js.map +1 -1
- package/es/globals/wrappers/createReactCustomElementType.d.ts +3 -3
- package/es/globals/wrappers/createReactCustomElementType.d.ts.map +1 -1
- package/es/globals/wrappers/createReactCustomElementType.js +4 -4
- package/es/globals/wrappers/createReactCustomElementType.js.map +1 -1
- package/es/icons/SLM/16.js +15 -0
- package/es/icons/SLM/20.js +15 -0
- package/es/icons/SLM/24.js +15 -0
- package/es/icons/SLM/32.js +15 -0
- package/es/icons/add/16.js +1 -1
- package/es/icons/apple--dash/16.js +15 -0
- package/es/icons/apple--dash/20.js +15 -0
- package/es/icons/apple--dash/24.js +15 -0
- package/es/icons/apple--dash/32.js +15 -0
- package/es/icons/arrows--vertical/16.js +1 -1
- package/es/icons/batch-job/16.js +15 -0
- package/es/icons/batch-job/20.js +15 -0
- package/es/icons/batch-job/24.js +15 -0
- package/es/icons/batch-job/32.js +15 -0
- package/es/icons/batch-job--step/16.js +15 -0
- package/es/icons/batch-job--step/20.js +15 -0
- package/es/icons/batch-job--step/24.js +15 -0
- package/es/icons/batch-job--step/32.js +15 -0
- package/es/icons/boot-volume/16.js +15 -0
- package/es/icons/boot-volume/20.js +15 -0
- package/es/icons/boot-volume/24.js +15 -0
- package/es/icons/boot-volume/32.js +15 -0
- package/es/icons/boot-volume--alt/16.js +15 -0
- package/es/icons/boot-volume--alt/20.js +15 -0
- package/es/icons/boot-volume--alt/24.js +15 -0
- package/es/icons/boot-volume--alt/32.js +15 -0
- package/es/icons/bottles--01/16.js +15 -0
- package/es/icons/bottles--01/20.js +15 -0
- package/es/icons/bottles--01/24.js +15 -0
- package/es/icons/bottles--01/32.js +15 -0
- package/es/icons/bottles--01--dash/16.js +15 -0
- package/es/icons/bottles--01--dash/20.js +15 -0
- package/es/icons/bottles--01--dash/24.js +15 -0
- package/es/icons/bottles--01--dash/32.js +15 -0
- package/es/icons/bottles--02/16.js +15 -0
- package/es/icons/bottles--02/20.js +15 -0
- package/es/icons/bottles--02/24.js +15 -0
- package/es/icons/bottles--02/32.js +15 -0
- package/es/icons/bottles--02--dash/16.js +15 -0
- package/es/icons/bottles--02--dash/20.js +15 -0
- package/es/icons/bottles--02--dash/24.js +15 -0
- package/es/icons/bottles--02--dash/32.js +15 -0
- package/es/icons/bottles--container/16.js +15 -0
- package/es/icons/bottles--container/20.js +15 -0
- package/es/icons/bottles--container/24.js +15 -0
- package/es/icons/bottles--container/32.js +15 -0
- package/es/icons/build-tool/16.js +15 -0
- package/es/icons/build-tool/20.js +15 -0
- package/es/icons/build-tool/24.js +15 -0
- package/es/icons/build-tool/32.js +15 -0
- package/es/icons/calendar--add/16.js +15 -0
- package/es/icons/calendar--add/20.js +15 -0
- package/es/icons/calendar--add/24.js +15 -0
- package/es/icons/calendar--add/32.js +15 -0
- package/es/icons/calendar--add--alt/16.js +15 -0
- package/es/icons/calendar--add--alt/20.js +15 -0
- package/es/icons/calendar--add--alt/24.js +15 -0
- package/es/icons/calendar--add--alt/32.js +15 -0
- package/es/icons/carbon--ui-builder/16.js +15 -0
- package/es/icons/carbon--ui-builder/20.js +15 -0
- package/es/icons/carbon--ui-builder/24.js +15 -0
- package/es/icons/carbon--ui-builder/32.js +15 -0
- package/es/icons/caret--down/16.js +1 -1
- package/es/icons/caret--up/16.js +1 -1
- package/es/icons/catalog--publish/16.js +15 -0
- package/es/icons/catalog--publish/20.js +15 -0
- package/es/icons/catalog--publish/24.js +15 -0
- package/es/icons/catalog--publish/32.js +15 -0
- package/es/icons/cics--db2-connection/16.js +15 -0
- package/es/icons/cics--db2-connection/20.js +15 -0
- package/es/icons/cics--db2-connection/24.js +15 -0
- package/es/icons/cics--db2-connection/32.js +15 -0
- package/es/icons/cics--program/16.js +15 -0
- package/es/icons/cics--program/20.js +15 -0
- package/es/icons/cics--program/24.js +15 -0
- package/es/icons/cics--program/32.js +15 -0
- package/es/icons/cics--sit/16.js +15 -0
- package/es/icons/cics--sit/20.js +15 -0
- package/es/icons/cics--sit/24.js +15 -0
- package/es/icons/cics--sit/32.js +15 -0
- package/es/icons/cics--sit-overrides/16.js +15 -0
- package/es/icons/cics--sit-overrides/20.js +15 -0
- package/es/icons/cics--sit-overrides/24.js +15 -0
- package/es/icons/cics--sit-overrides/32.js +15 -0
- package/es/icons/cics--transaction-server-zos/16.js +15 -0
- package/es/icons/cics--transaction-server-zos/20.js +15 -0
- package/es/icons/cics--transaction-server-zos/24.js +15 -0
- package/es/icons/cics--transaction-server-zos/32.js +15 -0
- package/es/icons/cics-region--alt/16.js +15 -0
- package/es/icons/cics-region--alt/20.js +15 -0
- package/es/icons/cics-region--alt/24.js +15 -0
- package/es/icons/cics-region--alt/32.js +15 -0
- package/es/icons/connect--reference/16.js +15 -0
- package/es/icons/connect--reference/20.d.ts +17 -0
- package/es/icons/connect--reference/20.js +15 -0
- package/es/icons/connect--reference/24.d.ts +17 -0
- package/es/icons/connect--reference/24.js +15 -0
- package/es/icons/connect--reference/32.d.ts +17 -0
- package/es/icons/connect--reference/32.js +15 -0
- package/es/icons/continuous-deployment/16.d.ts +17 -0
- package/es/icons/continuous-deployment/16.js +15 -0
- package/es/icons/continuous-deployment/20.d.ts +17 -0
- package/es/icons/continuous-deployment/20.js +15 -0
- package/es/icons/continuous-deployment/24.d.ts +17 -0
- package/es/icons/continuous-deployment/24.js +15 -0
- package/es/icons/continuous-deployment/32.d.ts +17 -0
- package/es/icons/continuous-deployment/32.js +15 -0
- package/es/icons/continuous-integration/16.d.ts +17 -0
- package/es/icons/continuous-integration/16.js +15 -0
- package/es/icons/continuous-integration/20.d.ts +17 -0
- package/es/icons/continuous-integration/20.js +15 -0
- package/es/icons/continuous-integration/24.d.ts +17 -0
- package/es/icons/continuous-integration/24.js +15 -0
- package/es/icons/continuous-integration/32.d.ts +17 -0
- package/es/icons/continuous-integration/32.js +15 -0
- package/es/icons/data-enrichment/16.js +1 -1
- package/es/icons/data-enrichment/20.js +1 -1
- package/es/icons/data-enrichment/24.js +1 -1
- package/es/icons/data-enrichment/32.js +1 -1
- package/es/icons/data-enrichment--add/16.d.ts +17 -0
- package/es/icons/data-enrichment--add/16.js +15 -0
- package/es/icons/data-enrichment--add/20.d.ts +17 -0
- package/es/icons/data-enrichment--add/20.js +15 -0
- package/es/icons/data-enrichment--add/24.d.ts +17 -0
- package/es/icons/data-enrichment--add/24.js +15 -0
- package/es/icons/data-enrichment--add/32.d.ts +17 -0
- package/es/icons/data-enrichment--add/32.js +15 -0
- package/es/icons/data-quality-definition/16.d.ts +17 -0
- package/es/icons/data-quality-definition/16.js +15 -0
- package/es/icons/data-quality-definition/20.d.ts +17 -0
- package/es/icons/data-quality-definition/20.js +15 -0
- package/es/icons/data-quality-definition/24.d.ts +17 -0
- package/es/icons/data-quality-definition/24.js +15 -0
- package/es/icons/data-quality-definition/32.d.ts +17 -0
- package/es/icons/data-quality-definition/32.js +15 -0
- package/es/icons/data-volume/16.d.ts +17 -0
- package/es/icons/data-volume/16.js +15 -0
- package/es/icons/data-volume/20.d.ts +17 -0
- package/es/icons/data-volume/20.js +15 -0
- package/es/icons/data-volume/24.d.ts +17 -0
- package/es/icons/data-volume/24.js +15 -0
- package/es/icons/data-volume/32.d.ts +17 -0
- package/es/icons/data-volume/32.js +15 -0
- package/es/icons/data-volume--alt/16.d.ts +17 -0
- package/es/icons/data-volume--alt/16.js +15 -0
- package/es/icons/data-volume--alt/20.d.ts +17 -0
- package/es/icons/data-volume--alt/20.js +15 -0
- package/es/icons/data-volume--alt/24.d.ts +17 -0
- package/es/icons/data-volume--alt/24.js +15 -0
- package/es/icons/data-volume--alt/32.d.ts +17 -0
- package/es/icons/data-volume--alt/32.js +15 -0
- package/es/icons/db2--buffer-pool/16.d.ts +17 -0
- package/es/icons/db2--buffer-pool/16.js +15 -0
- package/es/icons/db2--buffer-pool/20.d.ts +17 -0
- package/es/icons/db2--buffer-pool/20.js +15 -0
- package/es/icons/db2--buffer-pool/24.d.ts +17 -0
- package/es/icons/db2--buffer-pool/24.js +15 -0
- package/es/icons/db2--buffer-pool/32.d.ts +17 -0
- package/es/icons/db2--buffer-pool/32.js +15 -0
- package/es/icons/db2--data-sharing-group/16.d.ts +17 -0
- package/es/icons/db2--data-sharing-group/16.js +15 -0
- package/es/icons/db2--data-sharing-group/20.d.ts +17 -0
- package/es/icons/db2--data-sharing-group/20.js +15 -0
- package/es/icons/db2--data-sharing-group/24.d.ts +17 -0
- package/es/icons/db2--data-sharing-group/24.js +15 -0
- package/es/icons/db2--data-sharing-group/32.d.ts +17 -0
- package/es/icons/db2--data-sharing-group/32.js +15 -0
- package/es/icons/db2--database/16.d.ts +17 -0
- package/es/icons/db2--database/16.js +15 -0
- package/es/icons/db2--database/20.d.ts +17 -0
- package/es/icons/db2--database/20.js +15 -0
- package/es/icons/db2--database/24.d.ts +17 -0
- package/es/icons/db2--database/24.js +15 -0
- package/es/icons/db2--database/32.d.ts +17 -0
- package/es/icons/db2--database/32.js +15 -0
- package/es/icons/diamond-fill/index.d.ts +17 -0
- package/es/icons/document--multiple-01/16.d.ts +17 -0
- package/es/icons/document--multiple-01/16.js +15 -0
- package/es/icons/document--multiple-01/20.d.ts +17 -0
- package/es/icons/document--multiple-01/20.js +15 -0
- package/es/icons/document--multiple-01/24.d.ts +17 -0
- package/es/icons/document--multiple-01/24.js +15 -0
- package/es/icons/document--multiple-01/32.d.ts +17 -0
- package/es/icons/document--multiple-01/32.js +15 -0
- package/es/icons/document--multiple-02/16.d.ts +17 -0
- package/es/icons/document--multiple-02/16.js +15 -0
- package/es/icons/document--multiple-02/20.d.ts +17 -0
- package/es/icons/document--multiple-02/20.js +15 -0
- package/es/icons/document--multiple-02/24.d.ts +17 -0
- package/es/icons/document--multiple-02/24.js +15 -0
- package/es/icons/document--multiple-02/32.d.ts +17 -0
- package/es/icons/document--multiple-02/32.js +15 -0
- package/es/icons/drink--01/16.d.ts +17 -0
- package/es/icons/drink--01/16.js +15 -0
- package/es/icons/drink--01/20.d.ts +17 -0
- package/es/icons/drink--01/20.js +15 -0
- package/es/icons/drink--01/24.d.ts +17 -0
- package/es/icons/drink--01/24.js +15 -0
- package/es/icons/drink--01/32.d.ts +17 -0
- package/es/icons/drink--01/32.js +15 -0
- package/es/icons/drink--02/16.d.ts +17 -0
- package/es/icons/drink--02/16.js +15 -0
- package/es/icons/drink--02/20.d.ts +17 -0
- package/es/icons/drink--02/20.js +15 -0
- package/es/icons/drink--02/24.d.ts +17 -0
- package/es/icons/drink--02/24.js +15 -0
- package/es/icons/drink--02/32.d.ts +17 -0
- package/es/icons/drink--02/32.js +15 -0
- package/es/icons/executable-program/16.d.ts +17 -0
- package/es/icons/executable-program/16.js +15 -0
- package/es/icons/executable-program/20.d.ts +17 -0
- package/es/icons/executable-program/20.js +15 -0
- package/es/icons/executable-program/24.d.ts +17 -0
- package/es/icons/executable-program/24.js +15 -0
- package/es/icons/executable-program/32.d.ts +17 -0
- package/es/icons/executable-program/32.js +15 -0
- package/es/icons/ibm--bluepay/16.d.ts +17 -0
- package/es/icons/ibm--bluepay/16.js +15 -0
- package/es/icons/ibm--bluepay/20.d.ts +17 -0
- package/es/icons/ibm--bluepay/20.js +15 -0
- package/es/icons/ibm--bluepay/24.d.ts +17 -0
- package/es/icons/ibm--bluepay/24.js +15 -0
- package/es/icons/ibm--bluepay/32.d.ts +17 -0
- package/es/icons/ibm--bluepay/32.js +15 -0
- package/es/icons/ibm--content-services/16.d.ts +17 -0
- package/es/icons/ibm--content-services/16.js +15 -0
- package/es/icons/ibm--content-services/20.d.ts +17 -0
- package/es/icons/ibm--content-services/20.js +15 -0
- package/es/icons/ibm--content-services/24.d.ts +17 -0
- package/es/icons/ibm--content-services/24.js +15 -0
- package/es/icons/ibm--content-services/32.d.ts +17 -0
- package/es/icons/ibm--content-services/32.js +15 -0
- package/es/icons/ibm--datastage/16.d.ts +17 -0
- package/es/icons/ibm--datastage/16.js +15 -0
- package/es/icons/ibm--datastage/20.d.ts +17 -0
- package/es/icons/ibm--datastage/20.js +15 -0
- package/es/icons/ibm--datastage/24.d.ts +17 -0
- package/es/icons/ibm--datastage/24.js +15 -0
- package/es/icons/ibm--datastage/32.d.ts +17 -0
- package/es/icons/ibm--datastage/32.js +15 -0
- package/es/icons/ibm--db2/16.d.ts +17 -0
- package/es/icons/ibm--db2/16.js +15 -0
- package/es/icons/ibm--db2/20.d.ts +17 -0
- package/es/icons/ibm--db2/20.js +15 -0
- package/es/icons/ibm--db2/24.d.ts +17 -0
- package/es/icons/ibm--db2/24.js +15 -0
- package/es/icons/ibm--db2/32.d.ts +17 -0
- package/es/icons/ibm--db2/32.js +15 -0
- package/es/icons/ibm--db2--alt/16.d.ts +17 -0
- package/es/icons/ibm--db2--alt/16.js +15 -0
- package/es/icons/ibm--db2--alt/20.d.ts +17 -0
- package/es/icons/ibm--db2--alt/20.js +15 -0
- package/es/icons/ibm--db2--alt/24.d.ts +17 -0
- package/es/icons/ibm--db2--alt/24.js +15 -0
- package/es/icons/ibm--db2--alt/32.d.ts +17 -0
- package/es/icons/ibm--db2--alt/32.js +15 -0
- package/es/icons/ibm--mq/16.d.ts +17 -0
- package/es/icons/ibm--mq/16.js +15 -0
- package/es/icons/ibm--mq/20.d.ts +17 -0
- package/es/icons/ibm--mq/20.js +15 -0
- package/es/icons/ibm--mq/24.d.ts +17 -0
- package/es/icons/ibm--mq/24.js +15 -0
- package/es/icons/ibm--mq/32.d.ts +17 -0
- package/es/icons/ibm--mq/32.js +15 -0
- package/es/icons/ibm--open-enterprise-languages/16.d.ts +17 -0
- package/es/icons/ibm--open-enterprise-languages/16.js +15 -0
- package/es/icons/ibm--open-enterprise-languages/20.d.ts +17 -0
- package/es/icons/ibm--open-enterprise-languages/20.js +15 -0
- package/es/icons/ibm--open-enterprise-languages/24.d.ts +17 -0
- package/es/icons/ibm--open-enterprise-languages/24.js +15 -0
- package/es/icons/ibm--open-enterprise-languages/32.d.ts +17 -0
- package/es/icons/ibm--open-enterprise-languages/32.js +15 -0
- package/es/icons/ibm--power-vs/16.d.ts +17 -0
- package/es/icons/ibm--power-vs/16.js +15 -0
- package/es/icons/ibm--power-vs/20.d.ts +17 -0
- package/es/icons/ibm--power-vs/20.js +15 -0
- package/es/icons/ibm--power-vs/24.d.ts +17 -0
- package/es/icons/ibm--power-vs/24.js +15 -0
- package/es/icons/ibm--power-vs/32.d.ts +17 -0
- package/es/icons/ibm--power-vs/32.js +15 -0
- package/es/icons/ibm--process-mining/16.d.ts +17 -0
- package/es/icons/ibm--process-mining/16.js +15 -0
- package/es/icons/ibm--process-mining/20.d.ts +17 -0
- package/es/icons/ibm--process-mining/20.js +15 -0
- package/es/icons/ibm--process-mining/24.d.ts +17 -0
- package/es/icons/ibm--process-mining/24.js +15 -0
- package/es/icons/ibm--process-mining/32.d.ts +17 -0
- package/es/icons/ibm--process-mining/32.js +15 -0
- package/es/icons/ibm--telehealth/16.d.ts +17 -0
- package/es/icons/ibm--telehealth/16.js +15 -0
- package/es/icons/ibm--telehealth/20.d.ts +17 -0
- package/es/icons/ibm--telehealth/20.js +15 -0
- package/es/icons/ibm--telehealth/24.d.ts +17 -0
- package/es/icons/ibm--telehealth/24.js +15 -0
- package/es/icons/ibm--telehealth/32.d.ts +17 -0
- package/es/icons/ibm--telehealth/32.js +15 -0
- package/es/icons/ibm--tenet/16.d.ts +17 -0
- package/es/icons/ibm--tenet/16.js +15 -0
- package/es/icons/ibm--tenet/20.d.ts +17 -0
- package/es/icons/ibm--tenet/20.js +15 -0
- package/es/icons/ibm--tenet/24.d.ts +17 -0
- package/es/icons/ibm--tenet/24.js +15 -0
- package/es/icons/ibm--tenet/32.d.ts +17 -0
- package/es/icons/ibm--tenet/32.js +15 -0
- package/es/icons/ibm--toolchain/16.d.ts +17 -0
- package/es/icons/ibm--toolchain/16.js +15 -0
- package/es/icons/ibm--toolchain/20.d.ts +17 -0
- package/es/icons/ibm--toolchain/20.js +15 -0
- package/es/icons/ibm--toolchain/24.d.ts +17 -0
- package/es/icons/ibm--toolchain/24.js +15 -0
- package/es/icons/ibm--toolchain/32.d.ts +17 -0
- package/es/icons/ibm--toolchain/32.js +15 -0
- package/es/icons/ibm-cloud--HSM/16.d.ts +17 -0
- package/es/icons/ibm-cloud--HSM/16.js +15 -0
- package/es/icons/ibm-cloud--HSM/20.d.ts +17 -0
- package/es/icons/ibm-cloud--HSM/20.js +15 -0
- package/es/icons/ibm-cloud--HSM/24.d.ts +17 -0
- package/es/icons/ibm-cloud--HSM/24.js +15 -0
- package/es/icons/ibm-cloud--HSM/32.d.ts +17 -0
- package/es/icons/ibm-cloud--HSM/32.js +15 -0
- package/es/icons/ibm-cloud--app-id/16.d.ts +17 -0
- package/es/icons/ibm-cloud--app-id/16.js +15 -0
- package/es/icons/ibm-cloud--app-id/20.d.ts +17 -0
- package/es/icons/ibm-cloud--app-id/20.js +15 -0
- package/es/icons/ibm-cloud--app-id/24.d.ts +17 -0
- package/es/icons/ibm-cloud--app-id/24.js +15 -0
- package/es/icons/ibm-cloud--app-id/32.d.ts +17 -0
- package/es/icons/ibm-cloud--app-id/32.js +15 -0
- package/es/icons/ibm-cloud--citrix-daas/16.d.ts +17 -0
- package/es/icons/ibm-cloud--citrix-daas/16.js +15 -0
- package/es/icons/ibm-cloud--citrix-daas/20.d.ts +17 -0
- package/es/icons/ibm-cloud--citrix-daas/20.js +15 -0
- package/es/icons/ibm-cloud--citrix-daas/24.d.ts +17 -0
- package/es/icons/ibm-cloud--citrix-daas/24.js +15 -0
- package/es/icons/ibm-cloud--citrix-daas/32.d.ts +17 -0
- package/es/icons/ibm-cloud--citrix-daas/32.js +15 -0
- package/es/icons/ibm-cloud--continuous-delivery/16.d.ts +17 -0
- package/es/icons/ibm-cloud--continuous-delivery/16.js +15 -0
- package/es/icons/ibm-cloud--continuous-delivery/20.d.ts +17 -0
- package/es/icons/ibm-cloud--continuous-delivery/20.js +15 -0
- package/es/icons/ibm-cloud--continuous-delivery/24.d.ts +17 -0
- package/es/icons/ibm-cloud--continuous-delivery/24.js +15 -0
- package/es/icons/ibm-cloud--continuous-delivery/32.d.ts +17 -0
- package/es/icons/ibm-cloud--continuous-delivery/32.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/16.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/16.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/20.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/20.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/24.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/24.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/32.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--connect/32.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/16.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/16.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/20.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/20.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/24.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/24.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/32.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated/32.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/16.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/16.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/20.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/20.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/24.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/24.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/32.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/32.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/16.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/16.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/20.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/20.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/24.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/24.js +15 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/32.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-1--exchange/32.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/16.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/16.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/20.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/20.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/24.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/24.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/32.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--connect/32.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/16.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/16.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/20.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/20.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/24.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/24.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/32.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated/32.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/16.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/16.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/20.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/20.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/24.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/24.js +15 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/32.d.ts +17 -0
- package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/32.js +15 -0
- package/es/icons/ibm-cloud--event-notification/16.d.ts +17 -0
- package/es/icons/ibm-cloud--event-notification/16.js +15 -0
- package/es/icons/ibm-cloud--event-notification/20.d.ts +17 -0
- package/es/icons/ibm-cloud--event-notification/20.js +15 -0
- package/es/icons/ibm-cloud--event-notification/24.d.ts +17 -0
- package/es/icons/ibm-cloud--event-notification/24.js +15 -0
- package/es/icons/ibm-cloud--event-notification/32.d.ts +17 -0
- package/es/icons/ibm-cloud--event-notification/32.js +15 -0
- package/es/icons/ibm-cloud--event-streams/16.d.ts +17 -0
- package/es/icons/ibm-cloud--event-streams/16.js +15 -0
- package/es/icons/ibm-cloud--event-streams/20.d.ts +17 -0
- package/es/icons/ibm-cloud--event-streams/20.js +15 -0
- package/es/icons/ibm-cloud--event-streams/24.d.ts +17 -0
- package/es/icons/ibm-cloud--event-streams/24.js +15 -0
- package/es/icons/ibm-cloud--event-streams/32.d.ts +17 -0
- package/es/icons/ibm-cloud--event-streams/32.js +15 -0
- package/es/icons/ibm-cloud--for-education/16.d.ts +17 -0
- package/es/icons/ibm-cloud--for-education/16.js +15 -0
- package/es/icons/ibm-cloud--for-education/20.d.ts +17 -0
- package/es/icons/ibm-cloud--for-education/20.js +15 -0
- package/es/icons/ibm-cloud--for-education/24.d.ts +17 -0
- package/es/icons/ibm-cloud--for-education/24.js +15 -0
- package/es/icons/ibm-cloud--for-education/32.d.ts +17 -0
- package/es/icons/ibm-cloud--for-education/32.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/16.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/16.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/20.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/20.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/24.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/24.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/32.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-crypto-services/32.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/16.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/16.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/20.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/20.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/24.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/24.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/32.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-dbaas/32.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/16.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/16.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/20.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/20.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/24.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/24.js +15 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/32.d.ts +17 -0
- package/es/icons/ibm-cloud--hyper-protect-vs/32.js +15 -0
- package/es/icons/ibm-cloud--internet-services/16.js +1 -1
- package/es/icons/ibm-cloud--internet-services/20.js +1 -1
- package/es/icons/ibm-cloud--internet-services/24.js +1 -1
- package/es/icons/ibm-cloud--internet-services/32.js +1 -1
- package/es/icons/ibm-cloud--ipsec-vpn/16.d.ts +17 -0
- package/es/icons/ibm-cloud--ipsec-vpn/16.js +15 -0
- package/es/icons/ibm-cloud--ipsec-vpn/20.d.ts +17 -0
- package/es/icons/ibm-cloud--ipsec-vpn/20.js +15 -0
- package/es/icons/ibm-cloud--ipsec-vpn/24.d.ts +17 -0
- package/es/icons/ibm-cloud--ipsec-vpn/24.js +15 -0
- package/es/icons/ibm-cloud--ipsec-vpn/32.d.ts +17 -0
- package/es/icons/ibm-cloud--ipsec-vpn/32.js +15 -0
- package/es/icons/ibm-cloud--key-protect/16.d.ts +17 -0
- package/es/icons/ibm-cloud--key-protect/16.js +15 -0
- package/es/icons/ibm-cloud--key-protect/20.d.ts +17 -0
- package/es/icons/ibm-cloud--key-protect/20.js +15 -0
- package/es/icons/ibm-cloud--key-protect/24.d.ts +17 -0
- package/es/icons/ibm-cloud--key-protect/24.js +15 -0
- package/es/icons/ibm-cloud--key-protect/32.d.ts +17 -0
- package/es/icons/ibm-cloud--key-protect/32.js +15 -0
- package/es/icons/ibm-cloud--kubernetes-service/16.d.ts +17 -0
- package/es/icons/ibm-cloud--kubernetes-service/16.js +15 -0
- package/es/icons/ibm-cloud--kubernetes-service/20.d.ts +17 -0
- package/es/icons/ibm-cloud--kubernetes-service/20.js +15 -0
- package/es/icons/ibm-cloud--kubernetes-service/24.d.ts +17 -0
- package/es/icons/ibm-cloud--kubernetes-service/24.js +15 -0
- package/es/icons/ibm-cloud--kubernetes-service/32.d.ts +17 -0
- package/es/icons/ibm-cloud--kubernetes-service/32.js +15 -0
- package/es/icons/ibm-cloud--logging/16.d.ts +17 -0
- package/es/icons/ibm-cloud--logging/16.js +15 -0
- package/es/icons/ibm-cloud--logging/20.d.ts +17 -0
- package/es/icons/ibm-cloud--logging/20.js +15 -0
- package/es/icons/ibm-cloud--logging/24.d.ts +17 -0
- package/es/icons/ibm-cloud--logging/24.js +15 -0
- package/es/icons/ibm-cloud--logging/32.d.ts +17 -0
- package/es/icons/ibm-cloud--logging/32.js +15 -0
- package/es/icons/ibm-cloud--mass-data-migration/16.d.ts +17 -0
- package/es/icons/ibm-cloud--mass-data-migration/16.js +15 -0
- package/es/icons/ibm-cloud--mass-data-migration/20.d.ts +17 -0
- package/es/icons/ibm-cloud--mass-data-migration/20.js +15 -0
- package/es/icons/ibm-cloud--mass-data-migration/24.d.ts +17 -0
- package/es/icons/ibm-cloud--mass-data-migration/24.js +15 -0
- package/es/icons/ibm-cloud--mass-data-migration/32.d.ts +17 -0
- package/es/icons/ibm-cloud--mass-data-migration/32.js +15 -0
- package/es/icons/ibm-cloud--pal/16.d.ts +17 -0
- package/es/icons/ibm-cloud--pal/16.js +15 -0
- package/es/icons/ibm-cloud--pal/20.d.ts +17 -0
- package/es/icons/ibm-cloud--pal/20.js +15 -0
- package/es/icons/ibm-cloud--pal/24.d.ts +17 -0
- package/es/icons/ibm-cloud--pal/24.js +15 -0
- package/es/icons/ibm-cloud--pal/32.d.ts +17 -0
- package/es/icons/ibm-cloud--pal/32.js +15 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/16.d.ts +17 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/16.js +15 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/20.d.ts +17 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/20.js +15 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/24.d.ts +17 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/24.js +15 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/32.d.ts +17 -0
- package/es/icons/ibm-cloud--privileged-access-gateway/32.js +15 -0
- package/es/icons/ibm-cloud--secrets-manager/16.d.ts +17 -0
- package/es/icons/ibm-cloud--secrets-manager/16.js +15 -0
- package/es/icons/ibm-cloud--secrets-manager/20.d.ts +17 -0
- package/es/icons/ibm-cloud--secrets-manager/20.js +15 -0
- package/es/icons/ibm-cloud--secrets-manager/24.d.ts +17 -0
- package/es/icons/ibm-cloud--secrets-manager/24.js +15 -0
- package/es/icons/ibm-cloud--secrets-manager/32.d.ts +17 -0
- package/es/icons/ibm-cloud--secrets-manager/32.js +15 -0
- package/es/icons/ibm-cloud--sysdig-secure/16.d.ts +17 -0
- package/es/icons/ibm-cloud--sysdig-secure/16.js +15 -0
- package/es/icons/ibm-cloud--sysdig-secure/20.d.ts +17 -0
- package/es/icons/ibm-cloud--sysdig-secure/20.js +15 -0
- package/es/icons/ibm-cloud--sysdig-secure/24.d.ts +17 -0
- package/es/icons/ibm-cloud--sysdig-secure/24.js +15 -0
- package/es/icons/ibm-cloud--sysdig-secure/32.d.ts +17 -0
- package/es/icons/ibm-cloud--sysdig-secure/32.js +15 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/16.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/16.js +15 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/20.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/20.js +15 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/24.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/24.js +15 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/32.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/32.js +15 -0
- package/es/icons/ibm-cloud-pak--business-automation/16.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--business-automation/16.js +15 -0
- package/es/icons/ibm-cloud-pak--business-automation/20.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--business-automation/20.js +15 -0
- package/es/icons/ibm-cloud-pak--business-automation/24.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--business-automation/24.js +15 -0
- package/es/icons/ibm-cloud-pak--business-automation/32.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--business-automation/32.js +15 -0
- package/es/icons/ibm-cloud-pak--netezza/16.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--netezza/16.js +15 -0
- package/es/icons/ibm-cloud-pak--netezza/20.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--netezza/20.js +15 -0
- package/es/icons/ibm-cloud-pak--netezza/24.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--netezza/24.js +15 -0
- package/es/icons/ibm-cloud-pak--netezza/32.d.ts +17 -0
- package/es/icons/ibm-cloud-pak--netezza/32.js +15 -0
- package/es/icons/ibm-watson--assistant/16.d.ts +17 -0
- package/es/icons/ibm-watson--assistant/16.js +15 -0
- package/es/icons/ibm-watson--assistant/20.d.ts +17 -0
- package/es/icons/ibm-watson--assistant/20.js +15 -0
- package/es/icons/ibm-watson--assistant/24.d.ts +17 -0
- package/es/icons/ibm-watson--assistant/24.js +15 -0
- package/es/icons/ibm-watson--assistant/32.d.ts +17 -0
- package/es/icons/ibm-watson--assistant/32.js +15 -0
- package/es/icons/ibm-watson--discovery/16.d.ts +17 -0
- package/es/icons/ibm-watson--discovery/16.js +15 -0
- package/es/icons/ibm-watson--discovery/20.d.ts +17 -0
- package/es/icons/ibm-watson--discovery/20.js +15 -0
- package/es/icons/ibm-watson--discovery/24.d.ts +17 -0
- package/es/icons/ibm-watson--discovery/24.js +15 -0
- package/es/icons/ibm-watson--discovery/32.d.ts +17 -0
- package/es/icons/ibm-watson--discovery/32.js +15 -0
- package/es/icons/ibm-watson--knowledge-catalog/16.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-catalog/16.js +15 -0
- package/es/icons/ibm-watson--knowledge-catalog/20.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-catalog/20.js +15 -0
- package/es/icons/ibm-watson--knowledge-catalog/24.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-catalog/24.js +15 -0
- package/es/icons/ibm-watson--knowledge-catalog/32.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-catalog/32.js +15 -0
- package/es/icons/ibm-watson--knowledge-studio/16.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-studio/16.js +15 -0
- package/es/icons/ibm-watson--knowledge-studio/20.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-studio/20.js +15 -0
- package/es/icons/ibm-watson--knowledge-studio/24.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-studio/24.js +15 -0
- package/es/icons/ibm-watson--knowledge-studio/32.d.ts +17 -0
- package/es/icons/ibm-watson--knowledge-studio/32.js +15 -0
- package/es/icons/ibm-watson--language-translator/16.d.ts +17 -0
- package/es/icons/ibm-watson--language-translator/16.js +15 -0
- package/es/icons/ibm-watson--language-translator/20.d.ts +17 -0
- package/es/icons/ibm-watson--language-translator/20.js +15 -0
- package/es/icons/ibm-watson--language-translator/24.d.ts +17 -0
- package/es/icons/ibm-watson--language-translator/24.js +15 -0
- package/es/icons/ibm-watson--language-translator/32.d.ts +17 -0
- package/es/icons/ibm-watson--language-translator/32.js +15 -0
- package/es/icons/ibm-watson--machine-learning/16.d.ts +17 -0
- package/es/icons/ibm-watson--machine-learning/16.js +15 -0
- package/es/icons/ibm-watson--machine-learning/20.d.ts +17 -0
- package/es/icons/ibm-watson--machine-learning/20.js +15 -0
- package/es/icons/ibm-watson--machine-learning/24.d.ts +17 -0
- package/es/icons/ibm-watson--machine-learning/24.js +15 -0
- package/es/icons/ibm-watson--machine-learning/32.d.ts +17 -0
- package/es/icons/ibm-watson--machine-learning/32.js +15 -0
- package/es/icons/ibm-watson--natural-language-classifier/16.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-classifier/16.js +15 -0
- package/es/icons/ibm-watson--natural-language-classifier/20.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-classifier/20.js +15 -0
- package/es/icons/ibm-watson--natural-language-classifier/24.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-classifier/24.js +15 -0
- package/es/icons/ibm-watson--natural-language-classifier/32.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-classifier/32.js +15 -0
- package/es/icons/ibm-watson--natural-language-understanding/16.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-understanding/16.js +15 -0
- package/es/icons/ibm-watson--natural-language-understanding/20.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-understanding/20.js +15 -0
- package/es/icons/ibm-watson--natural-language-understanding/24.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-understanding/24.js +15 -0
- package/es/icons/ibm-watson--natural-language-understanding/32.d.ts +17 -0
- package/es/icons/ibm-watson--natural-language-understanding/32.js +15 -0
- package/es/icons/ibm-watson--openscale/16.d.ts +17 -0
- package/es/icons/ibm-watson--openscale/16.js +15 -0
- package/es/icons/ibm-watson--openscale/20.d.ts +17 -0
- package/es/icons/ibm-watson--openscale/20.js +15 -0
- package/es/icons/ibm-watson--openscale/24.d.ts +17 -0
- package/es/icons/ibm-watson--openscale/24.js +15 -0
- package/es/icons/ibm-watson--openscale/32.d.ts +17 -0
- package/es/icons/ibm-watson--openscale/32.js +15 -0
- package/es/icons/ibm-watson--query/16.d.ts +17 -0
- package/es/icons/ibm-watson--query/16.js +15 -0
- package/es/icons/ibm-watson--query/20.d.ts +17 -0
- package/es/icons/ibm-watson--query/20.js +15 -0
- package/es/icons/ibm-watson--query/24.d.ts +17 -0
- package/es/icons/ibm-watson--query/24.js +15 -0
- package/es/icons/ibm-watson--query/32.d.ts +17 -0
- package/es/icons/ibm-watson--query/32.js +15 -0
- package/es/icons/ibm-watson--speech-to-text/16.d.ts +17 -0
- package/es/icons/ibm-watson--speech-to-text/16.js +15 -0
- package/es/icons/ibm-watson--speech-to-text/20.d.ts +17 -0
- package/es/icons/ibm-watson--speech-to-text/20.js +15 -0
- package/es/icons/ibm-watson--speech-to-text/24.d.ts +17 -0
- package/es/icons/ibm-watson--speech-to-text/24.js +15 -0
- package/es/icons/ibm-watson--speech-to-text/32.d.ts +17 -0
- package/es/icons/ibm-watson--speech-to-text/32.js +15 -0
- package/es/icons/ibm-watson--studio/16.d.ts +17 -0
- package/es/icons/ibm-watson--studio/16.js +15 -0
- package/es/icons/ibm-watson--studio/20.d.ts +17 -0
- package/es/icons/ibm-watson--studio/20.js +15 -0
- package/es/icons/ibm-watson--studio/24.d.ts +17 -0
- package/es/icons/ibm-watson--studio/24.js +15 -0
- package/es/icons/ibm-watson--studio/32.d.ts +17 -0
- package/es/icons/ibm-watson--studio/32.js +15 -0
- package/es/icons/ibm-watson--text-to-speech/16.d.ts +17 -0
- package/es/icons/ibm-watson--text-to-speech/16.js +15 -0
- package/es/icons/ibm-watson--text-to-speech/20.d.ts +17 -0
- package/es/icons/ibm-watson--text-to-speech/20.js +15 -0
- package/es/icons/ibm-watson--text-to-speech/24.d.ts +17 -0
- package/es/icons/ibm-watson--text-to-speech/24.js +15 -0
- package/es/icons/ibm-watson--text-to-speech/32.d.ts +17 -0
- package/es/icons/ibm-watson--text-to-speech/32.js +15 -0
- package/es/icons/ibm-watson--tone-analyzer/16.d.ts +17 -0
- package/es/icons/ibm-watson--tone-analyzer/16.js +15 -0
- package/es/icons/ibm-watson--tone-analyzer/20.d.ts +17 -0
- package/es/icons/ibm-watson--tone-analyzer/20.js +15 -0
- package/es/icons/ibm-watson--tone-analyzer/24.d.ts +17 -0
- package/es/icons/ibm-watson--tone-analyzer/24.js +15 -0
- package/es/icons/ibm-watson--tone-analyzer/32.d.ts +17 -0
- package/es/icons/ibm-watson--tone-analyzer/32.js +15 -0
- package/es/icons/ibm-z--cloud-mod-stack/16.d.ts +17 -0
- package/es/icons/ibm-z--cloud-mod-stack/16.js +15 -0
- package/es/icons/ibm-z--cloud-mod-stack/20.d.ts +17 -0
- package/es/icons/ibm-z--cloud-mod-stack/20.js +15 -0
- package/es/icons/ibm-z--cloud-mod-stack/24.d.ts +17 -0
- package/es/icons/ibm-z--cloud-mod-stack/24.js +15 -0
- package/es/icons/ibm-z--cloud-mod-stack/32.d.ts +17 -0
- package/es/icons/ibm-z--cloud-mod-stack/32.js +15 -0
- package/es/icons/ibm-z-cloud--provisioning/16.d.ts +17 -0
- package/es/icons/ibm-z-cloud--provisioning/16.js +15 -0
- package/es/icons/ibm-z-cloud--provisioning/20.d.ts +17 -0
- package/es/icons/ibm-z-cloud--provisioning/20.js +15 -0
- package/es/icons/ibm-z-cloud--provisioning/24.d.ts +17 -0
- package/es/icons/ibm-z-cloud--provisioning/24.js +15 -0
- package/es/icons/ibm-z-cloud--provisioning/32.d.ts +17 -0
- package/es/icons/ibm-z-cloud--provisioning/32.js +15 -0
- package/es/icons/ibm-z-os--package-manager/16.d.ts +17 -0
- package/es/icons/ibm-z-os--package-manager/16.js +15 -0
- package/es/icons/ibm-z-os--package-manager/20.d.ts +17 -0
- package/es/icons/ibm-z-os--package-manager/20.js +15 -0
- package/es/icons/ibm-z-os--package-manager/24.d.ts +17 -0
- package/es/icons/ibm-z-os--package-manager/24.js +15 -0
- package/es/icons/ibm-z-os--package-manager/32.d.ts +17 -0
- package/es/icons/ibm-z-os--package-manager/32.js +15 -0
- package/es/icons/information/16.js +1 -1
- package/es/icons/information--filled/20.js +1 -1
- package/es/icons/information--square--filled/20.js +1 -1
- package/es/icons/keyboard--off/16.d.ts +17 -0
- package/es/icons/keyboard--off/16.js +15 -0
- package/es/icons/keyboard--off/20.d.ts +17 -0
- package/es/icons/keyboard--off/20.js +15 -0
- package/es/icons/keyboard--off/24.d.ts +17 -0
- package/es/icons/keyboard--off/24.js +15 -0
- package/es/icons/keyboard--off/32.d.ts +17 -0
- package/es/icons/keyboard--off/32.js +15 -0
- package/es/icons/list--checked/16.js +1 -1
- package/es/icons/list--checked/20.js +1 -1
- package/es/icons/list--checked/24.js +1 -1
- package/es/icons/list--checked/32.js +1 -1
- package/es/icons/list--checked--mirror/16.d.ts +17 -0
- package/es/icons/list--checked--mirror/16.js +15 -0
- package/es/icons/list--checked--mirror/20.d.ts +17 -0
- package/es/icons/list--checked--mirror/20.js +15 -0
- package/es/icons/list--checked--mirror/24.d.ts +17 -0
- package/es/icons/list--checked--mirror/24.js +15 -0
- package/es/icons/list--checked--mirror/32.d.ts +17 -0
- package/es/icons/list--checked--mirror/32.js +15 -0
- package/es/icons/list--numbered--mirror/16.d.ts +17 -0
- package/es/icons/list--numbered--mirror/16.js +15 -0
- package/es/icons/list--numbered--mirror/20.d.ts +17 -0
- package/es/icons/list--numbered--mirror/20.js +15 -0
- package/es/icons/list--numbered--mirror/24.d.ts +17 -0
- package/es/icons/list--numbered--mirror/24.js +15 -0
- package/es/icons/list--numbered--mirror/32.d.ts +17 -0
- package/es/icons/list--numbered--mirror/32.js +15 -0
- package/es/icons/logical-partition/16.js +1 -1
- package/es/icons/logical-partition/20.js +1 -1
- package/es/icons/logical-partition/24.js +1 -1
- package/es/icons/logical-partition/32.js +1 -1
- package/es/icons/logo--angular/16.d.ts +17 -0
- package/es/icons/logo--angular/16.js +15 -0
- package/es/icons/logo--angular/20.d.ts +17 -0
- package/es/icons/logo--angular/20.js +15 -0
- package/es/icons/logo--angular/24.d.ts +17 -0
- package/es/icons/logo--angular/24.js +15 -0
- package/es/icons/logo--angular/32.d.ts +17 -0
- package/es/icons/logo--angular/32.js +15 -0
- package/es/icons/logo--ansible-community/16.d.ts +17 -0
- package/es/icons/logo--ansible-community/16.js +15 -0
- package/es/icons/logo--ansible-community/20.d.ts +17 -0
- package/es/icons/logo--ansible-community/20.js +15 -0
- package/es/icons/logo--ansible-community/24.d.ts +17 -0
- package/es/icons/logo--ansible-community/24.js +15 -0
- package/es/icons/logo--ansible-community/32.d.ts +17 -0
- package/es/icons/logo--ansible-community/32.js +15 -0
- package/es/icons/logo--discord/16.js +1 -1
- package/es/icons/logo--discord/20.js +1 -1
- package/es/icons/logo--discord/24.js +1 -1
- package/es/icons/logo--discord/32.js +1 -1
- package/es/icons/logo--figma/16.d.ts +17 -0
- package/es/icons/logo--figma/16.js +15 -0
- package/es/icons/logo--figma/20.d.ts +17 -0
- package/es/icons/logo--figma/20.js +15 -0
- package/es/icons/logo--figma/24.d.ts +17 -0
- package/es/icons/logo--figma/24.js +15 -0
- package/es/icons/logo--figma/32.d.ts +17 -0
- package/es/icons/logo--figma/32.js +15 -0
- package/es/icons/logo--invision/16.d.ts +17 -0
- package/es/icons/logo--invision/16.js +15 -0
- package/es/icons/logo--invision/20.d.ts +17 -0
- package/es/icons/logo--invision/20.js +15 -0
- package/es/icons/logo--invision/24.d.ts +17 -0
- package/es/icons/logo--invision/24.js +15 -0
- package/es/icons/logo--invision/32.d.ts +17 -0
- package/es/icons/logo--invision/32.js +15 -0
- package/es/icons/logo--kubernetes/16.d.ts +17 -0
- package/es/icons/logo--kubernetes/16.js +15 -0
- package/es/icons/logo--kubernetes/20.d.ts +17 -0
- package/es/icons/logo--kubernetes/20.js +15 -0
- package/es/icons/logo--kubernetes/24.d.ts +17 -0
- package/es/icons/logo--kubernetes/24.js +15 -0
- package/es/icons/logo--kubernetes/32.d.ts +17 -0
- package/es/icons/logo--kubernetes/32.js +15 -0
- package/es/icons/logo--medium/16.js +1 -1
- package/es/icons/logo--medium/20.js +1 -1
- package/es/icons/logo--medium/24.js +1 -1
- package/es/icons/logo--medium/32.js +1 -1
- package/es/icons/logo--npm/16.d.ts +17 -0
- package/es/icons/logo--npm/16.js +15 -0
- package/es/icons/logo--npm/20.d.ts +17 -0
- package/es/icons/logo--npm/20.js +15 -0
- package/es/icons/logo--npm/24.d.ts +17 -0
- package/es/icons/logo--npm/24.js +15 -0
- package/es/icons/logo--npm/32.d.ts +17 -0
- package/es/icons/logo--npm/32.js +15 -0
- package/es/icons/logo--react/16.d.ts +17 -0
- package/es/icons/logo--react/16.js +15 -0
- package/es/icons/logo--react/20.d.ts +17 -0
- package/es/icons/logo--react/20.js +15 -0
- package/es/icons/logo--react/24.d.ts +17 -0
- package/es/icons/logo--react/24.js +15 -0
- package/es/icons/logo--react/32.d.ts +17 -0
- package/es/icons/logo--react/32.js +15 -0
- package/es/icons/logo--red-hat-ansible/16.d.ts +17 -0
- package/es/icons/logo--red-hat-ansible/16.js +15 -0
- package/es/icons/logo--red-hat-ansible/20.d.ts +17 -0
- package/es/icons/logo--red-hat-ansible/20.js +15 -0
- package/es/icons/logo--red-hat-ansible/24.d.ts +17 -0
- package/es/icons/logo--red-hat-ansible/24.js +15 -0
- package/es/icons/logo--red-hat-ansible/32.d.ts +17 -0
- package/es/icons/logo--red-hat-ansible/32.js +15 -0
- package/es/icons/logo--sketch/16.d.ts +17 -0
- package/es/icons/logo--sketch/16.js +15 -0
- package/es/icons/logo--sketch/20.d.ts +17 -0
- package/es/icons/logo--sketch/20.js +15 -0
- package/es/icons/logo--sketch/24.d.ts +17 -0
- package/es/icons/logo--sketch/24.js +15 -0
- package/es/icons/logo--sketch/32.d.ts +17 -0
- package/es/icons/logo--sketch/32.js +15 -0
- package/es/icons/logo--svelte/16.d.ts +17 -0
- package/es/icons/logo--svelte/16.js +15 -0
- package/es/icons/logo--svelte/20.d.ts +17 -0
- package/es/icons/logo--svelte/20.js +15 -0
- package/es/icons/logo--svelte/24.d.ts +17 -0
- package/es/icons/logo--svelte/24.js +15 -0
- package/es/icons/logo--svelte/32.d.ts +17 -0
- package/es/icons/logo--svelte/32.js +15 -0
- package/es/icons/logo--twitter/16.js +1 -1
- package/es/icons/logo--twitter/20.js +1 -1
- package/es/icons/logo--twitter/24.js +1 -1
- package/es/icons/logo--twitter/32.js +1 -1
- package/es/icons/logo--vmware/16.js +1 -1
- package/es/icons/logo--vmware/20.js +1 -1
- package/es/icons/logo--vmware/24.js +1 -1
- package/es/icons/logo--vmware/32.js +1 -1
- package/es/icons/logo--vmware--alt/16.d.ts +17 -0
- package/es/icons/logo--vmware--alt/16.js +15 -0
- package/es/icons/logo--vmware--alt/20.d.ts +17 -0
- package/es/icons/logo--vmware--alt/20.js +15 -0
- package/es/icons/logo--vmware--alt/24.d.ts +17 -0
- package/es/icons/logo--vmware--alt/24.js +15 -0
- package/es/icons/logo--vmware--alt/32.d.ts +17 -0
- package/es/icons/logo--vmware--alt/32.js +15 -0
- package/es/icons/logo--vue/16.d.ts +17 -0
- package/es/icons/logo--vue/16.js +15 -0
- package/es/icons/logo--vue/20.d.ts +17 -0
- package/es/icons/logo--vue/20.js +15 -0
- package/es/icons/logo--vue/24.d.ts +17 -0
- package/es/icons/logo--vue/24.js +15 -0
- package/es/icons/logo--vue/32.d.ts +17 -0
- package/es/icons/logo--vue/32.js +15 -0
- package/es/icons/logo--yelp/16.js +1 -1
- package/es/icons/logo--yelp/20.js +1 -1
- package/es/icons/logo--yelp/24.js +1 -1
- package/es/icons/logo--yelp/32.js +1 -1
- package/es/icons/microservices--1/16.d.ts +17 -0
- package/es/icons/microservices--1/16.js +15 -0
- package/es/icons/microservices--1/20.d.ts +17 -0
- package/es/icons/microservices--1/20.js +15 -0
- package/es/icons/microservices--1/24.d.ts +17 -0
- package/es/icons/microservices--1/24.js +15 -0
- package/es/icons/microservices--1/32.d.ts +17 -0
- package/es/icons/microservices--1/32.js +15 -0
- package/es/icons/microservices--2/16.d.ts +17 -0
- package/es/icons/microservices--2/16.js +15 -0
- package/es/icons/microservices--2/20.d.ts +17 -0
- package/es/icons/microservices--2/20.js +15 -0
- package/es/icons/microservices--2/24.d.ts +17 -0
- package/es/icons/microservices--2/24.js +15 -0
- package/es/icons/microservices--2/32.d.ts +17 -0
- package/es/icons/microservices--2/32.js +15 -0
- package/es/icons/plan/16.d.ts +17 -0
- package/es/icons/plan/16.js +15 -0
- package/es/icons/plan/20.d.ts +17 -0
- package/es/icons/plan/20.js +15 -0
- package/es/icons/plan/24.d.ts +17 -0
- package/es/icons/plan/24.js +15 -0
- package/es/icons/plan/32.d.ts +17 -0
- package/es/icons/plan/32.js +15 -0
- package/es/icons/port--input/16.d.ts +17 -0
- package/es/icons/port--input/16.js +15 -0
- package/es/icons/port--input/20.d.ts +17 -0
- package/es/icons/port--input/20.js +15 -0
- package/es/icons/port--input/24.d.ts +17 -0
- package/es/icons/port--input/24.js +15 -0
- package/es/icons/port--input/32.d.ts +17 -0
- package/es/icons/port--input/32.js +15 -0
- package/es/icons/port--output/16.d.ts +17 -0
- package/es/icons/port--output/16.js +15 -0
- package/es/icons/port--output/20.d.ts +17 -0
- package/es/icons/port--output/20.js +15 -0
- package/es/icons/port--output/24.d.ts +17 -0
- package/es/icons/port--output/24.js +15 -0
- package/es/icons/port--output/32.d.ts +17 -0
- package/es/icons/port--output/32.js +15 -0
- package/es/icons/promote/16.d.ts +17 -0
- package/es/icons/promote/16.js +15 -0
- package/es/icons/promote/20.d.ts +17 -0
- package/es/icons/promote/20.js +15 -0
- package/es/icons/promote/24.d.ts +17 -0
- package/es/icons/promote/24.js +15 -0
- package/es/icons/promote/32.d.ts +17 -0
- package/es/icons/promote/32.js +15 -0
- package/es/icons/recycle/16.d.ts +17 -0
- package/es/icons/recycle/16.js +15 -0
- package/es/icons/recycle/20.d.ts +17 -0
- package/es/icons/recycle/20.js +15 -0
- package/es/icons/recycle/24.d.ts +17 -0
- package/es/icons/recycle/24.js +15 -0
- package/es/icons/recycle/32.d.ts +17 -0
- package/es/icons/recycle/32.js +15 -0
- package/es/icons/reference-architecture/16.d.ts +17 -0
- package/es/icons/reference-architecture/16.js +15 -0
- package/es/icons/reference-architecture/20.d.ts +17 -0
- package/es/icons/reference-architecture/20.js +15 -0
- package/es/icons/reference-architecture/24.d.ts +17 -0
- package/es/icons/reference-architecture/24.js +15 -0
- package/es/icons/reference-architecture/32.d.ts +17 -0
- package/es/icons/reference-architecture/32.js +15 -0
- package/es/icons/repo--artifact/16.d.ts +17 -0
- package/es/icons/repo--artifact/16.js +15 -0
- package/es/icons/repo--artifact/20.d.ts +17 -0
- package/es/icons/repo--artifact/20.js +15 -0
- package/es/icons/repo--artifact/24.d.ts +17 -0
- package/es/icons/repo--artifact/24.js +15 -0
- package/es/icons/repo--artifact/32.d.ts +17 -0
- package/es/icons/repo--artifact/32.js +15 -0
- package/es/icons/repo--source-code/16.d.ts +17 -0
- package/es/icons/repo--source-code/16.js +15 -0
- package/es/icons/repo--source-code/20.d.ts +17 -0
- package/es/icons/repo--source-code/20.js +15 -0
- package/es/icons/repo--source-code/24.d.ts +17 -0
- package/es/icons/repo--source-code/24.js +15 -0
- package/es/icons/repo--source-code/32.d.ts +17 -0
- package/es/icons/repo--source-code/32.js +15 -0
- package/es/icons/rule--data-quality/16.d.ts +17 -0
- package/es/icons/rule--data-quality/16.js +15 -0
- package/es/icons/rule--data-quality/20.d.ts +17 -0
- package/es/icons/rule--data-quality/20.js +15 -0
- package/es/icons/rule--data-quality/24.d.ts +17 -0
- package/es/icons/rule--data-quality/24.js +15 -0
- package/es/icons/rule--data-quality/32.d.ts +17 -0
- package/es/icons/rule--data-quality/32.js +15 -0
- package/es/icons/run--mirror/16.d.ts +17 -0
- package/es/icons/run--mirror/16.js +15 -0
- package/es/icons/run--mirror/20.d.ts +17 -0
- package/es/icons/run--mirror/20.js +15 -0
- package/es/icons/run--mirror/24.d.ts +17 -0
- package/es/icons/run--mirror/24.js +15 -0
- package/es/icons/run--mirror/32.d.ts +17 -0
- package/es/icons/run--mirror/32.js +15 -0
- package/es/icons/screen-map/16.d.ts +17 -0
- package/es/icons/screen-map/16.js +15 -0
- package/es/icons/screen-map/20.d.ts +17 -0
- package/es/icons/screen-map/20.js +15 -0
- package/es/icons/screen-map/24.d.ts +17 -0
- package/es/icons/screen-map/24.js +15 -0
- package/es/icons/screen-map/32.d.ts +17 -0
- package/es/icons/screen-map/32.js +15 -0
- package/es/icons/screen-map--set/16.d.ts +17 -0
- package/es/icons/screen-map--set/16.js +15 -0
- package/es/icons/screen-map--set/20.d.ts +17 -0
- package/es/icons/screen-map--set/20.js +15 -0
- package/es/icons/screen-map--set/24.d.ts +17 -0
- package/es/icons/screen-map--set/24.js +15 -0
- package/es/icons/screen-map--set/32.d.ts +17 -0
- package/es/icons/screen-map--set/32.js +15 -0
- package/es/icons/search--locate--mirror/16.d.ts +17 -0
- package/es/icons/search--locate--mirror/16.js +15 -0
- package/es/icons/search--locate--mirror/20.d.ts +17 -0
- package/es/icons/search--locate--mirror/20.js +15 -0
- package/es/icons/search--locate--mirror/24.d.ts +17 -0
- package/es/icons/search--locate--mirror/24.js +15 -0
- package/es/icons/search--locate--mirror/32.d.ts +17 -0
- package/es/icons/search--locate--mirror/32.js +15 -0
- package/es/icons/service-id/16.d.ts +17 -0
- package/es/icons/service-id/16.js +15 -0
- package/es/icons/service-id/20.d.ts +17 -0
- package/es/icons/service-id/20.js +15 -0
- package/es/icons/service-id/24.d.ts +17 -0
- package/es/icons/service-id/24.js +15 -0
- package/es/icons/service-id/32.d.ts +17 -0
- package/es/icons/service-id/32.js +15 -0
- package/es/icons/side-panel--close/16.d.ts +17 -0
- package/es/icons/side-panel--close/16.js +15 -0
- package/es/icons/side-panel--close/20.d.ts +17 -0
- package/es/icons/side-panel--close/20.js +15 -0
- package/es/icons/side-panel--close/24.d.ts +17 -0
- package/es/icons/side-panel--close/24.js +15 -0
- package/es/icons/side-panel--close/32.d.ts +17 -0
- package/es/icons/side-panel--close/32.js +15 -0
- package/es/icons/side-panel--close--filled/16.d.ts +17 -0
- package/es/icons/side-panel--close--filled/16.js +15 -0
- package/es/icons/side-panel--close--filled/20.d.ts +17 -0
- package/es/icons/side-panel--close--filled/20.js +15 -0
- package/es/icons/side-panel--close--filled/24.d.ts +17 -0
- package/es/icons/side-panel--close--filled/24.js +15 -0
- package/es/icons/side-panel--close--filled/32.d.ts +17 -0
- package/es/icons/side-panel--close--filled/32.js +15 -0
- package/es/icons/side-panel--open/16.d.ts +17 -0
- package/es/icons/side-panel--open/16.js +15 -0
- package/es/icons/side-panel--open/20.d.ts +17 -0
- package/es/icons/side-panel--open/20.js +15 -0
- package/es/icons/side-panel--open/24.d.ts +17 -0
- package/es/icons/side-panel--open/24.js +15 -0
- package/es/icons/side-panel--open/32.d.ts +17 -0
- package/es/icons/side-panel--open/32.js +15 -0
- package/es/icons/side-panel--open--filled/16.d.ts +17 -0
- package/es/icons/side-panel--open--filled/16.js +15 -0
- package/es/icons/side-panel--open--filled/20.d.ts +17 -0
- package/es/icons/side-panel--open--filled/20.js +15 -0
- package/es/icons/side-panel--open--filled/24.d.ts +17 -0
- package/es/icons/side-panel--open--filled/24.js +15 -0
- package/es/icons/side-panel--open--filled/32.d.ts +17 -0
- package/es/icons/side-panel--open--filled/32.js +15 -0
- package/es/icons/subtract/16.js +1 -1
- package/es/icons/summary--KPI--mirror/16.d.ts +17 -0
- package/es/icons/summary--KPI--mirror/16.js +15 -0
- package/es/icons/summary--KPI--mirror/20.d.ts +17 -0
- package/es/icons/summary--KPI--mirror/20.js +15 -0
- package/es/icons/summary--KPI--mirror/24.d.ts +17 -0
- package/es/icons/summary--KPI--mirror/24.js +15 -0
- package/es/icons/summary--KPI--mirror/32.d.ts +17 -0
- package/es/icons/summary--KPI--mirror/32.js +15 -0
- package/es/icons/tcp-ip-service/16.d.ts +17 -0
- package/es/icons/tcp-ip-service/16.js +15 -0
- package/es/icons/tcp-ip-service/20.d.ts +17 -0
- package/es/icons/tcp-ip-service/20.js +15 -0
- package/es/icons/tcp-ip-service/24.d.ts +17 -0
- package/es/icons/tcp-ip-service/24.js +15 -0
- package/es/icons/tcp-ip-service/32.d.ts +17 -0
- package/es/icons/tcp-ip-service/32.js +15 -0
- package/es/icons/test-tool/16.d.ts +17 -0
- package/es/icons/test-tool/16.js +15 -0
- package/es/icons/test-tool/20.d.ts +17 -0
- package/es/icons/test-tool/20.js +15 -0
- package/es/icons/test-tool/24.d.ts +17 -0
- package/es/icons/test-tool/24.js +15 -0
- package/es/icons/test-tool/32.d.ts +17 -0
- package/es/icons/test-tool/32.js +15 -0
- package/es/icons/tools--alt/16.js +1 -1
- package/es/icons/tools--alt/20.js +1 -1
- package/es/icons/tools--alt/24.js +1 -1
- package/es/icons/tools--alt/32.js +1 -1
- package/es/icons/transform--binary/16.d.ts +17 -0
- package/es/icons/transform--binary/16.js +15 -0
- package/es/icons/transform--binary/20.d.ts +17 -0
- package/es/icons/transform--binary/20.js +15 -0
- package/es/icons/transform--binary/24.d.ts +17 -0
- package/es/icons/transform--binary/24.js +15 -0
- package/es/icons/transform--binary/32.d.ts +17 -0
- package/es/icons/transform--binary/32.js +15 -0
- package/es/icons/transform--instructions/16.d.ts +17 -0
- package/es/icons/transform--instructions/16.js +15 -0
- package/es/icons/transform--instructions/20.d.ts +17 -0
- package/es/icons/transform--instructions/20.js +15 -0
- package/es/icons/transform--instructions/24.d.ts +17 -0
- package/es/icons/transform--instructions/24.js +15 -0
- package/es/icons/transform--instructions/32.d.ts +17 -0
- package/es/icons/transform--instructions/32.js +15 -0
- package/es/icons/transform--language/16.d.ts +17 -0
- package/es/icons/transform--language/16.js +15 -0
- package/es/icons/transform--language/20.d.ts +17 -0
- package/es/icons/transform--language/20.js +15 -0
- package/es/icons/transform--language/24.d.ts +17 -0
- package/es/icons/transform--language/24.js +15 -0
- package/es/icons/transform--language/32.d.ts +17 -0
- package/es/icons/transform--language/32.js +15 -0
- package/es/icons/tsq/16.d.ts +17 -0
- package/es/icons/tsq/16.js +15 -0
- package/es/icons/tsq/20.d.ts +17 -0
- package/es/icons/tsq/20.js +15 -0
- package/es/icons/tsq/24.d.ts +17 -0
- package/es/icons/tsq/24.js +15 -0
- package/es/icons/tsq/32.d.ts +17 -0
- package/es/icons/tsq/32.js +15 -0
- package/es/icons/unsaved/16.d.ts +17 -0
- package/es/icons/unsaved/16.js +15 -0
- package/es/icons/unsaved/20.d.ts +17 -0
- package/es/icons/unsaved/20.js +15 -0
- package/es/icons/unsaved/24.d.ts +17 -0
- package/es/icons/unsaved/24.js +15 -0
- package/es/icons/unsaved/32.d.ts +17 -0
- package/es/icons/unsaved/32.js +15 -0
- package/es/icons/user--sponsor/16.d.ts +17 -0
- package/es/icons/user--sponsor/16.js +15 -0
- package/es/icons/user--sponsor/20.d.ts +17 -0
- package/es/icons/user--sponsor/20.js +15 -0
- package/es/icons/user--sponsor/24.d.ts +17 -0
- package/es/icons/user--sponsor/24.js +15 -0
- package/es/icons/user--sponsor/32.d.ts +17 -0
- package/es/icons/user--sponsor/32.js +15 -0
- package/es/icons/warning--alt--filled/16.js +1 -1
- package/es/icons/warning--alt--filled/20.js +1 -1
- package/es/icons/watson-health/image-availability--local/16.d.ts +17 -0
- package/es/icons/watson-health/image-availability--local/16.js +15 -0
- package/es/icons/watson-health/image-availability--local/20.d.ts +17 -0
- package/es/icons/watson-health/image-availability--local/20.js +15 -0
- package/es/icons/watson-health/image-availability--local/24.d.ts +17 -0
- package/es/icons/watson-health/image-availability--local/24.js +15 -0
- package/es/icons/watson-health/image-availability--local/32.d.ts +17 -0
- package/es/icons/watson-health/image-availability--local/32.js +15 -0
- package/es/icons/watson-health/image-availability--retrieving/16.d.ts +17 -0
- package/es/icons/watson-health/image-availability--retrieving/16.js +15 -0
- package/es/icons/watson-health/image-availability--retrieving/20.d.ts +17 -0
- package/es/icons/watson-health/image-availability--retrieving/20.js +15 -0
- package/es/icons/watson-health/image-availability--retrieving/24.d.ts +17 -0
- package/es/icons/watson-health/image-availability--retrieving/24.js +15 -0
- package/es/icons/watson-health/image-availability--retrieving/32.d.ts +17 -0
- package/es/icons/watson-health/image-availability--retrieving/32.js +15 -0
- package/es/icons/watson-health/image-availability--unavailable/16.d.ts +17 -0
- package/es/icons/watson-health/image-availability--unavailable/16.js +15 -0
- package/es/icons/watson-health/image-availability--unavailable/20.d.ts +17 -0
- package/es/icons/watson-health/image-availability--unavailable/20.js +15 -0
- package/es/icons/watson-health/image-availability--unavailable/24.d.ts +17 -0
- package/es/icons/watson-health/image-availability--unavailable/24.js +15 -0
- package/es/icons/watson-health/image-availability--unavailable/32.d.ts +17 -0
- package/es/icons/watson-health/image-availability--unavailable/32.js +15 -0
- package/es/icons/white-paper/16.d.ts +17 -0
- package/es/icons/white-paper/16.js +15 -0
- package/es/icons/white-paper/20.d.ts +17 -0
- package/es/icons/white-paper/20.js +15 -0
- package/es/icons/white-paper/24.d.ts +17 -0
- package/es/icons/white-paper/24.js +15 -0
- package/es/icons/white-paper/32.d.ts +17 -0
- package/es/icons/white-paper/32.js +15 -0
- package/es/icons/workflow-automation/16.d.ts +17 -0
- package/es/icons/workflow-automation/16.js +15 -0
- package/es/icons/workflow-automation/20.d.ts +17 -0
- package/es/icons/workflow-automation/20.js +15 -0
- package/es/icons/workflow-automation/24.d.ts +17 -0
- package/es/icons/workflow-automation/24.js +15 -0
- package/es/icons/workflow-automation/32.d.ts +17 -0
- package/es/icons/workflow-automation/32.js +15 -0
- package/es/icons/z--lpar/16.d.ts +17 -0
- package/es/icons/z--lpar/16.js +15 -0
- package/es/icons/z--lpar/20.d.ts +17 -0
- package/es/icons/z--lpar/20.js +15 -0
- package/es/icons/z--lpar/24.d.ts +17 -0
- package/es/icons/z--lpar/24.js +15 -0
- package/es/icons/z--lpar/32.d.ts +17 -0
- package/es/icons/z--lpar/32.js +15 -0
- package/es/icons/z--systems/16.d.ts +17 -0
- package/es/icons/z--systems/16.js +15 -0
- package/es/icons/z--systems/20.d.ts +17 -0
- package/es/icons/z--systems/20.js +15 -0
- package/es/icons/z--systems/24.d.ts +17 -0
- package/es/icons/z--systems/24.js +15 -0
- package/es/icons/z--systems/32.d.ts +17 -0
- package/es/icons/z--systems/32.js +15 -0
- package/es/icons/zos/16.d.ts +17 -0
- package/es/icons/zos/16.js +15 -0
- package/es/icons/zos/20.d.ts +17 -0
- package/es/icons/zos/20.js +15 -0
- package/es/icons/zos/24.d.ts +17 -0
- package/es/icons/zos/24.js +15 -0
- package/es/icons/zos/32.d.ts +17 -0
- package/es/icons/zos/32.js +15 -0
- package/es/icons/zos--sysplex/16.d.ts +17 -0
- package/es/icons/zos--sysplex/16.js +15 -0
- package/es/icons/zos--sysplex/20.d.ts +17 -0
- package/es/icons/zos--sysplex/20.js +15 -0
- package/es/icons/zos--sysplex/24.d.ts +17 -0
- package/es/icons/zos--sysplex/24.js +15 -0
- package/es/icons/zos--sysplex/32.d.ts +17 -0
- package/es/icons/zos--sysplex/32.js +15 -0
- package/es/index.d.ts +116 -108
- package/es/index.d.ts.map +1 -1
- package/es/index.js +116 -108
- package/es/index.js.map +1 -1
- package/lib/components/button/defs.js +1 -0
- package/lib/components/button/defs.js.map +1 -1
- package/lib/components/date-picker/defs.js +2 -11
- package/lib/components/date-picker/defs.js.map +1 -1
- package/lib/components/dropdown/defs.js +12 -3
- package/lib/components/dropdown/defs.js.map +1 -1
- package/lib/components/file-uploader/defs.js +3 -4
- package/lib/components/file-uploader/defs.js.map +1 -1
- package/lib/components/icon-button/defs.js +40 -0
- package/lib/components/icon-button/defs.js.map +1 -0
- package/lib/components/notification/defs.js +3 -0
- package/lib/components/notification/defs.js.map +1 -1
- package/lib/components/popover/defs.js +34 -0
- package/lib/components/popover/defs.js.map +1 -0
- package/lib/components/progress-bar/defs.js +44 -0
- package/lib/components/progress-bar/defs.js.map +1 -0
- package/lib/components/skeleton-text/defs.js +1 -2
- package/lib/components/skeleton-text/defs.js.map +1 -1
- package/lib/components/text-input/defs.js +47 -0
- package/lib/components/text-input/defs.js.map +1 -0
- package/lib/components-react-node/button/button-set.js +1 -1
- package/lib/components-react-node/button/button-skeleton.js +1 -1
- package/lib/components-react-node/button/button.js +1 -1
- package/lib/components-react-node/checkbox/checkbox-skeleton.js +36 -0
- package/lib/components-react-node/combo-box/combo-box.js +2 -8
- package/lib/components-react-node/copy/copy.js +37 -0
- package/lib/components-react-node/date-picker/date-picker-input.js +0 -6
- package/lib/components-react-node/dropdown/dropdown.js +2 -2
- package/lib/components-react-node/file-uploader/demo-file-uploader.js +30 -6
- package/lib/components-react-node/file-uploader/file-uploader-button.js +49 -0
- package/lib/components-react-node/file-uploader/file-uploader-drop-container.js +49 -0
- package/lib/components-react-node/file-uploader/file-uploader-skeleton.js +36 -0
- package/lib/components-react-node/icon-button/defs.js +24 -0
- package/lib/components-react-node/icon-button/icon-button.js +50 -0
- package/lib/components-react-node/multi-select/multi-select.js +0 -6
- package/lib/components-react-node/notification/actionable-notification-button.js +37 -0
- package/lib/components-react-node/notification/actionable-notification.js +37 -0
- package/lib/components-react-node/number-input/number-input.js +3 -9
- package/lib/components-react-node/popover/defs.js +24 -0
- package/lib/components-react-node/popover/index.js +9 -0
- package/lib/components-react-node/popover/popover-content.js +36 -0
- package/lib/components-react-node/popover/popover.js +36 -0
- package/lib/components-react-node/progress-bar/defs.js +24 -0
- package/lib/components-react-node/progress-bar/index.js +9 -0
- package/lib/components-react-node/progress-bar/progress-bar.js +55 -0
- package/lib/components-react-node/search/search.js +0 -7
- package/lib/components-react-node/select/select-skeleton.js +36 -0
- package/lib/components-react-node/select/select.js +0 -7
- package/lib/components-react-node/slider/slider-input.js +0 -7
- package/lib/components-react-node/text-input/defs.js +24 -0
- package/lib/components-react-node/text-input/index.js +9 -0
- package/lib/components-react-node/text-input/text-input-skeleton.js +36 -0
- package/lib/components-react-node/text-input/text-input.js +55 -0
- package/lib/components-react-node/textarea/textarea.js +3 -9
- package/lib/components-react-node/tooltip/tooltip-content.js +37 -0
- package/lib/components-react-node/tooltip/tooltip.js +3 -2
- package/lib/globals/settings.js +1 -1
- package/lib/globals/settings.js.map +1 -1
- package/lib/globals/wrappers/createReactCustomElementType.js +4 -4
- package/lib/globals/wrappers/createReactCustomElementType.js.map +1 -1
- package/package.json +5 -5
- package/scss/components/button/button.scss +5 -5
- package/scss/components/checkbox/checkbox.scss +9 -1
- package/scss/components/combo-box/combo-box.scss +51 -42
- package/scss/components/copy-button/copy-button.scss +20 -0
- package/scss/components/date-picker/date-picker.scss +28 -14
- package/scss/components/dropdown/dropdown.scss +87 -34
- package/scss/components/file-uploader/file-uploader.scss +22 -23
- package/scss/components/icon-button/icon-button.scss +14 -0
- package/scss/components/layer/layer.scss +0 -6
- package/scss/components/list/list.scss +0 -5
- package/scss/components/loading/loading.scss +1 -0
- package/scss/components/modal/modal.scss +2 -2
- package/scss/components/notification/actionable-notification.scss +170 -0
- package/scss/components/notification/inline-notification.scss +26 -0
- package/scss/components/notification/toast-notification.scss +26 -0
- package/scss/components/number-input/number-input.scss +13 -0
- package/scss/components/popover/popover.scss +122 -0
- package/scss/components/progress-bar/progress-bar.scss +10 -0
- package/scss/components/search/search.scss +54 -21
- package/scss/components/select/select.scss +20 -4
- package/scss/components/skeleton-text/skeleton-text.scss +4 -0
- package/scss/components/slider/slider.scss +9 -1
- package/scss/components/text-input/text-input.scss +38 -0
- package/scss/components/textarea/textarea.scss +7 -0
- package/scss/components/tile/tile.scss +4 -0
- package/scss/components/tooltip/tooltip.scss +5 -135
- package/es/components/file-uploader/drop-container.d.ts +0 -385
- package/es/components/file-uploader/drop-container.d.ts.map +0 -1
- package/es/components/file-uploader/drop-container.js +0 -264
- package/es/components/file-uploader/drop-container.js.map +0 -1
- package/es/components/input/defs.d.ts +0 -44
- package/es/components/input/defs.d.ts.map +0 -1
- package/es/components/input/defs.js +0 -36
- package/es/components/input/defs.js.map +0 -1
- package/es/components/input/index.d.ts +0 -11
- package/es/components/input/index.d.ts.map +0 -1
- package/es/components/input/index.js +0 -11
- package/es/components/input/index.js.map +0 -1
- package/es/components/input/input.css.js +0 -12
- package/es/components/input/input.d.ts +0 -762
- package/es/components/input/input.d.ts.map +0 -1
- package/es/components/input/input.js +0 -497
- package/es/components/input/input.js.map +0 -1
- package/es/components/input/input.rtl.css.js +0 -12
- package/es/components/search/defs.d.ts +0 -11
- package/es/components/search/defs.d.ts.map +0 -1
- package/es/components/search/defs.js +0 -11
- package/es/components/search/defs.js.map +0 -1
- package/es/components/slider/defs.d.ts +0 -11
- package/es/components/slider/defs.d.ts.map +0 -1
- package/es/components/slider/defs.js +0 -11
- package/es/components/slider/defs.js.map +0 -1
- package/es/components/tooltip/defs.d.ts +0 -84
- package/es/components/tooltip/defs.d.ts.map +0 -1
- package/es/components/tooltip/defs.js +0 -39
- package/es/components/tooltip/defs.js.map +0 -1
- package/es/components/tooltip/tooltip-body.d.ts +0 -40
- package/es/components/tooltip/tooltip-body.d.ts.map +0 -1
- package/es/components/tooltip/tooltip-body.js +0 -175
- package/es/components/tooltip/tooltip-body.js.map +0 -1
- package/es/components/tooltip/tooltip-footer.d.ts +0 -19
- package/es/components/tooltip/tooltip-footer.d.ts.map +0 -1
- package/es/components/tooltip/tooltip-footer.js +0 -49
- package/es/components/tooltip/tooltip-footer.js.map +0 -1
- package/es/components-react/file-uploader/drop-container.d.ts +0 -19
- package/es/components-react/file-uploader/drop-container.js +0 -28
- package/es/components-react/input/defs.js +0 -9
- package/es/components-react/input/input.d.ts +0 -15
- package/es/components-react/input/input.js +0 -22
- package/es/components-react/search/defs.js +0 -9
- package/es/components-react/slider/defs.js +0 -9
- package/es/components-react/tooltip/defs.js +0 -9
- package/es/components-react/tooltip/tooltip-body.d.ts +0 -14
- package/es/components-react/tooltip/tooltip-body.js +0 -23
- package/es/components-react/tooltip/tooltip-footer.d.ts +0 -15
- package/es/components-react/tooltip/tooltip-footer.js +0 -21
- package/es/icons/app-switcher/16.js +0 -15
- package/es/icons/app-switcher/20.js +0 -15
- package/es/icons/app-switcher/24.js +0 -15
- package/es/icons/app-switcher/32.js +0 -15
- package/es/icons/arrows/16.js +0 -15
- package/es/icons/arrows/20.js +0 -15
- package/es/icons/arrows/24.js +0 -15
- package/es/icons/arrows/32.js +0 -15
- package/es/icons/back-to-top/16.js +0 -15
- package/es/icons/back-to-top/20.js +0 -15
- package/es/icons/back-to-top/24.js +0 -15
- package/es/icons/back-to-top/32.js +0 -15
- package/es/icons/checkbox--undeterminate/16.js +0 -15
- package/es/icons/checkbox--undeterminate/20.js +0 -15
- package/es/icons/checkbox--undeterminate/24.js +0 -15
- package/es/icons/checkbox--undeterminate/32.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/16.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/20.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/24.js +0 -15
- package/es/icons/checkbox--undeterminate--filled/32.js +0 -15
- package/es/icons/cloud--lightning/16.js +0 -15
- package/es/icons/cloud--lightning/20.js +0 -15
- package/es/icons/cloud--lightning/24.js +0 -15
- package/es/icons/cloud--lightning/32.js +0 -15
- package/es/icons/cloud--rain/16.js +0 -15
- package/es/icons/cloud--rain/20.js +0 -15
- package/es/icons/cloud--rain/24.js +0 -15
- package/es/icons/cloud--rain/32.js +0 -15
- package/es/icons/cloud--snow/16.js +0 -15
- package/es/icons/cloud--snow/20.js +0 -15
- package/es/icons/cloud--snow/24.js +0 -15
- package/es/icons/cloud--snow/32.js +0 -15
- package/es/icons/delete/16.js +0 -15
- package/es/icons/delete/20.js +0 -15
- package/es/icons/delete/24.js +0 -15
- package/es/icons/delete/32.js +0 -15
- package/es/icons/glyph--caution/index.js +0 -15
- package/es/icons/glyph--caution-inverted/index.js +0 -15
- package/es/icons/glyph--circle-fill/index.js +0 -15
- package/es/icons/glyph--circle-stroke/index.js +0 -15
- package/es/icons/glyph--critical/index.js +0 -15
- package/es/icons/glyph--incomplete/index.js +0 -15
- package/es/icons/glyph--square-fill/index.js +0 -15
- package/es/icons/letter--Aa--large/16.js +0 -15
- package/es/icons/letter--Aa--large/20.js +0 -15
- package/es/icons/letter--Aa--large/24.js +0 -15
- package/es/icons/letter--Aa--large/32.js +0 -15
- package/es/icons/logo--delicious/16.js +0 -15
- package/es/icons/logo--delicious/20.js +0 -15
- package/es/icons/logo--delicious/24.js +0 -15
- package/es/icons/logo--delicious/32.js +0 -15
- package/es/icons/logo--google/16.js +0 -15
- package/es/icons/logo--google/20.js +0 -15
- package/es/icons/logo--google/24.js +0 -15
- package/es/icons/logo--google/32.js +0 -15
- package/es/icons/logo--stumbleupon/16.js +0 -15
- package/es/icons/logo--stumbleupon/20.js +0 -15
- package/es/icons/logo--stumbleupon/24.js +0 -15
- package/es/icons/logo--stumbleupon/32.js +0 -15
- package/es/icons/mammogram--stacked/16.js +0 -15
- package/es/icons/mammogram--stacked/20.js +0 -15
- package/es/icons/mammogram--stacked/24.js +0 -15
- package/es/icons/mammogram--stacked/32.js +0 -15
- package/es/icons/misuse--alt/16.js +0 -15
- package/es/icons/misuse--alt/20.js +0 -15
- package/es/icons/misuse--alt/24.js +0 -15
- package/es/icons/misuse--alt/32.js +0 -15
- package/es/icons/research--bloch-sphere/16.js +0 -15
- package/es/icons/research--bloch-sphere/20.js +0 -15
- package/es/icons/research--bloch-sphere/24.js +0 -15
- package/es/icons/research--bloch-sphere/32.js +0 -15
- package/es/icons/research--hinton-plot/16.js +0 -15
- package/es/icons/research--hinton-plot/20.js +0 -15
- package/es/icons/research--hinton-plot/24.js +0 -15
- package/es/icons/research--hinton-plot/32.js +0 -15
- package/es/icons/research--matrix/16.js +0 -15
- package/es/icons/research--matrix/20.js +0 -15
- package/es/icons/research--matrix/24.js +0 -15
- package/es/icons/research--matrix/32.js +0 -15
- package/es/icons/sunny/16.js +0 -15
- package/es/icons/sunny/20.js +0 -15
- package/es/icons/sunny/24.js +0 -15
- package/es/icons/sunny/32.js +0 -15
- package/es/icons/undefined/index.js +0 -15
- package/es/icons/watson-health/edit-filter/16.js +0 -15
- package/es/icons/watson-health/edit-filter/20.js +0 -15
- package/es/icons/watson-health/edit-filter/24.js +0 -15
- package/es/icons/watson-health/edit-filter/32.js +0 -15
- package/lib/components/input/defs.js +0 -47
- package/lib/components/input/defs.js.map +0 -1
- package/lib/components/search/defs.js +0 -21
- package/lib/components/search/defs.js.map +0 -1
- package/lib/components/slider/defs.js +0 -21
- package/lib/components/slider/defs.js.map +0 -1
- package/lib/components/tooltip/defs.js +0 -45
- package/lib/components/tooltip/defs.js.map +0 -1
- package/lib/components-react-node/file-uploader/drop-container.js +0 -49
- package/lib/components-react-node/input/defs.js +0 -24
- package/lib/components-react-node/input/input.js +0 -55
- package/lib/components-react-node/search/defs.js +0 -24
- package/lib/components-react-node/slider/defs.js +0 -24
- package/lib/components-react-node/tooltip/defs.js +0 -24
- package/lib/components-react-node/tooltip/tooltip-body.js +0 -37
- package/lib/components-react-node/tooltip/tooltip-footer.js +0 -36
- package/scss/components/input/input.scss +0 -37
- /package/es/components-react/{input → icon-button}/defs.d.ts +0 -0
- /package/es/components-react/{input → icon-button}/index.d.ts +0 -0
- /package/es/components-react/{input → icon-button}/index.js +0 -0
- /package/es/components-react/{search → popover}/defs.d.ts +0 -0
- /package/es/components-react/{slider/defs.d.ts → popover/index.d.ts} +0 -0
- /package/es/components-react/{tooltip → progress-bar}/defs.d.ts +0 -0
- /package/es/icons/{app-switcher → SLM}/16.d.ts +0 -0
- /package/es/icons/{app-switcher → SLM}/20.d.ts +0 -0
- /package/es/icons/{app-switcher → SLM}/24.d.ts +0 -0
- /package/es/icons/{app-switcher → SLM}/32.d.ts +0 -0
- /package/es/icons/{arrows → apple--dash}/16.d.ts +0 -0
- /package/es/icons/{arrows → apple--dash}/20.d.ts +0 -0
- /package/es/icons/{arrows → apple--dash}/24.d.ts +0 -0
- /package/es/icons/{arrows → apple--dash}/32.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate--filled → batch-job}/16.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate--filled → batch-job}/20.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate--filled → batch-job}/24.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate--filled → batch-job}/32.d.ts +0 -0
- /package/es/icons/{back-to-top → batch-job--step}/16.d.ts +0 -0
- /package/es/icons/{back-to-top → batch-job--step}/20.d.ts +0 -0
- /package/es/icons/{back-to-top → batch-job--step}/24.d.ts +0 -0
- /package/es/icons/{back-to-top → batch-job--step}/32.d.ts +0 -0
- /package/es/icons/{cloud--lightning → boot-volume}/16.d.ts +0 -0
- /package/es/icons/{cloud--lightning → boot-volume}/20.d.ts +0 -0
- /package/es/icons/{cloud--lightning → boot-volume}/24.d.ts +0 -0
- /package/es/icons/{cloud--lightning → boot-volume}/32.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/16.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/20.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/24.d.ts +0 -0
- /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/32.d.ts +0 -0
- /package/es/icons/{cloud--snow → bottles--01}/16.d.ts +0 -0
- /package/es/icons/{cloud--snow → bottles--01}/20.d.ts +0 -0
- /package/es/icons/{cloud--snow → bottles--01}/24.d.ts +0 -0
- /package/es/icons/{cloud--snow → bottles--01}/32.d.ts +0 -0
- /package/es/icons/{cloud--rain → bottles--01--dash}/16.d.ts +0 -0
- /package/es/icons/{cloud--rain → bottles--01--dash}/20.d.ts +0 -0
- /package/es/icons/{cloud--rain → bottles--01--dash}/24.d.ts +0 -0
- /package/es/icons/{cloud--rain → bottles--01--dash}/32.d.ts +0 -0
- /package/es/icons/{letter--Aa--large → bottles--02}/16.d.ts +0 -0
- /package/es/icons/{letter--Aa--large → bottles--02}/20.d.ts +0 -0
- /package/es/icons/{letter--Aa--large → bottles--02}/24.d.ts +0 -0
- /package/es/icons/{letter--Aa--large → bottles--02}/32.d.ts +0 -0
- /package/es/icons/{delete → bottles--02--dash}/16.d.ts +0 -0
- /package/es/icons/{delete → bottles--02--dash}/20.d.ts +0 -0
- /package/es/icons/{delete → bottles--02--dash}/24.d.ts +0 -0
- /package/es/icons/{delete → bottles--02--dash}/32.d.ts +0 -0
- /package/es/icons/{logo--delicious → bottles--container}/16.d.ts +0 -0
- /package/es/icons/{logo--delicious → bottles--container}/20.d.ts +0 -0
- /package/es/icons/{logo--delicious → bottles--container}/24.d.ts +0 -0
- /package/es/icons/{logo--delicious → bottles--container}/32.d.ts +0 -0
- /package/es/icons/{logo--google → build-tool}/16.d.ts +0 -0
- /package/es/icons/{logo--google → build-tool}/20.d.ts +0 -0
- /package/es/icons/{logo--google → build-tool}/24.d.ts +0 -0
- /package/es/icons/{logo--google → build-tool}/32.d.ts +0 -0
- /package/es/icons/{mammogram--stacked → calendar--add}/16.d.ts +0 -0
- /package/es/icons/{mammogram--stacked → calendar--add}/20.d.ts +0 -0
- /package/es/icons/{mammogram--stacked → calendar--add}/24.d.ts +0 -0
- /package/es/icons/{mammogram--stacked → calendar--add}/32.d.ts +0 -0
- /package/es/icons/{logo--stumbleupon → calendar--add--alt}/16.d.ts +0 -0
- /package/es/icons/{logo--stumbleupon → calendar--add--alt}/20.d.ts +0 -0
- /package/es/icons/{logo--stumbleupon → calendar--add--alt}/24.d.ts +0 -0
- /package/es/icons/{logo--stumbleupon → calendar--add--alt}/32.d.ts +0 -0
- /package/es/icons/{misuse--alt → carbon--ui-builder}/16.d.ts +0 -0
- /package/es/icons/{misuse--alt → carbon--ui-builder}/20.d.ts +0 -0
- /package/es/icons/{misuse--alt → carbon--ui-builder}/24.d.ts +0 -0
- /package/es/icons/{misuse--alt → carbon--ui-builder}/32.d.ts +0 -0
- /package/es/icons/{research--bloch-sphere → catalog--publish}/16.d.ts +0 -0
- /package/es/icons/{research--bloch-sphere → catalog--publish}/20.d.ts +0 -0
- /package/es/icons/{research--bloch-sphere → catalog--publish}/24.d.ts +0 -0
- /package/es/icons/{research--bloch-sphere → catalog--publish}/32.d.ts +0 -0
- /package/es/icons/{research--hinton-plot → cics--db2-connection}/16.d.ts +0 -0
- /package/es/icons/{research--hinton-plot → cics--db2-connection}/20.d.ts +0 -0
- /package/es/icons/{research--hinton-plot → cics--db2-connection}/24.d.ts +0 -0
- /package/es/icons/{research--hinton-plot → cics--db2-connection}/32.d.ts +0 -0
- /package/es/icons/{research--matrix → cics--program}/16.d.ts +0 -0
- /package/es/icons/{research--matrix → cics--program}/20.d.ts +0 -0
- /package/es/icons/{research--matrix → cics--program}/24.d.ts +0 -0
- /package/es/icons/{research--matrix → cics--program}/32.d.ts +0 -0
- /package/es/icons/{watson-health/edit-filter → cics--sit}/16.d.ts +0 -0
- /package/es/icons/{watson-health/edit-filter → cics--sit}/20.d.ts +0 -0
- /package/es/icons/{watson-health/edit-filter → cics--sit}/24.d.ts +0 -0
- /package/es/icons/{watson-health/edit-filter → cics--sit}/32.d.ts +0 -0
- /package/es/icons/{sunny → cics--sit-overrides}/16.d.ts +0 -0
- /package/es/icons/{sunny → cics--sit-overrides}/20.d.ts +0 -0
- /package/es/icons/{sunny → cics--sit-overrides}/24.d.ts +0 -0
- /package/es/icons/{sunny → cics--sit-overrides}/32.d.ts +0 -0
- /package/es/icons/{glyph--caution-inverted/index.d.ts → cics--transaction-server-zos/16.d.ts} +0 -0
- /package/es/icons/{glyph--caution/index.d.ts → cics--transaction-server-zos/20.d.ts} +0 -0
- /package/es/icons/{glyph--circle-fill/index.d.ts → cics--transaction-server-zos/24.d.ts} +0 -0
- /package/es/icons/{glyph--circle-stroke/index.d.ts → cics--transaction-server-zos/32.d.ts} +0 -0
- /package/es/icons/{glyph--critical/index.d.ts → cics-region--alt/16.d.ts} +0 -0
- /package/es/icons/{glyph--incomplete/index.d.ts → cics-region--alt/20.d.ts} +0 -0
- /package/es/icons/{glyph--square-fill/index.d.ts → cics-region--alt/24.d.ts} +0 -0
- /package/es/icons/{glyph--undefined/index.d.ts → cics-region--alt/32.d.ts} +0 -0
- /package/es/icons/{undefined/index.d.ts → connect--reference/16.d.ts} +0 -0
- /package/es/icons/{glyph--undefined → diamond-fill}/index.js +0 -0
- /package/lib/components-react-node/{input → icon-button}/index.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.js","names":["classMap","ifDefined","LitElement","html","property","customElement","query","prefix","FocusMixin","FormMixin","styles","BXCheckbox","_decorate","_initialize","_FocusMixin","constructor","args","F","d","kind","decorators","key","value","_handleChange","checked","indeterminate","_checkboxNode","eventChange","dispatchEvent","CustomEvent","bubbles","composed","detail","_handleFormdata","event","formData","disabled","name","append","type","Boolean","reflect","attribute","render","hideLabel","labelText","handleChange","labelClasses","_t","_","String","static","_objectSpread","shadowRootOptions","delegatesFocus"],"sources":["components/checkbox/checkbox.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LitElement, html } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport FormMixin from '../../globals/mixins/form';\nimport styles from './checkbox.scss';\n\n/**\n * Check box.\n *\n * @element cds-checkbox\n * @fires cds-checkbox-changed - The custom event fired after this changebox changes its checked state.\n * @csspart input The checkbox.\n * @csspart label The label.\n */\n@customElement(`${prefix}-checkbox`)\nclass BXCheckbox extends FocusMixin(FormMixin(LitElement)) {\n @query('input')\n protected _checkboxNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on the `<input>` in the shadow DOM.\n */\n protected _handleChange() {\n const { checked, indeterminate } = this._checkboxNode;\n this.checked = checked;\n this.indeterminate = indeterminate;\n const { eventChange } = this.constructor as typeof BXCheckbox;\n this.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n indeterminate,\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 { checked, disabled, name, value = 'on' } = this;\n if (!disabled && checked) {\n formData.append(name, value);\n }\n }\n\n /**\n * `true` if the check box should be checked.\n */\n @property({ type: Boolean, reflect: true })\n checked = false;\n\n /**\n * `true` if the check box 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 * `true` if the check box should show its UI of the indeterminate state.\n */\n @property({ type: Boolean, reflect: true })\n indeterminate = false;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The form name.\n */\n @property()\n name!: string;\n\n /**\n * The value.\n */\n @property()\n value!: string;\n\n render() {\n const {\n checked,\n disabled,\n hideLabel,\n indeterminate,\n labelText,\n name,\n value,\n _handleChange: handleChange,\n } = this;\n const labelClasses = classMap({\n [`${prefix}--checkbox-label`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n return html`\n <input\n id=\"checkbox\"\n type=\"checkbox\"\n part=\"input\"\n class=\"${`${prefix}--checkbox`}\"\n aria-checked=\"${indeterminate ? 'mixed' : String(Boolean(checked))}\"\n .checked=\"${checked}\"\n ?disabled=\"${disabled}\"\n .indeterminate=\"${indeterminate}\"\n name=\"${ifDefined(name)}\"\n value=\"${ifDefined(value)}\"\n @change=\"${handleChange}\" />\n <label for=\"checkbox\" part=\"label\" class=\"${labelClasses}\">\n <span class=\"${prefix}--checkbox-label-text\"\n ><slot>${labelText}</slot></span\n >\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this changebox changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-checkbox-changed`;\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 BXCheckbox;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA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AA;MAAAC,KAAA,EAGA,SAAAK,YAAA,EAAyB;QACvB,OAAQ,GAAEpB,MAAO,mBAAkB;MACrC;IAAC;MAAAY,IAAA;MAAAgC,MAAA;MAAA9B,GAAA;MAAAC,MAAA;QAAA,OAAA8B,aAAA,CAAAA,aAAA,KAGIlD,UAAU,CAACmD,iBAAiB;UAC/BC,cAAc,EAAE;QAAI;MAAA;IAAA;MAAAnC,IAAA;MAAAgC,MAAA;MAAA9B,GAAA;MAAAC,MAAA;QAAA,OAENZ,MAAM;MAAA;IAAA;EAAA;AAAA,GAxHCF,UAAU,CAACC,SAAS,CAACP,UAAU,CAAC,CAAC;AA2H1D,eAAeS,UAAU"}
|
|
1
|
+
{"version":3,"file":"checkbox.js","names":["classMap","ifDefined","LitElement","html","property","customElement","query","prefix","FocusMixin","FormMixin","styles","CDSCheckbox","_decorate","_initialize","_FocusMixin","constructor","args","F","d","kind","decorators","key","value","_handleChange","checked","indeterminate","_checkboxNode","eventChange","dispatchEvent","CustomEvent","bubbles","composed","detail","_handleClick","event","readonly","preventDefault","_handleFormdata","formData","disabled","name","append","type","Boolean","reflect","attribute","render","hideLabel","labelText","title","handleChange","handleClick","labelClasses","labelTextClasses","_t","_","String","static","_objectSpread","shadowRootOptions","delegatesFocus"],"sources":["components/checkbox/checkbox.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LitElement, html } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport FormMixin from '../../globals/mixins/form';\nimport styles from './checkbox.scss';\n\n/**\n * Check box.\n *\n * @element cds-checkbox\n * @fires cds-checkbox-changed - The custom event fired after this changebox changes its checked state.\n * @csspart input The checkbox.\n * @csspart label The label.\n */\n@customElement(`${prefix}-checkbox`)\nclass CDSCheckbox extends FocusMixin(FormMixin(LitElement)) {\n @query('input')\n protected _checkboxNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on the `<input>` in the shadow DOM.\n */\n protected _handleChange() {\n const { checked, indeterminate } = this._checkboxNode;\n this.checked = checked;\n this.indeterminate = indeterminate;\n const { eventChange } = this.constructor as typeof CDSCheckbox;\n this.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n indeterminate,\n },\n })\n );\n }\n\n /**\n * Prevent checkbox state from updating when readonly\n */\n private _handleClick(event: MouseEvent) {\n if (this.readonly) {\n event.preventDefault();\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 { checked, disabled, name, value = 'on' } = this;\n if (!disabled && checked) {\n formData.append(name, value);\n }\n }\n\n /**\n * Specify whether the underlying input should be checked\n */\n @property({ type: Boolean, reflect: true })\n checked = false;\n\n /**\n * Specify whether the Checkbox should be disabled\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Specify whether the label should be hidden, or not\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * Specify whether the Checkbox is in an indeterminate state\n */\n @property({ type: Boolean, reflect: true })\n indeterminate = false;\n\n /**\n * Provide a label to provide a description of the Checkbox input that you are\n * exposing to the user\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The form name.\n */\n @property()\n name!: string;\n\n /**\n * Specify whether the Checkbox is read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Specify a title for the node for the Checkbox\n */\n @property({ attribute: 'title' })\n title = '';\n\n /**\n * The value.\n */\n @property()\n value!: string;\n\n render() {\n const {\n checked,\n disabled,\n hideLabel,\n indeterminate,\n labelText,\n name,\n readonly,\n title,\n value,\n _handleChange: handleChange,\n _handleClick: handleClick,\n } = this;\n const labelClasses = classMap({\n [`${prefix}--checkbox-label`]: true,\n });\n const labelTextClasses = classMap({\n [`${prefix}--checkbox-label-text`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n return html`\n <input\n id=\"checkbox\"\n type=\"checkbox\"\n part=\"input\"\n class=\"${`${prefix}--checkbox`}\"\n aria-checked=\"${indeterminate ? 'mixed' : String(Boolean(checked))}\"\n aria-readonly=\"${String(Boolean(readonly))}\"\n .checked=\"${checked}\"\n ?disabled=\"${disabled}\"\n .indeterminate=\"${indeterminate}\"\n name=\"${ifDefined(name)}\"\n value=\"${ifDefined(value)}\"\n @change=\"${handleChange}\"\n @click=\"${handleClick}\" />\n <label\n for=\"checkbox\"\n part=\"label\"\n class=\"${labelClasses}\"\n title=\"${ifDefined(title)}\">\n <span class=\"${labelTextClasses}\"><slot>${labelText}</slot></span>\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this changebox changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-checkbox-changed`;\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 CDSCheckbox;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAQ,6BAA6B;AACtD,SAASC,SAAS,QAAQ,8BAA8B;AACxD,SAASC,UAAU,EAAEC,IAAI,QAAQ,KAAK;AACtC,SAASC,QAAQ,EAAEC,aAAa,EAAEC,KAAK,QAAQ,mBAAmB;AAClE,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,UAAU,MAAM,4BAA4B;AACnD,OAAOC,SAAS,MAAM,2BAA2B;AACjD,OAAOC,MAAM,MAAM,qBAAiB;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAPA,IASMC,WAAW,GAAAC,SAAA,E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A,KAAI,GAjBc,GAAEhD,MAAO,YAAW,EACdkB,aAAa,GAAG,OAAO,GAAG+B,MAAM,CAACb,OAAO,CAACnB,OAAO,CAAC,CAAC,EACjDgC,MAAM,CAACb,OAAO,CAACR,QAAQ,CAAC,CAAC,EAC9BX,OAAO,EACNe,QAAQ,EACHd,aAAa,EACvBxB,SAAS,CAACuC,IAAI,CAAC,EACdvC,SAAS,CAACqB,KAAK,CAAC,EACd4B,YAAY,EACbC,WAAW,EAIZC,YAAY,EACZnD,SAAS,CAACgD,KAAK,CAAC,EACVI,gBAAgB,EAAWL,SAAS;MAGzD;;MAEA;AACF;AACA;IAFE;MAAA7B,IAAA;MAAAsC,MAAA;MAAApC,GAAA;MAAAC,KAAA,EAGA,SAAAK,YAAA,EAAyB;QACvB,OAAQ,GAAEpB,MAAO,mBAAkB;MACrC;IAAC;MAAAY,IAAA;MAAAsC,MAAA;MAAApC,GAAA;MAAAC,MAAA;QAAA,OAAAoC,aAAA,CAAAA,aAAA,KAGIxD,UAAU,CAACyD,iBAAiB;UAC/BC,cAAc,EAAE;QAAI;MAAA;IAAA;MAAAzC,IAAA;MAAAsC,MAAA;MAAApC,GAAA;MAAAC,MAAA;QAAA,OAENZ,MAAM;MAAA;IAAA;EAAA;AAAA,GAxJEF,UAAU,CAACC,SAAS,CAACP,UAAU,CAAC,CAAC;AA2J3D,eAAeS,WAAW"}
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { css } from 'lit';
|
|
10
10
|
export default css([
|
|
11
|
-
"@keyframes hide-feedback{0%{opacity:1;visibility:inherit}100%{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}100%{opacity:.3;transform:scaleX(0);transform-origin:right}}.cds--assistive-text,.cds--visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset html{font-size:100%}.cds--fieldset body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--fieldset code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--fieldset strong{font-weight:600}.cds--form-item,:host(cds-checkbox){font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:inline-block;margin-bottom:.5rem;color:var(--cds-text-secondary,#525252);font-weight:400;line-height:1rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label--no-margin{margin-bottom:0}.cds--label+.cds--tooltip{position:relative;top:.2rem;right:.5rem}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;display:flex;align-items:center;justify-content:center;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger ::after,.cds--label+.cds--tooltip .cds--tooltip__trigger ::before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{top:.2rem;right:.5rem}.cds--label.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:4.6875rem;height:.875rem}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--label.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton::before{animation:none}}input[type=number]{font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:0}.cds--form--fluid .cds--form-requirement{padding:.5rem 1rem .5rem 2.5rem;margin:0}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:none;overflow:hidden;max-height:0;margin:.25rem 0 0}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-top:0}.cds--form__helper-text{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);z-index:0;width:100%;margin-top:.25rem;color:var(--cds-text-secondary,#525252);opacity:1}.cds--form__helper-text--disabled,.cds--label--disabled{color:var(--cds-text-disabled,rgba(22,22,22,.25))}fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--form-item.cds--checkbox-wrapper,:host(cds-checkbox){position:relative;margin-bottom:.25rem}.cds--form-item.cds--checkbox-wrapper:first-of-type,:host(cds-checkbox:first-of-type){margin-top:.1875rem}.cds--label+.cds--form-item.cds--checkbox-wrapper,.cds--label+:host(cds-checkbox){margin-top:-.125rem}.cds--form-item.cds--checkbox-wrapper:last-of-type,:host(cds-checkbox:last-of-type){margin-bottom:.1875rem}.cds--checkbox{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap;top:1.25rem;right:.7rem}.cds--checkbox-label{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);position:relative;display:flex;min-height:1.5rem;padding-top:.1875rem;padding-right:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cds--checkbox-label html{font-size:100%}.cds--checkbox-label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--checkbox-label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--checkbox-label strong{font-weight:600}.cds--checkbox-label-text{padding-right:.375rem}.cds--checkbox-label::after,.cds--checkbox-label::before{box-sizing:border-box}.cds--checkbox-label::before{position:absolute;top:.125rem;right:0;width:1rem;height:1rem;border:1px solid var(--cds-icon-primary,#161616);margin:.125rem .1875rem .125rem .125rem;background-color:transparent;border-radius:1px;content:\"\"}.cds--checkbox-label::after{position:absolute;top:.5rem;right:.4375rem;width:.5625rem;height:.3125rem;border-bottom:2px solid var(--cds-icon-inverse,#fff);border-right:2px solid var(--cds-icon-inverse,#fff);margin-top:0;background:0 0;content:\"\";transform:scale(0) rotate(45deg);transform-origin:center}.cds--checkbox-label[data-contained-checkbox-state=true]::before,.cds--checkbox:checked+.cds--checkbox-label::before,.cds--checkbox:indeterminate+.cds--checkbox-label::before{border:none;border-width:1px;background-color:var(--cds-icon-primary,#161616)}.cds--checkbox-label[data-contained-checkbox-state=true]::after,.cds--checkbox:checked+.cds--checkbox-label::after{transform:scale(1.2) rotate3d(.5,1,0,158deg)}.cds--checkbox:indeterminate+.cds--checkbox-label::after{top:.6875rem;width:.5rem;border-bottom:2px solid var(--cds-icon-inverse,#fff);border-right:0 solid var(--cds-icon-inverse,#fff);transform:scale(1) rotate(0)}.cds--checkbox-label[data-contained-checkbox-state=true].cds--checkbox-label__focus::before,.cds--checkbox-label__focus::before,.cds--checkbox:checked:focus+.cds--checkbox-label::before,.cds--checkbox:focus+.cds--checkbox-label::before,.cds--checkbox:indeterminate:focus+.cds--checkbox-label::before{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:1px}.cds--checkbox-label[data-contained-checkbox-disabled=true],.cds--checkbox:disabled+.cds--checkbox-label{color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed}.cds--checkbox-label[data-contained-checkbox-disabled=true]::before,.cds--checkbox:disabled+.cds--checkbox-label::before{border-color:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--checkbox-label[data-contained-checkbox-state=true][data-contained-checkbox-disabled=true]::before,.cds--checkbox:checked:disabled+.cds--checkbox-label::before,.cds--checkbox:indeterminate:disabled+.cds--checkbox-label::before{background-color:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--checkbox-wrapper--readonly .cds--checkbox-label{cursor:default}.cds--checkbox-wrapper--readonly .cds--checkbox-label-text{cursor:text;-webkit-user-select:text;-moz-user-select:text;user-select:text}.cds--checkbox-wrapper--readonly .cds--checkbox+.cds--checkbox-label::before{border-color:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--checkbox-wrapper--readonly .cds--checkbox:checked+.cds--checkbox-label::before{border:1px solid var(--cds-icon-disabled,rgba(22,22,22,.25));background:0 0}.cds--checkbox-wrapper--readonly .cds--checkbox:checked+.cds--checkbox-label::after{border-color:var(--cds-text-primary,#161616)}.cds--checkbox-skeleton .cds--checkbox-label{cursor:default}.cds--checkbox-label-text.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:6.25rem;height:1rem;margin:.0625rem .375rem 0 0}.cds--checkbox-label-text.cds--skeleton:active,.cds--checkbox-label-text.cds--skeleton:focus,.cds--checkbox-label-text.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--checkbox-label-text.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--checkbox-label-text.cds--skeleton::before{animation:none}}.cds--checkbox--inline{position:relative}:host(cds-checkbox){outline:0}",
|
|
11
|
+
"@keyframes hide-feedback{0%{opacity:1;visibility:inherit}100%{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}100%{opacity:.3;transform:scaleX(0);transform-origin:right}}.cds--assistive-text,.cds--visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset html{font-size:100%}.cds--fieldset body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--fieldset code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--fieldset strong{font-weight:600}.cds--form-item,:host(cds-checkbox){font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:inline-block;margin-bottom:.5rem;color:var(--cds-text-secondary,#525252);font-weight:400;line-height:1rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label--no-margin{margin-bottom:0}.cds--label+.cds--tooltip{position:relative;top:.2rem;right:.5rem}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;display:flex;align-items:center;justify-content:center;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger ::after,.cds--label+.cds--tooltip .cds--tooltip__trigger ::before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{top:.2rem;right:.5rem}.cds--label.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:4.6875rem;height:.875rem}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--label.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton::before{animation:none}}input[type=number]{font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:0}.cds--form--fluid .cds--form-requirement{padding:.5rem 1rem .5rem 2.5rem;margin:0}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:none;overflow:hidden;max-height:0;margin:.25rem 0 0}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-top:0}.cds--form__helper-text{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);z-index:0;width:100%;margin-top:.25rem;color:var(--cds-text-secondary,#525252);opacity:1}.cds--form__helper-text--disabled,.cds--label--disabled{color:var(--cds-text-disabled,rgba(22,22,22,.25))}fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--checkbox-group html{font-size:100%}.cds--checkbox-group body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--checkbox-group code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--checkbox-group strong{font-weight:600}.cds--form-item.cds--checkbox-wrapper,:host(cds-checkbox){position:relative;margin-bottom:.25rem}.cds--form-item.cds--checkbox-wrapper:first-of-type,:host(cds-checkbox:first-of-type){margin-top:.1875rem}.cds--label+.cds--form-item.cds--checkbox-wrapper,.cds--label+:host(cds-checkbox){margin-top:-.125rem}.cds--form-item.cds--checkbox-wrapper:last-of-type,:host(cds-checkbox:last-of-type){margin-bottom:.1875rem}.cds--checkbox{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap;top:1.25rem;right:.7rem}.cds--checkbox-label{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);position:relative;display:flex;min-height:1.5rem;padding-top:.1875rem;padding-right:1.25rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cds--checkbox-label html{font-size:100%}.cds--checkbox-label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--checkbox-label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--checkbox-label strong{font-weight:600}.cds--checkbox-label-text{padding-right:.375rem}.cds--checkbox-label::after,.cds--checkbox-label::before{box-sizing:border-box}.cds--checkbox-label::before{position:absolute;top:.125rem;right:0;width:1rem;height:1rem;border:1px solid var(--cds-icon-primary,#161616);margin:.125rem .1875rem .125rem .125rem;background-color:transparent;border-radius:2px;content:\"\"}.cds--checkbox-label::after{position:absolute;top:.46875rem;right:.4375rem;width:.5625rem;height:.3125rem;border-bottom:1.5px solid var(--cds-icon-inverse,#fff);border-right:1.5px solid var(--cds-icon-inverse,#fff);margin-top:0;background:0 0;content:\"\";transform:scale(0) rotate(45deg);transform-origin:center}.cds--checkbox-label[data-contained-checkbox-state=true]::before,.cds--checkbox:checked+.cds--checkbox-label::before,.cds--checkbox:indeterminate+.cds--checkbox-label::before{border:none;border-width:1px;background-color:var(--cds-icon-primary,#161616)}.cds--checkbox-label[data-contained-checkbox-state=true]::after,.cds--checkbox:checked+.cds--checkbox-label::after{transform:scale(1.2) rotate3d(.5,1,0,158deg)}.cds--checkbox:indeterminate+.cds--checkbox-label::after{top:.6875rem;width:.5rem;border-bottom:2px solid var(--cds-icon-inverse,#fff);border-right:0 solid var(--cds-icon-inverse,#fff);transform:scale(1) rotate(0)}.cds--checkbox-label[data-contained-checkbox-state=true].cds--checkbox-label__focus::before,.cds--checkbox-label__focus::before,.cds--checkbox:checked:focus+.cds--checkbox-label::before,.cds--checkbox:focus+.cds--checkbox-label::before,.cds--checkbox:indeterminate:focus+.cds--checkbox-label::before{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:1px}.cds--checkbox-label[data-contained-checkbox-disabled=true],.cds--checkbox:disabled+.cds--checkbox-label{color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed}.cds--checkbox-label[data-contained-checkbox-disabled=true]::before,.cds--checkbox:disabled+.cds--checkbox-label::before{border-color:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--checkbox-label[data-contained-checkbox-state=true][data-contained-checkbox-disabled=true]::before,.cds--checkbox:checked:disabled+.cds--checkbox-label::before,.cds--checkbox:indeterminate:disabled+.cds--checkbox-label::before{background-color:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--checkbox-group[data-invalid] .cds--checkbox-label::before,.cds--checkbox-wrapper--invalid .cds--checkbox-label::before,.cds--checkbox-wrapper--invalid .cds--checkbox:checked+.cds--checkbox-label::before{border:1px solid var(--cds-support-error,#da1e28)}.cds--checkbox-group .cds--checkbox-wrapper--invalid>.cds--checkbox__validation-msg,.cds--checkbox-group .cds--checkbox-wrapper--warning>.cds--checkbox__validation-msg,.cds--checkbox-group .cds--checkbox-wrapper>.cds--form__helper-text,.cds--checkbox-group :host(cds-checkbox)>.cds--form__helper-text{display:none}.cds--checkbox-group:not(.cds--checkbox-group[data-invalid]) .cds--checkbox-wrapper--invalid .cds--checkbox-label::before,.cds--checkbox-group:not(.cds--checkbox-group[data-invalid]) .cds--checkbox-wrapper--invalid .cds--checkbox:checked+.cds--checkbox-label::before{border:1px solid var(--cds-icon-primary,#161616)}.cds--checkbox-group__validation-msg,.cds--checkbox__validation-msg{display:none;align-items:flex-end;margin-top:.25rem}.cds--checkbox__invalid-icon{margin:0 .1875rem 0 .0625rem;fill:var(--cds-support-error,#da1e28)}.cds--checkbox__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--checkbox__invalid-icon--warning path:first-of-type{fill:#000}.cds--checkbox-group--invalid .cds--checkbox-group__validation-msg,.cds--checkbox-group--warning .cds--checkbox-group__validation-msg,.cds--checkbox-wrapper--invalid>.cds--checkbox__validation-msg,.cds--checkbox-wrapper--warning>.cds--checkbox__validation-msg{display:flex}.cds--checkbox-group--invalid .cds--checkbox-group__validation-msg .cds--form-requirement,.cds--checkbox-group--warning .cds--checkbox-group__validation-msg .cds--form-requirement,.cds--checkbox-wrapper--invalid .cds--checkbox__validation-msg .cds--form-requirement,.cds--checkbox-wrapper--warning .cds--checkbox__validation-msg .cds--form-requirement{display:block;overflow:visible;max-height:100%;margin-top:0;margin-right:.5rem}.cds--checkbox-group--invalid .cds--checkbox-group__validation-msg .cds--form-requirement,.cds--checkbox-wrapper--invalid .cds--checkbox__validation-msg .cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--checkbox-group--readonly .cds--checkbox-label,.cds--checkbox-wrapper--readonly .cds--checkbox-label,:host(cds-checkbox[readonly]) .cds--checkbox-label{cursor:default}.cds--checkbox-group--readonly .cds--checkbox-label-text,.cds--checkbox-wrapper--readonly .cds--checkbox-label-text,:host(cds-checkbox[readonly]) .cds--checkbox-label-text{cursor:text;-webkit-user-select:text;-moz-user-select:text;user-select:text}.cds--checkbox-group--readonly .cds--checkbox+.cds--checkbox-label::before,.cds--checkbox-wrapper--readonly .cds--checkbox+.cds--checkbox-label::before,:host(cds-checkbox[readonly]) .cds--checkbox+.cds--checkbox-label::before{border-color:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--checkbox-group--readonly .cds--checkbox:checked+.cds--checkbox-label::before,.cds--checkbox-wrapper--readonly .cds--checkbox:checked+.cds--checkbox-label::before,:host(cds-checkbox[readonly]) .cds--checkbox:checked+.cds--checkbox-label::before{border:1px solid var(--cds-icon-disabled,rgba(22,22,22,.25));background:0 0}.cds--checkbox-group--readonly .cds--checkbox:checked+.cds--checkbox-label::after,.cds--checkbox-wrapper--readonly .cds--checkbox:checked+.cds--checkbox-label::after,:host(cds-checkbox[readonly]) .cds--checkbox:checked+.cds--checkbox-label::after{border-color:var(--cds-text-primary,#161616)}.cds--checkbox-skeleton .cds--checkbox-label{cursor:default}.cds--checkbox-label-text.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:6.25rem;height:1rem;margin:.0625rem .375rem 0 0}.cds--checkbox-label-text.cds--skeleton:active,.cds--checkbox-label-text.cds--skeleton:focus,.cds--checkbox-label-text.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--checkbox-label-text.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--checkbox-label-text.cds--skeleton::before{animation:none}}.cds--checkbox--inline{position:relative}:host(cds-checkbox-skeleton) .cds--checkbox-label{cursor:default}",
|
|
12
12
|
]);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* Copyright IBM Corp. 2021
|
|
4
|
+
* Copyright IBM Corp. 2021, 2023
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
import './checkbox';
|
|
10
|
+
import './checkbox-skeleton';
|
|
10
11
|
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["components/checkbox/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,YAAY,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 './checkbox';\n"]}
|
|
1
|
+
{"version":3,"sources":["components/checkbox/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,YAAY,CAAC;AACpB,OAAO,qBAAqB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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 './checkbox';\nimport './checkbox-skeleton';\n"]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* Copyright IBM Corp. 2021
|
|
4
|
+
* Copyright IBM Corp. 2021, 2023
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import './checkbox';
|
|
11
|
+
import './checkbox-skeleton';
|
|
11
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["components/checkbox/index.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 './checkbox';\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,YAAY"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["components/checkbox/index.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 './checkbox';\nimport './checkbox-skeleton';\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,YAAY;AACnB,OAAO,qBAAqB"}
|
|
@@ -325,10 +325,6 @@ declare class BXCodeSnippet extends BXCodeSnippet_base {
|
|
|
325
325
|
* `true` to expand multi-line variant of code snippet.
|
|
326
326
|
*/
|
|
327
327
|
private _expanded;
|
|
328
|
-
/**
|
|
329
|
-
* `true` to show the feedback tooltip.
|
|
330
|
-
*/
|
|
331
|
-
private _showCopyButtonFeedback;
|
|
332
328
|
/**
|
|
333
329
|
* `true` to show the expando.
|
|
334
330
|
*/
|
|
@@ -337,10 +333,6 @@ declare class BXCodeSnippet extends BXCodeSnippet_base {
|
|
|
337
333
|
* Handles `click` event on the copy button.
|
|
338
334
|
*/
|
|
339
335
|
private _handleClickCopyButton;
|
|
340
|
-
/**
|
|
341
|
-
* Handles showing/hiding the feedback tooltip.
|
|
342
|
-
*/
|
|
343
|
-
private _handleCopyButtonFeedbackTooltip;
|
|
344
336
|
/**
|
|
345
337
|
* Handles `click` event on the expando.
|
|
346
338
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["components/code-snippet/code-snippet.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AASvD,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAGtE,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDxD;;;;GAIG;AACH,cACM,aAAc,SAAQ,kBAAsB;IAChD;;OAEG;IACH,OAAO,CAAC,SAAS,CAAS;IAE1B;;OAEG;IACH,OAAO,CAAC,uBAAuB,CAAS;IAExC;;OAEG;IACH,OAAO,CAAC,YAAY,CAAS;IAE7B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAoB9B;;OAEG;IACH,OAAO,CAAC,gCAAgC,CAMpC;IAEJ;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAK3B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAUzB;;OAEG;IAEH,OAAO,CAAC,QAAQ,CAAkB;IAElC;;OAEG;IAEH,iBAAiB,SAAkB;IAEnC;;OAEG;IAEH,kBAAkB,SAAe;IAEjC;;OAEG;IAEH,WAAW,4BAAqC;IAEhD;;OAEG;IAEH,uBAAuB,SAAuB;IAE9C;;OAEG;IAEH,sBAAsB,SAAa;IAEnC;;OAEG;IAEH,yBAAyB,SAAQ;IAEjC;;OAEG;IAEH,gBAAgB,SAAe;IAE/B;;OAEG;IAEH,IAAI,oBAA4B;IAEhC,MAAM;IA4EN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"code-snippet.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, TemplateResult } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport {\n _createHandleFeedbackTooltip as createHandleCopyButtonFeedbackTooltip,\n _renderButton as renderCopyButton,\n} from '../copy-button/copy-button';\nimport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE } from './defs';\nimport styles from './code-snippet.scss';\n\nexport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE };\n\n/**\n * @param values The values to render.\n * @param values.children The child nodes.\n * @param values.handleClick The handler for the `click` event on the button.\n * @returns The template result for the expando.\n */\nconst renderExpando = ({\n children,\n handleClick,\n}: {\n children: string | TemplateResult;\n handleClick: EventListener;\n}) => html`\n <button\n type=\"button\"\n class=\"${prefix}--snippet-btn--expand\"\n @click=\"${handleClick}\">\n <span id=\"button-text\" class=\"${prefix}--snippet-btn--text\">\n ${children}\n </span>\n ${ChevronDown16({\n 'aria-labeledby': 'button-text',\n class: `${prefix}--icon-chevron--down ${prefix}--snippet__icon`,\n role: 'img',\n })}\n </button>\n`;\n\n/**\n * @param values The values to render.\n * @param values.assistiveText The assistive text to announce that the node is for code snippet.\n * @param [values.expanded] `true` to show the expanded state (for multi-line variant).\n * @param values.children The child nodes.\n * @returns The template result for the code snippet.\n */\nconst renderCode = ({\n assistiveText,\n expanded,\n children,\n}: {\n assistiveText: string;\n expanded?: boolean;\n children: string | TemplateResult;\n}) => {\n const classes = classMap({\n [`${prefix}--snippet-container`]: true,\n [`${prefix}-ce--snippet-container--expanded`]: Boolean(expanded),\n });\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n <div role=\"textbox\" tabindex=\"0\" class=\"${classes}\" aria-label=\"${assistiveText}\"><code><pre>${children}</pre></code></div>\n `;\n};\n\n/**\n * Basic code snippet.\n *\n * @element cds-code-snippet\n */\n@customElement(`${prefix}-code-snippet`)\nclass BXCodeSnippet extends FocusMixin(LitElement) {\n /**\n * `true` to expand multi-line variant of code snippet.\n */\n private _expanded = false;\n\n /**\n * `true` to show the feedback tooltip.\n */\n private _showCopyButtonFeedback = false;\n\n /**\n * `true` to show the expando.\n */\n private _showExpando = false;\n\n /**\n * Handles `click` event on the copy button.\n */\n private _handleClickCopyButton() {\n const { ownerDocument: doc } = this;\n const selection = doc!.defaultView!.getSelection();\n selection!.removeAllRanges();\n const code = doc!.createElement('code');\n code.className = `${prefix}--visually-hidden`;\n const pre = doc!.createElement('pre');\n pre.textContent = this.textContent;\n code.appendChild(pre);\n // Using `<code>` in shadow DOM seems to lose the LFs in some browsers\n doc!.body.appendChild(code);\n const range = doc!.createRange();\n range.selectNodeContents(code);\n selection!.addRange(range);\n doc!.execCommand('copy');\n this._handleCopyButtonFeedbackTooltip(this.copyButtonFeedbackTimeout);\n doc!.body.removeChild(code);\n selection!.removeAllRanges();\n }\n\n /**\n * Handles showing/hiding the feedback tooltip.\n */\n private _handleCopyButtonFeedbackTooltip =\n createHandleCopyButtonFeedbackTooltip(\n ({ showFeedback = false }: { showFeedback?: boolean }) => {\n this._showCopyButtonFeedback = showFeedback;\n this.requestUpdate();\n }\n );\n\n /**\n * Handles `click` event on the expando.\n */\n private _handleClickExpando() {\n this._expanded = !this._expanded;\n this.requestUpdate();\n }\n\n /**\n * Handles change in slot content to determine if the content\n */\n private _handleSlotChange() {\n const { type, _preNode: preNode } = this;\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n if (preNode.getBoundingClientRect().height > 255) {\n this._showExpando = true;\n this.requestUpdate();\n }\n }\n }\n\n /**\n * The `<pre>` element in the shadow DOM.\n */\n @query('pre')\n private _preNode!: HTMLPreElement;\n\n /**\n * An assistive text for screen reader to advice a DOM node is for code snippet.\n */\n @property({ attribute: 'code-assistive-text' })\n codeAssistiveText = 'code-snippet';\n\n /**\n * The context content for the collapse button.\n */\n @property({ attribute: 'collapse-button-text' })\n collapseButtonText = 'Show less';\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = CODE_SNIPPET_COLOR_SCHEME.REGULAR;\n\n /**\n * An assistive text for screen reader to announce, telling that the button copies the content to the clipboard.\n */\n @property({ attribute: 'copy-button-assistive-text' })\n copyButtonAssistiveText = 'Copy to clipboard';\n\n /**\n * The feedback text for the copy button.\n */\n @property({ attribute: 'copy-button-feedback-text' })\n copyButtonFeedbackText = 'Copied!';\n\n /**\n * The number in milliseconds to determine how long the tooltip for the copy button should remain.\n */\n @property({ type: Number, attribute: 'copy-button-feedback-timeout' })\n copyButtonFeedbackTimeout = 2000;\n\n /**\n * The context content for the expand button.\n */\n @property({ attribute: 'expand-button-text' })\n expandButtonText = 'Show more';\n\n /**\n * The type of code snippet.\n */\n @property({ reflect: true })\n type = CODE_SNIPPET_TYPE.SINGLE;\n\n render() {\n const {\n codeAssistiveText,\n collapseButtonText,\n copyButtonAssistiveText,\n copyButtonFeedbackText,\n expandButtonText,\n type,\n _expanded: expanded,\n _showCopyButtonFeedback: showCopyButtonFeedback,\n _showExpando: showExpando,\n _handleClickCopyButton: handleClickCopyButton,\n _handleClickExpando: handleClickExpando,\n _handleSlotChange: handleSlotChange,\n } = this;\n\n if (type === CODE_SNIPPET_TYPE.SINGLE) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n ${renderCopyButton({\n assistiveText: copyButtonAssistiveText,\n feedbackText: copyButtonFeedbackText,\n showFeedback: showCopyButtonFeedback,\n handleClickButton: handleClickCopyButton,\n className: `${prefix}--snippet-button`,\n })}\n `;\n }\n\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n ${renderCopyButton({\n assistiveText: copyButtonAssistiveText,\n feedbackText: copyButtonFeedbackText,\n showFeedback: showCopyButtonFeedback,\n handleClickButton: handleClickCopyButton,\n className: `${prefix}--snippet-button`,\n })}\n ${!showExpando\n ? undefined\n : renderExpando({\n children: expanded\n ? html`<slot name=\"collapse-button-text\">${collapseButtonText}</slot>`\n : html`<slot name=\"expand-button-text\">${expandButtonText}</slot>`,\n handleClick: handleClickExpando,\n })}\n `;\n }\n\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCopyButton({\n assistiveText: copyButtonAssistiveText,\n feedbackText: copyButtonFeedbackText,\n showFeedback: showCopyButtonFeedback,\n handleClickButton: handleClickCopyButton,\n className: `${prefix}--snippet ${prefix}--snippet--inline`,\n children: html`<code aria-label=\"${codeAssistiveText}\"><slot></slot></code>`,\n })}\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default BXCodeSnippet;\n"]}
|
|
1
|
+
{"version":3,"sources":["components/code-snippet/code-snippet.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,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CAAC","file":"code-snippet.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, TemplateResult } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE } from './defs';\nimport styles from './code-snippet.scss';\n\nexport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE };\n\n/**\n * @param values The values to render.\n * @param values.children The child nodes.\n * @param values.handleClick The handler for the `click` event on the button.\n * @returns The template result for the expando.\n */\nconst renderExpando = ({\n children,\n handleClick,\n}: {\n children: string | TemplateResult;\n handleClick: EventListener;\n}) => html`\n <button\n type=\"button\"\n class=\"${prefix}--snippet-btn--expand\"\n @click=\"${handleClick}\">\n <span id=\"button-text\" class=\"${prefix}--snippet-btn--text\">\n ${children}\n </span>\n ${ChevronDown16({\n 'aria-labeledby': 'button-text',\n class: `${prefix}--icon-chevron--down ${prefix}--snippet__icon`,\n role: 'img',\n })}\n </button>\n`;\n\n/**\n * @param values The values to render.\n * @param values.assistiveText The assistive text to announce that the node is for code snippet.\n * @param [values.expanded] `true` to show the expanded state (for multi-line variant).\n * @param values.children The child nodes.\n * @returns The template result for the code snippet.\n */\nconst renderCode = ({\n assistiveText,\n expanded,\n children,\n}: {\n assistiveText: string;\n expanded?: boolean;\n children: string | TemplateResult;\n}) => {\n const classes = classMap({\n [`${prefix}--snippet-container`]: true,\n [`${prefix}-ce--snippet-container--expanded`]: Boolean(expanded),\n });\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n <div role=\"textbox\" tabindex=\"0\" class=\"${classes}\" aria-label=\"${assistiveText}\"><code><pre>${children}</pre></code></div>\n `;\n};\n\n/**\n * Basic code snippet.\n *\n * @element cds-code-snippet\n */\n@customElement(`${prefix}-code-snippet`)\nclass BXCodeSnippet extends FocusMixin(LitElement) {\n /**\n * `true` to expand multi-line variant of code snippet.\n */\n private _expanded = false;\n\n /**\n * `true` to show the expando.\n */\n private _showExpando = false;\n\n /**\n * Handles `click` event on the copy button.\n */\n private _handleClickCopyButton() {\n const { ownerDocument: doc } = this;\n const selection = doc!.defaultView!.getSelection();\n selection!.removeAllRanges();\n const code = doc!.createElement('code');\n code.className = `${prefix}--visually-hidden`;\n const pre = doc!.createElement('pre');\n pre.textContent = this.textContent;\n code.appendChild(pre);\n // Using `<code>` in shadow DOM seems to lose the LFs in some browsers\n doc!.body.appendChild(code);\n const range = doc!.createRange();\n range.selectNodeContents(code);\n selection!.addRange(range);\n doc!.execCommand('copy');\n doc!.body.removeChild(code);\n selection!.removeAllRanges();\n }\n\n /**\n * Handles `click` event on the expando.\n */\n private _handleClickExpando() {\n this._expanded = !this._expanded;\n this.requestUpdate();\n }\n\n /**\n * Handles change in slot content to determine if the content\n */\n private _handleSlotChange() {\n const { type, _preNode: preNode } = this;\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n if (preNode.getBoundingClientRect().height > 255) {\n this._showExpando = true;\n this.requestUpdate();\n }\n }\n }\n\n /**\n * The `<pre>` element in the shadow DOM.\n */\n @query('pre')\n private _preNode!: HTMLPreElement;\n\n /**\n * An assistive text for screen reader to advice a DOM node is for code snippet.\n */\n @property({ attribute: 'code-assistive-text' })\n codeAssistiveText = 'code-snippet';\n\n /**\n * The context content for the collapse button.\n */\n @property({ attribute: 'collapse-button-text' })\n collapseButtonText = 'Show less';\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = CODE_SNIPPET_COLOR_SCHEME.REGULAR;\n\n /**\n * An assistive text for screen reader to announce, telling that the button copies the content to the clipboard.\n */\n @property({ attribute: 'copy-button-assistive-text' })\n copyButtonAssistiveText = 'Copy to clipboard';\n\n /**\n * The feedback text for the copy button.\n */\n @property({ attribute: 'copy-button-feedback-text' })\n copyButtonFeedbackText = 'Copied!';\n\n /**\n * The number in milliseconds to determine how long the tooltip for the copy button should remain.\n */\n @property({ type: Number, attribute: 'copy-button-feedback-timeout' })\n copyButtonFeedbackTimeout = 2000;\n\n /**\n * The context content for the expand button.\n */\n @property({ attribute: 'expand-button-text' })\n expandButtonText = 'Show more';\n\n /**\n * The type of code snippet.\n */\n @property({ reflect: true })\n type = CODE_SNIPPET_TYPE.SINGLE;\n\n render() {\n const {\n codeAssistiveText,\n collapseButtonText,\n copyButtonAssistiveText,\n copyButtonFeedbackText,\n expandButtonText,\n type,\n _expanded: expanded,\n _showExpando: showExpando,\n _handleClickCopyButton: handleClickCopyButton,\n _handleClickExpando: handleClickExpando,\n _handleSlotChange: handleSlotChange,\n } = this;\n\n if (type === CODE_SNIPPET_TYPE.SINGLE) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n <cds-copy-button\n feedback=\"${copyButtonFeedbackText}\"\n @click=\"${handleClickCopyButton}\">\n ${copyButtonAssistiveText}\n </cds-copy-button>\n `;\n }\n\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n <cds-copy-button\n feedback=\"${copyButtonFeedbackText}\"\n @click=\"${handleClickCopyButton}\">\n ${copyButtonAssistiveText}\n </cds-copy-button>\n ${!showExpando\n ? undefined\n : renderExpando({\n children: expanded\n ? html`<slot name=\"collapse-button-text\">${collapseButtonText}</slot>`\n : html`<slot name=\"expand-button-text\">${expandButtonText}</slot>`,\n handleClick: handleClickExpando,\n })}\n `;\n }\n\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n <cds-copy-button\n feedback=\"${copyButtonFeedbackText}\"\n @click=\"${handleClickCopyButton}\">\n ${copyButtonAssistiveText}\n </cds-copy-button>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default BXCodeSnippet;\n"]}
|
|
@@ -9,8 +9,7 @@ let _ = t => t,
|
|
|
9
9
|
_t6,
|
|
10
10
|
_t7,
|
|
11
11
|
_t8,
|
|
12
|
-
_t9
|
|
13
|
-
_t10;
|
|
12
|
+
_t9;
|
|
14
13
|
/**
|
|
15
14
|
* @license
|
|
16
15
|
*
|
|
@@ -26,7 +25,6 @@ import { property, customElement, query } from 'lit/decorators.js';
|
|
|
26
25
|
import ChevronDown16 from "../../icons/chevron--down/16";
|
|
27
26
|
import { prefix } from '../../globals/settings';
|
|
28
27
|
import FocusMixin from '../../globals/mixins/focus';
|
|
29
|
-
import { _createHandleFeedbackTooltip as createHandleCopyButtonFeedbackTooltip, _renderButton as renderCopyButton } from '../copy-button/copy-button';
|
|
30
28
|
import { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE } from './defs';
|
|
31
29
|
import styles from "././code-snippet.css.js";
|
|
32
30
|
export { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE };
|
|
@@ -99,12 +97,6 @@ let BXCodeSnippet = _decorate([customElement(`${prefix}-code-snippet`)], functio
|
|
|
99
97
|
value() {
|
|
100
98
|
return false;
|
|
101
99
|
}
|
|
102
|
-
}, {
|
|
103
|
-
kind: "field",
|
|
104
|
-
key: "_showCopyButtonFeedback",
|
|
105
|
-
value() {
|
|
106
|
-
return false;
|
|
107
|
-
}
|
|
108
100
|
}, {
|
|
109
101
|
kind: "field",
|
|
110
102
|
key: "_showExpando",
|
|
@@ -119,10 +111,6 @@ let BXCodeSnippet = _decorate([customElement(`${prefix}-code-snippet`)], functio
|
|
|
119
111
|
* `true` to expand multi-line variant of code snippet.
|
|
120
112
|
*/
|
|
121
113
|
|
|
122
|
-
/**
|
|
123
|
-
* `true` to show the feedback tooltip.
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
114
|
/**
|
|
127
115
|
* `true` to show the expando.
|
|
128
116
|
*/
|
|
@@ -147,33 +135,17 @@ let BXCodeSnippet = _decorate([customElement(`${prefix}-code-snippet`)], functio
|
|
|
147
135
|
range.selectNodeContents(code);
|
|
148
136
|
selection.addRange(range);
|
|
149
137
|
doc.execCommand('copy');
|
|
150
|
-
this._handleCopyButtonFeedbackTooltip(this.copyButtonFeedbackTimeout);
|
|
151
138
|
doc.body.removeChild(code);
|
|
152
139
|
selection.removeAllRanges();
|
|
153
140
|
}
|
|
154
141
|
|
|
155
142
|
/**
|
|
156
|
-
* Handles
|
|
143
|
+
* Handles `click` event on the expando.
|
|
157
144
|
*/
|
|
158
|
-
}, {
|
|
159
|
-
kind: "field",
|
|
160
|
-
key: "_handleCopyButtonFeedbackTooltip",
|
|
161
|
-
value() {
|
|
162
|
-
return createHandleCopyButtonFeedbackTooltip(({
|
|
163
|
-
showFeedback: _showFeedback = false
|
|
164
|
-
}) => {
|
|
165
|
-
this._showCopyButtonFeedback = _showFeedback;
|
|
166
|
-
this.requestUpdate();
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
145
|
}, {
|
|
170
146
|
kind: "method",
|
|
171
147
|
key: "_handleClickExpando",
|
|
172
|
-
value:
|
|
173
|
-
/**
|
|
174
|
-
* Handles `click` event on the expando.
|
|
175
|
-
*/
|
|
176
|
-
function _handleClickExpando() {
|
|
148
|
+
value: function _handleClickExpando() {
|
|
177
149
|
this._expanded = !this._expanded;
|
|
178
150
|
this.requestUpdate();
|
|
179
151
|
}
|
|
@@ -316,7 +288,6 @@ let BXCodeSnippet = _decorate([customElement(`${prefix}-code-snippet`)], functio
|
|
|
316
288
|
expandButtonText,
|
|
317
289
|
type,
|
|
318
290
|
_expanded: expanded,
|
|
319
|
-
_showCopyButtonFeedback: showCopyButtonFeedback,
|
|
320
291
|
_showExpando: showExpando,
|
|
321
292
|
_handleClickCopyButton: handleClickCopyButton,
|
|
322
293
|
_handleClickExpando: handleClickExpando,
|
|
@@ -327,37 +298,33 @@ let BXCodeSnippet = _decorate([customElement(`${prefix}-code-snippet`)], functio
|
|
|
327
298
|
// prettier-ignore
|
|
328
299
|
return html(_t3 || (_t3 = _`
|
|
329
300
|
${0}
|
|
330
|
-
|
|
301
|
+
<cds-copy-button
|
|
302
|
+
feedback="${0}"
|
|
303
|
+
@click="${0}">
|
|
304
|
+
${0}
|
|
305
|
+
</cds-copy-button>
|
|
331
306
|
`), renderCode({
|
|
332
307
|
assistiveText: codeAssistiveText,
|
|
333
308
|
expanded,
|
|
334
309
|
children: html(_t4 || (_t4 = _`<slot @slotchange="${0}"></slot>`), handleSlotChange)
|
|
335
|
-
}),
|
|
336
|
-
assistiveText: copyButtonAssistiveText,
|
|
337
|
-
feedbackText: copyButtonFeedbackText,
|
|
338
|
-
showFeedback: showCopyButtonFeedback,
|
|
339
|
-
handleClickButton: handleClickCopyButton,
|
|
340
|
-
className: `${prefix}--snippet-button`
|
|
341
|
-
}));
|
|
310
|
+
}), copyButtonFeedbackText, handleClickCopyButton, copyButtonAssistiveText);
|
|
342
311
|
}
|
|
343
312
|
if (type === CODE_SNIPPET_TYPE.MULTI) {
|
|
344
313
|
// Ensures no extra whitespace text node
|
|
345
314
|
// prettier-ignore
|
|
346
315
|
return html(_t5 || (_t5 = _`
|
|
347
316
|
${0}
|
|
348
|
-
|
|
317
|
+
<cds-copy-button
|
|
318
|
+
feedback="${0}"
|
|
319
|
+
@click="${0}">
|
|
320
|
+
${0}
|
|
321
|
+
</cds-copy-button>
|
|
349
322
|
${0}
|
|
350
323
|
`), renderCode({
|
|
351
324
|
assistiveText: codeAssistiveText,
|
|
352
325
|
expanded,
|
|
353
326
|
children: html(_t6 || (_t6 = _`<slot @slotchange="${0}"></slot>`), handleSlotChange)
|
|
354
|
-
}),
|
|
355
|
-
assistiveText: copyButtonAssistiveText,
|
|
356
|
-
feedbackText: copyButtonFeedbackText,
|
|
357
|
-
showFeedback: showCopyButtonFeedback,
|
|
358
|
-
handleClickButton: handleClickCopyButton,
|
|
359
|
-
className: `${prefix}--snippet-button`
|
|
360
|
-
}), !showExpando ? undefined : renderExpando({
|
|
327
|
+
}), copyButtonFeedbackText, handleClickCopyButton, copyButtonAssistiveText, !showExpando ? undefined : renderExpando({
|
|
361
328
|
children: expanded ? html(_t7 || (_t7 = _`<slot name="collapse-button-text">${0}</slot>`), collapseButtonText) : html(_t8 || (_t8 = _`<slot name="expand-button-text">${0}</slot>`), expandButtonText),
|
|
362
329
|
handleClick: handleClickExpando
|
|
363
330
|
}));
|
|
@@ -366,15 +333,12 @@ let BXCodeSnippet = _decorate([customElement(`${prefix}-code-snippet`)], functio
|
|
|
366
333
|
// Ensures no extra whitespace text node
|
|
367
334
|
// prettier-ignore
|
|
368
335
|
return html(_t9 || (_t9 = _`
|
|
336
|
+
<cds-copy-button
|
|
337
|
+
feedback="${0}"
|
|
338
|
+
@click="${0}">
|
|
369
339
|
${0}
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
feedbackText: copyButtonFeedbackText,
|
|
373
|
-
showFeedback: showCopyButtonFeedback,
|
|
374
|
-
handleClickButton: handleClickCopyButton,
|
|
375
|
-
className: `${prefix}--snippet ${prefix}--snippet--inline`,
|
|
376
|
-
children: html(_t10 || (_t10 = _`<code aria-label="${0}"><slot></slot></code>`), codeAssistiveText)
|
|
377
|
-
}));
|
|
340
|
+
</cds-copy-button>
|
|
341
|
+
`), copyButtonFeedbackText, handleClickCopyButton, copyButtonAssistiveText);
|
|
378
342
|
}
|
|
379
343
|
}, {
|
|
380
344
|
kind: "field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-snippet.js","names":["classMap","LitElement","html","property","customElement","query","ChevronDown16","prefix","FocusMixin","_createHandleFeedbackTooltip","createHandleCopyButtonFeedbackTooltip","_renderButton","renderCopyButton","CODE_SNIPPET_COLOR_SCHEME","CODE_SNIPPET_TYPE","styles","renderExpando","children","handleClick","_t","_","class","role","renderCode","assistiveText","expanded","classes","Boolean","_t2","BXCodeSnippet","_decorate","_initialize","_FocusMixin","constructor","args","F","d","kind","key","value","_handleClickCopyButton","ownerDocument","doc","selection","defaultView","getSelection","removeAllRanges","code","createElement","className","pre","textContent","appendChild","body","range","createRange","selectNodeContents","addRange","execCommand","_handleCopyButtonFeedbackTooltip","copyButtonFeedbackTimeout","removeChild","showFeedback","_showCopyButtonFeedback","requestUpdate","_handleClickExpando","_expanded","_handleSlotChange","type","_preNode","preNode","MULTI","getBoundingClientRect","height","_showExpando","decorators","attribute","reflect","REGULAR","Number","SINGLE","render","codeAssistiveText","collapseButtonText","copyButtonAssistiveText","copyButtonFeedbackText","expandButtonText","showCopyButtonFeedback","showExpando","handleClickCopyButton","handleClickExpando","handleSlotChange","_t3","_t4","feedbackText","handleClickButton","_t5","_t6","undefined","_t7","_t8","_t9","_t10","static","_objectSpread","shadowRootOptions","delegatesFocus"],"sources":["components/code-snippet/code-snippet.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, TemplateResult } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport {\n _createHandleFeedbackTooltip as createHandleCopyButtonFeedbackTooltip,\n _renderButton as renderCopyButton,\n} from '../copy-button/copy-button';\nimport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE } from './defs';\nimport styles from './code-snippet.scss';\n\nexport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE };\n\n/**\n * @param values The values to render.\n * @param values.children The child nodes.\n * @param values.handleClick The handler for the `click` event on the button.\n * @returns The template result for the expando.\n */\nconst renderExpando = ({\n children,\n handleClick,\n}: {\n children: string | TemplateResult;\n handleClick: EventListener;\n}) => html`\n <button\n type=\"button\"\n class=\"${prefix}--snippet-btn--expand\"\n @click=\"${handleClick}\">\n <span id=\"button-text\" class=\"${prefix}--snippet-btn--text\">\n ${children}\n </span>\n ${ChevronDown16({\n 'aria-labeledby': 'button-text',\n class: `${prefix}--icon-chevron--down ${prefix}--snippet__icon`,\n role: 'img',\n })}\n </button>\n`;\n\n/**\n * @param values The values to render.\n * @param values.assistiveText The assistive text to announce that the node is for code snippet.\n * @param [values.expanded] `true` to show the expanded state (for multi-line variant).\n * @param values.children The child nodes.\n * @returns The template result for the code snippet.\n */\nconst renderCode = ({\n assistiveText,\n expanded,\n children,\n}: {\n assistiveText: string;\n expanded?: boolean;\n children: string | TemplateResult;\n}) => {\n const classes = classMap({\n [`${prefix}--snippet-container`]: true,\n [`${prefix}-ce--snippet-container--expanded`]: Boolean(expanded),\n });\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n <div role=\"textbox\" tabindex=\"0\" class=\"${classes}\" aria-label=\"${assistiveText}\"><code><pre>${children}</pre></code></div>\n `;\n};\n\n/**\n * Basic code snippet.\n *\n * @element cds-code-snippet\n */\n@customElement(`${prefix}-code-snippet`)\nclass BXCodeSnippet extends FocusMixin(LitElement) {\n /**\n * `true` to expand multi-line variant of code snippet.\n */\n private _expanded = false;\n\n /**\n * `true` to show the feedback tooltip.\n */\n private _showCopyButtonFeedback = false;\n\n /**\n * `true` to show the expando.\n */\n private _showExpando = false;\n\n /**\n * Handles `click` event on the copy button.\n */\n private _handleClickCopyButton() {\n const { ownerDocument: doc } = this;\n const selection = doc!.defaultView!.getSelection();\n selection!.removeAllRanges();\n const code = doc!.createElement('code');\n code.className = `${prefix}--visually-hidden`;\n const pre = doc!.createElement('pre');\n pre.textContent = this.textContent;\n code.appendChild(pre);\n // Using `<code>` in shadow DOM seems to lose the LFs in some browsers\n doc!.body.appendChild(code);\n const range = doc!.createRange();\n range.selectNodeContents(code);\n selection!.addRange(range);\n doc!.execCommand('copy');\n this._handleCopyButtonFeedbackTooltip(this.copyButtonFeedbackTimeout);\n doc!.body.removeChild(code);\n selection!.removeAllRanges();\n }\n\n /**\n * Handles showing/hiding the feedback tooltip.\n */\n private _handleCopyButtonFeedbackTooltip =\n createHandleCopyButtonFeedbackTooltip(\n ({ showFeedback = false }: { showFeedback?: boolean }) => {\n this._showCopyButtonFeedback = showFeedback;\n this.requestUpdate();\n }\n );\n\n /**\n * Handles `click` event on the expando.\n */\n private _handleClickExpando() {\n this._expanded = !this._expanded;\n this.requestUpdate();\n }\n\n /**\n * Handles change in slot content to determine if the content\n */\n private _handleSlotChange() {\n const { type, _preNode: preNode } = this;\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n if (preNode.getBoundingClientRect().height > 255) {\n this._showExpando = true;\n this.requestUpdate();\n }\n }\n }\n\n /**\n * The `<pre>` element in the shadow DOM.\n */\n @query('pre')\n private _preNode!: HTMLPreElement;\n\n /**\n * An assistive text for screen reader to advice a DOM node is for code snippet.\n */\n @property({ attribute: 'code-assistive-text' })\n codeAssistiveText = 'code-snippet';\n\n /**\n * The context content for the collapse button.\n */\n @property({ attribute: 'collapse-button-text' })\n collapseButtonText = 'Show less';\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = CODE_SNIPPET_COLOR_SCHEME.REGULAR;\n\n /**\n * An assistive text for screen reader to announce, telling that the button copies the content to the clipboard.\n */\n @property({ attribute: 'copy-button-assistive-text' })\n copyButtonAssistiveText = 'Copy to clipboard';\n\n /**\n * The feedback text for the copy button.\n */\n @property({ attribute: 'copy-button-feedback-text' })\n copyButtonFeedbackText = 'Copied!';\n\n /**\n * The number in milliseconds to determine how long the tooltip for the copy button should remain.\n */\n @property({ type: Number, attribute: 'copy-button-feedback-timeout' })\n copyButtonFeedbackTimeout = 2000;\n\n /**\n * The context content for the expand button.\n */\n @property({ attribute: 'expand-button-text' })\n expandButtonText = 'Show more';\n\n /**\n * The type of code snippet.\n */\n @property({ reflect: true })\n type = CODE_SNIPPET_TYPE.SINGLE;\n\n render() {\n const {\n codeAssistiveText,\n collapseButtonText,\n copyButtonAssistiveText,\n copyButtonFeedbackText,\n expandButtonText,\n type,\n _expanded: expanded,\n _showCopyButtonFeedback: showCopyButtonFeedback,\n _showExpando: showExpando,\n _handleClickCopyButton: handleClickCopyButton,\n _handleClickExpando: handleClickExpando,\n _handleSlotChange: handleSlotChange,\n } = this;\n\n if (type === CODE_SNIPPET_TYPE.SINGLE) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n ${renderCopyButton({\n assistiveText: copyButtonAssistiveText,\n feedbackText: copyButtonFeedbackText,\n showFeedback: showCopyButtonFeedback,\n handleClickButton: handleClickCopyButton,\n className: `${prefix}--snippet-button`,\n })}\n `;\n }\n\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n ${renderCopyButton({\n assistiveText: copyButtonAssistiveText,\n feedbackText: copyButtonFeedbackText,\n showFeedback: showCopyButtonFeedback,\n handleClickButton: handleClickCopyButton,\n className: `${prefix}--snippet-button`,\n })}\n ${!showExpando\n ? undefined\n : renderExpando({\n children: expanded\n ? html`<slot name=\"collapse-button-text\">${collapseButtonText}</slot>`\n : html`<slot name=\"expand-button-text\">${expandButtonText}</slot>`,\n handleClick: handleClickExpando,\n })}\n `;\n }\n\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCopyButton({\n assistiveText: copyButtonAssistiveText,\n feedbackText: copyButtonFeedbackText,\n showFeedback: showCopyButtonFeedback,\n handleClickButton: handleClickCopyButton,\n className: `${prefix}--snippet ${prefix}--snippet--inline`,\n children: html`<code aria-label=\"${codeAssistiveText}\"><slot></slot></code>`,\n })}\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default BXCodeSnippet;\n"],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAQ,6BAA6B;AACtD,SAASC,UAAU,EAAEC,IAAI,QAAwB,KAAK;AACtD,SAASC,QAAQ,EAAEC,aAAa,EAAEC,KAAK,QAAQ,mBAAmB;AAClE,OAAOC,aAAa,MAAM,8BAAoC;AAC9D,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,UAAU,MAAM,4BAA4B;AACnD,SACEC,4BAA4B,IAAIC,qCAAqC,EACrEC,aAAa,IAAIC,gBAAgB,QAC5B,4BAA4B;AACnC,SAASC,yBAAyB,EAAEC,iBAAiB,QAAQ,QAAQ;AACrE,OAAOC,MAAM,MAAM,yBAAqB;AAExC,SAASF,yBAAyB,EAAEC,iBAAiB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA,MAAME,aAAa,GAAGA,CAAC;EACrBC,QAAQ;EACRC;AAIF,CAAC,KAAKhB,IAAI,CAAAiB,EAAA,KAAAA,EAAA,GAAAC,CAAC;AACX;AACA;AACA,aAAW,CAAS;AACpB,cAAY,CAAc;AAC1B,oCAAkC,CAAS;AAC3C,QAAM,CAAW;AACjB;AACA,MAAI,CAIG;AACP;AACA,IAXab,MAAM,EACLW,WAAW,EACWX,MAAM,EAClCU,QAAQ,EAEVX,aAAa,CAAC;EACd,gBAAgB,EAAE,aAAa;EAC/Be,KAAK,EAAG,GAAEd,MAAO,wBAAuBA,MAAO,iBAAgB;EAC/De,IAAI,EAAE;AACR,CAAC,CAAC,CAEL;;AAED;AACA;AACA;AACA;AACA;AAC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AAAjF,CAAC;AAChB,QAAM,CAOG;AACT,KAAI,GARIR,gBAAgB,CAAC;UACjBY,aAAa,EAAE4D,uBAAuB;UACtCU,YAAY,EAAET,sBAAsB;UACpCvB,YAAY,EAAEyB,sBAAsB;UACpCQ,iBAAiB,EAAEN,qBAAqB;UACxCxC,SAAS,EAAG,GAAE1C,MAAO,aAAYA,MAAO,mBAAkB;UAC1DU,QAAQ,EAAEf,IAAI,CAAAoG,IAAA,KAAAA,IAAA,GAAAlF,CAAC,qBAAkB,CAAoB,wBAAsB,GAAxC8D,iBAAiB;QACtD,CAAC,CAAC;MAEN;IAAC;MAAA7C,IAAA;MAAAkE,MAAA;MAAAjE,GAAA;MAAAC,MAAA;QAAA,OAAAiE,aAAA,CAAAA,aAAA,KAGIvG,UAAU,CAACwG,iBAAiB;UAC/BC,cAAc,EAAE;QAAI;MAAA;IAAA;MAAArE,IAAA;MAAAkE,MAAA;MAAAjE,GAAA;MAAAC,MAAA;QAAA,OAENxB,MAAM;MAAA;IAAA;EAAA;AAAA,GA7MIP,UAAU,CAACP,UAAU,CAAC;AAgNlD,eAAe4B,aAAa"}
|
|
1
|
+
{"version":3,"file":"code-snippet.js","names":["classMap","LitElement","html","property","customElement","query","ChevronDown16","prefix","FocusMixin","CODE_SNIPPET_COLOR_SCHEME","CODE_SNIPPET_TYPE","styles","renderExpando","children","handleClick","_t","_","class","role","renderCode","assistiveText","expanded","classes","Boolean","_t2","BXCodeSnippet","_decorate","_initialize","_FocusMixin","constructor","args","F","d","kind","key","value","_handleClickCopyButton","ownerDocument","doc","selection","defaultView","getSelection","removeAllRanges","code","createElement","className","pre","textContent","appendChild","body","range","createRange","selectNodeContents","addRange","execCommand","removeChild","_handleClickExpando","_expanded","requestUpdate","_handleSlotChange","type","_preNode","preNode","MULTI","getBoundingClientRect","height","_showExpando","decorators","attribute","reflect","REGULAR","Number","SINGLE","render","codeAssistiveText","collapseButtonText","copyButtonAssistiveText","copyButtonFeedbackText","expandButtonText","showExpando","handleClickCopyButton","handleClickExpando","handleSlotChange","_t3","_t4","_t5","_t6","undefined","_t7","_t8","_t9","static","_objectSpread","shadowRootOptions","delegatesFocus"],"sources":["components/code-snippet/code-snippet.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, TemplateResult } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE } from './defs';\nimport styles from './code-snippet.scss';\n\nexport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE };\n\n/**\n * @param values The values to render.\n * @param values.children The child nodes.\n * @param values.handleClick The handler for the `click` event on the button.\n * @returns The template result for the expando.\n */\nconst renderExpando = ({\n children,\n handleClick,\n}: {\n children: string | TemplateResult;\n handleClick: EventListener;\n}) => html`\n <button\n type=\"button\"\n class=\"${prefix}--snippet-btn--expand\"\n @click=\"${handleClick}\">\n <span id=\"button-text\" class=\"${prefix}--snippet-btn--text\">\n ${children}\n </span>\n ${ChevronDown16({\n 'aria-labeledby': 'button-text',\n class: `${prefix}--icon-chevron--down ${prefix}--snippet__icon`,\n role: 'img',\n })}\n </button>\n`;\n\n/**\n * @param values The values to render.\n * @param values.assistiveText The assistive text to announce that the node is for code snippet.\n * @param [values.expanded] `true` to show the expanded state (for multi-line variant).\n * @param values.children The child nodes.\n * @returns The template result for the code snippet.\n */\nconst renderCode = ({\n assistiveText,\n expanded,\n children,\n}: {\n assistiveText: string;\n expanded?: boolean;\n children: string | TemplateResult;\n}) => {\n const classes = classMap({\n [`${prefix}--snippet-container`]: true,\n [`${prefix}-ce--snippet-container--expanded`]: Boolean(expanded),\n });\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n <div role=\"textbox\" tabindex=\"0\" class=\"${classes}\" aria-label=\"${assistiveText}\"><code><pre>${children}</pre></code></div>\n `;\n};\n\n/**\n * Basic code snippet.\n *\n * @element cds-code-snippet\n */\n@customElement(`${prefix}-code-snippet`)\nclass BXCodeSnippet extends FocusMixin(LitElement) {\n /**\n * `true` to expand multi-line variant of code snippet.\n */\n private _expanded = false;\n\n /**\n * `true` to show the expando.\n */\n private _showExpando = false;\n\n /**\n * Handles `click` event on the copy button.\n */\n private _handleClickCopyButton() {\n const { ownerDocument: doc } = this;\n const selection = doc!.defaultView!.getSelection();\n selection!.removeAllRanges();\n const code = doc!.createElement('code');\n code.className = `${prefix}--visually-hidden`;\n const pre = doc!.createElement('pre');\n pre.textContent = this.textContent;\n code.appendChild(pre);\n // Using `<code>` in shadow DOM seems to lose the LFs in some browsers\n doc!.body.appendChild(code);\n const range = doc!.createRange();\n range.selectNodeContents(code);\n selection!.addRange(range);\n doc!.execCommand('copy');\n doc!.body.removeChild(code);\n selection!.removeAllRanges();\n }\n\n /**\n * Handles `click` event on the expando.\n */\n private _handleClickExpando() {\n this._expanded = !this._expanded;\n this.requestUpdate();\n }\n\n /**\n * Handles change in slot content to determine if the content\n */\n private _handleSlotChange() {\n const { type, _preNode: preNode } = this;\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n if (preNode.getBoundingClientRect().height > 255) {\n this._showExpando = true;\n this.requestUpdate();\n }\n }\n }\n\n /**\n * The `<pre>` element in the shadow DOM.\n */\n @query('pre')\n private _preNode!: HTMLPreElement;\n\n /**\n * An assistive text for screen reader to advice a DOM node is for code snippet.\n */\n @property({ attribute: 'code-assistive-text' })\n codeAssistiveText = 'code-snippet';\n\n /**\n * The context content for the collapse button.\n */\n @property({ attribute: 'collapse-button-text' })\n collapseButtonText = 'Show less';\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = CODE_SNIPPET_COLOR_SCHEME.REGULAR;\n\n /**\n * An assistive text for screen reader to announce, telling that the button copies the content to the clipboard.\n */\n @property({ attribute: 'copy-button-assistive-text' })\n copyButtonAssistiveText = 'Copy to clipboard';\n\n /**\n * The feedback text for the copy button.\n */\n @property({ attribute: 'copy-button-feedback-text' })\n copyButtonFeedbackText = 'Copied!';\n\n /**\n * The number in milliseconds to determine how long the tooltip for the copy button should remain.\n */\n @property({ type: Number, attribute: 'copy-button-feedback-timeout' })\n copyButtonFeedbackTimeout = 2000;\n\n /**\n * The context content for the expand button.\n */\n @property({ attribute: 'expand-button-text' })\n expandButtonText = 'Show more';\n\n /**\n * The type of code snippet.\n */\n @property({ reflect: true })\n type = CODE_SNIPPET_TYPE.SINGLE;\n\n render() {\n const {\n codeAssistiveText,\n collapseButtonText,\n copyButtonAssistiveText,\n copyButtonFeedbackText,\n expandButtonText,\n type,\n _expanded: expanded,\n _showExpando: showExpando,\n _handleClickCopyButton: handleClickCopyButton,\n _handleClickExpando: handleClickExpando,\n _handleSlotChange: handleSlotChange,\n } = this;\n\n if (type === CODE_SNIPPET_TYPE.SINGLE) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n <cds-copy-button\n feedback=\"${copyButtonFeedbackText}\"\n @click=\"${handleClickCopyButton}\">\n ${copyButtonAssistiveText}\n </cds-copy-button>\n `;\n }\n\n if (type === CODE_SNIPPET_TYPE.MULTI) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n ${renderCode({\n assistiveText: codeAssistiveText,\n expanded,\n children: html`<slot @slotchange=\"${handleSlotChange}\"></slot>`,\n })}\n <cds-copy-button\n feedback=\"${copyButtonFeedbackText}\"\n @click=\"${handleClickCopyButton}\">\n ${copyButtonAssistiveText}\n </cds-copy-button>\n ${!showExpando\n ? undefined\n : renderExpando({\n children: expanded\n ? html`<slot name=\"collapse-button-text\">${collapseButtonText}</slot>`\n : html`<slot name=\"expand-button-text\">${expandButtonText}</slot>`,\n handleClick: handleClickExpando,\n })}\n `;\n }\n\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n <cds-copy-button\n feedback=\"${copyButtonFeedbackText}\"\n @click=\"${handleClickCopyButton}\">\n ${copyButtonAssistiveText}\n </cds-copy-button>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default BXCodeSnippet;\n"],"mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAQ,6BAA6B;AACtD,SAASC,UAAU,EAAEC,IAAI,QAAwB,KAAK;AACtD,SAASC,QAAQ,EAAEC,aAAa,EAAEC,KAAK,QAAQ,mBAAmB;AAClE,OAAOC,aAAa,MAAM,8BAAoC;AAC9D,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,UAAU,MAAM,4BAA4B;AACnD,SAASC,yBAAyB,EAAEC,iBAAiB,QAAQ,QAAQ;AACrE,OAAOC,MAAM,MAAM,yBAAqB;AAExC,SAASF,yBAAyB,EAAEC,iBAAiB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA,MAAME,aAAa,GAAGA,CAAC;EACrBC,QAAQ;EACRC;AAIF,CAAC,KAAKZ,IAAI,CAAAa,EAAA,KAAAA,EAAA,GAAAC,CAAC;AACX;AACA;AACA,aAAW,CAAS;AACpB,cAAY,CAAc;AAC1B,oCAAkC,CAAS;AAC3C,QAAM,CAAW;AACjB;AACA,MAAI,CAIG;AACP;AACA,IAXaT,MAAM,EACLO,WAAW,EACWP,MAAM,EAClCM,QAAQ,EAEVP,aAAa,CAAC;EACd,gBAAgB,EAAE,aAAa;EAC/BW,KAAK,EAAG,GAAEV,MAAO,wBAAuBA,MAAO,iBAAgB;EAC/DW,IAAI,EAAE;AACR,CAAC,CAAC,CAEL;;AAED;AACA;A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,CAOO;AACf,OAAM,GAlBIG,UAAU,CAAC;YACXC,aAAa,EAAEsD,iBAAiB;YAChCrD,QAAQ;YACRR,QAAQ,EAAEX,IAAI,CAAAoF,GAAA,KAAAA,GAAA,GAAAtE,CAAC,sBAAmB,CAAmB,WAAS,GAA1BkE,gBAAgB;UACtD,CAAC,CAAC,EAEYL,sBAAsB,EACxBG,qBAAqB,EAC7BJ,uBAAuB,EAEzB,CAACG,WAAW,GACVQ,SAAS,GACT3E,aAAa,CAAC;YACZC,QAAQ,EAAEQ,QAAQ,GACdnB,IAAI,CAAAsF,GAAA,KAAAA,GAAA,GAAAxE,CAAC,qCAAkC,CAAqB,SAAO,GAA1B2D,kBAAkB,IAC3DzE,IAAI,CAAAuF,GAAA,KAAAA,GAAA,GAAAzE,CAAC,mCAAgC,CAAmB,SAAO,GAAxB8D,gBAAgB,CAAS;YACpEhE,WAAW,EAAEmE;UACf,CAAC,CAAC;QAEV;;QAEA;QACA;QACA,OAAO/E,IAAI,CAAAwF,GAAA,KAAAA,GAAA,GAAA1E,CAAC;AAChB;AACA,kBAAgB,CAAyB;AACzC,gBAAc,CAAwB;AACtC,QAAM,CAA0B;AAChC;AACA,KAAI,GAJc6D,sBAAsB,EACxBG,qBAAqB,EAC7BJ,uBAAuB;MAG7B;IAAC;MAAA3C,IAAA;MAAA0D,MAAA;MAAAzD,GAAA;MAAAC,MAAA;QAAA,OAAAyD,aAAA,CAAAA,aAAA,KAGI3F,UAAU,CAAC4F,iBAAiB;UAC/BC,cAAc,EAAE;QAAI;MAAA;IAAA;MAAA7D,IAAA;MAAA0D,MAAA;MAAAzD,GAAA;MAAAC,MAAA;QAAA,OAENxB,MAAM;MAAA;IAAA;EAAA;AAAA,GApLIH,UAAU,CAACP,UAAU,CAAC;AAuLlD,eAAewB,aAAa"}
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import
|
|
9
|
+
import CDSDropdownItem from '../dropdown/dropdown-item';
|
|
10
10
|
/**
|
|
11
11
|
* Combo box item.
|
|
12
12
|
*
|
|
13
13
|
* @element cds-combo-box-item
|
|
14
14
|
*/
|
|
15
|
-
declare class
|
|
15
|
+
declare class CDSComboBoxItem extends CDSDropdownItem {
|
|
16
16
|
static styles: any;
|
|
17
17
|
}
|
|
18
|
-
export default
|
|
18
|
+
export default CDSComboBoxItem;
|
|
19
19
|
|
|
20
20
|
//# sourceMappingURL=combo-box-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["components/combo-box/combo-box-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,
|
|
1
|
+
{"version":3,"sources":["components/combo-box/combo-box-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAGxD;;;;GAIG;AACH,cACM,eAAgB,SAAQ,eAAe;IAC3C,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"combo-box-item.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSDropdownItem from '../dropdown/dropdown-item';\nimport styles from './combo-box.scss';\n\n/**\n * Combo box item.\n *\n * @element cds-combo-box-item\n */\n@customElement(`${prefix}-combo-box-item`)\nclass CDSComboBoxItem extends CDSDropdownItem {\n static styles = styles;\n}\n\nexport default CDSComboBoxItem;\n"]}
|
|
@@ -10,7 +10,7 @@ import _decorate from "@babel/runtime/helpers/esm/decorate";
|
|
|
10
10
|
|
|
11
11
|
import { customElement } from 'lit/decorators.js';
|
|
12
12
|
import { prefix } from '../../globals/settings';
|
|
13
|
-
import
|
|
13
|
+
import CDSDropdownItem from '../dropdown/dropdown-item';
|
|
14
14
|
import styles from "././combo-box.css.js";
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -22,15 +22,15 @@ import styles from "././combo-box.css.js";
|
|
|
22
22
|
*
|
|
23
23
|
* @element cds-combo-box-item
|
|
24
24
|
*/
|
|
25
|
-
let
|
|
26
|
-
class
|
|
25
|
+
let CDSComboBoxItem = _decorate([customElement(`${prefix}-combo-box-item`)], function (_initialize, _CDSDropdownItem) {
|
|
26
|
+
class CDSComboBoxItem extends _CDSDropdownItem {
|
|
27
27
|
constructor(...args) {
|
|
28
28
|
super(...args);
|
|
29
29
|
_initialize(this);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
F:
|
|
33
|
+
F: CDSComboBoxItem,
|
|
34
34
|
d: [{
|
|
35
35
|
kind: "field",
|
|
36
36
|
static: true,
|
|
@@ -40,6 +40,6 @@ let BXComboBoxItem = _decorate([customElement(`${prefix}-combo-box-item`)], func
|
|
|
40
40
|
}
|
|
41
41
|
}]
|
|
42
42
|
};
|
|
43
|
-
},
|
|
44
|
-
export default
|
|
43
|
+
}, CDSDropdownItem);
|
|
44
|
+
export default CDSComboBoxItem;
|
|
45
45
|
//# sourceMappingURL=combo-box-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combo-box-item.js","names":["customElement","prefix","
|
|
1
|
+
{"version":3,"file":"combo-box-item.js","names":["customElement","prefix","CDSDropdownItem","styles","CDSComboBoxItem","_decorate","_initialize","_CDSDropdownItem","constructor","args","F","d","kind","static","key","value"],"sources":["components/combo-box/combo-box-item.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSDropdownItem from '../dropdown/dropdown-item';\nimport styles from './combo-box.scss';\n\n/**\n * Combo box item.\n *\n * @element cds-combo-box-item\n */\n@customElement(`${prefix}-combo-box-item`)\nclass CDSComboBoxItem extends CDSDropdownItem {\n static styles = styles;\n}\n\nexport default CDSComboBoxItem;\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,aAAa,QAAQ,mBAAmB;AACjD,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,eAAe,MAAM,2BAA2B;AACvD,OAAOC,MAAM,MAAM,sBAAkB;;AAErC;AACA;AACA;AACA;AACA,GAJA;AACA;AACA;AACA;AACA;AAJA,IAMMC,eAAe,GAAAC,SAAA,EADpBL,aAAa,CAAE,GAAEC,MAAO,iBAAgB,CAAC,aAAAK,WAAA,EAAAC,gBAAA;EAA1C,MACMH,eAAe,SAAAG,gBAAA,CAAyB;IAAAC,YAAA,GAAAC,IAAA;MAAA,SAAAA,IAAA;MAAAH,WAAA;IAAA;EAE9C;EAAC;IAAAI,CAAA,EAFKN,eAAe;IAAAO,CAAA;MAAAC,IAAA;MAAAC,MAAA;MAAAC,GAAA;MAAAC,MAAA;QAAA,OACHZ,MAAM;MAAA;IAAA;EAAA;AAAA,GADMD,eAAe;AAI7C,eAAeE,eAAe"}
|