@verbb/plugin-kit-web 2.0.16 → 2.0.18

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.
Files changed (155) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +3 -3
  3. package/custom-elements.json +19620 -19410
  4. package/dist/chunks/{pk-autocomplete-kOT0Zlld.js → pk-autocomplete-IFL-u-RF.js} +2 -2
  5. package/dist/chunks/{pk-autocomplete-kOT0Zlld.js.map → pk-autocomplete-IFL-u-RF.js.map} +1 -1
  6. package/dist/chunks/{pk-combobox-Dn7UJ_CV.js → pk-combobox-CL9En0J-.js} +2 -2
  7. package/dist/chunks/{pk-combobox-Dn7UJ_CV.js.map → pk-combobox-CL9En0J-.js.map} +1 -1
  8. package/dist/chunks/pk-copy-button-BVaOLtYG.js.map +1 -1
  9. package/dist/chunks/{pk-date-picker-DfIvmoZ1.js → pk-date-picker-BEAd4Ngl.js} +2 -2
  10. package/dist/chunks/{pk-date-picker-DfIvmoZ1.js.map → pk-date-picker-BEAd4Ngl.js.map} +1 -1
  11. package/dist/chunks/pk-dialog-VMQqLW1f.js.map +1 -1
  12. package/dist/chunks/{pk-dropdown-item-BZQS87U0.js → pk-dropdown-item-D9OaG5o-.js} +8 -4
  13. package/dist/chunks/pk-dropdown-item-D9OaG5o-.js.map +1 -0
  14. package/dist/chunks/{pk-dropdown-menu-D60p2-9X.js → pk-dropdown-menu-DW1wI8xQ.js} +5 -3
  15. package/dist/chunks/pk-dropdown-menu-DW1wI8xQ.js.map +1 -0
  16. package/dist/chunks/{pk-editable-table-BQ47MXpu.js → pk-editable-table-BubcKCBn.js} +17 -12
  17. package/dist/chunks/pk-editable-table-BubcKCBn.js.map +1 -0
  18. package/dist/chunks/{pk-image-browser-BXFDfch3.js → pk-image-browser-DwiCFOIG.js} +3 -3
  19. package/dist/chunks/pk-image-browser-DwiCFOIG.js.map +1 -0
  20. package/dist/chunks/pk-input-CF_icEtR.js.map +1 -1
  21. package/dist/chunks/{pk-input-group-CWdoVhkH.js → pk-input-group-BLqKPnfc.js} +2 -2
  22. package/dist/chunks/{pk-input-group-CWdoVhkH.js.map → pk-input-group-BLqKPnfc.js.map} +1 -1
  23. package/dist/chunks/{pk-popover-KSIOYlbs.js → pk-popover-D3jkHfwB.js} +2 -2
  24. package/dist/chunks/pk-popover-D3jkHfwB.js.map +1 -0
  25. package/dist/chunks/{pk-popup-B9AgBC2V.js → pk-popup-B65tZMQH.js} +23 -1
  26. package/dist/chunks/pk-popup-B65tZMQH.js.map +1 -0
  27. package/dist/chunks/{pk-select-DQtORz-v.js → pk-select-CdQdhnZN.js} +2 -2
  28. package/dist/chunks/{pk-select-DQtORz-v.js.map → pk-select-CdQdhnZN.js.map} +1 -1
  29. package/dist/chunks/{pk-time-picker-DLUBYLFo.js → pk-time-picker-CebRqydV.js} +2 -2
  30. package/dist/chunks/{pk-time-picker-DLUBYLFo.js.map → pk-time-picker-CebRqydV.js.map} +1 -1
  31. package/dist/chunks/{pk-tiptap-content-BwkqYVJb.js → pk-tiptap-content-CL8smjGi.js} +5 -2
  32. package/dist/chunks/{pk-tiptap-content-BwkqYVJb.js.map → pk-tiptap-content-CL8smjGi.js.map} +1 -1
  33. package/dist/chunks/{pk-tiptap-editor-De8UUTis.js → pk-tiptap-editor-CTz-yfHL.js} +327 -11
  34. package/dist/chunks/pk-tiptap-editor-CTz-yfHL.js.map +1 -0
  35. package/dist/chunks/{pk-tooltip-Cmmc0916.js → pk-tooltip--QBV6puX.js} +2 -2
  36. package/dist/chunks/{pk-tooltip-Cmmc0916.js.map → pk-tooltip--QBV6puX.js.map} +1 -1
  37. package/dist/chunks/{register-posLyX3U.js → register-Bw9kG690.js} +14 -14
  38. package/dist/chunks/{register-posLyX3U.js.map → register-Bw9kG690.js.map} +1 -1
  39. package/dist/components/autocomplete/pk-autocomplete.js +1 -1
  40. package/dist/components/autocomplete.js +1 -1
  41. package/dist/components/combobox/pk-combobox.js +1 -1
  42. package/dist/components/combobox.js +1 -1
  43. package/dist/components/connect/pk-connect-oauth.d.ts +1 -1
  44. package/dist/components/connect/pk-connect-oauth.js.map +1 -1
  45. package/dist/components/copy-button/pk-copy-button.d.ts +1 -1
  46. package/dist/components/date-picker/pk-date-picker.js +1 -1
  47. package/dist/components/date-picker.js +1 -1
  48. package/dist/components/dialog/pk-dialog.d.ts +1 -1
  49. package/dist/components/dropdown-menu/pk-dropdown-item.d.ts +3 -1
  50. package/dist/components/dropdown-menu/pk-dropdown-item.d.ts.map +1 -1
  51. package/dist/components/dropdown-menu/pk-dropdown-item.js +1 -1
  52. package/dist/components/dropdown-menu/pk-dropdown-item.styles.d.ts.map +1 -1
  53. package/dist/components/dropdown-menu/pk-dropdown-menu.js +1 -1
  54. package/dist/components/dropdown-menu/pk-dropdown-menu.styles.d.ts.map +1 -1
  55. package/dist/components/dropdown-menu.js +2 -2
  56. package/dist/components/editable-table/pk-editable-table.d.ts +1 -1
  57. package/dist/components/editable-table/pk-editable-table.d.ts.map +1 -1
  58. package/dist/components/editable-table/pk-editable-table.js +1 -1
  59. package/dist/components/editable-table.js +1 -1
  60. package/dist/components/image-browser/pk-image-browser.d.ts +1 -1
  61. package/dist/components/image-browser/pk-image-browser.js +1 -1
  62. package/dist/components/image-browser.js +1 -1
  63. package/dist/components/input/pk-input.d.ts +2 -2
  64. package/dist/components/input-group/pk-input-group.d.ts +2 -2
  65. package/dist/components/input-group/pk-input-group.d.ts.map +1 -1
  66. package/dist/components/input-group/pk-input-group.js +1 -1
  67. package/dist/components/input-group.js +1 -1
  68. package/dist/components/popover/pk-popover.d.ts +2 -2
  69. package/dist/components/popover/pk-popover.js +1 -1
  70. package/dist/components/popover.js +1 -1
  71. package/dist/components/popup/pk-popup.d.ts +4 -0
  72. package/dist/components/popup/pk-popup.d.ts.map +1 -1
  73. package/dist/components/popup/pk-popup.js +1 -1
  74. package/dist/components/popup.js +1 -1
  75. package/dist/components/select/pk-select.js +1 -1
  76. package/dist/components/select.js +1 -1
  77. package/dist/components/time-picker/pk-time-picker.js +1 -1
  78. package/dist/components/time-picker.js +1 -1
  79. package/dist/components/tiptap/pk-tiptap-content.d.ts.map +1 -1
  80. package/dist/components/tiptap/pk-tiptap-content.js +1 -1
  81. package/dist/components/tiptap/pk-tiptap-editor.d.ts +11 -1
  82. package/dist/components/tiptap/pk-tiptap-editor.d.ts.map +1 -1
  83. package/dist/components/tiptap/pk-tiptap-editor.js +1 -1
  84. package/dist/components/tiptap/pk-tiptap-editor.styles.d.ts.map +1 -1
  85. package/dist/components/tiptap/tiptap-toolbar.d.ts +1 -0
  86. package/dist/components/tiptap/tiptap-toolbar.d.ts.map +1 -1
  87. package/dist/components/tiptap-content.js +1 -1
  88. package/dist/components/tiptap-editor.js +1 -1
  89. package/dist/components/tooltip/pk-tooltip.js +1 -1
  90. package/dist/components/tooltip.js +1 -1
  91. package/dist/index.js +14 -14
  92. package/dist/register.js +14 -14
  93. package/dist-loader/chunks/{option-filter-Z7bomRrK.js → option-filter-Bc5aNNT0.js} +1 -1
  94. package/dist-loader/chunks/{pk-button-dngp-vOd.js → pk-button-saBDszJV.js} +1 -1
  95. package/dist-loader/chunks/{pk-calendar-BE4HRfCq.js → pk-calendar-BrF8i3dW.js} +2 -2
  96. package/dist-loader/chunks/{pk-combobox-DMBKXPLB.js → pk-combobox-Cpx0w1KV.js} +6 -6
  97. package/dist-loader/chunks/{pk-date-picker-wntQmeIM.js → pk-date-picker-DEoiTOxN.js} +5 -5
  98. package/dist-loader/chunks/{pk-dialog-B6lzsRur.js → pk-dialog-C6aaPokv.js} +2 -2
  99. package/dist-loader/chunks/{pk-dropdown-item-DJ5TeF1r.js → pk-dropdown-item-D8RrwjxL.js} +9 -5
  100. package/dist-loader/chunks/pk-dropdown-label-Cg32UgRe.js +51 -0
  101. package/dist-loader/chunks/{pk-dropdown-menu-B87bsdlI.js → pk-dropdown-menu-CAHCltlX.js} +4 -2
  102. package/dist-loader/chunks/{pk-field-D_SNOJpl.js → pk-field-V7JOy26T.js} +2 -2
  103. package/dist-loader/chunks/{pk-icon-B5ob3JdK.js → pk-icon-Bph-EBqp.js} +1 -1
  104. package/dist-loader/chunks/{pk-option-Cc6QWw-0.js → pk-option-BrDMERSl.js} +2 -2
  105. package/dist-loader/chunks/{pk-popup-BooGjXgH.js → pk-popup-CrxxR-Hb.js} +23 -1
  106. package/dist-loader/chunks/{pk-select-BG8qPsBd.js → pk-select-Dok-JdSe.js} +5 -5
  107. package/dist-loader/chunks/{pk-time-picker-CDVFNhN7.js → pk-time-picker-h5Wgd4a_.js} +4 -4
  108. package/dist-loader/chunks/{pk-tooltip-BS2dNLOS.js → pk-tooltip-Dd_Q0Bn5.js} +1 -1
  109. package/dist-loader/chunks/{render-BKfL_WRl.js → render-Bnzcxfss.js} +1 -1
  110. package/dist-loader/chunks/{svg-BiAlXtCn.js → svg-Bz-bXZn7.js} +7 -1
  111. package/dist-loader/chunks/{tiptap-Db7MTUH1.js → tiptap-CgXkiK8d.js} +283 -13
  112. package/dist-loader/chunks/{tiptap.styles-BFGP4eTV.js → tiptap.styles-C0E1NpSx.js} +222 -3
  113. package/dist-loader/components/autocomplete/autocomplete.js +6 -6
  114. package/dist-loader/components/button/button.js +1 -1
  115. package/dist-loader/components/calendar/calendar.js +1 -1
  116. package/dist-loader/components/code-editor/code-editor.js +5 -5
  117. package/dist-loader/components/combobox/combobox.js +1 -1
  118. package/dist-loader/components/connect/connect-oauth.js +3 -3
  119. package/dist-loader/components/connect/connect.js +5 -5
  120. package/dist-loader/components/copy-button/copy-button.js +3 -3
  121. package/dist-loader/components/date-picker/date-picker.js +1 -1
  122. package/dist-loader/components/dialog/dialog.js +1 -1
  123. package/dist-loader/components/dropdown-menu/dropdown-item.js +1 -1
  124. package/dist-loader/components/dropdown-menu/dropdown-label.js +1 -50
  125. package/dist-loader/components/dropdown-menu/dropdown-menu.js +1 -1
  126. package/dist-loader/components/editable-table/editable-table.js +21 -16
  127. package/dist-loader/components/field/field.js +1 -1
  128. package/dist-loader/components/icon/icon.js +2 -2
  129. package/dist-loader/components/image-browser/image-browser.js +5 -5
  130. package/dist-loader/components/input-group/input-group.js +1 -1
  131. package/dist-loader/components/lightswitch/lightswitch.js +1 -1
  132. package/dist-loader/components/popover/popover.js +2 -2
  133. package/dist-loader/components/popup/popup.js +1 -1
  134. package/dist-loader/components/select/option.js +1 -1
  135. package/dist-loader/components/select/select.js +1 -1
  136. package/dist-loader/components/status/status.js +1 -1
  137. package/dist-loader/components/time-picker/time-picker.js +1 -1
  138. package/dist-loader/components/tiptap/tiptap-content.js +6 -3
  139. package/dist-loader/components/tiptap/tiptap-editor.js +332 -16
  140. package/dist-loader/components/tiptap/tiptap-input.js +2 -2
  141. package/dist-loader/components/tooltip/tooltip.js +1 -1
  142. package/package.json +11 -8
  143. package/dist/chunks/pk-dropdown-item-BZQS87U0.js.map +0 -1
  144. package/dist/chunks/pk-dropdown-menu-D60p2-9X.js.map +0 -1
  145. package/dist/chunks/pk-editable-table-BQ47MXpu.js.map +0 -1
  146. package/dist/chunks/pk-image-browser-BXFDfch3.js.map +0 -1
  147. package/dist/chunks/pk-popover-KSIOYlbs.js.map +0 -1
  148. package/dist/chunks/pk-popup-B9AgBC2V.js.map +0 -1
  149. package/dist/chunks/pk-tiptap-editor-De8UUTis.js.map +0 -1
  150. /package/dist-loader/chunks/{floating-ui-DU6GNott.js → floating-ui-Cj0imr6d.js} +0 -0
  151. /package/dist-loader/chunks/{pk-connect.styles-Bfgwu0VH.js → pk-connect.styles-k61snd3X.js} +0 -0
  152. /package/dist-loader/chunks/{pk-lightswitch-DRxY8511.js → pk-lightswitch-m23Cy3_D.js} +0 -0
  153. /package/dist-loader/chunks/{pk-status-D3ArH2ui.js → pk-status-D2g_77m_.js} +0 -0
  154. /package/dist-loader/chunks/{popup-pointer-caPc8kwB.js → popup-pointer-Ck28WdVP.js} +0 -0
  155. /package/dist-loader/chunks/{sync-listbox-separators-Dk_E_IVa.js → sync-listbox-separators-Ch5krDUs.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { n as uniqueId } from "./pk-a11y-CjB4-U-R.js";
2
2
  import { m as i } from "./lit-DpLik9Rf.js";
3
- import { A as Node3, C as index_default$10, D as index_default$1, E as index_default$7, F as PluginKey, I as TextSelection, N as NodeSelection, O as index_default, P as Plugin, S as index_default$11, T as index_default$8, _ as index_default$16, a as index_default$5, b as index_default$13, c as index_default$24, d as index_default$21, f as index_default$20, g as index_default$17, h as index_default$6, i as index_default$2, j as getMarkRange, l as Table, m as index_default$18, n as index_default$25, o as index_default$22, p as index_default$19, r as index_default$3, s as index_default$23, t as index_default$26, u as index_default$4, v as index_default$15, w as index_default$9, x as index_default$12, y as index_default$14 } from "./tiptap-Db7MTUH1.js";
3
+ import { C as index_default$11, D as index_default$7, E as index_default$8, F as NodeSelection, I as Plugin, L as PluginKey, M as Node3, N as getMarkRange, O as index_default$1, R as TextSelection, S as index_default$12, T as index_default$9, _ as index_default$16, a as index_default$5, b as index_default$14, c as index_default$24, d as index_default$21, f as index_default$20, g as index_default$17, h as index_default$6, i as index_default$2, j as Extension, k as index_default, l as Table, m as index_default$18, n as index_default$25, o as index_default$22, p as index_default$19, r as index_default$3, s as index_default$23, t as index_default$26, u as index_default$4, v as index_default$15, w as index_default$10, x as index_default$13, y as TextStyleKit } from "./tiptap-CgXkiK8d.js";
4
4
  //#region ../plugin-kit-tiptap-core/dist/links/extension.js
5
5
  /** Shared Tiptap link mark configuration for Plugin Kit editors. */
6
6
  function createLinkExtension() {
@@ -168,8 +168,55 @@ function createVariableTagExtension({ trailingCursorText = "​", addNodeView }
168
168
  //#region ../plugin-kit-tiptap-core/dist/extensions/one-liner-document.js
169
169
  var OneLinerDocument = index_default$1.extend({ content: "inline*" });
170
170
  //#endregion
171
+ //#region ../plugin-kit-tiptap-core/dist/extensions/font-variant-caps.js
172
+ /** A deliberately narrow TextStyle attribute; arbitrary CSS values are never persisted. */
173
+ var FontVariantCaps = Extension.create({
174
+ name: "fontVariantCaps",
175
+ addGlobalAttributes() {
176
+ return [{
177
+ types: ["textStyle"],
178
+ attributes: { fontVariantCaps: {
179
+ default: null,
180
+ parseHTML: (element) => element.style.fontVariantCaps === "small-caps" ? "small-caps" : null,
181
+ renderHTML: (attributes) => attributes.fontVariantCaps === "small-caps" ? { style: "font-variant-caps: small-caps" } : {}
182
+ } }
183
+ }];
184
+ },
185
+ addCommands() {
186
+ return {
187
+ setSmallCaps: () => ({ chain }) => chain().setMark("textStyle", { fontVariantCaps: "small-caps" }).run(),
188
+ unsetSmallCaps: () => ({ chain }) => chain().setMark("textStyle", { fontVariantCaps: null }).removeEmptyTextStyle().run(),
189
+ toggleSmallCaps: () => ({ editor, commands }) => editor.isActive("textStyle", { fontVariantCaps: "small-caps" }) ? commands.unsetSmallCaps() : commands.setSmallCaps()
190
+ };
191
+ }
192
+ });
193
+ //#endregion
194
+ //#region ../plugin-kit-tiptap-core/dist/registry.js
195
+ var extensionRegistrations = /* @__PURE__ */ new Map();
196
+ var toolbarControls = /* @__PURE__ */ new Map();
197
+ function getExtensionName(extension, id) {
198
+ if (!extension || typeof extension !== "object" || !("name" in extension)) throw new Error(`Tiptap extension "${id}" factory must return an extension with a schema name.`);
199
+ const { name } = extension;
200
+ if (typeof name !== "string" || !name) throw new Error(`Tiptap extension "${id}" factory must return an extension with a schema name.`);
201
+ return name;
202
+ }
203
+ function getRegisteredTiptapExtensions(surface) {
204
+ return [...extensionRegistrations.values()].filter((registration) => registration.surfaces.has(surface)).map((registration) => {
205
+ const extension = registration.factory();
206
+ const extensionName = getExtensionName(extension, registration.id);
207
+ if (extensionName !== registration.extensionName) throw new Error(`Tiptap extension factory "${registration.id}" changed its schema name from "${registration.extensionName}" to "${extensionName}".`);
208
+ return extension;
209
+ });
210
+ }
211
+ function getRegisteredTiptapToolbarControl(id) {
212
+ return toolbarControls.get(id);
213
+ }
214
+ function isRegisteredTiptapToolbarControl(id) {
215
+ return toolbarControls.has(id);
216
+ }
217
+ //#endregion
171
218
  //#region ../plugin-kit-tiptap-core/dist/extensions/create-extensions.js
172
- var createTiptapExtensions = ({ trailingCursorText = "​", variableTagNodeView, includeVariableTag = true } = {}) => {
219
+ var createTiptapExtensions = ({ trailingCursorText = "​", variableTagNodeView, includeVariableTag = true, surface = "editor" } = {}) => {
173
220
  const extensions = [
174
221
  index_default$1,
175
222
  index_default$2,
@@ -185,6 +232,8 @@ var createTiptapExtensions = ({ trailingCursorText = "​", variableTagNodeView,
185
232
  index_default$12,
186
233
  index_default$13,
187
234
  index_default$14,
235
+ TextStyleKit,
236
+ FontVariantCaps,
188
237
  index_default$15,
189
238
  index_default$16,
190
239
  index_default$17,
@@ -214,6 +263,7 @@ var createTiptapExtensions = ({ trailingCursorText = "​", variableTagNodeView,
214
263
  trailingCursorText,
215
264
  addNodeView: variableTagNodeView
216
265
  }));
266
+ extensions.push(...getRegisteredTiptapExtensions(surface));
217
267
  return extensions;
218
268
  };
219
269
  var createTiptapInputExtensions = ({ trailingCursorText = "​", variableTagNodeView } = {}) => {
@@ -227,6 +277,163 @@ var createTiptapInputExtensions = ({ trailingCursorText = "​", variableTagNode
227
277
  ];
228
278
  };
229
279
  //#endregion
280
+ //#region ../plugin-kit-tiptap-core/dist/text-style-toolbar.js
281
+ var DEFAULT_TIPTAP_TEXT_STYLE_TOOLBAR_CONFIG = {
282
+ fontFamilies: [
283
+ {
284
+ label: "Default font",
285
+ value: null
286
+ },
287
+ {
288
+ label: "Arial",
289
+ value: "Arial, sans-serif"
290
+ },
291
+ {
292
+ label: "Georgia",
293
+ value: "Georgia, serif"
294
+ },
295
+ {
296
+ label: "Times New Roman",
297
+ value: "\"Times New Roman\", serif"
298
+ },
299
+ {
300
+ label: "Courier New",
301
+ value: "\"Courier New\", monospace"
302
+ }
303
+ ],
304
+ fontSizes: [{
305
+ label: "Default",
306
+ value: null
307
+ }, ...[
308
+ 8,
309
+ 9,
310
+ 10,
311
+ 11,
312
+ 12,
313
+ 14,
314
+ 16,
315
+ 18,
316
+ 24,
317
+ 30,
318
+ 36,
319
+ 48,
320
+ 60,
321
+ 72,
322
+ 96
323
+ ].map((size) => ({
324
+ label: String(size),
325
+ value: `${size}px`
326
+ }))],
327
+ textColors: [
328
+ {
329
+ label: "Default",
330
+ value: null
331
+ },
332
+ {
333
+ label: "Black",
334
+ value: "#1f2937"
335
+ },
336
+ {
337
+ label: "Gray",
338
+ value: "#6b7280"
339
+ },
340
+ {
341
+ label: "Red",
342
+ value: "#dc2626"
343
+ },
344
+ {
345
+ label: "Orange",
346
+ value: "#ea580c"
347
+ },
348
+ {
349
+ label: "Yellow",
350
+ value: "#ca8a04"
351
+ },
352
+ {
353
+ label: "Green",
354
+ value: "#16a34a"
355
+ },
356
+ {
357
+ label: "Blue",
358
+ value: "#2563eb"
359
+ },
360
+ {
361
+ label: "Purple",
362
+ value: "#9333ea"
363
+ },
364
+ {
365
+ label: "Pink",
366
+ value: "#db2777"
367
+ }
368
+ ],
369
+ backgroundColors: [
370
+ {
371
+ label: "None",
372
+ value: null
373
+ },
374
+ {
375
+ label: "Gray",
376
+ value: "#f3f4f6"
377
+ },
378
+ {
379
+ label: "Red",
380
+ value: "#fee2e2"
381
+ },
382
+ {
383
+ label: "Orange",
384
+ value: "#ffedd5"
385
+ },
386
+ {
387
+ label: "Yellow",
388
+ value: "#fef9c3"
389
+ },
390
+ {
391
+ label: "Green",
392
+ value: "#dcfce7"
393
+ },
394
+ {
395
+ label: "Blue",
396
+ value: "#dbeafe"
397
+ },
398
+ {
399
+ label: "Purple",
400
+ value: "#f3e8ff"
401
+ },
402
+ {
403
+ label: "Pink",
404
+ value: "#fce7f3"
405
+ }
406
+ ],
407
+ lineHeights: [
408
+ {
409
+ label: "Default",
410
+ value: null
411
+ },
412
+ {
413
+ label: "Single (1.0)",
414
+ value: "1"
415
+ },
416
+ {
417
+ label: "1.15",
418
+ value: "1.15"
419
+ },
420
+ {
421
+ label: "1.5",
422
+ value: "1.5"
423
+ },
424
+ {
425
+ label: "Double (2.0)",
426
+ value: "2"
427
+ }
428
+ ]
429
+ };
430
+ function resolveTiptapTextStyleToolbarConfig(config) {
431
+ return {
432
+ ...DEFAULT_TIPTAP_TEXT_STYLE_TOOLBAR_CONFIG,
433
+ ...config
434
+ };
435
+ }
436
+ //#endregion
230
437
  //#region ../plugin-kit-tiptap-core/dist/serialization/editor.js
231
438
  var isJsonContent = (value) => {
232
439
  return Boolean(value) && typeof value === "object";
@@ -730,6 +937,7 @@ var HEADING_LEVELS = [
730
937
  6
731
938
  ];
732
939
  function isTiptapButtonName(value) {
940
+ if (isRegisteredTiptapToolbarControl(value)) return true;
733
941
  if (HEADING_LEVELS.some((level) => value === `h${level}`)) return true;
734
942
  return [
735
943
  "bold",
@@ -738,6 +946,11 @@ function isTiptapButtonName(value) {
738
946
  "strikethrough",
739
947
  "subscript",
740
948
  "superscript",
949
+ "small-caps",
950
+ "font-family",
951
+ "font-size",
952
+ "text-color",
953
+ "line-height",
741
954
  "unordered-list",
742
955
  "ordered-list",
743
956
  "blockquote",
@@ -759,6 +972,8 @@ function isTiptapButtonName(value) {
759
972
  ].includes(value);
760
973
  }
761
974
  function isTiptapButtonActive(editor, buttonName) {
975
+ const registered = getRegisteredTiptapToolbarControl(buttonName);
976
+ if (registered) return registered.isActive?.(editor) ?? false;
762
977
  if (!isTiptapButtonName(buttonName)) return false;
763
978
  const headingMatch = buttonName.match(/^h([1-6])$/);
764
979
  if (headingMatch) {
@@ -772,6 +987,7 @@ function isTiptapButtonActive(editor, buttonName) {
772
987
  case "strikethrough": return editor.isActive("strike");
773
988
  case "subscript": return editor.isActive("subscript");
774
989
  case "superscript": return editor.isActive("superscript");
990
+ case "small-caps": return editor.isActive("textStyle", { fontVariantCaps: "small-caps" });
775
991
  case "unordered-list": return editor.isActive("bulletList");
776
992
  case "ordered-list": return editor.isActive("orderedList");
777
993
  case "blockquote": return editor.isActive("blockquote");
@@ -788,6 +1004,8 @@ function isTiptapButtonActive(editor, buttonName) {
788
1004
  }
789
1005
  }
790
1006
  function runTiptapButton(editor, buttonName, options = {}) {
1007
+ const registered = getRegisteredTiptapToolbarControl(buttonName);
1008
+ if (registered) return registered.run(editor) !== false;
791
1009
  if (!isTiptapButtonName(buttonName)) return false;
792
1010
  const chain = editor.chain().focus();
793
1011
  const headingMatch = buttonName.match(/^h([1-6])$/);
@@ -802,6 +1020,7 @@ function runTiptapButton(editor, buttonName, options = {}) {
802
1020
  case "strikethrough": return chain.toggleStrike().run();
803
1021
  case "subscript": return chain.toggleSubscript().run();
804
1022
  case "superscript": return chain.toggleSuperscript().run();
1023
+ case "small-caps": return chain.toggleSmallCaps().run();
805
1024
  case "unordered-list": return chain.toggleBulletList().run();
806
1025
  case "ordered-list": return chain.toggleOrderedList().run();
807
1026
  case "blockquote": return chain.toggleBlockquote().run();
@@ -1626,4 +1845,4 @@ var tiptapContentProseMirrorStyles = i`
1626
1845
  }
1627
1846
  `;
1628
1847
  //#endregion
1629
- export { createTiptapExtensions as A, contentToValue as C, getFatalTiptapContentError as D, valueToContent as E, normalizeContentArray as O, openCraftElementLinkSelector as S, flattenVariableOptions as T, getLinkOpenInNewTab as _, getToolbarGroupDefaultIcon as a, getCraftLinkOptions as b, isFormattingToolbarPreset as c, parseToolbarConfig as d, runToolbarButton as f, getLinkEditState as g, applyLinkToEditor as h, createVariableTagDomNodeView as i, createTiptapInputExtensions as j, valueToContent$1 as k, isHeadingsOnlyToolbarPreset as l, isTiptapButtonActive as m, tiptapInputProseMirrorStyles as n, getToolbarGroupMenuItems as o, toolbarIncludesButton as p, tiptapProseMirrorStyles as r, getToolbarGroupTriggerState as s, tiptapContentProseMirrorStyles as t, isToolbarButtonActive as u, getSelectedText as v, dedupeVariableOptions as w, getLinkOptionsElementSiteId as x, unsetLinkFromEditor as y };
1848
+ export { resolveTiptapTextStyleToolbarConfig as A, contentToValue as C, getFatalTiptapContentError as D, valueToContent as E, createTiptapInputExtensions as M, getRegisteredTiptapToolbarControl as N, normalizeContentArray as O, openCraftElementLinkSelector as S, flattenVariableOptions as T, getLinkOpenInNewTab as _, getToolbarGroupDefaultIcon as a, getCraftLinkOptions as b, isFormattingToolbarPreset as c, parseToolbarConfig as d, runToolbarButton as f, getLinkEditState as g, applyLinkToEditor as h, createVariableTagDomNodeView as i, createTiptapExtensions as j, valueToContent$1 as k, isHeadingsOnlyToolbarPreset as l, isTiptapButtonActive as m, tiptapInputProseMirrorStyles as n, getToolbarGroupMenuItems as o, toolbarIncludesButton as p, tiptapProseMirrorStyles as r, getToolbarGroupTriggerState as s, tiptapContentProseMirrorStyles as t, isToolbarButtonActive as u, getSelectedText as v, dedupeVariableOptions as w, getLinkOptionsElementSiteId as x, unsetLinkFromEditor as y };
@@ -1,18 +1,18 @@
1
1
  import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, s as scrollIntoView, t as LiveRegion, u as isTopDismissible } from "../../chunks/pk-a11y-CjB4-U-R.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 customElement } from "../../chunks/lit-DpLik9Rf.js";
3
3
  import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "../../chunks/pk-base-CyzwylQ7.js";
4
- import { Y as xmark } from "../../chunks/svg-BiAlXtCn.js";
4
+ import { X as xmark } from "../../chunks/svg-Bz-bXZn7.js";
5
5
  import { t as MirrorValidator } from "../../chunks/mirror-validator-C5XrXPaq.js";
6
6
  import { t as HasSlotController } from "../../chunks/has-slot-BGJeJdHr.js";
7
7
  import { t as PkClearEvent } from "../../chunks/pk-clear-BMZUzwDt.js";
8
- import { n as renderIconHtml } from "../../chunks/render-BKfL_WRl.js";
8
+ import { n as renderIconHtml } from "../../chunks/render-Bnzcxfss.js";
9
9
  import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "../../chunks/overlay-lifecycle-C3tSQ3UR.js";
10
10
  import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "../../chunks/popup-placement-animation-WlEXnS85.js";
11
11
  import { t as popupContentAnimationStyles } from "../../chunks/popup-content-animation.styles-duCg9-CH.js";
12
- import "../../chunks/pk-popup-BooGjXgH.js";
13
- import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "../../chunks/popup-pointer-caPc8kwB.js";
14
- import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS } from "../../chunks/sync-listbox-separators-Dk_E_IVa.js";
15
- import { i as waitForPopupContentExitAnimation, n as AsyncOptionFetcher, r as syncFilteredOptions, t as matchesOptionFilter } from "../../chunks/option-filter-Z7bomRrK.js";
12
+ import "../../chunks/pk-popup-CrxxR-Hb.js";
13
+ import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "../../chunks/popup-pointer-Ck28WdVP.js";
14
+ import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS } from "../../chunks/sync-listbox-separators-Ch5krDUs.js";
15
+ import { i as waitForPopupContentExitAnimation, n as AsyncOptionFetcher, r as syncFilteredOptions, t as matchesOptionFilter } from "../../chunks/option-filter-Bc5aNNT0.js";
16
16
  //#region src/components/autocomplete/pk-autocomplete.styles.ts
17
17
  /**
18
18
  * Autocomplete chrome matches `pk-input` (text field), not Combobox’s slate
@@ -1,2 +1,2 @@
1
- import { t as PkButton } from "../../chunks/pk-button-dngp-vOd.js";
1
+ import { t as PkButton } from "../../chunks/pk-button-saBDszJV.js";
2
2
  export { PkButton };
@@ -1,2 +1,2 @@
1
- import { t as PkCalendar } from "../../chunks/pk-calendar-BE4HRfCq.js";
1
+ import { t as PkCalendar } from "../../chunks/pk-calendar-BrF8i3dW.js";
2
2
  export { PkCalendar };
@@ -2,12 +2,12 @@ import { c as r, l as n, m as i, p as b, s as e, u as customElement } from "../.
2
2
  import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles } from "../../chunks/pk-base-CyzwylQ7.js";
3
3
  import { t as MirrorValidator } from "../../chunks/mirror-validator-C5XrXPaq.js";
4
4
  import { T as EditorState, _ as highlightActiveLine, a as html, b as keymap, c as closeBracketsKeymap, d as defaultHighlightStyle, f as indentOnInput, g as drawSelection, h as EditorView, i as json, l as css, m as syntaxHighlighting, n as history, o as javascript, p as indentUnit, r as historyKeymap, s as closeBrackets, t as defaultKeymap, u as bracketMatching, v as highlightActiveLineGutter, w as Compartment, x as lineNumbers, y as highlightSpecialChars } from "../../chunks/codemirror-CSgOT0QM.js";
5
- //#region node_modules/@verbb/plugin-kit-codemirror-core/dist/constants.js
5
+ //#region @verbb/plugin-kit-codemirror-core/dist/constants.js
6
6
  function computeCodeEditorMinHeight(rows = 12) {
7
7
  return `${Math.max(Number(rows) || 12, 4) * 18 + 12}px`;
8
8
  }
9
9
  //#endregion
10
- //#region node_modules/@verbb/plugin-kit-codemirror-core/dist/languages.js
10
+ //#region @verbb/plugin-kit-codemirror-core/dist/languages.js
11
11
  function languageUsesSyntaxHelpers(language) {
12
12
  return language !== "text";
13
13
  }
@@ -21,7 +21,7 @@ function createLanguageExtension(language) {
21
21
  }
22
22
  }
23
23
  //#endregion
24
- //#region node_modules/@verbb/plugin-kit-codemirror-core/dist/theme.js
24
+ //#region @verbb/plugin-kit-codemirror-core/dist/theme.js
25
25
  /** Editor content surface — matches @uiw/react-codemirror default light theme. */
26
26
  var CODE_EDITOR_SURFACE_BG = "#ffffff";
27
27
  /** Gutter strip beside line numbers. */
@@ -71,7 +71,7 @@ var codeEditorTheme = EditorView.theme({
71
71
  ".cm-selectionBackground, &.cm-focused .cm-selectionBackground, ::selection": { backgroundColor: `rgba(59, 130, 246, 0.35) !important` }
72
72
  });
73
73
  //#endregion
74
- //#region node_modules/@verbb/plugin-kit-codemirror-core/dist/extensions.js
74
+ //#region @verbb/plugin-kit-codemirror-core/dist/extensions.js
75
75
  function createEditorSetupExtensions(language, showLineNumbers) {
76
76
  const usesSyntaxHelpers = languageUsesSyntaxHelpers(language);
77
77
  const extensions = [
@@ -118,7 +118,7 @@ function createCodeEditorExtensions({ language = "html", tabSize = 4, lineNumber
118
118
  return extensions;
119
119
  }
120
120
  //#endregion
121
- //#region node_modules/@verbb/plugin-kit-codemirror-core/dist/host.js
121
+ //#region @verbb/plugin-kit-codemirror-core/dist/host.js
122
122
  var CodeMirrorHost = class {
123
123
  view = null;
124
124
  editableCompartment = new Compartment();
@@ -1,2 +1,2 @@
1
- import { t as PkCombobox } from "../../chunks/pk-combobox-DMBKXPLB.js";
1
+ import { t as PkCombobox } from "../../chunks/pk-combobox-Cpx0w1KV.js";
2
2
  export { PkCombobox };
@@ -1,8 +1,8 @@
1
1
  import { c as r, d as i, l as n, p as b, u as customElement } from "../../chunks/lit-DpLik9Rf.js";
2
2
  import { c as __decorate } from "../../chunks/pk-base-CyzwylQ7.js";
3
- import "../../chunks/pk-button-dngp-vOd.js";
4
- import { c as watchCpFormDirty, s as submitCpFormAction, t as pkConnectStyles } from "../../chunks/pk-connect.styles-Bfgwu0VH.js";
5
- import "../../chunks/pk-status-D3ArH2ui.js";
3
+ import "../../chunks/pk-button-saBDszJV.js";
4
+ import { c as watchCpFormDirty, s as submitCpFormAction, t as pkConnectStyles } from "../../chunks/pk-connect.styles-k61snd3X.js";
5
+ import "../../chunks/pk-status-D2g_77m_.js";
6
6
  //#region src/components/connect/pk-connect-oauth.ts
7
7
  var PkConnectOauth = class PkConnectOauth extends i {
8
8
  constructor(..._args) {
@@ -1,10 +1,10 @@
1
1
  import { c as r, d as i, f as A, l as n, p as b, u as customElement } from "../../chunks/lit-DpLik9Rf.js";
2
2
  import { c as __decorate } from "../../chunks/pk-base-CyzwylQ7.js";
3
- import "../../chunks/pk-icon-B5ob3JdK.js";
4
- import "../../chunks/pk-button-dngp-vOd.js";
5
- import "../../chunks/pk-dialog-B6lzsRur.js";
6
- import { a as sendCpConnectRequest, c as watchCpFormDirty, i as resolveConnectError, n as buildConnectPayload, o as serializeCpForm, r as escapeCpHtml, t as pkConnectStyles } from "../../chunks/pk-connect.styles-Bfgwu0VH.js";
7
- import "../../chunks/pk-status-D3ArH2ui.js";
3
+ import "../../chunks/pk-icon-Bph-EBqp.js";
4
+ import "../../chunks/pk-button-saBDszJV.js";
5
+ import "../../chunks/pk-dialog-C6aaPokv.js";
6
+ import { a as sendCpConnectRequest, c as watchCpFormDirty, i as resolveConnectError, n as buildConnectPayload, o as serializeCpForm, r as escapeCpHtml, t as pkConnectStyles } from "../../chunks/pk-connect.styles-k61snd3X.js";
7
+ import "../../chunks/pk-status-D2g_77m_.js";
8
8
  //#region src/components/connect/pk-connect.ts
9
9
  var pkStatusForState = (status) => {
10
10
  if (status === "connected") return "on";
@@ -1,8 +1,8 @@
1
1
  import { c as r, l as n, m as i, o, p as b, u as customElement } from "../../chunks/lit-DpLik9Rf.js";
2
2
  import { c as __decorate, l as PkElement } from "../../chunks/pk-base-CyzwylQ7.js";
3
- import { m as check } from "../../chunks/svg-BiAlXtCn.js";
4
- import "../../chunks/pk-button-dngp-vOd.js";
5
- import { n as renderIconHtml } from "../../chunks/render-BKfL_WRl.js";
3
+ import { m as check } from "../../chunks/svg-Bz-bXZn7.js";
4
+ import "../../chunks/pk-button-saBDszJV.js";
5
+ import { n as renderIconHtml } from "../../chunks/render-Bnzcxfss.js";
6
6
  //#region src/events/pk-copy.ts
7
7
  /** Emitted when copy-button successfully copies text. */
8
8
  var PkCopyEvent = class extends Event {
@@ -1,2 +1,2 @@
1
- import { t as PkDatePicker } from "../../chunks/pk-date-picker-wntQmeIM.js";
1
+ import { t as PkDatePicker } from "../../chunks/pk-date-picker-DEoiTOxN.js";
2
2
  export { PkDatePicker };
@@ -1,2 +1,2 @@
1
- import { t as PkDialog } from "../../chunks/pk-dialog-B6lzsRur.js";
1
+ import { t as PkDialog } from "../../chunks/pk-dialog-C6aaPokv.js";
2
2
  export { PkDialog };
@@ -1,2 +1,2 @@
1
- import { t as PkDropdownItem } from "../../chunks/pk-dropdown-item-DJ5TeF1r.js";
1
+ import { t as PkDropdownItem } from "../../chunks/pk-dropdown-item-D8RrwjxL.js";
2
2
  export { PkDropdownItem };
@@ -1,51 +1,2 @@
1
- import { m as i, p as b, u as customElement } from "../../chunks/lit-DpLik9Rf.js";
2
- import { c as __decorate, l as PkElement } from "../../chunks/pk-base-CyzwylQ7.js";
3
- //#region src/components/dropdown-menu/pk-dropdown-label.styles.ts
4
- var pkDropdownLabelStyles = i`
5
- @layer pk-component {
6
- :host {
7
- display: block;
8
- /*
9
- * Slotted label copy inherits through the flat tree from this host
10
- * when page metrics would otherwise leak via font:inherit chains.
11
- */
12
- font-size: var(--pk-dropdown-label-font-size, 13px);
13
- line-height: 1.3;
14
- color: var(--pk-color-slate-700, rgba(96, 125, 159, 0.7));
15
- }
16
-
17
- /* Match v1 DropdownMenuLabel — text-slate-700, regular weight (not medium). */
18
- .label {
19
- margin: 0;
20
- padding-block-start: 6px;
21
- padding-block-end: 4px;
22
- padding-inline: var(--pk-dropdown-label-padding-inline, 12px);
23
- color: inherit;
24
- font: inherit;
25
- font-weight: 400;
26
- user-select: none;
27
- pointer-events: none;
28
- }
29
- }
30
- `;
31
- //#endregion
32
- //#region src/components/dropdown-menu/pk-dropdown-label.ts
33
- var PkDropdownLabel = class PkDropdownLabel extends PkElement {
34
- static {
35
- this.styles = pkDropdownLabelStyles;
36
- }
37
- connectedCallback() {
38
- super.connectedCallback();
39
- this.setAttribute("role", "presentation");
40
- }
41
- render() {
42
- return b`
43
- <div part="label" class="label">
44
- <slot></slot>
45
- </div>
46
- `;
47
- }
48
- };
49
- PkDropdownLabel = __decorate([customElement("pk-dropdown-label")], PkDropdownLabel);
50
- //#endregion
1
+ import { t as PkDropdownLabel } from "../../chunks/pk-dropdown-label-Cg32UgRe.js";
51
2
  export { PkDropdownLabel };
@@ -1,2 +1,2 @@
1
- import { t as PkDropdownMenu } from "../../chunks/pk-dropdown-menu-B87bsdlI.js";
1
+ import { t as PkDropdownMenu } from "../../chunks/pk-dropdown-menu-CAHCltlX.js";
2
2
  export { PkDropdownMenu };
@@ -1,22 +1,22 @@
1
1
  import { c as r, f as A, i as e, l as n, m as i, o, p as b, t as c, u as customElement } from "../../chunks/lit-DpLik9Rf.js";
2
2
  import { c as __decorate, i as PkFormAssociatedElement } from "../../chunks/pk-base-CyzwylQ7.js";
3
- import { B as plus, C as gripMove, S as gear, Y as xmark, b as ellipsis, l as arrowUp, o as arrowDown } from "../../chunks/svg-BiAlXtCn.js";
3
+ import { B as plus, C as gripMove, S as gear, X as xmark, b as ellipsis, l as arrowUp, o as arrowDown } from "../../chunks/svg-Bz-bXZn7.js";
4
4
  import { t as getIcon } from "../../chunks/registry-BanyScVR.js";
5
- import "../../chunks/pk-button-dngp-vOd.js";
5
+ import "../../chunks/pk-button-saBDszJV.js";
6
6
  import { t as RequiredValidator } from "../../chunks/required-validator-0XwZtX9k.js";
7
7
  import "../../chunks/pk-checkbox-B3d4nkBx.js";
8
8
  import "../../chunks/pk-color-input-CD-r_sfG.js";
9
9
  import "../../chunks/pk-input-BhU0PiCk.js";
10
10
  import "../../chunks/pk-textarea-CC7rA5A7.js";
11
- import { n as renderIconHtml } from "../../chunks/render-BKfL_WRl.js";
12
- import "../../chunks/pk-dropdown-item-DJ5TeF1r.js";
13
- import "../../chunks/pk-dropdown-menu-B87bsdlI.js";
14
- import "../../chunks/pk-lightswitch-DRxY8511.js";
15
- import "../../chunks/pk-option-Cc6QWw-0.js";
16
- import "../../chunks/pk-select-BG8qPsBd.js";
17
- import "../../chunks/pk-date-picker-wntQmeIM.js";
18
- import "../../chunks/pk-combobox-DMBKXPLB.js";
19
- import "../../chunks/pk-time-picker-CDVFNhN7.js";
11
+ import { n as renderIconHtml } from "../../chunks/render-Bnzcxfss.js";
12
+ import "../../chunks/pk-dropdown-item-D8RrwjxL.js";
13
+ import "../../chunks/pk-dropdown-menu-CAHCltlX.js";
14
+ import "../../chunks/pk-lightswitch-m23Cy3_D.js";
15
+ import "../../chunks/pk-option-BrDMERSl.js";
16
+ import "../../chunks/pk-select-Dok-JdSe.js";
17
+ import "../../chunks/pk-date-picker-DEoiTOxN.js";
18
+ import "../../chunks/pk-combobox-Cpx0w1KV.js";
19
+ import "../../chunks/pk-time-picker-h5Wgd4a_.js";
20
20
  //#region src/components/editable-table/editable-table-dnd.ts
21
21
  /**
22
22
  * Table-native pointer drag for `<pk-editable-table>` rows.
@@ -1241,7 +1241,12 @@ var PkEditableTable = class PkEditableTable extends PkFormAssociatedElement {
1241
1241
  moveRow(rowIndex, direction) {
1242
1242
  const target = rowIndex + direction;
1243
1243
  if (this.disabled || target < 0 || target >= this.internalRows.length) return;
1244
+ const rowId = String(this.internalRows[rowIndex]._id);
1245
+ const trigger = this.renderRoot.querySelector(`tr[data-row-id="${CSS.escape(rowId)}"] pk-button[slot="trigger"]`);
1244
1246
  this.commitReorder(rowIndex, target);
1247
+ this.updateComplete.then(() => {
1248
+ if (trigger?.isConnected) trigger.focus({ preventScroll: true });
1249
+ });
1245
1250
  }
1246
1251
  commitReorder(fromIndex, toIndex) {
1247
1252
  if (this.disabled || fromIndex === toIndex || fromIndex < 0 || toIndex < 0 || fromIndex >= this.internalRows.length || toIndex >= this.internalRows.length) return;
@@ -1496,7 +1501,7 @@ var PkEditableTable = class PkEditableTable extends PkFormAssociatedElement {
1496
1501
  radio-group=${item.radioGroup ?? A}
1497
1502
  ?checked=${Boolean(item.checked)}
1498
1503
  ?disabled=${this.disabled || Boolean(item.disabled)}
1499
- @click=${() => {
1504
+ @pk-select=${() => {
1500
1505
  if (this.disabled || item.disabled) return;
1501
1506
  this.dispatchEvent(new CustomEvent("pk-row-menu-select", {
1502
1507
  detail: {
@@ -1577,7 +1582,7 @@ var PkEditableTable = class PkEditableTable extends PkFormAssociatedElement {
1577
1582
  ${this.allowInsert ? b`
1578
1583
  <pk-dropdown-item
1579
1584
  ?disabled=${insertDisabled}
1580
- @click=${() => {
1585
+ @pk-select=${() => {
1581
1586
  this.insertRowAt(rowIndex);
1582
1587
  }}
1583
1588
  >
@@ -1586,7 +1591,7 @@ var PkEditableTable = class PkEditableTable extends PkFormAssociatedElement {
1586
1591
  </pk-dropdown-item>
1587
1592
  <pk-dropdown-item
1588
1593
  ?disabled=${insertDisabled}
1589
- @click=${() => {
1594
+ @pk-select=${() => {
1590
1595
  this.insertRowAt(rowIndex + 1);
1591
1596
  }}
1592
1597
  >
@@ -1596,7 +1601,7 @@ var PkEditableTable = class PkEditableTable extends PkFormAssociatedElement {
1596
1601
  ${this.allowReorder ? b`
1597
1602
  <pk-dropdown-item
1598
1603
  ?disabled=${this.disabled || rowIndex === 0}
1599
- @click=${() => {
1604
+ @pk-select=${() => {
1600
1605
  this.moveRow(rowIndex, -1);
1601
1606
  }}
1602
1607
  >
@@ -1605,7 +1610,7 @@ var PkEditableTable = class PkEditableTable extends PkFormAssociatedElement {
1605
1610
  </pk-dropdown-item>
1606
1611
  <pk-dropdown-item
1607
1612
  ?disabled=${this.disabled || rowIndex === rowCount - 1}
1608
- @click=${() => {
1613
+ @pk-select=${() => {
1609
1614
  this.moveRow(rowIndex, 1);
1610
1615
  }}
1611
1616
  >
@@ -1,2 +1,2 @@
1
- import { t as PkField } from "../../chunks/pk-field-D_SNOJpl.js";
1
+ import { t as PkField } from "../../chunks/pk-field-V7JOy26T.js";
2
2
  export { PkField };
@@ -1,6 +1,6 @@
1
- import { M as icons } from "../../chunks/svg-BiAlXtCn.js";
1
+ import { M as icons } from "../../chunks/svg-Bz-bXZn7.js";
2
2
  import { n as normalizeIconName, r as registerIcons } from "../../chunks/registry-BanyScVR.js";
3
- import "../../chunks/pk-icon-B5ob3JdK.js";
3
+ import "../../chunks/pk-icon-Bph-EBqp.js";
4
4
  //#region ../plugin-kit-icons/dist/all.js
5
5
  /**
6
6
  * Side-effect entry: register every curated icon for `<pk-icon icon="…">` lookup.
@@ -2,17 +2,17 @@ import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, s
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 customElement } from "../../chunks/lit-DpLik9Rf.js";
3
3
  import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "../../chunks/pk-base-CyzwylQ7.js";
4
4
  import "../../chunks/pk-spinner-BKU9Rf2R.js";
5
- import { Y as xmark, h as chevronDown } from "../../chunks/svg-BiAlXtCn.js";
5
+ import { X as xmark, h as chevronDown } from "../../chunks/svg-Bz-bXZn7.js";
6
6
  import { t as MirrorValidator } from "../../chunks/mirror-validator-C5XrXPaq.js";
7
7
  import { t as RequiredValidator } from "../../chunks/required-validator-0XwZtX9k.js";
8
8
  import { t as PkClearEvent } from "../../chunks/pk-clear-BMZUzwDt.js";
9
- import { n as renderIconHtml } from "../../chunks/render-BKfL_WRl.js";
9
+ import { n as renderIconHtml } from "../../chunks/render-Bnzcxfss.js";
10
10
  import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "../../chunks/overlay-lifecycle-C3tSQ3UR.js";
11
11
  import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "../../chunks/popup-placement-animation-WlEXnS85.js";
12
12
  import { t as popupContentAnimationStyles } from "../../chunks/popup-content-animation.styles-duCg9-CH.js";
13
- import "../../chunks/pk-popup-BooGjXgH.js";
14
- import "../../chunks/pk-tooltip-BS2dNLOS.js";
15
- import { n as isPointerInsideOverlay } from "../../chunks/popup-pointer-caPc8kwB.js";
13
+ import "../../chunks/pk-popup-CrxxR-Hb.js";
14
+ import "../../chunks/pk-tooltip-Dd_Q0Bn5.js";
15
+ import { n as isPointerInsideOverlay } from "../../chunks/popup-pointer-Ck28WdVP.js";
16
16
  //#region src/components/image-browser/pk-image-browser.styles.ts
17
17
  /**
18
18
  * Presentational static image / icon browser.
@@ -209,7 +209,7 @@ var PkInputGroup = class PkInputGroup extends PkElement {
209
209
  this.toggleAttribute("data-block-layout", blockLayout);
210
210
  }
211
211
  /**
212
- * Mirror control invalid/disabled onto the host so shadow styles can paint shell chrome
212
+ * Mirror control invalid/disabled onto the host so shadow styles can paint the shell
213
213
  * without `:host(:has(…))` (unreliable for light-DOM slotted children in Chromium).
214
214
  */
215
215
  syncControlChromeState() {