@pine-ds/core 4.4.4 → 4.6.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/attributes.js +1 -1
- package/components/index.js +1 -1
- package/components/mock-pds-modal.js +1 -1
- package/components/pds-combobox.js +1 -1
- package/components/pds-container.js +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-datepicker.js +1 -1
- package/components/pds-divider.js +1 -1
- package/components/pds-drawer-content.js +1 -1
- package/components/pds-drawer-footer.js +1 -1
- package/components/pds-drawer-header.js +1 -1
- package/components/pds-drawer.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-icon2.js +1 -1
- package/components/pds-image.js +1 -1
- package/components/pds-input2.js +1 -1
- package/components/pds-link2.js +1 -1
- package/components/pds-loader2.js +1 -1
- package/components/pds-modal-content.js +1 -1
- package/components/pds-modal-footer.js +1 -1
- package/components/pds-modal-header.js +1 -1
- package/components/pds-modal2.js +1 -1
- package/components/pds-multiselect.js +1 -1
- package/components/pds-popover.js +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-property.js +1 -1
- package/components/pds-radio-group.js +1 -1
- package/components/pds-radio.js +1 -1
- package/components/pds-row.js +1 -1
- package/components/pds-select.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-tab.js +1 -1
- package/components/pds-table-body.js +1 -1
- package/components/pds-table-cell2.js +1 -1
- package/components/pds-table-head-cell2.js +1 -1
- package/components/pds-table-head.js +1 -1
- package/components/pds-table-row.js +1 -1
- package/components/pds-tabpanel.js +1 -1
- package/components/pds-tabs.js +1 -1
- package/components/pds-text2.js +1 -1
- package/components/pds-textarea.js +1 -1
- package/components/pds-toast.js +1 -1
- package/components/pds-tooltip.js +1 -1
- package/dist/cjs/{attributes-DrQqSEv4.js → attributes-BJ7KBHql.js} +22 -25
- package/dist/cjs/{index-D-QQKB0y.js → index-5Azb8EQG.js} +1 -1
- package/dist/cjs/{index-D8Gl0bIB.js → index-jl_Q819j.js} +10 -1
- package/dist/cjs/index.cjs.js +3 -0
- package/dist/cjs/keep-hydrated-CiXgkEYd.js +196 -0
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/mock-pds-modal.cjs.entry.js +3 -2
- package/dist/cjs/pds-accordion.cjs.entry.js +3 -2
- package/dist/cjs/pds-alert.cjs.entry.js +2 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +3 -2
- package/dist/cjs/pds-box.cjs.entry.js +3 -2
- package/dist/cjs/pds-button.cjs.entry.js +3 -2
- package/dist/cjs/pds-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/pds-chip.cjs.entry.js +4 -3
- package/dist/cjs/pds-combobox.cjs.entry.js +156 -26
- package/dist/cjs/pds-container.cjs.entry.js +3 -2
- package/dist/cjs/pds-copytext.cjs.entry.js +5 -4
- package/dist/cjs/pds-datepicker.cjs.entry.js +6 -5
- package/dist/cjs/pds-divider.cjs.entry.js +3 -2
- package/dist/cjs/pds-drawer-content.cjs.entry.js +3 -2
- package/dist/cjs/pds-drawer-footer.cjs.entry.js +3 -2
- package/dist/cjs/pds-drawer-header.cjs.entry.js +3 -2
- package/dist/cjs/pds-drawer.cjs.entry.js +4 -3
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +3 -2
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +3 -2
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +16 -7
- package/dist/cjs/pds-filter.cjs.entry.js +4 -3
- package/dist/cjs/pds-filters.cjs.entry.js +3 -2
- package/dist/cjs/pds-icon.cjs.entry.js +27 -3
- package/dist/cjs/pds-image.cjs.entry.js +4 -3
- package/dist/cjs/pds-input.cjs.entry.js +6 -5
- package/dist/cjs/pds-link.cjs.entry.js +5 -4
- package/dist/cjs/pds-loader.cjs.entry.js +4 -3
- package/dist/cjs/pds-modal-content.cjs.entry.js +4 -3
- package/dist/cjs/pds-modal-footer.cjs.entry.js +3 -2
- package/dist/cjs/pds-modal-header.cjs.entry.js +3 -2
- package/dist/cjs/pds-modal.cjs.entry.js +5 -4
- package/dist/cjs/pds-multiselect.cjs.entry.js +6 -5
- package/dist/cjs/pds-popover.cjs.entry.js +58 -11
- package/dist/cjs/pds-progress.cjs.entry.js +4 -3
- package/dist/cjs/pds-property.cjs.entry.js +3 -2
- package/dist/cjs/pds-radio-group.cjs.entry.js +6 -5
- package/dist/cjs/pds-radio.cjs.entry.js +7 -6
- package/dist/cjs/pds-row.cjs.entry.js +4 -3
- package/dist/cjs/pds-select.cjs.entry.js +5 -4
- package/dist/cjs/pds-sortable-item.cjs.entry.js +5 -4
- package/dist/cjs/pds-sortable.cjs.entry.js +4 -3
- package/dist/cjs/pds-switch.cjs.entry.js +7 -6
- package/dist/cjs/pds-tab.cjs.entry.js +13 -1
- package/dist/cjs/pds-table-body.cjs.entry.js +3 -2
- package/dist/cjs/pds-table-cell.cjs.entry.js +4 -3
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +5 -4
- package/dist/cjs/pds-table-head.cjs.entry.js +3 -2
- package/dist/cjs/pds-table-row.cjs.entry.js +3 -2
- package/dist/cjs/pds-table.cjs.entry.js +2 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js +15 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +111 -6
- package/dist/cjs/pds-text.cjs.entry.js +3 -2
- package/dist/cjs/pds-textarea.cjs.entry.js +8 -7
- package/dist/cjs/pds-toast.cjs.entry.js +5 -4
- package/dist/cjs/pds-tooltip.cjs.entry.js +4 -3
- package/dist/cjs/pine-core.cjs.js +3 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/pds-combobox/grouped-options-panel.js +21 -3
- package/dist/collection/components/pds-combobox/pds-combobox.css +42 -13
- package/dist/collection/components/pds-combobox/pds-combobox.js +135 -22
- package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +45 -0
- package/dist/collection/components/pds-container/pds-container.js +1 -1
- package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
- package/dist/collection/components/pds-datepicker/pds-datepicker.css +4 -2
- package/dist/collection/components/pds-datepicker/pds-datepicker.js +2 -2
- package/dist/collection/components/pds-divider/pds-divider.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer.js +2 -2
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +1 -1
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.css +19 -5
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +16 -5
- package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +1 -1
- package/dist/collection/components/pds-filters/pds-filters.js +1 -1
- package/dist/collection/components/pds-image/pds-image.js +2 -2
- package/dist/collection/components/pds-input/pds-input.js +2 -2
- package/dist/collection/components/pds-link/pds-link.js +2 -2
- package/dist/collection/components/pds-loader/pds-loader.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal.js +3 -3
- package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +3 -3
- package/dist/collection/components/pds-popover/pds-popover.js +15 -9
- package/dist/collection/components/pds-progress/pds-progress.js +1 -1
- package/dist/collection/components/pds-property/pds-property.js +1 -1
- package/dist/collection/components/pds-radio/pds-radio.js +3 -3
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
- package/dist/collection/components/pds-row/pds-row.js +1 -1
- package/dist/collection/components/pds-select/pds-select.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
- package/dist/collection/components/pds-switch/pds-switch.js +3 -3
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +11 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +13 -1
- package/dist/collection/components/pds-tabs/pds-tabs.js +111 -7
- package/dist/collection/components/pds-text/pds-text.js +1 -1
- package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
- package/dist/collection/components/pds-toast/pds-toast.js +3 -3
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
- package/dist/collection/global/pine-global.js +6 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/attributes.js +20 -24
- package/dist/collection/utils/css.js +41 -0
- package/dist/collection/utils/keep-hydrated.js +188 -0
- package/dist/docs.json +15 -6
- package/dist/esm/{attributes-myrJDwbR.js → attributes-WXw_I_uJ.js} +21 -24
- package/dist/esm/{index-DxI-61GK.js → index-BJXk71tO.js} +1 -1
- package/dist/esm/{index-bLhIfh0N.js → index-Cw9J31qd.js} +10 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/keep-hydrated-BLG6RDBt.js +190 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/mock-pds-modal.entry.js +3 -2
- package/dist/esm/pds-accordion.entry.js +3 -2
- package/dist/esm/pds-alert.entry.js +2 -1
- package/dist/esm/pds-avatar.entry.js +3 -2
- package/dist/esm/pds-box.entry.js +3 -2
- package/dist/esm/pds-button.entry.js +3 -2
- package/dist/esm/pds-checkbox.entry.js +4 -3
- package/dist/esm/pds-chip.entry.js +4 -3
- package/dist/esm/pds-combobox.entry.js +156 -26
- package/dist/esm/pds-container.entry.js +3 -2
- package/dist/esm/pds-copytext.entry.js +5 -4
- package/dist/esm/pds-datepicker.entry.js +6 -5
- package/dist/esm/pds-divider.entry.js +3 -2
- package/dist/esm/pds-drawer-content.entry.js +3 -2
- package/dist/esm/pds-drawer-footer.entry.js +3 -2
- package/dist/esm/pds-drawer-header.entry.js +3 -2
- package/dist/esm/pds-drawer.entry.js +4 -3
- package/dist/esm/pds-dropdown-menu-item.entry.js +3 -2
- package/dist/esm/pds-dropdown-menu-separator.entry.js +3 -2
- package/dist/esm/pds-dropdown-menu.entry.js +16 -7
- package/dist/esm/pds-filter.entry.js +4 -3
- package/dist/esm/pds-filters.entry.js +3 -2
- package/dist/esm/pds-icon.entry.js +27 -3
- package/dist/esm/pds-image.entry.js +4 -3
- package/dist/esm/pds-input.entry.js +6 -5
- package/dist/esm/pds-link.entry.js +5 -4
- package/dist/esm/pds-loader.entry.js +4 -3
- package/dist/esm/pds-modal-content.entry.js +4 -3
- package/dist/esm/pds-modal-footer.entry.js +3 -2
- package/dist/esm/pds-modal-header.entry.js +3 -2
- package/dist/esm/pds-modal.entry.js +5 -4
- package/dist/esm/pds-multiselect.entry.js +6 -5
- package/dist/esm/pds-popover.entry.js +58 -11
- package/dist/esm/pds-progress.entry.js +4 -3
- package/dist/esm/pds-property.entry.js +3 -2
- package/dist/esm/pds-radio-group.entry.js +6 -5
- package/dist/esm/pds-radio.entry.js +7 -6
- package/dist/esm/pds-row.entry.js +4 -3
- package/dist/esm/pds-select.entry.js +5 -4
- package/dist/esm/pds-sortable-item.entry.js +5 -4
- package/dist/esm/pds-sortable.entry.js +4 -3
- package/dist/esm/pds-switch.entry.js +7 -6
- package/dist/esm/pds-tab.entry.js +13 -1
- package/dist/esm/pds-table-body.entry.js +3 -2
- package/dist/esm/pds-table-cell.entry.js +4 -3
- package/dist/esm/pds-table-head-cell.entry.js +5 -4
- package/dist/esm/pds-table-head.entry.js +3 -2
- package/dist/esm/pds-table-row.entry.js +3 -2
- package/dist/esm/pds-table.entry.js +2 -1
- package/dist/esm/pds-tabpanel.entry.js +15 -2
- package/dist/esm/pds-tabs.entry.js +111 -6
- package/dist/esm/pds-text.entry.js +3 -2
- package/dist/esm/pds-textarea.entry.js +8 -7
- package/dist/esm/pds-toast.entry.js +5 -4
- package/dist/esm/pds-tooltip.entry.js +4 -3
- package/dist/esm/pine-core.js +4 -3
- package/dist/esm-es5/attributes-WXw_I_uJ.js +1 -0
- package/dist/esm-es5/{index-bLhIfh0N.js → index-Cw9J31qd.js} +2 -2
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/keep-hydrated-BLG6RDBt.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
- 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-box.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-combobox.entry.js +2 -2
- package/dist/esm-es5/pds-container.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-datepicker.entry.js +1 -1
- package/dist/esm-es5/pds-divider.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-content.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-footer.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-header.entry.js +1 -1
- package/dist/esm-es5/pds-drawer.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-icon.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-link.entry.js +1 -1
- package/dist/esm-es5/pds-loader.entry.js +1 -1
- package/dist/esm-es5/pds-modal-content.entry.js +1 -1
- package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
- package/dist/esm-es5/pds-modal-header.entry.js +1 -1
- package/dist/esm-es5/pds-modal.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-progress.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-radio.entry.js +1 -1
- package/dist/esm-es5/pds-row.entry.js +1 -1
- package/dist/esm-es5/pds-select.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +2 -2
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-tab.entry.js +1 -1
- package/dist/esm-es5/pds-table-body.entry.js +1 -1
- package/dist/esm-es5/pds-table-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head.entry.js +1 -1
- package/dist/esm-es5/pds-table-row.entry.js +1 -1
- package/dist/esm-es5/pds-table.entry.js +1 -1
- package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js +1 -1
- package/dist/esm-es5/pds-text.entry.js +1 -1
- package/dist/esm-es5/pds-textarea.entry.js +1 -1
- package/dist/esm-es5/pds-toast.entry.js +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/pine-core/index.esm.js +1 -1
- package/dist/pine-core/p-0092444c.system.entry.js +1 -0
- package/dist/pine-core/p-01aa382c.system.entry.js +1 -0
- package/dist/pine-core/p-01c9b8f3.entry.js +1 -0
- package/dist/pine-core/p-02088776.entry.js +1 -0
- package/dist/pine-core/p-049f126a.entry.js +1 -0
- package/dist/pine-core/p-080cb087.system.entry.js +1 -0
- package/dist/pine-core/p-0913f696.system.entry.js +1 -0
- package/dist/pine-core/p-0a84d220.entry.js +1 -0
- package/dist/pine-core/{p-f3188c57.system.entry.js → p-0b71ecb6.system.entry.js} +2 -2
- package/dist/pine-core/p-1437585e.system.entry.js +1 -0
- package/dist/pine-core/p-1ee86d87.system.entry.js +1 -0
- package/dist/pine-core/p-208c7dbf.entry.js +1 -0
- package/dist/pine-core/p-258770cf.system.entry.js +1 -0
- package/dist/pine-core/p-258d5e83.entry.js +1 -0
- package/dist/pine-core/p-26642718.entry.js +1 -0
- package/dist/pine-core/p-2ac2457b.system.entry.js +1 -0
- package/dist/pine-core/p-2cb5483a.system.entry.js +1 -0
- package/dist/pine-core/p-341c38f1.system.entry.js +1 -0
- package/dist/pine-core/p-3a959459.system.entry.js +1 -0
- package/dist/pine-core/p-3c27088f.system.entry.js +1 -0
- package/dist/pine-core/p-432d5ec7.entry.js +1 -0
- package/dist/pine-core/p-4849fda7.entry.js +1 -0
- package/dist/pine-core/p-4d03d1e2.system.entry.js +1 -0
- package/dist/pine-core/p-4de8f333.entry.js +1 -0
- package/dist/pine-core/p-4f94b4f1.system.entry.js +1 -0
- package/dist/pine-core/p-4fa63723.system.entry.js +1 -0
- package/dist/pine-core/p-4fd454f6.entry.js +1 -0
- package/dist/pine-core/p-5442d983.system.entry.js +1 -0
- package/dist/pine-core/p-550c2fd3.entry.js +1 -0
- package/dist/pine-core/p-55224683.entry.js +1 -0
- package/dist/pine-core/p-57a2f927.entry.js +1 -0
- package/dist/pine-core/p-5870b092.system.entry.js +1 -0
- package/dist/pine-core/p-5c90091e.system.entry.js +1 -0
- package/dist/pine-core/p-602c197f.entry.js +1 -0
- package/dist/pine-core/p-646afbca.system.entry.js +1 -0
- package/dist/pine-core/p-6bf853c9.entry.js +1 -0
- package/dist/pine-core/p-6d3610f9.entry.js +1 -0
- package/dist/pine-core/p-6eec23a7.system.entry.js +1 -0
- package/dist/pine-core/p-72865997.entry.js +1 -0
- package/dist/pine-core/p-73eb47fa.entry.js +1 -0
- package/dist/pine-core/p-75ee0403.entry.js +1 -0
- package/dist/pine-core/p-77395d62.system.entry.js +1 -0
- package/dist/pine-core/p-7a287635.system.entry.js +1 -0
- package/dist/pine-core/p-7a5b21d2.system.entry.js +1 -0
- package/dist/pine-core/p-7bf6563a.system.entry.js +1 -0
- package/dist/pine-core/p-7f367db4.system.entry.js +1 -0
- package/dist/pine-core/p-8191498f.system.entry.js +1 -0
- package/dist/pine-core/p-82cf4ec6.entry.js +1 -0
- package/dist/pine-core/p-84e9b7da.entry.js +1 -0
- package/dist/pine-core/p-86040cac.system.entry.js +1 -0
- package/dist/pine-core/p-875b0436.system.entry.js +1 -0
- package/dist/pine-core/p-8c8cc079.system.entry.js +1 -0
- package/dist/pine-core/p-8cc302aa.system.entry.js +1 -0
- package/dist/pine-core/p-8d292b48.entry.js +1 -0
- package/dist/pine-core/p-8f531063.entry.js +1 -0
- package/dist/pine-core/p-9109b90a.entry.js +1 -0
- package/dist/pine-core/p-94593f20.system.entry.js +1 -0
- package/dist/pine-core/p-9880d251.system.entry.js +1 -0
- package/dist/pine-core/p-99459e27.entry.js +1 -0
- package/dist/pine-core/p-9a0083dd.system.entry.js +1 -0
- package/dist/pine-core/p-9ab95438.entry.js +1 -0
- package/dist/pine-core/{p-f83fe305.entry.js → p-9af131d6.system.entry.js} +1 -1
- package/dist/pine-core/p-9dcd2cdb.entry.js +1 -0
- package/dist/pine-core/p-9e0f920a.system.entry.js +1 -0
- package/dist/pine-core/p-BGLP3keB.js +1 -0
- package/dist/pine-core/p-BLG6RDBt.js +1 -0
- package/dist/pine-core/p-BR5nujVX.system.js +1 -0
- package/dist/pine-core/p-CGRdQc49.system.js +2 -0
- package/dist/pine-core/p-CmSJytt1.js +2 -0
- package/dist/pine-core/p-CuSNnuFu.system.js +1 -0
- package/dist/pine-core/p-Cy8cvR7I.system.js +1 -0
- package/dist/pine-core/p-XW4H0W6i.system.js +1 -0
- package/dist/pine-core/p-a0960b3d.system.entry.js +1 -0
- package/dist/pine-core/p-a1230a74.system.entry.js +1 -0
- package/dist/pine-core/p-a19cd59c.entry.js +1 -0
- package/dist/pine-core/p-a3735199.entry.js +1 -0
- package/dist/pine-core/p-a826f290.entry.js +1 -0
- package/dist/pine-core/p-a85a6ab9.system.entry.js +1 -0
- package/dist/pine-core/p-acce8eb2.entry.js +1 -0
- package/dist/pine-core/p-b1548a20.entry.js +1 -0
- package/dist/pine-core/p-b69f04b7.entry.js +1 -0
- package/dist/pine-core/p-b75b0d09.system.entry.js +1 -0
- package/dist/pine-core/p-b8e8a4ce.entry.js +1 -0
- package/dist/pine-core/{p-09d10e9e.entry.js → p-b914dde8.entry.js} +2 -2
- package/dist/pine-core/p-ba1f65c2.system.entry.js +1 -0
- package/dist/pine-core/p-bb68431a.entry.js +1 -0
- package/dist/pine-core/p-bd67156b.system.entry.js +1 -0
- package/dist/pine-core/p-beb23781.entry.js +1 -0
- package/dist/pine-core/p-bf30dec0.entry.js +1 -0
- package/dist/pine-core/p-bf7ee3b7.system.entry.js +1 -0
- package/dist/pine-core/p-c5c9ed36.system.entry.js +1 -0
- package/dist/pine-core/p-cb6a3e4c.system.entry.js +1 -0
- package/dist/pine-core/p-cde8eb81.entry.js +1 -0
- package/dist/pine-core/p-cf08a6dd.system.entry.js +1 -0
- package/dist/pine-core/p-cfd012d4.entry.js +1 -0
- package/dist/pine-core/p-d2c91e7a.entry.js +1 -0
- package/dist/pine-core/p-da103a54.system.entry.js +1 -0
- package/dist/pine-core/p-db17c626.system.entry.js +1 -0
- package/dist/pine-core/p-df539c42.system.entry.js +3 -0
- package/dist/pine-core/p-e0917a26.entry.js +1 -0
- package/dist/pine-core/p-e5420660.entry.js +1 -0
- package/dist/pine-core/p-e800a2b1.entry.js +1 -0
- package/dist/pine-core/p-e836a041.entry.js +1 -0
- package/dist/pine-core/p-e8cb76e8.entry.js +1 -0
- package/dist/pine-core/p-ea4d4741.system.entry.js +1 -0
- package/dist/pine-core/p-eb5465ce.entry.js +1 -0
- package/dist/pine-core/{p-48ab7da8.system.entry.js → p-ebd0bff2.entry.js} +1 -1
- package/dist/pine-core/p-ec5428fb.entry.js +1 -0
- package/dist/pine-core/p-ed4b979e.entry.js +1 -0
- package/dist/pine-core/p-f029b7da.system.entry.js +1 -0
- package/dist/pine-core/p-f0d24298.system.entry.js +1 -0
- package/dist/pine-core/p-f1702281.entry.js +1 -0
- package/dist/pine-core/p-f1f17940.entry.js +2 -0
- package/dist/pine-core/p-f25e4731.system.entry.js +1 -0
- package/dist/pine-core/p-f2c253d8.entry.js +1 -0
- package/dist/pine-core/p-f77905aa.system.entry.js +1 -0
- package/dist/pine-core/p-fc25b956.system.entry.js +1 -0
- package/dist/pine-core/p-ff3de72e.entry.js +1 -0
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/types/components/pds-combobox/combobox-interface.d.ts +8 -1
- package/dist/types/components/pds-combobox/grouped-options-panel.d.ts +7 -1
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +31 -0
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +4 -0
- package/dist/types/components/pds-tabs/pds-tab/pds-tab.d.ts +3 -0
- package/dist/types/components/pds-tabs/pds-tabpanel/pds-tabpanel.d.ts +3 -0
- package/dist/types/components/pds-tabs/pds-tabs.d.ts +14 -2
- package/dist/types/components.d.ts +5 -5
- package/dist/types/global/pine-global.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/attributes.d.ts +2 -6
- package/dist/types/utils/css.d.ts +7 -0
- package/dist/types/utils/keep-hydrated.d.ts +56 -0
- package/dist/vscode.html-data.json +2 -2
- package/hydrate/index.js +673 -144
- package/hydrate/index.mjs +673 -144
- package/package.json +2 -2
- package/dist/esm-es5/attributes-myrJDwbR.js +0 -1
- package/dist/pine-core/p-085c92aa.system.entry.js +0 -1
- package/dist/pine-core/p-0bfe152a.entry.js +0 -1
- package/dist/pine-core/p-0ce3bcf2.system.entry.js +0 -1
- package/dist/pine-core/p-1dd395d8.system.entry.js +0 -1
- package/dist/pine-core/p-1feace6a.system.entry.js +0 -1
- package/dist/pine-core/p-2126b4e4.system.entry.js +0 -1
- package/dist/pine-core/p-21abd971.entry.js +0 -1
- package/dist/pine-core/p-2212224a.system.entry.js +0 -1
- package/dist/pine-core/p-23044953.system.entry.js +0 -1
- package/dist/pine-core/p-26d8c4f7.system.entry.js +0 -1
- package/dist/pine-core/p-2806fa55.system.entry.js +0 -1
- package/dist/pine-core/p-28abc253.system.entry.js +0 -1
- package/dist/pine-core/p-2dd3ab72.entry.js +0 -1
- package/dist/pine-core/p-30784d57.entry.js +0 -1
- package/dist/pine-core/p-3088cd66.entry.js +0 -1
- package/dist/pine-core/p-3add97f7.system.entry.js +0 -1
- package/dist/pine-core/p-3e829372.system.entry.js +0 -1
- package/dist/pine-core/p-40928521.system.entry.js +0 -1
- package/dist/pine-core/p-40ebfe59.system.entry.js +0 -1
- package/dist/pine-core/p-44cbdf94.system.entry.js +0 -1
- package/dist/pine-core/p-468f0dab.system.entry.js +0 -1
- package/dist/pine-core/p-4765f7f0.entry.js +0 -1
- package/dist/pine-core/p-478e69d1.entry.js +0 -1
- package/dist/pine-core/p-4af5f936.entry.js +0 -1
- package/dist/pine-core/p-4d3f5098.system.entry.js +0 -1
- package/dist/pine-core/p-5064f007.system.entry.js +0 -1
- package/dist/pine-core/p-5081a96f.entry.js +0 -1
- package/dist/pine-core/p-517e04f6.entry.js +0 -1
- package/dist/pine-core/p-51eb36f4.system.entry.js +0 -3
- package/dist/pine-core/p-5527e825.system.entry.js +0 -1
- package/dist/pine-core/p-563ba784.entry.js +0 -1
- package/dist/pine-core/p-5bf397ca.entry.js +0 -1
- package/dist/pine-core/p-5c7c2ffa.entry.js +0 -1
- package/dist/pine-core/p-5db91557.entry.js +0 -1
- package/dist/pine-core/p-60393d52.entry.js +0 -1
- package/dist/pine-core/p-60a15bf7.system.entry.js +0 -1
- package/dist/pine-core/p-60e687ac.entry.js +0 -1
- package/dist/pine-core/p-61ae5a4b.system.entry.js +0 -1
- package/dist/pine-core/p-62377463.system.entry.js +0 -1
- package/dist/pine-core/p-62974869.entry.js +0 -1
- package/dist/pine-core/p-63644dbd.entry.js +0 -1
- package/dist/pine-core/p-686b526d.entry.js +0 -1
- package/dist/pine-core/p-69f60432.system.entry.js +0 -1
- package/dist/pine-core/p-6d6079f5.entry.js +0 -1
- package/dist/pine-core/p-6eb2070a.entry.js +0 -1
- package/dist/pine-core/p-7386bbdf.system.entry.js +0 -1
- package/dist/pine-core/p-74b1b841.entry.js +0 -1
- package/dist/pine-core/p-74d93179.system.entry.js +0 -1
- package/dist/pine-core/p-7647b568.system.entry.js +0 -1
- package/dist/pine-core/p-7698fcfa.system.entry.js +0 -1
- package/dist/pine-core/p-778a0228.system.entry.js +0 -1
- package/dist/pine-core/p-77e12080.system.entry.js +0 -1
- package/dist/pine-core/p-7a9c687d.system.entry.js +0 -1
- package/dist/pine-core/p-7fbb7037.entry.js +0 -1
- package/dist/pine-core/p-85d77b55.entry.js +0 -1
- package/dist/pine-core/p-86978a51.entry.js +0 -1
- package/dist/pine-core/p-88728d46.system.entry.js +0 -1
- package/dist/pine-core/p-893b02b7.entry.js +0 -1
- package/dist/pine-core/p-8d8512ae.system.entry.js +0 -1
- package/dist/pine-core/p-93341083.system.entry.js +0 -1
- package/dist/pine-core/p-9452adc4.entry.js +0 -1
- package/dist/pine-core/p-95649e1c.entry.js +0 -1
- package/dist/pine-core/p-977db8b2.entry.js +0 -1
- package/dist/pine-core/p-97c04215.system.entry.js +0 -1
- package/dist/pine-core/p-9903eb37.system.entry.js +0 -1
- package/dist/pine-core/p-9b18314c.entry.js +0 -1
- package/dist/pine-core/p-9ca1b473.system.entry.js +0 -1
- package/dist/pine-core/p-BwmzR47K.system.js +0 -1
- package/dist/pine-core/p-CrXTJmBd.system.js +0 -2
- package/dist/pine-core/p-DO9XKAkv.system.js +0 -1
- package/dist/pine-core/p-G3CPPJEt.system.js +0 -1
- package/dist/pine-core/p-a0f8a61a.entry.js +0 -1
- package/dist/pine-core/p-a232dc19.entry.js +0 -1
- package/dist/pine-core/p-a44316ad.entry.js +0 -1
- package/dist/pine-core/p-a8884f2d.system.entry.js +0 -1
- package/dist/pine-core/p-a8f23db0.system.entry.js +0 -1
- package/dist/pine-core/p-a9ea3c9d.entry.js +0 -1
- package/dist/pine-core/p-ae125139.entry.js +0 -1
- package/dist/pine-core/p-af9bce53.entry.js +0 -1
- package/dist/pine-core/p-b15777a2.entry.js +0 -1
- package/dist/pine-core/p-b2901e60.system.entry.js +0 -1
- package/dist/pine-core/p-b82a0693.entry.js +0 -1
- package/dist/pine-core/p-b852c82b.system.entry.js +0 -1
- package/dist/pine-core/p-b979105e.entry.js +0 -1
- package/dist/pine-core/p-bLhIfh0N.js +0 -2
- package/dist/pine-core/p-bb9d158c.system.entry.js +0 -1
- package/dist/pine-core/p-bc7ba7d3.system.entry.js +0 -1
- package/dist/pine-core/p-bd1bdb07.system.entry.js +0 -1
- package/dist/pine-core/p-c497d6c6.entry.js +0 -1
- package/dist/pine-core/p-c971cdb3.entry.js +0 -1
- package/dist/pine-core/p-cbae27a4.system.entry.js +0 -1
- package/dist/pine-core/p-cdd21cbe.entry.js +0 -1
- package/dist/pine-core/p-ce74a47e.entry.js +0 -2
- package/dist/pine-core/p-cf4758a7.entry.js +0 -1
- package/dist/pine-core/p-cfc9d4a8.entry.js +0 -1
- package/dist/pine-core/p-d1b0b372.entry.js +0 -1
- package/dist/pine-core/p-d6002d5b.entry.js +0 -1
- package/dist/pine-core/p-d8a6298c.system.entry.js +0 -1
- package/dist/pine-core/p-d933227e.system.entry.js +0 -1
- package/dist/pine-core/p-d962fc84.entry.js +0 -1
- package/dist/pine-core/p-da7a7cca.entry.js +0 -1
- package/dist/pine-core/p-daaf653f.system.entry.js +0 -1
- package/dist/pine-core/p-dafff7dd.system.entry.js +0 -1
- package/dist/pine-core/p-ea9468fb.entry.js +0 -1
- package/dist/pine-core/p-ed22da0c.system.entry.js +0 -1
- package/dist/pine-core/p-f0632690.system.entry.js +0 -1
- package/dist/pine-core/p-f1c6b23a.entry.js +0 -1
- package/dist/pine-core/p-f279f435.system.entry.js +0 -1
- package/dist/pine-core/p-f33d6417.entry.js +0 -1
- package/dist/pine-core/p-f832dcd9.entry.js +0 -1
- package/dist/pine-core/p-fe09b6fb.system.entry.js +0 -1
- package/dist/pine-core/p-myrJDwbR.js +0 -1
- /package/dist/esm-es5/{index-DxI-61GK.js → index-BJXk71tO.js} +0 -0
- /package/dist/pine-core/{p-DxI-61GK.js → p-BJXk71tO.js} +0 -0
- /package/dist/pine-core/{p-CnO10OxH.system.js → p-n3_ytl_p.system.js} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { u as unwrapReconnectedContent } from './reconnected-content-RFpTWV6r.js';
|
|
3
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
3
4
|
|
|
4
5
|
const pdsModalFooterCss = () => `pds-modal-footer{display:block;width:100%}.pds-modal__footer{width:100%}`;
|
|
5
6
|
|
|
@@ -12,7 +13,7 @@ const PdsModalFooter = class {
|
|
|
12
13
|
unwrapReconnectedContent(this.el.querySelector('.pds-modal__footer'), '.pds-modal__footer');
|
|
13
14
|
}
|
|
14
15
|
render() {
|
|
15
|
-
return (h("footer", { key: '
|
|
16
|
+
return (h("footer", { key: '030153b84f1ea1cb133c9ccec3ad86583995974f', class: "pds-modal__footer" }, h("slot", { key: '3a479e7047f3e845a65c37d60539648c8ff78602' })));
|
|
16
17
|
}
|
|
17
18
|
get el() { return getElement(this); }
|
|
18
19
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { u as unwrapReconnectedContent } from './reconnected-content-RFpTWV6r.js';
|
|
3
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
3
4
|
|
|
4
5
|
const pdsModalHeaderCss = () => `pds-modal-header{display:block;width:100%}.pds-modal__header{width:100%}`;
|
|
5
6
|
|
|
@@ -12,7 +13,7 @@ const PdsModalHeader = class {
|
|
|
12
13
|
unwrapReconnectedContent(this.el.querySelector('.pds-modal__header'), '.pds-modal__header');
|
|
13
14
|
}
|
|
14
15
|
render() {
|
|
15
|
-
return (h("header", { key: '
|
|
16
|
+
return (h("header", { key: 'ee3ac5fb9b00a943aa86c3434ea07291b74d776c', class: "pds-modal__header" }, h("slot", { key: '0b0f7ff257635723099c536648a826be8dcc05e7' })));
|
|
16
17
|
}
|
|
17
18
|
get el() { return getElement(this); }
|
|
18
19
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { a as closest } from './closest-DHPzKMVS.js';
|
|
3
3
|
import { u as unwrapReconnectedContent } from './reconnected-content-RFpTWV6r.js';
|
|
4
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
4
5
|
|
|
5
6
|
const pdsModalCss = () => `.pds-modal__backdrop{-ms-flex-align:start;align-items:flex-start;background-color:rgba(0, 0, 0, 0.4);border:0;display:-ms-flexbox;display:flex;height:100%;inset:0;-ms-flex-pack:center;justify-content:center;margin:0;max-height:100%;max-width:100%;opacity:0;padding:0;position:fixed;-webkit-transition:opacity var(--pine-motion-duration-base) var(--pine-motion-easing-in), visibility var(--pine-motion-duration-base) var(--pine-motion-easing-in);transition:opacity var(--pine-motion-duration-base) var(--pine-motion-easing-in), visibility var(--pine-motion-duration-base) var(--pine-motion-easing-in);visibility:hidden;width:100%;z-index:var(--pine-z-index-modal)}@supports ((-webkit-backdrop-filter: blur(3px)) or (backdrop-filter: blur(3px))){.pds-modal__backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}}pds-modal .pds-modal__backdrop{z-index:var(--pine-z-index-priority)}.pds-modal__backdrop::-webkit-backdrop{background:transparent}.pds-modal__backdrop::-ms-backdrop{background:transparent}.pds-modal__backdrop::backdrop{background:transparent}.pds-modal__backdrop[aria-modal=false]{overflow:auto;-ms-scroll-chaining:none;overscroll-behavior:contain}@supports ((-webkit-backdrop-filter: blur(3px)) or (backdrop-filter: blur(3px))){.pds-modal__backdrop[aria-modal=false]{-webkit-backdrop-filter:none;backdrop-filter:none}.pds-modal__backdrop[aria-modal=false]::before{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);content:"";inset:0;position:fixed;z-index:-1}}.pds-modal__backdrop.open{opacity:1;-webkit-transition-timing-function:var(--pine-motion-easing-out);transition-timing-function:var(--pine-motion-easing-out);visibility:visible}.pds-modal{background:var(--pine-color-background-overlay);border-radius:var(--pine-dimension-sm);-webkit-box-shadow:var(--pine-box-shadow-400);box-shadow:var(--pine-box-shadow-400);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:var(--pine-dimension-md);max-height:none;width:100%}.pds-modal.pds-modal--scrollable{max-height:calc(100vh - (5vh + 96px))}@supports (height: 100dvh){.pds-modal.pds-modal--scrollable{max-height:calc(100dvh - (5dvh + 96px))}}@media (min-width: 992px){.pds-modal{-webkit-margin-before:6vh;margin-block-start:6vh}@supports (height: 100dvh){.pds-modal{-webkit-margin-before:6dvh;margin-block-start:6dvh}}}@media (min-width: 1200px){.pds-modal{-webkit-margin-before:8vh;margin-block-start:8vh}@supports (height: 100dvh){.pds-modal{-webkit-margin-before:8dvh;margin-block-start:8dvh}}}.pds-modal--sm{max-width:520px}.pds-modal--md{max-width:700px}.pds-modal--lg{max-width:900px}.pds-modal--custom{max-width:var(--pds-modal-max-width, 700px)}.pds-modal--fullscreen{border-radius:0;height:100%;margin:0;max-height:100vh;max-width:100%}@supports (height: 100dvh){.pds-modal--fullscreen{max-height:100dvh}}.pds-modal--fullscreen.pds-modal--scrollable{max-height:100vh}@supports (height: 100dvh){.pds-modal--fullscreen.pds-modal--scrollable{max-height:100dvh}}.pds-modal--fullscreen .pds-modal-content{-ms-flex:1;flex:1}.pds-modal--scrollable pds-modal-content{-webkit-border-after:1px solid transparent;border-block-end:1px solid transparent;-webkit-border-before:1px solid transparent;border-block-start:1px solid transparent;overflow-y:auto}.pds-modal:not(.pds-modal--scrollable) pds-modal-content{overflow-y:visible}`;
|
|
6
7
|
|
|
@@ -522,14 +523,14 @@ const PdsModal = class {
|
|
|
522
523
|
}
|
|
523
524
|
render() {
|
|
524
525
|
const [sizeClass = 'md', customSize] = this.resolveSize();
|
|
525
|
-
return (h("dialog", { key: '
|
|
526
|
+
return (h("dialog", { key: '12ea38928ea287f16ffa33e246caa2bfde6fc130', class: {
|
|
526
527
|
'pds-modal__backdrop': true,
|
|
527
528
|
'open': this.open
|
|
528
|
-
}, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: '
|
|
529
|
+
}, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: 'b9d83cabda56c315d9115f7030e3bdbcf923ec08', class: {
|
|
529
530
|
'pds-modal': true,
|
|
530
531
|
[`pds-modal--${sizeClass}`]: true,
|
|
531
532
|
'pds-modal--scrollable': this.scrollable
|
|
532
|
-
}, style: customSize !== undefined ? { '--pds-modal-max-width': customSize } : undefined, part: "modal" }, h("slot", { key: '
|
|
533
|
+
}, style: customSize !== undefined ? { '--pds-modal-max-width': customSize } : undefined, part: "modal" }, h("slot", { key: '3c5edad1482cb124e503197adf411890573b076d' }))));
|
|
533
534
|
}
|
|
534
535
|
get el() { return getElement(this); }
|
|
535
536
|
static get watchers() { return {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift, b as size } from './floating-ui.dom-BPqJgIq6.js';
|
|
3
3
|
import { c as cancelDebouncedEvent, d as debounceEvent, f as flushDebouncedEvent } from './utils-OYK5-nwe.js';
|
|
4
4
|
import { i as isSpecTest, a as assignDescription, m as messageId } from './form-BuRbS7Hp.js';
|
|
5
|
-
import { e as enlarge, b as danger } from './index-
|
|
5
|
+
import { e as enlarge, b as danger } from './index-BJXk71tO.js';
|
|
6
6
|
import { f as formatMessage, p as pluralize } from './i18n-format-BJgZHCWe.js';
|
|
7
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
7
8
|
|
|
8
9
|
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-medium);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-subtle);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{pointer-events:none;width:100%}.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}`;
|
|
9
10
|
|
|
@@ -1230,10 +1231,10 @@ const PdsMultiselect = class {
|
|
|
1230
1231
|
}
|
|
1231
1232
|
render() {
|
|
1232
1233
|
const hasSelections = this.selectedItems.length > 0;
|
|
1233
|
-
return (h(Host, { key: '
|
|
1234
|
+
return (h(Host, { key: '0ef6791666063e0d951d28f980b3bca89cf24287', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: 'f0ccbabfbd2dcf38f6df52f73f2152eb4bd2828e', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (h("label", { key: '88e01c744644ce1f75c8d5b71dfaeeb79d1ef7df', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
|
|
1234
1235
|
'pds-multiselect__label': true,
|
|
1235
1236
|
'visually-hidden': this.hideLabel,
|
|
1236
|
-
} }, this.label)), h("div", { key: '
|
|
1237
|
+
} }, this.label)), h("div", { key: '0bf4a3b1378ff18e6d6b449507ebbae1bfb279e4', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.slottedTriggerEl ? (h("slot", { name: "trigger" })) : this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (h("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
|
|
1237
1238
|
'pds-multiselect__trigger': true,
|
|
1238
1239
|
'pds-multiselect__trigger--open': this.isOpen,
|
|
1239
1240
|
'pds-multiselect__trigger--disabled': this.disabled,
|
|
@@ -1249,7 +1250,7 @@ const PdsMultiselect = class {
|
|
|
1249
1250
|
}, 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 }, h("span", { class: {
|
|
1250
1251
|
'pds-multiselect__trigger-text': true,
|
|
1251
1252
|
'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
|
|
1252
|
-
} }, this.getTriggerText()), h("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), h("span", { key: '
|
|
1253
|
+
} }, this.getTriggerText()), h("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), h("span", { key: '5202a263b219d06891bda739f98db0162bf33c48', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (h("p", { key: '47f7b55863c5b72d41c4ef1893b9364988fc0b56', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (h("p", { key: '3930dc30b2df7179d178873c470aa1da0f6f258c', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: 'e31d55db3fd0173c56faa23e34e0be92371983d4', icon: danger, size: "small" }), this.errorMessage)), h("div", { key: 'b3326cc1a5e5886be05327a066e0a7ddd36ccefc', style: { display: 'none' } }, h("slot", { key: '91559cb9510abce6084348a17516460fd8545ef7' })))));
|
|
1253
1254
|
}
|
|
1254
1255
|
static get formAssociated() { return true; }
|
|
1255
1256
|
get el() { return getElement(this); }
|
|
@@ -1,7 +1,50 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { c as containsComposed } from './closest-DHPzKMVS.js';
|
|
3
3
|
import { r as restoreReflectedDefault } from './reflected-attribute-default-t3idJwV0.js';
|
|
4
|
-
import { s as setAttributesIfChanged } from './attributes-
|
|
4
|
+
import { s as setAttributesIfChanged } from './attributes-WXw_I_uJ.js';
|
|
5
|
+
import { l as limitRestores } from './keep-hydrated-BLG6RDBt.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Escapes a string so it's safe to interpolate into a CSS identifier (an id selector like `#${id}`)
|
|
9
|
+
* or into CSS text (a stylesheet rule referencing that id). Equivalent to the native `CSS.escape`,
|
|
10
|
+
* reimplemented because Stencil's unit-test DOM (`newSpecPage`'s mock-doc) doesn't provide it.
|
|
11
|
+
* @param value - The string to escape, e.g. a consumer-supplied id
|
|
12
|
+
*/
|
|
13
|
+
const cssEscape = (value) => {
|
|
14
|
+
const string = String(value);
|
|
15
|
+
const length = string.length;
|
|
16
|
+
const firstCodeUnit = string.charCodeAt(0);
|
|
17
|
+
let result = '';
|
|
18
|
+
for (let index = 0; index < length; index++) {
|
|
19
|
+
const codeUnit = string.charCodeAt(index);
|
|
20
|
+
if (codeUnit === 0x0000) {
|
|
21
|
+
result += '�';
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
if ((codeUnit >= 0x0001 && codeUnit <= 0x001f) ||
|
|
25
|
+
codeUnit === 0x007f ||
|
|
26
|
+
(index === 0 && codeUnit >= 0x0030 && codeUnit <= 0x0039) ||
|
|
27
|
+
(index === 1 && codeUnit >= 0x0030 && codeUnit <= 0x0039 && firstCodeUnit === 0x002d)) {
|
|
28
|
+
result += `\\${codeUnit.toString(16)} `;
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
if (index === 0 && length === 1 && codeUnit === 0x002d) {
|
|
32
|
+
result += `\\${string.charAt(index)}`;
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
if (codeUnit >= 0x0080 ||
|
|
36
|
+
codeUnit === 0x002d ||
|
|
37
|
+
codeUnit === 0x005f ||
|
|
38
|
+
(codeUnit >= 0x0030 && codeUnit <= 0x0039) ||
|
|
39
|
+
(codeUnit >= 0x0041 && codeUnit <= 0x005a) ||
|
|
40
|
+
(codeUnit >= 0x0061 && codeUnit <= 0x007a)) {
|
|
41
|
+
result += string.charAt(index);
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
result += `\\${string.charAt(index)}`;
|
|
45
|
+
}
|
|
46
|
+
return result;
|
|
47
|
+
};
|
|
5
48
|
|
|
6
49
|
const pdsPopoverCss = () => `:host{--sizing-max-width-default:352px;display:inline-block}:host .pds-popover__trigger-wrapper{display:inline-block}:host .pds-popover__content-slot-wrapper{display:none}`;
|
|
7
50
|
|
|
@@ -168,7 +211,8 @@ const PdsPopover = class {
|
|
|
168
211
|
this.triggerObserver = null;
|
|
169
212
|
if (this.triggerEl == null || typeof MutationObserver === 'undefined')
|
|
170
213
|
return;
|
|
171
|
-
|
|
214
|
+
// Capped against a script that keeps undoing it; opening and closing still write it directly.
|
|
215
|
+
this.triggerObserver = new MutationObserver(limitRestores(() => this.linkTriggerToPortal(), 'pds-popover: stopped restoring its trigger ARIA, as another script keeps changing it. It may be wrong until the popover opens or closes.', this.triggerEl));
|
|
172
216
|
this.triggerObserver.observe(this.triggerEl, {
|
|
173
217
|
attributes: true,
|
|
174
218
|
attributeFilter: ['aria-expanded', 'aria-controls'],
|
|
@@ -178,9 +222,9 @@ const PdsPopover = class {
|
|
|
178
222
|
// This mirrors the native Popover API's accessibility behavior
|
|
179
223
|
linkTriggerToPortal() {
|
|
180
224
|
if (this.triggerEl == null || this.portalEl == null)
|
|
181
|
-
return;
|
|
225
|
+
return false;
|
|
182
226
|
// Skips values already in place, so the trigger observer's own callback doesn't loop.
|
|
183
|
-
setAttributesIfChanged(this.triggerEl, { 'aria-expanded': String(this.active), 'aria-controls': this.portalEl.id });
|
|
227
|
+
return setAttributesIfChanged(this.triggerEl, { 'aria-expanded': String(this.active), 'aria-controls': this.portalEl.id });
|
|
184
228
|
}
|
|
185
229
|
// componentDidLoad doesn't run again when a popover comes back, so rebuild whatever
|
|
186
230
|
// disconnectedCallback tore down. Each step is a no-op when nothing was.
|
|
@@ -287,22 +331,25 @@ const PdsPopover = class {
|
|
|
287
331
|
if (!this.portalEl)
|
|
288
332
|
return;
|
|
289
333
|
const portalId = this.portalEl.id;
|
|
334
|
+
// componentId comes from the consumer, so it can carry characters cssEscape needs to
|
|
335
|
+
// neutralize before the id is used as a selector or interpolated into stylesheet text.
|
|
336
|
+
const escapedPortalId = cssEscape(portalId);
|
|
290
337
|
// Check if style element already exists
|
|
291
|
-
const existingStyle = document.querySelector(`style[data-pds-popover-focus="${
|
|
338
|
+
const existingStyle = document.querySelector(`style[data-pds-popover-focus="${escapedPortalId}"]`);
|
|
292
339
|
if (existingStyle)
|
|
293
340
|
return;
|
|
294
341
|
// Create style element with Pine's focus ring styles and dark mode border
|
|
295
342
|
const styleEl = document.createElement('style');
|
|
296
343
|
styleEl.setAttribute('data-pds-popover-focus', portalId);
|
|
297
344
|
styleEl.textContent = `
|
|
298
|
-
#${
|
|
345
|
+
#${escapedPortalId}:focus {
|
|
299
346
|
outline: var(--pine-outline-focus, 2px solid var(--pine-color-focus-ring, #6366f1)) !important;
|
|
300
347
|
outline-offset: var(--pine-border-width, 1px);
|
|
301
348
|
}
|
|
302
|
-
#${
|
|
349
|
+
#${escapedPortalId}:focus:not(:focus-visible) {
|
|
303
350
|
outline: none;
|
|
304
351
|
}
|
|
305
|
-
[data-theme="dark"] #${
|
|
352
|
+
[data-theme="dark"] #${escapedPortalId} {
|
|
306
353
|
border: var(--pine-border);
|
|
307
354
|
}
|
|
308
355
|
`;
|
|
@@ -361,7 +408,7 @@ const PdsPopover = class {
|
|
|
361
408
|
}
|
|
362
409
|
// Remove the associated focus style element
|
|
363
410
|
const portalId = this.portalEl.id;
|
|
364
|
-
const styleEl = document.querySelector(`style[data-pds-popover-focus="${portalId}"]`);
|
|
411
|
+
const styleEl = document.querySelector(`style[data-pds-popover-focus="${cssEscape(portalId)}"]`);
|
|
365
412
|
if (styleEl && styleEl.parentNode) {
|
|
366
413
|
styleEl.parentNode.removeChild(styleEl);
|
|
367
414
|
}
|
|
@@ -637,7 +684,7 @@ const PdsPopover = class {
|
|
|
637
684
|
}, 16); // ~1 frame at 60fps
|
|
638
685
|
}
|
|
639
686
|
render() {
|
|
640
|
-
return (h(Host, { key: '
|
|
687
|
+
return (h(Host, { key: 'd804db8c73e0dc2acf0d1bbca20edb77993ff7fd', id: this.componentId }, h("span", { key: '5408d1856c9b13b327ea13b43cffc23af925a82f', class: "pds-popover__trigger-wrapper" }, h("slot", { key: '9d0ff01292c67bdaa88d49114162c3c65ff8a20d', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: 'cdd38016453ea1838d5718fb8e190cd4304ac8cc', class: "pds-popover__content-slot-wrapper" }, h("slot", { key: '9faf60d7be7a2ff3c5fe6c3e4de374bafadf848a', onSlotchange: this.handleContentSlotChange }))));
|
|
641
688
|
}
|
|
642
689
|
get el() { return getElement(this); }
|
|
643
690
|
static get watchers() { return {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { H as HostStylingKeeper } from './attributes-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
|
+
import { H as HostStylingKeeper } from './attributes-WXw_I_uJ.js';
|
|
3
3
|
import { n as normalizeColorValue } from './utils-OYK5-nwe.js';
|
|
4
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
4
5
|
|
|
5
6
|
const pdsProgressCss = () => `:host{--color-progress-fill:var(--pine-color-primary);--sizing-progress-bar-width:100%;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:var(--sizing-progress-bar-width)}@-webkit-keyframes progressBar{0%{width:0}100%{width:var(--sizing-progress-bar-width)}}@keyframes progressBar{0%{width:0}100%{width:var(--sizing-progress-bar-width)}}.pds-progress{-ms-flex-align:center;align-items:center;background-color:var(--pine-color-background-muted);border-radius:var(--pine-dimension-2xs);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:var(--pine-dimension-xs);position:relative;width:100%}:host(.is-animated) progress,:host(.is-animated) progress::-webkit-progress-bar{-webkit-animation:progressBar 3s ease;animation:progressBar 3s ease;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}progress,progress::-webkit-progress-bar{background-color:transparent;border:0;height:var(--pine-dimension-xs);width:100%}progress::-webkit-progress-value{background:var(--color-progress-fill, var(--pine-color-primary));border-radius:var(--pine-dimension-2xs)}progress::-moz-progress-bar{background:var(--color-progress-fill, var(--pine-color-primary));border-radius:var(--pine-dimension-2xs)}.pds-progress__label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.pds-progress__percentage{font-weight:var(--pine-font-weight-medium);-webkit-margin-start:calc(var(--pine-dimension-md) / 2);margin-inline-start:calc(var(--pine-dimension-md) / 2)}`;
|
|
6
7
|
|
|
@@ -34,7 +35,7 @@ const PdsProgress = class {
|
|
|
34
35
|
const normalizedFillColor = normalizeColorValue(this.fillColor);
|
|
35
36
|
const hostClass = this.animated ? { 'is-animated': this.animated } : '';
|
|
36
37
|
this.hostKeeper.record(hostClass);
|
|
37
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'a224e1e9bc50433553ab8bf4b0d772f01148ee76', class: hostClass }, h("div", { key: '261742044f3d68c204cbf640cc4447eb6d74df11', class: "pds-progress" }, h("label", { key: 'd686bdc6ab450bf8c14dd56077525a3139593f46', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: 'c716e977a952a628aec600fa680aa9c3b8d0e996', id: this.componentId, max: "100", style: normalizedFillColor ? { '--color-progress-fill': normalizedFillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '44176a580b435f69993be4a60ee2e888b87e10fb', class: "pds-progress__percentage" }, this.percent, "%")));
|
|
38
39
|
}
|
|
39
40
|
get el() { return getElement(this); }
|
|
40
41
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-Cw9J31qd.js';
|
|
2
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
2
3
|
|
|
3
4
|
const pdsPropertyCss = () => `:host{color:var(--pine-color-text-message);font:var(--pine-typography-body-medium)}`;
|
|
4
5
|
|
|
@@ -11,7 +12,7 @@ const PdsProperty = class {
|
|
|
11
12
|
this.icon = 'star';
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'd599b62be4bacf1d89afcc26b14fc93bdc9bb3a4', id: this.componentId }, h("pds-box", { key: 'd7f80f6598615c761d672893c8acab09bd9ea33f', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '15a6a6545c2cd2332bd830451106b7b08adc39ff', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: '4e5661563b99ec56189447faabcdd1ae631159b2' }))));
|
|
15
16
|
}
|
|
16
17
|
};
|
|
17
18
|
PdsProperty.style = pdsPropertyCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { m as messageId } from './form-BuRbS7Hp.js';
|
|
3
|
-
import { b as danger } from './index-
|
|
3
|
+
import { b as danger } from './index-BJXk71tO.js';
|
|
4
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
4
5
|
|
|
5
6
|
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)}`;
|
|
6
7
|
|
|
@@ -162,13 +163,13 @@ const PdsRadioGroup = class {
|
|
|
162
163
|
render() {
|
|
163
164
|
const gapValue = this.getGapValue();
|
|
164
165
|
const ariaDescribedBy = this.getAriaDescribedBy();
|
|
165
|
-
return (h(Host, { key: '
|
|
166
|
+
return (h(Host, { key: 'bf8063c1a99e272bb3f6bc647998a6ef103f8a71', class: this.classNames(), id: this._groupId, role: "group", "aria-describedby": ariaDescribedBy, style: {
|
|
166
167
|
'--pds-radio-group-gap': gapValue,
|
|
167
|
-
} }, this.groupLabel && (h("div", { key: '
|
|
168
|
+
} }, this.groupLabel && (h("div", { key: '8564ed3f8f99cdc1a0e5b189aacc6960923eb5f7', class: "pds-radio-group__label" }, this.groupLabel)), h("div", { key: '2309c9373790182cde030c1dbda88fa3bdcaaf12', class: {
|
|
168
169
|
'pds-radio-group__radios': true,
|
|
169
170
|
'pds-radio-group__radios--row': this.direction === 'row',
|
|
170
171
|
'pds-radio-group__radios--column': this.direction === 'column',
|
|
171
|
-
} }, h("slot", { key: '
|
|
172
|
+
} }, h("slot", { key: 'd88dde3c631e25c01bc7b6d3ef5d517255fabd1a', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (h("div", { key: 'a229214ed01663b0fc34f35e27c7148b4eb412ab', class: "pds-radio-group__message", id: messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (h("div", { key: 'dc092f2e6dbef0cb369cf00a6eccf9a095a0313d', class: "pds-radio-group__message pds-radio-group__message--error", id: messageId(this._groupId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'd242da328731e55fa52d8e624fdfc750bfa6cce4', icon: danger, size: "small" }), this.errorMessage))));
|
|
172
173
|
}
|
|
173
174
|
get el() { return getElement(this); }
|
|
174
175
|
static get watchers() { return {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { H as HostStylingKeeper } from './attributes-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
|
+
import { H as HostStylingKeeper } from './attributes-WXw_I_uJ.js';
|
|
3
3
|
import { e as exposeTypeProperty, a as assignDescription, m as messageId } from './form-BuRbS7Hp.js';
|
|
4
|
-
import { b as danger } from './index-
|
|
4
|
+
import { b as danger } from './index-BJXk71tO.js';
|
|
5
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
5
6
|
|
|
6
7
|
const labelCss = () => `.sc-pds-radio-h{display:inline-block}[aria-disabled=true].sc-pds-radio-h label.sc-pds-radio{color:var(--pine-color-text-label-disabled)}[aria-readonly=true].sc-pds-radio-h label.sc-pds-radio{color:var(--pine-color-text-label-readonly)}label.sc-pds-radio{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}`;
|
|
7
8
|
|
|
@@ -101,13 +102,13 @@ const PdsRadio = class {
|
|
|
101
102
|
}
|
|
102
103
|
render() {
|
|
103
104
|
const renderLabelAndMessages = () => [
|
|
104
|
-
h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: '
|
|
105
|
+
h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: 'ccd618855831bcee309e815f2cd2712fd4e8fe1f', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange, class: this.hasImage() ? 'visually-hidden' : '' }), h("span", { key: '2e372a880c28f48fb804bac2518208082c141fad', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)),
|
|
105
106
|
this.helperMessage && (h("div", { key: `${this.componentId}-helper`, class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage)),
|
|
106
|
-
this.errorMessage && (h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '
|
|
107
|
+
this.errorMessage && (h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '889d502575f6a162f450b6b58d76a6f6f1c74e4b', icon: danger, size: "small" }), this.errorMessage))
|
|
107
108
|
];
|
|
108
109
|
const hostClass = this.classNames();
|
|
109
110
|
this.hostKeeper.record(hostClass);
|
|
110
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '374003032b28407581a55f1fb0a304c49acf3c16', class: hostClass }, this.hasImage() && (h("div", { key: '7eeb516267de1afcfa85fc7567999db488c2f4f5', class: "pds-radio__image-container", part: "image-container" }, h("slot", { key: 'a312fea06f0c015bffab3bb392ff04d4913fd1c0', name: "image", onSlotchange: () => (this._hasImage = this.hasImageSlot()) }))), this.hasImage() ? (h("div", { class: "pds-radio__content-wrapper" }, renderLabelAndMessages())) : (renderLabelAndMessages())));
|
|
111
112
|
}
|
|
112
113
|
get el() { return getElement(this); }
|
|
113
114
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { H as HostStylingKeeper } from './attributes-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
|
+
import { H as HostStylingKeeper } from './attributes-WXw_I_uJ.js';
|
|
3
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
3
4
|
|
|
4
5
|
const pdsRowCss = () => `:host{--row-gap-y:var(--pine-dimension-125);--row-gap-x:var(--pine-dimension-125);display:block;-webkit-margin-after:calc(var(--row-gap-y) * -1);margin-block-end:calc(var(--row-gap-y) * -1);-webkit-margin-before:calc(var(--row-gap-y) * -1);margin-block-start:calc(var(--row-gap-y) * -1);-webkit-margin-end:calc(var(--row-gap-x) * -0.5);margin-inline-end:calc(var(--row-gap-x) * -0.5);-webkit-margin-start:calc(var(--row-gap-x) * -0.5);margin-inline-start:calc(var(--row-gap-x) * -0.5)}.pds-row{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-margin-after:calc(var(--row-gap-y) * -1);margin-block-end:calc(var(--row-gap-y) * -1);-webkit-margin-before:calc(var(--row-gap-y) * -1);margin-block-start:calc(var(--row-gap-y) * -1);-webkit-margin-end:calc(var(--row-gap-x) * -1);margin-inline-end:calc(var(--row-gap-x) * -1);-webkit-margin-start:calc(var(--row-gap-x) * -1);margin-inline-start:calc(var(--row-gap-x) * -1)}@layer layout{.pds-row>*{-webkit-padding-after:calc(var(--row-gap-y));padding-block-end:calc(var(--row-gap-y));-webkit-padding-before:calc(var(--row-gap-y));padding-block-start:calc(var(--row-gap-y));-webkit-padding-end:calc(var(--row-gap-x));padding-inline-end:calc(var(--row-gap-x));-webkit-padding-start:calc(var(--row-gap-x));padding-inline-start:calc(var(--row-gap-x))}}.pds-row--no-wrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.pds-row--border{border:var(--pine-border)}.pds-justify-content-start{-ms-flex-pack:start;justify-content:start}.pds-justify-content-center{-ms-flex-pack:center;justify-content:center}.pds-justify-content-end{-ms-flex-pack:end;justify-content:end}.pds-justify-content-space-between{-ms-flex-pack:justify;justify-content:space-between}.pds-justify-content-space-around{-ms-flex-pack:distribute;justify-content:space-around}.pds-justify-content-space-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.pds-align-items-start{-ms-flex-align:start;align-items:start}.pds-align-items-center{-ms-flex-align:center;align-items:center}.pds-align-items-end{-ms-flex-align:end;align-items:end}.pds-align-items-stretch{-ms-flex-align:stretch;align-items:stretch}.pds-align-items-baseline{-ms-flex-align:baseline;align-items:baseline}`;
|
|
5
6
|
|
|
@@ -68,7 +69,7 @@ const PdsRow = class {
|
|
|
68
69
|
'min-height': this.minHeight,
|
|
69
70
|
}));
|
|
70
71
|
this.hostKeeper.record(`pds-row ${rowClasses}`, rowInlineStyles);
|
|
71
|
-
return h(Host, { key: '
|
|
72
|
+
return h(Host, { key: '78a505fef7132f9545916155d2485a6d2df8f4a5', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
|
|
72
73
|
}
|
|
73
74
|
get el() { return getElement(this); }
|
|
74
75
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { H as HostStylingKeeper } from './attributes-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
|
+
import { H as HostStylingKeeper } from './attributes-WXw_I_uJ.js';
|
|
3
3
|
import { e as exposeTypeProperty, m as messageId, i as isSpecTest, a as assignDescription } from './form-BuRbS7Hp.js';
|
|
4
|
-
import { b as danger, e as enlarge } from './index-
|
|
4
|
+
import { b as danger, e as enlarge } from './index-BJXk71tO.js';
|
|
5
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
5
6
|
|
|
6
7
|
const pdsSelectTokensCss = () => `:host{--pine-select-color-background-danger:var(--pine-color-red-050)}`;
|
|
7
8
|
|
|
@@ -248,7 +249,7 @@ const PdsSelect = class {
|
|
|
248
249
|
'has-action': hasAction && !this.hideLabel ? 'true' : null,
|
|
249
250
|
};
|
|
250
251
|
this.hostKeeper.record(hostClass, {}, hostAttributes);
|
|
251
|
-
return (h(Host, Object.assign({ key: '
|
|
252
|
+
return (h(Host, Object.assign({ key: '343ed671e67dd1d6f9eb284b07e06d59877c64e9', class: hostClass }, hostAttributes), h("div", { key: '650aed0869b02f658feb16ee99f17e1cd22e5a8e', class: "pds-select" }, !this.hideLabel && (h("div", { key: '74739461acbea33c92279ec8ec9042d6af1773c1', class: "pds-select__label-wrapper" }, h("label", { key: '1ad96ffd243000358edfbd79054ee770e1ba97d3', htmlFor: this.componentId }, h("span", { key: 'b832868db4f9cd4fd2f8313054d2e96e106189ab', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: 'e83c1a1a0a5646fc8abf9e50bc374f52b56be773', "aria-describedby": assignDescription(this.componentId, this.isInvalid(), this.helperMessage, this.errorMessage), "aria-invalid": this.isInvalid() ? 'true' : undefined, "aria-label": this.hideLabel ? this.label : undefined, autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onBlur: this.onBlur, onChange: this.onSelectUpdate, onFocus: this.onFocus, onKeyDown: this.onKeyDown, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: 'a34880120b88124b5122350856d023368f96abf7', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: 'df6abaf6a630761a32b263813181ff3453757e0d', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'f9197284ef9965d693242a652b583f48bc3d7097', "aria-hidden": "true", class: "pds-select__select-icon", icon: enlarge }))));
|
|
252
253
|
}
|
|
253
254
|
static get formAssociated() { return true; }
|
|
254
255
|
get el() { return getElement(this); }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { H as HostStylingKeeper } from './attributes-
|
|
3
|
-
import { h as handle } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
|
+
import { H as HostStylingKeeper } from './attributes-WXw_I_uJ.js';
|
|
3
|
+
import { h as handle } from './index-BJXk71tO.js';
|
|
4
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
4
5
|
|
|
5
6
|
const pdsSortableItemCss = () => `.pds-sortable-item.sc-pds-sortable-item-h{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__actions.sc-pds-sortable-item{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-padding-start:var(--pine-dimension-md);padding-inline-start:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{line-height:1;-webkit-margin-end:var(--pine-dimension-md);margin-inline-end:var(--pine-dimension-md)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:first-child{border-start-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-start-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:last-child{border-end-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-end-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h:last-child{-webkit-border-after:0;border-block-end:0}.pds-sortable--handle-type-row .pds-sortable-item.sc-pds-sortable-item-h{cursor:-webkit-grab;cursor:grab}.pds-sortable--handle-type-handle .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:-webkit-grab;cursor:grab}.pds-sortable--disabled .pds-sortable-item.sc-pds-sortable-item-h{cursor:not-allowed;opacity:0.5}.pds-sortable--disabled .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:not-allowed}.pds-sortable--disabled .pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:transparent}.pds-sortable:not(.pds-sortable--disabled) .pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:var(--pine-color-background-container-hover)}.pds-sortable:not(.pds-sortable--disabled) .pds-sortable-item.sc-pds-sortable-item-h:hover pds-icon.sc-pds-sortable-item{color:var(--pine-color-info)}.pds-sortable-item--drag.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container);border-radius:0;-webkit-box-shadow:var(--pine-box-shadow-400);box-shadow:var(--pine-box-shadow-400);opacity:1}.pds-sortable-item--ghost.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container-hover);border-radius:0}`;
|
|
6
7
|
|
|
@@ -48,7 +49,7 @@ const PdsSortableItem = class {
|
|
|
48
49
|
}
|
|
49
50
|
render() {
|
|
50
51
|
this.hostKeeper.record('pds-sortable-item');
|
|
51
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '2065ccb474ae4b7032edc3c37aa6855f3048909d', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '32385cc94837a3d0bc1c496615135c79274afe35', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'ea94e28b2867aa20622ca073dc31d3b4a11eebbb', "aria-hidden": "true", icon: handle }))), h("slot", { key: 'fb18aa90be0b8fa3832a5dd2b02a7b571205341f' }), this.enableActions && (h("div", { key: '4c6e59d77a7b2183552533a544f4a70ce0cc7011', class: "pds-sortable-item__actions" }, h("slot", { key: '497b1ff88436175d9365a28032e109b6fa118e44', name: "sortable-item-actions" })))));
|
|
52
53
|
}
|
|
53
54
|
get el() { return getElement(this); }
|
|
54
55
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { H as HostStylingKeeper } from './attributes-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
|
+
import { H as HostStylingKeeper } from './attributes-WXw_I_uJ.js';
|
|
3
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
3
4
|
|
|
4
5
|
/**!
|
|
5
6
|
* Sortable 1.15.7
|
|
@@ -2720,7 +2721,7 @@ const PdsSortable = class {
|
|
|
2720
2721
|
render() {
|
|
2721
2722
|
const classNames = this.classNames();
|
|
2722
2723
|
this.hostKeeper.record(classNames);
|
|
2723
|
-
return (h(Host, { key: '
|
|
2724
|
+
return (h(Host, { key: 'a0e532d31561748b4632a6be9163562f990af804', class: classNames, id: this.componentId }, h("slot", { key: 'd1b0defb683f841e6708374fff4bf62eb7fd5080' })));
|
|
2724
2725
|
}
|
|
2725
2726
|
get el() { return getElement(this); }
|
|
2726
2727
|
static get watchers() { return {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { e as exposeTypeProperty, i as isSpecTest, m as messageId, a as assignDescription } from './form-BuRbS7Hp.js';
|
|
3
|
-
import { b as danger } from './index-
|
|
4
|
-
import { H as HostStylingKeeper, i as inheritAriaAttributes } from './attributes-
|
|
3
|
+
import { b as danger } from './index-BJXk71tO.js';
|
|
4
|
+
import { H as HostStylingKeeper, i as inheritAriaAttributes } from './attributes-WXw_I_uJ.js';
|
|
5
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
5
6
|
|
|
6
7
|
const labelCss = () => `:host{display:inline-block}:host([aria-disabled=true]) label{color:var(--pine-color-text-label-disabled)}:host([aria-readonly=true]) label{color:var(--pine-color-text-label-readonly)}label{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}`;
|
|
7
8
|
|
|
@@ -105,9 +106,9 @@ const PdsSwitch = class {
|
|
|
105
106
|
const hostClass = this.switchClassNames();
|
|
106
107
|
const ariaDisabled = this.disabled ? 'true' : null;
|
|
107
108
|
this.hostKeeper.record(hostClass, {}, { 'aria-disabled': ariaDisabled });
|
|
108
|
-
return (h(Host, { key: '
|
|
109
|
-
h("div", { key: '
|
|
110
|
-
h("div", { key: '
|
|
109
|
+
return (h(Host, { key: 'ee8576e523348ff9eed1b6087626849bb0966608', class: hostClass, "aria-disabled": ariaDisabled }, h("label", { key: '09433b5356d718be65f4f2eb61f35fff1d000e10', htmlFor: this.componentId }, h("input", Object.assign({ key: 'f996a0fad56119674cfb7d95e1444bf411b64396', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), h("span", { key: '4b23305d3cc0f5b37b23c6b79a14cfba57c16816', class: this.hideLabel ? 'visually-hidden' : '' }, h("slot", { key: '258b5ccf0d4b01518df3a37772d694cb37569ffa', name: "label", onSlotchange: this.updateHasLabelSlot }), !this.hasLabelSlot && this.label)), this.helperMessage &&
|
|
110
|
+
h("div", { key: 'c8196fa2ce832de3a8c6d987a78fd65d791c4c59', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
111
|
+
h("div", { key: '948894dd2e642689af6cad545a0b31f7c4711d87', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'd4b72b49bfd38a396b8f7c0686e1b2ef92d65491', icon: danger, size: "small" }), this.errorMessage)));
|
|
111
112
|
}
|
|
112
113
|
static get formAssociated() { return true; }
|
|
113
114
|
get el() { return getElement(this); }
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
|
+
import { H as HostStylingKeeper } from './attributes-WXw_I_uJ.js';
|
|
2
3
|
import { u as unwrapReconnectedContent } from './reconnected-content-RFpTWV6r.js';
|
|
4
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
3
5
|
|
|
4
6
|
const pdsTabCss = () => `pds-tab{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;position:relative}.pds-tabs--pill pds-tab{-ms-flex:1;flex:1}.pds-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:var(--pine-border-width-none);-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:pointer;font-family:inherit;padding:var(--pine-dimension-none);-ms-flex-align:center;align-items:center;color:var(--pine-color-text-secondary);display:-ms-inline-flexbox;display:inline-flex;position:relative;text-decoration:none;white-space:nowrap}.pds-tab.is-active,.pds-tab[aria-selected=true]{color:var(--pine-color-text)}.pds-tab.is-active .pds-tab__content::after,.pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tab:hover:not(:disabled,.is-disabled){color:var(--pine-color-text)}.pds-tab:focus{outline:none}.pds-tab:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-tab:disabled,.pds-tab.is-disabled{color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-tab .pds-tab__content{font-family:var(--pine-font-family-body);font-size:var(--pine-font-size);font-weight:var(--pine-font-weight-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);-webkit-padding-after:11px;padding-block-end:11px;position:relative}.pds-tab .pds-tab__content::after{background-color:var(--pine-color-brand);content:"";height:3px;inset-block-end:var(--pine-dimension-none);inset-inline-end:var(--pine-dimension-none);inset-inline-start:var(--pine-dimension-none);opacity:0;position:absolute}.pds-tab .pds-tab-edge{display:none}.pds-tabs--availability{--color-background-tab:transparent}.pds-tabs--availability .pds-tab{background-color:var(--color-background-tab);border-radius:calc(var(--pine-dimension-xs) * 1.25) calc(var(--pine-dimension-xs) * 1.25) var(--pine-dimension-none) var(--pine-dimension-none);color:var(--pine-color-text-secondary);padding:8px 16px 13px}.pds-tabs--availability .pds-tab.is-active,.pds-tabs--availability .pds-tab[aria-selected=true]{--color-background-tab:var(--pine-color-secondary);color:var(--pine-color-text)}.pds-tabs--availability .pds-tab.is-active .pds-tab__content::after,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tabs--availability .pds-tab.is-active .pds-tab-edge,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab-edge{z-index:var(--pine-z-index-raised)}.pds-tabs--availability .pds-tab:hover:not(.is-active,[aria-selected=true],:disabled,.is-disabled){--color-background-tab:var(--pine-color-secondary-hover);color:var(--pine-color-text)}.pds-tabs--availability .pds-tab:focus-visible{color:var(--pine-color-text-secondary)}.pds-tabs--availability .pds-tab:disabled,.pds-tabs--availability .pds-tab.is-disabled{--color-background-tab:transparent;color:var(--pine-color-text-disabled)}.pds-tabs--availability .pds-tab__content{-webkit-padding-after:7px;padding-block-end:7px}.pds-tabs--availability .pds-tab-edge{bottom:0;display:block;height:8px;inset-inline-end:100%;overflow:hidden;position:absolute;width:8px}.pds-tabs--availability .pds-tab-edge::before{border-radius:50%;bottom:0;-webkit-box-shadow:4px 4px 0 0 var(--color-background-tab);box-shadow:4px 4px 0 0 var(--color-background-tab);content:"";display:block;height:200%;inset-inline-end:0;position:absolute;width:200%}.pds-tabs--availability .pds-tab-edge--end{inset-inline-end:unset;inset-inline-start:100%}.pds-tabs--availability .pds-tab-edge--end::before{-webkit-box-shadow:-4px 4px 0 0 var(--color-background-tab);box-shadow:-4px 4px 0 0 var(--color-background-tab);inset-inline-end:unset;inset-inline-start:0}.pds-tabs--filter .pds-tab{background-color:var(--pine-color-background-muted);border-radius:50px;color:var(--pine-color-text);padding:6px 15px}.pds-tabs--filter .pds-tab.is-active,.pds-tabs--filter .pds-tab[aria-selected=true]{background-color:var(--pine-color-primary);color:var(--pine-color-text-primary)}.pds-tabs--filter .pds-tab.is-active:hover:not(:disabled,.is-disabled),.pds-tabs--filter .pds-tab[aria-selected=true]:hover:not(:disabled,.is-disabled){background-color:var(--pine-color-primary-hover)}.pds-tabs--filter .pds-tab:hover:not(.is-active,[aria-selected=true],:disabled,.is-disabled){background-color:var(--pine-color-border-disabled)}.pds-tabs--filter .pds-tab:disabled,.pds-tabs--filter .pds-tab.is-disabled{background-color:transparent;color:var(--pine-color-text-disabled)}.pds-tabs--filter .pds-tab:disabled.is-active,.pds-tabs--filter .pds-tab:disabled[aria-selected=true],.pds-tabs--filter .pds-tab.is-disabled.is-active,.pds-tabs--filter .pds-tab.is-disabled[aria-selected=true]{background-color:var(--pine-color-primary-disabled)}.pds-tabs--filter .pds-tab__content{-webkit-padding-after:var(--pine-dimension-none);padding-block-end:var(--pine-dimension-none)}.pds-tabs--filter .pds-tab__content::after{content:unset}.pds-tabs--pill{--color-background-tab:transparent}.pds-tabs--pill .pds-tab{background-color:var(--color-background-tab);border:var(--pine-border-width-thin) solid transparent;border-radius:var(--pine-dimension-xs);color:var(--pine-color-text-muted);-ms-flex:1;flex:1;height:34px;-ms-flex-pack:center;justify-content:center}.pds-tabs--pill .pds-tab .pds-tab__content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-webkit-padding-after:0;padding-block-end:0}.pds-tabs--pill .pds-tab.is-active,.pds-tabs--pill .pds-tab[aria-selected=true]{--color-background-tab:var(--pine-color-background-container);border-color:var(--pine-color-border);-webkit-box-shadow:var(--pine-box-shadow-100);box-shadow:var(--pine-box-shadow-100);color:var(--pine-color-text-active)}.pds-tabs--pill .pds-tab.is-active:focus-visible,.pds-tabs--pill .pds-tab[aria-selected=true]:focus-visible{border-color:var(--color-border-focus);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-tabs--pill .pds-tab.is-active,.pds-tabs--pill .pds-tab[aria-selected=true]{}.pds-tabs--pill .pds-tab.is-active .pds-tab__content::after,.pds-tabs--pill .pds-tab[aria-selected=true] .pds-tab__content::after{opacity:0}.pds-tabs--pill .pds-tab.is-active,.pds-tabs--pill .pds-tab[aria-selected=true]{}.pds-tabs--pill .pds-tab:disabled,.pds-tabs--pill .pds-tab.is-disabled{color:var(--pine-color-text-disabled)}`;
|
|
5
7
|
|
|
@@ -7,6 +9,7 @@ const PdsTab = class {
|
|
|
7
9
|
constructor(hostRef) {
|
|
8
10
|
registerInstance(this, hostRef);
|
|
9
11
|
this.pdsTabClick = createEvent(this, "pdsTabClick");
|
|
12
|
+
this.hostKeeper = new HostStylingKeeper();
|
|
10
13
|
/**
|
|
11
14
|
* Determines the tab's disabled state.
|
|
12
15
|
* @defaultValue false
|
|
@@ -25,6 +28,12 @@ const PdsTab = class {
|
|
|
25
28
|
/** @internal */
|
|
26
29
|
this.selected = false;
|
|
27
30
|
}
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
this.hostKeeper.connect(this.el);
|
|
33
|
+
}
|
|
34
|
+
disconnectedCallback() {
|
|
35
|
+
this.hostKeeper.disconnect();
|
|
36
|
+
}
|
|
28
37
|
// Unwraps a nested <a>/<button> left by a page-cache (Turbo, bfcache) reconnect.
|
|
29
38
|
componentDidRender() {
|
|
30
39
|
unwrapReconnectedContent(this.el.querySelector('.pds-tab__content'), 'a.pds-tab, button.pds-tab', '.pds-tab__content');
|
|
@@ -60,6 +69,9 @@ const PdsTab = class {
|
|
|
60
69
|
return classes.filter(Boolean).join(' ');
|
|
61
70
|
}
|
|
62
71
|
render() {
|
|
72
|
+
// The docs show consumers omitting `slot`, so server HTML doesn't carry it — a DOM morph
|
|
73
|
+
// that strips it leaves this tab unslotted, and pds-tabs has no default slot. Put it back.
|
|
74
|
+
this.hostKeeper.record('', {}, { slot: 'tabs' });
|
|
63
75
|
const availabilityTabEdgeInlineStart = (h("span", { class: "pds-tab-edge", role: "presentation" }));
|
|
64
76
|
const availabilityTabEdgeInlineEnd = (h("span", { class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
65
77
|
const content = (h(Fragment, null, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, h("div", { class: "pds-tab__content" }, h("slot", null))));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-Cw9J31qd.js';
|
|
2
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
2
3
|
|
|
3
4
|
const pdsTableBodyCss = () => `:host{border-color:inherit;display:table-row-group;vertical-align:middle}`;
|
|
4
5
|
|
|
@@ -7,7 +8,7 @@ const PdsTableBody = class {
|
|
|
7
8
|
registerInstance(this, hostRef);
|
|
8
9
|
}
|
|
9
10
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '817532e93c8f91ef64cd0f90aa6c4372c3b7d83f', role: "rowgroup", part: "body" }, h("slot", { key: '296ba876c6716e85252a06008bd55d59624223e3' })));
|
|
11
12
|
}
|
|
12
13
|
};
|
|
13
14
|
PdsTableBody.style = pdsTableBodyCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-Cw9J31qd.js';
|
|
2
2
|
import { a as isScrolledFromInlineStart } from './scroll-DtgUQhjl.js';
|
|
3
3
|
import { s as setupTruncationTooltip } from './truncation-tooltip-_902ENWC.js';
|
|
4
|
+
import './keep-hydrated-BLG6RDBt.js';
|
|
4
5
|
import './floating-ui.dom-BPqJgIq6.js';
|
|
5
6
|
|
|
6
7
|
const pdsTableCellCss = () => `:host{--box-shadow-fixed:3px 3px 6px -2px rgba(0, 0, 0, 0.2);color:var(--pine-color-text);display:table-cell;font-family:var(--pine-font-family-body);font-size:var(--pine-font-size);font-weight:var(--pine-font-weight-regular);inset-inline-start:var(--pine-dimension-none);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);padding:var(--pine-dimension-sm);vertical-align:middle}:host(.is-compact){padding-block:var(--pine-dimension-2xs)}:host(.is-fixed){background:var(--pine-color-background-container);inset-inline-start:0;position:-webkit-sticky;position:sticky;z-index:var(--pine-z-index-raised)}:host-context([dir=rtl]){--box-shadow-fixed:-3px 3px 6px -2px rgba(0, 0, 0, 0.2)}:host(.has-scrolled.is-fixed){-webkit-box-shadow:var(--box-shadow-fixed);box-shadow:var(--box-shadow-fixed)}:host(.is-truncated){max-width:var(--pds-table-cell-truncate-max-width, 100px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.has-checkbox){vertical-align:middle;width:16px}:host(.pds-table-cell--align-start){text-align:start}:host(.pds-table-cell--align-center){text-align:center}:host(.pds-table-cell--align-end){text-align:end}:host(.pds-table-cell--align-justify){text-align:justify}`;
|
|
@@ -128,11 +129,11 @@ const PdsTableCell = class {
|
|
|
128
129
|
return classNames.join(' ');
|
|
129
130
|
}
|
|
130
131
|
render() {
|
|
131
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'bedaeeb5723299656f872a760ed1dd80c7fe8793', class: this.classNames(), role: "gridcell", part: "cell", style: this.tableRef &&
|
|
132
133
|
this.tableRef.fixedColumn &&
|
|
133
134
|
this.tableRef.selectable
|
|
134
135
|
? { '--fixed-cell-position': '40px' }
|
|
135
|
-
: {} }, h("slot", { key: '
|
|
136
|
+
: {} }, h("slot", { key: '45182ee3e004097660432f552780b3d27671bd46' })));
|
|
136
137
|
}
|
|
137
138
|
get hostElement() { return getElement(this); }
|
|
138
139
|
static get watchers() { return {
|