@tecsinapse/react-native-kit 1.22.0-beta.13 → 1.22.1-beta.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.22.0](https://github.com/tecsinapse/design-system/compare/@tecsinapse/react-native-kit@1.21.0...@tecsinapse/react-native-kit@1.22.0) (2022-09-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * project scripts ([cb2e0a1](https://github.com/tecsinapse/design-system/commit/cb2e0a1873cfc3f45e793b5443297fb6fffce1b5))
12
+
13
+
14
+ ### Features
15
+
16
+ * finish compiler config ([af9f2ae](https://github.com/tecsinapse/design-system/commit/af9f2ae2dd2b08e9842778d0159ecd3d44bef89a))
17
+
18
+
19
+
20
+
21
+
6
22
  # [1.21.0](https://github.com/tecsinapse/design-system/compare/@tecsinapse/react-native-kit@1.20.0...@tecsinapse/react-native-kit@1.21.0) (2022-09-05)
7
23
 
8
24
  **Note:** Version bump only for package @tecsinapse/react-native-kit
@@ -1,2 +1,2 @@
1
- declare const GroupButtonOption: (props: any) => JSX.Element;
1
+ declare const GroupButtonOption: (props: GroupButtonOptionProps) => JSX.Element;
2
2
  export default GroupButtonOption;
@@ -5,5 +5,5 @@ export interface InputNativeProps extends Omit<InputElementProps, 'style'>, Inpu
5
5
  inputFontStack?: FontStackType;
6
6
  inputFontWeight?: FontWeightType;
7
7
  }
8
- declare const Input: React.ForwardRefExoticComponent<Pick<InputNativeProps, string | number> & React.RefAttributes<TextInput>>;
8
+ declare const Input: React.ForwardRefExoticComponent<Pick<InputNativeProps, keyof InputNativeProps> & React.RefAttributes<TextInput>>;
9
9
  export default Input;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IBaseModal } from './ui/types';
3
- export declare const useLazyModalManager: (modalId?: string | undefined) => {
3
+ export declare const useLazyModalManager: (modalId?: string) => {
4
4
  requestUpdate: () => void;
5
5
  sync: (modal: ReactElement<IBaseModal>) => null;
6
6
  show: () => void;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IBaseModal } from './ui/types';
3
- export declare const useModalManager: (modal: () => ReactElement<IBaseModal>, modalId?: string | undefined) => {
3
+ export declare const useModalManager: (modal: () => ReactElement<IBaseModal>, modalId?: string) => {
4
4
  show: () => void;
5
5
  close: () => void;
6
6
  };
@@ -1 +1 @@
1
- export declare const Calendar: <T extends any>({ locale, ...rest }: any) => JSX.Element;
1
+ export declare const Calendar: <T extends SelectionType>({ locale, ...rest }: CalendarProps<T>) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { DatePickerProps, SelectionType } from '@tecsinapse/react-core';
2
2
  export declare type NativeDatePickerProps<T extends SelectionType> = Omit<DatePickerProps<T>, 'CalendarComponent' | 'renderCalendar' | 'requestCloseCalendar' | 'requestShowCalendar'>;
3
- export declare const DatePicker: <T extends any>({ locale, onChange, ...rest }: NativeDatePickerProps<T>) => JSX.Element;
3
+ export declare const DatePicker: <T extends SelectionType>({ locale, onChange, ...rest }: NativeDatePickerProps<T>) => JSX.Element;
@@ -3,5 +3,5 @@ import { IGridItem } from '@tecsinapse/react-core';
3
3
  export declare type IGridItemNative = IGridItem & ViewProps & {
4
4
  flexBasis?: string | 'auto';
5
5
  };
6
- declare const GridItem: ({ children, span, columns, loadingComponent, loading, spacing: _spacing, wrapper, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, justifyContent, flexBasis, style, ...rest }: IGridItemNative) => JSX.Element;
6
+ declare const GridItem: ({ children, span, columns, loadingComponent, loading, spacing, wrapper, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, justifyContent, flexBasis, style, ...rest }: IGridItemNative) => JSX.Element;
7
7
  export default GridItem;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { InputNativeProps } from '../../atoms/Input';
3
3
  import { TextInput } from 'react-native';
4
4
  export declare type InputPasswordNativeProps = InputNativeProps;
5
- declare const InputPassword: React.ForwardRefExoticComponent<Pick<InputNativeProps, string | number> & React.RefAttributes<TextInput>>;
5
+ declare const InputPassword: React.ForwardRefExoticComponent<Pick<InputNativeProps, keyof InputNativeProps> & React.RefAttributes<TextInput>>;
6
6
  export default InputPassword;
@@ -1,2 +1,2 @@
1
- declare const GroupButtonOption: (props: any) => JSX.Element;
1
+ declare const GroupButtonOption: (props: GroupButtonOptionProps) => JSX.Element;
2
2
  export default GroupButtonOption;
@@ -5,5 +5,5 @@ export interface InputNativeProps extends Omit<InputElementProps, 'style'>, Inpu
5
5
  inputFontStack?: FontStackType;
6
6
  inputFontWeight?: FontWeightType;
7
7
  }
8
- declare const Input: React.ForwardRefExoticComponent<Pick<InputNativeProps, string | number> & React.RefAttributes<TextInput>>;
8
+ declare const Input: React.ForwardRefExoticComponent<Pick<InputNativeProps, keyof InputNativeProps> & React.RefAttributes<TextInput>>;
9
9
  export default Input;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IBaseModal } from './ui/types';
3
- export declare const useLazyModalManager: (modalId?: string | undefined) => {
3
+ export declare const useLazyModalManager: (modalId?: string) => {
4
4
  requestUpdate: () => void;
5
5
  sync: (modal: ReactElement<IBaseModal>) => null;
6
6
  show: () => void;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IBaseModal } from './ui/types';
3
- export declare const useModalManager: (modal: () => ReactElement<IBaseModal>, modalId?: string | undefined) => {
3
+ export declare const useModalManager: (modal: () => ReactElement<IBaseModal>, modalId?: string) => {
4
4
  show: () => void;
5
5
  close: () => void;
6
6
  };
@@ -1 +1 @@
1
- export declare const Calendar: <T extends any>({ locale, ...rest }: any) => JSX.Element;
1
+ export declare const Calendar: <T extends SelectionType>({ locale, ...rest }: CalendarProps<T>) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { DatePickerProps, SelectionType } from '@tecsinapse/react-core';
2
2
  export declare type NativeDatePickerProps<T extends SelectionType> = Omit<DatePickerProps<T>, 'CalendarComponent' | 'renderCalendar' | 'requestCloseCalendar' | 'requestShowCalendar'>;
3
- export declare const DatePicker: <T extends any>({ locale, onChange, ...rest }: NativeDatePickerProps<T>) => JSX.Element;
3
+ export declare const DatePicker: <T extends SelectionType>({ locale, onChange, ...rest }: NativeDatePickerProps<T>) => JSX.Element;
@@ -3,5 +3,5 @@ import { IGridItem } from '@tecsinapse/react-core';
3
3
  export declare type IGridItemNative = IGridItem & ViewProps & {
4
4
  flexBasis?: string | 'auto';
5
5
  };
6
- declare const GridItem: ({ children, span, columns, loadingComponent, loading, spacing: _spacing, wrapper, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, justifyContent, flexBasis, style, ...rest }: IGridItemNative) => JSX.Element;
6
+ declare const GridItem: ({ children, span, columns, loadingComponent, loading, spacing, wrapper, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, justifyContent, flexBasis, style, ...rest }: IGridItemNative) => JSX.Element;
7
7
  export default GridItem;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { InputNativeProps } from '../../atoms/Input';
3
3
  import { TextInput } from 'react-native';
4
4
  export declare type InputPasswordNativeProps = InputNativeProps;
5
- declare const InputPassword: React.ForwardRefExoticComponent<Pick<InputNativeProps, string | number> & React.RefAttributes<TextInput>>;
5
+ declare const InputPassword: React.ForwardRefExoticComponent<Pick<InputNativeProps, keyof InputNativeProps> & React.RefAttributes<TextInput>>;
6
6
  export default InputPassword;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-native-kit",
3
3
  "description": "TecSinapse React Native components",
4
- "version": "1.22.0-beta.13+cb2e0a1",
4
+ "version": "1.22.1-beta.1+a77c737",
5
5
  "main": "dist/index.js",
6
6
  "module": "esm/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -17,10 +17,10 @@
17
17
  "yalc:show": "yalc installations show $npm_package_name"
18
18
  },
19
19
  "dependencies": {
20
- "@emotion/native": "^11.10.0",
21
- "@emotion/react": "^11.10.0",
22
- "@tecsinapse/react-core": "^1.21.0-beta.13+cb2e0a1",
23
- "react-native-linear-gradient": "^2.5.6"
20
+ "@emotion/native": "~11.10.0",
21
+ "@emotion/react": "~11.10.0",
22
+ "@tecsinapse/react-core": "^1.21.1-beta.1+a77c737",
23
+ "react-native-linear-gradient": "~2.5.6"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -42,5 +42,5 @@
42
42
  "devDependencies": {
43
43
  "@types/uuid": "^8.3.3"
44
44
  },
45
- "gitHead": "cb2e0a1873cfc3f45e793b5443297fb6fffce1b5"
45
+ "gitHead": "a77c73780d3fe6fb6a1538f79f5f58078cd2fefa"
46
46
  }