@cambly/syntax-core 5.1.0 → 5.3.0

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
@@ -857,6 +857,7 @@ var RadioButton = ({
857
857
  "data-testid": dataTestId,
858
858
  disabled = false,
859
859
  error = false,
860
+ id,
860
861
  label,
861
862
  name,
862
863
  onChange,
@@ -883,6 +884,7 @@ var RadioButton = ({
883
884
  {
884
885
  "data-testid": dataTestId,
885
886
  type: "radio",
887
+ id,
886
888
  name,
887
889
  className: (0, import_classnames8.default)(RadioButton_module_default.radioStyleOverride, {
888
890
  [RadioButton_module_default.smOverride]: size === "sm",
@@ -909,7 +911,7 @@ var RadioButton = ({
909
911
  })
910
912
  }
911
913
  ) : /* @__PURE__ */ jsx13("div", { className: (0, import_classnames8.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
912
- /* @__PURE__ */ jsx13(
914
+ label && /* @__PURE__ */ jsx13(
913
915
  Typography_default,
914
916
  {
915
917
  size: size === "md" ? 200 : 100,
@@ -1025,7 +1027,7 @@ var SelectList = ({
1025
1027
  {
1026
1028
  size: 100,
1027
1029
  color: errorText ? "destructive-primary" : "gray700",
1028
- children: errorText != null ? errorText : helperText
1030
+ children: errorText ? errorText : helperText
1029
1031
  }
1030
1032
  ) })
1031
1033
  ]