@pine-ds/core 4.0.0 → 4.2.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/index.d.ts +8 -0
- package/components/index.js +1 -1
- package/components/mock-pds-modal.js +1 -1
- package/components/pds-chip2.js +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-divider.js +1 -1
- package/components/pds-drawer-content.d.ts +11 -0
- package/components/pds-drawer-content.js +1 -0
- package/components/pds-drawer-footer.d.ts +11 -0
- package/components/pds-drawer-footer.js +1 -0
- package/components/pds-drawer-header.d.ts +11 -0
- package/components/pds-drawer-header.js +1 -0
- package/components/pds-drawer.d.ts +11 -0
- package/components/pds-drawer.js +1 -0
- package/components/pds-dropdown-menu-item.js +1 -1
- package/components/pds-dropdown-menu-separator.js +1 -1
- package/components/pds-dropdown-menu.js +1 -1
- package/components/pds-filter.js +1 -1
- package/components/pds-filters.js +1 -1
- package/components/pds-image.js +1 -1
- package/components/pds-input.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-modal.js +1 -1
- package/components/pds-modal2.js +1 -0
- 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-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/components/truncation-tooltip.js +1 -1
- package/dist/cjs/{index-CKNNY-lQ.js → index-Bu3NXpbK.js} +1 -1
- package/dist/cjs/{index-BdFrBXCD.js → index-CuQil7H0.js} +1 -1
- package/dist/cjs/index.cjs.js +20 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mock-pds-modal.cjs.entry.js +2 -2
- package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/pds-alert.cjs.entry.js +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/pds-box.cjs.entry.js +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +2 -2
- package/dist/cjs/pds-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/pds-chip.cjs.entry.js +18 -9
- package/dist/cjs/pds-combobox.cjs.entry.js +1 -1
- package/dist/cjs/pds-container.cjs.entry.js +1 -1
- package/dist/cjs/pds-copytext.cjs.entry.js +8 -4
- package/dist/cjs/pds-divider.cjs.entry.js +10 -3
- package/dist/cjs/pds-drawer-content.cjs.entry.js +23 -0
- package/dist/cjs/pds-drawer-footer.cjs.entry.js +23 -0
- package/dist/cjs/pds-drawer-header.cjs.entry.js +23 -0
- package/dist/cjs/pds-drawer.cjs.entry.js +137 -0
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/pds-filter.cjs.entry.js +3 -3
- package/dist/cjs/pds-filters.cjs.entry.js +2 -2
- package/dist/cjs/pds-icon.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +3 -3
- package/dist/cjs/pds-input.cjs.entry.js +4 -4
- package/dist/cjs/pds-link.cjs.entry.js +4 -4
- package/dist/cjs/pds-loader.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-content.cjs.entry.js +3 -3
- package/dist/cjs/pds-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-header.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal.cjs.entry.js +142 -11
- package/dist/cjs/pds-multiselect.cjs.entry.js +5 -5
- package/dist/cjs/pds-popover.cjs.entry.js +2 -2
- package/dist/cjs/pds-progress.cjs.entry.js +2 -2
- package/dist/cjs/pds-property.cjs.entry.js +2 -2
- package/dist/cjs/pds-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/pds-radio.cjs.entry.js +5 -5
- package/dist/cjs/pds-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-select.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable.cjs.entry.js +2 -2
- package/dist/cjs/pds-switch.cjs.entry.js +6 -6
- package/dist/cjs/pds-tab.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-cell.cjs.entry.js +4 -4
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +4 -4
- package/dist/cjs/pds-table-head.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-table.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/pds-text.cjs.entry.js +6 -24
- package/dist/cjs/pds-textarea.cjs.entry.js +6 -6
- package/dist/cjs/pds-toast.cjs.entry.js +4 -4
- package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/pine-core.cjs.js +2 -2
- package/dist/cjs/{truncation-tooltip-CVzAha5B.js → truncation-tooltip-Bps7_rUy.js} +51 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/pds-chip/pds-chip.js +15 -6
- package/dist/collection/components/pds-copytext/pds-copytext.js +5 -1
- package/dist/collection/components/pds-divider/pds-divider.css +41 -0
- package/dist/collection/components/pds-divider/pds-divider.js +30 -1
- package/dist/collection/components/pds-divider/stories/pds-divider.stories.js +7 -0
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.css +22 -0
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +29 -0
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.css +15 -0
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +23 -0
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.css +15 -0
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +23 -0
- package/dist/collection/components/pds-drawer/pds-drawer.css +36 -0
- package/dist/collection/components/pds-drawer/pds-drawer.js +362 -0
- package/dist/collection/components/pds-drawer/stories/pds-drawer.stories.js +72 -0
- 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.js +1 -1
- 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 +164 -10
- 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 +1 -1
- 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.css +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 +3 -3
- 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-tabpanel/pds-tabpanel.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
- package/dist/collection/components/pds-text/pds-text.js +2 -2
- 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/index.js +1 -0
- package/dist/collection/utils/test/reduced-motion.js +78 -0
- package/dist/collection/utils/truncation-tooltip.js +51 -1
- package/dist/docs.json +419 -6
- package/dist/esm/{index-NNDTPCWx.js → index-CTLu1TM4.js} +1 -1
- package/dist/esm/{index-BjlFq0VD.js → index-DdPaBxPo.js} +1 -1
- package/dist/esm/index.js +19 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mock-pds-modal.entry.js +2 -2
- package/dist/esm/pds-accordion.entry.js +2 -2
- package/dist/esm/pds-alert.entry.js +1 -1
- package/dist/esm/pds-avatar.entry.js +2 -2
- package/dist/esm/pds-box.entry.js +1 -1
- package/dist/esm/pds-button.entry.js +2 -2
- package/dist/esm/pds-checkbox.entry.js +2 -2
- package/dist/esm/pds-chip.entry.js +18 -9
- package/dist/esm/pds-combobox.entry.js +1 -1
- package/dist/esm/pds-container.entry.js +1 -1
- package/dist/esm/pds-copytext.entry.js +8 -4
- package/dist/esm/pds-divider.entry.js +10 -3
- package/dist/esm/pds-drawer-content.entry.js +21 -0
- package/dist/esm/pds-drawer-footer.entry.js +21 -0
- package/dist/esm/pds-drawer-header.entry.js +21 -0
- package/dist/esm/pds-drawer.entry.js +135 -0
- package/dist/esm/pds-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu-separator.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu.entry.js +2 -2
- package/dist/esm/pds-filter.entry.js +3 -3
- package/dist/esm/pds-filters.entry.js +2 -2
- package/dist/esm/pds-icon.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +3 -3
- package/dist/esm/pds-input.entry.js +4 -4
- package/dist/esm/pds-link.entry.js +4 -4
- package/dist/esm/pds-loader.entry.js +2 -2
- package/dist/esm/pds-modal-content.entry.js +3 -3
- package/dist/esm/pds-modal-footer.entry.js +2 -2
- package/dist/esm/pds-modal-header.entry.js +2 -2
- package/dist/esm/pds-modal.entry.js +142 -11
- package/dist/esm/pds-multiselect.entry.js +5 -5
- package/dist/esm/pds-popover.entry.js +2 -2
- package/dist/esm/pds-progress.entry.js +2 -2
- package/dist/esm/pds-property.entry.js +2 -2
- package/dist/esm/pds-radio-group.entry.js +5 -5
- package/dist/esm/pds-radio.entry.js +5 -5
- package/dist/esm/pds-row.entry.js +2 -2
- package/dist/esm/pds-select.entry.js +3 -3
- package/dist/esm/pds-sortable-item.entry.js +3 -3
- package/dist/esm/pds-sortable.entry.js +2 -2
- package/dist/esm/pds-switch.entry.js +6 -6
- package/dist/esm/pds-tab.entry.js +1 -1
- package/dist/esm/pds-table-body.entry.js +2 -2
- package/dist/esm/pds-table-cell.entry.js +4 -4
- package/dist/esm/pds-table-head-cell.entry.js +4 -4
- package/dist/esm/pds-table-head.entry.js +2 -2
- package/dist/esm/pds-table-row.entry.js +2 -2
- package/dist/esm/pds-table.entry.js +1 -1
- package/dist/esm/pds-tabpanel.entry.js +2 -2
- package/dist/esm/pds-tabs.entry.js +2 -2
- package/dist/esm/pds-text.entry.js +4 -22
- package/dist/esm/pds-textarea.entry.js +6 -6
- package/dist/esm/pds-toast.entry.js +4 -4
- package/dist/esm/pds-tooltip.entry.js +3 -3
- package/dist/esm/pine-core.js +3 -3
- package/dist/esm/{truncation-tooltip-Blk4GigP.js → truncation-tooltip-CdtEBn_5.js} +51 -1
- package/dist/esm-es5/{index-NNDTPCWx.js → index-CTLu1TM4.js} +1 -1
- package/dist/esm-es5/index.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 +1 -1
- 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-divider.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-content.entry.js +1 -0
- package/dist/esm-es5/pds-drawer-footer.entry.js +1 -0
- package/dist/esm-es5/pds-drawer-header.entry.js +1 -0
- package/dist/esm-es5/pds-drawer.entry.js +1 -0
- 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/esm-es5/truncation-tooltip-CdtEBn_5.js +1 -0
- package/dist/pine-core/index.esm.js +1 -0
- package/dist/pine-core/p-02a47ebb.entry.js +1 -0
- package/dist/pine-core/{p-b3b44b80.entry.js → p-049681fc.entry.js} +1 -1
- package/dist/pine-core/p-053b0898.system.entry.js +1 -0
- package/dist/pine-core/p-09413b07.entry.js +1 -0
- package/dist/pine-core/{p-17d4a99a.system.entry.js → p-0ab735aa.system.entry.js} +1 -1
- package/dist/pine-core/p-12182cab.entry.js +1 -0
- package/dist/pine-core/{p-3170d53b.system.entry.js → p-12ec8186.system.entry.js} +1 -1
- package/dist/pine-core/p-15d3a4bc.system.entry.js +1 -0
- package/dist/pine-core/{p-606418b7.system.entry.js → p-1614c000.system.entry.js} +1 -1
- package/dist/pine-core/{p-6254d112.entry.js → p-17dc3f87.entry.js} +1 -1
- package/dist/pine-core/p-18a59cdd.system.entry.js +1 -0
- package/dist/pine-core/{p-2ec460e1.system.entry.js → p-1e2a9b5d.system.entry.js} +1 -1
- package/dist/pine-core/{p-6f82e8dc.system.entry.js → p-1f307e59.system.entry.js} +1 -1
- package/dist/pine-core/{p-f145e018.entry.js → p-2016c878.entry.js} +1 -1
- package/dist/pine-core/{p-5e6e8d4e.system.entry.js → p-222ff58e.system.entry.js} +1 -1
- package/dist/pine-core/{p-cd407bed.system.entry.js → p-2eb8d697.system.entry.js} +1 -1
- package/dist/pine-core/{p-bf759fc0.entry.js → p-31e1722e.entry.js} +1 -1
- package/dist/pine-core/p-324a7ae4.system.entry.js +1 -0
- package/dist/pine-core/{p-c35fe2e2.entry.js → p-32f10aa9.entry.js} +1 -1
- package/dist/pine-core/p-33c0f3c9.system.entry.js +1 -0
- package/dist/pine-core/{p-31679dbc.system.entry.js → p-3464b456.system.entry.js} +1 -1
- package/dist/pine-core/{p-69372e72.system.entry.js → p-34e38037.system.entry.js} +1 -1
- package/dist/pine-core/{p-2d1cc047.entry.js → p-3605a5f5.entry.js} +1 -1
- package/dist/pine-core/{p-c2688710.entry.js → p-376f8286.entry.js} +1 -1
- package/dist/pine-core/{p-292cf8f9.entry.js → p-3873f55b.entry.js} +1 -1
- package/dist/pine-core/{p-b0058cb0.entry.js → p-3aec9079.entry.js} +1 -1
- package/dist/pine-core/{p-464ec4eb.system.entry.js → p-3c229a00.system.entry.js} +1 -1
- package/dist/pine-core/{p-2fc127b4.system.entry.js → p-3c4236a8.system.entry.js} +1 -1
- package/dist/pine-core/{p-43ef94bc.entry.js → p-3e0c6384.entry.js} +1 -1
- package/dist/pine-core/p-3eca0b00.entry.js +1 -0
- package/dist/pine-core/{p-62f75f84.entry.js → p-3f12afb1.entry.js} +1 -1
- package/dist/pine-core/p-43338f77.system.entry.js +1 -0
- package/dist/pine-core/{p-b89583e7.system.entry.js → p-4661259e.system.entry.js} +1 -1
- package/dist/pine-core/{p-5c7a72aa.system.entry.js → p-4d388957.system.entry.js} +1 -1
- package/dist/pine-core/{p-7e065b59.entry.js → p-51b8490d.entry.js} +1 -1
- package/dist/pine-core/{p-d9cb26fe.system.entry.js → p-51dff5af.system.entry.js} +1 -1
- package/dist/pine-core/p-53a4852e.system.entry.js +1 -0
- package/dist/pine-core/{p-076aaa00.system.entry.js → p-56b34569.system.entry.js} +1 -1
- package/dist/pine-core/{p-a03c12a4.system.entry.js → p-5772f260.system.entry.js} +1 -1
- package/dist/pine-core/{p-3cece186.system.entry.js → p-585ad368.system.entry.js} +1 -1
- package/dist/pine-core/p-591fbff5.entry.js +1 -0
- package/dist/pine-core/{p-83e8f145.entry.js → p-5aea1082.entry.js} +1 -1
- package/dist/pine-core/{p-ff1e9a32.entry.js → p-5d585aa8.entry.js} +1 -1
- package/dist/pine-core/{p-1f20608e.system.entry.js → p-5dd393cd.system.entry.js} +1 -1
- package/dist/pine-core/p-613a64f1.entry.js +1 -0
- package/dist/pine-core/p-630f33d6.system.entry.js +1 -0
- package/dist/pine-core/{p-9374cf48.system.entry.js → p-63686e2a.system.entry.js} +1 -1
- package/dist/pine-core/{p-fef6694d.entry.js → p-6f7a7d55.entry.js} +1 -1
- package/dist/pine-core/{p-0a4f2d5f.system.entry.js → p-6fd863e5.system.entry.js} +1 -1
- package/dist/pine-core/{p-18ae43e3.entry.js → p-714bfdbd.entry.js} +1 -1
- package/dist/pine-core/{p-43268325.system.entry.js → p-76286a68.system.entry.js} +1 -1
- package/dist/pine-core/{p-43d6ab33.system.entry.js → p-7691a875.system.entry.js} +1 -1
- package/dist/pine-core/p-78fd593d.system.entry.js +1 -0
- package/dist/pine-core/{p-8c0040c4.entry.js → p-7b1e3e91.entry.js} +1 -1
- package/dist/pine-core/{p-7bac161d.entry.js → p-7e2b934d.entry.js} +1 -1
- package/dist/pine-core/p-7e44106e.entry.js +1 -0
- package/dist/pine-core/p-84ade640.entry.js +1 -0
- package/dist/pine-core/{p-24fcf841.system.entry.js → p-869ed1c0.system.entry.js} +1 -1
- package/dist/pine-core/p-86bc2a0c.entry.js +1 -0
- package/dist/pine-core/{p-caf73216.entry.js → p-8be301b6.entry.js} +1 -1
- package/dist/pine-core/{p-73b40545.system.entry.js → p-8cc270f0.system.entry.js} +1 -1
- package/dist/pine-core/p-8cea0d7a.system.entry.js +1 -0
- package/dist/pine-core/{p-b759dc21.entry.js → p-8eef80d5.entry.js} +1 -1
- package/dist/pine-core/p-9187c26c.system.entry.js +1 -0
- package/dist/pine-core/{p-2c5fe3d9.system.entry.js → p-92ef1608.system.entry.js} +1 -1
- package/dist/pine-core/{p-d12a93d6.entry.js → p-957dbb0c.entry.js} +1 -1
- package/dist/pine-core/p-B2nn1gSd.js +1 -0
- package/dist/pine-core/{p-CRCxGYgw.system.js → p-B2qvvB3q.system.js} +1 -1
- package/dist/pine-core/p-CTLu1TM4.js +2 -0
- package/dist/pine-core/{p-DVZjHa4_.system.js → p-DAIsVNlL.system.js} +1 -1
- package/dist/pine-core/p-Dr-FzkdE.system.js +1 -0
- package/dist/pine-core/p-G3CPPJEt.system.js +1 -0
- package/dist/pine-core/{p-1b8ac76c.system.entry.js → p-a11a9c40.system.entry.js} +1 -1
- package/dist/pine-core/p-a4a58477.entry.js +1 -0
- package/dist/pine-core/{p-6630f428.system.entry.js → p-a98bf89f.system.entry.js} +1 -1
- package/dist/pine-core/{p-ac2775b5.entry.js → p-ac0098fd.entry.js} +1 -1
- package/dist/pine-core/{p-8cb0eed9.entry.js → p-b109de2e.entry.js} +1 -1
- package/dist/pine-core/{p-cf389430.system.entry.js → p-b32e3174.system.entry.js} +1 -1
- package/dist/pine-core/{p-16f13b17.entry.js → p-b923a70b.entry.js} +1 -1
- package/dist/pine-core/p-be4a6cc2.entry.js +1 -0
- package/dist/pine-core/{p-f7cbdb81.system.entry.js → p-be819bff.system.entry.js} +1 -1
- package/dist/pine-core/{p-78cd9f97.system.entry.js → p-bf3afa16.system.entry.js} +1 -1
- package/dist/pine-core/{p-85f7428b.system.entry.js → p-c09dab1a.system.entry.js} +1 -1
- package/dist/pine-core/p-c0b3f2c1.system.entry.js +1 -0
- package/dist/pine-core/p-c1f8a187.entry.js +1 -0
- package/dist/pine-core/{p-47708864.entry.js → p-c5ce6dea.entry.js} +1 -1
- package/dist/pine-core/{p-6bc9b904.system.entry.js → p-c8bffb08.system.entry.js} +1 -1
- package/dist/pine-core/p-cf24ed1e.system.entry.js +1 -0
- package/dist/pine-core/{p-b1e5e8b1.system.entry.js → p-d0d2a886.system.entry.js} +1 -1
- package/dist/pine-core/{p-1e87e72a.entry.js → p-d12ef40d.entry.js} +1 -1
- package/dist/pine-core/{p-5d1228cb.entry.js → p-d21739eb.entry.js} +1 -1
- package/dist/pine-core/p-d280741f.entry.js +1 -0
- package/dist/pine-core/{p-ab0b992b.entry.js → p-d415bb01.entry.js} +2 -2
- package/dist/pine-core/p-d43db3ba.entry.js +1 -0
- package/dist/pine-core/{p-ec2c0e57.entry.js → p-d46adf7d.entry.js} +2 -2
- package/dist/pine-core/{p-419e711c.entry.js → p-d7865297.entry.js} +1 -1
- package/dist/pine-core/{p-8d6fd5a7.system.entry.js → p-d9ffb2d9.system.entry.js} +1 -1
- package/dist/pine-core/p-db5703f2.entry.js +1 -0
- package/dist/pine-core/p-dd6d9807.system.entry.js +1 -0
- package/dist/pine-core/p-e0da17aa.system.entry.js +1 -0
- package/dist/pine-core/{p-a8a1ae32.system.entry.js → p-e1653d75.system.entry.js} +1 -1
- package/dist/pine-core/{p-a0edb4ad.entry.js → p-e3600c53.entry.js} +1 -1
- package/dist/pine-core/{p-ebe218f8.entry.js → p-e3a7d2db.entry.js} +1 -1
- package/dist/pine-core/{p-b5c760c8.system.entry.js → p-e3cd4627.system.entry.js} +1 -1
- package/dist/pine-core/{p-950dd70e.system.entry.js → p-e410b0d8.system.entry.js} +1 -1
- package/dist/pine-core/p-e5bbe8cc.entry.js +1 -0
- package/dist/pine-core/{p-f6d1469d.entry.js → p-e95225cf.entry.js} +1 -1
- package/dist/pine-core/{p-43a1d9d7.entry.js → p-ed297f3e.entry.js} +1 -1
- package/dist/pine-core/{p-7153efaf.system.entry.js → p-f21aea90.system.entry.js} +1 -1
- package/dist/pine-core/{p-39c6e6c9.entry.js → p-f35596cd.entry.js} +1 -1
- package/dist/pine-core/{p-b9380ce8.entry.js → p-f7a5062f.entry.js} +1 -1
- package/dist/pine-core/{p-d70201bb.entry.js → p-f94667b5.entry.js} +1 -1
- package/dist/pine-core/p-fbf5f315.entry.js +1 -0
- package/dist/pine-core/{p-c3748812.system.entry.js → p-fec298bb.system.entry.js} +2 -2
- package/dist/pine-core/pine-core.css +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/types/components/pds-divider/pds-divider.d.ts +8 -0
- package/dist/types/components/pds-drawer/pds-drawer-content/pds-drawer-content.d.ts +11 -0
- package/dist/types/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.d.ts +5 -0
- package/dist/types/components/pds-drawer/pds-drawer-header/pds-drawer-header.d.ts +5 -0
- package/dist/types/components/pds-drawer/pds-drawer.d.ts +78 -0
- package/dist/types/components/pds-modal/pds-modal.d.ts +38 -0
- package/dist/types/components/pds-table/pds-table-cell/pds-table-cell.d.ts +2 -1
- package/dist/types/components/pds-text/pds-text.d.ts +2 -1
- package/dist/types/components.d.ts +237 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/test/reduced-motion.d.ts +30 -0
- package/dist/types/utils/truncation-tooltip.d.ts +12 -0
- package/dist/vscode.html-data.json +147 -3
- package/hydrate/index.js +551 -103
- package/hydrate/index.mjs +551 -103
- package/package.json +7 -3
- package/dist/esm-es5/truncation-tooltip-Blk4GigP.js +0 -1
- package/dist/pine-core/p-08b0d298.entry.js +0 -1
- package/dist/pine-core/p-0a09ccbe.entry.js +0 -1
- package/dist/pine-core/p-20e0d06c.system.entry.js +0 -1
- package/dist/pine-core/p-36fc1ade.system.entry.js +0 -1
- package/dist/pine-core/p-73619cfc.system.entry.js +0 -1
- package/dist/pine-core/p-7803c5b6.system.entry.js +0 -1
- package/dist/pine-core/p-7ad6f313.entry.js +0 -1
- package/dist/pine-core/p-7b85115b.system.entry.js +0 -1
- package/dist/pine-core/p-7b97974e.system.entry.js +0 -1
- package/dist/pine-core/p-7e146a45.entry.js +0 -1
- package/dist/pine-core/p-8249e027.entry.js +0 -1
- package/dist/pine-core/p-86d12f3c.system.entry.js +0 -1
- package/dist/pine-core/p-8c85f53a.entry.js +0 -1
- package/dist/pine-core/p-92f648ba.entry.js +0 -1
- package/dist/pine-core/p-B1rytYxP.system.js +0 -1
- package/dist/pine-core/p-BNSGedhN.js +0 -1
- package/dist/pine-core/p-NNDTPCWx.js +0 -2
- package/dist/pine-core/p-YWpyar7R.system.js +0 -1
- package/dist/pine-core/p-af1e2778.entry.js +0 -1
- package/dist/pine-core/p-b6812452.system.entry.js +0 -1
- package/dist/pine-core/p-b8f288e8.entry.js +0 -1
- package/dist/pine-core/p-cd2370d0.system.entry.js +0 -1
- package/dist/pine-core/p-d281464e.entry.js +0 -1
- package/dist/pine-core/p-dc460e2d.system.entry.js +0 -1
- package/dist/pine-core/p-dcc4ee5e.entry.js +0 -1
- package/dist/pine-core/p-def5d3d3.entry.js +0 -1
- package/dist/pine-core/p-dfa70d20.entry.js +0 -1
- package/dist/pine-core/p-eed4b552.system.entry.js +0 -1
- /package/dist/esm-es5/{index-BjlFq0VD.js → index-DdPaBxPo.js} +0 -0
- /package/dist/pine-core/{p-WYNNo1N0.system.js → p--Llh7wKm.system.js} +0 -0
- /package/dist/pine-core/{p-BjlFq0VD.js → p-DdPaBxPo.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index$1 = require('./index-
|
|
5
|
-
var truncationTooltip = require('./truncation-tooltip-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
|
+
var index$1 = require('./index-Bu3NXpbK.js');
|
|
5
|
+
var truncationTooltip = require('./truncation-tooltip-Bps7_rUy.js');
|
|
6
6
|
require('./floating-ui.dom-BZk7Blsu.js');
|
|
7
7
|
|
|
8
8
|
const pdsCopytextCss = () => `:host(.pds-copytext){--copytext-color-background-hover:var(--pine-color-background-inset)}:host(.pds-copytext) pds-button{-ms-flex-align:center;align-items:center;border-radius:var(--pine-border-radius-full);border-width:var(--pine-dimension-none);display:-ms-inline-flexbox;display:inline-flex;font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-body-md);font-weight:var(--pine-font-weight-body-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);max-width:100%}:host(.pds-copytext) pds-button::part(button){padding-block:var(--pine-dimension-2xs);padding-inline:var(--pine-dimension-xs)}:host(.pds-copytext) pds-button::part(button):hover{background-color:var(--copytext-color-background-hover);color:var(--pine-color-text-secondary-hover)}:host(.pds-copytext) pds-button span{font-weight:var(--pine-font-weight-medium);-webkit-margin-end:var(--pine-dimension-xs);margin-inline-end:var(--pine-dimension-xs);white-space:nowrap}:host(.pds-copytext) pds-button :nth-child(2){-ms-flex-negative:0;flex-shrink:0}:host(.pds-copytext):host(.pds-copytext--bordered){border-width:var(--pine-dimension-none);padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button{padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button::part(button){padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button::part(button):hover{background-color:transparent}:host(.pds-copytext):host(.pds-copytext--bordered) span{background:var(--pine-color-secondary);border:var(--pine-border);border-radius:var(--pine-border-radius-full);-webkit-margin-end:var(--pine-dimension-sm);margin-inline-end:var(--pine-dimension-sm);padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-sm)}:host(.pds-copytext):host(.pds-copytext--bordered) :hover span{border:var(--pine-border-hover)}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button{display:-ms-inline-flexbox;display:inline-flex;min-width:auto;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-text),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-text){-ms-flex-negative:1;flex-shrink:1;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button span,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{text-align:start;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button{-ms-flex-pack:justify;justify-content:space-between}:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{overflow:hidden;text-overflow:ellipsis}`;
|
|
@@ -71,6 +71,10 @@ const PdsCopytext = class {
|
|
|
71
71
|
hostEl: this.el,
|
|
72
72
|
contentEl: this.valueSpanEl,
|
|
73
73
|
getTooltipText: () => this.value || '',
|
|
74
|
+
// valueSpanEl already sits inside the `<pds-button>` below, which is
|
|
75
|
+
// already focusable and bubbles focusin to the host — a tabindex on
|
|
76
|
+
// the span too would nest a second tab stop inside the button.
|
|
77
|
+
manageTabIndex: false,
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
80
|
}
|
|
@@ -94,7 +98,7 @@ const PdsCopytext = class {
|
|
|
94
98
|
return classNames.join(' ');
|
|
95
99
|
}
|
|
96
100
|
render() {
|
|
97
|
-
return (index.h(index.Host, { key: '
|
|
101
|
+
return (index.h(index.Host, { key: '6e3ff4eb0dc42e57156a162196a06a675cac6f91', class: this.classNames(), id: this.componentId }, index.h("pds-button", { key: '749a8dde35eb3c70941229d11dc6477aaf717ed1', type: "button", variant: "unstyled", onClick: this.handleClick }, index.h("span", { key: '7f457a164f3ae76a37814d37d7b5e3fce86bd803', ref: (el) => this.valueSpanEl = el }, this.value), index.h("pds-icon", { key: '0ff6dad44148c23ee9d693e82880598b91b0630e', "aria-hidden": "true", icon: index$1.copy, size: "16px" }))));
|
|
98
102
|
}
|
|
99
103
|
get el() { return index.getElement(this); }
|
|
100
104
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
|
|
5
|
-
const pdsDividerCss = () => `.pds-divider{background:var(--pine-color-border);border:0;display:-ms-flexbox;display:flex;height:var(--pine-border-width);margin:0;width:100%}.pds-divider--vertical{height:100%;width:1px}.pds-divider--offset-xxs{margin:0 calc(var(--pine-dimension-2xs) * -1);padding:0 var(--pine-dimension-2xs)}.pds-divider--offset-xxs.pds-divider--vertical{margin:calc(var(--pine-dimension-2xs) * -1) 0;padding:var(--pine-dimension-2xs) 0}.pds-divider--offset-xs{margin:0 calc(var(--pine-dimension-xs) * -1);padding:0 var(--pine-dimension-xs)}.pds-divider--offset-xs.pds-divider--vertical{margin:calc(var(--pine-dimension-xs) * -1) 0;padding:var(--pine-dimension-xs) 0}.pds-divider--offset-sm{margin:0 calc(var(--pine-dimension-sm) * -1);padding:0 var(--pine-dimension-sm)}.pds-divider--offset-sm.pds-divider--vertical{margin:calc(var(--pine-dimension-sm) * -1) 0;padding:var(--pine-dimension-sm) 0}.pds-divider--offset-md{margin:0 calc(var(--pine-dimension-md) * -1);padding:0 var(--pine-dimension-md)}.pds-divider--offset-md.pds-divider--vertical{margin:calc(var(--pine-dimension-md) * -1) 0;padding:var(--pine-dimension-md) 0}.pds-divider--offset-lg{margin:0 calc(var(--pine-dimension-lg) * -1);padding:0 var(--pine-dimension-lg)}.pds-divider--offset-lg.pds-divider--vertical{margin:calc(var(--pine-dimension-lg) * -1) 0;padding:var(--pine-dimension-lg) 0}.pds-divider--offset-xl{margin:0 calc(var(--pine-dimension-xl) * -1);padding:0 var(--pine-dimension-xl)}.pds-divider--offset-xl.pds-divider--vertical{margin:calc(var(--pine-dimension-xl) * -1) 0;padding:var(--pine-dimension-xl) 0}.pds-divider--offset-xxl{margin:0 calc(var(--pine-dimension-2xl) * -1);padding:0 var(--pine-dimension-2xl)}.pds-divider--offset-xxl.pds-divider--vertical{margin:calc(var(--pine-dimension-2xl) * -1) 0;padding:var(--pine-dimension-2xl) 0}@media (max-width: 767px){.pds-divider--vertical{display:none}}`;
|
|
5
|
+
const pdsDividerCss = () => `.pds-divider{background:var(--pine-color-border);border:0;display:-ms-flexbox;display:flex;height:var(--pine-border-width);margin:0;width:100%}.pds-divider--vertical{height:100%;width:1px}.pds-divider--labeled{-ms-flex-align:center;align-items:center;background:none;color:var(--pine-color-text);font:var(--pine-typography-body-sm-medium);gap:var(--pine-dimension-sm);height:auto;width:auto}.pds-divider--labeled::before,.pds-divider--labeled::after{background:var(--pine-color-border);content:"";-ms-flex:1;flex:1;height:var(--pine-border-width)}.pds-divider__label{text-align:center}.pds-divider--offset-xxs{margin:0 calc(var(--pine-dimension-2xs) * -1);padding:0 var(--pine-dimension-2xs)}.pds-divider--offset-xxs.pds-divider--vertical{margin:calc(var(--pine-dimension-2xs) * -1) 0;padding:var(--pine-dimension-2xs) 0}.pds-divider--offset-xxs.pds-divider--labeled{padding:0}.pds-divider--offset-xs{margin:0 calc(var(--pine-dimension-xs) * -1);padding:0 var(--pine-dimension-xs)}.pds-divider--offset-xs.pds-divider--vertical{margin:calc(var(--pine-dimension-xs) * -1) 0;padding:var(--pine-dimension-xs) 0}.pds-divider--offset-xs.pds-divider--labeled{padding:0}.pds-divider--offset-sm{margin:0 calc(var(--pine-dimension-sm) * -1);padding:0 var(--pine-dimension-sm)}.pds-divider--offset-sm.pds-divider--vertical{margin:calc(var(--pine-dimension-sm) * -1) 0;padding:var(--pine-dimension-sm) 0}.pds-divider--offset-sm.pds-divider--labeled{padding:0}.pds-divider--offset-md{margin:0 calc(var(--pine-dimension-md) * -1);padding:0 var(--pine-dimension-md)}.pds-divider--offset-md.pds-divider--vertical{margin:calc(var(--pine-dimension-md) * -1) 0;padding:var(--pine-dimension-md) 0}.pds-divider--offset-md.pds-divider--labeled{padding:0}.pds-divider--offset-lg{margin:0 calc(var(--pine-dimension-lg) * -1);padding:0 var(--pine-dimension-lg)}.pds-divider--offset-lg.pds-divider--vertical{margin:calc(var(--pine-dimension-lg) * -1) 0;padding:var(--pine-dimension-lg) 0}.pds-divider--offset-lg.pds-divider--labeled{padding:0}.pds-divider--offset-xl{margin:0 calc(var(--pine-dimension-xl) * -1);padding:0 var(--pine-dimension-xl)}.pds-divider--offset-xl.pds-divider--vertical{margin:calc(var(--pine-dimension-xl) * -1) 0;padding:var(--pine-dimension-xl) 0}.pds-divider--offset-xl.pds-divider--labeled{padding:0}.pds-divider--offset-xxl{margin:0 calc(var(--pine-dimension-2xl) * -1);padding:0 var(--pine-dimension-2xl)}.pds-divider--offset-xxl.pds-divider--vertical{margin:calc(var(--pine-dimension-2xl) * -1) 0;padding:var(--pine-dimension-2xl) 0}.pds-divider--offset-xxl.pds-divider--labeled{padding:0}@media (max-width: 767px){.pds-divider--vertical{display:none}}`;
|
|
6
6
|
|
|
7
7
|
const PdsDivider = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -13,11 +13,18 @@ const PdsDivider = class {
|
|
|
13
13
|
*/
|
|
14
14
|
this.vertical = false;
|
|
15
15
|
}
|
|
16
|
+
get hasLabel() {
|
|
17
|
+
var _a;
|
|
18
|
+
return Boolean((_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()) && !this.vertical;
|
|
19
|
+
}
|
|
16
20
|
classNames() {
|
|
17
21
|
const classNames = ['pds-divider'];
|
|
18
22
|
if (this.vertical) {
|
|
19
23
|
classNames.push('pds-divider--vertical');
|
|
20
24
|
}
|
|
25
|
+
if (this.hasLabel) {
|
|
26
|
+
classNames.push('pds-divider--labeled');
|
|
27
|
+
}
|
|
21
28
|
if (this.offset) {
|
|
22
29
|
const offsetClassName = 'pds-divider--offset-' + this.offset;
|
|
23
30
|
classNames.push(offsetClassName);
|
|
@@ -25,7 +32,7 @@ const PdsDivider = class {
|
|
|
25
32
|
return classNames.join(' ');
|
|
26
33
|
}
|
|
27
34
|
render() {
|
|
28
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: 'c6f887ca1f68c8e572bd518c43d88f052f6d9dd1', id: this.componentId }, this.hasLabel ? (index.h("div", { class: this.classNames(), role: "separator", "aria-label": this.label }, index.h("span", { class: "pds-divider__label", part: "label", "aria-hidden": "true" }, this.label))) : (index.h("hr", { class: this.classNames() }))));
|
|
29
36
|
}
|
|
30
37
|
};
|
|
31
38
|
PdsDivider.style = pdsDividerCss();
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
|
+
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
|
+
|
|
6
|
+
const pdsDrawerContentCss = () => `pds-drawer-content{display:block;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;width:100%}.pds-drawer-content{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;padding:var(--pine-dimension-md);width:100%}.pds-modal--scrollable pds-drawer-content{overflow-y:auto}.pds-modal:not(.pds-modal--scrollable) pds-drawer-content{overflow-y:visible}`;
|
|
7
|
+
|
|
8
|
+
const PdsDrawerContent = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
index.registerInstance(this, hostRef);
|
|
11
|
+
}
|
|
12
|
+
// Unwraps a nested .pds-drawer-content left by a page-cache (Turbo, bfcache) reconnect.
|
|
13
|
+
componentDidRender() {
|
|
14
|
+
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-drawer-content'), '.pds-drawer-content');
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (index.h("div", { key: '432db626c93ab42365ec1af83562eec7ae1c4674', class: "pds-drawer-content" }, index.h("slot", { key: '901ab074f31726023add709a4953bddb43842de2' })));
|
|
18
|
+
}
|
|
19
|
+
get el() { return index.getElement(this); }
|
|
20
|
+
};
|
|
21
|
+
PdsDrawerContent.style = pdsDrawerContentCss();
|
|
22
|
+
|
|
23
|
+
exports.pds_drawer_content = PdsDrawerContent;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
|
+
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
|
+
|
|
6
|
+
const pdsDrawerFooterCss = () => `pds-drawer-footer{display:block;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.pds-drawer__footer{-webkit-border-before:1px solid var(--pine-color-border-subtle);border-block-start:1px solid var(--pine-color-border-subtle);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-sm);-ms-flex-pack:end;justify-content:flex-end;padding:var(--pine-dimension-md);width:100%}`;
|
|
7
|
+
|
|
8
|
+
const PdsDrawerFooter = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
index.registerInstance(this, hostRef);
|
|
11
|
+
}
|
|
12
|
+
// Unwraps a nested .pds-drawer__footer left by a page-cache (Turbo, bfcache) reconnect.
|
|
13
|
+
componentDidRender() {
|
|
14
|
+
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-drawer__footer'), '.pds-drawer__footer');
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (index.h("footer", { key: '71cb35f7b1ccba9e4187eb8942771741f13510dc', class: "pds-drawer__footer" }, index.h("slot", { key: '28927c76ee8194c44f416ee5d4e9ea2e0376bf5a' })));
|
|
18
|
+
}
|
|
19
|
+
get el() { return index.getElement(this); }
|
|
20
|
+
};
|
|
21
|
+
PdsDrawerFooter.style = pdsDrawerFooterCss();
|
|
22
|
+
|
|
23
|
+
exports.pds_drawer_footer = PdsDrawerFooter;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
|
+
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
|
+
|
|
6
|
+
const pdsDrawerHeaderCss = () => `pds-drawer-header{display:block;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.pds-drawer__header{-ms-flex-align:center;align-items:center;-webkit-border-after:1px solid var(--pine-color-border-subtle);border-block-end:1px solid var(--pine-color-border-subtle);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:var(--pine-dimension-md);width:100%}`;
|
|
7
|
+
|
|
8
|
+
const PdsDrawerHeader = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
index.registerInstance(this, hostRef);
|
|
11
|
+
}
|
|
12
|
+
// Unwraps a nested .pds-drawer__header left by a page-cache (Turbo, bfcache) reconnect.
|
|
13
|
+
componentDidRender() {
|
|
14
|
+
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-drawer__header'), '.pds-drawer__header');
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (index.h("header", { key: '48d0585e0e20c9d3142635f0fc0184c0803413b8', class: "pds-drawer__header" }, index.h("slot", { key: '14d9d0bde0116c81892140b22a2b6e9a2b1d969f' })));
|
|
18
|
+
}
|
|
19
|
+
get el() { return index.getElement(this); }
|
|
20
|
+
};
|
|
21
|
+
PdsDrawerHeader.style = pdsDrawerHeaderCss();
|
|
22
|
+
|
|
23
|
+
exports.pds_drawer_header = PdsDrawerHeader;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
|
+
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
|
+
|
|
6
|
+
const pdsDrawerCss = () => `.pds-drawer__modal>.pds-modal__backdrop{-ms-flex-align:stretch;align-items:stretch;background-color:transparent;pointer-events:none}@supports ((-webkit-backdrop-filter: blur(3px)) or (backdrop-filter: blur(3px))){.pds-drawer__modal>.pds-modal__backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}.pds-drawer__modal>.pds-modal__backdrop>.pds-modal{border-radius:0;height:100%;margin:0;max-height:100%;max-width:100%;pointer-events:auto;width:var(--pds-drawer-width, 500px)}.pds-drawer{display:contents}.pds-drawer.pds-drawer--end .pds-drawer__modal>.pds-modal__backdrop{-ms-flex-pack:end;justify-content:flex-end}.pds-drawer.pds-drawer--start .pds-drawer__modal>.pds-modal__backdrop{-ms-flex-pack:start;justify-content:flex-start}.pds-drawer.pds-drawer--sm{--pds-drawer-width:360px}.pds-drawer.pds-drawer--md{--pds-drawer-width:500px}`;
|
|
7
|
+
|
|
8
|
+
// Known selectors for content Pine components portal to document.body rather
|
|
9
|
+
// than rendering in place — pds-popover, pds-tooltip, pds-combobox's dropdown.
|
|
10
|
+
// A pointerdown landing on one of these is not "outside" the drawer in the
|
|
11
|
+
// sense light dismiss cares about: it belongs to an overlay something inside
|
|
12
|
+
// the drawer opened, even though it is not a DOM descendant of the drawer.
|
|
13
|
+
const PORTALED_OVERLAY_SELECTOR = '.pds-popover, .pds-tooltip, .pds-combobox-dropdown-portal';
|
|
14
|
+
const PdsDrawer = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
index.registerInstance(this, hostRef);
|
|
17
|
+
this.pdsDrawerOpen = index.createEvent(this, "pdsDrawerOpen");
|
|
18
|
+
this.pdsDrawerClose = index.createEvent(this, "pdsDrawerClose");
|
|
19
|
+
/**
|
|
20
|
+
* Whether the drawer is open
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
this.open = false;
|
|
24
|
+
/**
|
|
25
|
+
* Which edge of the viewport the drawer is docked to. Logical, so this is
|
|
26
|
+
* free under RTL — `end` is the inline-end edge regardless of direction.
|
|
27
|
+
* @default 'end'
|
|
28
|
+
*/
|
|
29
|
+
this.side = 'end';
|
|
30
|
+
/**
|
|
31
|
+
* The drawer's width.
|
|
32
|
+
* @default 'md'
|
|
33
|
+
*/
|
|
34
|
+
this.size = 'md';
|
|
35
|
+
/**
|
|
36
|
+
* Whether the drawer content should be scrollable
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
this.scrollable = true;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the drawer can be dismissed with a pointerdown outside it.
|
|
42
|
+
* Replaces `pds-modal`'s `backdropDismiss` — there is no backdrop to click.
|
|
43
|
+
* This also gates Escape, matching how `backdropDismiss` gates Escape on
|
|
44
|
+
* `pds-modal` today: setting this to `false` means the close button is the
|
|
45
|
+
* only way out.
|
|
46
|
+
*
|
|
47
|
+
* A trigger outside the drawer should only ever set `open` to `true` and
|
|
48
|
+
* leave closing to the drawer itself. A toggle-style trigger (`open =
|
|
49
|
+
* !open`) fights light dismiss: clicking it while open closes the drawer
|
|
50
|
+
* on `pointerdown`, then the trigger's own click handler re-opens it.
|
|
51
|
+
* @default true
|
|
52
|
+
*/
|
|
53
|
+
this.lightDismiss = true;
|
|
54
|
+
/**
|
|
55
|
+
* Whether to move focus into the drawer when it opens. `auto` is right for
|
|
56
|
+
* a drawer opened by a direct user action (a click, a deep link the user
|
|
57
|
+
* just navigated to). Set to `none` for a drawer that can open from a
|
|
58
|
+
* background event while the user is mid-task elsewhere on the page —
|
|
59
|
+
* moving focus there would interrupt them, and the page stays live under
|
|
60
|
+
* a non-modal drawer, so it is a genuine data-entry risk, not just an
|
|
61
|
+
* annoyance.
|
|
62
|
+
* @default 'auto'
|
|
63
|
+
*/
|
|
64
|
+
this.initialFocus = 'auto';
|
|
65
|
+
}
|
|
66
|
+
// Unwraps a nested pds-modal left by a page-cache (Turbo, bfcache) reconnect
|
|
67
|
+
// — the same bug class fixed for pds-modal-header/-content/-footer. Every
|
|
68
|
+
// render wraps the slotted content in a fresh, marked pds-modal; a reconnect
|
|
69
|
+
// that restores a prior render's pds-modal in our light DOM ends up with
|
|
70
|
+
// that stale one nested inside the new one's content.
|
|
71
|
+
//
|
|
72
|
+
// The container has to be the inner `.pds-modal` content div, not the
|
|
73
|
+
// `<pds-modal>` tag itself — that tag's first child is always its own
|
|
74
|
+
// rendered `dialog.pds-modal__backdrop`, never another `<pds-modal>`, so a
|
|
75
|
+
// bare-tag check there never matches. The `.pds-drawer__modal` marker on
|
|
76
|
+
// the staleness selector (rather than the bare `pds-modal` tag) keeps this
|
|
77
|
+
// from also unwrapping a consumer's own nested pds-modal, like a confirm
|
|
78
|
+
// dialog placed first in the drawer's content — only a stale copy of our
|
|
79
|
+
// own wrapper carries that class.
|
|
80
|
+
componentDidRender() {
|
|
81
|
+
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('pds-modal.pds-drawer__modal .pds-modal'), 'pds-modal.pds-drawer__modal', '.pds-modal');
|
|
82
|
+
}
|
|
83
|
+
// pds-modal closes itself (Escape, light dismiss, a consumer's close
|
|
84
|
+
// button toggling its own `open`) and only updates its own `open` prop —
|
|
85
|
+
// mirror that back onto ours so a consumer's binding stays correct, and
|
|
86
|
+
// re-emit as our own event rather than leaking pds-modal's event name.
|
|
87
|
+
// Both events bubble, so a nested pds-modal (a confirm dialog inside the
|
|
88
|
+
// drawer's own content) would otherwise trigger these too — only react to
|
|
89
|
+
// our own direct inner modal.
|
|
90
|
+
handleModalClose(e) {
|
|
91
|
+
if (e.target !== this.modalEl)
|
|
92
|
+
return;
|
|
93
|
+
this.open = false;
|
|
94
|
+
this.pdsDrawerClose.emit();
|
|
95
|
+
}
|
|
96
|
+
handleModalOpen(e) {
|
|
97
|
+
if (e.target !== this.modalEl)
|
|
98
|
+
return;
|
|
99
|
+
this.pdsDrawerOpen.emit();
|
|
100
|
+
}
|
|
101
|
+
// Light dismiss: a pointerdown anywhere outside the drawer closes it. This
|
|
102
|
+
// has to be a listener of our own, not pds-modal's backdrop-click handler —
|
|
103
|
+
// the backdrop is pointer-events:none out here (see pds-drawer.scss) so the
|
|
104
|
+
// page underneath stays genuinely clickable, which means a click there
|
|
105
|
+
// never reaches pds-modal's backdrop element at all.
|
|
106
|
+
handleOutsidePointerDown(e) {
|
|
107
|
+
if (!this.lightDismiss || !this.open)
|
|
108
|
+
return;
|
|
109
|
+
const target = e.target;
|
|
110
|
+
if (!target)
|
|
111
|
+
return;
|
|
112
|
+
if (this.el.contains(target))
|
|
113
|
+
return;
|
|
114
|
+
if (target.closest(PORTALED_OVERLAY_SELECTOR))
|
|
115
|
+
return;
|
|
116
|
+
// A sibling pds-modal — e.g. a confirm dialog opened from inside the
|
|
117
|
+
// drawer but mounted at the document root rather than nested in our own
|
|
118
|
+
// content — is neither a descendant of the drawer nor on the portaled
|
|
119
|
+
// list above, so without this it reads as "outside" and a click inside
|
|
120
|
+
// it (or on its own backdrop) would close the drawer underneath it. That
|
|
121
|
+
// modal already owns its own dismiss semantics; defer to them instead.
|
|
122
|
+
if (target.closest('pds-modal'))
|
|
123
|
+
return;
|
|
124
|
+
this.open = false;
|
|
125
|
+
}
|
|
126
|
+
render() {
|
|
127
|
+
return (index.h(index.Host, { key: '66e16ca7704243e8bb98002f042fa073ec43c38b', class: {
|
|
128
|
+
'pds-drawer': true,
|
|
129
|
+
[`pds-drawer--${this.side}`]: true,
|
|
130
|
+
[`pds-drawer--${this.size}`]: true,
|
|
131
|
+
} }, index.h("pds-modal", { key: 'b52b8cb1892d52113920ab27344d9a969e6365b6', class: "pds-drawer__modal", ref: (el) => (this.modalEl = el), componentId: this.componentId, open: this.open, scrollable: this.scrollable, disableTopLayer: true, backdropDismiss: this.lightDismiss, disableInitialFocus: this.initialFocus === 'none' }, index.h("slot", { key: 'c9ce43ca12a06c550bd130a0fa7572dec22c9c92' }))));
|
|
132
|
+
}
|
|
133
|
+
get el() { return index.getElement(this); }
|
|
134
|
+
};
|
|
135
|
+
PdsDrawer.style = pdsDrawerCss();
|
|
136
|
+
|
|
137
|
+
exports.pds_drawer = PdsDrawer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
|
|
5
5
|
const pdsDropdownMenuItemCss = () => `:host{cursor:pointer;display:-ms-flexbox;display:flex;width:100%;}:host(.is-disabled){cursor:not-allowed !important;opacity:0.5 !important}:host(.is-disabled) .pds-dropdown-menu-item__content{cursor:not-allowed !important;pointer-events:none !important}.pds-dropdown-menu-item__content{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--pine-dimension-xs);color:var(--pine-color-text);display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;font:var(--pine-typography-body-medium);gap:var(--pine-dimension-xs);margin:calc(var(--pine-border-width) + 2px);padding:var(--pine-dimension-xs);text-align:start;width:100%;}.pds-dropdown-menu-item__content:hover{background-color:var(--pine-color-background-muted);color:var(--pine-color-text-hover)}.pds-dropdown-menu-item__content{}.pds-dropdown-menu-item__content:focus,.pds-dropdown-menu-item__content:focus-visible,.pds-dropdown-menu-item__content.has-focus{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}:host(.destructive) .pds-dropdown-menu-item__content{--pds-context-link-color:var(--pine-color-danger);--pds-context-link-color-hover:var(--pine-color-danger-hover);-ms-flex-align:center;align-items:center;color:var(--pine-color-danger)}:host(.destructive) .pds-dropdown-menu-item__content:hover{background-color:var(--pine-color-danger-disabled);color:var(--pine-color-danger-hover)}:host(.destructive) .pds-dropdown-menu-item__content:focus,:host(.destructive) .pds-dropdown-menu-item__content:focus-visible,:host(.destructive) .pds-dropdown-menu-item__content.has-focus{background-color:var(--pine-color-danger-disabled);outline:var(--pine-outline-focus-danger);outline-offset:var(--pine-border-width)}pds-link::part(link):focus,pds-link::part(link):focus-visible{-webkit-box-shadow:none;box-shadow:none;outline:none}pds-link::part(link){-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);margin:calc(var(--pine-dimension-xs) * -1);padding:var(--pine-dimension-xs);text-decoration:none;width:calc(100% + var(--pine-dimension-xs) * 2)}`;
|
|
6
6
|
|
|
@@ -76,7 +76,7 @@ const PdsDropdownMenuItem = class {
|
|
|
76
76
|
}, tabIndex: this.disabled ? -1 : 0, type: "button", part: "button", onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null }, index.h("slot", null)));
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (index.h(index.Host, { key: '
|
|
79
|
+
return (index.h(index.Host, { key: '2fd3c925ba2f1ead6d0a23c44ac87449e8dad521', id: this.componentId, class: { 'is-disabled': this.disabled, 'destructive': !this.disabled && this.destructive }, onClick: () => !this.disabled && this.handleClick(), role: "none", tabIndex: -1, "aria-disabled": this.disabled ? 'true' : null }, this.renderElement()));
|
|
80
80
|
}
|
|
81
81
|
get host() { return index.getElement(this); }
|
|
82
82
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
|
|
5
5
|
const pdsDropdownMenuSeparatorCss = () => `:host hr{border:0;border-top:var(--pine-border-width-thin) solid var(--pine-color-border);height:0;margin-block:var(--pine-dimension-xs);margin-inline:calc(var(--pine-dimension-xs) * -1)}`;
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ const PdsDropdownMenuSeparator = class {
|
|
|
14
14
|
this.disabled = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h(index.Host, { key: '
|
|
17
|
+
return (index.h(index.Host, { key: 'f55fc3b23a6ccb94a7ce865189e5d65abdd97d8c', id: this.componentId }, index.h("hr", { key: '784a1480881a27aec69c0a2b0afd06f103912544' })));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
PdsDropdownMenuSeparator.style = pdsDropdownMenuSeparatorCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
var floatingUi_dom = require('./floating-ui.dom-BZk7Blsu.js');
|
|
5
5
|
|
|
6
6
|
const pdsDropdownMenuCss = () => `:host{display:block}.is-hidden{display:none}.pds-dropdown-menu--panel{background-color:var(--pine-color-background-overlay);border-radius:var(--pine-dimension-xs);left:var(--pine-dimension-none);min-width:170px;padding:var(--pine-dimension-xs);position:fixed;z-index:var(--pine-z-index-overlay)}:host-context([data-theme=dark]) .pds-dropdown-menu--panel{border:var(--pine-border)}::slotted(a),::slotted(button){-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--pine-dimension-xs) !important;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--pine-color-text) !important;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;font:var(--pine-typography-body-medium) !important;gap:var(--pine-dimension-xs);margin:calc(var(--pine-border-width) + 2px) !important;padding:var(--pine-dimension-xs) !important;text-align:start;text-decoration:none !important;width:calc(100% - (var(--pine-border-width) + 2px) * 2)}::slotted(.destructive){color:var(--pine-color-danger) !important}::slotted([aria-disabled=true]),::slotted([disabled]:not([disabled=false])){cursor:not-allowed;opacity:0.5;pointer-events:none}`;
|
|
@@ -309,7 +309,7 @@ const PdsDropdownMenu = class {
|
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
render() {
|
|
312
|
-
return (index.h(index.Host, { key: '
|
|
312
|
+
return (index.h(index.Host, { key: '7907da6a04530d01bbbd0256f0b609fa53e0a774', id: this.componentId }, index.h("slot", { key: '2bf060c4dec082d4175a7cde759221fd4b20d706', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), index.h("pds-box", { key: '0d81eddee58fda631eb6a39cba0e7ad0d69c02d8', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", role: "menu", "aria-orientation": "vertical", part: "menu-panel" }, index.h("slot", { key: '831485d66af711edc9491078827455762795bb64', onSlotchange: this.handleSlotChange }))));
|
|
313
313
|
}
|
|
314
314
|
get host() { return index.getElement(this); }
|
|
315
315
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
var scroll = require('./scroll-2XcoE_6Q.js');
|
|
5
|
-
var index$1 = require('./index-
|
|
5
|
+
var index$1 = require('./index-Bu3NXpbK.js');
|
|
6
6
|
|
|
7
7
|
const pdsFilterCss = () => `:host{--box-shadow-focus:0 0 0 1px var(--pine-color-background-container), 0 0 0 3px var(--pine-color-focus-ring);display:inline-block;position:relative}.pds-filter__trigger{-ms-flex-align:center;align-items:center;anchor-name:--filter-trigger;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-100);-webkit-box-shadow:var(--pine-box-shadow-050);box-shadow:var(--pine-box-shadow-050);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--pine-color-text-tertiary);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--pine-font-family-inter);font-size:var(--pine-font-size-100);font-weight:var(--pine-font-weight-400);gap:var(--pine-dimension-050);letter-spacing:var(--pine-letter-spacing-114);line-height:var(--pine-line-height-150);padding:var(--pine-dimension-025) var(--pine-dimension-125);position:relative;-webkit-transition:all var(--pine-motion-duration-base) ease;transition:all var(--pine-motion-duration-base) ease}.pds-filter__trigger pds-icon{block-size:var(--pine-font-size-100);color:var(--pine-color-text-secondary);-ms-flex-negative:0;flex-shrink:0;inline-size:var(--pine-font-size-100)}.pds-filter__trigger:hover,.pds-filter__trigger.pds-filter__trigger--open{background-color:var(--pine-color-background-subtle);border-color:var(--pine-color-border-hover);color:var(--pine-color-text-hover)}.pds-filter__trigger:hover pds-icon,.pds-filter__trigger.pds-filter__trigger--open pds-icon{color:var(--pine-color-text-secondary)}.pds-filter__trigger:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-filter__trigger:disabled{cursor:not-allowed;opacity:0.5}.pds-filter__trigger--selected{background-color:var(--pine-color-purple-050);border-color:var(--pine-color-purple-500);color:var(--pine-color-purple-600)}.pds-filter__trigger--selected pds-icon{color:var(--pine-color-purple-600)}.pds-filter__trigger--selected:hover,.pds-filter__trigger--selected.pds-filter__trigger--open{background-color:var(--pine-color-purple-100);border-color:var(--pine-color-purple-500);color:var(--pine-color-purple-600)}.pds-filter__trigger--selected:hover pds-icon,.pds-filter__trigger--selected.pds-filter__trigger--open pds-icon{color:var(--pine-color-purple-600)}.pds-filter__trigger--selected:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-filter__trigger--more{background-color:var(--pine-color-background-container-hover);border:var(--pine-border-width-thin) dashed var(--pine-color-border);color:var(--pine-color-text-tertiary)}.pds-filter__trigger--more pds-icon{color:var(--pine-color-text-secondary)}.pds-filter__trigger--more:hover,.pds-filter__trigger--more.pds-filter__trigger--open{background-color:var(--pine-color-background-subtle);border-color:var(--pine-color-border-hover);color:var(--pine-color-text-hover)}.pds-filter__trigger--more:hover pds-icon,.pds-filter__trigger--more.pds-filter__trigger--open pds-icon{color:var(--pine-color-text-secondary)}.pds-filter__trigger--more:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-filter__trigger--clear{background:transparent;border:var(--pine-border-width-thin) solid transparent;border-radius:var(--pine-dimension-100);-webkit-box-shadow:none;box-shadow:none;color:var(--pine-color-purple-600)}.pds-filter__trigger--clear pds-icon{color:var(--pine-color-purple-600)}.pds-filter__trigger--clear:hover{background-color:var(--pine-color-purple-100);border-color:var(--pine-color-purple-100);color:var(--pine-color-purple-600)}.pds-filter__trigger--clear:hover pds-icon{color:var(--pine-color-purple-600)}.pds-filter__trigger--clear:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-filter__button-content{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;gap:var(--pine-dimension-050);max-inline-size:148px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-filter__button-text{line-height:var(--pine-line-height-150);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-filter__dropdown-icon{block-size:var(--pine-dimension-200);-ms-flex-negative:0;flex-shrink:0;inline-size:var(--pine-dimension-200)}.pds-filter__popover{background-color:var(--pine-color-background-overlay);border:0;border-radius:var(--pine-dimension-100);-webkit-box-shadow:var(--pine-box-shadow-100);box-shadow:var(--pine-box-shadow-100);display:none;inline-size:228px;inset:unset;padding:var(--pine-dimension-100);z-index:var(--pine-z-index-overlay);}.pds-filter__popover:popover-open,.pds-filter__popover.is-open{display:block}.pds-filter__popover{}@supports (anchor-name: --test){.pds-filter__popover{inset-block-start:calc(anchor(--filter-trigger bottom) + var(--pine-dimension-100));inset-inline-start:anchor(--filter-trigger start);position:fixed;position-anchor:--filter-trigger;}.pds-filter__popover.popover-flip-horizontal{inset-inline-end:anchor(--filter-trigger end);inset-inline-start:auto}.pds-filter__popover.popover-flip-vertical{inset-block-start:anchor(--filter-trigger top);-webkit-transform:translateY(calc(-100% - var(--pine-dimension-100)));transform:translateY(calc(-100% - var(--pine-dimension-100)))}.pds-filter__popover.popover-flip-horizontal.popover-flip-vertical{inset-block-start:anchor(--filter-trigger top);inset-inline-end:anchor(--filter-trigger end);inset-inline-start:auto;-webkit-transform:translateY(calc(-100% - var(--pine-dimension-100)));transform:translateY(calc(-100% - var(--pine-dimension-100)))}.pds-filter__popover{}.pds-filter__popover.is-open.popover-flip-horizontal{inset-inline-end:anchor(--filter-trigger end);inset-inline-start:auto}.pds-filter__popover.is-open.popover-flip-vertical{inset-block-start:anchor(--filter-trigger top);-webkit-transform:translateY(calc(-100% - var(--pine-dimension-100)));transform:translateY(calc(-100% - var(--pine-dimension-100)))}.pds-filter__popover.is-open.popover-flip-horizontal.popover-flip-vertical{inset-block-start:anchor(--filter-trigger top);inset-inline-end:anchor(--filter-trigger end);inset-inline-start:auto;-webkit-transform:translateY(calc(-100% - var(--pine-dimension-100)));transform:translateY(calc(-100% - var(--pine-dimension-100)))}}`;
|
|
8
8
|
|
|
@@ -480,7 +480,7 @@ const PdsFilter = class {
|
|
|
480
480
|
return null;
|
|
481
481
|
}
|
|
482
482
|
render() {
|
|
483
|
-
return (index.h(index.Host, { key: '
|
|
483
|
+
return (index.h(index.Host, { key: 'bd03de5e8461e3aba4d6f014e2d64d9aada0c0e1', id: this.componentId }, index.h("button", { key: 'f35cb4aec14b1ed3b61d33c412cbfc89ba19cba3', class: this.getTriggerClasses(), type: "button", popoverTarget: this.variant !== 'clear' ? `${this.componentId}-popover` : undefined, popoverTargetAction: this.variant !== 'clear' ? 'toggle' : undefined, onKeyDown: this.variant === 'clear' ? this.handleKeyDown : undefined, onClick: (event) => this.handleClick(event), part: "button", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": this.variant !== 'clear' ? 'true' : undefined, "aria-controls": this.variant !== 'clear' ? `${this.componentId}-popover` : undefined }, index.h("span", { key: 'b3635542048ac52d290917260181d7313eddaff2', class: "pds-filter__button-content", part: "button-content" }, this.renderIcon(), this.text && (index.h("span", { key: '0c5ef7f7655ddbee33a695703ce192f082b21bf1', class: "pds-filter__button-text", part: "button-text" }, this.text)), this.renderDropdownIcon())), this.variant !== 'clear' && (index.h("div", { key: 'e75c75d8e9e4596d7f0642e4e1f91deae3f2b9fa', ref: el => this.popoverEl = el, id: `${this.componentId}-popover`, class: "pds-filter__popover", popover: "auto", part: "popover" }, index.h("slot", { key: 'bef66af716be823ed3ac36d39a4532785df07f6b' })))));
|
|
484
484
|
}
|
|
485
485
|
get el() { return index.getElement(this); }
|
|
486
486
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
|
|
5
5
|
const pdsFiltersCss = () => `:host{display:block}.pds-filters{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-100)}`;
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ const PdsFilters = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '492357b36ec8ca8552f76aea6a4e4baf01ee92d5', id: this.componentId }, index.h("div", { key: 'fbf56c5452b4b0627a95008a601ccd6ace59417c', class: "pds-filters" }, index.h("slot", { key: 'c0e1d6b7b86ff39425d26dc75bf950283a371f71' }))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
PdsFilters.style = pdsFiltersCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
|
|
5
5
|
const pdsImageCss = () => `:host{--dimension-aspect-ratio:auto;display:inline-block}img{aspect-ratio:var(--dimension-aspect-ratio);display:block;height:auto;max-width:100%}`;
|
|
6
6
|
|
|
@@ -21,9 +21,9 @@ const PdsImage = class {
|
|
|
21
21
|
this.loading = 'eager';
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h(index.Host, { key: '
|
|
24
|
+
return (index.h(index.Host, { key: '0c0f463a1b616ccc485b8086a0210c5d9d2b065c', class: {
|
|
25
25
|
'pds-image': true,
|
|
26
|
-
}, id: this.componentId }, index.h("img", { key: '
|
|
26
|
+
}, id: this.componentId }, index.h("img", { key: '2ac4ef66ebbb39d488ce68f06b590a5fad180811', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
PdsImage.style = pdsImageCss();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
var form = require('./form-MhwfKTuo.js');
|
|
5
5
|
var attributes = require('./attributes-oNMnBEnP.js');
|
|
6
6
|
var utils = require('./utils-7jx8T2mW.js');
|
|
7
|
-
var index$1 = require('./index-
|
|
7
|
+
var index$1 = require('./index-Bu3NXpbK.js');
|
|
8
8
|
|
|
9
9
|
const pdsInputTokensCss = () => `:host{--pine-input-color-background-danger:var(--pine-color-red-050)}`;
|
|
10
10
|
|
|
@@ -294,10 +294,10 @@ const PdsInput = class {
|
|
|
294
294
|
'has-prepend': this.hasPrepend,
|
|
295
295
|
'has-append': this.hasAppend,
|
|
296
296
|
};
|
|
297
|
-
return (index.h(index.Host, { key: '
|
|
297
|
+
return (index.h(index.Host, { key: 'b67b80853cbf1f1e84c3ce6d2ff7e63f480c5b8d', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-prefix": this.hasPrefix ? 'true' : null, "has-suffix": this.hasSuffix ? 'true' : null, "has-prepend": this.hasPrepend ? 'true' : null, "has-append": this.hasAppend ? 'true' : null, "has-action": this.hasAction && !this.hideLabel ? 'true' : null, "full-width": this.fullWidth ? 'true' : null }, index.h("div", { key: '27a60a963cfa1a96391b55800eba27743a2527f4', class: "pds-input" }, label && (index.h("div", { key: '3f8ce2b254feea4b6fe9ea74318f1e6c27a75927', class: {
|
|
298
298
|
'pds-input__label-wrapper': true,
|
|
299
299
|
'visually-hidden': this.hideLabel,
|
|
300
|
-
} }, index.h("label", { key: '
|
|
300
|
+
} }, index.h("label", { key: '1c290cde5a9100b11fe3059725866506d089e834', htmlFor: componentId, class: "pds-input__label" }, index.h("span", { key: '2ebc8dafa48d6d855be5b8e1aa3bdd417d6250f3' }, label, this.required && index.h("span", { key: '73f7d22b13739daff6aa104c140208c5b1a86d10', class: "pds-input__required-indicator" }, " *"))), !this.hideLabel && this.renderAction())), index.h("div", { key: '4ea0b3335abbdf920ca064aa5866a060ef18c2ad', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), index.h("input", Object.assign({ key: '4acf340fdcf40968e9c46b6a240f8a9008998c11', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": form.assignDescription(componentId, invalid, helperMessage, errorMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onKeyDown: this.onKeyDownEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (index.h("p", { key: 'f1969fe3a5f3aba65f44fcdaddd5a12d90db7fb1', class: "pds-input__helper-message", id: form.messageId(componentId, 'helper') }, helperMessage)), errorMessage && (index.h("p", { key: 'd4df1ceff95d5db7f2d927e9fcb848444570f9a2', class: "pds-input__error-message", id: form.messageId(componentId, 'error') }, index.h("pds-icon", { key: 'f69182919903aab42b7641d9a0082861f551a214', "aria-hidden": "true", icon: index$1.danger, size: "small" }), errorMessage)))));
|
|
301
301
|
}
|
|
302
302
|
static get formAssociated() { return true; }
|
|
303
303
|
get el() { return index.getElement(this); }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
var utils = require('./utils-7jx8T2mW.js');
|
|
5
|
-
var index$1 = require('./index-
|
|
5
|
+
var index$1 = require('./index-Bu3NXpbK.js');
|
|
6
6
|
|
|
7
7
|
const pdsLinkCss = () => `:host{display:inline}:host pds-icon{-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs)}.pds-link{-ms-flex-align:center;align-items:center;color:var(--color, var(--pds-context-link-color, var(--pine-color-text)));display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--pine-font-weight-medium)}.pds-link:focus-visible{border-radius:var(--pine-dimension-2xs);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width-thick);position:relative}.pds-link:hover{color:var(--color, var(--pds-context-link-color-hover, var(--pine-color-text-hover)));text-decoration:none}:host([color=secondary]) .pds-link{color:var(--pine-color-text-primary)}:host([color=secondary]) .pds-link:hover{color:var(--pine-color-text-inverse-secondary)}:host([color=accent]) .pds-link{color:var(--pine-color-accent)}:host([color=accent]) .pds-link:hover{color:var(--pine-color-accent-hover)}:host([color=danger]) .pds-link{color:var(--pine-color-danger)}:host([color=danger]) .pds-link:hover{color:var(--pine-color-danger-hover)}.pds-link--sm{font-size:var(--pine-font-size-body-xs)}.pds-link--sm pds-icon{height:var(--pine-dimension-xs);width:var(--pine-dimension-xs)}.pds-link--md{font-size:var(--pine-font-size-body-sm)}.pds-link--md pds-icon{height:var(--pine-dimension-xs);width:var(--pine-dimension-xs)}.pds-link--lg{font-size:var(--pine-font-size-body-md)}.pds-link--lg pds-icon{height:var(--pine-dimension-sm);width:var(--pine-dimension-sm)}.pds-link--plain{text-decoration:none}.pds-link--plain:hover{color:var(--color, var(--pds-context-link-color-hover, var(--pine-color-text-hover)));text-decoration:underline}:host([active]) .pds-link{color:var(--pds-context-link-color, var(--pine-color-text-strong));text-decoration:underline}:host([active]) .pds-link:hover{color:var(--pds-context-link-color-hover, var(--pine-color-text-strong));text-decoration:underline}`;
|
|
8
8
|
|
|
@@ -58,8 +58,8 @@ const PdsLink = class {
|
|
|
58
58
|
const targetValue = this.target || (this.external ? '_blank' : undefined);
|
|
59
59
|
const showExternalIcon = this.external;
|
|
60
60
|
const relValue = targetValue === '_blank' ? 'noopener noreferrer' : undefined;
|
|
61
|
-
return (index.h("a", { key: '
|
|
62
|
-
index.h("pds-icon", { key: '
|
|
61
|
+
return (index.h("a", { key: '9e2d6cc4f2697bd11db4fd7ddd6f9e42ef28cf8c', class: this.classNames(), download: this.download, href: this.href, id: this.componentId, part: "link", "aria-current": this.active ? 'page' : undefined, target: targetValue, rel: relValue, style: this.setLinkStyles(), "data-turbo": this.turbo || undefined, "data-turbo-frame": this.turboFrame || undefined, "data-turbo-action": this.turboAction || undefined, "data-turbo-method": this.turboMethod || undefined, "data-turbo-confirm": this.turboConfirm || undefined, "data-turbo-stream": this.turboStream || undefined, "data-turbo-prefetch": this.turboPrefetch || undefined, "data-turbo-preload": this.turboPreload || undefined }, index.h("slot", { key: 'f48dd74f1921400553845ea3b03720749b1a6737' }, this.href), showExternalIcon &&
|
|
62
|
+
index.h("pds-icon", { key: '299d4f31ec32b614fd9f4d1c19acae63ee7a9169', icon: index$1.launch, size: this.fontSize })));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
PdsLink.style = pdsLinkCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
|
|
5
5
|
const pdsLoaderCss = () => `:host{--loader-color:var(--pine-color-primary);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--pine-dimension-xs)}:host(.pds-loader--hidden),.pds-loader--hidden{border-width:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pds-loader--spinner svg{--number-spinner-timing:2s;--number-spinner-path-timing:1.5s;-webkit-animation:rotate var(--number-spinner-timing) linear infinite;animation:rotate var(--number-spinner-timing) linear infinite;color:var(--loader-color)}.pds-loader__spinner-path{stroke-width:8px}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.pds-loader--typing{--number-typing-timing:1s;--opacity-typing-dot-default:0.4;--opacity-typing-dot-active:1;-ms-flex-align:center;align-items:center;background-color:var(--pine-color-background-muted);border-radius:var(--pine-dimension-sm);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);display:-ms-inline-flexbox;display:inline-flex;gap:var(--pine-dimension-2xs);margin-block:var(--pine-dimension-none);margin-inline:auto;padding-block:15px;padding-inline:20px;position:relative}.pds-loader--typing span{background-color:var(--pine-color-border-hover);block-size:6px;border-radius:var(--pine-border-radius-full);inline-size:6px;opacity:var(--opacity-typing-dot-default)}.pds-loader--typing span:nth-of-type(1){-webkit-animation:var(--number-typing-timing) typing infinite 0.3333s;animation:var(--number-typing-timing) typing infinite 0.3333s}.pds-loader--typing span:nth-of-type(2){-webkit-animation:var(--number-typing-timing) typing infinite 0.6666s;animation:var(--number-typing-timing) typing infinite 0.6666s}.pds-loader--typing span:nth-of-type(3){-webkit-animation:var(--number-typing-timing) typing infinite 0.9999s;animation:var(--number-typing-timing) typing infinite 0.9999s}@-webkit-keyframes typing{50%{opacity:var(--opacity-typing-dot-active);-webkit-transform:scale(1.25);transform:scale(1.25)}}@keyframes typing{50%{opacity:var(--opacity-typing-dot-active);-webkit-transform:scale(1.25);transform:scale(1.25)}}.pds-loader__label{--typography-label-default:var(--pine-font-weight-medium) var(--pine-font-size-body-md)/var(--pine-line-height-body) var(--pine-font-family-body);font:var(--typography-label-default)}`;
|
|
6
6
|
|
|
@@ -48,7 +48,7 @@ const PdsLoader = class {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'ce5b09477f57aad1a09ce3a38b81b64f673944b2', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (index.h("div", { key: 'd193dfdaa527debff73705cef65e3d7f7a9a69ae', class: "pds-loader--spinner" }, index.h("svg", { key: 'c881ff2ee1d5d92ac55300bd13e9d066f7a3970f', style: this.getSvgStyle(), viewBox: "0 0 200 200", fill: "none", part: "loader-svg" }, index.h("defs", { key: '998920cdc820cc4e60df39bda5707e0b6bd5d0fe' }, index.h("linearGradient", { key: '02028f6ac070703f8b96b1723c4d2c07670e73bb', id: "spinner-secondHalf" }, index.h("stop", { key: 'b3120c2a597d8f646e791b1ac09a262486fb29cc', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), index.h("stop", { key: '932056b587b5e3191952506d9411c68375af6620', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), index.h("linearGradient", { key: '14540856cb968c220f71537c012a8c415d39af85', id: "spinner-firstHalf" }, index.h("stop", { key: 'c94d634b1dffa0c5301b8cb2c0b6e81fdb34429e', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), index.h("stop", { key: 'b6477c000c01728a60a7fd8e182f24da4b554128', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), index.h("g", { key: '810f7c7bcd8e33bd2bed70932ed174eef48ae711', class: "pds-loader__spinner-path" }, index.h("path", { key: '4e54f348c563cca7e14790a34a58dacbda452824', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), index.h("path", { key: '3968c60f27ec619aabc74a278026abdd94d4510f', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), index.h("path", { key: '171fe08e0aec1f207704a0395388ccc57ea045d4', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (index.h("div", { key: '60cf0b871807eb49ce73d3e63f00f5914c9c9eec', class: "pds-loader--typing" }, index.h("span", { key: 'dfbdcc1fe558803d39caa56bb57763269c061661' }), index.h("span", { key: '0c343f36a8d71bdc07306b3c879016686da94199' }), index.h("span", { key: 'f2a30e560ef0c9ac26c596dbaad33eeb0e4f7ff3' }))), index.h("div", { key: '0fa18b15a3962df872fd28136caf258cd09cafdb', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, index.h("slot", { key: 'e8eabec0c6d24d3ad962ecee9e0ed6e0e0b4adc0', name: "label" }, "Loading..."))));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
PdsLoader.style = pdsLoaderCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
5
|
|
|
6
6
|
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%}`;
|
|
@@ -184,10 +184,10 @@ const PdsModalContent = class {
|
|
|
184
184
|
render() {
|
|
185
185
|
// Only apply max-height style if it's not 'none'
|
|
186
186
|
const styleObj = this.contentMaxHeight !== 'none' ? { maxHeight: this.contentMaxHeight } : {};
|
|
187
|
-
return (index.h(index.Host, { key: '
|
|
187
|
+
return (index.h(index.Host, { key: '7bd0f26425c71e4551ae21e38d57d2124dabfc50' }, index.h("div", { key: '120e6947e734e44883af975991781f338acd7dbc', class: {
|
|
188
188
|
'pds-modal-content': true,
|
|
189
189
|
[`pds-modal-content--border-${this.border}`]: true
|
|
190
|
-
}, style: styleObj, tabindex: "-1" }, index.h("slot", { key: '
|
|
190
|
+
}, style: styleObj, tabindex: "-1" }, index.h("slot", { key: '6f2c8d44a69df8ecc1214e00604023274cee2790' }))));
|
|
191
191
|
}
|
|
192
192
|
get el() { return index.getElement(this); }
|
|
193
193
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
5
|
|
|
6
6
|
const pdsModalFooterCss = () => `pds-modal-footer{display:block;width:100%}.pds-modal__footer{width:100%}`;
|
|
@@ -14,7 +14,7 @@ const PdsModalFooter = class {
|
|
|
14
14
|
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-modal__footer'), '.pds-modal__footer');
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h("footer", { key: '
|
|
17
|
+
return (index.h("footer", { key: 'f344716ed1fbd77b447e10c9b78565918dc17be0', class: "pds-modal__footer" }, index.h("slot", { key: 'ba85cf6f7f56c8f8a8ff6d24c5fa647722140fda' })));
|
|
18
18
|
}
|
|
19
19
|
get el() { return index.getElement(this); }
|
|
20
20
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CuQil7H0.js');
|
|
4
4
|
var reconnectedContent = require('./reconnected-content-CpnEQcTp.js');
|
|
5
5
|
|
|
6
6
|
const pdsModalHeaderCss = () => `pds-modal-header{display:block;width:100%}.pds-modal__header{width:100%}`;
|
|
@@ -14,7 +14,7 @@ const PdsModalHeader = class {
|
|
|
14
14
|
reconnectedContent.unwrapReconnectedContent(this.el.querySelector('.pds-modal__header'), '.pds-modal__header');
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h("header", { key: '
|
|
17
|
+
return (index.h("header", { key: '0490ac7854089dad4666e2a6509ae730f805f97f', class: "pds-modal__header" }, index.h("slot", { key: 'b76e5a970d3f17411b9e9e5debd981298f2290d1' })));
|
|
18
18
|
}
|
|
19
19
|
get el() { return index.getElement(this); }
|
|
20
20
|
};
|