@xsolla/xui-field-group 0.174.3 → 0.176.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  A cross-platform wrapper that adds a label, required indicator, optional icon, description, and helper text around a form field with consistent vertical spacing.
4
4
 
5
+ <!-- BEGIN:xui-mcp-instructions:field-group -->
6
+ This is a pattern component that wraps any form control or content block with a structured set of contextual elements — a label, helper text, and an optional content slot.
7
+
8
+ Field Group provides a consistent visual and semantic structure around interactive or informational content. It does not prescribe what goes inside — the content area accepts any child component, such as a text input, dropdown, toggle, date picker, or custom control.
9
+
10
+ Use Field Group whenever a form element or content block needs a label, description, or helper message. It ensures spacing, alignment, and accessibility attributes are applied consistently across different content types.
11
+ <!-- END:xui-mcp-instructions:field-group -->
12
+
5
13
  ## Installation
6
14
 
7
15
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-field-group",
3
- "version": "0.174.3",
3
+ "version": "0.176.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,8 +13,8 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-core": "0.174.3",
17
- "@xsolla/xui-primitives-core": "0.174.3"
16
+ "@xsolla/xui-core": "0.176.0",
17
+ "@xsolla/xui-primitives-core": "0.176.0"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "react": ">=16.8.0",