@crewlethq/ui 0.31.0 → 0.31.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 +4 -0
- package/dist/DataView/index.js +2 -2
- package/dist/EditingStatus/index.js +1 -1
- package/dist/{EditingStatus-NFADEPSX.css → EditingStatus-L6THUAN7.css} +21 -0
- package/dist/{chunk-3DPIU2Q7.js → chunk-FPS3JIPQ.js} +1 -1
- package/dist/generated/index.js +14 -14
- package/dist/index.js +14 -14
- package/dist/styles.css +22 -1
- package/package.json +3 -3
- package/dist/{chunk-UVJ5FF5V.js → chunk-RODMM35O.js} +1 -1
package/README.md
CHANGED
|
@@ -204,6 +204,10 @@ places:
|
|
|
204
204
|
- A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
|
|
205
205
|
when the content beneath it moves, and every panel anchored inside follows.
|
|
206
206
|
|
|
207
|
+
## Changes in 0.31.1
|
|
208
|
+
|
|
209
|
+
**`EditingStatus` folds "Editing" on an artifact bar's narrow arrangement**, below 640px, and keeps its dot, so a phone's bar keeps the room for the title while Cancel and Save are there. The words stay in the status for a screen reader.
|
|
210
|
+
|
|
207
211
|
## Changes in 0.31.0
|
|
208
212
|
|
|
209
213
|
**`ArtifactBar` carries an editing state**: a `status` slot said before the kind's tools (an `EditingStatus` while a doc is edited), never folded away, and a tool's `emphasis: 'primary'`, drawn as the primary button with its word kept at every width, for the one action the state turns on, such as Save.
|
package/dist/DataView/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-
|
|
1
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-RODMM35O.js';
|
|
2
2
|
import '../chunk-HOXGBLEY.js';
|
|
3
3
|
import '../chunk-PGRPNDWM.js';
|
|
4
|
-
import '../chunk-EBJREOKS.js';
|
|
5
4
|
import '../chunk-Y5NQ2LMS.js';
|
|
5
|
+
import '../chunk-EBJREOKS.js';
|
|
6
6
|
import '../chunk-STJ7QBC3.js';
|
|
7
7
|
import '../chunk-DTIW4CHZ.js';
|
|
8
8
|
import '../chunk-I3KKZ2O3.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { EditingStatus } from '../chunk-
|
|
1
|
+
export { EditingStatus } from '../chunk-FPS3JIPQ.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -42,11 +42,32 @@
|
|
|
42
42
|
margin-right: var(--spacing-2);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
/*
|
|
46
|
+
* THE WORDS FOLD AND THE DOT STAYS where room is short, hidden from the eye
|
|
47
|
+
* and still read by a screen reader, so the status says the same thing to
|
|
48
|
+
* everyone. On a phone the state folds. On an artifact bar's narrow
|
|
49
|
+
* arrangement (below 640px, as ArtifactBar.css draws it) "Editing" folds too:
|
|
50
|
+
* the title has the row's room first, and Cancel and Save beside the dot
|
|
51
|
+
* already say an edit is open.
|
|
52
|
+
*/
|
|
45
53
|
@media (width < 480px) {
|
|
46
54
|
.crewlet-editing-status__state {
|
|
47
55
|
position: absolute;
|
|
48
56
|
width: 1px;
|
|
49
57
|
height: 1px;
|
|
58
|
+
margin: -1px;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
clip-path: inset(50%);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@container crewlet-artifact-bar (width < 640px) {
|
|
65
|
+
.crewlet-editing-status__label,
|
|
66
|
+
.crewlet-editing-status__state {
|
|
67
|
+
position: absolute;
|
|
68
|
+
width: 1px;
|
|
69
|
+
height: 1px;
|
|
70
|
+
margin: -1px;
|
|
50
71
|
overflow: hidden;
|
|
51
72
|
clip-path: inset(50%);
|
|
52
73
|
}
|
package/dist/generated/index.js
CHANGED
|
@@ -12,8 +12,8 @@ export { ThemeSwatch } from '../chunk-MNFU2RNT.js';
|
|
|
12
12
|
export { DensitySwitcher, ThemeSwitcher } from '../chunk-WJDQ7XQA.js';
|
|
13
13
|
export { ThemeToggle } from '../chunk-NP2C4Y4E.js';
|
|
14
14
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
15
|
-
export { Timeline, TimelineItem } from '../chunk-AUQPBL4O.js';
|
|
16
15
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-UZ6MA2V6.js';
|
|
16
|
+
export { Timeline, TimelineItem } from '../chunk-AUQPBL4O.js';
|
|
17
17
|
export { Stepper } from '../chunk-5QWIJSQM.js';
|
|
18
18
|
export { Switcher } from '../chunk-HVNTQ36V.js';
|
|
19
19
|
export { Table } from '../chunk-V2N3BMOT.js';
|
|
@@ -28,8 +28,8 @@ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../ch
|
|
|
28
28
|
export { Select } from '../chunk-FC4YTTFJ.js';
|
|
29
29
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-CT4EZF62.js';
|
|
30
30
|
export { TagGroup } from '../chunk-O2EGEONV.js';
|
|
31
|
-
export { NavGroup, NavItem, SidebarNav } from '../chunk-UCCC7YVZ.js';
|
|
32
31
|
export { matchesShortcut, useShortcut } from '../chunk-2FPENTCF.js';
|
|
32
|
+
export { NavGroup, NavItem, SidebarNav } from '../chunk-UCCC7YVZ.js';
|
|
33
33
|
export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-ZAJHGDAW.js';
|
|
34
34
|
export { RichEditor, preloadRichEditor } from '../chunk-VOX3YRFO.js';
|
|
35
35
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-A4E5YLXO.js';
|
|
@@ -66,19 +66,20 @@ export { ListInput } from '../chunk-Z6VW6CXX.js';
|
|
|
66
66
|
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-5XACKNYR.js';
|
|
67
67
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-SKOYC2CF.js';
|
|
68
68
|
export { MARKDOWN_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-LZHLSQYK.js';
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export { useFullscreen } from '../chunk-XDTYBF2F.js';
|
|
69
|
+
export { ImageUpload } from '../chunk-YDBC4DNW.js';
|
|
70
|
+
export { InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-XYCADWZN.js';
|
|
72
71
|
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
73
72
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-5YLON2PW.js';
|
|
74
73
|
export { FollowBanner } from '../chunk-LDJ3J4TQ.js';
|
|
74
|
+
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';
|
|
75
|
+
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
76
|
+
export { useFullscreen } from '../chunk-XDTYBF2F.js';
|
|
75
77
|
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
76
78
|
import '../chunk-FFMCMSJB.js';
|
|
77
79
|
export { IconTile } from '../chunk-IXJHTFXG.js';
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
80
|
-
export { EditingStatus } from '../chunk-
|
|
81
|
-
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-UZ7ZUSLH.js';
|
|
80
|
+
export { DownloadButton } from '../chunk-BEHFTRMZ.js';
|
|
81
|
+
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-IW55G7XG.js';
|
|
82
|
+
export { EditingStatus } from '../chunk-FPS3JIPQ.js';
|
|
82
83
|
export { EntityChip } from '../chunk-4KWOKX2B.js';
|
|
83
84
|
export { ErrorBoundary } from '../chunk-XX2VQE55.js';
|
|
84
85
|
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
@@ -88,20 +89,19 @@ export { DIFF_LIST_LABELS, DiffList } from '../chunk-LFHCXZO5.js';
|
|
|
88
89
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from '../chunk-BVWSLXTY.js';
|
|
89
90
|
export { Disclosure } from '../chunk-MICH6QSJ.js';
|
|
90
91
|
export { Divider } from '../chunk-6KWNXIDE.js';
|
|
91
|
-
export {
|
|
92
|
-
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-IW55G7XG.js';
|
|
92
|
+
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-UZ7ZUSLH.js';
|
|
93
93
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from '../chunk-UO7JZVCO.js';
|
|
94
94
|
export { Container } from '../chunk-QVE4GJAT.js';
|
|
95
95
|
export { CursorFlag } from '../chunk-3BYIWOTV.js';
|
|
96
96
|
export { PresenceRing, presenceHueClass } from '../chunk-I6POAB4V.js';
|
|
97
|
-
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-
|
|
97
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-RODMM35O.js';
|
|
98
98
|
export { PageHeader } from '../chunk-HOXGBLEY.js';
|
|
99
99
|
export { Toolbar, ToolbarOverflow, ToolbarWide } from '../chunk-PGRPNDWM.js';
|
|
100
|
+
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-Y5NQ2LMS.js';
|
|
100
101
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-EBJREOKS.js';
|
|
101
102
|
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-ZB5O3ELS.js';
|
|
102
103
|
export { Tag } from '../chunk-GFV4LJHH.js';
|
|
103
104
|
export { StatusDot } from '../chunk-WIATRXEJ.js';
|
|
104
|
-
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-Y5NQ2LMS.js';
|
|
105
105
|
export { ChoiceButtons } from '../chunk-YSJC7AZC.js';
|
|
106
106
|
export { ChoiceList } from '../chunk-QBXZLGK2.js';
|
|
107
107
|
export { CodeBlock } from '../chunk-GDDE4UM7.js';
|
|
@@ -151,9 +151,9 @@ export { Tooltip } from '../chunk-QWOPX2MN.js';
|
|
|
151
151
|
export { SegmentedControl } from '../chunk-RCQXUT5K.js';
|
|
152
152
|
export { TabPanel, Tabs, tabId } from '../chunk-HJEVSQN6.js';
|
|
153
153
|
import '../chunk-RKKO7QHH.js';
|
|
154
|
-
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from '../chunk-4JUKWWUD.js';
|
|
155
154
|
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from '../chunk-6AH2XJ3Q.js';
|
|
156
155
|
export { Document, DocumentTitle } from '../chunk-M3LUNN7F.js';
|
|
156
|
+
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from '../chunk-4JUKWWUD.js';
|
|
157
157
|
export { ARTIFACT_KINDS, ArtifactCard, ArtifactKindGlyph } from '../chunk-GOSQXEZU.js';
|
|
158
158
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-4KP4RC3O.js';
|
|
159
159
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from '../chunk-3CZ7XAVY.js';
|
package/dist/index.js
CHANGED
|
@@ -12,8 +12,8 @@ export { ThemeSwatch } from './chunk-MNFU2RNT.js';
|
|
|
12
12
|
export { DensitySwitcher, ThemeSwitcher } from './chunk-WJDQ7XQA.js';
|
|
13
13
|
export { ThemeToggle } from './chunk-NP2C4Y4E.js';
|
|
14
14
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
|
|
15
|
-
export { Timeline, TimelineItem } from './chunk-AUQPBL4O.js';
|
|
16
15
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-UZ6MA2V6.js';
|
|
16
|
+
export { Timeline, TimelineItem } from './chunk-AUQPBL4O.js';
|
|
17
17
|
export { Stepper } from './chunk-5QWIJSQM.js';
|
|
18
18
|
export { Switcher } from './chunk-HVNTQ36V.js';
|
|
19
19
|
export { Table } from './chunk-V2N3BMOT.js';
|
|
@@ -28,8 +28,8 @@ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chu
|
|
|
28
28
|
export { Select } from './chunk-FC4YTTFJ.js';
|
|
29
29
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-CT4EZF62.js';
|
|
30
30
|
export { TagGroup } from './chunk-O2EGEONV.js';
|
|
31
|
-
export { NavGroup, NavItem, SidebarNav } from './chunk-UCCC7YVZ.js';
|
|
32
31
|
export { matchesShortcut, useShortcut } from './chunk-2FPENTCF.js';
|
|
32
|
+
export { NavGroup, NavItem, SidebarNav } from './chunk-UCCC7YVZ.js';
|
|
33
33
|
export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-ZAJHGDAW.js';
|
|
34
34
|
export { RichEditor, preloadRichEditor } from './chunk-VOX3YRFO.js';
|
|
35
35
|
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-A4E5YLXO.js';
|
|
@@ -66,19 +66,20 @@ export { ListInput } from './chunk-Z6VW6CXX.js';
|
|
|
66
66
|
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-5XACKNYR.js';
|
|
67
67
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-SKOYC2CF.js';
|
|
68
68
|
export { MARKDOWN_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-LZHLSQYK.js';
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export { useFullscreen } from './chunk-XDTYBF2F.js';
|
|
69
|
+
export { ImageUpload } from './chunk-YDBC4DNW.js';
|
|
70
|
+
export { InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-XYCADWZN.js';
|
|
72
71
|
export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
73
72
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-5YLON2PW.js';
|
|
74
73
|
export { FollowBanner } from './chunk-LDJ3J4TQ.js';
|
|
74
|
+
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';
|
|
75
|
+
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
|
|
76
|
+
export { useFullscreen } from './chunk-XDTYBF2F.js';
|
|
75
77
|
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
76
78
|
import './chunk-FFMCMSJB.js';
|
|
77
79
|
export { IconTile } from './chunk-IXJHTFXG.js';
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
80
|
-
export { EditingStatus } from './chunk-
|
|
81
|
-
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-UZ7ZUSLH.js';
|
|
80
|
+
export { DownloadButton } from './chunk-BEHFTRMZ.js';
|
|
81
|
+
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-IW55G7XG.js';
|
|
82
|
+
export { EditingStatus } from './chunk-FPS3JIPQ.js';
|
|
82
83
|
export { EntityChip } from './chunk-4KWOKX2B.js';
|
|
83
84
|
export { ErrorBoundary } from './chunk-XX2VQE55.js';
|
|
84
85
|
export { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
@@ -88,20 +89,19 @@ export { DIFF_LIST_LABELS, DiffList } from './chunk-LFHCXZO5.js';
|
|
|
88
89
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-BVWSLXTY.js';
|
|
89
90
|
export { Disclosure } from './chunk-MICH6QSJ.js';
|
|
90
91
|
export { Divider } from './chunk-6KWNXIDE.js';
|
|
91
|
-
export {
|
|
92
|
-
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-IW55G7XG.js';
|
|
92
|
+
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-UZ7ZUSLH.js';
|
|
93
93
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-UO7JZVCO.js';
|
|
94
94
|
export { Container } from './chunk-QVE4GJAT.js';
|
|
95
95
|
export { CursorFlag } from './chunk-3BYIWOTV.js';
|
|
96
96
|
export { PresenceRing, presenceHueClass } from './chunk-I6POAB4V.js';
|
|
97
|
-
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-
|
|
97
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-RODMM35O.js';
|
|
98
98
|
export { PageHeader } from './chunk-HOXGBLEY.js';
|
|
99
99
|
export { Toolbar, ToolbarOverflow, ToolbarWide } from './chunk-PGRPNDWM.js';
|
|
100
|
+
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-Y5NQ2LMS.js';
|
|
100
101
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-EBJREOKS.js';
|
|
101
102
|
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-ZB5O3ELS.js';
|
|
102
103
|
export { Tag } from './chunk-GFV4LJHH.js';
|
|
103
104
|
export { StatusDot } from './chunk-WIATRXEJ.js';
|
|
104
|
-
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-Y5NQ2LMS.js';
|
|
105
105
|
export { ChoiceButtons } from './chunk-YSJC7AZC.js';
|
|
106
106
|
export { ChoiceList } from './chunk-QBXZLGK2.js';
|
|
107
107
|
export { CodeBlock } from './chunk-GDDE4UM7.js';
|
|
@@ -151,9 +151,9 @@ export { Tooltip } from './chunk-QWOPX2MN.js';
|
|
|
151
151
|
export { SegmentedControl } from './chunk-RCQXUT5K.js';
|
|
152
152
|
export { TabPanel, Tabs, tabId } from './chunk-HJEVSQN6.js';
|
|
153
153
|
import './chunk-RKKO7QHH.js';
|
|
154
|
-
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from './chunk-4JUKWWUD.js';
|
|
155
154
|
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-6AH2XJ3Q.js';
|
|
156
155
|
export { Document, DocumentTitle } from './chunk-M3LUNN7F.js';
|
|
156
|
+
export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from './chunk-4JUKWWUD.js';
|
|
157
157
|
export { ARTIFACT_KINDS, ArtifactCard, ArtifactKindGlyph } from './chunk-GOSQXEZU.js';
|
|
158
158
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-4KP4RC3O.js';
|
|
159
159
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from './chunk-3CZ7XAVY.js';
|
package/dist/styles.css
CHANGED
|
@@ -11527,7 +11527,7 @@ svg.crewlet-datetime__chevron {
|
|
|
11527
11527
|
}
|
|
11528
11528
|
|
|
11529
11529
|
|
|
11530
|
-
/* EditingStatus-
|
|
11530
|
+
/* EditingStatus-L6THUAN7.css */
|
|
11531
11531
|
/*
|
|
11532
11532
|
* The editing status (EditingStatus.tsx): a word and a dot, in the bar's own
|
|
11533
11533
|
* small step, quiet until something is unsaved.
|
|
@@ -11572,11 +11572,32 @@ svg.crewlet-datetime__chevron {
|
|
|
11572
11572
|
margin-right: var(--spacing-2);
|
|
11573
11573
|
}
|
|
11574
11574
|
|
|
11575
|
+
/*
|
|
11576
|
+
* THE WORDS FOLD AND THE DOT STAYS where room is short, hidden from the eye
|
|
11577
|
+
* and still read by a screen reader, so the status says the same thing to
|
|
11578
|
+
* everyone. On a phone the state folds. On an artifact bar's narrow
|
|
11579
|
+
* arrangement (below 640px, as ArtifactBar.css draws it) "Editing" folds too:
|
|
11580
|
+
* the title has the row's room first, and Cancel and Save beside the dot
|
|
11581
|
+
* already say an edit is open.
|
|
11582
|
+
*/
|
|
11575
11583
|
@media (width < 480px) {
|
|
11576
11584
|
.crewlet-editing-status__state {
|
|
11577
11585
|
position: absolute;
|
|
11578
11586
|
width: 1px;
|
|
11579
11587
|
height: 1px;
|
|
11588
|
+
margin: -1px;
|
|
11589
|
+
overflow: hidden;
|
|
11590
|
+
clip-path: inset(50%);
|
|
11591
|
+
}
|
|
11592
|
+
}
|
|
11593
|
+
|
|
11594
|
+
@container crewlet-artifact-bar (width < 640px) {
|
|
11595
|
+
.crewlet-editing-status__label,
|
|
11596
|
+
.crewlet-editing-status__state {
|
|
11597
|
+
position: absolute;
|
|
11598
|
+
width: 1px;
|
|
11599
|
+
height: 1px;
|
|
11600
|
+
margin: -1px;
|
|
11580
11601
|
overflow: hidden;
|
|
11581
11602
|
clip-path: inset(50%);
|
|
11582
11603
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.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.31.
|
|
46
|
-
"@crewlethq/tokens": "0.31.
|
|
45
|
+
"@crewlethq/icons": "0.31.1",
|
|
46
|
+
"@crewlethq/tokens": "0.31.1",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-HOXGBLEY.js';
|
|
2
2
|
import { Toolbar } from './chunk-PGRPNDWM.js';
|
|
3
|
-
import { DataTable } from './chunk-EBJREOKS.js';
|
|
4
3
|
import { DateTimePicker } from './chunk-Y5NQ2LMS.js';
|
|
4
|
+
import { DataTable } from './chunk-EBJREOKS.js';
|
|
5
5
|
import { useListbox, useOptionKeys } from './chunk-F73MC7EZ.js';
|
|
6
6
|
import { Popover } from './chunk-BWRGFKJP.js';
|
|
7
7
|
import { Input } from './chunk-6QFAK2WV.js';
|