@pine-ds/core 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/mock-pds-modal.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 +1 -1
- package/components/pds-filter.js +1 -1
- package/components/pds-filters.js +1 -1
- package/components/pds-image.js +1 -1
- package/components/pds-input.js +1 -1
- package/components/pds-link2.js +1 -1
- package/components/pds-loader2.js +1 -1
- package/components/pds-modal-content.js +1 -1
- package/components/pds-modal-footer.js +1 -1
- package/components/pds-modal-header.js +1 -1
- package/components/pds-modal.js +1 -1
- package/components/pds-multiselect.js +1 -1
- package/components/pds-popover.js +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-property.js +1 -1
- package/components/pds-radio-group.js +1 -1
- package/components/pds-radio.js +1 -1
- package/components/pds-row.js +1 -1
- package/components/pds-select.js +1 -1
- package/components/pds-sortable-item.js +1 -1
- package/components/pds-sortable.js +2 -2
- package/components/pds-switch.js +1 -1
- package/components/pds-table-body.js +1 -1
- package/components/pds-table-cell2.js +1 -1
- package/components/pds-table-head-cell2.js +1 -1
- package/components/pds-table-head.js +1 -1
- package/components/pds-table-row.js +1 -1
- package/components/pds-tabpanel.js +1 -1
- package/components/pds-tabs.js +1 -1
- package/components/pds-text2.js +1 -1
- package/components/pds-textarea.js +1 -1
- package/components/pds-toast.js +1 -1
- package/components/pds-tooltip.js +1 -1
- package/dist/cjs/{index-CKNNY-lQ.js → index-BMV0nzMk.js} +1 -1
- package/dist/cjs/{index-BdFrBXCD.js → index-CuQil7H0.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mock-pds-modal.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +2 -2
- package/dist/cjs/pds-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/pds-chip.cjs.entry.js +2 -2
- package/dist/cjs/pds-combobox.cjs.entry.js +1 -1
- package/dist/cjs/pds-container.cjs.entry.js +1 -1
- package/dist/cjs/pds-copytext.cjs.entry.js +2 -2
- package/dist/cjs/pds-divider.cjs.entry.js +10 -3
- 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 +2 -2
- package/dist/cjs/pds-filter.cjs.entry.js +3 -3
- package/dist/cjs/pds-filters.cjs.entry.js +2 -2
- package/dist/cjs/pds-icon.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +3 -3
- package/dist/cjs/pds-input.cjs.entry.js +4 -4
- 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-multiselect.cjs.entry.js +5 -5
- 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 +2 -2
- package/dist/cjs/pds-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/pds-radio.cjs.entry.js +5 -5
- package/dist/cjs/pds-row.cjs.entry.js +2 -2
- package/dist/cjs/pds-select.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
- package/dist/cjs/pds-sortable.cjs.entry.js +2 -2
- package/dist/cjs/pds-switch.cjs.entry.js +5 -5
- package/dist/cjs/pds-tab.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-cell.cjs.entry.js +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 +1 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
- package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/pds-text.cjs.entry.js +2 -2
- package/dist/cjs/pds-textarea.cjs.entry.js +6 -6
- package/dist/cjs/pds-toast.cjs.entry.js +4 -4
- package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/pine-core.cjs.js +2 -2
- package/dist/collection/components/pds-divider/pds-divider.css +41 -0
- package/dist/collection/components/pds-divider/pds-divider.js +30 -1
- package/dist/collection/components/pds-divider/stories/pds-divider.stories.js +7 -0
- 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-filters/pds-filter/pds-filter.js +1 -1
- package/dist/collection/components/pds-filters/pds-filters.js +1 -1
- package/dist/collection/components/pds-image/pds-image.js +2 -2
- package/dist/collection/components/pds-input/pds-input.js +2 -2
- package/dist/collection/components/pds-link/pds-link.js +2 -2
- package/dist/collection/components/pds-loader/pds-loader.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
- package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
- package/dist/collection/components/pds-modal/pds-modal.js +3 -3
- package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
- package/dist/collection/components/pds-multiselect/pds-multiselect.js +3 -3
- package/dist/collection/components/pds-popover/pds-popover.js +1 -1
- package/dist/collection/components/pds-progress/pds-progress.js +1 -1
- package/dist/collection/components/pds-property/pds-property.js +1 -1
- package/dist/collection/components/pds-radio/pds-radio.js +3 -3
- package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
- package/dist/collection/components/pds-row/pds-row.js +1 -1
- package/dist/collection/components/pds-select/pds-select.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
- package/dist/collection/components/pds-switch/pds-switch.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-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
- package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
- package/dist/collection/components/pds-text/pds-text.js +1 -1
- package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
- package/dist/collection/components/pds-toast/pds-toast.js +3 -3
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
- package/dist/docs.json +36 -3
- package/dist/esm/{index-BjlFq0VD.js → index-Bu9gFIxM.js} +1 -1
- package/dist/esm/{index-NNDTPCWx.js → index-CTLu1TM4.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mock-pds-modal.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/pds-button.entry.js +2 -2
- package/dist/esm/pds-checkbox.entry.js +2 -2
- package/dist/esm/pds-chip.entry.js +2 -2
- package/dist/esm/pds-combobox.entry.js +1 -1
- package/dist/esm/pds-container.entry.js +1 -1
- package/dist/esm/pds-copytext.entry.js +2 -2
- package/dist/esm/pds-divider.entry.js +10 -3
- 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 +2 -2
- package/dist/esm/pds-filter.entry.js +3 -3
- package/dist/esm/pds-filters.entry.js +2 -2
- package/dist/esm/pds-icon.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +3 -3
- package/dist/esm/pds-input.entry.js +4 -4
- 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-multiselect.entry.js +5 -5
- 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 +2 -2
- package/dist/esm/pds-radio-group.entry.js +5 -5
- package/dist/esm/pds-radio.entry.js +5 -5
- package/dist/esm/pds-row.entry.js +2 -2
- package/dist/esm/pds-select.entry.js +3 -3
- package/dist/esm/pds-sortable-item.entry.js +3 -3
- package/dist/esm/pds-sortable.entry.js +2 -2
- package/dist/esm/pds-switch.entry.js +5 -5
- package/dist/esm/pds-tab.entry.js +1 -1
- package/dist/esm/pds-table-body.entry.js +2 -2
- package/dist/esm/pds-table-cell.entry.js +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 +1 -1
- package/dist/esm/pds-tabpanel.entry.js +2 -2
- package/dist/esm/pds-tabs.entry.js +2 -2
- package/dist/esm/pds-text.entry.js +2 -2
- package/dist/esm/pds-textarea.entry.js +6 -6
- package/dist/esm/pds-toast.entry.js +4 -4
- package/dist/esm/pds-tooltip.entry.js +3 -3
- package/dist/esm/pine-core.js +3 -3
- package/dist/esm-es5/{index-NNDTPCWx.js → index-CTLu1TM4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
- package/dist/esm-es5/pds-accordion.entry.js +1 -1
- package/dist/esm-es5/pds-alert.entry.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-combobox.entry.js +1 -1
- package/dist/esm-es5/pds-container.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-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-filter.entry.js +1 -1
- package/dist/esm-es5/pds-filters.entry.js +1 -1
- package/dist/esm-es5/pds-icon.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-link.entry.js +1 -1
- package/dist/esm-es5/pds-loader.entry.js +1 -1
- package/dist/esm-es5/pds-modal-content.entry.js +1 -1
- package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
- package/dist/esm-es5/pds-modal-header.entry.js +1 -1
- package/dist/esm-es5/pds-modal.entry.js +1 -1
- package/dist/esm-es5/pds-multiselect.entry.js +1 -1
- package/dist/esm-es5/pds-popover.entry.js +1 -1
- package/dist/esm-es5/pds-progress.entry.js +1 -1
- package/dist/esm-es5/pds-property.entry.js +1 -1
- package/dist/esm-es5/pds-radio-group.entry.js +1 -1
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-row.entry.js +1 -1
- package/dist/esm-es5/pds-select.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +2 -2
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-tab.entry.js +1 -1
- package/dist/esm-es5/pds-table-body.entry.js +1 -1
- package/dist/esm-es5/pds-table-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
- package/dist/esm-es5/pds-table-head.entry.js +1 -1
- package/dist/esm-es5/pds-table-row.entry.js +1 -1
- package/dist/esm-es5/pds-table.entry.js +1 -1
- package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
- package/dist/esm-es5/pds-tabs.entry.js +1 -1
- package/dist/esm-es5/pds-text.entry.js +1 -1
- package/dist/esm-es5/pds-textarea.entry.js +1 -1
- package/dist/esm-es5/pds-toast.entry.js +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/pine-core/{p-b5c760c8.system.entry.js → p-04a30a2d.system.entry.js} +1 -1
- package/dist/pine-core/{p-f145e018.entry.js → p-056667f0.entry.js} +1 -1
- package/dist/pine-core/{p-73b40545.system.entry.js → p-08151143.system.entry.js} +1 -1
- package/dist/pine-core/{p-b8f288e8.entry.js → p-0d73d473.entry.js} +1 -1
- package/dist/pine-core/{p-292cf8f9.entry.js → p-0e89a189.entry.js} +1 -1
- package/dist/pine-core/{p-62f75f84.entry.js → p-0fcda1ec.entry.js} +1 -1
- package/dist/pine-core/{p-3170d53b.system.entry.js → p-12ec8186.system.entry.js} +1 -1
- package/dist/pine-core/{p-950dd70e.system.entry.js → p-1649dd61.system.entry.js} +1 -1
- package/dist/pine-core/{p-dfa70d20.entry.js → p-1ba361cb.entry.js} +1 -1
- package/dist/pine-core/{p-ec2c0e57.entry.js → p-1e952dbb.entry.js} +2 -2
- package/dist/pine-core/p-210f0994.system.entry.js +1 -0
- package/dist/pine-core/{p-5e6e8d4e.system.entry.js → p-222ff58e.system.entry.js} +1 -1
- package/dist/pine-core/{p-8d6fd5a7.system.entry.js → p-226232a7.system.entry.js} +1 -1
- package/dist/pine-core/{p-cf389430.system.entry.js → p-228a9068.system.entry.js} +1 -1
- package/dist/pine-core/{p-16f13b17.entry.js → p-2af19aa7.entry.js} +1 -1
- package/dist/pine-core/{p-fef6694d.entry.js → p-2d4b9253.entry.js} +1 -1
- package/dist/pine-core/p-2e214db6.entry.js +1 -0
- package/dist/pine-core/{p-83e8f145.entry.js → p-2fd71a0c.entry.js} +1 -1
- package/dist/pine-core/{p-7e065b59.entry.js → p-3050c66f.entry.js} +1 -1
- package/dist/pine-core/{p-9374cf48.system.entry.js → p-33de0eb7.system.entry.js} +1 -1
- package/dist/pine-core/{p-b0058cb0.entry.js → p-3aec9079.entry.js} +1 -1
- package/dist/pine-core/{p-b759dc21.entry.js → p-3b9e77b3.entry.js} +1 -1
- package/dist/pine-core/p-3cdc1a5b.entry.js +1 -0
- package/dist/pine-core/{p-1f20608e.system.entry.js → p-460aa66f.system.entry.js} +1 -1
- package/dist/pine-core/{p-b89583e7.system.entry.js → p-463eb0e6.system.entry.js} +1 -1
- package/dist/pine-core/{p-2fc127b4.system.entry.js → p-46f0dda5.system.entry.js} +1 -1
- package/dist/pine-core/{p-a0edb4ad.entry.js → p-4923a3fe.entry.js} +1 -1
- package/dist/pine-core/{p-47708864.entry.js → p-4d6944aa.entry.js} +1 -1
- package/dist/pine-core/{p-f6d1469d.entry.js → p-4dad0878.entry.js} +1 -1
- package/dist/pine-core/p-4faff617.entry.js +1 -0
- package/dist/pine-core/{p-7b97974e.system.entry.js → p-50e0f726.system.entry.js} +1 -1
- package/dist/pine-core/p-520f7a5b.entry.js +1 -0
- package/dist/pine-core/{p-73619cfc.system.entry.js → p-53999cd6.system.entry.js} +1 -1
- package/dist/pine-core/{p-43a1d9d7.entry.js → p-544ccf67.entry.js} +1 -1
- package/dist/pine-core/p-5c239f0a.entry.js +1 -0
- package/dist/pine-core/{p-ff1e9a32.entry.js → p-5d585aa8.entry.js} +1 -1
- package/dist/pine-core/{p-b3b44b80.entry.js → p-6089d811.entry.js} +1 -1
- package/dist/pine-core/p-611f68b7.system.entry.js +1 -0
- package/dist/pine-core/p-63f5f66f.system.entry.js +1 -0
- package/dist/pine-core/{p-c2688710.entry.js → p-65557500.entry.js} +1 -1
- package/dist/pine-core/{p-18ae43e3.entry.js → p-714bfdbd.entry.js} +1 -1
- package/dist/pine-core/{p-43d6ab33.system.entry.js → p-7691a875.system.entry.js} +1 -1
- package/dist/pine-core/{p-419e711c.entry.js → p-7a1971ec.entry.js} +1 -1
- package/dist/pine-core/{p-8c0040c4.entry.js → p-7b1e3e91.entry.js} +1 -1
- package/dist/pine-core/{p-c3748812.system.entry.js → p-7c18e9e8.system.entry.js} +2 -2
- package/dist/pine-core/p-85434de8.system.entry.js +1 -0
- package/dist/pine-core/p-86bc2a0c.entry.js +1 -0
- package/dist/pine-core/{p-43268325.system.entry.js → p-8702635d.system.entry.js} +1 -1
- package/dist/pine-core/p-897fe88c.entry.js +1 -0
- package/dist/pine-core/{p-2d1cc047.entry.js → p-8e6a8a8e.entry.js} +1 -1
- package/dist/pine-core/{p-69372e72.system.entry.js → p-902b3e8b.system.entry.js} +1 -1
- package/dist/pine-core/p-9187c26c.system.entry.js +1 -0
- package/dist/pine-core/{p-5c7a72aa.system.entry.js → p-92c79ed4.system.entry.js} +1 -1
- package/dist/pine-core/{p-2c5fe3d9.system.entry.js → p-92ef1608.system.entry.js} +1 -1
- package/dist/pine-core/{p-b1e5e8b1.system.entry.js → p-9487ff20.system.entry.js} +1 -1
- package/dist/pine-core/p-9507eb49.system.entry.js +1 -0
- package/dist/pine-core/{p-6bc9b904.system.entry.js → p-97198cb6.system.entry.js} +1 -1
- package/dist/pine-core/{p-6630f428.system.entry.js → p-9a7294e7.system.entry.js} +1 -1
- package/dist/pine-core/{p-caf73216.entry.js → p-9b68669f.entry.js} +1 -1
- package/dist/pine-core/{p-3cece186.system.entry.js → p-9fd1e8f4.system.entry.js} +1 -1
- package/dist/pine-core/p-CTLu1TM4.js +2 -0
- package/dist/pine-core/{p-DVZjHa4_.system.js → p-DAIsVNlL.system.js} +1 -1
- package/dist/pine-core/p-Dr-FzkdE.system.js +1 -0
- package/dist/pine-core/{p-b9380ce8.entry.js → p-a3c4c0ee.entry.js} +1 -1
- package/dist/pine-core/p-a53222f7.entry.js +1 -0
- package/dist/pine-core/{p-464ec4eb.system.entry.js → p-a7eabc0c.system.entry.js} +1 -1
- package/dist/pine-core/{p-dcc4ee5e.entry.js → p-a8ab4d9b.entry.js} +1 -1
- package/dist/pine-core/{p-ebe218f8.entry.js → p-a9e54964.entry.js} +1 -1
- package/dist/pine-core/{p-5d1228cb.entry.js → p-aa208514.entry.js} +1 -1
- package/dist/pine-core/{p-7bac161d.entry.js → p-ae296598.entry.js} +1 -1
- package/dist/pine-core/{p-ac2775b5.entry.js → p-aecaff12.entry.js} +1 -1
- package/dist/pine-core/{p-bf759fc0.entry.js → p-af4a24d9.entry.js} +1 -1
- package/dist/pine-core/{p-43ef94bc.entry.js → p-afd07d5b.entry.js} +1 -1
- package/dist/pine-core/p-b0531455.entry.js +1 -0
- package/dist/pine-core/{p-8cb0eed9.entry.js → p-b109de2e.entry.js} +1 -1
- package/dist/pine-core/{p-31679dbc.system.entry.js → p-b17fa86a.system.entry.js} +1 -1
- package/dist/pine-core/{p-d12a93d6.entry.js → p-b255d3b7.entry.js} +1 -1
- package/dist/pine-core/{p-7e146a45.entry.js → p-b52deffb.entry.js} +1 -1
- package/dist/pine-core/p-b6c2090f.system.entry.js +1 -0
- package/dist/pine-core/{p-17d4a99a.system.entry.js → p-ba8bd9dc.system.entry.js} +1 -1
- package/dist/pine-core/{p-606418b7.system.entry.js → p-bba759f8.system.entry.js} +1 -1
- package/dist/pine-core/{p-78cd9f97.system.entry.js → p-bf3afa16.system.entry.js} +1 -1
- package/dist/pine-core/{p-cd407bed.system.entry.js → p-bfa640f4.system.entry.js} +1 -1
- package/dist/pine-core/{p-6254d112.entry.js → p-c0753d9f.entry.js} +1 -1
- package/dist/pine-core/{p-85f7428b.system.entry.js → p-c09dab1a.system.entry.js} +1 -1
- package/dist/pine-core/{p-2ec460e1.system.entry.js → p-c713ffc6.system.entry.js} +1 -1
- package/dist/pine-core/{p-6f82e8dc.system.entry.js → p-ce63f726.system.entry.js} +1 -1
- package/dist/pine-core/{p-1b8ac76c.system.entry.js → p-ce79321b.system.entry.js} +1 -1
- package/dist/pine-core/{p-a03c12a4.system.entry.js → p-cf72e9b1.system.entry.js} +1 -1
- package/dist/pine-core/{p-c35fe2e2.entry.js → p-d157a33a.entry.js} +1 -1
- package/dist/pine-core/{p-86d12f3c.system.entry.js → p-d27ef352.system.entry.js} +1 -1
- package/dist/pine-core/{p-ab0b992b.entry.js → p-d415bb01.entry.js} +2 -2
- package/dist/pine-core/{p-076aaa00.system.entry.js → p-d54af26c.system.entry.js} +1 -1
- package/dist/pine-core/{p-f7cbdb81.system.entry.js → p-d804d37b.system.entry.js} +1 -1
- package/dist/pine-core/p-e11795db.system.entry.js +1 -0
- package/dist/pine-core/{p-a8a1ae32.system.entry.js → p-e1653d75.system.entry.js} +1 -1
- package/dist/pine-core/{p-d9cb26fe.system.entry.js → p-e16dfb32.system.entry.js} +1 -1
- package/dist/pine-core/p-e450eb27.system.entry.js +1 -0
- package/dist/pine-core/{p-24fcf841.system.entry.js → p-eb4058ed.system.entry.js} +1 -1
- package/dist/pine-core/{p-8249e027.entry.js → p-f09ce49e.entry.js} +1 -1
- package/dist/pine-core/{p-39c6e6c9.entry.js → p-f35596cd.entry.js} +1 -1
- package/dist/pine-core/{p-1e87e72a.entry.js → p-f3683be8.entry.js} +1 -1
- package/dist/pine-core/{p-7153efaf.system.entry.js → p-fcf91f14.system.entry.js} +1 -1
- package/dist/pine-core/pine-core.css +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.js +1 -1
- package/dist/types/components/pds-divider/pds-divider.d.ts +8 -0
- package/dist/types/components.d.ts +9 -0
- package/dist/vscode.html-data.json +8 -1
- package/hydrate/index.js +72 -61
- package/hydrate/index.mjs +72 -61
- package/package.json +2 -2
- package/dist/pine-core/p-08b0d298.entry.js +0 -1
- package/dist/pine-core/p-0a09ccbe.entry.js +0 -1
- package/dist/pine-core/p-0a4f2d5f.system.entry.js +0 -1
- package/dist/pine-core/p-20e0d06c.system.entry.js +0 -1
- package/dist/pine-core/p-36fc1ade.system.entry.js +0 -1
- package/dist/pine-core/p-7803c5b6.system.entry.js +0 -1
- package/dist/pine-core/p-7ad6f313.entry.js +0 -1
- package/dist/pine-core/p-7b85115b.system.entry.js +0 -1
- package/dist/pine-core/p-8c85f53a.entry.js +0 -1
- package/dist/pine-core/p-92f648ba.entry.js +0 -1
- package/dist/pine-core/p-B1rytYxP.system.js +0 -1
- package/dist/pine-core/p-NNDTPCWx.js +0 -2
- package/dist/pine-core/p-af1e2778.entry.js +0 -1
- package/dist/pine-core/p-b6812452.system.entry.js +0 -1
- package/dist/pine-core/p-cd2370d0.system.entry.js +0 -1
- package/dist/pine-core/p-d281464e.entry.js +0 -1
- package/dist/pine-core/p-d70201bb.entry.js +0 -1
- package/dist/pine-core/p-dc460e2d.system.entry.js +0 -1
- package/dist/pine-core/p-def5d3d3.entry.js +0 -1
- package/dist/pine-core/p-eed4b552.system.entry.js +0 -1
- /package/dist/esm-es5/{index-BjlFq0VD.js → index-Bu9gFIxM.js} +0 -0
- /package/dist/pine-core/{p-WYNNo1N0.system.js → p-Bjc6fc_Y.system.js} +0 -0
- /package/dist/pine-core/{p-BjlFq0VD.js → p-Bu9gFIxM.js} +0 -0
|
@@ -12,6 +12,26 @@
|
|
|
12
12
|
width: 1px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
.pds-divider--labeled {
|
|
16
|
+
align-items: center;
|
|
17
|
+
background: none;
|
|
18
|
+
color: var(--pine-color-text);
|
|
19
|
+
font: var(--pine-typography-body-sm-medium);
|
|
20
|
+
gap: var(--pine-dimension-sm);
|
|
21
|
+
height: auto;
|
|
22
|
+
width: auto;
|
|
23
|
+
}
|
|
24
|
+
.pds-divider--labeled::before, .pds-divider--labeled::after {
|
|
25
|
+
background: var(--pine-color-border);
|
|
26
|
+
content: "";
|
|
27
|
+
flex: 1;
|
|
28
|
+
height: var(--pine-border-width);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.pds-divider__label {
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
15
35
|
.pds-divider--offset-xxs {
|
|
16
36
|
margin: 0 calc(var(--pine-dimension-2xs) * -1);
|
|
17
37
|
padding: 0 var(--pine-dimension-2xs);
|
|
@@ -20,6 +40,9 @@
|
|
|
20
40
|
margin: calc(var(--pine-dimension-2xs) * -1) 0;
|
|
21
41
|
padding: var(--pine-dimension-2xs) 0;
|
|
22
42
|
}
|
|
43
|
+
.pds-divider--offset-xxs.pds-divider--labeled {
|
|
44
|
+
padding: 0;
|
|
45
|
+
}
|
|
23
46
|
|
|
24
47
|
.pds-divider--offset-xs {
|
|
25
48
|
margin: 0 calc(var(--pine-dimension-xs) * -1);
|
|
@@ -29,6 +52,9 @@
|
|
|
29
52
|
margin: calc(var(--pine-dimension-xs) * -1) 0;
|
|
30
53
|
padding: var(--pine-dimension-xs) 0;
|
|
31
54
|
}
|
|
55
|
+
.pds-divider--offset-xs.pds-divider--labeled {
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
32
58
|
|
|
33
59
|
.pds-divider--offset-sm {
|
|
34
60
|
margin: 0 calc(var(--pine-dimension-sm) * -1);
|
|
@@ -38,6 +64,9 @@
|
|
|
38
64
|
margin: calc(var(--pine-dimension-sm) * -1) 0;
|
|
39
65
|
padding: var(--pine-dimension-sm) 0;
|
|
40
66
|
}
|
|
67
|
+
.pds-divider--offset-sm.pds-divider--labeled {
|
|
68
|
+
padding: 0;
|
|
69
|
+
}
|
|
41
70
|
|
|
42
71
|
.pds-divider--offset-md {
|
|
43
72
|
margin: 0 calc(var(--pine-dimension-md) * -1);
|
|
@@ -47,6 +76,9 @@
|
|
|
47
76
|
margin: calc(var(--pine-dimension-md) * -1) 0;
|
|
48
77
|
padding: var(--pine-dimension-md) 0;
|
|
49
78
|
}
|
|
79
|
+
.pds-divider--offset-md.pds-divider--labeled {
|
|
80
|
+
padding: 0;
|
|
81
|
+
}
|
|
50
82
|
|
|
51
83
|
.pds-divider--offset-lg {
|
|
52
84
|
margin: 0 calc(var(--pine-dimension-lg) * -1);
|
|
@@ -56,6 +88,9 @@
|
|
|
56
88
|
margin: calc(var(--pine-dimension-lg) * -1) 0;
|
|
57
89
|
padding: var(--pine-dimension-lg) 0;
|
|
58
90
|
}
|
|
91
|
+
.pds-divider--offset-lg.pds-divider--labeled {
|
|
92
|
+
padding: 0;
|
|
93
|
+
}
|
|
59
94
|
|
|
60
95
|
.pds-divider--offset-xl {
|
|
61
96
|
margin: 0 calc(var(--pine-dimension-xl) * -1);
|
|
@@ -65,6 +100,9 @@
|
|
|
65
100
|
margin: calc(var(--pine-dimension-xl) * -1) 0;
|
|
66
101
|
padding: var(--pine-dimension-xl) 0;
|
|
67
102
|
}
|
|
103
|
+
.pds-divider--offset-xl.pds-divider--labeled {
|
|
104
|
+
padding: 0;
|
|
105
|
+
}
|
|
68
106
|
|
|
69
107
|
.pds-divider--offset-xxl {
|
|
70
108
|
margin: 0 calc(var(--pine-dimension-2xl) * -1);
|
|
@@ -74,6 +112,9 @@
|
|
|
74
112
|
margin: calc(var(--pine-dimension-2xl) * -1) 0;
|
|
75
113
|
padding: var(--pine-dimension-2xl) 0;
|
|
76
114
|
}
|
|
115
|
+
.pds-divider--offset-xxl.pds-divider--labeled {
|
|
116
|
+
padding: 0;
|
|
117
|
+
}
|
|
77
118
|
|
|
78
119
|
@media (max-width: 767px) {
|
|
79
120
|
.pds-divider--vertical {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @part label - Exposes the label text for styling, such as a custom color. Appears only when `label` is set and `vertical` is `false`.
|
|
4
|
+
*/
|
|
2
5
|
export class PdsDivider {
|
|
3
6
|
constructor() {
|
|
4
7
|
/**
|
|
@@ -7,11 +10,18 @@ export class PdsDivider {
|
|
|
7
10
|
*/
|
|
8
11
|
this.vertical = false;
|
|
9
12
|
}
|
|
13
|
+
get hasLabel() {
|
|
14
|
+
var _a;
|
|
15
|
+
return Boolean((_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()) && !this.vertical;
|
|
16
|
+
}
|
|
10
17
|
classNames() {
|
|
11
18
|
const classNames = ['pds-divider'];
|
|
12
19
|
if (this.vertical) {
|
|
13
20
|
classNames.push('pds-divider--vertical');
|
|
14
21
|
}
|
|
22
|
+
if (this.hasLabel) {
|
|
23
|
+
classNames.push('pds-divider--labeled');
|
|
24
|
+
}
|
|
15
25
|
if (this.offset) {
|
|
16
26
|
const offsetClassName = 'pds-divider--offset-' + this.offset;
|
|
17
27
|
classNames.push(offsetClassName);
|
|
@@ -19,7 +29,7 @@ export class PdsDivider {
|
|
|
19
29
|
return classNames.join(' ');
|
|
20
30
|
}
|
|
21
31
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'c6f887ca1f68c8e572bd518c43d88f052f6d9dd1', id: this.componentId }, this.hasLabel ? (h("div", { class: this.classNames(), role: "separator", "aria-label": this.label }, h("span", { class: "pds-divider__label", part: "label", "aria-hidden": "true" }, this.label))) : (h("hr", { class: this.classNames() }))));
|
|
23
33
|
}
|
|
24
34
|
static get is() { return "pds-divider"; }
|
|
25
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,6 +64,25 @@ export class PdsDivider {
|
|
|
54
64
|
"reflect": false,
|
|
55
65
|
"attribute": "component-id"
|
|
56
66
|
},
|
|
67
|
+
"label": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "string",
|
|
72
|
+
"resolved": "string",
|
|
73
|
+
"references": {}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": true,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": "Text to be displayed as the divider label, centered between two lines. Ignored when `vertical` is `true`."
|
|
80
|
+
},
|
|
81
|
+
"getter": false,
|
|
82
|
+
"setter": false,
|
|
83
|
+
"reflect": false,
|
|
84
|
+
"attribute": "label"
|
|
85
|
+
},
|
|
57
86
|
"offset": {
|
|
58
87
|
"type": "string",
|
|
59
88
|
"mutable": false,
|
|
@@ -8,6 +8,7 @@ export default {
|
|
|
8
8
|
const BaseTemplate = (args) => html`
|
|
9
9
|
<pds-divider
|
|
10
10
|
component-id=${args.componentId}
|
|
11
|
+
label=${args.label ?? ''}
|
|
11
12
|
offset=${args.offset}
|
|
12
13
|
vertical=${args.vertical}
|
|
13
14
|
/>`;
|
|
@@ -21,3 +22,9 @@ export const Vertical = BaseTemplate.bind();
|
|
|
21
22
|
Vertical.args = {
|
|
22
23
|
vertical: true,
|
|
23
24
|
}
|
|
25
|
+
|
|
26
|
+
export const WithLabel = BaseTemplate.bind();
|
|
27
|
+
WithLabel.args = {
|
|
28
|
+
label: 'Today',
|
|
29
|
+
vertical: false,
|
|
30
|
+
}
|
|
@@ -72,7 +72,7 @@ export class PdsDropdownMenuItem {
|
|
|
72
72
|
}, tabIndex: this.disabled ? -1 : 0, type: "button", part: "button", onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null }, h("slot", null)));
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '5d27080b7e129f69255ecb9dd1fab183a8f7c5f6', id: this.componentId, class: { 'is-disabled': this.disabled, 'destructive': !this.disabled && this.destructive }, onClick: () => !this.disabled && this.handleClick(), role: "none", tabIndex: -1, "aria-disabled": this.disabled ? 'true' : null }, this.renderElement()));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "pds-dropdown-menu-item"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class PdsDropdownMenuSeparator {
|
|
|
8
8
|
this.disabled = false;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'd0fbf00978860c7a449b5781db2f10dd7e99d1b1', id: this.componentId }, h("hr", { key: 'a566c55fc3f15c0dab81fc90f5cf35d77fc0e35c' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "pds-dropdown-menu-separator"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -306,7 +306,7 @@ export class PdsDropdownMenu {
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
render() {
|
|
309
|
-
return (h(Host, { key: '
|
|
309
|
+
return (h(Host, { key: '30914965241f7e8e5af32e8576c651802026a996', id: this.componentId }, h("slot", { key: 'ec995c9437083ca28058b974df91491b0e634a07', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), h("pds-box", { key: '590a22e556d4df23eb33cbe2fa2bda296ce59b01', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", role: "menu", "aria-orientation": "vertical", part: "menu-panel" }, h("slot", { key: '9b0d67a3cf63b33eb73d3e451b365dc4354a323c', onSlotchange: this.handleSlotChange }))));
|
|
310
310
|
}
|
|
311
311
|
static get is() { return "pds-dropdown-menu"; }
|
|
312
312
|
static get encapsulation() { return "shadow"; }
|
|
@@ -485,7 +485,7 @@ export class PdsFilter {
|
|
|
485
485
|
return null;
|
|
486
486
|
}
|
|
487
487
|
render() {
|
|
488
|
-
return (h(Host, { key: '
|
|
488
|
+
return (h(Host, { key: '6d40e2462bf70dcd26c0e3c5ab6f12e86c65ac49', id: this.componentId }, h("button", { key: '2d45a9b8ae4fd3a4d1ecc04c29ccf83fe5756e50', class: this.getTriggerClasses(), type: "button", popoverTarget: this.variant !== 'clear' ? `${this.componentId}-popover` : undefined, popoverTargetAction: this.variant !== 'clear' ? 'toggle' : undefined, onKeyDown: this.variant === 'clear' ? this.handleKeyDown : undefined, onClick: (event) => this.handleClick(event), part: "button", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": this.variant !== 'clear' ? 'true' : undefined, "aria-controls": this.variant !== 'clear' ? `${this.componentId}-popover` : undefined }, h("span", { key: 'b80e2c8c4f92d17c37fa5a0c1fcc3f778f788483', class: "pds-filter__button-content", part: "button-content" }, this.renderIcon(), this.text && (h("span", { key: '5faa099b94200071325ab8fb1b122437a81dcf61', class: "pds-filter__button-text", part: "button-text" }, this.text)), this.renderDropdownIcon())), this.variant !== 'clear' && (h("div", { key: '063bc00fedda0fba5ba4af759404f3ae23b2b6ad', ref: el => this.popoverEl = el, id: `${this.componentId}-popover`, class: "pds-filter__popover", popover: "auto", part: "popover" }, h("slot", { key: '9790cd0c8cd6a594aab094aeaa469dbcddc98d87' })))));
|
|
489
489
|
}
|
|
490
490
|
static get is() { return "pds-filter"; }
|
|
491
491
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class PdsFilters {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '0f4dc3d5ecf71992a4c13f85fec62d4b60f3c6d1', id: this.componentId }, h("div", { key: 'ee3edc3d752c70d7888028b45dcb1c89f297803c', class: "pds-filters" }, h("slot", { key: 'de693eedf74a029a0a279855cd2602420891ef10' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "pds-filters"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,9 +15,9 @@ export class PdsImage {
|
|
|
15
15
|
this.loading = 'eager';
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'dbc144927d78e2eb380639eeb8b243133a4b5379', class: {
|
|
19
19
|
'pds-image': true,
|
|
20
|
-
}, id: this.componentId }, h("img", { key: '
|
|
20
|
+
}, id: this.componentId }, h("img", { key: '259c1cd7ffdf4e5dd7c0ef178d28f1f835b57642', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "pds-image"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -286,10 +286,10 @@ export class PdsInput {
|
|
|
286
286
|
'has-prepend': this.hasPrepend,
|
|
287
287
|
'has-append': this.hasAppend,
|
|
288
288
|
};
|
|
289
|
-
return (h(Host, { key: '
|
|
289
|
+
return (h(Host, { key: '8f15b61e4a6336246aefca1112c280265996630a', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-prefix": this.hasPrefix ? 'true' : null, "has-suffix": this.hasSuffix ? 'true' : null, "has-prepend": this.hasPrepend ? 'true' : null, "has-append": this.hasAppend ? 'true' : null, "has-action": this.hasAction && !this.hideLabel ? 'true' : null, "full-width": this.fullWidth ? 'true' : null }, h("div", { key: '9e45a632a63b813f2f097ef903db9e97f6b88b16', class: "pds-input" }, label && (h("div", { key: 'e9e3710cfa43372a71bbf2440110cd43336c16e3', class: {
|
|
290
290
|
'pds-input__label-wrapper': true,
|
|
291
291
|
'visually-hidden': this.hideLabel,
|
|
292
|
-
} }, h("label", { key: '
|
|
292
|
+
} }, h("label", { key: '0717152167b9f8776e23bb95d0b3ebdc58a27e8e', htmlFor: componentId, class: "pds-input__label" }, h("span", { key: 'cf350936ac9981da1773c7320d5092da2d8aa5c6' }, label, this.required && h("span", { key: '115e170ee93a5bc2c4c396aaf235fd0e6ae09a13', class: "pds-input__required-indicator" }, " *"))), !this.hideLabel && this.renderAction())), h("div", { key: '00839202f48a22c6a6f00fa706eee81314dc1c04', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), h("input", Object.assign({ key: 'cb2234ebf58e2148ea6b4b711ff09338722d4457', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage, errorMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onKeyDown: this.onKeyDownEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (h("p", { key: 'e322e25b5d6d8fe9c7292087127d7d44c0a27046', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (h("p", { key: 'e3a982cf8312fa2a16360a4667fa5286ce304e68', class: "pds-input__error-message", id: messageId(componentId, 'error') }, h("pds-icon", { key: 'ffa236865ab93013f54ea0bf2f993a3c3631e919', "aria-hidden": "true", icon: danger, size: "small" }), errorMessage)))));
|
|
293
293
|
}
|
|
294
294
|
static get is() { return "pds-input"; }
|
|
295
295
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,8 +56,8 @@ export class PdsLink {
|
|
|
56
56
|
const targetValue = this.target || (this.external ? '_blank' : undefined);
|
|
57
57
|
const showExternalIcon = this.external;
|
|
58
58
|
const relValue = targetValue === '_blank' ? 'noopener noreferrer' : undefined;
|
|
59
|
-
return (h("a", { key: '
|
|
60
|
-
h("pds-icon", { key: '
|
|
59
|
+
return (h("a", { key: '532bc4afd39f637b021556875a1744dd85d4a227', class: this.classNames(), download: this.download, href: this.href, id: this.componentId, part: "link", "aria-current": this.active ? 'page' : undefined, target: targetValue, rel: relValue, style: this.setLinkStyles(), "data-turbo": this.turbo || undefined, "data-turbo-frame": this.turboFrame || undefined, "data-turbo-action": this.turboAction || undefined, "data-turbo-method": this.turboMethod || undefined, "data-turbo-confirm": this.turboConfirm || undefined, "data-turbo-stream": this.turboStream || undefined, "data-turbo-prefetch": this.turboPrefetch || undefined, "data-turbo-preload": this.turboPreload || undefined }, h("slot", { key: '854b411525e89363fbc13fb3119c4f04e611d0a0' }, this.href), showExternalIcon &&
|
|
60
|
+
h("pds-icon", { key: 'c670f8c1f46bd55b6ebd735a98c0dbff8eb24076', icon: launch, size: this.fontSize })));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "pds-link"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class PdsLoader {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '288e980a91a4a05984ec7d16c198cff227a2e676', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (h("div", { key: 'dc8643b932182b540ce93dd87dad10f07174d59f', class: "pds-loader--spinner" }, h("svg", { key: '2cec5ddfdf9772c0d20ce11a6bf070d0bc06a53b', style: this.getSvgStyle(), viewBox: "0 0 200 200", fill: "none", part: "loader-svg" }, h("defs", { key: 'f2554f75fe1bd3e0e3afc1947220d3c004184e84' }, h("linearGradient", { key: 'edef079f8b959604ec9f911739a78801c5f285c0', id: "spinner-secondHalf" }, h("stop", { key: '337a53ea77d19e9dfd3a5d43f01f6886c71f190b', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), h("stop", { key: 'ca2e6363e2feece31ba1a4b2de0d3ec66c4c45f9', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), h("linearGradient", { key: '5458cf7f8e9e35e23dfc5aa4e5f7ef5c7b9d142d', id: "spinner-firstHalf" }, h("stop", { key: '7cbb4bc34f8792e648c8bf1bfe6db8e319bf68cf', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), h("stop", { key: 'febbf165e3da7d328dfa35cf5930a8069fea604e', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), h("g", { key: 'a2becedb247748508013f80c9dbd6eccc6818e6f', class: "pds-loader__spinner-path" }, h("path", { key: '2df230f57210ee7c10ff22d99d3fd8a1dd17b217', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), h("path", { key: 'b85ae9aebe39f99d1d06a3e03e8ef7027fa8a866', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), h("path", { key: '9f0508fdf50f6274e2b0656565585198f6105b68', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (h("div", { key: '0520d0113a7b4498692e523c273616d67b90f042', class: "pds-loader--typing" }, h("span", { key: 'a1083f20b9cd04d1ba685aafd736fcd154dc597f' }), h("span", { key: '9eab7a6bfcca61861cbdd01953b2aa0762770b80' }), h("span", { key: 'd4599150cd603fcfe6b2f50044a0ed867fad6070' }))), h("div", { key: 'b37bc877a5fd6cd7249b10bca48ac50eb31f4f40', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, h("slot", { key: '689ca4190506689ca6c92b61ada5c96a2a1427ab', name: "label" }, "Loading..."))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "pds-loader"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -178,10 +178,10 @@ export class PdsModalContent {
|
|
|
178
178
|
render() {
|
|
179
179
|
// Only apply max-height style if it's not 'none'
|
|
180
180
|
const styleObj = this.contentMaxHeight !== 'none' ? { maxHeight: this.contentMaxHeight } : {};
|
|
181
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: '3e8e95b159205c5c8183eb7f6c60d358290e0896' }, h("div", { key: '97988c0bbcbf256fc3369ccedefe854dd196ef82', class: {
|
|
182
182
|
'pds-modal-content': true,
|
|
183
183
|
[`pds-modal-content--border-${this.border}`]: true
|
|
184
|
-
}, style: styleObj, tabindex: "-1" }, h("slot", { key: '
|
|
184
|
+
}, style: styleObj, tabindex: "-1" }, h("slot", { key: 'c76eb4759b7bf4898845b65768908c896fe64f4e' }))));
|
|
185
185
|
}
|
|
186
186
|
static get is() { return "pds-modal-content"; }
|
|
187
187
|
static get originalStyleUrls() {
|
|
@@ -6,7 +6,7 @@ export class PdsModalFooter {
|
|
|
6
6
|
unwrapReconnectedContent(this.el.querySelector('.pds-modal__footer'), '.pds-modal__footer');
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("footer", { key: '
|
|
9
|
+
return (h("footer", { key: '63bb557978ea69aa658026f7be24433b946b2ee6', class: "pds-modal__footer" }, h("slot", { key: '158a929229b0efa8720f869756076203f297c744' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "pds-modal-footer"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
@@ -6,7 +6,7 @@ export class PdsModalHeader {
|
|
|
6
6
|
unwrapReconnectedContent(this.el.querySelector('.pds-modal__header'), '.pds-modal__header');
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("header", { key: '
|
|
9
|
+
return (h("header", { key: 'ae4277052c04a1804e0e73f2873e636ea4cb890c', class: "pds-modal__header" }, h("slot", { key: '5c4a7b463835de451c9c3f15e0ac669bf32aee23' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "pds-modal-header"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
@@ -268,14 +268,14 @@ export class PdsModal {
|
|
|
268
268
|
return thisZIndex === maxZIndex;
|
|
269
269
|
}
|
|
270
270
|
render() {
|
|
271
|
-
return (h("dialog", { key: '
|
|
271
|
+
return (h("dialog", { key: '65d204a57e193022eb475c113438a40fc77cf545', class: {
|
|
272
272
|
'pds-modal__backdrop': true,
|
|
273
273
|
'open': this.open
|
|
274
|
-
}, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: '
|
|
274
|
+
}, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: 'a9f07a30f8b4d13ef7ac33068756f0fb03173e27', class: {
|
|
275
275
|
'pds-modal': true,
|
|
276
276
|
[`pds-modal--${this.size}`]: true,
|
|
277
277
|
'pds-modal--scrollable': this.scrollable
|
|
278
|
-
}, part: "modal" }, h("slot", { key: '
|
|
278
|
+
}, part: "modal" }, h("slot", { key: '8505057bef9b4ed60e51422b05fea08cefce4a4b' }))));
|
|
279
279
|
}
|
|
280
280
|
static get is() { return "pds-modal"; }
|
|
281
281
|
static get originalStyleUrls() {
|
|
@@ -77,7 +77,7 @@ export class MockPdsModal {
|
|
|
77
77
|
'pds-modal__backdrop': true,
|
|
78
78
|
'open': this.open,
|
|
79
79
|
};
|
|
80
|
-
return (h("div", { key: '
|
|
80
|
+
return (h("div", { key: 'cb0c1ce177b2c5bbc03c6310d1c61c2e56c87371', class: backdropClasses }, h("div", { key: '0f25e178dafa91d9c9721180c933faacb03b9360', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null, part: "modal" }, h("div", { key: '849c0e574e020c828b3ef8a89e39ffdd6f8da68f', class: "pds-modal__header" }, h("slot", { key: '0c8bcac99adafbbfe67641e3782722bbe1ac13be', name: "header" })), h("div", { key: '5da01ac584f1b6d1ec8b535f6be2ac9f06ac2218', class: "pds-modal-content" }, h("slot", { key: '60ab585878ef793930fb18c363c284249123f423' })), h("div", { key: 'ec6f26f3fa36175cf1a6acc34807c2528b8ed886', class: "pds-modal__footer" }, h("slot", { key: 'da9896baba61891eceb7805c6967741fa86906dc', name: "footer" })))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "mock-pds-modal"; }
|
|
83
83
|
static get originalStyleUrls() {
|
|
@@ -1021,10 +1021,10 @@ export class PdsMultiselect {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
render() {
|
|
1023
1023
|
const hasSelections = this.selectedItems.length > 0;
|
|
1024
|
-
return (h(Host, { key: '
|
|
1024
|
+
return (h(Host, { key: 'a27955b3d4a7723dc92af6f9f1a4c56da5d392c6', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '1bbea74e106b5980427610e9cbe27e2b686ded53', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (h("label", { key: 'a1ba54ded3bf660d234ce430056d1b70058d4e47', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
|
|
1025
1025
|
'pds-multiselect__label': true,
|
|
1026
1026
|
'visually-hidden': this.hideLabel,
|
|
1027
|
-
} }, this.label)), h("div", { key: '
|
|
1027
|
+
} }, this.label)), h("div", { key: '74cd041317c59042452dd9b3e9d165cc88be5ecc', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (h("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
|
|
1028
1028
|
'pds-multiselect__trigger': true,
|
|
1029
1029
|
'pds-multiselect__trigger--open': this.isOpen,
|
|
1030
1030
|
'pds-multiselect__trigger--disabled': this.disabled,
|
|
@@ -1040,7 +1040,7 @@ export class PdsMultiselect {
|
|
|
1040
1040
|
}, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.helperMessage, this.errorMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, h("span", { class: {
|
|
1041
1041
|
'pds-multiselect__trigger-text': true,
|
|
1042
1042
|
'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
|
|
1043
|
-
} }, this.getTriggerText()), h("pds-icon", { class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), h("span", { key: '
|
|
1043
|
+
} }, this.getTriggerText()), h("pds-icon", { class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), h("span", { key: '38056bbcdb0b865e9fe0b249ac3ee2c2adb089d4', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (h("p", { key: '7a576cc360d15e0ec38aeb4c0665a7308e7b1506', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (h("p", { key: '7dadb8425fa729316867a6d9ddb49d2553d82308', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: 'fc295c5b5110b009a1d6372411c1faf32df9b620', icon: danger, size: "small" }), this.errorMessage)), h("div", { key: '173c9f6953442fdedfdfa71264bcc3781b827701', style: { display: 'none' } }, h("slot", { key: 'e31cb390048516ee400d2875ad993cd6ae07b146' })))));
|
|
1044
1044
|
}
|
|
1045
1045
|
static get is() { return "pds-multiselect"; }
|
|
1046
1046
|
static get encapsulation() { return "shadow"; }
|
|
@@ -554,7 +554,7 @@ export class PdsPopover {
|
|
|
554
554
|
}, 16); // ~1 frame at 60fps
|
|
555
555
|
}
|
|
556
556
|
render() {
|
|
557
|
-
return (h(Host, { key: '
|
|
557
|
+
return (h(Host, { key: 'f488756aeac4d7d1223b5ccda953aa6ea54788c0', id: this.componentId }, h("span", { key: '9ac844192c4389c1e9dc8548bda70b45c14b9aed', class: "pds-popover__trigger-wrapper" }, h("slot", { key: '5263c5e659fc51f912bdbf92c119dc2bb1f57d4f', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: '717d438131ff0bff69f11513c538bf3de5c2d1a4', class: "pds-popover__content-slot-wrapper" }, h("slot", { key: '060d737af3edd0d7baf5d556867122ca217d13a2', onSlotchange: this.handleContentSlotChange }))));
|
|
558
558
|
}
|
|
559
559
|
static get is() { return "pds-popover"; }
|
|
560
560
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class PdsProgress {
|
|
|
18
18
|
this.showPercent = false;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '6cb8c8cacf41c0a51907a32cf92d15dea4b4493f', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: 'e5ad49e7b9328c2234350e3263595112b22b2ff7', class: "pds-progress" }, h("label", { key: '30dab7a71ff8c4947e6d9d199c84a2295c7da7d6', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: '74dec83ce7f68395cfe9c3adc4512e6ffe98a3b4', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: 'b44b9c937bc8de75cdd1c90336419b65be4fb1c0', class: "pds-progress__percentage" }, this.percent, "%")));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "pds-progress"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class PdsProperty {
|
|
|
10
10
|
this.icon = 'star';
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'f6ebcf8eec4bbbfe3a8717cf8c5611684d5c8929', id: this.componentId }, h("pds-box", { key: '0c4b9d0154b13da6aa3ee8b04482b5591bfee46f', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '960c0fe6447622133f423b5547f13d7407258cbb', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: '367e9265e49712d16576ba0461042e8aa2210e69' }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "pds-property"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -92,11 +92,11 @@ export class PdsRadio {
|
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
94
|
const renderLabelAndMessages = () => [
|
|
95
|
-
h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: '
|
|
95
|
+
h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: '0c85ea35e55ccb8d0f8ce869f9c3fefe4a143ef7', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "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, class: this.hasImage() ? 'visually-hidden' : '' }), h("span", { key: '3337ad8a86dc975ab2b45e989ab6f2f4bd4af90d', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)),
|
|
96
96
|
this.helperMessage && (h("div", { key: `${this.componentId}-helper`, class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage)),
|
|
97
|
-
this.errorMessage && (h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '
|
|
97
|
+
this.errorMessage && (h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'c5a3a39cb6ac1afbe9998e77e98e7d46c85a3687', icon: danger, size: "small" }), this.errorMessage))
|
|
98
98
|
];
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: 'e19f3967280820155c8cd14bafc32959f6a78c99', class: this.classNames() }, this.hasImage() && (h("div", { key: 'e990c72656ba7687c43c12c774b547f469213d44', class: "pds-radio__image-container", part: "image-container" }, h("slot", { key: '360e92eb7490bf79ac63ff0580dae76ab660d437', name: "image", onSlotchange: () => (this._hasImage = this.hasImageSlot()) }))), this.hasImage() ? (h("div", { class: "pds-radio__content-wrapper" }, renderLabelAndMessages())) : (renderLabelAndMessages())));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "pds-radio"; }
|
|
102
102
|
static get encapsulation() { return "scoped"; }
|
|
@@ -160,13 +160,13 @@ export class PdsRadioGroup {
|
|
|
160
160
|
render() {
|
|
161
161
|
const gapValue = this.getGapValue();
|
|
162
162
|
const ariaDescribedBy = this.getAriaDescribedBy();
|
|
163
|
-
return (h(Host, { key: '
|
|
163
|
+
return (h(Host, { key: 'c8e0b5e7fce3becca58c99d1d8d56bd25db8f2fb', class: this.classNames(), id: this._groupId, role: "group", "aria-describedby": ariaDescribedBy, style: {
|
|
164
164
|
'--pds-radio-group-gap': gapValue,
|
|
165
|
-
} }, this.groupLabel && (h("div", { key: '
|
|
165
|
+
} }, this.groupLabel && (h("div", { key: '04d9d3154d1c34b58fb46429417b5b75da3ee96a', class: "pds-radio-group__label" }, this.groupLabel)), h("div", { key: '58b1e3c7ff2ed9b2eceab6be6c0a4903919915d5', class: {
|
|
166
166
|
'pds-radio-group__radios': true,
|
|
167
167
|
'pds-radio-group__radios--row': this.direction === 'row',
|
|
168
168
|
'pds-radio-group__radios--column': this.direction === 'column',
|
|
169
|
-
} }, h("slot", { key: '
|
|
169
|
+
} }, h("slot", { key: '357104f35d9845b0717fa6aa896dc8bd60035b34', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (h("div", { key: 'd05cc6733b4c087d59a9c8ab5e4664ab278ae020', class: "pds-radio-group__message", id: messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (h("div", { key: '298396cb986b169d6c0d728863cd13d8399cafbf', class: "pds-radio-group__message pds-radio-group__message--error", id: messageId(this._groupId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'fa820d6a8531600c889d18cdcdb93e3588a26865', icon: danger, size: "small" }), this.errorMessage))));
|
|
170
170
|
}
|
|
171
171
|
static get is() { return "pds-radio-group"; }
|
|
172
172
|
static get encapsulation() { return "scoped"; }
|
|
@@ -55,7 +55,7 @@ export class PdsRow {
|
|
|
55
55
|
})), (this.minHeight && {
|
|
56
56
|
'min-height': this.minHeight,
|
|
57
57
|
}));
|
|
58
|
-
return h(Host, { key: '
|
|
58
|
+
return h(Host, { key: '13417071d1d3411e0bfe0de638c017ee96b1002f', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "pds-row"; }
|
|
61
61
|
static get originalStyleUrls() {
|
|
@@ -228,7 +228,7 @@ export class PdsSelect {
|
|
|
228
228
|
}
|
|
229
229
|
render() {
|
|
230
230
|
const hasAction = this.el.querySelector('[slot="action"]') !== null;
|
|
231
|
-
return (h(Host, { key: '
|
|
231
|
+
return (h(Host, { key: 'a1d08dc93decbf50f95152d59ceac4ad38dd5b01', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: '8aaeeea02f9330c013084dd525499e80ac19c463', class: "pds-select" }, !this.hideLabel && (h("div", { key: 'e8a6b8885eb95b68eb7229fe6bf67da4d1be1875', class: "pds-select__label-wrapper" }, h("label", { key: 'e6c6d190b14b49aa5c07a5b13e486bee4499cf60', htmlFor: this.componentId }, h("span", { key: 'e703a2d392f6f6f8dead73d91eb9f1d55b8a51c1', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '61573ecc714d416e4cad4e5307b9bcc4a1b7e190', "aria-describedby": assignDescription(this.componentId, this.isInvalid(), this.helperMessage, this.errorMessage), "aria-invalid": this.isInvalid() ? 'true' : undefined, "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, onBlur: this.onBlur, onChange: this.onSelectUpdate, onFocus: this.onFocus, onKeyDown: this.onKeyDown, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: 'acbd13e28aaca1cac0bcc2b9269083c50104bfc0', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '6f3f4cf1cb3cd71dcefdb149df68aea905b8b5eb', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'a3b2301d28bd6631cd33286ae3b93c67294e4cc6', "aria-hidden": "true", class: "pds-select__select-icon", icon: enlarge }))));
|
|
232
232
|
}
|
|
233
233
|
static get is() { return "pds-select"; }
|
|
234
234
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class PdsSortableItem {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '18cf8345abe65e492b09add621df93c9eac77d30', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: 'a9545fad581a44740da59ae64209da530c91fc97', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '4d0ecd4ec0ee6c0aa5249c060098d7748a05b910', "aria-hidden": "true", icon: handleIcon }))), h("slot", { key: 'f79fcb490cb435e578c3d6ff2ce4b8dcd4040555' }), this.enableActions && (h("div", { key: 'eac4084b1bc7e6c0e1026ec9fea2b3a9e33ac618', class: "pds-sortable-item__actions" }, h("slot", { key: '8f77cd2e46a7ed2d442f04747c2ef6b726912ad9', name: "sortable-item-actions" })))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "pds-sortable-item"; }
|
|
44
44
|
static get encapsulation() { return "scoped"; }
|
|
@@ -57,7 +57,7 @@ export class PdsSortable {
|
|
|
57
57
|
this.sortableInstance = Sortable.create(this.el, sortableOptions);
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '7c5c1c00c00f8e7122c292f83f33b0b5638a4617', class: this.classNames(), id: this.componentId }, h("slot", { key: 'c418a9e41ff37672d886259c3c8a060507b2a16a' })));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "pds-sortable"; }
|
|
63
63
|
static get encapsulation() { return "scoped"; }
|
|
@@ -82,9 +82,9 @@ export class PdsSwitch {
|
|
|
82
82
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
86
|
-
h("div", { key: '
|
|
87
|
-
h("div", { key: '
|
|
85
|
+
return (h(Host, { key: '3b15b1f098a56bed7f5ab95a549a0ca1cb3444b3', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: 'f0a6a95ead6b8b11122c5153402fbe68e1382cb4', htmlFor: this.componentId }, h("input", Object.assign({ key: '7633dce93d0983f31492cca51f238d2e321d3316', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "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: '3b0b1a38d4a0cee505bd0f1c7383af259e2da2b0', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
|
|
86
|
+
h("div", { key: 'e6770c0fed9f7a8a626e91cd8aa84b8623bd4b32', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
87
|
+
h("div", { key: '88cb91dc6cf056b0af35a1821c839166217a9eb4', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '6faf4e7b7e13193c147769d9308fb4d23425aa9c', icon: danger, size: "small" }), this.errorMessage)));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "pds-switch"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class PdsTableBody {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'bd4c84fdefd61afbd4138488b04419d62021c1ad', role: "rowgroup", part: "body" }, h("slot", { key: 'a16c0cfc807969c005b743293144e4f7470fe851' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pds-table-body"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,11 +123,11 @@ export class PdsTableCell {
|
|
|
123
123
|
return classNames.join(' ');
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '1b20d85c75e5ca772f1c6fb402d06ef0f6b170a7', class: this.classNames(), role: "gridcell", part: "cell", tabIndex: this.truncate ? 0 : undefined, style: this.tableRef &&
|
|
127
127
|
this.tableRef.fixedColumn &&
|
|
128
128
|
this.tableRef.selectable
|
|
129
129
|
? { '--fixed-cell-position': '40px' }
|
|
130
|
-
: {} }, h("slot", { key: '
|
|
130
|
+
: {} }, h("slot", { key: '3d1dc98bc9e3dead532af0c5c79305eaedee62be' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "pds-table-cell"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,7 +42,7 @@ export class PdsTableHead {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '972440cfae0388fb28018929bcf79330cfc5f4d5', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '13080928a925352bd35318bb5871d2ad3041d616', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, !this.tableRef.disableSelectAll && (h("pds-checkbox", { key: '57e7872a8620a2a7a295f2bc5354bfbe75541eba', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected, part: "select-all-checkbox" })))), h("slot", { key: 'e1d459755b5db56bbbbbaf69f40ed994d1604b83' })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "pds-table-head"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|