@kubex/zinc 1.1.104 → 1.1.106

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.
@@ -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",
@@ -16175,6 +16175,275 @@
16175
16175
  }
16176
16176
  ]
16177
16177
  },
16178
+ {
16179
+ "kind": "javascript-module",
16180
+ "path": "components/form-actions/form-actions.js",
16181
+ "declarations": [
16182
+ {
16183
+ "kind": "class",
16184
+ "description": "",
16185
+ "name": "ZnFormActions",
16186
+ "cssParts": [
16187
+ {
16188
+ "description": "The cancel button.",
16189
+ "name": "cancel-button"
16190
+ },
16191
+ {
16192
+ "description": "The reset button.",
16193
+ "name": "reset-button"
16194
+ },
16195
+ {
16196
+ "description": "The submit button.",
16197
+ "name": "submit-button"
16198
+ }
16199
+ ],
16200
+ "slots": [
16201
+ {
16202
+ "description": "Extra actions, placed before the buttons.",
16203
+ "name": ""
16204
+ }
16205
+ ],
16206
+ "members": [
16207
+ {
16208
+ "kind": "field",
16209
+ "name": "dependencies",
16210
+ "type": {
16211
+ "text": "object"
16212
+ },
16213
+ "static": true,
16214
+ "default": "{ 'zn-button': ZnButton }"
16215
+ },
16216
+ {
16217
+ "kind": "field",
16218
+ "name": "submitText",
16219
+ "type": {
16220
+ "text": "string"
16221
+ },
16222
+ "default": "'Save'",
16223
+ "description": "The submit button's text.",
16224
+ "attribute": "submit-text"
16225
+ },
16226
+ {
16227
+ "kind": "field",
16228
+ "name": "submitIcon",
16229
+ "type": {
16230
+ "text": "string"
16231
+ },
16232
+ "default": "'check@lu'",
16233
+ "description": "The submit button's icon.",
16234
+ "attribute": "submit-icon"
16235
+ },
16236
+ {
16237
+ "kind": "field",
16238
+ "name": "withCancel",
16239
+ "type": {
16240
+ "text": "boolean"
16241
+ },
16242
+ "default": "false",
16243
+ "description": "Adds a cancel button. Closes the containing dialog or slideout, if any, and emits `zn-cancel`.",
16244
+ "attribute": "with-cancel"
16245
+ },
16246
+ {
16247
+ "kind": "field",
16248
+ "name": "cancelText",
16249
+ "type": {
16250
+ "text": "string"
16251
+ },
16252
+ "default": "'Cancel'",
16253
+ "description": "The cancel button's text.",
16254
+ "attribute": "cancel-text"
16255
+ },
16256
+ {
16257
+ "kind": "field",
16258
+ "name": "cancelIcon",
16259
+ "type": {
16260
+ "text": "string"
16261
+ },
16262
+ "default": "'x@lu'",
16263
+ "description": "The cancel button's icon.",
16264
+ "attribute": "cancel-icon"
16265
+ },
16266
+ {
16267
+ "kind": "field",
16268
+ "name": "withReset",
16269
+ "type": {
16270
+ "text": "boolean"
16271
+ },
16272
+ "default": "false",
16273
+ "description": "Adds a reset button that resets the form.",
16274
+ "attribute": "with-reset"
16275
+ },
16276
+ {
16277
+ "kind": "field",
16278
+ "name": "resetText",
16279
+ "type": {
16280
+ "text": "string"
16281
+ },
16282
+ "default": "'Reset'",
16283
+ "description": "The reset button's text.",
16284
+ "attribute": "reset-text"
16285
+ },
16286
+ {
16287
+ "kind": "field",
16288
+ "name": "resetIcon",
16289
+ "type": {
16290
+ "text": "string"
16291
+ },
16292
+ "default": "'rotate-ccw@lu'",
16293
+ "description": "The reset button's icon.",
16294
+ "attribute": "reset-icon"
16295
+ },
16296
+ {
16297
+ "kind": "field",
16298
+ "name": "form",
16299
+ "type": {
16300
+ "text": "string"
16301
+ },
16302
+ "description": "The id of the form to act on. If omitted, the closest containing form is used.",
16303
+ "attribute": "form"
16304
+ },
16305
+ {
16306
+ "kind": "method",
16307
+ "name": "getForm",
16308
+ "privacy": "private",
16309
+ "return": {
16310
+ "type": {
16311
+ "text": "HTMLFormElement | null"
16312
+ }
16313
+ }
16314
+ },
16315
+ {
16316
+ "kind": "field",
16317
+ "name": "handleCancel",
16318
+ "privacy": "private"
16319
+ },
16320
+ {
16321
+ "kind": "field",
16322
+ "name": "handleReset",
16323
+ "privacy": "private"
16324
+ },
16325
+ {
16326
+ "kind": "field",
16327
+ "name": "handleSubmit",
16328
+ "privacy": "private"
16329
+ }
16330
+ ],
16331
+ "events": [
16332
+ {
16333
+ "description": "Emitted when the cancel button is clicked.",
16334
+ "name": "zn-cancel"
16335
+ }
16336
+ ],
16337
+ "attributes": [
16338
+ {
16339
+ "name": "submit-text",
16340
+ "type": {
16341
+ "text": "string"
16342
+ },
16343
+ "default": "'Save'",
16344
+ "description": "The submit button's text.",
16345
+ "fieldName": "submitText"
16346
+ },
16347
+ {
16348
+ "name": "submit-icon",
16349
+ "type": {
16350
+ "text": "string"
16351
+ },
16352
+ "default": "'check@lu'",
16353
+ "description": "The submit button's icon.",
16354
+ "fieldName": "submitIcon"
16355
+ },
16356
+ {
16357
+ "name": "with-cancel",
16358
+ "type": {
16359
+ "text": "boolean"
16360
+ },
16361
+ "default": "false",
16362
+ "description": "Adds a cancel button. Closes the containing dialog or slideout, if any, and emits `zn-cancel`.",
16363
+ "fieldName": "withCancel"
16364
+ },
16365
+ {
16366
+ "name": "cancel-text",
16367
+ "type": {
16368
+ "text": "string"
16369
+ },
16370
+ "default": "'Cancel'",
16371
+ "description": "The cancel button's text.",
16372
+ "fieldName": "cancelText"
16373
+ },
16374
+ {
16375
+ "name": "cancel-icon",
16376
+ "type": {
16377
+ "text": "string"
16378
+ },
16379
+ "default": "'x@lu'",
16380
+ "description": "The cancel button's icon.",
16381
+ "fieldName": "cancelIcon"
16382
+ },
16383
+ {
16384
+ "name": "with-reset",
16385
+ "type": {
16386
+ "text": "boolean"
16387
+ },
16388
+ "default": "false",
16389
+ "description": "Adds a reset button that resets the form.",
16390
+ "fieldName": "withReset"
16391
+ },
16392
+ {
16393
+ "name": "reset-text",
16394
+ "type": {
16395
+ "text": "string"
16396
+ },
16397
+ "default": "'Reset'",
16398
+ "description": "The reset button's text.",
16399
+ "fieldName": "resetText"
16400
+ },
16401
+ {
16402
+ "name": "reset-icon",
16403
+ "type": {
16404
+ "text": "string"
16405
+ },
16406
+ "default": "'rotate-ccw@lu'",
16407
+ "description": "The reset button's icon.",
16408
+ "fieldName": "resetIcon"
16409
+ },
16410
+ {
16411
+ "name": "form",
16412
+ "type": {
16413
+ "text": "string"
16414
+ },
16415
+ "description": "The id of the form to act on. If omitted, the closest containing form is used.",
16416
+ "fieldName": "form"
16417
+ }
16418
+ ],
16419
+ "superclass": {
16420
+ "name": "ZincElement",
16421
+ "module": "/src/internal/zinc-element"
16422
+ },
16423
+ "summary": "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`.",
16424
+ "tagNameWithoutPrefix": "form-actions",
16425
+ "tagName": "zn-form-actions",
16426
+ "customElement": true,
16427
+ "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 */",
16428
+ "documentation": "https://zinc.style/components/form-actions",
16429
+ "status": "experimental",
16430
+ "since": "1.0",
16431
+ "dependencies": [
16432
+ "zn-button"
16433
+ ]
16434
+ }
16435
+ ],
16436
+ "exports": [
16437
+ {
16438
+ "kind": "js",
16439
+ "name": "default",
16440
+ "declaration": {
16441
+ "name": "ZnFormActions",
16442
+ "module": "components/form-actions/form-actions.js"
16443
+ }
16444
+ }
16445
+ ]
16446
+ },
16178
16447
  {
16179
16448
  "kind": "javascript-module",
16180
16449
  "path": "components/form-group/form-group.js",
@@ -17855,6 +18124,11 @@
17855
18124
  "name": "clearFile",
17856
18125
  "privacy": "private"
17857
18126
  },
18127
+ {
18128
+ "kind": "method",
18129
+ "name": "syncHiddenInputs",
18130
+ "privacy": "private"
18131
+ },
17858
18132
  {
17859
18133
  "kind": "method",
17860
18134
  "name": "handleSearchInput",
@@ -50588,7 +50862,7 @@
50588
50862
  "package": {
50589
50863
  "name": "@kubex/zinc",
50590
50864
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
50591
- "version": "1.1.104",
50865
+ "version": "1.1.106",
50592
50866
  "author": "",
50593
50867
  "license": "MIT"
50594
50868
  }
@@ -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",
@@ -1863,6 +1863,63 @@
1863
1863
  }
1864
1864
  ]
1865
1865
  },
1866
+ {
1867
+ "name": "zn-form-actions",
1868
+ "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.",
1869
+ "attributes": [
1870
+ {
1871
+ "name": "submit-text",
1872
+ "description": "The submit button's text.",
1873
+ "values": []
1874
+ },
1875
+ {
1876
+ "name": "submit-icon",
1877
+ "description": "The submit button's icon.",
1878
+ "values": []
1879
+ },
1880
+ {
1881
+ "name": "with-cancel",
1882
+ "description": "Adds a cancel button. Closes the containing dialog or slideout, if any, and emits `zn-cancel`.",
1883
+ "values": []
1884
+ },
1885
+ {
1886
+ "name": "cancel-text",
1887
+ "description": "The cancel button's text.",
1888
+ "values": []
1889
+ },
1890
+ {
1891
+ "name": "cancel-icon",
1892
+ "description": "The cancel button's icon.",
1893
+ "values": []
1894
+ },
1895
+ {
1896
+ "name": "with-reset",
1897
+ "description": "Adds a reset button that resets the form.",
1898
+ "values": []
1899
+ },
1900
+ {
1901
+ "name": "reset-text",
1902
+ "description": "The reset button's text.",
1903
+ "values": []
1904
+ },
1905
+ {
1906
+ "name": "reset-icon",
1907
+ "description": "The reset button's icon.",
1908
+ "values": []
1909
+ },
1910
+ {
1911
+ "name": "form",
1912
+ "description": "The id of the form to act on. If omitted, the closest containing form is used.",
1913
+ "values": []
1914
+ }
1915
+ ],
1916
+ "references": [
1917
+ {
1918
+ "name": "Documentation",
1919
+ "url": "https://zinc.style/components/form-actions"
1920
+ }
1921
+ ]
1922
+ },
1866
1923
  {
1867
1924
  "name": "zn-form-group",
1868
1925
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **chip** - A chip displayed under the form group's help text.",