@lion/ui 0.0.3 → 0.0.4
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/core/src/SlotMixin.js +180 -42
- package/components/core/test/SlotMixin.test.js +341 -138
- package/components/core/types/SlotMixinTypes.ts +12 -1
- package/components/input-tel/src/LionInputTel.js +0 -9
- package/components/input-tel-dropdown/src/LionInputTelDropdown.js +32 -29
- package/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.js +5 -6
- package/components/localize/types/LocalizeMixinTypes.ts +1 -1
- package/custom-elements.json +1435 -133
- package/dist-types/components/calendar/src/LionCalendar.d.ts +1 -37
- package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
- package/dist-types/components/core/src/SlotMixin.d.ts +2 -0
- package/dist-types/components/core/src/SlotMixin.d.ts.map +1 -1
- package/dist-types/components/core/test/SlotMixin.test.d.ts +1 -1
- package/dist-types/components/core/test/SlotMixin.test.d.ts.map +1 -1
- package/dist-types/components/core/types/SlotMixinTypes.d.ts +9 -1
- package/dist-types/components/core/types/SlotMixinTypes.d.ts.map +1 -1
- package/dist-types/components/input-amount/src/LionInputAmount.d.ts +1 -37
- package/dist-types/components/input-amount/src/LionInputAmount.d.ts.map +1 -1
- package/dist-types/components/input-date/src/LionInputDate.d.ts +1 -37
- package/dist-types/components/input-date/src/LionInputDate.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionCalendarOverlayFrame.d.ts +1 -37
- package/dist-types/components/input-datepicker/src/LionCalendarOverlayFrame.d.ts.map +1 -1
- package/dist-types/components/input-email/src/LionInputEmail.d.ts +1 -37
- package/dist-types/components/input-email/src/LionInputEmail.d.ts.map +1 -1
- package/dist-types/components/input-iban/src/LionInputIban.d.ts +1 -37
- package/dist-types/components/input-iban/src/LionInputIban.d.ts.map +1 -1
- package/dist-types/components/input-tel/src/LionInputTel.d.ts +1 -42
- package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
- package/dist-types/components/input-tel-dropdown/src/LionInputTelDropdown.d.ts +14 -8
- package/dist-types/components/input-tel-dropdown/src/LionInputTelDropdown.d.ts.map +1 -1
- package/dist-types/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.d.ts.map +1 -1
- package/dist-types/components/localize/src/LocalizeMixin.d.ts +1 -37
- package/dist-types/components/localize/src/LocalizeMixin.d.ts.map +1 -1
- package/dist-types/components/localize/types/LocalizeMixinTypes.d.ts +1 -1
- package/dist-types/components/localize/types/LocalizeMixinTypes.d.ts.map +1 -1
- package/dist-types/components/pagination/src/LionPagination.d.ts +1 -37
- package/dist-types/components/pagination/src/LionPagination.d.ts.map +1 -1
- package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts +1 -37
- package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts.map +1 -1
- package/dist-types/exports/core.d.ts +1 -0
- package/dist-types/exports/core.d.ts.map +1 -1
- package/dist-types/exports/form-core.d.ts +2 -0
- package/dist-types/exports/form-core.d.ts.map +1 -1
- package/dist-types/exports/input-tel-dropdown.d.ts +2 -0
- package/dist-types/exports/input-tel-dropdown.d.ts.map +1 -1
- package/dist-types/exports/input-tel.d.ts +1 -0
- package/dist-types/exports/input-tel.d.ts.map +1 -1
- package/dist-types/exports/localize.d.ts +3 -0
- package/dist-types/exports/localize.d.ts.map +1 -1
- package/dist-types/exports/overlays.d.ts +4 -0
- package/dist-types/exports/overlays.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/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.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/overview.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/tabs/examples.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/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 +1 -1
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- 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/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/exports/core.js +2 -0
- package/exports/form-core.js +3 -0
- package/exports/input-tel-dropdown.js +3 -0
- package/exports/input-tel.js +2 -0
- package/exports/localize.js +4 -0
- package/exports/overlays.js +5 -0
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionPagination.d.ts","sourceRoot":"","sources":["../../../../components/pagination/src/LionPagination.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LionPagination.d.ts","sourceRoot":"","sources":["../../../../components/pagination/src/LionPagination.js"],"names":[],"mappings":";AAIA;;GAEG;AAEH;;;;GAIG;AACH;IACE,+CAsBC;IAoDD;;;;;;;;;MAWC;IAED,4BAA4B;IAC5B,yBAOC;IAED,wBAAwB;IACxB,sBAEC;IATG,8BAAsB;IAaxB,eAAe;IACf,uBAAuB;IAEvB,cAAc;IAGhB;;;OAGG;IACH,oBAIC;IAED;;;OAGG;IACH,qBAIC;IAED;;;OAGG;IACH,oBAIC;IAED;;;;OAIG;IACH,wBAHW,MAAM,QAOhB;IAED;;;OAGG;IACH,wBAIC;IAED;;;;OAIG;IACH,eAIC;IAED;;;;OAIG;IACH,2BAiCC;IAED;;;;;;OAMG;IAEH,gDAJa,cAAc,CAM1B;IAED;;;;;;;;OAQG;IACH,0FAHa,cAAc,CAc1B;IAED;;;;;;OAMG;IACH,kDAHa,cAAc,CAS1B;IAED;;;;OAIG;IACH,4BAHa,cAAc,EAAE,CAmB5B;IAED,+CAcC;CACF;6BApTY,OAAO,KAAK,EAAE,cAAc"}
|
|
@@ -1,40 +1,4 @@
|
|
|
1
|
-
declare const LionProgressIndicator_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<
|
|
2
|
-
localizeNamespacesLoaded: Promise<Object> | undefined;
|
|
3
|
-
performUpdate(): Promise<void>;
|
|
4
|
-
onLocaleReady(): void;
|
|
5
|
-
onLocaleChanged(newLocale: string, oldLocale: string): void;
|
|
6
|
-
onLocaleUpdated(): void;
|
|
7
|
-
connectedCallback(): void;
|
|
8
|
-
disconnectedCallback(): void;
|
|
9
|
-
msgLit(keys: string | string[], variables?: import("../../localize/types/LocalizeMixinTypes.js").msgVariables | undefined, options?: import("../../localize/types/LocalizeMixinTypes.js").msgOptions | undefined): void;
|
|
10
|
-
__boundLocalizeOnLocaleChanged(...args: Object[]): void;
|
|
11
|
-
__boundLocalizeOnLocaleChanging(...args: Object[]): void;
|
|
12
|
-
__getUniqueNamespaces(): string[];
|
|
13
|
-
__localizeOnLocaleChanged(event: CustomEvent<any>): void;
|
|
14
|
-
__localizeMessageSync: boolean;
|
|
15
|
-
__localizeStartLoadingNamespaces(): void;
|
|
16
|
-
__localizeOnLocaleChanging(): void;
|
|
17
|
-
}> & Pick<{
|
|
18
|
-
new (): {
|
|
19
|
-
localizeNamespacesLoaded: Promise<Object> | undefined;
|
|
20
|
-
performUpdate(): Promise<void>;
|
|
21
|
-
onLocaleReady(): void;
|
|
22
|
-
onLocaleChanged(newLocale: string, oldLocale: string): void;
|
|
23
|
-
onLocaleUpdated(): void;
|
|
24
|
-
connectedCallback(): void;
|
|
25
|
-
disconnectedCallback(): void;
|
|
26
|
-
msgLit(keys: string | string[], variables?: import("../../localize/types/LocalizeMixinTypes.js").msgVariables | undefined, options?: import("../../localize/types/LocalizeMixinTypes.js").msgOptions | undefined): void;
|
|
27
|
-
__boundLocalizeOnLocaleChanged(...args: Object[]): void;
|
|
28
|
-
__boundLocalizeOnLocaleChanging(...args: Object[]): void;
|
|
29
|
-
__getUniqueNamespaces(): string[];
|
|
30
|
-
__localizeOnLocaleChanged(event: CustomEvent<any>): void;
|
|
31
|
-
__localizeMessageSync: boolean;
|
|
32
|
-
__localizeStartLoadingNamespaces(): void;
|
|
33
|
-
__localizeOnLocaleChanging(): void;
|
|
34
|
-
};
|
|
35
|
-
readonly localizeNamespaces: import("../../localize/types/LocalizeMixinTypes.js").StringToFunctionMap[];
|
|
36
|
-
readonly waitForLocalizeNamespaces: boolean;
|
|
37
|
-
}, "prototype" | "localizeNamespaces" | "waitForLocalizeNamespaces"> & Pick<typeof LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions">;
|
|
1
|
+
declare const LionProgressIndicator_base: typeof LitElement & 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 LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions">;
|
|
38
2
|
/**
|
|
39
3
|
* @typedef {import('lit').TemplateResult} TemplateResult
|
|
40
4
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../components/progress-indicator/src/LionProgressIndicator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LionProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../components/progress-indicator/src/LionProgressIndicator.js"],"names":[],"mappings":";AAIA;;GAEG;AACH;IACE;;;;;;;;;;;;;;;;;;MAcC;IAED;4CAG6C,MAAM;QA0DlD;IAED;;;OAGG;IACH,sCAEC;IAED;;;;;;;OAOG;IACH,8CAKC;IAIC,cAAc;IACd,YAAY;IACZ,YAAc;IACd,mBAAoB;IACpB,wBAAyB;IACzB,8BAAiC;IAGnC,iBAAiB;IAEjB,qCAEC;IAED,iBAEC;IAED,0BAGC;IAyDD,kCAIC;IAED,yBAOC;CACF;6BAvMY,OAAO,KAAK,EAAE,cAAc"}
|
|
@@ -5,4 +5,5 @@ export { SlotMixin } from "../components/core/src/SlotMixin.js";
|
|
|
5
5
|
export { browserDetection } from "../components/core/src/browserDetection.js";
|
|
6
6
|
export { EventTargetShim } from "../components/core/src/EventTargetShim.js";
|
|
7
7
|
export { uuid } from "../components/core/src/uuid.js";
|
|
8
|
+
export type SlotHost = import('../components/core/types/SlotMixinTypes.js').SlotHost;
|
|
8
9
|
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../exports/core.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../exports/core.js"],"names":[],"mappings":";;;;;;;uBAQc,OAAO,4CAA4C,EAAE,QAAQ"}
|
|
@@ -18,6 +18,8 @@ export { LionValidationFeedback } from "../components/form-core/src/validate/Lio
|
|
|
18
18
|
export { ChoiceGroupMixin } from "../components/form-core/src/choice-group/ChoiceGroupMixin.js";
|
|
19
19
|
export { ChoiceInputMixin } from "../components/form-core/src/choice-group/ChoiceInputMixin.js";
|
|
20
20
|
export { FormGroupMixin } from "../components/form-core/src/form-group/FormGroupMixin.js";
|
|
21
|
+
export type FormControlHost = import('../components/form-core/types/FormControlMixinTypes.js').FormControlHost;
|
|
22
|
+
export type ValidateHost = import('../components/form-core/types/validate/ValidateMixinTypes.js').ValidateHost;
|
|
21
23
|
export { IsString, EqualsLength, MinLength, MaxLength, MinMaxLength, IsEmail, Pattern } from "../components/form-core/src/validate/validators/StringValidators.js";
|
|
22
24
|
export { IsNumber, MinNumber, MaxNumber, MinMaxNumber } from "../components/form-core/src/validate/validators/NumberValidators.js";
|
|
23
25
|
export { IsDate, MinDate, MaxDate, MinMaxDate, IsDateDisabled } from "../components/form-core/src/validate/validators/DateValidators.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-core.d.ts","sourceRoot":"","sources":["../../exports/form-core.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"form-core.d.ts","sourceRoot":"","sources":["../../exports/form-core.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;8BAsDc,OAAO,wDAAwD,EAAE,eAAe;2BAChF,OAAO,8DAA8D,EAAE,YAAY"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { getFlagSymbol } from "../components/input-tel-dropdown/src/getFlagSymbol.js";
|
|
2
2
|
export { LionInputTelDropdown } from "../components/input-tel-dropdown/src/LionInputTelDropdown.js";
|
|
3
|
+
export type RegionMeta = import('../components/input-tel-dropdown/types/index.js').RegionMeta;
|
|
4
|
+
export type TemplateDataForDropdownInputTel = import('../components/input-tel-dropdown/types/index.js').TemplateDataForDropdownInputTel;
|
|
3
5
|
//# sourceMappingURL=input-tel-dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-tel-dropdown.d.ts","sourceRoot":"","sources":["../../exports/input-tel-dropdown.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"input-tel-dropdown.d.ts","sourceRoot":"","sources":["../../exports/input-tel-dropdown.js"],"names":[],"mappings":";;yBAGc,OAAO,iDAAiD,EAAE,UAAU;8CACpE,OAAO,iDAAiD,EAAE,+BAA+B"}
|
|
@@ -3,4 +3,5 @@ export { LionInputTel } from "../components/input-tel/src/LionInputTel.js";
|
|
|
3
3
|
export { PhoneNumber } from "../components/input-tel/src/validators.js";
|
|
4
4
|
export { PhoneUtilManager } from "../components/input-tel/src/PhoneUtilManager.js";
|
|
5
5
|
export { liveFormatPhoneNumber } from "../components/input-tel/src/preprocessors.js";
|
|
6
|
+
export type RegionCode = import('../components/input-tel/types/index.js').RegionCode;
|
|
6
7
|
//# sourceMappingURL=input-tel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-tel.d.ts","sourceRoot":"","sources":["../../exports/input-tel.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"input-tel.d.ts","sourceRoot":"","sources":["../../exports/input-tel.js"],"names":[],"mappings":";;;;;yBAMc,OAAO,wCAAwC,EAAE,UAAU"}
|
|
@@ -16,5 +16,8 @@ export { getSeparatorsFromNumber } from "../components/localize/src/number/getSe
|
|
|
16
16
|
export { normalizeCurrencyLabel } from "../components/localize/src/number/normalizeCurrencyLabel.js";
|
|
17
17
|
export { parseNumber } from "../components/localize/src/number/parseNumber.js";
|
|
18
18
|
export { getLocale } from "../components/localize/src/utils/getLocale.js";
|
|
19
|
+
export type FormatNumberOptions = import('../components/localize/types/LocalizeMixinTypes.js').FormatNumberOptions;
|
|
20
|
+
export type FormatNumberPart = import('../components/localize/types/LocalizeMixinTypes.js').FormatNumberPart;
|
|
21
|
+
export type LocalizeMixinHost = import('../components/localize/types/LocalizeMixinTypes.js').LocalizeMixinHost;
|
|
19
22
|
export { localize, setLocalize } from "../components/localize/src/singleton.js";
|
|
20
23
|
//# sourceMappingURL=localize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localize.d.ts","sourceRoot":"","sources":["../../exports/localize.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"localize.d.ts","sourceRoot":"","sources":["../../exports/localize.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;kCAsBc,OAAO,oDAAoD,EAAE,mBAAmB;+BAChF,OAAO,oDAAoD,EAAE,gBAAgB;gCAC7E,OAAO,oDAAoD,EAAE,iBAAiB"}
|
|
@@ -9,6 +9,10 @@ export { withDropdownConfig } from "../components/overlays/src/configurations/wi
|
|
|
9
9
|
export { deepContains } from "../components/overlays/src/utils/deep-contains.js";
|
|
10
10
|
export { getDeepActiveElement } from "../components/overlays/src/utils/get-deep-active-element.js";
|
|
11
11
|
export { getFocusableElements } from "../components/overlays/src/utils/get-focusable-elements.js";
|
|
12
|
+
export type OverlayConfig = import('../components/overlays/types/OverlayConfig.js').OverlayConfig;
|
|
13
|
+
export type DefineOverlayConfig = import('../components/overlays/types/OverlayMixinTypes.js').DefineOverlayConfig;
|
|
14
|
+
export type OverlayHost = import('../components/overlays/types/OverlayMixinTypes.js').OverlayHost;
|
|
15
|
+
export type ArrowHost = import('../components/overlays/types/ArrowMixinTypes.js').ArrowHost;
|
|
12
16
|
export { containFocus, rotateFocus } from "../components/overlays/src/utils/contain-focus.js";
|
|
13
17
|
export { setSiblingsInert, unsetSiblingsInert } from "../components/overlays/src/utils/inert-siblings.js";
|
|
14
18
|
export { overlays, setOverlays } from "../components/overlays/src/singleton.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../exports/overlays.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../exports/overlays.js"],"names":[],"mappings":";;;;;;;;;;;4BAsBc,OAAO,+CAA+C,EAAE,aAAa;kCACrE,OAAO,mDAAmD,EAAE,mBAAmB;0BAC/E,OAAO,mDAAmD,EAAE,WAAW;wBACvE,OAAO,iDAAiD,EAAE,SAAS"}
|