@particle-network/ui-react 0.3.0-beta.1 → 0.3.0-beta.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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import ExtendedInput from './input.extend';
3
3
  export type UXInputProps = React.ComponentPropsWithRef<typeof ExtendedInput>;
4
- declare const UXInput: import("@heroui/system-rsc").InternalForwardRefRenderFunction<"input", Omit<{
4
+ declare const UXInput: React.ForwardRefExoticComponent<Omit<Omit<{
5
5
  fullWidth?: boolean | undefined;
6
6
  ref?: React.Ref<HTMLInputElement> | undefined;
7
7
  children?: React.ReactNode;
@@ -342,5 +342,5 @@ declare const UXInput: import("@heroui/system-rsc").InternalForwardRefRenderFunc
342
342
  wrapperRef?: React.Ref<HTMLDivElement> | undefined;
343
343
  innerWrapperRef?: React.Ref<HTMLDivElement> | undefined;
344
344
  textAlign?: "center" | "left" | "right" | undefined;
345
- }, "ref"> & React.RefAttributes<React.ReactElement<unknown, string | React.JSXElementConstructor<any>>>, never>;
345
+ }, "ref"> & React.RefAttributes<React.ReactElement<unknown, string | React.JSXElementConstructor<any>>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
346
346
  export default UXInput;
@@ -1,8 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import "react";
3
- import { forwardRef } from "@heroui/system";
2
+ import { forwardRef } from "react";
4
3
  import input_extend from "./input.extend.js";
5
- const UXInput_UXInput = forwardRef((props, ref)=>/*#__PURE__*/ jsx(input_extend, {
4
+ const UXInput_UXInput = /*#__PURE__*/ forwardRef((props, ref)=>/*#__PURE__*/ jsx(input_extend, {
6
5
  ...props,
7
6
  ref: ref
8
7
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.3.0-beta.1",
3
+ "version": "0.3.0-beta.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -39,8 +39,8 @@
39
39
  "@types/react": "^19.1.10",
40
40
  "react": "^19.1.0",
41
41
  "typescript": "^5.8.3",
42
- "@particle-network/lintstaged-config": "0.1.0",
43
- "@particle-network/eslint-config": "0.3.0"
42
+ "@particle-network/eslint-config": "0.3.0",
43
+ "@particle-network/lintstaged-config": "0.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.9.0",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "ahooks": "^3.9.4",
51
- "@particle-network/ui-shared": "0.1.1"
51
+ "@particle-network/ui-shared": "0.2.0-beta.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "rslib build",
@@ -128,11 +128,11 @@ module.exports = {
128
128
  DEFAULT: '#FFFFFF',
129
129
  },
130
130
  background: {
131
- 200: '#E8E8ED',
132
- 300: '#F0F0F2',
133
- 400: '#F8F8FA',
131
+ 200: '#F0F0F2',
132
+ 300: '#F8F8FA',
133
+ 400: '#FFFFFF',
134
134
  500: '#FFFFFF',
135
- DEFAULT: '#FFFFFF',
135
+ DEFAULT: '#F8F8FA',
136
136
  },
137
137
  foreground: {
138
138
  100: '#C0C0C9',