@teja-app/ui 0.0.17 → 0.0.18

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.
@@ -1030,11 +1030,29 @@ function FieldShell({
1030
1030
  full = true,
1031
1031
  htmlFor,
1032
1032
  testId,
1033
+ uppercaseLabel = false,
1033
1034
  children
1034
1035
  }) {
1035
1036
  const errorNode = fieldErrorNode(error2);
1036
1037
  const errored = hasFieldError(error2);
1037
- const labelText = label ? /* @__PURE__ */ jsxs("span", { style: { fontSize: 11.5, color: "var(--ink-2)", fontWeight: 500, display: "inline-flex", alignItems: "center", gap: 4 }, children: [
1038
+ const labelStyle = uppercaseLabel ? {
1039
+ fontSize: 10.5,
1040
+ color: "var(--ink-3)",
1041
+ fontWeight: 600,
1042
+ letterSpacing: "0.06em",
1043
+ textTransform: "uppercase",
1044
+ display: "inline-flex",
1045
+ alignItems: "center",
1046
+ gap: 4
1047
+ } : {
1048
+ fontSize: 11.5,
1049
+ color: "var(--ink-2)",
1050
+ fontWeight: 500,
1051
+ display: "inline-flex",
1052
+ alignItems: "center",
1053
+ gap: 4
1054
+ };
1055
+ const labelText = label ? /* @__PURE__ */ jsxs("span", { style: labelStyle, children: [
1038
1056
  label,
1039
1057
  required ? /* @__PURE__ */ jsx("span", { style: { color: "var(--danger)" }, children: "*" }) : null
1040
1058
  ] }) : null;