@kubex/zinc 1.1.101 → 1.1.103
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/dist/custom-elements.json +261 -82
- package/dist/vscode.html-custom-data.json +13 -13
- package/dist/web-types.json +25 -25
- package/dist/zn.d.ts +128 -6
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +469 -393
- package/docs/pages/components/remarkd-editor.md +59 -0
- package/package.json +1 -1
- package/scss/_root.scss +121 -8
- package/scss/shared/_base.scss +10 -4
- package/scss/shared/_button-mixin.scss +29 -0
- package/scss/shared/_button.scss +3 -33
- package/scss/themes/_aura.scss +87 -8
- package/scss/themes/_dark.scss +14 -2
- package/scss/themes/_light.scss +4 -3
- package/scss/themes/_modes.scss +32 -0
- package/src/components/animated-button/animated-button.component.ts +2 -1
- package/src/components/animated-button/animated-button.scss +1 -1
- package/src/components/bulk-actions/bulk-actions.component.ts +2 -1
- package/src/components/bulk-actions/bulk-actions.scss +0 -1
- package/src/components/button/button.component.ts +6 -1
- package/src/components/button/button.scss +1 -1
- package/src/components/chart/chart.component.ts +4 -0
- package/src/components/checkbox/checkbox.component.ts +3 -1
- package/src/components/checkbox/checkbox.scss +0 -2
- package/src/components/checkbox-group/checkbox-group.component.ts +2 -1
- package/src/components/checkbox-group/checkbox-group.scss +0 -1
- package/src/components/data-table/data-table.component.ts +3 -1
- package/src/components/data-table/data-table.scss +0 -1
- package/src/components/datepicker/datepicker.component.ts +2 -1
- package/src/components/datepicker/datepicker.scss +0 -1
- package/src/components/editor/modules/toolbar/toolbar.component.ts +3 -1
- package/src/components/editor/modules/toolbar/toolbar.scss +0 -1
- package/src/components/file/file.component.ts +2 -1
- package/src/components/file/file.scss +0 -1
- package/src/components/form-group/form-group.component.ts +2 -1
- package/src/components/form-group/form-group.scss +0 -1
- package/src/components/icon-picker/icon-picker.component.ts +8 -3
- package/src/components/icon-picker/icon-picker.scss +0 -1
- package/src/components/inline-edit/inline-edit.component.ts +2 -1
- package/src/components/inline-edit/inline-edit.scss +0 -1
- package/src/components/input/input.component.ts +2 -1
- package/src/components/input/input.scss +0 -1
- package/src/components/input-group/input-group.component.ts +2 -1
- package/src/components/input-group/input-group.scss +0 -1
- package/src/components/menu/menu.component.ts +4 -1
- package/src/components/menu/menu.scss +9 -1
- package/src/components/page/page.scss +19 -5
- package/src/components/priority-list/priority-list.component.ts +2 -1
- package/src/components/priority-list/priority-list.scss +0 -1
- package/src/components/query-builder/query-builder.component.ts +2 -1
- package/src/components/query-builder/query-builder.scss +0 -1
- package/src/components/radio/radio.component.ts +3 -1
- package/src/components/radio/radio.scss +0 -2
- package/src/components/radio-group/radio-group.component.ts +2 -1
- package/src/components/radio-group/radio-group.scss +0 -1
- package/src/components/rating/rating.component.ts +2 -1
- package/src/components/rating/rating.scss +0 -1
- package/src/components/remarkd-editor/actions.ts +155 -0
- package/src/components/remarkd-editor/feature-keys.ts +17 -0
- package/src/components/remarkd-editor/remarkd-editor.component.ts +509 -49
- package/src/components/remarkd-editor/remarkd-editor.scss +68 -1
- package/src/components/remarkd-editor/remarkd-editor.test.ts +677 -9
- package/src/components/schedule-builder/schedule-builder.component.ts +2 -1
- package/src/components/schedule-builder/schedule-builder.scss +0 -1
- package/src/components/select/select.component.ts +2 -1
- package/src/components/select/select.scss +0 -1
- package/src/components/slash-menu/slash-menu.scss +2 -0
- package/src/components/tabs/tabs.component.ts +3 -1
- package/src/components/tabs/tabs.scss +0 -1
- package/src/components/textarea/textarea.component.ts +2 -1
- package/src/components/textarea/textarea.scss +0 -1
- package/src/components/tile/tile.component.ts +33 -20
- package/src/components/tile/tile.scss +2 -0
- package/src/components/tile/tile.test.ts +64 -3
- package/src/components/toggle/toggle.component.ts +2 -1
- package/src/components/toggle/toggle.scss +0 -1
- package/src/components/translations/translations.component.ts +2 -1
- package/src/components/translations/translations.scss +0 -1
- package/src/internal/theme.ts +37 -12
- package/src/internal/toolbar-overflow.ts +100 -0
- package/src/internal/zinc-element.ts +7 -5
|
@@ -56,6 +56,79 @@
|
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "javascript-module",
|
|
61
|
+
"path": "components/action-bar/action-bar.js",
|
|
62
|
+
"declarations": [
|
|
63
|
+
{
|
|
64
|
+
"kind": "class",
|
|
65
|
+
"description": "",
|
|
66
|
+
"name": "ZnActionBar",
|
|
67
|
+
"cssProperties": [
|
|
68
|
+
{
|
|
69
|
+
"description": "An example CSS custom property.",
|
|
70
|
+
"name": "--example"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"cssParts": [
|
|
74
|
+
{
|
|
75
|
+
"description": "The component's base wrapper.",
|
|
76
|
+
"name": "base"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"slots": [
|
|
80
|
+
{
|
|
81
|
+
"description": "The default slot.",
|
|
82
|
+
"name": ""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"description": "An example slot.",
|
|
86
|
+
"name": "example"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"members": [
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "localize",
|
|
93
|
+
"privacy": "private",
|
|
94
|
+
"readonly": true,
|
|
95
|
+
"default": "new LocalizeController(this)"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"events": [
|
|
99
|
+
{
|
|
100
|
+
"description": "Emitted as an example.",
|
|
101
|
+
"name": "zn-event-name"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"superclass": {
|
|
105
|
+
"name": "ZincElement",
|
|
106
|
+
"module": "/src/internal/zinc-element"
|
|
107
|
+
},
|
|
108
|
+
"summary": "Short summary of the component's intended use.",
|
|
109
|
+
"tagNameWithoutPrefix": "action-bar",
|
|
110
|
+
"tagName": "zn-action-bar",
|
|
111
|
+
"customElement": true,
|
|
112
|
+
"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 */",
|
|
113
|
+
"documentation": "https://zinc.style/components/action-bar",
|
|
114
|
+
"status": "experimental",
|
|
115
|
+
"since": "1.0",
|
|
116
|
+
"dependencies": [
|
|
117
|
+
"zn-example"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"exports": [
|
|
122
|
+
{
|
|
123
|
+
"kind": "js",
|
|
124
|
+
"name": "default",
|
|
125
|
+
"declaration": {
|
|
126
|
+
"name": "ZnActionBar",
|
|
127
|
+
"module": "components/action-bar/action-bar.js"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
59
132
|
{
|
|
60
133
|
"kind": "javascript-module",
|
|
61
134
|
"path": "components/alert/alert.js",
|
|
@@ -250,79 +323,6 @@
|
|
|
250
323
|
}
|
|
251
324
|
]
|
|
252
325
|
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "components/action-bar/action-bar.js",
|
|
256
|
-
"declarations": [
|
|
257
|
-
{
|
|
258
|
-
"kind": "class",
|
|
259
|
-
"description": "",
|
|
260
|
-
"name": "ZnActionBar",
|
|
261
|
-
"cssProperties": [
|
|
262
|
-
{
|
|
263
|
-
"description": "An example CSS custom property.",
|
|
264
|
-
"name": "--example"
|
|
265
|
-
}
|
|
266
|
-
],
|
|
267
|
-
"cssParts": [
|
|
268
|
-
{
|
|
269
|
-
"description": "The component's base wrapper.",
|
|
270
|
-
"name": "base"
|
|
271
|
-
}
|
|
272
|
-
],
|
|
273
|
-
"slots": [
|
|
274
|
-
{
|
|
275
|
-
"description": "The default slot.",
|
|
276
|
-
"name": ""
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"description": "An example slot.",
|
|
280
|
-
"name": "example"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"members": [
|
|
284
|
-
{
|
|
285
|
-
"kind": "field",
|
|
286
|
-
"name": "localize",
|
|
287
|
-
"privacy": "private",
|
|
288
|
-
"readonly": true,
|
|
289
|
-
"default": "new LocalizeController(this)"
|
|
290
|
-
}
|
|
291
|
-
],
|
|
292
|
-
"events": [
|
|
293
|
-
{
|
|
294
|
-
"description": "Emitted as an example.",
|
|
295
|
-
"name": "zn-event-name"
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"superclass": {
|
|
299
|
-
"name": "ZincElement",
|
|
300
|
-
"module": "/src/internal/zinc-element"
|
|
301
|
-
},
|
|
302
|
-
"summary": "Short summary of the component's intended use.",
|
|
303
|
-
"tagNameWithoutPrefix": "action-bar",
|
|
304
|
-
"tagName": "zn-action-bar",
|
|
305
|
-
"customElement": true,
|
|
306
|
-
"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 */",
|
|
307
|
-
"documentation": "https://zinc.style/components/action-bar",
|
|
308
|
-
"status": "experimental",
|
|
309
|
-
"since": "1.0",
|
|
310
|
-
"dependencies": [
|
|
311
|
-
"zn-example"
|
|
312
|
-
]
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"exports": [
|
|
316
|
-
{
|
|
317
|
-
"kind": "js",
|
|
318
|
-
"name": "default",
|
|
319
|
-
"declaration": {
|
|
320
|
-
"name": "ZnActionBar",
|
|
321
|
-
"module": "components/action-bar/action-bar.js"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
326
|
{
|
|
327
327
|
"kind": "javascript-module",
|
|
328
328
|
"path": "components/animated-button/animated-button.js",
|
|
@@ -17426,7 +17426,7 @@
|
|
|
17426
17426
|
"name": "formControlController",
|
|
17427
17427
|
"privacy": "private",
|
|
17428
17428
|
"readonly": true,
|
|
17429
|
-
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-change'], // With allow-upload, a chosen file is submitted under `name` in place of // the icon string — the two are mutually exclusive. value: (el: ZnIconPicker) => el._file ?? el.icon })"
|
|
17429
|
+
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-change'], // With allow-upload, a chosen file is submitted under `name` in place of // the icon string — the two are mutually exclusive. value: (el: ZnIconPicker) => el._file ?? el.icon, setValue: (el: ZnIconPicker, value: string) => { el.clearFile(); el.icon = value ?? ''; } })"
|
|
17430
17430
|
},
|
|
17431
17431
|
{
|
|
17432
17432
|
"kind": "field",
|
|
@@ -22553,6 +22553,10 @@
|
|
|
22553
22553
|
{
|
|
22554
22554
|
"description": "An example CSS custom property.",
|
|
22555
22555
|
"name": "--example"
|
|
22556
|
+
},
|
|
22557
|
+
{
|
|
22558
|
+
"description": "Caps the menu's height and makes it scroll internally. Unset (`none`) by default, so the menu grows to fit its items unless a consumer sets this.",
|
|
22559
|
+
"name": "--zn-menu-max-height"
|
|
22556
22560
|
}
|
|
22557
22561
|
],
|
|
22558
22562
|
"cssParts": [
|
|
@@ -22705,7 +22709,7 @@
|
|
|
22705
22709
|
"tagNameWithoutPrefix": "menu",
|
|
22706
22710
|
"tagName": "zn-menu",
|
|
22707
22711
|
"customElement": true,
|
|
22708
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/menu\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 */",
|
|
22712
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/menu\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 * @cssproperty --zn-menu-max-height - Caps the menu's height and makes it scroll internally.\n * Unset (`none`) by default, so the menu grows to fit its items unless a consumer sets this.\n */",
|
|
22709
22713
|
"documentation": "https://zinc.style/components/menu",
|
|
22710
22714
|
"status": "experimental",
|
|
22711
22715
|
"since": "1.0",
|
|
@@ -34063,7 +34067,7 @@
|
|
|
34063
34067
|
"name": "base"
|
|
34064
34068
|
},
|
|
34065
34069
|
{
|
|
34066
|
-
"description": "The always-visible block-insert toolbar.",
|
|
34070
|
+
"description": "The always-visible block-insert and inline-formatting toolbar.",
|
|
34067
34071
|
"name": "toolbar"
|
|
34068
34072
|
},
|
|
34069
34073
|
{
|
|
@@ -34078,6 +34082,14 @@
|
|
|
34078
34082
|
"description": "The rendered remarkd output of a block.",
|
|
34079
34083
|
"name": "rendered"
|
|
34080
34084
|
},
|
|
34085
|
+
{
|
|
34086
|
+
"description": "A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.",
|
|
34087
|
+
"name": "conditional"
|
|
34088
|
+
},
|
|
34089
|
+
{
|
|
34090
|
+
"description": "A chip rendered for a document attribute, title, or bracket line.",
|
|
34091
|
+
"name": "variable"
|
|
34092
|
+
},
|
|
34081
34093
|
{
|
|
34082
34094
|
"description": "The textarea shown while editing a block.",
|
|
34083
34095
|
"name": "input"
|
|
@@ -34111,7 +34123,7 @@
|
|
|
34111
34123
|
"text": "object"
|
|
34112
34124
|
},
|
|
34113
34125
|
"static": true,
|
|
34114
|
-
"default": "{ 'zn-slash-menu': ZnSlashMenu }"
|
|
34126
|
+
"default": "{ 'zn-dropdown': ZnDropdown, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, 'zn-slash-menu': ZnSlashMenu }"
|
|
34115
34127
|
},
|
|
34116
34128
|
{
|
|
34117
34129
|
"kind": "field",
|
|
@@ -34127,6 +34139,13 @@
|
|
|
34127
34139
|
"readonly": true,
|
|
34128
34140
|
"default": "new SlashMenuController(this, { menu: () => this.mountSlashMenu(), // The menu only belongs in a block that is nothing but the slash command — a // block prefix like \"## \" is not valid remarkd part-way through a line. items: () => this.isSlashBlock() ? SLASH_ITEMS.filter(item => item.action !== 'include' || !!this.includeUrl) : [], onSelect: item => this.handleSlashSelect(item) })"
|
|
34129
34141
|
},
|
|
34142
|
+
{
|
|
34143
|
+
"kind": "field",
|
|
34144
|
+
"name": "toolbarOverflow",
|
|
34145
|
+
"privacy": "private",
|
|
34146
|
+
"readonly": true,
|
|
34147
|
+
"default": "new ToolbarOverflowController(this, { groups: () => [...(this.shadowRoot?.querySelectorAll<HTMLElement>('.toolbar__group') ?? [])], container: () => this.shadowRoot?.querySelector<HTMLElement>('.remarkd-editor__toolbar'), })"
|
|
34148
|
+
},
|
|
34130
34149
|
{
|
|
34131
34150
|
"kind": "field",
|
|
34132
34151
|
"name": "editingDraft",
|
|
@@ -34568,7 +34587,7 @@
|
|
|
34568
34587
|
}
|
|
34569
34588
|
}
|
|
34570
34589
|
],
|
|
34571
|
-
"description": "Splits remarkd source into blocks on blank lines, keeping fenced /\ndelimited containers (``` ==== !!!! .... ----) as single blocks."
|
|
34590
|
+
"description": "Splits remarkd source into blocks on blank lines, keeping fenced /\ndelimited containers (``` ==== !!!! .... ---- ____ **** ////) as single blocks."
|
|
34572
34591
|
},
|
|
34573
34592
|
{
|
|
34574
34593
|
"kind": "method",
|
|
@@ -34743,6 +34762,13 @@
|
|
|
34743
34762
|
"type": {
|
|
34744
34763
|
"text": "'nearest' | 'center'"
|
|
34745
34764
|
}
|
|
34765
|
+
},
|
|
34766
|
+
{
|
|
34767
|
+
"name": "caretOffset",
|
|
34768
|
+
"optional": true,
|
|
34769
|
+
"type": {
|
|
34770
|
+
"text": "number"
|
|
34771
|
+
}
|
|
34746
34772
|
}
|
|
34747
34773
|
]
|
|
34748
34774
|
},
|
|
@@ -34814,6 +34840,13 @@
|
|
|
34814
34840
|
"type": {
|
|
34815
34841
|
"text": "'nearest' | 'center'"
|
|
34816
34842
|
}
|
|
34843
|
+
},
|
|
34844
|
+
{
|
|
34845
|
+
"name": "caretOffset",
|
|
34846
|
+
"optional": true,
|
|
34847
|
+
"type": {
|
|
34848
|
+
"text": "number"
|
|
34849
|
+
}
|
|
34817
34850
|
}
|
|
34818
34851
|
]
|
|
34819
34852
|
},
|
|
@@ -34918,6 +34951,13 @@
|
|
|
34918
34951
|
{
|
|
34919
34952
|
"name": "prefill",
|
|
34920
34953
|
"default": "''"
|
|
34954
|
+
},
|
|
34955
|
+
{
|
|
34956
|
+
"name": "caretOffset",
|
|
34957
|
+
"optional": true,
|
|
34958
|
+
"type": {
|
|
34959
|
+
"text": "number"
|
|
34960
|
+
}
|
|
34921
34961
|
}
|
|
34922
34962
|
],
|
|
34923
34963
|
"description": "Inserts a draft block — committed (or dropped, if left empty) on blur."
|
|
@@ -35256,6 +35296,20 @@
|
|
|
35256
35296
|
}
|
|
35257
35297
|
]
|
|
35258
35298
|
},
|
|
35299
|
+
{
|
|
35300
|
+
"kind": "method",
|
|
35301
|
+
"name": "applyInline",
|
|
35302
|
+
"privacy": "private",
|
|
35303
|
+
"parameters": [
|
|
35304
|
+
{
|
|
35305
|
+
"name": "mark",
|
|
35306
|
+
"type": {
|
|
35307
|
+
"text": "InlineMark"
|
|
35308
|
+
}
|
|
35309
|
+
}
|
|
35310
|
+
],
|
|
35311
|
+
"description": "Applies an inline mark to the open block's textarea: wraps the selection, toggles the\nmark off when it is already wrapped, or inserts a selected placeholder when there is\nno selection. Goes through `editingDraft` so `zn-input` still fires."
|
|
35312
|
+
},
|
|
35259
35313
|
{
|
|
35260
35314
|
"kind": "field",
|
|
35261
35315
|
"name": "toggleRawMode",
|
|
@@ -35284,9 +35338,9 @@
|
|
|
35284
35338
|
"privacy": "private",
|
|
35285
35339
|
"parameters": [
|
|
35286
35340
|
{
|
|
35287
|
-
"name": "
|
|
35341
|
+
"name": "action",
|
|
35288
35342
|
"type": {
|
|
35289
|
-
"text": "
|
|
35343
|
+
"text": "EditorAction"
|
|
35290
35344
|
}
|
|
35291
35345
|
}
|
|
35292
35346
|
]
|
|
@@ -35309,6 +35363,67 @@
|
|
|
35309
35363
|
}
|
|
35310
35364
|
]
|
|
35311
35365
|
},
|
|
35366
|
+
{
|
|
35367
|
+
"kind": "method",
|
|
35368
|
+
"name": "renderMetaChips",
|
|
35369
|
+
"privacy": "private",
|
|
35370
|
+
"parameters": [
|
|
35371
|
+
{
|
|
35372
|
+
"name": "lines",
|
|
35373
|
+
"type": {
|
|
35374
|
+
"text": "MetaLine[]"
|
|
35375
|
+
}
|
|
35376
|
+
}
|
|
35377
|
+
],
|
|
35378
|
+
"description": "A metadata-only block parses to nothing, so show each of its lines as a chip instead."
|
|
35379
|
+
},
|
|
35380
|
+
{
|
|
35381
|
+
"kind": "method",
|
|
35382
|
+
"name": "renderMetaChip",
|
|
35383
|
+
"privacy": "private",
|
|
35384
|
+
"parameters": [
|
|
35385
|
+
{
|
|
35386
|
+
"name": "line",
|
|
35387
|
+
"type": {
|
|
35388
|
+
"text": "MetaLine"
|
|
35389
|
+
}
|
|
35390
|
+
}
|
|
35391
|
+
],
|
|
35392
|
+
"description": "One shared chip treatment for every metadata line kind — each kind just supplies an\nicon, a name, and an optional value/state, display-only in all three cases."
|
|
35393
|
+
},
|
|
35394
|
+
{
|
|
35395
|
+
"kind": "method",
|
|
35396
|
+
"name": "markVariables",
|
|
35397
|
+
"privacy": "private",
|
|
35398
|
+
"parameters": [
|
|
35399
|
+
{
|
|
35400
|
+
"name": "root",
|
|
35401
|
+
"type": {
|
|
35402
|
+
"text": "Element"
|
|
35403
|
+
}
|
|
35404
|
+
}
|
|
35405
|
+
],
|
|
35406
|
+
"description": "Wraps `{name}` references so they read as variables rather than literal text. Walks text\nnodes and skips code, so a brace in a sample stays a brace, and no regex touches markup."
|
|
35407
|
+
},
|
|
35408
|
+
{
|
|
35409
|
+
"kind": "method",
|
|
35410
|
+
"name": "renderConditional",
|
|
35411
|
+
"privacy": "private",
|
|
35412
|
+
"return": {
|
|
35413
|
+
"type": {
|
|
35414
|
+
"text": "TemplateResult | null"
|
|
35415
|
+
}
|
|
35416
|
+
},
|
|
35417
|
+
"parameters": [
|
|
35418
|
+
{
|
|
35419
|
+
"name": "block",
|
|
35420
|
+
"type": {
|
|
35421
|
+
"text": "string"
|
|
35422
|
+
}
|
|
35423
|
+
}
|
|
35424
|
+
],
|
|
35425
|
+
"description": "A conditional range as a labelled wrapper. The inner content is parsed without the\ndirective lines: evaluating instead would blank the block whenever the flag is not\ndefined in this same block, hiding the author's content while they edit it. It also\nkeeps both halves of an if/else idiom visible — with evaluation you could never see\nthe `ifndef` branch while the `ifdef` condition held. Nesting is handled by\n`splitConditionalParts`/`renderConditionalWrapper` below, recursively."
|
|
35426
|
+
},
|
|
35312
35427
|
{
|
|
35313
35428
|
"kind": "method",
|
|
35314
35429
|
"name": "renderBlock",
|
|
@@ -35328,6 +35443,67 @@
|
|
|
35328
35443
|
}
|
|
35329
35444
|
]
|
|
35330
35445
|
},
|
|
35446
|
+
{
|
|
35447
|
+
"kind": "method",
|
|
35448
|
+
"name": "isActionDisabled",
|
|
35449
|
+
"privacy": "private",
|
|
35450
|
+
"return": {
|
|
35451
|
+
"type": {
|
|
35452
|
+
"text": "boolean"
|
|
35453
|
+
}
|
|
35454
|
+
},
|
|
35455
|
+
"parameters": [
|
|
35456
|
+
{
|
|
35457
|
+
"name": "action",
|
|
35458
|
+
"type": {
|
|
35459
|
+
"text": "EditorAction"
|
|
35460
|
+
}
|
|
35461
|
+
}
|
|
35462
|
+
],
|
|
35463
|
+
"description": "An inline action needs an open block to apply its mark to."
|
|
35464
|
+
},
|
|
35465
|
+
{
|
|
35466
|
+
"kind": "method",
|
|
35467
|
+
"name": "activateAction",
|
|
35468
|
+
"privacy": "private",
|
|
35469
|
+
"parameters": [
|
|
35470
|
+
{
|
|
35471
|
+
"name": "action",
|
|
35472
|
+
"type": {
|
|
35473
|
+
"text": "EditorAction"
|
|
35474
|
+
}
|
|
35475
|
+
}
|
|
35476
|
+
],
|
|
35477
|
+
"description": "Routes a toolbar/menu action to the inline or block insert path — the one place both\n`renderAction` and `renderMenuAction` call, so the bar and the overflow menu cannot\ndrift out of sync on what a given action actually does."
|
|
35478
|
+
},
|
|
35479
|
+
{
|
|
35480
|
+
"kind": "method",
|
|
35481
|
+
"name": "renderAction",
|
|
35482
|
+
"privacy": "private",
|
|
35483
|
+
"parameters": [
|
|
35484
|
+
{
|
|
35485
|
+
"name": "action",
|
|
35486
|
+
"type": {
|
|
35487
|
+
"text": "EditorAction"
|
|
35488
|
+
}
|
|
35489
|
+
}
|
|
35490
|
+
],
|
|
35491
|
+
"description": "A single toolbar action button, shared by the toolbar bar and the overflow menu."
|
|
35492
|
+
},
|
|
35493
|
+
{
|
|
35494
|
+
"kind": "method",
|
|
35495
|
+
"name": "renderMenuAction",
|
|
35496
|
+
"privacy": "private",
|
|
35497
|
+
"parameters": [
|
|
35498
|
+
{
|
|
35499
|
+
"name": "action",
|
|
35500
|
+
"type": {
|
|
35501
|
+
"text": "EditorAction"
|
|
35502
|
+
}
|
|
35503
|
+
}
|
|
35504
|
+
],
|
|
35505
|
+
"description": "The same action, rendered as a menu item for the overflow menu."
|
|
35506
|
+
},
|
|
35331
35507
|
{
|
|
35332
35508
|
"kind": "method",
|
|
35333
35509
|
"name": "renderRaw",
|
|
@@ -35460,15 +35636,18 @@
|
|
|
35460
35636
|
"tagNameWithoutPrefix": "remarkd-editor",
|
|
35461
35637
|
"tagName": "zn-remarkd-editor",
|
|
35462
35638
|
"customElement": true,
|
|
35463
|
-
"jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n *\n * @cssproperty --remarkd-editor-max-height - The tallest the editor grows before its body scrolls. Defaults to `100dvh`.\n */",
|
|
35639
|
+
"jsDoc": "/**\n * @summary A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n * @documentation https://zinc.style/components/remarkd-editor\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-button-group\n * @dependency zn-dropdown\n * @dependency zn-icon\n * @dependency zn-file\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-slash-menu\n *\n * @event zn-input - Emitted on each keystroke while editing a block.\n * @event zn-change - Emitted when a block edit is committed and the value changes.\n *\n * @csspart base - The component's base wrapper.\n * @csspart toolbar - The always-visible block-insert and inline-formatting toolbar.\n * @csspart raw-toggle - The button that switches between the block view and the raw source view.\n * @csspart block - A rendered block wrapper.\n * @csspart rendered - The rendered remarkd output of a block.\n * @csspart conditional - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n * @csspart variable - A chip rendered for a document attribute, title, or bracket line.\n * @csspart input - The textarea shown while editing a block.\n * @csspart raw - The full-document textarea shown in raw source mode.\n * @csspart slash-menu - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n * @csspart image-controls - The caption / alignment / size panel shown when an image block is clicked.\n * @csspart include - The chip rendered in place of an `include::` directive.\n * @csspart include-picker - The inline Include picker opened from the toolbar or \"/include\".\n *\n * @cssproperty --remarkd-editor-max-height - The tallest the editor grows before its body scrolls. Defaults to `100dvh`.\n */",
|
|
35464
35640
|
"documentation": "https://zinc.style/components/remarkd-editor",
|
|
35465
35641
|
"status": "experimental",
|
|
35466
35642
|
"since": "1.0",
|
|
35467
35643
|
"dependencies": [
|
|
35468
35644
|
"zn-button",
|
|
35469
35645
|
"zn-button-group",
|
|
35646
|
+
"zn-dropdown",
|
|
35470
35647
|
"zn-icon",
|
|
35471
35648
|
"zn-file",
|
|
35649
|
+
"zn-menu",
|
|
35650
|
+
"zn-menu-item",
|
|
35472
35651
|
"zn-slash-menu"
|
|
35473
35652
|
]
|
|
35474
35653
|
}
|
|
@@ -50409,7 +50588,7 @@
|
|
|
50409
50588
|
"package": {
|
|
50410
50589
|
"name": "@kubex/zinc",
|
|
50411
50590
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
50412
|
-
"version": "1.1.
|
|
50591
|
+
"version": "1.1.103",
|
|
50413
50592
|
"author": "",
|
|
50414
50593
|
"license": "MIT"
|
|
50415
50594
|
}
|
|
@@ -13,6 +13,17 @@
|
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"name": "zn-action-bar",
|
|
18
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
19
|
+
"attributes": [],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Documentation",
|
|
23
|
+
"url": "https://zinc.style/components/action-bar"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
16
27
|
{
|
|
17
28
|
"name": "zn-alert",
|
|
18
29
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -53,17 +64,6 @@
|
|
|
53
64
|
}
|
|
54
65
|
]
|
|
55
66
|
},
|
|
56
|
-
{
|
|
57
|
-
"name": "zn-action-bar",
|
|
58
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
59
|
-
"attributes": [],
|
|
60
|
-
"references": [
|
|
61
|
-
{
|
|
62
|
-
"name": "Documentation",
|
|
63
|
-
"url": "https://zinc.style/components/action-bar"
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
67
|
{
|
|
68
68
|
"name": "zn-animated-button",
|
|
69
69
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -2613,7 +2613,7 @@
|
|
|
2613
2613
|
},
|
|
2614
2614
|
{
|
|
2615
2615
|
"name": "zn-menu",
|
|
2616
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2616
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n- **--zn-menu-max-height** - Caps the menu's height and makes it scroll internally. Unset (`none`) by default, so the menu grows to fit its items unless a consumer sets this. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2617
2617
|
"attributes": [
|
|
2618
2618
|
{ "name": "actions", "values": [{ "name": "array" }] },
|
|
2619
2619
|
{
|
|
@@ -3562,7 +3562,7 @@
|
|
|
3562
3562
|
},
|
|
3563
3563
|
{
|
|
3564
3564
|
"name": "zn-remarkd-editor",
|
|
3565
|
-
"description": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted on each keystroke while editing a block.\n- **zn-change** - Emitted when a block edit is committed and the value changes.\n\n### **Methods:**\n - **focus()** - Starts editing the first block, or a new block if the document is empty.\n- **blur()** - Commits any in-progress block or raw edit.\n\n### **CSS Properties:**\n - **--remarkd-editor-max-height** - The tallest the editor grows before its body scrolls. Defaults to `100dvh`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The always-visible block-insert toolbar.\n- **raw-toggle** - The button that switches between the block view and the raw source view.\n- **block** - A rendered block wrapper.\n- **rendered** - The rendered remarkd output of a block.\n- **input** - The textarea shown while editing a block.\n- **raw** - The full-document textarea shown in raw source mode.\n- **slash-menu** - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n- **image-controls** - The caption / alignment / size panel shown when an image block is clicked.\n- **include** - The chip rendered in place of an `include::` directive.\n- **include-picker** - The inline Include picker opened from the toolbar or \"/include\".",
|
|
3565
|
+
"description": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted on each keystroke while editing a block.\n- **zn-change** - Emitted when a block edit is committed and the value changes.\n\n### **Methods:**\n - **focus()** - Starts editing the first block, or a new block if the document is empty.\n- **blur()** - Commits any in-progress block or raw edit.\n\n### **CSS Properties:**\n - **--remarkd-editor-max-height** - The tallest the editor grows before its body scrolls. Defaults to `100dvh`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The always-visible block-insert and inline-formatting toolbar.\n- **raw-toggle** - The button that switches between the block view and the raw source view.\n- **block** - A rendered block wrapper.\n- **rendered** - The rendered remarkd output of a block.\n- **conditional** - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n- **variable** - A chip rendered for a document attribute, title, or bracket line.\n- **input** - The textarea shown while editing a block.\n- **raw** - The full-document textarea shown in raw source mode.\n- **slash-menu** - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n- **image-controls** - The caption / alignment / size panel shown when an image block is clicked.\n- **include** - The chip rendered in place of an `include::` directive.\n- **include-picker** - The inline Include picker opened from the toolbar or \"/include\".",
|
|
3566
3566
|
"attributes": [
|
|
3567
3567
|
{
|
|
3568
3568
|
"name": "slash-recent-key",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.103",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,6 +15,28 @@
|
|
|
15
15
|
"events": [],
|
|
16
16
|
"js": { "properties": [], "events": [] }
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "zn-action-bar",
|
|
20
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
21
|
+
"doc-url": "",
|
|
22
|
+
"attributes": [],
|
|
23
|
+
"slots": [
|
|
24
|
+
{ "name": "", "description": "The default slot." },
|
|
25
|
+
{ "name": "example", "description": "An example slot." }
|
|
26
|
+
],
|
|
27
|
+
"events": [
|
|
28
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
29
|
+
],
|
|
30
|
+
"js": {
|
|
31
|
+
"properties": [],
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"name": "zn-event-name",
|
|
35
|
+
"description": "Emitted as an example."
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
18
40
|
{
|
|
19
41
|
"name": "zn-alert",
|
|
20
42
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -83,28 +105,6 @@
|
|
|
83
105
|
]
|
|
84
106
|
}
|
|
85
107
|
},
|
|
86
|
-
{
|
|
87
|
-
"name": "zn-action-bar",
|
|
88
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
89
|
-
"doc-url": "",
|
|
90
|
-
"attributes": [],
|
|
91
|
-
"slots": [
|
|
92
|
-
{ "name": "", "description": "The default slot." },
|
|
93
|
-
{ "name": "example", "description": "An example slot." }
|
|
94
|
-
],
|
|
95
|
-
"events": [
|
|
96
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
97
|
-
],
|
|
98
|
-
"js": {
|
|
99
|
-
"properties": [],
|
|
100
|
-
"events": [
|
|
101
|
-
{
|
|
102
|
-
"name": "zn-event-name",
|
|
103
|
-
"description": "Emitted as an example."
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
108
|
{
|
|
109
109
|
"name": "zn-animated-button",
|
|
110
110
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -6128,7 +6128,7 @@
|
|
|
6128
6128
|
},
|
|
6129
6129
|
{
|
|
6130
6130
|
"name": "zn-menu",
|
|
6131
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
6131
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n- **--zn-menu-max-height** - Caps the menu's height and makes it scroll internally. Unset (`none`) by default, so the menu grows to fit its items unless a consumer sets this. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
6132
6132
|
"doc-url": "",
|
|
6133
6133
|
"attributes": [
|
|
6134
6134
|
{
|
|
@@ -8309,7 +8309,7 @@
|
|
|
8309
8309
|
},
|
|
8310
8310
|
{
|
|
8311
8311
|
"name": "zn-remarkd-editor",
|
|
8312
|
-
"description": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted on each keystroke while editing a block.\n- **zn-change** - Emitted when a block edit is committed and the value changes.\n\n### **Methods:**\n - **focus()** - Starts editing the first block, or a new block if the document is empty.\n- **blur()** - Commits any in-progress block or raw edit.\n\n### **CSS Properties:**\n - **--remarkd-editor-max-height** - The tallest the editor grows before its body scrolls. Defaults to `100dvh`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The always-visible block-insert toolbar.\n- **raw-toggle** - The button that switches between the block view and the raw source view.\n- **block** - A rendered block wrapper.\n- **rendered** - The rendered remarkd output of a block.\n- **input** - The textarea shown while editing a block.\n- **raw** - The full-document textarea shown in raw source mode.\n- **slash-menu** - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n- **image-controls** - The caption / alignment / size panel shown when an image block is clicked.\n- **include** - The chip rendered in place of an `include::` directive.\n- **include-picker** - The inline Include picker opened from the toolbar or \"/include\".",
|
|
8312
|
+
"description": "A Notion-style block editor for remarkd content. Blocks render inline; click one to edit its source.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted on each keystroke while editing a block.\n- **zn-change** - Emitted when a block edit is committed and the value changes.\n\n### **Methods:**\n - **focus()** - Starts editing the first block, or a new block if the document is empty.\n- **blur()** - Commits any in-progress block or raw edit.\n\n### **CSS Properties:**\n - **--remarkd-editor-max-height** - The tallest the editor grows before its body scrolls. Defaults to `100dvh`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **toolbar** - The always-visible block-insert and inline-formatting toolbar.\n- **raw-toggle** - The button that switches between the block view and the raw source view.\n- **block** - A rendered block wrapper.\n- **rendered** - The rendered remarkd output of a block.\n- **conditional** - A labelled wrapper for an ifdef/ifndef/ifeval/iftrue/iffalse/ifempty/ifnempty range.\n- **variable** - A chip rendered for a document attribute, title, or bracket line.\n- **input** - The textarea shown while editing a block.\n- **raw** - The full-document textarea shown in raw source mode.\n- **slash-menu** - The `zn-slash-menu` opened by typing \"/\" in an empty block.\n- **image-controls** - The caption / alignment / size panel shown when an image block is clicked.\n- **include** - The chip rendered in place of an `include::` directive.\n- **include-picker** - The inline Include picker opened from the toolbar or \"/include\".",
|
|
8313
8313
|
"doc-url": "",
|
|
8314
8314
|
"attributes": [
|
|
8315
8315
|
{
|