@lion/ui 0.8.1 → 0.8.3
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.
- package/components/calendar/src/LionCalendar.js +6 -0
- package/components/core/src/DisabledWithTabIndexMixin.js +7 -0
- package/components/core/src/ScopedElementsMixin.js +58 -37
- package/components/core/test/ScopedElementsMixin.test.js +131 -0
- package/components/core/test/ssr-definitions/ScopedElementsHost.define.js +1 -0
- package/components/form-core/src/FormControlMixin.js +6 -0
- package/components/form-core/src/utils/SyncUpdatableMixin.js +7 -0
- package/components/form-core/src/validate/LionValidationFeedback.js +4 -2
- package/components/form-core/test/validate/lion-validation-feedback.test.js +12 -0
- package/components/icon/src/LionIcon.js +6 -0
- package/components/localize/src/LocalizeManager.js +258 -178
- package/components/overlays/src/OverlayController.js +40 -13
- package/components/overlays/src/OverlayMixin.js +7 -0
- package/components/overlays/test/OverlayController.test.js +233 -30
- package/components/overlays/test-helpers/mimicClick.js +2 -2
- package/components/progress-indicator/src/LionProgressIndicator.js +6 -0
- package/components/steps/src/LionStep.js +6 -0
- package/components/steps/src/LionSteps.js +6 -0
- package/components/tabs/src/LionTabs.js +6 -0
- package/components/tooltip/src/LionTooltip.js +6 -0
- package/custom-elements.json +716 -163
- package/dist-types/components/calendar/src/LionCalendar.d.ts +5 -0
- package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
- package/dist-types/components/core/src/DisabledWithTabIndexMixin.d.ts.map +1 -1
- package/dist-types/components/core/src/ScopedElementsMixin.d.ts +43 -6
- package/dist-types/components/core/src/ScopedElementsMixin.d.ts.map +1 -1
- package/dist-types/components/core/test/ScopedElementsMixin.test.d.ts +2 -0
- package/dist-types/components/core/test/ScopedElementsMixin.test.d.ts.map +1 -0
- package/dist-types/components/core/test/ssr-definitions/ScopedElementsHost.define.d.ts +2 -0
- package/dist-types/components/core/test/ssr-definitions/ScopedElementsHost.define.d.ts.map +1 -0
- package/dist-types/components/form-core/src/FormControlMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/src/utils/SyncUpdatableMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/src/validate/LionValidationFeedback.d.ts.map +1 -1
- package/dist-types/components/form-integrations/test/helpers/helpers.d.ts +3 -3
- package/dist-types/components/form-integrations/test/helpers/helpers.d.ts.map +1 -1
- package/dist-types/components/icon/src/LionIcon.d.ts +5 -0
- package/dist-types/components/icon/src/LionIcon.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
- package/dist-types/components/input-file/src/LionInputFile.d.ts +1 -1
- package/dist-types/components/input-file/src/LionSelectedFileList.d.ts +1 -1
- package/dist-types/components/localize/src/LocalizeManager.d.ts +108 -93
- package/dist-types/components/localize/src/LocalizeManager.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayController.d.ts +9 -5
- package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
- package/dist-types/components/overlays/test/OverlayController.test.d.ts +1 -1
- package/dist-types/components/overlays/test/OverlayController.test.d.ts.map +1 -1
- package/dist-types/components/overlays/test-helpers/mimicClick.d.ts +1 -1
- package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts +5 -0
- package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts.map +1 -1
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts +1 -1
- package/dist-types/components/steps/src/LionStep.d.ts +5 -0
- package/dist-types/components/steps/src/LionStep.d.ts.map +1 -1
- package/dist-types/components/steps/src/LionSteps.d.ts +5 -0
- package/dist-types/components/steps/src/LionSteps.d.ts.map +1 -1
- package/dist-types/components/switch/src/LionSwitch.d.ts +1 -1
- package/dist-types/components/tabs/src/LionTabs.d.ts +5 -0
- package/dist-types/components/tabs/src/LionTabs.d.ts.map +1 -1
- package/dist-types/components/tooltip/src/LionTooltip.d.ts +5 -0
- package/dist-types/components/tooltip/src/LionTooltip.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/api-table.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/api-table.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/api-table.md +1 -1
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/api-table.md +1 -1
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/api-table.md +1 -1
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/api-table.md +1 -1
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/api-table.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/api-table.md +1 -1
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/api-table.md +1 -1
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/api-table.md +1 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/api-table.md +1 -1
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/radio-group/api-table.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/api-table.md +1 -1
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/api-table.md +1 -1
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/switch/api-table.md +1 -1
- package/docs/components/tabs/examples.md +1 -1
- package/docs/components/textarea/api-table.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +2 -2
- package/docs/fundamentals/systems/localize/api-table.md +38 -37
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/api-table.md +1 -0
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/package.json +1 -1
|
@@ -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, typeof Symbol.metadata | "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("
|
|
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, typeof Symbol.metadata | "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../../../../../node_modules/@open-wc/scoped-elements/types.js").ScopedElementsHost> & import("../../core/src/types.js").ScopedElementsHostV2Constructor & 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
|
*/
|
|
@@ -52,6 +52,11 @@ export class LionStep extends LitElement {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
static get styles(): import("lit").CSSResult[];
|
|
55
|
+
/**
|
|
56
|
+
* // TODO: check if this is a false positive or if we can improve
|
|
57
|
+
* @configure ReactiveElement
|
|
58
|
+
*/
|
|
59
|
+
static enabledWarnings: import("lit").WarningKind[];
|
|
55
60
|
status: string;
|
|
56
61
|
condition: (data?: Object | undefined) => boolean;
|
|
57
62
|
invertCondition: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionStep.d.ts","sourceRoot":"","sources":["../../../../components/steps/src/LionStep.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;;;;;GAKG;AACH;IACE;QAEI;;WAEG;;;;;QAKH;;;WAGG;;;;QAIH;;WAEG;;;;;;QAMH;;;;WAIG;;;;;;QAMH;;;WAGG;;;;;;MAON;IAYD,+CAgBC;
|
|
1
|
+
{"version":3,"file":"LionStep.d.ts","sourceRoot":"","sources":["../../../../components/steps/src/LionStep.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;;;;;GAKG;AACH;IACE;QAEI;;WAEG;;;;;QAKH;;;WAGG;;;;QAIH;;WAEG;;;;;;QAMH;;;;WAIG;;;;;;QAMH;;;WAGG;;;;;;MAON;IAYD,+CAgBC;IAiCD;;;OAGG;IACH,oDAA4F;IA7D1F,eAAyB;IAEzB,kDAA2D;IAC3D,yBAA4B;IAC5B,qBAAwB;IACxB,qBAAwB;IAqB1B,+CAEC;IAKC,2DAA4D;IAG9D,cAGC;IAED,cAGC;IAED,aAGC;IAED,6BAA6B;IAC7B,oDAGC;CAOF;wBAxHY,OAAO,gBAAgB,EAAE,SAAS"}
|
|
@@ -24,6 +24,11 @@ export class LionSteps extends LitElement {
|
|
|
24
24
|
type: NumberConstructor;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* // TODO: check if this is a false positive or if we can improve
|
|
29
|
+
* @configure ReactiveElement
|
|
30
|
+
*/
|
|
31
|
+
static enabledWarnings: import("lit").WarningKind[];
|
|
27
32
|
/** @type {{[key: string]: ?}} */
|
|
28
33
|
data: {
|
|
29
34
|
[key: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionSteps.d.ts","sourceRoot":"","sources":["../../../../components/steps/src/LionSteps.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;;;;;GAKG;AACH;IACE,+CAYC;IAED;QAQI;;;WAGG;;;;QAIH;;WAEG;;;;MAKN;
|
|
1
|
+
{"version":3,"file":"LionSteps.d.ts","sourceRoot":"","sources":["../../../../components/steps/src/LionSteps.js"],"names":[],"mappings":"AAEA;;GAEG;AAEH;;;;;GAKG;AACH;IACE,+CAYC;IAED;QAQI;;;WAGG;;;;QAIH;;WAEG;;;;MAKN;IA6DD;;;OAGG;IACH,oDAA4F;IA7D1F,iCAAiC;IACjC;;MAAc;IACd,8BAAgC;IAChC,qBAAqB;IACrB,SADW,MAAM,CACD;IAChB,aAAa;IA+Bf,+CAEC;IAED,aAEC;IAED,iBAEC;IAED,gDAOC;IAQD;;;OAGG;IACH,kBAHW,MAAM,cACN,MAAM,QAwBhB;IAED;;;OAGG;IACH,wBAHW,MAAM,cACN,MAAM,QAkBhB;IAED;;;OAGG;IACH,mCAHW;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAA;KAAC,UACnC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAA;KAAC,QAU7C;IAED;;;OAGG;IACH,6BAHW;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,aACjB;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,QAQ3B;CACF;uBA5LY,OAAO,eAAe,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, typeof Symbol.metadata | "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("
|
|
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, typeof Symbol.metadata | "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("../../../../../node_modules/@open-wc/scoped-elements/types.js").ScopedElementsHost> & import("../../core/src/types.js").ScopedElementsHostV2Constructor;
|
|
2
2
|
export class LionSwitch extends LionSwitch_base {
|
|
3
3
|
static get styles(): (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[];
|
|
4
4
|
static get scopedElements(): {
|
|
@@ -7,6 +7,11 @@ export class LionTabs extends LitElement {
|
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
static get styles(): import("lit").CSSResult[];
|
|
10
|
+
/**
|
|
11
|
+
* // TODO: check if this is a false positive or if we can improve
|
|
12
|
+
* @configure ReactiveElement
|
|
13
|
+
*/
|
|
14
|
+
static enabledWarnings: import("lit").WarningKind[];
|
|
10
15
|
render(): import("lit-html").TemplateResult<1>;
|
|
11
16
|
/**
|
|
12
17
|
* @param {number} value The new index
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionTabs.d.ts","sourceRoot":"","sources":["../../../../components/tabs/src/LionTabs.js"],"names":[],"mappings":"AA+GA;IACE;;;;;;MAQC;IAED,+CA0BC;
|
|
1
|
+
{"version":3,"file":"LionTabs.d.ts","sourceRoot":"","sources":["../../../../components/tabs/src/LionTabs.js"],"names":[],"mappings":"AA+GA;IACE;;;;;;MAQC;IAED,+CA0BC;IA0CD;;;OAGG;IACH,oDAA4F;IA5C5F,+CASC;IAmND;;OAEG;IACH,+BAUC;IApBD;;OAEG;IACH,4BAEC;IA9LD,gCAIC;IAED,4BAIC;IAQD,eAAe;IACf,qBAaC;IAED,eAAe;IACf,qBAiCC;IAhCC,2BAA2B;IAC3B,kCAAiB;IAiCnB,eAAe;IACf,qBAQC;IAED;;;;;;OAMG;IACH,gCAUC;IAED;;;;;OAKG;IACH,gCAuBC;IAED;;;;OAIG;IACH,mCAIC;IAED;;;OAGG;IACH,4BAqCC;IAiBC,iCAAiC;IACjC,iBADW,MAAM,GAAG,SAAS,CACD;IAM9B;;;OAGG;IACH,4CAHW,MAAM,QAYhB;IAED,iBAAiB;IACjB,mCAEC;IAED,eAAe;IACf,yBAqBC;CACF;;;;;QAvaa,WAAW;;;;SACX,MAAM;;;;YACN,WAAW;;;;WACX,WAAW;;;;0BACH,KAAK,KAAK,OAAO;;;;4BACjB,KAAK,KAAK,OAAO;;;;0BACjB,KAAK,KAAK,OAAO"}
|
|
@@ -11,6 +11,11 @@ export class LionTooltip extends LionTooltip_base {
|
|
|
11
11
|
/** @type {any} */
|
|
12
12
|
static get properties(): any;
|
|
13
13
|
static get styles(): (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[];
|
|
14
|
+
/**
|
|
15
|
+
* // TODO: check if this is a false positive or if we can improve
|
|
16
|
+
* @configure ReactiveElement
|
|
17
|
+
*/
|
|
18
|
+
static enabledWarnings: import("lit").WarningKind[];
|
|
14
19
|
/**
|
|
15
20
|
* Decides whether the tooltip invoker text should be considered a description
|
|
16
21
|
* (sets aria-describedby) or a label (sets aria-labelledby).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionTooltip.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/src/LionTooltip.js"],"names":[],"mappings":";AAGA;;;;GAIG;AAEH;;GAEG;AACH;IACE,kBAAkB;IAClB,6BAOC;IAED,wFAiBC;
|
|
1
|
+
{"version":3,"file":"LionTooltip.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/src/LionTooltip.js"],"names":[],"mappings":";AAGA;;;;GAIG;AAEH;;GAEG;AACH;IACE,kBAAkB;IAClB,6BAOC;IAED,wFAiBC;IAiBD;;;OAGG;IACH,oDAA4F;IAZ1F;;;;OAIG;IACH,iBAFU,OAAO,GAAC,aAAa,CAEK;IAStC,iBAAiB;IAEjB,qFAeC;CACF;4BA7EY,OAAO,4BAA4B,EAAE,aAAa;wBAClD,OAAO,KAAK,EAAE,SAAS;6BACvB,OAAO,KAAK,EAAE,cAAc"}
|