@lion/ui 0.0.6 → 0.0.8
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/form-core/src/validate/ValidateMixin.js +1 -1
- package/components/form-core/types/validate/ValidateMixinTypes.ts +1 -5
- package/components/icon/src/icons.js +1 -7
- package/components/localize/src/singleton.js +2 -12
- package/components/localize/test/localize.test.js +1 -18
- package/components/overlays/src/singleton.js +1 -10
- package/components/select-rich/src/LionSelectRich.js +0 -1
- package/custom-elements.json +90 -196
- package/dist-types/components/form-core/src/LionField.d.ts +1 -1
- package/dist-types/components/form-core/types/validate/ValidateMixinTypes.d.ts +1 -1
- package/dist-types/components/form-core/types/validate/ValidateMixinTypes.d.ts.map +1 -1
- package/dist-types/components/icon/src/icons.d.ts +1 -2
- package/dist-types/components/icon/src/icons.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
- package/dist-types/components/listbox/src/LionListbox.d.ts +1 -1
- package/dist-types/components/localize/src/singleton.d.ts +1 -6
- package/dist-types/components/localize/src/singleton.d.ts.map +1 -1
- package/dist-types/components/overlays/src/singleton.d.ts +1 -6
- package/dist-types/components/overlays/src/singleton.d.ts.map +1 -1
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts +1 -2
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
- package/dist-types/components/switch/src/LionSwitch.d.ts +1 -1
- package/dist-types/exports/icon-no-side-effects.d.ts +2 -0
- package/dist-types/exports/icon-no-side-effects.d.ts.map +1 -0
- package/dist-types/exports/icon.d.ts +1 -1
- package/dist-types/exports/localize-no-side-effects.d.ts +2 -0
- package/dist-types/exports/localize-no-side-effects.d.ts.map +1 -0
- package/dist-types/exports/localize.d.ts +1 -1
- package/dist-types/exports/overlays-no-side-effects.d.ts +2 -0
- package/dist-types/exports/overlays-no-side-effects.d.ts.map +1 -0
- package/dist-types/exports/overlays.d.ts +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/icon-no-side-effects.js +1 -0
- package/exports/icon.js +1 -1
- package/exports/localize-no-side-effects.js +1 -0
- package/exports/localize.js +1 -1
- package/exports/overlays-no-side-effects.js +1 -0
- package/exports/overlays.js +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {LocalizeManager} newLocalize
|
|
3
|
-
*/
|
|
4
|
-
export function setLocalize(newLocalize: LocalizeManager): void;
|
|
5
1
|
/** @type {LocalizeManager} */
|
|
6
|
-
export
|
|
7
|
-
export { LocalizeManager };
|
|
2
|
+
export const localize: LocalizeManager;
|
|
8
3
|
import { LocalizeManager } from "./LocalizeManager.js";
|
|
9
4
|
//# sourceMappingURL=singleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../../components/localize/src/singleton.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../../components/localize/src/singleton.js"],"names":[],"mappings":"AAGA,8BAA8B;AAE9B,uBAFW,eAAe,CAOrB"}
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @param {OverlaysManager} newOverlays
|
|
3
|
-
*/
|
|
4
|
-
export function setOverlays(newOverlays: OverlaysManager): void;
|
|
5
|
-
export let overlays: any;
|
|
6
|
-
import { OverlaysManager } from "./OverlaysManager.js";
|
|
1
|
+
export const overlays: any;
|
|
7
2
|
//# sourceMappingURL=singleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/singleton.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/singleton.js"],"names":[],"mappings":"AAGA,2BAAiG"}
|
|
@@ -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":";
|
|
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(): {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-no-side-effects.d.ts","sourceRoot":"","sources":["../../exports/icon-no-side-effects.js"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { LionIcon } from "../components/icon/src/LionIcon.js";
|
|
2
2
|
export { IconManager } from "../components/icon/src/IconManager.js";
|
|
3
|
-
export { icons
|
|
3
|
+
export { icons } from "../components/icon/src/icons.js";
|
|
4
4
|
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localize-no-side-effects.d.ts","sourceRoot":"","sources":["../../exports/localize-no-side-effects.js"],"names":[],"mappings":""}
|
|
@@ -16,5 +16,5 @@ 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 { localize
|
|
19
|
+
export { localize } from "../components/localize/src/singleton.js";
|
|
20
20
|
//# sourceMappingURL=localize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlays-no-side-effects.d.ts","sourceRoot":"","sources":["../../exports/overlays-no-side-effects.js"],"names":[],"mappings":""}
|
|
@@ -9,7 +9,7 @@ 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 { overlays } from "../components/overlays/src/singleton.js";
|
|
12
13
|
export { containFocus, rotateFocus } from "../components/overlays/src/utils/contain-focus.js";
|
|
13
14
|
export { setSiblingsInert, unsetSiblingsInert } from "../components/overlays/src/utils/inert-siblings.js";
|
|
14
|
-
export { overlays, setOverlays } from "../components/overlays/src/singleton.js";
|
|
15
15
|
//# sourceMappingURL=overlays.d.ts.map
|