@kubex/zinc 1.1.72 → 1.1.74

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,6 +47,79 @@
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
+ },
50
123
  {
51
124
  "kind": "javascript-module",
52
125
  "path": "components/alert/alert.js",
@@ -241,79 +314,6 @@
241
314
  }
242
315
  ]
243
316
  },
244
- {
245
- "kind": "javascript-module",
246
- "path": "components/action-bar/action-bar.js",
247
- "declarations": [
248
- {
249
- "kind": "class",
250
- "description": "",
251
- "name": "ZnActionBar",
252
- "cssProperties": [
253
- {
254
- "description": "An example CSS custom property.",
255
- "name": "--example"
256
- }
257
- ],
258
- "cssParts": [
259
- {
260
- "description": "The component's base wrapper.",
261
- "name": "base"
262
- }
263
- ],
264
- "slots": [
265
- {
266
- "description": "The default slot.",
267
- "name": ""
268
- },
269
- {
270
- "description": "An example slot.",
271
- "name": "example"
272
- }
273
- ],
274
- "members": [
275
- {
276
- "kind": "field",
277
- "name": "localize",
278
- "privacy": "private",
279
- "readonly": true,
280
- "default": "new LocalizeController(this)"
281
- }
282
- ],
283
- "events": [
284
- {
285
- "description": "Emitted as an example.",
286
- "name": "zn-event-name"
287
- }
288
- ],
289
- "superclass": {
290
- "name": "ZincElement",
291
- "module": "/src/internal/zinc-element"
292
- },
293
- "summary": "Short summary of the component's intended use.",
294
- "tagNameWithoutPrefix": "action-bar",
295
- "tagName": "zn-action-bar",
296
- "customElement": true,
297
- "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 */",
298
- "documentation": "https://zinc.style/components/action-bar",
299
- "status": "experimental",
300
- "since": "1.0",
301
- "dependencies": [
302
- "zn-example"
303
- ]
304
- }
305
- ],
306
- "exports": [
307
- {
308
- "kind": "js",
309
- "name": "default",
310
- "declaration": {
311
- "name": "ZnActionBar",
312
- "module": "components/action-bar/action-bar.js"
313
- }
314
- }
315
- ]
316
- },
317
317
  {
318
318
  "kind": "javascript-module",
319
319
  "path": "components/animated-button/animated-button.js",
@@ -10760,7 +10760,6 @@
10760
10760
  },
10761
10761
  {
10762
10762
  "name": "label",
10763
- "optional": true,
10764
10763
  "type": {
10765
10764
  "text": "string"
10766
10765
  }
@@ -10796,7 +10795,7 @@
10796
10795
  },
10797
10796
  "parameters": [
10798
10797
  {
10799
- "name": "name",
10798
+ "name": "label",
10800
10799
  "type": {
10801
10800
  "text": "string"
10802
10801
  }
@@ -10806,13 +10805,6 @@
10806
10805
  "type": {
10807
10806
  "text": "TemplateResult"
10808
10807
  }
10809
- },
10810
- {
10811
- "name": "label",
10812
- "optional": true,
10813
- "type": {
10814
- "text": "string"
10815
- }
10816
10808
  }
10817
10809
  ]
10818
10810
  }
@@ -17204,6 +17196,19 @@
17204
17196
  "kind": "method",
17205
17197
  "name": "_handleTriggerClick",
17206
17198
  "privacy": "private"
17199
+ },
17200
+ {
17201
+ "kind": "method",
17202
+ "name": "_handleTriggerKeyDown",
17203
+ "privacy": "private",
17204
+ "parameters": [
17205
+ {
17206
+ "name": "e",
17207
+ "type": {
17208
+ "text": "KeyboardEvent"
17209
+ }
17210
+ }
17211
+ ]
17207
17212
  }
17208
17213
  ],
17209
17214
  "attributes": [
@@ -23766,6 +23771,15 @@
23766
23771
  "privacy": "private",
23767
23772
  "default": "null"
23768
23773
  },
23774
+ {
23775
+ "kind": "field",
23776
+ "name": "pageHistoryKey",
23777
+ "type": {
23778
+ "text": "string | null"
23779
+ },
23780
+ "privacy": "private",
23781
+ "default": "null"
23782
+ },
23769
23783
  {
23770
23784
  "kind": "field",
23771
23785
  "name": "handleAltPress",
@@ -23924,6 +23938,24 @@
23924
23938
  }
23925
23939
  ]
23926
23940
  },
23941
+ {
23942
+ "kind": "method",
23943
+ "name": "getNavigationItemPage",
23944
+ "privacy": "private",
23945
+ "return": {
23946
+ "type": {
23947
+ "text": "ZnPage | null"
23948
+ }
23949
+ },
23950
+ "parameters": [
23951
+ {
23952
+ "name": "item",
23953
+ "type": {
23954
+ "text": "HTMLElement"
23955
+ }
23956
+ }
23957
+ ]
23958
+ },
23927
23959
  {
23928
23960
  "kind": "method",
23929
23961
  "name": "activateTab",
@@ -23940,6 +23972,10 @@
23940
23972
  "type": {
23941
23973
  "text": "boolean"
23942
23974
  }
23975
+ },
23976
+ {
23977
+ "name": "pushHistory",
23978
+ "default": "false"
23943
23979
  }
23944
23980
  ]
23945
23981
  },
@@ -23948,6 +23984,41 @@
23948
23984
  "name": "activateInitialPageTab",
23949
23985
  "privacy": "private"
23950
23986
  },
23987
+ {
23988
+ "kind": "method",
23989
+ "name": "getTabStoreKey",
23990
+ "privacy": "protected",
23991
+ "return": {
23992
+ "type": {
23993
+ "text": "string"
23994
+ }
23995
+ },
23996
+ "description": "The key the active tab is persisted under. Null disables persistence.",
23997
+ "inheritedFrom": {
23998
+ "name": "ZnTabs",
23999
+ "module": "components/tabs/tabs.js"
24000
+ }
24001
+ },
24002
+ {
24003
+ "kind": "method",
24004
+ "name": "activateDefaultTab",
24005
+ "privacy": "protected",
24006
+ "description": "Activates the tab the container starts on, ignoring any stored selection.",
24007
+ "inheritedFrom": {
24008
+ "name": "ZnTabs",
24009
+ "module": "components/tabs/tabs.js"
24010
+ }
24011
+ },
24012
+ {
24013
+ "kind": "method",
24014
+ "name": "getPageHistoryKey",
24015
+ "privacy": "private",
24016
+ "return": {
24017
+ "type": {
24018
+ "text": "string"
24019
+ }
24020
+ }
24021
+ },
23951
24022
  {
23952
24023
  "kind": "method",
23953
24024
  "name": "activateTabDefinition",
@@ -23958,6 +24029,10 @@
23958
24029
  "type": {
23959
24030
  "text": "TabDefinition"
23960
24031
  }
24032
+ },
24033
+ {
24034
+ "name": "store",
24035
+ "default": "false"
23961
24036
  }
23962
24037
  ]
23963
24038
  },
@@ -24386,6 +24461,19 @@
24386
24461
  "module": "components/tabs/tabs.js"
24387
24462
  }
24388
24463
  },
24464
+ {
24465
+ "kind": "field",
24466
+ "name": "_defaultTab",
24467
+ "type": {
24468
+ "text": "string"
24469
+ },
24470
+ "privacy": "private",
24471
+ "default": "''",
24472
+ "inheritedFrom": {
24473
+ "name": "ZnTabs",
24474
+ "module": "components/tabs/tabs.js"
24475
+ }
24476
+ },
24389
24477
  {
24390
24478
  "kind": "field",
24391
24479
  "name": "hasSlotController",
@@ -24402,7 +24490,7 @@
24402
24490
  "name": "_domObserver",
24403
24491
  "privacy": "private",
24404
24492
  "readonly": true,
24405
- "default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })",
24493
+ "default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })",
24406
24494
  "inheritedFrom": {
24407
24495
  "name": "ZnTabs",
24408
24496
  "module": "components/tabs/tabs.js"
@@ -24413,7 +24501,7 @@
24413
24501
  "name": "_monitorObserver",
24414
24502
  "privacy": "private",
24415
24503
  "readonly": true,
24416
- "default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this._store.get(this.storeKey); if (storedValue !== null) { this._prepareTab(storedValue); this.setActiveTab(storedValue, false, false); } } }); }); }, })",
24504
+ "default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this.getStoredTab(); if (storedValue !== null) { this.restoreStoredTab(storedValue); } } }); }); }, })",
24417
24505
  "inheritedFrom": {
24418
24506
  "name": "ZnTabs",
24419
24507
  "module": "components/tabs/tabs.js"
@@ -24427,6 +24515,103 @@
24427
24515
  "module": "components/tabs/tabs.js"
24428
24516
  }
24429
24517
  },
24518
+ {
24519
+ "kind": "method",
24520
+ "name": "getStoredTab",
24521
+ "privacy": "protected",
24522
+ "return": {
24523
+ "type": {
24524
+ "text": "string | null"
24525
+ }
24526
+ },
24527
+ "inheritedFrom": {
24528
+ "name": "ZnTabs",
24529
+ "module": "components/tabs/tabs.js"
24530
+ }
24531
+ },
24532
+ {
24533
+ "kind": "method",
24534
+ "name": "storeActiveTab",
24535
+ "privacy": "protected",
24536
+ "parameters": [
24537
+ {
24538
+ "name": "tabName",
24539
+ "type": {
24540
+ "text": "string"
24541
+ }
24542
+ }
24543
+ ],
24544
+ "inheritedFrom": {
24545
+ "name": "ZnTabs",
24546
+ "module": "components/tabs/tabs.js"
24547
+ }
24548
+ },
24549
+ {
24550
+ "kind": "method",
24551
+ "name": "restoreStoredTab",
24552
+ "privacy": "protected",
24553
+ "parameters": [
24554
+ {
24555
+ "name": "stored",
24556
+ "type": {
24557
+ "text": "string"
24558
+ }
24559
+ }
24560
+ ],
24561
+ "inheritedFrom": {
24562
+ "name": "ZnTabs",
24563
+ "module": "components/tabs/tabs.js"
24564
+ }
24565
+ },
24566
+ {
24567
+ "kind": "field",
24568
+ "name": "handlePopState",
24569
+ "privacy": "private",
24570
+ "readonly": true,
24571
+ "inheritedFrom": {
24572
+ "name": "ZnTabs",
24573
+ "module": "components/tabs/tabs.js"
24574
+ }
24575
+ },
24576
+ {
24577
+ "kind": "method",
24578
+ "name": "pushTabHistory",
24579
+ "privacy": "private",
24580
+ "parameters": [
24581
+ {
24582
+ "name": "tabName",
24583
+ "type": {
24584
+ "text": "string"
24585
+ }
24586
+ }
24587
+ ],
24588
+ "inheritedFrom": {
24589
+ "name": "ZnTabs",
24590
+ "module": "components/tabs/tabs.js"
24591
+ }
24592
+ },
24593
+ {
24594
+ "kind": "method",
24595
+ "name": "getUriForTabId",
24596
+ "privacy": "private",
24597
+ "return": {
24598
+ "type": {
24599
+ "text": "string | null"
24600
+ }
24601
+ },
24602
+ "parameters": [
24603
+ {
24604
+ "name": "tabId",
24605
+ "type": {
24606
+ "text": "string"
24607
+ }
24608
+ }
24609
+ ],
24610
+ "inheritedFrom": {
24611
+ "name": "ZnTabs",
24612
+ "module": "components/tabs/tabs.js"
24613
+ }
24614
+ },
24430
24615
  {
24431
24616
  "kind": "method",
24432
24617
  "name": "_addPanel",
@@ -24616,6 +24801,10 @@
24616
24801
  "type": {
24617
24802
  "text": "boolean"
24618
24803
  }
24804
+ },
24805
+ {
24806
+ "name": "pushHistory",
24807
+ "default": "false"
24619
24808
  }
24620
24809
  ],
24621
24810
  "inheritedFrom": {
@@ -24667,6 +24856,10 @@
24667
24856
  "type": {
24668
24857
  "text": "string | null"
24669
24858
  }
24859
+ },
24860
+ {
24861
+ "name": "pushHistory",
24862
+ "default": "false"
24670
24863
  }
24671
24864
  ],
24672
24865
  "inheritedFrom": {
@@ -26951,6 +27144,19 @@
26951
27144
  "module": "components/tabs/tabs.js"
26952
27145
  }
26953
27146
  },
27147
+ {
27148
+ "kind": "field",
27149
+ "name": "_defaultTab",
27150
+ "type": {
27151
+ "text": "string"
27152
+ },
27153
+ "privacy": "private",
27154
+ "default": "''",
27155
+ "inheritedFrom": {
27156
+ "name": "ZnTabs",
27157
+ "module": "components/tabs/tabs.js"
27158
+ }
27159
+ },
26954
27160
  {
26955
27161
  "kind": "field",
26956
27162
  "name": "hasSlotController",
@@ -26967,7 +27173,7 @@
26967
27173
  "name": "_domObserver",
26968
27174
  "privacy": "private",
26969
27175
  "readonly": true,
26970
- "default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })",
27176
+ "default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })",
26971
27177
  "inheritedFrom": {
26972
27178
  "name": "ZnTabs",
26973
27179
  "module": "components/tabs/tabs.js"
@@ -26978,7 +27184,7 @@
26978
27184
  "name": "_monitorObserver",
26979
27185
  "privacy": "private",
26980
27186
  "readonly": true,
26981
- "default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this._store.get(this.storeKey); if (storedValue !== null) { this._prepareTab(storedValue); this.setActiveTab(storedValue, false, false); } } }); }); }, })",
27187
+ "default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this.getStoredTab(); if (storedValue !== null) { this.restoreStoredTab(storedValue); } } }); }); }, })",
26982
27188
  "inheritedFrom": {
26983
27189
  "name": "ZnTabs",
26984
27190
  "module": "components/tabs/tabs.js"
@@ -26992,6 +27198,128 @@
26992
27198
  "module": "components/tabs/tabs.js"
26993
27199
  }
26994
27200
  },
27201
+ {
27202
+ "kind": "method",
27203
+ "name": "getTabStoreKey",
27204
+ "privacy": "protected",
27205
+ "return": {
27206
+ "type": {
27207
+ "text": "string | null"
27208
+ }
27209
+ },
27210
+ "description": "The key the active tab is persisted under. Null disables persistence.",
27211
+ "inheritedFrom": {
27212
+ "name": "ZnTabs",
27213
+ "module": "components/tabs/tabs.js"
27214
+ }
27215
+ },
27216
+ {
27217
+ "kind": "method",
27218
+ "name": "getStoredTab",
27219
+ "privacy": "protected",
27220
+ "return": {
27221
+ "type": {
27222
+ "text": "string | null"
27223
+ }
27224
+ },
27225
+ "inheritedFrom": {
27226
+ "name": "ZnTabs",
27227
+ "module": "components/tabs/tabs.js"
27228
+ }
27229
+ },
27230
+ {
27231
+ "kind": "method",
27232
+ "name": "storeActiveTab",
27233
+ "privacy": "protected",
27234
+ "parameters": [
27235
+ {
27236
+ "name": "tabName",
27237
+ "type": {
27238
+ "text": "string"
27239
+ }
27240
+ }
27241
+ ],
27242
+ "inheritedFrom": {
27243
+ "name": "ZnTabs",
27244
+ "module": "components/tabs/tabs.js"
27245
+ }
27246
+ },
27247
+ {
27248
+ "kind": "method",
27249
+ "name": "restoreStoredTab",
27250
+ "privacy": "protected",
27251
+ "parameters": [
27252
+ {
27253
+ "name": "stored",
27254
+ "type": {
27255
+ "text": "string"
27256
+ }
27257
+ }
27258
+ ],
27259
+ "inheritedFrom": {
27260
+ "name": "ZnTabs",
27261
+ "module": "components/tabs/tabs.js"
27262
+ }
27263
+ },
27264
+ {
27265
+ "kind": "method",
27266
+ "name": "activateDefaultTab",
27267
+ "privacy": "protected",
27268
+ "description": "Activates the tab the container starts on, ignoring any stored selection.",
27269
+ "inheritedFrom": {
27270
+ "name": "ZnTabs",
27271
+ "module": "components/tabs/tabs.js"
27272
+ }
27273
+ },
27274
+ {
27275
+ "kind": "field",
27276
+ "name": "handlePopState",
27277
+ "privacy": "private",
27278
+ "readonly": true,
27279
+ "inheritedFrom": {
27280
+ "name": "ZnTabs",
27281
+ "module": "components/tabs/tabs.js"
27282
+ }
27283
+ },
27284
+ {
27285
+ "kind": "method",
27286
+ "name": "pushTabHistory",
27287
+ "privacy": "private",
27288
+ "parameters": [
27289
+ {
27290
+ "name": "tabName",
27291
+ "type": {
27292
+ "text": "string"
27293
+ }
27294
+ }
27295
+ ],
27296
+ "inheritedFrom": {
27297
+ "name": "ZnTabs",
27298
+ "module": "components/tabs/tabs.js"
27299
+ }
27300
+ },
27301
+ {
27302
+ "kind": "method",
27303
+ "name": "getUriForTabId",
27304
+ "privacy": "private",
27305
+ "return": {
27306
+ "type": {
27307
+ "text": "string | null"
27308
+ }
27309
+ },
27310
+ "parameters": [
27311
+ {
27312
+ "name": "tabId",
27313
+ "type": {
27314
+ "text": "string"
27315
+ }
27316
+ }
27317
+ ],
27318
+ "inheritedFrom": {
27319
+ "name": "ZnTabs",
27320
+ "module": "components/tabs/tabs.js"
27321
+ }
27322
+ },
26995
27323
  {
26996
27324
  "kind": "method",
26997
27325
  "name": "_addPanel",
@@ -28734,6 +29062,17 @@
28734
29062
  "attribute": "backdrop",
28735
29063
  "reflects": true
28736
29064
  },
29065
+ {
29066
+ "kind": "field",
29067
+ "name": "interactive",
29068
+ "type": {
29069
+ "text": "boolean"
29070
+ },
29071
+ "default": "false",
29072
+ "description": "Lets pointer input through to the embedded page. The preview is inert by\ndefault: clicks never reach the frame, so the previewed page can't be\nnavigated or submitted from inside the preview. Cross-origin content can't\nbe reached from here to cancel its own handlers, so this blocks pointer\ninput entirely — hover goes with it. Scrolling doesn't: an overflowing\npage is scrolled by the panel rather than by the frame (see _contentHeight).",
29073
+ "attribute": "interactive",
29074
+ "reflects": true
29075
+ },
28737
29076
  {
28738
29077
  "kind": "field",
28739
29078
  "name": "frame",
@@ -28750,6 +29089,16 @@
28750
29089
  "privacy": "private",
28751
29090
  "default": "''"
28752
29091
  },
29092
+ {
29093
+ "kind": "field",
29094
+ "name": "_contentHeight",
29095
+ "type": {
29096
+ "text": "number"
29097
+ },
29098
+ "privacy": "private",
29099
+ "default": "0",
29100
+ "description": "Height of the embedded page's content, when it's known: reported by the\nembed (`height` on hp-preview:rendered, or an hp-preview:height message) or\nmeasured directly for a same-origin embed. The frame is laid out at this\nheight rather than the panel's, so the page never scrolls inside the frame\n— the panel scrolls instead, which is what makes an overflowing preview\nreachable while pointer input to the frame is blocked. 0 = unknown, and the\nframe falls back to filling the panel."
29101
+ },
28753
29102
  {
28754
29103
  "kind": "field",
28755
29104
  "name": "_generation",
@@ -28767,6 +29116,14 @@
28767
29116
  },
28768
29117
  "privacy": "private"
28769
29118
  },
29119
+ {
29120
+ "kind": "field",
29121
+ "name": "_contentObserver",
29122
+ "type": {
29123
+ "text": "ResizeObserver | undefined"
29124
+ },
29125
+ "privacy": "private"
29126
+ },
28770
29127
  {
28771
29128
  "kind": "field",
28772
29129
  "name": "_watchedForms",
@@ -28801,6 +29158,30 @@
28801
29158
  "privacy": "private",
28802
29159
  "readonly": true
28803
29160
  },
29161
+ {
29162
+ "kind": "method",
29163
+ "name": "_applyContentHeight",
29164
+ "privacy": "private",
29165
+ "parameters": [
29166
+ {
29167
+ "name": "height",
29168
+ "type": {
29169
+ "text": "unknown"
29170
+ }
29171
+ }
29172
+ ]
29173
+ },
29174
+ {
29175
+ "kind": "method",
29176
+ "name": "_resetContentHeight",
29177
+ "privacy": "private"
29178
+ },
29179
+ {
29180
+ "kind": "field",
29181
+ "name": "_onFrameLoad",
29182
+ "privacy": "private",
29183
+ "readonly": true
29184
+ },
28804
29185
  {
28805
29186
  "kind": "method",
28806
29187
  "name": "refresh",
@@ -28997,17 +29378,26 @@
28997
29378
  "default": "'dots'",
28998
29379
  "description": "Backdrop behind the stage: `dots` (default) is the canvas dot grid; `panel` is a plain `rgb(var(--zn-panel))` fill.",
28999
29380
  "fieldName": "backdrop"
29381
+ },
29382
+ {
29383
+ "name": "interactive",
29384
+ "type": {
29385
+ "text": "boolean"
29386
+ },
29387
+ "default": "false",
29388
+ "description": "Lets pointer input through to the embedded page. The preview is inert by\ndefault: clicks never reach the frame, so the previewed page can't be\nnavigated or submitted from inside the preview. Cross-origin content can't\nbe reached from here to cancel its own handlers, so this blocks pointer\ninput entirely — hover goes with it. Scrolling doesn't: an overflowing\npage is scrolled by the panel rather than by the frame (see _contentHeight).",
29389
+ "fieldName": "interactive"
29000
29390
  }
29001
29391
  ],
29002
29392
  "superclass": {
29003
29393
  "name": "ZincElement",
29004
29394
  "module": "/src/internal/zinc-element"
29005
29395
  },
29006
- "summary": "Embeds a live preview iframe and drives the hp-preview postMessage\nprotocol: answers the frame's ready handshake with a config payload fetched\nfrom data-uri, auto-saves watched forms on change, refreshes the preview\nafter each save (its own, or a shell-driven save of a `refresh-on` form),\nand accepts a theme payload via setTheme() that is retained and replayed\nafter every ready handshake.",
29396
+ "summary": "Embeds a live preview iframe and drives the hp-preview postMessage\nprotocol: answers the frame's ready handshake with a config payload fetched\nfrom data-uri, auto-saves watched forms on change, refreshes the preview\nafter each save (its own, or a shell-driven save of a `refresh-on` form),\naccepts a theme payload via setTheme() that is retained and replayed\nafter every ready handshake, and grows the frame to a content height the\nembed reports so the panel scrolls an overflowing page.",
29007
29397
  "tagNameWithoutPrefix": "preview-frame",
29008
29398
  "tagName": "zn-preview-frame",
29009
29399
  "customElement": true,
29010
- "jsDoc": "/**\n * @summary Embeds a live preview iframe and drives the hp-preview postMessage\n * protocol: answers the frame's ready handshake with a config payload fetched\n * from data-uri, auto-saves watched forms on change, refreshes the preview\n * after each save (its own, or a shell-driven save of a `refresh-on` form),\n * and accepts a theme payload via setTheme() that is retained and replayed\n * after every ready handshake.\n * @documentation https://zinc.style/components/preview-frame\n * @status experimental\n * @since 1.0\n *\n * @event zn-error - Emitted when the preview reports a render error or a save fails.\n *\n * @csspart base - The component's base wrapper.\n * @csspart stage - The device-width wrapper around the iframe.\n * @csspart iframe - The preview iframe.\n * @csspart error - The error overlay.\n *\n * @cssproperty --zn-preview-frame-dot-spacing - Spacing of the backdrop dot grid (`backdrop=\"dots\"`). Defaults to 20px.\n * @cssproperty --zn-preview-frame-dot-opacity - Opacity of the backdrop dots (`backdrop=\"dots\"`). Defaults to 0.08.\n */",
29400
+ "jsDoc": "/**\n * @summary Embeds a live preview iframe and drives the hp-preview postMessage\n * protocol: answers the frame's ready handshake with a config payload fetched\n * from data-uri, auto-saves watched forms on change, refreshes the preview\n * after each save (its own, or a shell-driven save of a `refresh-on` form),\n * accepts a theme payload via setTheme() that is retained and replayed\n * after every ready handshake, and grows the frame to a content height the\n * embed reports so the panel scrolls an overflowing page.\n *\n * @documentation https://zinc.style/components/preview-frame\n * @status experimental\n * @since 1.0\n *\n * @event zn-error - Emitted when the preview reports a render error or a save fails.\n *\n * @csspart base - The component's base wrapper.\n * @csspart stage - The device-width wrapper around the iframe.\n * @csspart iframe - The preview iframe.\n * @csspart error - The error overlay.\n *\n * @cssproperty --zn-preview-frame-dot-spacing - Spacing of the backdrop dot grid (`backdrop=\"dots\"`). Defaults to 20px.\n * @cssproperty --zn-preview-frame-dot-opacity - Opacity of the backdrop dots (`backdrop=\"dots\"`). Defaults to 0.08.\n */",
29011
29401
  "documentation": "https://zinc.style/components/preview-frame",
29012
29402
  "status": "experimental",
29013
29403
  "since": "1.0"
@@ -38777,6 +39167,15 @@
38777
39167
  "privacy": "private",
38778
39168
  "default": "new Map<string, string>()"
38779
39169
  },
39170
+ {
39171
+ "kind": "field",
39172
+ "name": "_defaultTab",
39173
+ "type": {
39174
+ "text": "string"
39175
+ },
39176
+ "privacy": "private",
39177
+ "default": "''"
39178
+ },
38780
39179
  {
38781
39180
  "kind": "field",
38782
39181
  "name": "hasSlotController",
@@ -38789,19 +39188,109 @@
38789
39188
  "name": "_domObserver",
38790
39189
  "privacy": "private",
38791
39190
  "readonly": true,
38792
- "default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })"
39191
+ "default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })"
38793
39192
  },
38794
39193
  {
38795
39194
  "kind": "field",
38796
39195
  "name": "_monitorObserver",
38797
39196
  "privacy": "private",
38798
39197
  "readonly": true,
38799
- "default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this._store.get(this.storeKey); if (storedValue !== null) { this._prepareTab(storedValue); this.setActiveTab(storedValue, false, false); } } }); }); }, })"
39198
+ "default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this.getStoredTab(); if (storedValue !== null) { this.restoreStoredTab(storedValue); } } }); }); }, })"
38800
39199
  },
38801
39200
  {
38802
39201
  "kind": "method",
38803
39202
  "name": "monitorDom"
38804
39203
  },
39204
+ {
39205
+ "kind": "method",
39206
+ "name": "getTabStoreKey",
39207
+ "privacy": "protected",
39208
+ "return": {
39209
+ "type": {
39210
+ "text": "string | null"
39211
+ }
39212
+ },
39213
+ "description": "The key the active tab is persisted under. Null disables persistence."
39214
+ },
39215
+ {
39216
+ "kind": "method",
39217
+ "name": "getStoredTab",
39218
+ "privacy": "protected",
39219
+ "return": {
39220
+ "type": {
39221
+ "text": "string | null"
39222
+ }
39223
+ }
39224
+ },
39225
+ {
39226
+ "kind": "method",
39227
+ "name": "storeActiveTab",
39228
+ "privacy": "protected",
39229
+ "parameters": [
39230
+ {
39231
+ "name": "tabName",
39232
+ "type": {
39233
+ "text": "string"
39234
+ }
39235
+ }
39236
+ ]
39237
+ },
39238
+ {
39239
+ "kind": "method",
39240
+ "name": "restoreStoredTab",
39241
+ "privacy": "protected",
39242
+ "parameters": [
39243
+ {
39244
+ "name": "stored",
39245
+ "type": {
39246
+ "text": "string"
39247
+ }
39248
+ }
39249
+ ]
39250
+ },
39251
+ {
39252
+ "kind": "method",
39253
+ "name": "activateDefaultTab",
39254
+ "privacy": "protected",
39255
+ "description": "Activates the tab the container starts on, ignoring any stored selection."
39256
+ },
39257
+ {
39258
+ "kind": "field",
39259
+ "name": "handlePopState",
39260
+ "privacy": "private",
39261
+ "readonly": true
39262
+ },
39263
+ {
39264
+ "kind": "method",
39265
+ "name": "pushTabHistory",
39266
+ "privacy": "private",
39267
+ "parameters": [
39268
+ {
39269
+ "name": "tabName",
39270
+ "type": {
39271
+ "text": "string"
39272
+ }
39273
+ }
39274
+ ]
39275
+ },
39276
+ {
39277
+ "kind": "method",
39278
+ "name": "getUriForTabId",
39279
+ "privacy": "private",
39280
+ "return": {
39281
+ "type": {
39282
+ "text": "string | null"
39283
+ }
39284
+ },
39285
+ "parameters": [
39286
+ {
39287
+ "name": "tabId",
39288
+ "type": {
39289
+ "text": "string"
39290
+ }
39291
+ }
39292
+ ]
39293
+ },
38805
39294
  {
38806
39295
  "kind": "method",
38807
39296
  "name": "_addPanel",
@@ -38947,6 +39436,10 @@
38947
39436
  "type": {
38948
39437
  "text": "boolean"
38949
39438
  }
39439
+ },
39440
+ {
39441
+ "name": "pushHistory",
39442
+ "default": "false"
38950
39443
  }
38951
39444
  ]
38952
39445
  },
@@ -38990,6 +39483,10 @@
38990
39483
  "type": {
38991
39484
  "text": "string | null"
38992
39485
  }
39486
+ },
39487
+ {
39488
+ "name": "pushHistory",
39489
+ "default": "false"
38993
39490
  }
38994
39491
  ]
38995
39492
  },
@@ -43621,6 +44118,89 @@
43621
44118
  }
43622
44119
  ]
43623
44120
  },
44121
+ {
44122
+ "kind": "javascript-module",
44123
+ "path": "components/well/well.js",
44124
+ "declarations": [
44125
+ {
44126
+ "kind": "class",
44127
+ "description": "",
44128
+ "name": "ZnWell",
44129
+ "slots": [
44130
+ {
44131
+ "description": "The default slot.",
44132
+ "name": ""
44133
+ }
44134
+ ],
44135
+ "members": [
44136
+ {
44137
+ "kind": "field",
44138
+ "name": "icon",
44139
+ "type": {
44140
+ "text": "string"
44141
+ },
44142
+ "default": "''",
44143
+ "attribute": "icon"
44144
+ },
44145
+ {
44146
+ "kind": "field",
44147
+ "name": "inline",
44148
+ "type": {
44149
+ "text": "boolean"
44150
+ },
44151
+ "attribute": "inline",
44152
+ "reflects": true
44153
+ },
44154
+ {
44155
+ "kind": "field",
44156
+ "name": "hasSlotController",
44157
+ "privacy": "private",
44158
+ "readonly": true,
44159
+ "default": "new HasSlotController(this, '[default]', 'action')"
44160
+ }
44161
+ ],
44162
+ "attributes": [
44163
+ {
44164
+ "name": "icon",
44165
+ "type": {
44166
+ "text": "string"
44167
+ },
44168
+ "default": "''",
44169
+ "fieldName": "icon"
44170
+ },
44171
+ {
44172
+ "name": "inline",
44173
+ "type": {
44174
+ "text": "boolean"
44175
+ },
44176
+ "fieldName": "inline"
44177
+ }
44178
+ ],
44179
+ "superclass": {
44180
+ "name": "ZincElement",
44181
+ "module": "/src/internal/zinc-element"
44182
+ },
44183
+ "summary": "Short summary of the component's intended use.",
44184
+ "tagNameWithoutPrefix": "well",
44185
+ "tagName": "zn-well",
44186
+ "customElement": true,
44187
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/well\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n */",
44188
+ "documentation": "https://zinc.style/components/well",
44189
+ "status": "experimental",
44190
+ "since": "1.0"
44191
+ }
44192
+ ],
44193
+ "exports": [
44194
+ {
44195
+ "kind": "js",
44196
+ "name": "default",
44197
+ "declaration": {
44198
+ "name": "ZnWell",
44199
+ "module": "components/well/well.js"
44200
+ }
44201
+ }
44202
+ ]
44203
+ },
43624
44204
  {
43625
44205
  "kind": "javascript-module",
43626
44206
  "path": "components/vertical-stepper/vertical-stepper.js",
@@ -43789,95 +44369,12 @@
43789
44369
  }
43790
44370
  }
43791
44371
  ]
43792
- },
43793
- {
43794
- "kind": "javascript-module",
43795
- "path": "components/well/well.js",
43796
- "declarations": [
43797
- {
43798
- "kind": "class",
43799
- "description": "",
43800
- "name": "ZnWell",
43801
- "slots": [
43802
- {
43803
- "description": "The default slot.",
43804
- "name": ""
43805
- }
43806
- ],
43807
- "members": [
43808
- {
43809
- "kind": "field",
43810
- "name": "icon",
43811
- "type": {
43812
- "text": "string"
43813
- },
43814
- "default": "''",
43815
- "attribute": "icon"
43816
- },
43817
- {
43818
- "kind": "field",
43819
- "name": "inline",
43820
- "type": {
43821
- "text": "boolean"
43822
- },
43823
- "attribute": "inline",
43824
- "reflects": true
43825
- },
43826
- {
43827
- "kind": "field",
43828
- "name": "hasSlotController",
43829
- "privacy": "private",
43830
- "readonly": true,
43831
- "default": "new HasSlotController(this, '[default]', 'action')"
43832
- }
43833
- ],
43834
- "attributes": [
43835
- {
43836
- "name": "icon",
43837
- "type": {
43838
- "text": "string"
43839
- },
43840
- "default": "''",
43841
- "fieldName": "icon"
43842
- },
43843
- {
43844
- "name": "inline",
43845
- "type": {
43846
- "text": "boolean"
43847
- },
43848
- "fieldName": "inline"
43849
- }
43850
- ],
43851
- "superclass": {
43852
- "name": "ZincElement",
43853
- "module": "/src/internal/zinc-element"
43854
- },
43855
- "summary": "Short summary of the component's intended use.",
43856
- "tagNameWithoutPrefix": "well",
43857
- "tagName": "zn-well",
43858
- "customElement": true,
43859
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/well\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n */",
43860
- "documentation": "https://zinc.style/components/well",
43861
- "status": "experimental",
43862
- "since": "1.0"
43863
- }
43864
- ],
43865
- "exports": [
43866
- {
43867
- "kind": "js",
43868
- "name": "default",
43869
- "declaration": {
43870
- "name": "ZnWell",
43871
- "module": "components/well/well.js"
43872
- }
43873
- }
43874
- ]
43875
44372
  }
43876
44373
  ],
43877
44374
  "package": {
43878
44375
  "name": "@kubex/zinc",
43879
44376
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
43880
- "version": "1.1.72",
44377
+ "version": "1.1.74",
43881
44378
  "author": "",
43882
44379
  "license": "MIT"
43883
44380
  }