@kubex/zinc 1.1.141 → 1.1.143
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 +242 -9
- package/dist/vscode.html-custom-data.json +34 -4
- package/dist/web-types.json +81 -8
- package/dist/zn.d.ts +558 -531
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +895 -866
- package/docs/pages/components/form-actions.md +15 -0
- package/package.json +1 -1
- package/scss/_global-spacing.scss +7 -0
- package/src/components/form-actions/form-actions.component.ts +4 -1
- package/src/components/form-actions/form-actions.scss +17 -0
- package/src/components/form-actions/form-actions.test.ts +20 -0
- package/src/components/form-group/form-group.scss +11 -1
- package/src/components/form-group/form-group.test.ts +16 -0
- package/src/components/linked-select/linked-select.component.ts +37 -5
- package/src/components/linked-select/linked-select.test.ts +95 -9
- package/src/components/page-builder/page-builder.component.ts +56 -2
- package/src/components/page-builder/page-builder.scss +41 -0
- package/src/components/page-builder/page-builder.test.ts +210 -0
- package/src/components/remarkd-editor/remarkd-editor.component.ts +2 -0
- package/src/components/remarkd-editor/remarkd-editor.test.ts +35 -7
- package/src/components/sp/sp.scss +6 -0
- package/src/components/sp/sp.test.ts +31 -0
- package/src/components/translations/translations.component.ts +33 -2
- package/src/components/translations/translations.test.ts +41 -0
|
@@ -17246,7 +17246,7 @@
|
|
|
17246
17246
|
],
|
|
17247
17247
|
"slots": [
|
|
17248
17248
|
{
|
|
17249
|
-
"description": "Extra actions, placed before the buttons.",
|
|
17249
|
+
"description": "Extra actions, placed before the buttons. `align=\"start\"` on a child moves it to the start of the row; any number can sit on either side. Write them in the order they should be read — the sides are set by CSS ordering, so markup order is what a keyboard follows.",
|
|
17250
17250
|
"name": ""
|
|
17251
17251
|
}
|
|
17252
17252
|
],
|
|
@@ -17471,7 +17471,7 @@
|
|
|
17471
17471
|
"tagNameWithoutPrefix": "form-actions",
|
|
17472
17472
|
"tagName": "zn-form-actions",
|
|
17473
17473
|
"customElement": true,
|
|
17474
|
-
"jsDoc": "/**\n * @summary Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\n * with `with-cancel` and `with-reset`.\n * @documentation https://zinc.style/components/form-actions\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n *\n * @event zn-cancel - Emitted when the cancel button is clicked.\n *\n * @slot - Extra actions, placed before the buttons.\n *\n * @csspart cancel-button - The cancel button.\n * @csspart reset-button - The reset button.\n * @csspart submit-button - The submit button.\n */",
|
|
17474
|
+
"jsDoc": "/**\n * @summary Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\n * with `with-cancel` and `with-reset`.\n * @documentation https://zinc.style/components/form-actions\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n *\n * @event zn-cancel - Emitted when the cancel button is clicked.\n *\n * @slot - Extra actions, placed before the buttons. `align=\"start\"` on a child moves it to the start of the row; any\n * number can sit on either side. Write them in the order they should be read — the sides are set by CSS ordering, so\n * markup order is what a keyboard follows.\n *\n * @csspart cancel-button - The cancel button.\n * @csspart reset-button - The reset button.\n * @csspart submit-button - The submit button.\n */",
|
|
17475
17475
|
"documentation": "https://zinc.style/components/form-actions",
|
|
17476
17476
|
"status": "experimental",
|
|
17477
17477
|
"since": "1.0",
|
|
@@ -23020,15 +23020,16 @@
|
|
|
23020
23020
|
"kind": "field",
|
|
23021
23021
|
"name": "value",
|
|
23022
23022
|
"type": {
|
|
23023
|
-
"text": "string"
|
|
23023
|
+
"text": "string | string[]"
|
|
23024
23024
|
},
|
|
23025
|
+
"default": "''",
|
|
23025
23026
|
"attribute": "value"
|
|
23026
23027
|
},
|
|
23027
23028
|
{
|
|
23028
23029
|
"kind": "field",
|
|
23029
23030
|
"name": "defaultValue",
|
|
23030
23031
|
"type": {
|
|
23031
|
-
"text": "string"
|
|
23032
|
+
"text": "string | string[]"
|
|
23032
23033
|
},
|
|
23033
23034
|
"default": "''",
|
|
23034
23035
|
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
@@ -23088,6 +23089,53 @@
|
|
|
23088
23089
|
"description": "Automatically select the first option of the linked group when no value is set.",
|
|
23089
23090
|
"attribute": "select-first"
|
|
23090
23091
|
},
|
|
23092
|
+
{
|
|
23093
|
+
"kind": "field",
|
|
23094
|
+
"name": "multiple",
|
|
23095
|
+
"type": {
|
|
23096
|
+
"text": "boolean"
|
|
23097
|
+
},
|
|
23098
|
+
"default": "false",
|
|
23099
|
+
"description": "Allows more than one option of the linked group to be selected.",
|
|
23100
|
+
"attribute": "multiple",
|
|
23101
|
+
"reflects": true
|
|
23102
|
+
},
|
|
23103
|
+
{
|
|
23104
|
+
"kind": "field",
|
|
23105
|
+
"name": "placeholder",
|
|
23106
|
+
"type": {
|
|
23107
|
+
"text": "string"
|
|
23108
|
+
},
|
|
23109
|
+
"default": "''",
|
|
23110
|
+
"attribute": "placeholder"
|
|
23111
|
+
},
|
|
23112
|
+
{
|
|
23113
|
+
"kind": "field",
|
|
23114
|
+
"name": "clearable",
|
|
23115
|
+
"type": {
|
|
23116
|
+
"text": "boolean"
|
|
23117
|
+
},
|
|
23118
|
+
"default": "false",
|
|
23119
|
+
"attribute": "clearable"
|
|
23120
|
+
},
|
|
23121
|
+
{
|
|
23122
|
+
"kind": "field",
|
|
23123
|
+
"name": "search",
|
|
23124
|
+
"type": {
|
|
23125
|
+
"text": "boolean"
|
|
23126
|
+
},
|
|
23127
|
+
"default": "false",
|
|
23128
|
+
"attribute": "search"
|
|
23129
|
+
},
|
|
23130
|
+
{
|
|
23131
|
+
"kind": "field",
|
|
23132
|
+
"name": "helpText",
|
|
23133
|
+
"type": {
|
|
23134
|
+
"text": "string"
|
|
23135
|
+
},
|
|
23136
|
+
"default": "''",
|
|
23137
|
+
"attribute": "help-text"
|
|
23138
|
+
},
|
|
23091
23139
|
{
|
|
23092
23140
|
"kind": "field",
|
|
23093
23141
|
"name": "input",
|
|
@@ -23174,6 +23222,16 @@
|
|
|
23174
23222
|
"name": "handleLinkedSelectChange",
|
|
23175
23223
|
"privacy": "public"
|
|
23176
23224
|
},
|
|
23225
|
+
{
|
|
23226
|
+
"kind": "method",
|
|
23227
|
+
"name": "serialisedValue",
|
|
23228
|
+
"privacy": "private",
|
|
23229
|
+
"return": {
|
|
23230
|
+
"type": {
|
|
23231
|
+
"text": "string"
|
|
23232
|
+
}
|
|
23233
|
+
}
|
|
23234
|
+
},
|
|
23177
23235
|
{
|
|
23178
23236
|
"kind": "method",
|
|
23179
23237
|
"name": "handleChange",
|
|
@@ -23221,8 +23279,9 @@
|
|
|
23221
23279
|
{
|
|
23222
23280
|
"name": "value",
|
|
23223
23281
|
"type": {
|
|
23224
|
-
"text": "string"
|
|
23282
|
+
"text": "string | string[]"
|
|
23225
23283
|
},
|
|
23284
|
+
"default": "''",
|
|
23226
23285
|
"fieldName": "value"
|
|
23227
23286
|
},
|
|
23228
23287
|
{
|
|
@@ -23272,6 +23331,47 @@
|
|
|
23272
23331
|
"default": "false",
|
|
23273
23332
|
"description": "Automatically select the first option of the linked group when no value is set.",
|
|
23274
23333
|
"fieldName": "selectFirst"
|
|
23334
|
+
},
|
|
23335
|
+
{
|
|
23336
|
+
"name": "multiple",
|
|
23337
|
+
"type": {
|
|
23338
|
+
"text": "boolean"
|
|
23339
|
+
},
|
|
23340
|
+
"default": "false",
|
|
23341
|
+
"description": "Allows more than one option of the linked group to be selected.",
|
|
23342
|
+
"fieldName": "multiple"
|
|
23343
|
+
},
|
|
23344
|
+
{
|
|
23345
|
+
"name": "placeholder",
|
|
23346
|
+
"type": {
|
|
23347
|
+
"text": "string"
|
|
23348
|
+
},
|
|
23349
|
+
"default": "''",
|
|
23350
|
+
"fieldName": "placeholder"
|
|
23351
|
+
},
|
|
23352
|
+
{
|
|
23353
|
+
"name": "clearable",
|
|
23354
|
+
"type": {
|
|
23355
|
+
"text": "boolean"
|
|
23356
|
+
},
|
|
23357
|
+
"default": "false",
|
|
23358
|
+
"fieldName": "clearable"
|
|
23359
|
+
},
|
|
23360
|
+
{
|
|
23361
|
+
"name": "search",
|
|
23362
|
+
"type": {
|
|
23363
|
+
"text": "boolean"
|
|
23364
|
+
},
|
|
23365
|
+
"default": "false",
|
|
23366
|
+
"fieldName": "search"
|
|
23367
|
+
},
|
|
23368
|
+
{
|
|
23369
|
+
"name": "help-text",
|
|
23370
|
+
"type": {
|
|
23371
|
+
"text": "string"
|
|
23372
|
+
},
|
|
23373
|
+
"default": "''",
|
|
23374
|
+
"fieldName": "helpText"
|
|
23275
23375
|
}
|
|
23276
23376
|
],
|
|
23277
23377
|
"superclass": {
|
|
@@ -28454,6 +28554,24 @@
|
|
|
28454
28554
|
"default": "null",
|
|
28455
28555
|
"description": "The stamped config form for the selected section; rebuilt on selection change."
|
|
28456
28556
|
},
|
|
28557
|
+
{
|
|
28558
|
+
"kind": "field",
|
|
28559
|
+
"name": "_inspectorWidth",
|
|
28560
|
+
"type": {
|
|
28561
|
+
"text": "number | null"
|
|
28562
|
+
},
|
|
28563
|
+
"privacy": "private",
|
|
28564
|
+
"default": "null"
|
|
28565
|
+
},
|
|
28566
|
+
{
|
|
28567
|
+
"kind": "field",
|
|
28568
|
+
"name": "_inspectorWide",
|
|
28569
|
+
"type": {
|
|
28570
|
+
"text": "boolean"
|
|
28571
|
+
},
|
|
28572
|
+
"privacy": "private",
|
|
28573
|
+
"default": "false"
|
|
28574
|
+
},
|
|
28457
28575
|
{
|
|
28458
28576
|
"kind": "field",
|
|
28459
28577
|
"name": "_hasSlot",
|
|
@@ -29627,6 +29745,45 @@
|
|
|
29627
29745
|
}
|
|
29628
29746
|
]
|
|
29629
29747
|
},
|
|
29748
|
+
{
|
|
29749
|
+
"kind": "method",
|
|
29750
|
+
"name": "_clampInspector",
|
|
29751
|
+
"privacy": "private",
|
|
29752
|
+
"return": {
|
|
29753
|
+
"type": {
|
|
29754
|
+
"text": "number"
|
|
29755
|
+
}
|
|
29756
|
+
},
|
|
29757
|
+
"parameters": [
|
|
29758
|
+
{
|
|
29759
|
+
"name": "width",
|
|
29760
|
+
"type": {
|
|
29761
|
+
"text": "number"
|
|
29762
|
+
}
|
|
29763
|
+
}
|
|
29764
|
+
],
|
|
29765
|
+
"description": "Width the inspector may be dragged to, against the builder's own width."
|
|
29766
|
+
},
|
|
29767
|
+
{
|
|
29768
|
+
"kind": "method",
|
|
29769
|
+
"name": "_inspectorRect",
|
|
29770
|
+
"privacy": "private",
|
|
29771
|
+
"return": {
|
|
29772
|
+
"type": {
|
|
29773
|
+
"text": "number"
|
|
29774
|
+
}
|
|
29775
|
+
}
|
|
29776
|
+
},
|
|
29777
|
+
{
|
|
29778
|
+
"kind": "field",
|
|
29779
|
+
"name": "_onResizeStart",
|
|
29780
|
+
"privacy": "private"
|
|
29781
|
+
},
|
|
29782
|
+
{
|
|
29783
|
+
"kind": "field",
|
|
29784
|
+
"name": "_onResizeKey",
|
|
29785
|
+
"privacy": "private"
|
|
29786
|
+
},
|
|
29630
29787
|
{
|
|
29631
29788
|
"kind": "method",
|
|
29632
29789
|
"name": "_renderInspector",
|
|
@@ -52178,7 +52335,7 @@
|
|
|
52178
52335
|
"text": "object"
|
|
52179
52336
|
},
|
|
52180
52337
|
"static": true,
|
|
52181
|
-
"default": "{ 'zn-chip': ZnChip, 'zn-inline-edit': ZnInlineEdit, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-select': ZnSelect, 'zn-textarea': ZnTextarea }"
|
|
52338
|
+
"default": "{ 'zn-chip': ZnChip, 'zn-inline-edit': ZnInlineEdit, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-remarkd-editor': ZnRemarkdEditor, 'zn-select': ZnSelect, 'zn-textarea': ZnTextarea }"
|
|
52182
52339
|
},
|
|
52183
52340
|
{
|
|
52184
52341
|
"kind": "field",
|
|
@@ -52274,7 +52431,7 @@
|
|
|
52274
52431
|
"kind": "field",
|
|
52275
52432
|
"name": "inputType",
|
|
52276
52433
|
"type": {
|
|
52277
|
-
"text": "'text' | 'number' | 'textarea'"
|
|
52434
|
+
"text": "'text' | 'number' | 'textarea' | 'remarkd'"
|
|
52278
52435
|
},
|
|
52279
52436
|
"default": "'text'",
|
|
52280
52437
|
"description": "The control each translation is edited through.",
|
|
@@ -52289,6 +52446,46 @@
|
|
|
52289
52446
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
52290
52447
|
"attribute": "textarea-rows"
|
|
52291
52448
|
},
|
|
52449
|
+
{
|
|
52450
|
+
"kind": "field",
|
|
52451
|
+
"name": "allowRaw",
|
|
52452
|
+
"type": {
|
|
52453
|
+
"text": "boolean"
|
|
52454
|
+
},
|
|
52455
|
+
"default": "false",
|
|
52456
|
+
"description": "Allows raw HTML blocks, when `input-type` is `remarkd`.",
|
|
52457
|
+
"attribute": "allow-raw"
|
|
52458
|
+
},
|
|
52459
|
+
{
|
|
52460
|
+
"kind": "field",
|
|
52461
|
+
"name": "attachmentUrl",
|
|
52462
|
+
"type": {
|
|
52463
|
+
"text": "string"
|
|
52464
|
+
},
|
|
52465
|
+
"default": "''",
|
|
52466
|
+
"description": "Where the remarkd editor uploads images, when `input-type` is `remarkd`.",
|
|
52467
|
+
"attribute": "attachment-url"
|
|
52468
|
+
},
|
|
52469
|
+
{
|
|
52470
|
+
"kind": "field",
|
|
52471
|
+
"name": "includeUrl",
|
|
52472
|
+
"type": {
|
|
52473
|
+
"text": "string"
|
|
52474
|
+
},
|
|
52475
|
+
"default": "''",
|
|
52476
|
+
"description": "Where the remarkd editor lists embeddable includes, when `input-type` is `remarkd`.",
|
|
52477
|
+
"attribute": "include-url"
|
|
52478
|
+
},
|
|
52479
|
+
{
|
|
52480
|
+
"kind": "field",
|
|
52481
|
+
"name": "linkUrl",
|
|
52482
|
+
"type": {
|
|
52483
|
+
"text": "string"
|
|
52484
|
+
},
|
|
52485
|
+
"default": "''",
|
|
52486
|
+
"description": "Where the remarkd editor searches link targets, when `input-type` is `remarkd`.",
|
|
52487
|
+
"attribute": "link-url"
|
|
52488
|
+
},
|
|
52292
52489
|
{
|
|
52293
52490
|
"kind": "field",
|
|
52294
52491
|
"name": "inlineEdit",
|
|
@@ -52724,7 +52921,7 @@
|
|
|
52724
52921
|
{
|
|
52725
52922
|
"name": "input-type",
|
|
52726
52923
|
"type": {
|
|
52727
|
-
"text": "'text' | 'number' | 'textarea'"
|
|
52924
|
+
"text": "'text' | 'number' | 'textarea' | 'remarkd'"
|
|
52728
52925
|
},
|
|
52729
52926
|
"default": "'text'",
|
|
52730
52927
|
"description": "The control each translation is edited through.",
|
|
@@ -52738,6 +52935,42 @@
|
|
|
52738
52935
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
52739
52936
|
"fieldName": "textareaRows"
|
|
52740
52937
|
},
|
|
52938
|
+
{
|
|
52939
|
+
"name": "allow-raw",
|
|
52940
|
+
"type": {
|
|
52941
|
+
"text": "boolean"
|
|
52942
|
+
},
|
|
52943
|
+
"default": "false",
|
|
52944
|
+
"description": "Allows raw HTML blocks, when `input-type` is `remarkd`.",
|
|
52945
|
+
"fieldName": "allowRaw"
|
|
52946
|
+
},
|
|
52947
|
+
{
|
|
52948
|
+
"name": "attachment-url",
|
|
52949
|
+
"type": {
|
|
52950
|
+
"text": "string"
|
|
52951
|
+
},
|
|
52952
|
+
"default": "''",
|
|
52953
|
+
"description": "Where the remarkd editor uploads images, when `input-type` is `remarkd`.",
|
|
52954
|
+
"fieldName": "attachmentUrl"
|
|
52955
|
+
},
|
|
52956
|
+
{
|
|
52957
|
+
"name": "include-url",
|
|
52958
|
+
"type": {
|
|
52959
|
+
"text": "string"
|
|
52960
|
+
},
|
|
52961
|
+
"default": "''",
|
|
52962
|
+
"description": "Where the remarkd editor lists embeddable includes, when `input-type` is `remarkd`.",
|
|
52963
|
+
"fieldName": "includeUrl"
|
|
52964
|
+
},
|
|
52965
|
+
{
|
|
52966
|
+
"name": "link-url",
|
|
52967
|
+
"type": {
|
|
52968
|
+
"text": "string"
|
|
52969
|
+
},
|
|
52970
|
+
"default": "''",
|
|
52971
|
+
"description": "Where the remarkd editor searches link targets, when `input-type` is `remarkd`.",
|
|
52972
|
+
"fieldName": "linkUrl"
|
|
52973
|
+
},
|
|
52741
52974
|
{
|
|
52742
52975
|
"name": "inline-edit",
|
|
52743
52976
|
"type": {
|
|
@@ -53158,7 +53391,7 @@
|
|
|
53158
53391
|
"package": {
|
|
53159
53392
|
"name": "@kubex/zinc",
|
|
53160
53393
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
53161
|
-
"version": "1.1.
|
|
53394
|
+
"version": "1.1.143",
|
|
53162
53395
|
"author": "",
|
|
53163
53396
|
"license": "MIT"
|
|
53164
53397
|
}
|
|
@@ -1892,7 +1892,7 @@
|
|
|
1892
1892
|
},
|
|
1893
1893
|
{
|
|
1894
1894
|
"name": "zn-form-actions",
|
|
1895
|
-
"description": "Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\nwith `with-cancel` and `with-reset`.\n---\n\n\n### **Events:**\n - **zn-cancel** - Emitted when the cancel button is clicked.\n\n### **Slots:**\n - _default_ - Extra actions, placed before the buttons.\n\n### **CSS Parts:**\n - **cancel-button** - The cancel button.\n- **reset-button** - The reset button.\n- **submit-button** - The submit button.",
|
|
1895
|
+
"description": "Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\nwith `with-cancel` and `with-reset`.\n---\n\n\n### **Events:**\n - **zn-cancel** - Emitted when the cancel button is clicked.\n\n### **Slots:**\n - _default_ - Extra actions, placed before the buttons. `align=\"start\"` on a child moves it to the start of the row; any number can sit on either side. Write them in the order they should be read — the sides are set by CSS ordering, so markup order is what a keyboard follows.\n\n### **CSS Parts:**\n - **cancel-button** - The cancel button.\n- **reset-button** - The reset button.\n- **submit-button** - The submit button.",
|
|
1896
1896
|
"attributes": [
|
|
1897
1897
|
{
|
|
1898
1898
|
"name": "submit-text",
|
|
@@ -2597,7 +2597,7 @@
|
|
|
2597
2597
|
"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.",
|
|
2598
2598
|
"attributes": [
|
|
2599
2599
|
{ "name": "name", "values": [] },
|
|
2600
|
-
{ "name": "value", "values": [] },
|
|
2600
|
+
{ "name": "value", "values": [{ "name": "string[]" }] },
|
|
2601
2601
|
{ "name": "checked", "values": [] },
|
|
2602
2602
|
{ "name": "options", "values": [{ "name": "linkedSelectOptions" }] },
|
|
2603
2603
|
{ "name": "linked-select", "values": [] },
|
|
@@ -2607,7 +2607,16 @@
|
|
|
2607
2607
|
"name": "select-first",
|
|
2608
2608
|
"description": "Automatically select the first option of the linked group when no value is set.",
|
|
2609
2609
|
"values": []
|
|
2610
|
-
}
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"name": "multiple",
|
|
2613
|
+
"description": "Allows more than one option of the linked group to be selected.",
|
|
2614
|
+
"values": []
|
|
2615
|
+
},
|
|
2616
|
+
{ "name": "placeholder", "values": [] },
|
|
2617
|
+
{ "name": "clearable", "values": [] },
|
|
2618
|
+
{ "name": "search", "values": [] },
|
|
2619
|
+
{ "name": "help-text", "values": [] }
|
|
2611
2620
|
],
|
|
2612
2621
|
"references": [
|
|
2613
2622
|
{
|
|
@@ -5320,7 +5329,8 @@
|
|
|
5320
5329
|
"values": [
|
|
5321
5330
|
{ "name": "text" },
|
|
5322
5331
|
{ "name": "number" },
|
|
5323
|
-
{ "name": "textarea" }
|
|
5332
|
+
{ "name": "textarea" },
|
|
5333
|
+
{ "name": "remarkd" }
|
|
5324
5334
|
]
|
|
5325
5335
|
},
|
|
5326
5336
|
{
|
|
@@ -5328,6 +5338,26 @@
|
|
|
5328
5338
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
5329
5339
|
"values": []
|
|
5330
5340
|
},
|
|
5341
|
+
{
|
|
5342
|
+
"name": "allow-raw",
|
|
5343
|
+
"description": "Allows raw HTML blocks, when `input-type` is `remarkd`.",
|
|
5344
|
+
"values": []
|
|
5345
|
+
},
|
|
5346
|
+
{
|
|
5347
|
+
"name": "attachment-url",
|
|
5348
|
+
"description": "Where the remarkd editor uploads images, when `input-type` is `remarkd`.",
|
|
5349
|
+
"values": []
|
|
5350
|
+
},
|
|
5351
|
+
{
|
|
5352
|
+
"name": "include-url",
|
|
5353
|
+
"description": "Where the remarkd editor lists embeddable includes, when `input-type` is `remarkd`.",
|
|
5354
|
+
"values": []
|
|
5355
|
+
},
|
|
5356
|
+
{
|
|
5357
|
+
"name": "link-url",
|
|
5358
|
+
"description": "Where the remarkd editor searches link targets, when `input-type` is `remarkd`.",
|
|
5359
|
+
"values": []
|
|
5360
|
+
},
|
|
5331
5361
|
{
|
|
5332
5362
|
"name": "inline-edit",
|
|
5333
5363
|
"description": "Edits the translation through a `zn-inline-edit` — the value reads as text until it is clicked — rather than a\nplain input or textarea.",
|
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.143",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -4466,7 +4466,7 @@
|
|
|
4466
4466
|
},
|
|
4467
4467
|
{
|
|
4468
4468
|
"name": "zn-form-actions",
|
|
4469
|
-
"description": "Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\nwith `with-cancel` and `with-reset`.\n---\n\n\n### **Events:**\n - **zn-cancel** - Emitted when the cancel button is clicked.\n\n### **Slots:**\n - _default_ - Extra actions, placed before the buttons.\n\n### **CSS Parts:**\n - **cancel-button** - The cancel button.\n- **reset-button** - The reset button.\n- **submit-button** - The submit button.",
|
|
4469
|
+
"description": "Standard action row for the bottom of a form. Renders a submit button by default; opt in to more\nwith `with-cancel` and `with-reset`.\n---\n\n\n### **Events:**\n - **zn-cancel** - Emitted when the cancel button is clicked.\n\n### **Slots:**\n - _default_ - Extra actions, placed before the buttons. `align=\"start\"` on a child moves it to the start of the row; any number can sit on either side. Write them in the order they should be read — the sides are set by CSS ordering, so markup order is what a keyboard follows.\n\n### **CSS Parts:**\n - **cancel-button** - The cancel button.\n- **reset-button** - The reset button.\n- **submit-button** - The submit button.",
|
|
4470
4470
|
"doc-url": "",
|
|
4471
4471
|
"attributes": [
|
|
4472
4472
|
{
|
|
@@ -4518,7 +4518,7 @@
|
|
|
4518
4518
|
"slots": [
|
|
4519
4519
|
{
|
|
4520
4520
|
"name": "",
|
|
4521
|
-
"description": "Extra actions, placed before the buttons."
|
|
4521
|
+
"description": "Extra actions, placed before the buttons. `align=\"start\"` on a child moves it to the start of the row; any number can sit on either side. Write them in the order they should be read — the sides are set by CSS ordering, so markup order is what a keyboard follows."
|
|
4522
4522
|
}
|
|
4523
4523
|
],
|
|
4524
4524
|
"events": [
|
|
@@ -6057,7 +6057,10 @@
|
|
|
6057
6057
|
"name": "name",
|
|
6058
6058
|
"value": { "type": "string", "default": "\"\"" }
|
|
6059
6059
|
},
|
|
6060
|
-
{
|
|
6060
|
+
{
|
|
6061
|
+
"name": "value",
|
|
6062
|
+
"value": { "type": "string | string[]", "default": "''" }
|
|
6063
|
+
},
|
|
6061
6064
|
{
|
|
6062
6065
|
"name": "checked",
|
|
6063
6066
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -6079,6 +6082,27 @@
|
|
|
6079
6082
|
"name": "select-first",
|
|
6080
6083
|
"description": "Automatically select the first option of the linked group when no value is set.",
|
|
6081
6084
|
"value": { "type": "boolean", "default": "false" }
|
|
6085
|
+
},
|
|
6086
|
+
{
|
|
6087
|
+
"name": "multiple",
|
|
6088
|
+
"description": "Allows more than one option of the linked group to be selected.",
|
|
6089
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6090
|
+
},
|
|
6091
|
+
{
|
|
6092
|
+
"name": "placeholder",
|
|
6093
|
+
"value": { "type": "string", "default": "''" }
|
|
6094
|
+
},
|
|
6095
|
+
{
|
|
6096
|
+
"name": "clearable",
|
|
6097
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6098
|
+
},
|
|
6099
|
+
{
|
|
6100
|
+
"name": "search",
|
|
6101
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6102
|
+
},
|
|
6103
|
+
{
|
|
6104
|
+
"name": "help-text",
|
|
6105
|
+
"value": { "type": "string", "default": "''" }
|
|
6082
6106
|
}
|
|
6083
6107
|
],
|
|
6084
6108
|
"slots": [
|
|
@@ -6091,11 +6115,11 @@
|
|
|
6091
6115
|
"js": {
|
|
6092
6116
|
"properties": [
|
|
6093
6117
|
{ "name": "name", "type": "string" },
|
|
6094
|
-
{ "name": "value", "type": "string" },
|
|
6118
|
+
{ "name": "value", "type": "string | string[]" },
|
|
6095
6119
|
{
|
|
6096
6120
|
"name": "defaultValue",
|
|
6097
6121
|
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
6098
|
-
"type": "string"
|
|
6122
|
+
"type": "string | string[]"
|
|
6099
6123
|
},
|
|
6100
6124
|
{ "name": "checked", "type": "boolean" },
|
|
6101
6125
|
{ "name": "options", "type": "linkedSelectOptions" },
|
|
@@ -6107,6 +6131,15 @@
|
|
|
6107
6131
|
"description": "Automatically select the first option of the linked group when no value is set.",
|
|
6108
6132
|
"type": "boolean"
|
|
6109
6133
|
},
|
|
6134
|
+
{
|
|
6135
|
+
"name": "multiple",
|
|
6136
|
+
"description": "Allows more than one option of the linked group to be selected.",
|
|
6137
|
+
"type": "boolean"
|
|
6138
|
+
},
|
|
6139
|
+
{ "name": "placeholder", "type": "string" },
|
|
6140
|
+
{ "name": "clearable", "type": "boolean" },
|
|
6141
|
+
{ "name": "search", "type": "boolean" },
|
|
6142
|
+
{ "name": "helpText", "type": "string" },
|
|
6110
6143
|
{ "name": "input", "type": "ZnSelect" },
|
|
6111
6144
|
{ "name": "displayLabel" },
|
|
6112
6145
|
{ "name": "validity" },
|
|
@@ -12483,7 +12516,7 @@
|
|
|
12483
12516
|
"name": "input-type",
|
|
12484
12517
|
"description": "The control each translation is edited through.",
|
|
12485
12518
|
"value": {
|
|
12486
|
-
"type": "'text' | 'number' | 'textarea'",
|
|
12519
|
+
"type": "'text' | 'number' | 'textarea' | 'remarkd'",
|
|
12487
12520
|
"default": "'text'"
|
|
12488
12521
|
}
|
|
12489
12522
|
},
|
|
@@ -12492,6 +12525,26 @@
|
|
|
12492
12525
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
12493
12526
|
"value": { "type": "number | undefined" }
|
|
12494
12527
|
},
|
|
12528
|
+
{
|
|
12529
|
+
"name": "allow-raw",
|
|
12530
|
+
"description": "Allows raw HTML blocks, when `input-type` is `remarkd`.",
|
|
12531
|
+
"value": { "type": "boolean", "default": "false" }
|
|
12532
|
+
},
|
|
12533
|
+
{
|
|
12534
|
+
"name": "attachment-url",
|
|
12535
|
+
"description": "Where the remarkd editor uploads images, when `input-type` is `remarkd`.",
|
|
12536
|
+
"value": { "type": "string", "default": "''" }
|
|
12537
|
+
},
|
|
12538
|
+
{
|
|
12539
|
+
"name": "include-url",
|
|
12540
|
+
"description": "Where the remarkd editor lists embeddable includes, when `input-type` is `remarkd`.",
|
|
12541
|
+
"value": { "type": "string", "default": "''" }
|
|
12542
|
+
},
|
|
12543
|
+
{
|
|
12544
|
+
"name": "link-url",
|
|
12545
|
+
"description": "Where the remarkd editor searches link targets, when `input-type` is `remarkd`.",
|
|
12546
|
+
"value": { "type": "string", "default": "''" }
|
|
12547
|
+
},
|
|
12495
12548
|
{
|
|
12496
12549
|
"name": "inline-edit",
|
|
12497
12550
|
"description": "Edits the translation through a `zn-inline-edit` — the value reads as text until it is clicked — rather than a\nplain input or textarea.",
|
|
@@ -12606,13 +12659,33 @@
|
|
|
12606
12659
|
{
|
|
12607
12660
|
"name": "inputType",
|
|
12608
12661
|
"description": "The control each translation is edited through.",
|
|
12609
|
-
"type": "'text' | 'number' | 'textarea'"
|
|
12662
|
+
"type": "'text' | 'number' | 'textarea' | 'remarkd'"
|
|
12610
12663
|
},
|
|
12611
12664
|
{
|
|
12612
12665
|
"name": "textareaRows",
|
|
12613
12666
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
12614
12667
|
"type": "number | undefined"
|
|
12615
12668
|
},
|
|
12669
|
+
{
|
|
12670
|
+
"name": "allowRaw",
|
|
12671
|
+
"description": "Allows raw HTML blocks, when `input-type` is `remarkd`.",
|
|
12672
|
+
"type": "boolean"
|
|
12673
|
+
},
|
|
12674
|
+
{
|
|
12675
|
+
"name": "attachmentUrl",
|
|
12676
|
+
"description": "Where the remarkd editor uploads images, when `input-type` is `remarkd`.",
|
|
12677
|
+
"type": "string"
|
|
12678
|
+
},
|
|
12679
|
+
{
|
|
12680
|
+
"name": "includeUrl",
|
|
12681
|
+
"description": "Where the remarkd editor lists embeddable includes, when `input-type` is `remarkd`.",
|
|
12682
|
+
"type": "string"
|
|
12683
|
+
},
|
|
12684
|
+
{
|
|
12685
|
+
"name": "linkUrl",
|
|
12686
|
+
"description": "Where the remarkd editor searches link targets, when `input-type` is `remarkd`.",
|
|
12687
|
+
"type": "string"
|
|
12688
|
+
},
|
|
12616
12689
|
{
|
|
12617
12690
|
"name": "inlineEdit",
|
|
12618
12691
|
"description": "Edits the translation through a `zn-inline-edit` — the value reads as text until it is clicked — rather than a\nplain input or textarea.",
|