@pine-ds/core 3.0.3 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index2.js +1 -1
- package/components/index2.js.map +1 -1
- package/components/pds-button2.js +31 -5
- package/components/pds-button2.js.map +1 -1
- package/components/pds-checkbox2.js +9 -3
- package/components/pds-checkbox2.js.map +1 -1
- package/components/pds-copytext.js +1 -1
- package/components/pds-copytext.js.map +1 -1
- package/components/pds-icon2.js +103 -7
- package/components/pds-icon2.js.map +1 -1
- package/components/pds-link.js +1 -1
- package/components/pds-link.js.map +1 -1
- package/components/pds-switch.js +8 -3
- package/components/pds-switch.js.map +1 -1
- package/dist/cjs/{index-Br1YlNK2.js → index-CG2Rr2io.js} +3 -3
- package/dist/cjs/index-CG2Rr2io.js.map +1 -0
- package/dist/cjs/loader.cjs.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 +32 -6
- 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 +10 -4
- package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-chip.cjs.entry.js +1 -1
- package/dist/cjs/pds-copytext.cjs.entry.js +2 -2
- package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-copytext.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-icon.cjs.entry.js +102 -7
- package/dist/cjs/pds-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-input.cjs.entry.js +1 -1
- package/dist/cjs/pds-link.cjs.entry.js +2 -2
- package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-link.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-radio.cjs.entry.js +1 -1
- package/dist/cjs/pds-select.cjs.entry.js +1 -1
- package/dist/cjs/pds-sortable-item.cjs.entry.js +1 -1
- package/dist/cjs/pds-switch.cjs.entry.js +9 -4
- package/dist/cjs/pds-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/pds-table-head-cell.cjs.entry.js +1 -1
- package/dist/cjs/pds-textarea.cjs.entry.js +1 -1
- package/dist/cjs/pine-core.cjs.js +1 -1
- package/dist/collection/components/pds-button/pds-button.css +7 -11
- package/dist/collection/components/pds-button/pds-button.js +37 -5
- package/dist/collection/components/pds-button/pds-button.js.map +1 -1
- package/dist/collection/components/pds-button/stories/pds-button.stories.js +46 -11
- package/dist/collection/components/pds-checkbox/pds-checkbox.js +9 -3
- package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
- package/dist/collection/components/pds-copytext/pds-copytext.css +1 -1
- package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +1 -1
- package/dist/collection/components/pds-link/pds-link.css +3 -8
- package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +4 -5
- package/dist/collection/components/pds-switch/pds-switch.js +8 -3
- package/dist/collection/components/pds-switch/pds-switch.js.map +1 -1
- package/dist/docs.json +33 -3
- package/dist/esm/{index-mVZRKoXd.js → index-_4gljHh-.js} +3 -3
- package/dist/esm/index-_4gljHh-.js.map +1 -0
- package/dist/esm/loader.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 +32 -6
- package/dist/esm/pds-button.entry.js.map +1 -1
- package/dist/esm/pds-checkbox.entry.js +11 -5
- package/dist/esm/pds-checkbox.entry.js.map +1 -1
- package/dist/esm/pds-chip.entry.js +1 -1
- package/dist/esm/pds-copytext.entry.js +2 -2
- package/dist/esm/pds-copytext.entry.js.map +1 -1
- package/dist/esm/pds-icon.entry.js +102 -7
- package/dist/esm/pds-icon.entry.js.map +1 -1
- package/dist/esm/pds-input.entry.js +1 -1
- package/dist/esm/pds-link.entry.js +2 -2
- package/dist/esm/pds-link.entry.js.map +1 -1
- package/dist/esm/pds-radio.entry.js +1 -1
- package/dist/esm/pds-select.entry.js +1 -1
- package/dist/esm/pds-sortable-item.entry.js +1 -1
- package/dist/esm/pds-switch.entry.js +9 -4
- package/dist/esm/pds-switch.entry.js.map +1 -1
- package/dist/esm/pds-table-head-cell.entry.js +1 -1
- package/dist/esm/pds-textarea.entry.js +1 -1
- package/dist/esm/pine-core.js +1 -1
- package/dist/esm-es5/{index-mVZRKoXd.js → index-_4gljHh-.js} +1 -1
- package/dist/esm-es5/index-_4gljHh-.js.map +1 -0
- package/dist/esm-es5/loader.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-checkbox.entry.js.map +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
- package/dist/esm-es5/pds-icon.entry.js +1 -1
- package/dist/esm-es5/pds-icon.entry.js.map +1 -1
- package/dist/esm-es5/pds-input.entry.js +1 -1
- package/dist/esm-es5/pds-link.entry.js +1 -1
- package/dist/esm-es5/pds-link.entry.js.map +1 -1
- package/dist/esm-es5/pds-radio.entry.js +1 -1
- package/dist/esm-es5/pds-select.entry.js +1 -1
- package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
- package/dist/esm-es5/pds-switch.entry.js +1 -1
- package/dist/esm-es5/pds-switch.entry.js.map +1 -1
- package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
- package/dist/esm-es5/pds-textarea.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/pine-core/p-103b62a1.system.entry.js +2 -0
- package/dist/pine-core/p-103b62a1.system.entry.js.map +1 -0
- package/dist/pine-core/{p-5db706e1.entry.js → p-1b81a8ec.entry.js} +2 -2
- package/dist/pine-core/p-38246e2f.entry.js +2 -0
- package/dist/pine-core/p-38246e2f.entry.js.map +1 -0
- package/dist/pine-core/{p-ad69e5f9.system.entry.js → p-38d2498e.system.entry.js} +2 -2
- package/dist/pine-core/p-3ce8eb9f.entry.js +2 -0
- package/dist/pine-core/p-3ce8eb9f.entry.js.map +1 -0
- package/dist/pine-core/p-3e91dccd.entry.js +2 -0
- package/dist/pine-core/p-3e91dccd.entry.js.map +1 -0
- package/dist/pine-core/{p-9e9d3a2b.entry.js → p-4ccd2d5e.entry.js} +2 -2
- package/dist/pine-core/{p-dae339c3.entry.js → p-4e7ca704.entry.js} +2 -2
- package/dist/pine-core/{p-b9f99fc9.entry.js → p-4ff0838c.entry.js} +2 -2
- package/dist/pine-core/p-5763df39.system.entry.js +2 -0
- package/dist/pine-core/p-5763df39.system.entry.js.map +1 -0
- package/dist/pine-core/{p-820faa91.system.entry.js → p-596e0292.system.entry.js} +2 -2
- package/dist/pine-core/p-5acda4ac.system.entry.js +2 -0
- package/dist/pine-core/p-5acda4ac.system.entry.js.map +1 -0
- package/dist/pine-core/{p-040f3c92.system.entry.js → p-6260135d.system.entry.js} +2 -2
- package/dist/pine-core/{p-14ca569b.entry.js → p-6a716bff.entry.js} +2 -2
- package/dist/pine-core/{p-a5587332.entry.js → p-6ad460a7.entry.js} +2 -2
- package/dist/pine-core/p-6ad460a7.entry.js.map +1 -0
- package/dist/pine-core/p-82151ac5.entry.js +2 -0
- package/dist/pine-core/p-82151ac5.entry.js.map +1 -0
- package/dist/pine-core/{p-b2bbc362.entry.js → p-82e05dcf.entry.js} +2 -2
- package/dist/pine-core/{p-91dadcbe.entry.js → p-8337c77c.entry.js} +2 -2
- package/dist/pine-core/{p-qXPbJ8Ls.system.js.map → p-9niWVsdd.system.js.map} +1 -1
- package/dist/pine-core/{p-Bd19LaTb.system.js → p-B4W0_y2p.system.js} +1 -1
- package/dist/pine-core/p-B4W0_y2p.system.js.map +1 -0
- package/dist/pine-core/p-BJyPFOn0.system.js.map +1 -0
- package/dist/pine-core/p-BsL2GDnH.system.js +1 -1
- package/dist/pine-core/{p-DhYEBuMP.system.js.map → p-Bu94kuQa.system.js.map} +1 -1
- package/dist/pine-core/p-C3ud771n.system.js.map +1 -0
- package/dist/pine-core/{p-C0hVtnK2.system.js.map → p-Cg0JSYH5.system.js.map} +1 -1
- package/dist/pine-core/p-CnoLHUtr.system.js.map +1 -0
- package/dist/pine-core/{p-Dlv6r83m.system.js.map → p-Cz3zRtiB.system.js.map} +1 -1
- package/dist/pine-core/{p-BUZBNCHp.system.js.map → p-D8WAvG2e.system.js.map} +1 -1
- package/dist/pine-core/{p-DY5LpFEG.system.js.map → p-DEsea81X.system.js.map} +1 -1
- package/dist/pine-core/{p-CFcYB49C.system.js.map → p-DFmUOrRG.system.js.map} +1 -1
- package/dist/pine-core/p-DkJgkLjR.system.js.map +1 -0
- package/dist/pine-core/p-Dv_jWtcr.system.js.map +1 -0
- package/dist/pine-core/{p-BYgoXBct.system.js.map → p-Dz6toWDZ.system.js.map} +1 -1
- package/dist/pine-core/p-IK9NvSRG.system.js.map +1 -0
- package/dist/pine-core/{p-CLIVqKy5.system.js.map → p-YuC61pNM.system.js.map} +1 -1
- package/dist/pine-core/{p-mVZRKoXd.js → p-_4gljHh-.js} +1 -1
- package/dist/pine-core/p-_4gljHh-.js.map +1 -0
- package/dist/pine-core/{p-2ab26d3d.system.entry.js → p-a952d40c.system.entry.js} +2 -2
- package/dist/pine-core/p-b390c427.entry.js +2 -0
- package/dist/pine-core/p-b390c427.entry.js.map +1 -0
- package/dist/pine-core/{p-d0780ca1.system.entry.js → p-c7d4f436.system.entry.js} +2 -2
- package/dist/pine-core/{p-3fdbda99.system.entry.js → p-c838b6ef.system.entry.js} +2 -2
- package/dist/pine-core/{p-42f1190a.system.entry.js → p-ca09f86a.system.entry.js} +2 -2
- package/dist/pine-core/{p-1995a0f8.system.entry.js → p-ceb48b05.system.entry.js} +2 -2
- package/dist/pine-core/p-d3ab594c.system.entry.js +2 -0
- package/dist/pine-core/p-d3ab594c.system.entry.js.map +1 -0
- package/dist/pine-core/p-d78bec50.system.entry.js +2 -0
- package/dist/pine-core/p-d78bec50.system.entry.js.map +1 -0
- package/dist/pine-core/{p-e4ea5041.system.entry.js → p-d8e02aa9.system.entry.js} +2 -2
- package/dist/pine-core/{p-abcce8af.entry.js → p-e88d58f4.entry.js} +2 -2
- package/dist/pine-core/{p-bedddd53.entry.js → p-f94703c9.entry.js} +2 -2
- package/dist/pine-core/{p-6c21bcb0.system.entry.js → p-fd9aa739.system.entry.js} +2 -2
- package/dist/pine-core/p-fd9aa739.system.entry.js.map +1 -0
- package/dist/pine-core/pds-button.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-checkbox.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-copytext.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-icon.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-link.entry.esm.js.map +1 -1
- package/dist/pine-core/pds-switch.entry.esm.js.map +1 -1
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/types/components/pds-button/pds-button.d.ts +8 -1
- package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +3 -0
- package/dist/types/components/pds-switch/pds-switch.d.ts +2 -0
- package/dist/types/components.d.ts +4 -2
- package/hydrate/index.js +238 -105
- package/hydrate/index.mjs +238 -105
- package/package.json +2 -2
- package/dist/cjs/index-Br1YlNK2.js.map +0 -1
- package/dist/esm/index-mVZRKoXd.js.map +0 -1
- package/dist/esm-es5/index-mVZRKoXd.js.map +0 -1
- package/dist/pine-core/p-012c4d8b.entry.js +0 -2
- package/dist/pine-core/p-012c4d8b.entry.js.map +0 -1
- package/dist/pine-core/p-3be0323a.system.entry.js +0 -2
- package/dist/pine-core/p-3be0323a.system.entry.js.map +0 -1
- package/dist/pine-core/p-545ccff7.system.entry.js +0 -2
- package/dist/pine-core/p-545ccff7.system.entry.js.map +0 -1
- package/dist/pine-core/p-5c9e1a3d.system.entry.js +0 -2
- package/dist/pine-core/p-5c9e1a3d.system.entry.js.map +0 -1
- package/dist/pine-core/p-6c21bcb0.system.entry.js.map +0 -1
- package/dist/pine-core/p-722989ee.entry.js +0 -2
- package/dist/pine-core/p-722989ee.entry.js.map +0 -1
- package/dist/pine-core/p-768e754e.system.entry.js +0 -2
- package/dist/pine-core/p-768e754e.system.entry.js.map +0 -1
- package/dist/pine-core/p-BBpt-9kK.system.js.map +0 -1
- package/dist/pine-core/p-BUD-iaLL.system.js.map +0 -1
- package/dist/pine-core/p-Bd19LaTb.system.js.map +0 -1
- package/dist/pine-core/p-CIzJqNxZ.system.js.map +0 -1
- package/dist/pine-core/p-CbNKHcsJ.system.js.map +0 -1
- package/dist/pine-core/p-Chrs_Qxi.system.js.map +0 -1
- package/dist/pine-core/p-a5587332.entry.js.map +0 -1
- package/dist/pine-core/p-aa955b03.entry.js +0 -2
- package/dist/pine-core/p-aa955b03.entry.js.map +0 -1
- package/dist/pine-core/p-amsdFwC6.system.js.map +0 -1
- package/dist/pine-core/p-b41dee6f.system.entry.js +0 -2
- package/dist/pine-core/p-b41dee6f.system.entry.js.map +0 -1
- package/dist/pine-core/p-e7bf0be9.entry.js +0 -2
- package/dist/pine-core/p-e7bf0be9.entry.js.map +0 -1
- package/dist/pine-core/p-f1156360.entry.js +0 -2
- package/dist/pine-core/p-f1156360.entry.js.map +0 -1
- package/dist/pine-core/p-mVZRKoXd.js.map +0 -1
- /package/dist/pine-core/{p-5db706e1.entry.js.map → p-1b81a8ec.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ad69e5f9.system.entry.js.map → p-38d2498e.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-9e9d3a2b.entry.js.map → p-4ccd2d5e.entry.js.map} +0 -0
- /package/dist/pine-core/{p-dae339c3.entry.js.map → p-4e7ca704.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b9f99fc9.entry.js.map → p-4ff0838c.entry.js.map} +0 -0
- /package/dist/pine-core/{p-820faa91.system.entry.js.map → p-596e0292.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-040f3c92.system.entry.js.map → p-6260135d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-14ca569b.entry.js.map → p-6a716bff.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b2bbc362.entry.js.map → p-82e05dcf.entry.js.map} +0 -0
- /package/dist/pine-core/{p-91dadcbe.entry.js.map → p-8337c77c.entry.js.map} +0 -0
- /package/dist/pine-core/{p-2ab26d3d.system.entry.js.map → p-a952d40c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d0780ca1.system.entry.js.map → p-c7d4f436.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3fdbda99.system.entry.js.map → p-c838b6ef.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-42f1190a.system.entry.js.map → p-ca09f86a.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-1995a0f8.system.entry.js.map → p-ceb48b05.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-e4ea5041.system.entry.js.map → p-d8e02aa9.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-abcce8af.entry.js.map → p-e88d58f4.entry.js.map} +0 -0
- /package/dist/pine-core/{p-bedddd53.entry.js.map → p-f94703c9.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -3071,7 +3071,7 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
3071
3071
|
};
|
|
3072
3072
|
var styles = /* @__PURE__ */ new Map();
|
|
3073
3073
|
|
|
3074
|
-
/* pds-icons v9.3
|
|
3074
|
+
/* pds-icons v9.4.3, ES Modules */
|
|
3075
3075
|
|
|
3076
3076
|
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>";
|
|
3077
3077
|
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>";
|
|
@@ -3382,7 +3382,7 @@ const setColor = (color) => {
|
|
|
3382
3382
|
};
|
|
3383
3383
|
};
|
|
3384
3384
|
|
|
3385
|
-
const pdsButtonCss = ":host{--button-dimension: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(--color-background-default);border:var(--pine-border);border-color:var(--color-border-default);border-radius:var(--pine-border-radius-full);-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(--button-dimension);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);text-decoration:none}.pds-button pds-icon{color:currentColor;fill:currentColor
|
|
3385
|
+
const pdsButtonCss = ":host{--button-dimension: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(--color-background-default);border:var(--pine-border);border-color:var(--color-border-default);border-radius:var(--pine-border-radius-full);-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(--button-dimension);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);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}";
|
|
3386
3386
|
|
|
3387
3387
|
/**
|
|
3388
3388
|
* @part button - Exposes the button element for styling.
|
|
@@ -3390,6 +3390,9 @@ const pdsButtonCss = ":host{--button-dimension:40px;--color-border-default:trans
|
|
|
3390
3390
|
* @part button-text - Exposes the button text for styling.
|
|
3391
3391
|
* @part caret - Exposes the caret icon component for styling. Appears only on the disclosure variant.
|
|
3392
3392
|
* @part icon - Exposes the icon component for styling.
|
|
3393
|
+
* @slot (default) - Button text.
|
|
3394
|
+
* @slot start - Content to display before the button text.
|
|
3395
|
+
* @slot end - Content to display after the button text.
|
|
3393
3396
|
*/
|
|
3394
3397
|
class PdsButton {
|
|
3395
3398
|
constructor(hostRef) {
|
|
@@ -3406,8 +3409,9 @@ class PdsButton {
|
|
|
3406
3409
|
*/
|
|
3407
3410
|
this.fullWidth = false;
|
|
3408
3411
|
/**
|
|
3409
|
-
* Displays
|
|
3412
|
+
* Displays a leading icon in the button. DEPRECATED.
|
|
3410
3413
|
* @defaultValue null
|
|
3414
|
+
* @deprecated Use `start` slot instead.
|
|
3411
3415
|
*/
|
|
3412
3416
|
this.icon = null;
|
|
3413
3417
|
/**
|
|
@@ -3466,6 +3470,33 @@ class PdsButton {
|
|
|
3466
3470
|
}
|
|
3467
3471
|
return classNames.join(' ');
|
|
3468
3472
|
}
|
|
3473
|
+
hasSlotContent(slotName) {
|
|
3474
|
+
const elements = this.el.querySelectorAll(`[slot="${slotName}"]`);
|
|
3475
|
+
return elements.length > 0;
|
|
3476
|
+
}
|
|
3477
|
+
renderStartContent() {
|
|
3478
|
+
const hasIcon = this.icon && this.variant !== 'disclosure';
|
|
3479
|
+
const hasStartSlot = this.hasSlotContent('start');
|
|
3480
|
+
if (Boolean(hasIcon)) {
|
|
3481
|
+
return (hAsync("pds-icon", { class: this.loading ? 'pds-button__icon--hidden' : '', name: this.icon, part: "icon", "aria-hidden": "true" }));
|
|
3482
|
+
}
|
|
3483
|
+
else if (Boolean(hasStartSlot)) {
|
|
3484
|
+
return hAsync("span", { class: `pds-button__icon ${this.loading ? 'pds-button__icon--hidden' : ''}` }, hAsync("slot", { name: "start" }));
|
|
3485
|
+
}
|
|
3486
|
+
return null;
|
|
3487
|
+
}
|
|
3488
|
+
renderEndContent() {
|
|
3489
|
+
if (this.iconOnly) {
|
|
3490
|
+
return null;
|
|
3491
|
+
}
|
|
3492
|
+
if (this.variant === 'disclosure') {
|
|
3493
|
+
return (hAsync("pds-icon", { class: this.loading ? 'pds-button__icon--hidden' : '', icon: caretDown, part: "caret", "aria-hidden": "true" }));
|
|
3494
|
+
}
|
|
3495
|
+
else if (this.hasSlotContent('end')) {
|
|
3496
|
+
return hAsync("span", { class: `pds-button__icon ${this.loading ? 'pds-button__icon--hidden' : ''}` }, hAsync("slot", { name: "end" }));
|
|
3497
|
+
}
|
|
3498
|
+
return null;
|
|
3499
|
+
}
|
|
3469
3500
|
render() {
|
|
3470
3501
|
// Common props for both button and anchor elements
|
|
3471
3502
|
const commonProps = {
|
|
@@ -3481,9 +3512,7 @@ class PdsButton {
|
|
|
3481
3512
|
const ContentElement = this.href ? 'a' : 'button';
|
|
3482
3513
|
// Hide text when loading or iconOnly is true
|
|
3483
3514
|
const hideText = this.loading || this.iconOnly;
|
|
3484
|
-
const content = (hAsync("div", { class: "pds-button__content", part: "button-content" }, this.
|
|
3485
|
-
hAsync("pds-icon", { class: this.loading ? 'pds-button__icon--hidden' : '', name: this.icon, part: "icon", "aria-hidden": "true" }), hAsync("span", { class: `pds-button__text ${hideText ? 'pds-button__text--hidden' : ''}`, part: "button-text" }, hAsync("slot", null)), this.loading && (hAsync("span", { class: "pds-button__loader" }, hAsync("pds-loader", { "is-loading": true, size: "var(--pine-font-size-body-2xl)", variant: "spinner" }, "Loading..."))), this.variant === 'disclosure' &&
|
|
3486
|
-
hAsync("pds-icon", { class: this.loading ? 'pds-button__icon--hidden' : '', icon: caretDown, part: "caret", "aria-hidden": "true" })));
|
|
3515
|
+
const content = (hAsync("div", { class: "pds-button__content", part: "button-content" }, this.renderStartContent(), hAsync("span", { class: `pds-button__text ${hideText ? 'pds-button__text--hidden' : ''}`, part: "button-text" }, hAsync("slot", null)), this.loading && (hAsync("span", { class: "pds-button__loader" }, hAsync("pds-loader", { "is-loading": true, size: "var(--pine-font-size-body-2xl)", variant: "spinner" }, "Loading..."))), this.renderEndContent()));
|
|
3487
3516
|
return (hAsync(Host, { "aria-disabled": this.disabled ? 'true' : null, id: this.componentId, onClick: this.handleClick, variant: this.variant }, hAsync(ContentElement, Object.assign({}, attributes()), content)));
|
|
3488
3517
|
}
|
|
3489
3518
|
get el() { return getElement(this); }
|
|
@@ -3539,6 +3568,87 @@ const isRequired = (target, component) => {
|
|
|
3539
3568
|
}
|
|
3540
3569
|
};
|
|
3541
3570
|
|
|
3571
|
+
/**
|
|
3572
|
+
* Inherit attributes from the host element
|
|
3573
|
+
* @param el - Host element
|
|
3574
|
+
* @param attributes - Array of attributes to inherit
|
|
3575
|
+
*/
|
|
3576
|
+
const inheritAttributes$1 = (el, attributes = []) => {
|
|
3577
|
+
const attributeObject = {};
|
|
3578
|
+
attributes.forEach((attr) => {
|
|
3579
|
+
if (el.hasAttribute(attr)) {
|
|
3580
|
+
const value = el.getAttribute(attr);
|
|
3581
|
+
if (value !== null) {
|
|
3582
|
+
attributeObject[attr] = el.getAttribute(attr);
|
|
3583
|
+
}
|
|
3584
|
+
el.removeAttribute(attr);
|
|
3585
|
+
}
|
|
3586
|
+
});
|
|
3587
|
+
return attributeObject;
|
|
3588
|
+
};
|
|
3589
|
+
/**
|
|
3590
|
+
* List of available ARIA attributes + `role`.
|
|
3591
|
+
* Removed deprecated attributes.
|
|
3592
|
+
* https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
|
|
3593
|
+
*/
|
|
3594
|
+
const ariaAttributes = [
|
|
3595
|
+
'role',
|
|
3596
|
+
'aria-activedescendant',
|
|
3597
|
+
'aria-atomic',
|
|
3598
|
+
'aria-autocomplete',
|
|
3599
|
+
'aria-braillelabel',
|
|
3600
|
+
'aria-brailleroledescription',
|
|
3601
|
+
'aria-busy',
|
|
3602
|
+
'aria-checked',
|
|
3603
|
+
'aria-colcount',
|
|
3604
|
+
'aria-colindex',
|
|
3605
|
+
'aria-colindextext',
|
|
3606
|
+
'aria-colspan',
|
|
3607
|
+
'aria-controls',
|
|
3608
|
+
'aria-current',
|
|
3609
|
+
'aria-describedby',
|
|
3610
|
+
'aria-description',
|
|
3611
|
+
'aria-details',
|
|
3612
|
+
'aria-disabled',
|
|
3613
|
+
'aria-errormessage',
|
|
3614
|
+
'aria-expanded',
|
|
3615
|
+
'aria-flowto',
|
|
3616
|
+
'aria-haspopup',
|
|
3617
|
+
'aria-hidden',
|
|
3618
|
+
'aria-invalid',
|
|
3619
|
+
'aria-keyshortcuts',
|
|
3620
|
+
'aria-label',
|
|
3621
|
+
'aria-labelledby',
|
|
3622
|
+
'aria-level',
|
|
3623
|
+
'aria-live',
|
|
3624
|
+
'aria-multiline',
|
|
3625
|
+
'aria-multiselectable',
|
|
3626
|
+
'aria-orientation',
|
|
3627
|
+
'aria-owns',
|
|
3628
|
+
'aria-placeholder',
|
|
3629
|
+
'aria-posinset',
|
|
3630
|
+
'aria-pressed',
|
|
3631
|
+
'aria-readonly',
|
|
3632
|
+
'aria-relevant',
|
|
3633
|
+
'aria-required',
|
|
3634
|
+
'aria-roledescription',
|
|
3635
|
+
'aria-rowcount',
|
|
3636
|
+
'aria-rowindex',
|
|
3637
|
+
'aria-rowindextext',
|
|
3638
|
+
'aria-rowspan',
|
|
3639
|
+
'aria-selected',
|
|
3640
|
+
'aria-setsize',
|
|
3641
|
+
'aria-sort',
|
|
3642
|
+
'aria-valuemax',
|
|
3643
|
+
'aria-valuemin',
|
|
3644
|
+
'aria-valuenow',
|
|
3645
|
+
'aria-valuetext',
|
|
3646
|
+
];
|
|
3647
|
+
const inheritAriaAttributes = (el, ignoreList) => {
|
|
3648
|
+
let attributesToInherit = ariaAttributes;
|
|
3649
|
+
return inheritAttributes$1(el, attributesToInherit);
|
|
3650
|
+
};
|
|
3651
|
+
|
|
3542
3652
|
const labelCss$5 = ":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)}";
|
|
3543
3653
|
|
|
3544
3654
|
const pdsCheckboxCss = ":host{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}:host(.is-invalid) input{border-color:var(--pine-color-border-danger)}:host(.is-invalid) input:checked{background:var(--pine-color-danger)}:host(.is-invalid) input:checked:hover{background:var(--pine-color-danger-hover);border-color:var(--pine-color-border-danger-hover)}:host(.is-invalid) input:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}:host(.is-invalid) label,:host(.is-invalid) .pds-checkbox__message--error{color:var(--pine-color-text-message-danger)}:host(.is-indeterminate) input{background:var(--pine-color-accent);border-color:var(--pine-color-accent)}:host(.is-indeterminate) input:hover{background:var(--pine-color-accent);border-color:var(--pine-color-accent-hover)}:host(.is-indeterminate) input::after{border:1px solid var(--pine-color-secondary);-webkit-border-after:var(--pine-border-width-none);border-block-end:var(--pine-border-width-none);-webkit-border-before:var(--pine-border-width-none);border-block-start:var(--pine-border-width-none);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);content:\"\";display:block;height:7px;left:50%;position:absolute;top:50%;-webkit-transform:rotate(90deg) translate3d(-103%, 32%, 0);transform:rotate(90deg) translate3d(-103%, 32%, 0);width:4px}input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-2xs);-ms-flex:none;flex:none;height:var(--pine-dimension-sm);margin:0;-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025);position:relative;width:var(--pine-dimension-sm)}input:hover{background:var(--pine-color-background-container-hover);border:var(--pine-border-hover)}input:checked{background:var(--pine-color-accent);border-color:var(--pine-color-accent)}input:checked:hover{background:var(--pine-color-accent-hover);border-color:var(--pine-color-accent-hover)}input:checked::after{border:1px solid var(--pine-color-secondary);-webkit-border-before:var(--pine-border-width-none);border-block-start:var(--pine-border-width-none);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);content:\"\";display:block;height:7px;left:50%;position:absolute;top:50%;-webkit-transform:rotate(43deg) translate3d(-110%, -30%, 0);transform:rotate(43deg) translate3d(-110%, -30%, 0);width:4px}input:disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);cursor:not-allowed}input:disabled:checked{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled)}input:disabled:checked::after{border-color:var(--pine-color-grey-300)}input:disabled+label{cursor:not-allowed}input:disabled~.pds-checkbox__message{color:var(--pine-color-text-disabled)}input:focus-visible{outline:var(--pine-outline-focus)}label{display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs)}.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}.pds-checkbox__message{color:var(--pine-color-text-message);-webkit-margin-before:6px;margin-block-start:6px;-webkit-margin-start:var(--pine-dimension-md);margin-inline-start:var(--pine-dimension-md);width:100%}.pds-checkbox__message--error{display:-ms-flexbox;display:flex;font-size:var(--pine-font-size-085);gap:var(--pine-dimension-050)}.pds-checkbox__message--error pds-icon{-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}";
|
|
@@ -3548,6 +3658,7 @@ class PdsCheckbox {
|
|
|
3548
3658
|
registerInstance(this, hostRef);
|
|
3549
3659
|
this.pdsCheckboxChange = createEvent(this, "pdsCheckboxChange");
|
|
3550
3660
|
this.pdsCheckboxInput = createEvent(this, "pdsCheckboxInput");
|
|
3661
|
+
this.inheritedAttributes = {};
|
|
3551
3662
|
/**
|
|
3552
3663
|
* It determines whether or not the checkbox is checked.
|
|
3553
3664
|
*/
|
|
@@ -3586,11 +3697,15 @@ class PdsCheckbox {
|
|
|
3586
3697
|
}
|
|
3587
3698
|
return classNames.join(' ');
|
|
3588
3699
|
}
|
|
3700
|
+
componentWillLoad() {
|
|
3701
|
+
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
3702
|
+
}
|
|
3589
3703
|
render() {
|
|
3590
|
-
return (hAsync(Host, { key: '
|
|
3591
|
-
hAsync("div", { key: '
|
|
3592
|
-
hAsync("div", { key: '
|
|
3704
|
+
return (hAsync(Host, { key: 'fd26da1a8eb089bc078f81a2ed1156d021e4a9f1', class: this.classNames() }, hAsync("label", { key: 'c4e97037b26ca7dd19e07f340f0a65617fa90a15', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: '93a4ec08a7b53e86e169e1241985957182de9967', type: "checkbox", "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, id: this.componentId, indeterminate: this.indeterminate, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleCheckboxChange, onInput: this.handleInput }, this.inheritedAttributes)), hAsync("span", { key: '66d65cba307873dfa9c75715e2cc476dc908be9b', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
|
|
3705
|
+
hAsync("div", { key: '58d25c13691c6aa9a7d5c4b754e85defbbb41dc7', class: 'pds-checkbox__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
3706
|
+
hAsync("div", { key: '7202d171fbe6cd86ae0048f05e72865fa100b633', class: `pds-checkbox__message pds-checkbox__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '9b681c05249e3a0bc74baea6c33d9ad46664ed53', icon: danger, size: "small" }), this.errorMessage)));
|
|
3593
3707
|
}
|
|
3708
|
+
get el() { return getElement(this); }
|
|
3594
3709
|
static get watchers() { return {
|
|
3595
3710
|
"checked": ["updateIndeterminate"]
|
|
3596
3711
|
}; }
|
|
@@ -3691,7 +3806,7 @@ class PdsChip {
|
|
|
3691
3806
|
}; }
|
|
3692
3807
|
}
|
|
3693
3808
|
|
|
3694
|
-
const pdsCopytextCss = ":host(.pds-copytext){--copytext-color-background-hover:var(--pine-color-grey-200)}:host(.pds-copytext) pds-button{-ms-flex-align:center;align-items:center;background:var(--pine-color-secondary);border-radius:var(--pine-border-radius-full);border-width:var(--pine-dimension-none);display:-ms-inline-flexbox;display:inline-flex;font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-body-md);font-weight:var(--pine-font-weight-body-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);max-width:100%;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs)}:host(.pds-copytext) pds-button::part(button){-webkit-padding-end:calc(var(--pine-dimension-xs) / 2);padding-inline-end:calc(var(--pine-dimension-xs) / 2)}:host(.pds-copytext) pds-button::part(button):hover{background-color:var(--copytext-color-background-hover);color:var(--pine-color-text-secondary-hover)}:host(.pds-copytext) pds-button span{font-weight:var(--pine-font-weight-medium);-webkit-margin-end:var(--pine-dimension-xs);margin-inline-end:var(--pine-dimension-xs);white-space:nowrap}:host(.pds-copytext) pds-button :nth-child(2){-ms-flex-negative:0;flex-shrink:0}:host(.pds-copytext):host(.pds-copytext--bordered){border-width:var(--pine-dimension-none);padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button{padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered)::part(button):hover{background-color:transparent}:host(.pds-copytext):host(.pds-copytext--bordered) span{border:var(--pine-border);border-radius:var(--pine-border-radius-full);-webkit-margin-end:var(--pine-dimension-sm);margin-inline-end:var(--pine-dimension-sm);padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-sm)}:host(.pds-copytext):host(.pds-copytext--bordered) :hover span{border:var(--pine-border-hover)}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button{display:-ms-inline-flexbox;display:inline-flex;min-width:auto;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-text),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-text){-ms-flex-negative:1;flex-shrink:1;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button span,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{text-align:
|
|
3809
|
+
const pdsCopytextCss = ":host(.pds-copytext){--copytext-color-background-hover:var(--pine-color-grey-200)}:host(.pds-copytext) pds-button{-ms-flex-align:center;align-items:center;background:var(--pine-color-secondary);border-radius:var(--pine-border-radius-full);border-width:var(--pine-dimension-none);display:-ms-inline-flexbox;display:inline-flex;font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-body-md);font-weight:var(--pine-font-weight-body-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);max-width:100%;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs)}:host(.pds-copytext) pds-button::part(button){-webkit-padding-end:calc(var(--pine-dimension-xs) / 2);padding-inline-end:calc(var(--pine-dimension-xs) / 2)}:host(.pds-copytext) pds-button::part(button):hover{background-color:var(--copytext-color-background-hover);color:var(--pine-color-text-secondary-hover)}:host(.pds-copytext) pds-button span{font-weight:var(--pine-font-weight-medium);-webkit-margin-end:var(--pine-dimension-xs);margin-inline-end:var(--pine-dimension-xs);white-space:nowrap}:host(.pds-copytext) pds-button :nth-child(2){-ms-flex-negative:0;flex-shrink:0}:host(.pds-copytext):host(.pds-copytext--bordered){border-width:var(--pine-dimension-none);padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button{padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered)::part(button):hover{background-color:transparent}:host(.pds-copytext):host(.pds-copytext--bordered) span{border:var(--pine-border);border-radius:var(--pine-border-radius-full);-webkit-margin-end:var(--pine-dimension-sm);margin-inline-end:var(--pine-dimension-sm);padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-sm)}:host(.pds-copytext):host(.pds-copytext--bordered) :hover span{border:var(--pine-border-hover)}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button{display:-ms-inline-flexbox;display:inline-flex;min-width:auto;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-text),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-text){-ms-flex-negative:1;flex-shrink:1;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button span,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{text-align:start;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button{-ms-flex-pack:justify;justify-content:space-between}:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{overflow:hidden;text-overflow:ellipsis}";
|
|
3695
3810
|
|
|
3696
3811
|
class PdsCopytext {
|
|
3697
3812
|
constructor(hostRef) {
|
|
@@ -3816,6 +3931,19 @@ const getName = (iconName, icon) => {
|
|
|
3816
3931
|
}
|
|
3817
3932
|
return iconName;
|
|
3818
3933
|
};
|
|
3934
|
+
/**
|
|
3935
|
+
* Returns `true` if the document or host element
|
|
3936
|
+
* has a `dir` set to `rtl`. The host value will always
|
|
3937
|
+
* take priority over the root document value.
|
|
3938
|
+
*/
|
|
3939
|
+
const isRTL = (hostEl) => {
|
|
3940
|
+
if (hostEl) {
|
|
3941
|
+
if (hostEl.dir !== '') {
|
|
3942
|
+
return hostEl.dir.toLowerCase() === 'rtl';
|
|
3943
|
+
}
|
|
3944
|
+
}
|
|
3945
|
+
return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
|
|
3946
|
+
};
|
|
3819
3947
|
const isSrc = (str) => str.length > 0 && /(\/|\.)/.test(str);
|
|
3820
3948
|
const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
3821
3949
|
const toLower = (val) => val.toLowerCase();
|
|
@@ -3829,7 +3957,7 @@ const toLower = (val) => val.toLowerCase();
|
|
|
3829
3957
|
* This does not need to be reactive as changing attributes on the host element
|
|
3830
3958
|
* does not trigger a re-render.
|
|
3831
3959
|
*/
|
|
3832
|
-
const inheritAttributes
|
|
3960
|
+
const inheritAttributes = (el, attributes = []) => {
|
|
3833
3961
|
const attributeObject = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
3834
3962
|
attributes.forEach(attr => {
|
|
3835
3963
|
if (el.hasAttribute(attr)) {
|
|
@@ -3842,17 +3970,91 @@ const inheritAttributes$1 = (el, attributes = []) => {
|
|
|
3842
3970
|
});
|
|
3843
3971
|
return attributeObject;
|
|
3844
3972
|
};
|
|
3973
|
+
/**
|
|
3974
|
+
* Determines if an icon should be flipped when RTL is enabled
|
|
3975
|
+
* @param iconName - The name of the icon to check
|
|
3976
|
+
* @param hostEl - Optional host element to check for RTL direction
|
|
3977
|
+
* @returns {boolean} - True if the icon should be flipped in RTL mode, false otherwise
|
|
3978
|
+
*/
|
|
3979
|
+
const shouldRtlFlipIcon = (iconName, hostEl) => {
|
|
3980
|
+
// First check if we're in RTL mode
|
|
3981
|
+
const rtlEnabled = isRTL(hostEl);
|
|
3982
|
+
// Only flip if we're in RTL mode and the icon is in the flip list
|
|
3983
|
+
return rtlEnabled && ICONS_TO_FLIP.includes(iconName);
|
|
3984
|
+
};
|
|
3985
|
+
/**
|
|
3986
|
+
* Array of available icon names
|
|
3987
|
+
*/
|
|
3988
|
+
const ICONS_TO_FLIP = [
|
|
3989
|
+
'align-horizontal-bottom',
|
|
3990
|
+
'align-horizontal-center',
|
|
3991
|
+
'align-horizontal-top',
|
|
3992
|
+
'align-left',
|
|
3993
|
+
'align-right',
|
|
3994
|
+
'align-vertical-left',
|
|
3995
|
+
'align-vertical-right',
|
|
3996
|
+
'arrow-corner',
|
|
3997
|
+
'arrow-left',
|
|
3998
|
+
'arrow-right',
|
|
3999
|
+
'calendar-schedule',
|
|
4000
|
+
'caret-left',
|
|
4001
|
+
'caret-right',
|
|
4002
|
+
'cart',
|
|
4003
|
+
'cart-add',
|
|
4004
|
+
'comment',
|
|
4005
|
+
'comment-no',
|
|
4006
|
+
'conversation',
|
|
4007
|
+
'copy',
|
|
4008
|
+
'copy-07',
|
|
4009
|
+
'delete-key',
|
|
4010
|
+
'delete-x',
|
|
4011
|
+
'downsell',
|
|
4012
|
+
'drawer-collapse',
|
|
4013
|
+
'drawer-expand',
|
|
4014
|
+
'duplicate',
|
|
4015
|
+
'feedback',
|
|
4016
|
+
'file-lock',
|
|
4017
|
+
'file-search',
|
|
4018
|
+
'form-field',
|
|
4019
|
+
'form-filled',
|
|
4020
|
+
'left-small',
|
|
4021
|
+
'launch',
|
|
4022
|
+
'list-bullet',
|
|
4023
|
+
'list-numbers',
|
|
4024
|
+
'margin-left',
|
|
4025
|
+
'margin-right',
|
|
4026
|
+
'move-left',
|
|
4027
|
+
'move-right',
|
|
4028
|
+
'newsletter-2',
|
|
4029
|
+
'one-off-session',
|
|
4030
|
+
'quote',
|
|
4031
|
+
'redo',
|
|
4032
|
+
'reset-password',
|
|
4033
|
+
'right-small',
|
|
4034
|
+
'send-message',
|
|
4035
|
+
'share',
|
|
4036
|
+
'super-admin',
|
|
4037
|
+
'tablet-landscape',
|
|
4038
|
+
'undo',
|
|
4039
|
+
'user-star',
|
|
4040
|
+
'user-star-filled',
|
|
4041
|
+
'users',
|
|
4042
|
+
'users-filled',
|
|
4043
|
+
'users-tone'
|
|
4044
|
+
];
|
|
3845
4045
|
|
|
3846
|
-
const pdsIconCss = ":host{--dimension-icon-height:16px;--dimension-icon-width:16px;--color-icon-fill:currentColor;contain:strict;display:inline-block;fill:var(--color-icon-fill);-ms-flex-negative:0;flex-shrink:0;height:var(--dimension-icon-height);width:var(--dimension-icon-width)}:host .pdsicon{fill:var(--color-icon-fill)}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";
|
|
4046
|
+
const pdsIconCss = ":host{--dimension-icon-height:16px;--dimension-icon-width:16px;--color-icon-fill:currentColor;contain:strict;display:inline-block;fill:var(--color-icon-fill);-ms-flex-negative:0;flex-shrink:0;height:var(--dimension-icon-height);width:var(--dimension-icon-width)}:host .pdsicon{fill:var(--color-icon-fill)}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}:host(.flip-rtl):host-context([dir=rtl]) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}";
|
|
3847
4047
|
|
|
3848
4048
|
class PdsIcon {
|
|
3849
4049
|
constructor(hostRef) {
|
|
3850
4050
|
registerInstance(this, hostRef);
|
|
4051
|
+
this.didLoadIcon = false;
|
|
4052
|
+
this.iconName = null;
|
|
3851
4053
|
this.inheritedAttributes = {}; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
3852
4054
|
this.isVisible = false;
|
|
3853
4055
|
/**
|
|
3854
4056
|
* The size of the icon. This can be
|
|
3855
|
-
* 'small', 'regular', 'medium', large, or a
|
|
4057
|
+
* 'small', 'regular', 'medium', 'large', or a
|
|
3856
4058
|
* custom value (40px, 1rem, etc)
|
|
3857
4059
|
*
|
|
3858
4060
|
*/
|
|
@@ -3879,9 +4081,12 @@ class PdsIcon {
|
|
|
3879
4081
|
}
|
|
3880
4082
|
componentDidLoad() {
|
|
3881
4083
|
this.setCSSVariables();
|
|
4084
|
+
if (!this.didLoadIcon) {
|
|
4085
|
+
this.loadIcon();
|
|
4086
|
+
}
|
|
3882
4087
|
}
|
|
3883
4088
|
componentWillLoad() {
|
|
3884
|
-
this.inheritedAttributes = inheritAttributes
|
|
4089
|
+
this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
|
|
3885
4090
|
this.setCSSVariables();
|
|
3886
4091
|
}
|
|
3887
4092
|
setCSSVariables() {
|
|
@@ -3905,14 +4110,18 @@ class PdsIcon {
|
|
|
3905
4110
|
this.setCSSVariables();
|
|
3906
4111
|
}
|
|
3907
4112
|
loadIcon() {
|
|
3908
|
-
|
|
3909
|
-
if (
|
|
3910
|
-
this.ariaLabel =
|
|
4113
|
+
this.iconName = getName(this.name, this.icon);
|
|
4114
|
+
if (this.iconName) {
|
|
4115
|
+
this.ariaLabel = this.iconName.replace(/\-/g, ' ');
|
|
3911
4116
|
}
|
|
3912
4117
|
}
|
|
3913
4118
|
render() {
|
|
3914
|
-
const { ariaLabel, inheritedAttributes } = this;
|
|
3915
|
-
|
|
4119
|
+
const { ariaLabel, flipRtl, iconName, inheritedAttributes } = this;
|
|
4120
|
+
const shouldIconAutoFlip = iconName
|
|
4121
|
+
? shouldRtlFlipIcon(iconName, this.el) && flipRtl !== false
|
|
4122
|
+
: false;
|
|
4123
|
+
const shouldFlip = flipRtl || shouldIconAutoFlip;
|
|
4124
|
+
return (hAsync(Host, Object.assign({ key: 'bc8e46daa75df27a8039e0e767bdb43164ad7d4c', "aria-label": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, alt: "", role: "img", class: Object.assign(Object.assign({}, createColorClasses(this.color)), { 'flip-rtl': shouldFlip, 'icon-rtl': shouldFlip && isRTL(this.el) }) }, inheritedAttributes), (hAsync("div", { class: "icon-inner" }))));
|
|
3916
4125
|
}
|
|
3917
4126
|
/*****
|
|
3918
4127
|
* Private Methods
|
|
@@ -3939,6 +4148,7 @@ class PdsIcon {
|
|
|
3939
4148
|
"$tagName$": "pds-icon",
|
|
3940
4149
|
"$members$": {
|
|
3941
4150
|
"color": [1],
|
|
4151
|
+
"flipRtl": [4, "flip-rtl"],
|
|
3942
4152
|
"icon": [8],
|
|
3943
4153
|
"name": [513],
|
|
3944
4154
|
"size": [513],
|
|
@@ -4004,87 +4214,6 @@ class PdsImage {
|
|
|
4004
4214
|
}; }
|
|
4005
4215
|
}
|
|
4006
4216
|
|
|
4007
|
-
/**
|
|
4008
|
-
* Inherit attributes from the host element
|
|
4009
|
-
* @param el - Host element
|
|
4010
|
-
* @param attributes - Array of attributes to inherit
|
|
4011
|
-
*/
|
|
4012
|
-
const inheritAttributes = (el, attributes = []) => {
|
|
4013
|
-
const attributeObject = {};
|
|
4014
|
-
attributes.forEach((attr) => {
|
|
4015
|
-
if (el.hasAttribute(attr)) {
|
|
4016
|
-
const value = el.getAttribute(attr);
|
|
4017
|
-
if (value !== null) {
|
|
4018
|
-
attributeObject[attr] = el.getAttribute(attr);
|
|
4019
|
-
}
|
|
4020
|
-
el.removeAttribute(attr);
|
|
4021
|
-
}
|
|
4022
|
-
});
|
|
4023
|
-
return attributeObject;
|
|
4024
|
-
};
|
|
4025
|
-
/**
|
|
4026
|
-
* List of available ARIA attributes + `role`.
|
|
4027
|
-
* Removed deprecated attributes.
|
|
4028
|
-
* https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
|
|
4029
|
-
*/
|
|
4030
|
-
const ariaAttributes = [
|
|
4031
|
-
'role',
|
|
4032
|
-
'aria-activedescendant',
|
|
4033
|
-
'aria-atomic',
|
|
4034
|
-
'aria-autocomplete',
|
|
4035
|
-
'aria-braillelabel',
|
|
4036
|
-
'aria-brailleroledescription',
|
|
4037
|
-
'aria-busy',
|
|
4038
|
-
'aria-checked',
|
|
4039
|
-
'aria-colcount',
|
|
4040
|
-
'aria-colindex',
|
|
4041
|
-
'aria-colindextext',
|
|
4042
|
-
'aria-colspan',
|
|
4043
|
-
'aria-controls',
|
|
4044
|
-
'aria-current',
|
|
4045
|
-
'aria-describedby',
|
|
4046
|
-
'aria-description',
|
|
4047
|
-
'aria-details',
|
|
4048
|
-
'aria-disabled',
|
|
4049
|
-
'aria-errormessage',
|
|
4050
|
-
'aria-expanded',
|
|
4051
|
-
'aria-flowto',
|
|
4052
|
-
'aria-haspopup',
|
|
4053
|
-
'aria-hidden',
|
|
4054
|
-
'aria-invalid',
|
|
4055
|
-
'aria-keyshortcuts',
|
|
4056
|
-
'aria-label',
|
|
4057
|
-
'aria-labelledby',
|
|
4058
|
-
'aria-level',
|
|
4059
|
-
'aria-live',
|
|
4060
|
-
'aria-multiline',
|
|
4061
|
-
'aria-multiselectable',
|
|
4062
|
-
'aria-orientation',
|
|
4063
|
-
'aria-owns',
|
|
4064
|
-
'aria-placeholder',
|
|
4065
|
-
'aria-posinset',
|
|
4066
|
-
'aria-pressed',
|
|
4067
|
-
'aria-readonly',
|
|
4068
|
-
'aria-relevant',
|
|
4069
|
-
'aria-required',
|
|
4070
|
-
'aria-roledescription',
|
|
4071
|
-
'aria-rowcount',
|
|
4072
|
-
'aria-rowindex',
|
|
4073
|
-
'aria-rowindextext',
|
|
4074
|
-
'aria-rowspan',
|
|
4075
|
-
'aria-selected',
|
|
4076
|
-
'aria-setsize',
|
|
4077
|
-
'aria-sort',
|
|
4078
|
-
'aria-valuemax',
|
|
4079
|
-
'aria-valuemin',
|
|
4080
|
-
'aria-valuenow',
|
|
4081
|
-
'aria-valuetext',
|
|
4082
|
-
];
|
|
4083
|
-
const inheritAriaAttributes = (el, ignoreList) => {
|
|
4084
|
-
let attributesToInherit = ariaAttributes;
|
|
4085
|
-
return inheritAttributes(el, attributesToInherit);
|
|
4086
|
-
};
|
|
4087
|
-
|
|
4088
4217
|
const pdsInputTokensCss$1 = ":host{--pine-input-color-background-danger:var(--pine-color-red-050)}";
|
|
4089
4218
|
|
|
4090
4219
|
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)}";
|
|
@@ -4245,7 +4374,7 @@ class PdsInput {
|
|
|
4245
4374
|
}; }
|
|
4246
4375
|
}
|
|
4247
4376
|
|
|
4248
|
-
const pdsLinkCss = ":host{display:inline}:host pds-icon{-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs)}.pds-link{-ms-flex-align:center;align-items:center;color:var(--pine-color-text);display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--pine-font-weight-medium)}.pds-link:focus-visible{border-radius:var(--pine-dimension-2xs);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width-thick);position:relative}.pds-link--sm{font-size:var(--pine-font-size-body-xs)}.pds-link--sm pds-icon{height:var(--pine-dimension-xs);width:var(--pine-dimension-xs)}.pds-link--md{font-size:var(--pine-font-size-body-sm)}.pds-link--md pds-icon{height:var(--pine-dimension-xs);width:var(--pine-dimension-xs)}.pds-link--lg{font-size:var(--pine-font-size-body-md)}.pds-link--lg pds-icon{height:var(--pine-dimension-sm);width:var(--pine-dimension-sm)}.pds-link--plain{text-decoration:none}.pds-link--plain:hover{color:var(--pine-color-text-hover);text-decoration:underline}
|
|
4377
|
+
const pdsLinkCss = ":host{display:inline}:host pds-icon{-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs)}.pds-link{-ms-flex-align:center;align-items:center;color:var(--pine-color-text);display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--pine-font-weight-medium)}.pds-link:focus-visible{border-radius:var(--pine-dimension-2xs);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width-thick);position:relative}.pds-link:hover{text-decoration:none}.pds-link--sm{font-size:var(--pine-font-size-body-xs)}.pds-link--sm pds-icon{height:var(--pine-dimension-xs);width:var(--pine-dimension-xs)}.pds-link--md{font-size:var(--pine-font-size-body-sm)}.pds-link--md pds-icon{height:var(--pine-dimension-xs);width:var(--pine-dimension-xs)}.pds-link--lg{font-size:var(--pine-font-size-body-md)}.pds-link--lg pds-icon{height:var(--pine-dimension-sm);width:var(--pine-dimension-sm)}.pds-link--plain{text-decoration:none}.pds-link--plain:hover{color:var(--pine-color-text-hover);text-decoration:underline}";
|
|
4249
4378
|
|
|
4250
4379
|
/**
|
|
4251
4380
|
* @part link - Link element styles.
|
|
@@ -7572,6 +7701,7 @@ class PdsSwitch {
|
|
|
7572
7701
|
constructor(hostRef) {
|
|
7573
7702
|
registerInstance(this, hostRef);
|
|
7574
7703
|
this.pdsSwitchChange = createEvent(this, "pdsSwitchChange");
|
|
7704
|
+
this.inheritedAttributes = {};
|
|
7575
7705
|
/**
|
|
7576
7706
|
* Determines the input 'checked' state.
|
|
7577
7707
|
*/
|
|
@@ -7606,10 +7736,13 @@ class PdsSwitch {
|
|
|
7606
7736
|
return switchClasses;
|
|
7607
7737
|
};
|
|
7608
7738
|
}
|
|
7739
|
+
componentWillLoad() {
|
|
7740
|
+
this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
|
|
7741
|
+
}
|
|
7609
7742
|
render() {
|
|
7610
|
-
return (hAsync(Host, { key: '
|
|
7611
|
-
hAsync("div", { key: '
|
|
7612
|
-
hAsync("div", { key: '
|
|
7743
|
+
return (hAsync(Host, { key: '1ccbfafc2087558aae2fe82c9a97c640a9c3ab66', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, hAsync("label", { key: '9cd218cace5c432f57f03514c91c27ba32eeb97f', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: 'ce995e0706a576dd36a4f1b31ca862ae614f7e2d', "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: 'ea20d65944a429e24b8bd0ae58dafd7ece29e9a7', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
|
|
7744
|
+
hAsync("div", { key: '45656b263c5169d0c6b60dd19e8537e0f12df342', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
7745
|
+
hAsync("div", { key: '53ca563b419ce20ff4f4c81c90eee8f687e355b8', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: 'b8e38204aea3e9e1c542d5c945f57d389d800b66', icon: danger, size: "small" }), this.errorMessage)));
|
|
7613
7746
|
}
|
|
7614
7747
|
get el() { return getElement(this); }
|
|
7615
7748
|
static get style() { return labelCss$1 + pdsSwitchCss; }
|
|
@@ -8378,7 +8511,7 @@ class PdsTextarea {
|
|
|
8378
8511
|
this.debounceChanged();
|
|
8379
8512
|
}
|
|
8380
8513
|
componentWillLoad() {
|
|
8381
|
-
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes(this.el));
|
|
8514
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes$1(this.el));
|
|
8382
8515
|
}
|
|
8383
8516
|
componentDidLoad() {
|
|
8384
8517
|
this.originalPdsInput = this.pdsInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pine-ds/core",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Base components for Pine Design System",
|
|
6
6
|
"author": "Kajabi Design System Services",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@babel/core": "^7.19.3",
|
|
66
66
|
"@babel/preset-env": "^7.22.10",
|
|
67
67
|
"@chromatic-com/storybook": "^3.2.2",
|
|
68
|
-
"@pine-ds/doc-components": "^3.0
|
|
68
|
+
"@pine-ds/doc-components": "^3.1.0",
|
|
69
69
|
"@pxtrn/storybook-addon-docs-stencil": "^6.4.1",
|
|
70
70
|
"@stencil-community/eslint-plugin": "^0.5.0",
|
|
71
71
|
"@stencil/react-output-target": "^0.5.3",
|