@verbb/plugin-kit-web 2.0.3 → 2.0.4
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 +13 -0
- package/dist/chunks/{autoloader-DzOTQqe6.js → autoloader-DXK9MVuw.js} +2 -2
- package/dist/chunks/{autoloader-DzOTQqe6.js.map → autoloader-DXK9MVuw.js.map} +1 -1
- package/dist/chunks/{component-registry-CpZiIDh4.js → component-registry-BOlxFlou.js} +1 -1
- package/dist/chunks/{component-registry-CpZiIDh4.js.map → component-registry-BOlxFlou.js.map} +1 -1
- package/dist/chunks/{pk-button-Cilu5WAT.js → pk-button-QpDDlRbG.js} +8 -3
- package/dist/chunks/pk-button-QpDDlRbG.js.map +1 -0
- package/dist/chunks/{pk-checkbox-select-ZEJ6WIQn.js → pk-checkbox-select-9lqd9Rwz.js} +2 -1
- package/dist/chunks/{pk-checkbox-select-ZEJ6WIQn.js.map → pk-checkbox-select-9lqd9Rwz.js.map} +1 -1
- package/dist/chunks/{pk-combobox-Dd1ik0Ko.js → pk-combobox-DtkXaX67.js} +3 -2
- package/dist/chunks/pk-combobox-DtkXaX67.js.map +1 -0
- package/dist/chunks/{pk-copy-button-DPh5TOF9.js → pk-copy-button-C17MLLYS.js} +2 -1
- package/dist/chunks/{pk-copy-button-DPh5TOF9.js.map → pk-copy-button-C17MLLYS.js.map} +1 -1
- package/dist/chunks/{pk-date-picker-CkwU4DzD.js → pk-date-picker-DIoQlPI9.js} +3 -2
- package/dist/chunks/pk-date-picker-DIoQlPI9.js.map +1 -0
- package/dist/chunks/{pk-dropdown-item-BFyjtsL5.js → pk-dropdown-item-P3LLojCI.js} +16 -1
- package/dist/chunks/pk-dropdown-item-P3LLojCI.js.map +1 -0
- package/dist/chunks/{pk-dropdown-label-DfACId-K.js → pk-dropdown-label-ibVrU6-U.js} +10 -4
- package/dist/chunks/pk-dropdown-label-ibVrU6-U.js.map +1 -0
- package/dist/chunks/{pk-dropdown-menu-DWlxkDIs.js → pk-dropdown-menu-CsX95MCP.js} +2 -2
- package/dist/chunks/pk-dropdown-menu-CsX95MCP.js.map +1 -0
- package/dist/chunks/{pk-editable-table-pBkD6izs.js → pk-editable-table-wtsSKfzS.js} +14 -1
- package/dist/chunks/{pk-editable-table-pBkD6izs.js.map → pk-editable-table-wtsSKfzS.js.map} +1 -1
- package/dist/chunks/{pk-option-C3Zqmu3z.js → pk-option-C-cR-jOv.js} +11 -3
- package/dist/chunks/pk-option-C-cR-jOv.js.map +1 -0
- package/dist/chunks/{pk-popover-XZZdJ4WI.js → pk-popover-CVvwXMld.js} +2 -2
- package/dist/chunks/pk-popover-CVvwXMld.js.map +1 -0
- package/dist/chunks/{pk-select-B17rV6BR.js → pk-select-odSNU1tN.js} +3 -2
- package/dist/chunks/pk-select-odSNU1tN.js.map +1 -0
- package/dist/chunks/{pk-tab-CzV7pOdp.js → pk-tab-BdoPiYfT.js} +8 -2
- package/dist/chunks/pk-tab-BdoPiYfT.js.map +1 -0
- package/dist/chunks/{pk-time-picker-DbW_hMs2.js → pk-time-picker-DtX0LtID.js} +3 -2
- package/dist/chunks/{pk-time-picker-DbW_hMs2.js.map → pk-time-picker-DtX0LtID.js.map} +1 -1
- package/dist/chunks/{pk-tiptap-editor-umIuEaXh.js → pk-tiptap-editor-CdoutapZ.js} +10 -1
- package/dist/chunks/{pk-tiptap-editor-umIuEaXh.js.map → pk-tiptap-editor-CdoutapZ.js.map} +1 -1
- package/dist/chunks/pk-tooltip-fcUbVGli.js.map +1 -1
- package/dist/chunks/popup-pointer-DMnuZDQl.js +34 -0
- package/dist/chunks/popup-pointer-DMnuZDQl.js.map +1 -0
- package/dist/chunks/register-22v142C-.js +143 -0
- package/dist/chunks/register-22v142C-.js.map +1 -0
- package/dist/chunks/{register-components-DNw6EYNo.js → register-components-BG_6_v_T.js} +1 -1
- package/dist/chunks/{register-components-DNw6EYNo.js.map → register-components-BG_6_v_T.js.map} +1 -1
- package/dist/components/button/pk-button.js +1 -1
- package/dist/components/button/pk-button.styles.d.ts.map +1 -1
- package/dist/components/button.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/combobox/pk-combobox.d.ts.map +1 -1
- package/dist/components/combobox/pk-combobox.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/copy-button/pk-copy-button.js +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/date-picker/pk-date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/pk-date-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-size.styles.d.ts.map +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-item.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-item.styles.d.ts.map +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-label.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-label.styles.d.ts.map +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-menu.js +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/popover/pk-popover.d.ts.map +1 -1
- package/dist/components/popover/pk-popover.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/select/pk-option.js +1 -1
- package/dist/components/select/pk-option.styles.d.ts.map +1 -1
- package/dist/components/select/pk-select.d.ts.map +1 -1
- package/dist/components/select/pk-select.js +1 -1
- package/dist/components/select.js +2 -2
- package/dist/components/tabs/pk-tab.js +1 -1
- package/dist/components/tabs/pk-tab.styles.d.ts.map +1 -1
- package/dist/components/tabs.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-editor.js +1 -1
- package/dist/components/tiptap-editor.js +1 -1
- package/dist/components/tooltip/pk-tooltip.d.ts.map +1 -1
- package/dist/index.js +19 -19
- package/dist/plugin-kit.js +2 -2
- package/dist/register-components.js +1 -1
- package/dist/register.js +18 -79
- package/dist/utils/popup-pointer.d.ts +3 -0
- package/dist/utils/popup-pointer.d.ts.map +1 -1
- package/dist-loader/chunks/{pk-button-BlSs4e6V.js → pk-button-CK5FZiwP.js} +9 -5
- package/dist-loader/chunks/{pk-calendar-RXCDDhLI.js → pk-calendar-Ir5izQJH.js} +3 -3
- package/dist-loader/chunks/{pk-checkbox-hJCj8In8.js → pk-checkbox-CoDX2G3J.js} +2 -2
- package/dist-loader/chunks/{pk-color-input-BfNtLznP.js → pk-color-input-BEmVZXSP.js} +2 -2
- package/dist-loader/chunks/{pk-combobox-1PJBcIrV.js → pk-combobox-fXGaY4L0.js} +11 -10
- package/dist-loader/chunks/{pk-date-picker-D4vCtbw-.js → pk-date-picker-B3eWgHtv.js} +12 -11
- package/dist-loader/chunks/{pk-dialog-D1RZjwQN.js → pk-dialog-CP1YT85H.js} +4 -4
- package/dist-loader/chunks/{pk-dropdown-item-BJIhQ0Mw.js → pk-dropdown-item-DkZRcPJ5.js} +20 -5
- package/dist-loader/chunks/{pk-dropdown-menu-I1s3TBiA.js → pk-dropdown-menu-CajQAobW.js} +6 -6
- package/dist-loader/chunks/{pk-field-BnKPT_Kk.js → pk-field-CIfymz5G.js} +3 -3
- package/dist-loader/chunks/{pk-input-Oarjv7Vc.js → pk-input-CXE7_rTQ.js} +6 -6
- package/dist-loader/chunks/{pk-lightswitch-D-UrNM3y.js → pk-lightswitch-BHEOy7aK.js} +4 -4
- package/dist-loader/chunks/{pk-option-CCZebfif.js → pk-option-vh8UvSAI.js} +12 -4
- package/dist-loader/chunks/{pk-popup-BNRyCsVX.js → pk-popup-BYFbKaHH.js} +2 -2
- package/dist-loader/chunks/{pk-select-BcbtjIoP.js → pk-select-CbmPJCx8.js} +11 -10
- package/dist-loader/chunks/{pk-textarea-CC6WXpIu.js → pk-textarea-Ch8JpP83.js} +4 -4
- package/dist-loader/chunks/{pk-time-picker-BtGXo-KJ.js → pk-time-picker-DZljwJn9.js} +4 -3
- package/dist-loader/chunks/{pk-tooltip-JJRxVXYD.js → pk-tooltip-DHiCn33o.js} +3 -3
- package/dist-loader/chunks/popup-pointer-BTS3Y6LE.js +32 -0
- package/dist-loader/chunks/{render-DApFfV9S.js → render-BCU9WDSk.js} +1 -1
- package/dist-loader/chunks/{icons-B1i-oRoD.js → svg-BCGsRUz7.js} +34 -1
- package/dist-loader/chunks/{tiptap-Db7MTUH1.js → tiptap-_LAjdgeV.js} +1 -1
- package/dist-loader/chunks/{tiptap.styles-DAH_90Fi.js → tiptap.styles-CDjt6Iz4.js} +1 -1
- package/dist-loader/components/button/button.js +1 -1
- package/dist-loader/components/button-group/button-group-text.js +1 -1
- 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 +1 -0
- package/dist-loader/components/code-editor/code-editor.js +2 -2
- package/dist-loader/components/color-input/color-input.js +1 -1
- package/dist-loader/components/combobox/combobox.js +1 -1
- package/dist-loader/components/copy-button/copy-button.js +3 -2
- 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 +9 -3
- package/dist-loader/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist-loader/components/editable-table/editable-table.js +16 -3
- package/dist-loader/components/field/field.js +1 -1
- package/dist-loader/components/icon/icon.js +43 -2
- package/dist-loader/components/input/input.js +1 -1
- package/dist-loader/components/input-group/input-group.js +1 -1
- package/dist-loader/components/lightswitch/lightswitch.js +1 -1
- package/dist-loader/components/popover/popover.js +6 -6
- package/dist-loader/components/popup/popup.js +1 -1
- package/dist-loader/components/radio-group/radio-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/tabs/tab.js +7 -1
- 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 +2 -2
- package/dist-loader/components/tiptap/tiptap-editor.js +13 -5
- package/dist-loader/components/tiptap/tiptap-input.js +3 -3
- package/dist-loader/components/toggle/toggle.js +1 -1
- package/dist-loader/components/tooltip/tooltip.js +1 -1
- package/package.json +8 -7
- package/dist/chunks/pk-button-Cilu5WAT.js.map +0 -1
- package/dist/chunks/pk-combobox-Dd1ik0Ko.js.map +0 -1
- package/dist/chunks/pk-date-picker-CkwU4DzD.js.map +0 -1
- package/dist/chunks/pk-dropdown-item-BFyjtsL5.js.map +0 -1
- package/dist/chunks/pk-dropdown-label-DfACId-K.js.map +0 -1
- package/dist/chunks/pk-dropdown-menu-DWlxkDIs.js.map +0 -1
- package/dist/chunks/pk-option-C3Zqmu3z.js.map +0 -1
- package/dist/chunks/pk-popover-XZZdJ4WI.js.map +0 -1
- package/dist/chunks/pk-select-B17rV6BR.js.map +0 -1
- package/dist/chunks/pk-tab-CzV7pOdp.js.map +0 -1
- package/dist/chunks/popup-pointer-C8lypj8V.js +0 -21
- package/dist/chunks/popup-pointer-C8lypj8V.js.map +0 -1
- package/dist/register.js.map +0 -1
- package/dist-loader/chunks/popup-pointer-BC4n_sNb.js +0 -19
- package/dist-loader/chunks/svg-Boar0Kf1.js +0 -34
- /package/dist-loader/chunks/{animate-with-class-DT0jwaR_.js → animate-with-class-B2hHgK5M.js} +0 -0
- /package/dist-loader/chunks/{button-group-item.styles-Dwakbyx5.js → button-group-item.styles-BNc-ksl1.js} +0 -0
- /package/dist-loader/chunks/{codemirror-CSgOT0QM.js → codemirror-CHXb-wYU.js} +0 -0
- /package/dist-loader/chunks/{field-labels-D3lKQ2nq.js → field-labels-Vo3wHq49.js} +0 -0
- /package/dist-loader/chunks/{floating-ui-87vslRWW.js → floating-ui-BTBNFWAR.js} +0 -0
- /package/dist-loader/chunks/{has-slot-BGJeJdHr.js → has-slot-BZDcCpf9.js} +0 -0
- /package/dist-loader/chunks/{mirror-validator-C5XrXPaq.js → mirror-validator-DEz3BsbN.js} +0 -0
- /package/dist-loader/chunks/{overlay-lifecycle-C3tSQ3UR.js → overlay-lifecycle-BG4QMRLw.js} +0 -0
- /package/dist-loader/chunks/{pk-clear-BMZUzwDt.js → pk-clear-BRS8vkV-.js} +0 -0
- /package/dist-loader/chunks/{popup-content-animation.styles-S6CK-zPp.js → popup-content-animation.styles-C9ffC35f.js} +0 -0
- /package/dist-loader/chunks/{popup-placement-animation-WlEXnS85.js → popup-placement-animation-BPjq650B.js} +0 -0
- /package/dist-loader/chunks/{required-validator-0XwZtX9k.js → required-validator-DXqqPVeW.js} +0 -0
- /package/dist-loader/chunks/{sync-listbox-separators-Bcja51HC.js → sync-listbox-separators-CT3oGzTf.js} +0 -0
package/dist/register.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as resolveSpinnerVariant, t as getButtonSpinnerSize } from "./chunks/spinner-utils-CDfHypTv.js";
|
|
2
2
|
import { t as PkSpinner } from "./chunks/pk-spinner-Blxd3SIH.js";
|
|
3
|
-
import { t as PkButton } from "./chunks/pk-button-
|
|
3
|
+
import { t as PkButton } from "./chunks/pk-button-QpDDlRbG.js";
|
|
4
4
|
import "./components/button.js";
|
|
5
5
|
import { t as PkButtonGroup } from "./chunks/pk-button-group-D9hqSfb_.js";
|
|
6
6
|
import { t as PkButtonGroupSeparator } from "./chunks/pk-button-group-separator-DG0CYaqc.js";
|
|
@@ -8,11 +8,11 @@ import { t as PkButtonGroupText } from "./chunks/pk-button-group-text-C5z4P7ur.j
|
|
|
8
8
|
import "./components/button-group.js";
|
|
9
9
|
import { t as PkCheckbox } from "./chunks/pk-checkbox-Bavq3-9C.js";
|
|
10
10
|
import "./components/checkbox.js";
|
|
11
|
-
import { n as PkCheckboxSelect, t as ALL_VALUE } from "./chunks/pk-checkbox-select-
|
|
11
|
+
import { n as PkCheckboxSelect, t as ALL_VALUE } from "./chunks/pk-checkbox-select-9lqd9Rwz.js";
|
|
12
12
|
import "./components/checkbox-select.js";
|
|
13
13
|
import { t as PkCodeEditor } from "./chunks/pk-code-editor-DSG6AwLV.js";
|
|
14
14
|
import "./components/code-editor.js";
|
|
15
|
-
import { t as PkCombobox } from "./chunks/pk-combobox-
|
|
15
|
+
import { t as PkCombobox } from "./chunks/pk-combobox-DtkXaX67.js";
|
|
16
16
|
import { t as PkPopup } from "./chunks/pk-popup-CgiXok-U.js";
|
|
17
17
|
import { t as PkInput } from "./chunks/pk-input-naIRPWGC.js";
|
|
18
18
|
import "./components/input.js";
|
|
@@ -35,26 +35,26 @@ import { t as PkToggleGroup } from "./chunks/pk-toggle-group-CWDwYlgR.js";
|
|
|
35
35
|
import "./components/toggle-group.js";
|
|
36
36
|
import { t as PkLightswitch } from "./chunks/pk-lightswitch-B-rLflNq.js";
|
|
37
37
|
import "./components/lightswitch.js";
|
|
38
|
-
import { t as PkCopyButton } from "./chunks/pk-copy-button-
|
|
38
|
+
import { t as PkCopyButton } from "./chunks/pk-copy-button-C17MLLYS.js";
|
|
39
39
|
import "./components/copy-button.js";
|
|
40
40
|
import { t as PkDialog } from "./chunks/pk-dialog-DZZd1Tzb.js";
|
|
41
41
|
import "./components/dialog.js";
|
|
42
|
-
import { t as PkDropdownItem } from "./chunks/pk-dropdown-item-
|
|
43
|
-
import { t as PkDropdownMenu } from "./chunks/pk-dropdown-menu-
|
|
44
|
-
import { t as PkDropdownLabel } from "./chunks/pk-dropdown-label-
|
|
42
|
+
import { t as PkDropdownItem } from "./chunks/pk-dropdown-item-P3LLojCI.js";
|
|
43
|
+
import { t as PkDropdownMenu } from "./chunks/pk-dropdown-menu-CsX95MCP.js";
|
|
44
|
+
import { t as PkDropdownLabel } from "./chunks/pk-dropdown-label-ibVrU6-U.js";
|
|
45
45
|
import { PkDropdownSeparator } from "./components/dropdown-menu/pk-dropdown-separator.js";
|
|
46
46
|
import "./components/dropdown-menu.js";
|
|
47
47
|
import { t as PkColorInput } from "./chunks/pk-color-input-D4L0DE5S.js";
|
|
48
48
|
import { t as PkCalendar } from "./chunks/pk-calendar-CcV-La-9.js";
|
|
49
|
-
import { t as PkDatePicker } from "./chunks/pk-date-picker-
|
|
50
|
-
import { t as PkOption } from "./chunks/pk-option-
|
|
51
|
-
import { t as PkSelect } from "./chunks/pk-select-
|
|
52
|
-
import { t as PkTimePicker } from "./chunks/pk-time-picker-
|
|
53
|
-
import { t as PkEditableTable } from "./chunks/pk-editable-table-
|
|
49
|
+
import { t as PkDatePicker } from "./chunks/pk-date-picker-DIoQlPI9.js";
|
|
50
|
+
import { t as PkOption } from "./chunks/pk-option-C-cR-jOv.js";
|
|
51
|
+
import { t as PkSelect } from "./chunks/pk-select-odSNU1tN.js";
|
|
52
|
+
import { t as PkTimePicker } from "./chunks/pk-time-picker-DtX0LtID.js";
|
|
53
|
+
import { t as PkEditableTable } from "./chunks/pk-editable-table-wtsSKfzS.js";
|
|
54
54
|
import { t as PkField } from "./chunks/pk-field-Buy_AtYF.js";
|
|
55
55
|
import "./components/field.js";
|
|
56
56
|
import { PkIcon } from "./components/icon/pk-icon.js";
|
|
57
|
-
import { t as PkPopover } from "./chunks/pk-popover-
|
|
57
|
+
import { t as PkPopover } from "./chunks/pk-popover-CVvwXMld.js";
|
|
58
58
|
import "./components/popover.js";
|
|
59
59
|
import "./components/popup.js";
|
|
60
60
|
import { t as PkTooltip } from "./chunks/pk-tooltip-fcUbVGli.js";
|
|
@@ -62,7 +62,7 @@ import "./components/tooltip.js";
|
|
|
62
62
|
import { t as PkRadio } from "./chunks/pk-radio-Bg02ckzC.js";
|
|
63
63
|
import { t as PkRadioGroup } from "./chunks/pk-radio-group-B5rps9G4.js";
|
|
64
64
|
import "./components/radio-group.js";
|
|
65
|
-
import { t as PkTab } from "./chunks/pk-tab-
|
|
65
|
+
import { t as PkTab } from "./chunks/pk-tab-BdoPiYfT.js";
|
|
66
66
|
import { t as PkTabHeading } from "./chunks/pk-tab-heading-BWAB85ua.js";
|
|
67
67
|
import { t as PkTabPanel } from "./chunks/pk-tab-panel-Q3Pqyq-f.js";
|
|
68
68
|
import { t as PkTabs } from "./chunks/pk-tabs-Cip4nbb7.js";
|
|
@@ -77,70 +77,9 @@ import "./components/select.js";
|
|
|
77
77
|
import "./components/time-picker.js";
|
|
78
78
|
import "./components/spinner.js";
|
|
79
79
|
import { t as PkTiptapContent } from "./chunks/pk-tiptap-content-DAtNbJYC.js";
|
|
80
|
-
import { t as PkTiptapEditor } from "./chunks/pk-tiptap-editor-
|
|
80
|
+
import { t as PkTiptapEditor } from "./chunks/pk-tiptap-editor-CdoutapZ.js";
|
|
81
81
|
import { t as PkTiptapInput } from "./chunks/pk-tiptap-input-CXcYXbRa.js";
|
|
82
|
-
import { t as
|
|
83
|
-
import { t as
|
|
84
|
-
import "
|
|
85
|
-
//#region src/register.ts
|
|
86
|
-
var COMPONENTS = [
|
|
87
|
-
["pk-spinner", PkSpinner],
|
|
88
|
-
["pk-icon", PkIcon],
|
|
89
|
-
["pk-button", PkButton],
|
|
90
|
-
["pk-checkbox", PkCheckbox],
|
|
91
|
-
["pk-checkbox-select", PkCheckboxSelect],
|
|
92
|
-
["pk-color-input", PkColorInput],
|
|
93
|
-
["pk-code-editor", PkCodeEditor],
|
|
94
|
-
["pk-input", PkInput],
|
|
95
|
-
["pk-input-group", PkInputGroup],
|
|
96
|
-
["pk-input-group-addon", PkInputGroupAddon],
|
|
97
|
-
["pk-input-group-button", PkInputGroupButton],
|
|
98
|
-
["pk-input-group-input", PkInputGroupInput],
|
|
99
|
-
["pk-input-group-text", PkInputGroupText],
|
|
100
|
-
["pk-input-group-textarea", PkInputGroupTextarea],
|
|
101
|
-
["pk-textarea", PkTextarea],
|
|
102
|
-
["pk-tiptap-editor", PkTiptapEditor],
|
|
103
|
-
["pk-tiptap-input", PkTiptapInput],
|
|
104
|
-
["pk-tiptap-content", PkTiptapContent],
|
|
105
|
-
["pk-field", PkField],
|
|
106
|
-
["pk-separator", PkSeparator],
|
|
107
|
-
["pk-status", PkStatus],
|
|
108
|
-
["pk-toggle", PkToggle],
|
|
109
|
-
["pk-toggle-group", PkToggleGroup],
|
|
110
|
-
["pk-lightswitch", PkLightswitch],
|
|
111
|
-
["pk-button-group", PkButtonGroup],
|
|
112
|
-
["pk-button-group-separator", PkButtonGroupSeparator],
|
|
113
|
-
["pk-button-group-text", PkButtonGroupText],
|
|
114
|
-
["pk-dialog", PkDialog],
|
|
115
|
-
["pk-popup", PkPopup],
|
|
116
|
-
["pk-dropdown-label", PkDropdownLabel],
|
|
117
|
-
["pk-dropdown-item", PkDropdownItem],
|
|
118
|
-
["pk-dropdown-separator", PkDropdownSeparator],
|
|
119
|
-
["pk-dropdown-menu", PkDropdownMenu],
|
|
120
|
-
["pk-editable-table", PkEditableTable],
|
|
121
|
-
["pk-popover", PkPopover],
|
|
122
|
-
["pk-tooltip", PkTooltip],
|
|
123
|
-
["pk-radio", PkRadio],
|
|
124
|
-
["pk-radio-group", PkRadioGroup],
|
|
125
|
-
["pk-tab", PkTab],
|
|
126
|
-
["pk-tab-heading", PkTabHeading],
|
|
127
|
-
["pk-tab-panel", PkTabPanel],
|
|
128
|
-
["pk-tabs", PkTabs],
|
|
129
|
-
["pk-scroll-area", PkScrollArea],
|
|
130
|
-
["pk-option", PkOption],
|
|
131
|
-
["pk-option-group", PkOptionGroup],
|
|
132
|
-
["pk-select", PkSelect],
|
|
133
|
-
["pk-calendar", PkCalendar],
|
|
134
|
-
["pk-date-picker", PkDatePicker],
|
|
135
|
-
["pk-combobox", PkCombobox],
|
|
136
|
-
["pk-time-picker", PkTimePicker],
|
|
137
|
-
["pk-copy-button", PkCopyButton]
|
|
138
|
-
];
|
|
139
|
-
/** Side-effect registration for all Plugin Kit web components. */
|
|
140
|
-
function registerAll() {
|
|
141
|
-
for (const [tag, ctor] of COMPONENTS) if (!customElements.get(tag)) customElements.define(tag, ctor);
|
|
142
|
-
}
|
|
143
|
-
//#endregion
|
|
82
|
+
import { t as registerAll } from "./chunks/register-22v142C-.js";
|
|
83
|
+
import { t as BUNDLER_TAG_IMPORT_PATHS } from "./chunks/component-registry-BOlxFlou.js";
|
|
84
|
+
import { t as createRegisterComponents } from "./chunks/register-components-BG_6_v_T.js";
|
|
144
85
|
export { ALL_VALUE, PkButton, PkButtonGroup, PkButtonGroupSeparator, PkButtonGroupText, PkCalendar, PkCheckbox, PkCheckboxSelect, PkCodeEditor, PkColorInput, PkCombobox, PkCopyButton, PkDatePicker, PkDialog, PkDropdownItem, PkDropdownLabel, PkDropdownMenu, PkDropdownSeparator, PkEditableTable, PkField, PkIcon, PkInput, PkInputGroup, PkInputGroupAddon, PkInputGroupButton, PkInputGroupInput, PkInputGroupText, PkInputGroupTextarea, PkLightswitch, PkOption, PkOptionGroup, PkPopover, PkPopup, PkRadio, PkRadioGroup, PkScrollArea, PkSelect, PkSeparator, PkSpinner, PkStatus, PkTab, PkTabHeading, PkTabPanel, PkTabs, PkTextarea, PkTimePicker, PkTiptapContent, PkTiptapEditor, PkTiptapInput, PkToggle, PkToggleGroup, PkTooltip, BUNDLER_TAG_IMPORT_PATHS as componentImportPaths, createRegisterComponents, getButtonSpinnerSize, registerAll, resolveSpinnerVariant };
|
|
145
|
-
|
|
146
|
-
//# sourceMappingURL=register.js.map
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Returns true when a pointer event occurred on pk-popup content.
|
|
3
|
+
*
|
|
4
|
+
* Intentionally matches *any* popup surface — callers that need overlay-scoped
|
|
5
|
+
* hit testing should use {@link isEventInsideOverlay} instead.
|
|
3
6
|
*/
|
|
4
7
|
export declare function isPointerInPopupSurface(event: PointerEvent): boolean;
|
|
5
8
|
export type PointerInsideOverlayOptions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup-pointer.d.ts","sourceRoot":"","sources":["../../src/utils/popup-pointer.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"popup-pointer.d.ts","sourceRoot":"","sources":["../../src/utils/popup-pointer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CASpE;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC;CACpD,CAAC;AA4BF,yFAAyF;AACzF,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,KAAK,EACZ,OAAO,GAAE,2BAAgC,GAC1C,OAAO,CAyCT;AAED,+DAA+D;AAC/D,wBAAgB,sBAAsB,CAClC,KAAK,EAAE,YAAY,EACnB,OAAO,GAAE,2BAAgC,GAC1C,OAAO,CAET"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as o, c as r, f as A, i as e, l as n, m as i, p as b, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate, l as PkElement, s as iconStyles, u as hostDisplayInlineBlock } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import
|
|
4
|
-
import { t as iconToSvg } from "./svg-
|
|
5
|
-
import { i as buttonGroupIndentStyles, n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-
|
|
3
|
+
import "./pk-spinner-Di9O69-m.js";
|
|
4
|
+
import { h as chevronDown, t as iconToSvg } from "./svg-BCGsRUz7.js";
|
|
5
|
+
import { i as buttonGroupIndentStyles, n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-BNc-ksl1.js";
|
|
6
6
|
//#region src/components/spinner/spinner-utils.ts
|
|
7
7
|
function getButtonSpinnerSize(buttonSize = "default") {
|
|
8
8
|
if (buttonSize === "xxs" || buttonSize === "xs") return "xxs";
|
|
@@ -27,8 +27,6 @@ var pkButtonStyles = [
|
|
|
27
27
|
@layer pk-component {
|
|
28
28
|
:host {
|
|
29
29
|
font-family: var(--pk-font-family);
|
|
30
|
-
font-size: var(--pk-font-size-base);
|
|
31
|
-
line-height: var(--pk-line-height);
|
|
32
30
|
cursor: pointer;
|
|
33
31
|
--pk-btn-height: var(--pk-btn-height-default);
|
|
34
32
|
--pk-btn-font: var(--pk-btn-font-default);
|
|
@@ -37,6 +35,12 @@ var pkButtonStyles = [
|
|
|
37
35
|
--pk-btn-icon-gap: var(--pk-btn-icon-gap-default);
|
|
38
36
|
--pk-btn-caret-size: var(--pk-btn-caret-size-default);
|
|
39
37
|
--pk-btn-radius: var(--pk-btn-radius-default);
|
|
38
|
+
/*
|
|
39
|
+
* Slotted labels inherit from the host — pin the size-token font
|
|
40
|
+
* (and button line-height) so Craft CP / Tailwind hosts match.
|
|
41
|
+
*/
|
|
42
|
+
font-size: var(--pk-btn-font);
|
|
43
|
+
line-height: 1.2;
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
:host([disabled]) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as o$1, c as r, f as A, i as e, l as n, m as i, o, p as b, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate, l as PkElement, s as iconStyles } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as HasSlotController } from "./has-slot-
|
|
5
|
-
import { n as renderIconHtml } from "./render-
|
|
3
|
+
import { _ as chevronRight, g as chevronLeft } from "./svg-BCGsRUz7.js";
|
|
4
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
5
|
+
import { n as renderIconHtml } from "./render-BCU9WDSk.js";
|
|
6
6
|
//#region src/utils/date.ts
|
|
7
7
|
/** ISO date helpers — ported from `date-picker/internal/iso`. */
|
|
8
8
|
var ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate, i as PkFormAssociatedElement, r as checkboxControlStyles } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
4
|
-
import { t as HasSlotController } from "./has-slot-
|
|
3
|
+
import { t as RequiredValidator } from "./required-validator-DXqqPVeW.js";
|
|
4
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
5
5
|
//#region src/icons/checkbox-indicators.ts
|
|
6
6
|
/** Craft checkbox tick — matches plugin-kit-react Checkbox.tsx */
|
|
7
7
|
function renderCheckboxCheckIcon() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate, i as PkFormAssociatedElement } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
4
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
3
|
+
import { t as MirrorValidator } from "./mirror-validator-DEz3BsbN.js";
|
|
4
|
+
import { t as RequiredValidator } from "./required-validator-DXqqPVeW.js";
|
|
5
5
|
//#region src/components/color-input/pk-color-input.styles.ts
|
|
6
6
|
/**
|
|
7
7
|
* Size scale matches pk-input (xs / sm / default / lg). Metrics are shifted so
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, s as scrollIntoView, t as LiveRegion, u as isTopDismissible } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { a as o, c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
6
|
-
import { t as HasSlotController } from "./has-slot-
|
|
7
|
-
import { t as PkClearEvent } from "./pk-clear-
|
|
8
|
-
import { n as renderIconHtml } from "./render-
|
|
9
|
-
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-
|
|
10
|
-
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-
|
|
11
|
-
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
4
|
+
import { J as xmark, h as chevronDown } from "./svg-BCGsRUz7.js";
|
|
5
|
+
import { t as MirrorValidator } from "./mirror-validator-DEz3BsbN.js";
|
|
6
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
7
|
+
import { t as PkClearEvent } from "./pk-clear-BRS8vkV-.js";
|
|
8
|
+
import { n as renderIconHtml } from "./render-BCU9WDSk.js";
|
|
9
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-BG4QMRLw.js";
|
|
10
|
+
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-BPjq650B.js";
|
|
11
|
+
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-C9ffC35f.js";
|
|
12
|
+
import "./pk-popup-BYFbKaHH.js";
|
|
13
|
+
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-BTS3Y6LE.js";
|
|
14
|
+
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS, t as syncListboxSeparators } from "./sync-listbox-separators-CT3oGzTf.js";
|
|
14
15
|
//#region src/events/pk-create.ts
|
|
15
16
|
/** Fired before a combobox creates a new option — mirrors `pk-create`. */
|
|
16
17
|
var PkCreateEvent = class extends Event {
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, u as isTopDismissible } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { a as o, c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, s as iconStyles } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
6
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
7
|
-
import { t as HasSlotController } from "./has-slot-
|
|
8
|
-
import { t as PkClearEvent } from "./pk-clear-
|
|
9
|
-
import { n as readLegacyInstructions } from "./field-labels-
|
|
10
|
-
import { n as renderIconHtml } from "./render-
|
|
11
|
-
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-
|
|
12
|
-
import { i as waitForPopupReposition } from "./popup-placement-animation-
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
4
|
+
import { J as xmark, p as calendar } from "./svg-BCGsRUz7.js";
|
|
5
|
+
import { t as MirrorValidator } from "./mirror-validator-DEz3BsbN.js";
|
|
6
|
+
import { t as RequiredValidator } from "./required-validator-DXqqPVeW.js";
|
|
7
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
8
|
+
import { t as PkClearEvent } from "./pk-clear-BRS8vkV-.js";
|
|
9
|
+
import { n as readLegacyInstructions } from "./field-labels-Vo3wHq49.js";
|
|
10
|
+
import { n as renderIconHtml } from "./render-BCU9WDSk.js";
|
|
11
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-BG4QMRLw.js";
|
|
12
|
+
import { i as waitForPopupReposition } from "./popup-placement-animation-BPjq650B.js";
|
|
13
|
+
import "./pk-popup-BYFbKaHH.js";
|
|
14
|
+
import { n as isPointerInsideOverlay } from "./popup-pointer-BTS3Y6LE.js";
|
|
15
|
+
import { a as parseRange, i as parseIsoDate, n as coerceToDate, r as formatIsoDate } from "./pk-calendar-Ir5izQJH.js";
|
|
15
16
|
//#region src/utils/host-date.ts
|
|
16
17
|
function getCraft() {
|
|
17
18
|
return globalThis.Craft;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as unlockBodyScrolling, d as registerDismissible, f as unregisterDismissible, o as lockBodyScrolling, u as isTopDismissible } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { a as o, c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, l as PkElement } from "./pk-base-BlxAYXJD.js";
|
|
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-
|
|
4
|
+
import { J as xmark } from "./svg-BCGsRUz7.js";
|
|
5
|
+
import { n as renderIconHtml } from "./render-BCU9WDSk.js";
|
|
6
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-BG4QMRLw.js";
|
|
7
|
+
import { t as animateWithClass } from "./animate-with-class-B2hHgK5M.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
1
|
import { a as o, c as r, f as A, l as n, m as i, p as b, s as e, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate, l as PkElement } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as HasSlotController } from "./has-slot-
|
|
5
|
-
import { n as renderIconHtml } from "./render-
|
|
6
|
-
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-
|
|
7
|
-
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-
|
|
3
|
+
import { _ as chevronRight, m as check } from "./svg-BCGsRUz7.js";
|
|
4
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
5
|
+
import { n as renderIconHtml } from "./render-BCU9WDSk.js";
|
|
6
|
+
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-BPjq650B.js";
|
|
7
|
+
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-C9ffC35f.js";
|
|
8
8
|
//#region src/components/dropdown-menu/dropdown-menu-size.styles.ts
|
|
9
9
|
var dropdownMenuSizeTokens = {
|
|
10
10
|
default: i`
|
|
@@ -12,6 +12,7 @@ var dropdownMenuSizeTokens = {
|
|
|
12
12
|
--pk-dropdown-item-padding-inline: 12px;
|
|
13
13
|
--pk-dropdown-item-gap: 0.625rem;
|
|
14
14
|
--pk-dropdown-item-font-size: var(--pk-font-size-base);
|
|
15
|
+
--pk-dropdown-item-line-height: 1.5;
|
|
15
16
|
--pk-dropdown-item-icon-size: 12px;
|
|
16
17
|
--pk-dropdown-label-padding-inline: 12px;
|
|
17
18
|
--pk-dropdown-label-font-size: 13px;
|
|
@@ -22,6 +23,7 @@ var dropdownMenuSizeTokens = {
|
|
|
22
23
|
--pk-dropdown-item-padding-inline: 8px;
|
|
23
24
|
--pk-dropdown-item-gap: 0.375rem;
|
|
24
25
|
--pk-dropdown-item-font-size: 12px;
|
|
26
|
+
--pk-dropdown-item-line-height: 1.5;
|
|
25
27
|
--pk-dropdown-item-icon-size: 10px;
|
|
26
28
|
--pk-dropdown-label-padding-inline: 8px;
|
|
27
29
|
--pk-dropdown-label-font-size: 11px;
|
|
@@ -32,6 +34,7 @@ var dropdownMenuSizeTokens = {
|
|
|
32
34
|
--pk-dropdown-item-padding-inline: 10px;
|
|
33
35
|
--pk-dropdown-item-gap: 0.4375rem;
|
|
34
36
|
--pk-dropdown-item-font-size: 13px;
|
|
37
|
+
--pk-dropdown-item-line-height: 1.5;
|
|
35
38
|
--pk-dropdown-item-icon-size: 12px;
|
|
36
39
|
--pk-dropdown-label-padding-inline: 10px;
|
|
37
40
|
--pk-dropdown-label-font-size: 11px;
|
|
@@ -42,6 +45,7 @@ var dropdownMenuSizeTokens = {
|
|
|
42
45
|
--pk-dropdown-item-padding-inline: 14px;
|
|
43
46
|
--pk-dropdown-item-gap: 0.75rem;
|
|
44
47
|
--pk-dropdown-item-font-size: 16px;
|
|
48
|
+
--pk-dropdown-item-line-height: 1.5;
|
|
45
49
|
--pk-dropdown-item-icon-size: 14px;
|
|
46
50
|
--pk-dropdown-label-padding-inline: 14px;
|
|
47
51
|
--pk-dropdown-label-font-size: 14px;
|
|
@@ -52,6 +56,7 @@ var dropdownMenuSizeTokens = {
|
|
|
52
56
|
--pk-dropdown-item-padding-inline: 16px;
|
|
53
57
|
--pk-dropdown-item-gap: 0.75rem;
|
|
54
58
|
--pk-dropdown-item-font-size: 18px;
|
|
59
|
+
--pk-dropdown-item-line-height: 1.5;
|
|
55
60
|
--pk-dropdown-item-icon-size: 16px;
|
|
56
61
|
--pk-dropdown-label-padding-inline: 16px;
|
|
57
62
|
--pk-dropdown-label-font-size: 15px;
|
|
@@ -129,6 +134,14 @@ var pkDropdownItemStyles = [
|
|
|
129
134
|
:host {
|
|
130
135
|
display: block;
|
|
131
136
|
position: relative;
|
|
137
|
+
/*
|
|
138
|
+
* Slotted label text inherits from this host (light DOM), not from
|
|
139
|
+
* shadow .item — pin size-token metrics so Craft CP / Tailwind /
|
|
140
|
+
* bare hosts all get the same item rhythm.
|
|
141
|
+
*/
|
|
142
|
+
font-size: var(--pk-dropdown-item-font-size, var(--pk-font-size-base));
|
|
143
|
+
line-height: var(--pk-dropdown-item-line-height, 1.5);
|
|
144
|
+
color: var(--text-color, var(--pk-color-gray-700));
|
|
132
145
|
}
|
|
133
146
|
|
|
134
147
|
.item {
|
|
@@ -143,6 +156,8 @@ var pkDropdownItemStyles = [
|
|
|
143
156
|
color: inherit;
|
|
144
157
|
font: inherit;
|
|
145
158
|
font-size: var(--pk-dropdown-item-font-size, var(--pk-font-size-base));
|
|
159
|
+
/* Explicit — do not let font:inherit re-leak page line-height. */
|
|
160
|
+
line-height: var(--pk-dropdown-item-line-height, 1.5);
|
|
146
161
|
font-weight: normal;
|
|
147
162
|
text-align: left;
|
|
148
163
|
white-space: nowrap;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as registerDismissible, f as unregisterDismissible, r as activeElements, u as isTopDismissible } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { l as n, m as i, p as b, s as e, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, l as PkElement } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import { r as buttonGroupCornerRoleStyles } from "./button-group-item.styles-
|
|
5
|
-
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-
|
|
6
|
-
import { t as animateWithClass } from "./animate-with-class-
|
|
7
|
-
import { i as waitForPopupReposition } from "./popup-placement-animation-
|
|
8
|
-
import { n as dropdownMenuHostSizeStyles, r as dropdownMenuPanelSizeStyles, t as PkDropdownItem } from "./pk-dropdown-item-
|
|
9
|
-
import { n as resolveElementById } from "./pk-popup-
|
|
4
|
+
import { r as buttonGroupCornerRoleStyles } from "./button-group-item.styles-BNc-ksl1.js";
|
|
5
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-BG4QMRLw.js";
|
|
6
|
+
import { t as animateWithClass } from "./animate-with-class-B2hHgK5M.js";
|
|
7
|
+
import { i as waitForPopupReposition } from "./popup-placement-animation-BPjq650B.js";
|
|
8
|
+
import { n as dropdownMenuHostSizeStyles, r as dropdownMenuPanelSizeStyles, t as PkDropdownItem } from "./pk-dropdown-item-DkZRcPJ5.js";
|
|
9
|
+
import { n as resolveElementById } from "./pk-popup-BYFbKaHH.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
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./rolldown-runtime-CzwdidQP.js";
|
|
|
2
2
|
import { n as uniqueId } from "./pk-a11y-Cx5RZvhu.js";
|
|
3
3
|
import { f as A, i as e, l as n, m as i, o, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
4
4
|
import { c as __decorate, l as PkElement, n as formControlStyles, t as inlineMarkdownStyles } from "./pk-base-BlxAYXJD.js";
|
|
5
|
-
import {
|
|
6
|
-
import { t as HasSlotController } from "./has-slot-
|
|
7
|
-
import { t as createIconElement } from "./render-
|
|
5
|
+
import { K as triangleExclamation, N as lightbulb, u as asterisk } from "./svg-BCGsRUz7.js";
|
|
6
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
7
|
+
import { t as createIconElement } from "./render-BCU9WDSk.js";
|
|
8
8
|
//#region src/icons/translation-icon.ts
|
|
9
9
|
var TRANSLATION_ICON_PATH = "M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l208 0 32 0 16 0 256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L320 64l-16 0-32 0L64 64zm512 48c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16l-256 0 0-288 256 0zM178.3 175.9l64 144c4.5 10.1-.1 21.9-10.2 26.4s-21.9-.1-26.4-10.2L196.8 316l-73.6 0-8.9 20.1c-4.5 10.1-16.3 14.6-26.4 10.2s-14.6-16.3-10.2-26.4l64-144c3.2-7.2 10.4-11.9 18.3-11.9s15.1 4.7 18.3 11.9zM179 276l-19-42.8L141 276l38 0zM456 164c-11 0-20 9-20 20l0 4-52 0c-11 0-20 9-20 20s9 20 20 20l72 0 35.1 0c-7.3 16.7-17.4 31.9-29.8 45l-.5-.5-14.6-14.6c-7.8-7.8-20.5-7.8-28.3 0s-7.8 20.5 0 28.3L430 298.3c-5.9 3.6-12.1 6.9-18.5 9.8l-3.6 1.6c-10.1 4.5-14.6 16.3-10.2 26.4s16.3 14.6 26.4 10.2l3.6-1.6c12-5.3 23.4-11.8 34-19.4c4.3 3 8.6 5.8 13.1 8.5l18.9 11.3c9.5 5.7 21.8 2.6 27.4-6.9s2.6-21.8-6.9-27.4l-18.9-11.3c-.9-.5-1.8-1.1-2.7-1.6c17.2-18.8 30.7-40.9 39.6-65.4L534 228l2 0c11 0 20-9 20-20s-9-20-20-20l-16 0-44 0 0-4c0-11-9-20-20-20z";
|
|
10
10
|
var createTranslationIconElement = () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as uniqueId } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { c as r, f as A, l as n, m as i, n as l, p as b, r as o, s as e, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, o as syncStandaloneControlAria } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import { n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-
|
|
5
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
6
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
7
|
-
import { t as HasSlotController } from "./has-slot-
|
|
8
|
-
import { t as PkClearEvent } from "./pk-clear-
|
|
9
|
-
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-
|
|
4
|
+
import { n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-BNc-ksl1.js";
|
|
5
|
+
import { t as MirrorValidator } from "./mirror-validator-DEz3BsbN.js";
|
|
6
|
+
import { t as RequiredValidator } from "./required-validator-DXqqPVeW.js";
|
|
7
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
8
|
+
import { t as PkClearEvent } from "./pk-clear-BRS8vkV-.js";
|
|
9
|
+
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-Vo3wHq49.js";
|
|
10
10
|
//#region src/internal/implicit-form-submit.ts
|
|
11
11
|
/**
|
|
12
12
|
* Restore HTML “implicit submission” for FACE controls with a shadow native input.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as A, l as n, m as i, p as b, s as e, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
4
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
5
|
-
import { t as HasSlotController } from "./has-slot-
|
|
6
|
-
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-
|
|
3
|
+
import { t as MirrorValidator } from "./mirror-validator-DEz3BsbN.js";
|
|
4
|
+
import { t as RequiredValidator } from "./required-validator-DXqqPVeW.js";
|
|
5
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
6
|
+
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-Vo3wHq49.js";
|
|
7
7
|
//#region src/components/lightswitch/pk-lightswitch.styles.ts
|
|
8
8
|
var pkLightswitchStyles = i`
|
|
9
9
|
@layer pk-component {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as o, f as A, l as n, m as i, p as b, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate, l as PkElement } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import {
|
|
4
|
-
import { n as renderIconHtml } from "./render-
|
|
3
|
+
import { m as check } from "./svg-BCGsRUz7.js";
|
|
4
|
+
import { n as renderIconHtml } from "./render-BCU9WDSk.js";
|
|
5
5
|
//#region src/utils/highlight-text.ts
|
|
6
6
|
/** Split label text into matched/unmatched segments for typeahead highlighting. */
|
|
7
7
|
function splitHighlightParts(text, search) {
|
|
@@ -43,6 +43,15 @@ var pkOptionStyles = i`
|
|
|
43
43
|
@layer pk-component {
|
|
44
44
|
:host {
|
|
45
45
|
display: block;
|
|
46
|
+
/*
|
|
47
|
+
* Slotted option labels inherit type metrics from this host (same
|
|
48
|
+
* Craft-vs-Tailwind trap as pk-dropdown-item). Size tokens arrive via
|
|
49
|
+
* pk-select ::slotted(pk-option) custom properties.
|
|
50
|
+
*/
|
|
51
|
+
font-family: var(--pk-font-family);
|
|
52
|
+
font-size: var(--pk-select-item-font-size, var(--pk-font-size-base));
|
|
53
|
+
line-height: var(--pk-select-item-line-height, 1.4);
|
|
54
|
+
color: var(--pk-color-gray-700);
|
|
46
55
|
}
|
|
47
56
|
|
|
48
57
|
.option {
|
|
@@ -58,8 +67,7 @@ var pkOptionStyles = i`
|
|
|
58
67
|
padding-inline-end: var(--pk-select-item-padding-inline-end, 2rem);
|
|
59
68
|
border: var(--pk-select-trigger-border-width, 1px) solid transparent;
|
|
60
69
|
background: transparent;
|
|
61
|
-
|
|
62
|
-
color: var(--pk-color-gray-700);
|
|
70
|
+
color: inherit;
|
|
63
71
|
font: inherit;
|
|
64
72
|
font-family: var(--pk-font-family);
|
|
65
73
|
font-size: var(--pk-select-item-font-size, var(--pk-font-size-base));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as SUPPORTS_POPOVER } from "./supports-popover-COjbi2RP.js";
|
|
2
2
|
import { f as A, i as e$1, l as n, m as i$1, p as b, s as e$2, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, l as PkElement } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import { t as computePopupTransformOrigin } from "./popup-placement-animation-
|
|
5
|
-
import { a as offset, c as size, i as flip, l as getOverflowAncestors, n as autoUpdate, o as platform, r as computePosition, s as shift, t as arrow, u as isContainingBlock } from "./floating-ui-
|
|
4
|
+
import { t as computePopupTransformOrigin } from "./popup-placement-animation-BPjq650B.js";
|
|
5
|
+
import { a as offset, c as size, i as flip, l as getOverflowAncestors, n as autoUpdate, o as platform, r as computePosition, s as shift, t as arrow, u as isContainingBlock } from "./floating-ui-BTBNFWAR.js";
|
|
6
6
|
//#region src/internal/resolve-element-by-id.ts
|
|
7
7
|
/** Resolve an element id from the same root as the host (shadow or document), then the document. */
|
|
8
8
|
function resolveElementById(host, id) {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, s as scrollIntoView, u as isTopDismissible } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { a as o, c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
6
|
-
import { t as HasSlotController } from "./has-slot-
|
|
7
|
-
import { t as PkClearEvent } from "./pk-clear-
|
|
8
|
-
import { n as renderIconHtml } from "./render-
|
|
9
|
-
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-
|
|
10
|
-
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-
|
|
11
|
-
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
4
|
+
import { h as chevronDown } from "./svg-BCGsRUz7.js";
|
|
5
|
+
import { t as MirrorValidator } from "./mirror-validator-DEz3BsbN.js";
|
|
6
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
7
|
+
import { t as PkClearEvent } from "./pk-clear-BRS8vkV-.js";
|
|
8
|
+
import { n as renderIconHtml } from "./render-BCU9WDSk.js";
|
|
9
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-BG4QMRLw.js";
|
|
10
|
+
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-BPjq650B.js";
|
|
11
|
+
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-C9ffC35f.js";
|
|
12
|
+
import "./pk-popup-BYFbKaHH.js";
|
|
13
|
+
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-BTS3Y6LE.js";
|
|
14
|
+
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS, r as createTypeToSelectHandler, t as syncListboxSeparators } from "./sync-listbox-separators-CT3oGzTf.js";
|
|
14
15
|
//#region src/components/select/pk-select.styles.ts
|
|
15
16
|
var pkSelectStyles = [popupContentAnimationStyles, i`
|
|
16
17
|
${iconStyles}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as uniqueId } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { c as r, f as A, l as n, m as i, n as l, p as b, r as o, s as e, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, o as syncStandaloneControlAria } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
5
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
6
|
-
import { t as HasSlotController } from "./has-slot-
|
|
7
|
-
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-
|
|
4
|
+
import { t as MirrorValidator } from "./mirror-validator-DEz3BsbN.js";
|
|
5
|
+
import { t as RequiredValidator } from "./required-validator-DXqqPVeW.js";
|
|
6
|
+
import { t as HasSlotController } from "./has-slot-BZDcCpf9.js";
|
|
7
|
+
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-Vo3wHq49.js";
|
|
8
8
|
//#region src/components/textarea/pk-textarea.styles.ts
|
|
9
9
|
var pkTextareaStyles = i`
|
|
10
10
|
@layer pk-component {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { m as i, u as t } from "./lit-Dnn7gEi2.js";
|
|
2
2
|
import { c as __decorate } from "./pk-base-BlxAYXJD.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as createIconElement } from "./render-
|
|
5
|
-
import
|
|
3
|
+
import { v as clock } from "./svg-BCGsRUz7.js";
|
|
4
|
+
import { t as createIconElement } from "./render-BCU9WDSk.js";
|
|
5
|
+
import "./pk-option-vh8UvSAI.js";
|
|
6
|
+
import { n as pkSelectStyles, t as PkSelect } from "./pk-select-CbmPJCx8.js";
|
|
6
7
|
//#region src/utils/time-options.ts
|
|
7
8
|
var timeOptionsCache = null;
|
|
8
9
|
function resolveTimepickerOptions() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as uniqueId } from "./pk-a11y-Cx5RZvhu.js";
|
|
2
2
|
import { c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as t } from "./lit-Dnn7gEi2.js";
|
|
3
3
|
import { c as __decorate, l as PkElement } from "./pk-base-BlxAYXJD.js";
|
|
4
|
-
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-
|
|
5
|
-
import { i as waitForPopupReposition, n as getPopupSide, r as syncPopupPlacementAnimation } from "./popup-placement-animation-
|
|
6
|
-
import { n as resolveElementById } from "./pk-popup-
|
|
4
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-BG4QMRLw.js";
|
|
5
|
+
import { i as waitForPopupReposition, n as getPopupSide, r as syncPopupPlacementAnimation } from "./popup-placement-animation-BPjq650B.js";
|
|
6
|
+
import { n as resolveElementById } from "./pk-popup-BYFbKaHH.js";
|
|
7
7
|
var pkTooltipStyles = [i`
|
|
8
8
|
@layer pk-component {
|
|
9
9
|
.content.pk-popup-content {
|