@lion/ui 0.0.5 → 0.0.7

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 (62) hide show
  1. package/components/core/src/SlotMixin.js +2 -1
  2. package/components/core/test/SlotMixin.test.js +11 -0
  3. package/components/form-core/src/validate/ValidateMixin.js +1 -1
  4. package/components/form-core/types/validate/ValidateMixinTypes.ts +1 -5
  5. package/components/select-rich/src/LionSelectRich.js +0 -1
  6. package/dist-types/components/core/src/SlotMixin.d.ts.map +1 -1
  7. package/dist-types/components/form-core/src/LionField.d.ts +1 -1
  8. package/dist-types/components/form-core/types/validate/ValidateMixinTypes.d.ts +1 -1
  9. package/dist-types/components/form-core/types/validate/ValidateMixinTypes.d.ts.map +1 -1
  10. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
  11. package/dist-types/components/listbox/src/LionListbox.d.ts +1 -1
  12. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +1 -2
  13. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  14. package/dist-types/components/switch/src/LionSwitch.d.ts +1 -1
  15. package/dist-types/tsconfig.tsbuildinfo +1 -1
  16. package/docs/components/checkbox-group/overview.md +2 -2
  17. package/docs/components/collapsible/overview.md +1 -1
  18. package/docs/components/combobox/overview.md +1 -1
  19. package/docs/components/combobox/use-cases.md +1 -1
  20. package/docs/components/dialog/overview.md +1 -1
  21. package/docs/components/fieldset/overview.md +5 -5
  22. package/docs/components/form/overview.md +3 -3
  23. package/docs/components/icon/use-cases.md +1 -1
  24. package/docs/components/input/overview.md +1 -1
  25. package/docs/components/input-amount/overview.md +3 -3
  26. package/docs/components/input-date/overview.md +3 -3
  27. package/docs/components/input-datepicker/overview.md +5 -5
  28. package/docs/components/input-email/overview.md +2 -2
  29. package/docs/components/input-iban/overview.md +2 -2
  30. package/docs/components/input-range/overview.md +2 -2
  31. package/docs/components/input-stepper/overview.md +1 -1
  32. package/docs/components/input-tel/overview.md +1 -1
  33. package/docs/components/input-tel/use-cases.md +6 -6
  34. package/docs/components/input-tel-dropdown/overview.md +1 -1
  35. package/docs/components/radio-group/overview.md +3 -3
  36. package/docs/components/select-rich/use-cases.md +1 -1
  37. package/docs/components/tabs/examples.md +1 -1
  38. package/docs/fundamentals/index.md +4 -4
  39. package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
  40. package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
  41. package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
  42. package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
  43. package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
  44. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  45. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  46. package/docs/fundamentals/systems/core/overview.md +1 -1
  47. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  48. package/docs/fundamentals/systems/form/model-value.md +1 -1
  49. package/docs/fundamentals/systems/form/overview.md +28 -28
  50. package/docs/fundamentals/systems/form/validate.md +1 -1
  51. package/docs/fundamentals/systems/localize/overview.md +4 -4
  52. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  53. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  54. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  55. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  56. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  57. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  58. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  59. package/docs/guides/index.md +8 -8
  60. package/docs/guides/principles/index.md +5 -5
  61. package/docs/guides/principles/styling.md +1 -1
  62. package/package.json +2 -2
@@ -173,7 +173,8 @@ const SlotMixinImplementation = superclass =>
173
173
  const slotFunctionResult = this.slots[slotName]();
174
174
  // Allow to conditionally return a slot
175
175
  if (slotFunctionResult === undefined) {
176
- return;
176
+ // eslint-disable-next-line no-continue
177
+ continue;
177
178
  }
178
179
 
179
180
  if (!this.__isConnectedSlotMixin) {
@@ -81,12 +81,20 @@ describe('SlotMixin', () => {
81
81
  });
82
82
 
83
83
  it('does not override user provided slots', async () => {
84
+ const shouldReturn = false;
84
85
  const tag = defineCE(
85
86
  class extends SlotMixin(LitElement) {
86
87
  get slots() {
87
88
  return {
88
89
  ...super.slots,
89
90
  feedback: () => document.createElement('div'),
91
+ 'more-feedback': () => {
92
+ if (shouldReturn) {
93
+ return document.createElement('div');
94
+ }
95
+ return undefined;
96
+ },
97
+ 'even-more-feedback': () => document.createElement('div'),
90
98
  };
91
99
  }
92
100
  },
@@ -94,6 +102,9 @@ describe('SlotMixin', () => {
94
102
  const el = await fixture(`<${tag}><p slot="feedback">user-content</p></${tag}>`);
95
103
  expect(el.children[0].tagName).to.equal('P');
96
104
  expect(/** @type HTMLParagraphElement */ (el.children[0]).innerText).to.equal('user-content');
105
+
106
+ expect(el.children[1].tagName).to.equal('DIV');
107
+ expect(/** @type HTMLParagraphElement */ (el.children[1]).slot).to.equal('even-more-feedback');
97
108
  });
98
109
 
99
110
  it('does add when user provided slots are not direct children', async () => {
@@ -47,7 +47,7 @@ export const ValidateMixinImplementation = superclass =>
47
47
  ) {
48
48
  static get scopedElements() {
49
49
  const scopedElementsCtor =
50
- /** @type {typeof import('@open-wc/scoped-elements').ScopedElementsHost} */ (
50
+ /** @type {typeof import('@open-wc/scoped-elements/types.js').ScopedElementsHost} */ (
51
51
  super.constructor
52
52
  );
53
53
  return {
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { Constructor } from '@open-wc/dedupe-mixin';
3
- import { ScopedElementsHost } from '@open-wc/scoped-elements';
3
+ import { ScopedElementsHost } from '@open-wc/scoped-elements/types.js';
4
4
 
5
5
  import { DisabledHost } from '../../../core/types/DisabledMixinTypes.js';
6
6
  import { SlotHost } from '../../../core/types/SlotMixinTypes.js';
@@ -9,10 +9,6 @@ import { FormControlHost } from '../FormControlMixinTypes.js';
9
9
  import { SyncUpdatableHost } from '../utils/SyncUpdatableMixinTypes.js';
10
10
  import { Validator } from '../../src/validate/Validator.js';
11
11
 
12
- type ScopedElementsMap = {
13
- [key: string]: typeof HTMLElement;
14
- };
15
-
16
12
  type FeedbackMessage = {
17
13
  message: string | Node;
18
14
  type: string;
@@ -6,7 +6,6 @@ import { OverlayMixin, withDropdownConfig } from '@lion/ui/overlays.js';
6
6
  import { LionSelectInvoker } from './LionSelectInvoker.js';
7
7
 
8
8
  /**
9
- * @typedef {import('@open-wc/scoped-elements').ScopedElementsHost} ScopedElementsHost
10
9
  * @typedef {import('../../listbox/src/LionOptions.js').LionOptions} LionOptions
11
10
  * @typedef {import('../../listbox/src/LionOption.js').LionOption} LionOption
12
11
  * @typedef {import('../../form-core/types/registration/FormRegisteringMixinTypes.js').FormRegisteringHost} FormRegisteringHost
@@ -1 +1 @@
1
- {"version":3,"file":"SlotMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/SlotMixin.js"],"names":[],"mappings":"wBAMa,OAAO,4BAA4B,EAAE,SAAS;AA2O3D,mmBAA8D;uBA1OjD,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;AA4O3D,mmBAA8D;uBA3OjD,OAAO,4BAA4B,EAAE,QAAQ;iCAC7C,OAAO,4BAA4B,EAAE,kBAAkB;iCACvD,OAAO,4BAA4B,EAAE,kBAAkB;yBACvD,OAAO,KAAK,EAAE,UAAU"}
@@ -1,4 +1,4 @@
1
- declare const LionField_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype"> & Pick<typeof LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/validate/ValidateMixinTypes.js").ValidateHost> & Pick<typeof import("../types/validate/ValidateMixinTypes.js").ValidateHost, "prototype" | "validationTypes"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FormControlMixinTypes.js").FormControlHost> & Pick<typeof import("../types/FormControlMixinTypes.js").FormControlHost, "prototype" | "properties" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost> & Pick<typeof import("../types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/DisabledMixinTypes.js").DisabledHost> & Pick<typeof import("../../core/types/DisabledMixinTypes.js").DisabledHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements").ScopedElementsHost> & Pick<typeof import("@open-wc/scoped-elements").ScopedElementsHost, "prototype" | "shadowRootOptions" | "scopedElements"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FormatMixinTypes.js").FormatHost> & Pick<typeof import("../types/FormatMixinTypes.js").FormatHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FocusMixinTypes.js").FocusHost> & Pick<typeof import("../types/FocusMixinTypes.js").FocusHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/InteractionStateMixinTypes.js").InteractionStateHost> & Pick<typeof import("../types/InteractionStateMixinTypes.js").InteractionStateHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost> & Pick<typeof import("../types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost, "prototype">;
1
+ declare const LionField_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype"> & Pick<typeof LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/validate/ValidateMixinTypes.js").ValidateHost> & Pick<typeof import("../types/validate/ValidateMixinTypes.js").ValidateHost, "prototype" | "validationTypes"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FormControlMixinTypes.js").FormControlHost> & Pick<typeof import("../types/FormControlMixinTypes.js").FormControlHost, "prototype" | "properties" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost> & Pick<typeof import("../types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/DisabledMixinTypes.js").DisabledHost> & Pick<typeof import("../../core/types/DisabledMixinTypes.js").DisabledHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types.js").ScopedElementsHost> & Pick<typeof import("@open-wc/scoped-elements/types.js").ScopedElementsHost, "prototype" | "shadowRootOptions" | "scopedElements"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FormatMixinTypes.js").FormatHost> & Pick<typeof import("../types/FormatMixinTypes.js").FormatHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FocusMixinTypes.js").FocusHost> & Pick<typeof import("../types/FocusMixinTypes.js").FocusHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/InteractionStateMixinTypes.js").InteractionStateHost> & Pick<typeof import("../types/InteractionStateMixinTypes.js").InteractionStateHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost> & Pick<typeof import("../types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost, "prototype">;
2
2
  /**
3
3
  * `LionField`: wraps <input>, <textarea>, <select> and other interactable elements.
4
4
  * Also it would follow a nice hierarchy: lion-form -> lion-fieldset -> lion-field
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { Constructor } from '@open-wc/dedupe-mixin';
3
- import { ScopedElementsHost } from '@open-wc/scoped-elements';
3
+ import { ScopedElementsHost } from '@open-wc/scoped-elements/types.js';
4
4
  import { DisabledHost } from '../../../core/types/DisabledMixinTypes.js';
5
5
  import { SlotHost } from '../../../core/types/SlotMixinTypes.js';
6
6
  import { FormControlHost } from '../FormControlMixinTypes.js';
@@ -1 +1 @@
1
- {"version":3,"file":"ValidateMixinTypes.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/types/validate/ValidateMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAY5D,oBAAY,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAE/E,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B;;;;;;;OAOG;IACH,UAAU,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,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,mBAAmB;IAC3B,OAAO,CAAC,yBAAyB;IACjC,OAAO,CAAC,uBAAuB;IAK/B,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,yBAAyB;IACjC,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,qBAAqB;CAC9B;AAED,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAC9E,UAAU,EAAE,CAAC,GACZ,CAAC,GACF,WAAW,CAAC,YAAY,CAAC,GACzB,IAAI,CAAC,OAAO,YAAY,EAAE,MAAM,OAAO,YAAY,CAAC,GACpD,WAAW,CAAC,eAAe,CAAC,GAC5B,IAAI,CAAC,OAAO,eAAe,EAAE,MAAM,OAAO,eAAe,CAAC,GAC1D,WAAW,CAAC,iBAAiB,CAAC,GAC9B,IAAI,CAAC,OAAO,iBAAiB,EAAE,MAAM,OAAO,iBAAiB,CAAC,GAC9D,WAAW,CAAC,YAAY,CAAC,GACzB,IAAI,CAAC,OAAO,YAAY,EAAE,MAAM,OAAO,YAAY,CAAC,GACpD,WAAW,CAAC,QAAQ,CAAC,GACrB,IAAI,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC,GAC5C,WAAW,CAAC,kBAAkB,CAAC,GAC/B,IAAI,CAAC,OAAO,kBAAkB,EAAE,MAAM,OAAO,kBAAkB,CAAC,GAChE,IAAI,CAAC,OAAO,UAAU,EAAE,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnD,oBAAY,aAAa,GAAG,OAAO,sBAAsB,CAAC"}
@@ -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").ScopedElementsHost>;
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>;
2
2
  /**
3
3
  * @typedef {import('../../form-core/src/validate/Validator.js').Validator} Validator
4
4
  * @typedef {import('lit').RenderOptions} RenderOptions
@@ -1,4 +1,4 @@
1
- declare const LionListbox_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/validate/ValidateMixinTypes.js").ValidateHost> & Pick<typeof import("../../form-core/types/validate/ValidateMixinTypes.js").ValidateHost, "prototype" | "validationTypes"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FormControlMixinTypes.js").FormControlHost> & Pick<typeof import("../../form-core/types/FormControlMixinTypes.js").FormControlHost, "prototype" | "properties" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost> & Pick<typeof import("../../form-core/types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/DisabledMixinTypes.js").DisabledHost> & Pick<typeof import("../../core/types/DisabledMixinTypes.js").DisabledHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements").ScopedElementsHost> & Pick<typeof import("@open-wc/scoped-elements").ScopedElementsHost, "prototype" | "shadowRootOptions" | "scopedElements"> & Pick<typeof LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/InteractionStateMixinTypes.js").InteractionStateHost> & Pick<typeof import("../../form-core/types/InteractionStateMixinTypes.js").InteractionStateHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FocusMixinTypes.js").FocusHost> & Pick<typeof import("../../form-core/types/FocusMixinTypes.js").FocusHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/ListboxMixinTypes.js").ListboxHost> & Pick<typeof import("../types/ListboxMixinTypes.js").ListboxHost, "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/choice-group/ChoiceGroupMixinTypes.js").ChoiceGroupHost> & Pick<typeof import("../../form-core/types/choice-group/ChoiceGroupMixinTypes.js").ChoiceGroupHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/registration/FormRegistrarMixinTypes.js").FormRegistrarHost> & Pick<typeof import("../../form-core/types/registration/FormRegistrarMixinTypes.js").FormRegistrarHost, "prototype">;
1
+ declare const LionListbox_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/validate/ValidateMixinTypes.js").ValidateHost> & Pick<typeof import("../../form-core/types/validate/ValidateMixinTypes.js").ValidateHost, "prototype" | "validationTypes"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FormControlMixinTypes.js").FormControlHost> & Pick<typeof import("../../form-core/types/FormControlMixinTypes.js").FormControlHost, "prototype" | "properties" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost> & Pick<typeof import("../../form-core/types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/DisabledMixinTypes.js").DisabledHost> & Pick<typeof import("../../core/types/DisabledMixinTypes.js").DisabledHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types.js").ScopedElementsHost> & Pick<typeof import("@open-wc/scoped-elements/types.js").ScopedElementsHost, "prototype" | "shadowRootOptions" | "scopedElements"> & Pick<typeof LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/InteractionStateMixinTypes.js").InteractionStateHost> & Pick<typeof import("../../form-core/types/InteractionStateMixinTypes.js").InteractionStateHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FocusMixinTypes.js").FocusHost> & Pick<typeof import("../../form-core/types/FocusMixinTypes.js").FocusHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/ListboxMixinTypes.js").ListboxHost> & Pick<typeof import("../types/ListboxMixinTypes.js").ListboxHost, "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/choice-group/ChoiceGroupMixinTypes.js").ChoiceGroupHost> & Pick<typeof import("../../form-core/types/choice-group/ChoiceGroupMixinTypes.js").ChoiceGroupHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/registration/FormRegistrarMixinTypes.js").FormRegistrarHost> & Pick<typeof import("../../form-core/types/registration/FormRegistrarMixinTypes.js").FormRegistrarHost, "prototype">;
2
2
  /**
3
3
  * LionListbox: implements the wai-aria listbox design pattern and integrates it as a Lion
4
4
  * FormControl
@@ -1,4 +1,4 @@
1
- declare const LionSelectRich_base: typeof LionListbox & 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("@open-wc/scoped-elements").ScopedElementsHost> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype">;
1
+ declare const LionSelectRich_base: typeof LionListbox & 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("@open-wc/scoped-elements/types.js").ScopedElementsHost> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype">;
2
2
  /**
3
3
  * LionSelectRich: wraps the <lion-listbox> element
4
4
  */
@@ -130,7 +130,6 @@ export class LionSelectRich extends LionSelectRich_base {
130
130
  private __blockListShowDuringTransition;
131
131
  __blockListShow: boolean | undefined;
132
132
  }
133
- export type ScopedElementsHost = import('@open-wc/scoped-elements').ScopedElementsHost;
134
133
  export type LionOptions = import('../../listbox/src/LionOptions.js').LionOptions;
135
134
  export type LionOption = import('../../listbox/src/LionOption.js').LionOption;
136
135
  export type FormRegisteringHost = import('../../form-core/types/registration/FormRegisteringMixinTypes.js').FormRegisteringHost;
@@ -1 +1 @@
1
- {"version":3,"file":"LionSelectRich.d.ts","sourceRoot":"","sources":["../../../../components/select-rich/src/LionSelectRich.js"],"names":[],"mappings":";AAuBA;;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;iCAljBY,OAAO,0BAA0B,EAAE,kBAAkB;0BACrD,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;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,4 +1,4 @@
1
- declare const LionSwitch_base: typeof LionField & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/choice-group/ChoiceInputMixinTypes.js").ChoiceInputHost> & Pick<typeof import("../../form-core/types/choice-group/ChoiceInputMixinTypes.js").ChoiceInputHost, "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FormatMixinTypes.js").FormatHost> & Pick<typeof import("../../form-core/types/FormatMixinTypes.js").FormatHost, "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("@open-wc/scoped-elements").ScopedElementsHost>;
1
+ declare const LionSwitch_base: typeof LionField & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/choice-group/ChoiceInputMixinTypes.js").ChoiceInputHost> & Pick<typeof import("../../form-core/types/choice-group/ChoiceInputMixinTypes.js").ChoiceInputHost, "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FormatMixinTypes.js").FormatHost> & Pick<typeof import("../../form-core/types/FormatMixinTypes.js").FormatHost, "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("@open-wc/scoped-elements/types.js").ScopedElementsHost>;
2
2
  export class LionSwitch extends LionSwitch_base {
3
3
  static get styles(): (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[];
4
4
  static get scopedElements(): {