@pine-ds/core 2.14.0-mercury.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.d.ts +6 -0
- package/components/index.js +3 -0
- package/components/index.js.map +1 -1
- package/components/index2.js +12 -11
- package/components/index2.js.map +1 -1
- package/components/pds-accordion.js +7 -4
- package/components/pds-accordion.js.map +1 -1
- package/components/pds-avatar.js +9 -6
- package/components/pds-avatar.js.map +1 -1
- package/components/pds-box.js +1 -1
- package/components/pds-box.js.map +1 -1
- package/components/pds-button2.js +11 -6
- package/components/pds-button2.js.map +1 -1
- package/components/pds-checkbox2.js +17 -7
- package/components/pds-checkbox2.js.map +1 -1
- package/components/pds-chip.js +10 -7
- package/components/pds-chip.js.map +1 -1
- package/components/pds-copytext.js +7 -4
- package/components/pds-copytext.js.map +1 -1
- package/components/pds-divider.js +7 -4
- package/components/pds-divider.js.map +1 -1
- package/components/pds-image.js +8 -5
- package/components/pds-image.js.map +1 -1
- package/components/pds-input.js +19 -7
- package/components/pds-input.js.map +1 -1
- package/components/pds-link.js +8 -5
- package/components/pds-link.js.map +1 -1
- package/components/pds-loader.js +7 -4
- package/components/pds-loader.js.map +1 -1
- package/components/pds-popover.d.ts +11 -0
- package/components/pds-popover.js +94 -0
- package/components/pds-popover.js.map +1 -0
- package/components/pds-progress.js +7 -4
- package/components/pds-progress.js.map +1 -1
- package/components/pds-radio.js +21 -11
- package/components/pds-radio.js.map +1 -1
- package/components/pds-row.js +2 -2
- package/components/pds-row.js.map +1 -1
- package/components/pds-select.d.ts +11 -0
- package/components/pds-select.js +165 -0
- package/components/pds-select.js.map +1 -0
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +6 -3
- package/components/pds-sortable.js.map +1 -1
- package/components/pds-switch.js +20 -13
- package/components/pds-switch.js.map +1 -1
- package/components/pds-tab.js +4 -4
- package/components/pds-tab.js.map +1 -1
- package/components/pds-table-body.js +6 -3
- package/components/pds-table-body.js.map +1 -1
- package/components/pds-table-cell2.js +8 -5
- package/components/pds-table-cell2.js.map +1 -1
- package/components/pds-table-head-cell2.js +9 -6
- package/components/pds-table-head-cell2.js.map +1 -1
- package/components/pds-table-head.js +7 -4
- package/components/pds-table-head.js.map +1 -1
- package/components/pds-table-row.js +14 -5
- package/components/pds-table-row.js.map +1 -1
- package/components/pds-table.js +6 -3
- package/components/pds-table.js.map +1 -1
- package/components/pds-tabpanel.js +1 -1
- package/components/pds-tabs.js +6 -3
- package/components/pds-tabs.js.map +1 -1
- package/components/pds-text.d.ts +11 -0
- package/components/pds-text.js +61 -0
- package/components/pds-text.js.map +1 -0
- package/components/pds-textarea.js +21 -9
- package/components/pds-textarea.js.map +1 -1
- package/components/pds-tooltip.js +11 -10
- package/components/pds-tooltip.js.map +1 -1
- package/dist/cjs/index-3ad62856.js +26 -0
- package/dist/cjs/index-3ad62856.js.map +1 -0
- package/dist/cjs/{index-d4ec6246.js → index-b7d9268e.js} +17 -5
- package/dist/cjs/index-b7d9268e.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/pds-accordion.cjs.entry.js +9 -6
- package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +11 -8
- package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-box.cjs.entry.js +2 -2
- package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +11 -6
- package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-checkbox.cjs.entry.js +12 -8
- package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-chip.cjs.entry.js +11 -8
- package/dist/cjs/pds-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-copytext.cjs.entry.js +9 -6
- package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-divider.cjs.entry.js +8 -5
- package/dist/cjs/pds-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-icon.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +9 -6
- package/dist/cjs/pds-image.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-input.cjs.entry.js +13 -8
- package/dist/cjs/pds-input.cjs.entry.js.map +1 -1
- package/dist/cjs/{pds-label-73bb5bd3.js → pds-label-05f073ea.js} +2 -2
- package/dist/cjs/{pds-label-73bb5bd3.js.map → pds-label-05f073ea.js.map} +1 -1
- package/dist/cjs/pds-link.cjs.entry.js +10 -7
- package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-loader.cjs.entry.js +8 -5
- package/dist/cjs/pds-loader.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-popover.cjs.entry.js +72 -0
- package/dist/cjs/pds-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-progress.cjs.entry.js +8 -5
- package/dist/cjs/pds-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-radio.cjs.entry.js +14 -10
- package/dist/cjs/pds-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-row.cjs.entry.js +3 -3
- package/dist/cjs/pds-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-select.cjs.entry.js +131 -0
- package/dist/cjs/pds-select.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable.cjs.entry.js +7 -4
- package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-switch.cjs.entry.js +14 -12
- package/dist/cjs/pds-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-tab.cjs.entry.js +5 -5
- package/dist/cjs/pds-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-table-body.cjs.entry.js +7 -4
- package/dist/cjs/pds-table-body.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-table-cell.cjs.entry.js +9 -6
- package/dist/cjs/pds-table-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +10 -7
- package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-table-head.cjs.entry.js +8 -5
- package/dist/cjs/pds-table-head.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-table-row.cjs.entry.js +7 -4
- package/dist/cjs/pds-table-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-table.cjs.entry.js +7 -4
- package/dist/cjs/pds-table.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +7 -4
- package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-text.cjs.entry.js +39 -0
- package/dist/cjs/pds-text.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-textarea.cjs.entry.js +15 -10
- package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/pine-core.cjs.js +3 -3
- package/dist/cjs/pine-core.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/pds-accordion/pds-accordion.css +4 -3
- package/dist/collection/components/pds-accordion/pds-accordion.js +4 -3
- package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -1
- package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +11 -15
- package/dist/collection/components/pds-avatar/pds-avatar.css +1 -1
- package/dist/collection/components/pds-avatar/pds-avatar.js +5 -5
- package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -1
- package/dist/collection/components/pds-box/pds-box.css +20 -4
- package/dist/collection/components/pds-button/pds-button.css +19 -13
- package/dist/collection/components/pds-button/pds-button.js +38 -13
- package/dist/collection/components/pds-button/pds-button.js.map +1 -1
- package/dist/collection/components/pds-button/stories/pds-button.stories.js +8 -1
- package/dist/collection/components/pds-checkbox/pds-checkbox.css +35 -14
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +6 -5
- package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
- package/dist/collection/components/pds-chip/pds-chip.css +63 -35
- package/dist/collection/components/pds-chip/pds-chip.js +28 -28
- package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
- package/dist/collection/components/pds-copytext/pds-copytext.css +7 -5
- package/dist/collection/components/pds-copytext/pds-copytext.js +6 -6
- package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -1
- package/dist/collection/components/pds-divider/pds-divider.css +1 -1
- package/dist/collection/components/pds-divider/pds-divider.js +4 -4
- package/dist/collection/components/pds-divider/pds-divider.js.map +1 -1
- package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +1 -1
- package/dist/collection/components/pds-image/pds-image.css +0 -2
- package/dist/collection/components/pds-image/pds-image.js +15 -9
- package/dist/collection/components/pds-image/pds-image.js.map +1 -1
- package/dist/collection/components/pds-image/stories/pds-image.stories.js +7 -5
- package/dist/collection/components/pds-input/pds-input.css +40 -13
- package/dist/collection/components/pds-input/pds-input.js +29 -10
- package/dist/collection/components/pds-input/pds-input.js.map +1 -1
- package/dist/collection/components/pds-input/stories/pds-input.stories.js +10 -0
- package/dist/collection/components/pds-link/pds-link.css +14 -11
- package/dist/collection/components/pds-link/pds-link.js +14 -11
- package/dist/collection/components/pds-link/pds-link.js.map +1 -1
- package/dist/collection/components/pds-loader/pds-loader.css +4 -4
- package/dist/collection/components/pds-loader/pds-loader.js +3 -3
- package/dist/collection/components/pds-loader/pds-loader.js.map +1 -1
- package/dist/collection/components/pds-popover/pds-popover.css +51 -0
- package/dist/collection/components/pds-popover/pds-popover.js +216 -0
- package/dist/collection/components/pds-popover/pds-popover.js.map +1 -0
- package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +45 -0
- package/dist/collection/components/pds-progress/pds-progress.css +4 -8
- package/dist/collection/components/pds-progress/pds-progress.js +3 -3
- package/dist/collection/components/pds-progress/pds-progress.js.map +1 -1
- package/dist/collection/components/pds-radio/pds-radio.css +44 -26
- package/dist/collection/components/pds-radio/pds-radio.js +43 -42
- package/dist/collection/components/pds-radio/pds-radio.js.map +1 -1
- package/dist/collection/components/pds-row/pds-row.css +7 -5
- package/dist/collection/components/pds-row/pds-row.js +1 -1
- package/dist/collection/components/pds-select/pds-select.css +126 -0
- package/dist/collection/components/pds-select/pds-select.js +360 -0
- package/dist/collection/components/pds-select/pds-select.js.map +1 -0
- package/dist/collection/components/pds-select/stories/pds-select.stories.js +153 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +3 -3
- package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -1
- package/dist/collection/components/pds-switch/pds-switch.css +28 -20
- package/dist/collection/components/pds-switch/pds-switch.js +19 -41
- package/dist/collection/components/pds-switch/pds-switch.js.map +1 -1
- package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +2 -15
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +3 -3
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +1 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.css +6 -5
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +4 -4
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +1 -1
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.css +1 -1
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +9 -6
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +1 -1
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.css +7 -11
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +4 -4
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +1 -1
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +5 -5
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +1 -1
- package/dist/collection/components/pds-table/pds-table.js +6 -6
- package/dist/collection/components/pds-table/pds-table.js.map +1 -1
- package/dist/collection/components/pds-table/stories/pds-table.stories.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +5 -16
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
- package/dist/collection/components/pds-tabs/pds-tab/stories/pds-tab.stories.js +19 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tabpanel/stories/pds-tabpanel.stories.js +19 -0
- package/dist/collection/components/pds-tabs/pds-tabs.js +3 -3
- package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -1
- package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +18 -18
- package/dist/collection/components/pds-text/pds-text.css +231 -0
- package/dist/collection/components/pds-text/pds-text.js +162 -0
- package/dist/collection/components/pds-text/pds-text.js.map +1 -0
- package/dist/collection/components/pds-text/stories/pds-text.stories.js +119 -0
- package/dist/collection/components/pds-textarea/pds-textarea.css +29 -38
- package/dist/collection/components/pds-textarea/pds-textarea.js +38 -19
- package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
- package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +22 -11
- package/dist/collection/components/pds-tooltip/pds-tooltip.css +3 -6
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +26 -39
- package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -1
- package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +15 -15
- package/dist/collection/global/styles/base.css +113 -0
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/docs.json +1267 -299
- package/dist/esm/index-56752d25.js +15 -0
- package/dist/esm/index-56752d25.js.map +1 -0
- package/dist/esm/{index-9f0e742f.js → index-b1696fed.js} +17 -5
- package/dist/esm/index-b1696fed.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/pds-accordion.entry.js +9 -6
- package/dist/esm/pds-accordion.entry.js.map +1 -1
- package/dist/esm/pds-avatar.entry.js +11 -8
- package/dist/esm/pds-avatar.entry.js.map +1 -1
- package/dist/esm/pds-box.entry.js +2 -2
- package/dist/esm/pds-box.entry.js.map +1 -1
- package/dist/esm/pds-button.entry.js +11 -6
- package/dist/esm/pds-button.entry.js.map +1 -1
- package/dist/esm/pds-checkbox.entry.js +12 -8
- package/dist/esm/pds-checkbox.entry.js.map +1 -1
- package/dist/esm/pds-chip.entry.js +11 -8
- package/dist/esm/pds-chip.entry.js.map +1 -1
- package/dist/esm/pds-copytext.entry.js +9 -6
- package/dist/esm/pds-copytext.entry.js.map +1 -1
- package/dist/esm/pds-divider.entry.js +8 -5
- package/dist/esm/pds-divider.entry.js.map +1 -1
- package/dist/esm/pds-icon.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +9 -6
- package/dist/esm/pds-image.entry.js.map +1 -1
- package/dist/esm/pds-input.entry.js +13 -8
- package/dist/esm/pds-input.entry.js.map +1 -1
- package/dist/esm/{pds-label-c806218b.js → pds-label-62469596.js} +2 -2
- package/dist/esm/{pds-label-c806218b.js.map → pds-label-62469596.js.map} +1 -1
- package/dist/esm/pds-link.entry.js +10 -7
- package/dist/esm/pds-link.entry.js.map +1 -1
- package/dist/esm/pds-loader.entry.js +8 -5
- package/dist/esm/pds-loader.entry.js.map +1 -1
- package/dist/esm/pds-popover.entry.js +68 -0
- package/dist/esm/pds-popover.entry.js.map +1 -0
- package/dist/esm/pds-progress.entry.js +8 -5
- package/dist/esm/pds-progress.entry.js.map +1 -1
- package/dist/esm/pds-radio.entry.js +14 -10
- package/dist/esm/pds-radio.entry.js.map +1 -1
- package/dist/esm/pds-row.entry.js +3 -3
- package/dist/esm/pds-row.entry.js.map +1 -1
- package/dist/esm/pds-select.entry.js +127 -0
- package/dist/esm/pds-select.entry.js.map +1 -0
- package/dist/esm/pds-sortable-item.entry.js +3 -3
- package/dist/esm/pds-sortable.entry.js +7 -4
- package/dist/esm/pds-sortable.entry.js.map +1 -1
- package/dist/esm/pds-switch.entry.js +14 -12
- package/dist/esm/pds-switch.entry.js.map +1 -1
- package/dist/esm/pds-tab.entry.js +5 -5
- package/dist/esm/pds-tab.entry.js.map +1 -1
- package/dist/esm/pds-table-body.entry.js +7 -4
- package/dist/esm/pds-table-body.entry.js.map +1 -1
- package/dist/esm/pds-table-cell.entry.js +9 -6
- package/dist/esm/pds-table-cell.entry.js.map +1 -1
- package/dist/esm/pds-table-head-cell.entry.js +10 -7
- package/dist/esm/pds-table-head-cell.entry.js.map +1 -1
- package/dist/esm/pds-table-head.entry.js +8 -5
- package/dist/esm/pds-table-head.entry.js.map +1 -1
- package/dist/esm/pds-table-row.entry.js +7 -4
- package/dist/esm/pds-table-row.entry.js.map +1 -1
- package/dist/esm/pds-table.entry.js +7 -4
- package/dist/esm/pds-table.entry.js.map +1 -1
- package/dist/esm/pds-tabpanel.entry.js +2 -2
- package/dist/esm/pds-tabs.entry.js +7 -4
- package/dist/esm/pds-tabs.entry.js.map +1 -1
- package/dist/esm/pds-text.entry.js +35 -0
- package/dist/esm/pds-text.entry.js.map +1 -0
- package/dist/esm/pds-textarea.entry.js +15 -10
- package/dist/esm/pds-textarea.entry.js.map +1 -1
- package/dist/esm/pds-tooltip.entry.js +10 -10
- package/dist/esm/pds-tooltip.entry.js.map +1 -1
- package/dist/esm/pine-core.js +4 -4
- package/dist/esm/pine-core.js.map +1 -1
- package/dist/esm-es5/index-56752d25.js +2 -0
- package/dist/esm-es5/index-56752d25.js.map +1 -0
- package/dist/esm-es5/index-b1696fed.js +3 -0
- package/dist/esm-es5/index-b1696fed.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/pds-accordion.entry.js +1 -1
- package/dist/esm-es5/pds-accordion.entry.js.map +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js.map +1 -1
- package/dist/esm-es5/pds-box.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js.map +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js.map +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js.map +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
- package/dist/esm-es5/pds-divider.entry.js +1 -1
- package/dist/esm-es5/pds-divider.entry.js.map +1 -1
- package/dist/esm-es5/pds-icon.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js.map +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js.map +1 -1
- package/dist/esm-es5/{pds-label-c806218b.js → pds-label-62469596.js} +2 -2
- package/dist/esm-es5/pds-link.entry.js +1 -1
- package/dist/esm-es5/pds-link.entry.js.map +1 -1
- package/dist/esm-es5/pds-loader.entry.js +1 -1
- package/dist/esm-es5/pds-loader.entry.js.map +1 -1
- package/dist/esm-es5/pds-popover.entry.js +2 -0
- package/dist/esm-es5/pds-popover.entry.js.map +1 -0
- package/dist/esm-es5/pds-progress.entry.js +1 -1
- package/dist/esm-es5/pds-progress.entry.js.map +1 -1
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-radio.entry.js.map +1 -1
- package/dist/esm-es5/pds-row.entry.js +1 -1
- package/dist/esm-es5/pds-row.entry.js.map +1 -1
- package/dist/esm-es5/pds-select.entry.js +2 -0
- package/dist/esm-es5/pds-select.entry.js.map +1 -0
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +2 -2
- package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-switch.entry.js.map +1 -1
- package/dist/esm-es5/pds-tab.entry.js +1 -1
- package/dist/esm-es5/pds-tab.entry.js.map +1 -1
- package/dist/esm-es5/pds-table-body.entry.js +1 -1
- package/dist/esm-es5/pds-table-body.entry.js.map +1 -1
- package/dist/esm-es5/pds-table-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-cell.entry.js.map +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -1
- package/dist/esm-es5/pds-table-head.entry.js +1 -1
- package/dist/esm-es5/pds-table-head.entry.js.map +1 -1
- package/dist/esm-es5/pds-table-row.entry.js +1 -1
- package/dist/esm-es5/pds-table-row.entry.js.map +1 -1
- package/dist/esm-es5/pds-table.entry.js +1 -1
- package/dist/esm-es5/pds-table.entry.js.map +1 -1
- package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js.map +1 -1
- package/dist/esm-es5/pds-text.entry.js +2 -0
- package/dist/esm-es5/pds-text.entry.js.map +1 -0
- package/dist/esm-es5/pds-textarea.entry.js +1 -1
- package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js.map +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/esm-es5/pine-core.js.map +1 -1
- package/dist/pine-core/index.esm.js +1 -1
- package/dist/pine-core/p-00c8d6d8.entry.js +2 -0
- package/dist/pine-core/p-00c8d6d8.entry.js.map +1 -0
- package/dist/pine-core/p-031ac651.entry.js +2 -0
- package/dist/pine-core/p-031ac651.entry.js.map +1 -0
- package/dist/pine-core/p-09d83447.system.entry.js +2 -0
- package/dist/pine-core/p-09d83447.system.entry.js.map +1 -0
- package/dist/pine-core/p-0ac04129.entry.js +2 -0
- package/dist/pine-core/p-0ac04129.entry.js.map +1 -0
- package/dist/pine-core/p-0ad64b9d.system.entry.js +2 -0
- package/dist/pine-core/p-0ad64b9d.system.entry.js.map +1 -0
- package/dist/pine-core/p-1164c32c.system.entry.js +2 -0
- package/dist/pine-core/p-1164c32c.system.entry.js.map +1 -0
- package/dist/pine-core/p-1351489d.entry.js +2 -0
- package/dist/pine-core/p-1351489d.entry.js.map +1 -0
- package/dist/pine-core/p-1712d594.entry.js +2 -0
- package/dist/pine-core/p-1712d594.entry.js.map +1 -0
- package/dist/pine-core/p-196f615c.entry.js +2 -0
- package/dist/pine-core/p-196f615c.entry.js.map +1 -0
- package/dist/pine-core/{p-e8874481.system.entry.js → p-1a1a76ea.system.entry.js} +2 -2
- package/dist/pine-core/p-1a548198.system.entry.js +2 -0
- package/dist/pine-core/p-1a548198.system.entry.js.map +1 -0
- package/dist/pine-core/p-1a78ee21.entry.js +2 -0
- package/dist/pine-core/p-1a78ee21.entry.js.map +1 -0
- package/dist/pine-core/p-1df1990d.system.entry.js +2 -0
- package/dist/pine-core/p-1df1990d.system.entry.js.map +1 -0
- package/dist/pine-core/p-1e80f274.entry.js +2 -0
- package/dist/pine-core/p-1e80f274.entry.js.map +1 -0
- package/dist/pine-core/p-2e1dc5e5.system.entry.js +2 -0
- package/dist/pine-core/p-2e1dc5e5.system.entry.js.map +1 -0
- package/dist/pine-core/p-30600b1b.entry.js +2 -0
- package/dist/pine-core/p-30600b1b.entry.js.map +1 -0
- package/dist/pine-core/p-34cda8d5.system.entry.js +2 -0
- package/dist/pine-core/p-34cda8d5.system.entry.js.map +1 -0
- package/dist/pine-core/p-364a7555.system.entry.js +2 -0
- package/dist/pine-core/p-364a7555.system.entry.js.map +1 -0
- package/dist/pine-core/p-37a3c235.entry.js +2 -0
- package/dist/pine-core/p-37a3c235.entry.js.map +1 -0
- package/dist/pine-core/{p-b491e677.entry.js → p-396014d3.entry.js} +2 -2
- package/dist/pine-core/p-3acb18ad.entry.js +2 -0
- package/dist/pine-core/p-3acb18ad.entry.js.map +1 -0
- package/dist/pine-core/p-3ae15266.entry.js +2 -0
- package/dist/pine-core/p-3ae15266.entry.js.map +1 -0
- package/dist/pine-core/p-45cf2585.system.js +3 -0
- package/dist/pine-core/p-45cf2585.system.js.map +1 -0
- package/dist/pine-core/p-4a10164f.entry.js +2 -0
- package/dist/pine-core/p-4a10164f.entry.js.map +1 -0
- package/dist/pine-core/p-4d22b02c.entry.js +2 -0
- package/dist/pine-core/p-4d22b02c.entry.js.map +1 -0
- package/dist/pine-core/p-4f9b1945.entry.js +2 -0
- package/dist/pine-core/p-4f9b1945.entry.js.map +1 -0
- package/dist/pine-core/p-50918693.system.entry.js +2 -0
- package/dist/pine-core/p-50918693.system.entry.js.map +1 -0
- package/dist/pine-core/p-5380ad4f.entry.js +2 -0
- package/dist/pine-core/p-5380ad4f.entry.js.map +1 -0
- package/dist/pine-core/p-539fe011.system.entry.js +2 -0
- package/dist/pine-core/p-539fe011.system.entry.js.map +1 -0
- package/dist/pine-core/p-59fcea0f.entry.js +2 -0
- package/dist/pine-core/p-59fcea0f.entry.js.map +1 -0
- package/dist/pine-core/p-5b9d6ad1.entry.js +2 -0
- package/dist/pine-core/p-5b9d6ad1.entry.js.map +1 -0
- package/dist/pine-core/p-5c04aee0.system.js +2 -0
- package/dist/pine-core/p-5c04aee0.system.js.map +1 -0
- package/dist/pine-core/p-5cb59e3f.system.entry.js +2 -0
- package/dist/pine-core/p-5cb59e3f.system.entry.js.map +1 -0
- package/dist/pine-core/p-605dc33a.system.entry.js +2 -0
- package/dist/pine-core/p-605dc33a.system.entry.js.map +1 -0
- package/dist/pine-core/p-630b1802.entry.js +2 -0
- package/dist/pine-core/p-630b1802.entry.js.map +1 -0
- package/dist/pine-core/{p-d0948e17.entry.js → p-65229490.entry.js} +2 -2
- package/dist/pine-core/p-6d447614.system.entry.js +2 -0
- package/dist/pine-core/p-6d447614.system.entry.js.map +1 -0
- package/dist/pine-core/p-760e1c32.entry.js +2 -0
- package/dist/pine-core/p-760e1c32.entry.js.map +1 -0
- package/dist/pine-core/{p-b4f7b883.system.entry.js → p-84d36583.system.entry.js} +2 -2
- package/dist/pine-core/p-87fe352f.js +3 -0
- package/dist/pine-core/p-87fe352f.js.map +1 -0
- package/dist/pine-core/p-88702fa2.entry.js +2 -0
- package/dist/pine-core/p-88702fa2.entry.js.map +1 -0
- package/dist/pine-core/{p-30895edd.system.entry.js → p-88edcb41.system.entry.js} +2 -2
- package/dist/pine-core/p-88edcb41.system.entry.js.map +1 -0
- package/dist/pine-core/p-892b4a4c.entry.js +2 -0
- package/dist/pine-core/p-892b4a4c.entry.js.map +1 -0
- package/dist/pine-core/p-8ae84655.system.entry.js +2 -0
- package/dist/pine-core/p-8ae84655.system.entry.js.map +1 -0
- package/dist/pine-core/{p-60622df4.entry.js → p-9487df53.entry.js} +2 -2
- package/dist/pine-core/p-9487df53.entry.js.map +1 -0
- package/dist/pine-core/p-9db668f2.system.entry.js +2 -0
- package/dist/pine-core/p-9db668f2.system.entry.js.map +1 -0
- package/dist/pine-core/p-a24fa762.system.entry.js +2 -0
- package/dist/pine-core/p-a24fa762.system.entry.js.map +1 -0
- package/dist/pine-core/p-a2726d3b.system.entry.js +2 -0
- package/dist/pine-core/p-a2726d3b.system.entry.js.map +1 -0
- package/dist/pine-core/p-a6713696.entry.js +2 -0
- package/dist/pine-core/p-a6713696.entry.js.map +1 -0
- package/dist/pine-core/{p-7bc0b531.js → p-a9038f7f.js} +2 -2
- package/dist/pine-core/p-a9e02a6f.system.entry.js +2 -0
- package/dist/pine-core/p-a9e02a6f.system.entry.js.map +1 -0
- package/dist/pine-core/p-adda8682.system.entry.js +2 -0
- package/dist/pine-core/p-adda8682.system.entry.js.map +1 -0
- package/dist/pine-core/p-ae19532d.system.entry.js +2 -0
- package/dist/pine-core/p-ae19532d.system.entry.js.map +1 -0
- package/dist/pine-core/p-b3e36d77.system.entry.js +2 -0
- package/dist/pine-core/p-b3e36d77.system.entry.js.map +1 -0
- package/dist/pine-core/p-b7edbe43.system.entry.js +2 -0
- package/dist/pine-core/p-b7edbe43.system.entry.js.map +1 -0
- package/dist/pine-core/p-b95522e6.system.entry.js +2 -0
- package/dist/pine-core/p-b95522e6.system.entry.js.map +1 -0
- package/dist/pine-core/p-b9cebd24.entry.js +2 -0
- package/dist/pine-core/p-b9cebd24.entry.js.map +1 -0
- package/dist/pine-core/p-bbd19258.entry.js +2 -0
- package/dist/pine-core/p-bbd19258.entry.js.map +1 -0
- package/dist/pine-core/p-cbf2acbd.system.entry.js +2 -0
- package/dist/pine-core/p-cbf2acbd.system.entry.js.map +1 -0
- package/dist/pine-core/p-cc75a4f7.system.entry.js +2 -0
- package/dist/pine-core/p-cc75a4f7.system.entry.js.map +1 -0
- package/dist/pine-core/p-ceb66096.entry.js +8 -0
- package/dist/pine-core/p-ceb66096.entry.js.map +1 -0
- package/dist/pine-core/p-d3365f49.system.entry.js +9 -0
- package/dist/pine-core/{p-a6b486a4.entry.js.map → p-d3365f49.system.entry.js.map} +1 -1
- package/dist/pine-core/p-d83716fb.js +2 -0
- package/dist/pine-core/p-d83716fb.js.map +1 -0
- package/dist/pine-core/p-d95b2469.system.entry.js +2 -0
- package/dist/pine-core/p-d95b2469.system.entry.js.map +1 -0
- package/dist/pine-core/p-da5a1e2c.system.entry.js +2 -0
- package/dist/pine-core/p-da5a1e2c.system.entry.js.map +1 -0
- package/dist/pine-core/p-db622f8f.system.js +2 -0
- package/dist/pine-core/p-de301890.entry.js +2 -0
- package/dist/pine-core/p-de301890.entry.js.map +1 -0
- package/dist/pine-core/p-dec11fa5.system.js +2 -0
- package/dist/pine-core/p-dec11fa5.system.js.map +1 -0
- package/dist/pine-core/{p-f5597dce.entry.js → p-e2a673e8.entry.js} +2 -2
- package/dist/pine-core/p-e2badc55.entry.js +2 -0
- package/dist/pine-core/p-e2badc55.entry.js.map +1 -0
- package/dist/pine-core/{p-f86af20f.system.js → p-e3fab4be.system.js} +2 -2
- package/dist/pine-core/p-ebdaf3ad.entry.js +2 -0
- package/dist/pine-core/p-ebdaf3ad.entry.js.map +1 -0
- package/dist/pine-core/{p-6293581d.system.entry.js → p-f16ef73c.system.entry.js} +2 -2
- package/dist/pine-core/p-faa2bf05.system.entry.js +2 -0
- package/dist/pine-core/p-faa2bf05.system.entry.js.map +1 -0
- package/dist/pine-core/pine-core.css +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.esm.js.map +1 -1
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/pine-core/svg/access-key.svg +1 -1
- package/dist/pine-core/svg/add-circle.svg +1 -1
- package/dist/pine-core/svg/add-image.svg +1 -1
- package/dist/pine-core/svg/add-small.svg +1 -1
- package/dist/pine-core/svg/add-square.svg +1 -1
- package/dist/pine-core/svg/add.svg +1 -1
- package/dist/pine-core/svg/advanced.svg +1 -1
- package/dist/pine-core/svg/ai-sparkle.svg +1 -1
- package/dist/pine-core/svg/ai-writer-filled.svg +1 -1
- package/dist/pine-core/svg/ai-writer.svg +1 -1
- package/dist/pine-core/svg/align-center.svg +1 -1
- package/dist/pine-core/svg/align-justify.svg +1 -1
- package/dist/pine-core/svg/align-left.svg +1 -1
- package/dist/pine-core/svg/align-right.svg +1 -1
- package/dist/pine-core/svg/app-store.svg +1 -1
- package/dist/pine-core/svg/archive.svg +1 -1
- package/dist/pine-core/svg/arrow-corner.svg +1 -1
- package/dist/pine-core/svg/arrow-down.svg +1 -1
- package/dist/pine-core/svg/arrow-left.svg +1 -1
- package/dist/pine-core/svg/arrow-right.svg +1 -1
- package/dist/pine-core/svg/arrow-up.svg +1 -1
- package/dist/pine-core/svg/assessment.svg +1 -1
- package/dist/pine-core/svg/at-sign.svg +1 -1
- package/dist/pine-core/svg/attach.svg +1 -1
- package/dist/pine-core/svg/automations.svg +1 -1
- package/dist/pine-core/svg/ban.svg +1 -1
- package/dist/pine-core/svg/bank.svg +1 -1
- package/dist/pine-core/svg/bar-chart-square.svg +1 -1
- package/dist/pine-core/svg/bar-chart-tone.svg +1 -1
- package/dist/pine-core/svg/bell-tone.svg +1 -1
- package/dist/pine-core/svg/bell.svg +1 -1
- package/dist/pine-core/svg/block.svg +1 -1
- package/dist/pine-core/svg/blog-filled.svg +1 -1
- package/dist/pine-core/svg/blog.svg +1 -1
- package/dist/pine-core/svg/bold.svg +1 -1
- package/dist/pine-core/svg/bookmark.svg +1 -0
- package/dist/pine-core/svg/broadcast.svg +1 -1
- package/dist/pine-core/svg/bulb.svg +1 -1
- package/dist/pine-core/svg/button.svg +1 -1
- package/dist/pine-core/svg/calendar-date.svg +1 -1
- package/dist/pine-core/svg/calendar-schedule.svg +1 -1
- package/dist/pine-core/svg/calendar-simple.svg +1 -1
- package/dist/pine-core/svg/card-amex.svg +1 -1
- package/dist/pine-core/svg/card-android.svg +1 -1
- package/dist/pine-core/svg/card-apple.svg +1 -1
- package/dist/pine-core/svg/card-diners-club.svg +1 -1
- package/dist/pine-core/svg/card-discover.svg +1 -1
- package/dist/pine-core/svg/card-generic.svg +1 -1
- package/dist/pine-core/svg/card-gpay.svg +1 -1
- package/dist/pine-core/svg/card-mastercard.svg +1 -1
- package/dist/pine-core/svg/card-paypal.svg +1 -1
- package/dist/pine-core/svg/card-stripe.svg +1 -1
- package/dist/pine-core/svg/card-update.svg +1 -1
- package/dist/pine-core/svg/card-visa.svg +1 -1
- package/dist/pine-core/svg/caret-down.svg +1 -1
- package/dist/pine-core/svg/caret-left.svg +1 -1
- package/dist/pine-core/svg/caret-right.svg +1 -1
- package/dist/pine-core/svg/caret-up.svg +1 -1
- package/dist/pine-core/svg/cart-add.svg +1 -1
- package/dist/pine-core/svg/cart.svg +1 -1
- package/dist/pine-core/svg/certificate.svg +1 -1
- package/dist/pine-core/svg/chart-filled.svg +1 -1
- package/dist/pine-core/svg/chart.svg +1 -1
- package/dist/pine-core/svg/check-circle-filled.svg +1 -1
- package/dist/pine-core/svg/check-circle.svg +1 -1
- package/dist/pine-core/svg/check.svg +1 -1
- package/dist/pine-core/svg/circle-1.svg +1 -1
- package/dist/pine-core/svg/circle-2.svg +1 -1
- package/dist/pine-core/svg/circle-3.svg +1 -1
- package/dist/pine-core/svg/circle-4.svg +1 -1
- package/dist/pine-core/svg/circle-5.svg +1 -1
- package/dist/pine-core/svg/circle-6.svg +1 -1
- package/dist/pine-core/svg/circle-7.svg +1 -1
- package/dist/pine-core/svg/circle-8.svg +1 -1
- package/dist/pine-core/svg/circle-9.svg +1 -1
- package/dist/pine-core/svg/circle-a.svg +1 -1
- package/dist/pine-core/svg/circle-b.svg +1 -1
- package/dist/pine-core/svg/circle-dashed.svg +1 -1
- package/dist/pine-core/svg/clapperboard-tone.svg +1 -1
- package/dist/pine-core/svg/clock.svg +1 -1
- package/dist/pine-core/svg/closed-captions.svg +1 -1
- package/dist/pine-core/svg/cloud-upload.svg +1 -1
- package/dist/pine-core/svg/code-block.svg +1 -1
- package/dist/pine-core/svg/code.svg +1 -1
- package/dist/pine-core/svg/color.svg +1 -1
- package/dist/pine-core/svg/columns.svg +1 -1
- package/dist/pine-core/svg/comment-no.svg +1 -1
- package/dist/pine-core/svg/comment.svg +1 -1
- package/dist/pine-core/svg/connect.svg +1 -1
- package/dist/pine-core/svg/contact.svg +1 -1
- package/dist/pine-core/svg/conversation.svg +1 -1
- package/dist/pine-core/svg/copy.svg +1 -1
- package/dist/pine-core/svg/coupon.svg +1 -1
- package/dist/pine-core/svg/course-filled.svg +1 -1
- package/dist/pine-core/svg/course.svg +1 -1
- package/dist/pine-core/svg/creator-studio-filled.svg +1 -1
- package/dist/pine-core/svg/creator-studio.svg +1 -1
- package/dist/pine-core/svg/credit-card-tone.svg +1 -1
- package/dist/pine-core/svg/cube-tone.svg +1 -1
- package/dist/pine-core/svg/cursor-pointer.svg +1 -1
- package/dist/pine-core/svg/cursor.svg +1 -1
- package/dist/pine-core/svg/custom-field.svg +1 -1
- package/dist/pine-core/svg/customize.svg +1 -1
- package/dist/pine-core/svg/danger-filled.svg +1 -1
- package/dist/pine-core/svg/danger.svg +1 -1
- package/dist/pine-core/svg/delete-circle.svg +1 -1
- package/dist/pine-core/svg/delete-key.svg +1 -1
- package/dist/pine-core/svg/delete-x.svg +1 -1
- package/dist/pine-core/svg/dollar.svg +1 -1
- package/dist/pine-core/svg/dot-menu-horizontal.svg +1 -1
- package/dist/pine-core/svg/dots-horizontal-tone.svg +1 -1
- package/dist/pine-core/svg/down-small.svg +1 -1
- package/dist/pine-core/svg/download.svg +1 -1
- package/dist/pine-core/svg/downsell.svg +1 -1
- package/dist/pine-core/svg/draft.svg +1 -1
- package/dist/pine-core/svg/drawer-collapse.svg +1 -1
- package/dist/pine-core/svg/drawer-expand.svg +1 -1
- package/dist/pine-core/svg/drop.svg +1 -1
- package/dist/pine-core/svg/duplicate.svg +1 -1
- package/dist/pine-core/svg/editor-filled.svg +1 -1
- package/dist/pine-core/svg/editor.svg +1 -1
- package/dist/pine-core/svg/email-activity.svg +1 -1
- package/dist/pine-core/svg/emoji.svg +1 -1
- package/dist/pine-core/svg/enlarge-vertical.svg +1 -1
- package/dist/pine-core/svg/enlarge.svg +1 -1
- package/dist/pine-core/svg/expand.svg +1 -1
- package/dist/pine-core/svg/favorite.svg +1 -1
- package/dist/pine-core/svg/feedback.svg +1 -1
- package/dist/pine-core/svg/file-add.svg +1 -1
- package/dist/pine-core/svg/file-download.svg +1 -1
- package/dist/pine-core/svg/file-lock.svg +1 -1
- package/dist/pine-core/svg/file-money.svg +1 -1
- package/dist/pine-core/svg/file-search.svg +1 -0
- package/dist/pine-core/svg/file.svg +1 -1
- package/dist/pine-core/svg/filter.svg +1 -1
- package/dist/pine-core/svg/flag.svg +1 -1
- package/dist/pine-core/svg/flash-filled.svg +1 -1
- package/dist/pine-core/svg/flash.svg +1 -1
- package/dist/pine-core/svg/floppy-disk.svg +1 -1
- package/dist/pine-core/svg/folder-group.svg +1 -1
- package/dist/pine-core/svg/folder.svg +1 -1
- package/dist/pine-core/svg/form-field.svg +1 -1
- package/dist/pine-core/svg/form-filled.svg +1 -1
- package/dist/pine-core/svg/form.svg +1 -1
- package/dist/pine-core/svg/fullscreen.svg +1 -1
- package/dist/pine-core/svg/funnel.svg +1 -1
- package/dist/pine-core/svg/gear-filled.svg +1 -1
- package/dist/pine-core/svg/gear.svg +1 -1
- package/dist/pine-core/svg/gift-tone.svg +1 -1
- package/dist/pine-core/svg/grant-offer.svg +1 -1
- package/dist/pine-core/svg/handle-2-vertical.svg +1 -1
- package/dist/pine-core/svg/handle-2.svg +1 -1
- package/dist/pine-core/svg/handle.svg +1 -1
- package/dist/pine-core/svg/hashtag.svg +1 -1
- package/dist/pine-core/svg/hd-video.svg +1 -1
- package/dist/pine-core/svg/heading-1.svg +1 -1
- package/dist/pine-core/svg/heading-2.svg +1 -1
- package/dist/pine-core/svg/heading-3.svg +1 -1
- package/dist/pine-core/svg/heading-4.svg +1 -1
- package/dist/pine-core/svg/heading-5.svg +1 -1
- package/dist/pine-core/svg/heading-6.svg +1 -1
- package/dist/pine-core/svg/heading-large.svg +1 -1
- package/dist/pine-core/svg/heading-small.svg +1 -1
- package/dist/pine-core/svg/headset-tone.svg +1 -1
- package/dist/pine-core/svg/headset.svg +1 -1
- package/dist/pine-core/svg/help-filled.svg +1 -1
- package/dist/pine-core/svg/help.svg +1 -1
- package/dist/pine-core/svg/home-alt.svg +1 -1
- package/dist/pine-core/svg/home-filled.svg +1 -1
- package/dist/pine-core/svg/home-tone.svg +1 -1
- package/dist/pine-core/svg/home.svg +1 -1
- package/dist/pine-core/svg/horizontal-line.svg +1 -1
- package/dist/pine-core/svg/image.svg +1 -1
- package/dist/pine-core/svg/info-circle-filled.svg +1 -1
- package/dist/pine-core/svg/info-circle.svg +1 -1
- package/dist/pine-core/svg/ios-battery.svg +1 -1
- package/dist/pine-core/svg/ios-data.svg +1 -1
- package/dist/pine-core/svg/ios-wifi.svg +1 -1
- package/dist/pine-core/svg/italic.svg +1 -1
- package/dist/pine-core/svg/kajabi-filled.svg +1 -1
- package/dist/pine-core/svg/kajabi.svg +1 -1
- package/dist/pine-core/svg/klarna.svg +1 -1
- package/dist/pine-core/svg/lab.svg +1 -1
- package/dist/pine-core/svg/launch.svg +1 -1
- package/dist/pine-core/svg/layout-grid-02.svg +1 -0
- package/dist/pine-core/svg/layout-grid.svg +1 -1
- package/dist/pine-core/svg/layout-list.svg +1 -1
- package/dist/pine-core/svg/left-small.svg +1 -1
- package/dist/pine-core/svg/list-bullet.svg +1 -1
- package/dist/pine-core/svg/list-details.svg +1 -1
- package/dist/pine-core/svg/list-numbers.svg +1 -1
- package/dist/pine-core/svg/location.svg +1 -1
- package/dist/pine-core/svg/lock-alt.svg +1 -1
- package/dist/pine-core/svg/lock.svg +1 -1
- package/dist/pine-core/svg/logo-afterpay.svg +1 -1
- package/dist/pine-core/svg/logo-facebook-round.svg +1 -1
- package/dist/pine-core/svg/logo-facebook.svg +1 -1
- package/dist/pine-core/svg/logo-instagram.svg +1 -1
- package/dist/pine-core/svg/logo-linkedin.svg +1 -1
- package/dist/pine-core/svg/logo-snapchat.svg +1 -0
- package/dist/pine-core/svg/logo-tiktok.svg +1 -1
- package/dist/pine-core/svg/logo-twitter-x.svg +1 -1
- package/dist/pine-core/svg/logo-twitter.svg +1 -1
- package/dist/pine-core/svg/logo-youtube.svg +1 -1
- package/dist/pine-core/svg/loop.svg +1 -1
- package/dist/pine-core/svg/mail-filled.svg +1 -1
- package/dist/pine-core/svg/mail-open.svg +1 -1
- package/dist/pine-core/svg/mail-tone.svg +1 -1
- package/dist/pine-core/svg/mail.svg +1 -1
- package/dist/pine-core/svg/map.svg +1 -1
- package/dist/pine-core/svg/mapped.svg +1 -1
- package/dist/pine-core/svg/margin-left.svg +1 -1
- package/dist/pine-core/svg/margin-right.svg +1 -1
- package/dist/pine-core/svg/marker-filled.svg +1 -1
- package/dist/pine-core/svg/marker.svg +1 -1
- package/dist/pine-core/svg/megaphone-filled.svg +1 -1
- package/dist/pine-core/svg/megaphone.svg +1 -1
- package/dist/pine-core/svg/menu-alt.svg +1 -1
- package/dist/pine-core/svg/menu-bordered.svg +1 -1
- package/dist/pine-core/svg/menu.svg +1 -1
- package/dist/pine-core/svg/merge.svg +1 -1
- package/dist/pine-core/svg/microphone-off.svg +1 -1
- package/dist/pine-core/svg/microphone.svg +1 -1
- package/dist/pine-core/svg/monitor-filled.svg +1 -1
- package/dist/pine-core/svg/monitor-tone.svg +1 -1
- package/dist/pine-core/svg/monitor.svg +1 -1
- package/dist/pine-core/svg/more-menu-filled.svg +1 -1
- package/dist/pine-core/svg/more-menu.svg +1 -1
- package/dist/pine-core/svg/move-left.svg +1 -1
- package/dist/pine-core/svg/move-right.svg +1 -1
- package/dist/pine-core/svg/multi-pay.svg +1 -1
- package/dist/pine-core/svg/newsletter-2.svg +1 -1
- package/dist/pine-core/svg/newsletter.svg +1 -1
- package/dist/pine-core/svg/one-off-session.svg +1 -1
- package/dist/pine-core/svg/one-time.svg +1 -1
- package/dist/pine-core/svg/packages.svg +1 -1
- package/dist/pine-core/svg/pause-circle.svg +1 -1
- package/dist/pine-core/svg/pause.svg +1 -1
- package/dist/pine-core/svg/payout.svg +1 -1
- package/dist/pine-core/svg/pen.svg +1 -1
- package/dist/pine-core/svg/phone-portrait.svg +1 -1
- package/dist/pine-core/svg/phone-tone.svg +1 -1
- package/dist/pine-core/svg/phone-toolbar-filled.svg +1 -1
- package/dist/pine-core/svg/phone-toolbar.svg +1 -1
- package/dist/pine-core/svg/play-circle.svg +1 -1
- package/dist/pine-core/svg/play-outline.svg +1 -1
- package/dist/pine-core/svg/play-store.svg +1 -1
- package/dist/pine-core/svg/play.svg +1 -1
- package/dist/pine-core/svg/plug.svg +1 -1
- package/dist/pine-core/svg/premium.svg +1 -1
- package/dist/pine-core/svg/present.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/product-filled.svg +1 -1
- package/dist/pine-core/svg/product.svg +1 -1
- package/dist/pine-core/svg/question-circle.svg +1 -1
- package/dist/pine-core/svg/quote.svg +1 -1
- package/dist/pine-core/svg/redo.svg +1 -1
- package/dist/pine-core/svg/refresh.svg +1 -1
- package/dist/pine-core/svg/remove-circle.svg +1 -1
- package/dist/pine-core/svg/remove.svg +1 -1
- package/dist/pine-core/svg/rename.svg +1 -1
- package/dist/pine-core/svg/reset-password.svg +1 -1
- package/dist/pine-core/svg/restore.svg +1 -1
- package/dist/pine-core/svg/right-small.svg +1 -1
- package/dist/pine-core/svg/rocket-filled.svg +1 -1
- package/dist/pine-core/svg/rocket-tone.svg +1 -1
- package/dist/pine-core/svg/rocket.svg +1 -1
- package/dist/pine-core/svg/round-dollar.svg +1 -1
- package/dist/pine-core/svg/rows.svg +1 -1
- package/dist/pine-core/svg/scissor.svg +1 -1
- package/dist/pine-core/svg/screen-share-off.svg +1 -1
- package/dist/pine-core/svg/screen-share-on.svg +1 -1
- package/dist/pine-core/svg/search-md-tone.svg +1 -1
- package/dist/pine-core/svg/search-small.svg +1 -1
- package/dist/pine-core/svg/search.svg +1 -1
- package/dist/pine-core/svg/send-message.svg +1 -1
- package/dist/pine-core/svg/sequences.svg +1 -1
- package/dist/pine-core/svg/settings-tone.svg +1 -1
- package/dist/pine-core/svg/share.svg +1 -1
- package/dist/pine-core/svg/shopping-cart-filled.svg +1 -0
- package/dist/pine-core/svg/skipped.svg +1 -1
- package/dist/pine-core/svg/slash-divider.svg +1 -1
- package/dist/pine-core/svg/speaker.svg +1 -1
- package/dist/pine-core/svg/stack.svg +1 -1
- package/dist/pine-core/svg/star.svg +1 -1
- package/dist/pine-core/svg/stars-tone.svg +1 -1
- package/dist/pine-core/svg/stop.svg +1 -1
- package/dist/pine-core/svg/stopwatch.svg +1 -1
- package/dist/pine-core/svg/strikethrough.svg +1 -1
- package/dist/pine-core/svg/subscript.svg +1 -1
- package/dist/pine-core/svg/subscriptions.svg +1 -1
- package/dist/pine-core/svg/super-admin.svg +1 -1
- package/dist/pine-core/svg/superscript.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/tablet-portrait.svg +1 -1
- package/dist/pine-core/svg/tag-filled.svg +1 -1
- package/dist/pine-core/svg/tag.svg +1 -1
- package/dist/pine-core/svg/text-styles.svg +1 -1
- package/dist/pine-core/svg/theme-store-filled.svg +1 -1
- package/dist/pine-core/svg/theme-store.svg +1 -1
- package/dist/pine-core/svg/thumb-down-filled.svg +1 -1
- package/dist/pine-core/svg/thumb-down.svg +1 -1
- package/dist/pine-core/svg/thumb-up-filled.svg +1 -1
- package/dist/pine-core/svg/thumb-up.svg +1 -1
- package/dist/pine-core/svg/trash.svg +1 -1
- package/dist/pine-core/svg/trophy-filled.svg +1 -1
- package/dist/pine-core/svg/trophy.svg +1 -1
- package/dist/pine-core/svg/underline.svg +1 -1
- package/dist/pine-core/svg/undo.svg +1 -1
- package/dist/pine-core/svg/unlock.svg +1 -1
- package/dist/pine-core/svg/unmapped.svg +1 -1
- package/dist/pine-core/svg/up-small.svg +1 -1
- package/dist/pine-core/svg/upload.svg +1 -1
- package/dist/pine-core/svg/url.svg +1 -1
- package/dist/pine-core/svg/user-circle-filled.svg +1 -1
- package/dist/pine-core/svg/user-circle.svg +1 -1
- package/dist/pine-core/svg/user-filled.svg +1 -1
- package/dist/pine-core/svg/user-star-filled.svg +1 -1
- package/dist/pine-core/svg/user-star.svg +1 -1
- package/dist/pine-core/svg/user.svg +1 -1
- package/dist/pine-core/svg/users-alt.svg +1 -1
- package/dist/pine-core/svg/users-filled.svg +1 -1
- package/dist/pine-core/svg/users-tone.svg +1 -1
- package/dist/pine-core/svg/users.svg +1 -1
- package/dist/pine-core/svg/video-off.svg +1 -1
- package/dist/pine-core/svg/video-on.svg +1 -1
- package/dist/pine-core/svg/warning-filled.svg +1 -1
- package/dist/pine-core/svg/warning.svg +1 -1
- package/dist/pine-core/svg/window-paragraph.svg +1 -1
- package/dist/pine-core/svg/world.svg +1 -1
- package/dist/pine-core/svg/wrench.svg +1 -1
- package/dist/types/components/pds-accordion/pds-accordion.d.ts +1 -0
- package/dist/types/components/pds-button/pds-button.d.ts +13 -8
- package/dist/types/components/pds-chip/pds-chip.d.ts +8 -8
- package/dist/types/components/pds-copytext/pds-copytext.d.ts +3 -3
- package/dist/types/components/pds-divider/pds-divider.d.ts +1 -1
- package/dist/types/components/pds-image/pds-image.d.ts +7 -3
- package/dist/types/components/pds-input/pds-input.d.ts +9 -5
- package/dist/types/components/pds-link/pds-link.d.ts +7 -11
- package/dist/types/components/pds-popover/pds-popover.d.ts +45 -0
- package/dist/types/components/pds-radio/pds-radio.d.ts +11 -11
- package/dist/types/components/pds-select/pds-select.d.ts +91 -0
- package/dist/types/components/pds-switch/pds-switch.d.ts +11 -19
- package/dist/types/components/pds-table/pds-table-cell/pds-table-cell.d.ts +4 -0
- package/dist/types/components/pds-table/pds-table-head/pds-table-head.d.ts +5 -2
- package/dist/types/components/pds-table/pds-table-head-cell/pds-table-head-cell.d.ts +9 -1
- package/dist/types/components/pds-table/pds-table-row/pds-table-row.d.ts +3 -3
- package/dist/types/components/pds-table/pds-table.d.ts +11 -3
- package/dist/types/components/pds-text/pds-text.d.ts +31 -0
- package/dist/types/components/pds-textarea/pds-textarea.d.ts +16 -12
- package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +5 -9
- package/dist/types/components.d.ts +491 -137
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/utils/types.d.ts +1 -1
- package/hydrate/index.d.ts +6 -0
- package/hydrate/index.js +981 -404
- package/hydrate/index.mjs +981 -404
- package/package.json +15 -13
- package/dist/cjs/index-479f5bd8.js +0 -24
- package/dist/cjs/index-479f5bd8.js.map +0 -1
- package/dist/cjs/index-d4ec6246.js.map +0 -1
- package/dist/esm/index-9f0e742f.js.map +0 -1
- package/dist/esm/index-9f8fe796.js +0 -14
- package/dist/esm/index-9f8fe796.js.map +0 -1
- package/dist/esm-es5/index-9f0e742f.js +0 -3
- package/dist/esm-es5/index-9f0e742f.js.map +0 -1
- package/dist/esm-es5/index-9f8fe796.js +0 -2
- package/dist/esm-es5/index-9f8fe796.js.map +0 -1
- package/dist/pine-core/p-06f526e5.system.js +0 -2
- package/dist/pine-core/p-06f526e5.system.js.map +0 -1
- package/dist/pine-core/p-0bf48e12.entry.js +0 -2
- package/dist/pine-core/p-0bf48e12.entry.js.map +0 -1
- package/dist/pine-core/p-12e1c54f.entry.js +0 -2
- package/dist/pine-core/p-12e1c54f.entry.js.map +0 -1
- package/dist/pine-core/p-1400fed8.entry.js +0 -2
- package/dist/pine-core/p-1400fed8.entry.js.map +0 -1
- package/dist/pine-core/p-16b74124.system.js +0 -2
- package/dist/pine-core/p-16b74124.system.js.map +0 -1
- package/dist/pine-core/p-20dae7d1.system.entry.js +0 -2
- package/dist/pine-core/p-20dae7d1.system.entry.js.map +0 -1
- package/dist/pine-core/p-2837aec3.system.entry.js +0 -2
- package/dist/pine-core/p-2837aec3.system.entry.js.map +0 -1
- package/dist/pine-core/p-2bce244c.entry.js +0 -2
- package/dist/pine-core/p-2bce244c.entry.js.map +0 -1
- package/dist/pine-core/p-307b87fc.system.entry.js +0 -2
- package/dist/pine-core/p-307b87fc.system.entry.js.map +0 -1
- package/dist/pine-core/p-30895edd.system.entry.js.map +0 -1
- package/dist/pine-core/p-3487fe4a.entry.js +0 -2
- package/dist/pine-core/p-3487fe4a.entry.js.map +0 -1
- package/dist/pine-core/p-373bf876.js +0 -2
- package/dist/pine-core/p-373bf876.js.map +0 -1
- package/dist/pine-core/p-3ceda09a.system.entry.js +0 -2
- package/dist/pine-core/p-3ceda09a.system.entry.js.map +0 -1
- package/dist/pine-core/p-40489c55.entry.js +0 -2
- package/dist/pine-core/p-40489c55.entry.js.map +0 -1
- package/dist/pine-core/p-41c843c5.system.entry.js +0 -2
- package/dist/pine-core/p-41c843c5.system.entry.js.map +0 -1
- package/dist/pine-core/p-4262c8d0.system.entry.js +0 -2
- package/dist/pine-core/p-4262c8d0.system.entry.js.map +0 -1
- package/dist/pine-core/p-43c37135.entry.js +0 -2
- package/dist/pine-core/p-43c37135.entry.js.map +0 -1
- package/dist/pine-core/p-45df80d3.entry.js +0 -2
- package/dist/pine-core/p-45df80d3.entry.js.map +0 -1
- package/dist/pine-core/p-479fd128.system.entry.js +0 -2
- package/dist/pine-core/p-479fd128.system.entry.js.map +0 -1
- package/dist/pine-core/p-4868ffe2.entry.js +0 -2
- package/dist/pine-core/p-4868ffe2.entry.js.map +0 -1
- package/dist/pine-core/p-4cfa45e5.system.entry.js +0 -2
- package/dist/pine-core/p-4cfa45e5.system.entry.js.map +0 -1
- package/dist/pine-core/p-4e5423ec.entry.js +0 -2
- package/dist/pine-core/p-4e5423ec.entry.js.map +0 -1
- package/dist/pine-core/p-5303452a.entry.js +0 -2
- package/dist/pine-core/p-5303452a.entry.js.map +0 -1
- package/dist/pine-core/p-59a88d32.entry.js +0 -2
- package/dist/pine-core/p-59a88d32.entry.js.map +0 -1
- package/dist/pine-core/p-5d35d9bc.system.entry.js +0 -2
- package/dist/pine-core/p-5d35d9bc.system.entry.js.map +0 -1
- package/dist/pine-core/p-5dab0de3.system.entry.js +0 -2
- package/dist/pine-core/p-5dab0de3.system.entry.js.map +0 -1
- package/dist/pine-core/p-60622df4.entry.js.map +0 -1
- package/dist/pine-core/p-63eacc4c.entry.js +0 -2
- package/dist/pine-core/p-63eacc4c.entry.js.map +0 -1
- package/dist/pine-core/p-64a079d4.entry.js +0 -2
- package/dist/pine-core/p-64a079d4.entry.js.map +0 -1
- package/dist/pine-core/p-64ec41b5.system.entry.js +0 -2
- package/dist/pine-core/p-64ec41b5.system.entry.js.map +0 -1
- package/dist/pine-core/p-669c5ccd.entry.js +0 -2
- package/dist/pine-core/p-669c5ccd.entry.js.map +0 -1
- package/dist/pine-core/p-74931ca7.entry.js +0 -2
- package/dist/pine-core/p-74931ca7.entry.js.map +0 -1
- package/dist/pine-core/p-766e4212.system.entry.js +0 -2
- package/dist/pine-core/p-766e4212.system.entry.js.map +0 -1
- package/dist/pine-core/p-79625567.entry.js +0 -2
- package/dist/pine-core/p-79625567.entry.js.map +0 -1
- package/dist/pine-core/p-7b44943d.system.entry.js +0 -2
- package/dist/pine-core/p-7b44943d.system.entry.js.map +0 -1
- package/dist/pine-core/p-7c029627.system.entry.js +0 -9
- package/dist/pine-core/p-7c029627.system.entry.js.map +0 -1
- package/dist/pine-core/p-7e7de1d6.js +0 -3
- package/dist/pine-core/p-7e7de1d6.js.map +0 -1
- package/dist/pine-core/p-7ed5ef61.system.entry.js +0 -2
- package/dist/pine-core/p-7ed5ef61.system.entry.js.map +0 -1
- package/dist/pine-core/p-80efeb1b.entry.js +0 -2
- package/dist/pine-core/p-80efeb1b.entry.js.map +0 -1
- package/dist/pine-core/p-8233b878.system.entry.js +0 -2
- package/dist/pine-core/p-8233b878.system.entry.js.map +0 -1
- package/dist/pine-core/p-84e37a4c.entry.js +0 -2
- package/dist/pine-core/p-84e37a4c.entry.js.map +0 -1
- package/dist/pine-core/p-9071a673.system.entry.js +0 -2
- package/dist/pine-core/p-9071a673.system.entry.js.map +0 -1
- package/dist/pine-core/p-9229e03e.system.entry.js +0 -2
- package/dist/pine-core/p-9229e03e.system.entry.js.map +0 -1
- package/dist/pine-core/p-94a76b90.system.entry.js +0 -2
- package/dist/pine-core/p-94a76b90.system.entry.js.map +0 -1
- package/dist/pine-core/p-99c6c7fe.system.js +0 -2
- package/dist/pine-core/p-a58de843.system.entry.js +0 -2
- package/dist/pine-core/p-a58de843.system.entry.js.map +0 -1
- package/dist/pine-core/p-a6b486a4.entry.js +0 -8
- package/dist/pine-core/p-ad7f960d.system.entry.js +0 -2
- package/dist/pine-core/p-ad7f960d.system.entry.js.map +0 -1
- package/dist/pine-core/p-b4fb6072.system.entry.js +0 -2
- package/dist/pine-core/p-b4fb6072.system.entry.js.map +0 -1
- package/dist/pine-core/p-b8cbff05.system.entry.js +0 -2
- package/dist/pine-core/p-b8cbff05.system.entry.js.map +0 -1
- package/dist/pine-core/p-b94d28cc.entry.js +0 -2
- package/dist/pine-core/p-b94d28cc.entry.js.map +0 -1
- package/dist/pine-core/p-c644e0b4.system.entry.js +0 -2
- package/dist/pine-core/p-c644e0b4.system.entry.js.map +0 -1
- package/dist/pine-core/p-cb0cccca.entry.js +0 -2
- package/dist/pine-core/p-cb0cccca.entry.js.map +0 -1
- package/dist/pine-core/p-d20f4c1d.system.js +0 -3
- package/dist/pine-core/p-d20f4c1d.system.js.map +0 -1
- package/dist/pine-core/p-dd40be84.entry.js +0 -2
- package/dist/pine-core/p-dd40be84.entry.js.map +0 -1
- package/dist/pine-core/p-e339312d.entry.js +0 -2
- package/dist/pine-core/p-e339312d.entry.js.map +0 -1
- package/dist/pine-core/p-e52afdbe.entry.js +0 -2
- package/dist/pine-core/p-e52afdbe.entry.js.map +0 -1
- package/dist/pine-core/p-e705a6ad.system.entry.js +0 -2
- package/dist/pine-core/p-e705a6ad.system.entry.js.map +0 -1
- package/dist/pine-core/p-ed4e6972.entry.js +0 -2
- package/dist/pine-core/p-ed4e6972.entry.js.map +0 -1
- package/dist/pine-core/p-f8c08ca7.system.entry.js +0 -2
- package/dist/pine-core/p-f8c08ca7.system.entry.js.map +0 -1
- /package/dist/esm-es5/{pds-label-c806218b.js.map → pds-label-62469596.js.map} +0 -0
- /package/dist/pine-core/{p-e8874481.system.entry.js.map → p-1a1a76ea.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b491e677.entry.js.map → p-396014d3.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d0948e17.entry.js.map → p-65229490.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b4f7b883.system.entry.js.map → p-84d36583.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7bc0b531.js.map → p-a9038f7f.js.map} +0 -0
- /package/dist/pine-core/{p-99c6c7fe.system.js.map → p-db622f8f.system.js.map} +0 -0
- /package/dist/pine-core/{p-f5597dce.entry.js.map → p-e2a673e8.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f86af20f.system.js.map → p-e3fab4be.system.js.map} +0 -0
- /package/dist/pine-core/{p-6293581d.system.entry.js.map → p-f16ef73c.system.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var stream = require('stream');
|
|
6
6
|
|
|
7
|
+
const modeResolutionChain = [];
|
|
8
|
+
|
|
7
9
|
function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResults, $stencilAfterHydrate, $stencilHydrateResolve) {
|
|
8
10
|
var globalThis = $stencilWindow;
|
|
9
11
|
var self = $stencilWindow;
|
|
@@ -35,6 +37,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
35
37
|
var CSS = $stencilWindow.CSS;
|
|
36
38
|
var CustomEvent = $stencilWindow.CustomEvent;
|
|
37
39
|
var Document = $stencilWindow.Document;
|
|
40
|
+
var ShadowRoot = $stencilWindow.ShadowRoot;
|
|
38
41
|
var DocumentFragment = $stencilWindow.DocumentFragment;
|
|
39
42
|
var DocumentType = $stencilWindow.DocumentType;
|
|
40
43
|
var DOMTokenList = $stencilWindow.DOMTokenList;
|
|
@@ -55,6 +58,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
55
58
|
var HTMLTemplateElement = $stencilWindow.HTMLTemplateElement;
|
|
56
59
|
var HTMLTitleElement = $stencilWindow.HTMLTitleElement;
|
|
57
60
|
var IntersectionObserver = $stencilWindow.IntersectionObserver;
|
|
61
|
+
var ResizeObserver = $stencilWindow.ResizeObserver;
|
|
58
62
|
var KeyboardEvent = $stencilWindow.KeyboardEvent;
|
|
59
63
|
var MouseEvent = $stencilWindow.MouseEvent;
|
|
60
64
|
var Node = $stencilWindow.Node;
|
|
@@ -124,10 +128,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
124
128
|
|
|
125
129
|
|
|
126
130
|
const NAMESPACE = 'pine-core';
|
|
127
|
-
const BUILD = /* pine-core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, 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:
|
|
131
|
+
const BUILD = /* pine-core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, 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: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", 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, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, 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 };
|
|
128
132
|
|
|
129
133
|
/*
|
|
130
|
-
Stencil Hydrate Platform v4.
|
|
134
|
+
Stencil Hydrate Platform v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
131
135
|
*/
|
|
132
136
|
var __defProp = Object.defineProperty;
|
|
133
137
|
var __export = (target, all) => {
|
|
@@ -224,6 +228,12 @@ var TEXT_NODE_ID = "t";
|
|
|
224
228
|
var HYDRATE_ID = "s-id";
|
|
225
229
|
var HYDRATED_STYLE_ID = "sty-id";
|
|
226
230
|
var HYDRATE_CHILD_ID = "c-id";
|
|
231
|
+
var STENCIL_DOC_DATA = "_stencilDocData";
|
|
232
|
+
var DEFAULT_DOC_DATA = {
|
|
233
|
+
hostIds: 0,
|
|
234
|
+
rootLevelIds: 0,
|
|
235
|
+
staticComponents: /* @__PURE__ */ new Set()
|
|
236
|
+
};
|
|
227
237
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
228
238
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
229
239
|
var h = (nodeName, vnodeData, ...children) => {
|
|
@@ -604,10 +614,17 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
604
614
|
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
605
615
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
606
616
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
607
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling :
|
|
617
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
608
618
|
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
609
619
|
} else if ("host" in styleContainerNode) {
|
|
610
|
-
|
|
620
|
+
{
|
|
621
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
622
|
+
if (existingStyleContainer) {
|
|
623
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
624
|
+
} else {
|
|
625
|
+
styleContainerNode.prepend(styleElm);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
611
628
|
} else {
|
|
612
629
|
styleContainerNode.append(styleElm);
|
|
613
630
|
}
|
|
@@ -1781,6 +1798,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1781
1798
|
}
|
|
1782
1799
|
};
|
|
1783
1800
|
var getHostListenerTarget = (elm, flags) => {
|
|
1801
|
+
if (flags & 8 /* TargetWindow */) return win;
|
|
1784
1802
|
if (flags & 16 /* TargetBody */) return doc.body;
|
|
1785
1803
|
return elm;
|
|
1786
1804
|
};
|
|
@@ -1789,11 +1807,8 @@ var hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
|
|
|
1789
1807
|
// src/runtime/vdom/vdom-annotations.ts
|
|
1790
1808
|
var insertVdomAnnotations = (doc2, staticComponents) => {
|
|
1791
1809
|
if (doc2 != null) {
|
|
1792
|
-
const docData = {
|
|
1793
|
-
|
|
1794
|
-
rootLevelIds: 0,
|
|
1795
|
-
staticComponents: new Set(staticComponents)
|
|
1796
|
-
};
|
|
1810
|
+
const docData = STENCIL_DOC_DATA in doc2 ? doc2[STENCIL_DOC_DATA] : { ...DEFAULT_DOC_DATA };
|
|
1811
|
+
docData.staticComponents = new Set(staticComponents);
|
|
1797
1812
|
const orgLocationNodes = [];
|
|
1798
1813
|
parseVNodeAnnotations(doc2, doc2.body, docData, orgLocationNodes);
|
|
1799
1814
|
orgLocationNodes.forEach((orgLocationNode) => {
|
|
@@ -2333,22 +2348,27 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
2333
2348
|
};
|
|
2334
2349
|
var styles = /* @__PURE__ */ new Map();
|
|
2335
2350
|
|
|
2336
|
-
/* pds-icons v8.
|
|
2337
|
-
const caretDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0
|
|
2338
|
-
const checkCircleFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0
|
|
2339
|
-
const copy = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0
|
|
2340
|
-
const
|
|
2341
|
-
const
|
|
2342
|
-
const
|
|
2343
|
-
const
|
|
2344
|
-
const
|
|
2345
|
-
const
|
|
2351
|
+
/* pds-icons v8.12.0, ES Modules */
|
|
2352
|
+
const caretDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414'/></svg>";
|
|
2353
|
+
const checkCircleFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m5.207 8.707a1 1 0 0 0-1.414-1.414L10.5 13.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0z'/></svg>";
|
|
2354
|
+
const copy = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M11.162 1h7.676c.528 0 .982 0 1.357.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.031.375.031.83.031 1.356v7.678c0 .527 0 .981-.03 1.356-.033.395-.104.789-.297 1.167a3 3 0 0 1-1.311 1.311c-.378.193-.772.264-1.167.296-.375.031-.83.031-1.357.031H17v1.838c0 .528 0 .982-.03 1.357-.033.395-.104.789-.297 1.167a3 3 0 0 1-1.311 1.311c-.378.193-.772.264-1.167.296-.375.031-.83.031-1.356.031H5.16c-.527 0-.981 0-1.356-.03-.395-.033-.789-.104-1.167-.297a3 3 0 0 1-1.311-1.311c-.193-.378-.264-.772-.296-1.167C1 19.82 1 19.365 1 18.838v-7.677c0-.527 0-.981.03-1.356.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C4.18 7 4.635 7 5.161 7H7V5.161c0-.527 0-.981.03-1.356.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C10.18 1 10.635 1 11.162 1M5.2 9c-.577 0-.949 0-1.232.024-.272.022-.373.06-.422.085a1 1 0 0 0-.437.437c-.025.05-.063.15-.085.422C3 10.25 3 10.623 3 11.2v7.6c0 .577 0 .949.024 1.232.022.272.06.373.085.422a1 1 0 0 0 .437.437c.05.025.15.063.422.085C4.25 21 4.623 21 5.2 21h7.6c.577 0 .949 0 1.232-.024.272-.022.373-.06.422-.085a1 1 0 0 0 .437-.437c.025-.05.063-.15.085-.422C15 19.75 15 19.377 15 18.8v-7.6c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 0 0-.437-.437c-.05-.025-.15-.063-.422-.085C13.75 9 13.377 9 12.8 9zM17 15v-3.838c0-.528 0-.982-.03-1.357-.033-.395-.104-.789-.297-1.167a3 3 0 0 0-1.311-1.311c-.378-.193-.772-.264-1.167-.296A18 18 0 0 0 12.838 7H9V5.2c0-.577 0-.949.024-1.232.022-.272.06-.373.085-.422a1 1 0 0 1 .437-.437c.05-.025.15-.063.422-.085C10.25 3 10.623 3 11.2 3h7.6c.577 0 .949 0 1.232.024.272.022.373.06.422.085a1 1 0 0 1 .437.437c.025.05.063.15.085.422C21 4.25 21 4.623 21 5.2v7.6c0 .577 0 .949-.024 1.232-.022.272-.06.373-.085.422a1 1 0 0 1-.437.437c-.05.025-.15.063-.422.085C19.75 15 19.377 15 18.8 15z'/></svg>";
|
|
2355
|
+
const danger = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m11-5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1m-1 9a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1'/></svg>";
|
|
2356
|
+
const downSmall = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414'/></svg>";
|
|
2357
|
+
const handle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M2.833 7.5c-.46 0-.833.448-.833 1s.373 1 .833 1h18.334c.46 0 .833-.448.833-1s-.373-1-.833-1zM2.833 14.5c-.46 0-.833.448-.833 1s.373 1 .833 1h18.334c.46 0 .833-.448.833-1s-.373-1-.833-1z'/></svg>";
|
|
2358
|
+
const launch = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M14 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V5.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L18.586 4H15a1 1 0 0 1-1-1M7.759 4H10a1 1 0 1 1 0 2H7.8c-.857 0-1.439 0-1.889.038-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C4 8.361 4 8.943 4 9.8v6.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C6.361 20 6.943 20 7.8 20h6.4c.857 0 1.439 0 1.889-.038.438-.035.663-.1.819-.18a2 2 0 0 0 .874-.874c.08-.156.145-.38.18-.819.037-.45.038-1.032.038-1.889V14a1 1 0 1 1 2 0v2.241c0 .805 0 1.47-.044 2.01-.046.563-.145 1.08-.392 1.565a4 4 0 0 1-1.748 1.748c-.485.247-1.002.346-1.564.392-.541.044-1.206.044-2.01.044H7.758c-.805 0-1.47 0-2.01-.044-.563-.046-1.08-.145-1.565-.392a4 4 0 0 1-1.748-1.748c-.247-.485-.346-1.002-.392-1.564C2 17.71 2 17.046 2 16.242V9.758c0-.805 0-1.47.044-2.01.046-.563.145-1.08.392-1.565a4 4 0 0 1 1.748-1.748c.485-.247 1.002-.346 1.564-.392C6.29 4 6.954 4 7.758 4'/></svg>";
|
|
2359
|
+
const remove = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12 5.293 6.707a1 1 0 0 1 0-1.414'/></svg>";
|
|
2360
|
+
const upSmall = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M11.293 8.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 10.414l-5.293 5.293a1 1 0 0 1-1.414-1.414z'/></svg>";
|
|
2361
|
+
const userFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M8.786 14.5h6.428c.727 0 1.222 0 1.654.076a5 5 0 0 1 4.056 4.056c.076.432.076.927.076 1.654 0 .158.005.318-.023.474a1.5 1.5 0 0 1-1.217 1.217c-.136.024-.28.023-.35.023Q12 21.961 4.59 22c-.07 0-.214.001-.35-.023a1.5 1.5 0 0 1-1.217-1.216c-.028-.157-.023-.317-.023-.475 0-.727 0-1.222.076-1.654a5 5 0 0 1 4.056-4.056c.432-.076.927-.076 1.654-.076M6.5 7.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0'/></svg>";
|
|
2346
2362
|
|
|
2347
|
-
const
|
|
2348
|
-
var PdsAccordionStyle0 =
|
|
2363
|
+
const baseCss$n = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
2364
|
+
var PdsAccordionStyle0 = baseCss$n;
|
|
2365
|
+
|
|
2366
|
+
const pdsAccordionCss = ":host{display:block}details{--border-radius-default:var(--pine-border-radius-default);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--color-background-default:var(--pine-color-white);--color-background-hover:var(--pine-color-grey-150);--color-text-default:var(--pine-color-text-interactive-default);--color-text-active:var(--pine-color-grey-950);--color-text-hover:var(--pine-color-grey-800);--font-weight-active:var(--pine-font-weight-semi-bold);--number-animation-transform-timing:200ms;--spacing-details-padding-inline:var(--pine-spacing-150);--spacing-details-padding-block-end:calc(var(--pine-spacing-200) + 2);--spacing-summary-padding-block:calc(var(--pine-spacing-150) / 2);--spacing-summary-padding-inline-start:var(--pine-spacing-100);--spacing-summary-padding-inline-end:var(--pine-spacing-050);--typography-default:var(--pine-typography-body-md-medium);border-radius:var(--border-radius-default)}details pds-icon{-webkit-transform:scaleY(1);transform:scaleY(1)}details[open]{background-color:var(--color-background-default)}details[open] summary{color:var(--color-text-active);font-weight:var(--font-weight-active)}details[open] summary pds-icon{-webkit-transform:scaleY(-1);transform:scaleY(-1)}summary{background-color:var(--color-background-default);border-radius:var(--border-radius-default);color:var(--color-text-default);font:var(--typography-default);padding-block:var(--spacing-summary-padding-block);-webkit-padding-end:var(--spacing-summary-padding-inline-end);padding-inline-end:var(--spacing-summary-padding-inline-end);-webkit-padding-start:var(--spacing-summary-padding-inline-start);padding-inline-start:var(--spacing-summary-padding-inline-start);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}summary::-webkit-details-marker{display:none}summary:hover{background:var(--color-background-hover);color:var(--color-text-hover);cursor:pointer}summary:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none;position:relative}summary pds-icon{-webkit-margin-start:auto;margin-inline-start:auto}.pds-accordion__body{-webkit-padding-after:var(--spacing-details-padding-block-end);padding-block-end:var(--spacing-details-padding-block-end);padding-inline:var(--spacing-details-padding-inline)}";
|
|
2367
|
+
var PdsAccordionStyle1 = pdsAccordionCss;
|
|
2349
2368
|
|
|
2350
2369
|
/**
|
|
2351
2370
|
* @part accordion-body - Accordion body styles.
|
|
2371
|
+
* @part accordion-button - Accordion button/trigger styles.
|
|
2352
2372
|
* @slot (default) - Accordion body content.
|
|
2353
2373
|
* @slot label - Accordion trigger button content.
|
|
2354
2374
|
*/
|
|
@@ -2374,12 +2394,12 @@ class PdsAccordion {
|
|
|
2374
2394
|
this.detailsEl.addEventListener('toggle', this.handleToggle);
|
|
2375
2395
|
}
|
|
2376
2396
|
render() {
|
|
2377
|
-
return (hAsync(Host, { key: '
|
|
2397
|
+
return (hAsync(Host, { key: '9a8c2f915879f63d8a7255cf0f58b55f4b590eed', class: "pds-accordion", id: this.componentId }, hAsync("details", Object.assign({ key: 'f5428c5e340c55750fb94d85dfd7cdbb853c32de' }, this.getOpenAttribute(), { ref: (el) => (this.detailsEl = el) }), hAsync("summary", { key: '9255f9c850016e964d468ed35578c01159b7f234', part: "accordion-button" }, hAsync("slot", { key: '2b1dba36c97ed9c46b1efe7aac44cae4203e7a50', name: "label" }, "Details"), hAsync("pds-icon", { key: '9185cfd595c09a15c57fe1e1d89a2895c461aa46', icon: downSmall })), hAsync("div", { key: '41d030c5ffc2cee2099f141e80695c1f4e6ddcb0', part: "accordion-body", class: "pds-accordion__body" }, hAsync("slot", { key: 'b10afd83e6bec657dfa88cdf4a73f32f12d46935' })))));
|
|
2378
2398
|
}
|
|
2379
2399
|
static get watchers() { return {
|
|
2380
2400
|
"isOpen": ["handleOpenState"]
|
|
2381
2401
|
}; }
|
|
2382
|
-
static get style() { return PdsAccordionStyle0; }
|
|
2402
|
+
static get style() { return PdsAccordionStyle0 + PdsAccordionStyle1; }
|
|
2383
2403
|
static get cmpMeta() { return {
|
|
2384
2404
|
"$flags$": 9,
|
|
2385
2405
|
"$tagName$": "pds-accordion",
|
|
@@ -2393,8 +2413,11 @@ class PdsAccordion {
|
|
|
2393
2413
|
}; }
|
|
2394
2414
|
}
|
|
2395
2415
|
|
|
2396
|
-
const
|
|
2397
|
-
var PdsAvatarStyle0 =
|
|
2416
|
+
const baseCss$m = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
2417
|
+
var PdsAvatarStyle0 = baseCss$m;
|
|
2418
|
+
|
|
2419
|
+
const pdsAvatarCss = ":host{display:inline-block}div{--color-background-container:var(--pine-color-mercury-050);--color-background-badge:var(--pine-color-white);--color-border-badge:var(--pine-color-white);--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);--border-radius-round:var(--pine-border-radius-round);--border-radius-none:var(--pine-border-radius-0);--spacing-none:var(--pine-spacing-0);-ms-flex-align:center;align-items:center;background-color:var(--color-background-container);border-radius:var(--border-radius-admin-round, var(--border-radius-round));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;position:relative}:host(.pds-avatar--admin) div{--border-radius-admin-round:var(--pine-spacing-150);border-radius:var(--border-radius-admin-round)}:host(.pds-avatar--has-image) div{background:transparent}@supports selector(:has){div:has(img){background-color:transparent}}.pds-avatar__button{--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--border-radius-round:var(--pine-border-radius-round);-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:var(--border-radius-none);border-radius:var(--border-radius-round);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--spacing-none)}.pds-avatar__button:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-avatar__badge{background-color:var(--color-background-badge);border:var(--border-default);border-color:var(--color-border-badge);border-radius:var(--border-radius-round);bottom:var(--spacing-none);position:absolute;right:var(--spacing-none)}img{border-radius:var(--border-radius-admin-round, var(--border-radius-round));height:100%;-o-object-fit:cover;object-fit:cover;width:100%}";
|
|
2420
|
+
var PdsAvatarStyle1 = pdsAvatarCss;
|
|
2398
2421
|
|
|
2399
2422
|
/**
|
|
2400
2423
|
* @part image - The main image element that represents the avatar component.
|
|
@@ -2420,13 +2443,13 @@ class PdsAvatar {
|
|
|
2420
2443
|
// Percentage is average size of icon in relation to total avatar size
|
|
2421
2444
|
// of all preset sizes found in Figma.
|
|
2422
2445
|
// Used to allow icons to scale to container size
|
|
2423
|
-
&& hAsync("pds-icon", { class: "pds-avatar__badge", icon: checkCircleFilled, size: "33.53%" }));
|
|
2446
|
+
&& hAsync("pds-icon", { color: "var(--pine-color-purple-600)", class: "pds-avatar__badge", icon: checkCircleFilled, size: "33.53%" }));
|
|
2424
2447
|
this.renderIconOrImage = () => (this.image
|
|
2425
2448
|
? hAsync("img", { alt: this.alt, src: this.image })
|
|
2426
2449
|
// Percentage is average size of icon in relation to total avatar size
|
|
2427
2450
|
// of all preset sizes found in Figma.
|
|
2428
2451
|
// Used to allow icons to scale to container size
|
|
2429
|
-
: hAsync("pds-icon", { color: "var(--pine-color-
|
|
2452
|
+
: hAsync("pds-icon", { color: "var(--pine-color-mercury-500)", icon: userFilled, size: "33.53%" }));
|
|
2430
2453
|
this.classNames = () => ({
|
|
2431
2454
|
'pds-avatar': true,
|
|
2432
2455
|
[`pds-avatar--has-image`]: this.image !== '' && this.image !== null, // Remove when FF supports :has selector
|
|
@@ -2456,9 +2479,9 @@ class PdsAvatar {
|
|
|
2456
2479
|
}
|
|
2457
2480
|
}
|
|
2458
2481
|
render() {
|
|
2459
|
-
return (hAsync(Host, { key: '
|
|
2482
|
+
return (hAsync(Host, { key: '0b753aa7cb61c88a3808684a67eb1ee84898822c', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
|
|
2460
2483
|
}
|
|
2461
|
-
static get style() { return PdsAvatarStyle0; }
|
|
2484
|
+
static get style() { return PdsAvatarStyle0 + PdsAvatarStyle1; }
|
|
2462
2485
|
static get cmpMeta() { return {
|
|
2463
2486
|
"$flags$": 9,
|
|
2464
2487
|
"$tagName$": "pds-avatar",
|
|
@@ -2477,7 +2500,7 @@ class PdsAvatar {
|
|
|
2477
2500
|
}; }
|
|
2478
2501
|
}
|
|
2479
2502
|
|
|
2480
|
-
const pdsBoxCss = "pds-box{--border-width-default:var(--pine-border-width-thin);--color-background-box:inherit;--color-border-box:inherit;--sizing-min-height-box:none;--sizing-min-width-box:none;--spacing-gap-xxs:var(--pine-spacing-050);--spacing-gap-xs:var(--pine-spacing-100);--spacing-gap-sm:var(--pine-spacing-200);--spacing-gap-md:var(--pine-spacing-300);--spacing-gap-lg:var(--pine-spacing-450);--spacing-gap-xl:var(--pine-spacing-600);--spacing-gap-xxl:var(--pine-spacing-800);display:block}[class*=pds-box]{background-color:var(--color-background-box);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;min-height:var(--sizing-min-height-box);min-width:var(--sizing-min-width-box)}.pds-row>[class*=pds-box]{position:relative;width:100%}.pds-row>[class*=pds-box].pds-box--auto{width:auto}.pds-spacing-xxs{margin:4px}.pds-spacing-xs{margin:8px}.pds-spacing-sm{margin:16px}.pds-spacing-md{margin:24px}.pds-spacing-lg{margin:36px}.pds-spacing-xl{margin:48px}.pds-spacing-xxl{margin:64px}.pds-spacing-top-xxs{-webkit-margin-before:4px;margin-block-start:4px}.pds-spacing-top-xs{-webkit-margin-before:8px;margin-block-start:8px}.pds-spacing-top-sm{-webkit-margin-before:16px;margin-block-start:16px}.pds-spacing-top-md{-webkit-margin-before:24px;margin-block-start:24px}.pds-spacing-top-lg{-webkit-margin-before:36px;margin-block-start:36px}.pds-spacing-top-xl{-webkit-margin-before:48px;margin-block-start:48px}.pds-spacing-top-xxl{-webkit-margin-before:64px;margin-block-start:64px}.pds-spacing-right-xxs{-webkit-margin-end:4px;margin-inline-end:4px}.pds-spacing-right-xs{-webkit-margin-end:8px;margin-inline-end:8px}.pds-spacing-right-sm{-webkit-margin-end:16px;margin-inline-end:16px}.pds-spacing-right-md{-webkit-margin-end:24px;margin-inline-end:24px}.pds-spacing-right-lg{-webkit-margin-end:36px;margin-inline-end:36px}.pds-spacing-right-xl{-webkit-margin-end:48px;margin-inline-end:48px}.pds-spacing-right-xxl{-webkit-margin-end:64px;margin-inline-end:64px}.pds-spacing-left-xxs{-webkit-margin-start:4px;margin-inline-start:4px}.pds-spacing-left-xs{-webkit-margin-start:8px;margin-inline-start:8px}.pds-spacing-left-sm{-webkit-margin-start:16px;margin-inline-start:16px}.pds-spacing-left-md{-webkit-margin-start:24px;margin-inline-start:24px}.pds-spacing-left-lg{-webkit-margin-start:36px;margin-inline-start:36px}.pds-spacing-left-xl{-webkit-margin-start:48px;margin-inline-start:48px}.pds-spacing-left-xxl{-webkit-margin-start:64px;margin-inline-start:64px}.pds-spacing-bottom-xxs{-webkit-margin-after:4px;margin-block-end:4px}.pds-spacing-bottom-xs{-webkit-margin-after:8px;margin-block-end:8px}.pds-spacing-bottom-sm{-webkit-margin-after:16px;margin-block-end:16px}.pds-spacing-bottom-md{-webkit-margin-after:24px;margin-block-end:24px}.pds-spacing-bottom-lg{-webkit-margin-after:36px;margin-block-end:36px}.pds-spacing-bottom-xl{-webkit-margin-after:48px;margin-block-end:48px}.pds-spacing-bottom-xxl{-webkit-margin-after:64px;margin-block-end:64px}.pds-box-offset-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-12{-webkit-margin-start:100%;margin-inline-start:100%}@media (max-width: 575px){.pds-box-offset-xs-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-xs-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-xs-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-xs-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-xs-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-xs-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-xs-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-xs-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-xs-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-xs-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-xs-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-xs-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-xs-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 576px){.pds-box-offset-sm-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-sm-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-sm-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-sm-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-sm-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-sm-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-sm-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-sm-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-sm-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-sm-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-sm-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-sm-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-sm-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 768px){.pds-box-offset-md-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-md-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-md-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-md-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-md-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-md-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-md-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-md-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-md-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-md-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-md-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-md-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-md-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 992px){.pds-box-offset-lg-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-lg-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-lg-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-lg-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-lg-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-lg-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-lg-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-lg-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-lg-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-lg-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-lg-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-lg-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-lg-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 1200px){.pds-box-offset-xl-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-xl-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-xl-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-xl-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-xl-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-xl-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-xl-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-xl-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-xl-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-xl-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-xl-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-xl-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-xl-12{-webkit-margin-start:100%;margin-inline-start:100%}}.pds-box-0{display:none}.pds-box-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}@media (max-width: 575px){.pds-box-xs-0{display:none}.pds-box-xs-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-xs-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-xs-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-xs-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-xs-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-xs-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-xs-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-xs-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-xs-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-xs-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-xs-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-xs-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 576px){.pds-box-sm-0{display:none}.pds-box-sm-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-sm-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-sm-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-sm-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-sm-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-sm-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-sm-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-sm-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-sm-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-sm-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-sm-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-sm-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 768px){.pds-box-md-0{display:none}.pds-box-md-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-md-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-md-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-md-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-md-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-md-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-md-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-md-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-md-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-md-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-md-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-md-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 992px){.pds-box-lg-0{display:none}.pds-box-lg-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-lg-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-lg-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-lg-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-lg-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-lg-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-lg-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-lg-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-lg-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-lg-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-lg-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-lg-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 1200px){.pds-box-xl-0{display:none}.pds-box-xl-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-xl-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-xl-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-xl-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-xl-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-xl-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-xl-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-xl-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-xl-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-xl-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-xl-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-xl-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}.pds-box{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1}.pds-box--auto{-ms-flex:0 0 var(--sizing-min-width-box, fit-content);flex:0 0 var(--sizing-min-width-box, fit-content);min-width:auto;width:auto}.pds-box--fit{max-width:100%;min-width:100%;width:100%}.pds-box--border{border-color:var(--color-border-box, var(--pine-color-grey-300));border-style:solid;border-width:var(--border-width-default)}.pds-box--display-flex{display:-ms-flexbox;display:flex}.pds-box--display-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.pds-box--display-block{display:block}.pds-box--display-inline-block{display:inline-block}.pds-box--flex-none{-ms-flex:0 0 auto;flex:0 0 auto}.pds-box--flex-grow{-ms-flex:1 1 auto;flex:1 1 auto}.pds-box--flex-shrink{-ms-flex:0 0 auto;flex:0 0 auto}.pds-border-radius-none{border-radius:0}.pds-border-radius-xs{border-radius:var(--pine-border-radius-xs)}.pds-border-radius-sm{border-radius:var(--pine-border-radius-sm)}.pds-border-radius-md{border-radius:var(--pine-border-radius-md)}.pds-border-radius-lg{border-radius:var(--pine-border-radius-lg)}.pds-border-radius-circle{border-radius:50%}.pds-shadow-050{-webkit-box-shadow:var(--pine-box-shadow-050);box-shadow:var(--pine-box-shadow-050)}.pds-shadow-100{-webkit-box-shadow:var(--pine-box-shadow-100);box-shadow:var(--pine-box-shadow-100)}.pds-shadow-150{-webkit-box-shadow:var(--pine-box-shadow-150);box-shadow:var(--pine-box-shadow-150)}.pds-shadow-200{-webkit-box-shadow:var(--pine-box-shadow-200);box-shadow:var(--pine-box-shadow-200)}.pds-shadow-300{-webkit-box-shadow:var(--pine-box-shadow-300);box-shadow:var(--pine-box-shadow-300)}.pds-shadow-400{-webkit-box-shadow:var(--pine-box-shadow-400);box-shadow:var(--pine-box-shadow-400)}.pds-shadow-500{-webkit-box-shadow:var(--pine-box-shadow-500);box-shadow:var(--pine-box-shadow-500)}.pds-box-gap-none{gap:0}.pds-box-gap-xxs{gap:var(--spacing-gap-xxs)}.pds-box-gap-xs{gap:var(--spacing-gap-xs)}.pds-box-gap-sm{gap:var(--spacing-gap-sm)}.pds-box-gap-md{gap:var(--spacing-gap-md)}.pds-box-gap-lg{gap:var(--spacing-gap-lg)}.pds-box-gap-xl{gap:var(--spacing-gap-xl)}.pds-box-gap-xxl{gap:var(--spacing-gap-xxl)}.pds-padding-none{padding:0}.pds-padding-xxs{padding:var(--spacing-gap-xxs)}.pds-padding-xs{padding:var(--spacing-gap-xxs)}.pds-padding-sm{padding:var(--spacing-gap-sm)}.pds-padding-md{padding:var(--spacing-gap-md)}.pds-padding-lg{padding:var(--spacing-gap-lg)}.pds-padding-xl{padding:var(--spacing-gap-xl)}.pds-padding-xxl{padding:var(--spacing-gap-xxl)}.pds-box-display-flex{display:-ms-flexbox;display:flex}.pds-box-display-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.pds-box-direction-row{-ms-flex-direction:row;flex-direction:row}.pds-box-direction-column{-ms-flex-direction:column;flex-direction:column}.pds-justify-content-start{-ms-flex-pack:start;justify-content:start}.pds-justify-content-center{-ms-flex-pack:center;justify-content:center}.pds-justify-content-end{-ms-flex-pack:end;justify-content:end}.pds-justify-content-space-between{-ms-flex-pack:justify;justify-content:space-between}.pds-justify-content-space-around{-ms-flex-pack:distribute;justify-content:space-around}.pds-justify-content-space-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.pds-align-items-start{-ms-flex-align:start;align-items:start}.pds-align-items-center{-ms-flex-align:center;align-items:center}.pds-align-items-end{-ms-flex-align:end;align-items:end}.pds-align-items-stretch{-ms-flex-align:stretch;align-items:stretch}.pds-align-items-baseline{-ms-flex-align:baseline;align-items:baseline}";
|
|
2503
|
+
const pdsBoxCss = "pds-box{--border-width-default:var(--pine-border-width-thin);--color-background-box:inherit;--color-border-box:inherit;--sizing-min-height-box:none;--sizing-min-width-box:none;--spacing-gap-xxs:var(--pine-spacing-050);--spacing-gap-xs:var(--pine-spacing-100);--spacing-gap-sm:var(--pine-spacing-200);--spacing-gap-md:var(--pine-spacing-300);--spacing-gap-lg:var(--pine-spacing-450);--spacing-gap-xl:var(--pine-spacing-600);--spacing-gap-xxl:var(--pine-spacing-800);display:block}[class*=pds-box]{background-color:var(--color-background-box);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;min-height:var(--sizing-min-height-box);min-width:var(--sizing-min-width-box)}.pds-row>[class*=pds-box]{position:relative;width:100%}.pds-row>[class*=pds-box].pds-box--auto{width:auto}.pds-spacing-xxs{margin:4px}.pds-spacing-xs{margin:8px}.pds-spacing-sm{margin:16px}.pds-spacing-md{margin:24px}.pds-spacing-lg{margin:36px}.pds-spacing-xl{margin:48px}.pds-spacing-xxl{margin:64px}.pds-spacing-top-xxs{-webkit-margin-before:4px;margin-block-start:4px}.pds-spacing-top-xs{-webkit-margin-before:8px;margin-block-start:8px}.pds-spacing-top-sm{-webkit-margin-before:16px;margin-block-start:16px}.pds-spacing-top-md{-webkit-margin-before:24px;margin-block-start:24px}.pds-spacing-top-lg{-webkit-margin-before:36px;margin-block-start:36px}.pds-spacing-top-xl{-webkit-margin-before:48px;margin-block-start:48px}.pds-spacing-top-xxl{-webkit-margin-before:64px;margin-block-start:64px}.pds-spacing-right-xxs{-webkit-margin-end:4px;margin-inline-end:4px}.pds-spacing-right-xs{-webkit-margin-end:8px;margin-inline-end:8px}.pds-spacing-right-sm{-webkit-margin-end:16px;margin-inline-end:16px}.pds-spacing-right-md{-webkit-margin-end:24px;margin-inline-end:24px}.pds-spacing-right-lg{-webkit-margin-end:36px;margin-inline-end:36px}.pds-spacing-right-xl{-webkit-margin-end:48px;margin-inline-end:48px}.pds-spacing-right-xxl{-webkit-margin-end:64px;margin-inline-end:64px}.pds-spacing-left-xxs{-webkit-margin-start:4px;margin-inline-start:4px}.pds-spacing-left-xs{-webkit-margin-start:8px;margin-inline-start:8px}.pds-spacing-left-sm{-webkit-margin-start:16px;margin-inline-start:16px}.pds-spacing-left-md{-webkit-margin-start:24px;margin-inline-start:24px}.pds-spacing-left-lg{-webkit-margin-start:36px;margin-inline-start:36px}.pds-spacing-left-xl{-webkit-margin-start:48px;margin-inline-start:48px}.pds-spacing-left-xxl{-webkit-margin-start:64px;margin-inline-start:64px}.pds-spacing-bottom-xxs{-webkit-margin-after:4px;margin-block-end:4px}.pds-spacing-bottom-xs{-webkit-margin-after:8px;margin-block-end:8px}.pds-spacing-bottom-sm{-webkit-margin-after:16px;margin-block-end:16px}.pds-spacing-bottom-md{-webkit-margin-after:24px;margin-block-end:24px}.pds-spacing-bottom-lg{-webkit-margin-after:36px;margin-block-end:36px}.pds-spacing-bottom-xl{-webkit-margin-after:48px;margin-block-end:48px}.pds-spacing-bottom-xxl{-webkit-margin-after:64px;margin-block-end:64px}.pds-box-offset-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-12{-webkit-margin-start:100%;margin-inline-start:100%}@media (max-width: 575px){.pds-box-offset-xs-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-xs-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-xs-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-xs-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-xs-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-xs-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-xs-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-xs-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-xs-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-xs-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-xs-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-xs-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-xs-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 576px){.pds-box-offset-sm-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-sm-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-sm-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-sm-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-sm-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-sm-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-sm-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-sm-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-sm-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-sm-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-sm-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-sm-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-sm-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 768px){.pds-box-offset-md-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-md-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-md-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-md-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-md-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-md-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-md-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-md-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-md-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-md-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-md-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-md-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-md-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 992px){.pds-box-offset-lg-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-lg-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-lg-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-lg-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-lg-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-lg-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-lg-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-lg-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-lg-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-lg-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-lg-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-lg-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-lg-12{-webkit-margin-start:100%;margin-inline-start:100%}}@media (min-width: 1200px){.pds-box-offset-xl-0{-webkit-margin-start:0;margin-inline-start:0}.pds-box-offset-xl-1{-webkit-margin-start:8.3333333333%;margin-inline-start:8.3333333333%}.pds-box-offset-xl-2{-webkit-margin-start:16.6666666667%;margin-inline-start:16.6666666667%}.pds-box-offset-xl-3{-webkit-margin-start:25%;margin-inline-start:25%}.pds-box-offset-xl-4{-webkit-margin-start:33.3333333333%;margin-inline-start:33.3333333333%}.pds-box-offset-xl-5{-webkit-margin-start:41.6666666667%;margin-inline-start:41.6666666667%}.pds-box-offset-xl-6{-webkit-margin-start:50%;margin-inline-start:50%}.pds-box-offset-xl-7{-webkit-margin-start:58.3333333333%;margin-inline-start:58.3333333333%}.pds-box-offset-xl-8{-webkit-margin-start:66.6666666667%;margin-inline-start:66.6666666667%}.pds-box-offset-xl-9{-webkit-margin-start:75%;margin-inline-start:75%}.pds-box-offset-xl-10{-webkit-margin-start:83.3333333333%;margin-inline-start:83.3333333333%}.pds-box-offset-xl-11{-webkit-margin-start:91.6666666667%;margin-inline-start:91.6666666667%}.pds-box-offset-xl-12{-webkit-margin-start:100%;margin-inline-start:100%}}.pds-box-0{display:none}.pds-box-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}@media (max-width: 575px){.pds-box-xs-0{display:none}.pds-box-xs-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-xs-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-xs-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-xs-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-xs-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-xs-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-xs-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-xs-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-xs-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-xs-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-xs-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-xs-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 576px){.pds-box-sm-0{display:none}.pds-box-sm-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-sm-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-sm-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-sm-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-sm-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-sm-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-sm-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-sm-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-sm-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-sm-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-sm-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-sm-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 768px){.pds-box-md-0{display:none}.pds-box-md-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-md-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-md-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-md-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-md-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-md-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-md-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-md-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-md-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-md-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-md-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-md-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 992px){.pds-box-lg-0{display:none}.pds-box-lg-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-lg-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-lg-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-lg-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-lg-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-lg-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-lg-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-lg-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-lg-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-lg-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-lg-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-lg-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}@media (min-width: 1200px){.pds-box-xl-0{display:none}.pds-box-xl-1{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:8.3333333333%;flex:8.3333333333%;max-width:8.3333333333%}.pds-box-xl-2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:16.6666666667%;flex:16.6666666667%;max-width:16.6666666667%}.pds-box-xl-3{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:25%;flex:25%;max-width:25%}.pds-box-xl-4{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:33.3333333333%;flex:33.3333333333%;max-width:33.3333333333%}.pds-box-xl-5{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:41.6666666667%;flex:41.6666666667%;max-width:41.6666666667%}.pds-box-xl-6{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:50%;flex:50%;max-width:50%}.pds-box-xl-7{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:58.3333333333%;flex:58.3333333333%;max-width:58.3333333333%}.pds-box-xl-8{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:66.6666666667%;flex:66.6666666667%;max-width:66.6666666667%}.pds-box-xl-9{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:75%;flex:75%;max-width:75%}.pds-box-xl-10{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:83.3333333333%;flex:83.3333333333%;max-width:83.3333333333%}.pds-box-xl-11{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:91.6666666667%;flex:91.6666666667%;max-width:91.6666666667%}.pds-box-xl-12{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:100%;flex:100%;max-width:100%}}.pds-box{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1}.pds-box--auto{-ms-flex:0 0 var(--sizing-min-width-box, fit-content);flex:0 0 var(--sizing-min-width-box, fit-content);min-width:auto;width:auto}.pds-box--fit{max-width:100%;min-width:100%;width:100%}.pds-box--border{border-color:var(--color-border-box, var(--pine-color-grey-300));border-style:solid;border-width:var(--border-width-default)}.pds-box--display-flex{display:-ms-flexbox;display:flex}.pds-box--display-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.pds-box--display-block{display:block}.pds-box--display-inline-block{display:inline-block}.pds-box--flex-none{-ms-flex:0 0 auto;flex:0 0 auto}.pds-box--flex-grow{-ms-flex:1 1 auto;flex:1 1 auto}.pds-box--flex-shrink{-ms-flex:0 0 auto;flex:0 0 auto}.pds-border-radius-none{border-radius:0}.pds-border-radius-xs{border-radius:var(--pine-border-radius-050)}.pds-border-radius-sm{border-radius:var(--pine-border-radius-075)}.pds-border-radius-md{border-radius:var(--pine-border-radius-100)}.pds-border-radius-lg{border-radius:var(--pine-border-radius-200)}.pds-border-radius-circle{border-radius:50%}.pds-shadow-050{-webkit-box-shadow:var(--pine-box-shadow-050);box-shadow:var(--pine-box-shadow-050)}.pds-shadow-100{-webkit-box-shadow:var(--pine-box-shadow-100);box-shadow:var(--pine-box-shadow-100)}.pds-shadow-150{-webkit-box-shadow:var(--pine-box-shadow-150);box-shadow:var(--pine-box-shadow-150)}.pds-shadow-200{-webkit-box-shadow:var(--pine-box-shadow-200);box-shadow:var(--pine-box-shadow-200)}.pds-shadow-300{-webkit-box-shadow:var(--pine-box-shadow-300);box-shadow:var(--pine-box-shadow-300)}.pds-shadow-400{-webkit-box-shadow:var(--pine-box-shadow-400);box-shadow:var(--pine-box-shadow-400)}.pds-shadow-500{-webkit-box-shadow:var(--pine-box-shadow-500);box-shadow:var(--pine-box-shadow-500)}.pds-shadow-xs{-webkit-box-shadow:var(--pine-box-shadow-050);box-shadow:var(--pine-box-shadow-050)}.pds-shadow-sm{-webkit-box-shadow:var(--pine-box-shadow-100);box-shadow:var(--pine-box-shadow-100)}.pds-shadow-md{-webkit-box-shadow:var(--pine-box-shadow-150);box-shadow:var(--pine-box-shadow-150)}.pds-shadow-lg{-webkit-box-shadow:var(--pine-box-shadow-200);box-shadow:var(--pine-box-shadow-200)}.pds-box-gap-none{gap:0}.pds-box-gap-xxs{gap:var(--spacing-gap-xxs)}.pds-box-gap-xs{gap:var(--spacing-gap-xs)}.pds-box-gap-sm{gap:var(--spacing-gap-sm)}.pds-box-gap-md{gap:var(--spacing-gap-md)}.pds-box-gap-lg{gap:var(--spacing-gap-lg)}.pds-box-gap-xl{gap:var(--spacing-gap-xl)}.pds-box-gap-xxl{gap:var(--spacing-gap-xxl)}.pds-padding-none{padding:0}.pds-padding-xxs{padding:var(--spacing-gap-xxs)}.pds-padding-xs{padding:var(--spacing-gap-xxs)}.pds-padding-sm{padding:var(--spacing-gap-sm)}.pds-padding-md{padding:var(--spacing-gap-md)}.pds-padding-lg{padding:var(--spacing-gap-lg)}.pds-padding-xl{padding:var(--spacing-gap-xl)}.pds-padding-xxl{padding:var(--spacing-gap-xxl)}.pds-box-display-flex{display:-ms-flexbox;display:flex}.pds-box-display-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.pds-box-direction-row{-ms-flex-direction:row;flex-direction:row}.pds-box-direction-column{-ms-flex-direction:column;flex-direction:column}.pds-justify-content-start{-ms-flex-pack:start;justify-content:start}.pds-justify-content-center{-ms-flex-pack:center;justify-content:center}.pds-justify-content-end{-ms-flex-pack:end;justify-content:end}.pds-justify-content-space-between{-ms-flex-pack:justify;justify-content:space-between}.pds-justify-content-space-around{-ms-flex-pack:distribute;justify-content:space-around}.pds-justify-content-space-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.pds-align-items-start{-ms-flex-align:start;align-items:start}.pds-align-items-center{-ms-flex-align:center;align-items:center}.pds-align-items-end{-ms-flex-align:end;align-items:end}.pds-align-items-stretch{-ms-flex-align:stretch;align-items:stretch}.pds-align-items-baseline{-ms-flex-align:baseline;align-items:baseline}";
|
|
2481
2504
|
var PdsBoxStyle0 = pdsBoxCss;
|
|
2482
2505
|
|
|
2483
2506
|
class PdsBox {
|
|
@@ -2591,17 +2614,21 @@ const hasShadowDom = (el) => {
|
|
|
2591
2614
|
return !!el.shadowRoot && !!el.attachShadow;
|
|
2592
2615
|
};
|
|
2593
2616
|
|
|
2594
|
-
const
|
|
2595
|
-
var PdsButtonStyle0 =
|
|
2617
|
+
const baseCss$l = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
2618
|
+
var PdsButtonStyle0 = baseCss$l;
|
|
2619
|
+
|
|
2620
|
+
const pdsButtonCss = ":host{--border-radius-default:var(--pine-border-radius-round);--border-width-default:var(--pine-border-width-thin);--border-width-unstyled:var(--pine-border-radius-0);--color-border-default:transparent;--color-border-disabled:transparent;--color-border-focus:transparent;--color-border-hover:transparent;--color-background-primary-default:var(--pine-color-grey-900);--color-background-primary-disabled:var(--pine-color-grey-100);--color-background-primary-hover:var(--pine-color-grey-950);--color-text-primary-default:var(--pine-color-white);--color-text-primary-disabled:var(--pine-color-grey-400);--color-outline-primary:var(--pine-color-purple-300);--color-background-secondary-hover:var(--pine-color-grey-050);--color-border-secondary-default:var(--pine-color-grey-400);--color-border-secondary-disabled:var(--pine-color-grey-300);--color-border-secondary-focus:var(--pine-color-grey-300);--color-border-secondary-hover:var(--pine-color-grey-500);--color-text-secondary-default:var(--pine-color-grey-800);--color-text-secondary-disabled:var(--pine-color-grey-400);--color-outline-secondary:var(--pine-color-purple-300);--color-background-accent-default:var(--pine-color-purple-500);--color-background-accent-disabled:var(--pine-color-purple-100);--color-background-accent-hover:var(--pine-color-purple-600);--color-text-accent-default:var(--pine-color-white);--color-text-accent-disabled:var(--pine-color-purple-300);--color-outline-accent:var(--pine-color-purple-300);--color-background-destructive-default:var(--pine-color-red-500);--color-background-destructive-disabled:var(--pine-color-red-100);--color-background-destructive-hover:var(--pine-color-red-600);--color-text-destructive-default:var(--pine-color-white);--color-text-destructive-disabled:var(--pine-color-red-300);--color-outline-destructive:var(--pine-color-red-300);--spacing-disclosure-icon-margin-inline-end:var(--pine-spacing-0);--spacing-disclosure-margin-inline-start:var(--pine-spacing-100);--spacing-icon-margin-inline-end:var(--pine-spacing-100);--spacing-padding-block:var(--pine-spacing-100);--spacing-padding-inline:var(--pine-spacing-200);--spacing-unstyled:var(--pine-spacing-0);--typography-default:var(--pine-font-weight-body-medium) var(--pine-font-size-100)/var(--pine-line-height-150) var(--pine-font-family-greet);display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.pds-button{-ms-flex-align:center;align-items:center;background-color:var(--color-background-default);border:var(--border-width-default) solid var(--color-border-default);border-radius:var(--pine-border-radius-circle);color:var(--color-text-default);display:-ms-flexbox;display:flex;font:var(--typography-default);min-height:40px;padding:var(--spacing-padding-block) var(--spacing-padding-inline)}.pds-button pds-icon{color:currentColor;fill:currentColor;-webkit-margin-end:var(--spacing-icon-margin-inline-end);margin-inline-end:var(--spacing-icon-margin-inline-end)}.pds-button:hover{background-color:var(--color-background-hover);border-color:var(--color-border-hover)}.pds-button:focus-visible{--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);border-color:var(--color-border-focus);-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-button:disabled{background-color:var(--color-background-disabled);border-color:var(--color-border-disabled);color:var(--color-text-disabled)}.pds-button--primary{--color-background-default:var(--color-background-primary-default);--color-background-hover:var(--color-background-primary-hover);--color-background-disabled:var(--color-background-primary-disabled);--color-text-default:var(--color-text-primary-default);--color-text-disabled:var(--color-text-primary-disabled);--color-outline:var(--color-outline-primary)}.pds-button--accent{--color-background-default:var(--color-background-accent-default);--color-background-hover:var(--color-background-accent-hover);--color-background-disabled:var(--color-background-accent-disabled);--color-text-default:var(--color-text-accent-default);--color-text-disabled:var(--color-text-accent-disabled);--color-outline:var(--color-outline-accent)}.pds-button--destructive{--color-background-default:var(--color-background-destructive-default);--color-background-hover:var(--color-background-destructive-hover);--color-background-disabled:var(--color-background-destructive-disabled);--color-text-default:var(--color-text-destructive-default);--color-text-disabled:var(--color-text-destructive-disabled);--color-outline:var(--color-outline-destructive)}.pds-button--destructive:focus-visible{--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--color-background-destructive-default);-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-button--secondary,.pds-button--disclosure{--color-background-default:transparent;--color-background-hover:transparent;--color-background-disabled:transparent;--color-border-disabled:var(--color-border-secondary-disabled);--color-border-focus:var(--color-border-secondary-focus);--color-border-hover:var(--color-border-secondary-hover);--color-border-default:var(--color-border-secondary-default);--color-text-default:var(--color-text-secondary-default);--color-text-disabled:var(--color-text-secondary-disabled);--color-outline:var(--color-outline-secondary)}.pds-button--secondary:hover,.pds-button--disclosure:hover{background-color:var(--color-background-secondary-hover)}.pds-button--disclosure pds-icon{-webkit-margin-end:var(--spacing-disclosure-icon-margin-inline-end);margin-inline-end:var(--spacing-disclosure-icon-margin-inline-end);-webkit-margin-start:var(--spacing-disclosure-margin-inline-start);margin-inline-start:var(--spacing-disclosure-margin-inline-start)}.pds-button--unstyled{--color-background-default:transparent;--color-background-hover:transparent;--color-background-disabled:transparent;--color-text-default:inherit;border:var(--border-width-unstyled);margin:var(--spacing-unstyled);min-height:auto;padding:var(--spacing-unstyled);width:inherit}";
|
|
2621
|
+
var PdsButtonStyle1 = pdsButtonCss;
|
|
2596
2622
|
|
|
2597
2623
|
/**
|
|
2598
|
-
* @part button -
|
|
2599
|
-
* @part caret -
|
|
2600
|
-
* @part icon -
|
|
2624
|
+
* @part button - Exposes the button element for styling.
|
|
2625
|
+
* @part caret - Exposes the caret icon component for styling. Appears only on the disclosure variant.
|
|
2626
|
+
* @part icon - Exposes the icon component for styling.
|
|
2601
2627
|
*/
|
|
2602
2628
|
class PdsButton {
|
|
2603
2629
|
constructor(hostRef) {
|
|
2604
2630
|
registerInstance(this, hostRef);
|
|
2631
|
+
this.pdsClick = createEvent(this, "pdsClick", 7);
|
|
2605
2632
|
this.handleClick = (ev) => {
|
|
2606
2633
|
if (this.type != 'button') {
|
|
2607
2634
|
// If button clicked IS NOT associated with a form
|
|
@@ -2618,6 +2645,7 @@ class PdsButton {
|
|
|
2618
2645
|
}
|
|
2619
2646
|
}
|
|
2620
2647
|
}
|
|
2648
|
+
this.pdsClick.emit(ev);
|
|
2621
2649
|
};
|
|
2622
2650
|
this.componentId = undefined;
|
|
2623
2651
|
this.disabled = false;
|
|
@@ -2635,10 +2663,10 @@ class PdsButton {
|
|
|
2635
2663
|
return classNames.join(' ');
|
|
2636
2664
|
}
|
|
2637
2665
|
render() {
|
|
2638
|
-
return (hAsync(Host, { key: '
|
|
2666
|
+
return (hAsync(Host, { key: 'b559cbbe7cfe3a77b792e3d020fc615123bb3218', "aria-disabled": this.disabled ? 'true' : null, id: this.componentId, onClick: this.handleClick, variant: this.variant }, hAsync("button", { key: '69b52d61eaabc72e24a9aaf72f7130eb4e7a7197', class: this.classNames(), disabled: this.disabled, name: this.name, part: "button", type: this.type, value: this.value }, this.icon && this.variant !== 'disclosure' && hAsync("pds-icon", { key: '4a94a45a0d44f0f54607c09b93672a597d876897', name: this.icon, part: "icon" }), hAsync("slot", { key: '457c672d7662394a8debee6c372e3747d4de383d' }), this.variant === 'disclosure' && hAsync("pds-icon", { key: 'b0247fa8aea5b62158bf60f3f707af110a68d562', icon: caretDown, part: "caret" }))));
|
|
2639
2667
|
}
|
|
2640
2668
|
get el() { return getElement(this); }
|
|
2641
|
-
static get style() { return PdsButtonStyle0; }
|
|
2669
|
+
static get style() { return PdsButtonStyle0 + PdsButtonStyle1; }
|
|
2642
2670
|
static get cmpMeta() { return {
|
|
2643
2671
|
"$flags$": 9,
|
|
2644
2672
|
"$tagName$": "pds-button",
|
|
@@ -2691,8 +2719,11 @@ const isRequired = (target, component) => {
|
|
|
2691
2719
|
*/
|
|
2692
2720
|
const PdsLabel = ({ classNames, htmlFor, text }) => (hAsync("label", { class: classNames, htmlFor: htmlFor }, text));
|
|
2693
2721
|
|
|
2694
|
-
const
|
|
2695
|
-
var PdsCheckboxStyle0 =
|
|
2722
|
+
const baseCss$k = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
2723
|
+
var PdsCheckboxStyle0 = baseCss$k;
|
|
2724
|
+
|
|
2725
|
+
const pdsCheckboxCss = ":host{--border-default:var(--pine-border-interactive-default);--border-hover:var(--pine-border-interactive-hover);--border-radius:var(--pine-border-radius-050);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--box-shadow-focus-invalid:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-red-200);--color-background:var(--pine-color-white);--color-background-disabled:var(--pine-color-grey-100);--color-background-hover:var(--pine-color-grey-100);--color-background-checked:var(--pine-color-purple-500);--color-background-checked-hover:var(--pine-color-purple-600);--color-border-disabled:var(--pine-color-grey-300);--color-border-icon:var(--pine-color-white);--color-disabled:var(--pine-color-grey-300);--color-invalid:var(--pine-color-red-500);--color-invalid-hover:var(--pine-color-red-600);--color-text-disabled:var(--pine-color-grey-500);--color-text-message:var(--pine-color-grey-700);--sizing-input:var(--pine-font-size-116);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}:host(.is-invalid) input{border-color:var(--color-invalid)}:host(.is-invalid) input:checked{background:var(--color-invalid)}:host(.is-invalid) input:checked:hover{background:var(--color-invalid-hover);border-color:var(--color-invalid-hover)}:host(.is-invalid) input:focus-visible{-webkit-box-shadow:var(--box-shadow-focus-invalid);box-shadow:var(--box-shadow-focus-invalid);outline:none}:host(.is-invalid) label,:host(.is-invalid) .pds-checkbox__message--error{color:var(--color-invalid)}:host(.is-indeterminate) input{background:var(--color-background-checked);border-color:var(--color-background-checked)}:host(.is-indeterminate) input:hover{background:var(--color-background-checked-hover);border-color:var(--color-background-checked-hover)}:host(.is-indeterminate) input::after{border:1px solid var(--color-border-icon);border-bottom:0;border-left:0;border-top:0;content:\"\";display:block;height:7px;left:50%;position:absolute;top:50%;-webkit-transform:rotate(90deg) translate3d(-103%, 32%, 0);transform:rotate(90deg) translate3d(-103%, 32%, 0);width:4px}input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-background);border:var(--border-default);border-radius:var(--border-radius);height:var(--sizing-input);margin:0;position:relative;width:var(--sizing-input)}input:hover{background:var(--color-background-hover);border:var(--border-hover)}input:checked{background:var(--color-background-checked);border-color:var(--color-background-checked)}input:checked:hover{background:var(--color-background-checked-hover);border-color:var(--color-background-checked-hover)}input:checked::after{border:1px solid var(--color-border-icon);border-left:0;border-top:0;content:\"\";display:block;height:7px;left:50%;position:absolute;top:50%;-webkit-transform:rotate(43deg) translate3d(-110%, -30%, 0);transform:rotate(43deg) translate3d(-110%, -30%, 0);width:4px}input:disabled{background:var(--color-background-disabled);border-color:var(--color-disabled);cursor:not-allowed}input:disabled:checked{background:var(--color-disabled);border-color:var(--color-disabled)}input:disabled:checked::after{border-color:var(--color-border-disabled)}input:disabled+label{color:var(--color-text-disabled);cursor:not-allowed}input:disabled~.pds-checkbox__message{color:var(--color-text-disabled)}input:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}label{font-weight:var(--pine-font-weight-body-medium);-webkit-margin-start:10px;margin-inline-start:10px}.visually-hidden{border:0;clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pds-checkbox__message{color:var(--color-text-message);-webkit-margin-before:6px;margin-block-start:6px;-webkit-margin-start:26px;margin-inline-start:26px;width:100%}.pds-checkbox__message--error{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;font-size:var(--pine-font-size-085);gap:var(--pine-spacing-050)}";
|
|
2726
|
+
var PdsCheckboxStyle1 = pdsCheckboxCss;
|
|
2696
2727
|
|
|
2697
2728
|
class PdsCheckbox {
|
|
2698
2729
|
constructor(hostRef) {
|
|
@@ -2746,14 +2777,14 @@ class PdsCheckbox {
|
|
|
2746
2777
|
return classNames.join(' ');
|
|
2747
2778
|
}
|
|
2748
2779
|
render() {
|
|
2749
|
-
return (hAsync(Host, { key: '
|
|
2750
|
-
hAsync("div", { key: '
|
|
2751
|
-
hAsync("div", { key: '
|
|
2780
|
+
return (hAsync(Host, { key: '20ec5fff75ed7c8e1fa203377da84533a24b359f', class: this.classNames() }, hAsync("input", { key: '640f30df7addcfb3ec9fc850a32283b5d7e9d096', type: "checkbox", "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, id: this.componentId, indeterminate: this.indeterminate, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleCheckboxChange, onInput: this.handleInput }), hAsync(PdsLabel, { key: '8aa6d71f86bba517fd5b697b7a4c91a2002f29ba', htmlFor: this.componentId, text: this.label, classNames: this.labelHidden ? 'visually-hidden' : '' }), this.helperMessage &&
|
|
2781
|
+
hAsync("div", { key: '3b683e51e76c802e77022e6544b05305e8fbaa2f', class: 'pds-checkbox__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
2782
|
+
hAsync("div", { key: '8da70a6935cf8c419d2f1ffa36ae21a843823b11', class: `pds-checkbox__message pds-checkbox__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '9fa9b8662cce3319ccff5bc8bce90b364f310d7b', icon: danger, size: "small" }), this.errorMessage)));
|
|
2752
2783
|
}
|
|
2753
2784
|
static get watchers() { return {
|
|
2754
2785
|
"checked": ["updateIndeterminate"]
|
|
2755
2786
|
}; }
|
|
2756
|
-
static get style() { return PdsCheckboxStyle0; }
|
|
2787
|
+
static get style() { return PdsCheckboxStyle0 + PdsCheckboxStyle1; }
|
|
2757
2788
|
static get cmpMeta() { return {
|
|
2758
2789
|
"$flags$": 9,
|
|
2759
2790
|
"$tagName$": "pds-checkbox",
|
|
@@ -2777,8 +2808,11 @@ class PdsCheckbox {
|
|
|
2777
2808
|
}; }
|
|
2778
2809
|
}
|
|
2779
2810
|
|
|
2780
|
-
const
|
|
2781
|
-
var PdsChipStyle0 =
|
|
2811
|
+
const baseCss$j = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
2812
|
+
var PdsChipStyle0 = baseCss$j;
|
|
2813
|
+
|
|
2814
|
+
const pdsChipCss = ":host{--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--border-radius:var(--pine-border-radius-200);--color-background-accent:var(--pine-color-purple-100);--color-background-accent-dot:var(--pine-color-purple-600);--color-background-accent-hover:var(--pine-color-purple-200);--color-background-danger:var(--pine-color-red-100);--color-background-danger-dot:var(--pine-color-red-600);--color-background-danger-hover:var(--pine-color-red-200);--color-background-info:var(--pine-color-blue-100);--color-background-info-dot:var(--pine-color-blue-600);--color-background-info-hover:var(--pine-color-blue-200);--color-background-neutral:var(--pine-color-grey-100);--color-background-neutral-dot:var(--pine-color-grey-600);--color-background-neutral-hover:var(--pine-color-grey-400);--color-background-success:var(--pine-color-green-100);--color-background-success-dot:var(--pine-color-green-600);--color-background-success-hover:var(--pine-color-green-200);--color-background-warning:var(--pine-color-yellow-100);--color-background-warning-dot:var(--pine-color-yellow-600);--color-background-warning-hover:var(--pine-color-yellow-200);--color-text-accent:var(--pine-color-purple-950);--color-text-danger:var(--pine-color-red-950);--color-text-info:var(--pine-color-blue-950);--color-text-neutral:var(--pine-color-grey-950);--color-text-success:var(--pine-color-green-950);--color-text-warning:var(--pine-color-yellow-950);--font-size-sm:var(--pine-font-size-body-md);--font-size-lg:var(--pine-font-size-heading-h6);--font-weight:var(--pine-font-weight-medium);--spacing-xxs:calc(var(--pine-spacing-050) / 2);--spacing-xs:var(--pine-spacing-050);--spacing-sm:calc(var(--pine-spacing-150) / 2);--spacing-md:var(--pine-spacing-100);--spacing-lg:calc(var(--pine-spacing-250) / 2);--spacing-xl:var(--pine-spacing-150);--spacing-xxl:calc(var(--pine-spacing-350) / 2);--sizing-close:10px;--sizing-close-lg:24px;--sizing-dot:4px;-ms-flex-align:center;align-items:center;border-radius:var(--border-radius);display:-ms-inline-flexbox;display:inline-flex;padding-block:var(--spacing-xs);padding-inline:var(--spacing-lg)}:host(.pds-chip--accent){background:var(--color-background-accent)}:host(.pds-chip--accent) .pds-chip__dot{background:var(--color-background-accent-dot)}:host(.pds-chip--accent) .pds-chip__label,:host(.pds-chip--accent) .pds-chip__button{color:var(--color-text-accent)}:host(.pds-chip--accent) .pds-chip__close:hover{background:var(--color-background-accent-hover)}:host(.pds-chip--accent.pds-chip--dropdown:hover){background:var(--color-background-accent-hover)}:host(.pds-chip--danger){background:var(--color-background-danger)}:host(.pds-chip--danger) .pds-chip__dot{background:var(--color-background-danger-dot)}:host(.pds-chip--danger) .pds-chip__label,:host(.pds-chip--danger) .pds-chip__button{color:var(--color-text-danger)}:host(.pds-chip--danger) .pds-chip__close:hover{background:var(--color-background-danger-hover)}:host(.pds-chip--danger.pds-chip--dropdown:hover){background:var(--color-background-danger-hover)}:host(.pds-chip--info){background:var(--color-background-info)}:host(.pds-chip--info) .pds-chip__dot{background:var(--color-background-info-dot)}:host(.pds-chip--info) .pds-chip__label,:host(.pds-chip--info) .pds-chip__button{color:var(--color-text-info)}:host(.pds-chip--info) .pds-chip__close:hover{background:var(--color-background-info-hover)}:host(.pds-chip--info.pds-chip--dropdown:hover){background:var(--color-background-info-hover)}:host(.pds-chip--neutral){background:var(--color-background-neutral)}:host(.pds-chip--neutral) .pds-chip__dot{background:var(--color-background-neutral-dot)}:host(.pds-chip--neutral) .pds-chip__label,:host(.pds-chip--neutral) .pds-chip__button{color:var(--color-text-neutral)}:host(.pds-chip--neutral) .pds-chip__close:hover{background:var(--color-background-neutral-hover)}:host(.pds-chip--neutral.pds-chip--dropdown:hover){background:var(--color-background-neutral-hover)}:host(.pds-chip--success){background:var(--color-background-success)}:host(.pds-chip--success) .pds-chip__dot{background:var(--color-background-success-dot)}:host(.pds-chip--success) .pds-chip__label,:host(.pds-chip--success) .pds-chip__button{color:var(--color-text-success)}:host(.pds-chip--success) .pds-chip__close:hover{background:var(--color-background-success-hover)}:host(.pds-chip--success.pds-chip--dropdown:hover){background:var(--color-background-success-hover)}:host(.pds-chip--warning){background:var(--color-background-warning)}:host(.pds-chip--warning) .pds-chip__dot{background:var(--color-background-warning-dot)}:host(.pds-chip--warning) .pds-chip__label,:host(.pds-chip--warning) .pds-chip__button{color:var(--color-text-warning)}:host(.pds-chip--warning) .pds-chip__close:hover{background:var(--color-background-warning-hover)}:host(.pds-chip--warning.pds-chip--dropdown:hover){background:var(--color-background-warning-hover)}.pds-chip__dot{border:1px solid transparent;border-radius:50%;display:inline-block;height:var(--sizing-dot);-webkit-margin-after:var(--spacing-xxs);margin-block-end:var(--spacing-xxs);-webkit-margin-end:var(--spacing-xs);margin-inline-end:var(--spacing-xs);width:var(--sizing-dot)}.pds-chip__label{font-size:var(--font-size-sm);font-weight:var(--font-weight)}:host(.pds-chip--dropdown){padding:0}:host(.pds-chip--dropdown) .pds-chip__dot{-webkit-margin-after:calc(var(--spacing-xxs) / 4);margin-block-end:calc(var(--spacing-xxs) / 4);-webkit-margin-before:var(--spacing-xxs);margin-block-start:var(--spacing-xxs)}.pds-chip__button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;font-weight:var(--font-weight);padding-block:var(--spacing-xs);padding-inline:var(--spacing-lg)}.pds-chip__button:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-chip__button pds-icon{-webkit-margin-end:calc(var(--spacing-xxs) * -1);margin-inline-end:calc(var(--spacing-xxs) * -1);-webkit-margin-start:var(--spacing-xs);margin-inline-start:var(--spacing-xs)}:host(.pds-chip--tag){padding-block:var(--spacing-xxs)}.pds-chip__close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;height:var(--sizing-close);-webkit-margin-end:calc(var(--spacing-md) * -1);margin-inline-end:calc(var(--spacing-md) * -1);-webkit-margin-start:var(--spacing-xs);margin-inline-start:var(--spacing-xs);padding:var(--sizing-close);position:relative;width:var(--sizing-close)}.pds-chip__close pds-icon{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.pds-chip__close:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}:host(.pds-chip--large){font-size:var(--font-size-lg);padding-block:var(--spacing-sm);padding-inline:var(--spacing-xxl)}:host(.pds-chip--large):host(.pds-chip--dropdown){padding-block:var(--spacing-xs);padding-inline:var(--spacing-xxs)}:host(.pds-chip--large):host(.pds-chip--dropdown) .pds-chip__dot{-webkit-margin-after:0;margin-block-end:0}:host(.pds-chip--large) .pds-chip__button{font-size:var(--font-size-lg);padding-inline:var(--spacing-xl)}:host(.pds-chip--large) .pds-chip__close{height:var(--sizing-close-lg);-webkit-margin-end:calc(var(--spacing-xl) * -1);margin-inline-end:calc(var(--spacing-xl) * -1);width:var(--sizing-close-lg)}:host(.pds-chip--large):host(.pds-chip--tag){padding-block:var(--spacing-xs)}";
|
|
2815
|
+
var PdsChipStyle1 = pdsChipCss;
|
|
2782
2816
|
|
|
2783
2817
|
class PdsChip {
|
|
2784
2818
|
constructor(hostRef) {
|
|
@@ -2788,10 +2822,10 @@ class PdsChip {
|
|
|
2788
2822
|
this.pdsTagCloseClick.emit();
|
|
2789
2823
|
};
|
|
2790
2824
|
this.componentId = undefined;
|
|
2791
|
-
this.sentiment = 'neutral';
|
|
2792
2825
|
this.dot = false;
|
|
2793
2826
|
this.label = undefined;
|
|
2794
2827
|
this.large = false;
|
|
2828
|
+
this.sentiment = 'neutral';
|
|
2795
2829
|
this.variant = 'text';
|
|
2796
2830
|
}
|
|
2797
2831
|
classNames() {
|
|
@@ -2805,7 +2839,7 @@ class PdsChip {
|
|
|
2805
2839
|
if (this.sentiment) {
|
|
2806
2840
|
classNames.push('pds-chip--' + this.sentiment);
|
|
2807
2841
|
}
|
|
2808
|
-
return classNames.join('
|
|
2842
|
+
return classNames.join(' ');
|
|
2809
2843
|
}
|
|
2810
2844
|
setChipContent() {
|
|
2811
2845
|
const isDropdown = this.variant === 'dropdown';
|
|
@@ -2813,18 +2847,18 @@ class PdsChip {
|
|
|
2813
2847
|
return chipContent;
|
|
2814
2848
|
}
|
|
2815
2849
|
render() {
|
|
2816
|
-
return (hAsync(Host, { key: '
|
|
2850
|
+
return (hAsync(Host, { key: 'fac4e9beb31ba05d0c959fb53a9cd62caeacb219', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.variant === 'tag' && (hAsync("button", { key: '5f57c1cc76f6cffdebe6244f499b427e5f4c04e8', class: "pds-chip__close", type: "button", onClick: this.handleCloseClick, "aria-label": "Remove" }, hAsync("pds-icon", { key: 'f4311271f68d700568dc51af9c1512fdfc7c262d', icon: remove, size: "12px" })))));
|
|
2817
2851
|
}
|
|
2818
|
-
static get style() { return PdsChipStyle0; }
|
|
2852
|
+
static get style() { return PdsChipStyle0 + PdsChipStyle1; }
|
|
2819
2853
|
static get cmpMeta() { return {
|
|
2820
2854
|
"$flags$": 9,
|
|
2821
2855
|
"$tagName$": "pds-chip",
|
|
2822
2856
|
"$members$": {
|
|
2823
2857
|
"componentId": [1, "component-id"],
|
|
2824
|
-
"sentiment": [1],
|
|
2825
2858
|
"dot": [4],
|
|
2826
2859
|
"label": [1],
|
|
2827
2860
|
"large": [4],
|
|
2861
|
+
"sentiment": [1],
|
|
2828
2862
|
"variant": [1]
|
|
2829
2863
|
},
|
|
2830
2864
|
"$listeners$": undefined,
|
|
@@ -2833,8 +2867,11 @@ class PdsChip {
|
|
|
2833
2867
|
}; }
|
|
2834
2868
|
}
|
|
2835
2869
|
|
|
2836
|
-
const
|
|
2837
|
-
var PdsCopytextStyle0 =
|
|
2870
|
+
const baseCss$i = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
2871
|
+
var PdsCopytextStyle0 = baseCss$i;
|
|
2872
|
+
|
|
2873
|
+
const pdsCopytextCss = ":host(.pds-copytext){--border-interactive-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);--border-interactive-hover:var(--pine-border-width-thin) solid var(--pine-color-grey-400);--border-radius-default:var(--pine-border-radius-circle);--border-width-default:var(--pine-border-width-none);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--color-background-default:var(--pine-color-white);--color-border-interactive-hover:var(--pine-color-grey-400);--color-text-hover:var(--pine-color-grey-900);--copytext-color-background-hover:var(--pine-color-grey-200);--font-size-default:var(--pine-font-size-100);--font-weight-default:var(--pine-font-weight-body-medium);--spacing-bordered-margin-inline-end:var(--pine-spacing-200);--spacing-bordered-padding-block:var(--pine-spacing-100);--spacing-bordered-padding-inline:var(--pine-spacing-200);--spacing-margin-inline-end:var(--pine-spacing-100);--spacing-padding-block:var(--pine-spacing-050);--spacing-padding-inline:var(--pine-spacing-100);--spacing-padding-none:var(--pine-spacing-0);--typography-default:var(--pine-font-weight-body-medium) var(--pine-font-size-body-md)/var(--pine-line-height-body) var(--pine-font-family-heading)}:host(.pds-copytext) pds-button{-ms-flex-align:center;align-items:center;background:var(--color-background-default);border:var(--border-width-default);border-radius:var(--border-radius-default);display:-ms-inline-flexbox;display:inline-flex;font:var(--typography-default);max-width:100%;padding:var(--spacing-padding-block) var(--spacing-padding-inline)}:host(.pds-copytext) pds-button::part(button){-webkit-padding-end:calc(var(--spacing-padding-inline) / 2);padding-inline-end:calc(var(--spacing-padding-inline) / 2)}:host(.pds-copytext) pds-button::part(button):hover{background-color:var(--copytext-color-background-hover);color:var(--color-text-hover)}:host(.pds-copytext) pds-button span{font-weight:var(--font-weight-default);-webkit-margin-end:var(--spacing-margin-inline-end);margin-inline-end:var(--spacing-margin-inline-end);white-space:nowrap}:host(.pds-copytext) pds-button :nth-child(2){-ms-flex-negative:0;flex-shrink:0}:host(.pds-copytext):host(.pds-copytext--bordered){border:var(--border-width-default);padding:var(--spacing-padding-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button{padding:var(--spacing-padding-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button:hover{background:none}:host(.pds-copytext):host(.pds-copytext--bordered) span{border:var(--border-interactive-default);border-radius:var(--border-radius-default);-webkit-margin-end:var(--spacing-bordered-margin-inline-end);margin-inline-end:var(--spacing-bordered-margin-inline-end);padding-block:var(--spacing-bordered-padding-block);padding-inline:var(--spacing-bordered-padding-inline)}:host(.pds-copytext):host(.pds-copytext--bordered) :hover span{border:var(--border-interactive-hover)}:host(.pds-copytext):host(.pds-copytext--full-width){display:-ms-flexbox;display:flex;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button span{text-align:left;width:100%}:host(.pds-copytext):host(.pds-copytext--truncated) pds-button{display:-ms-flexbox;display:flex;width:100%}:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{overflow:hidden;text-align:left;text-overflow:ellipsis;width:100%}";
|
|
2874
|
+
var PdsCopytextStyle1 = pdsCopytextCss;
|
|
2838
2875
|
|
|
2839
2876
|
class PdsCopytext {
|
|
2840
2877
|
constructor(hostRef) {
|
|
@@ -2874,9 +2911,9 @@ class PdsCopytext {
|
|
|
2874
2911
|
return classNames.join(' ');
|
|
2875
2912
|
}
|
|
2876
2913
|
render() {
|
|
2877
|
-
return (hAsync(Host, { key: '
|
|
2914
|
+
return (hAsync(Host, { key: '43aceb92fe0cc910613115bc882b04108efeffba', class: this.classNames(), id: this.componentId }, hAsync("pds-button", { key: 'f152bc288e64192a80ed8f4f48d90e3edb7558cc', type: "button", variant: "unstyled", onClick: this.handleClick }, hAsync("span", { key: 'ed9486b47835e21601047d2a915a412e664c6b4b' }, this.value), hAsync("pds-icon", { key: 'bfbf6d92775171c36f768d654c5866f2f4ce8479', icon: copy, size: "16px" }))));
|
|
2878
2915
|
}
|
|
2879
|
-
static get style() { return PdsCopytextStyle0; }
|
|
2916
|
+
static get style() { return PdsCopytextStyle0 + PdsCopytextStyle1; }
|
|
2880
2917
|
static get cmpMeta() { return {
|
|
2881
2918
|
"$flags$": 9,
|
|
2882
2919
|
"$tagName$": "pds-copytext",
|
|
@@ -2893,8 +2930,11 @@ class PdsCopytext {
|
|
|
2893
2930
|
}; }
|
|
2894
2931
|
}
|
|
2895
2932
|
|
|
2896
|
-
const
|
|
2897
|
-
var PdsDividerStyle0 =
|
|
2933
|
+
const baseCss$h = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
2934
|
+
var PdsDividerStyle0 = baseCss$h;
|
|
2935
|
+
|
|
2936
|
+
const pdsDividerCss = ":host{--color-background-default:var(--pine-color-grey-200);--spacing-offset-xxs:var(--pine-spacing-050);--spacing-offset-xs:var(--pine-spacing-100);--spacing-offset-sm:var(--pine-spacing-200);--spacing-offset-md:var(--pine-spacing-300);--spacing-offset-lg:var(--pine-spacing-450);--spacing-offset-xxl:var(--pine-spacing-800)}.pds-divider{background:var(--color-background-default);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(--spacing-offset-xxs) * -1);padding:0 var(--spacing-offset-xxs)}.pds-divider--offset-xxs.pds-divider--vertical{margin:calc(var(--spacing-offset-xxs) * -1) 0;padding:var(--spacing-offset-xxs) 0}.pds-divider--offset-xs{margin:0 calc(var(--spacing-offset-xs) * -1);padding:0 var(--spacing-offset-xs)}.pds-divider--offset-xs.pds-divider--vertical{margin:calc(var(--spacing-offset-xs) * -1) 0;padding:var(--spacing-offset-xs) 0}.pds-divider--offset-sm{margin:0 calc(var(--spacing-offset-sm) * -1);padding:0 var(--spacing-offset-sm)}.pds-divider--offset-sm.pds-divider--vertical{margin:calc(var(--spacing-offset-sm) * -1) 0;padding:var(--spacing-offset-sm) 0}.pds-divider--offset-md{margin:0 calc(var(--spacing-offset-md) * -1);padding:0 var(--spacing-offset-md)}.pds-divider--offset-md.pds-divider--vertical{margin:calc(var(--spacing-offset-md) * -1) 0;padding:var(--spacing-offset-md) 0}.pds-divider--offset-lg{margin:0 calc(var(--spacing-offset-lg) * -1);padding:0 var(--spacing-offset-lg)}.pds-divider--offset-lg.pds-divider--vertical{margin:calc(var(--spacing-offset-lg) * -1) 0;padding:var(--spacing-offset-lg) 0}.pds-divider--offset-xl{margin:0 calc(var(--spacing-offset-xl) * -1);padding:0 var(--spacing-offset-xl)}.pds-divider--offset-xl.pds-divider--vertical{margin:calc(var(--spacing-offset-xl) * -1) 0;padding:var(--spacing-offset-xl) 0}.pds-divider--offset-xxl{margin:0 calc(var(--spacing-offset-xxl) * -1);padding:0 var(--spacing-offset-xxl)}.pds-divider--offset-xxl.pds-divider--vertical{margin:calc(var(--spacing-offset-xxl) * -1) 0;padding:var(--spacing-offset-xxl) 0}@media (max-width: 767px){.pds-divider--vertical{display:none}}";
|
|
2937
|
+
var PdsDividerStyle1 = pdsDividerCss;
|
|
2898
2938
|
|
|
2899
2939
|
class PdsDivider {
|
|
2900
2940
|
constructor(hostRef) {
|
|
@@ -2915,9 +2955,9 @@ class PdsDivider {
|
|
|
2915
2955
|
return classNames.join(' ');
|
|
2916
2956
|
}
|
|
2917
2957
|
render() {
|
|
2918
|
-
return (hAsync(Host, { key: '
|
|
2958
|
+
return (hAsync(Host, { key: 'cb64d56832d159848ac7d45959b5f1d9874715d7', id: this.componentId }, hAsync("hr", { key: '10a7b11448b031b24174fe9278ac05504cf8523c', class: this.classNames() })));
|
|
2919
2959
|
}
|
|
2920
|
-
static get style() { return PdsDividerStyle0; }
|
|
2960
|
+
static get style() { return PdsDividerStyle0 + PdsDividerStyle1; }
|
|
2921
2961
|
static get cmpMeta() { return {
|
|
2922
2962
|
"$flags$": 9,
|
|
2923
2963
|
"$tagName$": "pds-divider",
|
|
@@ -3094,8 +3134,11 @@ const createColorClasses = (color) => {
|
|
|
3094
3134
|
: null;
|
|
3095
3135
|
};
|
|
3096
3136
|
|
|
3097
|
-
const
|
|
3098
|
-
var PdsImageStyle0 =
|
|
3137
|
+
const baseCss$g = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
3138
|
+
var PdsImageStyle0 = baseCss$g;
|
|
3139
|
+
|
|
3140
|
+
const pdsImageCss = ":host{--dimension-aspect-ratio:auto;display:inline-block}img{aspect-ratio:var(--dimension-aspect-ratio)}";
|
|
3141
|
+
var PdsImageStyle1 = pdsImageCss;
|
|
3099
3142
|
|
|
3100
3143
|
class PdsImage {
|
|
3101
3144
|
constructor(hostRef) {
|
|
@@ -3110,11 +3153,11 @@ class PdsImage {
|
|
|
3110
3153
|
this.width = undefined;
|
|
3111
3154
|
}
|
|
3112
3155
|
render() {
|
|
3113
|
-
return (hAsync(Host, { key: '
|
|
3156
|
+
return (hAsync(Host, { key: 'b74f7f59eadec75c48052e0760ef07ea0b5eb848', class: {
|
|
3114
3157
|
'pds-image': true,
|
|
3115
|
-
}, id: this.componentId }, hAsync("img", { key: '
|
|
3158
|
+
}, id: this.componentId }, hAsync("img", { key: '0e993e6d4cb70d73562cbcd3cf193080406adf7a', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
|
|
3116
3159
|
}
|
|
3117
|
-
static get style() { return PdsImageStyle0; }
|
|
3160
|
+
static get style() { return PdsImageStyle0 + PdsImageStyle1; }
|
|
3118
3161
|
static get cmpMeta() { return {
|
|
3119
3162
|
"$flags$": 9,
|
|
3120
3163
|
"$tagName$": "pds-image",
|
|
@@ -3134,8 +3177,11 @@ class PdsImage {
|
|
|
3134
3177
|
}; }
|
|
3135
3178
|
}
|
|
3136
3179
|
|
|
3137
|
-
const
|
|
3138
|
-
var PdsInputStyle0 =
|
|
3180
|
+
const baseCss$f = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
3181
|
+
var PdsInputStyle0 = baseCss$f;
|
|
3182
|
+
|
|
3183
|
+
const pdsInputCss = ":host{--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-red-300);--color-background-disabled:var(--pine-color-grey-100);--color-background-error:var(--pine-color-red-050);--color-border-active:var(--pine-color-grey-400);--color-border-default:var(--pine-color-grey-300);--color-border-disabled:var(--pine-color-grey-200);--color-border-error:var(--pine-color-red-600);--color-border-hover:var(--pine-color-grey-500);--color-text-default:var(--pine-color-grey-950);--color-text-disabled:var(--pine-color-grey-600);--color-text-error:var(--pine-color-red-600);--color-text-placeholder:var(--pine-color-grey-600);--color-text-placeholder-disabled:var(--pine-color-grey-400);--font-size-helper-message:var(--pine-font-size-085);--font-size-input-field:var(--pine-font-size-100);--font-size-label:var(--pine-font-size-100);--font-weight-helper-message:var(--pine-font-weight-normal);--font-weight-input-field:var(--pine-font-weight-normal);--font-weight-label:var(--pine-font-weight-medium);--line-height-label:var(--pine-line-height-150);--line-height-helper-message:var(--pine-line-height-125);--line-height-input-field:var(--pine-line-height-150);--spacing-field-padding-block:var(--pine-spacing-100);--spacing-input-field-padding-inline:var(--pine-spacing-200);--spacing-label-margin-block-end:var(--pine-spacing-100);--spacing-margin-top-helper-message:var(--pine-spacing-100);--spacing-icon-error-message:var(--pine-spacing-050);display:inline}.pds-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}label{font-size:var(--font-size-label);font-weight:var(--font-weight-label);line-height:var(--line-height-label);-webkit-margin-after:var(--spacing-label-margin-block-end);margin-block-end:var(--spacing-label-margin-block-end)}input{border:1px solid var(--color-border-default);border-radius:10px;font-size:var(--font-size-input-field);font-weight:var(--font-weight-input-field);line-height:var(--line-height-input-field);padding:var(--spacing-field-padding-block) var(--spacing-input-field-padding-inline);}input:disabled{background-color:var(--color-background-disabled);border-color:var(--color-border-disabled);color:var(--color-text-disabled);cursor:not-allowed;}input:disabled::-webkit-input-placeholder{color:var(--color-text-placeholder-disabled)}input:disabled::-moz-placeholder{color:var(--color-text-placeholder-disabled)}input:disabled::-moz-placeholder{color:var(--color-text-placeholder-disabled)}input:disabled:-ms-input-placeholder{color:var(--color-text-placeholder-disabled)}input:hover{border-color:var(--color-border-hover)}input:focus-visible{border-color:var(--color-border-active);-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}input::-webkit-input-placeholder{color:var(--color-text-placeholder)}input::-moz-placeholder{color:var(--color-text-placeholder)}input::-moz-placeholder{color:var(--color-text-placeholder)}input:-ms-input-placeholder{color:var(--color-text-placeholder)}input:has(~.pds-input__error-message){background-color:var(--color-background-error);border-color:var(--color-border-error)}input:has(~.pds-input__error-message):focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error);outline:none}.pds-input__error-message,.pds-input__helper-message{font-size:var(--font-size-helper-message);font-weight:var(--font-weight-helper-message);line-height:var(--line-height-helper-message);-webkit-margin-after:0;margin-block-end:0;-webkit-margin-before:var(--spacing-margin-top-helper-message);margin-block-start:var(--spacing-margin-top-helper-message)}.pds-input__error-message{-ms-flex-align:center;align-items:center;color:var(--color-text-error);display:-ms-flexbox;display:flex;font-size:var(--font-size-helper-message);gap:var(--spacing-icon-error-message)}";
|
|
3184
|
+
var PdsInputStyle1 = pdsInputCss;
|
|
3139
3185
|
|
|
3140
3186
|
class PdsInput {
|
|
3141
3187
|
constructor(hostRef) {
|
|
@@ -3148,6 +3194,7 @@ class PdsInput {
|
|
|
3148
3194
|
}
|
|
3149
3195
|
this.pdsInput.emit(ev);
|
|
3150
3196
|
};
|
|
3197
|
+
this.autocomplete = undefined;
|
|
3151
3198
|
this.componentId = undefined;
|
|
3152
3199
|
this.disabled = undefined;
|
|
3153
3200
|
this.errorMessage = undefined;
|
|
@@ -3162,15 +3209,16 @@ class PdsInput {
|
|
|
3162
3209
|
this.value = undefined;
|
|
3163
3210
|
}
|
|
3164
3211
|
render() {
|
|
3165
|
-
return (hAsync(Host, { key: '
|
|
3166
|
-
hAsync("p", { key: '
|
|
3167
|
-
hAsync("p", { key: '
|
|
3212
|
+
return (hAsync(Host, { key: '2894ea5f48af1818f28ce05c63ec28ee6dff2f5d', "aria-disabled": this.disabled ? 'true' : null }, hAsync("div", { key: '92ce53c22ca6eed66e33c1c50c8d0ff0a3b68b4c', class: "pds-input" }, hAsync(PdsLabel, { key: '71be1b6dbaee982e199e482f1edc21b34621e1a3', htmlFor: this.componentId, text: this.label }), hAsync("input", { key: '4ff1e2d8b3f5156a4f7ace72b168ec1f03959463', class: "pds-input__field", "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, type: this.type, value: this.value, onInput: this.onInputEvent }), this.helperMessage &&
|
|
3213
|
+
hAsync("p", { key: 'b0b144c49182e233f59d442384a1904b7a8307cd', class: "pds-input__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
3214
|
+
hAsync("p", { key: 'f66cc5c3b0463a4f7f62c54626692fa11f221568', class: "pds-input__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: 'efaccf89df9ca61b12f48c25c57bc02074d405e8', icon: danger, size: "small" }), this.errorMessage))));
|
|
3168
3215
|
}
|
|
3169
|
-
static get style() { return PdsInputStyle0; }
|
|
3216
|
+
static get style() { return PdsInputStyle0 + PdsInputStyle1; }
|
|
3170
3217
|
static get cmpMeta() { return {
|
|
3171
3218
|
"$flags$": 9,
|
|
3172
3219
|
"$tagName$": "pds-input",
|
|
3173
3220
|
"$members$": {
|
|
3221
|
+
"autocomplete": [1],
|
|
3174
3222
|
"componentId": [1, "component-id"],
|
|
3175
3223
|
"disabled": [4],
|
|
3176
3224
|
"errorMessage": [1, "error-message"],
|
|
@@ -3190,12 +3238,15 @@ class PdsInput {
|
|
|
3190
3238
|
}; }
|
|
3191
3239
|
}
|
|
3192
3240
|
|
|
3193
|
-
const
|
|
3194
|
-
var PdsLinkStyle0 =
|
|
3241
|
+
const baseCss$e = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
3242
|
+
var PdsLinkStyle0 = baseCss$e;
|
|
3243
|
+
|
|
3244
|
+
const pdsLinkCss = ":host{--border-outline:4px solid var(--pine-color-blue-200);--border-radius:var(--pine-border-radius-075);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--color-text-default:var(--pine-color-text-default);--color-text-hover:var(--pine-color-grey-900);--font-size-default:var(--pine-font-size-body-md);--font-size-sm:var(--pine-font-size-body-sm);--font-size-xs:var(--pine-font-size-body-xs);--font-weight:var(--pine-font-weight-body-medium);--spacing-inline-start-margin:var(--pine-spacing-050);--sizing-svg-lg:var(--font-size-default);--sizing-svg-md:var(--font-size-sm);--sizing-svg-sm:var(--font-size-xs);display:inline}:host pds-icon{-webkit-margin-start:var(--spacing-inline-start-margin);margin-inline-start:var(--spacing-inline-start-margin)}.pds-link{-ms-flex-align:center;align-items:center;color:var(--color-text);display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--font-weight)}.pds-link:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none;position:relative}.pds-link--sm{font-size:var(--font-size-xs)}.pds-link--sm pds-icon{height:var(--sizing-svg-sm);width:var(--sizing-svg-sm)}.pds-link--md{font-size:var(--font-size-sm)}.pds-link--md pds-icon{height:var(--sizing-svg-md);width:var(--sizing-svg-md)}.pds-link--lg{font-size:var(--font-size-default)}.pds-link--lg pds-icon{height:var(--sizing-svg-lg);width:var(--sizing-svg-lg)}.pds-link--plain{text-decoration:none}.pds-link--plain:hover{color:var(--color-text-hover);text-decoration:underline}.pds-link--default{text-decoration:underline}.pds-link--default:hover{color:var(--color-text-hover);text-decoration:none}";
|
|
3245
|
+
var PdsLinkStyle1 = pdsLinkCss;
|
|
3195
3246
|
|
|
3196
3247
|
/**
|
|
3197
|
-
* @part link -
|
|
3198
|
-
* @slot -
|
|
3248
|
+
* @part link - Link element styles.
|
|
3249
|
+
* @slot (default) - Text content placed between the opening and closing tags. If no text is provided, the **href** will be used as a fallback.
|
|
3199
3250
|
*/
|
|
3200
3251
|
class PdsLink {
|
|
3201
3252
|
constructor(hostRef) {
|
|
@@ -3217,10 +3268,10 @@ class PdsLink {
|
|
|
3217
3268
|
return classNames.join(' ');
|
|
3218
3269
|
}
|
|
3219
3270
|
render() {
|
|
3220
|
-
return (hAsync("a", { key: '
|
|
3221
|
-
hAsync("pds-icon", { key: '
|
|
3271
|
+
return (hAsync("a", { key: '0301c40c5571d5713ff50262c9cd288b476bfb02', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined, part: "link" }, hAsync("slot", { key: 'dae97a17d38c0308d74f75b859d704d0d28d789d' }, this.href), this.external &&
|
|
3272
|
+
hAsync("pds-icon", { key: '5c242186e0080db10ede73c232fd83643b54df03', icon: launch, size: this.fontSize })));
|
|
3222
3273
|
}
|
|
3223
|
-
static get style() { return PdsLinkStyle0; }
|
|
3274
|
+
static get style() { return PdsLinkStyle0 + PdsLinkStyle1; }
|
|
3224
3275
|
static get cmpMeta() { return {
|
|
3225
3276
|
"$flags$": 9,
|
|
3226
3277
|
"$tagName$": "pds-link",
|
|
@@ -3237,8 +3288,11 @@ class PdsLink {
|
|
|
3237
3288
|
}; }
|
|
3238
3289
|
}
|
|
3239
3290
|
|
|
3240
|
-
const
|
|
3241
|
-
var PdsLoaderStyle0 =
|
|
3291
|
+
const baseCss$d = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
3292
|
+
var PdsLoaderStyle0 = baseCss$d;
|
|
3293
|
+
|
|
3294
|
+
const pdsLoaderCss = ":host{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--pine-spacing-100)}:host(.pds-loader--hidden),.pds-loader--hidden{border-width:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pds-loader--spinner svg{--color-background-spinner:var(--pine-color-mercury-400);--number-spinner-timing:2s;--number-spinner-path-timing:1.5s;-webkit-animation:rotate var(--number-spinner-timing) linear infinite;animation:rotate var(--number-spinner-timing) linear infinite;block-size:var(--sizing-spinner);color:var(--color-background-spinner);inline-size:var(--sizing-spinner)}.pds-loader__spinner-path{stroke-width:8px}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.pds-loader--typing{--border-radius-typing:var(--pine-border-radius-200);--border-radius-typing-dot:var(--pine-border-radius-circle);--box-shadow-typing:var(--pine-box-shadow-100);--color-background-typing-default:var(--pine-color-grey-100);--color-background-typing-dot-default:var(--pine-color-grey-400);--number-typing-timing:1s;--opacity-typing-dot-default:0.4;--opacity-typing-dot-active:1;--sizing-typing-dot:calc(var(--pine-spacing-150) / 2);--spacing-typing-gap:var(--pine-spacing-050);--spacing-typing-margin-block:var(--pine-spacing-0);--spacing-typing-margin-inline:auto;--spacing-typing-padding-block:15px;--spacing-typing-padding-inline:var(--pine-spacing-250);-ms-flex-align:center;align-items:center;background-color:var(--color-background-typing-default);border-radius:var(--border-radius-typing);-webkit-box-shadow:var(--box-shadow-typing);box-shadow:var(--box-shadow-typing);display:-ms-inline-flexbox;display:inline-flex;gap:var(--spacing-typing-gap);margin-block:var(--spacing-typing-margin-block);margin-inline:var(--spacing-typing-margin-inline);padding-block:var(--spacing-typing-padding-block);padding-inline:var(--spacing-typing-padding-inline);position:relative}.pds-loader--typing span{background-color:var(--color-background-typing-dot-default);block-size:var(--sizing-typing-dot);border-radius:var(--border-radius-typing-dot);inline-size:var(--sizing-typing-dot);opacity:var(--opacity-typing-dot-default)}.pds-loader--typing span:nth-of-type(1){-webkit-animation:var(--number-typing-timing) typing infinite 0.3333s;animation:var(--number-typing-timing) typing infinite 0.3333s}.pds-loader--typing span:nth-of-type(2){-webkit-animation:var(--number-typing-timing) typing infinite 0.6666s;animation:var(--number-typing-timing) typing infinite 0.6666s}.pds-loader--typing span:nth-of-type(3){-webkit-animation:var(--number-typing-timing) typing infinite 0.9999s;animation:var(--number-typing-timing) typing infinite 0.9999s}@-webkit-keyframes typing{50%{opacity:var(--opacity-typing-dot-active);-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes typing{50%{opacity:var(--opacity-typing-dot-active);-webkit-transform:scale(1.2);transform:scale(1.2)}}.pds-loader__label{--typography-label-default:var(--pine-font-weight-semi-bold) var(--pine-font-size-100)/var(--pine-line-height-150) var(--pine-font-family-circular);font:var(--typography-label-default)}";
|
|
3295
|
+
var PdsLoaderStyle1 = pdsLoaderCss;
|
|
3242
3296
|
|
|
3243
3297
|
/**
|
|
3244
3298
|
* @slot label - Default slot for Loader label text.
|
|
@@ -3275,9 +3329,9 @@ class PdsLoader {
|
|
|
3275
3329
|
}
|
|
3276
3330
|
}
|
|
3277
3331
|
render() {
|
|
3278
|
-
return (hAsync(Host, { key: '
|
|
3332
|
+
return (hAsync(Host, { key: 'e69acbb3ba84e723ce654fb8288c54d6c878a515', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (hAsync("div", { key: 'dd121b0adc8825e8b8e5aa6c4c2756d2bbc8aec3', class: "pds-loader--spinner" }, hAsync("svg", { key: '91474584a672fc78a0e1d169eaff53fbbce1b658', style: this.style(), viewBox: "0 0 200 200", fill: "none" }, hAsync("defs", { key: '38fe6181c360cce4c31402ac7408b3120dbf4419' }, hAsync("linearGradient", { key: '29cf900bc3ab8c6b5cb7da36f96207b4e234179a', id: "spinner-secondHalf" }, hAsync("stop", { key: 'aaa993d38e5cc792417160d8febde05e94a55503', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), hAsync("stop", { key: '3df5fe92f07c054016840413979e6f4bbc967af1', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), hAsync("linearGradient", { key: '853f7b5ae56dab5688c1bbf2e24fd3f38f13997f', id: "spinner-firstHalf" }, hAsync("stop", { key: '54282ea20ec47332c65559f70ca4dd1429c2fe44', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), hAsync("stop", { key: '471bc0aaa05940103ca1aa50b9772e514a19f912', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), hAsync("g", { key: 'de35b85d92de0e958a0ec6753fa2362d2884c99f', class: "pds-loader__spinner-path" }, hAsync("path", { key: '2238b370478f385ad6201b4aeadc9aedc7702ac7', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), hAsync("path", { key: '3a6434262838be8654212f30f40af5bb50c5b679', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), hAsync("path", { key: '687280eed667bfa794c4ea380274867614b66ff6', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (hAsync("div", { key: 'a38bb46b431c96efa00d234ec6ce6b3ff2adb0e5', class: "pds-loader--typing" }, hAsync("span", { key: 'bdd865189cf2fe87181b13fbdb01fcc7086c9f2c' }), hAsync("span", { key: '79be0a18686ac726b3b012cb1b796a1265c45ddb' }), hAsync("span", { key: '351a6709d5b50c27b82d9dfba1d01cd058e8c10f' }))), hAsync("div", { key: '81602e65ce055f10b39a70d5f29ffb62471bcb25', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, hAsync("slot", { key: '1ce406972db7f6ef5cc7d558301facb5e455956b', name: "label" }, "Loading..."))));
|
|
3279
3333
|
}
|
|
3280
|
-
static get style() { return PdsLoaderStyle0; }
|
|
3334
|
+
static get style() { return PdsLoaderStyle0 + PdsLoaderStyle1; }
|
|
3281
3335
|
static get cmpMeta() { return {
|
|
3282
3336
|
"$flags$": 9,
|
|
3283
3337
|
"$tagName$": "pds-loader",
|
|
@@ -3293,8 +3347,90 @@ class PdsLoader {
|
|
|
3293
3347
|
}; }
|
|
3294
3348
|
}
|
|
3295
3349
|
|
|
3296
|
-
const
|
|
3297
|
-
var
|
|
3350
|
+
const pdsPopoverCss = ":host{--sizing-max-width-default:352px;display:inline-block}:host [popover]{background-color:var(--pine-color-white);border:1px solid var(--pine-color-gray-200);border-radius:var(--pine-border-radius-125);-webkit-box-shadow:var(--pine-box-shadow-200);box-shadow:var(--pine-box-shadow-200);margin:0;max-width:var(--sizing-max-width-default);padding:var(--pine-spacing-300);position:fixed}:host button{--border-radius-default:var(--pine-border-radius-round);--border-width-default:var(--pine-border-width-thin);--border-width-unstyled:var(--pine-border-radius-0);--color-background-secondary-hover:var(--pine-color-grey-050);--color-border-secondary-default:var(--pine-color-grey-400);--color-border-secondary-disabled:var(--pine-color-grey-300);--color-border-secondary-focus:var(--pine-color-grey-300);--color-border-secondary-hover:var(--pine-color-grey-500);--color-text-secondary-default:var(--pine-color-grey-800);--color-text-secondary-disabled:var(--pine-color-grey-400);--color-outline-secondary:var(--pine-color-purple-300);--color-border-disabled:var(--color-border-secondary-disabled);--color-border-focus:var(--color-border-secondary-focus);--color-border-hover:var(--color-border-secondary-hover);--color-border-default:var(--color-border-secondary-default);--color-text-default:var(--color-text-secondary-default);--color-text-disabled:var(--color-text-secondary-disabled);--color-outline:var(--color-outline-secondary);--spacing-padding-block:var(--pine-spacing-100);--spacing-padding-inline:var(--pine-spacing-200);-ms-flex-align:center;align-items:center;background-color:var(--color-background-default);border:var(--border-width-default) solid var(--color-border-default);border-radius:var(--pine-border-radius-circle);color:var(--color-text-default);display:-ms-flexbox;display:flex;font-family:var(--pine-font-family-greet);font-size:var(--pine-font-size-100);font-weight:var(--pine-font-weight-body-medium);line-height:var(--pine-line-height-150);min-height:40px;padding:var(--spacing-padding-block) var(--spacing-padding-inline)}:host button:hover{background-color:var(--color-background-secondary-hover)}";
|
|
3351
|
+
var PdsPopoverStyle0 = pdsPopoverCss;
|
|
3352
|
+
|
|
3353
|
+
class PdsPopover {
|
|
3354
|
+
constructor(hostRef) {
|
|
3355
|
+
registerInstance(this, hostRef);
|
|
3356
|
+
this.active = false;
|
|
3357
|
+
this.popoverTargetAction = 'show';
|
|
3358
|
+
this.popoverType = 'auto';
|
|
3359
|
+
this.componentId = undefined;
|
|
3360
|
+
this.text = undefined;
|
|
3361
|
+
this.maxWidth = 352;
|
|
3362
|
+
this.placement = 'right';
|
|
3363
|
+
}
|
|
3364
|
+
componentWillRender() {
|
|
3365
|
+
this.handlePopoverPositioning();
|
|
3366
|
+
}
|
|
3367
|
+
handleClick() {
|
|
3368
|
+
this.active = !this.active;
|
|
3369
|
+
}
|
|
3370
|
+
handleScroll() {
|
|
3371
|
+
if (this.active) {
|
|
3372
|
+
this.handlePopoverPositioning();
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
handlePopoverPositioning() {
|
|
3376
|
+
const triggerEl = this.el.shadowRoot.querySelector('.pds-popover__trigger');
|
|
3377
|
+
const popoverEl = this.el.shadowRoot.querySelector('div[popover]');
|
|
3378
|
+
if (!triggerEl || !popoverEl)
|
|
3379
|
+
return;
|
|
3380
|
+
const triggerRect = triggerEl.getBoundingClientRect();
|
|
3381
|
+
const popoverRect = popoverEl.getBoundingClientRect();
|
|
3382
|
+
let top = 0;
|
|
3383
|
+
let left = 0;
|
|
3384
|
+
const offset = 8;
|
|
3385
|
+
switch (this.placement) {
|
|
3386
|
+
case 'top':
|
|
3387
|
+
top = triggerRect.top - popoverRect.height - offset;
|
|
3388
|
+
left = triggerRect.left;
|
|
3389
|
+
break;
|
|
3390
|
+
case 'right':
|
|
3391
|
+
top = triggerRect.top;
|
|
3392
|
+
left = triggerRect.right + offset;
|
|
3393
|
+
break;
|
|
3394
|
+
case 'bottom':
|
|
3395
|
+
top = triggerRect.bottom + offset;
|
|
3396
|
+
left = triggerRect.left;
|
|
3397
|
+
break;
|
|
3398
|
+
case 'left':
|
|
3399
|
+
top = triggerRect.top;
|
|
3400
|
+
left = triggerRect.left - popoverRect.width - offset;
|
|
3401
|
+
break;
|
|
3402
|
+
}
|
|
3403
|
+
popoverEl.style.top = `${top}px`;
|
|
3404
|
+
popoverEl.style.left = `${left}px`;
|
|
3405
|
+
}
|
|
3406
|
+
render() {
|
|
3407
|
+
return (hAsync(Host, { key: '7a21719bb6f13f435cae77f6b2c7c2eefb36c977' }, hAsync("button", { key: '707c94e2462fe230a777d61899b902c84feaa09c', class: "pds-popover__trigger", popoverTarget: this.componentId, popoverTargetAction: this.popoverTargetAction, onClick: this.handleClick }, this.text), hAsync("div", { key: '703d21dd5f3caadb8c0d097849f691d2d4407358', class: `pds-popover ${this.active ? 'pds-popover--active' : ''}`, id: this.componentId, popover: this.popoverType, style: { maxWidth: `${this.maxWidth}px` } }, hAsync("slot", { key: '42ef680b5850d62f50f1e6cfb1587c3d5b6db0d4' }))));
|
|
3408
|
+
}
|
|
3409
|
+
get el() { return getElement(this); }
|
|
3410
|
+
static get style() { return PdsPopoverStyle0; }
|
|
3411
|
+
static get cmpMeta() { return {
|
|
3412
|
+
"$flags$": 9,
|
|
3413
|
+
"$tagName$": "pds-popover",
|
|
3414
|
+
"$members$": {
|
|
3415
|
+
"popoverTargetAction": [1, "popover-target-action"],
|
|
3416
|
+
"popoverType": [1, "popover-type"],
|
|
3417
|
+
"componentId": [1, "component-id"],
|
|
3418
|
+
"text": [1],
|
|
3419
|
+
"maxWidth": [2, "max-width"],
|
|
3420
|
+
"placement": [513],
|
|
3421
|
+
"active": [32]
|
|
3422
|
+
},
|
|
3423
|
+
"$listeners$": [[2, "click", "handleClick"], [11, "scroll", "handleScroll"]],
|
|
3424
|
+
"$lazyBundleId$": "-",
|
|
3425
|
+
"$attrsToReflect$": [["placement", "placement"]]
|
|
3426
|
+
}; }
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
const baseCss$c = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
3430
|
+
var PdsProgressStyle0 = baseCss$c;
|
|
3431
|
+
|
|
3432
|
+
const pdsProgressCss = ":host{--color-progress-fill:var(--pine-color-mercury-500);--sizing-progress-bar-height:8px;--sizing-progress-bar-width:100%;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:var(--sizing-progress-bar-width)}@-webkit-keyframes progressBar{0%{width:0}100%{width:var(--sizing-progress-bar-width)}}@keyframes progressBar{0%{width:0}100%{width:var(--sizing-progress-bar-width)}}.pds-progress{--border-radius:var(--pine-border-radius-050);--color-progress-bar-background:var(--pine-color-grey-200);-ms-flex-align:center;align-items:center;background-color:var(--color-progress-bar-background);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:var(--sizing-progress-bar-height);position:relative;width:100%}:host(.is-animated) progress,:host(.is-animated) progress::-webkit-progress-bar{-webkit-animation:progressBar 3s ease;animation:progressBar 3s ease;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}progress,progress::-webkit-progress-bar{background-color:transparent;border:0;height:var(--sizing-progress-bar-height);width:100%}progress::-webkit-progress-value{--border-radius:var(--pine-border-radius-050);--color-background:var(--pine-color-mercury-500);background-color:var(--color-progress-fill, var(--color-background));border-radius:var(--border-radius)}progress::-moz-progress-bar{--border-radius:var(--pine-border-radius-050);--color-background:var(--pine-color-mercury-500);background-color:var(--color-progress-fill, var(--color-background));border-radius:var(--border-radius)}.pds-progress__label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.pds-progress__percentage{--font-weight:var(--pine-font-weight-medium);--spacing-inline-start-margin:var(--pine-spacing-300);font-weight:var(--font-weight);-webkit-margin-start:calc(var(--spacing-inline-start-margin) / 2);margin-inline-start:calc(var(--spacing-inline-start-margin) / 2)}";
|
|
3433
|
+
var PdsProgressStyle1 = pdsProgressCss;
|
|
3298
3434
|
|
|
3299
3435
|
class PdsProgress {
|
|
3300
3436
|
constructor(hostRef) {
|
|
@@ -3307,9 +3443,9 @@ class PdsProgress {
|
|
|
3307
3443
|
this.showPercent = false;
|
|
3308
3444
|
}
|
|
3309
3445
|
render() {
|
|
3310
|
-
return (hAsync(Host, { key: '
|
|
3446
|
+
return (hAsync(Host, { key: '9676c2db5e2178b7cdaf54798a29025b8f4bedb6', class: this.animated ? { 'is-animated': this.animated } : '' }, hAsync("div", { key: '40006e1d3ef7298a8d410654a6cc93ff3905a268', class: "pds-progress" }, hAsync("label", { key: '1437eb984f29bfd29c568ec1f7b6e03c8166c3bb', class: "pds-progress__label", htmlFor: this.componentId }, this.label), hAsync("progress", { key: '546b32d7ad6ec5e8890ea20d180e77d68ec31e03', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && hAsync("div", { key: '34dd884b3ab2f7df9ff44103fadbb5854cd8b83c', class: "pds-progress__percentage" }, this.percent, "%")));
|
|
3311
3447
|
}
|
|
3312
|
-
static get style() { return PdsProgressStyle0; }
|
|
3448
|
+
static get style() { return PdsProgressStyle0 + PdsProgressStyle1; }
|
|
3313
3449
|
static get cmpMeta() { return {
|
|
3314
3450
|
"$flags$": 9,
|
|
3315
3451
|
"$tagName$": "pds-progress",
|
|
@@ -3327,8 +3463,11 @@ class PdsProgress {
|
|
|
3327
3463
|
}; }
|
|
3328
3464
|
}
|
|
3329
3465
|
|
|
3330
|
-
const
|
|
3331
|
-
var PdsRadioStyle0 =
|
|
3466
|
+
const baseCss$b = ".sc-pds-radio:where(*:not(slot),*.sc-pds-radio:not(slot)::before,*.sc-pds-radio:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}.sc-pds-radio:where(*:not(slot)){margin:0}.sc-pds-radio:where(img,picture.sc-pds-radio,video.sc-pds-radio,canvas.sc-pds-radio,svg).sc-pds-radio{display:block;max-width:100%}.sc-pds-radio:where(input,button.sc-pds-radio,textarea.sc-pds-radio,select).sc-pds-radio{font:inherit}.sc-pds-radio:where(p,h1.sc-pds-radio,h2.sc-pds-radio,h3.sc-pds-radio,h4.sc-pds-radio,h5.sc-pds-radio,h6).sc-pds-radio{overflow-wrap:break-word}.sc-pds-radio:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}.sc-pds-radio:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}.sc-pds-radio:where(ul[role=list],ol[role=list]).sc-pds-radio{list-style:none}.sc-pds-radio:where(table){border-collapse:collapse;border-spacing:0}.sc-pds-radio:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}.sc-pds-radio:where(h1,h2.sc-pds-radio,h3.sc-pds-radio,h4.sc-pds-radio,h5.sc-pds-radio,h6).sc-pds-radio{font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}.sc-pds-radio:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}.sc-pds-radio:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}.sc-pds-radio:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}.sc-pds-radio:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}.sc-pds-radio:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}.sc-pds-radio:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}.sc-pds-radio:where(div,label.sc-pds-radio,p.sc-pds-radio,span).sc-pds-radio{color:var(--pine-color-text-default)}.sc-pds-radio:where(code,kbd.sc-pds-radio,pre.sc-pds-radio,samp).sc-pds-radio{font-family:monospace}.sc-pds-radio:where([role=button]){cursor:pointer}.sc-pds-radio:where(:focus){outline:0}.sc-pds-radio:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}.sc-pds-radio:where([hidden]){display:none !important}";
|
|
3467
|
+
var PdsRadioStyle0 = baseCss$b;
|
|
3468
|
+
|
|
3469
|
+
const pdsRadioCss = ".sc-pds-radio-h{--border-interactive-default:var(--pine-border-interactive-default);--border-interactive-hover:var(--pine-border-interactive-hover);--border-radius:var(--pine-border-radius-circle);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-red-200);--color-background-checked:var(--pine-color-purple-500);--color-background-checked-hover:var(--pine-color-purple-600);--color-background-default:var(--pine-color-white);--color-background-disabled:var(--pine-color-grey-100);--color-background-hover:var(--pine-color-grey-50);--color-background-checked-invalid:var(--pine-color-red-500);--color-background-checked-invalid-hover:var(--pine-color-red-600);--color-border-checked-hover:var(--pine-color-purple-600);--color-border-disabled:var(--pine-color-grey-300);--color-border-invalid:var(--pine-color-red-500);--color-border-checked-invalid-hover:var(--pine-color-red-600);--color-text-invalid:var(--pine-color-red-500);--color-text-disabled:var(---pine-color-grey-600);--color-text-message-default:var(--pine-color-grey-800);--color-text-message-disabled:var(--pine-color-grey-500);--sizing-check-size:6px;--sizing-input-size:16px;--sizing-margin-block-start: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-border-invalid)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked{background:var(--color-background-checked-invalid)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked:hover{background:var(--color-background-checked-invalid-hover);border-color:var(--color-border-checked-invalid-hover)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error);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-text-invalid)}input.sc-pds-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border-interactive-default);border-radius:var(--border-radius);height:var(--sizing-input-size);margin:0;position:relative;width:var(--sizing-input-size)}input.sc-pds-radio:hover{background:var(--color-background-hover);border:var(--border-interactive-hover)}input.sc-pds-radio:checked{background:var(--color-background-checked);border-color:var(--color-background-checked)}input.sc-pds-radio:checked:hover{background:var(--color-background-checked-hover);border-color:var(--color-border-checked-hover)}input.sc-pds-radio:checked::after{background:var(--color-background-default);border-radius:50%;content:\"\";display:block;height:var(--sizing-check-size);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--sizing-check-size)}input.sc-pds-radio:disabled{background:var(--color-background-disabled);border-color:var(--color-border-disabled);cursor:not-allowed}input.sc-pds-radio:disabled:checked{border-color:var(--color-border-disabled)}input.sc-pds-radio:disabled:checked::after{border-color:var(--color-border-disabled)}input.sc-pds-radio:disabled+label.sc-pds-radio{color:var(--color-border-hover);cursor:not-allowed}input.sc-pds-radio:disabled~.pds-radio__message.sc-pds-radio{color:var(--color-text-message-disabled)}input.sc-pds-radio:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}label.sc-pds-radio{font-weight:var(--pine-font-weight-body-medium);-webkit-margin-start:10px;margin-inline-start:10px}.pds-radio__message.sc-pds-radio{color:var(--pine-color-grey-700);-webkit-margin-before:var(--sizing-margin-block-start);margin-block-start:var(--sizing-margin-block-start);-webkit-margin-start:26px;margin-inline-start:26px;width:100%}.pds-radio__message--error.sc-pds-radio{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;font-size:var(--pine-font-size-085);gap:var(--pine-spacing-050)}";
|
|
3470
|
+
var PdsRadioStyle1 = pdsRadioCss;
|
|
3332
3471
|
|
|
3333
3472
|
class PdsRadio {
|
|
3334
3473
|
constructor(hostRef) {
|
|
@@ -3343,12 +3482,12 @@ class PdsRadio {
|
|
|
3343
3482
|
this.pdsRadioChange.emit(isChecked);
|
|
3344
3483
|
};
|
|
3345
3484
|
this.checked = false;
|
|
3485
|
+
this.componentId = undefined;
|
|
3346
3486
|
this.disabled = false;
|
|
3347
3487
|
this.errorMessage = undefined;
|
|
3488
|
+
this.helperMessage = undefined;
|
|
3348
3489
|
this.invalid = false;
|
|
3349
|
-
this.componentId = undefined;
|
|
3350
3490
|
this.label = undefined;
|
|
3351
|
-
this.helperMessage = undefined;
|
|
3352
3491
|
this.name = undefined;
|
|
3353
3492
|
this.required = false;
|
|
3354
3493
|
this.value = undefined;
|
|
@@ -3364,22 +3503,22 @@ class PdsRadio {
|
|
|
3364
3503
|
return classNames.join(' ');
|
|
3365
3504
|
}
|
|
3366
3505
|
render() {
|
|
3367
|
-
return (hAsync(Host, { key: '
|
|
3368
|
-
hAsync("div", { key: '
|
|
3369
|
-
hAsync("div", { key: '
|
|
3506
|
+
return (hAsync(Host, { key: '1e65b437028814fdd4d03f5061140725e9004757', class: this.classNames() }, hAsync("input", { key: '5f4789365bdc2cfdc0a46623dc71dea8f0f1020d', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange }), hAsync(PdsLabel, { key: 'd9dc6f65cb3c10bd2b89fd741d224e027bd6506d', htmlFor: this.componentId, text: this.label }), this.helperMessage &&
|
|
3507
|
+
hAsync("div", { key: 'e3e26f4899dc7b9540f6542970da67c51d45c92d', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
3508
|
+
hAsync("div", { key: 'eccaa4397a33b4bee144233c8e18c0be0b2ec20c', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '9d22c23b9587a026827acac24d20ca1e7afcb5d3', icon: danger, size: "small" }), this.errorMessage)));
|
|
3370
3509
|
}
|
|
3371
|
-
static get style() { return PdsRadioStyle0; }
|
|
3510
|
+
static get style() { return PdsRadioStyle0 + PdsRadioStyle1; }
|
|
3372
3511
|
static get cmpMeta() { return {
|
|
3373
3512
|
"$flags$": 2,
|
|
3374
3513
|
"$tagName$": "pds-radio",
|
|
3375
3514
|
"$members$": {
|
|
3376
3515
|
"checked": [4],
|
|
3516
|
+
"componentId": [1, "component-id"],
|
|
3377
3517
|
"disabled": [4],
|
|
3378
3518
|
"errorMessage": [1, "error-message"],
|
|
3519
|
+
"helperMessage": [1, "helper-message"],
|
|
3379
3520
|
"invalid": [4],
|
|
3380
|
-
"componentId": [1, "component-id"],
|
|
3381
3521
|
"label": [1],
|
|
3382
|
-
"helperMessage": [1, "helper-message"],
|
|
3383
3522
|
"name": [1],
|
|
3384
3523
|
"required": [4],
|
|
3385
3524
|
"value": [1]
|
|
@@ -3390,7 +3529,7 @@ class PdsRadio {
|
|
|
3390
3529
|
}; }
|
|
3391
3530
|
}
|
|
3392
3531
|
|
|
3393
|
-
const pdsRowCss = ":host{--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300)
|
|
3532
|
+
const pdsRowCss = ":host {\n --border-default: var(--pine-border-width-thin) solid var(--pine-color-grey-300);\n --row-gap-y: calc(var(--pine-spacing-250) / 2);\n --row-gap-x: 10px;\n display: block;\n -webkit-margin-after: calc(var(--row-gap-y) * -1);\n margin-block-end: calc(var(--row-gap-y) * -1);\n -webkit-margin-before: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n -webkit-margin-end: calc(var(--row-gap-x) * -0.5);\n margin-inline-end: calc(var(--row-gap-x) * -0.5);\n -webkit-margin-start: calc(var(--row-gap-x) * -0.5);\n margin-inline-start: calc(var(--row-gap-x) * -0.5);\n}\n\n.pds-row {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-margin-after: calc(var(--row-gap-y) * -1);\n margin-block-end: calc(var(--row-gap-y) * -1);\n -webkit-margin-before: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n -webkit-margin-end: calc(var(--row-gap-x) * -1);\n margin-inline-end: calc(var(--row-gap-x) * -1);\n -webkit-margin-start: calc(var(--row-gap-x) * -1);\n margin-inline-start: calc(var(--row-gap-x) * -1);\n}\n@layer layout {\n .pds-row > * {\n -webkit-padding-after: calc(var(--row-gap-y));\n padding-block-end: calc(var(--row-gap-y));\n -webkit-padding-before: calc(var(--row-gap-y));\n padding-block-start: calc(var(--row-gap-y));\n -webkit-padding-end: calc(var(--row-gap-x));\n padding-inline-end: calc(var(--row-gap-x));\n -webkit-padding-start: calc(var(--row-gap-x));\n padding-inline-start: calc(var(--row-gap-x));\n }\n}\n\n.pds-row--no-wrap {\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n\n.pds-row--border {\n border: var(--border-default);\n}\n\n.pds-justify-content-start {\n -ms-flex-pack: start;\n justify-content: start;\n}\n\n.pds-justify-content-center {\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.pds-justify-content-end {\n -ms-flex-pack: end;\n justify-content: end;\n}\n\n.pds-justify-content-space-between {\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.pds-justify-content-space-around {\n -ms-flex-pack: distribute;\n justify-content: space-around;\n}\n\n.pds-justify-content-space-evenly {\n -ms-flex-pack: space-evenly;\n justify-content: space-evenly;\n}\n\n.pds-align-items-start {\n -ms-flex-align: start;\n align-items: start;\n}\n\n.pds-align-items-center {\n -ms-flex-align: center;\n align-items: center;\n}\n\n.pds-align-items-end {\n -ms-flex-align: end;\n align-items: end;\n}\n\n.pds-align-items-stretch {\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n\n.pds-align-items-baseline {\n -ms-flex-align: baseline;\n align-items: baseline;\n}";
|
|
3394
3533
|
var PdsRowStyle0 = pdsRowCss;
|
|
3395
3534
|
|
|
3396
3535
|
class PdsRow {
|
|
@@ -3427,7 +3566,7 @@ class PdsRow {
|
|
|
3427
3566
|
})), (this.minHeight && {
|
|
3428
3567
|
'min-height': this.minHeight,
|
|
3429
3568
|
}));
|
|
3430
|
-
return hAsync(Host, { key: '
|
|
3569
|
+
return hAsync(Host, { key: '1760d9bd45d53d371c0a4c73171a12a6e4c59b51', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
|
|
3431
3570
|
}
|
|
3432
3571
|
static get style() { return PdsRowStyle0; }
|
|
3433
3572
|
static get cmpMeta() { return {
|
|
@@ -3448,6 +3587,147 @@ class PdsRow {
|
|
|
3448
3587
|
}; }
|
|
3449
3588
|
}
|
|
3450
3589
|
|
|
3590
|
+
const pdsSelectCss = ":host{--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-red-300);--color-background-disabled:var(--pine-color-grey-100);--color-background-error:var(--pine-color-red-050);--color-border-active:var(--pine-color-grey-400);--color-border-default:var(--pine-color-grey-300);--color-border-disabled:var(--pine-color-grey-200);--color-border-error:var(--pine-color-red-600);--color-border-hover:var(--pine-color-grey-500);--color-text-disabled:var(--pine-color-grey-600);--color-text-error:var(--pine-color-red-600);--font-size-helper-message:var(--pine-font-size-085);--font-size-select-field:var(--pine-font-size-100);--font-size-label:var(--pine-font-size-100);--font-weight-helper-message:var(--pine-font-weight-normal);--font-weight-select-field:var(--pine-font-weight-normal);--font-weight-label:var(--pine-font-weight-medium);--line-height-label:var(--pine-line-height-150);--line-height-helper-message:var(--pine-line-height-125);--line-height-select-field:var(--pine-line-height-150);--spacing-error-message:var(--pine-spacing-050);--spacing-field-padding-block:var(--pine-spacing-100);--spacing-label-margin-block-end:var(--pine-spacing-100);--spacing-margin-top-helper-message:var(--pine-spacing-100);--spacing-select-field-padding-inline:var(--pine-spacing-150);--spacing-select-field-icon-allowance:var(--pine-spacing-450)}:host .hidden,:host :host([hidden]){display:none}.pds-select{display:grid;-ms-flex-direction:column;flex-direction:column;grid-template-areas:\"label label\" \"field field\" \"message message\";grid-template-columns:1fr minmax(2rem, -webkit-min-content);grid-template-columns:1fr minmax(2rem, min-content);grid-template-rows:-webkit-min-content -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content min-content;position:relative;width:100%}label{font-size:var(--font-size-label);font-weight:var(--font-weight-label);grid-area:label;line-height:var(--line-height-label);-webkit-margin-after:var(--spacing-label-margin-block-end);margin-block-end:var(--spacing-label-margin-block-end)}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--color-border-default);border-radius:10px;font-size:var(--font-size-select-field);font-weight:var(--font-weight-select-field);grid-area:field;line-height:var(--line-height-select-field);padding:var(--spacing-field-padding-block) var(--spacing-select-field-padding-inline);padding-right:var(--spacing-select-field-icon-allowance);position:relative}select:hover{border-color:var(--color-border-hover);cursor:pointer}select:focus-visible{border-color:var(--color-border-active);-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}select:disabled{background-color:var(--color-background-disabled);border-color:var(--color-border-disabled);color:var(--color-text-disabled);cursor:not-allowed}select:has(~.pds-select__message .pds-select__error-message){background-color:var(--color-background-error);border-color:var(--color-border-error)}select:has(~.pds-select__message .pds-select__error-message):focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error);outline:none}:host(.is-invalid) select{background-color:var(--color-background-error);border-color:var(--color-border-error)}:host(.is-invalid) select:focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error);outline:none}.pds-select__error-message,.pds-select__helper-message{font-size:var(--font-size-helper-message);font-weight:var(--font-weight-helper-message);line-height:var(--line-height-helper-message);-webkit-margin-after:0;margin-block-end:0;-webkit-margin-before:var(--spacing-margin-top-helper-message);margin-block-start:var(--spacing-margin-top-helper-message)}.pds-select__error-message{-ms-flex-align:center;align-items:center;color:var(--color-text-error);display:-ms-flexbox;display:flex;gap:var(--spacing-error-message)}.pds-select__message{grid-area:message}.pds-select__select-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-column:-1/-2;grid-row:2/3;height:2.5rem;pointer-events:none;position:relative;z-index:1}";
|
|
3591
|
+
var PdsSelectStyle0 = pdsSelectCss;
|
|
3592
|
+
|
|
3593
|
+
class PdsSelect {
|
|
3594
|
+
constructor(hostRef) {
|
|
3595
|
+
registerInstance(this, hostRef);
|
|
3596
|
+
this.pdsSelectChange = createEvent(this, "pdsSelectChange", 7);
|
|
3597
|
+
/**
|
|
3598
|
+
* Emits an event on input change.
|
|
3599
|
+
*/
|
|
3600
|
+
this.onSelectUpdate = (e) => {
|
|
3601
|
+
const target = e.target;
|
|
3602
|
+
const values = Array.from(target.options)
|
|
3603
|
+
.filter((option) => (option.selected))
|
|
3604
|
+
.map((option) => (option.value));
|
|
3605
|
+
if (values.length === 1 && !this.multiple) {
|
|
3606
|
+
this.value = values[0];
|
|
3607
|
+
}
|
|
3608
|
+
else {
|
|
3609
|
+
this.value = values;
|
|
3610
|
+
}
|
|
3611
|
+
this.pdsSelectChange.emit(e);
|
|
3612
|
+
};
|
|
3613
|
+
/**
|
|
3614
|
+
* Handles the change event for the slot element.
|
|
3615
|
+
* This method is triggered when the slot content changes.
|
|
3616
|
+
* It updates the inner HTML of the select element by cloning and appending
|
|
3617
|
+
* the assigned <option> elements from the slot.
|
|
3618
|
+
*/
|
|
3619
|
+
this.handleSlotChange = () => {
|
|
3620
|
+
const slot = this.slotContainer.querySelector('slot');
|
|
3621
|
+
this.selectEl.innerHTML = '';
|
|
3622
|
+
const assignedElements = slot.assignedElements({ flatten: true });
|
|
3623
|
+
assignedElements.forEach((item) => {
|
|
3624
|
+
if (['OPTION', 'OPTGROUP'].includes(item.tagName)) {
|
|
3625
|
+
const clonedItem = item.cloneNode(true);
|
|
3626
|
+
if (clonedItem.tagName === 'OPTION' && clonedItem.value === this.value) {
|
|
3627
|
+
clonedItem.selected = true;
|
|
3628
|
+
}
|
|
3629
|
+
this.selectEl.appendChild(clonedItem);
|
|
3630
|
+
}
|
|
3631
|
+
});
|
|
3632
|
+
this.updateSelectedOption();
|
|
3633
|
+
};
|
|
3634
|
+
this.autocomplete = undefined;
|
|
3635
|
+
this.componentId = undefined;
|
|
3636
|
+
this.disabled = false;
|
|
3637
|
+
this.errorMessage = undefined;
|
|
3638
|
+
this.helperMessage = undefined;
|
|
3639
|
+
this.invalid = undefined;
|
|
3640
|
+
this.label = undefined;
|
|
3641
|
+
this.multiple = false;
|
|
3642
|
+
this.name = undefined;
|
|
3643
|
+
this.required = false;
|
|
3644
|
+
this.value = undefined;
|
|
3645
|
+
}
|
|
3646
|
+
/**
|
|
3647
|
+
* Handles the change in the value of the select component.
|
|
3648
|
+
* This method is called whenever the value of the select component changes.
|
|
3649
|
+
* It updates the selected option accordingly.
|
|
3650
|
+
*/
|
|
3651
|
+
valueChanged() {
|
|
3652
|
+
this.updateSelectedOption();
|
|
3653
|
+
}
|
|
3654
|
+
componentWillLoad() {
|
|
3655
|
+
this.updateSelectedOption();
|
|
3656
|
+
}
|
|
3657
|
+
/**
|
|
3658
|
+
* Updates the selected option in the select element based on the current value.
|
|
3659
|
+
*
|
|
3660
|
+
* This method iterates through all the options of the select element and sets the
|
|
3661
|
+
* 'selected' attribute on the option that matches the current value. If an option
|
|
3662
|
+
* does not match the current value, the 'selected' attribute is removed.
|
|
3663
|
+
*
|
|
3664
|
+
* @private
|
|
3665
|
+
* @returns {void}
|
|
3666
|
+
*/
|
|
3667
|
+
updateSelectedOption() {
|
|
3668
|
+
if (this.selectEl) {
|
|
3669
|
+
const options = this.selectEl.options;
|
|
3670
|
+
// Update the selected attribute for all options.
|
|
3671
|
+
Array.from(options).map((option) => {
|
|
3672
|
+
if (Array.isArray(this.value)) {
|
|
3673
|
+
option.selected = this.value.includes(option.value);
|
|
3674
|
+
}
|
|
3675
|
+
else {
|
|
3676
|
+
option.selected = this.value === option.value;
|
|
3677
|
+
}
|
|
3678
|
+
});
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
getHelperMessage() {
|
|
3682
|
+
return this.helperMessage && (hAsync("p", { class: "pds-select__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage));
|
|
3683
|
+
}
|
|
3684
|
+
getErrorMessage() {
|
|
3685
|
+
return this.errorMessage && (hAsync("p", { class: "pds-select__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { name: "danger", size: "small" }), this.errorMessage));
|
|
3686
|
+
}
|
|
3687
|
+
renderMessages() {
|
|
3688
|
+
if (!this.helperMessage && !this.errorMessage)
|
|
3689
|
+
return null;
|
|
3690
|
+
return (hAsync("div", { class: "pds-select__message" }, this.getHelperMessage(), this.getErrorMessage()));
|
|
3691
|
+
}
|
|
3692
|
+
classNames() {
|
|
3693
|
+
const classNames = [];
|
|
3694
|
+
if (this.invalid) {
|
|
3695
|
+
classNames.push('is-invalid');
|
|
3696
|
+
}
|
|
3697
|
+
if (this.disabled) {
|
|
3698
|
+
classNames.push('is-disabled');
|
|
3699
|
+
}
|
|
3700
|
+
return classNames.join(' ');
|
|
3701
|
+
}
|
|
3702
|
+
render() {
|
|
3703
|
+
return (hAsync(Host, { key: 'f0baf957ee67ee9171a41fc4171e548b94d5c22c', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames() }, hAsync("div", { key: '88ef7c54afc654133d613c91c4bb3fbfe4a944b3', class: "pds-select" }, hAsync(PdsLabel, { key: '7723f468412f6567e0d4fd236807e1ba2fdea16a', htmlFor: this.componentId, text: this.label }), hAsync("select", { key: '1bdb1e22360972aa6cb77902d1288abfcc9dbf07', autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, required: this.required, ref: (el) => (this.selectEl = el) }), hAsync("div", { key: 'ddbac1f772b335688d7eb219a7ea3a9ab4a3192a', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, hAsync("slot", { key: 'aa6093fd8833fdf4860dd8127c32f95405679a11', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && hAsync("pds-icon", { key: 'de8dc37035701942d8b2bcf56b40edf2f6de20df', class: "pds-select__select-icon", name: "enlarge" }))));
|
|
3704
|
+
}
|
|
3705
|
+
static get watchers() { return {
|
|
3706
|
+
"value": ["valueChanged"]
|
|
3707
|
+
}; }
|
|
3708
|
+
static get style() { return PdsSelectStyle0; }
|
|
3709
|
+
static get cmpMeta() { return {
|
|
3710
|
+
"$flags$": 9,
|
|
3711
|
+
"$tagName$": "pds-select",
|
|
3712
|
+
"$members$": {
|
|
3713
|
+
"autocomplete": [1],
|
|
3714
|
+
"componentId": [1, "component-id"],
|
|
3715
|
+
"disabled": [4],
|
|
3716
|
+
"errorMessage": [1, "error-message"],
|
|
3717
|
+
"helperMessage": [1, "helper-message"],
|
|
3718
|
+
"invalid": [4],
|
|
3719
|
+
"label": [1],
|
|
3720
|
+
"multiple": [4],
|
|
3721
|
+
"name": [1],
|
|
3722
|
+
"required": [4],
|
|
3723
|
+
"value": [1025]
|
|
3724
|
+
},
|
|
3725
|
+
"$listeners$": undefined,
|
|
3726
|
+
"$lazyBundleId$": "-",
|
|
3727
|
+
"$attrsToReflect$": []
|
|
3728
|
+
}; }
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3451
3731
|
/**!
|
|
3452
3732
|
* Sortable 1.15.3
|
|
3453
3733
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -6098,8 +6378,11 @@ _extends(Remove, {
|
|
|
6098
6378
|
Sortable.mount(new AutoScrollPlugin());
|
|
6099
6379
|
Sortable.mount(Remove, Revert);
|
|
6100
6380
|
|
|
6381
|
+
const baseCss$a = ".sc-pds-sortable:where(*:not(slot),*.sc-pds-sortable:not(slot)::before,*.sc-pds-sortable:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}.sc-pds-sortable:where(*:not(slot)){margin:0}.sc-pds-sortable:where(img,picture.sc-pds-sortable,video.sc-pds-sortable,canvas.sc-pds-sortable,svg).sc-pds-sortable{display:block;max-width:100%}.sc-pds-sortable:where(input,button.sc-pds-sortable,textarea.sc-pds-sortable,select).sc-pds-sortable{font:inherit}.sc-pds-sortable:where(p,h1.sc-pds-sortable,h2.sc-pds-sortable,h3.sc-pds-sortable,h4.sc-pds-sortable,h5.sc-pds-sortable,h6).sc-pds-sortable{overflow-wrap:break-word}.sc-pds-sortable:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}.sc-pds-sortable:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}.sc-pds-sortable:where(ul[role=list],ol[role=list]).sc-pds-sortable{list-style:none}.sc-pds-sortable:where(table){border-collapse:collapse;border-spacing:0}.sc-pds-sortable:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}.sc-pds-sortable:where(h1,h2.sc-pds-sortable,h3.sc-pds-sortable,h4.sc-pds-sortable,h5.sc-pds-sortable,h6).sc-pds-sortable{font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}.sc-pds-sortable:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}.sc-pds-sortable:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}.sc-pds-sortable:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}.sc-pds-sortable:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}.sc-pds-sortable:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}.sc-pds-sortable:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}.sc-pds-sortable:where(div,label.sc-pds-sortable,p.sc-pds-sortable,span).sc-pds-sortable{color:var(--pine-color-text-default)}.sc-pds-sortable:where(code,kbd.sc-pds-sortable,pre.sc-pds-sortable,samp).sc-pds-sortable{font-family:monospace}.sc-pds-sortable:where([role=button]){cursor:pointer}.sc-pds-sortable:where(:focus){outline:0}.sc-pds-sortable:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}.sc-pds-sortable:where([hidden]){display:none !important}";
|
|
6382
|
+
var PdsSortableStyle0 = baseCss$a;
|
|
6383
|
+
|
|
6101
6384
|
const pdsSortableCss = ".pds-sortable.sc-pds-sortable-h{--border-radius:var(--pine-border-radius-050);--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.pds-sortable.pds-sortable--bordered.sc-pds-sortable-h{border:var(--border-default);border-radius:var(--border-radius)}";
|
|
6102
|
-
var
|
|
6385
|
+
var PdsSortableStyle1 = pdsSortableCss;
|
|
6103
6386
|
|
|
6104
6387
|
class PdsSortable {
|
|
6105
6388
|
constructor(hostRef) {
|
|
@@ -6138,10 +6421,10 @@ class PdsSortable {
|
|
|
6138
6421
|
Sortable.create(this.el, sortableOptions);
|
|
6139
6422
|
}
|
|
6140
6423
|
render() {
|
|
6141
|
-
return (hAsync(Host, { key: '
|
|
6424
|
+
return (hAsync(Host, { key: 'e215bbd858767d4c5e5e85bd12352e6a50b7d594', class: this.classNames(), id: this.componentId }, hAsync("slot", { key: 'bd4a58c7ceb78432c77615987e16e979d7240eb4' })));
|
|
6142
6425
|
}
|
|
6143
6426
|
get el() { return getElement(this); }
|
|
6144
|
-
static get style() { return PdsSortableStyle0; }
|
|
6427
|
+
static get style() { return PdsSortableStyle0 + PdsSortableStyle1; }
|
|
6145
6428
|
static get cmpMeta() { return {
|
|
6146
6429
|
"$flags$": 6,
|
|
6147
6430
|
"$tagName$": "pds-sortable",
|
|
@@ -6179,7 +6462,7 @@ class PdsSortableItem {
|
|
|
6179
6462
|
}
|
|
6180
6463
|
}
|
|
6181
6464
|
render() {
|
|
6182
|
-
return (hAsync(Host, { key: '
|
|
6465
|
+
return (hAsync(Host, { key: '53229fa4308319c59c520bdf84291fb738d6f7c2', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (hAsync("div", { key: '28a4a4fe6a946880e7501fd2a0697152f0665f4c', class: "pds-sortable-item__handle" }, hAsync("pds-icon", { key: 'e45540e3787977b0861418455f6a0689cfcec887', icon: handle }))), hAsync("slot", { key: 'bca5cbb3c4f5b4f1732030428660f5ae976cced0' }), this.enableActions && (hAsync("div", { key: '2928a942128e4bbad4c869f42b59d10501af4419', class: "pds-sortable-item__actions" }, hAsync("slot", { key: 'c2a4e2a47300f1c8f06a23ba134c436a591442bf', name: "sortable-item-actions" })))));
|
|
6183
6466
|
}
|
|
6184
6467
|
get el() { return getElement(this); }
|
|
6185
6468
|
static get style() { return PdsSortableItemStyle0; }
|
|
@@ -6197,8 +6480,11 @@ class PdsSortableItem {
|
|
|
6197
6480
|
}; }
|
|
6198
6481
|
}
|
|
6199
6482
|
|
|
6200
|
-
const
|
|
6201
|
-
var PdsSwitchStyle0 =
|
|
6483
|
+
const baseCss$9 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
6484
|
+
var PdsSwitchStyle0 = baseCss$9;
|
|
6485
|
+
|
|
6486
|
+
const pdsSwitchCss = ":host{--border-radius-input:var(--pine-border-radius-200);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--color-outline-focus);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--color-outline-focus-error);--box-shadow-input-toggle:0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.08);--color-background-checked:var(--pine-color-purple-500);--color-background-checked-hover:var(--pine-color-purple-600);--color-background-error:var(--pine-color-red-500);--color-background-input-disabled:var(--pine-color-grey-200);--color-background-input-default:var(--pine-color-grey-300);--color-background-input-hover:var(--pine-color-grey-400);--color-input-toggle-default:var(--pine-color-white);--color-input-toggle-disabled:var(--pine-color-grey-100);--color-message-text:var(--pine-color-grey-700);--color-outline-focus:var(--pine-color-purple-300);--color-outline-focus-error:var(--pine-color-red-200);--color-text-default:var(--pine-color-grey-900);--color-text-disabled:var(--pine-color-grey-500);--color-text-error:var(--pine-color-red-500);--font-weight-label-default:var(--pine-font-weight-body-medium);--dimension-input-height:20px;--dimension-input-width:36px;--sizing-input-toggle-size:calc(var(--dimension-input-height) - (var(--spacing-input-toggle-offset) * 2));--spacing-label-gap-size:var(--pine-spacing-150);--spacing-input-toggle-offset:calc(var(--pine-spacing-050) / 2);--spacing-message-block:calc(var(--pine-spacing-150) / 2);--spacing-message-inline:calc(var(--dimension-input-width) + var(--spacing-label-gap-size));--number-transition-timing:0.15s ease-out;-ms-flex-align:start;align-items:flex-start;color:var(--color-text-default);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-margin-after:var(--pine-spacing-md);margin-block-end:var(--pine-spacing-md);position:relative}:host(.pds-switch--error){color:var(--color-text-error)}:host(.pds-switch--error) input,:host(.pds-switch--error) input:checked,:host(.pds-switch--error) input:hover:not(:disabled):not(:checked){background-color:var(--color-background-error)}:host(.pds-switch--error) input:focus-visible:not(:disabled):not(:checked){-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error)}:host(.pds-switch--error) label{color:var(--color-text-error)}input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--color-background-input-default);border:0;border-radius:var(--border-radius-input);cursor:pointer;display:inline-block;height:var(--dimension-input-height);margin:0;padding:0;position:relative;-webkit-transition:var(--number-transition-timing);transition:var(--number-transition-timing);-webkit-transition-property:background, border, color;transition-property:background, border, color;width:var(--dimension-input-width)}input::after{background:var(--color-input-toggle-default);border-radius:50%;-webkit-box-shadow:var(--box-shadow-input-toggle);box-shadow:var(--box-shadow-input-toggle);content:\"\";display:block;height:var(--sizing-input-toggle-size);inset-block-start:50%;inset-inline-start:50%;position:absolute;-webkit-transform:translate3d(-100%, -50%, 0);transform:translate3d(-100%, -50%, 0);-webkit-transition:-webkit-transform var(--number-transition-timing);transition:-webkit-transform var(--number-transition-timing);transition:transform var(--number-transition-timing);transition:transform var(--number-transition-timing), -webkit-transform var(--number-transition-timing);width:var(--sizing-input-toggle-size)}label{cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-positive:1;flex-grow:1;font-weight:var(--font-weight-label-default);-webkit-margin-start:var(--spacing-label-gap-size);margin-inline-start:var(--spacing-label-gap-size)}.pds-switch--error label{color:inherit}.pds-switch__message{color:var(--color-message-text);-ms-flex:1 0 100%;flex:1 0 100%;font-size:var(--pine-font-size-body-md);-webkit-margin-before:var(--spacing-message-block);margin-block-start:var(--spacing-message-block);-webkit-margin-start:var(--spacing-message-inline);margin-inline-start:var(--spacing-message-inline)}.pds-switch__message--error{-ms-flex-align:center;align-items:center;color:inherit;display:-ms-flexbox;display:flex;font-size:var(--pine-font-size-085);gap:var(--pine-spacing-050)}input:disabled{background-color:var(--color-background-input-disabled);cursor:not-allowed}input:disabled~label{color:var(--color-text-disabled);cursor:initial}input:disabled:hover::after{background-color:var(--color-input-toggle-disabled)}input:disabled .pds-switch__message{color:initial}input:hover:not(:disabled){background-color:var(--color-background-input-hover)}input:focus-visible:not(:disabled){-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}input:checked::after{-webkit-transform:translate3d(0, -50%, 0);transform:translate3d(0, -50%, 0)}input:checked:not(:disabled){background-color:currentColor;color:var(--color-background-checked)}input:checked:not(:disabled):hover{border-color:currentColor;color:var(--color-background-checked-hover)}";
|
|
6487
|
+
var PdsSwitchStyle1 = pdsSwitchCss;
|
|
6202
6488
|
|
|
6203
6489
|
class PdsSwitch {
|
|
6204
6490
|
constructor(hostRef) {
|
|
@@ -6207,11 +6493,10 @@ class PdsSwitch {
|
|
|
6207
6493
|
this.onSwitchUpdate = (e) => {
|
|
6208
6494
|
if (this.disabled)
|
|
6209
6495
|
return;
|
|
6496
|
+
const input = e.target;
|
|
6497
|
+
this.checked = input.checked;
|
|
6210
6498
|
this.pdsSwitchChange.emit(e);
|
|
6211
6499
|
};
|
|
6212
|
-
/**
|
|
6213
|
-
* Generate switch classes
|
|
6214
|
-
*/
|
|
6215
6500
|
this.switchClassNames = () => {
|
|
6216
6501
|
let switchClasses = `pds-switch`;
|
|
6217
6502
|
if (this.invalid === true) {
|
|
@@ -6231,22 +6516,21 @@ class PdsSwitch {
|
|
|
6231
6516
|
this.label = undefined;
|
|
6232
6517
|
this.name = undefined;
|
|
6233
6518
|
this.required = false;
|
|
6234
|
-
this.type = 'checkbox';
|
|
6235
6519
|
this.value = undefined;
|
|
6236
6520
|
}
|
|
6237
6521
|
render() {
|
|
6238
|
-
return (hAsync(Host, { key: '
|
|
6239
|
-
hAsync("div", { key: '
|
|
6240
|
-
hAsync("div", { key: '
|
|
6522
|
+
return (hAsync(Host, { key: '752bc5c5fd8d2cac945d6029656954d3f375ec71', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, hAsync("input", { key: '04472c44cf63aa671326c774c9fbf6890db69ddb', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }), hAsync(PdsLabel, { key: '8895f0bd3a5eb345a91a9379ecb30cf47637ffe4', classNames: "pds-switch__label", htmlFor: this.componentId, text: this.label }), this.helperMessage &&
|
|
6523
|
+
hAsync("div", { key: 'bf29e672c126446faeca4bce2946294e816718f4', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
6524
|
+
hAsync("div", { key: '7428daf37dd2c60e6c0416a72a4f56cbb956dd9a', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '9efde77b0156883dd9514c9b2fc6f1234d04a645', icon: danger, size: "small" }), this.errorMessage)));
|
|
6241
6525
|
}
|
|
6242
6526
|
get el() { return getElement(this); }
|
|
6243
|
-
static get style() { return PdsSwitchStyle0; }
|
|
6527
|
+
static get style() { return PdsSwitchStyle0 + PdsSwitchStyle1; }
|
|
6244
6528
|
static get cmpMeta() { return {
|
|
6245
6529
|
"$flags$": 9,
|
|
6246
6530
|
"$tagName$": "pds-switch",
|
|
6247
6531
|
"$members$": {
|
|
6248
6532
|
"componentId": [1, "component-id"],
|
|
6249
|
-
"checked": [
|
|
6533
|
+
"checked": [1028],
|
|
6250
6534
|
"disabled": [4],
|
|
6251
6535
|
"errorMessage": [1, "error-message"],
|
|
6252
6536
|
"helperMessage": [1, "helper-message"],
|
|
@@ -6254,7 +6538,6 @@ class PdsSwitch {
|
|
|
6254
6538
|
"label": [1],
|
|
6255
6539
|
"name": [1],
|
|
6256
6540
|
"required": [4],
|
|
6257
|
-
"type": [1],
|
|
6258
6541
|
"value": [1]
|
|
6259
6542
|
},
|
|
6260
6543
|
"$listeners$": undefined,
|
|
@@ -6263,7 +6546,7 @@ class PdsSwitch {
|
|
|
6263
6546
|
}; }
|
|
6264
6547
|
}
|
|
6265
6548
|
|
|
6266
|
-
const pdsTabCss = "pds-tab{--border-none:var(--pine-border-width-none);--border-radius-availability:var(--pine-border-radius-100);--border-radius-default:var(--pine-border-radius-125);--border-radius-none:var(--pine-border-radius-0);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--color-background-active:var(--pine-color-grey-900);--color-background-availability:var(--pine-color-white);--color-background-default:var(--pine-color-grey-300);--color-background-hover:var(--pine-color-grey-
|
|
6549
|
+
const pdsTabCss = "pds-tab{--border-none:var(--pine-border-width-none);--border-radius-availability:var(--pine-border-radius-100);--border-radius-default:var(--pine-border-radius-125);--border-radius-none:var(--pine-border-radius-0);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);--color-background-active:var(--pine-color-grey-900);--color-background-availability:var(--pine-color-white);--color-background-default:var(--pine-color-grey-300);--color-background-hover:var(--pine-color-grey-100);--color-indicator-active:var(--pine-color-mercury-500);--color-text-active:var(--pine-color-grey-900);--color-text-active-inverse:var(--pine-color-white);--color-text-default:var(--pine-color-grey-700);--color-text-focus:var(--pine-color-grey-800);--letter-spacing-default:var(--pine-letter-spacing-body-md);--outline:4px solid var(--pine-color-blue-200);--spacing-padding-none:var(--pine-spacing-0);--typography-default:var(--pine-typography-body-md-medium);display:inline-block;position:relative}.pds-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:var(--border-none);-webkit-box-shadow:none;box-shadow:none;color:inherit;cursor:pointer;font-family:inherit;padding:var(--spacing-padding-none);-ms-flex-align:center;align-items:center;color:var(--color-text-default);display:-ms-inline-flexbox;display:inline-flex;position:relative;text-decoration:none;white-space:nowrap}.pds-tab.is-active,.pds-tab[aria-selected=true]{color:var(--color-text-active)}.pds-tab.is-active .pds-tab__content::after,.pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tab:hover{color:var(--color-text-active)}.pds-tab:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-tab .pds-tab__content{font:var(--typography-default);letter-spacing:var(--letter-spacing-default);-webkit-padding-after:11px;padding-block-end:11px;position:relative}.pds-tab .pds-tab__content::after{background-color:var(--color-indicator-active);bottom:0;content:\"\";height:3px;left:0;opacity:0;position:absolute;right:0}.pds-tab .pds-tab-edge{display:none}.pds-tabs--availability{--color-background-tab:transparent}.pds-tabs--availability .pds-tab{background-color:var(--color-background-tab);border-radius:var(--border-radius-availability) var(--border-radius-availability) var(--border-radius-none) var(--border-radius-none);padding:8px 16px 13px}.pds-tabs--availability .pds-tab.is-active,.pds-tabs--availability .pds-tab[aria-selected=true]{--color-background-tab:var(--color-background-availability)}.pds-tabs--availability .pds-tab.is-active .pds-tab__content::after,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab__content::after{opacity:1}.pds-tabs--availability .pds-tab.is-active .pds-tab-edge,.pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab-edge{z-index:1}.pds-tabs--availability .pds-tab:hover:not(.is-active,[aria-selected=true]){--color-background-tab:var(--color-background-default)}.pds-tabs--availability .pds-tab:focus-visible{color:var(--color-text-default)}.pds-tabs--availability .pds-tab__content{padding-bottom:7px}.pds-tabs--availability .pds-tab-edge{bottom:0;display:block;height:8px;inset-inline-end:100%;overflow:hidden;position:absolute;width:8px}.pds-tabs--availability .pds-tab-edge::before{border-radius:50%;bottom:0;-webkit-box-shadow:4px 4px 0 0 var(--color-background-tab);box-shadow:4px 4px 0 0 var(--color-background-tab);content:\"\";display:block;height:200%;inset-inline-end:0;position:absolute;width:200%}.pds-tabs--availability .pds-tab-edge--end{inset-inline-end:unset;inset-inline-start:100%}.pds-tabs--availability .pds-tab-edge--end::before{-webkit-box-shadow:-4px 4px 0 0 var(--color-background-tab);box-shadow:-4px 4px 0 0 var(--color-background-tab);inset-inline-end:unset;inset-inline-start:0}.pds-tabs--filter{--color-background-tab:var(--color-background-active)}.pds-tabs--filter .pds-tab{background-color:var(--color-background-tab);border-radius:50px;color:var(--color-text-active);padding:6px 15px}.pds-tabs--filter .pds-tab.is-active,.pds-tabs--filter .pds-tab[aria-selected=true]{--color-background-tab:var(--color-background-active);color:var(--color-text-active-inverse)}.pds-tabs--filter .pds-tab:hover:not(.is-active,[aria-selected=true]){--color-background-tab:var(--color-background-hover)}.pds-tabs--filter .pds-tab__content{-webkit-padding-after:0;padding-block-end:0}.pds-tabs--filter .pds-tab__content::after{content:unset}";
|
|
6267
6550
|
var PdsTabStyle0 = pdsTabCss;
|
|
6268
6551
|
|
|
6269
6552
|
class PdsTab {
|
|
@@ -6280,9 +6563,9 @@ class PdsTab {
|
|
|
6280
6563
|
this.pdsTabClick.emit([index, parentComponentId]);
|
|
6281
6564
|
}
|
|
6282
6565
|
render() {
|
|
6283
|
-
const availabilityTabEdgeInlineStart = (hAsync("span", { key: '
|
|
6284
|
-
const availabilityTabEdgeInlineEnd = (hAsync("span", { key: '
|
|
6285
|
-
return (hAsync(Host, { key: '
|
|
6566
|
+
const availabilityTabEdgeInlineStart = (hAsync("span", { key: 'd98a922aaa1b9a6023830badc391c3d1d615ec6a', class: "pds-tab-edge", role: "presentation" }));
|
|
6567
|
+
const availabilityTabEdgeInlineEnd = (hAsync("span", { key: '390da28bb3fd9ab1fa2fddda45569e92d4547fa3', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
6568
|
+
return (hAsync(Host, { key: '5996673486d4bd95f98a691b155529a60655e92f', variant: this.variant, slot: "tabs", index: this.index }, hAsync("button", { key: '6eded79f9d5aa9093080933aa9aaa2ad88440759', role: "tab", id: this.parentComponentId + "__" + this.name, "aria-controls": this.parentComponentId + "__" + this.name + "-panel", tabindex: this.selected ? "0" : "-1", "aria-selected": this.selected ? "true" : "false", class: this.selected ? "pds-tab is-active" : "pds-tab", onClick: this.onTabClick.bind(this, this.index, this.parentComponentId) }, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, hAsync("div", { key: '9f8927d976b6964c22414e9fbb8680b9132370fa', class: "pds-tab__content" }, hAsync("slot", { key: '691c6cf5e42bc42c6492276fd5905733c424921c' })))));
|
|
6286
6569
|
}
|
|
6287
6570
|
get el() { return getElement(this); }
|
|
6288
6571
|
static get style() { return PdsTabStyle0; }
|
|
@@ -6302,8 +6585,11 @@ class PdsTab {
|
|
|
6302
6585
|
}; }
|
|
6303
6586
|
}
|
|
6304
6587
|
|
|
6588
|
+
const baseCss$8 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
6589
|
+
var PdsTableStyle0 = baseCss$8;
|
|
6590
|
+
|
|
6305
6591
|
const pdsTableCss = ":host{--color-background-default:var(--pine-color-white);background:var(--color-background-default);border-collapse:separate;-webkit-box-sizing:border-box;box-sizing:border-box;display:table;width:100%}:host(:focus-visible){--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}:host(.is-responsive){background-attachment:local, local, scroll, scroll;background-image:-webkit-gradient(linear, left top, right top, from(var(--color-background-default)), to(var(--color-background-default))), -webkit-gradient(linear, left top, right top, from(var(--color-background-default)), to(var(--color-background-default))), -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), to(rgba(255, 255, 255, 0))), -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.1)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(to right, var(--color-background-default), var(--color-background-default)), linear-gradient(to right, var(--color-background-default), var(--color-background-default)), linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));background-position:left center, right center, left center, right center;background-repeat:no-repeat;background-size:4px 100%, 4px 100%, 4px 100%, 4px 100%;display:block;margin:0 auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;overflow-x:auto;white-space:nowrap}";
|
|
6306
|
-
var
|
|
6592
|
+
var PdsTableStyle1 = pdsTableCss;
|
|
6307
6593
|
|
|
6308
6594
|
class PdsTable {
|
|
6309
6595
|
constructor(hostRef) {
|
|
@@ -6389,10 +6675,10 @@ class PdsTable {
|
|
|
6389
6675
|
headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;
|
|
6390
6676
|
}
|
|
6391
6677
|
render() {
|
|
6392
|
-
return (hAsync(Host, { key: '
|
|
6678
|
+
return (hAsync(Host, { key: '1525beac2ebdb255e34f834c57755f3bb7e0735b', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, hAsync("slot", { key: '2e04d93fe72d2d91ab80037ec42d805f8b472a0f' })));
|
|
6393
6679
|
}
|
|
6394
6680
|
get el() { return getElement(this); }
|
|
6395
|
-
static get style() { return PdsTableStyle0; }
|
|
6681
|
+
static get style() { return PdsTableStyle0 + PdsTableStyle1; }
|
|
6396
6682
|
static get cmpMeta() { return {
|
|
6397
6683
|
"$flags$": 9,
|
|
6398
6684
|
"$tagName$": "pds-table",
|
|
@@ -6411,17 +6697,20 @@ class PdsTable {
|
|
|
6411
6697
|
}; }
|
|
6412
6698
|
}
|
|
6413
6699
|
|
|
6700
|
+
const baseCss$7 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
6701
|
+
var PdsTableBodyStyle0 = baseCss$7;
|
|
6702
|
+
|
|
6414
6703
|
const pdsTableBodyCss = ":host{border-color:inherit;display:table-row-group;vertical-align:middle}";
|
|
6415
|
-
var
|
|
6704
|
+
var PdsTableBodyStyle1 = pdsTableBodyCss;
|
|
6416
6705
|
|
|
6417
6706
|
class PdsTableBody {
|
|
6418
6707
|
constructor(hostRef) {
|
|
6419
6708
|
registerInstance(this, hostRef);
|
|
6420
6709
|
}
|
|
6421
6710
|
render() {
|
|
6422
|
-
return (hAsync(Host, { key: '
|
|
6711
|
+
return (hAsync(Host, { key: '2e51c5074e6dca980f24db2f91c66260da53dc57', role: "rowgroup" }, hAsync("slot", { key: 'cec8f94525798f338ef13d8788c862fb6fd699a6' })));
|
|
6423
6712
|
}
|
|
6424
|
-
static get style() { return PdsTableBodyStyle0; }
|
|
6713
|
+
static get style() { return PdsTableBodyStyle0 + PdsTableBodyStyle1; }
|
|
6425
6714
|
static get cmpMeta() { return {
|
|
6426
6715
|
"$flags$": 9,
|
|
6427
6716
|
"$tagName$": "pds-table-body",
|
|
@@ -6432,8 +6721,11 @@ class PdsTableBody {
|
|
|
6432
6721
|
}; }
|
|
6433
6722
|
}
|
|
6434
6723
|
|
|
6435
|
-
const
|
|
6436
|
-
var PdsTableCellStyle0 =
|
|
6724
|
+
const baseCss$6 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
6725
|
+
var PdsTableCellStyle0 = baseCss$6;
|
|
6726
|
+
|
|
6727
|
+
const pdsTableCellCss = ":host{--box-shadow-fixed:3px 3px 6px -2px rgba(0, 0, 0, 0.2);--color-background-fixed:var(--pine-color-white);--color-text-cell-default:var(--pine-color-grey-700);--dimension-fixed-cell-position:0;--dimension-max-width-truncated:100px;--letter-spacing-default:var(--pine-letter-spacing-body-md);--number-fixed-column-index:0;--spacing-line-height-cell-default:var(--pine-line-height-125);--spacing-padding-cell-default:calc(var(--pine-spacing-300) / 2);--spacing-padding-compact:var(--pine-spacing-050);--typography-default:var(--pine-typography-body-md-default);color:var(--color-text-cell-default);display:table-cell;font:var(--typography-default);letter-spacing:var(--letter-spacing-default);padding:var(--spacing-padding-cell-default);vertical-align:inherit}:host(.is-compact){padding-block:var(--spacing-padding-compact)}:host(.is-fixed){background:var(--color-background-fixed);left:var(--dimension-fixed-cell-position);position:-webkit-sticky;position:sticky;z-index:1}:host(.has-scrolled.is-fixed){-webkit-box-shadow:var(--box-shadow-fixed);box-shadow:var(--box-shadow-fixed)}:host(.is-truncated){max-width:var(--dimension-max-width-truncated);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.has-checkbox){vertical-align:middle;width:16px}";
|
|
6728
|
+
var PdsTableCellStyle1 = pdsTableCellCss;
|
|
6437
6729
|
|
|
6438
6730
|
class PdsTableCell {
|
|
6439
6731
|
constructor(hostRef) {
|
|
@@ -6471,14 +6763,14 @@ class PdsTableCell {
|
|
|
6471
6763
|
return classNames.join(' ');
|
|
6472
6764
|
}
|
|
6473
6765
|
render() {
|
|
6474
|
-
return (hAsync(Host, { key: '
|
|
6766
|
+
return (hAsync(Host, { key: '03e6833f06a00f24c12f58148d0be1c9d4472ba6', class: this.classNames(), role: "gridcell", style: this.tableRef &&
|
|
6475
6767
|
this.tableRef.fixedColumn &&
|
|
6476
6768
|
this.tableRef.selectable
|
|
6477
6769
|
? { '--fixed-cell-position': '40px' }
|
|
6478
|
-
: {} }, hAsync("slot", { key: '
|
|
6770
|
+
: {} }, hAsync("slot", { key: '5ac68bc25d266576f836341d71b96eaa229117c7' })));
|
|
6479
6771
|
}
|
|
6480
6772
|
get hostElement() { return getElement(this); }
|
|
6481
|
-
static get style() { return PdsTableCellStyle0; }
|
|
6773
|
+
static get style() { return PdsTableCellStyle0 + PdsTableCellStyle1; }
|
|
6482
6774
|
static get cmpMeta() { return {
|
|
6483
6775
|
"$flags$": 9,
|
|
6484
6776
|
"$tagName$": "pds-table-cell",
|
|
@@ -6500,8 +6792,11 @@ const closest = (selector, el) => {
|
|
|
6500
6792
|
closest(selector, el.getRootNode().host)));
|
|
6501
6793
|
};
|
|
6502
6794
|
|
|
6503
|
-
const
|
|
6504
|
-
var PdsTableHeadStyle0 =
|
|
6795
|
+
const baseCss$5 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
6796
|
+
var PdsTableHeadStyle0 = baseCss$5;
|
|
6797
|
+
|
|
6798
|
+
const pdsTableHeadCss = ":host{--border-head-default:var(--pine-border-width-thin) solid var(--pine-color-grey-100);--color-background-fixed:var(--pine-color-base-white);border-color:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;display:table-header-group;vertical-align:middle}:host::part(checkbox-cell){background-color:var(--color-background-fixed);left:0;position:-webkit-sticky;position:sticky;z-index:1}:host pds-table-checkbox-cell{-webkit-border-after:var(--border-head-default);border-block-end:var(--border-head-default)}";
|
|
6799
|
+
var PdsTableHeadStyle1 = pdsTableHeadCss;
|
|
6505
6800
|
|
|
6506
6801
|
class PdsTableHead {
|
|
6507
6802
|
constructor(hostRef) {
|
|
@@ -6539,10 +6834,10 @@ class PdsTableHead {
|
|
|
6539
6834
|
}
|
|
6540
6835
|
}
|
|
6541
6836
|
render() {
|
|
6542
|
-
return (hAsync(Host, { key: '
|
|
6837
|
+
return (hAsync(Host, { key: 'eb7e9eef443d0f222482b427a5ced7eaa4c0acf4', role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-head-cell", { key: '6b7c87f0d07aac6e5b12b9e3a63914061f850da7', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, hAsync("pds-checkbox", { key: '74a7b333189bf92219b5a82bf0897d476b7adc8a', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", labelHidden: true, checked: this.isSelected }))), hAsync("slot", { key: '5ef8daf29f10505b082619755b61014a52dbd00c' })));
|
|
6543
6838
|
}
|
|
6544
6839
|
get hostElement() { return getElement(this); }
|
|
6545
|
-
static get style() { return PdsTableHeadStyle0; }
|
|
6840
|
+
static get style() { return PdsTableHeadStyle0 + PdsTableHeadStyle1; }
|
|
6546
6841
|
static get cmpMeta() { return {
|
|
6547
6842
|
"$flags$": 9,
|
|
6548
6843
|
"$tagName$": "pds-table-head",
|
|
@@ -6556,8 +6851,11 @@ class PdsTableHead {
|
|
|
6556
6851
|
}; }
|
|
6557
6852
|
}
|
|
6558
6853
|
|
|
6559
|
-
const
|
|
6560
|
-
var PdsTableHeadCellStyle0 =
|
|
6854
|
+
const baseCss$4 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
6855
|
+
var PdsTableHeadCellStyle0 = baseCss$4;
|
|
6856
|
+
|
|
6857
|
+
const pdsTableHeadCellCss = ":host{--border-head-cell-default:var(--pine-border-width-thin) solid var(--pine-color-grey-100);--box-shadow-default:3px 3px 6px -2px rgba(0, 0, 0, 0.1);--color-background-fixed:var(--pine-color-white);--color-text-default:var(--pine-color-grey-800);--color-text-active:var(--pine-color-grey-950);--dimension-fixed-cell-position:0;--letter-spacing-default:var(--pine-letter-spacing-body-md);--padding-cell-default:calc(var(--pine-spacing-300) / 2);--spacing-margin-inline-start-arrow:var(--pine-spacing-050);--spacing-padding-arrow:calc(var(--pine-spacing-050) / 2);--spacing-padding-block-compact:var(--pine-spacing-050);--typography-default:var(--pine-typography-body-md-medium);-webkit-border-after:var(--border-head-cell-default);border-block-end:var(--border-head-cell-default);color:var(--color-text-default);display:table-cell;font:var(--typography-default);padding:var(--padding-cell-default);text-align:start;vertical-align:inherit}:host(.is-compact){padding-block:var(--spacing-padding-block-compact)}:host(.is-fixed){background:var(--color-background-fixed);left:var(--dimension-fixed-cell-position);position:-webkit-sticky;position:sticky;z-index:1}:host(.has-scrolled.is-fixed){-webkit-box-shadow:var(--box-shadow-default);box-shadow:var(--box-shadow-default)}:host(.is-sortable){cursor:pointer}:host(.is-sortable) pds-icon{-webkit-margin-start:var(--spacing-margin-inline-start-arrow);margin-inline-start:var(--spacing-margin-inline-start-arrow);-webkit-padding-before:var(--spacing-padding-arrow);padding-block-start:var(--spacing-padding-arrow);position:absolute}:host(.is-sortable:hover),:host(.is-active){color:var(--color-text-active)}";
|
|
6858
|
+
var PdsTableHeadCellStyle1 = pdsTableHeadCellCss;
|
|
6561
6859
|
|
|
6562
6860
|
class PdsTableHeadCell {
|
|
6563
6861
|
constructor(hostRef) {
|
|
@@ -6612,14 +6910,14 @@ class PdsTableHeadCell {
|
|
|
6612
6910
|
return classNames.join(' ');
|
|
6613
6911
|
}
|
|
6614
6912
|
render() {
|
|
6615
|
-
return (hAsync(Host, { key: '
|
|
6913
|
+
return (hAsync(Host, { key: 'dcb6684146176db2dfc73c99ead82af732ef1f72', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
|
|
6616
6914
|
this.tableRef.fixedColumn &&
|
|
6617
6915
|
this.tableRef.selectable
|
|
6618
6916
|
? { '--fixed-cell-position': '40px' }
|
|
6619
|
-
: {} }, hAsync("slot", { key: '
|
|
6917
|
+
: {} }, hAsync("slot", { key: 'ea960d9245e41ce504083f2645aa01bd3a9404f0' }), this.sortable && (hAsync("pds-icon", { key: 'dfa59925bbda74da7b2a3bf87f448cf323ff6342', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
|
|
6620
6918
|
}
|
|
6621
6919
|
get hostElement() { return getElement(this); }
|
|
6622
|
-
static get style() { return PdsTableHeadCellStyle0; }
|
|
6920
|
+
static get style() { return PdsTableHeadCellStyle0 + PdsTableHeadCellStyle1; }
|
|
6623
6921
|
static get cmpMeta() { return {
|
|
6624
6922
|
"$flags$": 9,
|
|
6625
6923
|
"$tagName$": "pds-table-head-cell",
|
|
@@ -6635,8 +6933,11 @@ class PdsTableHeadCell {
|
|
|
6635
6933
|
}; }
|
|
6636
6934
|
}
|
|
6637
6935
|
|
|
6936
|
+
const baseCss$3 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
6937
|
+
var PdsTableRowStyle0 = baseCss$3;
|
|
6938
|
+
|
|
6638
6939
|
const pdsTableRowCss = ":host{--color-background-fixed:var(--pine-color-white);--color-background-interactive:var(--pine-color-grey-200);border-color:inherit;display:table-row;vertical-align:inherit}:host::part(checkbox-cell){background-color:var(--color-background-fixed);left:0;position:-webkit-sticky;position:sticky;z-index:1}:host(:hover),:host(:hover)::part(checkbox-cell),:host(:hover) ::slotted(pds-table-cell),:host(.is-selected),:host(.is-selected)::part(checkbox-cell),:host(.is-selected) ::slotted(pds-table-cell){background:var(--color-background-interactive)}";
|
|
6639
|
-
var
|
|
6940
|
+
var PdsTableRowStyle1 = pdsTableRowCss;
|
|
6640
6941
|
|
|
6641
6942
|
class PdsTableRow {
|
|
6642
6943
|
constructor(hostRef) {
|
|
@@ -6685,10 +6986,10 @@ class PdsTableRow {
|
|
|
6685
6986
|
}
|
|
6686
6987
|
}
|
|
6687
6988
|
render() {
|
|
6688
|
-
return (hAsync(Host, { key: '
|
|
6989
|
+
return (hAsync(Host, { key: '9dceed18de8775f4356afec4bafe85b8e01d784d', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-cell", { key: 'a56e002c28377096430b6370744dc32726f578d3', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, hAsync("pds-checkbox", { key: '5d7d6b2632d619bc7e7447f1eaf6ec7d9a2e2318', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", labelHidden: true, checked: this.isSelected }))), hAsync("slot", { key: '9dcbe00aba5b4bba6318a301609ce2226c303178' })));
|
|
6689
6990
|
}
|
|
6690
6991
|
get hostElement() { return getElement(this); }
|
|
6691
|
-
static get style() { return PdsTableRowStyle0; }
|
|
6992
|
+
static get style() { return PdsTableRowStyle0 + PdsTableRowStyle1; }
|
|
6692
6993
|
static get cmpMeta() { return {
|
|
6693
6994
|
"$flags$": 9,
|
|
6694
6995
|
"$tagName$": "pds-table-row",
|
|
@@ -6714,7 +7015,7 @@ class PdsTabpanel {
|
|
|
6714
7015
|
this.selected = false;
|
|
6715
7016
|
}
|
|
6716
7017
|
render() {
|
|
6717
|
-
return (hAsync(Host, { key: '
|
|
7018
|
+
return (hAsync(Host, { key: 'e373f0105e391bcb04888b060f41d96cf374ee2d', slot: "tabpanels" }, hAsync("div", { key: '699b02073f6fa1caafc5920b82f776c86c553599', role: "tabpanel", id: this.parentComponentId + "__" + this.name + '-panel', tabindex: "0", "aria-labelledby": this.parentComponentId + "__" + this.name, class: this.selected ? "pds-tabpanel is-active" : "pds-tabpanel" }, hAsync("slot", { key: 'df59ed91bf0ca60ccbde92b2f84c7c17659bfdbd' }))));
|
|
6718
7019
|
}
|
|
6719
7020
|
get el() { return getElement(this); }
|
|
6720
7021
|
static get style() { return PdsTabpanelStyle0; }
|
|
@@ -6733,8 +7034,11 @@ class PdsTabpanel {
|
|
|
6733
7034
|
}; }
|
|
6734
7035
|
}
|
|
6735
7036
|
|
|
7037
|
+
const baseCss$2 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
7038
|
+
var PdsTabsStyle0 = baseCss$2;
|
|
7039
|
+
|
|
6736
7040
|
const pdsTabsCss = ":host{--spacing-panel-margin-top:0;--spacing-panel-padding:0;--outline:2px solid var(--pine-color-blue-200);--spacing-gap-availability:var(--pine-spacing-100);--spacing-gap-default:var(--pine-spacing-300);--spacing-gap-filter:var(--pine-spacing-200);display:block}.pds-tabs__tablist{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--spacing-gap-default)}:host(.pds-tabs--availability) .pds-tabs__tablist{gap:var(--spacing-gap-availability)}:host(.pds-tabs--filter) .pds-tabs__tablist{gap:var(--spacing-gap-filter)}";
|
|
6737
|
-
var
|
|
7041
|
+
var PdsTabsStyle1 = pdsTabsCss;
|
|
6738
7042
|
|
|
6739
7043
|
/**
|
|
6740
7044
|
* @slot tabs - Content is placed within the `div[role="tablist"]` element as children
|
|
@@ -6821,10 +7125,10 @@ class PdsTabs {
|
|
|
6821
7125
|
this.passPropsToChildren();
|
|
6822
7126
|
}
|
|
6823
7127
|
render() {
|
|
6824
|
-
return (hAsync(Host, { key: '
|
|
7128
|
+
return (hAsync(Host, { key: '8b7537e2fc9007aaca3c1a6baff0a1c3d6b2cb07', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, hAsync("div", { key: '7afa678022c1170d3912137897a5ece92e7b4394', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, hAsync("slot", { key: 'e2026e752548b4cdf8f768137e4bb567550ef3cd', name: "tabs" })), hAsync("slot", { key: 'c3a3fbbfab88494b45e5d1cc6563877df2017f9f', name: "tabpanels" })));
|
|
6825
7129
|
}
|
|
6826
7130
|
get el() { return getElement(this); }
|
|
6827
|
-
static get style() { return PdsTabsStyle0; }
|
|
7131
|
+
static get style() { return PdsTabsStyle0 + PdsTabsStyle1; }
|
|
6828
7132
|
static get cmpMeta() { return {
|
|
6829
7133
|
"$flags$": 9,
|
|
6830
7134
|
"$tagName$": "pds-tabs",
|
|
@@ -6841,8 +7145,57 @@ class PdsTabs {
|
|
|
6841
7145
|
}; }
|
|
6842
7146
|
}
|
|
6843
7147
|
|
|
6844
|
-
const
|
|
6845
|
-
var
|
|
7148
|
+
const pdsTextCss = ":host{display:inline}:host([decoration=underline-dotted])>*{-webkit-text-decoration-color:var(--pine-color-grey-600);text-decoration-color:var(--pine-color-grey-600);-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;text-decoration-thickness:12%;text-underline-offset:0.3rem;text-underline-position:under}:host([decoration=strikethrough])>*{text-decoration:line-through}h1{font-family:\"GreetStandard\";font-size:28px;font-weight:600;letter-spacing:0.26px;line-height:1.25}h2{font-family:\"GreetStandard\";font-size:26px;font-weight:600;letter-spacing:0.24px;line-height:1.25}h3{font-family:\"GreetStandard\";font-size:22px;font-weight:600;letter-spacing:0.22px;line-height:1.25}h4{font-family:\"GreetStandard\";font-size:20px;font-weight:600;letter-spacing:0.2px;line-height:1.25}h5{font-family:\"GreetStandard\";font-size:18px;font-weight:500;letter-spacing:0.18px;line-height:1.25}h6{font-family:\"GreetStandard\";font-size:16px;font-weight:500;letter-spacing:0.16px;line-height:1.25}code,em,p,pre,strong{font-family:\"Inter\";font-size:14px;font-weight:400;letter-spacing:-0.16px;line-height:1.425}code,pre{font-family:monospace;letter-spacing:0;line-height:1}em{font-style:normal}strong{font-weight:bolder}h1,h2,h3,h4,h5,h6,p,code,pre,em,strong{color:var(--pine-color-text-default);margin:0}:host([truncate])>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([italic])>*{font-style:italic}.pds-text--color-primary{color:var(--pine-color-white)}.pds-text--color-secondary{color:var(--pine-color-grey-800)}.pds-text--color-neutral{color:var(--pine-color-grey-900)}.pds-text--color-accent{color:var(--pine-color-purple-900)}.pds-text--color-danger{color:var(--pine-color-red-900)}.pds-text--color-info{color:var(--pine-color-blue-900)}.pds-text--color-success{color:var(--pine-color-green-900)}.pds-text--color-warning{color:var(--pine-color-yellow-900)}.pds-text--size-2xl{font-size:20px}.pds-text--size-xl{font-size:18px}.pds-text--size-lg{font-size:16px}.pds-text--size-md{font-size:14px}.pds-text--size-sm{font-size:12px}.pds-text--size-xs{font-size:10px}.pds-text--size-2xs{font-size:8px}.pds-text--weight-extra-light{font-weight:200}.pds-text--weight-light{font-weight:300}.pds-text--weight-regular{font-weight:400}.pds-text--weight-medium{font-weight:500}.pds-text--weight-semibold{font-weight:600}.pds-text--weight-bold{font-weight:700}.pds-text--gutter-2xl{-webkit-margin-after:48px;margin-block-end:48px}.pds-text--gutter-xl{-webkit-margin-after:40px;margin-block-end:40px}.pds-text--gutter-lg{-webkit-margin-after:32px;margin-block-end:32px}.pds-text--gutter-md{-webkit-margin-after:24px;margin-block-end:24px}.pds-text--gutter-sm{-webkit-margin-after:16px;margin-block-end:16px}.pds-text--gutter-xs{-webkit-margin-after:8px;margin-block-end:8px}.pds-text--gutter-2xs{-webkit-margin-after:4px;margin-block-end:4px}.pds-text--align-start{text-align:start}.pds-text--align-center{text-align:center}.pds-text--align-end{text-align:end}.pds-text--align-justify{text-align:justify}";
|
|
7149
|
+
var PdsTextStyle0 = pdsTextCss;
|
|
7150
|
+
|
|
7151
|
+
class PdsText {
|
|
7152
|
+
constructor(hostRef) {
|
|
7153
|
+
registerInstance(this, hostRef);
|
|
7154
|
+
this.align = undefined;
|
|
7155
|
+
this.color = undefined;
|
|
7156
|
+
this.decoration = undefined;
|
|
7157
|
+
this.gutter = undefined;
|
|
7158
|
+
this.size = undefined;
|
|
7159
|
+
this.weight = undefined;
|
|
7160
|
+
this.tag = "p";
|
|
7161
|
+
}
|
|
7162
|
+
render() {
|
|
7163
|
+
const Tag = this.tag;
|
|
7164
|
+
const typeClasses = `
|
|
7165
|
+
pds-text
|
|
7166
|
+
${this.align !== undefined && this.align.trim() !== '' ? `pds-text--align-${this.align}` : ''}
|
|
7167
|
+
${this.color !== undefined && this.color.trim() !== '' ? `pds-text--color-${this.color}` : ''}
|
|
7168
|
+
${this.gutter !== undefined && this.gutter.trim() !== '' ? `pds-text--gutter-${this.gutter}` : ''}
|
|
7169
|
+
${this.size !== undefined && this.size.trim() !== '' ? `pds-text--size-${this.size}` : ''}
|
|
7170
|
+
${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
|
|
7171
|
+
${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
|
|
7172
|
+
`;
|
|
7173
|
+
return (hAsync(Tag, { key: '1f4e66d525057dea787cafa3e553572333dc1f1d', class: typeClasses }, hAsync("slot", { key: '035a577c6c1b67b200362c0bf6431714ac8c52ba' })));
|
|
7174
|
+
}
|
|
7175
|
+
static get style() { return PdsTextStyle0; }
|
|
7176
|
+
static get cmpMeta() { return {
|
|
7177
|
+
"$flags$": 9,
|
|
7178
|
+
"$tagName$": "pds-text",
|
|
7179
|
+
"$members$": {
|
|
7180
|
+
"align": [1],
|
|
7181
|
+
"color": [1],
|
|
7182
|
+
"decoration": [1],
|
|
7183
|
+
"gutter": [1],
|
|
7184
|
+
"size": [1],
|
|
7185
|
+
"weight": [1],
|
|
7186
|
+
"tag": [1]
|
|
7187
|
+
},
|
|
7188
|
+
"$listeners$": undefined,
|
|
7189
|
+
"$lazyBundleId$": "-",
|
|
7190
|
+
"$attrsToReflect$": []
|
|
7191
|
+
}; }
|
|
7192
|
+
}
|
|
7193
|
+
|
|
7194
|
+
const baseCss$1 = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
7195
|
+
var PdsTextareaStyle0 = baseCss$1;
|
|
7196
|
+
|
|
7197
|
+
const pdsTextareaCss = ":host{--border-interactive-default:var(--pine-border-interactive-default);--border-interactive-hover:var(--pine-border-interactive-hover);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--color-focus-visible-outline);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--color-focus-visible-outline-error);--color-background-default:var(--pine-color-white);--color-background-disabled:var(--pine-color-grey-100);--color-background-hover:var(--pine-color-grey-050);--color-background-error-default:var(--pine-color-red-050);--color-border-error-default:var(--pine-color-red-600);--color-border-focus-visible:var(--pine-color-grey-400);--color-border-hover:var(--pine-color-grey-400);--color-focus-visible-outline:var(--pine-color-purple-300);--color-focus-visible-outline-error:var(--pine-color-red-300);--color-text-disabled-default:var(--pine-color-grey-400);--color-text-message-error-default:var(--pine-color-red-600);--color-text-placeholder-default:var(--pine-color-grey-600);--color-text-placeholder-disabled:var(--pine-color-grey-400);--font-weight-label-default:var(--pine-font-weight-body-medium);--spacing-margin-block-end-label:var(--pine-spacing-100);--spacing-margin-block-start-helper-message:var(--pine-spacing-100);--spacing-padding-block-field:var(--pine-spacing-100);--spacing-padding-inline-field:var(--pine-spacing-200);--spacing-icon-error-message:var(--pine-spacing-050);--typography-message-default:var(--pine-typography-body-sm-default);display:inline}.pds-textarea{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}label{display:block;font-weight:var(--font-weight-label-default);-webkit-margin-after:var(--spacing-margin-block-end-label);margin-block-end:var(--spacing-margin-block-end-label)}.pds-textarea__field{background-color:var(--color-background-default);border:var(--border-interactive-default);border-radius:var(--pine-border-radius-100);padding:var(--spacing-padding-block-field) var(--spacing-padding-inline-field)}.pds-textarea__field:hover:not(:disabled,.is-invalid){border:var(--border-interactive-hover)}.pds-textarea__field:disabled{background-color:var(--color-background-disabled);color:var(--color-text-disabled-default);cursor:not-allowed}.pds-textarea__field:focus-visible{-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}.pds-textarea__field::-webkit-input-placeholder{color:var(--color-text-placeholder-default)}.pds-textarea__field::-moz-placeholder{color:var(--color-text-placeholder-default)}.pds-textarea__field:-ms-input-placeholder{color:var(--color-text-placeholder-default)}.pds-textarea__field::-ms-input-placeholder{color:var(--color-text-placeholder-default)}.pds-textarea__field::placeholder{color:var(--color-text-placeholder-default)}.pds-textarea__field.is-invalid{border-color:var(--color-border-error-default)}.pds-textarea__field.is-invalid:focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error)}.pds-textarea__error-message,.pds-textarea__helper-message{font:var(--typography-message-default);-webkit-margin-before:var(--spacing-margin-block-start-helper-message);margin-block-start:var(--spacing-margin-block-start-helper-message)}.pds-textarea__error-message{-ms-flex-align:center;align-items:center;color:var(--color-text-message-error-default);display:-ms-flexbox;display:flex;gap:var(--spacing-icon-error-message)}";
|
|
7198
|
+
var PdsTextareaStyle1 = pdsTextareaCss;
|
|
6846
7199
|
|
|
6847
7200
|
class PdsTextarea {
|
|
6848
7201
|
constructor(hostRef) {
|
|
@@ -6852,10 +7205,11 @@ class PdsTextarea {
|
|
|
6852
7205
|
const textarea = ev.target;
|
|
6853
7206
|
isRequired(textarea, this);
|
|
6854
7207
|
if (textarea) {
|
|
6855
|
-
this.value = textarea.
|
|
7208
|
+
this.value = textarea.value;
|
|
6856
7209
|
}
|
|
6857
7210
|
this.pdsTextareaChange.emit({ value: this.value, event: ev });
|
|
6858
7211
|
};
|
|
7212
|
+
this.autocomplete = undefined;
|
|
6859
7213
|
this.componentId = undefined;
|
|
6860
7214
|
this.disabled = false;
|
|
6861
7215
|
this.errorMessage = undefined;
|
|
@@ -6877,17 +7231,18 @@ class PdsTextarea {
|
|
|
6877
7231
|
return classNames.join(' ');
|
|
6878
7232
|
}
|
|
6879
7233
|
render() {
|
|
6880
|
-
return (hAsync(Host, { key: '
|
|
6881
|
-
hAsync(PdsLabel, { key: '
|
|
6882
|
-
hAsync("p", { key: '
|
|
6883
|
-
hAsync("p", { key: '
|
|
7234
|
+
return (hAsync(Host, { key: '461039704016b1b3858af80440863f1fc4930ceb', "aria-disabled": this.disabled ? 'true' : null }, hAsync("div", { key: 'de68ba7ca3b6714e1da8594e76f60bab2a3de1fb', class: "pds-textarea" }, this.label &&
|
|
7235
|
+
hAsync(PdsLabel, { key: '102802b8244a929492731700fdde06a053f3e2d5', htmlFor: this.componentId, text: this.label }), hAsync("textarea", { key: '55a3fde040749bd03a5e681dafad7db0717f4a7f', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onChange: this.onTextareaChange }, this.value), this.helperMessage &&
|
|
7236
|
+
hAsync("p", { key: '552e0c1240cdc51c215f5ddfc51f250156d8a4b2', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
|
|
7237
|
+
hAsync("p", { key: 'a7e6f4a0d926203f5ac56a8f99d03fd9b5f3647b', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: '53a40e204e076147b27c921cdbe54336ca50d9e3', icon: danger, size: "small" }), this.errorMessage))));
|
|
6884
7238
|
}
|
|
6885
7239
|
get el() { return getElement(this); }
|
|
6886
|
-
static get style() { return PdsTextareaStyle0; }
|
|
7240
|
+
static get style() { return PdsTextareaStyle0 + PdsTextareaStyle1; }
|
|
6887
7241
|
static get cmpMeta() { return {
|
|
6888
7242
|
"$flags$": 9,
|
|
6889
7243
|
"$tagName$": "pds-textarea",
|
|
6890
7244
|
"$members$": {
|
|
7245
|
+
"autocomplete": [1],
|
|
6891
7246
|
"componentId": [1, "component-id"],
|
|
6892
7247
|
"disabled": [4],
|
|
6893
7248
|
"errorMessage": [1, "error-message"],
|
|
@@ -6975,8 +7330,11 @@ const positionTooltip = ({ elem, elemPlacement, overlay, offset = 8 }) => {
|
|
|
6975
7330
|
}
|
|
6976
7331
|
};
|
|
6977
7332
|
|
|
6978
|
-
const
|
|
6979
|
-
var PdsTooltipStyle0 =
|
|
7333
|
+
const baseCss = ":where(*:not(slot),*:not(slot)::before,*:not(slot)::after){-webkit-box-sizing:border-box;box-sizing:border-box}:where(*:not(slot)){margin:0}:where(img,picture,video,canvas,svg){display:block;max-width:100%}:where(input,button,textarea,select){font:inherit}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(a:not([href]):not([class])){color:currentColor;text-decoration:none}:where(a:not([href]):not([class]):hover){color:currentColor;text-decoration:none}:where(ul[role=list],ol[role=list]){list-style:none}:where(table){border-collapse:collapse;border-spacing:0}:where(*:not(slot)){font:var(--pine-typography-body-md-default);letter-spacing:var(--pine-letter-spacing-body-md)}:where(h1,h2,h3,h4,h5,h6){font-family:var(--pine-font-family-heading);color:var(--pine-color-grey-950)}:where(h1){font:var(--pine-typography-heading-h1);letter-spacing:var(--pine-letter-spacing-heading-h1)}:where(h2){font:var(--pine-typography-heading-h2);letter-spacing:var(--pine-letter-spacing-heading-h2)}:where(h3){font:var(--pine-typography-heading-h3);letter-spacing:var(--pine-letter-spacing-heading-h3)}:where(h4){font:var(--pine-typography-heading-h4);letter-spacing:var(--pine-letter-spacing-heading-h4)}:where(h5){font:var(--pine-typography-heading-h5);letter-spacing:var(--pine-letter-spacing-heading-h5)}:where(h6){font:var(--pine-typography-heading-h6);letter-spacing:var(--pine-letter-spacing-heading-h6)}:where(div,label,p,span){color:var(--pine-color-text-default)}:where(code,kbd,pre,samp){font-family:monospace}:where([role=button]){cursor:pointer}:where(:focus){outline:0}:where(:focus-visible){outline:var(--pine-border-width-thick) solid var(--pine-color-purple-500)}:where([hidden]){display:none !important}";
|
|
7334
|
+
var PdsTooltipStyle0 = baseCss;
|
|
7335
|
+
|
|
7336
|
+
const pdsTooltipCss = ":host{--border-radius-overlay:var(--pine-border-radius-125);--border-width-arrow-down:var(--sizing-arrow-default) var(--sizing-arrow-default) 0;--border-width-arrow-left:var(--sizing-arrow-default) var(--sizing-arrow-default) var(--sizing-arrow-default) 0;--border-width-arrow-right:var(--sizing-arrow-default) 0 var(--sizing-arrow-default) var(--sizing-arrow-default);--border-width-arrow-up:0 var(--sizing-arrow-default) var(--sizing-arrow-default);--box-shadow-default:var(--pine-box-shadow-200);--color-background-default:var(--pine-color-grey-950);--color-text-default:var(--pine-color-white);--sizing-arrow-default:6px;--sizing-arrow-offset:14px;--sizing-width-default:320px;--spacing-padding-overlay:var(--pine-spacing-100) calc(var(--pine-spacing-300) / 2);display:inline-block;position:relative}:host ::slotted(*){display:-ms-flexbox;display:flex}:host ::slotted([slot=content]){display:block;max-width:var(--sizing-width-default);white-space:normal}.pds-tooltip__content{background-color:var(--color-background-default);border-radius:var(--border-radius-overlay);-webkit-box-shadow:var(--box-shadow-default);box-shadow:var(--box-shadow-default);color:var(--color-text-default);max-width:var(--sizing-width-default);opacity:0;padding:var(--spacing-padding-overlay);position:absolute;visibility:hidden;width:-webkit-max-content;width:-moz-max-content;width:max-content}.pds-tooltip--is-open .pds-tooltip__content{opacity:1;visibility:visible;z-index:1}:host(.pds-tooltip--has-html-content) .pds-tooltip__content{width:auto}.pds-tooltip__content::after{border-color:transparent;border-right-color:transparent;border-style:solid;border-width:var(--border-width-arrow-left);content:\"\";height:0;position:absolute;width:0}.pds-tooltip--right .pds-tooltip__content::after{border-inline-end-color:var(--color-background-default);border-width:var(--border-width-arrow-left);left:calc(var(--sizing-arrow-default) * -1);top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pds-tooltip--right-end .pds-tooltip__content::after{border-inline-end-color:var(--color-background-default);border-width:var(--border-width-arrow-left);bottom:var(--sizing-arrow-offset);left:calc(var(--sizing-arrow-default) * -1);top:initial}.pds-tooltip--right-start .pds-tooltip__content::after{border-inline-end-color:var(--color-background-default);border-width:var(--border-width-arrow-left);left:calc(var(--sizing-arrow-default) * -1);top:var(--sizing-arrow-offset)}.pds-tooltip--top .pds-tooltip__content::after{border-block-start-color:var(--color-background-default);border-width:var(--border-width-arrow-down);bottom:calc(var(--sizing-arrow-default) * -1);left:50%;top:initial;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pds-tooltip--top-start .pds-tooltip__content::after{border-block-start-color:var(--color-background-default);border-width:var(--border-width-arrow-down);bottom:calc(var(--sizing-arrow-default) * -1);left:var(--sizing-arrow-offset);top:initial}.pds-tooltip--top-end .pds-tooltip__content::after{border-block-start-color:var(--color-background-default);border-width:var(--border-width-arrow-down);bottom:calc(var(--sizing-arrow-default) * -1);left:initial;right:var(--sizing-arrow-offset);top:initial}.pds-tooltip--left .pds-tooltip__content::after{border-inline-start-color:var(--color-background-default);border-width:var(--border-width-arrow-right);left:initial;right:calc(var(--sizing-arrow-default) * -1);top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pds-tooltip--left-end .pds-tooltip__content::after{border-inline-start-color:var(--color-background-default);border-width:var(--border-width-arrow-right);bottom:var(--sizing-arrow-offset);left:initial;right:calc(var(--sizing-arrow-default) * -1);top:initial}.pds-tooltip--left-start .pds-tooltip__content::after{border-inline-start-color:var(--color-background-default);border-width:var(--border-width-arrow-right);left:initial;right:calc(var(--sizing-arrow-default) * -1);top:var(--sizing-arrow-offset)}.pds-tooltip--bottom .pds-tooltip__content::after{border-block-end-color:var(--color-background-default);border-width:var(--border-width-arrow-up);left:50%;top:calc(var(--sizing-arrow-default) * -1);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pds-tooltip--bottom-end .pds-tooltip__content::after{border-block-end-color:var(--color-background-default);border-width:var(--border-width-arrow-up);left:initial;right:var(--sizing-arrow-offset);top:calc(var(--sizing-arrow-default) * -1)}.pds-tooltip--bottom-start .pds-tooltip__content::after{border-block-end-color:var(--color-background-default);border-width:var(--border-width-arrow-up);left:var(--sizing-arrow-offset);top:calc(var(--sizing-arrow-default) * -1)}.pds-tooltip--no-arrow .pds-tooltip__content::after{border-width:0}";
|
|
7337
|
+
var PdsTooltipStyle1 = pdsTooltipCss;
|
|
6980
7338
|
|
|
6981
7339
|
/**
|
|
6982
7340
|
* @slot (default) - The tooltip's target element
|
|
@@ -6985,15 +7343,11 @@ var PdsTooltipStyle0 = pdsTooltipCss;
|
|
|
6985
7343
|
class PdsTooltip {
|
|
6986
7344
|
constructor(hostRef) {
|
|
6987
7345
|
registerInstance(this, hostRef);
|
|
6988
|
-
this.pdsTooltipHide = createEvent(this, "pdsTooltipHide", 7);
|
|
6989
|
-
this.pdsTooltipShow = createEvent(this, "pdsTooltipShow", 7);
|
|
6990
7346
|
this.handleHide = () => {
|
|
6991
7347
|
this.hideTooltip();
|
|
6992
|
-
this.pdsTooltipHide.emit();
|
|
6993
7348
|
};
|
|
6994
7349
|
this.handleShow = () => {
|
|
6995
7350
|
this.showTooltip();
|
|
6996
|
-
this.pdsTooltipShow.emit();
|
|
6997
7351
|
};
|
|
6998
7352
|
this.isOpen = false;
|
|
6999
7353
|
this.content = undefined;
|
|
@@ -7001,6 +7355,7 @@ class PdsTooltip {
|
|
|
7001
7355
|
this.hasArrow = true;
|
|
7002
7356
|
this.htmlContent = false;
|
|
7003
7357
|
this.placement = 'right';
|
|
7358
|
+
this.maxWidth = '352px';
|
|
7004
7359
|
this.opened = false;
|
|
7005
7360
|
}
|
|
7006
7361
|
handleOpenToggle() {
|
|
@@ -7039,19 +7394,19 @@ class PdsTooltip {
|
|
|
7039
7394
|
this.opened = false;
|
|
7040
7395
|
}
|
|
7041
7396
|
render() {
|
|
7042
|
-
return (hAsync(Host, { key: '
|
|
7397
|
+
return (hAsync(Host, { key: 'f4a8cd19668e7cc20a70ae13a0f6dcf0f809df65', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, hAsync("div", { key: 'b83498c6ea8e404b2abc25cc75daa95807649dba', class: `
|
|
7043
7398
|
pds-tooltip
|
|
7044
7399
|
pds-tooltip--${this.placement}
|
|
7045
7400
|
${this.htmlContent ? 'pds-tooltip--has-html-content' : ''}
|
|
7046
7401
|
${this.opened ? 'pds-tooltip--is-open' : ''}
|
|
7047
7402
|
${this.hasArrow ? '' : 'pds-tooltip--no-arrow'}
|
|
7048
|
-
` }, hAsync("span", { key: '
|
|
7403
|
+
` }, hAsync("span", { key: '47ace7d3f543f0d86987389c76b25da0ad6be9b7', "aria-describedby": this.componentId, class: "pds-tooltip__trigger" }, hAsync("slot", { key: '45bae92d87b8a67c00608c18f76aa9333d8d82a7' })), hAsync("div", { key: 'a745ce513f1563cb8ea5a86bf27ee31f3e0d4392', class: "pds-tooltip__content", "aria-hidden": this.opened ? 'false' : 'true', "aria-live": this.opened ? 'polite' : 'off', id: this.componentId, ref: (el) => (this.contentEl = el), role: "tooltip", style: { maxWidth: this.maxWidth } }, hAsync("slot", { key: '8c46fe5951624e2de4128bd0f819e1e55155a7b5', name: "content" }), this.content))));
|
|
7049
7404
|
}
|
|
7050
7405
|
get el() { return getElement(this); }
|
|
7051
7406
|
static get watchers() { return {
|
|
7052
7407
|
"opened": ["handleOpenToggle"]
|
|
7053
7408
|
}; }
|
|
7054
|
-
static get style() { return PdsTooltipStyle0; }
|
|
7409
|
+
static get style() { return PdsTooltipStyle0 + PdsTooltipStyle1; }
|
|
7055
7410
|
static get cmpMeta() { return {
|
|
7056
7411
|
"$flags$": 9,
|
|
7057
7412
|
"$tagName$": "pds-tooltip",
|
|
@@ -7061,6 +7416,7 @@ class PdsTooltip {
|
|
|
7061
7416
|
"hasArrow": [4, "has-arrow"],
|
|
7062
7417
|
"htmlContent": [4, "html-content"],
|
|
7063
7418
|
"placement": [513],
|
|
7419
|
+
"maxWidth": [1, "max-width"],
|
|
7064
7420
|
"opened": [1540],
|
|
7065
7421
|
"isOpen": [32],
|
|
7066
7422
|
"showTooltip": [64],
|
|
@@ -7086,9 +7442,11 @@ registerComponents([
|
|
|
7086
7442
|
PdsInput,
|
|
7087
7443
|
PdsLink,
|
|
7088
7444
|
PdsLoader,
|
|
7445
|
+
PdsPopover,
|
|
7089
7446
|
PdsProgress,
|
|
7090
7447
|
PdsRadio,
|
|
7091
7448
|
PdsRow,
|
|
7449
|
+
PdsSelect,
|
|
7092
7450
|
PdsSortable,
|
|
7093
7451
|
PdsSortableItem,
|
|
7094
7452
|
PdsSwitch,
|
|
@@ -7101,6 +7459,7 @@ registerComponents([
|
|
|
7101
7459
|
PdsTableRow,
|
|
7102
7460
|
PdsTabpanel,
|
|
7103
7461
|
PdsTabs,
|
|
7462
|
+
PdsText,
|
|
7104
7463
|
PdsTextarea,
|
|
7105
7464
|
PdsTooltip,
|
|
7106
7465
|
]);
|
|
@@ -7115,8 +7474,105 @@ exports.hydrateApp = hydrateApp;
|
|
|
7115
7474
|
hydrateAppClosure($stencilWindow);
|
|
7116
7475
|
}
|
|
7117
7476
|
|
|
7477
|
+
// src/app-data/index.ts
|
|
7478
|
+
var BUILD = {
|
|
7479
|
+
allRenderFn: false,
|
|
7480
|
+
cmpDidLoad: true,
|
|
7481
|
+
cmpDidUnload: false,
|
|
7482
|
+
cmpDidUpdate: true,
|
|
7483
|
+
cmpDidRender: true,
|
|
7484
|
+
cmpWillLoad: true,
|
|
7485
|
+
cmpWillUpdate: true,
|
|
7486
|
+
cmpWillRender: true,
|
|
7487
|
+
connectedCallback: true,
|
|
7488
|
+
disconnectedCallback: true,
|
|
7489
|
+
element: true,
|
|
7490
|
+
event: true,
|
|
7491
|
+
hasRenderFn: true,
|
|
7492
|
+
lifecycle: true,
|
|
7493
|
+
hostListener: true,
|
|
7494
|
+
hostListenerTargetWindow: true,
|
|
7495
|
+
hostListenerTargetDocument: true,
|
|
7496
|
+
hostListenerTargetBody: true,
|
|
7497
|
+
hostListenerTargetParent: false,
|
|
7498
|
+
hostListenerTarget: true,
|
|
7499
|
+
member: true,
|
|
7500
|
+
method: true,
|
|
7501
|
+
mode: true,
|
|
7502
|
+
observeAttribute: true,
|
|
7503
|
+
prop: true,
|
|
7504
|
+
propMutable: true,
|
|
7505
|
+
reflect: true,
|
|
7506
|
+
scoped: true,
|
|
7507
|
+
shadowDom: true,
|
|
7508
|
+
slot: true,
|
|
7509
|
+
cssAnnotations: true,
|
|
7510
|
+
state: true,
|
|
7511
|
+
style: true,
|
|
7512
|
+
formAssociated: false,
|
|
7513
|
+
svg: true,
|
|
7514
|
+
updatable: true,
|
|
7515
|
+
vdomAttribute: true,
|
|
7516
|
+
vdomXlink: true,
|
|
7517
|
+
vdomClass: true,
|
|
7518
|
+
vdomFunctional: true,
|
|
7519
|
+
vdomKey: true,
|
|
7520
|
+
vdomListener: true,
|
|
7521
|
+
vdomRef: true,
|
|
7522
|
+
vdomPropOrAttr: true,
|
|
7523
|
+
vdomRender: true,
|
|
7524
|
+
vdomStyle: true,
|
|
7525
|
+
vdomText: true,
|
|
7526
|
+
watchCallback: true,
|
|
7527
|
+
taskQueue: true,
|
|
7528
|
+
hotModuleReplacement: false,
|
|
7529
|
+
isDebug: false,
|
|
7530
|
+
isDev: false,
|
|
7531
|
+
isTesting: false,
|
|
7532
|
+
hydrateServerSide: false,
|
|
7533
|
+
hydrateClientSide: false,
|
|
7534
|
+
lifecycleDOMEvents: false,
|
|
7535
|
+
lazyLoad: false,
|
|
7536
|
+
profile: false,
|
|
7537
|
+
slotRelocation: true,
|
|
7538
|
+
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
7539
|
+
appendChildSlotFix: false,
|
|
7540
|
+
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
7541
|
+
cloneNodeFix: false,
|
|
7542
|
+
hydratedAttribute: false,
|
|
7543
|
+
hydratedClass: true,
|
|
7544
|
+
// TODO(STENCIL-1305): remove this option
|
|
7545
|
+
scriptDataOpts: false,
|
|
7546
|
+
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
7547
|
+
scopedSlotTextContentFix: false,
|
|
7548
|
+
// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
7549
|
+
shadowDomShim: false,
|
|
7550
|
+
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
7551
|
+
slotChildNodesFix: false,
|
|
7552
|
+
invisiblePrehydration: true,
|
|
7553
|
+
propBoolean: true,
|
|
7554
|
+
propNumber: true,
|
|
7555
|
+
propString: true,
|
|
7556
|
+
constructableCSS: true,
|
|
7557
|
+
cmpShouldUpdate: true,
|
|
7558
|
+
devTools: false,
|
|
7559
|
+
shadowDelegatesFocus: true,
|
|
7560
|
+
initializeNextTick: false,
|
|
7561
|
+
asyncLoading: true,
|
|
7562
|
+
asyncQueue: false,
|
|
7563
|
+
transformTagName: false,
|
|
7564
|
+
attachStyles: true,
|
|
7565
|
+
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
7566
|
+
experimentalSlotFixes: false
|
|
7567
|
+
};
|
|
7568
|
+
var Env = {};
|
|
7569
|
+
var NAMESPACE = (
|
|
7570
|
+
/* default */
|
|
7571
|
+
"app"
|
|
7572
|
+
);
|
|
7573
|
+
|
|
7118
7574
|
/*
|
|
7119
|
-
Stencil Hydrate Runner v4.
|
|
7575
|
+
Stencil Hydrate Runner v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
7120
7576
|
*/
|
|
7121
7577
|
var __defProp = Object.defineProperty;
|
|
7122
7578
|
var __export = (target, all) => {
|
|
@@ -7129,6 +7585,8 @@ var CONTENT_REF_ID = "r";
|
|
|
7129
7585
|
var ORG_LOCATION_ID = "o";
|
|
7130
7586
|
var SLOT_NODE_ID = "s";
|
|
7131
7587
|
var TEXT_NODE_ID = "t";
|
|
7588
|
+
var HYDRATE_ID = "s-id";
|
|
7589
|
+
var STENCIL_DOC_DATA = "_stencilDocData";
|
|
7132
7590
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
7133
7591
|
|
|
7134
7592
|
// src/mock-doc/attribute.ts
|
|
@@ -7437,8 +7895,8 @@ function jsCaseToCssCase(str) {
|
|
|
7437
7895
|
|
|
7438
7896
|
// src/mock-doc/custom-element-registry.ts
|
|
7439
7897
|
var MockCustomElementRegistry = class {
|
|
7440
|
-
constructor(
|
|
7441
|
-
this.win =
|
|
7898
|
+
constructor(win2) {
|
|
7899
|
+
this.win = win2;
|
|
7442
7900
|
}
|
|
7443
7901
|
define(tagName, cstr, options) {
|
|
7444
7902
|
if (tagName.toLowerCase() !== tagName) {
|
|
@@ -7460,19 +7918,19 @@ var MockCustomElementRegistry = class {
|
|
|
7460
7918
|
this.__whenDefined.delete(tagName);
|
|
7461
7919
|
}
|
|
7462
7920
|
}
|
|
7463
|
-
const
|
|
7464
|
-
if (
|
|
7465
|
-
const hosts =
|
|
7921
|
+
const doc2 = this.win.document;
|
|
7922
|
+
if (doc2 != null) {
|
|
7923
|
+
const hosts = doc2.querySelectorAll(tagName);
|
|
7466
7924
|
hosts.forEach((host) => {
|
|
7467
7925
|
if (upgradedElements.has(host) === false) {
|
|
7468
|
-
tempDisableCallbacks.add(
|
|
7469
|
-
const upgradedCmp = createCustomElement(this,
|
|
7926
|
+
tempDisableCallbacks.add(doc2);
|
|
7927
|
+
const upgradedCmp = createCustomElement(this, doc2, tagName);
|
|
7470
7928
|
for (let i = 0; i < host.childNodes.length; i++) {
|
|
7471
7929
|
const childNode = host.childNodes[i];
|
|
7472
7930
|
childNode.remove();
|
|
7473
7931
|
upgradedCmp.appendChild(childNode);
|
|
7474
7932
|
}
|
|
7475
|
-
tempDisableCallbacks.delete(
|
|
7933
|
+
tempDisableCallbacks.delete(doc2);
|
|
7476
7934
|
if (proxyElements.has(host)) {
|
|
7477
7935
|
proxyElements.set(host, upgradedCmp);
|
|
7478
7936
|
}
|
|
@@ -7526,8 +7984,8 @@ var MockCustomElementRegistry = class {
|
|
|
7526
7984
|
});
|
|
7527
7985
|
}
|
|
7528
7986
|
};
|
|
7529
|
-
function createCustomElement(
|
|
7530
|
-
const Cstr =
|
|
7987
|
+
function createCustomElement(customElements2, ownerDocument, tagName) {
|
|
7988
|
+
const Cstr = customElements2.get(tagName);
|
|
7531
7989
|
if (Cstr != null) {
|
|
7532
7990
|
const cmp = new Cstr(ownerDocument);
|
|
7533
7991
|
cmp.nodeName = tagName.toUpperCase();
|
|
@@ -7575,8 +8033,8 @@ function connectNode(ownerDocument, node) {
|
|
|
7575
8033
|
node.ownerDocument = ownerDocument;
|
|
7576
8034
|
if (node.nodeType === 1 /* ELEMENT_NODE */) {
|
|
7577
8035
|
if (ownerDocument != null && node.nodeName.includes("-")) {
|
|
7578
|
-
const
|
|
7579
|
-
if (
|
|
8036
|
+
const win2 = ownerDocument.defaultView;
|
|
8037
|
+
if (win2 != null && typeof node.connectedCallback === "function" && node.isConnected) {
|
|
7580
8038
|
fireConnectedCallback(node);
|
|
7581
8039
|
}
|
|
7582
8040
|
const shadowRoot = node.shadowRoot;
|
|
@@ -11984,7 +12442,7 @@ var OpenElementStack = class {
|
|
|
11984
12442
|
get currentTmplContentOrNode() {
|
|
11985
12443
|
return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
|
|
11986
12444
|
}
|
|
11987
|
-
constructor(
|
|
12445
|
+
constructor(document2, treeAdapter, handler) {
|
|
11988
12446
|
this.treeAdapter = treeAdapter;
|
|
11989
12447
|
this.handler = handler;
|
|
11990
12448
|
this.items = [];
|
|
@@ -11992,7 +12450,7 @@ var OpenElementStack = class {
|
|
|
11992
12450
|
this.stackTop = -1;
|
|
11993
12451
|
this.tmplCount = 0;
|
|
11994
12452
|
this.currentTagId = TAG_ID.UNKNOWN;
|
|
11995
|
-
this.current =
|
|
12453
|
+
this.current = document2;
|
|
11996
12454
|
}
|
|
11997
12455
|
//Index of element
|
|
11998
12456
|
_indexOf(element) {
|
|
@@ -12409,8 +12867,8 @@ var defaultTreeAdapter = {
|
|
|
12409
12867
|
getTemplateContent(templateElement) {
|
|
12410
12868
|
return templateElement.content;
|
|
12411
12869
|
},
|
|
12412
|
-
setDocumentType(
|
|
12413
|
-
const doctypeNode =
|
|
12870
|
+
setDocumentType(document2, name, publicId, systemId) {
|
|
12871
|
+
const doctypeNode = document2.childNodes.find((node) => node.nodeName === "#documentType");
|
|
12414
12872
|
if (doctypeNode) {
|
|
12415
12873
|
doctypeNode.name = name;
|
|
12416
12874
|
doctypeNode.publicId = publicId;
|
|
@@ -12423,14 +12881,14 @@ var defaultTreeAdapter = {
|
|
|
12423
12881
|
systemId,
|
|
12424
12882
|
parentNode: null
|
|
12425
12883
|
};
|
|
12426
|
-
defaultTreeAdapter.appendChild(
|
|
12884
|
+
defaultTreeAdapter.appendChild(document2, node);
|
|
12427
12885
|
}
|
|
12428
12886
|
},
|
|
12429
|
-
setDocumentMode(
|
|
12430
|
-
|
|
12887
|
+
setDocumentMode(document2, mode) {
|
|
12888
|
+
document2.mode = mode;
|
|
12431
12889
|
},
|
|
12432
|
-
getDocumentMode(
|
|
12433
|
-
return
|
|
12890
|
+
getDocumentMode(document2) {
|
|
12891
|
+
return document2.mode;
|
|
12434
12892
|
},
|
|
12435
12893
|
detachNode(node) {
|
|
12436
12894
|
if (node.parentNode) {
|
|
@@ -12911,7 +13369,7 @@ var defaultParserOptions = {
|
|
|
12911
13369
|
onParseError: null
|
|
12912
13370
|
};
|
|
12913
13371
|
var Parser = class {
|
|
12914
|
-
constructor(options,
|
|
13372
|
+
constructor(options, document2, fragmentContext = null, scriptHandler = null) {
|
|
12915
13373
|
this.fragmentContext = fragmentContext;
|
|
12916
13374
|
this.scriptHandler = scriptHandler;
|
|
12917
13375
|
this.currentToken = null;
|
|
@@ -12936,7 +13394,7 @@ var Parser = class {
|
|
|
12936
13394
|
if (this.onParseError) {
|
|
12937
13395
|
this.options.sourceCodeLocationInfo = true;
|
|
12938
13396
|
}
|
|
12939
|
-
this.document =
|
|
13397
|
+
this.document = document2 !== null && document2 !== void 0 ? document2 : this.treeAdapter.createDocument();
|
|
12940
13398
|
this.tokenizer = new Tokenizer(this.options, this);
|
|
12941
13399
|
this.activeFormattingElements = new FormattingElementList(this.treeAdapter);
|
|
12942
13400
|
this.fragmentContextID = fragmentContext ? getTagID(this.treeAdapter.getTagName(fragmentContext)) : TAG_ID.UNKNOWN;
|
|
@@ -15913,11 +16371,11 @@ function parseFragment(fragmentContext, html, options) {
|
|
|
15913
16371
|
// src/mock-doc/parse-util.ts
|
|
15914
16372
|
var docParser = /* @__PURE__ */ new WeakMap();
|
|
15915
16373
|
function parseDocumentUtil(ownerDocument, html) {
|
|
15916
|
-
const
|
|
15917
|
-
|
|
15918
|
-
|
|
15919
|
-
|
|
15920
|
-
return
|
|
16374
|
+
const doc2 = parse(html.trim(), getParser(ownerDocument));
|
|
16375
|
+
doc2.documentElement = doc2.firstElementChild;
|
|
16376
|
+
doc2.head = doc2.documentElement.firstElementChild;
|
|
16377
|
+
doc2.body = doc2.head.nextElementSibling;
|
|
16378
|
+
return doc2;
|
|
15921
16379
|
}
|
|
15922
16380
|
function parseFragmentUtil(ownerDocument, html) {
|
|
15923
16381
|
if (typeof html === "string") {
|
|
@@ -15935,9 +16393,9 @@ function getParser(ownerDocument) {
|
|
|
15935
16393
|
}
|
|
15936
16394
|
const treeAdapter = {
|
|
15937
16395
|
createDocument() {
|
|
15938
|
-
const
|
|
15939
|
-
|
|
15940
|
-
return
|
|
16396
|
+
const doc2 = ownerDocument.createElement("#document" /* DOCUMENT_NODE */);
|
|
16397
|
+
doc2["x-mode"] = "no-quirks";
|
|
16398
|
+
return doc2;
|
|
15941
16399
|
},
|
|
15942
16400
|
setNodeSourceCodeLocation(node, location2) {
|
|
15943
16401
|
node.sourceCodeLocation = location2;
|
|
@@ -15975,22 +16433,22 @@ function getParser(ownerDocument) {
|
|
|
15975
16433
|
getTemplateContent(templateElement) {
|
|
15976
16434
|
return templateElement.content;
|
|
15977
16435
|
},
|
|
15978
|
-
setDocumentType(
|
|
15979
|
-
let doctypeNode =
|
|
16436
|
+
setDocumentType(doc2, name, publicId, systemId) {
|
|
16437
|
+
let doctypeNode = doc2.childNodes.find((n) => n.nodeType === 10 /* DOCUMENT_TYPE_NODE */);
|
|
15980
16438
|
if (doctypeNode == null) {
|
|
15981
16439
|
doctypeNode = ownerDocument.createDocumentTypeNode();
|
|
15982
|
-
|
|
16440
|
+
doc2.insertBefore(doctypeNode, doc2.firstChild);
|
|
15983
16441
|
}
|
|
15984
16442
|
doctypeNode.nodeValue = "!DOCTYPE";
|
|
15985
16443
|
doctypeNode["x-name"] = name;
|
|
15986
16444
|
doctypeNode["x-publicId"] = publicId;
|
|
15987
16445
|
doctypeNode["x-systemId"] = systemId;
|
|
15988
16446
|
},
|
|
15989
|
-
setDocumentMode(
|
|
15990
|
-
|
|
16447
|
+
setDocumentMode(doc2, mode) {
|
|
16448
|
+
doc2["x-mode"] = mode;
|
|
15991
16449
|
},
|
|
15992
|
-
getDocumentMode(
|
|
15993
|
-
return
|
|
16450
|
+
getDocumentMode(doc2) {
|
|
16451
|
+
return doc2["x-mode"];
|
|
15994
16452
|
},
|
|
15995
16453
|
detachNode(node) {
|
|
15996
16454
|
node.remove();
|
|
@@ -16122,9 +16580,9 @@ var jquery_default = (
|
|
|
16122
16580
|
nodeName: "HTML"
|
|
16123
16581
|
}
|
|
16124
16582
|
}
|
|
16125
|
-
}, function(
|
|
16583
|
+
}, function(window2, noGlobal) {
|
|
16126
16584
|
"use strict";
|
|
16127
|
-
if (!
|
|
16585
|
+
if (!window2.document) {
|
|
16128
16586
|
throw new Error("jQuery requires a window with a document");
|
|
16129
16587
|
}
|
|
16130
16588
|
var arr = [];
|
|
@@ -16159,16 +16617,16 @@ var jquery_default = (
|
|
|
16159
16617
|
}
|
|
16160
16618
|
return type === "array" || length === 0 || typeof length === "number" && length > 0 && length - 1 in obj;
|
|
16161
16619
|
}
|
|
16162
|
-
var
|
|
16620
|
+
var document2 = window2.document;
|
|
16163
16621
|
var preservedScriptAttributes = {
|
|
16164
16622
|
type: true,
|
|
16165
16623
|
src: true,
|
|
16166
16624
|
nonce: true,
|
|
16167
16625
|
noModule: true
|
|
16168
16626
|
};
|
|
16169
|
-
function DOMEval(code, node,
|
|
16170
|
-
|
|
16171
|
-
var i2, script =
|
|
16627
|
+
function DOMEval(code, node, doc2) {
|
|
16628
|
+
doc2 = doc2 || document2;
|
|
16629
|
+
var i2, script = doc2.createElement("script");
|
|
16172
16630
|
script.text = code;
|
|
16173
16631
|
if (node) {
|
|
16174
16632
|
for (i2 in preservedScriptAttributes) {
|
|
@@ -16177,7 +16635,7 @@ var jquery_default = (
|
|
|
16177
16635
|
}
|
|
16178
16636
|
}
|
|
16179
16637
|
}
|
|
16180
|
-
|
|
16638
|
+
doc2.head.appendChild(script).parentNode.removeChild(script);
|
|
16181
16639
|
}
|
|
16182
16640
|
const jQuery = {};
|
|
16183
16641
|
var version = "4.0.0-pre+9352011a7.dirty +selector", rhtmlSuffix = /HTML$/i, jQueryOrig = function(selector, context) {
|
|
@@ -16314,8 +16772,8 @@ var jquery_default = (
|
|
|
16314
16772
|
},
|
|
16315
16773
|
// Evaluates a script in a provided context; falls back to the global one
|
|
16316
16774
|
// if not specified.
|
|
16317
|
-
globalEval: function(code, options,
|
|
16318
|
-
DOMEval(code, { nonce: options && options.nonce },
|
|
16775
|
+
globalEval: function(code, options, doc2) {
|
|
16776
|
+
DOMEval(code, { nonce: options && options.nonce }, doc2);
|
|
16319
16777
|
},
|
|
16320
16778
|
each: function(obj, callback) {
|
|
16321
16779
|
var length, i2 = 0;
|
|
@@ -16442,9 +16900,9 @@ var jquery_default = (
|
|
|
16442
16900
|
}
|
|
16443
16901
|
var pop = arr.pop;
|
|
16444
16902
|
var whitespace = "[\\x20\\t\\r\\n\\f]";
|
|
16445
|
-
var isIE =
|
|
16903
|
+
var isIE = document2.documentMode;
|
|
16446
16904
|
try {
|
|
16447
|
-
|
|
16905
|
+
document2.querySelector(":has(*,:jqfake)");
|
|
16448
16906
|
support.cssHas = false;
|
|
16449
16907
|
} catch (e) {
|
|
16450
16908
|
support.cssHas = true;
|
|
@@ -16476,7 +16934,7 @@ var jquery_default = (
|
|
|
16476
16934
|
var rleadingCombinator = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*");
|
|
16477
16935
|
var rdescend = new RegExp(whitespace + "|>");
|
|
16478
16936
|
var rsibling = /[+~]/;
|
|
16479
|
-
var documentElement =
|
|
16937
|
+
var documentElement = document2.documentElement;
|
|
16480
16938
|
var matches2 = documentElement.matches || documentElement.msMatchesSelector;
|
|
16481
16939
|
function createCache() {
|
|
16482
16940
|
var keys = [];
|
|
@@ -16645,10 +17103,10 @@ var jquery_default = (
|
|
|
16645
17103
|
1
|
|
16646
17104
|
);
|
|
16647
17105
|
if (compare & 1) {
|
|
16648
|
-
if (a ==
|
|
17106
|
+
if (a == document2 || a.ownerDocument == document2 && jQuery.contains(document2, a)) {
|
|
16649
17107
|
return -1;
|
|
16650
17108
|
}
|
|
16651
|
-
if (b ==
|
|
17109
|
+
if (b == document2 || b.ownerDocument == document2 && jQuery.contains(document2, b)) {
|
|
16652
17110
|
return 1;
|
|
16653
17111
|
}
|
|
16654
17112
|
return 0;
|
|
@@ -16804,14 +17262,14 @@ var jquery_default = (
|
|
|
16804
17262
|
});
|
|
16805
17263
|
}
|
|
16806
17264
|
function setDocument(node) {
|
|
16807
|
-
var subWindow,
|
|
16808
|
-
if (
|
|
17265
|
+
var subWindow, doc2 = node ? node.ownerDocument || node : document2;
|
|
17266
|
+
if (doc2 == document$1 || doc2.nodeType !== 9) {
|
|
16809
17267
|
return;
|
|
16810
17268
|
}
|
|
16811
|
-
document$1 =
|
|
17269
|
+
document$1 = doc2;
|
|
16812
17270
|
documentElement$1 = document$1.documentElement;
|
|
16813
17271
|
documentIsHTML = !jQuery.isXMLDoc(document$1);
|
|
16814
|
-
if (isIE &&
|
|
17272
|
+
if (isIE && document2 != document$1 && (subWindow = document$1.defaultView) && subWindow.top !== subWindow) {
|
|
16815
17273
|
subWindow.addEventListener("unload", unloadHandler);
|
|
16816
17274
|
}
|
|
16817
17275
|
}
|
|
@@ -17042,7 +17500,7 @@ var jquery_default = (
|
|
|
17042
17500
|
}),
|
|
17043
17501
|
// Miscellaneous
|
|
17044
17502
|
target: function(elem) {
|
|
17045
|
-
var hash =
|
|
17503
|
+
var hash = window2.location && window2.location.hash;
|
|
17046
17504
|
return hash && hash.slice(1) === elem.id;
|
|
17047
17505
|
},
|
|
17048
17506
|
root: function(elem) {
|
|
@@ -17682,6 +18140,13 @@ style="${cssText}">`;
|
|
|
17682
18140
|
output.indent = output.indent + ((_h = opts.indentSpaces) != null ? _h : 0);
|
|
17683
18141
|
}
|
|
17684
18142
|
for (let i = 0; i < childNodeLength; i++) {
|
|
18143
|
+
const sId = node.attributes.getNamedItem(HYDRATE_ID);
|
|
18144
|
+
const isStencilDeclarativeShadowDOM = childNodes[i].nodeName.toLowerCase() === "template" && sId;
|
|
18145
|
+
if (isStencilDeclarativeShadowDOM) {
|
|
18146
|
+
yield `
|
|
18147
|
+
${" ".repeat(output.indent)}<!--r.${sId.value}-->`;
|
|
18148
|
+
continue;
|
|
18149
|
+
}
|
|
17685
18150
|
yield* streamToHtml(childNodes[i], opts, output);
|
|
17686
18151
|
}
|
|
17687
18152
|
if (ignoreTag === false) {
|
|
@@ -19032,9 +19497,9 @@ function createElement(ownerDocument, tagName) {
|
|
|
19032
19497
|
return new MockUListElement(ownerDocument);
|
|
19033
19498
|
}
|
|
19034
19499
|
if (ownerDocument != null && tagName.includes("-")) {
|
|
19035
|
-
const
|
|
19036
|
-
if (
|
|
19037
|
-
return createCustomElement(
|
|
19500
|
+
const win2 = ownerDocument.defaultView;
|
|
19501
|
+
if (win2 != null && win2.customElements != null) {
|
|
19502
|
+
return createCustomElement(win2.customElements, ownerDocument, tagName);
|
|
19038
19503
|
}
|
|
19039
19504
|
}
|
|
19040
19505
|
return new MockHTMLElement(ownerDocument, tagName);
|
|
@@ -19456,9 +19921,9 @@ var CanvasRenderingContext = class {
|
|
|
19456
19921
|
}
|
|
19457
19922
|
clearRect() {
|
|
19458
19923
|
}
|
|
19459
|
-
getImageData(_, __, w,
|
|
19924
|
+
getImageData(_, __, w, h2) {
|
|
19460
19925
|
return {
|
|
19461
|
-
data: new Array(w *
|
|
19926
|
+
data: new Array(w * h2 * 4)
|
|
19462
19927
|
};
|
|
19463
19928
|
}
|
|
19464
19929
|
toDataURL() {
|
|
@@ -19520,9 +19985,9 @@ var MockCanvasElement = class extends MockHTMLElement {
|
|
|
19520
19985
|
function fullUrl(elm, attrName) {
|
|
19521
19986
|
const val = elm.getAttribute(attrName) || "";
|
|
19522
19987
|
if (elm.ownerDocument != null) {
|
|
19523
|
-
const
|
|
19524
|
-
if (
|
|
19525
|
-
const loc =
|
|
19988
|
+
const win2 = elm.ownerDocument.defaultView;
|
|
19989
|
+
if (win2 != null) {
|
|
19990
|
+
const loc = win2.location;
|
|
19526
19991
|
if (loc != null) {
|
|
19527
19992
|
try {
|
|
19528
19993
|
const url = new URL(val, loc.href);
|
|
@@ -20127,6 +20592,71 @@ function resetPerformance(perf) {
|
|
|
20127
20592
|
}
|
|
20128
20593
|
}
|
|
20129
20594
|
|
|
20595
|
+
// src/mock-doc/resize-observer.ts
|
|
20596
|
+
var MockResizeObserver = class {
|
|
20597
|
+
constructor() {
|
|
20598
|
+
}
|
|
20599
|
+
disconnect() {
|
|
20600
|
+
}
|
|
20601
|
+
observe() {
|
|
20602
|
+
}
|
|
20603
|
+
takeRecords() {
|
|
20604
|
+
return [];
|
|
20605
|
+
}
|
|
20606
|
+
unobserve() {
|
|
20607
|
+
}
|
|
20608
|
+
};
|
|
20609
|
+
|
|
20610
|
+
// src/mock-doc/shadow-root.ts
|
|
20611
|
+
var MockShadowRoot = class extends MockDocumentFragment {
|
|
20612
|
+
get activeElement() {
|
|
20613
|
+
return null;
|
|
20614
|
+
}
|
|
20615
|
+
set adoptedStyleSheets(_adoptedStyleSheets) {
|
|
20616
|
+
throw new Error("Unimplemented");
|
|
20617
|
+
}
|
|
20618
|
+
get adoptedStyleSheets() {
|
|
20619
|
+
return [];
|
|
20620
|
+
}
|
|
20621
|
+
get cloneable() {
|
|
20622
|
+
return false;
|
|
20623
|
+
}
|
|
20624
|
+
get delegatesFocus() {
|
|
20625
|
+
return false;
|
|
20626
|
+
}
|
|
20627
|
+
get fullscreenElement() {
|
|
20628
|
+
return null;
|
|
20629
|
+
}
|
|
20630
|
+
get host() {
|
|
20631
|
+
let parent = this.parentElement();
|
|
20632
|
+
while (parent) {
|
|
20633
|
+
if (parent.nodeType === 11) {
|
|
20634
|
+
return parent;
|
|
20635
|
+
}
|
|
20636
|
+
parent = parent.parentElement();
|
|
20637
|
+
}
|
|
20638
|
+
return null;
|
|
20639
|
+
}
|
|
20640
|
+
get mode() {
|
|
20641
|
+
return "open";
|
|
20642
|
+
}
|
|
20643
|
+
get pictureInPictureElement() {
|
|
20644
|
+
return null;
|
|
20645
|
+
}
|
|
20646
|
+
get pointerLockElement() {
|
|
20647
|
+
return null;
|
|
20648
|
+
}
|
|
20649
|
+
get serializable() {
|
|
20650
|
+
return false;
|
|
20651
|
+
}
|
|
20652
|
+
get slotAssignment() {
|
|
20653
|
+
return "named";
|
|
20654
|
+
}
|
|
20655
|
+
get styleSheets() {
|
|
20656
|
+
return [];
|
|
20657
|
+
}
|
|
20658
|
+
};
|
|
20659
|
+
|
|
20130
20660
|
// src/mock-doc/storage.ts
|
|
20131
20661
|
var MockStorage = class {
|
|
20132
20662
|
constructor() {
|
|
@@ -20156,11 +20686,11 @@ var MockStorage = class {
|
|
|
20156
20686
|
};
|
|
20157
20687
|
|
|
20158
20688
|
// src/mock-doc/window.ts
|
|
20159
|
-
var nativeClearInterval = clearInterval;
|
|
20160
|
-
var nativeClearTimeout = clearTimeout;
|
|
20161
|
-
var nativeSetInterval = setInterval;
|
|
20162
|
-
var nativeSetTimeout = setTimeout;
|
|
20163
|
-
var nativeURL = URL;
|
|
20689
|
+
var nativeClearInterval = globalThis.clearInterval;
|
|
20690
|
+
var nativeClearTimeout = globalThis.clearTimeout;
|
|
20691
|
+
var nativeSetInterval = globalThis.setInterval;
|
|
20692
|
+
var nativeSetTimeout = globalThis.setTimeout;
|
|
20693
|
+
var nativeURL = globalThis.URL;
|
|
20164
20694
|
var nativeWindow = globalThis.window;
|
|
20165
20695
|
var MockWindow = class {
|
|
20166
20696
|
constructor(html = null) {
|
|
@@ -20227,10 +20757,10 @@ var MockWindow = class {
|
|
|
20227
20757
|
}
|
|
20228
20758
|
get Document() {
|
|
20229
20759
|
if (this.__docCstr == null) {
|
|
20230
|
-
const
|
|
20760
|
+
const win2 = this;
|
|
20231
20761
|
this.__docCstr = class extends MockDocument {
|
|
20232
20762
|
constructor() {
|
|
20233
|
-
super(false,
|
|
20763
|
+
super(false, win2);
|
|
20234
20764
|
throw new Error("Illegal constructor: cannot construct Document");
|
|
20235
20765
|
}
|
|
20236
20766
|
};
|
|
@@ -20255,6 +20785,9 @@ var MockWindow = class {
|
|
|
20255
20785
|
set DocumentFragment(docFragCstr) {
|
|
20256
20786
|
this.__docFragCstr = docFragCstr;
|
|
20257
20787
|
}
|
|
20788
|
+
get ShadowRoot() {
|
|
20789
|
+
return MockShadowRoot;
|
|
20790
|
+
}
|
|
20258
20791
|
get DocumentType() {
|
|
20259
20792
|
if (this.__docTypeCstr == null) {
|
|
20260
20793
|
const ownerDocument = this.document;
|
|
@@ -20366,6 +20899,9 @@ var MockWindow = class {
|
|
|
20366
20899
|
get IntersectionObserver() {
|
|
20367
20900
|
return MockIntersectionObserver;
|
|
20368
20901
|
}
|
|
20902
|
+
get ResizeObserver() {
|
|
20903
|
+
return MockResizeObserver;
|
|
20904
|
+
}
|
|
20369
20905
|
get localStorage() {
|
|
20370
20906
|
if (this.__localStorage == null) {
|
|
20371
20907
|
this.__localStorage = new MockStorage();
|
|
@@ -20747,14 +21283,14 @@ var MockWindow = class {
|
|
|
20747
21283
|
}
|
|
20748
21284
|
};
|
|
20749
21285
|
addGlobalsToWindowPrototype(MockWindow.prototype);
|
|
20750
|
-
function resetWindowDefaults(
|
|
20751
|
-
|
|
20752
|
-
|
|
20753
|
-
|
|
20754
|
-
|
|
20755
|
-
|
|
20756
|
-
|
|
20757
|
-
|
|
21286
|
+
function resetWindowDefaults(win2) {
|
|
21287
|
+
win2.__clearInterval = nativeClearInterval;
|
|
21288
|
+
win2.__clearTimeout = nativeClearTimeout;
|
|
21289
|
+
win2.__setInterval = nativeSetInterval;
|
|
21290
|
+
win2.__setTimeout = nativeSetTimeout;
|
|
21291
|
+
win2.__maxTimeout = 3e4;
|
|
21292
|
+
win2.__allowInterval = true;
|
|
21293
|
+
win2.URL = nativeURL;
|
|
20758
21294
|
}
|
|
20759
21295
|
function cloneWindow(srcWin, opts = {}) {
|
|
20760
21296
|
if (srcWin == null) {
|
|
@@ -20773,72 +21309,72 @@ function cloneWindow(srcWin, opts = {}) {
|
|
|
20773
21309
|
}
|
|
20774
21310
|
return clonedWin;
|
|
20775
21311
|
}
|
|
20776
|
-
function constrainTimeouts(
|
|
20777
|
-
|
|
20778
|
-
|
|
21312
|
+
function constrainTimeouts(win2) {
|
|
21313
|
+
win2.__allowInterval = false;
|
|
21314
|
+
win2.__maxTimeout = 0;
|
|
20779
21315
|
}
|
|
20780
|
-
function resetWindow(
|
|
20781
|
-
if (
|
|
20782
|
-
if (
|
|
20783
|
-
|
|
21316
|
+
function resetWindow(win2) {
|
|
21317
|
+
if (win2 != null) {
|
|
21318
|
+
if (win2.__timeouts) {
|
|
21319
|
+
win2.__timeouts.forEach((timeoutId) => {
|
|
20784
21320
|
nativeClearInterval(timeoutId);
|
|
20785
21321
|
nativeClearTimeout(timeoutId);
|
|
20786
21322
|
});
|
|
20787
|
-
|
|
21323
|
+
win2.__timeouts.clear();
|
|
20788
21324
|
}
|
|
20789
|
-
if (
|
|
20790
|
-
|
|
21325
|
+
if (win2.customElements && win2.customElements.clear) {
|
|
21326
|
+
win2.customElements.clear();
|
|
20791
21327
|
}
|
|
20792
|
-
resetDocument(
|
|
20793
|
-
resetPerformance(
|
|
20794
|
-
for (const key in
|
|
20795
|
-
if (
|
|
20796
|
-
delete
|
|
21328
|
+
resetDocument(win2.document);
|
|
21329
|
+
resetPerformance(win2.performance);
|
|
21330
|
+
for (const key in win2) {
|
|
21331
|
+
if (win2.hasOwnProperty(key) && key !== "document" && key !== "performance" && key !== "customElements") {
|
|
21332
|
+
delete win2[key];
|
|
20797
21333
|
}
|
|
20798
21334
|
}
|
|
20799
|
-
resetWindowDefaults(
|
|
20800
|
-
resetWindowDimensions(
|
|
20801
|
-
resetEventListeners(
|
|
20802
|
-
if (
|
|
21335
|
+
resetWindowDefaults(win2);
|
|
21336
|
+
resetWindowDimensions(win2);
|
|
21337
|
+
resetEventListeners(win2);
|
|
21338
|
+
if (win2.document != null) {
|
|
20803
21339
|
try {
|
|
20804
|
-
|
|
21340
|
+
win2.document.defaultView = win2;
|
|
20805
21341
|
} catch (e) {
|
|
20806
21342
|
}
|
|
20807
21343
|
}
|
|
20808
|
-
|
|
20809
|
-
|
|
20810
|
-
|
|
20811
|
-
|
|
20812
|
-
|
|
21344
|
+
win2.fetch = null;
|
|
21345
|
+
win2.Headers = null;
|
|
21346
|
+
win2.Request = null;
|
|
21347
|
+
win2.Response = null;
|
|
21348
|
+
win2.FetchError = null;
|
|
20813
21349
|
}
|
|
20814
21350
|
}
|
|
20815
|
-
function resetWindowDimensions(
|
|
21351
|
+
function resetWindowDimensions(win2) {
|
|
20816
21352
|
try {
|
|
20817
|
-
|
|
20818
|
-
|
|
20819
|
-
|
|
20820
|
-
|
|
20821
|
-
|
|
20822
|
-
|
|
20823
|
-
|
|
20824
|
-
|
|
20825
|
-
|
|
20826
|
-
|
|
20827
|
-
|
|
20828
|
-
|
|
20829
|
-
availHeight:
|
|
21353
|
+
win2.devicePixelRatio = 1;
|
|
21354
|
+
win2.innerHeight = 768;
|
|
21355
|
+
win2.innerWidth = 1366;
|
|
21356
|
+
win2.pageXOffset = 0;
|
|
21357
|
+
win2.pageYOffset = 0;
|
|
21358
|
+
win2.screenLeft = 0;
|
|
21359
|
+
win2.screenTop = 0;
|
|
21360
|
+
win2.screenX = 0;
|
|
21361
|
+
win2.screenY = 0;
|
|
21362
|
+
win2.scrollX = 0;
|
|
21363
|
+
win2.scrollY = 0;
|
|
21364
|
+
win2.screen = {
|
|
21365
|
+
availHeight: win2.innerHeight,
|
|
20830
21366
|
availLeft: 0,
|
|
20831
21367
|
availTop: 0,
|
|
20832
|
-
availWidth:
|
|
21368
|
+
availWidth: win2.innerWidth,
|
|
20833
21369
|
colorDepth: 24,
|
|
20834
|
-
height:
|
|
21370
|
+
height: win2.innerHeight,
|
|
20835
21371
|
keepAwake: false,
|
|
20836
21372
|
orientation: {
|
|
20837
21373
|
angle: 0,
|
|
20838
21374
|
type: "portrait-primary"
|
|
20839
21375
|
},
|
|
20840
21376
|
pixelDepth: 24,
|
|
20841
|
-
width:
|
|
21377
|
+
width: win2.innerWidth
|
|
20842
21378
|
};
|
|
20843
21379
|
} catch (e) {
|
|
20844
21380
|
}
|
|
@@ -20846,11 +21382,11 @@ function resetWindowDimensions(win) {
|
|
|
20846
21382
|
|
|
20847
21383
|
// src/mock-doc/document.ts
|
|
20848
21384
|
var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
20849
|
-
constructor(html = null,
|
|
21385
|
+
constructor(html = null, win2 = null) {
|
|
20850
21386
|
super(null, null);
|
|
20851
21387
|
this.nodeName = "#document" /* DOCUMENT_NODE */;
|
|
20852
21388
|
this.nodeType = 9 /* DOCUMENT_NODE */;
|
|
20853
|
-
this.defaultView =
|
|
21389
|
+
this.defaultView = win2;
|
|
20854
21390
|
this.cookie = "";
|
|
20855
21391
|
this.referrer = "";
|
|
20856
21392
|
this.appendChild(this.createDocumentTypeNode());
|
|
@@ -20997,10 +21533,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
20997
21533
|
}
|
|
20998
21534
|
createElement(tagName) {
|
|
20999
21535
|
if (tagName === "#document" /* DOCUMENT_NODE */) {
|
|
21000
|
-
const
|
|
21001
|
-
|
|
21002
|
-
|
|
21003
|
-
return
|
|
21536
|
+
const doc2 = new _MockDocument(false);
|
|
21537
|
+
doc2.nodeName = tagName;
|
|
21538
|
+
doc2.parentNode = null;
|
|
21539
|
+
return doc2;
|
|
21004
21540
|
}
|
|
21005
21541
|
return createElement(this, tagName);
|
|
21006
21542
|
}
|
|
@@ -21040,10 +21576,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
21040
21576
|
title.textContent = value;
|
|
21041
21577
|
}
|
|
21042
21578
|
};
|
|
21043
|
-
function resetDocument(
|
|
21044
|
-
if (
|
|
21045
|
-
resetEventListeners(
|
|
21046
|
-
const documentElement =
|
|
21579
|
+
function resetDocument(doc2) {
|
|
21580
|
+
if (doc2 != null) {
|
|
21581
|
+
resetEventListeners(doc2);
|
|
21582
|
+
const documentElement = doc2.documentElement;
|
|
21047
21583
|
if (documentElement != null) {
|
|
21048
21584
|
resetElement(documentElement);
|
|
21049
21585
|
for (let i = 0, ii = documentElement.childNodes.length; i < ii; i++) {
|
|
@@ -21052,25 +21588,25 @@ function resetDocument(doc) {
|
|
|
21052
21588
|
childNode.childNodes.length = 0;
|
|
21053
21589
|
}
|
|
21054
21590
|
}
|
|
21055
|
-
for (const key in
|
|
21056
|
-
if (
|
|
21057
|
-
delete
|
|
21591
|
+
for (const key in doc2) {
|
|
21592
|
+
if (doc2.hasOwnProperty(key) && !DOC_KEY_KEEPERS.has(key)) {
|
|
21593
|
+
delete doc2[key];
|
|
21058
21594
|
}
|
|
21059
21595
|
}
|
|
21060
21596
|
try {
|
|
21061
|
-
|
|
21597
|
+
doc2.nodeName = "#document" /* DOCUMENT_NODE */;
|
|
21062
21598
|
} catch (e) {
|
|
21063
21599
|
}
|
|
21064
21600
|
try {
|
|
21065
|
-
|
|
21601
|
+
doc2.nodeType = 9 /* DOCUMENT_NODE */;
|
|
21066
21602
|
} catch (e) {
|
|
21067
21603
|
}
|
|
21068
21604
|
try {
|
|
21069
|
-
|
|
21605
|
+
doc2.cookie = "";
|
|
21070
21606
|
} catch (e) {
|
|
21071
21607
|
}
|
|
21072
21608
|
try {
|
|
21073
|
-
|
|
21609
|
+
doc2.referrer = "";
|
|
21074
21610
|
} catch (e) {
|
|
21075
21611
|
}
|
|
21076
21612
|
}
|
|
@@ -21126,9 +21662,33 @@ function createWindowFromHtml(templateHtml, uniqueId) {
|
|
|
21126
21662
|
templateWindow = new MockWindow(templateHtml);
|
|
21127
21663
|
templateWindows.set(uniqueId, templateWindow);
|
|
21128
21664
|
}
|
|
21129
|
-
const
|
|
21130
|
-
return
|
|
21665
|
+
const win2 = cloneWindow(templateWindow);
|
|
21666
|
+
return win2;
|
|
21131
21667
|
}
|
|
21668
|
+
var Build = {
|
|
21669
|
+
isDev: BUILD.isDev ? true : false,
|
|
21670
|
+
isBrowser: true,
|
|
21671
|
+
isServer: false,
|
|
21672
|
+
isTesting: BUILD.isTesting ? true : false
|
|
21673
|
+
};
|
|
21674
|
+
var hostRefs = BUILD.hotModuleReplacement ? window.__STENCIL_HOSTREFS__ || (window.__STENCIL_HOSTREFS__ = /* @__PURE__ */ new WeakMap()) : /* @__PURE__ */ new WeakMap();
|
|
21675
|
+
var STENCIL_DEV_MODE = BUILD.isTesting ? ["STENCIL:"] : [
|
|
21676
|
+
"%cstencil",
|
|
21677
|
+
"color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
|
|
21678
|
+
];
|
|
21679
|
+
var win = typeof window !== "undefined" ? window : {};
|
|
21680
|
+
var doc = win.document || { head: {} };
|
|
21681
|
+
var H = win.HTMLElement || class {
|
|
21682
|
+
};
|
|
21683
|
+
var supportsShadow = BUILD.shadowDom;
|
|
21684
|
+
var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
|
|
21685
|
+
try {
|
|
21686
|
+
new CSSStyleSheet();
|
|
21687
|
+
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
21688
|
+
} catch (e) {
|
|
21689
|
+
}
|
|
21690
|
+
return false;
|
|
21691
|
+
})() : false;
|
|
21132
21692
|
|
|
21133
21693
|
// src/utils/helpers.ts
|
|
21134
21694
|
var isString = (v) => typeof v === "string";
|
|
@@ -21220,15 +21780,20 @@ var unwrapErr = (result) => {
|
|
|
21220
21780
|
}
|
|
21221
21781
|
};
|
|
21222
21782
|
|
|
21783
|
+
// src/runtime/mode.ts
|
|
21784
|
+
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
21785
|
+
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
21786
|
+
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
21787
|
+
|
|
21223
21788
|
// src/compiler/html/canonical-link.ts
|
|
21224
|
-
var updateCanonicalLink = (
|
|
21789
|
+
var updateCanonicalLink = (doc2, href) => {
|
|
21225
21790
|
var _a2;
|
|
21226
|
-
let canonicalLinkElm =
|
|
21791
|
+
let canonicalLinkElm = doc2.head.querySelector('link[rel="canonical"]');
|
|
21227
21792
|
if (typeof href === "string") {
|
|
21228
21793
|
if (canonicalLinkElm == null) {
|
|
21229
|
-
canonicalLinkElm =
|
|
21794
|
+
canonicalLinkElm = doc2.createElement("link");
|
|
21230
21795
|
canonicalLinkElm.setAttribute("rel", "canonical");
|
|
21231
|
-
|
|
21796
|
+
doc2.head.appendChild(canonicalLinkElm);
|
|
21232
21797
|
}
|
|
21233
21798
|
canonicalLinkElm.setAttribute("href", href);
|
|
21234
21799
|
} else {
|
|
@@ -21242,11 +21807,11 @@ var updateCanonicalLink = (doc, href) => {
|
|
|
21242
21807
|
};
|
|
21243
21808
|
|
|
21244
21809
|
// src/compiler/html/relocate-meta-charset.ts
|
|
21245
|
-
var relocateMetaCharset = (
|
|
21246
|
-
const head =
|
|
21810
|
+
var relocateMetaCharset = (doc2) => {
|
|
21811
|
+
const head = doc2.head;
|
|
21247
21812
|
let charsetElm = head.querySelector("meta[charset]");
|
|
21248
21813
|
if (charsetElm == null) {
|
|
21249
|
-
charsetElm =
|
|
21814
|
+
charsetElm = doc2.createElement("meta");
|
|
21250
21815
|
charsetElm.setAttribute("charset", "utf-8");
|
|
21251
21816
|
} else {
|
|
21252
21817
|
charsetElm.remove();
|
|
@@ -21521,13 +22086,13 @@ var parseCss = (css, filePath) => {
|
|
|
21521
22086
|
const m = match(/^@([-\w]+)?document *([^{]+)/);
|
|
21522
22087
|
if (!m) return null;
|
|
21523
22088
|
const vendor = trim(m[1]);
|
|
21524
|
-
const
|
|
22089
|
+
const doc2 = trim(m[2]);
|
|
21525
22090
|
if (!open()) return error(`@document missing '{'`);
|
|
21526
22091
|
const style = comments().concat(rules());
|
|
21527
22092
|
if (!close()) return error(`@document missing '}'`);
|
|
21528
22093
|
return pos({
|
|
21529
22094
|
type: 3 /* Document */,
|
|
21530
|
-
document:
|
|
22095
|
+
document: doc2,
|
|
21531
22096
|
vendor,
|
|
21532
22097
|
rules: style
|
|
21533
22098
|
});
|
|
@@ -21853,11 +22418,11 @@ var serializeCssPage = (opts, node) => {
|
|
|
21853
22418
|
};
|
|
21854
22419
|
var serializeCssDocument = (opts, node) => {
|
|
21855
22420
|
const documentCss = serializeCssMapVisit(opts, node.rules);
|
|
21856
|
-
const
|
|
22421
|
+
const doc2 = "@" + (node.vendor || "") + "document " + node.document;
|
|
21857
22422
|
if (documentCss === "") {
|
|
21858
22423
|
return "";
|
|
21859
22424
|
}
|
|
21860
|
-
return
|
|
22425
|
+
return doc2 + "{" + documentCss + "}";
|
|
21861
22426
|
};
|
|
21862
22427
|
var serializeCssMapVisit = (opts, nodes) => {
|
|
21863
22428
|
let rtn = "";
|
|
@@ -21955,12 +22520,12 @@ var collectUsedSelectors = (usedSelectors, elm) => {
|
|
|
21955
22520
|
};
|
|
21956
22521
|
|
|
21957
22522
|
// src/compiler/html/remove-unused-styles.ts
|
|
21958
|
-
var removeUnusedStyles = (
|
|
22523
|
+
var removeUnusedStyles = (doc2, diagnostics) => {
|
|
21959
22524
|
try {
|
|
21960
|
-
const styleElms =
|
|
22525
|
+
const styleElms = doc2.head.querySelectorAll(`style[data-styles]`);
|
|
21961
22526
|
const styleLen = styleElms.length;
|
|
21962
22527
|
if (styleLen > 0) {
|
|
21963
|
-
const usedSelectors = getUsedSelectors(
|
|
22528
|
+
const usedSelectors = getUsedSelectors(doc2.documentElement);
|
|
21964
22529
|
for (let i = 0; i < styleLen; i++) {
|
|
21965
22530
|
removeUnusedStyleText(usedSelectors, diagnostics, styleElms[i]);
|
|
21966
22531
|
}
|
|
@@ -22093,49 +22658,49 @@ function collectAttributes(node) {
|
|
|
22093
22658
|
var SKIP_ATTRS = /* @__PURE__ */ new Set(["s-id", "c-id"]);
|
|
22094
22659
|
|
|
22095
22660
|
// src/hydrate/runner/patch-dom-implementation.ts
|
|
22096
|
-
function patchDomImplementation(
|
|
22097
|
-
let
|
|
22098
|
-
if (
|
|
22661
|
+
function patchDomImplementation(doc2, opts) {
|
|
22662
|
+
let win2;
|
|
22663
|
+
if (doc2.defaultView != null) {
|
|
22099
22664
|
opts.destroyWindow = true;
|
|
22100
|
-
patchWindow(
|
|
22101
|
-
|
|
22665
|
+
patchWindow(doc2.defaultView);
|
|
22666
|
+
win2 = doc2.defaultView;
|
|
22102
22667
|
} else {
|
|
22103
22668
|
opts.destroyWindow = true;
|
|
22104
22669
|
opts.destroyDocument = false;
|
|
22105
|
-
|
|
22670
|
+
win2 = new MockWindow(false);
|
|
22106
22671
|
}
|
|
22107
|
-
if (
|
|
22108
|
-
|
|
22672
|
+
if (win2.document !== doc2) {
|
|
22673
|
+
win2.document = doc2;
|
|
22109
22674
|
}
|
|
22110
|
-
if (
|
|
22111
|
-
|
|
22675
|
+
if (doc2.defaultView !== win2) {
|
|
22676
|
+
doc2.defaultView = win2;
|
|
22112
22677
|
}
|
|
22113
|
-
const
|
|
22114
|
-
if (typeof
|
|
22115
|
-
const elm =
|
|
22678
|
+
const HTMLElement2 = doc2.documentElement.constructor.prototype;
|
|
22679
|
+
if (typeof HTMLElement2.getRootNode !== "function") {
|
|
22680
|
+
const elm = doc2.createElement("unknown-element");
|
|
22116
22681
|
const HTMLUnknownElement = elm.constructor.prototype;
|
|
22117
22682
|
HTMLUnknownElement.getRootNode = getRootNode;
|
|
22118
22683
|
}
|
|
22119
|
-
if (typeof
|
|
22120
|
-
const
|
|
22121
|
-
if (
|
|
22122
|
-
|
|
22684
|
+
if (typeof doc2.createEvent === "function") {
|
|
22685
|
+
const CustomEvent2 = doc2.createEvent("CustomEvent").constructor;
|
|
22686
|
+
if (win2.CustomEvent !== CustomEvent2) {
|
|
22687
|
+
win2.CustomEvent = CustomEvent2;
|
|
22123
22688
|
}
|
|
22124
22689
|
}
|
|
22125
22690
|
try {
|
|
22126
|
-
|
|
22691
|
+
win2.__stencil_baseURI = doc2.baseURI;
|
|
22127
22692
|
} catch (e) {
|
|
22128
|
-
Object.defineProperty(
|
|
22693
|
+
Object.defineProperty(doc2, "baseURI", {
|
|
22129
22694
|
get() {
|
|
22130
|
-
const baseElm =
|
|
22695
|
+
const baseElm = doc2.querySelector("base[href]");
|
|
22131
22696
|
if (baseElm) {
|
|
22132
|
-
return new URL(baseElm.getAttribute("href"),
|
|
22697
|
+
return new URL(baseElm.getAttribute("href"), win2.location.href).href;
|
|
22133
22698
|
}
|
|
22134
|
-
return
|
|
22699
|
+
return win2.location.href;
|
|
22135
22700
|
}
|
|
22136
22701
|
});
|
|
22137
22702
|
}
|
|
22138
|
-
return
|
|
22703
|
+
return win2;
|
|
22139
22704
|
}
|
|
22140
22705
|
function getRootNode(opts) {
|
|
22141
22706
|
const isComposed = opts != null && opts.composed === true;
|
|
@@ -22288,10 +22853,10 @@ function renderCatchError(results, err2) {
|
|
|
22288
22853
|
}
|
|
22289
22854
|
|
|
22290
22855
|
// src/hydrate/runner/runtime-log.ts
|
|
22291
|
-
function runtimeLogging(
|
|
22856
|
+
function runtimeLogging(win2, opts, results) {
|
|
22292
22857
|
try {
|
|
22293
|
-
const pathname =
|
|
22294
|
-
|
|
22858
|
+
const pathname = win2.location.pathname;
|
|
22859
|
+
win2.console.error = (...msgs) => {
|
|
22295
22860
|
const errMsg = msgs.reduce((errMsg2, m) => {
|
|
22296
22861
|
if (m) {
|
|
22297
22862
|
if (m.stack != null) {
|
|
@@ -22311,7 +22876,7 @@ function runtimeLogging(win, opts, results) {
|
|
|
22311
22876
|
}
|
|
22312
22877
|
}
|
|
22313
22878
|
};
|
|
22314
|
-
|
|
22879
|
+
win2.console.debug = (...msgs) => {
|
|
22315
22880
|
renderBuildDiagnostic(results, "debug", "Hydrate Debug", [...msgs].join(", "));
|
|
22316
22881
|
if (opts.runtimeLogging) {
|
|
22317
22882
|
runtimeLog(pathname, "debug", msgs);
|
|
@@ -22319,7 +22884,7 @@ function runtimeLogging(win, opts, results) {
|
|
|
22319
22884
|
};
|
|
22320
22885
|
if (opts.runtimeLogging) {
|
|
22321
22886
|
["log", "warn", "assert", "info", "trace"].forEach((type) => {
|
|
22322
|
-
|
|
22887
|
+
win2.console[type] = (...msgs) => {
|
|
22323
22888
|
runtimeLog(pathname, type, msgs);
|
|
22324
22889
|
};
|
|
22325
22890
|
});
|
|
@@ -22333,58 +22898,64 @@ function runtimeLog(pathname, type, msgs) {
|
|
|
22333
22898
|
}
|
|
22334
22899
|
|
|
22335
22900
|
// src/hydrate/runner/window-initialize.ts
|
|
22336
|
-
|
|
22901
|
+
var docData = {
|
|
22902
|
+
hostIds: 0,
|
|
22903
|
+
rootLevelIds: 0,
|
|
22904
|
+
staticComponents: /* @__PURE__ */ new Set()
|
|
22905
|
+
};
|
|
22906
|
+
function initializeWindow(win2, doc2, opts, results) {
|
|
22337
22907
|
if (typeof opts.url === "string") {
|
|
22338
22908
|
try {
|
|
22339
|
-
|
|
22909
|
+
win2.location.href = opts.url;
|
|
22340
22910
|
} catch (e) {
|
|
22341
22911
|
}
|
|
22342
22912
|
}
|
|
22343
22913
|
if (typeof opts.userAgent === "string") {
|
|
22344
22914
|
try {
|
|
22345
|
-
|
|
22915
|
+
win2.navigator.userAgent = opts.userAgent;
|
|
22346
22916
|
} catch (e) {
|
|
22347
22917
|
}
|
|
22348
22918
|
}
|
|
22349
22919
|
if (typeof opts.cookie === "string") {
|
|
22350
22920
|
try {
|
|
22351
|
-
|
|
22921
|
+
doc2.cookie = opts.cookie;
|
|
22352
22922
|
} catch (e) {
|
|
22353
22923
|
}
|
|
22354
22924
|
}
|
|
22355
22925
|
if (typeof opts.referrer === "string") {
|
|
22356
22926
|
try {
|
|
22357
|
-
|
|
22927
|
+
doc2.referrer = opts.referrer;
|
|
22358
22928
|
} catch (e) {
|
|
22359
22929
|
}
|
|
22360
22930
|
}
|
|
22361
22931
|
if (typeof opts.direction === "string") {
|
|
22362
22932
|
try {
|
|
22363
|
-
|
|
22933
|
+
doc2.documentElement.setAttribute("dir", opts.direction);
|
|
22364
22934
|
} catch (e) {
|
|
22365
22935
|
}
|
|
22366
22936
|
}
|
|
22367
22937
|
if (typeof opts.language === "string") {
|
|
22368
22938
|
try {
|
|
22369
|
-
|
|
22939
|
+
doc2.documentElement.setAttribute("lang", opts.language);
|
|
22370
22940
|
} catch (e) {
|
|
22371
22941
|
}
|
|
22372
22942
|
}
|
|
22373
22943
|
if (typeof opts.buildId === "string") {
|
|
22374
22944
|
try {
|
|
22375
|
-
|
|
22945
|
+
doc2.documentElement.setAttribute("data-stencil-build", opts.buildId);
|
|
22376
22946
|
} catch (e) {
|
|
22377
22947
|
}
|
|
22378
22948
|
}
|
|
22379
22949
|
try {
|
|
22380
|
-
|
|
22950
|
+
win2.customElements = null;
|
|
22381
22951
|
} catch (e) {
|
|
22382
22952
|
}
|
|
22383
22953
|
if (opts.constrainTimeouts) {
|
|
22384
|
-
constrainTimeouts(
|
|
22954
|
+
constrainTimeouts(win2);
|
|
22385
22955
|
}
|
|
22386
|
-
runtimeLogging(
|
|
22387
|
-
|
|
22956
|
+
runtimeLogging(win2, opts, results);
|
|
22957
|
+
doc2[STENCIL_DOC_DATA] = docData;
|
|
22958
|
+
return win2;
|
|
22388
22959
|
}
|
|
22389
22960
|
|
|
22390
22961
|
// src/hydrate/runner/render.ts
|
|
@@ -22401,44 +22972,44 @@ function renderToString(html, options, asStream) {
|
|
|
22401
22972
|
opts.constrainTimeouts = false;
|
|
22402
22973
|
return hydrateDocument(html, opts, asStream);
|
|
22403
22974
|
}
|
|
22404
|
-
function hydrateDocument(
|
|
22975
|
+
function hydrateDocument(doc2, options, asStream) {
|
|
22405
22976
|
const opts = normalizeHydrateOptions(options);
|
|
22406
|
-
let
|
|
22977
|
+
let win2 = null;
|
|
22407
22978
|
const results = generateHydrateResults(opts);
|
|
22408
22979
|
if (hasError(results.diagnostics)) {
|
|
22409
22980
|
return Promise.resolve(results);
|
|
22410
22981
|
}
|
|
22411
|
-
if (typeof
|
|
22982
|
+
if (typeof doc2 === "string") {
|
|
22412
22983
|
try {
|
|
22413
22984
|
opts.destroyWindow = true;
|
|
22414
22985
|
opts.destroyDocument = true;
|
|
22415
|
-
|
|
22986
|
+
win2 = new MockWindow(doc2);
|
|
22416
22987
|
if (!asStream) {
|
|
22417
|
-
return render(
|
|
22988
|
+
return render(win2, opts, results).then(() => results);
|
|
22418
22989
|
}
|
|
22419
|
-
return renderStream(
|
|
22990
|
+
return renderStream(win2, opts, results);
|
|
22420
22991
|
} catch (e) {
|
|
22421
|
-
if (
|
|
22422
|
-
|
|
22992
|
+
if (win2 && win2.close) {
|
|
22993
|
+
win2.close();
|
|
22423
22994
|
}
|
|
22424
|
-
|
|
22995
|
+
win2 = null;
|
|
22425
22996
|
renderCatchError(results, e);
|
|
22426
22997
|
return Promise.resolve(results);
|
|
22427
22998
|
}
|
|
22428
22999
|
}
|
|
22429
|
-
if (isValidDocument(
|
|
23000
|
+
if (isValidDocument(doc2)) {
|
|
22430
23001
|
try {
|
|
22431
23002
|
opts.destroyDocument = false;
|
|
22432
|
-
|
|
23003
|
+
win2 = patchDomImplementation(doc2, opts);
|
|
22433
23004
|
if (!asStream) {
|
|
22434
|
-
return render(
|
|
23005
|
+
return render(win2, opts, results).then(() => results);
|
|
22435
23006
|
}
|
|
22436
|
-
return renderStream(
|
|
23007
|
+
return renderStream(win2, opts, results);
|
|
22437
23008
|
} catch (e) {
|
|
22438
|
-
if (
|
|
22439
|
-
|
|
23009
|
+
if (win2 && win2.close) {
|
|
23010
|
+
win2.close();
|
|
22440
23011
|
}
|
|
22441
|
-
|
|
23012
|
+
win2 = null;
|
|
22442
23013
|
renderCatchError(results, e);
|
|
22443
23014
|
return Promise.resolve(results);
|
|
22444
23015
|
}
|
|
@@ -22446,75 +23017,81 @@ function hydrateDocument(doc, options, asStream) {
|
|
|
22446
23017
|
renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
|
|
22447
23018
|
return Promise.resolve(results);
|
|
22448
23019
|
}
|
|
22449
|
-
async function render(
|
|
23020
|
+
async function render(win2, opts, results) {
|
|
22450
23021
|
if ("process" in globalThis && typeof process.on === "function" && !process.__stencilErrors) {
|
|
22451
23022
|
process.__stencilErrors = true;
|
|
22452
23023
|
process.on("unhandledRejection", (e) => {
|
|
22453
23024
|
console.log("unhandledRejection", e);
|
|
22454
23025
|
});
|
|
22455
23026
|
}
|
|
22456
|
-
initializeWindow(
|
|
23027
|
+
initializeWindow(win2, win2.document, opts, results);
|
|
22457
23028
|
const beforeHydrateFn = typeof opts.beforeHydrate === "function" ? opts.beforeHydrate : NOOP;
|
|
22458
23029
|
try {
|
|
22459
|
-
await Promise.resolve(beforeHydrateFn(
|
|
22460
|
-
return new Promise((resolve) =>
|
|
23030
|
+
await Promise.resolve(beforeHydrateFn(win2.document));
|
|
23031
|
+
return new Promise((resolve) => {
|
|
23032
|
+
if (Array.isArray(opts.modes)) {
|
|
23033
|
+
modeResolutionChain.length = 0;
|
|
23034
|
+
opts.modes.forEach((mode) => setMode(mode));
|
|
23035
|
+
}
|
|
23036
|
+
return hydrateFactory(win2, opts, results, afterHydrate, resolve);
|
|
23037
|
+
});
|
|
22461
23038
|
} catch (e) {
|
|
22462
23039
|
renderCatchError(results, e);
|
|
22463
|
-
return finalizeHydrate(
|
|
23040
|
+
return finalizeHydrate(win2, win2.document, opts, results);
|
|
22464
23041
|
}
|
|
22465
23042
|
}
|
|
22466
|
-
function renderStream(
|
|
23043
|
+
function renderStream(win2, opts, results) {
|
|
22467
23044
|
async function* processRender() {
|
|
22468
|
-
const renderResult = await render(
|
|
23045
|
+
const renderResult = await render(win2, opts, results);
|
|
22469
23046
|
yield renderResult.html;
|
|
22470
23047
|
}
|
|
22471
23048
|
return stream.Readable.from(processRender());
|
|
22472
23049
|
}
|
|
22473
|
-
async function afterHydrate(
|
|
23050
|
+
async function afterHydrate(win2, opts, results, resolve) {
|
|
22474
23051
|
const afterHydrateFn = typeof opts.afterHydrate === "function" ? opts.afterHydrate : NOOP;
|
|
22475
23052
|
try {
|
|
22476
|
-
await Promise.resolve(afterHydrateFn(
|
|
22477
|
-
return resolve(finalizeHydrate(
|
|
23053
|
+
await Promise.resolve(afterHydrateFn(win2.document));
|
|
23054
|
+
return resolve(finalizeHydrate(win2, win2.document, opts, results));
|
|
22478
23055
|
} catch (e) {
|
|
22479
23056
|
renderCatchError(results, e);
|
|
22480
|
-
return resolve(finalizeHydrate(
|
|
23057
|
+
return resolve(finalizeHydrate(win2, win2.document, opts, results));
|
|
22481
23058
|
}
|
|
22482
23059
|
}
|
|
22483
|
-
function finalizeHydrate(
|
|
23060
|
+
function finalizeHydrate(win2, doc2, opts, results) {
|
|
22484
23061
|
try {
|
|
22485
|
-
inspectElement(results,
|
|
23062
|
+
inspectElement(results, doc2.documentElement, 0);
|
|
22486
23063
|
if (opts.removeUnusedStyles !== false) {
|
|
22487
23064
|
try {
|
|
22488
|
-
removeUnusedStyles(
|
|
23065
|
+
removeUnusedStyles(doc2, results.diagnostics);
|
|
22489
23066
|
} catch (e) {
|
|
22490
23067
|
renderCatchError(results, e);
|
|
22491
23068
|
}
|
|
22492
23069
|
}
|
|
22493
23070
|
if (typeof opts.title === "string") {
|
|
22494
23071
|
try {
|
|
22495
|
-
|
|
23072
|
+
doc2.title = opts.title;
|
|
22496
23073
|
} catch (e) {
|
|
22497
23074
|
renderCatchError(results, e);
|
|
22498
23075
|
}
|
|
22499
23076
|
}
|
|
22500
|
-
results.title =
|
|
23077
|
+
results.title = doc2.title;
|
|
22501
23078
|
if (opts.removeScripts) {
|
|
22502
|
-
removeScripts(
|
|
23079
|
+
removeScripts(doc2.documentElement);
|
|
22503
23080
|
}
|
|
22504
23081
|
try {
|
|
22505
|
-
updateCanonicalLink(
|
|
23082
|
+
updateCanonicalLink(doc2, opts.canonicalUrl);
|
|
22506
23083
|
} catch (e) {
|
|
22507
23084
|
renderCatchError(results, e);
|
|
22508
23085
|
}
|
|
22509
23086
|
try {
|
|
22510
|
-
relocateMetaCharset(
|
|
23087
|
+
relocateMetaCharset(doc2);
|
|
22511
23088
|
} catch (e) {
|
|
22512
23089
|
}
|
|
22513
23090
|
if (!hasError(results.diagnostics)) {
|
|
22514
23091
|
results.httpStatus = 200;
|
|
22515
23092
|
}
|
|
22516
23093
|
try {
|
|
22517
|
-
const metaStatus =
|
|
23094
|
+
const metaStatus = doc2.head.querySelector('meta[http-equiv="status"]');
|
|
22518
23095
|
if (metaStatus != null) {
|
|
22519
23096
|
const metaStatusContent = metaStatus.getAttribute("content");
|
|
22520
23097
|
if (metaStatusContent && metaStatusContent.length > 0) {
|
|
@@ -22524,35 +23101,35 @@ function finalizeHydrate(win, doc, opts, results) {
|
|
|
22524
23101
|
} catch (e) {
|
|
22525
23102
|
}
|
|
22526
23103
|
if (opts.clientHydrateAnnotations) {
|
|
22527
|
-
|
|
23104
|
+
doc2.documentElement.classList.add("hydrated");
|
|
22528
23105
|
}
|
|
22529
23106
|
if (opts.serializeToHtml) {
|
|
22530
|
-
results.html = serializeDocumentToString(
|
|
23107
|
+
results.html = serializeDocumentToString(doc2, opts);
|
|
22531
23108
|
}
|
|
22532
23109
|
} catch (e) {
|
|
22533
23110
|
renderCatchError(results, e);
|
|
22534
23111
|
}
|
|
22535
|
-
destroyWindow(
|
|
23112
|
+
destroyWindow(win2, doc2, opts, results);
|
|
22536
23113
|
return results;
|
|
22537
23114
|
}
|
|
22538
|
-
function destroyWindow(
|
|
23115
|
+
function destroyWindow(win2, doc2, opts, results) {
|
|
22539
23116
|
if (!opts.destroyWindow) {
|
|
22540
23117
|
return;
|
|
22541
23118
|
}
|
|
22542
23119
|
try {
|
|
22543
23120
|
if (!opts.destroyDocument) {
|
|
22544
|
-
|
|
22545
|
-
|
|
23121
|
+
win2.document = null;
|
|
23122
|
+
doc2.defaultView = null;
|
|
22546
23123
|
}
|
|
22547
|
-
if (
|
|
22548
|
-
|
|
23124
|
+
if (win2.close) {
|
|
23125
|
+
win2.close();
|
|
22549
23126
|
}
|
|
22550
23127
|
} catch (e) {
|
|
22551
23128
|
renderCatchError(results, e);
|
|
22552
23129
|
}
|
|
22553
23130
|
}
|
|
22554
|
-
function serializeDocumentToString(
|
|
22555
|
-
return serializeNodeToHtml(
|
|
23131
|
+
function serializeDocumentToString(doc2, opts) {
|
|
23132
|
+
return serializeNodeToHtml(doc2, {
|
|
22556
23133
|
approximateLineWidth: opts.approximateLineWidth,
|
|
22557
23134
|
outerHtml: false,
|
|
22558
23135
|
prettyHtml: opts.prettyHtml,
|
|
@@ -22564,8 +23141,8 @@ function serializeDocumentToString(doc, opts) {
|
|
|
22564
23141
|
fullDocument: opts.fullDocument
|
|
22565
23142
|
});
|
|
22566
23143
|
}
|
|
22567
|
-
function isValidDocument(
|
|
22568
|
-
return
|
|
23144
|
+
function isValidDocument(doc2) {
|
|
23145
|
+
return doc2 != null && doc2.nodeType === 9 && doc2.documentElement != null && doc2.documentElement.nodeType === 1 && doc2.body != null && doc2.body.nodeType === 1;
|
|
22569
23146
|
}
|
|
22570
23147
|
function removeScripts(elm) {
|
|
22571
23148
|
const children = elm.children;
|