@pine-ds/core 3.22.0 → 3.23.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/floating-ui.dom.js +142 -129
- package/components/floating-ui.dom.js.map +1 -1
- package/components/form.js +14 -1
- package/components/form.js.map +1 -1
- package/components/index2.js +1 -1
- package/components/index2.js.map +1 -1
- package/components/mock-pds-modal.js +1 -1
- package/components/pds-alert.js +1 -1
- package/components/pds-alert.js.map +1 -1
- package/components/pds-avatar.js +1 -1
- package/components/pds-avatar.js.map +1 -1
- package/components/pds-checkbox2.js +5 -7
- package/components/pds-checkbox2.js.map +1 -1
- package/components/pds-chip2.js +1 -1
- package/components/pds-chip2.js.map +1 -1
- package/components/pds-combobox.js +46 -41
- package/components/pds-combobox.js.map +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-divider.js +1 -1
- package/components/pds-dropdown-menu-item.js +1 -1
- package/components/pds-dropdown-menu-item.js.map +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 +2 -2
- package/components/pds-input.js +5 -3
- package/components/pds-input.js.map +1 -1
- package/components/pds-link2.js +2 -2
- package/components/pds-loader2.js +1 -1
- package/components/pds-modal-content.js +2 -2
- package/components/pds-modal-footer.js +1 -1
- package/components/pds-modal-header.js +1 -1
- package/components/pds-modal.js +3 -3
- package/components/pds-multiselect.js +199 -40
- package/components/pds-multiselect.js.map +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 +3 -3
- package/components/pds-radio.js +3 -3
- package/components/pds-row.js +1 -1
- package/components/pds-select.js +4 -2
- package/components/pds-select.js.map +1 -1
- package/components/pds-sortable-item.js +2 -2
- package/components/pds-sortable-item.js.map +1 -1
- package/components/pds-sortable.js +98 -93
- package/components/pds-sortable.js.map +1 -1
- package/components/pds-switch.js +5 -7
- package/components/pds-switch.js.map +1 -1
- package/components/pds-tab.js +3 -3
- package/components/pds-table-body.js +1 -1
- package/components/pds-table-cell2.js +2 -2
- package/components/pds-table-head-cell2.js +2 -2
- 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 +8 -6
- package/components/pds-textarea.js.map +1 -1
- package/components/pds-toast.js +3 -3
- package/components/pds-toast.js.map +1 -1
- package/components/pds-tooltip.js +2 -2
- package/dist/cjs/{floating-ui.dom-Ca6tS7ef.js → floating-ui.dom-BZk7Blsu.js} +144 -131
- package/dist/cjs/floating-ui.dom-BZk7Blsu.js.map +1 -0
- package/dist/cjs/{form-DUqlzovE.js → form-CpM5Z8q7.js} +16 -2
- package/dist/cjs/form-CpM5Z8q7.js.map +1 -0
- package/dist/cjs/{index-D8mNsvM8.js → index-DGBoDsAL.js} +3 -3
- package/dist/cjs/index-DGBoDsAL.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mock-pds-modal.cjs.entry.js +1 -1
- package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/pds-alert.cjs.entry.js +1 -1
- package/dist/cjs/pds-alert.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/pds-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +1 -1
- package/dist/cjs/pds-checkbox.cjs.entry.js +6 -8
- package/dist/cjs/pds-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-chip.cjs.entry.js +2 -2
- package/dist/cjs/pds-chip.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-combobox.cjs.entry.js +46 -42
- package/dist/cjs/pds-combobox.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-copytext.cjs.entry.js +4 -4
- package/dist/cjs/pds-divider.cjs.entry.js +1 -1
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/pds-dropdown-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -1
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/pds-filter.cjs.entry.js +2 -2
- package/dist/cjs/pds-filters.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +2 -2
- package/dist/cjs/pds-input.cjs.entry.js +6 -4
- package/dist/cjs/pds-input.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-link.cjs.entry.js +3 -3
- package/dist/cjs/pds-loader.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal-content.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal.cjs.entry.js +3 -3
- package/dist/cjs/pds-multiselect.cjs.entry.js +187 -38
- package/dist/cjs/pds-multiselect.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-popover.cjs.entry.js +1 -1
- package/dist/cjs/pds-progress.cjs.entry.js +1 -1
- package/dist/cjs/pds-property.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/pds-select.cjs.entry.js +5 -3
- package/dist/cjs/pds-select.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable-item.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-sortable.cjs.entry.js +95 -93
- package/dist/cjs/pds-sortable.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-switch.cjs.entry.js +6 -8
- package/dist/cjs/pds-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-tab.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-cell.cjs.entry.js +4 -4
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
- package/dist/cjs/pds-text.cjs.entry.js +3 -3
- package/dist/cjs/pds-textarea.cjs.entry.js +9 -7
- package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-toast.cjs.entry.js +3 -3
- package/dist/cjs/pds-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/pine-core.cjs.js +1 -1
- package/dist/cjs/{truncation-tooltip-BGGnm8SZ.js → truncation-tooltip-CVzAha5B.js} +3 -3
- package/dist/cjs/{truncation-tooltip-BGGnm8SZ.js.map → truncation-tooltip-CVzAha5B.js.map} +1 -1
- package/dist/collection/components/pds-alert/pds-alert.js +2 -1
- package/dist/collection/components/pds-alert/pds-alert.js.map +1 -1
- package/dist/collection/components/pds-avatar/pds-avatar.js +3 -1
- package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -1
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +5 -7
- package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
- package/dist/collection/components/pds-chip/pds-chip.js +2 -1
- package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
- package/dist/collection/components/pds-combobox/pds-combobox.css +5 -0
- package/dist/collection/components/pds-combobox/pds-combobox.js +53 -37
- package/dist/collection/components/pds-combobox/pds-combobox.js.map +1 -1
- package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
- package/dist/collection/components/pds-divider/pds-divider.js +1 -1
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +4 -1
- package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js.map +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 +1 -1
- 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.css +3 -0
- package/dist/collection/components/pds-input/pds-input.js +4 -2
- package/dist/collection/components/pds-input/pds-input.js.map +1 -1
- 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.js +3 -3
- package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
- package/dist/collection/components/pds-multiselect/multiselect-interface.js.map +1 -1
- package/dist/collection/components/pds-multiselect/pds-multiselect.css +83 -1
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +258 -37
- package/dist/collection/components/pds-multiselect/pds-multiselect.js.map +1 -1
- package/dist/collection/components/pds-multiselect/stories/pds-multiselect.stories.js +226 -0
- package/dist/collection/components/pds-popover/pds-popover.js +1 -1
- 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 +4 -2
- package/dist/collection/components/pds-select/pds-select.js.map +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +12 -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 +46 -4
- package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -1
- package/dist/collection/components/pds-sortable/sortable-interface.js.map +1 -1
- package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +19 -4
- package/dist/collection/components/pds-switch/pds-switch.js +5 -7
- package/dist/collection/components/pds-switch/pds-switch.js.map +1 -1
- 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-tab/pds-tab.js +3 -3
- 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 +8 -6
- package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
- package/dist/collection/components/pds-toast/pds-toast.js +6 -3
- package/dist/collection/components/pds-toast/pds-toast.js.map +1 -1
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
- package/dist/collection/utils/form.js +13 -0
- package/dist/collection/utils/form.js.map +1 -1
- package/dist/docs.json +222 -15
- package/dist/esm/{floating-ui.dom-BO6p966C.js → floating-ui.dom-DDtwbwIl.js} +144 -131
- package/dist/esm/floating-ui.dom-DDtwbwIl.js.map +1 -0
- package/dist/esm/{form-CN-lL5QG.js → form-C3xDZBme.js} +16 -3
- package/dist/esm/form-C3xDZBme.js.map +1 -0
- package/dist/esm/{index-Bmf4Ow_8.js → index-D4ys0pep.js} +3 -3
- package/dist/esm/index-D4ys0pep.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mock-pds-modal.entry.js +1 -1
- package/dist/esm/pds-accordion.entry.js +1 -1
- package/dist/esm/pds-alert.entry.js +1 -1
- package/dist/esm/pds-alert.entry.js.map +1 -1
- package/dist/esm/pds-avatar.entry.js +2 -2
- package/dist/esm/pds-avatar.entry.js.map +1 -1
- package/dist/esm/pds-button.entry.js +1 -1
- package/dist/esm/pds-checkbox.entry.js +6 -8
- package/dist/esm/pds-checkbox.entry.js.map +1 -1
- package/dist/esm/pds-chip.entry.js +2 -2
- package/dist/esm/pds-chip.entry.js.map +1 -1
- package/dist/esm/pds-combobox.entry.js +46 -42
- package/dist/esm/pds-combobox.entry.js.map +1 -1
- package/dist/esm/pds-copytext.entry.js +4 -4
- package/dist/esm/pds-divider.entry.js +1 -1
- package/dist/esm/pds-dropdown-menu-item.entry.js +1 -1
- package/dist/esm/pds-dropdown-menu-item.entry.js.map +1 -1
- package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -1
- package/dist/esm/pds-dropdown-menu.entry.js +2 -2
- package/dist/esm/pds-filter.entry.js +2 -2
- package/dist/esm/pds-filters.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +2 -2
- package/dist/esm/pds-input.entry.js +6 -4
- package/dist/esm/pds-input.entry.js.map +1 -1
- package/dist/esm/pds-link.entry.js +3 -3
- package/dist/esm/pds-loader.entry.js +1 -1
- package/dist/esm/pds-modal-content.entry.js +2 -2
- package/dist/esm/pds-modal-footer.entry.js +1 -1
- package/dist/esm/pds-modal-header.entry.js +1 -1
- package/dist/esm/pds-modal.entry.js +3 -3
- package/dist/esm/pds-multiselect.entry.js +187 -38
- package/dist/esm/pds-multiselect.entry.js.map +1 -1
- package/dist/esm/pds-popover.entry.js +1 -1
- package/dist/esm/pds-progress.entry.js +1 -1
- package/dist/esm/pds-property.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/pds-select.entry.js +5 -3
- package/dist/esm/pds-select.entry.js.map +1 -1
- package/dist/esm/pds-sortable-item.entry.js +3 -3
- package/dist/esm/pds-sortable-item.entry.js.map +1 -1
- package/dist/esm/pds-sortable.entry.js +95 -93
- package/dist/esm/pds-sortable.entry.js.map +1 -1
- package/dist/esm/pds-switch.entry.js +6 -8
- package/dist/esm/pds-switch.entry.js.map +1 -1
- package/dist/esm/pds-tab.entry.js +3 -3
- package/dist/esm/pds-table-body.entry.js +1 -1
- package/dist/esm/pds-table-cell.entry.js +4 -4
- package/dist/esm/pds-table-head-cell.entry.js +3 -3
- package/dist/esm/pds-table-head.entry.js +1 -1
- package/dist/esm/pds-table-row.entry.js +1 -1
- package/dist/esm/pds-tabpanel.entry.js +1 -1
- package/dist/esm/pds-tabs.entry.js +1 -1
- package/dist/esm/pds-text.entry.js +3 -3
- package/dist/esm/pds-textarea.entry.js +9 -7
- package/dist/esm/pds-textarea.entry.js.map +1 -1
- package/dist/esm/pds-toast.entry.js +3 -3
- package/dist/esm/pds-toast.entry.js.map +1 -1
- package/dist/esm/pds-tooltip.entry.js +3 -3
- package/dist/esm/pine-core.js +1 -1
- package/dist/esm/{truncation-tooltip-CTHpMbU3.js → truncation-tooltip-Blk4GigP.js} +3 -3
- package/dist/{esm-es5/truncation-tooltip-CTHpMbU3.js.map → esm/truncation-tooltip-Blk4GigP.js.map} +1 -1
- package/dist/esm-es5/floating-ui.dom-DDtwbwIl.js +2 -0
- package/dist/esm-es5/floating-ui.dom-DDtwbwIl.js.map +1 -0
- package/dist/esm-es5/{form-CN-lL5QG.js → form-C3xDZBme.js} +2 -2
- package/dist/esm-es5/form-C3xDZBme.js.map +1 -0
- package/dist/esm-es5/{index-Bmf4Ow_8.js → index-D4ys0pep.js} +1 -1
- package/dist/esm-es5/index-D4ys0pep.js.map +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-alert.entry.js.map +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js.map +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-checkbox.entry.js.map +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js.map +1 -1
- package/dist/esm-es5/pds-combobox.entry.js +2 -2
- package/dist/esm-es5/pds-combobox.entry.js.map +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-divider.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu-item.entry.js.map +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-image.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js.map +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-multiselect.entry.js.map +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-select.entry.js.map +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +2 -2
- package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-switch.entry.js.map +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-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-textarea.entry.js.map +1 -1
- package/dist/esm-es5/pds-toast.entry.js +1 -1
- package/dist/esm-es5/pds-toast.entry.js.map +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-CTHpMbU3.js → truncation-tooltip-Blk4GigP.js} +2 -2
- package/dist/{esm/truncation-tooltip-CTHpMbU3.js.map → esm-es5/truncation-tooltip-Blk4GigP.js.map} +1 -1
- package/dist/pine-core/p--XSKe449.system.js.map +1 -0
- package/dist/pine-core/p-0582a3b3.entry.js +2 -0
- package/dist/pine-core/{p-e9eb3fc3.system.entry.js → p-0d7eddea.system.entry.js} +2 -2
- package/dist/pine-core/{p-b416cb4b.system.entry.js → p-0f990fae.system.entry.js} +2 -2
- package/dist/pine-core/{p-edbaff73.system.entry.js → p-13f28e2a.system.entry.js} +2 -2
- package/dist/pine-core/{p-838452e0.entry.js → p-14cceca6.entry.js} +2 -2
- package/dist/pine-core/{p-ea721a45.entry.js → p-16b7a61d.entry.js} +2 -2
- package/dist/pine-core/{p-5e83f6e3.system.entry.js → p-16bf3993.system.entry.js} +2 -2
- package/dist/pine-core/{p-9606f567.system.entry.js → p-182b5617.system.entry.js} +2 -2
- package/dist/pine-core/p-1855322f.entry.js +2 -0
- package/dist/pine-core/p-244f0325.system.entry.js +2 -0
- package/dist/pine-core/p-244f0325.system.entry.js.map +1 -0
- package/dist/pine-core/{p-8b7246ea.system.entry.js → p-2a185f0b.system.entry.js} +2 -2
- package/dist/pine-core/{p-c73ef42b.entry.js → p-32e54df7.entry.js} +2 -2
- package/dist/pine-core/{p-68f97bdf.entry.js → p-33e8d130.entry.js} +2 -2
- package/dist/pine-core/p-3XkugpdY.system.js.map +1 -0
- package/dist/pine-core/{p-1b0dc99e.system.entry.js → p-3e96ea38.system.entry.js} +2 -2
- package/dist/pine-core/{p-64c6c4a0.entry.js → p-3f8e9f3f.entry.js} +2 -2
- package/dist/pine-core/p-40734388.entry.js +2 -0
- package/dist/pine-core/p-40734388.entry.js.map +1 -0
- package/dist/pine-core/p-41382eb3.system.entry.js +2 -0
- package/dist/pine-core/p-41382eb3.system.entry.js.map +1 -0
- package/dist/pine-core/p-4175a61c.system.entry.js +2 -0
- package/dist/pine-core/{p-73be1c83.entry.js → p-46e11e20.entry.js} +2 -2
- package/dist/pine-core/p-48a646d8.entry.js +8 -0
- package/dist/pine-core/p-48a646d8.entry.js.map +1 -0
- package/dist/pine-core/{p-ed5ca877.system.entry.js → p-48a6762b.system.entry.js} +2 -2
- package/dist/pine-core/p-499dcb3b.system.entry.js +2 -0
- package/dist/pine-core/p-499dcb3b.system.entry.js.map +1 -0
- package/dist/pine-core/{p-3fc8dbc9.system.entry.js → p-4c7055bb.system.entry.js} +2 -2
- package/dist/pine-core/{p-7737e4e8.system.entry.js → p-4d2e9e8d.system.entry.js} +2 -2
- package/dist/pine-core/{p-18a3b6ba.system.entry.js → p-519d9af1.system.entry.js} +2 -2
- package/dist/pine-core/{p-f81b0dbb.system.entry.js → p-52d1a7a1.system.entry.js} +2 -2
- package/dist/pine-core/{p-9558fa60.entry.js → p-536451ee.entry.js} +2 -2
- package/dist/pine-core/p-5453ff49.system.entry.js +2 -0
- package/dist/pine-core/{p-3e2fc38f.entry.js → p-583c3ac5.entry.js} +2 -2
- package/dist/pine-core/{p-DKT0sVlZ.system.js.map → p-59--X9ih.system.js.map} +1 -1
- package/dist/pine-core/p-5KztFcgn.system.js.map +1 -0
- package/dist/pine-core/p-5f391ebf.entry.js +2 -0
- package/dist/pine-core/p-61943627.system.entry.js +2 -0
- package/dist/pine-core/p-61943627.system.entry.js.map +1 -0
- package/dist/pine-core/{p-bf157830.entry.js → p-645564d9.entry.js} +2 -2
- package/dist/pine-core/{p-2883cb69.system.entry.js → p-67b78dd8.system.entry.js} +2 -2
- package/dist/pine-core/{p-f179c88f.system.entry.js → p-6939924a.system.entry.js} +2 -2
- package/dist/pine-core/p-74392e33.system.entry.js +2 -0
- package/dist/pine-core/{p-766e52a3.entry.js → p-75dc3a1f.entry.js} +2 -2
- package/dist/pine-core/p-773d1b8d.entry.js +2 -0
- package/dist/pine-core/p-773d1b8d.entry.js.map +1 -0
- package/dist/pine-core/{p-8a53ae6d.system.entry.js → p-781bdbf7.system.entry.js} +2 -2
- package/dist/pine-core/{p-2f663747.system.entry.js → p-7dfb5b1f.system.entry.js} +2 -2
- package/dist/pine-core/{p-9c0e22d4.entry.js → p-82f9a81a.entry.js} +2 -2
- package/dist/pine-core/{p-6c25dfc3.entry.js → p-8f3d6de0.entry.js} +2 -2
- package/dist/pine-core/p-8f48fa0b.system.entry.js +2 -0
- package/dist/pine-core/p-8f48fa0b.system.entry.js.map +1 -0
- package/dist/pine-core/p-902818eb.system.entry.js +2 -0
- package/dist/pine-core/{p-d8d796ad.system.entry.js → p-91200079.system.entry.js} +2 -2
- package/dist/pine-core/{p-b2a7c2bf.entry.js → p-95af50ed.entry.js} +2 -2
- package/dist/pine-core/p-96c4106f.entry.js +2 -0
- package/dist/pine-core/p-96c4106f.entry.js.map +1 -0
- package/dist/pine-core/{p-51d2999d.entry.js → p-98b493e5.entry.js} +2 -2
- package/dist/pine-core/{p-b8f21554.system.entry.js → p-98d82bf0.system.entry.js} +2 -2
- package/dist/pine-core/{p-1d82417a.entry.js → p-9d2e89e5.entry.js} +2 -2
- package/dist/pine-core/{p-cbf49268.entry.js → p-9ea92b46.entry.js} +2 -2
- package/dist/pine-core/{p-Bch44a-T.system.js → p-B1u-QvFn.system.js} +2 -2
- package/dist/pine-core/p-B1u-QvFn.system.js.map +1 -0
- package/dist/pine-core/{p-ClY6yIBF.system.js.map → p-B5fynusC.system.js.map} +1 -1
- package/dist/pine-core/{p-BUtyruql.system.js.map → p-BMoAGblt.system.js.map} +1 -1
- package/dist/pine-core/{p-5hPM5knE.js → p-BNSGedhN.js} +2 -2
- package/dist/pine-core/{p-5hPM5knE.js.map → p-BNSGedhN.js.map} +1 -1
- package/dist/pine-core/{p-9SGoKSa6.system.js.map → p-BOuxAvbi.system.js.map} +1 -1
- package/dist/pine-core/p-BOuz9091.system.js.map +1 -0
- package/dist/pine-core/{p-2DR2iuEU.system.js.map → p-BQsz2Ppb.system.js.map} +1 -1
- package/dist/pine-core/{p-Bsen6aos.system.js.map → p-BR1tCsTx.system.js.map} +1 -1
- package/dist/pine-core/{p-sgZDP7ET.system.js.map → p-BR9D7jOC.system.js.map} +1 -1
- package/dist/pine-core/p-BTrLNF2B.system.js.map +1 -0
- package/dist/pine-core/{p-DFWnxG_e.system.js.map → p-BUEOyE3W.system.js.map} +1 -1
- package/dist/pine-core/{p-CSe1fQxQ.system.js.map → p-Bb4REZL1.system.js.map} +1 -1
- package/dist/pine-core/{p-B5CyjPYU.system.js.map → p-Be6iza_Y.system.js.map} +1 -1
- package/dist/pine-core/p-BpespFXE.system.js.map +1 -0
- package/dist/pine-core/p-BrLs99ML.system.js +2 -0
- package/dist/pine-core/p-BrLs99ML.system.js.map +1 -0
- package/dist/pine-core/p-C2pSDIG-.system.js.map +1 -0
- package/dist/pine-core/p-C3xDZBme.js +2 -0
- package/dist/pine-core/p-C3xDZBme.js.map +1 -0
- package/dist/pine-core/p-C4-dix13.system.js.map +1 -0
- package/dist/pine-core/{p-CFL53vBy.system.js → p-C62JIZmE.system.js} +1 -1
- package/dist/pine-core/p-C62JIZmE.system.js.map +1 -0
- package/dist/pine-core/{p-DQCerqxZ.system.js.map → p-C6TsH_RJ.system.js.map} +1 -1
- package/dist/pine-core/p-C9msrPdv.system.js.map +1 -0
- package/dist/pine-core/{p-CfNEp0k0.system.js.map → p-CG-bCfvj.system.js.map} +1 -1
- package/dist/pine-core/p-CHDzBR_K.system.js.map +1 -0
- package/dist/pine-core/{p-CUv9KdhN.system.js.map → p-CI57amJO.system.js.map} +1 -1
- package/dist/pine-core/{p-DenbFuEN.system.js.map → p-CP845yj_.system.js.map} +1 -1
- package/dist/pine-core/{p-DXVwADJT.system.js → p-CRCxGYgw.system.js} +2 -2
- package/dist/pine-core/{p-DXVwADJT.system.js.map → p-CRCxGYgw.system.js.map} +1 -1
- package/dist/pine-core/p-CXhVuzyx.system.js.map +1 -0
- package/dist/pine-core/{p-De6wHGVf.system.js.map → p-CYraaUrg.system.js.map} +1 -1
- package/dist/pine-core/{p-BR9M75xt.system.js.map → p-CjvjDEg9.system.js.map} +1 -1
- package/dist/pine-core/{p-BASnRvhy.system.js.map → p-Cw6YcRuA.system.js.map} +1 -1
- package/dist/pine-core/p-CyOICl1j.system.js.map +1 -0
- package/dist/pine-core/{p-Be8OBmYb.system.js.map → p-D32r9DeF.system.js.map} +1 -1
- package/dist/pine-core/{p-Bmf4Ow_8.js → p-D4ys0pep.js} +1 -1
- package/dist/pine-core/p-D4ys0pep.js.map +1 -0
- package/dist/pine-core/p-DAxrTjDa.system.js.map +1 -0
- package/dist/pine-core/p-DDtwbwIl.js +2 -0
- package/dist/pine-core/p-DDtwbwIl.js.map +1 -0
- package/dist/pine-core/{p-BqkabXR7.system.js.map → p-DMF-DSOl.system.js.map} +1 -1
- package/dist/pine-core/{p-CsWO_n3t.system.js.map → p-DNbBVaLv.system.js.map} +1 -1
- package/dist/pine-core/{p-B036z4h-.system.js.map → p-DOdbcaFd.system.js.map} +1 -1
- package/dist/pine-core/{p-8tpU1leU.system.js.map → p-DZLD6m8S.system.js.map} +1 -1
- package/dist/pine-core/{p-DmWm26A6.system.js.map → p-Dp80V3ht.system.js.map} +1 -1
- package/dist/pine-core/{p-B9rVdQdy.system.js.map → p-Dq_WxIls.system.js.map} +1 -1
- package/dist/pine-core/{p-DZt6ah_A.system.js.map → p-DwSw16ZT.system.js.map} +1 -1
- package/dist/pine-core/{p-dPhHNR2G.system.js.map → p-IEIIi5zq.system.js.map} +1 -1
- package/dist/pine-core/p-JAVnELnm.system.js +1 -1
- package/dist/pine-core/{p-BeJr-4oL.system.js.map → p-KVyVRPM1.system.js.map} +1 -1
- package/dist/pine-core/{p-CEE11B7K.system.js.map → p-Ob6d9Y86.system.js.map} +1 -1
- package/dist/pine-core/{p-P65hM6YU.system.js.map → p-PMiwIPVl.system.js.map} +1 -1
- package/dist/pine-core/{p-DzmLlvu3.system.js.map → p-WysX4rk5.system.js.map} +1 -1
- package/dist/pine-core/{p-439e3343.entry.js → p-a1d58592.entry.js} +2 -2
- package/dist/pine-core/p-a3543531.entry.js +2 -0
- package/dist/pine-core/{p-6cbad264.entry.js.map → p-a3543531.entry.js.map} +1 -1
- package/dist/pine-core/{p-08cdf7f2.system.entry.js → p-a55bc143.system.entry.js} +2 -2
- package/dist/pine-core/p-a61e92c3.system.entry.js +2 -0
- package/dist/pine-core/p-a61e92c3.system.entry.js.map +1 -0
- package/dist/pine-core/{p-9b2cd9fc.entry.js → p-a6b01b1e.entry.js} +2 -2
- package/dist/pine-core/{p-88eb4f6c.entry.js → p-a720a925.entry.js} +2 -2
- package/dist/pine-core/{p-abb72971.system.entry.js → p-a85e565c.system.entry.js} +2 -2
- package/dist/pine-core/{p-56d0e6f4.entry.js → p-aa331370.entry.js} +2 -2
- package/dist/pine-core/{p-445c5ec5.system.entry.js → p-ab2c2298.system.entry.js} +2 -2
- package/dist/pine-core/{p-7fc20a77.system.entry.js → p-adbe19c7.system.entry.js} +2 -2
- package/dist/pine-core/{p-36478643.system.entry.js → p-b2a5b6ae.system.entry.js} +2 -2
- package/dist/pine-core/p-b3c50d38.entry.js +2 -0
- package/dist/pine-core/{p-7c1b1fb8.entry.js.map → p-b3c50d38.entry.js.map} +1 -1
- package/dist/pine-core/p-b6465152.entry.js +2 -0
- package/dist/pine-core/p-b6465152.entry.js.map +1 -0
- package/dist/pine-core/{p-599a5903.system.entry.js → p-bc462592.system.entry.js} +2 -2
- package/dist/pine-core/{p-9ba4acdf.system.entry.js → p-bc7a4275.system.entry.js} +2 -2
- package/dist/pine-core/{p-9f09e116.system.entry.js → p-c6682c9d.system.entry.js} +2 -2
- package/dist/pine-core/p-c6dd00b1.entry.js +2 -0
- package/dist/pine-core/{p-1951d49e.entry.js → p-c78a7729.entry.js} +2 -2
- package/dist/pine-core/{p-ccdee55a.entry.js → p-c9ced0ee.entry.js} +2 -2
- package/dist/pine-core/{p-bf712423.entry.js → p-caf01891.entry.js} +2 -2
- package/dist/pine-core/{p-39cb879d.entry.js → p-ccf46b90.entry.js} +2 -2
- package/dist/pine-core/p-cdd8175e.entry.js +2 -0
- package/dist/pine-core/p-cdd8175e.entry.js.map +1 -0
- package/dist/pine-core/{p-b7f2f9f3.system.entry.js → p-ce47aaaa.system.entry.js} +2 -2
- package/dist/pine-core/p-d3e64f4e.system.entry.js +4 -0
- package/dist/pine-core/p-d3e64f4e.system.entry.js.map +1 -0
- package/dist/pine-core/{p-5f63b999.entry.js → p-d5d9cf28.entry.js} +2 -2
- package/dist/pine-core/{p-b3ee3c4c.system.entry.js → p-d6c72b79.system.entry.js} +2 -2
- package/dist/pine-core/p-d845fd1d.system.entry.js +2 -0
- package/dist/pine-core/p-d8698ac5.entry.js +3 -0
- package/dist/pine-core/p-d8698ac5.entry.js.map +1 -0
- package/dist/pine-core/{p-3e45826f.system.entry.js → p-e017b42e.system.entry.js} +2 -2
- package/dist/pine-core/{p-d0504aa8.system.entry.js → p-e1402563.system.entry.js} +2 -2
- package/dist/pine-core/{p-119ccf73.entry.js → p-e47524a6.entry.js} +2 -2
- package/dist/pine-core/p-e6097fd3.entry.js +2 -0
- package/dist/pine-core/{p-5107c129.entry.js → p-e73b5859.entry.js} +2 -2
- package/dist/pine-core/p-e776269e.system.entry.js +2 -0
- package/dist/pine-core/{p-46d61c98.system.entry.js.map → p-e776269e.system.entry.js.map} +1 -1
- package/dist/pine-core/{p-C1p8XJSR.system.js.map → p-e7dY1RIu.system.js.map} +1 -1
- package/dist/pine-core/{p-72ca815d.system.entry.js → p-ed125c22.system.entry.js} +2 -2
- package/dist/pine-core/{p-b6ede995.system.entry.js → p-eec6b183.system.entry.js} +2 -2
- package/dist/pine-core/{p-867ef2f1.entry.js → p-f352e850.entry.js} +2 -2
- package/dist/pine-core/p-f86fbde7.entry.js +2 -0
- package/dist/pine-core/p-f86fbde7.entry.js.map +1 -0
- package/dist/pine-core/p-fa4c5b6b.system.entry.js +9 -0
- package/dist/pine-core/p-fa4c5b6b.system.entry.js.map +1 -0
- package/dist/pine-core/{p-203f6e9e.entry.js → p-fa62518b.entry.js} +2 -2
- package/dist/pine-core/p-fc0df65c.entry.js +2 -0
- package/dist/pine-core/p-fe2ba477.entry.js +2 -0
- package/dist/pine-core/p-kR80YJVM.system.js.map +1 -0
- package/dist/pine-core/{p-D02u2D7r.system.js.map → p-ssoi7rVs.system.js.map} +1 -1
- package/dist/pine-core/pds-alert.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-avatar.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-checkbox.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-chip.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-combobox.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-multiselect.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-sortable-item.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-sortable.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-switch.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-toast.entry.esm.js.map +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/types/components/pds-alert/pds-alert.d.ts +1 -0
- package/dist/types/components/pds-avatar/pds-avatar.d.ts +2 -0
- package/dist/types/components/pds-chip/pds-chip.d.ts +1 -0
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +9 -1
- package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +3 -0
- package/dist/types/components/pds-multiselect/multiselect-interface.d.ts +8 -0
- package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +31 -0
- package/dist/types/components/pds-sortable/pds-sortable.d.ts +8 -1
- package/dist/types/components/pds-sortable/sortable-interface.d.ts +1 -0
- package/dist/types/components/pds-toast/pds-toast.d.ts +3 -0
- package/dist/types/components.d.ts +56 -6
- package/dist/types/utils/form.d.ts +10 -0
- package/dist/vscode.html-data.json +10479 -0
- package/hydrate/index.js +576 -376
- package/hydrate/index.mjs +576 -376
- package/package.json +2 -2
- package/dist/cjs/floating-ui.dom-Ca6tS7ef.js.map +0 -1
- package/dist/cjs/form-DUqlzovE.js.map +0 -1
- package/dist/cjs/index-D8mNsvM8.js.map +0 -1
- package/dist/esm/floating-ui.dom-BO6p966C.js.map +0 -1
- package/dist/esm/form-CN-lL5QG.js.map +0 -1
- package/dist/esm/index-Bmf4Ow_8.js.map +0 -1
- package/dist/esm-es5/floating-ui.dom-BO6p966C.js +0 -2
- package/dist/esm-es5/floating-ui.dom-BO6p966C.js.map +0 -1
- package/dist/esm-es5/form-CN-lL5QG.js.map +0 -1
- package/dist/esm-es5/index-Bmf4Ow_8.js.map +0 -1
- package/dist/pine-core/p-009faf05.entry.js +0 -2
- package/dist/pine-core/p-009faf05.entry.js.map +0 -1
- package/dist/pine-core/p-0b3d6527.entry.js +0 -2
- package/dist/pine-core/p-0b3d6527.entry.js.map +0 -1
- package/dist/pine-core/p-15b66c25.system.entry.js +0 -2
- package/dist/pine-core/p-15b66c25.system.entry.js.map +0 -1
- package/dist/pine-core/p-221b4348.entry.js +0 -2
- package/dist/pine-core/p-221b4348.entry.js.map +0 -1
- package/dist/pine-core/p-25255ab8.system.entry.js +0 -4
- package/dist/pine-core/p-25255ab8.system.entry.js.map +0 -1
- package/dist/pine-core/p-2a7b94ba.system.entry.js +0 -2
- package/dist/pine-core/p-2a7b94ba.system.entry.js.map +0 -1
- package/dist/pine-core/p-31bfac45.entry.js +0 -2
- package/dist/pine-core/p-3239c67a.entry.js +0 -2
- package/dist/pine-core/p-396d4b63.entry.js +0 -8
- package/dist/pine-core/p-396d4b63.entry.js.map +0 -1
- package/dist/pine-core/p-44035cf4.entry.js +0 -3
- package/dist/pine-core/p-44035cf4.entry.js.map +0 -1
- package/dist/pine-core/p-46d61c98.system.entry.js +0 -2
- package/dist/pine-core/p-4c0e71ce.entry.js +0 -2
- package/dist/pine-core/p-4c0e71ce.entry.js.map +0 -1
- package/dist/pine-core/p-4c82bff5.entry.js +0 -2
- package/dist/pine-core/p-50a439b5.entry.js +0 -2
- package/dist/pine-core/p-65d0032c.system.entry.js +0 -2
- package/dist/pine-core/p-6cbad264.entry.js +0 -2
- package/dist/pine-core/p-79f0b007.entry.js +0 -2
- package/dist/pine-core/p-79f0b007.entry.js.map +0 -1
- package/dist/pine-core/p-7c1b1fb8.entry.js +0 -2
- package/dist/pine-core/p-7da176b4.system.entry.js +0 -9
- package/dist/pine-core/p-7da176b4.system.entry.js.map +0 -1
- package/dist/pine-core/p-8a31ccd4.entry.js +0 -2
- package/dist/pine-core/p-8a31ccd4.entry.js.map +0 -1
- package/dist/pine-core/p-91781a0a.system.entry.js +0 -2
- package/dist/pine-core/p-91781a0a.system.entry.js.map +0 -1
- package/dist/pine-core/p-94a9ff2a.system.entry.js +0 -2
- package/dist/pine-core/p-BB9Md7vT.system.js.map +0 -1
- package/dist/pine-core/p-BGc1L0Ao.system.js.map +0 -1
- package/dist/pine-core/p-BO6p966C.js +0 -2
- package/dist/pine-core/p-BO6p966C.js.map +0 -1
- package/dist/pine-core/p-Bch44a-T.system.js.map +0 -1
- package/dist/pine-core/p-Bmf4Ow_8.js.map +0 -1
- package/dist/pine-core/p-BohZ8Mvm.system.js.map +0 -1
- package/dist/pine-core/p-CFL53vBy.system.js.map +0 -1
- package/dist/pine-core/p-CFqOsbKv.system.js.map +0 -1
- package/dist/pine-core/p-CH2XYz0c.system.js.map +0 -1
- package/dist/pine-core/p-CN-lL5QG.js +0 -2
- package/dist/pine-core/p-CN-lL5QG.js.map +0 -1
- package/dist/pine-core/p-CTDKHxjD.system.js.map +0 -1
- package/dist/pine-core/p-D-iLwshJ.system.js.map +0 -1
- package/dist/pine-core/p-D2eS6fhD.system.js +0 -2
- package/dist/pine-core/p-D2eS6fhD.system.js.map +0 -1
- package/dist/pine-core/p-D497NWkn.system.js.map +0 -1
- package/dist/pine-core/p-DHNujrRT.system.js.map +0 -1
- package/dist/pine-core/p-DcrqbXJe.system.js.map +0 -1
- package/dist/pine-core/p-DdR8iWme.system.js.map +0 -1
- package/dist/pine-core/p-DqO0Rc5m.system.js.map +0 -1
- package/dist/pine-core/p-Dvsezmq8.system.js.map +0 -1
- package/dist/pine-core/p-af5bf21d.entry.js +0 -2
- package/dist/pine-core/p-bPSIyJOo.system.js.map +0 -1
- package/dist/pine-core/p-ba195382.system.entry.js +0 -2
- package/dist/pine-core/p-bd2329cd.entry.js +0 -2
- package/dist/pine-core/p-c91fd600.entry.js +0 -2
- package/dist/pine-core/p-d6139188.system.entry.js +0 -2
- package/dist/pine-core/p-d62a5444.system.entry.js +0 -2
- package/dist/pine-core/p-ef7d0535.system.entry.js +0 -2
- package/dist/pine-core/p-ef7d0535.system.entry.js.map +0 -1
- package/dist/pine-core/p-f298baeb.system.entry.js +0 -2
- package/dist/pine-core/p-f298baeb.system.entry.js.map +0 -1
- package/dist/pine-core/p-f9c32940.system.entry.js +0 -2
- package/dist/pine-core/p-f9c32940.system.entry.js.map +0 -1
- /package/dist/pine-core/{p-bd2329cd.entry.js.map → p-0582a3b3.entry.js.map} +0 -0
- /package/dist/pine-core/{p-e9eb3fc3.system.entry.js.map → p-0d7eddea.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b416cb4b.system.entry.js.map → p-0f990fae.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-edbaff73.system.entry.js.map → p-13f28e2a.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-838452e0.entry.js.map → p-14cceca6.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ea721a45.entry.js.map → p-16b7a61d.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5e83f6e3.system.entry.js.map → p-16bf3993.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9606f567.system.entry.js.map → p-182b5617.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-4c82bff5.entry.js.map → p-1855322f.entry.js.map} +0 -0
- /package/dist/pine-core/{p-8b7246ea.system.entry.js.map → p-2a185f0b.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c73ef42b.entry.js.map → p-32e54df7.entry.js.map} +0 -0
- /package/dist/pine-core/{p-68f97bdf.entry.js.map → p-33e8d130.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1b0dc99e.system.entry.js.map → p-3e96ea38.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-64c6c4a0.entry.js.map → p-3f8e9f3f.entry.js.map} +0 -0
- /package/dist/pine-core/{p-94a9ff2a.system.entry.js.map → p-4175a61c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-73be1c83.entry.js.map → p-46e11e20.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ed5ca877.system.entry.js.map → p-48a6762b.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3fc8dbc9.system.entry.js.map → p-4c7055bb.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7737e4e8.system.entry.js.map → p-4d2e9e8d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-18a3b6ba.system.entry.js.map → p-519d9af1.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f81b0dbb.system.entry.js.map → p-52d1a7a1.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9558fa60.entry.js.map → p-536451ee.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d62a5444.system.entry.js.map → p-5453ff49.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3e2fc38f.entry.js.map → p-583c3ac5.entry.js.map} +0 -0
- /package/dist/pine-core/{p-31bfac45.entry.js.map → p-5f391ebf.entry.js.map} +0 -0
- /package/dist/pine-core/{p-bf157830.entry.js.map → p-645564d9.entry.js.map} +0 -0
- /package/dist/pine-core/{p-2883cb69.system.entry.js.map → p-67b78dd8.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f179c88f.system.entry.js.map → p-6939924a.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-65d0032c.system.entry.js.map → p-74392e33.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-766e52a3.entry.js.map → p-75dc3a1f.entry.js.map} +0 -0
- /package/dist/pine-core/{p-8a53ae6d.system.entry.js.map → p-781bdbf7.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-2f663747.system.entry.js.map → p-7dfb5b1f.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9c0e22d4.entry.js.map → p-82f9a81a.entry.js.map} +0 -0
- /package/dist/pine-core/{p-6c25dfc3.entry.js.map → p-8f3d6de0.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ba195382.system.entry.js.map → p-902818eb.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d8d796ad.system.entry.js.map → p-91200079.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b2a7c2bf.entry.js.map → p-95af50ed.entry.js.map} +0 -0
- /package/dist/pine-core/{p-51d2999d.entry.js.map → p-98b493e5.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b8f21554.system.entry.js.map → p-98d82bf0.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1d82417a.entry.js.map → p-9d2e89e5.entry.js.map} +0 -0
- /package/dist/pine-core/{p-cbf49268.entry.js.map → p-9ea92b46.entry.js.map} +0 -0
- /package/dist/pine-core/{p-439e3343.entry.js.map → p-a1d58592.entry.js.map} +0 -0
- /package/dist/pine-core/{p-08cdf7f2.system.entry.js.map → p-a55bc143.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9b2cd9fc.entry.js.map → p-a6b01b1e.entry.js.map} +0 -0
- /package/dist/pine-core/{p-88eb4f6c.entry.js.map → p-a720a925.entry.js.map} +0 -0
- /package/dist/pine-core/{p-abb72971.system.entry.js.map → p-a85e565c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-56d0e6f4.entry.js.map → p-aa331370.entry.js.map} +0 -0
- /package/dist/pine-core/{p-445c5ec5.system.entry.js.map → p-ab2c2298.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7fc20a77.system.entry.js.map → p-adbe19c7.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-36478643.system.entry.js.map → p-b2a5b6ae.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-599a5903.system.entry.js.map → p-bc462592.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9ba4acdf.system.entry.js.map → p-bc7a4275.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9f09e116.system.entry.js.map → p-c6682c9d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-af5bf21d.entry.js.map → p-c6dd00b1.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1951d49e.entry.js.map → p-c78a7729.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ccdee55a.entry.js.map → p-c9ced0ee.entry.js.map} +0 -0
- /package/dist/pine-core/{p-bf712423.entry.js.map → p-caf01891.entry.js.map} +0 -0
- /package/dist/pine-core/{p-39cb879d.entry.js.map → p-ccf46b90.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b7f2f9f3.system.entry.js.map → p-ce47aaaa.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5f63b999.entry.js.map → p-d5d9cf28.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b3ee3c4c.system.entry.js.map → p-d6c72b79.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d6139188.system.entry.js.map → p-d845fd1d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3e45826f.system.entry.js.map → p-e017b42e.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d0504aa8.system.entry.js.map → p-e1402563.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-119ccf73.entry.js.map → p-e47524a6.entry.js.map} +0 -0
- /package/dist/pine-core/{p-50a439b5.entry.js.map → p-e6097fd3.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5107c129.entry.js.map → p-e73b5859.entry.js.map} +0 -0
- /package/dist/pine-core/{p-72ca815d.system.entry.js.map → p-ed125c22.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b6ede995.system.entry.js.map → p-eec6b183.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-867ef2f1.entry.js.map → p-f352e850.entry.js.map} +0 -0
- /package/dist/pine-core/{p-203f6e9e.entry.js.map → p-fa62518b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c91fd600.entry.js.map → p-fc0df65c.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3239c67a.entry.js.map → p-fe2ba477.entry.js.map} +0 -0
|
@@ -239,14 +239,14 @@ const PdsModal = class {
|
|
|
239
239
|
return thisZIndex === maxZIndex;
|
|
240
240
|
}
|
|
241
241
|
render() {
|
|
242
|
-
return (h("dialog", { key: '
|
|
242
|
+
return (h("dialog", { key: '357b1570ff9153bb04abc883bd471d0454eca862', class: {
|
|
243
243
|
'pds-modal__backdrop': true,
|
|
244
244
|
'open': this.open
|
|
245
|
-
}, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: '
|
|
245
|
+
}, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: '89576c6aa19ffd87dfc3b527a242503093af4ec3', class: {
|
|
246
246
|
'pds-modal': true,
|
|
247
247
|
[`pds-modal--${this.size}`]: true,
|
|
248
248
|
'pds-modal--scrollable': this.scrollable
|
|
249
|
-
}, part: "modal" }, h("slot", { key: '
|
|
249
|
+
}, part: "modal" }, h("slot", { key: '071ad7101f66fb01854191436ec95a212ea6ee73' }))));
|
|
250
250
|
}
|
|
251
251
|
get el() { return getElement(this); }
|
|
252
252
|
static get watchers() { return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DHPhrb5T.js';
|
|
2
|
-
import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift, b as size } from './floating-ui.dom-
|
|
2
|
+
import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift, b as size } from './floating-ui.dom-DDtwbwIl.js';
|
|
3
3
|
import { d as debounceEvent } from './utils-tJa4KYNO.js';
|
|
4
|
-
import { a as assignDescription, m as messageId } from './form-
|
|
5
|
-
import { e as enlarge, b as danger } from './index-
|
|
4
|
+
import { i as isSpecTest, a as assignDescription, m as messageId } from './form-C3xDZBme.js';
|
|
5
|
+
import { e as enlarge, b as danger } from './index-D4ys0pep.js';
|
|
6
6
|
|
|
7
|
-
const pdsMultiselectCss = ":host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__panel{background:var(--pine-color-background-container);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{pointer-events:none;width:100%}.pds-multiselect__option:hover,.pds-multiselect__option.pds-multiselect__option--highlighted{background:var(--pine-color-background-muted)}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__create-option{color:var(--pine-color-text-strong);width:100%}.pds-multiselect__create-option pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}";
|
|
7
|
+
const pdsMultiselectCss = ":host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__pill-list{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs)}.pds-multiselect__pill-list--inline{-ms-flex:1;flex:1;min-width:0}.pds-multiselect__pill-list--below{-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-multiselect__pill-overflow{color:var(--pine-color-text-muted);font:var(--pine-typography-body-sm-medium);white-space:nowrap}.pds-multiselect__trigger--pill-inline{-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-2xs) var(--pine-dimension-sm)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger--pill-inline:focus-within:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--invalid:focus-within{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__pill-toggle{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border-width:0;cursor:pointer;display:-ms-flexbox;display:flex;padding:0}.pds-multiselect__pill-toggle:focus{outline:3px solid transparent}.pds-multiselect__trigger--disabled .pds-multiselect__pill-toggle{cursor:not-allowed;pointer-events:none}.pds-multiselect__panel{background:var(--pine-color-background-container);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__group-header{color:var(--pine-color-text-muted);display:block;font:var(--pine-typography-body-sm-medium);letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-sm) var(--pine-dimension-xs) var(--pine-dimension-2xs);text-transform:uppercase}.pds-multiselect__listbox>li:first-child>.pds-multiselect__group-header{-webkit-padding-before:var(--pine-dimension-xs);padding-block-start:var(--pine-dimension-xs)}.pds-multiselect__group-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{pointer-events:none;width:100%}.pds-multiselect__option:hover:not(.pds-multiselect__option--disabled),.pds-multiselect__option.pds-multiselect__option--highlighted:not(.pds-multiselect__option--disabled){background:var(--pine-color-background-muted)}.pds-multiselect__option.pds-multiselect__option--disabled{cursor:not-allowed;opacity:0.5}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__create-option{color:var(--pine-color-text-strong);width:100%}.pds-multiselect__create-option pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}";
|
|
8
8
|
|
|
9
9
|
const PdsMultiselect = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -68,6 +68,26 @@ const PdsMultiselect = class {
|
|
|
68
68
|
* Hides the selected items summary section in the dropdown panel.
|
|
69
69
|
*/
|
|
70
70
|
this.hideSelectedItems = false;
|
|
71
|
+
/**
|
|
72
|
+
* Display mode for selected items outside the dropdown panel.
|
|
73
|
+
* `'count'` shows "N item(s)" text in the trigger (default). `'pill'` renders
|
|
74
|
+
* selected items as dismissible pds-chip tags.
|
|
75
|
+
* @default 'count'
|
|
76
|
+
*/
|
|
77
|
+
this.selectedDisplay = 'count';
|
|
78
|
+
/**
|
|
79
|
+
* Position of pill chips when `selectedDisplay` is `'pill'`.
|
|
80
|
+
* `'inline'` places chips inside the trigger; `'below'` places chips in a
|
|
81
|
+
* flex-wrap row directly below the trigger.
|
|
82
|
+
* @default 'inline'
|
|
83
|
+
*/
|
|
84
|
+
this.pillPosition = 'inline';
|
|
85
|
+
/**
|
|
86
|
+
* Maximum chips shown inline before collapsing to a "+N more" badge.
|
|
87
|
+
* Only applies when `selectedDisplay='pill'` and `pillPosition='inline'`.
|
|
88
|
+
* @default 3
|
|
89
|
+
*/
|
|
90
|
+
this.maxInlinePills = 3;
|
|
71
91
|
/**
|
|
72
92
|
* If true, the multiselect is required.
|
|
73
93
|
*/
|
|
@@ -89,6 +109,7 @@ const PdsMultiselect = class {
|
|
|
89
109
|
this.currentPage = 1;
|
|
90
110
|
this.hasMore = false;
|
|
91
111
|
this.creating = false;
|
|
112
|
+
this.removalAnnouncement = '';
|
|
92
113
|
// Flag to prevent focusout from closing during open transition
|
|
93
114
|
this.isOpening = false;
|
|
94
115
|
// Flag to suppress dismiss event when panel closes due to selection (not user dismissal)
|
|
@@ -97,9 +118,16 @@ const PdsMultiselect = class {
|
|
|
97
118
|
this.initialAsyncFetchTriggered = false;
|
|
98
119
|
// Flag to track if value changed during loading and needs resolution after fetch completes
|
|
99
120
|
this.pendingUnresolvedFetch = false;
|
|
100
|
-
this.handleTriggerClick = () => {
|
|
121
|
+
this.handleTriggerClick = (e) => {
|
|
101
122
|
if (this.disabled)
|
|
102
123
|
return;
|
|
124
|
+
// In inline-pill mode, ignore clicks that originated inside a pds-chip.
|
|
125
|
+
// Chip close-button clicks are handled by handlePillRemove; chip body clicks should not toggle the panel.
|
|
126
|
+
if (e && this.selectedDisplay === 'pill' && this.pillPosition === 'inline') {
|
|
127
|
+
const fromChip = e.composedPath().some(el => { var _a; return ((_a = el.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'pds-chip'; });
|
|
128
|
+
if (fromChip)
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
103
131
|
if (this.isOpen) {
|
|
104
132
|
this.closeDropdown();
|
|
105
133
|
}
|
|
@@ -108,6 +136,10 @@ const PdsMultiselect = class {
|
|
|
108
136
|
}
|
|
109
137
|
};
|
|
110
138
|
this.handleTriggerKeyDown = (e) => {
|
|
139
|
+
// Ignore keydown events that bubbled from child elements (e.g. chip close buttons).
|
|
140
|
+
// Only handle keys when the trigger itself is the event target.
|
|
141
|
+
if (e.target !== this.triggerEl)
|
|
142
|
+
return;
|
|
111
143
|
switch (e.key) {
|
|
112
144
|
case 'ArrowDown':
|
|
113
145
|
case 'ArrowUp':
|
|
@@ -132,18 +164,35 @@ const PdsMultiselect = class {
|
|
|
132
164
|
}
|
|
133
165
|
};
|
|
134
166
|
this.handleSearchInputKeyDown = (e) => {
|
|
167
|
+
var _a, _b, _c;
|
|
135
168
|
const filteredOptions = this.getFilteredOptions();
|
|
136
169
|
switch (e.key) {
|
|
137
|
-
case 'ArrowDown':
|
|
170
|
+
case 'ArrowDown': {
|
|
138
171
|
e.preventDefault();
|
|
139
|
-
|
|
140
|
-
|
|
172
|
+
let nextIndex = this.highlightedIndex + 1;
|
|
173
|
+
while (nextIndex < filteredOptions.length && ((_a = filteredOptions[nextIndex]) === null || _a === void 0 ? void 0 : _a.disabled)) {
|
|
174
|
+
nextIndex++;
|
|
175
|
+
}
|
|
176
|
+
if (nextIndex < filteredOptions.length) {
|
|
177
|
+
this.highlightedIndex = nextIndex;
|
|
178
|
+
this.scrollOptionIntoView();
|
|
179
|
+
}
|
|
141
180
|
break;
|
|
142
|
-
|
|
181
|
+
}
|
|
182
|
+
case 'ArrowUp': {
|
|
143
183
|
e.preventDefault();
|
|
144
|
-
|
|
145
|
-
|
|
184
|
+
// Clamp to 0 so ArrowUp from uninitialised state (-1) attempts the first option;
|
|
185
|
+
// stays at -1 if that option is disabled.
|
|
186
|
+
let prevIndex = Math.max(this.highlightedIndex - 1, 0);
|
|
187
|
+
while (prevIndex > 0 && ((_b = filteredOptions[prevIndex]) === null || _b === void 0 ? void 0 : _b.disabled)) {
|
|
188
|
+
prevIndex--;
|
|
189
|
+
}
|
|
190
|
+
if (!((_c = filteredOptions[prevIndex]) === null || _c === void 0 ? void 0 : _c.disabled)) {
|
|
191
|
+
this.highlightedIndex = prevIndex;
|
|
192
|
+
this.scrollOptionIntoView();
|
|
193
|
+
}
|
|
146
194
|
break;
|
|
195
|
+
}
|
|
147
196
|
case 'Enter':
|
|
148
197
|
e.preventDefault();
|
|
149
198
|
if (this.highlightedIndex >= 0) {
|
|
@@ -183,7 +232,9 @@ const PdsMultiselect = class {
|
|
|
183
232
|
e.preventDefault(); // Prevent focus change
|
|
184
233
|
this.toggleOption(option);
|
|
185
234
|
};
|
|
186
|
-
this.handleOptionMouseEnter = (index) => () => {
|
|
235
|
+
this.handleOptionMouseEnter = (index, option) => () => {
|
|
236
|
+
if (option.disabled)
|
|
237
|
+
return;
|
|
187
238
|
this.highlightedIndex = index;
|
|
188
239
|
};
|
|
189
240
|
this.handleScroll = (e) => {
|
|
@@ -200,6 +251,26 @@ const PdsMultiselect = class {
|
|
|
200
251
|
this.debouncedFetchAsyncOptions(this.searchQuery, this.currentPage + 1);
|
|
201
252
|
}
|
|
202
253
|
};
|
|
254
|
+
this.handlePillRemove = (item) => () => {
|
|
255
|
+
var _a, _b;
|
|
256
|
+
if (this.disabled)
|
|
257
|
+
return;
|
|
258
|
+
const optionId = String(item.id);
|
|
259
|
+
this.value = this.value.filter(v => v !== optionId);
|
|
260
|
+
this.syncSelectedItems();
|
|
261
|
+
this.pdsMultiselectChange.emit({ values: this.value, items: this.selectedItems });
|
|
262
|
+
// Clear first so screen readers re-announce even when the same item is removed twice
|
|
263
|
+
this.removalAnnouncement = '';
|
|
264
|
+
queueMicrotask(() => { this.removalAnnouncement = `${item.text} removed`; });
|
|
265
|
+
this.isClosingViaSelection = true;
|
|
266
|
+
if (this.isOpen) {
|
|
267
|
+
(_a = this.searchInputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
(_b = this.triggerEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
271
|
+
}
|
|
272
|
+
setTimeout(() => { this.isClosingViaSelection = false; }, 0);
|
|
273
|
+
};
|
|
203
274
|
}
|
|
204
275
|
connectedCallback() {
|
|
205
276
|
// Initialize ElementInternals for form association (only once per element instance)
|
|
@@ -346,12 +417,35 @@ const PdsMultiselect = class {
|
|
|
346
417
|
const slot = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
|
|
347
418
|
if (!slot)
|
|
348
419
|
return;
|
|
349
|
-
const options =
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
420
|
+
const options = [];
|
|
421
|
+
slot.assignedElements({ flatten: true }).forEach(el => {
|
|
422
|
+
var _a;
|
|
423
|
+
if (el.tagName === 'OPTGROUP') {
|
|
424
|
+
const optgroup = el;
|
|
425
|
+
const groupLabel = optgroup.label;
|
|
426
|
+
const groupDisabled = optgroup.disabled;
|
|
427
|
+
optgroup.querySelectorAll('option').forEach((opt) => {
|
|
428
|
+
var _a;
|
|
429
|
+
const option = {
|
|
430
|
+
id: opt.value,
|
|
431
|
+
text: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || opt.value,
|
|
432
|
+
disabled: opt.disabled || groupDisabled || undefined,
|
|
433
|
+
};
|
|
434
|
+
if (groupLabel) {
|
|
435
|
+
option.group = groupLabel;
|
|
436
|
+
}
|
|
437
|
+
options.push(option);
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
else if (el.tagName === 'OPTION') {
|
|
441
|
+
const opt = el;
|
|
442
|
+
options.push({
|
|
443
|
+
id: opt.value,
|
|
444
|
+
text: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || opt.value,
|
|
445
|
+
disabled: opt.disabled || undefined,
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
});
|
|
355
449
|
// Only update if we actually found options AND we're not using async/external options
|
|
356
450
|
// Don't clear internalOptions if slot returns empty (might be mid-DOM-update)
|
|
357
451
|
if (options.length > 0 && !this.asyncUrl && !this.options) {
|
|
@@ -452,6 +546,8 @@ const PdsMultiselect = class {
|
|
|
452
546
|
}
|
|
453
547
|
updateFormValue() {
|
|
454
548
|
var _a;
|
|
549
|
+
if (isSpecTest())
|
|
550
|
+
return;
|
|
455
551
|
if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
|
|
456
552
|
// Ensure value is an array before iterating
|
|
457
553
|
const valueArray = this.ensureValueArray();
|
|
@@ -680,7 +776,9 @@ const PdsMultiselect = class {
|
|
|
680
776
|
positionDropdown() {
|
|
681
777
|
if (!this.containerEl || !this.panelEl)
|
|
682
778
|
return;
|
|
683
|
-
|
|
779
|
+
// In inline pill mode, triggerEl is the small chevron button — use the full-width
|
|
780
|
+
// wrapper div as the Floating UI reference so the panel aligns with the whole trigger.
|
|
781
|
+
const referenceEl = this.pillInlineTriggerEl || this.triggerEl || this.containerEl;
|
|
684
782
|
const { minWidth, panelWidth } = this;
|
|
685
783
|
const updatePosition = () => {
|
|
686
784
|
computePosition(referenceEl, this.panelEl, {
|
|
@@ -724,6 +822,8 @@ const PdsMultiselect = class {
|
|
|
724
822
|
}
|
|
725
823
|
toggleOption(option) {
|
|
726
824
|
var _a, _b;
|
|
825
|
+
if (option.disabled)
|
|
826
|
+
return;
|
|
727
827
|
// Handle create option
|
|
728
828
|
if (option.isCreateOption) {
|
|
729
829
|
// Prevent multiple create calls while one is in-flight
|
|
@@ -766,6 +866,40 @@ const PdsMultiselect = class {
|
|
|
766
866
|
// For keyboard navigation - toggle the option
|
|
767
867
|
this.toggleOption(option);
|
|
768
868
|
}
|
|
869
|
+
getGroupedRenderItems(filteredOptions) {
|
|
870
|
+
const items = [];
|
|
871
|
+
let currentGroup = null;
|
|
872
|
+
filteredOptions.forEach((option, index) => {
|
|
873
|
+
const group = option.group;
|
|
874
|
+
if (group !== undefined) {
|
|
875
|
+
if (!currentGroup || currentGroup.group !== group) {
|
|
876
|
+
currentGroup = { type: 'group', group, options: [] };
|
|
877
|
+
items.push(currentGroup);
|
|
878
|
+
}
|
|
879
|
+
currentGroup.options.push({ option, index });
|
|
880
|
+
}
|
|
881
|
+
else {
|
|
882
|
+
currentGroup = null;
|
|
883
|
+
items.push({ type: 'option', option, index });
|
|
884
|
+
}
|
|
885
|
+
});
|
|
886
|
+
return items;
|
|
887
|
+
}
|
|
888
|
+
renderOption(option, index, valueArray) {
|
|
889
|
+
const isSelected = valueArray.includes(String(option.id));
|
|
890
|
+
const isCreateOption = option.isCreateOption;
|
|
891
|
+
const isDisabled = option.disabled;
|
|
892
|
+
const isHighlighted = index === this.highlightedIndex && !isCreateOption;
|
|
893
|
+
const optionId = `${this.componentId}-option-${index}`;
|
|
894
|
+
const isCreateDisabled = isCreateOption && this.creating;
|
|
895
|
+
return (h("li", { key: String(option.id), id: optionId, class: {
|
|
896
|
+
'pds-multiselect__option': true,
|
|
897
|
+
'pds-multiselect__option--highlighted': isHighlighted,
|
|
898
|
+
'pds-multiselect__option--selected': isSelected,
|
|
899
|
+
'pds-multiselect__option--create': isCreateOption,
|
|
900
|
+
'pds-multiselect__option--disabled': isDisabled || isCreateDisabled,
|
|
901
|
+
}, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": isDisabled || isCreateDisabled ? 'true' : undefined, "aria-label": isCreateOption ? `Create new tag: ${option.text}` : undefined, "data-index": index, onMouseDown: this.handleOptionMouseDown(option), onMouseEnter: this.handleOptionMouseEnter(index, option) }, isCreateOption ? (h("pds-box", { class: "pds-multiselect__create-option", "align-items": "center", gap: "xs" }, h("pds-icon", { name: "add", size: "small" }), h("pds-text", null, "Add \"", option.text, "\""))) : (h("pds-checkbox", { componentId: `${this.componentId}-checkbox-${index}`, checked: isSelected, label: option.text, disabled: isDisabled, style: { pointerEvents: 'none' } }))));
|
|
902
|
+
}
|
|
769
903
|
renderSelectedItemsList() {
|
|
770
904
|
if (this.hideSelectedItems || this.selectedItems.length === 0)
|
|
771
905
|
return null;
|
|
@@ -778,43 +912,58 @@ const PdsMultiselect = class {
|
|
|
778
912
|
const valueArray = this.ensureValueArray();
|
|
779
913
|
const hasSlottedEmpty = !!this.el.querySelector('[slot="empty"]');
|
|
780
914
|
const hasSlottedLoading = !!this.el.querySelector('[slot="loading"]');
|
|
781
|
-
return (h("div", { class: "pds-multiselect__panel", ref: el => (this.panelEl = el), style: { minWidth: this.minWidth } }, h("div", { class: "pds-multiselect__search" }, h("pds-icon", { name: "search", size: "small" }), h("input", { ref: el => (this.searchInputEl = el), type: "text", class: "pds-multiselect__search-input", placeholder: this.searchPlaceholder, value: this.searchQuery, "aria-label": "Search options", "aria-controls": `${this.componentId}-listbox`, "aria-activedescendant": this.highlightedIndex >= 0 ? `${this.componentId}-option-${this.highlightedIndex}` : undefined, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": "true", "aria-autocomplete": "list", autocomplete: "off", onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchInputKeyDown })), this.renderSelectedItemsList(), h("ul", { class: "pds-multiselect__listbox", role: "listbox", "aria-multiselectable": "true", "aria-label": this.label || 'Options', id: `${this.componentId}-listbox`, ref: el => (this.listboxEl = el), style: { maxHeight: this.maxHeight }, onScroll: this.handleScroll }, this.loading && (h("li", { class: "pds-multiselect__loading", role: "presentation" }, hasSlottedLoading ? (h("slot", { name: "loading" })) : (h("pds-loader", { size: "small" })))), !this.loading && filteredOptions.length === 0 && (h("li", { class: "pds-multiselect__empty", role: "presentation" }, hasSlottedEmpty ? (h("slot", { name: "empty" })) : (h("span", null, "No options found")))), filteredOptions.map((
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
const isCreateDisabled = isCreateOption && this.creating;
|
|
787
|
-
return (h("li", { key: String(option.id), id: optionId, class: {
|
|
788
|
-
'pds-multiselect__option': true,
|
|
789
|
-
'pds-multiselect__option--highlighted': isHighlighted,
|
|
790
|
-
'pds-multiselect__option--selected': isSelected,
|
|
791
|
-
'pds-multiselect__option--create': isCreateOption,
|
|
792
|
-
'pds-multiselect__option--disabled': isCreateDisabled,
|
|
793
|
-
}, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": isCreateDisabled ? 'true' : undefined, "aria-label": isCreateOption ? `Create new tag: ${option.text}` : undefined, "data-index": index, onMouseDown: this.handleOptionMouseDown(option), onMouseEnter: this.handleOptionMouseEnter(index) }, isCreateOption ? (h("pds-box", { class: "pds-multiselect__create-option", "align-items": "center", gap: "xs" }, h("pds-icon", { name: "add", size: "small" }), h("pds-text", null, "Add \"", option.text, "\""))) : (h("pds-checkbox", { componentId: `${this.componentId}-checkbox-${index}`, checked: isSelected, label: option.text, style: { pointerEvents: 'none' } }))));
|
|
915
|
+
return (h("div", { class: "pds-multiselect__panel", ref: el => (this.panelEl = el), style: { minWidth: this.minWidth } }, h("div", { class: "pds-multiselect__search" }, h("pds-icon", { name: "search", size: "small" }), h("input", { ref: el => (this.searchInputEl = el), type: "text", class: "pds-multiselect__search-input", placeholder: this.searchPlaceholder, value: this.searchQuery, "aria-label": "Search options", "aria-controls": `${this.componentId}-listbox`, "aria-activedescendant": this.highlightedIndex >= 0 ? `${this.componentId}-option-${this.highlightedIndex}` : undefined, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": "true", "aria-autocomplete": "list", autocomplete: "off", onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchInputKeyDown })), this.renderSelectedItemsList(), h("ul", { class: "pds-multiselect__listbox", role: "listbox", "aria-multiselectable": "true", "aria-label": this.label || 'Options', id: `${this.componentId}-listbox`, ref: el => (this.listboxEl = el), style: { maxHeight: this.maxHeight }, onScroll: this.handleScroll }, this.loading && (h("li", { class: "pds-multiselect__loading", role: "presentation" }, hasSlottedLoading ? (h("slot", { name: "loading" })) : (h("pds-loader", { size: "small" })))), !this.loading && filteredOptions.length === 0 && (h("li", { class: "pds-multiselect__empty", role: "presentation" }, hasSlottedEmpty ? (h("slot", { name: "empty" })) : (h("span", null, "No options found")))), this.getGroupedRenderItems(filteredOptions).map((item, itemIndex) => {
|
|
916
|
+
if (item.type === 'group') {
|
|
917
|
+
return (h("li", { key: `group-${itemIndex}`, role: "group", "aria-label": item.group, class: "pds-multiselect__group" }, h("span", { class: "pds-multiselect__group-header", "aria-hidden": "true" }, item.group), h("ul", { class: "pds-multiselect__group-list", role: "presentation" }, item.options.map(({ option, index }) => this.renderOption(option, index, valueArray)))));
|
|
918
|
+
}
|
|
919
|
+
return this.renderOption(item.option, item.index, valueArray);
|
|
794
920
|
}), this.hasMore && !this.loading && (h("li", { class: "pds-multiselect__load-more", role: "presentation" }, h("pds-loader", { size: "small" }))))));
|
|
795
921
|
}
|
|
922
|
+
renderInlinePills() {
|
|
923
|
+
const hasSelections = this.selectedItems.length > 0;
|
|
924
|
+
if (!hasSelections) {
|
|
925
|
+
return (h("span", { class: "pds-multiselect__trigger-text pds-multiselect__trigger-text--placeholder" }, this.placeholder || 'Select...'));
|
|
926
|
+
}
|
|
927
|
+
const variant = this.disabled ? 'text' : 'tag';
|
|
928
|
+
const visibleItems = this.selectedItems.slice(0, Math.max(1, this.maxInlinePills));
|
|
929
|
+
const overflowCount = this.selectedItems.length - visibleItems.length;
|
|
930
|
+
return (h("div", { class: "pds-multiselect__pill-list pds-multiselect__pill-list--inline", "aria-label": "Selected items" }, visibleItems.map(item => (h("pds-chip", { key: String(item.id), "component-id": `${this.componentId}-pill-${item.id}`, variant: variant, size: "sm", sentiment: "neutral", onPdsTagCloseClick: this.handlePillRemove(item) }, item.text))), overflowCount > 0 && (h("span", { class: "pds-multiselect__pill-overflow" }, "+", overflowCount))));
|
|
931
|
+
}
|
|
932
|
+
renderBelowPills() {
|
|
933
|
+
if (this.selectedItems.length === 0)
|
|
934
|
+
return null;
|
|
935
|
+
const variant = this.disabled ? 'text' : 'tag';
|
|
936
|
+
return (h("div", { class: "pds-multiselect__pill-list pds-multiselect__pill-list--below", "aria-label": "Selected items" }, this.selectedItems.map(item => (h("pds-chip", { key: String(item.id), "component-id": `${this.componentId}-pill-${item.id}`, variant: variant, size: "md", sentiment: "neutral", onPdsTagCloseClick: this.handlePillRemove(item) }, item.text)))));
|
|
937
|
+
}
|
|
796
938
|
getTriggerText() {
|
|
797
939
|
const count = this.selectedItems.length;
|
|
798
|
-
if (count === 0) {
|
|
940
|
+
if (count === 0 || (this.selectedDisplay === 'pill' && this.pillPosition === 'below')) {
|
|
799
941
|
return this.placeholder || 'Select...';
|
|
800
942
|
}
|
|
801
943
|
return `${count} item${count === 1 ? '' : 's'}`;
|
|
802
944
|
}
|
|
803
945
|
render() {
|
|
804
946
|
const hasSelections = this.selectedItems.length > 0;
|
|
805
|
-
return (h(Host, { key: '
|
|
947
|
+
return (h(Host, { key: '50f06d8e7a23c17ff0169048d220aa78e4e60d91', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: 'f85448744cf889fd999579fe2849fd7902254e3d', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (h("label", { key: '54143c890e3fea07626705fab5b87d0da2abf485', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
|
|
806
948
|
'pds-multiselect__label': true,
|
|
807
949
|
'visually-hidden': this.hideLabel,
|
|
808
|
-
} }, this.label)), h("div", { key: '
|
|
950
|
+
} }, this.label)), h("div", { key: 'ad35b02bcf540a5fd197d8012cb060d10682b0a2', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (h("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
|
|
951
|
+
'pds-multiselect__trigger': true,
|
|
952
|
+
'pds-multiselect__trigger--open': this.isOpen,
|
|
953
|
+
'pds-multiselect__trigger--disabled': this.disabled,
|
|
954
|
+
'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
|
|
955
|
+
'pds-multiselect__trigger--has-value': hasSelections,
|
|
956
|
+
'pds-multiselect__trigger--pill-inline': true,
|
|
957
|
+
}, onClick: this.handleTriggerClick }, this.renderInlinePills(), h("button", { ref: el => (this.triggerEl = el), type: "button", id: this.componentId, part: "pill-toggle", class: "pds-multiselect__pill-toggle", disabled: this.disabled, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-labelledby": this.label ? `${this.componentId}-label` : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onKeyDown: this.handleTriggerKeyDown }, h("pds-icon", { class: "pds-multiselect__icon", icon: enlarge })))) : (h("button", { ref: el => (this.triggerEl = el), type: "button", part: "trigger", class: {
|
|
809
958
|
'pds-multiselect__trigger': true,
|
|
810
959
|
'pds-multiselect__trigger--open': this.isOpen,
|
|
811
960
|
'pds-multiselect__trigger--disabled': this.disabled,
|
|
812
961
|
'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
|
|
813
962
|
'pds-multiselect__trigger--has-value': hasSelections,
|
|
814
|
-
}, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, h("span", {
|
|
963
|
+
}, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, h("span", { class: {
|
|
815
964
|
'pds-multiselect__trigger-text': true,
|
|
816
|
-
'pds-multiselect__trigger-text--placeholder': !hasSelections,
|
|
817
|
-
} }, this.getTriggerText()), h("pds-icon", {
|
|
965
|
+
'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
|
|
966
|
+
} }, this.getTriggerText()), h("pds-icon", { class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), h("span", { key: '547ab819abb5193040ddf71d725bf97fc3cb80b6', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (h("p", { key: '063fadcda29637c338ed8ab49ef95c57750ff7ba', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (h("p", { key: '6aabb3cd4b8334f87a4eecc38ba43ff4980fb8af', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: '6fa6e1eeb8625a90e149a46a1d49742979b37881', icon: danger, size: "small" }), this.errorMessage)), h("div", { key: '0a84dfe166c5cc0f93840825e238d3f7baf932e4', style: { display: 'none' } }, h("slot", { key: 'a4e97c2063b358aca5db8dd6ccb8a8d860c26a4a' })))));
|
|
818
967
|
}
|
|
819
968
|
static get formAssociated() { return true; }
|
|
820
969
|
get el() { return getElement(this); }
|