@pine-ds/core 0.1.4 → 0.1.5
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.js +2 -0
- package/components/index.js.map +1 -0
- package/components/pds-accordion.js +2 -0
- package/components/pds-accordion.js.map +1 -0
- package/components/pds-avatar.js +9 -4
- package/components/pds-avatar.js.map +1 -0
- package/components/pds-box.js +2 -0
- package/components/pds-box.js.map +1 -0
- package/components/pds-button.js +2 -0
- package/components/pds-button.js.map +1 -0
- package/components/pds-button2.js +2 -0
- package/components/pds-button2.js.map +1 -0
- package/components/pds-checkbox.js +2 -0
- package/components/pds-checkbox.js.map +1 -0
- package/components/pds-checkbox2.js +2 -0
- package/components/pds-checkbox2.js.map +1 -0
- package/components/pds-chip.js +2 -0
- package/components/pds-chip.js.map +1 -0
- package/components/pds-copytext.js +2 -0
- package/components/pds-copytext.js.map +1 -0
- package/components/pds-divider.js +2 -0
- package/components/pds-divider.js.map +1 -0
- package/components/pds-icon.js +2 -0
- package/components/pds-icon.js.map +1 -0
- package/components/pds-icon2.js +38 -1
- package/components/pds-icon2.js.map +1 -0
- package/components/pds-image.js +2 -0
- package/components/pds-image.js.map +1 -0
- package/components/pds-input.js +2 -0
- package/components/pds-input.js.map +1 -0
- package/components/pds-label.js +2 -0
- package/components/pds-label.js.map +1 -0
- package/components/pds-link.js +4 -2
- package/components/pds-link.js.map +1 -0
- package/components/pds-progress.js +2 -0
- package/components/pds-progress.js.map +1 -0
- package/components/pds-radio.js +2 -0
- package/components/pds-radio.js.map +1 -0
- package/components/pds-row.js +2 -0
- package/components/pds-row.js.map +1 -0
- package/components/pds-sortable-item.js +2 -0
- package/components/pds-sortable-item.js.map +1 -0
- package/components/pds-sortable.js +2 -0
- package/components/pds-sortable.js.map +1 -0
- package/components/pds-switch.js +2 -0
- package/components/pds-switch.js.map +1 -0
- package/components/pds-tab.js +2 -0
- package/components/pds-tab.js.map +1 -0
- package/components/pds-table-body.js +2 -0
- package/components/pds-table-body.js.map +1 -0
- package/components/pds-table-cell.js +2 -0
- package/components/pds-table-cell.js.map +1 -0
- package/components/pds-table-cell2.js +2 -0
- package/components/pds-table-cell2.js.map +1 -0
- package/components/pds-table-head-cell.js +2 -0
- package/components/pds-table-head-cell.js.map +1 -0
- package/components/pds-table-head-cell2.js +2 -0
- package/components/pds-table-head-cell2.js.map +1 -0
- package/components/pds-table-head.js +2 -0
- package/components/pds-table-head.js.map +1 -0
- package/components/pds-table-row.js +2 -0
- package/components/pds-table-row.js.map +1 -0
- package/components/pds-table.js +2 -0
- package/components/pds-table.js.map +1 -0
- package/components/pds-tabpanel.js +2 -0
- package/components/pds-tabpanel.js.map +1 -0
- package/components/pds-tabs.js +2 -0
- package/components/pds-tabs.js.map +1 -0
- package/components/pds-textarea.js +2 -0
- package/components/pds-textarea.js.map +1 -0
- package/components/pds-tooltip.js +2 -0
- package/components/pds-tooltip.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/{index-af2145ac.js → index-4cd639bf.js} +36 -27
- package/dist/cjs/index-4cd639bf.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -2
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/pds-accordion.cjs.entry.js +3 -1
- package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-avatar.cjs.entry.js +10 -5
- package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-box.cjs.entry.js +3 -1
- package/dist/cjs/pds-box.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-button.cjs.entry.js +3 -1
- package/dist/cjs/pds-button.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-checkbox_2.cjs.entry.js +4 -2
- package/dist/cjs/pds-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-chip.cjs.entry.js +3 -1
- package/dist/cjs/pds-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-copytext.cjs.entry.js +3 -1
- package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-divider.cjs.entry.js +3 -1
- package/dist/cjs/pds-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-icon.cjs.entry.js +39 -2
- package/dist/cjs/pds-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-image.cjs.entry.js +3 -1
- package/dist/cjs/pds-image.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-input.cjs.entry.js +4 -2
- package/dist/cjs/pds-input.cjs.entry.js.map +1 -0
- package/dist/cjs/{pds-label-81c1073a.js → pds-label-c988430d.js} +3 -1
- package/dist/cjs/pds-label-c988430d.js.map +1 -0
- package/dist/cjs/pds-link.cjs.entry.js +5 -3
- package/dist/cjs/pds-link.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-progress.cjs.entry.js +3 -1
- package/dist/cjs/pds-progress.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-radio.cjs.entry.js +4 -2
- package/dist/cjs/pds-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-row.cjs.entry.js +3 -1
- package/dist/cjs/pds-row.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -1
- package/dist/cjs/pds-sortable-item.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-sortable.cjs.entry.js +3 -1
- package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-switch.cjs.entry.js +4 -2
- package/dist/cjs/pds-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tab.cjs.entry.js +3 -1
- package/dist/cjs/pds-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-table-body.cjs.entry.js +3 -1
- package/dist/cjs/pds-table-body.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -1
- package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-table-head.cjs.entry.js +3 -1
- package/dist/cjs/pds-table-head.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-table-row.cjs.entry.js +3 -1
- package/dist/cjs/pds-table-row.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-table.cjs.entry.js +3 -1
- package/dist/cjs/pds-table.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tabpanel.cjs.entry.js +3 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tabs.cjs.entry.js +3 -1
- package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-textarea.cjs.entry.js +4 -2
- package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tooltip.cjs.entry.js +3 -1
- package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/pine-core.cjs.js +7 -3
- package/dist/cjs/pine-core.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/_internal/pds-label/pds-label.js +1 -0
- package/dist/collection/components/_internal/pds-label/pds-label.js.map +1 -0
- package/dist/collection/components/pds-accordion/pds-accordion.js +1 -0
- package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -0
- package/dist/collection/components/pds-avatar/pds-avatar.js +11 -4
- package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -0
- package/dist/collection/components/pds-box/pds-box.js +1 -0
- package/dist/collection/components/pds-box/pds-box.js.map +1 -0
- package/dist/collection/components/pds-button/pds-button.js +1 -0
- package/dist/collection/components/pds-button/pds-button.js.map +1 -0
- package/dist/collection/components/pds-checkbox/checkbox-interface.js +1 -0
- package/dist/collection/components/pds-checkbox/checkbox-interface.js.map +1 -0
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +1 -0
- package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -0
- package/dist/collection/components/pds-chip/pds-chip.js +1 -0
- package/dist/collection/components/pds-chip/pds-chip.js.map +1 -0
- package/dist/collection/components/pds-copytext/pds-copytext.js +1 -0
- package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -0
- package/dist/collection/components/pds-divider/pds-divider.js +1 -0
- package/dist/collection/components/pds-divider/pds-divider.js.map +1 -0
- package/dist/collection/components/pds-image/pds-image.js +1 -0
- package/dist/collection/components/pds-image/pds-image.js.map +1 -0
- package/dist/collection/components/pds-input/pds-input.js +1 -0
- package/dist/collection/components/pds-input/pds-input.js.map +1 -0
- package/dist/collection/components/pds-link/pds-link.js +1 -0
- package/dist/collection/components/pds-link/pds-link.js.map +1 -0
- package/dist/collection/components/pds-progress/pds-progress.js +1 -0
- package/dist/collection/components/pds-progress/pds-progress.js.map +1 -0
- package/dist/collection/components/pds-radio/pds-radio.js +1 -0
- package/dist/collection/components/pds-radio/pds-radio.js.map +1 -0
- package/dist/collection/components/pds-row/pds-row.js +1 -0
- package/dist/collection/components/pds-row/pds-row.js.map +1 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +1 -0
- package/dist/collection/components/pds-sortable/pds-sortable.js +1 -0
- package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -0
- package/dist/collection/components/pds-switch/pds-switch.js +1 -0
- package/dist/collection/components/pds-switch/pds-switch.js.map +1 -0
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -0
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +1 -0
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +1 -0
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +1 -0
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -0
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +1 -0
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +1 -0
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +1 -0
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -0
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +1 -0
- package/dist/collection/components/pds-table/pds-table.js +1 -0
- package/dist/collection/components/pds-table/pds-table.js.map +1 -0
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +1 -0
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js.map +1 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js.map +1 -0
- package/dist/collection/components/pds-tabs/pds-tabs.js +1 -0
- package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -0
- package/dist/collection/components/pds-textarea/pds-textarea.js +1 -0
- package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -0
- package/dist/collection/components/pds-textarea/textarea-interface.js +1 -0
- package/dist/collection/components/pds-textarea/textarea-interface.js.map +1 -0
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +1 -0
- package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -0
- package/dist/collection/global/pine-ui-global.js +1 -0
- package/dist/collection/global/pine-ui-global.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/stories/_helpers/index.js +1 -0
- package/dist/collection/stories/_helpers/index.js.map +1 -0
- package/dist/collection/utils/form.js +1 -0
- package/dist/collection/utils/form.js.map +1 -0
- package/dist/collection/utils/overlay.js +1 -0
- package/dist/collection/utils/overlay.js.map +1 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/collection/utils/utils.js +1 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/docs.json +18 -4
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/{index-9312507f.js → index-09d6e504.js} +37 -27
- package/dist/esm/index-09d6e504.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +7 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/pds-accordion.entry.js +3 -1
- package/dist/esm/pds-accordion.entry.js.map +1 -0
- package/dist/esm/pds-avatar.entry.js +10 -5
- package/dist/esm/pds-avatar.entry.js.map +1 -0
- package/dist/esm/pds-box.entry.js +3 -1
- package/dist/esm/pds-box.entry.js.map +1 -0
- package/dist/esm/pds-button.entry.js +3 -1
- package/dist/esm/pds-button.entry.js.map +1 -0
- package/dist/esm/pds-checkbox_2.entry.js +4 -2
- package/dist/esm/pds-checkbox_2.entry.js.map +1 -0
- package/dist/esm/pds-chip.entry.js +3 -1
- package/dist/esm/pds-chip.entry.js.map +1 -0
- package/dist/esm/pds-copytext.entry.js +3 -1
- package/dist/esm/pds-copytext.entry.js.map +1 -0
- package/dist/esm/pds-divider.entry.js +3 -1
- package/dist/esm/pds-divider.entry.js.map +1 -0
- package/dist/esm/pds-icon.entry.js +38 -1
- package/dist/esm/pds-icon.entry.js.map +1 -0
- package/dist/esm/pds-image.entry.js +3 -1
- package/dist/esm/pds-image.entry.js.map +1 -0
- package/dist/esm/pds-input.entry.js +4 -2
- package/dist/esm/pds-input.entry.js.map +1 -0
- package/dist/esm/{pds-label-d33eab3b.js → pds-label-ea621e18.js} +3 -1
- package/dist/esm/pds-label-ea621e18.js.map +1 -0
- package/dist/esm/pds-link.entry.js +5 -3
- package/dist/esm/pds-link.entry.js.map +1 -0
- package/dist/esm/pds-progress.entry.js +3 -1
- package/dist/esm/pds-progress.entry.js.map +1 -0
- package/dist/esm/pds-radio.entry.js +4 -2
- package/dist/esm/pds-radio.entry.js.map +1 -0
- package/dist/esm/pds-row.entry.js +3 -1
- package/dist/esm/pds-row.entry.js.map +1 -0
- package/dist/esm/pds-sortable-item.entry.js +3 -1
- package/dist/esm/pds-sortable-item.entry.js.map +1 -0
- package/dist/esm/pds-sortable.entry.js +3 -1
- package/dist/esm/pds-sortable.entry.js.map +1 -0
- package/dist/esm/pds-switch.entry.js +4 -2
- package/dist/esm/pds-switch.entry.js.map +1 -0
- package/dist/esm/pds-tab.entry.js +3 -1
- package/dist/esm/pds-tab.entry.js.map +1 -0
- package/dist/esm/pds-table-body.entry.js +3 -1
- package/dist/esm/pds-table-body.entry.js.map +1 -0
- package/dist/esm/pds-table-head-cell.entry.js +3 -1
- package/dist/esm/pds-table-head-cell.entry.js.map +1 -0
- package/dist/esm/pds-table-head.entry.js +3 -1
- package/dist/esm/pds-table-head.entry.js.map +1 -0
- package/dist/esm/pds-table-row.entry.js +3 -1
- package/dist/esm/pds-table-row.entry.js.map +1 -0
- package/dist/esm/pds-table.entry.js +3 -1
- package/dist/esm/pds-table.entry.js.map +1 -0
- package/dist/esm/pds-tabpanel.entry.js +3 -1
- package/dist/esm/pds-tabpanel.entry.js.map +1 -0
- package/dist/esm/pds-tabs.entry.js +3 -1
- package/dist/esm/pds-tabs.entry.js.map +1 -0
- package/dist/esm/pds-textarea.entry.js +4 -2
- package/dist/esm/pds-textarea.entry.js.map +1 -0
- package/dist/esm/pds-tooltip.entry.js +3 -1
- package/dist/esm/pds-tooltip.entry.js.map +1 -0
- package/dist/esm/pine-core.js +8 -4
- package/dist/esm/pine-core.js.map +1 -0
- package/dist/esm-es5/app-globals-0f993ce5.js +2 -0
- package/dist/esm-es5/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm-es5/index-09d6e504.js +3 -0
- package/dist/esm-es5/index-09d6e504.js.map +1 -0
- package/dist/esm-es5/index.js +2 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/loader.js +2 -1
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/pds-accordion.entry.js +2 -1
- package/dist/esm-es5/pds-accordion.entry.js.map +1 -0
- package/dist/esm-es5/pds-avatar.entry.js +2 -1
- package/dist/esm-es5/pds-avatar.entry.js.map +1 -0
- package/dist/esm-es5/pds-box.entry.js +2 -1
- package/dist/esm-es5/pds-box.entry.js.map +1 -0
- package/dist/esm-es5/pds-button.entry.js +2 -1
- package/dist/esm-es5/pds-button.entry.js.map +1 -0
- package/dist/esm-es5/pds-checkbox_2.entry.js +2 -1
- package/dist/esm-es5/pds-checkbox_2.entry.js.map +1 -0
- package/dist/esm-es5/pds-chip.entry.js +2 -1
- package/dist/esm-es5/pds-chip.entry.js.map +1 -0
- package/dist/esm-es5/pds-copytext.entry.js +2 -1
- package/dist/esm-es5/pds-copytext.entry.js.map +1 -0
- package/dist/esm-es5/pds-divider.entry.js +2 -1
- package/dist/esm-es5/pds-divider.entry.js.map +1 -0
- package/dist/esm-es5/pds-icon.entry.js +2 -1
- package/dist/esm-es5/pds-icon.entry.js.map +1 -0
- package/dist/esm-es5/pds-image.entry.js +2 -1
- package/dist/esm-es5/pds-image.entry.js.map +1 -0
- package/dist/esm-es5/pds-input.entry.js +2 -1
- package/dist/esm-es5/pds-input.entry.js.map +1 -0
- package/dist/esm-es5/{pds-label-d33eab3b.js → pds-label-ea621e18.js} +2 -1
- package/dist/esm-es5/pds-label-ea621e18.js.map +1 -0
- package/dist/esm-es5/pds-link.entry.js +2 -1
- package/dist/esm-es5/pds-link.entry.js.map +1 -0
- package/dist/esm-es5/pds-progress.entry.js +2 -1
- package/dist/esm-es5/pds-progress.entry.js.map +1 -0
- package/dist/esm-es5/pds-radio.entry.js +2 -1
- package/dist/esm-es5/pds-radio.entry.js.map +1 -0
- package/dist/esm-es5/pds-row.entry.js +2 -1
- package/dist/esm-es5/pds-row.entry.js.map +1 -0
- package/dist/esm-es5/pds-sortable-item.entry.js +2 -1
- package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -0
- package/dist/esm-es5/pds-sortable.entry.js +3 -2
- package/dist/esm-es5/pds-sortable.entry.js.map +1 -0
- package/dist/esm-es5/pds-switch.entry.js +2 -1
- package/dist/esm-es5/pds-switch.entry.js.map +1 -0
- package/dist/esm-es5/pds-tab.entry.js +2 -1
- package/dist/esm-es5/pds-tab.entry.js.map +1 -0
- package/dist/esm-es5/pds-table-body.entry.js +2 -1
- package/dist/esm-es5/pds-table-body.entry.js.map +1 -0
- package/dist/esm-es5/pds-table-head-cell.entry.js +2 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -0
- package/dist/esm-es5/pds-table-head.entry.js +2 -1
- package/dist/esm-es5/pds-table-head.entry.js.map +1 -0
- package/dist/esm-es5/pds-table-row.entry.js +2 -1
- package/dist/esm-es5/pds-table-row.entry.js.map +1 -0
- package/dist/esm-es5/pds-table.entry.js +2 -1
- package/dist/esm-es5/pds-table.entry.js.map +1 -0
- package/dist/esm-es5/pds-tabpanel.entry.js +2 -1
- package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -0
- package/dist/esm-es5/pds-tabs.entry.js +2 -1
- package/dist/esm-es5/pds-tabs.entry.js.map +1 -0
- package/dist/esm-es5/pds-textarea.entry.js +2 -1
- package/dist/esm-es5/pds-textarea.entry.js.map +1 -0
- package/dist/esm-es5/pds-tooltip.entry.js +2 -1
- package/dist/esm-es5/pds-tooltip.entry.js.map +1 -0
- package/dist/esm-es5/pine-core.js +2 -1
- package/dist/esm-es5/pine-core.js.map +1 -0
- package/dist/pine-core/index.esm.js +2 -0
- package/dist/pine-core/index.esm.js.map +1 -0
- package/dist/pine-core/p-01af198f.entry.js +2 -0
- package/dist/pine-core/p-01af198f.entry.js.map +1 -0
- package/dist/pine-core/{p-6d1f5eb6.system.entry.js → p-0a62887c.system.entry.js} +2 -1
- package/dist/pine-core/p-0a62887c.system.entry.js.map +1 -0
- package/dist/pine-core/p-0b0d7886.system.js +2 -0
- package/dist/pine-core/p-0b0d7886.system.js.map +1 -0
- package/dist/pine-core/{p-bd051dc8.system.entry.js → p-0bcc6945.system.entry.js} +2 -1
- package/dist/pine-core/p-0bcc6945.system.entry.js.map +1 -0
- package/dist/pine-core/{p-c39a7480.system.entry.js → p-11b9aebc.system.entry.js} +2 -1
- package/dist/pine-core/p-11b9aebc.system.entry.js.map +1 -0
- package/dist/pine-core/p-151aafa9.entry.js +2 -0
- package/dist/pine-core/p-151aafa9.entry.js.map +1 -0
- package/dist/pine-core/p-17ba6ff2.js +2 -0
- package/dist/pine-core/p-17ba6ff2.js.map +1 -0
- package/dist/pine-core/{p-8bba9f6b.system.entry.js → p-1e8a1f31.system.entry.js} +2 -1
- package/dist/pine-core/p-1e8a1f31.system.entry.js.map +1 -0
- package/dist/pine-core/{p-b3abea50.system.entry.js → p-20e8c2e6.system.entry.js} +2 -1
- package/dist/pine-core/p-20e8c2e6.system.entry.js.map +1 -0
- package/dist/pine-core/{p-98cc1e47.system.entry.js → p-25cf60f1.system.entry.js} +2 -1
- package/dist/pine-core/p-25cf60f1.system.entry.js.map +1 -0
- package/dist/pine-core/{p-50e04f66.system.entry.js → p-2dd4eacc.system.entry.js} +2 -1
- package/dist/pine-core/p-2dd4eacc.system.entry.js.map +1 -0
- package/dist/pine-core/p-2e531f68.entry.js +2 -0
- package/dist/pine-core/p-2e531f68.entry.js.map +1 -0
- package/dist/pine-core/{p-5812cf50.system.entry.js → p-315a1809.system.entry.js} +2 -1
- package/dist/pine-core/p-315a1809.system.entry.js.map +1 -0
- package/dist/pine-core/{p-363392ea.system.entry.js → p-341eb1ee.system.entry.js} +2 -1
- package/dist/pine-core/p-341eb1ee.system.entry.js.map +1 -0
- package/dist/pine-core/p-3b3f8185.entry.js +2 -0
- package/dist/pine-core/p-3b3f8185.entry.js.map +1 -0
- package/dist/pine-core/{p-ceb83df8.system.entry.js → p-41ca8678.system.entry.js} +2 -1
- package/dist/pine-core/p-41ca8678.system.entry.js.map +1 -0
- package/dist/pine-core/p-45160e15.entry.js +2 -0
- package/dist/pine-core/p-45160e15.entry.js.map +1 -0
- package/dist/pine-core/p-485d225c.entry.js +2 -0
- package/dist/pine-core/p-485d225c.entry.js.map +1 -0
- package/dist/pine-core/{p-207a1db7.system.entry.js → p-48669610.system.entry.js} +2 -1
- package/dist/pine-core/p-48669610.system.entry.js.map +1 -0
- package/dist/pine-core/{p-df4a1834.system.entry.js → p-4b3e96c0.system.entry.js} +2 -1
- package/dist/pine-core/p-4b3e96c0.system.entry.js.map +1 -0
- package/dist/pine-core/p-4b7083de.entry.js +2 -0
- package/dist/pine-core/p-4b7083de.entry.js.map +1 -0
- package/dist/pine-core/{p-0cdd6574.system.js → p-4da2e899.system.js} +2 -1
- package/dist/pine-core/p-4da2e899.system.js.map +1 -0
- package/dist/pine-core/p-50ea2036.system.js +2 -1
- package/dist/pine-core/p-50ea2036.system.js.map +1 -0
- package/dist/pine-core/p-56ba5cbf.system.js +2 -0
- package/dist/pine-core/p-56ba5cbf.system.js.map +1 -0
- package/dist/pine-core/p-57a0a6c5.entry.js +2 -0
- package/dist/pine-core/p-57a0a6c5.entry.js.map +1 -0
- package/dist/pine-core/p-671527a0.entry.js +2 -0
- package/dist/pine-core/p-671527a0.entry.js.map +1 -0
- package/dist/pine-core/p-7248b927.entry.js +2 -0
- package/dist/pine-core/p-7248b927.entry.js.map +1 -0
- package/dist/pine-core/p-76dd047d.entry.js +8 -0
- package/dist/pine-core/p-76dd047d.entry.js.map +1 -0
- package/dist/pine-core/{p-3aafe83d.system.entry.js → p-770e1547.system.entry.js} +2 -1
- package/dist/pine-core/p-770e1547.system.entry.js.map +1 -0
- package/dist/pine-core/{p-cd1bb310.system.entry.js → p-7c8acdb3.system.entry.js} +2 -1
- package/dist/pine-core/p-7c8acdb3.system.entry.js.map +1 -0
- package/dist/pine-core/p-7cd9020d.entry.js +2 -0
- package/dist/pine-core/p-7cd9020d.entry.js.map +1 -0
- package/dist/pine-core/p-857685c4.entry.js +2 -0
- package/dist/pine-core/p-857685c4.entry.js.map +1 -0
- package/dist/pine-core/p-87cc56ab.entry.js +2 -0
- package/dist/pine-core/p-87cc56ab.entry.js.map +1 -0
- package/dist/pine-core/p-8cc2e2f8.entry.js +2 -0
- package/dist/pine-core/p-8cc2e2f8.entry.js.map +1 -0
- package/dist/pine-core/p-95958653.entry.js +2 -0
- package/dist/pine-core/p-95958653.entry.js.map +1 -0
- package/dist/pine-core/{p-98740980.system.entry.js → p-9fd21396.system.entry.js} +2 -1
- package/dist/pine-core/p-9fd21396.system.entry.js.map +1 -0
- package/dist/pine-core/{p-0c443b29.system.entry.js → p-a219ad37.system.entry.js} +2 -1
- package/dist/pine-core/p-a219ad37.system.entry.js.map +1 -0
- package/dist/pine-core/p-a49d36be.entry.js +2 -0
- package/dist/pine-core/p-a49d36be.entry.js.map +1 -0
- package/dist/pine-core/p-aa285167.entry.js +2 -0
- package/dist/pine-core/p-aa285167.entry.js.map +1 -0
- package/dist/pine-core/p-b4226e23.system.entry.js +2 -0
- package/dist/pine-core/p-b4226e23.system.entry.js.map +1 -0
- package/dist/pine-core/p-b5b5ce83.js +3 -0
- package/dist/pine-core/p-b5b5ce83.js.map +1 -0
- package/dist/pine-core/p-ba2d9e1b.entry.js +2 -0
- package/dist/pine-core/p-ba2d9e1b.entry.js.map +1 -0
- package/dist/pine-core/{p-aa9f7889.system.entry.js → p-bb0f674a.system.entry.js} +2 -1
- package/dist/pine-core/p-bb0f674a.system.entry.js.map +1 -0
- package/dist/pine-core/p-bc2b13f3.system.entry.js +2 -0
- package/dist/pine-core/p-bc2b13f3.system.entry.js.map +1 -0
- package/dist/pine-core/{p-fe9b0b4b.system.entry.js → p-be64d326.system.entry.js} +2 -1
- package/dist/pine-core/p-be64d326.system.entry.js.map +1 -0
- package/dist/pine-core/p-c1c8ded7.entry.js +2 -0
- package/dist/pine-core/p-c1c8ded7.entry.js.map +1 -0
- package/dist/pine-core/p-c29d23a4.entry.js +2 -0
- package/dist/pine-core/p-c29d23a4.entry.js.map +1 -0
- package/dist/pine-core/p-c563d4e7.system.js +3 -0
- package/dist/pine-core/p-c563d4e7.system.js.map +1 -0
- package/dist/pine-core/{p-bf49c9da.system.entry.js → p-c5ada91d.system.entry.js} +2 -1
- package/dist/pine-core/p-c5ada91d.system.entry.js.map +1 -0
- package/dist/pine-core/p-c68421c3.entry.js +2 -0
- package/dist/pine-core/p-c68421c3.entry.js.map +1 -0
- package/dist/pine-core/p-c834304b.entry.js +2 -0
- package/dist/pine-core/p-c834304b.entry.js.map +1 -0
- package/dist/pine-core/{p-18d461ea.system.entry.js → p-c88139ec.system.entry.js} +2 -1
- package/dist/pine-core/p-c88139ec.system.entry.js.map +1 -0
- package/dist/pine-core/p-cfa7ba93.entry.js +2 -0
- package/dist/pine-core/p-cfa7ba93.entry.js.map +1 -0
- package/dist/pine-core/{p-46a4a8f0.system.entry.js → p-daba2a44.system.entry.js} +2 -1
- package/dist/pine-core/p-daba2a44.system.entry.js.map +1 -0
- package/dist/pine-core/p-e1255160.js +2 -0
- package/dist/pine-core/p-e1255160.js.map +1 -0
- package/dist/pine-core/p-e411498b.entry.js +2 -0
- package/dist/pine-core/p-e411498b.entry.js.map +1 -0
- package/dist/pine-core/{p-282475be.system.entry.js → p-e8b02bb3.system.entry.js} +2 -1
- package/dist/pine-core/p-e8b02bb3.system.entry.js.map +1 -0
- package/dist/pine-core/{p-6569a81a.system.entry.js → p-ea131385.system.entry.js} +3 -2
- package/dist/pine-core/p-ea131385.system.entry.js.map +1 -0
- package/dist/pine-core/p-ebc52456.system.entry.js +2 -0
- package/dist/pine-core/p-ebc52456.system.entry.js.map +1 -0
- package/dist/pine-core/p-eeaa22fa.entry.js +2 -0
- package/dist/pine-core/p-eeaa22fa.entry.js.map +1 -0
- package/dist/pine-core/p-f544d96d.entry.js +2 -0
- package/dist/pine-core/p-f544d96d.entry.js.map +1 -0
- package/dist/pine-core/{p-539ecb64.system.entry.js → p-f89b8c59.system.entry.js} +2 -1
- package/dist/pine-core/p-f89b8c59.system.entry.js.map +1 -0
- package/dist/pine-core/p-fe4fb39f.entry.js +2 -0
- package/dist/pine-core/p-fe4fb39f.entry.js.map +1 -0
- package/dist/pine-core/{p-2306d119.system.entry.js → p-fe79bcc0.system.entry.js} +2 -1
- package/dist/pine-core/p-fe79bcc0.system.entry.js.map +1 -0
- package/dist/pine-core/pine-core.esm.js +2 -1
- package/dist/pine-core/pine-core.esm.js.map +1 -0
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/pine-core/svg/advanced.svg +1 -0
- package/dist/pine-core/svg/assessment.svg +1 -1
- package/dist/pine-core/svg/caret-up.svg +1 -1
- package/dist/pine-core/svg/cursor-pointer.svg +1 -0
- package/dist/pine-core/svg/cursor.svg +1 -0
- package/dist/pine-core/svg/custom-field.svg +1 -1
- package/dist/pine-core/svg/download.svg +1 -1
- package/dist/pine-core/svg/drawer-collapse.svg +1 -0
- package/dist/pine-core/svg/drawer-expand.svg +1 -0
- package/dist/pine-core/svg/duplicate.svg +1 -1
- package/dist/pine-core/svg/form.svg +1 -1
- package/dist/pine-core/svg/launch.svg +1 -1
- package/dist/pine-core/svg/left-small.svg +1 -1
- package/dist/pine-core/svg/logo-klarna.svg +1 -0
- package/dist/pine-core/svg/mail-open.svg +1 -0
- package/dist/pine-core/svg/microphone-off.svg +1 -1
- package/dist/pine-core/svg/move-left.svg +1 -1
- package/dist/pine-core/svg/newsletter-2.svg +1 -0
- package/dist/pine-core/svg/pause-circle.svg +1 -1
- package/dist/pine-core/svg/phone-toolbar-filled.svg +1 -0
- package/dist/pine-core/svg/play.svg +1 -1
- package/dist/pine-core/svg/plug.svg +1 -1
- package/dist/pine-core/svg/preview-off.svg +1 -1
- package/dist/pine-core/svg/preview-on.svg +1 -1
- package/dist/pine-core/svg/refresh.svg +1 -1
- package/dist/pine-core/svg/remove.svg +1 -1
- package/dist/pine-core/svg/subscriptions.svg +1 -1
- package/dist/pine-core/svg/sync.svg +1 -1
- package/dist/pine-core/svg/tablet-landscape.svg +1 -1
- package/dist/pine-core/svg/wrench.svg +1 -1
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +4 -0
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +192 -51
- package/package.json +2 -2
- package/dist/esm-es5/index-9312507f.js +0 -2
- package/dist/pine-core/p-0375bc6f.entry.js +0 -1
- package/dist/pine-core/p-03ff01dc.entry.js +0 -1
- package/dist/pine-core/p-120f73f1.entry.js +0 -1
- package/dist/pine-core/p-252df6c4.entry.js +0 -1
- package/dist/pine-core/p-3311eba2.entry.js +0 -1
- package/dist/pine-core/p-3bf307ef.system.js +0 -1
- package/dist/pine-core/p-3cfc640c.entry.js +0 -1
- package/dist/pine-core/p-53b584c2.entry.js +0 -1
- package/dist/pine-core/p-56245d76.entry.js +0 -1
- package/dist/pine-core/p-57935c61.entry.js +0 -1
- package/dist/pine-core/p-608e5e25.entry.js +0 -1
- package/dist/pine-core/p-64d32a1e.entry.js +0 -1
- package/dist/pine-core/p-685cd653.entry.js +0 -1
- package/dist/pine-core/p-6c1ea462.entry.js +0 -1
- package/dist/pine-core/p-6d7fcc50.entry.js +0 -1
- package/dist/pine-core/p-7437c53e.entry.js +0 -1
- package/dist/pine-core/p-822517e7.entry.js +0 -1
- package/dist/pine-core/p-8248c25e.system.js +0 -2
- package/dist/pine-core/p-8d320cf0.system.entry.js +0 -1
- package/dist/pine-core/p-9c4510a6.entry.js +0 -1
- package/dist/pine-core/p-9f10f204.entry.js +0 -7
- package/dist/pine-core/p-a0b88908.entry.js +0 -1
- package/dist/pine-core/p-a4d4fbbb.js +0 -1
- package/dist/pine-core/p-a939ca49.entry.js +0 -1
- package/dist/pine-core/p-a954bb71.js +0 -2
- package/dist/pine-core/p-b5e51060.entry.js +0 -1
- package/dist/pine-core/p-bad719c5.entry.js +0 -1
- package/dist/pine-core/p-bfcd70aa.entry.js +0 -1
- package/dist/pine-core/p-c7553aef.system.entry.js +0 -1
- package/dist/pine-core/p-ca96db90.entry.js +0 -1
- package/dist/pine-core/p-d5ec4117.system.entry.js +0 -1
- package/dist/pine-core/p-d7713117.entry.js +0 -1
- package/dist/pine-core/p-dfdd694f.entry.js +0 -1
- package/dist/pine-core/p-e1648d36.entry.js +0 -1
- package/dist/pine-core/p-fee872ab.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
/*!
|
|
6
|
-
Stencil Mock Doc v4.12.
|
|
6
|
+
Stencil Mock Doc v4.12.6 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const CONTENT_REF_ID = 'r';
|
|
9
9
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -595,6 +595,10 @@ class MockEvent {
|
|
|
595
595
|
stopImmediatePropagation() {
|
|
596
596
|
this.cancelBubble = true;
|
|
597
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* @ref https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath
|
|
600
|
+
* @returns a composed path of the event
|
|
601
|
+
*/
|
|
598
602
|
composedPath() {
|
|
599
603
|
const composedPath = [];
|
|
600
604
|
let currentElement = this.target;
|
|
@@ -606,7 +610,17 @@ class MockEvent {
|
|
|
606
610
|
composedPath.push(currentElement.defaultView);
|
|
607
611
|
break;
|
|
608
612
|
}
|
|
609
|
-
|
|
613
|
+
/**
|
|
614
|
+
* bubble up the parent chain until we arrive to the HTML element. Here we continue
|
|
615
|
+
* with the document object instead of the parent element since the parent element
|
|
616
|
+
* is `null` for HTML elements.
|
|
617
|
+
*/
|
|
618
|
+
if (currentElement.parentElement == null && currentElement.tagName === 'HTML') {
|
|
619
|
+
currentElement = currentElement.ownerDocument;
|
|
620
|
+
}
|
|
621
|
+
else {
|
|
622
|
+
currentElement = currentElement.parentElement;
|
|
623
|
+
}
|
|
610
624
|
}
|
|
611
625
|
return composedPath;
|
|
612
626
|
}
|
|
@@ -725,6 +739,9 @@ function triggerEventListener(elm, ev) {
|
|
|
725
739
|
if (elm.nodeName === "#document" /* NODE_NAMES.DOCUMENT_NODE */) {
|
|
726
740
|
triggerEventListener(elm.defaultView, ev);
|
|
727
741
|
}
|
|
742
|
+
else if (elm.parentElement == null && elm.tagName === 'HTML') {
|
|
743
|
+
triggerEventListener(elm.ownerDocument, ev);
|
|
744
|
+
}
|
|
728
745
|
else {
|
|
729
746
|
triggerEventListener(elm.parentElement, ev);
|
|
730
747
|
}
|
|
@@ -2630,18 +2647,104 @@ const jQuery = /*!
|
|
|
2630
2647
|
return jQuery;
|
|
2631
2648
|
});
|
|
2632
2649
|
|
|
2650
|
+
/**
|
|
2651
|
+
* Check whether an element of interest matches a given selector.
|
|
2652
|
+
*
|
|
2653
|
+
* @param selector the selector of interest
|
|
2654
|
+
* @param elm an element within which to find matching elements
|
|
2655
|
+
* @returns whether the element matches the selector
|
|
2656
|
+
*/
|
|
2633
2657
|
function matches(selector, elm) {
|
|
2634
|
-
|
|
2635
|
-
|
|
2658
|
+
try {
|
|
2659
|
+
const r = jQuery.find(selector, undefined, undefined, [elm]);
|
|
2660
|
+
return r.length > 0;
|
|
2661
|
+
}
|
|
2662
|
+
catch (e) {
|
|
2663
|
+
updateSelectorError(selector, e);
|
|
2664
|
+
throw e;
|
|
2665
|
+
}
|
|
2636
2666
|
}
|
|
2667
|
+
/**
|
|
2668
|
+
* Select the first element that matches a given selector
|
|
2669
|
+
*
|
|
2670
|
+
* @param selector the selector of interest
|
|
2671
|
+
* @param elm the element within which to find a matching element
|
|
2672
|
+
* @returns the first matching element, or null if none is found
|
|
2673
|
+
*/
|
|
2637
2674
|
function selectOne(selector, elm) {
|
|
2638
|
-
|
|
2639
|
-
|
|
2675
|
+
try {
|
|
2676
|
+
const r = jQuery.find(selector, elm, undefined, undefined);
|
|
2677
|
+
return r[0] || null;
|
|
2678
|
+
}
|
|
2679
|
+
catch (e) {
|
|
2680
|
+
updateSelectorError(selector, e);
|
|
2681
|
+
throw e;
|
|
2682
|
+
}
|
|
2640
2683
|
}
|
|
2684
|
+
/**
|
|
2685
|
+
* Select all elements that match a given selector
|
|
2686
|
+
*
|
|
2687
|
+
* @param selector the selector of interest
|
|
2688
|
+
* @param elm an element within which to find matching elements
|
|
2689
|
+
* @returns all matching elements
|
|
2690
|
+
*/
|
|
2641
2691
|
function selectAll(selector, elm) {
|
|
2642
|
-
|
|
2692
|
+
try {
|
|
2693
|
+
return jQuery.find(selector, elm, undefined, undefined);
|
|
2694
|
+
}
|
|
2695
|
+
catch (e) {
|
|
2696
|
+
updateSelectorError(selector, e);
|
|
2697
|
+
throw e;
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
/**
|
|
2701
|
+
* A manifest of selectors which are known to be problematic in jQuery. See
|
|
2702
|
+
* here to track implementation and support:
|
|
2703
|
+
* https://github.com/jquery/jquery/issues/5111
|
|
2704
|
+
*/
|
|
2705
|
+
const PROBLEMATIC_SELECTORS = [':scope', ':where', ':is'];
|
|
2706
|
+
/**
|
|
2707
|
+
* Given a selector and an error object thrown by jQuery, annotate the
|
|
2708
|
+
* error's message to add some context as to the probable reason for the error.
|
|
2709
|
+
* In particular, if the selector includes a selector which is known to be
|
|
2710
|
+
* unsupported in jQuery, then we know that was likely the cause of the
|
|
2711
|
+
* error.
|
|
2712
|
+
*
|
|
2713
|
+
* @param selector our selector of interest
|
|
2714
|
+
* @param e an error object that was thrown in the course of using jQuery
|
|
2715
|
+
*/
|
|
2716
|
+
function updateSelectorError(selector, e) {
|
|
2717
|
+
const selectorsPresent = PROBLEMATIC_SELECTORS.filter((s) => selector.includes(s));
|
|
2718
|
+
if (selectorsPresent.length > 0 && e.message) {
|
|
2719
|
+
e.message =
|
|
2720
|
+
`At present jQuery does not support the ${humanReadableList(selectorsPresent)} ${selectorsPresent.length === 1 ? 'selector' : 'selectors'}.
|
|
2721
|
+
If you need this in your test, consider writing an end-to-end test instead.\n` + e.message;
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
/**
|
|
2725
|
+
* Format a list of strings in a 'human readable' way.
|
|
2726
|
+
*
|
|
2727
|
+
* - If one string (['string']), return 'string'
|
|
2728
|
+
* - If two strings (['a', 'b']), return 'a and b'
|
|
2729
|
+
* - If three or more (['a', 'b', 'c']), return 'a, b and c'
|
|
2730
|
+
*
|
|
2731
|
+
* @param items a list of strings to format
|
|
2732
|
+
* @returns a formatted string
|
|
2733
|
+
*/
|
|
2734
|
+
function humanReadableList(items) {
|
|
2735
|
+
if (items.length <= 1) {
|
|
2736
|
+
return items.join('');
|
|
2737
|
+
}
|
|
2738
|
+
return `${items.slice(0, items.length - 1).join(', ')} and ${items[items.length - 1]}`;
|
|
2643
2739
|
}
|
|
2644
2740
|
|
|
2741
|
+
/**
|
|
2742
|
+
* Serialize a node (either a DOM node or a mock-doc node) to an HTML string
|
|
2743
|
+
*
|
|
2744
|
+
* @param elm the node to serialize
|
|
2745
|
+
* @param opts options to control serialization behavior
|
|
2746
|
+
* @returns an html string
|
|
2747
|
+
*/
|
|
2645
2748
|
function serializeNodeToHtml(elm, opts = {}) {
|
|
2646
2749
|
const output = {
|
|
2647
2750
|
currentLineWidth: 0,
|
|
@@ -2702,6 +2805,7 @@ function serializeNodeToHtml(elm, opts = {}) {
|
|
|
2702
2805
|
return output.text.join('');
|
|
2703
2806
|
}
|
|
2704
2807
|
function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
2808
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
2705
2809
|
if (node.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */ || isShadowRoot) {
|
|
2706
2810
|
const tagName = isShadowRoot ? 'mock:shadow-root' : getTagName(node);
|
|
2707
2811
|
if (tagName === 'body') {
|
|
@@ -2709,12 +2813,12 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2709
2813
|
}
|
|
2710
2814
|
const ignoreTag = opts.excludeTags != null && opts.excludeTags.includes(tagName);
|
|
2711
2815
|
if (ignoreTag === false) {
|
|
2712
|
-
const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
2816
|
+
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a = opts.indentSpaces) !== null && _a !== void 0 ? _a : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
2713
2817
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
2714
2818
|
output.text.push('\n');
|
|
2715
2819
|
output.currentLineWidth = 0;
|
|
2716
2820
|
}
|
|
2717
|
-
if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
2821
|
+
if (((_b = opts.indentSpaces) !== null && _b !== void 0 ? _b : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
2718
2822
|
for (let i = 0; i < output.indent; i++) {
|
|
2719
2823
|
output.text.push(' ');
|
|
2720
2824
|
}
|
|
@@ -2739,7 +2843,9 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2739
2843
|
const attrNamespaceURI = attr.namespaceURI;
|
|
2740
2844
|
if (attrNamespaceURI == null) {
|
|
2741
2845
|
output.currentLineWidth += attrName.length + 1;
|
|
2742
|
-
if (opts.approximateLineWidth
|
|
2846
|
+
if (opts.approximateLineWidth &&
|
|
2847
|
+
opts.approximateLineWidth > 0 &&
|
|
2848
|
+
output.currentLineWidth > opts.approximateLineWidth) {
|
|
2743
2849
|
output.text.push('\n' + attrName);
|
|
2744
2850
|
output.currentLineWidth = 0;
|
|
2745
2851
|
}
|
|
@@ -2796,7 +2902,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2796
2902
|
}
|
|
2797
2903
|
if (node.hasAttribute('style')) {
|
|
2798
2904
|
const cssText = node.style.cssText;
|
|
2799
|
-
if (opts.approximateLineWidth
|
|
2905
|
+
if (opts.approximateLineWidth &&
|
|
2906
|
+
opts.approximateLineWidth > 0 &&
|
|
2800
2907
|
output.currentLineWidth + cssText.length + 10 > opts.approximateLineWidth) {
|
|
2801
2908
|
output.text.push(`\nstyle="${cssText}">`);
|
|
2802
2909
|
output.currentLineWidth = 0;
|
|
@@ -2813,14 +2920,14 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2813
2920
|
}
|
|
2814
2921
|
if (EMPTY_ELEMENTS.has(tagName) === false) {
|
|
2815
2922
|
if (opts.serializeShadowRoot && node.shadowRoot != null) {
|
|
2816
|
-
output.indent = output.indent + opts.indentSpaces;
|
|
2923
|
+
output.indent = output.indent + ((_c = opts.indentSpaces) !== null && _c !== void 0 ? _c : 0);
|
|
2817
2924
|
serializeToHtml(node.shadowRoot, opts, output, true);
|
|
2818
|
-
output.indent = output.indent - opts.indentSpaces;
|
|
2925
|
+
output.indent = output.indent - ((_d = opts.indentSpaces) !== null && _d !== void 0 ? _d : 0);
|
|
2819
2926
|
if (opts.newLines &&
|
|
2820
2927
|
(node.childNodes.length === 0 ||
|
|
2821
2928
|
(node.childNodes.length === 1 &&
|
|
2822
2929
|
node.childNodes[0].nodeType === 3 /* NODE_TYPES.TEXT_NODE */ &&
|
|
2823
|
-
node.childNodes[0].nodeValue.trim() === ''))) {
|
|
2930
|
+
((_e = node.childNodes[0].nodeValue) === null || _e === void 0 ? void 0 : _e.trim()) === ''))) {
|
|
2824
2931
|
output.text.push('\n');
|
|
2825
2932
|
output.currentLineWidth = 0;
|
|
2826
2933
|
for (let i = 0; i < output.indent; i++) {
|
|
@@ -2837,9 +2944,9 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2837
2944
|
childNodes[0].nodeType === 3 /* NODE_TYPES.TEXT_NODE */ &&
|
|
2838
2945
|
(typeof childNodes[0].nodeValue !== 'string' || childNodes[0].nodeValue.trim() === '')) ;
|
|
2839
2946
|
else {
|
|
2840
|
-
const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
2841
|
-
if (!isWithinWhitespaceSensitiveNode && opts.indentSpaces > 0 && ignoreTag === false) {
|
|
2842
|
-
output.indent = output.indent + opts.indentSpaces;
|
|
2947
|
+
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_f = opts.indentSpaces) !== null && _f !== void 0 ? _f : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
2948
|
+
if (!isWithinWhitespaceSensitiveNode && ((_g = opts.indentSpaces) !== null && _g !== void 0 ? _g : 0) > 0 && ignoreTag === false) {
|
|
2949
|
+
output.indent = output.indent + ((_h = opts.indentSpaces) !== null && _h !== void 0 ? _h : 0);
|
|
2843
2950
|
}
|
|
2844
2951
|
for (let i = 0; i < childNodeLength; i++) {
|
|
2845
2952
|
serializeToHtml(childNodes[i], opts, output, false);
|
|
@@ -2849,8 +2956,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2849
2956
|
output.text.push('\n');
|
|
2850
2957
|
output.currentLineWidth = 0;
|
|
2851
2958
|
}
|
|
2852
|
-
if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
2853
|
-
output.indent = output.indent - opts.indentSpaces;
|
|
2959
|
+
if (((_j = opts.indentSpaces) !== null && _j !== void 0 ? _j : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
2960
|
+
output.indent = output.indent - ((_k = opts.indentSpaces) !== null && _k !== void 0 ? _k : 0);
|
|
2854
2961
|
for (let i = 0; i < output.indent; i++) {
|
|
2855
2962
|
output.text.push(' ');
|
|
2856
2963
|
}
|
|
@@ -2865,7 +2972,7 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2865
2972
|
}
|
|
2866
2973
|
}
|
|
2867
2974
|
}
|
|
2868
|
-
if (opts.approximateLineWidth > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
|
|
2975
|
+
if (((_l = opts.approximateLineWidth) !== null && _l !== void 0 ? _l : 0) > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
|
|
2869
2976
|
output.text.push('\n');
|
|
2870
2977
|
output.currentLineWidth = 0;
|
|
2871
2978
|
}
|
|
@@ -2885,13 +2992,15 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2885
2992
|
output.text.push(textContent);
|
|
2886
2993
|
output.currentLineWidth += textContent.length;
|
|
2887
2994
|
}
|
|
2888
|
-
else if (opts.approximateLineWidth > 0 && !output.isWithinBody) ;
|
|
2995
|
+
else if (((_m = opts.approximateLineWidth) !== null && _m !== void 0 ? _m : 0) > 0 && !output.isWithinBody) ;
|
|
2889
2996
|
else if (!opts.prettyHtml) {
|
|
2890
2997
|
// this text node is only whitespace, and it's not
|
|
2891
2998
|
// within a whitespace sensitive element like <pre> or <code>
|
|
2892
2999
|
// so replace the entire white space with a single new line
|
|
2893
3000
|
output.currentLineWidth += 1;
|
|
2894
|
-
if (opts.approximateLineWidth
|
|
3001
|
+
if (opts.approximateLineWidth &&
|
|
3002
|
+
opts.approximateLineWidth > 0 &&
|
|
3003
|
+
output.currentLineWidth > opts.approximateLineWidth) {
|
|
2895
3004
|
// good enough for a new line
|
|
2896
3005
|
// for perf these are all just estimates
|
|
2897
3006
|
// we don't care to ensure exact line lengths
|
|
@@ -2906,12 +3015,12 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2906
3015
|
}
|
|
2907
3016
|
else {
|
|
2908
3017
|
// this text node has text content
|
|
2909
|
-
const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
|
|
3018
|
+
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_o = opts.indentSpaces) !== null && _o !== void 0 ? _o : 0) > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
|
|
2910
3019
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
2911
3020
|
output.text.push('\n');
|
|
2912
3021
|
output.currentLineWidth = 0;
|
|
2913
3022
|
}
|
|
2914
|
-
if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
3023
|
+
if (((_p = opts.indentSpaces) !== null && _p !== void 0 ? _p : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
2915
3024
|
for (let i = 0; i < output.indent; i++) {
|
|
2916
3025
|
output.text.push(' ');
|
|
2917
3026
|
}
|
|
@@ -2923,7 +3032,7 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2923
3032
|
const parentTagName = node.parentNode != null && node.parentNode.nodeType === 1 /* NODE_TYPES.ELEMENT_NODE */
|
|
2924
3033
|
? node.parentNode.nodeName
|
|
2925
3034
|
: null;
|
|
2926
|
-
if (NON_ESCAPABLE_CONTENT.has(parentTagName)) {
|
|
3035
|
+
if (typeof parentTagName === 'string' && NON_ESCAPABLE_CONTENT.has(parentTagName)) {
|
|
2927
3036
|
// this text node cannot have its content escaped since it's going
|
|
2928
3037
|
// into an element like <style> or <script>
|
|
2929
3038
|
if (isWithinWhitespaceSensitive(node)) {
|
|
@@ -2956,7 +3065,8 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2956
3065
|
textContentLength = textContent.length;
|
|
2957
3066
|
if (textContentLength > 1) {
|
|
2958
3067
|
if (/\s/.test(textContent.charAt(textContentLength - 1))) {
|
|
2959
|
-
if (opts.approximateLineWidth
|
|
3068
|
+
if (opts.approximateLineWidth &&
|
|
3069
|
+
opts.approximateLineWidth > 0 &&
|
|
2960
3070
|
output.currentLineWidth + textContentLength > opts.approximateLineWidth) {
|
|
2961
3071
|
textContent = textContent.trimRight() + '\n';
|
|
2962
3072
|
output.currentLineWidth = 0;
|
|
@@ -2978,20 +3088,20 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
|
|
|
2978
3088
|
else if (node.nodeType === 8 /* NODE_TYPES.COMMENT_NODE */) {
|
|
2979
3089
|
const nodeValue = node.nodeValue;
|
|
2980
3090
|
if (opts.removeHtmlComments) {
|
|
2981
|
-
const isHydrateAnnotation = nodeValue.startsWith(CONTENT_REF_ID + '.') ||
|
|
2982
|
-
nodeValue.startsWith(ORG_LOCATION_ID + '.') ||
|
|
2983
|
-
nodeValue.startsWith(SLOT_NODE_ID + '.') ||
|
|
2984
|
-
nodeValue.startsWith(TEXT_NODE_ID + '.');
|
|
3091
|
+
const isHydrateAnnotation = (nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(CONTENT_REF_ID + '.')) ||
|
|
3092
|
+
(nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(ORG_LOCATION_ID + '.')) ||
|
|
3093
|
+
(nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(SLOT_NODE_ID + '.')) ||
|
|
3094
|
+
(nodeValue === null || nodeValue === void 0 ? void 0 : nodeValue.startsWith(TEXT_NODE_ID + '.'));
|
|
2985
3095
|
if (!isHydrateAnnotation) {
|
|
2986
3096
|
return;
|
|
2987
3097
|
}
|
|
2988
3098
|
}
|
|
2989
|
-
const isWithinWhitespaceSensitiveNode = opts.newLines || opts.indentSpaces > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
3099
|
+
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_q = opts.indentSpaces) !== null && _q !== void 0 ? _q : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
2990
3100
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
2991
3101
|
output.text.push('\n');
|
|
2992
3102
|
output.currentLineWidth = 0;
|
|
2993
3103
|
}
|
|
2994
|
-
if (opts.indentSpaces > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
3104
|
+
if (((_r = opts.indentSpaces) !== null && _r !== void 0 ? _r : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
|
|
2995
3105
|
for (let i = 0; i < output.indent; i++) {
|
|
2996
3106
|
output.text.push(' ');
|
|
2997
3107
|
}
|
|
@@ -3025,12 +3135,21 @@ function escapeString(str, attrMode) {
|
|
|
3025
3135
|
}
|
|
3026
3136
|
return str.replace(LT_REGEX, '<').replace(GT_REGEX, '>');
|
|
3027
3137
|
}
|
|
3138
|
+
/**
|
|
3139
|
+
* Determine whether a given node is within a whitespace-sensitive node by
|
|
3140
|
+
* walking the parent chain until either a whitespace-sensitive node is found or
|
|
3141
|
+
* there are no more parents to examine.
|
|
3142
|
+
*
|
|
3143
|
+
* @param node a node to check
|
|
3144
|
+
* @returns whether or not this is within a whitespace-sensitive node
|
|
3145
|
+
*/
|
|
3028
3146
|
function isWithinWhitespaceSensitive(node) {
|
|
3029
|
-
|
|
3030
|
-
|
|
3147
|
+
let _node = node;
|
|
3148
|
+
while (_node != null) {
|
|
3149
|
+
if (WHITESPACE_SENSITIVE.has(_node.nodeName)) {
|
|
3031
3150
|
return true;
|
|
3032
3151
|
}
|
|
3033
|
-
|
|
3152
|
+
_node = _node.parentNode;
|
|
3034
3153
|
}
|
|
3035
3154
|
return false;
|
|
3036
3155
|
}
|
|
@@ -3044,6 +3163,9 @@ function isWithinWhitespaceSensitive(node) {
|
|
|
3044
3163
|
'NOFRAMES',
|
|
3045
3164
|
'PLAINTEXT',
|
|
3046
3165
|
]);
|
|
3166
|
+
/**
|
|
3167
|
+
* A list of whitespace sensitive tag names, such as `code`, `pre`, etc.
|
|
3168
|
+
*/
|
|
3047
3169
|
const WHITESPACE_SENSITIVE = new Set([
|
|
3048
3170
|
'CODE',
|
|
3049
3171
|
'OUTPUT',
|
|
@@ -4103,6 +4225,18 @@ class MockHTMLElement extends MockElement {
|
|
|
4103
4225
|
set tagName(value) {
|
|
4104
4226
|
this.nodeName = value;
|
|
4105
4227
|
}
|
|
4228
|
+
/**
|
|
4229
|
+
* A node’s parent of type Element is known as its parent element.
|
|
4230
|
+
* If the node has a parent of a different type, its parent element
|
|
4231
|
+
* is null.
|
|
4232
|
+
* @returns MockElement
|
|
4233
|
+
*/
|
|
4234
|
+
get parentElement() {
|
|
4235
|
+
if (this.nodeName === 'HTML') {
|
|
4236
|
+
return null;
|
|
4237
|
+
}
|
|
4238
|
+
return super.parentElement;
|
|
4239
|
+
}
|
|
4106
4240
|
get attributes() {
|
|
4107
4241
|
if (this.__attributeMap == null) {
|
|
4108
4242
|
const attrMap = createAttributeProxy(true);
|
|
@@ -7063,8 +7197,7 @@ const createElm = (e, t, o, n) => {
|
|
|
7063
7197
|
}, isSameVnode = (e, t, o = !1) => e.$tag$ === t.$tag$ && ("slot" === e.$tag$ ? e.$name$ === t.$name$ : !(!o) || e.$key$ === t.$key$), referenceNode = e => e && e["s-ol"] || e, parentReferenceNode = e => (e["s-ol"] ? e["s-ol"] : e).parentNode, patch = (e, t, o = !1) => {
|
|
7064
7198
|
const n = t.$elm$ = e.$elm$, s = e.$children$, l = t.$children$, a = t.$tag$, r = t.$text$;
|
|
7065
7199
|
let i;
|
|
7066
|
-
null !== r ? (i = n["s-cr"]) ? i.parentNode.textContent = r : e.$text$ !== r && (n.data = r) : (("slot" === a
|
|
7067
|
-
null !== s && null !== l ? ((e, t, o, n, s = !1) => {
|
|
7200
|
+
null !== r ? (i = n["s-cr"]) ? i.parentNode.textContent = r : e.$text$ !== r && (n.data = r) : (("slot" === a && !useNativeShadowDom ? BUILD.experimentalSlotFixes : updateElement(e, t, isSvgMode)), null !== s && null !== l ? ((e, t, o, n, s = !1) => {
|
|
7068
7201
|
let l, a, r = 0, i = 0, d = 0, c = 0, $ = t.length - 1, m = t[0], p = t[$], h = n.length - 1, f = n[0], u = n[h];
|
|
7069
7202
|
for (;r <= $ && i <= h; ) if (null == m) m = t[++r]; else if (null == p) p = t[--$]; else if (null == f) f = n[++i]; else if (null == u) u = n[--h]; else if (isSameVnode(m, f, s)) patch(m, f, s),
|
|
7070
7203
|
m = t[++r], f = n[++i]; else if (isSameVnode(p, u, s)) patch(p, u, s), p = t[--$],
|
|
@@ -7132,9 +7265,9 @@ const createElm = (e, t, o, n) => {
|
|
|
7132
7265
|
if (d.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, d.$attrsToReflect$.map((([e, t]) => $.$attrs$[t] = i[e]))),
|
|
7133
7266
|
o && $.$attrs$) for (const e of Object.keys($.$attrs$)) i.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && ($.$attrs$[e] = i[e]);
|
|
7134
7267
|
if ($.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i,
|
|
7135
|
-
(scopeId = i["s-sc"]),
|
|
7136
|
-
|
|
7137
|
-
BUILD.slotRelocation) {
|
|
7268
|
+
(scopeId = i["s-sc"]), useNativeShadowDom = supportsShadow,
|
|
7269
|
+
(contentRef = i["s-cr"], checkSlotFallbackVisibility = !1),
|
|
7270
|
+
patch(c, $, o), BUILD.slotRelocation) {
|
|
7138
7271
|
if (plt.$flags$ |= 1, checkSlotRelocate) {
|
|
7139
7272
|
markSlotContentForRelocation($.$elm$);
|
|
7140
7273
|
for (const e of relocateNodes) {
|
|
@@ -7319,8 +7452,10 @@ const callRender = (e, t, o, n) => {
|
|
|
7319
7452
|
return e;
|
|
7320
7453
|
}, initializeComponent = async (e, t, o, n) => {
|
|
7321
7454
|
let s;
|
|
7322
|
-
if (
|
|
7323
|
-
|
|
7455
|
+
if (!(32 & t.$flags$)) {
|
|
7456
|
+
t.$flags$ |= 32;
|
|
7457
|
+
const n = o.$lazyBundleId$;
|
|
7458
|
+
if (n) {
|
|
7324
7459
|
if (s = loadModule(o), s.then) {
|
|
7325
7460
|
s = await s;
|
|
7326
7461
|
}
|
|
@@ -7335,7 +7470,7 @@ const callRender = (e, t, o, n) => {
|
|
|
7335
7470
|
}
|
|
7336
7471
|
(t.$flags$ &= -9), (t.$flags$ |= 128), e(),
|
|
7337
7472
|
fireConnectedCallback(t.$lazyInstance$);
|
|
7338
|
-
}
|
|
7473
|
+
} else s = e.constructor, customElements.whenDefined(o.$tagName$).then((() => t.$flags$ |= 128));
|
|
7339
7474
|
if (s.style) {
|
|
7340
7475
|
let n = s.style;
|
|
7341
7476
|
const l = getScopeId(o);
|
|
@@ -7350,7 +7485,7 @@ const callRender = (e, t, o, n) => {
|
|
|
7350
7485
|
}, fireConnectedCallback = e => {
|
|
7351
7486
|
safeCall(e, "connectedCallback");
|
|
7352
7487
|
}, connectedCallback = e => {
|
|
7353
|
-
if (
|
|
7488
|
+
if (!(1 & plt.$flags$)) {
|
|
7354
7489
|
const t = getHostRef(e), o = t.$cmpMeta$, n = createTime("connectedCallback", o.$tagName$);
|
|
7355
7490
|
if (1 & t.$flags$) addHostEventListeners(e, t, o.$listeners$), (null == t ? void 0 : t.$lazyInstance$) ? fireConnectedCallback(t.$lazyInstance$) : (null == t ? void 0 : t.$onReadyPromise$) && t.$onReadyPromise$.then((() => fireConnectedCallback(t.$lazyInstance$))); else {
|
|
7356
7491
|
let n;
|
|
@@ -7393,7 +7528,7 @@ const callRender = (e, t, o, n) => {
|
|
|
7393
7528
|
} catch (e) {
|
|
7394
7529
|
consoleError(e);
|
|
7395
7530
|
}
|
|
7396
|
-
}, getHostListenerTarget = (e, t) => 16 & t ? doc.body : e, hostListenerOpts = e =>
|
|
7531
|
+
}, getHostListenerTarget = (e, t) => 16 & t ? doc.body : e, hostListenerOpts = e => !!(2 & e), insertVdomAnnotations = (e, t) => {
|
|
7397
7532
|
if (null != e) {
|
|
7398
7533
|
const o = {
|
|
7399
7534
|
hostIds: 0,
|
|
@@ -7582,19 +7717,25 @@ class PdsAccordion {
|
|
|
7582
7717
|
const pdsAvatarCss = "/*!@:host*/.sc-pds-avatar-h{display:inline-block}/*!@div*/div.sc-pds-avatar{--background-color:var(--pine-color-primary-100);--badge-background-color:var(--pine-color-base-white);--border:var(--pine-border-default);--radius-round:50%;-ms-flex-align:center;align-items:center;background-color:var(--background-color);border-radius:var(--admin-radius-round, var(--radius-round));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;position:relative}/*!@:host(.pds-avatar--admin) div*/.pds-avatar--admin.sc-pds-avatar-h div.sc-pds-avatar{--admin-radius-round:12px;border-radius:var(--admin-radius-round)}/*!@:host(.pds-avatar--has-image) div*/.pds-avatar--has-image.sc-pds-avatar-h div.sc-pds-avatar{background:transparent}@supports selector(:has){/*!@div:has(img)*/div.sc-pds-avatar:has(img){background-color:transparent}}/*!@.pds-avatar__button*/.pds-avatar__button.sc-pds-avatar{--box-shadow-focus:0 0 0 4px var(--pine-color-primary-200);-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--radius-round);cursor:pointer;display:-ms-flexbox;display:flex;padding:0}/*!@.pds-avatar__button:focus-visible*/.pds-avatar__button.sc-pds-avatar:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}/*!@.pds-avatar__badge*/.pds-avatar__badge.sc-pds-avatar{background-color:var(--badge-background-color);border:var(--border);border-color:var(--badge-background-color);border-radius:var(--radius-round);bottom:0;position:absolute;right:0}/*!@img*/img.sc-pds-avatar{border-radius:var(--admin-radius-round, var(--radius-round));height:100%;-o-object-fit:cover;object-fit:cover;width:100%}";
|
|
7583
7718
|
var PdsAvatarStyle0 = pdsAvatarCss;
|
|
7584
7719
|
|
|
7720
|
+
/**
|
|
7721
|
+
* @part image - The main image element that represents the avatar component.
|
|
7722
|
+
*/
|
|
7585
7723
|
class PdsAvatar {
|
|
7586
7724
|
constructor(hostRef) {
|
|
7587
7725
|
registerInstance(this, hostRef);
|
|
7588
|
-
this.
|
|
7726
|
+
this.renderAssetWrapper = () => {
|
|
7589
7727
|
const style = {
|
|
7590
7728
|
height: this.avatarSize(),
|
|
7591
7729
|
width: this.avatarSize()
|
|
7592
7730
|
};
|
|
7731
|
+
return (hAsync("div", { style: style, part: "asset-wrapper" }, this.renderIconOrImage(), this.renderBadge()));
|
|
7732
|
+
};
|
|
7733
|
+
this.renderAvatar = () => {
|
|
7593
7734
|
return (this.dropdown
|
|
7594
7735
|
?
|
|
7595
|
-
hAsync("button", { class: "pds-avatar__button", type: "button" },
|
|
7736
|
+
hAsync("button", { class: "pds-avatar__button", type: "button" }, this.renderAssetWrapper())
|
|
7596
7737
|
:
|
|
7597
|
-
|
|
7738
|
+
this.renderAssetWrapper());
|
|
7598
7739
|
};
|
|
7599
7740
|
this.renderBadge = () => (this.badge
|
|
7600
7741
|
// Percentage is average size of icon in relation to total avatar size
|
|
@@ -7636,7 +7777,7 @@ class PdsAvatar {
|
|
|
7636
7777
|
}
|
|
7637
7778
|
}
|
|
7638
7779
|
render() {
|
|
7639
|
-
return (hAsync(Host, { key: '
|
|
7780
|
+
return (hAsync(Host, { key: 'e934e89ad98ccb12b0efa4daffa0449b989cdf53', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
|
|
7640
7781
|
}
|
|
7641
7782
|
static get style() { return PdsAvatarStyle0; }
|
|
7642
7783
|
static get cmpMeta() { return {
|
|
@@ -8362,8 +8503,8 @@ class PdsInput {
|
|
|
8362
8503
|
}; }
|
|
8363
8504
|
}
|
|
8364
8505
|
|
|
8365
|
-
/* pds-icons v3.
|
|
8366
|
-
const launch = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path fill-rule='evenodd' d='M15.138.862a.
|
|
8506
|
+
/* pds-icons v3.6.0, ES Modules */
|
|
8507
|
+
const launch = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path fill-rule='evenodd' d='M15.138.862a.664.664 0 0 1 .195.461v5.344a.667.667 0 0 1-1.333 0V2.943L7.805 9.138a.667.667 0 1 1-.943-.943L13.057 2H9.333a.667.667 0 0 1 0-1.333h5.333c.171 0 .342.065.472.195ZM1.333 2a.667.667 0 0 0-.666.667v12c0 .368.298.666.666.666h12a.667.667 0 0 0 .667-.666V10a.667.667 0 0 0-1.333 0v4H2V3.333h4A.667.667 0 1 0 6 2H1.333Z'/></svg>";
|
|
8367
8508
|
|
|
8368
8509
|
const pdsLinkCss = "/*!@:host*/.sc-pds-link-h{--border-radius:var(--pine-border-radius-sm);--color:var(--pine-color-neutral-charcoal-400);--font-size:var(--pine-font-size-body);--font-size-sm:var(--pine-font-size-body-sm);--font-size-xs:var(--pine-font-size-body-xs);--font-weight:var(--pine-font-weight-medium);--margin-inline-start:var(--pine-spacing-xxs);--outline:4px solid var(--pine-color-primary-200);--svg-lg:15px;--svg-md:13px;--svg-sm:11px;display:inline}/*!@:host pds-icon*/.sc-pds-link-h pds-icon.sc-pds-link{-webkit-margin-start:var(--margin-inline-start);margin-inline-start:var(--margin-inline-start)}/*!@.pds-link*/.pds-link.sc-pds-link{-ms-flex-align:center;align-items:center;color:var(--color);display:-ms-inline-flexbox;display:inline-flex;font-weight:inherit}/*!@.pds-link:focus*/.pds-link.sc-pds-link:focus{border-radius:var(--border-radius);outline:var(--outline)}/*!@.pds-link--sm*/.pds-link--sm.sc-pds-link{font-size:var(--font-size-xs)}/*!@.pds-link--sm pds-icon*/.pds-link--sm.sc-pds-link pds-icon.sc-pds-link{height:var(--svg-sm);width:var(--svg-sm)}/*!@.pds-link--md*/.pds-link--md.sc-pds-link{font-size:var(--font-size-sm)}/*!@.pds-link--md pds-icon*/.pds-link--md.sc-pds-link pds-icon.sc-pds-link{height:var(--svg-md);width:var(--svg-md)}/*!@.pds-link--lg*/.pds-link--lg.sc-pds-link{font-size:var(--font-size)}/*!@.pds-link--lg pds-icon*/.pds-link--lg.sc-pds-link pds-icon.sc-pds-link{height:var(--svg-lg);width:var(--svg-lg)}/*!@.pds-link--plain*/.pds-link--plain.sc-pds-link{font-weight:var(--font-weight);text-decoration:none}/*!@.pds-link--plain:hover*/.pds-link--plain.sc-pds-link:hover{text-decoration:underline}/*!@.pds-link--default*/.pds-link--default.sc-pds-link{text-decoration:underline}/*!@.pds-link--default:hover*/.pds-link--default.sc-pds-link:hover{text-decoration:none}";
|
|
8369
8510
|
var PdsLinkStyle0 = pdsLinkCss;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pine-ds/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Base components for Pine Design System",
|
|
6
6
|
"author": "Kajabi Design System Services",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"test.watch": "stencil test --spec --e2e --watchAll --coverage"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@pine-ds/icons": "^3.
|
|
59
|
+
"@pine-ds/icons": "^3.6.0",
|
|
60
60
|
"@stencil/core": "^4.8.1",
|
|
61
61
|
"sortablejs": "^1.15.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__extends,__generator,__spreadArray}from"tslib";var NAMESPACE="pine-core";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var getAssetPath=function(e){var t=new URL(e,plt.t);return t.origin!==win.location.origin?t.href:t.pathname};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var o=null;var l=false;var u=false;var f=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(l&&u){f[f.length-1].i+=a}else{f.push(l?newVNode(null,a):a)}u=l}}};s(r);if(t){if(t.key){i=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,f,vdomFnUtils)}var v=newVNode(e,null);v.o=t;if(f.length>0){v.l=f}{v.u=i}{v.v=o}return v};var newVNode=function(e,t){var r={p:0,m:e,i:t,h:null,l:null};{r.o=null}{r.u=null}{r.v=null}return r};var Host={};var isHost=function(e){return e&&e.m===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.o,vchildren:e.l,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.i}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.o=e.vattrs;r.l=e.vchildren;r.u=e.vkey;r.v=e.vname;return r};var initializeClientHydrate=function(e,t,r,n){var a=createTime("hydrateClient",t);var i=e.shadowRoot;var o=[];var l=[];var u=i?[]:null;var f=n.S=newVNode(t,null);if(!plt.T){initializeDocumentHydrate(doc.body,plt.T=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);clientHydrate(f,o,l,u,e,e,r);o.map((function(e){var r=e.C+"."+e._;var n=plt.T.get(r);var a=e.h;if(n&&supportsShadow&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}plt.T.delete(r)}));if(i){u.map((function(e){if(e){i.appendChild(e)}}))}a()};var clientHydrate=function(e,t,r,n,a,i,o){var l;var u;var f;var s;if(i.nodeType===1){l=i.getAttribute(HYDRATE_CHILD_ID);if(l){u=l.split(".");if(u[0]===o||u[0]==="0"){f={p:0,C:u[0],_:u[1],$:u[2],R:u[3],m:i.tagName.toLowerCase(),h:i,o:null,l:null,u:null,v:null,i:null};t.push(f);i.removeAttribute(HYDRATE_CHILD_ID);if(!e.l){e.l=[]}e.l[f.R]=f;e=f;if(n&&f.$==="0"){n[f.R]=f.h}}}for(s=i.childNodes.length-1;s>=0;s--){clientHydrate(e,t,r,n,a,i.childNodes[s],o)}if(i.shadowRoot){for(s=i.shadowRoot.childNodes.length-1;s>=0;s--){clientHydrate(e,t,r,n,a,i.shadowRoot.childNodes[s],o)}}}else if(i.nodeType===8){u=i.nodeValue.split(".");if(u[1]===o||u[1]==="0"){l=u[0];f={p:0,C:u[1],_:u[2],$:u[3],R:u[4],h:i,o:null,l:null,u:null,v:null,m:null,i:null};if(l===TEXT_NODE_ID){f.h=i.nextSibling;if(f.h&&f.h.nodeType===3){f.i=f.h.textContent;t.push(f);i.remove();if(!e.l){e.l=[]}e.l[f.R]=f;if(n&&f.$==="0"){n[f.R]=f.h}}}else if(f.C===o){if(l===SLOT_NODE_ID){f.m="slot";if(u[5]){i["s-sn"]=f.v=u[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){f.h=doc.createElement(f.m);if(f.v){f.h.setAttribute("name",f.v)}i.parentNode.insertBefore(f.h,i);i.remove();if(f.$==="0"){n[f.R]=f.h}}r.push(f);if(!e.l){e.l=[]}e.l[f.R]=f}else if(l===CONTENT_REF_ID){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.m==="style"){var c=newVNode(null,i.textContent);c.h=i;c.R="0";e.l=[c]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){initializeDocumentHydrate(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){initializeDocumentHydrate(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===ORG_LOCATION_ID){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var a=getScopeId(t);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){if(e.host&&(l=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]')))){l.innerHTML=i}else{l=doc.createElement("style");l.innerHTML=i;var u=(n=plt.D)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(u!=null){l.setAttribute("nonce",u)}e.insertBefore(l,e.querySelector("link"))}if(t.p&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.N;var r=e.$hostElement$;var n=t.p;var a=createTime("attachStyles",t.k);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+e.k};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var setAccessor=function(e,t,r,n,a,i){if(r!==n){var o=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var u=e.classList;var f=parseClassList(r);var s=parseClassList(n);u.remove.apply(u,f.filter((function(e){return e&&!s.includes(e)})));u.add.apply(u,s.filter((function(e){return e&&!f.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var v=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,v)}if(n){plt.ael(e,t,n,v)}}}else{var d=isComplexType(n);if((o||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var m=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;m=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(m){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!d){n=n===true?"":n;if(m){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var a=t.h.nodeType===11&&t.h.host?t.h.host:t.h;var i=e&&e.o||EMPTY_OBJ;var o=t.o||EMPTY_OBJ;{for(n in i){if(!(n in o)){setAccessor(a,n,i[n],undefined,r,t.p)}}}for(n in o){setAccessor(a,n,i[n],o[n],r,t.p)}};var createElm=function(e,t,r,n){var a=t.l[r];var i=0;var o;var l;var u;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.m==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.p|=a.l?2:1}}if(a.i!==null){o=a.h=doc.createTextNode(a.i)}else if(a.p&1){o=a.h=doc.createTextNode("")}else{o=a.h=doc.createElement(a.p&2?"slot-fb":a.m);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.l){for(i=0;i<a.l.length;++i){l=createElm(e,a,i,o);if(l){o.appendChild(l)}}}}o["s-hn"]=hostTagName;{if(a.p&(2|1)){o["s-sr"]=true;o["s-cr"]=contentRef;o["s-sn"]=a.v||"";u=e&&e.l&&e.l[r];if(u&&u.m===a.m&&e.h){{putBackInOriginalLocation(e.h,false)}}}}return o};var putBackInOriginalLocation=function(e,t){plt.p|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;a["s-sh"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.p&=~1};var addVnodes=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){l=createElm(null,r,a,e);if(l){n[a].h=l;o.insertBefore(l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.h;nullifyVNodeRefs(a);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,r,n,a){if(a===void 0){a=false}var i=0;var o=0;var l=0;var u=0;var f=t.length-1;var s=t[0];var c=t[f];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=f&&o<=v){if(s==null){s=t[++i]}else if(c==null){c=t[--f]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(s,d,a)){patch(s,d,a);s=t[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=t[--f];p=n[--v]}else if(isSameVnode(s,p,a)){if(s.m==="slot"||p.m==="slot"){putBackInOriginalLocation(s.h.parentNode,false)}patch(s,p,a);e.insertBefore(s.h,c.h.nextSibling);s=t[++i];p=n[--v]}else if(isSameVnode(c,d,a)){if(s.m==="slot"||p.m==="slot"){putBackInOriginalLocation(c.h.parentNode,false)}patch(c,d,a);e.insertBefore(c.h,s.h);c=t[--f];d=n[++o]}else{l=-1;{for(u=i;u<=f;++u){if(t[u]&&t[u].u!==null&&t[u].u===d.u){l=u;break}}}if(l>=0){h=t[l];if(h.m!==d.m){m=createElm(t&&t[o],r,l,e)}else{patch(h,d,a);t[l]=undefined;m=h.h}d=n[++o]}else{m=createElm(t&&t[o],r,o,e);d=n[++o]}if(m){{parentReferenceNode(s.h).insertBefore(m,referenceNode(s.h))}}}}if(i>f){addVnodes(e,n[v+1]==null?null:n[v+1].h,r,n,o,v)}else if(o>v){removeVnodes(t,i,f)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.m===t.m){if(e.m==="slot"){return e.v===t.v}if(!r){return e.u===t.u}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.h=e.h;var a=e.l;var i=t.l;var o=t.m;var l=t.i;var u;if(l===null){{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,t,i,r)}else if(i!==null){if(e.i!==null){n.textContent=""}addVnodes(n,null,t,i,0,i.length-1)}else if(a!==null){removeVnodes(a,0,a.length-1)}}else if(u=n["s-cr"]){u.parentNode.textContent=l}else if(e.i!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;for(var r=0,n=t;r<n.length;r++){var a=n[r];if(a.nodeType===1){if(a["s-sr"]){var i=a["s-sn"];a.hidden=false;for(var o=0,l=t;o<l.length;o++){var u=l[o];if(u!==a){if(u["s-hn"]!==a["s-hn"]||i!==""){if(u.nodeType===1&&(i===u.getAttribute("slot")||i===u["s-sn"])){a.hidden=true;break}}else{if(u.nodeType===1||u.nodeType===3&&u.textContent.trim()!==""){a.hidden=true;break}}}}}updateFallbackSlotVisibility(a)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;for(var a=0,i=e.childNodes;a<i.length;a++){var o=i[a];if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;var l=o["s-sn"];var u=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&!BUILD.experimentalSlotFixes){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.L===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.L["s-sh"]=o["s-hn"];e.I=o}else{t["s-sh"]=o["s-hn"];relocateNodes.push({I:o,L:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.L,t["s-sn"])){e=relocateNodes.find((function(e){return e.L===t}));if(e&&!r.I){r.I=e.I}}}))}}else if(!relocateNodes.some((function(e){return e.L===t}))){relocateNodes.push({L:t})}}};for(n=r.length-1;n>=0;n--){u()}}if(o.nodeType===1){markSlotContentForRelocation(o)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var nullifyVNodeRefs=function(e){{e.o&&e.o.ref&&e.o.ref(null);e.l&&e.l.map(nullifyVNodeRefs)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,a,i,o;var l=e.$hostElement$;var u=e.N;var f=e.S||newVNode(null,null);var s=isHost(t)?t:h(null,null,t);hostTagName=l.tagName;if(u.H){s.o=s.o||{};u.H.map((function(e){var t=e[0],r=e[1];return s.o[r]=l[t]}))}if(r&&s.o){for(var c=0,v=Object.keys(s.o);c<v.length;c++){var d=v[c];if(l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){s.o[d]=l[d]}}}s.m=null;s.p|=4;e.S=s;s.h=f.h=l.shadowRoot||l;{scopeId=l["s-sc"]}{contentRef=l["s-cr"];useNativeShadowDom=(u.p&1)!==0;checkSlotFallbackVisibility=false}patch(f,s,r);{plt.p|=1;if(checkSlotRelocate){markSlotContentForRelocation(s.h);for(var p=0,m=relocateNodes;p<m.length;p++){var y=m[p];var S=y.L;if(!S["s-ol"]){var T=doc.createTextNode("");T["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=T,S)}}for(var g=0,C=relocateNodes;g<C.length;g++){var y=C[g];var S=y.L;var _=y.I;if(_){var E=_.parentNode;var b=_.nextSibling;{var T=(n=S["s-ol"])===null||n===void 0?void 0:n.previousSibling;while(T){var $=(a=T["s-nr"])!==null&&a!==void 0?a:null;if($&&$["s-sn"]===S["s-sn"]&&E===$.parentNode){$=$.nextSibling;if(!$||!$["s-nr"]){b=$;break}}T=T.previousSibling}}if(!b&&E!==S.parentNode||S.nextSibling!==b){if(S!==b){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}E.insertBefore(S,b);if(S.nodeType===1){S.hidden=(i=S["s-ih"])!==null&&i!==void 0?i:false}}}}else{if(S.nodeType===1){if(r){S["s-ih"]=(o=S.hidden)!==null&&o!==void 0?o:false}S.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(s.h)}plt.p&=~1;relocateNodes.length=0}contentRef=undefined};var attachToAncestor=function(e,t){if(t&&!e.A&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.A=t})))}};var scheduleUpdate=function(e,t){{e.p|=16}if(e.p&4){e.p|=512;return}attachToAncestor(e,e.O);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.N.k);var n=e.V;var a;if(t){{e.p|=256;if(e.F){e.F.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.F=undefined}}{a=safeCall(n,"componentWillLoad")}}{a=enqueue(a,(function(){return safeCall(n,"componentWillRender")}))}r();return enqueue(a,(function(){return updateComponent(e,n,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,u,f;return __generator(this,(function(s){a=e.$hostElement$;i=createTime("update",e.N.k);o=a["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.N.k);{callRender(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{u=(n=a["s-p"])!==null&&n!==void 0?n:[];f=function(){return postUpdateComponent(e)};if(u.length===0){f()}else{Promise.all(u).then(f);e.p|=4;u.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render();{e.p&=~16}{e.p|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.N.k;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.V;var i=e.O;{safeCall(a,"componentDidRender")}if(!(e.p&64)){e.p|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.P(r);if(!i){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.M(r)}{if(e.A){e.A();e.A=undefined}if(e.p&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.p&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).U.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var i=a.$hostElement$;var o=a.U.get(t);var l=a.p;var u=a.V;r=parsePropertyValue(r,n.q[t][0]);var f=Number.isNaN(o)&&Number.isNaN(r);var s=r!==o&&!f;if((!(l&8)||o===undefined)&&s){a.U.set(t,r);if(u){if(n.Y&&l&128){var c=n.Y[t];if(c){c.map((function(e){try{u[e](r,o,t)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){var n;var a=e.prototype;if(t.q){if(e.watchers){t.Y=e.watchers}var i=Object.entries(t.q);i.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var a=getHostRef(this);return(r=a===null||a===void 0?void 0:a.B)===null||r===void 0?void 0:r.then((function(){var t;return(t=a.V)===null||t===void 0?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var l;var u=o.get(e);if(i.hasOwnProperty(u)){n=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==n){return}else if(u==null){var f=getHostRef(i);var s=f===null||f===void 0?void 0:f.p;if(s&&!(s&8)&&s&128&&n!==r){var c=f.V;var v=(l=t.Y)===null||l===void 0?void 0:l[e];v===null||v===void 0?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}i[u]=n===null&&typeof i[u]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=t.Y)!==null&&n!==void 0?n:{}),true),i.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a;var i=n[1]||r;o.set(i,r);if(n[0]&512){(a=t.H)===null||a===void 0?void 0:a.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var e,n,a,i,o,l,u,f;return __generator(this,(function(s){switch(s.label){case 0:if(!((t.p&32)===0))return[3,3];t.p|=32;e=loadModule(r);if(!e.then)return[3,2];n=uniqueTime();return[4,e];case 1:e=s.sent();n();s.label=2;case 2:if(!e.isProxied){{r.Y=e.watchers}proxyComponent(e,r,2);e.isProxied=true}a=createTime("createInstance",r.k);{t.p|=8}try{new e(t)}catch(e){consoleError(e)}{t.p&=~8}{t.p|=128}a();fireConnectedCallback(t.V);if(e.style){i=e.style;o=getScopeId(r);if(!styles.has(o)){l=createTime("registerStyles",r.k);registerStyle(o,i,!!(r.p&1));l()}}s.label=3;case 3:u=t.O;f=function(){return scheduleUpdate(t,true)};if(u&&u["s-rc"]){u["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.p&1)===0){var t=getHostRef(e);var r=t.N;var n=createTime("connectedCallback",r.k);if(!(t.p&1)){t.p|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(r.p&1){var i=addStyle(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}initializeClientHydrate(e,r.k,a,t)}}if(!a){if(r.p&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.O=o);break}}}if(r.q){Object.entries(r.q).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.j);if(t===null||t===void 0?void 0:t.V){fireConnectedCallback(t.V)}else if(t===null||t===void 0?void 0:t.W){t.W.then((function(){return fireConnectedCallback(t.V)}))}}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.p&1)===0){t=getHostRef(e);{if(t.X){t.X.map((function(e){return e()}));t.X=undefined}}if(t===null||t===void 0?void 0:t.V){disconnectInstance(t.V)}else if(t===null||t===void 0?void 0:t.W){t.W.then((function(){return disconnectInstance(t.V)}))}}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var l=doc.head;var u=l.querySelector("meta[charset]");var f=doc.createElement("style");var s=[];var c=doc.querySelectorAll("[".concat(HYDRATED_STYLE_ID,"]"));var v;var d=true;var p=0;Object.assign(plt,t);plt.t=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.p|=2}{for(;p<c.length;p++){registerStyle(c[p].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow(c[p].innerHTML),true)}}var m=false;e.map((function(e){e[1].map((function(t){var r;var n={p:t[0],k:t[1],q:t[2],j:t[3]};if(n.p&4){m=true}{n.q=t[2]}{n.j=t[3]}{n.H=[]}{n.Y=(r=t[4])!==null&&r!==void 0?r:{}}var l=n.k;var u=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.p&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){s.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).W};return t}(HTMLElement);n.G=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,proxyComponent(u,n,1))}}))}));if(m){f.innerHTML+=SLOT_FB_CSS}{f.innerHTML+=a+HYDRATED_CSS}if(f.innerHTML.length){f.setAttribute("data-styles","");var h=(r=plt.D)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(h!=null){f.setAttribute("nonce",h)}l.insertBefore(f,u?u.nextSibling:l.firstChild)}d=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return v=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var o=getHostListenerTarget(e,n);var l=hostListenerProxy(t,i);var u=hostListenerOpts(n);plt.ael(o,a,l,u);(t.X=t.X||[]).push((function(){return plt.rel(o,a,l,u)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.p&256){e.V[t](r)}else{(e.F=e.F||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.D=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.V=e,t)};var registerHost=function(e,t){var r={p:0,$hostElement$:e,N:t,U:new Map};{r.B=new Promise((function(e){return r.M=e}))}{r.W=new Promise((function(e){return r.P=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.j);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.k.replace(/-/g,"_");var a=e.G;var i=cmpModules.get(a);if(i){return i[n]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={p:0,t:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=true;var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.p&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,getAssetPath as a,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as a,H as e}from"./p-a954bb71.js";const o=class{constructor(a){r(this,a)}render(){return a(e,{key:"8d71f826ae509e6ca5ab06016c3343036840af88",role:"rowgroup"},a("slot",{key:"b34bf96e2dc5232585dc3a28bbd81f5eafa42748"}))}};o.style=":host{border-color:inherit;display:table-row-group;vertical-align:middle}";export{o as pds_table_body}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,h as s}from"./p-a954bb71.js";const n=class{constructor(s){i(this,s),this.componentId=void 0,this.external=!1,this.variant="inline",this.fontSize="lg",this.href=void 0}classNames(){const i=["pds-link"];return this.fontSize&&i.push("pds-link--"+this.fontSize),this.variant&&i.push("pds-link--"+this.variant),i.join(" ")}render(){return s("a",{key:"72e9712a881a175bab71e2d9beb2d0307582bde3",class:this.classNames(),href:this.href,id:this.componentId,target:this.external?"_blank":void 0,part:"link"},s("slot",{key:"13f8e29adcfc55e7aeb62bd5e67105ce4d21eca7"},this.href),this.external&&s("pds-icon",{icon:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' class='pdsicon'><path fill-rule='evenodd' d='M15.138.862a.665.665 0 0 1 .195.461v5.344a.667.667 0 0 1-1.333 0V2.943L7.805 9.138a.667.667 0 1 1-.943-.943L13.057 2H9.333a.667.667 0 0 1 0-1.333h5.334c.17 0 .34.065.471.195ZM1.333 2a.667.667 0 0 0-.666.667v12c0 .368.298.666.666.666h12a.667.667 0 0 0 .667-.666V10a.667.667 0 0 0-1.333 0v4H2V3.333h4A.667.667 0 1 0 6 2H1.333Z'/></svg>",size:this.fontSize}))}};n.style=":host{--border-radius:var(--pine-border-radius-sm);--color:var(--pine-color-neutral-charcoal-400);--font-size:var(--pine-font-size-body);--font-size-sm:var(--pine-font-size-body-sm);--font-size-xs:var(--pine-font-size-body-xs);--font-weight:var(--pine-font-weight-medium);--margin-inline-start:var(--pine-spacing-xxs);--outline:4px solid var(--pine-color-primary-200);--svg-lg:15px;--svg-md:13px;--svg-sm:11px;display:inline}:host pds-icon{-webkit-margin-start:var(--margin-inline-start);margin-inline-start:var(--margin-inline-start)}.pds-link{-ms-flex-align:center;align-items:center;color:var(--color);display:-ms-inline-flexbox;display:inline-flex;font-weight:inherit}.pds-link:focus{border-radius:var(--border-radius);outline:var(--outline)}.pds-link--sm{font-size:var(--font-size-xs)}.pds-link--sm pds-icon{height:var(--svg-sm);width:var(--svg-sm)}.pds-link--md{font-size:var(--font-size-sm)}.pds-link--md pds-icon{height:var(--svg-md);width:var(--svg-md)}.pds-link--lg{font-size:var(--font-size)}.pds-link--lg pds-icon{height:var(--svg-lg);width:var(--svg-lg)}.pds-link--plain{font-weight:var(--font-weight);text-decoration:none}.pds-link--plain:hover{text-decoration:underline}.pds-link--default{text-decoration:underline}.pds-link--default:hover{text-decoration:none}";export{n as pds_link}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,c as o,h as i,H as a}from"./p-a954bb71.js";import{m as s,P as e,a as d}from"./p-a4d4fbbb.js";const c=class{constructor(i){r(this,i),this.pdsRadioChange=o(this,"pdsRadioChange",7),this.handleRadioChange=r=>{this.disabled||this.pdsRadioChange.emit(r.target.checked)},this.checked=!1,this.disabled=!1,this.errorMessage=void 0,this.invalid=!1,this.componentId=void 0,this.label=void 0,this.helperMessage=void 0,this.name=void 0,this.required=!1,this.value=void 0}classNames(){const r=[];return this.invalid&&r.push("is-invalid"),this.disabled&&r.push("is-disabled"),r.join(" ")}render(){return i(a,{key:"1427cdb78f9e67d64f1d41fbbcd69f142568be54",class:this.classNames()},i("input",{key:"e657db2c4d043871913ba314adb0b1666001dc8e","aria-describedby":d(this.componentId,this.invalid,this.helperMessage),"aria-invalid":this.invalid?"true":void 0,type:"radio",id:this.componentId,name:this.name,value:this.value,checked:this.checked,required:this.required,disabled:this.disabled,onChange:this.handleRadioChange}),i(e,{key:"c7a15d4d55f7a82f21754d5a5c711ae2b60b5cdc",htmlFor:this.componentId,text:this.label}),this.helperMessage&&i("div",{class:"pds-radio__message",id:s(this.componentId,"helper")},this.helperMessage),this.errorMessage&&i("div",{class:"pds-radio__message pds-radio__message--error",id:s(this.componentId,"error"),"aria-live":"assertive"},this.errorMessage))}};c.style='.sc-pds-radio-h{--background-color:var(--pine-color-base-white);--background-color-hover:var(--pine-color-neutral-grey-100);--background-color-disabled:var(--pine-color-neutral-grey-200);--border:var(--pine-border-interactive);--border-color-hover:var(--pine-border-interactive-hover-color);--border-color-disabled:var(--pine-color-neutral-grey-300);--border-radius:50%;--color:var(--pine-color-neutral-charcoal-200);--color-checked:var(--pine-color-neutral-charcoal-500);--color-disabled:var(--pine-color-neutral-grey-500);--color-focus:var(--pine-color-primary-200);--color-invalid:var(--pine-color-red-300);--color-invalid-focus:var(--pine-color-red-200);--font-size:var(--pine-font-size-body-sm);--input-size:16px;--check-size:6px;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.is-invalid.sc-pds-radio-h input.sc-pds-radio{border-color:var(--color-invalid)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked{background:var(--color-invalid)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:focus-visible{-webkit-box-shadow:0 0 0 4px var(--color-invalid-focus);box-shadow:0 0 0 4px var(--color-invalid-focus);outline:none}.is-invalid.sc-pds-radio-h label.sc-pds-radio,.is-invalid.sc-pds-radio-h .pds-radio__message--error.sc-pds-radio{color:var(--color-invalid)}input.sc-pds-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border);border-radius:var(--border-radius);height:var(--input-size);margin:0;position:relative;width:var(--input-size)}input.sc-pds-radio:hover{background:var(--background-color-hover);border-color:var(--border-color-hover)}input.sc-pds-radio:checked{background:var(--color-checked);border-color:var(--color-checked)}input.sc-pds-radio:checked::after{background:var(--background-color);border-radius:50%;content:"";display:block;height:var(--check-size);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--check-size)}input.sc-pds-radio:disabled{background:var(--background-color-disabled);border-color:var(--border-color-disabled);cursor:not-allowed}input.sc-pds-radio:disabled:checked{background:var(--color-disabled);border-color:var(--border-color-disabled)}input.sc-pds-radio:disabled:checked::after{border-color:var(--border-color-disabled)}input.sc-pds-radio:disabled+label.sc-pds-radio{color:var(--border-color-hover);cursor:not-allowed}input.sc-pds-radio:disabled~.pds-radio__message.sc-pds-radio{color:var(--color-disabled)}input.sc-pds-radio:focus-visible{-webkit-box-shadow:0 0 0 4px var(--color-focus);box-shadow:0 0 0 4px var(--color-focus);outline:none}label.sc-pds-radio{-webkit-margin-start:10px;margin-inline-start:10px}.pds-radio__message.sc-pds-radio{color:var(--color);font-size:var(--font-size);-webkit-margin-before:var(--check-size);margin-block-start:var(--check-size);-webkit-margin-start:26px;margin-inline-start:26px;width:100%}';export{c as pds_radio}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,H as a,g as e}from"./p-a954bb71.js";const c=class{constructor(o){r(this,o),this.handleClick=r=>{if("button"!=this.type&&(o=this.el).shadowRoot&&o.attachShadow){const o=this.el.closest("form");if(o){r.preventDefault();const a=document.createElement("button");a.type=this.type,a.style.display="none",o.appendChild(a),a.click(),a.remove()}}var o},this.componentId=void 0,this.disabled=!1,this.icon=null,this.name=void 0,this.value=void 0,this.type="button",this.variant="primary"}classNames(){const r=["pds-button"];return this.variant&&r.push("pds-button--"+this.variant),r.join(" ")}render(){return o(a,{key:"0f8f16b8e8d941481d66f1833a4a7e5402aab2bc","aria-disabled":this.disabled?"true":null,id:this.componentId,onClick:this.handleClick,variant:this.variant},o("button",{key:"c8b0a1f8b0f6c984477e2bb6cdb77226f8250ac3",class:this.classNames(),disabled:this.disabled,name:this.name,part:"button",type:this.type,value:this.value},this.icon&&"disclosure"!==this.variant&&o("pds-icon",{name:this.icon,part:"icon"}),o("slot",{key:"76310f327aad59ecd150261a186e256c52cf6251"}),"disclosure"===this.variant&&o("pds-icon",{name:"caret-down",part:"caret"})))}get el(){return e(this)}};c.style=":host{--border-color:transparent;--border-color-hover:transparent;--border-color-focus:transparent;--border-color-disabled:transparent;--background-color-primary:var(--pine-color-neutral-charcoal-400);--background-color-hover-primary:var(--pine-color-neutral-charcoal-500);--background-color-disabled-primary:var(--pine-color-neutral-grey-300);--color-primary:var(--pine-color-base-white);--color-disabled-primary:var(--pine-color-neutral-charcoal-100);--outline-color-primary:var(--pine-color-primary-200);--border-color-secondary:var(--pine-color-neutral-grey-400);--border-color-hover-secondary:var(--pine-color-neutral-grey-500);--border-color-focus-secondary:var(--pine-color-neutral-grey-300);--border-color-disabled-secondary:var(--pine-color-neutral-grey-300);--color-secondary:var(--pine-color-neutral-charcoal-400);--color-disabled-secondary:var(--pine-color-neutral-charcoal-100);--outline-color-secondary:var(--pine-color-primary-200);--background-color-accent:var(--pine-color-primary-300);--background-color-hover-accent:var(--pine-color-primary-400);--background-color-disabled-accent:var(--pine-color-primary-100);--color-accent:var(--pine-color-base-white);--color-disabled-accent:var(--pine-color-primary-200);--outline-color-accent:var(--pine-color-primary-200);--background-color-destructive:var(--pine-color-red-300);--background-color-hover-destructive:var(--pine-color-red-400);--background-color-disabled-destructive:var(--pine-color-red-100);--color-destructive:var(--pine-color-base-white);--color-disabled-destructive:var(--pine-color-red-200);--outline-color-destructive:var(--pine-color-red-200);display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.pds-button{-ms-flex-align:center;align-items:center;background-color:var(--background-color);border:1px solid var(--border-color);border-radius:10px;color:var(--color);display:-ms-flexbox;display:flex;font-family:inherit;font-size:1rem;font-weight:500;min-height:40px;padding:0.5rem 1rem}.pds-button pds-icon{fill:currentColor;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.pds-button:hover{background-color:var(--background-color-hover);border-color:var(--border-color-hover)}.pds-button:focus{border-color:var(--border-color-focus);outline:4px solid var(--outline-color)}.pds-button:disabled{background-color:var(--background-color-disabled);border-color:var(--border-color-disabled);color:var(--color-disabled)}.pds-button--primary{--background-color:var(--background-color-primary);--background-color-hover:var(--background-color-hover-primary);--background-color-disabled:var(--background-color-disabled-primary);--color:var(--color-primary);--color-disabled:var(--color-disabled-primary);--outline-color:var(--outline-color-primary)}.pds-button--accent{--background-color:var(--background-color-accent);--background-color-hover:var(--background-color-hover-accent);--background-color-disabled:var(--background-color-disabled-accent);--color:var(--color-accent);--color-disabled:var(--color-disabled-accent);--outline-color:var(--outline-color-accent)}.pds-button--destructive{--background-color:var(--background-color-destructive);--background-color-hover:var(--background-color-hover-destructive);--background-color-disabled:var(--background-color-disabled-destructive);--color:var(--color-destructive);--color-disabled:var(--color-disabled-destructive);--outline-color:var(--outline-color-destructive)}.pds-button--secondary,.pds-button--disclosure{--background-color:transparent;--background-color-hover:transparent;--background-color-disabled:transparent;--border-color-disabled:var(--border-color-disabled-secondary);--border-color-focus:var(--border-color-focus-secondary);--border-color-hover:var(--border-color-hover-secondary);--border-color:var(--border-color-secondary);--color:var(--color-secondary);--color-disabled:var(--color-disabled-secondary);--outline-color:var(--outline-color-secondary)}.pds-button--disclosure pds-icon{-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.pds-button--unstyled{--background-color:transparent;--background-color-hover:transparent;--background-color-disabled:transparent;--color:inherit;border:0;margin:0;min-height:auto;padding:0;width:inherit}";export{c as pds_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,h as s,H as i}from"./p-a954bb71.js";const a=class{constructor(s){d(this,s),this.componentId=void 0,this.offset=void 0,this.vertical=!1}classNames(){const d=["pds-divider"];return this.vertical&&d.push("pds-divider--vertical"),this.offset&&d.push("pds-divider--offset-"+this.offset),d.join(" ")}render(){return s(i,{key:"d5d42d70c2417e0fc801f87f8460557bb1756443",id:this.componentId},s("hr",{key:"49554a46b6949d09adc4794b22441a1f76eb1d13",class:this.classNames()}))}};a.style=":host{--background-color:var(--pine-color-neutral-grey-400);--offset-xxs:var(--pine-spacing-xxs);--offset-xs:var(--pine-spacing-xs);--offset-sm:var(--pine-spacing-sm);--offset-md:var(--pine-spacing-md);--offset-lg:var(--pine-spacing-lg);--offset-xxl:var(--pine-spacing-2xl)}.pds-divider{background:var(--background-color);border:0;display:-ms-flexbox;display:flex;height:1px;margin:0;width:100%}.pds-divider--vertical{height:100%;width:1px}.pds-divider--offset-xxs{margin:0 calc(var(--offset-xxs) * -1);padding:0 var(--offset-xxs)}.pds-divider--offset-xxs.pds-divider--vertical{margin:calc(var(--offset-xxs) * -1) 0;padding:var(--offset-xxs) 0}.pds-divider--offset-xs{margin:0 calc(var(--offset-xs) * -1);padding:0 var(--offset-xs)}.pds-divider--offset-xs.pds-divider--vertical{margin:calc(var(--offset-xs) * -1) 0;padding:var(--offset-xs) 0}.pds-divider--offset-sm{margin:0 calc(var(--offset-sm) * -1);padding:0 var(--offset-sm)}.pds-divider--offset-sm.pds-divider--vertical{margin:calc(var(--offset-sm) * -1) 0;padding:var(--offset-sm) 0}.pds-divider--offset-md{margin:0 calc(var(--offset-md) * -1);padding:0 var(--offset-md)}.pds-divider--offset-md.pds-divider--vertical{margin:calc(var(--offset-md) * -1) 0;padding:var(--offset-md) 0}.pds-divider--offset-lg{margin:0 calc(var(--offset-lg) * -1);padding:0 var(--offset-lg)}.pds-divider--offset-lg.pds-divider--vertical{margin:calc(var(--offset-lg) * -1) 0;padding:var(--offset-lg) 0}.pds-divider--offset-xl{margin:0 calc(var(--offset-xl) * -1);padding:0 var(--offset-xl)}.pds-divider--offset-xl.pds-divider--vertical{margin:calc(var(--offset-xl) * -1) 0;padding:var(--offset-xl) 0}.pds-divider--offset-xxl{margin:0 calc(var(--offset-xxl) * -1);padding:0 var(--offset-xxl)}.pds-divider--offset-xxl.pds-divider--vertical{margin:calc(var(--offset-xxl) * -1) 0;padding:var(--offset-xxl) 0}@media (max-width: 767px){.pds-divider--vertical{display:none}}";export{a as pds_divider}
|