@gemboss/ui 0.56.0 → 0.58.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/CHANGELOG.md +176 -0
- package/README.md +60 -1
- package/catalog/editor.html +1 -1
- package/catalog/index.html +3 -3
- package/gemboss-ui.css +2 -2
- package/package.json +19 -1
- package/parts/components.css +1 -1
- package/parts/core.css +1 -1
- package/parts/shell.css +1 -1
- package/src/assistant/host.tsx +21 -5
- package/src/assistant/sessions.tsx +36 -18
- package/src/collections.css +1 -1
- package/src/collections.tsx +15 -4
- package/src/dialog.tsx +4 -1
- package/src/editor/chips.tsx +24 -0
- package/src/editor/controls.tsx +18 -7
- package/src/editor/index.ts +3 -1
- package/src/editor/picker.tsx +9 -3
- package/src/editor/repeater.tsx +26 -14
- package/src/editor/swatch.ts +86 -0
- package/src/editor-chips.css +1 -0
- package/src/editor-color.css +1 -1
- package/src/editor-picker.css +1 -1
- package/src/editor-plain.js +1 -1
- package/src/editor-popover.css +1 -1
- package/src/editor-rail.css +1 -0
- package/src/editor.css +1 -1
- package/src/index-table.tsx +1 -1
- package/src/index.ts +7 -0
- package/src/job-card.css +1 -0
- package/src/job-card.tsx +130 -0
- package/src/narration.css +1 -0
- package/src/save-bar.css +1 -0
- package/src/save-bar.tsx +50 -0
- package/src/skill-flow/canvas.tsx +574 -0
- package/src/skill-flow/index.ts +10 -0
- package/src/skill-flow/layout.ts +229 -0
- package/src/skill-flow/model.ts +256 -0
- package/src/skill-flow.css +1 -0
- package/src/skill-stats.css +1 -0
- package/src/skill-stats.tsx +213 -0
- package/src/skill-view.css +1 -0
- package/src/skill-view.tsx +257 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,182 @@ Versions up to 0.9.0 are described in the README, each in the section that intro
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.58.0 (04/11/2026)
|
|
8
|
+
|
|
9
|
+
**The shared skills UI: a job card for the chat, a skill popup, a skill's usage, and a skill's flow on its own lazy entry** (03/11/2026,
|
|
10
|
+
Chris approved the plan "Clone cả store", S5: GemBoss's Assistant › Skills and content-radar's /v2/skills draw the same pieces).
|
|
11
|
+
|
|
12
|
+
Added
|
|
13
|
+
- `JobCard` (`title`, `meta`, `progress`, `steps`, `maxSteps`, `actions`, `labels`) and `jobStepWindow` / `jobProgressShare` (pure): a
|
|
14
|
+
background job pinned in a narrow chat panel or a phone; a thin iris bar, steps as dots with their state in words, at most four round
|
|
15
|
+
the running step and "+N more". Its own entry, `@gemboss/ui/job-card.css`.
|
|
16
|
+
- `SkillView` (a `ReaderDialog` with `back`, `icon`, `intro`, `facts`, `why` and `tabs` as slots; a tab with no content is not drawn),
|
|
17
|
+
`SkillViewSection`, `SkillRuleList`, `SkillGroup` and `SkillCard` (the list it opens from: a job's cards; an icon tile, a title, one
|
|
18
|
+
line, "advertorial · v2"), `SKILL_VIEW_TABS`. Its own entry, `@gemboss/ui/skill-view.css`.
|
|
19
|
+
- `SkillStats` (one entry of the skills usage read: runs, stores, engines with at least one run as a `ShareBar`, outcomes, the rule that
|
|
20
|
+
blocked most, fidelity, published share, versions side by side; "No runs yet" otherwise), `SKILL_ENGINES`, `engineParts`. Its own
|
|
21
|
+
entry, `@gemboss/ui/skill-stats.css`.
|
|
22
|
+
- `@gemboss/ui/skill-flow`: `SkillFlow`, the read-only flow canvas lifted from content-radar (React Flow + dagre), with the lanes a prop
|
|
23
|
+
(`phases`) instead of content-radar's writer phases, and `layoutFlow`; `@gemboss/ui/skill-flow/model`: `validateFlow(input, { phases })`,
|
|
24
|
+
`flowWithHtml`, `phasesIn`, `shortTool`, the zoom maths. Its own entry, `@gemboss/ui/skill-flow.css`. `@xyflow/react` (>= 12.3) and
|
|
25
|
+
`@dagrejs/dagre` (>= 1.1) are OPTIONAL peers: only this entry imports them, never the index.
|
|
26
|
+
- `Dialog` (and so `ReaderDialog`) takes `lead`: a node first in the head, left of the title ("← Skills"), not part of the popup's name.
|
|
27
|
+
|
|
28
|
+
**A form that holds what it has not saved has the kit's Save bar** (03/11/2026, KIT-004, canvas frame-save-toast).
|
|
29
|
+
|
|
30
|
+
Added
|
|
31
|
+
- `SaveBar` (`dirty`, `saving`, `onSave`, `onDiscard`; `message`, `saveLabel`, `discardLabel`, `error`): the ink bar above a form saved
|
|
32
|
+
on its own route, "Unsaved changes" with Discard beside Save. It draws nothing while nothing waits, both buttons are off while a save
|
|
33
|
+
runs (Save reads "Saving…"), and a refused save's reason is said in it as an alert. Its own entry, `@gemboss/ui/save-bar.css`. The
|
|
34
|
+
admin's Focus frame drew it as `FocusSaveBar` until now; that part is now this one.
|
|
35
|
+
|
|
36
|
+
**A mix at shares reads and paints too** (03/11/2026, the admin's gradient rows, Control UI C13).
|
|
37
|
+
|
|
38
|
+
Added
|
|
39
|
+
- In `swatch.ts`, `mixSides` (and `MixPart`): the two sides of an sRGB `color-mix` with their shares, as CSS reads them (a share
|
|
40
|
+
before or after the colour, on one side or on both when they make 100, none for half each). One reading of these rules: the
|
|
41
|
+
colour box uses it, and so does the admin's gradient Add.
|
|
42
|
+
|
|
43
|
+
Changed
|
|
44
|
+
- `mixOf` reads a mix at shares (`color-mix(in srgb, var(--gem-color-border) 75%, #eeeeee)`); each side carries its `share` and
|
|
45
|
+
whether the value wrote one (`weighted`). `mixName` says the shares when they are not half and half ("Border 75% + #eeeeee
|
|
46
|
+
25%"), and `mixColor` paints at them. Shares that do not make 100 (CSS changes the alpha then) stay no mix.
|
|
47
|
+
- `ColorControl`'s title says "(half of each)" only for a half-and-half mix.
|
|
48
|
+
- `swatchWhy` (and `editor-plain.js`, which says the same) names a half-and-half mix as before, and says "A mix of colors. Type a
|
|
49
|
+
color to use your own." for any other `color-mix` instead of "Kept as written … not a gradient or a name". The plain script
|
|
50
|
+
does not name shares: its weight is at its ceiling.
|
|
51
|
+
|
|
52
|
+
**A mixed colour says what it mixes** (03/11/2026, the admin's gradient rows, Control UI C13).
|
|
53
|
+
|
|
54
|
+
Added
|
|
55
|
+
- In `swatch.ts`, `mixOf` / `mixName` / `mixColor`: `color-mix(in srgb, A, B)`, half of each, read when each side is a theme colour
|
|
56
|
+
or one colour (a gradient's "+ Add color" between theme colours writes one).
|
|
57
|
+
- `ColorControl` names such a value over its box ("Border + #eeeeee · Mix") instead of showing the code, and paints its swatch
|
|
58
|
+
with the mix when its `choices` say the theme colours; without them `swatchWhy` says "A mix of Border and #eeeeee, half of
|
|
59
|
+
each." instead of "Kept as written". `editor-plain.js` says the same (held by `editor-plain-swatch-why.test.ts`).
|
|
60
|
+
|
|
61
|
+
**A picker row's reason is never cut** (02/11/2026, the admin's Add products dialog at 320 px).
|
|
62
|
+
|
|
63
|
+
Fixed
|
|
64
|
+
- In `editor-picker.css`, `.gemboss-ei-pick-note`: a note longer than the row's whole line (a locked row's reason in a phone's
|
|
65
|
+
dialog: "Draft: shoppers can't see it, so it would show nothing.") wraps instead of ending in "…"; the rest gives way on that
|
|
66
|
+
row, as it already did when the note filled the line. A note that fits stays on its line before the rest, and the rows keep 56px.
|
|
67
|
+
|
|
68
|
+
**A list adds several rows in one write, and a picker ticks several** (02/11/2026, the admin's element panel, Control UI C24: a
|
|
69
|
+
product list's "+ Add products").
|
|
70
|
+
|
|
71
|
+
Changed
|
|
72
|
+
- `useKeyedRows`' `add` takes any number of rows (`add(...rows)`) and writes them in ONE commit, so several added together are one
|
|
73
|
+
save and one step to undo. One row, as every caller passes today, writes as before.
|
|
74
|
+
|
|
75
|
+
Added
|
|
76
|
+
- `PickerList`'s `checked` (a `ReadonlySet` of keys): the list is `aria-multiselectable`, every row in the set has the check and
|
|
77
|
+
`aria-selected`, and a pick is the caller's tick or untick. Without it the list chooses one, as before.
|
|
78
|
+
|
|
79
|
+
**A message sent into a running turn says when Gem reads it** (01/11/2026, the admin's chat, narration P4d).
|
|
80
|
+
|
|
81
|
+
Added
|
|
82
|
+
- In `narration.css`, `.gemboss-narr-steer-note`: the muted "· Gem reads it at its next step" after a message the seller sent into a
|
|
83
|
+
running turn, until its run reads it, and "· not read" when the turn ended first. It shares the plan card's waiting note's rule.
|
|
84
|
+
|
|
85
|
+
**A question stops the plan at its step** (01/11/2026, the admin's chat, narration P4c).
|
|
86
|
+
|
|
87
|
+
Added
|
|
88
|
+
- In `narration.css`, `.gemboss-narr-plan-wait`: the muted "· waiting for your answer" after the plan card's step a question stopped
|
|
89
|
+
the turn at, drawn as the step being worked on (`.current`) until the seller answers.
|
|
90
|
+
|
|
91
|
+
**The turn's plan is one card at its top** (01/11/2026, the admin's chat, narration P4a).
|
|
92
|
+
|
|
93
|
+
Changed
|
|
94
|
+
- `@gemboss/ui/narration-link.css` is now `@gemboss/ui/narration.css`: the narration timeline's own entry, as it now holds more than
|
|
95
|
+
a step's link (its Undo from here, and the plan card). Its one consumer, admin `NarrationTimeline`, imports the new name.
|
|
96
|
+
|
|
97
|
+
Added
|
|
98
|
+
- In `narration.css`, the plan card: `.gemboss-narr-plan` (one card first in the turn's list), its head and count ("Plan · 2 of 4"),
|
|
99
|
+
and each step (`.gemboss-narr-plan-step` `.done` / `.current`). Nothing in it moves; open steps are muted, never crossed out.
|
|
100
|
+
|
|
101
|
+
**An activity row can show its kind with an icon** (01/11/2026, the admin's Store › Journal, UI book ST-7: "rows are bare dots").
|
|
102
|
+
|
|
103
|
+
Added
|
|
104
|
+
- `CompactList variant="activity"`: an item's `icon` is drawn in the dot's place, in the existing 20px `.ui-list__icon` slot, which
|
|
105
|
+
the activity list makes opaque and positioned so the rail does not run through it (one rule, +8 bytes gzip). The icon carries its
|
|
106
|
+
own colour; `tone` colours the dot only. Without `icon` the row is as before.
|
|
107
|
+
|
|
108
|
+
**A step in the chat can show its section** (31/10/2026, the page editor's chat, narration P3a).
|
|
109
|
+
|
|
110
|
+
Added
|
|
111
|
+
- `@gemboss/ui/narration-link.css` (31/10/2026), its own entry: in the page editor's chat, a step that touched a section of the page is
|
|
112
|
+
a button that selects that section on the canvas (`.gemboss-narr-link`, admin `NarrationTimeline`). It reads as the row's words,
|
|
113
|
+
underlined on hover and focus, 24px tall. Not in chat.css because the bundle that holds chat.css is frozen.
|
|
114
|
+
|
|
115
|
+
**The thread rail's first row can be the surface's, and its search can wait to be asked for** (31/10/2026, the admin's Gem page,
|
|
116
|
+
UI book AS-1).
|
|
117
|
+
|
|
118
|
+
Added
|
|
119
|
+
- `SessionRail` `head`: drawn in `.gemboss-assistant-rail-top` in place of New chat and collapse (the surface wires `onNewChat` and
|
|
120
|
+
`onToggleCollapsed` to its own buttons). `searchShown` (default true): false draws the search box only while it holds words;
|
|
121
|
+
`onSearchDone` says when it was left empty (Escape, or the focus gone). No CSS. Without them the rail is as before.
|
|
122
|
+
|
|
123
|
+
**The thread rail takes rows of the surface's own above the threads** (29/10/2026, the admin's chat corner, slice 3).
|
|
124
|
+
|
|
125
|
+
Added
|
|
126
|
+
- `SessionRail` `top`: drawn as given between search and the threads, in a collapsed rail and on a phone too (the surface styles
|
|
127
|
+
its rows for both). No CSS. Without it the rail is as before.
|
|
128
|
+
|
|
129
|
+
**The dock's header can say who you are talking to** (29/10/2026, the admin's chat corner, slice 1b).
|
|
130
|
+
|
|
131
|
+
Added
|
|
132
|
+
- `AssistantHost`: `heading` (what the header says in the title's place; `title` still names the region and the status bar),
|
|
133
|
+
`hideTabs` (keep both panes, draw no tab row: the surface switches itself) and `overlay` (a third pane over both, both stay
|
|
134
|
+
mounted; `false` is no overlay). No CSS: the overlay reuses `.gb-dock-pane`, the heading is the surface's own. Without them the
|
|
135
|
+
host is as before.
|
|
136
|
+
|
|
137
|
+
**A popover drawn in place opens under the whole row** (04/11/2026, gemboss: a label beside every setting that fits one row).
|
|
138
|
+
|
|
139
|
+
Fixed
|
|
140
|
+
- `editor-popover.css`: in a group's `Field row`, a `Popover` drawn in place (no top layer, `canFloatMenus()` false) spans both columns
|
|
141
|
+
instead of the ~150px control column. Floating popovers are unchanged.
|
|
142
|
+
|
|
143
|
+
## 0.57.0 (31/10/2026)
|
|
144
|
+
|
|
145
|
+
**Collections · show the whole text when the text is the content** (31/10/2026, Content Radar: "các mục content in ra cần viết đầy đủ để
|
|
146
|
+
cho người viết đọc được đừng giới hạn dấu ...").
|
|
147
|
+
|
|
148
|
+
Added
|
|
149
|
+
- `IndexTable`: a primary column with `wrap: true` (`CollectionColumn.wrap`) shows each row's title whole, wrapping, instead of one line
|
|
150
|
+
cut at `truncate` / 40ch (`ui-table__primary--wrap`). For a table whose title IS what people read: `titleText` is mouse-only.
|
|
151
|
+
- `ResourceList subtitleLines`: how many lines of each item's subtitle show (default 2, as before); `0` shows the whole subtitle
|
|
152
|
+
(`--ui-list-sub-lines`). For a list whose subtitle IS the content (a post's text). `wrap` (0.33.5) already does this for titles.
|
|
153
|
+
Defaults are unchanged.
|
|
154
|
+
|
|
155
|
+
**An inspector group holding nothing can be a chip** (31/10/2026, Control UI C32 slice 3 in gemboss; Chris chose "cả hai: gộp + lối tắt").
|
|
156
|
+
|
|
157
|
+
Added
|
|
158
|
+
- `InspectorChips` (`@gemboss/ui/editor`) and its own part `@gemboss/ui/editor-chips.css` (parts.mjs, export, weight ceiling 955 B):
|
|
159
|
+
a run of groups that wraps; a group marked `data-chip` is its first child alone as a pill, 28px under a mouse and 44 under a finger,
|
|
160
|
+
8px apart; the others keep the whole width. The admin's element panel draws its empty shared groups (Size, Shape, Effects, Align
|
|
161
|
+
folded; Background, Hover not added) as chips, which brought Spacing up 72–146px (by kind, measured at 1280).
|
|
162
|
+
|
|
163
|
+
Changed
|
|
164
|
+
- `editor.css`: a folded group's padding is weighed as the group's own, `.gemboss-ei-grp:where(:has(>.gemboss-ei-gh[data-open=closed]))`
|
|
165
|
+
(0,1,0, after `.gemboss-ei-grp`), not (0,3,0). Same look; a part's rule on a group (a chip's) sets its padding without outweighing
|
|
166
|
+
it, in whatever order the two sheets load. The finger tier's media query is written one way everywhere,
|
|
167
|
+
`(pointer: coarse),(max-width:47.9975em)`: the file had two spellings, and one paid for the new rule's bytes (8,688 B, ceiling 8,690).
|
|
168
|
+
|
|
169
|
+
**The page editor keeps a 56px rail beside it** (31/10/2026, UI book SH-2; gemboss #5787 and its review).
|
|
170
|
+
|
|
171
|
+
Added
|
|
172
|
+
- `editor-rail.css`, a new entry (`@gemboss/ui/editor-rail.css`, 951 B gzip, ceiling 1463). From 761px: `.gemboss-pageedit--rail`
|
|
173
|
+
puts the editor frame (and its fixed Layers drawer) 56px in, from the server's HTML, and until `body.gemboss-editor-rail` is set
|
|
174
|
+
draws the rail's column itself (a box-shadow: no icons yet, nothing moves when they come). With `body.gemboss-editor-rail` the
|
|
175
|
+
shell's rail stands from the top of the screen, 56px wide, as icons: 32px under a mouse (12 + 32 + 12), 44px under a finger
|
|
176
|
+
(6 + 44 + 6). The label is visually hidden (still the row's accessible name) and shows beside the rail on `:focus-visible`; a
|
|
177
|
+
count or Home's dot sits on the icon's corner; the scroll box shades the edge past which there are more hubs.
|
|
178
|
+
`body.gemboss-editor-rail-open` opens it to 240px over the editor. z-index 310, 330 open or holding focus (the page editor is 320,
|
|
179
|
+
the admin's ⌘K palette 400). `.gemboss-editor-rail-foot` is the foot row's box. Beside the rail the page editor's body stacks
|
|
180
|
+
at 1056 (not 1000) and `.gemboss-pageedit-scope` hides at 1256 (not 1200): the editor is the screen less 56px.
|
|
181
|
+
- Its own entry, not editor.css: editor.css sits at its ceiling (8688 / 8690 B), and the rules are the page editor's route's only.
|
|
182
|
+
|
|
7
183
|
## 0.56.0 (30/10/2026)
|
|
8
184
|
|
|
9
185
|
**A folded inspector group hides a row field placed straight in it** (30/10/2026, found building Control UI C32 in gemboss).
|
package/README.md
CHANGED
|
@@ -70,7 +70,10 @@ its CSS out of the build with it (`sideEffects`). gzip of the minified file, as
|
|
|
70
70
|
| editor | `@gemboss/ui/editor.css` | `packages/ui/src/editor.css` | the editors | 7.9 KB | the `@gemboss/ui/editor` components import it |
|
|
71
71
|
| editor-repeater | `@gemboss/ui/editor-repeater.css` | `packages/ui/src/editor-repeater.css` | `RepeaterList`: a setting that is a list, as rows | 0.9 KB | `RepeaterList` imports it |
|
|
72
72
|
| editor-tiles | `@gemboss/ui/editor-tiles.css` | `packages/ui/src/editor-tiles.css` | `ChoiceTiles`: a closed choice of shapes as picture tiles | 0.5 KB | `ChoiceTiles` imports it |
|
|
73
|
+
| editor-chips | `@gemboss/ui/editor-chips.css` | `packages/ui/src/editor-chips.css` | `InspectorChips`: a run of inspector groups where one holding nothing is a chip | 0.4 KB | `InspectorChips` imports it |
|
|
73
74
|
| editor-insert | `@gemboss/ui/editor-insert.css` | `packages/ui/src/editor-insert.css` | the page editor's insert menu (the + on a picked element) | 0.6 KB | admin `InsertElementMenu` imports it |
|
|
75
|
+
| narration | `@gemboss/ui/narration.css` | `packages/ui/src/narration.css` | the narration timeline's own: a step that selects its section, its Undo from here, the plan card pinned at the top of a turn | 0.6 KB | admin `NarrationTimeline` imports it |
|
|
76
|
+
| editor-rail | `@gemboss/ui/editor-rail.css` | `packages/ui/src/editor-rail.css` | the page editor's 56px rail: the editor frame 56px in, the shell's rail beside it as icons, opened to 240px over the editor (unreleased) | 0.9 KB | admin `EditorRailToggle` imports it |
|
|
74
77
|
| reactions | `@gemboss/ui/reactions.css` | `packages/ui/src/reactions.css` | the emoji reactions and their picker | 0.8 KB | `Reactions` / `ReactionPicker` import it |
|
|
75
78
|
| assistant-engine | `@gemboss/ui/assistant-engine.css` | `packages/ui/src/assistant-engine.css` | the engine picker (chip + Settings › AI & engines) and the bridge notice | 1.9 KB | `EnginePicker` / `EngineSettings` / `BridgeNotice` import it |
|
|
76
79
|
| chat | `@gemboss/ui/chat.css` + `chat-composer.css` | `packages/ui/src/chat.css`, `packages/ui/src/chat-composer.css` | the chat body, the composer | 3.0 + 0.9 KB | the chat components (0.29.0); a page writing the markup links them |
|
|
@@ -83,6 +86,7 @@ its CSS out of the build with it (`sideEffects`). gzip of the minified file, as
|
|
|
83
86
|
| team-chat | `@gemboss/ui/team-chat.css` | `packages/ui/src/team-chat.css` | the team chat layer (20/10/2026): rail, messages, composer, thread and people panels, the screen's layout | 3.6 KB | `TeamChat` and its pieces import it (with `Avatar`'s portal.css and `Reactions`' reactions.css); a plain-HTML page links it (README "The team chat layer") |
|
|
84
87
|
| question-card | `@gemboss/ui/question-card.css` | `packages/ui/src/question-card.css` | `QuestionCard`: the assistant's one question with one to three answers, the pick chosen (0.43.0) | 0.9 KB | `QuestionCard` imports it |
|
|
85
88
|
| briefing-card | `@gemboss/ui/briefing-card.css` | `packages/ui/src/briefing-card.css` | `BriefingCard`: one proposal at the top of a screen, on an iris wash (0.43.0) | 0.5 KB | `BriefingCard` imports it |
|
|
89
|
+
| save-bar | `@gemboss/ui/save-bar.css` | `packages/ui/src/save-bar.css` | `SaveBar`: the ink bar above a form that holds what it has not saved, Discard beside Save, a refused save said in it (KIT-004, unreleased) | 0.4 KB | `SaveBar` imports it; a plain-HTML page links it |
|
|
86
90
|
| range-bar | `@gemboss/ui/range-bar.css` | `packages/ui/src/range-bar.css` | `RangeBar`: a value against a market's spread on one axis (0.43.0) | 0.6 KB | `RangeBar` imports it |
|
|
87
91
|
| progress-ring | `@gemboss/ui/progress-ring.css` | `packages/ui/src/progress-ring.css` | `ProgressRing`: "3 of 5" as a ring (0.43.0) | 0.2 KB | `ProgressRing` imports it |
|
|
88
92
|
| spot-art | `@gemboss/ui/spot-art.css` | `packages/ui/src/spot-art.css` | `SpotArt`: six brand pictures for pauses and empty states (0.43.0) | 0.4 KB | `SpotArt` imports it |
|
|
@@ -91,6 +95,10 @@ its CSS out of the build with it (`sideEffects`). gzip of the minified file, as
|
|
|
91
95
|
| status-matrix | `@gemboss/ui/status-matrix.css` | `packages/ui/src/status-matrix.css` | `StatusMatrix`: rows × columns of "live / total" cells on the kit table, all live or has drafts (unreleased) | 0.3 KB | `StatusMatrix` imports it; a plain-HTML page links it |
|
|
92
96
|
| translation-row | `@gemboss/ui/translation-row.css` | `packages/ui/src/translation-row.css` | `TranslationRow`: one string under review, source beside target, the checks and the action (unreleased) | 0.6 KB | `TranslationRow` imports it; a plain-HTML page links it |
|
|
93
97
|
| status-list | `@gemboss/ui/status-list.css` | `packages/ui/src/status-list.css` | `StatusList`: a quiet system-health strip, a dot, a name and one sentence each (unreleased) | 0.5 KB | `StatusList` imports it; a plain-HTML page links it |
|
|
98
|
+
| job-card | `@gemboss/ui/job-card.css` | `packages/ui/src/job-card.css` | `JobCard`: a background job pinned in a narrow chat panel or a phone, a thin bar, its steps as dots, "+N more" (03/11/2026, unreleased) | 0.9 KB | `JobCard` imports it |
|
|
99
|
+
| skill-view | `@gemboss/ui/skill-view.css` | `packages/ui/src/skill-view.css` | `SkillView`, `SkillViewSection`, `SkillRuleList`, `SkillGroup`, `SkillCard`: one skill in a ReaderDialog, tabs as slots, and the cards it opens from (03/11/2026, unreleased) | 1.7 KB | `SkillView` imports it (with reader-dialog.css) |
|
|
100
|
+
| skill-stats | `@gemboss/ui/skill-stats.css` | `packages/ui/src/skill-stats.css` | `SkillStats`: one skill's usage, runs, engines, outcomes, versions (03/11/2026, unreleased) | 1.0 KB | `SkillStats` imports it (and minichart.css through ShareBar) |
|
|
101
|
+
| skill-flow | `@gemboss/ui/skill-flow.css` | `packages/ui/src/skill-flow.css` | `SkillFlow`: a skill's flow canvas, its OWN lazy entry `@gemboss/ui/skill-flow` (React Flow + dagre, optional peers) (03/11/2026, unreleased) | 3.4 KB | the canvas imports it, with `@xyflow/react/dist/style.css` |
|
|
94
102
|
| gems | `@gemboss/ui/gems.css` | `packages/ui/src/gems.css` | The four gems: `--gemboss-gem-emerald` / `-ruby` / `-amber` (sapphire is the iris accent) and the rail count in ruby. Colour with a job: ruby = look here, emerald = it is working, amber = connect and wait; never a button fill (unreleased) | 0.1 KB | the surface links it beside its core (the bundle is frozen) |
|
|
95
103
|
| gem-holo | `@gemboss/ui/gem-holo.css` | `packages/ui/src/gem-holo.css` | `GemHolo`: Gem, alive, the four gems as one light that morphs and turns while Gem works; CSS only, still under reduced motion (unreleased) | 0.5 KB | `GemHolo` imports it; `@gemboss/ui/gem-holo` loads it after the page |
|
|
96
104
|
| bundle | `@gemboss/ui/gemboss-ui.css` | `gemboss-ui.css` | core + components + shell + auth + assistant + chat + portal + theme-dark | 21.9 KB | compatibility only (see CHANGELOG 0.23.0) |
|
|
@@ -804,9 +812,11 @@ import "@gemboss/ui/editor.css"; // only on the screens that show an editor
|
|
|
804
812
|
| Settings drawer | `.gemboss-settings` › `.gemboss-picker-head` + `.gemboss-settings-body` › the kit's `Field`s (`.gemboss-ei-fld`), `.gemboss-settings-grouphead`, `-gen`, `-note`, `-error`; `.gemboss-settings-foot` (`-save`, `-cancel`); backdrop `.gemboss-picker-backdrop`, empty `.gemboss-picker-empty` |
|
|
805
813
|
| Page / section editor bar | `.gemboss-pageedit` (`-top`, `-title`, `-kind`, `-status`, `-standing`, `-scope`, `-modes`, `-notice`, `-chip`, `-pv`; the left cluster's gap is `--gemboss-tb-gap`, 12px, for a child that hands it back; above 1000px the bar's tracks are `auto fit-content(100%) auto`, so its free space sits beside the centre), `.gemboss-sec-type`, section insert `.gemboss-sec-insert-*`, draft preview `.gemboss-page-draft-stage` / `-status`, `.gemboss-page-section-content`, global styles bundle `.gemboss-bundle-look` |
|
|
806
814
|
| Try door bar | `.gemboss-editor-topbar--guest` › `.gemboss-guest-brand` (`.gemboss-guest-mark`), `-note`, `-keep`, `-signin` |
|
|
815
|
+
| Rail beside the page editor (`editor-rail.css`, its own entry) | From 761px: the editor frame with `.gemboss-pageedit--rail` starts 56px in (its `.gemboss-layers` too) and draws the rail's column until `body.gemboss-editor-rail` is set; then the shell's rail (`nav.icon-nav`) stands beside it as a column of icons, 32px under a mouse, 44 under a finger, the name beside the rail on keyboard focus. `body.gemboss-editor-rail-open` opens it to 240px over the editor. The foot row: `.gemboss-editor-rail-foot` › a `RailItem`. Beside the rail the body stacks at 1056 and the scope line hides at 1256 (the editor is 56px narrower than the screen). UI book SH-2 |
|
|
807
816
|
|
|
808
817
|
Not here, on purpose: the body modes that hide the admin's own topbar and rail while an editor is open
|
|
809
|
-
(`gemboss-editor-fullscreen`, `-just-exited`, `-layer-open
|
|
818
|
+
(`gemboss-editor-fullscreen`, `-just-exited`, `-layer-open`; the rail beside the page editor is the package's, the row above,
|
|
819
|
+
because it draws the rail and the editor's edge together) and admin-only extensions such as the product studio's
|
|
810
820
|
resizer. The frame and its top bar are React components since 0.14.0 ("Editor frame" below), with their behaviour for
|
|
811
821
|
plain HTML in `editor-plain.js`; the panel and its controls are components since 0.17.0 ("Settings panel" below, step 3); the
|
|
812
822
|
layers, the element outline and the drawer since 0.22.0 ("Layers and drawer" below, step 4). Step 5 moves GemFactory's
|
|
@@ -927,6 +937,7 @@ import { ColorControl, EdgeBox, Field, ImageControl, InspectorGroup, PanelAction
|
|
|
927
937
|
| `PanelTabs` | `variant="column"`: `.gemboss-ec-tabs` › `.gemboss-ec-tab` (Configure · Chat, `icon` before the label). `variant="inspector"`: `.gemboss-ei-tabs` › `.gemboss-ei-tab(.on)` | `role=tablist` / `tab`, `aria-selected`, `data-value` (the tab's id, for plain HTML), `aria-controls` from a tab's `controls`. `roving` (default on): only the selected tab is a Tab stop, ←/→ move the selection and the focus, wrapping. The admin's Configure · Chat row passes `roving={false}` (both tabs Tab stops, no arrows: how it always behaved). |
|
|
928
938
|
| `PanelHeader`, `PanelAction` | `header.gemboss-ei-head` › `.gemboss-ei-title` (+ `small` subtitle) · `.gemboss-ei-act` buttons · `.gemboss-ei-x` ✕ | ✕ only with `onClose` (a docked panel has none); `onDragStart` adds `.gemboss-ei-drag` and takes the mouse-down of a floating panel. |
|
|
929
939
|
| `InspectorGroup` | `.gemboss-ei-grp` › `button.gemboss-ei-gh` (13px / 650, the chevron at its end, `note` as `.gemboss-ei-gh-note`) + the body | `aria-expanded`, `data-open`; closed, CSS hides everything after the header (`.gemboss-ei-grp>.gemboss-ei-gh[data-open="closed"]~*`, a class heavier than any field's own `display`; the body stays mounted; an inline `display` on the body's first element would still win over that, so give it a bare wrapper). Controlled (`open` + `onOpenChange`, which receives the NEXT state) or not (`defaultOpen`). `attrs`: `data-*` on the group itself, so a page that finds groups by an attribute needs no wrapper (a wrapper drops the divider between groups). `collapsible={false}`: the schema form's static group, `section.gemboss-ei-group` › `h4.gemboss-ei-grouphead` + `hint`. |
|
|
940
|
+
| `InspectorChips` | `.gemboss-ei-chips` › groups in their own order; a group marked `data-chip` (an `InspectorGroup`'s `attrs`, or a `.gemboss-ei-grp` line of the caller's) is its first child alone as a pill (28px, 44 under a finger, 8px apart, no chevron); the others take the whole width | Its own part, `editor-chips.css` (31/10/2026, Control UI C32 slice 3: the element panel's empty shared groups). The caller marks and unmarks a group; it stays the same element under the same parent, so a chip that opens keeps the focus. editor.css weighs a folded group's padding as the group's own (`:where(:has(…))`, (0,1,0)), so a chip's rule needs no extra weight. |
|
|
930
941
|
| `Field` | `.gemboss-ei-fld` › `label` (13px / 500; `htmlFor`; `labelValue` as `.gemboss-ei-rangeval` at its right edge) · control · `hint` | No label when `label` is undefined / null. `className` (the admin's `togrow`), `style`. `aside`: a control on the label line, at its right, beside the label and not in it (a spacing field's shape). |
|
|
931
942
|
| `Seg` | `.gemboss-ei-seg[role=group]` › `button[aria-pressed][data-value]` (`.on`) | A click hands back the option's value; `label` names the group; `style` on the group. |
|
|
932
943
|
| `ColorControl` | `.gemboss-ei-color` › `button.gemboss-ei-swatch` + text box | The swatch opens the kit's picker (Popover + ColorPicker), which commits on every pick (a drag at most every 80 ms). The text box keeps a draft, each key sent to `onDraft` for a host that holds unsaved edits, and commits on blur (every blur) or Enter. A value the swatch cannot show (a token, a gradient) disables it and says why under it (`swatchState`). |
|
|
@@ -2871,6 +2882,53 @@ import { StagePath, StatusMatrix, TranslationRow, StatusList } from "@gemboss/ui
|
|
|
2871
2882
|
<StatusList label="System" items={[{ key: "backups", label: "Backups", text: "nightly · last 22 Oct", tone: "ok", href: "#/settings" }]} />
|
|
2872
2883
|
```
|
|
2873
2884
|
|
|
2885
|
+
## The skills UI (03/11/2026, unreleased): `JobCard`, `SkillView`, `SkillStats`, and `SkillFlow` on its own entry
|
|
2886
|
+
|
|
2887
|
+
GemBoss's Assistant › Skills and content-radar's /v2/skills show the same things about a skill (Chris approved the shared UI on
|
|
2888
|
+
03/11/2026: "an idea lands in both"), so the pieces live here. content-radar drew them first (SkillDialog, SkillView, SkillFlow,
|
|
2889
|
+
24–26/10/2026); these are those, with every content-radar import made a prop.
|
|
2890
|
+
|
|
2891
|
+
| Piece | What it draws |
|
|
2892
|
+
| --- | --- |
|
|
2893
|
+
| `JobCard` | a job running in the background, for a chat panel ≥ 340px and a phone: `title`, `meta` (one short line; `progress` adds "5/8" before it), `progress: { done, total }` as a 4px iris bar, `steps: [{ label, status }]` (`queued` · `running` · `done` · `failed` · `skipped`) as 7px dots with the state in words beside each, at most `maxSteps` (default 4) chosen round the running step (`jobStepWindow`, pure), the rest behind "+N more"; `actions: [{ label, onClick, primary?, href? }]` as kit buttons. No steps, no progress: a title and its line. Presentational: the surface fetches and polls. |
|
|
2894
|
+
| `SkillView` | one skill in the kit's `ReaderDialog`: `back` ("← Skills" first in the head), `icon`, `intro` (one line), `facts` (quiet chips), `why` (folded behind "Why?"), and `tabs: [{ key, label, count?, content }]`, a tab drawn only when its content is not null, in the order given (`SKILL_VIEW_TABS`: Overview · Flow · Rules · History · Lessons · Stats). The tab row is the kit's `ui-tabs`, sticks to the top while the body scrolls, and the arrow keys move along it. `tab` + `onTab` to hold the tab yourself, else `defaultTab`. `SkillViewSection` (a small heading, a one-line note, the body) and `SkillRuleList` (code, rule, one line, and how it is held: `door`, `gate`, `finish`, `publish`, `measured`, `seeded`, `declared`) are the blocks the tabs are made of. `SkillGroup` (a job's name, one line, a grid of cards) and `SkillCard` (a kit icon on an iris tile, the title, one line, a foot "advertorial · v2" and a stat when there is one; a button, or a link with `href`) are the list the popup opens from. Props only, no fetching. |
|
|
2895
|
+
| `SkillStats` | ONE entry of the usage read both products answer (`GET …/skills/usage?days=N`: `runs`, `runs_7d`, `stores?`, `by_engine`, `outcomes`, `top_blocked_by`, `avg_fidelity`, `published_rate`, `last_used_at`, `by_version`). It draws the counts, who ran it (the kit's `ShareBar` over the engines with at least one run, in a fixed order with a fixed colour each, `SKILL_ENGINES`; one engine is a full bar and "All on Claude", no legend), how runs ended (dots and words, zero outcomes hidden), the rule that blocked it most, the percentages when known, and the versions side by side when there are two. No entry or no runs: "No runs yet", never a zero dressed as data. |
|
|
2896
|
+
| `SkillFlow` (`@gemboss/ui/skill-flow`) | a skill's flow as a read-only React Flow canvas: `flow` (checked by `validateFlow`), `phases: [{ key, label }]` (the lanes, the surface's own: GemBoss's packs Read · Frame · Build · Check, content-radar's writer phases), `labels`, `note`, `highlight` (a phase key to light), `toolPrefixes`, `mdClassName`. Lanes side by side from a 1100px frame, one stream below; click a box for its details, tools, examples and next steps; zoom bar, ⌘ / Ctrl + wheel, + / − / 0; Expand opens it in a ReaderDialog nearly the whole window. |
|
|
2897
|
+
|
|
2898
|
+
**The flow canvas is its own entry, and it is lazy.** `@xyflow/react` and `@dagrejs/dagre` are OPTIONAL peers of the kit: only
|
|
2899
|
+
`@gemboss/ui/skill-flow` imports them, the index never does (`css-on-demand.test.ts` holds that the index's CSS has no flow in it).
|
|
2900
|
+
A surface that draws flows installs both and loads the entry where a flow is drawn:
|
|
2901
|
+
|
|
2902
|
+
```tsx
|
|
2903
|
+
// Next: no server render (the canvas measures its frame before it places a box).
|
|
2904
|
+
const SkillFlow = dynamic(() => import("@gemboss/ui/skill-flow").then((m) => m.SkillFlow), { ssr: false });
|
|
2905
|
+
<SkillFlow flow={flow} phases={[{ key: "read", label: "Read" }, { key: "frame", label: "Frame" }, { key: "build", label: "Build" }, { key: "check", label: "Check" }]} />
|
|
2906
|
+
```
|
|
2907
|
+
|
|
2908
|
+
`@gemboss/ui/skill-flow/model` is the data side alone, no peer: `validateFlow(input, { phases })` (one error listing every
|
|
2909
|
+
problem), `flowWithHtml`, `phasesIn`, `shortTool`, the zoom maths. A server checks a flow.json with it before a browser gets one.
|
|
2910
|
+
The flow format: `{ direction: "TB" | "LR", nodes: [{ id, label, kind: start | step | decision | stop | exit | end, phase,
|
|
2911
|
+
detail?, tools?, human?, examples?: [{ title, kind: input | output | good | bad | tool, md }] }], edges: [{ from, to, label?,
|
|
2912
|
+
kind: normal | yes | no | loop }] }`; one start, at least one end, no dead end, every node reachable.
|
|
2913
|
+
|
|
2914
|
+
**An app's bare `button:hover` rule cannot paint these.** content-radar's global rule painted a plain `<button>` tile black
|
|
2915
|
+
(gemlabs #1530); every button these pieces draw has its own class with its own hover and active states, and
|
|
2916
|
+
`skills-ui-browser.test.tsx` hovers each under that rule (negative control: a plain tile does turn black).
|
|
2917
|
+
|
|
2918
|
+
```tsx
|
|
2919
|
+
import { JobCard, SkillView, SkillStats, SkillRuleList, SkillViewSection } from "@gemboss/ui";
|
|
2920
|
+
|
|
2921
|
+
<JobCard title="Clone store · glp1sos.com" meta="~3 min left" progress={{ done: 5, total: 8 }}
|
|
2922
|
+
steps={[{ label: "Header + footer", status: "done" }, { label: "Home page", status: "running" }, { label: "Shop all", status: "queued" }]}
|
|
2923
|
+
actions={[{ label: "View", primary: true, onClick: view }]} />
|
|
2924
|
+
<SkillView open={!!id} onClose={close} back={{ label: "Skills" }} title="Advertorial" subtitle="advertorial · v2"
|
|
2925
|
+
intro="A pre-sell page that warms a stranger before the offer." tabs={[
|
|
2926
|
+
{ key: "flow", label: "Flow", content: flow ? <SkillFlow flow={flow} phases={PHASES} /> : null },
|
|
2927
|
+
{ key: "rules", label: "Rules", count: rules.length, content: <SkillRuleList rules={rules} /> },
|
|
2928
|
+
{ key: "stats", label: "Stats", content: <SkillStats usage={usage} days={30} /> },
|
|
2929
|
+
]} />
|
|
2930
|
+
```
|
|
2931
|
+
|
|
2874
2932
|
## Collections (0.13.0): tables, lists, grids, boards
|
|
2875
2933
|
|
|
2876
2934
|
Chris settled these on 05/10/2026 after an inventory of 136 hand-made collections on 11 surfaces (86 tables scrolling
|
|
@@ -3123,6 +3181,7 @@ something the base cannot express, add a token or a prop here, and every surface
|
|
|
3123
3181
|
| `packages/ui/src/icon.svg` | 0.5.0: the GemBoss app icon, for `<link rel="icon" type="image/svg+xml">`. Must stay byte-identical to `apps/admin/src/app/icon.svg` (`kit-look.test.ts` checks). |
|
|
3124
3182
|
| `packages/ui/src/**/*.tsx` | the components, as TypeScript source. Next: add `@gemboss/ui` to `transpilePackages`. Vite compiles it as is. |
|
|
3125
3183
|
| `packages/ui/src/next/` | 0.10.0, `@gemboss/ui/next`: `NavLink`, `PendingLink`, `PendingIcon`, `NAV_DWELL_MS`. Needs `next` >= 15.3 (optional peer; only this entry imports it). See "Navigation pending". |
|
|
3184
|
+
| `packages/ui/src/skill-flow/` | 03/11/2026, `@gemboss/ui/skill-flow`: `SkillFlow`, `layoutFlow`, and the model (`@gemboss/ui/skill-flow/model`: `validateFlow`, `flowWithHtml`, the zoom maths). Needs `@xyflow/react` >= 12.3 and `@dagrejs/dagre` >= 1.1 (optional peers; only this entry imports them). See "The skills UI". |
|
|
3126
3185
|
|
|
3127
3186
|
`gemboss-ui.css` is never committed and never edited. To change a colour or a radius, change
|
|
3128
3187
|
`packages/ui/src/gemboss-tokens.css` / `packages/ui/src/ui.css`; to change the rail, the topbar or the thread rail,
|
package/catalog/editor.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.cat-code summary{padding:10px 16px;font-size:13px;cursor:pointer;color:var(--gemboss-text-muted);border-top:1px solid var(--gemboss-divider);min-height:24px}
|
|
9
9
|
.cat-code pre,.cat-api{margin:0;padding:12px 16px;overflow:auto;background:#0f1012;color:#e8e8e6;font-size:12px;line-height:1.5;border-radius:0}
|
|
10
10
|
.cat-api{border-radius:12px;margin:0 0 16px}</style></head><body><div class="cat">
|
|
11
|
-
<h1>@gemboss/ui 0.
|
|
11
|
+
<h1>@gemboss/ui 0.58.0 · Editor</h1>
|
|
12
12
|
<p>Khung của mọi editor: <code>EditorFrame</code> (cột trái · khe kéo · preview · cột phải dock trên mép phải preview) và <code>EditorTopbar</code> (← · tiêu đề · cụm giữa · cụm phải · dòng trạng thái). Là đúng khung của theme / page / section editor trong admin. Gói chỉ vẽ KHUNG; chat, Configure, canvas, page picker, menu, Publish là của editor, đi vào bằng slot. Trang HTML thuần nạp <code>editor.css</code> + <code>editor-plain.js</code> rồi gọi <code>gembossUI.initEditorFrame()</code>: kéo khe (chuột, chạm, phím mũi tên / Home / End), đổi thiết bị, mở ⋯ và Publish ▾, ẩn cột trái, Chat | Preview trên điện thoại. <a href="index.html">← Catalog</a></p>
|
|
13
13
|
<h2>React</h2><pre class="cat-api"><code>import "@gemboss/ui/editor.css";
|
|
14
14
|
import { EditorFrame, EditorTopbar, EditorBack, EditorChatToggle, EditorPaneTabs, EditorSaveState, DeviceToggle } from "@gemboss/ui/editor";
|
package/catalog/index.html
CHANGED
|
@@ -27,7 +27,7 @@ body{margin:0;background:var(--gemboss-app-bg,#f1f1f1);color:var(--gemboss-text)
|
|
|
27
27
|
@media (max-width:760px){.cat{grid-template-columns:1fr;padding:16px}.cat-nav{position:static;flex-direction:row;flex-wrap:wrap}}
|
|
28
28
|
</style></head><body>
|
|
29
29
|
<div class="cat"><nav class="cat-nav" aria-label="Mục"><a href="#tokens">Token</a><a href="#buttons">Nút</a><a href="#fields">Ô nhập</a><a href="#choice">Tab, nhóm nút, thẻ</a><a href="#surfaces">Thẻ, số liệu, bảng, trạng thái trống</a><a href="#report">Báo cáo</a><a href="#collections">Bảng, list, lưới, board</a><a href="#resizer">Thanh kéo giữa hai cột</a><a href="#modal">Hộp thoại, toast, menu (JS thuần)</a><a href="#sheet">Ngăn trượt cạnh phải</a><a href="#reader">Hộp đọc tài liệu</a><a href="#settings">Hộp cài đặt</a><a href="#switcher">Chuyển dịch vụ</a><a href="#shell">Khung app</a><a href="#nav">Chờ điều hướng</a><a href="#page">Bề rộng nội dung</a><a href="#portal">Cổng công khai: tab trên topbar, tìm kiếm, sáng / tối, người dẫn đầu</a><a href="#site">Trang công khai: thanh trên, logo cỡ site, nút, chân trang</a><a href="#auth">Đăng nhập</a><a href="#setup">Hướng dẫn thiết lập</a><a href="#chat">Thân chat</a><a href="#reactions">Reactions</a><a href="#team-chat">Chat đội</a><a href="#action-card">Thẻ hành động</a><a href="#assistant-engine">Trợ lý: chọn engine</a><a href="#assistant-bridge">Trợ lý: cầu nối trên máy (0.32.0)</a><a href="#assistant-chat">Trợ lý: khung chat (0.29.0)</a><a href="#assistant">Trợ lý: cột phiên</a><a href="#icons">Icon</a><a href="#editor">Editor</a></nav>
|
|
30
|
-
<main><header class="cat-head"><h1>@gemboss/ui 0.
|
|
30
|
+
<main><header class="cat-head"><h1>@gemboss/ui 0.58.0</h1><p>Ngôn ngữ thiết kế chung của các công cụ GemBoss. Markup dưới mỗi ví dụ là đúng thứ package render ra; bề mặt không dùng React (HTML tĩnh, Python) chép markup này và nạp <code>gemboss-ui.css</code>. Dựng từ gemboss <code>a1e26c0b67cc</code>.</p></header>
|
|
31
31
|
<section id="tokens"><h2>Token</h2><p>Đổi giao diện một bề mặt bằng cách đặt lại token, không viết đè class. Tên và giá trị đọc thẳng từ gemboss-ui.css.</p><div class="cat-swatches"><div class="cat-swatch"><i style="background:var(--gemboss-primary)"></i><code>--gemboss-primary</code><span>#1b1c1e</span></div><div class="cat-swatch"><i style="background:var(--gemboss-primary-dark)"></i><code>--gemboss-primary-dark</code><span>#000000</span></div><div class="cat-swatch"><i style="background:var(--gemboss-primary-soft)"></i><code>--gemboss-primary-soft</code><span>#f2f3f5</span></div><div class="cat-swatch"><i style="background:var(--gemboss-accent)"></i><code>--gemboss-accent</code><span>#5661f5</span></div><div class="cat-swatch"><i style="background:var(--gemboss-accent-strong)"></i><code>--gemboss-accent-strong</code><span>#3a44de</span></div><div class="cat-swatch"><i style="background:var(--gemboss-accent-soft)"></i><code>--gemboss-accent-soft</code><span>#eef0fe</span></div><div class="cat-swatch"><i style="background:var(--gemboss-accent-wash)"></i><code>--gemboss-accent-wash</code><span>#f7f8ff</span></div><div class="cat-swatch"><i style="background:var(--gemboss-accent-tint)"></i><code>--gemboss-accent-tint</code><span>#dfe2ff</span></div><div class="cat-swatch"><i style="background:var(--gemboss-accent-mid)"></i><code>--gemboss-accent-mid</code><span>#c9cffd</span></div><div class="cat-swatch"><i style="background:var(--gemboss-text-strong)"></i><code>--gemboss-text-strong</code><span>#1b1c1e</span></div><div class="cat-swatch"><i style="background:var(--gemboss-text)"></i><code>--gemboss-text</code><span>#1b1c1e</span></div><div class="cat-swatch"><i style="background:var(--gemboss-text-muted)"></i><code>--gemboss-text-muted</code><span>#686b71</span></div><div class="cat-swatch"><i style="background:var(--gemboss-surface)"></i><code>--gemboss-surface</code><span>#ffffff</span></div><div class="cat-swatch"><i style="background:var(--gemboss-canvas)"></i><code>--gemboss-canvas</code><span>#ffffff</span></div><div class="cat-swatch"><i style="background:var(--gemboss-preview-canvas)"></i><code>--gemboss-preview-canvas</code><span>#eceef1</span></div><div class="cat-swatch"><i style="background:var(--gemboss-rail-bg)"></i><code>--gemboss-rail-bg</code><span>#ffffff</span></div><div class="cat-swatch"><i style="background:var(--gemboss-panel-bg)"></i><code>--gemboss-panel-bg</code><span>#ffffff</span></div><div class="cat-swatch"><i style="background:var(--gemboss-divider)"></i><code>--gemboss-divider</code><span>#e5e7ea</span></div><div class="cat-swatch"><i style="background:var(--gemboss-divider-soft)"></i><code>--gemboss-divider-soft</code><span>#edeff2</span></div><div class="cat-swatch"><i style="background:var(--gemboss-hover)"></i><code>--gemboss-hover</code><span>#eceef2</span></div><div class="cat-swatch"><i style="background:var(--gemboss-active-bg)"></i><code>--gemboss-active-bg</code><span>#f0f1f4</span></div><div class="cat-swatch"><i style="background:var(--gemboss-active-fg)"></i><code>--gemboss-active-fg</code><span>#1b1c1e</span></div><div class="cat-swatch"><i style="background:var(--gemboss-danger)"></i><code>--gemboss-danger</code><span>#d72c0d</span></div><div class="cat-swatch"><i style="background:var(--gemboss-danger-strong)"></i><code>--gemboss-danger-strong</code><span>#b42318</span></div><div class="cat-swatch"><i style="background:var(--gemboss-danger-soft)"></i><code>--gemboss-danger-soft</code><span>#fff0e9</span></div><div class="cat-swatch"><i style="background:var(--gemboss-danger-border)"></i><code>--gemboss-danger-border</code><span>#f5c9bc</span></div><div class="cat-swatch"><i style="background:var(--gemboss-success)"></i><code>--gemboss-success</code><span>#007f5f</span></div><div class="cat-swatch"><i style="background:var(--gemboss-success-strong)"></i><code>--gemboss-success-strong</code><span>#0a6a4c</span></div><div class="cat-swatch"><i style="background:var(--gemboss-success-soft)"></i><code>--gemboss-success-soft</code><span>#e3f1df</span></div><div class="cat-swatch"><i style="background:var(--gemboss-success-border)"></i><code>--gemboss-success-border</code><span>#b7dfcd</span></div><div class="cat-swatch"><i style="background:var(--gemboss-warning)"></i><code>--gemboss-warning</code><span>#9a6700</span></div><div class="cat-swatch"><i style="background:var(--gemboss-warning-soft)"></i><code>--gemboss-warning-soft</code><span>#fff8e0</span></div><div class="cat-swatch"><i style="background:var(--gemboss-warning-border)"></i><code>--gemboss-warning-border</code><span>#f5d569</span></div><div class="cat-swatch"><i style="background:var(--gemboss-dark-bg)"></i><code>--gemboss-dark-bg</code><span>#0a0a0c</span></div><div class="cat-swatch"><i style="background:var(--gemboss-dark-rail)"></i><code>--gemboss-dark-rail</code><span>#0e0e11</span></div><div class="cat-swatch"><i style="background:var(--gemboss-dark-surface)"></i><code>--gemboss-dark-surface</code><span>#16161a</span></div><div class="cat-swatch"><i style="background:var(--gemboss-dark-surface-2)"></i><code>--gemboss-dark-surface-2</code><span>#1e1e24</span></div><div class="cat-swatch"><i style="background:var(--gemboss-dark-divider)"></i><code>--gemboss-dark-divider</code><span>#2a2a31</span></div><div class="cat-swatch"><i style="background:var(--gemboss-dark-text)"></i><code>--gemboss-dark-text</code><span>#ededf0</span></div><div class="cat-swatch"><i style="background:var(--gemboss-dark-muted)"></i><code>--gemboss-dark-muted</code><span>#9a9aa4</span></div><div class="cat-swatch"><i style="background:var(--gemboss-field-bg)"></i><code>--gemboss-field-bg</code><span>#fdfdfd</span></div><div class="cat-swatch"><i style="background:var(--gemboss-field-bg-hover)"></i><code>--gemboss-field-bg-hover</code><span>#fafafa</span></div><div class="cat-swatch"><i style="background:var(--gemboss-field-ink)"></i><code>--gemboss-field-ink</code><span>#303030</span></div><div class="cat-swatch"><i style="background:var(--gemboss-field-placeholder)"></i><code>--gemboss-field-placeholder</code><span>#616161</span></div><div class="cat-swatch"><i style="background:var(--gemboss-field-line)"></i><code>--gemboss-field-line</code><span>#8a8a8a</span></div><div class="cat-swatch"><i style="background:var(--gemboss-field-line-hover)"></i><code>--gemboss-field-line-hover</code><span>#616161</span></div><div class="cat-swatch"><i style="background:var(--gemboss-field-line-active)"></i><code>--gemboss-field-line-active</code><span>#1a1a1a</span></div><div class="cat-swatch"><i style="background:var(--gemboss-chip-ink)"></i><code>--gemboss-chip-ink</code><span>#303633</span></div><div class="cat-swatch"><i style="background:var(--gemboss-chip-line)"></i><code>--gemboss-chip-line</code><span>#cfd6ce</span></div><div class="cat-swatch"><i style="background:var(--gemboss-chip-line-hover)"></i><code>--gemboss-chip-line-hover</code><span>#aab4ad</span></div><div class="cat-swatch"><i style="background:var(--gemboss-chip-bg-hover)"></i><code>--gemboss-chip-bg-hover</code><span>#f6f7f5</span></div><div class="cat-swatch"><i style="background:var(--gemboss-on-primary)"></i><code>--gemboss-on-primary</code><span>#ffffff</span></div><div class="cat-swatch"><i style="background:var(--gemboss-app-bg)"></i><code>--gemboss-app-bg</code><span>#ffffff</span></div></div><table class="ui-table cat-scale"><thead><tr><th>Token</th><th>Giá trị</th><th>Mẫu</th></tr></thead><tbody><tr><td><code>--gemboss-fs-micro</code></td><td>11px</td><td style="font-size:var(--gemboss-fs-micro)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-fs-caption</code></td><td>12px</td><td style="font-size:var(--gemboss-fs-caption)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-fs-body</code></td><td>14px</td><td style="font-size:var(--gemboss-fs-body)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-fs-body-lg</code></td><td>16px</td><td style="font-size:var(--gemboss-fs-body-lg)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-fs-h3</code></td><td>16px</td><td style="font-size:var(--gemboss-fs-h3)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-fs-h2</code></td><td>20px</td><td style="font-size:var(--gemboss-fs-h2)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-fs-h1</code></td><td>24px</td><td style="font-size:var(--gemboss-fs-h1)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-fs-display</code></td><td>30px</td><td style="font-size:var(--gemboss-fs-display)">Ngôn ngữ thiết kế chung</td></tr><tr><td><code>--gemboss-radius-xs</code></td><td>4px</td><td><i class="cat-radius" style="border-radius:var(--gemboss-radius-xs)"></i></td></tr><tr><td><code>--gemboss-radius-sm</code></td><td>6px</td><td><i class="cat-radius" style="border-radius:var(--gemboss-radius-sm)"></i></td></tr><tr><td><code>--gemboss-radius-md</code></td><td>8px</td><td><i class="cat-radius" style="border-radius:var(--gemboss-radius-md)"></i></td></tr><tr><td><code>--gemboss-radius-lg</code></td><td>12px</td><td><i class="cat-radius" style="border-radius:var(--gemboss-radius-lg)"></i></td></tr><tr><td><code>--gemboss-radius-xl</code></td><td>16px</td><td><i class="cat-radius" style="border-radius:var(--gemboss-radius-xl)"></i></td></tr><tr><td><code>--gemboss-radius-2xl</code></td><td>20px</td><td><i class="cat-radius" style="border-radius:var(--gemboss-radius-2xl)"></i></td></tr><tr><td><code>--gemboss-radius-full</code></td><td>999px</td><td><i class="cat-radius" style="border-radius:var(--gemboss-radius-full)"></i></td></tr><tr><td><code>--gemboss-shadow-resting</code></td><td class="cat-small">0 1px 2px rgba(31, 30, 29, 0.04), 0 2px 6px rgba(31, 30, 29, 0.06)</td><td><i class="cat-radius" style="box-shadow:var(--gemboss-shadow-resting);border:0"></i></td></tr><tr><td><code>--gemboss-shadow-raised</code></td><td class="cat-small">0 4px 16px rgba(31, 30, 29, 0.10)</td><td><i class="cat-radius" style="box-shadow:var(--gemboss-shadow-raised);border:0"></i></td></tr><tr><td><code>--gemboss-shadow-overlay</code></td><td class="cat-small">0 16px 48px rgba(31, 30, 29, 0.18)</td><td><i class="cat-radius" style="box-shadow:var(--gemboss-shadow-overlay);border:0"></i></td></tr></tbody></table></section>
|
|
32
32
|
<section id="buttons"><h2>Nút</h2><p>Một lớp <code>ui-btn</code>, ba biến thể, tông đỏ, một cỡ nhỏ. Cao 28px dưới chuột như Button của Polaris (ô nhập và ô chọn 32, như TextField), 44px dưới ngón tay và ở khổ điện thoại, cỡ nhỏ cũng vậy. Dùng được trên <code><button></code> lẫn <code><a></code> (căn giữa sẵn).</p><figure class="cat-demo"><figcaption>Mặc định · chính · ghost · nhỏ · tắt</figcaption><div class="cat-live"><div class="cat-row"><button type="button" class="ui-btn">Lưu nháp</button><button type="button" class="ui-btn ui-btn--primary">Xuất bản</button><button type="button" class="ui-btn ui-btn--ghost">Huỷ</button><button type="button" class="ui-btn ui-btn--sm">Nhỏ</button><button type="button" class="ui-btn ui-btn--primary" disabled>Đang lưu…</button><a class="ui-btn" href="#buttons">Link dạng nút</a></div></div><details class="cat-code"><summary>Markup</summary><pre><code><div class="cat-row">
|
|
33
33
|
<button type="button" class="ui-btn">Lưu nháp</button>
|
|
@@ -13032,7 +13032,7 @@ document.querySelector(".gb-tc-body").append(tc.jumpToLatest({ count:
|
|
|
13032
13032
|
</section>
|
|
13033
13033
|
</div>
|
|
13034
13034
|
</div></code></pre></details></figure></section>
|
|
13035
|
-
<section id="assistant"><h2>Trợ lý: cột phiên</h2><p><code>SessionRail</code> (React). Khung toàn màn hình / cửa sổ nổi / cột phải cao hết màn (<code>allowSide</code>) / thanh là <code>AssistantHost</code>, cần React vì có trạng thái.</p><figure class="cat-demo"><figcaption>SessionRail</figcaption><div class="cat-live"><div style="height:360px;display:flex"><aside class="gemboss-assistant-rail"><div class="gemboss-assistant-rail-top"><button type="button" class="gemboss-assistant-newchat" title="Phiên mới"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M11 4H5.5A1.5 1.5 0 0 0 4 5.5v9A1.5 1.5 0 0 0 5.5 16h9a1.5 1.5 0 0 0 1.5-1.5V9"></path><path d="M14.5 3.5l2 2L10 12H8v-2z"></path></g></svg><span>Phiên mới</span></button><button type="button" class="gemboss-assistant-collapse" aria-label="Collapse sidebar" title="Collapse"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5l-5 5 5 5"></path></g></svg></button></div><div class="gemboss-assistant-search gemboss-field gemboss-field--group"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="9" r="5"></circle><path d="M13 13l3.5 3.5"></path></g></svg><input class="gemboss-field__bare" placeholder="Tìm phiên…" aria-label="Search history" value=""/><kbd class="gemboss-assistant-kbd">/</kbd></div><div class="gemboss-assistant-threads"><div class="gemboss-assistant-group"><div class="gemboss-assistant-group-label">Đã ghim</div><div class="gemboss-assistant-thread"><button type="button" class="gemboss-assistant-thread-main" title="So sánh advertorial với listicle"><span class="gemboss-assistant-thread-titlerow"><svg viewBox="0 0 20 20" class="gemboss-assistant-pin-dot" aria-hidden="true" focusable="false"><path d="M8 3.5h4l-.5 5 2.5 2.5H6l2.5-2.5z" fill="currentColor"></path><path d="M10 11v5.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"></path></svg><span class="gemboss-assistant-thread-title">So sánh advertorial với listicle</span></span><span class="gemboss-assistant-thread-meta">
|
|
13035
|
+
<section id="assistant"><h2>Trợ lý: cột phiên</h2><p><code>SessionRail</code> (React). Khung toàn màn hình / cửa sổ nổi / cột phải cao hết màn (<code>allowSide</code>) / thanh là <code>AssistantHost</code>, cần React vì có trạng thái.</p><figure class="cat-demo"><figcaption>SessionRail</figcaption><div class="cat-live"><div style="height:360px;display:flex"><aside class="gemboss-assistant-rail"><div class="gemboss-assistant-rail-top"><button type="button" class="gemboss-assistant-newchat" title="Phiên mới"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M11 4H5.5A1.5 1.5 0 0 0 4 5.5v9A1.5 1.5 0 0 0 5.5 16h9a1.5 1.5 0 0 0 1.5-1.5V9"></path><path d="M14.5 3.5l2 2L10 12H8v-2z"></path></g></svg><span>Phiên mới</span></button><button type="button" class="gemboss-assistant-collapse" aria-label="Collapse sidebar" title="Collapse"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5l-5 5 5 5"></path></g></svg></button></div><div class="gemboss-assistant-search gemboss-field gemboss-field--group"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="9" r="5"></circle><path d="M13 13l3.5 3.5"></path></g></svg><input class="gemboss-field__bare" placeholder="Tìm phiên…" aria-label="Search history" value=""/><kbd class="gemboss-assistant-kbd">/</kbd></div><div class="gemboss-assistant-threads"><div class="gemboss-assistant-group"><div class="gemboss-assistant-group-label">Đã ghim</div><div class="gemboss-assistant-thread"><button type="button" class="gemboss-assistant-thread-main" title="So sánh advertorial với listicle"><span class="gemboss-assistant-thread-titlerow"><svg viewBox="0 0 20 20" class="gemboss-assistant-pin-dot" aria-hidden="true" focusable="false"><path d="M8 3.5h4l-.5 5 2.5 2.5H6l2.5-2.5z" fill="currentColor"></path><path d="M10 11v5.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"></path></svg><span class="gemboss-assistant-thread-title">So sánh advertorial với listicle</span></span><span class="gemboss-assistant-thread-meta">25/9/2026</span></button><div class="gemboss-assistant-thread-actions"><button type="button" class="gemboss-assistant-thread-act" aria-label="Options"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="5" cy="10" r=".8"></circle><circle cx="10" cy="10" r=".8"></circle><circle cx="15" cy="10" r=".8"></circle></g></svg></button></div></div></div><div class="gemboss-assistant-group"><div class="gemboss-assistant-group-label">Hôm nay</div><div class="gemboss-assistant-thread active"><button type="button" class="gemboss-assistant-thread-main" title="Store nào đang dựng loạt landing?"><span class="gemboss-assistant-thread-titlerow"><span class="gemboss-assistant-thread-title">Store nào đang dựng loạt landing?</span></span><span class="gemboss-assistant-thread-meta">3 giờ trước</span></button><div class="gemboss-assistant-thread-actions"><button type="button" class="gemboss-assistant-thread-act" aria-label="Options"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="5" cy="10" r=".8"></circle><circle cx="10" cy="10" r=".8"></circle><circle cx="15" cy="10" r=".8"></circle></g></svg></button></div></div></div><div class="gemboss-assistant-group"><div class="gemboss-assistant-group-label">Hôm qua</div><div class="gemboss-assistant-thread"><button type="button" class="gemboss-assistant-thread-main" title="Landing điểm cao nhất của corpus"><span class="gemboss-assistant-thread-titlerow"><span class="gemboss-assistant-thread-title">Landing điểm cao nhất của corpus</span></span><span class="gemboss-assistant-thread-meta">1 ngày trước</span></button><div class="gemboss-assistant-thread-actions"><button type="button" class="gemboss-assistant-thread-act" aria-label="Options"><svg viewBox="0 0 20 20" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="5" cy="10" r=".8"></circle><circle cx="10" cy="10" r=".8"></circle><circle cx="15" cy="10" r=".8"></circle></g></svg></button></div></div></div></div></aside></div></div><details class="cat-code"><summary>Markup</summary><pre><code><div style="height:360px;display:flex">
|
|
13036
13036
|
<aside class="gemboss-assistant-rail">
|
|
13037
13037
|
<div class="gemboss-assistant-rail-top">
|
|
13038
13038
|
<button type="button" class="gemboss-assistant-newchat" title="Phiên mới">
|
|
@@ -13081,7 +13081,7 @@ document.querySelector(".gb-tc-body").append(tc.jumpToLatest({ count:
|
|
|
13081
13081
|
</svg>
|
|
13082
13082
|
<span class="gemboss-assistant-thread-title">So sánh advertorial với listicle</span>
|
|
13083
13083
|
</span>
|
|
13084
|
-
<span class="gemboss-assistant-thread-meta">
|
|
13084
|
+
<span class="gemboss-assistant-thread-meta">25/9/2026</span>
|
|
13085
13085
|
</button>
|
|
13086
13086
|
<div class="gemboss-assistant-thread-actions">
|
|
13087
13087
|
<button type="button" class="gemboss-assistant-thread-act" aria-label="Options">
|
package/gemboss-ui.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* GemBoss admin design system — GENERATED — do not edit; regenerate from gemboss:
|
|
3
3
|
* node apps/admin/scripts/export-ui-css.mjs --out <path> (npm run export:ui-css)
|
|
4
|
-
* gemboss commit:
|
|
5
|
-
* sources sha256:
|
|
4
|
+
* gemboss commit: a1e26c0b67cc4ad33880c13143a27bf9fbd29044
|
|
5
|
+
* sources sha256: c2ee1a4472055fa6727ecc328fef8fd4572b3effa2d24beefa2c4b002fe94d22
|
|
6
6
|
* contents: 1 allow-listed rule from apps/admin/src/app/globals.css + packages/ui/src/gemboss-tokens.css
|
|
7
7
|
* (verbatim) + packages/ui/src/ui.css (verbatim) + packages/ui/src/gemboss-field.css (verbatim)
|
|
8
8
|
* + 184 rules from packages/ui/src/shell.css (the shared shell)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gemboss/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"description": "GemBoss design system for every surface in the fleet: the admin shell (topbar + rail + drawer) as React components, and the admin stylesheet exported as one CSS file.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -38,15 +38,19 @@
|
|
|
38
38
|
"./editor.css": "./src/editor.css",
|
|
39
39
|
"./editor-repeater.css": "./src/editor-repeater.css",
|
|
40
40
|
"./editor-tiles.css": "./src/editor-tiles.css",
|
|
41
|
+
"./editor-chips.css": "./src/editor-chips.css",
|
|
41
42
|
"./editor-popover.css": "./src/editor-popover.css",
|
|
42
43
|
"./editor-color.css": "./src/editor-color.css",
|
|
43
44
|
"./editor-picker.css": "./src/editor-picker.css",
|
|
44
45
|
"./editor-picker-grid.css": "./src/editor-picker-grid.css",
|
|
45
46
|
"./editor-insert.css": "./src/editor-insert.css",
|
|
47
|
+
"./narration.css": "./src/narration.css",
|
|
48
|
+
"./editor-rail.css": "./src/editor-rail.css",
|
|
46
49
|
"./collections.css": "./src/collections.css",
|
|
47
50
|
"./reactions.css": "./src/reactions.css",
|
|
48
51
|
"./action-card.css": "./src/action-card.css",
|
|
49
52
|
"./question-card.css": "./src/question-card.css",
|
|
53
|
+
"./save-bar.css": "./src/save-bar.css",
|
|
50
54
|
"./briefing-card.css": "./src/briefing-card.css",
|
|
51
55
|
"./range-bar.css": "./src/range-bar.css",
|
|
52
56
|
"./progress-ring.css": "./src/progress-ring.css",
|
|
@@ -62,6 +66,10 @@
|
|
|
62
66
|
"./status-matrix.css": "./src/status-matrix.css",
|
|
63
67
|
"./translation-row.css": "./src/translation-row.css",
|
|
64
68
|
"./status-list.css": "./src/status-list.css",
|
|
69
|
+
"./job-card.css": "./src/job-card.css",
|
|
70
|
+
"./skill-view.css": "./src/skill-view.css",
|
|
71
|
+
"./skill-stats.css": "./src/skill-stats.css",
|
|
72
|
+
"./skill-flow.css": "./src/skill-flow.css",
|
|
65
73
|
"./minichart.css": "./src/minichart.css",
|
|
66
74
|
"./setup-guide.css": "./src/setup-guide.css",
|
|
67
75
|
"./sheet.css": "./src/sheet.css",
|
|
@@ -82,6 +90,8 @@
|
|
|
82
90
|
"./segmented": "./src/segmented.tsx",
|
|
83
91
|
"./screens-arriving": "./src/screens-arriving.ts",
|
|
84
92
|
"./gem-holo": "./src/gem-holo.tsx",
|
|
93
|
+
"./skill-flow": "./src/skill-flow/index.ts",
|
|
94
|
+
"./skill-flow/model": "./src/skill-flow/model.ts",
|
|
85
95
|
"./toggle-bar": "./src/toggle-bar.tsx",
|
|
86
96
|
"./editor/css-url": "./src/editor/css-url.ts",
|
|
87
97
|
"./editor-plain.js": "./src/editor-plain.js",
|
|
@@ -153,10 +163,18 @@
|
|
|
153
163
|
"fleet": "node scripts/fleet.mjs"
|
|
154
164
|
},
|
|
155
165
|
"peerDependencies": {
|
|
166
|
+
"@dagrejs/dagre": ">=1.1",
|
|
167
|
+
"@xyflow/react": ">=12.3",
|
|
156
168
|
"next": ">=15.3",
|
|
157
169
|
"react": ">=18"
|
|
158
170
|
},
|
|
159
171
|
"peerDependenciesMeta": {
|
|
172
|
+
"@dagrejs/dagre": {
|
|
173
|
+
"optional": true
|
|
174
|
+
},
|
|
175
|
+
"@xyflow/react": {
|
|
176
|
+
"optional": true
|
|
177
|
+
},
|
|
160
178
|
"next": {
|
|
161
179
|
"optional": true
|
|
162
180
|
}
|