@particle-network/ui-react 0.3.0-beta.2 → 0.3.0-beta.4

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
  }));
@@ -81,7 +81,7 @@ export interface TextProps extends React.HTMLAttributes<HTMLSpanElement> {
81
81
  * | default | - | - |
82
82
  * | foreground | #FFFFFF | #000000 |
83
83
  * | secondary | #A1A1AA | #767A80 |
84
- * | tertiary | #4E4E56 | #C0C0C9 |
84
+ * | tertiary | #4E4E56 | #D8D8DE |
85
85
  * | primary | #D745FF | #000000 |
86
86
  * | success | #45B167 | #2E9F4A |
87
87
  * | danger | #E84A5A | #DE4A40 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.3.0-beta.2",
3
+ "version": "0.3.0-beta.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "ahooks": "^3.9.4",
51
- "@particle-network/ui-shared": "0.2.0-beta.0"
51
+ "@particle-network/ui-shared": "0.2.0-beta.1"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "rslib build",
@@ -135,7 +135,7 @@ module.exports = {
135
135
  DEFAULT: '#F8F8FA',
136
136
  },
137
137
  foreground: {
138
- 100: '#C0C0C9',
138
+ 100: '#D8D8DE',
139
139
  300: '#767A80',
140
140
  500: '#000000',
141
141
  DEFAULT: '#000000',
@@ -156,7 +156,7 @@ module.exports = {
156
156
  foreground: '#FFFFFF',
157
157
  },
158
158
  tertiary: {
159
- DEFAULT: '#C0C0C9',
159
+ DEFAULT: '#D8D8DE',
160
160
  foreground: '#000000',
161
161
  },
162
162
  success: {
@@ -172,7 +172,7 @@ module.exports = {
172
172
  foreground: '#FFFFFF',
173
173
  },
174
174
  focus: '#D745FF',
175
- divider: '#E0E0E6',
175
+ divider: '#E8E8ED',
176
176
  alert: '#E65E16',
177
177
  gold: '#F38300',
178
178
  },