@rehagro/ui 1.0.20 → 1.0.22

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: "15",
174
+ height: "15",
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
+ strokeMiterlimit: "10",
190
+ strokeWidth: "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
+ strokeLinecap: "round",
203
+ strokeLinejoin: "round",
204
+ strokeWidth: "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
  ]
@@ -1562,7 +1607,7 @@ var Select = React8.forwardRef(function Select2(props, ref) {
1562
1607
  })
1563
1608
  }
1564
1609
  ),
1565
- helperText && /* @__PURE__ */ jsxRuntime.jsx(
1610
+ helperText && /* @__PURE__ */ jsxRuntime.jsxs(
1566
1611
  "span",
1567
1612
  {
1568
1613
  id: helperId,
@@ -1570,7 +1615,10 @@ var Select = React8.forwardRef(function Select2(props, ref) {
1570
1615
  "rh-flex rh-items-center rh-gap-1 rh-text-xs",
1571
1616
  helperStatusClasses2[status]
1572
1617
  ].join(" "),
1573
- children: helperText
1618
+ children: [
1619
+ /* @__PURE__ */ jsxRuntime.jsx(WarningCircleIcon, {}),
1620
+ helperText
1621
+ ]
1574
1622
  }
1575
1623
  )
1576
1624
  ]