@crewlethq/ui 0.131.0 → 0.131.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AppShell/AppShell.d.ts +47 -196
- package/dist/AppShell/index.js +2 -2
- package/dist/{AppShell-N5IHITJM.css → AppShell-RPILZZW5.css} +109 -431
- package/dist/ArtifactBar/index.js +4 -4
- package/dist/ArtifactCard/ArtifactCard.d.ts +13 -39
- package/dist/ArtifactCard/index.js +1 -1
- package/dist/{ArtifactCard-ZH6KCD5O.css → ArtifactCard-PWMC7RAY.css} +15 -49
- package/dist/ArtifactMakeRow/ArtifactMakeRow.d.ts +3 -16
- package/dist/AvatarPicker/index.js +5 -5
- package/dist/BrandSample/index.js +1 -1
- package/dist/{BrandSample-3OSKZAGG.css → BrandSample-WSBT7FQ5.css} +5 -25
- package/dist/Breadcrumb/Breadcrumb.d.ts +5 -41
- package/dist/Breadcrumb/index.js +1 -1
- package/dist/{Breadcrumb-MQJWJVN3.css → Breadcrumb-JDBQXPR5.css} +12 -58
- package/dist/Canvas/Canvas.d.ts +52 -228
- package/dist/Canvas/geometry.d.ts +31 -139
- package/dist/Canvas/index.js +1 -1
- package/dist/CanvasBoard/index.js +3 -3
- package/dist/CanvasToolbar/index.js +2 -2
- package/dist/CodeBlock/index.js +1 -1
- package/dist/ColorSwatch/index.js +2 -2
- package/dist/CommentThread/CommentThread.d.ts +3 -21
- package/dist/CommentThread/index.js +1 -1
- package/dist/{CommentThread-544KCZT7.css → CommentThread-YU6VSVS4.css} +2 -4
- package/dist/Composer/Composer.d.ts +17 -54
- package/dist/ConfirmField/index.js +2 -2
- package/dist/Copyable/Copyable.d.ts +2 -11
- package/dist/Copyable/index.js +1 -1
- package/dist/{Copyable-XMLKKJDT.css → Copyable-U3UJL3BP.css} +9 -32
- package/dist/DataGrid/DataGrid.d.ts +46 -136
- package/dist/DataGrid/index.js +1 -1
- package/dist/DataTable/index.js +2 -2
- package/dist/DataView/index.js +3 -3
- package/dist/DocTabsEditor/index.js +2 -2
- package/dist/{Editor-MEPTWBY5.js → Editor-HDHT5BX2.js} +2 -2
- package/dist/GraphCanvas/GraphCanvas.d.ts +22 -79
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/GraphCanvas/layout.d.ts +10 -35
- package/dist/HuePicker/index.js +4 -4
- package/dist/InlineCode/InlineCode.d.ts +7 -28
- package/dist/InlineCode/index.js +1 -1
- package/dist/InlineCode-3KJCBT5I.css +80 -0
- package/dist/Link/Link.d.ts +3 -25
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Y7RHTR6F.css → Link-7AADYG2F.css} +12 -35
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/MarkdownEditor/index.js +4 -4
- package/dist/MentionMenu/MentionMenu.d.ts +9 -31
- package/dist/Menu/Menu.d.ts +9 -91
- package/dist/Menu/index.js +1 -1
- package/dist/MergeConflicts/index.js +4 -4
- package/dist/ObjectHeader/index.js +2 -2
- package/dist/OrgTable/index.js +3 -3
- package/dist/PropertyList/index.js +3 -3
- package/dist/RichEditor/index.js +1 -1
- package/dist/SearchTrigger/SearchTrigger.d.ts +8 -36
- package/dist/SearchTrigger/index.js +1 -1
- package/dist/{SearchTrigger-MME7NIHX.css → SearchTrigger-3HO7D6NP.css} +5 -17
- package/dist/SegmentedControl/index.js +3 -3
- package/dist/ShareDialog/index.js +1 -1
- package/dist/SheetColumnEditor/index.js +5 -5
- package/dist/SheetGrid/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +2 -2
- package/dist/TableCells/index.js +2 -2
- package/dist/Tabs/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +4 -4
- package/dist/TimeRangePicker/index.js +4 -4
- package/dist/TreeCanvas/TreeCanvas.d.ts +50 -248
- package/dist/TreeCanvas/index.js +2 -2
- package/dist/TreeGrid/index.js +2 -2
- package/dist/VersionCompare/index.js +4 -4
- package/dist/{chunk-O43SIR3W.js → chunk-3QQ3QHQR.js} +1 -1
- package/dist/{chunk-MZV45HQB.js → chunk-3T6URIXM.js} +1 -1
- package/dist/{chunk-H2QSDZTX.js → chunk-3ZURIGQ7.js} +1 -1
- package/dist/{chunk-KQFOPY2P.js → chunk-4H577HEE.js} +1 -1
- package/dist/{chunk-3WSDAVE6.js → chunk-5PAABHF7.js} +1 -1
- package/dist/{chunk-3DAIOPAV.js → chunk-63NULHGF.js} +1 -1
- package/dist/{chunk-NFA7CSCD.js → chunk-6BMPVSUB.js} +1 -1
- package/dist/{chunk-JY6WSDUG.js → chunk-AIQHJ2HF.js} +1 -1
- package/dist/{chunk-M32NBSS7.js → chunk-B2RTWEZZ.js} +4 -6
- package/dist/{chunk-3P24SMTI.js → chunk-B5MCTPXL.js} +1 -1
- package/dist/{chunk-V2FD4RPS.js → chunk-BGPHGCDT.js} +1 -1
- package/dist/{chunk-QNDXLHBO.js → chunk-CN2EDXAW.js} +1 -1
- package/dist/{chunk-MNACKUBB.js → chunk-CX4JXBS3.js} +2 -2
- package/dist/{chunk-NLGRDKCK.js → chunk-EPH5EPKN.js} +2 -2
- package/dist/{chunk-AKCIF6XN.js → chunk-FEJVDORA.js} +1 -1
- package/dist/{chunk-PFTUWDZN.js → chunk-FIH5EMJF.js} +1 -1
- package/dist/{chunk-OWYIRWEX.js → chunk-FMRRKLNX.js} +1 -1
- package/dist/{chunk-QM2QFKIA.js → chunk-FVXNR63H.js} +2 -2
- package/dist/{chunk-2AKVGQ73.js → chunk-GDBROEQ5.js} +1 -1
- package/dist/{chunk-NMBGVHGQ.js → chunk-GSLN7WL2.js} +2 -2
- package/dist/{chunk-KMIS2R67.js → chunk-HJAX4356.js} +1 -1
- package/dist/{chunk-WLCPN22T.js → chunk-HKYLPYVF.js} +1 -1
- package/dist/{chunk-Q4JX6UO7.js → chunk-HMEFWPAA.js} +3 -7
- package/dist/{chunk-OVFB63RZ.js → chunk-JANUABBT.js} +3 -5
- package/dist/{chunk-AIYSPVVZ.js → chunk-JDRBZYIA.js} +1 -1
- package/dist/{chunk-7FSIBX4S.js → chunk-JG66SXCX.js} +1 -1
- package/dist/{chunk-D2KJ5GQC.js → chunk-N2DCSSYC.js} +2 -2
- package/dist/{chunk-2TZNTPF5.js → chunk-NDWXVEY6.js} +2 -4
- package/dist/{chunk-QFE6T6GW.js → chunk-P4QAS5TS.js} +1 -1
- package/dist/{chunk-JKFA2F7J.js → chunk-R4YUMULC.js} +1 -1
- package/dist/{chunk-E3AFQTWT.js → chunk-SRPV3EAJ.js} +1 -1
- package/dist/{chunk-K5WTII2H.js → chunk-U67UM3VS.js} +1 -1
- package/dist/{chunk-RMGPZQVJ.js → chunk-UTKI2SAM.js} +1 -1
- package/dist/{chunk-KUECTV2P.js → chunk-W443OSWT.js} +1 -1
- package/dist/{chunk-XHNV272L.js → chunk-W4UJWFCZ.js} +1 -1
- package/dist/{chunk-EGHOU7U2.js → chunk-WGAEHKGW.js} +5 -12
- package/dist/{chunk-3DGNF2EH.js → chunk-XGZXKG53.js} +2 -2
- package/dist/{chunk-MNVIIZQP.js → chunk-YADYQHHW.js} +2 -5
- package/dist/{chunk-Y7FPSBCN.js → chunk-YBOGOTYV.js} +1 -1
- package/dist/{chunk-ECOWCJHQ.js → chunk-YTDZY3PY.js} +1 -1
- package/dist/{chunk-6POROC4M.js → chunk-ZO3MXMAC.js} +1 -1
- package/dist/generated/index.js +54 -54
- package/dist/index.js +54 -54
- package/dist/styles.css +188 -696
- package/dist/utils/pathBreaks.d.ts +3 -8
- package/package.json +3 -3
- package/dist/InlineCode-BEYQFJQT.css +0 -106
package/dist/Menu/Menu.d.ts
CHANGED
|
@@ -1,76 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A menu button
|
|
3
|
-
*
|
|
4
|
-
* WHY IT EXISTS. A row in a table, a card on a chart or a node in a tree has
|
|
5
|
-
* more actions than it has room for buttons, and a row of icons nobody can
|
|
6
|
-
* name is not an interface. The WAI-ARIA menu button pattern is the one a
|
|
7
|
-
* screen reader and a keyboard already know, and it has enough rules that a
|
|
8
|
-
* second hand-written copy misses some of them: the one this replaces put
|
|
9
|
-
* `role="menu"` on two nested elements, moved focus nowhere on open, had no
|
|
10
|
-
* arrows, used native `disabled` items a keyboard reader never met, ran an
|
|
11
|
-
* action before returning focus, did not close on Tab, and let its keys reach
|
|
12
|
-
* the row beneath it.
|
|
13
|
-
*
|
|
14
|
-
* THE RULES IT KEEPS.
|
|
15
|
-
*
|
|
16
|
-
* - OPENING PUTS FOCUS ON THE FIRST ITEM (ArrowUp on the trigger: the last).
|
|
17
|
-
* Arrows move and wrap, Home and End jump, a letter moves to the next item
|
|
18
|
-
* starting with it, Enter or Space activates.
|
|
19
|
-
* - IT IS A POPUP ON THE SHARED LAYER STACK: Escape closes the menu before
|
|
20
|
-
* anything beneath it, and a press outside closes it without also counting
|
|
21
|
-
* as a press on a veil.
|
|
22
|
-
* - FOCUS GOES BACK TO WHAT OPENED IT on Escape, on Tab (which then carries on
|
|
23
|
-
* to the next control, as the pattern says) and BEFORE AN ACTION RUNS. The
|
|
24
|
-
* last is what lets an action open a dialog that returns focus to the right
|
|
25
|
-
* place: the dialog captures its opener when it first renders, and by then
|
|
26
|
-
* focus is back on the trigger rather than on an item about to unmount. What
|
|
27
|
-
* opened it is whatever held focus when it opened, so a menu opened from a
|
|
28
|
-
* tree item with the Menu key returns to the tree item, not to the
|
|
29
|
-
* pointer-only button that anchors it.
|
|
30
|
-
* - A DISABLED ITEM STAYS FOCUSABLE and says so (`aria-disabled`), so a
|
|
31
|
-
* keyboard user learns the action exists and is unavailable rather than
|
|
32
|
-
* meeting a list that silently skips it.
|
|
33
|
-
* - IT IS PLACED BY ARITHMETIC inside the layer it renders into, follows its
|
|
34
|
-
* trigger through a pan or a scroll, and closes when the trigger leaves the
|
|
35
|
-
* bounds. Focus moves in only once it has been placed: until then it is
|
|
36
|
-
* drawn hidden, so it never flashes at a corner, and a browser refuses focus
|
|
37
|
-
* to a hidden element anyway.
|
|
38
|
-
* - WHAT HAPPENS IN THE MENU STAYS IN THE MENU. A key, a press or a click
|
|
39
|
-
* inside it does not reach the element it was opened from. A portal carries
|
|
40
|
-
* React events up the component tree, not the document, so without this the
|
|
41
|
-
* Enter that activates "Delete" would also reach the card's own Enter, and
|
|
42
|
-
* ArrowDown would move the tree's focus as well as the menu's. Escape and
|
|
43
|
-
* Tab still travel, because the layer stack acts on them at the document,
|
|
44
|
-
* and so does a chord with Control, Command or Alt.
|
|
45
|
-
* - A CHOICE IS A RADIO ITEM. An item given `checked` is a `menuitemradio`
|
|
46
|
-
* that says whether it is the current value and draws a check where the
|
|
47
|
-
* others draw nothing, so a menu that picks one value reads as a choice with
|
|
48
|
-
* an answer rather than a list of actions that all look alike. Every answer
|
|
49
|
-
* of such a choice should say `checked`, true or false, so the check column
|
|
50
|
-
* lines up. The answers that stand together are nested in one `group`, as
|
|
51
|
-
* the pattern asks of radio items sharing a menu with actions, so a screen
|
|
52
|
-
* reader counts "2 of 3" among the answers rather than among every item.
|
|
53
|
-
* - IT CAN BE OPENED FROM OUTSIDE (`open`, `onOpenChange`), because a tree item
|
|
54
|
-
* that holds focus opens its card's menu from the keyboard while the trigger
|
|
55
|
-
* itself is out of the tab order (`triggerTabIndex={-1}`).
|
|
56
|
-
* - ITS TRIGGER CAN BE THE CALLER'S OWN (`renderTrigger`): a row that IS the
|
|
57
|
-
* way in, such as the signed-in reader at the foot of the rail, opens the
|
|
58
|
-
* menu itself rather than sitting beside a second button that does. The
|
|
59
|
-
* caller spreads the props it is handed on its element, which keeps every
|
|
60
|
-
* rule above, the focus coming back included.
|
|
61
|
-
* - IT CAN BE NO NARROWER THAN ITS TRIGGER (`width="trigger"`): a trigger
|
|
62
|
-
* that spans a column, such as the signed-in reader at the foot of the
|
|
63
|
-
* rail, opens a panel that covers it edge to edge, and that still grows
|
|
64
|
-
* past it when a row needs the room, so a description reads on one line
|
|
65
|
-
* rather than wrapping into a column of short lines.
|
|
66
|
-
* - A HEADER SAYS WHAT THE ACTIONS ARE ABOUT (`header`): a line of facts
|
|
67
|
-
* above the items, such as the access a signed-in reader carries. It is
|
|
68
|
-
* not an item, so the arrows never stop on it, and it stands OUTSIDE the
|
|
69
|
-
* element that is the menu, in the same panel: a menu may own only items,
|
|
70
|
-
* and a header is free to be a description list or a tag. The menu is
|
|
71
|
-
* described by it, so a screen reader hears it when the menu opens.
|
|
72
|
-
*
|
|
73
|
-
* Ported from the engine dashboard's `ui/Menu.tsx`, with its suite.
|
|
2
|
+
* A menu button following the WAI-ARIA menu button pattern: a trigger that
|
|
3
|
+
* opens a short list of actions or one choice, on the shared layer stack.
|
|
74
4
|
*/
|
|
75
5
|
import { type KeyboardEvent, type ReactNode } from 'react';
|
|
76
6
|
import { type PopupEntrance } from '../Layer/index.js';
|
|
@@ -127,9 +57,7 @@ export interface MenuTriggerProps {
|
|
|
127
57
|
export interface MenuProps {
|
|
128
58
|
/**
|
|
129
59
|
* The trigger's accessible name, such as "Actions for Software Engineer".
|
|
130
|
-
* It names a text trigger too, so
|
|
131
|
-
* keep the trigger's visible words in it, so a person who speaks what they
|
|
132
|
-
* see still reaches the button.
|
|
60
|
+
* It names a text trigger too, so keep the trigger's visible words in it.
|
|
133
61
|
*/
|
|
134
62
|
label: string;
|
|
135
63
|
items: readonly MenuEntry[];
|
|
@@ -145,16 +73,9 @@ export interface MenuProps {
|
|
|
145
73
|
trailingIcon?: ReactNode;
|
|
146
74
|
triggerVariant?: ButtonVariant | undefined;
|
|
147
75
|
/**
|
|
148
|
-
* The trigger
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
* plain values beside it, and it takes the surrounding text's size, weight
|
|
152
|
-
* and ink rather than a button label's, so a writer's row reads as a
|
|
153
|
-
* reader's. Its hover ground and focus ring still say it is a control.
|
|
154
|
-
*
|
|
155
|
-
* It is NAMED BY THE VALUE IT SHOWS, then by `label`, which follows it in
|
|
156
|
-
* words only a screen reader hears ("In progress, Status of ENG-1"): the
|
|
157
|
-
* name starts with what is on screen. The menu itself is named by `label`.
|
|
76
|
+
* The trigger is the value it changes: flush, in the surrounding text's
|
|
77
|
+
* size and ink, and named by the value it shows followed by `label`
|
|
78
|
+
* ("In progress, Status of ENG-1"). The menu itself is named by `label`.
|
|
158
79
|
*/
|
|
159
80
|
valueTrigger?: boolean | undefined;
|
|
160
81
|
/** -1 for a pointer-only trigger whose actions the keyboard reaches another way. */
|
|
@@ -185,12 +106,9 @@ export interface MenuProps {
|
|
|
185
106
|
/** How the panel arrives: `rise` (the default), or `instant`, drawn the frame it is placed. */
|
|
186
107
|
entrance?: PopupEntrance | undefined;
|
|
187
108
|
/**
|
|
188
|
-
* Focus stays on the menu and the keys move
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
* End and a letter move it, Enter or Space runs it, and the pointer moves it
|
|
192
|
-
* too. The highlighted row is drawn as the accent fill, with no ring. Off by
|
|
193
|
-
* default: each item takes focus in turn.
|
|
109
|
+
* Focus stays on the menu and the keys move an `aria-activedescendant`
|
|
110
|
+
* highlight, opening with nothing highlighted. Off by default: each item
|
|
111
|
+
* takes focus in turn.
|
|
194
112
|
*/
|
|
195
113
|
activeDescendant?: boolean | undefined;
|
|
196
114
|
className?: string | undefined;
|
package/dist/Menu/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-
|
|
1
|
+
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-3ZURIGQ7.js';
|
|
2
2
|
import '../chunk-7U4V36SB.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-BGPHGCDT.js';
|
|
4
|
+
import '../chunk-AIQHJ2HF.js';
|
|
5
5
|
import '../chunk-7F3OPUM5.js';
|
|
6
6
|
import '../chunk-QRE6JCHS.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-WGAEHKGW.js';
|
|
8
8
|
import '../chunk-M2M6ZD7P.js';
|
|
9
9
|
import '../chunk-XSPCITPN.js';
|
|
10
10
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-W443OSWT.js';
|
|
2
|
+
import '../chunk-UTKI2SAM.js';
|
|
3
3
|
import '../chunk-475DOAWF.js';
|
|
4
4
|
import '../chunk-WSIJDWUG.js';
|
|
5
5
|
import '../chunk-RRRK2KB6.js';
|
package/dist/OrgTable/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-6BMPVSUB.js';
|
|
2
|
+
import '../chunk-P4QAS5TS.js';
|
|
3
3
|
import '../chunk-SYMLWDV6.js';
|
|
4
4
|
import '../chunk-MY374UUD.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-NDWXVEY6.js';
|
|
6
6
|
import '../chunk-X4HBZSXA.js';
|
|
7
7
|
import '../chunk-WFAJYBLX.js';
|
|
8
8
|
import '../chunk-WSIJDWUG.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PropertyList } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { PropertyList } from '../chunk-N2DCSSYC.js';
|
|
2
|
+
import '../chunk-W443OSWT.js';
|
|
3
|
+
import '../chunk-UTKI2SAM.js';
|
|
4
4
|
import '../chunk-LH4OF7FI.js';
|
|
5
5
|
import '../chunk-WGLOH33S.js';
|
|
6
6
|
import '../chunk-475DOAWF.js';
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-4H577HEE.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-KBZO4B33.js';
|
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
import { type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* Where the field stands
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `rail` is the approved design's: the whole width of the sidebar, on the
|
|
7
|
-
* frame, so it takes the SHEET's ground one rung up, and it keeps its label
|
|
8
|
-
* and its hint at every width, because under the shell breakpoint the rail is
|
|
9
|
-
* a drawer as wide as it ever was.
|
|
10
|
-
*
|
|
11
|
-
* `toolbar` stands in a bar on the sheet, so it takes the CARD's ground, at
|
|
12
|
-
* the height of the controls beside it and a width of its own
|
|
13
|
-
* (`--crewlet-search-trigger-width`); under the shell breakpoint it drops its
|
|
14
|
-
* label and its hint and keeps the glyph, because a bar is where the room
|
|
15
|
-
* runs out.
|
|
3
|
+
* Where the field stands. `rail` spans the sidebar and keeps its words at every
|
|
4
|
+
* width; `toolbar` sits in a bar at the controls' height and drops its label
|
|
5
|
+
* and hint under the shell breakpoint, keeping the glyph.
|
|
16
6
|
*/
|
|
17
7
|
export type SearchTriggerVariant = 'rail' | 'toolbar';
|
|
18
8
|
export interface SearchTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'aria-label'> {
|
|
@@ -23,34 +13,16 @@ export interface SearchTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButton
|
|
|
23
13
|
/** The shortcut hint, as a Kbd with `keys`. Decoration: name the keys in `keyshortcuts`. */
|
|
24
14
|
shortcut?: ReactNode;
|
|
25
15
|
/**
|
|
26
|
-
* The shortcut
|
|
27
|
-
*
|
|
28
|
-
* is the only place a reader who cannot see the keycaps learns the shortcut
|
|
29
|
-
* exists.
|
|
16
|
+
* The shortcut for `aria-keyshortcuts`, such as `"Control+K Meta+K /"`: the
|
|
17
|
+
* only way a reader who cannot see the keycaps learns it exists.
|
|
30
18
|
*/
|
|
31
19
|
keyshortcuts?: string | undefined;
|
|
32
20
|
/** The leading glyph. A magnifier by default. */
|
|
33
21
|
icon?: ReactNode;
|
|
34
22
|
}
|
|
35
23
|
/**
|
|
36
|
-
* The
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* and a box that takes focus and then throws the first keystroke away is worse
|
|
40
|
-
* than one that never looked like a field at all.
|
|
41
|
-
*
|
|
42
|
-
* IT IS NAMED BY ITS WORDS, and by nothing else. An `aria-label` replaced
|
|
43
|
-
* them, and the keycap beside them is text in the same box (a checker counts
|
|
44
|
-
* it as shown, hidden from a screen reader or not), so the name never
|
|
45
|
-
* contained what the box shows and a person who says what they see could not
|
|
46
|
-
* reach it. The keycap is decoration: the shortcut reaches a screen reader
|
|
47
|
-
* through `aria-keyshortcuts`, the one place a reader who cannot see the caps
|
|
48
|
-
* learns it.
|
|
49
|
-
*
|
|
50
|
-
* FOLDED, THE WORDS ARE CLIPPED, NOT REMOVED. The toolbar form's narrow
|
|
51
|
-
* layout leaves the glyph alone in the box, and its words stay the button's
|
|
52
|
-
* name out of sight: content under `display: none` names nothing, and the
|
|
53
|
-
* dashboard this comes from had a search button a screen reader announced as
|
|
54
|
-
* "button" at every width under the breakpoint.
|
|
24
|
+
* The button that opens search, drawn as the field it stands in for. It is
|
|
25
|
+
* named by its visible words alone, and folded it clips them rather than
|
|
26
|
+
* removing them, so it keeps that name at every width.
|
|
55
27
|
*/
|
|
56
28
|
export declare const SearchTrigger: import("react").ForwardRefExoticComponent<SearchTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SearchTrigger } from '../chunk-
|
|
1
|
+
export { SearchTrigger } from '../chunk-U67UM3VS.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* A button drawn as the field it stands in for
|
|
3
|
-
*
|
|
4
|
-
* TWO PLACES, TWO GROUNDS. The approved design draws it in the rail, the
|
|
5
|
-
* whole width of the sidebar on the frame, and in a screen's own bar on the
|
|
6
|
-
* sheet. In each it is one rung up from what it stands on, the sheet on the
|
|
7
|
-
* frame and the card on the sheet, inside the default hairline, so it reads
|
|
8
|
-
* as a field sunk into neither and lifted off both.
|
|
2
|
+
* A button drawn as the field it stands in for, one rung up from its ground:
|
|
3
|
+
* the sheet's ground in the rail, the card's in a screen's bar.
|
|
9
4
|
*/
|
|
10
5
|
|
|
11
6
|
.crewlet-search-trigger {
|
|
@@ -27,16 +22,9 @@
|
|
|
27
22
|
}
|
|
28
23
|
|
|
29
24
|
/*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* names the pad (`--crewlet-rail-field-pad`), so its inset and the field's
|
|
34
|
-
* pad are one measure and the glyph lands on the nav's glyph column; outside
|
|
35
|
-
* that slot the field keeps the trigger's own pad.
|
|
36
|
-
*
|
|
37
|
-
* Its glyph-to-word gap is a nav row's (SidebarNav.css), two steps and a
|
|
38
|
-
* half, so its words start on the rows' word column too: on the trigger's
|
|
39
|
-
* two-step gap the placeholder stood 2px left of every nav label.
|
|
25
|
+
* The rail's field: the slot's width on the sheet's ground at the small control
|
|
26
|
+
* step. Its pad (`--crewlet-rail-field-pad`) and glyph gap match a nav row's,
|
|
27
|
+
* so its glyph and words line up with the nav's columns.
|
|
40
28
|
*/
|
|
41
29
|
.crewlet-search-trigger--rail {
|
|
42
30
|
display: flex;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../chunk-7U4V36SB.js';
|
|
2
|
-
export { SegmentedControl } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { SegmentedControl } from '../chunk-BGPHGCDT.js';
|
|
3
|
+
import '../chunk-AIQHJ2HF.js';
|
|
4
4
|
import '../chunk-7F3OPUM5.js';
|
|
5
5
|
import '../chunk-QRE6JCHS.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-WGAEHKGW.js';
|
|
7
7
|
import '../chunk-M2M6ZD7P.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
9
9
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -2,7 +2,7 @@ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../ch
|
|
|
2
2
|
import '../chunk-6ZFQ6TAM.js';
|
|
3
3
|
import '../chunk-VSD3536L.js';
|
|
4
4
|
import '../chunk-KW7T23RT.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-3T6URIXM.js';
|
|
6
6
|
import '../chunk-2MEBMWNO.js';
|
|
7
7
|
import '../chunk-STJ7QBC3.js';
|
|
8
8
|
import '../chunk-DTIW4CHZ.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-
|
|
1
|
+
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-CX4JXBS3.js';
|
|
2
2
|
import '../chunk-6ZFQ6TAM.js';
|
|
3
3
|
import '../chunk-FFMCMSJB.js';
|
|
4
4
|
import '../chunk-KW7T23RT.js';
|
|
5
5
|
import '../chunk-LFSIKGRQ.js';
|
|
6
6
|
import '../chunk-Z7JYG5TF.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-FIH5EMJF.js';
|
|
8
8
|
import '../chunk-AYKXMIOR.js';
|
|
9
9
|
import '../chunk-KFTVPWG2.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-BGPHGCDT.js';
|
|
11
|
+
import '../chunk-AIQHJ2HF.js';
|
|
12
12
|
import '../chunk-7F3OPUM5.js';
|
|
13
13
|
import '../chunk-QRE6JCHS.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-WGAEHKGW.js';
|
|
15
15
|
import '../chunk-NN44J7BP.js';
|
|
16
16
|
import '../chunk-NICEDVZM.js';
|
|
17
17
|
import '../chunk-JLKO7PSK.js';
|
package/dist/SheetGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-
|
|
1
|
+
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-SRPV3EAJ.js';
|
|
2
2
|
import '../chunk-FOUIZS7Q.js';
|
|
3
3
|
import '../chunk-CENOOTAV.js';
|
|
4
4
|
import '../chunk-MMCYH5LB.js';
|
|
@@ -10,7 +10,7 @@ import '../chunk-SJ3EUCFD.js';
|
|
|
10
10
|
import '../chunk-KDRJZWE3.js';
|
|
11
11
|
import '../chunk-AYKXMIOR.js';
|
|
12
12
|
import '../chunk-QRE6JCHS.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-WGAEHKGW.js';
|
|
14
14
|
import '../chunk-ARZGEHWE.js';
|
|
15
15
|
import '../chunk-XZY6S3UC.js';
|
|
16
16
|
import '../chunk-M2M6ZD7P.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { SlideFilmstrip } from '../chunk-
|
|
1
|
+
export { SlideFilmstrip } from '../chunk-JG66SXCX.js';
|
|
2
2
|
import '../chunk-7O53SWKI.js';
|
|
3
3
|
import '../chunk-JMBPMSNI.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-WGAEHKGW.js';
|
|
5
5
|
import '../chunk-SK4BIFTG.js';
|
|
6
6
|
import '../chunk-COS6LJ4K.js';
|
|
7
7
|
import '../chunk-VBBLHS2Y.js';
|
package/dist/TableCells/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-R4YUMULC.js';
|
|
2
|
+
import '../chunk-UTKI2SAM.js';
|
|
3
3
|
import '../chunk-SJ3EUCFD.js';
|
|
4
4
|
import '../chunk-GBKBME7Q.js';
|
|
5
5
|
import '../chunk-WGLOH33S.js';
|
package/dist/Tabs/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { TabPanel, Tabs, tabId } from '../chunk-
|
|
1
|
+
export { TabPanel, Tabs, tabId } from '../chunk-AIQHJ2HF.js';
|
|
2
2
|
import '../chunk-7F3OPUM5.js';
|
|
3
3
|
import '../chunk-QRE6JCHS.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-WGAEHKGW.js';
|
|
5
5
|
import '../chunk-M2M6ZD7P.js';
|
|
6
6
|
import '../chunk-XSPCITPN.js';
|
|
7
7
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { DensitySwitcher, ThemeSwitcher } from '../chunk-
|
|
1
|
+
export { DensitySwitcher, ThemeSwitcher } from '../chunk-JDRBZYIA.js';
|
|
2
2
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
3
3
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
4
4
|
import '../chunk-7U4V36SB.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-BGPHGCDT.js';
|
|
6
|
+
import '../chunk-AIQHJ2HF.js';
|
|
7
7
|
import '../chunk-7F3OPUM5.js';
|
|
8
8
|
import '../chunk-QRE6JCHS.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-WGAEHKGW.js';
|
|
10
10
|
import '../chunk-M2M6ZD7P.js';
|
|
11
11
|
import '../chunk-XSPCITPN.js';
|
|
12
12
|
import '../chunk-2YTOOH3A.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-
|
|
1
|
+
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-B5MCTPXL.js';
|
|
2
2
|
import '../chunk-VSD3536L.js';
|
|
3
3
|
import '../chunk-RCQLXOGS.js';
|
|
4
4
|
import '../chunk-7U4V36SB.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-BGPHGCDT.js';
|
|
6
|
+
import '../chunk-AIQHJ2HF.js';
|
|
7
7
|
import '../chunk-7F3OPUM5.js';
|
|
8
8
|
import '../chunk-QRE6JCHS.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-WGAEHKGW.js';
|
|
10
10
|
import '../chunk-NN44J7BP.js';
|
|
11
11
|
import '../chunk-NICEDVZM.js';
|
|
12
12
|
import '../chunk-JLKO7PSK.js';
|