@pine-ds/core 3.3.0 → 3.4.1
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 +1321 -0
- package/components/floating-ui.dom.js.map +1 -0
- package/components/index.d.ts +4 -0
- package/components/index.js +2 -0
- package/components/index.js.map +1 -1
- package/components/index2.js +1 -1
- package/components/index2.js.map +1 -1
- package/components/mock-pds-modal.js +2 -2
- package/components/mock-pds-modal.js.map +1 -1
- package/components/pds-box2.js +1 -1
- package/components/pds-box2.js.map +1 -1
- package/components/pds-button2.js +1 -1
- package/components/pds-button2.js.map +1 -1
- package/components/pds-checkbox2.js +1 -1
- package/components/pds-checkbox2.js.map +1 -1
- package/components/pds-chip.js.map +1 -1
- package/components/pds-combobox.d.ts +11 -0
- package/components/pds-combobox.js +1771 -0
- package/components/pds-combobox.js.map +1 -0
- 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-separator.js +1 -1
- package/components/pds-dropdown-menu.js +4 -1320
- package/components/pds-dropdown-menu.js.map +1 -1
- package/components/pds-icon2.js +151 -18
- package/components/pds-icon2.js.map +1 -1
- package/components/pds-image.js +2 -2
- package/components/pds-input.js +69 -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-modal.js.map +1 -1
- package/components/pds-popover.js +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-property.d.ts +11 -0
- package/components/pds-property.js +55 -0
- package/components/pds-property.js.map +1 -0
- package/components/pds-radio.js +4 -4
- package/components/pds-radio.js.map +1 -1
- package/components/pds-row.js +1 -1
- package/components/pds-select.js +86 -3
- package/components/pds-select.js.map +1 -1
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +1 -1
- package/components/pds-switch.js +3 -3
- 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-table.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-text2.js.map +1 -1
- package/components/pds-textarea.js +69 -6
- package/components/pds-textarea.js.map +1 -1
- package/components/pds-toast.js +3 -3
- package/components/pds-tooltip.js +1 -1
- package/dist/cjs/floating-ui.dom-Bz4BD-cr.js +1326 -0
- package/dist/cjs/floating-ui.dom-Bz4BD-cr.js.map +1 -0
- package/dist/cjs/{index-B0qLG6KJ.js → index-BfqrB2cC.js} +3 -3
- package/dist/{esm/index-DpOSrebJ.js.map → cjs/index-BfqrB2cC.js.map} +1 -1
- package/dist/cjs/{index-CxX7ua5d.js → index-g-uSeICs.js} +30 -2
- package/dist/cjs/index-g-uSeICs.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mock-pds-modal.cjs.entry.js +3 -3
- package/dist/cjs/mock-pds-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/mock-pds-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/pds-alert.cjs.entry.js +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/pds-box.cjs.entry.js +2 -2
- package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-box.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +3 -3
- package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-button.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
- 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.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-chip.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-combobox.cjs.entry.js +1717 -0
- package/dist/cjs/pds-combobox.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-combobox.entry.cjs.js.map +1 -0
- package/dist/cjs/pds-copytext.cjs.entry.js +3 -3
- package/dist/cjs/pds-divider.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +2 -2
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js +5 -1321
- package/dist/cjs/pds-dropdown-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-dropdown-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-icon.cjs.entry.js +149 -16
- package/dist/cjs/pds-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +3 -3
- package/dist/cjs/pds-input.cjs.entry.js +68 -4
- package/dist/cjs/pds-input.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-input.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-link.cjs.entry.js +4 -4
- package/dist/cjs/pds-loader.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-content.cjs.entry.js +3 -3
- package/dist/cjs/pds-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-header.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal.cjs.entry.js +4 -4
- package/dist/cjs/pds-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-popover.cjs.entry.js +2 -2
- package/dist/cjs/pds-progress.cjs.entry.js +2 -2
- package/dist/cjs/pds-property.cjs.entry.js +24 -0
- package/dist/cjs/pds-property.cjs.entry.js.map +1 -0
- package/dist/cjs/pds-property.entry.cjs.js.map +1 -0
- package/dist/cjs/pds-radio.cjs.entry.js +6 -6
- package/dist/cjs/pds-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-select.cjs.entry.js +87 -4
- package/dist/cjs/pds-select.cjs.entry.js.map +1 -1
- 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.cjs.entry.js +2 -2
- package/dist/cjs/pds-switch.cjs.entry.js +5 -5
- package/dist/cjs/pds-tab.cjs.entry.js +4 -4
- package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-cell.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +4 -4
- package/dist/cjs/pds-table-head.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-table.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/pds-text.cjs.entry.js +2 -2
- package/dist/cjs/pds-text.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-text.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-textarea.cjs.entry.js +69 -7
- package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-toast.cjs.entry.js +4 -4
- package/dist/cjs/pds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/pine-core.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/pds-box/pds-box.css +1 -1
- package/dist/collection/components/pds-button/pds-button.css +3 -2
- package/dist/collection/components/pds-checkbox/pds-checkbox.css +1 -0
- package/dist/collection/components/pds-combobox/pds-combobox.css +223 -0
- package/dist/collection/components/pds-combobox/pds-combobox.js +783 -0
- package/dist/collection/components/pds-combobox/pds-combobox.js.map +1 -0
- package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +194 -0
- 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 +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-image/pds-image.js +2 -2
- package/dist/collection/components/pds-input/pds-input.css +28 -7
- package/dist/collection/components/pds-input/pds-input.js +86 -1
- package/dist/collection/components/pds-input/pds-input.js.map +1 -1
- package/dist/collection/components/pds-input/stories/pds-input.stories.js +180 -71
- package/dist/collection/components/pds-link/pds-link.js +2 -2
- package/dist/collection/components/pds-loader/pds-loader.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal.css +1 -1
- package/dist/collection/components/pds-modal/pds-modal.js +2 -2
- package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
- 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.css +4 -0
- package/dist/collection/components/pds-property/pds-property.js +71 -0
- package/dist/collection/components/pds-property/pds-property.js.map +1 -0
- package/dist/collection/components/pds-property/stories/pds-property.stories.js +20 -0
- package/dist/collection/components/pds-radio/pds-radio.css +1 -0
- package/dist/collection/components/pds-radio/pds-radio.js +3 -3
- package/dist/collection/components/pds-row/pds-row.js +1 -1
- package/dist/collection/components/pds-select/pds-select.css +21 -2
- package/dist/collection/components/pds-select/pds-select.js +87 -1
- package/dist/collection/components/pds-select/pds-select.js.map +1 -1
- package/dist/collection/components/pds-select/stories/pds-select.stories.js +42 -0
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
- package/dist/collection/components/pds-switch/pds-switch.js +3 -3
- package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
- package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
- package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
- package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
- package/dist/collection/components/pds-table/pds-table.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 +4 -1
- package/dist/collection/components/pds-text/pds-text.js.map +1 -1
- package/dist/collection/components/pds-textarea/pds-textarea.css +18 -0
- package/dist/collection/components/pds-textarea/pds-textarea.js +71 -5
- package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
- package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +48 -1
- package/dist/collection/components/pds-toast/pds-toast.js +3 -3
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +1 -1
- package/dist/docs.json +751 -37
- package/dist/esm/floating-ui.dom-D_FwyeSw.js +1321 -0
- package/dist/esm/floating-ui.dom-D_FwyeSw.js.map +1 -0
- package/dist/esm/{index-Uh5ntVcq.js → index-BVCWKPy3.js} +30 -2
- package/dist/esm/index-BVCWKPy3.js.map +1 -0
- package/dist/esm/{index-DpOSrebJ.js → index-CzVv99mW.js} +3 -3
- package/dist/{cjs/index-B0qLG6KJ.js.map → esm/index-CzVv99mW.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mock-pds-modal.entry.js +3 -3
- package/dist/esm/mock-pds-modal.entry.js.map +1 -1
- package/dist/esm/pds-accordion.entry.js +2 -2
- package/dist/esm/pds-alert.entry.js +1 -1
- package/dist/esm/pds-avatar.entry.js +2 -2
- package/dist/esm/pds-box.entry.js +2 -2
- package/dist/esm/pds-box.entry.js.map +1 -1
- package/dist/esm/pds-button.entry.js +3 -3
- package/dist/esm/pds-button.entry.js.map +1 -1
- package/dist/esm/pds-checkbox.entry.js +3 -3
- 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 +1715 -0
- package/dist/esm/pds-combobox.entry.js.map +1 -0
- package/dist/esm/pds-copytext.entry.js +3 -3
- package/dist/esm/pds-divider.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu-separator.entry.js +2 -2
- package/dist/esm/pds-dropdown-menu.entry.js +3 -1319
- package/dist/esm/pds-dropdown-menu.entry.js.map +1 -1
- package/dist/esm/pds-icon.entry.js +149 -16
- package/dist/esm/pds-icon.entry.js.map +1 -1
- package/dist/esm/pds-image.entry.js +3 -3
- package/dist/esm/pds-input.entry.js +68 -4
- package/dist/esm/pds-input.entry.js.map +1 -1
- package/dist/esm/pds-link.entry.js +4 -4
- package/dist/esm/pds-loader.entry.js +2 -2
- package/dist/esm/pds-modal-content.entry.js +3 -3
- package/dist/esm/pds-modal-footer.entry.js +2 -2
- package/dist/esm/pds-modal-header.entry.js +2 -2
- package/dist/esm/pds-modal.entry.js +4 -4
- package/dist/esm/pds-modal.entry.js.map +1 -1
- package/dist/esm/pds-popover.entry.js +2 -2
- package/dist/esm/pds-progress.entry.js +2 -2
- package/dist/esm/pds-property.entry.js +22 -0
- package/dist/esm/pds-property.entry.js.map +1 -0
- package/dist/esm/pds-radio.entry.js +6 -6
- package/dist/esm/pds-radio.entry.js.map +1 -1
- package/dist/esm/pds-row.entry.js +2 -2
- package/dist/esm/pds-select.entry.js +87 -4
- 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.entry.js +2 -2
- package/dist/esm/pds-switch.entry.js +5 -5
- package/dist/esm/pds-tab.entry.js +4 -4
- package/dist/esm/pds-table-body.entry.js +2 -2
- package/dist/esm/pds-table-cell.entry.js +3 -3
- package/dist/esm/pds-table-head-cell.entry.js +4 -4
- package/dist/esm/pds-table-head.entry.js +2 -2
- package/dist/esm/pds-table-row.entry.js +2 -2
- package/dist/esm/pds-table.entry.js +2 -2
- package/dist/esm/pds-tabpanel.entry.js +2 -2
- package/dist/esm/pds-tabs.entry.js +2 -2
- package/dist/esm/pds-text.entry.js +2 -2
- package/dist/esm/pds-text.entry.js.map +1 -1
- package/dist/esm/pds-textarea.entry.js +69 -7
- package/dist/esm/pds-textarea.entry.js.map +1 -1
- package/dist/esm/pds-toast.entry.js +4 -4
- package/dist/esm/pds-tooltip.entry.js +2 -2
- package/dist/esm/pine-core.js +3 -3
- package/dist/esm-es5/floating-ui.dom-D_FwyeSw.js +2 -0
- package/dist/esm-es5/floating-ui.dom-D_FwyeSw.js.map +1 -0
- package/dist/esm-es5/index-BVCWKPy3.js +3 -0
- package/dist/esm-es5/index-BVCWKPy3.js.map +1 -0
- package/dist/esm-es5/{index-DpOSrebJ.js → index-CzVv99mW.js} +1 -1
- package/dist/esm-es5/{index-DpOSrebJ.js.map → index-CzVv99mW.js.map} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
- package/dist/esm-es5/mock-pds-modal.entry.js.map +1 -1
- package/dist/esm-es5/pds-accordion.entry.js +1 -1
- package/dist/esm-es5/pds-alert.entry.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js.map +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js.map +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 +3 -0
- package/dist/esm-es5/pds-combobox.entry.js.map +1 -0
- 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-separator.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
- package/dist/esm-es5/pds-dropdown-menu.entry.js.map +1 -1
- package/dist/esm-es5/pds-icon.entry.js +1 -1
- package/dist/esm-es5/pds-icon.entry.js.map +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-modal.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 +2 -0
- package/dist/esm-es5/pds-property.entry.js.map +1 -0
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-radio.entry.js.map +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.entry.js +2 -2
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-tab.entry.js +1 -1
- package/dist/esm-es5/pds-table-body.entry.js +1 -1
- package/dist/esm-es5/pds-table-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head.entry.js +1 -1
- package/dist/esm-es5/pds-table-row.entry.js +1 -1
- package/dist/esm-es5/pds-table.entry.js +1 -1
- package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js +1 -1
- package/dist/esm-es5/pds-text.entry.js +1 -1
- package/dist/esm-es5/pds-text.entry.js.map +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-tooltip.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/pine-core/index.esm.js +1 -1
- package/dist/pine-core/mock-pds-modal.entry.esm.js.map +1 -1
- package/dist/pine-core/{p-99b5e1a5.entry.js → p-0066d249.entry.js} +2 -2
- package/dist/pine-core/{p-6a7936e7.system.entry.js → p-0199e3e9.system.entry.js} +2 -2
- package/dist/pine-core/{p-ab7e4700.system.entry.js → p-03d17841.system.entry.js} +2 -2
- package/dist/pine-core/p-03d17841.system.entry.js.map +1 -0
- package/dist/pine-core/{p-ef9ed75a.system.entry.js → p-051ff780.system.entry.js} +2 -2
- package/dist/pine-core/{p-04195bdb.entry.js → p-064e3d73.entry.js} +2 -2
- package/dist/pine-core/p-075eecf9.entry.js +2 -0
- package/dist/pine-core/p-075eecf9.entry.js.map +1 -0
- package/dist/pine-core/p-088828ce.entry.js +2 -0
- package/dist/pine-core/p-088828ce.entry.js.map +1 -0
- package/dist/pine-core/p-0a4fc9c7.entry.js +3 -0
- package/dist/pine-core/p-0a4fc9c7.entry.js.map +1 -0
- package/dist/pine-core/{p-d0adaca0.system.entry.js → p-0d8a2a39.system.entry.js} +2 -2
- package/dist/pine-core/{p-b2820acd.entry.js → p-0dbb2ae9.entry.js} +2 -2
- package/dist/pine-core/{p-1d395d27.entry.js → p-11d4036e.entry.js} +2 -2
- package/dist/pine-core/{p-0a11384e.entry.js → p-126197e5.entry.js} +2 -2
- package/dist/pine-core/{p-60fbeb1c.entry.js → p-13ac0852.entry.js} +2 -2
- package/dist/pine-core/{p-065208a1.system.entry.js → p-14b424ab.system.entry.js} +2 -2
- package/dist/pine-core/p-14b424ab.system.entry.js.map +1 -0
- package/dist/pine-core/{p-76e35041.entry.js → p-17c2f3fb.entry.js} +2 -2
- package/dist/pine-core/{p-833b2170.system.entry.js → p-1858ad6d.system.entry.js} +2 -2
- package/dist/pine-core/{p-8180b641.entry.js → p-1a5e79af.entry.js} +2 -2
- package/dist/pine-core/p-209b1d69.entry.js +2 -0
- package/dist/pine-core/p-209b1d69.entry.js.map +1 -0
- package/dist/pine-core/{p-aeaae417.system.entry.js → p-276a6a8b.system.entry.js} +2 -2
- package/dist/pine-core/p-2aad0209.system.entry.js +2 -0
- package/dist/pine-core/p-2aad0209.system.entry.js.map +1 -0
- package/dist/pine-core/{p-07f45626.entry.js → p-2b48499b.entry.js} +2 -2
- package/dist/pine-core/p-2fb60757.system.entry.js +2 -0
- package/dist/pine-core/{p-BcuE4ZrB.system.js.map → p-2kXtbFXu.system.js.map} +1 -1
- package/dist/pine-core/p-33016dd0.entry.js +2 -0
- package/dist/pine-core/p-33016dd0.entry.js.map +1 -0
- package/dist/pine-core/{p-942fa145.system.entry.js → p-39488f2c.system.entry.js} +2 -2
- package/dist/pine-core/{p-78f29270.entry.js → p-3e6229cc.entry.js} +3 -3
- package/dist/pine-core/{p-7bb3a5d4.system.entry.js → p-3f83d4c4.system.entry.js} +2 -2
- package/dist/pine-core/{p-79cb7835.system.entry.js → p-4066a9c0.system.entry.js} +2 -2
- package/dist/pine-core/{p-79cb7835.system.entry.js.map → p-4066a9c0.system.entry.js.map} +1 -1
- package/dist/pine-core/{p-27c0ffda.system.entry.js → p-41bf807f.system.entry.js} +2 -2
- package/dist/pine-core/{p-c1909a5d.system.entry.js → p-487552a9.system.entry.js} +2 -2
- package/dist/pine-core/{p-10e2feff.entry.js → p-4e5b9d19.entry.js} +2 -2
- package/dist/pine-core/{p-111e7da2.system.entry.js → p-51d83489.system.entry.js} +2 -2
- package/dist/pine-core/{p-86329612.entry.js → p-51e463bf.entry.js} +2 -2
- package/dist/pine-core/{p-86329612.entry.js.map → p-51e463bf.entry.js.map} +1 -1
- package/dist/pine-core/{p-f4fff209.system.entry.js → p-52af1890.system.entry.js} +2 -2
- package/dist/pine-core/p-55bf6be2.system.entry.js +2 -0
- package/dist/pine-core/p-568296f0.system.entry.js +2 -0
- package/dist/pine-core/p-568296f0.system.entry.js.map +1 -0
- package/dist/pine-core/{p-47a7a65b.entry.js → p-5a709348.entry.js} +2 -2
- package/dist/pine-core/{p-13481ef5.system.entry.js → p-5c87077e.system.entry.js} +2 -2
- package/dist/pine-core/p-5c87077e.system.entry.js.map +1 -0
- package/dist/pine-core/{p-3ea415b0.entry.js → p-63ef55dd.entry.js} +2 -2
- package/dist/pine-core/{p-3ea415b0.entry.js.map → p-63ef55dd.entry.js.map} +1 -1
- package/dist/pine-core/{p-0a87e2fc.system.entry.js → p-6438a29d.system.entry.js} +2 -2
- package/dist/pine-core/p-66b10d29.entry.js +2 -0
- package/dist/pine-core/p-69e95bc4.system.entry.js +2 -0
- package/dist/pine-core/p-69e95bc4.system.entry.js.map +1 -0
- package/dist/pine-core/{p-96e9774e.system.entry.js → p-6cc09a2f.system.entry.js} +2 -2
- package/dist/pine-core/p-6cc09a2f.system.entry.js.map +1 -0
- package/dist/pine-core/{p-d6d453d8.system.entry.js → p-6d601fc2.system.entry.js} +2 -2
- package/dist/pine-core/{p-ddcc4932.entry.js → p-6fd385ec.entry.js} +2 -2
- package/dist/pine-core/{p-5a437fcd.system.entry.js → p-7a95a90f.system.entry.js} +2 -2
- package/dist/pine-core/{p-d28768d1.entry.js → p-7c867f1b.entry.js} +2 -2
- package/dist/pine-core/p-7de61adb.entry.js +2 -0
- package/dist/pine-core/p-7de61adb.entry.js.map +1 -0
- package/dist/pine-core/{p-c5e1ed09.system.entry.js → p-7eb4ac7c.system.entry.js} +2 -2
- package/dist/pine-core/{p-c551191a.system.entry.js → p-81a28f54.system.entry.js} +2 -2
- package/dist/pine-core/{p-73412ca9.system.entry.js → p-81cf9a46.system.entry.js} +2 -2
- package/dist/pine-core/p-81cf9a46.system.entry.js.map +1 -0
- package/dist/pine-core/p-89d9f273.system.entry.js +4 -0
- package/dist/pine-core/p-89d9f273.system.entry.js.map +1 -0
- package/dist/pine-core/p-8a02c581.entry.js +2 -0
- package/dist/pine-core/p-8a02c581.entry.js.map +1 -0
- package/dist/pine-core/{p-fdf3a5ff.entry.js → p-8cb99f2f.entry.js} +2 -2
- package/dist/pine-core/{p-d35b3494.entry.js → p-91c6bd68.entry.js} +2 -2
- package/dist/pine-core/{p-fb2fb435.entry.js → p-94982c57.entry.js} +2 -2
- package/dist/pine-core/{p-8f06b020.entry.js → p-978e722a.entry.js} +2 -2
- package/dist/pine-core/{p-959c8247.system.entry.js → p-9860d0a8.system.entry.js} +2 -2
- package/dist/pine-core/{p-78327c08.system.entry.js → p-9afcab0c.system.entry.js} +2 -2
- package/dist/pine-core/{p-PkSWq78_.system.js.map → p-ACQU83St.system.js.map} +1 -1
- package/dist/pine-core/{p-PPIMiuZX.system.js.map → p-B4ww2WM0.system.js.map} +1 -1
- package/dist/pine-core/{p-C0oRS1F9.system.js.map → p-B6IFMveo.system.js.map} +1 -1
- package/dist/pine-core/{p-B2gfQpwn.system.js.map → p-B7S-9dbT.system.js.map} +1 -1
- package/dist/pine-core/{p-BPQAcMLl.system.js.map → p-BCZ4LK15.system.js.map} +1 -1
- package/dist/pine-core/{p-EqAbQY8l.system.js.map → p-BDQFLOLJ.system.js.map} +1 -1
- package/dist/pine-core/{p-CNkajx9x.system.js.map → p-BEky6idI.system.js.map} +1 -1
- package/dist/pine-core/p-BGbUqsWH.system.js +2 -0
- package/dist/pine-core/p-BGbUqsWH.system.js.map +1 -0
- package/dist/pine-core/p-BVCWKPy3.js +3 -0
- package/dist/pine-core/p-BVCWKPy3.js.map +1 -0
- package/dist/pine-core/p-BY7O1nGC.system.js.map +1 -0
- package/dist/pine-core/p-B_C-mRjx.system.js +3 -0
- package/dist/pine-core/p-B_C-mRjx.system.js.map +1 -0
- package/dist/pine-core/{p-BISuGf0f.system.js.map → p-B_c-HOvq.system.js.map} +1 -1
- package/dist/pine-core/{p-BHp2IZGP.system.js.map → p-Bw9e5h_G.system.js.map} +1 -1
- package/dist/pine-core/{p-DgTp_KeO.system.js.map → p-C36pvE-A.system.js.map} +1 -1
- package/dist/pine-core/p-C3lnYhcV.system.js.map +1 -0
- package/dist/pine-core/{p-BEYGfY83.system.js.map → p-C5Wo1bN2.system.js.map} +1 -1
- package/dist/pine-core/{p-CcsZC7UR.system.js.map → p-C5Y492i0.system.js.map} +1 -1
- package/dist/pine-core/p-CG_aggl0.system.js.map +1 -0
- package/dist/pine-core/{p-DGyATOIf.system.js.map → p-CMLxdmO2.system.js.map} +1 -1
- package/dist/pine-core/{p-UhZHDNH2.system.js.map → p-CNOeJ6ra.system.js.map} +1 -1
- package/dist/pine-core/p-CXLBzkzl.system.js.map +1 -0
- package/dist/pine-core/p-CaD_7MzD.system.js.map +1 -0
- package/dist/pine-core/{p-CNYB6FL-.system.js.map → p-CbDQeXQ4.system.js.map} +1 -1
- package/dist/pine-core/{p-BxBtA60x.system.js.map → p-CbQ4EQA9.system.js.map} +1 -1
- package/dist/pine-core/p-Ce_XeYF6.system.js.map +1 -0
- package/dist/pine-core/{p-B5JFBYFw.system.js.map → p-ChslVme6.system.js.map} +1 -1
- package/dist/pine-core/p-CnDggyDA.system.js.map +1 -0
- package/dist/pine-core/{p-C2d75seA.system.js.map → p-CoHBlcHu.system.js.map} +1 -1
- package/dist/pine-core/p-CqzGa2j0.system.js.map +1 -0
- package/dist/pine-core/{p-DpOSrebJ.js → p-CzVv99mW.js} +1 -1
- package/dist/pine-core/{p-DpOSrebJ.js.map → p-CzVv99mW.js.map} +1 -1
- package/dist/pine-core/{p-CTWkFhWu.system.js.map → p-DCdSlcTO.system.js.map} +1 -1
- package/dist/pine-core/p-DJu23j_m.system.js.map +1 -0
- package/dist/pine-core/{p-CIc_XeAg.system.js.map → p-DKuFjXiD.system.js.map} +1 -1
- package/dist/pine-core/{p-CTPMEWZT.system.js.map → p-DMNp4slx.system.js.map} +1 -1
- package/dist/pine-core/{p--YvWqEjm.system.js.map → p-DQnK6lQ2.system.js.map} +1 -1
- package/dist/pine-core/{p-ClVQjta4.system.js.map → p-DRqkTTfb.system.js.map} +1 -1
- package/dist/pine-core/{p-3D0orTx_.system.js.map → p-DXuK7cEc.system.js.map} +1 -1
- package/dist/pine-core/{p-B-hSZadO.system.js.map → p-DYb5Y47j.system.js.map} +1 -1
- package/dist/pine-core/p-D_FwyeSw.js +2 -0
- package/dist/pine-core/p-D_FwyeSw.js.map +1 -0
- package/dist/pine-core/{p-CGABEyvz.system.js.map → p-DdEbUZw3.system.js.map} +1 -1
- package/dist/pine-core/p-De9tROL-.system.js +2 -0
- package/dist/pine-core/{p-BsL2GDnH.system.js.map → p-De9tROL-.system.js.map} +1 -1
- package/dist/pine-core/{p-DyDReOdO.system.js → p-DiBM9O5Q.system.js} +1 -1
- package/dist/pine-core/{p-DyDReOdO.system.js.map → p-DiBM9O5Q.system.js.map} +1 -1
- package/dist/pine-core/{p-CkoeYrxa.system.js.map → p-Dm_a1Ag0.system.js.map} +1 -1
- package/dist/pine-core/{p-A4_UN20E.system.js.map → p-DvZWnvRb.system.js.map} +1 -1
- package/dist/pine-core/{p-BwHnCFqU.system.js.map → p-EytFbMH4.system.js.map} +1 -1
- package/dist/pine-core/{p-BaAcO8Mz.system.js.map → p-PgQPKVDh.system.js.map} +1 -1
- package/dist/pine-core/p-REBgf8JA.system.js.map +1 -0
- package/dist/pine-core/{p-Mqxw-gWj.system.js.map → p-XHvXi3U6.system.js.map} +1 -1
- package/dist/pine-core/p-ZCkmy1Gu.system.js +2 -0
- package/dist/pine-core/p-ZCkmy1Gu.system.js.map +1 -0
- package/dist/pine-core/p-a54f1d9e.entry.js +2 -0
- package/dist/pine-core/{p-a52b1413.entry.js.map → p-a54f1d9e.entry.js.map} +1 -1
- package/dist/pine-core/p-a7204f01.entry.js +2 -0
- package/dist/pine-core/p-aafb6e06.system.entry.js +2 -0
- package/dist/pine-core/p-aafb6e06.system.entry.js.map +1 -0
- package/dist/pine-core/{p-f46c4618.system.entry.js → p-adf2449e.system.entry.js} +2 -2
- package/dist/pine-core/{p-a556a328.system.entry.js → p-b2b405ca.system.entry.js} +3 -3
- package/dist/pine-core/p-b956922a.entry.js +2 -0
- package/dist/pine-core/p-b956922a.entry.js.map +1 -0
- package/dist/pine-core/{p-a98cda38.system.entry.js → p-b9fe17b8.system.entry.js} +2 -2
- package/dist/pine-core/{p-f256dd8a.entry.js → p-bfd08c9c.entry.js} +2 -2
- package/dist/pine-core/p-bfd08c9c.entry.js.map +1 -0
- package/dist/pine-core/p-c1099665.system.entry.js +2 -0
- package/dist/pine-core/{p-de550d9e.system.entry.js → p-c1115d78.system.entry.js} +2 -2
- package/dist/pine-core/{p-51cc93b3.entry.js → p-c16d01cc.entry.js} +2 -2
- package/dist/pine-core/{p-8b6b0db7.entry.js → p-c1a1475e.entry.js} +2 -2
- package/dist/pine-core/p-c1a1475e.entry.js.map +1 -0
- package/dist/pine-core/{p-80f36506.entry.js → p-c1f5148f.entry.js} +2 -2
- package/dist/pine-core/p-c1f5148f.entry.js.map +1 -0
- package/dist/pine-core/{p-9c01e81b.system.entry.js → p-c3f32f26.system.entry.js} +2 -2
- package/dist/pine-core/{p-9c01e81b.system.entry.js.map → p-c3f32f26.system.entry.js.map} +1 -1
- package/dist/pine-core/p-c652847a.entry.js +2 -0
- package/dist/pine-core/{p-44f10d3c.entry.js → p-c82c277f.entry.js} +2 -2
- package/dist/pine-core/p-c82d0a99.entry.js +2 -0
- package/dist/pine-core/p-cHtb875x.system.js.map +1 -0
- package/dist/pine-core/p-ce0d9f05.system.entry.js +2 -0
- package/dist/pine-core/p-cf5506db.system.entry.js +2 -0
- package/dist/pine-core/p-d06351b9.system.entry.js +2 -0
- package/dist/pine-core/p-d06351b9.system.entry.js.map +1 -0
- package/dist/pine-core/{p-4b2aab79.system.entry.js → p-d08ecd18.system.entry.js} +2 -2
- package/dist/pine-core/p-d6d87fbc.system.entry.js +2 -0
- package/dist/pine-core/p-d6d87fbc.system.entry.js.map +1 -0
- package/dist/pine-core/{p-19c01019.entry.js → p-df15e16a.entry.js} +2 -2
- package/dist/pine-core/p-e05135c5.entry.js +2 -0
- package/dist/pine-core/{p-f99c59a8.entry.js → p-e30601a6.entry.js} +2 -2
- package/dist/pine-core/p-e3fb0bc2.system.entry.js +2 -0
- package/dist/pine-core/p-e3fb0bc2.system.entry.js.map +1 -0
- package/dist/pine-core/{p-5c4aceb7.entry.js → p-e8d76117.entry.js} +2 -2
- package/dist/pine-core/{p-2007a0b5.entry.js → p-ed94947b.entry.js} +2 -2
- package/dist/pine-core/{p-bf699bad.entry.js → p-f2da93ea.entry.js} +2 -2
- package/dist/pine-core/p-f2da93ea.entry.js.map +1 -0
- package/dist/pine-core/{p-d553e05c.system.entry.js → p-f647c1af.system.entry.js} +2 -2
- package/dist/pine-core/{p-cc21ddcc.system.entry.js → p-f9bd0bc2.system.entry.js} +2 -2
- package/dist/pine-core/{p-f6b226df.entry.js → p-fcdbb73f.entry.js} +2 -2
- package/dist/pine-core/p-fcdbb73f.entry.js.map +1 -0
- package/dist/pine-core/{p-DVhX1_nD.system.js.map → p-lMetQ5Q0.system.js.map} +1 -1
- package/dist/pine-core/{p-D2UtaGL2.system.js.map → p-pm8ElBzm.system.js.map} +1 -1
- package/dist/pine-core/p-qjvXmIGJ.system.js.map +1 -0
- package/dist/pine-core/pds-box.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-button.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 -0
- package/dist/pine-core/pds-dropdown-menu.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-icon.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-modal.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-property.entry.esm.js.map +1 -0
- package/dist/pine-core/pds-radio.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-text.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/types/components/pds-combobox/pds-combobox.d.ts +153 -0
- package/dist/types/components/pds-input/pds-input.d.ts +28 -0
- package/dist/types/components/pds-property/pds-property.d.ts +14 -0
- package/dist/types/components/pds-select/pds-select.d.ts +24 -0
- package/dist/types/components/pds-text/pds-text.d.ts +3 -0
- package/dist/types/components/pds-textarea/pds-textarea.d.ts +25 -0
- package/dist/types/components.d.ts +213 -0
- package/hydrate/index.js +2409 -239
- package/hydrate/index.mjs +2409 -239
- package/package.json +4 -2
- package/dist/cjs/index-CxX7ua5d.js.map +0 -1
- package/dist/esm/index-Uh5ntVcq.js.map +0 -1
- package/dist/esm-es5/index-Uh5ntVcq.js +0 -3
- package/dist/esm-es5/index-Uh5ntVcq.js.map +0 -1
- package/dist/pine-core/p-00599bd8.entry.js +0 -2
- package/dist/pine-core/p-00599bd8.entry.js.map +0 -1
- package/dist/pine-core/p-03d8cb4c.system.entry.js +0 -2
- package/dist/pine-core/p-065208a1.system.entry.js.map +0 -1
- package/dist/pine-core/p-0c30661b.system.entry.js +0 -2
- package/dist/pine-core/p-13481ef5.system.entry.js.map +0 -1
- package/dist/pine-core/p-35917a1a.entry.js +0 -2
- package/dist/pine-core/p-39a31730.system.entry.js +0 -2
- package/dist/pine-core/p-39a31730.system.entry.js.map +0 -1
- package/dist/pine-core/p-3e91dccd.entry.js +0 -2
- package/dist/pine-core/p-3e91dccd.entry.js.map +0 -1
- package/dist/pine-core/p-513c16c7.entry.js +0 -2
- package/dist/pine-core/p-513c16c7.entry.js.map +0 -1
- package/dist/pine-core/p-5367f477.system.entry.js +0 -2
- package/dist/pine-core/p-593df966.system.entry.js +0 -2
- package/dist/pine-core/p-593df966.system.entry.js.map +0 -1
- package/dist/pine-core/p-5acda4ac.system.entry.js +0 -2
- package/dist/pine-core/p-5acda4ac.system.entry.js.map +0 -1
- package/dist/pine-core/p-5e1e7762.entry.js +0 -2
- package/dist/pine-core/p-624db3d6.system.entry.js +0 -2
- package/dist/pine-core/p-624db3d6.system.entry.js.map +0 -1
- package/dist/pine-core/p-65a875f6.entry.js +0 -2
- package/dist/pine-core/p-73412ca9.system.entry.js.map +0 -1
- package/dist/pine-core/p-76f7cf21.entry.js +0 -2
- package/dist/pine-core/p-80f36506.entry.js.map +0 -1
- package/dist/pine-core/p-8b6b0db7.entry.js.map +0 -1
- package/dist/pine-core/p-96e9774e.system.entry.js.map +0 -1
- package/dist/pine-core/p-9db1f179.entry.js +0 -2
- package/dist/pine-core/p-9db1f179.entry.js.map +0 -1
- package/dist/pine-core/p-B5LBNcOw.system.js.map +0 -1
- package/dist/pine-core/p-BE1qV1Jc.system.js.map +0 -1
- package/dist/pine-core/p-BHZ6CSg4.system.js.map +0 -1
- package/dist/pine-core/p-BsL2GDnH.system.js +0 -2
- package/dist/pine-core/p-C3ud771n.system.js.map +0 -1
- package/dist/pine-core/p-CS2nVL5p.system.js.map +0 -1
- package/dist/pine-core/p-C_8VmA8d.system.js +0 -3
- package/dist/pine-core/p-C_8VmA8d.system.js.map +0 -1
- package/dist/pine-core/p-CdzfTGbZ.system.js.map +0 -1
- package/dist/pine-core/p-CuIq_L5Z.system.js +0 -2
- package/dist/pine-core/p-CuIq_L5Z.system.js.map +0 -1
- package/dist/pine-core/p-DMeT5CsE.system.js.map +0 -1
- package/dist/pine-core/p-DeW-6a7f.system.js.map +0 -1
- package/dist/pine-core/p-DjXmy34u.system.js.map +0 -1
- package/dist/pine-core/p-Ke8SGZqs.system.js.map +0 -1
- package/dist/pine-core/p-Uh5ntVcq.js +0 -3
- package/dist/pine-core/p-Uh5ntVcq.js.map +0 -1
- package/dist/pine-core/p-a52b1413.entry.js +0 -2
- package/dist/pine-core/p-ab7e4700.system.entry.js.map +0 -1
- package/dist/pine-core/p-bf699bad.entry.js.map +0 -1
- package/dist/pine-core/p-dcda4ff5.system.entry.js +0 -2
- package/dist/pine-core/p-dfd5a5b6.system.entry.js +0 -2
- package/dist/pine-core/p-dfd5a5b6.system.entry.js.map +0 -1
- package/dist/pine-core/p-e562ad73.system.entry.js +0 -2
- package/dist/pine-core/p-e562ad73.system.entry.js.map +0 -1
- package/dist/pine-core/p-e9f004c5.entry.js +0 -2
- package/dist/pine-core/p-e9f004c5.entry.js.map +0 -1
- package/dist/pine-core/p-f256dd8a.entry.js.map +0 -1
- package/dist/pine-core/p-f6b226df.entry.js.map +0 -1
- package/dist/pine-core/p-fb1eb0c4.entry.js +0 -2
- package/dist/pine-core/p-fb1eb0c4.entry.js.map +0 -1
- package/dist/pine-core/p-fd1ef1e1.entry.js +0 -2
- package/dist/pine-core/p-fed5f55e.system.entry.js +0 -2
- /package/dist/pine-core/{p-99b5e1a5.entry.js.map → p-0066d249.entry.js.map} +0 -0
- /package/dist/pine-core/{p-6a7936e7.system.entry.js.map → p-0199e3e9.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ef9ed75a.system.entry.js.map → p-051ff780.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-04195bdb.entry.js.map → p-064e3d73.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d0adaca0.system.entry.js.map → p-0d8a2a39.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b2820acd.entry.js.map → p-0dbb2ae9.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1d395d27.entry.js.map → p-11d4036e.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0a11384e.entry.js.map → p-126197e5.entry.js.map} +0 -0
- /package/dist/pine-core/{p-60fbeb1c.entry.js.map → p-13ac0852.entry.js.map} +0 -0
- /package/dist/pine-core/{p-76e35041.entry.js.map → p-17c2f3fb.entry.js.map} +0 -0
- /package/dist/pine-core/{p-833b2170.system.entry.js.map → p-1858ad6d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-8180b641.entry.js.map → p-1a5e79af.entry.js.map} +0 -0
- /package/dist/pine-core/{p-aeaae417.system.entry.js.map → p-276a6a8b.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-07f45626.entry.js.map → p-2b48499b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5367f477.system.entry.js.map → p-2fb60757.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-942fa145.system.entry.js.map → p-39488f2c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-78f29270.entry.js.map → p-3e6229cc.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7bb3a5d4.system.entry.js.map → p-3f83d4c4.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-27c0ffda.system.entry.js.map → p-41bf807f.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c1909a5d.system.entry.js.map → p-487552a9.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-10e2feff.entry.js.map → p-4e5b9d19.entry.js.map} +0 -0
- /package/dist/pine-core/{p-111e7da2.system.entry.js.map → p-51d83489.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f4fff209.system.entry.js.map → p-52af1890.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-fed5f55e.system.entry.js.map → p-55bf6be2.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-47a7a65b.entry.js.map → p-5a709348.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0a87e2fc.system.entry.js.map → p-6438a29d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5e1e7762.entry.js.map → p-66b10d29.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d6d453d8.system.entry.js.map → p-6d601fc2.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ddcc4932.entry.js.map → p-6fd385ec.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5a437fcd.system.entry.js.map → p-7a95a90f.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d28768d1.entry.js.map → p-7c867f1b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c5e1ed09.system.entry.js.map → p-7eb4ac7c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c551191a.system.entry.js.map → p-81a28f54.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-fdf3a5ff.entry.js.map → p-8cb99f2f.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d35b3494.entry.js.map → p-91c6bd68.entry.js.map} +0 -0
- /package/dist/pine-core/{p-fb2fb435.entry.js.map → p-94982c57.entry.js.map} +0 -0
- /package/dist/pine-core/{p-8f06b020.entry.js.map → p-978e722a.entry.js.map} +0 -0
- /package/dist/pine-core/{p-959c8247.system.entry.js.map → p-9860d0a8.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-78327c08.system.entry.js.map → p-9afcab0c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-35917a1a.entry.js.map → p-a7204f01.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f46c4618.system.entry.js.map → p-adf2449e.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a556a328.system.entry.js.map → p-b2b405ca.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a98cda38.system.entry.js.map → p-b9fe17b8.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-03d8cb4c.system.entry.js.map → p-c1099665.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-de550d9e.system.entry.js.map → p-c1115d78.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-51cc93b3.entry.js.map → p-c16d01cc.entry.js.map} +0 -0
- /package/dist/pine-core/{p-76f7cf21.entry.js.map → p-c652847a.entry.js.map} +0 -0
- /package/dist/pine-core/{p-44f10d3c.entry.js.map → p-c82c277f.entry.js.map} +0 -0
- /package/dist/pine-core/{p-65a875f6.entry.js.map → p-c82d0a99.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0c30661b.system.entry.js.map → p-ce0d9f05.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-dcda4ff5.system.entry.js.map → p-cf5506db.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-4b2aab79.system.entry.js.map → p-d08ecd18.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-19c01019.entry.js.map → p-df15e16a.entry.js.map} +0 -0
- /package/dist/pine-core/{p-fd1ef1e1.entry.js.map → p-e05135c5.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f99c59a8.entry.js.map → p-e30601a6.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5c4aceb7.entry.js.map → p-e8d76117.entry.js.map} +0 -0
- /package/dist/pine-core/{p-2007a0b5.entry.js.map → p-ed94947b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d553e05c.system.entry.js.map → p-f647c1af.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-cc21ddcc.system.entry.js.map → p-f9bd0bc2.system.entry.js.map} +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$3 } from './pds-box2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './pds-icon2.js';
|
|
4
|
+
|
|
5
|
+
const pdsPropertyCss = ":host{color:var(--pine-color-text-message);font:var(--pine-typography-body-medium)}";
|
|
6
|
+
|
|
7
|
+
const PdsProperty$1 = /*@__PURE__*/ proxyCustomElement(class PdsProperty extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
/**
|
|
13
|
+
* The name of the icon to display before the property text.
|
|
14
|
+
*/
|
|
15
|
+
this.icon = 'star';
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h(Host, { key: 'ff84eef7431dfe6081018528a76987dec7f1dfbc', id: this.componentId }, h("pds-box", { key: 'c9b8218d49ff7ac0a94cb65b9bbbe2069d4651ba', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '06d09314acdda08f48267c4af63eb5393eadfca1', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: 'ca3654f3ee0791f5dcce5d0cff0c78e3aa22150b' }))));
|
|
19
|
+
}
|
|
20
|
+
static get style() { return pdsPropertyCss; }
|
|
21
|
+
}, [1, "pds-property", {
|
|
22
|
+
"componentId": [1, "component-id"],
|
|
23
|
+
"icon": [1]
|
|
24
|
+
}]);
|
|
25
|
+
function defineCustomElement$1() {
|
|
26
|
+
if (typeof customElements === "undefined") {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const components = ["pds-property", "pds-box", "pds-icon"];
|
|
30
|
+
components.forEach(tagName => { switch (tagName) {
|
|
31
|
+
case "pds-property":
|
|
32
|
+
if (!customElements.get(tagName)) {
|
|
33
|
+
customElements.define(tagName, PdsProperty$1);
|
|
34
|
+
}
|
|
35
|
+
break;
|
|
36
|
+
case "pds-box":
|
|
37
|
+
if (!customElements.get(tagName)) {
|
|
38
|
+
defineCustomElement$3();
|
|
39
|
+
}
|
|
40
|
+
break;
|
|
41
|
+
case "pds-icon":
|
|
42
|
+
if (!customElements.get(tagName)) {
|
|
43
|
+
defineCustomElement$2();
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
} });
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const PdsProperty = PdsProperty$1;
|
|
50
|
+
const defineCustomElement = defineCustomElement$1;
|
|
51
|
+
|
|
52
|
+
export { PdsProperty, defineCustomElement };
|
|
53
|
+
//# sourceMappingURL=pds-property.js.map
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=pds-property.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"pds-property.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,qFAAqF;;MCW/FA,aAAW,iBAAAC,kBAAA,CAAA,MAAA,WAAA,SAAA,WAAA,CAAA;AALxB,IAAA,WAAA,GAAA;;;;AAWE;;AAEG;AACK,QAAA,IAAI,CAAA,IAAA,GAAW,MAAM;AAY9B;IAVC,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,EAAE,EAAE,IAAI,CAAC,WAAW,EAAA,EACxB,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,aAAA,EAAqB,QAAQ,EAAC,GAAG,EAAC,IAAI,EAAA,EACpC,CAAU,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,0BAA0B,EAAa,aAAA,EAAA,MAAM,EAAY,CAAA,EACzF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACA,CACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsProperty","__stencil_proxyCustomElement"],"sources":["src/components/pds-property/pds-property.scss?tag=pds-property&encapsulation=shadow","src/components/pds-property/pds-property.tsx"],"sourcesContent":[":host {\n color: var(--pine-color-text-message);\n font: var(--pine-typography-body-medium);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n * @slot (default) - The property text content.\n */\n\n@Component({\n tag: 'pds-property',\n styleUrls: ['pds-property.scss'],\n shadow: true,\n})\nexport class PdsProperty {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * The name of the icon to display before the property text.\n */\n @Prop() icon: string = 'star';\n\n render() {\n return (\n <Host id={this.componentId}>\n <pds-box align-items=\"center\" gap=\"xs\">\n <pds-icon icon={this.icon} size=\"var(--pine-dimension-sm)\" aria-hidden=\"true\"></pds-icon>\n <slot />\n </pds-box>\n </Host>\n );\n }\n}\n"],"version":3}
|
package/components/pds-radio.js
CHANGED
|
@@ -5,7 +5,7 @@ import { d as defineCustomElement$2 } from './pds-icon2.js';
|
|
|
5
5
|
|
|
6
6
|
const labelCss = ".sc-pds-radio-h{display:inline-block}[aria-disabled=true].sc-pds-radio-h label.sc-pds-radio{color:var(--pine-color-text-label-disabled)}[aria-readonly=true].sc-pds-radio-h label.sc-pds-radio{color:var(--pine-color-text-label-readonly)}label.sc-pds-radio{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}";
|
|
7
7
|
|
|
8
|
-
const pdsRadioCss = ".sc-pds-radio-h{--sizing-check-size:6px;--sizing-input-size:var(--pine-dimension-sm);--sizing-margin-block-start:6px;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.is-invalid.sc-pds-radio-h input.sc-pds-radio{border-color:var(--pine-color-border-danger)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked{background:var(--pine-color-border-danger)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked:hover{background:var(--pine-color-border-danger-hover);border-color:var(--pine-color-border-danger-hover)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.is-invalid.sc-pds-radio-h label.sc-pds-radio,.is-invalid.sc-pds-radio-h .pds-radio__message--error.sc-pds-radio{color:var(--pine-color-text-message-danger)}input.sc-pds-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-border-radius-full);-ms-flex:none;flex:none;height:var(--sizing-input-size);margin:0;-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025);position:relative;width:var(--sizing-input-size)}input.sc-pds-radio:hover{background:var(--pine-color-background-container-hover);border:var(--pine-border-hover)}input.sc-pds-radio:checked{background:var(--pine-color-accent);border-color:var(--pine-color-accent)}input.sc-pds-radio:checked:hover{background:var(--pine-color-accent-hover);border-color:var(--pine-color-accent-hover)}input.sc-pds-radio:checked::after{background:var(--pine-color-background-container);border-radius:var(--pine-border-radius-full);content:\"\";display:block;height:var(--sizing-check-size);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--sizing-check-size)}input.sc-pds-radio:disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);cursor:not-allowed}input.sc-pds-radio:disabled:checked{background-color:var(--pine-color-accent-disabled);border-color:var(--pine-color-border-disabled)}input.sc-pds-radio:disabled:checked::after{border-color:var(--pine-color-border-disabled)}input.sc-pds-radio:disabled+label.sc-pds-radio{cursor:not-allowed}input.sc-pds-radio:disabled~.pds-radio__message.sc-pds-radio{color:var(--pine-color-text-message-disabled)}input.sc-pds-radio:focus-visible{outline:var(--pine-outline-focus)}label.sc-pds-radio{display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs)}.visually-hidden.sc-pds-radio{border:0;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:0;position:absolute;white-space:nowrap;width:1px}.pds-radio__message.sc-pds-radio{color:var(--pine-color-text-message);-webkit-margin-before:var(--sizing-margin-block-start);margin-block-start:var(--sizing-margin-block-start);-webkit-margin-start:var(--pine-dimension-md);margin-inline-start:var(--pine-dimension-md);width:100%}.pds-radio__message--error.sc-pds-radio{display:-ms-flexbox;display:flex;font-size:var(--pine-font-size-body-sm);gap:var(--pine-dimension-2xs)}.pds-radio__message--error.sc-pds-radio pds-icon.sc-pds-radio{-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}";
|
|
8
|
+
const pdsRadioCss = ".sc-pds-radio-h{--sizing-check-size:6px;--sizing-input-size:var(--pine-dimension-sm);--sizing-margin-block-start:6px;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.is-invalid.sc-pds-radio-h input.sc-pds-radio{border-color:var(--pine-color-border-danger)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked{background:var(--pine-color-border-danger)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked:hover{background:var(--pine-color-border-danger-hover);border-color:var(--pine-color-border-danger-hover)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.is-invalid.sc-pds-radio-h label.sc-pds-radio,.is-invalid.sc-pds-radio-h .pds-radio__message--error.sc-pds-radio{color:var(--pine-color-text-message-danger)}input.sc-pds-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-border-radius-full);-ms-flex:none;flex:none;height:var(--sizing-input-size);margin:0;-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025);position:relative;width:var(--sizing-input-size)}input.sc-pds-radio:hover{background:var(--pine-color-background-container-hover);border:var(--pine-border-hover)}input.sc-pds-radio:checked{background:var(--pine-color-accent);border-color:var(--pine-color-accent)}input.sc-pds-radio:checked:hover{background:var(--pine-color-accent-hover);border-color:var(--pine-color-accent-hover)}input.sc-pds-radio:checked::after{background:var(--pine-color-background-container);border-radius:var(--pine-border-radius-full);content:\"\";display:block;height:var(--sizing-check-size);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--sizing-check-size)}input.sc-pds-radio:disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);cursor:not-allowed}input.sc-pds-radio:disabled:checked{background-color:var(--pine-color-accent-disabled);border-color:var(--pine-color-border-disabled)}input.sc-pds-radio:disabled:checked::after{border-color:var(--pine-color-border-disabled)}input.sc-pds-radio:disabled+label.sc-pds-radio{cursor:not-allowed}input.sc-pds-radio:disabled~.pds-radio__message.sc-pds-radio{color:var(--pine-color-text-message-disabled)}input.sc-pds-radio:focus-visible{outline:var(--pine-outline-focus)}label.sc-pds-radio{display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs)}.visually-hidden.sc-pds-radio{border:0;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:0;position:absolute;white-space:nowrap;width:1px}.pds-radio__message.sc-pds-radio{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm-medium);-webkit-margin-before:var(--sizing-margin-block-start);margin-block-start:var(--sizing-margin-block-start);-webkit-margin-start:var(--pine-dimension-md);margin-inline-start:var(--pine-dimension-md);width:100%}.pds-radio__message--error.sc-pds-radio{display:-ms-flexbox;display:flex;font-size:var(--pine-font-size-body-sm);gap:var(--pine-dimension-2xs)}.pds-radio__message--error.sc-pds-radio pds-icon.sc-pds-radio{-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}";
|
|
9
9
|
|
|
10
10
|
const PdsRadio$1 = /*@__PURE__*/ proxyCustomElement(class PdsRadio extends HTMLElement {
|
|
11
11
|
constructor() {
|
|
@@ -52,9 +52,9 @@ const PdsRadio$1 = /*@__PURE__*/ proxyCustomElement(class PdsRadio extends HTMLE
|
|
|
52
52
|
return classNames.join(' ');
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
56
|
-
h("div", { key: '
|
|
57
|
-
h("div", { key: '
|
|
55
|
+
return (h(Host, { key: '5e8a4bd868172cda64aa2ad4697c7c41f0bdf633', class: this.classNames() }, h("label", { key: 'f18a8a06cf3f9be68ab6b110fe67a8af7c1e8595', htmlFor: this.componentId }, h("input", { key: '7a3ef56682ebe1facedf1eb52445f85e5e7de9d1', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange }), h("span", { key: 'bd0c351062e30ac4f68252497affdcde4730ef3d', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
|
|
56
|
+
h("div", { key: '3b180595a4c088df1f121937c11f7518a802b22f', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
57
|
+
h("div", { key: 'e931d2de83247c74bac1568f479ee99abd1f20a0', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '7dab998a2992e3738b5b3cd14ca7031ff6db6dbb', icon: danger, size: "small" }), this.errorMessage)));
|
|
58
58
|
}
|
|
59
59
|
static get style() { return labelCss + pdsRadioCss; }
|
|
60
60
|
}, [2, "pds-radio", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pds-radio.js","mappings":";;;;;AAAA,MAAM,QAAQ,GAAG,qXAAqX;;ACAtY,MAAM,WAAW,GAAG,
|
|
1
|
+
{"file":"pds-radio.js","mappings":";;;;;AAAA,MAAM,QAAQ,GAAG,qXAA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xyCustomElement"],"sources":["src/global/styles/utils/label.scss?tag=pds-radio&encapsulation=scoped","src/components/pds-radio/pds-radio.scss?tag=pds-radio&encapsulation=scoped","src/components/pds-radio/pds-radio.tsx"],"sourcesContent":[":host {\n display: inline-block;\n}\n\n:host([aria-disabled=\"true\"]) label {\n color: var(--pine-color-text-label-disabled);\n}\n\n:host([aria-readonly=\"true\"]) {\n label {\n color: var(--pine-color-text-label-readonly);\n }\n}\n\nlabel {\n color: var(--pine-color-text-label);\n font: var(--pine-typography-body-medium);\n letter-spacing: var(--pine-letter-spacing);\n}\n",":host {\n --sizing-check-size: 6px;\n --sizing-input-size: var(--pine-dimension-sm);\n --sizing-margin-block-start: 6px;\n\n align-items: center;\n display: flex;\n flex-flow: row wrap;\n}\n\n:host(.is-invalid) {\n input {\n border-color: var(--pine-color-border-danger);\n\n &:checked {\n background: var(--pine-color-border-danger);\n\n &:hover {\n background: var(--pine-color-border-danger-hover);\n border-color: var(--pine-color-border-danger-hover);\n }\n }\n\n &:focus-visible {\n outline-color: var(--pine-color-focus-ring-danger);\n }\n }\n\n label,\n .pds-radio__message--error {\n color: var(--pine-color-text-message-danger);\n }\n}\n\ninput {\n appearance: none;\n background: var(--pine-color-background-container);\n border: var(--pine-border);\n border-radius: var(--pine-border-radius-full);\n flex: none;\n height: var(--sizing-input-size);\n margin: 0;\n margin-block-start: var(--pine-dimension-025);\n position: relative;\n width: var(--sizing-input-size);\n\n &:hover {\n background: var(--pine-color-background-container-hover);\n border: var(--pine-border-hover);\n }\n\n &:checked {\n background: var(--pine-color-accent);\n border-color: var(--pine-color-accent);\n\n &:hover {\n background: var(--pine-color-accent-hover);\n border-color: var(--pine-color-accent-hover);\n }\n\n &::after {\n background: var(--pine-color-background-container);\n border-radius: var(--pine-border-radius-full);\n content: \"\";\n display: block;\n height: var(--sizing-check-size);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: var(--sizing-check-size);\n }\n }\n\n &:disabled {\n background: var(--pine-color-background-container-disabled);\n border-color: var(--pine-color-border-disabled);\n cursor: not-allowed;\n\n &:checked {\n background-color: var(--pine-color-accent-disabled);\n border-color: var(--pine-color-border-disabled);\n\n &::after {\n border-color: var(--pine-color-border-disabled);\n }\n }\n\n + label {\n cursor: not-allowed;\n }\n\n ~ .pds-radio__message {\n color: var(--pine-color-text-message-disabled);\n }\n }\n\n &:focus-visible {\n outline: var(--pine-outline-focus);\n }\n\n}\n\nlabel {\n display: flex;\n gap: var(--pine-dimension-xs);\n}\n\n.visually-hidden {\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: polygon(0 0, 0 0, 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n.pds-radio__message {\n color: var(--pine-color-text-message);\n font: var(--pine-typography-body-sm-medium);\n margin-block-start: var(--sizing-margin-block-start);\n margin-inline-start: var(--pine-dimension-md);\n width: 100%;\n}\n\n.pds-radio__message--error {\n display: flex;\n font-size: var(--pine-font-size-body-sm);\n gap: var(--pine-dimension-2xs);\n\n pds-icon {\n margin-block-start: var(--pine-dimension-025);\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\nimport { assignDescription, messageId } from '../../utils/form';\nimport { danger } from '@pine-ds/icons/icons';\n\n@Component({\n tag: 'pds-radio',\n styleUrls: ['../../global/styles/utils/label.scss', 'pds-radio.scss'],\n scoped: true,\n})\nexport class PdsRadio {\n /**\n * Determines whether or not the radio is checked.\n * @defaultValue false\n */\n @Prop() checked = false;\n\n /**\n * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Determines whether or not the radio is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false;\n\n /**\n * Displays error message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Displays helper message text below radio.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines whether or not the radio is invalid.\n * @defaultValue false\n */\n @Prop() invalid = false;\n\n /**\n * String used for label text next to radio.\n */\n @Prop() label: string;\n\n /**\n * Visually hides the label text for instances where only the radio should be displayed. Label remains accessible to assistive technology such as screen readers.\n */\n @Prop() hideLabel: boolean;\n\n /**\n * String used for radio `name` attribute.\n */\n @Prop() name: string;\n\n /**\n * Determines whether or not the radio is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value of the radio that is submitted with a form.\n */\n @Prop() value: string;\n\n /**\n * Emits a boolean indicating whether the checkbox is currently checked or unchecked.\n */\n @Event() pdsRadioChange: EventEmitter<boolean>;\n\n private handleRadioChange = (e: Event) => {\n if (this.disabled) {\n return;\n }\n\n const target = e.target as HTMLInputElement;\n const isChecked = target.checked;\n\n this.pdsRadioChange.emit(isChecked);\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) {\n classNames.push('is-invalid');\n }\n if (this.disabled) {\n classNames.push('is-disabled');\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host class={this.classNames()}>\n <label htmlFor={this.componentId}>\n <input\n aria-describedby={assignDescription(this.componentId, this.invalid, this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n type=\"radio\"\n id={this.componentId}\n name={this.name}\n value={this.value}\n checked={this.checked}\n required={this.required}\n disabled={this.disabled}\n onChange={this.handleRadioChange}\n />\n <span class={this.hideLabel ? 'visually-hidden' : ''}>\n {this.label}\n </span>\n </label>\n {this.helperMessage &&\n <div\n class={'pds-radio__message'}\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </div>\n }\n {this.errorMessage &&\n <div\n class={`pds-radio__message pds-radio__message--error`}\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n <pds-icon icon={danger} size=\"small\" />\n {this.errorMessage}\n </div>\n }\n </Host>\n );\n }\n}\n"],"version":3}
|
package/components/pds-row.js
CHANGED
|
@@ -38,7 +38,7 @@ const PdsRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsRow extends HTMLEleme
|
|
|
38
38
|
})), (this.minHeight && {
|
|
39
39
|
'min-height': this.minHeight,
|
|
40
40
|
}));
|
|
41
|
-
return h(Host, { key: '
|
|
41
|
+
return h(Host, { key: 'b16cc4fa554894bccdb3dadbe07c531145dc2416', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
|
|
42
42
|
}
|
|
43
43
|
static get style() { return pdsRowCss; }
|
|
44
44
|
}, [0, "pds-row", {
|
package/components/pds-select.js
CHANGED
|
@@ -7,7 +7,7 @@ const pdsSelectTokensCss = ":host{--pine-select-color-background-danger:var(--pi
|
|
|
7
7
|
|
|
8
8
|
const labelCss = ":host{display:inline-block}:host([aria-disabled=true]) label{color:var(--pine-color-text-label-disabled)}:host([aria-readonly=true]) label{color:var(--pine-color-text-label-readonly)}label{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}";
|
|
9
9
|
|
|
10
|
-
const pdsSelectCss = ":host{--pds-select-background:var(--pine-color-background-container);--pds-select-border:var(--pine-border);--pds-select-border-radius:var(--pine-dimension-125);--pds-select-border-radius-start-end:var(--pine-dimension-125);--pds-select-border-radius-start-start:var(--pine-dimension-125);--pds-select-border-radius-end-end:var(--pine-dimension-125);--pds-select-border-radius-end-start:var(--pine-dimension-125);--pds-select-min-height:36px;--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger)}:host .hidden,:host :host([hidden]){display:none}.pds-select{display:grid;-ms-flex-direction:column;flex-direction:column;grid-template-areas:\"label label\" \"field field\" \"message message\";grid-template-columns:1fr minmax(2rem, -webkit-min-content);grid-template-columns:1fr minmax(2rem, min-content);grid-template-rows:-webkit-min-content -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content min-content;position:relative;width:100%}
|
|
10
|
+
const pdsSelectCss = ":host{--pds-select-background:var(--pine-color-background-container);--pds-select-border:var(--pine-border);--pds-select-border-radius:var(--pine-dimension-125);--pds-select-border-radius-start-end:var(--pine-dimension-125);--pds-select-border-radius-start-start:var(--pine-dimension-125);--pds-select-border-radius-end-end:var(--pine-dimension-125);--pds-select-border-radius-end-start:var(--pine-dimension-125);--pds-select-min-height:36px;--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger)}:host .hidden,:host :host([hidden]){display:none}.pds-select{display:grid;-ms-flex-direction:column;flex-direction:column;grid-template-areas:\"label label\" \"field field\" \"message message\";grid-template-columns:1fr minmax(2rem, -webkit-min-content);grid-template-columns:1fr minmax(2rem, min-content);grid-template-rows:-webkit-min-content -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content min-content;position:relative;width:100%}.pds-select__label-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-area:label;-ms-flex-pack:justify;justify-content:space-between;-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-select__action{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);-webkit-margin-start:var(--pine-dimension-xs);margin-inline-start:var(--pine-dimension-xs)}label{-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-select__label-wrapper label{-webkit-margin-after:0;margin-block-end:0}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--pds-select-background);border:var(--pds-select-border);border-radius:var(--pds-select-border-radius);border-bottom-left-radius:var(--pds-select-border-radius-end-start, var(--pds-select-border-radius));border-bottom-right-radius:var(--pds-select-border-radius-end-end, var(--pds-select-border-radius));border-top-left-radius:var(--pds-select-border-radius-start-start, var(--pds-select-border-radius));border-top-right-radius:var(--pds-select-border-radius-start-end, var(--pds-select-border-radius));font:var(--pine-typography-body);grid-area:field;letter-spacing:var(--pine-letter-spacing);min-height:var(--pds-select-min-height);padding:calc(var(--pine-dimension-xs) - var(--pine-border-width)) var(--pine-dimension-150);-webkit-padding-end:var(--pine-dimension-450);padding-inline-end:var(--pine-dimension-450);position:relative}select:hover{border-color:var(--pine-color-border-hover);cursor:pointer}select:focus-visible{border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}select:disabled{background-color:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}select:has(~.pds-select__message .pds-select__error-message){background-color:var(--pine-select-color-background-danger);border-color:var(--pine-color-border-danger)}select:has(~.pds-select__message .pds-select__error-message):focus-visible{outline-color:var(--pine-color-focus-ring-danger)}:host(.is-invalid) select{background-color:var(--pine-select-color-background-danger);border-color:var(--pine-color-border-danger)}:host(.is-invalid) select:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-select__error-message,.pds-select__helper-message{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm-medium);-webkit-margin-after:0;margin-block-end:0;-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-select__error-message{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}.pds-select__message{grid-area:message}.pds-select__select-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-column:-1/-2;grid-row:2/3;height:var(--pds-select-min-height);pointer-events:none;position:relative;z-index:1}.visually-hidden{border:0;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:0;position:absolute;white-space:nowrap;width:1px}";
|
|
11
11
|
|
|
12
12
|
const PdsSelect$1 = /*@__PURE__*/ proxyCustomElement(class PdsSelect extends HTMLElement {
|
|
13
13
|
constructor() {
|
|
@@ -75,10 +75,21 @@ const PdsSelect$1 = /*@__PURE__*/ proxyCustomElement(class PdsSelect extends HTM
|
|
|
75
75
|
*/
|
|
76
76
|
valueChanged() {
|
|
77
77
|
this.updateSelectedOption();
|
|
78
|
+
this.updateFormValue();
|
|
79
|
+
}
|
|
80
|
+
connectedCallback() {
|
|
81
|
+
// Initialize ElementInternals for form association
|
|
82
|
+
if (this.el.attachInternals) {
|
|
83
|
+
this.internals = this.el.attachInternals();
|
|
84
|
+
}
|
|
78
85
|
}
|
|
79
86
|
componentWillLoad() {
|
|
80
87
|
this.updateSelectedOption();
|
|
81
88
|
}
|
|
89
|
+
componentDidLoad() {
|
|
90
|
+
// Set initial form value
|
|
91
|
+
this.updateFormValue();
|
|
92
|
+
}
|
|
82
93
|
/**
|
|
83
94
|
* Updates the selected option in the select element based on the current value.
|
|
84
95
|
*
|
|
@@ -124,14 +135,86 @@ const PdsSelect$1 = /*@__PURE__*/ proxyCustomElement(class PdsSelect extends HTM
|
|
|
124
135
|
}
|
|
125
136
|
return classNames.join(' ');
|
|
126
137
|
}
|
|
138
|
+
renderAction() {
|
|
139
|
+
const hasAction = this.el.querySelector('[slot="action"]') !== null;
|
|
140
|
+
if (hasAction) {
|
|
141
|
+
return (h("div", { class: "pds-select__action", part: "action" }, h("slot", { name: "action" })));
|
|
142
|
+
}
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Updates the form value using ElementInternals API
|
|
147
|
+
*/
|
|
148
|
+
updateFormValue() {
|
|
149
|
+
if (this.internals && this.internals.setFormValue) {
|
|
150
|
+
const value = this.value;
|
|
151
|
+
// Handle multi-select arrays by converting to FormData or comma-separated string
|
|
152
|
+
if (Array.isArray(value)) {
|
|
153
|
+
if (value.length > 1) {
|
|
154
|
+
// For multiple values, create FormData with multiple entries
|
|
155
|
+
const formData = new FormData();
|
|
156
|
+
value.forEach(val => formData.append(this.name || '', val));
|
|
157
|
+
this.internals.setFormValue(formData);
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
// Single value in array, use the string value
|
|
161
|
+
this.internals.setFormValue(value[0] || null);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
else {
|
|
165
|
+
// Single string value
|
|
166
|
+
this.internals.setFormValue(value || null);
|
|
167
|
+
}
|
|
168
|
+
// Set validity based on native select validation
|
|
169
|
+
if (this.selectEl && this.internals && this.internals.setValidity) {
|
|
170
|
+
this.internals.setValidity(this.selectEl.validity, this.selectEl.validationMessage, this.selectEl);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Form Associated Custom Elements API: Called when the form is reset
|
|
176
|
+
*/
|
|
177
|
+
formResetCallback() {
|
|
178
|
+
this.value = '';
|
|
179
|
+
this.updateFormValue();
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Form Associated Custom Elements API: Called when the form is disabled
|
|
183
|
+
*/
|
|
184
|
+
formDisabledCallback(disabled) {
|
|
185
|
+
this.disabled = disabled;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Form Associated Custom Elements API: Called to restore form state
|
|
189
|
+
*/
|
|
190
|
+
formStateRestoreCallback(state) {
|
|
191
|
+
if (typeof state === 'string') {
|
|
192
|
+
this.value = state;
|
|
193
|
+
}
|
|
194
|
+
else if (state instanceof FormData && this.name) {
|
|
195
|
+
// Extract value(s) from FormData using the select's name
|
|
196
|
+
const values = state.getAll(this.name);
|
|
197
|
+
if (values.length > 1) {
|
|
198
|
+
// Multi-select: convert to string array
|
|
199
|
+
this.value = values.filter(v => typeof v === 'string');
|
|
200
|
+
}
|
|
201
|
+
else if (values.length === 1 && typeof values[0] === 'string') {
|
|
202
|
+
// Single select: use string value
|
|
203
|
+
this.value = values[0];
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
127
207
|
render() {
|
|
128
|
-
|
|
208
|
+
const hasAction = this.el.querySelector('[slot="action"]') !== null;
|
|
209
|
+
return (h(Host, { key: 'fea78ba16795a1eae88028f4ff13caeab17ad74f', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: '532a1537af1cdc9928cdb42f33530d8141941f56', class: "pds-select" }, !this.hideLabel && (h("div", { key: '6284c433266ba8991a7d32e16927147287fcf009', class: "pds-select__label-wrapper" }, h("label", { key: '66979f8fc19801a7a8494dd254e32bca72a23e17', htmlFor: this.componentId }, h("span", { key: '8aa8805e24b9fb085377510513f68a308e2bc78b', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: 'c007dc0a49f1607745664a0527a67ad4721316c5', "aria-label": this.hideLabel ? this.label : undefined, autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: 'a96e7e5ef5ef4a20654956d27c4e58eb0aaad1ea', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '1910bf5bfdea7356f435e74dfe2427669b64d3d8', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'e9fa98965996e1a873360fa999149d5e0ab821ee', class: "pds-select__select-icon", icon: enlarge }))));
|
|
129
210
|
}
|
|
211
|
+
static get formAssociated() { return true; }
|
|
212
|
+
get el() { return this; }
|
|
130
213
|
static get watchers() { return {
|
|
131
214
|
"value": ["valueChanged"]
|
|
132
215
|
}; }
|
|
133
216
|
static get style() { return pdsSelectTokensCss + (labelCss + pdsSelectCss); }
|
|
134
|
-
}, [
|
|
217
|
+
}, [65, "pds-select", {
|
|
135
218
|
"autocomplete": [1],
|
|
136
219
|
"componentId": [1, "component-id"],
|
|
137
220
|
"disabled": [4],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pds-select.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,wEAAwE;;ACAnG,MAAM,QAAQ,GAAG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AO,EAAA,CAAI,CAC1E,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsSelect","__stencil_proxyCustomElement"],"sources":["src/components/pds-select/pds-select.tokens.scss?tag=pds-select&encapsulation=shadow","src/global/styles/utils/label.scss?tag=pds-select&encapsulation=shadow","src/components/pds-select/pds-select.scss?tag=pds-select&encapsulation=shadow","src/components/pds-select/pds-select.tsx"],"sourcesContent":["@use '~@kajabi-ui/styles/dist/pine/components/pds-select/pds-select.tokens'\n",":host {\n display: inline-block;\n}\n\n:host([aria-disabled=\"true\"]) label {\n color: var(--pine-color-text-label-disabled);\n}\n\n:host([aria-readonly=\"true\"]) {\n label {\n color: var(--pine-color-text-label-readonly);\n }\n}\n\nlabel {\n color: var(--pine-color-text-label);\n font: var(--pine-typography-body-medium);\n letter-spacing: var(--pine-letter-spacing);\n}\n",":host {\n --pds-select-background: var(--pine-color-background-container);\n --pds-select-border: var(--pine-border);\n --pds-select-border-radius: var(--pine-dimension-125);\n --pds-select-border-radius-start-end: var(--pine-dimension-125);\n --pds-select-border-radius-start-start: var(--pine-dimension-125);\n --pds-select-border-radius-end-end: var(--pine-dimension-125);\n --pds-select-border-radius-end-start: var(--pine-dimension-125);\n --pds-select-min-height: 36px;\n --box-shadow-focus: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);\n --box-shadow-focus-error: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger);\n\n .hidden,\n :host([hidden]) {\n display: none;\n }\n}\n\n.pds-select {\n display: grid;\n flex-direction: column;\n grid-template-areas:\n 'label label'\n 'field field'\n 'message message';\n grid-template-columns: 1fr minmax(2rem, min-content);\n grid-template-rows: min-content min-content min-content;\n position: relative;\n width: 100%;\n}\n\nlabel {\n grid-area: label;\n margin-block-end: var(--pine-dimension-2xs);\n}\n\nselect {\n appearance: none;\n background-color: var(--pds-select-background);\n border: var(--pds-select-border);\n border-radius: var(--pds-select-border-radius);\n border-bottom-left-radius: var(--pds-select-border-radius-end-start, var(--pds-select-border-radius));\n border-bottom-right-radius: var(--pds-select-border-radius-end-end, var(--pds-select-border-radius));\n border-top-left-radius: var(--pds-select-border-radius-start-start, var(--pds-select-border-radius));\n border-top-right-radius: var(--pds-select-border-radius-start-end, var(--pds-select-border-radius));\n font: var(--pine-typography-body);\n grid-area: field;\n letter-spacing: var(--pine-letter-spacing);\n min-height: var(--pds-select-min-height);\n padding: var(--pine-dimension-xs) var(--pine-dimension-150);\n padding-inline-end: var(--pine-dimension-450);\n position: relative;\n\n &:hover {\n border-color: var(--pine-color-border-hover);\n cursor: pointer;\n }\n\n &:focus-visible {\n border-color: var(--pine-color-border-active);\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n &:disabled {\n background-color: var(--pine-color-background-container-disabled);\n border-color: var(--pine-color-border-disabled);\n color: var(--pine-color-text-disabled);\n cursor: not-allowed;\n }\n\n &:has(~ .pds-select__message .pds-select__error-message) {\n background-color: var(--pine-select-color-background-danger);\n border-color: var(--pine-color-border-danger);\n\n &:focus-visible {\n outline-color: var(--pine-color-focus-ring-danger);\n }\n }\n}\n\n:host(.is-invalid) {\n select {\n background-color: var(--pine-select-color-background-danger);\n border-color: var(--pine-color-border-danger);\n\n &:focus-visible {\n outline-color: var(--pine-color-focus-ring-danger);\n }\n }\n}\n\n.pds-select__error-message,\n.pds-select__helper-message {\n font: var(--pine-typography-body-sm-medium);\n margin-block-end: 0;\n margin-block-start: var(--pine-dimension-2xs);\n}\n\n.pds-select__error-message {\n align-items: center;\n color: var(--pine-color-text-message-danger);\n display: flex;\n gap: var(--pine-dimension-2xs);\n}\n\n.pds-select__message {\n grid-area: message;\n}\n\n.pds-select__select-icon {\n align-items: center;\n display: flex;\n grid-column: -1 / -2;\n grid-row: 2 / 3;\n height: var(--pds-select-min-height);\n pointer-events: none;\n position: relative;\n z-index: 1;\n}\n\n.visually-hidden {\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: polygon(0 0, 0 0, 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n","import { Component, Event, EventEmitter, Host, h, Prop, Watch } from '@stencil/core';\nimport { messageId } from '../../utils/form';\nimport { danger, enlarge } from '@pine-ds/icons/icons';\n\n@Component({\n tag: 'pds-select',\n styleUrls: ['pds-select.tokens.scss', '../../global/styles/utils/label.scss', 'pds-select.scss'],\n shadow: true,\n})\nexport class PdsSelect {\n\n private selectEl!: HTMLSelectElement;\n private slotContainer!: HTMLDivElement;\n\n /**\n * Specifies if and how the browser provides `autocomplete` assistance for the field.\n */\n @Prop() autocomplete: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Indicates whether or not the select field is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false\n\n /**\n * Displays error message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Visually hides the label text for instances where only the checkbox should be displayed. Label remains accessible to assistive technology such as screen readers.\n */\n @Prop() hideLabel: boolean;\n\n /**\n * Displays helper message text below select.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines whether or not the select is invalid.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the select label.\n */\n @Prop() label?: string;\n\n /**\n * Indicates whether multiple options can be selected.\n * @defaultValue false\n */\n @Prop() multiple = false;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name!: string;\n\n /**\n * Indicates whether or not the select field is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value(s) of the selected option(s).\n *\n */\n @Prop({ mutable: true }) value?: string | string[];\n\n /**\n * Emitted when a keyboard input occurs.\n */\n @Event() pdsSelectChange: EventEmitter<InputEvent>;\n\n @Watch('value')\n /**\n * Handles the change in the value of the select component.\n * This method is called whenever the value of the select component changes.\n * It updates the selected option accordingly.\n */\n valueChanged() {\n this.updateSelectedOption();\n }\n\n componentWillLoad() {\n this.updateSelectedOption();\n }\n\n /**\n * Updates the selected option in the select element based on the current value.\n *\n * This method iterates through all the options of the select element and sets the\n * 'selected' attribute on the option that matches the current value. If an option\n * does not match the current value, the 'selected' attribute is removed.\n *\n * @private\n * @returns {void}\n */\n private updateSelectedOption() {\n if (this.selectEl) {\n const options = this.selectEl.options;\n\n // Update the selected attribute for all options.\n Array.from(options).map((option: HTMLOptionElement) => {\n if (Array.isArray(this.value)) {\n option.selected = this.value.includes(option.value);\n } else {\n option.selected = this.value === option.value;\n }\n });\n };\n }\n\n /**\n * Emits an event on input change.\n */\n private onSelectUpdate = (e: Event) => {\n const target = e.target as HTMLSelectElement\n\n const values = Array.from(target.options)\n .filter((option) => ( option.selected))\n .map((option) => ( option.value));\n\n if (values.length === 1 && !this.multiple) {\n this.value = values[0];\n } else {\n this.value = values;\n }\n\n this.pdsSelectChange.emit(e as InputEvent);\n };\n\n /**\n * Handles the change event for the slot element.\n * This method is triggered when the slot content changes.\n * It updates the inner HTML of the select element by cloning and appending\n * the assigned <option> elements from the slot.\n */\n private handleSlotChange = () => {\n const slot = this.slotContainer.querySelector('slot') as HTMLSlotElement;\n\n this.selectEl.innerHTML = '';\n const assignedElements = slot.assignedElements({ flatten: true }) as (HTMLOptionElement | HTMLOptGroupElement)[];\n\n assignedElements.forEach((item) => {\n if ( ['OPTION', 'OPTGROUP'].includes(item.tagName)) {\n const clonedItem = item.cloneNode(true) as HTMLOptionElement | HTMLOptGroupElement;\n if (clonedItem.tagName === 'OPTION' && (clonedItem as HTMLOptionElement).value === this.value) {\n (clonedItem as HTMLOptionElement).selected = true;\n }\n this.selectEl.appendChild(clonedItem);\n }\n });\n\n this.updateSelectedOption();\n };\n\n private getHelperMessage() {\n return this.helperMessage && (\n <p class=\"pds-select__helper-message\" id={messageId(this.componentId, 'helper')}>\n {this.helperMessage}\n </p>\n );\n }\n\n private getErrorMessage() {\n return this.errorMessage && (\n <p class=\"pds-select__error-message\" id={messageId(this.componentId, 'error')} aria-live=\"assertive\">\n <pds-icon icon={danger} size=\"small\"></pds-icon>\n {this.errorMessage}\n </p>\n );\n }\n\n private renderMessages() {\n if (!this.helperMessage && !this.errorMessage) return null;\n\n return (\n <div class=\"pds-select__message\">\n {this.getHelperMessage()}\n {this.getErrorMessage()}\n </div>\n );\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) { classNames.push('is-invalid'); }\n if (this.disabled) { classNames.push('is-disabled'); }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.classNames()}>\n <div class=\"pds-select\">\n {!this.hideLabel && (\n <label htmlFor={this.componentId}>\n <span class={this.hideLabel ? 'visually-hidden' : ''}>\n {this.label}\n </span>\n </label>\n )}\n <select\n aria-label={this.hideLabel ? this.label : undefined}\n autocomplete={this.autocomplete || undefined}\n class=\"pds-select__field\"\n disabled={this.disabled}\n id={this.componentId}\n multiple={this.multiple}\n name={this.name}\n onChange={this.onSelectUpdate}\n part=\"select\"\n required={this.required}\n ref={(el) => (this.selectEl = el as HTMLSelectElement)}\n ></select>\n <div aria-hidden=\"true\" class=\"hidden\" ref={(el) => (this.slotContainer = el)}>\n <slot onSlotchange={this.handleSlotChange}></slot>\n </div>\n {this.renderMessages()}\n {!this.multiple && <pds-icon class=\"pds-select__select-icon\" icon={enlarge} />}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"pds-select.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,wEAAwE;;ACAnG,MAAM,QAAQ,GAAG,oTAAoT;;ACArU,MAAM,YAAY,GAAG,s3IAAs3I;;MCa93IA,WAAS,iBAAAC,kBAAA,CAAA,MAAA,SAAA,SAAA,WAAA,CAAA;AANtB,IAAA,WAAA,GAAA;;;;;AAwBE;;;AAGG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AA2BxB;;;AAGG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,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;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PdsSelect","__stencil_proxyCustomElement"],"sources":["src/components/pds-select/pds-select.tokens.scss?tag=pds-select&encapsulation=shadow","src/global/styles/utils/label.scss?tag=pds-select&encapsulation=shadow","src/components/pds-select/pds-select.scss?tag=pds-select&encapsulation=shadow","src/components/pds-select/pds-select.tsx"],"sourcesContent":["@use '~@kajabi-ui/styles/dist/pine/components/pds-select/pds-select.tokens'\n",":host {\n display: inline-block;\n}\n\n:host([aria-disabled=\"true\"]) label {\n color: var(--pine-color-text-label-disabled);\n}\n\n:host([aria-readonly=\"true\"]) {\n label {\n color: var(--pine-color-text-label-readonly);\n }\n}\n\nlabel {\n color: var(--pine-color-text-label);\n font: var(--pine-typography-body-medium);\n letter-spacing: var(--pine-letter-spacing);\n}\n",":host {\n --pds-select-background: var(--pine-color-background-container);\n --pds-select-border: var(--pine-border);\n --pds-select-border-radius: var(--pine-dimension-125);\n --pds-select-border-radius-start-end: var(--pine-dimension-125);\n --pds-select-border-radius-start-start: var(--pine-dimension-125);\n --pds-select-border-radius-end-end: var(--pine-dimension-125);\n --pds-select-border-radius-end-start: var(--pine-dimension-125);\n --pds-select-min-height: 36px;\n --box-shadow-focus: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);\n --box-shadow-focus-error: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger);\n\n .hidden,\n :host([hidden]) {\n display: none;\n }\n}\n\n.pds-select {\n display: grid;\n flex-direction: column;\n grid-template-areas:\n 'label label'\n 'field field'\n 'message message';\n grid-template-columns: 1fr minmax(2rem, min-content);\n grid-template-rows: min-content min-content min-content;\n position: relative;\n width: 100%;\n}\n\n.pds-select__label-wrapper {\n align-items: center;\n display: flex;\n grid-area: label;\n justify-content: space-between;\n margin-block-end: var(--pine-dimension-2xs);\n}\n\n.pds-select__action {\n align-items: center;\n display: flex;\n gap: var(--pine-dimension-xs);\n margin-inline-start: var(--pine-dimension-xs);\n}\n\nlabel {\n margin-block-end: var(--pine-dimension-2xs);\n}\n\n// When label is inside wrapper, remove its margin\n.pds-select__label-wrapper label {\n margin-block-end: 0;\n}\n\nselect {\n appearance: none;\n background-color: var(--pds-select-background);\n border: var(--pds-select-border);\n border-radius: var(--pds-select-border-radius);\n border-bottom-left-radius: var(--pds-select-border-radius-end-start, var(--pds-select-border-radius));\n border-bottom-right-radius: var(--pds-select-border-radius-end-end, var(--pds-select-border-radius));\n border-top-left-radius: var(--pds-select-border-radius-start-start, var(--pds-select-border-radius));\n border-top-right-radius: var(--pds-select-border-radius-start-end, var(--pds-select-border-radius));\n font: var(--pine-typography-body);\n grid-area: field;\n letter-spacing: var(--pine-letter-spacing);\n min-height: var(--pds-select-min-height);\n padding: calc(var(--pine-dimension-xs) - var(--pine-border-width)) var(--pine-dimension-150);\n padding-inline-end: var(--pine-dimension-450);\n position: relative;\n\n &:hover {\n border-color: var(--pine-color-border-hover);\n cursor: pointer;\n }\n\n &:focus-visible {\n border-color: var(--pine-color-border-active);\n outline: var(--pine-outline-focus);\n outline-offset: var(--pine-border-width);\n }\n\n &:disabled {\n background-color: var(--pine-color-background-container-disabled);\n border-color: var(--pine-color-border-disabled);\n color: var(--pine-color-text-disabled);\n cursor: not-allowed;\n }\n\n &:has(~ .pds-select__message .pds-select__error-message) {\n background-color: var(--pine-select-color-background-danger);\n border-color: var(--pine-color-border-danger);\n\n &:focus-visible {\n outline-color: var(--pine-color-focus-ring-danger);\n }\n }\n}\n\n:host(.is-invalid) {\n select {\n background-color: var(--pine-select-color-background-danger);\n border-color: var(--pine-color-border-danger);\n\n &:focus-visible {\n outline-color: var(--pine-color-focus-ring-danger);\n }\n }\n}\n\n.pds-select__error-message,\n.pds-select__helper-message {\n color: var(--pine-color-text-message);\n font: var(--pine-typography-body-sm-medium);\n margin-block-end: 0;\n margin-block-start: var(--pine-dimension-2xs);\n}\n\n.pds-select__error-message {\n align-items: center;\n color: var(--pine-color-text-message-danger);\n display: flex;\n gap: var(--pine-dimension-2xs);\n}\n\n.pds-select__message {\n grid-area: message;\n}\n\n.pds-select__select-icon {\n align-items: center;\n display: flex;\n grid-column: -1 / -2;\n grid-row: 2 / 3;\n height: var(--pds-select-min-height);\n pointer-events: none;\n position: relative;\n z-index: 1;\n}\n\n.visually-hidden {\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: polygon(0 0, 0 0, 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n","import { Component, Element, Event, EventEmitter, Host, h, Prop, Watch } from '@stencil/core';\nimport { messageId } from '../../utils/form';\nimport { danger, enlarge } from '@pine-ds/icons/icons';\n\n/**\n * @slot action - Content to be displayed in the label area, typically for help icons or links\n */\n@Component({\n tag: 'pds-select',\n styleUrls: ['pds-select.tokens.scss', '../../global/styles/utils/label.scss', 'pds-select.scss'],\n shadow: true,\n formAssociated: true,\n})\nexport class PdsSelect {\n\n private selectEl!: HTMLSelectElement;\n private slotContainer!: HTMLDivElement;\n private internals?: ElementInternals;\n\n @Element() el: HTMLPdsSelectElement;\n\n /**\n * Specifies if and how the browser provides `autocomplete` assistance for the field.\n */\n @Prop() autocomplete: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Indicates whether or not the select field is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false\n\n /**\n * Displays error message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Visually hides the label text for instances where only the checkbox should be displayed. Label remains accessible to assistive technology such as screen readers.\n */\n @Prop() hideLabel: boolean;\n\n /**\n * Displays helper message text below select.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines whether or not the select is invalid.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the select label.\n */\n @Prop() label?: string;\n\n /**\n * Indicates whether multiple options can be selected.\n * @defaultValue false\n */\n @Prop() multiple = false;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name!: string;\n\n /**\n * Indicates whether or not the select field is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value(s) of the selected option(s).\n *\n */\n @Prop({ mutable: true }) value?: string | string[];\n\n /**\n * Emitted when a keyboard input occurs.\n */\n @Event() pdsSelectChange: EventEmitter<InputEvent>;\n\n @Watch('value')\n /**\n * Handles the change in the value of the select component.\n * This method is called whenever the value of the select component changes.\n * It updates the selected option accordingly.\n */\n valueChanged() {\n this.updateSelectedOption();\n this.updateFormValue();\n }\n\n connectedCallback() {\n // Initialize ElementInternals for form association\n if (this.el.attachInternals) {\n this.internals = this.el.attachInternals();\n }\n }\n\n componentWillLoad() {\n this.updateSelectedOption();\n }\n\n componentDidLoad() {\n // Set initial form value\n this.updateFormValue();\n }\n\n /**\n * Updates the selected option in the select element based on the current value.\n *\n * This method iterates through all the options of the select element and sets the\n * 'selected' attribute on the option that matches the current value. If an option\n * does not match the current value, the 'selected' attribute is removed.\n *\n * @private\n * @returns {void}\n */\n private updateSelectedOption() {\n if (this.selectEl) {\n const options = this.selectEl.options;\n\n // Update the selected attribute for all options.\n Array.from(options).map((option: HTMLOptionElement) => {\n if (Array.isArray(this.value)) {\n option.selected = this.value.includes(option.value);\n } else {\n option.selected = this.value === option.value;\n }\n });\n };\n }\n\n /**\n * Emits an event on input change.\n */\n private onSelectUpdate = (e: Event) => {\n const target = e.target as HTMLSelectElement\n\n const values = Array.from(target.options)\n .filter((option) => ( option.selected))\n .map((option) => ( option.value));\n\n if (values.length === 1 && !this.multiple) {\n this.value = values[0];\n } else {\n this.value = values;\n }\n\n this.pdsSelectChange.emit(e as InputEvent);\n };\n\n /**\n * Handles the change event for the slot element.\n * This method is triggered when the slot content changes.\n * It updates the inner HTML of the select element by cloning and appending\n * the assigned <option> elements from the slot.\n */\n private handleSlotChange = () => {\n const slot = this.slotContainer.querySelector('slot') as HTMLSlotElement;\n\n this.selectEl.innerHTML = '';\n const assignedElements = slot.assignedElements({ flatten: true }) as (HTMLOptionElement | HTMLOptGroupElement)[];\n\n assignedElements.forEach((item) => {\n if ( ['OPTION', 'OPTGROUP'].includes(item.tagName)) {\n const clonedItem = item.cloneNode(true) as HTMLOptionElement | HTMLOptGroupElement;\n if (clonedItem.tagName === 'OPTION' && (clonedItem as HTMLOptionElement).value === this.value) {\n (clonedItem as HTMLOptionElement).selected = true;\n }\n this.selectEl.appendChild(clonedItem);\n }\n });\n\n this.updateSelectedOption();\n };\n\n private getHelperMessage() {\n return this.helperMessage && (\n <p class=\"pds-select__helper-message\" id={messageId(this.componentId, 'helper')}>\n {this.helperMessage}\n </p>\n );\n }\n\n private getErrorMessage() {\n return this.errorMessage && (\n <p class=\"pds-select__error-message\" id={messageId(this.componentId, 'error')} aria-live=\"assertive\">\n <pds-icon icon={danger} size=\"small\"></pds-icon>\n {this.errorMessage}\n </p>\n );\n }\n\n private renderMessages() {\n if (!this.helperMessage && !this.errorMessage) return null;\n\n return (\n <div class=\"pds-select__message\">\n {this.getHelperMessage()}\n {this.getErrorMessage()}\n </div>\n );\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) { classNames.push('is-invalid'); }\n if (this.disabled) { classNames.push('is-disabled'); }\n\n return classNames.join(' ');\n }\n\n private renderAction() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n if (hasAction) {\n return (\n <div class=\"pds-select__action\" part=\"action\">\n <slot name=\"action\"></slot>\n </div>\n );\n }\n return null;\n }\n\n /**\n * Updates the form value using ElementInternals API\n */\n private updateFormValue() {\n if (this.internals && this.internals.setFormValue) {\n const value = this.value;\n\n // Handle multi-select arrays by converting to FormData or comma-separated string\n if (Array.isArray(value)) {\n if (value.length > 1) {\n // For multiple values, create FormData with multiple entries\n const formData = new FormData();\n value.forEach(val => formData.append(this.name || '', val));\n this.internals.setFormValue(formData);\n } else {\n // Single value in array, use the string value\n this.internals.setFormValue(value[0] || null);\n }\n } else {\n // Single string value\n this.internals.setFormValue(value || null);\n }\n\n // Set validity based on native select validation\n if (this.selectEl && this.internals && this.internals.setValidity) {\n this.internals.setValidity(\n this.selectEl.validity,\n this.selectEl.validationMessage,\n this.selectEl\n );\n }\n }\n }\n\n /**\n * Form Associated Custom Elements API: Called when the form is reset\n */\n formResetCallback() {\n this.value = '';\n this.updateFormValue();\n }\n\n /**\n * Form Associated Custom Elements API: Called when the form is disabled\n */\n formDisabledCallback(disabled: boolean) {\n this.disabled = disabled;\n }\n\n /**\n * Form Associated Custom Elements API: Called to restore form state\n */\n formStateRestoreCallback(state: string | FormData | null) {\n if (typeof state === 'string') {\n this.value = state;\n } else if (state instanceof FormData && this.name) {\n // Extract value(s) from FormData using the select's name\n const values = state.getAll(this.name);\n if (values.length > 1) {\n // Multi-select: convert to string array\n this.value = values.filter(v => typeof v === 'string') as string[];\n } else if (values.length === 1 && typeof values[0] === 'string') {\n // Single select: use string value\n this.value = values[0];\n }\n }\n }\n\n render() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.classNames()} has-action={hasAction && !this.hideLabel ? 'true' : null}>\n <div class=\"pds-select\">\n {!this.hideLabel && (\n <div class=\"pds-select__label-wrapper\">\n <label htmlFor={this.componentId}>\n <span class={this.hideLabel ? 'visually-hidden' : ''}>\n {this.label}\n </span>\n </label>\n {hasAction && this.renderAction()}\n </div>\n )}\n <select\n aria-label={this.hideLabel ? this.label : undefined}\n autocomplete={this.autocomplete || undefined}\n class=\"pds-select__field\"\n disabled={this.disabled}\n id={this.componentId}\n multiple={this.multiple}\n name={this.name}\n onChange={this.onSelectUpdate}\n part=\"select\"\n required={this.required}\n ref={(el) => (this.selectEl = el as HTMLSelectElement)}\n ></select>\n <div aria-hidden=\"true\" class=\"hidden\" ref={(el) => (this.slotContainer = el)}>\n <slot onSlotchange={this.handleSlotChange}></slot>\n </div>\n {this.renderMessages()}\n {!this.multiple && <pds-icon class=\"pds-select__select-icon\" icon={enlarge} />}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -28,7 +28,7 @@ const PdsSortableItem$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortableItem
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '221592dd0eec456c0baf58243f529ca463cbf135', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: 'dbaff57b9faa68f8e72473b082108757b2283373', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '6d42dbe93a13bb6be2f76cccae9aa502d9940de5', icon: handle }))), h("slot", { key: 'c4ae6785c184f6916ff4cc9b551e6cc07f4d0440' }), this.enableActions && (h("div", { key: '4e2d581ae71cb669a06c0ec89c2f8e3e7a74cc65', class: "pds-sortable-item__actions" }, h("slot", { key: '3ac9ddee2738b70fa2d4eec7fafa276d71125219', name: "sortable-item-actions" })))));
|
|
32
32
|
}
|
|
33
33
|
get el() { return this; }
|
|
34
34
|
static get style() { return pdsSortableItemCss; }
|
|
@@ -2712,7 +2712,7 @@ const PdsSortable$1 = /*@__PURE__*/ proxyCustomElement(class PdsSortable extends
|
|
|
2712
2712
|
Sortable.create(this.el, sortableOptions);
|
|
2713
2713
|
}
|
|
2714
2714
|
render() {
|
|
2715
|
-
return (h(Host, { key: '
|
|
2715
|
+
return (h(Host, { key: '1477131e596ce7320a0fd99164b330c3131ed148', class: this.classNames(), id: this.componentId }, h("slot", { key: 'e5045a1937528b4cd269866dc5ec0f28361259d9' })));
|
|
2716
2716
|
}
|
|
2717
2717
|
get el() { return this; }
|
|
2718
2718
|
static get style() { return pdsSortableCss; }
|
package/components/pds-switch.js
CHANGED
|
@@ -53,9 +53,9 @@ const PdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class PdsSwitch extends HTM
|
|
|
53
53
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
57
|
-
h("div", { key: '
|
|
58
|
-
h("div", { key: '
|
|
56
|
+
return (h(Host, { key: '128ed012fe386dea88e6da282084589b22453588', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: '3407eeffca9a0f0c047e5d7c761526b488aafb62', htmlFor: this.componentId }, h("input", Object.assign({ key: '3f16f928b2b96aa212923ba09ee80a3559b8103c', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), h("span", { key: '09c43ffbabce6a2fe133875ca15e0910d34064fa', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
|
|
57
|
+
h("div", { key: '90c9df8b2efef83cf238d540076bad04bf9aa2eb', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
58
|
+
h("div", { key: 'e812446a907dc0ad822b0c5974fca5913117f051', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'e1c93c8ac145e54a205f8bfecf465ba8e484313b', icon: danger, size: "small" }), this.errorMessage)));
|
|
59
59
|
}
|
|
60
60
|
get el() { return this; }
|
|
61
61
|
static get style() { return labelCss + pdsSwitchCss; }
|
package/components/pds-tab.js
CHANGED
|
@@ -17,9 +17,9 @@ const PdsTab$1 = /*@__PURE__*/ proxyCustomElement(class PdsTab extends HTMLEleme
|
|
|
17
17
|
this.pdsTabClick.emit([index, parentComponentId]);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
const availabilityTabEdgeInlineStart = (h("span", { key: '
|
|
21
|
-
const availabilityTabEdgeInlineEnd = (h("span", { key: '
|
|
22
|
-
return (h(Host, { key: '
|
|
20
|
+
const availabilityTabEdgeInlineStart = (h("span", { key: '4f66f8149bd22a451ddc9e2849dfb06110d9bad9', class: "pds-tab-edge", role: "presentation" }));
|
|
21
|
+
const availabilityTabEdgeInlineEnd = (h("span", { key: '2a8e8c25af220803c4b75d29f31d6381475a12dd', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
22
|
+
return (h(Host, { key: '62b2ccf5e478fc50b41bd837979311c535c78412', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: 'e1b179b308791299b6d57441ea50f79da7bd8f21', role: "tab", id: this.parentComponentId + "__" + this.name, "aria-controls": this.parentComponentId + "__" + this.name + "-panel", tabindex: this.selected ? "0" : "-1", "aria-selected": this.selected ? "true" : "false", class: this.selected ? "pds-tab is-active" : "pds-tab", onClick: this.onTabClick.bind(this, this.index, this.parentComponentId) }, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, h("div", { key: 'fcf7b2db11eaa6e8f0c97b96f925540678a3c864', class: "pds-tab__content" }, h("slot", { key: '2ee6ea6d01dc62bd177e9b8473602b9d5b2549b3' })))));
|
|
23
23
|
}
|
|
24
24
|
get el() { return this; }
|
|
25
25
|
static get style() { return pdsTabCss; }
|
|
@@ -9,7 +9,7 @@ const PdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableBody exten
|
|
|
9
9
|
this.__attachShadow();
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'fc9edecfd03417cb9f6c4386b5fb4fd3a015138d', role: "rowgroup" }, h("slot", { key: 'c79c6c1009b0afb456551d2e989491567fe73f43' })));
|
|
13
13
|
}
|
|
14
14
|
static get style() { return pdsTableBodyCss; }
|
|
15
15
|
}, [1, "pds-table-body"]);
|
|
@@ -43,11 +43,11 @@ const PdsTableCell = /*@__PURE__*/ proxyCustomElement(class PdsTableCell extends
|
|
|
43
43
|
return classNames.join(' ');
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '289640cb5d2d78067b4a32a26e2eb9200cdbde1a', class: this.classNames(), role: "gridcell", style: this.tableRef &&
|
|
47
47
|
this.tableRef.fixedColumn &&
|
|
48
48
|
this.tableRef.selectable
|
|
49
49
|
? { '--fixed-cell-position': '40px' }
|
|
50
|
-
: {} }, h("slot", { key: '
|
|
50
|
+
: {} }, h("slot", { key: 'e961e93f1d6cbc3bd6b9aa476632741dfc603bfc' })));
|
|
51
51
|
}
|
|
52
52
|
get hostElement() { return this; }
|
|
53
53
|
static get style() { return pdsTableCellCss; }
|
|
@@ -69,11 +69,11 @@ const PdsTableHeadCell = /*@__PURE__*/ proxyCustomElement(class PdsTableHeadCell
|
|
|
69
69
|
return classNames.join(' ');
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'bf2f29d2214ba308be7c8cca6b2afb66fdccc2fa', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
|
|
73
73
|
this.tableRef.fixedColumn &&
|
|
74
74
|
this.tableRef.selectable
|
|
75
75
|
? { '--fixed-cell-position': '40px' }
|
|
76
|
-
: {} }, h("slot", { key: '
|
|
76
|
+
: {} }, h("slot", { key: '14a6849059768b901ec5be69cff37f56ce07c15b' }), this.sortable && (h("pds-icon", { key: '29e0068115ec20dba39e4a798f11d0b0a0c6fef7', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
|
|
77
77
|
}
|
|
78
78
|
get hostElement() { return this; }
|
|
79
79
|
static get style() { return pdsTableHeadCellCss; }
|
|
@@ -42,7 +42,7 @@ const PdsTableHead$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableHead exten
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '3f315b70b0c57570cbb81415a5590760242e6904', role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '09dc3a0630448be1112650ae34d6c09e0bf2539b', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: '518ec4ad92e8b0b11fbff1c064a6811e13b442e0', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected }))), h("slot", { key: '527db0d141790c0d673cb81d4cca2266495b117e' })));
|
|
46
46
|
}
|
|
47
47
|
get hostElement() { return this; }
|
|
48
48
|
static get style() { return pdsTableHeadCss; }
|
|
@@ -53,7 +53,7 @@ const PdsTableRow$1 = /*@__PURE__*/ proxyCustomElement(class PdsTableRow extends
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '3c2be878370bd35f97a3fc4cc1136a6fdb096a24', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: '40541b11040d4c243d82779cf84e212f73541368', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: 'd20e734a91562340f3808297c2bb6f5f257d7a46', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected }))), h("slot", { key: '148434aa3dace85b0d48aa2a0ead93cda6850d2a' })));
|
|
57
57
|
}
|
|
58
58
|
get hostElement() { return this; }
|
|
59
59
|
static get style() { return pdsTableRowCss; }
|
package/components/pds-table.js
CHANGED
|
@@ -91,7 +91,7 @@ const PdsTable$1 = /*@__PURE__*/ proxyCustomElement(class PdsTable extends HTMLE
|
|
|
91
91
|
headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '994a8ae5aae1ddcc7dd0271187dd65718bc1401f', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, h("slot", { key: 'e07c97a88d1bf1b2efb92f2cdf0159fc93ca9f9a' })));
|
|
95
95
|
}
|
|
96
96
|
get el() { return this; }
|
|
97
97
|
static get style() { return pdsTableCss; }
|
|
@@ -13,7 +13,7 @@ const PdsTabpanel$1 = /*@__PURE__*/ proxyCustomElement(class PdsTabpanel extends
|
|
|
13
13
|
this.selected = false; // eslint-disable-line @stencil-community/strict-mutable
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '0465e33b28555596cc4a891a63a99c49153f577d', slot: "tabpanels" }, h("div", { key: '8c2404f0aaee7dd7219552b51332d4194aa535ae', role: "tabpanel", id: this.parentComponentId + "__" + this.name + '-panel', tabindex: "0", "aria-labelledby": this.parentComponentId + "__" + this.name, class: this.selected ? "pds-tabpanel is-active" : "pds-tabpanel" }, h("slot", { key: 'f7f9dc2a755aa726b8e46d8641087a8fdb1a9e5e' }))));
|
|
17
17
|
}
|
|
18
18
|
get el() { return this; }
|
|
19
19
|
static get style() { return pdsTabpanelCss; }
|
package/components/pds-tabs.js
CHANGED
|
@@ -80,7 +80,7 @@ const PdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class PdsTabs extends HTMLEle
|
|
|
80
80
|
this.passPropsToChildren();
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '3b06654b1d2298a9cfa3fc42996ad72e80942ee4', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: '529e1aa48f7fea4754dbe8a3d8f655eb297e1a9a', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: 'cca3b75eec2a519e87878b39d8ca52a6c033dc4d', name: "tabs" })), h("slot", { key: 'caf5abcc85eee1e45e197a7ec792a873cdfb104b', name: "tabpanels" })));
|
|
84
84
|
}
|
|
85
85
|
get el() { return this; }
|
|
86
86
|
static get style() { return pdsTabsCss; }
|
package/components/pds-text2.js
CHANGED
|
@@ -23,7 +23,7 @@ const PdsText = /*@__PURE__*/ proxyCustomElement(class PdsText extends HTMLEleme
|
|
|
23
23
|
${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
|
|
24
24
|
${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
|
|
25
25
|
`;
|
|
26
|
-
return (h(Tag, { key: '
|
|
26
|
+
return (h(Tag, { key: '2b8a2f2aaafd342a7df51029213c82224774fd5f', style: this.color && setColor(this.color), class: typeClasses, part: "content" }, h("slot", { key: '8dd80aaec576c1e1ab152529f94732d6074c5542' })));
|
|
27
27
|
}
|
|
28
28
|
get el() { return this; }
|
|
29
29
|
static get style() { return pdsTextCss; }
|