@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,120 @@
|
|
|
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 "../../button/button.js";
|
|
13
|
+
import coachmark_beacon_default$1 from "./coachmark-beacon.scss.js";
|
|
14
|
+
import "./defs.js";
|
|
15
|
+
import { LitElement, html } from "lit";
|
|
16
|
+
import { property } from "lit/decorators.js";
|
|
17
|
+
//#region src/components/coachmark/coachmark-beacon/coachmark-beacon.ts
|
|
18
|
+
/**
|
|
19
|
+
* Copyright IBM Corp. 2025, 2026
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/
|
|
24
|
+
const blockClass = `cds-custom--coachmark-beacon`;
|
|
25
|
+
/**
|
|
26
|
+
* CoachmarkBeacon.
|
|
27
|
+
*
|
|
28
|
+
* @element cds-custom-coachmark-beacon
|
|
29
|
+
* @fires cds-custom-coachmark-beacon-clicked Custom event fired when beacon is clicked
|
|
30
|
+
* */
|
|
31
|
+
let CDSCoachmarkBeacon = class CDSCoachmarkBeacon extends HostListenerMixin(LitElement) {
|
|
32
|
+
constructor(..._args) {
|
|
33
|
+
super(..._args);
|
|
34
|
+
this.kind = "default";
|
|
35
|
+
this.label = "Show information";
|
|
36
|
+
this.id = crypto.randomUUID();
|
|
37
|
+
this.expanded = false;
|
|
38
|
+
this.handleOutsideClick = (event) => {
|
|
39
|
+
if (!this.contains(event.target)) {
|
|
40
|
+
this.expanded = false;
|
|
41
|
+
document.removeEventListener("click", this.handleOutsideClick);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
firstUpdated() {
|
|
46
|
+
this.classList.add(blockClass);
|
|
47
|
+
if (this.kind) this.classList.add(`${blockClass}-${this.kind}`);
|
|
48
|
+
}
|
|
49
|
+
connectedCallback() {
|
|
50
|
+
super.connectedCallback();
|
|
51
|
+
if (this.expanded) document.addEventListener("click", this.handleOutsideClick);
|
|
52
|
+
}
|
|
53
|
+
_handleClick() {
|
|
54
|
+
this.expanded = !this.expanded;
|
|
55
|
+
if (this.expanded) document.addEventListener("click", this.handleOutsideClick);
|
|
56
|
+
else document.removeEventListener("click", this.handleOutsideClick);
|
|
57
|
+
this.dispatchEvent(new CustomEvent(this.constructor.beaconClicked, {
|
|
58
|
+
detail: { expanded: this.expanded },
|
|
59
|
+
bubbles: true,
|
|
60
|
+
composed: true
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
disconnectedCallback() {
|
|
64
|
+
super.disconnectedCallback();
|
|
65
|
+
document.removeEventListener("click", this.handleOutsideClick);
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
return html`
|
|
69
|
+
<cds-custom-button
|
|
70
|
+
class="${blockClass}__target"
|
|
71
|
+
type="button"
|
|
72
|
+
id=${this.id}
|
|
73
|
+
aria-expanded="${String(this.expanded)}"
|
|
74
|
+
@click=${this._handleClick}>
|
|
75
|
+
<slot name="icon">
|
|
76
|
+
<svg
|
|
77
|
+
class="${blockClass}__center"
|
|
78
|
+
aria-label=${this.label}
|
|
79
|
+
width="76"
|
|
80
|
+
height="76"
|
|
81
|
+
viewBox="0 0 76 76">
|
|
82
|
+
<title>${this.label}</title>
|
|
83
|
+
<circle r="1" cx="36" cy="36"></circle>
|
|
84
|
+
</svg>
|
|
85
|
+
</slot>
|
|
86
|
+
</cds-custom-button>
|
|
87
|
+
`;
|
|
88
|
+
}
|
|
89
|
+
static {
|
|
90
|
+
this.shadowRootOptions = {
|
|
91
|
+
...LitElement.shadowRootOptions,
|
|
92
|
+
delegatesFocus: true
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
static get beaconClicked() {
|
|
96
|
+
return `cds-custom-coachmark-beacon-clicked`;
|
|
97
|
+
}
|
|
98
|
+
static {
|
|
99
|
+
this.styles = coachmark_beacon_default$1;
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
__decorate([property({ reflect: true })], CDSCoachmarkBeacon.prototype, "kind", void 0);
|
|
103
|
+
__decorate([property({
|
|
104
|
+
type: String,
|
|
105
|
+
reflect: true
|
|
106
|
+
})], CDSCoachmarkBeacon.prototype, "label", void 0);
|
|
107
|
+
__decorate([property({
|
|
108
|
+
type: String,
|
|
109
|
+
reflect: true
|
|
110
|
+
})], CDSCoachmarkBeacon.prototype, "id", void 0);
|
|
111
|
+
__decorate([property({
|
|
112
|
+
type: Boolean,
|
|
113
|
+
reflect: true
|
|
114
|
+
})], CDSCoachmarkBeacon.prototype, "expanded", void 0);
|
|
115
|
+
CDSCoachmarkBeacon = __decorate([carbonElement(`cds-custom-coachmark-beacon`)], CDSCoachmarkBeacon);
|
|
116
|
+
var coachmark_beacon_default = CDSCoachmarkBeacon;
|
|
117
|
+
//#endregion
|
|
118
|
+
export { coachmark_beacon_default as default };
|
|
119
|
+
|
|
120
|
+
//# sourceMappingURL=coachmark-beacon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-beacon.js","names":["styles","customElement"],"sources":["../../../../src/components/coachmark/coachmark-beacon/coachmark-beacon.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2025, 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-beacon.scss?lit';\nimport '../../button/button';\nimport { BEACON_KIND } from './defs';\n\nconst blockClass = `${prefix}--coachmark-beacon`;\n\n/**\n * CoachmarkBeacon.\n *\n * @element cds-custom-coachmark-beacon\n * @fires cds-custom-coachmark-beacon-clicked Custom event fired when beacon is clicked\n * */\n@customElement(`${prefix}-coachmark-beacon`)\nclass CDSCoachmarkBeacon extends HostListenerMixin(LitElement) {\n /**\n * What style of beacon.\n * BEACON_KIND is an enum from the Coachmark and can be used for this value.\n * @see {@Link BEACON_KIND}\n */\n @property({ reflect: true })\n kind?: BEACON_KIND = BEACON_KIND.DEFAULT;\n\n /**\n * The aria label.\n */\n @property({ type: String, reflect: true })\n label = 'Show information';\n /**\n * id for the coachmark beacon\n */\n @property({ type: String, reflect: true })\n id: string = crypto.randomUUID();\n /**\n * specify aria-expanded of beacon\n */\n @property({ type: Boolean, reflect: true })\n expanded: boolean = false;\n\n firstUpdated() {\n this.classList.add(blockClass);\n if (this.kind) {\n this.classList.add(`${blockClass}-${this.kind}`);\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (this.expanded) {\n document.addEventListener('click', this.handleOutsideClick);\n }\n }\n\n private _handleClick() {\n this.expanded = !this.expanded;\n\n if (this.expanded) {\n document.addEventListener('click', this.handleOutsideClick);\n } else {\n document.removeEventListener('click', this.handleOutsideClick);\n }\n\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSCoachmarkBeacon).beaconClicked,\n {\n detail: { expanded: this.expanded },\n bubbles: true,\n composed: true,\n }\n )\n );\n }\n\n private handleOutsideClick = (event: Event) => {\n if (!this.contains(event.target as Node)) {\n this.expanded = false;\n document.removeEventListener('click', this.handleOutsideClick);\n }\n };\n\n disconnectedCallback() {\n super.disconnectedCallback();\n document.removeEventListener('click', this.handleOutsideClick);\n }\n\n render() {\n return html`\n <cds-custom-button\n class=\"${blockClass}__target\"\n type=\"button\"\n id=${this.id}\n aria-expanded=\"${String(this.expanded)}\"\n @click=${this._handleClick}>\n <slot name=\"icon\">\n <svg\n class=\"${blockClass}__center\"\n aria-label=${this.label}\n width=\"76\"\n height=\"76\"\n viewBox=\"0 0 76 76\">\n <title>${this.label}</title>\n <circle r=\"1\" cx=\"36\" cy=\"36\"></circle>\n </svg>\n </slot>\n </cds-custom-button>\n `;\n }\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n\n static get beaconClicked() {\n return `${prefix}-coachmark-beacon-clicked`;\n }\n\n static styles = styles;\n}\nexport default CDSCoachmarkBeacon;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,aAAa;;;;;;;AAQnB,IAAA,qBAAA,MACM,2BAA2B,kBAAkB,UAAU,CAAC,CAAC;;;;eAarD;YAKK,OAAO,WAAW;kBAKX;6BAqCU,UAAiB;GAC7C,IAAI,CAAC,KAAK,SAAS,MAAM,MAAc,GAAG;IACxC,KAAK,WAAW;IAChB,SAAS,oBAAoB,SAAS,KAAK,kBAAkB;GAC/D;EACF;;CAxCA,eAAe;EACb,KAAK,UAAU,IAAI,UAAU;EAC7B,IAAI,KAAK,MACP,KAAK,UAAU,IAAI,GAAG,WAAW,GAAG,KAAK,MAAM;CAEnD;CAEA,oBAAoB;EAClB,MAAM,kBAAkB;EACxB,IAAI,KAAK,UACP,SAAS,iBAAiB,SAAS,KAAK,kBAAkB;CAE9D;CAEA,eAAuB;EACrB,KAAK,WAAW,CAAC,KAAK;EAEtB,IAAI,KAAK,UACP,SAAS,iBAAiB,SAAS,KAAK,kBAAkB;OAE1D,SAAS,oBAAoB,SAAS,KAAK,kBAAkB;EAG/D,KAAK,cACH,IAAI,YACD,KAAK,YAA0C,eAChD;GACE,QAAQ,EAAE,UAAU,KAAK,SAAS;GAClC,SAAS;GACT,UAAU;EACZ,CACF,CACF;CACF;CASA,uBAAuB;EACrB,MAAM,qBAAqB;EAC3B,SAAS,oBAAoB,SAAS,KAAK,kBAAkB;CAC/D;CAEA,SAAS;EACP,OAAO,IAAI;;iBAEE,WAAW;;aAEf,KAAK,GAAG;yBACI,OAAO,KAAK,QAAQ,EAAE;iBAC9B,KAAK,aAAa;;;qBAGd,WAAW;yBACP,KAAK,MAAM;;;;qBAIf,KAAK,MAAM;;;;;;CAM9B;;2BAC2B;GACzB,GAAG,WAAW;GACd,gBAAgB;EAClB;;CAEA,WAAW,gBAAgB;EACzB,OAAO;CACT;;gBAEgBA;;AAClB;YAlGG,SAAS,EAAE,SAAS,KAAK,CAAC,CAAA,GAAA,mBAAA,WAAA,QAAA,KAAA,CAAA;YAM1B,SAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,mBAAA,WAAA,SAAA,KAAA,CAAA;YAKxC,SAAS;CAAE,MAAM;CAAQ,SAAS;AAAK,CAAC,CAAA,GAAA,mBAAA,WAAA,MAAA,KAAA,CAAA;YAKxC,SAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAAA,GAAA,mBAAA,WAAA,YAAA,KAAA,CAAA;iCAvB3CC,cAAc,sBAA4B,CAAA,GAAA,kBAAA;AA0G3C,IAAA,2BAAe"}
|
|
@@ -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-beacon/coachmark-beacon.scss?lit
|
|
10
|
+
var coachmark_beacon_default = css([".cds-custom--coachmark-beacon{position:relative}.cds-custom--coachmark-beacon-default .cds-custom--coachmark-beacon__target:before{display:none}.cds-custom--coachmark-beacon-default .cds-custom--coachmark-beacon__target:after{position:absolute;border-radius:50%;background-color:#4589ff;block-size:.75rem;content:\"\";inline-size:.75rem;inset-block-start:.625rem;inset-inline-start:.625rem}.cds-custom--coachmark-beacon-default .cds-custom--coachmark-beacon__target:focus{outline:transparent}.cds-custom--coachmark-beacon-default .cds-custom--coachmark-beacon__target:focus:before{position:absolute;display:block;border-radius:100%;block-size:18px;content:\"\";inline-size:18px;inset-block-start:7px;inset-inline-start:7px;outline:.125rem var(--cds-focus,#0f62fe) solid}.cds-custom--coachmark-beacon .cds-custom--coachmark-beacon__target{display:flex;padding:0;border:none;border-radius:50%;background-color:transparent;block-size:2rem;cursor:pointer;inline-size:2rem}.cds-custom--coachmark-beacon .cds-custom--coachmark-beacon__target[aria-expanded=true] circle{animation:none}.cds-custom--coachmark-beacon__center{position:absolute;z-index:6900;block-size:5rem;inline-size:5rem;inset-block-start:-1.375rem;inset-inline-start:-1.375rem;pointer-events:none}.cds-custom--coachmark-beacon__center circle{animation:ripple 2s infinite;fill:var(--cds-support-info,#0043ce);fill-opacity:0;-webkit-mask-image:none;mask-image:none;stroke:var(--cds-support-info,#0043ce);stroke-opacity:0;stroke-width:1px;transition-timing-function:cubic-bezier(.2,0,1,.9)}@media (prefers-reduced-motion){.cds-custom--coachmark-beacon__center circle{animation:none}}@keyframes ripple{0%{fill-opacity:0;r:1px;stroke-opacity:0;transition-timing-function:cubic-bezier(0,0,.38,.9)}31%{fill-opacity:.2;stroke-opacity:1}62%{fill-opacity:0;r:32px;stroke-opacity:0}to{fill-opacity:0;r:32px;stroke-opacity:0}}@keyframes ring-ripple{0%{fill-opacity:0;r:12px;stroke-opacity:0;transition-timing-function:cubic-bezier(0,0,.38,.9)}31%{fill-opacity:.2;stroke-opacity:1}62%{fill-opacity:0;r:32px;stroke-opacity:0}to{fill-opacity:0;r:32px;stroke-opacity:0}}:host(cds-custom-coachmark-beacon){position:relative}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target:before{display:none}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target:after{position:absolute;border-radius:50%;background-color:#4589ff;block-size:.75rem;content:\"\";inline-size:.75rem;inset-block-start:.625rem;inset-inline-start:.625rem}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target:focus{outline:transparent}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target:focus:before{position:absolute;display:block;border-radius:100%;block-size:18px;content:\"\";inline-size:18px;inset-block-start:7px;inset-inline-start:7px;outline:.125rem var(--cds-focus,#0f62fe) solid}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target{display:flex;padding:0;border:none;border-radius:50%;background-color:transparent;block-size:2rem;box-shadow:none;cursor:pointer;inline-size:2rem}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target[aria-expanded=true] circle{animation:none}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target::part(button){background-color:transparent;box-shadow:none;max-block-size:0;min-block-size:0;padding-inline:0}:host(.cds-custom--coachmark-beacon-default) .cds-custom--coachmark-beacon__target::part(button):focus{border-color:transparent;box-shadow:none}"]);
|
|
11
|
+
//#endregion
|
|
12
|
+
export { coachmark_beacon_default as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=coachmark-beacon.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-beacon.scss.js","names":[],"sources":["../../../../src/components/coachmark/coachmark-beacon/coachmark-beacon.scss?lit"],"sourcesContent":["//\n// Copyright IBM Corp. 2025, 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/spacing' as *;\n@use '@carbon/styles/scss/theme' as *;\n@use '@carbon/styles/scss/colors' as *;\n@use '@carbon/styles/scss/config' as *;\n@use '@carbon/styles/scss/components/coachmark/coachmark-beacon' as\n coachmark-beacon-styles;\n\n@include coachmark-beacon-styles.coachmark-beacon;\n\n$block-class: #{$prefix}--coachmark-beacon;\n\n:host(#{$prefix}-coachmark-beacon) {\n position: relative;\n}\n\n:host(.#{$prefix}--coachmark-beacon-default) {\n .#{$block-class}__target {\n &::before {\n display: none;\n }\n // the blue dot\n &::after {\n position: absolute;\n border-radius: 50%;\n background-color: $blue-50;\n block-size: $spacing-04;\n content: '';\n inline-size: $spacing-04;\n inset-block-start: calc($spacing-01 + $spacing-03);\n inset-inline-start: calc($spacing-01 + $spacing-03);\n }\n\n &:focus {\n outline: transparent;\n\n &::before {\n position: absolute;\n display: block;\n border-radius: 100%;\n block-size: 18px;\n content: '';\n inline-size: 18px;\n inset-block-start: 7px;\n inset-inline-start: 7px;\n outline: $spacing-01 $focus solid;\n }\n }\n }\n\n .#{$block-class}__target {\n display: flex;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: transparent;\n block-size: $spacing-07;\n box-shadow: none;\n cursor: pointer;\n inline-size: $spacing-07;\n\n &[aria-expanded='true'] {\n circle {\n animation: none;\n }\n }\n }\n\n .#{$block-class}__target::part(button) {\n background-color: transparent;\n box-shadow: none;\n max-block-size: 0;\n min-block-size: 0;\n padding-inline: 0;\n\n &:focus {\n border-color: transparent;\n box-shadow: none;\n }\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2023, 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
|
+
* Reserved for future expansion, i.e. "RING".
|
|
9
|
+
*/
|
|
10
|
+
export declare enum BEACON_KIND {
|
|
11
|
+
DEFAULT = "default"
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/components/coachmark/coachmark-beacon/defs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH;;GAEG;AACH,oBAAY,WAAW;IACrB,OAAO,YAAY;CACpB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
//#region src/components/coachmark/coachmark-beacon/defs.ts
|
|
9
|
+
/**
|
|
10
|
+
* Copyright IBM Corp. 2023, 2026
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Reserved for future expansion, i.e. "RING".
|
|
17
|
+
*/
|
|
18
|
+
let BEACON_KIND = /* @__PURE__ */ function(BEACON_KIND) {
|
|
19
|
+
BEACON_KIND["DEFAULT"] = "default";
|
|
20
|
+
return BEACON_KIND;
|
|
21
|
+
}({});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { BEACON_KIND };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","names":[],"sources":["../../../../src/components/coachmark/coachmark-beacon/defs.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2023, 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 * Reserved for future expansion, i.e. \"RING\".\n */\nexport enum BEACON_KIND {\n DEFAULT = 'default',\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AASA,IAAY,cAAL,yBAAA,aAAA;CACL,YAAA,aAAA;;AACF,EAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/coachmark/coachmark-beacon/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
declare const CDSCoachmarkBody_base: {
|
|
9
|
+
new (...args: any[]): {
|
|
10
|
+
_handles: Set<import("../../globals/internal/handle").default>;
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
};
|
|
14
|
+
_hostListeners: {
|
|
15
|
+
[listenerName: string]: {
|
|
16
|
+
[type: string]: {
|
|
17
|
+
options?: boolean | AddEventListenerOptions;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} & typeof LitElement & (new (...args: any[]) => import("@lit-labs/signals").SignalWatcherApi);
|
|
22
|
+
/**
|
|
23
|
+
* coachmark-body for content body
|
|
24
|
+
* @element cds-custom-coachmark-body
|
|
25
|
+
*/
|
|
26
|
+
declare class CDSCoachmarkBody extends CDSCoachmarkBody_base {
|
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
+
static styles: any;
|
|
29
|
+
}
|
|
30
|
+
export default CDSCoachmarkBody;
|
|
31
|
+
//# sourceMappingURL=coachmark-body.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-body.d.ts","sourceRoot":"","sources":["../../../src/components/coachmark/coachmark-body.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;uBAqB6B,CAAC;;;;;AAbrE;;;GAGG;AACH,cACM,gBAAiB,SAAQ,qBAA4C;IACzE,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AACD,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 coachmark_body_default$1 from "./coachmark-body.scss.js";
|
|
13
|
+
import { LitElement, html } from "lit";
|
|
14
|
+
import { SignalWatcher } from "@lit-labs/signals";
|
|
15
|
+
//#region src/components/coachmark/coachmark-body.ts
|
|
16
|
+
/**
|
|
17
|
+
* Copyright IBM Corp. 2025, 2026
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* coachmark-body for content body
|
|
24
|
+
* @element cds-custom-coachmark-body
|
|
25
|
+
*/
|
|
26
|
+
let CDSCoachmarkBody = class CDSCoachmarkBody extends SignalWatcher(HostListenerMixin(LitElement)) {
|
|
27
|
+
render() {
|
|
28
|
+
return html` <slot></slot> `;
|
|
29
|
+
}
|
|
30
|
+
static {
|
|
31
|
+
this.styles = coachmark_body_default$1;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
CDSCoachmarkBody = __decorate([carbonElement(`cds-custom-coachmark-body`)], CDSCoachmarkBody);
|
|
35
|
+
var coachmark_body_default = CDSCoachmarkBody;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { coachmark_body_default as default };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=coachmark-body.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-body.js","names":["styles","customElement"],"sources":["../../../src/components/coachmark/coachmark-body.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2025, 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 { html, LitElement } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nimport styles from './coachmark-body.scss?lit';\nimport { SignalWatcher } from '@lit-labs/signals';\n\n/**\n * coachmark-body for content body\n * @element cds-custom-coachmark-body\n */\n@customElement(`${prefix}-coachmark-body`)\nclass CDSCoachmarkBody extends SignalWatcher(HostListenerMixin(LitElement)) {\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\nexport default CDSCoachmarkBody;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,IAAA,mBAAA,MACM,yBAAyB,cAAc,kBAAkB,UAAU,CAAC,CAAC,CAAC;CAC1E,SAAS;EACP,OAAO,IAAI;CACb;;gBAEgBA;;AAClB;+BAPCC,cAAc,oBAA0B,CAAA,GAAA,gBAAA;AAQzC,IAAA,yBAAe"}
|
|
@@ -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-body.scss?lit
|
|
10
|
+
var coachmark_body_default = css([":host(cds-custom-coachmark-body){display:block;padding:0 1rem 1rem}"]);
|
|
11
|
+
//#endregion
|
|
12
|
+
export { coachmark_body_default as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=coachmark-body.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-body.scss.js","names":[],"sources":["../../../src/components/coachmark/coachmark-body.scss?lit"],"sourcesContent":["//\n// Copyright IBM Corp. 2025, 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/spacing' as *;\n@use '@carbon/styles/scss/config' as *;\n\n:host(#{$prefix}-coachmark-body) {\n display: block;\n padding: 0 $spacing-05 $spacing-05;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface CoachmarkDetailsType {
|
|
2
|
+
open?: boolean;
|
|
3
|
+
floating?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const coachmarkDetailsSignal: import("signal-polyfill").Signal.State<CoachmarkDetailsType>;
|
|
6
|
+
export declare const resetCoachmarkDetailsSignal: () => void;
|
|
7
|
+
export declare const updateCoachmarkDetailsSignal: ({ name, detail }: {
|
|
8
|
+
name: any;
|
|
9
|
+
detail: any;
|
|
10
|
+
}) => void;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=coachmark-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-context.d.ts","sourceRoot":"","sources":["../../../src/components/coachmark/coachmark-context.ts"],"names":[],"mappings":"AAQA,UAAU,oBAAoB;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,sBAAsB,8DAGjC,CAAC;AAEH,eAAO,MAAM,2BAA2B,YAKvC,CAAC;AACF,eAAO,MAAM,4BAA4B,GAAI;;;CAAgB,SAQ5D,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { signal } from "@lit-labs/signals";
|
|
9
|
+
//#region src/components/coachmark/coachmark-context.ts
|
|
10
|
+
/**
|
|
11
|
+
* Copyright IBM Corp. 2025, 2026
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
const coachmarkDetailsSignal = signal({
|
|
17
|
+
open: false,
|
|
18
|
+
floating: false
|
|
19
|
+
});
|
|
20
|
+
const resetCoachmarkDetailsSignal = () => {
|
|
21
|
+
coachmarkDetailsSignal.set({
|
|
22
|
+
open: false,
|
|
23
|
+
floating: false
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
const updateCoachmarkDetailsSignal = ({ name, detail }) => {
|
|
27
|
+
const currentValue = coachmarkDetailsSignal.get();
|
|
28
|
+
if (currentValue[name] !== detail) {
|
|
29
|
+
const newValue = {
|
|
30
|
+
...currentValue,
|
|
31
|
+
[name]: detail
|
|
32
|
+
};
|
|
33
|
+
coachmarkDetailsSignal.set(newValue);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { coachmarkDetailsSignal, resetCoachmarkDetailsSignal, updateCoachmarkDetailsSignal };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=coachmark-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-context.js","names":[],"sources":["../../../src/components/coachmark/coachmark-context.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2025, 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 */\nimport { signal } from '@lit-labs/signals';\n\ninterface CoachmarkDetailsType {\n open?: boolean;\n floating?: boolean;\n}\n\nexport const coachmarkDetailsSignal = signal<CoachmarkDetailsType>({\n open: false,\n floating: false,\n});\n\nexport const resetCoachmarkDetailsSignal = () => {\n coachmarkDetailsSignal.set({\n open: false,\n floating: false,\n });\n};\nexport const updateCoachmarkDetailsSignal = ({ name, detail }) => {\n // Fetch current value once\n const currentValue = coachmarkDetailsSignal.get();\n // Only set if value really changes\n if (currentValue[name] !== detail) {\n const newValue = { ...currentValue, [name]: detail };\n coachmarkDetailsSignal.set(newValue);\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;AAaA,MAAa,yBAAyB,OAA6B;CACjE,MAAM;CACN,UAAU;AACZ,CAAC;AAED,MAAa,oCAAoC;CAC/C,uBAAuB,IAAI;EACzB,MAAM;EACN,UAAU;CACZ,CAAC;AACH;AACA,MAAa,gCAAgC,EAAE,MAAM,aAAa;CAEhE,MAAM,eAAe,uBAAuB,IAAI;CAEhD,IAAI,aAAa,UAAU,QAAQ;EACjC,MAAM,WAAW;GAAE,GAAG;IAAe,OAAO;EAAO;EACnD,uBAAuB,IAAI,QAAQ;CACrC;AACF"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 '../button/index';
|
|
9
|
+
declare const CDSCoachmarkHeader_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 & (new (...args: any[]) => import("@lit-labs/signals").SignalWatcherApi);
|
|
23
|
+
/**
|
|
24
|
+
* coachmark-header for content header section
|
|
25
|
+
* @element cds-custom-coachmark-header
|
|
26
|
+
*/
|
|
27
|
+
declare class CDSCoachmarkHeader extends CDSCoachmarkHeader_base {
|
|
28
|
+
/**
|
|
29
|
+
* Tooltip text and aria label for the Close button icon.
|
|
30
|
+
*/
|
|
31
|
+
closeIconDescription?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Tooltip text and aria label for the Drag button icon.
|
|
34
|
+
*/
|
|
35
|
+
dragIconDescription?: string;
|
|
36
|
+
private _handleClick;
|
|
37
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
38
|
+
static styles: any;
|
|
39
|
+
}
|
|
40
|
+
export default CDSCoachmarkHeader;
|
|
41
|
+
//# sourceMappingURL=coachmark-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-header.d.ts","sourceRoot":"","sources":["../../../src/components/coachmark/coachmark-header.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAGhD,OAAO,iBAAiB,CAAC;;;;;;;;;;uBAcE,CAAC;;;;;AAD5B;;;GAGG;AACH,cACM,kBAAmB,SAAQ,uBAA4C;IAC3E;;OAEG;IAEH,oBAAoB,CAAC,EAAE,MAAM,CAAM;IAEnC;;OAEG;IAEH,mBAAmB,CAAC,EAAE,MAAM,CAAM;IAElC,OAAO,CAAC,YAAY,CAqBlB;IAEF,MAAM;IA+BN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
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/index.js";
|
|
14
|
+
import { coachmarkDetailsSignal, updateCoachmarkDetailsSignal } from "./coachmark-context.js";
|
|
15
|
+
import coachmark_header_default$1 from "./coachmark-header.scss.js";
|
|
16
|
+
import { LitElement, html, nothing } from "lit";
|
|
17
|
+
import { property } from "lit/decorators.js";
|
|
18
|
+
import { SignalWatcher } from "@lit-labs/signals";
|
|
19
|
+
import Close from "@carbon/icons/es/close/16";
|
|
20
|
+
import Draggable from "@carbon/icons/es/draggable/16";
|
|
21
|
+
//#region src/components/coachmark/coachmark-header.ts
|
|
22
|
+
/**
|
|
23
|
+
* Copyright IBM Corp. 2025, 2026
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* coachmark-header for content header section
|
|
30
|
+
* @element cds-custom-coachmark-header
|
|
31
|
+
*/
|
|
32
|
+
let CDSCoachmarkHeader = class CDSCoachmarkHeader extends SignalWatcher(HostListenerMixin(LitElement)) {
|
|
33
|
+
constructor(..._args) {
|
|
34
|
+
super(..._args);
|
|
35
|
+
this.closeIconDescription = "";
|
|
36
|
+
this.dragIconDescription = "";
|
|
37
|
+
this._handleClick = (event) => {
|
|
38
|
+
event.stopPropagation();
|
|
39
|
+
const coachmark = this.closest(`cds-custom-coachmark`);
|
|
40
|
+
if (coachmark) {
|
|
41
|
+
coachmark.dispatchEvent(new CustomEvent(`cds-custom-coachmark-request-close`, {
|
|
42
|
+
bubbles: true,
|
|
43
|
+
composed: true,
|
|
44
|
+
cancelable: true,
|
|
45
|
+
detail: { source: "header-close-button" }
|
|
46
|
+
}));
|
|
47
|
+
coachmark.open = false;
|
|
48
|
+
}
|
|
49
|
+
updateCoachmarkDetailsSignal({
|
|
50
|
+
name: "open",
|
|
51
|
+
detail: false
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
const { floating } = coachmarkDetailsSignal.get();
|
|
57
|
+
return html`
|
|
58
|
+
${floating ? html`
|
|
59
|
+
<cds-custom-button
|
|
60
|
+
kind="ghost"
|
|
61
|
+
size="sm"
|
|
62
|
+
class="${"cds-custom"}--coachmark-header-drag-handle"
|
|
63
|
+
tooltip-text="${this.dragIconDescription}">
|
|
64
|
+
${iconLoader(Draggable, {
|
|
65
|
+
slot: "icon",
|
|
66
|
+
class: `cds-custom--coachmark-header-drag-icon`
|
|
67
|
+
})}
|
|
68
|
+
</cds-custom-button>
|
|
69
|
+
` : nothing}
|
|
70
|
+
<slot name="header"></slot>
|
|
71
|
+
<cds-custom-button
|
|
72
|
+
kind="ghost"
|
|
73
|
+
size="sm"
|
|
74
|
+
class="${"cds-custom"}--coachmark-header-close-button"
|
|
75
|
+
tooltip-text="${this.closeIconDescription}"
|
|
76
|
+
@click=${this._handleClick}>
|
|
77
|
+
${iconLoader(Close, {
|
|
78
|
+
slot: "icon",
|
|
79
|
+
class: `cds-custom--coachmark-header-close-icon`
|
|
80
|
+
})}
|
|
81
|
+
</cds-custom-button>
|
|
82
|
+
`;
|
|
83
|
+
}
|
|
84
|
+
static {
|
|
85
|
+
this.styles = coachmark_header_default$1;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
__decorate([property({ reflect: true })], CDSCoachmarkHeader.prototype, "closeIconDescription", void 0);
|
|
89
|
+
__decorate([property({ reflect: true })], CDSCoachmarkHeader.prototype, "dragIconDescription", void 0);
|
|
90
|
+
CDSCoachmarkHeader = __decorate([carbonElement(`cds-custom-coachmark-header`)], CDSCoachmarkHeader);
|
|
91
|
+
var coachmark_header_default = CDSCoachmarkHeader;
|
|
92
|
+
//#endregion
|
|
93
|
+
export { coachmark_header_default as default };
|
|
94
|
+
|
|
95
|
+
//# sourceMappingURL=coachmark-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-header.js","names":["styles","customElement"],"sources":["../../../src/components/coachmark/coachmark-header.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2025, 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 */\nimport { LitElement, html, nothing } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport '../button/index';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './coachmark-header.scss?lit';\nimport Close from '@carbon/icons/es/close/16';\nimport Draggable from '@carbon/icons/es/draggable/16';\nimport { SignalWatcher } from '@lit-labs/signals';\nimport {\n coachmarkDetailsSignal,\n updateCoachmarkDetailsSignal,\n} from './coachmark-context';\nimport { iconLoader } from '../../globals/internal/icon-loader';\n\n/**\n * coachmark-header for content header section\n * @element cds-custom-coachmark-header\n */\n@customElement(`${prefix}-coachmark-header`)\nclass CDSCoachmarkHeader extends SignalWatcher(HostListenerMixin(LitElement)) {\n /**\n * Tooltip text and aria label for the Close button icon.\n */\n @property({ reflect: true })\n closeIconDescription?: string = '';\n\n /**\n * Tooltip text and aria label for the Drag button icon.\n */\n @property({ reflect: true })\n dragIconDescription?: string = '';\n\n private _handleClick = (event: Event) => {\n event.stopPropagation();\n\n const coachmark = this.closest(`${prefix}-coachmark`) as HTMLElement | null;\n if (coachmark) {\n coachmark.dispatchEvent(\n new CustomEvent(`${prefix}-coachmark-request-close`, {\n bubbles: true,\n composed: true,\n cancelable: true,\n detail: { source: 'header-close-button' },\n })\n );\n\n (coachmark as HTMLElement & { open: boolean }).open = false;\n }\n\n updateCoachmarkDetailsSignal({\n name: 'open',\n detail: false,\n });\n };\n\n render() {\n const { floating } = coachmarkDetailsSignal.get();\n return html`\n ${floating\n ? html`\n <cds-custom-button\n kind=\"ghost\"\n size=\"sm\"\n class=\"${prefix}--coachmark-header-drag-handle\"\n tooltip-text=\"${this.dragIconDescription}\">\n ${iconLoader(Draggable, {\n slot: 'icon',\n class: `${prefix}--coachmark-header-drag-icon`,\n })}\n </cds-custom-button>\n `\n : nothing}\n <slot name=\"header\"></slot>\n <cds-custom-button\n kind=\"ghost\"\n size=\"sm\"\n class=\"${prefix}--coachmark-header-close-button\"\n tooltip-text=\"${this.closeIconDescription}\"\n @click=${this._handleClick}>\n ${iconLoader(Close, {\n slot: 'icon',\n class: `${prefix}--coachmark-header-close-icon`,\n })}\n </cds-custom-button>\n `;\n }\n static styles = styles;\n}\n\nexport default CDSCoachmarkHeader;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,IAAA,qBAAA,MACM,2BAA2B,cAAc,kBAAkB,UAAU,CAAC,CAAC,CAAC;;;8BAK5C;6BAMD;uBAEP,UAAiB;GACvC,MAAM,gBAAgB;GAEtB,MAAM,YAAY,KAAK,QAAQ,eAAqB;GACpD,IAAI,WAAW;IACb,UAAU,cACR,IAAI,YAAY,+BAAqC;KACnD,SAAS;KACT,UAAU;KACV,YAAY;KACZ,QAAQ,EAAE,QAAQ,sBAAsB;IAC1C,CAAC,CACH;IAEA,UAA+C,OAAO;GACxD;GAEA,6BAA6B;IAC3B,MAAM;IACN,QAAQ;GACV,CAAC;EACH;;CAEA,SAAS;EACP,MAAM,EAAE,aAAa,uBAAuB,IAAI;EAChD,OAAO,IAAI;QACP,WACE,IAAI;;;;6BAIgB;8BACA,KAAK,oBAAoB;gBACvC,WAAW,WAAW;GACtB,MAAM;GACN,OAAO;EACT,CAAC,EAAE;;cAGP,QAAQ;;;;;uBAKM;wBACA,KAAK,qBAAqB;iBACjC,KAAK,aAAa;UACzB,WAAW,OAAO;GAClB,MAAM;GACN,OAAO;EACT,CAAC,EAAE;;;CAGT;;gBACgBA;;AAClB;YAhEG,SAAS,EAAE,SAAS,KAAK,CAAC,CAAA,GAAA,mBAAA,WAAA,wBAAA,KAAA,CAAA;YAM1B,SAAS,EAAE,SAAS,KAAK,CAAC,CAAA,GAAA,mBAAA,WAAA,uBAAA,KAAA,CAAA;iCAX5BC,cAAc,sBAA4B,CAAA,GAAA,kBAAA;AAuE3C,IAAA,2BAAe"}
|
|
@@ -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-header.scss?lit
|
|
10
|
+
var coachmark_header_default = css([":host(cds-custom-coachmark-header){display:flex;justify-content:flex-end}:host(cds-custom-coachmark-header) .cds-custom--coachmark-header-drag-handle{margin-inline-end:auto}:host(cds-custom-coachmark-header) .cds-custom--coachmark-header-drag-icon{fill:var(--cds-background,#fff)}:host(cds-custom-coachmark-header) .cds-custom--coachmark-header-close-icon{fill:var(--cds-background,#fff)}"]);
|
|
11
|
+
//#endregion
|
|
12
|
+
export { coachmark_header_default as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=coachmark-header.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-header.scss.js","names":[],"sources":["../../../src/components/coachmark/coachmark-header.scss?lit"],"sourcesContent":["//\n// Copyright IBM Corp. 2025, 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/theme' as *;\n@use '@carbon/styles/scss/config' as *;\n\n:host(#{$prefix}-coachmark-header) {\n display: flex;\n justify-content: flex-end;\n\n .#{$prefix}--coachmark-header-drag-handle {\n margin-inline-end: auto;\n }\n\n .#{$prefix}--coachmark-header-drag-icon {\n fill: $background;\n }\n\n .#{$prefix}--coachmark-header-close-icon {\n fill: $background;\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare const handleClick: () => void;
|
|
8
|
+
export declare const handleDone: () => void;
|
|
9
|
+
export declare const handleCoachmarkOpened: () => void;
|
|
10
|
+
//# sourceMappingURL=coachmark-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-helpers.d.ts","sourceRoot":"","sources":["../../../src/components/coachmark/coachmark-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,eAAO,MAAM,WAAW,YAGvB,CAAC;AAEF,eAAO,MAAM,UAAU,YAGtB,CAAC;AAEF,eAAO,MAAM,qBAAqB,YAmBjC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { coachmarkDetailsSignal } from "./coachmark-context.js";
|
|
10
|
+
//#region src/components/coachmark/coachmark-helpers.ts
|
|
11
|
+
/**
|
|
12
|
+
* Copyright IBM Corp. 2026, 2026
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
const handleClick = () => {
|
|
18
|
+
document.querySelector(`cds-custom-coachmark`)?.toggleAttribute("open");
|
|
19
|
+
};
|
|
20
|
+
const handleDone = () => {
|
|
21
|
+
document.querySelector(`cds-custom-coachmark`)?.removeAttribute("open");
|
|
22
|
+
};
|
|
23
|
+
const handleCoachmarkOpened = () => {
|
|
24
|
+
const details = coachmarkDetailsSignal.get();
|
|
25
|
+
setTimeout(() => {
|
|
26
|
+
if (details.floating) (document.querySelector(`cds-custom-coachmark-header`)?.shadowRoot?.querySelector(`.cds-custom--coachmark-header-drag-handle`))?.focus();
|
|
27
|
+
else document.querySelector(".coachmark-body cds-custom-button")?.focus();
|
|
28
|
+
}, 100);
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { handleClick, handleCoachmarkOpened, handleDone };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=coachmark-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coachmark-helpers.js","names":[],"sources":["../../../src/components/coachmark/coachmark-helpers.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 { prefix } from '../../globals/settings';\nimport { coachmarkDetailsSignal } from './coachmark-context';\n\nexport const handleClick = () => {\n const coachmark = document.querySelector(`${prefix}-coachmark`);\n coachmark?.toggleAttribute('open');\n};\n\nexport const handleDone = () => {\n const coachmark = document.querySelector(`${prefix}-coachmark`);\n coachmark?.removeAttribute('open');\n};\n\nexport const handleCoachmarkOpened = () => {\n const details = coachmarkDetailsSignal.get();\n\n setTimeout(() => {\n if (details.floating) {\n // Focus on drag handle for floating coachmark\n const header = document.querySelector(`${prefix}-coachmark-header`);\n const dragHandle = header?.shadowRoot?.querySelector(\n `.${prefix}--coachmark-header-drag-handle`\n ) as HTMLElement;\n dragHandle?.focus();\n } else {\n // Focus on done button for non-floating coachmark\n const doneButton = document.querySelector(\n '.coachmark-body cds-custom-button'\n ) as HTMLElement;\n doneButton?.focus();\n }\n }, 100);\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAUA,MAAa,oBAAoB;CAE/B,SAD2B,cAAc,eACjC,CAAC,EAAE,gBAAgB,MAAM;AACnC;AAEA,MAAa,mBAAmB;CAE9B,SAD2B,cAAc,eACjC,CAAC,EAAE,gBAAgB,MAAM;AACnC;AAEA,MAAa,8BAA8B;CACzC,MAAM,UAAU,uBAAuB,IAAI;CAE3C,iBAAiB;EACf,IAAI,QAAQ,UAMV,CAJe,SAAS,cAAc,sBACd,CAAC,EAAE,YAAY,cACrC,oCACF,EAAA,EACY,MAAM;OAMlB,SAH4B,cAC1B,4BAEO,CAAC,EAAE,MAAM;CAEtB,GAAG,GAAG;AACR"}
|