@gemboss/ui 0.74.0 → 0.75.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 +24 -0
- package/README.md +2 -1
- package/catalog/editor.html +1 -1
- package/catalog/index.html +18 -18
- package/gemboss-ui.css +1 -1
- package/package.json +2 -1
- package/parts/components.css +1 -1
- package/parts/core.css +1 -1
- package/parts/shell.css +1 -1
- package/src/app-nav.tsx +1 -1
- package/src/icons-plain.js +1 -1
- package/src/icons.tsx +2 -0
- package/src/metrics.tsx +1 -1
- package/src/select-drawn.css +1 -0
- package/src/service-switcher-plain.js +1 -1
- package/src/services.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ 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.75.0 (16/11/2026)
|
|
8
|
+
|
|
9
|
+
**A plain select under a thumb is drawn at a field's size in its 44px box: `select-drawn.css`** (16/11/2026; Chris 13/11: "vẽ 28, khối 44",
|
|
10
|
+
every control). `.ui-select` is floored to 44 in the finger tier (ui.css, kit-plain.css) and drew the whole 44: gemform's registration
|
|
11
|
+
Dialog showed a 44 status select beside Email and Delete drawn at 28 (0.71.0's buttons).
|
|
12
|
+
- A new entry, `@gemboss/ui/select-drawn.css` (ui.css is in the frozen bundle). In the finger tier it draws a `.ui-select` as the kit
|
|
13
|
+
draws a field there (gemboss-field-drawn.css, the admin's Polaris Select): 36 below 48em, where its words are 16px; 32 from 48em under a
|
|
14
|
+
finger; `--slim` at its mouse 30. The box stays 44.
|
|
15
|
+
- A <select> has no `::before`, so the drawing is the box itself: the top and bottom of the 44 are a transparent border (still the
|
|
16
|
+
target), the fill is clipped to the padding box, the line is an inset shadow on it, and the outer radius is elliptical so the drawing's
|
|
17
|
+
corners are the field's radius. The line restates each state's colour (`--ui-select-line`: rest, hover, keyboard focus, refused); the
|
|
18
|
+
focus ring is 2px inside the drawing (an outline would ring the 44).
|
|
19
|
+
- `select-drawn-size-browser.test.ts` reads it off the pixels, from the source and minified: 36 / 32 / 30 in a 44, each state's line the
|
|
20
|
+
same colour as the mouse's border in that state, the ring inside, no outline. Negative control: ui.css and kit-plain.css alone draw the
|
|
21
|
+
44 whole; with the hover, refused or ring rule taken out, the test goes red on that rule. 417 B gzip, ceiling 929 (measured + slack).
|
|
22
|
+
- ON UPGRADE: link `@gemboss/ui/select-drawn.css` after gemboss-ui.css (or the parts) on a surface that draws `.ui-select`. Without it
|
|
23
|
+
the select stays drawn at 44. A surface that sets its own `border` on a `.ui-select` keeps a 44 drawing (its border replaces the bands).
|
|
24
|
+
|
|
25
|
+
**GemNews is now GemSpace** (16/11/2026, Chris: the new tab is a workspace, news is one part of it). The switcher's `gemnews` entry
|
|
26
|
+
reads GemSpace and opens `https://space.gemboss.ai/admin`, in `services.ts` and `service-switcher-plain.js` alike. The id stays
|
|
27
|
+
`gemnews`, so a surface that marks itself current with it keeps working. The old address still serves the admin.
|
|
28
|
+
|
|
7
29
|
## 0.74.0 (16/11/2026)
|
|
8
30
|
|
|
9
31
|
**The gem's facet in each Gem's colour: `facet` and `--gb-gem-facet`, `GEM_FACETS`** (16/11/2026; Chris 15/11: a Gem's logo is the
|
|
@@ -25,6 +47,8 @@ the tile drew the facet iris on every service.
|
|
|
25
47
|
GemTroop drew theirs by hand). Same class names as kit-plain, so a plain page and a React one look alike. With `href` the whole card is
|
|
26
48
|
the link.
|
|
27
49
|
|
|
50
|
+
**A `trash` icon** (16/11/2026), drawn on the set's 20px grid, in `icons.tsx` and `icons-plain.js`: the admin Inbox row's Delete.
|
|
51
|
+
|
|
28
52
|
## 0.73.0 (16/11/2026)
|
|
29
53
|
|
|
30
54
|
**Every chip in `.ui-chips` is drawn at its mouse 30 in the finger tier, toggles and phone widths included** (16/11/2026; Chris 13/11:
|
package/README.md
CHANGED
|
@@ -133,6 +133,7 @@ its CSS out of the build with it (`sideEffects`). gzip of the minified file, as
|
|
|
133
133
|
| gemboss-field-drawn | `@gemboss/ui/gemboss-field-drawn.css` | `packages/ui/src/gemboss-field-drawn.css` | a field made of parts (`.gemboss-field--group`) under a thumb or at a phone's width drawn at a Polaris field's size in its 44px box: 36, 32 from 48em under a finger (15/11/2026, its own entry: gemboss-field.css is in the frozen bundle) | 0.4 KB | a surface that draws a group links it (the admin's SettingsDialog imports it) |
|
|
134
134
|
| chat-cards-drawn | `@gemboss/ui/chat-cards-drawn.css` | `packages/ui/src/chat-cards-drawn.css` | a chat CTA and a page card's Open under a thumb drawn at their mouse size, 38 and 32, in their 44px box; the glow on the drawing (15/11/2026, its own entry: chat-cards.css is at its ceiling) | 0.4 KB | `chat-cards.tsx` imports it after chat-cards.css |
|
|
135
135
|
| chips-drawn | `@gemboss/ui/chips-drawn.css` | `packages/ui/src/chips-drawn.css` | every chip in `.ui-chips` (a link, a toggle, a static one) in the finger tier drawn at its mouse 30 in its 44px box (15/11/2026, its own entry: ui.css is in the frozen bundle) | 0.3 KB | a surface that draws `.ui-chips` links it after gemboss-ui.css (or the parts) |
|
|
136
|
+
| select-drawn | `@gemboss/ui/select-drawn.css` | `packages/ui/src/select-drawn.css` | a plain `.ui-select` in the finger tier drawn at a field's size in its 44px box: 36, 32 from 48em under a finger, `--slim` 30; each state's line as the mouse's border, the focus ring inside (16/11/2026, its own entry: ui.css is in the frozen bundle) | 0.4 KB | a surface that draws `.ui-select` links it after gemboss-ui.css (or the parts) |
|
|
136
137
|
| 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) |
|
|
137
138
|
|
|
138
139
|
The core alone is 14.7 KB against 21.7 for the bundle (each part opens with a short header naming the gemboss commit, kept through minify, so a surface serving the parts can still say which commit its CSS is); a list page adds collections (4.6), a sign-in page auth (2.6).
|
|
@@ -1708,7 +1709,7 @@ The groups, in order, are how a store is built and then run (`SERVICE_GROUPS`, s
|
|
|
1708
1709
|
| GemBoss | GemBoss (the seller app and the ops console) |
|
|
1709
1710
|
| Build the store | GemFactory, GemMedia, GemForm, GemX |
|
|
1710
1711
|
| Read the market | GemWatcher, GemMarket, GemPixel, GemCapture, Search Radar |
|
|
1711
|
-
| Content and community | GemPress, Content Radar, GemCommunity,
|
|
1712
|
+
| Content and community | GemPress, Content Radar, GemCommunity, GemSpace (id `gemnews`) |
|
|
1712
1713
|
| Customers | GemCare, GemFeedback |
|
|
1713
1714
|
| Team and partners | Partner Radar, Taskdesk |
|
|
1714
1715
|
|
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.75.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";
|