@pine-ds/core 3.22.1 → 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 +4 -2
- 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 +5 -3
- 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.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 +5 -3
- 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 +575 -375
- package/hydrate/index.mjs +575 -375
- 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-0b3d6527.entry.js +0 -2
- package/dist/pine-core/p-0b3d6527.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-3fd70f83.entry.js +0 -2
- package/dist/pine-core/p-3fd70f83.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-CEll-OBZ.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-a553b40b.system.entry.js +0 -2
- package/dist/pine-core/p-a553b40b.system.entry.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
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift, b as size } from './floating-ui.dom.js';
|
|
3
3
|
import { d as debounceEvent } from './utils.js';
|
|
4
|
-
import { a as assignDescription, m as messageId } from './form.js';
|
|
4
|
+
import { i as isSpecTest, a as assignDescription, m as messageId } from './form.js';
|
|
5
5
|
import { g as enlarge, h as danger } from './index2.js';
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
6
|
+
import { d as defineCustomElement$7 } from './pds-box2.js';
|
|
7
|
+
import { d as defineCustomElement$6 } from './pds-checkbox2.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './pds-chip2.js';
|
|
8
9
|
import { d as defineCustomElement$4 } from './pds-icon2.js';
|
|
9
10
|
import { d as defineCustomElement$3 } from './pds-loader2.js';
|
|
10
11
|
import { d as defineCustomElement$2 } from './pds-text2.js';
|
|
11
12
|
|
|
12
|
-
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}";
|
|
13
|
+
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}";
|
|
13
14
|
|
|
14
15
|
const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect extends HTMLElement {
|
|
15
16
|
constructor(registerHost) {
|
|
@@ -77,6 +78,26 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
77
78
|
* Hides the selected items summary section in the dropdown panel.
|
|
78
79
|
*/
|
|
79
80
|
this.hideSelectedItems = false;
|
|
81
|
+
/**
|
|
82
|
+
* Display mode for selected items outside the dropdown panel.
|
|
83
|
+
* `'count'` shows "N item(s)" text in the trigger (default). `'pill'` renders
|
|
84
|
+
* selected items as dismissible pds-chip tags.
|
|
85
|
+
* @default 'count'
|
|
86
|
+
*/
|
|
87
|
+
this.selectedDisplay = 'count';
|
|
88
|
+
/**
|
|
89
|
+
* Position of pill chips when `selectedDisplay` is `'pill'`.
|
|
90
|
+
* `'inline'` places chips inside the trigger; `'below'` places chips in a
|
|
91
|
+
* flex-wrap row directly below the trigger.
|
|
92
|
+
* @default 'inline'
|
|
93
|
+
*/
|
|
94
|
+
this.pillPosition = 'inline';
|
|
95
|
+
/**
|
|
96
|
+
* Maximum chips shown inline before collapsing to a "+N more" badge.
|
|
97
|
+
* Only applies when `selectedDisplay='pill'` and `pillPosition='inline'`.
|
|
98
|
+
* @default 3
|
|
99
|
+
*/
|
|
100
|
+
this.maxInlinePills = 3;
|
|
80
101
|
/**
|
|
81
102
|
* If true, the multiselect is required.
|
|
82
103
|
*/
|
|
@@ -98,6 +119,7 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
98
119
|
this.currentPage = 1;
|
|
99
120
|
this.hasMore = false;
|
|
100
121
|
this.creating = false;
|
|
122
|
+
this.removalAnnouncement = '';
|
|
101
123
|
// Flag to prevent focusout from closing during open transition
|
|
102
124
|
this.isOpening = false;
|
|
103
125
|
// Flag to suppress dismiss event when panel closes due to selection (not user dismissal)
|
|
@@ -106,9 +128,16 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
106
128
|
this.initialAsyncFetchTriggered = false;
|
|
107
129
|
// Flag to track if value changed during loading and needs resolution after fetch completes
|
|
108
130
|
this.pendingUnresolvedFetch = false;
|
|
109
|
-
this.handleTriggerClick = () => {
|
|
131
|
+
this.handleTriggerClick = (e) => {
|
|
110
132
|
if (this.disabled)
|
|
111
133
|
return;
|
|
134
|
+
// In inline-pill mode, ignore clicks that originated inside a pds-chip.
|
|
135
|
+
// Chip close-button clicks are handled by handlePillRemove; chip body clicks should not toggle the panel.
|
|
136
|
+
if (e && this.selectedDisplay === 'pill' && this.pillPosition === 'inline') {
|
|
137
|
+
const fromChip = e.composedPath().some(el => { var _a; return ((_a = el.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'pds-chip'; });
|
|
138
|
+
if (fromChip)
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
112
141
|
if (this.isOpen) {
|
|
113
142
|
this.closeDropdown();
|
|
114
143
|
}
|
|
@@ -117,6 +146,10 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
117
146
|
}
|
|
118
147
|
};
|
|
119
148
|
this.handleTriggerKeyDown = (e) => {
|
|
149
|
+
// Ignore keydown events that bubbled from child elements (e.g. chip close buttons).
|
|
150
|
+
// Only handle keys when the trigger itself is the event target.
|
|
151
|
+
if (e.target !== this.triggerEl)
|
|
152
|
+
return;
|
|
120
153
|
switch (e.key) {
|
|
121
154
|
case 'ArrowDown':
|
|
122
155
|
case 'ArrowUp':
|
|
@@ -141,18 +174,35 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
141
174
|
}
|
|
142
175
|
};
|
|
143
176
|
this.handleSearchInputKeyDown = (e) => {
|
|
177
|
+
var _a, _b, _c;
|
|
144
178
|
const filteredOptions = this.getFilteredOptions();
|
|
145
179
|
switch (e.key) {
|
|
146
|
-
case 'ArrowDown':
|
|
180
|
+
case 'ArrowDown': {
|
|
147
181
|
e.preventDefault();
|
|
148
|
-
|
|
149
|
-
|
|
182
|
+
let nextIndex = this.highlightedIndex + 1;
|
|
183
|
+
while (nextIndex < filteredOptions.length && ((_a = filteredOptions[nextIndex]) === null || _a === void 0 ? void 0 : _a.disabled)) {
|
|
184
|
+
nextIndex++;
|
|
185
|
+
}
|
|
186
|
+
if (nextIndex < filteredOptions.length) {
|
|
187
|
+
this.highlightedIndex = nextIndex;
|
|
188
|
+
this.scrollOptionIntoView();
|
|
189
|
+
}
|
|
150
190
|
break;
|
|
151
|
-
|
|
191
|
+
}
|
|
192
|
+
case 'ArrowUp': {
|
|
152
193
|
e.preventDefault();
|
|
153
|
-
|
|
154
|
-
|
|
194
|
+
// Clamp to 0 so ArrowUp from uninitialised state (-1) attempts the first option;
|
|
195
|
+
// stays at -1 if that option is disabled.
|
|
196
|
+
let prevIndex = Math.max(this.highlightedIndex - 1, 0);
|
|
197
|
+
while (prevIndex > 0 && ((_b = filteredOptions[prevIndex]) === null || _b === void 0 ? void 0 : _b.disabled)) {
|
|
198
|
+
prevIndex--;
|
|
199
|
+
}
|
|
200
|
+
if (!((_c = filteredOptions[prevIndex]) === null || _c === void 0 ? void 0 : _c.disabled)) {
|
|
201
|
+
this.highlightedIndex = prevIndex;
|
|
202
|
+
this.scrollOptionIntoView();
|
|
203
|
+
}
|
|
155
204
|
break;
|
|
205
|
+
}
|
|
156
206
|
case 'Enter':
|
|
157
207
|
e.preventDefault();
|
|
158
208
|
if (this.highlightedIndex >= 0) {
|
|
@@ -192,7 +242,9 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
192
242
|
e.preventDefault(); // Prevent focus change
|
|
193
243
|
this.toggleOption(option);
|
|
194
244
|
};
|
|
195
|
-
this.handleOptionMouseEnter = (index) => () => {
|
|
245
|
+
this.handleOptionMouseEnter = (index, option) => () => {
|
|
246
|
+
if (option.disabled)
|
|
247
|
+
return;
|
|
196
248
|
this.highlightedIndex = index;
|
|
197
249
|
};
|
|
198
250
|
this.handleScroll = (e) => {
|
|
@@ -209,6 +261,26 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
209
261
|
this.debouncedFetchAsyncOptions(this.searchQuery, this.currentPage + 1);
|
|
210
262
|
}
|
|
211
263
|
};
|
|
264
|
+
this.handlePillRemove = (item) => () => {
|
|
265
|
+
var _a, _b;
|
|
266
|
+
if (this.disabled)
|
|
267
|
+
return;
|
|
268
|
+
const optionId = String(item.id);
|
|
269
|
+
this.value = this.value.filter(v => v !== optionId);
|
|
270
|
+
this.syncSelectedItems();
|
|
271
|
+
this.pdsMultiselectChange.emit({ values: this.value, items: this.selectedItems });
|
|
272
|
+
// Clear first so screen readers re-announce even when the same item is removed twice
|
|
273
|
+
this.removalAnnouncement = '';
|
|
274
|
+
queueMicrotask(() => { this.removalAnnouncement = `${item.text} removed`; });
|
|
275
|
+
this.isClosingViaSelection = true;
|
|
276
|
+
if (this.isOpen) {
|
|
277
|
+
(_a = this.searchInputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
(_b = this.triggerEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
281
|
+
}
|
|
282
|
+
setTimeout(() => { this.isClosingViaSelection = false; }, 0);
|
|
283
|
+
};
|
|
212
284
|
}
|
|
213
285
|
connectedCallback() {
|
|
214
286
|
// Initialize ElementInternals for form association (only once per element instance)
|
|
@@ -355,12 +427,35 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
355
427
|
const slot = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
|
|
356
428
|
if (!slot)
|
|
357
429
|
return;
|
|
358
|
-
const options =
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
430
|
+
const options = [];
|
|
431
|
+
slot.assignedElements({ flatten: true }).forEach(el => {
|
|
432
|
+
var _a;
|
|
433
|
+
if (el.tagName === 'OPTGROUP') {
|
|
434
|
+
const optgroup = el;
|
|
435
|
+
const groupLabel = optgroup.label;
|
|
436
|
+
const groupDisabled = optgroup.disabled;
|
|
437
|
+
optgroup.querySelectorAll('option').forEach((opt) => {
|
|
438
|
+
var _a;
|
|
439
|
+
const option = {
|
|
440
|
+
id: opt.value,
|
|
441
|
+
text: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || opt.value,
|
|
442
|
+
disabled: opt.disabled || groupDisabled || undefined,
|
|
443
|
+
};
|
|
444
|
+
if (groupLabel) {
|
|
445
|
+
option.group = groupLabel;
|
|
446
|
+
}
|
|
447
|
+
options.push(option);
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
else if (el.tagName === 'OPTION') {
|
|
451
|
+
const opt = el;
|
|
452
|
+
options.push({
|
|
453
|
+
id: opt.value,
|
|
454
|
+
text: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || opt.value,
|
|
455
|
+
disabled: opt.disabled || undefined,
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
});
|
|
364
459
|
// Only update if we actually found options AND we're not using async/external options
|
|
365
460
|
// Don't clear internalOptions if slot returns empty (might be mid-DOM-update)
|
|
366
461
|
if (options.length > 0 && !this.asyncUrl && !this.options) {
|
|
@@ -461,6 +556,8 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
461
556
|
}
|
|
462
557
|
updateFormValue() {
|
|
463
558
|
var _a;
|
|
559
|
+
if (isSpecTest())
|
|
560
|
+
return;
|
|
464
561
|
if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
|
|
465
562
|
// Ensure value is an array before iterating
|
|
466
563
|
const valueArray = this.ensureValueArray();
|
|
@@ -689,7 +786,9 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
689
786
|
positionDropdown() {
|
|
690
787
|
if (!this.containerEl || !this.panelEl)
|
|
691
788
|
return;
|
|
692
|
-
|
|
789
|
+
// In inline pill mode, triggerEl is the small chevron button — use the full-width
|
|
790
|
+
// wrapper div as the Floating UI reference so the panel aligns with the whole trigger.
|
|
791
|
+
const referenceEl = this.pillInlineTriggerEl || this.triggerEl || this.containerEl;
|
|
693
792
|
const { minWidth, panelWidth } = this;
|
|
694
793
|
const updatePosition = () => {
|
|
695
794
|
computePosition(referenceEl, this.panelEl, {
|
|
@@ -733,6 +832,8 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
733
832
|
}
|
|
734
833
|
toggleOption(option) {
|
|
735
834
|
var _a, _b;
|
|
835
|
+
if (option.disabled)
|
|
836
|
+
return;
|
|
736
837
|
// Handle create option
|
|
737
838
|
if (option.isCreateOption) {
|
|
738
839
|
// Prevent multiple create calls while one is in-flight
|
|
@@ -775,6 +876,40 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
775
876
|
// For keyboard navigation - toggle the option
|
|
776
877
|
this.toggleOption(option);
|
|
777
878
|
}
|
|
879
|
+
getGroupedRenderItems(filteredOptions) {
|
|
880
|
+
const items = [];
|
|
881
|
+
let currentGroup = null;
|
|
882
|
+
filteredOptions.forEach((option, index) => {
|
|
883
|
+
const group = option.group;
|
|
884
|
+
if (group !== undefined) {
|
|
885
|
+
if (!currentGroup || currentGroup.group !== group) {
|
|
886
|
+
currentGroup = { type: 'group', group, options: [] };
|
|
887
|
+
items.push(currentGroup);
|
|
888
|
+
}
|
|
889
|
+
currentGroup.options.push({ option, index });
|
|
890
|
+
}
|
|
891
|
+
else {
|
|
892
|
+
currentGroup = null;
|
|
893
|
+
items.push({ type: 'option', option, index });
|
|
894
|
+
}
|
|
895
|
+
});
|
|
896
|
+
return items;
|
|
897
|
+
}
|
|
898
|
+
renderOption(option, index, valueArray) {
|
|
899
|
+
const isSelected = valueArray.includes(String(option.id));
|
|
900
|
+
const isCreateOption = option.isCreateOption;
|
|
901
|
+
const isDisabled = option.disabled;
|
|
902
|
+
const isHighlighted = index === this.highlightedIndex && !isCreateOption;
|
|
903
|
+
const optionId = `${this.componentId}-option-${index}`;
|
|
904
|
+
const isCreateDisabled = isCreateOption && this.creating;
|
|
905
|
+
return (h("li", { key: String(option.id), id: optionId, class: {
|
|
906
|
+
'pds-multiselect__option': true,
|
|
907
|
+
'pds-multiselect__option--highlighted': isHighlighted,
|
|
908
|
+
'pds-multiselect__option--selected': isSelected,
|
|
909
|
+
'pds-multiselect__option--create': isCreateOption,
|
|
910
|
+
'pds-multiselect__option--disabled': isDisabled || isCreateDisabled,
|
|
911
|
+
}, 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' } }))));
|
|
912
|
+
}
|
|
778
913
|
renderSelectedItemsList() {
|
|
779
914
|
if (this.hideSelectedItems || this.selectedItems.length === 0)
|
|
780
915
|
return null;
|
|
@@ -787,43 +922,58 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
787
922
|
const valueArray = this.ensureValueArray();
|
|
788
923
|
const hasSlottedEmpty = !!this.el.querySelector('[slot="empty"]');
|
|
789
924
|
const hasSlottedLoading = !!this.el.querySelector('[slot="loading"]');
|
|
790
|
-
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((
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
const isCreateDisabled = isCreateOption && this.creating;
|
|
796
|
-
return (h("li", { key: String(option.id), id: optionId, class: {
|
|
797
|
-
'pds-multiselect__option': true,
|
|
798
|
-
'pds-multiselect__option--highlighted': isHighlighted,
|
|
799
|
-
'pds-multiselect__option--selected': isSelected,
|
|
800
|
-
'pds-multiselect__option--create': isCreateOption,
|
|
801
|
-
'pds-multiselect__option--disabled': isCreateDisabled,
|
|
802
|
-
}, 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' } }))));
|
|
925
|
+
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) => {
|
|
926
|
+
if (item.type === 'group') {
|
|
927
|
+
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)))));
|
|
928
|
+
}
|
|
929
|
+
return this.renderOption(item.option, item.index, valueArray);
|
|
803
930
|
}), this.hasMore && !this.loading && (h("li", { class: "pds-multiselect__load-more", role: "presentation" }, h("pds-loader", { size: "small" }))))));
|
|
804
931
|
}
|
|
932
|
+
renderInlinePills() {
|
|
933
|
+
const hasSelections = this.selectedItems.length > 0;
|
|
934
|
+
if (!hasSelections) {
|
|
935
|
+
return (h("span", { class: "pds-multiselect__trigger-text pds-multiselect__trigger-text--placeholder" }, this.placeholder || 'Select...'));
|
|
936
|
+
}
|
|
937
|
+
const variant = this.disabled ? 'text' : 'tag';
|
|
938
|
+
const visibleItems = this.selectedItems.slice(0, Math.max(1, this.maxInlinePills));
|
|
939
|
+
const overflowCount = this.selectedItems.length - visibleItems.length;
|
|
940
|
+
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))));
|
|
941
|
+
}
|
|
942
|
+
renderBelowPills() {
|
|
943
|
+
if (this.selectedItems.length === 0)
|
|
944
|
+
return null;
|
|
945
|
+
const variant = this.disabled ? 'text' : 'tag';
|
|
946
|
+
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)))));
|
|
947
|
+
}
|
|
805
948
|
getTriggerText() {
|
|
806
949
|
const count = this.selectedItems.length;
|
|
807
|
-
if (count === 0) {
|
|
950
|
+
if (count === 0 || (this.selectedDisplay === 'pill' && this.pillPosition === 'below')) {
|
|
808
951
|
return this.placeholder || 'Select...';
|
|
809
952
|
}
|
|
810
953
|
return `${count} item${count === 1 ? '' : 's'}`;
|
|
811
954
|
}
|
|
812
955
|
render() {
|
|
813
956
|
const hasSelections = this.selectedItems.length > 0;
|
|
814
|
-
return (h(Host, { key: '
|
|
957
|
+
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: {
|
|
815
958
|
'pds-multiselect__label': true,
|
|
816
959
|
'visually-hidden': this.hideLabel,
|
|
817
|
-
} }, this.label)), h("div", { key: '
|
|
960
|
+
} }, 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: {
|
|
818
961
|
'pds-multiselect__trigger': true,
|
|
819
962
|
'pds-multiselect__trigger--open': this.isOpen,
|
|
820
963
|
'pds-multiselect__trigger--disabled': this.disabled,
|
|
821
964
|
'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
|
|
822
965
|
'pds-multiselect__trigger--has-value': hasSelections,
|
|
823
|
-
|
|
966
|
+
'pds-multiselect__trigger--pill-inline': true,
|
|
967
|
+
}, 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: {
|
|
968
|
+
'pds-multiselect__trigger': true,
|
|
969
|
+
'pds-multiselect__trigger--open': this.isOpen,
|
|
970
|
+
'pds-multiselect__trigger--disabled': this.disabled,
|
|
971
|
+
'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
|
|
972
|
+
'pds-multiselect__trigger--has-value': hasSelections,
|
|
973
|
+
}, 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: {
|
|
824
974
|
'pds-multiselect__trigger-text': true,
|
|
825
|
-
'pds-multiselect__trigger-text--placeholder': !hasSelections,
|
|
826
|
-
} }, this.getTriggerText()), h("pds-icon", {
|
|
975
|
+
'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
|
|
976
|
+
} }, 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' })))));
|
|
827
977
|
}
|
|
828
978
|
static get formAssociated() { return true; }
|
|
829
979
|
get el() { return this; }
|
|
@@ -854,6 +1004,9 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
854
1004
|
"panelWidth": [1, "panel-width"],
|
|
855
1005
|
"hideLabel": [4, "hide-label"],
|
|
856
1006
|
"hideSelectedItems": [4, "hide-selected-items"],
|
|
1007
|
+
"selectedDisplay": [1, "selected-display"],
|
|
1008
|
+
"pillPosition": [1, "pill-position"],
|
|
1009
|
+
"maxInlinePills": [2, "max-inline-pills"],
|
|
857
1010
|
"errorMessage": [1, "error-message"],
|
|
858
1011
|
"helperMessage": [1, "helper-message"],
|
|
859
1012
|
"invalid": [4],
|
|
@@ -872,6 +1025,7 @@ const PdsMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class PdsMultiselect e
|
|
|
872
1025
|
"currentPage": [32],
|
|
873
1026
|
"hasMore": [32],
|
|
874
1027
|
"creating": [32],
|
|
1028
|
+
"removalAnnouncement": [32],
|
|
875
1029
|
"setFocus": [64],
|
|
876
1030
|
"clear": [64]
|
|
877
1031
|
}, [[8, "keydown", "handleWindowKeyDown"]], {
|
|
@@ -884,7 +1038,7 @@ function defineCustomElement$1() {
|
|
|
884
1038
|
if (typeof customElements === "undefined") {
|
|
885
1039
|
return;
|
|
886
1040
|
}
|
|
887
|
-
const components = ["pds-multiselect", "pds-box", "pds-checkbox", "pds-icon", "pds-loader", "pds-text"];
|
|
1041
|
+
const components = ["pds-multiselect", "pds-box", "pds-checkbox", "pds-chip", "pds-icon", "pds-loader", "pds-text"];
|
|
888
1042
|
components.forEach(tagName => { switch (tagName) {
|
|
889
1043
|
case "pds-multiselect":
|
|
890
1044
|
if (!customElements.get(tagName)) {
|
|
@@ -893,10 +1047,15 @@ function defineCustomElement$1() {
|
|
|
893
1047
|
break;
|
|
894
1048
|
case "pds-box":
|
|
895
1049
|
if (!customElements.get(tagName)) {
|
|
896
|
-
defineCustomElement$
|
|
1050
|
+
defineCustomElement$7();
|
|
897
1051
|
}
|
|
898
1052
|
break;
|
|
899
1053
|
case "pds-checkbox":
|
|
1054
|
+
if (!customElements.get(tagName)) {
|
|
1055
|
+
defineCustomElement$6();
|
|
1056
|
+
}
|
|
1057
|
+
break;
|
|
1058
|
+
case "pds-chip":
|
|
900
1059
|
if (!customElements.get(tagName)) {
|
|
901
1060
|
defineCustomElement$5();
|
|
902
1061
|
}
|