@crewlethq/ui 0.167.0 → 0.167.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/ArrangeFrame/ArrangeFrame.d.ts +2 -1
  2. package/dist/ArrangeFrame/index.js +1 -1
  3. package/dist/{ArrangeFrame-QCQZ5RF6.css → ArrangeFrame-7B6PUS37.css} +4 -2
  4. package/dist/ArtifactCard/index.js +2 -2
  5. package/dist/AttentionList/index.js +2 -2
  6. package/dist/AuthLayout/index.js +2 -2
  7. package/dist/BriefCard/index.js +3 -3
  8. package/dist/Card/index.js +1 -1
  9. package/dist/{Card-EORTFWTB.css → Card-6UEMEFS2.css} +5 -1
  10. package/dist/DataGrid/index.js +1 -1
  11. package/dist/{DataGrid-XX6ALDIM.css → DataGrid-4VKA5IZO.css} +14 -0
  12. package/dist/DeepWorkCard/index.js +3 -3
  13. package/dist/EntityList/index.js +3 -3
  14. package/dist/FolderTile/index.js +2 -2
  15. package/dist/OpenInAppCard/index.js +3 -3
  16. package/dist/OrgTable/index.js +3 -3
  17. package/dist/ProposalCard/index.js +3 -3
  18. package/dist/RailList/index.js +2 -2
  19. package/dist/{RailList-N2ZBPRM2.css → RailList-PXWNLVOJ.css} +20 -0
  20. package/dist/RefusalCard/index.js +3 -3
  21. package/dist/RelatedRow/index.js +2 -2
  22. package/dist/ResultTableCard/index.js +3 -3
  23. package/dist/SettingsTable/index.js +1 -1
  24. package/dist/StatusCard/index.js +2 -2
  25. package/dist/TreeGrid/index.js +2 -2
  26. package/dist/{chunk-E7KRB77B.js → chunk-354NVZ6M.js} +1 -1
  27. package/dist/{chunk-BZ76OASK.js → chunk-ARIYL6YO.js} +2 -2
  28. package/dist/{chunk-4VJ5UZIK.js → chunk-ESZXGC4P.js} +1 -1
  29. package/dist/{chunk-TI5YZW4L.js → chunk-HK56AQTT.js} +1 -1
  30. package/dist/{chunk-3O4F5HPW.js → chunk-IK4JRQZP.js} +1 -1
  31. package/dist/{chunk-GI4THYUT.js → chunk-KL3BX2KM.js} +1 -1
  32. package/dist/{chunk-3FPDM4V7.js → chunk-LPOUIGTP.js} +1 -1
  33. package/dist/{chunk-M3IXEZLG.js → chunk-MQNN7UYR.js} +1 -1
  34. package/dist/{chunk-B4Y3LD2I.js → chunk-N7M5ILWP.js} +1 -1
  35. package/dist/{chunk-GCUJCO3W.js → chunk-OU6O6CFN.js} +1 -1
  36. package/dist/{chunk-DH6SZD6T.js → chunk-OYTJ4AWU.js} +1 -1
  37. package/dist/{chunk-3GIGAGEG.js → chunk-PGLERBQT.js} +1 -1
  38. package/dist/{chunk-ZPLAR53E.js → chunk-ROMQFKKG.js} +1 -1
  39. package/dist/{chunk-MCYS3HLW.js → chunk-S2YWBTWN.js} +1 -1
  40. package/dist/{chunk-HHYFL2GH.js → chunk-THCLP7TT.js} +1 -1
  41. package/dist/{chunk-VZS7B3XR.js → chunk-VEIJ5IOK.js} +1 -1
  42. package/dist/{chunk-2LVAA4JM.js → chunk-VLDDTLZ3.js} +1 -1
  43. package/dist/{chunk-4BBS3XU2.js → chunk-VYYBR3X2.js} +1 -1
  44. package/dist/{chunk-DSKPTCYM.js → chunk-W3BVLXE6.js} +1 -1
  45. package/dist/{chunk-MKKUM4AR.js → chunk-Y2WNFKMF.js} +1 -1
  46. package/dist/generated/index.js +48 -48
  47. package/dist/index.js +48 -48
  48. package/dist/styles.css +47 -7
  49. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -2242,7 +2242,7 @@ button.crewlet-account-row__who:focus-visible {
2242
2242
  }
2243
2243
 
2244
2244
 
2245
- /* ArrangeFrame-QCQZ5RF6.css */
2245
+ /* ArrangeFrame-7B6PUS37.css */
2246
2246
  /*
2247
2247
  * ArrangeFrame: a block of a page being arranged.
2248
2248
  *
@@ -2277,10 +2277,12 @@ button.crewlet-account-row__who:focus-visible {
2277
2277
  min-height: 0;
2278
2278
  }
2279
2279
 
2280
- /* A height of the reader's: the content scrolls inside it. */
2280
+ /* A height of the reader's: the content scrolls inside it, and the wheel
2281
+ passes to the page at its ends (vertical `contain` held it even over a block
2282
+ whose content fits). Sideways it stays, so a swipe never turns the page back. */
2281
2283
  .crewlet-arrange-frame.is-fixed-height .crewlet-arrange-frame__content > * {
2282
2284
  overflow: auto;
2283
- overscroll-behavior: contain;
2285
+ overscroll-behavior-x: contain;
2284
2286
  }
2285
2287
 
2286
2288
  /* ---- Editing ---------------------------------------------------------- */
@@ -8353,7 +8355,7 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
8353
8355
  }
8354
8356
 
8355
8357
 
8356
- /* Card-EORTFWTB.css */
8358
+ /* Card-6UEMEFS2.css */
8357
8359
  /*
8358
8360
  * Card, THE surface. Everything on a screen is a card, a row inside one, or a
8359
8361
  * control.
@@ -8474,9 +8476,13 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
8474
8476
  * makes the header's hairline and a table's own corners follow the radius
8475
8477
  * instead of crossing it. A chosen card's edge and fill survive the clip
8476
8478
  * because they are its own border and background.
8479
+ *
8480
+ * `clip`, not `hidden`: no scroll container, so a sticky head inside sticks
8481
+ * to the page and a card held shorter than its content never scrolls itself.
8482
+ * To cap a flush card's height, scroll a Body inside it, never the card.
8477
8483
  */
8478
8484
  .crewlet-card--flush {
8479
- overflow: hidden;
8485
+ overflow: clip;
8480
8486
  }
8481
8487
 
8482
8488
  /* ---- The inset scale ---------------------------------------------------- */
@@ -15841,7 +15847,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15841
15847
  }
15842
15848
 
15843
15849
 
15844
- /* DataGrid-XX6ALDIM.css */
15850
+ /* DataGrid-4VKA5IZO.css */
15845
15851
  /*
15846
15852
  * DataGrid: a list as columns, one track list on the grid.
15847
15853
  *
@@ -15904,6 +15910,20 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15904
15910
  border-top: 0;
15905
15911
  }
15906
15912
 
15913
+ /* A card given the grid with `padding="none"` and no slots does not clip, so
15914
+ the grid keeps the card's corners where it reaches them and its own clip
15915
+ rounds the head and rows off there; on the card's top edge it adds no rule. */
15916
+ .crewlet-card--p-none:not(.crewlet-card--flush) > .crewlet-data-grid:first-child {
15917
+ border-top: 0;
15918
+ border-top-left-radius: inherit;
15919
+ border-top-right-radius: inherit;
15920
+ }
15921
+
15922
+ .crewlet-card--p-none:not(.crewlet-card--flush) > .crewlet-data-grid:last-child {
15923
+ border-bottom-left-radius: inherit;
15924
+ border-bottom-right-radius: inherit;
15925
+ }
15926
+
15907
15927
  /* A full-width band by default: the head, the body, the foot, the reset and
15908
15928
  the empty state, which is the one child when the grid carries no tracks. */
15909
15929
  .crewlet-data-grid > * {
@@ -35674,7 +35694,7 @@ button.crewlet-presence-stack__member:focus-visible {
35674
35694
  }
35675
35695
 
35676
35696
 
35677
- /* RailList-N2ZBPRM2.css */
35697
+ /* RailList-PXWNLVOJ.css */
35678
35698
  /*
35679
35699
  * RailList: a directory in a card, a rail of groups beside the chosen
35680
35700
  * group's list, folding into a picker where the card is narrow
@@ -35754,6 +35774,17 @@ button.crewlet-presence-stack__member:focus-visible {
35754
35774
  border-top: 0;
35755
35775
  }
35756
35776
 
35777
+ /* The list's grid takes the card's inner curve where it meets the card: its
35778
+ bottom end corner, and its top end one while no bar stands over it. The
35779
+ grid clips itself, so its head and rows stop at the curve. */
35780
+ .crewlet-rail-list__list > .crewlet-data-grid:last-child {
35781
+ border-end-end-radius: calc(var(--radius-lg) - 1px);
35782
+ }
35783
+
35784
+ .crewlet-rail-list__bar--picker-only + .crewlet-rail-list__body > .crewlet-rail-list__list > .crewlet-data-grid:first-child {
35785
+ border-start-end-radius: calc(var(--radius-lg) - 1px);
35786
+ }
35787
+
35757
35788
  /* Under the rail's room the list takes the card, and the picker takes the rail's place in the bar. */
35758
35789
  @container crewlet-rail-list (width < 44rem) {
35759
35790
  .crewlet-rail-list__body {
@@ -35764,6 +35795,15 @@ button.crewlet-presence-stack__member:focus-visible {
35764
35795
  display: none;
35765
35796
  }
35766
35797
 
35798
+ /* Folded, the list spans the card's bottom, and the picker's bar stands over it. */
35799
+ .crewlet-rail-list__list > .crewlet-data-grid:last-child {
35800
+ border-end-start-radius: calc(var(--radius-lg) - 1px);
35801
+ }
35802
+
35803
+ .crewlet-rail-list__bar--picker-only + .crewlet-rail-list__body > .crewlet-rail-list__list > .crewlet-data-grid:first-child {
35804
+ border-start-end-radius: 0;
35805
+ }
35806
+
35767
35807
  .crewlet-rail-list__picker {
35768
35808
  display: inline-flex;
35769
35809
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.167.0",
3
+ "version": "0.167.2",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,8 +43,8 @@
43
43
  "clean": "rm -rf dist src/generated"
44
44
  },
45
45
  "dependencies": {
46
- "@crewlethq/icons": "0.167.0",
47
- "@crewlethq/tokens": "0.167.0",
46
+ "@crewlethq/icons": "0.167.2",
47
+ "@crewlethq/tokens": "0.167.2",
48
48
  "prosemirror-commands": "1.7.2",
49
49
  "prosemirror-gapcursor": "1.4.1",
50
50
  "prosemirror-history": "1.5.1",