@nexara/nativeflow 0.1.4 → 0.1.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.
- package/README.md +2 -36
- package/lib/commonjs/components/Button/Button.js +6 -4
- package/lib/commonjs/components/Button/Button.js.map +1 -1
- package/lib/commonjs/components/CheckBox/CheckBox.js +2 -1
- package/lib/commonjs/components/CheckBox/CheckBox.js.map +1 -1
- package/lib/commonjs/components/Dialog/Dialog.js +1 -0
- package/lib/commonjs/components/Dialog/Dialog.js.map +1 -1
- package/lib/commonjs/components/Dialog/DialogFoot.js +5 -2
- package/lib/commonjs/components/Dialog/DialogFoot.js.map +1 -1
- package/lib/commonjs/components/Dialog/DialogHead.js +5 -3
- package/lib/commonjs/components/Dialog/DialogHead.js.map +1 -1
- package/lib/commonjs/components/Icon/Icon.js +2 -2
- package/lib/commonjs/components/Icon/Icon.js.map +1 -1
- package/lib/commonjs/components/IconButton/IconButton.js +22 -20
- package/lib/commonjs/components/IconButton/IconButton.js.map +1 -1
- package/lib/commonjs/components/Menu/Menu.js +2 -1
- package/lib/commonjs/components/Menu/Menu.js.map +1 -1
- package/lib/commonjs/components/Provider/ContextManager.js +16 -0
- package/lib/commonjs/components/Provider/ContextManager.js.map +1 -0
- package/lib/commonjs/components/Provider/NativeProvider.js +17 -7
- package/lib/commonjs/components/Provider/NativeProvider.js.map +1 -1
- package/lib/commonjs/components/StyledComponents/StyledView.js +5 -7
- package/lib/commonjs/components/StyledComponents/StyledView.js.map +1 -1
- package/lib/commonjs/components/UserInput/UserInput.js +8 -6
- package/lib/commonjs/components/UserInput/UserInput.js.map +1 -1
- package/lib/commonjs/helpers/ResponsiveCalculations.js +34 -34
- package/lib/commonjs/helpers/ResponsiveCalculations.js.map +1 -1
- package/lib/commonjs/hooks/index.js +3 -3
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/{useResponsive.js → useScalingMode.js} +3 -3
- package/lib/commonjs/hooks/useScalingMode.js.map +1 -0
- package/lib/commonjs/index.d.js +2 -0
- package/lib/commonjs/index.d.js.map +1 -0
- package/lib/commonjs/index.js +8 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/index.js +2 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/module/components/Button/Button.js +4 -3
- package/lib/module/components/Button/Button.js.map +1 -1
- package/lib/module/components/CheckBox/CheckBox.js +3 -2
- package/lib/module/components/CheckBox/CheckBox.js.map +1 -1
- package/lib/module/components/Dialog/Dialog.js +1 -0
- package/lib/module/components/Dialog/Dialog.js.map +1 -1
- package/lib/module/components/Dialog/DialogFoot.js +3 -2
- package/lib/module/components/Dialog/DialogFoot.js.map +1 -1
- package/lib/module/components/Dialog/DialogHead.js +3 -2
- package/lib/module/components/Dialog/DialogHead.js.map +1 -1
- package/lib/module/components/Icon/Icon.js +2 -2
- package/lib/module/components/Icon/Icon.js.map +1 -1
- package/lib/module/components/IconButton/IconButton.js +20 -19
- package/lib/module/components/IconButton/IconButton.js.map +1 -1
- package/lib/module/components/Menu/Menu.js +3 -2
- package/lib/module/components/Menu/Menu.js.map +1 -1
- package/lib/module/components/Provider/ContextManager.js +10 -0
- package/lib/module/components/Provider/ContextManager.js.map +1 -0
- package/lib/module/components/Provider/NativeProvider.js +17 -7
- package/lib/module/components/Provider/NativeProvider.js.map +1 -1
- package/lib/module/components/StyledComponents/StyledView.js +5 -6
- package/lib/module/components/StyledComponents/StyledView.js.map +1 -1
- package/lib/module/components/UserInput/UserInput.js +9 -7
- package/lib/module/components/UserInput/UserInput.js.map +1 -1
- package/lib/module/helpers/ResponsiveCalculations.js +33 -32
- package/lib/module/helpers/ResponsiveCalculations.js.map +1 -1
- package/lib/module/hooks/index.js +1 -1
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useScalingMode.js +7 -0
- package/lib/module/hooks/useScalingMode.js.map +1 -0
- package/lib/module/index.d.js +2 -0
- package/lib/module/index.d.js.map +1 -0
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/index.js +2 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/typescript/commonjs/scripts/generateConfig.d.ts +1 -0
- package/lib/typescript/commonjs/scripts/generateConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/scripts/readConfig.d.ts +1 -0
- package/lib/typescript/commonjs/scripts/readConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Button/Button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/DialogFoot.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Dialog/DialogHead.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/IconButton/IconButton.d.ts +4 -2
- package/lib/typescript/commonjs/src/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Menu/Menu.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Provider/ContextManager.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/Provider/ContextManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Provider/NativeProvider.d.ts +9 -4
- package/lib/typescript/commonjs/src/components/Provider/NativeProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/StyledComponents/StyledView.d.ts +2 -2
- package/lib/typescript/commonjs/src/components/StyledComponents/StyledView.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts +2 -1
- package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts +0 -1
- package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useScalingMode.d.ts +5 -0
- package/lib/typescript/commonjs/src/hooks/useScalingMode.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +2 -2
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/common.type.d.ts +1 -0
- package/lib/typescript/commonjs/src/types/common.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/menu.type.d.ts +2 -1
- package/lib/typescript/commonjs/src/types/menu.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts +1 -1
- package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/userInput.type.d.ts +1 -0
- package/lib/typescript/commonjs/src/types/userInput.type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/scripts/generateConfig.d.ts +1 -0
- package/lib/typescript/module/scripts/generateConfig.d.ts.map +1 -0
- package/lib/typescript/module/scripts/readConfig.d.ts +1 -0
- package/lib/typescript/module/scripts/readConfig.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Button/Button.d.ts.map +1 -1
- package/lib/typescript/module/src/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/DialogFoot.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Dialog/DialogHead.d.ts.map +1 -1
- package/lib/typescript/module/src/components/IconButton/IconButton.d.ts +4 -2
- package/lib/typescript/module/src/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Menu/Menu.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Provider/ContextManager.d.ts +3 -0
- package/lib/typescript/module/src/components/Provider/ContextManager.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Provider/NativeProvider.d.ts +9 -4
- package/lib/typescript/module/src/components/Provider/NativeProvider.d.ts.map +1 -1
- package/lib/typescript/module/src/components/StyledComponents/StyledView.d.ts +2 -2
- package/lib/typescript/module/src/components/StyledComponents/StyledView.d.ts.map +1 -1
- package/lib/typescript/module/src/components/UserInput/UserInput.d.ts +2 -1
- package/lib/typescript/module/src/components/UserInput/UserInput.d.ts.map +1 -1
- package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts +0 -1
- package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/index.d.ts +1 -1
- package/lib/typescript/module/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useScalingMode.d.ts +5 -0
- package/lib/typescript/module/src/hooks/useScalingMode.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +2 -2
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/types/common.type.d.ts +1 -0
- package/lib/typescript/module/src/types/common.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/menu.type.d.ts +2 -1
- package/lib/typescript/module/src/types/menu.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/styledComponents.type.d.ts +1 -1
- package/lib/typescript/module/src/types/styledComponents.type.d.ts.map +1 -1
- package/lib/typescript/module/src/types/userInput.type.d.ts +1 -0
- package/lib/typescript/module/src/types/userInput.type.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/index.d.ts +1 -0
- package/lib/typescript/module/src/utils/index.d.ts.map +1 -0
- package/package.json +2 -2
- package/src/components/Button/Button.tsx +6 -3
- package/src/components/CheckBox/CheckBox.tsx +5 -3
- package/src/components/Chip/Chip.tsx +2 -1
- package/src/components/Dialog/Dialog.tsx +1 -0
- package/src/components/Dialog/DialogFoot.tsx +3 -2
- package/src/components/Dialog/DialogHead.tsx +3 -2
- package/src/components/Icon/Icon.tsx +2 -2
- package/src/components/IconButton/IconButton.tsx +26 -17
- package/src/components/Menu/Menu.tsx +3 -2
- package/src/components/Provider/ContextManager.tsx +9 -0
- package/src/components/Provider/NativeProvider.tsx +25 -10
- package/src/components/StyledComponents/StyledView.tsx +5 -6
- package/src/components/UserInput/UserInput.tsx +10 -7
- package/src/helpers/ResponsiveCalculations.ts +37 -32
- package/src/hooks/index.ts +1 -1
- package/src/hooks/{useResponsive.tsx → useScalingMode.tsx} +2 -2
- package/src/index.d.ts +3 -0
- package/src/index.ts +3 -2
- package/src/types/common.type.ts +1 -0
- package/src/types/menu.type.ts +2 -1
- package/src/types/styledComponents.type.ts +5 -5
- package/src/types/userInput.type.ts +1 -0
- package/src/utils/index.ts +0 -0
- package/lib/commonjs/hooks/useResponsive.js.map +0 -1
- package/lib/module/hooks/useResponsive.js +0 -7
- package/lib/module/hooks/useResponsive.js.map +0 -1
- package/lib/typescript/commonjs/src/hooks/useResponsive.d.ts +0 -3
- package/lib/typescript/commonjs/src/hooks/useResponsive.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/useResponsive.d.ts +0 -3
- package/lib/typescript/module/src/hooks/useResponsive.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogHead.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/DialogHead.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DialogHead.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/DialogHead.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,UAAU,KAAM,SAAQ,eAAe;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACnC;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA0B/B,CAAA;AACD,eAAe,UAAU,CAAC;AAC1B,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ReactElement } from "react";
|
|
3
3
|
import { type TouchableOpacityProps } from "react-native";
|
|
4
4
|
type IconButtonProps = TouchableOpacityProps & {
|
|
5
5
|
rippleColor?: string;
|
|
6
|
-
children?:
|
|
6
|
+
children?: ReactElement<{
|
|
7
|
+
size: number;
|
|
8
|
+
}>;
|
|
7
9
|
};
|
|
8
10
|
declare const IconButton: React.FC<IconButtonProps>;
|
|
9
11
|
export default IconButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI5E,KAAK,eAAe,GAAG,qBAAqB,GAAG;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,YAAY,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC7C,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA+BzC,CAAA;AACD,eAAe,UAAU,CAAC;AAC1B,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6D,MAAM,OAAO,CAAC;AAOlF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6G7B,CAAA;AACD,eAAe,IAAI,CAAC;AACpB,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Provider/ContextManager.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,GAAI,KAAK,GAAG,SAExC,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAE5B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
import type { Theme, themeModeTypes, ThemeTypes } from '../../types';
|
|
3
|
+
import type { scalingModeTypes, Theme, themeModeTypes, ThemeTypes } from '../../types';
|
|
4
4
|
type ProviderProps = {
|
|
5
5
|
/**
|
|
6
6
|
* The child components that will be wrapped by the provider.
|
|
@@ -11,21 +11,26 @@ type ProviderProps = {
|
|
|
11
11
|
* Determines whether the theme should be responsive based on screen size.
|
|
12
12
|
* Default: `true`
|
|
13
13
|
*/
|
|
14
|
-
isResponsive?: boolean;
|
|
15
14
|
/**
|
|
16
15
|
* Custom theme object that overrides the default light/dark themes.
|
|
17
16
|
* If not provided, the default themes (LightTheme/DarkTheme) will be used.
|
|
18
17
|
*/
|
|
19
18
|
theme?: Theme;
|
|
19
|
+
options?: {
|
|
20
|
+
defaultTheme?: themeModeTypes;
|
|
21
|
+
scalingMode?: scalingModeTypes;
|
|
22
|
+
};
|
|
20
23
|
};
|
|
21
24
|
type ThemeContextType = {
|
|
22
|
-
isResponsive?: boolean;
|
|
23
25
|
theme?: ThemeTypes & {
|
|
24
26
|
toggleThemeMode: () => void;
|
|
25
27
|
};
|
|
26
28
|
mode?: themeModeTypes;
|
|
29
|
+
scaling: {
|
|
30
|
+
mode: scalingModeTypes;
|
|
31
|
+
};
|
|
27
32
|
};
|
|
28
|
-
export declare const Context: React.Context<ThemeContextType
|
|
33
|
+
export declare const Context: React.Context<ThemeContextType>;
|
|
29
34
|
declare const NativeProvider: React.FC<ProviderProps>;
|
|
30
35
|
export default NativeProvider;
|
|
31
36
|
export type { ProviderProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Provider/NativeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Provider/NativeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGvF,KAAK,aAAa,GAAG;IACjB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IAGH;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,OAAO,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,cAAc,CAAC;QAC9B,WAAW,CAAC,EAAE,gBAAgB,CAAC;KAClC,CAAA;CACJ,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACpB,KAAK,CAAC,EAAE,UAAU,GAAG;QACjB,eAAe,EAAE,MAAM,IAAI,CAAC;KAC/B,CAAC;IACF,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAA;KAAE,CAAA;CACtC,CAAC;AAGF,eAAO,MAAM,OAAO,iCAIlB,CAAC;AAEH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwB3C,CAAA;AACD,eAAe,cAAc,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { View } from 'react-native';
|
|
2
2
|
import type { StyledViewProps } from '../../types';
|
|
3
|
-
declare const StyledView:
|
|
3
|
+
declare const StyledView: import("react").ForwardRefExoticComponent<Omit<StyledViewProps, "ref"> & import("react").RefAttributes<View>>;
|
|
4
4
|
export default StyledView;
|
|
5
5
|
export type { StyledViewProps };
|
|
6
6
|
//# sourceMappingURL=StyledView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StyledComponents/StyledView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StyledView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StyledComponents/StyledView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,UAAU,+GAmCd,CAAC;AAEH,eAAe,UAAU,CAAC;AAC1B,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { TextInput } from 'react-native';
|
|
1
2
|
import type { UserInputProps } from '../../types';
|
|
2
|
-
declare const UserInput:
|
|
3
|
+
declare const UserInput: import("react").ForwardRefExoticComponent<Omit<UserInputProps, "ref"> & import("react").RefAttributes<TextInput>>;
|
|
3
4
|
export default UserInput;
|
|
4
5
|
export type { UserInputProps };
|
|
5
6
|
//# sourceMappingURL=UserInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UserInput/UserInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UserInput/UserInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAA8B,MAAM,cAAc,CAAC;AAKrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,QAAA,MAAM,SAAS,mHA0Gb,CAAC;AACH,eAAe,SAAS,CAAC;AACzB,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const fun: () => Map<"hScale" | "vScale" | "fs", object>;
|
|
2
1
|
export declare const horizontalScale: (size: number) => number;
|
|
3
2
|
export declare const verticalScale: (size: number) => number;
|
|
4
3
|
export declare const moderateScale: (size: number, factor?: number) => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveCalculations.d.ts","sourceRoot":"","sources":["../../../../../src/helpers/ResponsiveCalculations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResponsiveCalculations.d.ts","sourceRoot":"","sources":["../../../../../src/helpers/ResponsiveCalculations.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,MAG9C,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,KAAG,MAG5C,CAAA;AAGD,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,eAAY,KAAG,MAM1D,CAAA;AACD,eAAO,MAAM,qBAAqB,GAAI,MAAM,MAAM,EAAE,eAAY,KAAG,MAMlE,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,UAAU,MAAM,KAAG,MAkBrD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as useTheme } from './useTheme';
|
|
2
|
-
export { default as
|
|
2
|
+
export { default as useScalingMode } from './useScalingMode';
|
|
3
3
|
export { default as useColorScheme } from './useColorScheme';
|
|
4
4
|
export { default as useConditionalWindowDimension } from './useConditionalWindowDimension';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScalingMode.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useScalingMode.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,cAAc;;CAAqC,CAAC;AAE1D,eAAe,cAAc,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
export { default as NativeProvider } from './components/Provider/NativeProvider';
|
|
2
|
+
export { horizontalScale, moderateScale, moderateVerticalScale, verticalScale, responsiveFontSize } from './helpers/ResponsiveCalculations';
|
|
1
3
|
export { default as Header } from './components/Header/Header';
|
|
2
4
|
export { default as Chip } from './components/Chip/Chip';
|
|
3
5
|
export { default as Button } from './components/Button/Button';
|
|
4
6
|
export { default as Stack } from './components/Stack';
|
|
5
7
|
export { StyledText, StyledView } from './components/StyledComponents';
|
|
6
8
|
export { default as UserInput } from './components/UserInput/UserInput';
|
|
7
|
-
export { default as NativeProvider } from './components/Provider/NativeProvider';
|
|
8
|
-
export { horizontalScale, moderateScale, moderateVerticalScale, verticalScale } from './helpers/ResponsiveCalculations';
|
|
9
9
|
export { default as Grid } from './components/Grid/Grid';
|
|
10
10
|
export { default as Progress } from './components/Progress/Progress';
|
|
11
11
|
export { default as Slider } from './components/Slider/Slider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,qBAAqB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC5I,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AA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MAAM,+BAA+B,CAAC;AACtF,YAAY,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,YAAY,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAC1E,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE9D,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClI,YAAY,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACtF,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export type DialogVariant = 'classic' | 'default';
|
|
|
4
4
|
export type ButtonVariant = 'outlined' | 'contained';
|
|
5
5
|
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7';
|
|
6
6
|
export type themeModeTypes = 'light' | 'dark';
|
|
7
|
+
export type scalingModeTypes = 'full' | 'partial';
|
|
7
8
|
export type dialogSizesTypes = {
|
|
8
9
|
xs: number;
|
|
9
10
|
sm: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/common.type.ts"],"names":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EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,eAAe,CAAC;IACxB,UAAU,EAAE;QACR,YAAY,EAAE,mBAAmB,CAAC;KACrC,CAAC;IACF,WAAW,EAAE,gBAAgB,CAAC;CACjC,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAChB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,UAAU,CAAC;CACpB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { JSX, ReactNode } from "react";
|
|
2
2
|
import type { StyleProp, TextStyle, TouchableOpacityProps, View, ViewStyle } from "react-native";
|
|
3
3
|
import type { TypographyVariant } from "./common.type";
|
|
4
|
+
import type { StyledTextProps } from "./styledComponents.type";
|
|
4
5
|
export type MenuProps = {
|
|
5
6
|
/**
|
|
6
7
|
* Defines the placement of the menu relative to the anchor element.
|
|
@@ -74,7 +75,7 @@ export type MenuItemProps = TouchableOpacityProps & {
|
|
|
74
75
|
*/
|
|
75
76
|
children?: ReactNode;
|
|
76
77
|
};
|
|
77
|
-
export type MenuItemLabelProps =
|
|
78
|
+
export type MenuItemLabelProps = StyledTextProps & {
|
|
78
79
|
/**
|
|
79
80
|
* Font size of the label text.
|
|
80
81
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/menu.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"menu.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/menu.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,MAAM,MAAM,SAAS,GAAG;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAE7B;;OAEG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAErB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAE9C;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;CACrC,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAAG;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG;IAC/C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC"}
|
|
@@ -48,7 +48,7 @@ export type StyledViewProps = ViewStyle & ViewProps & {
|
|
|
48
48
|
*/
|
|
49
49
|
ref?: React.RefObject<View>;
|
|
50
50
|
};
|
|
51
|
-
export type StyledTextProps = TextProps & {
|
|
51
|
+
export type StyledTextProps = TextProps & TextStyle & {
|
|
52
52
|
/**
|
|
53
53
|
* Defines the typography variant for the text.
|
|
54
54
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styledComponents.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/styledComponents.type.ts"],"names":[],"mappings":"AAAA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ErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userInput.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/userInput.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG;IAC1C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAE3B,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,wCAAwC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE;QACV,KAAK,CAAC,EAAE,iBAAiB,CAAC;QAC1B,UAAU,CAAC,EAAE,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"userInput.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/userInput.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OA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A0D;IAC1D,eAAe,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAE9B;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE;QACL,aAAa,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACrC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACtC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC7B,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC;IAEF;;;MAGE;IACF,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAA;CACnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utils/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=generateConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateConfig.d.ts","sourceRoot":"","sources":["../../../../scripts/generateConfig.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=readConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readConfig.d.ts","sourceRoot":"","sources":["../../../../scripts/readConfig.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA2JjC,CAAC;AAEF,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAMpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0FrC,CAAA;AACD,eAAe,QAAQ,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqF,MAAM,OAAO,CAAC;AAM1G,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG/D,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqF,MAAM,OAAO,CAAC;AAM1G,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG/D,QAAA,MAAM,MAAM,oFA2FV,CAAC;AACH,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogFoot.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/DialogFoot.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DialogFoot.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/DialogFoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,UAAU,KAAM,SAAQ,eAAe;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACnC;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAgB/B,CAAA;AACD,eAAe,UAAU,CAAC;AAC1B,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogHead.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/DialogHead.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DialogHead.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/DialogHead.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,UAAU,KAAM,SAAQ,eAAe;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACnC;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA0B/B,CAAA;AACD,eAAe,UAAU,CAAC;AAC1B,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ReactElement } from "react";
|
|
3
3
|
import { type TouchableOpacityProps } from "react-native";
|
|
4
4
|
type IconButtonProps = TouchableOpacityProps & {
|
|
5
5
|
rippleColor?: string;
|
|
6
|
-
children?:
|
|
6
|
+
children?: ReactElement<{
|
|
7
|
+
size: number;
|
|
8
|
+
}>;
|
|
7
9
|
};
|
|
8
10
|
declare const IconButton: React.FC<IconButtonProps>;
|
|
9
11
|
export default IconButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAI5E,KAAK,eAAe,GAAG,qBAAqB,GAAG;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,YAAY,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC7C,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA+BzC,CAAA;AACD,eAAe,UAAU,CAAC;AAC1B,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6D,MAAM,OAAO,CAAC;AAOlF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6G7B,CAAA;AACD,eAAe,IAAI,CAAC;AACpB,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextManager.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Provider/ContextManager.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,GAAI,KAAK,GAAG,SAExC,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAE5B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
import type { Theme, themeModeTypes, ThemeTypes } from '../../types';
|
|
3
|
+
import type { scalingModeTypes, Theme, themeModeTypes, ThemeTypes } from '../../types';
|
|
4
4
|
type ProviderProps = {
|
|
5
5
|
/**
|
|
6
6
|
* The child components that will be wrapped by the provider.
|
|
@@ -11,21 +11,26 @@ type ProviderProps = {
|
|
|
11
11
|
* Determines whether the theme should be responsive based on screen size.
|
|
12
12
|
* Default: `true`
|
|
13
13
|
*/
|
|
14
|
-
isResponsive?: boolean;
|
|
15
14
|
/**
|
|
16
15
|
* Custom theme object that overrides the default light/dark themes.
|
|
17
16
|
* If not provided, the default themes (LightTheme/DarkTheme) will be used.
|
|
18
17
|
*/
|
|
19
18
|
theme?: Theme;
|
|
19
|
+
options?: {
|
|
20
|
+
defaultTheme?: themeModeTypes;
|
|
21
|
+
scalingMode?: scalingModeTypes;
|
|
22
|
+
};
|
|
20
23
|
};
|
|
21
24
|
type ThemeContextType = {
|
|
22
|
-
isResponsive?: boolean;
|
|
23
25
|
theme?: ThemeTypes & {
|
|
24
26
|
toggleThemeMode: () => void;
|
|
25
27
|
};
|
|
26
28
|
mode?: themeModeTypes;
|
|
29
|
+
scaling: {
|
|
30
|
+
mode: scalingModeTypes;
|
|
31
|
+
};
|
|
27
32
|
};
|
|
28
|
-
export declare const Context: React.Context<ThemeContextType
|
|
33
|
+
export declare const Context: React.Context<ThemeContextType>;
|
|
29
34
|
declare const NativeProvider: React.FC<ProviderProps>;
|
|
30
35
|
export default NativeProvider;
|
|
31
36
|
export type { ProviderProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Provider/NativeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Provider/NativeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGvF,KAAK,aAAa,GAAG;IACjB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IAGH;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,OAAO,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,cAAc,CAAC;QAC9B,WAAW,CAAC,EAAE,gBAAgB,CAAC;KAClC,CAAA;CACJ,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACpB,KAAK,CAAC,EAAE,UAAU,GAAG;QACjB,eAAe,EAAE,MAAM,IAAI,CAAC;KAC/B,CAAC;IACF,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAA;KAAE,CAAA;CACtC,CAAC;AAGF,eAAO,MAAM,OAAO,iCAIlB,CAAC;AAEH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwB3C,CAAA;AACD,eAAe,cAAc,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { View } from 'react-native';
|
|
2
2
|
import type { StyledViewProps } from '../../types';
|
|
3
|
-
declare const StyledView:
|
|
3
|
+
declare const StyledView: import("react").ForwardRefExoticComponent<Omit<StyledViewProps, "ref"> & import("react").RefAttributes<View>>;
|
|
4
4
|
export default StyledView;
|
|
5
5
|
export type { StyledViewProps };
|
|
6
6
|
//# sourceMappingURL=StyledView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StyledComponents/StyledView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StyledView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/StyledComponents/StyledView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,QAAA,MAAM,UAAU,+GAmCd,CAAC;AAEH,eAAe,UAAU,CAAC;AAC1B,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { TextInput } from 'react-native';
|
|
1
2
|
import type { UserInputProps } from '../../types';
|
|
2
|
-
declare const UserInput:
|
|
3
|
+
declare const UserInput: import("react").ForwardRefExoticComponent<Omit<UserInputProps, "ref"> & import("react").RefAttributes<TextInput>>;
|
|
3
4
|
export default UserInput;
|
|
4
5
|
export type { UserInputProps };
|
|
5
6
|
//# sourceMappingURL=UserInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UserInput/UserInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserInput.d.ts","sourceRoot":"","sources":["../../../../../../src/components/UserInput/UserInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAA8B,MAAM,cAAc,CAAC;AAKrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,QAAA,MAAM,SAAS,mHA0Gb,CAAC;AACH,eAAe,SAAS,CAAC;AACzB,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const fun: () => Map<"hScale" | "vScale" | "fs", object>;
|
|
2
1
|
export declare const horizontalScale: (size: number) => number;
|
|
3
2
|
export declare const verticalScale: (size: number) => number;
|
|
4
3
|
export declare const moderateScale: (size: number, factor?: number) => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveCalculations.d.ts","sourceRoot":"","sources":["../../../../../src/helpers/ResponsiveCalculations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResponsiveCalculations.d.ts","sourceRoot":"","sources":["../../../../../src/helpers/ResponsiveCalculations.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,MAG9C,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,KAAG,MAG5C,CAAA;AAGD,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,eAAY,KAAG,MAM1D,CAAA;AACD,eAAO,MAAM,qBAAqB,GAAI,MAAM,MAAM,EAAE,eAAY,KAAG,MAMlE,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,UAAU,MAAM,KAAG,MAkBrD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as useTheme } from './useTheme';
|
|
2
|
-
export { default as
|
|
2
|
+
export { default as useScalingMode } from './useScalingMode';
|
|
3
3
|
export { default as useColorScheme } from './useColorScheme';
|
|
4
4
|
export { default as useConditionalWindowDimension } from './useConditionalWindowDimension';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScalingMode.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useScalingMode.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,cAAc;;CAAqC,CAAC;AAE1D,eAAe,cAAc,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
export { default as NativeProvider } from './components/Provider/NativeProvider';
|
|
2
|
+
export { horizontalScale, moderateScale, moderateVerticalScale, verticalScale, responsiveFontSize } from './helpers/ResponsiveCalculations';
|
|
1
3
|
export { default as Header } from './components/Header/Header';
|
|
2
4
|
export { default as Chip } from './components/Chip/Chip';
|
|
3
5
|
export { default as Button } from './components/Button/Button';
|
|
4
6
|
export { default as Stack } from './components/Stack';
|
|
5
7
|
export { StyledText, StyledView } from './components/StyledComponents';
|
|
6
8
|
export { default as UserInput } from './components/UserInput/UserInput';
|
|
7
|
-
export { default as NativeProvider } from './components/Provider/NativeProvider';
|
|
8
|
-
export { horizontalScale, moderateScale, moderateVerticalScale, verticalScale } from './helpers/ResponsiveCalculations';
|
|
9
9
|
export { default as Grid } from './components/Grid/Grid';
|
|
10
10
|
export { default as Progress } from './components/Progress/Progress';
|
|
11
11
|
export { default as Slider } from './components/Slider/Slider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,qBAAqB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC5I,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAE/D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AAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE9D,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClI,YAAY,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACtF,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export type DialogVariant = 'classic' | 'default';
|
|
|
4
4
|
export type ButtonVariant = 'outlined' | 'contained';
|
|
5
5
|
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7';
|
|
6
6
|
export type themeModeTypes = 'light' | 'dark';
|
|
7
|
+
export type scalingModeTypes = 'full' | 'partial';
|
|
7
8
|
export type dialogSizesTypes = {
|
|
8
9
|
xs: number;
|
|
9
10
|
sm: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/common.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,UAAU,CAAC;AACvD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M,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,eAAe,CAAC;IACxB,UAAU,EAAE;QACR,YAAY,EAAE,mBAAmB,CAAC;KACrC,CAAC;IACF,WAAW,EAAE,gBAAgB,CAAC;CACjC,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAChB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,UAAU,CAAC;CACpB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { JSX, ReactNode } from "react";
|
|
2
2
|
import type { StyleProp, TextStyle, TouchableOpacityProps, View, ViewStyle } from "react-native";
|
|
3
3
|
import type { TypographyVariant } from "./common.type";
|
|
4
|
+
import type { StyledTextProps } from "./styledComponents.type";
|
|
4
5
|
export type MenuProps = {
|
|
5
6
|
/**
|
|
6
7
|
* Defines the placement of the menu relative to the anchor element.
|
|
@@ -74,7 +75,7 @@ export type MenuItemProps = TouchableOpacityProps & {
|
|
|
74
75
|
*/
|
|
75
76
|
children?: ReactNode;
|
|
76
77
|
};
|
|
77
|
-
export type MenuItemLabelProps =
|
|
78
|
+
export type MenuItemLabelProps = StyledTextProps & {
|
|
78
79
|
/**
|
|
79
80
|
* Font size of the label text.
|
|
80
81
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/menu.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"menu.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/menu.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,MAAM,MAAM,SAAS,GAAG;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAE7B;;OAEG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAErB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAE9C;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;CACrC,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAAG;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG;IAC/C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC"}
|
|
@@ -48,7 +48,7 @@ export type StyledViewProps = ViewStyle & ViewProps & {
|
|
|
48
48
|
*/
|
|
49
49
|
ref?: React.RefObject<View>;
|
|
50
50
|
};
|
|
51
|
-
export type StyledTextProps = TextProps & {
|
|
51
|
+
export type StyledTextProps = TextProps & TextStyle & {
|
|
52
52
|
/**
|
|
53
53
|
* Defines the typography variant for the text.
|
|
54
54
|
*/
|