@crewlethq/ui 0.41.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -2
- package/dist/AgentHandoffPanel/index.js +5 -5
- package/dist/AppShell/index.js +3 -3
- package/dist/{AppShell-3R4ZU4ND.css → AppShell-TSACKAU7.css} +28 -10
- package/dist/ArrangeFrame/index.js +2 -2
- package/dist/ArrangeList/index.js +5 -5
- package/dist/ArtifactBar/index.js +5 -5
- package/dist/ArtifactPanel/index.js +2 -2
- package/dist/AvatarPicker/index.js +8 -8
- package/dist/Canvas/index.js +2 -2
- package/dist/CanvasBoard/index.js +4 -4
- package/dist/CanvasToolbar/index.js +3 -3
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/Checkbox/index.js +3 -3
- package/dist/CodeBlock/index.js +3 -3
- package/dist/Combobox/index.js +3 -3
- package/dist/CommandPalette/index.js +4 -4
- package/dist/CommentThread/index.js +4 -4
- package/dist/Composer/index.js +3 -3
- package/dist/ConfirmField/index.js +3 -3
- package/dist/Copyable/index.js +2 -2
- package/dist/DataTable/index.js +6 -6
- package/dist/DataView/index.js +9 -9
- package/dist/DatasetSource/index.js +1 -1
- package/dist/DateTimePicker/index.js +3 -3
- package/dist/DirectoryList/DirectoryList.d.ts +55 -0
- package/dist/DirectoryList/index.d.ts +3 -0
- package/dist/DirectoryList/index.js +3 -0
- package/dist/DirectoryList-EESYMH2U.css +126 -0
- package/dist/DocTabsEditor/index.js +5 -5
- package/dist/{Editor-IRDQ3JDZ.js → Editor-AMO2B54T.js} +4 -4
- package/dist/HuePicker/index.js +5 -5
- package/dist/IconButton/IconButton.d.ts +25 -1
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-VYWP6SGW.css → IconButton-K24JQHLF.css} +21 -0
- package/dist/Input/index.js +2 -2
- package/dist/LinkInterstitial/index.js +3 -3
- package/dist/ListDetail/ListDetail.d.ts +27 -0
- package/dist/ListDetail/index.d.ts +3 -0
- package/dist/ListDetail/index.js +2 -0
- package/dist/ListDetail-ALKU5VJW.css +53 -0
- package/dist/ListInput/index.js +4 -4
- package/dist/MarkdownEditor/index.js +5 -5
- package/dist/Menu/index.js +2 -2
- package/dist/MergeConflicts/index.js +5 -5
- package/dist/Modal/index.js +2 -2
- package/dist/ObjectHeader/ObjectHeader.d.ts +7 -1
- package/dist/ObjectHeader/index.js +1 -1
- package/dist/{ObjectHeader-ZOS22FKX.css → ObjectHeader-DNQWRGUK.css} +50 -0
- package/dist/OrgTable/index.js +3 -3
- package/dist/PeopleRail/index.js +2 -2
- package/dist/PinTile/index.js +2 -2
- package/dist/PresenterView/index.js +3 -3
- package/dist/PrincipalPicker/index.js +4 -4
- package/dist/PropertyList/index.js +2 -2
- package/dist/RichEditor/index.js +1 -1
- package/dist/SegmentedControl/index.js +4 -4
- package/dist/ShareDialog/index.js +4 -4
- package/dist/SheetColumnEditor/index.js +8 -8
- package/dist/SheetGrid/index.js +7 -7
- package/dist/SlideFilmstrip/index.js +4 -4
- package/dist/SlideNav/index.js +2 -2
- package/dist/Switcher/index.js +6 -6
- package/dist/TableCells/index.js +1 -1
- package/dist/Tabs/index.js +3 -3
- package/dist/TagsInput/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +5 -5
- package/dist/ThemeToggle/index.js +2 -2
- package/dist/TimeWindowPicker/index.js +4 -4
- package/dist/TreeCanvas/index.js +3 -3
- package/dist/TreeGrid/index.js +2 -2
- package/dist/VersionCompare/index.js +5 -5
- package/dist/{chunk-GPWJCP3U.js → chunk-3RCHEFIL.js} +1 -1
- package/dist/{chunk-5BUOMF6N.js → chunk-3YTNYF2E.js} +1 -1
- package/dist/{chunk-D2OL3ZSS.js → chunk-4DIKLY53.js} +1 -1
- package/dist/{chunk-UVBHK6IU.js → chunk-524GGA67.js} +4 -4
- package/dist/{chunk-NURXCBCW.js → chunk-5AHDGYKN.js} +3 -3
- package/dist/{chunk-C7OKDYBH.js → chunk-626CB5X6.js} +3 -3
- package/dist/{chunk-XGBUUQDU.js → chunk-6MAQ2SVP.js} +2 -2
- package/dist/{chunk-ISA2O2BK.js → chunk-7CXGSS7D.js} +1 -1
- package/dist/{chunk-W46LPU4R.js → chunk-7SHAFLEX.js} +1 -1
- package/dist/{chunk-B5UHX5UC.js → chunk-7WNJLNFD.js} +2 -2
- package/dist/{chunk-SEC2GR2V.js → chunk-A4GFEMVI.js} +1 -1
- package/dist/{chunk-MMPKN7WV.js → chunk-AGNZIT3Z.js} +2 -2
- package/dist/{chunk-4OK4DX3V.js → chunk-BF5WV7NM.js} +1 -1
- package/dist/{chunk-3TXY3PJZ.js → chunk-BO7Q6JP6.js} +2 -2
- package/dist/{chunk-KNHUBHFX.js → chunk-BVFMLSE3.js} +3 -3
- package/dist/{chunk-EX22Q5SH.js → chunk-DL5ERIFF.js} +3 -3
- package/dist/{chunk-UXYEOWG5.js → chunk-E6HXFFWO.js} +1 -1
- package/dist/{chunk-2PEXZ7L4.js → chunk-ENHLVF6Q.js} +1 -1
- package/dist/{chunk-AXS6MBNH.js → chunk-EY7LACIR.js} +1 -1
- package/dist/{chunk-PEUGPAKH.js → chunk-FG243QHY.js} +1 -1
- package/dist/{chunk-GFYQKMQZ.js → chunk-FV6H7H5I.js} +5 -5
- package/dist/{chunk-IAGYPTEJ.js → chunk-FYINAYAJ.js} +1 -1
- package/dist/{chunk-FXBGEANQ.js → chunk-GI3S6RMM.js} +4 -4
- package/dist/{chunk-ZMWXE4GT.js → chunk-GPIRKHGS.js} +2 -2
- package/dist/{chunk-ODOJJGXH.js → chunk-HFQBMEEH.js} +18 -2
- package/dist/{chunk-JSWOXRRE.js → chunk-IUQQGIHL.js} +1 -1
- package/dist/{chunk-BH52LIY6.js → chunk-IVAR7NRW.js} +2 -2
- package/dist/{chunk-PFZOFAQ6.js → chunk-JF3TJUBU.js} +1 -1
- package/dist/{chunk-T6MXORP5.js → chunk-JGCDFMXN.js} +1 -1
- package/dist/{chunk-X4IXXLWM.js → chunk-KA75QPFM.js} +1 -1
- package/dist/{chunk-4FQT6ZAY.js → chunk-LACA4JGC.js} +23 -2
- package/dist/{chunk-WMXAX6VA.js → chunk-LKBZV5IT.js} +1 -1
- package/dist/{chunk-KWWP3D7M.js → chunk-LSRQJDGR.js} +1 -1
- package/dist/{chunk-FBW3Q2OY.js → chunk-MCOC3KQA.js} +1 -1
- package/dist/{chunk-EAEJ7CDM.js → chunk-MVGCZ655.js} +1 -1
- package/dist/{chunk-Y5BD4MTE.js → chunk-NBDN5JZV.js} +1 -1
- package/dist/{chunk-H6CEFQTR.js → chunk-NCM73C34.js} +5 -5
- package/dist/{chunk-6MIXD6IW.js → chunk-OJCVVCAZ.js} +1 -1
- package/dist/{chunk-3KYVFG47.js → chunk-ON2E46DX.js} +1 -1
- package/dist/{chunk-3PR65I3H.js → chunk-OVHJTOKW.js} +4 -4
- package/dist/{chunk-D6FEHY5G.js → chunk-PCI7ZJ6Z.js} +1 -1
- package/dist/{chunk-A44YHLCQ.js → chunk-PLLYOPS4.js} +2 -2
- package/dist/{chunk-NP2C4Y4E.js → chunk-PM3JVNRY.js} +1 -1
- package/dist/{chunk-BA32AVKS.js → chunk-QOP7QYUW.js} +1 -1
- package/dist/chunk-R5RCGD7N.js +12 -0
- package/dist/{chunk-6VOS2GMB.js → chunk-RRO7UEYU.js} +1 -1
- package/dist/chunk-SJ6DMG4R.js +39 -0
- package/dist/{chunk-DAERKOOG.js → chunk-TVV7XSO5.js} +1 -1
- package/dist/{chunk-N3TFYBN3.js → chunk-UAGDFEBG.js} +1 -1
- package/dist/{chunk-RFFXB3PR.js → chunk-UFXLNC2N.js} +2 -2
- package/dist/{chunk-2VOHUGUA.js → chunk-UO5VJHWP.js} +3 -3
- package/dist/{chunk-SYBYFQTY.js → chunk-W53CWWX3.js} +3 -3
- package/dist/{chunk-HQAGGQWJ.js → chunk-X6IJ7DAX.js} +3 -3
- package/dist/{chunk-CFGGE3HO.js → chunk-XP7EXNKF.js} +2 -2
- package/dist/{chunk-WYYCPV46.js → chunk-Z5WMCBHR.js} +3 -3
- package/dist/{chunk-TYONQSOK.js → chunk-ZI5G5RS7.js} +1 -1
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +93 -91
- package/dist/index.js +93 -91
- package/dist/styles.css +287 -13
- package/package.json +3 -3
- package/dist/{chunk-S3QTFUJX.js → chunk-VXCT6L3F.js} +0 -0
- package/dist/{chunk-SNQRGH4A.js → chunk-VZICPYGR.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
|
|
705
|
-
/* AppShell-
|
|
705
|
+
/* AppShell-TSACKAU7.css */
|
|
706
706
|
/*
|
|
707
707
|
* The application frame: a rail on the FRAME, and the screen on a SHEET that
|
|
708
708
|
* floats beside it.
|
|
@@ -923,20 +923,20 @@
|
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
/*
|
|
926
|
-
* THE RAIL'S FIELD
|
|
927
|
-
* the nav's
|
|
928
|
-
*
|
|
929
|
-
* field's is the slot's inset, its own 1px edge and its pad
|
|
926
|
+
* THE RAIL'S FIELD IS A ROW'S WIDTH, compact: its edges are a nav row's
|
|
927
|
+
* highlight edges, the nav's gutter in from each side of the rail, and its
|
|
928
|
+
* content stands on a row's content columns through its pad
|
|
930
929
|
* (`--crewlet-rail-field-pad`, which the rail variant of `SearchTrigger`
|
|
931
|
-
* takes)
|
|
932
|
-
*
|
|
933
|
-
*
|
|
930
|
+
* takes): the glyph on the nav's glyph column and the shortcut ending where a
|
|
931
|
+
* row's words end. A row's content is the gutter and the row's pad in; the
|
|
932
|
+
* field's is the slot's inset, its own 1px edge and its pad, so the inset at
|
|
933
|
+
* each end makes up the difference, which is the gutter.
|
|
934
934
|
*
|
|
935
935
|
* And it is held off the nav by the nav's own top inset alone, one step, so
|
|
936
936
|
* the field and the rows read as one group with the field first.
|
|
937
937
|
*/
|
|
938
938
|
.crewlet-app-shell__rail-search {
|
|
939
|
-
--crewlet-rail-field-pad: calc(var(--
|
|
939
|
+
--crewlet-rail-field-pad: calc(var(--size-nav-row-pad) - 1px);
|
|
940
940
|
padding: 0 calc(var(--size-nav-gutter) + var(--size-nav-row-pad) - var(--crewlet-rail-field-pad) - 1px);
|
|
941
941
|
}
|
|
942
942
|
|
|
@@ -1518,22 +1518,40 @@
|
|
|
1518
1518
|
* whatever size of badge a caller hands the row, it is centred where a glyph
|
|
1519
1519
|
* is, and the row takes the nav row's pad and its glyph-to-word gap.
|
|
1520
1520
|
*/
|
|
1521
|
+
/*
|
|
1522
|
+
* AND THE WORDS TAKE THE ROOM: the name and the detail are what the row is
|
|
1523
|
+
* for, so every gap after the name is the half step and the menu's chevron
|
|
1524
|
+
* stands one step off the words at least, at the link's end. The controls
|
|
1525
|
+
* beside the link (Settings, Preferences) are half a step apart and half a
|
|
1526
|
+
* step off the link, so a reader's name keeps the width two controls leave.
|
|
1527
|
+
*/
|
|
1521
1528
|
.crewlet-app-shell__rail-foot .crewlet-account-row {
|
|
1522
1529
|
--crewlet-account-row-pad: var(--spacing-0);
|
|
1530
|
+
gap: calc(var(--spacing-1) / 2);
|
|
1523
1531
|
}
|
|
1524
1532
|
|
|
1525
1533
|
.crewlet-app-shell__rail-foot .crewlet-account-row__who {
|
|
1526
1534
|
--crewlet-hit-area-block-start: calc(var(--crewlet-rail-foot-gap) / 2 + var(--crewlet-account-row-pad));
|
|
1527
|
-
gap:
|
|
1535
|
+
gap: 0;
|
|
1528
1536
|
/* On the foot's compact step: the two lines of name and detail with half a
|
|
1529
1537
|
step above and below them, which still clears the avatar. */
|
|
1530
1538
|
padding-block: calc(var(--spacing-1) / 2);
|
|
1531
|
-
padding-inline
|
|
1539
|
+
padding-inline: var(--size-nav-row-pad) calc(var(--spacing-1) / 2);
|
|
1532
1540
|
}
|
|
1533
1541
|
|
|
1534
1542
|
.crewlet-app-shell__rail-foot .crewlet-account-row__avatar {
|
|
1535
1543
|
justify-content: center;
|
|
1536
1544
|
width: 14px;
|
|
1545
|
+
/* The nav's glyph-to-word gap, so the name starts on the nav's word line. */
|
|
1546
|
+
margin-inline-end: calc(var(--spacing-2) + var(--spacing-1) / 2);
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
.crewlet-app-shell__rail-foot .crewlet-account-row__text {
|
|
1550
|
+
margin-inline-end: var(--spacing-1);
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
.crewlet-app-shell__rail-foot .crewlet-account-row__actions {
|
|
1554
|
+
gap: calc(var(--spacing-1) / 2);
|
|
1537
1555
|
}
|
|
1538
1556
|
|
|
1539
1557
|
/* The row as the reader's menu button: a button drawn as the link is. */
|
|
@@ -13707,6 +13725,135 @@ svg.crewlet-datetime__chevron {
|
|
|
13707
13725
|
}
|
|
13708
13726
|
|
|
13709
13727
|
|
|
13728
|
+
/* DirectoryList-EESYMH2U.css */
|
|
13729
|
+
/*
|
|
13730
|
+
* DirectoryList: named groups of links, each line a mark, a label and a state,
|
|
13731
|
+
* and one foot that holds the bottom (DirectoryList.tsx).
|
|
13732
|
+
*
|
|
13733
|
+
* NO FRAME OF ITS OWN. The list draws on the column it is placed in, its lines
|
|
13734
|
+
* on the hover and selected grounds alone, so it never makes a box inside a
|
|
13735
|
+
* box; the foot's hairline is the one rule it draws.
|
|
13736
|
+
*/
|
|
13737
|
+
|
|
13738
|
+
.crewlet-directory {
|
|
13739
|
+
display: flex;
|
|
13740
|
+
flex-direction: column;
|
|
13741
|
+
gap: var(--spacing-2);
|
|
13742
|
+
min-width: 0;
|
|
13743
|
+
min-height: 0;
|
|
13744
|
+
height: 100%;
|
|
13745
|
+
font-family: var(--font-family-sans);
|
|
13746
|
+
}
|
|
13747
|
+
|
|
13748
|
+
/* The groups take the room and scroll on their own, so the foot stays put. */
|
|
13749
|
+
.crewlet-directory__groups {
|
|
13750
|
+
display: flex;
|
|
13751
|
+
flex: 1 1 auto;
|
|
13752
|
+
flex-direction: column;
|
|
13753
|
+
gap: var(--spacing-5);
|
|
13754
|
+
min-height: 0;
|
|
13755
|
+
overflow-y: auto;
|
|
13756
|
+
}
|
|
13757
|
+
|
|
13758
|
+
.crewlet-directory__group {
|
|
13759
|
+
display: flex;
|
|
13760
|
+
flex-direction: column;
|
|
13761
|
+
gap: var(--spacing-2);
|
|
13762
|
+
min-width: 0;
|
|
13763
|
+
}
|
|
13764
|
+
|
|
13765
|
+
.crewlet-directory__heading {
|
|
13766
|
+
margin: 0;
|
|
13767
|
+
padding: 0 var(--spacing-2);
|
|
13768
|
+
font-size: var(--font-size-xs);
|
|
13769
|
+
font-weight: var(--font-weight-semibold);
|
|
13770
|
+
letter-spacing: 0.04em;
|
|
13771
|
+
text-transform: uppercase;
|
|
13772
|
+
color: var(--color-text-tertiary);
|
|
13773
|
+
}
|
|
13774
|
+
|
|
13775
|
+
.crewlet-directory__items {
|
|
13776
|
+
display: flex;
|
|
13777
|
+
flex-direction: column;
|
|
13778
|
+
gap: 2px;
|
|
13779
|
+
margin: 0;
|
|
13780
|
+
padding: 0;
|
|
13781
|
+
list-style: none;
|
|
13782
|
+
}
|
|
13783
|
+
|
|
13784
|
+
.crewlet-directory__item {
|
|
13785
|
+
display: grid;
|
|
13786
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
13787
|
+
align-items: center;
|
|
13788
|
+
gap: var(--spacing-2);
|
|
13789
|
+
min-height: var(--size-row-md);
|
|
13790
|
+
padding: var(--spacing-1) var(--spacing-2);
|
|
13791
|
+
border-radius: var(--radius-md);
|
|
13792
|
+
color: var(--color-text-primary);
|
|
13793
|
+
font-size: var(--font-size-sm);
|
|
13794
|
+
text-decoration: none;
|
|
13795
|
+
}
|
|
13796
|
+
|
|
13797
|
+
.crewlet-directory__item:hover {
|
|
13798
|
+
background: var(--color-surface-hover);
|
|
13799
|
+
}
|
|
13800
|
+
|
|
13801
|
+
.crewlet-directory__item--selected,
|
|
13802
|
+
.crewlet-directory__item--selected:hover {
|
|
13803
|
+
background: var(--color-surface-selected);
|
|
13804
|
+
}
|
|
13805
|
+
|
|
13806
|
+
.crewlet-directory__item:focus-visible {
|
|
13807
|
+
outline: 2px solid var(--color-focus);
|
|
13808
|
+
outline-offset: 1px;
|
|
13809
|
+
}
|
|
13810
|
+
|
|
13811
|
+
.crewlet-directory__mark {
|
|
13812
|
+
display: inline-flex;
|
|
13813
|
+
flex: none;
|
|
13814
|
+
align-items: center;
|
|
13815
|
+
justify-content: center;
|
|
13816
|
+
width: var(--size-row-sm);
|
|
13817
|
+
height: var(--size-row-sm);
|
|
13818
|
+
}
|
|
13819
|
+
|
|
13820
|
+
.crewlet-directory__text {
|
|
13821
|
+
display: flex;
|
|
13822
|
+
flex-direction: column;
|
|
13823
|
+
min-width: 0;
|
|
13824
|
+
}
|
|
13825
|
+
|
|
13826
|
+
.crewlet-directory__label {
|
|
13827
|
+
overflow: hidden;
|
|
13828
|
+
font-weight: var(--font-weight-medium);
|
|
13829
|
+
text-overflow: ellipsis;
|
|
13830
|
+
white-space: nowrap;
|
|
13831
|
+
}
|
|
13832
|
+
|
|
13833
|
+
.crewlet-directory__hint {
|
|
13834
|
+
overflow: hidden;
|
|
13835
|
+
font-size: var(--font-size-xs);
|
|
13836
|
+
color: var(--color-text-tertiary);
|
|
13837
|
+
text-overflow: ellipsis;
|
|
13838
|
+
white-space: nowrap;
|
|
13839
|
+
}
|
|
13840
|
+
|
|
13841
|
+
.crewlet-directory__status {
|
|
13842
|
+
display: inline-flex;
|
|
13843
|
+
flex: none;
|
|
13844
|
+
font-size: var(--font-size-xs);
|
|
13845
|
+
color: var(--color-text-secondary);
|
|
13846
|
+
}
|
|
13847
|
+
|
|
13848
|
+
/* The foot: one small step under the groups, at the bottom of the column. */
|
|
13849
|
+
.crewlet-directory__foot {
|
|
13850
|
+
flex: none;
|
|
13851
|
+
min-width: 0;
|
|
13852
|
+
padding: var(--spacing-2) var(--spacing-2) 0;
|
|
13853
|
+
border-top: 1px solid var(--color-border-default);
|
|
13854
|
+
}
|
|
13855
|
+
|
|
13856
|
+
|
|
13710
13857
|
/* Disclosure-P4FH3C35.css */
|
|
13711
13858
|
/*
|
|
13712
13859
|
* The disclosure anatomy, declared once for every expander in the package.
|
|
@@ -15401,7 +15548,7 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
15401
15548
|
}
|
|
15402
15549
|
|
|
15403
15550
|
|
|
15404
|
-
/* IconButton-
|
|
15551
|
+
/* IconButton-K24JQHLF.css */
|
|
15405
15552
|
/*
|
|
15406
15553
|
* IconButton: a square icon-only control.
|
|
15407
15554
|
*
|
|
@@ -15520,6 +15667,27 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
15520
15667
|
background: var(--color-surface-pressed);
|
|
15521
15668
|
}
|
|
15522
15669
|
|
|
15670
|
+
/*
|
|
15671
|
+
* THE PLACE THE READER IS ON (`IconButtonLink current`): the selected
|
|
15672
|
+
* treatment a nav row draws, the lifted ground inside the default hairline,
|
|
15673
|
+
* drawn on the square's own transparent boundary so nothing moves. With an
|
|
15674
|
+
* edge to draw, its ring covers the edge, as the bordered squares' does.
|
|
15675
|
+
*/
|
|
15676
|
+
a.crewlet-icon-btn {
|
|
15677
|
+
text-decoration: none;
|
|
15678
|
+
}
|
|
15679
|
+
|
|
15680
|
+
.crewlet-icon-btn--current,
|
|
15681
|
+
.crewlet-icon-btn--current:hover {
|
|
15682
|
+
background: var(--color-surface-elevated);
|
|
15683
|
+
border-color: var(--color-border-default);
|
|
15684
|
+
color: var(--color-text-primary);
|
|
15685
|
+
}
|
|
15686
|
+
|
|
15687
|
+
.crewlet-icon-btn--current:focus-visible {
|
|
15688
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
15689
|
+
}
|
|
15690
|
+
|
|
15523
15691
|
/* ghost: transparent, neutral ink, a mild tint on hover. */
|
|
15524
15692
|
.crewlet-icon-btn--ghost {
|
|
15525
15693
|
color: var(--color-text-secondary);
|
|
@@ -17693,6 +17861,62 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
17693
17861
|
}
|
|
17694
17862
|
|
|
17695
17863
|
|
|
17864
|
+
/* ListDetail-ALKU5VJW.css */
|
|
17865
|
+
/*
|
|
17866
|
+
* ListDetail: a list beside the detail of what is chosen in it, each scrolling
|
|
17867
|
+
* on its own in the height it is given, one pane on a phone (ListDetail.tsx).
|
|
17868
|
+
*/
|
|
17869
|
+
|
|
17870
|
+
.crewlet-list-detail {
|
|
17871
|
+
display: grid;
|
|
17872
|
+
flex: 1 1 auto;
|
|
17873
|
+
grid-template-columns: var(--crewlet-list-detail-list, 17rem) minmax(0, 1fr);
|
|
17874
|
+
gap: var(--spacing-8);
|
|
17875
|
+
height: 100%;
|
|
17876
|
+
min-width: 0;
|
|
17877
|
+
min-height: 0;
|
|
17878
|
+
}
|
|
17879
|
+
|
|
17880
|
+
.crewlet-list-detail__list {
|
|
17881
|
+
display: flex;
|
|
17882
|
+
flex-direction: column;
|
|
17883
|
+
min-width: 0;
|
|
17884
|
+
min-height: 0;
|
|
17885
|
+
padding-right: var(--spacing-6);
|
|
17886
|
+
border-right: 1px solid var(--color-border-default);
|
|
17887
|
+
}
|
|
17888
|
+
|
|
17889
|
+
.crewlet-list-detail__detail {
|
|
17890
|
+
display: flex;
|
|
17891
|
+
flex-direction: column;
|
|
17892
|
+
gap: var(--spacing-5);
|
|
17893
|
+
min-width: 0;
|
|
17894
|
+
min-height: 0;
|
|
17895
|
+
overflow-y: auto;
|
|
17896
|
+
}
|
|
17897
|
+
|
|
17898
|
+
@media (width < 640px) {
|
|
17899
|
+
.crewlet-list-detail {
|
|
17900
|
+
grid-template-columns: minmax(0, 1fr);
|
|
17901
|
+
height: auto;
|
|
17902
|
+
}
|
|
17903
|
+
|
|
17904
|
+
.crewlet-list-detail__list {
|
|
17905
|
+
padding-right: 0;
|
|
17906
|
+
border-right: 0;
|
|
17907
|
+
}
|
|
17908
|
+
|
|
17909
|
+
.crewlet-list-detail__detail {
|
|
17910
|
+
overflow: visible;
|
|
17911
|
+
}
|
|
17912
|
+
|
|
17913
|
+
.crewlet-list-detail--showing-list .crewlet-list-detail__detail,
|
|
17914
|
+
.crewlet-list-detail--showing-detail .crewlet-list-detail__list {
|
|
17915
|
+
display: none;
|
|
17916
|
+
}
|
|
17917
|
+
}
|
|
17918
|
+
|
|
17919
|
+
|
|
17696
17920
|
/* ListInput-O7LJKOIG.css */
|
|
17697
17921
|
/*
|
|
17698
17922
|
* ListInput: an ordered list of sentences, written in the box at the top and
|
|
@@ -19596,7 +19820,7 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
19596
19820
|
}
|
|
19597
19821
|
|
|
19598
19822
|
|
|
19599
|
-
/* ObjectHeader-
|
|
19823
|
+
/* ObjectHeader-DNQWRGUK.css */
|
|
19600
19824
|
/*
|
|
19601
19825
|
* The header of an object: its eyebrow, its head row and its fact line.
|
|
19602
19826
|
*
|
|
@@ -19617,6 +19841,56 @@ button.crewlet-finding-list__row:focus-visible {
|
|
|
19617
19841
|
padding: var(--spacing-3) 0 var(--spacing-2);
|
|
19618
19842
|
}
|
|
19619
19843
|
|
|
19844
|
+
/*
|
|
19845
|
+
* A MARKED HEADER: the object's own mark on a plate, the catalogue tile's well
|
|
19846
|
+
* at one and a half rows, beside the column the rest of the header keeps. The
|
|
19847
|
+
* plate is the one box in the header, so the mark reads as the object's face
|
|
19848
|
+
* rather than as one more glyph in the eyebrow.
|
|
19849
|
+
*/
|
|
19850
|
+
.crewlet-object-header--marked {
|
|
19851
|
+
flex-direction: row;
|
|
19852
|
+
align-items: flex-start;
|
|
19853
|
+
gap: var(--spacing-4);
|
|
19854
|
+
}
|
|
19855
|
+
|
|
19856
|
+
.crewlet-object-header__mark {
|
|
19857
|
+
display: inline-flex;
|
|
19858
|
+
flex: none;
|
|
19859
|
+
align-items: center;
|
|
19860
|
+
justify-content: center;
|
|
19861
|
+
width: calc(var(--size-row-lg) * 1.5);
|
|
19862
|
+
height: calc(var(--size-row-lg) * 1.5);
|
|
19863
|
+
border-radius: var(--radius-lg);
|
|
19864
|
+
background: var(--color-surface-elevated);
|
|
19865
|
+
border: 1px solid var(--color-border-default);
|
|
19866
|
+
}
|
|
19867
|
+
|
|
19868
|
+
.crewlet-object-header--peek .crewlet-object-header__mark {
|
|
19869
|
+
width: var(--size-row-lg);
|
|
19870
|
+
height: var(--size-row-lg);
|
|
19871
|
+
border-radius: var(--radius-md);
|
|
19872
|
+
}
|
|
19873
|
+
|
|
19874
|
+
.crewlet-object-header__body {
|
|
19875
|
+
display: flex;
|
|
19876
|
+
flex: 1 1 auto;
|
|
19877
|
+
flex-direction: column;
|
|
19878
|
+
gap: var(--spacing-1);
|
|
19879
|
+
min-width: 0;
|
|
19880
|
+
}
|
|
19881
|
+
|
|
19882
|
+
@media (width < 640px) {
|
|
19883
|
+
.crewlet-object-header--marked {
|
|
19884
|
+
gap: var(--spacing-3);
|
|
19885
|
+
}
|
|
19886
|
+
|
|
19887
|
+
.crewlet-object-header--marked .crewlet-object-header__mark {
|
|
19888
|
+
width: var(--size-row-lg);
|
|
19889
|
+
height: var(--size-row-lg);
|
|
19890
|
+
border-radius: var(--radius-md);
|
|
19891
|
+
}
|
|
19892
|
+
}
|
|
19893
|
+
|
|
19620
19894
|
.crewlet-object-header__eyebrow {
|
|
19621
19895
|
display: flex;
|
|
19622
19896
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
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.43.0",
|
|
46
|
+
"@crewlethq/tokens": "0.43.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
2
1
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
2
|
+
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import { CREWLET_CHARACTERS, CREWLET_CHARACTER_GEOMETRY } from '@crewlethq/icons/characters';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|