@pine-ds/core 4.3.0 → 4.4.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/closest.js +1 -1
- package/components/floating-ui.dom.js +1 -1
- package/components/i18n-format.js +1 -1
- package/components/index.d.ts +2 -0
- package/components/index.js +1 -1
- package/components/index2.js +1 -1
- package/components/mock-pds-modal.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-container.js +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-datepicker.d.ts +11 -0
- package/components/pds-datepicker.js +1 -0
- package/components/pds-divider.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-filters.js +1 -1
- package/components/pds-image.js +1 -1
- package/components/pds-input.js +1 -1
- package/components/pds-input2.js +1 -0
- package/components/pds-link2.js +1 -1
- package/components/pds-loader2.js +1 -1
- package/components/pds-modal-content.js +1 -1
- package/components/pds-modal-footer.js +1 -1
- package/components/pds-modal-header.js +1 -1
- package/components/pds-modal2.js +1 -1
- package/components/pds-multiselect.js +1 -1
- package/components/pds-popover.js +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-property.js +1 -1
- package/components/pds-radio-group.js +1 -1
- package/components/pds-radio.js +1 -1
- package/components/pds-row.js +1 -1
- package/components/pds-select.js +1 -1
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +2 -2
- package/components/pds-switch.js +1 -1
- package/components/pds-table-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-tabpanel.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/utils.js +1 -1
- package/dist/cjs/closest-D0qyYtJ3.js +20 -0
- package/dist/cjs/{floating-ui.dom-BZk7Blsu.js → floating-ui.dom-Dc8Anyel.js} +79 -0
- package/dist/cjs/{i18n-format-CrpIhahc.js → i18n-format-BD0PmYzT.js} +1 -0
- package/dist/cjs/{index-CaLa1zy9.js → index-Bl5KnQay.js} +4 -1
- package/dist/cjs/{index-DYvijwA6.js → index-D-QQKB0y.js} +8 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mock-pds-modal.cjs.entry.js +3 -3
- package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/pds-alert.cjs.entry.js +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/pds-box.cjs.entry.js +2 -2
- package/dist/cjs/pds-button.cjs.entry.js +53 -4
- package/dist/cjs/pds-checkbox.cjs.entry.js +14 -6
- package/dist/cjs/pds-chip.cjs.entry.js +6 -6
- package/dist/cjs/pds-combobox.cjs.entry.js +1225 -117
- package/dist/cjs/pds-container.cjs.entry.js +2 -2
- package/dist/cjs/pds-copytext.cjs.entry.js +5 -5
- package/dist/cjs/pds-datepicker.cjs.entry.js +1962 -0
- package/dist/cjs/pds-divider.cjs.entry.js +2 -2
- package/dist/cjs/pds-drawer-content.cjs.entry.js +2 -2
- package/dist/cjs/pds-drawer-footer.cjs.entry.js +2 -2
- package/dist/cjs/pds-drawer-header.cjs.entry.js +2 -2
- package/dist/cjs/pds-drawer.cjs.entry.js +11 -4
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +11 -4
- package/dist/cjs/pds-filter.cjs.entry.js +3 -3
- package/dist/cjs/pds-filters.cjs.entry.js +2 -2
- package/dist/cjs/pds-icon.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +3 -3
- package/dist/cjs/pds-input.cjs.entry.js +8 -5
- package/dist/cjs/pds-link.cjs.entry.js +5 -5
- package/dist/cjs/pds-loader.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-content.cjs.entry.js +3 -3
- package/dist/cjs/pds-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-header.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal.cjs.entry.js +12 -6
- package/dist/cjs/pds-multiselect.cjs.entry.js +264 -51
- package/dist/cjs/pds-popover.cjs.entry.js +30 -12
- package/dist/cjs/pds-progress.cjs.entry.js +3 -3
- package/dist/cjs/pds-property.cjs.entry.js +2 -2
- package/dist/cjs/pds-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/pds-radio.cjs.entry.js +5 -5
- package/dist/cjs/pds-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-select.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable.cjs.entry.js +2 -2
- package/dist/cjs/pds-switch.cjs.entry.js +14 -6
- package/dist/cjs/pds-tab.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-cell.cjs.entry.js +5 -5
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +4 -4
- package/dist/cjs/pds-table-head.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-row.cjs.entry.js +3 -3
- package/dist/cjs/pds-table.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/pds-text.cjs.entry.js +5 -5
- package/dist/cjs/pds-textarea.cjs.entry.js +14 -9
- package/dist/cjs/pds-toast.cjs.entry.js +4 -4
- package/dist/cjs/pds-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/pine-core.cjs.js +2 -2
- package/dist/cjs/{truncation-tooltip-Bps7_rUy.js → truncation-tooltip-CYgQfBLt.js} +1 -1
- package/dist/cjs/{utils-KWALOgy9.js → utils-BhRmyxT8.js} +35 -4
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/pds-button/pds-button.js +53 -2
- package/dist/collection/components/pds-checkbox/pds-checkbox.css +7 -0
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +19 -3
- package/dist/collection/components/pds-chip/pds-chip.js +1 -1
- package/dist/collection/components/pds-combobox/grouped-options-panel.js +262 -0
- package/dist/collection/components/pds-combobox/pds-combobox.css +242 -13
- package/dist/collection/components/pds-combobox/pds-combobox.js +1128 -114
- package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +240 -0
- package/dist/collection/components/pds-container/pds-container.js +1 -1
- package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
- package/dist/collection/components/pds-datepicker/calendar-portal.js +136 -0
- package/dist/collection/components/pds-datepicker/date-utils.js +132 -0
- package/dist/collection/components/pds-datepicker/datepicker-interface.js +1 -0
- package/dist/collection/components/pds-datepicker/pds-datepicker.css +545 -0
- package/dist/collection/components/pds-datepicker/pds-datepicker.js +2406 -0
- package/dist/collection/components/pds-datepicker/presets.js +96 -0
- package/dist/collection/components/pds-datepicker/stories/pds-datepicker.stories.js +195 -0
- package/dist/collection/components/pds-datepicker/value.js +238 -0
- package/dist/collection/components/pds-divider/pds-divider.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +1 -1
- package/dist/collection/components/pds-drawer/pds-drawer.css +4 -0
- package/dist/collection/components/pds-drawer/pds-drawer.js +9 -2
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +1 -1
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +9 -2
- package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +1 -1
- package/dist/collection/components/pds-filters/pds-filters.js +1 -1
- package/dist/collection/components/pds-image/pds-image.js +2 -2
- package/dist/collection/components/pds-input/pds-input.js +6 -3
- package/dist/collection/components/pds-link/pds-link.js +2 -2
- package/dist/collection/components/pds-loader/pds-loader.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal.css +16 -0
- package/dist/collection/components/pds-modal/pds-modal.js +10 -4
- package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
- package/dist/collection/components/pds-multiselect/pds-multiselect.css +19 -1
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +390 -47
- package/dist/collection/components/pds-multiselect/stories/pds-multiselect.stories.js +136 -1
- package/dist/collection/components/pds-popover/pds-popover.js +29 -11
- package/dist/collection/components/pds-progress/pds-progress.js +1 -1
- package/dist/collection/components/pds-property/pds-property.js +1 -1
- package/dist/collection/components/pds-radio/pds-radio.js +3 -3
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
- package/dist/collection/components/pds-row/pds-row.js +1 -1
- package/dist/collection/components/pds-select/pds-select.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
- package/dist/collection/components/pds-switch/pds-switch.css +3 -0
- package/dist/collection/components/pds-switch/pds-switch.js +20 -4
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
- package/dist/collection/components/pds-text/pds-text.js +1 -1
- package/dist/collection/components/pds-textarea/pds-textarea.js +11 -6
- package/dist/collection/components/pds-toast/pds-toast.js +3 -3
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
- package/dist/collection/utils/closest.js +8 -0
- package/dist/collection/utils/utils.js +33 -4
- package/dist/docs.json +1933 -59
- package/dist/esm/closest-DHPzKMVS.js +17 -0
- package/dist/esm/{floating-ui.dom-DDtwbwIl.js → floating-ui.dom-BPqJgIq6.js} +79 -1
- package/dist/esm/{i18n-format-BKsJZTyn.js → i18n-format-BJgZHCWe.js} +1 -1
- package/dist/esm/{index-DcT8--Dn.js → index-CB8Yh0Nt.js} +4 -1
- package/dist/esm/{index-BU1hN5Vy.js → index-DxI-61GK.js} +5 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mock-pds-modal.entry.js +3 -3
- package/dist/esm/pds-accordion.entry.js +2 -2
- package/dist/esm/pds-alert.entry.js +1 -1
- package/dist/esm/pds-avatar.entry.js +2 -2
- package/dist/esm/pds-box.entry.js +2 -2
- package/dist/esm/pds-button.entry.js +53 -4
- package/dist/esm/pds-checkbox.entry.js +14 -6
- package/dist/esm/pds-chip.entry.js +6 -6
- package/dist/esm/pds-combobox.entry.js +1225 -117
- package/dist/esm/pds-container.entry.js +2 -2
- package/dist/esm/pds-copytext.entry.js +5 -5
- package/dist/esm/pds-datepicker.entry.js +1960 -0
- package/dist/esm/pds-divider.entry.js +2 -2
- package/dist/esm/pds-drawer-content.entry.js +2 -2
- package/dist/esm/pds-drawer-footer.entry.js +2 -2
- package/dist/esm/pds-drawer-header.entry.js +2 -2
- package/dist/esm/pds-drawer.entry.js +11 -4
- package/dist/esm/pds-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu-separator.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu.entry.js +11 -4
- package/dist/esm/pds-filter.entry.js +3 -3
- package/dist/esm/pds-filters.entry.js +2 -2
- package/dist/esm/pds-icon.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +3 -3
- package/dist/esm/pds-input.entry.js +8 -5
- package/dist/esm/pds-link.entry.js +5 -5
- package/dist/esm/pds-loader.entry.js +2 -2
- package/dist/esm/pds-modal-content.entry.js +3 -3
- package/dist/esm/pds-modal-footer.entry.js +2 -2
- package/dist/esm/pds-modal-header.entry.js +2 -2
- package/dist/esm/pds-modal.entry.js +12 -6
- package/dist/esm/pds-multiselect.entry.js +264 -51
- package/dist/esm/pds-popover.entry.js +30 -12
- package/dist/esm/pds-progress.entry.js +3 -3
- package/dist/esm/pds-property.entry.js +2 -2
- package/dist/esm/pds-radio-group.entry.js +5 -5
- package/dist/esm/pds-radio.entry.js +5 -5
- package/dist/esm/pds-row.entry.js +2 -2
- package/dist/esm/pds-select.entry.js +3 -3
- package/dist/esm/pds-sortable-item.entry.js +3 -3
- package/dist/esm/pds-sortable.entry.js +2 -2
- package/dist/esm/pds-switch.entry.js +14 -6
- package/dist/esm/pds-tab.entry.js +1 -1
- package/dist/esm/pds-table-body.entry.js +2 -2
- package/dist/esm/pds-table-cell.entry.js +5 -5
- package/dist/esm/pds-table-head-cell.entry.js +4 -4
- package/dist/esm/pds-table-head.entry.js +3 -3
- package/dist/esm/pds-table-row.entry.js +3 -3
- package/dist/esm/pds-table.entry.js +1 -1
- package/dist/esm/pds-tabpanel.entry.js +2 -2
- package/dist/esm/pds-tabs.entry.js +2 -2
- package/dist/esm/pds-text.entry.js +5 -5
- package/dist/esm/pds-textarea.entry.js +14 -9
- package/dist/esm/pds-toast.entry.js +4 -4
- package/dist/esm/pds-tooltip.entry.js +4 -4
- package/dist/esm/pine-core.js +3 -3
- package/dist/esm/{truncation-tooltip-CdtEBn_5.js → truncation-tooltip-_902ENWC.js} +1 -1
- package/dist/esm/{utils-u_0lxWnH.js → utils-OYK5-nwe.js} +34 -5
- package/dist/esm-es5/closest-DHPzKMVS.js +1 -0
- package/dist/esm-es5/floating-ui.dom-BPqJgIq6.js +1 -0
- package/dist/esm-es5/{i18n-format-BKsJZTyn.js → i18n-format-BJgZHCWe.js} +1 -1
- package/dist/esm-es5/index-CB8Yh0Nt.js +2 -0
- package/dist/esm-es5/index-DxI-61GK.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mock-pds-modal.entry.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 +2 -2
- package/dist/esm-es5/pds-container.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-datepicker.entry.js +1 -0
- package/dist/esm-es5/pds-divider.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-filters.entry.js +1 -1
- package/dist/esm-es5/pds-icon.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-link.entry.js +1 -1
- package/dist/esm-es5/pds-loader.entry.js +1 -1
- package/dist/esm-es5/pds-modal-content.entry.js +1 -1
- package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
- package/dist/esm-es5/pds-modal-header.entry.js +1 -1
- package/dist/esm-es5/pds-modal.entry.js +1 -1
- package/dist/esm-es5/pds-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-property.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/{truncation-tooltip-CdtEBn_5.js → truncation-tooltip-_902ENWC.js} +1 -1
- package/dist/esm-es5/utils-OYK5-nwe.js +1 -0
- package/dist/pine-core/p-0414092a.system.entry.js +1 -0
- package/dist/pine-core/p-04807201.entry.js +1 -0
- package/dist/pine-core/{p-cfcb89d1.system.entry.js → p-07f0d168.system.entry.js} +1 -1
- package/dist/pine-core/p-08f5d19c.entry.js +1 -0
- package/dist/pine-core/{p-d70aa0c7.system.entry.js → p-0aaf8faa.system.entry.js} +1 -1
- package/dist/pine-core/p-0bad5955.entry.js +1 -0
- package/dist/pine-core/{p-99f300ef.system.entry.js → p-0c3bf377.system.entry.js} +1 -1
- package/dist/pine-core/p-0ce79cd0.entry.js +1 -0
- package/dist/pine-core/{p-f682f08a.system.entry.js → p-1057b8c3.system.entry.js} +1 -1
- package/dist/pine-core/{p-089606b8.system.entry.js → p-108c910a.system.entry.js} +1 -1
- package/dist/pine-core/{p-ea986474.system.entry.js → p-166f61a6.system.entry.js} +1 -1
- package/dist/pine-core/{p-95defb53.entry.js → p-16c8f5e3.entry.js} +1 -1
- package/dist/pine-core/p-16e258d1.entry.js +1 -0
- package/dist/pine-core/{p-a8f1a48d.entry.js → p-1be33c95.entry.js} +1 -1
- package/dist/pine-core/{p-70fb83d4.entry.js → p-1e3a31da.entry.js} +1 -1
- package/dist/pine-core/{p-12941e0d.entry.js → p-1f228db9.entry.js} +1 -1
- package/dist/pine-core/p-257c6ef9.entry.js +1 -0
- package/dist/pine-core/p-26415245.system.entry.js +1 -0
- package/dist/pine-core/p-26e1e5bb.entry.js +1 -0
- package/dist/pine-core/p-27c06bf8.entry.js +2 -0
- package/dist/pine-core/p-31aee437.entry.js +1 -0
- package/dist/pine-core/p-330a76f6.system.entry.js +1 -0
- package/dist/pine-core/{p-4ebdb90b.system.entry.js → p-33c63be6.system.entry.js} +1 -1
- package/dist/pine-core/{p-c5b6b545.entry.js → p-344609f9.entry.js} +2 -2
- package/dist/pine-core/{p-2dbc90ba.entry.js → p-3a1711c1.entry.js} +1 -1
- package/dist/pine-core/p-3a9c58bd.system.entry.js +1 -0
- package/dist/pine-core/{p-32fc82c2.entry.js → p-3ebd543f.entry.js} +1 -1
- package/dist/pine-core/p-3fbcb0c8.system.entry.js +1 -0
- package/dist/pine-core/{p-e08e4ca7.entry.js → p-427b4aeb.entry.js} +1 -1
- package/dist/pine-core/{p-f5cf98be.system.entry.js → p-42bd87ea.system.entry.js} +1 -1
- package/dist/pine-core/{p-8d1e7b3c.system.entry.js → p-43c691bf.system.entry.js} +1 -1
- package/dist/pine-core/p-4566d659.system.entry.js +1 -0
- package/dist/pine-core/{p-b9a857fc.system.entry.js → p-4b8cf04a.system.entry.js} +1 -1
- package/dist/pine-core/p-4d6f471c.entry.js +1 -0
- package/dist/pine-core/{p-ec04d4c3.entry.js → p-4e7580c4.entry.js} +1 -1
- package/dist/pine-core/{p-fbb72e66.system.entry.js → p-4f4a2d2a.system.entry.js} +1 -1
- package/dist/pine-core/{p-b8a5597d.entry.js → p-5211aba7.entry.js} +1 -1
- package/dist/pine-core/{p-7e4729e0.entry.js → p-524b7d3f.entry.js} +1 -1
- package/dist/pine-core/{p-c08b1697.entry.js → p-5613c64c.entry.js} +1 -1
- package/dist/pine-core/{p-5a8345e2.entry.js → p-5bb24cb4.entry.js} +1 -1
- package/dist/pine-core/{p-73c3a73f.entry.js → p-5bb80b3c.entry.js} +1 -1
- package/dist/pine-core/{p-e039ebb6.system.entry.js → p-5c6e0a26.system.entry.js} +1 -1
- package/dist/pine-core/{p-b53d9620.system.entry.js → p-5db57551.system.entry.js} +1 -1
- package/dist/pine-core/{p-6b260a97.entry.js → p-5eb00ba5.entry.js} +1 -1
- package/dist/pine-core/p-61756414.system.entry.js +1 -0
- package/dist/pine-core/{p-08196d6c.entry.js → p-682e9e8f.entry.js} +1 -1
- package/dist/pine-core/p-6965db1d.entry.js +1 -0
- package/dist/pine-core/{p-317337e4.entry.js → p-6b180ee2.entry.js} +1 -1
- package/dist/pine-core/{p-d33d65f6.entry.js → p-6c53962f.entry.js} +1 -1
- package/dist/pine-core/p-6da6520b.system.entry.js +3 -0
- package/dist/pine-core/{p-bd9b2931.system.entry.js → p-6e3bf862.system.entry.js} +1 -1
- package/dist/pine-core/{p-9d77f2f8.system.entry.js → p-71c9f866.system.entry.js} +1 -1
- package/dist/pine-core/{p-a616385b.system.entry.js → p-7265b94c.system.entry.js} +1 -1
- package/dist/pine-core/{p-55532d56.system.entry.js → p-74229b5e.system.entry.js} +1 -1
- package/dist/pine-core/p-7512c2d4.system.entry.js +1 -0
- package/dist/pine-core/p-76db406d.system.entry.js +1 -0
- package/dist/pine-core/{p-3b555f06.system.entry.js → p-79aa5f43.system.entry.js} +1 -1
- package/dist/pine-core/{p-77082557.system.entry.js → p-7bbcda0f.system.entry.js} +1 -1
- package/dist/pine-core/p-7c8946e6.entry.js +1 -0
- package/dist/pine-core/p-7c98c90a.system.entry.js +1 -0
- package/dist/pine-core/p-81292c03.system.entry.js +1 -0
- package/dist/pine-core/p-81300046.system.entry.js +1 -0
- package/dist/pine-core/{p-93c52e2b.system.entry.js → p-8252cd84.system.entry.js} +1 -1
- package/dist/pine-core/p-84ba0e6a.system.entry.js +1 -0
- package/dist/pine-core/{p-45d55983.entry.js → p-86fc0bfa.entry.js} +1 -1
- package/dist/pine-core/p-90692bb6.entry.js +1 -0
- package/dist/pine-core/{p-67fc26e5.system.entry.js → p-90ea812c.system.entry.js} +1 -1
- package/dist/pine-core/p-948826db.entry.js +1 -0
- package/dist/pine-core/{p-35edd8b0.entry.js → p-9b66642d.entry.js} +1 -1
- package/dist/pine-core/p-BJgZHCWe.js +1 -0
- package/dist/pine-core/p-BPqJgIq6.js +1 -0
- package/dist/pine-core/p-BSRFZB4I.system.js +1 -0
- package/dist/pine-core/p-BZsj6eAn.system.js +1 -0
- package/dist/pine-core/p-CB8Yh0Nt.js +2 -0
- package/dist/pine-core/{p-B2qvvB3q.system.js → p-CBu9UrXr.system.js} +1 -1
- package/dist/pine-core/p-COtCa1Md.system.js +1 -0
- package/dist/pine-core/p-CTQZ2fkv.system.js +1 -0
- package/dist/pine-core/{p-B2nn1gSd.js → p-CnM3cCof.js} +1 -1
- package/dist/pine-core/p-CnO10OxH.system.js +1 -0
- package/dist/pine-core/p-D-akEPIU.system.js +2 -0
- package/dist/pine-core/p-DHPzKMVS.js +1 -0
- package/dist/pine-core/p-Dx8tEj0U.system.js +1 -0
- package/dist/pine-core/p-DxI-61GK.js +1 -0
- package/dist/pine-core/p-OYK5-nwe.js +1 -0
- package/dist/pine-core/p-a10af84b.system.entry.js +1 -0
- package/dist/pine-core/p-a21b530a.system.entry.js +1 -0
- package/dist/pine-core/{p-b0becff3.system.entry.js → p-a85535a4.system.entry.js} +1 -1
- package/dist/pine-core/p-abc0fe2f.system.entry.js +1 -0
- package/dist/pine-core/p-ac6a5bf0.entry.js +1 -0
- package/dist/pine-core/{p-5f5339ab.entry.js → p-b0526f98.entry.js} +1 -1
- package/dist/pine-core/p-b130b716.entry.js +1 -0
- package/dist/pine-core/{p-4cbb691f.entry.js → p-b195d345.entry.js} +1 -1
- package/dist/pine-core/{p-5c5bd609.entry.js → p-b4923acf.entry.js} +1 -1
- package/dist/pine-core/{p-15a0fa0a.system.entry.js → p-b4e440e3.system.entry.js} +1 -1
- package/dist/pine-core/p-b8693a87.entry.js +1 -0
- package/dist/pine-core/{p-bf025e38.entry.js → p-b8ada1eb.entry.js} +1 -1
- package/dist/pine-core/{p-a6a269da.system.entry.js → p-bb85bbb5.system.entry.js} +1 -1
- package/dist/pine-core/{p-fa8d3155.system.entry.js → p-bbc539bc.system.entry.js} +2 -2
- package/dist/pine-core/{p-f26dcbc2.system.entry.js → p-bf833976.system.entry.js} +1 -1
- package/dist/pine-core/{p-e055c543.entry.js → p-c23097af.entry.js} +1 -1
- package/dist/pine-core/p-c2dd84bd.system.entry.js +1 -0
- package/dist/pine-core/{p-441682f4.system.entry.js → p-c4520b04.system.entry.js} +1 -1
- package/dist/pine-core/{p-f1365550.entry.js → p-c4f68dfc.entry.js} +1 -1
- package/dist/pine-core/{p-fa2a786d.system.entry.js → p-c6fa6744.system.entry.js} +1 -1
- package/dist/pine-core/p-c7dba815.entry.js +1 -0
- package/dist/pine-core/p-cb6f55ff.entry.js +1 -0
- package/dist/pine-core/p-cfb8fa7c.system.entry.js +1 -0
- package/dist/pine-core/{p-2bb101c2.entry.js → p-d0d7d1d4.entry.js} +1 -1
- package/dist/pine-core/{p-4f5aacd9.entry.js → p-d1112c8a.entry.js} +1 -1
- package/dist/pine-core/{p-5f3d0c86.system.entry.js → p-d4e91ad9.system.entry.js} +1 -1
- package/dist/pine-core/{p-44222439.entry.js → p-da018dcb.entry.js} +1 -1
- package/dist/pine-core/{p-57784f2f.system.entry.js → p-dc27abe6.system.entry.js} +1 -1
- package/dist/pine-core/{p-f9f7101e.entry.js → p-dc343b6d.entry.js} +1 -1
- package/dist/pine-core/{p-fb774f89.system.entry.js → p-dde753e7.system.entry.js} +1 -1
- package/dist/pine-core/{p-558ac401.entry.js → p-dea3a582.entry.js} +1 -1
- package/dist/pine-core/p-df29fd41.entry.js +1 -0
- package/dist/pine-core/{p-c6426e16.system.entry.js → p-e4e2eae2.system.entry.js} +1 -1
- package/dist/pine-core/{p-1abae35f.entry.js → p-e8668178.entry.js} +1 -1
- package/dist/pine-core/{p-20753e42.system.entry.js → p-eb28d21d.system.entry.js} +1 -1
- package/dist/pine-core/p-eb71a82d.system.entry.js +1 -0
- package/dist/pine-core/{p-13bb89ff.entry.js → p-ed63873c.entry.js} +1 -1
- package/dist/pine-core/{p-5d2f95bd.entry.js → p-f4f6dc36.entry.js} +1 -1
- package/dist/pine-core/{p-6b3d8c2b.system.entry.js → p-f67a0ca8.system.entry.js} +1 -1
- package/dist/pine-core/{p-003df3b3.entry.js → p-fc455968.entry.js} +1 -1
- package/dist/pine-core/{p-02452806.system.entry.js → p-fe3e2ebd.system.entry.js} +1 -1
- package/dist/pine-core/pine-core.css +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/types/components/pds-button/pds-button.d.ts +10 -0
- package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +5 -0
- package/dist/types/components/pds-combobox/combobox-interface.d.ts +17 -0
- package/dist/types/components/pds-combobox/grouped-options-panel.d.ts +105 -0
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +235 -3
- package/dist/types/components/pds-datepicker/calendar-portal.d.ts +43 -0
- package/dist/types/components/pds-datepicker/date-utils.d.ts +48 -0
- package/dist/types/components/pds-datepicker/datepicker-interface.d.ts +30 -0
- package/dist/types/components/pds-datepicker/pds-datepicker.d.ts +489 -0
- package/dist/types/components/pds-datepicker/presets.d.ts +23 -0
- package/dist/types/components/pds-datepicker/value.d.ts +47 -0
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +1 -0
- package/dist/types/components/pds-multiselect/multiselect-interface.d.ts +19 -0
- package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +56 -1
- package/dist/types/components/pds-popover/pds-popover.d.ts +1 -0
- package/dist/types/components/pds-switch/pds-switch.d.ts +5 -0
- package/dist/types/components.d.ts +677 -4
- package/dist/types/utils/closest.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +9 -1
- package/dist/vscode.html-data.json +467 -3
- package/hydrate/index.js +3973 -362
- package/hydrate/index.mjs +3973 -362
- package/package.json +2 -2
- package/dist/cjs/closest-BZXvuB_Y.js +0 -11
- package/dist/esm/closest-DnUJodVd.js +0 -9
- package/dist/esm-es5/closest-DnUJodVd.js +0 -1
- package/dist/esm-es5/floating-ui.dom-DDtwbwIl.js +0 -1
- package/dist/esm-es5/index-BU1hN5Vy.js +0 -1
- package/dist/esm-es5/index-DcT8--Dn.js +0 -2
- package/dist/esm-es5/utils-u_0lxWnH.js +0 -1
- package/dist/pine-core/p-026ee6de.entry.js +0 -1
- package/dist/pine-core/p-03f3fc92.system.entry.js +0 -1
- package/dist/pine-core/p-06375326.system.entry.js +0 -1
- package/dist/pine-core/p-1df5e088.entry.js +0 -1
- package/dist/pine-core/p-24214ab9.system.entry.js +0 -1
- package/dist/pine-core/p-250011ba.entry.js +0 -1
- package/dist/pine-core/p-2b420257.entry.js +0 -1
- package/dist/pine-core/p-375eb7f4.entry.js +0 -1
- package/dist/pine-core/p-3b796898.entry.js +0 -1
- package/dist/pine-core/p-3c5489ce.entry.js +0 -1
- package/dist/pine-core/p-3e868906.system.entry.js +0 -1
- package/dist/pine-core/p-464f23e6.entry.js +0 -1
- package/dist/pine-core/p-49c6112a.entry.js +0 -1
- package/dist/pine-core/p-4bd57896.system.entry.js +0 -1
- package/dist/pine-core/p-6a6a767b.system.entry.js +0 -1
- package/dist/pine-core/p-6dabeebc.system.entry.js +0 -3
- package/dist/pine-core/p-70891202.entry.js +0 -1
- package/dist/pine-core/p-73fa955a.system.entry.js +0 -1
- package/dist/pine-core/p-755e0b3c.system.entry.js +0 -1
- package/dist/pine-core/p-8b051229.entry.js +0 -1
- package/dist/pine-core/p-8d8a8550.system.entry.js +0 -1
- package/dist/pine-core/p-93486f2e.entry.js +0 -1
- package/dist/pine-core/p-93ae562d.entry.js +0 -1
- package/dist/pine-core/p-95b8bece.system.entry.js +0 -1
- package/dist/pine-core/p-9d902000.system.entry.js +0 -1
- package/dist/pine-core/p-9ef355b7.entry.js +0 -1
- package/dist/pine-core/p-BI7Ml0VF.system.js +0 -1
- package/dist/pine-core/p-BKsJZTyn.js +0 -1
- package/dist/pine-core/p-BU1hN5Vy.js +0 -1
- package/dist/pine-core/p-BrLs99ML.system.js +0 -1
- package/dist/pine-core/p-CJ8t3EBJ.system.js +0 -2
- package/dist/pine-core/p-Cr7-rJtJ.system.js +0 -1
- package/dist/pine-core/p-DDtwbwIl.js +0 -1
- package/dist/pine-core/p-D_I-k33A.system.js +0 -1
- package/dist/pine-core/p-DcT8--Dn.js +0 -2
- package/dist/pine-core/p-DnUJodVd.js +0 -1
- package/dist/pine-core/p-a009ab10.system.entry.js +0 -1
- package/dist/pine-core/p-a8cd2ab5.entry.js +0 -1
- package/dist/pine-core/p-b45b8f8b.system.entry.js +0 -1
- package/dist/pine-core/p-b85bb61d.system.entry.js +0 -1
- package/dist/pine-core/p-bdded57a.system.entry.js +0 -1
- package/dist/pine-core/p-c1a65082.entry.js +0 -1
- package/dist/pine-core/p-c1d1befb.system.entry.js +0 -1
- package/dist/pine-core/p-ctdGub9B.system.js +0 -1
- package/dist/pine-core/p-d9c1ee36.system.entry.js +0 -1
- package/dist/pine-core/p-df285ece.system.entry.js +0 -1
- package/dist/pine-core/p-ee114aef.entry.js +0 -1
- package/dist/pine-core/p-ee997fbf.entry.js +0 -2
- package/dist/pine-core/p-f89197c9.entry.js +0 -1
- package/dist/pine-core/p-kYMYDfJY.system.js +0 -1
- package/dist/pine-core/p-u_0lxWnH.js +0 -1
|
@@ -10,10 +10,11 @@ import { Event } from "./stencil-public-runtime";
|
|
|
10
10
|
import { CheckboxChangeEventDetail } from "./components/pds-checkbox/checkbox-interface";
|
|
11
11
|
import { ChipSentimentType, ChipSizeType, ChipVariantType, ModalSizeType, PlacementType } from "./utils/types";
|
|
12
12
|
import { ComboboxLoadOptionsEventDetail, ComboboxOption, ComboboxSearchEventDetail } from "./components/pds-combobox/combobox-interface";
|
|
13
|
+
import { DatepickerChangeEventDetail, DatepickerPreset } from "./components/pds-datepicker/datepicker-interface";
|
|
13
14
|
import { PdsFilterClearEventDetail, PdsFilterCloseEventDetail, PdsFilterOpenEventDetail, PdsFilterVariant } from "./components/pds-filters/pds-filter/filter-interface";
|
|
14
15
|
import { InputChangeEventDetail, InputInputEventDetail } from "./components/pds-input/input-interface";
|
|
15
16
|
import { PluralForms } from "./i18n";
|
|
16
|
-
import { MultiselectChangeEventDetail, MultiselectCreateEventDetail, MultiselectLoadOptionsEventDetail, MultiselectOption, MultiselectSearchEventDetail } from "./components/pds-multiselect/multiselect-interface";
|
|
17
|
+
import { MultiselectChangeEventDetail, MultiselectCreateEventDetail, MultiselectLoadOptionsEventDetail, MultiselectOption, MultiselectOptionActionEventDetail, MultiselectSearchEventDetail } from "./components/pds-multiselect/multiselect-interface";
|
|
17
18
|
import { PdsPopoverEventDetail } from "./components/pds-popover/popover-interface";
|
|
18
19
|
import { RadioGroupChangeEventDetail } from "./components/pds-radio-group/radio-group-interface";
|
|
19
20
|
import { SortableEvent } from "sortablejs";
|
|
@@ -23,10 +24,11 @@ export { Event } from "./stencil-public-runtime";
|
|
|
23
24
|
export { CheckboxChangeEventDetail } from "./components/pds-checkbox/checkbox-interface";
|
|
24
25
|
export { ChipSentimentType, ChipSizeType, ChipVariantType, ModalSizeType, PlacementType } from "./utils/types";
|
|
25
26
|
export { ComboboxLoadOptionsEventDetail, ComboboxOption, ComboboxSearchEventDetail } from "./components/pds-combobox/combobox-interface";
|
|
27
|
+
export { DatepickerChangeEventDetail, DatepickerPreset } from "./components/pds-datepicker/datepicker-interface";
|
|
26
28
|
export { PdsFilterClearEventDetail, PdsFilterCloseEventDetail, PdsFilterOpenEventDetail, PdsFilterVariant } from "./components/pds-filters/pds-filter/filter-interface";
|
|
27
29
|
export { InputChangeEventDetail, InputInputEventDetail } from "./components/pds-input/input-interface";
|
|
28
30
|
export { PluralForms } from "./i18n";
|
|
29
|
-
export { MultiselectChangeEventDetail, MultiselectCreateEventDetail, MultiselectLoadOptionsEventDetail, MultiselectOption, MultiselectSearchEventDetail } from "./components/pds-multiselect/multiselect-interface";
|
|
31
|
+
export { MultiselectChangeEventDetail, MultiselectCreateEventDetail, MultiselectLoadOptionsEventDetail, MultiselectOption, MultiselectOptionActionEventDetail, MultiselectSearchEventDetail } from "./components/pds-multiselect/multiselect-interface";
|
|
30
32
|
export { PdsPopoverEventDetail } from "./components/pds-popover/popover-interface";
|
|
31
33
|
export { RadioGroupChangeEventDetail } from "./components/pds-radio-group/radio-group-interface";
|
|
32
34
|
export { SortableEvent } from "sortablejs";
|
|
@@ -992,6 +994,11 @@ export namespace Components {
|
|
|
992
994
|
* @default false
|
|
993
995
|
*/
|
|
994
996
|
"disabled": boolean;
|
|
997
|
+
/**
|
|
998
|
+
* Accessible prefix for the row that returns to the group list when `group-display` is `drill-in`, read before the open group's label. Pass a translated string to localize it; defaults to English.
|
|
999
|
+
* @defaultValue 'Back'
|
|
1000
|
+
*/
|
|
1001
|
+
"drillInBackLabel": string;
|
|
995
1002
|
/**
|
|
996
1003
|
* Where to mount the dropdown listbox (`host` or `body`, sometimes called “append to body”). Use `body` inside scrollable containers (for example modals) so the list is not clipped by `overflow: hidden` ancestors. The portal is appended to the nearest `<dialog>` when present (including `pds-modal` / `showModal()`), using a composed ascent so shadow DOM and slot boundaries do not hide the dialog from discovery; otherwise it is appended to `document.body`. Keyboard focus remains on the trigger via `aria-activedescendant` so modal focus traps continue to work. Custom `empty` and `loading` slots are not supported when `body` is used; the default empty and loading content is shown instead.
|
|
997
1004
|
* @default 'host'
|
|
@@ -1016,6 +1023,16 @@ export namespace Components {
|
|
|
1016
1023
|
* @default 30000
|
|
1017
1024
|
*/
|
|
1018
1025
|
"fetchTimeout": number;
|
|
1026
|
+
/**
|
|
1027
|
+
* Maximum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value.
|
|
1028
|
+
* @default '380px'
|
|
1029
|
+
*/
|
|
1030
|
+
"flyoutMaxWidth": string;
|
|
1031
|
+
/**
|
|
1032
|
+
* 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`.
|
|
1033
|
+
* @default '280px'
|
|
1034
|
+
*/
|
|
1035
|
+
"flyoutMinWidth": string;
|
|
1019
1036
|
/**
|
|
1020
1037
|
* Function to format async results. Receives raw API response item.
|
|
1021
1038
|
*/
|
|
@@ -1024,6 +1041,11 @@ export namespace Components {
|
|
|
1024
1041
|
* Gets the value of the currently selected option.
|
|
1025
1042
|
*/
|
|
1026
1043
|
"getSelectedValue": () => Promise<string | null>;
|
|
1044
|
+
/**
|
|
1045
|
+
* How option groups (`<optgroup>`, or the `group` field of `options`) are shown in the dropdown. `inline` lists each group's label above its options. `flyout` lists the groups, and opens a group's options in a panel beside it on hover or click; while searching, the matching options are listed under their group labels, and search also matches group labels. `flyout` groups by `<optgroup>` (or `group`) only: options under a `<pds-text>` heading are listed ungrouped. `drill-in` lists the groups too, but a click replaces the list with that group's options and a row back to the groups; use it where nothing can open beside the dropdown, such as a side panel. `flyout` falls back to `drill-in` when there is no room for a flyout on either side.
|
|
1046
|
+
* @default 'inline'
|
|
1047
|
+
*/
|
|
1048
|
+
"groupDisplay": 'inline' | 'flyout' | 'drill-in';
|
|
1027
1049
|
/**
|
|
1028
1050
|
* Helper message to display below the combobox.
|
|
1029
1051
|
*/
|
|
@@ -1063,10 +1085,25 @@ export namespace Components {
|
|
|
1063
1085
|
* Options provided externally (for consumer-managed async).
|
|
1064
1086
|
*/
|
|
1065
1087
|
"options"?: ComboboxOption[];
|
|
1088
|
+
/**
|
|
1089
|
+
* Shows a search field at the top of the dropdown for the `button` and `chip` triggers, which can't be typed into. Search filters the options the same way typing in the `input` trigger does; in a grouped display it also matches group labels.
|
|
1090
|
+
* @default false
|
|
1091
|
+
*/
|
|
1092
|
+
"panelSearch": boolean;
|
|
1066
1093
|
/**
|
|
1067
1094
|
* Placeholder text for the input field.
|
|
1068
1095
|
*/
|
|
1069
1096
|
"placeholder"?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* Accessible label for the search input inside the dropdown panel (`panel-search`). Pass a translated string to localize it; defaults to English.
|
|
1099
|
+
* @defaultValue 'Search options'
|
|
1100
|
+
*/
|
|
1101
|
+
"searchOptionsLabel": string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Placeholder text for the search input inside the dropdown panel (`panel-search`). Pass a translated string to localize it; defaults to English.
|
|
1104
|
+
* @defaultValue 'Find...'
|
|
1105
|
+
*/
|
|
1106
|
+
"searchPlaceholder": string;
|
|
1070
1107
|
/**
|
|
1071
1108
|
* Sets focus on the native input element.
|
|
1072
1109
|
*/
|
|
@@ -1138,6 +1175,233 @@ export namespace Components {
|
|
|
1138
1175
|
*/
|
|
1139
1176
|
"value": string;
|
|
1140
1177
|
}
|
|
1178
|
+
/**
|
|
1179
|
+
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
1180
|
+
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
1181
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
1182
|
+
*/
|
|
1183
|
+
interface PdsDatepicker {
|
|
1184
|
+
/**
|
|
1185
|
+
* Accessible label for the button that applies the chosen dates.
|
|
1186
|
+
* @default 'Apply'
|
|
1187
|
+
*/
|
|
1188
|
+
"applyLabel": string;
|
|
1189
|
+
/**
|
|
1190
|
+
* In range mode, applies the range as soon as its end or a preset is picked, without the Apply and Cancel buttons. Has no effect with the time picker, whose times still need Apply.
|
|
1191
|
+
* @default false
|
|
1192
|
+
*/
|
|
1193
|
+
"autoApply": boolean;
|
|
1194
|
+
/**
|
|
1195
|
+
* Accessible label for the button that closes the calendar without changing the dates.
|
|
1196
|
+
* @default 'Cancel'
|
|
1197
|
+
*/
|
|
1198
|
+
"cancelLabel": string;
|
|
1199
|
+
/**
|
|
1200
|
+
* Accessible label for the button that empties the field, when `clearable` is set.
|
|
1201
|
+
* @default 'Clear'
|
|
1202
|
+
*/
|
|
1203
|
+
"clearLabel": string;
|
|
1204
|
+
/**
|
|
1205
|
+
* Adds a button in the field that empties it, shown while there's a value. Where Apply and Cancel buttons show, Clear also takes the place of Cancel.
|
|
1206
|
+
* @default false
|
|
1207
|
+
*/
|
|
1208
|
+
"clearable": boolean;
|
|
1209
|
+
/**
|
|
1210
|
+
* Closes the calendar.
|
|
1211
|
+
*/
|
|
1212
|
+
"close": () => Promise<void>;
|
|
1213
|
+
/**
|
|
1214
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
1215
|
+
*/
|
|
1216
|
+
"componentId": string;
|
|
1217
|
+
/**
|
|
1218
|
+
* The label of the presets entry that stands for a range of your own. Range mode with presets only.
|
|
1219
|
+
* @default 'Custom range'
|
|
1220
|
+
*/
|
|
1221
|
+
"customRangeLabel": string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Determines whether or not the datepicker is disabled.
|
|
1224
|
+
*/
|
|
1225
|
+
"disabled"?: boolean;
|
|
1226
|
+
/**
|
|
1227
|
+
* Accessible label for the end time, in range mode with the time picker.
|
|
1228
|
+
* @default 'End time'
|
|
1229
|
+
*/
|
|
1230
|
+
"endTimeLabel": string;
|
|
1231
|
+
/**
|
|
1232
|
+
* Specifies the error message and provides an error-themed treatment to the field.
|
|
1233
|
+
*/
|
|
1234
|
+
"errorMessage"?: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* The first day of the week in the calendar, from `0` (Sunday) to `6` (Saturday). Defaults to the locale's first day where the browser reports it, otherwise Sunday.
|
|
1237
|
+
*/
|
|
1238
|
+
"firstDayOfWeek"?: number;
|
|
1239
|
+
/**
|
|
1240
|
+
* 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.
|
|
1241
|
+
* @default 'YYYY-MM-DD'
|
|
1242
|
+
*/
|
|
1243
|
+
"format": string;
|
|
1244
|
+
/**
|
|
1245
|
+
* Determines whether or not the datepicker takes full width of its container.
|
|
1246
|
+
*/
|
|
1247
|
+
"fullWidth"?: boolean;
|
|
1248
|
+
/**
|
|
1249
|
+
* Displays a message or hint below the field.
|
|
1250
|
+
*/
|
|
1251
|
+
"helperMessage"?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* Visually hides the label text for instances where only the field should be displayed. Label remains accessible to assistive technology such as screen readers.
|
|
1254
|
+
*/
|
|
1255
|
+
"hideLabel": boolean;
|
|
1256
|
+
/**
|
|
1257
|
+
* Accessible label for the hour in the time picker.
|
|
1258
|
+
* @default 'Hour'
|
|
1259
|
+
*/
|
|
1260
|
+
"hourLabel": string;
|
|
1261
|
+
/**
|
|
1262
|
+
* Determines whether or not the datepicker is invalid or throws an error.
|
|
1263
|
+
*/
|
|
1264
|
+
"invalid"?: boolean;
|
|
1265
|
+
/**
|
|
1266
|
+
* The validation message the form reports when the typed text isn't a date that can be picked.
|
|
1267
|
+
* @default 'Enter a date in the format shown.'
|
|
1268
|
+
*/
|
|
1269
|
+
"invalidDateMessage": string;
|
|
1270
|
+
/**
|
|
1271
|
+
* Text to be displayed as the datepicker label.
|
|
1272
|
+
*/
|
|
1273
|
+
"label"?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* The locale used for month and weekday names, as a BCP 47 language tag such as `en-US` or `fr`. Defaults to the nearest `lang` attribute, then the page's `<html lang>`, then `en`.
|
|
1276
|
+
*/
|
|
1277
|
+
"locale"?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* The latest date that can be picked, as `YYYY-MM-DD`.
|
|
1280
|
+
*/
|
|
1281
|
+
"max"?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* The validation message the form reports for a date after `max`. `{date}` is replaced by the latest date, in the field's format.
|
|
1284
|
+
* @default 'Choose {date} or earlier.'
|
|
1285
|
+
*/
|
|
1286
|
+
"maxDateMessage": string;
|
|
1287
|
+
/**
|
|
1288
|
+
* The earliest date that can be picked, as `YYYY-MM-DD`.
|
|
1289
|
+
*/
|
|
1290
|
+
"min"?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* The validation message the form reports for a date before `min`. `{date}` is replaced by the earliest date, in the field's format.
|
|
1293
|
+
* @default 'Choose {date} or later.'
|
|
1294
|
+
*/
|
|
1295
|
+
"minDateMessage": string;
|
|
1296
|
+
/**
|
|
1297
|
+
* The minutes the time picker steps by, such as `15` or `30`.
|
|
1298
|
+
* @default 1
|
|
1299
|
+
*/
|
|
1300
|
+
"minuteIncrement": number;
|
|
1301
|
+
/**
|
|
1302
|
+
* Accessible label for the minute in the time picker.
|
|
1303
|
+
* @default 'Minute'
|
|
1304
|
+
*/
|
|
1305
|
+
"minuteLabel": string;
|
|
1306
|
+
/**
|
|
1307
|
+
* Accessible label for the month dropdown, when `show-dropdowns` is set.
|
|
1308
|
+
* @default 'Month'
|
|
1309
|
+
*/
|
|
1310
|
+
"monthLabel": string;
|
|
1311
|
+
/**
|
|
1312
|
+
* Specifies the name. Submitted with the form name/value pair.
|
|
1313
|
+
*/
|
|
1314
|
+
"name"?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* Accessible label for the button that shows the next month.
|
|
1317
|
+
* @default 'Next month'
|
|
1318
|
+
*/
|
|
1319
|
+
"nextMonthLabel": string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Opens the calendar and moves focus to the selected day, or today.
|
|
1322
|
+
*/
|
|
1323
|
+
"open": () => Promise<void>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Accessible label for the AM or PM choice in the time picker, in locales with a 12-hour clock.
|
|
1326
|
+
* @default 'AM or PM'
|
|
1327
|
+
*/
|
|
1328
|
+
"periodLabel": string;
|
|
1329
|
+
/**
|
|
1330
|
+
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`.
|
|
1331
|
+
*/
|
|
1332
|
+
"placeholder"?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* The placement of the calendar relative to the field.
|
|
1335
|
+
* @default 'bottom-start'
|
|
1336
|
+
*/
|
|
1337
|
+
"placement": PlacementType;
|
|
1338
|
+
/**
|
|
1339
|
+
* 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.
|
|
1340
|
+
*/
|
|
1341
|
+
"presets"?: string | DatepickerPreset[];
|
|
1342
|
+
/**
|
|
1343
|
+
* Accessible label for the list of presets, in range mode.
|
|
1344
|
+
* @default 'Presets'
|
|
1345
|
+
*/
|
|
1346
|
+
"presetsLabel": string;
|
|
1347
|
+
/**
|
|
1348
|
+
* Accessible label for the button that shows the previous month.
|
|
1349
|
+
* @default 'Previous month'
|
|
1350
|
+
*/
|
|
1351
|
+
"previousMonthLabel": string;
|
|
1352
|
+
/**
|
|
1353
|
+
* Picks a range: a start and an end date, from two months side by side, applied with the Apply button. The value is `YYYY-MM-DD/YYYY-MM-DD`.
|
|
1354
|
+
* @default false
|
|
1355
|
+
*/
|
|
1356
|
+
"range": boolean;
|
|
1357
|
+
/**
|
|
1358
|
+
* Determines whether or not the datepicker is readonly.
|
|
1359
|
+
*/
|
|
1360
|
+
"readonly"?: boolean;
|
|
1361
|
+
/**
|
|
1362
|
+
* Determines whether or not the datepicker is required.
|
|
1363
|
+
*/
|
|
1364
|
+
"required"?: boolean;
|
|
1365
|
+
/**
|
|
1366
|
+
* Sets focus on the datepicker's text field.
|
|
1367
|
+
*/
|
|
1368
|
+
"setFocus": () => Promise<void>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Shows month and year dropdowns in place of the month heading, for jumping far, as to a birth year.
|
|
1371
|
+
* @default false
|
|
1372
|
+
*/
|
|
1373
|
+
"showDropdowns": boolean;
|
|
1374
|
+
/**
|
|
1375
|
+
* Accessible label for the start time, in range mode with the time picker.
|
|
1376
|
+
* @default 'Start time'
|
|
1377
|
+
*/
|
|
1378
|
+
"startTimeLabel": string;
|
|
1379
|
+
/**
|
|
1380
|
+
* Accessible label for the time, with the time picker and a single date.
|
|
1381
|
+
* @default 'Time'
|
|
1382
|
+
*/
|
|
1383
|
+
"timeLabel": string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Adds hour and minute pickers below the calendar, and the value carries the time as `YYYY-MM-DDTHH:mm`. The dates are applied with the Apply button.
|
|
1386
|
+
* @default false
|
|
1387
|
+
*/
|
|
1388
|
+
"timePicker": boolean;
|
|
1389
|
+
/**
|
|
1390
|
+
* Accessible label for the button that opens the calendar. The selected date is added to it.
|
|
1391
|
+
* @default 'Choose date'
|
|
1392
|
+
*/
|
|
1393
|
+
"triggerLabel": string;
|
|
1394
|
+
/**
|
|
1395
|
+
* 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`. An empty string when nothing is selected.
|
|
1396
|
+
* @default ''
|
|
1397
|
+
*/
|
|
1398
|
+
"value"?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Accessible label for the year dropdown, when `show-dropdowns` is set.
|
|
1401
|
+
* @default 'Year'
|
|
1402
|
+
*/
|
|
1403
|
+
"yearLabel": string;
|
|
1404
|
+
}
|
|
1141
1405
|
interface PdsDivider {
|
|
1142
1406
|
/**
|
|
1143
1407
|
* A unique identifier used for the underlying component `id` attribute.
|
|
@@ -1737,6 +2001,26 @@ export namespace Components {
|
|
|
1737
2001
|
* @defaultValue 'No options found'
|
|
1738
2002
|
*/
|
|
1739
2003
|
"noOptionsFoundLabel": string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Screen-reader hint on each option that has an action, naming the key that runs it. Pass a translated string to localize it; `{action}` is interpolated with the option's action label.
|
|
2006
|
+
* @defaultValue 'Press Right Arrow to {action}'
|
|
2007
|
+
*/
|
|
2008
|
+
"optionActionDescription": string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Tooltip for an option's action icon when the option has no `actionLabel`. Pass a translated string to localize it; `{text}` is interpolated.
|
|
2011
|
+
* @defaultValue 'Edit {text}'
|
|
2012
|
+
*/
|
|
2013
|
+
"optionActionLabel": string;
|
|
2014
|
+
/**
|
|
2015
|
+
* Shows an action icon on each option that has an `actionIcon`, such as an edit pencil. The icon shows on the hovered or highlighted option; clicking it, or pressing Right Arrow on the highlighted option, emits `pdsMultiselectOptionAction`.
|
|
2016
|
+
* @default false
|
|
2017
|
+
*/
|
|
2018
|
+
"optionActions": boolean;
|
|
2019
|
+
/**
|
|
2020
|
+
* Display mode for options in the dropdown panel. `'text'` shows each option's text (default). `'chip'` shows each option as a pds-chip, with a dot when the option has a `dotColor`.
|
|
2021
|
+
* @defaultValue 'text'
|
|
2022
|
+
*/
|
|
2023
|
+
"optionDisplay": 'text' | 'chip';
|
|
1740
2024
|
/**
|
|
1741
2025
|
* Options provided externally (for consumer-managed async). When using `group` on options, keep each group block contiguous in the array. The same `group` label appearing again after other items produces a separate header (same as native `<optgroup>`).
|
|
1742
2026
|
*/
|
|
@@ -1765,6 +2049,10 @@ export namespace Components {
|
|
|
1765
2049
|
* @defaultValue 'Select...'
|
|
1766
2050
|
*/
|
|
1767
2051
|
"placeholder": string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Refetches the first page of options from `asyncUrl` for the current search, such as after an option is renamed or recolored elsewhere. Selected items in that page pick up the new text and dot color without emitting a change; other selected items keep the text and dot color they were last loaded with. Does nothing without `asyncUrl`.
|
|
2054
|
+
*/
|
|
2055
|
+
"refreshOptions": () => Promise<void>;
|
|
1768
2056
|
/**
|
|
1769
2057
|
* If true, the multiselect is required.
|
|
1770
2058
|
* @default false
|
|
@@ -2632,6 +2920,10 @@ export interface PdsCopytextCustomEvent<T> extends CustomEvent<T> {
|
|
|
2632
2920
|
detail: T;
|
|
2633
2921
|
target: HTMLPdsCopytextElement;
|
|
2634
2922
|
}
|
|
2923
|
+
export interface PdsDatepickerCustomEvent<T> extends CustomEvent<T> {
|
|
2924
|
+
detail: T;
|
|
2925
|
+
target: HTMLPdsDatepickerElement;
|
|
2926
|
+
}
|
|
2635
2927
|
export interface PdsDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
2636
2928
|
detail: T;
|
|
2637
2929
|
target: HTMLPdsDrawerElement;
|
|
@@ -2872,6 +3164,30 @@ declare global {
|
|
|
2872
3164
|
prototype: HTMLPdsCopytextElement;
|
|
2873
3165
|
new (): HTMLPdsCopytextElement;
|
|
2874
3166
|
};
|
|
3167
|
+
interface HTMLPdsDatepickerElementEventMap {
|
|
3168
|
+
"pdsDatepickerChange": DatepickerChangeEventDetail;
|
|
3169
|
+
"pdsBlur": FocusEvent;
|
|
3170
|
+
"pdsFocus": FocusEvent;
|
|
3171
|
+
}
|
|
3172
|
+
/**
|
|
3173
|
+
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
3174
|
+
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
3175
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
3176
|
+
*/
|
|
3177
|
+
interface HTMLPdsDatepickerElement extends Components.PdsDatepicker, HTMLStencilElement {
|
|
3178
|
+
addEventListener<K extends keyof HTMLPdsDatepickerElementEventMap>(type: K, listener: (this: HTMLPdsDatepickerElement, ev: PdsDatepickerCustomEvent<HTMLPdsDatepickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3179
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3180
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3181
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3182
|
+
removeEventListener<K extends keyof HTMLPdsDatepickerElementEventMap>(type: K, listener: (this: HTMLPdsDatepickerElement, ev: PdsDatepickerCustomEvent<HTMLPdsDatepickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3183
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3184
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3185
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3186
|
+
}
|
|
3187
|
+
var HTMLPdsDatepickerElement: {
|
|
3188
|
+
prototype: HTMLPdsDatepickerElement;
|
|
3189
|
+
new (): HTMLPdsDatepickerElement;
|
|
3190
|
+
};
|
|
2875
3191
|
interface HTMLPdsDividerElement extends Components.PdsDivider, HTMLStencilElement {
|
|
2876
3192
|
}
|
|
2877
3193
|
var HTMLPdsDividerElement: {
|
|
@@ -3070,6 +3386,7 @@ declare global {
|
|
|
3070
3386
|
"pdsMultiselectLoadOptions": MultiselectLoadOptionsEventDetail;
|
|
3071
3387
|
"pdsMultiselectCreate": MultiselectCreateEventDetail;
|
|
3072
3388
|
"pdsMultiselectDismiss": void;
|
|
3389
|
+
"pdsMultiselectOptionAction": MultiselectOptionActionEventDetail;
|
|
3073
3390
|
}
|
|
3074
3391
|
interface HTMLPdsMultiselectElement extends Components.PdsMultiselect, HTMLStencilElement {
|
|
3075
3392
|
addEventListener<K extends keyof HTMLPdsMultiselectElementEventMap>(type: K, listener: (this: HTMLPdsMultiselectElement, ev: PdsMultiselectCustomEvent<HTMLPdsMultiselectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3386,6 +3703,7 @@ declare global {
|
|
|
3386
3703
|
"pds-combobox": HTMLPdsComboboxElement;
|
|
3387
3704
|
"pds-container": HTMLPdsContainerElement;
|
|
3388
3705
|
"pds-copytext": HTMLPdsCopytextElement;
|
|
3706
|
+
"pds-datepicker": HTMLPdsDatepickerElement;
|
|
3389
3707
|
"pds-divider": HTMLPdsDividerElement;
|
|
3390
3708
|
"pds-drawer": HTMLPdsDrawerElement;
|
|
3391
3709
|
"pds-drawer-content": HTMLPdsDrawerContentElement;
|
|
@@ -4415,6 +4733,11 @@ declare namespace LocalJSX {
|
|
|
4415
4733
|
* @default false
|
|
4416
4734
|
*/
|
|
4417
4735
|
"disabled"?: boolean;
|
|
4736
|
+
/**
|
|
4737
|
+
* Accessible prefix for the row that returns to the group list when `group-display` is `drill-in`, read before the open group's label. Pass a translated string to localize it; defaults to English.
|
|
4738
|
+
* @defaultValue 'Back'
|
|
4739
|
+
*/
|
|
4740
|
+
"drillInBackLabel"?: string;
|
|
4418
4741
|
/**
|
|
4419
4742
|
* Where to mount the dropdown listbox (`host` or `body`, sometimes called “append to body”). Use `body` inside scrollable containers (for example modals) so the list is not clipped by `overflow: hidden` ancestors. The portal is appended to the nearest `<dialog>` when present (including `pds-modal` / `showModal()`), using a composed ascent so shadow DOM and slot boundaries do not hide the dialog from discovery; otherwise it is appended to `document.body`. Keyboard focus remains on the trigger via `aria-activedescendant` so modal focus traps continue to work. Custom `empty` and `loading` slots are not supported when `body` is used; the default empty and loading content is shown instead.
|
|
4420
4743
|
* @default 'host'
|
|
@@ -4439,6 +4762,16 @@ declare namespace LocalJSX {
|
|
|
4439
4762
|
* @default 30000
|
|
4440
4763
|
*/
|
|
4441
4764
|
"fetchTimeout"?: number;
|
|
4765
|
+
/**
|
|
4766
|
+
* Maximum width of a group's flyout when `group-display` is `flyout`. Any valid CSS width value.
|
|
4767
|
+
* @default '380px'
|
|
4768
|
+
*/
|
|
4769
|
+
"flyoutMaxWidth"?: string;
|
|
4770
|
+
/**
|
|
4771
|
+
* 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`.
|
|
4772
|
+
* @default '280px'
|
|
4773
|
+
*/
|
|
4774
|
+
"flyoutMinWidth"?: string;
|
|
4442
4775
|
/**
|
|
4443
4776
|
* The `id` of a `<form>` element to associate this element with.
|
|
4444
4777
|
*/
|
|
@@ -4447,6 +4780,11 @@ declare namespace LocalJSX {
|
|
|
4447
4780
|
* Function to format async results. Receives raw API response item.
|
|
4448
4781
|
*/
|
|
4449
4782
|
"formatResult"?: (item: unknown) => ComboboxOption;
|
|
4783
|
+
/**
|
|
4784
|
+
* How option groups (`<optgroup>`, or the `group` field of `options`) are shown in the dropdown. `inline` lists each group's label above its options. `flyout` lists the groups, and opens a group's options in a panel beside it on hover or click; while searching, the matching options are listed under their group labels, and search also matches group labels. `flyout` groups by `<optgroup>` (or `group`) only: options under a `<pds-text>` heading are listed ungrouped. `drill-in` lists the groups too, but a click replaces the list with that group's options and a row back to the groups; use it where nothing can open beside the dropdown, such as a side panel. `flyout` falls back to `drill-in` when there is no room for a flyout on either side.
|
|
4785
|
+
* @default 'inline'
|
|
4786
|
+
*/
|
|
4787
|
+
"groupDisplay"?: 'inline' | 'flyout' | 'drill-in';
|
|
4450
4788
|
/**
|
|
4451
4789
|
* Helper message to display below the combobox.
|
|
4452
4790
|
*/
|
|
@@ -4498,10 +4836,25 @@ declare namespace LocalJSX {
|
|
|
4498
4836
|
* Options provided externally (for consumer-managed async).
|
|
4499
4837
|
*/
|
|
4500
4838
|
"options"?: ComboboxOption[];
|
|
4839
|
+
/**
|
|
4840
|
+
* Shows a search field at the top of the dropdown for the `button` and `chip` triggers, which can't be typed into. Search filters the options the same way typing in the `input` trigger does; in a grouped display it also matches group labels.
|
|
4841
|
+
* @default false
|
|
4842
|
+
*/
|
|
4843
|
+
"panelSearch"?: boolean;
|
|
4501
4844
|
/**
|
|
4502
4845
|
* Placeholder text for the input field.
|
|
4503
4846
|
*/
|
|
4504
4847
|
"placeholder"?: string;
|
|
4848
|
+
/**
|
|
4849
|
+
* Accessible label for the search input inside the dropdown panel (`panel-search`). Pass a translated string to localize it; defaults to English.
|
|
4850
|
+
* @defaultValue 'Search options'
|
|
4851
|
+
*/
|
|
4852
|
+
"searchOptionsLabel"?: string;
|
|
4853
|
+
/**
|
|
4854
|
+
* Placeholder text for the search input inside the dropdown panel (`panel-search`). Pass a translated string to localize it; defaults to English.
|
|
4855
|
+
* @defaultValue 'Find...'
|
|
4856
|
+
*/
|
|
4857
|
+
"searchPlaceholder"?: string;
|
|
4505
4858
|
/**
|
|
4506
4859
|
* Determines the combobox trigger: 'input' (editable input), 'button' (button-like, non-editable), or 'chip' (chip-like, non-editable).
|
|
4507
4860
|
* @default 'input'
|
|
@@ -4573,6 +4926,237 @@ declare namespace LocalJSX {
|
|
|
4573
4926
|
*/
|
|
4574
4927
|
"value": string;
|
|
4575
4928
|
}
|
|
4929
|
+
/**
|
|
4930
|
+
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
4931
|
+
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
4932
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
4933
|
+
*/
|
|
4934
|
+
interface PdsDatepicker {
|
|
4935
|
+
/**
|
|
4936
|
+
* Accessible label for the button that applies the chosen dates.
|
|
4937
|
+
* @default 'Apply'
|
|
4938
|
+
*/
|
|
4939
|
+
"applyLabel"?: string;
|
|
4940
|
+
/**
|
|
4941
|
+
* In range mode, applies the range as soon as its end or a preset is picked, without the Apply and Cancel buttons. Has no effect with the time picker, whose times still need Apply.
|
|
4942
|
+
* @default false
|
|
4943
|
+
*/
|
|
4944
|
+
"autoApply"?: boolean;
|
|
4945
|
+
/**
|
|
4946
|
+
* Accessible label for the button that closes the calendar without changing the dates.
|
|
4947
|
+
* @default 'Cancel'
|
|
4948
|
+
*/
|
|
4949
|
+
"cancelLabel"?: string;
|
|
4950
|
+
/**
|
|
4951
|
+
* Accessible label for the button that empties the field, when `clearable` is set.
|
|
4952
|
+
* @default 'Clear'
|
|
4953
|
+
*/
|
|
4954
|
+
"clearLabel"?: string;
|
|
4955
|
+
/**
|
|
4956
|
+
* Adds a button in the field that empties it, shown while there's a value. Where Apply and Cancel buttons show, Clear also takes the place of Cancel.
|
|
4957
|
+
* @default false
|
|
4958
|
+
*/
|
|
4959
|
+
"clearable"?: boolean;
|
|
4960
|
+
/**
|
|
4961
|
+
* A unique identifier used for the underlying component `id` attribute.
|
|
4962
|
+
*/
|
|
4963
|
+
"componentId": string;
|
|
4964
|
+
/**
|
|
4965
|
+
* The label of the presets entry that stands for a range of your own. Range mode with presets only.
|
|
4966
|
+
* @default 'Custom range'
|
|
4967
|
+
*/
|
|
4968
|
+
"customRangeLabel"?: string;
|
|
4969
|
+
/**
|
|
4970
|
+
* Determines whether or not the datepicker is disabled.
|
|
4971
|
+
*/
|
|
4972
|
+
"disabled"?: boolean;
|
|
4973
|
+
/**
|
|
4974
|
+
* Accessible label for the end time, in range mode with the time picker.
|
|
4975
|
+
* @default 'End time'
|
|
4976
|
+
*/
|
|
4977
|
+
"endTimeLabel"?: string;
|
|
4978
|
+
/**
|
|
4979
|
+
* Specifies the error message and provides an error-themed treatment to the field.
|
|
4980
|
+
*/
|
|
4981
|
+
"errorMessage"?: string;
|
|
4982
|
+
/**
|
|
4983
|
+
* The first day of the week in the calendar, from `0` (Sunday) to `6` (Saturday). Defaults to the locale's first day where the browser reports it, otherwise Sunday.
|
|
4984
|
+
*/
|
|
4985
|
+
"firstDayOfWeek"?: number;
|
|
4986
|
+
/**
|
|
4987
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
4988
|
+
*/
|
|
4989
|
+
"form"?: string;
|
|
4990
|
+
/**
|
|
4991
|
+
* 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.
|
|
4992
|
+
* @default 'YYYY-MM-DD'
|
|
4993
|
+
*/
|
|
4994
|
+
"format"?: string;
|
|
4995
|
+
/**
|
|
4996
|
+
* Determines whether or not the datepicker takes full width of its container.
|
|
4997
|
+
*/
|
|
4998
|
+
"fullWidth"?: boolean;
|
|
4999
|
+
/**
|
|
5000
|
+
* Displays a message or hint below the field.
|
|
5001
|
+
*/
|
|
5002
|
+
"helperMessage"?: string;
|
|
5003
|
+
/**
|
|
5004
|
+
* Visually hides the label text for instances where only the field should be displayed. Label remains accessible to assistive technology such as screen readers.
|
|
5005
|
+
*/
|
|
5006
|
+
"hideLabel"?: boolean;
|
|
5007
|
+
/**
|
|
5008
|
+
* Accessible label for the hour in the time picker.
|
|
5009
|
+
* @default 'Hour'
|
|
5010
|
+
*/
|
|
5011
|
+
"hourLabel"?: string;
|
|
5012
|
+
/**
|
|
5013
|
+
* Determines whether or not the datepicker is invalid or throws an error.
|
|
5014
|
+
*/
|
|
5015
|
+
"invalid"?: boolean;
|
|
5016
|
+
/**
|
|
5017
|
+
* The validation message the form reports when the typed text isn't a date that can be picked.
|
|
5018
|
+
* @default 'Enter a date in the format shown.'
|
|
5019
|
+
*/
|
|
5020
|
+
"invalidDateMessage"?: string;
|
|
5021
|
+
/**
|
|
5022
|
+
* Text to be displayed as the datepicker label.
|
|
5023
|
+
*/
|
|
5024
|
+
"label"?: string;
|
|
5025
|
+
/**
|
|
5026
|
+
* The locale used for month and weekday names, as a BCP 47 language tag such as `en-US` or `fr`. Defaults to the nearest `lang` attribute, then the page's `<html lang>`, then `en`.
|
|
5027
|
+
*/
|
|
5028
|
+
"locale"?: string;
|
|
5029
|
+
/**
|
|
5030
|
+
* The latest date that can be picked, as `YYYY-MM-DD`.
|
|
5031
|
+
*/
|
|
5032
|
+
"max"?: string;
|
|
5033
|
+
/**
|
|
5034
|
+
* The validation message the form reports for a date after `max`. `{date}` is replaced by the latest date, in the field's format.
|
|
5035
|
+
* @default 'Choose {date} or earlier.'
|
|
5036
|
+
*/
|
|
5037
|
+
"maxDateMessage"?: string;
|
|
5038
|
+
/**
|
|
5039
|
+
* The earliest date that can be picked, as `YYYY-MM-DD`.
|
|
5040
|
+
*/
|
|
5041
|
+
"min"?: string;
|
|
5042
|
+
/**
|
|
5043
|
+
* The validation message the form reports for a date before `min`. `{date}` is replaced by the earliest date, in the field's format.
|
|
5044
|
+
* @default 'Choose {date} or later.'
|
|
5045
|
+
*/
|
|
5046
|
+
"minDateMessage"?: string;
|
|
5047
|
+
/**
|
|
5048
|
+
* The minutes the time picker steps by, such as `15` or `30`.
|
|
5049
|
+
* @default 1
|
|
5050
|
+
*/
|
|
5051
|
+
"minuteIncrement"?: number;
|
|
5052
|
+
/**
|
|
5053
|
+
* Accessible label for the minute in the time picker.
|
|
5054
|
+
* @default 'Minute'
|
|
5055
|
+
*/
|
|
5056
|
+
"minuteLabel"?: string;
|
|
5057
|
+
/**
|
|
5058
|
+
* Accessible label for the month dropdown, when `show-dropdowns` is set.
|
|
5059
|
+
* @default 'Month'
|
|
5060
|
+
*/
|
|
5061
|
+
"monthLabel"?: string;
|
|
5062
|
+
/**
|
|
5063
|
+
* Specifies the name. Submitted with the form name/value pair.
|
|
5064
|
+
*/
|
|
5065
|
+
"name"?: string;
|
|
5066
|
+
/**
|
|
5067
|
+
* Accessible label for the button that shows the next month.
|
|
5068
|
+
* @default 'Next month'
|
|
5069
|
+
*/
|
|
5070
|
+
"nextMonthLabel"?: string;
|
|
5071
|
+
/**
|
|
5072
|
+
* Emitted when the datepicker loses focus: when focus leaves the field and the calendar.
|
|
5073
|
+
*/
|
|
5074
|
+
"onPdsBlur"?: (event: PdsDatepickerCustomEvent<FocusEvent>) => void;
|
|
5075
|
+
/**
|
|
5076
|
+
* Emitted when the value changes. This event will not emit when programmatically setting the `value` property.
|
|
5077
|
+
*/
|
|
5078
|
+
"onPdsDatepickerChange"?: (event: PdsDatepickerCustomEvent<DatepickerChangeEventDetail>) => void;
|
|
5079
|
+
/**
|
|
5080
|
+
* Emitted when the datepicker gains focus: when focus moves into the field or the calendar from outside.
|
|
5081
|
+
*/
|
|
5082
|
+
"onPdsFocus"?: (event: PdsDatepickerCustomEvent<FocusEvent>) => void;
|
|
5083
|
+
/**
|
|
5084
|
+
* Accessible label for the AM or PM choice in the time picker, in locales with a 12-hour clock.
|
|
5085
|
+
* @default 'AM or PM'
|
|
5086
|
+
*/
|
|
5087
|
+
"periodLabel"?: string;
|
|
5088
|
+
/**
|
|
5089
|
+
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`.
|
|
5090
|
+
*/
|
|
5091
|
+
"placeholder"?: string;
|
|
5092
|
+
/**
|
|
5093
|
+
* The placement of the calendar relative to the field.
|
|
5094
|
+
* @default 'bottom-start'
|
|
5095
|
+
*/
|
|
5096
|
+
"placement"?: PlacementType;
|
|
5097
|
+
/**
|
|
5098
|
+
* 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.
|
|
5099
|
+
*/
|
|
5100
|
+
"presets"?: string | DatepickerPreset[];
|
|
5101
|
+
/**
|
|
5102
|
+
* Accessible label for the list of presets, in range mode.
|
|
5103
|
+
* @default 'Presets'
|
|
5104
|
+
*/
|
|
5105
|
+
"presetsLabel"?: string;
|
|
5106
|
+
/**
|
|
5107
|
+
* Accessible label for the button that shows the previous month.
|
|
5108
|
+
* @default 'Previous month'
|
|
5109
|
+
*/
|
|
5110
|
+
"previousMonthLabel"?: string;
|
|
5111
|
+
/**
|
|
5112
|
+
* Picks a range: a start and an end date, from two months side by side, applied with the Apply button. The value is `YYYY-MM-DD/YYYY-MM-DD`.
|
|
5113
|
+
* @default false
|
|
5114
|
+
*/
|
|
5115
|
+
"range"?: boolean;
|
|
5116
|
+
/**
|
|
5117
|
+
* Determines whether or not the datepicker is readonly.
|
|
5118
|
+
*/
|
|
5119
|
+
"readonly"?: boolean;
|
|
5120
|
+
/**
|
|
5121
|
+
* Determines whether or not the datepicker is required.
|
|
5122
|
+
*/
|
|
5123
|
+
"required"?: boolean;
|
|
5124
|
+
/**
|
|
5125
|
+
* Shows month and year dropdowns in place of the month heading, for jumping far, as to a birth year.
|
|
5126
|
+
* @default false
|
|
5127
|
+
*/
|
|
5128
|
+
"showDropdowns"?: boolean;
|
|
5129
|
+
/**
|
|
5130
|
+
* Accessible label for the start time, in range mode with the time picker.
|
|
5131
|
+
* @default 'Start time'
|
|
5132
|
+
*/
|
|
5133
|
+
"startTimeLabel"?: string;
|
|
5134
|
+
/**
|
|
5135
|
+
* Accessible label for the time, with the time picker and a single date.
|
|
5136
|
+
* @default 'Time'
|
|
5137
|
+
*/
|
|
5138
|
+
"timeLabel"?: string;
|
|
5139
|
+
/**
|
|
5140
|
+
* Adds hour and minute pickers below the calendar, and the value carries the time as `YYYY-MM-DDTHH:mm`. The dates are applied with the Apply button.
|
|
5141
|
+
* @default false
|
|
5142
|
+
*/
|
|
5143
|
+
"timePicker"?: boolean;
|
|
5144
|
+
/**
|
|
5145
|
+
* Accessible label for the button that opens the calendar. The selected date is added to it.
|
|
5146
|
+
* @default 'Choose date'
|
|
5147
|
+
*/
|
|
5148
|
+
"triggerLabel"?: string;
|
|
5149
|
+
/**
|
|
5150
|
+
* 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`. An empty string when nothing is selected.
|
|
5151
|
+
* @default ''
|
|
5152
|
+
*/
|
|
5153
|
+
"value"?: string;
|
|
5154
|
+
/**
|
|
5155
|
+
* Accessible label for the year dropdown, when `show-dropdowns` is set.
|
|
5156
|
+
* @default 'Year'
|
|
5157
|
+
*/
|
|
5158
|
+
"yearLabel"?: string;
|
|
5159
|
+
}
|
|
4576
5160
|
interface PdsDivider {
|
|
4577
5161
|
/**
|
|
4578
5162
|
* A unique identifier used for the underlying component `id` attribute.
|
|
@@ -5220,10 +5804,34 @@ declare namespace LocalJSX {
|
|
|
5220
5804
|
* Emitted to request more options (pagination).
|
|
5221
5805
|
*/
|
|
5222
5806
|
"onPdsMultiselectLoadOptions"?: (event: PdsMultiselectCustomEvent<MultiselectLoadOptionsEventDetail>) => void;
|
|
5807
|
+
/**
|
|
5808
|
+
* Emitted when an option's action runs, from a click on its icon or Right Arrow on the highlighted option. The panel closes and focus returns to the trigger first, so a modal opened from the handler restores focus to the trigger.
|
|
5809
|
+
*/
|
|
5810
|
+
"onPdsMultiselectOptionAction"?: (event: PdsMultiselectCustomEvent<MultiselectOptionActionEventDetail>) => void;
|
|
5223
5811
|
/**
|
|
5224
5812
|
* Emitted on search input (for consumer-managed async).
|
|
5225
5813
|
*/
|
|
5226
5814
|
"onPdsMultiselectSearch"?: (event: PdsMultiselectCustomEvent<MultiselectSearchEventDetail>) => void;
|
|
5815
|
+
/**
|
|
5816
|
+
* Screen-reader hint on each option that has an action, naming the key that runs it. Pass a translated string to localize it; `{action}` is interpolated with the option's action label.
|
|
5817
|
+
* @defaultValue 'Press Right Arrow to {action}'
|
|
5818
|
+
*/
|
|
5819
|
+
"optionActionDescription"?: string;
|
|
5820
|
+
/**
|
|
5821
|
+
* Tooltip for an option's action icon when the option has no `actionLabel`. Pass a translated string to localize it; `{text}` is interpolated.
|
|
5822
|
+
* @defaultValue 'Edit {text}'
|
|
5823
|
+
*/
|
|
5824
|
+
"optionActionLabel"?: string;
|
|
5825
|
+
/**
|
|
5826
|
+
* Shows an action icon on each option that has an `actionIcon`, such as an edit pencil. The icon shows on the hovered or highlighted option; clicking it, or pressing Right Arrow on the highlighted option, emits `pdsMultiselectOptionAction`.
|
|
5827
|
+
* @default false
|
|
5828
|
+
*/
|
|
5829
|
+
"optionActions"?: boolean;
|
|
5830
|
+
/**
|
|
5831
|
+
* Display mode for options in the dropdown panel. `'text'` shows each option's text (default). `'chip'` shows each option as a pds-chip, with a dot when the option has a `dotColor`.
|
|
5832
|
+
* @defaultValue 'text'
|
|
5833
|
+
*/
|
|
5834
|
+
"optionDisplay"?: 'text' | 'chip';
|
|
5227
5835
|
/**
|
|
5228
5836
|
* Options provided externally (for consumer-managed async). When using `group` on options, keep each group block contiguous in the array. The same `group` label appearing again after other items produces a separate header (same as native `<optgroup>`).
|
|
5229
5837
|
*/
|
|
@@ -5692,7 +6300,7 @@ declare namespace LocalJSX {
|
|
|
5692
6300
|
/**
|
|
5693
6301
|
* Displays text to describe the input.
|
|
5694
6302
|
*/
|
|
5695
|
-
"label"
|
|
6303
|
+
"label"?: string;
|
|
5696
6304
|
/**
|
|
5697
6305
|
* Identifies form data and unifies a group of radio inputs for toggling a single property/value.
|
|
5698
6306
|
*/
|
|
@@ -6340,13 +6948,20 @@ declare namespace LocalJSX {
|
|
|
6340
6948
|
"dropdownPlacement": 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
6341
6949
|
"dropdownWidth": string;
|
|
6342
6950
|
"dropdownMount": 'host' | 'body';
|
|
6951
|
+
"drillInBackLabel": string;
|
|
6952
|
+
"flyoutMaxWidth": string;
|
|
6953
|
+
"flyoutMinWidth": string;
|
|
6954
|
+
"groupDisplay": 'inline' | 'flyout' | 'drill-in';
|
|
6343
6955
|
"helperMessage": string;
|
|
6344
6956
|
"hideLabel": boolean;
|
|
6345
6957
|
"invalid": boolean;
|
|
6346
6958
|
"label": string;
|
|
6347
6959
|
"maxHeight": string;
|
|
6348
6960
|
"mode": 'filter' | 'select-only';
|
|
6961
|
+
"panelSearch": boolean;
|
|
6349
6962
|
"placeholder": string;
|
|
6963
|
+
"searchOptionsLabel": string;
|
|
6964
|
+
"searchPlaceholder": string;
|
|
6350
6965
|
"trigger": 'input' | 'button' | 'chip';
|
|
6351
6966
|
"triggerWidth": string;
|
|
6352
6967
|
"triggerVariant": 'secondary' | 'primary' | 'accent' | 'destructive';
|
|
@@ -6374,6 +6989,53 @@ declare namespace LocalJSX {
|
|
|
6374
6989
|
"truncate": boolean;
|
|
6375
6990
|
"value": string;
|
|
6376
6991
|
}
|
|
6992
|
+
interface PdsDatepickerAttributes {
|
|
6993
|
+
"applyLabel": string;
|
|
6994
|
+
"autoApply": boolean;
|
|
6995
|
+
"cancelLabel": string;
|
|
6996
|
+
"clearable": boolean;
|
|
6997
|
+
"clearLabel": string;
|
|
6998
|
+
"componentId": string;
|
|
6999
|
+
"customRangeLabel": string;
|
|
7000
|
+
"disabled": boolean;
|
|
7001
|
+
"endTimeLabel": string;
|
|
7002
|
+
"errorMessage": string;
|
|
7003
|
+
"firstDayOfWeek": number;
|
|
7004
|
+
"format": string;
|
|
7005
|
+
"fullWidth": boolean;
|
|
7006
|
+
"helperMessage": string;
|
|
7007
|
+
"hideLabel": boolean;
|
|
7008
|
+
"hourLabel": string;
|
|
7009
|
+
"invalid": boolean;
|
|
7010
|
+
"invalidDateMessage": string;
|
|
7011
|
+
"maxDateMessage": string;
|
|
7012
|
+
"minDateMessage": string;
|
|
7013
|
+
"label": string;
|
|
7014
|
+
"locale": string;
|
|
7015
|
+
"max": string;
|
|
7016
|
+
"min": string;
|
|
7017
|
+
"minuteIncrement": number;
|
|
7018
|
+
"minuteLabel": string;
|
|
7019
|
+
"monthLabel": string;
|
|
7020
|
+
"name": string;
|
|
7021
|
+
"nextMonthLabel": string;
|
|
7022
|
+
"periodLabel": string;
|
|
7023
|
+
"placeholder": string;
|
|
7024
|
+
"placement": PlacementType;
|
|
7025
|
+
"presets": string | DatepickerPreset[];
|
|
7026
|
+
"presetsLabel": string;
|
|
7027
|
+
"previousMonthLabel": string;
|
|
7028
|
+
"range": boolean;
|
|
7029
|
+
"readonly": boolean;
|
|
7030
|
+
"required": boolean;
|
|
7031
|
+
"showDropdowns": boolean;
|
|
7032
|
+
"startTimeLabel": string;
|
|
7033
|
+
"timePicker": boolean;
|
|
7034
|
+
"timeLabel": string;
|
|
7035
|
+
"triggerLabel": string;
|
|
7036
|
+
"value": string;
|
|
7037
|
+
"yearLabel": string;
|
|
7038
|
+
}
|
|
6377
7039
|
interface PdsDividerAttributes {
|
|
6378
7040
|
"componentId": string;
|
|
6379
7041
|
"label": string;
|
|
@@ -6525,6 +7187,7 @@ declare namespace LocalJSX {
|
|
|
6525
7187
|
"selectedDisplay": 'count' | 'pill';
|
|
6526
7188
|
"pillPosition": 'inline' | 'below';
|
|
6527
7189
|
"maxInlinePills": number;
|
|
7190
|
+
"optionDisplay": 'text' | 'chip';
|
|
6528
7191
|
"errorMessage": string;
|
|
6529
7192
|
"helperMessage": string;
|
|
6530
7193
|
"invalid": boolean;
|
|
@@ -6533,6 +7196,9 @@ declare namespace LocalJSX {
|
|
|
6533
7196
|
"createUrl": string;
|
|
6534
7197
|
"csrfToken": string;
|
|
6535
7198
|
"csrfHeaderName": string;
|
|
7199
|
+
"optionActions": boolean;
|
|
7200
|
+
"optionActionLabel": string;
|
|
7201
|
+
"optionActionDescription": string;
|
|
6536
7202
|
}
|
|
6537
7203
|
interface PdsPopoverAttributes {
|
|
6538
7204
|
"popoverTargetAction": 'show' | 'toggle' | 'hide';
|
|
@@ -6757,6 +7423,7 @@ declare namespace LocalJSX {
|
|
|
6757
7423
|
"pds-combobox": Omit<PdsCombobox, keyof PdsComboboxAttributes> & { [K in keyof PdsCombobox & keyof PdsComboboxAttributes]?: PdsCombobox[K] } & { [K in keyof PdsCombobox & keyof PdsComboboxAttributes as `attr:${K}`]?: PdsComboboxAttributes[K] } & { [K in keyof PdsCombobox & keyof PdsComboboxAttributes as `prop:${K}`]?: PdsCombobox[K] } & OneOf<"componentId", PdsCombobox["componentId"], PdsComboboxAttributes["componentId"]>;
|
|
6758
7424
|
"pds-container": Omit<PdsContainer, keyof PdsContainerAttributes> & { [K in keyof PdsContainer & keyof PdsContainerAttributes]?: PdsContainer[K] } & { [K in keyof PdsContainer & keyof PdsContainerAttributes as `attr:${K}`]?: PdsContainerAttributes[K] } & { [K in keyof PdsContainer & keyof PdsContainerAttributes as `prop:${K}`]?: PdsContainer[K] };
|
|
6759
7425
|
"pds-copytext": Omit<PdsCopytext, keyof PdsCopytextAttributes> & { [K in keyof PdsCopytext & keyof PdsCopytextAttributes]?: PdsCopytext[K] } & { [K in keyof PdsCopytext & keyof PdsCopytextAttributes as `attr:${K}`]?: PdsCopytextAttributes[K] } & { [K in keyof PdsCopytext & keyof PdsCopytextAttributes as `prop:${K}`]?: PdsCopytext[K] } & OneOf<"value", PdsCopytext["value"], PdsCopytextAttributes["value"]>;
|
|
7426
|
+
"pds-datepicker": Omit<PdsDatepicker, keyof PdsDatepickerAttributes> & { [K in keyof PdsDatepicker & keyof PdsDatepickerAttributes]?: PdsDatepicker[K] } & { [K in keyof PdsDatepicker & keyof PdsDatepickerAttributes as `attr:${K}`]?: PdsDatepickerAttributes[K] } & { [K in keyof PdsDatepicker & keyof PdsDatepickerAttributes as `prop:${K}`]?: PdsDatepicker[K] } & OneOf<"componentId", PdsDatepicker["componentId"], PdsDatepickerAttributes["componentId"]>;
|
|
6760
7427
|
"pds-divider": Omit<PdsDivider, keyof PdsDividerAttributes> & { [K in keyof PdsDivider & keyof PdsDividerAttributes]?: PdsDivider[K] } & { [K in keyof PdsDivider & keyof PdsDividerAttributes as `attr:${K}`]?: PdsDividerAttributes[K] } & { [K in keyof PdsDivider & keyof PdsDividerAttributes as `prop:${K}`]?: PdsDivider[K] };
|
|
6761
7428
|
"pds-drawer": Omit<PdsDrawer, keyof PdsDrawerAttributes> & { [K in keyof PdsDrawer & keyof PdsDrawerAttributes]?: PdsDrawer[K] } & { [K in keyof PdsDrawer & keyof PdsDrawerAttributes as `attr:${K}`]?: PdsDrawerAttributes[K] } & { [K in keyof PdsDrawer & keyof PdsDrawerAttributes as `prop:${K}`]?: PdsDrawer[K] };
|
|
6762
7429
|
"pds-drawer-content": PdsDrawerContent;
|
|
@@ -6785,7 +7452,7 @@ declare namespace LocalJSX {
|
|
|
6785
7452
|
"pds-select": Omit<PdsSelect, keyof PdsSelectAttributes> & { [K in keyof PdsSelect & keyof PdsSelectAttributes]?: PdsSelect[K] } & { [K in keyof PdsSelect & keyof PdsSelectAttributes as `attr:${K}`]?: PdsSelectAttributes[K] } & { [K in keyof PdsSelect & keyof PdsSelectAttributes as `prop:${K}`]?: PdsSelect[K] } & OneOf<"componentId", PdsSelect["componentId"], PdsSelectAttributes["componentId"]> & OneOf<"name", PdsSelect["name"], PdsSelectAttributes["name"]>;
|
|
6786
7453
|
"pds-sortable": Omit<PdsSortable, keyof PdsSortableAttributes> & { [K in keyof PdsSortable & keyof PdsSortableAttributes]?: PdsSortable[K] } & { [K in keyof PdsSortable & keyof PdsSortableAttributes as `attr:${K}`]?: PdsSortableAttributes[K] } & { [K in keyof PdsSortable & keyof PdsSortableAttributes as `prop:${K}`]?: PdsSortable[K] } & OneOf<"componentId", PdsSortable["componentId"], PdsSortableAttributes["componentId"]>;
|
|
6787
7454
|
"pds-sortable-item": Omit<PdsSortableItem, keyof PdsSortableItemAttributes> & { [K in keyof PdsSortableItem & keyof PdsSortableItemAttributes]?: PdsSortableItem[K] } & { [K in keyof PdsSortableItem & keyof PdsSortableItemAttributes as `attr:${K}`]?: PdsSortableItemAttributes[K] } & { [K in keyof PdsSortableItem & keyof PdsSortableItemAttributes as `prop:${K}`]?: PdsSortableItem[K] };
|
|
6788
|
-
"pds-switch": Omit<PdsSwitch, keyof PdsSwitchAttributes> & { [K in keyof PdsSwitch & keyof PdsSwitchAttributes]?: PdsSwitch[K] } & { [K in keyof PdsSwitch & keyof PdsSwitchAttributes as `attr:${K}`]?: PdsSwitchAttributes[K] } & { [K in keyof PdsSwitch & keyof PdsSwitchAttributes as `prop:${K}`]?: PdsSwitch[K] } & OneOf<"componentId", PdsSwitch["componentId"], PdsSwitchAttributes["componentId"]
|
|
7455
|
+
"pds-switch": Omit<PdsSwitch, keyof PdsSwitchAttributes> & { [K in keyof PdsSwitch & keyof PdsSwitchAttributes]?: PdsSwitch[K] } & { [K in keyof PdsSwitch & keyof PdsSwitchAttributes as `attr:${K}`]?: PdsSwitchAttributes[K] } & { [K in keyof PdsSwitch & keyof PdsSwitchAttributes as `prop:${K}`]?: PdsSwitch[K] } & OneOf<"componentId", PdsSwitch["componentId"], PdsSwitchAttributes["componentId"]>;
|
|
6789
7456
|
"pds-tab": Omit<PdsTab, keyof PdsTabAttributes> & { [K in keyof PdsTab & keyof PdsTabAttributes]?: PdsTab[K] } & { [K in keyof PdsTab & keyof PdsTabAttributes as `attr:${K}`]?: PdsTabAttributes[K] } & { [K in keyof PdsTab & keyof PdsTabAttributes as `prop:${K}`]?: PdsTab[K] } & OneOf<"name", PdsTab["name"], PdsTabAttributes["name"]>;
|
|
6790
7457
|
"pds-table": Omit<PdsTable, keyof PdsTableAttributes> & { [K in keyof PdsTable & keyof PdsTableAttributes]?: PdsTable[K] } & { [K in keyof PdsTable & keyof PdsTableAttributes as `attr:${K}`]?: PdsTableAttributes[K] } & { [K in keyof PdsTable & keyof PdsTableAttributes as `prop:${K}`]?: PdsTable[K] } & OneOf<"componentId", PdsTable["componentId"], PdsTableAttributes["componentId"]>;
|
|
6791
7458
|
"pds-table-body": PdsTableBody;
|
|
@@ -6820,6 +7487,12 @@ declare module "@stencil/core" {
|
|
|
6820
7487
|
"pds-combobox": LocalJSX.IntrinsicElements["pds-combobox"] & JSXBase.HTMLAttributes<HTMLPdsComboboxElement>;
|
|
6821
7488
|
"pds-container": LocalJSX.IntrinsicElements["pds-container"] & JSXBase.HTMLAttributes<HTMLPdsContainerElement>;
|
|
6822
7489
|
"pds-copytext": LocalJSX.IntrinsicElements["pds-copytext"] & JSXBase.HTMLAttributes<HTMLPdsCopytextElement>;
|
|
7490
|
+
/**
|
|
7491
|
+
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
7492
|
+
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
7493
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
7494
|
+
*/
|
|
7495
|
+
"pds-datepicker": LocalJSX.IntrinsicElements["pds-datepicker"] & JSXBase.HTMLAttributes<HTMLPdsDatepickerElement>;
|
|
6823
7496
|
"pds-divider": LocalJSX.IntrinsicElements["pds-divider"] & JSXBase.HTMLAttributes<HTMLPdsDividerElement>;
|
|
6824
7497
|
/**
|
|
6825
7498
|
* A non-modal side panel composed from `pds-modal`.
|