@rehagro/ui 1.0.20 → 1.0.21

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.js CHANGED
@@ -166,6 +166,48 @@ var WarningIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
166
166
  )
167
167
  }
168
168
  );
169
+ var WarningCircleIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
170
+ "svg",
171
+ {
172
+ xmlns: "http://www.w3.org/2000/svg",
173
+ width: "1.1em",
174
+ height: "1.1em",
175
+ viewBox: "0 0 256 256",
176
+ fill: "currentColor",
177
+ "aria-hidden": "true",
178
+ ...props,
179
+ children: [
180
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "256", height: "256", fill: "none" }),
181
+ /* @__PURE__ */ jsxRuntime.jsx(
182
+ "circle",
183
+ {
184
+ cx: "128",
185
+ cy: "128",
186
+ r: "96",
187
+ fill: "none",
188
+ stroke: "currentColor",
189
+ "stroke-miterlimit": "10",
190
+ "stroke-width": "16"
191
+ }
192
+ ),
193
+ /* @__PURE__ */ jsxRuntime.jsx(
194
+ "line",
195
+ {
196
+ x1: "128",
197
+ y1: "136",
198
+ x2: "128",
199
+ y2: "80",
200
+ fill: "none",
201
+ stroke: "currentColor",
202
+ "stroke-linecap": "round",
203
+ "stroke-linejoin": "round",
204
+ "stroke-width": "16"
205
+ }
206
+ ),
207
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "128", cy: "172", r: "12" })
208
+ ]
209
+ }
210
+ );
169
211
  var SuccessIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
170
212
  "svg",
171
213
  {
@@ -1069,7 +1111,7 @@ var TextInput = React8.forwardRef(function TextInput2({
1069
1111
  ]
1070
1112
  }
1071
1113
  ),
1072
- helperText && /* @__PURE__ */ jsxRuntime.jsx(
1114
+ helperText && /* @__PURE__ */ jsxRuntime.jsxs(
1073
1115
  "span",
1074
1116
  {
1075
1117
  id: `${inputId}-helper`,
@@ -1077,7 +1119,10 @@ var TextInput = React8.forwardRef(function TextInput2({
1077
1119
  "rh-flex rh-items-center rh-gap-1 rh-text-xs",
1078
1120
  helperStatusClasses[status]
1079
1121
  ].join(" "),
1080
- children: helperText
1122
+ children: [
1123
+ /* @__PURE__ */ jsxRuntime.jsx(WarningCircleIcon, {}),
1124
+ helperText
1125
+ ]
1081
1126
  }
1082
1127
  )
1083
1128
  ]