@crewlethq/ui 0.156.0 → 0.157.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/README.md +33 -0
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/ArtifactRef/index.js +3 -3
- package/dist/{Editor-FXREHINI.js → Editor-S6BFOP3A.js} +8 -5
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/InlineRef/index.js +2 -2
- package/dist/LimitMeters/LimitMeters.d.ts +4 -1
- package/dist/LimitMeters/index.js +1 -1
- package/dist/{LimitMeters-WCN2QTUU.css → LimitMeters-WASD45CG.css} +5 -0
- package/dist/LinkCard/index.js +2 -2
- package/dist/Markdown/grammar.d.ts +107 -6
- package/dist/Markdown/index.js +1 -1
- package/dist/OpenInAppCard/index.js +2 -2
- package/dist/RichEditor/codec.d.ts +1 -1
- package/dist/RichEditor/index.js +3 -3
- package/dist/RichEditorMarkdown/index.js +3 -3
- package/dist/{chunk-7CSTEH5I.js → chunk-7XGDMXC5.js} +137 -75
- package/dist/chunk-APH674YQ.js +80 -0
- package/dist/{chunk-2DMTW2Y3.js → chunk-DGXHQMNP.js} +1 -1
- package/dist/{chunk-GFNCMSYS.js → chunk-EI3EREIH.js} +2 -2
- package/dist/chunk-KMTOGF6T.js +597 -0
- package/dist/{chunk-AH7R777J.js → chunk-OBNOJ6IM.js} +1 -1
- package/dist/{chunk-346EXHOR.js → chunk-PVMDBNZ5.js} +1 -1
- package/dist/{chunk-QNSAFNGT.js → chunk-PZPLTFWX.js} +1 -1
- package/dist/{chunk-GBASM5EV.js → chunk-W5JAJJZO.js} +1 -1
- package/dist/{chunk-6KCQXKFQ.js → chunk-WTV24BFB.js} +1 -1
- package/dist/generated/index.js +35 -35
- package/dist/index.js +35 -35
- package/dist/styles.css +6 -1
- package/package.json +3 -3
- package/dist/chunk-4LG6V4XY.js +0 -71
- package/dist/chunk-KBZO4B33.js +0 -293
- package/dist/{chunk-YWPUT6JQ.js → chunk-GC6OQGBA.js} +1 -1
- package/dist/{chunk-IRLHICS4.js → chunk-KKZTZ7PW.js} +1 -1
package/dist/generated/index.js
CHANGED
|
@@ -3,10 +3,9 @@ export { WidgetFrame } from '../chunk-5ZTH54O6.js';
|
|
|
3
3
|
export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
|
|
4
4
|
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-HHTAGV5R.js';
|
|
5
5
|
export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
|
|
6
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-V3HP2HOI.js';
|
|
7
6
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-CJAPAIJG.js';
|
|
7
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-V3HP2HOI.js';
|
|
8
8
|
export { VersionTimeline } from '../chunk-3RLOH5AR.js';
|
|
9
|
-
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-7MAU74EI.js';
|
|
10
9
|
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
11
10
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-VXTRPLNB.js';
|
|
12
11
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-F6OYNO7O.js';
|
|
@@ -19,6 +18,7 @@ export { DensitySwitcher, ThemeSwitcher } from '../chunk-ODN3LSYW.js';
|
|
|
19
18
|
export { ThemeToggle } from '../chunk-CXJMWEZC.js';
|
|
20
19
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
21
20
|
export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
|
|
21
|
+
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-7MAU74EI.js';
|
|
22
22
|
export { Switcher } from '../chunk-O2J5PSWI.js';
|
|
23
23
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-Q3J23Q6P.js';
|
|
24
24
|
export { StatCard } from '../chunk-2YADDY4A.js';
|
|
@@ -26,38 +26,37 @@ export { StatGroup } from '../chunk-OUD75UB2.js';
|
|
|
26
26
|
export { Statement } from '../chunk-MZJKPTA5.js';
|
|
27
27
|
export { StatusLegend } from '../chunk-CXFMNOPV.js';
|
|
28
28
|
export { StatusLine } from '../chunk-LZ3TKYAY.js';
|
|
29
|
-
export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
|
|
30
29
|
export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-KQUENZR3.js';
|
|
31
30
|
export { SlideFilmstrip } from '../chunk-7CVV3DQC.js';
|
|
32
31
|
export { SlideGrid } from '../chunk-73L3774J.js';
|
|
33
32
|
export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
|
|
34
33
|
export { SetupWizard } from '../chunk-2DZV4PHK.js';
|
|
35
|
-
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from '../chunk-BQMDD2FD.js';
|
|
36
34
|
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-6BGD32C5.js';
|
|
37
35
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-M4VA76JF.js';
|
|
38
36
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-7C6NHVMX.js';
|
|
39
37
|
export { TagGroup } from '../chunk-FOUIZS7Q.js';
|
|
38
|
+
export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
|
|
40
39
|
import '../chunk-ZZMXJTII.js';
|
|
41
|
-
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-D33K2BCZ.js';
|
|
42
40
|
export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
|
|
43
41
|
export { SelectionBar } from '../chunk-3EL3IF3W.js';
|
|
44
42
|
export { SEND_BUTTON_LABELS, SendButton } from '../chunk-2W2KAF7D.js';
|
|
45
43
|
export { SETTING_FORM_LABELS, SettingForm } from '../chunk-NG6GEBSJ.js';
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
|
|
49
|
-
export {
|
|
50
|
-
|
|
44
|
+
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from '../chunk-BQMDD2FD.js';
|
|
45
|
+
export { canonicalMarkdown, roundTripMarkdown } from '../chunk-W5JAJJZO.js';
|
|
46
|
+
import '../chunk-7XGDMXC5.js';
|
|
47
|
+
export { RichEditor, preloadRichEditor } from '../chunk-EI3EREIH.js';
|
|
48
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-DGXHQMNP.js';
|
|
51
49
|
export { RoomRow } from '../chunk-45OOFAL6.js';
|
|
52
50
|
export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
|
|
53
51
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-CHUFHUQE.js';
|
|
54
52
|
export { SearchTrigger } from '../chunk-U67UM3VS.js';
|
|
55
|
-
export {
|
|
53
|
+
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-D33K2BCZ.js';
|
|
56
54
|
export { RecordChip, RecordChipList } from '../chunk-DWNKTIRN.js';
|
|
57
|
-
export { RelatedRow } from '../chunk-ZPLAR53E.js';
|
|
58
55
|
export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-HW7QJS2C.js';
|
|
56
|
+
export { RelatedRow } from '../chunk-ZPLAR53E.js';
|
|
59
57
|
export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-IZH5DCOQ.js';
|
|
60
58
|
export { Table } from '../chunk-YGN4SBNP.js';
|
|
59
|
+
export { ReviewList } from '../chunk-7XYU5PSQ.js';
|
|
61
60
|
export { PrincipalPicker } from '../chunk-ITZAWYRG.js';
|
|
62
61
|
export { PropertyList } from '../chunk-N2DCSSYC.js';
|
|
63
62
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-2YAK37D6.js';
|
|
@@ -66,85 +65,87 @@ export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } fro
|
|
|
66
65
|
export { RAIL_LIST_LABELS, RailList } from '../chunk-ECYA6XZL.js';
|
|
67
66
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-TTUFOH2Y.js';
|
|
68
67
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-27ZF7D3C.js';
|
|
68
|
+
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
|
|
69
69
|
export { PresenceStack } from '../chunk-LL5H2Q5B.js';
|
|
70
70
|
export { PresenterView, formatStopwatch } from '../chunk-BJE7TPO6.js';
|
|
71
71
|
export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-WSKVFRKK.js';
|
|
72
72
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
|
|
73
73
|
export { PricingCard } from '../chunk-O2XAJDK6.js';
|
|
74
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-3Q5USPLM.js';
|
|
75
|
-
export { TreeGrid } from '../chunk-RUKSDKG5.js';
|
|
76
74
|
export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
|
|
77
75
|
export { PageNote } from '../chunk-CV4NES3P.js';
|
|
78
76
|
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-JNDZGQGS.js';
|
|
79
77
|
export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from '../chunk-Z7BA2EVV.js';
|
|
80
78
|
import '../chunk-CENOOTAV.js';
|
|
81
79
|
export { PinTile } from '../chunk-ZFSKRN6D.js';
|
|
82
|
-
export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
|
|
83
80
|
export { groupNotices } from '../chunk-YAUAMQOP.js';
|
|
84
81
|
export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-W443OSWT.js';
|
|
85
|
-
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-
|
|
82
|
+
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-OBNOJ6IM.js';
|
|
86
83
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-CRKFCTOR.js';
|
|
84
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-3Q5USPLM.js';
|
|
85
|
+
export { TreeGrid } from '../chunk-RUKSDKG5.js';
|
|
87
86
|
export { OrgLabel } from '../chunk-PFP5HHZF.js';
|
|
88
|
-
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
89
87
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-46WA7E5V.js';
|
|
90
88
|
export { PersonRow } from '../chunk-42I2VSZZ.js';
|
|
91
89
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-ZAQ7CEYN.js';
|
|
92
90
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-FMKQSDBQ.js';
|
|
93
91
|
export { MessageBubble } from '../chunk-KAQ2L74F.js';
|
|
94
|
-
export {
|
|
92
|
+
export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
|
|
95
93
|
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';
|
|
96
94
|
export { LogoSlot, LogoSlotGroup } from '../chunk-ECHQLOWI.js';
|
|
97
95
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-N3LAAA4R.js';
|
|
98
96
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-27NS67UI.js';
|
|
99
|
-
export {
|
|
97
|
+
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
100
98
|
export { Link } from '../chunk-UTKI2SAM.js';
|
|
101
|
-
export { LinkCard } from '../chunk-
|
|
99
|
+
export { LinkCard } from '../chunk-PVMDBNZ5.js';
|
|
102
100
|
import '../chunk-KOJPDCGQ.js';
|
|
103
101
|
export { LinkInterstitial, openExternal } from '../chunk-7XE5TC7X.js';
|
|
104
102
|
export { List, ListItem } from '../chunk-GAQU5V5R.js';
|
|
105
103
|
export { ListDetail, ListDetailBack } from '../chunk-CJGLMT44.js';
|
|
106
104
|
export { ListInput, withDraft } from '../chunk-PW6QXVIX.js';
|
|
105
|
+
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
|
|
107
106
|
export { KeyValueRows, keyValueRowsLabels } from '../chunk-EDQHZOU3.js';
|
|
108
107
|
export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
|
|
109
108
|
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
109
|
+
export { LimitMeters, limitWindowTone } from '../chunk-APH674YQ.js';
|
|
110
110
|
import '../chunk-FFMCMSJB.js';
|
|
111
111
|
export { IconTile } from '../chunk-VRVNLJUA.js';
|
|
112
112
|
export { ImageUpload } from '../chunk-4QWTD6JO.js';
|
|
113
113
|
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-UMEK5DHS.js';
|
|
114
114
|
export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
|
|
115
115
|
export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-CA62YCFK.js';
|
|
116
|
-
export { FindingList } from '../chunk-J2GRBRGK.js';
|
|
117
116
|
export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-4VJ5UZIK.js';
|
|
118
117
|
export { FollowBanner } from '../chunk-HXAPC3AJ.js';
|
|
119
118
|
export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from '../chunk-F6V2PTN6.js';
|
|
120
119
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
121
|
-
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from '../chunk-
|
|
120
|
+
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from '../chunk-KKZTZ7PW.js';
|
|
122
121
|
export { SIZE_EPSILON, TYPE_AHEAD_RESET_MS, createTreeModel, isTypeAheadKey, layoutConnectors, layoutForest, placeGroups, treeAllExpandable, treeAncestors, treeCollapseOrAscend, treeExpandOrDescend, treeExpandTo, treeExpandable, treeFirst, treeFirstChild, treeItemAction, treeLast, treeLevel, treeNext, treeParent, treePosInSet, treePrevious, treeSetSize, treeStep, treeTypeAhead, treeVisible, typeAheadBuffer, useLayoutAnchor, useMeasuredSizes, useTreeState } from '../chunk-MY374UUD.js';
|
|
122
|
+
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
|
|
123
123
|
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-HYUO2RHC.js';
|
|
124
124
|
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
125
125
|
import '../chunk-MICRGE3J.js';
|
|
126
126
|
export { EntityList } from '../chunk-776LNKD2.js';
|
|
127
127
|
export { ErrorBoundary } from '../chunk-CC5NUAOF.js';
|
|
128
128
|
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
129
|
-
export { FactList } from '../chunk-EO64FXVL.js';
|
|
130
129
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-AU4EKD2G.js';
|
|
130
|
+
export { FactList } from '../chunk-EO64FXVL.js';
|
|
131
131
|
export { FileList } from '../chunk-FQBSYMEW.js';
|
|
132
|
-
export {
|
|
133
|
-
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from '../chunk-ZSV2JJV4.js';
|
|
132
|
+
export { FindingList } from '../chunk-J2GRBRGK.js';
|
|
134
133
|
export { DownloadButton } from '../chunk-VFC7KVCW.js';
|
|
135
134
|
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
|
|
136
135
|
export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from '../chunk-OX332RI7.js';
|
|
137
136
|
export { Select } from '../chunk-657WR3MX.js';
|
|
138
137
|
export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from '../chunk-DDGHRDGV.js';
|
|
139
138
|
export { PresetChips } from '../chunk-6QWSGM4W.js';
|
|
139
|
+
export { DockColumn } from '../chunk-UXTW4GOT.js';
|
|
140
140
|
export { EditingStatus } from '../chunk-KRF3GQ63.js';
|
|
141
141
|
export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-YMBXTGFC.js';
|
|
142
142
|
export { EntityChip } from '../chunk-OPN5Q3OL.js';
|
|
143
143
|
export { CONTEXT_LINES, DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_COMPARE_LINES, MAX_EDITS, WINDOW_BLOCK_ROWS, WINDOW_FROM_ROWS, changedRuns, collapseDiff, compareLines, compareSequences, diffStat, distanceFloor, firstChangedLines, lineTokens, notComparedReason, segments, splitLines } from '../chunk-4YLN5QVL.js';
|
|
144
144
|
export { DirectoryList } from '../chunk-5KTLQ436.js';
|
|
145
|
+
export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
|
|
145
146
|
export { Divider } from '../chunk-6KWNXIDE.js';
|
|
146
147
|
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-N3R2POGO.js';
|
|
147
|
-
export {
|
|
148
|
+
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from '../chunk-ZSV2JJV4.js';
|
|
148
149
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-Q3SHCEXN.js';
|
|
149
150
|
export { nextGridSort, parseGridSort } from '../chunk-HU56GCZ7.js';
|
|
150
151
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-DWXTJWCJ.js';
|
|
@@ -158,7 +159,6 @@ export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepD
|
|
|
158
159
|
export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from '../chunk-OAD4AXYJ.js';
|
|
159
160
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
|
|
160
161
|
export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-2EPEVS2M.js';
|
|
161
|
-
export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
|
|
162
162
|
export { ConfirmField, confirmMatches } from '../chunk-V67VL3WD.js';
|
|
163
163
|
export { InlineCode } from '../chunk-W4UJWFCZ.js';
|
|
164
164
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from '../chunk-WOHPQEBZ.js';
|
|
@@ -180,8 +180,8 @@ export { LockedLabel } from '../chunk-TODOBUXO.js';
|
|
|
180
180
|
export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
|
|
181
181
|
export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
|
|
182
182
|
export { ChoiceCards } from '../chunk-FHPHRIPO.js';
|
|
183
|
-
export { ChoiceList } from '../chunk-XU7RQNT6.js';
|
|
184
183
|
export { CLAMP_LABELS, Clamp } from '../chunk-QULAFXL3.js';
|
|
184
|
+
export { ChoiceList } from '../chunk-XU7RQNT6.js';
|
|
185
185
|
export { CodeBlock } from '../chunk-NZHWGKPW.js';
|
|
186
186
|
export { Copyable } from '../chunk-GR6XGA5V.js';
|
|
187
187
|
export { CopyButton } from '../chunk-IRGS5FEC.js';
|
|
@@ -222,12 +222,12 @@ import '../chunk-6C7GQOBV.js';
|
|
|
222
222
|
export { StatusCard } from '../chunk-NWKH5FF7.js';
|
|
223
223
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
|
|
224
224
|
export { Callout } from '../chunk-CWACQEPP.js';
|
|
225
|
-
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from '../chunk-
|
|
226
|
-
export { InlineRef } from '../chunk-
|
|
227
|
-
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-
|
|
228
|
-
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
|
|
225
|
+
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from '../chunk-PZPLTFWX.js';
|
|
226
|
+
export { InlineRef } from '../chunk-WTV24BFB.js';
|
|
227
|
+
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KMTOGF6T.js';
|
|
229
228
|
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-GZSEIFWB.js';
|
|
230
229
|
export { Tag } from '../chunk-SJ3EUCFD.js';
|
|
230
|
+
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
|
|
231
231
|
export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-5VTJOVK7.js';
|
|
232
232
|
export { NOTICE_LIST_LABELS, NoticeList } from '../chunk-E2XGQAHV.js';
|
|
233
233
|
export { AuthLayout } from '../chunk-HHYFL2GH.js';
|
|
@@ -238,7 +238,7 @@ export { Popover } from '../chunk-AJFA2XDQ.js';
|
|
|
238
238
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-CBUAKPF7.js';
|
|
239
239
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
240
240
|
export { BrandChip } from '../chunk-UH44L7OJ.js';
|
|
241
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
241
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-GC6OQGBA.js';
|
|
242
242
|
export { Skeleton } from '../chunk-WFAJYBLX.js';
|
|
243
243
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-265IX4YA.js';
|
|
244
244
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from '../chunk-GBKBME7Q.js';
|
|
@@ -249,8 +249,8 @@ export { Text } from '../chunk-475DOAWF.js';
|
|
|
249
249
|
import '../chunk-WSIJDWUG.js';
|
|
250
250
|
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from '../chunk-MMV7NEAC.js';
|
|
251
251
|
export { Document, DocumentTitle, DocumentTitleField } from '../chunk-I4PBFJGX.js';
|
|
252
|
-
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
|
|
253
252
|
export { ArtifactMakeRow } from '../chunk-A3SQWUWG.js';
|
|
253
|
+
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
|
|
254
254
|
export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
|
|
255
255
|
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-5ORAUELE.js';
|
|
256
256
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from '../chunk-SNKQNAJI.js';
|
|
@@ -263,7 +263,6 @@ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-YRNIPS4M.js';
|
|
|
263
263
|
export { Switch } from '../chunk-6YYRFGXO.js';
|
|
264
264
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from '../chunk-JMBPMSNI.js';
|
|
265
265
|
export { Checkbox, CheckboxGroup } from '../chunk-BRMJPZC4.js';
|
|
266
|
-
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from '../chunk-DOY3KC6I.js';
|
|
267
266
|
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-MUBJN75T.js';
|
|
268
267
|
import '../chunk-B3UJKLVI.js';
|
|
269
268
|
export { SegmentedControl } from '../chunk-GMXOZEF5.js';
|
|
@@ -273,6 +272,7 @@ export { StatusDot } from '../chunk-QRE6JCHS.js';
|
|
|
273
272
|
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from '../chunk-AVL52EME.js';
|
|
274
273
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
275
274
|
export { Menu } from '../chunk-ZMZNKDPO.js';
|
|
275
|
+
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from '../chunk-DOY3KC6I.js';
|
|
276
276
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
|
|
277
277
|
export { EmptyState } from '../chunk-PPUR46MK.js';
|
|
278
278
|
export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';
|
package/dist/index.js
CHANGED
|
@@ -3,10 +3,9 @@ export { WidgetFrame } from './chunk-5ZTH54O6.js';
|
|
|
3
3
|
export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
|
|
4
4
|
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-HHTAGV5R.js';
|
|
5
5
|
export { TypeSpecimen } from './chunk-JKAFEFFC.js';
|
|
6
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-V3HP2HOI.js';
|
|
7
6
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-CJAPAIJG.js';
|
|
7
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-V3HP2HOI.js';
|
|
8
8
|
export { VersionTimeline } from './chunk-3RLOH5AR.js';
|
|
9
|
-
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-7MAU74EI.js';
|
|
10
9
|
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
11
10
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-VXTRPLNB.js';
|
|
12
11
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-F6OYNO7O.js';
|
|
@@ -19,6 +18,7 @@ export { DensitySwitcher, ThemeSwitcher } from './chunk-ODN3LSYW.js';
|
|
|
19
18
|
export { ThemeToggle } from './chunk-CXJMWEZC.js';
|
|
20
19
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
|
|
21
20
|
export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
21
|
+
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-7MAU74EI.js';
|
|
22
22
|
export { Switcher } from './chunk-O2J5PSWI.js';
|
|
23
23
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-Q3J23Q6P.js';
|
|
24
24
|
export { StatCard } from './chunk-2YADDY4A.js';
|
|
@@ -26,38 +26,37 @@ export { StatGroup } from './chunk-OUD75UB2.js';
|
|
|
26
26
|
export { Statement } from './chunk-MZJKPTA5.js';
|
|
27
27
|
export { StatusLegend } from './chunk-CXFMNOPV.js';
|
|
28
28
|
export { StatusLine } from './chunk-LZ3TKYAY.js';
|
|
29
|
-
export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
|
|
30
29
|
export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-KQUENZR3.js';
|
|
31
30
|
export { SlideFilmstrip } from './chunk-7CVV3DQC.js';
|
|
32
31
|
export { SlideGrid } from './chunk-73L3774J.js';
|
|
33
32
|
export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js';
|
|
34
33
|
export { SetupWizard } from './chunk-2DZV4PHK.js';
|
|
35
|
-
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-BQMDD2FD.js';
|
|
36
34
|
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-6BGD32C5.js';
|
|
37
35
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-M4VA76JF.js';
|
|
38
36
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-7C6NHVMX.js';
|
|
39
37
|
export { TagGroup } from './chunk-FOUIZS7Q.js';
|
|
38
|
+
export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
|
|
40
39
|
import './chunk-ZZMXJTII.js';
|
|
41
|
-
export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-D33K2BCZ.js';
|
|
42
40
|
export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
|
|
43
41
|
export { SelectionBar } from './chunk-3EL3IF3W.js';
|
|
44
42
|
export { SEND_BUTTON_LABELS, SendButton } from './chunk-2W2KAF7D.js';
|
|
45
43
|
export { SETTING_FORM_LABELS, SettingForm } from './chunk-NG6GEBSJ.js';
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
|
|
49
|
-
export {
|
|
50
|
-
|
|
44
|
+
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-BQMDD2FD.js';
|
|
45
|
+
export { canonicalMarkdown, roundTripMarkdown } from './chunk-W5JAJJZO.js';
|
|
46
|
+
import './chunk-7XGDMXC5.js';
|
|
47
|
+
export { RichEditor, preloadRichEditor } from './chunk-EI3EREIH.js';
|
|
48
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-DGXHQMNP.js';
|
|
51
49
|
export { RoomRow } from './chunk-45OOFAL6.js';
|
|
52
50
|
export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
|
|
53
51
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-CHUFHUQE.js';
|
|
54
52
|
export { SearchTrigger } from './chunk-U67UM3VS.js';
|
|
55
|
-
export {
|
|
53
|
+
export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-D33K2BCZ.js';
|
|
56
54
|
export { RecordChip, RecordChipList } from './chunk-DWNKTIRN.js';
|
|
57
|
-
export { RelatedRow } from './chunk-ZPLAR53E.js';
|
|
58
55
|
export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-HW7QJS2C.js';
|
|
56
|
+
export { RelatedRow } from './chunk-ZPLAR53E.js';
|
|
59
57
|
export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-IZH5DCOQ.js';
|
|
60
58
|
export { Table } from './chunk-YGN4SBNP.js';
|
|
59
|
+
export { ReviewList } from './chunk-7XYU5PSQ.js';
|
|
61
60
|
export { PrincipalPicker } from './chunk-ITZAWYRG.js';
|
|
62
61
|
export { PropertyList } from './chunk-N2DCSSYC.js';
|
|
63
62
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-2YAK37D6.js';
|
|
@@ -66,85 +65,87 @@ export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } fro
|
|
|
66
65
|
export { RAIL_LIST_LABELS, RailList } from './chunk-ECYA6XZL.js';
|
|
67
66
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-TTUFOH2Y.js';
|
|
68
67
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-27ZF7D3C.js';
|
|
68
|
+
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
|
|
69
69
|
export { PresenceStack } from './chunk-LL5H2Q5B.js';
|
|
70
70
|
export { PresenterView, formatStopwatch } from './chunk-BJE7TPO6.js';
|
|
71
71
|
export { SLIDE_NAV_LABELS, SlideNav } from './chunk-WSKVFRKK.js';
|
|
72
72
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
|
|
73
73
|
export { PricingCard } from './chunk-O2XAJDK6.js';
|
|
74
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-3Q5USPLM.js';
|
|
75
|
-
export { TreeGrid } from './chunk-RUKSDKG5.js';
|
|
76
74
|
export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
|
|
77
75
|
export { PageNote } from './chunk-CV4NES3P.js';
|
|
78
76
|
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-JNDZGQGS.js';
|
|
79
77
|
export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-Z7BA2EVV.js';
|
|
80
78
|
import './chunk-CENOOTAV.js';
|
|
81
79
|
export { PinTile } from './chunk-ZFSKRN6D.js';
|
|
82
|
-
export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
|
|
83
80
|
export { groupNotices } from './chunk-YAUAMQOP.js';
|
|
84
81
|
export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from './chunk-W443OSWT.js';
|
|
85
|
-
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-
|
|
82
|
+
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-OBNOJ6IM.js';
|
|
86
83
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-CRKFCTOR.js';
|
|
84
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-3Q5USPLM.js';
|
|
85
|
+
export { TreeGrid } from './chunk-RUKSDKG5.js';
|
|
87
86
|
export { OrgLabel } from './chunk-PFP5HHZF.js';
|
|
88
|
-
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
89
87
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
|
|
90
88
|
export { PersonRow } from './chunk-42I2VSZZ.js';
|
|
91
89
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-ZAQ7CEYN.js';
|
|
92
90
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-FMKQSDBQ.js';
|
|
93
91
|
export { MessageBubble } from './chunk-KAQ2L74F.js';
|
|
94
|
-
export {
|
|
92
|
+
export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
|
|
95
93
|
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';
|
|
96
94
|
export { LogoSlot, LogoSlotGroup } from './chunk-ECHQLOWI.js';
|
|
97
95
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-N3LAAA4R.js';
|
|
98
96
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-27NS67UI.js';
|
|
99
|
-
export {
|
|
97
|
+
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
100
98
|
export { Link } from './chunk-UTKI2SAM.js';
|
|
101
|
-
export { LinkCard } from './chunk-
|
|
99
|
+
export { LinkCard } from './chunk-PVMDBNZ5.js';
|
|
102
100
|
import './chunk-KOJPDCGQ.js';
|
|
103
101
|
export { LinkInterstitial, openExternal } from './chunk-7XE5TC7X.js';
|
|
104
102
|
export { List, ListItem } from './chunk-GAQU5V5R.js';
|
|
105
103
|
export { ListDetail, ListDetailBack } from './chunk-CJGLMT44.js';
|
|
106
104
|
export { ListInput, withDraft } from './chunk-PW6QXVIX.js';
|
|
105
|
+
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
|
|
107
106
|
export { KeyValueRows, keyValueRowsLabels } from './chunk-EDQHZOU3.js';
|
|
108
107
|
export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
|
|
109
108
|
export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
109
|
+
export { LimitMeters, limitWindowTone } from './chunk-APH674YQ.js';
|
|
110
110
|
import './chunk-FFMCMSJB.js';
|
|
111
111
|
export { IconTile } from './chunk-VRVNLJUA.js';
|
|
112
112
|
export { ImageUpload } from './chunk-4QWTD6JO.js';
|
|
113
113
|
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-UMEK5DHS.js';
|
|
114
114
|
export { IndicatorAnchor } from './chunk-27MJPU7G.js';
|
|
115
115
|
export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-CA62YCFK.js';
|
|
116
|
-
export { FindingList } from './chunk-J2GRBRGK.js';
|
|
117
116
|
export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-4VJ5UZIK.js';
|
|
118
117
|
export { FollowBanner } from './chunk-HXAPC3AJ.js';
|
|
119
118
|
export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from './chunk-F6V2PTN6.js';
|
|
120
119
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
|
|
121
|
-
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from './chunk-
|
|
120
|
+
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from './chunk-KKZTZ7PW.js';
|
|
122
121
|
export { SIZE_EPSILON, TYPE_AHEAD_RESET_MS, createTreeModel, isTypeAheadKey, layoutConnectors, layoutForest, placeGroups, treeAllExpandable, treeAncestors, treeCollapseOrAscend, treeExpandOrDescend, treeExpandTo, treeExpandable, treeFirst, treeFirstChild, treeItemAction, treeLast, treeLevel, treeNext, treeParent, treePosInSet, treePrevious, treeSetSize, treeStep, treeTypeAhead, treeVisible, typeAheadBuffer, useLayoutAnchor, useMeasuredSizes, useTreeState } from './chunk-MY374UUD.js';
|
|
122
|
+
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
|
|
123
123
|
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-HYUO2RHC.js';
|
|
124
124
|
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
125
125
|
import './chunk-MICRGE3J.js';
|
|
126
126
|
export { EntityList } from './chunk-776LNKD2.js';
|
|
127
127
|
export { ErrorBoundary } from './chunk-CC5NUAOF.js';
|
|
128
128
|
export { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
129
|
-
export { FactList } from './chunk-EO64FXVL.js';
|
|
130
129
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-AU4EKD2G.js';
|
|
130
|
+
export { FactList } from './chunk-EO64FXVL.js';
|
|
131
131
|
export { FileList } from './chunk-FQBSYMEW.js';
|
|
132
|
-
export {
|
|
133
|
-
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-ZSV2JJV4.js';
|
|
132
|
+
export { FindingList } from './chunk-J2GRBRGK.js';
|
|
134
133
|
export { DownloadButton } from './chunk-VFC7KVCW.js';
|
|
135
134
|
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
|
|
136
135
|
export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from './chunk-OX332RI7.js';
|
|
137
136
|
export { Select } from './chunk-657WR3MX.js';
|
|
138
137
|
export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from './chunk-DDGHRDGV.js';
|
|
139
138
|
export { PresetChips } from './chunk-6QWSGM4W.js';
|
|
139
|
+
export { DockColumn } from './chunk-UXTW4GOT.js';
|
|
140
140
|
export { EditingStatus } from './chunk-KRF3GQ63.js';
|
|
141
141
|
export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from './chunk-YMBXTGFC.js';
|
|
142
142
|
export { EntityChip } from './chunk-OPN5Q3OL.js';
|
|
143
143
|
export { CONTEXT_LINES, DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_COMPARE_LINES, MAX_EDITS, WINDOW_BLOCK_ROWS, WINDOW_FROM_ROWS, changedRuns, collapseDiff, compareLines, compareSequences, diffStat, distanceFloor, firstChangedLines, lineTokens, notComparedReason, segments, splitLines } from './chunk-4YLN5QVL.js';
|
|
144
144
|
export { DirectoryList } from './chunk-5KTLQ436.js';
|
|
145
|
+
export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
145
146
|
export { Divider } from './chunk-6KWNXIDE.js';
|
|
146
147
|
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-N3R2POGO.js';
|
|
147
|
-
export {
|
|
148
|
+
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-ZSV2JJV4.js';
|
|
148
149
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-Q3SHCEXN.js';
|
|
149
150
|
export { nextGridSort, parseGridSort } from './chunk-HU56GCZ7.js';
|
|
150
151
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-DWXTJWCJ.js';
|
|
@@ -158,7 +159,6 @@ export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepD
|
|
|
158
159
|
export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-OAD4AXYJ.js';
|
|
159
160
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
|
|
160
161
|
export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-2EPEVS2M.js';
|
|
161
|
-
export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
162
162
|
export { ConfirmField, confirmMatches } from './chunk-V67VL3WD.js';
|
|
163
163
|
export { InlineCode } from './chunk-W4UJWFCZ.js';
|
|
164
164
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-WOHPQEBZ.js';
|
|
@@ -180,8 +180,8 @@ export { LockedLabel } from './chunk-TODOBUXO.js';
|
|
|
180
180
|
export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
|
|
181
181
|
export { ChoiceButtons } from './chunk-AHW3K3SH.js';
|
|
182
182
|
export { ChoiceCards } from './chunk-FHPHRIPO.js';
|
|
183
|
-
export { ChoiceList } from './chunk-XU7RQNT6.js';
|
|
184
183
|
export { CLAMP_LABELS, Clamp } from './chunk-QULAFXL3.js';
|
|
184
|
+
export { ChoiceList } from './chunk-XU7RQNT6.js';
|
|
185
185
|
export { CodeBlock } from './chunk-NZHWGKPW.js';
|
|
186
186
|
export { Copyable } from './chunk-GR6XGA5V.js';
|
|
187
187
|
export { CopyButton } from './chunk-IRGS5FEC.js';
|
|
@@ -222,12 +222,12 @@ import './chunk-6C7GQOBV.js';
|
|
|
222
222
|
export { StatusCard } from './chunk-NWKH5FF7.js';
|
|
223
223
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
|
|
224
224
|
export { Callout } from './chunk-CWACQEPP.js';
|
|
225
|
-
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from './chunk-
|
|
226
|
-
export { InlineRef } from './chunk-
|
|
227
|
-
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-
|
|
228
|
-
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
|
|
225
|
+
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from './chunk-PZPLTFWX.js';
|
|
226
|
+
export { InlineRef } from './chunk-WTV24BFB.js';
|
|
227
|
+
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KMTOGF6T.js';
|
|
229
228
|
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-GZSEIFWB.js';
|
|
230
229
|
export { Tag } from './chunk-SJ3EUCFD.js';
|
|
230
|
+
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
|
|
231
231
|
export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-5VTJOVK7.js';
|
|
232
232
|
export { NOTICE_LIST_LABELS, NoticeList } from './chunk-E2XGQAHV.js';
|
|
233
233
|
export { AuthLayout } from './chunk-HHYFL2GH.js';
|
|
@@ -238,7 +238,7 @@ export { Popover } from './chunk-AJFA2XDQ.js';
|
|
|
238
238
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from './chunk-CBUAKPF7.js';
|
|
239
239
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from './chunk-AYKXMIOR.js';
|
|
240
240
|
export { BrandChip } from './chunk-UH44L7OJ.js';
|
|
241
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-
|
|
241
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-GC6OQGBA.js';
|
|
242
242
|
export { Skeleton } from './chunk-WFAJYBLX.js';
|
|
243
243
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
244
244
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from './chunk-GBKBME7Q.js';
|
|
@@ -249,8 +249,8 @@ export { Text } from './chunk-475DOAWF.js';
|
|
|
249
249
|
import './chunk-WSIJDWUG.js';
|
|
250
250
|
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-MMV7NEAC.js';
|
|
251
251
|
export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js';
|
|
252
|
-
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
|
|
253
252
|
export { ArtifactMakeRow } from './chunk-A3SQWUWG.js';
|
|
253
|
+
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
|
|
254
254
|
export { ArtifactNameCell } from './chunk-3SCASXQH.js';
|
|
255
255
|
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-5ORAUELE.js';
|
|
256
256
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
|
|
@@ -263,7 +263,6 @@ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-YRNIPS4M.js';
|
|
|
263
263
|
export { Switch } from './chunk-6YYRFGXO.js';
|
|
264
264
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from './chunk-JMBPMSNI.js';
|
|
265
265
|
export { Checkbox, CheckboxGroup } from './chunk-BRMJPZC4.js';
|
|
266
|
-
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from './chunk-DOY3KC6I.js';
|
|
267
266
|
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from './chunk-MUBJN75T.js';
|
|
268
267
|
import './chunk-B3UJKLVI.js';
|
|
269
268
|
export { SegmentedControl } from './chunk-GMXOZEF5.js';
|
|
@@ -273,6 +272,7 @@ export { StatusDot } from './chunk-QRE6JCHS.js';
|
|
|
273
272
|
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from './chunk-AVL52EME.js';
|
|
274
273
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
275
274
|
export { Menu } from './chunk-ZMZNKDPO.js';
|
|
275
|
+
export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from './chunk-DOY3KC6I.js';
|
|
276
276
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
|
|
277
277
|
export { EmptyState } from './chunk-PPUR46MK.js';
|
|
278
278
|
export { Accordion, AccordionItem } from './chunk-3QEAANRP.js';
|
package/dist/styles.css
CHANGED
|
@@ -27520,7 +27520,7 @@ a.crewlet-icon-btn {
|
|
|
27520
27520
|
|
|
27521
27521
|
|
|
27522
27522
|
|
|
27523
|
-
/* LimitMeters-
|
|
27523
|
+
/* LimitMeters-WASD45CG.css */
|
|
27524
27524
|
/* A stack of limit windows: label, bar, figure and note line up across rows. */
|
|
27525
27525
|
|
|
27526
27526
|
.crewlet-limit-meters {
|
|
@@ -27542,6 +27542,11 @@ a.crewlet-icon-btn {
|
|
|
27542
27542
|
row-gap: var(--spacing-1);
|
|
27543
27543
|
}
|
|
27544
27544
|
|
|
27545
|
+
/* No window has a note: no empty note track and gap, so the figures reach the stack's edge. */
|
|
27546
|
+
.crewlet-limit-meters__grid--no-notes {
|
|
27547
|
+
grid-template-columns: minmax(0, max-content) minmax(2.5rem, 1fr) max-content;
|
|
27548
|
+
}
|
|
27549
|
+
|
|
27545
27550
|
.crewlet-limit-meters__window {
|
|
27546
27551
|
display: contents;
|
|
27547
27552
|
--crewlet-limit-meters-tone: var(--color-text-tertiary);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.157.1",
|
|
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.
|
|
46
|
-
"@crewlethq/tokens": "0.
|
|
45
|
+
"@crewlethq/icons": "0.157.1",
|
|
46
|
+
"@crewlethq/tokens": "0.157.1",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
package/dist/chunk-4LG6V4XY.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
|
-
import './LimitMeters-WCN2QTUU.css';
|
|
3
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var STATE_TONES = {
|
|
6
|
-
ok: "neutral",
|
|
7
|
-
near: "warning",
|
|
8
|
-
refusing: "danger"
|
|
9
|
-
};
|
|
10
|
-
function limitWindowTone(state) {
|
|
11
|
-
if (!Object.hasOwn(STATE_TONES, state)) {
|
|
12
|
-
throw new RangeError(`LimitMeters window state must be ok, near or refusing; it was ${String(state)}`);
|
|
13
|
-
}
|
|
14
|
-
return STATE_TONES[state];
|
|
15
|
-
}
|
|
16
|
-
function checked(windows) {
|
|
17
|
-
const seen = /* @__PURE__ */ new Set();
|
|
18
|
-
for (const w of windows) {
|
|
19
|
-
if (seen.has(w.id)) throw new RangeError(`LimitMeters window ids must be unique; "${w.id}" is used twice`);
|
|
20
|
-
seen.add(w.id);
|
|
21
|
-
if (w.used !== void 0 && (!Number.isFinite(w.used) || w.used < 0)) {
|
|
22
|
-
throw new RangeError(`LimitMeters window "${w.id}" used must be a finite fraction of at least 0; it was ${w.used}`);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function LimitMeters({ windows, label, empty = "None reported", caption, className, ...rest }) {
|
|
27
|
-
checked(windows);
|
|
28
|
-
if (windows.length === 0) {
|
|
29
|
-
return /* @__PURE__ */ jsxs("div", { ...rest, className: cx("crewlet-limit-meters", "crewlet-limit-meters--empty", className), children: [
|
|
30
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__empty", children: empty }),
|
|
31
|
-
caption === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__caption", children: caption })
|
|
32
|
-
] });
|
|
33
|
-
}
|
|
34
|
-
return /* @__PURE__ */ jsxs("div", { ...rest, className: cx("crewlet-limit-meters", className), children: [
|
|
35
|
-
/* @__PURE__ */ jsx("div", { role: "group", "aria-label": label, className: "crewlet-limit-meters__grid", children: windows.map((w) => {
|
|
36
|
-
const known = w.used !== void 0;
|
|
37
|
-
const percent = known ? Math.min(100, Math.round(w.used * 100)) : 0;
|
|
38
|
-
const figure = w.figure ?? (known ? `${Math.round(w.used * 100)}%` : void 0);
|
|
39
|
-
return /* @__PURE__ */ jsxs("div", { className: "crewlet-limit-meters__window", "data-state": w.state, children: [
|
|
40
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__label", "aria-hidden": "true", children: w.label }),
|
|
41
|
-
/* @__PURE__ */ jsx(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
className: "crewlet-limit-meters__track",
|
|
45
|
-
role: known ? "meter" : "img",
|
|
46
|
-
"aria-label": w.name,
|
|
47
|
-
"aria-valuenow": known ? percent : void 0,
|
|
48
|
-
"aria-valuemin": known ? 0 : void 0,
|
|
49
|
-
"aria-valuemax": known ? 100 : void 0,
|
|
50
|
-
children: /* @__PURE__ */ jsx(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
className: cx(
|
|
54
|
-
"crewlet-limit-meters__fill",
|
|
55
|
-
known ? percent > 0 && "crewlet-limit-meters__fill--some" : "crewlet-limit-meters__fill--state"
|
|
56
|
-
),
|
|
57
|
-
"data-tone": limitWindowTone(w.state),
|
|
58
|
-
style: { width: known ? `${percent}%` : "100%" }
|
|
59
|
-
}
|
|
60
|
-
)
|
|
61
|
-
}
|
|
62
|
-
),
|
|
63
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__figure", "aria-hidden": "true", children: figure }),
|
|
64
|
-
w.note ? /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__note", "aria-hidden": "true", children: w.note }) : null
|
|
65
|
-
] }, w.id);
|
|
66
|
-
}) }),
|
|
67
|
-
caption === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-limit-meters__caption", children: caption })
|
|
68
|
-
] });
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export { LimitMeters, limitWindowTone };
|