@shoplflow/base 0.32.37 → 0.32.39

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/index.cjs CHANGED
@@ -3706,6 +3706,7 @@ var InputButton = React3.forwardRef(
3706
3706
  useClear = true,
3707
3707
  rightSource,
3708
3708
  onClear,
3709
+ isError = false,
3709
3710
  width = "100%"
3710
3711
  } = _b, rest = __objRest(_b, [
3711
3712
  "value",
@@ -3717,6 +3718,7 @@ var InputButton = React3.forwardRef(
3717
3718
  "useClear",
3718
3719
  "rightSource",
3719
3720
  "onClear",
3721
+ "isError",
3720
3722
  "width"
3721
3723
  ]);
3722
3724
  var _a2, _b2;
@@ -3776,6 +3778,7 @@ var InputButton = React3.forwardRef(
3776
3778
  minHeight: "40px",
3777
3779
  maxHeight: "40px",
3778
3780
  width,
3781
+ isError,
3779
3782
  children: /* @__PURE__ */ jsxRuntime.jsxs(StyledInputButton, { onClick: handleOnClick, disabled, children: [
3780
3783
  /* @__PURE__ */ jsxRuntime.jsx(StyledInputButtonContent, __spreadValues({ className: "body1_400", value: text, ref }, rest)),
3781
3784
  /* @__PURE__ */ jsxRuntime.jsxs(exports.Stack.Horizontal, { align: "center", children: [
package/dist/index.d.cts CHANGED
@@ -1107,6 +1107,10 @@ interface InputButtonOptionProps extends Omit<InputHTMLAttributes<HTMLInputEleme
1107
1107
  * Clear 아이콘의 노출 유무를 설정합니다.
1108
1108
  */
1109
1109
  useClear?: boolean;
1110
+ /**
1111
+ * error 여부
1112
+ */
1113
+ isError?: boolean;
1110
1114
  onClick?: (e: MouseEvent<HTMLDivElement>) => void;
1111
1115
  /**
1112
1116
  * Input의 placeholder를 설정합니다.
package/dist/index.d.ts CHANGED
@@ -1107,6 +1107,10 @@ interface InputButtonOptionProps extends Omit<InputHTMLAttributes<HTMLInputEleme
1107
1107
  * Clear 아이콘의 노출 유무를 설정합니다.
1108
1108
  */
1109
1109
  useClear?: boolean;
1110
+ /**
1111
+ * error 여부
1112
+ */
1113
+ isError?: boolean;
1110
1114
  onClick?: (e: MouseEvent<HTMLDivElement>) => void;
1111
1115
  /**
1112
1116
  * Input의 placeholder를 설정합니다.
package/dist/index.js CHANGED
@@ -3679,6 +3679,7 @@ var InputButton = forwardRef(
3679
3679
  useClear = true,
3680
3680
  rightSource,
3681
3681
  onClear,
3682
+ isError = false,
3682
3683
  width = "100%"
3683
3684
  } = _b, rest = __objRest(_b, [
3684
3685
  "value",
@@ -3690,6 +3691,7 @@ var InputButton = forwardRef(
3690
3691
  "useClear",
3691
3692
  "rightSource",
3692
3693
  "onClear",
3694
+ "isError",
3693
3695
  "width"
3694
3696
  ]);
3695
3697
  var _a2, _b2;
@@ -3749,6 +3751,7 @@ var InputButton = forwardRef(
3749
3751
  minHeight: "40px",
3750
3752
  maxHeight: "40px",
3751
3753
  width,
3754
+ isError,
3752
3755
  children: /* @__PURE__ */ jsxs(StyledInputButton, { onClick: handleOnClick, disabled, children: [
3753
3756
  /* @__PURE__ */ jsx(StyledInputButtonContent, __spreadValues({ className: "body1_400", value: text, ref }, rest)),
3754
3757
  /* @__PURE__ */ jsxs(Stack_default.Horizontal, { align: "center", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/base",
3
- "version": "0.32.37",
3
+ "version": "0.32.39",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -91,7 +91,7 @@
91
91
  "react-dom": "^18.2.0",
92
92
  "simplebar-react": "^3.2.6",
93
93
  "@shoplflow/hada-assets": "^0.1.3",
94
- "@shoplflow/shopl-assets": "^0.11.3",
94
+ "@shoplflow/shopl-assets": "^0.11.4",
95
95
  "@shoplflow/utils": "^0.6.5"
96
96
  },
97
97
  "scripts": {