@lion/ui 0.0.9 → 0.0.10

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 (133) hide show
  1. package/components/core/src/SlotMixin.js +2 -1
  2. package/components/dialog/test/lion-dialog.test.js +3 -7
  3. package/components/form-integrations/test/form-group-methods.test.js +6 -4
  4. package/components/form-integrations/test/form-integrations.test.js +10 -5
  5. package/components/form-integrations/test/helpers/umbrella-form.js +10 -0
  6. package/components/form-integrations/test/model-value-consistency.test.js +29 -20
  7. package/components/input-datepicker/src/LionInputDatepicker.js +64 -100
  8. package/components/input-datepicker/src/localizeNamespaceLoader.js +188 -0
  9. package/components/input-datepicker/test/lion-input-datepicker.test.js +15 -20
  10. package/components/input-datepicker/test-helpers/DatepickerInputObject.js +3 -3
  11. package/components/input-tel/src/parsers.js +1 -1
  12. package/components/listbox/test-suites/ListboxMixin.suite.js +3 -3
  13. package/components/localize/test/number/formatNumber.test.js +2 -6
  14. package/components/overlays/src/OverlayController.js +236 -289
  15. package/components/overlays/src/OverlayMixin.js +17 -18
  16. package/components/overlays/src/OverlaysManager.js +28 -53
  17. package/components/overlays/src/overlayDocumentStyle.js +24 -0
  18. package/components/overlays/src/overlayShadowDomStyle.js +138 -0
  19. package/components/overlays/src/singleton.js +3 -1
  20. package/components/overlays/test/ArrowMixin.test.js +0 -1
  21. package/components/overlays/test/OverlayController.test.js +306 -273
  22. package/components/overlays/test/OverlaysManager.test.js +23 -32
  23. package/components/overlays/test/global-positioning.test.js +4 -15
  24. package/components/overlays/test/local-positioning.test.js +65 -38
  25. package/components/overlays/test-suites/OverlayMixin.suite.js +18 -26
  26. package/components/overlays/types/OverlayConfig.ts +32 -11
  27. package/components/overlays/types/OverlayMixinTypes.ts +2 -2
  28. package/components/select-rich/src/LionSelectInvoker.js +2 -3
  29. package/components/select-rich/src/LionSelectRich.js +22 -20
  30. package/components/select-rich/test/lion-select-rich.test.js +5 -7
  31. package/custom-elements.json +251 -362
  32. package/dist-types/components/core/src/SlotMixin.d.ts.map +1 -1
  33. package/dist-types/components/form-integrations/test/helpers/umbrella-form.d.ts +4 -0
  34. package/dist-types/components/form-integrations/test/helpers/umbrella-form.d.ts.map +1 -1
  35. package/dist-types/components/form-integrations/test/model-value-consistency.test.d.ts.map +1 -1
  36. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +3 -3
  37. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts.map +1 -1
  38. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts +4 -0
  39. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -0
  40. package/dist-types/components/overlays/src/OverlayController.d.ts +46 -101
  41. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  42. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  43. package/dist-types/components/overlays/src/OverlaysManager.d.ts +0 -7
  44. package/dist-types/components/overlays/src/OverlaysManager.d.ts.map +1 -1
  45. package/dist-types/components/overlays/src/overlayDocumentStyle.d.ts +2 -0
  46. package/dist-types/components/overlays/src/overlayDocumentStyle.d.ts.map +1 -0
  47. package/dist-types/components/overlays/src/overlayShadowDomStyle.d.ts +2 -0
  48. package/dist-types/components/overlays/src/overlayShadowDomStyle.d.ts.map +1 -0
  49. package/dist-types/components/overlays/src/singleton.d.ts +2 -1
  50. package/dist-types/components/overlays/src/singleton.d.ts.map +1 -1
  51. package/dist-types/components/overlays/test-suites/OverlayMixin.suite.d.ts.map +1 -1
  52. package/dist-types/components/overlays/types/OverlayConfig.d.ts +14 -10
  53. package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
  54. package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts +2 -2
  55. package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts.map +1 -1
  56. package/dist-types/components/select-rich/src/LionSelectInvoker.d.ts +3 -27
  57. package/dist-types/components/select-rich/src/LionSelectInvoker.d.ts.map +1 -1
  58. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  59. package/dist-types/components/select-rich/test/lion-select-rich.test.d.ts.map +1 -1
  60. package/dist-types/exports/input-datepicker.d.ts +0 -1
  61. package/dist-types/exports/overlays.d.ts +0 -1
  62. package/dist-types/exports/types/overlays.d.ts +1 -0
  63. package/dist-types/exports/types/overlays.d.ts.map +1 -1
  64. package/dist-types/tsconfig.tsbuildinfo +1 -1
  65. package/docs/components/checkbox-group/overview.md +2 -2
  66. package/docs/components/collapsible/overview.md +1 -1
  67. package/docs/components/combobox/overview.md +1 -1
  68. package/docs/components/combobox/use-cases.md +1 -1
  69. package/docs/components/dialog/overview.md +5 -9
  70. package/docs/components/dialog/use-cases.md +43 -87
  71. package/docs/components/fieldset/overview.md +5 -5
  72. package/docs/components/form/overview.md +3 -3
  73. package/docs/components/icon/use-cases.md +1 -1
  74. package/docs/components/input/overview.md +1 -1
  75. package/docs/components/input-amount/overview.md +3 -3
  76. package/docs/components/input-date/overview.md +3 -3
  77. package/docs/components/input-datepicker/overview.md +5 -5
  78. package/docs/components/input-email/overview.md +2 -2
  79. package/docs/components/input-iban/overview.md +2 -2
  80. package/docs/components/input-range/overview.md +2 -2
  81. package/docs/components/input-stepper/overview.md +1 -1
  82. package/docs/components/input-tel/overview.md +1 -1
  83. package/docs/components/input-tel/use-cases.md +6 -6
  84. package/docs/components/input-tel-dropdown/overview.md +1 -1
  85. package/docs/components/radio-group/overview.md +3 -3
  86. package/docs/components/select-rich/use-cases.md +1 -1
  87. package/docs/components/tabs/examples.md +1 -1
  88. package/docs/fundamentals/index.md +4 -4
  89. package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
  90. package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
  91. package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
  92. package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
  93. package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
  94. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  95. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  96. package/docs/fundamentals/systems/core/overview.md +1 -1
  97. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  98. package/docs/fundamentals/systems/form/model-value.md +1 -1
  99. package/docs/fundamentals/systems/form/overview.md +28 -28
  100. package/docs/fundamentals/systems/form/use-cases.md +4 -0
  101. package/docs/fundamentals/systems/form/validate.md +1 -1
  102. package/docs/fundamentals/systems/localize/overview.md +4 -4
  103. package/docs/fundamentals/systems/overlays/assets/{applyDemoOverlayStyles.js → applyDemoOverlayStyles.mjs} +2 -1
  104. package/docs/fundamentals/systems/overlays/assets/demo-el-using-overlaymixin.mjs +119 -0
  105. package/docs/fundamentals/systems/overlays/assets/{demo-overlay-backdrop.js → demo-overlay-backdrop.mjs} +3 -4
  106. package/docs/fundamentals/systems/overlays/assets/demo-overlay-positioning.mjs +537 -0
  107. package/docs/fundamentals/systems/overlays/assets/umbrella-form.js +9 -2
  108. package/docs/fundamentals/systems/overlays/configuration.md +56 -54
  109. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  110. package/docs/fundamentals/systems/overlays/use-cases.md +83 -77
  111. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  112. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  113. package/docs/guides/how-to/create-a-custom-field.md +6 -6
  114. package/docs/guides/how-to/extend-a-native-input.md +3 -3
  115. package/docs/guides/index.md +8 -8
  116. package/docs/guides/principles/index.md +5 -5
  117. package/docs/guides/principles/styling.md +1 -1
  118. package/exports/input-datepicker.js +0 -1
  119. package/exports/overlays.js +0 -1
  120. package/exports/types/overlays.ts +1 -0
  121. package/package.json +2 -1
  122. package/components/input-datepicker/src/LionCalendarOverlayFrame.js +0 -125
  123. package/components/overlays/src/globalOverlaysStyle.js +0 -139
  124. package/dist-types/components/input-datepicker/src/LionCalendarOverlayFrame.d.ts +0 -10
  125. package/dist-types/components/input-datepicker/src/LionCalendarOverlayFrame.d.ts.map +0 -1
  126. package/dist-types/components/overlays/src/globalOverlaysStyle.d.ts +0 -2
  127. package/dist-types/components/overlays/src/globalOverlaysStyle.d.ts.map +0 -1
  128. package/dist-types/exports/define/lion-calendar-overlay-frame.d.ts +0 -2
  129. package/dist-types/exports/define/lion-calendar-overlay-frame.d.ts.map +0 -1
  130. package/docs/fundamentals/systems/overlays/assets/demo-overlay-system.js +0 -42
  131. package/docs/fundamentals/systems/overlays/form-integration.md +0 -65
  132. package/docs/fundamentals/systems/overlays/scope.md +0 -176
  133. package/exports/define/lion-calendar-overlay-frame.js +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"SlotMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/SlotMixin.js"],"names":[],"mappings":"wBAMa,OAAO,4BAA4B,EAAE,SAAS;AA4O3D,mmBAA8D;uBA3OjD,OAAO,4BAA4B,EAAE,QAAQ;iCAC7C,OAAO,4BAA4B,EAAE,kBAAkB;iCACvD,OAAO,4BAA4B,EAAE,kBAAkB;yBACvD,OAAO,KAAK,EAAE,UAAU"}
1
+ {"version":3,"file":"SlotMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/SlotMixin.js"],"names":[],"mappings":"wBAMa,OAAO,4BAA4B,EAAE,SAAS;AA6O3D,mmBAA8D;uBA5OjD,OAAO,4BAA4B,EAAE,QAAQ;iCAC7C,OAAO,4BAA4B,EAAE,kBAAkB;iCACvD,OAAO,4BAA4B,EAAE,kBAAkB;yBACvD,OAAO,KAAK,EAAE,UAAU"}
@@ -5,6 +5,10 @@ export class UmbrellaForm extends LitElement {
5
5
  */
6
6
  set serializedValue(arg: string);
7
7
  __serializedValue: string | undefined;
8
+ /**
9
+ * Prevents errors outside test from being thrown
10
+ */
11
+ waitForAllChildrenUpdates(): Promise<any[]>;
8
12
  render(): import("lit-html").TemplateResult<1>;
9
13
  }
10
14
  import { LitElement } from "lit";
@@ -1 +1 @@
1
- {"version":3,"file":"umbrella-form.d.ts","sourceRoot":"","sources":["../../../../../components/form-integrations/test/helpers/umbrella-form.js"],"names":[],"mappings":"AAwBA;IACE,sEAIC;IAED;;OAEG;IACH,iCAEC;IADC,sCAA0B;IAG5B,+CAkIC;CACF"}
1
+ {"version":3,"file":"umbrella-form.d.ts","sourceRoot":"","sources":["../../../../../components/form-integrations/test/helpers/umbrella-form.js"],"names":[],"mappings":"AA2BA;IACE,sEAIC;IAED;;OAEG;IACH,iCAEC;IADC,sCAA0B;IAG5B;;OAEG;IACH,4CAEC;IAED,+CAkIC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"model-value-consistency.test.d.ts","sourceRoot":"","sources":["../../../../components/form-integrations/test/model-value-consistency.test.js"],"names":[],"mappings":"yBAsCa,OAAO,KAAK,EAAE,UAAU;wBACxB,OAAO,kCAAkC,EAAE,SAAS;0BACpD,OAAO,gDAAgD,EAAE,eAAe,GAAG,UAAU,GAAG;IAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,MAAM,EAAE,CAAC;IAAC,uBAAuB,WAAU;CAAE;wBAC7N,OAAO,8BAA8B,EAAE,SAAS;yBAChD,OAAO,gCAAgC,EAAE,UAAU;yBACnD,OAAO,iCAAiC,EAAE,UAAU"}
1
+ {"version":3,"file":"model-value-consistency.test.d.ts","sourceRoot":"","sources":["../../../../components/form-integrations/test/model-value-consistency.test.js"],"names":[],"mappings":"yBAkCa,OAAO,KAAK,EAAE,UAAU;wBACxB,OAAO,kCAAkC,EAAE,SAAS;0BACpD,OAAO,gDAAgD,EAAE,eAAe,GAAG,UAAU,GAAG;IAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,MAAM,EAAE,CAAC;IAAC,uBAAuB,WAAU;CAAE;wBAC7N,OAAO,8BAA8B,EAAE,SAAS;yBAChD,OAAO,gCAAgC,EAAE,UAAU;yBACnD,OAAO,iCAAiC,EAAE,UAAU"}
@@ -1,4 +1,4 @@
1
- declare const LionInputDatepicker_base: typeof LionInputDate & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/OverlayMixinTypes.js").OverlayHost> & Pick<typeof import("../../overlays/types/OverlayMixinTypes.js").OverlayHost, "prototype"> & Pick<typeof import("lit").LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/ArrowMixinTypes.js").ArrowHost> & Pick<typeof import("../../overlays/types/ArrowMixinTypes.js").ArrowHost, "prototype" | "properties" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types.js").ScopedElementsHost>;
1
+ declare const LionInputDatepicker_base: typeof LionInputDate & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "prototype" | "localizeNamespaces" | "waitForLocalizeNamespaces"> & Pick<typeof import("lit").LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/OverlayMixinTypes.js").OverlayHost> & Pick<typeof import("../../overlays/types/OverlayMixinTypes.js").OverlayHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/ArrowMixinTypes.js").ArrowHost> & Pick<typeof import("../../overlays/types/ArrowMixinTypes.js").ArrowHost, "prototype" | "properties" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types.js").ScopedElementsHost>;
2
2
  /**
3
3
  * @typedef {import('../../form-core/src/validate/Validator.js').Validator} Validator
4
4
  * @typedef {import('lit').RenderOptions} RenderOptions
@@ -9,8 +9,8 @@ declare const LionInputDatepicker_base: typeof LionInputDate & import("@open-wc/
9
9
  export class LionInputDatepicker extends LionInputDatepicker_base {
10
10
  static get scopedElements(): {
11
11
  'lion-calendar': typeof LionCalendar;
12
- 'lion-calendar-overlay-frame': typeof LionCalendarOverlayFrame;
13
12
  };
13
+ static get styles(): (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[];
14
14
  /** @type {any} */
15
15
  static get properties(): any;
16
16
  /**
@@ -62,6 +62,7 @@ export class LionInputDatepicker extends LionInputDatepicker_base {
62
62
  * @protected
63
63
  */
64
64
  protected _overlayTemplate(): import("lit-html").TemplateResult<1>;
65
+ _overlayFrameTemplate(): import("lit-html").TemplateResult<1>;
65
66
  render(): import("lit-html").TemplateResult<1>;
66
67
  /**
67
68
  * Subclassers can replace this with their custom extension of
@@ -110,6 +111,5 @@ export type Validator = import('../../form-core/src/validate/Validator.js').Vali
110
111
  export type RenderOptions = import('lit').RenderOptions;
111
112
  import { LionInputDate } from "../../../exports/input-date.js";
112
113
  import { LionCalendar } from "../../../exports/calendar.js";
113
- import { LionCalendarOverlayFrame } from "./LionCalendarOverlayFrame.js";
114
114
  export {};
115
115
  //# sourceMappingURL=LionInputDatepicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LionInputDatepicker.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/src/LionInputDatepicker.js"],"names":[],"mappings":";AAcA;;;GAGG;AAEH;;GAEG;AACH;IAGE;;;MAMC;IAED,kBAAkB;IAClB,6BA+BC;IA8UD;;;;;OAKG;IACH,gDAFa,IAAI,GAAC,SAAS,CAI1B;IAhPD;;OAEG;IACH,0CAEC;IAED;;;OAGG;IACH,4CAIC;IAIC,eAAe;IACf,oBAAiD;IACjD,iBAAiB;IACjB,uCAAoC;IAGpC,iBAAiB;IACjB,mDAA2C;IAC3C,iBAAiB;IACjB,qCAA6B;IAC7B,iBAAiB;IACjB,qCAA6B;IAC7B,iBAAiB;IACjB,gDAAyC;IA4J3C,uCAOC;IAYD;;OAEG;IACH,6DAFW;QAAE,MAAM,EAAE;YAAE,YAAY,EAAE,IAAI,CAAA;SAAE,CAAA;KAAC,QAc3C;IAtLD,eAAe;IACf,gCAEC;IAgBD,eAAe;IACf,gCAKC;IAgBG,qBAAyD;IAI7D;;;;;OAKG;IACH,mEAaC;IAED,+CAOC;IAED;;;OAGG;IAEH,0DAeC;IAED;;;OAGG;IAEH,yDAYC;IAKC,iDAEC;IAIH;;;;OAIG;IAEH,iCAHa,MAAM,CAkBlB;IAWD;;;OAGG;IACH,iCAIC;IAqCD;;;;OAIG;IACH,gCAFW,SAAS,EAAE,QAqBrB;IAVK,uBAAgC;IAEhC,uBAAgC;IAKhC,4BAAqC;IAK3C;;;;;;OAMG;IAEH,iCALW,KAAK,GAAC,WAAW,YACjB;QAAC,SAAS,EAAE,SAAS,CAAA;KAAC,QAUhC;IAgBC,mDAEC;CAGJ;wBAvcY,OAAO,2CAA2C,EAAE,SAAS;4BAC7D,OAAO,KAAK,EAAE,aAAa"}
1
+ {"version":3,"file":"LionInputDatepicker.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/src/LionInputDatepicker.js"],"names":[],"mappings":";AAeA;;;GAGG;AAEH;;GAEG;AACH;IAGE;;MAKC;IAED,wFAgCC;IAED,kBAAkB;IAClB,6BA+BC;IAuQD;;;;;OAKG;IACH,gDAFa,IAAI,GAAC,SAAS,CAI1B;IAlQD;;OAEG;IACH,0CAEC;IAED;;;OAGG;IACH,4CAIC;IAIC,eAAe;IACf,oBAAiD;IACjD,iBAAiB;IACjB,uCAAoC;IAGpC,iBAAiB;IACjB,mDAA2C;IAC3C,iBAAiB;IACjB,qCAA6B;IAC7B,iBAAiB;IACjB,qCAA6B;IAC7B,iBAAiB;IACjB,gDAAyC;IA8K3C,uCAOC;IAYD;;OAEG;IACH,6DAFW;QAAE,MAAM,EAAE;YAAE,YAAY,EAAE,IAAI,CAAA;SAAE,CAAA;KAAC,QAc3C;IAxMD,eAAe;IACf,gCAEC;IAgBD,eAAe;IACf,gCAKC;IAgBG,qBAAyD;IAI7D;;;;;OAKG;IACH,mEASC;IAED,8DAoBC;IAED,+CAOC;IAED;;;OAGG;IAEH,0DAeC;IAED;;;OAGG;IAEH,yDAYC;IAKC,iDAEC;IAIH;;;;OAIG;IAEH,iCAHa,MAAM,CAkBlB;IAWD;;;OAGG;IACH,iCAIC;IAqCD;;;;OAIG;IACH,gCAFW,SAAS,EAAE,QAqBrB;IAVK,uBAAgC;IAEhC,uBAAgC;IAKhC,4BAAqC;IAK3C;;;;;;OAMG;IAEH,iCALW,KAAK,GAAC,WAAW,YACjB;QAAC,SAAS,EAAE,SAAS,CAAA;KAAC,QAUhC;IAgBC,mDAEC;CAIJ;wBAlaY,OAAO,2CAA2C,EAAE,SAAS;4BAC7D,OAAO,KAAK,EAAE,aAAa"}
@@ -0,0 +1,4 @@
1
+ export function localizeNamespaceLoader(locale: string): Promise<{
2
+ default: object;
3
+ }>;
4
+ //# sourceMappingURL=localizeNamespaceLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localizeNamespaceLoader.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/src/localizeNamespaceLoader.js"],"names":[],"mappings":"AAcO,gDAA4C,MAAM;aAb7B,MAAM;GA0LjC"}
@@ -1,60 +1,8 @@
1
1
  /**
2
- * @desc OverlayController is the fundament for every single type of overlay. With the right
2
+ * OverlayController is the fundament for every single type of overlay. With the right
3
3
  * configuration, it can be used to build (modal) dialogs, tooltips, dropdowns, popovers,
4
4
  * bottom/top/left/right sheets etc.
5
5
  *
6
- * ### About contentNode, contentWrapperNode and renderTarget.
7
- *
8
- * #### contentNode
9
- * Node containing actual overlay contents.
10
- * It will not be touched by the OverlayController, it will only set attributes needed
11
- * for accessibility.
12
- *
13
- * #### contentWrapperNode
14
- * The 'positioning' element.
15
- * For local overlays, this node will be provided to Popper and all
16
- * inline positioning styles will be added here. It will also act as the container of an arrow
17
- * element (the arrow needs to be a sibling of contentNode for Popper to work correctly).
18
- * When projecting a contentNode from a shadowRoot, it is essential to have the wrapper in
19
- * shadow dom, so that contentNode can be styled via `::slotted` from the shadow root.
20
- * The Popper arrow can then be styled from that same shadow root as well.
21
- * For global overlays, the contentWrapperNode will be appended to the globalRootNode structure.
22
- *
23
- * #### renderTarget
24
- * Usually the parent node of contentWrapperNode that either exists locally or globally.
25
- * When a responsive scenario is created (in which we switch from global to local or vice versa)
26
- * we need to know where we should reappend contentWrapperNode (or contentNode in case it's projected)
27
- *
28
- * So a regular flow can be summarized as follows:
29
- * 1. Application Developer spawns an OverlayController with a contentNode reference
30
- * 2. OverlayController will create a contentWrapperNode around contentNode (or consumes when provided)
31
- * 3. contentWrapperNode will be appended to the right renderTarget
32
- *
33
- * There are subtle differences depending on the following factors:
34
- * - whether in global/local placement mode
35
- * - whether contentNode projected
36
- * - whether an arrow is provided
37
- *
38
- * This leads to the following possible combinations:
39
- * - [l1]. local + no content projection + no arrow
40
- * - [l2]. local + content projection + no arrow
41
- * - [l3]. local + no content projection + arrow
42
- * - [l4]. local + content projection + arrow
43
- * - [g1]. global
44
- *
45
- * #### html structure for a content projected node
46
- * <div id="contentWrapperNode">
47
- * <slot name="contentNode"></slot>
48
- * <div x-arrow></div>
49
- * </div>
50
- *
51
- * Structure above depicts [l4]
52
- * So in case of [l1] and [l3], the <slot> element would be a regular element
53
- * In case of [l1] and [l2], there would be no arrow.
54
- * Note that a contentWrapperNode should be provided for [l2], [l3] and [l4]
55
- * In case of a global overlay ([g1]), it's enough to provide just the contentNode.
56
- * In case of a local overlay or a responsive overlay switching from placementMode, one should
57
- * always configure as if it were a local overlay.
58
6
  */
59
7
  export class OverlayController extends EventTargetShim {
60
8
  /**
@@ -62,10 +10,12 @@ export class OverlayController extends EventTargetShim {
62
10
  * @param {OverlayConfig} config initial config. Will be remembered as shared config
63
11
  * when `.updateConfig()` is called.
64
12
  */
65
- constructor(config?: OverlayConfig, manager?: any);
66
- manager: any;
13
+ constructor(config?: OverlayConfig, manager?: import("./OverlaysManager.js").OverlaysManager);
14
+ manager: import("./OverlaysManager.js").OverlaysManager;
67
15
  /** @private */
68
16
  private __sharedConfig;
17
+ /** @type {OverlayConfig} */
18
+ config: OverlayConfig;
69
19
  /**
70
20
  * @type {OverlayConfig}
71
21
  * @protected
@@ -75,16 +25,10 @@ export class OverlayController extends EventTargetShim {
75
25
  protected _contentId: string;
76
26
  /** @private */
77
27
  private __originalAttrs;
78
- __isContentNodeProjected: boolean | undefined;
79
28
  /** @private */
80
29
  private __hasActiveTrapsKeyboardFocus;
81
30
  /** @private */
82
31
  private __hasActiveBackdrop;
83
- /**
84
- * @type {HTMLElement | undefined}
85
- * @private
86
- */
87
- private __backdropNodeToBeTornDown;
88
32
  /** @private */
89
33
  private __escKeyHandler;
90
34
  /**
@@ -94,9 +38,9 @@ export class OverlayController extends EventTargetShim {
94
38
  get invoker(): HTMLElement | undefined;
95
39
  /**
96
40
  * The contentWrapperNode
97
- * @type {HTMLElement}
41
+ * @type {HTMLDialogElement | HTMLDivElement}
98
42
  */
99
- get content(): HTMLElement;
43
+ get content(): HTMLDialogElement | HTMLDivElement;
100
44
  /**
101
45
  * Determines the connection point in DOM (body vs next to invoker).
102
46
  * @type {'global' | 'local' | undefined}
@@ -210,21 +154,12 @@ export class OverlayController extends EventTargetShim {
210
154
  * Popper configuration. Will be used when placementMode is 'local'
211
155
  * @type {PopperOptions}
212
156
  */
213
- get popperConfig(): import("@popperjs/core/lib/types.js").Options;
157
+ get popperConfig(): import("@popperjs/core").Options;
214
158
  /**
215
159
  * Viewport configuration. Will be used when placementMode is 'global'
216
160
  * @type {ViewportConfig}
217
161
  */
218
- get viewportConfig(): import("../types/OverlayConfig.js").ViewportConfig;
219
- /**
220
- * Usually the parent node of contentWrapperNode that either exists locally or globally.
221
- * When a responsive scenario is created (in which we switch from global to local or vice versa)
222
- * we need to know where we should reappend contentWrapperNode (or contentNode in case it's
223
- * projected).
224
- * @type {HTMLElement}
225
- * @protected
226
- */
227
- protected get _renderTarget(): HTMLElement;
162
+ get viewportConfig(): import("@lion/ui/types/overlays.js").ViewportConfig;
228
163
  /**
229
164
  * @desc The element our local overlay will be positioned relative to.
230
165
  * @type {HTMLElement | undefined}
@@ -252,8 +187,6 @@ export class OverlayController extends EventTargetShim {
252
187
  * @private
253
188
  */
254
189
  private __prevConfig;
255
- /** @type {OverlayConfig} */
256
- config: import("../types/OverlayConfig.js").OverlayConfig | undefined;
257
190
  /** @private */
258
191
  private __elementToFocusAfterHide;
259
192
  /**
@@ -262,25 +195,39 @@ export class OverlayController extends EventTargetShim {
262
195
  */
263
196
  private __validateConfiguration;
264
197
  /**
265
- * @param {{ cfgToAdd: OverlayConfig }} options
266
198
  * @protected
267
199
  */
268
- protected _init({ cfgToAdd }: {
269
- cfgToAdd: OverlayConfig;
270
- }): void;
271
- /** @private */
272
- private __initConnectionTarget;
273
- /**
274
- * Cleanup ._contentWrapperNode. We do this, because creating a fresh wrapper
275
- * can lead to problems with event listeners...
276
- * @param {{ cfgToAdd: OverlayConfig }} options
200
+ protected _init(): void;
201
+ __contentHasBeenInitialized: boolean | undefined;
202
+ /**
203
+ * Here we arrange our content node via:
204
+ * 1. HTMLDialogElement: the content will always be painted to the browser's top layer
205
+ * - no matter what context the contentNode lives in, the overlay will be painted correctly via the <dialog> element,
206
+ * even if 'overflow:hidden' or a css transform is applied in its parent hierarchy.
207
+ * - the dialog element will be unstyled, but will span the whole screen
208
+ * - a backdrop element will be a child of the dialog element, so it leverages the capabilities of the parent
209
+ * (filling the whole screen if wanted an always painted to top layer)
210
+ * 2. ContentWrapper: the content receives the right positioning styles in a clean/non conflicting way:
211
+ * - local positioning: receive inline (position) styling that can never conflict with the already existing computed styles
212
+ * - global positioning: receive flex (child) classes that position the content correctly relative to the viewport
213
+ *
214
+ * The resulting structure that will be created looks like this:
215
+ *
216
+ * ...
217
+ * <dialog role="none">
218
+ * <div id="optional-backdrop"></div>
219
+ * <div id="content-wrapper-node">
220
+ * <!-- this was the (slot for) original content node -->
221
+ * <slot name="content"></slot>
222
+ * </div>
223
+ * </dialog>
224
+ * ...
225
+ *
277
226
  * @private
278
227
  */
279
- private __initContentWrapperNode;
280
- /** config [l2],[l3],[l4] */
281
- __contentWrapperNode: HTMLElement | HTMLDivElement | undefined;
282
- /** config [l2], [l4] */
283
- __originalContentParent: HTMLElement | undefined;
228
+ private __initContentDomStructure;
229
+ __wrappingDialogNode: HTMLDialogElement | HTMLDivElement | undefined;
230
+ __contentWrapperNode: HTMLDivElement | undefined;
284
231
  /**
285
232
  * Display local overlays on top of elements with no z-index that appear later in the DOM
286
233
  * @param {{ phase: OverlayPhase }} config
@@ -351,22 +298,21 @@ export class OverlayController extends EventTargetShim {
351
298
  * @param {{backdropNode:HTMLElement, contentNode:HTMLElement}} hideConfig
352
299
  * @protected
353
300
  */
354
- protected _transitionHide(hideConfig: {
301
+ protected _transitionHide({ backdropNode, contentNode }: {
355
302
  backdropNode: HTMLElement;
356
303
  contentNode: HTMLElement;
357
304
  }): Promise<void>;
358
- __backdropAnimation: Promise<any> | undefined;
359
305
  /**
360
306
  * To be overridden by subclassers
361
307
  *
362
- * @param {{backdropNode:HTMLElement, contentNode:HTMLElement}} showConfig
308
+ * @param {{backdropNode:HTMLElement; contentNode:HTMLElement}} showConfig
363
309
  */
364
310
  transitionShow(showConfig: {
365
311
  backdropNode: HTMLElement;
366
312
  contentNode: HTMLElement;
367
313
  }): Promise<void>;
368
314
  /**
369
- * @param {{backdropNode:HTMLElement, contentNode:HTMLElement}} showConfig
315
+ * @param {{backdropNode:HTMLElement; contentNode:HTMLElement}} showConfig
370
316
  */
371
317
  _transitionShow(showConfig: {
372
318
  backdropNode: HTMLElement;
@@ -410,6 +356,7 @@ export class OverlayController extends EventTargetShim {
410
356
  phase: OverlayPhase;
411
357
  }): void;
412
358
  __backdropNode: HTMLDivElement | undefined;
359
+ __backdropInitialized: boolean | undefined;
413
360
  get hasActiveTrapsKeyboardFocus(): boolean;
414
361
  /**
415
362
  * @param {{ phase: OverlayPhase }} config
@@ -461,8 +408,6 @@ export class OverlayController extends EventTargetShim {
461
408
  phase: OverlayPhase;
462
409
  }): void;
463
410
  teardown(): void;
464
- /** @protected */
465
- protected _teardownContentWrapperNode(): void;
466
411
  /** @private */
467
412
  private __createPopperInstance;
468
413
  _popper: any;
@@ -470,11 +415,11 @@ export class OverlayController extends EventTargetShim {
470
415
  export namespace OverlayController {
471
416
  const popperModule: Promise<PopperModule> | undefined;
472
417
  }
473
- export type OverlayConfig = import('../types/OverlayConfig.js').OverlayConfig;
474
- export type ViewportConfig = import('../types/OverlayConfig.js').ViewportConfig;
418
+ export type OverlayConfig = import('@lion/ui/types/overlays.js').OverlayConfig;
419
+ export type ViewportConfig = import('@lion/ui/types/overlays.js').ViewportConfig;
475
420
  export type Popper = any;
476
- export type PopperOptions = import('@popperjs/core/lib/popper.js').Options;
477
- export type Placement = import('@popperjs/core/lib/enums.js').Placement;
421
+ export type PopperOptions = import('@popperjs/core').Options;
422
+ export type Placement = import('@popperjs/core').Placement;
478
423
  export type PopperModule = {
479
424
  createPopper: Popper;
480
425
  };
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayController.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayController.js"],"names":[],"mappings":"AA6BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH;IACE;;;;OAIG;IACH,qBAHW,aAAa,iBAgGvB;IA3FC,aAAsB;IACtB,eAAe;IACf,uBAA4B;IAE5B;;;OAGG;IACH,0BAHU,aAAa,CA0DtB;IAGD,iBAAiB;IACjB,6BAAgF;IAChF,eAA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CAU7B;;wBACU,QAAQ,YAAY,CAAC,GAAG,SAAS;;4BAvxC/B,OAAO,2BAA2B,EAAE,aAAa;6BACjD,OAAO,2BAA2B,EAAE,cAAc;;4BAElD,OAAO,8BAA8B,EAAE,OAAO;wBAC9C,OAAO,6BAA6B,EAAE,SAAS;2BAC/C;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE;2BACxB,OAAO,GAAC,MAAM,GAAC,UAAU,GAAC,aAAa,GAAC,MAAM,GAAC,MAAM,GAAC,KAAK,GAAC,QAAQ"}
1
+ {"version":3,"file":"OverlayController.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayController.js"],"names":[],"mappings":"AA6GA;;;;;GAKG;AACH;IACE;;;;OAIG;IACH,qBAHW,aAAa,4DAsFvB;IAjFC,wDAAsB;IACtB,eAAe;IACf,uBAA4B;IAE5B,4BAA4B;IAC5B,QADW,aAAa,CACR;IAEhB;;;OAGG;IACH,0BAHU,aAAa,CA2DtB;IAGD,iBAAiB;IACjB,6BAAgF;IAChF,eAAe;IACf,wBAAgC;IAEhC,eAAe;IACf,sCAA0C;IAC1C,eAAe;IACf,4BAA+B;IAw2BjC,eAAe;IACf,wBAEC;IAt2BD;;;OAGG;IACH,uCAEC;IAED;;;OAGG;IACH,kDAEC;IAED;;;OAGG;IACH,oDAEC;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;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AY;aAa/B;IAED,iCAEC;IAED;;;;;;OAMG;IACH;;eAHyC,YAAY;aA2BpD;IAlBS,2CAAmD;IAMrD,2CAAiC;IAczC,2CAEC;IAED;;;OAGG;IACH;eAHoB,YAAY;aAkB/B;IAED,iCAYC;IALC;;kBAA0D;IAO5D;;aAYC;IAOD;;;OAGG;IACH;eAHoB,YAAY;aAe/B;IAED;;;OAGG;IACH;eAHoB,YAAY;aAW/B;IAED,iBAAiB;IACjB,gDAkBC;IAED;;;OAGG;IACH;eAHoB,YAAY;aAyF/B;IA7DG,iDAAiD;IACjD,oEAGC;IAED,4CAGC;IAED,iDAAiD;IACjD,oEAYC;IAuCL;;;OAGG;IACH;eAHoB,YAAY;aAU/B;IAED,iBAEC;IAED,eAAe;IACf,+BAYC;IATG,aAAwB;CAU7B;;wBACU,QAAQ,YAAY,CAAC,GAAG,SAAS;;4BAhuC/B,OAAO,4BAA4B,EAAE,aAAa;6BAClD,OAAO,4BAA4B,EAAE,cAAc;;4BAEnD,OAAO,gBAAgB,EAAE,OAAO;wBAChC,OAAO,gBAAgB,EAAE,SAAS;2BAClC;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE;2BACxB,OAAO,GAAC,MAAM,GAAC,UAAU,GAAC,aAAa,GAAC,MAAM,GAAC,MAAM,GAAC,KAAK,GAAC,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayMixin.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayMixin.js"],"names":[],"mappings":"AAIA;;;;GAIG;AAEH;;;GAGG;AACH,yCAHU,YAAY,CAyWlB;2BA7WS,OAAO,+BAA+B,EAAE,YAAY;AA8WjE,gGAAoE;4BAhXvD,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":"AAIA;;;;GAIG;AAEH;;;GAGG;AACH,yCAHU,YAAY,CAwWlB;2BA5WS,OAAO,+BAA+B,EAAE,YAAY;AA6WjE,gGAAoE;4BA/WvD,OAAO,2BAA2B,EAAE,aAAa;kCACjD,OAAO,+BAA+B,EAAE,mBAAmB"}
@@ -6,13 +6,7 @@ export namespace _browserDetection {
6
6
  * `OverlaysManager` which manages overlays which are rendered into the body
7
7
  */
8
8
  export class OverlaysManager {
9
- static __createGlobalRootNode(): HTMLDivElement;
10
9
  static __createGlobalStyleNode(): HTMLStyleElement;
11
- /**
12
- * no setter as .list is intended to be read-only
13
- * You can use .add or .remove to modify it
14
- */
15
- get globalRootNode(): HTMLElement;
16
10
  /**
17
11
  * no setter as .list is intended to be read-only
18
12
  * You can use .add or .remove to modify it
@@ -87,7 +81,6 @@ export class OverlaysManager {
87
81
  retractRequestToShowOnly(blockingCtrl: OverlayController): void;
88
82
  }
89
83
  export namespace OverlaysManager {
90
- const __globalRootNode: HTMLElement | undefined;
91
84
  const __globalStyleNode: HTMLStyleElement | undefined;
92
85
  }
93
86
  export type CSSResult = import('lit').CSSResult;
@@ -1 +1 @@
1
- {"version":3,"file":"OverlaysManager.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlaysManager.js"],"names":[],"mappings":";;;;AAqBA;;GAEG;AACH;IACE,gDAKC;IAED,mDAMC;IAED;;;OAGG;IAEH,kCAMC;IAED;;;OAGG;IACH,iEAEC;IAED;;;OAGG;IACH,sEAEC;IAGC;;;OAGG;IACH,eAAgB;IAChB;;;OAGG;IACH,oBAAqB;IACrB,eAAe;IACf,wBAA4B;IAC5B;;;OAGG;IACH,sBAAkC;IAGpC;;;;OAIG;IACH,eAHW,iBAAiB,GACf,iBAAiB,CAQ7B;IAED;;OAEG;IACH,qBAFW,iBAAiB,QAO3B;IAED;;OAEG;IACH,iBAFW,iBAAiB,QAe3B;IAED;;OAEG;IACH,iBAFW,GAAG,QAOb;IAED,iBAqBC;IAED,yDAAyD;IAEzD,6BAEC;IAED,wCAMC;IAED;;OAEG;IACH,kDAFW,OAAO,GAAG,QAAQ,GAAG,SAAS,QASxC;IAED;;OAEG;IACH;;;aAcC;IAED,qBAAqB;IAGrB,+BAYC;IAED,8BAWC;IAED;;;OAGG;IACH,gCAFW,iBAAiB,QAO3B;IAED;;OAEG;IACH,uCAFW,iBAAiB,QAS3B;CACF;;4BACU,WAAW,GAAG,SAAS;6BAEvB,gBAAgB,GAAG,SAAS;;wBAtQ1B,OAAO,KAAK,EAAE,SAAS;gCACvB,OAAO,wBAAwB,EAAE,iBAAiB"}
1
+ {"version":3,"file":"OverlaysManager.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlaysManager.js"],"names":[],"mappings":";;;;AAoBA;;GAEG;AACH;IACE,mDAMC;IAED;;;OAGG;IACH,iEAEC;IAED;;;OAGG;IACH,sEAEC;IAGC;;;OAGG;IACH,eAAgB;IAChB;;;OAGG;IACH,oBAAqB;IACrB,eAAe;IACf,wBAA4B;IAC5B;;;OAGG;IACH,sBAAkC;IAOpC;;;;OAIG;IACH,eAHW,iBAAiB,GACf,iBAAiB,CAQ7B;IAED;;OAEG;IACH,qBAFW,iBAAiB,QAQ3B;IAED;;OAEG;IACH,iBAFW,iBAAiB,QAe3B;IAED;;OAEG;IACH,iBAFW,GAAG,QAOb;IAED,iBAeC;IAED,yDAAyD;IAEzD,6BAEC;IAED,wCAMC;IAED;;OAEG;IACH,kDAFW,OAAO,GAAG,QAAQ,GAAG,SAAS,QAMxC;IAED;;OAEG;IACH;;;aAWC;IAED,qBAAqB;IAGrB,+BAYC;IAED,8BAgBC;IAED;;;OAGG;IACH,gCAFW,iBAAiB,QAM3B;IAED;;OAEG;IACH,uCAFW,iBAAiB,QAS3B;CACF;;6BAEU,gBAAgB,GAAG,SAAS;;wBA7O1B,OAAO,KAAK,EAAE,SAAS;gCACvB,OAAO,wBAAwB,EAAE,iBAAiB"}
@@ -0,0 +1,2 @@
1
+ export const overlayDocumentStyle: import("lit").CSSResult;
2
+ //# sourceMappingURL=overlayDocumentStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlayDocumentStyle.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/overlayDocumentStyle.js"],"names":[],"mappings":"AAEA,2DAqBE"}
@@ -0,0 +1,2 @@
1
+ export const overlayShadowDomStyle: import("lit").CSSResult;
2
+ //# sourceMappingURL=overlayShadowDomStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlayShadowDomStyle.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/overlayShadowDomStyle.js"],"names":[],"mappings":"AAEA,4DAuIE"}
@@ -1,2 +1,3 @@
1
- export const overlays: any;
1
+ export const overlays: OverlaysManager;
2
+ import { OverlaysManager } from "./OverlaysManager.js";
2
3
  //# sourceMappingURL=singleton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/singleton.js"],"names":[],"mappings":"AAGA,2BAAiG"}
1
+ {"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/singleton.js"],"names":[],"mappings":"AAGA,uCAE6E"}
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/overlays/test-suites/OverlayMixin.suite.js"],"names":[],"mappings":"AAuBA;;GAEG;AACH,iEAFW;IAAC,SAAS,EAAC,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAC,MAAM,CAAA;CAAC,QA+ZzD;4BA9aY,OAAO,2BAA2B,EAAE,aAAa;kCACjD,OAAO,+BAA+B,EAAE,mBAAmB;0BAC3D,OAAO,+BAA+B,EAAE,WAAW;2BACnD,OAAO,+BAA+B,EAAE,YAAY;yBACpD,OAAO,KAAK,EAAE,UAAU;wBACxB,UAAU,GAAG,WAAW,GAAG;IAAC,YAAY,EAAC,iBAAiB,CAAA;CAAC"}
1
+ {"version":3,"file":"OverlayMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/overlays/test-suites/OverlayMixin.suite.js"],"names":[],"mappings":"AAyBA;;GAEG;AACH,iEAFW;IAAC,SAAS,EAAC,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAC,MAAM,CAAA;CAAC,QAqZzD;4BAtaY,OAAO,2BAA2B,EAAE,aAAa;kCACjD,OAAO,+BAA+B,EAAE,mBAAmB;0BAC3D,OAAO,+BAA+B,EAAE,WAAW;2BACnD,OAAO,+BAA+B,EAAE,YAAY;yBACpD,OAAO,KAAK,EAAE,UAAU;wBACxB,UAAU,GAAG,WAAW,GAAG;IAAC,YAAY,EAAC,iBAAiB,CAAA;CAAC"}
@@ -1,7 +1,17 @@
1
1
  import { Options } from '@popperjs/core';
2
2
  export interface OverlayConfig {
3
- /** Determines the connection point in DOM (body vs next to invoker). */
3
+ /** Determines the positioning anchore (viewport vs invokerNode/referenceNode). */
4
4
  placementMode?: 'global' | 'local' | undefined;
5
+ /** Popper configuration. Will be used when placementMode is 'local' */
6
+ popperConfig?: Partial<Options>;
7
+ /** Viewport positioning configuration. Will be used when placementMode is 'global' */
8
+ viewportConfig?: ViewportConfig;
9
+ /** Hides other overlays when multiple are opened (currently exclusive to globalOverlayController) */
10
+ isBlocking?: boolean;
11
+ /** Will align contentNode with referenceNode (invokerNode by default) for local overlays. Usually needed for dropdowns. 'max' will prevent contentNode from exceeding width of referenceNode, 'min' guarantees that contentNode will be at least as wide as referenceNode. 'full' will make sure that the invoker width always is the same. */
12
+ inheritsReferenceWidth?: 'max' | 'full' | 'min' | 'none';
13
+ /** Change the default of 9999 */
14
+ zIndex?: number;
5
15
  /** The interactive element (usually a button) invoking the dialog or tooltip */
6
16
  invokerNode?: HTMLElement;
7
17
  /** The element that is used to position the overlay content relative to. Usually, this is the same element as invokerNode. Should only be provided when invokerNode should not be positioned against */
@@ -16,8 +26,6 @@ export interface OverlayConfig {
16
26
  elementToFocusAfterHide?: HTMLElement;
17
27
  /** Whether it should have a backdrop (currently exclusive to globalOverlayController) */
18
28
  hasBackdrop?: boolean;
19
- /** Hides other overlays when mutiple are opened (currently exclusive to globalOverlayController) */
20
- isBlocking?: boolean;
21
29
  /** Prevents scrolling body content when overlay opened (currently exclusive to globalOverlayController) */
22
30
  preventsScroll?: boolean;
23
31
  /** Rotates tab, implicitly set when 'isModal' */
@@ -28,8 +36,6 @@ export interface OverlayConfig {
28
36
  hidesOnOutsideClick?: boolean;
29
37
  /** Hides the overlay when pressing esc, even when contentNode has no focus */
30
38
  hidesOnOutsideEsc?: boolean;
31
- /** Will align contentNode with referenceNode (invokerNode by default) for local overlays. Usually needed for dropdowns. 'max' will prevent contentNode from exceeding width of referenceNode, 'min' guarantees that contentNode will be at least as wide as referenceNode. 'full' will make sure that the invoker width always is the same. */
32
- inheritsReferenceWidth?: 'max' | 'full' | 'min' | 'none';
33
39
  /**
34
40
  * For non `isTooltip`:
35
41
  * - sets aria-expanded="true/false" and aria-haspopup="true" on invokerNode
@@ -45,12 +51,10 @@ export interface OverlayConfig {
45
51
  isTooltip?: boolean;
46
52
  /** By default, the tooltip content is a 'description' for the invoker (uses aria-describedby) Setting this property to 'label' makes the content function as a label (via aria-labelledby) */
47
53
  invokerRelation?: 'label' | 'description';
48
- /** Popper configuration. Will be used when placementMode is 'local' */
49
- popperConfig?: Partial<Options>;
50
- /** Viewport configuration. Will be used when placementMode is 'global' */
51
- viewportConfig?: ViewportConfig;
54
+ /** render a div instead of dialog */
55
+ _noDialogEl?: Boolean;
52
56
  }
53
- export declare type ViewportPlacement = 'center' | 'top-left' | 'top' | 'top-right' | 'right' | 'bottom-right' | 'bottom' | 'bottom-left' | 'left' | 'center';
57
+ export declare type ViewportPlacement = 'center' | 'top-left' | 'top' | 'top-right' | 'right' | 'bottom-right' | 'bottom' | 'bottom-left' | 'left';
54
58
  export interface ViewportConfig {
55
59
  placement: ViewportPlacement;
56
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayCon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OAAO,CAAC,CAAC;IAChC,0EAA0E;IAC1E,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED,oBAAY,iBAAiB,GACzB,QAAQ,GACR,UAAU,GACV,KAAK,GACL,WAAW,GACX,OAAO,GACP,cAAc,GACd,QAAQ,GACR,aAAa,GACb,MAAM,GACN,QAAQ,CAAC;AAEb,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,iBAAiB,CAAC;CAC9B"}
1
+ {"version":3,"file":"OverlayConfig.d.ts","sourceRoot":"","sources":["../../../../components/overlays/types/OverlayConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,WAAW,aAAa;IAG5B,kFAAkF;IAClF,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IAC/C,uEAAuE;IACvE,YAAY,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAChC,sFAAsF;IACtF,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,qGAAqG;IACrG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+UAA+U;IAC/U,sBAAsB,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IACzD,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,gFAAgF;IAChF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,wMAAwM;IACxM,aAAa,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACxC,qDAAqD;IACrD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oXAAoX;IACpX,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,kJAAkJ;IAClJ,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,0EAA0E;IAC1E,uBAAuB,CAAC,EAAE,WAAW,CAAC;IAItC,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,CAAC;IAItB,2GAA2G;IAC3G,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mEAAmE;IACnE,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAI5B;;;;;;;;;OASG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAI/B,uKAAuK;IACvK,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8LAA8L;IAC9L,eAAe,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;IAE1C,qCAAqC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,oBAAY,iBAAiB,GACzB,QAAQ,GACR,UAAU,GACV,KAAK,GACL,WAAW,GACX,OAAO,GACP,cAAc,GACd,QAAQ,GACR,aAAa,GACb,MAAM,CAAC;AAEX,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,iBAAiB,CAAC;CAC9B"}
@@ -16,8 +16,8 @@ export interface DefineOverlayConfig {
16
16
  }
17
17
  export declare class OverlayHost {
18
18
  opened: Boolean;
19
- get config(): OverlayConfig;
20
- set config(value: OverlayConfig);
19
+ get config(): Partial<OverlayConfig>;
20
+ set config(value: Partial<OverlayConfig>);
21
21
  open(): Promise<void>;
22
22
  close(): Promise<void>;
23
23
  toggle(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayMixinTypes.d.ts","sourceRoot":"","sources":["../../../../components/overlays/types/OverlayMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEh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I,CAAC;IACtB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,IAAI,IAAI;IAEzB,SAAS,CAAC,YAAY,EAAE,iBAAiB,CAAC;IAE1C,SAAS,KAAK,mBAAmB,IAAI,WAAW,CAAC;IAEjD,SAAS,KAAK,oBAAoB,IAAI,WAAW,CAAC;IAElD,SAAS,KAAK,mBAAmB,IAAI,WAAW,CAAC;IAEjD,SAAS,KAAK,0BAA0B,IAAI,WAAW,CAAC;IAExD;;;OAGG;IACH,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,mBAAmB,GAAG,iBAAiB;IACxE,SAAS,CAAC,oBAAoB,IAAI,aAAa;IAE/C,SAAS,CAAC,wBAAwB,IAAI,IAAI;IAE1C,SAAS,CAAC,2BAA2B,IAAI,IAAI;IAE7C,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAEnC,SAAS,CAAC,oBAAoB,IAAI,IAAI;IAEtC;;;;;OAKG;IACH,SAAS,CAAC,gCAAgC,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC;IAElF,OAAO,CAAC,gCAAgC;IACxC,OAAO,CAAC,mCAAmC;IAC3C,OAAO,CAAC,yBAAyB;CAClC;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAC7E,UAAU,EAAE,CAAC,GACZ,CAAC,GACF,WAAW,CAAC,WAAW,CAAC,GACxB,IAAI,CAAC,OAAO,WAAW,EAAE,MAAM,OAAO,WAAW,CAAC,GAClD,IAAI,CAAC,OAAO,UAAU,EAAE,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnD,oBAAY,YAAY,GAAG,OAAO,qBAAqB,CAAC"}
@@ -9,33 +9,9 @@ declare const LionSelectInvoker_base: typeof LionButton & import("@open-wc/dedup
9
9
  * LionSelectInvoker: invoker button consuming a selected element
10
10
  */
11
11
  export class LionSelectInvoker extends LionSelectInvoker_base {
12
- static get styles(): import("lit").CSSResult[];
13
- static get properties(): {
14
- selectedElement: {
15
- type: ObjectConstructor;
16
- };
17
- hostElement: {
18
- type: ObjectConstructor;
19
- };
20
- readOnly: {
21
- type: BooleanConstructor;
22
- reflect: boolean;
23
- attribute: string;
24
- };
25
- singleOption: {
26
- type: BooleanConstructor;
27
- reflect: boolean;
28
- attribute: string;
29
- };
30
- active: {
31
- type: BooleanConstructor;
32
- reflect: boolean;
33
- };
34
- type: {
35
- type: StringConstructor;
36
- reflect: boolean;
37
- };
38
- };
12
+ static get styles(): (import("lit").CSSResult & (import("lit").CSSResultOrNative | import("lit").CSSResultArray))[];
13
+ /** @type {any} */
14
+ static get properties(): any;
39
15
  get slots(): {
40
16
  after: () => HTMLSpanElement;
41
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"LionSelectInvoker.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/src/LionSelectInvoker.js"],"names":[],"mappings":";AAIA;;;;;GAKG;AAEH;;GAEG;AACH;IACE,+CAgBC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;MAQC;IAED;;MAWC;IAED;;OAEG;IACH,8CAEC;IAKC;;;OAGG;IACH,kBAAqB;IACrB;;;OAGG;IACH,iBAFU,UAAU,GAAG,IAAI,CAEA;IAE3B;;;;OAIG;IACH,aAFU,cAAc,GAAG,IAAI,CAER;IACvB;;;OAGG;IACH,sBAAyB;IAI3B,eAAe;IAEf,wBAOC;IAED,0BAGC;IAOD;;;OAGG;IACH,8BAFa,cAAc,GAAC,IAAI,EAAE,GAAC,MAAM,GAAC,IAAI,CAW7C;IAMD;;;;OAIG;IAEH,kCAHa,cAAc,CAK1B;IAED,iBAAiB;IACjB,kEAEC;IAED,iBAAiB;IAEjB,iEAEC;CACF;wBAlJY,OAAO,KAAK,EAAE,SAAS;6BACvB,OAAO,KAAK,EAAE,cAAc;yBAC5B,OAAO,iCAAiC,EAAE,UAAU;6BACpD,OAAO,yCAAyC,EAAE,cAAc"}
1
+ {"version":3,"file":"LionSelectInvoker.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/src/LionSelectInvoker.js"],"names":[],"mappings":";AAIA;;;;;GAKG;AAEH;;GAEG;AACH;IACE,oHAeC;IAED,kBAAkB;IAClB,6BAOC;IAED;;MAWC;IAED;;OAEG;IACH,8CAEC;IAKC;;;OAGG;IACH,kBAAqB;IACrB;;;OAGG;IACH,iBAFU,UAAU,GAAG,IAAI,CAEA;IAE3B;;;;OAIG;IACH,aAFU,cAAc,GAAG,IAAI,CAER;IACvB;;;OAGG;IACH,sBAAyB;IAI3B,eAAe;IAEf,wBAOC;IAED,0BAGC;IAOD;;;OAGG;IACH,8BAFa,cAAc,GAAC,IAAI,EAAE,GAAC,MAAM,GAAC,IAAI,CAW7C;IAMD;;;;OAIG;IAEH,kCAHa,cAAc,CAK1B;IAED,iBAAiB;IACjB,kEAEC;IAED,iBAAiB;IAEjB,iEAEC;CACF;wBAjJY,OAAO,KAAK,EAAE,SAAS;6BACvB,OAAO,KAAK,EAAE,cAAc;yBAC5B,OAAO,iCAAiC,EAAE,UAAU;6BACpD,OAAO,yCAAyC,EAAE,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"LionSelectRich.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/src/LionSelectRich.js"],"names":[],"mappings":";AAsBA;;GAEG;AACH;IACE;;MAKC;IAED,kBAAkB;IAClB,6BAgBC;IAED;;;OAGG;IAEH,2EAUC;IAED;;MASC;IAED;;;OAGG;IACH,gDAIC;IAiBC;;;;OAIG;IACH,+BAAkC;IAClC;;;;OAIG;IACH,iBAFU,eAAe,GAAC,KAAK,GAAC,MAAM,CAET;IAG7B,iBAAiB;IACjB,8BAAqB;IAiVvB;;;OAGG;IAEH,wBAJW,aAAa,QAyCvB;IA3LD,eAAe;IACf,wBAEC;IA0DD,eAAe;IACf,wBAEC;IAXD,eAAe;IACf,wBAKC;IAlED,eAAe;IACf,yBAIC;IAgDD,eAAe;IACf,4BAIC;IA4KD,iBAAiB;IACjB,kCAEC;IAhZD,0BAUC;IAQD;;;;;OAKG;IACH,oDAJW,OAAO,sEAEL,IAAI,CAgBhB;IAED;;OAEG;IACH,2BAFW,OAAO,KAAK,EAAE,cAAc,QAqCtC;IAED;;;;OAIG;IACH,sBAHW,UAAU,GAAG,eAAe,iCAoBtC;IALG,qDAA2C;IAiB/C;;;;;OAKG;IACH,iGAEC;IAED,iBAAiB;IACjB,yCAGC;IAED,eAAe;IACf,gCAEC;IAED,eAAe;IACf,gCAKC;IAED,eAAe;IACf,6BAaC;IAED,eAAe;IACf,2BAKC;IAcD,eAAe;IACf,wCAIC;IAED,eAAe;IACf,8BAGC;IAaD;;;;;;OAMG;IACH,kDAQC;IA4BC,4EAA8E;IAoBhF;;;;OAIG;IACH,8CAsBC;IAED;;;OAGG;IACH,gCAEC;IAED;;;OAGG;IACH,uDAEC;IAED;;;OAGG;IACH,4FAEC;IAmGD;;;;OAIG;IACH,wCASC;IARC,qCAA2B;CAS9B;0BAjjBY,OAAO,kCAAkC,EAAE,WAAW;yBACtD,OAAO,iCAAiC,EAAE,UAAU;kCACpD,OAAO,iEAAiE,EAAE,mBAAmB;8BAC7F,OAAO,gDAAgD,EAAE,eAAe;uBACxE,OAAO,oCAAoC,EAAE,QAAQ"}
1
+ {"version":3,"file":"LionSelectRich.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/src/LionSelectRich.js"],"names":[],"mappings":";AAsBA;;GAEG;AACH;IACE;;MAKC;IAED,kBAAkB;IAClB,6BAgBC;IAED;;;OAGG;IAEH,2EAUC;IAED;;MASC;IAED;;;OAGG;IACH,gDAIC;IAiBC;;;;OAIG;IACH,+BAAkC;IAClC;;;;OAIG;IACH,iBAFU,eAAe,GAAC,KAAK,GAAC,MAAM,CAET;IAG7B,iBAAiB;IACjB,8BAAqB;IAmVvB;;;OAGG;IAEH,wBAJW,aAAa,QAyCvB;IA7LD,eAAe;IACf,wBAEC;IA0DD,eAAe;IACf,wBAEC;IAXD,eAAe;IACf,wBAKC;IAlED,eAAe;IACf,yBAIC;IAgDD,eAAe;IACf,4BAIC;IA8KD,iBAAiB;IACjB,kCAEC;IAlZD,0BAUC;IAQD;;;;;OAKG;IACH,oDAJW,OAAO,sEAEL,IAAI,CAgBhB;IAED;;OAEG;IACH,2BAFW,OAAO,KAAK,EAAE,cAAc,QAqCtC;IAED;;;;OAIG;IACH,sBAHW,UAAU,GAAG,eAAe,iCAoBtC;IALG,qDAA2C;IAiB/C;;;;;OAKG;IACH,iGAEC;IAED,iBAAiB;IACjB,yCAGC;IAED,eAAe;IACf,gCAEC;IAED,eAAe;IACf,gCAKC;IAED,eAAe;IACf,6BAaC;IAED,eAAe;IACf,2BAKC;IAcD,eAAe;IACf,wCAIC;IAED,eAAe;IACf,8BAGC;IAaD;;;;;;OAMG;IACH,kDAQC;IA4BC,4EAA8E;IAoBhF;;;;OAIG;IACH,8CAwBC;IAED;;;OAGG;IACH,gCAEC;IAED;;;OAGG;IACH,uDAEC;IAED;;;OAGG;IACH,4FAEC;IAmGD;;;;OAIG;IACH,wCASC;IARC,qCAA2B;CAS9B;0BAnjBY,OAAO,kCAAkC,EAAE,WAAW;yBACtD,OAAO,iCAAiC,EAAE,UAAU;kCACpD,OAAO,iEAAiE,EAAE,mBAAmB;8BAC7F,OAAO,gDAAgD,EAAE,eAAe;uBACxE,OAAO,oCAAoC,EAAE,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"lion-select-rich.test.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/test/lion-select-rich.test.js"],"names":[],"mappings":"0BAsBa,OAAO,kCAAkC,EAAE,WAAW;0BACtD,OAAO,0CAA0C,EAAE,WAAW;8BAC9D,OAAO,gDAAgD,EAAE,eAAe;6BAiBxE,OAAO,KAAK,EAAE,cAAc"}
1
+ {"version":3,"file":"lion-select-rich.test.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/test/lion-select-rich.test.js"],"names":[],"mappings":"0BAqBa,OAAO,kCAAkC,EAAE,WAAW;0BACtD,OAAO,0CAA0C,EAAE,WAAW;8BAC9D,OAAO,gDAAgD,EAAE,eAAe;6BAiBxE,OAAO,KAAK,EAAE,cAAc"}
@@ -1,3 +1,2 @@
1
1
  export { LionInputDatepicker } from "../components/input-datepicker/src/LionInputDatepicker.js";
2
- export { LionCalendarOverlayFrame } from "../components/input-datepicker/src/LionCalendarOverlayFrame.js";
3
2
  //# sourceMappingURL=input-datepicker.d.ts.map
@@ -1,5 +1,4 @@
1
1
  export { OverlaysManager } from "../components/overlays/src/OverlaysManager.js";
2
- export { globalOverlaysStyle } from "../components/overlays/src/globalOverlaysStyle.js";
3
2
  export { OverlayController } from "../components/overlays/src/OverlayController.js";
4
3
  export { OverlayMixin } from "../components/overlays/src/OverlayMixin.js";
5
4
  export { ArrowMixin } from "../components/overlays/src/ArrowMixin.js";
@@ -1,4 +1,5 @@
1
1
  export { OverlayConfig } from '../../components/overlays/types/OverlayConfig.js';
2
+ export { ViewportConfig } from '../../components/overlays/types/OverlayConfig.js';
2
3
  export { DefineOverlayConfig } from '../../components/overlays/types/OverlayMixinTypes.js';
3
4
  export { OverlayHost } from '../../components/overlays/types/OverlayMixinTypes.js';
4
5
  export { ArrowHost } from '../../components/overlays/types/ArrowMixinTypes.js';
@@ -1 +1 @@
1
- {"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../../exports/types/overlays.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,oDAAoD,CAAC"}
1
+ {"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../../exports/types/overlays.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,oDAAoD,CAAC"}