@pine-ds/core 0.0.4 → 0.1.1
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/pds-accordion.d.ts +11 -0
- package/components/pds-accordion.js +67 -0
- package/components/pds-accordion.js.map +1 -0
- package/components/pds-avatar.js +1 -1
- package/components/pds-box.js +1 -1
- package/components/pds-button2.js +1 -1
- package/components/pds-checkbox2.js +1 -1
- package/components/pds-chip.js +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-divider.js +1 -1
- package/components/pds-image.js +2 -2
- package/components/pds-input.js +1 -1
- package/components/pds-link.js +1 -1
- package/components/pds-link.js.map +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-radio.js +1 -1
- package/components/pds-row.js +1 -1
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +1 -1
- package/components/pds-switch.js +1 -1
- package/components/pds-tab.js +3 -3
- package/components/pds-table-body.js +1 -1
- package/components/pds-table-cell2.js +2 -2
- package/components/pds-table-head-cell2.js +2 -2
- package/components/pds-table-head.js +1 -1
- package/components/pds-table-row.js +1 -1
- package/components/pds-table.js +1 -1
- package/components/pds-tabpanel.js +1 -1
- package/components/pds-tabs.js +1 -1
- package/components/pds-textarea.js +2 -2
- package/components/pds-tooltip.js +2 -2
- package/dist/cjs/{index-c18b5a7b.js → index-af2145ac.js} +287 -4
- package/dist/cjs/index-af2145ac.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/pds-accordion.cjs.entry.js +42 -0
- package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/pds-box.cjs.entry.js +2 -2
- package/dist/cjs/pds-button.cjs.entry.js +2 -2
- package/dist/cjs/pds-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/pds-chip.cjs.entry.js +2 -2
- package/dist/cjs/pds-copytext.cjs.entry.js +2 -2
- package/dist/cjs/pds-divider.cjs.entry.js +2 -2
- package/dist/cjs/pds-icon.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +3 -3
- package/dist/cjs/pds-input.cjs.entry.js +3 -3
- package/dist/cjs/{pds-label-a3b0188d.js → pds-label-81c1073a.js} +2 -2
- package/dist/cjs/{pds-label-a3b0188d.js.map → pds-label-81c1073a.js.map} +1 -1
- package/dist/cjs/pds-link.cjs.entry.js +2 -2
- package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-progress.cjs.entry.js +2 -2
- package/dist/cjs/pds-radio.cjs.entry.js +3 -3
- package/dist/cjs/pds-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
- package/dist/cjs/pds-sortable.cjs.entry.js +2 -2
- package/dist/cjs/pds-switch.cjs.entry.js +3 -3
- package/dist/cjs/pds-tab.cjs.entry.js +4 -4
- package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-head.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-table.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/pds-textarea.cjs.entry.js +4 -4
- package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/pine-core.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/pds-accordion/pds-accordion.css +56 -0
- package/dist/collection/components/pds-accordion/pds-accordion.js +93 -0
- package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -0
- package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +34 -0
- package/dist/collection/components/pds-avatar/pds-avatar.js +1 -1
- package/dist/collection/components/pds-box/pds-box.js +1 -1
- package/dist/collection/components/pds-button/pds-button.js +1 -1
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +1 -1
- package/dist/collection/components/pds-chip/pds-chip.js +1 -1
- package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
- package/dist/collection/components/pds-divider/pds-divider.js +1 -1
- package/dist/collection/components/pds-image/pds-image.js +2 -2
- package/dist/collection/components/pds-input/pds-input.js +1 -1
- package/dist/collection/components/pds-link/pds-link.js +3 -2
- package/dist/collection/components/pds-link/pds-link.js.map +1 -1
- package/dist/collection/components/pds-progress/pds-progress.js +1 -1
- package/dist/collection/components/pds-radio/pds-radio.js +1 -1
- package/dist/collection/components/pds-row/pds-row.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
- package/dist/collection/components/pds-switch/pds-switch.js +1 -1
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
- package/dist/collection/components/pds-table/pds-table.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
- package/dist/collection/components/pds-textarea/pds-textarea.js +2 -2
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
- package/dist/docs.json +110 -4
- package/dist/esm/{index-4a3a9179.js → index-9312507f.js} +287 -4
- package/dist/esm/index-9312507f.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/pds-accordion.entry.js +38 -0
- package/dist/esm/pds-accordion.entry.js.map +1 -0
- package/dist/esm/pds-avatar.entry.js +2 -2
- package/dist/esm/pds-box.entry.js +2 -2
- package/dist/esm/pds-button.entry.js +2 -2
- package/dist/esm/pds-checkbox_2.entry.js +5 -5
- package/dist/esm/pds-chip.entry.js +2 -2
- package/dist/esm/pds-copytext.entry.js +2 -2
- package/dist/esm/pds-divider.entry.js +2 -2
- package/dist/esm/pds-icon.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +3 -3
- package/dist/esm/pds-input.entry.js +3 -3
- package/dist/esm/{pds-label-5a20380b.js → pds-label-d33eab3b.js} +2 -2
- package/dist/esm/{pds-label-5a20380b.js.map → pds-label-d33eab3b.js.map} +1 -1
- package/dist/esm/pds-link.entry.js +2 -2
- package/dist/esm/pds-link.entry.js.map +1 -1
- package/dist/esm/pds-progress.entry.js +2 -2
- package/dist/esm/pds-radio.entry.js +3 -3
- package/dist/esm/pds-row.entry.js +2 -2
- package/dist/esm/pds-sortable-item.entry.js +2 -2
- package/dist/esm/pds-sortable.entry.js +2 -2
- package/dist/esm/pds-switch.entry.js +3 -3
- package/dist/esm/pds-tab.entry.js +4 -4
- package/dist/esm/pds-table-body.entry.js +2 -2
- package/dist/esm/pds-table-head-cell.entry.js +3 -3
- package/dist/esm/pds-table-head.entry.js +2 -2
- package/dist/esm/pds-table-row.entry.js +2 -2
- package/dist/esm/pds-table.entry.js +2 -2
- package/dist/esm/pds-tabpanel.entry.js +2 -2
- package/dist/esm/pds-tabs.entry.js +2 -2
- package/dist/esm/pds-textarea.entry.js +4 -4
- package/dist/esm/pds-tooltip.entry.js +3 -3
- package/dist/esm/pine-core.js +3 -3
- package/dist/esm-es5/index-9312507f.js +3 -0
- package/dist/esm-es5/index-9312507f.js.map +1 -0
- 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 +2 -0
- package/dist/esm-es5/pds-accordion.entry.js.map +1 -0
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-divider.entry.js +1 -1
- package/dist/esm-es5/pds-icon.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/{pds-label-5a20380b.js → pds-label-d33eab3b.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-progress.entry.js +1 -1
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-row.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +2 -2
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-tab.entry.js +1 -1
- package/dist/esm-es5/pds-table-body.entry.js +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head.entry.js +1 -1
- package/dist/esm-es5/pds-table-row.entry.js +1 -1
- package/dist/esm-es5/pds-table.entry.js +1 -1
- package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js +1 -1
- package/dist/esm-es5/pds-textarea.entry.js +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/esm-es5/pine-core.js.map +1 -1
- package/dist/pine-core/{p-c5641077.entry.js → p-07e0e33d.entry.js} +2 -2
- package/dist/pine-core/{p-4abda138.system.entry.js → p-0c443b29.system.entry.js} +2 -2
- package/dist/pine-core/{p-3f82f07a.system.js → p-0cdd6574.system.js} +2 -2
- package/dist/pine-core/{p-25f4a2c1.entry.js → p-0f0c672b.entry.js} +2 -2
- package/dist/pine-core/{p-54d324c2.system.entry.js → p-18d461ea.system.entry.js} +2 -2
- package/dist/pine-core/p-1a70ea52.entry.js +2 -0
- package/dist/pine-core/p-1a70ea52.entry.js.map +1 -0
- package/dist/pine-core/{p-59db2abd.system.entry.js → p-207a1db7.system.entry.js} +2 -2
- package/dist/pine-core/{p-588cb0d6.system.entry.js → p-2306d119.system.entry.js} +2 -2
- package/dist/pine-core/{p-20266cb6.entry.js → p-24329e5f.entry.js} +2 -2
- package/dist/pine-core/{p-ad186d12.system.entry.js → p-282475be.system.entry.js} +2 -2
- package/dist/pine-core/{p-763e2f83.entry.js → p-32f5eae9.entry.js} +2 -2
- package/dist/pine-core/{p-c76ace76.system.entry.js → p-363392ea.system.entry.js} +2 -2
- package/dist/pine-core/p-3891188c.entry.js +2 -0
- package/dist/pine-core/{p-3fc7e481.system.entry.js → p-3aafe83d.system.entry.js} +2 -2
- package/dist/pine-core/p-3bf307ef.system.js +2 -0
- package/dist/pine-core/p-3bf307ef.system.js.map +1 -0
- package/dist/pine-core/{p-748df843.entry.js → p-422bdfa6.entry.js} +2 -2
- package/dist/pine-core/{p-57da3e93.system.entry.js → p-46a4a8f0.system.entry.js} +2 -2
- package/dist/pine-core/{p-d94dd844.system.entry.js → p-50e04f66.system.entry.js} +2 -2
- package/dist/pine-core/p-539ecb64.system.entry.js +2 -0
- package/dist/pine-core/p-539ecb64.system.entry.js.map +1 -0
- package/dist/pine-core/{p-b5b59894.system.entry.js → p-5812cf50.system.entry.js} +2 -2
- package/dist/pine-core/{p-f17edd95.entry.js → p-5e3cf93b.entry.js} +2 -2
- package/dist/pine-core/{p-be00178d.entry.js → p-60bb9395.entry.js} +2 -2
- package/dist/pine-core/{p-a246e1d1.system.entry.js → p-6569a81a.system.entry.js} +3 -3
- package/dist/pine-core/{p-462f2b14.entry.js → p-68d79b69.entry.js} +2 -2
- package/dist/pine-core/{p-f2c6b33e.system.entry.js → p-6d1f5eb6.system.entry.js} +2 -2
- package/dist/pine-core/{p-0305f8c8.entry.js → p-7751adcf.entry.js} +2 -2
- package/dist/pine-core/{p-0dacd1cd.entry.js → p-79bf6399.entry.js} +2 -2
- package/dist/pine-core/{p-f329268a.entry.js → p-818d3c3a.entry.js} +2 -2
- package/dist/pine-core/p-8248c25e.system.js +3 -0
- package/dist/pine-core/p-8248c25e.system.js.map +1 -0
- package/dist/pine-core/{p-25ffc9e2.entry.js → p-8a213ad9.entry.js} +2 -2
- package/dist/pine-core/{p-9fe27345.system.entry.js → p-8bba9f6b.system.entry.js} +2 -2
- package/dist/pine-core/{p-36862fec.system.entry.js → p-8d320cf0.system.entry.js} +2 -2
- package/dist/pine-core/p-8d320cf0.system.entry.js.map +1 -0
- package/dist/pine-core/{p-a090344d.entry.js → p-9287c72f.entry.js} +2 -2
- package/dist/pine-core/{p-a923b153.entry.js → p-96503b18.entry.js} +2 -2
- package/dist/pine-core/{p-dbe98ba2.system.entry.js → p-98740980.system.entry.js} +2 -2
- package/dist/pine-core/{p-85a97505.system.entry.js → p-98cc1e47.system.entry.js} +2 -2
- package/dist/pine-core/{p-5af9b6e2.entry.js → p-9be99490.entry.js} +2 -2
- package/dist/pine-core/{p-5fd196d6.entry.js → p-9d8d9443.entry.js} +2 -2
- package/dist/pine-core/{p-d3d4661e.entry.js → p-a3310afa.entry.js} +2 -2
- package/dist/pine-core/{p-413d41ad.js → p-a4d4fbbb.js} +2 -2
- package/dist/pine-core/p-a954bb71.js +3 -0
- package/dist/pine-core/p-a954bb71.js.map +1 -0
- package/dist/pine-core/p-aa9f7889.system.entry.js +2 -0
- package/dist/pine-core/{p-1d55b43e.entry.js → p-ab9e0ab4.entry.js} +2 -2
- package/dist/pine-core/{p-bdebf156.system.entry.js → p-b3abea50.system.entry.js} +2 -2
- package/dist/pine-core/{p-0c37f840.system.entry.js → p-bd051dc8.system.entry.js} +2 -2
- package/dist/pine-core/{p-590b8bc3.system.entry.js → p-bf49c9da.system.entry.js} +2 -2
- package/dist/pine-core/{p-9b5cd6ab.entry.js → p-c107a273.entry.js} +3 -3
- package/dist/pine-core/p-c39a7480.system.entry.js +2 -0
- package/dist/pine-core/{p-269121f3.system.entry.js → p-c7553aef.system.entry.js} +2 -2
- package/dist/pine-core/{p-72065c3a.system.entry.js → p-cd1bb310.system.entry.js} +2 -2
- package/dist/pine-core/{p-1e1f6bc4.system.entry.js → p-ceb83df8.system.entry.js} +2 -2
- package/dist/pine-core/{p-6c3a05cf.entry.js → p-d02db70d.entry.js} +2 -2
- package/dist/pine-core/p-d02db70d.entry.js.map +1 -0
- package/dist/pine-core/{p-7a7416d5.system.entry.js → p-d5ec4117.system.entry.js} +2 -2
- package/dist/pine-core/{p-f198ef17.entry.js → p-db09b014.entry.js} +2 -2
- package/dist/pine-core/{p-68e7924e.system.entry.js → p-df4a1834.system.entry.js} +2 -2
- package/dist/pine-core/p-e07e6487.entry.js +2 -0
- package/dist/pine-core/{p-c36795fd.entry.js → p-e394916b.entry.js} +2 -2
- package/dist/pine-core/{p-8fe57bfa.entry.js → p-e6cae1e7.entry.js} +2 -2
- package/dist/pine-core/p-e6d28371.entry.js +2 -0
- package/dist/pine-core/{p-c743e545.entry.js.map → p-e6d28371.entry.js.map} +1 -1
- package/dist/pine-core/{p-d833e66e.entry.js → p-e732c325.entry.js} +2 -2
- package/dist/pine-core/{p-84c19af2.system.entry.js → p-fe9b0b4b.system.entry.js} +2 -2
- 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/types/components/pds-accordion/pds-accordion.d.ts +22 -0
- package/dist/types/components/pds-link/pds-link.d.ts +2 -1
- package/dist/types/components.d.ts +33 -0
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +12934 -0
- package/hydrate/package.json +6 -0
- package/package.json +6 -5
- package/dist/cjs/index-c18b5a7b.js.map +0 -1
- package/dist/esm/index-4a3a9179.js.map +0 -1
- package/dist/esm-es5/index-4a3a9179.js +0 -3
- package/dist/esm-es5/index-4a3a9179.js.map +0 -1
- package/dist/pine-core/p-36862fec.system.entry.js.map +0 -1
- package/dist/pine-core/p-4c2fa718.entry.js +0 -2
- package/dist/pine-core/p-5eaff61a.system.entry.js +0 -2
- package/dist/pine-core/p-627d088d.entry.js +0 -2
- package/dist/pine-core/p-6c3a05cf.entry.js.map +0 -1
- package/dist/pine-core/p-7a5d5d62.system.js +0 -3
- package/dist/pine-core/p-7a5d5d62.system.js.map +0 -1
- package/dist/pine-core/p-a3ad3496.system.entry.js +0 -2
- package/dist/pine-core/p-b6a4d813.system.js +0 -2
- package/dist/pine-core/p-b6a4d813.system.js.map +0 -1
- package/dist/pine-core/p-c743e545.entry.js +0 -2
- package/dist/pine-core/p-db677b4c.js +0 -3
- package/dist/pine-core/p-db677b4c.js.map +0 -1
- /package/dist/esm-es5/{pds-label-5a20380b.js.map → pds-label-d33eab3b.js.map} +0 -0
- /package/dist/pine-core/{p-c5641077.entry.js.map → p-07e0e33d.entry.js.map} +0 -0
- /package/dist/pine-core/{p-4abda138.system.entry.js.map → p-0c443b29.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3f82f07a.system.js.map → p-0cdd6574.system.js.map} +0 -0
- /package/dist/pine-core/{p-25f4a2c1.entry.js.map → p-0f0c672b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-54d324c2.system.entry.js.map → p-18d461ea.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-59db2abd.system.entry.js.map → p-207a1db7.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-588cb0d6.system.entry.js.map → p-2306d119.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-20266cb6.entry.js.map → p-24329e5f.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ad186d12.system.entry.js.map → p-282475be.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-763e2f83.entry.js.map → p-32f5eae9.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c76ace76.system.entry.js.map → p-363392ea.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-627d088d.entry.js.map → p-3891188c.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3fc7e481.system.entry.js.map → p-3aafe83d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-748df843.entry.js.map → p-422bdfa6.entry.js.map} +0 -0
- /package/dist/pine-core/{p-57da3e93.system.entry.js.map → p-46a4a8f0.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d94dd844.system.entry.js.map → p-50e04f66.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b5b59894.system.entry.js.map → p-5812cf50.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f17edd95.entry.js.map → p-5e3cf93b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-be00178d.entry.js.map → p-60bb9395.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a246e1d1.system.entry.js.map → p-6569a81a.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-462f2b14.entry.js.map → p-68d79b69.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f2c6b33e.system.entry.js.map → p-6d1f5eb6.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0305f8c8.entry.js.map → p-7751adcf.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0dacd1cd.entry.js.map → p-79bf6399.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f329268a.entry.js.map → p-818d3c3a.entry.js.map} +0 -0
- /package/dist/pine-core/{p-25ffc9e2.entry.js.map → p-8a213ad9.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9fe27345.system.entry.js.map → p-8bba9f6b.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a090344d.entry.js.map → p-9287c72f.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a923b153.entry.js.map → p-96503b18.entry.js.map} +0 -0
- /package/dist/pine-core/{p-dbe98ba2.system.entry.js.map → p-98740980.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-85a97505.system.entry.js.map → p-98cc1e47.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5af9b6e2.entry.js.map → p-9be99490.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5fd196d6.entry.js.map → p-9d8d9443.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d3d4661e.entry.js.map → p-a3310afa.entry.js.map} +0 -0
- /package/dist/pine-core/{p-413d41ad.js.map → p-a4d4fbbb.js.map} +0 -0
- /package/dist/pine-core/{p-5eaff61a.system.entry.js.map → p-aa9f7889.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1d55b43e.entry.js.map → p-ab9e0ab4.entry.js.map} +0 -0
- /package/dist/pine-core/{p-bdebf156.system.entry.js.map → p-b3abea50.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0c37f840.system.entry.js.map → p-bd051dc8.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-590b8bc3.system.entry.js.map → p-bf49c9da.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9b5cd6ab.entry.js.map → p-c107a273.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a3ad3496.system.entry.js.map → p-c39a7480.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-269121f3.system.entry.js.map → p-c7553aef.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-72065c3a.system.entry.js.map → p-cd1bb310.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1e1f6bc4.system.entry.js.map → p-ceb83df8.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7a7416d5.system.entry.js.map → p-d5ec4117.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f198ef17.entry.js.map → p-db09b014.entry.js.map} +0 -0
- /package/dist/pine-core/{p-68e7924e.system.entry.js.map → p-df4a1834.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-4c2fa718.entry.js.map → p-e07e6487.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c36795fd.entry.js.map → p-e394916b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-8fe57bfa.entry.js.map → p-e6cae1e7.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d833e66e.entry.js.map → p-e732c325.entry.js.map} +0 -0
- /package/dist/pine-core/{p-84c19af2.system.entry.js.map → p-fe9b0b4b.system.entry.js.map} +0 -0
|
@@ -16,7 +16,7 @@ const PdsProgress$1 = /*@__PURE__*/ proxyCustomElement(class PdsProgress extends
|
|
|
16
16
|
this.showPercent = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '68d38c1c9c0b21d20df22d9c9e21102f78143df7', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: '2342ec7043319f3c9d6ee40b3d516523c40f8881', class: "pds-progress" }, h("label", { key: '56740d2f23e1cf0039751eac229b6c81234c45a8', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: 'b11e4117dae38cc8828623fbd1e25d666a5ec63c', id: this.componentId, max: "100", style: this.fillColor ? { '--progress-fill-color': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { class: "pds-progress__percentage" }, this.percent, "%")));
|
|
20
20
|
}
|
|
21
21
|
static get style() { return PdsProgressStyle0; }
|
|
22
22
|
}, [1, "pds-progress", {
|
package/components/pds-radio.js
CHANGED
|
@@ -39,7 +39,7 @@ const PdsRadio$1 = /*@__PURE__*/ proxyCustomElement(class PdsRadio extends HTMLE
|
|
|
39
39
|
return classNames.join(' ');
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '1427cdb78f9e67d64f1d41fbbcd69f142568be54', class: this.classNames() }, h("input", { key: 'e657db2c4d043871913ba314adb0b1666001dc8e', "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 }), h(PdsLabel, { key: 'c7a15d4d55f7a82f21754d5a5c711ae2b60b5cdc', htmlFor: this.componentId, text: this.label }), this.helperMessage &&
|
|
43
43
|
h("div", { class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
44
44
|
h("div", { class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
|
|
45
45
|
}
|
package/components/pds-row.js
CHANGED
|
@@ -38,7 +38,7 @@ const PdsRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsRow extends HTMLEleme
|
|
|
38
38
|
})), (this.minHeight && {
|
|
39
39
|
'min-height': this.minHeight,
|
|
40
40
|
}));
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'a0661e2e13c93d93f8fd8a2f692adce3eac2b9f7', class: `pds-row ${rowClasses}`, style: rowInlineStyles }));
|
|
42
42
|
}
|
|
43
43
|
static get style() { return PdsRowStyle0; }
|
|
44
44
|
}, [0, "pds-row", {
|
|
@@ -13,7 +13,7 @@ const PdsSortableItem$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortableItem
|
|
|
13
13
|
this.handle = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '0af9e3cba44c18a8ded0ed71337076ebf761a437', class: "pds-sortable-item", id: this.componentId }, this.handle && (h("div", { class: "pds-sortable-item__handle" }, h("pds-icon", { name: "handle" }))), h("slot", { key: '44365ade9216eacdf72723d4bbf18bac5e6ba734' }), this.enableActions && (h("div", { class: "pds-sortable-item__actions" }, h("slot", { name: "sortable-item-actions" })))));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return PdsSortableItemStyle0; }
|
|
19
19
|
}, [6, "pds-sortable-item", {
|
|
@@ -2690,7 +2690,7 @@ const PdsSortable$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortable extends
|
|
|
2690
2690
|
Sortable.create(this.el, sortableOptions);
|
|
2691
2691
|
}
|
|
2692
2692
|
render() {
|
|
2693
|
-
return (h(Host, { key: '
|
|
2693
|
+
return (h(Host, { key: 'ec0e4e8ab9f84b3163160f23cfe15796b1c8ca79', class: this.classNames(), id: this.componentId }, h("slot", { key: '9c3f9cbc3b0cdd50bc57d0f4f2a6231d1f2f9d2e' })));
|
|
2694
2694
|
}
|
|
2695
2695
|
get el() { return this; }
|
|
2696
2696
|
static get style() { return PdsSortableStyle0; }
|
package/components/pds-switch.js
CHANGED
|
@@ -41,7 +41,7 @@ const PdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class PdsSwitch extends HTM
|
|
|
41
41
|
this.value = undefined;
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'cdb6f34b8eb4a40fa9477b820461276ea07b9346', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("input", { key: 'cdb0f78abe53f7c84da5aa75e878d40180821e44', "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: this.type, value: this.value }), h(PdsLabel, { key: '37d5f8106e84f5820f0e27b1a2d656a6090293a3', classNames: "pds-switch__label", htmlFor: this.componentId, text: this.label }), this.helperMessage &&
|
|
45
45
|
h("div", { class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
46
46
|
h("div", { class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
|
|
47
47
|
}
|
package/components/pds-tab.js
CHANGED
|
@@ -18,9 +18,9 @@ const PdsTab$1 = /*@__PURE__*/ proxyCustomElement(class PdsTab extends HTMLEleme
|
|
|
18
18
|
this.pdsTabClick.emit([index, parentComponentId]);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
const availabilityTabEdgeInlineStart = (h("span", { key: '
|
|
22
|
-
const availabilityTabEdgeInlineEnd = (h("span", { key: '
|
|
23
|
-
return (h(Host, { key: '
|
|
21
|
+
const availabilityTabEdgeInlineStart = (h("span", { key: '08277d7cbe950dd18f41bd95c90f7c7389833311', class: "pds-tab-edge", role: "presentation" }));
|
|
22
|
+
const availabilityTabEdgeInlineEnd = (h("span", { key: '02d2d1acbc122a56bd01c53af8ff0f42b46cb3db', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
23
|
+
return (h(Host, { key: 'ae62d16ff39d937d3d635892a904870c436d1747', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: '45221be5eb829f64c5a1f19de600d68da9c27ed2', 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, h("div", { key: '3e529a0253e4ecbfad3ab47760fa6d58771a58b8', class: "pds-tab__content" }, h("slot", { key: '4491e7c5442c386623e389ac247c5a8a6a6db254' })))));
|
|
24
24
|
}
|
|
25
25
|
get el() { return this; }
|
|
26
26
|
static get style() { return PdsTabStyle0; }
|
|
@@ -10,7 +10,7 @@ const PdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableBody exten
|
|
|
10
10
|
this.__attachShadow();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '8d71f826ae509e6ca5ab06016c3343036840af88', role: "rowgroup" }, h("slot", { key: 'b34bf96e2dc5232585dc3a28bbd81f5eafa42748' })));
|
|
14
14
|
}
|
|
15
15
|
static get style() { return PdsTableBodyStyle0; }
|
|
16
16
|
}, [1, "pds-table-body"]);
|
|
@@ -41,11 +41,11 @@ const PdsTableCell = /*@__PURE__*/ proxyCustomElement(class PdsTableCell extends
|
|
|
41
41
|
return classNames.join(' ');
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '71ff527047eaafcf9b9c57a6aa96634e4a887f0b', class: this.classNames(), role: "gridcell", style: this.tableRef &&
|
|
45
45
|
this.tableRef.fixedColumn &&
|
|
46
46
|
this.tableRef.selectable
|
|
47
47
|
? { '--fixed-cell-position': '40px' }
|
|
48
|
-
: {} }, h("slot", { key: '
|
|
48
|
+
: {} }, h("slot", { key: 'b62c595da7fbf8795e90c67c3d50b9f5e7449067' })));
|
|
49
49
|
}
|
|
50
50
|
get hostElement() { return this; }
|
|
51
51
|
static get style() { return PdsTableCellStyle0; }
|
|
@@ -58,11 +58,11 @@ const PdsTableHeadCell = /*@__PURE__*/ proxyCustomElement(class PdsTableHeadCell
|
|
|
58
58
|
return classNames.join(' ');
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'de6a3a9f17d49206d61755cf49902ca414982ad3', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
|
|
62
62
|
this.tableRef.fixedColumn &&
|
|
63
63
|
this.tableRef.selectable
|
|
64
64
|
? { '--fixed-cell-position': '40px' }
|
|
65
|
-
: {} }, h("slot", { key: '
|
|
65
|
+
: {} }, h("slot", { key: 'c46427a01cd95972cb97fd244e4caf348bdefe03' }), this.sortable && (h("pds-icon", { name: this.sortingDirection === 'asc' ? 'up-small' : 'down-small' }))));
|
|
66
66
|
}
|
|
67
67
|
get hostElement() { return this; }
|
|
68
68
|
static get style() { return PdsTableHeadCellStyle0; }
|
|
@@ -19,7 +19,7 @@ const PdsTableHead$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableHead exten
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '3fc715433db735a23fa49fd37553a8f430af78bc', role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { part: this.tableRef.fixedColumn ? 'checkbox-cell' : '' })), h("slot", { key: 'f24a1ebc93b6718aaefbf9006d7fd89e43eb557c' })));
|
|
23
23
|
}
|
|
24
24
|
get hostElement() { return this; }
|
|
25
25
|
static get style() { return PdsTableHeadStyle0; }
|
|
@@ -39,7 +39,7 @@ const PdsTableRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableRow extends
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '6eb4558d3c5970174833e11c74b8243f549e3c9a', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { componentId: this.generateUniqueId(), onClick: this.handleCheckboxClick, label: "Select Row", labelHidden: true, checked: this.isSelected }))), h("slot", { key: 'd2ee3546bfe11f36278887b6261a0c5bca91202f' })));
|
|
43
43
|
}
|
|
44
44
|
get hostElement() { return this; }
|
|
45
45
|
static get style() { return PdsTableRowStyle0; }
|
package/components/pds-table.js
CHANGED
|
@@ -65,7 +65,7 @@ const PdsTable$1 = /*@__PURE__*/ proxyCustomElement(class PdsTable extends HTMLE
|
|
|
65
65
|
this.sortingDirection = direction;
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '61e4788551b8e01ce7e5d0e96869b742157a9f2b', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable }, h("slot", { key: 'bab0e40123fe8bc257221bbd1a2b2f6076a6c691' })));
|
|
69
69
|
}
|
|
70
70
|
get el() { return this; }
|
|
71
71
|
static get style() { return PdsTableStyle0; }
|
|
@@ -13,7 +13,7 @@ const PdsTabpanel$1 = /*@__PURE__*/ proxyCustomElement(class PdsTabpanel extends
|
|
|
13
13
|
this.selected = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'e38cf8aa09d76ce8e971d4e64f635fd2ac237aad', slot: "tabpanels" }, h("div", { key: '316151ef0e305ecba207d2ea6d171fcb0c28b539', 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" }, h("slot", { key: '4214b2d070c6964f7d3ae41b1ed3d6713aaddf11' }))));
|
|
17
17
|
}
|
|
18
18
|
get el() { return this; }
|
|
19
19
|
static get style() { return PdsTabpanelStyle0; }
|
package/components/pds-tabs.js
CHANGED
|
@@ -86,7 +86,7 @@ const PdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class PdsTabs extends HTMLEle
|
|
|
86
86
|
this.passPropsToChildren();
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: 'e6d5ba53ccd3f58d0e63ddee1a3f395c6f15c841', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: 'b66c6f29bd3612c94130de2e44ca33e46facf401', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: 'eeaa4bacc8ae08964a106fed26af7c3927b83df7', name: "tabs" })), h("slot", { key: 'f6d0b358f7387a850e1f3db93eaf32cc7723b7a2', name: "tabpanels" })));
|
|
90
90
|
}
|
|
91
91
|
get el() { return this; }
|
|
92
92
|
static get style() { return PdsTabsStyle0; }
|
|
@@ -39,8 +39,8 @@ const PdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class PdsTextarea extends
|
|
|
39
39
|
return classNames.join(' ');
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
43
|
-
h(PdsLabel, { htmlFor: this.componentId, text: this.label }), h("textarea", { key: '
|
|
42
|
+
return (h(Host, { key: '741dcb258f9992f943e898b4f8ac569046f40a73', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: 'cb678d3e24cec028b7220b4d087e82ce24e26205', class: "pds-textarea" }, this.label &&
|
|
43
|
+
h(PdsLabel, { htmlFor: this.componentId, text: this.label }), h("textarea", { key: '667cec0eb152e45a01f87ca64865c816afe5b67b', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, 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 &&
|
|
44
44
|
h("p", { class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
|
|
45
45
|
h("p", { "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, this.errorMessage))));
|
|
46
46
|
}
|
|
@@ -130,13 +130,13 @@ const PdsTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PdsTooltip extends H
|
|
|
130
130
|
this.opened = false;
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: 'b4b6ca5fbf3a5b99b4fe74d4b874c81f51d46e8d', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, h("div", { key: '234af23d5c082cbaf02c3f4026d094e19514520e', class: `
|
|
134
134
|
pds-tooltip
|
|
135
135
|
pds-tooltip--${this.placement}
|
|
136
136
|
${this.htmlContent ? 'pds-tooltip--has-html-content' : ''}
|
|
137
137
|
${this.opened ? 'pds-tooltip--is-open' : ''}
|
|
138
138
|
${this.hasArrow ? '' : 'pds-tooltip--no-arrow'}
|
|
139
|
-
` }, h("span", { key: '
|
|
139
|
+
` }, h("span", { key: '8636e6ec54ca42b7a96683b2a97f26ee4994ce75', "aria-describedby": this.componentId, class: "pds-tooltip__trigger" }, h("slot", { key: '915856a37e16dd9a5d19afec7111d90f3a1e1d0d' })), h("div", { key: '0e50c1c3559cfc529da2fc67a8b248e63ad8f75b', 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" }, h("slot", { key: 'dafafd2a343b10ed140eb5bd325d3b17a3dc062a', name: "content" }), this.content))));
|
|
140
140
|
}
|
|
141
141
|
get el() { return this; }
|
|
142
142
|
static get watchers() { return {
|
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'pine-core';
|
|
24
|
-
const BUILD = /* pine-core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide:
|
|
24
|
+
const BUILD = /* pine-core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Virtual DOM patching algorithm based on Snabbdom by
|
|
@@ -57,6 +57,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
+
const CONTENT_REF_ID = 'r';
|
|
61
|
+
const ORG_LOCATION_ID = 'o';
|
|
62
|
+
const SLOT_NODE_ID = 's';
|
|
63
|
+
const TEXT_NODE_ID = 't';
|
|
64
|
+
const HYDRATE_ID = 's-id';
|
|
65
|
+
const HYDRATED_STYLE_ID = 'sty-id';
|
|
66
|
+
const HYDRATE_CHILD_ID = 'c-id';
|
|
60
67
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
61
68
|
/**
|
|
62
69
|
* Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
|
|
@@ -264,6 +271,247 @@ const convertToPrivate = (node) => {
|
|
|
264
271
|
vnode.$name$ = node.vname;
|
|
265
272
|
return vnode;
|
|
266
273
|
};
|
|
274
|
+
/**
|
|
275
|
+
* Entrypoint of the client-side hydration process. Facilitates calls to hydrate the
|
|
276
|
+
* document and all its nodes.
|
|
277
|
+
*
|
|
278
|
+
* This process will also reconstruct the shadow root and slot DOM nodes for components using shadow DOM.
|
|
279
|
+
*
|
|
280
|
+
* @param hostElm The element to hydrate.
|
|
281
|
+
* @param tagName The element's tag name.
|
|
282
|
+
* @param hostId The host ID assigned to the element by the server.
|
|
283
|
+
* @param hostRef The host reference for the element.
|
|
284
|
+
*/
|
|
285
|
+
const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
286
|
+
const endHydrate = createTime('hydrateClient', tagName);
|
|
287
|
+
const shadowRoot = hostElm.shadowRoot;
|
|
288
|
+
const childRenderNodes = [];
|
|
289
|
+
const slotNodes = [];
|
|
290
|
+
const shadowRootNodes = shadowRoot ? [] : null;
|
|
291
|
+
const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
|
|
292
|
+
if (!plt.$orgLocNodes$) {
|
|
293
|
+
initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
|
|
294
|
+
}
|
|
295
|
+
hostElm[HYDRATE_ID] = hostId;
|
|
296
|
+
hostElm.removeAttribute(HYDRATE_ID);
|
|
297
|
+
clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
|
|
298
|
+
childRenderNodes.map((c) => {
|
|
299
|
+
const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
|
|
300
|
+
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
301
|
+
const node = c.$elm$;
|
|
302
|
+
// Put the node back in its original location since the native Shadow DOM
|
|
303
|
+
// can handle rendering it its correct location now
|
|
304
|
+
if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
|
|
305
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
306
|
+
}
|
|
307
|
+
if (!shadowRoot) {
|
|
308
|
+
node['s-hn'] = tagName;
|
|
309
|
+
if (orgLocationNode) {
|
|
310
|
+
node['s-ol'] = orgLocationNode;
|
|
311
|
+
node['s-ol']['s-nr'] = node;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
315
|
+
});
|
|
316
|
+
if (shadowRoot) {
|
|
317
|
+
shadowRootNodes.map((shadowRootNode) => {
|
|
318
|
+
if (shadowRootNode) {
|
|
319
|
+
shadowRoot.appendChild(shadowRootNode);
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
endHydrate();
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Recursively constructs the virtual node tree for a host element and its children.
|
|
327
|
+
* The tree is constructed by parsing the annotations set on the nodes by the server.
|
|
328
|
+
*
|
|
329
|
+
* In addition to constructing the vNode tree, we also track information about the node's
|
|
330
|
+
* descendants like which are slots, which should exist in the shadow root, and which
|
|
331
|
+
* are nodes that should be rendered as children of the parent node.
|
|
332
|
+
*
|
|
333
|
+
* @param parentVNode The vNode representing the parent node.
|
|
334
|
+
* @param childRenderNodes An array of all child nodes in the parent's node tree.
|
|
335
|
+
* @param slotNodes An array of all slot nodes in the parent's node tree.
|
|
336
|
+
* @param shadowRootNodes An array all nodes that should be rendered in the shadow root in the parent's node tree.
|
|
337
|
+
* @param hostElm The parent element.
|
|
338
|
+
* @param node The node to construct the vNode tree for.
|
|
339
|
+
* @param hostId The host ID assigned to the element by the server.
|
|
340
|
+
*/
|
|
341
|
+
const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
342
|
+
let childNodeType;
|
|
343
|
+
let childIdSplt;
|
|
344
|
+
let childVNode;
|
|
345
|
+
let i;
|
|
346
|
+
if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
347
|
+
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
348
|
+
if (childNodeType) {
|
|
349
|
+
// got the node data from the element's attribute
|
|
350
|
+
// `${hostId}.${nodeId}.${depth}.${index}`
|
|
351
|
+
childIdSplt = childNodeType.split('.');
|
|
352
|
+
if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
|
|
353
|
+
childVNode = {
|
|
354
|
+
$flags$: 0,
|
|
355
|
+
$hostId$: childIdSplt[0],
|
|
356
|
+
$nodeId$: childIdSplt[1],
|
|
357
|
+
$depth$: childIdSplt[2],
|
|
358
|
+
$index$: childIdSplt[3],
|
|
359
|
+
$tag$: node.tagName.toLowerCase(),
|
|
360
|
+
$elm$: node,
|
|
361
|
+
$attrs$: null,
|
|
362
|
+
$children$: null,
|
|
363
|
+
$key$: null,
|
|
364
|
+
$name$: null,
|
|
365
|
+
$text$: null,
|
|
366
|
+
};
|
|
367
|
+
childRenderNodes.push(childVNode);
|
|
368
|
+
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
369
|
+
// this is a new child vnode
|
|
370
|
+
// so ensure its parent vnode has the vchildren array
|
|
371
|
+
if (!parentVNode.$children$) {
|
|
372
|
+
parentVNode.$children$ = [];
|
|
373
|
+
}
|
|
374
|
+
// add our child vnode to a specific index of the vnode's children
|
|
375
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
376
|
+
// this is now the new parent vnode for all the next child checks
|
|
377
|
+
parentVNode = childVNode;
|
|
378
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
379
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
// recursively drill down, end to start so we can remove nodes
|
|
384
|
+
for (i = node.childNodes.length - 1; i >= 0; i--) {
|
|
385
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
|
|
386
|
+
}
|
|
387
|
+
if (node.shadowRoot) {
|
|
388
|
+
// keep drilling down through the shadow root nodes
|
|
389
|
+
for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
|
|
390
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
|
|
395
|
+
// `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
|
|
396
|
+
childIdSplt = node.nodeValue.split('.');
|
|
397
|
+
if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
|
|
398
|
+
// comment node for either the host id or a 0 host id
|
|
399
|
+
childNodeType = childIdSplt[0];
|
|
400
|
+
childVNode = {
|
|
401
|
+
$flags$: 0,
|
|
402
|
+
$hostId$: childIdSplt[1],
|
|
403
|
+
$nodeId$: childIdSplt[2],
|
|
404
|
+
$depth$: childIdSplt[3],
|
|
405
|
+
$index$: childIdSplt[4],
|
|
406
|
+
$elm$: node,
|
|
407
|
+
$attrs$: null,
|
|
408
|
+
$children$: null,
|
|
409
|
+
$key$: null,
|
|
410
|
+
$name$: null,
|
|
411
|
+
$tag$: null,
|
|
412
|
+
$text$: null,
|
|
413
|
+
};
|
|
414
|
+
if (childNodeType === TEXT_NODE_ID) {
|
|
415
|
+
childVNode.$elm$ = node.nextSibling;
|
|
416
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {
|
|
417
|
+
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
418
|
+
childRenderNodes.push(childVNode);
|
|
419
|
+
// remove the text comment since it's no longer needed
|
|
420
|
+
node.remove();
|
|
421
|
+
if (!parentVNode.$children$) {
|
|
422
|
+
parentVNode.$children$ = [];
|
|
423
|
+
}
|
|
424
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
425
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
426
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
else if (childVNode.$hostId$ === hostId) {
|
|
431
|
+
// this comment node is specifically for this host id
|
|
432
|
+
if (childNodeType === SLOT_NODE_ID) {
|
|
433
|
+
// `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
|
|
434
|
+
childVNode.$tag$ = 'slot';
|
|
435
|
+
if (childIdSplt[5]) {
|
|
436
|
+
node['s-sn'] = childVNode.$name$ = childIdSplt[5];
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
node['s-sn'] = '';
|
|
440
|
+
}
|
|
441
|
+
node['s-sr'] = true;
|
|
442
|
+
if (shadowRootNodes) {
|
|
443
|
+
// browser support shadowRoot and this is a shadow dom component
|
|
444
|
+
// create an actual slot element
|
|
445
|
+
childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
446
|
+
if (childVNode.$name$) {
|
|
447
|
+
// add the slot name attribute
|
|
448
|
+
childVNode.$elm$.setAttribute('name', childVNode.$name$);
|
|
449
|
+
}
|
|
450
|
+
// insert the new slot element before the slot comment
|
|
451
|
+
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
452
|
+
// remove the slot comment since it's not needed for shadow
|
|
453
|
+
node.remove();
|
|
454
|
+
if (childVNode.$depth$ === '0') {
|
|
455
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
slotNodes.push(childVNode);
|
|
459
|
+
if (!parentVNode.$children$) {
|
|
460
|
+
parentVNode.$children$ = [];
|
|
461
|
+
}
|
|
462
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
463
|
+
}
|
|
464
|
+
else if (childNodeType === CONTENT_REF_ID) {
|
|
465
|
+
// `${CONTENT_REF_ID}.${hostId}`;
|
|
466
|
+
if (shadowRootNodes) {
|
|
467
|
+
// remove the content ref comment since it's not needed for shadow
|
|
468
|
+
node.remove();
|
|
469
|
+
}
|
|
470
|
+
else {
|
|
471
|
+
hostElm['s-cr'] = node;
|
|
472
|
+
node['s-cn'] = true;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
else if (parentVNode && parentVNode.$tag$ === 'style') {
|
|
479
|
+
const vnode = newVNode(null, node.textContent);
|
|
480
|
+
vnode.$elm$ = node;
|
|
481
|
+
vnode.$index$ = '0';
|
|
482
|
+
parentVNode.$children$ = [vnode];
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
/**
|
|
486
|
+
* Recursively locate any comments representing an original location for a node in a node's
|
|
487
|
+
* children or shadowRoot children.
|
|
488
|
+
*
|
|
489
|
+
* @param node The node to search.
|
|
490
|
+
* @param orgLocNodes A map of the original location annotation and the current node being searched.
|
|
491
|
+
*/
|
|
492
|
+
const initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
493
|
+
if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
494
|
+
let i = 0;
|
|
495
|
+
for (; i < node.childNodes.length; i++) {
|
|
496
|
+
initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
|
|
497
|
+
}
|
|
498
|
+
if (node.shadowRoot) {
|
|
499
|
+
for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
|
|
500
|
+
initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
|
|
505
|
+
const childIdSplt = node.nodeValue.split('.');
|
|
506
|
+
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
507
|
+
orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
|
|
508
|
+
node.nodeValue = '';
|
|
509
|
+
// useful to know if the original location is
|
|
510
|
+
// the root light-dom of a shadow dom component
|
|
511
|
+
node['s-en'] = childIdSplt[3];
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
};
|
|
267
515
|
/**
|
|
268
516
|
* Parse a new property value for a given property type.
|
|
269
517
|
*
|
|
@@ -370,7 +618,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
370
618
|
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
371
619
|
}
|
|
372
620
|
if (!appliedStyles.has(scopeId)) {
|
|
373
|
-
|
|
621
|
+
if (styleContainerNode.host &&
|
|
622
|
+
(styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
|
|
623
|
+
// This is only happening on native shadow-dom, do not needs CSS var shim
|
|
624
|
+
styleElm.innerHTML = style;
|
|
625
|
+
}
|
|
626
|
+
else {
|
|
374
627
|
styleElm = doc.createElement('style');
|
|
375
628
|
styleElm.innerHTML = style;
|
|
376
629
|
// Apply CSP nonce to the style tag if it exists
|
|
@@ -418,6 +671,7 @@ const attachStyles = (hostRef) => {
|
|
|
418
671
|
endAttachStyles();
|
|
419
672
|
};
|
|
420
673
|
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
674
|
+
const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
|
|
421
675
|
/**
|
|
422
676
|
* Production setAccessor() function based on Preact by
|
|
423
677
|
* Jason Miller (@developit)
|
|
@@ -2067,7 +2321,18 @@ const connectedCallback = (elm) => {
|
|
|
2067
2321
|
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
2068
2322
|
// first time this component has connected
|
|
2069
2323
|
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
2324
|
+
let hostId;
|
|
2070
2325
|
{
|
|
2326
|
+
hostId = elm.getAttribute(HYDRATE_ID);
|
|
2327
|
+
if (hostId) {
|
|
2328
|
+
if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
2329
|
+
const scopeId = addStyle(elm.shadowRoot, cmpMeta);
|
|
2330
|
+
elm.classList.remove(scopeId + '-h', scopeId + '-s');
|
|
2331
|
+
}
|
|
2332
|
+
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
if (!hostId) {
|
|
2071
2336
|
// initUpdate
|
|
2072
2337
|
// if the slot polyfill is required we'll need to put some nodes
|
|
2073
2338
|
// in here to act as original content anchors as we move nodes around
|
|
@@ -2084,7 +2349,10 @@ const connectedCallback = (elm) => {
|
|
|
2084
2349
|
while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
|
|
2085
2350
|
// climb up the ancestors looking for the first
|
|
2086
2351
|
// component that hasn't finished its lifecycle update yet
|
|
2087
|
-
if (ancestorComponent
|
|
2352
|
+
if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
|
|
2353
|
+
ancestorComponent.hasAttribute('s-id') &&
|
|
2354
|
+
ancestorComponent['s-p']) ||
|
|
2355
|
+
ancestorComponent['s-p']) {
|
|
2088
2356
|
// we found this components first ancestor component
|
|
2089
2357
|
// keep a reference to this component's ancestor component
|
|
2090
2358
|
attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
|
|
@@ -2166,10 +2434,22 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2166
2434
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
2167
2435
|
const dataStyles = /*@__PURE__*/ doc.createElement('style');
|
|
2168
2436
|
const deferredConnectedCallbacks = [];
|
|
2437
|
+
const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
2169
2438
|
let appLoadFallback;
|
|
2170
2439
|
let isBootstrapping = true;
|
|
2440
|
+
let i = 0;
|
|
2171
2441
|
Object.assign(plt, options);
|
|
2172
2442
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
2443
|
+
{
|
|
2444
|
+
// If the app is already hydrated there is not point to disable the
|
|
2445
|
+
// async queue. This will improve the first input delay
|
|
2446
|
+
plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;
|
|
2447
|
+
}
|
|
2448
|
+
{
|
|
2449
|
+
for (; i < styles.length; i++) {
|
|
2450
|
+
registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2173
2453
|
let hasSlotRelocation = false;
|
|
2174
2454
|
lazyBundles.map((lazyBundle) => {
|
|
2175
2455
|
lazyBundle[1].map((compactMeta) => {
|
|
@@ -2418,6 +2698,9 @@ const plt = {
|
|
|
2418
2698
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2419
2699
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2420
2700
|
};
|
|
2701
|
+
const supportsShadow =
|
|
2702
|
+
// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
2703
|
+
true;
|
|
2421
2704
|
const supportsListenerOptions = /*@__PURE__*/ (() => {
|
|
2422
2705
|
let supportsListenerOptions = false;
|
|
2423
2706
|
try {
|
|
@@ -2493,4 +2776,4 @@ exports.promiseResolve = promiseResolve;
|
|
|
2493
2776
|
exports.registerInstance = registerInstance;
|
|
2494
2777
|
exports.setNonce = setNonce;
|
|
2495
2778
|
|
|
2496
|
-
//# sourceMappingURL=index-
|
|
2779
|
+
//# sourceMappingURL=index-af2145ac.js.map
|