@viglet/viglet-design-system 2026.3.12 → 2026.3.13
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/README.md +39 -10
- package/dist/bento/bento-calendar.d.ts +52 -0
- package/dist/bento/bento-calendar.d.ts.map +1 -0
- package/dist/bento/bento-change-mark.d.ts +21 -0
- package/dist/bento/bento-change-mark.d.ts.map +1 -0
- package/dist/bento/bento-data-table.d.ts +8 -1
- package/dist/bento/bento-data-table.d.ts.map +1 -1
- package/dist/bento/bento-diff.d.ts +10 -1
- package/dist/bento/bento-diff.d.ts.map +1 -1
- package/dist/bento/bento-split-page.d.ts +31 -0
- package/dist/bento/bento-split-page.d.ts.map +1 -0
- package/dist/bento/bento-version-rail.d.ts.map +1 -1
- package/dist/bento/index.d.ts +4 -1
- package/dist/bento/index.d.ts.map +1 -1
- package/dist/bento.cjs +4 -4
- package/dist/bento.es.js +1430 -787
- package/dist/catalogue.json +189 -1
- package/dist/components/ui/viglet-assistant.d.ts +7 -1
- package/dist/components/ui/viglet-assistant.d.ts.map +1 -1
- package/dist/exports.json +14 -1
- package/dist/i18n/index.d.ts +44 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/locales/en/bento.json.d.ts +22 -0
- package/dist/i18n/locales/pt/bento.json.d.ts +22 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.es.js +40 -0
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +971 -1083
- package/dist/preset.css +1 -1
- package/dist/{user.context-BXQ7lgg5.js → user.context-D3kmD3_y.js} +285 -169
- package/dist/user.context-gQvBxcwr.cjs +1 -0
- package/dist/viglet-design-system.css +1 -1
- package/docs/BENTO-AUTHORING.md +13 -2
- package/docs/reference/README.md +2 -1
- package/docs/reference/canvas.json +10 -1
- package/docs/reference/split.dc.html +164 -0
- package/package.json +1 -1
- package/scripts/lib/contrast.mjs +29 -3
- package/scripts/page-reference.mjs +3 -3
- package/dist/user.context-D01CI8gq.cjs +0 -1
package/README.md
CHANGED
|
@@ -155,7 +155,8 @@ viglet-ds-page-lint src --contrast src/index.css
|
|
|
155
155
|
It lays your stylesheet over the preset the way the two cascade and measures every
|
|
156
156
|
token pair your stylesheet changes on both grounds: each `--vg-X` with its
|
|
157
157
|
`--vg-X-foreground`, text and muted text on the page, the accented label on the
|
|
158
|
-
page
|
|
158
|
+
page and on the accent's two tints (read laid over the page), and the white label
|
|
159
|
+
on the accent fill. A pair under 4.5:1 on either ground
|
|
159
160
|
is a finding at the line that declares the token, with both grounds' ratios:
|
|
160
161
|
|
|
161
162
|
```
|
|
@@ -203,7 +204,9 @@ against the working tree, and denies a write that declares a component the
|
|
|
203
204
|
package already exports, naming the import to use instead.
|
|
204
205
|
|
|
205
206
|
The catalogue server is a bin of its own, `viglet-ds-mcp`, so any MCP client can
|
|
206
|
-
start it from a product's install.
|
|
207
|
+
start it from a product's install. The plugin finds that install below the
|
|
208
|
+
repository root, so a package installed in a workspace, such as a web client
|
|
209
|
+
beside a Java build, is served too. It has two tools: `find_component` ranks the
|
|
207
210
|
components that do a job, and `read_component` returns one component's purpose,
|
|
208
211
|
props, the contract sections that govern it and an import to start from. The
|
|
209
212
|
authoring contract, the boundary and the token reference are resources
|
|
@@ -530,7 +533,10 @@ import { VigletAssistant } from "@viglet/viglet-design-system";
|
|
|
530
533
|
contract — the endpoint, the prompt and the key stay in your product. Leaving
|
|
531
534
|
`onSend` off is how you turn the chat off: the composer is not rendered at all
|
|
532
535
|
and the dock becomes a place the system reports from, which is what a product
|
|
533
|
-
that only wants notification feedback should mount.
|
|
536
|
+
that only wants notification feedback should mount. Pass `paused` for a person
|
|
537
|
+
who asked for a quiet dock: the mascot holds still and the caption appears whole
|
|
538
|
+
instead of being typed, while it is still announced. `prefers-reduced-motion`
|
|
539
|
+
does the same system-wide.
|
|
534
540
|
|
|
535
541
|
A message may carry one `action`, so an answer can offer something to do with
|
|
536
542
|
it — the label is your copy, already translated:
|
|
@@ -698,9 +704,9 @@ AppFooter, AppSwitcher, BackendStatusBanner, BackendStatusProvider, BadgeColorfu
|
|
|
698
704
|
|
|
699
705
|
`DialogDelete`, `GradientButtonLink` and `LoadProvider` are imported from `@viglet/viglet-design-system/router`; every other name above comes from the package root. `Login` and `StartupFirst` are compounds — each is a root with named parts on it, the way `Card` is.
|
|
700
706
|
|
|
701
|
-
### Bento Layer (
|
|
707
|
+
### Bento Layer (34 components)
|
|
702
708
|
|
|
703
|
-
AdaptiveSectionCard, BentoActionsMenu, BentoBackLink, BentoBackToTop, BentoCommandPalette, BentoCountTile, BentoDataTable, BentoDiff, BentoEmptyState, BentoEntityShell, BentoEntityTile, BentoFilterBar, BentoFormHero, BentoFormSection, BentoHero, BentoHeroIconPicker, BentoInlineEdit, BentoListPage, BentoNavRail, BentoPaletteTrigger, BentoPanel, BentoSaveBar, BentoScrollSaveBar, BentoSection, BentoShell, BentoShortcutsDialog, BentoStatusMarker, BentoTile, BentoTileGrid, BentoUserMenu, BentoVersionRail
|
|
709
|
+
AdaptiveSectionCard, BentoActionsMenu, BentoBackLink, BentoBackToTop, BentoCalendar, BentoChangeMark, BentoCommandPalette, BentoCountTile, BentoDataTable, BentoDiff, BentoEmptyState, BentoEntityShell, BentoEntityTile, BentoFilterBar, BentoFormHero, BentoFormSection, BentoHero, BentoHeroIconPicker, BentoInlineEdit, BentoListPage, BentoNavRail, BentoPaletteTrigger, BentoPanel, BentoSaveBar, BentoScrollSaveBar, BentoSection, BentoShell, BentoShortcutsDialog, BentoSplitPage, BentoStatusMarker, BentoTile, BentoTileGrid, BentoUserMenu, BentoVersionRail
|
|
704
710
|
|
|
705
711
|
All from `@viglet/viglet-design-system/bento`, with `@viglet/viglet-design-system/bento.css` beside it. [The bento layer](#the-bento-layer) is what each one is for and how a page composes them; this is the inventory.
|
|
706
712
|
|
|
@@ -837,6 +843,9 @@ and optionally `rowActions` for a per-row menu and `selectionActions` for the ba
|
|
|
837
843
|
that appears over a selection. The arrows move between rows, Shift with an arrow
|
|
838
844
|
or a click extends a selection, and Enter calls `onRowOpen`. The column picker
|
|
839
845
|
reports `onLayoutChange`, and you store the layout, as you do for `BentoListPage`.
|
|
846
|
+
The selection works the same way: pass `selectedIds` beside `onSelectionChange` and
|
|
847
|
+
the table ticks exactly those rows. That lets your page select every row or invert
|
|
848
|
+
the selection with its own controls, without remounting the table.
|
|
840
849
|
|
|
841
850
|
```tsx
|
|
842
851
|
<BentoDataTable
|
|
@@ -900,12 +909,32 @@ change the rows:
|
|
|
900
909
|
revision history, a review of what an agent changed, or a translation against its
|
|
901
910
|
source. Pass `before`, `after` and the `fields` to compare. A field is `text`
|
|
902
911
|
(compared by word), `rich` (HTML, compared on the blocks it renders, so markup
|
|
903
|
-
alone is no change)
|
|
904
|
-
|
|
912
|
+
alone is no change), `lines` (a source file, compared by line and drawn in numbered
|
|
913
|
+
monospace rows, with the unchanged stretches between changes folded) or `value`
|
|
914
|
+
(compared whole). Unchanged fields collapse behind a count. `layout="split"` draws a
|
|
915
|
+
`lines` field with the original beside the change and unchanged lines level with
|
|
916
|
+
each other. Below 48rem of the comparison's own width it falls back to one column.
|
|
917
|
+
`BentoChangeMark` is the chip `BentoDiff` draws beside each field, for a list of
|
|
918
|
+
what changed: `state` is `added`, `removed`, `changed` or `unchanged`, and
|
|
919
|
+
`compact` draws git's letter (`A`, `D`, `M`) with the word as its accessible name
|
|
920
|
+
and tooltip. A side that is `null` renders the other whole, as a created or deleted
|
|
905
921
|
item. Every change is named in text as well as coloured. `BentoVersionRail` lists
|
|
906
922
|
the revisions (author, person or agent, time) as a listbox a reader picks two
|
|
907
923
|
from, by keyboard or pointer. Neither fetches anything.
|
|
908
924
|
|
|
925
|
+
`BentoCalendar` draws a month or a week of `entries` (`id`, `start`, `label`, an
|
|
926
|
+
optional `tone`) in the `timeZone` you pass. Given `onEntryMove(id, start)`, an
|
|
927
|
+
entry can be dragged onto another day and keeps its time of day. The same move
|
|
928
|
+
works from the keyboard: Enter enters a day, Space picks the entry up, the arrows
|
|
929
|
+
choose a day and Enter drops it. `onRangeChange` reports the period shown, so you
|
|
930
|
+
can load its entries, and `onEntrySelect` opens one. It fetches nothing.
|
|
931
|
+
|
|
932
|
+
`BentoSplitPage` is the two-pane page shape: a form beside its preview, or a source
|
|
933
|
+
beside its translation, under one hero. Pass `primary`, `secondary` and a label for
|
|
934
|
+
each. Each pane scrolls on its own, the reader drags the ratio, and `storageKey`
|
|
935
|
+
remembers it per viewer. At phone width it becomes one pane with a labelled switch,
|
|
936
|
+
and neither pane unmounts.
|
|
937
|
+
|
|
909
938
|
`BentoCommandPalette` takes a second group whose items the product supplies per
|
|
910
939
|
query, beside the nav items it matches itself. Pass `onQueryChange` to hear the
|
|
911
940
|
query as typed and `group` to answer it:
|
|
@@ -986,7 +1015,7 @@ something the bundle did not deliver; `scripts/externals.test.ts` now fails if
|
|
|
986
1015
|
anything externalised as a peer is declared a dependency again.
|
|
987
1016
|
|
|
988
1017
|
[docs/BENTO-AUTHORING.md](docs/BENTO-AUTHORING.md) is the contract for writing a
|
|
989
|
-
bento page: the
|
|
1018
|
+
bento page: the four page shapes, what the package will not hold for you, and
|
|
990
1019
|
the colour, i18n, accessibility and layout rules that keep two consoles looking
|
|
991
1020
|
like the same product. Read it before the first screen, not after the fifth.
|
|
992
1021
|
|
|
@@ -995,10 +1024,10 @@ of this package and which stay in the product, and why. Four of them are one
|
|
|
995
1024
|
product's commercial offer rendered as cards, and shipping those as chrome would
|
|
996
1025
|
put that offer in every console.
|
|
997
1026
|
|
|
998
|
-
[docs/reference/](docs/reference/) is the same contract drawn:
|
|
1027
|
+
[docs/reference/](docs/reference/) is the same contract drawn: ten artboards,
|
|
999
1028
|
one per decision that makes two products built from this package stop looking
|
|
1000
1029
|
like one — the header's set, who owns the reading column, what `--primary`
|
|
1001
|
-
reaches, the
|
|
1030
|
+
reaches, the four page shapes, the panel, and both grounds with their ratios.
|
|
1002
1031
|
The catalogue proves a component; these prove the arrangement.
|
|
1003
1032
|
|
|
1004
1033
|
## Contributing
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface BentoCalendarEntry {
|
|
2
|
+
id: string;
|
|
3
|
+
/** When it happens: an instant, drawn on the day it falls on in `timeZone`. */
|
|
4
|
+
start: Date | number | string;
|
|
5
|
+
/** What it is, already translated. Also what a move is announced by. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Tinted as a status is elsewhere in the bento layer. Omitted, it is neutral. */
|
|
8
|
+
tone?: "on" | "warn" | "error";
|
|
9
|
+
}
|
|
10
|
+
export type BentoCalendarView = "month" | "week";
|
|
11
|
+
export interface BentoCalendarProps {
|
|
12
|
+
entries: readonly BentoCalendarEntry[];
|
|
13
|
+
/** Controlled view. Omitted, the calendar owns it. */
|
|
14
|
+
view?: BentoCalendarView;
|
|
15
|
+
defaultView?: BentoCalendarView;
|
|
16
|
+
onViewChange?: (view: BentoCalendarView) => void;
|
|
17
|
+
/** A day in the period shown first. Defaults to today. */
|
|
18
|
+
defaultDate?: Date | number | string;
|
|
19
|
+
/** The zone the grid is drawn in, as an IANA name. Defaults to the reader's. */
|
|
20
|
+
timeZone?: string;
|
|
21
|
+
/** 0 is Sunday, 1 Monday. */
|
|
22
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
23
|
+
/**
|
|
24
|
+
* Given, entries can be dragged, or picked up from the keyboard, onto another
|
|
25
|
+
* day. Called with the new start: the same time of day, on the day dropped on.
|
|
26
|
+
*/
|
|
27
|
+
onEntryMove?: (id: string, start: Date) => void;
|
|
28
|
+
/** Given, activating an entry calls this, so the product can open it. */
|
|
29
|
+
onEntrySelect?: (id: string) => void;
|
|
30
|
+
/** Called with the instants the shown period spans, end exclusive, so a product can load its entries. */
|
|
31
|
+
onRangeChange?: (range: {
|
|
32
|
+
start: Date;
|
|
33
|
+
end: Date;
|
|
34
|
+
}) => void;
|
|
35
|
+
/** The grid's accessible name. Defaults to the period's title. */
|
|
36
|
+
label?: string;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* VDS172 — a month or week of caller-supplied entries, for a page of what is
|
|
41
|
+
* scheduled: publications, reviews, releases.
|
|
42
|
+
*
|
|
43
|
+
* Entries come in and moves go out; the product owns the data and the write. A
|
|
44
|
+
* day is a grid cell the arrow keys move between, PageUp and PageDown turn the
|
|
45
|
+
* period, and the grid is drawn in `timeZone` since the page states the reader's
|
|
46
|
+
* zone. With `onEntryMove` an entry drags onto another day and keeps its time of
|
|
47
|
+
* day, and the same move has a keyboard path, so dragging is never the only way:
|
|
48
|
+
* Enter reaches a day's entries, Space picks one up, the arrows choose a day and
|
|
49
|
+
* Enter drops it, announced as it happens. It fetches nothing.
|
|
50
|
+
*/
|
|
51
|
+
export declare function BentoCalendar({ entries, view, defaultView, onViewChange, defaultDate, timeZone, weekStartsOn, onEntryMove, onEntrySelect, onRangeChange, label, className, }: Readonly<BentoCalendarProps>): import("react").JSX.Element;
|
|
52
|
+
//# sourceMappingURL=bento-calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bento-calendar.d.ts","sourceRoot":"","sources":["../../src/bento/bento-calendar.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,+EAA+E;IAC/E,KAAK,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9B,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC;CAChC;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACvC,sDAAsD;IACtD,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,0DAA0D;IAC1D,WAAW,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IACrC,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6BAA6B;IAC7B,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IAChD,yEAAyE;IACzE,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,yGAAyG;IACzG,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,IAAI,CAAC;QAAC,GAAG,EAAE,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IAC5D,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsDD;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,IAAI,EACJ,WAAqB,EACrB,YAAY,EACZ,WAAW,EACX,QAA2D,EAC3D,YAAgB,EAChB,WAAW,EACX,aAAa,EACb,aAAa,EACb,KAAK,EACL,SAAS,GACV,EAAE,QAAQ,CAAC,kBAAkB,CAAC,+BAkT9B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** What happened to an item between two versions. */
|
|
2
|
+
export type BentoChangeState = "added" | "removed" | "changed" | "unchanged";
|
|
3
|
+
export interface BentoChangeMarkProps {
|
|
4
|
+
state: BentoChangeState;
|
|
5
|
+
/** One letter instead of the word, for a narrow row: git's `A`, `D` and `M` by default. The word stays its name and tooltip. */
|
|
6
|
+
compact?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* VDS170 — one mark for created, changed and deleted, so a list of what changed
|
|
11
|
+
* and the comparison it opens agree on what a change looks like.
|
|
12
|
+
*
|
|
13
|
+
* The chip `BentoDiff` draws beside each field, lifted out so a list can draw the
|
|
14
|
+
* same words in the same tints: a file an agent touched, a page in a review
|
|
15
|
+
* queue. `compact` draws one letter where a row is narrow; a letter is an
|
|
16
|
+
* abbreviation, so the word is what a screen reader says and what a pointer
|
|
17
|
+
* reads. It takes a state and nothing else: striking a deleted item's name is the
|
|
18
|
+
* product's to draw.
|
|
19
|
+
*/
|
|
20
|
+
export declare function BentoChangeMark({ state, compact, className }: Readonly<BentoChangeMarkProps>): import("react").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=bento-change-mark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bento-change-mark.d.ts","sourceRoot":"","sources":["../../src/bento/bento-change-mark.tsx"],"names":[],"mappings":"AAIA,qDAAqD;AACrD,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAE7E,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,gBAAgB,CAAC;IACxB,gIAAgI;IAChI,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,OAAe,EAAE,SAAS,EAAE,EAAE,QAAQ,CAAC,oBAAoB,CAAC,+BAgCpG"}
|
|
@@ -43,6 +43,13 @@ export interface BentoDataTableProps<TRow> {
|
|
|
43
43
|
rowActions?: readonly BentoDataTableAction<TRow>[];
|
|
44
44
|
/** Given, rows are selectable, and these act on the selection from a bar above the table. */
|
|
45
45
|
selectionActions?: readonly BentoDataTableAction<TRow>[];
|
|
46
|
+
/**
|
|
47
|
+
* Controlled selection, by row id. Given, the table ticks exactly these rows and
|
|
48
|
+
* reports every change through `onSelectionChange` without keeping a copy, so a
|
|
49
|
+
* page can select every row or invert the selection. Omitted, the table keeps
|
|
50
|
+
* its own.
|
|
51
|
+
*/
|
|
52
|
+
selectedIds?: readonly string[];
|
|
46
53
|
onSelectionChange?: (ids: string[]) => void;
|
|
47
54
|
/**
|
|
48
55
|
* What the rows were chosen by, such as a serialised filter. A selection holds
|
|
@@ -77,5 +84,5 @@ export interface BentoDataTableProps<TRow> {
|
|
|
77
84
|
* and actions, and stores the column layout the way `BentoListPage` has it store
|
|
78
85
|
* a tile layout.
|
|
79
86
|
*/
|
|
80
|
-
export declare function BentoDataTable<TRow extends RowData>({ rows, getRowId, columns, label, getRowLabel, rowActions, selectionActions, onSelectionChange, selectionScope, layout, onLayoutChange, onRowOpen, rowHeight, height, empty, }: Readonly<BentoDataTableProps<TRow>>): import("react").JSX.Element;
|
|
87
|
+
export declare function BentoDataTable<TRow extends RowData>({ rows, getRowId, columns, label, getRowLabel, rowActions, selectionActions, selectedIds, onSelectionChange, selectionScope, layout, onLayoutChange, onRowOpen, rowHeight, height, empty, }: Readonly<BentoDataTableProps<TRow>>): import("react").JSX.Element;
|
|
81
88
|
//# sourceMappingURL=bento-data-table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bento-data-table.d.ts","sourceRoot":"","sources":["../../src/bento/bento-data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,OAAO,EAEb,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAaf,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE9E,MAAM,WAAW,oBAAoB,CAAC,IAAI;IACxC,2DAA2D;IAC3D,EAAE,EAAE,MAAM,CAAC;IACX,8DAA8D;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf,2BAA2B;IA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EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACxD,wCAAwC;IACxC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,qGAAqG;IACrG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAWD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc,CAAC,IAAI,SAAS,OAAO,EAAE,EACnD,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,KAAK,EACL,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,cAAc,EACd,SAAS,EACT,SAAc,EACd,MAAY,EACZ,KAAK,GACN,EAAE,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,+BAwZrC"}
|
|
@@ -5,6 +5,8 @@ export type BentoDiffFieldKind =
|
|
|
5
5
|
"text"
|
|
6
6
|
/** HTML, compared on the blocks it renders (paragraphs, headings, items), not on its markup. */
|
|
7
7
|
| "rich"
|
|
8
|
+
/** A source file, compared line by line and drawn numbered, as a review tool reads one. */
|
|
9
|
+
| "lines"
|
|
8
10
|
/** Anything else, compared whole: a number, a date, a choice. */
|
|
9
11
|
| "value";
|
|
10
12
|
export interface BentoDiffField {
|
|
@@ -23,7 +25,14 @@ export interface BentoDiffProps {
|
|
|
23
25
|
fields: readonly BentoDiffField[];
|
|
24
26
|
/** Open the unchanged fields instead of collapsing them. */
|
|
25
27
|
showUnchanged?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* How a `lines` field is drawn: one column, or the original beside the change
|
|
30
|
+
* with unchanged lines level. Other kinds have no rows to align and ignore it.
|
|
31
|
+
* Split falls back to inline where the comparison is narrower than 48rem.
|
|
32
|
+
*/
|
|
33
|
+
layout?: BentoDiffLayout;
|
|
26
34
|
}
|
|
35
|
+
export type BentoDiffLayout = "inline" | "split";
|
|
27
36
|
/**
|
|
28
37
|
* VDS140 — one comparison for every place a curator compares two versions.
|
|
29
38
|
*
|
|
@@ -37,5 +46,5 @@ export interface BentoDiffProps {
|
|
|
37
46
|
* removals rather than as an empty panel. A change is named in text as well as
|
|
38
47
|
* coloured, so it reads the same without colour. It fetches nothing.
|
|
39
48
|
*/
|
|
40
|
-
export declare function BentoDiff({ before, after, fields, showUnchanged }: Readonly<BentoDiffProps>): import("react").JSX.Element;
|
|
49
|
+
export declare function BentoDiff({ before, after, fields, showUnchanged, layout }: Readonly<BentoDiffProps>): import("react").JSX.Element;
|
|
41
50
|
//# sourceMappingURL=bento-diff.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bento-diff.d.ts","sourceRoot":"","sources":["../../src/bento/bento-diff.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"bento-diff.d.ts","sourceRoot":"","sources":["../../src/bento/bento-diff.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAOjD,6CAA6C;AAC7C,MAAM,MAAM,kBAAkB;AAC5B,yCAAyC;AACvC,MAAM;AACR,gGAAgG;GAC9F,MAAM;AACR,2FAA2F;GACzF,OAAO;AACT,iEAAiE;GAC/D,OAAO,CAAC;AAEZ,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,uEAAuE;IACvE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,SAAS,CAAC;CACxC;AAED,8GAA8G;AAC9G,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;AAErE,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,aAAa,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC;IACrB,MAAM,EAAE,SAAS,cAAc,EAAE,CAAC;IAClC,4DAA4D;IAC5D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAC;AAgEjD;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,aAAqB,EAAE,MAAiB,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,+BA8EtH"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface BentoSplitPageProps {
|
|
3
|
+
/** The pane read first, on the left: a form, a source text. */
|
|
4
|
+
primary: ReactNode;
|
|
5
|
+
/** The pane read beside it: a preview, a translation. */
|
|
6
|
+
secondary: ReactNode;
|
|
7
|
+
/** Each pane's name, already translated: its region's label, and its tab at phone width. */
|
|
8
|
+
primaryLabel: string;
|
|
9
|
+
secondaryLabel: string;
|
|
10
|
+
/**
|
|
11
|
+
* Remembers the ratio a reader dragged to, per viewer, in browser storage under
|
|
12
|
+
* this key. Omitted, every visit starts at `defaultRatio`.
|
|
13
|
+
*/
|
|
14
|
+
storageKey?: string;
|
|
15
|
+
/** The primary pane's share of the width, in percent, before anyone drags. */
|
|
16
|
+
defaultRatio?: number;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* VDS173 — the two-pane page shape: a form and its preview, or a source and its
|
|
21
|
+
* translation, read side by side.
|
|
22
|
+
*
|
|
23
|
+
* It sits under the page's one hero, inside the shell's `wide` column, and each
|
|
24
|
+
* pane scrolls on its own so the fields and what they change stay in view
|
|
25
|
+
* together. The reader drags the ratio, and `storageKey` remembers it per viewer.
|
|
26
|
+
* At phone width the two panes become one with a labelled switch between them.
|
|
27
|
+
* The second pane never silently disappears, and neither pane unmounts, so a form
|
|
28
|
+
* keeps what was typed while its preview is shown.
|
|
29
|
+
*/
|
|
30
|
+
export declare function BentoSplitPage({ primary, secondary, primaryLabel, secondaryLabel, storageKey, defaultRatio, className, }: Readonly<BentoSplitPageProps>): import("react").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=bento-split-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bento-split-page.d.ts","sourceRoot":"","sources":["../../src/bento/bento-split-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,OAAO,EAAE,SAAS,CAAC;IACnB,yDAAyD;IACzD,SAAS,EAAE,SAAS,CAAC;IACrB,4FAA4F;IAC5F,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA4BD;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,SAAS,EACT,YAAY,EACZ,cAAc,EACd,UAAU,EACV,YAAiB,EACjB,SAAS,GACV,EAAE,QAAQ,CAAC,mBAAmB,CAAC,+BAoD/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bento-version-rail.d.ts","sourceRoot":"","sources":["../../src/bento/bento-version-rail.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,EAAE,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC3B,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,oBAAoB;IACpB,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAC;IAClC,2DAA2D;IAC3D,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,sEAAsE;IACtE,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAClC,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,QAAQ,CAAC,qBAAqB,CAAC,+
|
|
1
|
+
{"version":3,"file":"bento-version-rail.d.ts","sourceRoot":"","sources":["../../src/bento/bento-version-rail.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,EAAE,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC3B,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,oBAAoB;IACpB,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAC;IAClC,2DAA2D;IAC3D,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,sEAAsE;IACtE,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAClC,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,QAAQ,CAAC,qBAAqB,CAAC,+BAqHxG"}
|
package/dist/bento/index.d.ts
CHANGED
|
@@ -37,7 +37,10 @@ export { BentoCountTile, type BentoCountTileProps } from './bento-count-tile';
|
|
|
37
37
|
export { BentoDataTable, type BentoDataTableAction, type BentoDataTableColumn, type BentoDataTableLayout, type BentoDataTableProps, } from './bento-data-table';
|
|
38
38
|
export { BentoEmptyState, type BentoEmptyStateProps } from './bento-empty-state';
|
|
39
39
|
export { BentoEntityShell, type BentoEntityShellProps, type BentoEntityShellRenderArgs, type BentoIdentity, type BentoShellFormState, } from './bento-entity-shell';
|
|
40
|
-
export { BentoDiff, type BentoDiffField, type BentoDiffFieldKind, type BentoDiffProps, type BentoDiffSide, } from './bento-diff';
|
|
40
|
+
export { BentoDiff, type BentoDiffField, type BentoDiffFieldKind, type BentoDiffLayout, type BentoDiffProps, type BentoDiffSide, } from './bento-diff';
|
|
41
|
+
export { BentoChangeMark, type BentoChangeMarkProps, type BentoChangeState } from './bento-change-mark';
|
|
42
|
+
export { BentoSplitPage, type BentoSplitPageProps } from './bento-split-page';
|
|
43
|
+
export { BentoCalendar, type BentoCalendarEntry, type BentoCalendarProps, type BentoCalendarView, } from './bento-calendar';
|
|
41
44
|
export { BentoEntityTile, type BentoEntityTileProps } from './bento-entity-tile';
|
|
42
45
|
export { BentoFilterBar, EMPTY_FILTERS, type BentoFilterBarProps, type BentoFilterChoiceFacet, type BentoFilterDateFacet, type BentoFilterDateRange, type BentoFilterFacet, type BentoFilterValue, } from './bento-filter-bar';
|
|
43
46
|
export { BentoListPage, type BentoListPageProps, type BentoListLayout, BentoTileGrid, type BentoTileGridProps, } from './bento-list-page';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bento/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAKH,OAAO,EAAE,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,KAAK,qBAAqB,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACrI,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EACL,cAAc,EACd,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,aAAa,EAClB,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EACL,cAAc,EACd,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,a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