@crewlethq/ui 0.130.0 → 0.130.2
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 +18 -0
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-S5FHXWNS.css → AppShell-N5IHITJM.css} +29 -0
- package/dist/ArtifactCard/ArtifactCard.d.ts +2 -2
- package/dist/ArtifactCard/index.js +1 -1
- package/dist/{ArtifactCard-B2QE5CVL.css → ArtifactCard-ZH6KCD5O.css} +16 -1
- package/dist/BrandSample/index.js +1 -1
- package/dist/{BrandSample-WCI3IS25.css → BrandSample-3OSKZAGG.css} +27 -6
- package/dist/Breadcrumb/Breadcrumb.d.ts +6 -5
- package/dist/Breadcrumb/index.js +1 -1
- package/dist/{Breadcrumb-SENMIAG2.css → Breadcrumb-MQJWJVN3.css} +24 -9
- package/dist/CodeBlock/index.js +2 -1
- package/dist/ColorSwatch/index.js +3 -2
- package/dist/ConfirmField/index.js +3 -2
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/Copyable/index.js +2 -1
- package/dist/{Copyable-P5AMRHFX.css → Copyable-XMLKKJDT.css} +13 -0
- package/dist/DataGrid/DataGrid.d.ts +26 -1
- package/dist/DataGrid/index.js +1 -1
- package/dist/DataView/index.js +1 -1
- package/dist/InlineCode/InlineCode.d.ts +14 -4
- package/dist/InlineCode/index.js +2 -1
- package/dist/{InlineCode-KQ5V6D6C.css → InlineCode-BEYQFJQT.css} +18 -2
- package/dist/LinkInterstitial/index.js +3 -2
- package/dist/LogoSlot/index.js +3 -3
- package/dist/OrgTable/index.js +3 -3
- package/dist/RichEditor/index.js +1 -1
- package/dist/ShareDialog/index.js +2 -1
- package/dist/TreeGrid/index.js +2 -2
- package/dist/{chunk-CPWSBK3F.js → chunk-2TZNTPF5.js} +70 -3
- package/dist/{chunk-OIC6S5ES.js → chunk-4Q7AWZ6O.js} +1 -1
- package/dist/{chunk-36XKE7MH.js → chunk-6POROC4M.js} +1 -1
- package/dist/{chunk-BODW4JH3.js → chunk-ECOWCJHQ.js} +1 -1
- package/dist/chunk-HZXS5CEL.js +17 -0
- package/dist/{chunk-SG2M6SBD.js → chunk-KMIS2R67.js} +1 -1
- package/dist/{chunk-Q6QKY7EZ.js → chunk-KQFOPY2P.js} +1 -1
- package/dist/{chunk-V47JOO72.js → chunk-M32NBSS7.js} +25 -5
- package/dist/{chunk-FO4OY4RV.js → chunk-MZV45HQB.js} +5 -2
- package/dist/{chunk-VCFV7FTE.js → chunk-NFA7CSCD.js} +1 -1
- package/dist/{chunk-XZB53C7U.js → chunk-OVFB63RZ.js} +2 -2
- package/dist/{chunk-IJCMOAM3.js → chunk-OWYIRWEX.js} +1 -1
- package/dist/{chunk-VIS6DKGQ.js → chunk-QFE6T6GW.js} +1 -1
- package/dist/{chunk-NKCLA6RG.js → chunk-QNDXLHBO.js} +30 -6
- package/dist/{chunk-LPQF7Z44.js → chunk-SIL5WE55.js} +1 -1
- package/dist/{chunk-PPGDH32L.js → chunk-XHNV272L.js} +5 -2
- package/dist/generated/index.js +39 -38
- package/dist/index.js +39 -38
- package/dist/styles.css +133 -24
- package/dist/utils/pathBreaks.d.ts +12 -0
- package/dist/utils/tableTrack.d.ts +12 -1
- package/package.json +3 -3
- package/dist/{Editor-2TWJE7OR.js → Editor-MEPTWBY5.js} +1 -1
- package/dist/{chunk-F7NHMBGJ.js → chunk-3YOLD7WG.js} +1 -1
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import './chunk-2KUAO2CX.js';
|
|
2
2
|
export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
|
|
3
|
-
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-Q4JX6UO7.js';
|
|
4
3
|
export { TypeSpecimen } from './chunk-JKAFEFFC.js';
|
|
5
4
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-QDXSBVZR.js';
|
|
6
5
|
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-3DAIOPAV.js';
|
|
7
6
|
export { VersionTimeline } from './chunk-RM5RKPFV.js';
|
|
8
7
|
export { WidgetFrame } from './chunk-5ZTH54O6.js';
|
|
9
|
-
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
10
8
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-3P24SMTI.js';
|
|
11
9
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-GQPKDPMS.js';
|
|
12
10
|
export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-B6AQY6FH.js';
|
|
13
|
-
export {
|
|
11
|
+
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-Q4JX6UO7.js';
|
|
14
12
|
export { ThemeGallery } from './chunk-35ALKQC5.js';
|
|
13
|
+
export { ThemeSwatch } from './chunk-3XQUEF5C.js';
|
|
15
14
|
export { DensitySwitcher, ThemeSwitcher } from './chunk-AIYSPVVZ.js';
|
|
16
15
|
export { ThemeToggle } from './chunk-5RXY2RL4.js';
|
|
17
16
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
|
|
18
|
-
export { ThemeSwatch } from './chunk-3XQUEF5C.js';
|
|
19
17
|
export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
20
18
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-U4HA6LRQ.js';
|
|
19
|
+
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
21
20
|
export { Switcher } from './chunk-GPEXCG5K.js';
|
|
22
21
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-JKFA2F7J.js';
|
|
22
|
+
export { TagsInput } from './chunk-A5VNNA3V.js';
|
|
23
23
|
export { StatCard } from './chunk-2YADDY4A.js';
|
|
24
24
|
export { StatGroup } from './chunk-OUD75UB2.js';
|
|
25
25
|
export { Statement } from './chunk-MZJKPTA5.js';
|
|
@@ -42,17 +42,17 @@ export { SelectionBar } from './chunk-XIKU44QE.js';
|
|
|
42
42
|
export { SEND_BUTTON_LABELS, SendButton } from './chunk-PNSUXNNY.js';
|
|
43
43
|
export { SettingsTable, SettingsTableRow } from './chunk-FRXOUBN2.js';
|
|
44
44
|
export { ReviewList } from './chunk-7XYU5PSQ.js';
|
|
45
|
+
export { RichEditor, preloadRichEditor } from './chunk-KQFOPY2P.js';
|
|
46
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
45
47
|
export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
|
|
46
48
|
import './chunk-7CSTEH5I.js';
|
|
47
|
-
export { RichEditor, preloadRichEditor } from './chunk-Q6QKY7EZ.js';
|
|
48
|
-
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
49
49
|
export { RoomRow } from './chunk-45OOFAL6.js';
|
|
50
50
|
export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
|
|
51
51
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-4EKHHHOQ.js';
|
|
52
52
|
export { SearchTrigger } from './chunk-K5WTII2H.js';
|
|
53
53
|
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
|
|
54
|
-
export { RecordChip, RecordChipList } from './chunk-GMQ54OQF.js';
|
|
55
54
|
export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-XKHW7ZHP.js';
|
|
55
|
+
export { RecordChip, RecordChipList } from './chunk-GMQ54OQF.js';
|
|
56
56
|
export { RelatedRow } from './chunk-XX7UCYDH.js';
|
|
57
57
|
export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-GCE475FL.js';
|
|
58
58
|
export { Table } from './chunk-YGN4SBNP.js';
|
|
@@ -61,19 +61,19 @@ export { PropertyList } from './chunk-D2KJ5GQC.js';
|
|
|
61
61
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-JDWMDK5A.js';
|
|
62
62
|
export { Prose } from './chunk-DVVP27OD.js';
|
|
63
63
|
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
|
|
64
|
+
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-LZCGLS7U.js';
|
|
64
65
|
export { RAIL_LIST_LABELS, RailList } from './chunk-32QLSXKL.js';
|
|
65
66
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-SM2MM4DQ.js';
|
|
66
67
|
export { Select } from './chunk-6ZFQ6TAM.js';
|
|
67
|
-
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-LZCGLS7U.js';
|
|
68
68
|
export { PinTile } from './chunk-7XRAYILF.js';
|
|
69
|
+
export { PresenceStack } from './chunk-MTIW75QU.js';
|
|
69
70
|
export { PresenterView, formatStopwatch } from './chunk-HERJFKPF.js';
|
|
70
71
|
export { SLIDE_NAV_LABELS, SlideNav } from './chunk-MZNOVME7.js';
|
|
71
72
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
|
|
72
73
|
export { PricingCard } from './chunk-O2XAJDK6.js';
|
|
73
|
-
export { PresenceStack } from './chunk-MTIW75QU.js';
|
|
74
74
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-6BTQVM6O.js';
|
|
75
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-
|
|
76
|
-
export { TreeGrid } from './chunk-
|
|
75
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-NFA7CSCD.js';
|
|
76
|
+
export { TreeGrid } from './chunk-QFE6T6GW.js';
|
|
77
77
|
export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
|
|
78
78
|
export { PageNote } from './chunk-CV4NES3P.js';
|
|
79
79
|
export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from './chunk-RFNPJDNS.js';
|
|
@@ -89,20 +89,20 @@ export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-GTS35
|
|
|
89
89
|
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
90
90
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
|
|
91
91
|
export { PersonRow } from './chunk-42I2VSZZ.js';
|
|
92
|
-
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-H2QSDZTX.js';
|
|
93
92
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-NHCY563I.js';
|
|
93
|
+
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-H2QSDZTX.js';
|
|
94
94
|
export { ListDetail, ListDetailBack } from './chunk-DNBIBLT2.js';
|
|
95
95
|
export { ListInput, withDraft } from './chunk-Z64KEJ3N.js';
|
|
96
|
-
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
|
|
97
96
|
export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from './chunk-CQFQGAZI.js';
|
|
98
|
-
export {
|
|
97
|
+
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
|
|
98
|
+
export { LogoSlot, LogoSlotGroup } from './chunk-4Q7AWZ6O.js';
|
|
99
99
|
export { KeyValueRows, keyValueRowsLabels } from './chunk-Q7WKCU2U.js';
|
|
100
100
|
export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
|
|
101
101
|
export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
102
102
|
export { Link } from './chunk-RMGPZQVJ.js';
|
|
103
103
|
export { LinkCard } from './chunk-346EXHOR.js';
|
|
104
104
|
import './chunk-KOJPDCGQ.js';
|
|
105
|
-
export { LinkInterstitial, openExternal } from './chunk-
|
|
105
|
+
export { LinkInterstitial, openExternal } from './chunk-6POROC4M.js';
|
|
106
106
|
export { List, ListItem } from './chunk-GAQU5V5R.js';
|
|
107
107
|
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-UMEK5DHS.js';
|
|
108
108
|
export { IndicatorAnchor } from './chunk-27MJPU7G.js';
|
|
@@ -138,10 +138,10 @@ export { DockColumn } from './chunk-UXTW4GOT.js';
|
|
|
138
138
|
export { DownloadButton } from './chunk-GCRACVZO.js';
|
|
139
139
|
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
|
|
140
140
|
export { EditingStatus } from './chunk-KRF3GQ63.js';
|
|
141
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
|
|
142
141
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-3DGNF2EH.js';
|
|
143
142
|
export { PageHeader } from './chunk-FPDIHEM4.js';
|
|
144
143
|
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-E4QX4VET.js';
|
|
144
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
|
|
145
145
|
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-AQZPZYSY.js';
|
|
146
146
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-JLOZE7QG.js';
|
|
147
147
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-EHD4CEHK.js';
|
|
@@ -151,13 +151,13 @@ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-GTNXDLYH.js';
|
|
|
151
151
|
export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
152
152
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-U3LHWQQK.js';
|
|
153
153
|
export { Container } from './chunk-HJO4WCH6.js';
|
|
154
|
-
export { ContrastHelp } from './chunk-
|
|
155
|
-
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-
|
|
154
|
+
export { ContrastHelp } from './chunk-SIL5WE55.js';
|
|
155
|
+
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-3YOLD7WG.js';
|
|
156
156
|
export { CursorFlag } from './chunk-MMCYH5LB.js';
|
|
157
157
|
export { PresenceRing, presenceHueClass } from './chunk-EFX2YC5T.js';
|
|
158
|
-
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-
|
|
158
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-2TZNTPF5.js';
|
|
159
159
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-Y7FPSBCN.js';
|
|
160
|
-
export { ColorSwatch } from './chunk-
|
|
160
|
+
export { ColorSwatch } from './chunk-KMIS2R67.js';
|
|
161
161
|
export { Combobox } from './chunk-WUJ54OTI.js';
|
|
162
162
|
export { CommandPalette } from './chunk-XYZA7OSE.js';
|
|
163
163
|
export { ConfirmModal, Modal } from './chunk-VSD3536L.js';
|
|
@@ -165,38 +165,46 @@ export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, use
|
|
|
165
165
|
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-WLCPN22T.js';
|
|
166
166
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-QFI5C4YF.js';
|
|
167
167
|
export { LockedLabel } from './chunk-TODOBUXO.js';
|
|
168
|
-
export { ConfirmField, confirmMatches } from './chunk-
|
|
169
|
-
export { InlineCode } from './chunk-
|
|
168
|
+
export { ConfirmField, confirmMatches } from './chunk-ECOWCJHQ.js';
|
|
169
|
+
export { InlineCode } from './chunk-XHNV272L.js';
|
|
170
170
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-DM3BTGBZ.js';
|
|
171
171
|
export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
|
|
172
172
|
export { ChoiceButtons } from './chunk-AHW3K3SH.js';
|
|
173
173
|
export { ChoiceCards } from './chunk-FHPHRIPO.js';
|
|
174
174
|
export { ChoiceList } from './chunk-XU7RQNT6.js';
|
|
175
175
|
export { CLAMP_LABELS, Clamp } from './chunk-IZGB6SQE.js';
|
|
176
|
-
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
177
176
|
export { CodeBlock } from './chunk-FPCTHIV6.js';
|
|
178
|
-
export { Copyable } from './chunk-
|
|
177
|
+
export { Copyable } from './chunk-MZV45HQB.js';
|
|
179
178
|
export { CopyButton } from './chunk-2MEBMWNO.js';
|
|
180
179
|
export { useClipboard, writeClipboard } from './chunk-STJ7QBC3.js';
|
|
181
180
|
export { useOutcome } from './chunk-DTIW4CHZ.js';
|
|
181
|
+
import './chunk-HZXS5CEL.js';
|
|
182
|
+
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
182
183
|
export { ColorField } from './chunk-UQA7SV3B.js';
|
|
183
184
|
import './chunk-3L5NHASN.js';
|
|
184
185
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from './chunk-TQ6ZPQI4.js';
|
|
185
186
|
export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
|
|
186
187
|
export { ChatDivider } from './chunk-EI242VTX.js';
|
|
187
|
-
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
|
|
188
188
|
import './chunk-5QJNA7KD.js';
|
|
189
|
+
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
|
|
189
190
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-Y3EV3Q2U.js';
|
|
190
191
|
export { CheckGrid } from './chunk-AYLFZW27.js';
|
|
192
|
+
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-QM2QFKIA.js';
|
|
193
|
+
export { Note } from './chunk-YJPQJVRJ.js';
|
|
191
194
|
export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
|
|
195
|
+
export { CanvasToolbar, toolForKey } from './chunk-AKCIF6XN.js';
|
|
196
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
192
197
|
export { CatalogTile } from './chunk-JKEGFDBG.js';
|
|
193
198
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-NB53SAL4.js';
|
|
194
199
|
export { DIFF_LIST_LABELS, DiffList } from './chunk-RGJB34YN.js';
|
|
195
200
|
export { ChangeMark } from './chunk-TYQJRTTK.js';
|
|
196
201
|
export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_BOUNDS, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, SHEET_FIT_SAMPLES, SHEET_LABELS, SHEET_ROW_HEIGHT, SHEET_ROW_NUMBER_WIDTH, SheetPendingEdits, TEXT_MAX_DEFAULT, URL_MAX, cellDescription, cellKey, cellSpeech, changeText, changeTime, checkValue, columnOffsets, columnWidth, compareValues, displayText, drawnColumns, editText, editorSide, findOption, findPerson, fitSamples, fittedWidth, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, retypeColumn, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from './chunk-LFSIKGRQ.js';
|
|
197
202
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from './chunk-Z7JYG5TF.js';
|
|
198
|
-
export {
|
|
199
|
-
export {
|
|
203
|
+
export { BrandSample } from './chunk-OWYIRWEX.js';
|
|
204
|
+
export { BrandScope, brandScopeInputs } from './chunk-X7WEE3EK.js';
|
|
205
|
+
import './chunk-5SGHW42B.js';
|
|
206
|
+
import './chunk-7W3LYIOC.js';
|
|
207
|
+
export { Breadcrumb } from './chunk-QNDXLHBO.js';
|
|
200
208
|
export { KeyChip } from './chunk-HBDA76EZ.js';
|
|
201
209
|
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from './chunk-K6YVJS5T.js';
|
|
202
210
|
export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
|
|
@@ -204,12 +212,9 @@ import './chunk-6C7GQOBV.js';
|
|
|
204
212
|
export { StatusCard } from './chunk-X227R7IP.js';
|
|
205
213
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
|
|
206
214
|
export { Callout } from './chunk-RCQLXOGS.js';
|
|
207
|
-
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from './chunk-QM2QFKIA.js';
|
|
208
|
-
export { Note } from './chunk-YJPQJVRJ.js';
|
|
209
|
-
export { CanvasToolbar, toolForKey } from './chunk-AKCIF6XN.js';
|
|
210
|
-
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
211
215
|
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from './chunk-MNVIIZQP.js';
|
|
212
216
|
import './chunk-X4HBZSXA.js';
|
|
217
|
+
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
|
|
213
218
|
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-GZSEIFWB.js';
|
|
214
219
|
export { Tag } from './chunk-SJ3EUCFD.js';
|
|
215
220
|
export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-NKB2ORTZ.js';
|
|
@@ -220,12 +225,8 @@ export { Popover } from './chunk-KDRJZWE3.js';
|
|
|
220
225
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from './chunk-ZIL6MTMZ.js';
|
|
221
226
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from './chunk-AYKXMIOR.js';
|
|
222
227
|
export { BrandChip } from './chunk-UH44L7OJ.js';
|
|
223
|
-
export { BrandSample } from './chunk-IJCMOAM3.js';
|
|
224
|
-
export { BrandScope, brandScopeInputs } from './chunk-X7WEE3EK.js';
|
|
225
|
-
import './chunk-5SGHW42B.js';
|
|
226
|
-
import './chunk-7W3LYIOC.js';
|
|
227
228
|
export { BrandLockup } from './chunk-KXWJJWBD.js';
|
|
228
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-
|
|
229
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-OVFB63RZ.js';
|
|
229
230
|
export { Skeleton } from './chunk-WFAJYBLX.js';
|
|
230
231
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
231
232
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from './chunk-GBKBME7Q.js';
|
|
@@ -238,8 +239,8 @@ export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetC
|
|
|
238
239
|
export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js';
|
|
239
240
|
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
|
|
240
241
|
export { ArtifactMakeRow } from './chunk-A3SQWUWG.js';
|
|
241
|
-
export {
|
|
242
|
-
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-
|
|
242
|
+
export { ArtifactNameCell } from './chunk-3SCASXQH.js';
|
|
243
|
+
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-M32NBSS7.js';
|
|
243
244
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
|
|
244
245
|
import './chunk-JLOESTT2.js';
|
|
245
246
|
export { ArrangeBoard } from './chunk-QO7QEQKV.js';
|
package/dist/styles.css
CHANGED
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
|
|
944
|
-
/* AppShell-
|
|
944
|
+
/* AppShell-N5IHITJM.css */
|
|
945
945
|
/*
|
|
946
946
|
* The application frame: a rail on the FRAME, and the screen on a SHEET that
|
|
947
947
|
* floats beside it.
|
|
@@ -1148,10 +1148,31 @@
|
|
|
1148
1148
|
padding-top: var(--size-shell-inset);
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
|
+
/*
|
|
1152
|
+
* THE MIDDLE IS THE RAIL'S SCROLLER, and it KEEPS ITS WIDTH WHEN IT SCROLLS.
|
|
1153
|
+
* It reserved nothing, so when what it holds (a long group of running work)
|
|
1154
|
+
* grew past the window, the scrollbar took its width out of the content: the
|
|
1155
|
+
* field and every row ended a bar's width earlier, and the field's words were
|
|
1156
|
+
* cut beside its shortcut. It reserves the bar's gutter at every height, and
|
|
1157
|
+
* what stands in it (the field and the nav) gives exactly that width back from
|
|
1158
|
+
* its end inset (`--crewlet-rail-body-end`, the nav's gutter less the bar), so
|
|
1159
|
+
* the field and the rows stand where they stood before, scrolling or not.
|
|
1160
|
+
*
|
|
1161
|
+
* The bar's width is the middle's own (`--crewlet-rail-scrollbar`, measured by
|
|
1162
|
+
* `AppShell.Rail`, 0 where scrollbars overlay the content), not the screen's
|
|
1163
|
+
* gutter, which is 0 beside a flush screen while the middle still reserves its
|
|
1164
|
+
* bar. A bar wider than the gutter gives back what the gutter has.
|
|
1165
|
+
*/
|
|
1151
1166
|
.crewlet-app-shell__rail-body {
|
|
1167
|
+
--crewlet-rail-body-end: max(0px, calc(var(--size-nav-gutter) - var(--crewlet-rail-scrollbar, 0px)));
|
|
1152
1168
|
flex: 1 1 auto;
|
|
1153
1169
|
min-height: 0;
|
|
1154
1170
|
overflow-y: auto;
|
|
1171
|
+
scrollbar-gutter: stable;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.crewlet-app-shell__rail-body .crewlet-sidebar-nav {
|
|
1175
|
+
padding-inline-end: var(--crewlet-rail-body-end);
|
|
1155
1176
|
}
|
|
1156
1177
|
|
|
1157
1178
|
/* The rail's bar, only where `::-webkit-scrollbar` is not read: set where it
|
|
@@ -1254,6 +1275,10 @@
|
|
|
1254
1275
|
.crewlet-app-shell__rail-search {
|
|
1255
1276
|
--crewlet-rail-field-pad: calc(var(--size-nav-row-pad) - 1px);
|
|
1256
1277
|
padding: 0 calc(var(--size-nav-gutter) + var(--size-nav-row-pad) - var(--crewlet-rail-field-pad) - 1px);
|
|
1278
|
+
/* The end gives the middle's scrollbar back, as the nav's does (above). */
|
|
1279
|
+
padding-inline-end: calc(
|
|
1280
|
+
var(--crewlet-rail-body-end) + var(--size-nav-row-pad) - var(--crewlet-rail-field-pad) - 1px
|
|
1281
|
+
);
|
|
1257
1282
|
}
|
|
1258
1283
|
|
|
1259
1284
|
/* The same gutter the nav takes, so what the foot says lines up with the rows
|
|
@@ -1990,8 +2015,12 @@
|
|
|
1990
2015
|
margin: 0;
|
|
1991
2016
|
}
|
|
1992
2017
|
|
|
2018
|
+
/* The compact column reserves no gutter, so its tiles stay centred in it, and
|
|
2019
|
+
gives none back. */
|
|
1993
2020
|
.crewlet-app-shell[data-rail='compact'] .crewlet-app-shell__rail-body {
|
|
2021
|
+
--crewlet-rail-body-end: var(--size-nav-gutter);
|
|
1994
2022
|
padding: var(--spacing-1) 0;
|
|
2023
|
+
scrollbar-gutter: auto;
|
|
1995
2024
|
}
|
|
1996
2025
|
|
|
1997
2026
|
/*
|
|
@@ -3773,7 +3802,7 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
3773
3802
|
}
|
|
3774
3803
|
|
|
3775
3804
|
|
|
3776
|
-
/* ArtifactCard-
|
|
3805
|
+
/* ArtifactCard-ZH6KCD5O.css */
|
|
3777
3806
|
/*
|
|
3778
3807
|
* A card in a gallery: the preview on top at a fixed ratio, so a grid of them
|
|
3779
3808
|
* lines up whatever each preview is, the kind's badge over its foot, then the
|
|
@@ -4047,10 +4076,25 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
4047
4076
|
white-space: nowrap;
|
|
4048
4077
|
}
|
|
4049
4078
|
|
|
4079
|
+
/* WHO CAN OPEN IT: the glyph and its word. The word gives way before the
|
|
4080
|
+
time does, cut with an ellipsis (its whole word on hover, the span's
|
|
4081
|
+
title); the glyph never does. */
|
|
4050
4082
|
.crewlet-artifact-card__access {
|
|
4051
4083
|
display: inline-flex;
|
|
4052
|
-
flex:
|
|
4084
|
+
flex: 0 1 auto;
|
|
4053
4085
|
align-items: center;
|
|
4086
|
+
gap: var(--spacing-1);
|
|
4087
|
+
min-width: 0;
|
|
4088
|
+
}
|
|
4089
|
+
|
|
4090
|
+
.crewlet-artifact-card__access > svg {
|
|
4091
|
+
flex: none;
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
.crewlet-artifact-card__access-word {
|
|
4095
|
+
min-width: 0;
|
|
4096
|
+
overflow: hidden;
|
|
4097
|
+
text-overflow: ellipsis;
|
|
4054
4098
|
}
|
|
4055
4099
|
|
|
4056
4100
|
.crewlet-artifact-card__meta > .crewlet-artifact-card__owner {
|
|
@@ -6212,12 +6256,23 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6212
6256
|
}
|
|
6213
6257
|
|
|
6214
6258
|
|
|
6215
|
-
/* BrandSample-
|
|
6259
|
+
/* BrandSample-3OSKZAGG.css */
|
|
6216
6260
|
/*
|
|
6217
6261
|
* A company's brand, drawn: a doc's opening or a title slide, in a 16:9 frame
|
|
6218
6262
|
* that sets every length against its own width, so one drawing reads at a
|
|
6219
6263
|
* gallery cover's size and at a preview's.
|
|
6220
6264
|
*
|
|
6265
|
+
* ITS SMALL WORDS KEEP A LEGIBLE FLOOR (`--crewlet-brand-sample-floor`). Set
|
|
6266
|
+
* in proportion alone, the doc's sentence and its quiet line measured 8px and
|
|
6267
|
+
* 6px in a 285px preview (a setup wizard's aside), a texture where the reader
|
|
6268
|
+
* was asked to judge the brand's text. Each small run is drawn at its share of
|
|
6269
|
+
* the width or at the product's own small step, whichever is larger; and the
|
|
6270
|
+
* step itself is capped at a share of the width the frame can still hold
|
|
6271
|
+
* (4.3cqi: two lines of the sentence and the quiet line fit the 16:9 height
|
|
6272
|
+
* under the heading at any width), so a thumbnail stays whole rather than
|
|
6273
|
+
* clipping its last line. Past about 430px the share is the larger and the
|
|
6274
|
+
* drawing is in proportion again.
|
|
6275
|
+
*
|
|
6221
6276
|
* It paints with the public tokens, which the sample's BrandScope (pinned to
|
|
6222
6277
|
* the sample's mode) sets from the brand through the artifact kit's own
|
|
6223
6278
|
* mapping: the ground, the text, the accent, the highlight and the two faces,
|
|
@@ -6228,6 +6283,9 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6228
6283
|
that clips its own corners sets it to its own. */
|
|
6229
6284
|
--crewlet-brand-sample-radius: var(--radius-lg);
|
|
6230
6285
|
|
|
6286
|
+
/* The most of the width a small run's floor may take: see the head. */
|
|
6287
|
+
--crewlet-brand-sample-floor: 4.3cqi;
|
|
6288
|
+
|
|
6231
6289
|
/* THE SAMPLE IS ITS OWN CONTAINER, so `cqi` inside it is its own width. */
|
|
6232
6290
|
container-type: inline-size;
|
|
6233
6291
|
position: relative;
|
|
@@ -6286,7 +6344,7 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6286
6344
|
.crewlet-brand-sample__wordmark {
|
|
6287
6345
|
overflow: hidden;
|
|
6288
6346
|
font-family: var(--font-family-display);
|
|
6289
|
-
font-size: 3.4cqi;
|
|
6347
|
+
font-size: max(3.4cqi, min(var(--font-size-xs), var(--crewlet-brand-sample-floor)));
|
|
6290
6348
|
font-weight: var(--font-weight-semibold);
|
|
6291
6349
|
text-overflow: ellipsis;
|
|
6292
6350
|
white-space: nowrap;
|
|
@@ -6315,13 +6373,20 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6315
6373
|
|
|
6316
6374
|
.crewlet-brand-sample__body {
|
|
6317
6375
|
max-width: 82%;
|
|
6318
|
-
font-size: 2.8cqi;
|
|
6376
|
+
font-size: max(2.8cqi, min(var(--font-size-xs), var(--crewlet-brand-sample-floor)));
|
|
6319
6377
|
line-height: var(--font-line-height-normal);
|
|
6320
6378
|
}
|
|
6321
6379
|
|
|
6322
|
-
/*
|
|
6380
|
+
/*
|
|
6381
|
+
* A LINK, DRAWN: the accent's ink and its underline, and nothing to follow.
|
|
6382
|
+
* THE INK, NOT THE ACCENT: the accent is a fill colour, and drawn as words the
|
|
6383
|
+
* product's own read 4.38:1 on the light ground, a light brand colour far
|
|
6384
|
+
* less. The ink is the mapping's accent written as text, which clears 4.5:1
|
|
6385
|
+
* on the mode's ground whatever the brand's colour (@crewlethq/tokens'
|
|
6386
|
+
* `css/brand`).
|
|
6387
|
+
*/
|
|
6323
6388
|
.crewlet-brand-sample__link {
|
|
6324
|
-
color: var(--color-brand-accent);
|
|
6389
|
+
color: var(--color-brand-accent-ink);
|
|
6325
6390
|
text-decoration: underline;
|
|
6326
6391
|
text-decoration-thickness: 0.2cqi;
|
|
6327
6392
|
text-underline-offset: 0.5cqi;
|
|
@@ -6330,7 +6395,7 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6330
6395
|
.crewlet-brand-sample__byline {
|
|
6331
6396
|
margin-top: auto;
|
|
6332
6397
|
color: var(--color-text-tertiary);
|
|
6333
|
-
font-size: 2.2cqi;
|
|
6398
|
+
font-size: max(2.2cqi, min(var(--font-size-2xs), var(--crewlet-brand-sample-floor)));
|
|
6334
6399
|
}
|
|
6335
6400
|
|
|
6336
6401
|
/* ---- the title slide ---- */
|
|
@@ -6395,7 +6460,7 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6395
6460
|
margin-top: 3cqi;
|
|
6396
6461
|
overflow: hidden;
|
|
6397
6462
|
color: var(--color-text-tertiary);
|
|
6398
|
-
font-size: 2cqi;
|
|
6463
|
+
font-size: max(2cqi, min(var(--font-size-2xs), var(--crewlet-brand-sample-floor)));
|
|
6399
6464
|
letter-spacing: var(--font-letter-spacing-wide);
|
|
6400
6465
|
text-overflow: ellipsis;
|
|
6401
6466
|
text-transform: uppercase;
|
|
@@ -6435,7 +6500,7 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6435
6500
|
}
|
|
6436
6501
|
|
|
6437
6502
|
|
|
6438
|
-
/* Breadcrumb-
|
|
6503
|
+
/* Breadcrumb-MQJWJVN3.css */
|
|
6439
6504
|
/*
|
|
6440
6505
|
* The trail in a top bar.
|
|
6441
6506
|
*
|
|
@@ -6446,8 +6511,8 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6446
6511
|
* `flex-shrink: 100` puts it ahead of anything else on the bar that can give.
|
|
6447
6512
|
*
|
|
6448
6513
|
* ITS FLOOR IS THE WAY BACK OUT, measured by the component
|
|
6449
|
-
* (`--crewlet-breadcrumb-floor`):
|
|
6450
|
-
* crumb's stub, at least 20ch, and never more than the whole bar. A fixed 20ch
|
|
6514
|
+
* (`--crewlet-breadcrumb-floor`): each ancestor at what it keeps of its words
|
|
6515
|
+
* and the last crumb's stub, at least 20ch, and never more than the whole bar. A fixed 20ch
|
|
6451
6516
|
* alone let a seat's trail share a phone's line with its one button and cut
|
|
6452
6517
|
* "Engineering · Co" mid-letter under it; measured, a trail that cannot show
|
|
6453
6518
|
* its ancestry beside the controls makes the bar break a line instead.
|
|
@@ -6501,16 +6566,24 @@ button.crewlet-avatar-picker:hover .crewlet-avatar-picker__pip {
|
|
|
6501
6566
|
/*
|
|
6502
6567
|
* THE OBJECT'S OWN NAME TAKES THE CUT, never the way back out. The reader
|
|
6503
6568
|
* knows which object they are on, because the page below says so; what they
|
|
6504
|
-
* cannot reconstruct is the links out of it. So
|
|
6505
|
-
*
|
|
6569
|
+
* cannot reconstruct is the links out of it. So an ancestor keeps a readable
|
|
6570
|
+
* minimum of its words while the page's own name gives way to its stub.
|
|
6506
6571
|
*/
|
|
6507
6572
|
/* EVERY CRUMB GIVES WAY, in proportion to its length: the page down to a
|
|
6508
|
-
floor of 24ch and each ancestor to
|
|
6509
|
-
titled on hover. Kept whole, one long parent cut the page
|
|
6510
|
-
at 1440 and pushed it off a phone.
|
|
6573
|
+
floor of 24ch and each ancestor to what it keeps of its words, each cut with
|
|
6574
|
+
an ellipsis and titled on hover. Kept whole, one long parent cut the page
|
|
6575
|
+
itself to "Pri..." at 1440 and pushed it off a phone.
|
|
6576
|
+
|
|
6577
|
+
AN ANCESTOR KEEPS A READABLE MINIMUM (`--crewlet-breadcrumb-keep`): its
|
|
6578
|
+
first twenty characters, or all of them where it has fewer, measured by the
|
|
6579
|
+
component (Breadcrumb.tsx, `KEEP_CHARACTERS`), and counted in the trail's
|
|
6580
|
+
floor, so a bar too busy to hold them breaks a line rather than cutting the
|
|
6581
|
+
way back out. A stub of 2ch beside a busy page bar read "D..." and "Product
|
|
6582
|
+
Man...", and nothing at all where the crumb leads with a glyph. Until it is
|
|
6583
|
+
measured, and on a phone (below), the stub is 2ch. */
|
|
6511
6584
|
.crewlet-breadcrumb__part:not(:last-child) {
|
|
6512
6585
|
flex: 0 1 auto;
|
|
6513
|
-
min-width: 2ch;
|
|
6586
|
+
min-width: var(--crewlet-breadcrumb-keep, 2ch);
|
|
6514
6587
|
}
|
|
6515
6588
|
|
|
6516
6589
|
.crewlet-breadcrumb__part:last-child {
|
|
@@ -6617,7 +6690,7 @@ a.crewlet-breadcrumb__crumb:focus-visible {
|
|
|
6617
6690
|
/*
|
|
6618
6691
|
* AND IT NEVER COLLAPSES TO NOTHING: a floor of a few characters keeps an
|
|
6619
6692
|
* ellipsised stub, which is what tells a reader the trail has a last part at
|
|
6620
|
-
* all.
|
|
6693
|
+
* all. This stub is the last part's; an ancestor keeps its own minimum.
|
|
6621
6694
|
*/
|
|
6622
6695
|
.crewlet-breadcrumb__part:last-child > .crewlet-breadcrumb__here {
|
|
6623
6696
|
min-width: 24ch;
|
|
@@ -6646,6 +6719,13 @@ a.crewlet-breadcrumb__crumb:focus-visible {
|
|
|
6646
6719
|
* the crumb is still named.
|
|
6647
6720
|
*/
|
|
6648
6721
|
@media (width < 640px) {
|
|
6722
|
+
/* ON A PHONE AN ANCESTOR GIVES WAY TO ITS STUB: the trail shares its line
|
|
6723
|
+
with the drawer toggle and nothing else, and an ancestry kept at twenty
|
|
6724
|
+
characters a crumb would push the page itself off the screen. */
|
|
6725
|
+
.crewlet-breadcrumb__part:not(:last-child) {
|
|
6726
|
+
min-width: 2ch;
|
|
6727
|
+
}
|
|
6728
|
+
|
|
6649
6729
|
.crewlet-breadcrumb__part:not(:last-child) > .crewlet-breadcrumb__crumb:has(> .crewlet-breadcrumb__icon) > .crewlet-breadcrumb__text {
|
|
6650
6730
|
position: absolute;
|
|
6651
6731
|
width: 1px;
|
|
@@ -15415,7 +15495,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15415
15495
|
}
|
|
15416
15496
|
|
|
15417
15497
|
|
|
15418
|
-
/* Copyable-
|
|
15498
|
+
/* Copyable-XMLKKJDT.css */
|
|
15419
15499
|
/*
|
|
15420
15500
|
* Copyable: a value and the one control that copies it.
|
|
15421
15501
|
*
|
|
@@ -15545,6 +15625,19 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
15545
15625
|
flex: 1;
|
|
15546
15626
|
}
|
|
15547
15627
|
|
|
15628
|
+
/*
|
|
15629
|
+
* A PATH OR AN ADDRESS BREAKS AT ITS SEPARATORS: the component offers a break
|
|
15630
|
+
* after every `/`, and `overflow-wrap: anywhere` above is the last resort for
|
|
15631
|
+
* a run between them no line can hold. AN OPAQUE VALUE (a token, an id, a key:
|
|
15632
|
+
* one run with no space and no `/`) means nothing in its pieces, so it breaks
|
|
15633
|
+
* at any character and fills each line; left to the line breaker it broke
|
|
15634
|
+
* after a hyphen, and a token read "cwl_pat_01a1dc5f-3ec7-7cf4-a60d-" over a
|
|
15635
|
+
* ragged first line, as if it ended there.
|
|
15636
|
+
*/
|
|
15637
|
+
.crewlet-copyable--opaque .crewlet-copyable__value {
|
|
15638
|
+
word-break: break-all;
|
|
15639
|
+
}
|
|
15640
|
+
|
|
15548
15641
|
/* A panel's control is always drawn: there is nothing else in the panel. */
|
|
15549
15642
|
.crewlet-copyable--block .crewlet-copyable__button {
|
|
15550
15643
|
opacity: 1;
|
|
@@ -25608,7 +25701,7 @@ a.crewlet-icon-btn {
|
|
|
25608
25701
|
}
|
|
25609
25702
|
|
|
25610
25703
|
|
|
25611
|
-
/* InlineCode-
|
|
25704
|
+
/* InlineCode-BEYQFJQT.css */
|
|
25612
25705
|
/*
|
|
25613
25706
|
* One identifier inside a sentence: a mono chip on the inset surface.
|
|
25614
25707
|
*
|
|
@@ -25635,8 +25728,10 @@ a.crewlet-icon-btn {
|
|
|
25635
25728
|
border-radius: var(--radius-xs);
|
|
25636
25729
|
padding: 1px var(--spacing-1);
|
|
25637
25730
|
color: var(--color-text-secondary);
|
|
25638
|
-
/* A URL IS ONE UNBREAKABLE WORD to a line breaker.
|
|
25639
|
-
|
|
25731
|
+
/* A URL IS ONE UNBREAKABLE WORD to a line breaker. The component offers a
|
|
25732
|
+
break after every `/` (`pathBreaks`); this is the last resort, for one run
|
|
25733
|
+
between them that no line can hold, which would otherwise push the chip
|
|
25734
|
+
past its box. */
|
|
25640
25735
|
overflow-wrap: anywhere;
|
|
25641
25736
|
/* SLICED where it breaks, not cloned: a browser leaves a cloned inset out of
|
|
25642
25737
|
line breaking, so each broken line ran up to the inset past its box. */
|
|
@@ -25672,6 +25767,20 @@ a.crewlet-icon-btn {
|
|
|
25672
25767
|
color: inherit;
|
|
25673
25768
|
}
|
|
25674
25769
|
|
|
25770
|
+
/*
|
|
25771
|
+
* THE GROUND HUGS THE PUNCTUATION AROUND IT. The inset either side of the
|
|
25772
|
+
* words is what reads as a space between "set" and its full stop: "crewlet
|
|
25773
|
+
* secrets set ." Beside a mark the caller handed over (`open`, `close`) the
|
|
25774
|
+
* ground keeps a hair of it, so the mark sits where it would after a word.
|
|
25775
|
+
*/
|
|
25776
|
+
.crewlet-inline-code--opened {
|
|
25777
|
+
padding-inline-start: 1px;
|
|
25778
|
+
}
|
|
25779
|
+
|
|
25780
|
+
.crewlet-inline-code--closed {
|
|
25781
|
+
padding-inline-end: 1px;
|
|
25782
|
+
}
|
|
25783
|
+
|
|
25675
25784
|
/* A whole chip and the punctuation around it are one atomic box, so a line
|
|
25676
25785
|
never breaks between "(" and the chip (peelPunctuation). */
|
|
25677
25786
|
.crewlet-inline-code-bound {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A path's or an address's words with a break opportunity after every `/`,
|
|
4
|
+
* so a line that cannot hold it ends at a separator ("…/v1/" then "reports")
|
|
5
|
+
* rather than wherever the pixels ran out ("…/v1/report" then "s"). A browser
|
|
6
|
+
* offers none inside `https://example.com/a/b`: to a line breaker the whole
|
|
7
|
+
* address is one word, so without these it breaks mid-name.
|
|
8
|
+
*
|
|
9
|
+
* Only plain text is split; anything else is handed back as given. A `<wbr>`
|
|
10
|
+
* adds no character, so a copy of the words is the words.
|
|
11
|
+
*/
|
|
12
|
+
export declare function pathBreaks(children: ReactNode): ReactNode;
|
|
@@ -6,7 +6,18 @@ export interface TableTrack {
|
|
|
6
6
|
shrink?: boolean | undefined;
|
|
7
7
|
/** The narrowest a flexible column may be drawn. */
|
|
8
8
|
floor?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* A flexible column measured to hold only SHORT values (`SHORT_COLUMN_PX`
|
|
11
|
+
* at most): it is drawn at what it holds rather than taking a share.
|
|
12
|
+
*/
|
|
13
|
+
short?: boolean | undefined;
|
|
9
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* The widest a flexible column's values may be and still count as short: a
|
|
17
|
+
* seat's handle, a kind, a date. Such a column takes what it holds; a longer
|
|
18
|
+
* one (a name, a login, an access list) shares the room left.
|
|
19
|
+
*/
|
|
20
|
+
export declare const SHORT_COLUMN_PX = 192;
|
|
10
21
|
/**
|
|
11
22
|
* The most of a table one `shrink` column may take: a fraction, so it is the
|
|
12
23
|
* same promise on a phone and a wide screen, and two at the cap still leave
|
|
@@ -18,4 +29,4 @@ export declare const SHRINK_SHARE = 0.2;
|
|
|
18
29
|
* content-sized column is capped with `fit-content()`, since `max-content` would
|
|
19
30
|
* starve the name, and a flexible one takes the rest above its floor.
|
|
20
31
|
*/
|
|
21
|
-
export declare function tableTrack({ width, shrink, floor }: TableTrack): string;
|
|
32
|
+
export declare function tableTrack({ width, shrink, floor, short }: TableTrack): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.130.
|
|
3
|
+
"version": "0.130.2",
|
|
4
4
|
"description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"clean": "rm -rf dist src/generated"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@crewlethq/icons": "0.130.
|
|
46
|
-
"@crewlethq/tokens": "0.130.
|
|
45
|
+
"@crewlethq/icons": "0.130.2",
|
|
46
|
+
"@crewlethq/tokens": "0.130.2",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
2
1
|
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
|
+
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
3
3
|
import './chunk-KOJPDCGQ.js';
|
|
4
4
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
|
|
5
5
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
1
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
2
|
+
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ContrastBadge-CBZPGG3G.css';
|