@crewlethq/ui 0.72.0 → 0.74.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 +10 -2
- package/dist/AgentHandoffPanel/index.js +4 -4
- package/dist/ArrangeFrame/index.js +2 -2
- package/dist/ArrangeList/index.js +4 -4
- package/dist/ArtifactCard/index.js +4 -4
- package/dist/Checkbox/index.js +3 -3
- package/dist/ColorField/index.js +3 -3
- package/dist/Combobox/index.js +3 -3
- package/dist/CommandPalette/index.js +3 -3
- package/dist/CommentThread/index.js +4 -4
- package/dist/Composer/index.js +3 -3
- package/dist/ConfirmField/index.js +3 -3
- package/dist/DataGrid/index.js +4 -4
- package/dist/DataTable/index.js +4 -4
- package/dist/DataView/index.js +5 -5
- package/dist/DocTabsEditor/index.js +3 -3
- package/dist/{Editor-6PBP444G.js → Editor-WZ5L4BI2.js} +3 -3
- package/dist/Input/index.js +2 -2
- package/dist/ListInput/index.js +3 -3
- package/dist/PrincipalPicker/index.js +4 -4
- package/dist/ProposalCard/index.js +4 -4
- package/dist/ReadingPane/ReadingPane.d.ts +13 -3
- package/dist/ReadingPane/index.js +1 -1
- package/dist/{ReadingPane-5UOLPWY5.css → ReadingPane-VLYOWMCM.css} +5 -0
- package/dist/RecordChip/RecordChip.d.ts +46 -0
- package/dist/RecordChip/RecordChipList.d.ts +17 -0
- package/dist/RecordChip/index.d.ts +5 -0
- package/dist/RecordChip/index.js +6 -0
- package/dist/RecordChip-53J66RA6.css +184 -0
- package/dist/ResultTableCard/index.js +2 -2
- package/dist/RichEditor/index.js +1 -1
- package/dist/SelectionBar/index.js +2 -2
- package/dist/SheetColumnEditor/index.js +4 -4
- package/dist/SheetGrid/index.js +1 -1
- package/dist/SlideFilmstrip/index.js +1 -1
- package/dist/Switcher/index.js +3 -3
- package/dist/Table/Table.d.ts +29 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-RUYMMWXT.css → Table-MN3FIA2O.css} +28 -0
- package/dist/TagsInput/index.js +2 -2
- package/dist/TimeRangePicker/index.js +3 -3
- package/dist/TimeWindowPicker/index.js +3 -3
- package/dist/ValueField/index.js +4 -4
- package/dist/{chunk-4HCYBQ6B.js → chunk-3EETQFAM.js} +1 -1
- package/dist/{chunk-OSMR6TSC.js → chunk-3EY5SEGH.js} +1 -1
- package/dist/{chunk-H6S6NRZL.js → chunk-4MVLED6E.js} +1 -1
- package/dist/{chunk-NATDVYEY.js → chunk-5OFRDX66.js} +1 -1
- package/dist/{chunk-EKZFB34W.js → chunk-6C6YK75K.js} +1 -1
- package/dist/chunk-75NQV4R4.js +72 -0
- package/dist/{chunk-BW6MQO2B.js → chunk-75S74BBK.js} +1 -1
- package/dist/{chunk-J7INWERB.js → chunk-7LSSYHOT.js} +1 -1
- package/dist/{chunk-I7YQNRTQ.js → chunk-ADSOY7UM.js} +1 -1
- package/dist/chunk-BFM5G2Z6.js +60 -0
- package/dist/{chunk-YAL6VBRK.js → chunk-BWAUL5MB.js} +2 -2
- package/dist/{chunk-HGWHIUZ5.js → chunk-BWFJB5JD.js} +1 -1
- package/dist/{chunk-LEM3ZY35.js → chunk-FURJVZCT.js} +1 -1
- package/dist/{chunk-52D5EFHL.js → chunk-H32JW6CZ.js} +2 -2
- package/dist/{chunk-AMYU5W2H.js → chunk-J5WWMC35.js} +2 -2
- package/dist/{chunk-LQXYAB2Q.js → chunk-JVII5264.js} +1 -1
- package/dist/{chunk-SO5SXSTP.js → chunk-JXJNX7QQ.js} +1 -1
- package/dist/{chunk-AWQQ5I34.js → chunk-KAA3GFTP.js} +2 -2
- package/dist/{chunk-F5QBQP63.js → chunk-LQWORB5B.js} +2 -2
- package/dist/{chunk-IXPC5D36.js → chunk-MFQPGMJT.js} +1 -1
- package/dist/{chunk-SPWBT7FE.js → chunk-NXNLAZPK.js} +1 -1
- package/dist/{chunk-FFWMTIMH.js → chunk-PBCNINMB.js} +1 -1
- package/dist/{chunk-ZAJHGDAW.js → chunk-Q7N2ATMC.js} +26 -7
- package/dist/{chunk-YZSG3JIY.js → chunk-TWJERLT3.js} +1 -1
- package/dist/{chunk-O4NQVNO5.js → chunk-W5AXJWOW.js} +1 -1
- package/dist/{chunk-FX7FDPCM.js → chunk-YGWIWDXE.js} +1 -1
- package/dist/{chunk-OFARYSWS.js → chunk-ZUBFVK6B.js} +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +51 -50
- package/dist/index.js +51 -50
- package/dist/styles.css +222 -2
- package/package.json +3 -3
- package/dist/chunk-5DJMFRSZ.js +0 -58
- package/dist/{chunk-ABZC3NLM.js → chunk-ABGLGAFJ.js} +0 -0
- package/dist/{chunk-ZMML6NRS.js → chunk-ETSF7SU6.js} +1 -1
- package/dist/{chunk-5VMAJAVF.js → chunk-HEIOLITO.js} +1 -1
- package/dist/{chunk-V2EV56MY.js → chunk-L4HHWG4V.js} +1 -1
- package/dist/{chunk-I4IO56EY.js → chunk-PLNJEDGI.js} +1 -1
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ import { Button } from '@crewlethq/ui/Button'; // 8 KB of CSS, not 182 KB
|
|
|
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`, `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
|
-
| Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard`, `EntityList`, `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton` |
|
|
50
|
+
| Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard`, `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton` |
|
|
51
51
|
| Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `ActivityStrip`, `TimeSeries`, `Sparkline`, the reading layer they share (`ChartTooltip`, `useChartHover`), and the ramp (`DATA_COLORS`, `DATA_COLOR_OTHER`, `dataColor`) |
|
|
52
52
|
| Marks | `Count`, `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`) |
|
|
@@ -205,6 +205,14 @@ places:
|
|
|
205
205
|
- A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
|
|
206
206
|
when the content beneath it moves, and every panel anchored inside follows.
|
|
207
207
|
|
|
208
|
+
## Changes in 0.73.0
|
|
209
|
+
|
|
210
|
+
**`RecordChip`, a record named inside a sentence.** A button at the text's own size on its baseline, exactly one line of the text it sits in tall (`line-height: calc(1lh - 2px)` with its hairline, standing at the line's top so a key's mono text never moves the line), drawing the record's key in mono (`code`) or its name (`label`), with an optional kind glyph. It opens a **peek**: a `Popover` dialog named after the record (its key, then its name), with one line of context (`meta`), a body for its facts or rows (`children`) and a foot for the host's own link and downloads (`actions`). Focus moves into the peek; Escape, Tab out or a control that closes it returns focus to the chip, and a press outside closes it. A `code` chip's accessible name is the key and then the record's name ("GOP-11, Android 12 crash ..."); a `label` chip is named by its label alone, and carries its whole text as its `title`, so a pointer reader can read one cut at the line's end.
|
|
211
|
+
|
|
212
|
+
**`RecordChipList`, the Also read line.** A caption-register lead (`label`, "Also read") and its `RecordChip` children on a wrapping row; the row is a list named by the lead. It draws nothing when it holds no chip.
|
|
213
|
+
|
|
214
|
+
**`Table` sizes columns by their words.** `columns="content"` gives each column the room its words ask for rather than an equal share: a sentence wraps between words, a token longer than the table (a digest, a URL) wraps anywhere instead of pushing the table sideways, and `end` columns never wrap. With it, `nowrap` (by column index) holds a column of short tokens, such as a task's key, to one line. `nowrap` is offered only with `columns="content"`, by the type and at runtime: under the default even columns a held cell would run into the next one.
|
|
215
|
+
|
|
208
216
|
## Changes in 0.72.0
|
|
209
217
|
|
|
210
218
|
**`BriefCard` says whether the reader has anything to do, once, and says the rest in fewer lines.** The head's Tag is the verdict, derived from the rows: "Nothing needs you" in the success tone, or "1 thing needs you", "2 things need you" in the tone of the loudest row (danger when any row is danger, otherwise warning). The body no longer repeats it as "Nothing needs you." under a "Needs you" label. One line says what the page is about (`about`, which wraps anywhere, so a URL, a branch or a hash stays inside the card). The rows are ranked and the first is the recommendation, with the primary button, marked "Do first" on the accent's softest ground when there are two or more rows to rank; the separate recommendation that used to repeat it is gone. A quiet `context` line under the rows holds a fact to know, and the follow-ups are a list named "Ask next". THE HOST RANKS AND CAPS: the card draws at most `BRIEF_CARD_MAX_NEEDS` (3) rows and `BRIEF_CARD_MAX_FOLLOW_UPS` (2) follow-ups, and outside production it warns in the console when handed more, because a row it drops is one the verdict does not count. To move:
|
|
@@ -1456,7 +1464,7 @@ What to change: a test that reads a failure toast's red edge or red words, or a
|
|
|
1456
1464
|
|
|
1457
1465
|
**`ChoiceButtons`** sends one answer with one press: a group of buttons as tall as a touch target, the `recommended` option first, filled and marked. `pending` and `disabledReason` hold every option still without taking its focus.
|
|
1458
1466
|
|
|
1459
|
-
**`ReadingPane`** reads one item in a single column named by its title: `ReadingPaneByline`, `ReadingPaneTitle`, `ReadingPaneLead`, `ReadingPaneQuote` (`verbatim` for a machine's words), `ReadingPaneReasoning`, `ReadingPaneOutcome` (a status line) and `ReadingPaneSection`.
|
|
1467
|
+
**`ReadingPane`** reads one item in a single column named by its title: `ReadingPaneByline`, `ReadingPaneTitle`, `ReadingPaneLead`, `ReadingPaneQuote` (`verbatim` for a machine's words), `ReadingPaneReasoning`, `ReadingPaneOutcome` (a status line, `tone="pending"` for an action accepted and still on its way, drawn with a clock in the secondary ink rather than the success check) and `ReadingPaneSection`.
|
|
1460
1468
|
|
|
1461
1469
|
**`Link`** adds `variant="quiet"`, a reference among other words in `--color-text-link-quiet` that never underlines and steps up to the accent ink on hover, and `size="inherit"`.
|
|
1462
1470
|
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-
|
|
1
|
+
export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-6C6YK75K.js';
|
|
2
2
|
import '../chunk-4MJN2KN6.js';
|
|
3
3
|
import '../chunk-WFCWPXJN.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-5OFRDX66.js';
|
|
5
5
|
import '../chunk-222VILSP.js';
|
|
6
6
|
import '../chunk-FFGEJUAP.js';
|
|
7
7
|
import '../chunk-CLJGFOTV.js';
|
|
8
8
|
import '../chunk-ANTAQAR4.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-ETSF7SU6.js';
|
|
10
10
|
import '../chunk-PGCLHYVP.js';
|
|
11
11
|
import '../chunk-IVTQWOXV.js';
|
|
12
12
|
import '../chunk-MLDTLZAO.js';
|
|
13
13
|
import '../chunk-PQADV6P6.js';
|
|
14
|
+
import '../chunk-2G355KDJ.js';
|
|
14
15
|
import '../chunk-PIYJNCN7.js';
|
|
15
16
|
import '../chunk-DGXZ635L.js';
|
|
16
17
|
import '../chunk-OMV5W53A.js';
|
|
@@ -19,6 +20,5 @@ import '../chunk-XSPCITPN.js';
|
|
|
19
20
|
import '../chunk-H5XTJ7GJ.js';
|
|
20
21
|
import '../chunk-UAUP6XGK.js';
|
|
21
22
|
import '../chunk-NUZHC6MM.js';
|
|
22
|
-
import '../chunk-2G355KDJ.js';
|
|
23
23
|
import '../chunk-UT6CW3C7.js';
|
|
24
24
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ArrangeFrame, useGridResize } from '../chunk-
|
|
2
|
-
import '../chunk-UAUP6XGK.js';
|
|
1
|
+
export { ArrangeFrame, useGridResize } from '../chunk-PLNJEDGI.js';
|
|
3
2
|
import '../chunk-2G355KDJ.js';
|
|
3
|
+
import '../chunk-UAUP6XGK.js';
|
|
4
4
|
import '../chunk-UT6CW3C7.js';
|
|
5
5
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-
|
|
1
|
+
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-TWJERLT3.js';
|
|
2
2
|
import '../chunk-3XDT5ZWL.js';
|
|
3
3
|
import '../chunk-MPVMB2DV.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-PBCNINMB.js';
|
|
5
|
+
import '../chunk-ETSF7SU6.js';
|
|
6
6
|
import '../chunk-PGCLHYVP.js';
|
|
7
7
|
import '../chunk-PQADV6P6.js';
|
|
8
|
+
import '../chunk-2G355KDJ.js';
|
|
8
9
|
import '../chunk-H5XTJ7GJ.js';
|
|
9
10
|
import '../chunk-UAUP6XGK.js';
|
|
10
11
|
import '../chunk-NUZHC6MM.js';
|
|
11
|
-
import '../chunk-2G355KDJ.js';
|
|
12
12
|
import '../chunk-UT6CW3C7.js';
|
|
13
13
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
1
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-3EETQFAM.js';
|
|
2
2
|
import '../chunk-BRLZXYPA.js';
|
|
3
3
|
import '../chunk-CI3VPIJN.js';
|
|
4
4
|
import '../chunk-EJNJMHQG.js';
|
|
@@ -8,16 +8,16 @@ import '../chunk-AV2DXAEL.js';
|
|
|
8
8
|
import '../chunk-BKP6XCAJ.js';
|
|
9
9
|
import '../chunk-PZKHBB7D.js';
|
|
10
10
|
import '../chunk-NHLNHH4J.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-PBCNINMB.js';
|
|
12
12
|
import '../chunk-DOY3KC6I.js';
|
|
13
13
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-ETSF7SU6.js';
|
|
15
15
|
import '../chunk-PGCLHYVP.js';
|
|
16
16
|
import '../chunk-MLDTLZAO.js';
|
|
17
17
|
import '../chunk-PQADV6P6.js';
|
|
18
|
+
import '../chunk-2G355KDJ.js';
|
|
18
19
|
import '../chunk-H5XTJ7GJ.js';
|
|
19
20
|
import '../chunk-UAUP6XGK.js';
|
|
20
21
|
import '../chunk-NUZHC6MM.js';
|
|
21
|
-
import '../chunk-2G355KDJ.js';
|
|
22
22
|
import '../chunk-UT6CW3C7.js';
|
|
23
23
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Checkbox/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Checkbox, CheckboxGroup } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Checkbox, CheckboxGroup } from '../chunk-PBCNINMB.js';
|
|
2
|
+
import '../chunk-ETSF7SU6.js';
|
|
3
3
|
import '../chunk-PGCLHYVP.js';
|
|
4
4
|
import '../chunk-PQADV6P6.js';
|
|
5
|
+
import '../chunk-2G355KDJ.js';
|
|
5
6
|
import '../chunk-H5XTJ7GJ.js';
|
|
6
7
|
import '../chunk-UAUP6XGK.js';
|
|
7
8
|
import '../chunk-NUZHC6MM.js';
|
|
8
|
-
import '../chunk-2G355KDJ.js';
|
|
9
9
|
import '../chunk-UT6CW3C7.js';
|
|
10
10
|
import '../chunk-ODEQTPFM.js';
|
package/dist/ColorField/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ColorField } from '../chunk-
|
|
1
|
+
export { ColorField } from '../chunk-7LSSYHOT.js';
|
|
2
2
|
import '../chunk-7W3LYIOC.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-ETSF7SU6.js';
|
|
4
4
|
import '../chunk-PGCLHYVP.js';
|
|
5
5
|
import '../chunk-PQADV6P6.js';
|
|
6
|
+
import '../chunk-2G355KDJ.js';
|
|
6
7
|
import '../chunk-H5XTJ7GJ.js';
|
|
7
8
|
import '../chunk-UAUP6XGK.js';
|
|
8
9
|
import '../chunk-NUZHC6MM.js';
|
|
9
|
-
import '../chunk-2G355KDJ.js';
|
|
10
10
|
import '../chunk-UT6CW3C7.js';
|
|
11
11
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Combobox/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { Combobox } from '../chunk-
|
|
1
|
+
export { Combobox } from '../chunk-ZUBFVK6B.js';
|
|
2
2
|
import '../chunk-7KHM2FZH.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-ETSF7SU6.js';
|
|
4
4
|
import '../chunk-PGCLHYVP.js';
|
|
5
5
|
import '../chunk-PQADV6P6.js';
|
|
6
|
+
import '../chunk-2G355KDJ.js';
|
|
6
7
|
import '../chunk-2YTOOH3A.js';
|
|
7
8
|
import '../chunk-H5XTJ7GJ.js';
|
|
8
9
|
import '../chunk-UAUP6XGK.js';
|
|
9
10
|
import '../chunk-NUZHC6MM.js';
|
|
10
|
-
import '../chunk-2G355KDJ.js';
|
|
11
11
|
import '../chunk-UT6CW3C7.js';
|
|
12
12
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { CommandPalette } from '../chunk-
|
|
1
|
+
export { CommandPalette } from '../chunk-NXNLAZPK.js';
|
|
2
2
|
import '../chunk-C667GCU7.js';
|
|
3
3
|
import '../chunk-7KHM2FZH.js';
|
|
4
4
|
import '../chunk-ANTAQAR4.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-ETSF7SU6.js';
|
|
6
6
|
import '../chunk-PGCLHYVP.js';
|
|
7
7
|
import '../chunk-MLDTLZAO.js';
|
|
8
8
|
import '../chunk-PQADV6P6.js';
|
|
9
|
+
import '../chunk-2G355KDJ.js';
|
|
9
10
|
import '../chunk-DGXZ635L.js';
|
|
10
11
|
import '../chunk-OMV5W53A.js';
|
|
11
12
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -13,6 +14,5 @@ import '../chunk-XSPCITPN.js';
|
|
|
13
14
|
import '../chunk-H5XTJ7GJ.js';
|
|
14
15
|
import '../chunk-UAUP6XGK.js';
|
|
15
16
|
import '../chunk-NUZHC6MM.js';
|
|
16
|
-
import '../chunk-2G355KDJ.js';
|
|
17
17
|
import '../chunk-UT6CW3C7.js';
|
|
18
18
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-
|
|
1
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-YGWIWDXE.js';
|
|
2
2
|
import '../chunk-CI3VPIJN.js';
|
|
3
3
|
import '../chunk-EJNJMHQG.js';
|
|
4
4
|
import '../chunk-RE3FBGQQ.js';
|
|
5
5
|
import '../chunk-BKP6XCAJ.js';
|
|
6
6
|
import '../chunk-PZKHBB7D.js';
|
|
7
7
|
import '../chunk-BXCL6P5Z.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-5OFRDX66.js';
|
|
9
9
|
import '../chunk-ANTAQAR4.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-ETSF7SU6.js';
|
|
11
11
|
import '../chunk-PGCLHYVP.js';
|
|
12
12
|
import '../chunk-MLDTLZAO.js';
|
|
13
13
|
import '../chunk-PQADV6P6.js';
|
|
14
|
+
import '../chunk-2G355KDJ.js';
|
|
14
15
|
import '../chunk-DGXZ635L.js';
|
|
15
16
|
import '../chunk-OMV5W53A.js';
|
|
16
17
|
import '../chunk-XSPCITPN.js';
|
|
17
18
|
import '../chunk-H5XTJ7GJ.js';
|
|
18
19
|
import '../chunk-UAUP6XGK.js';
|
|
19
20
|
import '../chunk-NUZHC6MM.js';
|
|
20
|
-
import '../chunk-2G355KDJ.js';
|
|
21
21
|
import '../chunk-UT6CW3C7.js';
|
|
22
22
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Composer/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { COMPOSER_COUNTER_AT, Composer } from '../chunk-
|
|
1
|
+
export { COMPOSER_COUNTER_AT, Composer } from '../chunk-5OFRDX66.js';
|
|
2
2
|
import '../chunk-ANTAQAR4.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-ETSF7SU6.js';
|
|
4
4
|
import '../chunk-PGCLHYVP.js';
|
|
5
5
|
import '../chunk-PQADV6P6.js';
|
|
6
|
+
import '../chunk-2G355KDJ.js';
|
|
6
7
|
import '../chunk-OMV5W53A.js';
|
|
7
8
|
import '../chunk-H5XTJ7GJ.js';
|
|
8
9
|
import '../chunk-UAUP6XGK.js';
|
|
9
10
|
import '../chunk-NUZHC6MM.js';
|
|
10
|
-
import '../chunk-2G355KDJ.js';
|
|
11
11
|
import '../chunk-UT6CW3C7.js';
|
|
12
12
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ConfirmField, confirmMatches } from '../chunk-
|
|
1
|
+
export { ConfirmField, confirmMatches } from '../chunk-JVII5264.js';
|
|
2
2
|
import '../chunk-PLL7ZJHY.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-ETSF7SU6.js';
|
|
4
4
|
import '../chunk-PGCLHYVP.js';
|
|
5
5
|
import '../chunk-PQADV6P6.js';
|
|
6
|
+
import '../chunk-2G355KDJ.js';
|
|
6
7
|
import '../chunk-H5XTJ7GJ.js';
|
|
7
8
|
import '../chunk-UAUP6XGK.js';
|
|
8
9
|
import '../chunk-NUZHC6MM.js';
|
|
9
|
-
import '../chunk-2G355KDJ.js';
|
|
10
10
|
import '../chunk-UT6CW3C7.js';
|
|
11
11
|
import '../chunk-ODEQTPFM.js';
|
package/dist/DataGrid/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, useAnyDataGridDriving, useDataGridDriving } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, useAnyDataGridDriving, useDataGridDriving } from '../chunk-FURJVZCT.js';
|
|
2
|
+
import '../chunk-PBCNINMB.js';
|
|
3
3
|
import '../chunk-PPUR46MK.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-ETSF7SU6.js';
|
|
5
5
|
import '../chunk-PGCLHYVP.js';
|
|
6
6
|
import '../chunk-PQADV6P6.js';
|
|
7
|
+
import '../chunk-2G355KDJ.js';
|
|
7
8
|
import '../chunk-RTPQDNW3.js';
|
|
8
9
|
import '../chunk-DGXZ635L.js';
|
|
9
10
|
import '../chunk-XSPCITPN.js';
|
|
10
11
|
import '../chunk-H5XTJ7GJ.js';
|
|
11
12
|
import '../chunk-UAUP6XGK.js';
|
|
12
13
|
import '../chunk-NUZHC6MM.js';
|
|
13
|
-
import '../chunk-2G355KDJ.js';
|
|
14
14
|
import '../chunk-UT6CW3C7.js';
|
|
15
15
|
import '../chunk-ODEQTPFM.js';
|
package/dist/DataTable/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-
|
|
1
|
+
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-BWFJB5JD.js';
|
|
2
2
|
import '../chunk-C667GCU7.js';
|
|
3
3
|
import '../chunk-STJ7QBC3.js';
|
|
4
4
|
import '../chunk-DTIW4CHZ.js';
|
|
5
5
|
import '../chunk-RE3FBGQQ.js';
|
|
6
6
|
import '../chunk-AV2DXAEL.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-PBCNINMB.js';
|
|
8
|
+
import '../chunk-ETSF7SU6.js';
|
|
9
9
|
import '../chunk-PGCLHYVP.js';
|
|
10
10
|
import '../chunk-PQADV6P6.js';
|
|
11
|
+
import '../chunk-2G355KDJ.js';
|
|
11
12
|
import '../chunk-OQG4P5KU.js';
|
|
12
13
|
import '../chunk-DGXZ635L.js';
|
|
13
14
|
import '../chunk-OMV5W53A.js';
|
|
@@ -15,6 +16,5 @@ import '../chunk-XSPCITPN.js';
|
|
|
15
16
|
import '../chunk-H5XTJ7GJ.js';
|
|
16
17
|
import '../chunk-UAUP6XGK.js';
|
|
17
18
|
import '../chunk-NUZHC6MM.js';
|
|
18
|
-
import '../chunk-2G355KDJ.js';
|
|
19
19
|
import '../chunk-UT6CW3C7.js';
|
|
20
20
|
import '../chunk-ODEQTPFM.js';
|
package/dist/DataView/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-
|
|
1
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-J5WWMC35.js';
|
|
2
2
|
import '../chunk-FPDIHEM4.js';
|
|
3
3
|
import '../chunk-K4LZXSKZ.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BWFJB5JD.js';
|
|
5
5
|
import '../chunk-HPI5J6AR.js';
|
|
6
6
|
import '../chunk-C667GCU7.js';
|
|
7
7
|
import '../chunk-STJ7QBC3.js';
|
|
@@ -13,12 +13,13 @@ import '../chunk-KHJIEPZV.js';
|
|
|
13
13
|
import '../chunk-EJNJMHQG.js';
|
|
14
14
|
import '../chunk-RE3FBGQQ.js';
|
|
15
15
|
import '../chunk-AV2DXAEL.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-PBCNINMB.js';
|
|
17
17
|
import '../chunk-ANTAQAR4.js';
|
|
18
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-ETSF7SU6.js';
|
|
19
19
|
import '../chunk-PGCLHYVP.js';
|
|
20
20
|
import '../chunk-MLDTLZAO.js';
|
|
21
21
|
import '../chunk-PQADV6P6.js';
|
|
22
|
+
import '../chunk-2G355KDJ.js';
|
|
22
23
|
import '../chunk-OQG4P5KU.js';
|
|
23
24
|
import '../chunk-DGXZ635L.js';
|
|
24
25
|
import '../chunk-OMV5W53A.js';
|
|
@@ -26,6 +27,5 @@ import '../chunk-XSPCITPN.js';
|
|
|
26
27
|
import '../chunk-H5XTJ7GJ.js';
|
|
27
28
|
import '../chunk-UAUP6XGK.js';
|
|
28
29
|
import '../chunk-NUZHC6MM.js';
|
|
29
|
-
import '../chunk-2G355KDJ.js';
|
|
30
30
|
import '../chunk-UT6CW3C7.js';
|
|
31
31
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-
|
|
1
|
+
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-W5AXJWOW.js';
|
|
2
2
|
import '../chunk-MPVMB2DV.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-ETSF7SU6.js';
|
|
4
4
|
import '../chunk-PGCLHYVP.js';
|
|
5
5
|
import '../chunk-PQADV6P6.js';
|
|
6
|
+
import '../chunk-2G355KDJ.js';
|
|
6
7
|
import '../chunk-OQG4P5KU.js';
|
|
7
8
|
import '../chunk-DGXZ635L.js';
|
|
8
9
|
import '../chunk-OMV5W53A.js';
|
|
@@ -10,6 +11,5 @@ import '../chunk-XSPCITPN.js';
|
|
|
10
11
|
import '../chunk-H5XTJ7GJ.js';
|
|
11
12
|
import '../chunk-UAUP6XGK.js';
|
|
12
13
|
import '../chunk-NUZHC6MM.js';
|
|
13
|
-
import '../chunk-2G355KDJ.js';
|
|
14
14
|
import '../chunk-UT6CW3C7.js';
|
|
15
15
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { richEditorLabels } from './chunk-CSQTDGTS.js';
|
|
2
1
|
import { schema, readMarkdown, writeMarkdown } from './chunk-QH6VYJ3X.js';
|
|
2
|
+
import { richEditorLabels } from './chunk-CSQTDGTS.js';
|
|
3
3
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-BAKPMH3S.js';
|
|
4
4
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
5
|
-
import { FormField, Input } from './chunk-
|
|
5
|
+
import { FormField, Input } from './chunk-ETSF7SU6.js';
|
|
6
6
|
import './chunk-PGCLHYVP.js';
|
|
7
7
|
import './chunk-PQADV6P6.js';
|
|
8
|
+
import './chunk-2G355KDJ.js';
|
|
8
9
|
import { Menu } from './chunk-OQG4P5KU.js';
|
|
9
10
|
import { Button } from './chunk-DGXZ635L.js';
|
|
10
11
|
import { placePopup, viewportBounds } from './chunk-OMV5W53A.js';
|
|
@@ -12,7 +13,6 @@ import './chunk-XSPCITPN.js';
|
|
|
12
13
|
import { usePopupLayer } from './chunk-H5XTJ7GJ.js';
|
|
13
14
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
14
15
|
import './chunk-NUZHC6MM.js';
|
|
15
|
-
import './chunk-2G355KDJ.js';
|
|
16
16
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
17
17
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
18
18
|
import { forwardRef, useMemo, useRef, useState, useId, useSyncExternalStore, useCallback, useLayoutEffect, useEffect, useImperativeHandle } from 'react';
|
package/dist/Input/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-
|
|
1
|
+
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-ETSF7SU6.js';
|
|
2
2
|
import '../chunk-PGCLHYVP.js';
|
|
3
3
|
import '../chunk-PQADV6P6.js';
|
|
4
|
+
import '../chunk-2G355KDJ.js';
|
|
4
5
|
import '../chunk-H5XTJ7GJ.js';
|
|
5
6
|
import '../chunk-UAUP6XGK.js';
|
|
6
7
|
import '../chunk-NUZHC6MM.js';
|
|
7
|
-
import '../chunk-2G355KDJ.js';
|
|
8
8
|
import '../chunk-UT6CW3C7.js';
|
|
9
9
|
import '../chunk-ODEQTPFM.js';
|
package/dist/ListInput/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { ListInput, withDraft } from '../chunk-
|
|
1
|
+
export { ListInput, withDraft } from '../chunk-H32JW6CZ.js';
|
|
2
2
|
import '../chunk-MPVMB2DV.js';
|
|
3
3
|
import '../chunk-ANTAQAR4.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-ETSF7SU6.js';
|
|
5
5
|
import '../chunk-PGCLHYVP.js';
|
|
6
6
|
import '../chunk-PQADV6P6.js';
|
|
7
|
+
import '../chunk-2G355KDJ.js';
|
|
7
8
|
import '../chunk-DGXZ635L.js';
|
|
8
9
|
import '../chunk-OMV5W53A.js';
|
|
9
10
|
import '../chunk-XSPCITPN.js';
|
|
10
11
|
import '../chunk-H5XTJ7GJ.js';
|
|
11
12
|
import '../chunk-UAUP6XGK.js';
|
|
12
13
|
import '../chunk-NUZHC6MM.js';
|
|
13
|
-
import '../chunk-2G355KDJ.js';
|
|
14
14
|
import '../chunk-UT6CW3C7.js';
|
|
15
15
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { PrincipalPicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PrincipalPicker } from '../chunk-MFQPGMJT.js';
|
|
2
|
+
import '../chunk-ZUBFVK6B.js';
|
|
3
3
|
import '../chunk-7KHM2FZH.js';
|
|
4
4
|
import '../chunk-CI3VPIJN.js';
|
|
5
5
|
import '../chunk-BKP6XCAJ.js';
|
|
6
6
|
import '../chunk-PZKHBB7D.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-ETSF7SU6.js';
|
|
8
8
|
import '../chunk-PGCLHYVP.js';
|
|
9
9
|
import '../chunk-PQADV6P6.js';
|
|
10
|
+
import '../chunk-2G355KDJ.js';
|
|
10
11
|
import '../chunk-2YTOOH3A.js';
|
|
11
12
|
import '../chunk-H5XTJ7GJ.js';
|
|
12
13
|
import '../chunk-UAUP6XGK.js';
|
|
13
14
|
import '../chunk-NUZHC6MM.js';
|
|
14
|
-
import '../chunk-2G355KDJ.js';
|
|
15
15
|
import '../chunk-UT6CW3C7.js';
|
|
16
16
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-
|
|
1
|
+
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-3EY5SEGH.js';
|
|
2
2
|
import '../chunk-ZWCK4N4L.js';
|
|
3
3
|
import '../chunk-WQRSZMN4.js';
|
|
4
4
|
import '../chunk-LR4IWUWQ.js';
|
|
@@ -7,18 +7,18 @@ import '../chunk-I5OIKDX2.js';
|
|
|
7
7
|
import '../chunk-WIATRXEJ.js';
|
|
8
8
|
import '../chunk-4AUTALJA.js';
|
|
9
9
|
import '../chunk-AV2DXAEL.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-PBCNINMB.js';
|
|
11
11
|
import '../chunk-222VILSP.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-ETSF7SU6.js';
|
|
13
13
|
import '../chunk-PGCLHYVP.js';
|
|
14
14
|
import '../chunk-IVTQWOXV.js';
|
|
15
15
|
import '../chunk-MLDTLZAO.js';
|
|
16
16
|
import '../chunk-PQADV6P6.js';
|
|
17
|
+
import '../chunk-2G355KDJ.js';
|
|
17
18
|
import '../chunk-DGXZ635L.js';
|
|
18
19
|
import '../chunk-XSPCITPN.js';
|
|
19
20
|
import '../chunk-H5XTJ7GJ.js';
|
|
20
21
|
import '../chunk-UAUP6XGK.js';
|
|
21
22
|
import '../chunk-NUZHC6MM.js';
|
|
22
|
-
import '../chunk-2G355KDJ.js';
|
|
23
23
|
import '../chunk-UT6CW3C7.js';
|
|
24
24
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -77,13 +77,23 @@ export interface ReadingPaneReasoningProps extends Omit<HTMLAttributes<HTMLDivEl
|
|
|
77
77
|
* underneath.
|
|
78
78
|
*/
|
|
79
79
|
export declare function ReadingPaneReasoning({ title, footer, className, children, ...rest }: ReadingPaneReasoningProps): import("react").JSX.Element;
|
|
80
|
-
export
|
|
80
|
+
export interface ReadingPaneOutcomeProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
81
|
+
/**
|
|
82
|
+
* Whether the action has done what it set out to (`done`, the default: a
|
|
83
|
+
* check, in the success ink) or has been accepted and is still on its way
|
|
84
|
+
* (`pending`: a clock, in the secondary ink), such as an answer sent to
|
|
85
|
+
* somebody who has not taken it yet. A pending outcome never draws the
|
|
86
|
+
* success check, because the reader would read it as finished.
|
|
87
|
+
*/
|
|
88
|
+
tone?: 'done' | 'pending';
|
|
89
|
+
}
|
|
81
90
|
/**
|
|
82
91
|
* What the reader's action did, in place of the controls that did it:
|
|
83
92
|
* "Answered **Accept**". A live region, so the line is announced when it
|
|
84
|
-
* replaces the button that was just pressed
|
|
93
|
+
* replaces the button that was just pressed, and again when a pending outcome
|
|
94
|
+
* becomes a done one.
|
|
85
95
|
*/
|
|
86
|
-
export declare function ReadingPaneOutcome({ className, children, ...rest }: ReadingPaneOutcomeProps): import("react").JSX.Element;
|
|
96
|
+
export declare function ReadingPaneOutcome({ tone, className, children, ...rest }: ReadingPaneOutcomeProps): import("react").JSX.Element;
|
|
87
97
|
export interface ReadingPaneSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
88
98
|
/** What is below it, said exactly: "Replies to this question". */
|
|
89
99
|
label: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-
|
|
1
|
+
export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-Q7N2ATMC.js';
|
|
2
2
|
import '../chunk-RK4XPHVG.js';
|
|
3
3
|
import '../chunk-PQADV6P6.js';
|
|
4
4
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -170,6 +170,11 @@
|
|
|
170
170
|
flex: none;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
+
/* Accepted and on its way, not done: the secondary ink, never the success one. */
|
|
174
|
+
.crewlet-reading-pane__outcome--pending {
|
|
175
|
+
color: var(--color-text-secondary);
|
|
176
|
+
}
|
|
177
|
+
|
|
173
178
|
.crewlet-reading-pane__outcome strong {
|
|
174
179
|
font-weight: var(--font-weight-medium);
|
|
175
180
|
color: var(--color-text-primary);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface RecordChipProps {
|
|
3
|
+
/** The record's short key, set in mono: "GOP-11". */
|
|
4
|
+
code?: string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* What the chip says where the record has no key ("QA", "Decisions waiting
|
|
7
|
+
* on you"). With a key, the key is what the chip says.
|
|
8
|
+
*/
|
|
9
|
+
label?: string | undefined;
|
|
10
|
+
/** The record's full name, at the head of the peek: "Android 12 crash when lesson audio starts". */
|
|
11
|
+
title: string;
|
|
12
|
+
/** The record's kind as a glyph, before the key. Decoration. */
|
|
13
|
+
glyph?: ReactNode;
|
|
14
|
+
/** What the peek holds under the name: a few facts, a short table. */
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
/** The peek's controls, at its foot: the way to the record, a download. */
|
|
17
|
+
actions?: ReactNode;
|
|
18
|
+
/** One line of context in the peek's head, under the name: "Task · In progress". */
|
|
19
|
+
meta?: ReactNode;
|
|
20
|
+
className?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A record named inside a sentence, as a chip that opens a PEEK: its name, a
|
|
24
|
+
* few facts and the way to it, without leaving the sentence.
|
|
25
|
+
*
|
|
26
|
+
* WHY IT EXISTS. An answer that names GOP-11 and also draws a card for it says
|
|
27
|
+
* the same record twice, the card a long way under the sentence that needed
|
|
28
|
+
* it. The chip puts the record where the words already are, and costs the
|
|
29
|
+
* line no height: it is the text's own size, on its baseline, exactly one of
|
|
30
|
+
* the line's own lines tall, hairline included.
|
|
31
|
+
*
|
|
32
|
+
* WHAT IT MAY POINT AT. The host draws a chip only for a record it read and
|
|
33
|
+
* resolved itself; the words around it are prose, and a chip is never made
|
|
34
|
+
* from a key the prose merely spells.
|
|
35
|
+
*
|
|
36
|
+
* A BUTTON THAT OPENS A DIALOG. The peek is a named `Popover` dialog, so focus
|
|
37
|
+
* moves into it when it opens. Escape, Tab out of it, or a control inside it
|
|
38
|
+
* that closes it hands focus back to the chip; a press outside closes it and
|
|
39
|
+
* leaves focus where that press put it. A key chip's name is the key and the
|
|
40
|
+
* record's name after it, so a reader moving by control hears what it opens;
|
|
41
|
+
* a label chip's name is its label, which already names the record.
|
|
42
|
+
*
|
|
43
|
+
* A LONG LABEL IS CUT AT THE LINE'S END and carries its whole text as the
|
|
44
|
+
* chip's title, so a pointer reader can still read it.
|
|
45
|
+
*/
|
|
46
|
+
export declare function RecordChip({ code, label, title, glyph, children, actions, meta, className }: RecordChipProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
export interface RecordChipListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
3
|
+
/** The line's lead, which also names the list: "Also read". */
|
|
4
|
+
label: string;
|
|
5
|
+
/** The records, each a `RecordChip`. */
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Records named on one quiet line under what they support, as chips: what an
|
|
10
|
+
* answer read but never named in its words ("Also read GOP-2 QA").
|
|
11
|
+
*
|
|
12
|
+
* A LIST NAMED BY ITS LEAD, so a screen reader hears "Also read, list, 3
|
|
13
|
+
* items" and then each chip, and the lead is drawn once rather than said
|
|
14
|
+
* again by every chip. The chips wrap onto further lines at a narrow width;
|
|
15
|
+
* the line is in the caption register, a step quieter than the text above it.
|
|
16
|
+
*/
|
|
17
|
+
export declare function RecordChipList({ label, children, className, ...rest }: RecordChipListProps): import("react").JSX.Element | null;
|