@pine-ds/core 0.0.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/index-13500e25.js +2468 -0
- package/dist/cjs/index-13500e25.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/pds-avatar.cjs.entry.js +70 -0
- package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-button.cjs.entry.js +57 -0
- package/dist/cjs/pds-button.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-checkbox.cjs.entry.js +57 -0
- package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-chip.cjs.entry.js +49 -0
- package/dist/cjs/pds-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-copytext.cjs.entry.js +68 -0
- package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-divider.cjs.entry.js +35 -0
- package/dist/cjs/pds-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-icon.cjs.entry.js +277 -0
- package/dist/cjs/pds-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-image.cjs.entry.js +31 -0
- package/dist/cjs/pds-image.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-input.cjs.entry.js +44 -0
- package/dist/cjs/pds-input.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-label-71ea2cad.js +44 -0
- package/dist/cjs/pds-label-71ea2cad.js.map +1 -0
- package/dist/cjs/pds-link.cjs.entry.js +37 -0
- package/dist/cjs/pds-link.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-progress.cjs.entry.js +27 -0
- package/dist/cjs/pds-progress.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-radio.cjs.entry.js +53 -0
- package/dist/cjs/pds-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-sortable-item.cjs.entry.js +24 -0
- package/dist/cjs/pds-sortable-item.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-sortable.cjs.entry.js +2706 -0
- package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-switch.cjs.entry.js +55 -0
- package/dist/cjs/pds-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tab.cjs.entry.js +33 -0
- package/dist/cjs/pds-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tabpanel.cjs.entry.js +26 -0
- package/dist/cjs/pds-tabpanel.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tabs.cjs.entry.js +98 -0
- package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-textarea.cjs.entry.js +54 -0
- package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-tooltip.cjs.entry.js +151 -0
- package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/pine-core.cjs.js +25 -0
- package/dist/cjs/pine-core.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +37 -0
- package/dist/collection/components/_internal/pds-label/pds-label.js +7 -0
- package/dist/collection/components/_internal/pds-label/pds-label.js.map +1 -0
- package/dist/collection/components/pds-avatar/pds-avatar.css +59 -0
- package/dist/collection/components/pds-avatar/pds-avatar.js +217 -0
- package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -0
- package/dist/collection/components/pds-avatar/stories/pds-avatar.stories.js +65 -0
- package/dist/collection/components/pds-button/pds-button.css +122 -0
- package/dist/collection/components/pds-button/pds-button.js +187 -0
- package/dist/collection/components/pds-button/pds-button.js.map +1 -0
- package/dist/collection/components/pds-button/stories/pds-button.stories.js +65 -0
- package/dist/collection/components/pds-checkbox/pds-checkbox.css +106 -0
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +266 -0
- package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -0
- package/dist/collection/components/pds-checkbox/stories/pds-checkbox.stories.js +80 -0
- package/dist/collection/components/pds-chip/pds-chip.css +245 -0
- package/dist/collection/components/pds-chip/pds-chip.js +188 -0
- package/dist/collection/components/pds-chip/pds-chip.js.map +1 -0
- package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +79 -0
- package/dist/collection/components/pds-copytext/pds-copytext.css +85 -0
- package/dist/collection/components/pds-copytext/pds-copytext.js +186 -0
- package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -0
- package/dist/collection/components/pds-copytext/stories/pds-copytext.stories.js +57 -0
- package/dist/collection/components/pds-divider/pds-divider.css +92 -0
- package/dist/collection/components/pds-divider/pds-divider.js +94 -0
- package/dist/collection/components/pds-divider/pds-divider.js.map +1 -0
- package/dist/collection/components/pds-divider/stories/pds-divider.stories.js +25 -0
- package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +16 -0
- package/dist/collection/components/pds-image/pds-image.css +13 -0
- package/dist/collection/components/pds-image/pds-image.js +173 -0
- package/dist/collection/components/pds-image/pds-image.js.map +1 -0
- package/dist/collection/components/pds-image/stories/pds-image.stories.js +35 -0
- package/dist/collection/components/pds-input/pds-input.css +88 -0
- package/dist/collection/components/pds-input/pds-input.js +279 -0
- package/dist/collection/components/pds-input/pds-input.js.map +1 -0
- package/dist/collection/components/pds-input/stories/pds-input.stories.js +110 -0
- package/dist/collection/components/pds-link/pds-link.css +67 -0
- package/dist/collection/components/pds-link/pds-link.js +138 -0
- package/dist/collection/components/pds-link/pds-link.js.map +1 -0
- package/dist/collection/components/pds-link/stories/pds-link.stories.js +49 -0
- package/dist/collection/components/pds-progress/pds-progress.css +77 -0
- package/dist/collection/components/pds-progress/pds-progress.js +148 -0
- package/dist/collection/components/pds-progress/pds-progress.js.map +1 -0
- package/dist/collection/components/pds-progress/stories/pds-progress.stories.js +65 -0
- package/dist/collection/components/pds-radio/pds-radio.css +101 -0
- package/dist/collection/components/pds-radio/pds-radio.js +261 -0
- package/dist/collection/components/pds-radio/pds-radio.js.map +1 -0
- package/dist/collection/components/pds-radio/stories/pds-radio.stories.js +71 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +63 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +90 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +1 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/stories/pds-sortable-item.stories.js +24 -0
- package/dist/collection/components/pds-sortable/pds-sortable.css +10 -0
- package/dist/collection/components/pds-sortable/pds-sortable.js +150 -0
- package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -0
- package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +130 -0
- package/dist/collection/components/pds-switch/pds-switch.css +134 -0
- package/dist/collection/components/pds-switch/pds-switch.js +277 -0
- package/dist/collection/components/pds-switch/pds-switch.js.map +1 -0
- package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +102 -0
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +158 -0
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +154 -0
- package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js.map +1 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.css +12 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +107 -0
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js.map +1 -0
- package/dist/collection/components/pds-tabs/pds-tabs.css +33 -0
- package/dist/collection/components/pds-tabs/pds-tabs.js +209 -0
- package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -0
- package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +63 -0
- package/dist/collection/components/pds-textarea/pds-textarea.css +84 -0
- package/dist/collection/components/pds-textarea/pds-textarea.js +303 -0
- package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -0
- package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +111 -0
- package/dist/collection/components/pds-textarea/textarea-interface.js +2 -0
- package/dist/collection/components/pds-textarea/textarea-interface.js.map +1 -0
- package/dist/collection/components/pds-tooltip/pds-tooltip.css +143 -0
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +287 -0
- package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -0
- package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +114 -0
- package/dist/collection/global/pine-ui-global.js +2 -0
- package/dist/collection/global/pine-ui-global.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/stories/_helpers/index.js +15 -0
- package/dist/collection/stories/_helpers/index.js.map +1 -0
- package/dist/collection/utils/form.js +28 -0
- package/dist/collection/utils/form.js.map +1 -0
- package/dist/collection/utils/overlay.js +68 -0
- package/dist/collection/utils/overlay.js.map +1 -0
- package/dist/collection/utils/types.js +2 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/collection/utils/utils.js +7 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/docs.d.ts +421 -0
- package/dist/docs.json +3718 -0
- package/dist/esm/index-a58668b3.js +2438 -0
- package/dist/esm/index-a58668b3.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/pds-avatar.entry.js +66 -0
- package/dist/esm/pds-avatar.entry.js.map +1 -0
- package/dist/esm/pds-button.entry.js +53 -0
- package/dist/esm/pds-button.entry.js.map +1 -0
- package/dist/esm/pds-checkbox.entry.js +53 -0
- package/dist/esm/pds-checkbox.entry.js.map +1 -0
- package/dist/esm/pds-chip.entry.js +45 -0
- package/dist/esm/pds-chip.entry.js.map +1 -0
- package/dist/esm/pds-copytext.entry.js +64 -0
- package/dist/esm/pds-copytext.entry.js.map +1 -0
- package/dist/esm/pds-divider.entry.js +31 -0
- package/dist/esm/pds-divider.entry.js.map +1 -0
- package/dist/esm/pds-icon.entry.js +273 -0
- package/dist/esm/pds-icon.entry.js.map +1 -0
- package/dist/esm/pds-image.entry.js +27 -0
- package/dist/esm/pds-image.entry.js.map +1 -0
- package/dist/esm/pds-input.entry.js +40 -0
- package/dist/esm/pds-input.entry.js.map +1 -0
- package/dist/esm/pds-label-a26dd876.js +39 -0
- package/dist/esm/pds-label-a26dd876.js.map +1 -0
- package/dist/esm/pds-link.entry.js +33 -0
- package/dist/esm/pds-link.entry.js.map +1 -0
- package/dist/esm/pds-progress.entry.js +23 -0
- package/dist/esm/pds-progress.entry.js.map +1 -0
- package/dist/esm/pds-radio.entry.js +49 -0
- package/dist/esm/pds-radio.entry.js.map +1 -0
- package/dist/esm/pds-sortable-item.entry.js +20 -0
- package/dist/esm/pds-sortable-item.entry.js.map +1 -0
- package/dist/esm/pds-sortable.entry.js +2702 -0
- package/dist/esm/pds-sortable.entry.js.map +1 -0
- package/dist/esm/pds-switch.entry.js +51 -0
- package/dist/esm/pds-switch.entry.js.map +1 -0
- package/dist/esm/pds-tab.entry.js +29 -0
- package/dist/esm/pds-tab.entry.js.map +1 -0
- package/dist/esm/pds-tabpanel.entry.js +22 -0
- package/dist/esm/pds-tabpanel.entry.js.map +1 -0
- package/dist/esm/pds-tabs.entry.js +94 -0
- package/dist/esm/pds-tabs.entry.js.map +1 -0
- package/dist/esm/pds-textarea.entry.js +50 -0
- package/dist/esm/pds-textarea.entry.js.map +1 -0
- package/dist/esm/pds-tooltip.entry.js +147 -0
- package/dist/esm/pds-tooltip.entry.js.map +1 -0
- package/dist/esm/pine-core.js +20 -0
- package/dist/esm/pine-core.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm-es5/index-a58668b3.js +3 -0
- package/dist/esm-es5/index-a58668b3.js.map +1 -0
- package/dist/esm-es5/index.js +2 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/loader.js +2 -0
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/pds-avatar.entry.js +2 -0
- package/dist/esm-es5/pds-avatar.entry.js.map +1 -0
- package/dist/esm-es5/pds-button.entry.js +2 -0
- package/dist/esm-es5/pds-button.entry.js.map +1 -0
- package/dist/esm-es5/pds-checkbox.entry.js +2 -0
- package/dist/esm-es5/pds-checkbox.entry.js.map +1 -0
- package/dist/esm-es5/pds-chip.entry.js +2 -0
- package/dist/esm-es5/pds-chip.entry.js.map +1 -0
- package/dist/esm-es5/pds-copytext.entry.js +2 -0
- package/dist/esm-es5/pds-copytext.entry.js.map +1 -0
- package/dist/esm-es5/pds-divider.entry.js +2 -0
- package/dist/esm-es5/pds-divider.entry.js.map +1 -0
- package/dist/esm-es5/pds-icon.entry.js +2 -0
- package/dist/esm-es5/pds-icon.entry.js.map +1 -0
- package/dist/esm-es5/pds-image.entry.js +2 -0
- package/dist/esm-es5/pds-image.entry.js.map +1 -0
- package/dist/esm-es5/pds-input.entry.js +2 -0
- package/dist/esm-es5/pds-input.entry.js.map +1 -0
- package/dist/esm-es5/pds-label-a26dd876.js +2 -0
- package/dist/esm-es5/pds-label-a26dd876.js.map +1 -0
- package/dist/esm-es5/pds-link.entry.js +2 -0
- package/dist/esm-es5/pds-link.entry.js.map +1 -0
- package/dist/esm-es5/pds-progress.entry.js +2 -0
- package/dist/esm-es5/pds-progress.entry.js.map +1 -0
- package/dist/esm-es5/pds-radio.entry.js +2 -0
- package/dist/esm-es5/pds-radio.entry.js.map +1 -0
- package/dist/esm-es5/pds-sortable-item.entry.js +2 -0
- package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -0
- package/dist/esm-es5/pds-sortable.entry.js +8 -0
- package/dist/esm-es5/pds-sortable.entry.js.map +1 -0
- package/dist/esm-es5/pds-switch.entry.js +2 -0
- package/dist/esm-es5/pds-switch.entry.js.map +1 -0
- package/dist/esm-es5/pds-tab.entry.js +2 -0
- package/dist/esm-es5/pds-tab.entry.js.map +1 -0
- package/dist/esm-es5/pds-tabpanel.entry.js +2 -0
- package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -0
- package/dist/esm-es5/pds-tabs.entry.js +2 -0
- package/dist/esm-es5/pds-tabs.entry.js.map +1 -0
- package/dist/esm-es5/pds-textarea.entry.js +2 -0
- package/dist/esm-es5/pds-textarea.entry.js.map +1 -0
- package/dist/esm-es5/pds-tooltip.entry.js +2 -0
- package/dist/esm-es5/pds-tooltip.entry.js.map +1 -0
- package/dist/esm-es5/pine-core.js +2 -0
- package/dist/esm-es5/pine-core.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pine-core/index.esm.js +2 -0
- package/dist/pine-core/index.esm.js.map +1 -0
- package/dist/pine-core/p-0a776a7b.entry.js +2 -0
- package/dist/pine-core/p-0a776a7b.entry.js.map +1 -0
- package/dist/pine-core/p-0adb4b48.entry.js +2 -0
- package/dist/pine-core/p-0adb4b48.entry.js.map +1 -0
- package/dist/pine-core/p-0c26a00d.entry.js +2 -0
- package/dist/pine-core/p-0c26a00d.entry.js.map +1 -0
- package/dist/pine-core/p-1c0ffcab.entry.js +2 -0
- package/dist/pine-core/p-1c0ffcab.entry.js.map +1 -0
- package/dist/pine-core/p-22bd3102.system.entry.js +9 -0
- package/dist/pine-core/p-22bd3102.system.entry.js.map +1 -0
- package/dist/pine-core/p-22dd8116.entry.js +2 -0
- package/dist/pine-core/p-22dd8116.entry.js.map +1 -0
- package/dist/pine-core/p-23fb6af2.system.entry.js +2 -0
- package/dist/pine-core/p-23fb6af2.system.entry.js.map +1 -0
- package/dist/pine-core/p-24077dcd.entry.js +2 -0
- package/dist/pine-core/p-24077dcd.entry.js.map +1 -0
- package/dist/pine-core/p-27fd7f08.system.entry.js +2 -0
- package/dist/pine-core/p-27fd7f08.system.entry.js.map +1 -0
- package/dist/pine-core/p-331cbf1d.entry.js +2 -0
- package/dist/pine-core/p-331cbf1d.entry.js.map +1 -0
- package/dist/pine-core/p-3386bfe1.system.entry.js +2 -0
- package/dist/pine-core/p-3386bfe1.system.entry.js.map +1 -0
- package/dist/pine-core/p-401cd4bc.entry.js +2 -0
- package/dist/pine-core/p-401cd4bc.entry.js.map +1 -0
- package/dist/pine-core/p-4a804680.entry.js +2 -0
- package/dist/pine-core/p-4a804680.entry.js.map +1 -0
- package/dist/pine-core/p-4fc42ff3.system.entry.js +2 -0
- package/dist/pine-core/p-4fc42ff3.system.entry.js.map +1 -0
- package/dist/pine-core/p-50ea2036.system.js +2 -0
- package/dist/pine-core/p-50ea2036.system.js.map +1 -0
- package/dist/pine-core/p-5b37a4a2.system.entry.js +2 -0
- package/dist/pine-core/p-5b37a4a2.system.entry.js.map +1 -0
- package/dist/pine-core/p-643f5378.entry.js +2 -0
- package/dist/pine-core/p-643f5378.entry.js.map +1 -0
- package/dist/pine-core/p-669d948a.system.entry.js +2 -0
- package/dist/pine-core/p-669d948a.system.entry.js.map +1 -0
- package/dist/pine-core/p-73262287.system.entry.js +2 -0
- package/dist/pine-core/p-73262287.system.entry.js.map +1 -0
- package/dist/pine-core/p-79d7e0b1.system.entry.js +2 -0
- package/dist/pine-core/p-79d7e0b1.system.entry.js.map +1 -0
- package/dist/pine-core/p-7bc01826.entry.js +2 -0
- package/dist/pine-core/p-7bc01826.entry.js.map +1 -0
- package/dist/pine-core/p-7fcd5f0b.entry.js +8 -0
- package/dist/pine-core/p-7fcd5f0b.entry.js.map +1 -0
- package/dist/pine-core/p-85f6a94e.system.entry.js +2 -0
- package/dist/pine-core/p-85f6a94e.system.entry.js.map +1 -0
- package/dist/pine-core/p-8f62c812.entry.js +2 -0
- package/dist/pine-core/p-8f62c812.entry.js.map +1 -0
- package/dist/pine-core/p-930ab8a3.system.entry.js +2 -0
- package/dist/pine-core/p-930ab8a3.system.entry.js.map +1 -0
- package/dist/pine-core/p-938886d8.system.entry.js +2 -0
- package/dist/pine-core/p-938886d8.system.entry.js.map +1 -0
- package/dist/pine-core/p-97cb4285.entry.js +2 -0
- package/dist/pine-core/p-97cb4285.entry.js.map +1 -0
- package/dist/pine-core/p-abdca153.js +3 -0
- package/dist/pine-core/p-abdca153.js.map +1 -0
- package/dist/pine-core/p-ac31a7c8.system.entry.js +2 -0
- package/dist/pine-core/p-ac31a7c8.system.entry.js.map +1 -0
- package/dist/pine-core/p-af75cc15.entry.js +2 -0
- package/dist/pine-core/p-af75cc15.entry.js.map +1 -0
- package/dist/pine-core/p-b17b818b.entry.js +2 -0
- package/dist/pine-core/p-b17b818b.entry.js.map +1 -0
- package/dist/pine-core/p-b79a8b07.entry.js +2 -0
- package/dist/pine-core/p-b79a8b07.entry.js.map +1 -0
- package/dist/pine-core/p-bce2d5b5.system.entry.js +2 -0
- package/dist/pine-core/p-bce2d5b5.system.entry.js.map +1 -0
- package/dist/pine-core/p-bff583bd.system.js +2 -0
- package/dist/pine-core/p-bff583bd.system.js.map +1 -0
- package/dist/pine-core/p-c0f9dbe1.system.entry.js +2 -0
- package/dist/pine-core/p-c0f9dbe1.system.entry.js.map +1 -0
- package/dist/pine-core/p-c4dbae0e.system.js +2 -0
- package/dist/pine-core/p-c4dbae0e.system.js.map +1 -0
- package/dist/pine-core/p-c6d878f8.entry.js +2 -0
- package/dist/pine-core/p-c6d878f8.entry.js.map +1 -0
- package/dist/pine-core/p-c8a41b43.system.entry.js +2 -0
- package/dist/pine-core/p-c8a41b43.system.entry.js.map +1 -0
- package/dist/pine-core/p-d3e173ea.system.entry.js +2 -0
- package/dist/pine-core/p-d3e173ea.system.entry.js.map +1 -0
- package/dist/pine-core/p-f09892d3.system.entry.js +2 -0
- package/dist/pine-core/p-f09892d3.system.entry.js.map +1 -0
- package/dist/pine-core/p-f168654a.entry.js +2 -0
- package/dist/pine-core/p-f168654a.entry.js.map +1 -0
- package/dist/pine-core/p-f1d7f16f.js +2 -0
- package/dist/pine-core/p-f1d7f16f.js.map +1 -0
- package/dist/pine-core/p-f2c3035d.system.entry.js +2 -0
- package/dist/pine-core/p-f2c3035d.system.entry.js.map +1 -0
- package/dist/pine-core/p-f3af6d74.system.entry.js +2 -0
- package/dist/pine-core/p-f3af6d74.system.entry.js.map +1 -0
- package/dist/pine-core/p-fa5d4e73.system.js +3 -0
- package/dist/pine-core/p-fa5d4e73.system.js.map +1 -0
- package/dist/pine-core/p-fba29e90.entry.js +2 -0
- package/dist/pine-core/p-fba29e90.entry.js.map +1 -0
- package/dist/pine-core/pine-core.css +1 -0
- package/dist/pine-core/pine-core.esm.js +2 -0
- package/dist/pine-core/pine-core.esm.js.map +1 -0
- package/dist/pine-core/pine-core.js +127 -0
- package/dist/pine-core/svg/access-key.svg +1 -0
- package/dist/pine-core/svg/add-circle.svg +1 -0
- package/dist/pine-core/svg/add-image.svg +1 -0
- package/dist/pine-core/svg/add-small.svg +1 -0
- package/dist/pine-core/svg/add.svg +1 -0
- package/dist/pine-core/svg/ai-sparkle.svg +1 -0
- package/dist/pine-core/svg/ai-writer-filled.svg +1 -0
- package/dist/pine-core/svg/ai-writer.svg +1 -0
- package/dist/pine-core/svg/align-center.svg +1 -0
- package/dist/pine-core/svg/align-justify.svg +1 -0
- package/dist/pine-core/svg/align-left.svg +1 -0
- package/dist/pine-core/svg/align-right.svg +1 -0
- package/dist/pine-core/svg/analytics-filled.svg +1 -0
- package/dist/pine-core/svg/analytics-outline.svg +1 -0
- package/dist/pine-core/svg/app-store.svg +1 -0
- package/dist/pine-core/svg/archive.svg +1 -0
- package/dist/pine-core/svg/arrow-corner.svg +1 -0
- package/dist/pine-core/svg/arrow-down.svg +1 -0
- package/dist/pine-core/svg/arrow-left.svg +1 -0
- package/dist/pine-core/svg/arrow-right.svg +1 -0
- package/dist/pine-core/svg/arrow-up.svg +1 -0
- package/dist/pine-core/svg/assessment.svg +1 -0
- package/dist/pine-core/svg/at-sign.svg +1 -0
- package/dist/pine-core/svg/attach.svg +1 -0
- package/dist/pine-core/svg/automations.svg +1 -0
- package/dist/pine-core/svg/ban.svg +1 -0
- package/dist/pine-core/svg/bank.svg +1 -0
- package/dist/pine-core/svg/bell.svg +1 -0
- package/dist/pine-core/svg/blog-filled.svg +1 -0
- package/dist/pine-core/svg/blog.svg +1 -0
- package/dist/pine-core/svg/bold.svg +1 -0
- package/dist/pine-core/svg/broadcast.svg +1 -0
- package/dist/pine-core/svg/calendar-date.svg +1 -0
- package/dist/pine-core/svg/calendar-schedule.svg +1 -0
- package/dist/pine-core/svg/calendar-simple.svg +1 -0
- package/dist/pine-core/svg/card-bw-amex.svg +1 -0
- package/dist/pine-core/svg/card-bw-apple-card.svg +1 -0
- package/dist/pine-core/svg/card-bw-diners-club.svg +1 -0
- package/dist/pine-core/svg/card-bw-discover.svg +1 -0
- package/dist/pine-core/svg/card-bw-gpay-card.svg +1 -0
- package/dist/pine-core/svg/card-bw-mastercard.svg +1 -0
- package/dist/pine-core/svg/card-bw-paypal.svg +1 -0
- package/dist/pine-core/svg/card-bw-stripe.svg +1 -0
- package/dist/pine-core/svg/card-bw-visa.svg +1 -0
- package/dist/pine-core/svg/card-update.svg +1 -0
- package/dist/pine-core/svg/caret-down.svg +1 -0
- package/dist/pine-core/svg/caret-left.svg +1 -0
- package/dist/pine-core/svg/caret-right.svg +1 -0
- package/dist/pine-core/svg/caret-up.svg +1 -0
- package/dist/pine-core/svg/cart-add.svg +1 -0
- package/dist/pine-core/svg/cart.svg +1 -0
- package/dist/pine-core/svg/certificate.svg +1 -0
- package/dist/pine-core/svg/check-circle-filled.svg +1 -0
- package/dist/pine-core/svg/check-circle.svg +1 -0
- package/dist/pine-core/svg/check.svg +1 -0
- package/dist/pine-core/svg/circle-1.svg +1 -0
- package/dist/pine-core/svg/circle-2.svg +1 -0
- package/dist/pine-core/svg/circle-3.svg +1 -0
- package/dist/pine-core/svg/circle-4.svg +1 -0
- package/dist/pine-core/svg/circle-5.svg +1 -0
- package/dist/pine-core/svg/circle-6.svg +1 -0
- package/dist/pine-core/svg/circle-7.svg +1 -0
- package/dist/pine-core/svg/circle-8.svg +1 -0
- package/dist/pine-core/svg/circle-9.svg +1 -0
- package/dist/pine-core/svg/clock.svg +1 -0
- package/dist/pine-core/svg/closed-captions.svg +1 -0
- package/dist/pine-core/svg/cloud-upload.svg +1 -0
- package/dist/pine-core/svg/code.svg +1 -0
- package/dist/pine-core/svg/color.svg +1 -0
- package/dist/pine-core/svg/columns.svg +1 -0
- package/dist/pine-core/svg/comment.svg +1 -0
- package/dist/pine-core/svg/connect.svg +1 -0
- package/dist/pine-core/svg/contact.svg +1 -0
- package/dist/pine-core/svg/contacts-filled.svg +1 -0
- package/dist/pine-core/svg/contacts-outline.svg +1 -0
- package/dist/pine-core/svg/conversation.svg +1 -0
- package/dist/pine-core/svg/copy.svg +1 -0
- package/dist/pine-core/svg/coupon.svg +1 -0
- package/dist/pine-core/svg/course.svg +1 -0
- package/dist/pine-core/svg/creator-studio-filled.svg +1 -0
- package/dist/pine-core/svg/creator-studio.svg +1 -0
- package/dist/pine-core/svg/credit-card.svg +1 -0
- package/dist/pine-core/svg/custom-field.svg +1 -0
- package/dist/pine-core/svg/customize.svg +1 -0
- package/dist/pine-core/svg/danger-filled.svg +1 -0
- package/dist/pine-core/svg/danger.svg +1 -0
- package/dist/pine-core/svg/dashboard-filled.svg +1 -0
- package/dist/pine-core/svg/dashboard-outline.svg +1 -0
- package/dist/pine-core/svg/delete-circle.svg +1 -0
- package/dist/pine-core/svg/delete-key.svg +1 -0
- package/dist/pine-core/svg/delete-x.svg +1 -0
- package/dist/pine-core/svg/dollar-sign.svg +1 -0
- package/dist/pine-core/svg/dot-menu-horizontal.svg +1 -0
- package/dist/pine-core/svg/down-small.svg +1 -0
- package/dist/pine-core/svg/download.svg +1 -0
- package/dist/pine-core/svg/downsell.svg +1 -0
- package/dist/pine-core/svg/draft.svg +1 -0
- package/dist/pine-core/svg/drop.svg +1 -0
- package/dist/pine-core/svg/duplicate.svg +1 -0
- package/dist/pine-core/svg/email-activity.svg +1 -0
- package/dist/pine-core/svg/emoji.svg +1 -0
- package/dist/pine-core/svg/enlarge-vertical.svg +1 -0
- package/dist/pine-core/svg/enlarge.svg +1 -0
- package/dist/pine-core/svg/expand.svg +1 -0
- package/dist/pine-core/svg/facebook-2.svg +1 -0
- package/dist/pine-core/svg/facebook.svg +1 -0
- package/dist/pine-core/svg/favorite.svg +1 -0
- package/dist/pine-core/svg/feedback.svg +1 -0
- package/dist/pine-core/svg/file-money.svg +1 -0
- package/dist/pine-core/svg/file.svg +1 -0
- package/dist/pine-core/svg/filter.svg +1 -0
- package/dist/pine-core/svg/flag.svg +1 -0
- package/dist/pine-core/svg/flash-filled.svg +1 -0
- package/dist/pine-core/svg/flash.svg +1 -0
- package/dist/pine-core/svg/folder-group.svg +1 -0
- package/dist/pine-core/svg/folder.svg +1 -0
- package/dist/pine-core/svg/form-field.svg +1 -0
- package/dist/pine-core/svg/form-filled.svg +1 -0
- package/dist/pine-core/svg/form.svg +1 -0
- package/dist/pine-core/svg/fullscreen.svg +1 -0
- package/dist/pine-core/svg/funnel.svg +1 -0
- package/dist/pine-core/svg/grant-offer.svg +1 -0
- package/dist/pine-core/svg/handle-2-vertical.svg +1 -0
- package/dist/pine-core/svg/handle-2.svg +1 -0
- package/dist/pine-core/svg/handle.svg +1 -0
- package/dist/pine-core/svg/hashtag.svg +1 -0
- package/dist/pine-core/svg/hd-video.svg +1 -0
- package/dist/pine-core/svg/heading-large.svg +1 -0
- package/dist/pine-core/svg/heading-small.svg +1 -0
- package/dist/pine-core/svg/headset.svg +1 -0
- package/dist/pine-core/svg/help-filled.svg +1 -0
- package/dist/pine-core/svg/help-outline.svg +1 -0
- package/dist/pine-core/svg/home-alt.svg +1 -0
- package/dist/pine-core/svg/horizontal-line.svg +1 -0
- package/dist/pine-core/svg/image.svg +1 -0
- package/dist/pine-core/svg/info-circle-filled.svg +1 -0
- package/dist/pine-core/svg/info-circle.svg +1 -0
- package/dist/pine-core/svg/instagram.svg +1 -0
- package/dist/pine-core/svg/ios-battery.svg +1 -0
- package/dist/pine-core/svg/ios-data.svg +1 -0
- package/dist/pine-core/svg/ios-wifi.svg +1 -0
- package/dist/pine-core/svg/italic.svg +1 -0
- package/dist/pine-core/svg/kajabi-filled.svg +1 -0
- package/dist/pine-core/svg/kajabi-outlined.svg +1 -0
- package/dist/pine-core/svg/lab.svg +1 -0
- package/dist/pine-core/svg/launch.svg +1 -0
- package/dist/pine-core/svg/layout-grid.svg +1 -0
- package/dist/pine-core/svg/layout-list.svg +1 -0
- package/dist/pine-core/svg/left-small.svg +1 -0
- package/dist/pine-core/svg/linkedin.svg +1 -0
- package/dist/pine-core/svg/list-bullet.svg +1 -0
- package/dist/pine-core/svg/list-numbers.svg +1 -0
- package/dist/pine-core/svg/location.svg +1 -0
- package/dist/pine-core/svg/lock-alt.svg +1 -0
- package/dist/pine-core/svg/lock.svg +1 -0
- package/dist/pine-core/svg/logo-afterpay.svg +1 -0
- package/dist/pine-core/svg/loop.svg +1 -0
- package/dist/pine-core/svg/mail-filled.svg +1 -0
- package/dist/pine-core/svg/mail.svg +1 -0
- package/dist/pine-core/svg/map.svg +1 -0
- package/dist/pine-core/svg/mapped.svg +1 -0
- package/dist/pine-core/svg/margin-left.svg +1 -0
- package/dist/pine-core/svg/margin-right.svg +1 -0
- package/dist/pine-core/svg/marker-filled.svg +1 -0
- package/dist/pine-core/svg/marker.svg +1 -0
- package/dist/pine-core/svg/marketing-filled.svg +1 -0
- package/dist/pine-core/svg/marketing-outline.svg +1 -0
- package/dist/pine-core/svg/menu-2.svg +1 -0
- package/dist/pine-core/svg/menu-alt.svg +1 -0
- package/dist/pine-core/svg/menu.svg +1 -0
- package/dist/pine-core/svg/merge.svg +1 -0
- package/dist/pine-core/svg/microphone-off.svg +1 -0
- package/dist/pine-core/svg/microphone.svg +1 -0
- package/dist/pine-core/svg/move-left.svg +1 -0
- package/dist/pine-core/svg/move-right.svg +1 -0
- package/dist/pine-core/svg/multi-pay.svg +1 -0
- package/dist/pine-core/svg/newsletter.svg +1 -0
- package/dist/pine-core/svg/one-off-session.svg +1 -0
- package/dist/pine-core/svg/one-time.svg +1 -0
- package/dist/pine-core/svg/partners-filled.svg +1 -0
- package/dist/pine-core/svg/partners-outline.svg +1 -0
- package/dist/pine-core/svg/pause-circle.svg +1 -0
- package/dist/pine-core/svg/pause.svg +1 -0
- package/dist/pine-core/svg/payout.svg +1 -0
- package/dist/pine-core/svg/pen.svg +1 -0
- package/dist/pine-core/svg/phone-portrait.svg +1 -0
- package/dist/pine-core/svg/phone-toolbar.svg +1 -0
- package/dist/pine-core/svg/play-circle.svg +1 -0
- package/dist/pine-core/svg/play-outline.svg +1 -0
- package/dist/pine-core/svg/play-store.svg +1 -0
- package/dist/pine-core/svg/play.svg +1 -0
- package/dist/pine-core/svg/plug.svg +1 -0
- package/dist/pine-core/svg/premium.svg +1 -0
- package/dist/pine-core/svg/present.svg +1 -0
- package/dist/pine-core/svg/preview-off.svg +1 -0
- package/dist/pine-core/svg/preview-on.svg +1 -0
- package/dist/pine-core/svg/products-filled.svg +1 -0
- package/dist/pine-core/svg/products-outline.svg +1 -0
- package/dist/pine-core/svg/question-circle.svg +1 -0
- package/dist/pine-core/svg/quote.svg +1 -0
- package/dist/pine-core/svg/redo.svg +1 -0
- package/dist/pine-core/svg/refresh.svg +1 -0
- package/dist/pine-core/svg/remove-circle.svg +1 -0
- package/dist/pine-core/svg/remove.svg +1 -0
- package/dist/pine-core/svg/rename.svg +1 -0
- package/dist/pine-core/svg/reset-password.svg +1 -0
- package/dist/pine-core/svg/restore.svg +1 -0
- package/dist/pine-core/svg/right-small.svg +1 -0
- package/dist/pine-core/svg/round-dollar.svg +1 -0
- package/dist/pine-core/svg/rows.svg +1 -0
- package/dist/pine-core/svg/sales-filled.svg +1 -0
- package/dist/pine-core/svg/sales-outline.svg +1 -0
- package/dist/pine-core/svg/scissor.svg +1 -0
- package/dist/pine-core/svg/screen-share-off.svg +1 -0
- package/dist/pine-core/svg/screen-share-on.svg +1 -0
- package/dist/pine-core/svg/search-small.svg +1 -0
- package/dist/pine-core/svg/search.svg +1 -0
- package/dist/pine-core/svg/send-message.svg +1 -0
- package/dist/pine-core/svg/sequences.svg +1 -0
- package/dist/pine-core/svg/series.svg +1 -0
- package/dist/pine-core/svg/settings-filled.svg +1 -0
- package/dist/pine-core/svg/settings-outline.svg +1 -0
- package/dist/pine-core/svg/share.svg +1 -0
- package/dist/pine-core/svg/skipped.svg +1 -0
- package/dist/pine-core/svg/slash-divider.svg +1 -0
- package/dist/pine-core/svg/sparkle-filled.svg +1 -0
- package/dist/pine-core/svg/sparkle.svg +1 -0
- package/dist/pine-core/svg/speaker.svg +1 -0
- package/dist/pine-core/svg/stack.svg +1 -0
- package/dist/pine-core/svg/star.svg +1 -0
- package/dist/pine-core/svg/stop.svg +1 -0
- package/dist/pine-core/svg/stopwatch.svg +1 -0
- package/dist/pine-core/svg/strikethrough.svg +1 -0
- package/dist/pine-core/svg/subscript.svg +1 -0
- package/dist/pine-core/svg/subscriptions.svg +1 -0
- package/dist/pine-core/svg/super-admin.svg +1 -0
- package/dist/pine-core/svg/superscript.svg +1 -0
- package/dist/pine-core/svg/sync.svg +1 -0
- package/dist/pine-core/svg/tablet-landscape.svg +1 -0
- package/dist/pine-core/svg/tablet-portrait.svg +1 -0
- package/dist/pine-core/svg/text-styles.svg +1 -0
- package/dist/pine-core/svg/theme-store-filled.svg +1 -0
- package/dist/pine-core/svg/theme-store.svg +1 -0
- package/dist/pine-core/svg/thumbs-down-filled.svg +1 -0
- package/dist/pine-core/svg/thumbs-down.svg +1 -0
- package/dist/pine-core/svg/thumbs-up-filled.svg +1 -0
- package/dist/pine-core/svg/thumbs-up.svg +1 -0
- package/dist/pine-core/svg/tiktok.svg +1 -0
- package/dist/pine-core/svg/trash.svg +1 -0
- package/dist/pine-core/svg/twitter.svg +1 -0
- package/dist/pine-core/svg/underline.svg +1 -0
- package/dist/pine-core/svg/undo.svg +1 -0
- package/dist/pine-core/svg/unlock.svg +1 -0
- package/dist/pine-core/svg/unmapped.svg +1 -0
- package/dist/pine-core/svg/up-small.svg +1 -0
- package/dist/pine-core/svg/upload.svg +1 -0
- package/dist/pine-core/svg/url.svg +1 -0
- package/dist/pine-core/svg/user-filled.svg +1 -0
- package/dist/pine-core/svg/user.svg +1 -0
- package/dist/pine-core/svg/users-wm.svg +1 -0
- package/dist/pine-core/svg/users.svg +1 -0
- package/dist/pine-core/svg/video-off.svg +1 -0
- package/dist/pine-core/svg/video-on.svg +1 -0
- package/dist/pine-core/svg/warning-filled.svg +1 -0
- package/dist/pine-core/svg/warning.svg +1 -0
- package/dist/pine-core/svg/website-filled.svg +1 -0
- package/dist/pine-core/svg/website-outline.svg +1 -0
- package/dist/pine-core/svg/window-paragraph.svg +1 -0
- package/dist/pine-core/svg/world.svg +1 -0
- package/dist/pine-core/svg/wrench.svg +1 -0
- package/dist/pine-core/svg/youtube.svg +1 -0
- package/dist/scripts/build-tokens.js +160 -0
- package/dist/scripts/build-tokens.js.map +1 -0
- package/dist/types/components/_internal/pds-label/pds-label.d.ts +22 -0
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +42 -0
- package/dist/types/components/pds-button/pds-button.d.ts +36 -0
- package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +55 -0
- package/dist/types/components/pds-chip/pds-chip.d.ts +39 -0
- package/dist/types/components/pds-copytext/pds-copytext.d.ts +34 -0
- package/dist/types/components/pds-divider/pds-divider.d.ts +17 -0
- package/dist/types/components/pds-image/pds-image.d.ts +42 -0
- package/dist/types/components/pds-input/pds-input.d.ts +59 -0
- package/dist/types/components/pds-link/pds-link.d.ts +34 -0
- package/dist/types/components/pds-progress/pds-progress.d.ts +31 -0
- package/dist/types/components/pds-radio/pds-radio.d.ts +54 -0
- package/dist/types/components/pds-sortable/pds-sortable-item/pds-sortable-item.d.ts +20 -0
- package/dist/types/components/pds-sortable/pds-sortable.d.ts +28 -0
- package/dist/types/components/pds-switch/pds-switch.d.ts +59 -0
- package/dist/types/components/pds-tabs/pds-tab/pds-tab.d.ts +35 -0
- package/dist/types/components/pds-tabs/pds-tabpanel/pds-tabpanel.d.ts +23 -0
- package/dist/types/components/pds-tabs/pds-tabs.d.ts +40 -0
- package/dist/types/components/pds-textarea/pds-textarea.d.ts +64 -0
- package/dist/types/components/pds-textarea/textarea-interface.d.ts +8 -0
- package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +68 -0
- package/dist/types/components.d.ts +1566 -0
- package/dist/types/global/pine-ui-global.d.ts +1 -0
- package/dist/types/home/runner/work/pine/pine/libs/core/.stencil/scripts/build-tokens.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interface.d.ts +17 -0
- package/dist/types/stencil-public-runtime.d.ts +1681 -0
- package/dist/types/stories/_helpers/index.d.ts +12 -0
- package/dist/types/utils/form.d.ts +12 -0
- package/dist/types/utils/overlay.d.ts +8 -0
- package/dist/types/utils/types.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +2 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +115 -0
- package/readme.md +75 -0
|
@@ -0,0 +1,1566 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { TextareaChangeEventDetail } from "./components/pds-textarea/textarea-interface";
|
|
9
|
+
export { TextareaChangeEventDetail } from "./components/pds-textarea/textarea-interface";
|
|
10
|
+
export namespace Components {
|
|
11
|
+
interface PdsAvatar {
|
|
12
|
+
/**
|
|
13
|
+
* The alt for a custom user image.
|
|
14
|
+
* @defaultValue null
|
|
15
|
+
*/
|
|
16
|
+
"alt"?: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Determines whether the badge is visible or not.
|
|
19
|
+
* @defaultValue false
|
|
20
|
+
*/
|
|
21
|
+
"badge"?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
24
|
+
*/
|
|
25
|
+
"componentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* Determines whether the avatar functions as a dropdown trigger.
|
|
28
|
+
* @defaultValue false
|
|
29
|
+
*/
|
|
30
|
+
"dropdown"?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The src for a custom user image.
|
|
33
|
+
* @defaultValue null
|
|
34
|
+
*/
|
|
35
|
+
"image"?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Size of the avatar. Value can be preset or custom.
|
|
38
|
+
* @defaultValue lg
|
|
39
|
+
*/
|
|
40
|
+
"size"?: | 'xl' // 64px
|
|
41
|
+
| 'lg' // 56px
|
|
42
|
+
| 'md' // 40px
|
|
43
|
+
| 'sm' // 32px
|
|
44
|
+
| 'xs' // 24px
|
|
45
|
+
| string;
|
|
46
|
+
/**
|
|
47
|
+
* Determines the variant of avatar. Changes appearance accordingly.
|
|
48
|
+
* @defaultValue customer
|
|
49
|
+
*/
|
|
50
|
+
"variant"?: 'customer' | 'admin';
|
|
51
|
+
}
|
|
52
|
+
interface PdsButton {
|
|
53
|
+
/**
|
|
54
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
55
|
+
*/
|
|
56
|
+
"componentId": string;
|
|
57
|
+
/**
|
|
58
|
+
* Toggles disabled state of button
|
|
59
|
+
* @defaultValue false
|
|
60
|
+
*/
|
|
61
|
+
"disabled"?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Displays icon before text when icon string matches an icon name
|
|
64
|
+
*/
|
|
65
|
+
"icon"?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Provides button with a submittable name
|
|
68
|
+
*/
|
|
69
|
+
"name"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Provides button with a type
|
|
72
|
+
* @defaultValue button
|
|
73
|
+
*/
|
|
74
|
+
"type"?: 'button' | 'reset' | 'submit';
|
|
75
|
+
/**
|
|
76
|
+
* Provides button with a submittable value
|
|
77
|
+
*/
|
|
78
|
+
"value"?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Sets button variant styles as outlined in Figma documentation
|
|
81
|
+
*/
|
|
82
|
+
"variant": 'primary' | 'secondary' | 'accent' | 'disclosure' | 'destructive' | 'unstyled';
|
|
83
|
+
}
|
|
84
|
+
interface PdsCheckbox {
|
|
85
|
+
/**
|
|
86
|
+
* It determines whether or not the checkbox is checked.
|
|
87
|
+
*/
|
|
88
|
+
"checked": boolean;
|
|
89
|
+
/**
|
|
90
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
91
|
+
*/
|
|
92
|
+
"componentId": string;
|
|
93
|
+
/**
|
|
94
|
+
* It determines whether or not the checkbox is disabled.
|
|
95
|
+
*/
|
|
96
|
+
"disabled": boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Displays message text describing an invalid state.
|
|
99
|
+
*/
|
|
100
|
+
"errorMessage": string;
|
|
101
|
+
/**
|
|
102
|
+
* String used for helper message below checkbox.
|
|
103
|
+
*/
|
|
104
|
+
"helperMessage": string;
|
|
105
|
+
/**
|
|
106
|
+
* If `true`, the checkbox will visually appear as indeterminate. Only JavaScript can set the objects `indeterminate` property. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes).
|
|
107
|
+
*/
|
|
108
|
+
"indeterminate": boolean;
|
|
109
|
+
/**
|
|
110
|
+
* It determines whether or not the checkbox is invalid.
|
|
111
|
+
*/
|
|
112
|
+
"invalid": boolean;
|
|
113
|
+
/**
|
|
114
|
+
* String used for label text next to checkbox.
|
|
115
|
+
*/
|
|
116
|
+
"label": string;
|
|
117
|
+
/**
|
|
118
|
+
* String used for checkbox `name` attribute.
|
|
119
|
+
*/
|
|
120
|
+
"name": string;
|
|
121
|
+
/**
|
|
122
|
+
* It determines whether or not the checkbox is required.
|
|
123
|
+
*/
|
|
124
|
+
"required": boolean;
|
|
125
|
+
/**
|
|
126
|
+
* The value of the checkbox that is submitted with a form.
|
|
127
|
+
*/
|
|
128
|
+
"value": string;
|
|
129
|
+
}
|
|
130
|
+
interface PdsChip {
|
|
131
|
+
/**
|
|
132
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
133
|
+
*/
|
|
134
|
+
"componentId": string;
|
|
135
|
+
/**
|
|
136
|
+
* Determines whether a dot should be displayed on the chip.
|
|
137
|
+
* @defaultValue false
|
|
138
|
+
*/
|
|
139
|
+
"dot": boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Sets the text label content of the chip.
|
|
142
|
+
*/
|
|
143
|
+
"label": string;
|
|
144
|
+
/**
|
|
145
|
+
* Determines whether the chip should be rendered in a larger size.
|
|
146
|
+
* @defaultValue false
|
|
147
|
+
*/
|
|
148
|
+
"large": boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Sets the color scheme of the chip.
|
|
151
|
+
* @defaultValue 'neutral'
|
|
152
|
+
*/
|
|
153
|
+
"sentiment": 'accent' | 'danger' | 'info' | 'neutral' | 'success' | 'warning';
|
|
154
|
+
/**
|
|
155
|
+
* Sets the style variant of the chip.
|
|
156
|
+
* @defaultValue 'text'
|
|
157
|
+
*/
|
|
158
|
+
"variant": 'text' | 'tag' | 'dropdown';
|
|
159
|
+
}
|
|
160
|
+
interface PdsCopytext {
|
|
161
|
+
/**
|
|
162
|
+
* Determines whether `copytext` should have a border.
|
|
163
|
+
* @defaultValue true
|
|
164
|
+
*/
|
|
165
|
+
"border": boolean;
|
|
166
|
+
/**
|
|
167
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
168
|
+
*/
|
|
169
|
+
"componentId": string;
|
|
170
|
+
/**
|
|
171
|
+
* Determines whether `copytext` should expand to the full width of its container.
|
|
172
|
+
* @defaultValue false
|
|
173
|
+
*/
|
|
174
|
+
"fullWidth": boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Determines whether the `value` should truncate and display with an ellipsis.
|
|
177
|
+
* @defaultValue false
|
|
178
|
+
*/
|
|
179
|
+
"truncate": boolean;
|
|
180
|
+
/**
|
|
181
|
+
* String that is displayed and that is also copied to the clipboard upon interaction.
|
|
182
|
+
*/
|
|
183
|
+
"value": string;
|
|
184
|
+
}
|
|
185
|
+
interface PdsDivider {
|
|
186
|
+
/**
|
|
187
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
188
|
+
*/
|
|
189
|
+
"componentId": string;
|
|
190
|
+
/**
|
|
191
|
+
* Adds offset margin/padding to expand the width (horizontal) or the height (vertical) of divider.
|
|
192
|
+
*/
|
|
193
|
+
"offset": 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
194
|
+
/**
|
|
195
|
+
* Sets divider to display vertically
|
|
196
|
+
* @defaultValue false
|
|
197
|
+
*/
|
|
198
|
+
"vertical": boolean;
|
|
199
|
+
}
|
|
200
|
+
interface PdsImage {
|
|
201
|
+
/**
|
|
202
|
+
* The image's alt tag. If none is provided, it will default to an empty string.
|
|
203
|
+
*/
|
|
204
|
+
"alt"?: string;
|
|
205
|
+
/**
|
|
206
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
207
|
+
*/
|
|
208
|
+
"componentId": string;
|
|
209
|
+
/**
|
|
210
|
+
* The height of the image in pixels. Setting this will devote space in the layout to prevent layout shifts when the image is loaded.
|
|
211
|
+
*/
|
|
212
|
+
"height"?: number;
|
|
213
|
+
/**
|
|
214
|
+
* Indicates how the browser should load the image.
|
|
215
|
+
*/
|
|
216
|
+
"loading"?: 'eager' | 'lazy';
|
|
217
|
+
/**
|
|
218
|
+
* Determines the intended display size of an image within certian breakpoints. Has no effect if `srcset` is not set or value has no width descriptor.
|
|
219
|
+
*/
|
|
220
|
+
"sizes"?: string;
|
|
221
|
+
/**
|
|
222
|
+
* The image's source.
|
|
223
|
+
*/
|
|
224
|
+
"src": string;
|
|
225
|
+
/**
|
|
226
|
+
* A set of image sources for the browser to use.
|
|
227
|
+
*/
|
|
228
|
+
"srcset"?: string;
|
|
229
|
+
/**
|
|
230
|
+
* The width of the image in pixels. Setting this will devote space in the layout to prevent layout shifts when the image is loaded.
|
|
231
|
+
*/
|
|
232
|
+
"width"?: number;
|
|
233
|
+
}
|
|
234
|
+
interface PdsInput {
|
|
235
|
+
/**
|
|
236
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
237
|
+
*/
|
|
238
|
+
"componentId": string;
|
|
239
|
+
/**
|
|
240
|
+
* Indicates whether or not the input field is disabled.
|
|
241
|
+
*/
|
|
242
|
+
"disabled"?: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* Specifies the error message and provides an error-themed treatment to the field.
|
|
245
|
+
*/
|
|
246
|
+
"errorMessage"?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Displays a message or hint below the input field.
|
|
249
|
+
*/
|
|
250
|
+
"helperMessage"?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Indicates whether or not the input field is invalid or throws an error.
|
|
253
|
+
*/
|
|
254
|
+
"invalid"?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Text to be displayed as the input label.
|
|
257
|
+
*/
|
|
258
|
+
"label"?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Specifies the name. Submitted with the form name/value pair.
|
|
261
|
+
*/
|
|
262
|
+
"name"?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Specifies a short hint that describes the expected value of the input field.
|
|
265
|
+
*/
|
|
266
|
+
"placeholder"?: string;
|
|
267
|
+
/**
|
|
268
|
+
* Indicates whether or not the input field is readonly.
|
|
269
|
+
*/
|
|
270
|
+
"readonly"?: boolean;
|
|
271
|
+
/**
|
|
272
|
+
* Indicates whether or not the input field is required.
|
|
273
|
+
*/
|
|
274
|
+
"required"?: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* Determines the type of control that will be displayed `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`
|
|
277
|
+
* @defaultValue "text"
|
|
278
|
+
*/
|
|
279
|
+
"type": string;
|
|
280
|
+
/**
|
|
281
|
+
* The value of the input.
|
|
282
|
+
*/
|
|
283
|
+
"value"?: string;
|
|
284
|
+
}
|
|
285
|
+
interface PdsLink {
|
|
286
|
+
/**
|
|
287
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
288
|
+
*/
|
|
289
|
+
"componentId": string;
|
|
290
|
+
/**
|
|
291
|
+
* When enabled, opens link in a new tab.
|
|
292
|
+
* @defaultValue false
|
|
293
|
+
*/
|
|
294
|
+
"external": boolean;
|
|
295
|
+
/**
|
|
296
|
+
* The Font size follows t-shirt model sm: 12px md: 14px lg: 16px
|
|
297
|
+
* @defaultValue lg
|
|
298
|
+
*/
|
|
299
|
+
"fontSize": 'sm' | 'md' | 'lg';
|
|
300
|
+
/**
|
|
301
|
+
* The URL that the hyperlink points to.
|
|
302
|
+
*/
|
|
303
|
+
"href": string;
|
|
304
|
+
/**
|
|
305
|
+
* Modifies the look of the link
|
|
306
|
+
*/
|
|
307
|
+
"variant": 'inline' | 'plain';
|
|
308
|
+
}
|
|
309
|
+
interface PdsProgress {
|
|
310
|
+
/**
|
|
311
|
+
* Determines whether or not progress is animated.
|
|
312
|
+
* @defaultValue false
|
|
313
|
+
*/
|
|
314
|
+
"animated": boolean;
|
|
315
|
+
/**
|
|
316
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
317
|
+
*/
|
|
318
|
+
"componentId": string;
|
|
319
|
+
/**
|
|
320
|
+
* Sets the progress fill color. Accepts a color token or a [valid color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).
|
|
321
|
+
* @defaultValue 'var(--pds-color-primary)'
|
|
322
|
+
*/
|
|
323
|
+
"fillColor": string;
|
|
324
|
+
/**
|
|
325
|
+
* String used for label text. Label is visually hidden but required for better accessibility.
|
|
326
|
+
*/
|
|
327
|
+
"label": string;
|
|
328
|
+
/**
|
|
329
|
+
* Sets the progress fill pecentage and visually displayed when `show-percentage=true`.
|
|
330
|
+
* @defaultValue 0
|
|
331
|
+
*/
|
|
332
|
+
"percent": number;
|
|
333
|
+
/**
|
|
334
|
+
* Determines whether or not the percent value should be displayed as text.
|
|
335
|
+
* @defaultValue false
|
|
336
|
+
*/
|
|
337
|
+
"showPercent": boolean;
|
|
338
|
+
}
|
|
339
|
+
interface PdsRadio {
|
|
340
|
+
/**
|
|
341
|
+
* Determines whether or not the radio is checked.
|
|
342
|
+
* @defaultValue false
|
|
343
|
+
*/
|
|
344
|
+
"checked": boolean;
|
|
345
|
+
/**
|
|
346
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
347
|
+
*/
|
|
348
|
+
"componentId": string;
|
|
349
|
+
/**
|
|
350
|
+
* Determines whether or not the radio is disabled.
|
|
351
|
+
* @defaultValue false
|
|
352
|
+
*/
|
|
353
|
+
"disabled": boolean;
|
|
354
|
+
/**
|
|
355
|
+
* Displays message text describing an invalid state.
|
|
356
|
+
*/
|
|
357
|
+
"errorMessage": string;
|
|
358
|
+
/**
|
|
359
|
+
* String used for helper message below radio.
|
|
360
|
+
*/
|
|
361
|
+
"helperMessage": string;
|
|
362
|
+
/**
|
|
363
|
+
* Determines whether or not the radio is invalid.
|
|
364
|
+
* @defaultValue false
|
|
365
|
+
*/
|
|
366
|
+
"invalid": boolean;
|
|
367
|
+
/**
|
|
368
|
+
* String used for label text next to radio.
|
|
369
|
+
*/
|
|
370
|
+
"label": string;
|
|
371
|
+
/**
|
|
372
|
+
* String used for radio `name` attribute.
|
|
373
|
+
*/
|
|
374
|
+
"name": string;
|
|
375
|
+
/**
|
|
376
|
+
* Determines whether or not the radio is required.
|
|
377
|
+
* @defaultValue false
|
|
378
|
+
*/
|
|
379
|
+
"required": boolean;
|
|
380
|
+
/**
|
|
381
|
+
* The value of the radio that is submitted with a form.
|
|
382
|
+
*/
|
|
383
|
+
"value": string;
|
|
384
|
+
}
|
|
385
|
+
interface PdsSortable {
|
|
386
|
+
/**
|
|
387
|
+
* Determines whether `sortable` should have a border.
|
|
388
|
+
* @defaultValue false
|
|
389
|
+
*/
|
|
390
|
+
"border": boolean;
|
|
391
|
+
/**
|
|
392
|
+
* A unique identifier used for the sortable container `id` attribute.
|
|
393
|
+
*/
|
|
394
|
+
"componentId": string;
|
|
395
|
+
/**
|
|
396
|
+
* Deternines whether `sortable` items should be divided with border.
|
|
397
|
+
*/
|
|
398
|
+
"dividers": boolean;
|
|
399
|
+
/**
|
|
400
|
+
* Determines the grabbable area for the `pds-sortable-item`.
|
|
401
|
+
*/
|
|
402
|
+
"handleType": 'handle' | 'row';
|
|
403
|
+
}
|
|
404
|
+
interface PdsSortableItem {
|
|
405
|
+
/**
|
|
406
|
+
* A unique identifier used for the sortable item `id` attribute.
|
|
407
|
+
*/
|
|
408
|
+
"componentId": string;
|
|
409
|
+
/**
|
|
410
|
+
* Determines whether `sortable-item-actions` slot should be enabled.
|
|
411
|
+
* @defaultValue false
|
|
412
|
+
*/
|
|
413
|
+
"enableActions": boolean;
|
|
414
|
+
/**
|
|
415
|
+
* Determines whether `sortable-item` should have a handle.
|
|
416
|
+
* @defaultValue false
|
|
417
|
+
*/
|
|
418
|
+
"handle": boolean;
|
|
419
|
+
}
|
|
420
|
+
interface PdsSwitch {
|
|
421
|
+
/**
|
|
422
|
+
* Determines the input 'checked' state
|
|
423
|
+
*/
|
|
424
|
+
"checked": boolean;
|
|
425
|
+
/**
|
|
426
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
427
|
+
*/
|
|
428
|
+
"componentId": string;
|
|
429
|
+
/**
|
|
430
|
+
* Determines the input 'disabled' state, preventing user interaction
|
|
431
|
+
*/
|
|
432
|
+
"disabled"?: boolean;
|
|
433
|
+
/**
|
|
434
|
+
* Displays message text describing an invalid state
|
|
435
|
+
*/
|
|
436
|
+
"errorMessage"?: string;
|
|
437
|
+
/**
|
|
438
|
+
* Displays help text for additional description of an input
|
|
439
|
+
*/
|
|
440
|
+
"helperMessage": string;
|
|
441
|
+
/**
|
|
442
|
+
* Determines the input 'invalid' state, signifying an error is present
|
|
443
|
+
*/
|
|
444
|
+
"invalid"?: boolean;
|
|
445
|
+
/**
|
|
446
|
+
* Displays text to describe the input
|
|
447
|
+
*/
|
|
448
|
+
"label": string;
|
|
449
|
+
/**
|
|
450
|
+
* Identifies form data and unifies a group of radio inputs for toggling a single property/value
|
|
451
|
+
*/
|
|
452
|
+
"name": string;
|
|
453
|
+
/**
|
|
454
|
+
* Determines the 'required' state of the input
|
|
455
|
+
*/
|
|
456
|
+
"required"?: boolean;
|
|
457
|
+
/**
|
|
458
|
+
* Specifies the underlying input element type
|
|
459
|
+
* @defaultValue 'checkbox'
|
|
460
|
+
*/
|
|
461
|
+
"type": 'checkbox' | 'radio';
|
|
462
|
+
/**
|
|
463
|
+
* Provides input with a string submitted in form data, and can be used to distinguish radio inputs
|
|
464
|
+
*/
|
|
465
|
+
"value": string;
|
|
466
|
+
}
|
|
467
|
+
interface PdsTab {
|
|
468
|
+
"index": number;
|
|
469
|
+
/**
|
|
470
|
+
* Sets the related tab name, this name must match a `pds-tabpanel`'s tab name property
|
|
471
|
+
*/
|
|
472
|
+
"name": string;
|
|
473
|
+
"parentComponentId": string;
|
|
474
|
+
"selected": boolean;
|
|
475
|
+
"variant": string;
|
|
476
|
+
}
|
|
477
|
+
interface PdsTabpanel {
|
|
478
|
+
/**
|
|
479
|
+
* Sets the related tab name, this name must match a `pds-tab`'s tab name property
|
|
480
|
+
*/
|
|
481
|
+
"name": string;
|
|
482
|
+
"parentComponentId": string;
|
|
483
|
+
"selected": boolean;
|
|
484
|
+
"variant": string;
|
|
485
|
+
}
|
|
486
|
+
interface PdsTabs {
|
|
487
|
+
"activeTabIndex": number;
|
|
488
|
+
/**
|
|
489
|
+
* Sets the starting active tab name and maintains the name as the component re-renders
|
|
490
|
+
*/
|
|
491
|
+
"activeTabName": string;
|
|
492
|
+
/**
|
|
493
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
494
|
+
*/
|
|
495
|
+
"componentId": string;
|
|
496
|
+
/**
|
|
497
|
+
* Sets the aria-label attached to the tablist element
|
|
498
|
+
*/
|
|
499
|
+
"tablistLabel": string;
|
|
500
|
+
/**
|
|
501
|
+
* Sets tabs variant styles as outlined in Figma documentation
|
|
502
|
+
*/
|
|
503
|
+
"variant": 'primary' | 'availability' | 'filter';
|
|
504
|
+
}
|
|
505
|
+
interface PdsTextarea {
|
|
506
|
+
/**
|
|
507
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
508
|
+
*/
|
|
509
|
+
"componentId": string;
|
|
510
|
+
/**
|
|
511
|
+
* Indicates whether or not the textarea is disabled
|
|
512
|
+
* @defaultValue false
|
|
513
|
+
*/
|
|
514
|
+
"disabled": boolean;
|
|
515
|
+
/**
|
|
516
|
+
* Specifies the error text and provides an error-themed treatment to the field
|
|
517
|
+
*/
|
|
518
|
+
"errorMessage"?: string;
|
|
519
|
+
/**
|
|
520
|
+
* Displays a hint or description of the textarea
|
|
521
|
+
*/
|
|
522
|
+
"helperMessage"?: string;
|
|
523
|
+
/**
|
|
524
|
+
* Indicates whether or not the textarea is invalid or throws an error
|
|
525
|
+
* @defaultValue false
|
|
526
|
+
*/
|
|
527
|
+
"invalid": boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Text to be displayed as the textarea label
|
|
530
|
+
*/
|
|
531
|
+
"label"?: string;
|
|
532
|
+
/**
|
|
533
|
+
* Specifies the name, submitted with the form name/value pair. This value will mirror the componentId
|
|
534
|
+
*/
|
|
535
|
+
"name": string;
|
|
536
|
+
/**
|
|
537
|
+
* Specifies a short hint that describes the expected value of the textarea
|
|
538
|
+
*/
|
|
539
|
+
"placeholder"?: string;
|
|
540
|
+
/**
|
|
541
|
+
* Indicates whether or not the textarea is readonly
|
|
542
|
+
* @defaultValue false
|
|
543
|
+
*/
|
|
544
|
+
"readonly": boolean;
|
|
545
|
+
/**
|
|
546
|
+
* Indicates whether or not the textarea is required
|
|
547
|
+
* @defaultValue false
|
|
548
|
+
*/
|
|
549
|
+
"required": boolean;
|
|
550
|
+
/**
|
|
551
|
+
* Sets number of rows of text visible without needing to scroll in the textarea
|
|
552
|
+
*/
|
|
553
|
+
"rows"?: number;
|
|
554
|
+
/**
|
|
555
|
+
* The value of the textarea
|
|
556
|
+
*/
|
|
557
|
+
"value"?: string;
|
|
558
|
+
}
|
|
559
|
+
interface PdsTooltip {
|
|
560
|
+
/**
|
|
561
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
562
|
+
*/
|
|
563
|
+
"componentId": string;
|
|
564
|
+
/**
|
|
565
|
+
* Content for the tooltip. If HTML is required, use the content slot
|
|
566
|
+
*/
|
|
567
|
+
"content": string;
|
|
568
|
+
/**
|
|
569
|
+
* Determines whether or not the tooltip has an arrow
|
|
570
|
+
* @defaultValue true
|
|
571
|
+
*/
|
|
572
|
+
"hasArrow"?: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* Hides the tooltip by disabling the opened property
|
|
575
|
+
*/
|
|
576
|
+
"hideTooltip": () => Promise<void>;
|
|
577
|
+
/**
|
|
578
|
+
* Enable this option when using the content slot
|
|
579
|
+
* @defaultValue false
|
|
580
|
+
*/
|
|
581
|
+
"htmlContent": boolean;
|
|
582
|
+
/**
|
|
583
|
+
* Determines whether or not the tooltip is visible
|
|
584
|
+
* @defaultValue false
|
|
585
|
+
*/
|
|
586
|
+
"opened": boolean;
|
|
587
|
+
/**
|
|
588
|
+
* Determines the preferred position of the tooltip
|
|
589
|
+
* @defaultValue "right"
|
|
590
|
+
*/
|
|
591
|
+
"placement": 'top'
|
|
592
|
+
| 'top-start'
|
|
593
|
+
| 'top-end'
|
|
594
|
+
| 'right'
|
|
595
|
+
| 'right-start'
|
|
596
|
+
| 'right-end'
|
|
597
|
+
| 'bottom'
|
|
598
|
+
| 'bottom-start'
|
|
599
|
+
| 'bottom-end'
|
|
600
|
+
| 'left'
|
|
601
|
+
| 'left-start'
|
|
602
|
+
| 'left-end';
|
|
603
|
+
/**
|
|
604
|
+
* Shows the tooltip by enabling the opened property
|
|
605
|
+
*/
|
|
606
|
+
"showTooltip": () => Promise<void>;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
export interface PdsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
610
|
+
detail: T;
|
|
611
|
+
target: HTMLPdsCheckboxElement;
|
|
612
|
+
}
|
|
613
|
+
export interface PdsChipCustomEvent<T> extends CustomEvent<T> {
|
|
614
|
+
detail: T;
|
|
615
|
+
target: HTMLPdsChipElement;
|
|
616
|
+
}
|
|
617
|
+
export interface PdsCopytextCustomEvent<T> extends CustomEvent<T> {
|
|
618
|
+
detail: T;
|
|
619
|
+
target: HTMLPdsCopytextElement;
|
|
620
|
+
}
|
|
621
|
+
export interface PdsInputCustomEvent<T> extends CustomEvent<T> {
|
|
622
|
+
detail: T;
|
|
623
|
+
target: HTMLPdsInputElement;
|
|
624
|
+
}
|
|
625
|
+
export interface PdsRadioCustomEvent<T> extends CustomEvent<T> {
|
|
626
|
+
detail: T;
|
|
627
|
+
target: HTMLPdsRadioElement;
|
|
628
|
+
}
|
|
629
|
+
export interface PdsSortableCustomEvent<T> extends CustomEvent<T> {
|
|
630
|
+
detail: T;
|
|
631
|
+
target: HTMLPdsSortableElement;
|
|
632
|
+
}
|
|
633
|
+
export interface PdsSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
634
|
+
detail: T;
|
|
635
|
+
target: HTMLPdsSwitchElement;
|
|
636
|
+
}
|
|
637
|
+
export interface PdsTabCustomEvent<T> extends CustomEvent<T> {
|
|
638
|
+
detail: T;
|
|
639
|
+
target: HTMLPdsTabElement;
|
|
640
|
+
}
|
|
641
|
+
export interface PdsTextareaCustomEvent<T> extends CustomEvent<T> {
|
|
642
|
+
detail: T;
|
|
643
|
+
target: HTMLPdsTextareaElement;
|
|
644
|
+
}
|
|
645
|
+
export interface PdsTooltipCustomEvent<T> extends CustomEvent<T> {
|
|
646
|
+
detail: T;
|
|
647
|
+
target: HTMLPdsTooltipElement;
|
|
648
|
+
}
|
|
649
|
+
declare global {
|
|
650
|
+
interface HTMLPdsAvatarElement extends Components.PdsAvatar, HTMLStencilElement {
|
|
651
|
+
}
|
|
652
|
+
var HTMLPdsAvatarElement: {
|
|
653
|
+
prototype: HTMLPdsAvatarElement;
|
|
654
|
+
new (): HTMLPdsAvatarElement;
|
|
655
|
+
};
|
|
656
|
+
interface HTMLPdsButtonElement extends Components.PdsButton, HTMLStencilElement {
|
|
657
|
+
}
|
|
658
|
+
var HTMLPdsButtonElement: {
|
|
659
|
+
prototype: HTMLPdsButtonElement;
|
|
660
|
+
new (): HTMLPdsButtonElement;
|
|
661
|
+
};
|
|
662
|
+
interface HTMLPdsCheckboxElementEventMap {
|
|
663
|
+
"pdsCheckboxChange": boolean;
|
|
664
|
+
}
|
|
665
|
+
interface HTMLPdsCheckboxElement extends Components.PdsCheckbox, HTMLStencilElement {
|
|
666
|
+
addEventListener<K extends keyof HTMLPdsCheckboxElementEventMap>(type: K, listener: (this: HTMLPdsCheckboxElement, ev: PdsCheckboxCustomEvent<HTMLPdsCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
667
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
668
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
669
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
670
|
+
removeEventListener<K extends keyof HTMLPdsCheckboxElementEventMap>(type: K, listener: (this: HTMLPdsCheckboxElement, ev: PdsCheckboxCustomEvent<HTMLPdsCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
671
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
672
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
673
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
674
|
+
}
|
|
675
|
+
var HTMLPdsCheckboxElement: {
|
|
676
|
+
prototype: HTMLPdsCheckboxElement;
|
|
677
|
+
new (): HTMLPdsCheckboxElement;
|
|
678
|
+
};
|
|
679
|
+
interface HTMLPdsChipElementEventMap {
|
|
680
|
+
"pdsTagCloseClick": any;
|
|
681
|
+
}
|
|
682
|
+
interface HTMLPdsChipElement extends Components.PdsChip, HTMLStencilElement {
|
|
683
|
+
addEventListener<K extends keyof HTMLPdsChipElementEventMap>(type: K, listener: (this: HTMLPdsChipElement, ev: PdsChipCustomEvent<HTMLPdsChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
684
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
685
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
686
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
687
|
+
removeEventListener<K extends keyof HTMLPdsChipElementEventMap>(type: K, listener: (this: HTMLPdsChipElement, ev: PdsChipCustomEvent<HTMLPdsChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
688
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
689
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
690
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
691
|
+
}
|
|
692
|
+
var HTMLPdsChipElement: {
|
|
693
|
+
prototype: HTMLPdsChipElement;
|
|
694
|
+
new (): HTMLPdsChipElement;
|
|
695
|
+
};
|
|
696
|
+
interface HTMLPdsCopytextElementEventMap {
|
|
697
|
+
"pdsCopyTextClick": any;
|
|
698
|
+
}
|
|
699
|
+
interface HTMLPdsCopytextElement extends Components.PdsCopytext, HTMLStencilElement {
|
|
700
|
+
addEventListener<K extends keyof HTMLPdsCopytextElementEventMap>(type: K, listener: (this: HTMLPdsCopytextElement, ev: PdsCopytextCustomEvent<HTMLPdsCopytextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
701
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
702
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
703
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
704
|
+
removeEventListener<K extends keyof HTMLPdsCopytextElementEventMap>(type: K, listener: (this: HTMLPdsCopytextElement, ev: PdsCopytextCustomEvent<HTMLPdsCopytextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
705
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
706
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
707
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
708
|
+
}
|
|
709
|
+
var HTMLPdsCopytextElement: {
|
|
710
|
+
prototype: HTMLPdsCopytextElement;
|
|
711
|
+
new (): HTMLPdsCopytextElement;
|
|
712
|
+
};
|
|
713
|
+
interface HTMLPdsDividerElement extends Components.PdsDivider, HTMLStencilElement {
|
|
714
|
+
}
|
|
715
|
+
var HTMLPdsDividerElement: {
|
|
716
|
+
prototype: HTMLPdsDividerElement;
|
|
717
|
+
new (): HTMLPdsDividerElement;
|
|
718
|
+
};
|
|
719
|
+
interface HTMLPdsImageElement extends Components.PdsImage, HTMLStencilElement {
|
|
720
|
+
}
|
|
721
|
+
var HTMLPdsImageElement: {
|
|
722
|
+
prototype: HTMLPdsImageElement;
|
|
723
|
+
new (): HTMLPdsImageElement;
|
|
724
|
+
};
|
|
725
|
+
interface HTMLPdsInputElementEventMap {
|
|
726
|
+
"pdsInput": InputEvent;
|
|
727
|
+
}
|
|
728
|
+
interface HTMLPdsInputElement extends Components.PdsInput, HTMLStencilElement {
|
|
729
|
+
addEventListener<K extends keyof HTMLPdsInputElementEventMap>(type: K, listener: (this: HTMLPdsInputElement, ev: PdsInputCustomEvent<HTMLPdsInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
730
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
731
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
732
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
733
|
+
removeEventListener<K extends keyof HTMLPdsInputElementEventMap>(type: K, listener: (this: HTMLPdsInputElement, ev: PdsInputCustomEvent<HTMLPdsInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
734
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
735
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
736
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
737
|
+
}
|
|
738
|
+
var HTMLPdsInputElement: {
|
|
739
|
+
prototype: HTMLPdsInputElement;
|
|
740
|
+
new (): HTMLPdsInputElement;
|
|
741
|
+
};
|
|
742
|
+
interface HTMLPdsLinkElement extends Components.PdsLink, HTMLStencilElement {
|
|
743
|
+
}
|
|
744
|
+
var HTMLPdsLinkElement: {
|
|
745
|
+
prototype: HTMLPdsLinkElement;
|
|
746
|
+
new (): HTMLPdsLinkElement;
|
|
747
|
+
};
|
|
748
|
+
interface HTMLPdsProgressElement extends Components.PdsProgress, HTMLStencilElement {
|
|
749
|
+
}
|
|
750
|
+
var HTMLPdsProgressElement: {
|
|
751
|
+
prototype: HTMLPdsProgressElement;
|
|
752
|
+
new (): HTMLPdsProgressElement;
|
|
753
|
+
};
|
|
754
|
+
interface HTMLPdsRadioElementEventMap {
|
|
755
|
+
"pdsRadioChange": boolean;
|
|
756
|
+
}
|
|
757
|
+
interface HTMLPdsRadioElement extends Components.PdsRadio, HTMLStencilElement {
|
|
758
|
+
addEventListener<K extends keyof HTMLPdsRadioElementEventMap>(type: K, listener: (this: HTMLPdsRadioElement, ev: PdsRadioCustomEvent<HTMLPdsRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
759
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
760
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
761
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
762
|
+
removeEventListener<K extends keyof HTMLPdsRadioElementEventMap>(type: K, listener: (this: HTMLPdsRadioElement, ev: PdsRadioCustomEvent<HTMLPdsRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
763
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
764
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
765
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
766
|
+
}
|
|
767
|
+
var HTMLPdsRadioElement: {
|
|
768
|
+
prototype: HTMLPdsRadioElement;
|
|
769
|
+
new (): HTMLPdsRadioElement;
|
|
770
|
+
};
|
|
771
|
+
interface HTMLPdsSortableElementEventMap {
|
|
772
|
+
"pdsSortableItemMoved": any;
|
|
773
|
+
}
|
|
774
|
+
interface HTMLPdsSortableElement extends Components.PdsSortable, HTMLStencilElement {
|
|
775
|
+
addEventListener<K extends keyof HTMLPdsSortableElementEventMap>(type: K, listener: (this: HTMLPdsSortableElement, ev: PdsSortableCustomEvent<HTMLPdsSortableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
776
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
777
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
778
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
779
|
+
removeEventListener<K extends keyof HTMLPdsSortableElementEventMap>(type: K, listener: (this: HTMLPdsSortableElement, ev: PdsSortableCustomEvent<HTMLPdsSortableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
780
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
781
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
782
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
783
|
+
}
|
|
784
|
+
var HTMLPdsSortableElement: {
|
|
785
|
+
prototype: HTMLPdsSortableElement;
|
|
786
|
+
new (): HTMLPdsSortableElement;
|
|
787
|
+
};
|
|
788
|
+
interface HTMLPdsSortableItemElement extends Components.PdsSortableItem, HTMLStencilElement {
|
|
789
|
+
}
|
|
790
|
+
var HTMLPdsSortableItemElement: {
|
|
791
|
+
prototype: HTMLPdsSortableItemElement;
|
|
792
|
+
new (): HTMLPdsSortableItemElement;
|
|
793
|
+
};
|
|
794
|
+
interface HTMLPdsSwitchElementEventMap {
|
|
795
|
+
"pdsSwitchChange": InputEvent;
|
|
796
|
+
}
|
|
797
|
+
interface HTMLPdsSwitchElement extends Components.PdsSwitch, HTMLStencilElement {
|
|
798
|
+
addEventListener<K extends keyof HTMLPdsSwitchElementEventMap>(type: K, listener: (this: HTMLPdsSwitchElement, ev: PdsSwitchCustomEvent<HTMLPdsSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
799
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
800
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
801
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
802
|
+
removeEventListener<K extends keyof HTMLPdsSwitchElementEventMap>(type: K, listener: (this: HTMLPdsSwitchElement, ev: PdsSwitchCustomEvent<HTMLPdsSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
803
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
804
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
805
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
806
|
+
}
|
|
807
|
+
var HTMLPdsSwitchElement: {
|
|
808
|
+
prototype: HTMLPdsSwitchElement;
|
|
809
|
+
new (): HTMLPdsSwitchElement;
|
|
810
|
+
};
|
|
811
|
+
interface HTMLPdsTabElementEventMap {
|
|
812
|
+
"pdsTabClick": object;
|
|
813
|
+
}
|
|
814
|
+
interface HTMLPdsTabElement extends Components.PdsTab, HTMLStencilElement {
|
|
815
|
+
addEventListener<K extends keyof HTMLPdsTabElementEventMap>(type: K, listener: (this: HTMLPdsTabElement, ev: PdsTabCustomEvent<HTMLPdsTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
816
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
817
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
818
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
819
|
+
removeEventListener<K extends keyof HTMLPdsTabElementEventMap>(type: K, listener: (this: HTMLPdsTabElement, ev: PdsTabCustomEvent<HTMLPdsTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
820
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
821
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
822
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
823
|
+
}
|
|
824
|
+
var HTMLPdsTabElement: {
|
|
825
|
+
prototype: HTMLPdsTabElement;
|
|
826
|
+
new (): HTMLPdsTabElement;
|
|
827
|
+
};
|
|
828
|
+
interface HTMLPdsTabpanelElement extends Components.PdsTabpanel, HTMLStencilElement {
|
|
829
|
+
}
|
|
830
|
+
var HTMLPdsTabpanelElement: {
|
|
831
|
+
prototype: HTMLPdsTabpanelElement;
|
|
832
|
+
new (): HTMLPdsTabpanelElement;
|
|
833
|
+
};
|
|
834
|
+
interface HTMLPdsTabsElement extends Components.PdsTabs, HTMLStencilElement {
|
|
835
|
+
}
|
|
836
|
+
var HTMLPdsTabsElement: {
|
|
837
|
+
prototype: HTMLPdsTabsElement;
|
|
838
|
+
new (): HTMLPdsTabsElement;
|
|
839
|
+
};
|
|
840
|
+
interface HTMLPdsTextareaElementEventMap {
|
|
841
|
+
"pdsTextareaChange": TextareaChangeEventDetail;
|
|
842
|
+
}
|
|
843
|
+
interface HTMLPdsTextareaElement extends Components.PdsTextarea, HTMLStencilElement {
|
|
844
|
+
addEventListener<K extends keyof HTMLPdsTextareaElementEventMap>(type: K, listener: (this: HTMLPdsTextareaElement, ev: PdsTextareaCustomEvent<HTMLPdsTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
845
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
846
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
847
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
848
|
+
removeEventListener<K extends keyof HTMLPdsTextareaElementEventMap>(type: K, listener: (this: HTMLPdsTextareaElement, ev: PdsTextareaCustomEvent<HTMLPdsTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
849
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
850
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
851
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
852
|
+
}
|
|
853
|
+
var HTMLPdsTextareaElement: {
|
|
854
|
+
prototype: HTMLPdsTextareaElement;
|
|
855
|
+
new (): HTMLPdsTextareaElement;
|
|
856
|
+
};
|
|
857
|
+
interface HTMLPdsTooltipElementEventMap {
|
|
858
|
+
"pdsTooltipHide": any;
|
|
859
|
+
"pdsTooltipShow": any;
|
|
860
|
+
}
|
|
861
|
+
interface HTMLPdsTooltipElement extends Components.PdsTooltip, HTMLStencilElement {
|
|
862
|
+
addEventListener<K extends keyof HTMLPdsTooltipElementEventMap>(type: K, listener: (this: HTMLPdsTooltipElement, ev: PdsTooltipCustomEvent<HTMLPdsTooltipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
863
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
864
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
865
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
866
|
+
removeEventListener<K extends keyof HTMLPdsTooltipElementEventMap>(type: K, listener: (this: HTMLPdsTooltipElement, ev: PdsTooltipCustomEvent<HTMLPdsTooltipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
867
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
868
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
869
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
870
|
+
}
|
|
871
|
+
var HTMLPdsTooltipElement: {
|
|
872
|
+
prototype: HTMLPdsTooltipElement;
|
|
873
|
+
new (): HTMLPdsTooltipElement;
|
|
874
|
+
};
|
|
875
|
+
interface HTMLElementTagNameMap {
|
|
876
|
+
"pds-avatar": HTMLPdsAvatarElement;
|
|
877
|
+
"pds-button": HTMLPdsButtonElement;
|
|
878
|
+
"pds-checkbox": HTMLPdsCheckboxElement;
|
|
879
|
+
"pds-chip": HTMLPdsChipElement;
|
|
880
|
+
"pds-copytext": HTMLPdsCopytextElement;
|
|
881
|
+
"pds-divider": HTMLPdsDividerElement;
|
|
882
|
+
"pds-image": HTMLPdsImageElement;
|
|
883
|
+
"pds-input": HTMLPdsInputElement;
|
|
884
|
+
"pds-link": HTMLPdsLinkElement;
|
|
885
|
+
"pds-progress": HTMLPdsProgressElement;
|
|
886
|
+
"pds-radio": HTMLPdsRadioElement;
|
|
887
|
+
"pds-sortable": HTMLPdsSortableElement;
|
|
888
|
+
"pds-sortable-item": HTMLPdsSortableItemElement;
|
|
889
|
+
"pds-switch": HTMLPdsSwitchElement;
|
|
890
|
+
"pds-tab": HTMLPdsTabElement;
|
|
891
|
+
"pds-tabpanel": HTMLPdsTabpanelElement;
|
|
892
|
+
"pds-tabs": HTMLPdsTabsElement;
|
|
893
|
+
"pds-textarea": HTMLPdsTextareaElement;
|
|
894
|
+
"pds-tooltip": HTMLPdsTooltipElement;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
declare namespace LocalJSX {
|
|
898
|
+
interface PdsAvatar {
|
|
899
|
+
/**
|
|
900
|
+
* The alt for a custom user image.
|
|
901
|
+
* @defaultValue null
|
|
902
|
+
*/
|
|
903
|
+
"alt"?: string | null;
|
|
904
|
+
/**
|
|
905
|
+
* Determines whether the badge is visible or not.
|
|
906
|
+
* @defaultValue false
|
|
907
|
+
*/
|
|
908
|
+
"badge"?: boolean;
|
|
909
|
+
/**
|
|
910
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
911
|
+
*/
|
|
912
|
+
"componentId"?: string;
|
|
913
|
+
/**
|
|
914
|
+
* Determines whether the avatar functions as a dropdown trigger.
|
|
915
|
+
* @defaultValue false
|
|
916
|
+
*/
|
|
917
|
+
"dropdown"?: boolean;
|
|
918
|
+
/**
|
|
919
|
+
* The src for a custom user image.
|
|
920
|
+
* @defaultValue null
|
|
921
|
+
*/
|
|
922
|
+
"image"?: string | null;
|
|
923
|
+
/**
|
|
924
|
+
* Size of the avatar. Value can be preset or custom.
|
|
925
|
+
* @defaultValue lg
|
|
926
|
+
*/
|
|
927
|
+
"size"?: | 'xl' // 64px
|
|
928
|
+
| 'lg' // 56px
|
|
929
|
+
| 'md' // 40px
|
|
930
|
+
| 'sm' // 32px
|
|
931
|
+
| 'xs' // 24px
|
|
932
|
+
| string;
|
|
933
|
+
/**
|
|
934
|
+
* Determines the variant of avatar. Changes appearance accordingly.
|
|
935
|
+
* @defaultValue customer
|
|
936
|
+
*/
|
|
937
|
+
"variant"?: 'customer' | 'admin';
|
|
938
|
+
}
|
|
939
|
+
interface PdsButton {
|
|
940
|
+
/**
|
|
941
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
942
|
+
*/
|
|
943
|
+
"componentId"?: string;
|
|
944
|
+
/**
|
|
945
|
+
* Toggles disabled state of button
|
|
946
|
+
* @defaultValue false
|
|
947
|
+
*/
|
|
948
|
+
"disabled"?: boolean;
|
|
949
|
+
/**
|
|
950
|
+
* Displays icon before text when icon string matches an icon name
|
|
951
|
+
*/
|
|
952
|
+
"icon"?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Provides button with a submittable name
|
|
955
|
+
*/
|
|
956
|
+
"name"?: string;
|
|
957
|
+
/**
|
|
958
|
+
* Provides button with a type
|
|
959
|
+
* @defaultValue button
|
|
960
|
+
*/
|
|
961
|
+
"type"?: 'button' | 'reset' | 'submit';
|
|
962
|
+
/**
|
|
963
|
+
* Provides button with a submittable value
|
|
964
|
+
*/
|
|
965
|
+
"value"?: string;
|
|
966
|
+
/**
|
|
967
|
+
* Sets button variant styles as outlined in Figma documentation
|
|
968
|
+
*/
|
|
969
|
+
"variant"?: 'primary' | 'secondary' | 'accent' | 'disclosure' | 'destructive' | 'unstyled';
|
|
970
|
+
}
|
|
971
|
+
interface PdsCheckbox {
|
|
972
|
+
/**
|
|
973
|
+
* It determines whether or not the checkbox is checked.
|
|
974
|
+
*/
|
|
975
|
+
"checked"?: boolean;
|
|
976
|
+
/**
|
|
977
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
978
|
+
*/
|
|
979
|
+
"componentId": string;
|
|
980
|
+
/**
|
|
981
|
+
* It determines whether or not the checkbox is disabled.
|
|
982
|
+
*/
|
|
983
|
+
"disabled"?: boolean;
|
|
984
|
+
/**
|
|
985
|
+
* Displays message text describing an invalid state.
|
|
986
|
+
*/
|
|
987
|
+
"errorMessage"?: string;
|
|
988
|
+
/**
|
|
989
|
+
* String used for helper message below checkbox.
|
|
990
|
+
*/
|
|
991
|
+
"helperMessage"?: string;
|
|
992
|
+
/**
|
|
993
|
+
* If `true`, the checkbox will visually appear as indeterminate. Only JavaScript can set the objects `indeterminate` property. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes).
|
|
994
|
+
*/
|
|
995
|
+
"indeterminate"?: boolean;
|
|
996
|
+
/**
|
|
997
|
+
* It determines whether or not the checkbox is invalid.
|
|
998
|
+
*/
|
|
999
|
+
"invalid"?: boolean;
|
|
1000
|
+
/**
|
|
1001
|
+
* String used for label text next to checkbox.
|
|
1002
|
+
*/
|
|
1003
|
+
"label"?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* String used for checkbox `name` attribute.
|
|
1006
|
+
*/
|
|
1007
|
+
"name"?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* Emits a boolean indicating whether the checkbox is currently checked or unchecked.
|
|
1010
|
+
*/
|
|
1011
|
+
"onPdsCheckboxChange"?: (event: PdsCheckboxCustomEvent<boolean>) => void;
|
|
1012
|
+
/**
|
|
1013
|
+
* It determines whether or not the checkbox is required.
|
|
1014
|
+
*/
|
|
1015
|
+
"required"?: boolean;
|
|
1016
|
+
/**
|
|
1017
|
+
* The value of the checkbox that is submitted with a form.
|
|
1018
|
+
*/
|
|
1019
|
+
"value"?: string;
|
|
1020
|
+
}
|
|
1021
|
+
interface PdsChip {
|
|
1022
|
+
/**
|
|
1023
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1024
|
+
*/
|
|
1025
|
+
"componentId"?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Determines whether a dot should be displayed on the chip.
|
|
1028
|
+
* @defaultValue false
|
|
1029
|
+
*/
|
|
1030
|
+
"dot"?: boolean;
|
|
1031
|
+
/**
|
|
1032
|
+
* Sets the text label content of the chip.
|
|
1033
|
+
*/
|
|
1034
|
+
"label"?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Determines whether the chip should be rendered in a larger size.
|
|
1037
|
+
* @defaultValue false
|
|
1038
|
+
*/
|
|
1039
|
+
"large"?: boolean;
|
|
1040
|
+
/**
|
|
1041
|
+
* Event when close button is clicked on tag variant.
|
|
1042
|
+
*/
|
|
1043
|
+
"onPdsTagCloseClick"?: (event: PdsChipCustomEvent<any>) => void;
|
|
1044
|
+
/**
|
|
1045
|
+
* Sets the color scheme of the chip.
|
|
1046
|
+
* @defaultValue 'neutral'
|
|
1047
|
+
*/
|
|
1048
|
+
"sentiment"?: 'accent' | 'danger' | 'info' | 'neutral' | 'success' | 'warning';
|
|
1049
|
+
/**
|
|
1050
|
+
* Sets the style variant of the chip.
|
|
1051
|
+
* @defaultValue 'text'
|
|
1052
|
+
*/
|
|
1053
|
+
"variant"?: 'text' | 'tag' | 'dropdown';
|
|
1054
|
+
}
|
|
1055
|
+
interface PdsCopytext {
|
|
1056
|
+
/**
|
|
1057
|
+
* Determines whether `copytext` should have a border.
|
|
1058
|
+
* @defaultValue true
|
|
1059
|
+
*/
|
|
1060
|
+
"border"?: boolean;
|
|
1061
|
+
/**
|
|
1062
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1063
|
+
*/
|
|
1064
|
+
"componentId"?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* Determines whether `copytext` should expand to the full width of its container.
|
|
1067
|
+
* @defaultValue false
|
|
1068
|
+
*/
|
|
1069
|
+
"fullWidth"?: boolean;
|
|
1070
|
+
/**
|
|
1071
|
+
* Event when copyText button is clicked.
|
|
1072
|
+
*/
|
|
1073
|
+
"onPdsCopyTextClick"?: (event: PdsCopytextCustomEvent<any>) => void;
|
|
1074
|
+
/**
|
|
1075
|
+
* Determines whether the `value` should truncate and display with an ellipsis.
|
|
1076
|
+
* @defaultValue false
|
|
1077
|
+
*/
|
|
1078
|
+
"truncate"?: boolean;
|
|
1079
|
+
/**
|
|
1080
|
+
* String that is displayed and that is also copied to the clipboard upon interaction.
|
|
1081
|
+
*/
|
|
1082
|
+
"value": string;
|
|
1083
|
+
}
|
|
1084
|
+
interface PdsDivider {
|
|
1085
|
+
/**
|
|
1086
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1087
|
+
*/
|
|
1088
|
+
"componentId"?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Adds offset margin/padding to expand the width (horizontal) or the height (vertical) of divider.
|
|
1091
|
+
*/
|
|
1092
|
+
"offset"?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
1093
|
+
/**
|
|
1094
|
+
* Sets divider to display vertically
|
|
1095
|
+
* @defaultValue false
|
|
1096
|
+
*/
|
|
1097
|
+
"vertical"?: boolean;
|
|
1098
|
+
}
|
|
1099
|
+
interface PdsImage {
|
|
1100
|
+
/**
|
|
1101
|
+
* The image's alt tag. If none is provided, it will default to an empty string.
|
|
1102
|
+
*/
|
|
1103
|
+
"alt"?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1106
|
+
*/
|
|
1107
|
+
"componentId"?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* The height of the image in pixels. Setting this will devote space in the layout to prevent layout shifts when the image is loaded.
|
|
1110
|
+
*/
|
|
1111
|
+
"height"?: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* Indicates how the browser should load the image.
|
|
1114
|
+
*/
|
|
1115
|
+
"loading"?: 'eager' | 'lazy';
|
|
1116
|
+
/**
|
|
1117
|
+
* Determines the intended display size of an image within certian breakpoints. Has no effect if `srcset` is not set or value has no width descriptor.
|
|
1118
|
+
*/
|
|
1119
|
+
"sizes"?: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* The image's source.
|
|
1122
|
+
*/
|
|
1123
|
+
"src"?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* A set of image sources for the browser to use.
|
|
1126
|
+
*/
|
|
1127
|
+
"srcset"?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* The width of the image in pixels. Setting this will devote space in the layout to prevent layout shifts when the image is loaded.
|
|
1130
|
+
*/
|
|
1131
|
+
"width"?: number;
|
|
1132
|
+
}
|
|
1133
|
+
interface PdsInput {
|
|
1134
|
+
/**
|
|
1135
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1136
|
+
*/
|
|
1137
|
+
"componentId": string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Indicates whether or not the input field is disabled.
|
|
1140
|
+
*/
|
|
1141
|
+
"disabled"?: boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* Specifies the error message and provides an error-themed treatment to the field.
|
|
1144
|
+
*/
|
|
1145
|
+
"errorMessage"?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* Displays a message or hint below the input field.
|
|
1148
|
+
*/
|
|
1149
|
+
"helperMessage"?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Indicates whether or not the input field is invalid or throws an error.
|
|
1152
|
+
*/
|
|
1153
|
+
"invalid"?: boolean;
|
|
1154
|
+
/**
|
|
1155
|
+
* Text to be displayed as the input label.
|
|
1156
|
+
*/
|
|
1157
|
+
"label"?: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* Specifies the name. Submitted with the form name/value pair.
|
|
1160
|
+
*/
|
|
1161
|
+
"name"?: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Emitted when a keyboard input occurred.
|
|
1164
|
+
*/
|
|
1165
|
+
"onPdsInput"?: (event: PdsInputCustomEvent<InputEvent>) => void;
|
|
1166
|
+
/**
|
|
1167
|
+
* Specifies a short hint that describes the expected value of the input field.
|
|
1168
|
+
*/
|
|
1169
|
+
"placeholder"?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* Indicates whether or not the input field is readonly.
|
|
1172
|
+
*/
|
|
1173
|
+
"readonly"?: boolean;
|
|
1174
|
+
/**
|
|
1175
|
+
* Indicates whether or not the input field is required.
|
|
1176
|
+
*/
|
|
1177
|
+
"required"?: boolean;
|
|
1178
|
+
/**
|
|
1179
|
+
* Determines the type of control that will be displayed `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`
|
|
1180
|
+
* @defaultValue "text"
|
|
1181
|
+
*/
|
|
1182
|
+
"type"?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* The value of the input.
|
|
1185
|
+
*/
|
|
1186
|
+
"value"?: string;
|
|
1187
|
+
}
|
|
1188
|
+
interface PdsLink {
|
|
1189
|
+
/**
|
|
1190
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1191
|
+
*/
|
|
1192
|
+
"componentId"?: string;
|
|
1193
|
+
/**
|
|
1194
|
+
* When enabled, opens link in a new tab.
|
|
1195
|
+
* @defaultValue false
|
|
1196
|
+
*/
|
|
1197
|
+
"external"?: boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* The Font size follows t-shirt model sm: 12px md: 14px lg: 16px
|
|
1200
|
+
* @defaultValue lg
|
|
1201
|
+
*/
|
|
1202
|
+
"fontSize"?: 'sm' | 'md' | 'lg';
|
|
1203
|
+
/**
|
|
1204
|
+
* The URL that the hyperlink points to.
|
|
1205
|
+
*/
|
|
1206
|
+
"href": string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Modifies the look of the link
|
|
1209
|
+
*/
|
|
1210
|
+
"variant"?: 'inline' | 'plain';
|
|
1211
|
+
}
|
|
1212
|
+
interface PdsProgress {
|
|
1213
|
+
/**
|
|
1214
|
+
* Determines whether or not progress is animated.
|
|
1215
|
+
* @defaultValue false
|
|
1216
|
+
*/
|
|
1217
|
+
"animated"?: boolean;
|
|
1218
|
+
/**
|
|
1219
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
1220
|
+
*/
|
|
1221
|
+
"componentId": string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Sets the progress fill color. Accepts a color token or a [valid color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).
|
|
1224
|
+
* @defaultValue 'var(--pds-color-primary)'
|
|
1225
|
+
*/
|
|
1226
|
+
"fillColor"?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* String used for label text. Label is visually hidden but required for better accessibility.
|
|
1229
|
+
*/
|
|
1230
|
+
"label": string;
|
|
1231
|
+
/**
|
|
1232
|
+
* Sets the progress fill pecentage and visually displayed when `show-percentage=true`.
|
|
1233
|
+
* @defaultValue 0
|
|
1234
|
+
*/
|
|
1235
|
+
"percent"?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* Determines whether or not the percent value should be displayed as text.
|
|
1238
|
+
* @defaultValue false
|
|
1239
|
+
*/
|
|
1240
|
+
"showPercent"?: boolean;
|
|
1241
|
+
}
|
|
1242
|
+
interface PdsRadio {
|
|
1243
|
+
/**
|
|
1244
|
+
* Determines whether or not the radio is checked.
|
|
1245
|
+
* @defaultValue false
|
|
1246
|
+
*/
|
|
1247
|
+
"checked"?: boolean;
|
|
1248
|
+
/**
|
|
1249
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
1250
|
+
*/
|
|
1251
|
+
"componentId": string;
|
|
1252
|
+
/**
|
|
1253
|
+
* Determines whether or not the radio is disabled.
|
|
1254
|
+
* @defaultValue false
|
|
1255
|
+
*/
|
|
1256
|
+
"disabled"?: boolean;
|
|
1257
|
+
/**
|
|
1258
|
+
* Displays message text describing an invalid state.
|
|
1259
|
+
*/
|
|
1260
|
+
"errorMessage"?: string;
|
|
1261
|
+
/**
|
|
1262
|
+
* String used for helper message below radio.
|
|
1263
|
+
*/
|
|
1264
|
+
"helperMessage"?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* Determines whether or not the radio is invalid.
|
|
1267
|
+
* @defaultValue false
|
|
1268
|
+
*/
|
|
1269
|
+
"invalid"?: boolean;
|
|
1270
|
+
/**
|
|
1271
|
+
* String used for label text next to radio.
|
|
1272
|
+
*/
|
|
1273
|
+
"label"?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* String used for radio `name` attribute.
|
|
1276
|
+
*/
|
|
1277
|
+
"name"?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* Emits a boolean indicating whether the checkbox is currently checked or unchecked.
|
|
1280
|
+
*/
|
|
1281
|
+
"onPdsRadioChange"?: (event: PdsRadioCustomEvent<boolean>) => void;
|
|
1282
|
+
/**
|
|
1283
|
+
* Determines whether or not the radio is required.
|
|
1284
|
+
* @defaultValue false
|
|
1285
|
+
*/
|
|
1286
|
+
"required"?: boolean;
|
|
1287
|
+
/**
|
|
1288
|
+
* The value of the radio that is submitted with a form.
|
|
1289
|
+
*/
|
|
1290
|
+
"value"?: string;
|
|
1291
|
+
}
|
|
1292
|
+
interface PdsSortable {
|
|
1293
|
+
/**
|
|
1294
|
+
* Determines whether `sortable` should have a border.
|
|
1295
|
+
* @defaultValue false
|
|
1296
|
+
*/
|
|
1297
|
+
"border"?: boolean;
|
|
1298
|
+
/**
|
|
1299
|
+
* A unique identifier used for the sortable container `id` attribute.
|
|
1300
|
+
*/
|
|
1301
|
+
"componentId": string;
|
|
1302
|
+
/**
|
|
1303
|
+
* Deternines whether `sortable` items should be divided with border.
|
|
1304
|
+
*/
|
|
1305
|
+
"dividers"?: boolean;
|
|
1306
|
+
/**
|
|
1307
|
+
* Determines the grabbable area for the `pds-sortable-item`.
|
|
1308
|
+
*/
|
|
1309
|
+
"handleType"?: 'handle' | 'row';
|
|
1310
|
+
/**
|
|
1311
|
+
* Event emitted when a sortable item is moved.
|
|
1312
|
+
*/
|
|
1313
|
+
"onPdsSortableItemMoved"?: (event: PdsSortableCustomEvent<any>) => void;
|
|
1314
|
+
}
|
|
1315
|
+
interface PdsSortableItem {
|
|
1316
|
+
/**
|
|
1317
|
+
* A unique identifier used for the sortable item `id` attribute.
|
|
1318
|
+
*/
|
|
1319
|
+
"componentId"?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Determines whether `sortable-item-actions` slot should be enabled.
|
|
1322
|
+
* @defaultValue false
|
|
1323
|
+
*/
|
|
1324
|
+
"enableActions"?: boolean;
|
|
1325
|
+
/**
|
|
1326
|
+
* Determines whether `sortable-item` should have a handle.
|
|
1327
|
+
* @defaultValue false
|
|
1328
|
+
*/
|
|
1329
|
+
"handle"?: boolean;
|
|
1330
|
+
}
|
|
1331
|
+
interface PdsSwitch {
|
|
1332
|
+
/**
|
|
1333
|
+
* Determines the input 'checked' state
|
|
1334
|
+
*/
|
|
1335
|
+
"checked"?: boolean;
|
|
1336
|
+
/**
|
|
1337
|
+
* A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
|
|
1338
|
+
*/
|
|
1339
|
+
"componentId": string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Determines the input 'disabled' state, preventing user interaction
|
|
1342
|
+
*/
|
|
1343
|
+
"disabled"?: boolean;
|
|
1344
|
+
/**
|
|
1345
|
+
* Displays message text describing an invalid state
|
|
1346
|
+
*/
|
|
1347
|
+
"errorMessage"?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* Displays help text for additional description of an input
|
|
1350
|
+
*/
|
|
1351
|
+
"helperMessage"?: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* Determines the input 'invalid' state, signifying an error is present
|
|
1354
|
+
*/
|
|
1355
|
+
"invalid"?: boolean;
|
|
1356
|
+
/**
|
|
1357
|
+
* Displays text to describe the input
|
|
1358
|
+
*/
|
|
1359
|
+
"label": string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Identifies form data and unifies a group of radio inputs for toggling a single property/value
|
|
1362
|
+
*/
|
|
1363
|
+
"name"?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* Emits an event on input change
|
|
1366
|
+
*/
|
|
1367
|
+
"onPdsSwitchChange"?: (event: PdsSwitchCustomEvent<InputEvent>) => void;
|
|
1368
|
+
/**
|
|
1369
|
+
* Determines the 'required' state of the input
|
|
1370
|
+
*/
|
|
1371
|
+
"required"?: boolean;
|
|
1372
|
+
/**
|
|
1373
|
+
* Specifies the underlying input element type
|
|
1374
|
+
* @defaultValue 'checkbox'
|
|
1375
|
+
*/
|
|
1376
|
+
"type"?: 'checkbox' | 'radio';
|
|
1377
|
+
/**
|
|
1378
|
+
* Provides input with a string submitted in form data, and can be used to distinguish radio inputs
|
|
1379
|
+
*/
|
|
1380
|
+
"value"?: string;
|
|
1381
|
+
}
|
|
1382
|
+
interface PdsTab {
|
|
1383
|
+
/**
|
|
1384
|
+
* Sets the related tab name, this name must match a `pds-tabpanel`'s tab name property
|
|
1385
|
+
*/
|
|
1386
|
+
"name": string;
|
|
1387
|
+
}
|
|
1388
|
+
interface PdsTabpanel {
|
|
1389
|
+
/**
|
|
1390
|
+
* Sets the related tab name, this name must match a `pds-tab`'s tab name property
|
|
1391
|
+
*/
|
|
1392
|
+
"name": string;
|
|
1393
|
+
}
|
|
1394
|
+
interface PdsTabs {
|
|
1395
|
+
/**
|
|
1396
|
+
* Sets the starting active tab name and maintains the name as the component re-renders
|
|
1397
|
+
*/
|
|
1398
|
+
"activeTabName": string;
|
|
1399
|
+
/**
|
|
1400
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1401
|
+
*/
|
|
1402
|
+
"componentId": string;
|
|
1403
|
+
/**
|
|
1404
|
+
* Sets the aria-label attached to the tablist element
|
|
1405
|
+
*/
|
|
1406
|
+
"tablistLabel": string;
|
|
1407
|
+
/**
|
|
1408
|
+
* Sets tabs variant styles as outlined in Figma documentation
|
|
1409
|
+
*/
|
|
1410
|
+
"variant": 'primary' | 'availability' | 'filter';
|
|
1411
|
+
}
|
|
1412
|
+
interface PdsTextarea {
|
|
1413
|
+
/**
|
|
1414
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1415
|
+
*/
|
|
1416
|
+
"componentId": string;
|
|
1417
|
+
/**
|
|
1418
|
+
* Indicates whether or not the textarea is disabled
|
|
1419
|
+
* @defaultValue false
|
|
1420
|
+
*/
|
|
1421
|
+
"disabled"?: boolean;
|
|
1422
|
+
/**
|
|
1423
|
+
* Specifies the error text and provides an error-themed treatment to the field
|
|
1424
|
+
*/
|
|
1425
|
+
"errorMessage"?: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Displays a hint or description of the textarea
|
|
1428
|
+
*/
|
|
1429
|
+
"helperMessage"?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* Indicates whether or not the textarea is invalid or throws an error
|
|
1432
|
+
* @defaultValue false
|
|
1433
|
+
*/
|
|
1434
|
+
"invalid"?: boolean;
|
|
1435
|
+
/**
|
|
1436
|
+
* Text to be displayed as the textarea label
|
|
1437
|
+
*/
|
|
1438
|
+
"label"?: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* Specifies the name, submitted with the form name/value pair. This value will mirror the componentId
|
|
1441
|
+
*/
|
|
1442
|
+
"name"?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* Event emitted whenever the value of the textarea changes
|
|
1445
|
+
*/
|
|
1446
|
+
"onPdsTextareaChange"?: (event: PdsTextareaCustomEvent<TextareaChangeEventDetail>) => void;
|
|
1447
|
+
/**
|
|
1448
|
+
* Specifies a short hint that describes the expected value of the textarea
|
|
1449
|
+
*/
|
|
1450
|
+
"placeholder"?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Indicates whether or not the textarea is readonly
|
|
1453
|
+
* @defaultValue false
|
|
1454
|
+
*/
|
|
1455
|
+
"readonly"?: boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* Indicates whether or not the textarea is required
|
|
1458
|
+
* @defaultValue false
|
|
1459
|
+
*/
|
|
1460
|
+
"required"?: boolean;
|
|
1461
|
+
/**
|
|
1462
|
+
* Sets number of rows of text visible without needing to scroll in the textarea
|
|
1463
|
+
*/
|
|
1464
|
+
"rows"?: number;
|
|
1465
|
+
/**
|
|
1466
|
+
* The value of the textarea
|
|
1467
|
+
*/
|
|
1468
|
+
"value"?: string;
|
|
1469
|
+
}
|
|
1470
|
+
interface PdsTooltip {
|
|
1471
|
+
/**
|
|
1472
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1473
|
+
*/
|
|
1474
|
+
"componentId"?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* Content for the tooltip. If HTML is required, use the content slot
|
|
1477
|
+
*/
|
|
1478
|
+
"content"?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* Determines whether or not the tooltip has an arrow
|
|
1481
|
+
* @defaultValue true
|
|
1482
|
+
*/
|
|
1483
|
+
"hasArrow"?: boolean;
|
|
1484
|
+
/**
|
|
1485
|
+
* Enable this option when using the content slot
|
|
1486
|
+
* @defaultValue false
|
|
1487
|
+
*/
|
|
1488
|
+
"htmlContent"?: boolean;
|
|
1489
|
+
/**
|
|
1490
|
+
* Emitted after a tooltip is closed
|
|
1491
|
+
*/
|
|
1492
|
+
"onPdsTooltipHide"?: (event: PdsTooltipCustomEvent<any>) => void;
|
|
1493
|
+
/**
|
|
1494
|
+
* Emitted after a tooltip is shown
|
|
1495
|
+
*/
|
|
1496
|
+
"onPdsTooltipShow"?: (event: PdsTooltipCustomEvent<any>) => void;
|
|
1497
|
+
/**
|
|
1498
|
+
* Determines whether or not the tooltip is visible
|
|
1499
|
+
* @defaultValue false
|
|
1500
|
+
*/
|
|
1501
|
+
"opened"?: boolean;
|
|
1502
|
+
/**
|
|
1503
|
+
* Determines the preferred position of the tooltip
|
|
1504
|
+
* @defaultValue "right"
|
|
1505
|
+
*/
|
|
1506
|
+
"placement"?: 'top'
|
|
1507
|
+
| 'top-start'
|
|
1508
|
+
| 'top-end'
|
|
1509
|
+
| 'right'
|
|
1510
|
+
| 'right-start'
|
|
1511
|
+
| 'right-end'
|
|
1512
|
+
| 'bottom'
|
|
1513
|
+
| 'bottom-start'
|
|
1514
|
+
| 'bottom-end'
|
|
1515
|
+
| 'left'
|
|
1516
|
+
| 'left-start'
|
|
1517
|
+
| 'left-end';
|
|
1518
|
+
}
|
|
1519
|
+
interface IntrinsicElements {
|
|
1520
|
+
"pds-avatar": PdsAvatar;
|
|
1521
|
+
"pds-button": PdsButton;
|
|
1522
|
+
"pds-checkbox": PdsCheckbox;
|
|
1523
|
+
"pds-chip": PdsChip;
|
|
1524
|
+
"pds-copytext": PdsCopytext;
|
|
1525
|
+
"pds-divider": PdsDivider;
|
|
1526
|
+
"pds-image": PdsImage;
|
|
1527
|
+
"pds-input": PdsInput;
|
|
1528
|
+
"pds-link": PdsLink;
|
|
1529
|
+
"pds-progress": PdsProgress;
|
|
1530
|
+
"pds-radio": PdsRadio;
|
|
1531
|
+
"pds-sortable": PdsSortable;
|
|
1532
|
+
"pds-sortable-item": PdsSortableItem;
|
|
1533
|
+
"pds-switch": PdsSwitch;
|
|
1534
|
+
"pds-tab": PdsTab;
|
|
1535
|
+
"pds-tabpanel": PdsTabpanel;
|
|
1536
|
+
"pds-tabs": PdsTabs;
|
|
1537
|
+
"pds-textarea": PdsTextarea;
|
|
1538
|
+
"pds-tooltip": PdsTooltip;
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
export { LocalJSX as JSX };
|
|
1542
|
+
declare module "@stencil/core" {
|
|
1543
|
+
export namespace JSX {
|
|
1544
|
+
interface IntrinsicElements {
|
|
1545
|
+
"pds-avatar": LocalJSX.PdsAvatar & JSXBase.HTMLAttributes<HTMLPdsAvatarElement>;
|
|
1546
|
+
"pds-button": LocalJSX.PdsButton & JSXBase.HTMLAttributes<HTMLPdsButtonElement>;
|
|
1547
|
+
"pds-checkbox": LocalJSX.PdsCheckbox & JSXBase.HTMLAttributes<HTMLPdsCheckboxElement>;
|
|
1548
|
+
"pds-chip": LocalJSX.PdsChip & JSXBase.HTMLAttributes<HTMLPdsChipElement>;
|
|
1549
|
+
"pds-copytext": LocalJSX.PdsCopytext & JSXBase.HTMLAttributes<HTMLPdsCopytextElement>;
|
|
1550
|
+
"pds-divider": LocalJSX.PdsDivider & JSXBase.HTMLAttributes<HTMLPdsDividerElement>;
|
|
1551
|
+
"pds-image": LocalJSX.PdsImage & JSXBase.HTMLAttributes<HTMLPdsImageElement>;
|
|
1552
|
+
"pds-input": LocalJSX.PdsInput & JSXBase.HTMLAttributes<HTMLPdsInputElement>;
|
|
1553
|
+
"pds-link": LocalJSX.PdsLink & JSXBase.HTMLAttributes<HTMLPdsLinkElement>;
|
|
1554
|
+
"pds-progress": LocalJSX.PdsProgress & JSXBase.HTMLAttributes<HTMLPdsProgressElement>;
|
|
1555
|
+
"pds-radio": LocalJSX.PdsRadio & JSXBase.HTMLAttributes<HTMLPdsRadioElement>;
|
|
1556
|
+
"pds-sortable": LocalJSX.PdsSortable & JSXBase.HTMLAttributes<HTMLPdsSortableElement>;
|
|
1557
|
+
"pds-sortable-item": LocalJSX.PdsSortableItem & JSXBase.HTMLAttributes<HTMLPdsSortableItemElement>;
|
|
1558
|
+
"pds-switch": LocalJSX.PdsSwitch & JSXBase.HTMLAttributes<HTMLPdsSwitchElement>;
|
|
1559
|
+
"pds-tab": LocalJSX.PdsTab & JSXBase.HTMLAttributes<HTMLPdsTabElement>;
|
|
1560
|
+
"pds-tabpanel": LocalJSX.PdsTabpanel & JSXBase.HTMLAttributes<HTMLPdsTabpanelElement>;
|
|
1561
|
+
"pds-tabs": LocalJSX.PdsTabs & JSXBase.HTMLAttributes<HTMLPdsTabsElement>;
|
|
1562
|
+
"pds-textarea": LocalJSX.PdsTextarea & JSXBase.HTMLAttributes<HTMLPdsTextareaElement>;
|
|
1563
|
+
"pds-tooltip": LocalJSX.PdsTooltip & JSXBase.HTMLAttributes<HTMLPdsTooltipElement>;
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
}
|