@verbb/plugin-kit-web 2.0.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/CHANGELOG.md +16 -0
- package/LICENSE.md +21 -0
- package/README.md +149 -0
- package/dist/a11y/active-elements.d.ts +6 -0
- package/dist/a11y/active-elements.d.ts.map +1 -0
- package/dist/a11y/dismissible-stack.d.ts +6 -0
- package/dist/a11y/dismissible-stack.d.ts.map +1 -0
- package/dist/a11y/focus.d.ts +20 -0
- package/dist/a11y/focus.d.ts.map +1 -0
- package/dist/a11y/index.d.ts +7 -0
- package/dist/a11y/index.d.ts.map +1 -0
- package/dist/a11y/offset.d.ts +9 -0
- package/dist/a11y/offset.d.ts.map +1 -0
- package/dist/a11y/scroll-lock.d.ts +23 -0
- package/dist/a11y/scroll-lock.d.ts.map +1 -0
- package/dist/base/checkbox-control.styles.d.ts +3 -0
- package/dist/base/checkbox-control.styles.d.ts.map +1 -0
- package/dist/base/component-id.d.ts +2 -0
- package/dist/base/component-id.d.ts.map +1 -0
- package/dist/base/form-control.styles.d.ts +3 -0
- package/dist/base/form-control.styles.d.ts.map +1 -0
- package/dist/base/icon.styles.d.ts +3 -0
- package/dist/base/icon.styles.d.ts.map +1 -0
- package/dist/base/markdown.styles.d.ts +3 -0
- package/dist/base/markdown.styles.d.ts.map +1 -0
- package/dist/base/pk-element.d.ts +28 -0
- package/dist/base/pk-element.d.ts.map +1 -0
- package/dist/base/pk-form-associated-element.d.ts +63 -0
- package/dist/base/pk-form-associated-element.d.ts.map +1 -0
- package/dist/base/shadow-reset.styles.d.ts +6 -0
- package/dist/base/shadow-reset.styles.d.ts.map +1 -0
- package/dist/base/styles.d.ts +9 -0
- package/dist/base/styles.d.ts.map +1 -0
- package/dist/chunks/active-elements-BwpXu8Lb.js +16 -0
- package/dist/chunks/active-elements-BwpXu8Lb.js.map +1 -0
- package/dist/chunks/animate-with-class-CsDwYnXL.js +42 -0
- package/dist/chunks/animate-with-class-CsDwYnXL.js.map +1 -0
- package/dist/chunks/autoloader-DzOTQqe6.js +177 -0
- package/dist/chunks/autoloader-DzOTQqe6.js.map +1 -0
- package/dist/chunks/button-group-item.styles-DYmBR28a.js +147 -0
- package/dist/chunks/button-group-item.styles-DYmBR28a.js.map +1 -0
- package/dist/chunks/component-registry-CpZiIDh4.js +130 -0
- package/dist/chunks/component-registry-CpZiIDh4.js.map +1 -0
- package/dist/chunks/control-aria-B2QMq4ji.js +69 -0
- package/dist/chunks/control-aria-B2QMq4ji.js.map +1 -0
- package/dist/chunks/decorate-W02hmVTt.js +149 -0
- package/dist/chunks/decorate-W02hmVTt.js.map +1 -0
- package/dist/chunks/dismissible-stack-XQUMfKO3.js +32 -0
- package/dist/chunks/dismissible-stack-XQUMfKO3.js.map +1 -0
- package/dist/chunks/field-labels-CoU9dnNq.js +14 -0
- package/dist/chunks/field-labels-CoU9dnNq.js.map +1 -0
- package/dist/chunks/focus-aa5dlv8k.js +122 -0
- package/dist/chunks/focus-aa5dlv8k.js.map +1 -0
- package/dist/chunks/form-control.styles-BQdimE5o.js +108 -0
- package/dist/chunks/form-control.styles-BQdimE5o.js.map +1 -0
- package/dist/chunks/has-slot-8BvCt_qo.js +74 -0
- package/dist/chunks/has-slot-8BvCt_qo.js.map +1 -0
- package/dist/chunks/icon.styles-BLTWLqYp.js +21 -0
- package/dist/chunks/icon.styles-BLTWLqYp.js.map +1 -0
- package/dist/chunks/icons-BR8JcQj2.js +52 -0
- package/dist/chunks/icons-BR8JcQj2.js.map +1 -0
- package/dist/chunks/mirror-validator-DCjNYrrx.js +32 -0
- package/dist/chunks/mirror-validator-DCjNYrrx.js.map +1 -0
- package/dist/chunks/overlay-lifecycle-D0pkTQyI.js +44 -0
- package/dist/chunks/overlay-lifecycle-D0pkTQyI.js.map +1 -0
- package/dist/chunks/pk-button-Cilu5WAT.js +840 -0
- package/dist/chunks/pk-button-Cilu5WAT.js.map +1 -0
- package/dist/chunks/pk-button-group-D9hqSfb_.js +422 -0
- package/dist/chunks/pk-button-group-D9hqSfb_.js.map +1 -0
- package/dist/chunks/pk-button-group-separator-DG0CYaqc.js +61 -0
- package/dist/chunks/pk-button-group-separator-DG0CYaqc.js.map +1 -0
- package/dist/chunks/pk-button-group-text-C5z4P7ur.js +49 -0
- package/dist/chunks/pk-button-group-text-C5z4P7ur.js.map +1 -0
- package/dist/chunks/pk-calendar-CcV-La-9.js +1410 -0
- package/dist/chunks/pk-calendar-CcV-La-9.js.map +1 -0
- package/dist/chunks/pk-checkbox-Bavq3-9C.js +360 -0
- package/dist/chunks/pk-checkbox-Bavq3-9C.js.map +1 -0
- package/dist/chunks/pk-checkbox-select-ZEJ6WIQn.js +221 -0
- package/dist/chunks/pk-checkbox-select-ZEJ6WIQn.js.map +1 -0
- package/dist/chunks/pk-clear--mPWZP7H.js +15 -0
- package/dist/chunks/pk-clear--mPWZP7H.js.map +1 -0
- package/dist/chunks/pk-code-editor-DSG6AwLV.js +213 -0
- package/dist/chunks/pk-code-editor-DSG6AwLV.js.map +1 -0
- package/dist/chunks/pk-color-input-D4L0DE5S.js +398 -0
- package/dist/chunks/pk-color-input-D4L0DE5S.js.map +1 -0
- package/dist/chunks/pk-combobox-Dd1ik0Ko.js +2015 -0
- package/dist/chunks/pk-combobox-Dd1ik0Ko.js.map +1 -0
- package/dist/chunks/pk-copy-button-DPh5TOF9.js +139 -0
- package/dist/chunks/pk-copy-button-DPh5TOF9.js.map +1 -0
- package/dist/chunks/pk-date-picker-CkwU4DzD.js +717 -0
- package/dist/chunks/pk-date-picker-CkwU4DzD.js.map +1 -0
- package/dist/chunks/pk-dialog-DZZd1Tzb.js +636 -0
- package/dist/chunks/pk-dialog-DZZd1Tzb.js.map +1 -0
- package/dist/chunks/pk-dropdown-item-BFyjtsL5.js +547 -0
- package/dist/chunks/pk-dropdown-item-BFyjtsL5.js.map +1 -0
- package/dist/chunks/pk-dropdown-label-DfACId-K.js +48 -0
- package/dist/chunks/pk-dropdown-label-DfACId-K.js.map +1 -0
- package/dist/chunks/pk-dropdown-menu-DWlxkDIs.js +735 -0
- package/dist/chunks/pk-dropdown-menu-DWlxkDIs.js.map +1 -0
- package/dist/chunks/pk-editable-table-pBkD6izs.js +1528 -0
- package/dist/chunks/pk-editable-table-pBkD6izs.js.map +1 -0
- package/dist/chunks/pk-field-Buy_AtYF.js +485 -0
- package/dist/chunks/pk-field-Buy_AtYF.js.map +1 -0
- package/dist/chunks/pk-form-associated-element-DmZKgNPL.js +260 -0
- package/dist/chunks/pk-form-associated-element-DmZKgNPL.js.map +1 -0
- package/dist/chunks/pk-input-group-CGHQKrt8.js +238 -0
- package/dist/chunks/pk-input-group-CGHQKrt8.js.map +1 -0
- package/dist/chunks/pk-input-group-addon-DXbNbsfY.js +101 -0
- package/dist/chunks/pk-input-group-addon-DXbNbsfY.js.map +1 -0
- package/dist/chunks/pk-input-group-button-XOfVLqGO.js +55 -0
- package/dist/chunks/pk-input-group-button-XOfVLqGO.js.map +1 -0
- package/dist/chunks/pk-input-group-input-CSmR5vdY.js +136 -0
- package/dist/chunks/pk-input-group-input-CSmR5vdY.js.map +1 -0
- package/dist/chunks/pk-input-group-text-C6ekhtff.js +40 -0
- package/dist/chunks/pk-input-group-text-C6ekhtff.js.map +1 -0
- package/dist/chunks/pk-input-group-textarea-DALr3pdU.js +113 -0
- package/dist/chunks/pk-input-group-textarea-DALr3pdU.js.map +1 -0
- package/dist/chunks/pk-input-naIRPWGC.js +723 -0
- package/dist/chunks/pk-input-naIRPWGC.js.map +1 -0
- package/dist/chunks/pk-lightswitch-B-rLflNq.js +432 -0
- package/dist/chunks/pk-lightswitch-B-rLflNq.js.map +1 -0
- package/dist/chunks/pk-option-C3Zqmu3z.js +312 -0
- package/dist/chunks/pk-option-C3Zqmu3z.js.map +1 -0
- package/dist/chunks/pk-option-group-CbI56A3T.js +72 -0
- package/dist/chunks/pk-option-group-CbI56A3T.js.map +1 -0
- package/dist/chunks/pk-popover-XZZdJ4WI.js +377 -0
- package/dist/chunks/pk-popover-XZZdJ4WI.js.map +1 -0
- package/dist/chunks/pk-popup-CgiXok-U.js +538 -0
- package/dist/chunks/pk-popup-CgiXok-U.js.map +1 -0
- package/dist/chunks/pk-radio-Bg02ckzC.js +233 -0
- package/dist/chunks/pk-radio-Bg02ckzC.js.map +1 -0
- package/dist/chunks/pk-radio-group-B5rps9G4.js +253 -0
- package/dist/chunks/pk-radio-group-B5rps9G4.js.map +1 -0
- package/dist/chunks/pk-scroll-area-B0V4Dr2j.js +402 -0
- package/dist/chunks/pk-scroll-area-B0V4Dr2j.js.map +1 -0
- package/dist/chunks/pk-select-B17rV6BR.js +1129 -0
- package/dist/chunks/pk-select-B17rV6BR.js.map +1 -0
- package/dist/chunks/pk-separator-CLb9n0FK.js +89 -0
- package/dist/chunks/pk-separator-CLb9n0FK.js.map +1 -0
- package/dist/chunks/pk-spinner-Blxd3SIH.js +148 -0
- package/dist/chunks/pk-spinner-Blxd3SIH.js.map +1 -0
- package/dist/chunks/pk-status-7_5dEuw-.js +92 -0
- package/dist/chunks/pk-status-7_5dEuw-.js.map +1 -0
- package/dist/chunks/pk-tab-CzV7pOdp.js +259 -0
- package/dist/chunks/pk-tab-CzV7pOdp.js.map +1 -0
- package/dist/chunks/pk-tab-heading-BWAB85ua.js +50 -0
- package/dist/chunks/pk-tab-heading-BWAB85ua.js.map +1 -0
- package/dist/chunks/pk-tab-panel-Q3Pqyq-f.js +86 -0
- package/dist/chunks/pk-tab-panel-Q3Pqyq-f.js.map +1 -0
- package/dist/chunks/pk-tabs-Cip4nbb7.js +622 -0
- package/dist/chunks/pk-tabs-Cip4nbb7.js.map +1 -0
- package/dist/chunks/pk-textarea-BEapC8Rk.js +342 -0
- package/dist/chunks/pk-textarea-BEapC8Rk.js.map +1 -0
- package/dist/chunks/pk-time-picker-DbW_hMs2.js +228 -0
- package/dist/chunks/pk-time-picker-DbW_hMs2.js.map +1 -0
- package/dist/chunks/pk-tiptap-content-DAtNbJYC.js +76 -0
- package/dist/chunks/pk-tiptap-content-DAtNbJYC.js.map +1 -0
- package/dist/chunks/pk-tiptap-editor-umIuEaXh.js +1084 -0
- package/dist/chunks/pk-tiptap-editor-umIuEaXh.js.map +1 -0
- package/dist/chunks/pk-tiptap-input-CXcYXbRa.js +250 -0
- package/dist/chunks/pk-tiptap-input-CXcYXbRa.js.map +1 -0
- package/dist/chunks/pk-toggle-5-GKVLye.js +256 -0
- package/dist/chunks/pk-toggle-5-GKVLye.js.map +1 -0
- package/dist/chunks/pk-toggle-group-CWDwYlgR.js +175 -0
- package/dist/chunks/pk-toggle-group-CWDwYlgR.js.map +1 -0
- package/dist/chunks/pk-tooltip-fcUbVGli.js +469 -0
- package/dist/chunks/pk-tooltip-fcUbVGli.js.map +1 -0
- package/dist/chunks/popup-content-animation.styles-Dc6d9quJ.js +117 -0
- package/dist/chunks/popup-content-animation.styles-Dc6d9quJ.js.map +1 -0
- package/dist/chunks/popup-placement-animation-WlEXnS85.js +60 -0
- package/dist/chunks/popup-placement-animation-WlEXnS85.js.map +1 -0
- package/dist/chunks/popup-pointer-C8lypj8V.js +21 -0
- package/dist/chunks/popup-pointer-C8lypj8V.js.map +1 -0
- package/dist/chunks/register-components-DNw6EYNo.js +15 -0
- package/dist/chunks/register-components-DNw6EYNo.js.map +1 -0
- package/dist/chunks/render-Dvc3MHQR.js +16 -0
- package/dist/chunks/render-Dvc3MHQR.js.map +1 -0
- package/dist/chunks/required-validator-CEg8dvjS.js +29 -0
- package/dist/chunks/required-validator-CEg8dvjS.js.map +1 -0
- package/dist/chunks/scroll-lock-B4o9vdzJ.js +193 -0
- package/dist/chunks/scroll-lock-B4o9vdzJ.js.map +1 -0
- package/dist/chunks/spinner-utils-CDfHypTv.js +15 -0
- package/dist/chunks/spinner-utils-CDfHypTv.js.map +1 -0
- package/dist/chunks/supports-popover-CUBsbHpS.js +7 -0
- package/dist/chunks/supports-popover-CUBsbHpS.js.map +1 -0
- package/dist/chunks/sync-listbox-separators-B1-V0oJi.js +149 -0
- package/dist/chunks/sync-listbox-separators-B1-V0oJi.js.map +1 -0
- package/dist/chunks/tiptap.styles-BytOpP0H.js +463 -0
- package/dist/chunks/tiptap.styles-BytOpP0H.js.map +1 -0
- package/dist/component-registry.d.ts +28 -0
- package/dist/component-registry.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/pk-button.d.ts +91 -0
- package/dist/components/button/pk-button.d.ts.map +1 -0
- package/dist/components/button/pk-button.js +2 -0
- package/dist/components/button/pk-button.styles.d.ts +2 -0
- package/dist/components/button/pk-button.styles.d.ts.map +1 -0
- package/dist/components/button-group/button-group-item.styles.d.ts +13 -0
- package/dist/components/button-group/button-group-item.styles.d.ts.map +1 -0
- package/dist/components/button-group/index.d.ts +4 -0
- package/dist/components/button-group/index.d.ts.map +1 -0
- package/dist/components/button-group/pk-button-group-separator.d.ts +18 -0
- package/dist/components/button-group/pk-button-group-separator.d.ts.map +1 -0
- package/dist/components/button-group/pk-button-group-separator.js +2 -0
- package/dist/components/button-group/pk-button-group-separator.styles.d.ts +2 -0
- package/dist/components/button-group/pk-button-group-separator.styles.d.ts.map +1 -0
- package/dist/components/button-group/pk-button-group-text.d.ts +18 -0
- package/dist/components/button-group/pk-button-group-text.d.ts.map +1 -0
- package/dist/components/button-group/pk-button-group-text.js +2 -0
- package/dist/components/button-group/pk-button-group-text.styles.d.ts +2 -0
- package/dist/components/button-group/pk-button-group-text.styles.d.ts.map +1 -0
- package/dist/components/button-group/pk-button-group.d.ts +40 -0
- package/dist/components/button-group/pk-button-group.d.ts.map +1 -0
- package/dist/components/button-group/pk-button-group.js +2 -0
- package/dist/components/button-group/pk-button-group.styles.d.ts +2 -0
- package/dist/components/button-group/pk-button-group.styles.d.ts.map +1 -0
- package/dist/components/button-group.d.ts +2 -0
- package/dist/components/button-group.js +4 -0
- package/dist/components/button.d.ts +2 -0
- package/dist/components/button.js +2 -0
- package/dist/components/calendar/index.d.ts +3 -0
- package/dist/components/calendar/index.d.ts.map +1 -0
- package/dist/components/calendar/pk-calendar.d.ts +117 -0
- package/dist/components/calendar/pk-calendar.d.ts.map +1 -0
- package/dist/components/calendar/pk-calendar.js +2 -0
- package/dist/components/calendar/pk-calendar.styles.d.ts +2 -0
- package/dist/components/calendar/pk-calendar.styles.d.ts.map +1 -0
- package/dist/components/calendar.d.ts +2 -0
- package/dist/components/calendar.js +2 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/pk-checkbox.d.ts +50 -0
- package/dist/components/checkbox/pk-checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/pk-checkbox.js +2 -0
- package/dist/components/checkbox/pk-checkbox.styles.d.ts +2 -0
- package/dist/components/checkbox/pk-checkbox.styles.d.ts.map +1 -0
- package/dist/components/checkbox-select/index.d.ts +2 -0
- package/dist/components/checkbox-select/index.d.ts.map +1 -0
- package/dist/components/checkbox-select/pk-checkbox-select.d.ts +48 -0
- package/dist/components/checkbox-select/pk-checkbox-select.d.ts.map +1 -0
- package/dist/components/checkbox-select/pk-checkbox-select.js +2 -0
- package/dist/components/checkbox-select/pk-checkbox-select.styles.d.ts +2 -0
- package/dist/components/checkbox-select/pk-checkbox-select.styles.d.ts.map +1 -0
- package/dist/components/checkbox-select.d.ts +2 -0
- package/dist/components/checkbox-select.js +2 -0
- package/dist/components/checkbox.d.ts +2 -0
- package/dist/components/checkbox.js +2 -0
- package/dist/components/code-editor/index.d.ts +2 -0
- package/dist/components/code-editor/index.d.ts.map +1 -0
- package/dist/components/code-editor/pk-code-editor.d.ts +40 -0
- package/dist/components/code-editor/pk-code-editor.d.ts.map +1 -0
- package/dist/components/code-editor/pk-code-editor.js +2 -0
- package/dist/components/code-editor/pk-code-editor.styles.d.ts +2 -0
- package/dist/components/code-editor/pk-code-editor.styles.d.ts.map +1 -0
- package/dist/components/code-editor.d.ts +2 -0
- package/dist/components/code-editor.js +2 -0
- package/dist/components/color-input/index.d.ts +2 -0
- package/dist/components/color-input/index.d.ts.map +1 -0
- package/dist/components/color-input/pk-color-input.d.ts +41 -0
- package/dist/components/color-input/pk-color-input.d.ts.map +1 -0
- package/dist/components/color-input/pk-color-input.js +2 -0
- package/dist/components/color-input/pk-color-input.styles.d.ts +7 -0
- package/dist/components/color-input/pk-color-input.styles.d.ts.map +1 -0
- package/dist/components/color-input.d.ts +2 -0
- package/dist/components/color-input.js +2 -0
- package/dist/components/combobox/index.d.ts +2 -0
- package/dist/components/combobox/index.d.ts.map +1 -0
- package/dist/components/combobox/pk-combobox.d.ts +219 -0
- package/dist/components/combobox/pk-combobox.d.ts.map +1 -0
- package/dist/components/combobox/pk-combobox.js +2 -0
- package/dist/components/combobox/pk-combobox.styles.d.ts +2 -0
- package/dist/components/combobox/pk-combobox.styles.d.ts.map +1 -0
- package/dist/components/combobox.d.ts +2 -0
- package/dist/components/combobox.js +2 -0
- package/dist/components/copy-button/index.d.ts +2 -0
- package/dist/components/copy-button/index.d.ts.map +1 -0
- package/dist/components/copy-button/pk-copy-button.d.ts +37 -0
- package/dist/components/copy-button/pk-copy-button.d.ts.map +1 -0
- package/dist/components/copy-button/pk-copy-button.js +2 -0
- package/dist/components/copy-button/pk-copy-button.styles.d.ts +2 -0
- package/dist/components/copy-button/pk-copy-button.styles.d.ts.map +1 -0
- package/dist/components/copy-button.d.ts +2 -0
- package/dist/components/copy-button.js +2 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/pk-date-picker.d.ts +107 -0
- package/dist/components/date-picker/pk-date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/pk-date-picker.js +2 -0
- package/dist/components/date-picker/pk-date-picker.styles.d.ts +2 -0
- package/dist/components/date-picker/pk-date-picker.styles.d.ts.map +1 -0
- package/dist/components/date-picker.d.ts +2 -0
- package/dist/components/date-picker.js +2 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/pk-dialog.d.ts +87 -0
- package/dist/components/dialog/pk-dialog.d.ts.map +1 -0
- package/dist/components/dialog/pk-dialog.js +2 -0
- package/dist/components/dialog/pk-dialog.styles.d.ts +2 -0
- package/dist/components/dialog/pk-dialog.styles.d.ts.map +1 -0
- package/dist/components/dialog.d.ts +2 -0
- package/dist/components/dialog.js +2 -0
- package/dist/components/dropdown-menu/dropdown-menu-size.styles.d.ts +11 -0
- package/dist/components/dropdown-menu/dropdown-menu-size.styles.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +5 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-item.d.ts +67 -0
- package/dist/components/dropdown-menu/pk-dropdown-item.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-item.js +2 -0
- package/dist/components/dropdown-menu/pk-dropdown-item.styles.d.ts +2 -0
- package/dist/components/dropdown-menu/pk-dropdown-item.styles.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-label.d.ts +13 -0
- package/dist/components/dropdown-menu/pk-dropdown-label.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-label.js +2 -0
- package/dist/components/dropdown-menu/pk-dropdown-label.styles.d.ts +2 -0
- package/dist/components/dropdown-menu/pk-dropdown-label.styles.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-menu.d.ts +130 -0
- package/dist/components/dropdown-menu/pk-dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-menu.js +2 -0
- package/dist/components/dropdown-menu/pk-dropdown-menu.styles.d.ts +6 -0
- package/dist/components/dropdown-menu/pk-dropdown-menu.styles.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-separator.d.ts +13 -0
- package/dist/components/dropdown-menu/pk-dropdown-separator.d.ts.map +1 -0
- package/dist/components/dropdown-menu/pk-dropdown-separator.js +36 -0
- package/dist/components/dropdown-menu/pk-dropdown-separator.js.map +1 -0
- package/dist/components/dropdown-menu.d.ts +2 -0
- package/dist/components/dropdown-menu.js +5 -0
- package/dist/components/editable-table/editable-table-dnd.d.ts +64 -0
- package/dist/components/editable-table/editable-table-dnd.d.ts.map +1 -0
- package/dist/components/editable-table/editable-table-model.d.ts +93 -0
- package/dist/components/editable-table/editable-table-model.d.ts.map +1 -0
- package/dist/components/editable-table/index.d.ts +3 -0
- package/dist/components/editable-table/index.d.ts.map +1 -0
- package/dist/components/editable-table/pk-editable-table.d.ts +122 -0
- package/dist/components/editable-table/pk-editable-table.d.ts.map +1 -0
- package/dist/components/editable-table/pk-editable-table.js +2 -0
- package/dist/components/editable-table/pk-editable-table.styles.d.ts +2 -0
- package/dist/components/editable-table/pk-editable-table.styles.d.ts.map +1 -0
- package/dist/components/editable-table.d.ts +2 -0
- package/dist/components/editable-table.js +2 -0
- package/dist/components/field/index.d.ts +2 -0
- package/dist/components/field/index.d.ts.map +1 -0
- package/dist/components/field/pk-field.d.ts +69 -0
- package/dist/components/field/pk-field.d.ts.map +1 -0
- package/dist/components/field/pk-field.js +2 -0
- package/dist/components/field/pk-field.styles.d.ts +2 -0
- package/dist/components/field/pk-field.styles.d.ts.map +1 -0
- package/dist/components/field.d.ts +2 -0
- package/dist/components/field.js +2 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/icon/index.d.ts.map +1 -0
- package/dist/components/icon/pk-icon-loader.d.ts +1 -0
- package/dist/components/icon/pk-icon-loader.d.ts.map +1 -0
- package/dist/components/icon/pk-icon.d.ts +46 -0
- package/dist/components/icon/pk-icon.d.ts.map +1 -0
- package/dist/components/icon/pk-icon.js +47 -0
- package/dist/components/icon/pk-icon.js.map +1 -0
- package/dist/components/icon.d.ts +2 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/pk-input.d.ts +83 -0
- package/dist/components/input/pk-input.d.ts.map +1 -0
- package/dist/components/input/pk-input.js +2 -0
- package/dist/components/input/pk-input.styles.d.ts +2 -0
- package/dist/components/input/pk-input.styles.d.ts.map +1 -0
- package/dist/components/input-group/index.d.ts +10 -0
- package/dist/components/input-group/index.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-addon.d.ts +23 -0
- package/dist/components/input-group/pk-input-group-addon.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-addon.js +2 -0
- package/dist/components/input-group/pk-input-group-addon.styles.d.ts +2 -0
- package/dist/components/input-group/pk-input-group-addon.styles.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-button.d.ts +22 -0
- package/dist/components/input-group/pk-input-group-button.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-button.js +2 -0
- package/dist/components/input-group/pk-input-group-button.styles.d.ts +2 -0
- package/dist/components/input-group/pk-input-group-button.styles.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-input.d.ts +28 -0
- package/dist/components/input-group/pk-input-group-input.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-input.js +2 -0
- package/dist/components/input-group/pk-input-group-input.styles.d.ts +2 -0
- package/dist/components/input-group/pk-input-group-input.styles.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-text.d.ts +18 -0
- package/dist/components/input-group/pk-input-group-text.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-text.js +2 -0
- package/dist/components/input-group/pk-input-group-text.styles.d.ts +2 -0
- package/dist/components/input-group/pk-input-group-text.styles.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-textarea.d.ts +25 -0
- package/dist/components/input-group/pk-input-group-textarea.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group-textarea.js +2 -0
- package/dist/components/input-group/pk-input-group-textarea.styles.d.ts +2 -0
- package/dist/components/input-group/pk-input-group-textarea.styles.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group.d.ts +39 -0
- package/dist/components/input-group/pk-input-group.d.ts.map +1 -0
- package/dist/components/input-group/pk-input-group.js +2 -0
- package/dist/components/input-group/pk-input-group.styles.d.ts +2 -0
- package/dist/components/input-group/pk-input-group.styles.d.ts.map +1 -0
- package/dist/components/input-group.d.ts +2 -0
- package/dist/components/input-group.js +7 -0
- package/dist/components/input.d.ts +2 -0
- package/dist/components/input.js +2 -0
- package/dist/components/lightswitch/index.d.ts +2 -0
- package/dist/components/lightswitch/index.d.ts.map +1 -0
- package/dist/components/lightswitch/pk-lightswitch.d.ts +54 -0
- package/dist/components/lightswitch/pk-lightswitch.d.ts.map +1 -0
- package/dist/components/lightswitch/pk-lightswitch.js +2 -0
- package/dist/components/lightswitch/pk-lightswitch.styles.d.ts +2 -0
- package/dist/components/lightswitch/pk-lightswitch.styles.d.ts.map +1 -0
- package/dist/components/lightswitch.d.ts +2 -0
- package/dist/components/lightswitch.js +2 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/pk-popover.d.ts +90 -0
- package/dist/components/popover/pk-popover.d.ts.map +1 -0
- package/dist/components/popover/pk-popover.js +2 -0
- package/dist/components/popover/pk-popover.styles.d.ts +2 -0
- package/dist/components/popover/pk-popover.styles.d.ts.map +1 -0
- package/dist/components/popover.d.ts +2 -0
- package/dist/components/popover.js +2 -0
- package/dist/components/popup/index.d.ts +2 -0
- package/dist/components/popup/index.d.ts.map +1 -0
- package/dist/components/popup/pk-popup.d.ts +96 -0
- package/dist/components/popup/pk-popup.d.ts.map +1 -0
- package/dist/components/popup/pk-popup.js +2 -0
- package/dist/components/popup/pk-popup.styles.d.ts +2 -0
- package/dist/components/popup/pk-popup.styles.d.ts.map +1 -0
- package/dist/components/popup.d.ts +2 -0
- package/dist/components/popup.js +2 -0
- package/dist/components/radio-group/index.d.ts +3 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/pk-radio-group.d.ts +58 -0
- package/dist/components/radio-group/pk-radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/pk-radio-group.js +2 -0
- package/dist/components/radio-group/pk-radio-group.styles.d.ts +2 -0
- package/dist/components/radio-group/pk-radio-group.styles.d.ts.map +1 -0
- package/dist/components/radio-group/pk-radio.d.ts +37 -0
- package/dist/components/radio-group/pk-radio.d.ts.map +1 -0
- package/dist/components/radio-group/pk-radio.js +2 -0
- package/dist/components/radio-group/pk-radio.styles.d.ts +2 -0
- package/dist/components/radio-group/pk-radio.styles.d.ts.map +1 -0
- package/dist/components/radio-group.d.ts +2 -0
- package/dist/components/radio-group.js +3 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/scroll-area/index.d.ts.map +1 -0
- package/dist/components/scroll-area/pk-scroll-area.d.ts +53 -0
- package/dist/components/scroll-area/pk-scroll-area.d.ts.map +1 -0
- package/dist/components/scroll-area/pk-scroll-area.js +2 -0
- package/dist/components/scroll-area/pk-scroll-area.styles.d.ts +2 -0
- package/dist/components/scroll-area/pk-scroll-area.styles.d.ts.map +1 -0
- package/dist/components/scroll-area.d.ts +2 -0
- package/dist/components/scroll-area.js +2 -0
- package/dist/components/select/index.d.ts +4 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/pk-option-group.d.ts +22 -0
- package/dist/components/select/pk-option-group.d.ts.map +1 -0
- package/dist/components/select/pk-option-group.js +2 -0
- package/dist/components/select/pk-option-group.styles.d.ts +2 -0
- package/dist/components/select/pk-option-group.styles.d.ts.map +1 -0
- package/dist/components/select/pk-option.d.ts +55 -0
- package/dist/components/select/pk-option.d.ts.map +1 -0
- package/dist/components/select/pk-option.js +2 -0
- package/dist/components/select/pk-option.styles.d.ts +2 -0
- package/dist/components/select/pk-option.styles.d.ts.map +1 -0
- package/dist/components/select/pk-select.d.ts +132 -0
- package/dist/components/select/pk-select.d.ts.map +1 -0
- package/dist/components/select/pk-select.js +2 -0
- package/dist/components/select/pk-select.styles.d.ts +2 -0
- package/dist/components/select/pk-select.styles.d.ts.map +1 -0
- package/dist/components/select.d.ts +2 -0
- package/dist/components/select.js +4 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/index.d.ts.map +1 -0
- package/dist/components/separator/pk-separator.d.ts +25 -0
- package/dist/components/separator/pk-separator.d.ts.map +1 -0
- package/dist/components/separator/pk-separator.js +2 -0
- package/dist/components/separator/pk-separator.styles.d.ts +9 -0
- package/dist/components/separator/pk-separator.styles.d.ts.map +1 -0
- package/dist/components/separator.d.ts +2 -0
- package/dist/components/separator.js +2 -0
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/pk-spinner.d.ts +23 -0
- package/dist/components/spinner/pk-spinner.d.ts.map +1 -0
- package/dist/components/spinner/pk-spinner.js +2 -0
- package/dist/components/spinner/pk-spinner.styles.d.ts +2 -0
- package/dist/components/spinner/pk-spinner.styles.d.ts.map +1 -0
- package/dist/components/spinner/spinner-utils.d.ts +7 -0
- package/dist/components/spinner/spinner-utils.d.ts.map +1 -0
- package/dist/components/spinner.d.ts +2 -0
- package/dist/components/spinner.js +3 -0
- package/dist/components/status/index.d.ts +2 -0
- package/dist/components/status/index.d.ts.map +1 -0
- package/dist/components/status/pk-status.d.ts +19 -0
- package/dist/components/status/pk-status.d.ts.map +1 -0
- package/dist/components/status/pk-status.js +2 -0
- package/dist/components/status/pk-status.styles.d.ts +2 -0
- package/dist/components/status/pk-status.styles.d.ts.map +1 -0
- package/dist/components/status.d.ts +2 -0
- package/dist/components/status.js +2 -0
- package/dist/components/tabs/index.d.ts +5 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab-base.d.ts +14 -0
- package/dist/components/tabs/pk-tab-base.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab-heading.d.ts +20 -0
- package/dist/components/tabs/pk-tab-heading.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab-heading.js +2 -0
- package/dist/components/tabs/pk-tab-heading.styles.d.ts +2 -0
- package/dist/components/tabs/pk-tab-heading.styles.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab-panel-base.d.ts +9 -0
- package/dist/components/tabs/pk-tab-panel-base.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab-panel.d.ts +18 -0
- package/dist/components/tabs/pk-tab-panel.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab-panel.js +2 -0
- package/dist/components/tabs/pk-tab-panel.styles.d.ts +2 -0
- package/dist/components/tabs/pk-tab-panel.styles.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab.d.ts +23 -0
- package/dist/components/tabs/pk-tab.d.ts.map +1 -0
- package/dist/components/tabs/pk-tab.js +2 -0
- package/dist/components/tabs/pk-tab.styles.d.ts +2 -0
- package/dist/components/tabs/pk-tab.styles.d.ts.map +1 -0
- package/dist/components/tabs/pk-tabs.d.ts +67 -0
- package/dist/components/tabs/pk-tabs.d.ts.map +1 -0
- package/dist/components/tabs/pk-tabs.js +2 -0
- package/dist/components/tabs/pk-tabs.styles.d.ts +6 -0
- package/dist/components/tabs/pk-tabs.styles.d.ts.map +1 -0
- package/dist/components/tabs.d.ts +2 -0
- package/dist/components/tabs.js +5 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/pk-textarea.d.ts +60 -0
- package/dist/components/textarea/pk-textarea.d.ts.map +1 -0
- package/dist/components/textarea/pk-textarea.js +2 -0
- package/dist/components/textarea/pk-textarea.styles.d.ts +2 -0
- package/dist/components/textarea/pk-textarea.styles.d.ts.map +1 -0
- package/dist/components/textarea.d.ts +2 -0
- package/dist/components/textarea.js +2 -0
- package/dist/components/time-picker/index.d.ts +2 -0
- package/dist/components/time-picker/index.d.ts.map +1 -0
- package/dist/components/time-picker/pk-time-picker.d.ts +25 -0
- package/dist/components/time-picker/pk-time-picker.d.ts.map +1 -0
- package/dist/components/time-picker/pk-time-picker.js +2 -0
- package/dist/components/time-picker/pk-time-picker.styles.d.ts +2 -0
- package/dist/components/time-picker/pk-time-picker.styles.d.ts.map +1 -0
- package/dist/components/time-picker.d.ts +2 -0
- package/dist/components/time-picker.js +2 -0
- package/dist/components/tiptap/index.d.ts +4 -0
- package/dist/components/tiptap/index.d.ts.map +1 -0
- package/dist/components/tiptap/pk-tiptap-content.d.ts +25 -0
- package/dist/components/tiptap/pk-tiptap-content.d.ts.map +1 -0
- package/dist/components/tiptap/pk-tiptap-content.js +2 -0
- package/dist/components/tiptap/pk-tiptap-content.styles.d.ts +2 -0
- package/dist/components/tiptap/pk-tiptap-content.styles.d.ts.map +1 -0
- package/dist/components/tiptap/pk-tiptap-editor.d.ts +123 -0
- package/dist/components/tiptap/pk-tiptap-editor.d.ts.map +1 -0
- package/dist/components/tiptap/pk-tiptap-editor.js +2 -0
- package/dist/components/tiptap/pk-tiptap-editor.styles.d.ts +2 -0
- package/dist/components/tiptap/pk-tiptap-editor.styles.d.ts.map +1 -0
- package/dist/components/tiptap/pk-tiptap-input.d.ts +54 -0
- package/dist/components/tiptap/pk-tiptap-input.d.ts.map +1 -0
- package/dist/components/tiptap/pk-tiptap-input.js +2 -0
- package/dist/components/tiptap/pk-tiptap-input.styles.d.ts +2 -0
- package/dist/components/tiptap/pk-tiptap-input.styles.d.ts.map +1 -0
- package/dist/components/tiptap/tiptap-editor-host.d.ts +28 -0
- package/dist/components/tiptap/tiptap-editor-host.d.ts.map +1 -0
- package/dist/components/tiptap/tiptap-toolbar.d.ts +7 -0
- package/dist/components/tiptap/tiptap-toolbar.d.ts.map +1 -0
- package/dist/components/tiptap/tiptap-utils.d.ts +13 -0
- package/dist/components/tiptap/tiptap-utils.d.ts.map +1 -0
- package/dist/components/tiptap/tiptap.styles.d.ts +12 -0
- package/dist/components/tiptap/tiptap.styles.d.ts.map +1 -0
- package/dist/components/tiptap/variable-tag-node-view.d.ts +17 -0
- package/dist/components/tiptap/variable-tag-node-view.d.ts.map +1 -0
- package/dist/components/tiptap-content.d.ts +2 -0
- package/dist/components/tiptap-content.js +2 -0
- package/dist/components/tiptap-editor.d.ts +2 -0
- package/dist/components/tiptap-editor.js +2 -0
- package/dist/components/tiptap-input.d.ts +2 -0
- package/dist/components/tiptap-input.js +2 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.d.ts.map +1 -0
- package/dist/components/toggle/pk-toggle.d.ts +28 -0
- package/dist/components/toggle/pk-toggle.d.ts.map +1 -0
- package/dist/components/toggle/pk-toggle.js +2 -0
- package/dist/components/toggle/pk-toggle.styles.d.ts +2 -0
- package/dist/components/toggle/pk-toggle.styles.d.ts.map +1 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/toggle-group/index.d.ts.map +1 -0
- package/dist/components/toggle-group/pk-toggle-group.d.ts +43 -0
- package/dist/components/toggle-group/pk-toggle-group.d.ts.map +1 -0
- package/dist/components/toggle-group/pk-toggle-group.js +2 -0
- package/dist/components/toggle-group/pk-toggle-group.styles.d.ts +2 -0
- package/dist/components/toggle-group/pk-toggle-group.styles.d.ts.map +1 -0
- package/dist/components/toggle-group.d.ts +2 -0
- package/dist/components/toggle-group.js +2 -0
- package/dist/components/toggle.d.ts +2 -0
- package/dist/components/toggle.js +2 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/pk-tooltip.d.ts +73 -0
- package/dist/components/tooltip/pk-tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/pk-tooltip.js +2 -0
- package/dist/components/tooltip/pk-tooltip.styles.d.ts +2 -0
- package/dist/components/tooltip/pk-tooltip.styles.d.ts.map +1 -0
- package/dist/components/tooltip.d.ts +2 -0
- package/dist/components/tooltip.js +2 -0
- package/dist/create-register-components.d.ts +7 -0
- package/dist/create-register-components.d.ts.map +1 -0
- package/dist/events/overlay-lifecycle.d.ts +27 -0
- package/dist/events/overlay-lifecycle.d.ts.map +1 -0
- package/dist/events/pk-clear.d.ts +10 -0
- package/dist/events/pk-clear.d.ts.map +1 -0
- package/dist/events/pk-copy.d.ts +18 -0
- package/dist/events/pk-copy.d.ts.map +1 -0
- package/dist/events/pk-create.d.ts +11 -0
- package/dist/events/pk-create.d.ts.map +1 -0
- package/dist/events/pk-invalid.d.ts +10 -0
- package/dist/events/pk-invalid.d.ts.map +1 -0
- package/dist/events/pk-reposition.d.ts +10 -0
- package/dist/events/pk-reposition.d.ts.map +1 -0
- package/dist/icons/checkbox-indicators.d.ts +6 -0
- package/dist/icons/checkbox-indicators.d.ts.map +1 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +4 -0
- package/dist/icons/render.d.ts +7 -0
- package/dist/icons/render.d.ts.map +1 -0
- package/dist/icons/translation-icon.d.ts +2 -0
- package/dist/icons/translation-icon.d.ts.map +1 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +218 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/control-aria.d.ts +31 -0
- package/dist/internal/control-aria.d.ts.map +1 -0
- package/dist/internal/field-aria.d.ts +19 -0
- package/dist/internal/field-aria.d.ts.map +1 -0
- package/dist/internal/field-labels.d.ts +5 -0
- package/dist/internal/field-labels.d.ts.map +1 -0
- package/dist/internal/has-slot.d.ts +30 -0
- package/dist/internal/has-slot.d.ts.map +1 -0
- package/dist/internal/implicit-form-submit.d.ts +15 -0
- package/dist/internal/implicit-form-submit.d.ts.map +1 -0
- package/dist/internal/resolve-element-by-id.d.ts +3 -0
- package/dist/internal/resolve-element-by-id.d.ts.map +1 -0
- package/dist/internal/sync-listbox-separators.d.ts +3 -0
- package/dist/internal/sync-listbox-separators.d.ts.map +1 -0
- package/dist/plugin-kit.css +583 -0
- package/dist/plugin-kit.d.ts +9 -0
- package/dist/plugin-kit.d.ts.map +1 -0
- package/dist/plugin-kit.js +267 -0
- package/dist/plugin-kit.js.map +1 -0
- package/dist/plugin-kit.loader.d.ts +2 -0
- package/dist/plugin-kit.loader.d.ts.map +1 -0
- package/dist/register-components.d.ts +3 -0
- package/dist/register-components.d.ts.map +1 -0
- package/dist/register-components.js +2 -0
- package/dist/register-pk.generated.d.ts +103 -0
- package/dist/register-pk.generated.d.ts.map +1 -0
- package/dist/register.d.ts +85 -0
- package/dist/register.d.ts.map +1 -0
- package/dist/register.js +146 -0
- package/dist/register.js.map +1 -0
- package/dist/styles/overlay-content.css +64 -0
- package/dist/styles/popup-content-animation.styles.d.ts +9 -0
- package/dist/styles/popup-content-animation.styles.d.ts.map +1 -0
- package/dist/tokens.css +408 -0
- package/dist/utilities/autoloader.d.ts +8 -0
- package/dist/utilities/autoloader.d.ts.map +1 -0
- package/dist/utilities/base-path.d.ts +3 -0
- package/dist/utilities/base-path.d.ts.map +1 -0
- package/dist/utilities/defined.d.ts +17 -0
- package/dist/utilities/defined.d.ts.map +1 -0
- package/dist/utilities/fouce-strategy.d.ts +43 -0
- package/dist/utilities/fouce-strategy.d.ts.map +1 -0
- package/dist/utilities/fouce.css +108 -0
- package/dist/utils/animate-with-class.d.ts +7 -0
- package/dist/utils/animate-with-class.d.ts.map +1 -0
- package/dist/utils/config.d.ts +15 -0
- package/dist/utils/config.d.ts.map +1 -0
- package/dist/utils/copy-to-clipboard.d.ts +5 -0
- package/dist/utils/copy-to-clipboard.d.ts.map +1 -0
- package/dist/utils/craft-host-modal.d.ts +19 -0
- package/dist/utils/craft-host-modal.d.ts.map +1 -0
- package/dist/utils/date-matchers.d.ts +29 -0
- package/dist/utils/date-matchers.d.ts.map +1 -0
- package/dist/utils/date.d.ts +23 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/documentScrollStability.d.ts +11 -0
- package/dist/utils/documentScrollStability.d.ts.map +1 -0
- package/dist/utils/floating-ui.d.ts +14 -0
- package/dist/utils/floating-ui.d.ts.map +1 -0
- package/dist/utils/highlight-text.d.ts +7 -0
- package/dist/utils/highlight-text.d.ts.map +1 -0
- package/dist/utils/host-date.d.ts +8 -0
- package/dist/utils/host-date.d.ts.map +1 -0
- package/dist/utils/inline-markdown.d.ts +6 -0
- package/dist/utils/inline-markdown.d.ts.map +1 -0
- package/dist/utils/listbox-keyboard.d.ts +25 -0
- package/dist/utils/listbox-keyboard.d.ts.map +1 -0
- package/dist/utils/menu-keyboard.d.ts +15 -0
- package/dist/utils/menu-keyboard.d.ts.map +1 -0
- package/dist/utils/mount-shadow-app.d.ts +31 -0
- package/dist/utils/mount-shadow-app.d.ts.map +1 -0
- package/dist/utils/overlay-recovery.d.ts +39 -0
- package/dist/utils/overlay-recovery.d.ts.map +1 -0
- package/dist/utils/popup-placement-animation.d.ts +26 -0
- package/dist/utils/popup-placement-animation.d.ts.map +1 -0
- package/dist/utils/popup-pointer.d.ts +15 -0
- package/dist/utils/popup-pointer.d.ts.map +1 -0
- package/dist/utils/portal.d.ts +16 -0
- package/dist/utils/portal.d.ts.map +1 -0
- package/dist/utils/supports-popover.d.ts +3 -0
- package/dist/utils/supports-popover.d.ts.map +1 -0
- package/dist/utils/time-options.d.ts +16 -0
- package/dist/utils/time-options.d.ts.map +1 -0
- package/dist/utils/top-layer.d.ts +34 -0
- package/dist/utils/top-layer.d.ts.map +1 -0
- package/dist/utils/week-info.d.ts +14 -0
- package/dist/utils/week-info.d.ts.map +1 -0
- package/dist/validators/custom-error-validator.d.ts +3 -0
- package/dist/validators/custom-error-validator.d.ts.map +1 -0
- package/dist/validators/index.d.ts +6 -0
- package/dist/validators/index.d.ts.map +1 -0
- package/dist/validators/mirror-validator.d.ts +4 -0
- package/dist/validators/mirror-validator.d.ts.map +1 -0
- package/dist/validators/required-validator.d.ts +7 -0
- package/dist/validators/required-validator.d.ts.map +1 -0
- package/dist/validators/types.d.ts +12 -0
- package/dist/validators/types.d.ts.map +1 -0
- package/dist-loader/chunks/animate-with-class-DT0jwaR_.js +40 -0
- package/dist-loader/chunks/button-group-item.styles-Dwakbyx5.js +145 -0
- package/dist-loader/chunks/codemirror-CSgOT0QM.js +23675 -0
- package/dist-loader/chunks/field-labels-D3lKQ2nq.js +12 -0
- package/dist-loader/chunks/floating-ui-87vslRWW.js +1220 -0
- package/dist-loader/chunks/has-slot-BGJeJdHr.js +72 -0
- package/dist-loader/chunks/icons-B1i-oRoD.js +429 -0
- package/dist-loader/chunks/lit-Dnn7gEi2.js +891 -0
- package/dist-loader/chunks/mirror-validator-C5XrXPaq.js +30 -0
- package/dist-loader/chunks/overlay-lifecycle-C3tSQ3UR.js +42 -0
- package/dist-loader/chunks/pk-a11y-Cx5RZvhu.js +274 -0
- package/dist-loader/chunks/pk-base-BlxAYXJD.js +705 -0
- package/dist-loader/chunks/pk-button-BlSs4e6V.js +846 -0
- package/dist-loader/chunks/pk-calendar-RXCDDhLI.js +1403 -0
- package/dist-loader/chunks/pk-checkbox-hJCj8In8.js +273 -0
- package/dist-loader/chunks/pk-clear-BMZUzwDt.js +13 -0
- package/dist-loader/chunks/pk-color-input-BfNtLznP.js +393 -0
- package/dist-loader/chunks/pk-combobox-1PJBcIrV.js +2006 -0
- package/dist-loader/chunks/pk-date-picker-D4vCtbw-.js +708 -0
- package/dist-loader/chunks/pk-dialog-D1RZjwQN.js +630 -0
- package/dist-loader/chunks/pk-dropdown-item-BJIhQ0Mw.js +543 -0
- package/dist-loader/chunks/pk-dropdown-menu-I1s3TBiA.js +731 -0
- package/dist-loader/chunks/pk-field-BnKPT_Kk.js +5842 -0
- package/dist-loader/chunks/pk-input-Oarjv7Vc.js +715 -0
- package/dist-loader/chunks/pk-lightswitch-D-UrNM3y.js +427 -0
- package/dist-loader/chunks/pk-option-CCZebfif.js +308 -0
- package/dist-loader/chunks/pk-popup-BNRyCsVX.js +553 -0
- package/dist-loader/chunks/pk-select-BcbtjIoP.js +1120 -0
- package/dist-loader/chunks/pk-spinner-Di9O69-m.js +145 -0
- package/dist-loader/chunks/pk-textarea-CC6WXpIu.js +334 -0
- package/dist-loader/chunks/pk-time-picker-BtGXo-KJ.js +225 -0
- package/dist-loader/chunks/pk-tooltip-JJRxVXYD.js +465 -0
- package/dist-loader/chunks/popup-content-animation.styles-S6CK-zPp.js +115 -0
- package/dist-loader/chunks/popup-placement-animation-WlEXnS85.js +58 -0
- package/dist-loader/chunks/popup-pointer-BC4n_sNb.js +19 -0
- package/dist-loader/chunks/registry-CmL0rH9r.js +55 -0
- package/dist-loader/chunks/render-DApFfV9S.js +14 -0
- package/dist-loader/chunks/required-validator-0XwZtX9k.js +27 -0
- package/dist-loader/chunks/rolldown-runtime-CzwdidQP.js +13 -0
- package/dist-loader/chunks/supports-popover-COjbi2RP.js +5 -0
- package/dist-loader/chunks/svg-Boar0Kf1.js +34 -0
- package/dist-loader/chunks/sync-listbox-separators-Bcja51HC.js +147 -0
- package/dist-loader/chunks/tiptap-Db7MTUH1.js +22888 -0
- package/dist-loader/chunks/tiptap.styles-DAH_90Fi.js +1628 -0
- package/dist-loader/components/button/button.js +2 -0
- package/dist-loader/components/button-group/button-group-separator.js +58 -0
- package/dist-loader/components/button-group/button-group-text.js +46 -0
- package/dist-loader/components/button-group/button-group.js +419 -0
- package/dist-loader/components/calendar/calendar.js +2 -0
- package/dist-loader/components/checkbox/checkbox.js +2 -0
- package/dist-loader/components/checkbox-select/checkbox-select.js +217 -0
- package/dist-loader/components/code-editor/code-editor.js +376 -0
- package/dist-loader/components/color-input/color-input.js +2 -0
- package/dist-loader/components/combobox/combobox.js +2 -0
- package/dist-loader/components/copy-button/copy-button.js +135 -0
- package/dist-loader/components/date-picker/date-picker.js +2 -0
- package/dist-loader/components/dialog/dialog.js +2 -0
- package/dist-loader/components/dropdown-menu/dropdown-item.js +2 -0
- package/dist-loader/components/dropdown-menu/dropdown-label.js +45 -0
- package/dist-loader/components/dropdown-menu/dropdown-menu.js +2 -0
- package/dist-loader/components/dropdown-menu/dropdown-separator.js +33 -0
- package/dist-loader/components/editable-table/editable-table.js +1522 -0
- package/dist-loader/components/field/field.js +2 -0
- package/dist-loader/components/icon/icon.js +17 -0
- package/dist-loader/components/input/input.js +2 -0
- package/dist-loader/components/input-group/input-group-addon.js +98 -0
- package/dist-loader/components/input-group/input-group-button.js +52 -0
- package/dist-loader/components/input-group/input-group-input.js +132 -0
- package/dist-loader/components/input-group/input-group-text.js +37 -0
- package/dist-loader/components/input-group/input-group-textarea.js +110 -0
- package/dist-loader/components/input-group/input-group.js +234 -0
- package/dist-loader/components/lightswitch/lightswitch.js +2 -0
- package/dist-loader/components/popover/popover.js +372 -0
- package/dist-loader/components/popup/popup.js +2 -0
- package/dist-loader/components/radio-group/radio-group.js +247 -0
- package/dist-loader/components/radio-group/radio.js +229 -0
- package/dist-loader/components/scroll-area/scroll-area.js +398 -0
- package/dist-loader/components/select/option-group.js +69 -0
- package/dist-loader/components/select/option.js +2 -0
- package/dist-loader/components/select/select.js +2 -0
- package/dist-loader/components/separator/separator.js +86 -0
- package/dist-loader/components/spinner/spinner.js +2 -0
- package/dist-loader/components/status/status.js +89 -0
- package/dist-loader/components/tabs/tab-heading.js +47 -0
- package/dist-loader/components/tabs/tab-panel.js +83 -0
- package/dist-loader/components/tabs/tab.js +256 -0
- package/dist-loader/components/tabs/tabs.js +619 -0
- package/dist-loader/components/textarea/textarea.js +2 -0
- package/dist-loader/components/time-picker/time-picker.js +2 -0
- package/dist-loader/components/tiptap/tiptap-content.js +72 -0
- package/dist-loader/components/tiptap/tiptap-editor.js +1078 -0
- package/dist-loader/components/tiptap/tiptap-input.js +244 -0
- package/dist-loader/components/toggle/toggle.js +253 -0
- package/dist-loader/components/toggle-group/toggle-group.js +172 -0
- package/dist-loader/components/tooltip/tooltip.js +2 -0
- package/dist-loader/plugin-kit.css +583 -0
- package/dist-loader/plugin-kit.d.ts +9 -0
- package/dist-loader/plugin-kit.d.ts.map +1 -0
- package/dist-loader/plugin-kit.loader.d.ts +2 -0
- package/dist-loader/plugin-kit.loader.d.ts.map +1 -0
- package/dist-loader/plugin-kit.loader.js +527 -0
- package/dist-loader/styles/overlay-content.css +64 -0
- package/dist-loader/tokens.css +408 -0
- package/dist-loader/utilities/autoloader.d.ts +8 -0
- package/dist-loader/utilities/autoloader.d.ts.map +1 -0
- package/dist-loader/utilities/base-path.d.ts +3 -0
- package/dist-loader/utilities/base-path.d.ts.map +1 -0
- package/dist-loader/utilities/defined.d.ts +17 -0
- package/dist-loader/utilities/defined.d.ts.map +1 -0
- package/dist-loader/utilities/fouce-strategy.d.ts +43 -0
- package/dist-loader/utilities/fouce-strategy.d.ts.map +1 -0
- package/dist-loader/utilities/fouce.css +108 -0
- package/package.json +961 -0
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
import { t as __decorate } from "./decorate-W02hmVTt.js";
|
|
2
|
+
import { n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-DYmBR28a.js";
|
|
3
|
+
import { n as syncStandaloneControlAria } from "./control-aria-B2QMq4ji.js";
|
|
4
|
+
import { t as PkFormAssociatedElement } from "./pk-form-associated-element-DmZKgNPL.js";
|
|
5
|
+
import { t as MirrorValidator } from "./mirror-validator-DCjNYrrx.js";
|
|
6
|
+
import { t as RequiredValidator } from "./required-validator-CEg8dvjS.js";
|
|
7
|
+
import { t as HasSlotController } from "./has-slot-8BvCt_qo.js";
|
|
8
|
+
import { t as formControlStyles } from "./form-control.styles-BQdimE5o.js";
|
|
9
|
+
import { i as uniqueId } from "./focus-aa5dlv8k.js";
|
|
10
|
+
import { t as PkClearEvent } from "./pk-clear--mPWZP7H.js";
|
|
11
|
+
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-CoU9dnNq.js";
|
|
12
|
+
import { css, html, nothing } from "lit";
|
|
13
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
14
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
15
|
+
import { live } from "lit/directives/live.js";
|
|
16
|
+
//#region src/internal/implicit-form-submit.ts
|
|
17
|
+
/**
|
|
18
|
+
* Restore HTML “implicit submission” for FACE controls with a shadow native input.
|
|
19
|
+
*
|
|
20
|
+
* Native light-DOM text inputs inside a <form> submit on Enter via the default
|
|
21
|
+
* submitter. Shadow inputs do not — the host must request submit on the schema
|
|
22
|
+
* form (never Craft’s outer #main when nested under the CP form).
|
|
23
|
+
*
|
|
24
|
+
* Prefer `pk-implicit-submit` (handled by SchemaFormEngine → handleSubmit) over
|
|
25
|
+
* `HTMLFormElement.requestSubmit()`, which will navigate if the wrong form is
|
|
26
|
+
* targeted or if preventDefault never runs.
|
|
27
|
+
*
|
|
28
|
+
* Skip types that never implicit-submit, and modified Enter.
|
|
29
|
+
*/
|
|
30
|
+
var NON_IMPLICIT_SUBMIT_INPUT_TYPES = new Set([
|
|
31
|
+
"button",
|
|
32
|
+
"submit",
|
|
33
|
+
"reset",
|
|
34
|
+
"checkbox",
|
|
35
|
+
"radio",
|
|
36
|
+
"file",
|
|
37
|
+
"image",
|
|
38
|
+
"hidden"
|
|
39
|
+
]);
|
|
40
|
+
/** Dispatched on the schema <form>; SchemaFormEngine calls handleSubmit(). */
|
|
41
|
+
var PK_IMPLICIT_SUBMIT_EVENT = "pk-implicit-submit";
|
|
42
|
+
var shouldRequestFormSubmitOnEnter = (event, inputType) => {
|
|
43
|
+
if (event.key !== "Enter" || event.defaultPrevented || event.isComposing) return false;
|
|
44
|
+
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return false;
|
|
45
|
+
const type = (inputType || "text").toLowerCase();
|
|
46
|
+
return !NON_IMPLICIT_SUBMIT_INPUT_TYPES.has(type);
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Resolve the form that should receive implicit submit.
|
|
50
|
+
* Inside pk-dialog, prefer the SchemaFormEngine form in the dialog — not Craft’s
|
|
51
|
+
* outer #main form (nested forms make FACE form owner ambiguous / wrong).
|
|
52
|
+
*/
|
|
53
|
+
var resolveSubmitForm = (host) => {
|
|
54
|
+
const dialog = host.closest?.("pk-dialog");
|
|
55
|
+
if (dialog) {
|
|
56
|
+
const dialogForm = dialog.querySelector("form");
|
|
57
|
+
if (dialogForm) return dialogForm;
|
|
58
|
+
}
|
|
59
|
+
const associated = host.form;
|
|
60
|
+
if (associated && associated.id === "main") return host.closest?.("form") !== associated ? host.closest("form") : null;
|
|
61
|
+
return associated;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Call from a shadow `<input>` keydown handler on a form-associated host.
|
|
65
|
+
* Returns true when submit was requested.
|
|
66
|
+
*/
|
|
67
|
+
var requestAssociatedFormSubmitOnEnter = (host, event, inputType) => {
|
|
68
|
+
if (host.disabled || host.readonly) return false;
|
|
69
|
+
if (!shouldRequestFormSubmitOnEnter(event, inputType)) return false;
|
|
70
|
+
const form = resolveSubmitForm(host);
|
|
71
|
+
if (!form || form.id === "main") return false;
|
|
72
|
+
event.preventDefault();
|
|
73
|
+
event.stopPropagation();
|
|
74
|
+
form.dispatchEvent(new CustomEvent(PK_IMPLICIT_SUBMIT_EVENT, {
|
|
75
|
+
bubbles: false,
|
|
76
|
+
cancelable: true
|
|
77
|
+
}));
|
|
78
|
+
return true;
|
|
79
|
+
};
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/components/input/pk-input.styles.ts
|
|
82
|
+
var pkInputStyles = css`
|
|
83
|
+
@layer pk-component {
|
|
84
|
+
:host {
|
|
85
|
+
display: block;
|
|
86
|
+
width: 100%;
|
|
87
|
+
font-family: var(--pk-font-family);
|
|
88
|
+
font-size: var(--pk-font-size-base);
|
|
89
|
+
line-height: var(--pk-line-height);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host([data-pk-group-orientation]) {
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
width: auto;
|
|
96
|
+
flex: 0 1 auto;
|
|
97
|
+
align-self: stretch;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host([data-pk-group-orientation]) .form-control {
|
|
101
|
+
gap: 0;
|
|
102
|
+
height: 100%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:host([data-pk-group-orientation]) .form-control__input {
|
|
106
|
+
min-height: var(--pk-btn-height-default);
|
|
107
|
+
height: 100%;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:host([data-pk-group-orientation]) .form-control__start,
|
|
111
|
+
:host([data-pk-group-orientation]) .form-control__end {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host([data-pk-group-orientation]) .form-control__input {
|
|
116
|
+
width: 100%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host([data-pk-group-orientation]) .input {
|
|
120
|
+
width: 100%;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:host([data-pk-group-orientation]) .input {
|
|
124
|
+
min-height: var(--pk-btn-height-default);
|
|
125
|
+
height: 100%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:host([data-pk-group-orientation='vertical']) {
|
|
129
|
+
width: 100%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:host([data-pk-group-orientation='horizontal'][data-pk-group-join]:not([data-pk-group-divider])) {
|
|
133
|
+
margin-inline-start: var(--pk-bg-horizontal-indent-outlined, 0);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-join]:not([data-pk-group-divider])) {
|
|
137
|
+
margin-block-start: var(--pk-bg-vertical-indent-outlined, 0);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
:host([data-pk-group-orientation='horizontal'][data-pk-group-divider][data-pk-group-join]) {
|
|
141
|
+
margin-inline-start: var(--pk-bg-horizontal-indent-outlined, 0);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-divider][data-pk-group-join]) {
|
|
145
|
+
margin-block-start: var(--pk-bg-vertical-indent-outlined, 0);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host([data-pk-group-orientation='horizontal'][data-pk-group-divider]) .form-control__input {
|
|
149
|
+
border-left-width: 1px;
|
|
150
|
+
border-left-style: solid;
|
|
151
|
+
border-left-color: var(--pk-btn-group-divider-color-outline, var(--pk-input-border-color));
|
|
152
|
+
box-shadow: none;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-divider]) .form-control__input {
|
|
156
|
+
border-top-width: 1px;
|
|
157
|
+
border-top-style: solid;
|
|
158
|
+
border-top-color: var(--pk-btn-group-divider-color-outline, var(--pk-input-border-color));
|
|
159
|
+
box-shadow: none;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:host([data-pk-group-divider]) .form-control__input:focus-within,
|
|
163
|
+
:host([data-pk-group-divider][data-state='focus-visible']) .form-control__input {
|
|
164
|
+
box-shadow: var(--pk-input-focus-shadow);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-divider]) .form-control__input:focus-within,
|
|
168
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-divider][data-state='focus-visible']) .form-control__input {
|
|
169
|
+
box-shadow: var(--pk-input-focus-shadow);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Chrome lives on the flex shell (part=base) so slot=start/end adornments sit
|
|
173
|
+
* inside the border — same visual contract as pk-input-group / v1 InputGroup.
|
|
174
|
+
* Height is content-sized (v1): padding-block + --pk-input-control-line-height + border.
|
|
175
|
+
*/
|
|
176
|
+
.form-control__input {
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: 6px;
|
|
179
|
+
padding-inline: 8px;
|
|
180
|
+
border: var(--pk-input-border);
|
|
181
|
+
border-radius: var(--pk-input-border-radius, var(--pk-radius-sm));
|
|
182
|
+
background: var(--pk-input-bg);
|
|
183
|
+
background-clip: padding-box;
|
|
184
|
+
box-sizing: border-box;
|
|
185
|
+
transition: border-color 0.12s ease, box-shadow 0.12s ease;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.form-control__start,
|
|
189
|
+
.form-control__end {
|
|
190
|
+
margin: 0;
|
|
191
|
+
color: var(--pk-color-gray-400);
|
|
192
|
+
line-height: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.form-control__start ::slotted(*),
|
|
196
|
+
.form-control__end ::slotted(*) {
|
|
197
|
+
display: block;
|
|
198
|
+
max-width: 1.25rem;
|
|
199
|
+
max-height: 1.25rem;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.input {
|
|
203
|
+
display: block;
|
|
204
|
+
width: 100%;
|
|
205
|
+
margin: 0;
|
|
206
|
+
/* v1 Input default: py-1.5 + text-sm (14px / 1.25rem lh) → 34px with border. */
|
|
207
|
+
padding-block: 6px;
|
|
208
|
+
padding-inline: 0;
|
|
209
|
+
border: 0;
|
|
210
|
+
border-radius: 0;
|
|
211
|
+
background: transparent;
|
|
212
|
+
/* Craft CP body / field value text. */
|
|
213
|
+
color: var(--pk-color-gray-700);
|
|
214
|
+
font: inherit;
|
|
215
|
+
line-height: var(--pk-input-control-line-height, 1.25rem);
|
|
216
|
+
appearance: none;
|
|
217
|
+
box-sizing: border-box;
|
|
218
|
+
outline: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.form-control__input .input {
|
|
222
|
+
flex: 1 1 auto;
|
|
223
|
+
min-width: 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.input::placeholder {
|
|
227
|
+
color: var(--pk-input-placeholder-color, var(--pk-color-gray-400));
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/*
|
|
231
|
+
* Craft text:focus-visible only sets box-shadow (--focus-ring); resting border stays.
|
|
232
|
+
* Do not also set border-color — --pk-input-focus-shadow already includes 0 0 0 1px,
|
|
233
|
+
* so border-color + that ring reads as a double focus treatment.
|
|
234
|
+
*/
|
|
235
|
+
:host(:not([invalid]):not(:state(user-invalid))) .form-control__input:focus-within,
|
|
236
|
+
:host([data-state='focus-visible']:not([invalid]):not(:state(user-invalid))) .form-control__input {
|
|
237
|
+
box-shadow: var(--pk-input-focus-shadow);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.form-control__input:has(.input:disabled) {
|
|
241
|
+
cursor: not-allowed;
|
|
242
|
+
opacity: 0.5;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.input:disabled {
|
|
246
|
+
cursor: not-allowed;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
:host([invalid]) .form-control__input,
|
|
250
|
+
:host(:state(user-invalid)) .form-control__input {
|
|
251
|
+
border-color: var(--pk-color-rose-600);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* Invalid + focus: rose ring (same token as select/combobox), not sky over rose border. */
|
|
255
|
+
:host([invalid]) .form-control__input:focus-within,
|
|
256
|
+
:host([invalid][data-state='focus-visible']) .form-control__input,
|
|
257
|
+
:host(:state(user-invalid)) .form-control__input:focus-within {
|
|
258
|
+
box-shadow: var(--pk-input-invalid-focus-shadow);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
:host([size='xs']) .form-control__input {
|
|
262
|
+
gap: 4px;
|
|
263
|
+
padding-inline: 6px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
:host([size='xs']) .input {
|
|
267
|
+
padding-block: 4px;
|
|
268
|
+
font-size: 11px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
:host([size='sm']) .form-control__input {
|
|
272
|
+
gap: 4px;
|
|
273
|
+
padding-inline: 8px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
:host([size='sm']) .input {
|
|
277
|
+
padding-block: 4px;
|
|
278
|
+
font-size: 12px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
:host([size='lg']) .form-control__input {
|
|
282
|
+
gap: 8px;
|
|
283
|
+
padding-inline: 12px;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
:host([size='lg']) .input {
|
|
287
|
+
padding-block: 8px;
|
|
288
|
+
font-size: var(--pk-font-size-base);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
:host([size='xl']) .form-control__input {
|
|
292
|
+
gap: 8px;
|
|
293
|
+
padding-inline: 16px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
:host([size='xl']) .input {
|
|
297
|
+
padding-block: 10px;
|
|
298
|
+
font-size: 16px;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/*
|
|
302
|
+
* Mono face + 0.9× optical size + line-height 1.5. The taller line-height
|
|
303
|
+
* offsets the smaller face so padding + content height stays aligned with
|
|
304
|
+
* stock inputs (1.25rem ≈ 1.5 × 12.6px). Scale the size's face, not
|
|
305
|
+
* the parent em, so xs/sm/xl mono stay proportional.
|
|
306
|
+
*/
|
|
307
|
+
:host([mono]) .input {
|
|
308
|
+
font-family: var(--pk-input-mono-font-family);
|
|
309
|
+
font-size: calc(var(--pk-font-size-base) * 0.9);
|
|
310
|
+
line-height: var(--pk-input-mono-line-height, 1.5);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
:host([mono][size='xs']) .input {
|
|
314
|
+
font-size: calc(11px * 0.9);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
:host([mono][size='sm']) .input {
|
|
318
|
+
font-size: calc(12px * 0.9);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
:host([mono][size='lg']) .input {
|
|
322
|
+
font-size: calc(var(--pk-font-size-base) * 0.9);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
:host([mono][size='xl']) .input {
|
|
326
|
+
font-size: calc(16px * 0.9);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* Editable-table cells (v1): flush into the row — no chrome border/radius.
|
|
330
|
+
* Prefer reflected fit-cell (Lit property); data-editable-table-input is a legacy alias.
|
|
331
|
+
* Fill host → form-control → input so the control spans the full td.
|
|
332
|
+
*/
|
|
333
|
+
:host([fit-cell]),
|
|
334
|
+
:host([data-editable-table-input]) {
|
|
335
|
+
display: block;
|
|
336
|
+
height: 100%;
|
|
337
|
+
min-height: 100%;
|
|
338
|
+
box-sizing: border-box;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
:host([fit-cell]) .form-control,
|
|
342
|
+
:host([data-editable-table-input]) .form-control {
|
|
343
|
+
height: 100%;
|
|
344
|
+
min-height: 100%;
|
|
345
|
+
gap: 0;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
:host([fit-cell]) .form-control__input,
|
|
349
|
+
:host([data-editable-table-input]) .form-control__input {
|
|
350
|
+
height: 100%;
|
|
351
|
+
min-height: 100%;
|
|
352
|
+
flex: 1 1 auto;
|
|
353
|
+
padding-inline: 0;
|
|
354
|
+
border: none;
|
|
355
|
+
border-radius: 0;
|
|
356
|
+
background: transparent;
|
|
357
|
+
box-shadow: none;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
:host([fit-cell]) .input,
|
|
361
|
+
:host([data-editable-table-input]) .input {
|
|
362
|
+
height: 100%;
|
|
363
|
+
min-height: 100%;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
:host([fit-cell]:not([invalid]):not(:state(user-invalid))) .form-control__input:focus-within,
|
|
367
|
+
:host([fit-cell][data-state='focus-visible']:not([invalid]):not(:state(user-invalid))) .form-control__input,
|
|
368
|
+
:host([data-editable-table-input]:not([invalid]):not(:state(user-invalid))) .form-control__input:focus-within,
|
|
369
|
+
:host([data-editable-table-input][data-state='focus-visible']:not([invalid]):not(:state(user-invalid))) .form-control__input {
|
|
370
|
+
border: none;
|
|
371
|
+
box-shadow: inset 0 0 0 1px var(--pk-color-gray-200);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
:host([fit-cell][invalid]) .form-control__input,
|
|
375
|
+
:host([fit-cell]:state(user-invalid)) .form-control__input,
|
|
376
|
+
:host([data-editable-table-input][invalid]) .form-control__input,
|
|
377
|
+
:host([data-editable-table-input]:state(user-invalid)) .form-control__input {
|
|
378
|
+
border: none;
|
|
379
|
+
box-shadow: inset 0 0 0 1px var(--pk-color-rose-600);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
:host([fit-cell][invalid]) .form-control__input:focus-within,
|
|
383
|
+
:host([fit-cell][invalid][data-state='focus-visible']) .form-control__input,
|
|
384
|
+
:host([fit-cell]:state(user-invalid)) .form-control__input:focus-within,
|
|
385
|
+
:host([data-editable-table-input][invalid]) .form-control__input:focus-within,
|
|
386
|
+
:host([data-editable-table-input][invalid][data-state='focus-visible']) .form-control__input,
|
|
387
|
+
:host([data-editable-table-input]:state(user-invalid)) .form-control__input:focus-within {
|
|
388
|
+
border: none;
|
|
389
|
+
box-shadow: inset 0 0 0 1px var(--pk-color-rose-600);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
:host([data-pk-group-orientation='horizontal'][data-pk-group-join]:not([data-pk-group-divider])) .form-control__input {
|
|
393
|
+
border-left-width: 0;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-join]:not([data-pk-group-divider])) .form-control__input {
|
|
397
|
+
border-top-width: 0;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
:host([data-pk-group-orientation='horizontal'][data-pk-group-divider]) .form-control__input {
|
|
401
|
+
border-left-width: 1px;
|
|
402
|
+
border-left-style: solid;
|
|
403
|
+
border-left-color: var(--pk-btn-group-divider-color-outline, var(--pk-input-border-color));
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-divider]) .form-control__input {
|
|
407
|
+
border-top-width: 1px;
|
|
408
|
+
border-top-style: solid;
|
|
409
|
+
border-top-color: var(--pk-btn-group-divider-color-outline, var(--pk-input-border-color));
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
:host([data-pk-group-orientation='horizontal'][data-pk-group-internal-trail]) .form-control__input {
|
|
413
|
+
border-right-width: 0;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
:host([data-pk-group-orientation='vertical'][data-pk-group-internal-trail]) .form-control__input {
|
|
417
|
+
border-bottom-width: 0;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.clear-button {
|
|
421
|
+
position: absolute;
|
|
422
|
+
inset-inline-end: 6px;
|
|
423
|
+
inset-block-start: 50%;
|
|
424
|
+
translate: 0 -50%;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.form-control__input:has(.clear-button) .input {
|
|
428
|
+
padding-inline-end: 20px;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
`;
|
|
432
|
+
//#endregion
|
|
433
|
+
//#region src/components/input/pk-input.ts
|
|
434
|
+
var PkInput = class PkInput extends PkFormAssociatedElement {
|
|
435
|
+
constructor(..._args) {
|
|
436
|
+
super(..._args);
|
|
437
|
+
this.assumeInteractionOn = ["blur", "input"];
|
|
438
|
+
this.hasSlotController = new HasSlotController(this, "instructions", "hint", "label", "start", "end");
|
|
439
|
+
this.inputId = uniqueId("pk-input");
|
|
440
|
+
this.type = "text";
|
|
441
|
+
this._value = null;
|
|
442
|
+
this.defaultValue = null;
|
|
443
|
+
this.size = "default";
|
|
444
|
+
this.label = "";
|
|
445
|
+
this.instructions = "";
|
|
446
|
+
this.withClear = false;
|
|
447
|
+
this.placeholder = "";
|
|
448
|
+
this.readonly = false;
|
|
449
|
+
this.invalid = false;
|
|
450
|
+
this.fitCell = false;
|
|
451
|
+
this.mono = false;
|
|
452
|
+
this.autofocus = false;
|
|
453
|
+
this.withLabel = false;
|
|
454
|
+
this.withInstructions = false;
|
|
455
|
+
}
|
|
456
|
+
static {
|
|
457
|
+
this.styles = [
|
|
458
|
+
formControlStyles,
|
|
459
|
+
buttonGroupCornerRoleStyles(),
|
|
460
|
+
buttonGroupCornerRadiusStyles(".input", "var(--pk-input-border-radius, var(--pk-radius-sm))"),
|
|
461
|
+
buttonGroupBorderJoinStyles(".input"),
|
|
462
|
+
pkInputStyles
|
|
463
|
+
];
|
|
464
|
+
}
|
|
465
|
+
static get validators() {
|
|
466
|
+
return [
|
|
467
|
+
...super.validators,
|
|
468
|
+
MirrorValidator(),
|
|
469
|
+
RequiredValidator()
|
|
470
|
+
];
|
|
471
|
+
}
|
|
472
|
+
get value() {
|
|
473
|
+
if (this.valueHasChanged) return this._value ?? "";
|
|
474
|
+
return this._value ?? this.defaultValue ?? "";
|
|
475
|
+
}
|
|
476
|
+
set value(val) {
|
|
477
|
+
const next = val ?? "";
|
|
478
|
+
if (this._value === next) return;
|
|
479
|
+
this.valueHasChanged = true;
|
|
480
|
+
this._value = next;
|
|
481
|
+
}
|
|
482
|
+
connectedCallback() {
|
|
483
|
+
this.instructions = readLegacyInstructions(this, this.instructions);
|
|
484
|
+
if (this.hasAttribute("with-hint")) this.withInstructions = true;
|
|
485
|
+
super.connectedCallback();
|
|
486
|
+
}
|
|
487
|
+
syncFormValue() {
|
|
488
|
+
this.setValue(this.value || "");
|
|
489
|
+
}
|
|
490
|
+
resetToDefaultValue() {
|
|
491
|
+
this.valueHasChanged = false;
|
|
492
|
+
this._value = null;
|
|
493
|
+
}
|
|
494
|
+
restoreFormState(state) {
|
|
495
|
+
if (typeof state === "string") this.value = state;
|
|
496
|
+
}
|
|
497
|
+
formResetCallback() {
|
|
498
|
+
this.valueHasChanged = false;
|
|
499
|
+
this._value = null;
|
|
500
|
+
if (this.input) this.input.value = this.defaultValue ?? "";
|
|
501
|
+
super.formResetCallback();
|
|
502
|
+
}
|
|
503
|
+
updated(changed) {
|
|
504
|
+
if (changed.has("value") || changed.has("defaultValue")) this.setState("blank", !this.value);
|
|
505
|
+
super.updated(changed);
|
|
506
|
+
}
|
|
507
|
+
syncStandaloneAria() {
|
|
508
|
+
if (!this.input) return;
|
|
509
|
+
const hasLabel = Boolean(this.label) || this.hasSlotController.test("label", this.withLabel);
|
|
510
|
+
const hasInstructions = hasInstructionContent((name, flag) => this.hasSlotController.test(name, flag), this.instructions, this.withInstructions);
|
|
511
|
+
syncStandaloneControlAria({
|
|
512
|
+
control: this.input,
|
|
513
|
+
labelId: `${this.inputId}-label`,
|
|
514
|
+
instructionsId: `${this.inputId}-instructions`,
|
|
515
|
+
hasLabel,
|
|
516
|
+
hasInstructions,
|
|
517
|
+
required: this.required,
|
|
518
|
+
invalid: this.invalid || !this.internals.validity.valid
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
hasLabelContent() {
|
|
522
|
+
return Boolean(this.label) || this.hasSlotController.test("label", this.withLabel);
|
|
523
|
+
}
|
|
524
|
+
hasInstructionsContent() {
|
|
525
|
+
return hasInstructionContent((name, flag) => this.hasSlotController.test(name, flag), this.instructions, this.withInstructions);
|
|
526
|
+
}
|
|
527
|
+
focus(options) {
|
|
528
|
+
this.input?.focus(options);
|
|
529
|
+
}
|
|
530
|
+
blur() {
|
|
531
|
+
this.input?.blur();
|
|
532
|
+
}
|
|
533
|
+
select() {
|
|
534
|
+
this.input?.select();
|
|
535
|
+
}
|
|
536
|
+
handleInput() {
|
|
537
|
+
this.value = this.input.value;
|
|
538
|
+
this.dispatchEvent(new Event("input", {
|
|
539
|
+
bubbles: true,
|
|
540
|
+
composed: true
|
|
541
|
+
}));
|
|
542
|
+
}
|
|
543
|
+
handleChange(event) {
|
|
544
|
+
this.value = this.input.value;
|
|
545
|
+
event.stopPropagation();
|
|
546
|
+
this.dispatchEvent(new Event("change", {
|
|
547
|
+
bubbles: true,
|
|
548
|
+
composed: true
|
|
549
|
+
}));
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* Shadow native inputs do not participate in HTML implicit form submission.
|
|
553
|
+
* Bridge Enter → associated form.requestSubmit() (SchemaFormEngine hidden submitter).
|
|
554
|
+
*/
|
|
555
|
+
handleKeyDown(event) {
|
|
556
|
+
requestAssociatedFormSubmitOnEnter(this, event, this.type);
|
|
557
|
+
}
|
|
558
|
+
handleClearClick(event) {
|
|
559
|
+
event.preventDefault();
|
|
560
|
+
if (this.value === "") return;
|
|
561
|
+
this.value = "";
|
|
562
|
+
this.dispatchEvent(new PkClearEvent());
|
|
563
|
+
this.dispatchEvent(new Event("input", {
|
|
564
|
+
bubbles: true,
|
|
565
|
+
composed: true
|
|
566
|
+
}));
|
|
567
|
+
this.dispatchEvent(new Event("change", {
|
|
568
|
+
bubbles: true,
|
|
569
|
+
composed: true
|
|
570
|
+
}));
|
|
571
|
+
this.input.focus();
|
|
572
|
+
}
|
|
573
|
+
render() {
|
|
574
|
+
const hasLabel = this.hasLabelContent();
|
|
575
|
+
const hasInstructions = this.hasInstructionsContent();
|
|
576
|
+
const showClear = this.withClear && !this.disabled && !this.readonly && this.value.length > 0;
|
|
577
|
+
const hasStart = this.hasSlotController.test("start");
|
|
578
|
+
const hasEnd = this.hasSlotController.test("end");
|
|
579
|
+
return html`
|
|
580
|
+
<div part="form-control" class="form-control">
|
|
581
|
+
${hasLabel || hasInstructions ? html`
|
|
582
|
+
<div part="header" class="form-control__header">
|
|
583
|
+
${hasLabel ? html`
|
|
584
|
+
<label
|
|
585
|
+
part="label"
|
|
586
|
+
class="form-control__label"
|
|
587
|
+
id=${`${this.inputId}-label`}
|
|
588
|
+
for=${`${this.inputId}-control`}
|
|
589
|
+
>
|
|
590
|
+
<slot name="label">${this.label}</slot>
|
|
591
|
+
</label>
|
|
592
|
+
` : nothing}
|
|
593
|
+
|
|
594
|
+
${hasInstructions ? html`
|
|
595
|
+
<p
|
|
596
|
+
part="instructions"
|
|
597
|
+
class="form-control__instructions"
|
|
598
|
+
id=${`${this.inputId}-instructions`}
|
|
599
|
+
>
|
|
600
|
+
<slot name="instructions">${this.instructions}</slot>
|
|
601
|
+
<slot name="hint"></slot>
|
|
602
|
+
</p>
|
|
603
|
+
` : nothing}
|
|
604
|
+
</div>
|
|
605
|
+
` : nothing}
|
|
606
|
+
|
|
607
|
+
<div part="base" class="form-control__input">
|
|
608
|
+
${hasStart ? html`
|
|
609
|
+
<span part="start" class="form-control__start">
|
|
610
|
+
<slot name="start"></slot>
|
|
611
|
+
</span>
|
|
612
|
+
` : html`<slot name="start" hidden></slot>`}
|
|
613
|
+
|
|
614
|
+
<input
|
|
615
|
+
part="input"
|
|
616
|
+
class="input"
|
|
617
|
+
id=${hasLabel ? `${this.inputId}-control` : nothing}
|
|
618
|
+
type=${this.type}
|
|
619
|
+
.value=${live(this.value)}
|
|
620
|
+
placeholder=${this.placeholder || nothing}
|
|
621
|
+
pattern=${ifDefined(this.pattern)}
|
|
622
|
+
minlength=${ifDefined(this.minlength)}
|
|
623
|
+
maxlength=${ifDefined(this.maxlength)}
|
|
624
|
+
min=${ifDefined(this.min)}
|
|
625
|
+
max=${ifDefined(this.max)}
|
|
626
|
+
step=${ifDefined(this.step)}
|
|
627
|
+
autocomplete=${ifDefined(this.autocomplete)}
|
|
628
|
+
?disabled=${this.disabled}
|
|
629
|
+
?readonly=${this.readonly}
|
|
630
|
+
?required=${this.required}
|
|
631
|
+
?autofocus=${this.autofocus}
|
|
632
|
+
@input=${this.handleInput}
|
|
633
|
+
@change=${this.handleChange}
|
|
634
|
+
@keydown=${this.handleKeyDown}
|
|
635
|
+
@focus=${() => this.dispatchEvent(new Event("focus", {
|
|
636
|
+
bubbles: true,
|
|
637
|
+
composed: true
|
|
638
|
+
}))}
|
|
639
|
+
@blur=${() => this.dispatchEvent(new Event("blur", {
|
|
640
|
+
bubbles: true,
|
|
641
|
+
composed: true
|
|
642
|
+
}))}
|
|
643
|
+
/>
|
|
644
|
+
|
|
645
|
+
${showClear ? html`
|
|
646
|
+
<button
|
|
647
|
+
part="clear-button"
|
|
648
|
+
class="icon-button clear-button"
|
|
649
|
+
type="button"
|
|
650
|
+
tabindex="-1"
|
|
651
|
+
aria-label="Clear"
|
|
652
|
+
@click=${this.handleClearClick}
|
|
653
|
+
>
|
|
654
|
+
<slot name="clear-icon">×</slot>
|
|
655
|
+
</button>
|
|
656
|
+
` : nothing}
|
|
657
|
+
|
|
658
|
+
${hasEnd ? html`
|
|
659
|
+
<span part="end" class="form-control__end">
|
|
660
|
+
<slot name="end"></slot>
|
|
661
|
+
</span>
|
|
662
|
+
` : html`<slot name="end" hidden></slot>`}
|
|
663
|
+
</div>
|
|
664
|
+
</div>
|
|
665
|
+
`;
|
|
666
|
+
}
|
|
667
|
+
};
|
|
668
|
+
__decorate([query("input")], PkInput.prototype, "input", void 0);
|
|
669
|
+
__decorate([property({ reflect: true })], PkInput.prototype, "type", void 0);
|
|
670
|
+
__decorate([state()], PkInput.prototype, "value", null);
|
|
671
|
+
__decorate([property({
|
|
672
|
+
attribute: "value",
|
|
673
|
+
reflect: true
|
|
674
|
+
})], PkInput.prototype, "defaultValue", void 0);
|
|
675
|
+
__decorate([property({ reflect: true })], PkInput.prototype, "size", void 0);
|
|
676
|
+
__decorate([property()], PkInput.prototype, "label", void 0);
|
|
677
|
+
__decorate([property()], PkInput.prototype, "instructions", void 0);
|
|
678
|
+
__decorate([property({
|
|
679
|
+
attribute: "with-clear",
|
|
680
|
+
type: Boolean
|
|
681
|
+
})], PkInput.prototype, "withClear", void 0);
|
|
682
|
+
__decorate([property()], PkInput.prototype, "placeholder", void 0);
|
|
683
|
+
__decorate([property({
|
|
684
|
+
type: Boolean,
|
|
685
|
+
reflect: true
|
|
686
|
+
})], PkInput.prototype, "readonly", void 0);
|
|
687
|
+
__decorate([property({
|
|
688
|
+
type: Boolean,
|
|
689
|
+
reflect: true
|
|
690
|
+
})], PkInput.prototype, "invalid", void 0);
|
|
691
|
+
__decorate([property({
|
|
692
|
+
type: Boolean,
|
|
693
|
+
reflect: true,
|
|
694
|
+
attribute: "fit-cell"
|
|
695
|
+
})], PkInput.prototype, "fitCell", void 0);
|
|
696
|
+
__decorate([property({
|
|
697
|
+
type: Boolean,
|
|
698
|
+
reflect: true
|
|
699
|
+
})], PkInput.prototype, "mono", void 0);
|
|
700
|
+
__decorate([property()], PkInput.prototype, "pattern", void 0);
|
|
701
|
+
__decorate([property({ type: Number })], PkInput.prototype, "minlength", void 0);
|
|
702
|
+
__decorate([property({ type: Number })], PkInput.prototype, "maxlength", void 0);
|
|
703
|
+
__decorate([property()], PkInput.prototype, "min", void 0);
|
|
704
|
+
__decorate([property()], PkInput.prototype, "max", void 0);
|
|
705
|
+
__decorate([property()], PkInput.prototype, "step", void 0);
|
|
706
|
+
__decorate([property()], PkInput.prototype, "autocomplete", void 0);
|
|
707
|
+
__decorate([property({
|
|
708
|
+
type: Boolean,
|
|
709
|
+
reflect: true
|
|
710
|
+
})], PkInput.prototype, "autofocus", void 0);
|
|
711
|
+
__decorate([property({
|
|
712
|
+
attribute: "with-label",
|
|
713
|
+
type: Boolean
|
|
714
|
+
})], PkInput.prototype, "withLabel", void 0);
|
|
715
|
+
__decorate([property({
|
|
716
|
+
attribute: "with-instructions",
|
|
717
|
+
type: Boolean
|
|
718
|
+
})], PkInput.prototype, "withInstructions", void 0);
|
|
719
|
+
PkInput = __decorate([customElement("pk-input")], PkInput);
|
|
720
|
+
//#endregion
|
|
721
|
+
export { PkInput as t };
|
|
722
|
+
|
|
723
|
+
//# sourceMappingURL=pk-input-naIRPWGC.js.map
|