@crewlethq/ui 0.122.0 → 0.124.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/README.md +45 -2
- package/dist/AvatarPicker/index.js +2 -2
- package/dist/Callout/Callout.d.ts +13 -1
- package/dist/Callout/index.d.ts +1 -1
- package/dist/Callout/index.js +1 -1
- package/dist/{Callout-G3N3IE6M.css → Callout-WLZKAFPT.css} +23 -0
- package/dist/Charts/StackedRing.d.ts +40 -0
- package/dist/Charts/TimeSeries.d.ts +8 -1
- package/dist/Charts/index.d.ts +2 -0
- package/dist/Charts/index.js +1 -1
- package/dist/{Charts-UJKADWXE.css → Charts-4VQ7T3GB.css} +85 -0
- package/dist/DataGrid/DataGrid.d.ts +11 -1
- package/dist/DataGrid/index.d.ts +1 -1
- package/dist/DataGrid/index.js +1 -1
- package/dist/{DataGrid-7KUUYSHA.css → DataGrid-KAFVH4B3.css} +3 -1
- package/dist/FindingList/FindingList.d.ts +8 -1
- package/dist/FindingList/index.js +1 -1
- package/dist/{FindingList-MPLA2ZTO.css → FindingList-5P2W5MIB.css} +24 -0
- package/dist/FollowBanner/index.js +2 -2
- package/dist/Fullscreen/FullscreenToggle.d.ts +21 -0
- package/dist/Fullscreen/index.d.ts +2 -0
- package/dist/Fullscreen/index.js +11 -1
- package/dist/GraphCanvas/GraphCanvas.d.ts +97 -16
- package/dist/GraphCanvas/index.d.ts +4 -4
- package/dist/GraphCanvas/index.js +3 -3
- package/dist/GraphCanvas/layout.d.ts +31 -1
- package/dist/GraphCanvas/walk.d.ts +5 -4
- package/dist/GraphCanvas-UZPZRP6S.css +793 -0
- package/dist/IconTile/IconTile.d.ts +26 -18
- package/dist/IconTile/index.d.ts +1 -1
- package/dist/IconTile/index.js +1 -1
- package/dist/IconTile-6OSCIHYU.css +112 -0
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/List/index.js +1 -1
- package/dist/{List-BNA4XGMH.css → List-DG77FXA6.css} +15 -0
- package/dist/OpenInAppCard/index.js +2 -2
- package/dist/OrgTable/index.js +3 -3
- package/dist/ReviewList/index.js +2 -2
- package/dist/RichEditor/index.js +2 -2
- package/dist/RoomRow/index.js +2 -2
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/SetupWizard/index.js +2 -2
- package/dist/ShareDialog/index.js +2 -2
- package/dist/TimeRangePicker/index.js +2 -2
- package/dist/TreeGrid/index.js +2 -2
- package/dist/{chunk-W5XCNEZC.js → chunk-3JLG6KRU.js} +23 -2
- package/dist/{chunk-NHHVN23D.js → chunk-45OOFAL6.js} +1 -1
- package/dist/{chunk-ZKGAEXLI.js → chunk-4EKHHHOQ.js} +1 -1
- package/dist/{chunk-AGVGX52B.js → chunk-7XYU5PSQ.js} +1 -1
- package/dist/{chunk-6KPHU4EB.js → chunk-DSBKVP73.js} +490 -122
- package/dist/{chunk-MDD6K5M4.js → chunk-EWJOBD25.js} +1 -1
- package/dist/{chunk-VY37HWFV.js → chunk-GAQU5V5R.js} +1 -1
- package/dist/{chunk-MVXQ74TB.js → chunk-I4V4GUVM.js} +1 -1
- package/dist/{chunk-XZQRJVOK.js → chunk-IMNCBQVO.js} +1 -1
- package/dist/chunk-J2GRBRGK.js +64 -0
- package/dist/{chunk-GUTZISXY.js → chunk-JXE4SCYV.js} +1 -1
- package/dist/{chunk-X5YI6QLW.js → chunk-NOKZULW3.js} +1 -1
- package/dist/{chunk-ZOMTCEHR.js → chunk-OFNJE4BN.js} +6 -1
- package/dist/{chunk-BPCY7ZID.js → chunk-RCQLXOGS.js} +9 -2
- package/dist/{chunk-75O3HCCD.js → chunk-T4TKY4VZ.js} +1 -1
- package/dist/{chunk-ENYHABQJ.js → chunk-VB7KAQBN.js} +1 -1
- package/dist/chunk-VRVNLJUA.js +46 -0
- package/dist/{chunk-6UVBOA4M.js → chunk-YKLYMQ6J.js} +1 -1
- package/dist/{chunk-MNTN5ESE.js → chunk-ZY5322MJ.js} +77 -3
- package/dist/generated/index.js +60 -60
- package/dist/index.js +60 -60
- package/dist/styles.css +766 -133
- package/package.json +3 -3
- package/dist/GraphCanvas-RSBMO2AF.css +0 -388
- package/dist/IconTile-G52XZVR4.css +0 -33
- package/dist/chunk-3LI4TRUR.js +0 -22
- package/dist/chunk-NEPNJMTD.js +0 -52
- package/dist/{chunk-2DZV4PHK.js → chunk-WLL3PFI3.js} +1 -1
- package/dist/{chunk-JWUIGUIS.js → chunk-YCT7LRYR.js} +1 -1
package/README.md
CHANGED
|
@@ -43,12 +43,12 @@ import { Button } from '@crewlethq/ui/Button'; // 8 KB of CSS, not 182 KB
|
|
|
43
43
|
| Actions | `Button` and `ButtonLink` (variants `primary`, `secondary`, `outline`, `ghost`, `accent`, `danger`; sizes `small`, `medium`, `large`; shapes `square`, `pill`), `IconButton`, `Menu`, `Link`, `Copyable`, `CopyButton`, `DownloadButton`, `Kbd` |
|
|
44
44
|
| Content and text | `Text` (the eight registers and `inherit`; a line cut by `truncate` or `clamp` shows its whole words on hover), `Prose`, `Statement`, `Document`, `DocumentTitle` and `DocumentTitleField`, the Markdown grammar (`parseMarkdown`, `parseMarkdownSpans`, `markdownInline`, `safeHref` and the line readers, with no React in it), `Highlight`, `InlineCode`, `List` and `ListItem`, `DescriptionList`, `Timeline`, `RelativeTime`, `Note`, `Divider` |
|
|
45
45
|
| Forms | `Input`, `Textarea`, `Label`, `FormField`, `FormRow`, `Checkbox`, `CheckboxGroup`, `ConfirmField`, `Select`, `Tag`, `TagsInput`, `DateTimePicker`, `TimeWindowPicker`, `TimeRangePicker`, `ImageUpload`, `CharacterPicker`, `HuePicker`, `AvatarPicker`, `FactList`, `ChoiceList`, `ChoiceCards`, `MemberPicker` (groups granted whole, with members left out or chosen on their own, and `chosenMembers`), `KeyValueRows` (keys and their values as rows under one column head, with `keyValueRowsLabels`), `ChipField` (chosen items as chips inside the field), `PersonRow` (a person or an agent as one row of a list), `Composer`, `MarkdownEditor`, `RichEditor` (with `preloadRichEditor`, and the round trip `roundTripMarkdown` and `canonicalMarkdown` from `@crewlethq/ui/RichEditorMarkdown`) |
|
|
46
|
-
| Data display | `DataGrid` (with `useDataGridDriving`, `useAnyDataGridDriving` and `countDataGridRows`), `DataTable`, `CopyableCell`, `Table`, the read-only table cells (`TableKeyCell`, `TableNumberCell`, `TableDateCell`, `TableEntityCell`, `TableStatusCell`, `TableTagsCell`, `TableTextCell`, `TableTwoLineCell`), `StatCard`, `Meter`, `SegmentedMeter`, `Stepper`, `PricingCard`, `Avatar`, `AvatarStack`, `EntityChip`, `CodeBlock`, `QrCode`, `ObjectHeader`, `FactLine`, `SetByLine` (set, seen, observed or confirmed by, with `SET_BY_VERBS`), `GraphCanvas` (a layered map of
|
|
46
|
+
| Data display | `DataGrid` (with `useDataGridDriving`, `useAnyDataGridDriving` and `countDataGridRows`), `DataTable`, `CopyableCell`, `Table`, the read-only table cells (`TableKeyCell`, `TableNumberCell`, `TableDateCell`, `TableEntityCell`, `TableStatusCell`, `TableTagsCell`, `TableTextCell`, `TableTwoLineCell`), `StatCard`, `Meter`, `SegmentedMeter`, `Stepper`, `PricingCard`, `Avatar`, `AvatarStack`, `EntityChip`, `CodeBlock`, `QrCode`, `ObjectHeader`, `FactLine`, `SetByLine` (set, seen, observed or confirmed by, with `SET_BY_VERBS`), `GraphCanvas` (a layered map of clusters, groups and three families of line, with its legend, the card beside an entry, the selection dock and fullscreen, its pure layout `layoutGraph`, the trunks `graphTrunks`, the reach `graphReach` and the keyboard walk `graphStep`), `Skeleton`, `Eyebrow`, `StatGroup`, `PinTile`, `IconTile`, `SettingsTable` (with `SettingsTable.Row`), `CatalogTile` |
|
|
47
47
|
| List screens | `DataView`, and its parts on their own: `DataViewToolbar`, `FilterAxisBar`, `FilterAxisChip`, `FilterPill`, plus the filter model (`filterDefsFromColumns`, `applyColumnFilters`, `filterPredicate`, `blankFilterValue`) |
|
|
48
48
|
| Feedback and overlays | `Callout`, `AttentionList` (what needs a person, as rows in one card), `ConflictNote`, `EditingStatus`, `Toaster`, `Modal` (with `variant="sheet"`), `ConfirmModal`, `CommandPalette`, `Tooltip`, `Popover`, `Announcer` |
|
|
49
49
|
| Documents and review | `DiffView` and `DiffSummary` with the line diff they draw (`diffLines`, `diffStat`, `collapseDiff`, `firstChangedLines`, `splitLines`, `MAX_DIFF_LINES`, with no React in it), `DiffList`, `VersionCompare`, `CommentThread` |
|
|
50
50
|
| Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `WorkingLine` (every agent at work on one line, with `workingSentence`, `workingAnnouncement` and `BouncingDots`), `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
|
|
51
|
-
| Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `ActivityStrip`, `TimeSeries`, `Sparkline
|
|
51
|
+
| Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `StackedRing`, `ActivityStrip`, `TimeSeries`, `Sparkline` (with its `fine` weight), the reading layer they share (`ChartTooltip`, `useChartHover`), and the ramp (`DATA_COLORS`, `DATA_COLOR_OTHER`, `dataColor`) |
|
|
52
52
|
| Marks | `Count` (with `tone="attention"`), `StatusDot`, `Spinner`, `EmptyValue`, `VisuallyHidden` |
|
|
53
53
|
| Hooks and seams | `useModalLayer`, `usePopupLayer`, `LayerHost`, `useListbox`, `useOptionKeys`, `useHighlightRest` and `HIGHLIGHT_REST_MS`, `useClipboard`, `useDownload`, `downloadText`, `downloadBlob`, `safeFilename`, `toCsv`, `elementToPng` and `ElementToPngError`, `useOutcome`, `useAnnouncer`, `useNow`, `formatRelative`, `HeadingLevelProvider`, `cx`, the node hues (`NODE_HUES`, `NODE_HUE_NAMES`, `isNodeHue`) |
|
|
54
54
|
| Layout | `Container`, `Section`, `Card`, `TileGrid`, `ListDetail`, `RailList` (a directory's groups as a rail beside its list, folding into a picker), `AsideLayout`, `Tabs`, `Accordion`, `Disclosure`, `Outline` (with `useActiveHeading` and `scrollToHeading`), `TreeGrid` |
|
|
@@ -208,6 +208,49 @@ places:
|
|
|
208
208
|
- A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
|
|
209
209
|
when the content beneath it moves, and every panel anchored inside follows.
|
|
210
210
|
|
|
211
|
+
## Changes in 0.123.0
|
|
212
|
+
|
|
213
|
+
### A map and a catalogue of what a company runs on
|
|
214
|
+
|
|
215
|
+
**Breaking: `GraphCanvas` is the layered service map, in one look.** It keeps its clusters (lanes) in bands, its groups that open and close, its right-angled routing round every card, its keyboard walk and its drawing budget (only the cards near the view are mounted, and zoomed out past reading they are shapes on one layer), and gains what a map of a company needs:
|
|
216
|
+
|
|
217
|
+
- **Three families of line** (`GraphEdge.family`, `GraphEdgeFamily`, `GRAPH_EDGE_FAMILIES`). `flow` is a call: drawn at rest, with dashes moving along it that say which way it points (direction, never volume). `support` is what something runs on: at rest it is one trunk per pair of clusters in neighbouring bands, with its count ("7 run on"; `graphTrunks`, `GraphTrunk`). `context` is what stands around (an account, a repository, a monitor). The last two are drawn line by line for the entry a reader stands on, or when the legend switches them on (`families`, `onFamiliesChange`, calls alone unless named). Hiding a family never moves a card: the order inside a cluster reads the calls and the "runs on" lines whatever is shown.
|
|
218
|
+
- **The lit path.** A selection lights its whole path both ways along the lines that carry a failure (calls and "runs on"), and what stands around it one step away; everything else recedes to a fifth. The lit line is the accent under a glow, with faster dashes. `trace` narrows the direction and the depth. A press on the selected card, a press on the ground or Escape clears.
|
|
219
|
+
- **The pointer and focus** light an entry and its neighbours after a short rest, and open the card `renderCard(id)` draws beside it (a `tooltip`, placed without re-rendering the map as the view moves). `onHover` says which entry that is, and `hoveredId` lights the entry another surface points at, so a table of the same entries and the map point at each other.
|
|
220
|
+
- **Clusters of several columns.** `GraphLane.columns` is how wide a cluster is, and `GraphNode.column` stands an entry in one of them, for a cluster whose columns mean something (a service one column right of what calls it). Arrow keys move the way they point: along a column, to the next column, then to the cluster beside.
|
|
221
|
+
- **The entry's card** is one line: the kind's glyph in a ruled cell with an optional `mark` (a vendor's) on its corner, and the name. `attention` is a notch on the leading edge in its tone and a badge with a glyph (the tone's own, or `attention.glyph`), and its word is read with the name, so the tone is never colour alone. `title` is the whole name where `name` is a short form.
|
|
222
|
+
- **Its own surfaces.** The legend (a key per tone the caller words through `tones`, quiet, unconfirmed, and a `FilterChip` switch per family) stands across from the zoom bar; `dock` is drawn over the lower edge, for what is selected and what can be done with it; and the zoom bar carries a fullscreen control (`fullscreen`, on by default, taking the map itself inside a `LayerHost`, or the element passed where the map opens something beside it). On a narrow map (under `GRAPH_CANVAS_NARROW_WIDTH`, 800px) nothing floats over the picture: the dock and the legend stand under the canvas, in room the map gives up for them, so neither covers a cluster's title or an entry. `chrome={false}` leaves a still diagram with no zoom bar, legend, trunks or fullscreen, for one entry among its neighbours.
|
|
223
|
+
- **One look, inside the world only.** A fine grid in two weights over a wash of the accent, see-through cluster panes inside an outline with the title set into the line, outlined cards on the ground's own colour (so no line shows through a card), square 2px corners and mono labels. These are the component's own values (`--crewlet-graph-canvas-*`) over the map's colour tokens (`--color-map-*`, see `@crewlethq/tokens`). The legend, the card, the dock and the zoom bar keep the kit's own shapes and type; the one exception is the legend's health key, which is the notch it explains. Past `GRAPH_CANVAS_FLOW_LIMIT` calls in view the dashes at rest stand still, and every motion stops for a reader who asked for less.
|
|
224
|
+
|
|
225
|
+
Types: `GraphEdgeFamily`, `GraphTrunk`. Stories: `GraphCanvas` (at rest, selected, traced, pointed at, every line, three hundred, two thousand closed and open, empty, a neighbourhood, light and dark, narrow, tablet).
|
|
226
|
+
|
|
227
|
+
What to change:
|
|
228
|
+
|
|
229
|
+
| Was | Is |
|
|
230
|
+
|---|---|
|
|
231
|
+
| `GraphEdge.atRest: false` | `family: 'context'` (what stands around), or `family: 'support'` for what something runs on; a call needs nothing |
|
|
232
|
+
| a selection with no `trace` lighting its neighbours only | it lights its whole path both ways; pass `trace={{ direction: 'both', depth: 1 }}` for one step |
|
|
233
|
+
| `GraphNode.caption` drawn as a second line | read after the name, never drawn: a card is one line. Put what a reader must see in `renderCard` |
|
|
234
|
+
| a `StatusDot` on the card for `attention` | a notch and a badge, drawn by the map; nothing to pass |
|
|
235
|
+
| a `StatusLegend` passed as `overlayEnd` to explain the tones | `tones={{ danger: 'Alerting', … }}`; the map draws its legend, and `overlayEnd` follows it in the same bar |
|
|
236
|
+
| a fullscreen button passed in `controlsExtra` | drop it: the map draws one. `fullscreen={false}` turns it off, `fullscreen={ref}` takes another element |
|
|
237
|
+
| the card's size, `--crewlet-graph-canvas-card-width: 13.5rem` and `-height: 3.25rem` | `11rem` by `2.375rem`; set the variables on the map to change them |
|
|
238
|
+
| `.crewlet-graph-canvas__edge[data-state='quiet' \| 'faint' \| 'strong']` | `.crewlet-graph-canvas__edge-layer[data-family][data-state='rest' \| 'dim' \| 'lit']` holding the `__edge`, its `__arrow` and its `__flow` |
|
|
239
|
+
| `.crewlet-graph-canvas__card[data-dimmed]`, `.crewlet-graph-canvas__tile`, `__text`, `__caption`, `__dot` | `[data-state='dim' \| 'lit' \| 'rest']`, `__cell`, `__name`, `__mark`, `__badge` |
|
|
240
|
+
| Up and Down walking a wide lane in reading order | they move along its column; Left and Right move to the next column, then the lane beside |
|
|
241
|
+
|
|
242
|
+
**`FullscreenToggle` is new**, beside `useFullscreen`: the control that takes a surface fullscreen and gives it back (`target`, the element taken; `labels`, `FULLSCREEN_TOGGLE_LABELS`), for a bar that acts on that surface. It is not drawn where the browser has no fullscreen. Types: `FullscreenToggleProps`, `FullscreenToggleLabels`.
|
|
243
|
+
|
|
244
|
+
**`IconTile` takes `shape="disc"`, `mark`, `status` and `dashed`**, for one entry of a catalogue where the square is a kind of thing: a round tile inside a hairline in its hue, a small mark on its lower corner (the vendor the entry lives at), a ring in the tone and a badge with a glyph when the entry needs a person (`IconTileStatus`: `tone`, and `glyph` in place of the tone's own), and a dashed edge while nobody has confirmed it. The tile stays hidden from assistive technology whatever it carries, so the word is always said beside it. Stories: `IconTile` (`Discs`).
|
|
245
|
+
|
|
246
|
+
**`StackedRing` is new, among the charts**: one whole split into its parts round a figure (`segments`, the `StackedSegment` list a `StackedBar` takes; the figure as children; `size`), for the lead tile of a summary band. Each part is an arc of one circle in its place's colour over a faint halo of itself, a zero part is not drawn, a whole of nothing is the empty track, and the sentence naming every part and its share is the ring's name (`summary`, `format`, `emptyLabel`). It stands beside the keys that name its parts, as a `StackedBar` does. Types: `StackedRingProps`. Stories: `Charts` (`Ring`).
|
|
247
|
+
|
|
248
|
+
**`Sparkline` takes `weight="fine"`**: a 1px line under a faint halo of its own colour (the same line again at half strength behind a 1px blur, so the line stays crisp), for a column of shapes read down a table. Stories: `Charts` (`FineLines`).
|
|
249
|
+
|
|
250
|
+
**`DataGrid` rows can be pointed at.** `onRowPoint(row | null)` says which row the pointer rests on, and `isPointed(row)` draws the row another surface points at as the pointer draws one (the selected row keeps its own fill), so a grid and a map of the same records point at each other. `DataGridSelection` is exported, as `DataGridProps.selection` already used it.
|
|
251
|
+
|
|
252
|
+
**A catalogue and its band need no new component.** `Atlas screen parts` (stories) composes the whole screen from the kit: the catalogue is a `DataGrid` with `bands` (rows grouped by health, each heading with its mark and count), its rows led by an `IconTile` disc in a `TableTwoLineCell`, then `TableTextCell` with a `VendorMark`, `EntityChip` (owner), `StatusDot` (the health word and its mark), `Tag` (relations and confidence) and a fine `Sparkline` beside its count; the band is `StackedRing`, `ActivityStrip`, and `StackedBar` with its `Legend`, on `Card`; the detail's recent changes are a `Timeline`.
|
|
253
|
+
|
|
211
254
|
## Changes in 0.86.0
|
|
212
255
|
|
|
213
256
|
### Forms, tables and directories
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AvatarPicker } from '../chunk-
|
|
1
|
+
export { AvatarPicker } from '../chunk-YCT7LRYR.js';
|
|
2
2
|
import '../chunk-5P6LLFEO.js';
|
|
3
3
|
import '../chunk-KDRJZWE3.js';
|
|
4
|
-
import '../chunk-AYKXMIOR.js';
|
|
5
4
|
import '../chunk-S4JRQJEP.js';
|
|
5
|
+
import '../chunk-AYKXMIOR.js';
|
|
6
6
|
import '../chunk-4PKMM3EZ.js';
|
|
7
7
|
import '../chunk-GIYIKUJE.js';
|
|
8
8
|
import '../chunk-EGMQURBR.js';
|
|
@@ -16,6 +16,17 @@ export type CalloutVariant = Exclude<Tone, 'brand'>;
|
|
|
16
16
|
* rounded card would leave a gutter of page colour down both sides.
|
|
17
17
|
*/
|
|
18
18
|
export type CalloutLayout = 'card' | 'banner';
|
|
19
|
+
/**
|
|
20
|
+
* How loudly the tone is drawn.
|
|
21
|
+
*
|
|
22
|
+
* `tinted` (the default) is the tone's soft fill behind the tone's ink: a
|
|
23
|
+
* sentence the screen is saying. `quiet` keeps the tone on the glyph and the
|
|
24
|
+
* leading edge alone, with the words in the page's own ink on a quiet
|
|
25
|
+
* surface, for a callout that holds a READING: a reviewer's reasons, a list
|
|
26
|
+
* of findings. A full tint behind several paragraphs outshouts the controls
|
|
27
|
+
* beside it, and the tone's ink on every line makes each of them a warning.
|
|
28
|
+
*/
|
|
29
|
+
export type CalloutAppearance = 'tinted' | 'quiet';
|
|
19
30
|
export interface CalloutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
20
31
|
variant?: CalloutVariant | undefined;
|
|
21
32
|
/**
|
|
@@ -29,6 +40,7 @@ export interface CalloutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'titl
|
|
|
29
40
|
/** A glyph replacing the variant's own. A component, not a name. */
|
|
30
41
|
icon?: ReactNode;
|
|
31
42
|
layout?: CalloutLayout | undefined;
|
|
43
|
+
appearance?: CalloutAppearance | undefined;
|
|
32
44
|
/** A control at the trailing edge: "Reconnect", "Open the log", "Dismiss". */
|
|
33
45
|
action?: ReactNode;
|
|
34
46
|
/**
|
|
@@ -50,4 +62,4 @@ export interface CalloutProps extends Omit<HTMLAttributes<HTMLDivElement>, 'titl
|
|
|
50
62
|
* anything that is the OUTCOME of a press they just made should not be a
|
|
51
63
|
* callout they have to go looking for.
|
|
52
64
|
*/
|
|
53
|
-
export declare const Callout: ({ variant, title, icon, layout, action, live, className, children, ...rest }: CalloutProps) => import("react").JSX.Element;
|
|
65
|
+
export declare const Callout: ({ variant, title, icon, layout, appearance, action, live, className, children, ...rest }: CalloutProps) => import("react").JSX.Element;
|
package/dist/Callout/index.d.ts
CHANGED
package/dist/Callout/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Callout } from '../chunk-
|
|
1
|
+
export { Callout } from '../chunk-RCQLXOGS.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
|
|
68
68
|
.crewlet-callout__content {
|
|
69
69
|
min-width: 0;
|
|
70
|
+
/* A word no line can hold (a path, an address) breaks rather than pushing
|
|
71
|
+
past the callout's own edge, whatever element inside carries it. */
|
|
72
|
+
overflow-wrap: anywhere;
|
|
70
73
|
padding-block: var(--crewlet-callout-lead, 0px);
|
|
71
74
|
}
|
|
72
75
|
|
|
@@ -160,3 +163,23 @@
|
|
|
160
163
|
border-bottom-color: var(--color-border-default);
|
|
161
164
|
padding: var(--spacing-2) var(--spacing-4);
|
|
162
165
|
}
|
|
166
|
+
|
|
167
|
+
/* ── appearances ───────────────────────────────────────────────────────── */
|
|
168
|
+
|
|
169
|
+
/*
|
|
170
|
+
* QUIET: the tone on the glyph and the leading edge alone, the words in the
|
|
171
|
+
* page's own ink on a quiet surface. For a callout that holds a reading (a
|
|
172
|
+
* reviewer's reasons, a list of findings), where a full tint behind several
|
|
173
|
+
* paragraphs outshouts the controls beside it and the tone's ink on every
|
|
174
|
+
* line makes each of them a warning. The glyph still says which tone this
|
|
175
|
+
* is, so the hue is never the only carrier here either.
|
|
176
|
+
*/
|
|
177
|
+
.crewlet-callout--quiet {
|
|
178
|
+
border-inline-start: 2px solid var(--crewlet-callout-ink);
|
|
179
|
+
background: var(--color-surface-inset);
|
|
180
|
+
color: var(--color-text-primary);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.crewlet-callout--quiet > .crewlet-callout__icon {
|
|
184
|
+
color: var(--crewlet-callout-ink);
|
|
185
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StackedSegment } from './StackedBar.js';
|
|
3
|
+
export interface StackedRingProps {
|
|
4
|
+
/** The parts of the whole, as a StackedBar takes them: a part's colour is its place in the list. */
|
|
5
|
+
segments: StackedSegment[];
|
|
6
|
+
/** What stands in the middle: the whole as a figure, such as "52". */
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
/** How wide and tall the ring is, as a CSS length. */
|
|
9
|
+
size?: string;
|
|
10
|
+
/**
|
|
11
|
+
* How the parts are read out, for anybody who cannot see the ring. The
|
|
12
|
+
* default names each part and its share.
|
|
13
|
+
*/
|
|
14
|
+
summary?: (parts: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: number;
|
|
17
|
+
percent: number;
|
|
18
|
+
}[]) => string;
|
|
19
|
+
/** How a value reads out in the default sentence. Defaults to the reader's own number format. */
|
|
20
|
+
format?: (value: number) => string;
|
|
21
|
+
/** What is read out when no part holds anything. */
|
|
22
|
+
emptyLabel?: string;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* One whole, split into its parts, round a figure: the lead tile of a summary
|
|
27
|
+
* band, where the figure is the whole and the ring says how it divides.
|
|
28
|
+
*
|
|
29
|
+
* ALWAYS BESIDE ITS KEYS. Like a StackedBar the ring carries no labels, so the
|
|
30
|
+
* parts are named beside it (a Legend, or lines of words with their counts),
|
|
31
|
+
* keyed from the same list. Where the parts need reading one by one, a
|
|
32
|
+
* StackedBar does that; the ring is a picture beside words that already say
|
|
33
|
+
* everything it does.
|
|
34
|
+
*
|
|
35
|
+
* A ZERO PART IS NOT DRAWN, and a whole of nothing is the empty track round
|
|
36
|
+
* its figure, never a ring that reads as full.
|
|
37
|
+
*
|
|
38
|
+
* THE VALUES ARE IN THE MARKUP: the summary sentence is the ring's name.
|
|
39
|
+
*/
|
|
40
|
+
export declare function StackedRing({ segments, children, size, summary, format, emptyLabel, className, }: StackedRingProps): import("react").JSX.Element;
|
|
@@ -102,6 +102,13 @@ export interface SparklineProps {
|
|
|
102
102
|
* itself or an ancestor.
|
|
103
103
|
*/
|
|
104
104
|
current?: boolean | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* How heavy the line is. `fine` is a 1px line under a faint halo of its own
|
|
107
|
+
* colour, for a dense table where a column of shapes is read down: the
|
|
108
|
+
* heavier line of a card's one sparkline would turn such a column into
|
|
109
|
+
* stripes. `regular` unless named.
|
|
110
|
+
*/
|
|
111
|
+
weight?: 'regular' | 'fine' | undefined;
|
|
105
112
|
/** How tall the shape is, as a CSS length. */
|
|
106
113
|
height?: string;
|
|
107
114
|
className?: string;
|
|
@@ -130,4 +137,4 @@ export interface SparklineProps {
|
|
|
130
137
|
* Fewer than two values draw nothing, and the box keeps its height, so a row
|
|
131
138
|
* of figures does not jump as one of them gains its second point.
|
|
132
139
|
*/
|
|
133
|
-
export declare function Sparkline({ values, color, current, height, className, }: SparklineProps): import("react").JSX.Element;
|
|
140
|
+
export declare function Sparkline({ values, color, current, weight, height, className, }: SparklineProps): import("react").JSX.Element;
|
package/dist/Charts/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export { BarList } from './BarList.js';
|
|
|
6
6
|
export type { BarDatum, BarListLayout, BarListProps, BarPart } from './BarList.js';
|
|
7
7
|
export { StackedBar } from './StackedBar.js';
|
|
8
8
|
export type { StackedBarProps, StackedSegment } from './StackedBar.js';
|
|
9
|
+
export { StackedRing } from './StackedRing.js';
|
|
10
|
+
export type { StackedRingProps } from './StackedRing.js';
|
|
9
11
|
export { ActivityStrip } from './ActivityStrip.js';
|
|
10
12
|
export type { ActivityBucket, ActivityStripProps } from './ActivityStrip.js';
|
|
11
13
|
export { Histogram, histogramTicks } from './Histogram.js';
|
package/dist/Charts/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-
|
|
1
|
+
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-ZY5322MJ.js';
|
|
2
2
|
import '../chunk-XLMURU75.js';
|
|
3
3
|
import '../chunk-WSIJDWUG.js';
|
|
4
4
|
import '../chunk-RRRK2KB6.js';
|
|
@@ -420,6 +420,62 @@
|
|
|
420
420
|
background: var(--crewlet-stacked-bar-segment-color, var(--color-data-other));
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
+
/* ─── Stacked ring ────────────────────────────────────────────── */
|
|
424
|
+
|
|
425
|
+
/*
|
|
426
|
+
* One whole round a figure. The line starts at the top and runs clockwise;
|
|
427
|
+
* each arc is a dash of one circle, in its part's colour, over a track on the
|
|
428
|
+
* inset ground, with a faint halo of itself behind it.
|
|
429
|
+
*/
|
|
430
|
+
.crewlet-stacked-ring {
|
|
431
|
+
--crewlet-stacked-ring-size: 4rem;
|
|
432
|
+
--crewlet-stacked-ring-halo: 0.5px;
|
|
433
|
+
|
|
434
|
+
position: relative;
|
|
435
|
+
display: inline-grid;
|
|
436
|
+
flex: none;
|
|
437
|
+
place-items: center;
|
|
438
|
+
width: var(--crewlet-stacked-ring-size);
|
|
439
|
+
height: var(--crewlet-stacked-ring-size);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.crewlet-stacked-ring__plot {
|
|
443
|
+
grid-area: 1 / 1;
|
|
444
|
+
width: 100%;
|
|
445
|
+
height: 100%;
|
|
446
|
+
overflow: visible;
|
|
447
|
+
transform: rotate(-90deg);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.crewlet-stacked-ring__track,
|
|
451
|
+
.crewlet-stacked-ring__arc {
|
|
452
|
+
fill: none;
|
|
453
|
+
stroke-width: 6;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.crewlet-stacked-ring__track {
|
|
457
|
+
stroke: var(--color-surface-inset);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.crewlet-stacked-ring__arc {
|
|
461
|
+
stroke: var(--crewlet-stacked-ring-segment-color, var(--color-data-other));
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.crewlet-stacked-ring__halo {
|
|
465
|
+
opacity: 0.5;
|
|
466
|
+
filter: blur(var(--crewlet-stacked-ring-halo));
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/* The whole, as a figure in the middle, sized by the ring. */
|
|
470
|
+
.crewlet-stacked-ring__figure {
|
|
471
|
+
grid-area: 1 / 1;
|
|
472
|
+
color: var(--color-text-primary);
|
|
473
|
+
font-size: calc(var(--crewlet-stacked-ring-size) * 0.3);
|
|
474
|
+
font-weight: var(--font-weight-semibold);
|
|
475
|
+
font-variant-numeric: tabular-nums;
|
|
476
|
+
line-height: var(--font-line-height-tight);
|
|
477
|
+
}
|
|
478
|
+
|
|
423
479
|
/* ─── Stacked columns ─────────────────────────────────────────── */
|
|
424
480
|
|
|
425
481
|
/*
|
|
@@ -977,6 +1033,35 @@
|
|
|
977
1033
|
stroke-width: 1.75;
|
|
978
1034
|
}
|
|
979
1035
|
|
|
1036
|
+
/*
|
|
1037
|
+
* A FINE LINE, for a column of shapes read down a table: 1px, under a faint
|
|
1038
|
+
* halo that is the same line at half strength behind a 1px blur, so the line
|
|
1039
|
+
* itself stays crisp.
|
|
1040
|
+
*/
|
|
1041
|
+
.crewlet-spark--fine {
|
|
1042
|
+
--crewlet-spark-halo: 0.5px;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
.crewlet-spark--fine .crewlet-chart__series {
|
|
1046
|
+
stroke-width: 1;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.crewlet-spark__halo {
|
|
1050
|
+
position: absolute;
|
|
1051
|
+
inset: 0;
|
|
1052
|
+
display: block;
|
|
1053
|
+
width: 100%;
|
|
1054
|
+
height: 100%;
|
|
1055
|
+
overflow: visible;
|
|
1056
|
+
opacity: 0.5;
|
|
1057
|
+
filter: blur(var(--crewlet-spark-halo));
|
|
1058
|
+
pointer-events: none;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.crewlet-spark--current .crewlet-spark__halo {
|
|
1062
|
+
width: calc(100% - var(--crewlet-spark-point) / 2 - var(--crewlet-spark-ring));
|
|
1063
|
+
}
|
|
1064
|
+
|
|
980
1065
|
.crewlet-spark--current {
|
|
981
1066
|
padding-inline-end: calc(var(--crewlet-spark-point) / 2 + var(--crewlet-spark-ring));
|
|
982
1067
|
}
|
|
@@ -297,6 +297,16 @@ export interface DataGridProps<T> {
|
|
|
297
297
|
* Wins over `isFailed` where both are given.
|
|
298
298
|
*/
|
|
299
299
|
rowTone?: ((row: T) => DataGridRowTone | undefined) | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* The row another surface points at, such as the card under the pointer on
|
|
302
|
+
* a map of the same records: drawn as the pointer draws one.
|
|
303
|
+
*/
|
|
304
|
+
isPointed?: ((row: T) => boolean) | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* Called with the row the pointer rests on, and `null` when it leaves, so
|
|
307
|
+
* another surface showing the same records can point at it too.
|
|
308
|
+
*/
|
|
309
|
+
onRowPoint?: ((row: T | null) => void) | undefined;
|
|
300
310
|
/** Rows that open in place, with their detail under them: see [DataGridExpansion]. */
|
|
301
311
|
expansion?: DataGridExpansion<T> | undefined;
|
|
302
312
|
/**
|
|
@@ -473,4 +483,4 @@ export declare function sortGridRows<T>(rows: readonly T[], columns: readonly Pi
|
|
|
473
483
|
key: string;
|
|
474
484
|
desc: boolean;
|
|
475
485
|
} | null | undefined): T[];
|
|
476
|
-
export declare function DataGrid<T>({ rows, bands, columns, rowKey, onRowActivate, rowHref, isSelected, selection, isFailed, rowTone, expansion, rowAccessory, reorder, ordinal, summaryRows, density, loading, loadingRows, sort: sortRaw, defaultSort, onSortChange, serverSorted, cols: colsRaw, onColsChange, empty, footer, onLoadMore, loadedNote, phoneRows, flush, handleRef, onPointerDown, labels, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, }: DataGridProps<T>): import("react").JSX.Element;
|
|
486
|
+
export declare function DataGrid<T>({ rows, bands, columns, rowKey, onRowActivate, rowHref, isSelected, isPointed, onRowPoint, selection, isFailed, rowTone, expansion, rowAccessory, reorder, ordinal, summaryRows, density, loading, loadingRows, sort: sortRaw, defaultSort, onSortChange, serverSorted, cols: colsRaw, onColsChange, empty, footer, onLoadMore, loadedNote, phoneRows, flush, handleRef, onPointerDown, labels, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, className, }: DataGridProps<T>): import("react").JSX.Element;
|
package/dist/DataGrid/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import './DataGrid.css';
|
|
|
2
2
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, } from './DataGrid.js';
|
|
3
3
|
export { countDataGridRows, useAnyDataGridDriving, useDataGridDriving } from './driving.js';
|
|
4
4
|
export type { DataGridDriving } from './driving.js';
|
|
5
|
-
export type { ColumnChoice, ChooserItem, ChooserListProps, ColumnChooserProps, DataGridActivationEvent, DataGridAlign, DataGridBand, DataGridColumn, DataGridExpansion, DataGridHandle, DataGridLabels, DataGridProps, DataGridReorder, DataGridRowTone, DataGridSummaryRow, GridFit, } from './DataGrid.js';
|
|
5
|
+
export type { ColumnChoice, ChooserItem, ChooserListProps, ColumnChooserProps, DataGridActivationEvent, DataGridAlign, DataGridBand, DataGridColumn, DataGridExpansion, DataGridHandle, DataGridLabels, DataGridProps, DataGridReorder, DataGridRowTone, DataGridSelection, DataGridSummaryRow, GridFit, } from './DataGrid.js';
|
package/dist/DataGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-
|
|
1
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-OFNJE4BN.js';
|
|
2
2
|
import '../chunk-WFAJYBLX.js';
|
|
3
3
|
import '../chunk-WSIJDWUG.js';
|
|
4
4
|
import '../chunk-JMBPMSNI.js';
|
|
@@ -337,7 +337,9 @@ button.crewlet-data-grid__row-link {
|
|
|
337
337
|
border-bottom: none;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
|
|
340
|
+
/* Under the pointer, or pointed at from another surface showing the same records: one overlay, the same. */
|
|
341
|
+
.crewlet-data-grid__row:hover,
|
|
342
|
+
.crewlet-data-grid__row--pointed {
|
|
341
343
|
background: var(--color-surface-hover);
|
|
342
344
|
}
|
|
343
345
|
|
|
@@ -22,6 +22,13 @@ export interface FindingListProps {
|
|
|
22
22
|
label: string;
|
|
23
23
|
/** What each tone is called to a screen reader, before the message. */
|
|
24
24
|
toneLabels?: Partial<Record<FindingTone, string>> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* How much room a row takes. `comfortable` (the default) gives each row the
|
|
27
|
+
* ground a pointer hovers. `compact` sets the rows a small step apart, and a
|
|
28
|
+
* row that goes nowhere against the list's own edge, for findings read as
|
|
29
|
+
* part of a longer passage (a reviewer's note) rather than walked one by one.
|
|
30
|
+
*/
|
|
31
|
+
density?: "comfortable" | "compact" | undefined;
|
|
25
32
|
className?: string | undefined;
|
|
26
33
|
}
|
|
27
34
|
/**
|
|
@@ -32,4 +39,4 @@ export interface FindingListProps {
|
|
|
32
39
|
* Tab and Enter takes it to the line, as a pointer does. The tone is said in
|
|
33
40
|
* words before the message, since a glyph's colour is not a word.
|
|
34
41
|
*/
|
|
35
|
-
export declare function FindingList({ findings, label, toneLabels, className, }: FindingListProps): import("react").JSX.Element;
|
|
42
|
+
export declare function FindingList({ findings, label, toneLabels, density, className, }: FindingListProps): import("react").JSX.Element;
|
|
@@ -81,3 +81,27 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
81
81
|
line-height: var(--font-line-height-normal);
|
|
82
82
|
overflow-wrap: anywhere;
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
/*
|
|
86
|
+
* COMPACT: rows a small step apart, in the size and leading of the passage
|
|
87
|
+
* the list stands in, so a finding reads as one more line of it. A row that
|
|
88
|
+
* goes nowhere has no hover ground to keep, so it gives up its side padding
|
|
89
|
+
* too and its glyph stands on the edge the words around the list start from.
|
|
90
|
+
*/
|
|
91
|
+
.crewlet-finding-list--compact .crewlet-finding-list__row {
|
|
92
|
+
padding-block: var(--spacing-1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.crewlet-finding-list--compact div.crewlet-finding-list__row {
|
|
96
|
+
padding-inline: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.crewlet-finding-list--compact .crewlet-finding-list__message {
|
|
100
|
+
font-size: inherit;
|
|
101
|
+
line-height: inherit;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* The glyph's box is the inherited line, which the message now shares. */
|
|
105
|
+
.crewlet-finding-list--compact .crewlet-finding-list__row:not(:has(.crewlet-finding-list__location)) > .crewlet-finding-list__glyph {
|
|
106
|
+
height: 1lh;
|
|
107
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { FollowBanner } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FollowBanner } from '../chunk-YKLYMQ6J.js';
|
|
2
|
+
import '../chunk-RCQLXOGS.js';
|
|
3
3
|
import '../chunk-M2M6ZD7P.js';
|
|
4
4
|
import '../chunk-XSPCITPN.js';
|
|
5
5
|
import '../chunk-TDFLCUBE.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { RefObject } from 'react';
|
|
2
|
+
import { type IconButtonSize } from '../IconButton/index.js';
|
|
3
|
+
/** The control's two names, for another language. */
|
|
4
|
+
export interface FullscreenToggleLabels {
|
|
5
|
+
enter: string;
|
|
6
|
+
leave: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const FULLSCREEN_TOGGLE_LABELS: FullscreenToggleLabels;
|
|
9
|
+
export interface FullscreenToggleProps {
|
|
10
|
+
/** The element taken fullscreen: the surface with everything it opens, since a fullscreen element paints only its own subtree. */
|
|
11
|
+
target: RefObject<HTMLElement | null>;
|
|
12
|
+
size?: IconButtonSize | undefined;
|
|
13
|
+
labels?: Partial<FullscreenToggleLabels> | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The control that takes a surface fullscreen and gives it back, for a bar
|
|
18
|
+
* that acts on that surface (a canvas's `controlsExtra`). It is not drawn
|
|
19
|
+
* where the browser has no fullscreen, rather than drawn and failing.
|
|
20
|
+
*/
|
|
21
|
+
export declare function FullscreenToggle({ target, size, labels, className }: FullscreenToggleProps): import("react").JSX.Element | null;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle } from './FullscreenToggle.js';
|
|
2
|
+
export type { FullscreenToggleLabels, FullscreenToggleProps } from './FullscreenToggle.js';
|
|
1
3
|
export { useFullscreen } from './useFullscreen.js';
|
|
2
4
|
export type { Fullscreen } from './useFullscreen.js';
|
|
3
5
|
export { useIdle, IDLE_AFTER_MS } from './useIdle.js';
|
package/dist/Fullscreen/index.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
export { IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-
|
|
1
|
+
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-3JLG6KRU.js';
|
|
2
|
+
import '../chunk-X5YI6E5X.js';
|
|
3
|
+
import '../chunk-TDFLCUBE.js';
|
|
4
|
+
import '../chunk-HXVMXH6U.js';
|
|
5
|
+
import '../chunk-L72URIHR.js';
|
|
6
|
+
import '../chunk-HTS5RJ7S.js';
|
|
7
|
+
import '../chunk-FIX72ZEC.js';
|
|
8
|
+
import '../chunk-EDPMHSLZ.js';
|
|
9
|
+
import '../chunk-4ITETIGZ.js';
|
|
10
|
+
import '../chunk-RRRK2KB6.js';
|
|
11
|
+
import '../chunk-ODEQTPFM.js';
|