@opencxh/ui-kit 3.136.3 → 3.136.4

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.
@@ -41,8 +41,23 @@ export interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInput
41
41
  */
42
42
  labelClassName?: string;
43
43
  }
44
- /** Shared with TextArea / Select / DatePicker: uppercase section label. */
45
- export declare const fieldLabelClasses = "mb-1.5 block text-xs font-semibold uppercase tracking-label";
44
+ /**
45
+ * Shared with TextArea / Select / DatePicker.
46
+ *
47
+ * Sentence case, not the uppercase small-caps it used to be: a form is a page
48
+ * now, and every field label shouting in caps competes with the section titles
49
+ * beside them. Uppercase is still the section-label treatment (`tracking-label`),
50
+ * one level up.
51
+ */
52
+ export declare const fieldLabelClasses = "mb-1.5 block text-sm font-medium";
53
+ /**
54
+ * Shared field frame. A resting 1px edge in `border-strong` — a form field has
55
+ * to read as an empty box you can type in, which the lighter `border` used for
56
+ * structural rules does not do at this size.
57
+ */
58
+ export declare const fieldFrameClasses: string;
59
+ /** Resting / error edge, shared so every control agrees on what "invalid" looks like. */
60
+ export declare const fieldEdgeClasses: (hasError: boolean) => "border-border-strong" | "border-danger-border bg-danger-soft";
46
61
  /**
47
62
  * TextField component with theme integration and validation states
48
63
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/ui-kit",
3
- "version": "3.136.3",
3
+ "version": "3.136.4",
4
4
  "description": "Theme-aware UI component library for OpenCXH platform",
5
5
  "type": "module",
6
6
  "exports": {