@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.scss.js","names":[],"sources":["../../../src/components/dropdown/dropdown.scss?lit"],"sourcesContent":["//\n// Copyright IBM Corp. 2019, 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/config' as *;\n@use '@carbon/styles/scss/spacing' as *;\n@use '@carbon/styles/scss/theme' as *;\n@use '@carbon/styles/scss/utilities' as *;\n@use '@carbon/styles/scss/components/list-box/list-box' as *;\n@use '@carbon/styles/scss/components/dropdown' as *;\n@use '@carbon/styles/scss/components/form';\n@use '@carbon/styles/scss/components/checkbox';\n@use '@carbon/styles/scss/components/tag';\n@use '@carbon/styles/scss/utilities/ai-gradient' as *;\n@use '@carbon/styles/scss/utilities/convert' as convert;\n@use '@carbon/styles/scss/layout' as *;\n\n// https://github.com/carbon-design-system/carbon/issues/11408\n@include list-box;\n\n:host(#{$prefix}-dropdown) {\n @include emit-layout-tokens();\n\n outline: none;\n\n .#{$prefix}--list-box {\n box-sizing: border-box;\n }\n\n .#{$prefix}--list-box--expanded {\n border-block-end-color: $border-subtle;\n }\n\n .#{$prefix}--assistive-text {\n inset-block-start: -100%;\n // Hides screen reader cursor\n inset-inline-start: -100%;\n }\n\n .#{$prefix}--label[hidden] {\n display: none;\n }\n\n .#{$prefix}--list-box__menu {\n inset-block-start: 100%;\n margin-block-start: 1px;\n outline: none;\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label]) .#{$prefix}--list-box__wrapper--decorator {\n @include ai-gradient;\n}\n\n:host(#{$prefix}-dropdown[invalid]:not([disabled]):not([read-only])) {\n .#{$prefix}--form__helper-text {\n color: $text-error !important; /* stylelint-disable-line declaration-no-important */\n }\n}\n\n:host(#{$prefix}-dropdown[read-only]) {\n @extend .#{$prefix}--dropdown--readonly;\n\n .#{$prefix}--list-box {\n background-color: transparent;\n border-block-end-color: $border-subtle;\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label][read-only]),\n:host(#{$prefix}-dropdown[ai-label][disabled]) {\n .#{$prefix}--list-box {\n border-block-end-color: $ai-border-strong;\n }\n\n .#{$prefix}--list-box__field {\n border-block-end: 1px solid $ai-border-strong;\n }\n\n ::slotted(#{$prefix}-ai-label)::before {\n display: none;\n }\n}\n\n:host(#{$prefix}-combo-box[direction='top']),\n:host(#{$prefix}-dropdown[direction='top']) {\n @extend .#{$prefix}--list-box--up;\n\n .#{$prefix}--list-box__menu {\n inset-block-start: auto;\n }\n}\n\n:host(#{$prefix}-dropdown[type='inline']) {\n @extend .#{$prefix}--list-box__wrapper--inline;\n\n grid-gap: 0 $spacing-03;\n\n .#{$prefix}--list-box__menu {\n margin-block-start: 0;\n }\n}\n\n:host(#{$prefix}-dropdown[type='inline']) {\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-block: 0;\n padding-inline-end: $spacing-09;\n padding-inline-start: $spacing-05;\n }\n}\n\n:host(\n #{$prefix}-dropdown[type='inline'][warn]:not([disabled]):not([read-only])\n ),\n:host(\n #{$prefix}-dropdown[type='inline'][invalid]:not([disabled]):not([read-only])\n ) {\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n }\n}\n\n:host(\n #{$prefix}-dropdown[type='inline'][warn]:not([disabled]):not([read-only])\n ),\n:host(\n #{$prefix}-dropdown[type='inline'][invalid]:not([disabled]):not([read-only])\n ) {\n grid-template: auto / auto min-content auto;\n\n .#{$prefix}--form__helper-text {\n grid-column: 3;\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline'])\n .#{$prefix}--list-box__expanded {\n border-block-end: 1px solid $ai-border-strong;\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline']:not([invalid]):not([warn]))\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline']:not([invalid])),\n:host(#{$prefix}-dropdown[ai-label][type='inline'][read-only]),\n:host(#{$prefix}-dropdown[ai-label][type='inline'][disabled])\n .#{$prefix}--list-box__field {\n border-block-end: 1px solid $ai-border-strong;\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline'][warn]),\n:host(#{$prefix}-dropdown[ai-label][type='inline'][invalid]) {\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-12;\n }\n}\n\n:host(#{$prefix}-dropdown[type='inline']) .#{$prefix}--list-box__menu-icon {\n inset-inline-end: $spacing-04;\n}\n\n:host(#{$prefix}-dropdown[warn]:not([disabled]):not([read-only])) {\n .#{$prefix}--form__helper-text {\n color: $text-primary;\n }\n}\n\n:host(#{$prefix}-dropdown[warn]),\n:host(#{$prefix}-dropdown[invalid]) {\n .#{$prefix}--form__helper-text {\n grid-column: 2;\n }\n\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n }\n\n .#{$prefix}--list-box__invalid-icon,\n .#{$prefix}--list-box__invalid-icon--warning {\n inset-inline-end: $spacing-08;\n }\n}\n\n:host(#{$prefix}-dropdown-item) {\n @extend .#{$prefix}--list-box__menu-item;\n\n display: block;\n\n .#{$prefix}--list-box__menu-item__option {\n block-size: auto;\n }\n}\n\n:host(#{$prefix}-dropdown-item:first-of-type) {\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n }\n}\n\n:host(#{$prefix}-dropdown-item:not([disabled]):hover) {\n background-color: $layer-hover;\n}\n\n:host(#{$prefix}-dropdown-item[highlighted]) {\n @extend .#{$prefix}--list-box__menu-item--highlighted;\n}\n\n:host(#{$prefix}-dropdown-item[highlighted-next-sibling])\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n}\n\n:host(#{$prefix}-dropdown-item[hovered-next-sibling])\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n}\n\n:host(#{$prefix}-dropdown-item[disabled])\n .#{$prefix}--list-box__menu-item__option {\n color: $text-disabled;\n cursor: not-allowed;\n text-decoration: none;\n}\n\n:host(#{$prefix}-dropdown[disabled][warn]),\n:host(#{$prefix}-dropdown[disabled][invalid]) {\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n }\n}\n\n:host(#{$prefix}-dropdown-item[disabled][highlighted-next-sibling]:hover)\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: $border-subtle;\n}\n\n:host(#{$prefix}-dropdown-item[disabled]:hover)\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: $border-subtle-01;\n}\n\n:host(#{$prefix}-dropdown-item[selected]) {\n @extend .#{$prefix}--list-box__menu-item--active;\n\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n color: $text-primary;\n }\n\n .#{$prefix}--list-box__menu-item__selected-icon {\n display: block;\n }\n}\n\n:host(#{$prefix}-dropdown-item[selected-next-sibling])\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n}\n\n:host(#{$prefix}-dropdown-item[disabled][selected-next-sibling]:hover)\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: $border-subtle;\n}\n\n:host(#{$prefix}-dropdown-item[selected][highlighted]) {\n @extend .#{$prefix}--list-box__menu-item--highlighted;\n}\n\n:host(#{$prefix}-dropdown-item[size='sm']) {\n block-size: $spacing-07;\n\n .#{$prefix}--list-box__menu-item__option {\n padding-block: rem(7px);\n }\n}\n\n:host(#{$prefix}-dropdown-item[size='lg']) {\n block-size: $spacing-09;\n\n .#{$prefix}--list-box__menu-item__option {\n padding-block: rem(15px);\n }\n}\n\n:host(#{$prefix}-dropdown-skeleton) {\n @extend .#{$prefix}--form-item;\n\n .#{$prefix}--skeleton {\n @include skeleton;\n }\n}\n// AILabel styles\n$divider-width: 1px;\n\n:host(#{$prefix}-dropdown[ai-label]) {\n @extend .#{$prefix}--list-box__wrapper--slug;\n\n ::slotted(#{$prefix}-ai-label),\n ::slotted(#{$prefix}-slug) {\n position: absolute;\n inset-block-start: 50%;\n inset-inline-end: $spacing-08;\n }\n\n ::slotted(#{$prefix}-ai-label) {\n display: inline-flex;\n align-items: center;\n margin-inline-end: convert.to-rem(9px);\n }\n\n ::slotted(#{$prefix}-ai-label)::after {\n position: absolute;\n display: block;\n background-color: $border-subtle-01;\n block-size: $spacing-05;\n content: '';\n inline-size: convert.to-rem(1px);\n inset-block-start: convert.to-rem(1px);\n inset-inline-end: calc(-#{$spacing-03} - #{$divider-width});\n }\n\n ::slotted(#{$prefix}-ai-label:not([revert-active])),\n ::slotted(#{$prefix}-slug:not([revert-active])) {\n transform: translateY(-50%);\n }\n\n .#{$prefix}--list-box__invalid-icon,\n .#{$prefix}--list-box__invalid-icon--warning {\n inset-inline-end: convert.to-rem(81px);\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label][warn]:not([disabled]):not([read-only])),\n:host(#{$prefix}-dropdown[ai-label][invalid]:not([disabled]):not([read-only])) {\n .#{$prefix}--list-box {\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-12;\n }\n }\n\n ::slotted(#{$prefix}-ai-label)::before {\n position: absolute;\n display: block;\n background-color: $border-subtle-01;\n block-size: $spacing-05;\n content: '';\n inline-size: convert.to-rem(1px);\n inset-block-start: convert.to-rem(1px);\n inset-inline-start: calc(-#{$spacing-03} - #{$divider-width});\n }\n\n ::slotted(#{$prefix}-ai-label),\n ::slotted(#{$prefix}-slug) {\n inset-inline-end: $spacing-08;\n }\n}\n\n@include emit-layout-tokens-to-shadow-host('#{$prefix}-dropdown');\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"dropdown.scss.js","names":[],"sources":["../../../src/components/dropdown/dropdown.scss?lit"],"sourcesContent":["//\n// Copyright IBM Corp. 2019, 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/config' as *;\n@use '@carbon/styles/scss/spacing' as *;\n@use '@carbon/styles/scss/theme' as *;\n@use '@carbon/styles/scss/utilities' as *;\n@use '@carbon/styles/scss/components/list-box/list-box' as *;\n@use '@carbon/styles/scss/components/dropdown' as *;\n@use '@carbon/styles/scss/components/form';\n@use '@carbon/styles/scss/components/checkbox';\n@use '@carbon/styles/scss/components/tag';\n@use '@carbon/styles/scss/utilities/ai-gradient' as *;\n@use '@carbon/styles/scss/utilities/convert' as convert;\n@use '@carbon/styles/scss/layout' as *;\n@use '@carbon/styles/scss/border-radius' as *;\n@use '@carbon/styles/scss/feature-flags' as flags;\n\n// https://github.com/carbon-design-system/carbon/issues/11408\n@include list-box;\n\n:host(#{$prefix}-dropdown) {\n @include emit-layout-tokens();\n\n outline: none;\n\n .#{$prefix}--list-box {\n box-sizing: border-box;\n }\n\n @if not flags.enabled('enable-v12-release') {\n .#{$prefix}--list-box--expanded {\n border-block-end-color: $border-subtle;\n }\n }\n\n .#{$prefix}--assistive-text {\n inset-block-start: -100%;\n // Hides screen reader cursor\n inset-inline-start: -100%;\n }\n\n .#{$prefix}--label[hidden] {\n display: none;\n }\n\n .#{$prefix}--list-box__menu {\n @if not flags.enabled('enable-v12-release') {\n inset-block-start: 100%;\n margin-block-start: 1px;\n }\n\n outline: none;\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label]) .#{$prefix}--list-box__wrapper--decorator {\n @include ai-gradient;\n\n @if flags.enabled('enable-v12-release') {\n // Reset the bottom-edge color override from @include ai-gradient so the\n // border-box gradient layer controls all four sides uniformly.\n background:\n linear-gradient(\n 0deg,\n $ai-aura-start-sm 0%,\n 15%,\n $ai-aura-end 50%,\n transparent 100%\n )\n padding-box,\n linear-gradient($field, $field) padding-box,\n // (ai-border-start → ai-border-end), mirroring the default v12 border gradient\n linear-gradient(\n to bottom,\n $ai-border-start calc(100% - 4px),\n $ai-border-strong 100%\n )\n border-box;\n border-block-end-color: transparent;\n }\n}\n\n:host(#{$prefix}-dropdown[invalid]:not([disabled]):not([read-only])) {\n .#{$prefix}--form__helper-text {\n color: $text-error !important; /* stylelint-disable-line declaration-no-important */\n }\n}\n\n:host(#{$prefix}-dropdown[read-only]) {\n @extend .#{$prefix}--dropdown--readonly;\n\n .#{$prefix}--list-box {\n background-color: transparent;\n border-block-end-color: $border-subtle;\n\n @if flags.enabled('enable-v12-release') {\n border-radius: $border-radius-00;\n background: none;\n }\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label][read-only]),\n:host(#{$prefix}-dropdown[ai-label][disabled]) {\n .#{$prefix}--list-box {\n border-block-end-color: $ai-border-strong;\n }\n\n .#{$prefix}--list-box__field {\n border-block-end: 1px solid $ai-border-strong;\n }\n\n ::slotted(#{$prefix}-ai-label)::before {\n display: none;\n }\n}\n\n:host(#{$prefix}-combo-box[direction='top']),\n:host(#{$prefix}-dropdown[direction='top']) {\n @extend .#{$prefix}--list-box--up;\n\n .#{$prefix}--list-box__menu {\n inset-block-start: auto;\n }\n}\n\n:host(#{$prefix}-dropdown[type='inline']) {\n @extend .#{$prefix}--list-box__wrapper--inline;\n\n grid-gap: 0 $spacing-03;\n\n .#{$prefix}--list-box__menu {\n margin-block-start: 0;\n }\n}\n\n:host(#{$prefix}-dropdown[type='inline']) {\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-block: 0;\n padding-inline-end: $spacing-09;\n padding-inline-start: $spacing-05;\n }\n}\n\n:host(\n #{$prefix}-dropdown[type='inline'][warn]:not([disabled]):not([read-only])\n ),\n:host(\n #{$prefix}-dropdown[type='inline'][invalid]:not([disabled]):not([read-only])\n ) {\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n }\n}\n\n:host(\n #{$prefix}-dropdown[type='inline'][warn]:not([disabled]):not([read-only])\n ),\n:host(\n #{$prefix}-dropdown[type='inline'][invalid]:not([disabled]):not([read-only])\n ) {\n grid-template: auto / auto min-content auto;\n\n .#{$prefix}--form__helper-text {\n grid-column: 3;\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline'])\n .#{$prefix}--list-box__expanded {\n border-block-end: 1px solid $ai-border-strong;\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline']:not([invalid]):not([warn]))\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline']:not([invalid])),\n:host(#{$prefix}-dropdown[ai-label][type='inline'][read-only]),\n:host(#{$prefix}-dropdown[ai-label][type='inline'][disabled])\n .#{$prefix}--list-box__field {\n border-block-end: 1px solid $ai-border-strong;\n}\n\n:host(#{$prefix}-dropdown[ai-label][type='inline'][warn]),\n:host(#{$prefix}-dropdown[ai-label][type='inline'][invalid]) {\n .#{$prefix}--list-box.#{$prefix}--list-box--inline\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-12;\n }\n}\n\n:host(#{$prefix}-dropdown[type='inline']) .#{$prefix}--list-box__menu-icon {\n inset-inline-end: $spacing-04;\n}\n\n:host(#{$prefix}-dropdown[warn]:not([disabled]):not([read-only])) {\n .#{$prefix}--form__helper-text {\n color: $text-primary;\n }\n}\n\n:host(#{$prefix}-dropdown[warn]),\n:host(#{$prefix}-dropdown[invalid]) {\n .#{$prefix}--form__helper-text {\n grid-column: 2;\n }\n\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n }\n\n .#{$prefix}--list-box__invalid-icon,\n .#{$prefix}--list-box__invalid-icon--warning {\n inset-inline-end: $spacing-08;\n }\n}\n\n:host(#{$prefix}-dropdown-item) {\n @extend .#{$prefix}--list-box__menu-item;\n\n display: block;\n\n .#{$prefix}--list-box__menu-item__option {\n block-size: auto;\n }\n}\n\n:host(#{$prefix}-dropdown-item:first-of-type) {\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n }\n}\n\n:host(#{$prefix}-dropdown-item:not([disabled]):hover) {\n background-color: $layer-hover;\n}\n\n:host(#{$prefix}-dropdown-item[highlighted]) {\n @extend .#{$prefix}--list-box__menu-item--highlighted;\n}\n\n:host(#{$prefix}-dropdown-item[highlighted-next-sibling])\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n}\n\n:host(#{$prefix}-dropdown-item[hovered-next-sibling])\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n}\n\n:host(#{$prefix}-dropdown-item[disabled])\n .#{$prefix}--list-box__menu-item__option {\n color: $text-disabled;\n cursor: not-allowed;\n text-decoration: none;\n}\n\n:host(#{$prefix}-dropdown[disabled][warn]),\n:host(#{$prefix}-dropdown[disabled][invalid]) {\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-10;\n }\n}\n\n:host(#{$prefix}-dropdown-item[disabled][highlighted-next-sibling]:hover)\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: $border-subtle;\n}\n\n:host(#{$prefix}-dropdown-item[disabled]:hover)\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: $border-subtle-01;\n}\n\n:host(#{$prefix}-dropdown-item[selected]) {\n @extend .#{$prefix}--list-box__menu-item--active;\n\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n color: $text-primary;\n }\n\n .#{$prefix}--list-box__menu-item__selected-icon {\n display: block;\n }\n}\n\n:host(#{$prefix}-dropdown-item[selected-next-sibling])\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: transparent;\n}\n\n:host(#{$prefix}-dropdown-item[disabled][selected-next-sibling]:hover)\n .#{$prefix}--list-box__menu-item__option {\n border-block-start-color: $border-subtle;\n}\n\n:host(#{$prefix}-dropdown-item[selected][highlighted]) {\n @extend .#{$prefix}--list-box__menu-item--highlighted;\n}\n\n:host(#{$prefix}-dropdown-item[size='sm']) {\n block-size: $spacing-07;\n\n .#{$prefix}--list-box__menu-item__option {\n padding-block: rem(7px);\n }\n}\n\n:host(#{$prefix}-dropdown-item[size='lg']) {\n block-size: $spacing-09;\n\n .#{$prefix}--list-box__menu-item__option {\n padding-block: rem(15px);\n }\n}\n\n:host(#{$prefix}-dropdown-skeleton) {\n @extend .#{$prefix}--form-item;\n\n .#{$prefix}--skeleton {\n @include skeleton;\n }\n}\n// AILabel styles\n$divider-width: 1px;\n\n:host(#{$prefix}-dropdown[ai-label]) {\n @extend .#{$prefix}--list-box__wrapper--slug;\n\n ::slotted(#{$prefix}-ai-label),\n ::slotted(#{$prefix}-slug) {\n position: absolute;\n inset-block-start: 50%;\n inset-inline-end: $spacing-08;\n }\n\n ::slotted(#{$prefix}-ai-label) {\n display: inline-flex;\n align-items: center;\n margin-inline-end: convert.to-rem(9px);\n }\n\n ::slotted(#{$prefix}-ai-label)::after {\n position: absolute;\n display: block;\n background-color: $border-subtle-01;\n block-size: $spacing-05;\n content: '';\n inline-size: convert.to-rem(1px);\n inset-block-start: convert.to-rem(1px);\n inset-inline-end: calc(-#{$spacing-03} - #{$divider-width});\n }\n\n ::slotted(#{$prefix}-ai-label:not([revert-active])),\n ::slotted(#{$prefix}-slug:not([revert-active])) {\n transform: translateY(-50%);\n }\n\n .#{$prefix}--list-box__invalid-icon,\n .#{$prefix}--list-box__invalid-icon--warning {\n inset-inline-end: convert.to-rem(81px);\n }\n}\n\n:host(#{$prefix}-dropdown[ai-label][warn]:not([disabled]):not([read-only])),\n:host(#{$prefix}-dropdown[ai-label][invalid]:not([disabled]):not([read-only])) {\n .#{$prefix}--list-box {\n .#{$prefix}--list-box__field {\n padding-inline-end: $spacing-12;\n }\n }\n\n ::slotted(#{$prefix}-ai-label)::before {\n position: absolute;\n display: block;\n background-color: $border-subtle-01;\n block-size: $spacing-05;\n content: '';\n inline-size: convert.to-rem(1px);\n inset-block-start: convert.to-rem(1px);\n inset-inline-start: calc(-#{$spacing-03} - #{$divider-width});\n }\n\n ::slotted(#{$prefix}-ai-label),\n ::slotted(#{$prefix}-slug) {\n inset-inline-end: $spacing-08;\n }\n}\n\n@include emit-layout-tokens-to-shadow-host('#{$prefix}-dropdown');\n"],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Edit in place size.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum EDIT_IN_PLACE_SIZE {
|
|
13
|
+
SMALL = "sm",
|
|
14
|
+
MEDIUM = "md",
|
|
15
|
+
LARGE = "lg"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Tooltip alignment options.
|
|
19
|
+
*/
|
|
20
|
+
export declare enum TOOLTIP_ALIGNMENT {
|
|
21
|
+
TOP = "top",
|
|
22
|
+
TOP_LEFT = "top-left",
|
|
23
|
+
TOP_RIGHT = "top-right",
|
|
24
|
+
BOTTOM = "bottom",
|
|
25
|
+
BOTTOM_LEFT = "bottom-left",
|
|
26
|
+
BOTTOM_RIGHT = "bottom-right",
|
|
27
|
+
LEFT = "left",
|
|
28
|
+
RIGHT = "right"
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../src/components/edit-in-place/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,KAAK,OAAO;IACZ,MAAM,OAAO;IACb,KAAK,OAAO;CACb;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,KAAK,UAAU;CAChB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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/edit-in-place/defs.ts
|
|
9
|
+
/**
|
|
10
|
+
* @license
|
|
11
|
+
*
|
|
12
|
+
* Copyright IBM Corp. 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
|
+
/**
|
|
18
|
+
* Edit in place size.
|
|
19
|
+
*/
|
|
20
|
+
let EDIT_IN_PLACE_SIZE = /* @__PURE__ */ function(EDIT_IN_PLACE_SIZE) {
|
|
21
|
+
EDIT_IN_PLACE_SIZE["SMALL"] = "sm";
|
|
22
|
+
EDIT_IN_PLACE_SIZE["MEDIUM"] = "md";
|
|
23
|
+
EDIT_IN_PLACE_SIZE["LARGE"] = "lg";
|
|
24
|
+
return EDIT_IN_PLACE_SIZE;
|
|
25
|
+
}({});
|
|
26
|
+
/**
|
|
27
|
+
* Tooltip alignment options.
|
|
28
|
+
*/
|
|
29
|
+
let TOOLTIP_ALIGNMENT = /* @__PURE__ */ function(TOOLTIP_ALIGNMENT) {
|
|
30
|
+
TOOLTIP_ALIGNMENT["TOP"] = "top";
|
|
31
|
+
TOOLTIP_ALIGNMENT["TOP_LEFT"] = "top-left";
|
|
32
|
+
TOOLTIP_ALIGNMENT["TOP_RIGHT"] = "top-right";
|
|
33
|
+
TOOLTIP_ALIGNMENT["BOTTOM"] = "bottom";
|
|
34
|
+
TOOLTIP_ALIGNMENT["BOTTOM_LEFT"] = "bottom-left";
|
|
35
|
+
TOOLTIP_ALIGNMENT["BOTTOM_RIGHT"] = "bottom-right";
|
|
36
|
+
TOOLTIP_ALIGNMENT["LEFT"] = "left";
|
|
37
|
+
TOOLTIP_ALIGNMENT["RIGHT"] = "right";
|
|
38
|
+
return TOOLTIP_ALIGNMENT;
|
|
39
|
+
}({});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","names":[],"sources":["../../../src/components/edit-in-place/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 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/**\n * Edit in place size.\n */\nexport enum EDIT_IN_PLACE_SIZE {\n SMALL = 'sm',\n MEDIUM = 'md',\n LARGE = 'lg',\n}\n\n/**\n * Tooltip alignment options.\n */\nexport enum TOOLTIP_ALIGNMENT {\n TOP = 'top',\n TOP_LEFT = 'top-left',\n TOP_RIGHT = 'top-right',\n BOTTOM = 'bottom',\n BOTTOM_LEFT = 'bottom-left',\n BOTTOM_RIGHT = 'bottom-right',\n LEFT = 'left',\n RIGHT = 'right',\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAYA,IAAY,qBAAL,yBAAA,oBAAA;CACL,mBAAA,WAAA;CACA,mBAAA,YAAA;CACA,mBAAA,WAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,IAAY,oBAAL,yBAAA,mBAAA;CACL,kBAAA,SAAA;CACA,kBAAA,cAAA;CACA,kBAAA,eAAA;CACA,kBAAA,YAAA;CACA,kBAAA,iBAAA;CACA,kBAAA,kBAAA;CACA,kBAAA,UAAA;CACA,kBAAA,WAAA;;AACF,EAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT } from './defs';
|
|
10
|
+
export declare const blockClass: string;
|
|
11
|
+
export declare const storyClass = "edit-in-place-example";
|
|
12
|
+
export declare const sizes: {
|
|
13
|
+
"Small (sm)": EDIT_IN_PLACE_SIZE;
|
|
14
|
+
"Medium (md)": EDIT_IN_PLACE_SIZE;
|
|
15
|
+
"Large (lg)": EDIT_IN_PLACE_SIZE;
|
|
16
|
+
};
|
|
17
|
+
export declare const tooltipAlignments: {
|
|
18
|
+
"Top (top)": TOOLTIP_ALIGNMENT;
|
|
19
|
+
"Top left (top-left)": TOOLTIP_ALIGNMENT;
|
|
20
|
+
"Top right (top-right)": TOOLTIP_ALIGNMENT;
|
|
21
|
+
"Bottom (bottom)": TOOLTIP_ALIGNMENT;
|
|
22
|
+
"Bottom left (bottom-left)": TOOLTIP_ALIGNMENT;
|
|
23
|
+
"Bottom right (bottom-right)": TOOLTIP_ALIGNMENT;
|
|
24
|
+
"Left (left)": TOOLTIP_ALIGNMENT;
|
|
25
|
+
"Right (right)": TOOLTIP_ALIGNMENT;
|
|
26
|
+
};
|
|
27
|
+
export declare const defaultArgs: {
|
|
28
|
+
cancelLabel: string;
|
|
29
|
+
containerWidth: number;
|
|
30
|
+
editAlwaysVisible: boolean;
|
|
31
|
+
editLabel: string;
|
|
32
|
+
id: string;
|
|
33
|
+
inheritTypography: boolean;
|
|
34
|
+
invalid: boolean;
|
|
35
|
+
invalidText: string;
|
|
36
|
+
labelText: string;
|
|
37
|
+
placeholder: string;
|
|
38
|
+
readOnly: boolean;
|
|
39
|
+
readOnlyLabel: string;
|
|
40
|
+
readOnlyToggleTipText: string;
|
|
41
|
+
saveLabel: string;
|
|
42
|
+
size: EDIT_IN_PLACE_SIZE;
|
|
43
|
+
toggleTipAlignment: TOOLTIP_ALIGNMENT;
|
|
44
|
+
tooltipAlignment: TOOLTIP_ALIGNMENT;
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=edit-in-place-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-in-place-helpers.d.ts","sourceRoot":"","sources":["../../../src/components/edit-in-place/edit-in-place-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE/D,eAAO,MAAM,UAAU,QAA6B,CAAC;AACrD,eAAO,MAAM,UAAU,0BAA0B,CAAC;AAElD,eAAO,MAAM,KAAK;;;;CAIjB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;CAW7B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;CAmBvB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 "./defs.js";
|
|
10
|
+
//#region src/components/edit-in-place/edit-in-place-helpers.ts
|
|
11
|
+
/**
|
|
12
|
+
* @license
|
|
13
|
+
*
|
|
14
|
+
* Copyright IBM Corp. 2026
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
19
|
+
const blockClass = "cds--edit-in-place";
|
|
20
|
+
const storyClass = "edit-in-place-example";
|
|
21
|
+
const sizes = {
|
|
22
|
+
[`Small (sm)`]: "sm",
|
|
23
|
+
[`Medium (md)`]: "md",
|
|
24
|
+
[`Large (lg)`]: "lg"
|
|
25
|
+
};
|
|
26
|
+
const tooltipAlignments = {
|
|
27
|
+
[`Top (top)`]: "top",
|
|
28
|
+
[`Top left (top-left)`]: "top-left",
|
|
29
|
+
[`Top right (top-right)`]: "top-right",
|
|
30
|
+
[`Bottom (bottom)`]: "bottom",
|
|
31
|
+
[`Bottom left (bottom-left)`]: "bottom-left",
|
|
32
|
+
[`Bottom right (bottom-right)`]: "bottom-right",
|
|
33
|
+
[`Left (left)`]: "left",
|
|
34
|
+
[`Right (right)`]: "right"
|
|
35
|
+
};
|
|
36
|
+
const defaultArgs = {
|
|
37
|
+
cancelLabel: "Cancel",
|
|
38
|
+
containerWidth: 300,
|
|
39
|
+
editAlwaysVisible: false,
|
|
40
|
+
editLabel: "Edit",
|
|
41
|
+
id: "story-id",
|
|
42
|
+
inheritTypography: false,
|
|
43
|
+
invalid: false,
|
|
44
|
+
invalidText: "This field is required",
|
|
45
|
+
labelText: "Label text",
|
|
46
|
+
placeholder: "placeholder text",
|
|
47
|
+
readOnly: false,
|
|
48
|
+
readOnlyLabel: "Edit off",
|
|
49
|
+
readOnlyToggleTipText: "This field is read-only and cannot be edited",
|
|
50
|
+
saveLabel: "Save",
|
|
51
|
+
size: "sm",
|
|
52
|
+
toggleTipAlignment: "bottom",
|
|
53
|
+
tooltipAlignment: "top",
|
|
54
|
+
value: "default"
|
|
55
|
+
};
|
|
56
|
+
//#endregion
|
|
57
|
+
export { blockClass, defaultArgs, sizes, storyClass, tooltipAlignments };
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=edit-in-place-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-in-place-helpers.js","names":[],"sources":["../../../src/components/edit-in-place/edit-in-place-helpers.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 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 { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT } from './defs';\n\nexport const blockClass = prefix + '--edit-in-place';\nexport const storyClass = 'edit-in-place-example';\n\nexport const sizes = {\n [`Small (${EDIT_IN_PLACE_SIZE.SMALL})`]: EDIT_IN_PLACE_SIZE.SMALL,\n [`Medium (${EDIT_IN_PLACE_SIZE.MEDIUM})`]: EDIT_IN_PLACE_SIZE.MEDIUM,\n [`Large (${EDIT_IN_PLACE_SIZE.LARGE})`]: EDIT_IN_PLACE_SIZE.LARGE,\n};\n\nexport const tooltipAlignments = {\n [`Top (${TOOLTIP_ALIGNMENT.TOP})`]: TOOLTIP_ALIGNMENT.TOP,\n [`Top left (${TOOLTIP_ALIGNMENT.TOP_LEFT})`]: TOOLTIP_ALIGNMENT.TOP_LEFT,\n [`Top right (${TOOLTIP_ALIGNMENT.TOP_RIGHT})`]: TOOLTIP_ALIGNMENT.TOP_RIGHT,\n [`Bottom (${TOOLTIP_ALIGNMENT.BOTTOM})`]: TOOLTIP_ALIGNMENT.BOTTOM,\n [`Bottom left (${TOOLTIP_ALIGNMENT.BOTTOM_LEFT})`]:\n TOOLTIP_ALIGNMENT.BOTTOM_LEFT,\n [`Bottom right (${TOOLTIP_ALIGNMENT.BOTTOM_RIGHT})`]:\n TOOLTIP_ALIGNMENT.BOTTOM_RIGHT,\n [`Left (${TOOLTIP_ALIGNMENT.LEFT})`]: TOOLTIP_ALIGNMENT.LEFT,\n [`Right (${TOOLTIP_ALIGNMENT.RIGHT})`]: TOOLTIP_ALIGNMENT.RIGHT,\n};\n\nexport const defaultArgs = {\n cancelLabel: 'Cancel',\n containerWidth: 300,\n editAlwaysVisible: false,\n editLabel: 'Edit',\n id: 'story-id',\n inheritTypography: false,\n invalid: false,\n invalidText: 'This field is required',\n labelText: 'Label text',\n placeholder: 'placeholder text',\n readOnly: false,\n readOnlyLabel: 'Edit off',\n readOnlyToggleTipText: 'This field is read-only and cannot be edited',\n saveLabel: 'Save',\n size: EDIT_IN_PLACE_SIZE.SMALL,\n toggleTipAlignment: TOOLTIP_ALIGNMENT.BOTTOM,\n tooltipAlignment: TOOLTIP_ALIGNMENT.TOP,\n value: 'default',\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,MAAa,aAAA;AACb,MAAa,aAAa;AAE1B,MAAa,QAAQ;EAClB,eAAmC;EACnC,gBAAqC;EACrC,eAAmC;AACtC;AAEA,MAAa,oBAAoB;EAC9B,cAA8B;EAC9B,wBAAwC;EACxC,0BAA0C;EAC1C,oBAAoC;EACpC,8BAA8C;EAE9C,gCAAgD;EAEhD,gBAAgC;EAChC,kBAAkC;AACrC;AAEA,MAAa,cAAc;CACzB,aAAa;CACb,gBAAgB;CAChB,mBAAmB;CACnB,WAAW;CACX,IAAI;CACJ,mBAAmB;CACnB,SAAS;CACT,aAAa;CACb,WAAW;CACX,aAAa;CACb,UAAU;CACV,eAAe;CACf,uBAAuB;CACvB,WAAW;CACX,MAAA;CACA,oBAAA;CACA,kBAAA;CACA,OAAO;AACT"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { LitElement } from 'lit';
|
|
10
|
+
import '../icon-button/index';
|
|
11
|
+
import '../tooltip/index';
|
|
12
|
+
import { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT } from './defs';
|
|
13
|
+
export { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT };
|
|
14
|
+
export type EditInPlaceSize = `${EDIT_IN_PLACE_SIZE}`;
|
|
15
|
+
export type TooltipAlignment = `${TOOLTIP_ALIGNMENT}`;
|
|
16
|
+
declare const CDSEditInPlace_base: {
|
|
17
|
+
new (...args: any[]): {
|
|
18
|
+
_handles: Set<import("../../globals/internal/handle").default>;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
21
|
+
};
|
|
22
|
+
_hostListeners: {
|
|
23
|
+
[listenerName: string]: {
|
|
24
|
+
[type: string]: {
|
|
25
|
+
options?: boolean | AddEventListenerOptions;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
} & typeof LitElement;
|
|
30
|
+
/**
|
|
31
|
+
* EditInPlace component for inline text editing.
|
|
32
|
+
*
|
|
33
|
+
* @element cds-edit-in-place
|
|
34
|
+
* @csspart input - The input element
|
|
35
|
+
* @csspart actions - The button container
|
|
36
|
+
* @csspart invalid-text - The error message container
|
|
37
|
+
* @fires cds-edit-in-place-change - Fired when the input value changes
|
|
38
|
+
* @fires cds-edit-in-place-save - Fired when the save button is clicked or Enter is pressed
|
|
39
|
+
* @fires cds-edit-in-place-cancel - Fired when the cancel button is clicked or Escape is pressed
|
|
40
|
+
* @fires cds-edit-in-place-blur - Fired when the input loses focus (if onBlur handler is used)
|
|
41
|
+
*/
|
|
42
|
+
declare class CDSEditInPlace extends CDSEditInPlace_base {
|
|
43
|
+
/**
|
|
44
|
+
* Label for the cancel button
|
|
45
|
+
*/
|
|
46
|
+
cancelLabel: string;
|
|
47
|
+
/**
|
|
48
|
+
* By default the edit icon is shown on hover only. Set to true to always show it.
|
|
49
|
+
*/
|
|
50
|
+
editAlwaysVisible: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Label for the edit button
|
|
53
|
+
*/
|
|
54
|
+
editLabel: string;
|
|
55
|
+
/**
|
|
56
|
+
* Specify a custom id for the input
|
|
57
|
+
*/
|
|
58
|
+
id: string;
|
|
59
|
+
/**
|
|
60
|
+
* Causes the text entry field to inherit typography settings from the container
|
|
61
|
+
*/
|
|
62
|
+
inheritTypography: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Determines if the input is invalid
|
|
65
|
+
*/
|
|
66
|
+
invalid: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Text that is displayed if the input is invalid
|
|
69
|
+
*/
|
|
70
|
+
invalidText: string;
|
|
71
|
+
/**
|
|
72
|
+
* Text that will be read by a screen reader when visiting this control
|
|
73
|
+
*/
|
|
74
|
+
labelText: string;
|
|
75
|
+
/**
|
|
76
|
+
* Placeholder text for the input
|
|
77
|
+
*/
|
|
78
|
+
placeholder: string;
|
|
79
|
+
/**
|
|
80
|
+
* Determines if the input is in readOnly mode
|
|
81
|
+
*/
|
|
82
|
+
readOnly: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Label for the edit off button that displays when in read only mode
|
|
85
|
+
*/
|
|
86
|
+
readOnlyLabel: string;
|
|
87
|
+
/**
|
|
88
|
+
* Text for the toggletip that displays when in read only mode
|
|
89
|
+
*/
|
|
90
|
+
readOnlyToggleTipText: string;
|
|
91
|
+
/**
|
|
92
|
+
* Label for the save button
|
|
93
|
+
*/
|
|
94
|
+
saveLabel: string;
|
|
95
|
+
/**
|
|
96
|
+
* Vertical size of control
|
|
97
|
+
*/
|
|
98
|
+
size: EditInPlaceSize;
|
|
99
|
+
/**
|
|
100
|
+
* Alignment for the toggletip that displays when in read only mode
|
|
101
|
+
*/
|
|
102
|
+
toggleTipAlignment: TooltipAlignment;
|
|
103
|
+
/**
|
|
104
|
+
* Tooltip alignment for buttons
|
|
105
|
+
*/
|
|
106
|
+
tooltipAlignment: TooltipAlignment;
|
|
107
|
+
/**
|
|
108
|
+
* Current value of the input (controlled mode)
|
|
109
|
+
*/
|
|
110
|
+
value: string;
|
|
111
|
+
/**
|
|
112
|
+
* Default value for uncontrolled mode
|
|
113
|
+
*/
|
|
114
|
+
defaultValue: string;
|
|
115
|
+
/**
|
|
116
|
+
* Internal state for focused mode
|
|
117
|
+
*/
|
|
118
|
+
private _focused;
|
|
119
|
+
/**
|
|
120
|
+
* Internal value for managing state
|
|
121
|
+
*/
|
|
122
|
+
private _internalValue;
|
|
123
|
+
/**
|
|
124
|
+
* Internal state for initial value (when entering edit mode)
|
|
125
|
+
*/
|
|
126
|
+
private _initialValue;
|
|
127
|
+
/**
|
|
128
|
+
* Internal state to track if input has been modified
|
|
129
|
+
*/
|
|
130
|
+
private _dirtyInput;
|
|
131
|
+
/**
|
|
132
|
+
* Flag to track if we're handling escape key
|
|
133
|
+
*/
|
|
134
|
+
private _escaping;
|
|
135
|
+
/**
|
|
136
|
+
* Flag to track if we're clicking within the component
|
|
137
|
+
*/
|
|
138
|
+
private _clickingWithin;
|
|
139
|
+
/**
|
|
140
|
+
* Reference to the input element
|
|
141
|
+
*/
|
|
142
|
+
private _inputElement?;
|
|
143
|
+
/**
|
|
144
|
+
* Check if value has changed from initial
|
|
145
|
+
*/
|
|
146
|
+
private get _hasValueChanged();
|
|
147
|
+
/**
|
|
148
|
+
* Check if we can save (value changed and not invalid)
|
|
149
|
+
*/
|
|
150
|
+
private get _canSave();
|
|
151
|
+
/**
|
|
152
|
+
* Check if we can cancel (value has changed)
|
|
153
|
+
*/
|
|
154
|
+
private get _canCancel();
|
|
155
|
+
/**
|
|
156
|
+
* Handle input change
|
|
157
|
+
*/
|
|
158
|
+
private _handleChange;
|
|
159
|
+
/**
|
|
160
|
+
* Handle focus
|
|
161
|
+
*/
|
|
162
|
+
private _handleFocus;
|
|
163
|
+
protected willUpdate(changedProperties: Map<string, unknown>): void;
|
|
164
|
+
private _emitEvent;
|
|
165
|
+
/**
|
|
166
|
+
* Handle save
|
|
167
|
+
*/
|
|
168
|
+
private _handleSave;
|
|
169
|
+
/**
|
|
170
|
+
* Handle cancel
|
|
171
|
+
*/
|
|
172
|
+
private _handleCancel;
|
|
173
|
+
/**
|
|
174
|
+
* Handle blur
|
|
175
|
+
*/
|
|
176
|
+
private _handleBlur;
|
|
177
|
+
/**
|
|
178
|
+
* Handle keyboard events
|
|
179
|
+
*/
|
|
180
|
+
private _handleKeyDown;
|
|
181
|
+
/**
|
|
182
|
+
* Handle toolbar mousedown to track button clicks
|
|
183
|
+
* Uses composedPath() to properly handle Shadow DOM boundaries
|
|
184
|
+
*/
|
|
185
|
+
private _handleToolbarMouseDown;
|
|
186
|
+
/**
|
|
187
|
+
* Handle keydown on save button to exit edit mode on Tab
|
|
188
|
+
*/
|
|
189
|
+
private _handleSaveButtonKeyDown;
|
|
190
|
+
/**
|
|
191
|
+
* Handle clicks outside the component
|
|
192
|
+
*/
|
|
193
|
+
private _handleDocumentClick;
|
|
194
|
+
/**
|
|
195
|
+
* Initialize component
|
|
196
|
+
*/
|
|
197
|
+
connectedCallback(): void;
|
|
198
|
+
/**
|
|
199
|
+
* Cleanup component state when removed from DOM
|
|
200
|
+
*/
|
|
201
|
+
disconnectedCallback(): void;
|
|
202
|
+
/**
|
|
203
|
+
* Render the input element
|
|
204
|
+
*/
|
|
205
|
+
private _renderInput;
|
|
206
|
+
/**
|
|
207
|
+
* Render action buttons
|
|
208
|
+
*/
|
|
209
|
+
private _renderActions;
|
|
210
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
211
|
+
static styles: any;
|
|
212
|
+
}
|
|
213
|
+
export default CDSEditInPlace;
|
|
214
|
+
//# sourceMappingURL=edit-in-place.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-in-place.d.ts","sourceRoot":"","sources":["../../../src/components/edit-in-place/edit-in-place.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAcvC,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE/D,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;AAIjD,MAAM,MAAM,eAAe,GAAG,GAAG,kBAAkB,EAAE,CAAC;AACtD,MAAM,MAAM,gBAAgB,GAAG,GAAG,iBAAiB,EAAE,CAAC;;;;;;;;;;uBAXvC,CAAA;;;;;AAaf;;;;;;;;;;;GAWG;AACH,cACM,cAAe,SAAQ,mBAA6B;IACxD;;OAEG;IAEH,WAAW,SAAY;IAEvB;;OAEG;IAEH,iBAAiB,UAAS;IAE1B;;OAEG;IAEH,SAAS,SAAU;IAEnB;;OAEG;IAEM,EAAE,SAAM;IAEjB;;OAEG;IAEH,iBAAiB,UAAS;IAE1B;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,SAAc;IAE3B;;OAEG;IAMH,qBAAqB,SAAkD;IAEvE;;OAEG;IAEH,SAAS,SAAU;IAEnB;;OAEG;IAEH,IAAI,EAAE,eAAe,CAAQ;IAE7B;;OAEG;IAEH,kBAAkB,EAAE,gBAAgB,CAAY;IAEhD;;OAEG;IAEH,gBAAgB,EAAE,gBAAgB,CAAS;IAE3C;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,YAAY,SAAM;IAElB;;OAEG;IAEH,OAAO,CAAC,QAAQ,CAAS;IAEzB;;OAEG;IAEH,OAAO,CAAC,cAAc,CAAM;IAE5B;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAM;IAE3B;;OAEG;IAEH,OAAO,CAAC,WAAW,CAAS;IAE5B;;OAEG;IACH,OAAO,CAAC,SAAS,CAAS;IAE1B;;OAEG;IACH,OAAO,CAAC,eAAe,CAAS;IAEhC;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAC,CAAmB;IAEzC;;OAEG;IACH,OAAO,KAAK,gBAAgB,GAE3B;IAED;;OAEG;IACH,OAAO,KAAK,QAAQ,GAEnB;IAED;;OAEG;IACH,OAAO,KAAK,UAAU,GAErB;IAED;;OAEG;IACH,OAAO,CAAC,aAAa;IAUrB;;OAEG;IACH,OAAO,CAAC,YAAY;cAkBD,UAAU,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IASrE,OAAO,CAAC,UAAU;IAUlB;;OAEG;IACH,OAAO,CAAC,WAAW;IAenB;;OAEG;IACH,OAAO,CAAC,aAAa;IAmBrB;;OAEG;IACH,OAAO,CAAC,WAAW;IAkCnB;;OAEG;IACH,OAAO,CAAC,cAAc;IA8BtB;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAqB/B;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAQhC;;OAEG;IAIH,OAAO,CAAC,oBAAoB,CAkB1B;IAEF;;OAEG;IACH,iBAAiB;IAOjB;;OAEG;IACH,oBAAoB;IAOpB;;OAEG;IACH,OAAO,CAAC,YAAY;IAuCpB;;OAEG;IACH,OAAO,CAAC,cAAc;IA4DtB,MAAM;IAiCN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC"}
|