@kubex/zinc 1.1.79 → 1.1.80

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 (31) hide show
  1. package/dist/custom-elements.json +1095 -76
  2. package/dist/vscode.html-custom-data.json +186 -12
  3. package/dist/web-types.json +418 -24
  4. package/dist/zn.d.ts +384 -0
  5. package/dist/zn.min.js +350 -295
  6. package/docs/pages/components/inline-edit.md +21 -0
  7. package/docs/pages/components/slash-item.md +126 -0
  8. package/docs/pages/components/slash-menu.md +168 -0
  9. package/docs/pages/components/textarea.md +148 -0
  10. package/docs/pages/components/translations.md +34 -0
  11. package/package.json +1 -1
  12. package/src/components/inline-edit/inline-edit.component.ts +31 -0
  13. package/src/components/inline-edit/inline-edit.test.ts +83 -1
  14. package/src/components/slash-item/index.ts +12 -0
  15. package/src/components/slash-item/slash-item.component.ts +76 -0
  16. package/src/components/slash-item/slash-item.scss +5 -0
  17. package/src/components/slash-menu/index.ts +14 -0
  18. package/src/components/slash-menu/slash-menu-controller.ts +361 -0
  19. package/src/components/slash-menu/slash-menu-items.ts +122 -0
  20. package/src/components/slash-menu/slash-menu.component.ts +305 -0
  21. package/src/components/slash-menu/slash-menu.scss +120 -0
  22. package/src/components/slash-menu/slash-menu.test.ts +154 -0
  23. package/src/components/textarea/textarea.component.ts +143 -0
  24. package/src/components/textarea/textarea.test.ts +310 -2
  25. package/src/components/translations/translations.component.ts +31 -0
  26. package/src/components/translations/translations.test.ts +89 -1
  27. package/src/events/events.ts +2 -0
  28. package/src/events/zn-slash-insert.ts +9 -0
  29. package/src/events/zn-slash-select.ts +9 -0
  30. package/src/utilities/caret-position.ts +118 -0
  31. package/src/zinc.ts +3 -0
@@ -47,6 +47,79 @@
47
47
  }
48
48
  ]
49
49
  },
50
+ {
51
+ "kind": "javascript-module",
52
+ "path": "components/action-bar/action-bar.js",
53
+ "declarations": [
54
+ {
55
+ "kind": "class",
56
+ "description": "",
57
+ "name": "ZnActionBar",
58
+ "cssProperties": [
59
+ {
60
+ "description": "An example CSS custom property.",
61
+ "name": "--example"
62
+ }
63
+ ],
64
+ "cssParts": [
65
+ {
66
+ "description": "The component's base wrapper.",
67
+ "name": "base"
68
+ }
69
+ ],
70
+ "slots": [
71
+ {
72
+ "description": "The default slot.",
73
+ "name": ""
74
+ },
75
+ {
76
+ "description": "An example slot.",
77
+ "name": "example"
78
+ }
79
+ ],
80
+ "members": [
81
+ {
82
+ "kind": "field",
83
+ "name": "localize",
84
+ "privacy": "private",
85
+ "readonly": true,
86
+ "default": "new LocalizeController(this)"
87
+ }
88
+ ],
89
+ "events": [
90
+ {
91
+ "description": "Emitted as an example.",
92
+ "name": "zn-event-name"
93
+ }
94
+ ],
95
+ "superclass": {
96
+ "name": "ZincElement",
97
+ "module": "/src/internal/zinc-element"
98
+ },
99
+ "summary": "Short summary of the component's intended use.",
100
+ "tagNameWithoutPrefix": "action-bar",
101
+ "tagName": "zn-action-bar",
102
+ "customElement": true,
103
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
104
+ "documentation": "https://zinc.style/components/action-bar",
105
+ "status": "experimental",
106
+ "since": "1.0",
107
+ "dependencies": [
108
+ "zn-example"
109
+ ]
110
+ }
111
+ ],
112
+ "exports": [
113
+ {
114
+ "kind": "js",
115
+ "name": "default",
116
+ "declaration": {
117
+ "name": "ZnActionBar",
118
+ "module": "components/action-bar/action-bar.js"
119
+ }
120
+ }
121
+ ]
122
+ },
50
123
  {
51
124
  "kind": "javascript-module",
52
125
  "path": "components/alert/alert.js",
@@ -241,79 +314,6 @@
241
314
  }
242
315
  ]
243
316
  },
244
- {
245
- "kind": "javascript-module",
246
- "path": "components/action-bar/action-bar.js",
247
- "declarations": [
248
- {
249
- "kind": "class",
250
- "description": "",
251
- "name": "ZnActionBar",
252
- "cssProperties": [
253
- {
254
- "description": "An example CSS custom property.",
255
- "name": "--example"
256
- }
257
- ],
258
- "cssParts": [
259
- {
260
- "description": "The component's base wrapper.",
261
- "name": "base"
262
- }
263
- ],
264
- "slots": [
265
- {
266
- "description": "The default slot.",
267
- "name": ""
268
- },
269
- {
270
- "description": "An example slot.",
271
- "name": "example"
272
- }
273
- ],
274
- "members": [
275
- {
276
- "kind": "field",
277
- "name": "localize",
278
- "privacy": "private",
279
- "readonly": true,
280
- "default": "new LocalizeController(this)"
281
- }
282
- ],
283
- "events": [
284
- {
285
- "description": "Emitted as an example.",
286
- "name": "zn-event-name"
287
- }
288
- ],
289
- "superclass": {
290
- "name": "ZincElement",
291
- "module": "/src/internal/zinc-element"
292
- },
293
- "summary": "Short summary of the component's intended use.",
294
- "tagNameWithoutPrefix": "action-bar",
295
- "tagName": "zn-action-bar",
296
- "customElement": true,
297
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
298
- "documentation": "https://zinc.style/components/action-bar",
299
- "status": "experimental",
300
- "since": "1.0",
301
- "dependencies": [
302
- "zn-example"
303
- ]
304
- }
305
- ],
306
- "exports": [
307
- {
308
- "kind": "js",
309
- "name": "default",
310
- "declaration": {
311
- "name": "ZnActionBar",
312
- "module": "components/action-bar/action-bar.js"
313
- }
314
- }
315
- ]
316
- },
317
317
  {
318
318
  "kind": "javascript-module",
319
319
  "path": "components/animated-button/animated-button.js",
@@ -17571,6 +17571,54 @@
17571
17571
  },
17572
17572
  "attribute": "textarea-rows"
17573
17573
  },
17574
+ {
17575
+ "kind": "field",
17576
+ "name": "slashItems",
17577
+ "type": {
17578
+ "text": "SlashMenuItem[]"
17579
+ },
17580
+ "default": "[]",
17581
+ "description": "Quick insertions offered by the slash menu of a `textarea` input. Accepts a JSON array of items, or the\nshorthand `Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Forwarded to the inner `zn-textarea`.",
17582
+ "attribute": "slash-items"
17583
+ },
17584
+ {
17585
+ "kind": "field",
17586
+ "name": "slashPreset",
17587
+ "type": {
17588
+ "text": "string"
17589
+ },
17590
+ "default": "''",
17591
+ "description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
17592
+ "attribute": "slash-preset"
17593
+ },
17594
+ {
17595
+ "kind": "field",
17596
+ "name": "slashTrigger",
17597
+ "type": {
17598
+ "text": "string"
17599
+ },
17600
+ "default": "'/'",
17601
+ "description": "The characters that open the slash menu.",
17602
+ "attribute": "slash-trigger"
17603
+ },
17604
+ {
17605
+ "kind": "field",
17606
+ "name": "slashHeading",
17607
+ "type": {
17608
+ "text": "string"
17609
+ },
17610
+ "default": "'Insert'",
17611
+ "description": "The heading shown above the slash menu's items.",
17612
+ "attribute": "slash-heading"
17613
+ },
17614
+ {
17615
+ "kind": "field",
17616
+ "name": "slashItemsProvider",
17617
+ "type": {
17618
+ "text": "(query: string) => SlashMenuItem[] | Promise<SlashMenuItem[]> | undefined"
17619
+ },
17620
+ "description": "Resolves additional slash menu items each time the menu opens. JavaScript only."
17621
+ },
17574
17622
  {
17575
17623
  "kind": "field",
17576
17624
  "name": "options",
@@ -18031,6 +18079,42 @@
18031
18079
  },
18032
18080
  "fieldName": "textareaRows"
18033
18081
  },
18082
+ {
18083
+ "name": "slash-items",
18084
+ "type": {
18085
+ "text": "SlashMenuItem[]"
18086
+ },
18087
+ "default": "[]",
18088
+ "description": "Quick insertions offered by the slash menu of a `textarea` input. Accepts a JSON array of items, or the\nshorthand `Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Forwarded to the inner `zn-textarea`.",
18089
+ "fieldName": "slashItems"
18090
+ },
18091
+ {
18092
+ "name": "slash-preset",
18093
+ "type": {
18094
+ "text": "string"
18095
+ },
18096
+ "default": "''",
18097
+ "description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
18098
+ "fieldName": "slashPreset"
18099
+ },
18100
+ {
18101
+ "name": "slash-trigger",
18102
+ "type": {
18103
+ "text": "string"
18104
+ },
18105
+ "default": "'/'",
18106
+ "description": "The characters that open the slash menu.",
18107
+ "fieldName": "slashTrigger"
18108
+ },
18109
+ {
18110
+ "name": "slash-heading",
18111
+ "type": {
18112
+ "text": "string"
18113
+ },
18114
+ "default": "'Insert'",
18115
+ "description": "The heading shown above the slash menu's items.",
18116
+ "fieldName": "slashHeading"
18117
+ },
18034
18118
  {
18035
18119
  "name": "options",
18036
18120
  "type": {
@@ -36218,6 +36302,670 @@
36218
36302
  }
36219
36303
  ]
36220
36304
  },
36305
+ {
36306
+ "kind": "javascript-module",
36307
+ "path": "components/slash-item/slash-item.js",
36308
+ "declarations": [
36309
+ {
36310
+ "kind": "class",
36311
+ "description": "",
36312
+ "name": "ZnSlashItem",
36313
+ "slots": [
36314
+ {
36315
+ "description": "The text to insert, for values that are long or span multiple lines. Ignored when the `value` attribute is set.",
36316
+ "name": ""
36317
+ }
36318
+ ],
36319
+ "members": [
36320
+ {
36321
+ "kind": "field",
36322
+ "name": "label",
36323
+ "type": {
36324
+ "text": "string"
36325
+ },
36326
+ "default": "''",
36327
+ "description": "The text shown in the menu.",
36328
+ "attribute": "label"
36329
+ },
36330
+ {
36331
+ "kind": "field",
36332
+ "name": "value",
36333
+ "type": {
36334
+ "text": "string"
36335
+ },
36336
+ "description": "The text inserted into the field. Falls back to this element's text content.",
36337
+ "attribute": "value"
36338
+ },
36339
+ {
36340
+ "kind": "field",
36341
+ "name": "icon",
36342
+ "type": {
36343
+ "text": "string"
36344
+ },
36345
+ "description": "Icon shown against the item, e.g. `tag@lu`.",
36346
+ "attribute": "icon"
36347
+ },
36348
+ {
36349
+ "kind": "field",
36350
+ "name": "description",
36351
+ "type": {
36352
+ "text": "string"
36353
+ },
36354
+ "description": "Supporting text shown under the label.",
36355
+ "attribute": "description"
36356
+ },
36357
+ {
36358
+ "kind": "field",
36359
+ "name": "keywords",
36360
+ "type": {
36361
+ "text": "string"
36362
+ },
36363
+ "description": "Extra terms the item can be found by, comma separated.",
36364
+ "attribute": "keywords"
36365
+ },
36366
+ {
36367
+ "kind": "field",
36368
+ "name": "group",
36369
+ "type": {
36370
+ "text": "string"
36371
+ },
36372
+ "description": "Heading the item is listed under.",
36373
+ "attribute": "group"
36374
+ },
36375
+ {
36376
+ "kind": "field",
36377
+ "name": "order",
36378
+ "type": {
36379
+ "text": "number"
36380
+ },
36381
+ "description": "Overrides the item's position in the menu. Lower sorts first.",
36382
+ "attribute": "order"
36383
+ },
36384
+ {
36385
+ "kind": "field",
36386
+ "name": "caretOffset",
36387
+ "type": {
36388
+ "text": "number"
36389
+ },
36390
+ "description": "Where the caret lands after insertion, as an offset into the inserted value.",
36391
+ "attribute": "caret-offset"
36392
+ },
36393
+ {
36394
+ "kind": "field",
36395
+ "name": "action",
36396
+ "type": {
36397
+ "text": "string"
36398
+ },
36399
+ "description": "Identifier passed through on `zn-slash-select`, for items that do something other than insert.",
36400
+ "attribute": "action"
36401
+ },
36402
+ {
36403
+ "kind": "field",
36404
+ "name": "disabled",
36405
+ "type": {
36406
+ "text": "boolean"
36407
+ },
36408
+ "default": "false",
36409
+ "description": "Listed, but not selectable.",
36410
+ "attribute": "disabled",
36411
+ "reflects": true
36412
+ },
36413
+ {
36414
+ "kind": "method",
36415
+ "name": "toSlashMenuItem",
36416
+ "return": {
36417
+ "type": {
36418
+ "text": "SlashMenuItem"
36419
+ }
36420
+ },
36421
+ "description": "The item as the slash menu consumes it."
36422
+ },
36423
+ {
36424
+ "kind": "field",
36425
+ "name": "insertValue",
36426
+ "type": {
36427
+ "text": "string"
36428
+ },
36429
+ "privacy": "private",
36430
+ "readonly": true
36431
+ }
36432
+ ],
36433
+ "attributes": [
36434
+ {
36435
+ "name": "label",
36436
+ "type": {
36437
+ "text": "string"
36438
+ },
36439
+ "default": "''",
36440
+ "description": "The text shown in the menu.",
36441
+ "fieldName": "label"
36442
+ },
36443
+ {
36444
+ "name": "value",
36445
+ "type": {
36446
+ "text": "string"
36447
+ },
36448
+ "description": "The text inserted into the field. Falls back to this element's text content.",
36449
+ "fieldName": "value"
36450
+ },
36451
+ {
36452
+ "name": "icon",
36453
+ "type": {
36454
+ "text": "string"
36455
+ },
36456
+ "description": "Icon shown against the item, e.g. `tag@lu`.",
36457
+ "fieldName": "icon"
36458
+ },
36459
+ {
36460
+ "name": "description",
36461
+ "type": {
36462
+ "text": "string"
36463
+ },
36464
+ "description": "Supporting text shown under the label.",
36465
+ "fieldName": "description"
36466
+ },
36467
+ {
36468
+ "name": "keywords",
36469
+ "type": {
36470
+ "text": "string"
36471
+ },
36472
+ "description": "Extra terms the item can be found by, comma separated.",
36473
+ "fieldName": "keywords"
36474
+ },
36475
+ {
36476
+ "name": "group",
36477
+ "type": {
36478
+ "text": "string"
36479
+ },
36480
+ "description": "Heading the item is listed under.",
36481
+ "fieldName": "group"
36482
+ },
36483
+ {
36484
+ "name": "order",
36485
+ "type": {
36486
+ "text": "number"
36487
+ },
36488
+ "description": "Overrides the item's position in the menu. Lower sorts first.",
36489
+ "fieldName": "order"
36490
+ },
36491
+ {
36492
+ "name": "caret-offset",
36493
+ "type": {
36494
+ "text": "number"
36495
+ },
36496
+ "description": "Where the caret lands after insertion, as an offset into the inserted value.",
36497
+ "fieldName": "caretOffset"
36498
+ },
36499
+ {
36500
+ "name": "action",
36501
+ "type": {
36502
+ "text": "string"
36503
+ },
36504
+ "description": "Identifier passed through on `zn-slash-select`, for items that do something other than insert.",
36505
+ "fieldName": "action"
36506
+ },
36507
+ {
36508
+ "name": "disabled",
36509
+ "type": {
36510
+ "text": "boolean"
36511
+ },
36512
+ "default": "false",
36513
+ "description": "Listed, but not selectable.",
36514
+ "fieldName": "disabled"
36515
+ }
36516
+ ],
36517
+ "superclass": {
36518
+ "name": "ZincElement",
36519
+ "module": "/src/internal/zinc-element"
36520
+ },
36521
+ "summary": "Declares a single insertion for a slash menu. Renders nothing itself — it describes an\nentry for the component it is slotted into, e.g. `<zn-textarea>`'s `slash-items` slot.",
36522
+ "tagNameWithoutPrefix": "slash-item",
36523
+ "tagName": "zn-slash-item",
36524
+ "customElement": true,
36525
+ "jsDoc": "/**\n * @summary Declares a single insertion for a slash menu. Renders nothing itself — it describes an\n * entry for the component it is slotted into, e.g. `<zn-textarea>`'s `slash-items` slot.\n * @documentation https://zinc.style/components/slash-item\n * @status experimental\n * @since 1.1\n *\n * @slot - The text to insert, for values that are long or span multiple lines. Ignored when the\n * `value` attribute is set.\n */",
36526
+ "documentation": "https://zinc.style/components/slash-item",
36527
+ "status": "experimental",
36528
+ "since": "1.1"
36529
+ }
36530
+ ],
36531
+ "exports": [
36532
+ {
36533
+ "kind": "js",
36534
+ "name": "default",
36535
+ "declaration": {
36536
+ "name": "ZnSlashItem",
36537
+ "module": "components/slash-item/slash-item.js"
36538
+ }
36539
+ }
36540
+ ]
36541
+ },
36542
+ {
36543
+ "kind": "javascript-module",
36544
+ "path": "components/slash-menu/slash-menu.js",
36545
+ "declarations": [
36546
+ {
36547
+ "kind": "variable",
36548
+ "name": "SLASH_ITEM_SELECT",
36549
+ "type": {
36550
+ "text": "string"
36551
+ },
36552
+ "default": "'zn-slash-item-select'"
36553
+ },
36554
+ {
36555
+ "kind": "class",
36556
+ "description": "",
36557
+ "name": "ZnSlashMenu",
36558
+ "cssProperties": [
36559
+ {
36560
+ "description": "The width of the panel.",
36561
+ "name": "--slash-menu-width"
36562
+ },
36563
+ {
36564
+ "description": "The maximum height of the panel before it scrolls.",
36565
+ "name": "--slash-menu-max-height"
36566
+ }
36567
+ ],
36568
+ "cssParts": [
36569
+ {
36570
+ "description": "The floating panel that holds the list.",
36571
+ "name": "panel"
36572
+ },
36573
+ {
36574
+ "description": "The panel's heading.",
36575
+ "name": "heading"
36576
+ },
36577
+ {
36578
+ "description": "An item in the list.",
36579
+ "name": "item"
36580
+ },
36581
+ {
36582
+ "description": "A group heading between items.",
36583
+ "name": "group-heading"
36584
+ },
36585
+ {
36586
+ "description": "The truncation footer, shown when not every match fits.",
36587
+ "name": "footer"
36588
+ }
36589
+ ],
36590
+ "members": [
36591
+ {
36592
+ "kind": "field",
36593
+ "name": "dependencies",
36594
+ "type": {
36595
+ "text": "object"
36596
+ },
36597
+ "static": true,
36598
+ "default": "{ 'zn-icon': ZnIcon }"
36599
+ },
36600
+ {
36601
+ "kind": "field",
36602
+ "name": "panel",
36603
+ "type": {
36604
+ "text": "HTMLElement"
36605
+ },
36606
+ "privacy": "private"
36607
+ },
36608
+ {
36609
+ "kind": "field",
36610
+ "name": "stopAutoUpdate",
36611
+ "type": {
36612
+ "text": "() => void | undefined"
36613
+ },
36614
+ "privacy": "private"
36615
+ },
36616
+ {
36617
+ "kind": "field",
36618
+ "name": "open",
36619
+ "type": {
36620
+ "text": "boolean"
36621
+ },
36622
+ "default": "false",
36623
+ "description": "Whether the menu is showing.",
36624
+ "attribute": "open",
36625
+ "reflects": true
36626
+ },
36627
+ {
36628
+ "kind": "field",
36629
+ "name": "items",
36630
+ "type": {
36631
+ "text": "SlashMenuItem[]"
36632
+ },
36633
+ "default": "[]",
36634
+ "description": "The items to list. Already filtered — the menu displays what it is given.",
36635
+ "attribute": "items"
36636
+ },
36637
+ {
36638
+ "kind": "field",
36639
+ "name": "query",
36640
+ "type": {
36641
+ "text": "string"
36642
+ },
36643
+ "default": "''",
36644
+ "description": "The query the items were matched against, shown in the heading.",
36645
+ "attribute": "query"
36646
+ },
36647
+ {
36648
+ "kind": "field",
36649
+ "name": "heading",
36650
+ "type": {
36651
+ "text": "string"
36652
+ },
36653
+ "default": "'Insert'",
36654
+ "description": "The heading shown when there is no query.",
36655
+ "attribute": "heading"
36656
+ },
36657
+ {
36658
+ "kind": "field",
36659
+ "name": "emptyText",
36660
+ "type": {
36661
+ "text": "string"
36662
+ },
36663
+ "default": "'No matches'",
36664
+ "description": "Shown in place of the list when there are no items.",
36665
+ "attribute": "empty-text"
36666
+ },
36667
+ {
36668
+ "kind": "field",
36669
+ "name": "maxItems",
36670
+ "type": {
36671
+ "text": "number"
36672
+ },
36673
+ "default": "25",
36674
+ "description": "The most items to render at once. Remaining matches are reported in the footer.",
36675
+ "attribute": "max-items"
36676
+ },
36677
+ {
36678
+ "kind": "field",
36679
+ "name": "anchor",
36680
+ "type": {
36681
+ "text": "Element | VirtualElement | null"
36682
+ },
36683
+ "default": "null",
36684
+ "description": "The element or caret rect the panel is positioned against."
36685
+ },
36686
+ {
36687
+ "kind": "field",
36688
+ "name": "placement",
36689
+ "type": {
36690
+ "text": "Placement"
36691
+ },
36692
+ "default": "'bottom-start'",
36693
+ "description": "The preferred placement of the panel.",
36694
+ "attribute": "placement"
36695
+ },
36696
+ {
36697
+ "kind": "field",
36698
+ "name": "distance",
36699
+ "type": {
36700
+ "text": "number"
36701
+ },
36702
+ "default": "4",
36703
+ "description": "The gap between the caret and the panel.",
36704
+ "attribute": "distance"
36705
+ },
36706
+ {
36707
+ "kind": "field",
36708
+ "name": "activeIndex",
36709
+ "type": {
36710
+ "text": "number"
36711
+ },
36712
+ "privacy": "private",
36713
+ "default": "0"
36714
+ },
36715
+ {
36716
+ "kind": "field",
36717
+ "name": "visibleItems",
36718
+ "type": {
36719
+ "text": "SlashMenuItem[]"
36720
+ },
36721
+ "privacy": "private",
36722
+ "readonly": true
36723
+ },
36724
+ {
36725
+ "kind": "field",
36726
+ "name": "activeItem",
36727
+ "type": {
36728
+ "text": "SlashMenuItem | undefined"
36729
+ },
36730
+ "description": "The item that Enter would insert.",
36731
+ "readonly": true
36732
+ },
36733
+ {
36734
+ "kind": "method",
36735
+ "name": "show"
36736
+ },
36737
+ {
36738
+ "kind": "method",
36739
+ "name": "hide"
36740
+ },
36741
+ {
36742
+ "kind": "method",
36743
+ "name": "setActiveIndex",
36744
+ "parameters": [
36745
+ {
36746
+ "name": "index",
36747
+ "type": {
36748
+ "text": "number"
36749
+ }
36750
+ }
36751
+ ],
36752
+ "description": "Sets the active item by index, wrapping at both ends and skipping disabled items."
36753
+ },
36754
+ {
36755
+ "kind": "method",
36756
+ "name": "moveActive",
36757
+ "parameters": [
36758
+ {
36759
+ "name": "delta",
36760
+ "type": {
36761
+ "text": "number"
36762
+ }
36763
+ }
36764
+ ],
36765
+ "description": "Moves the active item by `delta` places."
36766
+ },
36767
+ {
36768
+ "kind": "method",
36769
+ "name": "selectActive",
36770
+ "description": "Chooses the active item, as pressing Enter would."
36771
+ },
36772
+ {
36773
+ "kind": "method",
36774
+ "name": "reposition",
36775
+ "description": "Recalculates the panel's position against its anchor."
36776
+ },
36777
+ {
36778
+ "kind": "method",
36779
+ "name": "startPositioner",
36780
+ "privacy": "private"
36781
+ },
36782
+ {
36783
+ "kind": "method",
36784
+ "name": "stopPositioner",
36785
+ "privacy": "private"
36786
+ },
36787
+ {
36788
+ "kind": "method",
36789
+ "name": "position",
36790
+ "privacy": "private"
36791
+ },
36792
+ {
36793
+ "kind": "method",
36794
+ "name": "selectItem",
36795
+ "privacy": "private",
36796
+ "parameters": [
36797
+ {
36798
+ "name": "item",
36799
+ "type": {
36800
+ "text": "SlashMenuItem"
36801
+ }
36802
+ }
36803
+ ]
36804
+ },
36805
+ {
36806
+ "kind": "method",
36807
+ "name": "scrollActiveIntoView",
36808
+ "privacy": "private"
36809
+ },
36810
+ {
36811
+ "kind": "field",
36812
+ "name": "handleItemMouseDown",
36813
+ "privacy": "private",
36814
+ "readonly": true
36815
+ },
36816
+ {
36817
+ "kind": "method",
36818
+ "name": "renderItem",
36819
+ "privacy": "private",
36820
+ "parameters": [
36821
+ {
36822
+ "name": "item",
36823
+ "type": {
36824
+ "text": "SlashMenuItem"
36825
+ }
36826
+ },
36827
+ {
36828
+ "name": "index",
36829
+ "type": {
36830
+ "text": "number"
36831
+ }
36832
+ },
36833
+ {
36834
+ "name": "showIcons",
36835
+ "type": {
36836
+ "text": "boolean"
36837
+ }
36838
+ }
36839
+ ]
36840
+ },
36841
+ {
36842
+ "kind": "method",
36843
+ "name": "renderItems",
36844
+ "privacy": "private"
36845
+ }
36846
+ ],
36847
+ "events": [
36848
+ {
36849
+ "name": "SLASH_ITEM_SELECT",
36850
+ "type": {
36851
+ "text": "CustomEvent"
36852
+ }
36853
+ },
36854
+ {
36855
+ "description": "Emitted when an item is chosen. Does not cross shadow boundaries; the component driving the menu (e.g. `zn-textarea`) re-emits it as `zn-slash-select`.",
36856
+ "name": "zn-slash-item-select"
36857
+ }
36858
+ ],
36859
+ "attributes": [
36860
+ {
36861
+ "name": "open",
36862
+ "type": {
36863
+ "text": "boolean"
36864
+ },
36865
+ "default": "false",
36866
+ "description": "Whether the menu is showing.",
36867
+ "fieldName": "open"
36868
+ },
36869
+ {
36870
+ "name": "items",
36871
+ "type": {
36872
+ "text": "SlashMenuItem[]"
36873
+ },
36874
+ "default": "[]",
36875
+ "description": "The items to list. Already filtered — the menu displays what it is given.",
36876
+ "fieldName": "items"
36877
+ },
36878
+ {
36879
+ "name": "query",
36880
+ "type": {
36881
+ "text": "string"
36882
+ },
36883
+ "default": "''",
36884
+ "description": "The query the items were matched against, shown in the heading.",
36885
+ "fieldName": "query"
36886
+ },
36887
+ {
36888
+ "name": "heading",
36889
+ "type": {
36890
+ "text": "string"
36891
+ },
36892
+ "default": "'Insert'",
36893
+ "description": "The heading shown when there is no query.",
36894
+ "fieldName": "heading"
36895
+ },
36896
+ {
36897
+ "name": "empty-text",
36898
+ "type": {
36899
+ "text": "string"
36900
+ },
36901
+ "default": "'No matches'",
36902
+ "description": "Shown in place of the list when there are no items.",
36903
+ "fieldName": "emptyText"
36904
+ },
36905
+ {
36906
+ "name": "max-items",
36907
+ "type": {
36908
+ "text": "number"
36909
+ },
36910
+ "default": "25",
36911
+ "description": "The most items to render at once. Remaining matches are reported in the footer.",
36912
+ "fieldName": "maxItems"
36913
+ },
36914
+ {
36915
+ "name": "placement",
36916
+ "type": {
36917
+ "text": "Placement"
36918
+ },
36919
+ "default": "'bottom-start'",
36920
+ "description": "The preferred placement of the panel.",
36921
+ "fieldName": "placement"
36922
+ },
36923
+ {
36924
+ "name": "distance",
36925
+ "type": {
36926
+ "text": "number"
36927
+ },
36928
+ "default": "4",
36929
+ "description": "The gap between the caret and the panel.",
36930
+ "fieldName": "distance"
36931
+ }
36932
+ ],
36933
+ "superclass": {
36934
+ "name": "ZincElement",
36935
+ "module": "/src/internal/zinc-element"
36936
+ },
36937
+ "summary": "A keyboard-driven list of insertions, anchored to the caret of the field that opened it.",
36938
+ "tagNameWithoutPrefix": "slash-menu",
36939
+ "tagName": "zn-slash-menu",
36940
+ "customElement": true,
36941
+ "jsDoc": "/**\n * @summary A keyboard-driven list of insertions, anchored to the caret of the field that opened it.\n * @documentation https://zinc.style/components/slash-menu\n * @status experimental\n * @since 1.1\n *\n * @dependency zn-icon\n *\n * @event zn-slash-item-select - Emitted when an item is chosen. Does not cross shadow boundaries; the\n * component driving the menu (e.g. `zn-textarea`) re-emits it as `zn-slash-select`.\n *\n * @csspart panel - The floating panel that holds the list.\n * @csspart heading - The panel's heading.\n * @csspart item - An item in the list.\n * @csspart group-heading - A group heading between items.\n * @csspart footer - The truncation footer, shown when not every match fits.\n *\n * @cssproperty --slash-menu-width - The width of the panel.\n * @cssproperty --slash-menu-max-height - The maximum height of the panel before it scrolls.\n */",
36942
+ "documentation": "https://zinc.style/components/slash-menu",
36943
+ "status": "experimental",
36944
+ "since": "1.1",
36945
+ "dependencies": [
36946
+ "zn-icon"
36947
+ ]
36948
+ }
36949
+ ],
36950
+ "exports": [
36951
+ {
36952
+ "kind": "js",
36953
+ "name": "SLASH_ITEM_SELECT",
36954
+ "declaration": {
36955
+ "name": "SLASH_ITEM_SELECT",
36956
+ "module": "components/slash-menu/slash-menu.js"
36957
+ }
36958
+ },
36959
+ {
36960
+ "kind": "js",
36961
+ "name": "default",
36962
+ "declaration": {
36963
+ "name": "ZnSlashMenu",
36964
+ "module": "components/slash-menu/slash-menu.js"
36965
+ }
36966
+ }
36967
+ ]
36968
+ },
36221
36969
  {
36222
36970
  "kind": "javascript-module",
36223
36971
  "path": "components/slideout/slideout.js",
@@ -39882,6 +40630,10 @@
39882
40630
  {
39883
40631
  "description": "The internal `<textarea>` control.",
39884
40632
  "name": "textarea"
40633
+ },
40634
+ {
40635
+ "description": "The slash menu shown at the caret.",
40636
+ "name": "slash-menu"
39885
40637
  }
39886
40638
  ],
39887
40639
  "slots": [
@@ -39900,9 +40652,26 @@
39900
40652
  {
39901
40653
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
39902
40654
  "name": "help-text"
40655
+ },
40656
+ {
40657
+ "description": "`<zn-slash-item>` elements describing the insertions offered by the slash menu. Items are picked up wherever they sit inside the textarea, so this slot name is optional.",
40658
+ "name": "slash-items"
40659
+ },
40660
+ {
40661
+ "description": "A `<zn-slash-menu>` to use instead of the built-in one, so its heading, sizing and styling can be set in markup. Any `<zn-slash-item>` children of it become the menu's items.",
40662
+ "name": "slash-menu"
39903
40663
  }
39904
40664
  ],
39905
40665
  "members": [
40666
+ {
40667
+ "kind": "field",
40668
+ "name": "dependencies",
40669
+ "type": {
40670
+ "text": "object"
40671
+ },
40672
+ "static": true,
40673
+ "default": "{ 'zn-slash-item': ZnSlashItem, 'zn-slash-menu': ZnSlashMenu }"
40674
+ },
39906
40675
  {
39907
40676
  "kind": "field",
39908
40677
  "name": "formControlController",
@@ -39934,6 +40703,13 @@
39934
40703
  "default": "false",
39935
40704
  "description": "Ensures we only attempt to derive the initial value from light DOM content once"
39936
40705
  },
40706
+ {
40707
+ "kind": "field",
40708
+ "name": "slashController",
40709
+ "privacy": "private",
40710
+ "readonly": true,
40711
+ "default": "new SlashMenuController(this, { menu: () => this.mountSlashMenu(), items: search => this.resolveSlashItems(search), trigger: () => this.slashTrigger, onSelect: (item, search) => !this.emit('zn-slash-select', { detail: {item, query: search} }).defaultPrevented, // The field's own input event has already synced `value` by this point onInsert: (item, value) => this.emit('zn-slash-insert', {detail: {item, value}}) })"
40712
+ },
39937
40713
  {
39938
40714
  "kind": "field",
39939
40715
  "name": "formControl",
@@ -39948,6 +40724,13 @@
39948
40724
  "text": "HTMLTextAreaElement"
39949
40725
  }
39950
40726
  },
40727
+ {
40728
+ "kind": "field",
40729
+ "name": "slashMenuElement",
40730
+ "type": {
40731
+ "text": "ZnSlashMenu | null"
40732
+ }
40733
+ },
39951
40734
  {
39952
40735
  "kind": "field",
39953
40736
  "name": "hasFocus",
@@ -39956,6 +40739,16 @@
39956
40739
  },
39957
40740
  "default": "false"
39958
40741
  },
40742
+ {
40743
+ "kind": "field",
40744
+ "name": "hasSlashMenu",
40745
+ "type": {
40746
+ "text": "boolean"
40747
+ },
40748
+ "privacy": "private",
40749
+ "default": "false",
40750
+ "description": "Renders the slash menu only once it has been needed, keeping unused textareas cheap."
40751
+ },
39959
40752
  {
39960
40753
  "kind": "field",
39961
40754
  "name": "title",
@@ -40202,6 +40995,54 @@
40202
40995
  "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
40203
40996
  "attribute": "inputmode"
40204
40997
  },
40998
+ {
40999
+ "kind": "field",
41000
+ "name": "slashItems",
41001
+ "type": {
41002
+ "text": "SlashMenuItem[]"
41003
+ },
41004
+ "default": "[]",
41005
+ "description": "Quick insertions offered by the slash menu. Accepts a JSON array of items, or the shorthand\n`Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Can also be set as an array of\n`SlashMenuItem` objects in JavaScript.",
41006
+ "attribute": "slash-items"
41007
+ },
41008
+ {
41009
+ "kind": "field",
41010
+ "name": "slashPreset",
41011
+ "type": {
41012
+ "text": "string"
41013
+ },
41014
+ "default": "''",
41015
+ "description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
41016
+ "attribute": "slash-preset"
41017
+ },
41018
+ {
41019
+ "kind": "field",
41020
+ "name": "slashTrigger",
41021
+ "type": {
41022
+ "text": "string"
41023
+ },
41024
+ "default": "'/'",
41025
+ "description": "The characters that open the slash menu.",
41026
+ "attribute": "slash-trigger"
41027
+ },
41028
+ {
41029
+ "kind": "field",
41030
+ "name": "slashHeading",
41031
+ "type": {
41032
+ "text": "string"
41033
+ },
41034
+ "default": "'Insert'",
41035
+ "description": "The heading shown above the slash menu's items.",
41036
+ "attribute": "slash-heading"
41037
+ },
41038
+ {
41039
+ "kind": "field",
41040
+ "name": "slashItemsProvider",
41041
+ "type": {
41042
+ "text": "(query: string) => SlashMenuItem[] | Promise<SlashMenuItem[]> | undefined"
41043
+ },
41044
+ "description": "Resolves additional items each time the menu opens, for lists that come from elsewhere (e.g. an\nAPI). Receives the current query and may return a promise. JavaScript only."
41045
+ },
40205
41046
  {
40206
41047
  "kind": "field",
40207
41048
  "name": "defaultValue",
@@ -40232,6 +41073,52 @@
40232
41073
  "description": "Gets the validation message",
40233
41074
  "readonly": true
40234
41075
  },
41076
+ {
41077
+ "kind": "method",
41078
+ "name": "resolveSlashItems",
41079
+ "return": {
41080
+ "type": {
41081
+ "text": "Promise<SlashMenuItem[]>"
41082
+ }
41083
+ },
41084
+ "parameters": [
41085
+ {
41086
+ "name": "search",
41087
+ "default": "''"
41088
+ }
41089
+ ],
41090
+ "description": "The insertions the slash menu offers, gathered from every source, in the order they were declared."
41091
+ },
41092
+ {
41093
+ "kind": "method",
41094
+ "name": "showSlashMenu",
41095
+ "description": "Opens the slash menu at the caret, inserting the trigger if it isn't already there."
41096
+ },
41097
+ {
41098
+ "kind": "method",
41099
+ "name": "hideSlashMenu",
41100
+ "description": "Closes the slash menu."
41101
+ },
41102
+ {
41103
+ "kind": "method",
41104
+ "name": "slottedSlashItems",
41105
+ "privacy": "private",
41106
+ "return": {
41107
+ "type": {
41108
+ "text": "SlashMenuItem[]"
41109
+ }
41110
+ }
41111
+ },
41112
+ {
41113
+ "kind": "method",
41114
+ "name": "mountSlashMenu",
41115
+ "privacy": "private",
41116
+ "return": {
41117
+ "type": {
41118
+ "text": "Promise<ZnSlashMenu | null>"
41119
+ }
41120
+ }
41121
+ },
40235
41122
  {
40236
41123
  "kind": "method",
40237
41124
  "name": "handleBlur",
@@ -40452,6 +41339,14 @@
40452
41339
  {
40453
41340
  "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
40454
41341
  "name": "zn-invalid"
41342
+ },
41343
+ {
41344
+ "description": "Emitted when a slash menu item is chosen. Cancelable — call `preventDefault()` to suppress the insertion and handle the item yourself.",
41345
+ "name": "zn-slash-select"
41346
+ },
41347
+ {
41348
+ "description": "Emitted after a slash menu item's value has been inserted.",
41349
+ "name": "zn-slash-insert"
40455
41350
  }
40456
41351
  ],
40457
41352
  "attributes": [
@@ -40670,6 +41565,42 @@
40670
41565
  "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
40671
41566
  "fieldName": "inputmode"
40672
41567
  },
41568
+ {
41569
+ "name": "slash-items",
41570
+ "type": {
41571
+ "text": "SlashMenuItem[]"
41572
+ },
41573
+ "default": "[]",
41574
+ "description": "Quick insertions offered by the slash menu. Accepts a JSON array of items, or the shorthand\n`Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Can also be set as an array of\n`SlashMenuItem` objects in JavaScript.",
41575
+ "fieldName": "slashItems"
41576
+ },
41577
+ {
41578
+ "name": "slash-preset",
41579
+ "type": {
41580
+ "text": "string"
41581
+ },
41582
+ "default": "''",
41583
+ "description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
41584
+ "fieldName": "slashPreset"
41585
+ },
41586
+ {
41587
+ "name": "slash-trigger",
41588
+ "type": {
41589
+ "text": "string"
41590
+ },
41591
+ "default": "'/'",
41592
+ "description": "The characters that open the slash menu.",
41593
+ "fieldName": "slashTrigger"
41594
+ },
41595
+ {
41596
+ "name": "slash-heading",
41597
+ "type": {
41598
+ "text": "string"
41599
+ },
41600
+ "default": "'Insert'",
41601
+ "description": "The heading shown above the slash menu's items.",
41602
+ "fieldName": "slashHeading"
41603
+ },
40673
41604
  {
40674
41605
  "name": "transparent",
40675
41606
  "type": {
@@ -40687,10 +41618,14 @@
40687
41618
  "tagNameWithoutPrefix": "textarea",
40688
41619
  "tagName": "zn-textarea",
40689
41620
  "customElement": true,
40690
- "jsDoc": "/**\n * @summary Textareas collect data from the user and allow multiple lines of text.\n * @documentation https://zinc.style/components/textarea\n * @status stable\n * @since 2.0\n *\n * @slot label - The textareas label. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot context-note - Used to add contextual text that is displayed above the textarea, on the right. Alternatively, you can use the `context-note` attribute.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event zn-blur - Emitted when the control loses focus.\n * @event zn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event zn-focus - Emitted when the control gains focus.\n * @event zn-input - Emitted when the control receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart textarea - The internal `<textarea>` control.\n */",
41621
+ "jsDoc": "/**\n * @summary Textareas collect data from the user and allow multiple lines of text.\n * @documentation https://zinc.style/components/textarea\n * @status stable\n * @since 2.0\n *\n * @slot label - The textareas label. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot context-note - Used to add contextual text that is displayed above the textarea, on the right. Alternatively, you can use the `context-note` attribute.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n * @slot slash-items - `<zn-slash-item>` elements describing the insertions offered by the slash menu. Items are\n * picked up wherever they sit inside the textarea, so this slot name is optional.\n * @slot slash-menu - A `<zn-slash-menu>` to use instead of the built-in one, so its heading, sizing and styling can\n * be set in markup. Any `<zn-slash-item>` children of it become the menu's items.\n *\n * @dependency zn-slash-item\n * @dependency zn-slash-menu\n *\n * @event zn-blur - Emitted when the control loses focus.\n * @event zn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event zn-focus - Emitted when the control gains focus.\n * @event zn-input - Emitted when the control receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n * @event zn-slash-select - Emitted when a slash menu item is chosen. Cancelable — call `preventDefault()` to\n * suppress the insertion and handle the item yourself.\n * @event zn-slash-insert - Emitted after a slash menu item's value has been inserted.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart textarea - The internal `<textarea>` control.\n * @csspart slash-menu - The slash menu shown at the caret.\n */",
40691
41622
  "documentation": "https://zinc.style/components/textarea",
40692
41623
  "status": "stable",
40693
- "since": "2.0"
41624
+ "since": "2.0",
41625
+ "dependencies": [
41626
+ "zn-slash-item",
41627
+ "zn-slash-menu"
41628
+ ]
40694
41629
  }
40695
41630
  ],
40696
41631
  "exports": [
@@ -43894,6 +44829,54 @@
43894
44829
  },
43895
44830
  "attribute": "textarea-rows"
43896
44831
  },
44832
+ {
44833
+ "kind": "field",
44834
+ "name": "slashItems",
44835
+ "type": {
44836
+ "text": "SlashMenuItem[]"
44837
+ },
44838
+ "default": "[]",
44839
+ "description": "Quick insertions offered by the slash menu when `input-type` is `textarea`. Accepts a JSON array of items, or\nthe shorthand `Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Every language shares the list.",
44840
+ "attribute": "slash-items"
44841
+ },
44842
+ {
44843
+ "kind": "field",
44844
+ "name": "slashPreset",
44845
+ "type": {
44846
+ "text": "string"
44847
+ },
44848
+ "default": "''",
44849
+ "description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
44850
+ "attribute": "slash-preset"
44851
+ },
44852
+ {
44853
+ "kind": "field",
44854
+ "name": "slashTrigger",
44855
+ "type": {
44856
+ "text": "string"
44857
+ },
44858
+ "default": "'/'",
44859
+ "description": "The characters that open the slash menu.",
44860
+ "attribute": "slash-trigger"
44861
+ },
44862
+ {
44863
+ "kind": "field",
44864
+ "name": "slashHeading",
44865
+ "type": {
44866
+ "text": "string"
44867
+ },
44868
+ "default": "'Insert'",
44869
+ "description": "The heading shown above the slash menu's items.",
44870
+ "attribute": "slash-heading"
44871
+ },
44872
+ {
44873
+ "kind": "field",
44874
+ "name": "slashItemsProvider",
44875
+ "type": {
44876
+ "text": "(query: string) => SlashMenuItem[] | Promise<SlashMenuItem[]> | undefined"
44877
+ },
44878
+ "description": "Resolves additional slash menu items each time the menu opens. JavaScript only."
44879
+ },
43897
44880
  {
43898
44881
  "kind": "field",
43899
44882
  "name": "grouped",
@@ -44166,6 +45149,42 @@
44166
45149
  },
44167
45150
  "fieldName": "textareaRows"
44168
45151
  },
45152
+ {
45153
+ "name": "slash-items",
45154
+ "type": {
45155
+ "text": "SlashMenuItem[]"
45156
+ },
45157
+ "default": "[]",
45158
+ "description": "Quick insertions offered by the slash menu when `input-type` is `textarea`. Accepts a JSON array of items, or\nthe shorthand `Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Every language shares the list.",
45159
+ "fieldName": "slashItems"
45160
+ },
45161
+ {
45162
+ "name": "slash-preset",
45163
+ "type": {
45164
+ "text": "string"
45165
+ },
45166
+ "default": "''",
45167
+ "description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
45168
+ "fieldName": "slashPreset"
45169
+ },
45170
+ {
45171
+ "name": "slash-trigger",
45172
+ "type": {
45173
+ "text": "string"
45174
+ },
45175
+ "default": "'/'",
45176
+ "description": "The characters that open the slash menu.",
45177
+ "fieldName": "slashTrigger"
45178
+ },
45179
+ {
45180
+ "name": "slash-heading",
45181
+ "type": {
45182
+ "text": "string"
45183
+ },
45184
+ "default": "'Insert'",
45185
+ "description": "The heading shown above the slash menu's items.",
45186
+ "fieldName": "slashHeading"
45187
+ },
44169
45188
  {
44170
45189
  "name": "grouped",
44171
45190
  "type": {
@@ -44468,7 +45487,7 @@
44468
45487
  "package": {
44469
45488
  "name": "@kubex/zinc",
44470
45489
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
44471
- "version": "1.1.79",
45490
+ "version": "1.1.80",
44472
45491
  "author": "",
44473
45492
  "license": "MIT"
44474
45493
  }