@lion-npm/ui 1.0.3 → 1.0.5
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/dist/components/buttons/AndroidButton.d.ts +16 -0
- package/dist/components/buttons/BootstrapButton.d.ts +16 -0
- package/dist/components/buttons/IOSButton.d.ts +16 -0
- package/dist/components/buttons/LionButton.d.ts +18 -0
- package/dist/components/inputs/AndroidInput.d.ts +20 -0
- package/dist/components/inputs/BootstrapInput.d.ts +16 -0
- package/dist/components/inputs/IOSInput.d.ts +21 -0
- package/dist/components/inputs/LionInput.d.ts +27 -0
- package/dist/components/loadings/LoadingBar.d.ts +5 -0
- package/dist/components/modals/LionModal.d.ts +17 -0
- package/dist/context/LionUIComponentsContext.d.ts +5 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +579 -594
- package/dist/interfaces/LionUIComponentsProviderProps.d.ts +6 -0
- package/dist/interfaces/LionUIContextProps.d.ts +5 -0
- package/dist/interfaces/LionUIState.d.ts +12 -0
- package/dist/types/Android/AndroidButtonShapeTypes.d.ts +5 -0
- package/dist/types/Android/AndroidButtonStyleTypes.d.ts +8 -0
- package/dist/types/Android/AndroidInputShapeTypes.d.ts +5 -0
- package/dist/types/Android/AndroidInputStyleTypes.d.ts +5 -0
- package/dist/types/ButtonTypes.d.ts +7 -0
- package/dist/types/IOS/IOSButtonShapeTypes.d.ts +5 -0
- package/dist/types/IOS/IOSButtonStyleTypes.d.ts +7 -0
- package/dist/types/IOS/IOSInputShapeTypes.d.ts +6 -0
- package/dist/types/IOS/IOSInputStyleTypes.d.ts +8 -0
- package/dist/types/InputTypes.d.ts +11 -0
- package/dist/types/PlatformTypes.d.ts +7 -0
- package/dist/types/SizeTypes.d.ts +9 -0
- package/dist/types/VariantTypes.d.ts +17 -0
- package/dist/types/Web/BootstrapButtonShapeTypes.d.ts +6 -0
- package/dist/types/Web/BootstrapButtonStyleTypes.d.ts +5 -0
- package/dist/types/Web/BootstrapInputShapeTypes.d.ts +6 -0
- package/dist/types/Web/BootstrapInputStyleTypes.d.ts +5 -0
- package/package.json +1 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PlatformTypes } from "../types/PlatformTypes.tsx";
|
|
2
|
+
export interface LionUIState {
|
|
3
|
+
platform: PlatformTypes;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
reload: boolean;
|
|
6
|
+
booting: boolean;
|
|
7
|
+
sidebar: boolean;
|
|
8
|
+
version: string | null;
|
|
9
|
+
modal?: string | null;
|
|
10
|
+
logo: File | string | null;
|
|
11
|
+
background: File | string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const AndroidButtonStyleTypes: {
|
|
2
|
+
readonly FILLED: "filled";
|
|
3
|
+
readonly ELEVATED: "elevated";
|
|
4
|
+
readonly TONAL: "tonal";
|
|
5
|
+
readonly OUTLINED: "outlined";
|
|
6
|
+
readonly TEXT: "text";
|
|
7
|
+
};
|
|
8
|
+
export type AndroidButtonStyleTypes = (typeof AndroidButtonStyleTypes)[keyof typeof AndroidButtonStyleTypes];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const IOSInputStyleTypes: {
|
|
2
|
+
readonly FORM: "form";
|
|
3
|
+
readonly ROUNDED_BORDER: "rounded-border";
|
|
4
|
+
readonly FILLED: "filled";
|
|
5
|
+
readonly OUTLINED: "outlined";
|
|
6
|
+
readonly PLAIN: "plain";
|
|
7
|
+
};
|
|
8
|
+
export type IOSInputStyleTypes = (typeof IOSInputStyleTypes)[keyof typeof IOSInputStyleTypes];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const InputTypes: {
|
|
2
|
+
readonly TEXT: "text";
|
|
3
|
+
readonly PASSWORD: "password";
|
|
4
|
+
readonly EMAIL: "email";
|
|
5
|
+
readonly NUMBER: "number";
|
|
6
|
+
readonly TEL: "tel";
|
|
7
|
+
readonly URL: "url";
|
|
8
|
+
readonly DATE: "date";
|
|
9
|
+
readonly DATETIME: "datetime";
|
|
10
|
+
};
|
|
11
|
+
export type InputTypes = (typeof InputTypes)[keyof typeof InputTypes];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const VariantTypes: {
|
|
2
|
+
readonly SECONDARY: "secondary";
|
|
3
|
+
readonly PRIMARY: "primary";
|
|
4
|
+
readonly SUCCESS: "success";
|
|
5
|
+
readonly DANGER: "danger";
|
|
6
|
+
readonly WARNING: "warning";
|
|
7
|
+
readonly INFO: "info";
|
|
8
|
+
readonly LIGHT: "light";
|
|
9
|
+
readonly LINK: "link";
|
|
10
|
+
readonly DARK: "dark";
|
|
11
|
+
readonly MODAL: "modal";
|
|
12
|
+
readonly LION_PACKAGES: "lion-packages";
|
|
13
|
+
readonly LION_PARKING: "lion-parking";
|
|
14
|
+
readonly LION_TECH: "lion-tech";
|
|
15
|
+
readonly LION_GLAM: "lion-glam";
|
|
16
|
+
};
|
|
17
|
+
export type VariantTypes = (typeof VariantTypes)[keyof typeof VariantTypes];
|