@undefine-ui/design-system 3.8.0 → 3.8.2

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
@@ -9265,8 +9265,8 @@ var RHFSwitch = ({
9265
9265
  }
9266
9266
  ),
9267
9267
  label: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_Stack6.default, { children: [
9268
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_Typography11.default, { variant: "bodyMd", color: "text.header", fontWeight: 500, children: label }),
9269
- description && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_Typography11.default, { variant: "body2", color: "text.body", children: description })
9268
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_Typography11.default, { variant: "h8", color: "text.header", fontWeight: 500, children: label }),
9269
+ description && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_Typography11.default, { variant: "bodyXs", color: "text.body", children: description })
9270
9270
  ] }),
9271
9271
  sx: {
9272
9272
  alignItems: description ? "flex-start" : "center",
@@ -9761,8 +9761,8 @@ var RHFRadioGroup = ({
9761
9761
  }
9762
9762
  ),
9763
9763
  label: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_Stack7.default, { children: [
9764
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_Typography12.default, { variant: "bodyMd", color: "text.header", fontWeight: 500, children: option.label }),
9765
- option?.description && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_Typography12.default, { variant: "body2", color: "text.body", children: option?.description })
9764
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_Typography12.default, { variant: "h8", color: "text.header", fontWeight: 500, children: option.label }),
9765
+ option?.description && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_Typography12.default, { variant: "bodyXs", color: "text.body", children: option?.description })
9766
9766
  ] }),
9767
9767
  sx: {
9768
9768
  alignItems: option?.description ? "flex-start" : "center"
@@ -10106,8 +10106,8 @@ var RHFCheckbox = ({
10106
10106
  }
10107
10107
  ),
10108
10108
  label: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_Stack8.default, { children: [
10109
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_Typography13.default, { variant: "bodyMd", color: "text.header", fontWeight: 500, children: label }),
10110
- description && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_Typography13.default, { variant: "body2", color: "text.body", children: description })
10109
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_Typography13.default, { variant: "h8", color: "text.header", fontWeight: 500, children: label }),
10110
+ description && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_Typography13.default, { variant: "bodyXs", color: "text.body", children: description })
10111
10111
  ] }),
10112
10112
  sx: {
10113
10113
  alignItems: description ? "flex-start" : "center",
@@ -10788,8 +10788,15 @@ var RHFDatePickerComponent = ({
10788
10788
  onClick: () => setIsOpen(true),
10789
10789
  ...typeof slotProps?.textField === "object" ? slotProps.textField : {}
10790
10790
  },
10791
- openPickerButton: { onClick: () => setIsOpen(true) },
10792
- field: { clearable, onClear: () => setCleared(true) }
10791
+ openPickerButton: {
10792
+ onClick: () => setIsOpen(true),
10793
+ ...typeof slotProps?.openPickerButton === "object" ? slotProps.openPickerButton : {}
10794
+ },
10795
+ field: {
10796
+ clearable,
10797
+ onClear: () => setCleared(true),
10798
+ ...typeof slotProps?.field === "object" ? slotProps.field : {}
10799
+ }
10793
10800
  },
10794
10801
  ...other
10795
10802
  }
@@ -10845,8 +10852,15 @@ var RHFTimePickerComponent = ({
10845
10852
  onClick: () => setIsOpen(true),
10846
10853
  ...typeof slotProps?.textField === "object" ? slotProps.textField : {}
10847
10854
  },
10848
- openPickerButton: { onClick: () => setIsOpen(true) },
10849
- field: { clearable, onClear: () => setCleared(true) }
10855
+ openPickerButton: {
10856
+ onClick: () => setIsOpen(true),
10857
+ ...typeof slotProps?.openPickerButton === "object" ? slotProps.openPickerButton : {}
10858
+ },
10859
+ field: {
10860
+ clearable,
10861
+ onClear: () => setCleared(true),
10862
+ ...typeof slotProps?.field === "object" ? slotProps.field : {}
10863
+ }
10850
10864
  },
10851
10865
  ...other
10852
10866
  }
@@ -10902,8 +10916,15 @@ var RHFDateTimePickerComponent = ({
10902
10916
  onClick: () => setIsOpen(true),
10903
10917
  ...typeof slotProps?.textField === "object" ? slotProps.textField : {}
10904
10918
  },
10905
- openPickerButton: { onClick: () => setIsOpen(true) },
10906
- field: { clearable, onClear: () => setCleared(true) }
10919
+ openPickerButton: {
10920
+ onClick: () => setIsOpen(true),
10921
+ ...typeof slotProps?.openPickerButton === "object" ? slotProps.openPickerButton : {}
10922
+ },
10923
+ field: {
10924
+ clearable,
10925
+ onClear: () => setCleared(true),
10926
+ ...typeof slotProps?.field === "object" ? slotProps.field : {}
10927
+ }
10907
10928
  },
10908
10929
  ...other
10909
10930
  }