@kubex/zinc 1.1.45 → 1.1.46

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.
@@ -47,79 +47,6 @@
47
47
  }
48
48
  ]
49
49
  },
50
- {
51
- "kind": "javascript-module",
52
- "path": "components/action-bar/action-bar.js",
53
- "declarations": [
54
- {
55
- "kind": "class",
56
- "description": "",
57
- "name": "ZnActionBar",
58
- "cssProperties": [
59
- {
60
- "description": "An example CSS custom property.",
61
- "name": "--example"
62
- }
63
- ],
64
- "cssParts": [
65
- {
66
- "description": "The component's base wrapper.",
67
- "name": "base"
68
- }
69
- ],
70
- "slots": [
71
- {
72
- "description": "The default slot.",
73
- "name": ""
74
- },
75
- {
76
- "description": "An example slot.",
77
- "name": "example"
78
- }
79
- ],
80
- "members": [
81
- {
82
- "kind": "field",
83
- "name": "localize",
84
- "privacy": "private",
85
- "readonly": true,
86
- "default": "new LocalizeController(this)"
87
- }
88
- ],
89
- "events": [
90
- {
91
- "description": "Emitted as an example.",
92
- "name": "zn-event-name"
93
- }
94
- ],
95
- "superclass": {
96
- "name": "ZincElement",
97
- "module": "/src/internal/zinc-element"
98
- },
99
- "summary": "Short summary of the component's intended use.",
100
- "tagNameWithoutPrefix": "action-bar",
101
- "tagName": "zn-action-bar",
102
- "customElement": true,
103
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
104
- "documentation": "https://zinc.style/components/action-bar",
105
- "status": "experimental",
106
- "since": "1.0",
107
- "dependencies": [
108
- "zn-example"
109
- ]
110
- }
111
- ],
112
- "exports": [
113
- {
114
- "kind": "js",
115
- "name": "default",
116
- "declaration": {
117
- "name": "ZnActionBar",
118
- "module": "components/action-bar/action-bar.js"
119
- }
120
- }
121
- ]
122
- },
123
50
  {
124
51
  "kind": "javascript-module",
125
52
  "path": "components/alert/alert.js",
@@ -296,6 +223,79 @@
296
223
  }
297
224
  ]
298
225
  },
226
+ {
227
+ "kind": "javascript-module",
228
+ "path": "components/action-bar/action-bar.js",
229
+ "declarations": [
230
+ {
231
+ "kind": "class",
232
+ "description": "",
233
+ "name": "ZnActionBar",
234
+ "cssProperties": [
235
+ {
236
+ "description": "An example CSS custom property.",
237
+ "name": "--example"
238
+ }
239
+ ],
240
+ "cssParts": [
241
+ {
242
+ "description": "The component's base wrapper.",
243
+ "name": "base"
244
+ }
245
+ ],
246
+ "slots": [
247
+ {
248
+ "description": "The default slot.",
249
+ "name": ""
250
+ },
251
+ {
252
+ "description": "An example slot.",
253
+ "name": "example"
254
+ }
255
+ ],
256
+ "members": [
257
+ {
258
+ "kind": "field",
259
+ "name": "localize",
260
+ "privacy": "private",
261
+ "readonly": true,
262
+ "default": "new LocalizeController(this)"
263
+ }
264
+ ],
265
+ "events": [
266
+ {
267
+ "description": "Emitted as an example.",
268
+ "name": "zn-event-name"
269
+ }
270
+ ],
271
+ "superclass": {
272
+ "name": "ZincElement",
273
+ "module": "/src/internal/zinc-element"
274
+ },
275
+ "summary": "Short summary of the component's intended use.",
276
+ "tagNameWithoutPrefix": "action-bar",
277
+ "tagName": "zn-action-bar",
278
+ "customElement": true,
279
+ "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 */",
280
+ "documentation": "https://zinc.style/components/action-bar",
281
+ "status": "experimental",
282
+ "since": "1.0",
283
+ "dependencies": [
284
+ "zn-example"
285
+ ]
286
+ }
287
+ ],
288
+ "exports": [
289
+ {
290
+ "kind": "js",
291
+ "name": "default",
292
+ "declaration": {
293
+ "name": "ZnActionBar",
294
+ "module": "components/action-bar/action-bar.js"
295
+ }
296
+ }
297
+ ]
298
+ },
299
299
  {
300
300
  "kind": "javascript-module",
301
301
  "path": "components/animated-button/animated-button.js",
@@ -3999,11 +3999,11 @@
3999
3999
  "name": "ZincElement",
4000
4000
  "module": "/src/internal/zinc-element"
4001
4001
  },
4002
- "summary": "A single file or link attachment for a `zn-chat-message`. Renders an\nicon 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` and is automatically placed in\nthat component's `attachments` slot.",
4002
+ "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.",
4003
4003
  "tagNameWithoutPrefix": "chat-message-attachment",
4004
4004
  "tagName": "zn-chat-message-attachment",
4005
4005
  "customElement": true,
4006
- "jsDoc": "/**\n * @summary A single file or link attachment for a `zn-chat-message`. Renders an\n * 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` and is automatically placed in\n * 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 */",
4006
+ "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 */",
4007
4007
  "documentation": "https://zinc.style/components/chat-message-attachment",
4008
4008
  "status": "experimental",
4009
4009
  "since": "1.0",
@@ -6255,6 +6255,22 @@
6255
6255
  "kind": "class",
6256
6256
  "description": "",
6257
6257
  "name": "ContentBlock",
6258
+ "cssParts": [
6259
+ {
6260
+ "description": "The attachments row at the bottom of the content.",
6261
+ "name": "attachments"
6262
+ },
6263
+ {
6264
+ "description": "The attachment count indicator in the header.",
6265
+ "name": "header-attachments"
6266
+ }
6267
+ ],
6268
+ "slots": [
6269
+ {
6270
+ "description": "Attachments displayed at the bottom of the content when the block is expanded. Use `zn-chat-message-attachment`, which auto-assigns itself to this slot.",
6271
+ "name": "attachments"
6272
+ }
6273
+ ],
6258
6274
  "members": [
6259
6275
  {
6260
6276
  "kind": "field",
@@ -6343,6 +6359,15 @@
6343
6359
  "readonly": true,
6344
6360
  "default": "new HasSlotController(this, 'text', 'html')"
6345
6361
  },
6362
+ {
6363
+ "kind": "field",
6364
+ "name": "attachmentCount",
6365
+ "type": {
6366
+ "text": "number"
6367
+ },
6368
+ "privacy": "private",
6369
+ "default": "0"
6370
+ },
6346
6371
  {
6347
6372
  "kind": "field",
6348
6373
  "name": "_textRows",
@@ -6405,6 +6430,16 @@
6405
6430
  }
6406
6431
  ]
6407
6432
  },
6433
+ {
6434
+ "kind": "method",
6435
+ "name": "handleAttachmentsSlotChange",
6436
+ "privacy": "private"
6437
+ },
6438
+ {
6439
+ "kind": "method",
6440
+ "name": "syncAttachmentCount",
6441
+ "privacy": "private"
6442
+ },
6408
6443
  {
6409
6444
  "kind": "method",
6410
6445
  "name": "truncateText",
@@ -6522,7 +6557,7 @@
6522
6557
  "tagNameWithoutPrefix": "content-block",
6523
6558
  "tagName": "zn-content-block",
6524
6559
  "customElement": true,
6525
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/content-block\n * @status experimental\n * @since 1.0\n */",
6560
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/content-block\n * @status experimental\n * @since 1.0\n *\n * @slot attachments - Attachments displayed at the bottom of the content when the block is\n * expanded. Use `zn-chat-message-attachment`, which auto-assigns itself to this slot.\n *\n * @csspart attachments - The attachments row at the bottom of the content.\n * @csspart header-attachments - The attachment count indicator in the header.\n */",
6526
6561
  "documentation": "https://zinc.style/components/content-block",
6527
6562
  "status": "experimental",
6528
6563
  "since": "1.0"
@@ -21468,17 +21503,19 @@
21468
21503
  "kind": "field",
21469
21504
  "name": "_preItems",
21470
21505
  "type": {
21471
- "text": "NodeListOf<Element>"
21506
+ "text": "HTMLElement[]"
21472
21507
  },
21473
- "privacy": "private"
21508
+ "privacy": "private",
21509
+ "default": "[]"
21474
21510
  },
21475
21511
  {
21476
21512
  "kind": "field",
21477
21513
  "name": "_postItems",
21478
21514
  "type": {
21479
- "text": "NodeListOf<Element>"
21515
+ "text": "HTMLElement[]"
21480
21516
  },
21481
- "privacy": "private"
21517
+ "privacy": "private",
21518
+ "default": "[]"
21482
21519
  },
21483
21520
  {
21484
21521
  "kind": "field",
@@ -21548,6 +21585,13 @@
21548
21585
  "readonly": true,
21549
21586
  "default": "new WeakMap<HTMLElement, HTMLElement>()"
21550
21587
  },
21588
+ {
21589
+ "kind": "field",
21590
+ "name": "_lightDomClones",
21591
+ "privacy": "private",
21592
+ "readonly": true,
21593
+ "default": "new WeakMap<HTMLElement, HTMLElement>()"
21594
+ },
21551
21595
  {
21552
21596
  "kind": "field",
21553
21597
  "name": "_navItemsGap",
@@ -21613,6 +21657,29 @@
21613
21657
  }
21614
21658
  ]
21615
21659
  },
21660
+ {
21661
+ "kind": "method",
21662
+ "name": "_cloneLightItem",
21663
+ "privacy": "private",
21664
+ "return": {
21665
+ "type": {
21666
+ "text": "HTMLElement"
21667
+ }
21668
+ },
21669
+ "parameters": [
21670
+ {
21671
+ "name": "item",
21672
+ "type": {
21673
+ "text": "HTMLElement"
21674
+ }
21675
+ }
21676
+ ]
21677
+ },
21678
+ {
21679
+ "kind": "method",
21680
+ "name": "_syncLightDomItems",
21681
+ "privacy": "private"
21682
+ },
21616
21683
  {
21617
21684
  "kind": "method",
21618
21685
  "name": "addExpandingAction",
@@ -40209,7 +40276,7 @@
40209
40276
  "package": {
40210
40277
  "name": "@kubex/zinc",
40211
40278
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
40212
- "version": "1.1.45",
40279
+ "version": "1.1.46",
40213
40280
  "author": "",
40214
40281
  "license": "MIT"
40215
40282
  }
@@ -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.",
@@ -63,6 +52,17 @@
63
52
  }
64
53
  ]
65
54
  },
55
+ {
56
+ "name": "zn-action-bar",
57
+ "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.",
58
+ "attributes": [],
59
+ "references": [
60
+ {
61
+ "name": "Documentation",
62
+ "url": "https://zinc.style/components/action-bar"
63
+ }
64
+ ]
65
+ },
66
66
  {
67
67
  "name": "zn-animated-button",
68
68
  "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",
@@ -516,7 +516,7 @@
516
516
  },
517
517
  {
518
518
  "name": "zn-chat-message-attachment",
519
- "description": "A single file or link attachment for a `zn-chat-message`. Renders an\nicon 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` and is automatically placed in\nthat 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.",
519
+ "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.",
520
520
  "attributes": [
521
521
  {
522
522
  "name": "href",
@@ -875,7 +875,7 @@
875
875
  },
876
876
  {
877
877
  "name": "zn-content-block",
878
- "description": "Short summary of the component's intended use.\n---\n",
878
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - **attachments** - Attachments displayed at the bottom of the content when the block is expanded. Use `zn-chat-message-attachment`, which auto-assigns itself to this slot.\n\n### **CSS Parts:**\n - **attachments** - The attachments row at the bottom of the content.\n- **header-attachments** - The attachment count indicator in the header.",
879
879
  "attributes": [
880
880
  { "name": "time", "values": [] },
881
881
  { "name": "sender", "values": [] },
@@ -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.45",
4
+ "version": "1.1.46",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -15,28 +15,6 @@
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
- },
40
18
  {
41
19
  "name": "zn-alert",
42
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.",
@@ -100,6 +78,28 @@
100
78
  ]
101
79
  }
102
80
  },
81
+ {
82
+ "name": "zn-action-bar",
83
+ "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.",
84
+ "doc-url": "",
85
+ "attributes": [],
86
+ "slots": [
87
+ { "name": "", "description": "The default slot." },
88
+ { "name": "example", "description": "An example slot." }
89
+ ],
90
+ "events": [
91
+ { "name": "zn-event-name", "description": "Emitted as an example." }
92
+ ],
93
+ "js": {
94
+ "properties": [],
95
+ "events": [
96
+ {
97
+ "name": "zn-event-name",
98
+ "description": "Emitted as an example."
99
+ }
100
+ ]
101
+ }
102
+ },
103
103
  {
104
104
  "name": "zn-animated-button",
105
105
  "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",
@@ -1077,7 +1077,7 @@
1077
1077
  },
1078
1078
  {
1079
1079
  "name": "zn-chat-message-attachment",
1080
- "description": "A single file or link attachment for a `zn-chat-message`. Renders an\nicon 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` and is automatically placed in\nthat 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.",
1080
+ "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.",
1081
1081
  "doc-url": "",
1082
1082
  "attributes": [
1083
1083
  {
@@ -1921,7 +1921,7 @@
1921
1921
  },
1922
1922
  {
1923
1923
  "name": "zn-content-block",
1924
- "description": "Short summary of the component's intended use.\n---\n",
1924
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - **attachments** - Attachments displayed at the bottom of the content when the block is expanded. Use `zn-chat-message-attachment`, which auto-assigns itself to this slot.\n\n### **CSS Parts:**\n - **attachments** - The attachments row at the bottom of the content.\n- **header-attachments** - The attachment count indicator in the header.",
1925
1925
  "doc-url": "",
1926
1926
  "attributes": [
1927
1927
  { "name": "time", "value": { "type": "string", "default": "''" } },
@@ -1950,6 +1950,12 @@
1950
1950
  "value": { "type": "'text' | 'html'", "default": "'text'" }
1951
1951
  }
1952
1952
  ],
1953
+ "slots": [
1954
+ {
1955
+ "name": "attachments",
1956
+ "description": "Attachments displayed at the bottom of the content when the block is expanded. Use `zn-chat-message-attachment`, which auto-assigns itself to this slot."
1957
+ }
1958
+ ],
1953
1959
  "events": [],
1954
1960
  "js": {
1955
1961
  "properties": [
package/dist/zn.d.ts CHANGED
@@ -1600,10 +1600,10 @@ declare module "components/chat-message-attachment/chat-message-attachment.compo
1600
1600
  import ZincElement from "internal/zinc-element";
1601
1601
  import ZnIcon from "components/icon/index";
1602
1602
  /**
1603
- * @summary A single file or link attachment for a `zn-chat-message`. Renders an
1604
- * icon and a label as a link, styled to match the message's attachments row. It is
1605
- * intended to be used only inside a `zn-chat-message` and is automatically placed in
1606
- * that component's `attachments` slot.
1603
+ * @summary A single file or link attachment for a `zn-chat-message` or `zn-content-block`.
1604
+ * Renders an icon and a label as a link, styled to match the message's attachments row. It is
1605
+ * intended to be used only inside a `zn-chat-message` or `zn-content-block` and is automatically
1606
+ * placed in that component's `attachments` slot.
1607
1607
  * @documentation https://zinc.style/components/chat-message-attachment
1608
1608
  * @status experimental
1609
1609
  * @since 1.0
@@ -4198,6 +4198,7 @@ declare module "components/navbar/navbar.component" {
4198
4198
  private _expandable;
4199
4199
  private _extendedMenu;
4200
4200
  private readonly _cloneSources;
4201
+ private readonly _lightDomClones;
4201
4202
  private _navItemsGap;
4202
4203
  private _expandableMargin;
4203
4204
  private _totalItemWidth;
@@ -4205,6 +4206,8 @@ declare module "components/navbar/navbar.component" {
4205
4206
  private _resizeController;
4206
4207
  protected _store: Store;
4207
4208
  appendItem(item: Element): void;
4209
+ private _cloneLightItem;
4210
+ private _syncLightDomItems;
4208
4211
  addExpandingAction(action: Element): void;
4209
4212
  constructor();
4210
4213
  private readonly _expandingActionObserver;
@@ -7711,6 +7714,12 @@ declare module "components/content-block/content-block.component" {
7711
7714
  * @documentation https://zinc.style/components/content-block
7712
7715
  * @status experimental
7713
7716
  * @since 1.0
7717
+ *
7718
+ * @slot attachments - Attachments displayed at the bottom of the content when the block is
7719
+ * expanded. Use `zn-chat-message-attachment`, which auto-assigns itself to this slot.
7720
+ *
7721
+ * @csspart attachments - The attachments row at the bottom of the content.
7722
+ * @csspart header-attachments - The attachment count indicator in the header.
7714
7723
  */
7715
7724
  export default class ContentBlock extends ZincElement {
7716
7725
  static styles: import("lit").CSSResult;
@@ -7724,6 +7733,7 @@ declare module "components/content-block/content-block.component" {
7724
7733
  htmlNodes: Node[];
7725
7734
  iframe: Promise<HTMLIFrameElement>;
7726
7735
  private readonly hasSlotController;
7736
+ private attachmentCount;
7727
7737
  private _textRows;
7728
7738
  private readonly _footerObserver;
7729
7739
  private _replaceDebounce;
@@ -7733,6 +7743,8 @@ declare module "components/content-block/content-block.component" {
7733
7743
  private _toggleText;
7734
7744
  private _toggleHtml;
7735
7745
  private _resizeIframe;
7746
+ private handleAttachmentsSlotChange;
7747
+ private syncAttachmentCount;
7736
7748
  protected firstUpdated(_changedProperties: PropertyValues): void;
7737
7749
  protected render(): import("lit-html").TemplateResult<1>;
7738
7750
  protected truncateText(): string;