ownui-system 1.0.0 → 1.0.2

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.
@@ -3,6 +3,7 @@ type DividerProps = {
3
3
  color?: string;
4
4
  direction?: "horizontal" | "vertical";
5
5
  margin?: string;
6
+ className?: string;
6
7
  };
7
- declare function Divider({ size, margin, color, direction, }: DividerProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function Divider({ size, margin, className, color, direction, }: DividerProps): import("react/jsx-runtime").JSX.Element;
8
9
  export default Divider;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, PropsWithChildren } from 'react';
1
+ import { ComponentProps, CSSProperties } from 'react';
2
2
 
3
3
  type TextProps = {
4
4
  fontSize?: CSSProperties["fontSize"];
@@ -6,6 +6,7 @@ type TextProps = {
6
6
  color?: CSSProperties["color"];
7
7
  bold?: boolean;
8
8
  needGradient?: boolean;
9
- } & PropsWithChildren;
10
- declare function Text({ fontSize, fontWeight, color, bold, needGradient, children, }: TextProps): import("react/jsx-runtime").JSX.Element;
9
+ className?: string;
10
+ } & ComponentProps<"span">;
11
+ declare function Text({ fontSize, fontWeight, color, bold, needGradient, className, children, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
11
12
  export default Text;
@@ -12,8 +12,10 @@ export { default as Checkbox } from './Checkbox';
12
12
  export { default as Radio } from './Radio';
13
13
  export { default as Pagination } from './Pagination';
14
14
  export { default as Switch } from './Switch';
15
+ export { default as Tab } from './Tab';
15
16
  export { default as Accordion } from './Accordion';
16
17
  export { default as Drawer } from './Drawer';
18
+ export { default as Tooltip } from './Tooltip';
17
19
  export { default as Flex } from './shared/Flex';
18
20
  export { default as Spacing } from './shared/Spacing';
19
21
  export { default as Portal } from './shared/Portal';