@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.mjs CHANGED
@@ -160,6 +160,48 @@ var WarningIcon = (props) => /* @__PURE__ */ jsx(
160
160
  )
161
161
  }
162
162
  );
163
+ var WarningCircleIcon = (props) => /* @__PURE__ */ jsxs(
164
+ "svg",
165
+ {
166
+ xmlns: "http://www.w3.org/2000/svg",
167
+ width: "15",
168
+ height: "15",
169
+ viewBox: "0 0 256 256",
170
+ fill: "currentColor",
171
+ "aria-hidden": "true",
172
+ ...props,
173
+ children: [
174
+ /* @__PURE__ */ jsx("rect", { width: "256", height: "256", fill: "none" }),
175
+ /* @__PURE__ */ jsx(
176
+ "circle",
177
+ {
178
+ cx: "128",
179
+ cy: "128",
180
+ r: "96",
181
+ fill: "none",
182
+ stroke: "currentColor",
183
+ strokeMiterlimit: "10",
184
+ strokeWidth: "16"
185
+ }
186
+ ),
187
+ /* @__PURE__ */ jsx(
188
+ "line",
189
+ {
190
+ x1: "128",
191
+ y1: "136",
192
+ x2: "128",
193
+ y2: "80",
194
+ fill: "none",
195
+ stroke: "currentColor",
196
+ strokeLinecap: "round",
197
+ strokeLinejoin: "round",
198
+ strokeWidth: "16"
199
+ }
200
+ ),
201
+ /* @__PURE__ */ jsx("circle", { cx: "128", cy: "172", r: "12" })
202
+ ]
203
+ }
204
+ );
163
205
  var SuccessIcon = (props) => /* @__PURE__ */ jsx(
164
206
  "svg",
165
207
  {
@@ -1063,7 +1105,7 @@ var TextInput = forwardRef(function TextInput2({
1063
1105
  ]
1064
1106
  }
1065
1107
  ),
1066
- helperText && /* @__PURE__ */ jsx(
1108
+ helperText && /* @__PURE__ */ jsxs(
1067
1109
  "span",
1068
1110
  {
1069
1111
  id: `${inputId}-helper`,
@@ -1071,7 +1113,10 @@ var TextInput = forwardRef(function TextInput2({
1071
1113
  "rh-flex rh-items-center rh-gap-1 rh-text-xs",
1072
1114
  helperStatusClasses[status]
1073
1115
  ].join(" "),
1074
- children: helperText
1116
+ children: [
1117
+ /* @__PURE__ */ jsx(WarningCircleIcon, {}),
1118
+ helperText
1119
+ ]
1075
1120
  }
1076
1121
  )
1077
1122
  ]
@@ -1556,7 +1601,7 @@ var Select = forwardRef(function Select2(props, ref) {
1556
1601
  })
1557
1602
  }
1558
1603
  ),
1559
- helperText && /* @__PURE__ */ jsx(
1604
+ helperText && /* @__PURE__ */ jsxs(
1560
1605
  "span",
1561
1606
  {
1562
1607
  id: helperId,
@@ -1564,7 +1609,10 @@ var Select = forwardRef(function Select2(props, ref) {
1564
1609
  "rh-flex rh-items-center rh-gap-1 rh-text-xs",
1565
1610
  helperStatusClasses2[status]
1566
1611
  ].join(" "),
1567
- children: helperText
1612
+ children: [
1613
+ /* @__PURE__ */ jsx(WarningCircleIcon, {}),
1614
+ helperText
1615
+ ]
1568
1616
  }
1569
1617
  )
1570
1618
  ]