@verbb/plugin-kit-web 2.0.22 → 2.0.24
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/CHANGELOG.md +20 -0
- package/custom-elements.json +8414 -7031
- package/dist/chunks/{active-elements-BwpXu8Lb.js → active-elements-739kISON.js} +1 -1
- package/dist/chunks/{active-elements-BwpXu8Lb.js.map → active-elements-739kISON.js.map} +1 -1
- package/dist/chunks/{animate-with-class-CsDwYnXL.js → animate-with-class-CjTZI0NU.js} +1 -1
- package/dist/chunks/{animate-with-class-CsDwYnXL.js.map → animate-with-class-CjTZI0NU.js.map} +1 -1
- package/dist/chunks/{autoloader-dJO3tYOX.js → autoloader-DcwybeWc.js} +3 -3
- package/dist/chunks/{autoloader-dJO3tYOX.js.map → autoloader-DcwybeWc.js.map} +1 -1
- package/dist/chunks/{button-group-item.styles-DYmBR28a.js → button-group-item.styles-D7tuu-sr.js} +1 -1
- package/dist/chunks/{button-group-item.styles-DYmBR28a.js.map → button-group-item.styles-D7tuu-sr.js.map} +1 -1
- package/dist/chunks/{component-registry-D34fm8xW.js → component-registry-B5pnAZsb.js} +6 -1
- package/dist/chunks/component-registry-B5pnAZsb.js.map +1 -0
- package/dist/chunks/{control-aria-B2QMq4ji.js → control-aria-CtNg2izr.js} +1 -1
- package/dist/chunks/{control-aria-B2QMq4ji.js.map → control-aria-CtNg2izr.js.map} +1 -1
- package/dist/chunks/{decorate-R0X811qp.js → decorate-Br_PE9pq.js} +3 -4
- package/dist/chunks/{decorate-R0X811qp.js.map → decorate-Br_PE9pq.js.map} +1 -1
- package/dist/chunks/decorators-BkErmuYK.js +2 -0
- package/dist/chunks/{dismissible-stack-XQUMfKO3.js → dismissible-stack-CwhtwAyo.js} +1 -1
- package/dist/chunks/{dismissible-stack-XQUMfKO3.js.map → dismissible-stack-CwhtwAyo.js.map} +1 -1
- package/dist/chunks/{field-labels-CmuAW8Cl.js → field-labels-pY-gQDwQ.js} +1 -1
- package/dist/chunks/{field-labels-CmuAW8Cl.js.map → field-labels-pY-gQDwQ.js.map} +1 -1
- package/dist/chunks/{focus-aa5dlv8k.js → focus-DcVUPVqn.js} +2 -2
- package/dist/chunks/{focus-aa5dlv8k.js.map → focus-DcVUPVqn.js.map} +1 -1
- package/dist/chunks/{form-control.styles-BQdimE5o.js → form-control.styles-CQ93gnVf.js} +1 -1
- package/dist/chunks/{form-control.styles-BQdimE5o.js.map → form-control.styles-CQ93gnVf.js.map} +1 -1
- package/dist/chunks/{has-slot-8BvCt_qo.js → has-slot-DJv86HKx.js} +1 -1
- package/dist/chunks/{has-slot-8BvCt_qo.js.map → has-slot-DJv86HKx.js.map} +1 -1
- package/dist/chunks/{icon.styles-BLTWLqYp.js → icon.styles-KWvfi7RV.js} +1 -1
- package/dist/chunks/{icon.styles-BLTWLqYp.js.map → icon.styles-KWvfi7RV.js.map} +1 -1
- package/dist/chunks/{icons-BR8JcQj2.js → icons-k1pvx6yX.js} +2 -2
- package/dist/chunks/{icons-BR8JcQj2.js.map → icons-k1pvx6yX.js.map} +1 -1
- package/dist/chunks/{mirror-validator-DCjNYrrx.js → mirror-validator-BkZlEv1Z.js} +1 -1
- package/dist/chunks/{mirror-validator-DCjNYrrx.js.map → mirror-validator-BkZlEv1Z.js.map} +1 -1
- package/dist/chunks/{option-filter-BQqr8Z21.js → option-filter-BkKyBg8L.js} +2 -2
- package/dist/chunks/{option-filter-BQqr8Z21.js.map → option-filter-BkKyBg8L.js.map} +1 -1
- package/dist/chunks/{overlay-lifecycle-D0pkTQyI.js → overlay-lifecycle-C582MGBJ.js} +1 -1
- package/dist/chunks/{overlay-lifecycle-D0pkTQyI.js.map → overlay-lifecycle-C582MGBJ.js.map} +1 -1
- package/dist/chunks/pk-alert-BQAb4lJc.js +666 -0
- package/dist/chunks/pk-alert-BQAb4lJc.js.map +1 -0
- package/dist/chunks/{pk-autocomplete-qy2Psvqm.js → pk-autocomplete-DUXhs1hi.js} +21 -20
- package/dist/chunks/pk-autocomplete-DUXhs1hi.js.map +1 -0
- package/dist/chunks/{pk-button-group-BSz5T5iS.js → pk-button-group-BY12Lbk7.js} +10 -7
- package/dist/chunks/pk-button-group-BY12Lbk7.js.map +1 -0
- package/dist/chunks/{pk-button-group-separator-DH3Rl24b.js → pk-button-group-separator-B1a8dP9A.js} +3 -2
- package/dist/chunks/pk-button-group-separator-B1a8dP9A.js.map +1 -0
- package/dist/chunks/{pk-button-group-text-Qro_KmZb.js → pk-button-group-text-CWNlZkyV.js} +3 -3
- package/dist/chunks/pk-button-group-text-CWNlZkyV.js.map +1 -0
- package/dist/chunks/{pk-button-BrH4u4Qr.js → pk-button-ntSVrer_.js} +8 -7
- package/dist/chunks/pk-button-ntSVrer_.js.map +1 -0
- package/dist/chunks/{pk-calendar-Z7Y0PjeY.js → pk-calendar-Df0c5u79.js} +12 -11
- package/dist/chunks/pk-calendar-Df0c5u79.js.map +1 -0
- package/dist/chunks/{pk-checkbox-13ArHSmt.js → pk-checkbox-L5uRex3b.js} +6 -5
- package/dist/chunks/pk-checkbox-L5uRex3b.js.map +1 -0
- package/dist/chunks/{pk-checkbox-select-Ckvfbu83.js → pk-checkbox-select-6OS0wFYO.js} +4 -3
- package/dist/chunks/pk-checkbox-select-6OS0wFYO.js.map +1 -0
- package/dist/chunks/{pk-clear--mPWZP7H.js → pk-clear-DHxP_2cm.js} +1 -1
- package/dist/chunks/{pk-clear--mPWZP7H.js.map → pk-clear-DHxP_2cm.js.map} +1 -1
- package/dist/chunks/{pk-code-editor-BlG6O5qB.js → pk-code-editor-vZriNR67.js} +6 -5
- package/dist/chunks/pk-code-editor-vZriNR67.js.map +1 -0
- package/dist/chunks/{pk-color-input-BRgQ5-vB.js → pk-color-input-Csbm4ROT.js} +6 -5
- package/dist/chunks/pk-color-input-Csbm4ROT.js.map +1 -0
- package/dist/chunks/{pk-combobox-ag89QEX2.js → pk-combobox-BrSBrldb.js} +25 -23
- package/dist/chunks/pk-combobox-BrSBrldb.js.map +1 -0
- package/dist/chunks/{pk-connect.styles-BhW406jt.js → pk-connect.styles-oKhxa_m2.js} +1 -1
- package/dist/chunks/{pk-connect.styles-BhW406jt.js.map → pk-connect.styles-oKhxa_m2.js.map} +1 -1
- package/dist/chunks/{pk-copy-button-BVaOLtYG.js → pk-copy-button-5i9v_zmu.js} +31 -9
- package/dist/chunks/pk-copy-button-5i9v_zmu.js.map +1 -0
- package/dist/chunks/{pk-date-picker-C2YvDPNm.js → pk-date-picker-C-w6Mn6j.js} +21 -20
- package/dist/chunks/pk-date-picker-C-w6Mn6j.js.map +1 -0
- package/dist/chunks/{pk-dialog-VMQqLW1f.js → pk-dialog-C7KZGpQs.js} +10 -9
- package/dist/chunks/pk-dialog-C7KZGpQs.js.map +1 -0
- package/dist/chunks/{pk-dropdown-item-D9OaG5o-.js → pk-dropdown-item-Ck2N_suK.js} +11 -8
- package/dist/chunks/pk-dropdown-item-Ck2N_suK.js.map +1 -0
- package/dist/chunks/{pk-dropdown-label-CRNWMWQd.js → pk-dropdown-label-BdZLeizJ.js} +2 -2
- package/dist/chunks/pk-dropdown-label-BdZLeizJ.js.map +1 -0
- package/dist/chunks/{pk-dropdown-menu-DW1wI8xQ.js → pk-dropdown-menu-DBsO1uYR.js} +22 -18
- package/dist/chunks/pk-dropdown-menu-DBsO1uYR.js.map +1 -0
- package/dist/chunks/{pk-editable-table-DDnu1I8Y.js → pk-editable-table-Cd8K6vT4.js} +26 -23
- package/dist/chunks/pk-editable-table-Cd8K6vT4.js.map +1 -0
- package/dist/chunks/{pk-field-UAlMq6mQ.js → pk-field--PCE9nOd.js} +9 -8
- package/dist/chunks/pk-field--PCE9nOd.js.map +1 -0
- package/dist/chunks/{pk-form-associated-element-GxX5lbnk.js → pk-form-associated-element-Doh2K3pG.js} +3 -3
- package/dist/chunks/pk-form-associated-element-Doh2K3pG.js.map +1 -0
- package/dist/chunks/{pk-image-browser-Bj8LhWfk.js → pk-image-browser-iUqdcLKs.js} +21 -21
- package/dist/chunks/pk-image-browser-iUqdcLKs.js.map +1 -0
- package/dist/chunks/{pk-input-BywmK5n2.js → pk-input-BUbXj9We.js} +14 -13
- package/dist/chunks/pk-input-BUbXj9We.js.map +1 -0
- package/dist/chunks/{pk-input-group-BLqKPnfc.js → pk-input-group-CN79c5HT.js} +5 -4
- package/dist/chunks/pk-input-group-CN79c5HT.js.map +1 -0
- package/dist/chunks/{pk-input-group-addon-ClBkGmAw.js → pk-input-group-addon-DpxfuYp1.js} +3 -2
- package/dist/chunks/pk-input-group-addon-DpxfuYp1.js.map +1 -0
- package/dist/chunks/{pk-input-group-button-CHQHsWd4.js → pk-input-group-button-D5Hm4saA.js} +3 -2
- package/dist/chunks/pk-input-group-button-D5Hm4saA.js.map +1 -0
- package/dist/chunks/{pk-input-group-input-oNnqMBGU.js → pk-input-group-input-Cm1MoHgN.js} +3 -2
- package/dist/chunks/pk-input-group-input-Cm1MoHgN.js.map +1 -0
- package/dist/chunks/{pk-input-group-text-HUxlXROB.js → pk-input-group-text-CtyJZ_Kg.js} +2 -2
- package/dist/chunks/pk-input-group-text-CtyJZ_Kg.js.map +1 -0
- package/dist/chunks/{pk-input-group-textarea-Cl2FNuw-.js → pk-input-group-textarea-BxmKGjdt.js} +3 -2
- package/dist/chunks/pk-input-group-textarea-BxmKGjdt.js.map +1 -0
- package/dist/chunks/{pk-lightswitch-VHfJizBW.js → pk-lightswitch-CSvgiHVQ.js} +9 -8
- package/dist/chunks/pk-lightswitch-CSvgiHVQ.js.map +1 -0
- package/dist/chunks/{pk-option-DQZHV9jL.js → pk-option-B_PF4v_Z.js} +9 -7
- package/dist/chunks/pk-option-B_PF4v_Z.js.map +1 -0
- package/dist/chunks/{pk-option-group-CCzJkBFp.js → pk-option-group-D6bHfn0j.js} +4 -3
- package/dist/chunks/pk-option-group-D6bHfn0j.js.map +1 -0
- package/dist/chunks/{pk-popover-D3jkHfwB.js → pk-popover-BOoGfR7I.js} +11 -10
- package/dist/chunks/pk-popover-BOoGfR7I.js.map +1 -0
- package/dist/chunks/{pk-popup-B65tZMQH.js → pk-popup-DVE93VSV.js} +32 -28
- package/dist/chunks/pk-popup-DVE93VSV.js.map +1 -0
- package/dist/chunks/{pk-radio-B5XkMHy3.js → pk-radio-D0eqmnlH.js} +3 -2
- package/dist/chunks/pk-radio-D0eqmnlH.js.map +1 -0
- package/dist/chunks/{pk-radio-group-Dzd-3HaQ.js → pk-radio-group-BehEZG_k.js} +8 -7
- package/dist/chunks/pk-radio-group-BehEZG_k.js.map +1 -0
- package/dist/chunks/{pk-scroll-area-CdfNxYz8.js → pk-scroll-area-BeaLZ6k-.js} +3 -2
- package/dist/chunks/pk-scroll-area-BeaLZ6k-.js.map +1 -0
- package/dist/chunks/{pk-select-b5S5WKc-.js → pk-select-DZNpEk5Z.js} +20 -19
- package/dist/chunks/pk-select-DZNpEk5Z.js.map +1 -0
- package/dist/chunks/{pk-separator-N-VyjYE6.js → pk-separator-ZkRowI5Y.js} +3 -2
- package/dist/chunks/pk-separator-ZkRowI5Y.js.map +1 -0
- package/dist/chunks/{pk-spinner-DweuYJ_Z.js → pk-spinner-Bxkn4iVO.js} +3 -2
- package/dist/chunks/pk-spinner-Bxkn4iVO.js.map +1 -0
- package/dist/chunks/pk-state-panel-BTo2xiug.js +604 -0
- package/dist/chunks/pk-state-panel-BTo2xiug.js.map +1 -0
- package/dist/chunks/{pk-status-BehQARDv.js → pk-status-CdiRBRyh.js} +3 -2
- package/dist/chunks/pk-status-CdiRBRyh.js.map +1 -0
- package/dist/chunks/{pk-tab-CTloD18e.js → pk-tab-CSbI3XxX.js} +2 -2
- package/dist/chunks/pk-tab-CSbI3XxX.js.map +1 -0
- package/dist/chunks/{pk-tab-heading-Cjcgebxn.js → pk-tab-heading-BMyLTBNc.js} +2 -2
- package/dist/chunks/pk-tab-heading-BMyLTBNc.js.map +1 -0
- package/dist/chunks/{pk-tab-panel-CkKU5-Ah.js → pk-tab-panel-sgdRjV8o.js} +2 -2
- package/dist/chunks/pk-tab-panel-sgdRjV8o.js.map +1 -0
- package/dist/chunks/{pk-tabs-BgEBki1q.js → pk-tabs-bBNCu_4h.js} +10 -7
- package/dist/chunks/pk-tabs-bBNCu_4h.js.map +1 -0
- package/dist/chunks/{pk-textarea-Dhj1WFLH.js → pk-textarea-B401dUWa.js} +11 -10
- package/dist/chunks/pk-textarea-B401dUWa.js.map +1 -0
- package/dist/chunks/{pk-time-picker-ChRbKHNB.js → pk-time-picker-DnNZVwRk.js} +6 -6
- package/dist/chunks/pk-time-picker-DnNZVwRk.js.map +1 -0
- package/dist/chunks/{pk-tiptap-content-CL8smjGi.js → pk-tiptap-content-C2qzGQKj.js} +4 -3
- package/dist/chunks/pk-tiptap-content-C2qzGQKj.js.map +1 -0
- package/dist/chunks/{pk-tiptap-editor-BMwedkPt.js → pk-tiptap-editor-y_QyNSR-.js} +20 -21
- package/dist/chunks/pk-tiptap-editor-y_QyNSR-.js.map +1 -0
- package/dist/chunks/{pk-tiptap-input-YKg4VLp_.js → pk-tiptap-input-0Xy6rrot.js} +7 -6
- package/dist/chunks/pk-tiptap-input-0Xy6rrot.js.map +1 -0
- package/dist/chunks/{pk-toggle-BthhH7vl.js → pk-toggle-Co8GsHuK.js} +4 -3
- package/dist/chunks/pk-toggle-Co8GsHuK.js.map +1 -0
- package/dist/chunks/{pk-toggle-group-D2Quux8D.js → pk-toggle-group-Ct1ljI-7.js} +7 -4
- package/dist/chunks/pk-toggle-group-Ct1ljI-7.js.map +1 -0
- package/dist/chunks/{pk-tooltip--QBV6puX.js → pk-tooltip-Cvv2f7T5.js} +7 -6
- package/dist/chunks/pk-tooltip-Cvv2f7T5.js.map +1 -0
- package/dist/chunks/{popup-content-animation.styles-BnNiguJo.js → popup-content-animation.styles-CJ8zGJz-.js} +1 -1
- package/dist/chunks/{popup-content-animation.styles-BnNiguJo.js.map → popup-content-animation.styles-CJ8zGJz-.js.map} +1 -1
- package/dist/chunks/{popup-placement-animation-WlEXnS85.js → popup-placement-animation-ClUYI79z.js} +1 -1
- package/dist/chunks/{popup-placement-animation-WlEXnS85.js.map → popup-placement-animation-ClUYI79z.js.map} +1 -1
- package/dist/chunks/{popup-pointer-CuLjk1th.js → popup-pointer-Bh_d205v.js} +1 -1
- package/dist/chunks/{popup-pointer-CuLjk1th.js.map → popup-pointer-Bh_d205v.js.map} +1 -1
- package/dist/chunks/{register-components-BT9THgdh.js → register-components-CZtpgZe3.js} +1 -1
- package/dist/chunks/{register-components-BT9THgdh.js.map → register-components-CZtpgZe3.js.map} +1 -1
- package/dist/chunks/{render-Dvc3MHQR.js → render-DQZp_Rak.js} +1 -1
- package/dist/chunks/{render-Dvc3MHQR.js.map → render-DQZp_Rak.js.map} +1 -1
- package/dist/chunks/{required-validator-CEg8dvjS.js → required-validator-I58oJGZ3.js} +1 -1
- package/dist/chunks/{required-validator-CEg8dvjS.js.map → required-validator-I58oJGZ3.js.map} +1 -1
- package/dist/chunks/{scroll-lock-Bbh3Sc5g.js → scroll-lock-DE1pElMQ.js} +2 -2
- package/dist/chunks/{scroll-lock-Bbh3Sc5g.js.map → scroll-lock-DE1pElMQ.js.map} +1 -1
- package/dist/chunks/{spinner-utils-CDfHypTv.js → spinner-utils-DXwIxQ6z.js} +1 -1
- package/dist/chunks/{spinner-utils-CDfHypTv.js.map → spinner-utils-DXwIxQ6z.js.map} +1 -1
- package/dist/chunks/{supports-popover-CUBsbHpS.js → supports-popover-BCqyOPtO.js} +1 -1
- package/dist/chunks/{supports-popover-CUBsbHpS.js.map → supports-popover-BCqyOPtO.js.map} +1 -1
- package/dist/chunks/{sync-listbox-separators-B1-V0oJi.js → sync-listbox-separators-saLEtPpJ.js} +2 -2
- package/dist/chunks/{sync-listbox-separators-B1-V0oJi.js.map → sync-listbox-separators-saLEtPpJ.js.map} +1 -1
- package/dist/chunks/{tiptap.styles-CPRows--.js → tiptap.styles-Q4ED1nBw.js} +2 -2
- package/dist/chunks/{tiptap.styles-CPRows--.js.map → tiptap.styles-Q4ED1nBw.js.map} +1 -1
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/pk-alert.d.ts +95 -0
- package/dist/components/alert/pk-alert.d.ts.map +1 -0
- package/dist/components/alert/pk-alert.js +2 -0
- package/dist/components/alert/pk-alert.styles.d.ts +2 -0
- package/dist/components/alert/pk-alert.styles.d.ts.map +1 -0
- package/dist/components/alert.d.ts +2 -0
- package/dist/components/alert.js +2 -0
- package/dist/components/autocomplete/pk-autocomplete.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/button/pk-button.js +1 -1
- package/dist/components/button-group/pk-button-group-separator.js +1 -1
- package/dist/components/button-group/pk-button-group-text.js +1 -1
- package/dist/components/button-group/pk-button-group.js +1 -1
- package/dist/components/button-group.js +3 -3
- package/dist/components/button.js +1 -1
- package/dist/components/calendar/pk-calendar.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/checkbox/pk-checkbox.js +1 -1
- package/dist/components/checkbox-select/pk-checkbox-select.js +1 -1
- package/dist/components/checkbox-select.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/code-editor/pk-code-editor.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/color-input/pk-color-input.js +1 -1
- package/dist/components/color-input.js +1 -1
- package/dist/components/combobox/pk-combobox.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/connect/pk-connect-oauth.js +5 -4
- package/dist/components/connect/pk-connect-oauth.js.map +1 -1
- package/dist/components/connect/pk-connect.d.ts +0 -1
- package/dist/components/connect/pk-connect.d.ts.map +1 -1
- package/dist/components/connect/pk-connect.js +27 -49
- package/dist/components/connect/pk-connect.js.map +1 -1
- package/dist/components/copy-button/pk-copy-button.d.ts +17 -2
- package/dist/components/copy-button/pk-copy-button.d.ts.map +1 -1
- package/dist/components/copy-button/pk-copy-button.js +1 -1
- package/dist/components/copy-button/pk-copy-button.styles.d.ts.map +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/date-picker/pk-date-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/dialog/pk-dialog.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-item.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-label.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-separator.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-separator.js.map +1 -1
- package/dist/components/dropdown-menu.js +3 -3
- package/dist/components/editable-table/pk-editable-table.js +1 -1
- package/dist/components/editable-table.js +1 -1
- package/dist/components/field/pk-field.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/icon/pk-icon.js +2 -1
- package/dist/components/icon/pk-icon.js.map +1 -1
- package/dist/components/image-browser/pk-image-browser.js +1 -1
- package/dist/components/image-browser.js +1 -1
- package/dist/components/input/pk-input.js +1 -1
- package/dist/components/input-group/pk-input-group-addon.js +1 -1
- package/dist/components/input-group/pk-input-group-button.js +1 -1
- package/dist/components/input-group/pk-input-group-input.js +1 -1
- package/dist/components/input-group/pk-input-group-text.js +1 -1
- package/dist/components/input-group/pk-input-group-textarea.js +1 -1
- package/dist/components/input-group/pk-input-group.js +1 -1
- package/dist/components/input-group.js +6 -6
- package/dist/components/input.js +1 -1
- package/dist/components/lightswitch/pk-lightswitch.js +1 -1
- package/dist/components/lightswitch.js +1 -1
- package/dist/components/popover/pk-popover.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popup/pk-popup.js +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/radio-group/pk-radio-group.js +1 -1
- package/dist/components/radio-group/pk-radio.js +1 -1
- package/dist/components/radio-group.js +2 -2
- package/dist/components/scroll-area/pk-scroll-area.js +1 -1
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/select/pk-option-group.js +1 -1
- package/dist/components/select/pk-option.js +1 -1
- package/dist/components/select/pk-select.js +1 -1
- package/dist/components/select.js +3 -3
- package/dist/components/separator/pk-separator.js +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner/pk-spinner.js +1 -1
- package/dist/components/spinner.js +2 -2
- package/dist/components/state-panel/index.d.ts +2 -0
- package/dist/components/state-panel/index.d.ts.map +1 -0
- package/dist/components/state-panel/pk-state-panel.d.ts +89 -0
- package/dist/components/state-panel/pk-state-panel.d.ts.map +1 -0
- package/dist/components/state-panel/pk-state-panel.js +2 -0
- package/dist/components/state-panel/pk-state-panel.styles.d.ts +2 -0
- package/dist/components/state-panel/pk-state-panel.styles.d.ts.map +1 -0
- package/dist/components/state-panel.d.ts +2 -0
- package/dist/components/state-panel.js +2 -0
- package/dist/components/status/pk-status.js +1 -1
- package/dist/components/status.js +1 -1
- package/dist/components/tabs/pk-tab-heading.js +1 -1
- package/dist/components/tabs/pk-tab-panel.js +1 -1
- package/dist/components/tabs/pk-tab.js +1 -1
- package/dist/components/tabs/pk-tabs.js +1 -1
- package/dist/components/tabs.js +4 -4
- package/dist/components/textarea/pk-textarea.js +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/time-picker/pk-time-picker.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tiptap/pk-tiptap-content.js +1 -1
- package/dist/components/tiptap/pk-tiptap-editor.js +1 -1
- package/dist/components/tiptap/pk-tiptap-input.js +1 -1
- package/dist/components/tiptap-content.js +1 -1
- package/dist/components/tiptap-editor.js +1 -1
- package/dist/components/tiptap-input.js +1 -1
- package/dist/components/toggle/pk-toggle.js +1 -1
- package/dist/components/toggle-group/pk-toggle-group.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip/pk-tooltip.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/connect/register-cp-connect.d.ts.map +1 -1
- package/dist/connect/register-cp-connect.js +8 -9
- package/dist/connect/register-cp-connect.js.map +1 -1
- package/dist/events/pk-dismiss.d.ts +10 -0
- package/dist/events/pk-dismiss.d.ts.map +1 -0
- package/dist/icons/index.js +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +74 -67
- package/dist/index.js.map +1 -1
- package/dist/plugin-kit.css +2 -0
- package/dist/plugin-kit.js +4 -4
- package/dist/plugin-kit.js.map +1 -1
- package/dist/register-components.js +1 -1
- package/dist/register-pk.generated.d.ts +4 -0
- package/dist/register-pk.generated.d.ts.map +1 -1
- package/dist/register.d.ts +5 -1
- package/dist/register.d.ts.map +1 -1
- package/dist/register.js +124 -55
- package/dist/register.js.map +1 -0
- package/dist/styles/connect/pk-connect.css +6 -107
- package/dist/utilities/fouce.css +2 -0
- package/dist-loader/chunks/{button-group-item.styles-CsBQ3Cyh.js → button-group-item.styles-BQbvE3sC.js} +1 -1
- package/dist-loader/chunks/{codemirror-CSgOT0QM.js → codemirror-C_TTKlG1.js} +584 -436
- package/dist-loader/chunks/editor-CS16rBkM.js +110 -0
- package/dist-loader/chunks/{floating-ui-Cj0imr6d.js → floating-ui-BJQPB-Ip.js} +9 -11
- package/dist-loader/chunks/{lit-DpLik9Rf.js → lit-B6nFKgbW.js} +127 -89
- package/dist-loader/chunks/{option-filter-Bc5aNNT0.js → option-filter-BkKyBg8L.js} +1 -1
- package/dist-loader/chunks/{pk-a11y-CjB4-U-R.js → pk-a11y-mGj0G5AE.js} +1 -1
- package/dist-loader/chunks/{pk-base-B2MqxErC.js → pk-base-BGegy7-X.js} +2 -2
- package/dist-loader/chunks/{pk-button-Dfm23jEC.js → pk-button-DV9Tk5Pd.js} +5 -5
- package/dist-loader/chunks/{pk-calendar-BuSULJCU.js → pk-calendar-C0xpIVIw.js} +9 -9
- package/dist-loader/chunks/{pk-checkbox-BDoq3xg0.js → pk-checkbox-DhP0iMoP.js} +9 -6
- package/dist-loader/chunks/{pk-color-input-eLjO9zfn.js → pk-color-input-B02cYzyr.js} +4 -4
- package/dist-loader/chunks/{pk-combobox-DBvcyxRC.js → pk-combobox-S_tpNUHK.js} +19 -18
- package/dist-loader/chunks/{pk-connect.styles-k61snd3X.js → pk-connect.styles-B5qe5yQB.js} +1 -1
- package/dist-loader/chunks/pk-copy-button-D6tPuhJ3.js +198 -0
- package/dist-loader/chunks/{pk-date-picker-CYLpYIji.js → pk-date-picker-C0y4sfSf.js} +15 -15
- package/dist-loader/chunks/{pk-dialog-BtrH5Ke0.js → pk-dialog-BJs5fVHS.js} +7 -7
- package/dist-loader/chunks/{pk-dropdown-item-D8tfEU-k.js → pk-dropdown-item-Bs5NZDRh.js} +11 -9
- package/dist-loader/chunks/{pk-dropdown-label-TbLj4bHK.js → pk-dropdown-label-Cpl9-bzB.js} +2 -2
- package/dist-loader/chunks/{pk-dropdown-menu-C4GDW5pE.js → pk-dropdown-menu-CLrfuD3i.js} +20 -17
- package/dist-loader/chunks/{pk-field-BM0XD9Ij.js → pk-field-Pg61fxBR.js} +140 -74
- package/dist-loader/chunks/{pk-icon-_1F1aL74.js → pk-icon-B7ywfPb6.js} +4 -4
- package/dist-loader/chunks/{pk-input-DvBrD7Md.js → pk-input-Cj5s8eBT.js} +10 -10
- package/dist-loader/chunks/{pk-lightswitch-CcwlLQ9f.js → pk-lightswitch-rUGB1p8q.js} +6 -6
- package/dist-loader/chunks/{pk-option-DATPm0Bo.js → pk-option-B-MeLvZf.js} +8 -7
- package/dist-loader/chunks/{pk-popup-CUuGs8r_.js → pk-popup-CeyruJFh.js} +35 -29
- package/dist-loader/chunks/{pk-select-DpcvbzUL.js → pk-select-JUx3mxRS.js} +14 -14
- package/dist-loader/chunks/{pk-spinner-Dk_LbvHW.js → pk-spinner-B8iuHDQ9.js} +2 -2
- package/dist-loader/chunks/pk-state-panel-BhdZGllL.js +600 -0
- package/dist-loader/chunks/{pk-status-B8UvjIp2.js → pk-status-D3qVwWlR.js} +2 -2
- package/dist-loader/chunks/{pk-textarea-DeSuxufJ.js → pk-textarea-KnpJMQX2.js} +7 -7
- package/dist-loader/chunks/{pk-time-picker-DpJt8biN.js → pk-time-picker-DCqZ5z7M.js} +6 -6
- package/dist-loader/chunks/{pk-tooltip-DcF9J5GT.js → pk-tooltip-DStkplzy.js} +6 -6
- package/dist-loader/chunks/{popup-content-animation.styles-duCg9-CH.js → popup-content-animation.styles-BtUVJg82.js} +1 -1
- package/dist-loader/chunks/{render-Bnzcxfss.js → render-D9G_a_c2.js} +1 -1
- package/dist-loader/chunks/{svg-Bz-bXZn7.js → svg-BRgqS9vA.js} +8 -1
- package/dist-loader/chunks/{sync-listbox-separators-Ch5krDUs.js → sync-listbox-separators-saLEtPpJ.js} +1 -1
- package/dist-loader/chunks/{tiptap-CgXkiK8d.js → tiptap-uppXgD5k.js} +16099 -9213
- package/dist-loader/chunks/tiptap.styles-CyqI_Wrl.js +896 -0
- package/dist-loader/components/alert/alert.js +662 -0
- package/dist-loader/components/autocomplete/autocomplete.js +15 -15
- package/dist-loader/components/button/button.js +1 -1
- package/dist-loader/components/button-group/button-group-separator.js +2 -2
- package/dist-loader/components/button-group/button-group-text.js +3 -3
- package/dist-loader/components/button-group/button-group.js +9 -7
- package/dist-loader/components/calendar/calendar.js +1 -1
- package/dist-loader/components/checkbox/checkbox.js +1 -1
- package/dist-loader/components/checkbox-select/checkbox-select.js +3 -3
- package/dist-loader/components/code-editor/code-editor.js +4 -4
- package/dist-loader/components/color-input/color-input.js +1 -1
- package/dist-loader/components/combobox/combobox.js +1 -1
- package/dist-loader/components/connect/connect-oauth.js +5 -5
- package/dist-loader/components/connect/connect.js +28 -51
- package/dist-loader/components/copy-button/copy-button.js +1 -176
- package/dist-loader/components/date-picker/date-picker.js +1 -1
- package/dist-loader/components/dialog/dialog.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-item.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-label.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-separator.js +2 -2
- package/dist-loader/components/editable-table/editable-table.js +25 -23
- package/dist-loader/components/field/field.js +1 -1
- package/dist-loader/components/icon/icon.js +3 -3
- package/dist-loader/components/image-browser/image-browser.js +15 -16
- package/dist-loader/components/input/input.js +1 -1
- package/dist-loader/components/input-group/input-group-addon.js +2 -2
- package/dist-loader/components/input-group/input-group-button.js +2 -2
- package/dist-loader/components/input-group/input-group-input.js +2 -2
- package/dist-loader/components/input-group/input-group-text.js +2 -2
- package/dist-loader/components/input-group/input-group-textarea.js +2 -2
- package/dist-loader/components/input-group/input-group.js +3 -3
- package/dist-loader/components/lightswitch/lightswitch.js +1 -1
- package/dist-loader/components/popover/popover.js +9 -9
- package/dist-loader/components/popup/popup.js +1 -1
- package/dist-loader/components/radio-group/radio-group.js +5 -5
- package/dist-loader/components/radio-group/radio.js +2 -2
- package/dist-loader/components/scroll-area/scroll-area.js +2 -2
- package/dist-loader/components/select/option-group.js +3 -3
- package/dist-loader/components/select/option.js +1 -1
- package/dist-loader/components/select/select.js +1 -1
- package/dist-loader/components/separator/separator.js +2 -2
- package/dist-loader/components/spinner/spinner.js +1 -1
- package/dist-loader/components/state-panel/state-panel.js +2 -0
- package/dist-loader/components/status/status.js +1 -1
- package/dist-loader/components/tabs/tab-heading.js +2 -2
- package/dist-loader/components/tabs/tab-panel.js +2 -2
- package/dist-loader/components/tabs/tab.js +2 -2
- package/dist-loader/components/tabs/tabs.js +9 -7
- package/dist-loader/components/textarea/textarea.js +1 -1
- package/dist-loader/components/time-picker/time-picker.js +1 -1
- package/dist-loader/components/tiptap/tiptap-content.js +5 -4
- package/dist-loader/components/tiptap/tiptap-editor.js +595 -21
- package/dist-loader/components/tiptap/tiptap-input.js +273 -5
- package/dist-loader/components/toggle/toggle.js +3 -3
- package/dist-loader/components/toggle-group/toggle-group.js +6 -4
- package/dist-loader/components/tooltip/tooltip.js +1 -1
- package/dist-loader/plugin-kit.css +2 -0
- package/dist-loader/plugin-kit.loader.js +6 -1
- package/dist-loader/styles/connect/pk-connect.css +6 -107
- package/dist-loader/utilities/fouce.css +2 -0
- package/package.json +49 -9
- package/dist/chunks/component-registry-D34fm8xW.js.map +0 -1
- package/dist/chunks/pk-autocomplete-qy2Psvqm.js.map +0 -1
- package/dist/chunks/pk-button-BrH4u4Qr.js.map +0 -1
- package/dist/chunks/pk-button-group-BSz5T5iS.js.map +0 -1
- package/dist/chunks/pk-button-group-separator-DH3Rl24b.js.map +0 -1
- package/dist/chunks/pk-button-group-text-Qro_KmZb.js.map +0 -1
- package/dist/chunks/pk-calendar-Z7Y0PjeY.js.map +0 -1
- package/dist/chunks/pk-checkbox-13ArHSmt.js.map +0 -1
- package/dist/chunks/pk-checkbox-select-Ckvfbu83.js.map +0 -1
- package/dist/chunks/pk-code-editor-BlG6O5qB.js.map +0 -1
- package/dist/chunks/pk-color-input-BRgQ5-vB.js.map +0 -1
- package/dist/chunks/pk-combobox-ag89QEX2.js.map +0 -1
- package/dist/chunks/pk-copy-button-BVaOLtYG.js.map +0 -1
- package/dist/chunks/pk-date-picker-C2YvDPNm.js.map +0 -1
- package/dist/chunks/pk-dialog-VMQqLW1f.js.map +0 -1
- package/dist/chunks/pk-dropdown-item-D9OaG5o-.js.map +0 -1
- package/dist/chunks/pk-dropdown-label-CRNWMWQd.js.map +0 -1
- package/dist/chunks/pk-dropdown-menu-DW1wI8xQ.js.map +0 -1
- package/dist/chunks/pk-editable-table-DDnu1I8Y.js.map +0 -1
- package/dist/chunks/pk-field-UAlMq6mQ.js.map +0 -1
- package/dist/chunks/pk-form-associated-element-GxX5lbnk.js.map +0 -1
- package/dist/chunks/pk-image-browser-Bj8LhWfk.js.map +0 -1
- package/dist/chunks/pk-input-BywmK5n2.js.map +0 -1
- package/dist/chunks/pk-input-group-BLqKPnfc.js.map +0 -1
- package/dist/chunks/pk-input-group-addon-ClBkGmAw.js.map +0 -1
- package/dist/chunks/pk-input-group-button-CHQHsWd4.js.map +0 -1
- package/dist/chunks/pk-input-group-input-oNnqMBGU.js.map +0 -1
- package/dist/chunks/pk-input-group-text-HUxlXROB.js.map +0 -1
- package/dist/chunks/pk-input-group-textarea-Cl2FNuw-.js.map +0 -1
- package/dist/chunks/pk-lightswitch-VHfJizBW.js.map +0 -1
- package/dist/chunks/pk-option-DQZHV9jL.js.map +0 -1
- package/dist/chunks/pk-option-group-CCzJkBFp.js.map +0 -1
- package/dist/chunks/pk-popover-D3jkHfwB.js.map +0 -1
- package/dist/chunks/pk-popup-B65tZMQH.js.map +0 -1
- package/dist/chunks/pk-radio-B5XkMHy3.js.map +0 -1
- package/dist/chunks/pk-radio-group-Dzd-3HaQ.js.map +0 -1
- package/dist/chunks/pk-scroll-area-CdfNxYz8.js.map +0 -1
- package/dist/chunks/pk-select-b5S5WKc-.js.map +0 -1
- package/dist/chunks/pk-separator-N-VyjYE6.js.map +0 -1
- package/dist/chunks/pk-spinner-DweuYJ_Z.js.map +0 -1
- package/dist/chunks/pk-status-BehQARDv.js.map +0 -1
- package/dist/chunks/pk-tab-CTloD18e.js.map +0 -1
- package/dist/chunks/pk-tab-heading-Cjcgebxn.js.map +0 -1
- package/dist/chunks/pk-tab-panel-CkKU5-Ah.js.map +0 -1
- package/dist/chunks/pk-tabs-BgEBki1q.js.map +0 -1
- package/dist/chunks/pk-textarea-Dhj1WFLH.js.map +0 -1
- package/dist/chunks/pk-time-picker-ChRbKHNB.js.map +0 -1
- package/dist/chunks/pk-tiptap-content-CL8smjGi.js.map +0 -1
- package/dist/chunks/pk-tiptap-editor-BMwedkPt.js.map +0 -1
- package/dist/chunks/pk-tiptap-input-YKg4VLp_.js.map +0 -1
- package/dist/chunks/pk-toggle-BthhH7vl.js.map +0 -1
- package/dist/chunks/pk-toggle-group-D2Quux8D.js.map +0 -1
- package/dist/chunks/pk-tooltip--QBV6puX.js.map +0 -1
- package/dist/chunks/register-BqkU5JNH.js +0 -148
- package/dist/chunks/register-BqkU5JNH.js.map +0 -1
- package/dist-loader/chunks/rolldown-runtime-CzwdidQP.js +0 -13
- package/dist-loader/chunks/supports-popover-COjbi2RP.js +0 -5
- package/dist-loader/chunks/tiptap.styles-C0E1NpSx.js +0 -1848
- /package/dist-loader/chunks/{animate-with-class-DT0jwaR_.js → animate-with-class-CjTZI0NU.js} +0 -0
- /package/dist-loader/chunks/{field-labels-D3lKQ2nq.js → field-labels-pY-gQDwQ.js} +0 -0
- /package/dist-loader/chunks/{has-slot-BGJeJdHr.js → has-slot-DJv86HKx.js} +0 -0
- /package/dist-loader/chunks/{mirror-validator-C5XrXPaq.js → mirror-validator-BkZlEv1Z.js} +0 -0
- /package/dist-loader/chunks/{overlay-lifecycle-C3tSQ3UR.js → overlay-lifecycle-C582MGBJ.js} +0 -0
- /package/dist-loader/chunks/{pk-clear-BMZUzwDt.js → pk-clear-DHxP_2cm.js} +0 -0
- /package/dist-loader/chunks/{popup-placement-animation-WlEXnS85.js → popup-placement-animation-ClUYI79z.js} +0 -0
- /package/dist-loader/chunks/{popup-pointer-Ck28WdVP.js → popup-pointer-Bh_d205v.js} +0 -0
- /package/dist-loader/chunks/{registry-BanyScVR.js → registry-CJc164pT.js} +0 -0
- /package/dist-loader/chunks/{required-validator-0XwZtX9k.js → required-validator-I58oJGZ3.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { i as
|
|
11
|
-
import {
|
|
12
|
-
import "./
|
|
13
|
-
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-
|
|
14
|
-
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS } from "./sync-listbox-separators-
|
|
15
|
-
import { i as waitForPopupContentExitAnimation, n as AsyncOptionFetcher, r as syncFilteredOptions, t as matchesOptionFilter } from "./option-filter-
|
|
1
|
+
import "./pk-popup-CeyruJFh.js";
|
|
2
|
+
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, s as scrollIntoView, t as LiveRegion, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
3
|
+
import { a as e$1, c as customElement, f as A, i as e, l as o, m as i, o as r, p as b, s as n } from "./lit-B6nFKgbW.js";
|
|
4
|
+
import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "./pk-base-BGegy7-X.js";
|
|
5
|
+
import { h as chevronDown, tt as xmark } from "./svg-BRgqS9vA.js";
|
|
6
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
7
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
8
|
+
import { t as MirrorValidator } from "./mirror-validator-BkZlEv1Z.js";
|
|
9
|
+
import { t as PkClearEvent } from "./pk-clear-DHxP_2cm.js";
|
|
10
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C582MGBJ.js";
|
|
11
|
+
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-ClUYI79z.js";
|
|
12
|
+
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-BtUVJg82.js";
|
|
13
|
+
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-Bh_d205v.js";
|
|
14
|
+
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS } from "./sync-listbox-separators-saLEtPpJ.js";
|
|
15
|
+
import { i as waitForPopupContentExitAnimation, n as AsyncOptionFetcher, r as syncFilteredOptions, t as matchesOptionFilter } from "./option-filter-BkKyBg8L.js";
|
|
16
16
|
//#region src/events/pk-create.ts
|
|
17
17
|
/** Fired before a combobox creates a new option — mirrors `pk-create`. */
|
|
18
18
|
var PkCreateEvent = class extends Event {
|
|
@@ -1408,9 +1408,10 @@ var PkCombobox = class PkCombobox extends PkFormAssociatedElement {
|
|
|
1408
1408
|
this.syncHasValueAttribute();
|
|
1409
1409
|
this.emitValueChange();
|
|
1410
1410
|
}
|
|
1411
|
-
if (this.shouldReturnFocusToInput(source))
|
|
1412
|
-
|
|
1413
|
-
|
|
1411
|
+
if (this.shouldReturnFocusToInput(source)) {
|
|
1412
|
+
if (this.usesPopupMode) this.popupTrigger?.focus({ preventScroll: true });
|
|
1413
|
+
else this.activeInput?.focus({ preventScroll: true });
|
|
1414
|
+
} else {
|
|
1414
1415
|
this.activeInput?.blur();
|
|
1415
1416
|
this.popupTrigger?.blur();
|
|
1416
1417
|
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { c as customElement, m as i, o as r, p as b, s as n, u as o } from "./lit-B6nFKgbW.js";
|
|
2
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
3
|
+
import { C as copy, m as check } from "./svg-BRgqS9vA.js";
|
|
4
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
5
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
6
|
+
import "./pk-button-DV9Tk5Pd.js";
|
|
7
|
+
//#region src/events/pk-copy.ts
|
|
8
|
+
/** Emitted when copy-button successfully copies text. */
|
|
9
|
+
var PkCopyEvent = class extends Event {
|
|
10
|
+
constructor(value) {
|
|
11
|
+
super("pk-copy", {
|
|
12
|
+
bubbles: true,
|
|
13
|
+
cancelable: false,
|
|
14
|
+
composed: true
|
|
15
|
+
});
|
|
16
|
+
this.detail = { value };
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
/** Emitted when copy-button fails to copy text. */
|
|
20
|
+
var PkCopyErrorEvent = class extends Event {
|
|
21
|
+
constructor() {
|
|
22
|
+
super("pk-copy-error", {
|
|
23
|
+
bubbles: true,
|
|
24
|
+
cancelable: false,
|
|
25
|
+
composed: true
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/utils/copy-to-clipboard.ts
|
|
31
|
+
/** Writes text to the clipboard — requires a secure context in most browsers. */
|
|
32
|
+
async function copyToClipboard(value) {
|
|
33
|
+
await navigator.clipboard.writeText(value);
|
|
34
|
+
}
|
|
35
|
+
/** Resolves the string to copy from a `from` selector (from selector). */
|
|
36
|
+
function resolveCopyValue(root, from, fallbackValue) {
|
|
37
|
+
if (!from) return fallbackValue || null;
|
|
38
|
+
const isProperty = from.includes(".");
|
|
39
|
+
const isAttribute = from.includes("[") && from.includes("]");
|
|
40
|
+
let id = from;
|
|
41
|
+
let field = "";
|
|
42
|
+
if (isProperty) [id, field] = from.trim().split(".");
|
|
43
|
+
else if (isAttribute) [id, field] = from.trim().replace(/\]$/, "").split("[");
|
|
44
|
+
const target = "getElementById" in root ? root.getElementById(id) : null;
|
|
45
|
+
if (!target) return null;
|
|
46
|
+
if (isAttribute) return target.getAttribute(field) ?? "";
|
|
47
|
+
if (isProperty) {
|
|
48
|
+
const propertyValue = target[field];
|
|
49
|
+
return propertyValue == null ? "" : String(propertyValue);
|
|
50
|
+
}
|
|
51
|
+
return target.textContent ?? "";
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/copy-button/pk-copy-button.styles.ts
|
|
55
|
+
var pkCopyButtonStyles = i`
|
|
56
|
+
@layer pk-component {
|
|
57
|
+
:host {
|
|
58
|
+
display: inline-block;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Match React CopyButton size="icon" — square, no horizontal padding. */
|
|
62
|
+
pk-button::part(base) {
|
|
63
|
+
padding-inline: 0;
|
|
64
|
+
width: var(--pk-btn-height-default);
|
|
65
|
+
min-width: var(--pk-btn-height-default);
|
|
66
|
+
border-color: var(--pk-copy-button-border-color);
|
|
67
|
+
border-radius: var(--pk-copy-button-radius);
|
|
68
|
+
background: var(--pk-copy-button-background);
|
|
69
|
+
color: var(--pk-copy-button-color);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
pk-button::part(base):hover:not(:disabled) {
|
|
73
|
+
border-color: var(
|
|
74
|
+
--pk-copy-button-hover-border-color,
|
|
75
|
+
var(--pk-copy-button-border-color)
|
|
76
|
+
);
|
|
77
|
+
background: var(--pk-copy-button-hover-background);
|
|
78
|
+
color: var(--pk-copy-button-hover-color, var(--pk-copy-button-color));
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/*
|
|
82
|
+
* In-control trailing action (slot=end on pk-input, etc.): same family as
|
|
83
|
+
* combobox expand/clear and image-browser clear — flex-reserved hit box
|
|
84
|
+
* flush to the field edge, glyph sized via --pk-input-decoration-size.
|
|
85
|
+
*/
|
|
86
|
+
:host([slot='end']) {
|
|
87
|
+
display: inline-flex;
|
|
88
|
+
align-self: stretch;
|
|
89
|
+
height: auto;
|
|
90
|
+
/* size=none buttons resolve --pk-btn-icon-size: 1em against this. */
|
|
91
|
+
font-size: var(--pk-input-decoration-size, 0.75rem);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:host([slot='end']) pk-button {
|
|
95
|
+
display: flex;
|
|
96
|
+
height: 100%;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:host([slot='end']) pk-button::part(base) {
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
width: calc(
|
|
102
|
+
var(--pk-input-decoration-size, 0.75rem) + var(--pk-input-padding-inline, 8px)
|
|
103
|
+
);
|
|
104
|
+
min-width: calc(
|
|
105
|
+
var(--pk-input-decoration-size, 0.75rem) + var(--pk-input-padding-inline, 8px)
|
|
106
|
+
);
|
|
107
|
+
height: 100%;
|
|
108
|
+
min-height: 100%;
|
|
109
|
+
padding: 0;
|
|
110
|
+
border-width: 0;
|
|
111
|
+
border-radius: 0;
|
|
112
|
+
background: transparent;
|
|
113
|
+
color: var(--pk-color-gray-600);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:host([slot='end']) pk-button::part(base):hover:not(:disabled) {
|
|
117
|
+
color: var(--pk-color-gray-800);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
`;
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region src/components/copy-button/pk-copy-button.ts
|
|
123
|
+
var SUCCESS_ICON = renderIconHtml(check).replace("<svg", "<svg slot=\"start\" part=\"success-icon\"");
|
|
124
|
+
var COPY_ICON = renderIconHtml(copy).replace("<svg", "<svg slot=\"start\" part=\"copy-icon\"");
|
|
125
|
+
var COPIED_RESET_MS = 2e3;
|
|
126
|
+
var PkCopyButton = class PkCopyButton extends PkElement {
|
|
127
|
+
constructor(..._args) {
|
|
128
|
+
super(..._args);
|
|
129
|
+
this.hasSlotController = new HasSlotController(this, "icon");
|
|
130
|
+
this.value = "";
|
|
131
|
+
this.from = "";
|
|
132
|
+
this.disabled = false;
|
|
133
|
+
this.variant = "transparent";
|
|
134
|
+
this.ariaLabel = "Copy";
|
|
135
|
+
this.copiedLabel = "Copied";
|
|
136
|
+
this.copied = false;
|
|
137
|
+
this.resetCopied = () => {
|
|
138
|
+
this.copied = false;
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
static {
|
|
142
|
+
this.styles = pkCopyButtonStyles;
|
|
143
|
+
}
|
|
144
|
+
disconnectedCallback() {
|
|
145
|
+
window.clearTimeout(this.resetTimer);
|
|
146
|
+
super.disconnectedCallback();
|
|
147
|
+
}
|
|
148
|
+
scheduleReset() {
|
|
149
|
+
window.clearTimeout(this.resetTimer);
|
|
150
|
+
this.resetTimer = window.setTimeout(this.resetCopied, COPIED_RESET_MS);
|
|
151
|
+
}
|
|
152
|
+
/** Copy the configured value and emit the corresponding result event. */
|
|
153
|
+
async copy() {
|
|
154
|
+
if (this.disabled) return;
|
|
155
|
+
const valueToCopy = resolveCopyValue(this.getRootNode(), this.from, this.value);
|
|
156
|
+
if (valueToCopy == null || valueToCopy === "") {
|
|
157
|
+
this.dispatchEvent(new PkCopyErrorEvent());
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
try {
|
|
161
|
+
await copyToClipboard(valueToCopy);
|
|
162
|
+
this.copied = true;
|
|
163
|
+
this.scheduleReset();
|
|
164
|
+
this.dispatchEvent(new PkCopyEvent(valueToCopy));
|
|
165
|
+
} catch {
|
|
166
|
+
this.dispatchEvent(new PkCopyErrorEvent());
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
render() {
|
|
170
|
+
const inControl = this.getAttribute("slot") === "end";
|
|
171
|
+
return b`
|
|
172
|
+
<pk-button
|
|
173
|
+
part="button"
|
|
174
|
+
variant=${inControl ? "none" : this.variant}
|
|
175
|
+
size=${inControl ? "none" : "default"}
|
|
176
|
+
?icon=${inControl}
|
|
177
|
+
aria-label=${this.copied ? this.copiedLabel : this.ariaLabel}
|
|
178
|
+
?disabled=${this.disabled}
|
|
179
|
+
@click=${this.copy}
|
|
180
|
+
>
|
|
181
|
+
${this.copied ? o(SUCCESS_ICON) : this.hasSlotController.test("icon") ? b`<slot name="icon" slot="start"></slot>` : o(COPY_ICON)}
|
|
182
|
+
</pk-button>
|
|
183
|
+
`;
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
__decorate([n()], PkCopyButton.prototype, "value", void 0);
|
|
187
|
+
__decorate([n()], PkCopyButton.prototype, "from", void 0);
|
|
188
|
+
__decorate([n({
|
|
189
|
+
type: Boolean,
|
|
190
|
+
reflect: true
|
|
191
|
+
})], PkCopyButton.prototype, "disabled", void 0);
|
|
192
|
+
__decorate([n({ reflect: true })], PkCopyButton.prototype, "variant", void 0);
|
|
193
|
+
__decorate([n({ attribute: "aria-label" })], PkCopyButton.prototype, "ariaLabel", void 0);
|
|
194
|
+
__decorate([n({ attribute: "copied-label" })], PkCopyButton.prototype, "copiedLabel", void 0);
|
|
195
|
+
__decorate([r()], PkCopyButton.prototype, "copied", void 0);
|
|
196
|
+
PkCopyButton = __decorate([customElement("pk-copy-button")], PkCopyButton);
|
|
197
|
+
//#endregion
|
|
198
|
+
export { PkCopyEvent as i, copyToClipboard as n, PkCopyErrorEvent as r, PkCopyButton as t };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as HasSlotController } from "./has-slot-
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { i as
|
|
13
|
-
import "./
|
|
14
|
-
import { n as isPointerInsideOverlay } from "./popup-pointer-
|
|
15
|
-
import { a as parseIsoDate, i as parseDateList, n as coerceToDate, o as parseRange, r as formatIsoDate } from "./pk-calendar-
|
|
1
|
+
import "./pk-popup-CeyruJFh.js";
|
|
2
|
+
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
3
|
+
import { a as e$1, c as customElement, f as A, i as e, l as o, m as i, o as r, p as b, s as n } from "./lit-B6nFKgbW.js";
|
|
4
|
+
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, s as iconStyles } from "./pk-base-BGegy7-X.js";
|
|
5
|
+
import { p as calendar, tt as xmark } from "./svg-BRgqS9vA.js";
|
|
6
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
7
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
8
|
+
import { t as MirrorValidator } from "./mirror-validator-BkZlEv1Z.js";
|
|
9
|
+
import { t as RequiredValidator } from "./required-validator-I58oJGZ3.js";
|
|
10
|
+
import { t as PkClearEvent } from "./pk-clear-DHxP_2cm.js";
|
|
11
|
+
import { n as readLegacyInstructions } from "./field-labels-pY-gQDwQ.js";
|
|
12
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C582MGBJ.js";
|
|
13
|
+
import { i as waitForPopupReposition } from "./popup-placement-animation-ClUYI79z.js";
|
|
14
|
+
import { n as isPointerInsideOverlay } from "./popup-pointer-Bh_d205v.js";
|
|
15
|
+
import { a as parseIsoDate, i as parseDateList, n as coerceToDate, o as parseRange, r as formatIsoDate } from "./pk-calendar-C0xpIVIw.js";
|
|
16
16
|
//#region src/utils/host-date.ts
|
|
17
17
|
function getCraft() {
|
|
18
18
|
return globalThis.Craft;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as unlockBodyScrolling, d as registerDismissible, f as unregisterDismissible, o as lockBodyScrolling, u as isTopDismissible } from "./pk-a11y-
|
|
2
|
-
import { a as
|
|
3
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
4
|
-
import {
|
|
5
|
-
import { n as renderIconHtml } from "./render-
|
|
6
|
-
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-
|
|
7
|
-
import { t as animateWithClass } from "./animate-with-class-
|
|
1
|
+
import { c as unlockBodyScrolling, d as registerDismissible, f as unregisterDismissible, o as lockBodyScrolling, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
2
|
+
import { a as e$1, c as customElement, f as A, i as e, l as o, m as i, o as r, p as b, s as n } from "./lit-B6nFKgbW.js";
|
|
3
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
4
|
+
import { tt as xmark } from "./svg-BRgqS9vA.js";
|
|
5
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
6
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C582MGBJ.js";
|
|
7
|
+
import { t as animateWithClass } from "./animate-with-class-CjTZI0NU.js";
|
|
8
8
|
//#region src/utils/craft-host-modal.ts
|
|
9
9
|
/**
|
|
10
10
|
* Craft CP Garnish modals (element selector, asset picker, …) live in normal
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
3
|
-
import { _ as chevronRight, m as check } from "./svg-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-
|
|
7
|
-
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-
|
|
1
|
+
import { a as e, c as customElement, f as A, l as o, m as i, o as r, p as b, s as n } from "./lit-B6nFKgbW.js";
|
|
2
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
3
|
+
import { _ as chevronRight, m as check } from "./svg-BRgqS9vA.js";
|
|
4
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
5
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
6
|
+
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-ClUYI79z.js";
|
|
7
|
+
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-BtUVJg82.js";
|
|
8
8
|
//#region src/components/dropdown-menu/dropdown-menu-size.styles.ts
|
|
9
9
|
var dropdownMenuSizeTokens = {
|
|
10
10
|
default: i`
|
|
@@ -381,8 +381,10 @@ var PkDropdownItem = class PkDropdownItem extends PkElement {
|
|
|
381
381
|
updated(changed) {
|
|
382
382
|
if (changed.has("type") || changed.has("checked")) this.syncRole();
|
|
383
383
|
if (changed.has("submenuOpen") || changed.size === 0) this.syncSubmenuAria();
|
|
384
|
-
if (changed.has("submenuOpen"))
|
|
385
|
-
|
|
384
|
+
if (changed.has("submenuOpen")) {
|
|
385
|
+
if (this.submenuOpen) this.ensureSubmenuSurface();
|
|
386
|
+
else this.submenuAnimated = false;
|
|
387
|
+
}
|
|
386
388
|
}
|
|
387
389
|
/** Light-DOM `slot="submenu"` — public for menu keyboard (`hasSubmenu`). */
|
|
388
390
|
hasSubmenu() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
1
|
+
import { c as customElement, m as i, p as b } from "./lit-B6nFKgbW.js";
|
|
2
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
3
3
|
//#region src/components/dropdown-menu/pk-dropdown-label.styles.ts
|
|
4
4
|
var pkDropdownLabelStyles = i`
|
|
5
5
|
@layer pk-component {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { n as
|
|
1
|
+
import { n as resolveElementById } from "./pk-popup-CeyruJFh.js";
|
|
2
|
+
import { d as registerDismissible, f as unregisterDismissible, r as activeElements, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
3
|
+
import { a as e, c as customElement, m as i, p as b, s as n } from "./lit-B6nFKgbW.js";
|
|
4
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
5
|
+
import { r as buttonGroupCornerRoleStyles } from "./button-group-item.styles-BQbvE3sC.js";
|
|
6
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C582MGBJ.js";
|
|
7
|
+
import { t as animateWithClass } from "./animate-with-class-CjTZI0NU.js";
|
|
8
|
+
import { i as waitForPopupReposition } from "./popup-placement-animation-ClUYI79z.js";
|
|
9
|
+
import { n as dropdownMenuHostSizeStyles, r as dropdownMenuPanelSizeStyles, t as PkDropdownItem } from "./pk-dropdown-item-Bs5NZDRh.js";
|
|
10
10
|
//#region src/components/dropdown-menu/pk-dropdown-menu.styles.ts
|
|
11
11
|
/**
|
|
12
12
|
* Dropdown panel motion — `pk-dropdown` scale+fade, with transform
|
|
@@ -625,13 +625,15 @@ var PkDropdownMenu = class PkDropdownMenu extends PkElement {
|
|
|
625
625
|
this.menuElement.classList.remove("hide");
|
|
626
626
|
await animateWithClass(this.menuElement, "show");
|
|
627
627
|
const items = this.getItems();
|
|
628
|
-
if (items.length > 0)
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
item
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
628
|
+
if (items.length > 0) {
|
|
629
|
+
if (this.openedByKeyboard) this.setActiveItem(items, items[0]);
|
|
630
|
+
else {
|
|
631
|
+
items.forEach((item) => {
|
|
632
|
+
item.active = false;
|
|
633
|
+
item.removeAttribute("data-highlighted");
|
|
634
|
+
});
|
|
635
|
+
this.menuElement.focus({ preventScroll: true });
|
|
636
|
+
}
|
|
635
637
|
}
|
|
636
638
|
this.openedByKeyboard = false;
|
|
637
639
|
this.dispatchEvent(new PkAfterShowEvent());
|
|
@@ -676,9 +678,10 @@ var PkDropdownMenu = class PkDropdownMenu extends PkElement {
|
|
|
676
678
|
}
|
|
677
679
|
render() {
|
|
678
680
|
const popupActive = this.hasUpdated ? this.popupElement?.active : this.open;
|
|
681
|
+
const externalAnchor = this.for ? this.getAnchor() : "";
|
|
679
682
|
return b`
|
|
680
683
|
<pk-popup
|
|
681
|
-
.anchor=${
|
|
684
|
+
.anchor=${externalAnchor}
|
|
682
685
|
placement=${this.placement}
|
|
683
686
|
.distance=${this.distance || this.sideOffset}
|
|
684
687
|
.skidding=${this.skidding}
|