@crewlethq/ui 0.65.1 → 0.66.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 +8 -0
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-LZQA3XU4.css → AppShell-2IBUS4TH.css} +6 -1
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/ChatThread/ChatThread.d.ts +9 -0
- package/dist/ChatThread/index.js +1 -1
- package/dist/{ChatThread-FGXVDLI2.css → ChatThread-2KO3FZKQ.css} +12 -9
- package/dist/CommentThread/index.js +2 -2
- package/dist/DataView/index.js +2 -2
- package/dist/DatasetSource/index.js +2 -2
- package/dist/EditingStatus/index.js +2 -2
- package/dist/InlineEditor/index.js +3 -3
- package/dist/ProposalCard/ProposalCard.d.ts +58 -1
- package/dist/ProposalCard/index.d.ts +2 -2
- package/dist/ProposalCard/index.js +8 -1
- package/dist/{ProposalCard-VTTCDXYK.css → ProposalCard-SF332W4E.css} +22 -0
- package/dist/RelativeTime/index.js +1 -1
- package/dist/RichEditor/index.js +1 -1
- package/dist/SetupWizard/index.js +2 -2
- package/dist/StatusCard/StatusCard.d.ts +10 -3
- package/dist/TableCells/index.js +2 -2
- package/dist/VersionTimeline/index.js +2 -2
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/{chunk-FZUDUNCK.js → chunk-2AQMXGWA.js} +63 -6
- package/dist/{chunk-UBIPDEFV.js → chunk-3EETQFAM.js} +2 -2
- package/dist/{chunk-DS5NBENV.js → chunk-BVNFNFA6.js} +1 -1
- package/dist/{chunk-F2IYVVA3.js → chunk-D2ZXIQ23.js} +31 -4
- package/dist/{chunk-L6NG7CUA.js → chunk-EJNJMHQG.js} +1 -1
- package/dist/{chunk-E55DKVY7.js → chunk-GJ7VIQWL.js} +1 -1
- package/dist/{chunk-NWTHGZBH.js → chunk-GNDKUSCG.js} +1 -1
- package/dist/{chunk-XGBGEI6V.js → chunk-J5BIKMQY.js} +1 -1
- package/dist/{chunk-VVOFJFRT.js → chunk-QBWNGNF7.js} +1 -1
- package/dist/{chunk-VRG2ZXNK.js → chunk-R6K62EXV.js} +1 -1
- package/dist/{chunk-4EDSEX7U.js → chunk-S5QJZOPL.js} +1 -1
- package/dist/{chunk-DKJJ434E.js → chunk-UBJ32EO2.js} +1 -1
- package/dist/{chunk-B76OKJMX.js → chunk-VLGGLLKH.js} +1 -1
- package/dist/{chunk-SRSE7FGL.js → chunk-WPMZKZUH.js} +1 -1
- package/dist/generated/index.js +32 -32
- package/dist/index.js +32 -32
- package/dist/styles.css +43 -13
- package/package.json +3 -3
- package/dist/{Editor-NZRUKWB4.js → Editor-URGZOK2S.js} +1 -1
- package/dist/{chunk-R2YHKVWN.js → chunk-SBHAKX2T.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
}
|
|
755
755
|
|
|
756
756
|
|
|
757
|
-
/* AppShell-
|
|
757
|
+
/* AppShell-2IBUS4TH.css */
|
|
758
758
|
/*
|
|
759
759
|
* The application frame: a rail on the FRAME, and the screen on a SHEET that
|
|
760
760
|
* floats beside it.
|
|
@@ -816,7 +816,12 @@
|
|
|
816
816
|
past it. A page that can also scroll as a whole carries the rail off the
|
|
817
817
|
top of the window. */
|
|
818
818
|
height: 100dvh;
|
|
819
|
-
overflow: hidden
|
|
819
|
+
/* CLIPPED, NOT SCROLLABLE. `overflow: hidden` is still a scroll container:
|
|
820
|
+
a focus or a scrollIntoView on anything that reaches past the viewport
|
|
821
|
+
scrolled the whole shell up, the frame showing as a band under it, and
|
|
822
|
+
nothing a reader could do scrolled it back. `clip` cuts the same edge
|
|
823
|
+
and offers nothing to scroll (SidePanel's flush body, the same rule). */
|
|
824
|
+
overflow: clip;
|
|
820
825
|
/* The FRAME, the lowest rung: what the rail stands on and what shows round
|
|
821
826
|
the sheet's inset. */
|
|
822
827
|
background: var(--color-surface-frame);
|
|
@@ -9635,11 +9640,11 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
9635
9640
|
}
|
|
9636
9641
|
|
|
9637
9642
|
|
|
9638
|
-
/* ChatThread-
|
|
9643
|
+
/* ChatThread-2KO3FZKQ.css */
|
|
9639
9644
|
/*
|
|
9640
9645
|
* A conversation as it grows: the scroller, the items a spacing step and a
|
|
9641
|
-
* half apart on the panel's 16px inset, and the Jump to latest pill
|
|
9642
|
-
*
|
|
9646
|
+
* half apart on the panel's 16px inset, and the Jump to latest pill in a row
|
|
9647
|
+
* of its own under it.
|
|
9643
9648
|
*/
|
|
9644
9649
|
.crewlet-chat-thread {
|
|
9645
9650
|
position: relative;
|
|
@@ -9691,14 +9696,17 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
9691
9696
|
flex: none;
|
|
9692
9697
|
}
|
|
9693
9698
|
|
|
9694
|
-
/*
|
|
9699
|
+
/*
|
|
9700
|
+
* The pill, centred in a row of its own under the log. IN FLOW, NOT FLOATING:
|
|
9701
|
+
* laid over the scroller it covered the last lines of whatever was being read,
|
|
9702
|
+
* a table's rows or an answer's text. Here the log gives up the row while the
|
|
9703
|
+
* pill shows, and nothing it holds is hidden under it.
|
|
9704
|
+
*/
|
|
9695
9705
|
.crewlet-chat-thread__jump {
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
box-shadow: var(--shadow-md);
|
|
9701
|
-
border-radius: var(--radius-pill);
|
|
9706
|
+
display: flex;
|
|
9707
|
+
flex: none;
|
|
9708
|
+
justify-content: center;
|
|
9709
|
+
padding: var(--spacing-2) var(--spacing-4);
|
|
9702
9710
|
}
|
|
9703
9711
|
|
|
9704
9712
|
.crewlet-chat-thread__fresh {
|
|
@@ -27077,7 +27085,7 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
27077
27085
|
}
|
|
27078
27086
|
|
|
27079
27087
|
|
|
27080
|
-
/* ProposalCard-
|
|
27088
|
+
/* ProposalCard-SF332W4E.css */
|
|
27081
27089
|
/*
|
|
27082
27090
|
* A proposed change. The card, its head, its strip and its foot are
|
|
27083
27091
|
* StatusCard's; only the note's register is said here: the consequence is a
|
|
@@ -27098,6 +27106,28 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
27098
27106
|
text-align: end;
|
|
27099
27107
|
}
|
|
27100
27108
|
|
|
27109
|
+
/* THE DELIBERATE CONFIRMATION, on a row of its own above the decision. It
|
|
27110
|
+
starts at the foot's start edge, unlike the one-line reasons around it: a
|
|
27111
|
+
checkbox's sentence wraps under its own first line, and set at the end its
|
|
27112
|
+
lines would start in a different place each. */
|
|
27113
|
+
.crewlet-proposal-card__confirmation {
|
|
27114
|
+
flex: 1 1 100%;
|
|
27115
|
+
}
|
|
27116
|
+
|
|
27117
|
+
/* A PRIMARY THAT HAS JUST APPEARED takes no pointer for a moment (ARMING_MS
|
|
27118
|
+
in ProposalCard.tsx): no hover, and no press from a pointer that was
|
|
27119
|
+
already resting where it landed. Focus and the keyboard still reach it. */
|
|
27120
|
+
.crewlet-proposal-card__approve[data-arming] {
|
|
27121
|
+
pointer-events: none;
|
|
27122
|
+
}
|
|
27123
|
+
|
|
27124
|
+
/* THE DANGER TONE, while the decision is open: Card's rail (passed through
|
|
27125
|
+
StatusCard) and the title in the danger ink, the step the tokens measure as
|
|
27126
|
+
text, so it holds AA in every palette. The Tag keeps the state. */
|
|
27127
|
+
.crewlet-proposal-card--danger .crewlet-card__title {
|
|
27128
|
+
color: var(--color-feedback-danger-ink);
|
|
27129
|
+
}
|
|
27130
|
+
|
|
27101
27131
|
/* WHY THE LAST DECISION WAS REFUSED, on a line of its own above the
|
|
27102
27132
|
decision and at its end, as the held primary's reason is: the refusal
|
|
27103
27133
|
strip's own inline drawing, which wraps rather than widening the row. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.66.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.66.0",
|
|
46
|
+
"@crewlethq/tokens": "0.66.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { schema, readMarkdown, writeMarkdown } from './chunk-QH6VYJ3X.js';
|
|
2
1
|
import { richEditorLabels } from './chunk-CSQTDGTS.js';
|
|
2
|
+
import { schema, readMarkdown, writeMarkdown } from './chunk-QH6VYJ3X.js';
|
|
3
3
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-BAKPMH3S.js';
|
|
4
4
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
5
5
|
import { FormField, Input } from './chunk-ETSF7SU6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
1
|
import { Stepper } from './chunk-HJBHP66O.js';
|
|
2
|
+
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
3
3
|
import { Disclosure } from './chunk-222VILSP.js';
|
|
4
4
|
import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|