@pine-ds/core 4.4.3 → 4.4.4
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/attributes.js +1 -1
- package/components/closest.js +1 -1
- package/components/pds-avatar.js +1 -1
- package/components/pds-box2.js +1 -1
- package/components/pds-checkbox2.js +1 -1
- package/components/pds-chip2.js +1 -1
- package/components/pds-combobox.js +2 -2
- package/components/pds-copytext.js +1 -1
- package/components/pds-datepicker.js +1 -1
- package/components/pds-drawer-content.js +1 -1
- package/components/pds-drawer-footer.js +1 -1
- package/components/pds-drawer-header.js +1 -1
- package/components/pds-drawer.js +1 -1
- package/components/pds-dropdown-menu.js +1 -1
- package/components/pds-loader2.js +1 -1
- package/components/pds-modal-content.js +1 -1
- package/components/pds-modal-footer.js +1 -1
- package/components/pds-modal-header.js +1 -1
- package/components/pds-modal2.js +1 -1
- package/components/pds-popover.js +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-radio-group.js +1 -1
- package/components/pds-radio.js +1 -1
- package/components/pds-row.js +1 -1
- package/components/pds-select.js +1 -1
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +2 -2
- package/components/pds-switch.js +1 -1
- package/components/pds-table-head.js +1 -1
- package/components/pds-table-row.js +1 -1
- package/components/pds-tabpanel.js +1 -1
- package/components/pds-tabs.js +1 -1
- package/components/pds-tooltip.js +1 -1
- package/components/reflected-attribute-default.js +1 -0
- package/dist/cjs/attributes-DrQqSEv4.js +188 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +17 -1
- package/dist/cjs/pds-box.cjs.entry.js +11 -1
- package/dist/cjs/pds-checkbox.cjs.entry.js +11 -4
- package/dist/cjs/pds-chip.cjs.entry.js +10 -1
- package/dist/cjs/pds-combobox.cjs.entry.js +11 -6
- package/dist/cjs/pds-copytext.cjs.entry.js +16 -1
- package/dist/cjs/pds-drawer-content.cjs.entry.js +1 -1
- package/dist/cjs/pds-drawer-footer.cjs.entry.js +1 -1
- package/dist/cjs/pds-drawer-header.cjs.entry.js +1 -1
- package/dist/cjs/pds-drawer.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +39 -9
- package/dist/cjs/pds-input.cjs.entry.js +1 -1
- package/dist/cjs/pds-loader.cjs.entry.js +27 -1
- package/dist/cjs/pds-modal-content.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal.cjs.entry.js +135 -49
- package/dist/cjs/pds-popover.cjs.entry.js +81 -13
- package/dist/cjs/pds-progress.cjs.entry.js +12 -1
- package/dist/cjs/pds-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/pds-radio.cjs.entry.js +11 -3
- package/dist/cjs/pds-row.cjs.entry.js +11 -1
- package/dist/cjs/pds-select.cjs.entry.js +13 -1
- package/dist/cjs/pds-sortable-item.cjs.entry.js +10 -1
- package/dist/cjs/pds-sortable.cjs.entry.js +11 -1
- package/dist/cjs/pds-switch.cjs.entry.js +12 -4
- package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabs.cjs.entry.js +13 -1
- package/dist/cjs/pds-textarea.cjs.entry.js +1 -1
- package/dist/cjs/pds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/pine-core.cjs.js +1 -1
- package/dist/cjs/reflected-attribute-default-DVYHG6O1.js +44 -0
- package/dist/collection/components/pds-avatar/pds-avatar.js +20 -3
- package/dist/collection/components/pds-box/pds-box.js +14 -1
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +11 -4
- package/dist/collection/components/pds-chip/pds-chip.js +10 -1
- package/dist/collection/components/pds-combobox/pds-combobox.css +14 -2
- package/dist/collection/components/pds-combobox/pds-combobox.js +33 -5
- package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +41 -0
- package/dist/collection/components/pds-copytext/pds-copytext.js +17 -2
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +2 -1
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +4 -1
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +4 -1
- package/dist/collection/components/pds-drawer/pds-drawer.js +3 -2
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +39 -9
- package/dist/collection/components/pds-loader/pds-loader.js +29 -2
- package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +5 -2
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +4 -1
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +4 -1
- package/dist/collection/components/pds-modal/pds-modal.js +138 -49
- package/dist/collection/components/pds-popover/pds-popover.js +83 -14
- package/dist/collection/components/pds-progress/pds-progress.js +12 -1
- package/dist/collection/components/pds-radio/pds-radio.js +12 -3
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +4 -3
- package/dist/collection/components/pds-row/pds-row.js +14 -1
- package/dist/collection/components/pds-select/pds-select.js +13 -1
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +11 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +14 -1
- package/dist/collection/components/pds-switch/pds-switch.js +12 -4
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +4 -1
- package/dist/collection/components/pds-tabs/pds-tabs.js +13 -1
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +3 -2
- package/dist/collection/utils/attributes.js +101 -0
- package/dist/collection/utils/reflected-attribute-default.js +40 -0
- package/dist/collection/utils/test/host-strip.js +50 -0
- package/dist/docs.json +129 -19
- package/dist/esm/attributes-myrJDwbR.js +183 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pds-avatar.entry.js +18 -2
- package/dist/esm/pds-box.entry.js +12 -2
- package/dist/esm/pds-checkbox.entry.js +11 -4
- package/dist/esm/pds-chip.entry.js +10 -1
- package/dist/esm/pds-combobox.entry.js +11 -6
- package/dist/esm/pds-copytext.entry.js +16 -1
- package/dist/esm/pds-drawer-content.entry.js +1 -1
- package/dist/esm/pds-drawer-footer.entry.js +1 -1
- package/dist/esm/pds-drawer-header.entry.js +1 -1
- package/dist/esm/pds-drawer.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu.entry.js +39 -9
- package/dist/esm/pds-input.entry.js +1 -1
- package/dist/esm/pds-loader.entry.js +28 -2
- package/dist/esm/pds-modal-content.entry.js +2 -2
- package/dist/esm/pds-modal-footer.entry.js +1 -1
- package/dist/esm/pds-modal-header.entry.js +1 -1
- package/dist/esm/pds-modal.entry.js +135 -49
- package/dist/esm/pds-popover.entry.js +81 -13
- package/dist/esm/pds-progress.entry.js +13 -2
- package/dist/esm/pds-radio-group.entry.js +3 -3
- package/dist/esm/pds-radio.entry.js +11 -3
- package/dist/esm/pds-row.entry.js +12 -2
- package/dist/esm/pds-select.entry.js +13 -1
- package/dist/esm/pds-sortable-item.entry.js +10 -1
- package/dist/esm/pds-sortable.entry.js +11 -1
- package/dist/esm/pds-switch.entry.js +12 -4
- package/dist/esm/pds-tabpanel.entry.js +1 -1
- package/dist/esm/pds-tabs.entry.js +13 -1
- package/dist/esm/pds-textarea.entry.js +1 -1
- package/dist/esm/pds-tooltip.entry.js +2 -2
- package/dist/esm/pine-core.js +1 -1
- package/dist/esm/reflected-attribute-default-t3idJwV0.js +42 -0
- package/dist/esm-es5/attributes-myrJDwbR.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-combobox.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-content.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-footer.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-header.entry.js +1 -1
- package/dist/esm-es5/pds-drawer.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-loader.entry.js +1 -1
- package/dist/esm-es5/pds-modal-content.entry.js +1 -1
- package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
- package/dist/esm-es5/pds-modal-header.entry.js +1 -1
- package/dist/esm-es5/pds-modal.entry.js +1 -1
- package/dist/esm-es5/pds-popover.entry.js +1 -1
- package/dist/esm-es5/pds-progress.entry.js +1 -1
- package/dist/esm-es5/pds-radio-group.entry.js +1 -1
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-row.entry.js +1 -1
- package/dist/esm-es5/pds-select.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +2 -2
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-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/reflected-attribute-default-t3idJwV0.js +1 -0
- package/dist/pine-core/p-09d10e9e.entry.js +7 -0
- package/dist/pine-core/p-1feace6a.system.entry.js +1 -0
- package/dist/pine-core/p-21abd971.entry.js +1 -0
- package/dist/pine-core/p-2212224a.system.entry.js +1 -0
- package/dist/pine-core/p-2806fa55.system.entry.js +1 -0
- package/dist/pine-core/p-2dd3ab72.entry.js +1 -0
- package/dist/pine-core/p-30784d57.entry.js +1 -0
- package/dist/pine-core/p-3088cd66.entry.js +1 -0
- package/dist/pine-core/p-3e829372.system.entry.js +1 -0
- package/dist/pine-core/{p-67227922.entry.js → p-44cbdf94.system.entry.js} +1 -1
- package/dist/pine-core/p-4765f7f0.entry.js +1 -0
- package/dist/pine-core/{p-d00c5b9c.system.entry.js → p-48ab7da8.system.entry.js} +1 -1
- package/dist/pine-core/{p-c5c46b65.entry.js → p-4af5f936.entry.js} +1 -1
- package/dist/pine-core/{p-b823bde2.system.entry.js → p-5064f007.system.entry.js} +1 -1
- package/dist/pine-core/p-5081a96f.entry.js +1 -0
- package/dist/pine-core/p-51eb36f4.system.entry.js +3 -0
- package/dist/pine-core/p-5527e825.system.entry.js +1 -0
- package/dist/pine-core/{p-8d42f505.entry.js → p-5db91557.entry.js} +1 -1
- package/dist/pine-core/p-62377463.system.entry.js +1 -0
- package/dist/pine-core/{p-d11e4956.entry.js → p-63644dbd.entry.js} +1 -1
- package/dist/pine-core/p-6d6079f5.entry.js +1 -0
- package/dist/pine-core/p-7386bbdf.system.entry.js +1 -0
- package/dist/pine-core/p-74d93179.system.entry.js +1 -0
- package/dist/pine-core/p-7647b568.system.entry.js +1 -0
- package/dist/pine-core/{p-5e9396e2.system.entry.js → p-7698fcfa.system.entry.js} +1 -1
- package/dist/pine-core/{p-b802776b.system.entry.js → p-778a0228.system.entry.js} +1 -1
- package/dist/pine-core/{p-f5677949.system.entry.js → p-7a9c687d.system.entry.js} +1 -1
- package/dist/pine-core/{p-9b262a9d.entry.js → p-85d77b55.entry.js} +1 -1
- package/dist/pine-core/p-88728d46.system.entry.js +1 -0
- package/dist/pine-core/{p-6b25f349.system.entry.js → p-8d8512ae.system.entry.js} +1 -1
- package/dist/pine-core/p-93341083.system.entry.js +1 -0
- package/dist/pine-core/{p-871894e1.entry.js → p-95649e1c.entry.js} +1 -1
- package/dist/pine-core/p-97c04215.system.entry.js +1 -0
- package/dist/pine-core/p-9ca1b473.system.entry.js +1 -0
- package/dist/pine-core/p-Bkho_oFB.system.js +1 -0
- package/dist/pine-core/p-BwmzR47K.system.js +1 -0
- package/dist/pine-core/p-DO9XKAkv.system.js +1 -1
- package/dist/pine-core/p-a0f8a61a.entry.js +1 -0
- package/dist/pine-core/p-a232dc19.entry.js +1 -0
- package/dist/pine-core/p-a8884f2d.system.entry.js +1 -0
- package/dist/pine-core/{p-601b646c.system.entry.js → p-a8f23db0.system.entry.js} +1 -1
- package/dist/pine-core/p-a9ea3c9d.entry.js +1 -0
- package/dist/pine-core/{p-495f791c.entry.js → p-b15777a2.entry.js} +1 -1
- package/dist/pine-core/p-bc7ba7d3.system.entry.js +1 -0
- package/dist/pine-core/{p-7608e9b2.entry.js → p-c497d6c6.entry.js} +1 -1
- package/dist/pine-core/p-c971cdb3.entry.js +1 -0
- package/dist/pine-core/p-cdd21cbe.entry.js +1 -0
- package/dist/pine-core/p-ce74a47e.entry.js +2 -0
- package/dist/pine-core/p-cf4758a7.entry.js +1 -0
- package/dist/pine-core/{p-f2560935.entry.js → p-cfc9d4a8.entry.js} +1 -1
- package/dist/pine-core/p-d1b0b372.entry.js +1 -0
- package/dist/pine-core/p-d6002d5b.entry.js +1 -0
- package/dist/pine-core/{p-773f5771.system.entry.js → p-d8a6298c.system.entry.js} +1 -1
- package/dist/pine-core/p-d933227e.system.entry.js +1 -0
- package/dist/pine-core/p-d962fc84.entry.js +1 -0
- package/dist/pine-core/p-dafff7dd.system.entry.js +1 -0
- package/dist/pine-core/p-ed22da0c.system.entry.js +1 -0
- package/dist/pine-core/{p-de740b3e.system.entry.js → p-f0632690.system.entry.js} +1 -1
- package/dist/pine-core/p-f1c6b23a.entry.js +1 -0
- package/dist/pine-core/p-f3188c57.system.entry.js +8 -0
- package/dist/pine-core/p-f33d6417.entry.js +1 -0
- package/dist/pine-core/p-f832dcd9.entry.js +1 -0
- package/dist/pine-core/p-f83fe305.entry.js +1 -0
- package/dist/pine-core/p-myrJDwbR.js +1 -0
- package/dist/pine-core/p-t3idJwV0.js +1 -0
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +3 -0
- package/dist/types/components/pds-box/pds-box.d.ts +7 -0
- package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +2 -0
- package/dist/types/components/pds-chip/pds-chip.d.ts +2 -0
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +5 -0
- package/dist/types/components/pds-copytext/pds-copytext.d.ts +3 -0
- package/dist/types/components/pds-drawer/pds-drawer-content/pds-drawer-content.d.ts +1 -0
- package/dist/types/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.d.ts +3 -0
- package/dist/types/components/pds-drawer/pds-drawer-header/pds-drawer-header.d.ts +3 -0
- package/dist/types/components/pds-drawer/pds-drawer.d.ts +1 -0
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +4 -0
- package/dist/types/components/pds-loader/pds-loader.d.ts +5 -0
- package/dist/types/components/pds-modal/pds-modal-content/pds-modal-content.d.ts +3 -0
- package/dist/types/components/pds-modal/pds-modal-footer/pds-modal-footer.d.ts +3 -0
- package/dist/types/components/pds-modal/pds-modal-header/pds-modal-header.d.ts +3 -0
- package/dist/types/components/pds-modal/pds-modal.d.ts +9 -1
- package/dist/types/components/pds-popover/pds-popover.d.ts +15 -0
- package/dist/types/components/pds-progress/pds-progress.d.ts +4 -0
- package/dist/types/components/pds-radio/pds-radio.d.ts +3 -0
- package/dist/types/components/pds-radio-group/pds-radio-group.d.ts +1 -0
- package/dist/types/components/pds-row/pds-row.d.ts +7 -0
- package/dist/types/components/pds-select/pds-select.d.ts +2 -0
- package/dist/types/components/pds-sortable/pds-sortable-item/pds-sortable-item.d.ts +4 -0
- package/dist/types/components/pds-sortable/pds-sortable.d.ts +6 -0
- package/dist/types/components/pds-switch/pds-switch.d.ts +2 -0
- package/dist/types/components/pds-tabs/pds-tab/pds-tab.d.ts +3 -0
- package/dist/types/components/pds-tabs/pds-tabpanel/pds-tabpanel.d.ts +3 -0
- package/dist/types/components/pds-tabs/pds-tabs.d.ts +3 -0
- package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +199 -0
- package/dist/types/utils/attributes.d.ts +38 -0
- package/dist/types/utils/reflected-attribute-default.d.ts +31 -0
- package/dist/types/utils/test/host-strip.d.ts +10 -0
- package/dist/vscode.html-data.json +7 -0
- package/hydrate/index.js +717 -201
- package/hydrate/index.mjs +717 -201
- package/package.json +2 -2
- package/dist/cjs/attributes-oNMnBEnP.js +0 -85
- package/dist/esm/attributes-C0M1gTKv.js +0 -82
- package/dist/esm-es5/attributes-C0M1gTKv.js +0 -1
- package/dist/pine-core/p-015d2ceb.entry.js +0 -1
- package/dist/pine-core/p-02a428af.system.entry.js +0 -1
- package/dist/pine-core/p-06534502.entry.js +0 -1
- package/dist/pine-core/p-0827c6a6.entry.js +0 -1
- package/dist/pine-core/p-0af4685d.entry.js +0 -1
- package/dist/pine-core/p-1747c005.system.entry.js +0 -1
- package/dist/pine-core/p-2a00844f.entry.js +0 -1
- package/dist/pine-core/p-3653fd52.system.entry.js +0 -1
- package/dist/pine-core/p-4a43fbd9.entry.js +0 -1
- package/dist/pine-core/p-517f9962.entry.js +0 -1
- package/dist/pine-core/p-569b07ed.system.entry.js +0 -1
- package/dist/pine-core/p-5986f3c9.entry.js +0 -1
- package/dist/pine-core/p-600be0e1.entry.js +0 -1
- package/dist/pine-core/p-62045f88.system.entry.js +0 -1
- package/dist/pine-core/p-62241978.entry.js +0 -1
- package/dist/pine-core/p-63422f56.entry.js +0 -2
- package/dist/pine-core/p-63930a06.system.entry.js +0 -1
- package/dist/pine-core/p-6516adf7.system.entry.js +0 -1
- package/dist/pine-core/p-6aaf945c.entry.js +0 -1
- package/dist/pine-core/p-715b8e6b.entry.js +0 -1
- package/dist/pine-core/p-77961987.system.entry.js +0 -1
- package/dist/pine-core/p-7a177548.system.entry.js +0 -1
- package/dist/pine-core/p-806f17de.system.entry.js +0 -1
- package/dist/pine-core/p-832cedb7.entry.js +0 -1
- package/dist/pine-core/p-847e5f00.system.entry.js +0 -1
- package/dist/pine-core/p-85981c5d.system.entry.js +0 -1
- package/dist/pine-core/p-8961d112.system.entry.js +0 -3
- package/dist/pine-core/p-9dbb8fe9.entry.js +0 -1
- package/dist/pine-core/p-BhQhw0S3.system.js +0 -1
- package/dist/pine-core/p-C0M1gTKv.js +0 -1
- package/dist/pine-core/p-b412473d.system.entry.js +0 -8
- package/dist/pine-core/p-b51cfa3b.entry.js +0 -1
- package/dist/pine-core/p-b62e08c2.system.entry.js +0 -1
- package/dist/pine-core/p-c53e560a.system.entry.js +0 -1
- package/dist/pine-core/p-cd7deae5.entry.js +0 -1
- package/dist/pine-core/p-cd86ee3e.system.entry.js +0 -1
- package/dist/pine-core/p-cf5a484e.system.entry.js +0 -1
- package/dist/pine-core/p-cf99f7d8.system.entry.js +0 -1
- package/dist/pine-core/p-cff7013e.system.entry.js +0 -1
- package/dist/pine-core/p-e1d541f7.entry.js +0 -1
- package/dist/pine-core/p-ea0e5253.entry.js +0 -7
- package/dist/pine-core/p-f22abb4d.system.entry.js +0 -1
- package/dist/pine-core/p-f6943cbf.entry.js +0 -1
- package/dist/pine-core/p-f794f7ad.entry.js +0 -1
|
@@ -185,6 +185,9 @@ export namespace Components {
|
|
|
185
185
|
*/
|
|
186
186
|
"variant"?: 'customer' | 'admin';
|
|
187
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* @lightDom host-only
|
|
190
|
+
*/
|
|
188
191
|
interface PdsBox {
|
|
189
192
|
/**
|
|
190
193
|
* Defines how items within the box are aligned.
|
|
@@ -1081,6 +1084,11 @@ export namespace Components {
|
|
|
1081
1084
|
* The name of the form control. Submitted with the form as part of a name/value pair.
|
|
1082
1085
|
*/
|
|
1083
1086
|
"name"?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* Text shown when no options match the search. Pass a translated string to localize it; defaults to English.
|
|
1089
|
+
* @defaultValue 'No options found'
|
|
1090
|
+
*/
|
|
1091
|
+
"noOptionsFoundLabel": string;
|
|
1084
1092
|
/**
|
|
1085
1093
|
* Options provided externally (for consumer-managed async).
|
|
1086
1094
|
*/
|
|
@@ -1429,6 +1437,7 @@ export namespace Components {
|
|
|
1429
1437
|
* suppressed, and adds the edge, width and dismiss behavior a side panel
|
|
1430
1438
|
* needs on top. It does not reimplement focus, Escape or dialog semantics —
|
|
1431
1439
|
* those come from `pds-modal` unchanged.
|
|
1440
|
+
* @lightDom renders-markup
|
|
1432
1441
|
*/
|
|
1433
1442
|
interface PdsDrawer {
|
|
1434
1443
|
/**
|
|
@@ -1471,11 +1480,18 @@ export namespace Components {
|
|
|
1471
1480
|
* which caps itself against the viewport for a centered, possibly-shorter
|
|
1472
1481
|
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
1473
1482
|
* flex to fill whatever space the header and footer leave.
|
|
1483
|
+
* @lightDom renders-markup
|
|
1474
1484
|
*/
|
|
1475
1485
|
interface PdsDrawerContent {
|
|
1476
1486
|
}
|
|
1487
|
+
/**
|
|
1488
|
+
* @lightDom renders-markup
|
|
1489
|
+
*/
|
|
1477
1490
|
interface PdsDrawerFooter {
|
|
1478
1491
|
}
|
|
1492
|
+
/**
|
|
1493
|
+
* @lightDom renders-markup
|
|
1494
|
+
*/
|
|
1479
1495
|
interface PdsDrawerHeader {
|
|
1480
1496
|
}
|
|
1481
1497
|
interface PdsDropdownMenu {
|
|
@@ -1817,6 +1833,9 @@ export namespace Components {
|
|
|
1817
1833
|
*/
|
|
1818
1834
|
"variant": 'spinner' | 'typing';
|
|
1819
1835
|
}
|
|
1836
|
+
/**
|
|
1837
|
+
* @lightDom renders-markup
|
|
1838
|
+
*/
|
|
1820
1839
|
interface PdsModal {
|
|
1821
1840
|
/**
|
|
1822
1841
|
* Whether the modal can be dismissed by clicking the backdrop
|
|
@@ -1861,6 +1880,9 @@ export namespace Components {
|
|
|
1861
1880
|
*/
|
|
1862
1881
|
"size": ModalSizeType | (string & Record<never, never>);
|
|
1863
1882
|
}
|
|
1883
|
+
/**
|
|
1884
|
+
* @lightDom renders-markup
|
|
1885
|
+
*/
|
|
1864
1886
|
interface PdsModalContent {
|
|
1865
1887
|
/**
|
|
1866
1888
|
* The border style for the content area. When not explicitly set, automatically determined based on scroll state.
|
|
@@ -1868,8 +1890,14 @@ export namespace Components {
|
|
|
1868
1890
|
*/
|
|
1869
1891
|
"border": 'none' | 'both' | 'top' | 'bottom';
|
|
1870
1892
|
}
|
|
1893
|
+
/**
|
|
1894
|
+
* @lightDom renders-markup
|
|
1895
|
+
*/
|
|
1871
1896
|
interface PdsModalFooter {
|
|
1872
1897
|
}
|
|
1898
|
+
/**
|
|
1899
|
+
* @lightDom renders-markup
|
|
1900
|
+
*/
|
|
1873
1901
|
interface PdsModalHeader {
|
|
1874
1902
|
}
|
|
1875
1903
|
interface PdsMultiselect {
|
|
@@ -2187,6 +2215,9 @@ export namespace Components {
|
|
|
2187
2215
|
*/
|
|
2188
2216
|
"icon": string;
|
|
2189
2217
|
}
|
|
2218
|
+
/**
|
|
2219
|
+
* @lightDom renders-markup
|
|
2220
|
+
*/
|
|
2190
2221
|
interface PdsRadio {
|
|
2191
2222
|
/**
|
|
2192
2223
|
* Determines whether or not the radio is checked.
|
|
@@ -2242,6 +2273,9 @@ export namespace Components {
|
|
|
2242
2273
|
*/
|
|
2243
2274
|
"value": string;
|
|
2244
2275
|
}
|
|
2276
|
+
/**
|
|
2277
|
+
* @lightDom renders-markup
|
|
2278
|
+
*/
|
|
2245
2279
|
interface PdsRadioGroup {
|
|
2246
2280
|
/**
|
|
2247
2281
|
* A unique identifier used for the underlying component `id` attribute.
|
|
@@ -2289,6 +2323,9 @@ export namespace Components {
|
|
|
2289
2323
|
*/
|
|
2290
2324
|
"required": boolean;
|
|
2291
2325
|
}
|
|
2326
|
+
/**
|
|
2327
|
+
* @lightDom host-only
|
|
2328
|
+
*/
|
|
2292
2329
|
interface PdsRow {
|
|
2293
2330
|
/**
|
|
2294
2331
|
* Defines the vertical alignment of the row items.
|
|
@@ -2388,6 +2425,9 @@ export namespace Components {
|
|
|
2388
2425
|
*/
|
|
2389
2426
|
"value"?: string | string[];
|
|
2390
2427
|
}
|
|
2428
|
+
/**
|
|
2429
|
+
* @lightDom host-only
|
|
2430
|
+
*/
|
|
2391
2431
|
interface PdsSortable {
|
|
2392
2432
|
/**
|
|
2393
2433
|
* Determines whether `sortable` should have a border.
|
|
@@ -2414,6 +2454,9 @@ export namespace Components {
|
|
|
2414
2454
|
*/
|
|
2415
2455
|
"handleType": 'handle' | 'row';
|
|
2416
2456
|
}
|
|
2457
|
+
/**
|
|
2458
|
+
* @lightDom renders-markup
|
|
2459
|
+
*/
|
|
2417
2460
|
interface PdsSortableItem {
|
|
2418
2461
|
/**
|
|
2419
2462
|
* A unique identifier used for the sortable item `id` attribute.
|
|
@@ -2480,6 +2523,9 @@ export namespace Components {
|
|
|
2480
2523
|
*/
|
|
2481
2524
|
"value": string;
|
|
2482
2525
|
}
|
|
2526
|
+
/**
|
|
2527
|
+
* @lightDom renders-markup
|
|
2528
|
+
*/
|
|
2483
2529
|
interface PdsTab {
|
|
2484
2530
|
/**
|
|
2485
2531
|
* Marks this tab as the current one in navigation mode (`href` set). Applies the active treatment and `aria-current="page"`. Ignored in panel mode, where the active tab is derived from the parent's `activeTabName`.
|
|
@@ -2623,6 +2669,9 @@ export namespace Components {
|
|
|
2623
2669
|
*/
|
|
2624
2670
|
"isSelected"?: boolean;
|
|
2625
2671
|
}
|
|
2672
|
+
/**
|
|
2673
|
+
* @lightDom renders-markup
|
|
2674
|
+
*/
|
|
2626
2675
|
interface PdsTabpanel {
|
|
2627
2676
|
/**
|
|
2628
2677
|
* Sets the related tab name, this name must match a `pds-tab`'s tab name property
|
|
@@ -2844,6 +2893,9 @@ export namespace Components {
|
|
|
2844
2893
|
*/
|
|
2845
2894
|
"type": 'default' | 'danger' | 'loading';
|
|
2846
2895
|
}
|
|
2896
|
+
/**
|
|
2897
|
+
* @lightDom renders-markup
|
|
2898
|
+
*/
|
|
2847
2899
|
interface PdsTooltip {
|
|
2848
2900
|
/**
|
|
2849
2901
|
* A unique identifier used for the underlying component `id` attribute.
|
|
@@ -3064,6 +3116,9 @@ declare global {
|
|
|
3064
3116
|
prototype: HTMLPdsAvatarElement;
|
|
3065
3117
|
new (): HTMLPdsAvatarElement;
|
|
3066
3118
|
};
|
|
3119
|
+
/**
|
|
3120
|
+
* @lightDom host-only
|
|
3121
|
+
*/
|
|
3067
3122
|
interface HTMLPdsBoxElement extends Components.PdsBox, HTMLStencilElement {
|
|
3068
3123
|
}
|
|
3069
3124
|
var HTMLPdsBoxElement: {
|
|
@@ -3206,6 +3261,7 @@ declare global {
|
|
|
3206
3261
|
* suppressed, and adds the edge, width and dismiss behavior a side panel
|
|
3207
3262
|
* needs on top. It does not reimplement focus, Escape or dialog semantics —
|
|
3208
3263
|
* those come from `pds-modal` unchanged.
|
|
3264
|
+
* @lightDom renders-markup
|
|
3209
3265
|
*/
|
|
3210
3266
|
interface HTMLPdsDrawerElement extends Components.PdsDrawer, HTMLStencilElement {
|
|
3211
3267
|
addEventListener<K extends keyof HTMLPdsDrawerElementEventMap>(type: K, listener: (this: HTMLPdsDrawerElement, ev: PdsDrawerCustomEvent<HTMLPdsDrawerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3226,6 +3282,7 @@ declare global {
|
|
|
3226
3282
|
* which caps itself against the viewport for a centered, possibly-shorter
|
|
3227
3283
|
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
3228
3284
|
* flex to fill whatever space the header and footer leave.
|
|
3285
|
+
* @lightDom renders-markup
|
|
3229
3286
|
*/
|
|
3230
3287
|
interface HTMLPdsDrawerContentElement extends Components.PdsDrawerContent, HTMLStencilElement {
|
|
3231
3288
|
}
|
|
@@ -3233,12 +3290,18 @@ declare global {
|
|
|
3233
3290
|
prototype: HTMLPdsDrawerContentElement;
|
|
3234
3291
|
new (): HTMLPdsDrawerContentElement;
|
|
3235
3292
|
};
|
|
3293
|
+
/**
|
|
3294
|
+
* @lightDom renders-markup
|
|
3295
|
+
*/
|
|
3236
3296
|
interface HTMLPdsDrawerFooterElement extends Components.PdsDrawerFooter, HTMLStencilElement {
|
|
3237
3297
|
}
|
|
3238
3298
|
var HTMLPdsDrawerFooterElement: {
|
|
3239
3299
|
prototype: HTMLPdsDrawerFooterElement;
|
|
3240
3300
|
new (): HTMLPdsDrawerFooterElement;
|
|
3241
3301
|
};
|
|
3302
|
+
/**
|
|
3303
|
+
* @lightDom renders-markup
|
|
3304
|
+
*/
|
|
3242
3305
|
interface HTMLPdsDrawerHeaderElement extends Components.PdsDrawerHeader, HTMLStencilElement {
|
|
3243
3306
|
}
|
|
3244
3307
|
var HTMLPdsDrawerHeaderElement: {
|
|
@@ -3348,6 +3411,9 @@ declare global {
|
|
|
3348
3411
|
"pdsModalOpen": void;
|
|
3349
3412
|
"pdsModalClose": void;
|
|
3350
3413
|
}
|
|
3414
|
+
/**
|
|
3415
|
+
* @lightDom renders-markup
|
|
3416
|
+
*/
|
|
3351
3417
|
interface HTMLPdsModalElement extends Components.PdsModal, HTMLStencilElement {
|
|
3352
3418
|
addEventListener<K extends keyof HTMLPdsModalElementEventMap>(type: K, listener: (this: HTMLPdsModalElement, ev: PdsModalCustomEvent<HTMLPdsModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3353
3419
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3362,18 +3428,27 @@ declare global {
|
|
|
3362
3428
|
prototype: HTMLPdsModalElement;
|
|
3363
3429
|
new (): HTMLPdsModalElement;
|
|
3364
3430
|
};
|
|
3431
|
+
/**
|
|
3432
|
+
* @lightDom renders-markup
|
|
3433
|
+
*/
|
|
3365
3434
|
interface HTMLPdsModalContentElement extends Components.PdsModalContent, HTMLStencilElement {
|
|
3366
3435
|
}
|
|
3367
3436
|
var HTMLPdsModalContentElement: {
|
|
3368
3437
|
prototype: HTMLPdsModalContentElement;
|
|
3369
3438
|
new (): HTMLPdsModalContentElement;
|
|
3370
3439
|
};
|
|
3440
|
+
/**
|
|
3441
|
+
* @lightDom renders-markup
|
|
3442
|
+
*/
|
|
3371
3443
|
interface HTMLPdsModalFooterElement extends Components.PdsModalFooter, HTMLStencilElement {
|
|
3372
3444
|
}
|
|
3373
3445
|
var HTMLPdsModalFooterElement: {
|
|
3374
3446
|
prototype: HTMLPdsModalFooterElement;
|
|
3375
3447
|
new (): HTMLPdsModalFooterElement;
|
|
3376
3448
|
};
|
|
3449
|
+
/**
|
|
3450
|
+
* @lightDom renders-markup
|
|
3451
|
+
*/
|
|
3377
3452
|
interface HTMLPdsModalHeaderElement extends Components.PdsModalHeader, HTMLStencilElement {
|
|
3378
3453
|
}
|
|
3379
3454
|
var HTMLPdsModalHeaderElement: {
|
|
@@ -3435,6 +3510,9 @@ declare global {
|
|
|
3435
3510
|
interface HTMLPdsRadioElementEventMap {
|
|
3436
3511
|
"pdsRadioChange": boolean;
|
|
3437
3512
|
}
|
|
3513
|
+
/**
|
|
3514
|
+
* @lightDom renders-markup
|
|
3515
|
+
*/
|
|
3438
3516
|
interface HTMLPdsRadioElement extends Components.PdsRadio, HTMLStencilElement {
|
|
3439
3517
|
addEventListener<K extends keyof HTMLPdsRadioElementEventMap>(type: K, listener: (this: HTMLPdsRadioElement, ev: PdsRadioCustomEvent<HTMLPdsRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3440
3518
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3452,6 +3530,9 @@ declare global {
|
|
|
3452
3530
|
interface HTMLPdsRadioGroupElementEventMap {
|
|
3453
3531
|
"pdsRadioGroupChange": RadioGroupChangeEventDetail;
|
|
3454
3532
|
}
|
|
3533
|
+
/**
|
|
3534
|
+
* @lightDom renders-markup
|
|
3535
|
+
*/
|
|
3455
3536
|
interface HTMLPdsRadioGroupElement extends Components.PdsRadioGroup, HTMLStencilElement {
|
|
3456
3537
|
addEventListener<K extends keyof HTMLPdsRadioGroupElementEventMap>(type: K, listener: (this: HTMLPdsRadioGroupElement, ev: PdsRadioGroupCustomEvent<HTMLPdsRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3457
3538
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3466,6 +3547,9 @@ declare global {
|
|
|
3466
3547
|
prototype: HTMLPdsRadioGroupElement;
|
|
3467
3548
|
new (): HTMLPdsRadioGroupElement;
|
|
3468
3549
|
};
|
|
3550
|
+
/**
|
|
3551
|
+
* @lightDom host-only
|
|
3552
|
+
*/
|
|
3469
3553
|
interface HTMLPdsRowElement extends Components.PdsRow, HTMLStencilElement {
|
|
3470
3554
|
}
|
|
3471
3555
|
var HTMLPdsRowElement: {
|
|
@@ -3495,6 +3579,9 @@ declare global {
|
|
|
3495
3579
|
interface HTMLPdsSortableElementEventMap {
|
|
3496
3580
|
"pdsSortableItemMoved": SortableEvent;
|
|
3497
3581
|
}
|
|
3582
|
+
/**
|
|
3583
|
+
* @lightDom host-only
|
|
3584
|
+
*/
|
|
3498
3585
|
interface HTMLPdsSortableElement extends Components.PdsSortable, HTMLStencilElement {
|
|
3499
3586
|
addEventListener<K extends keyof HTMLPdsSortableElementEventMap>(type: K, listener: (this: HTMLPdsSortableElement, ev: PdsSortableCustomEvent<HTMLPdsSortableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3500
3587
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3509,6 +3596,9 @@ declare global {
|
|
|
3509
3596
|
prototype: HTMLPdsSortableElement;
|
|
3510
3597
|
new (): HTMLPdsSortableElement;
|
|
3511
3598
|
};
|
|
3599
|
+
/**
|
|
3600
|
+
* @lightDom renders-markup
|
|
3601
|
+
*/
|
|
3512
3602
|
interface HTMLPdsSortableItemElement extends Components.PdsSortableItem, HTMLStencilElement {
|
|
3513
3603
|
}
|
|
3514
3604
|
var HTMLPdsSortableItemElement: {
|
|
@@ -3535,6 +3625,9 @@ declare global {
|
|
|
3535
3625
|
interface HTMLPdsTabElementEventMap {
|
|
3536
3626
|
"pdsTabClick": object;
|
|
3537
3627
|
}
|
|
3628
|
+
/**
|
|
3629
|
+
* @lightDom renders-markup
|
|
3630
|
+
*/
|
|
3538
3631
|
interface HTMLPdsTabElement extends Components.PdsTab, HTMLStencilElement {
|
|
3539
3632
|
addEventListener<K extends keyof HTMLPdsTabElementEventMap>(type: K, listener: (this: HTMLPdsTabElement, ev: PdsTabCustomEvent<HTMLPdsTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3540
3633
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3629,6 +3722,9 @@ declare global {
|
|
|
3629
3722
|
prototype: HTMLPdsTableRowElement;
|
|
3630
3723
|
new (): HTMLPdsTableRowElement;
|
|
3631
3724
|
};
|
|
3725
|
+
/**
|
|
3726
|
+
* @lightDom renders-markup
|
|
3727
|
+
*/
|
|
3632
3728
|
interface HTMLPdsTabpanelElement extends Components.PdsTabpanel, HTMLStencilElement {
|
|
3633
3729
|
}
|
|
3634
3730
|
var HTMLPdsTabpanelElement: {
|
|
@@ -3685,6 +3781,9 @@ declare global {
|
|
|
3685
3781
|
prototype: HTMLPdsToastElement;
|
|
3686
3782
|
new (): HTMLPdsToastElement;
|
|
3687
3783
|
};
|
|
3784
|
+
/**
|
|
3785
|
+
* @lightDom renders-markup
|
|
3786
|
+
*/
|
|
3688
3787
|
interface HTMLPdsTooltipElement extends Components.PdsTooltip, HTMLStencilElement {
|
|
3689
3788
|
}
|
|
3690
3789
|
var HTMLPdsTooltipElement: {
|
|
@@ -3914,6 +4013,9 @@ declare namespace LocalJSX {
|
|
|
3914
4013
|
*/
|
|
3915
4014
|
"variant"?: 'customer' | 'admin';
|
|
3916
4015
|
}
|
|
4016
|
+
/**
|
|
4017
|
+
* @lightDom host-only
|
|
4018
|
+
*/
|
|
3917
4019
|
interface PdsBox {
|
|
3918
4020
|
/**
|
|
3919
4021
|
* Defines how items within the box are aligned.
|
|
@@ -4820,6 +4922,11 @@ declare namespace LocalJSX {
|
|
|
4820
4922
|
* The name of the form control. Submitted with the form as part of a name/value pair.
|
|
4821
4923
|
*/
|
|
4822
4924
|
"name"?: string;
|
|
4925
|
+
/**
|
|
4926
|
+
* Text shown when no options match the search. Pass a translated string to localize it; defaults to English.
|
|
4927
|
+
* @defaultValue 'No options found'
|
|
4928
|
+
*/
|
|
4929
|
+
"noOptionsFoundLabel"?: string;
|
|
4823
4930
|
/**
|
|
4824
4931
|
* Emitted when the value changes.
|
|
4825
4932
|
*/
|
|
@@ -5184,6 +5291,7 @@ declare namespace LocalJSX {
|
|
|
5184
5291
|
* suppressed, and adds the edge, width and dismiss behavior a side panel
|
|
5185
5292
|
* needs on top. It does not reimplement focus, Escape or dialog semantics —
|
|
5186
5293
|
* those come from `pds-modal` unchanged.
|
|
5294
|
+
* @lightDom renders-markup
|
|
5187
5295
|
*/
|
|
5188
5296
|
interface PdsDrawer {
|
|
5189
5297
|
/**
|
|
@@ -5234,11 +5342,18 @@ declare namespace LocalJSX {
|
|
|
5234
5342
|
* which caps itself against the viewport for a centered, possibly-shorter
|
|
5235
5343
|
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
5236
5344
|
* flex to fill whatever space the header and footer leave.
|
|
5345
|
+
* @lightDom renders-markup
|
|
5237
5346
|
*/
|
|
5238
5347
|
interface PdsDrawerContent {
|
|
5239
5348
|
}
|
|
5349
|
+
/**
|
|
5350
|
+
* @lightDom renders-markup
|
|
5351
|
+
*/
|
|
5240
5352
|
interface PdsDrawerFooter {
|
|
5241
5353
|
}
|
|
5354
|
+
/**
|
|
5355
|
+
* @lightDom renders-markup
|
|
5356
|
+
*/
|
|
5242
5357
|
interface PdsDrawerHeader {
|
|
5243
5358
|
}
|
|
5244
5359
|
interface PdsDropdownMenu {
|
|
@@ -5604,6 +5719,9 @@ declare namespace LocalJSX {
|
|
|
5604
5719
|
*/
|
|
5605
5720
|
"variant"?: 'spinner' | 'typing';
|
|
5606
5721
|
}
|
|
5722
|
+
/**
|
|
5723
|
+
* @lightDom renders-markup
|
|
5724
|
+
*/
|
|
5607
5725
|
interface PdsModal {
|
|
5608
5726
|
/**
|
|
5609
5727
|
* Whether the modal can be dismissed by clicking the backdrop
|
|
@@ -5648,6 +5766,9 @@ declare namespace LocalJSX {
|
|
|
5648
5766
|
*/
|
|
5649
5767
|
"size"?: ModalSizeType | (string & Record<never, never>);
|
|
5650
5768
|
}
|
|
5769
|
+
/**
|
|
5770
|
+
* @lightDom renders-markup
|
|
5771
|
+
*/
|
|
5651
5772
|
interface PdsModalContent {
|
|
5652
5773
|
/**
|
|
5653
5774
|
* The border style for the content area. When not explicitly set, automatically determined based on scroll state.
|
|
@@ -5655,8 +5776,14 @@ declare namespace LocalJSX {
|
|
|
5655
5776
|
*/
|
|
5656
5777
|
"border"?: 'none' | 'both' | 'top' | 'bottom';
|
|
5657
5778
|
}
|
|
5779
|
+
/**
|
|
5780
|
+
* @lightDom renders-markup
|
|
5781
|
+
*/
|
|
5658
5782
|
interface PdsModalFooter {
|
|
5659
5783
|
}
|
|
5784
|
+
/**
|
|
5785
|
+
* @lightDom renders-markup
|
|
5786
|
+
*/
|
|
5660
5787
|
interface PdsModalHeader {
|
|
5661
5788
|
}
|
|
5662
5789
|
interface PdsMultiselect {
|
|
@@ -5986,6 +6113,9 @@ declare namespace LocalJSX {
|
|
|
5986
6113
|
*/
|
|
5987
6114
|
"icon"?: string;
|
|
5988
6115
|
}
|
|
6116
|
+
/**
|
|
6117
|
+
* @lightDom renders-markup
|
|
6118
|
+
*/
|
|
5989
6119
|
interface PdsRadio {
|
|
5990
6120
|
/**
|
|
5991
6121
|
* Determines whether or not the radio is checked.
|
|
@@ -6045,6 +6175,9 @@ declare namespace LocalJSX {
|
|
|
6045
6175
|
*/
|
|
6046
6176
|
"value"?: string;
|
|
6047
6177
|
}
|
|
6178
|
+
/**
|
|
6179
|
+
* @lightDom renders-markup
|
|
6180
|
+
*/
|
|
6048
6181
|
interface PdsRadioGroup {
|
|
6049
6182
|
/**
|
|
6050
6183
|
* A unique identifier used for the underlying component `id` attribute.
|
|
@@ -6096,6 +6229,9 @@ declare namespace LocalJSX {
|
|
|
6096
6229
|
*/
|
|
6097
6230
|
"required"?: boolean;
|
|
6098
6231
|
}
|
|
6232
|
+
/**
|
|
6233
|
+
* @lightDom host-only
|
|
6234
|
+
*/
|
|
6099
6235
|
interface PdsRow {
|
|
6100
6236
|
/**
|
|
6101
6237
|
* Defines the vertical alignment of the row items.
|
|
@@ -6215,6 +6351,9 @@ declare namespace LocalJSX {
|
|
|
6215
6351
|
*/
|
|
6216
6352
|
"value"?: string | string[];
|
|
6217
6353
|
}
|
|
6354
|
+
/**
|
|
6355
|
+
* @lightDom host-only
|
|
6356
|
+
*/
|
|
6218
6357
|
interface PdsSortable {
|
|
6219
6358
|
/**
|
|
6220
6359
|
* Determines whether `sortable` should have a border.
|
|
@@ -6245,6 +6384,9 @@ declare namespace LocalJSX {
|
|
|
6245
6384
|
*/
|
|
6246
6385
|
"onPdsSortableItemMoved"?: (event: PdsSortableCustomEvent<SortableEvent>) => void;
|
|
6247
6386
|
}
|
|
6387
|
+
/**
|
|
6388
|
+
* @lightDom renders-markup
|
|
6389
|
+
*/
|
|
6248
6390
|
interface PdsSortableItem {
|
|
6249
6391
|
/**
|
|
6250
6392
|
* A unique identifier used for the sortable item `id` attribute.
|
|
@@ -6319,6 +6461,9 @@ declare namespace LocalJSX {
|
|
|
6319
6461
|
*/
|
|
6320
6462
|
"value"?: string;
|
|
6321
6463
|
}
|
|
6464
|
+
/**
|
|
6465
|
+
* @lightDom renders-markup
|
|
6466
|
+
*/
|
|
6322
6467
|
interface PdsTab {
|
|
6323
6468
|
/**
|
|
6324
6469
|
* Marks this tab as the current one in navigation mode (`href` set). Applies the active treatment and `aria-current="page"`. Ignored in panel mode, where the active tab is derived from the parent's `activeTabName`.
|
|
@@ -6461,6 +6606,9 @@ declare namespace LocalJSX {
|
|
|
6461
6606
|
*/
|
|
6462
6607
|
"onPdsTableRowSelected"?: (event: PdsTableRowCustomEvent<{ rowIndex: number; isSelected: boolean; }>) => void;
|
|
6463
6608
|
}
|
|
6609
|
+
/**
|
|
6610
|
+
* @lightDom renders-markup
|
|
6611
|
+
*/
|
|
6464
6612
|
interface PdsTabpanel {
|
|
6465
6613
|
/**
|
|
6466
6614
|
* Sets the related tab name, this name must match a `pds-tab`'s tab name property
|
|
@@ -6694,6 +6842,9 @@ declare namespace LocalJSX {
|
|
|
6694
6842
|
*/
|
|
6695
6843
|
"type"?: 'default' | 'danger' | 'loading';
|
|
6696
6844
|
}
|
|
6845
|
+
/**
|
|
6846
|
+
* @lightDom renders-markup
|
|
6847
|
+
*/
|
|
6697
6848
|
interface PdsTooltip {
|
|
6698
6849
|
/**
|
|
6699
6850
|
* A unique identifier used for the underlying component `id` attribute.
|
|
@@ -6949,6 +7100,7 @@ declare namespace LocalJSX {
|
|
|
6949
7100
|
"dropdownWidth": string;
|
|
6950
7101
|
"dropdownMount": 'host' | 'body';
|
|
6951
7102
|
"drillInBackLabel": string;
|
|
7103
|
+
"noOptionsFoundLabel": string;
|
|
6952
7104
|
"flyoutMaxWidth": string;
|
|
6953
7105
|
"flyoutMinWidth": string;
|
|
6954
7106
|
"groupDisplay": 'inline' | 'flyout' | 'drill-in';
|
|
@@ -7480,6 +7632,9 @@ declare module "@stencil/core" {
|
|
|
7480
7632
|
"pds-accordion": LocalJSX.IntrinsicElements["pds-accordion"] & JSXBase.HTMLAttributes<HTMLPdsAccordionElement>;
|
|
7481
7633
|
"pds-alert": LocalJSX.IntrinsicElements["pds-alert"] & JSXBase.HTMLAttributes<HTMLPdsAlertElement>;
|
|
7482
7634
|
"pds-avatar": LocalJSX.IntrinsicElements["pds-avatar"] & JSXBase.HTMLAttributes<HTMLPdsAvatarElement>;
|
|
7635
|
+
/**
|
|
7636
|
+
* @lightDom host-only
|
|
7637
|
+
*/
|
|
7483
7638
|
"pds-box": LocalJSX.IntrinsicElements["pds-box"] & JSXBase.HTMLAttributes<HTMLPdsBoxElement>;
|
|
7484
7639
|
"pds-button": LocalJSX.IntrinsicElements["pds-button"] & JSXBase.HTMLAttributes<HTMLPdsButtonElement>;
|
|
7485
7640
|
"pds-checkbox": LocalJSX.IntrinsicElements["pds-checkbox"] & JSXBase.HTMLAttributes<HTMLPdsCheckboxElement>;
|
|
@@ -7502,6 +7657,7 @@ declare module "@stencil/core" {
|
|
|
7502
7657
|
* suppressed, and adds the edge, width and dismiss behavior a side panel
|
|
7503
7658
|
* needs on top. It does not reimplement focus, Escape or dialog semantics —
|
|
7504
7659
|
* those come from `pds-modal` unchanged.
|
|
7660
|
+
* @lightDom renders-markup
|
|
7505
7661
|
*/
|
|
7506
7662
|
"pds-drawer": LocalJSX.IntrinsicElements["pds-drawer"] & JSXBase.HTMLAttributes<HTMLPdsDrawerElement>;
|
|
7507
7663
|
/**
|
|
@@ -7509,9 +7665,16 @@ declare module "@stencil/core" {
|
|
|
7509
7665
|
* which caps itself against the viewport for a centered, possibly-shorter
|
|
7510
7666
|
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
7511
7667
|
* flex to fill whatever space the header and footer leave.
|
|
7668
|
+
* @lightDom renders-markup
|
|
7512
7669
|
*/
|
|
7513
7670
|
"pds-drawer-content": LocalJSX.IntrinsicElements["pds-drawer-content"] & JSXBase.HTMLAttributes<HTMLPdsDrawerContentElement>;
|
|
7671
|
+
/**
|
|
7672
|
+
* @lightDom renders-markup
|
|
7673
|
+
*/
|
|
7514
7674
|
"pds-drawer-footer": LocalJSX.IntrinsicElements["pds-drawer-footer"] & JSXBase.HTMLAttributes<HTMLPdsDrawerFooterElement>;
|
|
7675
|
+
/**
|
|
7676
|
+
* @lightDom renders-markup
|
|
7677
|
+
*/
|
|
7515
7678
|
"pds-drawer-header": LocalJSX.IntrinsicElements["pds-drawer-header"] & JSXBase.HTMLAttributes<HTMLPdsDrawerHeaderElement>;
|
|
7516
7679
|
"pds-dropdown-menu": LocalJSX.IntrinsicElements["pds-dropdown-menu"] & JSXBase.HTMLAttributes<HTMLPdsDropdownMenuElement>;
|
|
7517
7680
|
"pds-dropdown-menu-item": LocalJSX.IntrinsicElements["pds-dropdown-menu-item"] & JSXBase.HTMLAttributes<HTMLPdsDropdownMenuItemElement>;
|
|
@@ -7528,21 +7691,51 @@ declare module "@stencil/core" {
|
|
|
7528
7691
|
"pds-input": LocalJSX.IntrinsicElements["pds-input"] & JSXBase.HTMLAttributes<HTMLPdsInputElement>;
|
|
7529
7692
|
"pds-link": LocalJSX.IntrinsicElements["pds-link"] & JSXBase.HTMLAttributes<HTMLPdsLinkElement>;
|
|
7530
7693
|
"pds-loader": LocalJSX.IntrinsicElements["pds-loader"] & JSXBase.HTMLAttributes<HTMLPdsLoaderElement>;
|
|
7694
|
+
/**
|
|
7695
|
+
* @lightDom renders-markup
|
|
7696
|
+
*/
|
|
7531
7697
|
"pds-modal": LocalJSX.IntrinsicElements["pds-modal"] & JSXBase.HTMLAttributes<HTMLPdsModalElement>;
|
|
7698
|
+
/**
|
|
7699
|
+
* @lightDom renders-markup
|
|
7700
|
+
*/
|
|
7532
7701
|
"pds-modal-content": LocalJSX.IntrinsicElements["pds-modal-content"] & JSXBase.HTMLAttributes<HTMLPdsModalContentElement>;
|
|
7702
|
+
/**
|
|
7703
|
+
* @lightDom renders-markup
|
|
7704
|
+
*/
|
|
7533
7705
|
"pds-modal-footer": LocalJSX.IntrinsicElements["pds-modal-footer"] & JSXBase.HTMLAttributes<HTMLPdsModalFooterElement>;
|
|
7706
|
+
/**
|
|
7707
|
+
* @lightDom renders-markup
|
|
7708
|
+
*/
|
|
7534
7709
|
"pds-modal-header": LocalJSX.IntrinsicElements["pds-modal-header"] & JSXBase.HTMLAttributes<HTMLPdsModalHeaderElement>;
|
|
7535
7710
|
"pds-multiselect": LocalJSX.IntrinsicElements["pds-multiselect"] & JSXBase.HTMLAttributes<HTMLPdsMultiselectElement>;
|
|
7536
7711
|
"pds-popover": LocalJSX.IntrinsicElements["pds-popover"] & JSXBase.HTMLAttributes<HTMLPdsPopoverElement>;
|
|
7537
7712
|
"pds-progress": LocalJSX.IntrinsicElements["pds-progress"] & JSXBase.HTMLAttributes<HTMLPdsProgressElement>;
|
|
7538
7713
|
"pds-property": LocalJSX.IntrinsicElements["pds-property"] & JSXBase.HTMLAttributes<HTMLPdsPropertyElement>;
|
|
7714
|
+
/**
|
|
7715
|
+
* @lightDom renders-markup
|
|
7716
|
+
*/
|
|
7539
7717
|
"pds-radio": LocalJSX.IntrinsicElements["pds-radio"] & JSXBase.HTMLAttributes<HTMLPdsRadioElement>;
|
|
7718
|
+
/**
|
|
7719
|
+
* @lightDom renders-markup
|
|
7720
|
+
*/
|
|
7540
7721
|
"pds-radio-group": LocalJSX.IntrinsicElements["pds-radio-group"] & JSXBase.HTMLAttributes<HTMLPdsRadioGroupElement>;
|
|
7722
|
+
/**
|
|
7723
|
+
* @lightDom host-only
|
|
7724
|
+
*/
|
|
7541
7725
|
"pds-row": LocalJSX.IntrinsicElements["pds-row"] & JSXBase.HTMLAttributes<HTMLPdsRowElement>;
|
|
7542
7726
|
"pds-select": LocalJSX.IntrinsicElements["pds-select"] & JSXBase.HTMLAttributes<HTMLPdsSelectElement>;
|
|
7727
|
+
/**
|
|
7728
|
+
* @lightDom host-only
|
|
7729
|
+
*/
|
|
7543
7730
|
"pds-sortable": LocalJSX.IntrinsicElements["pds-sortable"] & JSXBase.HTMLAttributes<HTMLPdsSortableElement>;
|
|
7731
|
+
/**
|
|
7732
|
+
* @lightDom renders-markup
|
|
7733
|
+
*/
|
|
7544
7734
|
"pds-sortable-item": LocalJSX.IntrinsicElements["pds-sortable-item"] & JSXBase.HTMLAttributes<HTMLPdsSortableItemElement>;
|
|
7545
7735
|
"pds-switch": LocalJSX.IntrinsicElements["pds-switch"] & JSXBase.HTMLAttributes<HTMLPdsSwitchElement>;
|
|
7736
|
+
/**
|
|
7737
|
+
* @lightDom renders-markup
|
|
7738
|
+
*/
|
|
7546
7739
|
"pds-tab": LocalJSX.IntrinsicElements["pds-tab"] & JSXBase.HTMLAttributes<HTMLPdsTabElement>;
|
|
7547
7740
|
"pds-table": LocalJSX.IntrinsicElements["pds-table"] & JSXBase.HTMLAttributes<HTMLPdsTableElement>;
|
|
7548
7741
|
"pds-table-body": LocalJSX.IntrinsicElements["pds-table-body"] & JSXBase.HTMLAttributes<HTMLPdsTableBodyElement>;
|
|
@@ -7550,11 +7743,17 @@ declare module "@stencil/core" {
|
|
|
7550
7743
|
"pds-table-head": LocalJSX.IntrinsicElements["pds-table-head"] & JSXBase.HTMLAttributes<HTMLPdsTableHeadElement>;
|
|
7551
7744
|
"pds-table-head-cell": LocalJSX.IntrinsicElements["pds-table-head-cell"] & JSXBase.HTMLAttributes<HTMLPdsTableHeadCellElement>;
|
|
7552
7745
|
"pds-table-row": LocalJSX.IntrinsicElements["pds-table-row"] & JSXBase.HTMLAttributes<HTMLPdsTableRowElement>;
|
|
7746
|
+
/**
|
|
7747
|
+
* @lightDom renders-markup
|
|
7748
|
+
*/
|
|
7553
7749
|
"pds-tabpanel": LocalJSX.IntrinsicElements["pds-tabpanel"] & JSXBase.HTMLAttributes<HTMLPdsTabpanelElement>;
|
|
7554
7750
|
"pds-tabs": LocalJSX.IntrinsicElements["pds-tabs"] & JSXBase.HTMLAttributes<HTMLPdsTabsElement>;
|
|
7555
7751
|
"pds-text": LocalJSX.IntrinsicElements["pds-text"] & JSXBase.HTMLAttributes<HTMLPdsTextElement>;
|
|
7556
7752
|
"pds-textarea": LocalJSX.IntrinsicElements["pds-textarea"] & JSXBase.HTMLAttributes<HTMLPdsTextareaElement>;
|
|
7557
7753
|
"pds-toast": LocalJSX.IntrinsicElements["pds-toast"] & JSXBase.HTMLAttributes<HTMLPdsToastElement>;
|
|
7754
|
+
/**
|
|
7755
|
+
* @lightDom renders-markup
|
|
7756
|
+
*/
|
|
7558
7757
|
"pds-tooltip": LocalJSX.IntrinsicElements["pds-tooltip"] & JSXBase.HTMLAttributes<HTMLPdsTooltipElement>;
|
|
7559
7758
|
}
|
|
7560
7759
|
}
|
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
export type Attributes = {
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
};
|
|
4
|
+
/**
|
|
5
|
+
* Sets each attribute whose current value differs, and leaves the rest alone. A `MutationObserver`
|
|
6
|
+
* that calls this to restore attributes sees its own writes once and then settles, so it can't loop.
|
|
7
|
+
* @param el - Element to write to
|
|
8
|
+
* @param attributes - Attribute names and the values they should have
|
|
9
|
+
*/
|
|
10
|
+
export declare const setAttributesIfChanged: (el: Element, attributes: Record<string, string>) => void;
|
|
11
|
+
/**
|
|
12
|
+
* The classes, style properties and other attributes a component renders onto its own host.
|
|
13
|
+
*/
|
|
14
|
+
export type HostStyling = {
|
|
15
|
+
classes: string[];
|
|
16
|
+
styles: Record<string, string>;
|
|
17
|
+
attributes?: Record<string, unknown>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The class names in a rendered `class` value: a string, or Stencil's `{ name: boolean }` form.
|
|
21
|
+
*/
|
|
22
|
+
export declare const classNamesOf: (classes: string | Record<string, boolean>) => string[];
|
|
23
|
+
/**
|
|
24
|
+
* Puts back any of `expected`'s classes or style properties that are missing from `el`. It only
|
|
25
|
+
* adds what's missing, never rewrites a value that's there, because browsers normalize some style
|
|
26
|
+
* values (`flex: 1` reads back as `1 1 0%`): comparing values would rewrite them forever.
|
|
27
|
+
* @param el - Host element
|
|
28
|
+
* @param expected - Classes and style properties the component rendered
|
|
29
|
+
*/
|
|
30
|
+
export declare const restoreHostStyling: (el: HTMLElement, { classes, styles }: HostStyling) => void;
|
|
4
31
|
/**
|
|
5
32
|
* Inherit attributes from the host element
|
|
6
33
|
* @param el - Host element
|
|
@@ -8,3 +35,14 @@ export type Attributes = {
|
|
|
8
35
|
*/
|
|
9
36
|
export declare const inheritAttributes: (el: Element, attributes?: string[]) => Attributes;
|
|
10
37
|
export declare const inheritAriaAttributes: (el: Element, ignoreList?: string[]) => Attributes;
|
|
38
|
+
/**
|
|
39
|
+
* One component's use of `keepHostStyling`: `record` what `render()` puts on the host, `connect` in
|
|
40
|
+
* `connectedCallback` and `disconnect` in `disconnectedCallback`.
|
|
41
|
+
*/
|
|
42
|
+
export declare class HostStylingKeeper {
|
|
43
|
+
private styling;
|
|
44
|
+
private observer;
|
|
45
|
+
record(classes: string | Record<string, boolean>, styles?: Record<string, string>, attributes?: Record<string, unknown>): void;
|
|
46
|
+
connect(el: HTMLElement): void;
|
|
47
|
+
disconnect(): void;
|
|
48
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Restores a reflected prop's default when its attribute is removed.
|
|
3
|
+
*
|
|
4
|
+
* A reflected `@Prop` with a default writes that default onto the host as an
|
|
5
|
+
* attribute even when the author leaves it out. Removing the attribute doesn't
|
|
6
|
+
* restore the default: Stencil's `attributeChangedCallback` sets the prop to
|
|
7
|
+
* `null` (or `false` for a boolean), even when its default is `true`. A Turbo
|
|
8
|
+
* morph hits this whenever the author relied on the default, since the
|
|
9
|
+
* server's HTML never carries the attribute Pine wrote.
|
|
10
|
+
*
|
|
11
|
+
* A `null` or `undefined` falls back to the default, whether the attribute was
|
|
12
|
+
* removed or a consumer (or a framework clearing a prop) assigned it. Any other
|
|
13
|
+
* value is a real write and is kept, except a boolean's `false`: that's also
|
|
14
|
+
* what removing the attribute produces, so it's told apart by the host's actual
|
|
15
|
+
* attribute. Present, trust it; absent, fall back to the default.
|
|
16
|
+
*
|
|
17
|
+
* Falling back also writes the default back onto the host. Stencil won't: it
|
|
18
|
+
* diffs a reflected attribute against the previous render, not the live DOM,
|
|
19
|
+
* so when the removed attribute held the default (`'lg'` → `null` → `'lg'`)
|
|
20
|
+
* the values match and it skips the write. Left absent, the attribute would
|
|
21
|
+
* make a later `copytext.border = false` fall back to the default too.
|
|
22
|
+
*
|
|
23
|
+
* Wire up from a `@Watch` on the prop and reassign the prop to the result.
|
|
24
|
+
*
|
|
25
|
+
* `attr` is the HTML attribute name, not the prop name — pass the kebab-case
|
|
26
|
+
* form (e.g. `'is-loading'`) for a camelCase prop. They're the same string
|
|
27
|
+
* for every current caller (`size`, `variant`, `placement`, `border`), but
|
|
28
|
+
* `hasAttribute` would silently always return `false` for a multi-word prop
|
|
29
|
+
* if the prop name were passed instead.
|
|
30
|
+
*/
|
|
31
|
+
export declare function restoreReflectedDefault<T>(el: Element, attr: string, value: T, defaultValue: T): T;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { E2EPage } from '@stencil/core/testing';
|
|
2
|
+
/**
|
|
3
|
+
* Strips the host's `class` (keeping a `consumer` class the markup must carry), its `style`, and any
|
|
4
|
+
* `removeAttributes`, as a DOM morph does when the server's HTML lacks what the component wrote.
|
|
5
|
+
* Expects every class and removed attribute to come back, and every computed style of the host and
|
|
6
|
+
* what it renders to be unchanged.
|
|
7
|
+
*/
|
|
8
|
+
export declare const expectStylingSurvivesStrip: (page: E2EPage, selector: string, { removeAttributes }?: {
|
|
9
|
+
removeAttributes?: string[];
|
|
10
|
+
}) => Promise<void>;
|