@lion/ui 0.24.0 → 0.25.0

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 (78) hide show
  1. package/README.md +1 -1
  2. package/components/input-tel/test/parsers.test.js +87 -0
  3. package/components/input-tel/test-helpers/mockPhoneUtilManager.js +14 -3
  4. package/components/listbox/src/LionListbox.js +1 -1
  5. package/components/overlays/src/OverlayController.js +7 -2
  6. package/components/overlays/src/OverlayMixin.js +3 -6
  7. package/components/overlays/test/OverlayController.test.js +31 -0
  8. package/components/overlays/test/invoker-compatibility.test.js +37 -0
  9. package/components/select-rich/src/LionSelectRich.js +2 -1
  10. package/custom-elements.json +38 -29
  11. package/dist-types/components/input-tel/test-helpers/mockPhoneUtilManager.d.ts +5 -0
  12. package/dist-types/components/input-tel/test-helpers/mockPhoneUtilManager.d.ts.map +1 -1
  13. package/dist-types/components/listbox/src/LionListbox.d.ts +2 -2
  14. package/dist-types/components/listbox/src/LionListbox.d.ts.map +1 -1
  15. package/dist-types/components/overlays/src/OverlayController.d.ts +3 -1
  16. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  17. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  18. package/dist-types/components/overlays/test/invoker-compatibility.test.d.ts +3 -0
  19. package/dist-types/components/overlays/test/invoker-compatibility.test.d.ts.map +1 -0
  20. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +5 -4
  21. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  22. package/dist-types/tsconfig.tsbuildinfo +1 -1
  23. package/docs/components/checkbox-group/overview.md +2 -2
  24. package/docs/components/collapsible/overview.md +1 -1
  25. package/docs/components/combobox/api-table.md +1 -1
  26. package/docs/components/combobox/overview.md +1 -1
  27. package/docs/components/combobox/use-cases.md +1 -1
  28. package/docs/components/dialog/overview.md +1 -1
  29. package/docs/components/fieldset/overview.md +5 -5
  30. package/docs/components/form/overview.md +3 -3
  31. package/docs/components/form/use-cases.md +2 -2
  32. package/docs/components/icon/use-cases.md +1 -1
  33. package/docs/components/input/overview.md +1 -1
  34. package/docs/components/input-amount/overview.md +3 -3
  35. package/docs/components/input-date/overview.md +3 -3
  36. package/docs/components/input-datepicker/overview.md +5 -5
  37. package/docs/components/input-email/overview.md +2 -2
  38. package/docs/components/input-file/overview.md +1 -1
  39. package/docs/components/input-iban/overview.md +2 -2
  40. package/docs/components/input-range/overview.md +2 -2
  41. package/docs/components/input-stepper/overview.md +1 -1
  42. package/docs/components/input-tel/overview.md +1 -1
  43. package/docs/components/input-tel/use-cases.md +6 -6
  44. package/docs/components/input-tel-dropdown/overview.md +1 -1
  45. package/docs/components/listbox/api-table.md +4 -4
  46. package/docs/components/listbox/use-cases.md +1 -1
  47. package/docs/components/radio-group/overview.md +3 -3
  48. package/docs/components/select/use-cases.md +1 -1
  49. package/docs/components/select-rich/api-table.md +1 -1
  50. package/docs/components/select-rich/use-cases.md +2 -2
  51. package/docs/components/tabs/examples.md +1 -1
  52. package/docs/fundamentals/index.md +4 -4
  53. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  54. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  55. package/docs/fundamentals/rationales/accessibility.md +1 -1
  56. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  57. package/docs/fundamentals/systems/core/overview.md +1 -1
  58. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  59. package/docs/fundamentals/systems/form/model-value.md +1 -1
  60. package/docs/fundamentals/systems/form/overview.md +28 -28
  61. package/docs/fundamentals/systems/form/validate.md +2 -2
  62. package/docs/fundamentals/systems/localize/overview.md +4 -4
  63. package/docs/fundamentals/systems/overlays/api-table.md +1 -1
  64. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  65. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  66. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  67. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  68. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  69. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  70. package/docs/guides/how-to/create-a-form.md +4 -4
  71. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  72. package/docs/guides/how-to/index.md +1 -1
  73. package/docs/guides/index.md +8 -8
  74. package/docs/guides/principles/index.md +5 -5
  75. package/docs/guides/principles/styling.md +1 -1
  76. package/package.json +8 -7
  77. package/vscode.html-custom-data.json +5 -5
  78. package/web-types.json +1 -1
package/README.md CHANGED
@@ -134,7 +134,7 @@ Its package-private `#awesome-phonenumber` import maps types, ESM and CommonJS
134
134
  to the shipped assets, requiring no consumer browser import map.
135
135
  The legacy docs dependency keeps its separate registry version.
136
136
  MIT and Google's Apache-2.0 notices accompany both sources and generated assets.
137
- See [source provenance and build requirements](https://github.com/ing-bank/lion/blob/bc7530702f41df90a4ca3059cfb9edb08e27f742/packages-node/awesome-phonenumber/README.md).
137
+ See [source provenance and build requirements](https://github.com/ing-bank/lion/blob/9575386e5fb419f7dbd3b893be4c4ce7925bcb2e/packages-node/awesome-phonenumber/README.md).
138
138
 
139
139
  Run `npm run test:node --workspace @lion/ui` to pack Lion, install it into a fresh
140
140
  consumer outside the checkout with no overrides, and verify ESM, CommonJS,
@@ -1,6 +1,11 @@
1
1
  import { expect } from '@open-wc/testing';
2
2
  import { PhoneUtilManager } from '@lion/ui/input-tel.js';
3
3
  import { parsePhoneNumber } from '../src/parsers.js';
4
+ import { formatPhoneNumber } from '../src/formatters.js';
5
+ import {
6
+ mockPhoneUtilManager,
7
+ restorePhoneUtilManager,
8
+ } from '../test-helpers/mockPhoneUtilManager.js';
4
9
  describe('parsePhoneNumber', () => {
5
10
  beforeEach(async () => {
6
11
  // Wait till PhoneUtilManager has been loaded
@@ -50,4 +55,86 @@ describe('parsePhoneNumber', () => {
50
55
  }),
51
56
  ).to.equal('+31707123456');
52
57
  });
58
+ it('keeps parsing enabled after restoring the lazy-loading mock', async () => {
59
+ const value = '+32 6 12345678';
60
+ const parsedBeforeMock = parsePhoneNumber(value, {
61
+ regionCode: 'BE',
62
+ });
63
+ const { resolveLoaded } = mockPhoneUtilManager();
64
+ try {
65
+ expect(PhoneUtilManager.isLoaded).to.be.false;
66
+ expect(
67
+ parsePhoneNumber(value, {
68
+ regionCode: 'BE',
69
+ }),
70
+ ).to.equal(value);
71
+ resolveLoaded(undefined);
72
+ await PhoneUtilManager.loadComplete;
73
+ } finally {
74
+ restorePhoneUtilManager();
75
+ }
76
+ expect(PhoneUtilManager.isLoaded).to.be.true;
77
+ expect(
78
+ parsePhoneNumber(value, {
79
+ regionCode: 'BE',
80
+ }),
81
+ ).to.equal(parsedBeforeMock);
82
+ expect(parsedBeforeMock).to.equal('+32612345678');
83
+ });
84
+ it('restores real loaded parsing and formatting without resolving the mock', () => {
85
+ const viewValue = '+32 6 12345678';
86
+ const modelValue = '+32612345678';
87
+ const realLoadComplete = PhoneUtilManager.loadComplete;
88
+ mockPhoneUtilManager();
89
+ try {
90
+ expect(PhoneUtilManager.isLoaded).to.be.false;
91
+ expect(
92
+ parsePhoneNumber(viewValue, {
93
+ regionCode: 'BE',
94
+ }),
95
+ ).to.equal(viewValue);
96
+ } finally {
97
+ restorePhoneUtilManager();
98
+ }
99
+ expect(PhoneUtilManager.loadComplete).to.equal(realLoadComplete);
100
+ expect(PhoneUtilManager.isLoaded).to.be.true;
101
+ expect(
102
+ parsePhoneNumber(viewValue, {
103
+ regionCode: 'BE',
104
+ }),
105
+ ).to.equal(modelValue);
106
+ expect(
107
+ formatPhoneNumber(modelValue, {
108
+ regionCode: 'BE',
109
+ formatCountryCodeStyle: 'parentheses',
110
+ }),
111
+ ).to.equal('(+32)612345678');
112
+ });
113
+ it('restores a live getter that tracks the real utility before and after loading', () => {
114
+ const utility = Object.getOwnPropertyDescriptor(PhoneUtilManager, 'PhoneUtil');
115
+ if (!utility) {
116
+ throw new Error('The real phone utility must be loaded for this regression');
117
+ }
118
+ const realLoadComplete = PhoneUtilManager.loadComplete;
119
+ try {
120
+ Object.defineProperty(PhoneUtilManager, 'PhoneUtil', {
121
+ ...utility,
122
+ value: undefined,
123
+ });
124
+ mockPhoneUtilManager();
125
+ restorePhoneUtilManager();
126
+ expect(PhoneUtilManager.isLoaded).to.be.false;
127
+ expect(PhoneUtilManager.loadComplete).to.equal(realLoadComplete);
128
+ Object.defineProperty(PhoneUtilManager, 'PhoneUtil', utility);
129
+ expect(PhoneUtilManager.isLoaded).to.be.true;
130
+ expect(
131
+ parsePhoneNumber('+32 6 12345678', {
132
+ regionCode: 'BE',
133
+ }),
134
+ ).to.equal('+32612345678');
135
+ } finally {
136
+ Object.defineProperty(PhoneUtilManager, 'PhoneUtil', utility);
137
+ restorePhoneUtilManager();
138
+ }
139
+ });
53
140
  });
@@ -1,6 +1,12 @@
1
1
  import { PhoneUtilManager } from '../src/PhoneUtilManager.js';
2
2
  const originalLoadComplete = PhoneUtilManager.loadComplete;
3
- const originalIsLoaded = Object.getOwnPropertyDescriptor(PhoneUtilManager, 'isLoaded')?.get;
3
+ const originalIsLoadedGetter = (() => {
4
+ const getter = Object.getOwnPropertyDescriptor(PhoneUtilManager, 'isLoaded')?.get;
5
+ if (typeof getter !== 'function') {
6
+ throw new Error('PhoneUtilManager.isLoaded must be a getter');
7
+ }
8
+ return getter;
9
+ })();
4
10
  export function mockPhoneUtilManager() {
5
11
  /** @type {(value: any) => void} */
6
12
  let resolveLoaded;
@@ -20,10 +26,15 @@ export function mockPhoneUtilManager() {
20
26
  resolveLoaded,
21
27
  };
22
28
  }
29
+
30
+ /**
31
+ * Restore the mocked phone utility state.
32
+ * Restores the real loaded-state getter, not a snapshot taken when this module was imported.
33
+ * @returns {void}
34
+ */
23
35
  export function restorePhoneUtilManager() {
24
36
  PhoneUtilManager.loadComplete = originalLoadComplete;
25
37
  Object.defineProperty(PhoneUtilManager, 'isLoaded', {
26
- // @ts-ignore
27
- get: () => originalIsLoaded.call(PhoneUtilManager),
38
+ get: originalIsLoadedGetter,
28
39
  });
29
40
  }
@@ -24,8 +24,8 @@ export class LionListbox extends ListboxMixin(
24
24
  }
25
25
 
26
26
  /**
27
+ * Public to preserve the Lion 0.21.1 extension contract.
27
28
  * @configure FocusMixin
28
- * @protected
29
29
  * @returns {HTMLElement}
30
30
  */
31
31
  get _focusableNode() {
@@ -299,11 +299,16 @@ export class OverlayController extends EventTarget {
299
299
  }
300
300
 
301
301
  /**
302
- * The contentWrapperNode
302
+ * The outer wrapper while set up, or the original content after teardown.
303
+ * Keep the fallback for existing clients that remove content after teardown;
304
+ * changing or removing it is deferred to a future breaking release.
303
305
  * @type {HTMLDialogElement | HTMLDivElement}
304
306
  */
305
307
  get content() {
306
- return /** @type {HTMLDialogElement | HTMLDivElement} */ this.__wrappingDialogNode;
308
+ return (
309
+ /** @type {HTMLDialogElement | HTMLDivElement} */ this.__wrappingDialogNode ||
310
+ this.contentNode
311
+ );
307
312
  }
308
313
 
309
314
  /**
@@ -248,20 +248,17 @@ export const OverlayMixinImplementation = (superclass) => {
248
248
  /**
249
249
  * Returns the element that can actually receive focus inside the passed
250
250
  * invoker (wrapper) element: the element itself when it is focusable,
251
- * otherwise the first focusable descendant.
251
+ * otherwise the first focusable descendant. Custom invokers without a
252
+ * focusable light DOM descendant remain click targets themselves.
252
253
  * @param {Element|null|undefined} focusableElOrWrapper
253
254
  * @returns {Element|null}
254
255
  */
255
- /**
256
- * @param {Element | null | undefined} focusableElOrWrapper
257
- * @returns {Element | null}
258
- */
259
256
  static _getFocusableInvokerEl(focusableElOrWrapper) {
260
257
  if (!focusableElOrWrapper) return null;
261
258
  const focusableSelector = '[tabindex], button, a[href], [role=button]';
262
259
  return focusableElOrWrapper.matches(focusableSelector)
263
260
  ? focusableElOrWrapper
264
- : focusableElOrWrapper.querySelector(focusableSelector);
261
+ : focusableElOrWrapper.querySelector(focusableSelector) || focusableElOrWrapper;
265
262
  }
266
263
 
267
264
  /**
@@ -321,6 +321,37 @@ describe('OverlayController', () => {
321
321
 
322
322
  // TODO: Add more teardown feature tests
323
323
  describe('Teardown', () => {
324
+ it('allows removing content after teardown without leaving nodes in the DOM', async () => {
325
+ const contentNode = /** @type {HTMLElement} */ fixtureSync('<div>notification</div>');
326
+ const ctrl = new OverlayController({
327
+ placementMode: 'global',
328
+ contentNode,
329
+ });
330
+ const wrapper = ctrl.content;
331
+ await ctrl.show();
332
+ ctrl.teardown();
333
+ ctrl.content.remove();
334
+ expect(contentNode.isConnected).to.be.false;
335
+ expect(wrapper.isConnected).to.be.false;
336
+ expect(isRegisteredOnManager(ctrl)).to.be.false;
337
+ ctrl.teardown();
338
+ });
339
+ it('recreates wrappers after teardown while keeping content available', () => {
340
+ const contentNode = /** @type {HTMLElement} */ fixtureSync('<div>notification</div>');
341
+ const ctrl = new OverlayController({
342
+ placementMode: 'global',
343
+ contentNode,
344
+ });
345
+ const wrapper = ctrl.content;
346
+ ctrl.teardown();
347
+ expect(ctrl.content).to.equal(contentNode);
348
+ ctrl.updateConfig({
349
+ placementMode: 'global',
350
+ contentNode,
351
+ });
352
+ expect(ctrl.content).not.to.equal(wrapper);
353
+ expect(ctrl.content.contains(contentNode)).to.be.true;
354
+ });
324
355
  it('unregisters itself from overlayManager', async () => {
325
356
  const ctrl = new OverlayController(withGlobalTestConfig());
326
357
  expect(isRegisteredOnManager(ctrl)).to.be.true;
@@ -0,0 +1,37 @@
1
+ import { expect, fixture, html, waitUntil } from '@open-wc/testing';
2
+ import '@lion/ui/define/lion-dialog.js';
3
+
4
+ /** @typedef {import('../../dialog/src/LionDialog.js').LionDialog} LionDialog */
5
+
6
+ describe('Overlay invoker compatibility', () => {
7
+ it('opens from an unregistered custom invoker host', async () => {
8
+ const el =
9
+ /** @type {LionDialog} */
10
+ await fixture(html`
11
+ <lion-dialog>
12
+ <custom-invoker slot="invoker">Open</custom-invoker>
13
+ <div slot="content">Content</div>
14
+ </lion-dialog>
15
+ `);
16
+ const invoker = /** @type {HTMLElement} */ el.querySelector('[slot="invoker"]');
17
+ invoker.click();
18
+ await waitUntil(() => el.opened);
19
+ expect(el.opened).to.be.true;
20
+ });
21
+ it('keeps targeting a focusable descendant when the invoker wraps a button', async () => {
22
+ const el =
23
+ /** @type {LionDialog} */
24
+ await fixture(html`
25
+ <lion-dialog>
26
+ <div slot="invoker"><button>Open</button></div>
27
+ <div slot="content">Content</div>
28
+ </lion-dialog>
29
+ `);
30
+ const button = /** @type {HTMLButtonElement} */ el.querySelector('button');
31
+ button.click();
32
+ await waitUntil(() => el.opened);
33
+ expect(el.opened).to.be.true;
34
+ // @ts-expect-error Accessing the protected controller to verify invoker resolution.
35
+ expect(el._overlayCtrl.invokerNode).to.equal(button);
36
+ });
37
+ });
@@ -89,7 +89,8 @@ export class LionSelectRich extends SlotMixin(ScopedElementsMixin(OverlayMixin(L
89
89
  }
90
90
 
91
91
  /**
92
- * @protected
92
+ * Must remain public: narrowing the public Listbox member causes TS2415.
93
+ * Unlike Listbox, this override was protected in Lion 0.21.1.
93
94
  * @configure FocusMixin
94
95
  */
95
96
  get _focusableNode() {
@@ -6409,7 +6409,7 @@
6409
6409
  {
6410
6410
  "kind": "field",
6411
6411
  "name": "_focusableNode",
6412
- "privacy": "protected",
6412
+ "description": "Public to preserve the Lion 0.21.1 extension contract.",
6413
6413
  "return": {
6414
6414
  "type": {
6415
6415
  "text": "HTMLElement"
@@ -6419,7 +6419,8 @@
6419
6419
  "inheritedFrom": {
6420
6420
  "name": "LionListbox",
6421
6421
  "module": "components/listbox/src/LionListbox.js"
6422
- }
6422
+ },
6423
+ "privacy": "protected"
6423
6424
  },
6424
6425
  {
6425
6426
  "kind": "method",
@@ -6429,14 +6430,14 @@
6429
6430
  {
6430
6431
  "name": "focusableElOrWrapper",
6431
6432
  "type": {
6432
- "text": "Element | null | undefined"
6433
+ "text": "Element|null|undefined"
6433
6434
  }
6434
6435
  }
6435
6436
  ],
6436
- "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant.",
6437
+ "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant. Custom invokers without a\nfocusable light DOM descendant remain click targets themselves.",
6437
6438
  "return": {
6438
6439
  "type": {
6439
- "text": "Element | null"
6440
+ "text": "Element|null"
6440
6441
  }
6441
6442
  },
6442
6443
  "inheritedFrom": {
@@ -8027,14 +8028,14 @@
8027
8028
  {
8028
8029
  "name": "focusableElOrWrapper",
8029
8030
  "type": {
8030
- "text": "Element | null | undefined"
8031
+ "text": "Element|null|undefined"
8031
8032
  }
8032
8033
  }
8033
8034
  ],
8034
- "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant.",
8035
+ "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant. Custom invokers without a\nfocusable light DOM descendant remain click targets themselves.",
8035
8036
  "return": {
8036
8037
  "type": {
8037
- "text": "Element | null"
8038
+ "text": "Element|null"
8038
8039
  }
8039
8040
  },
8040
8041
  "inheritedFrom": {
@@ -21329,14 +21330,14 @@
21329
21330
  {
21330
21331
  "name": "focusableElOrWrapper",
21331
21332
  "type": {
21332
- "text": "Element | null | undefined"
21333
+ "text": "Element|null|undefined"
21333
21334
  }
21334
21335
  }
21335
21336
  ],
21336
- "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant.",
21337
+ "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant. Custom invokers without a\nfocusable light DOM descendant remain click targets themselves.",
21337
21338
  "return": {
21338
21339
  "type": {
21339
- "text": "Element | null"
21340
+ "text": "Element|null"
21340
21341
  }
21341
21342
  },
21342
21343
  "inheritedFrom": {
@@ -27305,7 +27306,13 @@
27305
27306
  },
27306
27307
  {
27307
27308
  "kind": "function",
27308
- "name": "restorePhoneUtilManager"
27309
+ "name": "restorePhoneUtilManager",
27310
+ "description": "Restore the mocked phone utility state.\nRestores the real loaded-state getter, not a snapshot taken when this module was imported.",
27311
+ "return": {
27312
+ "type": {
27313
+ "text": "void"
27314
+ }
27315
+ }
27309
27316
  }
27310
27317
  ],
27311
27318
  "exports": [
@@ -28661,13 +28668,14 @@
28661
28668
  {
28662
28669
  "kind": "field",
28663
28670
  "name": "_focusableNode",
28664
- "privacy": "protected",
28671
+ "description": "Public to preserve the Lion 0.21.1 extension contract.",
28665
28672
  "return": {
28666
28673
  "type": {
28667
28674
  "text": "HTMLElement"
28668
28675
  }
28669
28676
  },
28670
- "readonly": true
28677
+ "readonly": true,
28678
+ "privacy": "protected"
28671
28679
  }
28672
28680
  ],
28673
28681
  "mixins": [
@@ -31438,7 +31446,7 @@
31438
31446
  {
31439
31447
  "kind": "field",
31440
31448
  "name": "content",
31441
- "description": "The contentWrapperNode",
31449
+ "description": "The outer wrapper while set up, or the original content after teardown.\nKeep the fallback for existing clients that remove content after teardown;\nchanging or removing it is deferred to a future breaking release.",
31442
31450
  "type": {
31443
31451
  "text": "HTMLDialogElement | HTMLDivElement"
31444
31452
  },
@@ -32508,14 +32516,14 @@
32508
32516
  {
32509
32517
  "name": "focusableElOrWrapper",
32510
32518
  "type": {
32511
- "text": "Element | null | undefined"
32519
+ "text": "Element|null|undefined"
32512
32520
  }
32513
32521
  }
32514
32522
  ],
32515
- "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant.",
32523
+ "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant. Custom invokers without a\nfocusable light DOM descendant remain click targets themselves.",
32516
32524
  "return": {
32517
32525
  "type": {
32518
- "text": "Element | null"
32526
+ "text": "Element|null"
32519
32527
  }
32520
32528
  }
32521
32529
  },
@@ -32769,14 +32777,14 @@
32769
32777
  {
32770
32778
  "name": "focusableElOrWrapper",
32771
32779
  "type": {
32772
- "text": "Element | null | undefined"
32780
+ "text": "Element|null|undefined"
32773
32781
  }
32774
32782
  }
32775
32783
  ],
32776
- "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant.",
32784
+ "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant. Custom invokers without a\nfocusable light DOM descendant remain click targets themselves.",
32777
32785
  "return": {
32778
32786
  "type": {
32779
- "text": "Element | null"
32787
+ "text": "Element|null"
32780
32788
  }
32781
32789
  },
32782
32790
  "privacy": "protected"
@@ -34384,7 +34392,7 @@
34384
34392
  {
34385
34393
  "kind": "field",
34386
34394
  "name": "_focusableNode",
34387
- "privacy": "protected",
34395
+ "description": "Must remain public: narrowing the public Listbox member causes TS2415.\nUnlike Listbox, this override was protected in Lion 0.21.1.",
34388
34396
  "return": {
34389
34397
  "type": {
34390
34398
  "text": "HTMLElement"
@@ -34394,7 +34402,8 @@
34394
34402
  "inheritedFrom": {
34395
34403
  "name": "LionListbox",
34396
34404
  "module": "components/listbox/src/LionListbox.js"
34397
- }
34405
+ },
34406
+ "privacy": "protected"
34398
34407
  },
34399
34408
  {
34400
34409
  "kind": "method",
@@ -34410,14 +34419,14 @@
34410
34419
  {
34411
34420
  "name": "focusableElOrWrapper",
34412
34421
  "type": {
34413
- "text": "Element | null | undefined"
34422
+ "text": "Element|null|undefined"
34414
34423
  }
34415
34424
  }
34416
34425
  ],
34417
- "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant.",
34426
+ "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant. Custom invokers without a\nfocusable light DOM descendant remain click targets themselves.",
34418
34427
  "return": {
34419
34428
  "type": {
34420
- "text": "Element | null"
34429
+ "text": "Element|null"
34421
34430
  }
34422
34431
  },
34423
34432
  "inheritedFrom": {
@@ -36724,14 +36733,14 @@
36724
36733
  {
36725
36734
  "name": "focusableElOrWrapper",
36726
36735
  "type": {
36727
- "text": "Element | null | undefined"
36736
+ "text": "Element|null|undefined"
36728
36737
  }
36729
36738
  }
36730
36739
  ],
36731
- "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant.",
36740
+ "description": "Returns the element that can actually receive focus inside the passed\ninvoker (wrapper) element: the element itself when it is focusable,\notherwise the first focusable descendant. Custom invokers without a\nfocusable light DOM descendant remain click targets themselves.",
36732
36741
  "return": {
36733
36742
  "type": {
36734
- "text": "Element | null"
36743
+ "text": "Element|null"
36735
36744
  }
36736
36745
  },
36737
36746
  "inheritedFrom": {
@@ -1,5 +1,10 @@
1
1
  export declare function mockPhoneUtilManager(): {
2
2
  resolveLoaded: (value: any) => void;
3
3
  };
4
+ /**
5
+ * Restore the mocked phone utility state.
6
+ * Restores the real loaded-state getter, not a snapshot taken when this module was imported.
7
+ * @returns {void}
8
+ */
4
9
  export declare function restorePhoneUtilManager(): void;
5
10
  //# sourceMappingURL=mockPhoneUtilManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mockPhoneUtilManager.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/test-helpers/mockPhoneUtilManager.js"],"names":[],"mappings":"AAKA,wBAAgB,oBAAoB;2BACf,GAAG,KAAK,IAAI;EAahC;AAED,wBAAgB,uBAAuB,SAMtC"}
1
+ {"version":3,"file":"mockPhoneUtilManager.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/test-helpers/mockPhoneUtilManager.js"],"names":[],"mappings":"AAWA,wBAAgB,oBAAoB;2BACf,GAAG,KAAK,IAAI;EAahC;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,IAF1B,IAAI,CAKhB"}
@@ -14,11 +14,11 @@ export declare class LionListbox extends LionListbox_base {
14
14
  focused: boolean;
15
15
  };
16
16
  /**
17
+ * Public to preserve the Lion 0.21.1 extension contract.
17
18
  * @configure FocusMixin
18
- * @protected
19
19
  * @returns {HTMLElement}
20
20
  */
21
- protected get _focusableNode(): HTMLElement;
21
+ get _focusableNode(): HTMLElement;
22
22
  }
23
23
  export {};
24
24
  //# sourceMappingURL=LionListbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LionListbox.d.ts","sourceRoot":"","sources":["../../../../components/listbox/src/LionListbox.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;AAMjC;;;;;GAKG;AACH,qBAAa,WAAY,SAAQ,gBAEhC;IACC;;OAEG;IACH,IAAI,sBAAsB;;MAEzB;IAED;;;;OAIG;IACH,cAAI,cAAc,IAFL,WAAW,CAIvB;CACF"}
1
+ {"version":3,"file":"LionListbox.d.ts","sourceRoot":"","sources":["../../../../components/listbox/src/LionListbox.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;AAMjC;;;;;GAKG;AACH,qBAAa,WAAY,SAAQ,gBAEhC;IACC;;OAEG;IACH,IAAI,sBAAsB;;MAEzB;IAED;;;;OAIG;IACH,IAAI,cAAc,IAFL,WAAW,CAIvB;CACF"}
@@ -85,7 +85,9 @@ export declare class OverlayController extends EventTarget {
85
85
  */
86
86
  get invoker(): HTMLElement | undefined;
87
87
  /**
88
- * The contentWrapperNode
88
+ * The outer wrapper while set up, or the original content after teardown.
89
+ * Keep the fallback for existing clients that remove content after teardown;
90
+ * changing or removing it is deferred to a future breaking release.
89
91
  * @type {HTMLDialogElement | HTMLDivElement}
90
92
  */
91
93
  get content(): HTMLDialogElement | HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayController.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayController.js"],"names":[],"mappings":"AAQG,YAA6D,YAAY,GAA/D,OAAO,4BAA4B,EAAE,YAAY,CAAc;AACzE,YAA+D,cAAc,GAAnE,OAAO,4BAA4B,E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AC;QAAC,KAAK,EAAE,YAAY,CAAA;KAG5B,QA4BxB;IA4DD;;;OAGG;IACH,UAAA,yBAAyB,CAAC,EAAE,KAAK,EAAE,EAHxB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGG,QAgClC;IAED;;;;;OAKG;YAEH,eAAe;IAIf;;;OAGG;IACH,eAAe,CAAC,KAAK,EAHV,aAGU,GAFR,IAAI,CAmBhB;IAsBD;;;OAGG;IACH,UAAA,iBAAiB,CAAC,EAAE,KAAK,EAAE,EAHhB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGL,QAqB1B;IAED;;;OAGG;IACH,UAAA,wBAAwB,CAAC,EAAE,KAAK,EAAE,EAHvB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGE,QAOjC;IAED,iBAAiB;IACjB,UAAA,6BAA6B,SAkB5B;IAED;;;OAGG;IACH,UAAA,0BAA0B,CAAC,EAAE,KAAK,EAAE,EAHzB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGI,QAuGnC;IAED;;;OAGG;IACH,UAAA,oBAAoB,CAAC,EAAE,KAAK,EAAE,EAHnB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGF,QAQ7B;IAED,QAAQ,SA+BP;IAED,eAAe;YACT,sBAAsB;IAkB5B,mBAAmB,YAQlB;CACF"}
1
+ {"version":3,"file":"OverlayController.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayController.js"],"names":[],"mappings":"AAQG,YAA6D,YAAY,GAA/D,OAAO,4BAA4B,EAAE,YAAY,CAAc;AACzE,YAA+D,cAAc,GAAnE,OAAO,4BAA4B,EAAE,cAAc,CAAgB;AAC7E,YAA8D,aAAa,GAAjE,OAAO,4BAA4B,EAAE,aAAa,CAAe;AAC3E,YAA4C,aAAa,GAA/C,OAAO,gBAAgB,EAAE,OAAO,CAAe;AACzD,YAA8C,SAAS,GAA7C,OAAO,gBAAgB,EAAE,SAAS,CAAW;AACvD,YAAwD,MAAM,GAApD,cAAc,gBAAgB,EA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GAFR,IAAI,CAmBhB;IAsBD;;;OAGG;IACH,UAAA,iBAAiB,CAAC,EAAE,KAAK,EAAE,EAHhB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGL,QAqB1B;IAED;;;OAGG;IACH,UAAA,wBAAwB,CAAC,EAAE,KAAK,EAAE,EAHvB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGE,QAOjC;IAED,iBAAiB;IACjB,UAAA,6BAA6B,SAkB5B;IAED;;;OAGG;IACH,UAAA,0BAA0B,CAAC,EAAE,KAAK,EAAE,EAHzB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGI,QAuGnC;IAED;;;OAGG;IACH,UAAA,oBAAoB,CAAC,EAAE,KAAK,EAAE,EAHnB;QAAE,KAAK,EAAE,YAAY,CAAA;KAGF,QAQ7B;IAED,QAAQ,SA+BP;IAED,eAAe;YACT,sBAAsB;IAkB5B,mBAAmB,YAQlB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayMixin.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayMixin.js"],"names":[],"mappings":"AAIG,YAAyC,aAAa,GAA5C,CAAC,CAAC,EAAE,cAAc,EAAC,CAAC,KAAK,IAAI,CAAe;AAMzD,2CAA2C;AAC3C,wBAAgB,6BAA6B,CAAC,aAAa,EAD/C,aAC+C,QAE1D;AAGE,YAA6D,aAAa,GAAhE,OAAO,2BAA2B,EAAE,aAAa,CAAe;AAC1E,YAAuE,mBAAmB,GAAhF,OAAO,+BAA+B,EAAE,mBAAmB,CAAqB;AAC1F,YAAgE,YAAY,GAAlE,OAAO,+BAA+B,EAAE,YAAY,CAAc;AAH/E;;;;GAIG;AAEH;;;;;;;GAOG;AAEH,eAAO,MAAM,0BAA0B,EAJ7B,YA2dT,CAAC;AACF,eAAO,MAAM,YAAY,sEAA0C,CAAC"}
1
+ {"version":3,"file":"OverlayMixin.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/OverlayMixin.js"],"names":[],"mappings":"AAIG,YAAyC,aAAa,GAA5C,CAAC,CAAC,EAAE,cAAc,EAAC,CAAC,KAAK,IAAI,CAAe;AAMzD,2CAA2C;AAC3C,wBAAgB,6BAA6B,CAAC,aAAa,EAD/C,aAC+C,QAE1D;AAGE,YAA6D,aAAa,GAAhE,OAAO,2BAA2B,EAAE,aAAa,CAAe;AAC1E,YAAuE,mBAAmB,GAAhF,OAAO,+BAA+B,EAAE,mBAAmB,CAAqB;AAC1F,YAAgE,YAAY,GAAlE,OAAO,+BAA+B,EAAE,YAAY,CAAc;AAH/E;;;;GAIG;AAEH;;;;;;;GAOG;AAEH,eAAO,MAAM,0BAA0B,EAJ7B,YAwdT,CAAC;AACF,eAAO,MAAM,YAAY,sEAA0C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import '@lion/ui/define/lion-dialog.js';
2
+ export type LionDialog = import('../../dialog/src/LionDialog.js').LionDialog;
3
+ //# sourceMappingURL=invoker-compatibility.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoker-compatibility.test.d.ts","sourceRoot":"","sources":["../../../../components/overlays/test/invoker-compatibility.test.js"],"names":[],"mappings":"AACA,OAAO,gCAAgC,CAAC;AAEpC,YAA+D,UAAU,GAA/D,OAAO,gCAAgC,EAAE,UAAU,CAAY"}
@@ -39,18 +39,19 @@ export declare class LionSelectRich extends LionSelectRich_base {
39
39
  * @protected
40
40
  */
41
41
  protected _inputGroupInputTemplate(): import("lit-html").TemplateResult<1>;
42
- /** @type {SlotsMap} */
43
- get slots(): SlotsMap;
42
+
43
+
44
44
  /**
45
45
  * @protected
46
46
  * @type {LionSelectInvoker}
47
47
  */
48
48
  protected get _invokerNode(): LionSelectInvoker;
49
49
  /**
50
- * @protected
50
+ * Must remain public: narrowing the public Listbox member causes TS2415.
51
+ * Unlike Listbox, this override was protected in Lion 0.21.1.
51
52
  * @configure FocusMixin
52
53
  */
53
- protected get _focusableNode(): LionSelectInvoker;
54
+ get _focusableNode(): LionSelectInvoker;
54
55
  /**
55
56
  * @configure ListboxMixin
56
57
  * @protected
@@ -1 +1 @@
1
- {"version":3,"file":"LionSelectRich.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/src/LionSelectRich.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAKlD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAGxD,YAAkE,WAAW,GAAnE,OAAO,kCAAkC,EAAE,WAAW,CAAa;AAC7E,YAAgE,UAAU,GAAhE,OAAO,iCAAiC,EAAE,UAAU,CAAY;AAC1E,YAAyG,mBAAmB,GAAlH,OAAO,iEAAiE,EAAE,mBAAmB,CAAqB;AAC5H,YAAoF,eAAe,GAAzF,OAAO,gDAAgD,EAAE,eAAe,CAAiB;AACnG,YAAiE,QAAQ,GAA/D,OAAO,oCAAoC,EAAE,QAAQ,CAAU;;AAU5E;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,mBAAyD;IAqGzF;;;;OAIG;IACE,qBAAqB;IAC1B;;;;OAIG;IACE,eAAe,EAFV,eAAe,GAAC,KAAK,GAAC,MAAM;IAIjC,YAAY;IAkIV,+BAA+B;IA6JjC,8BAA8B;IAgG9B,oBAAoB;IAmHpB,eAAe;IAnmBtB,MAAM,KAAK,cAAc;;MAMxB;IAED,kBAAkB;IAClB,MAAM,KAAK,UAAU,IADV,GAAG,CAiBb;IAED;;;OAGG;IAEH,UAAA,wBAAwB,yCAUvB;IAED,uBAAuB;IACvB,IAAI,KAAK,IADE,QAAQ,CAMlB;IAED;;;OAGG;IACH,cAAI,YAAY,IAFN,iBAAiB,CAM1B;IAED;;;OAGG;IACH,cAAI,cAAc,sBAEjB;IAED;;;OAGG;IACH,cAAI,iBAAiB,IAED,WAAW,CAI9B;IAED;;;;;OAKG;IACH,UAAA,eAAe,CAAC,EAAE,EAJP,WAIO,EAAE,cAAc,AAH/B,CACA,EADQ,WAGuB,QAIjC;IAED,iBAAiB;IACjB,UAAA,WAAW,S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IC,QA6DX;IAED;;;;;;;OAOG;IACH,UAAA,iBAAiB,CAAC,EAAE,EAHT,aAGS,QA2BnB;IAED,iBAAiB;IACjB,UAAA,eAAe,SAEd;IAED,iBAAiB;IACjB,UAAA,iBAAiB,SAGhB;IAED,iBAAiB;IACjB,UAAA,oBAAoB,SAKnB;IAED;;;;OAIG;YACH,+BAA+B;CAUhC"}
1
+ {"version":3,"file":"LionSelectRich.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/src/LionSelectRich.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAKlD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAGxD,YAAkE,WAAW,GAAnE,OAAO,kCAAkC,EAAE,WAAW,CAAa;AAC7E,YAAgE,UAAU,GAAhE,OAAO,iCAAiC,EAAE,UAAU,CAAY;AAC1E,YAAyG,mBAAmB,GAAlH,OAAO,iEAAiE,EAAE,mBAAmB,CAAqB;AAC5H,YAAoF,eAAe,GAAzF,OAAO,gDAAgD,EAAE,eAAe,CAAiB;AACnG,YAAiE,QAAQ,GAA/D,OAAO,oCAAoC,EAAE,QAAQ,CAAU;;AAU5E;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,mBAAyD;IAsGzF;;;;OAIG;IACE,qBAAqB;IAC1B;;;;OAIG;IACE,eAAe,EAFV,eAAe,GAAC,KAAK,GAAC,MAAM;IAIjC,YAAY;IAkIV,+BAA+B;IA6JjC,8BAA8B;IAgG9B,oBAAoB;IAmHpB,eAAe;IApmBtB,MAAM,KAAK,cAAc;;MAMxB;IAED,kBAAkB;IAClB,MAAM,KAAK,UAAU,IADV,GAAG,CAiBb;IAED;;;OAGG;IAEH,UAAA,wBAAwB,yCAUvB;IAED,uBAAuB;IACvB,IAAI,KAAK,IADE,QAAQ,CAMlB;IAED;;;OAGG;IACH,cAAI,YAAY,IAFN,iBAAiB,CAM1B;IAED;;;;OAIG;IACH,IAAI,cAAc,s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