@cosmicdrift/kumiko-renderer 0.186.1 → 0.186.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/package.json +3 -3
- package/src/primitives.tsx +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-renderer",
|
|
3
|
-
"version": "0.186.
|
|
3
|
+
"version": "0.186.2",
|
|
4
4
|
"description": "Platform-agnostic React renderer for Kumiko screens. Contains the shared logic — primitives-contract, hooks, KumikoScreen, navigation & SSE abstractions — that any platform-specific renderer (web, native) composes. No DOM, no EventSource, no react-dom.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cosmicdrift/kumiko-framework": "0.186.
|
|
19
|
-
"@cosmicdrift/kumiko-headless": "0.186.
|
|
18
|
+
"@cosmicdrift/kumiko-framework": "0.186.2",
|
|
19
|
+
"@cosmicdrift/kumiko-headless": "0.186.2",
|
|
20
20
|
"react": "^19.2.6",
|
|
21
21
|
"temporal-polyfill": "^0.3.2"
|
|
22
22
|
},
|
package/src/primitives.tsx
CHANGED
|
@@ -144,6 +144,10 @@ export type FieldProps = {
|
|
|
144
144
|
* Control + Label nebeneinander (Box links, Label rechts) — für
|
|
145
145
|
* Checkbox/Switch-Felder (boolean), wie das shadcn-Muster. */
|
|
146
146
|
readonly layout?: "stacked" | "inline";
|
|
147
|
+
/** Collapses the visible label to `sr-only` — stays associated via
|
|
148
|
+
* `htmlFor` (no separate `aria-label` needed). For tables/grids whose
|
|
149
|
+
* column header already carries the label for each row. */
|
|
150
|
+
readonly hideLabel?: boolean;
|
|
147
151
|
readonly testId?: string;
|
|
148
152
|
};
|
|
149
153
|
|