@stapel/workspaces-react 0.22.0 → 0.22.1
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/CHANGELOG.md +6 -0
- package/MODULE.md +10 -0
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/nav-manifest.json +137 -0
- package/package.json +4 -1
- package/src/analytics/generated/events.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @stapel/workspaces-react
|
|
2
2
|
|
|
3
|
+
## 0.22.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2c284f0: Publish `nav-manifest.json` (listed in `files`, exported as `./nav-manifest` and `./nav-manifest.json`). Every earlier version generated it but left it out of the tarball, so a consumer could not read the pair's entries or its `workspaces.switcher` embed from the installed package.
|
|
8
|
+
|
|
3
9
|
## 0.22.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/MODULE.md
CHANGED
|
@@ -41,6 +41,16 @@ generated `llms.txt` (agent context) and `manifest.json` (machine catalog).
|
|
|
41
41
|
The completeness gate requires ≥1 demo per exported headless component; the
|
|
42
42
|
starter `Workspaces.demo.tsx` covers `WorkspacesProvider`. Demos never ship.
|
|
43
43
|
|
|
44
|
+
## Shell embed
|
|
45
|
+
|
|
46
|
+
`<WorkspaceSwitcher/>` (`/default`) is the pair's shell embed
|
|
47
|
+
`workspaces.switcher` (`src/nav/manifest.ts` `navEmbeds`: `topbar.start`,
|
|
48
|
+
member, order 10). It reads and writes `WorkspaceSelection`, the one selection
|
|
49
|
+
the workspace screens read, so it needs `<WorkspaceSelectionProvider>` above
|
|
50
|
+
it — the scaffold mounts that provider around the member shell whenever the
|
|
51
|
+
pair is selected. Outside a provider, or with no workspace, it renders nothing;
|
|
52
|
+
a failed list is a retry, never an empty select.
|
|
53
|
+
|
|
44
54
|
## Extension seams (frontend-standard §7)
|
|
45
55
|
|
|
46
56
|
- Client is injected via `<WorkspacesProvider>` / core's `StapelConfigProvider`
|
package/llms.txt
CHANGED
package/manifest.json
CHANGED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"package": "@stapel/workspaces-react",
|
|
3
|
+
"version": "0.22.1",
|
|
4
|
+
"entries": [
|
|
5
|
+
{
|
|
6
|
+
"id": "workspaces.list",
|
|
7
|
+
"labelKey": "workspaces.nav.workspaces",
|
|
8
|
+
"icon": "AppstoreOutlined",
|
|
9
|
+
"route": {
|
|
10
|
+
"path": "workspaces"
|
|
11
|
+
},
|
|
12
|
+
"component": {
|
|
13
|
+
"export": "WorkspacesPage",
|
|
14
|
+
"subpath": "default"
|
|
15
|
+
},
|
|
16
|
+
"placement": {
|
|
17
|
+
"level": "submenu",
|
|
18
|
+
"parentId": "account.root"
|
|
19
|
+
},
|
|
20
|
+
"menuVisibleDefault": true,
|
|
21
|
+
"requiresAuth": true,
|
|
22
|
+
"surface": "member",
|
|
23
|
+
"order": 10
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "workspaces.settings",
|
|
27
|
+
"labelKey": "workspaces.nav.settings",
|
|
28
|
+
"icon": "ProfileOutlined",
|
|
29
|
+
"route": {
|
|
30
|
+
"path": "workspaces/settings"
|
|
31
|
+
},
|
|
32
|
+
"component": {
|
|
33
|
+
"export": "WorkspaceSettings",
|
|
34
|
+
"subpath": "default"
|
|
35
|
+
},
|
|
36
|
+
"placement": {
|
|
37
|
+
"level": "submenu",
|
|
38
|
+
"parentId": "account.root"
|
|
39
|
+
},
|
|
40
|
+
"menuVisibleDefault": true,
|
|
41
|
+
"requiresAuth": true,
|
|
42
|
+
"surface": "member",
|
|
43
|
+
"order": 11
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "workspaces.members",
|
|
47
|
+
"labelKey": "workspaces.nav.members",
|
|
48
|
+
"icon": "UserOutlined",
|
|
49
|
+
"route": {
|
|
50
|
+
"path": "workspaces/members"
|
|
51
|
+
},
|
|
52
|
+
"component": {
|
|
53
|
+
"export": "MembersManager",
|
|
54
|
+
"subpath": "default"
|
|
55
|
+
},
|
|
56
|
+
"placement": {
|
|
57
|
+
"level": "submenu",
|
|
58
|
+
"parentId": "account.root"
|
|
59
|
+
},
|
|
60
|
+
"menuVisibleDefault": true,
|
|
61
|
+
"requiresAuth": true,
|
|
62
|
+
"surface": "member",
|
|
63
|
+
"order": 12
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "workspaces.invitations",
|
|
67
|
+
"labelKey": "workspaces.nav.invitations",
|
|
68
|
+
"icon": "MessageOutlined",
|
|
69
|
+
"route": {
|
|
70
|
+
"path": "workspaces/invitations"
|
|
71
|
+
},
|
|
72
|
+
"component": {
|
|
73
|
+
"export": "InvitationsPane",
|
|
74
|
+
"subpath": "default"
|
|
75
|
+
},
|
|
76
|
+
"placement": {
|
|
77
|
+
"level": "submenu",
|
|
78
|
+
"parentId": "account.root"
|
|
79
|
+
},
|
|
80
|
+
"menuVisibleDefault": true,
|
|
81
|
+
"requiresAuth": true,
|
|
82
|
+
"surface": "member",
|
|
83
|
+
"order": 13
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "workspaces.audit",
|
|
87
|
+
"labelKey": "workspaces.nav.audit",
|
|
88
|
+
"icon": "AuditOutlined",
|
|
89
|
+
"route": {
|
|
90
|
+
"path": "workspaces/audit"
|
|
91
|
+
},
|
|
92
|
+
"component": {
|
|
93
|
+
"export": "AuditTrailPane",
|
|
94
|
+
"subpath": "default"
|
|
95
|
+
},
|
|
96
|
+
"placement": {
|
|
97
|
+
"level": "submenu",
|
|
98
|
+
"parentId": "account.root"
|
|
99
|
+
},
|
|
100
|
+
"menuVisibleDefault": true,
|
|
101
|
+
"requiresAuth": true,
|
|
102
|
+
"surface": "member",
|
|
103
|
+
"order": 14
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "workspaces.invite",
|
|
107
|
+
"labelKey": "workspaces.nav.invite",
|
|
108
|
+
"icon": "MessageOutlined",
|
|
109
|
+
"route": {
|
|
110
|
+
"path": "/invite/:token"
|
|
111
|
+
},
|
|
112
|
+
"component": {
|
|
113
|
+
"export": "InviteAcceptPage",
|
|
114
|
+
"subpath": "default"
|
|
115
|
+
},
|
|
116
|
+
"placement": {
|
|
117
|
+
"level": "top"
|
|
118
|
+
},
|
|
119
|
+
"menuVisibleDefault": false,
|
|
120
|
+
"requiresAuth": false,
|
|
121
|
+
"surface": "public",
|
|
122
|
+
"order": 0
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"embeds": [
|
|
126
|
+
{
|
|
127
|
+
"id": "workspaces.switcher",
|
|
128
|
+
"slot": "topbar.start",
|
|
129
|
+
"component": {
|
|
130
|
+
"export": "WorkspaceSwitcher",
|
|
131
|
+
"subpath": "default"
|
|
132
|
+
},
|
|
133
|
+
"order": 10,
|
|
134
|
+
"surface": "member"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stapel/workspaces-react",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "Headless React flow pair for stapel-workspaces: typed API client, TanStack Query hooks, flow machines, headless components, and i18n keys. Zero visual opinion.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"./manifest": "./manifest.json",
|
|
33
33
|
"./manifest.json": "./manifest.json",
|
|
34
|
+
"./nav-manifest": "./nav-manifest.json",
|
|
35
|
+
"./nav-manifest.json": "./nav-manifest.json",
|
|
34
36
|
"./llms.txt": "./llms.txt",
|
|
35
37
|
"./package.json": "./package.json"
|
|
36
38
|
},
|
|
@@ -42,6 +44,7 @@
|
|
|
42
44
|
"MODULE.md",
|
|
43
45
|
"CHANGELOG.md",
|
|
44
46
|
"manifest.json",
|
|
47
|
+
"nav-manifest.json",
|
|
45
48
|
"llms.txt"
|
|
46
49
|
],
|
|
47
50
|
"size-limit": [
|