@pine-ds/core 2.16.4 → 2.17.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-box.js +11 -2
- package/components/pds-box.js.map +1 -1
- package/components/pds-button2.js +31 -8
- package/components/pds-button2.js.map +1 -1
- package/components/pds-checkbox2.js +3 -3
- package/components/pds-checkbox2.js.map +1 -1
- package/components/pds-chip.js +1 -1
- package/components/pds-copytext.js +2 -2
- package/components/pds-copytext.js.map +1 -1
- package/components/pds-divider.js +1 -1
- package/components/pds-image.js +3 -3
- package/components/pds-image.js.map +1 -1
- package/components/pds-input.js +4 -4
- package/components/pds-link.js +2 -2
- package/components/pds-loader2.js +1 -1
- 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 +2 -2
- 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-text.js +7 -3
- package/components/pds-text.js.map +1 -1
- package/components/pds-textarea.js +4 -4
- package/components/pds-tooltip.js +2 -2
- package/dist/cjs/{index-603f98cb.js → index-6a0fbd28.js} +2 -2
- package/dist/cjs/{index-603f98cb.js.map → index-6a0fbd28.js.map} +1 -1
- 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-box.cjs.entry.js +8 -2
- package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-button.cjs.entry.js +28 -8
- package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-chip.cjs.entry.js +2 -2
- package/dist/cjs/pds-copytext.cjs.entry.js +3 -3
- package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-divider.cjs.entry.js +1 -1
- package/dist/cjs/pds-image.cjs.entry.js +3 -3
- package/dist/cjs/pds-image.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-input.cjs.entry.js +5 -5
- package/dist/cjs/pds-link.cjs.entry.js +3 -3
- package/dist/cjs/pds-loader.cjs.entry.js +1 -1
- package/dist/cjs/pds-popover.cjs.entry.js +1 -1
- package/dist/cjs/pds-progress.cjs.entry.js +1 -1
- package/dist/cjs/pds-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 -3
- 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 +4 -2
- package/dist/cjs/pds-text.cjs.entry.js.map +1 -1
- package/dist/cjs/pds-textarea.cjs.entry.js +5 -5
- package/dist/cjs/pds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/pine-core.cjs.js +1 -1
- package/dist/collection/components/pds-box/pds-box.css +92 -0
- package/dist/collection/components/pds-box/pds-box.js +80 -2
- package/dist/collection/components/pds-box/pds-box.js.map +1 -1
- package/dist/collection/components/pds-box/stories/pds-box.stories.js +3 -0
- package/dist/collection/components/pds-button/pds-button.css +45 -1
- package/dist/collection/components/pds-button/pds-button.js +86 -12
- 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 +3 -3
- package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
- package/dist/collection/components/pds-chip/pds-chip.js +1 -1
- package/dist/collection/components/pds-copytext/pds-copytext.css +10 -13
- package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
- package/dist/collection/components/pds-divider/pds-divider.js +1 -1
- package/dist/collection/components/pds-image/pds-image.css +3 -0
- package/dist/collection/components/pds-image/pds-image.js +2 -2
- package/dist/collection/components/pds-input/pds-input.js +4 -4
- 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-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.js +2 -2
- package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
- package/dist/collection/components/pds-sortable/pds-sortable.js +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.css +31 -7
- package/dist/collection/components/pds-text/pds-text.js +39 -3
- package/dist/collection/components/pds-text/pds-text.js.map +1 -1
- package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
- package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
- package/dist/docs.json +330 -6
- package/dist/esm/{index-858623fe.js → index-24f87b75.js} +2 -2
- package/dist/esm/{index-858623fe.js.map → index-24f87b75.js.map} +1 -1
- 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-box.entry.js +8 -2
- package/dist/esm/pds-box.entry.js.map +1 -1
- package/dist/esm/pds-button.entry.js +28 -8
- package/dist/esm/pds-button.entry.js.map +1 -1
- package/dist/esm/pds-checkbox.entry.js +4 -4
- package/dist/esm/pds-checkbox.entry.js.map +1 -1
- package/dist/esm/pds-chip.entry.js +2 -2
- package/dist/esm/pds-copytext.entry.js +3 -3
- package/dist/esm/pds-copytext.entry.js.map +1 -1
- package/dist/esm/pds-divider.entry.js +1 -1
- package/dist/esm/pds-image.entry.js +3 -3
- package/dist/esm/pds-image.entry.js.map +1 -1
- package/dist/esm/pds-input.entry.js +5 -5
- package/dist/esm/pds-link.entry.js +3 -3
- package/dist/esm/pds-loader.entry.js +1 -1
- 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 -3
- 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 +4 -2
- package/dist/esm/pds-text.entry.js.map +1 -1
- package/dist/esm/pds-textarea.entry.js +5 -5
- package/dist/esm/pds-tooltip.entry.js +2 -2
- package/dist/esm/pine-core.js +1 -1
- package/dist/esm-es5/{index-858623fe.js → index-24f87b75.js} +1 -1
- package/dist/{pine-core/p-2f60d558.js.map → esm-es5/index-24f87b75.js.map} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +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-box.entry.js +1 -1
- package/dist/esm-es5/pds-box.entry.js.map +1 -1
- package/dist/esm-es5/pds-button.entry.js +1 -1
- package/dist/esm-es5/pds-button.entry.js.map +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js +1 -1
- package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
- package/dist/esm-es5/pds-chip.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js +1 -1
- package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
- package/dist/esm-es5/pds-divider.entry.js +1 -1
- package/dist/esm-es5/pds-image.entry.js +1 -1
- package/dist/esm-es5/pds-image.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-loader.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-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-text.entry.js.map +1 -1
- package/dist/esm-es5/pds-textarea.entry.js +1 -1
- package/dist/esm-es5/pds-tooltip.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/esm-es5/pine-core.js.map +1 -1
- package/dist/pine-core/{p-0ad21851.entry.js → p-015d990e.entry.js} +2 -2
- package/dist/pine-core/{p-55cbb360.system.entry.js → p-036267ba.system.entry.js} +2 -2
- package/dist/pine-core/{p-61666500.system.entry.js → p-0561fe8b.system.entry.js} +2 -2
- package/dist/pine-core/p-0561fe8b.system.entry.js.map +1 -0
- package/dist/pine-core/{p-dba6ac9c.system.js → p-06709258.system.js} +1 -1
- package/dist/pine-core/{p-dba6ac9c.system.js.map → p-06709258.system.js.map} +1 -1
- package/dist/pine-core/{p-518f8204.entry.js → p-09a59e3d.entry.js} +2 -2
- package/dist/pine-core/{p-d92c8d63.system.entry.js → p-0eb5831a.system.entry.js} +2 -2
- package/dist/pine-core/{p-d266843a.system.entry.js → p-0fc74497.system.entry.js} +2 -2
- package/dist/pine-core/{p-137aebf6.system.entry.js → p-0fee04db.system.entry.js} +2 -2
- package/dist/pine-core/p-1415445b.entry.js +2 -0
- package/dist/pine-core/{p-910c4422.entry.js.map → p-1415445b.entry.js.map} +1 -1
- package/dist/pine-core/{p-3de0ec6c.system.entry.js → p-1528089a.system.entry.js} +2 -2
- package/dist/pine-core/{p-ce0efc2d.entry.js → p-1701a397.entry.js} +2 -2
- package/dist/pine-core/{p-bda9a6a0.entry.js → p-19fc96d9.entry.js} +2 -2
- package/dist/pine-core/p-19fc96d9.entry.js.map +1 -0
- package/dist/pine-core/{p-b95c0169.system.entry.js → p-1e4dfcdf.system.entry.js} +2 -2
- package/dist/pine-core/{p-5ab15bbc.entry.js → p-1e9f77d7.entry.js} +2 -2
- package/dist/pine-core/p-219de09d.entry.js +2 -0
- package/dist/pine-core/p-219de09d.entry.js.map +1 -0
- package/dist/pine-core/{p-d34b9adb.entry.js → p-22caef95.entry.js} +2 -2
- package/dist/pine-core/p-26e34f6d.system.entry.js +2 -0
- package/dist/pine-core/{p-72218979.system.entry.js → p-2ca6d9cc.system.entry.js} +2 -2
- package/dist/pine-core/{p-b566ad6b.entry.js → p-3ef3b0af.entry.js} +2 -2
- package/dist/pine-core/{p-b2163263.entry.js → p-415666ba.entry.js} +2 -2
- package/dist/pine-core/p-415666ba.entry.js.map +1 -0
- package/dist/pine-core/p-43a47d32.entry.js +2 -0
- package/dist/pine-core/{p-21dc34b7.system.entry.js → p-44b8ab50.system.entry.js} +2 -2
- package/dist/pine-core/{p-138ef0d8.entry.js → p-49d45f31.entry.js} +2 -2
- package/dist/pine-core/p-4b8c1ecc.entry.js +2 -0
- package/dist/pine-core/{p-13bc1706.entry.js.map → p-4b8c1ecc.entry.js.map} +1 -1
- package/dist/pine-core/{p-5d0c0241.entry.js → p-4f325521.entry.js} +2 -2
- package/dist/pine-core/p-5291e641.system.entry.js +2 -0
- package/dist/pine-core/p-5291e641.system.entry.js.map +1 -0
- package/dist/pine-core/{p-10caa9e9.system.entry.js → p-54d8b9e1.system.entry.js} +2 -2
- package/dist/pine-core/p-5c04aee0.system.js +1 -1
- package/dist/pine-core/p-5c04aee0.system.js.map +1 -1
- package/dist/pine-core/{p-b245df0a.system.entry.js → p-6165bcc6.system.entry.js} +2 -2
- package/dist/pine-core/{p-8afa0198.system.entry.js → p-61ac9c98.system.entry.js} +2 -2
- package/dist/pine-core/p-6929d7cb.system.entry.js +2 -0
- package/dist/pine-core/p-6929d7cb.system.entry.js.map +1 -0
- package/dist/pine-core/{p-c849426d.entry.js → p-6bc160fc.entry.js} +2 -2
- package/dist/pine-core/{p-0399a821.entry.js → p-6de82ebd.entry.js} +2 -2
- package/dist/pine-core/{p-2f60d558.js → p-6f5ded84.js} +1 -1
- package/dist/{esm-es5/index-858623fe.js.map → pine-core/p-6f5ded84.js.map} +1 -1
- package/dist/pine-core/{p-f70ebb08.system.entry.js → p-7594ef3d.system.entry.js} +2 -2
- package/dist/pine-core/p-7594ef3d.system.entry.js.map +1 -0
- package/dist/pine-core/{p-d8188c09.entry.js → p-7602617b.entry.js} +2 -2
- package/dist/pine-core/{p-fd3e2c23.system.entry.js → p-79dc91b9.system.entry.js} +2 -2
- package/dist/pine-core/p-7be96da6.system.entry.js +2 -0
- package/dist/pine-core/{p-c53f6513.entry.js → p-7c009a26.entry.js} +2 -2
- package/dist/pine-core/p-7c36d948.entry.js +2 -0
- package/dist/pine-core/{p-7cdcf66c.entry.js.map → p-7c36d948.entry.js.map} +1 -1
- package/dist/pine-core/{p-2f80836e.system.entry.js → p-80111ce1.system.entry.js} +2 -2
- package/dist/pine-core/{p-8b9e5fe5.entry.js → p-8148d557.entry.js} +2 -2
- package/dist/pine-core/{p-ee78b4c6.entry.js → p-8b454b50.entry.js} +2 -2
- package/dist/pine-core/{p-acf6cf26.system.entry.js → p-8d033c25.system.entry.js} +2 -2
- package/dist/pine-core/p-96df0855.entry.js +2 -0
- package/dist/pine-core/p-96df0855.entry.js.map +1 -0
- package/dist/pine-core/p-9b34d1b3.system.entry.js +2 -0
- package/dist/pine-core/p-9b34d1b3.system.entry.js.map +1 -0
- package/dist/pine-core/{p-7369f396.entry.js → p-a9212d32.entry.js} +2 -2
- package/dist/pine-core/p-ad6dbf39.system.entry.js +2 -0
- package/dist/pine-core/p-ad6dbf39.system.entry.js.map +1 -0
- package/dist/pine-core/{p-3f256ba6.entry.js → p-b60381ab.entry.js} +2 -2
- package/dist/pine-core/{p-0c68a8ea.system.entry.js → p-c49e6f45.system.entry.js} +2 -2
- package/dist/pine-core/{p-f099836d.entry.js → p-c7234372.entry.js} +2 -2
- package/dist/pine-core/{p-600b7640.system.entry.js → p-cb3b7c9e.system.entry.js} +2 -2
- package/dist/pine-core/{p-4158fa20.system.entry.js → p-cba861d7.system.entry.js} +2 -2
- package/dist/pine-core/{p-b20dd7d7.entry.js → p-d4dff9ff.entry.js} +2 -2
- package/dist/pine-core/p-d795f31b.entry.js +2 -0
- package/dist/pine-core/p-d795f31b.entry.js.map +1 -0
- package/dist/pine-core/{p-c20bc538.system.entry.js → p-e6b357c6.system.entry.js} +2 -2
- package/dist/pine-core/{p-2583c14d.entry.js → p-e73b841b.entry.js} +2 -2
- package/dist/pine-core/{p-b6dfd404.system.entry.js → p-e7af9dcc.system.entry.js} +2 -2
- package/dist/pine-core/{p-b492ea28.system.entry.js → p-e8d3ab88.system.entry.js} +2 -2
- package/dist/pine-core/p-e9b57c23.entry.js +2 -0
- package/dist/pine-core/p-e9b57c23.entry.js.map +1 -0
- package/dist/pine-core/{p-89fd4ca2.entry.js → p-eb22ed9a.entry.js} +2 -2
- package/dist/pine-core/{p-77d8e9fc.entry.js → p-ee1d23e4.entry.js} +2 -2
- package/dist/pine-core/{p-04fb06cd.system.entry.js → p-eefcdc9c.system.entry.js} +2 -2
- package/dist/pine-core/{p-a924b8a6.system.entry.js → p-f3632692.system.entry.js} +2 -2
- package/dist/pine-core/{p-e45ee7bb.entry.js → p-f3fe7aec.entry.js} +2 -2
- package/dist/pine-core/{p-a020513a.system.entry.js → p-f5efebb0.system.entry.js} +2 -2
- package/dist/pine-core/{p-03e4027f.system.entry.js → p-fab101f5.system.entry.js} +2 -2
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/pine-core/pine-core.esm.js.map +1 -1
- package/dist/pine-core/svg/logo-facebook-round.svg +1 -1
- package/dist/pine-core/svg/logo-facebook.svg +1 -1
- package/dist/pine-core/svg/logo-tiktok.svg +1 -1
- package/dist/types/components/pds-box/pds-box.d.ts +16 -1
- package/dist/types/components/pds-button/pds-button.d.ts +19 -4
- package/dist/types/components/pds-text/pds-text.d.ts +9 -1
- package/dist/types/components.d.ts +88 -6
- package/hydrate/index.js +101 -63
- package/hydrate/index.mjs +101 -63
- package/package.json +2 -2
- package/dist/pine-core/p-13bc1706.entry.js +0 -2
- package/dist/pine-core/p-21c441f2.system.entry.js +0 -2
- package/dist/pine-core/p-21c441f2.system.entry.js.map +0 -1
- package/dist/pine-core/p-546c2b18.entry.js +0 -2
- package/dist/pine-core/p-546c2b18.entry.js.map +0 -1
- package/dist/pine-core/p-5dd93828.system.entry.js +0 -2
- package/dist/pine-core/p-61666500.system.entry.js.map +0 -1
- package/dist/pine-core/p-61cf32c6.entry.js +0 -2
- package/dist/pine-core/p-61cf32c6.entry.js.map +0 -1
- package/dist/pine-core/p-6bba1784.system.entry.js +0 -2
- package/dist/pine-core/p-6bba1784.system.entry.js.map +0 -1
- package/dist/pine-core/p-7cdcf66c.entry.js +0 -2
- package/dist/pine-core/p-8b3d405b.entry.js +0 -2
- package/dist/pine-core/p-8b3d405b.entry.js.map +0 -1
- package/dist/pine-core/p-910c4422.entry.js +0 -2
- package/dist/pine-core/p-9b2cacf1.entry.js +0 -2
- package/dist/pine-core/p-9b2cacf1.entry.js.map +0 -1
- package/dist/pine-core/p-b2163263.entry.js.map +0 -1
- package/dist/pine-core/p-bda9a6a0.entry.js.map +0 -1
- package/dist/pine-core/p-bf55e42e.system.entry.js +0 -2
- package/dist/pine-core/p-e19d9edd.entry.js +0 -2
- package/dist/pine-core/p-f70ebb08.system.entry.js.map +0 -1
- package/dist/pine-core/p-fad3645f.system.entry.js +0 -2
- package/dist/pine-core/p-fad3645f.system.entry.js.map +0 -1
- package/dist/pine-core/p-fe70473e.system.entry.js +0 -2
- package/dist/pine-core/p-fe70473e.system.entry.js.map +0 -1
- /package/dist/pine-core/{p-0ad21851.entry.js.map → p-015d990e.entry.js.map} +0 -0
- /package/dist/pine-core/{p-55cbb360.system.entry.js.map → p-036267ba.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-518f8204.entry.js.map → p-09a59e3d.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d92c8d63.system.entry.js.map → p-0eb5831a.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d266843a.system.entry.js.map → p-0fc74497.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-137aebf6.system.entry.js.map → p-0fee04db.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3de0ec6c.system.entry.js.map → p-1528089a.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ce0efc2d.entry.js.map → p-1701a397.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b95c0169.system.entry.js.map → p-1e4dfcdf.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5ab15bbc.entry.js.map → p-1e9f77d7.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d34b9adb.entry.js.map → p-22caef95.entry.js.map} +0 -0
- /package/dist/pine-core/{p-bf55e42e.system.entry.js.map → p-26e34f6d.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-72218979.system.entry.js.map → p-2ca6d9cc.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b566ad6b.entry.js.map → p-3ef3b0af.entry.js.map} +0 -0
- /package/dist/pine-core/{p-e19d9edd.entry.js.map → p-43a47d32.entry.js.map} +0 -0
- /package/dist/pine-core/{p-21dc34b7.system.entry.js.map → p-44b8ab50.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-138ef0d8.entry.js.map → p-49d45f31.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5d0c0241.entry.js.map → p-4f325521.entry.js.map} +0 -0
- /package/dist/pine-core/{p-10caa9e9.system.entry.js.map → p-54d8b9e1.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b245df0a.system.entry.js.map → p-6165bcc6.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-8afa0198.system.entry.js.map → p-61ac9c98.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c849426d.entry.js.map → p-6bc160fc.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0399a821.entry.js.map → p-6de82ebd.entry.js.map} +0 -0
- /package/dist/pine-core/{p-d8188c09.entry.js.map → p-7602617b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-fd3e2c23.system.entry.js.map → p-79dc91b9.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-5dd93828.system.entry.js.map → p-7be96da6.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c53f6513.entry.js.map → p-7c009a26.entry.js.map} +0 -0
- /package/dist/pine-core/{p-2f80836e.system.entry.js.map → p-80111ce1.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-8b9e5fe5.entry.js.map → p-8148d557.entry.js.map} +0 -0
- /package/dist/pine-core/{p-ee78b4c6.entry.js.map → p-8b454b50.entry.js.map} +0 -0
- /package/dist/pine-core/{p-acf6cf26.system.entry.js.map → p-8d033c25.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-7369f396.entry.js.map → p-a9212d32.entry.js.map} +0 -0
- /package/dist/pine-core/{p-3f256ba6.entry.js.map → p-b60381ab.entry.js.map} +0 -0
- /package/dist/pine-core/{p-0c68a8ea.system.entry.js.map → p-c49e6f45.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-f099836d.entry.js.map → p-c7234372.entry.js.map} +0 -0
- /package/dist/pine-core/{p-600b7640.system.entry.js.map → p-cb3b7c9e.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-4158fa20.system.entry.js.map → p-cba861d7.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b20dd7d7.entry.js.map → p-d4dff9ff.entry.js.map} +0 -0
- /package/dist/pine-core/{p-c20bc538.system.entry.js.map → p-e6b357c6.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-2583c14d.entry.js.map → p-e73b841b.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b6dfd404.system.entry.js.map → p-e7af9dcc.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-b492ea28.system.entry.js.map → p-e8d3ab88.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-89fd4ca2.entry.js.map → p-eb22ed9a.entry.js.map} +0 -0
- /package/dist/pine-core/{p-77d8e9fc.entry.js.map → p-ee1d23e4.entry.js.map} +0 -0
- /package/dist/pine-core/{p-04fb06cd.system.entry.js.map → p-eefcdc9c.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a924b8a6.system.entry.js.map → p-f3632692.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-e45ee7bb.entry.js.map → p-f3fe7aec.entry.js.map} +0 -0
- /package/dist/pine-core/{p-a020513a.system.entry.js.map → p-f5efebb0.system.entry.js.map} +0 -0
- /package/dist/pine-core/{p-03e4027f.system.entry.js.map → p-fab101f5.system.entry.js.map} +0 -0
|
@@ -110,8 +110,8 @@ export class PdsSelect {
|
|
|
110
110
|
return classNames.join(' ');
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
|
-
return (h(Host, { key: '
|
|
114
|
-
h("label", { key: '
|
|
113
|
+
return (h(Host, { key: 'abb7c4086107f780418188ad2b241c6dd3ef70dc', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames() }, h("div", { key: '97add24f8d8108fe99d517533d8394509e0952bc', class: "pds-select" }, this.label &&
|
|
114
|
+
h("label", { key: '90d07c6d3e80a8ad87b9b32b0ae3f5b5985492c4', htmlFor: this.componentId }, this.label), h("select", { key: '810bb82b8f3ff0b71470ead548f5427901a41f51', 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) }), h("div", { key: '8bbf5f497f5dc848f054db848e552e351398df9a', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: 'dc17e1784532fb31920cee07b93425963a034db8', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '47d1ddcd8d93b428156ce45c2082810b9561baba', class: "pds-select__select-icon", icon: enlarge }))));
|
|
115
115
|
}
|
|
116
116
|
static get is() { return "pds-select"; }
|
|
117
117
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class PdsSortableItem {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '9531761ffc3c4fa9831ce48c6d1d94d8a241f5d3', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: 'bf1804ac74e830456c1d1c8a81a6e9794854f43f', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '44b59b0df7fa63875e732a5598e15265b8f7e3e9', icon: handleIcon }))), h("slot", { key: 'd2fbde756dbd392a17cfdc0c1717a8f0ab8d2eb8' }), this.enableActions && (h("div", { key: '035cf65cbb286a21b697831755f08964d933fd56', class: "pds-sortable-item__actions" }, h("slot", { key: '0b14e6adddfb6edabfc92ffe31ee1048be9c8906', name: "sortable-item-actions" })))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "pds-sortable-item"; }
|
|
24
24
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class PdsSortable {
|
|
|
35
35
|
Sortable.create(this.el, sortableOptions);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '50487903edea53def9caf206c5d23c1fb407d4ba', class: this.classNames(), id: this.componentId }, h("slot", { key: 'b2575710a4b56c7120d9971f42fb285b78187d50' })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "pds-sortable"; }
|
|
41
41
|
static get encapsulation() { return "scoped"; }
|
|
@@ -33,9 +33,9 @@ export class PdsSwitch {
|
|
|
33
33
|
this.value = undefined;
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
37
|
-
h("div", { key: '
|
|
38
|
-
h("div", { key: '
|
|
36
|
+
return (h(Host, { key: '8b2cffd17dad8bca0659b1ce6ecc35e4c5a21e69', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("input", { key: 'b89c601aa4048d1cb66f62f04e1144860d281142', "aria-describedby": assignDescription(this.componentId, this.invalid, 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 }), h(PdsLabel, { key: '851668c5fec355088b752a6cccb013de6db9ec52', classNames: "pds-switch__label", htmlFor: this.componentId, text: this.label }), this.helperMessage &&
|
|
37
|
+
h("div", { key: 'b56d66f02d694bf9b2c3a35606e1fc241630fa74', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
|
|
38
|
+
h("div", { key: 'f28e68205f0ade8decd21651002928889e3ada2c', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'd735a2e254b13109ff3d67b00867ea7263994336', icon: danger, size: "small" }), this.errorMessage)));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "pds-switch"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class PdsTableBody {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '0f014bb1ed578a810ea0851d6a6ca73e3100ccc0', role: "rowgroup" }, h("slot", { key: '9d1e2b60951bbd7e578b2f73cf2ee0bf77298c90' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pds-table-body"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,11 +34,11 @@ export class PdsTableCell {
|
|
|
34
34
|
return classNames.join(' ');
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '4d3039d5acc7307a2afb6badd36e5bf80cc57a5c', class: this.classNames(), role: "gridcell", style: this.tableRef &&
|
|
38
38
|
this.tableRef.fixedColumn &&
|
|
39
39
|
this.tableRef.selectable
|
|
40
40
|
? { '--fixed-cell-position': '40px' }
|
|
41
|
-
: {} }, h("slot", { key: '
|
|
41
|
+
: {} }, h("slot", { key: '0b2043478758425a1484206320f88426f1b8ea33' })));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "pds-table-cell"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class PdsTableHead {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'aa7b043f619fff19d042a99a5daf70f26b5d3e6f', role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: 'b9a55e3b654cbf8094b889bcdd168373720fe66b', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: 'd290a40d3048d5593ab600068b1d151cff1cdc42', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", labelHidden: true, checked: this.isSelected }))), h("slot", { key: 'e8969109fa3be55e437a33331996399403bef6cc' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "pds-table-head"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,11 +51,11 @@ export class PdsTableHeadCell {
|
|
|
51
51
|
return classNames.join(' ');
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'a0af053fbb687e4014d6e0d67e5d3029250c1ff0', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
|
|
55
55
|
this.tableRef.fixedColumn &&
|
|
56
56
|
this.tableRef.selectable
|
|
57
57
|
? { '--fixed-cell-position': '40px' }
|
|
58
|
-
: {} }, h("slot", { key: '
|
|
58
|
+
: {} }, h("slot", { key: '39acc3e6e6c03451fcd204d4b9f1958d585f70f3' }), this.sortable && (h("pds-icon", { key: 'f87c445c0a162767537d10524b9665b3288d6e54', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "pds-table-head-cell"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class PdsTableRow {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'eac4d142866c009700f8e2ff03566ca412b66579', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: 'aea497fab374fde5c47a679f27c793753ee72368', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: '88a0c5f294f2263aa84c12de7cfbbbb8c930369a', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", labelHidden: true, checked: this.isSelected }))), h("slot", { key: 'c95503c1288835c248df12ad5bae3b2decdf4c25' })));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "pds-table-row"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@ export class PdsTable {
|
|
|
80
80
|
headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '685c97f9046f0fc2fe5236271cf3608e5a2a016c', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, h("slot", { key: 'd496a97636d4ddf0524a0d1d42057697a5d73cbf' })));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "pds-table"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ export class PdsTab {
|
|
|
11
11
|
this.pdsTabClick.emit([index, parentComponentId]);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
const availabilityTabEdgeInlineStart = (h("span", { key: '
|
|
15
|
-
const availabilityTabEdgeInlineEnd = (h("span", { key: '
|
|
16
|
-
return (h(Host, { key: '
|
|
14
|
+
const availabilityTabEdgeInlineStart = (h("span", { key: '9c80106fd07478065a327f0d511eb295d5662a47', class: "pds-tab-edge", role: "presentation" }));
|
|
15
|
+
const availabilityTabEdgeInlineEnd = (h("span", { key: 'ca52ce9d3f390b1a41409f3b03f36c900a97e11d', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
|
|
16
|
+
return (h(Host, { key: '2388c38f23fff5470e40f27beb6d11a09f7f4ba6', variant: this.variant, slot: "tabs", index: this.index }, h("button", { key: '7f5dabfd55126e61bb77118890c58acf51f3eca1', role: "tab", id: this.parentComponentId + "__" + this.name, "aria-controls": this.parentComponentId + "__" + this.name + "-panel", tabindex: this.selected ? "0" : "-1", "aria-selected": this.selected ? "true" : "false", class: this.selected ? "pds-tab is-active" : "pds-tab", onClick: this.onTabClick.bind(this, this.index, this.parentComponentId) }, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, h("div", { key: '86898dd0fc8b6115f182fb366bfd7a2007ddfee8', class: "pds-tab__content" }, h("slot", { key: '0ceba1c43a19ada407c00c484f9f847b4c243920' })))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "pds-tab"; }
|
|
19
19
|
static get originalStyleUrls() {
|
|
@@ -7,7 +7,7 @@ export class PdsTabpanel {
|
|
|
7
7
|
this.selected = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'b3d1639195fd9b621b2fff6a1871bc07e7b0cc2e', slot: "tabpanels" }, h("div", { key: '9d589ffbdb66db7cc02986d0f308aade018b356e', role: "tabpanel", id: this.parentComponentId + "__" + this.name + '-panel', tabindex: "0", "aria-labelledby": this.parentComponentId + "__" + this.name, class: this.selected ? "pds-tabpanel is-active" : "pds-tabpanel" }, h("slot", { key: '1d390c36fe8b99503b078c0526943a68d254cda3' }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "pds-tabpanel"; }
|
|
13
13
|
static get originalStyleUrls() {
|
|
@@ -83,7 +83,7 @@ export class PdsTabs {
|
|
|
83
83
|
this.passPropsToChildren();
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '044baacdc058f7e1adc0eccad9e290ae6d51f230', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, h("div", { key: 'ae6af35cba5b53873d7e604514658249f21d274e', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, h("slot", { key: '76f86387f239db6900688b733fb3a79d64919290', name: "tabs" })), h("slot", { key: '02e1fa8a8d60e43963b7b1fcd576ea78e6f434ce', name: "tabpanels" })));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "pds-tabs"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
/* stylelint-disable */
|
|
19
19
|
h1 {
|
|
20
20
|
font: var(--pine-typography-heading-1);
|
|
21
|
-
letter-spacing:
|
|
21
|
+
letter-spacing: var(--pine-letter-spacing-heading-1);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
h2 {
|
|
25
25
|
font: var(--pine-typography-heading-2);
|
|
26
|
-
letter-spacing:
|
|
26
|
+
letter-spacing: var(--pine-letter-spacing-heading-2);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
h3 {
|
|
30
30
|
font: var(--pine-typography-heading-3);
|
|
31
|
-
letter-spacing:
|
|
31
|
+
letter-spacing: var(--pine-letter-spacing-heading-3);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
h4 {
|
|
35
35
|
font: var(--pine-typography-heading-4);
|
|
36
|
-
letter-spacing:
|
|
36
|
+
letter-spacing: var(--pine-letter-spacing-heading-4);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
h5 {
|
|
40
40
|
font: var(--pine-typography-heading-5);
|
|
41
|
-
letter-spacing:
|
|
41
|
+
letter-spacing: var(--pine-letter-spacing-heading-5);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
h6 {
|
|
45
45
|
font: var(--pine-typography-heading-6);
|
|
46
|
-
letter-spacing:
|
|
46
|
+
letter-spacing: var(--pine-letter-spacing-heading-6);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
code, em, p, pre, strong {
|
|
50
50
|
font: var(--pine-typography-body);
|
|
51
|
-
letter-spacing: -
|
|
51
|
+
letter-spacing: var(--pine-letter-spacing-body);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* stylelint-enable */
|
|
@@ -141,6 +141,30 @@ h1, h2, h3, h4, h5, h6, p, code, pre, em, strong {
|
|
|
141
141
|
font-size: var(--pine-font-size-body-2xs);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
+
.pds-text--size-h1 {
|
|
145
|
+
font-size: var(--pine-font-size-heading-1);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.pds-text--size-h2 {
|
|
149
|
+
font-size: var(--pine-font-size-heading-2);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.pds-text--size-h3 {
|
|
153
|
+
font-size: var(--pine-font-size-heading-3);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.pds-text--size-h4 {
|
|
157
|
+
font-size: var(--pine-font-size-heading-4);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.pds-text--size-h5 {
|
|
161
|
+
font-size: var(--pine-font-size-heading-5);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.pds-text--size-h6 {
|
|
165
|
+
font-size: var(--pine-font-size-heading-6);
|
|
166
|
+
}
|
|
167
|
+
|
|
144
168
|
.pds-text--weight-extra-light {
|
|
145
169
|
font-weight: var(--pine-font-weight-extra-light);
|
|
146
170
|
}
|
|
@@ -5,9 +5,11 @@ export class PdsText {
|
|
|
5
5
|
this.color = undefined;
|
|
6
6
|
this.decoration = undefined;
|
|
7
7
|
this.gutter = undefined;
|
|
8
|
+
this.italic = undefined;
|
|
8
9
|
this.size = undefined;
|
|
9
10
|
this.weight = undefined;
|
|
10
11
|
this.tag = "p";
|
|
12
|
+
this.truncate = undefined;
|
|
11
13
|
}
|
|
12
14
|
render() {
|
|
13
15
|
const Tag = this.tag;
|
|
@@ -20,7 +22,7 @@ export class PdsText {
|
|
|
20
22
|
${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
|
|
21
23
|
${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
|
|
22
24
|
`;
|
|
23
|
-
return (h(Tag, { key: '
|
|
25
|
+
return (h(Tag, { key: 'f5e7df223d447587def75f91452c78e87477e879', class: typeClasses }, h("slot", { key: '9341392612d92c734ae274299c94967483fb4744' })));
|
|
24
26
|
}
|
|
25
27
|
static get is() { return "pds-text"; }
|
|
26
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -104,12 +106,29 @@ export class PdsText {
|
|
|
104
106
|
"attribute": "gutter",
|
|
105
107
|
"reflect": false
|
|
106
108
|
},
|
|
109
|
+
"italic": {
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "boolean",
|
|
114
|
+
"resolved": "boolean",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": true,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": "If set or `true`, the text will be italic."
|
|
122
|
+
},
|
|
123
|
+
"attribute": "italic",
|
|
124
|
+
"reflect": false
|
|
125
|
+
},
|
|
107
126
|
"size": {
|
|
108
127
|
"type": "string",
|
|
109
128
|
"mutable": false,
|
|
110
129
|
"complexType": {
|
|
111
|
-
"original": "| '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs'",
|
|
112
|
-
"resolved": "\"2xl\" | \"2xs\" | \"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
130
|
+
"original": "| '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'",
|
|
131
|
+
"resolved": "\"2xl\" | \"2xs\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
|
|
113
132
|
"references": {}
|
|
114
133
|
},
|
|
115
134
|
"required": false,
|
|
@@ -155,6 +174,23 @@ export class PdsText {
|
|
|
155
174
|
"attribute": "tag",
|
|
156
175
|
"reflect": false,
|
|
157
176
|
"defaultValue": "\"p\""
|
|
177
|
+
},
|
|
178
|
+
"truncate": {
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"mutable": false,
|
|
181
|
+
"complexType": {
|
|
182
|
+
"original": "boolean",
|
|
183
|
+
"resolved": "boolean",
|
|
184
|
+
"references": {}
|
|
185
|
+
},
|
|
186
|
+
"required": false,
|
|
187
|
+
"optional": true,
|
|
188
|
+
"docs": {
|
|
189
|
+
"tags": [],
|
|
190
|
+
"text": "If set or `true`, the text will be truncated. Must add a `width` to the element."
|
|
191
|
+
},
|
|
192
|
+
"attribute": "truncate",
|
|
193
|
+
"reflect": false
|
|
158
194
|
}
|
|
159
195
|
};
|
|
160
196
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-text.js","sourceRoot":"","sources":["../../../src/components/pds-text/pds-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,OAAO
|
|
1
|
+
{"version":3,"file":"pds-text.js","sourceRoot":"","sources":["../../../src/components/pds-text/pds-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,OAAO;;;;;;;;;mBAuFT,GAAG;;;IAOZ,MAAM;QACJ,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;QAErB,MAAM,WAAW,GAAG;;QAEhB,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,mBAAmB,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE;QAC3F,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,mBAAmB,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE;QAC3F,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,oBAAoB,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE;QAC/F,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,kBAAkB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE;QACvF,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,oBAAoB,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE;QAC/F,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,wBAAwB,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE;KAClH,CAAC;QAEF,OAAO,CACL,EAAC,GAAG,qDAAC,KAAK,EAAE,WAAW;YACrB,8DAAQ,CACJ,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'pds-text',\n styleUrl: 'pds-text.scss',\n shadow: true,\n})\nexport class PdsText {\n\n /**\n * Sets the text alignment.\n */\n @Prop() align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Sets the text color.\n */\n @Prop() color?:\n | 'primary'\n | 'secondary'\n | 'neutral'\n | 'accent'\n | 'danger'\n | 'info'\n | 'success'\n | 'warning';\n\n /**\n * Sets the text decoration.\n */\n @Prop() decoration?:\n | 'strikethrough'\n | 'underline-dotted';\n\n /**\n * Set the bottom margin for the text.\n */\n @Prop() gutter?:\n | '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs';\n\n /**\n * If set or `true`, the text will be italic.\n */\n @Prop() italic?: boolean;\n\n /**\n * Sets the font size.\n */\n @Prop() size?:\n | '2xl'\n | 'xl'\n | 'lg'\n | 'md'\n | 'sm'\n | 'xs'\n | '2xs'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6';\n\n /**\n * Sets the font weight.\n */\n @Prop() weight?:\n | 'extra-light'\n | 'light'\n | 'regular'\n | 'medium'\n | 'semibold'\n | 'bold';\n\n /**\n * Determines what semantic text tag to render.\n */\n @Prop() tag:\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'p'\n | 'code'\n | 'pre'\n | 'strong'\n | 'em' = \"p\";\n\n /**\n * If set or `true`, the text will be truncated. Must add a `width` to the element.\n */\n @Prop() truncate?: boolean;\n\n render() {\n const Tag = this.tag;\n\n const typeClasses = `\n pds-text\n ${this.align !== undefined && this.align.trim() !== '' ? `pds-text--align-${this.align}` : ''}\n ${this.color !== undefined && this.color.trim() !== '' ? `pds-text--color-${this.color}` : ''}\n ${this.gutter !== undefined && this.gutter.trim() !== '' ? `pds-text--gutter-${this.gutter}` : ''}\n ${this.size !== undefined && this.size.trim() !== '' ? `pds-text--size-${this.size}` : ''}\n ${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}\n ${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}\n `;\n\n return (\n <Tag class={typeClasses}>\n <slot />\n </Tag>\n );\n }\n}\n"]}
|
|
@@ -107,10 +107,10 @@ export class PdsTextarea {
|
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
109
|
const value = this.getValue();
|
|
110
|
-
return (h(Host, { key: '
|
|
111
|
-
h("label", { key: '
|
|
112
|
-
h("p", { key: '
|
|
113
|
-
h("p", { key: '
|
|
110
|
+
return (h(Host, { key: '0edad7185f1226f00ab2fade7415066f488225cd', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, h("div", { key: 'e895609f3cd2f691c29e5d828a0042d4f4fdc997', class: "pds-textarea" }, this.label &&
|
|
111
|
+
h("label", { key: '8bbc39cc0f21e3c25bebc673e64f320969f474f7', htmlFor: this.componentId }, this.label), h("textarea", Object.assign({ key: '243dc4bbdfe8ec3a72483ab227849b8a3008a57d', 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 &&
|
|
112
|
+
h("p", { key: 'eaaa7d806616d6478ab1360d4e6d5fd22c1466dc', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
|
|
113
|
+
h("p", { key: 'af507f96a4504cba39ec63be5e8c3ab5df5a23e0', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: 'a87ed44788ddca487f53ce68d042f20a5557a10a', icon: danger, size: "small" }), this.errorMessage))));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "pds-textarea"; }
|
|
116
116
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,13 +67,13 @@ export class PdsTooltip {
|
|
|
67
67
|
this.opened = false;
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '0dcd638dabb211326da1d7783a87258760d8bc31', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, h("div", { key: '8636152c6bbb46c1f78470c4b3c2f62ce6d0013a', class: `
|
|
71
71
|
pds-tooltip
|
|
72
72
|
pds-tooltip--${this.placement}
|
|
73
73
|
${this.htmlContent ? 'pds-tooltip--has-html-content' : ''}
|
|
74
74
|
${this.opened ? 'pds-tooltip--is-open' : ''}
|
|
75
75
|
${this.hasArrow ? '' : 'pds-tooltip--no-arrow'}
|
|
76
|
-
` }, h("span", { key: '
|
|
76
|
+
` }, h("span", { key: '106bd78c7aaca118e2784396ce4d9be7d9860b4d', "aria-describedby": this.componentId, class: "pds-tooltip__trigger" }, h("slot", { key: '298dea2ca502a86193fb28ac530ecb9ce177244d' })), h("div", { key: '75f77fe884ee7204f12b04e30b6d423c93e30be5', class: "pds-tooltip__content", "aria-hidden": this.opened ? 'false' : 'true', "aria-live": this.opened ? 'polite' : 'off', id: this.componentId, ref: (el) => (this.contentEl = el), role: "tooltip", style: { maxWidth: this.maxWidth } }, h("slot", { key: 'f7de3fb1d8633491778a1d6bb166f83da10df75e', name: "content" }), this.content))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "pds-tooltip"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|