@newtone-dev/ui-react-web 0.52.1 → 0.53.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/dist/app-frame/app-frame.css +105 -46
- package/dist/app-frame/app-frame.d.ts +3 -0
- package/dist/app-frame/app-frame.d.ts.map +1 -1
- package/dist/app-frame/app-frame.js +3 -0
- package/dist/app-frame/app-frame.js.map +1 -1
- package/dist/app-frame/index.d.ts +1 -0
- package/dist/app-frame/index.d.ts.map +1 -1
- package/dist/app-frame/me/me.css +70 -0
- package/dist/app-frame/me/me.d.ts +47 -0
- package/dist/app-frame/me/me.d.ts.map +1 -0
- package/dist/app-frame/me/me.js +21 -0
- package/dist/app-frame/me/me.js.map +1 -0
- package/dist/app-frame/parts.d.ts +1 -1
- package/dist/app-frame/parts.js +5 -5
- package/dist/app-frame/parts.js.map +1 -1
- package/dist/ask-button/ask-button.css +1 -1
- package/dist/badge/badge.css +2 -2
- package/dist/below/below.css +2 -2
- package/dist/canvas/canvas.css +12 -12
- package/dist/color-field/color-field.css +4 -4
- package/dist/column-chart/column-chart.css +1 -1
- package/dist/crumbs/crumbs.css +1 -1
- package/dist/curve-field/curve-field.css +2 -2
- package/dist/data-grid/data-grid.css +3 -3
- package/dist/dot/dot.css +1 -1
- package/dist/faces/faces.css +1 -1
- package/dist/file-grid/file-grid.css +2 -2
- package/dist/floating-bar/floating-bar.css +23 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/inspector/inspector.css +13 -13
- package/dist/layer-list/layer-list.css +3 -3
- package/dist/link-button/link-button.css +2 -2
- package/dist/look-picker/look-picker.css +3 -3
- package/dist/material/material.css +1 -1
- package/dist/nav-list/nav-list.css +2 -2
- package/dist/node-map/node-map.css +2 -2
- package/dist/number-field/number-field.css +1 -1
- package/dist/outline/outline.css +4 -4
- package/dist/prompt-field/prompt-field.css +3 -3
- package/dist/row-list/row-list.css +1 -1
- package/dist/seed-color-field/seed-color-field.css +2 -2
- package/dist/seed-steps/seed-steps.css +1 -1
- package/dist/shell/shell.css +3 -3
- package/dist/site/site.css +1 -1
- package/dist/slide-list/slide-list.css +5 -5
- package/dist/split/split.css +4 -4
- package/dist/step-list/step-list.css +4 -4
- package/dist/table/table.css +3 -3
- package/dist/text/text.css +10 -0
- package/dist/text-diff/text-diff.css +1 -1
- package/dist/thread/thread.css +2 -2
- package/dist/tile-picker/tile-picker.css +3 -3
- package/dist/version-trail/version-trail.css +2 -2
- package/dist/waterfall/waterfall.css +1 -1
- package/dist/when-field/when-field.css +1 -1
- package/dist/workbench/workbench.css +11 -21
- package/package.json +3 -2
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* 3.5rem A, the rail of icons (Split.Rail `expand="hover"`, 2026-11-09): a 40px mark and 8px either side
|
|
5
5
|
* 15rem B, the list: a slide's picture at a readable size, a name on one line
|
|
6
6
|
* A + B D, the context panel: as wide as A and B together and the 1px between them (Joshua, 2026-11-09), so C stands centred
|
|
7
|
-
* A row 1: as tall as A is wide (3.5rem
|
|
7
|
+
* A row 1: as tall as A is wide (3.5rem, 56px): the one bar standard (DECISIONS 2026-11-29-one-bar-standard),
|
|
8
|
+
* 40px buttons that take a press from 48px, space.2 between two so their 48px touch, 14px words, 20px glyphs
|
|
8
9
|
* 1px the gap between panels, where the divider's colour shows
|
|
9
10
|
* B + 2px the name's field in row 1: its edges on B's two dividers (Joshua 2026-11-09) */
|
|
10
11
|
.newtone-workbench {
|
|
@@ -238,8 +239,8 @@
|
|
|
238
239
|
}
|
|
239
240
|
|
|
240
241
|
/* Row 1's buttons are 40px (Joshua 2026-11-09): one alone a 40x40 circle, one with words a 40px-tall pill. The bar's own
|
|
241
|
-
* controls, the main menu's button, the file's tools, how it stands, and who the window acts as. The name's field
|
|
242
|
-
*
|
|
242
|
+
* controls, the main menu's button, the file's tools, how it stands, and who the window acts as. The name's field is
|
|
243
|
+
* 40px too (2026-11-29, one bar standard), its words 14px. Each takes a press from 48px (app-frame.css's ::after). */
|
|
243
244
|
.newtone-workbench-top :is(.newtone-app-frame-control, .newtone-app-frame-name-menu) {
|
|
244
245
|
inline-size: 40px;
|
|
245
246
|
block-size: 40px;
|
|
@@ -255,24 +256,16 @@
|
|
|
255
256
|
.newtone-workbench-top .newtone-app-frame-title-status:empty {
|
|
256
257
|
display: none;
|
|
257
258
|
}
|
|
258
|
-
.newtone-workbench-top .newtone-app-frame-title-status[data-pressable] {
|
|
259
|
-
block-size: 40px;
|
|
260
|
-
padding-inline: var(--newtone-space-3);
|
|
261
|
-
}
|
|
262
|
-
.newtone-workbench-top .newtone-app-frame-profile:not([data-face]) {
|
|
263
|
-
block-size: 40px;
|
|
264
|
-
padding-inline: 6px var(--newtone-space-3);
|
|
265
|
-
}
|
|
266
259
|
|
|
267
260
|
/* Row 1 as one rhythm (Joshua 2026-11-09): every button the same ink and hover, whatever part draws it (the bar's
|
|
268
|
-
* controls, the main menu's button, the file's tools)
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* space.2
|
|
261
|
+
* controls, the main menu's button, the file's tools). No gap between buttons (Joshua 2026-11-29, one bar standard):
|
|
262
|
+
* space.2 between any two things, inside a group or between groups, which is the two 4px rims of their 48px presses, so
|
|
263
|
+
* the presses touch. A divider takes no margin of its own: the same space.2 either side.
|
|
264
|
+
* space.2 between any two things: two 4px rims */
|
|
272
265
|
.newtone-workbench-top,
|
|
273
266
|
.newtone-workbench-top :is(.newtone-app-frame-title, .newtone-app-frame-title-tools, .newtone-workbench-end),
|
|
274
267
|
.newtone-workbench-top .newtone-floating-bar:where([data-inline]) {
|
|
275
|
-
gap: var(--newtone-space-
|
|
268
|
+
gap: var(--newtone-space-2);
|
|
276
269
|
}
|
|
277
270
|
.newtone-workbench-top :is(.newtone-app-frame-control, .newtone-app-frame-name-menu),
|
|
278
271
|
.newtone-workbench-top .newtone-floating-bar-tool:not([data-variant]) {
|
|
@@ -282,14 +275,11 @@
|
|
|
282
275
|
background: var(--newtone-role-surface-secondary);
|
|
283
276
|
color: var(--newtone-role-text-primary);
|
|
284
277
|
}
|
|
285
|
-
|
|
286
|
-
margin-inline: var(--newtone-space-1);
|
|
287
|
-
}
|
|
288
|
-
/* The name's field starts on column A's edge (Joshua 2026-11-09): the row's space.1 after the mark taken back. It is as
|
|
278
|
+
/* The name's field starts on column A's edge (Joshua 2026-11-09): the row's space.2 after the mark taken back. It is as
|
|
289
279
|
* wide as B and the hairline either side of it, so its edges stand on both of B's dividers below; the name fills it. */
|
|
290
280
|
.newtone-workbench-top .newtone-app-frame-name-field {
|
|
291
281
|
flex: none;
|
|
292
|
-
margin-inline-start: -
|
|
282
|
+
margin-inline-start: calc(-1 * var(--newtone-space-2));
|
|
293
283
|
inline-size: calc(var(--_workbench-b) + 2px);
|
|
294
284
|
max-inline-size: none;
|
|
295
285
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newtone-dev/ui-react-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -490,6 +490,7 @@
|
|
|
490
490
|
"./material.css": "./dist/material/material.css",
|
|
491
491
|
"./shell.css": "./dist/shell/shell.css",
|
|
492
492
|
"./app-frame.css": "./dist/app-frame/app-frame.css",
|
|
493
|
+
"./app-frame-me.css": "./dist/app-frame/me/me.css",
|
|
493
494
|
"./site.css": "./dist/site/site.css",
|
|
494
495
|
"./quick-action.css": "./dist/quick-action/quick-action.css",
|
|
495
496
|
"./ask-button.css": "./dist/ask-button/ask-button.css",
|
|
@@ -580,7 +581,7 @@
|
|
|
580
581
|
"./text-diff.css": "./dist/text-diff/text-diff.css"
|
|
581
582
|
},
|
|
582
583
|
"peerDependencies": {
|
|
583
|
-
"@newtone-dev/ui-tokens": ">=0.
|
|
584
|
+
"@newtone-dev/ui-tokens": ">=0.48.0 <1",
|
|
584
585
|
"react": "^18 || ^19"
|
|
585
586
|
},
|
|
586
587
|
"scripts": {
|