@kolkrabbi/kol-shell 0.123.0 → 0.124.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.
- package/package.json +6 -6
- package/src/FloatLayout.jsx +3 -3
- package/src/PropertyRail.jsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-shell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.124.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The application shell",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
"./src/*": "./src/*"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@kolkrabbi/kol-component": ">=0.
|
|
15
|
+
"@kolkrabbi/kol-component": ">=0.366.0",
|
|
16
16
|
"@kolkrabbi/kol-framework": ">=0.55.0",
|
|
17
17
|
"@kolkrabbi/kol-icons": ">=0.69.0",
|
|
18
|
-
"@kolkrabbi/kol-theme": ">=0.
|
|
18
|
+
"@kolkrabbi/kol-theme": ">=0.221.0",
|
|
19
19
|
"gsap": "^3.13.0",
|
|
20
20
|
"react": "^18.3.0 || ^19.0.0",
|
|
21
21
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@kolkrabbi/kol-component": "^0.
|
|
24
|
+
"@kolkrabbi/kol-component": "^0.366.0",
|
|
25
25
|
"@kolkrabbi/kol-icons": "^0.70.1",
|
|
26
|
-
"@kolkrabbi/kol-
|
|
27
|
-
"@kolkrabbi/kol-
|
|
26
|
+
"@kolkrabbi/kol-theme": "^0.221.0",
|
|
27
|
+
"@kolkrabbi/kol-framework": "^0.74.1"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"src",
|
package/src/FloatLayout.jsx
CHANGED
|
@@ -10,9 +10,9 @@ import RailDisplayControls from './RailDisplayControls.jsx'
|
|
|
10
10
|
/**
|
|
11
11
|
* FloatLayout — The float workspace frame (plan-2026-11-04-float-views W1.1 — kol-float--style 9:15449 "Adaptive
|
|
12
12
|
* workspace", its rules 9:15179). Assembled from the float chrome, nothing drawn here: the nav Rail (`NavRail
|
|
13
|
-
* variant="float"`) in three states — `expanded`
|
|
13
|
+
* variant="float"`) in three states — `expanded` 264, `collapsed` 72 (a section's rows open beside a slot on hover,
|
|
14
14
|
* RailFlyout), `hidden` 0 (RailTrigger and the breadcrumb take the corner) — the 64 TopControlsBar, the content slot,
|
|
15
|
-
* ONE inspector slot (PropertyRail,
|
|
15
|
+
* ONE inspector slot (PropertyRail, 264 on the sheet radius), and a `bottom` Rail under both. 24 round the page and between the Rails, 40 under the bar.
|
|
16
16
|
*
|
|
17
17
|
* Visibility controls space, selection controls content: a hidden Rail is never removed — Panels ▾ (PanelsRestore)
|
|
18
18
|
* shows in the bar exactly while one is hidden and brings it back as it was (the nav at its last width). Below `md` the
|
|
@@ -93,7 +93,7 @@ export default function FloatLayout({
|
|
|
93
93
|
setFly(item.sub?.length ? { item, el } : null)
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
/* the rail keys (useRailKeys): `\`
|
|
96
|
+
/* the rail keys (useRailKeys): `\` 264 ↔ 72, `⇧\` hide ↔ show at its last width (`lastShown`) */
|
|
97
97
|
useRailKeys(railKeys, {
|
|
98
98
|
onCollapse: () => { if (railNow !== 'hidden') { setFly(null); setRail(railNow === 'expanded' ? 'collapsed' : 'expanded') } },
|
|
99
99
|
onHide: () => setRail(railNow === 'hidden' ? lastShown.current : 'hidden'),
|
package/src/PropertyRail.jsx
CHANGED
|
@@ -4,7 +4,7 @@ import { IconLoader } from '@kolkrabbi/kol-icons'
|
|
|
4
4
|
/* taxonomy-ok: organism — kol-component's FloatModule holding kol-component fields (Input · Dropdown · Slider · ToggleSwitch · TabsRow) */
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* PropertyRail — The float inspector (float-everything W5 rows 65 · 66, 2026-11-04): a
|
|
7
|
+
* PropertyRail — The float inspector (float-everything W5 rows 65 · 66, 2026-11-04): a 264 sheet (`--kol-float-menu-r`,
|
|
8
8
|
* 16 in, 18 between) holding its header (the title in `kol-float-panel` and the collapse ⇥), chip tabs (TabsRow float),
|
|
9
9
|
* the selected object's line (glyph · name · eye) and sections — each a `kol-float-label` head with an optional + and
|
|
10
10
|
* rows that kol-component draws: `fields` two-up Inputs float, `select` a Dropdown, `slider` a Slider float with its
|
|
@@ -34,8 +34,8 @@ import { IconLoader } from '@kolkrabbi/kol-icons'
|
|
|
34
34
|
* @param {Function} onExpand the ↗ in the header — the tool's expanded form (the settings dialog); unset, none
|
|
35
35
|
* @param {ReactNode} footer the Rail's foot (a status line, the tool's action), after the sections
|
|
36
36
|
* @param {'solid'|'glass-dark'|'glass-light'} surface what the sheet is made of (default `solid`)
|
|
37
|
-
* @param {boolean} wide the wide module (`--kol-float-module-w-wide`,
|
|
38
|
-
* unset, the inspector (`--kol-float-module-w`,
|
|
37
|
+
* @param {boolean} wide the wide module (`--kol-float-module-w-wide`, 360): a tool Rail whose rows carry two controls;
|
|
38
|
+
* unset, the inspector (`--kol-float-module-w`, 264) — the two module widths of the float spec
|
|
39
39
|
* @param {number|string} width an explicit width (a phone's `100%`); unset, the module width
|
|
40
40
|
* @param {boolean} foldable the fold ⌃ in the header: the Rail folds to its header pill and opens again — every float
|
|
41
41
|
* panel is a module (the user, 2026-11-12: *"EVERYTHING IS FLOAT everything is MODULES"*)
|