@nation-a/ui 0.2.0 → 0.2.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/dist/cjs/index.cjs +3 -3
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs +262 -242
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import { IconButton } from '@chakra-ui/react';
|
|
|
48
48
|
import { Image as Image_2 } from '@chakra-ui/react';
|
|
49
49
|
import { Input } from '@chakra-ui/react';
|
|
50
50
|
import { InputProps } from '@chakra-ui/react';
|
|
51
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
51
52
|
import { Kbd } from '@chakra-ui/react';
|
|
52
53
|
import { Link } from '@chakra-ui/react';
|
|
53
54
|
import { List } from '@chakra-ui/react';
|
|
@@ -82,6 +83,7 @@ import { Table } from '@chakra-ui/react';
|
|
|
82
83
|
import { Tabs } from '@chakra-ui/react';
|
|
83
84
|
import { Tag } from '@chakra-ui/react';
|
|
84
85
|
import { Textarea } from '@chakra-ui/react';
|
|
86
|
+
import { TextProps as TextProps_2 } from '@chakra-ui/react';
|
|
85
87
|
import { Timeline } from '@chakra-ui/react';
|
|
86
88
|
import { Toast } from '@chakra-ui/react';
|
|
87
89
|
import { Tooltip } from '@chakra-ui/react';
|
|
@@ -275,8 +277,18 @@ export { Tabs }
|
|
|
275
277
|
|
|
276
278
|
export { Tag }
|
|
277
279
|
|
|
280
|
+
declare function Text_2({ variant, as, children, style, ...props }: TextProps): JSX_2.Element;
|
|
281
|
+
export { Text_2 as Text }
|
|
282
|
+
|
|
278
283
|
export { Textarea }
|
|
279
284
|
|
|
285
|
+
declare interface TextProps extends Omit<TextProps_2, 'textStyle' | 'children'> {
|
|
286
|
+
variant?: string;
|
|
287
|
+
as?: default_2.ElementType;
|
|
288
|
+
children?: default_2.ReactNode;
|
|
289
|
+
style?: default_2.CSSProperties;
|
|
290
|
+
}
|
|
291
|
+
|
|
280
292
|
export declare const ThemeProvider: default_2.FC<{
|
|
281
293
|
children: default_2.ReactNode;
|
|
282
294
|
}>;
|