@crewlethq/ui 0.187.0 → 0.188.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 +12 -0
- package/dist/ArrangeList/index.js +2 -2
- package/dist/DataGrid/index.js +2 -2
- package/dist/DeepWorkCard/index.js +2 -2
- package/dist/DocTabsEditor/index.js +2 -2
- package/dist/LimitMeters/LimitMeters.d.ts +11 -4
- package/dist/LimitMeters/index.js +3 -1
- package/dist/{LimitMeters-HDEBOATH.css → LimitMeters-MZKIPOJX.css} +11 -4
- package/dist/ListInput/index.js +2 -2
- package/dist/Meter/Meter.d.ts +15 -16
- package/dist/Meter/index.d.ts +2 -2
- package/dist/Meter/index.js +1 -1
- package/dist/OrgTable/index.js +4 -4
- package/dist/Reorder/ReorderHandle.d.ts +13 -0
- package/dist/Reorder/index.d.ts +3 -0
- package/dist/Reorder/index.js +9 -1
- package/dist/ReorderHandle-CT5OMUSR.css +9 -0
- package/dist/RichEditor/index.js +1 -1
- package/dist/SlideFilmstrip/index.js +2 -2
- package/dist/StatCard/StatCard.d.ts +1 -0
- package/dist/StatCard/index.js +1 -1
- package/dist/TreeGrid/index.js +3 -3
- package/dist/UtilizationDiagram/UtilizationDiagram.d.ts +33 -0
- package/dist/UtilizationDiagram/index.d.ts +3 -0
- package/dist/UtilizationDiagram/index.js +6 -0
- package/dist/UtilizationDiagram-IYB6TTZY.css +59 -0
- package/dist/{chunk-JMBPMSNI.js → chunk-4FO6WWYW.js} +21 -1
- package/dist/chunk-5DABULI2.js +118 -0
- package/dist/{chunk-26G3D2L6.js → chunk-E7GZKGDY.js} +1 -1
- package/dist/{chunk-DPDOQJWH.js → chunk-GQL2XQTS.js} +1 -1
- package/dist/{chunk-4ASS2GXQ.js → chunk-HJ63EXMY.js} +1 -1
- package/dist/{chunk-RYTE4I55.js → chunk-IKGEOJEA.js} +1 -1
- package/dist/{chunk-MXOT2CWL.js → chunk-JEFGH3AQ.js} +17 -9
- package/dist/{chunk-72AZMU55.js → chunk-MD5KDF7W.js} +1 -1
- package/dist/{chunk-KKEVX2PD.js → chunk-ROVOM5MS.js} +20 -12
- package/dist/{chunk-W3YTURNG.js → chunk-VGGEVVIT.js} +1 -1
- package/dist/{chunk-5MPQ657T.js → chunk-Z3FXGNT5.js} +1 -1
- package/dist/{chunk-O7KT5EIN.js → chunk-ZA2STYRY.js} +1 -1
- package/dist/{chunk-A4CTKERL.js → chunk-ZDHQ5ZDT.js} +1 -1
- package/dist/{chunk-7U3OHBGV.js → chunk-ZX6E6DSB.js} +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +37 -36
- package/dist/index.js +37 -36
- package/dist/styles.css +86 -5
- package/package.json +3 -3
- package/dist/{Editor-WFP2MM6M.js → Editor-NFC7HEWU.js} +1 -1
- /package/dist/{chunk-7ZBJ7YTF.js → chunk-LE7SVMCB.js} +0 -0
package/dist/styles.css
CHANGED
|
@@ -28590,7 +28590,7 @@ a.crewlet-icon-btn {
|
|
|
28590
28590
|
|
|
28591
28591
|
|
|
28592
28592
|
|
|
28593
|
-
/* LimitMeters-
|
|
28593
|
+
/* LimitMeters-MZKIPOJX.css */
|
|
28594
28594
|
/* A stack of limit windows: label, bar, figure and note line up across rows. */
|
|
28595
28595
|
|
|
28596
28596
|
.crewlet-limit-meters {
|
|
@@ -28601,6 +28601,8 @@ a.crewlet-icon-btn {
|
|
|
28601
28601
|
/* Inline-size containment gives no intrinsic width, so 12rem stands in for it in a content-sized
|
|
28602
28602
|
column; no minimum, so a narrower cell shrinks the stack instead of the figures overflowing it. */
|
|
28603
28603
|
contain-intrinsic-inline-size: 12rem;
|
|
28604
|
+
/* The width it is given, in a flex cell too: there the stand-in alone made it 12rem in any cell. */
|
|
28605
|
+
inline-size: 100%;
|
|
28604
28606
|
min-width: 0;
|
|
28605
28607
|
font-size: var(--font-size-xs);
|
|
28606
28608
|
line-height: var(--font-line-height-snug);
|
|
@@ -28624,11 +28626,16 @@ a.crewlet-icon-btn {
|
|
|
28624
28626
|
--crewlet-limit-meters-tone: var(--color-text-tertiary);
|
|
28625
28627
|
}
|
|
28626
28628
|
|
|
28627
|
-
|
|
28629
|
+
/* Green inside the limit, yellow from the warning line, red at the limit (LimitMeters.tsx). */
|
|
28630
|
+
.crewlet-limit-meters__window[data-tone='success'] {
|
|
28631
|
+
--crewlet-limit-meters-tone: var(--color-feedback-success);
|
|
28632
|
+
}
|
|
28633
|
+
|
|
28634
|
+
.crewlet-limit-meters__window[data-tone='warning'] {
|
|
28628
28635
|
--crewlet-limit-meters-tone: var(--color-feedback-warning);
|
|
28629
28636
|
}
|
|
28630
28637
|
|
|
28631
|
-
.crewlet-limit-meters__window[data-
|
|
28638
|
+
.crewlet-limit-meters__window[data-tone='danger'] {
|
|
28632
28639
|
--crewlet-limit-meters-tone: var(--color-feedback-danger);
|
|
28633
28640
|
}
|
|
28634
28641
|
|
|
@@ -28679,11 +28686,11 @@ a.crewlet-icon-btn {
|
|
|
28679
28686
|
color: var(--color-text-primary);
|
|
28680
28687
|
}
|
|
28681
28688
|
|
|
28682
|
-
.crewlet-limit-meters__window[data-
|
|
28689
|
+
.crewlet-limit-meters__window[data-tone='warning'] .crewlet-limit-meters__figure {
|
|
28683
28690
|
color: var(--color-feedback-warning-ink);
|
|
28684
28691
|
}
|
|
28685
28692
|
|
|
28686
|
-
.crewlet-limit-meters__window[data-
|
|
28693
|
+
.crewlet-limit-meters__window[data-tone='danger'] .crewlet-limit-meters__figure {
|
|
28687
28694
|
color: var(--color-feedback-danger-ink);
|
|
28688
28695
|
}
|
|
28689
28696
|
|
|
@@ -37600,6 +37607,18 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
37600
37607
|
}
|
|
37601
37608
|
|
|
37602
37609
|
|
|
37610
|
+
/* ReorderHandle-CT5OMUSR.css */
|
|
37611
|
+
/* The grip an item is dragged by (ReorderHandle.tsx). */
|
|
37612
|
+
.crewlet-reorder-handle {
|
|
37613
|
+
cursor: grab;
|
|
37614
|
+
color: var(--color-text-tertiary);
|
|
37615
|
+
}
|
|
37616
|
+
|
|
37617
|
+
.crewlet-reorder-handle:active {
|
|
37618
|
+
cursor: grabbing;
|
|
37619
|
+
}
|
|
37620
|
+
|
|
37621
|
+
|
|
37603
37622
|
/* ResizeHandle-W6GA5OO6.css */
|
|
37604
37623
|
/*
|
|
37605
37624
|
* The grip between a panel and the page beside it (`ResizeHandle`).
|
|
@@ -53708,6 +53727,68 @@ svg.crewlet-time-window__tick {
|
|
|
53708
53727
|
}
|
|
53709
53728
|
|
|
53710
53729
|
|
|
53730
|
+
/* UtilizationDiagram-IYB6TTZY.css */
|
|
53731
|
+
/* A utilization strategy as looping usage bars (UtilizationDiagram.tsx). */
|
|
53732
|
+
.crewlet-utilization-diagram {
|
|
53733
|
+
display: inline-flex;
|
|
53734
|
+
flex-direction: column;
|
|
53735
|
+
justify-content: center;
|
|
53736
|
+
gap: var(--spacing-2);
|
|
53737
|
+
box-sizing: border-box;
|
|
53738
|
+
inline-size: var(--crewlet-utilization-diagram-width, 6.75rem);
|
|
53739
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
53740
|
+
border-radius: var(--radius-md);
|
|
53741
|
+
background: var(--color-surface-subtle);
|
|
53742
|
+
}
|
|
53743
|
+
|
|
53744
|
+
.crewlet-utilization-diagram__lane {
|
|
53745
|
+
display: flex;
|
|
53746
|
+
align-items: center;
|
|
53747
|
+
gap: var(--spacing-1);
|
|
53748
|
+
}
|
|
53749
|
+
|
|
53750
|
+
.crewlet-utilization-diagram__n {
|
|
53751
|
+
min-inline-size: 1ch;
|
|
53752
|
+
font-size: var(--font-size-2xs);
|
|
53753
|
+
font-weight: var(--font-weight-semibold);
|
|
53754
|
+
font-variant-numeric: tabular-nums;
|
|
53755
|
+
line-height: 1;
|
|
53756
|
+
color: var(--color-text-tertiary);
|
|
53757
|
+
}
|
|
53758
|
+
|
|
53759
|
+
.crewlet-utilization-diagram__track {
|
|
53760
|
+
position: relative;
|
|
53761
|
+
flex: 1;
|
|
53762
|
+
block-size: 6px;
|
|
53763
|
+
border-radius: var(--radius-pill);
|
|
53764
|
+
background: var(--color-border-default);
|
|
53765
|
+
overflow: hidden;
|
|
53766
|
+
}
|
|
53767
|
+
|
|
53768
|
+
.crewlet-utilization-diagram__fill {
|
|
53769
|
+
position: absolute;
|
|
53770
|
+
inset: 0;
|
|
53771
|
+
border-radius: var(--radius-pill);
|
|
53772
|
+
transform: scaleX(0);
|
|
53773
|
+
transform-origin: left center;
|
|
53774
|
+
background: var(--color-feedback-success);
|
|
53775
|
+
}
|
|
53776
|
+
|
|
53777
|
+
.crewlet-utilization-diagram__fill[data-tone='warning'] {
|
|
53778
|
+
background: var(--color-feedback-warning);
|
|
53779
|
+
}
|
|
53780
|
+
|
|
53781
|
+
.crewlet-utilization-diagram__fill[data-tone='danger'] {
|
|
53782
|
+
background: var(--color-feedback-danger);
|
|
53783
|
+
}
|
|
53784
|
+
|
|
53785
|
+
@media (forced-colors: active) {
|
|
53786
|
+
.crewlet-utilization-diagram__fill {
|
|
53787
|
+
background: CanvasText;
|
|
53788
|
+
}
|
|
53789
|
+
}
|
|
53790
|
+
|
|
53791
|
+
|
|
53711
53792
|
/* ValueField-JK7JPVR6.css */
|
|
53712
53793
|
/*
|
|
53713
53794
|
* ValueField: a labelled value with the control its kind needs.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.188.1",
|
|
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.
|
|
47
|
-
"@crewlethq/tokens": "0.
|
|
46
|
+
"@crewlethq/icons": "0.188.1",
|
|
47
|
+
"@crewlethq/tokens": "0.188.1",
|
|
48
48
|
"prosemirror-commands": "1.7.2",
|
|
49
49
|
"prosemirror-gapcursor": "1.4.1",
|
|
50
50
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { schema, readMarkdown, writeMarkdown } from './chunk-7XGDMXC5.js';
|
|
2
1
|
import { richEditorLabels } from './chunk-DGXHQMNP.js';
|
|
2
|
+
import { schema, readMarkdown, writeMarkdown } from './chunk-7XGDMXC5.js';
|
|
3
3
|
import './chunk-KOJPDCGQ.js';
|
|
4
4
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
5
5
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KMTOGF6T.js';
|
|
File without changes
|