@pine-ds/core 4.7.2 → 4.9.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/attributes.js +1 -1
- package/components/floating-ui.dom.js +1 -1
- package/components/index.js +1 -1
- package/components/index2.js +1 -1
- package/components/keep-hydrated.js +1 -0
- package/components/mock-pds-modal.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 +1 -1
- package/components/pds-container.js +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-datepicker.js +1 -1
- 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-input2.js +1 -1
- 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/tabbable.js +1 -0
- package/components/truncation-tooltip.js +1 -1
- package/dist/cjs/{attributes-BJ7KBHql.js → attributes-CW49XqaL.js} +1 -1
- package/dist/cjs/{floating-ui.dom-Dc8Anyel.js → floating-ui.dom-Dw41zbyY.js} +1 -0
- package/dist/cjs/{index-jl_Q819j.js → index-BsWY_xEJ.js} +1 -1
- package/dist/cjs/{index-5Azb8EQG.js → index-Do70atou.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{keep-hydrated-CiXgkEYd.js → keep-hydrated-AKoh0DG4.js} +1 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mock-pds-modal.cjs.entry.js +3 -3
- package/dist/cjs/pds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/pds-alert.cjs.entry.js +17 -4
- package/dist/cjs/pds-avatar.cjs.entry.js +23 -13
- package/dist/cjs/pds-box.cjs.entry.js +4 -4
- package/dist/cjs/pds-button.cjs.entry.js +80 -45
- package/dist/cjs/pds-checkbox.cjs.entry.js +16 -8
- package/dist/cjs/pds-chip.cjs.entry.js +8 -8
- package/dist/cjs/pds-combobox.cjs.entry.js +43 -13
- package/dist/cjs/pds-container.cjs.entry.js +3 -3
- package/dist/cjs/pds-copytext.cjs.entry.js +7 -7
- package/dist/cjs/pds-datepicker.cjs.entry.js +6 -6
- package/dist/cjs/pds-divider.cjs.entry.js +3 -3
- package/dist/cjs/pds-drawer-content.cjs.entry.js +3 -3
- package/dist/cjs/pds-drawer-footer.cjs.entry.js +3 -3
- package/dist/cjs/pds-drawer-header.cjs.entry.js +3 -3
- package/dist/cjs/pds-drawer.cjs.entry.js +4 -4
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +34 -5
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +3 -3
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +8 -8
- package/dist/cjs/pds-filter.cjs.entry.js +4 -4
- package/dist/cjs/pds-filters.cjs.entry.js +3 -3
- package/dist/cjs/pds-icon.cjs.entry.js +2 -2
- package/dist/cjs/pds-image.cjs.entry.js +4 -4
- package/dist/cjs/pds-input.cjs.entry.js +6 -6
- package/dist/cjs/pds-link.cjs.entry.js +15 -6
- package/dist/cjs/pds-loader.cjs.entry.js +4 -4
- package/dist/cjs/pds-modal-content.cjs.entry.js +34 -32
- package/dist/cjs/pds-modal-footer.cjs.entry.js +3 -3
- package/dist/cjs/pds-modal-header.cjs.entry.js +3 -3
- package/dist/cjs/pds-modal.cjs.entry.js +9 -89
- package/dist/cjs/pds-multiselect.cjs.entry.js +9 -9
- package/dist/cjs/pds-popover.cjs.entry.js +416 -163
- package/dist/cjs/pds-progress.cjs.entry.js +4 -4
- package/dist/cjs/pds-property.cjs.entry.js +3 -3
- package/dist/cjs/pds-radio-group.cjs.entry.js +6 -6
- package/dist/cjs/pds-radio.cjs.entry.js +24 -11
- package/dist/cjs/pds-row.cjs.entry.js +4 -4
- package/dist/cjs/pds-select.cjs.entry.js +132 -21
- package/dist/cjs/pds-sortable-item.cjs.entry.js +5 -5
- package/dist/cjs/pds-sortable.cjs.entry.js +4 -4
- package/dist/cjs/pds-switch.cjs.entry.js +7 -7
- package/dist/cjs/pds-tab.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-cell.cjs.entry.js +6 -6
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +5 -5
- 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 +2 -2
- package/dist/cjs/pds-tabpanel.cjs.entry.js +4 -4
- package/dist/cjs/pds-tabs.cjs.entry.js +4 -4
- package/dist/cjs/pds-text.cjs.entry.js +5 -5
- package/dist/cjs/pds-textarea.cjs.entry.js +8 -8
- package/dist/cjs/pds-toast.cjs.entry.js +14 -8
- package/dist/cjs/pds-tooltip.cjs.entry.js +115 -44
- package/dist/cjs/pine-core.cjs.js +3 -3
- package/dist/cjs/tabbable-CddSt_Hi.js +85 -0
- package/dist/cjs/{truncation-tooltip-DO9xli2e.js → truncation-tooltip-O5nQmXPw.js} +32 -7
- package/dist/collection/components/pds-alert/pds-alert.css +13 -0
- package/dist/collection/components/pds-alert/pds-alert.js +36 -1
- package/dist/collection/components/pds-alert/stories/pds-alert.stories.js +4 -0
- package/dist/collection/components/pds-avatar/pds-avatar.js +42 -10
- package/dist/collection/components/pds-avatar/stories/pds-avatar.stories.js +2 -0
- package/dist/collection/components/pds-box/pds-box.js +1 -1
- package/dist/collection/components/pds-button/pds-button.js +36 -44
- package/dist/collection/components/pds-button/stories/pds-button.stories.js +3 -3
- package/dist/collection/components/pds-checkbox/pds-checkbox.css +79 -0
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +36 -5
- package/dist/collection/components/pds-checkbox/stories/pds-checkbox.stories.js +38 -0
- package/dist/collection/components/pds-chip/pds-chip.js +2 -2
- package/dist/collection/components/pds-combobox/pds-combobox.css +33 -0
- package/dist/collection/components/pds-combobox/pds-combobox.js +62 -9
- package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +44 -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/pds-datepicker.js +2 -2
- package/dist/collection/components/pds-datepicker/stories/pds-datepicker.stories.js +1 -1
- 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.js +2 -2
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.css +8 -0
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +81 -7
- 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 +4 -4
- package/dist/collection/components/pds-dropdown-menu/stories/pds-dropdown-menu.stories.js +39 -0
- 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 +2 -2
- package/dist/collection/components/pds-input/stories/pds-input.stories.js +6 -6
- package/dist/collection/components/pds-link/pds-link.js +34 -3
- package/dist/collection/components/pds-link/stories/pds-link.stories.js +3 -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 +32 -30
- 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.js +5 -85
- package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +5 -5
- package/dist/collection/components/pds-popover/pds-popover.css +6 -0
- package/dist/collection/components/pds-popover/pds-popover.js +465 -159
- package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +31 -0
- 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.css +57 -0
- package/dist/collection/components/pds-radio/pds-radio.js +45 -9
- package/dist/collection/components/pds-radio/stories/pds-radio.stories.js +15 -0
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
- package/dist/collection/components/pds-radio-group/stories/pds-radio-group.stories.js +45 -0
- package/dist/collection/components/pds-row/pds-row.js +1 -1
- package/dist/collection/components/pds-select/pds-select.js +128 -17
- package/dist/collection/components/pds-select/stories/pds-select.stories.js +2 -2
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
- package/dist/collection/components/pds-switch/pds-switch.js +3 -3
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
- package/dist/collection/components/pds-table/stories/pds-table.stories.js +4 -4
- 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-text/stories/pds-text.stories.js +1 -1
- package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
- package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +2 -2
- package/dist/collection/components/pds-toast/pds-toast.css +13 -0
- package/dist/collection/components/pds-toast/pds-toast.js +33 -5
- package/dist/collection/components/pds-toast/stories/pds-toast.stories.js +4 -1
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +113 -41
- package/dist/collection/utils/aria-references.js +42 -0
- package/dist/collection/utils/tabbable.js +81 -0
- package/dist/collection/utils/truncation-tooltip.js +31 -6
- package/dist/docs.json +367 -13
- package/dist/esm/{attributes-WXw_I_uJ.js → attributes-DkeVeN0g.js} +1 -1
- package/dist/esm/{floating-ui.dom-BPqJgIq6.js → floating-ui.dom-Cuc0DYlm.js} +1 -1
- package/dist/esm/{index-Cw9J31qd.js → index-BFSwd-GQ.js} +1 -1
- package/dist/esm/{index-BJXk71tO.js → index-m3pqpeWg.js} +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/{keep-hydrated-BLG6RDBt.js → keep-hydrated-BgNaWLoS.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/mock-pds-modal.entry.js +3 -3
- package/dist/esm/pds-accordion.entry.js +3 -3
- package/dist/esm/pds-alert.entry.js +17 -4
- package/dist/esm/pds-avatar.entry.js +23 -13
- package/dist/esm/pds-box.entry.js +4 -4
- package/dist/esm/pds-button.entry.js +80 -45
- package/dist/esm/pds-checkbox.entry.js +16 -8
- package/dist/esm/pds-chip.entry.js +8 -8
- package/dist/esm/pds-combobox.entry.js +43 -13
- package/dist/esm/pds-container.entry.js +3 -3
- package/dist/esm/pds-copytext.entry.js +7 -7
- package/dist/esm/pds-datepicker.entry.js +6 -6
- package/dist/esm/pds-divider.entry.js +3 -3
- package/dist/esm/pds-drawer-content.entry.js +3 -3
- package/dist/esm/pds-drawer-footer.entry.js +3 -3
- package/dist/esm/pds-drawer-header.entry.js +3 -3
- package/dist/esm/pds-drawer.entry.js +4 -4
- package/dist/esm/pds-dropdown-menu-item.entry.js +34 -5
- package/dist/esm/pds-dropdown-menu-separator.entry.js +3 -3
- package/dist/esm/pds-dropdown-menu.entry.js +8 -8
- package/dist/esm/pds-filter.entry.js +4 -4
- package/dist/esm/pds-filters.entry.js +3 -3
- package/dist/esm/pds-icon.entry.js +2 -2
- package/dist/esm/pds-image.entry.js +4 -4
- package/dist/esm/pds-input.entry.js +6 -6
- package/dist/esm/pds-link.entry.js +15 -6
- package/dist/esm/pds-loader.entry.js +4 -4
- package/dist/esm/pds-modal-content.entry.js +34 -32
- package/dist/esm/pds-modal-footer.entry.js +3 -3
- package/dist/esm/pds-modal-header.entry.js +3 -3
- package/dist/esm/pds-modal.entry.js +7 -87
- package/dist/esm/pds-multiselect.entry.js +9 -9
- package/dist/esm/pds-popover.entry.js +416 -163
- package/dist/esm/pds-progress.entry.js +4 -4
- package/dist/esm/pds-property.entry.js +3 -3
- package/dist/esm/pds-radio-group.entry.js +6 -6
- package/dist/esm/pds-radio.entry.js +24 -11
- package/dist/esm/pds-row.entry.js +4 -4
- package/dist/esm/pds-select.entry.js +132 -21
- package/dist/esm/pds-sortable-item.entry.js +5 -5
- package/dist/esm/pds-sortable.entry.js +4 -4
- package/dist/esm/pds-switch.entry.js +7 -7
- package/dist/esm/pds-tab.entry.js +3 -3
- package/dist/esm/pds-table-body.entry.js +3 -3
- package/dist/esm/pds-table-cell.entry.js +6 -6
- package/dist/esm/pds-table-head-cell.entry.js +5 -5
- 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 +2 -2
- package/dist/esm/pds-tabpanel.entry.js +4 -4
- package/dist/esm/pds-tabs.entry.js +4 -4
- package/dist/esm/pds-text.entry.js +5 -5
- package/dist/esm/pds-textarea.entry.js +8 -8
- package/dist/esm/pds-toast.entry.js +14 -8
- package/dist/esm/pds-tooltip.entry.js +115 -44
- package/dist/esm/pine-core.js +4 -4
- package/dist/esm/tabbable-DCKBKRUy.js +83 -0
- package/dist/esm/{truncation-tooltip-DRXsdKk1.js → truncation-tooltip-D_gvhB9r.js} +32 -7
- package/dist/esm-es5/{attributes-WXw_I_uJ.js → attributes-DkeVeN0g.js} +1 -1
- package/dist/esm-es5/{floating-ui.dom-BPqJgIq6.js → floating-ui.dom-Cuc0DYlm.js} +1 -1
- package/dist/esm-es5/{index-Cw9J31qd.js → index-BFSwd-GQ.js} +2 -2
- package/dist/esm-es5/{index-BJXk71tO.js → index-m3pqpeWg.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{keep-hydrated-BLG6RDBt.js → keep-hydrated-BgNaWLoS.js} +1 -1
- 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 -1
- 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/tabbable-DCKBKRUy.js +1 -0
- package/dist/esm-es5/truncation-tooltip-D_gvhB9r.js +1 -0
- package/dist/pine-core/index.esm.js +1 -1
- package/dist/pine-core/p-001d4b86.entry.js +1 -0
- package/dist/pine-core/p-06279b93.system.entry.js +1 -0
- package/dist/pine-core/{p-b75b0d09.system.entry.js → p-0790dd0d.system.entry.js} +1 -1
- package/dist/pine-core/p-079c39d1.entry.js +1 -0
- package/dist/pine-core/p-07b4524e.entry.js +1 -0
- package/dist/pine-core/{p-b60ac7eb.system.entry.js → p-08bbd3e6.system.entry.js} +1 -1
- package/dist/pine-core/{p-c5c9ed36.system.entry.js → p-0bd61097.system.entry.js} +1 -1
- package/dist/pine-core/p-0c60f577.system.entry.js +1 -0
- package/dist/pine-core/{p-6d603d16.system.entry.js → p-110b4051.system.entry.js} +1 -1
- package/dist/pine-core/p-11e7d660.entry.js +1 -0
- package/dist/pine-core/p-14d872d3.entry.js +1 -0
- package/dist/pine-core/p-17fc76e7.system.entry.js +1 -0
- package/dist/pine-core/{p-0913f696.system.entry.js → p-1e5648bf.system.entry.js} +1 -1
- package/dist/pine-core/{p-e803f629.system.entry.js → p-22ae92f7.system.entry.js} +1 -1
- package/dist/pine-core/p-239774c9.entry.js +1 -0
- package/dist/pine-core/{p-0b71ecb6.system.entry.js → p-25bf2f26.system.entry.js} +2 -2
- package/dist/pine-core/{p-e7a95a49.system.entry.js → p-272b24ad.system.entry.js} +1 -1
- package/dist/pine-core/{p-d2c91e7a.entry.js → p-2c0047cd.entry.js} +1 -1
- package/dist/pine-core/p-2d5b1deb.entry.js +1 -0
- package/dist/pine-core/{p-e8cb76e8.entry.js → p-3556f6ad.entry.js} +1 -1
- package/dist/pine-core/{p-BGLP3keB.js → p-35s7h-dk.js} +1 -1
- package/dist/pine-core/{p-080cb087.system.entry.js → p-38b87aa2.system.entry.js} +1 -1
- package/dist/pine-core/{p-355e4cf9.entry.js → p-3afb1208.entry.js} +1 -1
- package/dist/pine-core/p-3b5b8f73.entry.js +1 -0
- package/dist/pine-core/{p-8c8cc079.system.entry.js → p-3cc19ea8.system.entry.js} +1 -1
- package/dist/pine-core/{p-bd67156b.system.entry.js → p-3ce7e72e.system.entry.js} +1 -1
- package/dist/pine-core/p-3f62581a.system.entry.js +1 -0
- package/dist/pine-core/p-414faecf.entry.js +1 -0
- package/dist/pine-core/p-463a29fa.entry.js +1 -0
- package/dist/pine-core/{p-f029b7da.system.entry.js → p-4ee44585.system.entry.js} +1 -1
- package/dist/pine-core/p-50af67ea.system.entry.js +1 -0
- package/dist/pine-core/p-5133e8be.system.entry.js +1 -0
- package/dist/pine-core/p-55fce29e.entry.js +1 -0
- package/dist/pine-core/{p-77395d62.system.entry.js → p-568a9a79.system.entry.js} +1 -1
- package/dist/pine-core/p-5967d9fa.system.entry.js +1 -0
- package/dist/pine-core/{p-5870b092.system.entry.js → p-5c46553f.system.entry.js} +1 -1
- package/dist/pine-core/{p-f0d24298.system.entry.js → p-5ce5836e.system.entry.js} +1 -1
- package/dist/pine-core/p-5f3242c8.system.entry.js +1 -0
- package/dist/pine-core/{p-80e6f3a0.system.entry.js → p-60d27247.system.entry.js} +1 -1
- package/dist/pine-core/{p-bd26a5e8.entry.js → p-60e3b1af.entry.js} +1 -1
- package/dist/pine-core/{p-ca0a8f5c.entry.js → p-64283f7b.entry.js} +1 -1
- package/dist/pine-core/p-6602b4d0.entry.js +1 -0
- package/dist/pine-core/p-6845867f.system.entry.js +1 -0
- package/dist/pine-core/{p-1ee86d87.system.entry.js → p-68fdfb8f.system.entry.js} +1 -1
- package/dist/pine-core/p-6b6ae1be.entry.js +1 -0
- package/dist/pine-core/{p-e5420660.entry.js → p-6d64e6c7.entry.js} +1 -1
- package/dist/pine-core/{p-3a959459.system.entry.js → p-6dad76cb.system.entry.js} +1 -1
- package/dist/pine-core/p-6f34ad9c.entry.js +1 -0
- package/dist/pine-core/{p-55224683.entry.js → p-7073146f.entry.js} +1 -1
- package/dist/pine-core/{p-f1702281.entry.js → p-735b3631.entry.js} +1 -1
- package/dist/pine-core/p-7a14473e.entry.js +1 -0
- package/dist/pine-core/{p-9880d251.system.entry.js → p-7a19477e.system.entry.js} +1 -1
- package/dist/pine-core/{p-88ff1604.entry.js → p-7d3a20ba.entry.js} +1 -1
- package/dist/pine-core/{p-a939b471.entry.js → p-7fcf3d37.entry.js} +1 -1
- package/dist/pine-core/{p-26642718.entry.js → p-87642228.entry.js} +1 -1
- package/dist/pine-core/p-89fefe36.entry.js +1 -0
- package/dist/pine-core/p-8b97dd57.system.entry.js +1 -0
- package/dist/pine-core/{p-0092444c.system.entry.js → p-9201b497.system.entry.js} +1 -1
- package/dist/pine-core/{p-ebd0bff2.entry.js → p-92a8cf7d.entry.js} +1 -1
- package/dist/pine-core/{p-e836a041.entry.js → p-94597b73.entry.js} +1 -1
- package/dist/pine-core/p-9713d6a5.system.entry.js +1 -0
- package/dist/pine-core/p-97be00f4.system.entry.js +1 -0
- package/dist/pine-core/{p-2ac2457b.system.entry.js → p-98843402.system.entry.js} +1 -1
- package/dist/pine-core/{p-b914dde8.entry.js → p-98cc327b.entry.js} +2 -2
- package/dist/pine-core/p-9a8971e2.system.entry.js +1 -0
- package/dist/pine-core/p-9a8d2985.system.entry.js +3 -0
- package/dist/pine-core/{p-cfc52b95.system.entry.js → p-9dbc017f.system.entry.js} +1 -1
- package/dist/pine-core/p-9fbcba0d.entry.js +1 -0
- package/dist/pine-core/p-9fe4a64a.entry.js +1 -0
- package/dist/pine-core/{p-COtCa1Md.system.js → p-BNTlHhoO.system.js} +1 -1
- package/dist/pine-core/p-BZ1l3LGl.system.js +1 -0
- package/dist/pine-core/p-BgNaWLoS.js +1 -0
- package/dist/pine-core/{p-CmSJytt1.js → p-BplEmwUQ.js} +2 -2
- package/dist/pine-core/{p-Cy8cvR7I.system.js → p-CANeE7Ss.system.js} +1 -1
- package/dist/pine-core/{p-XW4H0W6i.system.js → p-CNXspDYs.system.js} +1 -1
- package/dist/pine-core/{p-JtdHT_W5.js → p-CirzxZ33.js} +1 -1
- package/dist/pine-core/{p-CGRdQc49.system.js → p-CjRCtzPD.system.js} +2 -2
- package/dist/pine-core/{p-BPqJgIq6.js → p-Cuc0DYlm.js} +1 -1
- package/dist/pine-core/p-D52aRqFx.system.js +1 -0
- package/dist/pine-core/p-DCKBKRUy.js +1 -0
- package/dist/pine-core/p-DXO1yd32.system.js +1 -0
- package/dist/pine-core/{p-n3_ytl_p.system.js → p-DaCT2ssj.system.js} +1 -1
- package/dist/pine-core/p-a2078add.entry.js +1 -0
- package/dist/pine-core/{p-97d0b89e.system.entry.js → p-a48b025a.system.entry.js} +1 -1
- package/dist/pine-core/{p-9713fb36.entry.js → p-a7d25143.entry.js} +1 -1
- package/dist/pine-core/{p-9dcd2cdb.entry.js → p-ad3b1ec3.entry.js} +1 -1
- package/dist/pine-core/p-b017eb99.system.entry.js +1 -0
- package/dist/pine-core/p-b037dcbd.system.entry.js +1 -0
- package/dist/pine-core/{p-db17c626.system.entry.js → p-b243767b.system.entry.js} +1 -1
- package/dist/pine-core/{p-341c38f1.system.entry.js → p-b33ad96e.system.entry.js} +1 -1
- package/dist/pine-core/p-b6edfdfe.entry.js +2 -0
- package/dist/pine-core/{p-8191498f.system.entry.js → p-b7cbd913.system.entry.js} +1 -1
- package/dist/pine-core/{p-8f531063.entry.js → p-b9d71b76.entry.js} +1 -1
- package/dist/pine-core/p-bcf57566.entry.js +1 -0
- package/dist/pine-core/{p-4fd454f6.entry.js → p-bda7e3be.entry.js} +1 -1
- package/dist/pine-core/p-bdde1e53.entry.js +1 -0
- package/dist/pine-core/{p-cb6a3e4c.system.entry.js → p-be3b4f12.system.entry.js} +1 -1
- package/dist/pine-core/{p-b1548a20.entry.js → p-bfdfbe9f.entry.js} +1 -1
- package/dist/pine-core/p-c02a32ec.entry.js +1 -0
- package/dist/pine-core/p-c1da80e5.entry.js +1 -0
- package/dist/pine-core/{p-d8570b4b.system.entry.js → p-c233866c.system.entry.js} +1 -1
- package/dist/pine-core/{p-fc25b956.system.entry.js → p-cb560aab.system.entry.js} +1 -1
- package/dist/pine-core/{p-02088776.entry.js → p-ce554098.entry.js} +1 -1
- package/dist/pine-core/p-ced6a814.system.entry.js +1 -0
- package/dist/pine-core/{p-0a84d220.entry.js → p-d7930540.entry.js} +1 -1
- package/dist/pine-core/{p-11d98408.system.entry.js → p-d7db749a.system.entry.js} +1 -1
- package/dist/pine-core/{p-7a5b21d2.system.entry.js → p-d8bedb58.system.entry.js} +1 -1
- package/dist/pine-core/{p-1dc5a7e0.system.entry.js → p-d9243653.system.entry.js} +1 -1
- package/dist/pine-core/{p-9ab95438.entry.js → p-d94ebe84.entry.js} +1 -1
- package/dist/pine-core/{p-9109b90a.entry.js → p-de176bd9.entry.js} +1 -1
- package/dist/pine-core/{p-57a2f927.entry.js → p-dea2a254.entry.js} +1 -1
- package/dist/pine-core/p-dfadfcd1.entry.js +1 -0
- package/dist/pine-core/{p-1437585e.system.entry.js → p-e1fdd53a.system.entry.js} +1 -1
- package/dist/pine-core/{p-4435fff6.system.entry.js → p-e70cb112.system.entry.js} +1 -1
- package/dist/pine-core/{p-01aa382c.system.entry.js → p-e9a53a88.system.entry.js} +1 -1
- package/dist/pine-core/p-eb93cc6e.entry.js +1 -0
- package/dist/pine-core/{p-4d03d1e2.system.entry.js → p-ebf0c51b.system.entry.js} +1 -1
- package/dist/pine-core/p-ebf74c43.system.entry.js +1 -0
- package/dist/pine-core/{p-cde8eb81.entry.js → p-ee449a4b.entry.js} +1 -1
- package/dist/pine-core/p-ef4d8fea.entry.js +1 -0
- package/dist/pine-core/p-f09f27ab.system.entry.js +1 -0
- package/dist/pine-core/{p-ff3de72e.entry.js → p-f2c487e6.entry.js} +1 -1
- package/dist/pine-core/p-f549f2bc.entry.js +1 -0
- package/dist/pine-core/p-fc743f6e.entry.js +1 -0
- package/dist/pine-core/{p-BJXk71tO.js → p-m3pqpeWg.js} +1 -1
- package/dist/pine-core/p-wXfuz0Bd.system.js +1 -0
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/types/components/pds-alert/pds-alert.d.ts +10 -0
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +8 -0
- package/dist/types/components/pds-button/pds-button.d.ts +5 -6
- package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +7 -1
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +9 -0
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +20 -3
- package/dist/types/components/pds-link/pds-link.d.ts +8 -0
- package/dist/types/components/pds-modal/pds-modal-content/pds-modal-content.d.ts +2 -0
- package/dist/types/components/pds-popover/pds-popover.d.ts +87 -21
- package/dist/types/components/pds-radio/pds-radio.d.ts +9 -3
- package/dist/types/components/pds-select/pds-select.d.ts +32 -4
- package/dist/types/components/pds-toast/pds-toast.d.ts +9 -0
- package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +31 -0
- package/dist/types/components.d.ts +139 -18
- package/dist/types/utils/aria-references.d.ts +24 -0
- package/dist/types/utils/tabbable.d.ts +2 -0
- package/dist/types/utils/truncation-tooltip.d.ts +4 -4
- package/dist/types/utils/types.d.ts +1 -0
- package/dist/vscode.html-data.json +129 -14
- package/hydrate/index.js +1040 -416
- package/hydrate/index.mjs +1040 -416
- package/package.json +2 -2
- package/dist/esm-es5/truncation-tooltip-DRXsdKk1.js +0 -1
- package/dist/pine-core/p-049f126a.entry.js +0 -1
- package/dist/pine-core/p-153ba77b.entry.js +0 -1
- package/dist/pine-core/p-208c7dbf.entry.js +0 -1
- package/dist/pine-core/p-258770cf.system.entry.js +0 -1
- package/dist/pine-core/p-2cb5483a.system.entry.js +0 -1
- package/dist/pine-core/p-432d5ec7.entry.js +0 -1
- package/dist/pine-core/p-5442d983.system.entry.js +0 -1
- package/dist/pine-core/p-576cf904.system.entry.js +0 -1
- package/dist/pine-core/p-5c90091e.system.entry.js +0 -1
- package/dist/pine-core/p-602c197f.entry.js +0 -1
- package/dist/pine-core/p-645a482b.system.entry.js +0 -1
- package/dist/pine-core/p-72865997.entry.js +0 -1
- package/dist/pine-core/p-75ee0403.entry.js +0 -1
- package/dist/pine-core/p-7a287635.system.entry.js +0 -1
- package/dist/pine-core/p-7bf6563a.system.entry.js +0 -1
- package/dist/pine-core/p-7fa66cad.entry.js +0 -1
- package/dist/pine-core/p-80a698ae.entry.js +0 -1
- package/dist/pine-core/p-82cf4ec6.entry.js +0 -1
- package/dist/pine-core/p-86040cac.system.entry.js +0 -1
- package/dist/pine-core/p-875b0436.system.entry.js +0 -1
- package/dist/pine-core/p-8cc302aa.system.entry.js +0 -1
- package/dist/pine-core/p-8d292b48.entry.js +0 -1
- package/dist/pine-core/p-92ae6082.entry.js +0 -1
- package/dist/pine-core/p-94593f20.system.entry.js +0 -1
- package/dist/pine-core/p-993d1043.entry.js +0 -1
- package/dist/pine-core/p-99459e27.entry.js +0 -1
- package/dist/pine-core/p-BLG6RDBt.js +0 -1
- package/dist/pine-core/p-BR5nujVX.system.js +0 -1
- package/dist/pine-core/p-CuSNnuFu.system.js +0 -1
- package/dist/pine-core/p-a0960b3d.system.entry.js +0 -1
- package/dist/pine-core/p-a1230a74.system.entry.js +0 -1
- package/dist/pine-core/p-a19cd59c.entry.js +0 -1
- package/dist/pine-core/p-a787b34a.system.entry.js +0 -1
- package/dist/pine-core/p-a826f290.entry.js +0 -1
- package/dist/pine-core/p-aa032a5e.system.entry.js +0 -1
- package/dist/pine-core/p-acce8eb2.entry.js +0 -1
- package/dist/pine-core/p-b69f04b7.entry.js +0 -1
- package/dist/pine-core/p-bb68431a.entry.js +0 -1
- package/dist/pine-core/p-bb73ad66.entry.js +0 -2
- package/dist/pine-core/p-beb23781.entry.js +0 -1
- package/dist/pine-core/p-bf30dec0.entry.js +0 -1
- package/dist/pine-core/p-c36b490e.entry.js +0 -1
- package/dist/pine-core/p-c81d8ac8.entry.js +0 -1
- package/dist/pine-core/p-ca0d48e8.entry.js +0 -1
- package/dist/pine-core/p-cfd012d4.entry.js +0 -1
- package/dist/pine-core/p-e0917a26.entry.js +0 -1
- package/dist/pine-core/p-e836f3ec.system.entry.js +0 -3
- package/dist/pine-core/p-ea4d4741.system.entry.js +0 -1
- package/dist/pine-core/p-f2c253d8.entry.js +0 -1
- package/dist/pine-core/p-f474d7de.entry.js +0 -1
- package/dist/pine-core/p-f77905aa.system.entry.js +0 -1
- package/dist/pine-core/p-qhdoK1Jp.system.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
/**
|
|
3
|
-
* @slot image - Custom image content to display instead of the default radio input
|
|
3
|
+
* @slot image - Custom image content to display instead of the default radio input. Ignored when `variant` is `pill`.
|
|
4
4
|
* @part image-container - The container for the image
|
|
5
5
|
* @lightDom renders-markup
|
|
6
6
|
*/
|
|
@@ -32,7 +32,7 @@ export declare class PdsRadio {
|
|
|
32
32
|
*/
|
|
33
33
|
helperMessage: string;
|
|
34
34
|
/**
|
|
35
|
-
* Adds a border around the radio component for better visual separation.
|
|
35
|
+
* Adds a border around the radio component for better visual separation. Ignored when `variant` is `pill`.
|
|
36
36
|
* @defaultValue false
|
|
37
37
|
*/
|
|
38
38
|
hasBorder: boolean;
|
|
@@ -46,7 +46,7 @@ export declare class PdsRadio {
|
|
|
46
46
|
*/
|
|
47
47
|
label: string;
|
|
48
48
|
/**
|
|
49
|
-
* Visually hides the label text for instances where only the radio should be displayed. Label remains accessible to assistive technology such as screen readers.
|
|
49
|
+
* Visually hides the label text for instances where only the radio should be displayed. Label remains accessible to assistive technology such as screen readers. Ignored when `variant` is `pill`.
|
|
50
50
|
*/
|
|
51
51
|
hideLabel: boolean;
|
|
52
52
|
/**
|
|
@@ -62,6 +62,11 @@ export declare class PdsRadio {
|
|
|
62
62
|
* The value of the radio that is submitted with a form.
|
|
63
63
|
*/
|
|
64
64
|
value: string;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the style variant of the radio. `pill` renders the label as a pill-shaped choice; the native input still handles keyboard, form, and screen reader behavior.
|
|
67
|
+
* @defaultValue default
|
|
68
|
+
*/
|
|
69
|
+
variant: 'default' | 'pill';
|
|
65
70
|
/**
|
|
66
71
|
* Emits a boolean indicating whether the radio is currently checked or unchecked.
|
|
67
72
|
*/
|
|
@@ -69,6 +74,7 @@ export declare class PdsRadio {
|
|
|
69
74
|
private handleRadioChange;
|
|
70
75
|
private hasImageSlot;
|
|
71
76
|
private hasImage;
|
|
77
|
+
private isPill;
|
|
72
78
|
private classNames;
|
|
73
79
|
componentWillLoad(): void;
|
|
74
80
|
connectedCallback(): void;
|
|
@@ -7,6 +7,9 @@ export declare class PdsSelect {
|
|
|
7
7
|
private slotContainer;
|
|
8
8
|
private internals?;
|
|
9
9
|
private _type;
|
|
10
|
+
private optionObserver;
|
|
11
|
+
private optionSyncFrame;
|
|
12
|
+
private hasHadOptions;
|
|
10
13
|
el: HTMLPdsSelectElement;
|
|
11
14
|
private hostKeeper;
|
|
12
15
|
/**
|
|
@@ -97,6 +100,20 @@ export declare class PdsSelect {
|
|
|
97
100
|
disconnectedCallback(): void;
|
|
98
101
|
componentWillLoad(): void;
|
|
99
102
|
componentDidLoad(): void;
|
|
103
|
+
/**
|
|
104
|
+
* Keeps the inner select in step with the slotted options. `slotchange` only fires when
|
|
105
|
+
* top-level options are added or removed, so an option's text, value or disabled state
|
|
106
|
+
* changing, or an option added inside an optgroup, would otherwise never reach the select.
|
|
107
|
+
* Changes are batched into one copy per animation frame.
|
|
108
|
+
*/
|
|
109
|
+
private startOptionSync;
|
|
110
|
+
/**
|
|
111
|
+
* Whether a mutation is inside an option or optgroup. The host's own attributes and children
|
|
112
|
+
* (top-level adds and removes reach `slotchange`) and the action slot's content are not.
|
|
113
|
+
*/
|
|
114
|
+
private touchesOption;
|
|
115
|
+
private scheduleOptionSync;
|
|
116
|
+
private stopOptionSync;
|
|
100
117
|
/**
|
|
101
118
|
* Updates the selected option in the select element based on the current value.
|
|
102
119
|
*
|
|
@@ -116,12 +133,23 @@ export declare class PdsSelect {
|
|
|
116
133
|
private onFocus;
|
|
117
134
|
private onKeyDown;
|
|
118
135
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
136
|
+
* Copies the slotted <option> and <optgroup> elements into the inner select, then
|
|
137
|
+
* reselects the current value. Runs on `slotchange` and when a slotted option changes
|
|
138
|
+
* (see startOptionSync).
|
|
139
|
+
*
|
|
140
|
+
* Nothing happens when the copies match what the select already holds. When only text or
|
|
141
|
+
* attributes changed, the select's own options are updated in place rather than replaced,
|
|
142
|
+
* so an open picker keeps its highlight, a multiple select keeps its range anchor, and a
|
|
143
|
+
* screen reader keeps its place. Selecting programmatically fires no change event, so a
|
|
144
|
+
* copy never emits `pdsSelectChange`.
|
|
123
145
|
*/
|
|
124
146
|
private handleSlotChange;
|
|
147
|
+
/**
|
|
148
|
+
* After a copy that changes an existing option set, a value whose option was renamed or removed
|
|
149
|
+
* has nothing to select. Like a native select, show nothing selected rather than the first
|
|
150
|
+
* option; the value itself is kept, with no change event.
|
|
151
|
+
*/
|
|
152
|
+
private showNoSelectionWithoutMatch;
|
|
125
153
|
private getHelperMessage;
|
|
126
154
|
private getErrorMessage;
|
|
127
155
|
private renderMessages;
|
|
@@ -38,6 +38,14 @@ export declare class PdsToast {
|
|
|
38
38
|
* @defaultValue 'Dismiss message'
|
|
39
39
|
*/
|
|
40
40
|
dismissLabel: string;
|
|
41
|
+
/**
|
|
42
|
+
* Accessible label announcing the toast's severity, read before the message.
|
|
43
|
+
* Pass a translated string to localize it; defaults to English (`Error`) for
|
|
44
|
+
* the `danger` type. Other types announce none unless this is set; pass an
|
|
45
|
+
* empty string to announce none.
|
|
46
|
+
* @defaultValue undefined
|
|
47
|
+
*/
|
|
48
|
+
severityLabel?: string;
|
|
41
49
|
/**
|
|
42
50
|
* Whether the toast is currently visible.
|
|
43
51
|
*/
|
|
@@ -66,5 +74,6 @@ export declare class PdsToast {
|
|
|
66
74
|
private cleanup;
|
|
67
75
|
private startDismissTimer;
|
|
68
76
|
private renderIcon;
|
|
77
|
+
private severityText;
|
|
69
78
|
render(): any;
|
|
70
79
|
}
|
|
@@ -15,7 +15,9 @@ export declare class PdsTooltip {
|
|
|
15
15
|
private resolvedPlacement;
|
|
16
16
|
private triggerEl;
|
|
17
17
|
private contentDiv;
|
|
18
|
+
private lastCopiedHtml;
|
|
18
19
|
private slotMutationObserver;
|
|
20
|
+
private contentSyncFrame;
|
|
19
21
|
private currentPathname;
|
|
20
22
|
private pathnameCheckInterval;
|
|
21
23
|
private stopAutoUpdate;
|
|
@@ -90,6 +92,35 @@ export declare class PdsTooltip {
|
|
|
90
92
|
*/
|
|
91
93
|
private repositionPortal;
|
|
92
94
|
private createPortal;
|
|
95
|
+
/**
|
|
96
|
+
* The host's own content slot wrapper. Matched among direct children only, so a nested
|
|
97
|
+
* pds-tooltip inside the trigger slot isn't mistaken for this one's.
|
|
98
|
+
*/
|
|
99
|
+
private get contentSlotWrapper();
|
|
100
|
+
/**
|
|
101
|
+
* Copies the slotted content (or the `content` prop's text) into a detached container. The
|
|
102
|
+
* portal holds copies so the framework that owns the slotted nodes keeps them.
|
|
103
|
+
*/
|
|
104
|
+
private copySlottedContent;
|
|
105
|
+
/**
|
|
106
|
+
* While the tooltip is open, keeps the portal's copy in step with the slotted content at any
|
|
107
|
+
* depth: content that loads or re-renders after opening shows without reopening. Changes are
|
|
108
|
+
* batched to one re-copy per animation frame, and a re-copy that matches the last one shown is
|
|
109
|
+
* dropped, so screen readers aren't re-announced, iframes don't reload and the tooltip isn't
|
|
110
|
+
* repositioned for nothing. Only the hidden slot wrapper is observed, so copying into the portal
|
|
111
|
+
* can't trigger another sync.
|
|
112
|
+
*/
|
|
113
|
+
private startContentSync;
|
|
114
|
+
private scheduleContentSync;
|
|
115
|
+
/**
|
|
116
|
+
* A copy's serialized HTML with Stencil's own hydration and scope classes removed from every
|
|
117
|
+
* `pds-*` descendant, so a nested component finishing hydration (or re-hydrating once reconnected
|
|
118
|
+
* inside the portal) isn't mistaken for a real content change. Without this, that class-only
|
|
119
|
+
* difference fails the equality check above and triggers a recopy that replaces still-loaded
|
|
120
|
+
* nodes — reloading any iframe or media the slotted content held.
|
|
121
|
+
*/
|
|
122
|
+
private strippedHtml;
|
|
123
|
+
private stopContentSync;
|
|
93
124
|
private removePortal;
|
|
94
125
|
render(): any;
|
|
95
126
|
}
|
|
@@ -8,7 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { BoxColumnType, 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 } from "./utils/types";
|
|
11
|
+
import { ChipSentimentType, ChipSizeType, ChipVariantType, 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";
|
|
@@ -22,7 +22,7 @@ import { TextareaChangeEventDetail, TextareaInputEventDetail } from "./component
|
|
|
22
22
|
export { BoxColumnType, BoxShadowSizeType, BoxSpacingType, TextSizeType } from "./utils/types";
|
|
23
23
|
export { Event } from "./stencil-public-runtime";
|
|
24
24
|
export { CheckboxChangeEventDetail } from "./components/pds-checkbox/checkbox-interface";
|
|
25
|
-
export { ChipSentimentType, ChipSizeType, ChipVariantType, ModalSizeType, PlacementType } from "./utils/types";
|
|
25
|
+
export { ChipSentimentType, ChipSizeType, ChipVariantType, ModalSizeType, PlacementType, PopoverPaddingType } from "./utils/types";
|
|
26
26
|
export { ComboboxLoadOptionsEventDetail, ComboboxOption, ComboboxSearchEventDetail } from "./components/pds-combobox/combobox-interface";
|
|
27
27
|
export { DatepickerChangeEventDetail, DatepickerPreset } from "./components/pds-datepicker/datepicker-interface";
|
|
28
28
|
export { PdsFilterClearEventDetail, PdsFilterCloseEventDetail, PdsFilterOpenEventDetail, PdsFilterVariant } from "./components/pds-filters/pds-filter/filter-interface";
|
|
@@ -108,6 +108,11 @@ export namespace Components {
|
|
|
108
108
|
* @defaultValue false
|
|
109
109
|
*/
|
|
110
110
|
"hideIcon": boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Accessible label announcing the alert's severity, read before the heading and message. Pass a translated string to localize it; defaults to English for each variant (`Error`, `Info`, `Success`, `Warning`). The `default` variant has no severity and announces none unless this is set; pass an empty string to announce none for any variant.
|
|
113
|
+
* @defaultValue undefined
|
|
114
|
+
*/
|
|
115
|
+
"severityLabel"?: string;
|
|
111
116
|
/**
|
|
112
117
|
* If true, the alert is displayed in a smaller size and description text is truncated. Heading is not displayed.
|
|
113
118
|
* @default false
|
|
@@ -130,6 +135,11 @@ export namespace Components {
|
|
|
130
135
|
* @defaultValue false
|
|
131
136
|
*/
|
|
132
137
|
"badge"?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Accessible label for the badge icon. Pass a translated string to localize it; defaults to English. Pass an empty string to make the badge decorative. Has no effect on dropdown avatars, where the trigger's `triggerLabel` owns the accessible name.
|
|
140
|
+
* @defaultValue 'Verified'
|
|
141
|
+
*/
|
|
142
|
+
"badgeLabel"?: string;
|
|
133
143
|
/**
|
|
134
144
|
* A unique identifier used for the underlying component `id` attribute.
|
|
135
145
|
*/
|
|
@@ -853,11 +863,11 @@ export namespace Components {
|
|
|
853
863
|
*/
|
|
854
864
|
"helperMessage": string;
|
|
855
865
|
/**
|
|
856
|
-
* Visually hides the label text for instances where only the checkbox should be displayed. Label remains accessible to assistive technology such as screen readers.
|
|
866
|
+
* Visually hides the label text for instances where only the checkbox should be displayed. Label remains accessible to assistive technology such as screen readers. Ignored when `variant` is `pill`.
|
|
857
867
|
*/
|
|
858
868
|
"hideLabel": boolean;
|
|
859
869
|
/**
|
|
860
|
-
* If `true`, the checkbox will visually appear as indeterminate. Only JavaScript can set the objects `indeterminate` property. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes).
|
|
870
|
+
* If `true`, the checkbox will visually appear as indeterminate. Only JavaScript can set the objects `indeterminate` property. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes). Has no visual style when `variant` is `pill`.
|
|
861
871
|
*/
|
|
862
872
|
"indeterminate": boolean;
|
|
863
873
|
/**
|
|
@@ -880,6 +890,11 @@ export namespace Components {
|
|
|
880
890
|
* The value of the checkbox that is submitted with a form.
|
|
881
891
|
*/
|
|
882
892
|
"value": string;
|
|
893
|
+
/**
|
|
894
|
+
* Sets the style variant of the checkbox. `pill` renders the label as a pill-shaped choice; the native input still handles keyboard, form, and screen reader behavior.
|
|
895
|
+
* @defaultValue default
|
|
896
|
+
*/
|
|
897
|
+
"variant": 'default' | 'pill';
|
|
883
898
|
}
|
|
884
899
|
interface PdsChip {
|
|
885
900
|
/**
|
|
@@ -1136,6 +1151,11 @@ export namespace Components {
|
|
|
1136
1151
|
* @default 'fit-content'
|
|
1137
1152
|
*/
|
|
1138
1153
|
"triggerWidth": string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Determines whether the button trigger's label and the option labels should truncate and display with an ellipsis. When a label overflows, a `title` showing the full label will appear on hover. Chip options, custom layouts and group rows aren't affected.
|
|
1156
|
+
* @defaultValue false
|
|
1157
|
+
*/
|
|
1158
|
+
"truncate": boolean;
|
|
1139
1159
|
/**
|
|
1140
1160
|
* The value of the combobox input.
|
|
1141
1161
|
* @default ''
|
|
@@ -1531,20 +1551,30 @@ export namespace Components {
|
|
|
1531
1551
|
*/
|
|
1532
1552
|
"disabled": boolean;
|
|
1533
1553
|
/**
|
|
1534
|
-
* Prompts the user to save the linked URL instead of navigating to it. It can be used without a value to download with the default filename, or with a string value to suggest a specific filename for the download. Only applies when href is set.
|
|
1554
|
+
* Prompts the user to save the linked URL instead of navigating to it. It can be used without a value to download with the default filename, or with a string value to suggest a specific filename for the download. Only applies when href is set. Ignored when `informational` is set.
|
|
1535
1555
|
*/
|
|
1536
1556
|
"download"?: string;
|
|
1537
1557
|
/**
|
|
1538
|
-
* Determines whether the link should open in a new tab and display an external icon. This is a simpler alternative to using `target="_blank"` for the common case.
|
|
1558
|
+
* Determines whether the link should open in a new tab and display an external icon. This is a simpler alternative to using `target="_blank"` for the common case. Ignored when `informational` is set.
|
|
1539
1559
|
* @defaultValue false
|
|
1540
1560
|
*/
|
|
1541
1561
|
"external": boolean;
|
|
1542
1562
|
/**
|
|
1543
|
-
*
|
|
1563
|
+
* Accessible label for the external-link icon, passed to the inner `pds-link`. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
1564
|
+
* @defaultValue '(opens in a new tab)'
|
|
1565
|
+
*/
|
|
1566
|
+
"externalLabel"?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* If provided, renders the dropdown-item as an anchor (`<a>`) element instead of a button. Ignored when `informational` is set.
|
|
1544
1569
|
*/
|
|
1545
1570
|
"href": string | undefined;
|
|
1546
1571
|
/**
|
|
1547
|
-
*
|
|
1572
|
+
* It determines whether or not the dropdown-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
|
+
* @defaultValue false
|
|
1574
|
+
*/
|
|
1575
|
+
"informational": boolean;
|
|
1576
|
+
/**
|
|
1577
|
+
* Specifies where to open the linked document when href is provided. Takes precedence over the `external` prop if both are set. Only applies when href is set. Ignored when `informational` is set.
|
|
1548
1578
|
* @defaultValue undefined
|
|
1549
1579
|
*/
|
|
1550
1580
|
"target"?: '_blank' | '_self' | '_parent' | '_top';
|
|
@@ -1759,6 +1789,11 @@ export namespace Components {
|
|
|
1759
1789
|
* @deprecated Consider using the `target` prop for more control. This prop will be maintained for backward compatibility.
|
|
1760
1790
|
*/
|
|
1761
1791
|
"external": boolean;
|
|
1792
|
+
/**
|
|
1793
|
+
* Accessible label for the icon that `external` shows, appended to the link's name. It isn't announced when `target` keeps the link in the same tab. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
1794
|
+
* @defaultValue '(opens in a new tab)'
|
|
1795
|
+
*/
|
|
1796
|
+
"externalLabel"?: string;
|
|
1762
1797
|
/**
|
|
1763
1798
|
* The font size of the link's text.
|
|
1764
1799
|
* @defaultValue lg
|
|
@@ -2156,6 +2191,16 @@ export namespace Components {
|
|
|
2156
2191
|
* @defaultValue 352
|
|
2157
2192
|
*/
|
|
2158
2193
|
"maxWidth"?: number;
|
|
2194
|
+
/**
|
|
2195
|
+
* Determines how the popover opens. With `hover`, it also opens when the pointer rests on the trigger and closes when the pointer leaves, until a click on the trigger keeps it open. Enter or Space on the trigger opens it either way.
|
|
2196
|
+
* @defaultValue "click"
|
|
2197
|
+
*/
|
|
2198
|
+
"openOn"?: 'click' | 'hover';
|
|
2199
|
+
/**
|
|
2200
|
+
* Sets the padding of the popover content
|
|
2201
|
+
* @defaultValue "md"
|
|
2202
|
+
*/
|
|
2203
|
+
"padding"?: PopoverPaddingType;
|
|
2159
2204
|
/**
|
|
2160
2205
|
* Determines the preferred position of the popover
|
|
2161
2206
|
* @defaultValue "right"
|
|
@@ -2244,7 +2289,7 @@ export namespace Components {
|
|
|
2244
2289
|
*/
|
|
2245
2290
|
"errorMessage": string;
|
|
2246
2291
|
/**
|
|
2247
|
-
* Adds a border around the radio component for better visual separation.
|
|
2292
|
+
* Adds a border around the radio component for better visual separation. Ignored when `variant` is `pill`.
|
|
2248
2293
|
* @defaultValue false
|
|
2249
2294
|
*/
|
|
2250
2295
|
"hasBorder": boolean;
|
|
@@ -2253,7 +2298,7 @@ export namespace Components {
|
|
|
2253
2298
|
*/
|
|
2254
2299
|
"helperMessage": string;
|
|
2255
2300
|
/**
|
|
2256
|
-
* Visually hides the label text for instances where only the radio should be displayed. Label remains accessible to assistive technology such as screen readers.
|
|
2301
|
+
* Visually hides the label text for instances where only the radio should be displayed. Label remains accessible to assistive technology such as screen readers. Ignored when `variant` is `pill`.
|
|
2257
2302
|
*/
|
|
2258
2303
|
"hideLabel": boolean;
|
|
2259
2304
|
/**
|
|
@@ -2278,6 +2323,11 @@ export namespace Components {
|
|
|
2278
2323
|
* The value of the radio that is submitted with a form.
|
|
2279
2324
|
*/
|
|
2280
2325
|
"value": string;
|
|
2326
|
+
/**
|
|
2327
|
+
* Sets the style variant of the radio. `pill` renders the label as a pill-shaped choice; the native input still handles keyboard, form, and screen reader behavior.
|
|
2328
|
+
* @defaultValue default
|
|
2329
|
+
*/
|
|
2330
|
+
"variant": 'default' | 'pill';
|
|
2281
2331
|
}
|
|
2282
2332
|
/**
|
|
2283
2333
|
* @lightDom renders-markup
|
|
@@ -2893,6 +2943,11 @@ export namespace Components {
|
|
|
2893
2943
|
* The name of the icon to display in the toast.
|
|
2894
2944
|
*/
|
|
2895
2945
|
"icon"?: string;
|
|
2946
|
+
/**
|
|
2947
|
+
* Accessible label announcing the toast's severity, read before the message. Pass a translated string to localize it; defaults to English (`Error`) for the `danger` type. Other types announce none unless this is set; pass an empty string to announce none.
|
|
2948
|
+
* @defaultValue undefined
|
|
2949
|
+
*/
|
|
2950
|
+
"severityLabel"?: string;
|
|
2896
2951
|
/**
|
|
2897
2952
|
* The type of toast to display. - default: Grey background (default) - danger: Red background - loading: With spinner animation
|
|
2898
2953
|
* @default 'default'
|
|
@@ -3943,6 +3998,11 @@ declare namespace LocalJSX {
|
|
|
3943
3998
|
* Event emitted when the dismiss button is clicked.
|
|
3944
3999
|
*/
|
|
3945
4000
|
"onPdsAlertDismissClick"?: (event: PdsAlertCustomEvent<void>) => void;
|
|
4001
|
+
/**
|
|
4002
|
+
* Accessible label announcing the alert's severity, read before the heading and message. Pass a translated string to localize it; defaults to English for each variant (`Error`, `Info`, `Success`, `Warning`). The `default` variant has no severity and announces none unless this is set; pass an empty string to announce none for any variant.
|
|
4003
|
+
* @defaultValue undefined
|
|
4004
|
+
*/
|
|
4005
|
+
"severityLabel"?: string;
|
|
3946
4006
|
/**
|
|
3947
4007
|
* If true, the alert is displayed in a smaller size and description text is truncated. Heading is not displayed.
|
|
3948
4008
|
* @default false
|
|
@@ -3965,6 +4025,11 @@ declare namespace LocalJSX {
|
|
|
3965
4025
|
* @defaultValue false
|
|
3966
4026
|
*/
|
|
3967
4027
|
"badge"?: boolean;
|
|
4028
|
+
/**
|
|
4029
|
+
* Accessible label for the badge icon. Pass a translated string to localize it; defaults to English. Pass an empty string to make the badge decorative. Has no effect on dropdown avatars, where the trigger's `triggerLabel` owns the accessible name.
|
|
4030
|
+
* @defaultValue 'Verified'
|
|
4031
|
+
*/
|
|
4032
|
+
"badgeLabel"?: string;
|
|
3968
4033
|
/**
|
|
3969
4034
|
* A unique identifier used for the underlying component `id` attribute.
|
|
3970
4035
|
*/
|
|
@@ -4693,11 +4758,11 @@ declare namespace LocalJSX {
|
|
|
4693
4758
|
*/
|
|
4694
4759
|
"helperMessage"?: string;
|
|
4695
4760
|
/**
|
|
4696
|
-
* Visually hides the label text for instances where only the checkbox should be displayed. Label remains accessible to assistive technology such as screen readers.
|
|
4761
|
+
* Visually hides the label text for instances where only the checkbox should be displayed. Label remains accessible to assistive technology such as screen readers. Ignored when `variant` is `pill`.
|
|
4697
4762
|
*/
|
|
4698
4763
|
"hideLabel"?: boolean;
|
|
4699
4764
|
/**
|
|
4700
|
-
* If `true`, the checkbox will visually appear as indeterminate. Only JavaScript can set the objects `indeterminate` property. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes).
|
|
4765
|
+
* If `true`, the checkbox will visually appear as indeterminate. Only JavaScript can set the objects `indeterminate` property. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes). Has no visual style when `variant` is `pill`.
|
|
4701
4766
|
*/
|
|
4702
4767
|
"indeterminate"?: boolean;
|
|
4703
4768
|
/**
|
|
@@ -4725,6 +4790,11 @@ declare namespace LocalJSX {
|
|
|
4725
4790
|
* The value of the checkbox that is submitted with a form.
|
|
4726
4791
|
*/
|
|
4727
4792
|
"value"?: string;
|
|
4793
|
+
/**
|
|
4794
|
+
* Sets the style variant of the checkbox. `pill` renders the label as a pill-shaped choice; the native input still handles keyboard, form, and screen reader behavior.
|
|
4795
|
+
* @defaultValue default
|
|
4796
|
+
*/
|
|
4797
|
+
"variant"?: 'default' | 'pill';
|
|
4728
4798
|
}
|
|
4729
4799
|
interface PdsChip {
|
|
4730
4800
|
/**
|
|
@@ -4989,6 +5059,11 @@ declare namespace LocalJSX {
|
|
|
4989
5059
|
* @default 'fit-content'
|
|
4990
5060
|
*/
|
|
4991
5061
|
"triggerWidth"?: string;
|
|
5062
|
+
/**
|
|
5063
|
+
* Determines whether the button trigger's label and the option labels should truncate and display with an ellipsis. When a label overflows, a `title` showing the full label will appear on hover. Chip options, custom layouts and group rows aren't affected.
|
|
5064
|
+
* @defaultValue false
|
|
5065
|
+
*/
|
|
5066
|
+
"truncate"?: boolean;
|
|
4992
5067
|
/**
|
|
4993
5068
|
* The value of the combobox input.
|
|
4994
5069
|
* @default ''
|
|
@@ -5396,24 +5471,34 @@ declare namespace LocalJSX {
|
|
|
5396
5471
|
*/
|
|
5397
5472
|
"disabled"?: boolean;
|
|
5398
5473
|
/**
|
|
5399
|
-
* Prompts the user to save the linked URL instead of navigating to it. It can be used without a value to download with the default filename, or with a string value to suggest a specific filename for the download. Only applies when href is set.
|
|
5474
|
+
* Prompts the user to save the linked URL instead of navigating to it. It can be used without a value to download with the default filename, or with a string value to suggest a specific filename for the download. Only applies when href is set. Ignored when `informational` is set.
|
|
5400
5475
|
*/
|
|
5401
5476
|
"download"?: string;
|
|
5402
5477
|
/**
|
|
5403
|
-
* Determines whether the link should open in a new tab and display an external icon. This is a simpler alternative to using `target="_blank"` for the common case.
|
|
5478
|
+
* Determines whether the link should open in a new tab and display an external icon. This is a simpler alternative to using `target="_blank"` for the common case. Ignored when `informational` is set.
|
|
5404
5479
|
* @defaultValue false
|
|
5405
5480
|
*/
|
|
5406
5481
|
"external"?: boolean;
|
|
5407
5482
|
/**
|
|
5408
|
-
*
|
|
5483
|
+
* Accessible label for the external-link icon, passed to the inner `pds-link`. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
5484
|
+
* @defaultValue '(opens in a new tab)'
|
|
5485
|
+
*/
|
|
5486
|
+
"externalLabel"?: string;
|
|
5487
|
+
/**
|
|
5488
|
+
* If provided, renders the dropdown-item as an anchor (`<a>`) element instead of a button. Ignored when `informational` is set.
|
|
5409
5489
|
*/
|
|
5410
5490
|
"href"?: string | undefined;
|
|
5491
|
+
/**
|
|
5492
|
+
* It determines whether or not the dropdown-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
|
+
* @defaultValue false
|
|
5494
|
+
*/
|
|
5495
|
+
"informational"?: boolean;
|
|
5411
5496
|
/**
|
|
5412
5497
|
* Emitted when the dropdown-item is clicked.
|
|
5413
5498
|
*/
|
|
5414
5499
|
"onPdsClick"?: (event: PdsDropdownMenuItemCustomEvent<{itemIndex: number, item: HTMLPdsDropdownMenuItemElement, content: string}>) => void;
|
|
5415
5500
|
/**
|
|
5416
|
-
* Specifies where to open the linked document when href is provided. Takes precedence over the `external` prop if both are set. Only applies when href is set.
|
|
5501
|
+
* Specifies where to open the linked document when href is provided. Takes precedence over the `external` prop if both are set. Only applies when href is set. Ignored when `informational` is set.
|
|
5417
5502
|
* @defaultValue undefined
|
|
5418
5503
|
*/
|
|
5419
5504
|
"target"?: '_blank' | '_self' | '_parent' | '_top';
|
|
@@ -5652,6 +5737,11 @@ declare namespace LocalJSX {
|
|
|
5652
5737
|
* @deprecated Consider using the `target` prop for more control. This prop will be maintained for backward compatibility.
|
|
5653
5738
|
*/
|
|
5654
5739
|
"external"?: boolean;
|
|
5740
|
+
/**
|
|
5741
|
+
* Accessible label for the icon that `external` shows, appended to the link's name. It isn't announced when `target` keeps the link in the same tab. Pass a translated string to localize it; defaults to English. Pass an empty string to make the icon decorative.
|
|
5742
|
+
* @defaultValue '(opens in a new tab)'
|
|
5743
|
+
*/
|
|
5744
|
+
"externalLabel"?: string;
|
|
5655
5745
|
/**
|
|
5656
5746
|
* The font size of the link's text.
|
|
5657
5747
|
* @defaultValue lg
|
|
@@ -6069,6 +6159,16 @@ declare namespace LocalJSX {
|
|
|
6069
6159
|
* Emitted when the popover is opened
|
|
6070
6160
|
*/
|
|
6071
6161
|
"onPdsPopoverOpen"?: (event: PdsPopoverCustomEvent<PdsPopoverEventDetail>) => void;
|
|
6162
|
+
/**
|
|
6163
|
+
* Determines how the popover opens. With `hover`, it also opens when the pointer rests on the trigger and closes when the pointer leaves, until a click on the trigger keeps it open. Enter or Space on the trigger opens it either way.
|
|
6164
|
+
* @defaultValue "click"
|
|
6165
|
+
*/
|
|
6166
|
+
"openOn"?: 'click' | 'hover';
|
|
6167
|
+
/**
|
|
6168
|
+
* Sets the padding of the popover content
|
|
6169
|
+
* @defaultValue "md"
|
|
6170
|
+
*/
|
|
6171
|
+
"padding"?: PopoverPaddingType;
|
|
6072
6172
|
/**
|
|
6073
6173
|
* Determines the preferred position of the popover
|
|
6074
6174
|
* @defaultValue "right"
|
|
@@ -6149,7 +6249,7 @@ declare namespace LocalJSX {
|
|
|
6149
6249
|
*/
|
|
6150
6250
|
"errorMessage"?: string;
|
|
6151
6251
|
/**
|
|
6152
|
-
* Adds a border around the radio component for better visual separation.
|
|
6252
|
+
* Adds a border around the radio component for better visual separation. Ignored when `variant` is `pill`.
|
|
6153
6253
|
* @defaultValue false
|
|
6154
6254
|
*/
|
|
6155
6255
|
"hasBorder"?: boolean;
|
|
@@ -6158,7 +6258,7 @@ declare namespace LocalJSX {
|
|
|
6158
6258
|
*/
|
|
6159
6259
|
"helperMessage"?: string;
|
|
6160
6260
|
/**
|
|
6161
|
-
* Visually hides the label text for instances where only the radio should be displayed. Label remains accessible to assistive technology such as screen readers.
|
|
6261
|
+
* Visually hides the label text for instances where only the radio should be displayed. Label remains accessible to assistive technology such as screen readers. Ignored when `variant` is `pill`.
|
|
6162
6262
|
*/
|
|
6163
6263
|
"hideLabel"?: boolean;
|
|
6164
6264
|
/**
|
|
@@ -6187,6 +6287,11 @@ declare namespace LocalJSX {
|
|
|
6187
6287
|
* The value of the radio that is submitted with a form.
|
|
6188
6288
|
*/
|
|
6189
6289
|
"value"?: string;
|
|
6290
|
+
/**
|
|
6291
|
+
* Sets the style variant of the radio. `pill` renders the label as a pill-shaped choice; the native input still handles keyboard, form, and screen reader behavior.
|
|
6292
|
+
* @defaultValue default
|
|
6293
|
+
*/
|
|
6294
|
+
"variant"?: 'default' | 'pill';
|
|
6190
6295
|
}
|
|
6191
6296
|
/**
|
|
6192
6297
|
* @lightDom renders-markup
|
|
@@ -6849,6 +6954,11 @@ declare namespace LocalJSX {
|
|
|
6849
6954
|
* Event emitted when the toast is dismissed, either manually or automatically.
|
|
6850
6955
|
*/
|
|
6851
6956
|
"onPdsToastDismissed"?: (event: PdsToastCustomEvent<{ componentId?: string }>) => void;
|
|
6957
|
+
/**
|
|
6958
|
+
* Accessible label announcing the toast's severity, read before the message. Pass a translated string to localize it; defaults to English (`Error`) for the `danger` type. Other types announce none unless this is set; pass an empty string to announce none.
|
|
6959
|
+
* @defaultValue undefined
|
|
6960
|
+
*/
|
|
6961
|
+
"severityLabel"?: string;
|
|
6852
6962
|
/**
|
|
6853
6963
|
* The type of toast to display. - default: Grey background (default) - danger: Red background - loading: With spinner animation
|
|
6854
6964
|
* @default 'default'
|
|
@@ -6913,10 +7023,12 @@ declare namespace LocalJSX {
|
|
|
6913
7023
|
"hideIcon": boolean;
|
|
6914
7024
|
"variant": 'default' | 'danger' | 'info' | 'success' | 'warning';
|
|
6915
7025
|
"dismissLabel": string;
|
|
7026
|
+
"severityLabel": string;
|
|
6916
7027
|
}
|
|
6917
7028
|
interface PdsAvatarAttributes {
|
|
6918
7029
|
"alt": string | null;
|
|
6919
7030
|
"badge": boolean;
|
|
7031
|
+
"badgeLabel": string;
|
|
6920
7032
|
"componentId": string;
|
|
6921
7033
|
"dropdown": boolean;
|
|
6922
7034
|
"image": string | null;
|
|
@@ -7086,6 +7198,7 @@ declare namespace LocalJSX {
|
|
|
7086
7198
|
"name": string;
|
|
7087
7199
|
"required": boolean;
|
|
7088
7200
|
"value": string;
|
|
7201
|
+
"variant": 'default' | 'pill';
|
|
7089
7202
|
}
|
|
7090
7203
|
interface PdsChipAttributes {
|
|
7091
7204
|
"componentId": string;
|
|
@@ -7131,6 +7244,7 @@ declare namespace LocalJSX {
|
|
|
7131
7244
|
"triggerWidth": string;
|
|
7132
7245
|
"triggerVariant": 'secondary' | 'primary' | 'accent' | 'destructive';
|
|
7133
7246
|
"triggerShape": 'pill' | 'input';
|
|
7247
|
+
"truncate": boolean;
|
|
7134
7248
|
"chipSentiment": ChipSentimentType;
|
|
7135
7249
|
"chipLarge": boolean;
|
|
7136
7250
|
"chipIcon": string;
|
|
@@ -7227,7 +7341,9 @@ declare namespace LocalJSX {
|
|
|
7227
7341
|
"disabled": boolean;
|
|
7228
7342
|
"download": string;
|
|
7229
7343
|
"href": string | undefined;
|
|
7344
|
+
"informational": boolean;
|
|
7230
7345
|
"external": boolean;
|
|
7346
|
+
"externalLabel": string;
|
|
7231
7347
|
"target": '_blank' | '_self' | '_parent' | '_top';
|
|
7232
7348
|
}
|
|
7233
7349
|
interface PdsDropdownMenuSeparatorAttributes {
|
|
@@ -7284,6 +7400,7 @@ declare namespace LocalJSX {
|
|
|
7284
7400
|
"download": string;
|
|
7285
7401
|
"componentId": string;
|
|
7286
7402
|
"external": boolean;
|
|
7403
|
+
"externalLabel": string;
|
|
7287
7404
|
"target": '_blank' | '_self' | '_parent' | '_top';
|
|
7288
7405
|
"variant": 'inline' | 'plain';
|
|
7289
7406
|
"fontSize": 'sm' | 'md' | 'lg';
|
|
@@ -7368,9 +7485,11 @@ declare namespace LocalJSX {
|
|
|
7368
7485
|
}
|
|
7369
7486
|
interface PdsPopoverAttributes {
|
|
7370
7487
|
"popoverTargetAction": 'show' | 'toggle' | 'hide';
|
|
7488
|
+
"openOn": 'click' | 'hover';
|
|
7371
7489
|
"popoverType": 'auto' | 'manual';
|
|
7372
7490
|
"componentId": string;
|
|
7373
7491
|
"maxWidth": number;
|
|
7492
|
+
"padding": PopoverPaddingType;
|
|
7374
7493
|
"placement": PlacementType;
|
|
7375
7494
|
}
|
|
7376
7495
|
interface PdsProgressAttributes {
|
|
@@ -7398,6 +7517,7 @@ declare namespace LocalJSX {
|
|
|
7398
7517
|
"name": string;
|
|
7399
7518
|
"required": boolean;
|
|
7400
7519
|
"value": string;
|
|
7520
|
+
"variant": 'default' | 'pill';
|
|
7401
7521
|
}
|
|
7402
7522
|
interface PdsRadioGroupAttributes {
|
|
7403
7523
|
"componentId": string;
|
|
@@ -7566,6 +7686,7 @@ declare namespace LocalJSX {
|
|
|
7566
7686
|
"icon": string;
|
|
7567
7687
|
"type": 'default' | 'danger' | 'loading';
|
|
7568
7688
|
"dismissLabel": string;
|
|
7689
|
+
"severityLabel": string;
|
|
7569
7690
|
}
|
|
7570
7691
|
interface PdsTooltipAttributes {
|
|
7571
7692
|
"content": string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ARIA attributes that take ID references, and the element-reflection property each is forwarded
|
|
3
|
+
* through. An ID on a host can't reach an element inside its shadow root, so a component that
|
|
4
|
+
* delegates focus forwards the elements the IDs point at instead. A browser without ARIA element
|
|
5
|
+
* reflection gets none of them.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ARIA_REFERENCE_PROPERTIES: {
|
|
8
|
+
readonly 'aria-controls': "ariaControlsElements";
|
|
9
|
+
readonly 'aria-describedby': "ariaDescribedByElements";
|
|
10
|
+
readonly 'aria-labelledby': "ariaLabelledByElements";
|
|
11
|
+
};
|
|
12
|
+
export declare const ARIA_REFERENCE_ATTRIBUTES: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Finds an element by ID in the host's tree, then in each shadow root that contains it, so a host
|
|
15
|
+
* inside another component's shadow root still reaches, say, a popover portal on document.body.
|
|
16
|
+
* The closest root wins when an ID repeats.
|
|
17
|
+
*/
|
|
18
|
+
export declare const findInAncestorRoots: (host: Element, id: string) => HTMLElement | null;
|
|
19
|
+
/**
|
|
20
|
+
* Points the target's reflected ARIA properties at the elements the host's ID-reference attributes
|
|
21
|
+
* name, or clears them. Run it again whenever the attributes or the referenced elements may have
|
|
22
|
+
* changed: element references don't follow an ID to a node added or replaced later.
|
|
23
|
+
*/
|
|
24
|
+
export declare const forwardAriaReferences: (host: Element, target: Element) => void;
|
|
@@ -25,7 +25,7 @@ export interface TruncationTooltipOptions {
|
|
|
25
25
|
*/
|
|
26
26
|
manageTabIndex?: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* The element whose focus shows the tooltip (default: `hostEl`).
|
|
28
|
+
* The element whose keyboard focus shows the tooltip (default: `hostEl`).
|
|
29
29
|
*
|
|
30
30
|
* Pass the wrapping control when it sits outside `hostEl`, so focusing it
|
|
31
31
|
* still reveals the text once `manageTabIndex` is `false`.
|
|
@@ -35,9 +35,9 @@ export interface TruncationTooltipOptions {
|
|
|
35
35
|
/**
|
|
36
36
|
* Sets up automatic tooltip behavior for a truncated element.
|
|
37
37
|
*
|
|
38
|
-
* When the element's text overflows, hovering
|
|
39
|
-
* will display a tooltip showing the full text content. The
|
|
40
|
-
* rendered as a portal on document.body and positioned with Floating UI.
|
|
38
|
+
* When the element's text overflows, hovering the host element or giving it
|
|
39
|
+
* keyboard focus will display a tooltip showing the full text content. The
|
|
40
|
+
* tooltip is rendered as a portal on document.body and positioned with Floating UI.
|
|
41
41
|
*
|
|
42
42
|
* Also owns the element's `tabindex` while it is clipped — see syncTabIndex.
|
|
43
43
|
*
|
|
@@ -6,5 +6,6 @@ export type ChipSentimentType = 'accent' | 'brand' | 'danger' | 'info' | 'neutra
|
|
|
6
6
|
export type ModalSizeType = 'sm' | 'md' | 'lg' | 'fullscreen';
|
|
7
7
|
export type ChipSizeType = 'sm' | 'md' | 'lg';
|
|
8
8
|
export type ChipVariantType = 'text' | 'tag' | 'dropdown';
|
|
9
|
+
export type PopoverPaddingType = Extract<BoxSpacingType, 'none' | 'xs' | 'sm' | 'md'>;
|
|
9
10
|
export declare const TEXT_SIZES: readonly ["2xl", "xl", "lg", "md", "sm", "xs", "2xs", "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
10
11
|
export type TextSizeType = (typeof TEXT_SIZES)[number];
|