@lion/ui 0.17.0-menu-system.0 → 0.17.0-menu-system.1

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.
Files changed (82) hide show
  1. package/components/menu/src/InteractiveListMixin.js +3 -3
  2. package/components/menu/src/MultiLevelListMixin.js +0 -1
  3. package/components/navigation-bar/src/LionNavigationBar.js +78 -105
  4. package/components/overlays/src/OverlayController.js +87 -38
  5. package/components/overlays/src/OverlayMixin.js +1 -0
  6. package/components/overlays/src/utils/is-equal-config.js +9 -8
  7. package/components/overlays/test/OverlayController.test.js +3 -1
  8. package/components/overlays/test/utils-tests/is-equal-config.test.js +1 -1
  9. package/components/overlays/test-suites/OverlayMixin.suite.js +8 -8
  10. package/components/overlays/types/OverlayConfig.ts +6 -0
  11. package/custom-elements.json +129 -113
  12. package/dist-types/components/dialog/src/LionDialog.d.ts +1 -0
  13. package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
  14. package/dist-types/components/menu/src/LionMenuOverlay.d.ts +1 -0
  15. package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +1 -1
  16. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +1 -1
  17. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +47 -35
  18. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts.map +1 -1
  19. package/dist-types/components/overlays/src/OverlayController.d.ts +3 -7
  20. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  21. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  22. package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
  23. package/dist-types/components/overlays/types/OverlayConfig.d.ts +5 -0
  24. package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
  25. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +1 -0
  26. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  27. package/dist-types/exports/overlays.d.ts +1 -0
  28. package/dist-types/exports/overlays.d.ts.map +1 -1
  29. package/dist-types/tsconfig.tsbuildinfo +1 -1
  30. package/docs/components/checkbox-group/overview.md +2 -2
  31. package/docs/components/collapsible/overview.md +1 -1
  32. package/docs/components/combobox/overview.md +1 -1
  33. package/docs/components/combobox/use-cases.md +1 -1
  34. package/docs/components/dialog/overview.md +1 -1
  35. package/docs/components/fieldset/overview.md +5 -5
  36. package/docs/components/form/overview.md +3 -3
  37. package/docs/components/form/use-cases.md +2 -2
  38. package/docs/components/icon/use-cases.md +1 -1
  39. package/docs/components/input/overview.md +1 -1
  40. package/docs/components/input-amount/overview.md +3 -3
  41. package/docs/components/input-date/overview.md +3 -3
  42. package/docs/components/input-datepicker/overview.md +5 -5
  43. package/docs/components/input-email/overview.md +2 -2
  44. package/docs/components/input-file/overview.md +1 -1
  45. package/docs/components/input-iban/overview.md +2 -2
  46. package/docs/components/input-range/overview.md +2 -2
  47. package/docs/components/input-stepper/overview.md +1 -1
  48. package/docs/components/input-tel/overview.md +1 -1
  49. package/docs/components/input-tel/use-cases.md +6 -6
  50. package/docs/components/input-tel-dropdown/overview.md +1 -1
  51. package/docs/components/listbox/use-cases.md +1 -1
  52. package/docs/components/radio-group/overview.md +3 -3
  53. package/docs/components/select/use-cases.md +1 -1
  54. package/docs/components/select-rich/use-cases.md +2 -2
  55. package/docs/components/tabs/examples.md +1 -1
  56. package/docs/fundamentals/index.md +4 -4
  57. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  58. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  59. package/docs/fundamentals/rationales/accessibility.md +1 -1
  60. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  61. package/docs/fundamentals/systems/core/overview.md +1 -1
  62. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  63. package/docs/fundamentals/systems/form/model-value.md +1 -1
  64. package/docs/fundamentals/systems/form/overview.md +28 -28
  65. package/docs/fundamentals/systems/form/validate.md +2 -2
  66. package/docs/fundamentals/systems/localize/overview.md +4 -4
  67. package/docs/fundamentals/systems/overlays/api-table.md +34 -34
  68. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  69. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  70. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  71. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  72. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  73. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  74. package/docs/guides/how-to/create-a-form.md +4 -4
  75. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  76. package/docs/guides/how-to/index.md +1 -1
  77. package/docs/guides/index.md +8 -8
  78. package/docs/guides/principles/index.md +5 -5
  79. package/docs/guides/principles/styling.md +1 -1
  80. package/exports/overlays.js +4 -0
  81. package/overlays.js +4 -0
  82. package/package.json +1 -1
@@ -537,13 +537,13 @@ export function runOverlayMixinSuite({ tagString, tag, suffix = '' }) {
537
537
  it('works with cache directive when reconnected', async () => {
538
538
  class CachingContext extends LitElement {
539
539
  static properties = {
540
- switched: { type: Boolean },
540
+ showOverlay: { type: Boolean },
541
541
  };
542
542
 
543
543
  constructor() {
544
544
  super();
545
545
 
546
- this.switched = false;
546
+ this.showOverlay = true;
547
547
  }
548
548
 
549
549
  get overlayEl() {
@@ -552,12 +552,12 @@ export function runOverlayMixinSuite({ tagString, tag, suffix = '' }) {
552
552
 
553
553
  render() {
554
554
  return html`${cache(
555
- this.switched
556
- ? html`something else`
557
- : html`<${tag} id="myOverlay">
555
+ this.showOverlay
556
+ ? html`<${tag} id="myOverlay">
558
557
  <div slot="content">content b</div>
559
558
  <button slot="invoker">invoker button b</button>
560
- </${tag}>`,
559
+ </${tag}>`
560
+ : html`something else`,
561
561
  )}`;
562
562
  }
563
563
  }
@@ -578,7 +578,7 @@ export function runOverlayMixinSuite({ tagString, tag, suffix = '' }) {
578
578
  // @ts-expect-error [allow-protected] in tests
579
579
  const setupSpy = sinon.spy(el.overlayEl, '_setupOverlayCtrl');
580
580
 
581
- el.switched = true;
581
+ el.showOverlay = false;
582
582
  // render the new content
583
583
  await el.updateComplete;
584
584
  // wait for the teardown to complete
@@ -588,7 +588,7 @@ export function runOverlayMixinSuite({ tagString, tag, suffix = '' }) {
588
588
  expect(teardownSpy.callCount).to.equal(1);
589
589
  expect(setupSpy.callCount).to.equal(0);
590
590
 
591
- el.switched = false;
591
+ el.showOverlay = true;
592
592
  await el.updateComplete;
593
593
  expect(setupSpy.callCount).to.equal(1);
594
594
 
@@ -112,4 +112,10 @@ export interface OverlayConfig {
112
112
  * or it depends on the context (a top level menu is not openable (unless it's a context menu), its children menus are).
113
113
  */
114
114
  isOpenable?: boolean;
115
+
116
+ /**
117
+ * By default, an error is thrown when contentNode is not connected to the DOM.
118
+ * This allows to prepare nodes and later connect them to dom.
119
+ */
120
+ requireConnectedNodes?: boolean;
115
121
  }
@@ -2252,36 +2252,6 @@
2252
2252
  }
2253
2253
  ]
2254
2254
  },
2255
- {
2256
- "kind": "javascript-module",
2257
- "path": "exports/define-helpers/sb-action-logger.js",
2258
- "declarations": [],
2259
- "exports": [
2260
- {
2261
- "kind": "custom-element-definition",
2262
- "name": "sb-action-logger",
2263
- "declaration": {
2264
- "name": "SbActionLogger",
2265
- "module": "/exports/helpers.js"
2266
- }
2267
- }
2268
- ]
2269
- },
2270
- {
2271
- "kind": "javascript-module",
2272
- "path": "exports/define-helpers/sb-locale-switcher.js",
2273
- "declarations": [],
2274
- "exports": [
2275
- {
2276
- "kind": "custom-element-definition",
2277
- "name": "sb-locale-switcher",
2278
- "declaration": {
2279
- "name": "SbLocaleSwitcher",
2280
- "module": "/exports/helpers.js"
2281
- }
2282
- }
2283
- ]
2284
- },
2285
2255
  {
2286
2256
  "kind": "javascript-module",
2287
2257
  "path": "exports/define/lion-accordion.js",
@@ -3077,6 +3047,36 @@
3077
3047
  }
3078
3048
  ]
3079
3049
  },
3050
+ {
3051
+ "kind": "javascript-module",
3052
+ "path": "exports/define-helpers/sb-action-logger.js",
3053
+ "declarations": [],
3054
+ "exports": [
3055
+ {
3056
+ "kind": "custom-element-definition",
3057
+ "name": "sb-action-logger",
3058
+ "declaration": {
3059
+ "name": "SbActionLogger",
3060
+ "module": "/exports/helpers.js"
3061
+ }
3062
+ }
3063
+ ]
3064
+ },
3065
+ {
3066
+ "kind": "javascript-module",
3067
+ "path": "exports/define-helpers/sb-locale-switcher.js",
3068
+ "declarations": [],
3069
+ "exports": [
3070
+ {
3071
+ "kind": "custom-element-definition",
3072
+ "name": "sb-locale-switcher",
3073
+ "declaration": {
3074
+ "name": "SbLocaleSwitcher",
3075
+ "module": "/exports/helpers.js"
3076
+ }
3077
+ }
3078
+ ]
3079
+ },
3080
3080
  {
3081
3081
  "kind": "javascript-module",
3082
3082
  "path": "components/accordion/src/LionAccordion.js",
@@ -130848,30 +130848,6 @@
130848
130848
  "description": "",
130849
130849
  "name": "LionNavigationBar",
130850
130850
  "members": [
130851
- {
130852
- "kind": "method",
130853
- "name": "#delegateAnalyticsEvents",
130854
- "privacy": "private"
130855
- },
130856
- {
130857
- "kind": "method",
130858
- "name": "#getLevelCfg",
130859
- "static": true,
130860
- "privacy": "private",
130861
- "parameters": [
130862
- {
130863
- "name": "responsiveMode",
130864
- "type": {
130865
- "text": "NavBarResponsiveMode"
130866
- }
130867
- }
130868
- ]
130869
- },
130870
- {
130871
- "kind": "method",
130872
- "name": "#getSecondaryLevelCfg",
130873
- "privacy": "private"
130874
- },
130875
130851
  {
130876
130852
  "kind": "field",
130877
130853
  "name": "#latestFocusedElementId",
@@ -130997,8 +130973,7 @@
130997
130973
  },
130998
130974
  {
130999
130975
  "kind": "method",
131000
- "name": "_ctaTemplate",
131001
- "static": true,
130976
+ "name": "_ctasTemplate",
131002
130977
  "parameters": [
131003
130978
  {
131004
130979
  "name": "ctaPrimary",
@@ -131020,6 +130995,51 @@
131020
130995
  },
131021
130996
  "privacy": "protected"
131022
130997
  },
130998
+ {
130999
+ "kind": "method",
131000
+ "name": "_getId",
131001
+ "parameters": [
131002
+ {
131003
+ "name": "menuItem"
131004
+ },
131005
+ {
131006
+ "name": "level",
131007
+ "type": {
131008
+ "text": "number"
131009
+ }
131010
+ },
131011
+ {
131012
+ "name": "",
131013
+ "type": {
131014
+ "text": "MenuItem"
131015
+ }
131016
+ }
131017
+ ],
131018
+ "privacy": "protected"
131019
+ },
131020
+ {
131021
+ "kind": "method",
131022
+ "name": "_getLevelCfg",
131023
+ "parameters": [
131024
+ {
131025
+ "name": "responsiveMode",
131026
+ "type": {
131027
+ "text": "NavBarResponsiveMode"
131028
+ }
131029
+ }
131030
+ ],
131031
+ "privacy": "protected"
131032
+ },
131033
+ {
131034
+ "kind": "method",
131035
+ "name": "_getSecondaryLevelCfg",
131036
+ "parameters": [
131037
+ {
131038
+ "name": "responsiveMode"
131039
+ }
131040
+ ],
131041
+ "privacy": "protected"
131042
+ },
131023
131043
  {
131024
131044
  "kind": "field",
131025
131045
  "name": "_levelCfg",
@@ -131047,12 +131067,6 @@
131047
131067
  "text": "number"
131048
131068
  }
131049
131069
  },
131050
- {
131051
- "name": "cfgForLevel",
131052
- "type": {
131053
- "text": "LevelConfig"
131054
- }
131055
- },
131056
131070
  {
131057
131071
  "name": "prevText",
131058
131072
  "default": "''"
@@ -131068,17 +131082,17 @@
131068
131082
  {
131069
131083
  "kind": "method",
131070
131084
  "name": "_searchTemplate",
131071
- "static": true,
131072
131085
  "parameters": [
131073
131086
  {
131074
131087
  "name": "suggestions",
131088
+ "default": "this.suggestions",
131075
131089
  "type": {
131076
131090
  "text": "string[]"
131077
131091
  }
131078
131092
  },
131079
131093
  {
131080
131094
  "name": "prefilledSuggestion",
131081
- "default": "''"
131095
+ "default": "this.prefilledSuggestion"
131082
131096
  }
131083
131097
  ],
131084
131098
  "return": {
@@ -131089,14 +131103,6 @@
131089
131103
  "privacy": "protected"
131090
131104
  }
131091
131105
  ],
131092
- "events": [
131093
- {
131094
- "name": "nav-item-click",
131095
- "type": {
131096
- "text": "CustomEvent"
131097
- }
131098
- }
131099
- ],
131100
131106
  "attributes": [
131101
131107
  {
131102
131108
  "name": "responsive-mode",
@@ -132018,7 +132024,7 @@
132018
132024
  "text": "OverlayConfig"
132019
132025
  },
132020
132026
  "privacy": "protected",
132021
- "default": "{ placementMode: undefined, contentNode: config.contentNode, contentWrapperNode: config.contentWrapperNode, invokerNode: config.invokerNode, backdropNode: config.backdropNode, referenceNode: undefined, elementToFocusAfterHide: config.invokerNode, inheritsReferenceWidth: 'none', hasBackdrop: false, isBlocking: false, preventsScroll: false, trapsKeyboardFocus: false, hidesOnEsc: false, hidesOnOutsideEsc: false, hidesOnOutsideClick: false, isTooltip: false, isAlertDialog: false, invokerRelation: 'description', visibilityTriggerFunction: undefined, handlesAccessibility: false, popperConfig: { placement: 'top', strategy: 'fixed', modifiers: [ { name: 'preventOverflow', enabled: true, options: { boundariesElement: 'viewport', padding: 8, // viewport-margin for shifting/sliding }, }, { name: 'flip', options: { boundariesElement: 'viewport', padding: 16, // viewport-margin for flipping }, }, { name: 'offset', enabled: true, options: { offset: [0, 8], // horizontal and vertical margin (distance between popper and referenceElement) }, }, { name: 'arrow', enabled: false, }, ], }, viewportConfig: { placement: 'center', }, zIndex: 9999, isOpenable: true, focusContentOnOpen: false, // This means that content will have visually-hidden / sr-only styles. This is handy for: // - hidden menus that should be \"indexable\" by screen readers (like the Links list in VO: https://support.apple.com/en-gb/guide/voiceover/mchlp2719/mac) // - \"more\" menus that put content in a dropdown that do not fit in the current row // - menus that should generally open on tab. // @ts-ignore - hideVisually is an extension property hideVisually: false, }"
132027
+ "default": "{ placementMode: undefined, contentNode: config.contentNode, contentWrapperNode: config.contentWrapperNode, invokerNode: config.invokerNode, backdropNode: config.backdropNode, referenceNode: undefined, elementToFocusAfterHide: config.invokerNode, inheritsReferenceWidth: 'none', hasBackdrop: false, isBlocking: false, preventsScroll: false, trapsKeyboardFocus: false, hidesOnEsc: false, hidesOnOutsideEsc: false, hidesOnOutsideClick: false, isTooltip: false, isAlertDialog: false, invokerRelation: 'description', visibilityTriggerFunction: undefined, handlesAccessibility: false, popperConfig: { placement: 'top', strategy: 'fixed', modifiers: [ { name: 'preventOverflow', enabled: true, options: { boundariesElement: 'viewport', padding: 8, // viewport-margin for shifting/sliding }, }, { name: 'flip', options: { boundariesElement: 'viewport', padding: 16, // viewport-margin for flipping }, }, { name: 'offset', enabled: true, options: { offset: [0, 8], // horizontal and vertical margin (distance between popper and referenceElement) }, }, { name: 'arrow', enabled: false, }, ], }, viewportConfig: { placement: 'center', }, zIndex: 9999, // TODO: rename to isActivated isOpenable: true, focusContentOnOpen: false, // This means that content will have visually-hidden / sr-only styles. This is handy for: // - hidden menus that should be \"indexable\" by screen readers (like the Links list in VO: https://support.apple.com/en-gb/guide/voiceover/mchlp2719/mac) // - \"more\" menus that put content in a dropdown that do not fit in the current row // - menus that should generally open on tab. // @ts-ignore - hideVisually is an extension property hideVisually: false, requireConnectedNodes: true, }"
132022
132028
  },
132023
132029
  {
132024
132030
  "kind": "method",
@@ -132393,6 +132399,11 @@
132393
132399
  "description": "Here we arrange our content node via:\n1. HTMLDialogElement: the content will always be painted to the browser's top layer\n - no matter what context the contentNode lives in, the overlay will be painted correctly via the <dialog> element,\n even if 'overflow:hidden' or a css transform is applied in its parent hierarchy.\n - the dialog element will be unstyled, but will span the whole screen\n - a backdrop element will be a child of the dialog element, so it leverages the capabilities of the parent\n (filling the whole screen if wanted an always painted to top layer)\n2. ContentWrapper: the content receives the right positioning styles in a clean/non conflicting way:\n - local positioning: receive inline (position) styling that can never conflict with the already existing computed styles\n - global positioning: receive flex (child) classes that position the content correctly relative to the viewport\n\nThe resulting structure that will be created looks like this:\n\n...\n<dialog role=\"none\">\n <div id=\"optional-backdrop\"></div>\n <div id=\"content-wrapper-node\">\n <!-- this was the (slot for) original content node -->\n <slot name=\"content\"></slot>\n </div>\n</dialog>\n...",
132394
132400
  "privacy": "private"
132395
132401
  },
132402
+ {
132403
+ "kind": "method",
132404
+ "name": "__initVisibility",
132405
+ "privacy": "private"
132406
+ },
132396
132407
  {
132397
132408
  "kind": "field",
132398
132409
  "name": "__originalAttrs",
@@ -132445,6 +132456,11 @@
132445
132456
  ],
132446
132457
  "privacy": "private"
132447
132458
  },
132459
+ {
132460
+ "kind": "method",
132461
+ "name": "__teardownVisibility",
132462
+ "privacy": "private"
132463
+ },
132448
132464
  {
132449
132465
  "kind": "method",
132450
132466
  "name": "__validateConfiguration",
@@ -164178,6 +164194,46 @@
164178
164194
  }
164179
164195
  ]
164180
164196
  },
164197
+ {
164198
+ "kind": "javascript-module",
164199
+ "path": "components/overlays/src/utils/is-equal-config.js",
164200
+ "declarations": [
164201
+ {
164202
+ "kind": "function",
164203
+ "name": "isEqualConfig",
164204
+ "parameters": [
164205
+ {
164206
+ "name": "a",
164207
+ "type": {
164208
+ "text": "Partial<OverlayConfig>"
164209
+ }
164210
+ },
164211
+ {
164212
+ "name": "b",
164213
+ "type": {
164214
+ "text": "Partial<OverlayConfig>"
164215
+ }
164216
+ }
164217
+ ],
164218
+ "description": "Compares two OverlayConfigs to equivalence. Intended to prevent unnecessary resets.\nNote that it doesn't cover as many use cases as common implementations, such as Lodash isEqual.",
164219
+ "return": {
164220
+ "type": {
164221
+ "text": "boolean"
164222
+ }
164223
+ }
164224
+ }
164225
+ ],
164226
+ "exports": [
164227
+ {
164228
+ "kind": "js",
164229
+ "name": "isEqualConfig",
164230
+ "declaration": {
164231
+ "name": "isEqualConfig",
164232
+ "module": "components/overlays/src/utils/is-equal-config.js"
164233
+ }
164234
+ }
164235
+ ]
164236
+ },
164181
164237
  {
164182
164238
  "kind": "javascript-module",
164183
164239
  "path": "../../node_modules/@popperjs/core/dist/esm/popper.js",
@@ -164246,46 +164302,6 @@
164246
164302
  }
164247
164303
  ]
164248
164304
  },
164249
- {
164250
- "kind": "javascript-module",
164251
- "path": "components/overlays/src/utils/is-equal-config.js",
164252
- "declarations": [
164253
- {
164254
- "kind": "function",
164255
- "name": "isEqualConfig",
164256
- "parameters": [
164257
- {
164258
- "name": "a",
164259
- "type": {
164260
- "text": "Partial<OverlayConfig>"
164261
- }
164262
- },
164263
- {
164264
- "name": "b",
164265
- "type": {
164266
- "text": "Partial<OverlayConfig>"
164267
- }
164268
- }
164269
- ],
164270
- "description": "Compares two OverlayConfigs to equivalence. Intended to prevent unnecessary resets.\nNote that it doesn't cover as many use cases as common implementations, such as Lodash isEqual.",
164271
- "return": {
164272
- "type": {
164273
- "text": "boolean"
164274
- }
164275
- }
164276
- }
164277
- ],
164278
- "exports": [
164279
- {
164280
- "kind": "js",
164281
- "name": "isEqualConfig",
164282
- "declaration": {
164283
- "name": "isEqualConfig",
164284
- "module": "components/overlays/src/utils/is-equal-config.js"
164285
- }
164286
- }
164287
- ]
164288
- },
164289
164305
  {
164290
164306
  "kind": "javascript-module",
164291
164307
  "path": "components/overlays/src/utils/is-visible.js",
@@ -35,6 +35,7 @@ export class LionDialog extends LionDialog_base {
35
35
  visibilityTriggerFunction?: Function | undefined;
36
36
  focusContentOnOpen?: boolean | undefined;
37
37
  isOpenable?: boolean | undefined;
38
+ requireConnectedNodes?: boolean | undefined;
38
39
  };
39
40
  render(): import("lit-html").TemplateResult<1>;
40
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LionDialog.d.ts","sourceRoot":"","sources":["../../../../components/dialog/src/LionDialog.js"],"names":[],"mappings":";AAGA;;GAEG;AACH;IACE,kBAAkB;IAClB,6BAIC;IAIC,uBAA0B;IAG5B;;OAEG;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;MAKC;IAED,+CAOC;CACF"}
1
+ {"version":3,"file":"LionDialog.d.ts","sourceRoot":"","sources":["../../../../components/dialog/src/LionDialog.js"],"names":[],"mappings":";AAGA;;GAEG;AACH;IACE,kBAAkB;IAClB,6BAIC;IAIC,uBAA0B;IAG5B;;OAEG;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKC;IAED,+CAOC;CACF"}
@@ -993,6 +993,7 @@ export class LionMenuOverlay extends LionMenuOverlay_base {
993
993
  visibilityTriggerFunction?: Function | undefined;
994
994
  focusContentOnOpen?: boolean | undefined;
995
995
  isOpenable?: boolean | undefined;
996
+ requireConnectedNodes?: boolean | undefined;
996
997
  };
997
998
  /**
998
999
  * @enhance InteractiveListMixin
@@ -1 +1 @@
1
- {"version":3,"file":"LionMenuOverlay.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/LionMenuOverlay.js"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH,wDAFW,OAAO,uBAAuB,EAAE,WAAW,CAAC,OAAO,KAAK,EAAE,UAAU,CAAC;;;;QA0B5E;;WAEG;;QAWH;;WAEG;;QAWH;;WAEG;;QAMH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKJ;;;;;QAzCC;;WAEG;;QAWH;;WAEG;;QAWH;;WAEG;;QAMH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA/EH;;;OAGG;iCADQ,QAAQ,GAAC,WAAW;;;;;;;;;;;;;;;EAqKhC;uBAzQU,OAAO,2BAA2B,EAAE,QAAQ;8BAC5C,OAAO,uCAAuC,EAAE,mBAAmB"}
@@ -41,10 +41,27 @@ export class LionNavigationBar extends LionNavigationBar_base {
41
41
  'lion-menu-hybrid': typeof LionMenuHybrid;
42
42
  };
43
43
  static get styles(): import("lit").CSSResult[];
44
+ /** @type {Logo} */
45
+ logo: Logo;
46
+ /** @type {MenuItem[]} */
47
+ menuSupportItems: MenuItem[];
44
48
  /**
45
- * @param {NavBarResponsiveMode} responsiveMode
49
+ * @type {CtaLink}
50
+ */
51
+ ctaPrimary: CtaLink;
52
+ /**
53
+ * @type {CtaLink}
46
54
  */
47
- static "__#7@#getLevelCfg"(responsiveMode: NavBarResponsiveMode): {
55
+ ctaSecondary: CtaLink;
56
+ /** @type {MenuItem[]} */
57
+ menuItems: MenuItem[];
58
+ breakpointMin: number;
59
+ /** @type {string[]} */
60
+ suggestions: string[];
61
+ prefilledSuggestion: string;
62
+ /** @type {NavBarResponsiveMode} */
63
+ responsiveMode: NavBarResponsiveMode;
64
+ _levelCfg: {
48
65
  l1: {
49
66
  isBar: boolean;
50
67
  openableConfig: {
@@ -105,38 +122,18 @@ export class LionNavigationBar extends LionNavigationBar_base {
105
122
  };
106
123
  };
107
124
  };
125
+ _levelSecondaryCfg: {
126
+ l1: {
127
+ isBar: boolean;
128
+ };
129
+ l2: {
130
+ isBar: boolean;
131
+ };
132
+ };
108
133
  /**
109
- * @param {string[]} suggestions
110
- * @returns {import('lit').TemplateResult}
111
- */
112
- static _searchTemplate(suggestions: string[], prefilledSuggestion?: string): import('lit').TemplateResult;
113
- /**
114
- * @param {CtaLink} ctaPrimary
115
- * @param {CtaLink} ctaSecondary
116
- * @returns {import('lit').TemplateResult}
117
- */
118
- static _ctaTemplate(ctaPrimary: CtaLink, ctaSecondary: CtaLink): import('lit').TemplateResult;
119
- /** @type {Logo} */
120
- logo: Logo;
121
- /** @type {MenuItem[]} */
122
- menuSupportItems: MenuItem[];
123
- /**
124
- * @type {CtaLink}
125
- */
126
- ctaPrimary: CtaLink;
127
- /**
128
- * @type {CtaLink}
134
+ * @param {NavBarResponsiveMode} responsiveMode
129
135
  */
130
- ctaSecondary: CtaLink;
131
- /** @type {MenuItem[]} */
132
- menuItems: MenuItem[];
133
- breakpointMin: number;
134
- /** @type {string[]} */
135
- suggestions: string[];
136
- prefilledSuggestion: string;
137
- /** @type {NavBarResponsiveMode} */
138
- responsiveMode: NavBarResponsiveMode;
139
- _levelCfg: {
136
+ _getLevelCfg(responsiveMode: NavBarResponsiveMode): {
140
137
  l1: {
141
138
  isBar: boolean;
142
139
  openableConfig: {
@@ -197,7 +194,7 @@ export class LionNavigationBar extends LionNavigationBar_base {
197
194
  };
198
195
  };
199
196
  };
200
- _levelSecondaryCfg: {
197
+ _getSecondaryLevelCfg(responsiveMode: any): {
201
198
  l1: {
202
199
  isBar: boolean;
203
200
  };
@@ -205,14 +202,29 @@ export class LionNavigationBar extends LionNavigationBar_base {
205
202
  isBar: boolean;
206
203
  };
207
204
  };
205
+ /**
206
+ * @param {import("./types.js").MenuItem}
207
+ * @param {number} level
208
+ */
209
+ _getId(menuItem: any, level: number): any;
208
210
  render(): import("lit-html").TemplateResult<1>;
211
+ /**
212
+ * @param {string[]} suggestions
213
+ * @returns {import('lit').TemplateResult}
214
+ */
215
+ _searchTemplate(suggestions?: string[], prefilledSuggestion?: string): import('lit').TemplateResult;
216
+ /**
217
+ * @param {CtaLink} ctaPrimary
218
+ * @param {CtaLink} ctaSecondary
219
+ * @returns {import('lit').TemplateResult}
220
+ */
221
+ _ctasTemplate(ctaPrimary: CtaLink, ctaSecondary: CtaLink): import('lit').TemplateResult;
209
222
  /**
210
223
  * @param {MenuItem[]} menuItemsForLevel
211
224
  * @param {number} level
212
- * @param {LevelConfig} cfgForLevel
213
225
  * @returns {import('lit').TemplateResult}
214
226
  */
215
- _menulevelTemplate(menuItemsForLevel: MenuItem[], level: number, cfgForLevel: LevelConfig, prevText?: string): import('lit').TemplateResult;
227
+ _menulevelTemplate(menuItemsForLevel: MenuItem[], level: number, prevText?: string): import('lit').TemplateResult;
216
228
  #private;
217
229
  }
218
230
  export type NavBarResponsiveMode = import('./types.js').NavBarResponsiveMode;
@@ -1 +1 @@
1
- {"version":3,"file":"LionNavigationBar.d.ts","sourceRoot":"","sources":["../../../../components/navigation-bar/src/LionNavigationBar.js"],"names":[],"mappings":";AAIA;;;;;;GAMG;AAEH;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAaC;IAED;;MAKC;IAED,+CA0FC;IA6HD;;OAEG;IACH,2CAFW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuE9B;IA0CD;;;OAGG;IACH,oCAHW,MAAM,EAAE,iCACN,OAAO,KAAK,EAAE,cAAc,CAexC;IAED;;;;OAIG;IACH,gCAJW,OAAO,gBACP,OAAO,GACL,OAAO,KAAK,EAAE,cAAc,CAexC;IA/QC,mBAAmB;IACnB,MADW,IAAI,CAC4C;IAC3D,yBAAyB;IACzB,kBADW,QAAQ,EAAE,CACK;IAM1B;;OAEG;IAEH,YAHU,OAAO,CAGG;IACpB;;OAEG;IAEH,cAHU,OAAO,CAGK;IACtB,yBAAyB;IACzB,WADW,QAAQ,EAAE,CACF;IAGnB,sBAAyB;IACzB,uBAAuB;IACvB,aADW,MAAM,EAAE,CACE;IAErB,4BAA6B;IAO7B,mCAAmC;IACnC,gBADW,oBAAoB,CACyB;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAoE;IACpE;;;;;;;MAAsD;IAuKxD,+CA4BC;IAyCD;;;;;OAKG;IACH,sCALW,QAAQ,EAAE,SACV,MAAM,eACN,WAAW,sBACT,OAAO,KAAK,EAAE,cAAc,CAwCxC;;CACF;mCA3bY,OAAO,YAAY,EAAE,oBAAoB;uBACzC,OAAO,YAAY,EAAE,QAAQ;sBAC7B,OAAO,YAAY,EAAE,OAAO;mBAC5B,OAAO,YAAY,EAAE,IAAI;0BACzB,OAAO,YAAY,EAAE,WAAW"}
1
+ {"version":3,"file":"LionNavigationBar.d.ts","sourceRoot":"","sources":["../../../../components/navigation-bar/src/LionNavigationBar.js"],"names":[],"mappings":";AAMA;;;;;;GAMG;AAEH;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAaC;IAED;;MAKC;IAED,+CA0FC;IAKC,mBAAmB;IACnB,MADW,IAAI,CAC4C;IAC3D,yBAAyB;IACzB,kBADW,QAAQ,EAAE,CACK;IAM1B;;OAEG;IAEH,YAHU,OAAO,CAGG;IACpB;;OAEG;IAEH,cAHU,OAAO,CAGK;IACtB,yBAAyB;IACzB,WADW,QAAQ,EAAE,CACF;IAGnB,sBAAyB;IACzB,uBAAuB;IACvB,aADW,MAAM,EAAE,CACE;IAErB,4BAA6B;IAG7B,mCAAmC;IACnC,gBADW,oBAAoB,CACyB;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAuD;IACvD;;;;;;;MAAyE;IAW3E;;OAEG;IACH,6BAFW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuE9B;IAED;;;;;;;MAoBC;IAsBD;;;OAGG;IACH,6BAFW,MAAM,OAQhB;IAYD,+CA4BC;IAED;;;OAGG;IACH,8BAHW,MAAM,EAAE,iCACN,OAAO,KAAK,EAAE,cAAc,CAexC;IAED;;;;OAIG;IACH,0BAJW,OAAO,gBACP,OAAO,GACL,OAAO,KAAK,EAAE,cAAc,CAiBxC;IAED;;;;OAIG;IACH,sCAJW,QAAQ,EAAE,SACV,MAAM,sBACJ,OAAO,KAAK,EAAE,cAAc,CAgCxC;;CACF;mCA9ZY,OAAO,YAAY,EAAE,oBAAoB;uBACzC,OAAO,YAAY,EAAE,QAAQ;sBAC7B,OAAO,YAAY,EAAE,OAAO;mBAC5B,OAAO,YAAY,EAAE,IAAI;0BACzB,OAAO,YAAY,EAAE,WAAW"}
@@ -207,11 +207,6 @@ export class OverlayController extends EventTarget {
207
207
  * @param { OverlayConfig } cfgToAdd
208
208
  */
209
209
  updateConfig(cfgToAdd: OverlayConfig): void;
210
- /**
211
- * @type {OverlayConfig}
212
- * @private
213
- */
214
- private __prevConfig;
215
210
  /**
216
211
  * @param {OverlayConfig} newConfig
217
212
  * @private
@@ -221,7 +216,6 @@ export class OverlayController extends EventTarget {
221
216
  * @protected
222
217
  */
223
218
  protected _init(): void;
224
- __contentHasBeenInitialized: boolean | undefined;
225
219
  /** @private */
226
220
  private __elementToFocusAfterHide;
227
221
  /**
@@ -258,6 +252,9 @@ export class OverlayController extends EventTarget {
258
252
  private __initContentDomStructure;
259
253
  __wrappingDialogNode: HTMLElement | HTMLDialogElement | undefined;
260
254
  __contentWrapperNode: HTMLElement | HTMLDivElement | undefined;
255
+ __rearrangeNodesCleanup: (() => void) | undefined;
256
+ __initVisibility(): void;
257
+ __teardownVisibility(): void;
261
258
  /**
262
259
  * Display local overlays on top of elements with no z-index that appear later in the DOM
263
260
  * @param {{ phase: OverlayPhase }} config
@@ -359,7 +356,6 @@ export class OverlayController extends EventTarget {
359
356
  _handleVisibilityTriggers({ phase }: {
360
357
  phase: OverlayPhase;
361
358
  }): void;
362
- __visibilityTriggerHandler: any;
363
359
  /**
364
360
  * @param {{ phase: OverlayPhase }} config
365
361
  * @protected
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayController.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayController.js"],"names":[],"mappings":"AA2HA;;;;;GAKG;AACH;IAME;;;;OAIG;IACH,qBAHW,aAAa,4DA2GvB;IAtGC,wDAAsB;IACtB,eAAe;IACf,uBAA4B;IAE5B,eAAe;IACf,uCAA0C;IAE1C,4BAA4B;IAC5B,QADW,aAAa,CACR;IAEhB;;;OAGG;IACH,0BAHU,aAAa,CAoEtB;IAED,iBAAiB;IACjB,6BAA+E;IAE/E,eAAe;IACf,wBAAgC;IA2iClC;;;OAGG;IACH,uBAHW,aAAa,GACX,IAAI,CAmBhB;IA5jCC,eAAe;IACf,4BAA+B;IA2hCjC;;;;;OAKG;IAEH,wBAEC;IAjiCC;;;;;;;OAOG;IACH,8BAAkC;IAKpC;;;OAGG;IACH,uCAEC;IAED;;;OAGG;IACH,kDAEC;IAED;;;OAGG;IACH,+DAEC;IAED;;;OAGG;IACH,2CAEC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;OAGG;IACH,+BAEC;IAED;;;;;;OAMG;IACH,sCAIC;IAED;;;;OAIG;IACH,gCAEC;IAED;;;OAGG;IACH,2CAIC;IAED;;;OAGG;IACH,2BAEC;IAED;;;OAGG;IACH,0BAEC;IAED;;;OAGG;IACH,8BAEC;IAED;;;OAGG;IACH,kCAEC;IAED;;;OAGG;IACH,0BAEC;IAED;;;OAGG;IACH,mCAEC;IAED;;;OAGG;IACH,iCAEC;IAED;;;;;;OAMG;IACH,0EAEC;IAED;;;;;;;;;;;OAWG;IACH,oCAEC;IAED;;;;OAIG;IACH,yBAEC;IAED;;;OAGG;IACH,6BAEC;IAED;;;;OAIG;IACH,2DAEC;IAED;;;OAGG;IACH,qDAEC;IAED;;;OAGG;IACH,0EAEC;IAED,0CAEC;IAED;;;;OAIG;IACH,wDAEC;IAED;;OAEG;IACH,2BAGC;IAED;;OAEG;IACH,wBAEC;IAED;;;;;;OAMG;IACH,uBAFY,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,YAAY;aAU/B;IAED,iBAAiB;IACjB,gDAkBC;IAED;;;OAGG;IACH;eAHoB,YAAY;aAsG/B;IA1EG,iDAAiD;IACjD,oEAGC;IAED,4CAGC;IAED,iDAAiD;IACjD,oEAYC;IAED,iDAAiD;IACjD,+DAKC;IA4CL;;;OAGG;IACH;eAHoB,YAAY;aAW/B;IAED,iBAcC;IAED,eAAe;IACf,+BAYC;IATG,aAAwB;IAW5B,+BAQC;;CACF;;wBACU,QAAQ,YAAY,CAAC,GAAG,SAAS;;2BA/gD/B,OAAO,4BAA4B,EAAE,YAAY;6BACjD,OAAO,4BAA4B,EAAE,cAAc;4BACnD,OAAO,4BAA4B,EAAE,aAAa;4BAClD,OAAO,gBAAgB,EAAE,OAAO;wBAChC,OAAO,gBAAgB,EAAE,SAAS;;2BAElC;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE"}
1
+ {"version":3,"file":"OverlayController.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayController.js"],"names":[],"mappings":"AAqJA;;;;;GAKG;AACH;IAME;;;;OAIG;IACH,qBAHW,aAAa,4DA6GvB;IAxGC,wDAAsB;IACtB,eAAe;IACf,uBAA4B;IAE5B,eAAe;IACf,uCAA0C;IAE1C,4BAA4B;IAC5B,QADW,aAAa,CACR;IAEhB;;;OAGG;IACH,0BAHU,aAAa,CAsEtB;IAED,iBAAiB;IACjB,6BAA+E;IAE/E,eAAe;IACf,wBAAgC;IA6jClC;;;OAGG;IACH,uBAHW,aAAa,GACX,IAAI,CAmBhB;IA9kCC,eAAe;IACf,4BAA+B;IA6iCjC;;;;;OAKG;IAEH,wBAEC;IAnjCC;;;;;;;OAOG;IACH,8BAAkC;IAKpC;;;OAGG;IACH,uCAEC;IAED;;;OAGG;IACH,kDAEC;IAED;;;OAGG;IACH,+DAEC;IAED;;;OAGG;IACH,2CAEC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;OAGG;IACH,+BAEC;IAED;;;;;;OAMG;IACH,sCAIC;IA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;IAED;;;;OAIG;IAGH;sBAJyB,WAAW;qBAAc,WAAW;sBAI1B;IAEnC;;OAEG;IAEH;sBAHyB,WAAW;qBAAc,WAAW;sBAU5D;IAED,iBAAiB;IACjB,gCAiBC;IAED,wBAEC;IAED;;;;OAIG;IACH;eAHoB,YAAY;aA6C/B;IAED;;OAEG;IACH;eAFoB,YAAY;aAM/B;IAED;;;OAGG;IACH;eAHoB,YAAY;aAgB/B;IAED;;;OAGG;IACH;eAHoB,YAAY;aAa/B;IAED,iCAEC;IAED;;;;;;OAMG;IACH;;eAHyC,YAAY;aA+BpD;IAtBS,2CAAmD;IAMrD,2CAAiC;IA4EzC;;;OAGG;IACH;eAHoB,YAAY;aAmC/B;IAwDD;;;OAGG;IACH;eAHoB,YAAY;aAwB/B;IAED;;;OAGG;IACH;eAHoB,YAAY;aAU/B;IAED,iBAAiB;IACjB,gDAkBC;IAED;;;OAGG;IACH;eAHoB,YAAY;aAsG/B;IA1EG,iDAAiD;IACjD,oEAGC;IAED,4CAGC;IAED,iDAAiD;IACjD,oEAYC;IAED,iDAAiD;IACjD,+DAKC;IA4CL;;;OAGG;IACH;eAHoB,YAAY;aAW/B;IAED,iBAiBC;IAED,eAAe;IACf,+BAYC;IATG,aAAwB;IAW5B,+BAQC;;CACF;;wBACU,QAAQ,YAAY,CAAC,GAAG,SAAS;;2BA/jD/B,OAAO,4BAA4B,EAAE,YAAY;6BACjD,OAAO,4BAA4B,EAAE,cAAc;4BACnD,OAAO,4BAA4B,EAAE,aAAa;4BAClD,OAAO,gBAAgB,EAAE,OAAO;wBAChC,OAAO,gBAAgB,EAAE,SAAS;;2BAElC;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayMixin.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayMixin.js"],"names":[],"mappings":"AAWA,2CAA2C;AAC3C,6DADY,aAAa,QAGxB;AAED;;;;GAIG;AAEH;;;;;;;GAOG;AACH,yCAHU,YAAY,CAwcpB;2BAhdW,OAAO,+BAA+B,EAAE,YAAY;AAidjE,gGAAoE;sDA/d9B,IAAI;4BAY7B,OAAO,2BAA2B,EAAE,aAAa;kCACjD,OAAO,+BAA+B,EAAE,mBAAmB"}
1
+ {"version":3,"file":"OverlayMixin.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayMixin.js"],"names":[],"mappings":"AAWA,2CAA2C;AAC3C,6DADY,aAAa,QAGxB;AAED;;;;GAIG;AAEH;;;;;;;GAOG;AACH,yCAHU,YAAY,CAycpB;2BAjdW,OAAO,+BAA+B,EAAE,YAAY;AAkdjE,gGAAoE;sDAhe9B,IAAI;4BAY7B,OAAO,2BAA2B,EAAE,aAAa;kCACjD,OAAO,+BAA+B,EAAE,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-equal-config.d.ts","sourceRoot":"","sources":["../../../../../components/overlays/src/utils/is-equal-config.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,iCAJW,QAAQ,aAAa,CAAC,KACtB,QAAQ,aAAa,CAAC,GACpB,OAAO,CAgBnB;4BAzBY,OAAO,8BAA8B,EAAE,aAAa"}
1
+ {"version":3,"file":"is-equal-config.d.ts","sourceRoot":"","sources":["../../../../../components/overlays/src/utils/is-equal-config.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,iCAJW,QAAQ,aAAa,CAAC,KACtB,QAAQ,aAAa,CAAC,GACpB,OAAO,CAiBnB;4BA1BY,OAAO,8BAA8B,EAAE,aAAa"}
@@ -68,5 +68,10 @@ export interface OverlayConfig {
68
68
  */
69
69
  focusContentOnOpen?: boolean;
70
70
  isOpenable?: boolean;
71
+ /**
72
+ * By default, an error is thrown when contentNode is not connected to the DOM.
73
+ * This allows to prepare nodes and later connect them to dom.
74
+ */
75
+ requireConnectedNodes?: boolean;
71
76
  }
72
77
  //# sourceMappingURL=OverlayConfig.d.ts.map