@kubex/zinc 1.1.73 → 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.
@@ -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
  }
@@ -23779,6 +23771,15 @@
23779
23771
  "privacy": "private",
23780
23772
  "default": "null"
23781
23773
  },
23774
+ {
23775
+ "kind": "field",
23776
+ "name": "pageHistoryKey",
23777
+ "type": {
23778
+ "text": "string | null"
23779
+ },
23780
+ "privacy": "private",
23781
+ "default": "null"
23782
+ },
23782
23783
  {
23783
23784
  "kind": "field",
23784
23785
  "name": "handleAltPress",
@@ -23937,6 +23938,24 @@
23937
23938
  }
23938
23939
  ]
23939
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
+ },
23940
23959
  {
23941
23960
  "kind": "method",
23942
23961
  "name": "activateTab",
@@ -23953,6 +23972,10 @@
23953
23972
  "type": {
23954
23973
  "text": "boolean"
23955
23974
  }
23975
+ },
23976
+ {
23977
+ "name": "pushHistory",
23978
+ "default": "false"
23956
23979
  }
23957
23980
  ]
23958
23981
  },
@@ -23961,6 +23984,41 @@
23961
23984
  "name": "activateInitialPageTab",
23962
23985
  "privacy": "private"
23963
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
+ },
23964
24022
  {
23965
24023
  "kind": "method",
23966
24024
  "name": "activateTabDefinition",
@@ -23971,6 +24029,10 @@
23971
24029
  "type": {
23972
24030
  "text": "TabDefinition"
23973
24031
  }
24032
+ },
24033
+ {
24034
+ "name": "store",
24035
+ "default": "false"
23974
24036
  }
23975
24037
  ]
23976
24038
  },
@@ -24399,6 +24461,19 @@
24399
24461
  "module": "components/tabs/tabs.js"
24400
24462
  }
24401
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
+ },
24402
24477
  {
24403
24478
  "kind": "field",
24404
24479
  "name": "hasSlotController",
@@ -24415,7 +24490,7 @@
24415
24490
  "name": "_domObserver",
24416
24491
  "privacy": "private",
24417
24492
  "readonly": true,
24418
- "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); }); } }); }, })",
24419
24494
  "inheritedFrom": {
24420
24495
  "name": "ZnTabs",
24421
24496
  "module": "components/tabs/tabs.js"
@@ -24426,7 +24501,7 @@
24426
24501
  "name": "_monitorObserver",
24427
24502
  "privacy": "private",
24428
24503
  "readonly": true,
24429
- "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); } } }); }); }, })",
24430
24505
  "inheritedFrom": {
24431
24506
  "name": "ZnTabs",
24432
24507
  "module": "components/tabs/tabs.js"
@@ -24440,6 +24515,103 @@
24440
24515
  "module": "components/tabs/tabs.js"
24441
24516
  }
24442
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
+ },
24443
24615
  {
24444
24616
  "kind": "method",
24445
24617
  "name": "_addPanel",
@@ -24629,6 +24801,10 @@
24629
24801
  "type": {
24630
24802
  "text": "boolean"
24631
24803
  }
24804
+ },
24805
+ {
24806
+ "name": "pushHistory",
24807
+ "default": "false"
24632
24808
  }
24633
24809
  ],
24634
24810
  "inheritedFrom": {
@@ -24680,6 +24856,10 @@
24680
24856
  "type": {
24681
24857
  "text": "string | null"
24682
24858
  }
24859
+ },
24860
+ {
24861
+ "name": "pushHistory",
24862
+ "default": "false"
24683
24863
  }
24684
24864
  ],
24685
24865
  "inheritedFrom": {
@@ -26964,6 +27144,19 @@
26964
27144
  "module": "components/tabs/tabs.js"
26965
27145
  }
26966
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
+ },
26967
27160
  {
26968
27161
  "kind": "field",
26969
27162
  "name": "hasSlotController",
@@ -26980,7 +27173,7 @@
26980
27173
  "name": "_domObserver",
26981
27174
  "privacy": "private",
26982
27175
  "readonly": true,
26983
- "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); }); } }); }, })",
26984
27177
  "inheritedFrom": {
26985
27178
  "name": "ZnTabs",
26986
27179
  "module": "components/tabs/tabs.js"
@@ -26991,7 +27184,7 @@
26991
27184
  "name": "_monitorObserver",
26992
27185
  "privacy": "private",
26993
27186
  "readonly": true,
26994
- "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); } } }); }); }, })",
26995
27188
  "inheritedFrom": {
26996
27189
  "name": "ZnTabs",
26997
27190
  "module": "components/tabs/tabs.js"
@@ -27005,6 +27198,128 @@
27005
27198
  "module": "components/tabs/tabs.js"
27006
27199
  }
27007
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
+ },
27008
27323
  {
27009
27324
  "kind": "method",
27010
27325
  "name": "_addPanel",
@@ -28747,6 +29062,17 @@
28747
29062
  "attribute": "backdrop",
28748
29063
  "reflects": true
28749
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
+ },
28750
29076
  {
28751
29077
  "kind": "field",
28752
29078
  "name": "frame",
@@ -28763,6 +29089,16 @@
28763
29089
  "privacy": "private",
28764
29090
  "default": "''"
28765
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
+ },
28766
29102
  {
28767
29103
  "kind": "field",
28768
29104
  "name": "_generation",
@@ -28780,6 +29116,14 @@
28780
29116
  },
28781
29117
  "privacy": "private"
28782
29118
  },
29119
+ {
29120
+ "kind": "field",
29121
+ "name": "_contentObserver",
29122
+ "type": {
29123
+ "text": "ResizeObserver | undefined"
29124
+ },
29125
+ "privacy": "private"
29126
+ },
28783
29127
  {
28784
29128
  "kind": "field",
28785
29129
  "name": "_watchedForms",
@@ -28814,6 +29158,30 @@
28814
29158
  "privacy": "private",
28815
29159
  "readonly": true
28816
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
+ },
28817
29185
  {
28818
29186
  "kind": "method",
28819
29187
  "name": "refresh",
@@ -29010,17 +29378,26 @@
29010
29378
  "default": "'dots'",
29011
29379
  "description": "Backdrop behind the stage: `dots` (default) is the canvas dot grid; `panel` is a plain `rgb(var(--zn-panel))` fill.",
29012
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"
29013
29390
  }
29014
29391
  ],
29015
29392
  "superclass": {
29016
29393
  "name": "ZincElement",
29017
29394
  "module": "/src/internal/zinc-element"
29018
29395
  },
29019
- "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.",
29020
29397
  "tagNameWithoutPrefix": "preview-frame",
29021
29398
  "tagName": "zn-preview-frame",
29022
29399
  "customElement": true,
29023
- "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 */",
29024
29401
  "documentation": "https://zinc.style/components/preview-frame",
29025
29402
  "status": "experimental",
29026
29403
  "since": "1.0"
@@ -38790,6 +39167,15 @@
38790
39167
  "privacy": "private",
38791
39168
  "default": "new Map<string, string>()"
38792
39169
  },
39170
+ {
39171
+ "kind": "field",
39172
+ "name": "_defaultTab",
39173
+ "type": {
39174
+ "text": "string"
39175
+ },
39176
+ "privacy": "private",
39177
+ "default": "''"
39178
+ },
38793
39179
  {
38794
39180
  "kind": "field",
38795
39181
  "name": "hasSlotController",
@@ -38802,19 +39188,109 @@
38802
39188
  "name": "_domObserver",
38803
39189
  "privacy": "private",
38804
39190
  "readonly": true,
38805
- "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); }); } }); }, })"
38806
39192
  },
38807
39193
  {
38808
39194
  "kind": "field",
38809
39195
  "name": "_monitorObserver",
38810
39196
  "privacy": "private",
38811
39197
  "readonly": true,
38812
- "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); } } }); }); }, })"
38813
39199
  },
38814
39200
  {
38815
39201
  "kind": "method",
38816
39202
  "name": "monitorDom"
38817
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
+ },
38818
39294
  {
38819
39295
  "kind": "method",
38820
39296
  "name": "_addPanel",
@@ -38960,6 +39436,10 @@
38960
39436
  "type": {
38961
39437
  "text": "boolean"
38962
39438
  }
39439
+ },
39440
+ {
39441
+ "name": "pushHistory",
39442
+ "default": "false"
38963
39443
  }
38964
39444
  ]
38965
39445
  },
@@ -39003,6 +39483,10 @@
39003
39483
  "type": {
39004
39484
  "text": "string | null"
39005
39485
  }
39486
+ },
39487
+ {
39488
+ "name": "pushHistory",
39489
+ "default": "false"
39006
39490
  }
39007
39491
  ]
39008
39492
  },
@@ -43634,6 +44118,89 @@
43634
44118
  }
43635
44119
  ]
43636
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
+ },
43637
44204
  {
43638
44205
  "kind": "javascript-module",
43639
44206
  "path": "components/vertical-stepper/vertical-stepper.js",
@@ -43802,95 +44369,12 @@
43802
44369
  }
43803
44370
  }
43804
44371
  ]
43805
- },
43806
- {
43807
- "kind": "javascript-module",
43808
- "path": "components/well/well.js",
43809
- "declarations": [
43810
- {
43811
- "kind": "class",
43812
- "description": "",
43813
- "name": "ZnWell",
43814
- "slots": [
43815
- {
43816
- "description": "The default slot.",
43817
- "name": ""
43818
- }
43819
- ],
43820
- "members": [
43821
- {
43822
- "kind": "field",
43823
- "name": "icon",
43824
- "type": {
43825
- "text": "string"
43826
- },
43827
- "default": "''",
43828
- "attribute": "icon"
43829
- },
43830
- {
43831
- "kind": "field",
43832
- "name": "inline",
43833
- "type": {
43834
- "text": "boolean"
43835
- },
43836
- "attribute": "inline",
43837
- "reflects": true
43838
- },
43839
- {
43840
- "kind": "field",
43841
- "name": "hasSlotController",
43842
- "privacy": "private",
43843
- "readonly": true,
43844
- "default": "new HasSlotController(this, '[default]', 'action')"
43845
- }
43846
- ],
43847
- "attributes": [
43848
- {
43849
- "name": "icon",
43850
- "type": {
43851
- "text": "string"
43852
- },
43853
- "default": "''",
43854
- "fieldName": "icon"
43855
- },
43856
- {
43857
- "name": "inline",
43858
- "type": {
43859
- "text": "boolean"
43860
- },
43861
- "fieldName": "inline"
43862
- }
43863
- ],
43864
- "superclass": {
43865
- "name": "ZincElement",
43866
- "module": "/src/internal/zinc-element"
43867
- },
43868
- "summary": "Short summary of the component's intended use.",
43869
- "tagNameWithoutPrefix": "well",
43870
- "tagName": "zn-well",
43871
- "customElement": true,
43872
- "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 */",
43873
- "documentation": "https://zinc.style/components/well",
43874
- "status": "experimental",
43875
- "since": "1.0"
43876
- }
43877
- ],
43878
- "exports": [
43879
- {
43880
- "kind": "js",
43881
- "name": "default",
43882
- "declaration": {
43883
- "name": "ZnWell",
43884
- "module": "components/well/well.js"
43885
- }
43886
- }
43887
- ]
43888
44372
  }
43889
44373
  ],
43890
44374
  "package": {
43891
44375
  "name": "@kubex/zinc",
43892
44376
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
43893
- "version": "1.1.73",
44377
+ "version": "1.1.74",
43894
44378
  "author": "",
43895
44379
  "license": "MIT"
43896
44380
  }