@crewlethq/ui 0.37.1 → 0.39.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.
Files changed (101) hide show
  1. package/README.md +70 -2
  2. package/dist/Accordion/index.js +1 -1
  3. package/dist/AgentHandoffPanel/index.js +2 -2
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell-JBCZSSX3.css → AppShell-NDU4XMGF.css} +39 -6
  6. package/dist/ArtifactBar/index.js +1 -1
  7. package/dist/{ArtifactBar-FWPBBKQ5.css → ArtifactBar-6PGWGKN2.css} +13 -1
  8. package/dist/ArtifactCard/index.js +2 -2
  9. package/dist/ArtifactMakeRow/ArtifactMakeRow.d.ts +3 -1
  10. package/dist/ArtifactMakeRow/index.js +1 -1
  11. package/dist/{ArtifactMakeRow-W3RD5YWZ.css → ArtifactMakeRow-6UX2LTF7.css} +43 -5
  12. package/dist/AuthLayout/index.js +2 -2
  13. package/dist/Card/Card.d.ts +14 -2
  14. package/dist/Card/index.js +1 -1
  15. package/dist/{Card-QOVASQNU.css → Card-JR2UPQH7.css} +63 -0
  16. package/dist/CatalogTile/CatalogTile.d.ts +47 -0
  17. package/dist/CatalogTile/index.d.ts +3 -0
  18. package/dist/CatalogTile/index.js +3 -0
  19. package/dist/CatalogTile-TGR2ZZVQ.css +131 -0
  20. package/dist/CodeBlock/index.js +1 -1
  21. package/dist/{CodeBlock-GYNJ2HI6.css → CodeBlock-N5ETJF24.css} +13 -0
  22. package/dist/CommandPalette/index.js +2 -2
  23. package/dist/DataTable/index.js +2 -2
  24. package/dist/DataView/index.js +3 -3
  25. package/dist/DatasetSource/DatasetSource.d.ts +7 -1
  26. package/dist/DatasetSource/index.js +2 -2
  27. package/dist/DescriptionList/DescriptionList.d.ts +12 -1
  28. package/dist/DescriptionList/index.js +1 -1
  29. package/dist/{DescriptionList-IXMRCSMK.css → DescriptionList-DEZISDLQ.css} +8 -1
  30. package/dist/Disclosure/index.js +1 -1
  31. package/dist/{Disclosure-VKBJJIZ7.css → Disclosure-P4FH3C35.css} +28 -2
  32. package/dist/LinkInterstitial/index.js +2 -2
  33. package/dist/List/List.d.ts +8 -0
  34. package/dist/List/index.js +1 -1
  35. package/dist/{List-MYJIV6MP.css → List-YHLIZFK4.css} +46 -0
  36. package/dist/ListInput/ListInput.d.ts +9 -1
  37. package/dist/ListInput/index.js +1 -1
  38. package/dist/Modal/index.js +1 -1
  39. package/dist/{Modal-7MWRCWAI.css → Modal-TOEWHDCQ.css} +5 -0
  40. package/dist/ObjectHeader/index.js +1 -1
  41. package/dist/{ObjectHeader-D7GU7QNI.css → ObjectHeader-ZOS22FKX.css} +7 -8
  42. package/dist/PricingCard/index.js +2 -2
  43. package/dist/SettingsTable/SettingsTable.d.ts +66 -0
  44. package/dist/SettingsTable/index.d.ts +3 -0
  45. package/dist/SettingsTable/index.js +3 -0
  46. package/dist/SettingsTable-6DUFAFXG.css +160 -0
  47. package/dist/ShareDialog/index.js +2 -2
  48. package/dist/SheetGrid/index.js +2 -2
  49. package/dist/StatCard/index.js +1 -1
  50. package/dist/{StatCard-4T7TMWMN.css → StatCard-HAA3F5GX.css} +8 -3
  51. package/dist/StatGroup/StatGroup.d.ts +11 -7
  52. package/dist/StatGroup/index.js +1 -1
  53. package/dist/StatGroup-ZMW7VQWP.css +195 -0
  54. package/dist/Switcher/index.js +2 -2
  55. package/dist/TableCells/index.js +2 -2
  56. package/dist/Tag/index.js +1 -1
  57. package/dist/{Tag-SRGTK5KI.css → Tag-2DQOVE6W.css} +15 -5
  58. package/dist/TagsInput/index.js +2 -2
  59. package/dist/TileGrid/TileGrid.d.ts +33 -0
  60. package/dist/TileGrid/index.d.ts +3 -0
  61. package/dist/TileGrid/index.js +2 -0
  62. package/dist/TileGrid-I6LNYD2H.css +52 -0
  63. package/dist/{chunk-YSG3DW7W.js → chunk-3TXY3PJZ.js} +1 -1
  64. package/dist/{chunk-K4VP6ZKE.js → chunk-4BJK7FE5.js} +1 -1
  65. package/dist/chunk-4RKTZSEW.js +64 -0
  66. package/dist/{chunk-3SBM4DGI.js → chunk-BH52LIY6.js} +1 -1
  67. package/dist/{chunk-HDHZWIFL.js → chunk-DYB66CNM.js} +16 -2
  68. package/dist/{chunk-A23KDROH.js → chunk-FXBGEANQ.js} +1 -1
  69. package/dist/{chunk-HMLAWVG6.js → chunk-HQJ24WPM.js} +5 -3
  70. package/dist/{chunk-SVGARBDY.js → chunk-IAGYPTEJ.js} +2 -2
  71. package/dist/{chunk-5QXRI35B.js → chunk-INHXF2CL.js} +24 -11
  72. package/dist/{chunk-6NNY5WBF.js → chunk-JKAGN4V4.js} +1 -1
  73. package/dist/{chunk-DZSBFITC.js → chunk-JZPK4IXR.js} +1 -1
  74. package/dist/{chunk-UWRBD2YO.js → chunk-KNHUBHFX.js} +1 -1
  75. package/dist/{chunk-GFV4LJHH.js → chunk-KYIAFNU7.js} +1 -1
  76. package/dist/{chunk-F2XSYBKH.js → chunk-MFS6F2P7.js} +4 -1
  77. package/dist/{chunk-NRBAXRWE.js → chunk-N3TFYBN3.js} +1 -1
  78. package/dist/chunk-NNTO3TNC.js +9 -0
  79. package/dist/{chunk-DS2C73RJ.js → chunk-NZWX27J7.js} +2 -2
  80. package/dist/{chunk-VGE3G3T4.js → chunk-ODOJJGXH.js} +1 -1
  81. package/dist/{chunk-MICH6QSJ.js → chunk-OGXHZHRX.js} +1 -1
  82. package/dist/{chunk-JXRI5YD2.js → chunk-OUD75UB2.js} +2 -1
  83. package/dist/{chunk-MG3HTY6F.js → chunk-QRKT4XTT.js} +1 -1
  84. package/dist/{chunk-NS4NSHVX.js → chunk-R2IBCEU6.js} +12 -2
  85. package/dist/{chunk-WX2NIG4G.js → chunk-S4DREXGM.js} +1 -1
  86. package/dist/{chunk-GDDE4UM7.js → chunk-SEC2GR2V.js} +1 -1
  87. package/dist/{chunk-S27UBCVX.js → chunk-TZYFTC4M.js} +1 -1
  88. package/dist/{chunk-OHA6WSAG.js → chunk-U2XAJONO.js} +1 -1
  89. package/dist/{chunk-DQSXWQMJ.js → chunk-U3ILLCR2.js} +1 -1
  90. package/dist/{chunk-DOLATMGF.js → chunk-WYYCPV46.js} +5 -0
  91. package/dist/{chunk-A72JPXIV.js → chunk-XGBUUQDU.js} +1 -1
  92. package/dist/chunk-XNXK5MA4.js +48 -0
  93. package/dist/{chunk-XO7PUL4F.js → chunk-YPTTSJPM.js} +1 -1
  94. package/dist/{chunk-RIAZM6L3.js → chunk-ZNOXQACX.js} +1 -1
  95. package/dist/generated/index.d.ts +3 -0
  96. package/dist/generated/index.js +56 -53
  97. package/dist/index.js +56 -53
  98. package/dist/styles.css +782 -64
  99. package/package.json +3 -3
  100. package/dist/StatGroup-PADTJCUQ.css +0 -86
  101. /package/dist/{chunk-4QQ3MND5.js → chunk-QRLIWCLX.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.37.1",
3
+ "version": "0.39.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.37.1",
46
- "@crewlethq/tokens": "0.37.1",
45
+ "@crewlethq/icons": "0.39.0",
46
+ "@crewlethq/tokens": "0.39.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,86 +0,0 @@
1
- /*
2
- * A row of stat tiles.
3
- *
4
- * ITS COLUMN COUNT NEVER MOVES with its contents. A grid that reflowed as
5
- * tiles appeared and vanished moved every number on the page for a reason that
6
- * had nothing to do with the numbers, which is exactly what a reader watching
7
- * a live board is trying not to have happen.
8
- */
9
-
10
- .crewlet-stat-group {
11
- display: grid;
12
- grid-template-columns: repeat(var(--crewlet-stat-group-cols, 4), minmax(0, 1fr));
13
- /* The flush-panel recipe: the card's surface, its hairline and its 12px
14
- corner, flat as every card is, and `overflow: hidden`, which is what lets
15
- the tiles inside sit against the corners without their own hairlines
16
- escaping past them. */
17
- background: var(--color-surface-subtle);
18
- border: 1px solid var(--color-border-default);
19
- border-radius: var(--radius-lg);
20
- overflow: hidden;
21
- }
22
-
23
- /* Inside another card: the card's surface and edge are the row's. */
24
- .crewlet-stat-group--flush {
25
- background: transparent;
26
- border: 0;
27
- border-radius: var(--radius-none);
28
- }
29
-
30
- /*
31
- * A tile inside the row brings no surface of its own, whether or not its
32
- * caller remembered `flush`. The group draws one card and the hairlines
33
- * inside it, so a tile that kept its own border and radius is a card inside
34
- * a card: a box inside a box, which is what the reader sees.
35
- *
36
- * TWO CLASSES, NOT :where(). Written as `> :where(.crewlet-statcard)` this
37
- * weighed exactly what the tile's own `.crewlet-statcard` rule weighs, so
38
- * which one painted was settled by whichever stylesheet the bundler put
39
- * last. It put the tile's last, and every tile in every group drew its own
40
- * border, its own 12px corner and its own surface inside the group's.
41
- * Naming both classes settles it by weight, which no import order can undo.
42
- */
43
- .crewlet-stat-group > .crewlet-statcard {
44
- background: transparent;
45
- border: 0;
46
- border-radius: var(--radius-none);
47
- }
48
-
49
- /*
50
- * A hairline between columns, drawn on the tile that follows one.
51
- *
52
- * NAMED TWICE, ON PURPOSE. The rule above clears the tile's own border and
53
- * weighs two classes, so a one-class selector here loses to it and the row
54
- * of numbers runs together with nothing between the columns. The first
55
- * selector matches whatever a caller puts in the row; the second weighs the
56
- * same as the rule it has to beat, and sits after it.
57
- */
58
- .crewlet-stat-group > * + *,
59
- .crewlet-stat-group > .crewlet-statcard + .crewlet-statcard {
60
- border-left: 1px solid var(--color-border-default);
61
- }
62
-
63
- /*
64
- * Two columns under the shell breakpoint, which is where the engine drops its
65
- * own stat row, and strictly under it, as the shell switches. The step is
66
- * 1024px, a 236px rail, the 8px inset and a 780px floor for the sheet, and it
67
- * is the width at which the shell stops holding the page beside the rail. The
68
- * rules are written for the general case rather than per column count: the
69
- * first tile of each pair loses its left hairline, and everything on the
70
- * second row and below gains a top one.
71
- */
72
- @media (width < 1024px) {
73
- .crewlet-stat-group {
74
- grid-template-columns: repeat(2, minmax(0, 1fr));
75
- }
76
-
77
- .crewlet-stat-group > *:nth-child(odd),
78
- .crewlet-stat-group > .crewlet-statcard:nth-child(odd) {
79
- border-left: 0;
80
- }
81
-
82
- .crewlet-stat-group > *:nth-child(n + 3),
83
- .crewlet-stat-group > .crewlet-statcard:nth-child(n + 3) {
84
- border-top: 1px solid var(--color-border-default);
85
- }
86
- }
File without changes