@pine-ds/core 4.10.0 → 4.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/aria-references.js +1 -0
- package/components/attributes.js +1 -1
- package/components/index2.js +1 -1
- package/components/pds-alert.js +1 -1
- package/components/pds-avatar.js +1 -1
- package/components/pds-box2.js +1 -1
- package/components/pds-button2.js +1 -1
- package/components/pds-checkbox2.js +1 -1
- package/components/pds-chip2.js +1 -1
- package/components/pds-combobox.js +2 -2
- package/components/pds-copytext.js +1 -1
- package/components/pds-datepicker.js +1 -1
- package/components/pds-drawer-content.js +1 -1
- package/components/pds-drawer-footer.js +1 -1
- package/components/pds-drawer-header.js +1 -1
- package/components/pds-drawer.js +1 -1
- package/components/pds-dropdown-menu-item.js +1 -1
- package/components/pds-dropdown-menu-separator.js +1 -1
- package/components/pds-dropdown-menu.js +1 -1
- package/components/pds-filter.js +1 -1
- package/components/pds-image.js +1 -1
- package/components/pds-input2.js +1 -1
- package/components/pds-link2.js +1 -1
- package/components/pds-loader2.js +1 -1
- package/components/pds-modal-footer.js +1 -1
- package/components/pds-modal-header.js +1 -1
- package/components/pds-modal2.js +1 -1
- package/components/pds-multiselect.js +1 -1
- package/components/pds-popover.js +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-radio-group.js +1 -1
- package/components/pds-radio.js +1 -1
- package/components/pds-select.js +1 -1
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +2 -2
- package/components/pds-switch.js +1 -1
- package/components/pds-table-body.js +1 -1
- package/components/pds-table-cell2.js +1 -1
- package/components/pds-table-head-cell2.js +1 -1
- package/components/pds-table-head.js +1 -1
- package/components/pds-table-row.js +1 -1
- package/components/pds-table.js +1 -1
- package/components/pds-tabs.js +1 -1
- package/components/pds-text2.js +1 -1
- package/components/pds-textarea.js +1 -1
- package/components/pds-toast.js +1 -1
- package/components/pds-tooltip.js +1 -1
- package/components/sortable-label.js +1 -0
- package/components/truncation-tooltip.js +1 -1
- package/dist/cjs/aria-references-CUmqibnO.js +54 -0
- package/dist/cjs/{attributes-CW49XqaL.js → attributes-Cgbkw6gO.js} +3 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pds-alert.cjs.entry.js +2 -2
- package/dist/cjs/pds-avatar.cjs.entry.js +3 -2
- package/dist/cjs/pds-box.cjs.entry.js +4 -3
- package/dist/cjs/pds-button.cjs.entry.js +25 -45
- package/dist/cjs/pds-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/pds-chip.cjs.entry.js +3 -3
- package/dist/cjs/pds-combobox.cjs.entry.js +246 -106
- package/dist/cjs/pds-copytext.cjs.entry.js +3 -3
- package/dist/cjs/pds-datepicker.cjs.entry.js +295 -82
- package/dist/cjs/pds-drawer-content.cjs.entry.js +1 -1
- package/dist/cjs/pds-drawer-footer.cjs.entry.js +1 -1
- package/dist/cjs/pds-drawer-header.cjs.entry.js +1 -1
- package/dist/cjs/pds-drawer.cjs.entry.js +5 -7
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +85 -49
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +83 -10
- package/dist/cjs/pds-filter.cjs.entry.js +24 -2
- package/dist/cjs/pds-image.cjs.entry.js +148 -6
- package/dist/cjs/pds-input.cjs.entry.js +4 -4
- package/dist/cjs/pds-link.cjs.entry.js +4 -5
- package/dist/cjs/pds-loader.cjs.entry.js +4 -3
- package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal.cjs.entry.js +9 -12
- package/dist/cjs/pds-multiselect.cjs.entry.js +64 -18
- package/dist/cjs/pds-popover.cjs.entry.js +8 -6
- package/dist/cjs/pds-progress.cjs.entry.js +3 -3
- package/dist/cjs/pds-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/pds-radio.cjs.entry.js +6 -6
- package/dist/cjs/pds-row.cjs.entry.js +1 -1
- package/dist/cjs/pds-select.cjs.entry.js +2 -2
- package/dist/cjs/pds-sortable-item.cjs.entry.js +28 -5
- package/dist/cjs/pds-sortable.cjs.entry.js +356 -4
- package/dist/cjs/pds-switch.cjs.entry.js +92 -15
- package/dist/cjs/pds-tab.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-cell.cjs.entry.js +24 -5
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +59 -11
- package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
- package/dist/cjs/pds-table.cjs.entry.js +260 -5
- package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabs.cjs.entry.js +3 -3
- package/dist/cjs/pds-text.cjs.entry.js +5 -3
- package/dist/cjs/pds-textarea.cjs.entry.js +8 -7
- package/dist/cjs/pds-toast.cjs.entry.js +8 -4
- package/dist/cjs/pds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/pine-core.cjs.js +1 -1
- package/dist/cjs/sortable-label-DOcJrHvA.js +37 -0
- package/dist/cjs/{truncation-tooltip-Bikp7n9I.js → truncation-tooltip-CM5HgRHh.js} +69 -0
- package/dist/collection/components/pds-alert/pds-alert.css +0 -3
- package/dist/collection/components/pds-alert/pds-alert.js +3 -2
- package/dist/collection/components/pds-avatar/pds-avatar.js +7 -6
- package/dist/collection/components/pds-avatar/stories/pds-avatar.stories.js +1 -1
- package/dist/collection/components/pds-box/pds-box.css +1273 -1189
- package/dist/collection/components/pds-box/pds-box.js +180 -156
- package/dist/collection/components/pds-box/stories/pds-box.stories.js +79 -37
- package/dist/collection/components/pds-button/pds-button.js +26 -4
- package/dist/collection/components/pds-button/stories/pds-button.stories.js +25 -11
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +10 -10
- package/dist/collection/components/pds-chip/pds-chip.js +3 -3
- package/dist/collection/components/pds-combobox/pds-combobox.css +162 -53
- package/dist/collection/components/pds-combobox/pds-combobox.js +261 -121
- package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +35 -4
- package/dist/collection/components/pds-copytext/pds-copytext.js +2 -2
- package/dist/collection/components/pds-datepicker/date-utils.js +42 -0
- package/dist/collection/components/pds-datepicker/pds-datepicker.js +164 -65
- package/dist/collection/components/pds-datepicker/presets.js +42 -7
- package/dist/collection/components/pds-datepicker/stories/pds-datepicker.stories.js +11 -0
- package/dist/collection/components/pds-datepicker/value.js +76 -18
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +2 -5
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +2 -1
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +2 -1
- package/dist/collection/components/pds-drawer/pds-drawer.js +8 -10
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.css +17 -8
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +95 -62
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +3 -3
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.css +2 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +84 -9
- package/dist/collection/components/pds-dropdown-menu/stories/pds-dropdown-menu.stories.js +24 -1
- package/dist/collection/components/pds-filters/pds-filter/pds-filter.css +2 -1
- package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +24 -7
- package/dist/collection/components/pds-image/image-interface.js +1 -0
- package/dist/collection/components/pds-image/pds-image.css +11 -0
- package/dist/collection/components/pds-image/pds-image.js +249 -8
- package/dist/collection/components/pds-image/stories/pds-image.stories.js +117 -1
- package/dist/collection/components/pds-input/pds-input.js +14 -9
- package/dist/collection/components/pds-link/pds-link.js +10 -14
- package/dist/collection/components/pds-link/stories/pds-link.stories.js +6 -2
- package/dist/collection/components/pds-loader/pds-loader.js +5 -4
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +2 -1
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +2 -1
- package/dist/collection/components/pds-modal/pds-modal.js +11 -13
- package/dist/collection/components/pds-modal/stories/pds-modal.stories.js +7 -7
- package/dist/collection/components/pds-multiselect/pds-multiselect.css +2 -2
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +63 -18
- package/dist/collection/components/pds-popover/pds-popover.css +1 -1
- package/dist/collection/components/pds-popover/pds-popover.js +9 -7
- package/dist/collection/components/pds-progress/pds-progress.js +4 -4
- package/dist/collection/components/pds-radio/pds-radio.css +5 -1
- package/dist/collection/components/pds-radio/pds-radio.js +9 -9
- package/dist/collection/components/pds-radio/stories/pds-radio.stories.js +9 -9
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +7 -7
- package/dist/collection/components/pds-radio-group/stories/pds-radio-group.stories.js +3 -3
- package/dist/collection/components/pds-row/stories/pds-row.stories.js +15 -14
- package/dist/collection/components/pds-select/pds-select.js +7 -4
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +38 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +47 -5
- package/dist/collection/components/pds-sortable/pds-sortable.js +481 -5
- package/dist/collection/components/pds-sortable/sortable-label.js +33 -0
- package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +27 -0
- package/dist/collection/components/pds-switch/pds-switch.js +114 -17
- package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +79 -0
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +4 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +47 -4
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +6 -2
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.css +11 -0
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +98 -10
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +5 -1
- package/dist/collection/components/pds-table/pds-table.css +8 -0
- package/dist/collection/components/pds-table/pds-table.js +295 -7
- package/dist/collection/components/pds-table/stories/pds-table.stories.js +131 -6
- package/dist/collection/components/pds-tabs/pds-tabs.js +3 -3
- package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +1 -1
- package/dist/collection/components/pds-text/pds-text.js +5 -3
- package/dist/collection/components/pds-textarea/pds-textarea.js +16 -14
- package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +2 -13
- package/dist/collection/components/pds-toast/pds-toast.css +4 -3
- package/dist/collection/components/pds-toast/pds-toast.js +9 -5
- package/dist/collection/components/pds-toast/stories/pds-toast.stories.js +2 -2
- package/dist/collection/components/pds-tooltip/pds-tooltip.css +2 -1
- package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +17 -17
- package/dist/collection/utils/aria-references.js +9 -3
- package/dist/collection/utils/truncation-tooltip.js +67 -0
- package/dist/docs.json +1150 -371
- package/dist/esm/aria-references-CNn1lObg.js +50 -0
- package/dist/esm/{attributes-DkeVeN0g.js → attributes-CD8knu3a.js} +3 -0
- package/dist/esm/{index-DvN3tyZp.js → index-B0DXTeeV.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pds-accordion.entry.js +1 -1
- package/dist/esm/pds-alert.entry.js +2 -2
- package/dist/esm/pds-avatar.entry.js +4 -3
- package/dist/esm/pds-box.entry.js +4 -3
- package/dist/esm/pds-button.entry.js +24 -44
- package/dist/esm/pds-checkbox.entry.js +5 -5
- package/dist/esm/pds-chip.entry.js +4 -4
- package/dist/esm/pds-combobox.entry.js +246 -106
- package/dist/esm/pds-copytext.entry.js +4 -4
- package/dist/esm/pds-datepicker.entry.js +296 -83
- package/dist/esm/pds-drawer-content.entry.js +1 -1
- package/dist/esm/pds-drawer-footer.entry.js +1 -1
- package/dist/esm/pds-drawer-header.entry.js +1 -1
- package/dist/esm/pds-drawer.entry.js +5 -7
- package/dist/esm/pds-dropdown-menu-item.entry.js +85 -49
- package/dist/esm/pds-dropdown-menu-separator.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu.entry.js +84 -11
- package/dist/esm/pds-filter.entry.js +25 -3
- package/dist/esm/pds-image.entry.js +149 -7
- package/dist/esm/pds-input.entry.js +5 -5
- package/dist/esm/pds-link.entry.js +5 -6
- package/dist/esm/pds-loader.entry.js +4 -3
- package/dist/esm/pds-modal-footer.entry.js +1 -1
- package/dist/esm/pds-modal-header.entry.js +1 -1
- package/dist/esm/pds-modal.entry.js +9 -12
- package/dist/esm/pds-multiselect.entry.js +65 -19
- package/dist/esm/pds-popover.entry.js +8 -6
- package/dist/esm/pds-progress.entry.js +3 -3
- package/dist/esm/pds-radio-group.entry.js +5 -5
- package/dist/esm/pds-radio.entry.js +7 -7
- package/dist/esm/pds-row.entry.js +1 -1
- package/dist/esm/pds-select.entry.js +3 -3
- package/dist/esm/pds-sortable-item.entry.js +29 -6
- package/dist/esm/pds-sortable.entry.js +357 -5
- package/dist/esm/pds-switch.entry.js +94 -17
- package/dist/esm/pds-tab.entry.js +1 -1
- package/dist/esm/pds-table-body.entry.js +1 -1
- package/dist/esm/pds-table-cell.entry.js +24 -5
- package/dist/esm/pds-table-head-cell.entry.js +60 -12
- package/dist/esm/pds-table-head.entry.js +1 -1
- package/dist/esm/pds-table-row.entry.js +1 -1
- package/dist/esm/pds-table.entry.js +261 -6
- package/dist/esm/pds-tabpanel.entry.js +1 -1
- package/dist/esm/pds-tabs.entry.js +3 -3
- package/dist/esm/pds-text.entry.js +5 -3
- package/dist/esm/pds-textarea.entry.js +9 -8
- package/dist/esm/pds-toast.entry.js +8 -4
- package/dist/esm/pds-tooltip.entry.js +1 -1
- package/dist/esm/pine-core.js +1 -1
- package/dist/esm/sortable-label-PItnzVVR.js +35 -0
- package/dist/esm/{truncation-tooltip-DBcPipr9.js → truncation-tooltip-CkIWm6Z-.js} +68 -1
- package/dist/esm-es5/aria-references-CNn1lObg.js +1 -0
- package/dist/esm-es5/{attributes-DkeVeN0g.js → attributes-CD8knu3a.js} +1 -1
- package/dist/esm-es5/{index-DvN3tyZp.js → index-B0DXTeeV.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/pds-accordion.entry.js +1 -1
- package/dist/esm-es5/pds-alert.entry.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-combobox.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-datepicker.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-content.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-footer.entry.js +1 -1
- package/dist/esm-es5/pds-drawer-header.entry.js +1 -1
- package/dist/esm-es5/pds-drawer.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
- package/dist/esm-es5/pds-filter.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-link.entry.js +1 -1
- package/dist/esm-es5/pds-loader.entry.js +1 -1
- package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
- package/dist/esm-es5/pds-modal-header.entry.js +1 -1
- package/dist/esm-es5/pds-modal.entry.js +1 -1
- package/dist/esm-es5/pds-multiselect.entry.js +1 -1
- package/dist/esm-es5/pds-popover.entry.js +1 -1
- package/dist/esm-es5/pds-progress.entry.js +1 -1
- package/dist/esm-es5/pds-radio-group.entry.js +1 -1
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-row.entry.js +1 -1
- package/dist/esm-es5/pds-select.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +2 -2
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-tab.entry.js +1 -1
- package/dist/esm-es5/pds-table-body.entry.js +1 -1
- package/dist/esm-es5/pds-table-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head.entry.js +1 -1
- package/dist/esm-es5/pds-table-row.entry.js +1 -1
- package/dist/esm-es5/pds-table.entry.js +1 -1
- package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js +1 -1
- package/dist/esm-es5/pds-text.entry.js +1 -1
- package/dist/esm-es5/pds-textarea.entry.js +1 -1
- package/dist/esm-es5/pds-toast.entry.js +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/esm-es5/sortable-label-PItnzVVR.js +1 -0
- package/dist/esm-es5/truncation-tooltip-CkIWm6Z-.js +1 -0
- package/dist/pine-core/{p-f834cb07.system.entry.js → p-00891b8d.system.entry.js} +1 -1
- package/dist/pine-core/{p-3f8bd3fb.system.entry.js → p-053ff8eb.system.entry.js} +1 -1
- package/dist/pine-core/p-08b9e3ad.entry.js +1 -0
- package/dist/pine-core/{p-4d98bc0c.system.entry.js → p-0a7570dd.system.entry.js} +1 -1
- package/dist/pine-core/{p-d018dc60.system.entry.js → p-0ac4262e.system.entry.js} +1 -1
- package/dist/pine-core/{p-89d38a82.system.entry.js → p-0e1b8bd1.system.entry.js} +1 -1
- package/dist/pine-core/{p-e1d1b5d8.entry.js → p-12fdc65f.entry.js} +1 -1
- package/dist/pine-core/{p-d48fe5a0.system.entry.js → p-16fceef6.system.entry.js} +1 -1
- package/dist/pine-core/p-1765a41b.system.entry.js +1 -0
- package/dist/pine-core/{p-a594c41f.entry.js → p-18524c25.entry.js} +1 -1
- package/dist/pine-core/p-1a013a5c.system.entry.js +1 -0
- package/dist/pine-core/{p-2b9622c1.system.entry.js → p-1ab52531.system.entry.js} +1 -1
- package/dist/pine-core/p-1c584a20.entry.js +1 -0
- package/dist/pine-core/p-1edef412.entry.js +1 -0
- package/dist/pine-core/{p-5946203c.entry.js → p-1f998e3e.entry.js} +1 -1
- package/dist/pine-core/{p-39e57657.entry.js → p-1fb1ca3d.entry.js} +1 -1
- package/dist/pine-core/p-2b6becc2.entry.js +1 -0
- package/dist/pine-core/p-2cc7c682.entry.js +1 -0
- package/dist/pine-core/{p-639acef8.system.entry.js → p-2ddcd845.system.entry.js} +1 -1
- package/dist/pine-core/{p-6a1aa8d3.entry.js → p-2f15e85f.entry.js} +1 -1
- package/dist/pine-core/{p-67f795d5.system.entry.js → p-33da254f.system.entry.js} +1 -1
- package/dist/pine-core/{p-c6a9e62c.system.entry.js → p-3fc9ef80.system.entry.js} +1 -1
- package/dist/pine-core/p-4125a4a6.system.entry.js +1 -0
- package/dist/pine-core/p-47df9e9f.system.entry.js +3 -0
- package/dist/pine-core/p-51680c9c.system.entry.js +1 -0
- package/dist/pine-core/p-55535481.system.entry.js +1 -0
- package/dist/pine-core/p-55a4659a.system.entry.js +1 -0
- package/dist/pine-core/{p-c5e1eb3c.system.entry.js → p-57af5c29.system.entry.js} +1 -1
- package/dist/pine-core/p-57edd301.system.entry.js +1 -0
- package/dist/pine-core/{p-bfa34194.entry.js → p-5d582798.entry.js} +1 -1
- package/dist/pine-core/p-5db87fda.system.entry.js +1 -0
- package/dist/pine-core/{p-19cf1d91.system.entry.js → p-5eb0c78c.system.entry.js} +1 -1
- package/dist/pine-core/{p-42f70f93.system.entry.js → p-6017afb5.system.entry.js} +1 -1
- package/dist/pine-core/{p-63f85859.system.entry.js → p-60e65fe0.system.entry.js} +1 -1
- package/dist/pine-core/{p-973c3ac0.entry.js → p-627a94da.entry.js} +1 -1
- package/dist/pine-core/{p-a9d96e22.entry.js → p-68328afc.entry.js} +1 -1
- package/dist/pine-core/{p-bd7dc317.system.entry.js → p-72668673.system.entry.js} +1 -1
- package/dist/pine-core/p-72ff5ad2.system.entry.js +1 -0
- package/dist/pine-core/p-736ea7dd.entry.js +7 -0
- package/dist/pine-core/p-765f4207.entry.js +1 -0
- package/dist/pine-core/{p-2a18852f.entry.js → p-77530cf2.entry.js} +1 -1
- package/dist/pine-core/p-77a22399.entry.js +1 -0
- package/dist/pine-core/p-783127bf.entry.js +1 -0
- package/dist/pine-core/{p-d9719e37.entry.js → p-82f7eed1.entry.js} +1 -1
- package/dist/pine-core/{p-124a0a24.entry.js → p-84d4ae26.entry.js} +1 -1
- package/dist/pine-core/p-8deeda07.entry.js +1 -0
- package/dist/pine-core/{p-849ec281.system.entry.js → p-8e17a6d8.system.entry.js} +1 -1
- package/dist/pine-core/p-8e7e7bba.entry.js +1 -0
- package/dist/pine-core/{p-e82f758f.system.entry.js → p-907c69e9.system.entry.js} +1 -1
- package/dist/pine-core/{p-1415c988.system.entry.js → p-90f83a5b.system.entry.js} +1 -1
- package/dist/pine-core/p-97145eee.system.entry.js +1 -0
- package/dist/pine-core/{p-a09c9c5e.system.entry.js → p-9d983e09.system.entry.js} +1 -1
- package/dist/pine-core/{p-1e3ef425.entry.js → p-9e005996.entry.js} +1 -1
- package/dist/pine-core/{p-DvN3tyZp.js → p-B0DXTeeV.js} +1 -1
- package/dist/pine-core/{p-CNXspDYs.system.js → p-BlJQebvG.system.js} +1 -1
- package/dist/pine-core/p-C35-349-.system.js +1 -0
- package/dist/pine-core/{p-vFsJv75D.system.js → p-CIe1DGXa.system.js} +1 -1
- package/dist/pine-core/p-CNn1lObg.js +1 -0
- package/dist/pine-core/p-CQJ44c6o.system.js +1 -0
- package/dist/pine-core/p-Dv9QBmIF.js +1 -0
- package/dist/pine-core/p-PItnzVVR.js +1 -0
- package/dist/pine-core/p-VPGVqK3P.system.js +1 -0
- package/dist/pine-core/p-XK45dzWR.system.js +1 -1
- package/dist/pine-core/p-a149af29.entry.js +1 -0
- package/dist/pine-core/p-a20d9eca.system.entry.js +1 -0
- package/dist/pine-core/{p-f6f4fd42.entry.js → p-a5782d99.entry.js} +1 -1
- package/dist/pine-core/p-a5e9c583.entry.js +1 -0
- package/dist/pine-core/{p-4d47023c.system.entry.js → p-a9eaf160.system.entry.js} +1 -1
- package/dist/pine-core/{p-143b33a6.entry.js → p-b00b07e3.entry.js} +1 -1
- package/dist/pine-core/{p-c7a53c4f.entry.js → p-b7b29392.entry.js} +1 -1
- package/dist/pine-core/p-b96bdff6.entry.js +1 -0
- package/dist/pine-core/{p-f71d71ca.entry.js → p-bbd9ab75.entry.js} +1 -1
- package/dist/pine-core/p-bdab6c9f.entry.js +1 -0
- package/dist/pine-core/p-biShcgLI.js +1 -0
- package/dist/pine-core/{p-548bce53.system.entry.js → p-c12b5cd7.system.entry.js} +1 -1
- package/dist/pine-core/p-c1dc7692.entry.js +1 -0
- package/dist/pine-core/p-c76d8b9e.system.entry.js +1 -0
- package/dist/pine-core/{p-590df41a.entry.js → p-c89ea2d3.entry.js} +1 -1
- package/dist/pine-core/{p-d920d759.system.entry.js → p-c9630934.system.entry.js} +1 -1
- package/dist/pine-core/{p-6f4ab1ea.system.entry.js → p-cb9227f6.system.entry.js} +1 -1
- package/dist/pine-core/p-ceef0eb1.entry.js +1 -0
- package/dist/pine-core/p-d1283e8d.entry.js +1 -0
- package/dist/pine-core/p-d676926d.system.entry.js +1 -0
- package/dist/pine-core/{p-61cfdbb2.entry.js → p-d7d7a4e1.entry.js} +1 -1
- package/dist/pine-core/p-d85d50cb.entry.js +1 -0
- package/dist/pine-core/p-daa802f1.entry.js +2 -0
- package/dist/pine-core/p-ddf4b9b5.system.entry.js +1 -0
- package/dist/pine-core/p-de3b319e.system.entry.js +8 -0
- package/dist/pine-core/{p-cb9baf78.system.entry.js → p-e00777da.system.entry.js} +1 -1
- package/dist/pine-core/p-e2541eeb.entry.js +1 -0
- package/dist/pine-core/{p-01f1cdaf.system.entry.js → p-e2a1a49a.system.entry.js} +1 -1
- package/dist/pine-core/p-e4ebea88.system.entry.js +1 -0
- package/dist/pine-core/{p-947582e1.entry.js → p-e554bd64.entry.js} +1 -1
- package/dist/pine-core/{p-dd7ded84.entry.js → p-e6427c87.entry.js} +1 -1
- package/dist/pine-core/{p-50ddadbf.entry.js → p-e72e8b8f.entry.js} +1 -1
- package/dist/pine-core/p-e92d0f0f.system.entry.js +1 -0
- package/dist/pine-core/{p-9b32727a.system.entry.js → p-eab165b9.system.entry.js} +1 -1
- package/dist/pine-core/p-eabc4bd8.entry.js +1 -0
- package/dist/pine-core/p-ef9f84f2.system.entry.js +1 -0
- package/dist/pine-core/{p-c9ae7964.entry.js → p-f026af73.entry.js} +1 -1
- package/dist/pine-core/{p-99530cb5.entry.js → p-f0509c8e.entry.js} +1 -1
- package/dist/pine-core/p-f1252e72.system.entry.js +1 -0
- package/dist/pine-core/p-f3496fd1.entry.js +1 -0
- package/dist/pine-core/{p-eecd9ad8.system.entry.js → p-f90f4be7.system.entry.js} +1 -1
- package/dist/pine-core/p-f9bdaadd.system.entry.js +1 -0
- package/dist/pine-core/{p-128c04e7.entry.js → p-fda791df.entry.js} +1 -1
- package/dist/pine-core/p-fea4296d.entry.js +1 -0
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/types/components/pds-alert/pds-alert.d.ts +2 -1
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +5 -4
- package/dist/types/components/pds-box/pds-box.d.ts +68 -57
- package/dist/types/components/pds-button/pds-button.d.ts +14 -3
- package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +15 -8
- package/dist/types/components/pds-chip/pds-chip.d.ts +2 -2
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +48 -11
- package/dist/types/components/pds-copytext/pds-copytext.d.ts +3 -1
- package/dist/types/components/pds-datepicker/date-utils.d.ts +19 -0
- package/dist/types/components/pds-datepicker/datepicker-interface.d.ts +22 -5
- package/dist/types/components/pds-datepicker/pds-datepicker.d.ts +33 -7
- package/dist/types/components/pds-datepicker/presets.d.ts +3 -2
- package/dist/types/components/pds-datepicker/value.d.ts +14 -2
- package/dist/types/components/pds-drawer/pds-drawer-content/pds-drawer-content.d.ts +1 -4
- package/dist/types/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.d.ts +1 -0
- package/dist/types/components/pds-drawer/pds-drawer-header/pds-drawer-header.d.ts +1 -0
- package/dist/types/components/pds-drawer/pds-drawer.d.ts +4 -6
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +20 -16
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.d.ts +1 -1
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +7 -0
- package/dist/types/components/pds-filters/pds-filter/pds-filter.d.ts +6 -5
- package/dist/types/components/pds-image/image-interface.d.ts +12 -0
- package/dist/types/components/pds-image/pds-image.d.ts +69 -9
- package/dist/types/components/pds-input/pds-input.d.ts +17 -7
- package/dist/types/components/pds-link/pds-link.d.ts +8 -8
- package/dist/types/components/pds-loader/pds-loader.d.ts +3 -2
- package/dist/types/components/pds-modal/pds-modal-footer/pds-modal-footer.d.ts +1 -0
- package/dist/types/components/pds-modal/pds-modal-header/pds-modal-header.d.ts +1 -0
- package/dist/types/components/pds-modal/pds-modal.d.ts +7 -9
- package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +14 -8
- package/dist/types/components/pds-popover/pds-popover.d.ts +2 -2
- package/dist/types/components/pds-progress/pds-progress.d.ts +2 -2
- package/dist/types/components/pds-radio/pds-radio.d.ts +6 -5
- package/dist/types/components/pds-radio-group/pds-radio-group.d.ts +5 -4
- package/dist/types/components/pds-select/pds-select.d.ts +9 -3
- package/dist/types/components/pds-sortable/pds-sortable-item/pds-sortable-item.d.ts +8 -2
- package/dist/types/components/pds-sortable/pds-sortable.d.ts +82 -1
- package/dist/types/components/pds-sortable/sortable-label.d.ts +7 -0
- package/dist/types/components/pds-switch/pds-switch.d.ts +17 -2
- package/dist/types/components/pds-table/pds-table-body/pds-table-body.d.ts +3 -0
- package/dist/types/components/pds-table/pds-table-cell/pds-table-cell.d.ts +10 -0
- package/dist/types/components/pds-table/pds-table-head/pds-table-head.d.ts +5 -1
- package/dist/types/components/pds-table/pds-table-head-cell/pds-table-head-cell.d.ts +21 -0
- package/dist/types/components/pds-table/pds-table-row/pds-table-row.d.ts +4 -0
- package/dist/types/components/pds-table/pds-table.d.ts +76 -2
- package/dist/types/components/pds-tabs/pds-tabs.d.ts +1 -1
- package/dist/types/components/pds-textarea/pds-textarea.d.ts +15 -13
- package/dist/types/components/pds-toast/pds-toast.d.ts +5 -1
- package/dist/types/components.d.ts +505 -335
- package/dist/types/utils/aria-references.d.ts +4 -0
- package/dist/types/utils/truncation-tooltip.d.ts +39 -0
- package/dist/types/utils/types.d.ts +3 -0
- package/dist/vscode.html-data.json +350 -137
- package/hydrate/index.js +2054 -427
- package/hydrate/index.mjs +2054 -427
- package/package.json +3 -3
- package/readme.md +26 -55
- package/dist/esm-es5/truncation-tooltip-DBcPipr9.js +0 -1
- package/dist/pine-core/p-07323107.entry.js +0 -1
- package/dist/pine-core/p-08b8e941.entry.js +0 -1
- package/dist/pine-core/p-0b7b3fc2.system.entry.js +0 -3
- package/dist/pine-core/p-0d5f0ab5.system.entry.js +0 -1
- package/dist/pine-core/p-14dedf01.system.entry.js +0 -1
- package/dist/pine-core/p-1ca8d183.entry.js +0 -1
- package/dist/pine-core/p-1f62bb71.entry.js +0 -7
- package/dist/pine-core/p-2dd30d12.entry.js +0 -1
- package/dist/pine-core/p-35s7h-dk.js +0 -1
- package/dist/pine-core/p-3610cb3b.entry.js +0 -1
- package/dist/pine-core/p-39276663.entry.js +0 -1
- package/dist/pine-core/p-3a1dc752.system.entry.js +0 -1
- package/dist/pine-core/p-42d43c3f.system.entry.js +0 -1
- package/dist/pine-core/p-4a90b9c8.system.entry.js +0 -1
- package/dist/pine-core/p-4cfe922b.entry.js +0 -1
- package/dist/pine-core/p-5f181694.system.entry.js +0 -1
- package/dist/pine-core/p-60a30975.system.entry.js +0 -1
- package/dist/pine-core/p-62aa6a78.system.entry.js +0 -1
- package/dist/pine-core/p-64bcb378.entry.js +0 -1
- package/dist/pine-core/p-724baba3.system.entry.js +0 -1
- package/dist/pine-core/p-72659a0e.system.entry.js +0 -1
- package/dist/pine-core/p-8436cbfb.entry.js +0 -1
- package/dist/pine-core/p-8ade17ce.entry.js +0 -1
- package/dist/pine-core/p-8e7f75e6.entry.js +0 -1
- package/dist/pine-core/p-8fb520df.entry.js +0 -1
- package/dist/pine-core/p-92115e88.entry.js +0 -1
- package/dist/pine-core/p-94c9b7d1.system.entry.js +0 -1
- package/dist/pine-core/p-97356d4b.entry.js +0 -1
- package/dist/pine-core/p-97653e60.entry.js +0 -1
- package/dist/pine-core/p-97b73359.entry.js +0 -1
- package/dist/pine-core/p-BZVUD2on.js +0 -1
- package/dist/pine-core/p-Dj-z_ugg.system.js +0 -1
- package/dist/pine-core/p-ad5208a4.system.entry.js +0 -1
- package/dist/pine-core/p-afc2f165.entry.js +0 -1
- package/dist/pine-core/p-bcc378ba.system.entry.js +0 -8
- package/dist/pine-core/p-c8a0b562.system.entry.js +0 -1
- package/dist/pine-core/p-d47b2a6a.system.entry.js +0 -1
- package/dist/pine-core/p-d6f338e0.entry.js +0 -1
- package/dist/pine-core/p-da8b864a.entry.js +0 -2
- package/dist/pine-core/p-db7fb5a3.entry.js +0 -1
- package/dist/pine-core/p-de455073.system.entry.js +0 -1
- package/dist/pine-core/p-e3de6a1d.entry.js +0 -1
- package/dist/pine-core/p-e84fa9ed.entry.js +0 -1
- package/dist/pine-core/p-eb4f0daa.system.entry.js +0 -1
- package/dist/pine-core/p-eb56af4a.system.entry.js +0 -1
- package/dist/pine-core/p-ef0eba9b.system.entry.js +0 -1
- package/dist/pine-core/p-f11cce27.system.entry.js +0 -1
- package/dist/pine-core/p-f354dbac.entry.js +0 -1
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { BoxColumnType, BoxShadowSizeType, BoxSpacingType, TextSizeType } from "./utils/types";
|
|
8
|
+
import { BoxColumnType, BoxContainerType, BoxMarginType, BoxShadowSizeType, BoxSpacingType, TextSizeType } from "./utils/types";
|
|
9
9
|
import { Event } from "./stencil-public-runtime";
|
|
10
10
|
import { CheckboxChangeEventDetail } from "./components/pds-checkbox/checkbox-interface";
|
|
11
|
-
import { ChipSentimentType, ChipSizeType, ChipVariantType, ModalSizeType, PlacementType, PopoverPaddingType } from "./utils/types";
|
|
11
|
+
import { ChipSentimentType, ChipSizeType, ChipVariantType, ImageRatioType, ModalSizeType, PlacementType, PopoverPaddingType } from "./utils/types";
|
|
12
12
|
import { ComboboxLoadOptionsEventDetail, ComboboxOption, ComboboxSearchEventDetail } from "./components/pds-combobox/combobox-interface";
|
|
13
13
|
import { DatepickerChangeEventDetail, DatepickerPreset } from "./components/pds-datepicker/datepicker-interface";
|
|
14
14
|
import { PdsFilterClearEventDetail, PdsFilterCloseEventDetail, PdsFilterOpenEventDetail, PdsFilterVariant } from "./components/pds-filters/pds-filter/filter-interface";
|
|
15
|
+
import { ImageErrorEventDetail, ImageLoadEventDetail } from "./components/pds-image/image-interface";
|
|
15
16
|
import { InputChangeEventDetail, InputInputEventDetail } from "./components/pds-input/input-interface";
|
|
16
17
|
import { PluralForms } from "./i18n";
|
|
17
18
|
import { MultiselectChangeEventDetail, MultiselectCreateEventDetail, MultiselectLoadOptionsEventDetail, MultiselectOption, MultiselectOptionActionEventDetail, MultiselectSearchEventDetail } from "./components/pds-multiselect/multiselect-interface";
|
|
@@ -19,13 +20,14 @@ import { PdsPopoverEventDetail } from "./components/pds-popover/popover-interfac
|
|
|
19
20
|
import { RadioGroupChangeEventDetail } from "./components/pds-radio-group/radio-group-interface";
|
|
20
21
|
import { SortableEvent } from "sortablejs";
|
|
21
22
|
import { TextareaChangeEventDetail, TextareaInputEventDetail } from "./components/pds-textarea/textarea-interface";
|
|
22
|
-
export { BoxColumnType, BoxShadowSizeType, BoxSpacingType, TextSizeType } from "./utils/types";
|
|
23
|
+
export { BoxColumnType, BoxContainerType, BoxMarginType, BoxShadowSizeType, BoxSpacingType, TextSizeType } from "./utils/types";
|
|
23
24
|
export { Event } from "./stencil-public-runtime";
|
|
24
25
|
export { CheckboxChangeEventDetail } from "./components/pds-checkbox/checkbox-interface";
|
|
25
|
-
export { ChipSentimentType, ChipSizeType, ChipVariantType, ModalSizeType, PlacementType, PopoverPaddingType } from "./utils/types";
|
|
26
|
+
export { ChipSentimentType, ChipSizeType, ChipVariantType, ImageRatioType, ModalSizeType, PlacementType, PopoverPaddingType } from "./utils/types";
|
|
26
27
|
export { ComboboxLoadOptionsEventDetail, ComboboxOption, ComboboxSearchEventDetail } from "./components/pds-combobox/combobox-interface";
|
|
27
28
|
export { DatepickerChangeEventDetail, DatepickerPreset } from "./components/pds-datepicker/datepicker-interface";
|
|
28
29
|
export { PdsFilterClearEventDetail, PdsFilterCloseEventDetail, PdsFilterOpenEventDetail, PdsFilterVariant } from "./components/pds-filters/pds-filter/filter-interface";
|
|
30
|
+
export { ImageErrorEventDetail, ImageLoadEventDetail } from "./components/pds-image/image-interface";
|
|
29
31
|
export { InputChangeEventDetail, InputInputEventDetail } from "./components/pds-input/input-interface";
|
|
30
32
|
export { PluralForms } from "./i18n";
|
|
31
33
|
export { MultiselectChangeEventDetail, MultiselectCreateEventDetail, MultiselectLoadOptionsEventDetail, MultiselectOption, MultiselectOptionActionEventDetail, MultiselectSearchEventDetail } from "./components/pds-multiselect/multiselect-interface";
|
|
@@ -160,7 +162,7 @@ export namespace Components {
|
|
|
160
162
|
*/
|
|
161
163
|
"initials"?: string | null;
|
|
162
164
|
/**
|
|
163
|
-
*
|
|
165
|
+
* Sets the size of the avatar: `xs` (24px), `sm` (32px), `md` (40px), `lg` (56px), `xl` (64px), or a custom CSS length such as `128px`.
|
|
164
166
|
* @defaultValue lg
|
|
165
167
|
*/
|
|
166
168
|
"size"?: | 'xl' // 64px
|
|
@@ -312,6 +314,10 @@ export namespace Components {
|
|
|
312
314
|
* @defaultValue none
|
|
313
315
|
*/
|
|
314
316
|
"borderRadius"?: `none` | `xs`| `sm` | `md` | `lg` | `circle`;
|
|
317
|
+
/**
|
|
318
|
+
* Makes the box a size container by setting `container-type`. `inline-size` stops the box's content from setting its width, so long unwrapped text truncates instead of widening it, and lets children use container query units. `size` does the same for both axes, so the box needs a height from somewhere else. Either way the box still needs its width from its parent, such as the default `flex-grow`, `flex="grow"` or `fit`; with `flex="none"` or `flex="shrink"`, or the `auto` prop, it collapses.
|
|
319
|
+
*/
|
|
320
|
+
"container"?: BoxContainerType;
|
|
315
321
|
/**
|
|
316
322
|
* Defines the orientation of the box items.
|
|
317
323
|
* @defaultValue row
|
|
@@ -323,32 +329,31 @@ export namespace Components {
|
|
|
323
329
|
*/
|
|
324
330
|
"display"?: `flex` | `inline-flex` | `block` | `inline-block`;
|
|
325
331
|
/**
|
|
326
|
-
* If `true`, sets the box `max-width` to `100
|
|
332
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%`, so it fills its parent's width. A box in a `direction="column"` parent needs it when the parent sets `align-items`, and a box that isn't a flex item needs it to fill its container.
|
|
327
333
|
*/
|
|
328
334
|
"fit"?: boolean;
|
|
329
335
|
/**
|
|
330
|
-
* If `true`, sets the box `max-width` to `100%` at the LG breakpoint.
|
|
336
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the LG breakpoint.
|
|
331
337
|
*/
|
|
332
338
|
"fitLg"?: boolean;
|
|
333
339
|
/**
|
|
334
|
-
* If `true`, sets the box `max-width` to `100%` at the MD breakpoint.
|
|
340
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the MD breakpoint.
|
|
335
341
|
*/
|
|
336
342
|
"fitMd"?: boolean;
|
|
337
343
|
/**
|
|
338
|
-
* If `true`, sets the box `max-width` to `100%` at the SM breakpoint.
|
|
344
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the SM breakpoint.
|
|
339
345
|
*/
|
|
340
346
|
"fitSm"?: boolean;
|
|
341
347
|
/**
|
|
342
|
-
* If `true`, sets the box `max-width` to `100%` at the XL breakpoint.
|
|
348
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the XL breakpoint.
|
|
343
349
|
*/
|
|
344
350
|
"fitXl"?: boolean;
|
|
345
351
|
/**
|
|
346
|
-
* If `true`, sets the box `max-width` to `100%` at the XS breakpoint.
|
|
352
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the XS breakpoint.
|
|
347
353
|
*/
|
|
348
354
|
"fitXs"?: boolean;
|
|
349
355
|
/**
|
|
350
|
-
* Defines how a box will grow or shrink to fit the space available in its container. Can be a predefined value
|
|
351
|
-
* @defaultValue none
|
|
356
|
+
* Defines how a box will grow or shrink to fit the space available in its container. Can be a predefined value or a custom flex value (e.g., '1', '0 1 auto'). The predefined values are `none` (`flex: 0 0 auto`), `grow` (`flex: 1 1 auto`) and `shrink` (`flex: 0 1 auto`). Without it, a box grows to share its row with its siblings (`flex-grow: 1; flex-basis: 0`).
|
|
352
357
|
*/
|
|
353
358
|
"flex"?: `none` | `grow` | `shrink` | string;
|
|
354
359
|
/**
|
|
@@ -412,125 +417,125 @@ export namespace Components {
|
|
|
412
417
|
*/
|
|
413
418
|
"justifyContentXs"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
|
|
414
419
|
/**
|
|
415
|
-
* Defines the box's outer bottom spacing.
|
|
420
|
+
* Defines the box's outer bottom spacing. Accepts a spacing token or `auto`.
|
|
416
421
|
* @defaultValue none
|
|
417
422
|
*/
|
|
418
|
-
"marginBlockEnd"?:
|
|
423
|
+
"marginBlockEnd"?: BoxMarginType;
|
|
419
424
|
/**
|
|
420
|
-
* Defines the box's outer bottom spacing at the LG breakpoint.
|
|
425
|
+
* Defines the box's outer bottom spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
421
426
|
* @defaultValue none
|
|
422
427
|
*/
|
|
423
|
-
"marginBlockEndLg"?:
|
|
428
|
+
"marginBlockEndLg"?: BoxMarginType;
|
|
424
429
|
/**
|
|
425
|
-
* Defines the box's outer bottom spacing at the MD breakpoint.
|
|
430
|
+
* Defines the box's outer bottom spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
426
431
|
* @defaultValue none
|
|
427
432
|
*/
|
|
428
|
-
"marginBlockEndMd"?:
|
|
433
|
+
"marginBlockEndMd"?: BoxMarginType;
|
|
429
434
|
/**
|
|
430
|
-
* Defines the box's outer bottom spacing at the SM breakpoint.
|
|
435
|
+
* Defines the box's outer bottom spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
431
436
|
* @defaultValue none
|
|
432
437
|
*/
|
|
433
|
-
"marginBlockEndSm"?:
|
|
438
|
+
"marginBlockEndSm"?: BoxMarginType;
|
|
434
439
|
/**
|
|
435
|
-
* Defines the box's outer bottom spacing at the XL breakpoint.
|
|
440
|
+
* Defines the box's outer bottom spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
436
441
|
* @defaultValue none
|
|
437
442
|
*/
|
|
438
|
-
"marginBlockEndXl"?:
|
|
443
|
+
"marginBlockEndXl"?: BoxMarginType;
|
|
439
444
|
/**
|
|
440
|
-
* Defines the box's outer bottom spacing at the XS breakpoint.
|
|
445
|
+
* Defines the box's outer bottom spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
441
446
|
* @defaultValue none
|
|
442
447
|
*/
|
|
443
|
-
"marginBlockEndXs"?:
|
|
448
|
+
"marginBlockEndXs"?: BoxMarginType;
|
|
444
449
|
/**
|
|
445
|
-
* Defines the box's outer top spacing.
|
|
450
|
+
* Defines the box's outer top spacing. Accepts a spacing token or `auto`.
|
|
446
451
|
* @defaultValue none
|
|
447
452
|
*/
|
|
448
|
-
"marginBlockStart"?:
|
|
453
|
+
"marginBlockStart"?: BoxMarginType;
|
|
449
454
|
/**
|
|
450
|
-
* Defines the box's outer top spacing at the LG breakpoint.
|
|
455
|
+
* Defines the box's outer top spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
451
456
|
* @defaultValue none
|
|
452
457
|
*/
|
|
453
|
-
"marginBlockStartLg"?:
|
|
458
|
+
"marginBlockStartLg"?: BoxMarginType;
|
|
454
459
|
/**
|
|
455
|
-
* Defines the box's outer top spacing at the MD breakpoint.
|
|
460
|
+
* Defines the box's outer top spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
456
461
|
* @defaultValue none
|
|
457
462
|
*/
|
|
458
|
-
"marginBlockStartMd"?:
|
|
463
|
+
"marginBlockStartMd"?: BoxMarginType;
|
|
459
464
|
/**
|
|
460
|
-
* Defines the box's outer top spacing at the SM breakpoint.
|
|
465
|
+
* Defines the box's outer top spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
461
466
|
* @defaultValue none
|
|
462
467
|
*/
|
|
463
|
-
"marginBlockStartSm"?:
|
|
468
|
+
"marginBlockStartSm"?: BoxMarginType;
|
|
464
469
|
/**
|
|
465
|
-
* Defines the box's outer top spacing at the XL breakpoint.
|
|
470
|
+
* Defines the box's outer top spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
466
471
|
* @defaultValue none
|
|
467
472
|
*/
|
|
468
|
-
"marginBlockStartXl"?:
|
|
473
|
+
"marginBlockStartXl"?: BoxMarginType;
|
|
469
474
|
/**
|
|
470
|
-
* Defines the box's outer top spacing at the XS breakpoint.
|
|
475
|
+
* Defines the box's outer top spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
471
476
|
* @defaultValue none
|
|
472
477
|
*/
|
|
473
|
-
"marginBlockStartXs"?:
|
|
478
|
+
"marginBlockStartXs"?: BoxMarginType;
|
|
474
479
|
/**
|
|
475
|
-
* Defines the box's outer right spacing.
|
|
480
|
+
* Defines the box's outer right spacing. Accepts a spacing token or `auto`.
|
|
476
481
|
* @defaultValue none
|
|
477
482
|
*/
|
|
478
|
-
"marginInlineEnd"?:
|
|
483
|
+
"marginInlineEnd"?: BoxMarginType;
|
|
479
484
|
/**
|
|
480
|
-
* Defines the box's outer right spacing at the LG breakpoint.
|
|
485
|
+
* Defines the box's outer right spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
481
486
|
* @defaultValue none
|
|
482
487
|
*/
|
|
483
|
-
"marginInlineEndLg"?:
|
|
488
|
+
"marginInlineEndLg"?: BoxMarginType;
|
|
484
489
|
/**
|
|
485
|
-
* Defines the box's outer right spacing at the MD breakpoint.
|
|
490
|
+
* Defines the box's outer right spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
486
491
|
* @defaultValue none
|
|
487
492
|
*/
|
|
488
|
-
"marginInlineEndMd"?:
|
|
493
|
+
"marginInlineEndMd"?: BoxMarginType;
|
|
489
494
|
/**
|
|
490
|
-
* Defines the box's outer right spacing at the SM breakpoint.
|
|
495
|
+
* Defines the box's outer right spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
491
496
|
* @defaultValue none
|
|
492
497
|
*/
|
|
493
|
-
"marginInlineEndSm"?:
|
|
498
|
+
"marginInlineEndSm"?: BoxMarginType;
|
|
494
499
|
/**
|
|
495
|
-
* Defines the box's outer right spacing at the XL breakpoint.
|
|
500
|
+
* Defines the box's outer right spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
496
501
|
* @defaultValue none
|
|
497
502
|
*/
|
|
498
|
-
"marginInlineEndXl"?:
|
|
503
|
+
"marginInlineEndXl"?: BoxMarginType;
|
|
499
504
|
/**
|
|
500
|
-
* Defines the box's outer right spacing at the XS breakpoint.
|
|
505
|
+
* Defines the box's outer right spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
501
506
|
* @defaultValue none
|
|
502
507
|
*/
|
|
503
|
-
"marginInlineEndXs"?:
|
|
508
|
+
"marginInlineEndXs"?: BoxMarginType;
|
|
504
509
|
/**
|
|
505
|
-
* Defines the box's outer left spacing.
|
|
510
|
+
* Defines the box's outer left spacing. Accepts a spacing token or `auto`.
|
|
506
511
|
* @defaultValue none
|
|
507
512
|
*/
|
|
508
|
-
"marginInlineStart"?:
|
|
513
|
+
"marginInlineStart"?: BoxMarginType;
|
|
509
514
|
/**
|
|
510
|
-
* Defines the box's outer left spacing at the LG breakpoint.
|
|
515
|
+
* Defines the box's outer left spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
511
516
|
* @defaultValue none
|
|
512
517
|
*/
|
|
513
|
-
"marginInlineStartLg"?:
|
|
518
|
+
"marginInlineStartLg"?: BoxMarginType;
|
|
514
519
|
/**
|
|
515
|
-
* Defines the box's outer left spacing at the MD breakpoint.
|
|
520
|
+
* Defines the box's outer left spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
516
521
|
* @defaultValue none
|
|
517
522
|
*/
|
|
518
|
-
"marginInlineStartMd"?:
|
|
523
|
+
"marginInlineStartMd"?: BoxMarginType;
|
|
519
524
|
/**
|
|
520
|
-
* Defines the box's outer left spacing at the SM breakpoint.
|
|
525
|
+
* Defines the box's outer left spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
521
526
|
* @defaultValue none
|
|
522
527
|
*/
|
|
523
|
-
"marginInlineStartSm"?:
|
|
528
|
+
"marginInlineStartSm"?: BoxMarginType;
|
|
524
529
|
/**
|
|
525
|
-
* Defines the box's outer left spacing at the XL breakpoint.
|
|
530
|
+
* Defines the box's outer left spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
526
531
|
* @defaultValue none
|
|
527
532
|
*/
|
|
528
|
-
"marginInlineStartXl"?:
|
|
533
|
+
"marginInlineStartXl"?: BoxMarginType;
|
|
529
534
|
/**
|
|
530
|
-
* Defines the box's outer left spacing at the XS breakpoint.
|
|
535
|
+
* Defines the box's outer left spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
531
536
|
* @defaultValue none
|
|
532
537
|
*/
|
|
533
|
-
"marginInlineStartXs"?:
|
|
538
|
+
"marginInlineStartXs"?: BoxMarginType;
|
|
534
539
|
/**
|
|
535
540
|
* The minimum height of the row. Used in conjunction with alignment props
|
|
536
541
|
*/
|
|
@@ -793,7 +798,7 @@ export namespace Components {
|
|
|
793
798
|
*/
|
|
794
799
|
"fullWidth"?: boolean;
|
|
795
800
|
/**
|
|
796
|
-
* If provided, renders the component as an anchor (`<a>`) element instead of a button. When using href,
|
|
801
|
+
* If provided, renders the component as an anchor (`<a>`) element instead of a button. When using href, `type`, `name` and `value` are ignored, `loading` blocks navigation, and `disabled` removes the link's `href`.
|
|
797
802
|
*/
|
|
798
803
|
"href"?: string;
|
|
799
804
|
/**
|
|
@@ -813,7 +818,7 @@ export namespace Components {
|
|
|
813
818
|
*/
|
|
814
819
|
"loading"?: boolean;
|
|
815
820
|
/**
|
|
816
|
-
*
|
|
821
|
+
* Sets the `name` attribute of the inner button. Not included in submitted form data, because the form is submitted through a hidden button that carries only the `type`.
|
|
817
822
|
*/
|
|
818
823
|
"name"?: string;
|
|
819
824
|
/**
|
|
@@ -831,7 +836,7 @@ export namespace Components {
|
|
|
831
836
|
*/
|
|
832
837
|
"type"?: 'button' | 'reset' | 'submit';
|
|
833
838
|
/**
|
|
834
|
-
*
|
|
839
|
+
* Sets the `value` attribute of the inner button. Not included in submitted form data, because the form is submitted through a hidden button that carries only the `type`.
|
|
835
840
|
*/
|
|
836
841
|
"value"?: string;
|
|
837
842
|
/**
|
|
@@ -855,11 +860,11 @@ export namespace Components {
|
|
|
855
860
|
*/
|
|
856
861
|
"disabled": boolean;
|
|
857
862
|
/**
|
|
858
|
-
* Displays message
|
|
863
|
+
* Displays an error message below the checkbox. It becomes the checkbox's accessible description only while `invalid` is set.
|
|
859
864
|
*/
|
|
860
865
|
"errorMessage": string;
|
|
861
866
|
/**
|
|
862
|
-
*
|
|
867
|
+
* Displays a message or hint below the checkbox.
|
|
863
868
|
*/
|
|
864
869
|
"helperMessage": string;
|
|
865
870
|
/**
|
|
@@ -867,15 +872,15 @@ export namespace Components {
|
|
|
867
872
|
*/
|
|
868
873
|
"hideLabel": boolean;
|
|
869
874
|
/**
|
|
870
|
-
*
|
|
875
|
+
* Shows the checkbox as indeterminate, for a checkbox whose group is only partly selected. It's exposed to screen readers as mixed. Changing `checked` clears it. Has no visual style when `variant` is `pill`.
|
|
871
876
|
*/
|
|
872
877
|
"indeterminate": boolean;
|
|
873
878
|
/**
|
|
874
|
-
*
|
|
879
|
+
* Determines whether or not the checkbox is invalid.
|
|
875
880
|
*/
|
|
876
881
|
"invalid": boolean;
|
|
877
882
|
/**
|
|
878
|
-
*
|
|
883
|
+
* Text to be displayed as the checkbox label.
|
|
879
884
|
*/
|
|
880
885
|
"label": string;
|
|
881
886
|
/**
|
|
@@ -928,7 +933,7 @@ export namespace Components {
|
|
|
928
933
|
*/
|
|
929
934
|
"maxWidth"?: string;
|
|
930
935
|
/**
|
|
931
|
-
* HTTP method to use for the remove action.
|
|
936
|
+
* HTTP method to use for the remove action. Maps to the `data-method` and `data-turbo-method` attributes on the remove link, for frameworks that read link methods from them. Only applies when removeUrl is provided.
|
|
932
937
|
*/
|
|
933
938
|
"removeHttpMethod"?: 'get' | 'post' | 'put' | 'patch' | 'delete';
|
|
934
939
|
/**
|
|
@@ -1028,10 +1033,9 @@ export namespace Components {
|
|
|
1028
1033
|
*/
|
|
1029
1034
|
"dropdownPlacement": 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
1030
1035
|
/**
|
|
1031
|
-
* Width of the dropdown. Any valid CSS width value.
|
|
1032
|
-
* @default '236px'
|
|
1036
|
+
* Width of the dropdown, including its padding. Any valid CSS width value. Without it, the dropdown is 252px wide, 244px with grouped options and 236px with a panel search.
|
|
1033
1037
|
*/
|
|
1034
|
-
"dropdownWidth"
|
|
1038
|
+
"dropdownWidth"?: string;
|
|
1035
1039
|
/**
|
|
1036
1040
|
* Error message to display.
|
|
1037
1041
|
*/
|
|
@@ -1042,13 +1046,13 @@ export namespace Components {
|
|
|
1042
1046
|
*/
|
|
1043
1047
|
"fetchTimeout": number;
|
|
1044
1048
|
/**
|
|
1045
|
-
* Maximum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value.
|
|
1046
|
-
* @default '
|
|
1049
|
+
* Maximum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value, including its padding.
|
|
1050
|
+
* @default '388px'
|
|
1047
1051
|
*/
|
|
1048
1052
|
"flyoutMaxWidth": string;
|
|
1049
1053
|
/**
|
|
1050
|
-
* Minimum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value. The flyout is as wide as its options, between this and `flyout-max-width`.
|
|
1051
|
-
* @default '
|
|
1054
|
+
* Minimum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value, including its padding. The flyout is as wide as its options, between this and `flyout-max-width`.
|
|
1055
|
+
* @default '288px'
|
|
1052
1056
|
*/
|
|
1053
1057
|
"flyoutMinWidth": string;
|
|
1054
1058
|
/**
|
|
@@ -1157,7 +1161,7 @@ export namespace Components {
|
|
|
1157
1161
|
*/
|
|
1158
1162
|
"truncate": boolean;
|
|
1159
1163
|
/**
|
|
1160
|
-
* The value of the
|
|
1164
|
+
* The `value` of the selected option.
|
|
1161
1165
|
* @default ''
|
|
1162
1166
|
*/
|
|
1163
1167
|
"value": string;
|
|
@@ -1206,7 +1210,8 @@ export namespace Components {
|
|
|
1206
1210
|
/**
|
|
1207
1211
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
1208
1212
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
1209
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
1213
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
1214
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
1210
1215
|
*/
|
|
1211
1216
|
interface PdsDatepicker {
|
|
1212
1217
|
/**
|
|
@@ -1265,7 +1270,7 @@ export namespace Components {
|
|
|
1265
1270
|
*/
|
|
1266
1271
|
"firstDayOfWeek"?: number;
|
|
1267
1272
|
/**
|
|
1268
|
-
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`), whatever the format. Typed ISO dates are always accepted too.
|
|
1273
|
+
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`; `--MM-DD` with `month-day`), whatever the format. Typed ISO dates are always accepted too. With `month-day`, a format without `YYYY` is taken as a month-and-day format and used as given, rather than reordered for the locale; leave it unset to follow the locale instead.
|
|
1269
1274
|
* @default 'YYYY-MM-DD'
|
|
1270
1275
|
*/
|
|
1271
1276
|
"format": string;
|
|
@@ -1331,6 +1336,11 @@ export namespace Components {
|
|
|
1331
1336
|
* @default 'Minute'
|
|
1332
1337
|
*/
|
|
1333
1338
|
"minuteLabel": string;
|
|
1339
|
+
/**
|
|
1340
|
+
* Picks a month and day with no year, for a date that comes round every year, such as a birthday. The value is `--MM-DD` (ISO 8601 without a year), the field shows the date as the locale writes a month and day, and the calendar shows each month without a year or weekdays, with February always having its 29th. Turns off `range`, `time-picker`, `show-dropdowns`, `min` and `max`, and has no effect with `auto-apply`, `presets`, `first-day-of-week`, `min-date-message` or `max-date-message`, which all depend on them.
|
|
1341
|
+
* @default false
|
|
1342
|
+
*/
|
|
1343
|
+
"monthDay": boolean;
|
|
1334
1344
|
/**
|
|
1335
1345
|
* Accessible label for the month dropdown, when `show-dropdowns` is set.
|
|
1336
1346
|
* @default 'Month'
|
|
@@ -1355,7 +1365,7 @@ export namespace Components {
|
|
|
1355
1365
|
*/
|
|
1356
1366
|
"periodLabel": string;
|
|
1357
1367
|
/**
|
|
1358
|
-
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`.
|
|
1368
|
+
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`; with `month-day`, to an example date instead, such as `December 31`.
|
|
1359
1369
|
*/
|
|
1360
1370
|
"placeholder"?: string;
|
|
1361
1371
|
/**
|
|
@@ -1364,7 +1374,7 @@ export namespace Components {
|
|
|
1364
1374
|
*/
|
|
1365
1375
|
"placement": PlacementType;
|
|
1366
1376
|
/**
|
|
1367
|
-
* Ranges listed beside the calendar in range mode. A comma-separated list of built-in keys (`today`, `yesterday`, `last-7-days`, `last-30-days`, `last-90-days`, `this-month`, `last-month`, `this-quarter`, `last-quarter`, `this-year`, `last-year`, `year-to-date`, `last-12-months`), or an array of `{ key, label?, start?, end? }` to relabel built-ins or add your own.
|
|
1377
|
+
* Ranges listed beside the calendar in range mode. A comma-separated list of built-in keys (`today`, `yesterday`, `last-7-days`, `last-30-days`, `last-90-days`, `this-month`, `last-month`, `this-quarter`, `last-quarter`, `this-year`, `last-year`, `year-to-date`, `last-12-months`), or an array of `{ key, label?, startOffset?, endOffset?, start?, end? }` to relabel built-ins or add your own: `startOffset` and `endOffset` follow today, `start` and `end` are fixed days.
|
|
1368
1378
|
*/
|
|
1369
1379
|
"presets"?: string | DatepickerPreset[];
|
|
1370
1380
|
/**
|
|
@@ -1420,7 +1430,7 @@ export namespace Components {
|
|
|
1420
1430
|
*/
|
|
1421
1431
|
"triggerLabel": string;
|
|
1422
1432
|
/**
|
|
1423
|
-
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm
|
|
1433
|
+
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm`; with `month-day`, the month and day with no year, as `--MM-DD` (a full date is read too, as that month and day, and rewritten to it). An empty string when nothing is selected.
|
|
1424
1434
|
* @default ''
|
|
1425
1435
|
*/
|
|
1426
1436
|
"value"?: string;
|
|
@@ -1452,7 +1462,7 @@ export namespace Components {
|
|
|
1452
1462
|
/**
|
|
1453
1463
|
* A side panel composed from `pds-modal`, non-modal by default.
|
|
1454
1464
|
* By default, unlike `pds-modal`, the page stays interactive while a drawer
|
|
1455
|
-
* is open: no dimming, no blur, no
|
|
1465
|
+
* is open: no dimming, no blur, no click blocking.
|
|
1456
1466
|
* `pds-drawer` renders a `pds-modal` internally with `disableTopLayer` on and
|
|
1457
1467
|
* its backdrop suppressed, and adds the edge, width and dismiss behavior a
|
|
1458
1468
|
* side panel needs on top. With `modal`, it opens that `pds-modal` in the top
|
|
@@ -1471,7 +1481,7 @@ export namespace Components {
|
|
|
1471
1481
|
*/
|
|
1472
1482
|
"initialFocus": 'auto' | 'none';
|
|
1473
1483
|
/**
|
|
1474
|
-
* Whether the drawer can be dismissed with a pointerdown outside it (in a `modal` drawer, a click on its backdrop).
|
|
1484
|
+
* Whether the drawer can be dismissed with a pointerdown outside it (in a `modal` drawer, a click on its backdrop). Setting it to `false` also turns off Escape, so the close button is the only way out. A trigger outside the drawer should only ever set `open` to `true` and leave closing to the drawer itself. A toggle-style trigger (`open = !open`) fights light dismiss: clicking it while open closes the drawer on `pointerdown`, then the trigger's own click handler re-opens it.
|
|
1475
1485
|
* @default true
|
|
1476
1486
|
*/
|
|
1477
1487
|
"lightDismiss": boolean;
|
|
@@ -1491,7 +1501,7 @@ export namespace Components {
|
|
|
1491
1501
|
*/
|
|
1492
1502
|
"scrollable": boolean;
|
|
1493
1503
|
/**
|
|
1494
|
-
* Which edge of the viewport the drawer is docked to. Logical
|
|
1504
|
+
* Which edge of the viewport the drawer is docked to. Logical: `end` is the inline-end edge, so an `end` drawer docks on the left in right-to-left layouts.
|
|
1495
1505
|
* @default 'end'
|
|
1496
1506
|
*/
|
|
1497
1507
|
"side": 'start' | 'end';
|
|
@@ -1502,20 +1512,19 @@ export namespace Components {
|
|
|
1502
1512
|
"size": 'sm' | 'md';
|
|
1503
1513
|
}
|
|
1504
1514
|
/**
|
|
1505
|
-
* Fills the
|
|
1506
|
-
* which caps itself against the viewport for a centered, possibly-shorter
|
|
1507
|
-
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
1508
|
-
* flex to fill whatever space the header and footer leave.
|
|
1515
|
+
* Fills the space between the drawer header and footer.
|
|
1509
1516
|
* @lightDom renders-markup
|
|
1510
1517
|
*/
|
|
1511
1518
|
interface PdsDrawerContent {
|
|
1512
1519
|
}
|
|
1513
1520
|
/**
|
|
1521
|
+
* Holds the drawer's actions in a padded row aligned to the end, with a divider above.
|
|
1514
1522
|
* @lightDom renders-markup
|
|
1515
1523
|
*/
|
|
1516
1524
|
interface PdsDrawerFooter {
|
|
1517
1525
|
}
|
|
1518
1526
|
/**
|
|
1527
|
+
* Holds the drawer's title and close control in a padded row, spaced apart, with a divider below.
|
|
1519
1528
|
* @lightDom renders-markup
|
|
1520
1529
|
*/
|
|
1521
1530
|
interface PdsDrawerHeader {
|
|
@@ -1533,7 +1542,7 @@ export namespace Components {
|
|
|
1533
1542
|
}
|
|
1534
1543
|
interface PdsDropdownMenuItem {
|
|
1535
1544
|
/**
|
|
1536
|
-
* Trigger the click event
|
|
1545
|
+
* Trigger the click event. Does nothing when the item is disabled or informational.
|
|
1537
1546
|
*/
|
|
1538
1547
|
"clickItem": () => Promise<void>;
|
|
1539
1548
|
/**
|
|
@@ -1541,12 +1550,12 @@ export namespace Components {
|
|
|
1541
1550
|
*/
|
|
1542
1551
|
"componentId": string;
|
|
1543
1552
|
/**
|
|
1544
|
-
*
|
|
1553
|
+
* Determines whether or not the dropdown menu item is destructive.
|
|
1545
1554
|
* @defaultValue false
|
|
1546
1555
|
*/
|
|
1547
1556
|
"destructive": boolean;
|
|
1548
1557
|
/**
|
|
1549
|
-
*
|
|
1558
|
+
* Determines whether or not the dropdown menu item is disabled.
|
|
1550
1559
|
* @defaultValue false
|
|
1551
1560
|
*/
|
|
1552
1561
|
"disabled": boolean;
|
|
@@ -1555,26 +1564,26 @@ export namespace Components {
|
|
|
1555
1564
|
*/
|
|
1556
1565
|
"download"?: string;
|
|
1557
1566
|
/**
|
|
1558
|
-
*
|
|
1567
|
+
* Shows the external-link (launch) icon. Opens in a new tab unless `target` says otherwise. Only applies when href is set. Ignored when `informational` is set.
|
|
1559
1568
|
* @defaultValue false
|
|
1560
1569
|
*/
|
|
1561
1570
|
"external": boolean;
|
|
1562
1571
|
/**
|
|
1563
|
-
* Accessible label for the external
|
|
1572
|
+
* Accessible label for the icon that `external` shows, passed to the inner `pds-link` and appended to the item's name. It isn't announced when `target` is anything other than `_blank`. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
1564
1573
|
* @defaultValue '(opens in a new tab)'
|
|
1565
1574
|
*/
|
|
1566
1575
|
"externalLabel"?: string;
|
|
1567
1576
|
/**
|
|
1568
|
-
* If provided, renders the dropdown
|
|
1577
|
+
* If provided, renders the dropdown menu item as an anchor (`<a>`) element instead of a button. Ignored when `informational` is set.
|
|
1569
1578
|
*/
|
|
1570
1579
|
"href": string | undefined;
|
|
1571
1580
|
/**
|
|
1572
|
-
*
|
|
1581
|
+
* Determines whether or not the dropdown menu item is informational: text that the arrow keys reach but that can't be activated. Takes precedence over `href` and `destructive`. Screen readers announce it as dimmed or unavailable, the same way as a disabled item.
|
|
1573
1582
|
* @defaultValue false
|
|
1574
1583
|
*/
|
|
1575
1584
|
"informational": boolean;
|
|
1576
1585
|
/**
|
|
1577
|
-
* Specifies where to open the linked document when href is provided.
|
|
1586
|
+
* Specifies where to open the linked document when href is provided. Overrides the new-tab default of `external`; the icon still shows. Only applies when href is set. Ignored when `informational` is set.
|
|
1578
1587
|
* @defaultValue undefined
|
|
1579
1588
|
*/
|
|
1580
1589
|
"target"?: '_blank' | '_self' | '_parent' | '_top';
|
|
@@ -1585,16 +1594,14 @@ export namespace Components {
|
|
|
1585
1594
|
*/
|
|
1586
1595
|
"componentId": string;
|
|
1587
1596
|
/**
|
|
1588
|
-
*
|
|
1597
|
+
* Has no effect. A separator can't be focused or activated.
|
|
1589
1598
|
* @defaultValue false
|
|
1590
1599
|
*/
|
|
1591
1600
|
"disabled": boolean;
|
|
1592
1601
|
}
|
|
1593
1602
|
/**
|
|
1594
|
-
*
|
|
1595
|
-
*
|
|
1596
|
-
* - Modern browsers: CSS anchor positioning + JavaScript flip classes
|
|
1597
|
-
* - Fallback browsers: JavaScript positioning with viewport boundary detection
|
|
1603
|
+
* A single filter in `pds-filters`: a trigger button that opens a popover holding the filter controls.
|
|
1604
|
+
* The `clear` variant has no popover and emits `pdsFilterClear` instead.
|
|
1598
1605
|
*/
|
|
1599
1606
|
interface PdsFilter {
|
|
1600
1607
|
/**
|
|
@@ -1614,7 +1621,7 @@ export namespace Components {
|
|
|
1614
1621
|
*/
|
|
1615
1622
|
"showFilter": () => Promise<void>;
|
|
1616
1623
|
/**
|
|
1617
|
-
* The text content displayed in the trigger button.
|
|
1624
|
+
* The text content displayed in the trigger button. When text overflows, a tooltip showing the full text will appear on hover/focus.
|
|
1618
1625
|
*/
|
|
1619
1626
|
"text"?: string;
|
|
1620
1627
|
/**
|
|
@@ -1631,7 +1638,7 @@ export namespace Components {
|
|
|
1631
1638
|
}
|
|
1632
1639
|
interface PdsImage {
|
|
1633
1640
|
/**
|
|
1634
|
-
* The image's alt
|
|
1641
|
+
* The image's alt text. Defaults to an empty string, which marks the image as decorative and hides it from screen readers, so set it on any image that carries information.
|
|
1635
1642
|
* @defaultValue ''
|
|
1636
1643
|
*/
|
|
1637
1644
|
"alt"?: string;
|
|
@@ -1640,7 +1647,12 @@ export namespace Components {
|
|
|
1640
1647
|
*/
|
|
1641
1648
|
"componentId": string;
|
|
1642
1649
|
/**
|
|
1643
|
-
*
|
|
1650
|
+
* Determines how the image fills the shape set by `ratio`. Has no effect if `ratio` is not set.
|
|
1651
|
+
* @defaultValue cover
|
|
1652
|
+
*/
|
|
1653
|
+
"fit"?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
1654
|
+
/**
|
|
1655
|
+
* The height of the image in pixels. `height: auto` lets the loaded image's own proportions decide its rendered height, so unlike `width` this does not reserve space before the image loads.
|
|
1644
1656
|
*/
|
|
1645
1657
|
"height"?: number;
|
|
1646
1658
|
/**
|
|
@@ -1648,6 +1660,10 @@ export namespace Components {
|
|
|
1648
1660
|
* @defaultValue eager
|
|
1649
1661
|
*/
|
|
1650
1662
|
"loading"?: 'eager' | 'lazy';
|
|
1663
|
+
/**
|
|
1664
|
+
* The aspect ratio the image is sized to, cropping whatever overflows the shape. A preset (`square` 1/1, `landscape` 4/3, `wide` 16/9, `portrait` 3/4, `tall` 9/16) or any custom CSS ratio, such as `21 / 9`. Use this, not `height` and `width`, to crop: those only reserve space, and only `width` reliably does even that.
|
|
1665
|
+
*/
|
|
1666
|
+
"ratio"?: ImageRatioType | (string & Record<never, never>);
|
|
1651
1667
|
/**
|
|
1652
1668
|
* Determines the intended display size of an image within certain breakpoints. Has no effect if `srcset` is not set or value has no width descriptor.
|
|
1653
1669
|
*/
|
|
@@ -1661,7 +1677,7 @@ export namespace Components {
|
|
|
1661
1677
|
*/
|
|
1662
1678
|
"srcset"?: string;
|
|
1663
1679
|
/**
|
|
1664
|
-
* The width of the image in pixels.
|
|
1680
|
+
* The width of the image in pixels. This reserves the image's width before it loads, but not its height: to reserve the height too, set `--dimension-aspect-ratio` to the image's own proportions.
|
|
1665
1681
|
*/
|
|
1666
1682
|
"width"?: number;
|
|
1667
1683
|
}
|
|
@@ -1675,7 +1691,7 @@ export namespace Components {
|
|
|
1675
1691
|
*/
|
|
1676
1692
|
"componentId": string;
|
|
1677
1693
|
/**
|
|
1678
|
-
* Sets the number of milliseconds to wait before
|
|
1694
|
+
* Sets the number of milliseconds to wait after each input event before emitting `pdsInput`.
|
|
1679
1695
|
*/
|
|
1680
1696
|
"debounce"?: number;
|
|
1681
1697
|
/**
|
|
@@ -1683,7 +1699,7 @@ export namespace Components {
|
|
|
1683
1699
|
*/
|
|
1684
1700
|
"disabled"?: boolean;
|
|
1685
1701
|
/**
|
|
1686
|
-
*
|
|
1702
|
+
* Displays an error message below the input and gives the field error styling. It becomes the input's accessible description only while `invalid` is set.
|
|
1687
1703
|
*/
|
|
1688
1704
|
"errorMessage"?: string;
|
|
1689
1705
|
/**
|
|
@@ -1703,7 +1719,7 @@ export namespace Components {
|
|
|
1703
1719
|
*/
|
|
1704
1720
|
"highlight"?: boolean;
|
|
1705
1721
|
/**
|
|
1706
|
-
* Determines whether or not the input
|
|
1722
|
+
* Determines whether or not the input is invalid.
|
|
1707
1723
|
*/
|
|
1708
1724
|
"invalid"?: boolean;
|
|
1709
1725
|
/**
|
|
@@ -1755,7 +1771,7 @@ export namespace Components {
|
|
|
1755
1771
|
*/
|
|
1756
1772
|
"step"?: string;
|
|
1757
1773
|
/**
|
|
1758
|
-
* Determines the type of control that will be displayed `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`, `'url'`
|
|
1774
|
+
* Determines the type of control that will be displayed `'email'`, `'number'`, `'password'`, `'search'`, `'tel'`, `'text'`, `'url'`
|
|
1759
1775
|
* @defaultValue "text"
|
|
1760
1776
|
*/
|
|
1761
1777
|
"type": string;
|
|
@@ -1784,13 +1800,12 @@ export namespace Components {
|
|
|
1784
1800
|
*/
|
|
1785
1801
|
"download"?: string;
|
|
1786
1802
|
/**
|
|
1787
|
-
*
|
|
1803
|
+
* Shows the external-link (launch) icon. Opens in a new tab unless `target` says otherwise.
|
|
1788
1804
|
* @defaultValue false
|
|
1789
|
-
* @deprecated Consider using the `target` prop for more control. This prop will be maintained for backward compatibility.
|
|
1790
1805
|
*/
|
|
1791
1806
|
"external": boolean;
|
|
1792
1807
|
/**
|
|
1793
|
-
* Accessible label for the icon that `external` shows, appended to the link's name. It isn't announced when `target`
|
|
1808
|
+
* Accessible label for the icon that `external` shows, appended to the link's name. It isn't announced when `target` is anything other than `_blank`. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
1794
1809
|
* @defaultValue '(opens in a new tab)'
|
|
1795
1810
|
*/
|
|
1796
1811
|
"externalLabel"?: string;
|
|
@@ -1800,13 +1815,13 @@ export namespace Components {
|
|
|
1800
1815
|
*/
|
|
1801
1816
|
"fontSize": 'sm' | 'md' | 'lg';
|
|
1802
1817
|
/**
|
|
1803
|
-
* The hyperlink's destination URL. If
|
|
1818
|
+
* The hyperlink's destination URL. If the default slot is empty (whitespace counts as content), the href will be used as the link text.
|
|
1804
1819
|
*/
|
|
1805
1820
|
"href": string;
|
|
1806
1821
|
/**
|
|
1807
|
-
* Specifies where to open the linked document.
|
|
1822
|
+
* Specifies where to open the linked document. Overrides the new-tab default of `external`; the icon still shows.
|
|
1808
1823
|
* @defaultValue undefined
|
|
1809
|
-
* @example <pds-link href="
|
|
1824
|
+
* @example <pds-link href="/dashboard" target="_top">Opens in the top-level frame</pds-link>
|
|
1810
1825
|
*/
|
|
1811
1826
|
"target"?: '_blank' | '_self' | '_parent' | '_top';
|
|
1812
1827
|
/**
|
|
@@ -1859,7 +1874,7 @@ export namespace Components {
|
|
|
1859
1874
|
*/
|
|
1860
1875
|
"showLabel"?: boolean;
|
|
1861
1876
|
/**
|
|
1862
|
-
* Sets the size of the spinner loader
|
|
1877
|
+
* Sets the size of the spinner loader: `xs` (24px), `sm` (32px), `md` (48px), `lg` (64px), `xl` (80px), or a custom CSS length such as `128px`. The `typing` variant ignores it.
|
|
1863
1878
|
* @default 'md'
|
|
1864
1879
|
*/
|
|
1865
1880
|
"size"?: | 'xs' // 24px
|
|
@@ -1888,7 +1903,7 @@ export namespace Components {
|
|
|
1888
1903
|
*/
|
|
1889
1904
|
"componentId": string;
|
|
1890
1905
|
/**
|
|
1891
|
-
* Whether to skip moving focus into the modal when it opens
|
|
1906
|
+
* Whether to skip moving focus into the modal when it opens. Set it for a modal that can open from a background event while the user is mid-task elsewhere on the page, where moving focus would interrupt them. Pair it with `disableTopLayer`: in the top layer the rest of the page is inert, so focus can't stay there. On close, focus moves back only if nothing outside the modal has taken it.
|
|
1892
1907
|
* @default false
|
|
1893
1908
|
*/
|
|
1894
1909
|
"disableInitialFocus": boolean;
|
|
@@ -1932,11 +1947,13 @@ export namespace Components {
|
|
|
1932
1947
|
"border": 'none' | 'both' | 'top' | 'bottom';
|
|
1933
1948
|
}
|
|
1934
1949
|
/**
|
|
1950
|
+
* Holds the modal's actions. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
1935
1951
|
* @lightDom renders-markup
|
|
1936
1952
|
*/
|
|
1937
1953
|
interface PdsModalFooter {
|
|
1938
1954
|
}
|
|
1939
1955
|
/**
|
|
1956
|
+
* Holds the modal's title and close control. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
1940
1957
|
* @lightDom renders-markup
|
|
1941
1958
|
*/
|
|
1942
1959
|
interface PdsModalHeader {
|
|
@@ -2187,8 +2204,8 @@ export namespace Components {
|
|
|
2187
2204
|
*/
|
|
2188
2205
|
"hide": () => Promise<void>;
|
|
2189
2206
|
/**
|
|
2190
|
-
* Sets the maximum width of the popover
|
|
2191
|
-
* @defaultValue
|
|
2207
|
+
* Sets the maximum width of the popover, in pixels, including its padding.
|
|
2208
|
+
* @defaultValue 400
|
|
2192
2209
|
*/
|
|
2193
2210
|
"maxWidth"?: number;
|
|
2194
2211
|
/**
|
|
@@ -2237,7 +2254,7 @@ export namespace Components {
|
|
|
2237
2254
|
"componentId": string;
|
|
2238
2255
|
/**
|
|
2239
2256
|
* 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).
|
|
2240
|
-
* @defaultValue 'var(--pine-color-
|
|
2257
|
+
* @defaultValue 'var(--pine-color-primary)'
|
|
2241
2258
|
*/
|
|
2242
2259
|
"fillColor": string;
|
|
2243
2260
|
/**
|
|
@@ -2245,7 +2262,7 @@ export namespace Components {
|
|
|
2245
2262
|
*/
|
|
2246
2263
|
"label": string;
|
|
2247
2264
|
/**
|
|
2248
|
-
* Sets the progress fill
|
|
2265
|
+
* Sets the progress fill percentage (0–100). Shown as text when `show-percent` is set.
|
|
2249
2266
|
* @defaultValue 0
|
|
2250
2267
|
*/
|
|
2251
2268
|
"percent": number;
|
|
@@ -2271,7 +2288,7 @@ export namespace Components {
|
|
|
2271
2288
|
*/
|
|
2272
2289
|
interface PdsRadio {
|
|
2273
2290
|
/**
|
|
2274
|
-
* Determines whether or not the radio is checked.
|
|
2291
|
+
* Determines whether or not the radio is checked. It keeps the value you set and doesn't change when the user picks a radio.
|
|
2275
2292
|
* @defaultValue false
|
|
2276
2293
|
*/
|
|
2277
2294
|
"checked": boolean;
|
|
@@ -2285,7 +2302,7 @@ export namespace Components {
|
|
|
2285
2302
|
*/
|
|
2286
2303
|
"disabled": boolean;
|
|
2287
2304
|
/**
|
|
2288
|
-
* Displays error message
|
|
2305
|
+
* Displays an error message below the radio. It becomes the radio's accessible description only while `invalid` is set.
|
|
2289
2306
|
*/
|
|
2290
2307
|
"errorMessage": string;
|
|
2291
2308
|
/**
|
|
@@ -2294,7 +2311,7 @@ export namespace Components {
|
|
|
2294
2311
|
*/
|
|
2295
2312
|
"hasBorder": boolean;
|
|
2296
2313
|
/**
|
|
2297
|
-
* Displays
|
|
2314
|
+
* Displays a message or hint below the radio.
|
|
2298
2315
|
*/
|
|
2299
2316
|
"helperMessage": string;
|
|
2300
2317
|
/**
|
|
@@ -2307,7 +2324,7 @@ export namespace Components {
|
|
|
2307
2324
|
*/
|
|
2308
2325
|
"invalid": boolean;
|
|
2309
2326
|
/**
|
|
2310
|
-
*
|
|
2327
|
+
* Text to be displayed as the radio label.
|
|
2311
2328
|
*/
|
|
2312
2329
|
"label": string;
|
|
2313
2330
|
/**
|
|
@@ -2348,7 +2365,7 @@ export namespace Components {
|
|
|
2348
2365
|
*/
|
|
2349
2366
|
"disabled": boolean;
|
|
2350
2367
|
/**
|
|
2351
|
-
* Displays error message
|
|
2368
|
+
* Displays an error message below the radio group. It's part of the group's accessible description, with or without `invalid`.
|
|
2352
2369
|
*/
|
|
2353
2370
|
"errorMessage": string;
|
|
2354
2371
|
/**
|
|
@@ -2357,11 +2374,11 @@ export namespace Components {
|
|
|
2357
2374
|
*/
|
|
2358
2375
|
"gap": string;
|
|
2359
2376
|
/**
|
|
2360
|
-
*
|
|
2377
|
+
* Text to be displayed as the radio group label. It also names the group, unless you set `aria-label` or `aria-labelledby` on it.
|
|
2361
2378
|
*/
|
|
2362
2379
|
"groupLabel": string;
|
|
2363
2380
|
/**
|
|
2364
|
-
* Displays
|
|
2381
|
+
* Displays a message or hint below the radio group.
|
|
2365
2382
|
*/
|
|
2366
2383
|
"helperMessage": string;
|
|
2367
2384
|
/**
|
|
@@ -2439,11 +2456,11 @@ export namespace Components {
|
|
|
2439
2456
|
*/
|
|
2440
2457
|
"disabled": boolean;
|
|
2441
2458
|
/**
|
|
2442
|
-
* Displays error message
|
|
2459
|
+
* Displays an error message below the select and marks the select as invalid, with or without `invalid`.
|
|
2443
2460
|
*/
|
|
2444
2461
|
"errorMessage": string;
|
|
2445
2462
|
/**
|
|
2446
|
-
* Displays
|
|
2463
|
+
* Displays a message or hint below the select.
|
|
2447
2464
|
*/
|
|
2448
2465
|
"helperMessage": string;
|
|
2449
2466
|
/**
|
|
@@ -2504,11 +2521,36 @@ export namespace Components {
|
|
|
2504
2521
|
* @default false
|
|
2505
2522
|
*/
|
|
2506
2523
|
"dividers": boolean;
|
|
2524
|
+
/**
|
|
2525
|
+
* Accessible label for each item's reorder handle, the button the keyboard reorders with. Pass a translated string to localize it; `{item}` is interpolated.
|
|
2526
|
+
* @defaultValue 'Reorder {item}'
|
|
2527
|
+
*/
|
|
2528
|
+
"handleLabel": string;
|
|
2507
2529
|
/**
|
|
2508
2530
|
* Determines the grabbable area for the `pds-sortable-item`.
|
|
2509
2531
|
* @default 'row'
|
|
2510
2532
|
*/
|
|
2511
2533
|
"handleType": 'handle' | 'row';
|
|
2534
|
+
/**
|
|
2535
|
+
* Screen-reader announcement when a picked-up item is dropped. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
2536
|
+
* @defaultValue '{item}, dropped at position {position} of {total}'
|
|
2537
|
+
*/
|
|
2538
|
+
"itemDroppedLabel": string;
|
|
2539
|
+
/**
|
|
2540
|
+
* Screen-reader announcement when a picked-up item is moved. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
2541
|
+
* @defaultValue '{item}, moved to position {position} of {total}'
|
|
2542
|
+
*/
|
|
2543
|
+
"itemMovedLabel": string;
|
|
2544
|
+
/**
|
|
2545
|
+
* Screen-reader announcement when an item is picked up from the keyboard. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
2546
|
+
* @defaultValue '{item}, picked up. Position {position} of {total}. Press the arrow keys to move, Space or Enter to drop, Escape to cancel.'
|
|
2547
|
+
*/
|
|
2548
|
+
"itemPickedUpLabel": string;
|
|
2549
|
+
/**
|
|
2550
|
+
* Screen-reader announcement when a keyboard reorder is canceled and the item goes back. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
2551
|
+
* @defaultValue 'Reorder canceled. {item} returned to position {position} of {total}'
|
|
2552
|
+
*/
|
|
2553
|
+
"reorderCanceledLabel": string;
|
|
2512
2554
|
}
|
|
2513
2555
|
/**
|
|
2514
2556
|
* @lightDom renders-markup
|
|
@@ -2524,7 +2566,11 @@ export namespace Components {
|
|
|
2524
2566
|
*/
|
|
2525
2567
|
"enableActions": boolean;
|
|
2526
2568
|
/**
|
|
2527
|
-
*
|
|
2569
|
+
* Name of the item in its reorder handle's label and in the reorder announcements. Pass a translated string to localize it; defaults to the item's text content.
|
|
2570
|
+
*/
|
|
2571
|
+
"itemLabel"?: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* Determines whether the reorder handle is shown. The handle itself renders whenever the list is reorderable, regardless of this prop; without it, the handle is visually hidden but still reachable from the keyboard.
|
|
2528
2574
|
* @defaultValue false
|
|
2529
2575
|
*/
|
|
2530
2576
|
"showHandle": boolean;
|
|
@@ -2566,7 +2612,7 @@ export namespace Components {
|
|
|
2566
2612
|
*/
|
|
2567
2613
|
"label": string;
|
|
2568
2614
|
/**
|
|
2569
|
-
*
|
|
2615
|
+
* Specifies the name. Submitted with the form name/value pair when checked, or with `unchecked-value` while unchecked.
|
|
2570
2616
|
*/
|
|
2571
2617
|
"name": string;
|
|
2572
2618
|
/**
|
|
@@ -2574,6 +2620,10 @@ export namespace Components {
|
|
|
2574
2620
|
* @default false
|
|
2575
2621
|
*/
|
|
2576
2622
|
"required"?: boolean;
|
|
2623
|
+
/**
|
|
2624
|
+
* Provides a string submitted in form data under `name` while the switch is unchecked. When unset, an unchecked switch submits nothing, like a native checkbox.
|
|
2625
|
+
*/
|
|
2626
|
+
"uncheckedValue"?: string;
|
|
2577
2627
|
/**
|
|
2578
2628
|
* Provides input with a string submitted in form data.
|
|
2579
2629
|
*/
|
|
@@ -2646,7 +2696,7 @@ export namespace Components {
|
|
|
2646
2696
|
*/
|
|
2647
2697
|
"disableSelectAll": boolean;
|
|
2648
2698
|
/**
|
|
2649
|
-
* Determines if the
|
|
2699
|
+
* Determines if the table displays a fixed first column.
|
|
2650
2700
|
*/
|
|
2651
2701
|
"fixedColumn": boolean;
|
|
2652
2702
|
/**
|
|
@@ -2662,6 +2712,11 @@ export namespace Components {
|
|
|
2662
2712
|
* Determines if the table displays checkboxes for selectable rows.
|
|
2663
2713
|
*/
|
|
2664
2714
|
"selectable": boolean;
|
|
2715
|
+
/**
|
|
2716
|
+
* Sets how the table sizes its columns. With `auto`, each column is sized from its content, so columns can change width when the rows change (for example after a sort). With `fixed`, columns take the `width` set on their `pds-table-head-cell` and ignore their content; columns without a `width` share the remaining space. Under `responsive`, that remaining share keeps a 120px floor on narrow viewports where the other columns' widths already fill it, growing the table instead (scrollable) -- without `responsive` there's no floor, since there would be nothing to scroll the overflow it would create. Content longer than its column overflows, so add `truncate` to cells whose content may not fit.
|
|
2717
|
+
* @defaultValue 'auto'
|
|
2718
|
+
*/
|
|
2719
|
+
"tableLayout": 'auto' | 'fixed';
|
|
2665
2720
|
}
|
|
2666
2721
|
interface PdsTableBody {
|
|
2667
2722
|
}
|
|
@@ -2670,6 +2725,10 @@ export namespace Components {
|
|
|
2670
2725
|
* Sets the text alignment within the cell.
|
|
2671
2726
|
*/
|
|
2672
2727
|
"cellAlign"?: 'start' | 'center' | 'end' | 'justify';
|
|
2728
|
+
/**
|
|
2729
|
+
* Re-binds the scroll listener to the table's current responsive container. Called by `pds-table` after a live `responsive` toggle: the cell stays in light DOM across that change, so it never reconnects on its own and would otherwise keep listening to a container the table already replaced or removed.
|
|
2730
|
+
*/
|
|
2731
|
+
"rebindScrollListener": () => Promise<void>;
|
|
2673
2732
|
/**
|
|
2674
2733
|
* Truncates content to a max width and adds an ellipsis. When text overflows, a tooltip showing the full text will appear on hover/focus. Note: While the content is overflowing, the cell receives tabindex="0" so the tooltip can be reached by keyboard. Content that fits is left out of the tab order.
|
|
2675
2734
|
*/
|
|
@@ -2691,7 +2750,7 @@ export namespace Components {
|
|
|
2691
2750
|
*/
|
|
2692
2751
|
"indeterminate"?: boolean;
|
|
2693
2752
|
/**
|
|
2694
|
-
* Determines if the
|
|
2753
|
+
* Determines if the select all checkbox is checked.
|
|
2695
2754
|
* @defaultValue false
|
|
2696
2755
|
*/
|
|
2697
2756
|
"isSelected": boolean;
|
|
@@ -2705,6 +2764,10 @@ export namespace Components {
|
|
|
2705
2764
|
* Clears the active sort state from this column. Used internally when another column becomes active.
|
|
2706
2765
|
*/
|
|
2707
2766
|
"clearActiveSort": () => Promise<void>;
|
|
2767
|
+
/**
|
|
2768
|
+
* Re-binds the scroll listener to the table's current responsive container. Called by `pds-table` after a live `responsive` toggle: the cell stays in light DOM across that change, so it never reconnects on its own and would otherwise keep listening to a container the table already replaced or removed.
|
|
2769
|
+
*/
|
|
2770
|
+
"rebindScrollListener": () => Promise<void>;
|
|
2708
2771
|
/**
|
|
2709
2772
|
* Programmatically sets this column as the active sort column with the specified direction. Used by pds-table to apply a default sort on initial load.
|
|
2710
2773
|
* @param direction - The sort direction to apply ('asc' or 'desc')
|
|
@@ -2714,6 +2777,10 @@ export namespace Components {
|
|
|
2714
2777
|
* Determines whether the table column is sortable when set to `true`.
|
|
2715
2778
|
*/
|
|
2716
2779
|
"sortable": boolean;
|
|
2780
|
+
/**
|
|
2781
|
+
* Sets the width of the column. Accepts any CSS length (e.g. '148px', '12rem', '20%'). When the table's `tableLayout` is `fixed`, the column keeps this width whatever its content. Otherwise the column is at least this wide and can grow to fit its content.
|
|
2782
|
+
*/
|
|
2783
|
+
"width"?: string;
|
|
2717
2784
|
}
|
|
2718
2785
|
interface PdsTableRow {
|
|
2719
2786
|
/**
|
|
@@ -2765,7 +2832,7 @@ export namespace Components {
|
|
|
2765
2832
|
*/
|
|
2766
2833
|
"nav"?: boolean;
|
|
2767
2834
|
/**
|
|
2768
|
-
* Stretches the component
|
|
2835
|
+
* Stretches the component to fill its container's height. The active tab panel keeps the height of its content. Requires the component to have a constrained height (e.g. a flex parent).
|
|
2769
2836
|
* @defaultValue false
|
|
2770
2837
|
*/
|
|
2771
2838
|
"stretch"?: boolean;
|
|
@@ -2848,7 +2915,7 @@ export namespace Components {
|
|
|
2848
2915
|
*/
|
|
2849
2916
|
"componentId": string;
|
|
2850
2917
|
/**
|
|
2851
|
-
*
|
|
2918
|
+
* Sets the number of milliseconds to wait after each input event before emitting `pdsInput`.
|
|
2852
2919
|
*/
|
|
2853
2920
|
"debounce"?: number;
|
|
2854
2921
|
/**
|
|
@@ -2857,7 +2924,7 @@ export namespace Components {
|
|
|
2857
2924
|
*/
|
|
2858
2925
|
"disabled": boolean;
|
|
2859
2926
|
/**
|
|
2860
|
-
* Displays an error message below the textarea
|
|
2927
|
+
* Displays an error message below the textarea while `invalid` is set.
|
|
2861
2928
|
*/
|
|
2862
2929
|
"errorMessage"?: string;
|
|
2863
2930
|
/**
|
|
@@ -2873,7 +2940,7 @@ export namespace Components {
|
|
|
2873
2940
|
*/
|
|
2874
2941
|
"highlight"?: boolean;
|
|
2875
2942
|
/**
|
|
2876
|
-
* Determines whether or not the textarea is invalid
|
|
2943
|
+
* Determines whether or not the textarea is invalid. When `required` is set, the textarea sets it itself each time `pdsTextareaChange` fires, replacing a value you set.
|
|
2877
2944
|
* @defaultValue false
|
|
2878
2945
|
*/
|
|
2879
2946
|
"invalid": boolean;
|
|
@@ -2886,7 +2953,7 @@ export namespace Components {
|
|
|
2886
2953
|
*/
|
|
2887
2954
|
"maxLength"?: number;
|
|
2888
2955
|
/**
|
|
2889
|
-
* Specifies the name. Submitted with the form name/value pair.
|
|
2956
|
+
* Specifies the name. Submitted with the form name/value pair.
|
|
2890
2957
|
* @default this.componentId
|
|
2891
2958
|
*/
|
|
2892
2959
|
"name": string;
|
|
@@ -2923,6 +2990,9 @@ export namespace Components {
|
|
|
2923
2990
|
* A unique identifier used for the underlying component `id` attribute.
|
|
2924
2991
|
*/
|
|
2925
2992
|
"componentId": string;
|
|
2993
|
+
/**
|
|
2994
|
+
* Dismisses the toast, as the dismiss button and `duration` do: plays the exit animation and emits `pdsToastDismissed`, and the toast gets `hidden` on the next render, after the event. Works even when `dismissible` is `false`. The toast stays in the DOM.
|
|
2995
|
+
*/
|
|
2926
2996
|
"dismiss": () => Promise<void>;
|
|
2927
2997
|
/**
|
|
2928
2998
|
* Accessible label for the dismiss button. Pass a translated string to localize it; defaults to English.
|
|
@@ -3049,6 +3119,10 @@ export interface PdsFilterCustomEvent<T> extends CustomEvent<T> {
|
|
|
3049
3119
|
detail: T;
|
|
3050
3120
|
target: HTMLPdsFilterElement;
|
|
3051
3121
|
}
|
|
3122
|
+
export interface PdsImageCustomEvent<T> extends CustomEvent<T> {
|
|
3123
|
+
detail: T;
|
|
3124
|
+
target: HTMLPdsImageElement;
|
|
3125
|
+
}
|
|
3052
3126
|
export interface PdsInputCustomEvent<T> extends CustomEvent<T> {
|
|
3053
3127
|
detail: T;
|
|
3054
3128
|
target: HTMLPdsInputElement;
|
|
@@ -3288,7 +3362,8 @@ declare global {
|
|
|
3288
3362
|
/**
|
|
3289
3363
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
3290
3364
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
3291
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
3365
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
3366
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
3292
3367
|
*/
|
|
3293
3368
|
interface HTMLPdsDatepickerElement extends Components.PdsDatepicker, HTMLStencilElement {
|
|
3294
3369
|
addEventListener<K extends keyof HTMLPdsDatepickerElementEventMap>(type: K, listener: (this: HTMLPdsDatepickerElement, ev: PdsDatepickerCustomEvent<HTMLPdsDatepickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3317,7 +3392,7 @@ declare global {
|
|
|
3317
3392
|
/**
|
|
3318
3393
|
* A side panel composed from `pds-modal`, non-modal by default.
|
|
3319
3394
|
* By default, unlike `pds-modal`, the page stays interactive while a drawer
|
|
3320
|
-
* is open: no dimming, no blur, no
|
|
3395
|
+
* is open: no dimming, no blur, no click blocking.
|
|
3321
3396
|
* `pds-drawer` renders a `pds-modal` internally with `disableTopLayer` on and
|
|
3322
3397
|
* its backdrop suppressed, and adds the edge, width and dismiss behavior a
|
|
3323
3398
|
* side panel needs on top. With `modal`, it opens that `pds-modal` in the top
|
|
@@ -3340,10 +3415,7 @@ declare global {
|
|
|
3340
3415
|
new (): HTMLPdsDrawerElement;
|
|
3341
3416
|
};
|
|
3342
3417
|
/**
|
|
3343
|
-
* Fills the
|
|
3344
|
-
* which caps itself against the viewport for a centered, possibly-shorter
|
|
3345
|
-
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
3346
|
-
* flex to fill whatever space the header and footer leave.
|
|
3418
|
+
* Fills the space between the drawer header and footer.
|
|
3347
3419
|
* @lightDom renders-markup
|
|
3348
3420
|
*/
|
|
3349
3421
|
interface HTMLPdsDrawerContentElement extends Components.PdsDrawerContent, HTMLStencilElement {
|
|
@@ -3353,6 +3425,7 @@ declare global {
|
|
|
3353
3425
|
new (): HTMLPdsDrawerContentElement;
|
|
3354
3426
|
};
|
|
3355
3427
|
/**
|
|
3428
|
+
* Holds the drawer's actions in a padded row aligned to the end, with a divider above.
|
|
3356
3429
|
* @lightDom renders-markup
|
|
3357
3430
|
*/
|
|
3358
3431
|
interface HTMLPdsDrawerFooterElement extends Components.PdsDrawerFooter, HTMLStencilElement {
|
|
@@ -3362,6 +3435,7 @@ declare global {
|
|
|
3362
3435
|
new (): HTMLPdsDrawerFooterElement;
|
|
3363
3436
|
};
|
|
3364
3437
|
/**
|
|
3438
|
+
* Holds the drawer's title and close control in a padded row, spaced apart, with a divider below.
|
|
3365
3439
|
* @lightDom renders-markup
|
|
3366
3440
|
*/
|
|
3367
3441
|
interface HTMLPdsDrawerHeaderElement extends Components.PdsDrawerHeader, HTMLStencilElement {
|
|
@@ -3405,10 +3479,8 @@ declare global {
|
|
|
3405
3479
|
"pdsFilterClear": PdsFilterClearEventDetail;
|
|
3406
3480
|
}
|
|
3407
3481
|
/**
|
|
3408
|
-
*
|
|
3409
|
-
*
|
|
3410
|
-
* - Modern browsers: CSS anchor positioning + JavaScript flip classes
|
|
3411
|
-
* - Fallback browsers: JavaScript positioning with viewport boundary detection
|
|
3482
|
+
* A single filter in `pds-filters`: a trigger button that opens a popover holding the filter controls.
|
|
3483
|
+
* The `clear` variant has no popover and emits `pdsFilterClear` instead.
|
|
3412
3484
|
*/
|
|
3413
3485
|
interface HTMLPdsFilterElement extends Components.PdsFilter, HTMLStencilElement {
|
|
3414
3486
|
addEventListener<K extends keyof HTMLPdsFilterElementEventMap>(type: K, listener: (this: HTMLPdsFilterElement, ev: PdsFilterCustomEvent<HTMLPdsFilterElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3430,7 +3502,19 @@ declare global {
|
|
|
3430
3502
|
prototype: HTMLPdsFiltersElement;
|
|
3431
3503
|
new (): HTMLPdsFiltersElement;
|
|
3432
3504
|
};
|
|
3505
|
+
interface HTMLPdsImageElementEventMap {
|
|
3506
|
+
"pdsImageLoad": ImageLoadEventDetail;
|
|
3507
|
+
"pdsImageError": ImageErrorEventDetail;
|
|
3508
|
+
}
|
|
3433
3509
|
interface HTMLPdsImageElement extends Components.PdsImage, HTMLStencilElement {
|
|
3510
|
+
addEventListener<K extends keyof HTMLPdsImageElementEventMap>(type: K, listener: (this: HTMLPdsImageElement, ev: PdsImageCustomEvent<HTMLPdsImageElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3511
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3512
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3513
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3514
|
+
removeEventListener<K extends keyof HTMLPdsImageElementEventMap>(type: K, listener: (this: HTMLPdsImageElement, ev: PdsImageCustomEvent<HTMLPdsImageElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3515
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3516
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3517
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3434
3518
|
}
|
|
3435
3519
|
var HTMLPdsImageElement: {
|
|
3436
3520
|
prototype: HTMLPdsImageElement;
|
|
@@ -3500,6 +3584,7 @@ declare global {
|
|
|
3500
3584
|
new (): HTMLPdsModalContentElement;
|
|
3501
3585
|
};
|
|
3502
3586
|
/**
|
|
3587
|
+
* Holds the modal's actions. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
3503
3588
|
* @lightDom renders-markup
|
|
3504
3589
|
*/
|
|
3505
3590
|
interface HTMLPdsModalFooterElement extends Components.PdsModalFooter, HTMLStencilElement {
|
|
@@ -3509,6 +3594,7 @@ declare global {
|
|
|
3509
3594
|
new (): HTMLPdsModalFooterElement;
|
|
3510
3595
|
};
|
|
3511
3596
|
/**
|
|
3597
|
+
* Holds the modal's title and close control. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
3512
3598
|
* @lightDom renders-markup
|
|
3513
3599
|
*/
|
|
3514
3600
|
interface HTMLPdsModalHeaderElement extends Components.PdsModalHeader, HTMLStencilElement {
|
|
@@ -4050,7 +4136,7 @@ declare namespace LocalJSX {
|
|
|
4050
4136
|
*/
|
|
4051
4137
|
"initials"?: string | null;
|
|
4052
4138
|
/**
|
|
4053
|
-
*
|
|
4139
|
+
* Sets the size of the avatar: `xs` (24px), `sm` (32px), `md` (40px), `lg` (56px), `xl` (64px), or a custom CSS length such as `128px`.
|
|
4054
4140
|
* @defaultValue lg
|
|
4055
4141
|
*/
|
|
4056
4142
|
"size"?: | 'xl' // 64px
|
|
@@ -4202,6 +4288,10 @@ declare namespace LocalJSX {
|
|
|
4202
4288
|
* @defaultValue none
|
|
4203
4289
|
*/
|
|
4204
4290
|
"borderRadius"?: `none` | `xs`| `sm` | `md` | `lg` | `circle`;
|
|
4291
|
+
/**
|
|
4292
|
+
* Makes the box a size container by setting `container-type`. `inline-size` stops the box's content from setting its width, so long unwrapped text truncates instead of widening it, and lets children use container query units. `size` does the same for both axes, so the box needs a height from somewhere else. Either way the box still needs its width from its parent, such as the default `flex-grow`, `flex="grow"` or `fit`; with `flex="none"` or `flex="shrink"`, or the `auto` prop, it collapses.
|
|
4293
|
+
*/
|
|
4294
|
+
"container"?: BoxContainerType;
|
|
4205
4295
|
/**
|
|
4206
4296
|
* Defines the orientation of the box items.
|
|
4207
4297
|
* @defaultValue row
|
|
@@ -4213,32 +4303,31 @@ declare namespace LocalJSX {
|
|
|
4213
4303
|
*/
|
|
4214
4304
|
"display"?: `flex` | `inline-flex` | `block` | `inline-block`;
|
|
4215
4305
|
/**
|
|
4216
|
-
* If `true`, sets the box `max-width` to `100
|
|
4306
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%`, so it fills its parent's width. A box in a `direction="column"` parent needs it when the parent sets `align-items`, and a box that isn't a flex item needs it to fill its container.
|
|
4217
4307
|
*/
|
|
4218
4308
|
"fit"?: boolean;
|
|
4219
4309
|
/**
|
|
4220
|
-
* If `true`, sets the box `max-width` to `100%` at the LG breakpoint.
|
|
4310
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the LG breakpoint.
|
|
4221
4311
|
*/
|
|
4222
4312
|
"fitLg"?: boolean;
|
|
4223
4313
|
/**
|
|
4224
|
-
* If `true`, sets the box `max-width` to `100%` at the MD breakpoint.
|
|
4314
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the MD breakpoint.
|
|
4225
4315
|
*/
|
|
4226
4316
|
"fitMd"?: boolean;
|
|
4227
4317
|
/**
|
|
4228
|
-
* If `true`, sets the box `max-width` to `100%` at the SM breakpoint.
|
|
4318
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the SM breakpoint.
|
|
4229
4319
|
*/
|
|
4230
4320
|
"fitSm"?: boolean;
|
|
4231
4321
|
/**
|
|
4232
|
-
* If `true`, sets the box `max-width` to `100%` at the XL breakpoint.
|
|
4322
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the XL breakpoint.
|
|
4233
4323
|
*/
|
|
4234
4324
|
"fitXl"?: boolean;
|
|
4235
4325
|
/**
|
|
4236
|
-
* If `true`, sets the box `max-width` to `100%` at the XS breakpoint.
|
|
4326
|
+
* If `true`, sets the box `width`, `min-width` and `max-width` to `100%` at the XS breakpoint.
|
|
4237
4327
|
*/
|
|
4238
4328
|
"fitXs"?: boolean;
|
|
4239
4329
|
/**
|
|
4240
|
-
* Defines how a box will grow or shrink to fit the space available in its container. Can be a predefined value
|
|
4241
|
-
* @defaultValue none
|
|
4330
|
+
* Defines how a box will grow or shrink to fit the space available in its container. Can be a predefined value or a custom flex value (e.g., '1', '0 1 auto'). The predefined values are `none` (`flex: 0 0 auto`), `grow` (`flex: 1 1 auto`) and `shrink` (`flex: 0 1 auto`). Without it, a box grows to share its row with its siblings (`flex-grow: 1; flex-basis: 0`).
|
|
4242
4331
|
*/
|
|
4243
4332
|
"flex"?: `none` | `grow` | `shrink` | string;
|
|
4244
4333
|
/**
|
|
@@ -4302,125 +4391,125 @@ declare namespace LocalJSX {
|
|
|
4302
4391
|
*/
|
|
4303
4392
|
"justifyContentXs"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
|
|
4304
4393
|
/**
|
|
4305
|
-
* Defines the box's outer bottom spacing.
|
|
4394
|
+
* Defines the box's outer bottom spacing. Accepts a spacing token or `auto`.
|
|
4306
4395
|
* @defaultValue none
|
|
4307
4396
|
*/
|
|
4308
|
-
"marginBlockEnd"?:
|
|
4397
|
+
"marginBlockEnd"?: BoxMarginType;
|
|
4309
4398
|
/**
|
|
4310
|
-
* Defines the box's outer bottom spacing at the LG breakpoint.
|
|
4399
|
+
* Defines the box's outer bottom spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
4311
4400
|
* @defaultValue none
|
|
4312
4401
|
*/
|
|
4313
|
-
"marginBlockEndLg"?:
|
|
4402
|
+
"marginBlockEndLg"?: BoxMarginType;
|
|
4314
4403
|
/**
|
|
4315
|
-
* Defines the box's outer bottom spacing at the MD breakpoint.
|
|
4404
|
+
* Defines the box's outer bottom spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
4316
4405
|
* @defaultValue none
|
|
4317
4406
|
*/
|
|
4318
|
-
"marginBlockEndMd"?:
|
|
4407
|
+
"marginBlockEndMd"?: BoxMarginType;
|
|
4319
4408
|
/**
|
|
4320
|
-
* Defines the box's outer bottom spacing at the SM breakpoint.
|
|
4409
|
+
* Defines the box's outer bottom spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
4321
4410
|
* @defaultValue none
|
|
4322
4411
|
*/
|
|
4323
|
-
"marginBlockEndSm"?:
|
|
4412
|
+
"marginBlockEndSm"?: BoxMarginType;
|
|
4324
4413
|
/**
|
|
4325
|
-
* Defines the box's outer bottom spacing at the XL breakpoint.
|
|
4414
|
+
* Defines the box's outer bottom spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
4326
4415
|
* @defaultValue none
|
|
4327
4416
|
*/
|
|
4328
|
-
"marginBlockEndXl"?:
|
|
4417
|
+
"marginBlockEndXl"?: BoxMarginType;
|
|
4329
4418
|
/**
|
|
4330
|
-
* Defines the box's outer bottom spacing at the XS breakpoint.
|
|
4419
|
+
* Defines the box's outer bottom spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
4331
4420
|
* @defaultValue none
|
|
4332
4421
|
*/
|
|
4333
|
-
"marginBlockEndXs"?:
|
|
4422
|
+
"marginBlockEndXs"?: BoxMarginType;
|
|
4334
4423
|
/**
|
|
4335
|
-
* Defines the box's outer top spacing.
|
|
4424
|
+
* Defines the box's outer top spacing. Accepts a spacing token or `auto`.
|
|
4336
4425
|
* @defaultValue none
|
|
4337
4426
|
*/
|
|
4338
|
-
"marginBlockStart"?:
|
|
4427
|
+
"marginBlockStart"?: BoxMarginType;
|
|
4339
4428
|
/**
|
|
4340
|
-
* Defines the box's outer top spacing at the LG breakpoint.
|
|
4429
|
+
* Defines the box's outer top spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
4341
4430
|
* @defaultValue none
|
|
4342
4431
|
*/
|
|
4343
|
-
"marginBlockStartLg"?:
|
|
4432
|
+
"marginBlockStartLg"?: BoxMarginType;
|
|
4344
4433
|
/**
|
|
4345
|
-
* Defines the box's outer top spacing at the MD breakpoint.
|
|
4434
|
+
* Defines the box's outer top spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
4346
4435
|
* @defaultValue none
|
|
4347
4436
|
*/
|
|
4348
|
-
"marginBlockStartMd"?:
|
|
4437
|
+
"marginBlockStartMd"?: BoxMarginType;
|
|
4349
4438
|
/**
|
|
4350
|
-
* Defines the box's outer top spacing at the SM breakpoint.
|
|
4439
|
+
* Defines the box's outer top spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
4351
4440
|
* @defaultValue none
|
|
4352
4441
|
*/
|
|
4353
|
-
"marginBlockStartSm"?:
|
|
4442
|
+
"marginBlockStartSm"?: BoxMarginType;
|
|
4354
4443
|
/**
|
|
4355
|
-
* Defines the box's outer top spacing at the XL breakpoint.
|
|
4444
|
+
* Defines the box's outer top spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
4356
4445
|
* @defaultValue none
|
|
4357
4446
|
*/
|
|
4358
|
-
"marginBlockStartXl"?:
|
|
4447
|
+
"marginBlockStartXl"?: BoxMarginType;
|
|
4359
4448
|
/**
|
|
4360
|
-
* Defines the box's outer top spacing at the XS breakpoint.
|
|
4449
|
+
* Defines the box's outer top spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
4361
4450
|
* @defaultValue none
|
|
4362
4451
|
*/
|
|
4363
|
-
"marginBlockStartXs"?:
|
|
4452
|
+
"marginBlockStartXs"?: BoxMarginType;
|
|
4364
4453
|
/**
|
|
4365
|
-
* Defines the box's outer right spacing.
|
|
4454
|
+
* Defines the box's outer right spacing. Accepts a spacing token or `auto`.
|
|
4366
4455
|
* @defaultValue none
|
|
4367
4456
|
*/
|
|
4368
|
-
"marginInlineEnd"?:
|
|
4457
|
+
"marginInlineEnd"?: BoxMarginType;
|
|
4369
4458
|
/**
|
|
4370
|
-
* Defines the box's outer right spacing at the LG breakpoint.
|
|
4459
|
+
* Defines the box's outer right spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
4371
4460
|
* @defaultValue none
|
|
4372
4461
|
*/
|
|
4373
|
-
"marginInlineEndLg"?:
|
|
4462
|
+
"marginInlineEndLg"?: BoxMarginType;
|
|
4374
4463
|
/**
|
|
4375
|
-
* Defines the box's outer right spacing at the MD breakpoint.
|
|
4464
|
+
* Defines the box's outer right spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
4376
4465
|
* @defaultValue none
|
|
4377
4466
|
*/
|
|
4378
|
-
"marginInlineEndMd"?:
|
|
4467
|
+
"marginInlineEndMd"?: BoxMarginType;
|
|
4379
4468
|
/**
|
|
4380
|
-
* Defines the box's outer right spacing at the SM breakpoint.
|
|
4469
|
+
* Defines the box's outer right spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
4381
4470
|
* @defaultValue none
|
|
4382
4471
|
*/
|
|
4383
|
-
"marginInlineEndSm"?:
|
|
4472
|
+
"marginInlineEndSm"?: BoxMarginType;
|
|
4384
4473
|
/**
|
|
4385
|
-
* Defines the box's outer right spacing at the XL breakpoint.
|
|
4474
|
+
* Defines the box's outer right spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
4386
4475
|
* @defaultValue none
|
|
4387
4476
|
*/
|
|
4388
|
-
"marginInlineEndXl"?:
|
|
4477
|
+
"marginInlineEndXl"?: BoxMarginType;
|
|
4389
4478
|
/**
|
|
4390
|
-
* Defines the box's outer right spacing at the XS breakpoint.
|
|
4479
|
+
* Defines the box's outer right spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
4391
4480
|
* @defaultValue none
|
|
4392
4481
|
*/
|
|
4393
|
-
"marginInlineEndXs"?:
|
|
4482
|
+
"marginInlineEndXs"?: BoxMarginType;
|
|
4394
4483
|
/**
|
|
4395
|
-
* Defines the box's outer left spacing.
|
|
4484
|
+
* Defines the box's outer left spacing. Accepts a spacing token or `auto`.
|
|
4396
4485
|
* @defaultValue none
|
|
4397
4486
|
*/
|
|
4398
|
-
"marginInlineStart"?:
|
|
4487
|
+
"marginInlineStart"?: BoxMarginType;
|
|
4399
4488
|
/**
|
|
4400
|
-
* Defines the box's outer left spacing at the LG breakpoint.
|
|
4489
|
+
* Defines the box's outer left spacing at the LG breakpoint. Accepts a spacing token or `auto`.
|
|
4401
4490
|
* @defaultValue none
|
|
4402
4491
|
*/
|
|
4403
|
-
"marginInlineStartLg"?:
|
|
4492
|
+
"marginInlineStartLg"?: BoxMarginType;
|
|
4404
4493
|
/**
|
|
4405
|
-
* Defines the box's outer left spacing at the MD breakpoint.
|
|
4494
|
+
* Defines the box's outer left spacing at the MD breakpoint. Accepts a spacing token or `auto`.
|
|
4406
4495
|
* @defaultValue none
|
|
4407
4496
|
*/
|
|
4408
|
-
"marginInlineStartMd"?:
|
|
4497
|
+
"marginInlineStartMd"?: BoxMarginType;
|
|
4409
4498
|
/**
|
|
4410
|
-
* Defines the box's outer left spacing at the SM breakpoint.
|
|
4499
|
+
* Defines the box's outer left spacing at the SM breakpoint. Accepts a spacing token or `auto`.
|
|
4411
4500
|
* @defaultValue none
|
|
4412
4501
|
*/
|
|
4413
|
-
"marginInlineStartSm"?:
|
|
4502
|
+
"marginInlineStartSm"?: BoxMarginType;
|
|
4414
4503
|
/**
|
|
4415
|
-
* Defines the box's outer left spacing at the XL breakpoint.
|
|
4504
|
+
* Defines the box's outer left spacing at the XL breakpoint. Accepts a spacing token or `auto`.
|
|
4416
4505
|
* @defaultValue none
|
|
4417
4506
|
*/
|
|
4418
|
-
"marginInlineStartXl"?:
|
|
4507
|
+
"marginInlineStartXl"?: BoxMarginType;
|
|
4419
4508
|
/**
|
|
4420
|
-
* Defines the box's outer left spacing at the XS breakpoint.
|
|
4509
|
+
* Defines the box's outer left spacing at the XS breakpoint. Accepts a spacing token or `auto`.
|
|
4421
4510
|
* @defaultValue none
|
|
4422
4511
|
*/
|
|
4423
|
-
"marginInlineStartXs"?:
|
|
4512
|
+
"marginInlineStartXs"?: BoxMarginType;
|
|
4424
4513
|
/**
|
|
4425
4514
|
* The minimum height of the row. Used in conjunction with alignment props
|
|
4426
4515
|
*/
|
|
@@ -4683,7 +4772,7 @@ declare namespace LocalJSX {
|
|
|
4683
4772
|
*/
|
|
4684
4773
|
"fullWidth"?: boolean;
|
|
4685
4774
|
/**
|
|
4686
|
-
* If provided, renders the component as an anchor (`<a>`) element instead of a button. When using href,
|
|
4775
|
+
* If provided, renders the component as an anchor (`<a>`) element instead of a button. When using href, `type`, `name` and `value` are ignored, `loading` blocks navigation, and `disabled` removes the link's `href`.
|
|
4687
4776
|
*/
|
|
4688
4777
|
"href"?: string;
|
|
4689
4778
|
/**
|
|
@@ -4703,9 +4792,12 @@ declare namespace LocalJSX {
|
|
|
4703
4792
|
*/
|
|
4704
4793
|
"loading"?: boolean;
|
|
4705
4794
|
/**
|
|
4706
|
-
*
|
|
4795
|
+
* Sets the `name` attribute of the inner button. Not included in submitted form data, because the form is submitted through a hidden button that carries only the `type`.
|
|
4707
4796
|
*/
|
|
4708
4797
|
"name"?: string;
|
|
4798
|
+
/**
|
|
4799
|
+
* Emitted when the button is clicked, including from the keyboard, carrying the native click event. Not emitted while the button is `disabled` or `loading`. In a form, a `submit` or `reset` button's `submit` or `reset` event fires before this one. A form that fails validation fires no `submit` event.
|
|
4800
|
+
*/
|
|
4709
4801
|
"onPdsClick"?: (event: PdsButtonCustomEvent<Event>) => void;
|
|
4710
4802
|
/**
|
|
4711
4803
|
* Sets the size of the button.
|
|
@@ -4722,7 +4814,7 @@ declare namespace LocalJSX {
|
|
|
4722
4814
|
*/
|
|
4723
4815
|
"type"?: 'button' | 'reset' | 'submit';
|
|
4724
4816
|
/**
|
|
4725
|
-
*
|
|
4817
|
+
* Sets the `value` attribute of the inner button. Not included in submitted form data, because the form is submitted through a hidden button that carries only the `type`.
|
|
4726
4818
|
*/
|
|
4727
4819
|
"value"?: string;
|
|
4728
4820
|
/**
|
|
@@ -4746,7 +4838,7 @@ declare namespace LocalJSX {
|
|
|
4746
4838
|
*/
|
|
4747
4839
|
"disabled"?: boolean;
|
|
4748
4840
|
/**
|
|
4749
|
-
* Displays message
|
|
4841
|
+
* Displays an error message below the checkbox. It becomes the checkbox's accessible description only while `invalid` is set.
|
|
4750
4842
|
*/
|
|
4751
4843
|
"errorMessage"?: string;
|
|
4752
4844
|
/**
|
|
@@ -4754,7 +4846,7 @@ declare namespace LocalJSX {
|
|
|
4754
4846
|
*/
|
|
4755
4847
|
"form"?: string;
|
|
4756
4848
|
/**
|
|
4757
|
-
*
|
|
4849
|
+
* Displays a message or hint below the checkbox.
|
|
4758
4850
|
*/
|
|
4759
4851
|
"helperMessage"?: string;
|
|
4760
4852
|
/**
|
|
@@ -4762,15 +4854,15 @@ declare namespace LocalJSX {
|
|
|
4762
4854
|
*/
|
|
4763
4855
|
"hideLabel"?: boolean;
|
|
4764
4856
|
/**
|
|
4765
|
-
*
|
|
4857
|
+
* Shows the checkbox as indeterminate, for a checkbox whose group is only partly selected. It's exposed to screen readers as mixed. Changing `checked` clears it. Has no visual style when `variant` is `pill`.
|
|
4766
4858
|
*/
|
|
4767
4859
|
"indeterminate"?: boolean;
|
|
4768
4860
|
/**
|
|
4769
|
-
*
|
|
4861
|
+
* Determines whether or not the checkbox is invalid.
|
|
4770
4862
|
*/
|
|
4771
4863
|
"invalid"?: boolean;
|
|
4772
4864
|
/**
|
|
4773
|
-
*
|
|
4865
|
+
* Text to be displayed as the checkbox label.
|
|
4774
4866
|
*/
|
|
4775
4867
|
"label"?: string;
|
|
4776
4868
|
/**
|
|
@@ -4778,9 +4870,12 @@ declare namespace LocalJSX {
|
|
|
4778
4870
|
*/
|
|
4779
4871
|
"name"?: string;
|
|
4780
4872
|
/**
|
|
4781
|
-
*
|
|
4873
|
+
* Emitted when the user toggles the checkbox, by a click or `Space`, carrying the `value` and the new `checked` state. This event will not emit when programmatically setting the `checked` property.
|
|
4782
4874
|
*/
|
|
4783
4875
|
"onPdsCheckboxChange"?: (event: PdsCheckboxCustomEvent<CheckboxChangeEventDetail>) => void;
|
|
4876
|
+
/**
|
|
4877
|
+
* Emitted when the user toggles the checkbox, just before `pdsCheckboxChange`, carrying the `value` and `checked`. `checked` is still the state from before the toggle, so read the new state from `pdsCheckboxChange`. This event will not emit when programmatically setting the `checked` property.
|
|
4878
|
+
*/
|
|
4784
4879
|
"onPdsCheckboxInput"?: (event: PdsCheckboxCustomEvent<CheckboxChangeEventDetail>) => void;
|
|
4785
4880
|
/**
|
|
4786
4881
|
* It determines whether or not the checkbox is required.
|
|
@@ -4832,7 +4927,7 @@ declare namespace LocalJSX {
|
|
|
4832
4927
|
*/
|
|
4833
4928
|
"onPdsTagCloseClick"?: (event: PdsChipCustomEvent<void>) => void;
|
|
4834
4929
|
/**
|
|
4835
|
-
* HTTP method to use for the remove action.
|
|
4930
|
+
* HTTP method to use for the remove action. Maps to the `data-method` and `data-turbo-method` attributes on the remove link, for frameworks that read link methods from them. Only applies when removeUrl is provided.
|
|
4836
4931
|
*/
|
|
4837
4932
|
"removeHttpMethod"?: 'get' | 'post' | 'put' | 'patch' | 'delete';
|
|
4838
4933
|
/**
|
|
@@ -4928,8 +5023,7 @@ declare namespace LocalJSX {
|
|
|
4928
5023
|
*/
|
|
4929
5024
|
"dropdownPlacement"?: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
4930
5025
|
/**
|
|
4931
|
-
* Width of the dropdown. Any valid CSS width value.
|
|
4932
|
-
* @default '236px'
|
|
5026
|
+
* Width of the dropdown, including its padding. Any valid CSS width value. Without it, the dropdown is 252px wide, 244px with grouped options and 236px with a panel search.
|
|
4933
5027
|
*/
|
|
4934
5028
|
"dropdownWidth"?: string;
|
|
4935
5029
|
/**
|
|
@@ -4942,13 +5036,13 @@ declare namespace LocalJSX {
|
|
|
4942
5036
|
*/
|
|
4943
5037
|
"fetchTimeout"?: number;
|
|
4944
5038
|
/**
|
|
4945
|
-
* Maximum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value.
|
|
4946
|
-
* @default '
|
|
5039
|
+
* Maximum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value, including its padding.
|
|
5040
|
+
* @default '388px'
|
|
4947
5041
|
*/
|
|
4948
5042
|
"flyoutMaxWidth"?: string;
|
|
4949
5043
|
/**
|
|
4950
|
-
* Minimum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value. The flyout is as wide as its options, between this and `flyout-max-width`.
|
|
4951
|
-
* @default '
|
|
5044
|
+
* Minimum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value, including its padding. The flyout is as wide as its options, between this and `flyout-max-width`.
|
|
5045
|
+
* @default '288px'
|
|
4952
5046
|
*/
|
|
4953
5047
|
"flyoutMinWidth"?: string;
|
|
4954
5048
|
/**
|
|
@@ -5065,7 +5159,7 @@ declare namespace LocalJSX {
|
|
|
5065
5159
|
*/
|
|
5066
5160
|
"truncate"?: boolean;
|
|
5067
5161
|
/**
|
|
5068
|
-
* The value of the
|
|
5162
|
+
* The `value` of the selected option.
|
|
5069
5163
|
* @default ''
|
|
5070
5164
|
*/
|
|
5071
5165
|
"value"?: string;
|
|
@@ -5102,7 +5196,7 @@ declare namespace LocalJSX {
|
|
|
5102
5196
|
*/
|
|
5103
5197
|
"fullWidth"?: boolean;
|
|
5104
5198
|
/**
|
|
5105
|
-
*
|
|
5199
|
+
* Emitted after a click, once the copy to the clipboard succeeds or fails. `detail` is `Copied to clipboard` on success, or `Error writing text to clipboard: ` followed by the error on failure. Not emitted when `navigator.clipboard` is undefined, as it is outside a secure context.
|
|
5106
5200
|
*/
|
|
5107
5201
|
"onPdsCopyTextClick"?: (event: PdsCopytextCustomEvent<string>) => void;
|
|
5108
5202
|
/**
|
|
@@ -5118,7 +5212,8 @@ declare namespace LocalJSX {
|
|
|
5118
5212
|
/**
|
|
5119
5213
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
5120
5214
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
5121
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
5215
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
5216
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
5122
5217
|
*/
|
|
5123
5218
|
interface PdsDatepicker {
|
|
5124
5219
|
/**
|
|
@@ -5177,7 +5272,7 @@ declare namespace LocalJSX {
|
|
|
5177
5272
|
*/
|
|
5178
5273
|
"form"?: string;
|
|
5179
5274
|
/**
|
|
5180
|
-
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`), whatever the format. Typed ISO dates are always accepted too.
|
|
5275
|
+
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`; `--MM-DD` with `month-day`), whatever the format. Typed ISO dates are always accepted too. With `month-day`, a format without `YYYY` is taken as a month-and-day format and used as given, rather than reordered for the locale; leave it unset to follow the locale instead.
|
|
5181
5276
|
* @default 'YYYY-MM-DD'
|
|
5182
5277
|
*/
|
|
5183
5278
|
"format"?: string;
|
|
@@ -5243,6 +5338,11 @@ declare namespace LocalJSX {
|
|
|
5243
5338
|
* @default 'Minute'
|
|
5244
5339
|
*/
|
|
5245
5340
|
"minuteLabel"?: string;
|
|
5341
|
+
/**
|
|
5342
|
+
* Picks a month and day with no year, for a date that comes round every year, such as a birthday. The value is `--MM-DD` (ISO 8601 without a year), the field shows the date as the locale writes a month and day, and the calendar shows each month without a year or weekdays, with February always having its 29th. Turns off `range`, `time-picker`, `show-dropdowns`, `min` and `max`, and has no effect with `auto-apply`, `presets`, `first-day-of-week`, `min-date-message` or `max-date-message`, which all depend on them.
|
|
5343
|
+
* @default false
|
|
5344
|
+
*/
|
|
5345
|
+
"monthDay"?: boolean;
|
|
5246
5346
|
/**
|
|
5247
5347
|
* Accessible label for the month dropdown, when `show-dropdowns` is set.
|
|
5248
5348
|
* @default 'Month'
|
|
@@ -5275,7 +5375,7 @@ declare namespace LocalJSX {
|
|
|
5275
5375
|
*/
|
|
5276
5376
|
"periodLabel"?: string;
|
|
5277
5377
|
/**
|
|
5278
|
-
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`.
|
|
5378
|
+
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`; with `month-day`, to an example date instead, such as `December 31`.
|
|
5279
5379
|
*/
|
|
5280
5380
|
"placeholder"?: string;
|
|
5281
5381
|
/**
|
|
@@ -5284,7 +5384,7 @@ declare namespace LocalJSX {
|
|
|
5284
5384
|
*/
|
|
5285
5385
|
"placement"?: PlacementType;
|
|
5286
5386
|
/**
|
|
5287
|
-
* Ranges listed beside the calendar in range mode. A comma-separated list of built-in keys (`today`, `yesterday`, `last-7-days`, `last-30-days`, `last-90-days`, `this-month`, `last-month`, `this-quarter`, `last-quarter`, `this-year`, `last-year`, `year-to-date`, `last-12-months`), or an array of `{ key, label?, start?, end? }` to relabel built-ins or add your own.
|
|
5387
|
+
* Ranges listed beside the calendar in range mode. A comma-separated list of built-in keys (`today`, `yesterday`, `last-7-days`, `last-30-days`, `last-90-days`, `this-month`, `last-month`, `this-quarter`, `last-quarter`, `this-year`, `last-year`, `year-to-date`, `last-12-months`), or an array of `{ key, label?, startOffset?, endOffset?, start?, end? }` to relabel built-ins or add your own: `startOffset` and `endOffset` follow today, `start` and `end` are fixed days.
|
|
5288
5388
|
*/
|
|
5289
5389
|
"presets"?: string | DatepickerPreset[];
|
|
5290
5390
|
/**
|
|
@@ -5336,7 +5436,7 @@ declare namespace LocalJSX {
|
|
|
5336
5436
|
*/
|
|
5337
5437
|
"triggerLabel"?: string;
|
|
5338
5438
|
/**
|
|
5339
|
-
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm
|
|
5439
|
+
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm`; with `month-day`, the month and day with no year, as `--MM-DD` (a full date is read too, as that month and day, and rewritten to it). An empty string when nothing is selected.
|
|
5340
5440
|
* @default ''
|
|
5341
5441
|
*/
|
|
5342
5442
|
"value"?: string;
|
|
@@ -5368,7 +5468,7 @@ declare namespace LocalJSX {
|
|
|
5368
5468
|
/**
|
|
5369
5469
|
* A side panel composed from `pds-modal`, non-modal by default.
|
|
5370
5470
|
* By default, unlike `pds-modal`, the page stays interactive while a drawer
|
|
5371
|
-
* is open: no dimming, no blur, no
|
|
5471
|
+
* is open: no dimming, no blur, no click blocking.
|
|
5372
5472
|
* `pds-drawer` renders a `pds-modal` internally with `disableTopLayer` on and
|
|
5373
5473
|
* its backdrop suppressed, and adds the edge, width and dismiss behavior a
|
|
5374
5474
|
* side panel needs on top. With `modal`, it opens that `pds-modal` in the top
|
|
@@ -5387,7 +5487,7 @@ declare namespace LocalJSX {
|
|
|
5387
5487
|
*/
|
|
5388
5488
|
"initialFocus"?: 'auto' | 'none';
|
|
5389
5489
|
/**
|
|
5390
|
-
* Whether the drawer can be dismissed with a pointerdown outside it (in a `modal` drawer, a click on its backdrop).
|
|
5490
|
+
* Whether the drawer can be dismissed with a pointerdown outside it (in a `modal` drawer, a click on its backdrop). Setting it to `false` also turns off Escape, so the close button is the only way out. A trigger outside the drawer should only ever set `open` to `true` and leave closing to the drawer itself. A toggle-style trigger (`open = !open`) fights light dismiss: clicking it while open closes the drawer on `pointerdown`, then the trigger's own click handler re-opens it.
|
|
5391
5491
|
* @default true
|
|
5392
5492
|
*/
|
|
5393
5493
|
"lightDismiss"?: boolean;
|
|
@@ -5415,7 +5515,7 @@ declare namespace LocalJSX {
|
|
|
5415
5515
|
*/
|
|
5416
5516
|
"scrollable"?: boolean;
|
|
5417
5517
|
/**
|
|
5418
|
-
* Which edge of the viewport the drawer is docked to. Logical
|
|
5518
|
+
* Which edge of the viewport the drawer is docked to. Logical: `end` is the inline-end edge, so an `end` drawer docks on the left in right-to-left layouts.
|
|
5419
5519
|
* @default 'end'
|
|
5420
5520
|
*/
|
|
5421
5521
|
"side"?: 'start' | 'end';
|
|
@@ -5426,20 +5526,19 @@ declare namespace LocalJSX {
|
|
|
5426
5526
|
"size"?: 'sm' | 'md';
|
|
5427
5527
|
}
|
|
5428
5528
|
/**
|
|
5429
|
-
* Fills the
|
|
5430
|
-
* which caps itself against the viewport for a centered, possibly-shorter
|
|
5431
|
-
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
5432
|
-
* flex to fill whatever space the header and footer leave.
|
|
5529
|
+
* Fills the space between the drawer header and footer.
|
|
5433
5530
|
* @lightDom renders-markup
|
|
5434
5531
|
*/
|
|
5435
5532
|
interface PdsDrawerContent {
|
|
5436
5533
|
}
|
|
5437
5534
|
/**
|
|
5535
|
+
* Holds the drawer's actions in a padded row aligned to the end, with a divider above.
|
|
5438
5536
|
* @lightDom renders-markup
|
|
5439
5537
|
*/
|
|
5440
5538
|
interface PdsDrawerFooter {
|
|
5441
5539
|
}
|
|
5442
5540
|
/**
|
|
5541
|
+
* Holds the drawer's title and close control in a padded row, spaced apart, with a divider below.
|
|
5443
5542
|
* @lightDom renders-markup
|
|
5444
5543
|
*/
|
|
5445
5544
|
interface PdsDrawerHeader {
|
|
@@ -5461,12 +5560,12 @@ declare namespace LocalJSX {
|
|
|
5461
5560
|
*/
|
|
5462
5561
|
"componentId"?: string;
|
|
5463
5562
|
/**
|
|
5464
|
-
*
|
|
5563
|
+
* Determines whether or not the dropdown menu item is destructive.
|
|
5465
5564
|
* @defaultValue false
|
|
5466
5565
|
*/
|
|
5467
5566
|
"destructive"?: boolean;
|
|
5468
5567
|
/**
|
|
5469
|
-
*
|
|
5568
|
+
* Determines whether or not the dropdown menu item is disabled.
|
|
5470
5569
|
* @defaultValue false
|
|
5471
5570
|
*/
|
|
5472
5571
|
"disabled"?: boolean;
|
|
@@ -5475,30 +5574,30 @@ declare namespace LocalJSX {
|
|
|
5475
5574
|
*/
|
|
5476
5575
|
"download"?: string;
|
|
5477
5576
|
/**
|
|
5478
|
-
*
|
|
5577
|
+
* Shows the external-link (launch) icon. Opens in a new tab unless `target` says otherwise. Only applies when href is set. Ignored when `informational` is set.
|
|
5479
5578
|
* @defaultValue false
|
|
5480
5579
|
*/
|
|
5481
5580
|
"external"?: boolean;
|
|
5482
5581
|
/**
|
|
5483
|
-
* Accessible label for the external
|
|
5582
|
+
* Accessible label for the icon that `external` shows, passed to the inner `pds-link` and appended to the item's name. It isn't announced when `target` is anything other than `_blank`. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
5484
5583
|
* @defaultValue '(opens in a new tab)'
|
|
5485
5584
|
*/
|
|
5486
5585
|
"externalLabel"?: string;
|
|
5487
5586
|
/**
|
|
5488
|
-
* If provided, renders the dropdown
|
|
5587
|
+
* If provided, renders the dropdown menu item as an anchor (`<a>`) element instead of a button. Ignored when `informational` is set.
|
|
5489
5588
|
*/
|
|
5490
5589
|
"href"?: string | undefined;
|
|
5491
5590
|
/**
|
|
5492
|
-
*
|
|
5591
|
+
* Determines whether or not the dropdown menu item is informational: text that the arrow keys reach but that can't be activated. Takes precedence over `href` and `destructive`. Screen readers announce it as dimmed or unavailable, the same way as a disabled item.
|
|
5493
5592
|
* @defaultValue false
|
|
5494
5593
|
*/
|
|
5495
5594
|
"informational"?: boolean;
|
|
5496
5595
|
/**
|
|
5497
|
-
* Emitted when the dropdown
|
|
5596
|
+
* Emitted when the dropdown menu item is clicked.
|
|
5498
5597
|
*/
|
|
5499
5598
|
"onPdsClick"?: (event: PdsDropdownMenuItemCustomEvent<{itemIndex: number, item: HTMLPdsDropdownMenuItemElement, content: string}>) => void;
|
|
5500
5599
|
/**
|
|
5501
|
-
* Specifies where to open the linked document when href is provided.
|
|
5600
|
+
* Specifies where to open the linked document when href is provided. Overrides the new-tab default of `external`; the icon still shows. Only applies when href is set. Ignored when `informational` is set.
|
|
5502
5601
|
* @defaultValue undefined
|
|
5503
5602
|
*/
|
|
5504
5603
|
"target"?: '_blank' | '_self' | '_parent' | '_top';
|
|
@@ -5509,16 +5608,14 @@ declare namespace LocalJSX {
|
|
|
5509
5608
|
*/
|
|
5510
5609
|
"componentId"?: string;
|
|
5511
5610
|
/**
|
|
5512
|
-
*
|
|
5611
|
+
* Has no effect. A separator can't be focused or activated.
|
|
5513
5612
|
* @defaultValue false
|
|
5514
5613
|
*/
|
|
5515
5614
|
"disabled"?: boolean;
|
|
5516
5615
|
}
|
|
5517
5616
|
/**
|
|
5518
|
-
*
|
|
5519
|
-
*
|
|
5520
|
-
* - Modern browsers: CSS anchor positioning + JavaScript flip classes
|
|
5521
|
-
* - Fallback browsers: JavaScript positioning with viewport boundary detection
|
|
5617
|
+
* A single filter in `pds-filters`: a trigger button that opens a popover holding the filter controls.
|
|
5618
|
+
* The `clear` variant has no popover and emits `pdsFilterClear` instead.
|
|
5522
5619
|
*/
|
|
5523
5620
|
interface PdsFilter {
|
|
5524
5621
|
/**
|
|
@@ -5542,7 +5639,7 @@ declare namespace LocalJSX {
|
|
|
5542
5639
|
*/
|
|
5543
5640
|
"onPdsFilterOpen"?: (event: PdsFilterCustomEvent<PdsFilterOpenEventDetail>) => void;
|
|
5544
5641
|
/**
|
|
5545
|
-
* The text content displayed in the trigger button.
|
|
5642
|
+
* The text content displayed in the trigger button. When text overflows, a tooltip showing the full text will appear on hover/focus.
|
|
5546
5643
|
*/
|
|
5547
5644
|
"text"?: string;
|
|
5548
5645
|
/**
|
|
@@ -5559,7 +5656,7 @@ declare namespace LocalJSX {
|
|
|
5559
5656
|
}
|
|
5560
5657
|
interface PdsImage {
|
|
5561
5658
|
/**
|
|
5562
|
-
* The image's alt
|
|
5659
|
+
* The image's alt text. Defaults to an empty string, which marks the image as decorative and hides it from screen readers, so set it on any image that carries information.
|
|
5563
5660
|
* @defaultValue ''
|
|
5564
5661
|
*/
|
|
5565
5662
|
"alt"?: string;
|
|
@@ -5568,7 +5665,12 @@ declare namespace LocalJSX {
|
|
|
5568
5665
|
*/
|
|
5569
5666
|
"componentId"?: string;
|
|
5570
5667
|
/**
|
|
5571
|
-
*
|
|
5668
|
+
* Determines how the image fills the shape set by `ratio`. Has no effect if `ratio` is not set.
|
|
5669
|
+
* @defaultValue cover
|
|
5670
|
+
*/
|
|
5671
|
+
"fit"?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
5672
|
+
/**
|
|
5673
|
+
* The height of the image in pixels. `height: auto` lets the loaded image's own proportions decide its rendered height, so unlike `width` this does not reserve space before the image loads.
|
|
5572
5674
|
*/
|
|
5573
5675
|
"height"?: number;
|
|
5574
5676
|
/**
|
|
@@ -5576,6 +5678,18 @@ declare namespace LocalJSX {
|
|
|
5576
5678
|
* @defaultValue eager
|
|
5577
5679
|
*/
|
|
5578
5680
|
"loading"?: 'eager' | 'lazy';
|
|
5681
|
+
/**
|
|
5682
|
+
* Emitted when the image fails to load, such as for a broken or empty `src`. An image with no `src` or `srcset` at all emits neither event, since it has nothing to load. Emitted again after `src` or `srcset` changes and the new image fails. Bubbles and is composed, so a listener on an ancestor gets every `pds-image`'s events — check `event.target` when more than one is in scope.
|
|
5683
|
+
*/
|
|
5684
|
+
"onPdsImageError"?: (event: PdsImageCustomEvent<ImageErrorEventDetail>) => void;
|
|
5685
|
+
/**
|
|
5686
|
+
* Emitted when the image loads. Also emitted on first render for an image that finished loading before the component could listen, such as a server-rendered image. Emitted again after `src` or `srcset` changes and the new image loads, or when the browser picks a different `srcset` candidate, such as on a resize. Bubbles and is composed, so a listener on an ancestor gets every `pds-image`'s events — check `event.target` when more than one is in scope.
|
|
5687
|
+
*/
|
|
5688
|
+
"onPdsImageLoad"?: (event: PdsImageCustomEvent<ImageLoadEventDetail>) => void;
|
|
5689
|
+
/**
|
|
5690
|
+
* The aspect ratio the image is sized to, cropping whatever overflows the shape. A preset (`square` 1/1, `landscape` 4/3, `wide` 16/9, `portrait` 3/4, `tall` 9/16) or any custom CSS ratio, such as `21 / 9`. Use this, not `height` and `width`, to crop: those only reserve space, and only `width` reliably does even that.
|
|
5691
|
+
*/
|
|
5692
|
+
"ratio"?: ImageRatioType | (string & Record<never, never>);
|
|
5579
5693
|
/**
|
|
5580
5694
|
* Determines the intended display size of an image within certain breakpoints. Has no effect if `srcset` is not set or value has no width descriptor.
|
|
5581
5695
|
*/
|
|
@@ -5589,7 +5703,7 @@ declare namespace LocalJSX {
|
|
|
5589
5703
|
*/
|
|
5590
5704
|
"srcset"?: string;
|
|
5591
5705
|
/**
|
|
5592
|
-
* The width of the image in pixels.
|
|
5706
|
+
* The width of the image in pixels. This reserves the image's width before it loads, but not its height: to reserve the height too, set `--dimension-aspect-ratio` to the image's own proportions.
|
|
5593
5707
|
*/
|
|
5594
5708
|
"width"?: number;
|
|
5595
5709
|
}
|
|
@@ -5603,7 +5717,7 @@ declare namespace LocalJSX {
|
|
|
5603
5717
|
*/
|
|
5604
5718
|
"componentId": string;
|
|
5605
5719
|
/**
|
|
5606
|
-
* Sets the number of milliseconds to wait before
|
|
5720
|
+
* Sets the number of milliseconds to wait after each input event before emitting `pdsInput`.
|
|
5607
5721
|
*/
|
|
5608
5722
|
"debounce"?: number;
|
|
5609
5723
|
/**
|
|
@@ -5611,7 +5725,7 @@ declare namespace LocalJSX {
|
|
|
5611
5725
|
*/
|
|
5612
5726
|
"disabled"?: boolean;
|
|
5613
5727
|
/**
|
|
5614
|
-
*
|
|
5728
|
+
* Displays an error message below the input and gives the field error styling. It becomes the input's accessible description only while `invalid` is set.
|
|
5615
5729
|
*/
|
|
5616
5730
|
"errorMessage"?: string;
|
|
5617
5731
|
/**
|
|
@@ -5635,7 +5749,7 @@ declare namespace LocalJSX {
|
|
|
5635
5749
|
*/
|
|
5636
5750
|
"highlight"?: boolean;
|
|
5637
5751
|
/**
|
|
5638
|
-
* Determines whether or not the input
|
|
5752
|
+
* Determines whether or not the input is invalid.
|
|
5639
5753
|
*/
|
|
5640
5754
|
"invalid"?: boolean;
|
|
5641
5755
|
/**
|
|
@@ -5667,7 +5781,7 @@ declare namespace LocalJSX {
|
|
|
5667
5781
|
*/
|
|
5668
5782
|
"onPdsBlur"?: (event: PdsInputCustomEvent<FocusEvent>) => void;
|
|
5669
5783
|
/**
|
|
5670
|
-
* Emitted when the value has
|
|
5784
|
+
* Emitted when the user changes the value and then presses `Enter` or leaves the field. `detail` has `value`, as a string, and `event`, the native event behind it, usually `change`. This event will not emit when programmatically setting the `value` property, unless the field has focus at the time; then it emits when the field loses focus.
|
|
5671
5785
|
*/
|
|
5672
5786
|
"onPdsChange"?: (event: PdsInputCustomEvent<InputChangeEventDetail>) => void;
|
|
5673
5787
|
/**
|
|
@@ -5675,7 +5789,7 @@ declare namespace LocalJSX {
|
|
|
5675
5789
|
*/
|
|
5676
5790
|
"onPdsFocus"?: (event: PdsInputCustomEvent<FocusEvent>) => void;
|
|
5677
5791
|
/**
|
|
5678
|
-
* Emitted
|
|
5792
|
+
* Emitted after each `input` event, such as typing or pasting. With `debounce`, it waits until that many milliseconds have passed since the last one. `detail` has `value`, the current value as a string, and `event`, the native `input` event. This event will not emit when programmatically setting the `value` property.
|
|
5679
5793
|
*/
|
|
5680
5794
|
"onPdsInput"?: (event: PdsInputCustomEvent<InputInputEventDetail>) => void;
|
|
5681
5795
|
/**
|
|
@@ -5703,7 +5817,7 @@ declare namespace LocalJSX {
|
|
|
5703
5817
|
*/
|
|
5704
5818
|
"step"?: string;
|
|
5705
5819
|
/**
|
|
5706
|
-
* Determines the type of control that will be displayed `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`, `'url'`
|
|
5820
|
+
* Determines the type of control that will be displayed `'email'`, `'number'`, `'password'`, `'search'`, `'tel'`, `'text'`, `'url'`
|
|
5707
5821
|
* @defaultValue "text"
|
|
5708
5822
|
*/
|
|
5709
5823
|
"type"?: string;
|
|
@@ -5732,13 +5846,12 @@ declare namespace LocalJSX {
|
|
|
5732
5846
|
*/
|
|
5733
5847
|
"download"?: string;
|
|
5734
5848
|
/**
|
|
5735
|
-
*
|
|
5849
|
+
* Shows the external-link (launch) icon. Opens in a new tab unless `target` says otherwise.
|
|
5736
5850
|
* @defaultValue false
|
|
5737
|
-
* @deprecated Consider using the `target` prop for more control. This prop will be maintained for backward compatibility.
|
|
5738
5851
|
*/
|
|
5739
5852
|
"external"?: boolean;
|
|
5740
5853
|
/**
|
|
5741
|
-
* Accessible label for the icon that `external` shows, appended to the link's name. It isn't announced when `target`
|
|
5854
|
+
* Accessible label for the icon that `external` shows, appended to the link's name. It isn't announced when `target` is anything other than `_blank`. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
5742
5855
|
* @defaultValue '(opens in a new tab)'
|
|
5743
5856
|
*/
|
|
5744
5857
|
"externalLabel"?: string;
|
|
@@ -5748,13 +5861,13 @@ declare namespace LocalJSX {
|
|
|
5748
5861
|
*/
|
|
5749
5862
|
"fontSize"?: 'sm' | 'md' | 'lg';
|
|
5750
5863
|
/**
|
|
5751
|
-
* The hyperlink's destination URL. If
|
|
5864
|
+
* The hyperlink's destination URL. If the default slot is empty (whitespace counts as content), the href will be used as the link text.
|
|
5752
5865
|
*/
|
|
5753
5866
|
"href": string;
|
|
5754
5867
|
/**
|
|
5755
|
-
* Specifies where to open the linked document.
|
|
5868
|
+
* Specifies where to open the linked document. Overrides the new-tab default of `external`; the icon still shows.
|
|
5756
5869
|
* @defaultValue undefined
|
|
5757
|
-
* @example <pds-link href="
|
|
5870
|
+
* @example <pds-link href="/dashboard" target="_top">Opens in the top-level frame</pds-link>
|
|
5758
5871
|
*/
|
|
5759
5872
|
"target"?: '_blank' | '_self' | '_parent' | '_top';
|
|
5760
5873
|
/**
|
|
@@ -5807,7 +5920,7 @@ declare namespace LocalJSX {
|
|
|
5807
5920
|
*/
|
|
5808
5921
|
"showLabel"?: boolean;
|
|
5809
5922
|
/**
|
|
5810
|
-
* Sets the size of the spinner loader
|
|
5923
|
+
* Sets the size of the spinner loader: `xs` (24px), `sm` (32px), `md` (48px), `lg` (64px), `xl` (80px), or a custom CSS length such as `128px`. The `typing` variant ignores it.
|
|
5811
5924
|
* @default 'md'
|
|
5812
5925
|
*/
|
|
5813
5926
|
"size"?: | 'xs' // 24px
|
|
@@ -5836,7 +5949,7 @@ declare namespace LocalJSX {
|
|
|
5836
5949
|
*/
|
|
5837
5950
|
"componentId"?: string;
|
|
5838
5951
|
/**
|
|
5839
|
-
* Whether to skip moving focus into the modal when it opens
|
|
5952
|
+
* Whether to skip moving focus into the modal when it opens. Set it for a modal that can open from a background event while the user is mid-task elsewhere on the page, where moving focus would interrupt them. Pair it with `disableTopLayer`: in the top layer the rest of the page is inert, so focus can't stay there. On close, focus moves back only if nothing outside the modal has taken it.
|
|
5840
5953
|
* @default false
|
|
5841
5954
|
*/
|
|
5842
5955
|
"disableInitialFocus"?: boolean;
|
|
@@ -5880,11 +5993,13 @@ declare namespace LocalJSX {
|
|
|
5880
5993
|
"border"?: 'none' | 'both' | 'top' | 'bottom';
|
|
5881
5994
|
}
|
|
5882
5995
|
/**
|
|
5996
|
+
* Holds the modal's actions. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
5883
5997
|
* @lightDom renders-markup
|
|
5884
5998
|
*/
|
|
5885
5999
|
interface PdsModalFooter {
|
|
5886
6000
|
}
|
|
5887
6001
|
/**
|
|
6002
|
+
* Holds the modal's title and close control. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
5888
6003
|
* @lightDom renders-markup
|
|
5889
6004
|
*/
|
|
5890
6005
|
interface PdsModalHeader {
|
|
@@ -6027,7 +6142,7 @@ declare namespace LocalJSX {
|
|
|
6027
6142
|
*/
|
|
6028
6143
|
"onPdsMultiselectCreate"?: (event: PdsMultiselectCustomEvent<MultiselectCreateEventDetail>) => void;
|
|
6029
6144
|
/**
|
|
6030
|
-
* Emitted when the dropdown is dismissed
|
|
6145
|
+
* Emitted when the dropdown is dismissed with the Escape key, or by focus moving outside the component, such as with a click elsewhere on the page. It doesn't fire when the panel closes any other way: from a selection (including with `closePanelOnSelect`) or an option action, a click on the trigger, Tab, or the multiselect becoming disabled. Safari doesn't focus a clicked button, so there a click on the trigger while the panel is open fires this event, and the panel opens again. Use it to restore parent UI state or run cleanup when the user cancels.
|
|
6031
6146
|
*/
|
|
6032
6147
|
"onPdsMultiselectDismiss"?: (event: PdsMultiselectCustomEvent<void>) => void;
|
|
6033
6148
|
/**
|
|
@@ -6147,8 +6262,8 @@ declare namespace LocalJSX {
|
|
|
6147
6262
|
*/
|
|
6148
6263
|
"componentId"?: string;
|
|
6149
6264
|
/**
|
|
6150
|
-
* Sets the maximum width of the popover
|
|
6151
|
-
* @defaultValue
|
|
6265
|
+
* Sets the maximum width of the popover, in pixels, including its padding.
|
|
6266
|
+
* @defaultValue 400
|
|
6152
6267
|
*/
|
|
6153
6268
|
"maxWidth"?: number;
|
|
6154
6269
|
/**
|
|
@@ -6197,7 +6312,7 @@ declare namespace LocalJSX {
|
|
|
6197
6312
|
"componentId": string;
|
|
6198
6313
|
/**
|
|
6199
6314
|
* 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).
|
|
6200
|
-
* @defaultValue 'var(--pine-color-
|
|
6315
|
+
* @defaultValue 'var(--pine-color-primary)'
|
|
6201
6316
|
*/
|
|
6202
6317
|
"fillColor"?: string;
|
|
6203
6318
|
/**
|
|
@@ -6205,7 +6320,7 @@ declare namespace LocalJSX {
|
|
|
6205
6320
|
*/
|
|
6206
6321
|
"label": string;
|
|
6207
6322
|
/**
|
|
6208
|
-
* Sets the progress fill
|
|
6323
|
+
* Sets the progress fill percentage (0–100). Shown as text when `show-percent` is set.
|
|
6209
6324
|
* @defaultValue 0
|
|
6210
6325
|
*/
|
|
6211
6326
|
"percent"?: number;
|
|
@@ -6231,7 +6346,7 @@ declare namespace LocalJSX {
|
|
|
6231
6346
|
*/
|
|
6232
6347
|
interface PdsRadio {
|
|
6233
6348
|
/**
|
|
6234
|
-
* Determines whether or not the radio is checked.
|
|
6349
|
+
* Determines whether or not the radio is checked. It keeps the value you set and doesn't change when the user picks a radio.
|
|
6235
6350
|
* @defaultValue false
|
|
6236
6351
|
*/
|
|
6237
6352
|
"checked"?: boolean;
|
|
@@ -6245,7 +6360,7 @@ declare namespace LocalJSX {
|
|
|
6245
6360
|
*/
|
|
6246
6361
|
"disabled"?: boolean;
|
|
6247
6362
|
/**
|
|
6248
|
-
* Displays error message
|
|
6363
|
+
* Displays an error message below the radio. It becomes the radio's accessible description only while `invalid` is set.
|
|
6249
6364
|
*/
|
|
6250
6365
|
"errorMessage"?: string;
|
|
6251
6366
|
/**
|
|
@@ -6254,7 +6369,7 @@ declare namespace LocalJSX {
|
|
|
6254
6369
|
*/
|
|
6255
6370
|
"hasBorder"?: boolean;
|
|
6256
6371
|
/**
|
|
6257
|
-
* Displays
|
|
6372
|
+
* Displays a message or hint below the radio.
|
|
6258
6373
|
*/
|
|
6259
6374
|
"helperMessage"?: string;
|
|
6260
6375
|
/**
|
|
@@ -6267,7 +6382,7 @@ declare namespace LocalJSX {
|
|
|
6267
6382
|
*/
|
|
6268
6383
|
"invalid"?: boolean;
|
|
6269
6384
|
/**
|
|
6270
|
-
*
|
|
6385
|
+
* Text to be displayed as the radio label.
|
|
6271
6386
|
*/
|
|
6272
6387
|
"label"?: string;
|
|
6273
6388
|
/**
|
|
@@ -6275,7 +6390,7 @@ declare namespace LocalJSX {
|
|
|
6275
6390
|
*/
|
|
6276
6391
|
"name"?: string;
|
|
6277
6392
|
/**
|
|
6278
|
-
*
|
|
6393
|
+
* Emitted with `true` when the user checks the radio, by a click or an arrow key. The radio is `event.target`, so read its `value` there. Not emitted when picking another radio unchecks this one. Not emitted inside `pds-radio-group` either; listen for `pdsRadioGroupChange` there.
|
|
6279
6394
|
*/
|
|
6280
6395
|
"onPdsRadioChange"?: (event: PdsRadioCustomEvent<boolean>) => void;
|
|
6281
6396
|
/**
|
|
@@ -6312,7 +6427,7 @@ declare namespace LocalJSX {
|
|
|
6312
6427
|
*/
|
|
6313
6428
|
"disabled"?: boolean;
|
|
6314
6429
|
/**
|
|
6315
|
-
* Displays error message
|
|
6430
|
+
* Displays an error message below the radio group. It's part of the group's accessible description, with or without `invalid`.
|
|
6316
6431
|
*/
|
|
6317
6432
|
"errorMessage"?: string;
|
|
6318
6433
|
/**
|
|
@@ -6321,11 +6436,11 @@ declare namespace LocalJSX {
|
|
|
6321
6436
|
*/
|
|
6322
6437
|
"gap"?: string;
|
|
6323
6438
|
/**
|
|
6324
|
-
*
|
|
6439
|
+
* Text to be displayed as the radio group label. It also names the group, unless you set `aria-label` or `aria-labelledby` on it.
|
|
6325
6440
|
*/
|
|
6326
6441
|
"groupLabel"?: string;
|
|
6327
6442
|
/**
|
|
6328
|
-
* Displays
|
|
6443
|
+
* Displays a message or hint below the radio group.
|
|
6329
6444
|
*/
|
|
6330
6445
|
"helperMessage"?: string;
|
|
6331
6446
|
/**
|
|
@@ -6338,7 +6453,7 @@ declare namespace LocalJSX {
|
|
|
6338
6453
|
*/
|
|
6339
6454
|
"name"?: string;
|
|
6340
6455
|
/**
|
|
6341
|
-
*
|
|
6456
|
+
* Emitted when the user checks a radio in the group, by a click or an arrow key. `detail` has that radio's `value` and `componentId`, and `checked`, which is always `true`.
|
|
6342
6457
|
*/
|
|
6343
6458
|
"onPdsRadioGroupChange"?: (event: PdsRadioGroupCustomEvent<RadioGroupChangeEventDetail>) => void;
|
|
6344
6459
|
/**
|
|
@@ -6407,7 +6522,7 @@ declare namespace LocalJSX {
|
|
|
6407
6522
|
*/
|
|
6408
6523
|
"disabled"?: boolean;
|
|
6409
6524
|
/**
|
|
6410
|
-
* Displays error message
|
|
6525
|
+
* Displays an error message below the select and marks the select as invalid, with or without `invalid`.
|
|
6411
6526
|
*/
|
|
6412
6527
|
"errorMessage"?: string;
|
|
6413
6528
|
/**
|
|
@@ -6415,7 +6530,7 @@ declare namespace LocalJSX {
|
|
|
6415
6530
|
*/
|
|
6416
6531
|
"form"?: string;
|
|
6417
6532
|
/**
|
|
6418
|
-
* Displays
|
|
6533
|
+
* Displays a message or hint below the select.
|
|
6419
6534
|
*/
|
|
6420
6535
|
"helperMessage"?: string;
|
|
6421
6536
|
/**
|
|
@@ -6456,7 +6571,7 @@ declare namespace LocalJSX {
|
|
|
6456
6571
|
*/
|
|
6457
6572
|
"onPdsKeyDown"?: (event: PdsSelectCustomEvent<KeyboardEvent>) => void;
|
|
6458
6573
|
/**
|
|
6459
|
-
* Emitted when the select value
|
|
6574
|
+
* Emitted when the user changes the selection. `detail` is the native `change` event, so read the new value from the select's `value`: a string, or an array with `multiple`. This event will not emit when programmatically setting the `value` property.
|
|
6460
6575
|
*/
|
|
6461
6576
|
"onPdsSelectChange"?: (event: PdsSelectCustomEvent<InputEvent>) => void;
|
|
6462
6577
|
/**
|
|
@@ -6492,15 +6607,40 @@ declare namespace LocalJSX {
|
|
|
6492
6607
|
* @default false
|
|
6493
6608
|
*/
|
|
6494
6609
|
"dividers"?: boolean;
|
|
6610
|
+
/**
|
|
6611
|
+
* Accessible label for each item's reorder handle, the button the keyboard reorders with. Pass a translated string to localize it; `{item}` is interpolated.
|
|
6612
|
+
* @defaultValue 'Reorder {item}'
|
|
6613
|
+
*/
|
|
6614
|
+
"handleLabel"?: string;
|
|
6495
6615
|
/**
|
|
6496
6616
|
* Determines the grabbable area for the `pds-sortable-item`.
|
|
6497
6617
|
* @default 'row'
|
|
6498
6618
|
*/
|
|
6499
6619
|
"handleType"?: 'handle' | 'row';
|
|
6500
6620
|
/**
|
|
6501
|
-
*
|
|
6621
|
+
* Screen-reader announcement when a picked-up item is dropped. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
6622
|
+
* @defaultValue '{item}, dropped at position {position} of {total}'
|
|
6623
|
+
*/
|
|
6624
|
+
"itemDroppedLabel"?: string;
|
|
6625
|
+
/**
|
|
6626
|
+
* Screen-reader announcement when a picked-up item is moved. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
6627
|
+
* @defaultValue '{item}, moved to position {position} of {total}'
|
|
6628
|
+
*/
|
|
6629
|
+
"itemMovedLabel"?: string;
|
|
6630
|
+
/**
|
|
6631
|
+
* Screen-reader announcement when an item is picked up from the keyboard. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
6632
|
+
* @defaultValue '{item}, picked up. Position {position} of {total}. Press the arrow keys to move, Space or Enter to drop, Escape to cancel.'
|
|
6633
|
+
*/
|
|
6634
|
+
"itemPickedUpLabel"?: string;
|
|
6635
|
+
/**
|
|
6636
|
+
* Event emitted when a sortable item is moved, by dragging or from the keyboard. A keyboard move carries the same fields as a drag (`item`, `from`, `to`, `oldIndex`, `newIndex`, `oldDraggableIndex`, `newDraggableIndex`), with the event that ended the move as `originalEvent` -- a `KeyboardEvent` for Space or Enter, but a `FocusEvent`, `PointerEvent` or `MouseEvent` when the drop instead comes from focus leaving the row, a drag taking over, or a screen reader's browse-mode click.
|
|
6502
6637
|
*/
|
|
6503
6638
|
"onPdsSortableItemMoved"?: (event: PdsSortableCustomEvent<SortableEvent>) => void;
|
|
6639
|
+
/**
|
|
6640
|
+
* Screen-reader announcement when a keyboard reorder is canceled and the item goes back. Pass a translated string to localize it; `{item}`, `{position}` and `{total}` are interpolated.
|
|
6641
|
+
* @defaultValue 'Reorder canceled. {item} returned to position {position} of {total}'
|
|
6642
|
+
*/
|
|
6643
|
+
"reorderCanceledLabel"?: string;
|
|
6504
6644
|
}
|
|
6505
6645
|
/**
|
|
6506
6646
|
* @lightDom renders-markup
|
|
@@ -6516,7 +6656,11 @@ declare namespace LocalJSX {
|
|
|
6516
6656
|
*/
|
|
6517
6657
|
"enableActions"?: boolean;
|
|
6518
6658
|
/**
|
|
6519
|
-
*
|
|
6659
|
+
* Name of the item in its reorder handle's label and in the reorder announcements. Pass a translated string to localize it; defaults to the item's text content.
|
|
6660
|
+
*/
|
|
6661
|
+
"itemLabel"?: string;
|
|
6662
|
+
/**
|
|
6663
|
+
* Determines whether the reorder handle is shown. The handle itself renders whenever the list is reorderable, regardless of this prop; without it, the handle is visually hidden but still reachable from the keyboard.
|
|
6520
6664
|
* @defaultValue false
|
|
6521
6665
|
*/
|
|
6522
6666
|
"showHandle"?: boolean;
|
|
@@ -6562,7 +6706,7 @@ declare namespace LocalJSX {
|
|
|
6562
6706
|
*/
|
|
6563
6707
|
"label"?: string;
|
|
6564
6708
|
/**
|
|
6565
|
-
*
|
|
6709
|
+
* Specifies the name. Submitted with the form name/value pair when checked, or with `unchecked-value` while unchecked.
|
|
6566
6710
|
*/
|
|
6567
6711
|
"name"?: string;
|
|
6568
6712
|
/**
|
|
@@ -6574,6 +6718,10 @@ declare namespace LocalJSX {
|
|
|
6574
6718
|
* @default false
|
|
6575
6719
|
*/
|
|
6576
6720
|
"required"?: boolean;
|
|
6721
|
+
/**
|
|
6722
|
+
* Provides a string submitted in form data under `name` while the switch is unchecked. When unset, an unchecked switch submits nothing, like a native checkbox.
|
|
6723
|
+
*/
|
|
6724
|
+
"uncheckedValue"?: string;
|
|
6577
6725
|
/**
|
|
6578
6726
|
* Provides input with a string submitted in form data.
|
|
6579
6727
|
*/
|
|
@@ -6638,11 +6786,11 @@ declare namespace LocalJSX {
|
|
|
6638
6786
|
*/
|
|
6639
6787
|
"disableSelectAll"?: boolean;
|
|
6640
6788
|
/**
|
|
6641
|
-
* Determines if the
|
|
6789
|
+
* Determines if the table displays a fixed first column.
|
|
6642
6790
|
*/
|
|
6643
6791
|
"fixedColumn"?: boolean;
|
|
6644
6792
|
/**
|
|
6645
|
-
* Event that is emitted when the select all checkbox is clicked, carrying the selected value.
|
|
6793
|
+
* Event that is emitted by `pds-table-head` when the select all checkbox is clicked, carrying the selected value. It bubbles through the table; the table doesn't emit it itself.
|
|
6646
6794
|
*/
|
|
6647
6795
|
"onPdsTableSelectAll"?: (event: PdsTableCustomEvent<{ isSelected: boolean }>) => void;
|
|
6648
6796
|
/**
|
|
@@ -6658,6 +6806,11 @@ declare namespace LocalJSX {
|
|
|
6658
6806
|
* Determines if the table displays checkboxes for selectable rows.
|
|
6659
6807
|
*/
|
|
6660
6808
|
"selectable"?: boolean;
|
|
6809
|
+
/**
|
|
6810
|
+
* Sets how the table sizes its columns. With `auto`, each column is sized from its content, so columns can change width when the rows change (for example after a sort). With `fixed`, columns take the `width` set on their `pds-table-head-cell` and ignore their content; columns without a `width` share the remaining space. Under `responsive`, that remaining share keeps a 120px floor on narrow viewports where the other columns' widths already fill it, growing the table instead (scrollable) -- without `responsive` there's no floor, since there would be nothing to scroll the overflow it would create. Content longer than its column overflows, so add `truncate` to cells whose content may not fit.
|
|
6811
|
+
* @defaultValue 'auto'
|
|
6812
|
+
*/
|
|
6813
|
+
"tableLayout"?: 'auto' | 'fixed';
|
|
6661
6814
|
}
|
|
6662
6815
|
interface PdsTableBody {
|
|
6663
6816
|
}
|
|
@@ -6687,7 +6840,7 @@ declare namespace LocalJSX {
|
|
|
6687
6840
|
*/
|
|
6688
6841
|
"indeterminate"?: boolean;
|
|
6689
6842
|
/**
|
|
6690
|
-
* Determines if the
|
|
6843
|
+
* Determines if the select all checkbox is checked.
|
|
6691
6844
|
* @defaultValue false
|
|
6692
6845
|
*/
|
|
6693
6846
|
"isSelected"?: boolean;
|
|
@@ -6709,6 +6862,10 @@ declare namespace LocalJSX {
|
|
|
6709
6862
|
* Determines whether the table column is sortable when set to `true`.
|
|
6710
6863
|
*/
|
|
6711
6864
|
"sortable"?: boolean;
|
|
6865
|
+
/**
|
|
6866
|
+
* Sets the width of the column. Accepts any CSS length (e.g. '148px', '12rem', '20%'). When the table's `tableLayout` is `fixed`, the column keeps this width whatever its content. Otherwise the column is at least this wide and can grow to fit its content.
|
|
6867
|
+
*/
|
|
6868
|
+
"width"?: string;
|
|
6712
6869
|
}
|
|
6713
6870
|
interface PdsTableRow {
|
|
6714
6871
|
/**
|
|
@@ -6753,7 +6910,7 @@ declare namespace LocalJSX {
|
|
|
6753
6910
|
*/
|
|
6754
6911
|
"nav"?: boolean;
|
|
6755
6912
|
/**
|
|
6756
|
-
* Stretches the component
|
|
6913
|
+
* Stretches the component to fill its container's height. The active tab panel keeps the height of its content. Requires the component to have a constrained height (e.g. a flex parent).
|
|
6757
6914
|
* @defaultValue false
|
|
6758
6915
|
*/
|
|
6759
6916
|
"stretch"?: boolean;
|
|
@@ -6836,7 +6993,7 @@ declare namespace LocalJSX {
|
|
|
6836
6993
|
*/
|
|
6837
6994
|
"componentId": string;
|
|
6838
6995
|
/**
|
|
6839
|
-
*
|
|
6996
|
+
* Sets the number of milliseconds to wait after each input event before emitting `pdsInput`.
|
|
6840
6997
|
*/
|
|
6841
6998
|
"debounce"?: number;
|
|
6842
6999
|
/**
|
|
@@ -6845,7 +7002,7 @@ declare namespace LocalJSX {
|
|
|
6845
7002
|
*/
|
|
6846
7003
|
"disabled"?: boolean;
|
|
6847
7004
|
/**
|
|
6848
|
-
* Displays an error message below the textarea
|
|
7005
|
+
* Displays an error message below the textarea while `invalid` is set.
|
|
6849
7006
|
*/
|
|
6850
7007
|
"errorMessage"?: string;
|
|
6851
7008
|
/**
|
|
@@ -6865,7 +7022,7 @@ declare namespace LocalJSX {
|
|
|
6865
7022
|
*/
|
|
6866
7023
|
"highlight"?: boolean;
|
|
6867
7024
|
/**
|
|
6868
|
-
* Determines whether or not the textarea is invalid
|
|
7025
|
+
* Determines whether or not the textarea is invalid. When `required` is set, the textarea sets it itself each time `pdsTextareaChange` fires, replacing a value you set.
|
|
6869
7026
|
* @defaultValue false
|
|
6870
7027
|
*/
|
|
6871
7028
|
"invalid"?: boolean;
|
|
@@ -6878,20 +7035,20 @@ declare namespace LocalJSX {
|
|
|
6878
7035
|
*/
|
|
6879
7036
|
"maxLength"?: number;
|
|
6880
7037
|
/**
|
|
6881
|
-
* Specifies the name. Submitted with the form name/value pair.
|
|
7038
|
+
* Specifies the name. Submitted with the form name/value pair.
|
|
6882
7039
|
* @default this.componentId
|
|
6883
7040
|
*/
|
|
6884
7041
|
"name"?: string;
|
|
6885
7042
|
/**
|
|
6886
|
-
* Emitted when the
|
|
7043
|
+
* Emitted when the textarea loses focus.
|
|
6887
7044
|
*/
|
|
6888
7045
|
"onPdsBlur"?: (event: PdsTextareaCustomEvent<FocusEvent>) => void;
|
|
6889
7046
|
/**
|
|
6890
|
-
* Emitted when the
|
|
7047
|
+
* Emitted when the textarea has focus.
|
|
6891
7048
|
*/
|
|
6892
7049
|
"onPdsFocus"?: (event: PdsTextareaCustomEvent<FocusEvent>) => void;
|
|
6893
7050
|
/**
|
|
6894
|
-
* Emitted
|
|
7051
|
+
* Emitted after each `input` event, such as typing or pasting. With `debounce`, it waits until that many milliseconds have passed since the last one. `detail` has `value`, the current text, and `event`, the native `input` event. This event will not emit when programmatically setting the `value` property.
|
|
6895
7052
|
*/
|
|
6896
7053
|
"onPdsInput"?: (event: PdsTextareaCustomEvent<TextareaInputEventDetail>) => void;
|
|
6897
7054
|
/**
|
|
@@ -6899,7 +7056,7 @@ declare namespace LocalJSX {
|
|
|
6899
7056
|
*/
|
|
6900
7057
|
"onPdsKeyDown"?: (event: PdsTextareaCustomEvent<KeyboardEvent>) => void;
|
|
6901
7058
|
/**
|
|
6902
|
-
*
|
|
7059
|
+
* Emitted when the user changes the value and then leaves the textarea. `Enter` adds a new line, so it doesn't emit this event. `detail` has `value`, the text, and `event`, the native event behind it, usually `change`. This event will not emit when programmatically setting the `value` property, unless the field has focus at the time; then it emits when the field loses focus.
|
|
6903
7060
|
*/
|
|
6904
7061
|
"onPdsTextareaChange"?: (event: PdsTextareaCustomEvent<TextareaChangeEventDetail>) => void;
|
|
6905
7062
|
/**
|
|
@@ -7072,6 +7229,7 @@ declare namespace LocalJSX {
|
|
|
7072
7229
|
"borderInlineEnd": boolean;
|
|
7073
7230
|
"borderInlineStart": boolean;
|
|
7074
7231
|
"borderRadius": `none` | `xs`| `sm` | `md` | `lg` | `circle`;
|
|
7232
|
+
"container": BoxContainerType;
|
|
7075
7233
|
"direction": `row` | `column`;
|
|
7076
7234
|
"display": `flex` | `inline-flex` | `block` | `inline-block`;
|
|
7077
7235
|
"fit": boolean;
|
|
@@ -7099,30 +7257,30 @@ declare namespace LocalJSX {
|
|
|
7099
7257
|
"justifyContentMd": `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
|
|
7100
7258
|
"justifyContentLg": `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
|
|
7101
7259
|
"justifyContentXl": `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
|
|
7102
|
-
"marginBlockStart":
|
|
7103
|
-
"marginBlockStartXs":
|
|
7104
|
-
"marginBlockStartSm":
|
|
7105
|
-
"marginBlockStartMd":
|
|
7106
|
-
"marginBlockStartLg":
|
|
7107
|
-
"marginBlockStartXl":
|
|
7108
|
-
"marginInlineStart":
|
|
7109
|
-
"marginInlineStartXs":
|
|
7110
|
-
"marginInlineStartSm":
|
|
7111
|
-
"marginInlineStartMd":
|
|
7112
|
-
"marginInlineStartLg":
|
|
7113
|
-
"marginInlineStartXl":
|
|
7114
|
-
"marginInlineEnd":
|
|
7115
|
-
"marginInlineEndXs":
|
|
7116
|
-
"marginInlineEndSm":
|
|
7117
|
-
"marginInlineEndMd":
|
|
7118
|
-
"marginInlineEndLg":
|
|
7119
|
-
"marginInlineEndXl":
|
|
7120
|
-
"marginBlockEnd":
|
|
7121
|
-
"marginBlockEndXs":
|
|
7122
|
-
"marginBlockEndSm":
|
|
7123
|
-
"marginBlockEndMd":
|
|
7124
|
-
"marginBlockEndLg":
|
|
7125
|
-
"marginBlockEndXl":
|
|
7260
|
+
"marginBlockStart": BoxMarginType;
|
|
7261
|
+
"marginBlockStartXs": BoxMarginType;
|
|
7262
|
+
"marginBlockStartSm": BoxMarginType;
|
|
7263
|
+
"marginBlockStartMd": BoxMarginType;
|
|
7264
|
+
"marginBlockStartLg": BoxMarginType;
|
|
7265
|
+
"marginBlockStartXl": BoxMarginType;
|
|
7266
|
+
"marginInlineStart": BoxMarginType;
|
|
7267
|
+
"marginInlineStartXs": BoxMarginType;
|
|
7268
|
+
"marginInlineStartSm": BoxMarginType;
|
|
7269
|
+
"marginInlineStartMd": BoxMarginType;
|
|
7270
|
+
"marginInlineStartLg": BoxMarginType;
|
|
7271
|
+
"marginInlineStartXl": BoxMarginType;
|
|
7272
|
+
"marginInlineEnd": BoxMarginType;
|
|
7273
|
+
"marginInlineEndXs": BoxMarginType;
|
|
7274
|
+
"marginInlineEndSm": BoxMarginType;
|
|
7275
|
+
"marginInlineEndMd": BoxMarginType;
|
|
7276
|
+
"marginInlineEndLg": BoxMarginType;
|
|
7277
|
+
"marginInlineEndXl": BoxMarginType;
|
|
7278
|
+
"marginBlockEnd": BoxMarginType;
|
|
7279
|
+
"marginBlockEndXs": BoxMarginType;
|
|
7280
|
+
"marginBlockEndSm": BoxMarginType;
|
|
7281
|
+
"marginBlockEndMd": BoxMarginType;
|
|
7282
|
+
"marginBlockEndLg": BoxMarginType;
|
|
7283
|
+
"marginBlockEndXl": BoxMarginType;
|
|
7126
7284
|
"minHeight": string;
|
|
7127
7285
|
"minWidth": string;
|
|
7128
7286
|
"offset": BoxColumnType;
|
|
@@ -7296,6 +7454,7 @@ declare namespace LocalJSX {
|
|
|
7296
7454
|
"minuteIncrement": number;
|
|
7297
7455
|
"minuteLabel": string;
|
|
7298
7456
|
"monthLabel": string;
|
|
7457
|
+
"monthDay": boolean;
|
|
7299
7458
|
"name": string;
|
|
7300
7459
|
"nextMonthLabel": string;
|
|
7301
7460
|
"periodLabel": string;
|
|
@@ -7362,8 +7521,10 @@ declare namespace LocalJSX {
|
|
|
7362
7521
|
interface PdsImageAttributes {
|
|
7363
7522
|
"alt": string;
|
|
7364
7523
|
"componentId": string;
|
|
7524
|
+
"fit": 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
7365
7525
|
"height": number;
|
|
7366
7526
|
"loading": 'eager' | 'lazy';
|
|
7527
|
+
"ratio": ImageRatioType | (string & Record<never, never>);
|
|
7367
7528
|
"sizes": string;
|
|
7368
7529
|
"src": string;
|
|
7369
7530
|
"srcset": string;
|
|
@@ -7563,11 +7724,17 @@ declare namespace LocalJSX {
|
|
|
7563
7724
|
"componentId": string;
|
|
7564
7725
|
"dividers": boolean;
|
|
7565
7726
|
"handleType": 'handle' | 'row';
|
|
7727
|
+
"handleLabel": string;
|
|
7728
|
+
"itemPickedUpLabel": string;
|
|
7729
|
+
"itemMovedLabel": string;
|
|
7730
|
+
"itemDroppedLabel": string;
|
|
7731
|
+
"reorderCanceledLabel": string;
|
|
7566
7732
|
}
|
|
7567
7733
|
interface PdsSortableItemAttributes {
|
|
7568
7734
|
"enableActions": boolean;
|
|
7569
7735
|
"componentId": string;
|
|
7570
7736
|
"showHandle": boolean;
|
|
7737
|
+
"itemLabel": string;
|
|
7571
7738
|
}
|
|
7572
7739
|
interface PdsSwitchAttributes {
|
|
7573
7740
|
"componentId": string;
|
|
@@ -7581,6 +7748,7 @@ declare namespace LocalJSX {
|
|
|
7581
7748
|
"name": string;
|
|
7582
7749
|
"required": boolean;
|
|
7583
7750
|
"value": string;
|
|
7751
|
+
"uncheckedValue": string;
|
|
7584
7752
|
}
|
|
7585
7753
|
interface PdsTabAttributes {
|
|
7586
7754
|
"disabled": boolean;
|
|
@@ -7599,6 +7767,7 @@ declare namespace LocalJSX {
|
|
|
7599
7767
|
"selectable": boolean;
|
|
7600
7768
|
"disableSelectAll": boolean;
|
|
7601
7769
|
"rowDividers": boolean;
|
|
7770
|
+
"tableLayout": 'auto' | 'fixed';
|
|
7602
7771
|
"defaultSortColumn": string;
|
|
7603
7772
|
"defaultSortDirection": 'asc' | 'desc';
|
|
7604
7773
|
}
|
|
@@ -7615,6 +7784,7 @@ declare namespace LocalJSX {
|
|
|
7615
7784
|
interface PdsTableHeadCellAttributes {
|
|
7616
7785
|
"cellAlign": 'start' | 'center' | 'end' | 'justify';
|
|
7617
7786
|
"sortable": boolean;
|
|
7787
|
+
"width": string;
|
|
7618
7788
|
}
|
|
7619
7789
|
interface PdsTableRowAttributes {
|
|
7620
7790
|
"indeterminate": boolean;
|
|
@@ -7780,14 +7950,15 @@ declare module "@stencil/core" {
|
|
|
7780
7950
|
/**
|
|
7781
7951
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
7782
7952
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
7783
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
7953
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
7954
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
7784
7955
|
*/
|
|
7785
7956
|
"pds-datepicker": LocalJSX.IntrinsicElements["pds-datepicker"] & JSXBase.HTMLAttributes<HTMLPdsDatepickerElement>;
|
|
7786
7957
|
"pds-divider": LocalJSX.IntrinsicElements["pds-divider"] & JSXBase.HTMLAttributes<HTMLPdsDividerElement>;
|
|
7787
7958
|
/**
|
|
7788
7959
|
* A side panel composed from `pds-modal`, non-modal by default.
|
|
7789
7960
|
* By default, unlike `pds-modal`, the page stays interactive while a drawer
|
|
7790
|
-
* is open: no dimming, no blur, no
|
|
7961
|
+
* is open: no dimming, no blur, no click blocking.
|
|
7791
7962
|
* `pds-drawer` renders a `pds-modal` internally with `disableTopLayer` on and
|
|
7792
7963
|
* its backdrop suppressed, and adds the edge, width and dismiss behavior a
|
|
7793
7964
|
* side panel needs on top. With `modal`, it opens that `pds-modal` in the top
|
|
@@ -7797,18 +7968,17 @@ declare module "@stencil/core" {
|
|
|
7797
7968
|
*/
|
|
7798
7969
|
"pds-drawer": LocalJSX.IntrinsicElements["pds-drawer"] & JSXBase.HTMLAttributes<HTMLPdsDrawerElement>;
|
|
7799
7970
|
/**
|
|
7800
|
-
* Fills the
|
|
7801
|
-
* which caps itself against the viewport for a centered, possibly-shorter
|
|
7802
|
-
* modal, a drawer panel is already edge-to-edge, so its content can simply
|
|
7803
|
-
* flex to fill whatever space the header and footer leave.
|
|
7971
|
+
* Fills the space between the drawer header and footer.
|
|
7804
7972
|
* @lightDom renders-markup
|
|
7805
7973
|
*/
|
|
7806
7974
|
"pds-drawer-content": LocalJSX.IntrinsicElements["pds-drawer-content"] & JSXBase.HTMLAttributes<HTMLPdsDrawerContentElement>;
|
|
7807
7975
|
/**
|
|
7976
|
+
* Holds the drawer's actions in a padded row aligned to the end, with a divider above.
|
|
7808
7977
|
* @lightDom renders-markup
|
|
7809
7978
|
*/
|
|
7810
7979
|
"pds-drawer-footer": LocalJSX.IntrinsicElements["pds-drawer-footer"] & JSXBase.HTMLAttributes<HTMLPdsDrawerFooterElement>;
|
|
7811
7980
|
/**
|
|
7981
|
+
* Holds the drawer's title and close control in a padded row, spaced apart, with a divider below.
|
|
7812
7982
|
* @lightDom renders-markup
|
|
7813
7983
|
*/
|
|
7814
7984
|
"pds-drawer-header": LocalJSX.IntrinsicElements["pds-drawer-header"] & JSXBase.HTMLAttributes<HTMLPdsDrawerHeaderElement>;
|
|
@@ -7816,10 +7986,8 @@ declare module "@stencil/core" {
|
|
|
7816
7986
|
"pds-dropdown-menu-item": LocalJSX.IntrinsicElements["pds-dropdown-menu-item"] & JSXBase.HTMLAttributes<HTMLPdsDropdownMenuItemElement>;
|
|
7817
7987
|
"pds-dropdown-menu-separator": LocalJSX.IntrinsicElements["pds-dropdown-menu-separator"] & JSXBase.HTMLAttributes<HTMLPdsDropdownMenuSeparatorElement>;
|
|
7818
7988
|
/**
|
|
7819
|
-
*
|
|
7820
|
-
*
|
|
7821
|
-
* - Modern browsers: CSS anchor positioning + JavaScript flip classes
|
|
7822
|
-
* - Fallback browsers: JavaScript positioning with viewport boundary detection
|
|
7989
|
+
* A single filter in `pds-filters`: a trigger button that opens a popover holding the filter controls.
|
|
7990
|
+
* The `clear` variant has no popover and emits `pdsFilterClear` instead.
|
|
7823
7991
|
*/
|
|
7824
7992
|
"pds-filter": LocalJSX.IntrinsicElements["pds-filter"] & JSXBase.HTMLAttributes<HTMLPdsFilterElement>;
|
|
7825
7993
|
"pds-filters": LocalJSX.IntrinsicElements["pds-filters"] & JSXBase.HTMLAttributes<HTMLPdsFiltersElement>;
|
|
@@ -7836,10 +8004,12 @@ declare module "@stencil/core" {
|
|
|
7836
8004
|
*/
|
|
7837
8005
|
"pds-modal-content": LocalJSX.IntrinsicElements["pds-modal-content"] & JSXBase.HTMLAttributes<HTMLPdsModalContentElement>;
|
|
7838
8006
|
/**
|
|
8007
|
+
* Holds the modal's actions. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
7839
8008
|
* @lightDom renders-markup
|
|
7840
8009
|
*/
|
|
7841
8010
|
"pds-modal-footer": LocalJSX.IntrinsicElements["pds-modal-footer"] & JSXBase.HTMLAttributes<HTMLPdsModalFooterElement>;
|
|
7842
8011
|
/**
|
|
8012
|
+
* Holds the modal's title and close control. It adds no padding or layout, so wrap its content in a `pds-box` with `padding="md"`.
|
|
7843
8013
|
* @lightDom renders-markup
|
|
7844
8014
|
*/
|
|
7845
8015
|
"pds-modal-header": LocalJSX.IntrinsicElements["pds-modal-header"] & JSXBase.HTMLAttributes<HTMLPdsModalHeaderElement>;
|