@pine-ds/core 4.12.0 → 5.0.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/components/pds-accordion.js +1 -1
- package/components/pds-alert.js +1 -1
- package/components/pds-avatar.js +1 -1
- package/components/pds-button2.js +1 -1
- package/components/pds-chip2.js +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-divider.js +1 -1
- package/components/pds-dropdown-menu-item.js +1 -1
- package/components/pds-dropdown-menu-separator.js +1 -1
- package/components/pds-dropdown-menu.js +1 -1
- package/components/pds-filter.js +1 -1
- package/components/pds-filters.js +1 -1
- package/components/pds-image.js +1 -1
- package/components/pds-multiselect.js +1 -1
- package/components/pds-popover.js +1 -1
- package/components/pds-property.js +1 -1
- package/components/pds-radio-group.js +1 -1
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +1 -1
- package/components/pds-switch.js +1 -1
- package/components/pds-table.js +1 -1
- package/components/pds-tabs.js +1 -1
- package/components/pds-tooltip.js +1 -1
- package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/pds-alert.cjs.entry.js +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +1 -1
- package/dist/cjs/pds-chip.cjs.entry.js +1 -1
- package/dist/cjs/pds-copytext.cjs.entry.js +1 -1
- package/dist/cjs/pds-divider.cjs.entry.js +1 -1
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -1
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +1 -1
- package/dist/cjs/pds-filter.cjs.entry.js +1 -1
- package/dist/cjs/pds-filters.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +2 -2
- package/dist/cjs/pds-multiselect.cjs.entry.js +26 -7
- package/dist/cjs/pds-popover.cjs.entry.js +1 -1
- package/dist/cjs/pds-property.cjs.entry.js +1 -1
- package/dist/cjs/pds-radio-group.cjs.entry.js +20 -15
- package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
- package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
- package/dist/cjs/pds-switch.cjs.entry.js +5 -5
- package/dist/cjs/pds-table.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
- package/dist/cjs/pds-tooltip.cjs.entry.js +2 -3
- package/dist/collection/components/pds-accordion/pds-accordion.js +2 -2
- package/dist/collection/components/pds-alert/pds-alert.js +2 -2
- package/dist/collection/components/pds-avatar/pds-avatar.js +2 -2
- package/dist/collection/components/pds-button/pds-button.js +2 -2
- package/dist/collection/components/pds-chip/pds-chip.js +2 -2
- package/dist/collection/components/pds-copytext/pds-copytext.js +2 -2
- package/dist/collection/components/pds-divider/pds-divider.js +2 -2
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +2 -2
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +2 -2
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +2 -2
- package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +2 -2
- package/dist/collection/components/pds-filters/pds-filters.js +2 -2
- package/dist/collection/components/pds-image/pds-image.js +3 -3
- package/dist/collection/components/pds-input/stories/pds-input.stories.js +1 -0
- package/dist/collection/components/pds-multiselect/pds-multiselect.css +21 -2
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +28 -9
- package/dist/collection/components/pds-multiselect/stories/pds-multiselect.stories.js +2 -2
- package/dist/collection/components/pds-popover/pds-popover.js +2 -2
- package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +1 -1
- package/dist/collection/components/pds-property/pds-property.js +2 -2
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +21 -16
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +3 -3
- package/dist/collection/components/pds-sortable/pds-sortable.js +2 -2
- package/dist/collection/components/pds-switch/pds-switch.js +10 -10
- package/dist/collection/components/pds-table/pds-table.js +3 -3
- package/dist/collection/components/pds-tabs/pds-tabs.js +2 -2
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +3 -4
- package/dist/docs.json +32 -32
- package/dist/esm/pds-accordion.entry.js +1 -1
- package/dist/esm/pds-alert.entry.js +1 -1
- package/dist/esm/pds-avatar.entry.js +1 -1
- package/dist/esm/pds-button.entry.js +1 -1
- package/dist/esm/pds-chip.entry.js +1 -1
- package/dist/esm/pds-copytext.entry.js +1 -1
- package/dist/esm/pds-divider.entry.js +1 -1
- package/dist/esm/pds-dropdown-menu-item.entry.js +1 -1
- package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -1
- package/dist/esm/pds-dropdown-menu.entry.js +1 -1
- package/dist/esm/pds-filter.entry.js +1 -1
- package/dist/esm/pds-filters.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +2 -2
- package/dist/esm/pds-multiselect.entry.js +26 -7
- package/dist/esm/pds-popover.entry.js +1 -1
- package/dist/esm/pds-property.entry.js +1 -1
- package/dist/esm/pds-radio-group.entry.js +20 -15
- package/dist/esm/pds-sortable-item.entry.js +2 -2
- package/dist/esm/pds-sortable.entry.js +1 -1
- package/dist/esm/pds-switch.entry.js +5 -5
- package/dist/esm/pds-table.entry.js +2 -2
- package/dist/esm/pds-tabs.entry.js +1 -1
- package/dist/esm/pds-tooltip.entry.js +2 -3
- package/dist/esm-es5/pds-accordion.entry.js +1 -1
- package/dist/esm-es5/pds-alert.entry.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-divider.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
- package/dist/esm-es5/pds-filter.entry.js +1 -1
- package/dist/esm-es5/pds-filters.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-multiselect.entry.js +1 -1
- package/dist/esm-es5/pds-popover.entry.js +1 -1
- package/dist/esm-es5/pds-property.entry.js +1 -1
- package/dist/esm-es5/pds-radio-group.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +1 -1
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-table.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js +1 -1
- package/dist/pine-core/{p-d676926d.system.entry.js → p-191eb9e5.system.entry.js} +1 -1
- package/dist/pine-core/{p-736ea7dd.entry.js → p-1d4ecc35.entry.js} +1 -1
- package/dist/pine-core/{p-ddf4b9b5.system.entry.js → p-1e0c9738.system.entry.js} +1 -1
- package/dist/pine-core/{p-e4ebea88.system.entry.js → p-2482e4ab.system.entry.js} +1 -1
- package/dist/pine-core/p-3338fc2e.entry.js +1 -0
- package/dist/pine-core/{p-00891b8d.system.entry.js → p-34d22a45.system.entry.js} +1 -1
- package/dist/pine-core/p-35b90796.entry.js +1 -0
- package/dist/pine-core/p-38148f5b.entry.js +1 -0
- package/dist/pine-core/{p-51680c9c.system.entry.js → p-39264dfb.system.entry.js} +1 -1
- package/dist/pine-core/{p-0a7570dd.system.entry.js → p-3aed0418.system.entry.js} +1 -1
- package/dist/pine-core/{p-d1283e8d.entry.js → p-3dd879fd.entry.js} +1 -1
- package/dist/pine-core/p-3f1c05cd.system.entry.js +1 -0
- package/dist/pine-core/{p-b00b07e3.entry.js → p-42376f2c.entry.js} +1 -1
- package/dist/pine-core/p-4263038f.entry.js +1 -0
- package/dist/pine-core/{p-2ddcd845.system.entry.js → p-563baadd.system.entry.js} +1 -1
- package/dist/pine-core/p-587bd9ed.entry.js +1 -0
- package/dist/pine-core/p-5c7dfa7a.entry.js +1 -0
- package/dist/pine-core/{p-16fceef6.system.entry.js → p-63d47dd4.system.entry.js} +1 -1
- package/dist/pine-core/{p-55535481.system.entry.js → p-66e61921.system.entry.js} +1 -1
- package/dist/pine-core/p-6a965119.entry.js +1 -0
- package/dist/pine-core/{p-8afd5f5b.system.entry.js → p-6fdc6df9.system.entry.js} +1 -1
- package/dist/pine-core/{p-8e17a6d8.system.entry.js → p-863ff553.system.entry.js} +1 -1
- package/dist/pine-core/{p-de3b319e.system.entry.js → p-87cadd6f.system.entry.js} +1 -1
- package/dist/pine-core/{p-e2541eeb.entry.js → p-8db554fe.entry.js} +1 -1
- package/dist/pine-core/{p-60e65fe0.system.entry.js → p-931a0ccd.system.entry.js} +1 -1
- package/dist/pine-core/p-94fd9595.entry.js +1 -0
- package/dist/pine-core/{p-c9630934.system.entry.js → p-96bccf85.system.entry.js} +1 -1
- package/dist/pine-core/p-9a63bf72.entry.js +1 -0
- package/dist/pine-core/{p-f9bdaadd.system.entry.js → p-9da10cfb.system.entry.js} +1 -1
- package/dist/pine-core/p-XK45dzWR.system.js +1 -1
- package/dist/pine-core/{p-57edd301.system.entry.js → p-a0fa77b1.system.entry.js} +1 -1
- package/dist/pine-core/p-a1575919.entry.js +1 -0
- package/dist/pine-core/p-aae96744.entry.js +1 -0
- package/dist/pine-core/p-b379d9bc.system.entry.js +1 -0
- package/dist/pine-core/p-badde164.entry.js +1 -0
- package/dist/pine-core/p-c65f4eaa.system.entry.js +1 -0
- package/dist/pine-core/{p-97145eee.system.entry.js → p-c6c5ada6.system.entry.js} +1 -1
- package/dist/pine-core/p-d4b0122f.system.entry.js +1 -0
- package/dist/pine-core/{p-1ab52531.system.entry.js → p-d61a0fe8.system.entry.js} +1 -1
- package/dist/pine-core/{p-1a013a5c.system.entry.js → p-de3f4a28.system.entry.js} +1 -1
- package/dist/pine-core/p-e334af06.entry.js +1 -0
- package/dist/pine-core/p-e4216ff6.entry.js +1 -0
- package/dist/pine-core/p-e68044b3.entry.js +1 -0
- package/dist/pine-core/p-e75d8bc1.entry.js +1 -0
- package/dist/pine-core/{p-a5e9c583.entry.js → p-e871cfce.entry.js} +1 -1
- package/dist/pine-core/{p-8deeda07.entry.js → p-eee042d3.entry.js} +1 -1
- package/dist/pine-core/{p-1edef412.entry.js → p-f65127f1.entry.js} +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/types/components/pds-accordion/pds-accordion.d.ts +1 -1
- package/dist/types/components/pds-alert/pds-alert.d.ts +1 -1
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +1 -1
- package/dist/types/components/pds-button/pds-button.d.ts +1 -1
- package/dist/types/components/pds-chip/pds-chip.d.ts +1 -1
- package/dist/types/components/pds-copytext/pds-copytext.d.ts +1 -1
- package/dist/types/components/pds-divider/pds-divider.d.ts +1 -1
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +1 -1
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.d.ts +1 -1
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +1 -1
- package/dist/types/components/pds-filters/pds-filter/pds-filter.d.ts +2 -1
- package/dist/types/components/pds-filters/pds-filters.d.ts +1 -1
- package/dist/types/components/pds-image/pds-image.d.ts +1 -1
- package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +11 -3
- package/dist/types/components/pds-popover/pds-popover.d.ts +2 -1
- package/dist/types/components/pds-property/pds-property.d.ts +1 -1
- package/dist/types/components/pds-radio-group/pds-radio-group.d.ts +2 -1
- package/dist/types/components/pds-sortable/pds-sortable-item/pds-sortable-item.d.ts +1 -1
- package/dist/types/components/pds-sortable/pds-sortable.d.ts +1 -1
- package/dist/types/components/pds-switch/pds-switch.d.ts +8 -5
- package/dist/types/components/pds-table/pds-table.d.ts +1 -1
- package/dist/types/components/pds-tabs/pds-tabs.d.ts +2 -1
- package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +2 -1
- package/dist/types/components.d.ts +57 -57
- package/dist/vscode.html-data.json +30 -30
- package/hydrate/index.js +75 -52
- package/hydrate/index.mjs +75 -52
- package/package.json +2 -2
- package/dist/pine-core/p-1f998e3e.entry.js +0 -1
- package/dist/pine-core/p-2b6becc2.entry.js +0 -1
- package/dist/pine-core/p-3c229091.entry.js +0 -1
- package/dist/pine-core/p-5d582798.entry.js +0 -1
- package/dist/pine-core/p-627a94da.entry.js +0 -1
- package/dist/pine-core/p-72ff5ad2.system.entry.js +0 -1
- package/dist/pine-core/p-84d4ae26.entry.js +0 -1
- package/dist/pine-core/p-a4ce12ef.entry.js +0 -1
- package/dist/pine-core/p-b7b29392.entry.js +0 -1
- package/dist/pine-core/p-bdab6c9f.entry.js +0 -1
- package/dist/pine-core/p-c1dc7692.entry.js +0 -1
- package/dist/pine-core/p-cb9227f6.system.entry.js +0 -1
- package/dist/pine-core/p-ceef0eb1.entry.js +0 -1
- package/dist/pine-core/p-e554bd64.entry.js +0 -1
- package/dist/pine-core/p-e6427c87.entry.js +0 -1
- package/dist/pine-core/p-e7002cee.entry.js +0 -1
- package/dist/pine-core/p-e72e8b8f.entry.js +0 -1
- package/dist/pine-core/p-ef3a855f.system.entry.js +0 -1
- package/dist/pine-core/p-f9063262.system.entry.js +0 -1
- package/dist/pine-core/p-fea4296d.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -5809,7 +5809,7 @@ class PdsAccordion {
|
|
|
5809
5809
|
this.detailsEl.addEventListener('toggle', this.handleToggle);
|
|
5810
5810
|
}
|
|
5811
5811
|
render() {
|
|
5812
|
-
return (hAsync(Host, { key: '
|
|
5812
|
+
return (hAsync(Host, { key: '245ae62c7427cfcad6eb6c3213c9b13aada4de79', class: "pds-accordion" }, hAsync("details", Object.assign({ key: 'f69707beaacf2d10d75d604042fa8ed99b345db1' }, this.getOpenAttribute(), { ref: (el) => (this.detailsEl = el) }), hAsync("summary", { key: '0329e0502b344834f2180c9ecd17136416dc8700', part: "accordion-button" }, hAsync("slot", { key: '59085adef7239c0e697ae4a0d0104d7a9a95c8d6', name: "label" }, "Details"), hAsync("pds-icon", { key: '7ea87ae13f047de27cf469c48bc3bad90f5a01e7', "aria-hidden": "true", icon: downSmall, part: "accordion-icon" })), hAsync("div", { key: '1e4febc7cbe2da9ffdd2f6a11802cca22f5b2573', part: "accordion-body", class: "pds-accordion__body" }, hAsync("slot", { key: 'fcee6efccbc7233a83b62a443172a42c0f800aea' })))));
|
|
5813
5813
|
}
|
|
5814
5814
|
static get watchers() { return {
|
|
5815
5815
|
"isOpen": [{
|
|
@@ -5911,7 +5911,7 @@ class PdsAlert {
|
|
|
5911
5911
|
};
|
|
5912
5912
|
// Get the icon name based on the current variant
|
|
5913
5913
|
const iconName = iconMap[this.variant] || iconMap.default;
|
|
5914
|
-
return (hAsync(Host, { key: '
|
|
5914
|
+
return (hAsync(Host, { key: '1fc2d61c1740070616eb7819ff6a919241ce1f6e', class: "pds-alert", variant: this.variant }, hAsync("pds-box", { key: 'd6ba30218ebbf89532a8a6c3d5db9b2e5321748a', class: `pds-alert__container pds-alert__container--${this.variant}`, "background-color": "var(--pds-alert-background)", "border-color": "var(--pds-alert-border-color)", "border-radius": "md", border: true, display: "block" }, hAsync("pds-box", { key: 'c08f2c190c1d5a9bb95c7e6351dd615a3441a48d', gap: "sm", display: "flex", "align-items": this.small ? "center" : undefined }, severity && hAsync("span", { key: '8ca461e81ac655fa0f9ee837a5f4d2380f9dc0a0', class: "visually-hidden" }, severity), !this.hideIcon && (hAsync("pds-icon", { key: '79583456f1b9b0a167afe296fc09aaa1ceb64209', class: `pds-alert__icon ${this.small ? 'pds-alert__icon--small' : ''}`, color: "var(--pds-alert-color-icon)", icon: iconName, size: "var(--pds-alert-icon-size)", "aria-hidden": "true" })), hAsync("pds-box", { key: 'f72b9ebea3fa5158d033c462b764f4135c3df240', class: "pds-alert__content-wrapper", direction: "column", gap: "xs", flex: "grow" }, this.heading && !this.small && (hAsync("pds-text", { key: '6f023c4c98fbe50be53f531fa648690bb086946c', class: "pds-alert__heading", color: "var(--pds-alert-color-text)", size: "h5", tag: "h3", weight: "medium" }, this.heading)), this.renderContent()), this.dismissible && (hAsync("button", { key: 'e366272888d222b184d8e56a74364abbb2b0799f', class: "pds-alert__dismiss", type: "button", part: "dismiss", "aria-label": this.dismissLabel, onClick: this.handleCloseClick }, hAsync("pds-icon", { key: '10907ac14c1b24fbc73c2484e1e066c7e6c14ee2', icon: "remove", size: "var(--pds-alert-icon-size)", "aria-hidden": "true", color: "var(--pds-alert-color-dismiss)" })))))));
|
|
5915
5915
|
}
|
|
5916
5916
|
get el() { return getElement(this); }
|
|
5917
5917
|
static get style() { return pdsAlertTokensCss() + pdsAlertCss(); }
|
|
@@ -6130,7 +6130,7 @@ class PdsAvatar {
|
|
|
6130
6130
|
}
|
|
6131
6131
|
}
|
|
6132
6132
|
render() {
|
|
6133
|
-
return (hAsync(Host, { key: '
|
|
6133
|
+
return (hAsync(Host, { key: '237598a069d4a3b1281b10b516c01c6d479ca3e9', class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
|
|
6134
6134
|
}
|
|
6135
6135
|
get el() { return getElement(this); }
|
|
6136
6136
|
static get watchers() { return {
|
|
@@ -7065,7 +7065,7 @@ class PdsButton {
|
|
|
7065
7065
|
// Hide text when loading or iconOnly is true
|
|
7066
7066
|
const hideText = this.loading || this.iconOnly;
|
|
7067
7067
|
const content = (hAsync("div", { class: "pds-button__content", part: "button-content" }, this.renderStartContent(), hAsync("span", { class: `pds-button__text ${hideText ? 'pds-button__text--hidden' : ''}`, part: "button-text" }, hAsync("slot", null)), this.loading && (hAsync("span", { class: "pds-button__loader" }, hAsync("pds-loader", { "is-loading": true, size: "var(--pine-font-size-body-2xl)", variant: "spinner", exportparts: "loader-svg" }, "Loading..."))), this.renderEndContent()));
|
|
7068
|
-
return (hAsync(Host,
|
|
7068
|
+
return (hAsync(Host, { "aria-disabled": this.disabled ? 'true' : null, onClick: this.handleClick, onFocusin: this.handleFocusIn, variant: this.variant }, hAsync(ContentElement, Object.assign({}, attributes()), content)));
|
|
7069
7069
|
}
|
|
7070
7070
|
static get delegatesFocus() { return true; }
|
|
7071
7071
|
get el() { return getElement(this); }
|
|
@@ -9761,7 +9761,7 @@ class PdsChip {
|
|
|
9761
9761
|
const hostClass = this.classNames();
|
|
9762
9762
|
const hostStyles = this.hostStyles;
|
|
9763
9763
|
this.hostKeeper.record(hostClass, hostStyles);
|
|
9764
|
-
return (hAsync(Host, { key: '
|
|
9764
|
+
return (hAsync(Host, { key: '7f9ee3000b4a68726730ee8019f5b866a2f53ae7', class: hostClass, style: hostStyles }, this.setChipContent(), this.effectiveVariant === 'tag' && this.renderCloseButton()));
|
|
9765
9765
|
}
|
|
9766
9766
|
get el() { return getElement(this); }
|
|
9767
9767
|
static get style() { return pdsChipTokensCss() + pdsChipCss(); }
|
|
@@ -14530,7 +14530,7 @@ class PdsCopytext {
|
|
|
14530
14530
|
render() {
|
|
14531
14531
|
const hostClass = this.classNames();
|
|
14532
14532
|
this.hostKeeper.record(hostClass);
|
|
14533
|
-
return (hAsync(Host, { key: '
|
|
14533
|
+
return (hAsync(Host, { key: '088bbb25115146cf5ebce5ba98596ac987982ca1', class: hostClass }, hAsync("pds-button", { key: 'c6ca05402e3957f129e95f8545ebfb0393baf648', type: "button", variant: "unstyled", onClick: this.handleClick }, hAsync("span", { key: '95b0114960772b8d41ac1c55140eed73844be54b', ref: (el) => this.valueSpanEl = el }, this.value), hAsync("pds-icon", { key: '49a1a13daf1bd9d875f6bc518f7002dc33652863', "aria-hidden": "true", icon: copy, size: "16px" }))));
|
|
14534
14534
|
}
|
|
14535
14535
|
get el() { return getElement(this); }
|
|
14536
14536
|
static get watchers() { return {
|
|
@@ -16858,7 +16858,7 @@ class PdsDivider {
|
|
|
16858
16858
|
return classNames.join(' ');
|
|
16859
16859
|
}
|
|
16860
16860
|
render() {
|
|
16861
|
-
return (hAsync(Host, { key: '
|
|
16861
|
+
return (hAsync(Host, { key: '27f21f0697085d75414da7e626b44f5c0ad5b0b3' }, this.hasLabel ? (hAsync("div", { class: this.classNames(), role: "separator", "aria-label": this.label }, hAsync("span", { class: "pds-divider__label", part: "label", "aria-hidden": "true" }, this.label))) : (hAsync("hr", { class: this.classNames() }))));
|
|
16862
16862
|
}
|
|
16863
16863
|
static get style() { return pdsDividerCss(); }
|
|
16864
16864
|
static get cmpMeta() { return {
|
|
@@ -17611,7 +17611,7 @@ class PdsDropdownMenu {
|
|
|
17611
17611
|
}
|
|
17612
17612
|
}
|
|
17613
17613
|
render() {
|
|
17614
|
-
return (hAsync(Host, { key: '
|
|
17614
|
+
return (hAsync(Host, { key: '3baa07d7761a581606704b5e79e68d7bc585ff36' }, hAsync("slot", { key: '527afc60b7b6f7c869c62924fd00791de2538955', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), hAsync("pds-box", { key: '2efeff541331bc0b39ed271984c680e14892ed0b', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", part: "menu-panel" }, hAsync("div", { key: '591d61a9c12e10aef64638f1f51073321bddae69', class: { 'pds-dropdown-menu__header': true, 'is-hidden': !this.hasHeader } }, hAsync("slot", { key: 'c3a7fd69e0074be99508ae6b6c14bbd78fbc1f03', name: "header", onSlotchange: this.handleHeaderSlotChange })), hAsync("div", { key: '84c4f0cb77eadc86a5bb2b59c4b33f8691d2adfb', class: "pds-dropdown-menu__items", role: "menu", "aria-orientation": "vertical" }, hAsync("slot", { key: '8c16bfd158a2be6009545562940c38ca433e1c47', onSlotchange: this.handleSlotChange })))));
|
|
17615
17615
|
}
|
|
17616
17616
|
get host() { return getElement(this); }
|
|
17617
17617
|
static get style() { return pdsDropdownMenuCss(); }
|
|
@@ -17767,7 +17767,7 @@ class PdsDropdownMenuItem {
|
|
|
17767
17767
|
return (_d = (_c = (_b = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('pds-link')) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('a')) !== null && _d !== void 0 ? _d : null;
|
|
17768
17768
|
}
|
|
17769
17769
|
render() {
|
|
17770
|
-
return (hAsync(Host, { key: '
|
|
17770
|
+
return (hAsync(Host, { key: '974b6da459ec11c49a0105b1b2f26eb134440d18', class: {
|
|
17771
17771
|
'is-disabled': this.disabled,
|
|
17772
17772
|
'is-informational': this.informational,
|
|
17773
17773
|
'destructive': !this.disabled && !this.informational && this.destructive
|
|
@@ -17811,7 +17811,7 @@ class PdsDropdownMenuSeparator {
|
|
|
17811
17811
|
this.disabled = false;
|
|
17812
17812
|
}
|
|
17813
17813
|
render() {
|
|
17814
|
-
return (hAsync(Host, { key: '
|
|
17814
|
+
return (hAsync(Host, { key: '247de1e84622fc816f541e95da022c7d07b3852c' }, hAsync("hr", { key: 'd66e06eee972fa962003152a4ec7703d7c66d620' })));
|
|
17815
17815
|
}
|
|
17816
17816
|
static get style() { return pdsDropdownMenuSeparatorCss(); }
|
|
17817
17817
|
static get cmpMeta() { return {
|
|
@@ -18407,7 +18407,7 @@ class PdsFilter {
|
|
|
18407
18407
|
return null;
|
|
18408
18408
|
}
|
|
18409
18409
|
render() {
|
|
18410
|
-
return (hAsync(Host, { key: '
|
|
18410
|
+
return (hAsync(Host, { key: 'ae727227de30a285588182dce73fa4867e66bb89' }, hAsync("button", { key: '45ff52e203ff936d42c9ba037066756035d74d98', class: this.getTriggerClasses(), type: "button", popoverTarget: this.variant !== 'clear' ? `${this.componentId}-popover` : undefined, popoverTargetAction: this.variant !== 'clear' ? 'toggle' : undefined, onKeyDown: this.variant === 'clear' ? this.handleKeyDown : undefined, onClick: (event) => this.handleClick(event), part: "button", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": this.variant !== 'clear' ? 'true' : undefined, "aria-controls": this.variant !== 'clear' ? `${this.componentId}-popover` : undefined }, hAsync("span", { key: '05fb0de22068e9fcc79d8903a617513db0d71da1', class: "pds-filter__button-content", part: "button-content" }, this.renderIcon(), this.text && (hAsync("span", { key: '4589b7fc0aed1ab3d7e6c06fea123553d2b77a3e', class: "pds-filter__button-text", part: "button-text" }, this.text)), this.renderDropdownIcon())), this.variant !== 'clear' && (hAsync("div", { key: '4cbad5c76e8e28eb4a09d4a2c8a3d7c30024f114', ref: el => this.popoverEl = el, id: `${this.componentId}-popover`, class: "pds-filter__popover", popover: "auto", part: "popover" }, hAsync("slot", { key: 'c915f596e9d9efe1a7b1bd2edcf9b704d986438d' })))));
|
|
18411
18411
|
}
|
|
18412
18412
|
get el() { return getElement(this); }
|
|
18413
18413
|
static get style() { return pdsFilterCss(); }
|
|
@@ -18439,7 +18439,7 @@ class PdsFilters {
|
|
|
18439
18439
|
registerInstance(this, hostRef);
|
|
18440
18440
|
}
|
|
18441
18441
|
render() {
|
|
18442
|
-
return (hAsync(Host, { key: '
|
|
18442
|
+
return (hAsync(Host, { key: '4a5ed2d7e80d82be9517682ee66e464fa61ea45b' }, hAsync("div", { key: '7cabd4f934c17b14268c28f9ce99e8900795c516', class: "pds-filters" }, hAsync("slot", { key: 'a1d01f1be8885c3cf68f98df59d67f56709f00e8' }))));
|
|
18443
18443
|
}
|
|
18444
18444
|
static get style() { return pdsFiltersCss(); }
|
|
18445
18445
|
static get cmpMeta() { return {
|
|
@@ -19080,10 +19080,10 @@ class PdsImage {
|
|
|
19080
19080
|
const ratioStyle = hasRatio
|
|
19081
19081
|
? { aspectRatio: this.imageRatio(), objectFit: this.fit }
|
|
19082
19082
|
: undefined;
|
|
19083
|
-
return (hAsync(Host, { key: '
|
|
19083
|
+
return (hAsync(Host, { key: 'f01ae0cef8a08b686a62affe14e58661115f1e2e', class: {
|
|
19084
19084
|
'pds-image': true,
|
|
19085
19085
|
'pds-image--has-ratio': hasRatio,
|
|
19086
|
-
}
|
|
19086
|
+
} }, hAsync("img", { key: '3e609d3b73154ea5c83ae2df58352b0021075373', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, style: ratioStyle, width: this.width, onLoad: this.emitLoad, onError: this.emitError, ref: (el) => (this.imageEl = el) })));
|
|
19087
19087
|
}
|
|
19088
19088
|
static get watchers() { return {
|
|
19089
19089
|
"src": [{
|
|
@@ -20620,7 +20620,7 @@ class PdsModalHeader {
|
|
|
20620
20620
|
}; }
|
|
20621
20621
|
}
|
|
20622
20622
|
|
|
20623
|
-
const pdsMultiselectCss = () => `:host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color var(--pine-motion-duration-base) ease, -webkit-box-shadow var(--pine-motion-duration-base) ease;transition:border-color var(--pine-motion-duration-base) ease, -webkit-box-shadow var(--pine-motion-duration-base) ease;transition:border-color var(--pine-motion-duration-base) ease, box-shadow var(--pine-motion-duration-base) ease;transition:border-color var(--pine-motion-duration-base) ease, box-shadow var(--pine-motion-duration-base) ease, -webkit-box-shadow var(--pine-motion-duration-base) ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__pill-list{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs)}.pds-multiselect__pill-list--inline{-ms-flex:1;flex:1;min-width:0}.pds-multiselect__pill-list--below{-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-multiselect__pill-overflow{color:var(--pine-color-text-muted);font:var(--pine-typography-body-sm-medium);white-space:nowrap}.pds-multiselect__trigger--pill-inline{-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-2xs) var(--pine-dimension-sm)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger--pill-inline:focus-within:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--invalid:focus-within{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__pill-toggle{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border-width:0;cursor:pointer;display:-ms-flexbox;display:flex;padding:0}.pds-multiselect__pill-toggle:focus{outline:3px solid transparent}.pds-multiselect__trigger--disabled .pds-multiselect__pill-toggle{cursor:not-allowed;pointer-events:none}.pds-multiselect__panel{background:var(--pine-color-background-overlay);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-active);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__group-header{color:var(--pine-color-text-muted);display:block;font:var(--pine-typography-body-sm-medium);letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-sm) var(--pine-dimension-xs) var(--pine-dimension-2xs);text-transform:uppercase}.pds-multiselect__listbox>li:first-child>.pds-multiselect__group-header{-webkit-padding-before:var(--pine-dimension-xs);padding-block-start:var(--pine-dimension-xs)}.pds-multiselect__group-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{min-width:var(--pine-dimension-none);pointer-events:none;width:100%}.pds-multiselect__option pds-chip{pointer-events:auto}.pds-multiselect__option:hover:not(.pds-multiselect__option--disabled),.pds-multiselect__option.pds-multiselect__option--highlighted:not(.pds-multiselect__option--disabled){background:var(--pine-color-background-muted)}.pds-multiselect__option.pds-multiselect__option--disabled{cursor:not-allowed;opacity:0.5}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__option-action{-ms-flex-align:center;align-items:center;block-size:var(--pine-dimension-md);color:var(--pine-color-icon);cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;inline-size:var(--pine-dimension-md);-ms-flex-pack:center;justify-content:center;-webkit-margin-start:var(--pine-dimension-xs);margin-inline-start:var(--pine-dimension-xs)}.pds-multiselect__create-option{color:var(--pine-color-text-strong);width:100%}.pds-multiselect__create-option pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__footer{-webkit-border-before:var(--pine-border);border-block-start:var(--pine-border);border-block-start-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm-medium);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm-medium);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}`;
|
|
20623
|
+
const pdsMultiselectCss = () => `:host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color var(--pine-motion-duration-base) ease, -webkit-box-shadow var(--pine-motion-duration-base) ease;transition:border-color var(--pine-motion-duration-base) ease, -webkit-box-shadow var(--pine-motion-duration-base) ease;transition:border-color var(--pine-motion-duration-base) ease, box-shadow var(--pine-motion-duration-base) ease;transition:border-color var(--pine-motion-duration-base) ease, box-shadow var(--pine-motion-duration-base) ease, -webkit-box-shadow var(--pine-motion-duration-base) ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-label{display:grid;-ms-flex:1;flex:1;grid-template-columns:minmax(0, 1fr);min-width:0}.pds-multiselect__trigger-sizer{grid-area:1/1;overflow:hidden;visibility:hidden;white-space:nowrap}.pds-multiselect__trigger-label>.pds-multiselect__trigger-text{contain:inline-size;grid-area:1/1}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__pill-list{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs)}.pds-multiselect__pill-list--inline{-ms-flex:1;flex:1;min-width:0}.pds-multiselect__pill-list--below{-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-multiselect__pill-overflow{color:var(--pine-color-text-muted);font:var(--pine-typography-body-sm-medium);white-space:nowrap}.pds-multiselect__trigger--pill-inline{-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-2xs) var(--pine-dimension-sm)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger--pill-inline:focus-within:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--invalid:focus-within{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__pill-toggle{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border-width:0;cursor:pointer;display:-ms-flexbox;display:flex;padding:0}.pds-multiselect__pill-toggle:focus{outline:3px solid transparent}.pds-multiselect__trigger--disabled .pds-multiselect__pill-toggle{cursor:not-allowed;pointer-events:none}.pds-multiselect__panel{background:var(--pine-color-background-overlay);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-active);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__group-header{color:var(--pine-color-text-muted);display:block;font:var(--pine-typography-body-sm-medium);letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-sm) var(--pine-dimension-sm) var(--pine-dimension-2xs);text-transform:uppercase}.pds-multiselect__listbox>li:first-child>.pds-multiselect__group-header{-webkit-padding-before:var(--pine-dimension-xs);padding-block-start:var(--pine-dimension-xs)}.pds-multiselect__group-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-xs) var(--pine-dimension-sm);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{min-width:var(--pine-dimension-none);pointer-events:none;width:100%}.pds-multiselect__option pds-chip{pointer-events:auto}.pds-multiselect__option:hover:not(.pds-multiselect__option--disabled),.pds-multiselect__option.pds-multiselect__option--highlighted:not(.pds-multiselect__option--disabled){background:var(--pine-color-background-muted)}.pds-multiselect__option.pds-multiselect__option--disabled{cursor:not-allowed;opacity:0.5}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__option-action{-ms-flex-align:center;align-items:center;block-size:var(--pine-dimension-md);color:var(--pine-color-icon);cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;inline-size:var(--pine-dimension-md);-ms-flex-pack:center;justify-content:center;-webkit-margin-start:var(--pine-dimension-xs);margin-inline-start:var(--pine-dimension-xs)}.pds-multiselect__create-option{color:var(--pine-color-text-strong);width:100%}.pds-multiselect__create-option pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__footer{-webkit-border-before:var(--pine-border);border-block-start:var(--pine-border);border-block-start-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm-medium);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm-medium);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}`;
|
|
20624
20624
|
|
|
20625
20625
|
// Names only: pds-icon's `icon` prop also fetches URLs and data: SVGs, unsanitized.
|
|
20626
20626
|
const PINE_ICON_NAME = /^[a-z0-9-]+$/i;
|
|
@@ -20711,6 +20711,7 @@ class PdsMultiselect {
|
|
|
20711
20711
|
this.pillRemoveLabel = 'Remove';
|
|
20712
20712
|
/**
|
|
20713
20713
|
* Singular form of the selected-count trigger text. Pass a translated string to localize it; `{count}` is interpolated.
|
|
20714
|
+
* A single selection shows the item's name instead, so this applies to other counts that a locale's plural rules treat as singular, and to a single selection whose item has no text.
|
|
20714
20715
|
* @defaultValue '{count} item'
|
|
20715
20716
|
*/
|
|
20716
20717
|
this.selectedCountLabelOne = '{count} item';
|
|
@@ -20766,8 +20767,9 @@ class PdsMultiselect {
|
|
|
20766
20767
|
this.hideSelectedItems = false;
|
|
20767
20768
|
/**
|
|
20768
20769
|
* Display mode for selected items outside the dropdown panel.
|
|
20769
|
-
* `'count'` shows
|
|
20770
|
-
*
|
|
20770
|
+
* `'count'` shows the item's name in the trigger when one is selected and
|
|
20771
|
+
* "N items" text otherwise (default). `'pill'` renders selected items as
|
|
20772
|
+
* dismissible pds-chip tags.
|
|
20771
20773
|
* @default 'count'
|
|
20772
20774
|
*/
|
|
20773
20775
|
this.selectedDisplay = 'count';
|
|
@@ -21900,6 +21902,7 @@ class PdsMultiselect {
|
|
|
21900
21902
|
return (hAsync("div", { class: "pds-multiselect__pill-list pds-multiselect__pill-list--below", "aria-label": this.selectedItemsLabel }, this.selectedItems.map(item => (hAsync("pds-chip", { key: String(item.id), "component-id": `${this.componentId}-pill-${item.id}`, variant: variant, size: "md", sentiment: "neutral", "dismiss-label": this.pillRemoveLabel, onPdsTagCloseClick: this.handlePillRemove(item) }, item.text)))));
|
|
21901
21903
|
}
|
|
21902
21904
|
getTriggerText() {
|
|
21905
|
+
var _a;
|
|
21903
21906
|
const count = this.selectedItems.length;
|
|
21904
21907
|
if (count === 0 || (this.selectedDisplay === 'pill' && this.pillPosition === 'below')) {
|
|
21905
21908
|
// Fall back to a non-empty string: the trigger's accessible name comes from
|
|
@@ -21907,8 +21910,24 @@ class PdsMultiselect {
|
|
|
21907
21910
|
// (WCAG 4.1.2). The prop is localizable; this last-resort default is not.
|
|
21908
21911
|
return this.placeholder || 'Select...';
|
|
21909
21912
|
}
|
|
21913
|
+
// One selection shows its name; the count only says something once there's more than one.
|
|
21914
|
+
// An option without text still falls back to the count, so the trigger is never nameless.
|
|
21915
|
+
if (count === 1 && ((_a = this.selectedItems[0].text) === null || _a === void 0 ? void 0 : _a.trim())) {
|
|
21916
|
+
return this.selectedItems[0].text;
|
|
21917
|
+
}
|
|
21910
21918
|
return pluralize(this.el, count, this.resolveCountForms());
|
|
21911
21919
|
}
|
|
21920
|
+
/**
|
|
21921
|
+
* The text that sets the trigger's width. A single selection's name could be any length, so the
|
|
21922
|
+
* trigger keeps the width the count would give it and the name truncates inside that, rather than
|
|
21923
|
+
* widening a multiselect that has no width of its own.
|
|
21924
|
+
*/
|
|
21925
|
+
getTriggerSizerText() {
|
|
21926
|
+
const text = this.getTriggerText();
|
|
21927
|
+
const count = this.selectedItems.length;
|
|
21928
|
+
const showsName = count === 1 && text === this.selectedItems[0].text && !(this.selectedDisplay === 'pill' && this.pillPosition === 'below');
|
|
21929
|
+
return showsName ? pluralize(this.el, count, this.resolveCountForms()) : text;
|
|
21930
|
+
}
|
|
21912
21931
|
/**
|
|
21913
21932
|
* The `one`/`other` props are the ergonomic English defaults; `selectedCountLabels`
|
|
21914
21933
|
* (object or JSON-string attribute) layers full CLDR forms on top for locales
|
|
@@ -21935,10 +21954,10 @@ class PdsMultiselect {
|
|
|
21935
21954
|
}
|
|
21936
21955
|
render() {
|
|
21937
21956
|
const hasSelections = this.selectedItems.length > 0;
|
|
21938
|
-
return (hAsync(Host, { key: '
|
|
21957
|
+
return (hAsync(Host, { key: '12298f9692ac8644230195cc1abe0e26bb5715a9', "aria-disabled": this.disabled ? 'true' : null }, hAsync("div", { key: '5d98f9edae2f471d9662c65454fbef7b2dec83e1', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (hAsync("label", { key: '2f6d4162d0649978bc53c34327b6149dc971fd4c', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
|
|
21939
21958
|
'pds-multiselect__label': true,
|
|
21940
21959
|
'visually-hidden': this.hideLabel,
|
|
21941
|
-
} }, this.label)), hAsync("div", { key: '
|
|
21960
|
+
} }, this.label)), hAsync("div", { key: '7a337e876c8fff854e5b9a067ef89b9d5136df4f', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.slottedTriggerEl ? (hAsync("slot", { name: "trigger" })) : this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (hAsync("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
|
|
21942
21961
|
'pds-multiselect__trigger': true,
|
|
21943
21962
|
'pds-multiselect__trigger--open': this.isOpen,
|
|
21944
21963
|
'pds-multiselect__trigger--disabled': this.disabled,
|
|
@@ -21951,10 +21970,10 @@ class PdsMultiselect {
|
|
|
21951
21970
|
'pds-multiselect__trigger--disabled': this.disabled,
|
|
21952
21971
|
'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
|
|
21953
21972
|
'pds-multiselect__trigger--has-value': hasSelections,
|
|
21954
|
-
}, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.helperMessage, this.errorMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hAsync("span", { class: {
|
|
21973
|
+
}, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.helperMessage, this.errorMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hAsync("span", { class: "pds-multiselect__trigger-label" }, hAsync("span", { class: "pds-multiselect__trigger-sizer", "aria-hidden": "true" }, this.getTriggerSizerText()), hAsync("span", { class: {
|
|
21955
21974
|
'pds-multiselect__trigger-text': true,
|
|
21956
21975
|
'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
|
|
21957
|
-
} }, this.getTriggerText()), hAsync("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), hAsync("span", { key: '
|
|
21976
|
+
} }, this.getTriggerText())), hAsync("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), hAsync("span", { key: 'd3cf5bb64a6c296c84af30628698559c0c904117', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (hAsync("p", { key: 'a711280151ff360758143906a76fa2d25f4078a9', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (hAsync("p", { key: '17411d6bb55843f45f8d7ee410b627de846eed65', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: '446ffc0ed08b7856f0ef8c49bdf06b6011404a12', "aria-hidden": "true", icon: danger, size: "small" }), this.errorMessage)), hAsync("div", { key: 'a83ed6c5d84cbf38f267f7e15bd871d09534c554', style: { display: 'none' } }, hAsync("slot", { key: '294ce6a2bd4405854161aed5d8166fcc86e211e3' })))));
|
|
21958
21977
|
}
|
|
21959
21978
|
static get formAssociated() { return true; }
|
|
21960
21979
|
get el() { return getElement(this); }
|
|
@@ -23125,7 +23144,7 @@ class PdsPopover {
|
|
|
23125
23144
|
portal.style.left = `${left - origin.left}px`;
|
|
23126
23145
|
}
|
|
23127
23146
|
render() {
|
|
23128
|
-
return (hAsync(Host, { key: '
|
|
23147
|
+
return (hAsync(Host, { key: '1767e44f8f0fba0938cc99fefdeb786cf9131384' }, hAsync("span", { key: 'b5369451958d62562f007d600e7567809f281bfb', class: "pds-popover__trigger-wrapper" }, hAsync("slot", { key: '30a8273c6365eff7fd8265966ae09d66ac84e0a9', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), hAsync("span", { key: 'a562458380244ca76af047edd00d40d012bc30ce', class: "pds-popover__tab-guard", ref: (el) => (this.tabGuardEl = el !== null && el !== void 0 ? el : null), onFocus: this.handleTabGuardFocus }), hAsync("div", { key: '36db874a9f1bcdf0dc52d9cce368c5fc4f296b62', class: "pds-popover__content-slot-wrapper" }, hAsync("slot", { key: '295f000fcdcaa4ef5249f4e98ed83cbd467351b0', onSlotchange: this.handleContentSlotChange }))));
|
|
23129
23148
|
}
|
|
23130
23149
|
get el() { return getElement(this); }
|
|
23131
23150
|
static get watchers() { return {
|
|
@@ -23233,7 +23252,7 @@ class PdsProperty {
|
|
|
23233
23252
|
this.icon = 'star';
|
|
23234
23253
|
}
|
|
23235
23254
|
render() {
|
|
23236
|
-
return (hAsync(Host, { key: '
|
|
23255
|
+
return (hAsync(Host, { key: '1bdcebaa09a696b18871651ef2615d0d400ddbb8' }, hAsync("pds-box", { key: 'a4dc57f9e758b78fe3d4f2c096fadec53288e47b', "align-items": "center", gap: "xs" }, hAsync("pds-icon", { key: '2a89c7e1231163b5e4ac20d3d0c3d43af414a11a', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), hAsync("slot", { key: '4c4d2ee5ed05ad2ec53bbe4f79fa11c04c8eb44d' }))));
|
|
23237
23256
|
}
|
|
23238
23257
|
static get style() { return pdsPropertyCss(); }
|
|
23239
23258
|
static get cmpMeta() { return {
|
|
@@ -23402,6 +23421,8 @@ class PdsRadio {
|
|
|
23402
23421
|
|
|
23403
23422
|
const pdsRadioGroupCss = () => `.sc-pds-radio-group-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--pine-dimension-sm)}.is-invalid.sc-pds-radio-group-h .pds-radio-group__message--error.sc-pds-radio-group{color:var(--pine-color-text-message-danger)}.pds-radio-group__label.sc-pds-radio-group{color:var(--pine-color-text-label);font:var(--pine-typography-heading-6);font-weight:var(--pine-font-weight-medium);letter-spacing:var(--pine-letter-spacing-heading-6)}.pds-radio-group__radios.sc-pds-radio-group{display:-ms-flexbox;display:flex;gap:var(--pds-radio-group-gap, var(--pine-dimension-xs))}.pds-radio-group__radios--row.sc-pds-radio-group{-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.pds-radio-group__radios--column.sc-pds-radio-group{-ms-flex-direction:column;flex-direction:column}.pds-radio-group__message.sc-pds-radio-group{color:var(--pine-color-text-message);font:var(--pine-typography-body);width:100%}.pds-radio-group__message--error.sc-pds-radio-group{display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}.pds-radio-group__message--error.sc-pds-radio-group pds-icon.sc-pds-radio-group{-webkit-margin-before:var(--pine-dimension-050);margin-block-start:var(--pine-dimension-050)}`;
|
|
23404
23423
|
|
|
23424
|
+
// The label and message ids a group without component-id generates for itself.
|
|
23425
|
+
const STALE_REFERENCE = /^radio-group-.+__(label|helper-message|error-message)$/;
|
|
23405
23426
|
/**
|
|
23406
23427
|
* @slot (default) - Child pds-radio components
|
|
23407
23428
|
* @lightDom renders-markup
|
|
@@ -23523,18 +23544,21 @@ class PdsRadioGroup {
|
|
|
23523
23544
|
: `${Date.now()}-${Math.random().toString(36).substring(2, 9)}`;
|
|
23524
23545
|
this._groupId = `radio-group-${uniqueId}`;
|
|
23525
23546
|
}
|
|
23526
|
-
// A restored or cloned host still
|
|
23527
|
-
//
|
|
23528
|
-
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
|
|
23533
|
-
|
|
23534
|
-
|
|
23535
|
-
|
|
23536
|
-
|
|
23537
|
-
|
|
23547
|
+
// A restored or cloned host can still carry the ARIA references an earlier instance wrote, pointing at that
|
|
23548
|
+
// instance's label and messages. Drop those tokens so this render writes its own, and keep any others.
|
|
23549
|
+
['aria-labelledby', 'aria-describedby'].forEach((name) => {
|
|
23550
|
+
var _a;
|
|
23551
|
+
const ids = (_a = this.el.getAttribute(name)) === null || _a === void 0 ? void 0 : _a.split(/\s+/).filter(Boolean);
|
|
23552
|
+
if (!ids)
|
|
23553
|
+
return;
|
|
23554
|
+
const kept = ids.filter((id) => !STALE_REFERENCE.test(id) || id.startsWith(`${this._groupId}__`));
|
|
23555
|
+
if (kept.length === ids.length)
|
|
23556
|
+
return;
|
|
23557
|
+
if (kept.length)
|
|
23558
|
+
this.el.setAttribute(name, kept.join(' '));
|
|
23559
|
+
else
|
|
23560
|
+
this.el.removeAttribute(name);
|
|
23561
|
+
});
|
|
23538
23562
|
}
|
|
23539
23563
|
componentDidLoad() {
|
|
23540
23564
|
if (!this.name) {
|
|
@@ -23624,13 +23648,13 @@ class PdsRadioGroup {
|
|
|
23624
23648
|
'aria-describedby': ariaDescribedBy,
|
|
23625
23649
|
'aria-labelledby': ariaLabelledBy === this.labelId ? ariaLabelledBy : undefined,
|
|
23626
23650
|
});
|
|
23627
|
-
return (hAsync(Host, { key: '
|
|
23651
|
+
return (hAsync(Host, { key: 'd379f29bc62f1855c1a244c3edd800b390a98f54', class: hostClass, role: "radiogroup", "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, style: {
|
|
23628
23652
|
'--pds-radio-group-gap': gapValue,
|
|
23629
|
-
} }, this.groupLabel && (hAsync("div", { key: '
|
|
23653
|
+
} }, this.groupLabel && (hAsync("div", { key: 'e2db8af21186405b0c7b6c23422e34b46ca6bbbe', class: "pds-radio-group__label", id: this.labelId }, this.groupLabel)), hAsync("div", { key: 'f818e2b84374979cda34d635ff6e9d1982d67c46', class: {
|
|
23630
23654
|
'pds-radio-group__radios': true,
|
|
23631
23655
|
'pds-radio-group__radios--row': this.direction === 'row',
|
|
23632
23656
|
'pds-radio-group__radios--column': this.direction === 'column',
|
|
23633
|
-
} }, hAsync("slot", { key: '
|
|
23657
|
+
} }, hAsync("slot", { key: 'f4d61c9495773c33119fcddf270f5a4d345e507b', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (hAsync("div", { key: '9ba493a3baf04085fba52f9f825024210122f0b5', class: "pds-radio-group__message", id: messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (hAsync("div", { key: '3a11a19683b897b565d615d888c7f9357e0e1ed3', class: "pds-radio-group__message pds-radio-group__message--error", id: messageId(this._groupId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: 'c57a25a382cbcc216fffeab849eca06a78cb4b60', "aria-hidden": "true", icon: danger, size: "small" }), this.errorMessage))));
|
|
23634
23658
|
}
|
|
23635
23659
|
get el() { return getElement(this); }
|
|
23636
23660
|
static get watchers() { return {
|
|
@@ -27260,7 +27284,7 @@ class PdsSortable {
|
|
|
27260
27284
|
render() {
|
|
27261
27285
|
const classNames = this.classNames();
|
|
27262
27286
|
this.hostKeeper.record(classNames);
|
|
27263
|
-
return (hAsync(Host, { key: '
|
|
27287
|
+
return (hAsync(Host, { key: 'f758a8b71485f09185ba511b304c48c3fcdb5298', class: classNames, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, onClick: this.handleClick }, hAsync("slot", { key: 'fecbafc235475dc67fb1d7fe051c42d2a51b4bfe' })));
|
|
27264
27288
|
}
|
|
27265
27289
|
get el() { return getElement(this); }
|
|
27266
27290
|
static get watchers() { return {
|
|
@@ -27364,10 +27388,10 @@ class PdsSortableItem {
|
|
|
27364
27388
|
this.hostKeeper.record(hostClasses);
|
|
27365
27389
|
const existingHandle = this.el.querySelector('.pds-sortable-item__handle');
|
|
27366
27390
|
const wasPressed = (existingHandle === null || existingHandle === void 0 ? void 0 : existingHandle.getAttribute('aria-pressed')) === 'true';
|
|
27367
|
-
return (hAsync(Host, { key: '
|
|
27391
|
+
return (hAsync(Host, { key: '93566ff82e0603508392df14f6ecec11872e822c', class: hostClasses }, (this.showHandle || reorderable) && (hAsync("div", { key: 'c3c6bd592ab827a0fc513c101b5afec8acc62cf4', class: {
|
|
27368
27392
|
'pds-sortable-item__handle': true,
|
|
27369
27393
|
'pds-sortable-item__handle--hidden': !this.showHandle,
|
|
27370
|
-
}, role: reorderable ? 'button' : undefined, tabindex: reorderable ? '0' : undefined, "aria-label": reorderable ? formatMessage(sortable.handleLabel, { item: sortableItemLabel(this.el) }) : undefined, "aria-pressed": reorderable ? String(wasPressed) : undefined }, hAsync("pds-icon", { key: '
|
|
27394
|
+
}, role: reorderable ? 'button' : undefined, tabindex: reorderable ? '0' : undefined, "aria-label": reorderable ? formatMessage(sortable.handleLabel, { item: sortableItemLabel(this.el) }) : undefined, "aria-pressed": reorderable ? String(wasPressed) : undefined }, hAsync("pds-icon", { key: 'a71dd5c7c7d368ec0ef326d7f86f33bcaeecf238', "aria-hidden": "true", icon: handle }))), hAsync("slot", { key: 'cf372e7f7a234829b77ae28604bfdbdced27b1e8' }), this.enableActions && (hAsync("div", { key: 'abf8848c6c5ed09ddcf1b09be21f0ba851385f10', class: "pds-sortable-item__actions" }, hAsync("slot", { key: 'e6b3b897c17529f5d803d72e6fcbeed66880f083', name: "sortable-item-actions" })))));
|
|
27371
27395
|
}
|
|
27372
27396
|
get el() { return getElement(this); }
|
|
27373
27397
|
static get style() { return pdsSortableItemCss(); }
|
|
@@ -27413,7 +27437,7 @@ class PdsSwitch {
|
|
|
27413
27437
|
*/
|
|
27414
27438
|
this.disabled = false;
|
|
27415
27439
|
/**
|
|
27416
|
-
* Determines
|
|
27440
|
+
* Determines whether or not the switch is invalid.
|
|
27417
27441
|
*/
|
|
27418
27442
|
this.invalid = false;
|
|
27419
27443
|
/**
|
|
@@ -27564,12 +27588,12 @@ class PdsSwitch {
|
|
|
27564
27588
|
const hostClass = this.switchClassNames();
|
|
27565
27589
|
const ariaDisabled = this.isDisabled() ? 'true' : null;
|
|
27566
27590
|
this.hostKeeper.record(hostClass, {}, { 'aria-disabled': ariaDisabled });
|
|
27567
|
-
return (hAsync(Host, { key: '
|
|
27591
|
+
return (hAsync(Host, { key: '4c6f12c064caead89979cc4aa0ef25c4581381c3', class: hostClass, "aria-disabled": ariaDisabled }, hAsync("label", { key: 'c97164a6d6318be6cbcc026373e3d5c0a9316d56', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: 'dfaf7408c3fbbed38bd0732ff156e53f57235100', "aria-describedby": this.ownDescriptionId(), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.isDisabled(), id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate,
|
|
27568
27592
|
// A description added after the switch, or replaced by a framework or a DOM morph, is picked up by the
|
|
27569
27593
|
// time focus reaches the switch and it's announced.
|
|
27570
|
-
onFocus: this.forwardDescription, ref: (el) => (this.inputEl = el), required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), hAsync("span", { key: '
|
|
27571
|
-
hAsync("div", { key: '
|
|
27572
|
-
hAsync("div", { key: '
|
|
27594
|
+
onFocus: this.forwardDescription, ref: (el) => (this.inputEl = el), required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), hAsync("span", { key: '5e621fa2881bb2d1eddd3dcbc33173f3cf49bd93', class: this.hideLabel ? 'visually-hidden' : '' }, hAsync("slot", { key: 'ef682ce320b8d9f2897676af97e0b4d55c55358a', name: "label", onSlotchange: this.updateHasLabelSlot }), !this.hasLabelSlot && this.label)), this.helperMessage &&
|
|
27595
|
+
hAsync("div", { key: '145da644abc8829de20ca6f9c4532f5341dec441', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
27596
|
+
hAsync("div", { key: '7766e34f6daaf760d78aec6f08b64f0de15deb4c', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '74dfd91aabf60608e8278ef84119466a2143ffc7', "aria-hidden": "true", icon: danger, size: "small" }), this.errorMessage)));
|
|
27573
27597
|
}
|
|
27574
27598
|
static get formAssociated() { return true; }
|
|
27575
27599
|
get el() { return getElement(this); }
|
|
@@ -28225,9 +28249,9 @@ class PdsTable {
|
|
|
28225
28249
|
}
|
|
28226
28250
|
render() {
|
|
28227
28251
|
if (this.responsive) {
|
|
28228
|
-
return (hAsync(Host, { class: `${this.classNames()} pds-table-responsive-host`,
|
|
28252
|
+
return (hAsync(Host, { class: `${this.classNames()} pds-table-responsive-host`, role: "grid", selectable: this.selectable, tabindex: "0", part: "table responsive-table" }, hAsync("div", { class: "scroll-shadow-left", part: "scroll-shadow-left" }), hAsync("div", { class: "scroll-shadow-right", part: "scroll-shadow-right" }), hAsync("div", { class: "pds-table-responsive-container", part: "responsive-container" }, hAsync("div", { class: "pds-table-responsive-wrapper", part: "responsive-wrapper" }, hAsync("div", { class: this.classNames(), part: "table-inner" }, hAsync("slot", null))))));
|
|
28229
28253
|
}
|
|
28230
|
-
return (hAsync(Host, { class: this.classNames(),
|
|
28254
|
+
return (hAsync(Host, { class: this.classNames(), role: "grid", selectable: this.selectable, tabindex: "0", part: "table" }, hAsync("slot", null)));
|
|
28231
28255
|
}
|
|
28232
28256
|
get el() { return getElement(this); }
|
|
28233
28257
|
static get watchers() { return {
|
|
@@ -29330,7 +29354,7 @@ class PdsTabs {
|
|
|
29330
29354
|
// Only the classes: `active-tab-name` backs the mutable activeTabName prop, so a morph that drops
|
|
29331
29355
|
// it is a prop change, not a strip.
|
|
29332
29356
|
this.hostKeeper.record(hostClass);
|
|
29333
|
-
return (hAsync(Host, { key: '
|
|
29357
|
+
return (hAsync(Host, { key: '6ededb588230706dc0848164e991694490436bf1', "active-tab-name": this.activeTabName, class: hostClass }, tabList, hAsync("slot", { key: '68d090b7b6a3bae74ceb66e1487ce96666a38c6e', name: "tabpanels" })));
|
|
29334
29358
|
}
|
|
29335
29359
|
get el() { return getElement(this); }
|
|
29336
29360
|
static get style() { return pdsTabsCss(); }
|
|
@@ -30488,10 +30512,9 @@ class PdsTooltip {
|
|
|
30488
30512
|
this.lastCopiedHtml = null;
|
|
30489
30513
|
}
|
|
30490
30514
|
render() {
|
|
30491
|
-
|
|
30492
|
-
return (hAsync(Host, { key: '475ff12d4be035e3effa894353e7948b42a23489', id: hostId, class: { 'pds-tooltip--is-open': this.opened } }, hAsync("span", { key: '3375dfb5bb86ba373bc5d617f4a53171505631d1', class: "pds-tooltip__trigger", onMouseEnter: this.handleShow, onMouseLeave: this.handleHide,
|
|
30515
|
+
return (hAsync(Host, { key: '8e9f4aac519caacca9d7e7bc92a714e09ecc756f', class: { 'pds-tooltip--is-open': this.opened } }, hAsync("span", { key: 'f4a706e2b5bb68ac171c25ae02ae23555860c165', class: "pds-tooltip__trigger", onMouseEnter: this.handleShow, onMouseLeave: this.handleHide,
|
|
30493
30516
|
/* focusin/out bubble; ensure keyboard users see tooltips */
|
|
30494
|
-
onFocusin: this.handleShow, onFocusout: this.handleHide, ref: el => this.triggerEl = el }, hAsync("slot", { key: '
|
|
30517
|
+
onFocusin: this.handleShow, onFocusout: this.handleHide, ref: el => this.triggerEl = el }, hAsync("slot", { key: '7548da298a2295f40fd1c6a9b4f1e597f687b80e' })), hAsync("div", { key: 'e19be5edd901bc8a6f96ace445451a976b92e447', class: "pds-tooltip__content-slot-wrapper", hidden: true }, hAsync("slot", { key: '0616e0468350750019afb736d79ac9f49ace4730', name: "content" }))));
|
|
30495
30518
|
}
|
|
30496
30519
|
get el() { return getElement(this); }
|
|
30497
30520
|
static get watchers() { return {
|