@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-accordion.js","sourceRoot":"","sources":["../../../src/components/pds-accordion/pds-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhE;;;GAGG;AAMH,MAAM,OAAO,YAAY;;QAwBf,iBAAY,GAAG,GAAG,EAAE;YAC1B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;QACpC,CAAC,CAAA;QAEO,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,EAAE,CAAC;gBAC1B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;YACxB,CAAC;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CAAA;;sBAhBoB,KAAK;;IAG1B,eAAe,CAAC,QAAiB;QAC/B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;IACzB,CAAC;IAaD,gBAAgB;QACd,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAC,eAAe,EAAC,EAAE,EAAE,IAAI,CAAC,WAAW;YAC9C,gFAAa,IAAI,CAAC,gBAAgB,EAAE,IAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,GAAG,EAAwB;gBAC1F;oBACE,6DAAM,IAAI,EAAC,OAAO,cAAe;oBACjC,iEAAU,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,GAAI,CACnD;gBACV,4DAAK,KAAK,EAAC,qBAAqB;oBAC9B,8DAAQ,CACJ,CACE,CACL,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop, Watch } from '@stencil/core';\n\n/**\n * @slot (default) - Accordion body content.\n * @slot label - Accordion trigger button content.\n */\n@Component({\n tag: 'pds-accordion',\n styleUrl: 'pds-accordion.scss',\n shadow: true,\n})\nexport class PdsAccordion {\n private detailsEl: HTMLDetailsElement;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n * @defaultValue null\n */\n @Prop() componentId: string;\n\n /**\n * Can be used to manually set the open state of the accordion.\n * @defaultValue false\n */\n @Prop({ \n attribute: 'open',\n mutable: true,\n reflect: true \n }) isOpen: boolean = false;\n\n @Watch('isOpen')\n handleOpenState(newValue: boolean) {\n this.isOpen = newValue;\n }\n\n private handleToggle = () => {\n this.isOpen = this.detailsEl.open;\n }\n\n private getOpenAttribute = () => {\n if (this.isOpen !== false) {\n return { open: true };\n }\n return '';\n }\n\n componentDidLoad() {\n this.detailsEl.addEventListener('toggle', this.handleToggle);\n }\n\n render() {\n return (\n <Host class=\"pds-accordion\" id={this.componentId}>\n <details {...this.getOpenAttribute()} ref={(el) => this.detailsEl = el as HTMLDetailsElement}>\n <summary>\n <slot name=\"label\">Details</slot>\n <pds-icon name={this.isOpen ? 'up-small' : 'down-small'} />\n </summary>\n <div class=\"pds-accordion__body\">\n <slot />\n </div>\n </details>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { extractArgTypes } from '@pxtrn/storybook-addon-docs-stencil';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
args: {
|
|
6
|
+
componentId: '',
|
|
7
|
+
isOpen: false,
|
|
8
|
+
},
|
|
9
|
+
argTypes: extractArgTypes('pds-accordion'),
|
|
10
|
+
component: 'pds-accordion',
|
|
11
|
+
title: 'components/Accordion',
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const BaseTemplate = (args) => html`
|
|
15
|
+
<pds-accordion component-id="${args.componentId}" open="${args.isOpen}">
|
|
16
|
+
<pds-row align-items="center" slot="label">
|
|
17
|
+
<pds-box align-items="center">
|
|
18
|
+
<pds-icon name="products-outline"></pds-icon>
|
|
19
|
+
<span style="display: inline-block; margin-left: 8px;">Products</span>
|
|
20
|
+
</pds-box>
|
|
21
|
+
</pds-row>
|
|
22
|
+
<pds-row>
|
|
23
|
+
<pds-box direction="column" gap="xs" padding="xs">
|
|
24
|
+
<pds-link variant="plain" href="#">All products</pds-link>
|
|
25
|
+
<pds-link variant="plain" href="#">Courses</pds-link>
|
|
26
|
+
<pds-link variant="plain" href="#">Coaching</pds-link>
|
|
27
|
+
<pds-link variant="plain" href="#">Community</pds-link>
|
|
28
|
+
<pds-link variant="plain" href="#">Podcasts</pds-link>
|
|
29
|
+
</pds-box>
|
|
30
|
+
</pds-row>
|
|
31
|
+
</pds-accordion>
|
|
32
|
+
`;
|
|
33
|
+
|
|
34
|
+
export const Default = BaseTemplate.bind({});
|
|
@@ -52,7 +52,7 @@ export class PdsAvatar {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '179b1d53b2250e1fab6807a324c474c2d02c8d43', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "pds-avatar"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,7 +63,7 @@ export class PdsBox {
|
|
|
63
63
|
this.sizeXl == undefined ? 'pds-box' : ''}
|
|
64
64
|
`;
|
|
65
65
|
const boxInlineStyles = Object.assign(Object.assign(Object.assign(Object.assign({}, (this.backgroundColor && { '--box-background-color': this.backgroundColor })), (this.borderColor && { '--box-border-color': this.borderColor })), (this.minHeight && { '--box-min-height': this.minHeight })), (this.minWidth && { '--box-min-width': this.minWidth }));
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'c04696c04b987f82aa03e23d41078ffa32ed6e78', class: boxClasses, style: boxInlineStyles }));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "pds-box"; }
|
|
69
69
|
static get originalStyleUrls() {
|
|
@@ -40,7 +40,7 @@ export class PdsButton {
|
|
|
40
40
|
return classNames.join(' ');
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '0f8f16b8e8d941481d66f1833a4a7e5402aab2bc', "aria-disabled": this.disabled ? 'true' : null, id: this.componentId, onClick: this.handleClick, variant: this.variant }, h("button", { key: 'c8b0a1f8b0f6c984477e2bb6cdb77226f8250ac3', class: this.classNames(), disabled: this.disabled, name: this.name, part: "button", type: this.type, value: this.value }, this.icon && this.variant !== 'disclosure' && h("pds-icon", { name: this.icon, part: "icon" }), h("slot", { key: '76310f327aad59ecd150261a186e256c52cf6251' }), this.variant === 'disclosure' && h("pds-icon", { name: "caret-down", part: "caret" }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "pds-button"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class PdsCheckbox {
|
|
|
41
41
|
return classNames.join(' ');
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'df4d541eb43253bac6d9f0396d5af5c0a0181db0', class: this.classNames() }, h("input", { key: '59f4ff764cdf4fac9ff38a734b91cf31219f2a59', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "checkbox", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleCheckboxChange }), h(PdsLabel, { key: '99da91ab0d67c72f29092a623164b0822ff56a66', htmlFor: this.componentId, text: this.label, classNames: this.labelHidden ? 'visually-hidden' : '' }), this.helperMessage &&
|
|
45
45
|
h("div", { class: 'pds-checkbox__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
46
46
|
h("div", { class: `pds-checkbox__message pds-checkbox__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
|
|
47
47
|
}
|
|
@@ -30,7 +30,7 @@ export class PdsChip {
|
|
|
30
30
|
return chipContent;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '224fcbae613eb1a7a8ab5661582e06612aa3c491', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.variant === 'tag' && (h("button", { class: "pds-chip__close", type: "button", onClick: this.handleCloseClick, "aria-label": "Remove" }, h("pds-icon", { name: "remove", size: "12px" })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "pds-chip"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class PdsCopytext {
|
|
|
49
49
|
return classNames.join(' ');
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '650ef9a2f68e604211c98721ef61e68a44a619b2', class: this.classNames(), id: this.componentId }, h("pds-button", { key: '3c4e3d7779e794c65115431ea93e6c321c5e8f83', type: "button", variant: "unstyled", onClick: this.handleClick }, h("span", { key: 'e755703bd191e440d1b10250027c1dfcf1340cbe' }, this.value), h("pds-icon", { key: '6fc35fd7fef1a98b9f248054a2927a1b006561d0', name: "copy", size: "16px" }))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "pds-copytext"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class PdsDivider {
|
|
|
17
17
|
return classNames.join(' ');
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'd5d42d70c2417e0fc801f87f8460557bb1756443', id: this.componentId }, h("hr", { key: '49554a46b6949d09adc4794b22441a1f76eb1d13', class: this.classNames() })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "pds-divider"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ export class PdsImage {
|
|
|
11
11
|
this.width = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '835f04e58f7a7f831575512bb4582fc22a563652', class: {
|
|
15
15
|
'pds-image': true,
|
|
16
|
-
}, id: this.componentId }, h("img", { key: '
|
|
16
|
+
}, id: this.componentId }, h("img", { key: 'd002c0ae968a6a4a8d965c9bbae905da31629d7f', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "pds-image"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class PdsInput {
|
|
|
24
24
|
this.value = undefined;
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: 'bb6e9f4cb7515c3b8fbbc583ba1c9ade05d8ae90', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '960462be7a176c6b62412ce4b44af79f9b137a0c', class: "pds-input" }, h(PdsLabel, { key: 'beb8f1c8e8a1b4b692d2838abc99e427cc13c392', htmlFor: this.componentId, text: this.label }), h("input", { key: 'c69ceb5d687fb37b843e71e8aa9bad8b9f7bcaa8', class: "pds-input__field", "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, 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 &&
|
|
28
28
|
h("p", { class: "pds-input__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
29
29
|
h("p", { class: "pds-input__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage))));
|
|
30
30
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { launch } from "@pine-ds/icons/icons";
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* @part link - The main link element that represents the link component.
|
|
5
|
+
* @slot - Content is placed between the opening closing tags.
|
|
5
6
|
*/
|
|
6
7
|
export class PdsLink {
|
|
7
8
|
constructor() {
|
|
@@ -22,7 +23,7 @@ export class PdsLink {
|
|
|
22
23
|
return classNames.join(' ');
|
|
23
24
|
}
|
|
24
25
|
render() {
|
|
25
|
-
return (h("a", { key: '
|
|
26
|
+
return (h("a", { key: '72e9712a881a175bab71e2d9beb2d0307582bde3', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined, part: "link" }, h("slot", { key: '13f8e29adcfc55e7aeb62bd5e67105ce4d21eca7' }, this.href), this.external &&
|
|
26
27
|
h("pds-icon", { icon: launch, size: this.fontSize })));
|
|
27
28
|
}
|
|
28
29
|
static get is() { return "pds-link"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-link.js","sourceRoot":"","sources":["../../../src/components/pds-link/pds-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C
|
|
1
|
+
{"version":3,"file":"pds-link.js","sourceRoot":"","sources":["../../../src/components/pds-link/pds-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C;;;GAGG;AAMH,MAAM,OAAO,OAAO;;;wBAUC,KAAK;uBAMc,QAAQ;wBAUP,IAAI;;;IAOnC,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QAEJ,OAAO,CACL,0DACE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC5C,IAAI,EAAC,MAAM;YAEX,+DAAO,IAAI,CAAC,IAAI,CAAQ;YACvB,IAAI,CAAC,QAAQ;gBACZ,gBAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAa,CAExD,CACL,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\nimport { launch } from '@pine-ds/icons/icons';\n\n/**\n * @part link - The main link element that represents the link component.\n * @slot - Content is placed between the opening closing tags.\n */\n@Component({\n tag: 'pds-link',\n styleUrl: 'pds-link.scss',\n shadow: true,\n})\nexport class PdsLink {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * When enabled, opens link in a new tab.\n * @defaultValue false\n */\n @Prop() external = false;\n\n /**\n *\n * Modifies the look of the link\n */\n @Prop() variant: 'inline' | 'plain' = 'inline';\n\n /**\n *\n * The Font size follows t-shirt model\n * sm: 12px\n * md: 14px\n * lg: 16px\n * @defaultValue lg\n */\n @Prop() fontSize: 'sm' | 'md' | 'lg' = 'lg';\n\n /**\n * The URL that the hyperlink points to.\n */\n @Prop() href!: string;\n\n private classNames() {\n const classNames = ['pds-link'];\n\n if (this.fontSize) {\n classNames.push('pds-link--' + this.fontSize);\n }\n\n if (this.variant) {\n classNames.push('pds-link--' + this.variant);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n\n return (\n <a\n class={this.classNames()}\n href={this.href}\n id={this.componentId}\n target={this.external ? '_blank' : undefined}\n part=\"link\"\n >\n <slot>{this.href}</slot>\n {this.external &&\n <pds-icon icon={launch} size={this.fontSize}></pds-icon>\n }\n </a>\n );\n }\n}\n"]}
|
|
@@ -9,7 +9,7 @@ export class PdsProgress {
|
|
|
9
9
|
this.showPercent = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
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, "%")));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "pds-progress"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class PdsRadio {
|
|
|
33
33
|
return classNames.join(' ');
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
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 &&
|
|
37
37
|
h("div", { class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
38
38
|
h("div", { class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
|
|
39
39
|
}
|
|
@@ -32,7 +32,7 @@ export class PdsRow {
|
|
|
32
32
|
})), (this.minHeight && {
|
|
33
33
|
'min-height': this.minHeight,
|
|
34
34
|
}));
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'a0661e2e13c93d93f8fd8a2f692adce3eac2b9f7', class: `pds-row ${rowClasses}`, style: rowInlineStyles }));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "pds-row"; }
|
|
38
38
|
static get originalStyleUrls() {
|
|
@@ -9,7 +9,7 @@ export class PdsSortableItem {
|
|
|
9
9
|
this.handle = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
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" })))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "pds-sortable-item"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class PdsSortable {
|
|
|
35
35
|
Sortable.create(this.el, sortableOptions);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'ec0e4e8ab9f84b3163160f23cfe15796b1c8ca79', class: this.classNames(), id: this.componentId }, h("slot", { key: '9c3f9cbc3b0cdd50bc57d0f4f2a6231d1f2f9d2e' })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "pds-sortable"; }
|
|
41
41
|
static get encapsulation() { return "scoped"; }
|
|
@@ -34,7 +34,7 @@ export class PdsSwitch {
|
|
|
34
34
|
this.value = undefined;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
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 &&
|
|
38
38
|
h("div", { class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
39
39
|
h("div", { class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage)));
|
|
40
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class PdsTableBody {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '8d71f826ae509e6ca5ab06016c3343036840af88', role: "rowgroup" }, h("slot", { key: 'b34bf96e2dc5232585dc3a28bbd81f5eafa42748' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pds-table-body"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,11 +34,11 @@ export class PdsTableCell {
|
|
|
34
34
|
return classNames.join(' ');
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '71ff527047eaafcf9b9c57a6aa96634e4a887f0b', class: this.classNames(), role: "gridcell", style: this.tableRef &&
|
|
38
38
|
this.tableRef.fixedColumn &&
|
|
39
39
|
this.tableRef.selectable
|
|
40
40
|
? { '--fixed-cell-position': '40px' }
|
|
41
|
-
: {} }, h("slot", { key: '
|
|
41
|
+
: {} }, h("slot", { key: 'b62c595da7fbf8795e90c67c3d50b9f5e7449067' })));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "pds-table-cell"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class PdsTableHead {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
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' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "pds-table-head"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,11 +49,11 @@ export class PdsTableHeadCell {
|
|
|
49
49
|
return classNames.join(' ');
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'de6a3a9f17d49206d61755cf49902ca414982ad3', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
|
|
53
53
|
this.tableRef.fixedColumn &&
|
|
54
54
|
this.tableRef.selectable
|
|
55
55
|
? { '--fixed-cell-position': '40px' }
|
|
56
|
-
: {} }, h("slot", { key: '
|
|
56
|
+
: {} }, h("slot", { key: 'c46427a01cd95972cb97fd244e4caf348bdefe03' }), this.sortable && (h("pds-icon", { name: this.sortingDirection === 'asc' ? 'up-small' : 'down-small' }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "pds-table-head-cell"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class PdsTableRow {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
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' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "pds-table-row"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,7 +58,7 @@ export class PdsTable {
|
|
|
58
58
|
this.sortingDirection = direction;
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '61e4788551b8e01ce7e5d0e96869b742157a9f2b', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable }, h("slot", { key: 'bab0e40123fe8bc257221bbd1a2b2f6076a6c691' })));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "pds-table"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ export class PdsTab {
|
|
|
11
11
|
this.pdsTabClick.emit([index, parentComponentId]);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
const availabilityTabEdgeInlineStart = (h("span", { key: '
|
|
15
|
-
const availabilityTabEdgeInlineEnd = (h("span", { key: '
|
|
16
|
-
return (h(Host, { key: '
|
|
14
|
+
const availabilityTabEdgeInlineStart = (h("span", { key: '08277d7cbe950dd18f41bd95c90f7c7389833311', class: "pds-tab-edge", role: "presentation" }));
|
|
15
|
+
const availabilityTabEdgeInlineEnd = (h("span", { key: '02d2d1acbc122a56bd01c53af8ff0f42b46cb3db', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
16
|
+
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' })))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "pds-tab"; }
|
|
19
19
|
static get originalStyleUrls() {
|
|
@@ -7,7 +7,7 @@ export class PdsTabpanel {
|
|
|
7
7
|
this.selected = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
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' }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "pds-tabpanel"; }
|
|
13
13
|
static get originalStyleUrls() {
|
|
@@ -83,7 +83,7 @@ export class PdsTabs {
|
|
|
83
83
|
this.passPropsToChildren();
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
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" })));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "pds-tabs"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,8 +32,8 @@ export class PdsTextarea {
|
|
|
32
32
|
return classNames.join(' ');
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
36
|
-
h(PdsLabel, { htmlFor: this.componentId, text: this.label }), h("textarea", { key: '
|
|
35
|
+
return (h(Host, { key: '741dcb258f9992f943e898b4f8ac569046f40a73', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: 'cb678d3e24cec028b7220b4d087e82ce24e26205', class: "pds-textarea" }, this.label &&
|
|
36
|
+
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 &&
|
|
37
37
|
h("p", { class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
|
|
38
38
|
h("p", { "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, this.errorMessage))));
|
|
39
39
|
}
|
|
@@ -58,13 +58,13 @@ export class PdsTooltip {
|
|
|
58
58
|
this.opened = false;
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'b4b6ca5fbf3a5b99b4fe74d4b874c81f51d46e8d', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, h("div", { key: '234af23d5c082cbaf02c3f4026d094e19514520e', class: `
|
|
62
62
|
pds-tooltip
|
|
63
63
|
pds-tooltip--${this.placement}
|
|
64
64
|
${this.htmlContent ? 'pds-tooltip--has-html-content' : ''}
|
|
65
65
|
${this.opened ? 'pds-tooltip--is-open' : ''}
|
|
66
66
|
${this.hasArrow ? '' : 'pds-tooltip--no-arrow'}
|
|
67
|
-
` }, h("span", { key: '
|
|
67
|
+
` }, 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))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "pds-tooltip"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
package/dist/docs.json
CHANGED
|
@@ -1,11 +1,108 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-
|
|
2
|
+
"timestamp": "2024-03-08T19:33:40",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.12.0",
|
|
6
6
|
"typescriptVersion": "5.3.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
9
|
+
{
|
|
10
|
+
"filePath": "src/components/pds-accordion/pds-accordion.tsx",
|
|
11
|
+
"encapsulation": "shadow",
|
|
12
|
+
"tag": "pds-accordion",
|
|
13
|
+
"readme": "# pds-accordion\n\n\n",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"docsTags": [
|
|
16
|
+
{
|
|
17
|
+
"name": "slot",
|
|
18
|
+
"text": "(default) - Accordion body content."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "slot",
|
|
22
|
+
"text": "label - Accordion trigger button content."
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"usage": {},
|
|
26
|
+
"props": [
|
|
27
|
+
{
|
|
28
|
+
"name": "componentId",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "string",
|
|
32
|
+
"resolved": "string",
|
|
33
|
+
"references": {}
|
|
34
|
+
},
|
|
35
|
+
"mutable": false,
|
|
36
|
+
"attr": "component-id",
|
|
37
|
+
"reflectToAttr": false,
|
|
38
|
+
"docs": "A unique identifier used for the underlying component `id` attribute.",
|
|
39
|
+
"docsTags": [
|
|
40
|
+
{
|
|
41
|
+
"name": "defaultValue",
|
|
42
|
+
"text": "null"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"values": [
|
|
46
|
+
{
|
|
47
|
+
"type": "string"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"optional": false,
|
|
51
|
+
"required": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "isOpen",
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"complexType": {
|
|
57
|
+
"original": "boolean",
|
|
58
|
+
"resolved": "boolean",
|
|
59
|
+
"references": {}
|
|
60
|
+
},
|
|
61
|
+
"mutable": true,
|
|
62
|
+
"attr": "open",
|
|
63
|
+
"reflectToAttr": true,
|
|
64
|
+
"docs": "Can be used to manually set the open state of the accordion.",
|
|
65
|
+
"docsTags": [
|
|
66
|
+
{
|
|
67
|
+
"name": "defaultValue",
|
|
68
|
+
"text": "false"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"default": "false",
|
|
72
|
+
"values": [
|
|
73
|
+
{
|
|
74
|
+
"type": "boolean"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"optional": false,
|
|
78
|
+
"required": false
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"methods": [],
|
|
82
|
+
"events": [],
|
|
83
|
+
"listeners": [],
|
|
84
|
+
"styles": [],
|
|
85
|
+
"slots": [
|
|
86
|
+
{
|
|
87
|
+
"name": "(default)",
|
|
88
|
+
"docs": "Accordion body content."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "label",
|
|
92
|
+
"docs": "Accordion trigger button content."
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"parts": [],
|
|
96
|
+
"dependents": [],
|
|
97
|
+
"dependencies": [
|
|
98
|
+
"pds-icon"
|
|
99
|
+
],
|
|
100
|
+
"dependencyGraph": {
|
|
101
|
+
"pds-accordion": [
|
|
102
|
+
"pds-icon"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
},
|
|
9
106
|
{
|
|
10
107
|
"filePath": "src/components/pds-avatar/pds-avatar.tsx",
|
|
11
108
|
"encapsulation": "shadow",
|
|
@@ -3278,9 +3375,13 @@
|
|
|
3278
3375
|
"readme": "# pds-link\n\nLink is mainly used as navigational element and usually appear within or directly following a paragraph or sentence. The \"plain link\" is used for interactive user generated text like product, post, and offer titles.\n",
|
|
3279
3376
|
"docs": "Link is mainly used as navigational element and usually appear within or directly following a paragraph or sentence. The \"plain link\" is used for interactive user generated text like product, post, and offer titles.",
|
|
3280
3377
|
"docsTags": [
|
|
3378
|
+
{
|
|
3379
|
+
"name": "part",
|
|
3380
|
+
"text": "link - The main link element that represents the link component."
|
|
3381
|
+
},
|
|
3281
3382
|
{
|
|
3282
3383
|
"name": "slot",
|
|
3283
|
-
"text": "- Content is placed between the opening closing tags"
|
|
3384
|
+
"text": "- Content is placed between the opening closing tags."
|
|
3284
3385
|
}
|
|
3285
3386
|
],
|
|
3286
3387
|
"usage": {},
|
|
@@ -3425,10 +3526,15 @@
|
|
|
3425
3526
|
"slots": [
|
|
3426
3527
|
{
|
|
3427
3528
|
"name": "",
|
|
3428
|
-
"docs": "Content is placed between the opening closing tags"
|
|
3529
|
+
"docs": "Content is placed between the opening closing tags."
|
|
3530
|
+
}
|
|
3531
|
+
],
|
|
3532
|
+
"parts": [
|
|
3533
|
+
{
|
|
3534
|
+
"name": "link",
|
|
3535
|
+
"docs": "The main link element that represents the link component."
|
|
3429
3536
|
}
|
|
3430
3537
|
],
|
|
3431
|
-
"parts": [],
|
|
3432
3538
|
"dependents": [],
|
|
3433
3539
|
"dependencies": [
|
|
3434
3540
|
"pds-icon"
|