@kubex/zinc 1.1.174 → 1.1.176
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 +239 -239
- package/dist/vscode.html-custom-data.json +48 -48
- package/dist/web-types.json +92 -92
- package/dist/zn.d.ts +2 -0
- package/dist/zn.min.js +250 -250
- package/docs/pages/components/vertical-stepper.md +1 -1
- package/package.json +1 -1
- package/src/components/content-block/content-block.component.ts +2 -2
- package/src/components/content-block/content-block.test.ts +14 -0
- package/src/components/content-block/sanitize-html.ts +11 -0
- package/src/components/vertical-stepper/vertical-stepper.scss +4 -0
|
@@ -56,79 +56,6 @@
|
|
|
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
|
-
},
|
|
132
59
|
{
|
|
133
60
|
"kind": "javascript-module",
|
|
134
61
|
"path": "components/alert/alert.js",
|
|
@@ -323,6 +250,79 @@
|
|
|
323
250
|
}
|
|
324
251
|
]
|
|
325
252
|
},
|
|
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",
|
|
@@ -4340,6 +4340,171 @@
|
|
|
4340
4340
|
}
|
|
4341
4341
|
]
|
|
4342
4342
|
},
|
|
4343
|
+
{
|
|
4344
|
+
"kind": "javascript-module",
|
|
4345
|
+
"path": "components/chat-message-attachment/chat-message-attachment.js",
|
|
4346
|
+
"declarations": [
|
|
4347
|
+
{
|
|
4348
|
+
"kind": "class",
|
|
4349
|
+
"description": "",
|
|
4350
|
+
"name": "ZnChatMessageAttachment",
|
|
4351
|
+
"cssParts": [
|
|
4352
|
+
{
|
|
4353
|
+
"description": "The attachment link.",
|
|
4354
|
+
"name": "base"
|
|
4355
|
+
},
|
|
4356
|
+
{
|
|
4357
|
+
"description": "The leading icon.",
|
|
4358
|
+
"name": "icon"
|
|
4359
|
+
},
|
|
4360
|
+
{
|
|
4361
|
+
"description": "The attachment label.",
|
|
4362
|
+
"name": "label"
|
|
4363
|
+
}
|
|
4364
|
+
],
|
|
4365
|
+
"slots": [
|
|
4366
|
+
{
|
|
4367
|
+
"description": "The attachment label. Falls back to the `name` attribute when empty.",
|
|
4368
|
+
"name": ""
|
|
4369
|
+
}
|
|
4370
|
+
],
|
|
4371
|
+
"members": [
|
|
4372
|
+
{
|
|
4373
|
+
"kind": "field",
|
|
4374
|
+
"name": "dependencies",
|
|
4375
|
+
"type": {
|
|
4376
|
+
"text": "object"
|
|
4377
|
+
},
|
|
4378
|
+
"static": true,
|
|
4379
|
+
"default": "{ 'zn-icon': ZnIcon }"
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"kind": "field",
|
|
4383
|
+
"name": "href",
|
|
4384
|
+
"type": {
|
|
4385
|
+
"text": "string"
|
|
4386
|
+
},
|
|
4387
|
+
"default": "''",
|
|
4388
|
+
"description": "The URL the attachment links to.",
|
|
4389
|
+
"attribute": "href"
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"kind": "field",
|
|
4393
|
+
"name": "name",
|
|
4394
|
+
"type": {
|
|
4395
|
+
"text": "string"
|
|
4396
|
+
},
|
|
4397
|
+
"default": "''",
|
|
4398
|
+
"description": "The attachment label (e.g. the file name). Used when the default slot is empty.",
|
|
4399
|
+
"attribute": "name"
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
"kind": "field",
|
|
4403
|
+
"name": "icon",
|
|
4404
|
+
"type": {
|
|
4405
|
+
"text": "string"
|
|
4406
|
+
},
|
|
4407
|
+
"default": "'paperclip@lu'",
|
|
4408
|
+
"description": "The leading icon name.",
|
|
4409
|
+
"attribute": "icon"
|
|
4410
|
+
},
|
|
4411
|
+
{
|
|
4412
|
+
"kind": "field",
|
|
4413
|
+
"name": "target",
|
|
4414
|
+
"type": {
|
|
4415
|
+
"text": "string"
|
|
4416
|
+
},
|
|
4417
|
+
"default": "'_blank'",
|
|
4418
|
+
"description": "Where to open the link. Defaults to a new tab. Reflected so the console's\npagelet link interception (`[href]:not([target])`) skips the host and the\nbrowser handles the click natively (download / new tab) instead of\nloading the file URL as a pagelet.",
|
|
4419
|
+
"attribute": "target",
|
|
4420
|
+
"reflects": true
|
|
4421
|
+
},
|
|
4422
|
+
{
|
|
4423
|
+
"kind": "field",
|
|
4424
|
+
"name": "download",
|
|
4425
|
+
"type": {
|
|
4426
|
+
"text": "boolean"
|
|
4427
|
+
},
|
|
4428
|
+
"default": "false",
|
|
4429
|
+
"description": "Prompt a download rather than navigating to the link.",
|
|
4430
|
+
"attribute": "download"
|
|
4431
|
+
}
|
|
4432
|
+
],
|
|
4433
|
+
"attributes": [
|
|
4434
|
+
{
|
|
4435
|
+
"name": "href",
|
|
4436
|
+
"type": {
|
|
4437
|
+
"text": "string"
|
|
4438
|
+
},
|
|
4439
|
+
"default": "''",
|
|
4440
|
+
"description": "The URL the attachment links to.",
|
|
4441
|
+
"fieldName": "href"
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
"name": "name",
|
|
4445
|
+
"type": {
|
|
4446
|
+
"text": "string"
|
|
4447
|
+
},
|
|
4448
|
+
"default": "''",
|
|
4449
|
+
"description": "The attachment label (e.g. the file name). Used when the default slot is empty.",
|
|
4450
|
+
"fieldName": "name"
|
|
4451
|
+
},
|
|
4452
|
+
{
|
|
4453
|
+
"name": "icon",
|
|
4454
|
+
"type": {
|
|
4455
|
+
"text": "string"
|
|
4456
|
+
},
|
|
4457
|
+
"default": "'paperclip@lu'",
|
|
4458
|
+
"description": "The leading icon name.",
|
|
4459
|
+
"fieldName": "icon"
|
|
4460
|
+
},
|
|
4461
|
+
{
|
|
4462
|
+
"name": "target",
|
|
4463
|
+
"type": {
|
|
4464
|
+
"text": "string"
|
|
4465
|
+
},
|
|
4466
|
+
"default": "'_blank'",
|
|
4467
|
+
"description": "Where to open the link. Defaults to a new tab. Reflected so the console's\npagelet link interception (`[href]:not([target])`) skips the host and the\nbrowser handles the click natively (download / new tab) instead of\nloading the file URL as a pagelet.",
|
|
4468
|
+
"fieldName": "target"
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
"name": "download",
|
|
4472
|
+
"type": {
|
|
4473
|
+
"text": "boolean"
|
|
4474
|
+
},
|
|
4475
|
+
"default": "false",
|
|
4476
|
+
"description": "Prompt a download rather than navigating to the link.",
|
|
4477
|
+
"fieldName": "download"
|
|
4478
|
+
}
|
|
4479
|
+
],
|
|
4480
|
+
"superclass": {
|
|
4481
|
+
"name": "ZincElement",
|
|
4482
|
+
"module": "/src/internal/zinc-element"
|
|
4483
|
+
},
|
|
4484
|
+
"summary": "A single file or link attachment for a `zn-chat-message` or `zn-content-block`.\nRenders an icon and a label as a link, styled to match the message's attachments row. It is\nintended to be used only inside a `zn-chat-message` or `zn-content-block` and is automatically\nplaced in that component's `attachments` slot.",
|
|
4485
|
+
"tagNameWithoutPrefix": "chat-message-attachment",
|
|
4486
|
+
"tagName": "zn-chat-message-attachment",
|
|
4487
|
+
"customElement": true,
|
|
4488
|
+
"jsDoc": "/**\n * @summary A single file or link attachment for a `zn-chat-message` or `zn-content-block`.\n * Renders an icon and a label as a link, styled to match the message's attachments row. It is\n * intended to be used only inside a `zn-chat-message` or `zn-content-block` and is automatically\n * placed in that component's `attachments` slot.\n * @documentation https://zinc.style/components/chat-message-attachment\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The attachment label. Falls back to the `name` attribute when empty.\n *\n * @csspart base - The attachment link.\n * @csspart icon - The leading icon.\n * @csspart label - The attachment label.\n */",
|
|
4489
|
+
"documentation": "https://zinc.style/components/chat-message-attachment",
|
|
4490
|
+
"status": "experimental",
|
|
4491
|
+
"since": "1.0",
|
|
4492
|
+
"dependencies": [
|
|
4493
|
+
"zn-icon"
|
|
4494
|
+
]
|
|
4495
|
+
}
|
|
4496
|
+
],
|
|
4497
|
+
"exports": [
|
|
4498
|
+
{
|
|
4499
|
+
"kind": "js",
|
|
4500
|
+
"name": "default",
|
|
4501
|
+
"declaration": {
|
|
4502
|
+
"name": "ZnChatMessageAttachment",
|
|
4503
|
+
"module": "components/chat-message-attachment/chat-message-attachment.js"
|
|
4504
|
+
}
|
|
4505
|
+
}
|
|
4506
|
+
]
|
|
4507
|
+
},
|
|
4343
4508
|
{
|
|
4344
4509
|
"kind": "javascript-module",
|
|
4345
4510
|
"path": "components/checkbox/checkbox.js",
|
|
@@ -5217,171 +5382,6 @@
|
|
|
5217
5382
|
}
|
|
5218
5383
|
]
|
|
5219
5384
|
},
|
|
5220
|
-
{
|
|
5221
|
-
"kind": "javascript-module",
|
|
5222
|
-
"path": "components/chat-message-attachment/chat-message-attachment.js",
|
|
5223
|
-
"declarations": [
|
|
5224
|
-
{
|
|
5225
|
-
"kind": "class",
|
|
5226
|
-
"description": "",
|
|
5227
|
-
"name": "ZnChatMessageAttachment",
|
|
5228
|
-
"cssParts": [
|
|
5229
|
-
{
|
|
5230
|
-
"description": "The attachment link.",
|
|
5231
|
-
"name": "base"
|
|
5232
|
-
},
|
|
5233
|
-
{
|
|
5234
|
-
"description": "The leading icon.",
|
|
5235
|
-
"name": "icon"
|
|
5236
|
-
},
|
|
5237
|
-
{
|
|
5238
|
-
"description": "The attachment label.",
|
|
5239
|
-
"name": "label"
|
|
5240
|
-
}
|
|
5241
|
-
],
|
|
5242
|
-
"slots": [
|
|
5243
|
-
{
|
|
5244
|
-
"description": "The attachment label. Falls back to the `name` attribute when empty.",
|
|
5245
|
-
"name": ""
|
|
5246
|
-
}
|
|
5247
|
-
],
|
|
5248
|
-
"members": [
|
|
5249
|
-
{
|
|
5250
|
-
"kind": "field",
|
|
5251
|
-
"name": "dependencies",
|
|
5252
|
-
"type": {
|
|
5253
|
-
"text": "object"
|
|
5254
|
-
},
|
|
5255
|
-
"static": true,
|
|
5256
|
-
"default": "{ 'zn-icon': ZnIcon }"
|
|
5257
|
-
},
|
|
5258
|
-
{
|
|
5259
|
-
"kind": "field",
|
|
5260
|
-
"name": "href",
|
|
5261
|
-
"type": {
|
|
5262
|
-
"text": "string"
|
|
5263
|
-
},
|
|
5264
|
-
"default": "''",
|
|
5265
|
-
"description": "The URL the attachment links to.",
|
|
5266
|
-
"attribute": "href"
|
|
5267
|
-
},
|
|
5268
|
-
{
|
|
5269
|
-
"kind": "field",
|
|
5270
|
-
"name": "name",
|
|
5271
|
-
"type": {
|
|
5272
|
-
"text": "string"
|
|
5273
|
-
},
|
|
5274
|
-
"default": "''",
|
|
5275
|
-
"description": "The attachment label (e.g. the file name). Used when the default slot is empty.",
|
|
5276
|
-
"attribute": "name"
|
|
5277
|
-
},
|
|
5278
|
-
{
|
|
5279
|
-
"kind": "field",
|
|
5280
|
-
"name": "icon",
|
|
5281
|
-
"type": {
|
|
5282
|
-
"text": "string"
|
|
5283
|
-
},
|
|
5284
|
-
"default": "'paperclip@lu'",
|
|
5285
|
-
"description": "The leading icon name.",
|
|
5286
|
-
"attribute": "icon"
|
|
5287
|
-
},
|
|
5288
|
-
{
|
|
5289
|
-
"kind": "field",
|
|
5290
|
-
"name": "target",
|
|
5291
|
-
"type": {
|
|
5292
|
-
"text": "string"
|
|
5293
|
-
},
|
|
5294
|
-
"default": "'_blank'",
|
|
5295
|
-
"description": "Where to open the link. Defaults to a new tab. Reflected so the console's\npagelet link interception (`[href]:not([target])`) skips the host and the\nbrowser handles the click natively (download / new tab) instead of\nloading the file URL as a pagelet.",
|
|
5296
|
-
"attribute": "target",
|
|
5297
|
-
"reflects": true
|
|
5298
|
-
},
|
|
5299
|
-
{
|
|
5300
|
-
"kind": "field",
|
|
5301
|
-
"name": "download",
|
|
5302
|
-
"type": {
|
|
5303
|
-
"text": "boolean"
|
|
5304
|
-
},
|
|
5305
|
-
"default": "false",
|
|
5306
|
-
"description": "Prompt a download rather than navigating to the link.",
|
|
5307
|
-
"attribute": "download"
|
|
5308
|
-
}
|
|
5309
|
-
],
|
|
5310
|
-
"attributes": [
|
|
5311
|
-
{
|
|
5312
|
-
"name": "href",
|
|
5313
|
-
"type": {
|
|
5314
|
-
"text": "string"
|
|
5315
|
-
},
|
|
5316
|
-
"default": "''",
|
|
5317
|
-
"description": "The URL the attachment links to.",
|
|
5318
|
-
"fieldName": "href"
|
|
5319
|
-
},
|
|
5320
|
-
{
|
|
5321
|
-
"name": "name",
|
|
5322
|
-
"type": {
|
|
5323
|
-
"text": "string"
|
|
5324
|
-
},
|
|
5325
|
-
"default": "''",
|
|
5326
|
-
"description": "The attachment label (e.g. the file name). Used when the default slot is empty.",
|
|
5327
|
-
"fieldName": "name"
|
|
5328
|
-
},
|
|
5329
|
-
{
|
|
5330
|
-
"name": "icon",
|
|
5331
|
-
"type": {
|
|
5332
|
-
"text": "string"
|
|
5333
|
-
},
|
|
5334
|
-
"default": "'paperclip@lu'",
|
|
5335
|
-
"description": "The leading icon name.",
|
|
5336
|
-
"fieldName": "icon"
|
|
5337
|
-
},
|
|
5338
|
-
{
|
|
5339
|
-
"name": "target",
|
|
5340
|
-
"type": {
|
|
5341
|
-
"text": "string"
|
|
5342
|
-
},
|
|
5343
|
-
"default": "'_blank'",
|
|
5344
|
-
"description": "Where to open the link. Defaults to a new tab. Reflected so the console's\npagelet link interception (`[href]:not([target])`) skips the host and the\nbrowser handles the click natively (download / new tab) instead of\nloading the file URL as a pagelet.",
|
|
5345
|
-
"fieldName": "target"
|
|
5346
|
-
},
|
|
5347
|
-
{
|
|
5348
|
-
"name": "download",
|
|
5349
|
-
"type": {
|
|
5350
|
-
"text": "boolean"
|
|
5351
|
-
},
|
|
5352
|
-
"default": "false",
|
|
5353
|
-
"description": "Prompt a download rather than navigating to the link.",
|
|
5354
|
-
"fieldName": "download"
|
|
5355
|
-
}
|
|
5356
|
-
],
|
|
5357
|
-
"superclass": {
|
|
5358
|
-
"name": "ZincElement",
|
|
5359
|
-
"module": "/src/internal/zinc-element"
|
|
5360
|
-
},
|
|
5361
|
-
"summary": "A single file or link attachment for a `zn-chat-message` or `zn-content-block`.\nRenders an icon and a label as a link, styled to match the message's attachments row. It is\nintended to be used only inside a `zn-chat-message` or `zn-content-block` and is automatically\nplaced in that component's `attachments` slot.",
|
|
5362
|
-
"tagNameWithoutPrefix": "chat-message-attachment",
|
|
5363
|
-
"tagName": "zn-chat-message-attachment",
|
|
5364
|
-
"customElement": true,
|
|
5365
|
-
"jsDoc": "/**\n * @summary A single file or link attachment for a `zn-chat-message` or `zn-content-block`.\n * Renders an icon and a label as a link, styled to match the message's attachments row. It is\n * intended to be used only inside a `zn-chat-message` or `zn-content-block` and is automatically\n * placed in that component's `attachments` slot.\n * @documentation https://zinc.style/components/chat-message-attachment\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The attachment label. Falls back to the `name` attribute when empty.\n *\n * @csspart base - The attachment link.\n * @csspart icon - The leading icon.\n * @csspart label - The attachment label.\n */",
|
|
5366
|
-
"documentation": "https://zinc.style/components/chat-message-attachment",
|
|
5367
|
-
"status": "experimental",
|
|
5368
|
-
"since": "1.0",
|
|
5369
|
-
"dependencies": [
|
|
5370
|
-
"zn-icon"
|
|
5371
|
-
]
|
|
5372
|
-
}
|
|
5373
|
-
],
|
|
5374
|
-
"exports": [
|
|
5375
|
-
{
|
|
5376
|
-
"kind": "js",
|
|
5377
|
-
"name": "default",
|
|
5378
|
-
"declaration": {
|
|
5379
|
-
"name": "ZnChatMessageAttachment",
|
|
5380
|
-
"module": "components/chat-message-attachment/chat-message-attachment.js"
|
|
5381
|
-
}
|
|
5382
|
-
}
|
|
5383
|
-
]
|
|
5384
|
-
},
|
|
5385
5385
|
{
|
|
5386
5386
|
"kind": "javascript-module",
|
|
5387
5387
|
"path": "components/checkbox-group/checkbox-group.js",
|
|
@@ -53936,7 +53936,7 @@
|
|
|
53936
53936
|
"package": {
|
|
53937
53937
|
"name": "@kubex/zinc",
|
|
53938
53938
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
53939
|
-
"version": "1.1.
|
|
53939
|
+
"version": "1.1.176",
|
|
53940
53940
|
"author": "",
|
|
53941
53941
|
"license": "MIT"
|
|
53942
53942
|
}
|
|
@@ -13,17 +13,6 @@
|
|
|
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
|
-
},
|
|
27
16
|
{
|
|
28
17
|
"name": "zn-alert",
|
|
29
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.",
|
|
@@ -64,6 +53,17 @@
|
|
|
64
53
|
}
|
|
65
54
|
]
|
|
66
55
|
},
|
|
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",
|
|
@@ -598,6 +598,43 @@
|
|
|
598
598
|
}
|
|
599
599
|
]
|
|
600
600
|
},
|
|
601
|
+
{
|
|
602
|
+
"name": "zn-chat-message-attachment",
|
|
603
|
+
"description": "A single file or link attachment for a `zn-chat-message` or `zn-content-block`.\nRenders an icon and a label as a link, styled to match the message's attachments row. It is\nintended to be used only inside a `zn-chat-message` or `zn-content-block` and is automatically\nplaced in that component's `attachments` slot.\n---\n\n\n### **Slots:**\n - _default_ - The attachment label. Falls back to the `name` attribute when empty.\n\n### **CSS Parts:**\n - **base** - The attachment link.\n- **icon** - The leading icon.\n- **label** - The attachment label.",
|
|
604
|
+
"attributes": [
|
|
605
|
+
{
|
|
606
|
+
"name": "href",
|
|
607
|
+
"description": "The URL the attachment links to.",
|
|
608
|
+
"values": []
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "name",
|
|
612
|
+
"description": "The attachment label (e.g. the file name). Used when the default slot is empty.",
|
|
613
|
+
"values": []
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "icon",
|
|
617
|
+
"description": "The leading icon name.",
|
|
618
|
+
"values": []
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "target",
|
|
622
|
+
"description": "Where to open the link. Defaults to a new tab. Reflected so the console's\npagelet link interception (`[href]:not([target])`) skips the host and the\nbrowser handles the click natively (download / new tab) instead of\nloading the file URL as a pagelet.",
|
|
623
|
+
"values": []
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "download",
|
|
627
|
+
"description": "Prompt a download rather than navigating to the link.",
|
|
628
|
+
"values": []
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"references": [
|
|
632
|
+
{
|
|
633
|
+
"name": "Documentation",
|
|
634
|
+
"url": "https://zinc.style/components/chat-message-attachment"
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
},
|
|
601
638
|
{
|
|
602
639
|
"name": "zn-checkbox",
|
|
603
640
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox receives input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **image** - Replaces the built-in image used by contained checkboxes.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Properties:**\n - **--zn-selection-card-image-width** - Width of the built-in card image. _(default: undefined)_\n- **--zn-selection-card-image-height** - Height of the built-in card image. _(default: undefined)_\n- **--zn-selection-card-min-height** - Minimum height of a contained checkbox with an image. _(default: undefined)_\n- **--zn-selection-card-content-min-width** - Width the card text keeps before it wraps below the image. _(default: undefined)_\n- **--zn-selection-card-title-font-size** - Font size of a selection card title. _(default: undefined)_\n- **--zn-selection-card-padding** - Equal inset around the contents of a selection card. _(default: undefined)_\n- **--zn-selection-card-gap** - Space between the image, title, and indicator gutter. _(default: undefined)_\n- **--zn-selection-card-control-offset** - Distance between a positioned control and the card edge. _(default: undefined)_\n- **--zn-selection-card-border-radius** - Corner radius of a contained container. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **unchecked-icon** - The unchecked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<svg>` element.\n- **image-container** - The wrapper around the built-in image or image slot.\n- **image** - The built-in image.\n- **card-title** - The title inside a selection card.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
|
|
@@ -742,43 +779,6 @@
|
|
|
742
779
|
}
|
|
743
780
|
]
|
|
744
781
|
},
|
|
745
|
-
{
|
|
746
|
-
"name": "zn-chat-message-attachment",
|
|
747
|
-
"description": "A single file or link attachment for a `zn-chat-message` or `zn-content-block`.\nRenders an icon and a label as a link, styled to match the message's attachments row. It is\nintended to be used only inside a `zn-chat-message` or `zn-content-block` and is automatically\nplaced in that component's `attachments` slot.\n---\n\n\n### **Slots:**\n - _default_ - The attachment label. Falls back to the `name` attribute when empty.\n\n### **CSS Parts:**\n - **base** - The attachment link.\n- **icon** - The leading icon.\n- **label** - The attachment label.",
|
|
748
|
-
"attributes": [
|
|
749
|
-
{
|
|
750
|
-
"name": "href",
|
|
751
|
-
"description": "The URL the attachment links to.",
|
|
752
|
-
"values": []
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"name": "name",
|
|
756
|
-
"description": "The attachment label (e.g. the file name). Used when the default slot is empty.",
|
|
757
|
-
"values": []
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
"name": "icon",
|
|
761
|
-
"description": "The leading icon name.",
|
|
762
|
-
"values": []
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"name": "target",
|
|
766
|
-
"description": "Where to open the link. Defaults to a new tab. Reflected so the console's\npagelet link interception (`[href]:not([target])`) skips the host and the\nbrowser handles the click natively (download / new tab) instead of\nloading the file URL as a pagelet.",
|
|
767
|
-
"values": []
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
"name": "download",
|
|
771
|
-
"description": "Prompt a download rather than navigating to the link.",
|
|
772
|
-
"values": []
|
|
773
|
-
}
|
|
774
|
-
],
|
|
775
|
-
"references": [
|
|
776
|
-
{
|
|
777
|
-
"name": "Documentation",
|
|
778
|
-
"url": "https://zinc.style/components/chat-message-attachment"
|
|
779
|
-
}
|
|
780
|
-
]
|
|
781
|
-
},
|
|
782
782
|
{
|
|
783
783
|
"name": "zn-checkbox-group",
|
|
784
784
|
"description": "Shotrt summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the checkbox group's selected value changes.\n- **zn-input** - Emitted when the checkbox group receives user input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<zn-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **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- **help-text** - Text that describes how to use the checkbox group. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--zn-checkbox-group-column-width** - Minimum column width used by the horizontal contained grid, or the card basis when `wrap` is set. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.",
|