@gemboss/ui 0.64.0 → 0.66.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 +213 -1
- package/README.md +67 -5
- package/catalog/editor.html +21 -13
- package/catalog/index.html +4 -4
- package/gemboss-ui.css +3 -3
- package/package.json +8 -1
- package/parts/components.css +2 -2
- package/parts/core.css +1 -1
- package/parts/shell.css +1 -1
- package/src/auth.tsx +1 -15
- package/src/confirm-buttons.ts +35 -0
- package/src/confirm-dialog.css +1 -0
- package/src/confirm-dialog.tsx +124 -0
- package/src/create-shell.css +1 -1
- package/src/create-shell.tsx +7 -4
- package/src/dialog.css +1 -0
- package/src/dialog.tsx +46 -7
- package/src/editor/color-choices.ts +9 -0
- package/src/editor/controls.tsx +59 -19
- package/src/editor/field-control.tsx +456 -0
- package/src/editor/field-frame.tsx +192 -0
- package/src/editor/field-spec.ts +346 -0
- package/src/editor/index.ts +20 -2
- package/src/editor/label-side.ts +9 -3
- package/src/editor/panel.tsx +39 -12
- package/src/editor/secret-field.tsx +116 -0
- package/src/editor-color.css +1 -1
- package/src/editor-plain.js +1 -1
- package/src/editor.css +1 -1
- package/src/email-editor/editor.tsx +37 -9
- package/src/email-editor/model.ts +5 -1
- package/src/email-editor.css +1 -1
- package/src/eye-icon.tsx +14 -0
- package/src/gem-at-work.css +1 -1
- package/src/gem-at-work.ts +223 -11
- package/src/gemboss-field.css +1 -1
- package/src/icons-plain.js +1 -0
- package/src/icons.tsx +9 -0
- package/src/index.ts +4 -1
- package/src/kit-plain.css +1 -1
- package/src/list-page.css +1 -1
- package/src/list-page.tsx +181 -55
- package/src/list-toolbar.css +1 -0
- package/src/list-toolbar.tsx +85 -0
- package/src/menu-keys.ts +3 -1
- package/src/search-dialog.tsx +4 -1
- package/src/segmented.tsx +21 -5
- package/src/service-switcher.tsx +2 -2
- package/src/settings-dialog.tsx +2 -2
- package/src/ui.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,225 @@
|
|
|
2
2
|
|
|
3
3
|
Versions up to 0.9.0 are described in the README, each in the section that introduced it.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 0.66.0 (09/11/2026)
|
|
6
|
+
|
|
7
|
+
**The icon set for surfaces without React: `@gemboss/ui/icons-plain.js`** (09/11/2026; GemNews' side rail and widget panel are plain
|
|
8
|
+
JavaScript, and a hand-copied path drifts). A classic script that adds to `globalThis.gembossUI`, like every other `*-plain.js`.
|
|
9
|
+
- `gembossUI.icon(name, { size, title })` returns the SVG `<Icon name size title>` renders (fill on the `<g>`, `aria-hidden` unless
|
|
10
|
+
titled, then `role="img"` + `<title>`, escaped as React escapes it). `size` as `<Icon>` takes it. An unknown name returns "" and
|
|
11
|
+
nothing throws, `null` options included.
|
|
12
|
+
- `gembossUI.ICON_NAMES`: the set's names, in icons.tsx order.
|
|
13
|
+
- Its `ICONS` block is written the way service-switcher-plain.js's and team-chat-plain.js's are: by `icons-plain.test.ts`, from
|
|
14
|
+
`renderToStaticMarkup(<Icon>)` (`UPDATE_PLAIN_CATALOGUE=1`). The test is red when the block and icons.tsx differ, when any icon
|
|
15
|
+
(plain, sized in px or a CSS length, titled with quotes and markup) differs from `<Icon>`, or when the package stops exporting or
|
|
16
|
+
shipping the file; negative controls move a path, hand-edit the file and swap the apostrophe escape.
|
|
17
|
+
- New icons, drawn on the same 20px grid with the 1.5px stroke: `chevronUp`, `bookmark`, `trophy`, `flame`, `grip`, `timer` (an
|
|
18
|
+
hourglass), `target`.
|
|
19
|
+
- Weight ceiling: `packages/ui/src/icons-plain.js` in weight-budget.json.
|
|
20
|
+
|
|
21
|
+
**A colour row is ONE field, and its hex is never cut** (09/11/2026; §9.1, measured on prod in Theme editor › Global styles at 1366:
|
|
22
|
+
a 330px panel, the label-beside row's 174px control column left the hex box 62px between the swatch and a 64px % box, and 8 of 9 hex
|
|
23
|
+
values were cut, "#6b7280" scrollWidth 80 in 60).
|
|
24
|
+
- `ColorControl`: the hex and its opacity are one field, as Figma and Shopify draw it: `[swatch] [#6b7280 │ 100%]`. The group is the
|
|
25
|
+
kit's field box (`gemboss-field gemboss-field--group gemboss-ei-color-group`); the text box (in `.gemboss-ei-color-box`, under the
|
|
26
|
+
theme colour's name) and the % box (`data-alpha`) are its `gemboss-field__bare` parts, a hairline between them. Each part keeps its
|
|
27
|
+
name (the label's; "… opacity"). Markup change: a host that styled `.gemboss-ei-color > .gemboss-ei-inp` or read the text box as
|
|
28
|
+
`gemboss-field` reads the group now.
|
|
29
|
+
- editor-color.css (ONE FIELD): the group starts from room for the widest 7-digit hex and "100%" in its own face (`13.5ch + 19px`:
|
|
30
|
+
"#DDDDDD" 8.8ch in Arial, "100%" 4.7ch in Verdana), lanes 8 · 2 and 3 · 3px, so swatch, hex and % share one line from a 330px panel
|
|
31
|
+
up and at a phone's 390. Where the line is shorter (a panel under ~320px, a phone's 320, a 44px swatch under a finger at 330) the field
|
|
32
|
+
goes under the swatch, the column wide: never cut. A field with no % part (a theme colour) needs room for its hex part only. Focus:
|
|
33
|
+
the group's ring, and a line under the part that has it. 44px tall under a finger at any width, and the % part at least 44px wide there in any face (its "100%" room is 41px in a narrow face at 13px: Liberation Sans in CI), counted in the group's room. The two boxes' widths (64 / 72px % box,
|
|
34
|
+
96px text box at a phone's width) are gone.
|
|
35
|
+
- gemboss-field.css: a field group's disabled look and its hover guard read any `gemboss-field__bare` part inside it, not only a direct
|
|
36
|
+
child (`:has(.gemboss-field__bare:disabled)`): the colour field's hex part sits in its own box, and an off field with no % part
|
|
37
|
+
still showed the hover border.
|
|
38
|
+
- editor-plain.js: the % part it adds once a colour is typed into a row drawn with none is the group's last part, with the text box's
|
|
39
|
+
classes. It went right after the text, inside the text box, and cut the hex. Same gzip weight as before.
|
|
40
|
+
- Chromium test `editor-color-hex-never-cut-browser.test.tsx`: panels 280 / 330 / 400 at a fine pointer (one line at 330 and 400),
|
|
41
|
+
a phone's 390 and 320, 330 under a finger, focus and names, the plain page, each in the system face, a narrow one (Arial / Liberation
|
|
42
|
+
Sans) and a wide one (Verdana / DejaVu Sans), so macOS and CI measure the same widths; main's markup and CSS, and main's insertion
|
|
43
|
+
(on "#DDDDDD", the widest hex), as its negative controls.
|
|
44
|
+
|
|
45
|
+
**`ListToolbar`: the row over a list** (09/11/2026; Chris 08/11: one control set, audit row 8). A search that grows to fill the row
|
|
46
|
+
and, at its right, the list's choices as selects (filters, then sort), its view switch and what acts on the same list (`tools`). One
|
|
47
|
+
row; on a phone the search keeps its line and the rest wraps under it. Built from the kit's own parts: the one text field
|
|
48
|
+
(`gemboss-field--group` holding the search glyph, the count while there is a search, and a clear that keeps the focus in the field;
|
|
49
|
+
the browser's own ✕ is hidden), `.ui-select`, `IconSegmented`. Its own entry, `list-toolbar.css` (0.4 KB gzip: the row's layout and
|
|
50
|
+
the clear). The GemBoss admin's 22 list screens draw it through components/shell/ListToolbar; the toolkits laid out rows of their
|
|
51
|
+
own (`gc-filters`, `cp-toolbar`) and can move onto it. list-toolbar-browser.test.tsx (1280 mouse, 390 finger, a negative control).
|
|
52
|
+
|
|
53
|
+
**An embedded editor's top bar is no longer under the app frame's nav on a phone** (09/11/2026). `main:has(.gemboss-editor)`
|
|
54
|
+
clipped with `overflow: hidden`, which made `main` the scroll container of the app frame's sticky nav: on a phone the nav's `top: 56px`
|
|
55
|
+
counted from `main` (already at 56) and drew 56px low, over the embedded editor's top bar (GemSeel › Cart box on prod: a tap on Save
|
|
56
|
+
landed on a nav tab). `overflow: clip` cuts the same overflow without being a scroll container. Chromium test
|
|
57
|
+
`embedded-editor-under-sticky-nav-browser.test.ts`, with `hidden` restored as its negative control.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- `FieldFrame` / `PartsFrame` `labels` (`FrameClusterLabels`): a host's own name for a cluster where the kit's (Look · Layout · Visibility ·
|
|
62
|
+
Code) would say the wrong thing; the plugin kernel's settings name theirs Look and Behavior (one control set 08/11/2026).
|
|
63
|
+
|
|
64
|
+
**Global styles in the settings frame** (09/11/2026; one settings frame: every settings surface in the element panel's frame).
|
|
65
|
+
- `FieldFrame` `after`: the host's parts after every one of the schema's groups in Look, its shared groups' chips too (the admin's Global
|
|
66
|
+
styles: its form set, product cards and bundle picker after its colours and type). Searched as every part is. A Look of `after` parts
|
|
67
|
+
only is drawn.
|
|
68
|
+
- A part's search skips what sits under `[data-search-skip]` (a widget's preview inside a part: its headings and labels are no setting's).
|
|
69
|
+
- Removed: `.gemboss-bundle-look .gemboss-ei-body` 44px rules (the admin's bundle form is a group of the settings frame, its rows the kit's
|
|
70
|
+
sizes: 44px under a finger).
|
|
71
|
+
|
|
72
|
+
**Checkbox: a yes the seller gives** (09/11/2026; one control set: the plain kit's `.ui-check` had no React control, and the admin, which
|
|
73
|
+
cannot load kit-plain.css, drew five of its own in its publish review).
|
|
74
|
+
- `Checkbox` (`@gemboss/ui/editor`): a box and its own words in one label (`label.ui-check.gemboss-ei-check`), one target, `describedBy`,
|
|
75
|
+
off with `disabled` and its `why` in the tooltip. For a consent or a pick in a list; a setting's On / Off stays FieldControl's `toggle`.
|
|
76
|
+
- ONE checkbox look: `.gemboss-ei-check` / `.gemboss-ei-checkbox` (editor.css) carry `.ui-check`'s numbers (a 44px target at every width,
|
|
77
|
+
an 18px box in the kit's accent, the words at the host's size, faded and not-allowed while off), for a host without kit-plain.css; a kit
|
|
78
|
+
test holds the two to the same numbers.
|
|
79
|
+
|
|
80
|
+
**SecretField: a secret the seller gives** (09/11/2026; one control set: every admin surface that takes a token or a key drew its own
|
|
81
|
+
password box, Polaris' or a raw input, each with its own words for "it is stored").
|
|
82
|
+
- `SecretField` (`@gemboss/ui/editor`): the masked box (autocomplete off, no spell check, 1Password and LastPass told to stay out; a
|
|
83
|
+
browser's own password manager may still offer to save it), Show / Hide for checking a paste (masked again when emptied), Paste (the
|
|
84
|
+
clipboard, never over what was typed meanwhile, with a line saying ⌘V / Ctrl+V when the browser refuses it), Enter for the host's submit.
|
|
85
|
+
Copy, cut and a drag out do nothing: a secret goes in, it does not come back out. Stored (`saved`, with its `at`), the box is gone: "Saved,
|
|
86
|
+
ends in …" with at most the last four characters the host hands (`secretTail`), never the secret, and Replace opens an empty box (Cancel
|
|
87
|
+
closes it; `replacing` controlled or not, `onReplacing`).
|
|
88
|
+
- `EyeIcon` is one module (eye-icon.tsx), drawn by PasswordField and SecretField.
|
|
89
|
+
- `LABEL_SIDE.secret` (beside): its box and buttons in the control column, the buttons under the box where the column is narrow.
|
|
90
|
+
|
|
91
|
+
- `Menu` (React): a click outside closes it in the capture phase (09/11/2026), so a control that stops its own click (the funnel
|
|
92
|
+
board's offer cards and rule pills) no longer leaves the menu floating over what it opened. menu-browser.test.ts 24, with the
|
|
93
|
+
bubble-phase listener as its negative control. The plain menus (kit-plain.js `initMenus`) still listen in the bubble phase:
|
|
94
|
+
that listener also closes a chosen row's menu after the row's own handler, so it moves on its own.
|
|
95
|
+
- `Segmented`: an option with an `href` is a link (`linkAs` for the app's Link), the one on `aria-current="page"` (ui.css already
|
|
96
|
+
draws `.ui-seg a[aria-current]`), and its press is the link's own, so a filter that is a URL keeps a new tab and a copied link;
|
|
97
|
+
`onChange` is optional for a group of links (09/11/2026, Analytics' device). segmented-browser.test.tsx: the links, and `scroll`
|
|
98
|
+
at 320 in a flex row (the group scrolls, the last option reachable whole) with its negative control (without it the last shows
|
|
99
|
+
5 of its 64px).
|
|
100
|
+
|
|
101
|
+
**`PanelTabs` is the admin's one tab row** (09/11/2026; Chris 08/11: one control set). The funnel inspector and the workflow panel
|
|
102
|
+
drew their own tablists (two looks, one with no keys); both are `PanelTabs` now, and the admin's gate `one-tab-row.test.ts` names the
|
|
103
|
+
rows not moved yet. `PanelTabs` with roving focus now takes Home and End (the first and the last tab), beside ← → (the WAI-ARIA tabs
|
|
104
|
+
pattern).
|
|
105
|
+
For the offer editor's Offer · Who & when · Design (UI book OF-1, moved the same day), an inspector row's tab takes `hint` (a muted
|
|
106
|
+
second line, the tab's description rather than part of its name; the row becomes a size container and under 300px only the labels
|
|
107
|
+
stay; every tab of such a row is drawn in the same column), `tabId` (its own id, for the panel's `aria-labelledby`) and `title` (a
|
|
108
|
+
tooltip); the row takes `flush` (no margin of its own, in a card outside the editor's column). editor.css 8.7 KB gzip of 9.0.
|
|
109
|
+
|
|
110
|
+
**Every label beside its control in the element panel** (09/11/2026; Chris 04–08/11: every setting that fits one row has its label beside
|
|
111
|
+
it, decided by one table). The label-side table and `Field`:
|
|
112
|
+
- `LABEL_SIDE.screens` is `beside`: Screens is three device pictures, each named in its tooltip and for a screen reader, as a vertical
|
|
113
|
+
alignment's pictures are (label-side audit decision E). Its three words did not fit the control column, so it was the last one-row
|
|
114
|
+
choice with its label above.
|
|
115
|
+
- `LABEL_SIDE.note` (`above`): a sentence where a control would be (a value filled from the section's copy, a product's metafield, a
|
|
116
|
+
list's content source; a setting edited in another place). The admin's gate reads a labelled field that holds words and no control as one.
|
|
117
|
+
- `Field` `labelId`: the label's own id, for a control that is a group of boxes it names (`aria-labelledby`).
|
|
118
|
+
- `Field` `onBlur`: the focus leaving a part of the field, after the part's own blur (a text box saved when the focus leaves its toolbar,
|
|
119
|
+
chips and link box too).
|
|
120
|
+
|
|
121
|
+
**A bar with no centre is one row and keeps its name** (08/11/2026). `EditorTopbar` with no `center` (a plugin's editor: Cart box,
|
|
122
|
+
Banner, a popup) borrowed the page editor's narrow rows: at 390 it drew ← on one row, Save alone on a second and an empty third, 133px
|
|
123
|
+
tall, with its name hidden below 1200px. Matching on the empty centre (`editor.css`), it is now one row at every width with the name
|
|
124
|
+
ellipsised and Save at the right; every bar with a centre (page, section, theme editors) is unchanged. Chromium test
|
|
125
|
+
`editor-topbar-no-centre-browser.test.ts` with a negative control on the stylesheet without the block.
|
|
126
|
+
|
|
127
|
+
- `FieldSpec` `text`: `inputType: "date"`, the browser's own date picker (value YYYY-MM-DD), for a day a form asks for (GemSeel's export
|
|
128
|
+
dates, one control set 08/11/2026). A `url`, `search` or `date` box sets `autocomplete="off"`: the browser's remembered entries would cover
|
|
129
|
+
the results, the picker or the buttons under it.
|
|
130
|
+
|
|
131
|
+
**PageActions: a page's header actions, as ListPage draws them, on any page** (08/11/2026; Chris 08/11: one control set, the same
|
|
132
|
+
component on every surface). The admin's Store hub is a Polaris Page, not a ListPage, and drew its own copy of the fold.
|
|
133
|
+
Added
|
|
134
|
+
- `PageActions` (`primaryAction` or `primary`, `secondaryActions`, `moreActions`, `actionGroups`, `linkAs`): the header actions
|
|
135
|
+
ListPage draws, now its own component, and ListPage draws them with it (the same markup and classes). The first two secondary
|
|
136
|
+
actions stand from a 560px column, all of them are behind one ⋯ below it and below 768px; `moreActions` are behind ⋯ at every
|
|
137
|
+
width; the primary stands last (`primaryAction` a node, or `primary` an action drawn dark with the secondary ones' rules: off with
|
|
138
|
+
its reason, busy, a link). With no secondary action there is one ⋯, not a wide and a narrow one.
|
|
139
|
+
- The column is the nearest `ui-page-column` query container. ListPage's page is one (`container: ui-list-page ui-page-column`,
|
|
140
|
+
`ui-list-page` kept for the admin's own queries); another page names its column so.
|
|
141
|
+
- `ListPageAction.busy`: off, with these words in place of its own ("Reading your site…"), on the button (aria-busy) and its ⋯ row.
|
|
142
|
+
- The admin's Store header is PageActions since this (gemboss #6961), its copy gone. Its Journal's Share report moves from before
|
|
143
|
+
⋯ to after it (the primary, last, as every kit and Polaris header).
|
|
144
|
+
- The actions' words and fill variables are on `.ui-list-page__actions` too, so they read the same outside a ListPage.
|
|
145
|
+
|
|
146
|
+
**ConfirmDialog: the question before an act the server does, for every app** (09/11/2026; Chris 08/11: one control set). It was the
|
|
147
|
+
admin's own, drawn in a Polaris Modal: a portal under the browser's top layer, so a confirm asked from a kit Sheet or Dialog opened behind
|
|
148
|
+
it, and seven admin screens drew a red button of their own in a kit Dialog instead. Now it is the kit's Dialog, so it opens over anything.
|
|
149
|
+
Added
|
|
150
|
+
- `ConfirmDialog` (`open`, `title`, `action`, `destructive`, `alternative`, `cancelLabel`, `busyCloseLabel`, `disabled`, `busy`, `error`,
|
|
151
|
+
`canRetry`, `wide`, `onConfirm`, `onClose`): the admin's API and rules unchanged. It stays open while the server answers (Escape, ✕, the
|
|
152
|
+
backdrop and Cancel wait too, unless `busyCloseLabel` names a way out for a long batch), says a refusal in place with Try again, closes
|
|
153
|
+
when the caller turns `open` false, and calls `onClose` only for a person's close. Its body is mounted only while it is shown, as the
|
|
154
|
+
Polaris Modal's was. An off button is `aria-disabled` and keeps the focus in the question; the focus starts on Cancel. `wide`: 620
|
|
155
|
+
instead of 460, for a question that lists what goes. Its own entry, `confirm-dialog.css`: its sentence and its busy ring.
|
|
156
|
+
- `useConfirmAsk<T>()`: one question about one thing (a row's Delete): `ask(item)`, `confirm(act)` (busy while it runs; a refusal the
|
|
157
|
+
act returns stays in the question; null closes it), `close`, and the item kept after it closes.
|
|
158
|
+
- `Dialog` `dismissible` (default true): false while a question waits. Escape (anywhere, including a second press, which Chrome lets
|
|
159
|
+
through a prevented `cancel`), ✕ and the backdrop do nothing.
|
|
160
|
+
- `dialog.css`, imported by Dialog (so by Sheet, ConfirmDialog, SettingsDialog, the service switcher and SearchDialog too): the native
|
|
161
|
+
popup's frame (no browser padding, the .5 scrim, the body scrolling between a fixed head and foot). kit-plain.css keeps the same for a
|
|
162
|
+
plain-HTML page; a surface that loads ui.css without it (the admin) stood every kit Dialog in the browser's 1em padding and 10% scrim.
|
|
163
|
+
Changed
|
|
164
|
+
- `.ui-modal--wide` and the destructive button (`ui-btn--critical`, `ui-btn--primary ui-btn--critical`) move from kit-plain.css to
|
|
165
|
+
ui.css: the admin's red buttons drew as plain ones (a confirm's Delete, the cart canvas's Throw it away).
|
|
166
|
+
- Tab belongs to the open kit popup (`holdTab`, in Dialog, Sheet, SettingsDialog, the service switcher and SearchDialog): a dialog of the
|
|
167
|
+
page it was opened from (Polaris' Modal, the admin's Modal) no longer hears a Tab from the popup's own content. Their traps prevented
|
|
168
|
+
the key at their last control and focused their first, which the browser refuses under a modal dialog, so Tab was stuck on a kit
|
|
169
|
+
popup's last button. A dialog drawn inside the popup keeps its own Tab.
|
|
170
|
+
|
|
171
|
+
## 0.65.0 (08/11/2026)
|
|
172
|
+
|
|
173
|
+
**One control set: the schema form is the kit's** (08/11/2026; Chris: "các control phải có bộ control và kiểu có sự tái sử dụng dùng chung
|
|
174
|
+
shared component… đừng mỗi cho mỗi kiểu"). Every app draws a settings schema with the same controls: moved from the admin
|
|
175
|
+
(components/shell/FieldRenderer.tsx, FieldFrame.tsx, lib/held-knobs.ts, settings-frame-groups.ts, find-a-setting.ts) with their markup,
|
|
176
|
+
class names and commit rules, so the admin draws exactly as before (967 rendered settings surfaces byte-identical before and after).
|
|
177
|
+
- `FieldSpec` (`@gemboss/ui/editor`): the kit's kinds, `text` · `textarea` · `number` · `range` · `select` · `segmented` · `toggle` · `color`
|
|
178
|
+
· `image` · `repeater` (`KIT_FIELD_KINDS`); `SelectOption<G>` (a choice's `glyph` typed by the app's names), `FieldSchema`, `FieldGroup`.
|
|
179
|
+
- `FieldControl` (one field, its label on the side `LABEL_SIDE` says: `controlOf`, `labelBeside`), `FieldRows` (a group's fields, the label
|
|
180
|
+
on one side for the run: `firstSideFirst`; `off` + `offWhy`, `idPrefix`), `FieldRenderer` (a schema as static titled groups).
|
|
181
|
+
- `FieldFrame`, `PartsFrame`, `usePartHits`: a schema in the settings frame (InspectorFrame): each field where the element panel puts the
|
|
182
|
+
same setting (`frameGroups`: by default every group is the schema's own, `OWN_FRAME_PLACES`; the admin passes the element panel's
|
|
183
|
+
`STYLE_FRAME_PLACES`; an app may pass its own `places`), + and − groups (`groupState`, `knobHolds`,
|
|
184
|
+
`knobClearWrites`, `heldKnobsOnly`), a search shown in place (`settingMatches`, `findSettings`).
|
|
185
|
+
- An app's own kinds: `kinds` (prop on each of the above, or `FieldKindsProvider`), each `{ control, render, spread? }`: `control` its
|
|
186
|
+
label-side name, `render` its drawing (it gets the resolved `id`, `label`, `named` and `base()`, the kit's control for a kit kind it
|
|
187
|
+
replaces), `spread` a kind over several stored settings (read, write only what changed, holds, clear). `glyphs`: the picture a choice's
|
|
188
|
+
`glyph` is drawn as. A kind no one draws is a visible "No control draws “x” settings here." (`[data-unknown-kind]`), never a text box.
|
|
189
|
+
- `ColorChoicesContext` (a colour field's chips; also `@gemboss/ui/editor/color-choices`), `labelize`, the fit of a row of chips
|
|
190
|
+
(`segmentable`, `labelWidthPx`, `chipsFitBeside`, `NARROWEST_COLUMN_PX`, `ROW_CONTROL_COLUMN_PX`).
|
|
191
|
+
- `@gemboss/ui/editor/field-spec`: the schema with no React and no import of another module, for node tests and scripts.
|
|
192
|
+
|
|
193
|
+
**The email editor, wired to GemReach** (08/11/2026, gemboss #6820)
|
|
194
|
+
|
|
195
|
+
Added
|
|
196
|
+
- `EmailEditor` `actions` (the surface's buttons beside Save) and `sent` ("As sent": the sender's own HTML in a sandboxed frame);
|
|
197
|
+
`EmailCheck.severity` (an `error` reads red in the checks list, a `warning` amber).
|
|
198
|
+
|
|
199
|
+
**A list's card waits where it stood while it loads again** (02/11/2026, the admin's layout shifts: GemSeel's Orders card moved
|
|
200
|
+
271px on 19 of 96 visits with a CLS of 0.1 or more, measured in gemboss_admin_vitals).
|
|
201
|
+
|
|
202
|
+
Added
|
|
203
|
+
- `ListPage`'s `holdKey`: where the card stood as the read landed (ready, empty or no match) is kept on this device, per key and
|
|
204
|
+
page width (one localStorage entry, `gb.list-hold`, at most 200 places), and while the list loads again the card waits there,
|
|
205
|
+
kept there if what is above it changes height meanwhile, so the line under the title, the notices and the toolbar that come with
|
|
206
|
+
the read fill the room above it instead of pushing it down. A first visit, a private window, a page without the key, and a page
|
|
207
|
+
the server drew (left where it was painted) are as before.
|
|
208
|
+
|
|
209
|
+
**A chip button can say which one it is** (08/11/2026, gemboss follow-up #7). `ChipButton` `label`: its accessible name when its words are
|
|
210
|
+
one of many alike, as the page editor's "All settings" in each element's group of "Elements in this section" ("All settings for Row").
|
|
211
|
+
|
|
212
|
+
**Gem at work: a line by the work and the goal's meter** (08/11/2026, gemboss #6899). `GemActivity.say` and `GemActivity.goal` (optional,
|
|
213
|
+
contract v1): a line by the work saying what Gem is doing, and a meter of the turn's measured goal from where it started (Chris 08/11:
|
|
214
|
+
"visual narration", not effects to pass the time).
|
|
6
215
|
|
|
7
216
|
## 0.64.0 (08/11/2026)
|
|
8
217
|
|
|
9
218
|
**Gem at work: where the work is, the crew is** (08/11/2026; Chris 06/11: "vấn đề ở đâu nhiều thì con trỏ liên quan hoạt động nhiều hơn").
|
|
10
219
|
- `GemActivity.trades` (optional, still contract v1) and the `GemTrade` type: how much of a step's work is words, layout, pictures, buttons, the look or a check.
|
|
11
220
|
- The crew follows it: the warmest trades (cooling by half every 45 s) come beside the work ahead of the usual pair, walk more of the beats and say what they fix; still four on the page at most.
|
|
221
|
+
- The crew goes over the blocks of its trade while Gem works (a curve to a block's corner, a box dragged round it), not along the edges (Chris 08/11: "lờ đờ… không còn thú vị").
|
|
222
|
+
- Sections are built by many hands at once, with a pixel ruler, guides, "+" where the next block goes and a counter of the blocks built (Chris 08/11, after the reel "AI agents build my website"). `gem-at-work.css` ceiling 1509 → 2060 B gzip, with Chris's OK.
|
|
223
|
+
- `GemActivity.say` and `GemActivity.goal` (optional, contract v1): a line by the work saying what Gem is doing, and a meter of the turn's measured goal from where it started (Chris 08/11: "visual narration", not effects to pass the time).
|
|
12
224
|
|
|
13
225
|
**Skill rows: `when` and a node `note`** (08/11/2026; the reviews of gemlabs #1597 and gemboss #6873 found content-radar working
|
|
14
226
|
around both). `SkillFeedbackRow.when`: right after `who`, in the quiet small type (`.ui-skillfb__when`), for when a comment was left and
|
package/README.md
CHANGED
|
@@ -87,6 +87,8 @@ its CSS out of the build with it (`sideEffects`). gzip of the minified file, as
|
|
|
87
87
|
| minichart | `@gemboss/ui/minichart.css` | `packages/ui/src/minichart.css` | `Sparkline`, `ShareBar` (0.30.0) | 0.5 KB | those components import it |
|
|
88
88
|
| setup-guide | `@gemboss/ui/setup-guide.css` | `packages/ui/src/setup-guide.css` | `SetupGuide` (0.30.0) | 0.9 KB | `SetupGuide` imports it |
|
|
89
89
|
| reader-dialog | `@gemboss/ui/reader-dialog.css` | `packages/ui/src/reader-dialog.css` | `ReaderDialog`: the popup sized for reading a document (0.41.0) | 0.4 KB | `ReaderDialog` imports it |
|
|
90
|
+
| confirm-dialog | `@gemboss/ui/confirm-dialog.css` | `packages/ui/src/confirm-dialog.css` | `ConfirmDialog`: the question before an act the server does, its sentence and its busy ring (09/11/2026, unreleased) | 0.3 KB | `ConfirmDialog` imports it |
|
|
91
|
+
| dialog | `@gemboss/ui/dialog.css` | `packages/ui/src/dialog.css` | `Dialog` and everything drawn in it or through `useModalDialog` (Sheet, ConfirmDialog, SettingsDialog, the service switcher, SearchDialog): the native popup's frame where ui.css is loaded without kit-plain.css (09/11/2026, unreleased) | 0.2 KB | `Dialog` imports it |
|
|
90
92
|
| service-switcher | `@gemboss/ui/service-switcher.css` | `packages/ui/src/service-switcher.css` | `ServiceSwitcher` and `Switcher`: the button after the brand and its panel (0.36.0; any list, illustrated tiles 0.40.0) | 2.2 KB | `ServiceSwitcher` imports it, and `BrandLockup` through it (README "ServiceSwitcher") |
|
|
91
93
|
| language-switcher | `@gemboss/ui/language-switcher.css` | `packages/ui/src/language-switcher.css` | `LanguageSwitcher`: the globe + "EN" / "VI" / "中" and the menu of languages (21/10/2026; works without the core) | 1.1 KB | `LanguageSwitcher` imports it; a plain-HTML page links it with `language-switcher-plain.js` (README "LanguageSwitcher") |
|
|
92
94
|
| 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") |
|
|
@@ -1011,10 +1013,43 @@ import { ColorControl, EdgeBox, Field, ImageControl, InspectorGroup, PanelAction
|
|
|
1011
1013
|
| `cssUrl` | | `url("…")` for any URL: quoted, `"` and `\` escaped, a control character as a CSS hex escape. Plain TypeScript (also `@gemboss/ui/editor/css-url`), so a server component can call it; `gembossUI.cssUrl` in editor-plain.js writes the same. Use it for your own image cells (the admin's library grid does). |
|
|
1012
1014
|
| `swatchState` | | The one rule for what `<input type="color">` can show. Also `@gemboss/ui/editor/swatch` (plain TypeScript, for node). |
|
|
1013
1015
|
|
|
1014
|
-
Two modules behind the entry (`panel`, `controls`), both `"use client"`. Kept in the admin, on purpose: the
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1016
|
+
Two modules behind the entry (`panel`, `controls`), both `"use client"`. Kept in the admin, on purpose: the theme job's
|
|
1017
|
+
media library and image generation, the per-breakpoint spacing model. Since 0.20.0 (#3846) the schema's On / Off toggles
|
|
1018
|
+
and the inspector's Visibility (Show / Hide) rows are `Seg` too, so they say `aria-pressed` like every other segmented row.
|
|
1019
|
+
|
|
1020
|
+
### The schema form: `FieldControl`, `FieldRows`, `FieldFrame` (0.65.0)
|
|
1021
|
+
|
|
1022
|
+
One control per kind of setting, the same on every surface of every app (08/11/2026, one control set; moved from the admin's
|
|
1023
|
+
`FieldRenderer.tsx` / `FieldFrame.tsx` with their markup and commit rules). A schema is data (`FieldSpec`, `FieldSchema`: a field's
|
|
1024
|
+
`kind`, `id`, `label`, `hint` and its kind's own keys); the host owns a flat `values` object and gets `onChange(id, value)`.
|
|
1025
|
+
|
|
1026
|
+
```tsx
|
|
1027
|
+
import { FieldFrame, FieldRows, FieldKindsProvider, type FieldSchema } from "@gemboss/ui/editor";
|
|
1028
|
+
|
|
1029
|
+
const schema: FieldSchema = [{ title: "Content", fields: [
|
|
1030
|
+
{ kind: "text", id: "subject", label: "Subject", maxLength: 120 },
|
|
1031
|
+
{ kind: "select", id: "font", label: "Font", options: [{ value: "sans", label: "Sans" }, { value: "serif", label: "Serif" }] },
|
|
1032
|
+
{ kind: "color", id: "bg", label: "Background" },
|
|
1033
|
+
] }];
|
|
1034
|
+
<FieldFrame schema={schema} values={values} onChange={(id, v) => save({ [id]: v })} onChangeMany={(writes) => saveAll(writes)} />
|
|
1035
|
+
// or, inside a group the host draws itself:
|
|
1036
|
+
<InspectorGroup collapsible={false} title="Content"><FieldRows fields={schema[0]!.fields} values={values} onChange={write} /></InspectorGroup>
|
|
1037
|
+
```
|
|
1038
|
+
|
|
1039
|
+
| Piece | What it does |
|
|
1040
|
+
|---|---|
|
|
1041
|
+
| The kit's kinds | `text` · `textarea` · `number` (a draft, committed on blur or Enter; numbers clamped to `min` / `max`, the bounds said under the box) · `range` · `select` (a stored value it does not offer shown as itself; "Not set" while nothing is stored) · `segmented` (chips where they fit the row's control column, `chipsFitBeside`, else a list) · `toggle` (On / Off) · `color` (`ColorControl`, with the host's chips from `ColorChoicesContext`) · `image` · `repeater`. Each in a `Field` whose `control` is `controlOf(field)`, so its label is on the side the `LABEL_SIDE` table says. |
|
|
1042
|
+
| `FieldControl` | One field. `labelHidden`, `invalid`, `inputId`, `mark` + `describedBy`, `labelMark`, `colorDrafts`, `onDraft`, `onPickImage`, `onBlurCapture`. |
|
|
1043
|
+
| `FieldRows` | A group's fields with the label on one side for the run (`firstSideFirst`); `off` + `offWhy` lock fields and say why; `idPrefix` for a form mounted twice. |
|
|
1044
|
+
| `FieldRenderer` | A schema as a flat run of static titled groups. |
|
|
1045
|
+
| `FieldFrame`, `PartsFrame`, `usePartHits` | The schema in the settings frame (`InspectorFrame`): each field where the element panel puts the same setting when you pass `places` (`STYLE_FRAME_PLACES`, the admin's; by default, `OWN_FRAME_PLACES`, every group is your schema's own, open in Look), + and − groups (`groupState`, `knobHolds`, `knobClearWrites`, one `onChangeMany` write per −), a search shown in place (`settingMatches`). Host parts (`own`, `place`, `who`, `code`) are drawn first in their cluster. |
|
|
1046
|
+
| An app's kinds | `kinds={{ myKind: { control: "date", render: (p) => <MyField id={p.id} label={p.label} value={p.value} onCommit={p.onChange} /> } }}` on any of the above, or once with `FieldKindsProvider`. `control` is the table's name (or a function of the field and value); `spread` describes a kind over several stored settings (read, write only what changed, holds, clear). A kind for a kit kind takes its place, and `p.base()` draws the kit's own (a colour that is sometimes a gradient). The admin registers its value presets, date, link, edges, screens, font and gradient colour this way (`FieldRenderer.tsx` `ADMIN_KINDS`). |
|
|
1047
|
+
| A kind no one draws | A visible line, "No control draws “x” settings here." (`[data-unknown-kind]`), never a text box that seems to work. |
|
|
1048
|
+
| `glyphs` | `(name) => node`: the picture a choice's `glyph` is drawn as; a name it does not draw shows the choice's words. |
|
|
1049
|
+
|
|
1050
|
+
`@gemboss/ui/editor/field-spec` is the schema with no React and no import of another module (a node test can read it as it is):
|
|
1051
|
+
types, `labelize`, the fit (`segmentable`, `labelWidthPx`, the column widths), `firstSideFirst`, the knob rules, the frame's groups and
|
|
1052
|
+
its search. `@gemboss/ui/editor/color-choices` is `ColorChoicesContext` alone.
|
|
1018
1053
|
|
|
1019
1054
|
### Plain HTML: `initEditorPanel()`
|
|
1020
1055
|
|
|
@@ -1660,6 +1695,27 @@ import { FLEET_LANGUAGES, LanguageSwitcher, matchLanguage } from "@gemboss/ui";
|
|
|
1660
1695
|
| CSS | `language-switcher.css`, its own entry, 1.1 KB gzip, imported by the component. The menu's base rules (the core's `ui-menu` ones) are repeated there with the core's values, so a page that links only this file (gemboss.ai, whose pages the core would reset; GemNews's extension) draws the same menu. The surface and the box at zero specificity (`:where`); the rows, the hint and the separator at ONE class (0,1,0, since 22/10/2026), the core's own weight: an app's `button { font: inherit }` (0,0,1) cannot make them 16px, and one class of the app's (`.gb-lang__item { … }` after it, `.my-bar .gb-lang__item`) restyles them on purpose (the gap and corners take two: `.gb-lang__item.ui-menu__item`, so app-shell.css's unset tokens on a page without the core cannot zero the gap). Tokens, so `data-theme="dark"` follows, each with its light value as the fallback: no core, no `gemboss-tokens.css`, still right (light) |
|
|
1661
1696
|
| The topbar | AppShell's phone bar (☰, brand, search, toggle, switcher, account chip) fits it at 320 / 360 / 390, between ThemeToggle and the chip, no horizontal scroll. A portal `Topbar` with `TopbarNav` does NOT have that room (GemFeedback: brand, tab menu, search, theme, Sign in, no room for a 55px button at 320–390, and at 601–687 the tabs ran under it): there the switcher goes in the folded tab menu, `TopbarNav foot`, and its end-slot copy wears `gb-topnav-unfolded` (README "Public portal pieces" › TopbarNav) |
|
|
1662
1697
|
|
|
1698
|
+
### Plain HTML: icons, `@gemboss/ui/icons-plain.js` (09/11/2026)
|
|
1699
|
+
|
|
1700
|
+
The `Icon` set for a page with no React (GemNews' side rail and widget panel). A classic script that ADDS to `gembossUI`, like every
|
|
1701
|
+
other `*-plain.js`: after `kit-plain.js` when the page has it, on its own when it does not; by `src`, or inlined. Never copy a path into
|
|
1702
|
+
a surface: it stops following the set.
|
|
1703
|
+
|
|
1704
|
+
```html
|
|
1705
|
+
<script src="ui/icons-plain.js"></script> <!-- GemNews copies it from node_modules like language-switcher.css -->
|
|
1706
|
+
<script>
|
|
1707
|
+
button.innerHTML = gembossUI.icon("search") + "<span>Search</span>"; // decorative: aria-hidden="true"
|
|
1708
|
+
mark.innerHTML = gembossUI.icon("bookmark", { size: 16, title: "Saved" }); // named: role="img" + <title>
|
|
1709
|
+
</script>
|
|
1710
|
+
```
|
|
1711
|
+
|
|
1712
|
+
| | |
|
|
1713
|
+
| --- | --- |
|
|
1714
|
+
| `gembossUI.icon(name, { size, title })` | the SVG `<Icon name size title>` renders (20px grid, 1.5px stroke, fill on the `<g>`; empty shapes self-closed). `size` as `<Icon>` takes it: 20 when absent, else as given (px or a CSS length). Unknown name: `""`; nothing throws, `null` options included |
|
|
1715
|
+
| `gembossUI.ICON_NAMES` | every name, in icons.tsx order |
|
|
1716
|
+
| Where the shapes come from | the `ICONS` block between `// icons:begin` and `// icons:end`, WRITTEN by `icons-plain.test.ts` from `renderToStaticMarkup(<Icon>)`, the way service-switcher-plain.js's and team-chat-plain.js's are. After changing icons.tsx: `UPDATE_PLAIN_CATALOGUE=1 npx vitest run packages/ui/src/icons-plain.test.ts`; the test is red until you do |
|
|
1717
|
+
| Weight | about 3 KB gzip minified, the whole set (load it once); ceiling in weight-budget.json |
|
|
1718
|
+
|
|
1663
1719
|
### Plain HTML: `gembossUI.languageSwitcher()` (21/10/2026)
|
|
1664
1720
|
|
|
1665
1721
|
For a page with no React (gemboss.ai, GemNews's extension popup, GemFactory, GemCare, GemPress): `language-switcher-plain.js`
|
|
@@ -2899,6 +2955,8 @@ gem.destroy(); // the layer leaves the page
|
|
|
2899
2955
|
sweeps a scan line down the screen. `fail`: Gem and the ring turn red for 2.4 s, the words go back. `land`: what changed lights up
|
|
2900
2956
|
for 1.6 s; the crew leaves. At most four are on the page at once: Gem, the one at work, and two trades beside it walking slowly along the block's edges, off its words; the others are gone until their trade comes up. The walk stops with the turn.
|
|
2901
2957
|
- **Where the work is, the crew is.** An activity may say how much of its work is each trade (`trades: { copy, layout, image, cro, check, style }`: the fields an edit wrote, the words a check's findings use). Each trade warms by that count (at most 5 a step) and cools by half every 45 s; one warm enough comes beside the work ahead of the usual pair, takes more of the walk's beats, and says what it fixes ("Layout expert · fixing the layout"). A check, a save or a refusal that names trades changes who walks beside the work at once; QA riding its sweep counts as one of the two.
|
|
2958
|
+
- **The story as it happens.** An activity may carry `say` (one short line of what Gem is doing there, from the step itself: "Compared with the original: 61% alike") and `goal` (`{ label, done, total, unit? }`, measured, not guessed: a clone's likeness, steps done). The line is drawn just above the work (at its top edge when the screen has no room above), the goal as a meter in the corner opposite Skip with where it started this turn ("Like the original 52% → 61%") and a bar that moves to the new value. Both stay a moment past the landing's light, then go; Skip takes them at once. A new `goal.label` starts its meter again.
|
|
2959
|
+
- **The crew at the blocks, and many hands when sections are built.** While Gem works, the two beside it go over the blocks of their trade where the work is (copy: words, image: pictures, CRO: buttons, layout and styling: frames, QA: any): along a curve to a block's corner, a box with its handles dragged round it, held, let go; their tags say what they look at. When sections are built (`reveal`), up to eight blocks go at once (`BUILD_LANES`), extra hands in their trades' colours join when the crew is busy (`HANDS_MAX`), a pixel ruler runs across the top, guides cross the screen from each dragged box, a "+" marks the next blocks, and a counter at the foot says the hands at work and the blocks built of how many. All of it goes with the build.
|
|
2902
2960
|
- **`reveal(ids?)`**: saved sections, each through **one order, overview to detail**: structure (frames that paint something), pictures, headlines, words, buttons, then QA's sweep; within a step blocks go top to bottom and left to right; Gem's tag names the step. A section taller than the screen goes a screenful at a time, each through the whole order, so the page only moves down. An expert goes to a block's corner, holds the mouse down and drags its box out; words wipe in behind a caret, a picture's box fills with tint and the picture comes up through it. Nothing is outlined ahead of the boxes (Chris 05/11: a box dragged over a box already there makes no sense).
|
|
2903
2961
|
- **Targets by stable ids only**: `[data-gem-el-id]`, then `[data-gem-section-id]`, the first match that has a box (a custom-liquid
|
|
2904
2962
|
section is a `display: contents` wrapper around an inner section with the same id; `find` replaces the lookup). **The ladder**: an
|
|
@@ -3161,7 +3219,10 @@ import { emailChecks, type EmailDraft } from "@gemboss/ui/email-editor/model"; /
|
|
|
3161
3219
|
- **Checks**: `emailChecks(draft, brand, data)` runs 18 of GemReach's checks by their ids and names (src/templates/check-ids.ts); the
|
|
3162
3220
|
pill says "18 of 18 checks pass" and opens the list (`StatusList`). Pass the server's with `checks`.
|
|
3163
3221
|
- **The preview** is drawn from the blocks for one person (`people`), in the brand's colours, Desktop 600 / Mobile 375, Dark. It is
|
|
3164
|
-
not GemReach's sent HTML
|
|
3222
|
+
not GemReach's sent HTML: pass that as `sent={{ html, loading, error }}` (GemReach's preview route) and the bar offers **As sent**,
|
|
3223
|
+
which shows it read-only in a frame sandboxed with nothing allowed (no script, no form, not the page's origin).
|
|
3224
|
+
- **`actions`**: the surface's own buttons, between "Send me a test" and Save (GemBoss passes "Approve v3" to a Manager or the Owner
|
|
3225
|
+
only; the editor holds no role rule). A check's `severity` (`error` stops the approval, `warning` is a look) colours its line.
|
|
3165
3226
|
- Classes: `gb-emailed-*` (the editor), `gb-email-*` (the mail); every one drawn is styled by `email-editor.css`
|
|
3166
3227
|
(`email-editor.test.tsx`).
|
|
3167
3228
|
|
|
@@ -3566,6 +3627,7 @@ something the base cannot express, add a token or a prop here, and every surface
|
|
|
3566
3627
|
| `gemboss-ui.css` | built at stage time and shipped minified (0.19.0); since 0.23.0 the COMPATIBILITY BUNDLE, frozen: `apps/admin/scripts/export-ui-css.mjs` (tokens + kit + field + `packages/ui/src/shell.css`, with Polaris `--p-*` resolved to their fallbacks) + `packages/ui/src/app-shell.css` + `auth.css` + `assistant.css` + `menu.css` + `kit-plain.css` + `chat.css` + `chat-composer.css` (`packages/ui/scripts/build-css.mjs`) |
|
|
3567
3628
|
| `packages/ui/src/shell.css` | the SHARED SHELL (rail, topbar, main, mobile drawer, the assistant's thread rail, popover surface, account chip). Exported as `@gemboss/ui/shell-source.css` since 0.23.0 (`@gemboss/ui/shell.css` is the built part). The admin's `gemboss-shell.css` @imports it on line 2; the export refuses a shared-shell rule in the admin's sheet or an admin-only rule here (one owner). |
|
|
3568
3629
|
| `packages/ui/src/menu-plain.js` | 23/10/2026: `gembossUI.initMenuKeys()`, a menu's roles and keys and one menu open at a time for plain HTML (`@gemboss/ui/menu-plain.js`), the same as `menu-keys.ts`. After `kit-plain.js`; runs by itself. See "Plain-HTML behaviour". |
|
|
3630
|
+
| `packages/ui/src/icons-plain.js` | 09/11/2026: `gembossUI.icon(name, { size, title })` and `gembossUI.ICON_NAMES`, the icon set for plain HTML (`@gemboss/ui/icons-plain.js`), the same SVG as `<Icon>`. Its `ICONS` block is written by `icons-plain.test.ts` (`UPDATE_PLAIN_CATALOGUE=1`), never by hand. See "Plain HTML: icons". |
|
|
3569
3631
|
| `packages/ui/src/menu.css` | 23/10/2026: the ⋯ menu and its icon button, moved out of `kit-plain.css` (same rules, same order in the core). Imported by `Menu`; see "Menu". |
|
|
3570
3632
|
| `packages/ui/src/kit-plain.css` | primitives for surfaces that render plain HTML, not React (0.2.1): key/value list (the menu and the icon button are `menu.css` since 23/10/2026); 0.3.0 adds `ui-link` / `ui-prose`, the media card (`ui-card--media`, `__media`, `__body`, `__foot`) and the popup's `ui-modal__body` / `__foot`. Shipped inside `gemboss-ui.css`; the admin does not import it (its first-load CSS budget has ~0.1 KB headroom).; (0.4.0) report pages: delta, large KPI grid, bar list, column chart, legend, funnel, card grid, section head. |
|
|
3571
3633
|
| `packages/ui/src/kit-plain.js` | 0.3.0: the behaviour those surfaces each wrote by hand: `gembossUI.openModal` (Escape, backdrop, Tab trap, stacking, ask-before-close, focus back), `toast` (text, error tone), `initMenus` (outside click, item with focus back on ⋯ first, blur, Escape closes the menu before the popup); 0.5.0: `confirm`, `initShell`, `initPasswordFields` / `resetPasswordFields`. A classic script: inline it or `<script src>`; see "Plain-HTML behaviour" above. |
|