@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.
- package/README.md +70 -2
- package/dist/Accordion/index.js +1 -1
- package/dist/AgentHandoffPanel/index.js +2 -2
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-JBCZSSX3.css → AppShell-NDU4XMGF.css} +39 -6
- package/dist/ArtifactBar/index.js +1 -1
- package/dist/{ArtifactBar-FWPBBKQ5.css → ArtifactBar-6PGWGKN2.css} +13 -1
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/ArtifactMakeRow/ArtifactMakeRow.d.ts +3 -1
- package/dist/ArtifactMakeRow/index.js +1 -1
- package/dist/{ArtifactMakeRow-W3RD5YWZ.css → ArtifactMakeRow-6UX2LTF7.css} +43 -5
- package/dist/AuthLayout/index.js +2 -2
- package/dist/Card/Card.d.ts +14 -2
- package/dist/Card/index.js +1 -1
- package/dist/{Card-QOVASQNU.css → Card-JR2UPQH7.css} +63 -0
- package/dist/CatalogTile/CatalogTile.d.ts +47 -0
- package/dist/CatalogTile/index.d.ts +3 -0
- package/dist/CatalogTile/index.js +3 -0
- package/dist/CatalogTile-TGR2ZZVQ.css +131 -0
- package/dist/CodeBlock/index.js +1 -1
- package/dist/{CodeBlock-GYNJ2HI6.css → CodeBlock-N5ETJF24.css} +13 -0
- package/dist/CommandPalette/index.js +2 -2
- package/dist/DataTable/index.js +2 -2
- package/dist/DataView/index.js +3 -3
- package/dist/DatasetSource/DatasetSource.d.ts +7 -1
- package/dist/DatasetSource/index.js +2 -2
- package/dist/DescriptionList/DescriptionList.d.ts +12 -1
- package/dist/DescriptionList/index.js +1 -1
- package/dist/{DescriptionList-IXMRCSMK.css → DescriptionList-DEZISDLQ.css} +8 -1
- package/dist/Disclosure/index.js +1 -1
- package/dist/{Disclosure-VKBJJIZ7.css → Disclosure-P4FH3C35.css} +28 -2
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/List/List.d.ts +8 -0
- package/dist/List/index.js +1 -1
- package/dist/{List-MYJIV6MP.css → List-YHLIZFK4.css} +46 -0
- package/dist/ListInput/ListInput.d.ts +9 -1
- package/dist/ListInput/index.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/{Modal-7MWRCWAI.css → Modal-TOEWHDCQ.css} +5 -0
- package/dist/ObjectHeader/index.js +1 -1
- package/dist/{ObjectHeader-D7GU7QNI.css → ObjectHeader-ZOS22FKX.css} +7 -8
- package/dist/PricingCard/index.js +2 -2
- package/dist/SettingsTable/SettingsTable.d.ts +66 -0
- package/dist/SettingsTable/index.d.ts +3 -0
- package/dist/SettingsTable/index.js +3 -0
- package/dist/SettingsTable-6DUFAFXG.css +160 -0
- package/dist/ShareDialog/index.js +2 -2
- package/dist/SheetGrid/index.js +2 -2
- package/dist/StatCard/index.js +1 -1
- package/dist/{StatCard-4T7TMWMN.css → StatCard-HAA3F5GX.css} +8 -3
- package/dist/StatGroup/StatGroup.d.ts +11 -7
- package/dist/StatGroup/index.js +1 -1
- package/dist/StatGroup-ZMW7VQWP.css +195 -0
- package/dist/Switcher/index.js +2 -2
- package/dist/TableCells/index.js +2 -2
- package/dist/Tag/index.js +1 -1
- package/dist/{Tag-SRGTK5KI.css → Tag-2DQOVE6W.css} +15 -5
- package/dist/TagsInput/index.js +2 -2
- package/dist/TileGrid/TileGrid.d.ts +33 -0
- package/dist/TileGrid/index.d.ts +3 -0
- package/dist/TileGrid/index.js +2 -0
- package/dist/TileGrid-I6LNYD2H.css +52 -0
- package/dist/{chunk-YSG3DW7W.js → chunk-3TXY3PJZ.js} +1 -1
- package/dist/{chunk-K4VP6ZKE.js → chunk-4BJK7FE5.js} +1 -1
- package/dist/chunk-4RKTZSEW.js +64 -0
- package/dist/{chunk-3SBM4DGI.js → chunk-BH52LIY6.js} +1 -1
- package/dist/{chunk-HDHZWIFL.js → chunk-DYB66CNM.js} +16 -2
- package/dist/{chunk-A23KDROH.js → chunk-FXBGEANQ.js} +1 -1
- package/dist/{chunk-HMLAWVG6.js → chunk-HQJ24WPM.js} +5 -3
- package/dist/{chunk-SVGARBDY.js → chunk-IAGYPTEJ.js} +2 -2
- package/dist/{chunk-5QXRI35B.js → chunk-INHXF2CL.js} +24 -11
- package/dist/{chunk-6NNY5WBF.js → chunk-JKAGN4V4.js} +1 -1
- package/dist/{chunk-DZSBFITC.js → chunk-JZPK4IXR.js} +1 -1
- package/dist/{chunk-UWRBD2YO.js → chunk-KNHUBHFX.js} +1 -1
- package/dist/{chunk-GFV4LJHH.js → chunk-KYIAFNU7.js} +1 -1
- package/dist/{chunk-F2XSYBKH.js → chunk-MFS6F2P7.js} +4 -1
- package/dist/{chunk-NRBAXRWE.js → chunk-N3TFYBN3.js} +1 -1
- package/dist/chunk-NNTO3TNC.js +9 -0
- package/dist/{chunk-DS2C73RJ.js → chunk-NZWX27J7.js} +2 -2
- package/dist/{chunk-VGE3G3T4.js → chunk-ODOJJGXH.js} +1 -1
- package/dist/{chunk-MICH6QSJ.js → chunk-OGXHZHRX.js} +1 -1
- package/dist/{chunk-JXRI5YD2.js → chunk-OUD75UB2.js} +2 -1
- package/dist/{chunk-MG3HTY6F.js → chunk-QRKT4XTT.js} +1 -1
- package/dist/{chunk-NS4NSHVX.js → chunk-R2IBCEU6.js} +12 -2
- package/dist/{chunk-WX2NIG4G.js → chunk-S4DREXGM.js} +1 -1
- package/dist/{chunk-GDDE4UM7.js → chunk-SEC2GR2V.js} +1 -1
- package/dist/{chunk-S27UBCVX.js → chunk-TZYFTC4M.js} +1 -1
- package/dist/{chunk-OHA6WSAG.js → chunk-U2XAJONO.js} +1 -1
- package/dist/{chunk-DQSXWQMJ.js → chunk-U3ILLCR2.js} +1 -1
- package/dist/{chunk-DOLATMGF.js → chunk-WYYCPV46.js} +5 -0
- package/dist/{chunk-A72JPXIV.js → chunk-XGBUUQDU.js} +1 -1
- package/dist/chunk-XNXK5MA4.js +48 -0
- package/dist/{chunk-XO7PUL4F.js → chunk-YPTTSJPM.js} +1 -1
- package/dist/{chunk-RIAZM6L3.js → chunk-ZNOXQACX.js} +1 -1
- package/dist/generated/index.d.ts +3 -0
- package/dist/generated/index.js +56 -53
- package/dist/index.js +56 -53
- package/dist/styles.css +782 -64
- package/package.json +3 -3
- package/dist/StatGroup-PADTJCUQ.css +0 -86
- /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.
|
|
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.
|
|
46
|
-
"@crewlethq/tokens": "0.
|
|
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
|