@functionalui/functionalui 0.1.2 → 0.1.3

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/types.d.ts CHANGED
@@ -2,6 +2,7 @@ import { AnimatedProps } from '@react-spring/web';
2
2
  import { ComponentType } from 'react';
3
3
  import { HTMLAttributes } from 'react';
4
4
  import { ReactNode } from 'react';
5
+ import { Ref } from 'react';
5
6
  import { RefObject } from 'react';
6
7
 
7
8
  declare interface AdmoitionSize {
@@ -1916,7 +1917,7 @@ declare interface TextAreaProp {
1916
1917
 
1917
1918
  export declare interface TextAreaProps extends AnimatedProps<HTMLAttributes<HTMLTextAreaElement>>, TextStyleProps, TextAreaProp {
1918
1919
  children?: ReactNode;
1919
- ref?: RefObject<HTMLTextAreaElement | null>;
1920
+ ref?: Ref<HTMLTextAreaElement> | undefined;
1920
1921
  }
1921
1922
 
1922
1923
  export declare enum TextAreaSizes {
@@ -1947,7 +1948,7 @@ declare interface TextInputProp {
1947
1948
 
1948
1949
  export declare interface TextInputProps extends AnimatedProps<HTMLAttributes<HTMLInputElement>>, TextStyleProps, TextInputProp {
1949
1950
  children?: ReactNode;
1950
- ref?: RefObject<HTMLInputElement | null>;
1951
+ ref?: Ref<HTMLInputElement> | undefined;
1951
1952
  }
1952
1953
 
1953
1954
  declare interface TextStyleProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalui/functionalui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"