@kolkrabbi/kol-shell 0.78.0 → 0.78.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/package.json +2 -2
- package/src/StudioCreate.jsx +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-shell",
|
|
3
|
-
"version": "0.78.
|
|
3
|
+
"version": "0.78.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The application shell",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@kolkrabbi/kol-component": "^0.297.0",
|
|
25
24
|
"@kolkrabbi/kol-icons": "^0.45.0",
|
|
25
|
+
"@kolkrabbi/kol-component": "^0.297.0",
|
|
26
26
|
"@kolkrabbi/kol-framework": "^0.53.0",
|
|
27
27
|
"@kolkrabbi/kol-theme": "^0.185.0"
|
|
28
28
|
},
|
package/src/StudioCreate.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useEffect, useRef, useState } from 'react'
|
|
2
|
-
import { ActionButton, ContentCard, ContentFilters, ContentRow, Divider, PageHeader, SECTION_TEXT_LEVELS, CanvasStudio, IconFrame, useMediaQuery } from '@kolkrabbi/kol-component'
|
|
2
|
+
import { ActionButton, AppItemMenuProvider, ContentCard, ContentFilters, ContentRow, Divider, PageHeader, SECTION_TEXT_LEVELS, CanvasStudio, IconFrame, useMediaQuery } from '@kolkrabbi/kol-component'
|
|
3
3
|
import { Icon } from '@kolkrabbi/kol-icons'
|
|
4
4
|
import PageShell from './PageShell.jsx'
|
|
5
5
|
import CatalogGrid from './CatalogGrid.jsx'
|
|
@@ -200,7 +200,10 @@ export default function StudioCreate({
|
|
|
200
200
|
* props"*): a part is the `app` card and row, the files' own — no verbs, so no cog or trash; INSERT is the
|
|
201
201
|
* plate's action. On `CatalogGrid`, the Catalog's own grid, six at most, the list three across */
|
|
202
202
|
return (
|
|
203
|
-
/* the parts scroll in their own region — the page holds still on both views (user 2026-10-23)
|
|
203
|
+
/* the parts scroll in their own region — the page holds still on both views (user 2026-10-23). ONE MENU AND
|
|
204
|
+
* ONE RAIL for the parts too (0.78.1): a part is the Library's card — every field and icon — so its cog opens
|
|
205
|
+
* the same file rail and its right-click the same menu CatalogPage mounts */
|
|
206
|
+
<AppItemMenuProvider>
|
|
204
207
|
<div style={{ flex: 1, minHeight: 0, overflowY: 'auto', paddingBottom: 'calc(var(--kol-spacing-6) + var(--kol-shell-bar-clear, 0px))' }}>
|
|
205
208
|
<CatalogGrid layout={layout} onColumns={setCols} listColumns={3}>
|
|
206
209
|
{items.map((part) => {
|
|
@@ -217,6 +220,7 @@ export default function StudioCreate({
|
|
|
217
220
|
})}
|
|
218
221
|
</CatalogGrid>
|
|
219
222
|
</div>
|
|
223
|
+
</AppItemMenuProvider>
|
|
220
224
|
)
|
|
221
225
|
}}
|
|
222
226
|
/>
|