@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,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
5
6
|
|
|
6
7
|
const pdsModalContentCss = () => `pds-modal-content{display:block;-ms-flex:1 1 auto;flex:1 1 auto;width:100%}pds-modal-content:has(.pds-modal-content.pds-modal-content--border-none){border:0}pds-modal-content:has(.pds-modal-content.pds-modal-content--border-both){-webkit-border-after:1px solid var(--pine-color-border-subtle);border-block-end:1px solid var(--pine-color-border-subtle);-webkit-border-before:1px solid var(--pine-color-border-subtle);border-block-start:1px solid var(--pine-color-border-subtle)}pds-modal-content:has(.pds-modal-content.pds-modal-content--border-top){-webkit-border-before:1px solid var(--pine-color-border-subtle);border-block-start:1px solid var(--pine-color-border-subtle)}pds-modal-content:has(.pds-modal-content.pds-modal-content--border-bottom){-webkit-border-after:1px solid var(--pine-color-border-subtle);border-block-end:1px solid var(--pine-color-border-subtle)}.pds-modal-content{display:block;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;width:100%}`;
|
|
7
8
|
|
|
@@ -184,10 +185,10 @@ const PdsModalContent = class {
|
|
|
184
185
|
render() {
|
|
185
186
|
// Only apply max-height style if it's not 'none'
|
|
186
187
|
const styleObj = this.contentMaxHeight !== 'none' ? { maxHeight: this.contentMaxHeight } : {};
|
|
187
|
-
return (index.h(index.Host, { key: '
|
|
188
|
+
return (index.h(index.Host, { key: 'd41d5632eb6a2dafe921546af60f835d3545cc4f' }, index.h("div", { key: '741ac9f28149039ecf5051142a939ab62ef26a87', class: {
|
|
188
189
|
'pds-modal-content': true,
|
|
189
190
|
[`pds-modal-content--border-${this.border}`]: true
|
|
190
|
-
}, style: styleObj, tabindex: "-1" }, index.h("slot", { key: '
|
|
191
|
+
}, style: styleObj, tabindex: "-1" }, index.h("slot", { key: '090a52e9425d4df61c2d8216cc19f0925babdffe' }))));
|
|
191
192
|
}
|
|
192
193
|
get el() { return index.getElement(this); }
|
|
193
194
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
5
6
|
|
|
6
7
|
const pdsModalFooterCss = () => `pds-modal-footer{display:block;width:100%}.pds-modal__footer{width:100%}`;
|
|
7
8
|
|
|
@@ -14,7 +15,7 @@ const PdsModalFooter = class {
|
|
|
14
15
|
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-modal__footer'), '.pds-modal__footer');
|
|
15
16
|
}
|
|
16
17
|
render() {
|
|
17
|
-
return (index.h("footer", { key: '
|
|
18
|
+
return (index.h("footer", { key: '030153b84f1ea1cb133c9ccec3ad86583995974f', class: "pds-modal__footer" }, index.h("slot", { key: '3a479e7047f3e845a65c37d60539648c8ff78602' })));
|
|
18
19
|
}
|
|
19
20
|
get el() { return index.getElement(this); }
|
|
20
21
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
5
6
|
|
|
6
7
|
const pdsModalHeaderCss = () => `pds-modal-header{display:block;width:100%}.pds-modal__header{width:100%}`;
|
|
7
8
|
|
|
@@ -14,7 +15,7 @@ const PdsModalHeader = class {
|
|
|
14
15
|
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-modal__header'), '.pds-modal__header');
|
|
15
16
|
}
|
|
16
17
|
render() {
|
|
17
|
-
return (index.h("header", { key: '
|
|
18
|
+
return (index.h("header", { key: 'ee3ac5fb9b00a943aa86c3434ea07291b74d776c', class: "pds-modal__header" }, index.h("slot", { key: '0b0f7ff257635723099c536648a826be8dcc05e7' })));
|
|
18
19
|
}
|
|
19
20
|
get el() { return index.getElement(this); }
|
|
20
21
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var closest = require('./closest-D0qyYtJ3.js');
|
|
5
5
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
6
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
6
7
|
|
|
7
8
|
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}`;
|
|
8
9
|
|
|
@@ -524,14 +525,14 @@ const PdsModal = class {
|
|
|
524
525
|
}
|
|
525
526
|
render() {
|
|
526
527
|
const [sizeClass = 'md', customSize] = this.resolveSize();
|
|
527
|
-
return (index.h("dialog", { key: '
|
|
528
|
+
return (index.h("dialog", { key: '12ea38928ea287f16ffa33e246caa2bfde6fc130', class: {
|
|
528
529
|
'pds-modal__backdrop': true,
|
|
529
530
|
'open': this.open
|
|
530
|
-
}, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, index.h("div", { key: '
|
|
531
|
+
}, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, index.h("div", { key: 'b9d83cabda56c315d9115f7030e3bdbcf923ec08', class: {
|
|
531
532
|
'pds-modal': true,
|
|
532
533
|
[`pds-modal--${sizeClass}`]: true,
|
|
533
534
|
'pds-modal--scrollable': this.scrollable
|
|
534
|
-
}, style: customSize !== undefined ? { '--pds-modal-max-width': customSize } : undefined, part: "modal" }, index.h("slot", { key: '
|
|
535
|
+
}, style: customSize !== undefined ? { '--pds-modal-max-width': customSize } : undefined, part: "modal" }, index.h("slot", { key: '3c5edad1482cb124e503197adf411890573b076d' }))));
|
|
535
536
|
}
|
|
536
537
|
get el() { return index.getElement(this); }
|
|
537
538
|
static get watchers() { return {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var floatingUi_dom = require('./floating-ui.dom-Dc8Anyel.js');
|
|
5
5
|
var utils = require('./utils-BhRmyxT8.js');
|
|
6
6
|
var form = require('./form-MhwfKTuo.js');
|
|
7
|
-
var index$1 = require('./index-
|
|
7
|
+
var index$1 = require('./index-5Azb8EQG.js');
|
|
8
8
|
var i18nFormat = require('./i18n-format-BD0PmYzT.js');
|
|
9
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
9
10
|
|
|
10
11
|
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}`;
|
|
11
12
|
|
|
@@ -1232,10 +1233,10 @@ const PdsMultiselect = class {
|
|
|
1232
1233
|
}
|
|
1233
1234
|
render() {
|
|
1234
1235
|
const hasSelections = this.selectedItems.length > 0;
|
|
1235
|
-
return (index.h(index.Host, { key: '
|
|
1236
|
+
return (index.h(index.Host, { key: '0ef6791666063e0d951d28f980b3bca89cf24287', "aria-disabled": this.disabled ? 'true' : null }, index.h("div", { key: 'f0ccbabfbd2dcf38f6df52f73f2152eb4bd2828e', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (index.h("label", { key: '88e01c744644ce1f75c8d5b71dfaeeb79d1ef7df', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
|
|
1236
1237
|
'pds-multiselect__label': true,
|
|
1237
1238
|
'visually-hidden': this.hideLabel,
|
|
1238
|
-
} }, this.label)), index.h("div", { key: '
|
|
1239
|
+
} }, this.label)), index.h("div", { key: '0bf4a3b1378ff18e6d6b449507ebbae1bfb279e4', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.slottedTriggerEl ? (index.h("slot", { name: "trigger" })) : this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (index.h("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
|
|
1239
1240
|
'pds-multiselect__trigger': true,
|
|
1240
1241
|
'pds-multiselect__trigger--open': this.isOpen,
|
|
1241
1242
|
'pds-multiselect__trigger--disabled': this.disabled,
|
|
@@ -1251,7 +1252,7 @@ const PdsMultiselect = class {
|
|
|
1251
1252
|
}, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": form.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 }, index.h("span", { class: {
|
|
1252
1253
|
'pds-multiselect__trigger-text': true,
|
|
1253
1254
|
'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
|
|
1254
|
-
} }, this.getTriggerText()), index.h("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: index$1.enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), index.h("span", { key: '
|
|
1255
|
+
} }, this.getTriggerText()), index.h("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: index$1.enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), index.h("span", { key: '5202a263b219d06891bda739f98db0162bf33c48', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (index.h("p", { key: '47f7b55863c5b72d41c4ef1893b9364988fc0b56', class: "pds-multiselect__helper", id: form.messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (index.h("p", { key: '3930dc30b2df7179d178873c470aa1da0f6f258c', class: "pds-multiselect__error", id: form.messageId(this.componentId, 'error') }, index.h("pds-icon", { key: 'e31d55db3fd0173c56faa23e34e0be92371983d4', icon: index$1.danger, size: "small" }), this.errorMessage)), index.h("div", { key: 'b3326cc1a5e5886be05327a066e0a7ddd36ccefc', style: { display: 'none' } }, index.h("slot", { key: '91559cb9510abce6084348a17516460fd8545ef7' })))));
|
|
1255
1256
|
}
|
|
1256
1257
|
static get formAssociated() { return true; }
|
|
1257
1258
|
get el() { return index.getElement(this); }
|
|
@@ -1,9 +1,52 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var closest = require('./closest-D0qyYtJ3.js');
|
|
5
5
|
var reflectedAttributeDefault = require('./reflected-attribute-default-DVYHG6O1.js');
|
|
6
|
-
var attributes = require('./attributes-
|
|
6
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
7
|
+
var keepHydrated = require('./keep-hydrated-CiXgkEYd.js');
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Escapes a string so it's safe to interpolate into a CSS identifier (an id selector like `#${id}`)
|
|
11
|
+
* or into CSS text (a stylesheet rule referencing that id). Equivalent to the native `CSS.escape`,
|
|
12
|
+
* reimplemented because Stencil's unit-test DOM (`newSpecPage`'s mock-doc) doesn't provide it.
|
|
13
|
+
* @param value - The string to escape, e.g. a consumer-supplied id
|
|
14
|
+
*/
|
|
15
|
+
const cssEscape = (value) => {
|
|
16
|
+
const string = String(value);
|
|
17
|
+
const length = string.length;
|
|
18
|
+
const firstCodeUnit = string.charCodeAt(0);
|
|
19
|
+
let result = '';
|
|
20
|
+
for (let index = 0; index < length; index++) {
|
|
21
|
+
const codeUnit = string.charCodeAt(index);
|
|
22
|
+
if (codeUnit === 0x0000) {
|
|
23
|
+
result += '�';
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
26
|
+
if ((codeUnit >= 0x0001 && codeUnit <= 0x001f) ||
|
|
27
|
+
codeUnit === 0x007f ||
|
|
28
|
+
(index === 0 && codeUnit >= 0x0030 && codeUnit <= 0x0039) ||
|
|
29
|
+
(index === 1 && codeUnit >= 0x0030 && codeUnit <= 0x0039 && firstCodeUnit === 0x002d)) {
|
|
30
|
+
result += `\\${codeUnit.toString(16)} `;
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
if (index === 0 && length === 1 && codeUnit === 0x002d) {
|
|
34
|
+
result += `\\${string.charAt(index)}`;
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
if (codeUnit >= 0x0080 ||
|
|
38
|
+
codeUnit === 0x002d ||
|
|
39
|
+
codeUnit === 0x005f ||
|
|
40
|
+
(codeUnit >= 0x0030 && codeUnit <= 0x0039) ||
|
|
41
|
+
(codeUnit >= 0x0041 && codeUnit <= 0x005a) ||
|
|
42
|
+
(codeUnit >= 0x0061 && codeUnit <= 0x007a)) {
|
|
43
|
+
result += string.charAt(index);
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
result += `\\${string.charAt(index)}`;
|
|
47
|
+
}
|
|
48
|
+
return result;
|
|
49
|
+
};
|
|
7
50
|
|
|
8
51
|
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}`;
|
|
9
52
|
|
|
@@ -170,7 +213,8 @@ const PdsPopover = class {
|
|
|
170
213
|
this.triggerObserver = null;
|
|
171
214
|
if (this.triggerEl == null || typeof MutationObserver === 'undefined')
|
|
172
215
|
return;
|
|
173
|
-
|
|
216
|
+
// Capped against a script that keeps undoing it; opening and closing still write it directly.
|
|
217
|
+
this.triggerObserver = new MutationObserver(keepHydrated.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));
|
|
174
218
|
this.triggerObserver.observe(this.triggerEl, {
|
|
175
219
|
attributes: true,
|
|
176
220
|
attributeFilter: ['aria-expanded', 'aria-controls'],
|
|
@@ -180,9 +224,9 @@ const PdsPopover = class {
|
|
|
180
224
|
// This mirrors the native Popover API's accessibility behavior
|
|
181
225
|
linkTriggerToPortal() {
|
|
182
226
|
if (this.triggerEl == null || this.portalEl == null)
|
|
183
|
-
return;
|
|
227
|
+
return false;
|
|
184
228
|
// Skips values already in place, so the trigger observer's own callback doesn't loop.
|
|
185
|
-
attributes.setAttributesIfChanged(this.triggerEl, { 'aria-expanded': String(this.active), 'aria-controls': this.portalEl.id });
|
|
229
|
+
return attributes.setAttributesIfChanged(this.triggerEl, { 'aria-expanded': String(this.active), 'aria-controls': this.portalEl.id });
|
|
186
230
|
}
|
|
187
231
|
// componentDidLoad doesn't run again when a popover comes back, so rebuild whatever
|
|
188
232
|
// disconnectedCallback tore down. Each step is a no-op when nothing was.
|
|
@@ -289,22 +333,25 @@ const PdsPopover = class {
|
|
|
289
333
|
if (!this.portalEl)
|
|
290
334
|
return;
|
|
291
335
|
const portalId = this.portalEl.id;
|
|
336
|
+
// componentId comes from the consumer, so it can carry characters cssEscape needs to
|
|
337
|
+
// neutralize before the id is used as a selector or interpolated into stylesheet text.
|
|
338
|
+
const escapedPortalId = cssEscape(portalId);
|
|
292
339
|
// Check if style element already exists
|
|
293
|
-
const existingStyle = document.querySelector(`style[data-pds-popover-focus="${
|
|
340
|
+
const existingStyle = document.querySelector(`style[data-pds-popover-focus="${escapedPortalId}"]`);
|
|
294
341
|
if (existingStyle)
|
|
295
342
|
return;
|
|
296
343
|
// Create style element with Pine's focus ring styles and dark mode border
|
|
297
344
|
const styleEl = document.createElement('style');
|
|
298
345
|
styleEl.setAttribute('data-pds-popover-focus', portalId);
|
|
299
346
|
styleEl.textContent = `
|
|
300
|
-
#${
|
|
347
|
+
#${escapedPortalId}:focus {
|
|
301
348
|
outline: var(--pine-outline-focus, 2px solid var(--pine-color-focus-ring, #6366f1)) !important;
|
|
302
349
|
outline-offset: var(--pine-border-width, 1px);
|
|
303
350
|
}
|
|
304
|
-
#${
|
|
351
|
+
#${escapedPortalId}:focus:not(:focus-visible) {
|
|
305
352
|
outline: none;
|
|
306
353
|
}
|
|
307
|
-
[data-theme="dark"] #${
|
|
354
|
+
[data-theme="dark"] #${escapedPortalId} {
|
|
308
355
|
border: var(--pine-border);
|
|
309
356
|
}
|
|
310
357
|
`;
|
|
@@ -363,7 +410,7 @@ const PdsPopover = class {
|
|
|
363
410
|
}
|
|
364
411
|
// Remove the associated focus style element
|
|
365
412
|
const portalId = this.portalEl.id;
|
|
366
|
-
const styleEl = document.querySelector(`style[data-pds-popover-focus="${portalId}"]`);
|
|
413
|
+
const styleEl = document.querySelector(`style[data-pds-popover-focus="${cssEscape(portalId)}"]`);
|
|
367
414
|
if (styleEl && styleEl.parentNode) {
|
|
368
415
|
styleEl.parentNode.removeChild(styleEl);
|
|
369
416
|
}
|
|
@@ -639,7 +686,7 @@ const PdsPopover = class {
|
|
|
639
686
|
}, 16); // ~1 frame at 60fps
|
|
640
687
|
}
|
|
641
688
|
render() {
|
|
642
|
-
return (index.h(index.Host, { key: '
|
|
689
|
+
return (index.h(index.Host, { key: 'd804db8c73e0dc2acf0d1bbca20edb77993ff7fd', id: this.componentId }, index.h("span", { key: '5408d1856c9b13b327ea13b43cffc23af925a82f', class: "pds-popover__trigger-wrapper" }, index.h("slot", { key: '9d0ff01292c67bdaa88d49114162c3c65ff8a20d', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), index.h("div", { key: 'cdd38016453ea1838d5718fb8e190cd4304ac8cc', class: "pds-popover__content-slot-wrapper" }, index.h("slot", { key: '9faf60d7be7a2ff3c5fe6c3e4de374bafadf848a', onSlotchange: this.handleContentSlotChange }))));
|
|
643
690
|
}
|
|
644
691
|
get el() { return index.getElement(this); }
|
|
645
692
|
static get watchers() { return {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var attributes = require('./attributes-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
5
5
|
var utils = require('./utils-BhRmyxT8.js');
|
|
6
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
6
7
|
|
|
7
8
|
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)}`;
|
|
8
9
|
|
|
@@ -36,7 +37,7 @@ const PdsProgress = class {
|
|
|
36
37
|
const normalizedFillColor = utils.normalizeColorValue(this.fillColor);
|
|
37
38
|
const hostClass = this.animated ? { 'is-animated': this.animated } : '';
|
|
38
39
|
this.hostKeeper.record(hostClass);
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
40
|
+
return (index.h(index.Host, { key: 'a224e1e9bc50433553ab8bf4b0d772f01148ee76', class: hostClass }, index.h("div", { key: '261742044f3d68c204cbf640cc4447eb6d74df11', class: "pds-progress" }, index.h("label", { key: 'd686bdc6ab450bf8c14dd56077525a3139593f46', class: "pds-progress__label", htmlFor: this.componentId }, this.label), index.h("progress", { key: 'c716e977a952a628aec600fa680aa9c3b8d0e996', id: this.componentId, max: "100", style: normalizedFillColor ? { '--color-progress-fill': normalizedFillColor } : {}, value: this.percent })), this.showPercent && index.h("div", { key: '44176a580b435f69993be4a60ee2e888b87e10fb', class: "pds-progress__percentage" }, this.percent, "%")));
|
|
40
41
|
}
|
|
41
42
|
get el() { return index.getElement(this); }
|
|
42
43
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
4
5
|
|
|
5
6
|
const pdsPropertyCss = () => `:host{color:var(--pine-color-text-message);font:var(--pine-typography-body-medium)}`;
|
|
6
7
|
|
|
@@ -13,7 +14,7 @@ const PdsProperty = class {
|
|
|
13
14
|
this.icon = 'star';
|
|
14
15
|
}
|
|
15
16
|
render() {
|
|
16
|
-
return (index.h(index.Host, { key: '
|
|
17
|
+
return (index.h(index.Host, { key: 'd599b62be4bacf1d89afcc26b14fc93bdc9bb3a4', id: this.componentId }, index.h("pds-box", { key: 'd7f80f6598615c761d672893c8acab09bd9ea33f', "align-items": "center", gap: "xs" }, index.h("pds-icon", { key: '15a6a6545c2cd2332bd830451106b7b08adc39ff', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), index.h("slot", { key: '4e5661563b99ec56189447faabcdd1ae631159b2' }))));
|
|
17
18
|
}
|
|
18
19
|
};
|
|
19
20
|
PdsProperty.style = pdsPropertyCss();
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var form = require('./form-MhwfKTuo.js');
|
|
5
|
-
var index$1 = require('./index-
|
|
5
|
+
var index$1 = require('./index-5Azb8EQG.js');
|
|
6
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
6
7
|
|
|
7
8
|
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)}`;
|
|
8
9
|
|
|
@@ -164,13 +165,13 @@ const PdsRadioGroup = class {
|
|
|
164
165
|
render() {
|
|
165
166
|
const gapValue = this.getGapValue();
|
|
166
167
|
const ariaDescribedBy = this.getAriaDescribedBy();
|
|
167
|
-
return (index.h(index.Host, { key: '
|
|
168
|
+
return (index.h(index.Host, { key: 'bf8063c1a99e272bb3f6bc647998a6ef103f8a71', class: this.classNames(), id: this._groupId, role: "group", "aria-describedby": ariaDescribedBy, style: {
|
|
168
169
|
'--pds-radio-group-gap': gapValue,
|
|
169
|
-
} }, this.groupLabel && (index.h("div", { key: '
|
|
170
|
+
} }, this.groupLabel && (index.h("div", { key: '8564ed3f8f99cdc1a0e5b189aacc6960923eb5f7', class: "pds-radio-group__label" }, this.groupLabel)), index.h("div", { key: '2309c9373790182cde030c1dbda88fa3bdcaaf12', class: {
|
|
170
171
|
'pds-radio-group__radios': true,
|
|
171
172
|
'pds-radio-group__radios--row': this.direction === 'row',
|
|
172
173
|
'pds-radio-group__radios--column': this.direction === 'column',
|
|
173
|
-
} }, index.h("slot", { key: '
|
|
174
|
+
} }, index.h("slot", { key: 'd88dde3c631e25c01bc7b6d3ef5d517255fabd1a', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (index.h("div", { key: 'a229214ed01663b0fc34f35e27c7148b4eb412ab', class: "pds-radio-group__message", id: form.messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (index.h("div", { key: 'dc092f2e6dbef0cb369cf00a6eccf9a095a0313d', class: "pds-radio-group__message pds-radio-group__message--error", id: form.messageId(this._groupId, 'error'), "aria-live": "assertive" }, index.h("pds-icon", { key: 'd242da328731e55fa52d8e624fdfc750bfa6cce4', icon: index$1.danger, size: "small" }), this.errorMessage))));
|
|
174
175
|
}
|
|
175
176
|
get el() { return index.getElement(this); }
|
|
176
177
|
static get watchers() { return {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var attributes = require('./attributes-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
5
5
|
var form = require('./form-MhwfKTuo.js');
|
|
6
|
-
var index$1 = require('./index-
|
|
6
|
+
var index$1 = require('./index-5Azb8EQG.js');
|
|
7
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
7
8
|
|
|
8
9
|
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)}`;
|
|
9
10
|
|
|
@@ -103,13 +104,13 @@ const PdsRadio = class {
|
|
|
103
104
|
}
|
|
104
105
|
render() {
|
|
105
106
|
const renderLabelAndMessages = () => [
|
|
106
|
-
index.h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, index.h("input", { key: '
|
|
107
|
+
index.h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, index.h("input", { key: 'ccd618855831bcee309e815f2cd2712fd4e8fe1f', "aria-describedby": form.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' : '' }), index.h("span", { key: '2e372a880c28f48fb804bac2518208082c141fad', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)),
|
|
107
108
|
this.helperMessage && (index.h("div", { key: `${this.componentId}-helper`, class: 'pds-radio__message', id: form.messageId(this.componentId, 'helper') }, this.helperMessage)),
|
|
108
|
-
this.errorMessage && (index.h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: form.messageId(this.componentId, 'error'), "aria-live": "assertive" }, index.h("pds-icon", { key: '
|
|
109
|
+
this.errorMessage && (index.h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: form.messageId(this.componentId, 'error'), "aria-live": "assertive" }, index.h("pds-icon", { key: '889d502575f6a162f450b6b58d76a6f6f1c74e4b', icon: index$1.danger, size: "small" }), this.errorMessage))
|
|
109
110
|
];
|
|
110
111
|
const hostClass = this.classNames();
|
|
111
112
|
this.hostKeeper.record(hostClass);
|
|
112
|
-
return (index.h(index.Host, { key: '
|
|
113
|
+
return (index.h(index.Host, { key: '374003032b28407581a55f1fb0a304c49acf3c16', class: hostClass }, this.hasImage() && (index.h("div", { key: '7eeb516267de1afcfa85fc7567999db488c2f4f5', class: "pds-radio__image-container", part: "image-container" }, index.h("slot", { key: 'a312fea06f0c015bffab3bb392ff04d4913fd1c0', name: "image", onSlotchange: () => (this._hasImage = this.hasImageSlot()) }))), this.hasImage() ? (index.h("div", { class: "pds-radio__content-wrapper" }, renderLabelAndMessages())) : (renderLabelAndMessages())));
|
|
113
114
|
}
|
|
114
115
|
get el() { return index.getElement(this); }
|
|
115
116
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var attributes = require('./attributes-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
5
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
5
6
|
|
|
6
7
|
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}`;
|
|
7
8
|
|
|
@@ -70,7 +71,7 @@ const PdsRow = class {
|
|
|
70
71
|
'min-height': this.minHeight,
|
|
71
72
|
}));
|
|
72
73
|
this.hostKeeper.record(`pds-row ${rowClasses}`, rowInlineStyles);
|
|
73
|
-
return index.h(index.Host, { key: '
|
|
74
|
+
return index.h(index.Host, { key: '78a505fef7132f9545916155d2485a6d2df8f4a5', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
|
|
74
75
|
}
|
|
75
76
|
get el() { return index.getElement(this); }
|
|
76
77
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var attributes = require('./attributes-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
5
5
|
var form = require('./form-MhwfKTuo.js');
|
|
6
|
-
var index$1 = require('./index-
|
|
6
|
+
var index$1 = require('./index-5Azb8EQG.js');
|
|
7
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
7
8
|
|
|
8
9
|
const pdsSelectTokensCss = () => `:host{--pine-select-color-background-danger:var(--pine-color-red-050)}`;
|
|
9
10
|
|
|
@@ -250,7 +251,7 @@ const PdsSelect = class {
|
|
|
250
251
|
'has-action': hasAction && !this.hideLabel ? 'true' : null,
|
|
251
252
|
};
|
|
252
253
|
this.hostKeeper.record(hostClass, {}, hostAttributes);
|
|
253
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
254
|
+
return (index.h(index.Host, Object.assign({ key: '343ed671e67dd1d6f9eb284b07e06d59877c64e9', class: hostClass }, hostAttributes), index.h("div", { key: '650aed0869b02f658feb16ee99f17e1cd22e5a8e', class: "pds-select" }, !this.hideLabel && (index.h("div", { key: '74739461acbea33c92279ec8ec9042d6af1773c1', class: "pds-select__label-wrapper" }, index.h("label", { key: '1ad96ffd243000358edfbd79054ee770e1ba97d3', htmlFor: this.componentId }, index.h("span", { key: 'b832868db4f9cd4fd2f8313054d2e96e106189ab', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), index.h("select", { key: 'e83c1a1a0a5646fc8abf9e50bc374f52b56be773', "aria-describedby": form.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) }), index.h("div", { key: 'a34880120b88124b5122350856d023368f96abf7', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, index.h("slot", { key: 'df6abaf6a630761a32b263813181ff3453757e0d', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && index.h("pds-icon", { key: 'f9197284ef9965d693242a652b583f48bc3d7097', "aria-hidden": "true", class: "pds-select__select-icon", icon: index$1.enlarge }))));
|
|
254
255
|
}
|
|
255
256
|
static get formAssociated() { return true; }
|
|
256
257
|
get el() { return index.getElement(this); }
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var attributes = require('./attributes-
|
|
5
|
-
var index$1 = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
5
|
+
var index$1 = require('./index-5Azb8EQG.js');
|
|
6
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
6
7
|
|
|
7
8
|
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}`;
|
|
8
9
|
|
|
@@ -50,7 +51,7 @@ const PdsSortableItem = class {
|
|
|
50
51
|
}
|
|
51
52
|
render() {
|
|
52
53
|
this.hostKeeper.record('pds-sortable-item');
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: '2065ccb474ae4b7032edc3c37aa6855f3048909d', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (index.h("div", { key: '32385cc94837a3d0bc1c496615135c79274afe35', class: "pds-sortable-item__handle" }, index.h("pds-icon", { key: 'ea94e28b2867aa20622ca073dc31d3b4a11eebbb', "aria-hidden": "true", icon: index$1.handle }))), index.h("slot", { key: 'fb18aa90be0b8fa3832a5dd2b02a7b571205341f' }), this.enableActions && (index.h("div", { key: '4c6e59d77a7b2183552533a544f4a70ce0cc7011', class: "pds-sortable-item__actions" }, index.h("slot", { key: '497b1ff88436175d9365a28032e109b6fa118e44', name: "sortable-item-actions" })))));
|
|
54
55
|
}
|
|
55
56
|
get el() { return index.getElement(this); }
|
|
56
57
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./index-
|
|
4
|
-
var attributes = require('./attributes-
|
|
3
|
+
var index$1 = require('./index-jl_Q819j.js');
|
|
4
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
5
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
5
6
|
|
|
6
7
|
/**!
|
|
7
8
|
* Sortable 1.15.7
|
|
@@ -2722,7 +2723,7 @@ const PdsSortable = class {
|
|
|
2722
2723
|
render() {
|
|
2723
2724
|
const classNames = this.classNames();
|
|
2724
2725
|
this.hostKeeper.record(classNames);
|
|
2725
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2726
|
+
return (index$1.h(index$1.Host, { key: 'a0e532d31561748b4632a6be9163562f990af804', class: classNames, id: this.componentId }, index$1.h("slot", { key: 'd1b0defb683f841e6708374fff4bf62eb7fd5080' })));
|
|
2726
2727
|
}
|
|
2727
2728
|
get el() { return index$1.getElement(this); }
|
|
2728
2729
|
static get watchers() { return {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
4
|
var form = require('./form-MhwfKTuo.js');
|
|
5
|
-
var index$1 = require('./index-
|
|
6
|
-
var attributes = require('./attributes-
|
|
5
|
+
var index$1 = require('./index-5Azb8EQG.js');
|
|
6
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
7
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
7
8
|
|
|
8
9
|
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)}`;
|
|
9
10
|
|
|
@@ -107,9 +108,9 @@ const PdsSwitch = class {
|
|
|
107
108
|
const hostClass = this.switchClassNames();
|
|
108
109
|
const ariaDisabled = this.disabled ? 'true' : null;
|
|
109
110
|
this.hostKeeper.record(hostClass, {}, { 'aria-disabled': ariaDisabled });
|
|
110
|
-
return (index.h(index.Host, { key: '
|
|
111
|
-
index.h("div", { key: '
|
|
112
|
-
index.h("div", { key: '
|
|
111
|
+
return (index.h(index.Host, { key: 'ee8576e523348ff9eed1b6087626849bb0966608', class: hostClass, "aria-disabled": ariaDisabled }, index.h("label", { key: '09433b5356d718be65f4f2eb61f35fff1d000e10', htmlFor: this.componentId }, index.h("input", Object.assign({ key: 'f996a0fad56119674cfb7d95e1444bf411b64396', "aria-describedby": form.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)), index.h("span", { key: '4b23305d3cc0f5b37b23c6b79a14cfba57c16816', class: this.hideLabel ? 'visually-hidden' : '' }, index.h("slot", { key: '258b5ccf0d4b01518df3a37772d694cb37569ffa', name: "label", onSlotchange: this.updateHasLabelSlot }), !this.hasLabelSlot && this.label)), this.helperMessage &&
|
|
112
|
+
index.h("div", { key: 'c8196fa2ce832de3a8c6d987a78fd65d791c4c59', class: `pds-switch__message`, id: form.messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
113
|
+
index.h("div", { key: '948894dd2e642689af6cad545a0b31f7c4711d87', class: `pds-switch__message pds-switch__message--error`, id: form.messageId(this.componentId, 'error'), "aria-live": "assertive" }, index.h("pds-icon", { key: 'd4b72b49bfd38a396b8f7c0686e1b2ef92d65491', icon: index$1.danger, size: "small" }), this.errorMessage)));
|
|
113
114
|
}
|
|
114
115
|
static get formAssociated() { return true; }
|
|
115
116
|
get el() { return index.getElement(this); }
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-jl_Q819j.js');
|
|
4
|
+
var attributes = require('./attributes-BJ7KBHql.js');
|
|
4
5
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
6
|
+
require('./keep-hydrated-CiXgkEYd.js');
|
|
5
7
|
|
|
6
8
|
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)}`;
|
|
7
9
|
|
|
@@ -9,6 +11,7 @@ const PdsTab = class {
|
|
|
9
11
|
constructor(hostRef) {
|
|
10
12
|
index.registerInstance(this, hostRef);
|
|
11
13
|
this.pdsTabClick = index.createEvent(this, "pdsTabClick");
|
|
14
|
+
this.hostKeeper = new attributes.HostStylingKeeper();
|
|
12
15
|
/**
|
|
13
16
|
* Determines the tab's disabled state.
|
|
14
17
|
* @defaultValue false
|
|
@@ -27,6 +30,12 @@ const PdsTab = class {
|
|
|
27
30
|
/** @internal */
|
|
28
31
|
this.selected = false;
|
|
29
32
|
}
|
|
33
|
+
connectedCallback() {
|
|
34
|
+
this.hostKeeper.connect(this.el);
|
|
35
|
+
}
|
|
36
|
+
disconnectedCallback() {
|
|
37
|
+
this.hostKeeper.disconnect();
|
|
38
|
+
}
|
|
30
39
|
// Unwraps a nested <a>/<button> left by a page-cache (Turbo, bfcache) reconnect.
|
|
31
40
|
componentDidRender() {
|
|
32
41
|
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-tab__content'), 'a.pds-tab, button.pds-tab', '.pds-tab__content');
|
|
@@ -62,6 +71,9 @@ const PdsTab = class {
|
|
|
62
71
|
return classes.filter(Boolean).join(' ');
|
|
63
72
|
}
|
|
64
73
|
render() {
|
|
74
|
+
// The docs show consumers omitting `slot`, so server HTML doesn't carry it — a DOM morph
|
|
75
|
+
// that strips it leaves this tab unslotted, and pds-tabs has no default slot. Put it back.
|
|
76
|
+
this.hostKeeper.record('', {}, { slot: 'tabs' });
|
|
65
77
|
const availabilityTabEdgeInlineStart = (index.h("span", { class: "pds-tab-edge", role: "presentation" }));
|
|
66
78
|
const availabilityTabEdgeInlineEnd = (index.h("span", { class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
67
79
|
const content = (index.h(index.Fragment, null, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, index.h("div", { class: "pds-tab__content" }, index.h("slot", null))));
|