@imfusion/web-ui 0.10.1-dev.34.gb01a818e → 0.10.1-dev.37.g9147f90f
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imfusion/web-ui",
|
|
3
|
-
"version": "0.10.1-dev.
|
|
3
|
+
"version": "0.10.1-dev.37.g9147f90f",
|
|
4
4
|
"description": "The official Web UI component library for ImFusion web apps",
|
|
5
5
|
"author": "ImFusion GmbH",
|
|
6
6
|
"homepage": "https://imfusion.com",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"engines": {
|
|
14
|
-
"node": ">=
|
|
14
|
+
"node": "^22.22.1 || ^24.11 || >=26"
|
|
15
15
|
},
|
|
16
16
|
"imports": {
|
|
17
17
|
"#/*": "./src/*",
|
package/src/docgen/doc.gen.json
CHANGED
|
@@ -6715,6 +6715,13 @@
|
|
|
6715
6715
|
"type": "SelectValueType<Value, Multiple> | null",
|
|
6716
6716
|
"defaultValue": null,
|
|
6717
6717
|
"description": "The value of the select. Use when controlled."
|
|
6718
|
+
},
|
|
6719
|
+
{
|
|
6720
|
+
"name": "width",
|
|
6721
|
+
"required": false,
|
|
6722
|
+
"type": "\"auto\" | \"wide\" | \"full\" | null",
|
|
6723
|
+
"defaultValue": "auto",
|
|
6724
|
+
"description": "Trigger width: `auto` keeps the compact minimum; `wide` raises it; `full` fills the parent."
|
|
6718
6725
|
}
|
|
6719
6726
|
]
|
|
6720
6727
|
},
|
|
@@ -70,8 +70,10 @@ Cross-topic invalidation can then use `keys.topic` instead of rebuilding a prefi
|
|
|
70
70
|
|
|
71
71
|
## Options factories and naming
|
|
72
72
|
|
|
73
|
-
Queries use `get*` names such as `getAll`, `getById`, and `getDetails`. Mutations use
|
|
74
|
-
|
|
73
|
+
Queries use `get*` names such as `getAll`, `getById`, and `getDetails`. Mutations use verbs such as `update` or `delete`. A
|
|
74
|
+
name never repeats its topic or adds an `Options` suffix; `context.api.user.getDetails()` already supplies the context. When
|
|
75
|
+
a topic has more than one mutation target, add the sub-resource to the verb: `api.projects.removeMember(projectId)` and
|
|
76
|
+
`api.projects.setMemberPermissions(projectId)`, where a bare `remove` would read as deleting the project.
|
|
75
77
|
|
|
76
78
|
A query factory owns its key and parsing:
|
|
77
79
|
|