@zeturn/watercolor-react 1.1.43 → 1.1.45

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @zeturn/watercolor-react
2
2
 
3
- Watercolor UI components for React 18+. Built with TypeScript.
3
+ Watercolor UI components for React 18 and 19. Built with TypeScript.
4
4
 
5
5
  ## Install
6
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/ColorPicker/ColorPicker.jsx"],"names":[],"mappings":"AAIA;;;;;;;4CAoCC"}
1
+ {"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/ColorPicker/ColorPicker.jsx"],"names":[],"mappings":"AAIA;;;;;;;4CAqCC"}
@@ -1,4 +1,3 @@
1
- import { default as PropTypes } from 'prop-types';
2
1
  export default Icon;
3
2
  declare function Icon({ library, name, html, size, color, strokeWidth, variant, className, children, ...props }: {
4
3
  [x: string]: any;
@@ -14,15 +13,15 @@ declare function Icon({ library, name, html, size, color, strokeWidth, variant,
14
13
  }): import("react/jsx-runtime").JSX.Element;
15
14
  declare namespace Icon {
16
15
  namespace propTypes {
17
- let library: PropTypes.Requireable<string>;
18
- let name: PropTypes.Requireable<string>;
19
- let html: PropTypes.Requireable<string>;
20
- let size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
21
- let color: PropTypes.Requireable<string>;
22
- let strokeWidth: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
23
- let variant: PropTypes.Requireable<string>;
24
- let className: PropTypes.Requireable<string>;
25
- let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
+ let library: any;
17
+ let name: any;
18
+ let html: any;
19
+ let size: any;
20
+ let color: any;
21
+ let strokeWidth: any;
22
+ let variant: any;
23
+ let className: any;
24
+ let children: any;
26
25
  }
27
26
  }
28
27
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/Icon.jsx"],"names":[],"mappings":";AAgEA;;;;;;;;;;;4CAoJC;;;;;;;;;;;;;;sBAnNqB,YAAY"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/Icon.jsx"],"names":[],"mappings":";AAgFA;;;;;;;;;;;4CAoJC"}
@@ -14,11 +14,12 @@ export default List;
14
14
  * - disablePadding 是否禁用垂直内边距
15
15
  * - subheader 可选子标题(暂未实现渲染,保持 API 对齐)
16
16
  */
17
- declare function List({ children, dense, disablePadding, subheader, className, ...rest }: {
17
+ declare function List({ children, dense, disablePadding, nav, subheader, className, ...rest }: {
18
18
  [x: string]: any;
19
19
  children: any;
20
20
  dense?: boolean | undefined;
21
21
  disablePadding?: boolean | undefined;
22
+ nav?: boolean | undefined;
22
23
  subheader?: string | undefined;
23
24
  className?: string | undefined;
24
25
  }): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/List/List.jsx"],"names":[],"mappings":"AAIA;;GAEG;AACH;;GAA0D;;kBAPrB,OAAO;AAS5C;;;;;;;GAOG;AACH;;;;;;;4CAkBC"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/List/List.jsx"],"names":[],"mappings":"AAIA;;GAEG;AACH;;GAA0D;;kBAPrB,OAAO;AAS5C;;;;;;;GAOG;AACH;;;;;;;;4CAmBC"}