@carbon/web-components 2.62.0 → 2.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/bin/create-prefixed-build.js +157 -0
- package/custom-elements.json +2074 -360
- package/es/components/accordion/accordion.scss.js +1 -1
- package/es/components/action-set/action-set.scss.js +1 -1
- package/es/components/ai-label/ai-label-action-button.d.ts +1 -1
- package/es/components/ai-label/ai-label-action-button.d.ts.map +1 -1
- package/es/components/ai-label/ai-label-action-button.js +4 -3
- package/es/components/ai-label/ai-label-action-button.js.map +1 -1
- package/es/components/ai-label/ai-label.scss.js +1 -1
- package/es/components/ai-label/ai-label.scss.js.map +1 -1
- package/es/components/ai-label/index.d.ts +1 -0
- package/es/components/ai-label/index.d.ts.map +1 -1
- package/es/components/ai-label/index.js +1 -0
- package/es/components/ai-skeleton/ai-skeleton.scss.js +1 -1
- package/es/components/big-number/big-number-skeleton.d.ts +21 -0
- package/es/components/big-number/big-number-skeleton.d.ts.map +1 -0
- package/es/components/big-number/big-number-skeleton.js +62 -0
- package/es/components/big-number/big-number-skeleton.js.map +1 -0
- package/es/components/big-number/big-number-skeleton.scss.js +14 -0
- package/es/components/big-number/big-number-skeleton.scss.js.map +1 -0
- package/es/components/big-number/big-number.d.ts +35 -0
- package/es/components/big-number/big-number.d.ts.map +1 -0
- package/es/components/big-number/big-number.js +171 -0
- package/es/components/big-number/big-number.js.map +1 -0
- package/es/components/big-number/big-number.scss.js +14 -0
- package/es/components/big-number/big-number.scss.js.map +1 -0
- package/es/components/big-number/constants.d.ts +20 -0
- package/es/components/big-number/constants.d.ts.map +1 -0
- package/es/components/big-number/constants.js +32 -0
- package/es/components/big-number/constants.js.map +1 -0
- package/es/components/big-number/index.d.ts +8 -0
- package/es/components/big-number/index.d.ts.map +1 -0
- package/es/components/big-number/index.js +8 -0
- package/es/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
- package/es/components/breadcrumb/breadcrumb-item.js +2 -1
- package/es/components/breadcrumb/breadcrumb-item.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/es/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/es/components/breadcrumb/breadcrumb.js +2 -2
- package/es/components/breadcrumb/breadcrumb.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es/components/button/button.d.ts.map +1 -1
- package/es/components/button/button.js +1 -1
- package/es/components/button/button.js.map +1 -1
- package/es/components/button/button.scss.js +1 -1
- package/es/components/card/card-action.d.ts +27 -0
- package/es/components/card/card-action.d.ts.map +1 -0
- package/es/components/card/card-action.js +52 -0
- package/es/components/card/card-action.js.map +1 -0
- package/es/components/card/card-actions.d.ts +36 -0
- package/es/components/card/card-actions.d.ts.map +1 -0
- package/es/components/card/card-actions.js +171 -0
- package/es/components/card/card-actions.js.map +1 -0
- package/es/components/card/card-body.d.ts +23 -0
- package/es/components/card/card-body.d.ts.map +1 -0
- package/es/components/card/card-body.js +54 -0
- package/es/components/card/card-body.js.map +1 -0
- package/es/components/card/card-context.d.ts +20 -0
- package/es/components/card/card-context.d.ts.map +1 -0
- package/es/components/card/card-context.js +29 -0
- package/es/components/card/card-context.js.map +1 -0
- package/es/components/card/card-footer.d.ts +34 -0
- package/es/components/card/card-footer.d.ts.map +1 -0
- package/es/components/card/card-footer.js +75 -0
- package/es/components/card/card-footer.js.map +1 -0
- package/es/components/card/card-header-media.d.ts +19 -0
- package/es/components/card/card-header-media.d.ts.map +1 -0
- package/es/components/card/card-header-media.js +39 -0
- package/es/components/card/card-header-media.js.map +1 -0
- package/es/components/card/card-header.d.ts +23 -0
- package/es/components/card/card-header.d.ts.map +1 -0
- package/es/components/card/card-header.js +70 -0
- package/es/components/card/card-header.js.map +1 -0
- package/es/components/card/card-media.d.ts +37 -0
- package/es/components/card/card-media.d.ts.map +1 -0
- package/es/components/card/card-media.js +79 -0
- package/es/components/card/card-media.js.map +1 -0
- package/es/components/card/card-title-media.d.ts +19 -0
- package/es/components/card/card-title-media.d.ts.map +1 -0
- package/es/components/card/card-title-media.js +39 -0
- package/es/components/card/card-title-media.js.map +1 -0
- package/es/components/card/card-title.d.ts +52 -0
- package/es/components/card/card-title.d.ts.map +1 -0
- package/es/components/card/card-title.js +144 -0
- package/es/components/card/card-title.js.map +1 -0
- package/es/components/card/card.d.ts +69 -0
- package/es/components/card/card.d.ts.map +1 -0
- package/es/components/card/card.js +185 -0
- package/es/components/card/card.js.map +1 -0
- package/es/components/card/card.scss.js +14 -0
- package/es/components/card/card.scss.js.map +1 -0
- package/es/components/card/defs.d.ts +33 -0
- package/es/components/card/defs.d.ts.map +1 -0
- package/es/components/card/defs.js +46 -0
- package/es/components/card/defs.js.map +1 -0
- package/es/components/card/index.d.ts +17 -0
- package/es/components/card/index.d.ts.map +1 -0
- package/es/components/card/index.js +17 -0
- package/es/components/checkbox/checkbox.scss.js +1 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +67 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +120 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +14 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/defs.d.ts +13 -0
- package/es/components/coachmark/coachmark-beacon/defs.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/es/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/index.d.ts +8 -0
- package/es/components/coachmark/coachmark-beacon/index.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-beacon/index.js +8 -0
- package/es/components/coachmark/coachmark-body.d.ts +31 -0
- package/es/components/coachmark/coachmark-body.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-body.js +39 -0
- package/es/components/coachmark/coachmark-body.js.map +1 -0
- package/es/components/coachmark/coachmark-body.scss.js +14 -0
- package/es/components/coachmark/coachmark-body.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-context.d.ts +12 -0
- package/es/components/coachmark/coachmark-context.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-context.js +39 -0
- package/es/components/coachmark/coachmark-context.js.map +1 -0
- package/es/components/coachmark/coachmark-header.d.ts +41 -0
- package/es/components/coachmark/coachmark-header.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-header.js +95 -0
- package/es/components/coachmark/coachmark-header.js.map +1 -0
- package/es/components/coachmark/coachmark-header.scss.js +14 -0
- package/es/components/coachmark/coachmark-header.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-helpers.d.ts +10 -0
- package/es/components/coachmark/coachmark-helpers.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-helpers.js +33 -0
- package/es/components/coachmark/coachmark-helpers.js.map +1 -0
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +72 -0
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js +130 -0
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -0
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js +14 -0
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-tagline/index.d.ts +8 -0
- package/es/components/coachmark/coachmark-tagline/index.d.ts.map +1 -0
- package/es/components/coachmark/coachmark-tagline/index.js +8 -0
- package/es/components/coachmark/coachmark.d.ts +97 -0
- package/es/components/coachmark/coachmark.d.ts.map +1 -0
- package/es/components/coachmark/coachmark.js +290 -0
- package/es/components/coachmark/coachmark.js.map +1 -0
- package/es/components/coachmark/coachmark.scss.js +14 -0
- package/es/components/coachmark/coachmark.scss.js.map +1 -0
- package/es/components/coachmark/index.d.ts +10 -0
- package/es/components/coachmark/index.d.ts.map +1 -0
- package/es/components/coachmark/index.js +10 -0
- package/es/components/code-snippet/code-snippet.scss.js +1 -1
- package/es/components/combo-box/combo-box.d.ts.map +1 -1
- package/es/components/combo-box/combo-box.js +5 -12
- package/es/components/combo-box/combo-box.js.map +1 -1
- package/es/components/combo-box/combo-box.scss.js +1 -1
- package/es/components/combo-box/combo-box.scss.js.map +1 -1
- package/es/components/combo-button/combo-button.scss.js +1 -1
- package/es/components/contained-list/contained-list.scss.js +1 -1
- package/es/components/content-switcher/content-switcher.scss.js +1 -1
- package/es/components/copy/index.d.ts +9 -0
- package/es/components/copy/index.d.ts.map +1 -0
- package/es/components/copy/index.js +9 -0
- package/es/components/copy-button/copy-button.scss.js +1 -1
- package/es/components/data-table/data-table.scss.js +1 -1
- package/es/components/date-picker/date-picker.scss.js +1 -1
- package/es/components/date-picker/date-picker.scss.js.map +1 -1
- package/es/components/date-picker/next/components/date-picker.scss.js +1 -1
- package/es/components/date-picker/next/components/date-picker.scss.js.map +1 -1
- package/es/components/dialog/dialog.scss.js +1 -1
- package/es/components/dropdown/dropdown.d.ts +2 -1
- package/es/components/dropdown/dropdown.d.ts.map +1 -1
- package/es/components/dropdown/dropdown.js +13 -15
- package/es/components/dropdown/dropdown.js.map +1 -1
- package/es/components/dropdown/dropdown.scss.js +1 -1
- package/es/components/dropdown/dropdown.scss.js.map +1 -1
- package/es/components/edit-in-place/defs.d.ts +30 -0
- package/es/components/edit-in-place/defs.d.ts.map +1 -0
- package/es/components/edit-in-place/defs.js +43 -0
- package/es/components/edit-in-place/defs.js.map +1 -0
- package/es/components/edit-in-place/edit-in-place-helpers.d.ts +47 -0
- package/es/components/edit-in-place/edit-in-place-helpers.d.ts.map +1 -0
- package/es/components/edit-in-place/edit-in-place-helpers.js +59 -0
- package/es/components/edit-in-place/edit-in-place-helpers.js.map +1 -0
- package/es/components/edit-in-place/edit-in-place.d.ts +214 -0
- package/es/components/edit-in-place/edit-in-place.d.ts.map +1 -0
- package/es/components/edit-in-place/edit-in-place.js +453 -0
- package/es/components/edit-in-place/edit-in-place.js.map +1 -0
- package/es/components/edit-in-place/edit-in-place.scss.js +14 -0
- package/es/components/edit-in-place/edit-in-place.scss.js.map +1 -0
- package/es/components/edit-in-place/index.d.ts +10 -0
- package/es/components/edit-in-place/index.d.ts.map +1 -0
- package/es/components/edit-in-place/index.js +20 -0
- package/es/components/edit-in-place/index.js.map +1 -0
- package/es/components/file-uploader/file-uploader.scss.js +1 -1
- package/es/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
- package/es/components/fluid-combo-box/fluid-combo-box.scss.js.map +1 -1
- package/es/components/fluid-date-picker/fluid-date-picker.d.ts +5 -1
- package/es/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -1
- package/es/components/fluid-date-picker/fluid-date-picker.js +27 -1
- package/es/components/fluid-date-picker/fluid-date-picker.js.map +1 -1
- package/es/components/fluid-date-picker/fluid-date-picker.scss.js +1 -1
- package/es/components/fluid-date-picker/fluid-date-picker.scss.js.map +1 -1
- package/es/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
- package/es/components/fluid-dropdown/fluid-dropdown.scss.js.map +1 -1
- package/es/components/fluid-form/fluid-form.scss.js +1 -1
- package/es/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
- package/es/components/fluid-multi-select/fluid-multi-select.scss.js.map +1 -1
- package/es/components/fluid-number-input/fluid-number-input.scss.js +1 -1
- package/es/components/fluid-number-input/fluid-number-input.scss.js.map +1 -1
- package/es/components/fluid-password-input/fluid-password-input.scss.js +1 -1
- package/es/components/fluid-search/fluid-search.scss.js +1 -1
- package/es/components/fluid-search/fluid-search.scss.js.map +1 -1
- package/es/components/fluid-select/fluid-select.scss.js +1 -1
- package/es/components/fluid-text-input/fluid-text-input.scss.js +1 -1
- package/es/components/fluid-textarea/fluid-textarea.scss.js +1 -1
- package/es/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
- package/es/components/form/form-item.scss.js +1 -1
- package/es/components/form/form.scss.js +1 -1
- package/es/components/form-group/form-group.scss.js +1 -1
- package/es/components/grid/column-hang.scss.js +1 -1
- package/es/components/grid/grid.scss.js +1 -1
- package/es/components/icon-button/icon-button.d.ts +1 -1
- package/es/components/icon-button/icon-button.js +1 -1
- package/es/components/icon-button/icon-button.js.map +1 -1
- package/es/components/inline-loading/inline-loading.scss.js +1 -1
- package/es/components/layer/layer.scss.js +1 -1
- package/es/components/layout/layout.scss.js +1 -1
- package/es/components/link/link.d.ts +2 -1
- package/es/components/link/link.d.ts.map +1 -1
- package/es/components/link/link.js +1 -1
- package/es/components/link/link.js.map +1 -1
- package/es/components/loading/loading.scss.js +1 -1
- package/es/components/menu/menu-item.d.ts.map +1 -1
- package/es/components/menu/menu-item.js +2 -6
- package/es/components/menu/menu-item.js.map +1 -1
- package/es/components/menu/menu-item.scss.js +1 -1
- package/es/components/menu/menu-item.scss.js.map +1 -1
- package/es/components/menu/menu.d.ts +10 -0
- package/es/components/menu/menu.d.ts.map +1 -1
- package/es/components/menu/menu.js +17 -11
- package/es/components/menu/menu.js.map +1 -1
- package/es/components/menu/menu.scss.js +1 -1
- package/es/components/menu/menu.scss.js.map +1 -1
- package/es/components/menu-button/menu-button.scss.js +1 -1
- package/es/components/modal/modal.scss.js +1 -1
- package/es/components/multi-select/multi-select-item.d.ts +1 -1
- package/es/components/multi-select/multi-select-item.d.ts.map +1 -1
- package/es/components/multi-select/multi-select-item.js +5 -1
- package/es/components/multi-select/multi-select-item.js.map +1 -1
- package/es/components/multi-select/multi-select.d.ts +2 -1
- package/es/components/multi-select/multi-select.d.ts.map +1 -1
- package/es/components/multi-select/multi-select.js +15 -14
- package/es/components/multi-select/multi-select.js.map +1 -1
- package/es/components/multi-select/multi-select.scss.js +1 -1
- package/es/components/multi-select/multi-select.scss.js.map +1 -1
- package/es/components/notification/actionable-notification-button.d.ts +1 -1
- package/es/components/notification/actionable-notification-button.d.ts.map +1 -1
- package/es/components/notification/actionable-notification-button.js +2 -2
- package/es/components/notification/actionable-notification-button.js.map +1 -1
- package/es/components/notification/actionable-notification.d.ts.map +1 -1
- package/es/components/notification/actionable-notification.js +4 -4
- package/es/components/notification/actionable-notification.js.map +1 -1
- package/es/components/notification/actionable-notification.scss.js +1 -1
- package/es/components/notification/inline-notification.scss.js +1 -1
- package/es/components/notification/toast-notification.scss.js +1 -1
- package/es/components/number-input/number-input.scss.js +1 -1
- package/es/components/number-input/number-input.scss.js.map +1 -1
- package/es/components/options-tile/index.d.ts +8 -0
- package/es/components/options-tile/index.d.ts.map +1 -0
- package/es/components/options-tile/index.js +8 -0
- package/es/components/options-tile/option-tile-helpers.d.ts +16 -0
- package/es/components/options-tile/option-tile-helpers.d.ts.map +1 -0
- package/es/components/options-tile/option-tile-helpers.js +163 -0
- package/es/components/options-tile/option-tile-helpers.js.map +1 -0
- package/es/components/options-tile/options-tile.d.ts +91 -0
- package/es/components/options-tile/options-tile.d.ts.map +1 -0
- package/es/components/options-tile/options-tile.js +208 -0
- package/es/components/options-tile/options-tile.js.map +1 -0
- package/es/components/options-tile/options-tile.scss.js +14 -0
- package/es/components/options-tile/options-tile.scss.js.map +1 -0
- package/es/components/overflow-menu/overflow-menu.js +1 -1
- package/es/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es/components/page-header/index.d.ts +1 -0
- package/es/components/page-header/index.d.ts.map +1 -1
- package/es/components/page-header/index.js +1 -0
- package/es/components/page-header/page-header-tabs.d.ts +1 -1
- package/es/components/page-header/page-header-tabs.d.ts.map +1 -1
- package/es/components/page-header/page-header-tabs.js +1 -2
- package/es/components/page-header/page-header-tabs.js.map +1 -1
- package/es/components/page-header/page-header.d.ts +1 -1
- package/es/components/page-header/page-header.d.ts.map +1 -1
- package/es/components/page-header/page-header.js +1 -2
- package/es/components/page-header/page-header.js.map +1 -1
- package/es/components/page-header/page-header.scss.js +1 -1
- package/es/components/pagination/pagination.scss.js +1 -1
- package/es/components/pagination-nav/pagination-nav.scss.js +1 -1
- package/es/components/password-input/password-input.scss.js +1 -1
- package/es/components/popover/popover.scss.js +1 -1
- package/es/components/progress-bar/progress-bar.scss.js +1 -1
- package/es/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es/components/radio-button/radio-button.scss.js +1 -1
- package/es/components/resizer/resizer-handle-pivot.scss.js +1 -1
- package/es/components/search/search.d.ts.map +1 -1
- package/es/components/search/search.js +2 -0
- package/es/components/search/search.js.map +1 -1
- package/es/components/search/search.scss.js +1 -1
- package/es/components/search/search.scss.js.map +1 -1
- package/es/components/select/select.scss.js +1 -1
- package/es/components/select/select.scss.js.map +1 -1
- package/es/components/side-panel/side-panel.js +2 -2
- package/es/components/side-panel/side-panel.js.map +1 -1
- package/es/components/side-panel/side-panel.scss.js +1 -1
- package/es/components/skeleton-icon/skeleton-icon.scss.js +1 -1
- package/es/components/skeleton-placeholder/skeleton-placeholder.scss.js +1 -1
- package/es/components/skeleton-text/skeleton-text.scss.js +1 -1
- package/es/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es/components/slider/slider.scss.js +1 -1
- package/es/components/slider/slider.scss.js.map +1 -1
- package/es/components/slug/index.d.ts +1 -0
- package/es/components/slug/index.d.ts.map +1 -1
- package/es/components/slug/index.js +1 -0
- package/es/components/slug/slug.scss.js +1 -1
- package/es/components/structured-list/structured-list.scss.js +1 -1
- package/es/components/tabs/tabs.scss.js +1 -1
- package/es/components/tabs/tabs.scss.js.map +1 -1
- package/es/components/tag/dismissible-tag.d.ts +1 -1
- package/es/components/tag/dismissible-tag.d.ts.map +1 -1
- package/es/components/tag/dismissible-tag.js +24 -15
- package/es/components/tag/dismissible-tag.js.map +1 -1
- package/es/components/tag/tag.d.ts.map +1 -1
- package/es/components/tag/tag.js +1 -1
- package/es/components/tag/tag.js.map +1 -1
- package/es/components/tag/tag.scss.js +1 -1
- package/es/components/tag/tag.scss.js.map +1 -1
- package/es/components/text-input/text-input.scss.js +1 -1
- package/es/components/text-input/text-input.scss.js.map +1 -1
- package/es/components/textarea/textarea.scss.js +1 -1
- package/es/components/tile/clickable-tile.d.ts +2 -1
- package/es/components/tile/clickable-tile.d.ts.map +1 -1
- package/es/components/tile/clickable-tile.js +1 -1
- package/es/components/tile/clickable-tile.js.map +1 -1
- package/es/components/tile/tile.scss.js +1 -1
- package/es/components/time-picker/time-picker.scss.js +1 -1
- package/es/components/toggle-tip/toggletip.scss.js +1 -1
- package/es/components/tooltip/tooltip.scss.js +1 -1
- package/es/components/tree-view/tree-view.scss.js +1 -1
- package/es/components/ui-shell/header.scss.js +1 -1
- package/es/components/ui-shell/side-nav.scss.js +1 -1
- package/es/components/user-avatar/index.d.ts +8 -0
- package/es/components/user-avatar/index.d.ts.map +1 -0
- package/es/components/user-avatar/index.js +8 -0
- package/es/components/user-avatar/user-avatar.d.ts +84 -0
- package/es/components/user-avatar/user-avatar.d.ts.map +1 -0
- package/es/components/user-avatar/user-avatar.js +151 -0
- package/es/components/user-avatar/user-avatar.js.map +1 -0
- package/es/components/user-avatar/user-avatar.scss.js +14 -0
- package/es/components/user-avatar/user-avatar.scss.js.map +1 -0
- package/es/globals/controllers/floating-controller.d.ts.map +1 -1
- package/es/globals/controllers/floating-controller.js.map +1 -1
- package/es/globals/decorators/carbon-element.d.ts +8 -0
- package/es/globals/decorators/carbon-element.d.ts.map +1 -1
- package/es/globals/decorators/carbon-element.js +8 -0
- package/es/globals/decorators/carbon-element.js.map +1 -1
- package/es/globals/internal/collection-helpers.d.ts +5 -5
- package/es/globals/internal/collection-helpers.d.ts.map +1 -1
- package/es/globals/internal/collection-helpers.js +1 -1
- package/es/globals/internal/collection-helpers.js.map +1 -1
- package/es/globals/internal/getSupportedLocale.d.ts +12 -0
- package/es/globals/internal/getSupportedLocale.d.ts.map +1 -0
- package/es/globals/internal/getSupportedLocale.js +29 -0
- package/es/globals/internal/getSupportedLocale.js.map +1 -0
- package/es/globals/mixins/on.d.ts +2 -2
- package/es/globals/mixins/on.d.ts.map +1 -1
- package/es/globals/mixins/on.js +4 -4
- package/es/globals/mixins/on.js.map +1 -1
- package/es/globals/register.d.ts +89 -0
- package/es/globals/register.d.ts.map +1 -0
- package/es/globals/register.js +56 -0
- package/es/globals/register.js.map +1 -0
- package/es/globals/settings.d.ts +1 -1
- package/es/globals/settings.d.ts.map +1 -1
- package/es/globals/settings.js +1 -0
- package/es/globals/settings.js.map +1 -1
- package/es/index.d.ts +10 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +13 -3
- package/es-custom/components/accordion/accordion.scss.js +1 -1
- package/es-custom/components/action-set/action-set.scss.js +1 -1
- package/es-custom/components/ai-label/ai-label-action-button.d.ts +1 -1
- package/es-custom/components/ai-label/ai-label-action-button.d.ts.map +1 -1
- package/es-custom/components/ai-label/ai-label-action-button.js +4 -3
- package/es-custom/components/ai-label/ai-label-action-button.js.map +1 -1
- package/es-custom/components/ai-label/ai-label.scss.js +1 -1
- package/es-custom/components/ai-label/ai-label.scss.js.map +1 -1
- package/es-custom/components/ai-label/index.d.ts +1 -0
- package/es-custom/components/ai-label/index.d.ts.map +1 -1
- package/es-custom/components/ai-label/index.js +1 -0
- package/es-custom/components/ai-skeleton/ai-skeleton.scss.js +1 -1
- package/es-custom/components/big-number/big-number-skeleton.d.ts +21 -0
- package/es-custom/components/big-number/big-number-skeleton.d.ts.map +1 -0
- package/es-custom/components/big-number/big-number-skeleton.js +62 -0
- package/es-custom/components/big-number/big-number-skeleton.js.map +1 -0
- package/es-custom/components/big-number/big-number-skeleton.scss.js +14 -0
- package/es-custom/components/big-number/big-number-skeleton.scss.js.map +1 -0
- package/es-custom/components/big-number/big-number.d.ts +35 -0
- package/es-custom/components/big-number/big-number.d.ts.map +1 -0
- package/es-custom/components/big-number/big-number.js +171 -0
- package/es-custom/components/big-number/big-number.js.map +1 -0
- package/es-custom/components/big-number/big-number.scss.js +14 -0
- package/es-custom/components/big-number/big-number.scss.js.map +1 -0
- package/es-custom/components/big-number/constants.d.ts +20 -0
- package/es-custom/components/big-number/constants.d.ts.map +1 -0
- package/es-custom/components/big-number/constants.js +32 -0
- package/es-custom/components/big-number/constants.js.map +1 -0
- package/es-custom/components/big-number/index.d.ts +8 -0
- package/es-custom/components/big-number/index.d.ts.map +1 -0
- package/es-custom/components/big-number/index.js +8 -0
- package/es-custom/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
- package/es-custom/components/breadcrumb/breadcrumb-item.js +2 -1
- package/es-custom/components/breadcrumb/breadcrumb-item.js.map +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.js +2 -2
- package/es-custom/components/breadcrumb/breadcrumb.js.map +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es-custom/components/button/button.d.ts.map +1 -1
- package/es-custom/components/button/button.js +1 -1
- package/es-custom/components/button/button.js.map +1 -1
- package/es-custom/components/button/button.scss.js +1 -1
- package/es-custom/components/card/card-action.d.ts +27 -0
- package/es-custom/components/card/card-action.d.ts.map +1 -0
- package/es-custom/components/card/card-action.js +52 -0
- package/es-custom/components/card/card-action.js.map +1 -0
- package/es-custom/components/card/card-actions.d.ts +36 -0
- package/es-custom/components/card/card-actions.d.ts.map +1 -0
- package/es-custom/components/card/card-actions.js +171 -0
- package/es-custom/components/card/card-actions.js.map +1 -0
- package/es-custom/components/card/card-body.d.ts +23 -0
- package/es-custom/components/card/card-body.d.ts.map +1 -0
- package/es-custom/components/card/card-body.js +54 -0
- package/es-custom/components/card/card-body.js.map +1 -0
- package/es-custom/components/card/card-context.d.ts +20 -0
- package/es-custom/components/card/card-context.d.ts.map +1 -0
- package/es-custom/components/card/card-context.js +29 -0
- package/es-custom/components/card/card-context.js.map +1 -0
- package/es-custom/components/card/card-footer.d.ts +34 -0
- package/es-custom/components/card/card-footer.d.ts.map +1 -0
- package/es-custom/components/card/card-footer.js +75 -0
- package/es-custom/components/card/card-footer.js.map +1 -0
- package/es-custom/components/card/card-header-media.d.ts +19 -0
- package/es-custom/components/card/card-header-media.d.ts.map +1 -0
- package/es-custom/components/card/card-header-media.js +39 -0
- package/es-custom/components/card/card-header-media.js.map +1 -0
- package/es-custom/components/card/card-header.d.ts +23 -0
- package/es-custom/components/card/card-header.d.ts.map +1 -0
- package/es-custom/components/card/card-header.js +70 -0
- package/es-custom/components/card/card-header.js.map +1 -0
- package/es-custom/components/card/card-media.d.ts +37 -0
- package/es-custom/components/card/card-media.d.ts.map +1 -0
- package/es-custom/components/card/card-media.js +79 -0
- package/es-custom/components/card/card-media.js.map +1 -0
- package/es-custom/components/card/card-title-media.d.ts +19 -0
- package/es-custom/components/card/card-title-media.d.ts.map +1 -0
- package/es-custom/components/card/card-title-media.js +39 -0
- package/es-custom/components/card/card-title-media.js.map +1 -0
- package/es-custom/components/card/card-title.d.ts +52 -0
- package/es-custom/components/card/card-title.d.ts.map +1 -0
- package/es-custom/components/card/card-title.js +144 -0
- package/es-custom/components/card/card-title.js.map +1 -0
- package/es-custom/components/card/card.d.ts +69 -0
- package/es-custom/components/card/card.d.ts.map +1 -0
- package/es-custom/components/card/card.js +185 -0
- package/es-custom/components/card/card.js.map +1 -0
- package/es-custom/components/card/card.scss.js +14 -0
- package/es-custom/components/card/card.scss.js.map +1 -0
- package/es-custom/components/card/defs.d.ts +33 -0
- package/es-custom/components/card/defs.d.ts.map +1 -0
- package/es-custom/components/card/defs.js +46 -0
- package/es-custom/components/card/defs.js.map +1 -0
- package/es-custom/components/card/index.d.ts +17 -0
- package/es-custom/components/card/index.d.ts.map +1 -0
- package/es-custom/components/card/index.js +17 -0
- package/es-custom/components/checkbox/checkbox.scss.js +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +67 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +120 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +14 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts +13 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.d.ts +8 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.js +8 -0
- package/es-custom/components/coachmark/coachmark-body.d.ts +31 -0
- package/es-custom/components/coachmark/coachmark-body.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-body.js +39 -0
- package/es-custom/components/coachmark/coachmark-body.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-body.scss.js +14 -0
- package/es-custom/components/coachmark/coachmark-body.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-context.d.ts +12 -0
- package/es-custom/components/coachmark/coachmark-context.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-context.js +39 -0
- package/es-custom/components/coachmark/coachmark-context.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-header.d.ts +41 -0
- package/es-custom/components/coachmark/coachmark-header.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-header.js +95 -0
- package/es-custom/components/coachmark/coachmark-header.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-header.scss.js +14 -0
- package/es-custom/components/coachmark/coachmark-header.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-helpers.d.ts +10 -0
- package/es-custom/components/coachmark/coachmark-helpers.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-helpers.js +33 -0
- package/es-custom/components/coachmark/coachmark-helpers.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +72 -0
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js +130 -0
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js +14 -0
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-tagline/index.d.ts +8 -0
- package/es-custom/components/coachmark/coachmark-tagline/index.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark-tagline/index.js +8 -0
- package/es-custom/components/coachmark/coachmark.d.ts +97 -0
- package/es-custom/components/coachmark/coachmark.d.ts.map +1 -0
- package/es-custom/components/coachmark/coachmark.js +290 -0
- package/es-custom/components/coachmark/coachmark.js.map +1 -0
- package/es-custom/components/coachmark/coachmark.scss.js +14 -0
- package/es-custom/components/coachmark/coachmark.scss.js.map +1 -0
- package/es-custom/components/coachmark/index.d.ts +10 -0
- package/es-custom/components/coachmark/index.d.ts.map +1 -0
- package/es-custom/components/coachmark/index.js +10 -0
- package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
- package/es-custom/components/combo-box/combo-box.d.ts.map +1 -1
- package/es-custom/components/combo-box/combo-box.js +5 -12
- package/es-custom/components/combo-box/combo-box.js.map +1 -1
- package/es-custom/components/combo-box/combo-box.scss.js +1 -1
- package/es-custom/components/combo-box/combo-box.scss.js.map +1 -1
- package/es-custom/components/combo-button/combo-button.scss.js +1 -1
- package/es-custom/components/contained-list/contained-list.scss.js +1 -1
- package/es-custom/components/content-switcher/content-switcher.scss.js +1 -1
- package/es-custom/components/copy/index.d.ts +9 -0
- package/es-custom/components/copy/index.d.ts.map +1 -0
- package/es-custom/components/copy/index.js +9 -0
- package/es-custom/components/copy-button/copy-button.scss.js +1 -1
- package/es-custom/components/data-table/data-table.scss.js +1 -1
- package/es-custom/components/date-picker/date-picker.scss.js +1 -1
- package/es-custom/components/date-picker/date-picker.scss.js.map +1 -1
- package/es-custom/components/date-picker/next/components/date-picker.scss.js +1 -1
- package/es-custom/components/date-picker/next/components/date-picker.scss.js.map +1 -1
- package/es-custom/components/dialog/dialog.scss.js +1 -1
- package/es-custom/components/dropdown/dropdown.d.ts +2 -1
- package/es-custom/components/dropdown/dropdown.d.ts.map +1 -1
- package/es-custom/components/dropdown/dropdown.js +13 -15
- package/es-custom/components/dropdown/dropdown.js.map +1 -1
- package/es-custom/components/dropdown/dropdown.scss.js +1 -1
- package/es-custom/components/dropdown/dropdown.scss.js.map +1 -1
- package/es-custom/components/edit-in-place/defs.d.ts +30 -0
- package/es-custom/components/edit-in-place/defs.d.ts.map +1 -0
- package/es-custom/components/edit-in-place/defs.js +43 -0
- package/es-custom/components/edit-in-place/defs.js.map +1 -0
- package/es-custom/components/edit-in-place/edit-in-place-helpers.d.ts +47 -0
- package/es-custom/components/edit-in-place/edit-in-place-helpers.d.ts.map +1 -0
- package/es-custom/components/edit-in-place/edit-in-place-helpers.js +59 -0
- package/es-custom/components/edit-in-place/edit-in-place-helpers.js.map +1 -0
- package/es-custom/components/edit-in-place/edit-in-place.d.ts +214 -0
- package/es-custom/components/edit-in-place/edit-in-place.d.ts.map +1 -0
- package/es-custom/components/edit-in-place/edit-in-place.js +453 -0
- package/es-custom/components/edit-in-place/edit-in-place.js.map +1 -0
- package/es-custom/components/edit-in-place/edit-in-place.scss.js +14 -0
- package/es-custom/components/edit-in-place/edit-in-place.scss.js.map +1 -0
- package/es-custom/components/edit-in-place/index.d.ts +10 -0
- package/es-custom/components/edit-in-place/index.d.ts.map +1 -0
- package/es-custom/components/edit-in-place/index.js +20 -0
- package/es-custom/components/edit-in-place/index.js.map +1 -0
- package/es-custom/components/file-uploader/file-uploader.scss.js +1 -1
- package/es-custom/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
- package/es-custom/components/fluid-combo-box/fluid-combo-box.scss.js.map +1 -1
- package/es-custom/components/fluid-date-picker/fluid-date-picker.d.ts +5 -1
- package/es-custom/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -1
- package/es-custom/components/fluid-date-picker/fluid-date-picker.js +27 -1
- package/es-custom/components/fluid-date-picker/fluid-date-picker.js.map +1 -1
- package/es-custom/components/fluid-date-picker/fluid-date-picker.scss.js +1 -1
- package/es-custom/components/fluid-date-picker/fluid-date-picker.scss.js.map +1 -1
- package/es-custom/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
- package/es-custom/components/fluid-dropdown/fluid-dropdown.scss.js.map +1 -1
- package/es-custom/components/fluid-form/fluid-form.scss.js +1 -1
- package/es-custom/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
- package/es-custom/components/fluid-multi-select/fluid-multi-select.scss.js.map +1 -1
- package/es-custom/components/fluid-number-input/fluid-number-input.scss.js +1 -1
- package/es-custom/components/fluid-number-input/fluid-number-input.scss.js.map +1 -1
- package/es-custom/components/fluid-password-input/fluid-password-input.scss.js +1 -1
- package/es-custom/components/fluid-search/fluid-search.scss.js +1 -1
- package/es-custom/components/fluid-search/fluid-search.scss.js.map +1 -1
- package/es-custom/components/fluid-select/fluid-select.scss.js +1 -1
- package/es-custom/components/fluid-text-input/fluid-text-input.scss.js +1 -1
- package/es-custom/components/fluid-textarea/fluid-textarea.scss.js +1 -1
- package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
- package/es-custom/components/form/form-item.scss.js +1 -1
- package/es-custom/components/form/form.scss.js +1 -1
- package/es-custom/components/form-group/form-group.scss.js +1 -1
- package/es-custom/components/grid/column-hang.scss.js +1 -1
- package/es-custom/components/grid/grid.scss.js +1 -1
- package/es-custom/components/icon-button/icon-button.d.ts +1 -1
- package/es-custom/components/icon-button/icon-button.js +1 -1
- package/es-custom/components/icon-button/icon-button.js.map +1 -1
- package/es-custom/components/inline-loading/inline-loading.scss.js +1 -1
- package/es-custom/components/layer/layer.scss.js +1 -1
- package/es-custom/components/layout/layout.scss.js +1 -1
- package/es-custom/components/link/link.d.ts +2 -1
- package/es-custom/components/link/link.d.ts.map +1 -1
- package/es-custom/components/link/link.js +1 -1
- package/es-custom/components/link/link.js.map +1 -1
- package/es-custom/components/loading/loading.scss.js +1 -1
- package/es-custom/components/menu/menu-item.d.ts.map +1 -1
- package/es-custom/components/menu/menu-item.js +2 -6
- package/es-custom/components/menu/menu-item.js.map +1 -1
- package/es-custom/components/menu/menu-item.scss.js +1 -1
- package/es-custom/components/menu/menu-item.scss.js.map +1 -1
- package/es-custom/components/menu/menu.d.ts +10 -0
- package/es-custom/components/menu/menu.d.ts.map +1 -1
- package/es-custom/components/menu/menu.js +17 -11
- package/es-custom/components/menu/menu.js.map +1 -1
- package/es-custom/components/menu/menu.scss.js +1 -1
- package/es-custom/components/menu/menu.scss.js.map +1 -1
- package/es-custom/components/menu-button/menu-button.scss.js +1 -1
- package/es-custom/components/modal/modal.scss.js +1 -1
- package/es-custom/components/multi-select/multi-select-item.d.ts +1 -1
- package/es-custom/components/multi-select/multi-select-item.d.ts.map +1 -1
- package/es-custom/components/multi-select/multi-select-item.js +5 -1
- package/es-custom/components/multi-select/multi-select-item.js.map +1 -1
- package/es-custom/components/multi-select/multi-select.d.ts +2 -1
- package/es-custom/components/multi-select/multi-select.d.ts.map +1 -1
- package/es-custom/components/multi-select/multi-select.js +15 -14
- package/es-custom/components/multi-select/multi-select.js.map +1 -1
- package/es-custom/components/multi-select/multi-select.scss.js +1 -1
- package/es-custom/components/multi-select/multi-select.scss.js.map +1 -1
- package/es-custom/components/notification/actionable-notification-button.d.ts +1 -1
- package/es-custom/components/notification/actionable-notification-button.d.ts.map +1 -1
- package/es-custom/components/notification/actionable-notification-button.js +2 -2
- package/es-custom/components/notification/actionable-notification-button.js.map +1 -1
- package/es-custom/components/notification/actionable-notification.d.ts.map +1 -1
- package/es-custom/components/notification/actionable-notification.js +4 -4
- package/es-custom/components/notification/actionable-notification.js.map +1 -1
- package/es-custom/components/notification/actionable-notification.scss.js +1 -1
- package/es-custom/components/notification/inline-notification.scss.js +1 -1
- package/es-custom/components/notification/toast-notification.scss.js +1 -1
- package/es-custom/components/number-input/number-input.scss.js +1 -1
- package/es-custom/components/number-input/number-input.scss.js.map +1 -1
- package/es-custom/components/options-tile/index.d.ts +8 -0
- package/es-custom/components/options-tile/index.d.ts.map +1 -0
- package/es-custom/components/options-tile/index.js +8 -0
- package/es-custom/components/options-tile/option-tile-helpers.d.ts +16 -0
- package/es-custom/components/options-tile/option-tile-helpers.d.ts.map +1 -0
- package/es-custom/components/options-tile/option-tile-helpers.js +163 -0
- package/es-custom/components/options-tile/option-tile-helpers.js.map +1 -0
- package/es-custom/components/options-tile/options-tile.d.ts +91 -0
- package/es-custom/components/options-tile/options-tile.d.ts.map +1 -0
- package/es-custom/components/options-tile/options-tile.js +208 -0
- package/es-custom/components/options-tile/options-tile.js.map +1 -0
- package/es-custom/components/options-tile/options-tile.scss.js +14 -0
- package/es-custom/components/options-tile/options-tile.scss.js.map +1 -0
- package/es-custom/components/overflow-menu/overflow-menu.js +1 -1
- package/es-custom/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es-custom/components/page-header/index.d.ts +1 -0
- package/es-custom/components/page-header/index.d.ts.map +1 -1
- package/es-custom/components/page-header/index.js +1 -0
- package/es-custom/components/page-header/page-header-tabs.d.ts +1 -1
- package/es-custom/components/page-header/page-header-tabs.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header-tabs.js +1 -2
- package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
- package/es-custom/components/page-header/page-header.d.ts +1 -1
- package/es-custom/components/page-header/page-header.d.ts.map +1 -1
- package/es-custom/components/page-header/page-header.js +1 -2
- package/es-custom/components/page-header/page-header.js.map +1 -1
- package/es-custom/components/page-header/page-header.scss.js +1 -1
- package/es-custom/components/pagination/pagination.scss.js +1 -1
- package/es-custom/components/pagination-nav/pagination-nav.scss.js +1 -1
- package/es-custom/components/password-input/password-input.scss.js +1 -1
- package/es-custom/components/popover/popover.scss.js +1 -1
- package/es-custom/components/progress-bar/progress-bar.scss.js +1 -1
- package/es-custom/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es-custom/components/radio-button/radio-button.scss.js +1 -1
- package/es-custom/components/resizer/resizer-handle-pivot.scss.js +1 -1
- package/es-custom/components/search/search.d.ts.map +1 -1
- package/es-custom/components/search/search.js +2 -0
- package/es-custom/components/search/search.js.map +1 -1
- package/es-custom/components/search/search.scss.js +1 -1
- package/es-custom/components/search/search.scss.js.map +1 -1
- package/es-custom/components/select/select.scss.js +1 -1
- package/es-custom/components/select/select.scss.js.map +1 -1
- package/es-custom/components/side-panel/side-panel.js +2 -2
- package/es-custom/components/side-panel/side-panel.js.map +1 -1
- package/es-custom/components/side-panel/side-panel.scss.js +1 -1
- package/es-custom/components/skeleton-icon/skeleton-icon.scss.js +1 -1
- package/es-custom/components/skeleton-placeholder/skeleton-placeholder.scss.js +1 -1
- package/es-custom/components/skeleton-text/skeleton-text.scss.js +1 -1
- package/es-custom/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es-custom/components/slider/slider.scss.js +1 -1
- package/es-custom/components/slider/slider.scss.js.map +1 -1
- package/es-custom/components/slug/index.d.ts +1 -0
- package/es-custom/components/slug/index.d.ts.map +1 -1
- package/es-custom/components/slug/index.js +1 -0
- package/es-custom/components/slug/slug.scss.js +1 -1
- package/es-custom/components/structured-list/structured-list.scss.js +1 -1
- package/es-custom/components/tabs/tabs.scss.js +1 -1
- package/es-custom/components/tabs/tabs.scss.js.map +1 -1
- package/es-custom/components/tag/dismissible-tag.d.ts +1 -1
- package/es-custom/components/tag/dismissible-tag.d.ts.map +1 -1
- package/es-custom/components/tag/dismissible-tag.js +24 -15
- package/es-custom/components/tag/dismissible-tag.js.map +1 -1
- package/es-custom/components/tag/tag.d.ts.map +1 -1
- package/es-custom/components/tag/tag.js +1 -1
- package/es-custom/components/tag/tag.js.map +1 -1
- package/es-custom/components/tag/tag.scss.js +1 -1
- package/es-custom/components/tag/tag.scss.js.map +1 -1
- package/es-custom/components/text-input/text-input.scss.js +1 -1
- package/es-custom/components/text-input/text-input.scss.js.map +1 -1
- package/es-custom/components/textarea/textarea.scss.js +1 -1
- package/es-custom/components/tile/clickable-tile.d.ts +2 -1
- package/es-custom/components/tile/clickable-tile.d.ts.map +1 -1
- package/es-custom/components/tile/clickable-tile.js +1 -1
- package/es-custom/components/tile/clickable-tile.js.map +1 -1
- package/es-custom/components/tile/tile.scss.js +1 -1
- package/es-custom/components/time-picker/time-picker.scss.js +1 -1
- package/es-custom/components/toggle-tip/toggletip.scss.js +1 -1
- package/es-custom/components/tooltip/tooltip.scss.js +1 -1
- package/es-custom/components/tree-view/tree-view.scss.js +1 -1
- package/es-custom/components/ui-shell/header.scss.js +1 -1
- package/es-custom/components/ui-shell/side-nav.scss.js +1 -1
- package/es-custom/components/user-avatar/index.d.ts +8 -0
- package/es-custom/components/user-avatar/index.d.ts.map +1 -0
- package/es-custom/components/user-avatar/index.js +8 -0
- package/es-custom/components/user-avatar/user-avatar.d.ts +84 -0
- package/es-custom/components/user-avatar/user-avatar.d.ts.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.js +151 -0
- package/es-custom/components/user-avatar/user-avatar.js.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.scss.js +14 -0
- package/es-custom/components/user-avatar/user-avatar.scss.js.map +1 -0
- package/es-custom/globals/controllers/floating-controller.d.ts.map +1 -1
- package/es-custom/globals/controllers/floating-controller.js.map +1 -1
- package/es-custom/globals/decorators/carbon-element.d.ts +8 -0
- package/es-custom/globals/decorators/carbon-element.d.ts.map +1 -1
- package/es-custom/globals/decorators/carbon-element.js +18 -1
- package/es-custom/globals/decorators/carbon-element.js.map +1 -1
- package/es-custom/globals/internal/collection-helpers.d.ts +5 -5
- package/es-custom/globals/internal/collection-helpers.d.ts.map +1 -1
- package/es-custom/globals/internal/collection-helpers.js +1 -1
- package/es-custom/globals/internal/collection-helpers.js.map +1 -1
- package/es-custom/globals/internal/getSupportedLocale.d.ts +12 -0
- package/es-custom/globals/internal/getSupportedLocale.d.ts.map +1 -0
- package/es-custom/globals/internal/getSupportedLocale.js +29 -0
- package/es-custom/globals/internal/getSupportedLocale.js.map +1 -0
- package/es-custom/globals/mixins/on.d.ts +2 -2
- package/es-custom/globals/mixins/on.d.ts.map +1 -1
- package/es-custom/globals/mixins/on.js +4 -4
- package/es-custom/globals/mixins/on.js.map +1 -1
- package/es-custom/globals/register.d.ts +89 -0
- package/es-custom/globals/register.d.ts.map +1 -0
- package/es-custom/globals/register.js +56 -0
- package/es-custom/globals/register.js.map +1 -0
- package/es-custom/globals/settings.d.ts +1 -1
- package/es-custom/globals/settings.d.ts.map +1 -1
- package/es-custom/globals/settings.js +1 -0
- package/es-custom/globals/settings.js.map +1 -1
- package/es-custom/index.d.ts +10 -0
- package/es-custom/index.d.ts.map +1 -1
- package/es-custom/index.js +13 -3
- package/lib/components/ai-label/ai-label-action-button.d.ts +1 -1
- package/lib/components/ai-label/ai-label-action-button.d.ts.map +1 -1
- package/lib/components/ai-label/index.d.ts +1 -0
- package/lib/components/ai-label/index.d.ts.map +1 -1
- package/lib/components/big-number/big-number-skeleton.d.ts +21 -0
- package/lib/components/big-number/big-number-skeleton.d.ts.map +1 -0
- package/lib/components/big-number/big-number.d.ts +35 -0
- package/lib/components/big-number/big-number.d.ts.map +1 -0
- package/lib/components/big-number/constants.d.ts +20 -0
- package/lib/components/big-number/constants.d.ts.map +1 -0
- package/lib/components/big-number/index.d.ts +8 -0
- package/lib/components/big-number/index.d.ts.map +1 -0
- package/lib/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/lib/components/button/button.d.ts.map +1 -1
- package/lib/components/card/card-action.d.ts +27 -0
- package/lib/components/card/card-action.d.ts.map +1 -0
- package/lib/components/card/card-actions.d.ts +36 -0
- package/lib/components/card/card-actions.d.ts.map +1 -0
- package/lib/components/card/card-body.d.ts +23 -0
- package/lib/components/card/card-body.d.ts.map +1 -0
- package/lib/components/card/card-context.d.ts +20 -0
- package/lib/components/card/card-context.d.ts.map +1 -0
- package/lib/components/card/card-footer.d.ts +34 -0
- package/lib/components/card/card-footer.d.ts.map +1 -0
- package/lib/components/card/card-header-media.d.ts +19 -0
- package/lib/components/card/card-header-media.d.ts.map +1 -0
- package/lib/components/card/card-header.d.ts +23 -0
- package/lib/components/card/card-header.d.ts.map +1 -0
- package/lib/components/card/card-media.d.ts +37 -0
- package/lib/components/card/card-media.d.ts.map +1 -0
- package/lib/components/card/card-title-media.d.ts +19 -0
- package/lib/components/card/card-title-media.d.ts.map +1 -0
- package/lib/components/card/card-title.d.ts +52 -0
- package/lib/components/card/card-title.d.ts.map +1 -0
- package/lib/components/card/card.d.ts +69 -0
- package/lib/components/card/card.d.ts.map +1 -0
- package/lib/components/card/defs.d.ts +33 -0
- package/lib/components/card/defs.d.ts.map +1 -0
- package/lib/components/card/defs.js +48 -0
- package/lib/components/card/defs.js.map +1 -0
- package/lib/components/card/index.d.ts +17 -0
- package/lib/components/card/index.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +67 -0
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-beacon/defs.d.ts +13 -0
- package/lib/components/coachmark/coachmark-beacon/defs.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-beacon/defs.js +26 -0
- package/lib/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/lib/components/coachmark/coachmark-beacon/index.d.ts +8 -0
- package/lib/components/coachmark/coachmark-beacon/index.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-body.d.ts +31 -0
- package/lib/components/coachmark/coachmark-body.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-context.d.ts +12 -0
- package/lib/components/coachmark/coachmark-context.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-header.d.ts +41 -0
- package/lib/components/coachmark/coachmark-header.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-helpers.d.ts +10 -0
- package/lib/components/coachmark/coachmark-helpers.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +72 -0
- package/lib/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark-tagline/index.d.ts +8 -0
- package/lib/components/coachmark/coachmark-tagline/index.d.ts.map +1 -0
- package/lib/components/coachmark/coachmark.d.ts +97 -0
- package/lib/components/coachmark/coachmark.d.ts.map +1 -0
- package/lib/components/coachmark/index.d.ts +10 -0
- package/lib/components/coachmark/index.d.ts.map +1 -0
- package/lib/components/combo-box/combo-box.d.ts.map +1 -1
- package/lib/components/copy/index.d.ts +9 -0
- package/lib/components/copy/index.d.ts.map +1 -0
- package/lib/components/dropdown/dropdown.d.ts +2 -1
- package/lib/components/dropdown/dropdown.d.ts.map +1 -1
- package/lib/components/edit-in-place/defs.d.ts +30 -0
- package/lib/components/edit-in-place/defs.d.ts.map +1 -0
- package/lib/components/edit-in-place/defs.js +45 -0
- package/lib/components/edit-in-place/defs.js.map +1 -0
- package/lib/components/edit-in-place/edit-in-place-helpers.d.ts +47 -0
- package/lib/components/edit-in-place/edit-in-place-helpers.d.ts.map +1 -0
- package/lib/components/edit-in-place/edit-in-place.d.ts +214 -0
- package/lib/components/edit-in-place/edit-in-place.d.ts.map +1 -0
- package/lib/components/edit-in-place/index.d.ts +10 -0
- package/lib/components/edit-in-place/index.d.ts.map +1 -0
- package/lib/components/fluid-date-picker/fluid-date-picker.d.ts +5 -1
- package/lib/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -1
- package/lib/components/icon-button/icon-button.d.ts +1 -1
- package/lib/components/link/link.d.ts +2 -1
- package/lib/components/link/link.d.ts.map +1 -1
- package/lib/components/menu/menu-item.d.ts.map +1 -1
- package/lib/components/menu/menu.d.ts +10 -0
- package/lib/components/menu/menu.d.ts.map +1 -1
- package/lib/components/multi-select/multi-select-item.d.ts +1 -1
- package/lib/components/multi-select/multi-select-item.d.ts.map +1 -1
- package/lib/components/multi-select/multi-select.d.ts +2 -1
- package/lib/components/multi-select/multi-select.d.ts.map +1 -1
- package/lib/components/notification/actionable-notification-button.d.ts +1 -1
- package/lib/components/notification/actionable-notification-button.d.ts.map +1 -1
- package/lib/components/notification/actionable-notification.d.ts.map +1 -1
- package/lib/components/options-tile/index.d.ts +8 -0
- package/lib/components/options-tile/index.d.ts.map +1 -0
- package/lib/components/options-tile/option-tile-helpers.d.ts +16 -0
- package/lib/components/options-tile/option-tile-helpers.d.ts.map +1 -0
- package/lib/components/options-tile/options-tile.d.ts +91 -0
- package/lib/components/options-tile/options-tile.d.ts.map +1 -0
- package/lib/components/page-header/index.d.ts +1 -0
- package/lib/components/page-header/index.d.ts.map +1 -1
- package/lib/components/page-header/page-header-tabs.d.ts +1 -1
- package/lib/components/page-header/page-header-tabs.d.ts.map +1 -1
- package/lib/components/page-header/page-header.d.ts +1 -1
- package/lib/components/page-header/page-header.d.ts.map +1 -1
- package/lib/components/search/search.d.ts.map +1 -1
- package/lib/components/slug/index.d.ts +1 -0
- package/lib/components/slug/index.d.ts.map +1 -1
- package/lib/components/tag/dismissible-tag.d.ts +1 -1
- package/lib/components/tag/dismissible-tag.d.ts.map +1 -1
- package/lib/components/tag/tag.d.ts.map +1 -1
- package/lib/components/tile/clickable-tile.d.ts +2 -1
- package/lib/components/tile/clickable-tile.d.ts.map +1 -1
- package/lib/components/user-avatar/index.d.ts +8 -0
- package/lib/components/user-avatar/index.d.ts.map +1 -0
- package/lib/components/user-avatar/user-avatar.d.ts +84 -0
- package/lib/components/user-avatar/user-avatar.d.ts.map +1 -0
- package/lib/globals/controllers/floating-controller.d.ts.map +1 -1
- package/lib/globals/controllers/floating-controller.js.map +1 -1
- package/lib/globals/decorators/carbon-element.d.ts +8 -0
- package/lib/globals/decorators/carbon-element.d.ts.map +1 -1
- package/lib/globals/internal/collection-helpers.d.ts +5 -5
- package/lib/globals/internal/collection-helpers.d.ts.map +1 -1
- package/lib/globals/internal/getSupportedLocale.d.ts +12 -0
- package/lib/globals/internal/getSupportedLocale.d.ts.map +1 -0
- package/lib/globals/mixins/on.d.ts +2 -2
- package/lib/globals/mixins/on.d.ts.map +1 -1
- package/lib/globals/register.d.ts +89 -0
- package/lib/globals/register.d.ts.map +1 -0
- package/lib/globals/register.js +61 -0
- package/lib/globals/register.js.map +1 -0
- package/lib/globals/settings.d.ts +1 -1
- package/lib/globals/settings.d.ts.map +1 -1
- package/lib/globals/settings.js +1 -0
- package/lib/globals/settings.js.map +1 -1
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -1
- package/package.json +16 -10
- package/scss/components/ai-label/ai-label.scss +24 -33
- package/scss/components/big-number/big-number-skeleton.scss +58 -0
- package/scss/components/big-number/big-number.scss +29 -0
- package/scss/components/big-number/story-styles.scss +48 -0
- package/scss/components/card/card-story.scss +29 -0
- package/scss/components/card/card.scss +212 -0
- package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +89 -0
- package/scss/components/coachmark/coachmark-body.scss +16 -0
- package/scss/components/coachmark/coachmark-header.scss +28 -0
- package/scss/components/coachmark/coachmark-tagline/coachmark-tagline.scss +42 -0
- package/scss/components/coachmark/coachmark.scss +42 -0
- package/scss/components/coachmark/story-styles.scss +37 -0
- package/scss/components/combo-box/combo-box.scss +63 -6
- package/scss/components/data-table/_table-action.scss +5 -3
- package/scss/components/date-picker/date-picker.scss +70 -2
- package/scss/components/date-picker/next/components/date-picker.scss +28 -2
- package/scss/components/dropdown/dropdown.scss +39 -4
- package/scss/components/edit-in-place/edit-in-place.scss +127 -0
- package/scss/components/edit-in-place/story-styles.scss +61 -0
- package/scss/components/fluid-combo-box/fluid-combo-box.scss +68 -5
- package/scss/components/fluid-date-picker/fluid-date-picker.scss +109 -12
- package/scss/components/fluid-dropdown/fluid-dropdown.scss +56 -6
- package/scss/components/fluid-multi-select/fluid-multi-select.scss +75 -2
- package/scss/components/fluid-number-input/fluid-number-input.scss +32 -1
- package/scss/components/fluid-search/fluid-search.scss +6 -3
- package/scss/components/menu/menu-item.scss +9 -1
- package/scss/components/menu/menu.scss +32 -1
- package/scss/components/multi-select/multi-select.scss +130 -28
- package/scss/components/number-input/number-input.scss +35 -1
- package/scss/components/options-tile/options-tile.scss +157 -0
- package/scss/components/options-tile/story-styles.scss +32 -0
- package/scss/components/search/search.scss +7 -0
- package/scss/components/select/select.scss +7 -3
- package/scss/components/slider/slider.scss +9 -2
- package/scss/components/tabs/tabs.scss +9 -2
- package/scss/components/tag/tag-story.scss +19 -0
- package/scss/components/tag/tag.scss +15 -11
- package/scss/components/text-input/text-input.scss +22 -0
- package/scss/components/user-avatar/story-styles.scss +53 -0
- package/scss/components/user-avatar/user-avatar.scss +113 -0
- package/telemetry.yml +67 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { LitElement } from 'lit';
|
|
8
|
+
import '../../button/button';
|
|
9
|
+
declare const CDSCoachmarkTagline_base: {
|
|
10
|
+
new (...args: any[]): {
|
|
11
|
+
_handles: Set<import("../../../globals/internal/handle").default>;
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
};
|
|
15
|
+
_hostListeners: {
|
|
16
|
+
[listenerName: string]: {
|
|
17
|
+
[type: string]: {
|
|
18
|
+
options?: boolean | AddEventListenerOptions;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
} & typeof LitElement;
|
|
23
|
+
/**
|
|
24
|
+
* DO NOT USE. This component is for the exclusive use
|
|
25
|
+
* of other Onboarding components.
|
|
26
|
+
*
|
|
27
|
+
* Coachmark tagline component.
|
|
28
|
+
*
|
|
29
|
+
* @element cds-coachmark-tagline
|
|
30
|
+
* @fires cds-coachmark-tagline-close - Custom event fired when close button is clicked
|
|
31
|
+
* @fires cds-coachmark-tagline-cta-click - Custom event fired when tagline CTA is clicked
|
|
32
|
+
*/
|
|
33
|
+
declare class CDSCoachmarkTagline extends CDSCoachmarkTagline_base {
|
|
34
|
+
/**
|
|
35
|
+
* Tooltip text and aria label for the Close button icon.
|
|
36
|
+
*/
|
|
37
|
+
closeIconDescription: string;
|
|
38
|
+
/**
|
|
39
|
+
* The title of the tagline.
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the tagline is open.
|
|
44
|
+
*/
|
|
45
|
+
open: boolean;
|
|
46
|
+
firstUpdated(): void;
|
|
47
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
48
|
+
/**
|
|
49
|
+
* Handles the close button click event.
|
|
50
|
+
*/
|
|
51
|
+
private _handleClose;
|
|
52
|
+
/**
|
|
53
|
+
* Handles the CTA button click event.
|
|
54
|
+
*/
|
|
55
|
+
private _handleCtaClick;
|
|
56
|
+
/**
|
|
57
|
+
* Handles the CTA button double click event.
|
|
58
|
+
*/
|
|
59
|
+
private _handleCtaDoubleClick;
|
|
60
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
61
|
+
static shadowRootOptions: {
|
|
62
|
+
delegatesFocus: boolean;
|
|
63
|
+
clonable?: boolean;
|
|
64
|
+
customElementRegistry?: CustomElementRegistry | null;
|
|
65
|
+
mode: ShadowRootMode;
|
|
66
|
+
serializable?: boolean;
|
|
67
|
+
slotAssignment?: SlotAssignmentMode;
|
|
68
|
+
};
|
|
69
|
+
static styles: any;
|
|
70
|
+
}
|
|
71
|
+
export default CDSCoachmarkTagline;
|
|
72
|
+
//# sourceMappingURL=coachmark-tagline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-tagline.d.ts","sourceRoot":"","sources":["../../../../src/components/coachmark/coachmark-tagline/coachmark-tagline.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,qBAAqB,CAAC;;;;;;;;;;uBASR,CAAC;;;;;AAJtB;;;;;;;;;GASG;AACH,cACM,mBAAoB,SAAQ,wBAA6B;IAC7D;;OAEG;IAEH,oBAAoB,SAAW;IAE/B;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,IAAI,UAAS;IAEb,YAAY;IAIZ,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAU/C;;OAEG;IACH,OAAO,CAAC,YAAY;IASpB;;OAEG;IACH,OAAO,CAAC,eAAe;IAYvB;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAY7B,MAAM;IAsBN,MAAM,CAAC,iBAAiB;;;;;;;MAGtB;IAEF,MAAM,CAAC,MAAM,MAAU;CACxB;AACD,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import "../../../globals/settings.js";
|
|
9
|
+
import { carbonElement } from "../../../globals/decorators/carbon-element.js";
|
|
10
|
+
import __decorate from "../../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/decorate.js";
|
|
11
|
+
import iconLoader from "../../../globals/internal/icon-loader.js";
|
|
12
|
+
import HostListenerMixin from "../../../globals/mixins/host-listener.js";
|
|
13
|
+
import "../../button/button.js";
|
|
14
|
+
import coachmark_tagline_default$1 from "./coachmark-tagline.scss.js";
|
|
15
|
+
import { LitElement, html } from "lit";
|
|
16
|
+
import { property } from "lit/decorators.js";
|
|
17
|
+
import Close16 from "@carbon/icons/es/close/16.js";
|
|
18
|
+
import Idea16 from "@carbon/icons/es/idea/16.js";
|
|
19
|
+
//#region src/components/coachmark/coachmark-tagline/coachmark-tagline.ts
|
|
20
|
+
/**
|
|
21
|
+
* Copyright IBM Corp. 2026, 2026
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/
|
|
26
|
+
const blockClass = `cds--coachmark-tagline`;
|
|
27
|
+
/**
|
|
28
|
+
* DO NOT USE. This component is for the exclusive use
|
|
29
|
+
* of other Onboarding components.
|
|
30
|
+
*
|
|
31
|
+
* Coachmark tagline component.
|
|
32
|
+
*
|
|
33
|
+
* @element cds-coachmark-tagline
|
|
34
|
+
* @fires cds-coachmark-tagline-close - Custom event fired when close button is clicked
|
|
35
|
+
* @fires cds-coachmark-tagline-cta-click - Custom event fired when tagline CTA is clicked
|
|
36
|
+
*/
|
|
37
|
+
let CDSCoachmarkTagline = class CDSCoachmarkTagline extends HostListenerMixin(LitElement) {
|
|
38
|
+
constructor(..._args) {
|
|
39
|
+
super(..._args);
|
|
40
|
+
this.closeIconDescription = "Close";
|
|
41
|
+
this.title = "";
|
|
42
|
+
this.open = false;
|
|
43
|
+
}
|
|
44
|
+
firstUpdated() {
|
|
45
|
+
this.classList.add(blockClass);
|
|
46
|
+
}
|
|
47
|
+
updated(changedProperties) {
|
|
48
|
+
if (changedProperties.has("open")) if (this.open) this.classList.add(`${blockClass}--open`);
|
|
49
|
+
else this.classList.remove(`${blockClass}--open`);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Handles the close button click event.
|
|
53
|
+
*/
|
|
54
|
+
_handleClose() {
|
|
55
|
+
const closeEvent = new CustomEvent(`cds-coachmark-tagline-close`, {
|
|
56
|
+
bubbles: true,
|
|
57
|
+
composed: true,
|
|
58
|
+
detail: {}
|
|
59
|
+
});
|
|
60
|
+
this.dispatchEvent(closeEvent);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Handles the CTA button click event.
|
|
64
|
+
*/
|
|
65
|
+
_handleCtaClick(event) {
|
|
66
|
+
const ctaClickEvent = new CustomEvent(`cds-coachmark-tagline-cta-click`, {
|
|
67
|
+
bubbles: true,
|
|
68
|
+
composed: true,
|
|
69
|
+
detail: { originalEvent: event }
|
|
70
|
+
});
|
|
71
|
+
this.dispatchEvent(ctaClickEvent);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Handles the CTA button double click event.
|
|
75
|
+
*/
|
|
76
|
+
_handleCtaDoubleClick(event) {
|
|
77
|
+
const ctaDoubleClickEvent = new CustomEvent(`cds-coachmark-tagline-cta-dblclick`, {
|
|
78
|
+
bubbles: true,
|
|
79
|
+
composed: true,
|
|
80
|
+
detail: { originalEvent: event }
|
|
81
|
+
});
|
|
82
|
+
this.dispatchEvent(ctaDoubleClickEvent);
|
|
83
|
+
}
|
|
84
|
+
render() {
|
|
85
|
+
return html`
|
|
86
|
+
<button
|
|
87
|
+
class="${blockClass}__cta"
|
|
88
|
+
@click="${this._handleCtaClick}"
|
|
89
|
+
@dblclick="${this._handleCtaDoubleClick}">
|
|
90
|
+
${iconLoader(Idea16, { slot: "icon" })} ${this.title}
|
|
91
|
+
</button>
|
|
92
|
+
<div class="${blockClass}--close-btn-container">
|
|
93
|
+
<cds-button
|
|
94
|
+
kind="ghost"
|
|
95
|
+
size="sm"
|
|
96
|
+
tooltip-text="${this.closeIconDescription}"
|
|
97
|
+
has-icon-only
|
|
98
|
+
class="${blockClass}--close-btn"
|
|
99
|
+
@click="${this._handleClose}">
|
|
100
|
+
${iconLoader(Close16, { slot: "icon" })}
|
|
101
|
+
</cds-button>
|
|
102
|
+
</div>
|
|
103
|
+
`;
|
|
104
|
+
}
|
|
105
|
+
static {
|
|
106
|
+
this.shadowRootOptions = {
|
|
107
|
+
...LitElement.shadowRootOptions,
|
|
108
|
+
delegatesFocus: true
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
static {
|
|
112
|
+
this.styles = coachmark_tagline_default$1;
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
__decorate([property({
|
|
116
|
+
type: String,
|
|
117
|
+
attribute: "close-icon-description"
|
|
118
|
+
})], CDSCoachmarkTagline.prototype, "closeIconDescription", void 0);
|
|
119
|
+
__decorate([property({ type: String })], CDSCoachmarkTagline.prototype, "title", void 0);
|
|
120
|
+
__decorate([property({
|
|
121
|
+
type: Boolean,
|
|
122
|
+
reflect: true,
|
|
123
|
+
attribute: "open"
|
|
124
|
+
})], CDSCoachmarkTagline.prototype, "open", void 0);
|
|
125
|
+
CDSCoachmarkTagline = __decorate([carbonElement(`cds-coachmark-tagline`)], CDSCoachmarkTagline);
|
|
126
|
+
var coachmark_tagline_default = CDSCoachmarkTagline;
|
|
127
|
+
//#endregion
|
|
128
|
+
export { coachmark_tagline_default as default };
|
|
129
|
+
|
|
130
|
+
//# sourceMappingURL=coachmark-tagline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-tagline.js","names":["styles","customElement"],"sources":["../../../../src/components/coachmark/coachmark-tagline/coachmark-tagline.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2026, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../../globals/settings';\nimport HostListenerMixin from '../../../globals/mixins/host-listener';\nimport { carbonElement as customElement } from '../../../globals/decorators/carbon-element';\nimport styles from './coachmark-tagline.scss?lit';\nimport Close16 from '@carbon/icons/es/close/16.js';\nimport Idea16 from '@carbon/icons/es/idea/16.js';\nimport '../../button/button';\nimport { iconLoader } from '../../../globals/internal/icon-loader';\n\nconst blockClass = `${prefix}--coachmark-tagline`;\n\n/**\n * DO NOT USE. This component is for the exclusive use\n * of other Onboarding components.\n *\n * Coachmark tagline component.\n *\n * @element cds-coachmark-tagline\n * @fires cds-coachmark-tagline-close - Custom event fired when close button is clicked\n * @fires cds-coachmark-tagline-cta-click - Custom event fired when tagline CTA is clicked\n */\n@customElement(`${prefix}-coachmark-tagline`)\nclass CDSCoachmarkTagline extends HostListenerMixin(LitElement) {\n /**\n * Tooltip text and aria label for the Close button icon.\n */\n @property({ type: String, attribute: 'close-icon-description' })\n closeIconDescription = 'Close';\n\n /**\n * The title of the tagline.\n */\n @property({ type: String })\n title = '';\n\n /**\n * Whether the tagline is open.\n */\n @property({ type: Boolean, reflect: true, attribute: 'open' })\n open = false;\n\n firstUpdated() {\n this.classList.add(blockClass);\n }\n\n updated(changedProperties: Map<string, unknown>) {\n if (changedProperties.has('open')) {\n if (this.open) {\n this.classList.add(`${blockClass}--open`);\n } else {\n this.classList.remove(`${blockClass}--open`);\n }\n }\n }\n\n /**\n * Handles the close button click event.\n */\n private _handleClose() {\n const closeEvent = new CustomEvent(`${prefix}-coachmark-tagline-close`, {\n bubbles: true,\n composed: true,\n detail: {},\n });\n this.dispatchEvent(closeEvent);\n }\n\n /**\n * Handles the CTA button click event.\n */\n private _handleCtaClick(event: Event) {\n const ctaClickEvent = new CustomEvent(\n `${prefix}-coachmark-tagline-cta-click`,\n {\n bubbles: true,\n composed: true,\n detail: { originalEvent: event },\n }\n );\n this.dispatchEvent(ctaClickEvent);\n }\n\n /**\n * Handles the CTA button double click event.\n */\n private _handleCtaDoubleClick(event: Event) {\n const ctaDoubleClickEvent = new CustomEvent(\n `${prefix}-coachmark-tagline-cta-dblclick`,\n {\n bubbles: true,\n composed: true,\n detail: { originalEvent: event },\n }\n );\n this.dispatchEvent(ctaDoubleClickEvent);\n }\n\n render() {\n return html`\n <button\n class=\"${blockClass}__cta\"\n @click=\"${this._handleCtaClick}\"\n @dblclick=\"${this._handleCtaDoubleClick}\">\n ${iconLoader(Idea16, { slot: 'icon' })} ${this.title}\n </button>\n <div class=\"${blockClass}--close-btn-container\">\n <cds-button\n kind=\"ghost\"\n size=\"sm\"\n tooltip-text=\"${this.closeIconDescription}\"\n has-icon-only\n class=\"${blockClass}--close-btn\"\n @click=\"${this._handleClose}\">\n ${iconLoader(Close16, { slot: 'icon' })}\n </cds-button>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n\n static styles = styles;\n}\nexport default CDSCoachmarkTagline;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAM,aAAa;;;;;;;;;;;AAYnB,IAAA,sBAAA,MACM,4BAA4B,kBAAkB,UAAU,CAAC,CAAC;;;8BAKvC;eAMf;cAMD;;CAEP,eAAe;EACb,KAAK,UAAU,IAAI,UAAU;CAC/B;CAEA,QAAQ,mBAAyC;EAC/C,IAAI,kBAAkB,IAAI,MAAM,GAC9B,IAAI,KAAK,MACP,KAAK,UAAU,IAAI,GAAG,WAAW,OAAO;OAExC,KAAK,UAAU,OAAO,GAAG,WAAW,OAAO;CAGjD;;;;CAKA,eAAuB;EACrB,MAAM,aAAa,IAAI,YAAY,+BAAqC;GACtE,SAAS;GACT,UAAU;GACV,QAAQ,CAAC;EACX,CAAC;EACD,KAAK,cAAc,UAAU;CAC/B;;;;CAKA,gBAAwB,OAAc;EACpC,MAAM,gBAAgB,IAAI,YACxB,mCACA;GACE,SAAS;GACT,UAAU;GACV,QAAQ,EAAE,eAAe,MAAM;EACjC,CACF;EACA,KAAK,cAAc,aAAa;CAClC;;;;CAKA,sBAA8B,OAAc;EAC1C,MAAM,sBAAsB,IAAI,YAC9B,sCACA;GACE,SAAS;GACT,UAAU;GACV,QAAQ,EAAE,eAAe,MAAM;EACjC,CACF;EACA,KAAK,cAAc,mBAAmB;CACxC;CAEA,SAAS;EACP,OAAO,IAAI;;iBAEE,WAAW;kBACV,KAAK,gBAAgB;qBAClB,KAAK,sBAAsB;UACtC,WAAW,QAAQ,EAAE,MAAM,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM;;oBAEzC,WAAW;;;;0BAIL,KAAK,qBAAqB;;mBAEjC,WAAW;oBACV,KAAK,aAAa;YAC1B,WAAW,SAAS,EAAE,MAAM,OAAO,CAAC,EAAE;;;;CAIhD;;2BAE2B;GACzB,GAAG,WAAW;GACd,gBAAgB;EAClB;;;gBAEgBA;;AAClB;YAnGG,SAAS;CAAE,MAAM;CAAQ,WAAW;AAAyB,CAAC,CAAA,GAAA,oBAAA,WAAA,wBAAA,KAAA,CAAA;YAM9D,SAAS,EAAE,MAAM,OAAO,CAAC,CAAA,GAAA,oBAAA,WAAA,SAAA,KAAA,CAAA;YAMzB,SAAS;CAAE,MAAM;CAAS,SAAS;CAAM,WAAW;AAAO,CAAC,CAAA,GAAA,oBAAA,WAAA,QAAA,KAAA,CAAA;kCAjB9DC,cAAc,uBAA6B,CAAA,GAAA,mBAAA;AAyG5C,IAAA,4BAAe"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { css } from "lit";
|
|
9
|
+
//#region src/components/coachmark/coachmark-tagline/coachmark-tagline.scss?lit
|
|
10
|
+
var coachmark_tagline_default = css([".cds--coachmark-tagline{position:fixed;z-index:1000;display:grid;overflow:hidden;border-radius:.125rem .125rem 0 0;background:#6929c4;background-image:linear-gradient(90deg,#001d6c,#6929c4);color:#fff!important;grid-template-columns:[cta-col] auto [close-btn-col] 2.5rem;inline-size:18rem;inset-block-end:0;inset-inline-end:1rem;opacity:1;transition:opacity .24s cubic-bezier(.2,0,1,.9) .3s;transition-delay:.24s}@media (prefers-reduced-motion){.cds--coachmark-tagline{transition:none}}.cds--coachmark-tagline:before{position:absolute;z-index:-1;background:linear-gradient(90deg,#0043ce,#6929c4);content:\"\";inset:0;opacity:0;transition:opacity .24s cubic-bezier(.2,0,1,.9)}@media (prefers-reduced-motion){.cds--coachmark-tagline:before{transition:none}}.cds--coachmark-tagline:hover:before{opacity:1}.cds--coachmark-tagline--is-open{background:#fff;opacity:0}.cds--coachmark-tagline--is-open cds--coachmark-tagline__cta{opacity:0}.cds--coachmark-tagline--is-open cds--coachmark-tagline--close-btn{display:none}.cds--coachmark-tagline--is-open:before{background:#fff}.cds--coachmark-tagline__cta{display:grid;padding:.5rem 0;border:none;background:transparent;color:#fff!important;grid-template-columns:[icon-col] 2rem [body-col] auto;text-align:start;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.28572);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px)}.cds--coachmark-tagline__cta:focus{box-shadow:inset 0 0 0 3px #6929c4,inset 0 0 0 .25rem #fff;outline:1px solid transparent}.cds--coachmark-tagline__cta:hover{cursor:pointer!important}.cds--coachmark-tagline__cta .cds--coachmark-tagline__idea{justify-self:center}.cds--coachmark-tagline--close-btn-container{block-size:2rem;inline-size:2rem;margin-inline-start:auto}.cds--coachmark-tagline--close-btn{border-color:transparent!important;border-radius:0;block-size:2rem;color:#fff;inline-size:2rem;margin-inline-start:auto!important;outline:1px solid transparent}.cds--coachmark-tagline--close-btn:active{background-color:var(--cds-button-secondary-active,#6f6f6f)}.cds--coachmark-tagline--close-btn:focus{box-shadow:inset 0 0 0 1px var(--cds-background-inverse,#393939),inset 0 0 0 .125rem #fff!important}.cds--coachmark-tagline--close-btn svg>path{margin:0;fill:#fff!important}.cds--coachmark-tagline--close-btn:hover{background-color:#7c3dd6!important}.cds--coachmark-tagline--open{background:#fff;opacity:0}.cds--coachmark-tagline--open .cds--coachmark-tagline__cta{opacity:0}.cds--coachmark-tagline--open .cds--coachmark-tagline--close-btn{display:none}.cds--coachmark-tagline--open:before{background:#fff}.cds--coachmark-tagline__cta svg{justify-self:center}"]);
|
|
11
|
+
//#endregion
|
|
12
|
+
export { coachmark_tagline_default as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=coachmark-tagline.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-tagline.scss.js","names":[],"sources":["../../../../src/components/coachmark/coachmark-tagline/coachmark-tagline.scss?lit"],"sourcesContent":["//\n// Copyright IBM Corp. 2026, 2026\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n$css--plex: true !default;\n\n@use '@carbon/styles/scss/colors' as *;\n@use '@carbon/styles/scss/config' as *;\n@use '@carbon/styles/scss/components/coachmark/coachmark-tagline' as\n coachmark-tagline-styles;\n\n@include coachmark-tagline-styles.coachmark-tagline;\n\n$block-class: #{$prefix}--coachmark-tagline;\n\n.#{$block-class} {\n &--open {\n background: $white-0;\n opacity: 0;\n\n .#{$block-class}__cta {\n opacity: 0;\n }\n\n .#{$block-class}--close-btn {\n display: none;\n }\n\n &::before {\n background: $white-0;\n }\n }\n\n &__cta {\n svg {\n justify-self: center;\n }\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/coachmark/coachmark-tagline/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { LitElement } from 'lit';
|
|
8
|
+
import '../popover/index';
|
|
9
|
+
export declare const blockClass = "cds--coachmark";
|
|
10
|
+
declare const CDSCoachmark_base: {
|
|
11
|
+
new (...args: any[]): {
|
|
12
|
+
_handles: Set<import("../../globals/internal/handle").default>;
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
};
|
|
16
|
+
_hostListeners: {
|
|
17
|
+
[listenerName: string]: {
|
|
18
|
+
[type: string]: {
|
|
19
|
+
options?: boolean | AddEventListenerOptions;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
} & typeof LitElement & (new (...args: any[]) => import("@lit-labs/signals").SignalWatcherApi);
|
|
24
|
+
/**
|
|
25
|
+
* coachmark main component
|
|
26
|
+
* @element cds-coachmark
|
|
27
|
+
* @fires cds-coachmark-opened
|
|
28
|
+
* The custom event fired when the coachmark is opened.
|
|
29
|
+
* This event can be used to perform actions such as focusing elements when the coachmark becomes visible.
|
|
30
|
+
* @fires cds-coachmark-closed
|
|
31
|
+
* The custom event fired when the coachmark is closed.
|
|
32
|
+
* This event can be used to perform actions such as restoring focus when the coachmark is dismissed.
|
|
33
|
+
*/
|
|
34
|
+
declare class CDSCoachmark extends CDSCoachmark_base {
|
|
35
|
+
/**
|
|
36
|
+
* Specifies whether the component is currently open.
|
|
37
|
+
*/
|
|
38
|
+
open: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Where to render the Coachmark relative to its target.
|
|
41
|
+
*/
|
|
42
|
+
align?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Fine tune the position of the target in pixels.
|
|
45
|
+
*/
|
|
46
|
+
position?: {
|
|
47
|
+
x: number;
|
|
48
|
+
y: number;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Specifies whether the component is floating or not.
|
|
52
|
+
*/
|
|
53
|
+
floating?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Specify whether the component should be rendered on high-contrast.
|
|
56
|
+
*/
|
|
57
|
+
highContrast?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Specify whether a drop shadow should be rendered on the popover.
|
|
60
|
+
*/
|
|
61
|
+
dropShadow?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Specify whether a caret should be rendered on the popover. This is intended to use only for coachmark patterns.
|
|
64
|
+
*/
|
|
65
|
+
caret?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* CSS selector for the element that should receive focus when the coachmark opens.
|
|
68
|
+
* If not provided, no automatic focus management will occur.
|
|
69
|
+
*/
|
|
70
|
+
selectorPrimaryFocus?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Aria label for when the floating coachmark is picked up for dragging.
|
|
73
|
+
*/
|
|
74
|
+
dragAriaLabel?: string;
|
|
75
|
+
private dragCleanup;
|
|
76
|
+
private keydownHandler;
|
|
77
|
+
private moveCounter;
|
|
78
|
+
private isDragging;
|
|
79
|
+
private moveAnnouncement;
|
|
80
|
+
disconnectedCallback(): void;
|
|
81
|
+
private setupDraggable;
|
|
82
|
+
firstUpdated(): void;
|
|
83
|
+
updated(changedProps: Map<string, unknown>): void;
|
|
84
|
+
private handlePopoverClosed;
|
|
85
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the custom event fired when this coachmark is opened.
|
|
88
|
+
*/
|
|
89
|
+
static get eventOpen(): string;
|
|
90
|
+
/**
|
|
91
|
+
* The name of the custom event fired when this coachmark is closed.
|
|
92
|
+
*/
|
|
93
|
+
static get eventClose(): string;
|
|
94
|
+
static styles: any;
|
|
95
|
+
}
|
|
96
|
+
export default CDSCoachmark;
|
|
97
|
+
//# sourceMappingURL=coachmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark.d.ts","sourceRoot":"","sources":["../../../src/components/coachmark/coachmark.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,kBAAkB,CAAC;AAQ1B,eAAO,MAAM,UAAU,mBAAyB,CAAC;;;;;;;;;;uBAIhD,CAAD;;;;;AAFA;;;;;;;;;GASG;AACH,cACM,YAAa,SAAQ,iBAA4C;IACrE;;OAEG;IAEH,IAAI,EAAE,OAAO,CAAS;IACtB;;OAEG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAyB;IACvC;;OAEG;IAEH,QAAQ,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACpC;;OAEG;IAEH,QAAQ,CAAC,EAAE,OAAO,CAAS;IAC3B;;OAEG;IAEH,YAAY,CAAC,EAAE,OAAO,CAAS;IAC/B;;OAEG;IAEH,UAAU,CAAC,EAAE,OAAO,CAAS;IAC7B;;OAEG;IAEH,KAAK,CAAC,EAAE,OAAO,CAAS;IACxB;;;OAGG;IAEH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IAEH,aAAa,CAAC,EAAE,MAAM,CAAuC;IAE7D,OAAO,CAAC,WAAW,CAA6B;IAChD,OAAO,CAAC,cAAc,CAAiD;IACvE,OAAO,CAAC,WAAW,CAAa;IACvB,OAAO,CAAC,UAAU,CAAwB;IAC1C,OAAO,CAAC,gBAAgB,CAAc;IAE/C,oBAAoB;YAWN,cAAc;IAmG5B,YAAY;IAUZ,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IA0I1C,OAAO,CAAC,mBAAmB,CAMzB;IAEF,MAAM;IAkDN;;OAEG;IACH,MAAM,KAAK,SAAS,WAEnB;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import "../../globals/settings.js";
|
|
9
|
+
import { carbonElement } from "../../globals/decorators/carbon-element.js";
|
|
10
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/decorate.js";
|
|
11
|
+
import HostListenerMixin from "../../globals/mixins/host-listener.js";
|
|
12
|
+
import "../popover/defs.js";
|
|
13
|
+
import "../popover/index.js";
|
|
14
|
+
import { resetCoachmarkDetailsSignal, updateCoachmarkDetailsSignal } from "./coachmark-context.js";
|
|
15
|
+
import coachmark_default$1 from "./coachmark.scss.js";
|
|
16
|
+
import { LitElement, html } from "lit";
|
|
17
|
+
import { property, state } from "lit/decorators.js";
|
|
18
|
+
import { SignalWatcher } from "@lit-labs/signals";
|
|
19
|
+
import { makeDraggable } from "@carbon/utilities/makeDraggable";
|
|
20
|
+
//#region src/components/coachmark/coachmark.ts
|
|
21
|
+
/**
|
|
22
|
+
* Copyright IBM Corp. 2025, 2026
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/
|
|
27
|
+
const blockClass = `cds--coachmark`;
|
|
28
|
+
/**
|
|
29
|
+
* coachmark main component
|
|
30
|
+
* @element cds-coachmark
|
|
31
|
+
* @fires cds-coachmark-opened
|
|
32
|
+
* The custom event fired when the coachmark is opened.
|
|
33
|
+
* This event can be used to perform actions such as focusing elements when the coachmark becomes visible.
|
|
34
|
+
* @fires cds-coachmark-closed
|
|
35
|
+
* The custom event fired when the coachmark is closed.
|
|
36
|
+
* This event can be used to perform actions such as restoring focus when the coachmark is dismissed.
|
|
37
|
+
*/
|
|
38
|
+
let CDSCoachmark = class CDSCoachmark extends SignalWatcher(HostListenerMixin(LitElement)) {
|
|
39
|
+
constructor(..._args) {
|
|
40
|
+
super(..._args);
|
|
41
|
+
this.open = false;
|
|
42
|
+
this.align = "top";
|
|
43
|
+
this.floating = false;
|
|
44
|
+
this.highContrast = false;
|
|
45
|
+
this.dropShadow = false;
|
|
46
|
+
this.caret = false;
|
|
47
|
+
this.dragAriaLabel = "Picked up the draggable coachmark";
|
|
48
|
+
this.dragCleanup = null;
|
|
49
|
+
this.keydownHandler = null;
|
|
50
|
+
this.moveCounter = 0;
|
|
51
|
+
this.isDragging = null;
|
|
52
|
+
this.moveAnnouncement = "";
|
|
53
|
+
this.handlePopoverClosed = () => {
|
|
54
|
+
if (this.open) this.open = false;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
disconnectedCallback() {
|
|
58
|
+
super.disconnectedCallback();
|
|
59
|
+
if (this.dragCleanup) this.dragCleanup();
|
|
60
|
+
if (this.keydownHandler) document.removeEventListener("keydown", this.keydownHandler);
|
|
61
|
+
resetCoachmarkDetailsSignal();
|
|
62
|
+
}
|
|
63
|
+
async setupDraggable() {
|
|
64
|
+
const popoverContent = (this.shadowRoot?.querySelector(`.${blockClass}--popover`)).querySelector("cds-popover-content");
|
|
65
|
+
const header = (popoverContent.querySelector(`.${blockClass}--wrapper`).querySelector("slot")?.assignedElements({ flatten: true }))?.find((el) => el.tagName.toLowerCase() === `cds-coachmark-header`);
|
|
66
|
+
if (header?.updateComplete) await header.updateComplete;
|
|
67
|
+
requestAnimationFrame(() => {
|
|
68
|
+
const dragHandle = header.shadowRoot?.querySelector(`.cds--coachmark-header-drag-handle`);
|
|
69
|
+
const dragInactiveInstruction = "Press Enter or Space to activate drag mode.";
|
|
70
|
+
const dragActiveInstruction = "Use arrow keys to move the coachmark. Press Enter or Space to exit drag mode.";
|
|
71
|
+
if (dragHandle) dragHandle.setAttribute("aria-label", dragInactiveInstruction);
|
|
72
|
+
const draggable = makeDraggable({
|
|
73
|
+
el: popoverContent,
|
|
74
|
+
dragHandle: header,
|
|
75
|
+
focusableDragHandle: dragHandle
|
|
76
|
+
});
|
|
77
|
+
const onDragStart = () => {
|
|
78
|
+
this.isDragging = true;
|
|
79
|
+
this.moveCounter = 0;
|
|
80
|
+
this.moveAnnouncement = "";
|
|
81
|
+
popoverContent.classList.add(`${blockClass}--is-dragging`);
|
|
82
|
+
if (this.dragAriaLabel) popoverContent.setAttribute("aria-label", this.dragAriaLabel);
|
|
83
|
+
if (dragHandle) dragHandle.setAttribute("aria-label", dragActiveInstruction);
|
|
84
|
+
updateCoachmarkDetailsSignal({
|
|
85
|
+
name: "isDragging",
|
|
86
|
+
detail: true
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
const onDragEnd = () => {
|
|
90
|
+
this.isDragging = false;
|
|
91
|
+
this.moveCounter = 0;
|
|
92
|
+
this.moveAnnouncement = "";
|
|
93
|
+
popoverContent.classList.remove(`${blockClass}--is-dragging`);
|
|
94
|
+
popoverContent.removeAttribute("aria-label");
|
|
95
|
+
if (dragHandle) dragHandle.setAttribute("aria-label", dragInactiveInstruction);
|
|
96
|
+
updateCoachmarkDetailsSignal({
|
|
97
|
+
name: "isDragging",
|
|
98
|
+
detail: false
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
const onDragMove = (event) => {
|
|
102
|
+
const { direction, distance } = event.detail;
|
|
103
|
+
this.moveCounter += 1;
|
|
104
|
+
const uniqueMarker = "".repeat(this.moveCounter);
|
|
105
|
+
this.moveAnnouncement = `Moved ${direction} ${distance} pixels${uniqueMarker}`;
|
|
106
|
+
};
|
|
107
|
+
popoverContent.addEventListener("dragstart", onDragStart);
|
|
108
|
+
popoverContent.addEventListener("dragend", onDragEnd);
|
|
109
|
+
popoverContent.addEventListener("dragmove", onDragMove);
|
|
110
|
+
this.dragCleanup = () => {
|
|
111
|
+
popoverContent.removeEventListener("dragstart", onDragStart);
|
|
112
|
+
popoverContent.removeEventListener("dragend", onDragEnd);
|
|
113
|
+
popoverContent.removeEventListener("dragmove", onDragMove);
|
|
114
|
+
draggable.cleanup?.();
|
|
115
|
+
};
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
firstUpdated() {
|
|
119
|
+
this.keydownHandler = (event) => {
|
|
120
|
+
if (event.key === "Escape" && this.open) this.open = false;
|
|
121
|
+
};
|
|
122
|
+
document.addEventListener("keydown", this.keydownHandler);
|
|
123
|
+
}
|
|
124
|
+
updated(changedProps) {
|
|
125
|
+
if (changedProps.has("floating")) if (this.floating) {
|
|
126
|
+
this.classList.add(`${blockClass}--floating`);
|
|
127
|
+
this.setupDraggable();
|
|
128
|
+
updateCoachmarkDetailsSignal({
|
|
129
|
+
name: "floating",
|
|
130
|
+
detail: this.floating
|
|
131
|
+
});
|
|
132
|
+
} else {
|
|
133
|
+
this.classList.remove(`${blockClass}--floating`);
|
|
134
|
+
if (this.dragCleanup) {
|
|
135
|
+
this.dragCleanup();
|
|
136
|
+
this.dragCleanup = null;
|
|
137
|
+
}
|
|
138
|
+
updateCoachmarkDetailsSignal({
|
|
139
|
+
name: "floating",
|
|
140
|
+
detail: false
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
if (changedProps.has("position")) {
|
|
144
|
+
const { x = 0, y = 0 } = this.position ?? {};
|
|
145
|
+
if (x !== 0 || y !== 0) this.style.transform = `translate(${x}px, ${y}px)`;
|
|
146
|
+
}
|
|
147
|
+
if (changedProps.has("open")) {
|
|
148
|
+
const init = {
|
|
149
|
+
bubbles: true,
|
|
150
|
+
composed: true,
|
|
151
|
+
detail: { open: this.open }
|
|
152
|
+
};
|
|
153
|
+
if (this.open) {
|
|
154
|
+
this.dispatchEvent(new CustomEvent(this.constructor.eventOpen, init));
|
|
155
|
+
updateCoachmarkDetailsSignal({
|
|
156
|
+
name: "floating",
|
|
157
|
+
detail: this.floating ?? false
|
|
158
|
+
});
|
|
159
|
+
if (this.floating) {
|
|
160
|
+
if (this.dragCleanup) {
|
|
161
|
+
this.dragCleanup();
|
|
162
|
+
this.dragCleanup = null;
|
|
163
|
+
}
|
|
164
|
+
this.setupDraggable();
|
|
165
|
+
}
|
|
166
|
+
setTimeout(() => {
|
|
167
|
+
requestAnimationFrame(() => {
|
|
168
|
+
let elementToFocus = null;
|
|
169
|
+
if (this.selectorPrimaryFocus) {
|
|
170
|
+
const raw = this.selectorPrimaryFocus.trim();
|
|
171
|
+
const selector = raw.startsWith("#") || raw.startsWith(".") || raw.startsWith("[") ? raw : `.${raw}`;
|
|
172
|
+
const found = document.querySelector(selector);
|
|
173
|
+
elementToFocus = found?.shadowRoot?.querySelector("button, [tabindex]") ?? found;
|
|
174
|
+
}
|
|
175
|
+
if (!elementToFocus) {
|
|
176
|
+
const header = (this.shadowRoot?.querySelector(`.${blockClass}--popover cds-popover-content .${blockClass}--wrapper`))?.querySelector("slot")?.assignedElements({ flatten: true })?.find((el) => el.tagName.toLowerCase() === `cds-coachmark-header`);
|
|
177
|
+
if (header?.shadowRoot) {
|
|
178
|
+
const dragButton = this.floating ? header.shadowRoot.querySelector(`.cds--coachmark-header-drag-handle`) : null;
|
|
179
|
+
const closeButton = header.shadowRoot.querySelector(`.cds--coachmark-header-close-button`);
|
|
180
|
+
elementToFocus = dragButton || closeButton;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
if (elementToFocus) elementToFocus.focus();
|
|
184
|
+
});
|
|
185
|
+
}, 100);
|
|
186
|
+
} else {
|
|
187
|
+
this.dispatchEvent(new CustomEvent(this.constructor.eventClose, init));
|
|
188
|
+
updateCoachmarkDetailsSignal({
|
|
189
|
+
name: "floating",
|
|
190
|
+
detail: false
|
|
191
|
+
});
|
|
192
|
+
requestAnimationFrame(() => {
|
|
193
|
+
((this.shadowRoot?.querySelector("slot[name=\"trigger\"]"))?.assignedElements({ flatten: true })[0])?.focus();
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
render() {
|
|
199
|
+
const caretValue = this.caret !== void 0 ? this.caret : this.floating === true ? false : true;
|
|
200
|
+
return html`
|
|
201
|
+
<cds-popover
|
|
202
|
+
part="popover"
|
|
203
|
+
exportparts="popover-container"
|
|
204
|
+
class="${blockClass}--popover"
|
|
205
|
+
?open=${this.open}
|
|
206
|
+
.caret=${caretValue}
|
|
207
|
+
?highContrast=${this.highContrast}
|
|
208
|
+
align=${this.align}
|
|
209
|
+
.dropShadow=${this.dropShadow}
|
|
210
|
+
@cds-popover-closed=${this.handlePopoverClosed}>
|
|
211
|
+
<slot name="trigger"></slot>
|
|
212
|
+
<cds-popover-content part="popover-content" exportparts="content">
|
|
213
|
+
<div
|
|
214
|
+
role="status"
|
|
215
|
+
aria-live="polite"
|
|
216
|
+
aria-atomic="true"
|
|
217
|
+
class="${"cds"}--visually-hidden">
|
|
218
|
+
${this.floating ? this.isDragging === true ? "Drag mode active." : this.isDragging === false ? "Drag mode ended." : "" : ""}
|
|
219
|
+
</div>
|
|
220
|
+
<div
|
|
221
|
+
role="status"
|
|
222
|
+
aria-live="assertive"
|
|
223
|
+
aria-atomic="true"
|
|
224
|
+
class="${"cds"}--visually-hidden">
|
|
225
|
+
${this.floating ? this.moveAnnouncement : ""}
|
|
226
|
+
</div>
|
|
227
|
+
<div class="${blockClass}--wrapper">
|
|
228
|
+
<slot></slot>
|
|
229
|
+
</div>
|
|
230
|
+
</cds-popover-content>
|
|
231
|
+
</cds-popover>
|
|
232
|
+
`;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* The name of the custom event fired when this coachmark is opened.
|
|
236
|
+
*/
|
|
237
|
+
static get eventOpen() {
|
|
238
|
+
return `cds-coachmark-opened`;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* The name of the custom event fired when this coachmark is closed.
|
|
242
|
+
*/
|
|
243
|
+
static get eventClose() {
|
|
244
|
+
return `cds-coachmark-closed`;
|
|
245
|
+
}
|
|
246
|
+
static {
|
|
247
|
+
this.styles = coachmark_default$1;
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
__decorate([property({
|
|
251
|
+
type: Boolean,
|
|
252
|
+
reflect: true
|
|
253
|
+
})], CDSCoachmark.prototype, "open", void 0);
|
|
254
|
+
__decorate([property({
|
|
255
|
+
reflect: true,
|
|
256
|
+
type: String
|
|
257
|
+
})], CDSCoachmark.prototype, "align", void 0);
|
|
258
|
+
__decorate([property({ type: Object })], CDSCoachmark.prototype, "position", void 0);
|
|
259
|
+
__decorate([property({
|
|
260
|
+
type: Boolean,
|
|
261
|
+
reflect: true
|
|
262
|
+
})], CDSCoachmark.prototype, "floating", void 0);
|
|
263
|
+
__decorate([property({
|
|
264
|
+
type: Boolean,
|
|
265
|
+
reflect: true
|
|
266
|
+
})], CDSCoachmark.prototype, "highContrast", void 0);
|
|
267
|
+
__decorate([property({
|
|
268
|
+
type: Boolean,
|
|
269
|
+
reflect: true
|
|
270
|
+
})], CDSCoachmark.prototype, "dropShadow", void 0);
|
|
271
|
+
__decorate([property({
|
|
272
|
+
type: Boolean,
|
|
273
|
+
reflect: true
|
|
274
|
+
})], CDSCoachmark.prototype, "caret", void 0);
|
|
275
|
+
__decorate([property({
|
|
276
|
+
attribute: "selector-primary-focus",
|
|
277
|
+
reflect: true
|
|
278
|
+
})], CDSCoachmark.prototype, "selectorPrimaryFocus", void 0);
|
|
279
|
+
__decorate([property({
|
|
280
|
+
attribute: "drag-aria-label",
|
|
281
|
+
reflect: true
|
|
282
|
+
})], CDSCoachmark.prototype, "dragAriaLabel", void 0);
|
|
283
|
+
__decorate([state()], CDSCoachmark.prototype, "isDragging", void 0);
|
|
284
|
+
__decorate([state()], CDSCoachmark.prototype, "moveAnnouncement", void 0);
|
|
285
|
+
CDSCoachmark = __decorate([carbonElement(`cds-coachmark`)], CDSCoachmark);
|
|
286
|
+
var coachmark_default = CDSCoachmark;
|
|
287
|
+
//#endregion
|
|
288
|
+
export { blockClass, coachmark_default as default };
|
|
289
|
+
|
|
290
|
+
//# sourceMappingURL=coachmark.js.map
|