@pine-ds/core 3.2.0 → 3.3.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/index2.js +1 -1
- package/components/index2.js.map +1 -1
- package/components/mock-pds-modal.js +1 -1
- package/components/pds-button2.js +1 -1
- package/components/pds-button2.js.map +1 -1
- package/components/pds-chip.js +21 -6
- package/components/pds-chip.js.map +1 -1
- package/components/pds-input.js +98 -21
- 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 +2 -2
- package/components/pds-popover.js +1 -1
- package/components/pds-progress.js +1 -1
- package/components/pds-radio.js +3 -3
- package/components/pds-row.js +1 -1
- package/components/pds-select.js +3 -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-textarea.js +4 -4
- package/components/pds-toast.js +3 -3
- package/components/pds-tooltip.js +17 -1
- package/components/pds-tooltip.js.map +1 -1
- package/dist/cjs/{index-CG2Rr2io.js → index-B0qLG6KJ.js} +3 -3
- package/dist/cjs/index-B0qLG6KJ.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mock-pds-modal.cjs.entry.js +1 -1
- package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/pds-chip.cjs.entry.js +21 -7
- 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-copytext.cjs.entry.js +1 -1
- package/dist/cjs/pds-input.cjs.entry.js +88 -21
- 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 +3 -3
- package/dist/cjs/pds-loader.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal-content.cjs.entry.js +2 -2
- package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
- package/dist/cjs/pds-modal.cjs.entry.js +2 -2
- package/dist/cjs/pds-popover.cjs.entry.js +1 -1
- package/dist/cjs/pds-progress.cjs.entry.js +1 -1
- package/dist/cjs/pds-radio.cjs.entry.js +4 -4
- package/dist/cjs/pds-row.cjs.entry.js +1 -1
- package/dist/cjs/pds-select.cjs.entry.js +3 -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 +2 -2
- package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
- package/dist/cjs/pds-switch.cjs.entry.js +4 -4
- package/dist/cjs/pds-tab.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
- package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
- package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
- package/dist/cjs/pds-table.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
- package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
- package/dist/cjs/pds-text.cjs.entry.js +1 -1
- package/dist/cjs/pds-textarea.cjs.entry.js +5 -5
- package/dist/cjs/pds-toast.cjs.entry.js +3 -3
- package/dist/cjs/pds-tooltip.cjs.entry.js +17 -1
- package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/pine-core.cjs.js +1 -1
- package/dist/collection/components/pds-button/pds-button.css +17 -5
- package/dist/collection/components/pds-chip/pds-chip.css +48 -11
- package/dist/collection/components/pds-chip/pds-chip.js +42 -9
- package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
- package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +17 -0
- package/dist/collection/components/pds-input/pds-input.css +167 -43
- package/dist/collection/components/pds-input/pds-input.js +212 -21
- package/dist/collection/components/pds-input/pds-input.js.map +1 -1
- package/dist/collection/components/pds-input/stories/pds-input.stories.js +84 -0
- 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 +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-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 +34 -4
- package/dist/collection/components/pds-select/pds-select.js +20 -2
- package/dist/collection/components/pds-select/pds-select.js.map +1 -1
- package/dist/collection/components/pds-select/stories/pds-select.stories.js +2 -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 +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 +17 -1
- package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -1
- package/dist/docs.json +255 -11
- package/dist/esm/{index-_4gljHh-.js → index-DpOSrebJ.js} +3 -3
- package/dist/esm/index-DpOSrebJ.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mock-pds-modal.entry.js +1 -1
- package/dist/esm/pds-accordion.entry.js +1 -1
- package/dist/esm/pds-avatar.entry.js +1 -1
- package/dist/esm/pds-button.entry.js +2 -2
- package/dist/esm/pds-button.entry.js.map +1 -1
- package/dist/esm/pds-checkbox.entry.js +1 -1
- package/dist/esm/pds-chip.entry.js +21 -7
- package/dist/esm/pds-chip.entry.js.map +1 -1
- package/dist/esm/pds-copytext.entry.js +1 -1
- package/dist/esm/pds-input.entry.js +88 -21
- package/dist/esm/pds-input.entry.js.map +1 -1
- package/dist/esm/pds-link.entry.js +3 -3
- package/dist/esm/pds-loader.entry.js +1 -1
- package/dist/esm/pds-modal-content.entry.js +2 -2
- package/dist/esm/pds-modal-footer.entry.js +1 -1
- package/dist/esm/pds-modal-header.entry.js +1 -1
- package/dist/esm/pds-modal.entry.js +2 -2
- package/dist/esm/pds-popover.entry.js +1 -1
- package/dist/esm/pds-progress.entry.js +1 -1
- package/dist/esm/pds-radio.entry.js +4 -4
- package/dist/esm/pds-row.entry.js +1 -1
- package/dist/esm/pds-select.entry.js +3 -4
- package/dist/esm/pds-select.entry.js.map +1 -1
- package/dist/esm/pds-sortable-item.entry.js +2 -2
- package/dist/esm/pds-sortable.entry.js +1 -1
- package/dist/esm/pds-switch.entry.js +4 -4
- package/dist/esm/pds-tab.entry.js +3 -3
- package/dist/esm/pds-table-body.entry.js +1 -1
- package/dist/esm/pds-table-cell.entry.js +2 -2
- package/dist/esm/pds-table-head-cell.entry.js +3 -3
- package/dist/esm/pds-table-head.entry.js +1 -1
- package/dist/esm/pds-table-row.entry.js +1 -1
- package/dist/esm/pds-table.entry.js +1 -1
- package/dist/esm/pds-tabpanel.entry.js +1 -1
- package/dist/esm/pds-tabs.entry.js +1 -1
- package/dist/esm/pds-text.entry.js +1 -1
- package/dist/esm/pds-textarea.entry.js +5 -5
- package/dist/esm/pds-toast.entry.js +3 -3
- package/dist/esm/pds-tooltip.entry.js +17 -1
- package/dist/esm/pds-tooltip.entry.js.map +1 -1
- package/dist/esm/pine-core.js +1 -1
- package/dist/esm-es5/{index-_4gljHh-.js → index-DpOSrebJ.js} +1 -1
- package/dist/esm-es5/index-DpOSrebJ.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
- package/dist/esm-es5/pds-accordion.entry.js +1 -1
- package/dist/esm-es5/pds-avatar.entry.js +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-chip.entry.js +1 -1
- package/dist/esm-es5/pds-chip.entry.js.map +1 -1
- package/dist/esm-es5/pds-copytext.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-popover.entry.js +1 -1
- package/dist/esm-es5/pds-progress.entry.js +1 -1
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-row.entry.js +1 -1
- package/dist/esm-es5/pds-select.entry.js +1 -1
- package/dist/esm-es5/pds-select.entry.js.map +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-sortable.entry.js +1 -1
- 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/pds-tooltip.entry.js.map +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/pine-core/{p-CV405yTU.system.js.map → p--YvWqEjm.system.js.map} +1 -1
- package/dist/pine-core/p-00599bd8.entry.js +2 -0
- package/dist/pine-core/p-00599bd8.entry.js.map +1 -0
- package/dist/pine-core/{p-833f08f3.entry.js → p-04195bdb.entry.js} +2 -2
- package/dist/pine-core/p-065208a1.system.entry.js +2 -0
- package/dist/pine-core/p-065208a1.system.entry.js.map +1 -0
- package/dist/pine-core/{p-4288c861.entry.js → p-07f45626.entry.js} +2 -2
- package/dist/pine-core/{p-0572825b.entry.js → p-0a11384e.entry.js} +2 -2
- package/dist/pine-core/{p-28e28f42.system.entry.js → p-0a87e2fc.system.entry.js} +2 -2
- package/dist/pine-core/p-0c30661b.system.entry.js +2 -0
- package/dist/pine-core/{p-146fcd44.entry.js → p-10e2feff.entry.js} +2 -2
- package/dist/pine-core/{p-bd04212c.system.entry.js → p-13481ef5.system.entry.js} +2 -2
- package/dist/pine-core/{p-c4294be2.entry.js → p-19c01019.entry.js} +2 -2
- package/dist/pine-core/{p-f2c807ac.entry.js → p-1d395d27.entry.js} +2 -2
- package/dist/pine-core/{p-4ff0838c.entry.js → p-2007a0b5.entry.js} +2 -2
- package/dist/pine-core/{p-78cb1c40.system.entry.js → p-27c0ffda.system.entry.js} +2 -2
- package/dist/pine-core/p-35917a1a.entry.js +2 -0
- package/dist/pine-core/p-39a31730.system.entry.js +2 -0
- package/dist/pine-core/p-39a31730.system.entry.js.map +1 -0
- package/dist/pine-core/{p-1b109c01.entry.js → p-3ea415b0.entry.js} +2 -2
- package/dist/pine-core/p-44f10d3c.entry.js +2 -0
- package/dist/pine-core/p-44f10d3c.entry.js.map +1 -0
- package/dist/pine-core/{p-48e76945.system.entry.js → p-4b2aab79.system.entry.js} +2 -2
- package/dist/pine-core/{p-77c3a10d.entry.js → p-51cc93b3.entry.js} +2 -2
- package/dist/pine-core/{p-83252078.system.entry.js → p-5367f477.system.entry.js} +2 -2
- package/dist/pine-core/{p-a2572675.system.entry.js → p-593df966.system.entry.js} +2 -2
- package/dist/pine-core/{p-d6ac2862.system.entry.js → p-5a437fcd.system.entry.js} +2 -2
- package/dist/pine-core/{p-c0f74199.entry.js → p-60fbeb1c.entry.js} +2 -2
- package/dist/pine-core/p-65a875f6.entry.js +2 -0
- package/dist/pine-core/{p-30142a25.system.entry.js → p-6a7936e7.system.entry.js} +2 -2
- package/dist/pine-core/p-76e35041.entry.js +2 -0
- package/dist/pine-core/{p-d1b222f5.entry.js.map → p-76e35041.entry.js.map} +1 -1
- package/dist/pine-core/{p-86d388a2.entry.js → p-76f7cf21.entry.js} +2 -2
- package/dist/pine-core/{p-121e03ad.system.entry.js → p-78327c08.system.entry.js} +2 -2
- package/dist/pine-core/{p-e2dc81c0.entry.js → p-78f29270.entry.js} +2 -2
- package/dist/pine-core/{p-83c632f6.system.entry.js → p-79cb7835.system.entry.js} +2 -2
- package/dist/pine-core/{p-e9d972db.system.entry.js → p-7bb3a5d4.system.entry.js} +2 -2
- package/dist/pine-core/{p-17d3fa8b.entry.js → p-80f36506.entry.js} +2 -2
- package/dist/pine-core/{p-f47133fd.entry.js → p-8180b641.entry.js} +2 -2
- package/dist/pine-core/{p-a394645a.system.entry.js → p-833b2170.system.entry.js} +2 -2
- package/dist/pine-core/{p-83ffc1cc.entry.js → p-86329612.entry.js} +2 -2
- package/dist/pine-core/p-8b6b0db7.entry.js +2 -0
- package/dist/pine-core/p-8b6b0db7.entry.js.map +1 -0
- package/dist/pine-core/{p-cd2cd116.entry.js → p-8f06b020.entry.js} +2 -2
- package/dist/pine-core/{p-78fb945e.system.entry.js → p-959c8247.system.entry.js} +2 -2
- package/dist/pine-core/{p-f9e01886.system.entry.js → p-96e9774e.system.entry.js} +2 -2
- package/dist/pine-core/p-9c01e81b.system.entry.js +2 -0
- package/dist/pine-core/p-9db1f179.entry.js +2 -0
- package/dist/pine-core/p-9db1f179.entry.js.map +1 -0
- package/dist/pine-core/{p-CWtKi9tV.system.js.map → p-A4_UN20E.system.js.map} +1 -1
- package/dist/pine-core/{p-C-oNYS10.system.js.map → p-BE1qV1Jc.system.js.map} +1 -1
- package/dist/pine-core/{p-BVUeEWjl.system.js.map → p-BEYGfY83.system.js.map} +1 -1
- package/dist/pine-core/p-BHp2IZGP.system.js.map +1 -0
- package/dist/pine-core/{p-DV_GadHU.system.js.map → p-BISuGf0f.system.js.map} +1 -1
- package/dist/pine-core/{p-HBgo7i_E.system.js.map → p-BPQAcMLl.system.js.map} +1 -1
- package/dist/pine-core/{p-CzKqvFNN.system.js.map → p-BaAcO8Mz.system.js.map} +1 -1
- package/dist/pine-core/{p-yku4NLl6.system.js.map → p-BcuE4ZrB.system.js.map} +1 -1
- package/dist/pine-core/p-BsL2GDnH.system.js +1 -1
- package/dist/pine-core/{p-DEsea81X.system.js.map → p-BwHnCFqU.system.js.map} +1 -1
- package/dist/pine-core/{p-D9LPgNmN.system.js.map → p-BxBtA60x.system.js.map} +1 -1
- package/dist/pine-core/{p-Bs9Nyvj2.system.js.map → p-C0oRS1F9.system.js.map} +1 -1
- package/dist/pine-core/{p-Derxa-nn.system.js.map → p-C2d75seA.system.js.map} +1 -1
- package/dist/pine-core/{p-DbVkYdnF.system.js.map → p-CGABEyvz.system.js.map} +1 -1
- package/dist/pine-core/{p-CiDIFl28.system.js.map → p-CIc_XeAg.system.js.map} +1 -1
- package/dist/pine-core/{p-Bo6FQRlR.system.js.map → p-CNYB6FL-.system.js.map} +1 -1
- package/dist/pine-core/{p-DgOMN0Ur.system.js.map → p-CNkajx9x.system.js.map} +1 -1
- package/dist/pine-core/{p-Cj2r1nL6.system.js.map → p-CS2nVL5p.system.js.map} +1 -1
- package/dist/pine-core/{p-B-pTdYoP.system.js.map → p-CTPMEWZT.system.js.map} +1 -1
- package/dist/pine-core/{p-CDIHBBTC.system.js.map → p-CTWkFhWu.system.js.map} +1 -1
- package/dist/pine-core/{p-M2Hhmwex.system.js.map → p-CdzfTGbZ.system.js.map} +1 -1
- package/dist/pine-core/{p-DiJV28pi.system.js.map → p-CkoeYrxa.system.js.map} +1 -1
- package/dist/pine-core/{p-DKSZziVY.system.js.map → p-ClVQjta4.system.js.map} +1 -1
- package/dist/pine-core/{p-DS7q5AvX.system.js.map → p-D2UtaGL2.system.js.map} +1 -1
- package/dist/pine-core/{p-DN9puCWI.system.js.map → p-DGyATOIf.system.js.map} +1 -1
- package/dist/pine-core/p-DMeT5CsE.system.js.map +1 -0
- package/dist/pine-core/{p-CsM74dxm.system.js.map → p-DVhX1_nD.system.js.map} +1 -1
- package/dist/pine-core/p-DeW-6a7f.system.js.map +1 -0
- package/dist/pine-core/{p-BOJnNd1p.system.js.map → p-DgTp_KeO.system.js.map} +1 -1
- package/dist/pine-core/p-DjXmy34u.system.js.map +1 -0
- package/dist/pine-core/{p-_4gljHh-.js → p-DpOSrebJ.js} +1 -1
- package/dist/pine-core/p-DpOSrebJ.js.map +1 -0
- package/dist/pine-core/{p-B4W0_y2p.system.js → p-DyDReOdO.system.js} +1 -1
- package/dist/pine-core/p-DyDReOdO.system.js.map +1 -0
- package/dist/pine-core/{p-CLNi-hRD.system.js.map → p-EqAbQY8l.system.js.map} +1 -1
- package/dist/pine-core/p-Ke8SGZqs.system.js.map +1 -0
- package/dist/pine-core/{p-D-4Xbxlj.system.js.map → p-Mqxw-gWj.system.js.map} +1 -1
- package/dist/pine-core/{p-D5vuiRx2.system.js.map → p-PPIMiuZX.system.js.map} +1 -1
- package/dist/pine-core/{p-CnPERKGo.system.js.map → p-UhZHDNH2.system.js.map} +1 -1
- package/dist/pine-core/{p-d2ccda59.system.entry.js → p-a556a328.system.entry.js} +2 -2
- package/dist/pine-core/{p-6a2296e6.system.entry.js → p-a98cda38.system.entry.js} +2 -2
- package/dist/pine-core/{p-3f82ac77.system.entry.js → p-ab7e4700.system.entry.js} +2 -2
- package/dist/pine-core/{p-3798a631.system.entry.js → p-aeaae417.system.entry.js} +2 -2
- package/dist/pine-core/{p-b7ba6316.entry.js → p-b2820acd.entry.js} +2 -2
- package/dist/pine-core/{p-2296c34f.entry.js → p-bf699bad.entry.js} +2 -2
- package/dist/pine-core/{p-7b38e384.system.entry.js → p-c1909a5d.system.entry.js} +2 -2
- package/dist/pine-core/{p-984578f8.system.entry.js → p-c551191a.system.entry.js} +2 -2
- package/dist/pine-core/{p-1bd715ee.system.entry.js → p-c5e1ed09.system.entry.js} +2 -2
- package/dist/pine-core/p-c5e1ed09.system.entry.js.map +1 -0
- package/dist/pine-core/{p-596e0292.system.entry.js → p-cc21ddcc.system.entry.js} +2 -2
- package/dist/pine-core/{p-b2796d3c.system.entry.js → p-d0adaca0.system.entry.js} +2 -2
- package/dist/pine-core/{p-722012ac.entry.js → p-d28768d1.entry.js} +2 -2
- package/dist/pine-core/{p-24607f93.entry.js → p-d35b3494.entry.js} +2 -2
- package/dist/pine-core/{p-730221a8.system.entry.js → p-d553e05c.system.entry.js} +2 -2
- package/dist/pine-core/{p-04df41d7.system.entry.js → p-d6d453d8.system.entry.js} +2 -2
- package/dist/pine-core/p-dcda4ff5.system.entry.js +2 -0
- package/dist/pine-core/{p-1224c874.entry.js → p-ddcc4932.entry.js} +2 -2
- package/dist/pine-core/{p-c1b0f921.system.entry.js → p-de550d9e.system.entry.js} +2 -2
- package/dist/pine-core/p-dfd5a5b6.system.entry.js +2 -0
- package/dist/pine-core/p-dfd5a5b6.system.entry.js.map +1 -0
- package/dist/pine-core/p-e562ad73.system.entry.js +2 -0
- package/dist/pine-core/p-e562ad73.system.entry.js.map +1 -0
- package/dist/pine-core/p-e9f004c5.entry.js +2 -0
- package/dist/pine-core/p-e9f004c5.entry.js.map +1 -0
- package/dist/pine-core/{p-71265b2a.system.entry.js → p-f46c4618.system.entry.js} +2 -2
- package/dist/pine-core/{p-761946a0.entry.js → p-f6b226df.entry.js} +2 -2
- package/dist/pine-core/{p-bcc4edaa.entry.js → p-f99c59a8.entry.js} +2 -2
- package/dist/pine-core/{p-b3d05184.entry.js → p-fb1eb0c4.entry.js} +2 -2
- package/dist/pine-core/{p-367e188f.entry.js → p-fb2fb435.entry.js} +2 -2
- package/dist/pine-core/p-fd1ef1e1.entry.js +2 -0
- package/dist/pine-core/{p-85ff1482.entry.js → p-fdf3a5ff.entry.js} +2 -2
- package/dist/pine-core/p-fed5f55e.system.entry.js +2 -0
- package/dist/pine-core/pds-button.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-chip.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-tooltip.entry.esm.js.map +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/types/components/pds-chip/pds-chip.d.ts +9 -1
- package/dist/types/components/pds-input/pds-input.d.ts +57 -9
- package/dist/types/components/pds-select/pds-select.d.ts +4 -0
- package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +3 -0
- package/dist/types/components.d.ts +70 -6
- package/hydrate/index.js +187 -73
- package/hydrate/index.mjs +187 -73
- package/package.json +2 -2
- package/dist/cjs/index-CG2Rr2io.js.map +0 -1
- package/dist/esm/index-_4gljHh-.js.map +0 -1
- package/dist/esm-es5/index-_4gljHh-.js.map +0 -1
- package/dist/pine-core/p-0069abf8.system.entry.js +0 -2
- package/dist/pine-core/p-0069abf8.system.entry.js.map +0 -1
- package/dist/pine-core/p-1bd715ee.system.entry.js.map +0 -1
- package/dist/pine-core/p-1eec6bea.system.entry.js +0 -2
- package/dist/pine-core/p-1eec6bea.system.entry.js.map +0 -1
- package/dist/pine-core/p-21c3aaeb.entry.js +0 -2
- package/dist/pine-core/p-29ad0b86.entry.js +0 -2
- package/dist/pine-core/p-29ad0b86.entry.js.map +0 -1
- package/dist/pine-core/p-32bd3e33.entry.js +0 -2
- package/dist/pine-core/p-32bd3e33.entry.js.map +0 -1
- package/dist/pine-core/p-49265849.system.entry.js +0 -2
- package/dist/pine-core/p-71f01676.system.entry.js +0 -2
- package/dist/pine-core/p-742d4490.entry.js +0 -2
- package/dist/pine-core/p-742d4490.entry.js.map +0 -1
- package/dist/pine-core/p-7e92ec48.system.entry.js +0 -2
- package/dist/pine-core/p-7e92ec48.system.entry.js.map +0 -1
- package/dist/pine-core/p-7ff213bb.system.entry.js +0 -2
- package/dist/pine-core/p-8023086c.entry.js +0 -2
- package/dist/pine-core/p-8023086c.entry.js.map +0 -1
- package/dist/pine-core/p-929bb7ab.system.entry.js +0 -2
- package/dist/pine-core/p-B4W0_y2p.system.js.map +0 -1
- package/dist/pine-core/p-BO1OsmVU.system.js.map +0 -1
- package/dist/pine-core/p-CtAVdPaE.system.js.map +0 -1
- package/dist/pine-core/p-D8DRYw9w.system.js.map +0 -1
- package/dist/pine-core/p-DyQ_s5MV.system.js.map +0 -1
- package/dist/pine-core/p-_4gljHh-.js.map +0 -1
- package/dist/pine-core/p-abec6606.entry.js +0 -2
- package/dist/pine-core/p-abec6606.entry.js.map +0 -1
- package/dist/pine-core/p-b9c13f99.entry.js +0 -2
- package/dist/pine-core/p-d1b222f5.entry.js +0 -2
- package/dist/pine-core/p-e09a3682.system.entry.js +0 -2
- package/dist/pine-core/p-e09a3682.system.entry.js.map +0 -1
- package/dist/pine-core/p-e6d6e103.entry.js +0 -2
- package/dist/pine-core/p-xgOOHGQo.system.js.map +0 -1
- /package/dist/pine-core/{p-833f08f3.entry.js.map → p-04195bdb.entry.js.map} +0 -0
- /package/dist/pine-core/{p-4288c861.entry.js.map → p-07f45626.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0572825b.entry.js.map → p-0a11384e.entry.js.map} +0 -0
- /package/dist/pine-core/{p-28e28f42.system.entry.js.map → p-0a87e2fc.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-71f01676.system.entry.js.map → p-0c30661b.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-146fcd44.entry.js.map → p-10e2feff.entry.js.map} +0 -0
- /package/dist/pine-core/{p-bd04212c.system.entry.js.map → p-13481ef5.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c4294be2.entry.js.map → p-19c01019.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f2c807ac.entry.js.map → p-1d395d27.entry.js.map} +0 -0
- /package/dist/pine-core/{p-4ff0838c.entry.js.map → p-2007a0b5.entry.js.map} +0 -0
- /package/dist/pine-core/{p-78cb1c40.system.entry.js.map → p-27c0ffda.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-21c3aaeb.entry.js.map → p-35917a1a.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1b109c01.entry.js.map → p-3ea415b0.entry.js.map} +0 -0
- /package/dist/pine-core/{p-48e76945.system.entry.js.map → p-4b2aab79.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-77c3a10d.entry.js.map → p-51cc93b3.entry.js.map} +0 -0
- /package/dist/pine-core/{p-83252078.system.entry.js.map → p-5367f477.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a2572675.system.entry.js.map → p-593df966.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d6ac2862.system.entry.js.map → p-5a437fcd.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c0f74199.entry.js.map → p-60fbeb1c.entry.js.map} +0 -0
- /package/dist/pine-core/{p-e6d6e103.entry.js.map → p-65a875f6.entry.js.map} +0 -0
- /package/dist/pine-core/{p-30142a25.system.entry.js.map → p-6a7936e7.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-86d388a2.entry.js.map → p-76f7cf21.entry.js.map} +0 -0
- /package/dist/pine-core/{p-121e03ad.system.entry.js.map → p-78327c08.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-e2dc81c0.entry.js.map → p-78f29270.entry.js.map} +0 -0
- /package/dist/pine-core/{p-83c632f6.system.entry.js.map → p-79cb7835.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-e9d972db.system.entry.js.map → p-7bb3a5d4.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-17d3fa8b.entry.js.map → p-80f36506.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f47133fd.entry.js.map → p-8180b641.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a394645a.system.entry.js.map → p-833b2170.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-83ffc1cc.entry.js.map → p-86329612.entry.js.map} +0 -0
- /package/dist/pine-core/{p-cd2cd116.entry.js.map → p-8f06b020.entry.js.map} +0 -0
- /package/dist/pine-core/{p-78fb945e.system.entry.js.map → p-959c8247.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f9e01886.system.entry.js.map → p-96e9774e.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-929bb7ab.system.entry.js.map → p-9c01e81b.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d2ccda59.system.entry.js.map → p-a556a328.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-6a2296e6.system.entry.js.map → p-a98cda38.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3f82ac77.system.entry.js.map → p-ab7e4700.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3798a631.system.entry.js.map → p-aeaae417.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b7ba6316.entry.js.map → p-b2820acd.entry.js.map} +0 -0
- /package/dist/pine-core/{p-2296c34f.entry.js.map → p-bf699bad.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7b38e384.system.entry.js.map → p-c1909a5d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-984578f8.system.entry.js.map → p-c551191a.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-596e0292.system.entry.js.map → p-cc21ddcc.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b2796d3c.system.entry.js.map → p-d0adaca0.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-722012ac.entry.js.map → p-d28768d1.entry.js.map} +0 -0
- /package/dist/pine-core/{p-24607f93.entry.js.map → p-d35b3494.entry.js.map} +0 -0
- /package/dist/pine-core/{p-730221a8.system.entry.js.map → p-d553e05c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-04df41d7.system.entry.js.map → p-d6d453d8.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-49265849.system.entry.js.map → p-dcda4ff5.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1224c874.entry.js.map → p-ddcc4932.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c1b0f921.system.entry.js.map → p-de550d9e.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-71265b2a.system.entry.js.map → p-f46c4618.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-761946a0.entry.js.map → p-f6b226df.entry.js.map} +0 -0
- /package/dist/pine-core/{p-bcc4edaa.entry.js.map → p-f99c59a8.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b3d05184.entry.js.map → p-fb1eb0c4.entry.js.map} +0 -0
- /package/dist/pine-core/{p-367e188f.entry.js.map → p-fb2fb435.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b9c13f99.entry.js.map → p-fd1ef1e1.entry.js.map} +0 -0
- /package/dist/pine-core/{p-85ff1482.entry.js.map → p-fdf3a5ff.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7ff213bb.system.entry.js.map → p-fed5f55e.system.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -3147,7 +3147,7 @@ class MockPdsModal {
|
|
|
3147
3147
|
'pds-modal__backdrop': true,
|
|
3148
3148
|
'open': this.open,
|
|
3149
3149
|
};
|
|
3150
|
-
return (hAsync("div", { key: '
|
|
3150
|
+
return (hAsync("div", { key: 'e61d355aaf75d5adc97a3e930f898e075f54d931', class: backdropClasses }, hAsync("div", { key: '059c930eb27b9420ca294b2a7c07e53b15ce1c91', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null }, hAsync("div", { key: '9b2423c26eb6f015ee68f73805bd50965a32b5b0', class: "pds-modal__header" }, hAsync("slot", { key: '770d212b20667a1ea4dce88a345f4cbbed363e52', name: "header" })), hAsync("div", { key: '51821cd7d5323ae4543d354589ceabebf0c0ccb0', class: "pds-modal-content" }, hAsync("slot", { key: '475b5844c8f9ac44d7fc366b95ca282a908e0cbb' })), hAsync("div", { key: 'eb67b8e10942d51824296b82947025f8afee8a24', class: "pds-modal__footer" }, hAsync("slot", { key: 'b66c31cd4abfb8d30d5dc66735a367d99f149559', name: "footer" })))));
|
|
3151
3151
|
}
|
|
3152
3152
|
get el() { return getElement(this); }
|
|
3153
3153
|
static get style() { return pdsModalCss$1; }
|
|
@@ -3168,7 +3168,7 @@ class MockPdsModal {
|
|
|
3168
3168
|
}; }
|
|
3169
3169
|
}
|
|
3170
3170
|
|
|
3171
|
-
/* pds-icons v9.4.
|
|
3171
|
+
/* pds-icons v9.4.4, ES Modules */
|
|
3172
3172
|
|
|
3173
3173
|
const caretDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414'/></svg>";
|
|
3174
3174
|
const checkCircleFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m5.207 8.707a1 1 0 0 0-1.414-1.414L10.5 13.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0z'/></svg>";
|
|
@@ -3556,7 +3556,7 @@ const setColor = (color, customColors) => {
|
|
|
3556
3556
|
};
|
|
3557
3557
|
};
|
|
3558
3558
|
|
|
3559
|
-
const pdsButtonCss = ":host{--button-
|
|
3559
|
+
const pdsButtonCss = ":host{--pds-button-background:var(--color-background-default);--pds-button-border:var(--pine-border);--pds-button-border-radius:var(--pine-border-radius-full);--pds-button-border-radius-start-end:var(--pine-border-radius-full);--pds-button-border-radius-start-start:var(--pine-border-radius-full);--pds-button-border-radius-end-end:var(--pine-border-radius-full);--pds-button-border-radius-end-start:var(--pine-border-radius-full);--pds-button-min-height:40px;--color-border-default:transparent;--color-border-disabled:transparent;--color-border-focus:transparent;--color-border-hover:transparent;--button-loader-color:var(--color-text-default);display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}:host([full-width=true]){display:-ms-flexbox;display:flex;width:100%}:host([full-width=true]) button{-ms-flex-pack:center;justify-content:center;width:100%}:host([full-width=true]) .pds-button__content{-ms-flex-pack:center;justify-content:center;text-align:center}:host([loading=true]){cursor:wait;pointer-events:none}:host([disabled=true]){pointer-events:none}.pds-button{--pds-loader-color:var(--color-text-default);-ms-flex-align:center;align-items:center;background-color:var(--pds-button-background, var(--color-background-default));border:var(--pds-button-border);border-color:var(--color-border-default);border-end-end-radius:var(--pds-button-border-radius-end-end, var(--pds-button-border-radius));border-end-start-radius:var(--pds-button-border-radius-end-start, var(--pds-button-border-radius));border-radius:var(--pds-button-border-radius);border-start-end-radius:var(--pds-button-border-radius-start-end, var(--pds-button-border-radius));border-start-start-radius:var(--pds-button-border-radius-start-start, var(--pds-button-border-radius));-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--color-text-default);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-brand-label);letter-spacing:var(--pine-letter-spacing);min-height:var(--pds-button-min-height);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-decoration:none}.pds-button pds-icon{color:currentColor;fill:currentColor}.pds-button:hover{background-color:var(--color-background-hover);border-color:var(--color-border-hover)}.pds-button:focus-visible{border-color:var(--color-border-focus);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-button:disabled{background-color:var(--color-background-disabled);border-color:var(--color-border-disabled);color:var(--color-text-disabled);pointer-events:none}.pds-button--primary{--color-background-default:var(--pine-color-primary);--color-background-hover:var(--pine-color-primary-hover);--color-background-disabled:var(--pine-color-primary-disabled);--color-border-default:var(--pine-color-primary);--color-border-hover:var(--pine-color-primary-hover);--color-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-primary-disabled);--color-outline:var(--pine-color-focus-ring);--button-loader-color:var(--pine-color-text-primary)}.pds-button--accent{--color-background-default:var(--pine-color-accent);--color-background-hover:var(--pine-color-accent-hover);--color-background-disabled:var(--pine-color-accent-disabled);--color-border-default:var(--pine-color-accent);--color-border-hover:var(--pine-color-accent-hover);--color-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-accent-disabled);--color-outline:var(--pine-color-focus-ring);--button-loader-color:var(--pine-color-text-primary)}.pds-button--destructive{--color-background-default:var(--pine-color-danger);--color-background-hover:var(--pine-color-danger-hover);--color-background-disabled:var(--pine-color-danger-disabled);--color-border-default:var(--pine-color-danger);--color-border-hover:var(--pine-color-danger-hover);--color-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-danger-disabled);--color-outline:var(--pine-color-focus-ring-danger);--button-loader-color:var(--pine-color-text-primary)}.pds-button--destructive:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-button--secondary,.pds-button--disclosure{--color-background-default:var(--pine-color-secondary);--color-background-hover:var(--pine-color-secondary-hover);--color-background-disabled:var(--pine-color-secondary-disabled);--color-border-disabled:var(--pine-color-border-disabled);--color-border-focus:var(--pine-color-border);--color-border-hover:var(--pine-color-border-hover);--color-border-default:var(--pine-color-border);--color-text-default:var(--pine-color-text-secondary);--color-text-disabled:var(--pine-color-text-secondary-disabled);--color-outline:var(--pine-color-focus-ring);--button-loader-color:var(--pine-color-text-secondary)}.pds-button--secondary:hover,.pds-button--disclosure:hover{background-color:var(--pine-color-secondary-hover)}.pds-button--unstyled{--color-background-default:transparent;--color-background-hover:transparent;--color-background-disabled:transparent;--color-text-default:inherit;--button-loader-color:inherit;border-width:var(--pine-dimension-none);margin:var(--pine-dimension-none);min-height:auto;padding:var(--pine-dimension-none);width:inherit}.pds-button__content{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;gap:var(--pine-dimension-xs);position:relative;width:100%}.pds-button__icon{display:-ms-inline-flexbox;display:inline-flex}.pds-button__text{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex}.pds-button__icon--hidden,.pds-button__text--hidden{opacity:0}.pds-button__loader{height:var(--pine-dimension-250);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--pine-dimension-250)}.pds-button--loading{cursor:wait;pointer-events:none}.pds-button--loading .pds-button__loader pds-loader{--loader-color:var(--button-loader-color)}.pds-button--icon-only{-ms-flex-align:center;align-items:center;border-radius:var(--pine-border-radius-full);height:var(--button-dimension);-ms-flex-pack:center;justify-content:center;min-height:var(--button-dimension);min-width:var(--button-dimension);padding:var(--pine-dimension-xs);width:var(--button-dimension)}.pds-button--icon-only .pds-button__content{height:100%;-ms-flex-pack:center;justify-content:center;width:100%}.pds-button--icon-only .pds-button__text--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}";
|
|
3560
3560
|
|
|
3561
3561
|
/**
|
|
3562
3562
|
* @part button - Exposes the button element for styling.
|
|
@@ -3909,7 +3909,7 @@ class PdsCheckbox {
|
|
|
3909
3909
|
|
|
3910
3910
|
const pdsChipTokensCss = ":host{--pine-chip-color-accent:var(--pine-color-purple-100);--pine-chip-color-accent-hover:var(--pine-color-purple-300);--pine-chip-color-accent-dot:var(--pine-color-purple-600);--pine-chip-color-danger:var(--pine-color-red-100);--pine-chip-color-danger-hover:var(--pine-color-red-300);--pine-chip-color-danger-dot:var(--pine-color-red-600);--pine-chip-color-info:var(--pine-color-blue-100);--pine-chip-color-info-hover:var(--pine-color-blue-300);--pine-chip-color-info-dot:var(--pine-color-blue-600);--pine-chip-color-neutral:var(--pine-color-grey-100);--pine-chip-color-neutral-hover:var(--pine-color-grey-300);--pine-chip-color-neutral-dot:var(--pine-color-grey-600);--pine-chip-color-success:var(--pine-color-green-100);--pine-chip-color-success-hover:var(--pine-color-green-300);--pine-chip-color-success-dot:var(--pine-color-green-600);--pine-chip-color-warning:var(--pine-color-yellow-100);--pine-chip-color-warning-hover:var(--pine-color-yellow-300);--pine-chip-color-warning-dot:var(--pine-color-yellow-600)}";
|
|
3911
3911
|
|
|
3912
|
-
const pdsChipCss = ":host{--sizing-close:var(--pine-dimension-125);-ms-flex-align:center;align-items:center;border-radius:var(--pine-dimension-sm);display:-ms-inline-flexbox;display:inline-flex;padding-block:var(--pine-dimension-
|
|
3912
|
+
const pdsChipCss = ":host{--sizing-close:var(--pine-dimension-125);-ms-flex-align:center;align-items:center;border-radius:var(--pine-dimension-sm);display:-ms-inline-flexbox;display:inline-flex;padding-block:var(--pine-dimension-025);padding-inline:var(--pine-dimension-150)}:host(.pds-chip--accent){background:var(--pine-chip-color-accent);border:var(--pine-border-width) solid var(--pine-chip-color-accent-hover)}:host(.pds-chip--accent) .pds-chip__dot{background:var(--pine-chip-color-accent-dot)}:host(.pds-chip--accent) .pds-chip__label,:host(.pds-chip--accent) .pds-chip__button,:host(.pds-chip--accent) .pds-chip__close{color:var(--pine-color-text-accent);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--accent) .pds-chip__close:hover{background:var(--pine-chip-color-accent-hover)}:host(.pds-chip--accent.pds-chip--dropdown:hover){background:var(--pine-chip-color-accent-hover)}:host(.pds-chip--danger){background:var(--pine-chip-color-danger);border:var(--pine-border-width) solid var(--pine-chip-color-danger-hover)}:host(.pds-chip--danger) .pds-chip__dot{background:var(--pine-chip-color-danger-dot)}:host(.pds-chip--danger) .pds-chip__label,:host(.pds-chip--danger) .pds-chip__button,:host(.pds-chip--danger) .pds-chip__close{color:var(--pine-color-text-danger);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--danger) .pds-chip__close:hover{background:var(--pine-chip-color-danger-hover)}:host(.pds-chip--danger.pds-chip--dropdown:hover){background:var(--pine-chip-color-danger-hover)}:host(.pds-chip--info){background:var(--pine-chip-color-info);border:var(--pine-border-width) solid var(--pine-chip-color-info-hover)}:host(.pds-chip--info) .pds-chip__dot{background:var(--pine-chip-color-info-dot)}:host(.pds-chip--info) .pds-chip__label,:host(.pds-chip--info) .pds-chip__button,:host(.pds-chip--info) .pds-chip__close{color:var(--pine-color-text-info);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--info) .pds-chip__close:hover{background:var(--pine-chip-color-info-hover)}:host(.pds-chip--info.pds-chip--dropdown:hover){background:var(--pine-chip-color-info-hover)}:host(.pds-chip--neutral){background:var(--pine-chip-color-neutral);border:var(--pine-border-width) solid var(--pine-chip-color-neutral-hover)}:host(.pds-chip--neutral) .pds-chip__dot{background:var(--pine-chip-color-neutral-dot)}:host(.pds-chip--neutral) .pds-chip__label,:host(.pds-chip--neutral) .pds-chip__button,:host(.pds-chip--neutral) .pds-chip__close{color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--neutral) .pds-chip__close:hover{background:var(--pine-chip-color-neutral-hover)}:host(.pds-chip--neutral.pds-chip--dropdown:hover){background:var(--pine-chip-color-neutral-hover)}:host(.pds-chip--success){background:var(--pine-chip-color-success);border:var(--pine-border-width) solid var(--pine-chip-color-success-hover)}:host(.pds-chip--success) .pds-chip__dot{background:var(--pine-chip-color-success-dot)}:host(.pds-chip--success) .pds-chip__label,:host(.pds-chip--success) .pds-chip__button,:host(.pds-chip--success) .pds-chip__close{color:var(--pine-color-text-success);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--success) .pds-chip__close:hover{background:var(--pine-chip-color-success-hover)}:host(.pds-chip--success.pds-chip--dropdown:hover){background:var(--pine-chip-color-success-hover)}:host(.pds-chip--warning){background:var(--pine-chip-color-warning);border:var(--pine-border-width) solid var(--pine-chip-color-warning-hover)}:host(.pds-chip--warning) .pds-chip__dot{background:var(--pine-chip-color-warning-dot)}:host(.pds-chip--warning) .pds-chip__label,:host(.pds-chip--warning) .pds-chip__button,:host(.pds-chip--warning) .pds-chip__close{color:var(--pine-color-text-warning);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--warning) .pds-chip__close:hover{background:var(--pine-chip-color-warning-hover)}:host(.pds-chip--warning.pds-chip--dropdown:hover){background:var(--pine-chip-color-warning-hover)}.pds-chip__dot{border:var(--pine-border-width) solid transparent;border-radius:var(--pine-border-radius-full);display:inline-block;height:var(--pine-dimension-2xs);-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs);width:var(--pine-dimension-2xs)}.pds-chip__label{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.pds-chip__label pds-icon{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}.pds-chip__label,.pds-chip__button{font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}:host(.pds-chip--dropdown){padding:var(--pine-dimension-none)}.pds-chip__button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:var(--pine-dimension-none);border-radius:var(--pine-dimension-sm);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-025) var(--pine-dimension-150)}.pds-chip__button:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-chip__button pds-icon:first-child{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}.pds-chip__button pds-icon:last-child{-webkit-margin-end:calc(var(--pine-dimension-025) * -1);margin-inline-end:calc(var(--pine-dimension-025) * -1);-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs)}.pds-chip__close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--pine-border-radius-full);height:var(--sizing-close);-webkit-margin-end:calc(var(--pine-dimension-xs) * -1);margin-inline-end:calc(var(--pine-dimension-xs) * -1);-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs);padding:var(--sizing-close);position:relative;width:var(--sizing-close)}.pds-chip__close pds-icon{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.pds-chip__close:focus-visible{outline:var(--pine-outline-focus)}:host(.pds-chip--large){padding-block:var(--pine-dimension-025);padding-inline:var(--pine-dimension-150)}:host(.pds-chip--large) .pds-chip__label,:host(.pds-chip--large) .pds-chip__button{font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-heading-6);font-weight:var(--pine-font-weight-medium);letter-spacing:var(--pine-letter-spacing-heading-6)}:host(.pds-chip--large.pds-chip--dropdown){padding:var(--pine-dimension-none)}:host(.pds-chip--large.pds-chip--dropdown) .pds-chip__button{padding:var(--pine-dimension-025) var(--pine-dimension-150)}:host(.pds-chip--brand){background:-webkit-gradient(linear, left top, right top, from(#FF3E14), to(#6B62F2));background:linear-gradient(90deg, #FF3E14 0%, #6B62F2 100%);border:0;padding:1px;position:relative}:host(.pds-chip--brand) .pds-chip__label{background:rgba(255, 255, 255, 0.9);border-radius:calc(var(--pine-dimension-sm) - 1px);color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium);padding:var(--pine-dimension-025) var(--pine-dimension-150);position:relative;z-index:1}:host(.pds-chip--brand) .pds-chip__label pds-icon{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}:host(.pds-chip--brand) .pds-chip__button,:host(.pds-chip--brand) .pds-chip__close{color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium);position:relative;z-index:1}:host(.pds-chip--brand) .pds-chip__button pds-icon:first-child{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}:host(.pds-chip--brand) .pds-chip__close:hover{background:rgba(255, 255, 255, 0.8)}";
|
|
3913
3913
|
|
|
3914
3914
|
/**
|
|
3915
3915
|
* @slot (default) - The chip's label text.
|
|
@@ -3920,6 +3920,7 @@ class PdsChip {
|
|
|
3920
3920
|
this.pdsTagCloseClick = createEvent(this, "pdsTagCloseClick");
|
|
3921
3921
|
/**
|
|
3922
3922
|
* Determines whether a dot should be displayed on the chip.
|
|
3923
|
+
* Note: This prop is ignored when sentiment is 'brand'.
|
|
3923
3924
|
* @defaultValue false
|
|
3924
3925
|
*/
|
|
3925
3926
|
this.dot = false;
|
|
@@ -3935,6 +3936,7 @@ class PdsChip {
|
|
|
3935
3936
|
this.sentiment = 'neutral';
|
|
3936
3937
|
/**
|
|
3937
3938
|
* Sets the style variant of the chip.
|
|
3939
|
+
* Note: This prop is ignored when sentiment is 'brand'.
|
|
3938
3940
|
* @defaultValue 'text'
|
|
3939
3941
|
*/
|
|
3940
3942
|
this.variant = 'text';
|
|
@@ -3947,21 +3949,33 @@ class PdsChip {
|
|
|
3947
3949
|
if (this.large) {
|
|
3948
3950
|
classNames.push('pds-chip--large');
|
|
3949
3951
|
}
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
+
// For brand sentiment, always use text variant
|
|
3953
|
+
const effectiveVariant = this.sentiment === 'brand' ? 'text' : this.variant;
|
|
3954
|
+
if (effectiveVariant) {
|
|
3955
|
+
classNames.push('pds-chip--' + effectiveVariant);
|
|
3952
3956
|
}
|
|
3953
3957
|
if (this.sentiment) {
|
|
3954
3958
|
classNames.push('pds-chip--' + this.sentiment);
|
|
3955
3959
|
}
|
|
3956
3960
|
return classNames.join(' ');
|
|
3957
3961
|
}
|
|
3962
|
+
get effectiveVariant() {
|
|
3963
|
+
// For brand sentiment, force text variant behavior
|
|
3964
|
+
return this.sentiment === 'brand' ? 'text' : this.variant;
|
|
3965
|
+
}
|
|
3966
|
+
get iconSize() {
|
|
3967
|
+
// Icon size based on large prop
|
|
3968
|
+
return this.large ? '14px' : '12px';
|
|
3969
|
+
}
|
|
3958
3970
|
setChipContent() {
|
|
3959
|
-
const isDropdown = this.
|
|
3960
|
-
|
|
3971
|
+
const isDropdown = this.effectiveVariant === 'dropdown';
|
|
3972
|
+
// For brand sentiment, ignore dot prop
|
|
3973
|
+
const showDot = this.sentiment === 'brand' ? false : this.dot;
|
|
3974
|
+
const chipContent = isDropdown ? (hAsync("button", { class: "pds-chip__button", type: "button" }, this.icon && hAsync("pds-icon", { icon: this.icon, size: this.iconSize, "aria-hidden": "true" }), showDot && hAsync("i", { class: "pds-chip__dot", "aria-hidden": "true" }), hAsync("slot", null), hAsync("pds-icon", { icon: downSmall, size: this.iconSize, "aria-hidden": "true" }))) : (hAsync("span", { class: "pds-chip__label" }, this.icon && hAsync("pds-icon", { icon: this.icon, size: this.iconSize, "aria-hidden": "true" }), showDot && hAsync("i", { class: "pds-chip__dot", "aria-hidden": "true" }), hAsync("slot", null)));
|
|
3961
3975
|
return chipContent;
|
|
3962
3976
|
}
|
|
3963
3977
|
render() {
|
|
3964
|
-
return (hAsync(Host, { key: '
|
|
3978
|
+
return (hAsync(Host, { key: '87b74bdc74dcf3d0a7e9818a9643abcaac6ed732', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.effectiveVariant === 'tag' && (hAsync("button", { key: '98644f17a57514b541cd00be5c0972e589f7c44e', class: "pds-chip__close", type: "button", onClick: this.handleCloseClick, "aria-label": "Remove" }, hAsync("pds-icon", { key: '056913f77f7179db7e8f6f8b69df18c4bd98b891', icon: remove, size: this.iconSize })))));
|
|
3965
3979
|
}
|
|
3966
3980
|
static get style() { return pdsChipTokensCss + pdsChipCss; }
|
|
3967
3981
|
static get cmpMeta() { return {
|
|
@@ -3970,6 +3984,7 @@ class PdsChip {
|
|
|
3970
3984
|
"$members$": {
|
|
3971
3985
|
"componentId": [1, "component-id"],
|
|
3972
3986
|
"dot": [4],
|
|
3987
|
+
"icon": [1],
|
|
3973
3988
|
"large": [4],
|
|
3974
3989
|
"sentiment": [1],
|
|
3975
3990
|
"variant": [1]
|
|
@@ -6087,8 +6102,14 @@ const pdsInputTokensCss$1 = ":host{--pine-input-color-background-danger:var(--pi
|
|
|
6087
6102
|
|
|
6088
6103
|
const labelCss$4 = ":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)}";
|
|
6089
6104
|
|
|
6090
|
-
const pdsInputCss = ":host{display:inline}:host([aria-readonly=true]) input{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-readonly)}.pds-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.pds-input__label{-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-input__field{
|
|
6105
|
+
const pdsInputCss = ":host{--pds-input-background:var(--pine-color-background-container);--pds-input-border-color:var(--pine-color-border);--pds-input-border-color-hover:var(--pine-color-border-hover);--pds-input-border-color-disabled:var(--pine-color-border-disabled);--pds-input-border-radius:var(--pine-dimension-125);--pds-input-border-width:var(--pine-border-width-thin);--pds-input-padding-x:var(--pine-dimension-150);--pds-input-padding-y:var(--pine-dimension-xs);--pds-input-font:var(--pine-typography-body);--pds-input-text-color:var(--pine-color-text-active);--pds-input-placeholder-color:var(--pine-color-text-placeholder);--pds-input-icon-color:var(--pine-color-text-secondary);--pds-input-disabled-background:var(--pine-color-background-container-disabled);--pds-input-disabled-text-color:var(--pine-color-text-disabled);--pds-input-error-color:var(--pine-color-text-message-danger);--pds-input-error-background:var(--pine-input-color-background-danger);--pds-input-error-border:var(--pine-color-border-danger);--pds-input-error-border-hover:var(--pine-color-border-danger-hover);--pds-input-addon-background:var(--pine-color-background-subtle);--pds-input-addon-color:var(--pine-color-text-secondary);--pds-input-field-min-height:calc(var(--pine-dimension-450) + 2px);--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);display:inline}:host pds-select::part(select){background-color:var(--pds-input-error-background);border-color:var(--pds-input-error-border)}:host::part(prefix),:host::part(suffix){-ms-flex-align:center;align-items:center;color:var(--pine-color-text-label-readonly);display:-ms-flexbox;display:flex;height:100%;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);white-space:nowrap;z-index:1}:host::part(prefix){border-end-start-radius:var(--pds-input-border-radius);-webkit-border-end:var(--pine-border-width-none);border-inline-end:var(--pine-border-width-none);border-start-start-radius:var(--pds-input-border-radius);left:var(--pds-input-padding-x)}:host::part(suffix){border-end-end-radius:var(--pds-input-border-radius);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);border-start-end-radius:var(--pds-input-border-radius);right:var(--pds-input-padding-x)}:host::part(prepend),:host::part(append){-ms-flex-align:center;align-items:center;background-color:var(--pds-input-addon-background);border:var(--pds-input-border-width) solid var(--pds-input-border-color);color:var(--pds-input-addon-color);display:-ms-flexbox;display:flex}:host::part(prepend){border-end-start-radius:var(--pds-input-border-radius);-webkit-border-end:var(--pine-border-width-none);border-inline-end:var(--pine-border-width-none);border-start-start-radius:var(--pds-input-border-radius)}:host::part(append){border-end-end-radius:var(--pds-input-border-radius);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);border-start-end-radius:var(--pds-input-border-radius)}:host([has-prepend]) ::slotted(pds-button[slot=prepend]){--pds-button-background:var(--pds-input-addon-background);--pds-button-border:var(--pine-border-width-none);--pds-button-border-radius-end-end:var(--pine-dimension-none);--pds-button-border-radius-start-end:var(--pine-dimension-none);--pds-button-min-height:var(--pine-dimension-450)}:host([has-append]) ::slotted(pds-button[slot=append]){--pds-button-background:var(--pds-input-addon-background);--pds-button-border:var(--pine-border-width-none);--pds-button-border-radius-end-start:var(--pine-dimension-none);--pds-button-border-radius-start-start:var(--pine-dimension-none);--pds-button-min-height:var(--pine-dimension-450)}:host([has-prepend]) ::slotted(pds-select[slot=prepend]){--pds-select-background:var(--pds-input-addon-background);--pds-select-border:var(--pine-border-width-none);--pds-select-border-radius-end-end:var(--pine-dimension-none);--pds-select-border-radius-start-end:var(--pine-dimension-none);--pds-select-min-height:var(--pine-dimension-450)}:host([has-append]) ::slotted(pds-select[slot=append]){--pds-select-background:var(--pds-input-addon-background);--pds-select-border:var(--pine-border-width-none);--pds-select-border-radius-end-start:var(--pine-dimension-none);--pds-select-border-radius-start-start:var(--pine-dimension-none);--pds-select-min-height:var(--pine-dimension-450)}:host([aria-readonly=true]) input{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-readonly)}:host([disabled=true])::part(prepend),:host([disabled=true])::part(append){background-color:var(--pds-input-disabled-background);border:var(--pds-input-border-width) solid var(--pds-input-border-color-disabled)}:host([invalid=true])::part(prepend),:host([invalid=true])::part(append){background-color:var(--pds-input-error-background);border:var(--pds-input-border-width) solid var(--pds-input-error-border)}.pds-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--pine-dimension-2xs)}.pds-input__label{color:var(--pine-color-text-active);font:var(--pine-typography-body-sm-medium);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-input__field-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;position:relative;width:100%}.pds-input__field-wrapper.has-prefix .pds-input__field{-webkit-padding-start:calc(2 * var(--pds-input-padding-x) + var(--prefix-width, 1em));padding-inline-start:calc(2 * var(--pds-input-padding-x) + var(--prefix-width, 1em))}.pds-input__field-wrapper.has-suffix .pds-input__field{-webkit-padding-end:calc(2 * var(--pds-input-padding-x) + var(--suffix-width, 1em));padding-inline-end:calc(2 * var(--pds-input-padding-x) + var(--suffix-width, 1em))}.pds-input__field-wrapper.has-prepend .pds-input__field{border-end-start-radius:var(--pine-dimension-none);border-start-start-radius:var(--pine-dimension-none)}.pds-input__field-wrapper.has-append .pds-input__field{border-end-end-radius:var(--pine-dimension-none);border-start-end-radius:var(--pine-dimension-none)}.pds-input__field{background:var(--pds-input-background);border:var(--pds-input-border-width) solid var(--pds-input-border-color);border-radius:var(--pds-input-border-radius);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--pds-input-text-color);-ms-flex:1;flex:1;font:var(--pds-input-font);letter-spacing:var(--pine-letter-spacing);min-height:var(--pds-input-field-min-height);min-width:var(--pine-dimension-none);padding:var(--pds-input-padding-y) var(--pds-input-padding-x);-webkit-transition:border-color 0.2s ease;transition:border-color 0.2s ease;width:100%}.pds-input__field:hover:not(:disabled){border-color:var(--pds-input-border-color-hover)}.pds-input__field:disabled{background:var(--pds-input-disabled-background);border-color:var(--pine-color-border-disabled);color:var(--pds-input-disabled-text-color);cursor:not-allowed}.pds-input__field:disabled::-webkit-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::-moz-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled:-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::placeholder{color:var(--pine-color-text-placeholder-disabled)}.has-error .pds-input__field:hover:not(:disabled){border-color:var(--pds-input-error-border-hover)}.pds-input__field:focus-visible:not(.has-error){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}:host([has-prepend]) .pds-input__field:focus-visible:not(.has-error),:host([has-append]) .pds-input__field:focus-visible:not(.has-error),:host([has-prefix]) .pds-input__field:focus-visible:not(.has-error),:host([has-suffix]) .pds-input__field:focus-visible:not(.has-error){outline-offset:var(--pine-dimension-none)}.pds-input__field::-webkit-input-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field::-moz-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field:-ms-input-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field::-ms-input-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field::placeholder{color:var(--pds-input-placeholder-color)}.has-error .pds-input__field{background-color:var(--pds-input-error-background);border-color:var(--pds-input-error-border)}.has-error .pds-input__field:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-input__error-message,.pds-input__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-after:var(--pine-dimension-none);margin-block-end:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-input__error-message{-ms-flex-align:center;align-items:center;color:var(--pds-input-error-color);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}";
|
|
6091
6106
|
|
|
6107
|
+
/**
|
|
6108
|
+
* @slot append - Content to be displayed after the input field
|
|
6109
|
+
* @slot prefix - Content that is displayed visually within the input field before the input field
|
|
6110
|
+
* @slot prepend - Content to be displayed before the input field
|
|
6111
|
+
* @slot suffix - Content that is displayed visually within the input field after the input field
|
|
6112
|
+
*/
|
|
6092
6113
|
class PdsInput {
|
|
6093
6114
|
constructor(hostRef) {
|
|
6094
6115
|
registerInstance(this, hostRef);
|
|
@@ -6098,6 +6119,22 @@ class PdsInput {
|
|
|
6098
6119
|
this.pdsInput = createEvent(this, "pdsInput");
|
|
6099
6120
|
this.inheritedAttributes = {};
|
|
6100
6121
|
this.isComposing = false;
|
|
6122
|
+
/**
|
|
6123
|
+
* If true, the input has prefix content (non-focusable)
|
|
6124
|
+
*/
|
|
6125
|
+
this.hasPrefix = false;
|
|
6126
|
+
/**
|
|
6127
|
+
* If true, the input has suffix content (non-focusable)
|
|
6128
|
+
*/
|
|
6129
|
+
this.hasSuffix = false;
|
|
6130
|
+
/**
|
|
6131
|
+
* If true, the input has prepend content (focusable)
|
|
6132
|
+
*/
|
|
6133
|
+
this.hasPrepend = false;
|
|
6134
|
+
/**
|
|
6135
|
+
* If true, the input has append content (focusable)
|
|
6136
|
+
*/
|
|
6137
|
+
this.hasAppend = false;
|
|
6101
6138
|
/**
|
|
6102
6139
|
* Determines the type of control that will be displayed
|
|
6103
6140
|
* `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`, `'url'`
|
|
@@ -6154,6 +6191,62 @@ class PdsInput {
|
|
|
6154
6191
|
this.nativeInput.focus();
|
|
6155
6192
|
}
|
|
6156
6193
|
}
|
|
6194
|
+
updateAddonWidths() {
|
|
6195
|
+
requestAnimationFrame(() => {
|
|
6196
|
+
if (this.prefixEl) {
|
|
6197
|
+
const prefixWidth = this.prefixEl.offsetWidth;
|
|
6198
|
+
this.el.style.setProperty('--prefix-width', `${prefixWidth}px`);
|
|
6199
|
+
}
|
|
6200
|
+
if (this.suffixEl) {
|
|
6201
|
+
const suffixWidth = this.suffixEl.offsetWidth;
|
|
6202
|
+
this.el.style.setProperty('--suffix-width', `${suffixWidth}px`);
|
|
6203
|
+
}
|
|
6204
|
+
});
|
|
6205
|
+
}
|
|
6206
|
+
renderPrefix() {
|
|
6207
|
+
const hasPrefix = this.el.querySelector('[slot="prefix"]') !== null;
|
|
6208
|
+
if (hasPrefix) {
|
|
6209
|
+
return (hAsync("div", { class: "pds-input__prefix", part: "prefix", ref: (el) => this.prefixEl = el }, hAsync("slot", { name: "prefix", onSlotchange: () => this.updateAddonWidths() })));
|
|
6210
|
+
}
|
|
6211
|
+
return null;
|
|
6212
|
+
}
|
|
6213
|
+
renderSuffix() {
|
|
6214
|
+
const hasSuffix = this.el.querySelector('[slot="suffix"]') !== null;
|
|
6215
|
+
if (hasSuffix) {
|
|
6216
|
+
return (hAsync("div", { class: "pds-input__suffix", part: "suffix", ref: (el) => this.suffixEl = el }, hAsync("slot", { name: "suffix", onSlotchange: () => this.updateAddonWidths() })));
|
|
6217
|
+
}
|
|
6218
|
+
return null;
|
|
6219
|
+
}
|
|
6220
|
+
renderPrepend() {
|
|
6221
|
+
const hasPrepend = this.el.querySelector('[slot="prepend"]') !== null;
|
|
6222
|
+
if (hasPrepend) {
|
|
6223
|
+
return (hAsync("div", { class: "pds-input__prepend", part: "prepend" }, hAsync("slot", { name: "prepend" })));
|
|
6224
|
+
}
|
|
6225
|
+
return null;
|
|
6226
|
+
}
|
|
6227
|
+
renderAppend() {
|
|
6228
|
+
const hasAppend = this.el.querySelector('[slot="append"]') !== null;
|
|
6229
|
+
if (hasAppend) {
|
|
6230
|
+
return (hAsync("div", { class: "pds-input__append", part: "append" }, hAsync("slot", { name: "append" })));
|
|
6231
|
+
}
|
|
6232
|
+
return null;
|
|
6233
|
+
}
|
|
6234
|
+
componentWillLoad() {
|
|
6235
|
+
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
6236
|
+
this.hasPrefix = this.el.querySelector('[slot="prefix"]') !== null;
|
|
6237
|
+
this.hasSuffix = this.el.querySelector('[slot="suffix"]') !== null;
|
|
6238
|
+
this.hasPrepend = this.el.querySelector('[slot="prepend"]') !== null;
|
|
6239
|
+
this.hasAppend = this.el.querySelector('[slot="append"]') !== null;
|
|
6240
|
+
// Store the original pdsInput event emitter
|
|
6241
|
+
this.originalPdsInput = this.pdsInput;
|
|
6242
|
+
}
|
|
6243
|
+
componentDidLoad() {
|
|
6244
|
+
this.debounceChanged();
|
|
6245
|
+
this.updateAddonWidths();
|
|
6246
|
+
}
|
|
6247
|
+
componentDidUpdate() {
|
|
6248
|
+
this.updateAddonWidths();
|
|
6249
|
+
}
|
|
6157
6250
|
debounceChanged() {
|
|
6158
6251
|
const { pdsInput, debounce, originalPdsInput } = this;
|
|
6159
6252
|
/**
|
|
@@ -6182,7 +6275,6 @@ class PdsInput {
|
|
|
6182
6275
|
this.pdsChange.emit({ value: newValue, event });
|
|
6183
6276
|
}
|
|
6184
6277
|
/**
|
|
6185
|
-
*
|
|
6186
6278
|
* Emits a `pdsInput` event
|
|
6187
6279
|
*/
|
|
6188
6280
|
emitInputChange(event) {
|
|
@@ -6191,24 +6283,20 @@ class PdsInput {
|
|
|
6191
6283
|
const newValue = value == null ? value : value.toString();
|
|
6192
6284
|
this.pdsInput.emit({ value: newValue, event });
|
|
6193
6285
|
}
|
|
6194
|
-
componentWillLoad() {
|
|
6195
|
-
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
6196
|
-
}
|
|
6197
|
-
componentDidLoad() {
|
|
6198
|
-
this.debounceChanged();
|
|
6199
|
-
}
|
|
6200
|
-
inputClassNames() {
|
|
6201
|
-
const classNames = ['pds-input__field'];
|
|
6202
|
-
if (this.invalid && this.invalid === true) {
|
|
6203
|
-
classNames.push('is-invalid');
|
|
6204
|
-
}
|
|
6205
|
-
return classNames.join(' ');
|
|
6206
|
-
}
|
|
6207
6286
|
render() {
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6287
|
+
const { componentId, disabled, errorMessage, helperMessage, invalid = false, label, } = this;
|
|
6288
|
+
const value = this.getValue();
|
|
6289
|
+
const inputWrapperClasses = {
|
|
6290
|
+
'pds-input__field-wrapper': true,
|
|
6291
|
+
'has-focus': this.hasFocus,
|
|
6292
|
+
'has-error': invalid || !!errorMessage,
|
|
6293
|
+
'is-disabled': disabled,
|
|
6294
|
+
'has-prefix': this.hasPrefix,
|
|
6295
|
+
'has-suffix': this.hasSuffix,
|
|
6296
|
+
'has-prepend': this.hasPrepend,
|
|
6297
|
+
'has-append': this.hasAppend,
|
|
6298
|
+
};
|
|
6299
|
+
return (hAsync(Host, { key: '6ae7251aeee049e0e4f3a66c7d947a3ceb7d2b26', "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 }, hAsync("div", { key: 'f397d329cf587b9bdf699a0c80a3bdb9c1de0b53', class: "pds-input" }, label && (hAsync("label", { key: '7e5523268dd59acb3fbf2bd659f319cc458166c0', htmlFor: componentId, class: "pds-input__label" }, label, this.required && hAsync("span", { key: 'f197ce55768d8409c9c7832af56e0a6bdc27e90a', class: "pds-input__required-indicator" }, " *"))), hAsync("div", { key: 'ad92476c65ad280622a8aa8c731609aff8ec51a4', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), hAsync("input", Object.assign({ key: '187ee16cc7458af1dc06a7f424ce6bc2ffede359', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage), "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, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (hAsync("p", { key: 'c11daa2e4ed085033d90a3e9185dd7beb259aa9e', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (hAsync("p", { key: 'd5adbb495bd7abd83655390e0d34cbdf527b656a', class: "pds-input__error-message", id: messageId(componentId, 'error') }, hAsync("pds-icon", { key: 'd1a80c2d7e6f8389488fe2c0bb6dd1923536588a', icon: danger, size: "small" }), errorMessage)))));
|
|
6212
6300
|
}
|
|
6213
6301
|
get el() { return getElement(this); }
|
|
6214
6302
|
static get watchers() { return {
|
|
@@ -6228,12 +6316,22 @@ class PdsInput {
|
|
|
6228
6316
|
"helperMessage": [1, "helper-message"],
|
|
6229
6317
|
"invalid": [4],
|
|
6230
6318
|
"label": [1],
|
|
6319
|
+
"max": [1],
|
|
6320
|
+
"maxlength": [1],
|
|
6321
|
+
"min": [1],
|
|
6322
|
+
"minlength": [1],
|
|
6231
6323
|
"name": [1],
|
|
6324
|
+
"pattern": [1],
|
|
6232
6325
|
"placeholder": [1],
|
|
6233
6326
|
"readonly": [4],
|
|
6234
6327
|
"required": [4],
|
|
6328
|
+
"step": [1],
|
|
6235
6329
|
"type": [1],
|
|
6236
6330
|
"value": [1032],
|
|
6331
|
+
"hasPrefix": [32],
|
|
6332
|
+
"hasSuffix": [32],
|
|
6333
|
+
"hasPrepend": [32],
|
|
6334
|
+
"hasAppend": [32],
|
|
6237
6335
|
"hasFocus": [32],
|
|
6238
6336
|
"setFocus": [64]
|
|
6239
6337
|
},
|
|
@@ -6290,8 +6388,8 @@ class PdsLink {
|
|
|
6290
6388
|
return linkStyles;
|
|
6291
6389
|
}
|
|
6292
6390
|
render() {
|
|
6293
|
-
return (hAsync("a", { key: '
|
|
6294
|
-
hAsync("pds-icon", { key: '
|
|
6391
|
+
return (hAsync("a", { key: 'f2b3e7f26b833f7b187fce6f36c392415e2499df', class: this.classNames(), href: this.href, id: this.componentId, part: "link", target: this.external ? '_blank' : undefined, style: this.setLinkStyles() }, hAsync("slot", { key: 'c85c0add786ab8a90f7cb0d12b75d65a51b8e313' }, this.href), this.external &&
|
|
6392
|
+
hAsync("pds-icon", { key: '2ce9fa8d29168659546bc95b0633815978142bbb', icon: launch, size: this.fontSize })));
|
|
6295
6393
|
}
|
|
6296
6394
|
static get style() { return pdsLinkCss; }
|
|
6297
6395
|
static get cmpMeta() { return {
|
|
@@ -6360,7 +6458,7 @@ class PdsLoader {
|
|
|
6360
6458
|
}
|
|
6361
6459
|
}
|
|
6362
6460
|
render() {
|
|
6363
|
-
return (hAsync(Host, { key: '
|
|
6461
|
+
return (hAsync(Host, { key: '5f9677b6338e4b1d7df0ab3182c91ecae4c5c857', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (hAsync("div", { key: '5083b0fd6d468439dd0faa4375107c2cddc49812', class: "pds-loader--spinner" }, hAsync("svg", { key: '689659c659901091215e3745e1778613dc8c64dc', style: this.style(), viewBox: "0 0 200 200", fill: "none" }, hAsync("defs", { key: '2f20b260a1155a966abb9f8d0541374d707d4c09' }, hAsync("linearGradient", { key: '2049a48645d6c02c3e5b4a659cb3767af297172a', id: "spinner-secondHalf" }, hAsync("stop", { key: '8a51fd7117b39505d6e40ded168c1a323f19d791', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), hAsync("stop", { key: '7a5273675a64eb794b8bbe513fa3fbfddb2b8b6b', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), hAsync("linearGradient", { key: '12ea88879ebbd8c207e9d5e5838505796c747fd6', id: "spinner-firstHalf" }, hAsync("stop", { key: '08a2198273017b0feeb16ec93a1a1daed34ada94', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), hAsync("stop", { key: '02ac704dd21ba49f579f0f305123b53333ae669e', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), hAsync("g", { key: 'feb3d05f93da9f8d67181864d318678d2930b1dd', class: "pds-loader__spinner-path" }, hAsync("path", { key: 'dde73e34e0a78bdd87f33212eb21a25e0c212b4f', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), hAsync("path", { key: 'ce0c541df6294f6b08772d89cf791f0e6342ec0b', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), hAsync("path", { key: '25fae107003b2c9172131b54a97ecd9780ac4e42', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (hAsync("div", { key: '7b467d87b5d4c0dbd96a277868bc587544259cff', class: "pds-loader--typing" }, hAsync("span", { key: '1e0833eec5fc48e990bbfa7ce4e724a1eee019ad' }), hAsync("span", { key: 'ef517f1aafca68e77fed199552a7a468ac8b37b2' }), hAsync("span", { key: 'b6379ba5b3e1fb88c5ce0478bb51bf4471bd6dd1' }))), hAsync("div", { key: '6148a67bddb3749b8778f5a97d381f01096fda23', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, hAsync("slot", { key: '774fd7274d111b17afe9ef0740e64448c6fcd8d4', name: "label" }, "Loading..."))));
|
|
6364
6462
|
}
|
|
6365
6463
|
static get style() { return pdsLoaderCss; }
|
|
6366
6464
|
static get cmpMeta() { return {
|
|
@@ -6611,10 +6709,10 @@ class PdsModal {
|
|
|
6611
6709
|
return thisZIndex === maxZIndex;
|
|
6612
6710
|
}
|
|
6613
6711
|
render() {
|
|
6614
|
-
return (hAsync("dialog", { key: '
|
|
6712
|
+
return (hAsync("dialog", { key: '6ec691cfcf4865baeeba14f097d5e647a3201dba', class: {
|
|
6615
6713
|
'pds-modal__backdrop': true,
|
|
6616
6714
|
'open': this.open
|
|
6617
|
-
}, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, hAsync("div", { key: '
|
|
6715
|
+
}, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, hAsync("div", { key: 'b7c4681717bfc0d095653c7dcf1a0e42cf069e8b', class: `pds-modal pds-modal--${this.size} pds-modal--scrollable` }, hAsync("slot", { key: '9ca7f711579587c2f49fd19f81a488192d62ce72' }))));
|
|
6618
6716
|
}
|
|
6619
6717
|
get el() { return getElement(this); }
|
|
6620
6718
|
static get watchers() { return {
|
|
@@ -6715,10 +6813,10 @@ class PdsModalContent {
|
|
|
6715
6813
|
}
|
|
6716
6814
|
}
|
|
6717
6815
|
render() {
|
|
6718
|
-
return (hAsync(Host, { key: '
|
|
6816
|
+
return (hAsync(Host, { key: '6b214e3462d8e1e1cb58d6c0075b3143e0db2d51' }, hAsync("div", { key: '2f6a2daeb09a99f096cd46230813fe1b9a6950e9', class: {
|
|
6719
6817
|
'pds-modal-content': true,
|
|
6720
6818
|
[`pds-modal-content--border-${this.border}`]: true
|
|
6721
|
-
}, style: { maxHeight: this.contentMaxHeight }, tabindex: "-1" }, hAsync("slot", { key: '
|
|
6819
|
+
}, style: { maxHeight: this.contentMaxHeight }, tabindex: "-1" }, hAsync("slot", { key: '8392cc48a2dba0f32d4a83e642bd3f295832251b' }))));
|
|
6722
6820
|
}
|
|
6723
6821
|
get el() { return getElement(this); }
|
|
6724
6822
|
static get style() { return pdsModalContentCss; }
|
|
@@ -6742,7 +6840,7 @@ class PdsModalFooter {
|
|
|
6742
6840
|
registerInstance(this, hostRef);
|
|
6743
6841
|
}
|
|
6744
6842
|
render() {
|
|
6745
|
-
return (hAsync("footer", { key: '
|
|
6843
|
+
return (hAsync("footer", { key: '63d1121b84d10ea99354d07b029b7625d52d9095', class: "pds-modal__footer" }, hAsync("slot", { key: 'dd08fc600f122e422ccd3161bc558f3b9cc075f9' })));
|
|
6746
6844
|
}
|
|
6747
6845
|
static get style() { return pdsModalFooterCss; }
|
|
6748
6846
|
static get cmpMeta() { return {
|
|
@@ -6762,7 +6860,7 @@ class PdsModalHeader {
|
|
|
6762
6860
|
registerInstance(this, hostRef);
|
|
6763
6861
|
}
|
|
6764
6862
|
render() {
|
|
6765
|
-
return (hAsync("header", { key: '
|
|
6863
|
+
return (hAsync("header", { key: 'c832013aee204170c29336e931d36f1eda667f11', class: "pds-modal__header" }, hAsync("slot", { key: '19a76b689a8d8bf116f7061fd7c32415da4299e1' })));
|
|
6766
6864
|
}
|
|
6767
6865
|
static get style() { return pdsModalHeaderCss; }
|
|
6768
6866
|
static get cmpMeta() { return {
|
|
@@ -6881,7 +6979,7 @@ class PdsPopover {
|
|
|
6881
6979
|
popoverEl.style.left = `${left}px`;
|
|
6882
6980
|
}
|
|
6883
6981
|
render() {
|
|
6884
|
-
return (hAsync(Host, { key: '
|
|
6982
|
+
return (hAsync(Host, { key: '35e5f4c21884f02b17dcb920e5c7ba73b8bed849' }, hAsync("button", { key: '586880a84a4ad659a00500206e5b3c6c5e7e1a37', class: "pds-popover__trigger", popoverTarget: this.componentId, popoverTargetAction: this.popoverTargetAction, onClick: this.handleClick }, this.text), hAsync("div", { key: 'fcb97e9b4033eef58bdca4915572b986dabde43c', class: `pds-popover ${this.active ? 'pds-popover--active' : ''}`, id: this.componentId, popover: this.popoverType, style: { maxWidth: `${this.maxWidth}px` } }, hAsync("slot", { key: '1ffb626c69e06f17379ebf4ff4d5498f030909e8' }))));
|
|
6885
6983
|
}
|
|
6886
6984
|
get el() { return getElement(this); }
|
|
6887
6985
|
static get style() { return pdsPopoverCss; }
|
|
@@ -6925,7 +7023,7 @@ class PdsProgress {
|
|
|
6925
7023
|
this.showPercent = false;
|
|
6926
7024
|
}
|
|
6927
7025
|
render() {
|
|
6928
|
-
return (hAsync(Host, { key: '
|
|
7026
|
+
return (hAsync(Host, { key: '2a7768cc769f62579bfee6d8f9e6109d10df0aaf', class: this.animated ? { 'is-animated': this.animated } : '' }, hAsync("div", { key: '1eef3758e8c6e470f8cdd170e8d6c49e25bf9aa3', class: "pds-progress" }, hAsync("label", { key: '5b75150a747a15379fdf0ee23b1be561e6d990e7', class: "pds-progress__label", htmlFor: this.componentId }, this.label), hAsync("progress", { key: 'e20ad7d705d97ac11173ae515332fc1620a96328', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && hAsync("div", { key: '8bafb39b5976149b80e720952e625f60f1e3c73c', class: "pds-progress__percentage" }, this.percent, "%")));
|
|
6929
7027
|
}
|
|
6930
7028
|
static get style() { return pdsProgressCss; }
|
|
6931
7029
|
static get cmpMeta() { return {
|
|
@@ -6993,9 +7091,9 @@ class PdsRadio {
|
|
|
6993
7091
|
return classNames.join(' ');
|
|
6994
7092
|
}
|
|
6995
7093
|
render() {
|
|
6996
|
-
return (hAsync(Host, { key: '
|
|
6997
|
-
hAsync("div", { key: '
|
|
6998
|
-
hAsync("div", { key: '
|
|
7094
|
+
return (hAsync(Host, { key: '8c215fa4193cf8bd246cd83edf97b8316685714e', class: this.classNames() }, hAsync("label", { key: '578530f26dd25f73ccbbb39c773290cd275920cf', htmlFor: this.componentId }, hAsync("input", { key: '9ab61a2683246fae862feb5e432a0872288b7a87', "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 }), hAsync("span", { key: 'f48c47ddb347bf0d7388359665dbbf3abf1b4859', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
|
|
7095
|
+
hAsync("div", { key: 'b8dbb34af90eed82f69621ceaadd8da668f0b3de', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
7096
|
+
hAsync("div", { key: 'e777e4f2397ba833aefb7e8cd4ab9a32ea93685a', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '13bd73d91bb3d676757ac9f4dcfcef7d2a5fcc55', icon: danger, size: "small" }), this.errorMessage)));
|
|
6999
7097
|
}
|
|
7000
7098
|
static get style() { return labelCss$3 + pdsRadioCss; }
|
|
7001
7099
|
static get cmpMeta() { return {
|
|
@@ -7057,7 +7155,7 @@ class PdsRow {
|
|
|
7057
7155
|
})), (this.minHeight && {
|
|
7058
7156
|
'min-height': this.minHeight,
|
|
7059
7157
|
}));
|
|
7060
|
-
return hAsync(Host, { key: '
|
|
7158
|
+
return hAsync(Host, { key: '7641ed5798525661b1a100bfbce60ed271e76887', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
|
|
7061
7159
|
}
|
|
7062
7160
|
static get style() { return pdsRowCss; }
|
|
7063
7161
|
static get cmpMeta() { return {
|
|
@@ -7082,7 +7180,7 @@ const pdsSelectTokensCss = ":host{--pine-select-color-background-danger:var(--pi
|
|
|
7082
7180
|
|
|
7083
7181
|
const labelCss$2 = ":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)}";
|
|
7084
7182
|
|
|
7085
|
-
const pdsSelectCss = ":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%}label{grid-area:label;-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--
|
|
7183
|
+
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%}label{grid-area:label;-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}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:var(--pine-dimension-xs) 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{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}";
|
|
7086
7184
|
|
|
7087
7185
|
class PdsSelect {
|
|
7088
7186
|
constructor(hostRef) {
|
|
@@ -7198,8 +7296,7 @@ class PdsSelect {
|
|
|
7198
7296
|
return classNames.join(' ');
|
|
7199
7297
|
}
|
|
7200
7298
|
render() {
|
|
7201
|
-
return (hAsync(Host, { key: '
|
|
7202
|
-
hAsync("label", { key: '9eadfcc4e6fd6d42f718eb0ad1542f7c03b67052', htmlFor: this.componentId }, this.label), hAsync("select", { key: 'eb1d368ed4f765dead79f6101265e922bd06ca94', autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, required: this.required, ref: (el) => (this.selectEl = el) }), hAsync("div", { key: '1dcbfe5d51e55af333e80bb99995cef1693f36c1', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, hAsync("slot", { key: '4d0c76c632e9588dc178c859be5ef1fd474fa191', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && hAsync("pds-icon", { key: '954d31034ed522ba128c9048998e92553592d12f', class: "pds-select__select-icon", icon: enlarge }))));
|
|
7299
|
+
return (hAsync(Host, { key: 'c0a0b391e6b5c35d5d3d7fce9d1f92583c582aa5', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames() }, hAsync("div", { key: '4f91cfcfcc570cf79d8e6a2f86d741f471489591', class: "pds-select" }, !this.hideLabel && (hAsync("label", { key: '21fa83cfdad6a46be1efa22ebc4df696ca49b7b1', htmlFor: this.componentId }, hAsync("span", { key: '760e46f98327c3b8e9ceb48ee158202ce42b8bb6', class: this.hideLabel ? 'visually-hidden' : '' }, this.label))), hAsync("select", { key: '78d92779624d84df9ae73515bbda74d9d44a8919', "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) }), hAsync("div", { key: '9a75bf791747df08018d59de49855410c6dc2312', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, hAsync("slot", { key: '1a974b4e171971e922aa04e9a56d6e6f26635724', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && hAsync("pds-icon", { key: '9cbc569418617092229d660b34b2c17a2826c878', class: "pds-select__select-icon", icon: enlarge }))));
|
|
7203
7300
|
}
|
|
7204
7301
|
static get watchers() { return {
|
|
7205
7302
|
"value": ["valueChanged"]
|
|
@@ -7213,6 +7310,7 @@ class PdsSelect {
|
|
|
7213
7310
|
"componentId": [1, "component-id"],
|
|
7214
7311
|
"disabled": [4],
|
|
7215
7312
|
"errorMessage": [1, "error-message"],
|
|
7313
|
+
"hideLabel": [4, "hide-label"],
|
|
7216
7314
|
"helperMessage": [1, "helper-message"],
|
|
7217
7315
|
"invalid": [4],
|
|
7218
7316
|
"label": [1],
|
|
@@ -9938,7 +10036,7 @@ class PdsSortable {
|
|
|
9938
10036
|
Sortable.create(this.el, sortableOptions);
|
|
9939
10037
|
}
|
|
9940
10038
|
render() {
|
|
9941
|
-
return (hAsync(Host, { key: '
|
|
10039
|
+
return (hAsync(Host, { key: 'c5353036ad9b108f742e55b1a28ebb449cf556d0', class: this.classNames(), id: this.componentId }, hAsync("slot", { key: 'cb71736fb3388f5829476c5b4802d5aa5f811ac7' })));
|
|
9942
10040
|
}
|
|
9943
10041
|
get el() { return getElement(this); }
|
|
9944
10042
|
static get style() { return pdsSortableCss; }
|
|
@@ -9985,7 +10083,7 @@ class PdsSortableItem {
|
|
|
9985
10083
|
}
|
|
9986
10084
|
}
|
|
9987
10085
|
render() {
|
|
9988
|
-
return (hAsync(Host, { key: '
|
|
10086
|
+
return (hAsync(Host, { key: 'b7817592ed6329f84e09ff5c5e200bc4305275bc', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (hAsync("div", { key: 'c31df5f0c81bd684ac60690044e2409d0cbc7831', class: "pds-sortable-item__handle" }, hAsync("pds-icon", { key: 'ff764a5ef70560c073474a7a51f45dd89df53190', icon: handle }))), hAsync("slot", { key: 'e1f33a5e56b37405b7e46bff24dc91e4ece71870' }), this.enableActions && (hAsync("div", { key: '569563f7c7d5b069888a8c3ee8e50fd3d626b1b2', class: "pds-sortable-item__actions" }, hAsync("slot", { key: '9ca544725723703ddac0de3f0bb9a4b0884d1571', name: "sortable-item-actions" })))));
|
|
9989
10087
|
}
|
|
9990
10088
|
get el() { return getElement(this); }
|
|
9991
10089
|
static get style() { return pdsSortableItemCss; }
|
|
@@ -10050,9 +10148,9 @@ class PdsSwitch {
|
|
|
10050
10148
|
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
10051
10149
|
}
|
|
10052
10150
|
render() {
|
|
10053
|
-
return (hAsync(Host, { key: '
|
|
10054
|
-
hAsync("div", { key: '
|
|
10055
|
-
hAsync("div", { key: '
|
|
10151
|
+
return (hAsync(Host, { key: 'c91cd6368fff2cbcc6b4974505d94139fa2722c5', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, hAsync("label", { key: 'e46f5f6a8073236ec0d55b2bcc8087dc32ad5a68', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: '9a2db3481c6c5e223819066df34bc220a139df03', "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)), hAsync("span", { key: 'c3b138eb7b6800d01e5676e94c17988c8a52d4b2', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
|
|
10152
|
+
hAsync("div", { key: 'fcaaa0ea30c8ad155a0b43004e77549abf888a57', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
10153
|
+
hAsync("div", { key: '045311e393d47bebd536d8fbe220260d112ceb3f', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '035488794764ffaee3275edfa9a3e9fad2d11ddb', icon: danger, size: "small" }), this.errorMessage)));
|
|
10056
10154
|
}
|
|
10057
10155
|
get el() { return getElement(this); }
|
|
10058
10156
|
static get style() { return labelCss$1 + pdsSwitchCss; }
|
|
@@ -10094,9 +10192,9 @@ class PdsTab {
|
|
|
10094
10192
|
this.pdsTabClick.emit([index, parentComponentId]);
|
|
10095
10193
|
}
|
|
10096
10194
|
render() {
|
|
10097
|
-
const availabilityTabEdgeInlineStart = (hAsync("span", { key: '
|
|
10098
|
-
const availabilityTabEdgeInlineEnd = (hAsync("span", { key: '
|
|
10099
|
-
return (hAsync(Host, { key: '
|
|
10195
|
+
const availabilityTabEdgeInlineStart = (hAsync("span", { key: 'cdf38229fcb4548cf188e401d8949f0fdddd8160', class: "pds-tab-edge", role: "presentation" }));
|
|
10196
|
+
const availabilityTabEdgeInlineEnd = (hAsync("span", { key: 'ffd68b6f2c2a521560495411455185d426d41446', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
10197
|
+
return (hAsync(Host, { key: 'afc723cff632012e447cecf9e4a2d7258b846d48', variant: this.variant, slot: "tabs", index: this.index }, hAsync("button", { key: 'f7f814b9ef9ac505a741ce74abd91934116f975f', 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, hAsync("div", { key: '12fea0cfdf4a1e9acee497ff3e60cb276f6ae649', class: "pds-tab__content" }, hAsync("slot", { key: 'bf4455e277526a453111542ce7c80a0621135f18' })))));
|
|
10100
10198
|
}
|
|
10101
10199
|
get el() { return getElement(this); }
|
|
10102
10200
|
static get style() { return pdsTabCss; }
|
|
@@ -10205,7 +10303,7 @@ class PdsTable {
|
|
|
10205
10303
|
headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;
|
|
10206
10304
|
}
|
|
10207
10305
|
render() {
|
|
10208
|
-
return (hAsync(Host, { key: '
|
|
10306
|
+
return (hAsync(Host, { key: '8fbd30502d23962edf8977e9d23b8e990f043e23', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, hAsync("slot", { key: '5041e5f588db255c747406c47bcfb3524cd58450' })));
|
|
10209
10307
|
}
|
|
10210
10308
|
get el() { return getElement(this); }
|
|
10211
10309
|
static get style() { return pdsTableCss; }
|
|
@@ -10234,7 +10332,7 @@ class PdsTableBody {
|
|
|
10234
10332
|
registerInstance(this, hostRef);
|
|
10235
10333
|
}
|
|
10236
10334
|
render() {
|
|
10237
|
-
return (hAsync(Host, { key: '
|
|
10335
|
+
return (hAsync(Host, { key: 'ac8d361f2d78eb929c17523843d2ca0ac53f6789', role: "rowgroup" }, hAsync("slot", { key: '132782ab9466a9dbd4350247aae762d731e7aa71' })));
|
|
10238
10336
|
}
|
|
10239
10337
|
static get style() { return pdsTableBodyCss; }
|
|
10240
10338
|
static get cmpMeta() { return {
|
|
@@ -10288,11 +10386,11 @@ class PdsTableCell {
|
|
|
10288
10386
|
return classNames.join(' ');
|
|
10289
10387
|
}
|
|
10290
10388
|
render() {
|
|
10291
|
-
return (hAsync(Host, { key: '
|
|
10389
|
+
return (hAsync(Host, { key: '801c1c1de26cb633280f308274861e8fd3629091', class: this.classNames(), role: "gridcell", style: this.tableRef &&
|
|
10292
10390
|
this.tableRef.fixedColumn &&
|
|
10293
10391
|
this.tableRef.selectable
|
|
10294
10392
|
? { '--fixed-cell-position': '40px' }
|
|
10295
|
-
: {} }, hAsync("slot", { key: '
|
|
10393
|
+
: {} }, hAsync("slot", { key: '0000fae3c9f199e3e80328afa7dd4347f429980b' })));
|
|
10296
10394
|
}
|
|
10297
10395
|
get hostElement() { return getElement(this); }
|
|
10298
10396
|
static get style() { return pdsTableCellCss; }
|
|
@@ -10353,7 +10451,7 @@ class PdsTableHead {
|
|
|
10353
10451
|
}
|
|
10354
10452
|
}
|
|
10355
10453
|
render() {
|
|
10356
|
-
return (hAsync(Host, { key: '
|
|
10454
|
+
return (hAsync(Host, { key: '38eaecd17a328791e5993d020a490f63f67cd9d5', role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-head-cell", { key: '438086205f3e018f597c868e98f300d28c4f3384', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, hAsync("pds-checkbox", { key: '835bbe3c1f3a0fcb217f62cf862b9ea80ddff38e', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected }))), hAsync("slot", { key: 'aa5507016e20951eab86f62680720c54de5a5a86' })));
|
|
10357
10455
|
}
|
|
10358
10456
|
get hostElement() { return getElement(this); }
|
|
10359
10457
|
static get style() { return pdsTableHeadCss; }
|
|
@@ -10435,11 +10533,11 @@ class PdsTableHeadCell {
|
|
|
10435
10533
|
return classNames.join(' ');
|
|
10436
10534
|
}
|
|
10437
10535
|
render() {
|
|
10438
|
-
return (hAsync(Host, { key: '
|
|
10536
|
+
return (hAsync(Host, { key: '2e75e9b8d1254ec21c786fd7e8304aaf38b26377', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
|
|
10439
10537
|
this.tableRef.fixedColumn &&
|
|
10440
10538
|
this.tableRef.selectable
|
|
10441
10539
|
? { '--fixed-cell-position': '40px' }
|
|
10442
|
-
: {} }, hAsync("slot", { key: '
|
|
10540
|
+
: {} }, hAsync("slot", { key: 'f9c7aae07eb7907a18dcf1a59813a2810341f2e9' }), this.sortable && (hAsync("pds-icon", { key: 'd24a2f2c1db5bb15216ba64bc5a7299e18c23626', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
|
|
10443
10541
|
}
|
|
10444
10542
|
get hostElement() { return getElement(this); }
|
|
10445
10543
|
static get style() { return pdsTableHeadCellCss; }
|
|
@@ -10505,7 +10603,7 @@ class PdsTableRow {
|
|
|
10505
10603
|
}
|
|
10506
10604
|
}
|
|
10507
10605
|
render() {
|
|
10508
|
-
return (hAsync(Host, { key: '
|
|
10606
|
+
return (hAsync(Host, { key: '651138280f94fd837a77e172c7e0ae5181ce8357', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-cell", { key: '739cd15863b52d60f9a00bffcf0d900b1ce1f545', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, hAsync("pds-checkbox", { key: '2b2000bc223fa72e2be0edea25e72e4d26a98fa1', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected }))), hAsync("slot", { key: '9d3be777c57b1ba4be066cc4ffa5496289fbdc02' })));
|
|
10509
10607
|
}
|
|
10510
10608
|
get hostElement() { return getElement(this); }
|
|
10511
10609
|
static get style() { return pdsTableRowCss; }
|
|
@@ -10534,7 +10632,7 @@ class PdsTabpanel {
|
|
|
10534
10632
|
this.selected = false; // eslint-disable-line @stencil-community/strict-mutable
|
|
10535
10633
|
}
|
|
10536
10634
|
render() {
|
|
10537
|
-
return (hAsync(Host, { key: '
|
|
10635
|
+
return (hAsync(Host, { key: '021d0c1f2fd740087bdd88069ac82455b8b5ede1', slot: "tabpanels" }, hAsync("div", { key: '036aca9a0a29ba7cfc8aa0132eab027898a661f2', 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" }, hAsync("slot", { key: 'd6b61e7b8af79204dbb5d3e421028715236a7bb1' }))));
|
|
10538
10636
|
}
|
|
10539
10637
|
get el() { return getElement(this); }
|
|
10540
10638
|
static get style() { return pdsTabpanelCss; }
|
|
@@ -10635,7 +10733,7 @@ class PdsTabs {
|
|
|
10635
10733
|
this.passPropsToChildren();
|
|
10636
10734
|
}
|
|
10637
10735
|
render() {
|
|
10638
|
-
return (hAsync(Host, { key: '
|
|
10736
|
+
return (hAsync(Host, { key: 'ed163de5068114e7c7dd8314c7ed036859d0d0af', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, hAsync("div", { key: '4b0f2bce407b2ea5c7ceb1435f4f91531334557e', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, hAsync("slot", { key: 'a61fb9bd35056f87233c1fec66dda175b201b265', name: "tabs" })), hAsync("slot", { key: 'd78cc498b17ddd84015174802e4eb18fc5053ec2', name: "tabpanels" })));
|
|
10639
10737
|
}
|
|
10640
10738
|
get el() { return getElement(this); }
|
|
10641
10739
|
static get style() { return pdsTabsCss; }
|
|
@@ -10675,7 +10773,7 @@ class PdsText {
|
|
|
10675
10773
|
${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
|
|
10676
10774
|
${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
|
|
10677
10775
|
`;
|
|
10678
|
-
return (hAsync(Tag, { key: '
|
|
10776
|
+
return (hAsync(Tag, { key: '327e3b37535dd5eb28cf3ea0430e544261e570c0', style: this.color && setColor(this.color), class: typeClasses }, hAsync("slot", { key: '97010a619baa6fd4a45e79ab9354097e99af0ae2' })));
|
|
10679
10777
|
}
|
|
10680
10778
|
get el() { return getElement(this); }
|
|
10681
10779
|
static get style() { return pdsTextCss; }
|
|
@@ -10828,10 +10926,10 @@ class PdsTextarea {
|
|
|
10828
10926
|
}
|
|
10829
10927
|
render() {
|
|
10830
10928
|
const value = this.getValue();
|
|
10831
|
-
return (hAsync(Host, { key: '
|
|
10832
|
-
hAsync("label", { key: '
|
|
10833
|
-
hAsync("p", { key: '
|
|
10834
|
-
hAsync("p", { key: '
|
|
10929
|
+
return (hAsync(Host, { key: 'ebbf2c30176e11c92f04de02cad236496bc50a44', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, hAsync("div", { key: '687811120416068af1b6d23a5fa8af149674669b', class: "pds-textarea" }, this.label &&
|
|
10930
|
+
hAsync("label", { key: '40fa708e95ff63881f3d41646bf99841625631d6', htmlFor: this.componentId }, this.label), hAsync("textarea", Object.assign({ key: '543b7d6996b441b32f124f13025787c76340218d', ref: (el) => this.nativeTextarea = el, "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onBlur: this.onBlur, onChange: this.onTextareaChange, onFocus: this.onFocus, onInput: this.onInput }, this.inheritedAttributes), value), this.helperMessage &&
|
|
10931
|
+
hAsync("p", { key: '47cd46e8c8c5daaa3ff6fa830e5dde3624403575', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
|
|
10932
|
+
hAsync("p", { key: 'd84d1aece21db4ef596c154919fe689d66f4bd66', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: 'cb4627c36e25e14f6699ad0cfddd4bf8528755e0', icon: danger, size: "small" }), this.errorMessage))));
|
|
10835
10933
|
}
|
|
10836
10934
|
get el() { return getElement(this); }
|
|
10837
10935
|
static get watchers() { return {
|
|
@@ -10948,13 +11046,13 @@ class PdsToast {
|
|
|
10948
11046
|
return this.icon && hAsync("pds-icon", { name: this.icon, class: "pds-toast__icon" });
|
|
10949
11047
|
}
|
|
10950
11048
|
render() {
|
|
10951
|
-
return (hAsync(Host, { key: '
|
|
11049
|
+
return (hAsync(Host, { key: 'dbb28e20be685c46f8c6cb2dd1a5f58f28e27589', hidden: !this.isVisible }, hAsync("div", { key: '471b6b387799754b92ad16baf70562e26c379616', class: {
|
|
10952
11050
|
'pds-toast': true,
|
|
10953
11051
|
[`pds-toast--${this.type}`]: this.type !== 'default',
|
|
10954
11052
|
'pds-toast--animating-out': this.isAnimatingOut
|
|
10955
|
-
}, role: "alert", "aria-live": "polite" }, this.renderIcon(), hAsync("span", { key: '
|
|
11053
|
+
}, role: "alert", "aria-live": "polite" }, this.renderIcon(), hAsync("span", { key: '638faa5e37de1bae0e59c994de35e27960fc625b', class: "pds-toast__message" }, hAsync("slot", { key: 'e58c86bbe9a5467b6b362e0f67db4074b9cac0cb' })), this.dismissible && (hAsync("button", { key: '43bd64963222a78163b337b37e9d5ff888236b45', type: "button", class: "pds-toast__button", onClick: () => {
|
|
10956
11054
|
this.dismiss();
|
|
10957
|
-
}, "aria-label": "Dismiss message" }, hAsync("pds-icon", { key: '
|
|
11055
|
+
}, "aria-label": "Dismiss message" }, hAsync("pds-icon", { key: '0c924e96515a7934f51d80b4e57f97db5bfaed14', name: "remove" }))))));
|
|
10958
11056
|
}
|
|
10959
11057
|
static get watchers() { return {
|
|
10960
11058
|
"duration": ["handleDurationChange"]
|
|
@@ -11083,6 +11181,8 @@ class PdsTooltip {
|
|
|
11083
11181
|
this.contentDiv = null;
|
|
11084
11182
|
this.slotMutationObserver = null;
|
|
11085
11183
|
this.overlayResizeObserver = null;
|
|
11184
|
+
this.currentPathname = '';
|
|
11185
|
+
this.pathnameCheckInterval = null;
|
|
11086
11186
|
/**
|
|
11087
11187
|
* Determines when the tooltip is open
|
|
11088
11188
|
* @defaultValue false
|
|
@@ -11152,6 +11252,12 @@ class PdsTooltip {
|
|
|
11152
11252
|
this.hideTooltip();
|
|
11153
11253
|
this._isInteractiveOpen = false;
|
|
11154
11254
|
};
|
|
11255
|
+
this.checkPathnameChange = () => {
|
|
11256
|
+
if (window.location.pathname !== this.currentPathname) {
|
|
11257
|
+
this.currentPathname = window.location.pathname;
|
|
11258
|
+
this.handleSpaNavigation();
|
|
11259
|
+
}
|
|
11260
|
+
};
|
|
11155
11261
|
}
|
|
11156
11262
|
handleOpenToggle(newValue, oldValue) {
|
|
11157
11263
|
if (newValue === false && oldValue === true) {
|
|
@@ -11163,6 +11269,7 @@ class PdsTooltip {
|
|
|
11163
11269
|
}
|
|
11164
11270
|
componentDidLoad() {
|
|
11165
11271
|
window.addEventListener('pageshow', this.handlePageShow);
|
|
11272
|
+
this.currentPathname = window.location.pathname;
|
|
11166
11273
|
this.triggerEl = this.el.querySelector('.pds-tooltip__trigger');
|
|
11167
11274
|
const contentSlotWrapper = this.el.querySelector('.pds-tooltip__content-slot-wrapper');
|
|
11168
11275
|
if (contentSlotWrapper !== null) {
|
|
@@ -11321,6 +11428,8 @@ class PdsTooltip {
|
|
|
11321
11428
|
window.addEventListener('scroll', this.handleScroll, true);
|
|
11322
11429
|
window.addEventListener('popstate', this.handleSpaNavigation, true);
|
|
11323
11430
|
window.addEventListener('hashchange', this.handleSpaNavigation, true);
|
|
11431
|
+
// Start pathname change detection
|
|
11432
|
+
this.pathnameCheckInterval = setInterval(this.checkPathnameChange, 100);
|
|
11324
11433
|
// Add ARIA attribute to trigger, now that portalEl and its ID are confirmed
|
|
11325
11434
|
if (this.triggerEl !== null && this.portalEl.id !== '') {
|
|
11326
11435
|
this.triggerEl.setAttribute('aria-describedby', this.portalEl.id);
|
|
@@ -11331,6 +11440,11 @@ class PdsTooltip {
|
|
|
11331
11440
|
this.overlayResizeObserver.unobserve(this.contentDiv);
|
|
11332
11441
|
this.overlayResizeObserver = null;
|
|
11333
11442
|
}
|
|
11443
|
+
// Stop pathname change detection
|
|
11444
|
+
if (this.pathnameCheckInterval !== null) {
|
|
11445
|
+
clearInterval(this.pathnameCheckInterval);
|
|
11446
|
+
this.pathnameCheckInterval = null;
|
|
11447
|
+
}
|
|
11334
11448
|
if (this.portalEl !== null) {
|
|
11335
11449
|
window.removeEventListener('scroll', this.handleScroll, true);
|
|
11336
11450
|
window.removeEventListener('popstate', this.handleSpaNavigation, true);
|
|
@@ -11346,7 +11460,7 @@ class PdsTooltip {
|
|
|
11346
11460
|
}
|
|
11347
11461
|
render() {
|
|
11348
11462
|
const hostId = this.componentId || undefined;
|
|
11349
|
-
return (hAsync(Host, { key: '
|
|
11463
|
+
return (hAsync(Host, { key: '462d8c0b1b70de08c0a4f9fe0b3977fa3b4af461', id: hostId, class: { 'pds-tooltip--is-open': this.opened } }, hAsync("span", { key: 'dfb735da6e04d95701bc223bc054414d781c0f4a', class: "pds-tooltip__trigger", onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocus: this.handleShow, onBlur: this.handleHide, ref: el => this.triggerEl = el }, hAsync("slot", { key: 'f0e5970a1ba6d59045306b836468cd00a06b183f' })), hAsync("div", { key: '212ec606b29bd7a64a2ea3b1b4fae9746361a712', class: "pds-tooltip__content-slot-wrapper", style: { display: 'none' } }, hAsync("slot", { key: '035ea5b2dfec0ca7f1462c30053f8f455cb986f2', name: "content" }))));
|
|
11350
11464
|
}
|
|
11351
11465
|
get el() { return getElement(this); }
|
|
11352
11466
|
static get watchers() { return {
|