@crewlethq/ui 0.49.1 → 0.51.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 +34 -0
- package/dist/ArtifactCard/index.js +1 -1
- package/dist/{ArtifactCard-SOB63NV5.css → ArtifactCard-F7IVRL3A.css} +3 -0
- package/dist/AvatarPicker/index.js +2 -2
- package/dist/BrandSample/index.js +3 -3
- package/dist/BrandScope/index.js +2 -2
- package/dist/Callout/index.js +1 -1
- package/dist/{Callout-ZAVG3P66.css → Callout-G3N3IE6M.css} +9 -0
- package/dist/ColorChip/ColorChip.d.ts +26 -0
- package/dist/ColorChip/index.d.ts +3 -0
- package/dist/ColorChip/index.js +3 -0
- package/dist/ColorChip-A5XHTH3J.css +46 -0
- package/dist/ColorField/ColorField.d.ts +16 -8
- package/dist/ColorField/index.js +2 -2
- package/dist/ColorSwatch/index.js +2 -2
- package/dist/ContrastBadge/ContrastBadge.d.ts +38 -3
- package/dist/ContrastBadge/index.d.ts +2 -2
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/ContrastHelp.d.ts +40 -0
- package/dist/ContrastHelp/index.d.ts +3 -0
- package/dist/ContrastHelp/index.js +12 -0
- package/dist/ContrastHelp-MZCAW5WQ.css +43 -0
- package/dist/DataView/index.js +2 -2
- package/dist/EditingStatus/EditingStatus.d.ts +13 -1
- package/dist/EditingStatus/index.js +3 -1
- package/dist/{EditingStatus-NNA2CKIL.css → EditingStatus-YU7EGM6Y.css} +22 -7
- package/dist/FolderTile/index.js +1 -1
- package/dist/{FolderTile-FDT5Y63Z.css → FolderTile-MIUEB7SO.css} +12 -5
- package/dist/FollowBanner/index.js +2 -2
- package/dist/InlineEditor/index.js +4 -2
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/ListInput/ListInput.d.ts +3 -1
- package/dist/ListInput/index.js +1 -1
- package/dist/{ListInput-WUP2YITQ.css → ListInput-P2ECUQJ2.css} +1 -1
- package/dist/LogoSlot/index.js +3 -3
- package/dist/RichEditor/index.js +2 -2
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/SetupWizard/SetupWizard.d.ts +87 -0
- package/dist/SetupWizard/index.d.ts +3 -0
- package/dist/SetupWizard/index.js +11 -0
- package/dist/SetupWizard-GZK5UDKC.css +223 -0
- package/dist/ShareDialog/index.js +2 -2
- package/dist/Stepper/Stepper.d.ts +60 -11
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/Stepper-QEJI5RGX.css +355 -0
- package/dist/{chunk-ITI2Z44C.js → chunk-2UFUP2ZH.js} +2 -2
- package/dist/{chunk-4A4QG6UC.js → chunk-34C7NYIQ.js} +1 -1
- package/dist/chunk-6GTTRJWJ.js +24 -0
- package/dist/{chunk-7P336RA5.js → chunk-6RMZH7P7.js} +1 -1
- package/dist/{chunk-W6FOEBIL.js → chunk-73WHPLWQ.js} +24 -15
- package/dist/chunk-7W3LYIOC.js +27 -0
- package/dist/{chunk-OEEYL2CM.js → chunk-AVMQMY66.js} +2 -2
- package/dist/{chunk-SZZRIHGT.js → chunk-BPCY7ZID.js} +1 -1
- package/dist/chunk-DTSZUH6H.js +124 -0
- package/dist/chunk-EJWPYEG4.js +38 -0
- package/dist/{chunk-M4QM477B.js → chunk-FXHWOXGD.js} +1 -1
- package/dist/{chunk-7PCDKRNB.js → chunk-KHP7TJF7.js} +2 -2
- package/dist/chunk-KIRQZG3G.js +53 -0
- package/dist/chunk-LDGQIDIZ.js +129 -0
- package/dist/{chunk-JFDIMO3A.js → chunk-PGYIDNGG.js} +1 -1
- package/dist/{chunk-WLSEAIVC.js → chunk-RHPBTE3F.js} +1 -1
- package/dist/{chunk-Q44X36QC.js → chunk-S63QOMXC.js} +1 -1
- package/dist/{chunk-GP4YWZFO.js → chunk-U3LNU4B2.js} +1 -1
- package/dist/{chunk-PGR2PKH6.js → chunk-UUTEWGO6.js} +10 -10
- package/dist/{chunk-356JNSER.js → chunk-WQQ5T5SA.js} +1 -1
- package/dist/{chunk-B235ANDO.js → chunk-WW7TU6HE.js} +34 -16
- package/dist/{chunk-P3OIM6OC.js → chunk-X7WEE3EK.js} +1 -1
- package/dist/generated/index.d.ts +3 -0
- package/dist/generated/index.js +76 -73
- package/dist/index.js +76 -73
- package/dist/styles.css +564 -30
- package/dist/utils/hexColour.d.ts +13 -0
- package/package.json +3 -3
- package/dist/Stepper-HW4JM3YH.css +0 -176
- package/dist/chunk-5QWIJSQM.js +0 -73
- package/dist/chunk-MULOZYHL.js +0 -30
- package/dist/chunk-UZMNR366.js +0 -9
- package/dist/{Editor-ZYDXHGJE.js → Editor-MLGK3KOG.js} +1 -1
- package/dist/{chunk-3QSKDZR5.js → chunk-EW2N4FOD.js} +1 -1
- package/dist/{chunk-3WMOEGEL.js → chunk-P432I5DQ.js} +0 -0
- package/dist/{chunk-NAWUXCBC.js → chunk-WX6IJJ4U.js} +1 -1
|
@@ -10,3 +10,16 @@
|
|
|
10
10
|
* engine stores, so a value read back compares equal to the value written.
|
|
11
11
|
*/
|
|
12
12
|
export declare function normalizeHex(value: string | null | undefined): string | null;
|
|
13
|
+
/**
|
|
14
|
+
* A colour as a person types or pastes it, read into the one stored spelling
|
|
15
|
+
* (`#` and six lowercase hex digits), or null for anything else.
|
|
16
|
+
*
|
|
17
|
+
* Taken: `#rrggbb` and `rrggbb`, the three digit shorthand with or without
|
|
18
|
+
* its `#` (each digit doubled), and `rgb(r, g, b)` or `rgb(r g b)` with each
|
|
19
|
+
* channel a whole number from 0 to 255. Refused: the eight and four digit
|
|
20
|
+
* forms (a stored brand colour has no alpha), percentages, names and every
|
|
21
|
+
* other notation, so what is stored is never a value a stylesheet would read
|
|
22
|
+
* as something else. The result passes `normalizeHex`, the gate every brand
|
|
23
|
+
* part reads a colour through.
|
|
24
|
+
*/
|
|
25
|
+
export declare function parseColourInput(value: string | null | undefined): string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.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.51.0",
|
|
46
|
+
"@crewlethq/tokens": "0.51.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The stepper: where a sequence has got to (Stepper.tsx).
|
|
3
|
-
*
|
|
4
|
-
* THE APPROVED DESIGN'S STEP ROW. Each step is a 20px pill inside the default
|
|
5
|
-
* hairline, the 11px step at the medium weight, 8px inside each end and 5px
|
|
6
|
-
* between a mark and the word; two pills are joined by a 10px rule in the
|
|
7
|
-
* strong hairline's colour with 6px either side of it. A finished step is the
|
|
8
|
-
* secondary ink behind a check, the current step its tone's soft tint under
|
|
9
|
-
* its ink behind its dot, and a step still to come the tertiary ink.
|
|
10
|
-
*
|
|
11
|
-
* EVERY INK IS A MEASURED PAIR. The secondary and tertiary steps are held to
|
|
12
|
-
* 4.5:1 on every opaque rung, and each tone's ink to 4.5:1 on its own soft
|
|
13
|
-
* tint over every rung, by the palette suite in @crewlethq/tokens; the pill
|
|
14
|
-
* draws nothing else. The current pill is the design's `work-soft` under
|
|
15
|
-
* `work-ink` in the default tone, and a Tag's colours in every tone, which is
|
|
16
|
-
* what a chip naming a state is in this kit.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
.crewlet-stepper {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-wrap: wrap;
|
|
22
|
-
align-items: center;
|
|
23
|
-
/* The design's 6px between a pill and the rule beside it: a step and a half. */
|
|
24
|
-
gap: calc(var(--spacing-1) * 1.5);
|
|
25
|
-
min-width: 0;
|
|
26
|
-
margin: 0;
|
|
27
|
-
padding: 0;
|
|
28
|
-
list-style: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.crewlet-stepper__step {
|
|
32
|
-
display: inline-flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
gap: calc(var(--spacing-1) * 1.5);
|
|
35
|
-
min-width: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/*
|
|
39
|
-
* THE RULE BETWEEN TWO STEPS is drawn by the second of them, so a sequence of
|
|
40
|
-
* one draws none and nothing trails the last. A pseudo-element, because it is
|
|
41
|
-
* furniture: it carries nothing a reader has to be told, and the list already
|
|
42
|
-
* says the steps are in order. 10px by a hairline, the measure of this one
|
|
43
|
-
* mark, and fixed at every density as a hairline is.
|
|
44
|
-
*/
|
|
45
|
-
.crewlet-stepper__step + .crewlet-stepper__step::before {
|
|
46
|
-
content: '';
|
|
47
|
-
flex: none;
|
|
48
|
-
width: 10px;
|
|
49
|
-
height: 1px;
|
|
50
|
-
background: var(--color-border-strong);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.crewlet-stepper__chip {
|
|
54
|
-
display: inline-flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
/* The design's 5px between the check or the dot and the word. */
|
|
57
|
-
gap: calc(var(--spacing-1) * 1.25);
|
|
58
|
-
box-sizing: border-box;
|
|
59
|
-
/* The design's 20px pill, which follows the density with every other step
|
|
60
|
-
height in the kit. It labels and takes no press, so the 24px target floor
|
|
61
|
-
is not its to clear. */
|
|
62
|
-
height: calc(20px * var(--density, 1));
|
|
63
|
-
max-width: 100%;
|
|
64
|
-
padding: 0 var(--spacing-2);
|
|
65
|
-
border: 1px solid var(--color-border-default);
|
|
66
|
-
border-radius: var(--radius-pill);
|
|
67
|
-
color: var(--color-text-tertiary);
|
|
68
|
-
font-family: var(--font-family-sans);
|
|
69
|
-
font-size: var(--font-size-2xs);
|
|
70
|
-
font-weight: var(--font-weight-medium);
|
|
71
|
-
line-height: 1;
|
|
72
|
-
white-space: nowrap;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.crewlet-stepper__label {
|
|
76
|
-
min-width: 0;
|
|
77
|
-
overflow: hidden;
|
|
78
|
-
text-overflow: ellipsis;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.crewlet-stepper__check {
|
|
82
|
-
flex: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.crewlet-stepper__step--done > .crewlet-stepper__chip {
|
|
86
|
-
color: var(--color-text-secondary);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/*
|
|
90
|
-
* THE CURRENT STEP, in its tone. The hairline goes transparent rather than
|
|
91
|
-
* away, so the pill keeps its box and the row does not move by a pixel as the
|
|
92
|
-
* current step advances along it, and so forced-colors mode, which draws a
|
|
93
|
-
* transparent border in the system's own colour, still outlines it.
|
|
94
|
-
*/
|
|
95
|
-
.crewlet-stepper--info .crewlet-stepper__step--current > .crewlet-stepper__chip {
|
|
96
|
-
border-color: transparent;
|
|
97
|
-
background: var(--color-feedback-info-soft);
|
|
98
|
-
color: var(--color-feedback-info-ink);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.crewlet-stepper--success .crewlet-stepper__step--current > .crewlet-stepper__chip {
|
|
102
|
-
border-color: transparent;
|
|
103
|
-
background: var(--color-feedback-success-soft);
|
|
104
|
-
color: var(--color-feedback-success-ink);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.crewlet-stepper--warning .crewlet-stepper__step--current > .crewlet-stepper__chip {
|
|
108
|
-
border-color: transparent;
|
|
109
|
-
background: var(--color-feedback-warning-soft);
|
|
110
|
-
color: var(--color-feedback-warning-ink);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.crewlet-stepper--danger .crewlet-stepper__step--current > .crewlet-stepper__chip {
|
|
114
|
-
border-color: transparent;
|
|
115
|
-
background: var(--color-feedback-danger-soft);
|
|
116
|
-
color: var(--color-feedback-danger-ink);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.crewlet-stepper--brand .crewlet-stepper__step--current > .crewlet-stepper__chip {
|
|
120
|
-
border-color: transparent;
|
|
121
|
-
background: var(--color-brand-accent-soft);
|
|
122
|
-
color: var(--color-brand-accent-ink);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/*
|
|
126
|
-
* INSIDE THE PILL THE DOT IS THE PILL'S OWN INK, as a Tag's is, and for the
|
|
127
|
-
* Tag's reason: StatusDot paints the fill step, measured as a mark on the
|
|
128
|
-
* opaque rungs, and here it stands on the tone's soft tint instead, where
|
|
129
|
-
* nothing measures it. The ink is the step that IS measured on that tint, at
|
|
130
|
-
* 4.5:1, and the colour of the word beside it. A pulsing dot keeps
|
|
131
|
-
* StatusDot's halo, the same soft step drawn once more over the pill, which
|
|
132
|
-
* stands dE 3.92 off it at the least (the light warning pill on the frame).
|
|
133
|
-
*
|
|
134
|
-
* Two classes deep, so it beats StatusDot's own tone rule whichever order the
|
|
135
|
-
* bundle writes the two files in.
|
|
136
|
-
*/
|
|
137
|
-
.crewlet-stepper .crewlet-stepper__dot {
|
|
138
|
-
background: currentColor;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/*
|
|
142
|
-
* FORCED COLORS repaints every background to Canvas, which takes the current
|
|
143
|
-
* step's tint and its dot, so the one step the row is about would read like
|
|
144
|
-
* any other. The current pill is drawn as the system draws a selection,
|
|
145
|
-
* HighlightText on Highlight, with its dot in the same ink, and the rule
|
|
146
|
-
* between two steps in GrayText; the chips' hairlines are borders, which the
|
|
147
|
-
* mode keeps in its own colour.
|
|
148
|
-
*
|
|
149
|
-
* THE CURRENT PILL OPTS OUT OF THE ADJUSTMENT, which is safe only because
|
|
150
|
-
* every colour it draws in that mode is a system colour. Left to it, Chromium
|
|
151
|
-
* paints a Canvas backplate behind every run of text, and HighlightText is
|
|
152
|
-
* written for Highlight, not for Canvas: in a dark high-contrast theme the
|
|
153
|
-
* step's words drew black on black (measured in Chromium 153 with the mode
|
|
154
|
-
* emulated). Opting out also keeps shadows, so the pulsing dot's halo, which
|
|
155
|
-
* is the tone's soft tint and no system colour, is held still inside it.
|
|
156
|
-
*/
|
|
157
|
-
@media (forced-colors: active) {
|
|
158
|
-
.crewlet-stepper .crewlet-stepper__step--current > .crewlet-stepper__chip {
|
|
159
|
-
forced-color-adjust: none;
|
|
160
|
-
border-color: Highlight;
|
|
161
|
-
background: Highlight;
|
|
162
|
-
color: HighlightText;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.crewlet-stepper .crewlet-stepper__dot {
|
|
166
|
-
background: HighlightText;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.crewlet-stepper .crewlet-stepper__dot.is-pulsing::after {
|
|
170
|
-
animation: none;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.crewlet-stepper__step + .crewlet-stepper__step::before {
|
|
174
|
-
background: GrayText;
|
|
175
|
-
}
|
|
176
|
-
}
|
package/dist/chunk-5QWIJSQM.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
2
|
-
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
3
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './Stepper-HW4JM3YH.css';
|
|
5
|
-
import { CheckGlyph } from '@crewlethq/icons/glyphs';
|
|
6
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
|
-
|
|
8
|
-
function Stepper({
|
|
9
|
-
steps,
|
|
10
|
-
current,
|
|
11
|
-
label,
|
|
12
|
-
tone = "info",
|
|
13
|
-
pulse = false,
|
|
14
|
-
doneLabel = "Done",
|
|
15
|
-
className,
|
|
16
|
-
...rest
|
|
17
|
-
}) {
|
|
18
|
-
const seen = /* @__PURE__ */ new Set();
|
|
19
|
-
for (const step of steps) {
|
|
20
|
-
if (seen.has(step.id)) throw new RangeError(`Stepper step ids must be unique; "${step.id}" is used twice`);
|
|
21
|
-
seen.add(step.id);
|
|
22
|
-
}
|
|
23
|
-
const at = current === null ? steps.length : steps.findIndex((step) => step.id === current);
|
|
24
|
-
if (at < 0) {
|
|
25
|
-
throw new RangeError(
|
|
26
|
-
`Stepper current must be the id of one of its steps, or null once every step is done; "${current}" is not one of ${steps.map((step) => `"${step.id}"`).join(", ")}`
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
if (steps.length === 0) return null;
|
|
30
|
-
const stateOf = (index) => index < at ? "done" : index === at ? "current" : "later";
|
|
31
|
-
return (
|
|
32
|
-
/*
|
|
33
|
-
* `role="list"` although an `ol` already has one, which is why the lint
|
|
34
|
-
* rule that calls it redundant is silenced here rather than obeyed, as
|
|
35
|
-
* `Legend` and `DiffList` silence it: the stylesheet takes the markers off,
|
|
36
|
-
* and WebKit answers a marker-less list as a group of paragraphs, so a
|
|
37
|
-
* reader would no longer be told how many steps there are before hearing
|
|
38
|
-
* them. The role puts that back.
|
|
39
|
-
*/
|
|
40
|
-
// eslint-disable-next-line jsx-a11y/no-redundant-roles
|
|
41
|
-
/* @__PURE__ */ jsx(
|
|
42
|
-
"ol",
|
|
43
|
-
{
|
|
44
|
-
...rest,
|
|
45
|
-
role: "list",
|
|
46
|
-
className: cx("crewlet-stepper", `crewlet-stepper--${tone}`, className),
|
|
47
|
-
"aria-label": label,
|
|
48
|
-
children: steps.map((step, index) => {
|
|
49
|
-
const state = stateOf(index);
|
|
50
|
-
return /* @__PURE__ */ jsx(
|
|
51
|
-
"li",
|
|
52
|
-
{
|
|
53
|
-
className: cx("crewlet-stepper__step", `crewlet-stepper__step--${state}`),
|
|
54
|
-
"aria-current": state === "current" ? "step" : void 0,
|
|
55
|
-
children: /* @__PURE__ */ jsxs("span", { className: "crewlet-stepper__chip", children: [
|
|
56
|
-
state === "done" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
57
|
-
/* @__PURE__ */ jsx(CheckGlyph, { size: "xs", className: "crewlet-stepper__check" }),
|
|
58
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: doneLabel }),
|
|
59
|
-
" "
|
|
60
|
-
] }) : null,
|
|
61
|
-
state === "current" ? /* @__PURE__ */ jsx(StatusDot, { tone, pulse, className: "crewlet-stepper__dot" }) : null,
|
|
62
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-stepper__label", children: step.label })
|
|
63
|
-
] })
|
|
64
|
-
},
|
|
65
|
-
step.id
|
|
66
|
-
);
|
|
67
|
-
})
|
|
68
|
-
}
|
|
69
|
-
)
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export { Stepper };
|
package/dist/chunk-MULOZYHL.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-BZFWDIV6.js';
|
|
2
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './EditingStatus-NNA2CKIL.css';
|
|
4
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var LABELS = {
|
|
7
|
-
editing: "Editing",
|
|
8
|
-
unsaved: "Unsaved changes",
|
|
9
|
-
saving: "Saving"
|
|
10
|
-
};
|
|
11
|
-
function EditingStatus({ dirty, saving = false, labels, className }) {
|
|
12
|
-
const text = { ...LABELS, ...labels };
|
|
13
|
-
const state = saving ? text.saving : dirty ? text.unsaved : null;
|
|
14
|
-
return /* @__PURE__ */ jsxs(
|
|
15
|
-
"span",
|
|
16
|
-
{
|
|
17
|
-
role: "status",
|
|
18
|
-
"aria-live": "polite",
|
|
19
|
-
className: cx("crewlet-editing-status", dirty && "crewlet-editing-status--dirty", className),
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-editing-status__dot", "aria-hidden": "true" }),
|
|
22
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-editing-status__label", children: text.editing }),
|
|
23
|
-
state && /* @__PURE__ */ jsx(VisuallyHidden, { children: ", " }),
|
|
24
|
-
state && /* @__PURE__ */ jsx("span", { className: "crewlet-editing-status__state", children: state })
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { EditingStatus };
|
package/dist/chunk-UZMNR366.js
DELETED
|
@@ -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-EXRRTKWT.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HuePicker } from './chunk-34RMTXDZ.js';
|
|
2
2
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
3
|
-
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
4
3
|
import { CharacterPicker } from './chunk-SNQRGH4A.js';
|
|
4
|
+
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
5
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './AvatarPicker-PREY36MG.css';
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-DKB73KZI.js';
|
|
2
|
-
import { DateTimePicker } from './chunk-ZFM5L7M4.js';
|
|
3
2
|
import { DataTable } from './chunk-WQ7S7CKZ.js';
|
|
3
|
+
import { DateTimePicker } from './chunk-ZFM5L7M4.js';
|
|
4
4
|
import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
5
5
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
6
6
|
import { Popover } from './chunk-KHJIEPZV.js';
|