@crewlethq/ui 0.13.0 → 0.15.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 +42 -0
- package/dist/AppShell/AppShell.d.ts +76 -11
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +2 -2
- package/dist/{AppShell-CEVLW4QG.css → AppShell-6QUD7NWM.css} +74 -1
- package/dist/AvatarPicker/index.js +4 -4
- package/dist/Canvas/index.js +3 -3
- package/dist/Charts/StackedColumns.d.ts +30 -7
- package/dist/Charts/index.d.ts +1 -1
- package/dist/Charts/index.js +1 -1
- package/dist/{Charts-JUERFLAR.css → Charts-JYW4X5ZL.css} +18 -1
- package/dist/CommandPalette/index.js +3 -3
- package/dist/DataTable/index.js +5 -5
- package/dist/DataView/index.js +9 -9
- package/dist/DateTimePicker/index.js +3 -3
- package/dist/{DateTimePicker-4AZBTODT.css → DateTimePicker-NJ6XH2TE.css} +4 -3
- package/dist/DescriptionList/DescriptionList.d.ts +9 -1
- package/dist/DescriptionList/index.js +1 -1
- package/dist/{DescriptionList-YYY3V3O6.css → DescriptionList-IXMRCSMK.css} +24 -0
- package/dist/FactList/index.js +3 -3
- package/dist/Layer/index.js +1 -1
- package/dist/Layer-J222IFNX.css +33 -0
- package/dist/Layout/index.js +1 -1
- package/dist/{Layout-2ZCV3IGF.css → Layout-ZBEGLXAE.css} +18 -0
- package/dist/ListInput/index.js +3 -3
- package/dist/MarkdownEditor/index.js +1 -1
- package/dist/Menu/index.js +2 -2
- package/dist/Modal/index.js +2 -2
- package/dist/{Modal-3YJ2GG2T.css → Modal-RQAYGG4L.css} +1 -1
- package/dist/OrgTable/index.js +5 -5
- package/dist/Popover/index.js +2 -2
- package/dist/Select/index.js +2 -2
- package/dist/{Select-XMZ44RWY.css → Select-2P7AWUE4.css} +32 -6
- package/dist/Shortcut/index.js +1 -1
- package/dist/Switcher/index.js +5 -5
- package/dist/TagsInput/index.js +3 -3
- package/dist/TimeWindowPicker/index.js +4 -4
- package/dist/{TimeWindowPicker-GBF4JDFI.css → TimeWindowPicker-BZ5HHATU.css} +5 -4
- package/dist/Toaster/Toaster.d.ts +6 -1
- package/dist/Toaster/index.js +2 -2
- package/dist/{Toaster-KZ7YE2HA.css → Toaster-EOOOTSJT.css} +82 -87
- package/dist/Toolbar/index.js +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/TreeCanvas/index.js +4 -4
- package/dist/TreeGrid/index.js +3 -3
- package/dist/{chunk-UZPHPW3Z.js → chunk-2GXTIK37.js} +4 -4
- package/dist/{chunk-RZ7RGECB.js → chunk-2OLCUNG7.js} +1 -1
- package/dist/{chunk-JDPAA2JU.js → chunk-2UU5IGZI.js} +2 -2
- package/dist/{chunk-B2CITO6R.js → chunk-7BZPYA5P.js} +3 -3
- package/dist/{chunk-2PZBIHRV.js → chunk-AMH67MLM.js} +2 -2
- package/dist/{chunk-6LXMLQUM.js → chunk-B2Z2CDM5.js} +2 -2
- package/dist/{chunk-O2ZDZZS7.js → chunk-BWRGFKJP.js} +3 -2
- package/dist/{chunk-75WOCYGC.js → chunk-DYHSQHAZ.js} +1 -1
- package/dist/{chunk-4FFHJBEN.js → chunk-EFNHOVC2.js} +1 -1
- package/dist/{chunk-XN4JBAN3.js → chunk-F2XSYBKH.js} +8 -2
- package/dist/{chunk-XFE5W2I4.js → chunk-FC4YTTFJ.js} +14 -4
- package/dist/{chunk-L3CTFFLZ.js → chunk-H3XOMT7W.js} +53 -9
- package/dist/{chunk-7RPGY3JE.js → chunk-HMPFGIWM.js} +1 -1
- package/dist/{chunk-HKGS67VG.js → chunk-IYZZL3MZ.js} +1 -1
- package/dist/{chunk-URYDN2KA.js → chunk-JI5AVQLA.js} +1 -1
- package/dist/{chunk-CF6DTETT.js → chunk-K4VORB64.js} +2 -2
- package/dist/{chunk-S3IENQ3E.js → chunk-LCF4WPYS.js} +3 -3
- package/dist/{chunk-4WNNEDKO.js → chunk-MLT2HBPN.js} +87 -74
- package/dist/{chunk-TFH6SYWB.js → chunk-NS7BVLL3.js} +1 -1
- package/dist/{chunk-LELD5KPA.js → chunk-QH3AKP2N.js} +22 -9
- package/dist/{chunk-WY2NLRZN.js → chunk-QV266R6G.js} +3 -3
- package/dist/{chunk-CQY5NTRS.js → chunk-QWOPX2MN.js} +1 -1
- package/dist/{chunk-53DVJCVW.js → chunk-VYOKRN2I.js} +1 -1
- package/dist/{chunk-W4ENKCXJ.js → chunk-ZAC7SKUN.js} +1 -1
- package/dist/generated/index.js +33 -33
- package/dist/index.js +33 -33
- package/dist/styles.css +279 -114
- package/package.json +3 -3
- package/dist/Layer-NAFSGCFA.css +0 -23
- package/dist/{chunk-LZP7FGT7.js → chunk-GARACZAH.js} +1 -1
- package/dist/{chunk-GG2QEZO2.js → chunk-JCO3SIST.js} +1 -1
package/dist/Layer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { LAYER_GAP, LAYER_REPOSITION_EVENT, LayerHost, outsideBounds, placePopup, useLayerContainer, viewportBounds } from '../chunk-
|
|
1
|
+
export { LAYER_GAP, LAYER_REPOSITION_EVENT, LayerHost, outsideBounds, placePopup, useLayerContainer, viewportBounds } from '../chunk-HMPFGIWM.js';
|
|
2
2
|
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer } from '../chunk-R25RGPUB.js';
|
|
3
3
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The portal target a LayerHost provides.
|
|
3
|
+
*
|
|
4
|
+
* It covers its container so a surface placed against its rectangle is placed
|
|
5
|
+
* against the container, and it is inert until something is drawn in it: an
|
|
6
|
+
* empty host over a canvas must not swallow the drag that pans the canvas.
|
|
7
|
+
* Each overlay inside takes pointer events back for its own panel.
|
|
8
|
+
*
|
|
9
|
+
* Its container establishes the positioning context. A host whose parent is
|
|
10
|
+
* static covers the nearest positioned ancestor instead, which is the
|
|
11
|
+
* viewport in the common case and is still a usable bound.
|
|
12
|
+
*
|
|
13
|
+
* IT TAKES NO PLACE IN THE STACKING ORDER OF ITS OWN. Every surface drawn in
|
|
14
|
+
* it carries its own step in the layer band, its depth in the stack, and that
|
|
15
|
+
* is what decides what paints on top. A z-index here made the host a stacking
|
|
16
|
+
* context at the bottom of the band, which held everything inside it under
|
|
17
|
+
* whatever the page stacked above that step: the shell's open drawer takes
|
|
18
|
+
* the band's own steps beside the host rather than inside it, so a panel
|
|
19
|
+
* opened from the drawer was drawn under the drawer it came from. A surface
|
|
20
|
+
* at the same step as the drawer's rail, which is the next one opened above
|
|
21
|
+
* it, paints over the rail because the host follows the shell in the
|
|
22
|
+
* document.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
.crewlet-layer-host {
|
|
26
|
+
position: absolute;
|
|
27
|
+
inset: 0;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.crewlet-layer-host > * {
|
|
32
|
+
pointer-events: auto;
|
|
33
|
+
}
|
package/dist/Layout/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-
|
|
1
|
+
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -25,6 +25,24 @@
|
|
|
25
25
|
flex-direction: row;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
/*
|
|
29
|
+
* DRAWN AS A LIST, IT IS STILL A RUN OF ITEMS. A Stack or an Inline spends no
|
|
30
|
+
* pixel of its own, and a `ul` or an `ol` arrives with the browser's: a margin
|
|
31
|
+
* above and below, a 40px indent and a marker on every item, so a list of five
|
|
32
|
+
* names laid out as a Stack was pushed in and bulleted. They are taken back,
|
|
33
|
+
* and the element stays a list to a screen reader. A list that wants its
|
|
34
|
+
* markers is `List variant="bulleted"`.
|
|
35
|
+
*
|
|
36
|
+
* Inside :where(), so the rule weighs one class like every other here and a
|
|
37
|
+
* caller's own class still decides what it sets.
|
|
38
|
+
*/
|
|
39
|
+
:where(ul, ol).crewlet-stack,
|
|
40
|
+
:where(ul, ol).crewlet-inline {
|
|
41
|
+
margin: 0;
|
|
42
|
+
padding: 0;
|
|
43
|
+
list-style: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
28
46
|
/*
|
|
29
47
|
* A GRID OF CARDS KEEPS ITS TRACKS. `auto-fill` lays down every track the row
|
|
30
48
|
* has room for and leaves the empty ones empty; `auto-fit`, which this was,
|
package/dist/ListInput/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ListInput } from '../chunk-
|
|
1
|
+
export { ListInput } from '../chunk-GARACZAH.js';
|
|
2
2
|
import '../chunk-SMBKXWML.js';
|
|
3
3
|
import '../chunk-FTEJPHBI.js';
|
|
4
4
|
import '../chunk-PQADV6P6.js';
|
|
5
|
-
import '../chunk-4FQT6ZAY.js';
|
|
6
5
|
import '../chunk-RSAQOKH3.js';
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-4FQT6ZAY.js';
|
|
7
|
+
import '../chunk-HMPFGIWM.js';
|
|
8
8
|
import '../chunk-R25RGPUB.js';
|
|
9
9
|
import '../chunk-BZFWDIV6.js';
|
|
10
10
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -6,7 +6,7 @@ import '../chunk-26PEPONN.js';
|
|
|
6
6
|
import '../chunk-4LDTQWS7.js';
|
|
7
7
|
import '../chunk-CBOICT64.js';
|
|
8
8
|
import '../chunk-BHHIIK3M.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-HMPFGIWM.js';
|
|
10
10
|
import '../chunk-R25RGPUB.js';
|
|
11
11
|
import '../chunk-BZFWDIV6.js';
|
|
12
12
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Menu/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Menu } from '../chunk-
|
|
1
|
+
export { Menu } from '../chunk-NS7BVLL3.js';
|
|
2
2
|
import '../chunk-OG6CL3EB.js';
|
|
3
3
|
import '../chunk-4FQT6ZAY.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-HMPFGIWM.js';
|
|
5
5
|
import '../chunk-R25RGPUB.js';
|
|
6
6
|
import '../chunk-BZFWDIV6.js';
|
|
7
7
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Modal/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ConfirmModal, Modal } from '../chunk-
|
|
1
|
+
export { ConfirmModal, Modal } from '../chunk-K4VORB64.js';
|
|
2
2
|
import '../chunk-OG6CL3EB.js';
|
|
3
3
|
import '../chunk-PQADV6P6.js';
|
|
4
4
|
import '../chunk-4FQT6ZAY.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-HMPFGIWM.js';
|
|
6
6
|
import '../chunk-R25RGPUB.js';
|
|
7
7
|
import '../chunk-BZFWDIV6.js';
|
|
8
8
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
* padding is only the least it keeps when a title wraps. It was the 16px step
|
|
290
290
|
* while the bar was 64px, which a full control step filled exactly; at 52px
|
|
291
291
|
* the same padding stood the head 12px past the bar behind it. At the 4px step
|
|
292
|
-
* the head is the bar's height with the control step at every density,
|
|
292
|
+
* the head is the bar's height with the control step at every density, 37.12px
|
|
293
293
|
* at comfortable included, and with a subtitle under the title.
|
|
294
294
|
*
|
|
295
295
|
* It used to be the tighter band, 49px with a close control alone, and the
|
package/dist/OrgTable/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-DYHSQHAZ.js';
|
|
2
|
+
import '../chunk-B2Z2CDM5.js';
|
|
3
3
|
import '../chunk-MY374UUD.js';
|
|
4
4
|
import '../chunk-6OF2DBKY.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-VYOKRN2I.js';
|
|
6
6
|
import '../chunk-74WGARJE.js';
|
|
7
7
|
import '../chunk-4FQT6ZAY.js';
|
|
8
8
|
import '../chunk-6NIZCQUM.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-HMPFGIWM.js';
|
|
10
10
|
import '../chunk-R25RGPUB.js';
|
|
11
|
-
import '../chunk-HI6Q2UXQ.js';
|
|
12
11
|
import '../chunk-BZFWDIV6.js';
|
|
12
|
+
import '../chunk-HI6Q2UXQ.js';
|
|
13
13
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Popover/index.js
CHANGED
package/dist/Select/index.js
CHANGED
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
* into the nearest layer host and drawn with the shared listbox register, so
|
|
8
8
|
* a list of options looks the same wherever it is offered from.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* THE BOUNDARY IS A BUTTON'S, --color-border-strong, the secondary button's
|
|
11
|
+
* and the date and time-window pickers'. A picker shows its value and its
|
|
12
|
+
* chevron, and those are what a reader knows it by. --color-border-control,
|
|
13
|
+
* at 3:1, is for the controls whose outline IS the control (a text box, a
|
|
14
|
+
* checkbox, a switch; see Input.css): on a picker it drew the one bright box
|
|
15
|
+
* in a row of buttons and switchers, brighter at rest than under the pointer.
|
|
13
16
|
*/
|
|
14
17
|
|
|
15
18
|
.crewlet-select {
|
|
@@ -27,7 +30,7 @@
|
|
|
27
30
|
width: 100%;
|
|
28
31
|
min-height: var(--size-control-md);
|
|
29
32
|
background-color: var(--color-surface-subtle);
|
|
30
|
-
border: 1px solid var(--color-border-
|
|
33
|
+
border: 1px solid var(--color-border-strong);
|
|
31
34
|
border-radius: var(--radius-md);
|
|
32
35
|
color: var(--color-text-primary);
|
|
33
36
|
/* The boundary is the only thing that moves. The ring is an outline, which
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
.crewlet-select:hover {
|
|
51
|
-
border-color: var(--color-border-hover);
|
|
54
|
+
border-color: var(--color-border-strong-hover);
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
/*
|
|
@@ -197,7 +200,7 @@ svg.crewlet-select__chevron {
|
|
|
197
200
|
display: flex;
|
|
198
201
|
flex-direction: column;
|
|
199
202
|
min-width: 0;
|
|
200
|
-
max-height: var(--crewlet-select-menu-max-height);
|
|
203
|
+
max-height: min(var(--crewlet-select-menu-max-height), 60vh);
|
|
201
204
|
/*
|
|
202
205
|
* THE PANEL IS THE PRODUCT'S SURFACE, on the panel hairline, at the panel
|
|
203
206
|
* corner. A list offered from a field is another panel over the one the
|
|
@@ -224,11 +227,25 @@ svg.crewlet-select__chevron {
|
|
|
224
227
|
position: absolute;
|
|
225
228
|
}
|
|
226
229
|
|
|
230
|
+
/*
|
|
231
|
+
* THE PANEL'S HEIGHT IS THE LIST'S. The shared listbox register caps a list
|
|
232
|
+
* at min(360px, 60vh) on its own, which inside this panel made
|
|
233
|
+
* `--crewlet-select-menu-max-height` a promise it could not keep past 360px:
|
|
234
|
+
* a taller panel drew the same short list and scrolled it. Here the list
|
|
235
|
+
* fills what the panel allows, and the panel keeps the register's cap on the
|
|
236
|
+
* window (see `.crewlet-select__menu`).
|
|
237
|
+
*/
|
|
227
238
|
.crewlet-select__list {
|
|
228
239
|
flex: 1;
|
|
229
240
|
min-height: 0;
|
|
230
241
|
}
|
|
231
242
|
|
|
243
|
+
/* Scoped to the panel for the weight, as the option rules below are: the
|
|
244
|
+
register's cap is one class, and the bundle orders equal weights by hash. */
|
|
245
|
+
.crewlet-select__menu .crewlet-select__list {
|
|
246
|
+
max-height: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
232
249
|
.crewlet-select__group {
|
|
233
250
|
display: flex;
|
|
234
251
|
flex-direction: column;
|
|
@@ -290,6 +307,15 @@ svg.crewlet-select__chevron {
|
|
|
290
307
|
color: var(--color-brand-accent-ink);
|
|
291
308
|
}
|
|
292
309
|
|
|
310
|
+
/*
|
|
311
|
+
* AT THE ROW'S END in a list whose rows lead with a mark (see `tickAtEnd`),
|
|
312
|
+
* so the mark starts at the panel's edge. After a hint it follows the hint,
|
|
313
|
+
* which already takes the free space; without one it takes it itself.
|
|
314
|
+
*/
|
|
315
|
+
.crewlet-select__option-body + .crewlet-select__option-tick--end {
|
|
316
|
+
margin-left: auto;
|
|
317
|
+
}
|
|
318
|
+
|
|
293
319
|
.crewlet-select__option-body {
|
|
294
320
|
display: flex;
|
|
295
321
|
flex-direction: column;
|
package/dist/Shortcut/index.js
CHANGED
package/dist/Switcher/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { Switcher } from '../chunk-
|
|
1
|
+
export { Switcher } from '../chunk-LCF4WPYS.js';
|
|
2
2
|
import '../chunk-W5J7R5EB.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-K4VORB64.js';
|
|
4
4
|
import '../chunk-F73MC7EZ.js';
|
|
5
5
|
import '../chunk-FTEJPHBI.js';
|
|
6
6
|
import '../chunk-FYTIJM2T.js';
|
|
7
7
|
import '../chunk-OG6CL3EB.js';
|
|
8
8
|
import '../chunk-PQADV6P6.js';
|
|
9
|
+
import '../chunk-RSAQOKH3.js';
|
|
9
10
|
import '../chunk-IG75YMUN.js';
|
|
10
11
|
import '../chunk-4FQT6ZAY.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-7RPGY3JE.js';
|
|
12
|
+
import '../chunk-BWRGFKJP.js';
|
|
13
|
+
import '../chunk-HMPFGIWM.js';
|
|
14
14
|
import '../chunk-R25RGPUB.js';
|
|
15
15
|
import '../chunk-BZFWDIV6.js';
|
|
16
16
|
import '../chunk-ODEQTPFM.js';
|
package/dist/TagsInput/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { TagsInput } from '../chunk-
|
|
1
|
+
export { TagsInput } from '../chunk-JCO3SIST.js';
|
|
2
2
|
import '../chunk-LOECRMHA.js';
|
|
3
3
|
import '../chunk-WIATRXEJ.js';
|
|
4
4
|
import '../chunk-F73MC7EZ.js';
|
|
5
|
-
import '../chunk-4FQT6ZAY.js';
|
|
6
5
|
import '../chunk-RSAQOKH3.js';
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-4FQT6ZAY.js';
|
|
7
|
+
import '../chunk-HMPFGIWM.js';
|
|
8
8
|
import '../chunk-R25RGPUB.js';
|
|
9
9
|
import '../chunk-BZFWDIV6.js';
|
|
10
10
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-7BZPYA5P.js';
|
|
2
|
+
import '../chunk-FC4YTTFJ.js';
|
|
3
3
|
import '../chunk-F73MC7EZ.js';
|
|
4
4
|
import '../chunk-FTEJPHBI.js';
|
|
5
5
|
import '../chunk-GXQ3B46I.js';
|
|
6
6
|
import '../chunk-OG6CL3EB.js';
|
|
7
7
|
import '../chunk-PQADV6P6.js';
|
|
8
8
|
import '../chunk-4FQT6ZAY.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-BWRGFKJP.js';
|
|
10
|
+
import '../chunk-HMPFGIWM.js';
|
|
11
11
|
import '../chunk-R25RGPUB.js';
|
|
12
12
|
import '../chunk-BZFWDIV6.js';
|
|
13
13
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* TimeWindowPicker: one trigger over one panel.
|
|
3
3
|
*
|
|
4
|
-
* The trigger takes the same geometry as a Select and a
|
|
5
|
-
*
|
|
4
|
+
* The trigger takes the same geometry and button boundary as a Select and a
|
|
5
|
+
* DateTimePicker (--color-border-strong; see Select.css), so the three line
|
|
6
|
+
* up in a filter bar. The panel is a RAIL of named windows beside
|
|
6
7
|
* the calendars, rather than two tabs with one of them hidden: the windows a
|
|
7
8
|
* reader picks by name are the road, and the absolute range is the turning off
|
|
8
9
|
* it, so both are on screen at once and each shows what the other chose.
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
/* The side inset only: see DateTimePicker's own trigger. */
|
|
18
19
|
padding: 0 var(--spacing-2) 0 var(--spacing-3);
|
|
19
20
|
background: var(--color-surface-subtle);
|
|
20
|
-
border: 1px solid var(--color-border-
|
|
21
|
+
border: 1px solid var(--color-border-strong);
|
|
21
22
|
border-radius: var(--radius-md);
|
|
22
23
|
color: var(--color-text-primary);
|
|
23
24
|
font-family: inherit;
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
.crewlet-time-window:hover:not(:disabled) {
|
|
37
|
-
border-color: var(--color-border-hover);
|
|
38
|
+
border-color: var(--color-border-strong-hover);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
/*
|
|
@@ -93,7 +93,12 @@ export interface ToastProviderProps {
|
|
|
93
93
|
children?: ReactNode;
|
|
94
94
|
position?: ToasterProps['position'];
|
|
95
95
|
renderAction?: ToasterProps['renderAction'];
|
|
96
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* How many to keep on screen. When one more arrives, the oldest toast that
|
|
98
|
+
* would have gone by itself goes. A sticky one never does, so while every
|
|
99
|
+
* toast held is sticky the stack holds more than this, until the reader
|
|
100
|
+
* dismisses some.
|
|
101
|
+
*/
|
|
97
102
|
max?: number | undefined;
|
|
98
103
|
}
|
|
99
104
|
/**
|
package/dist/Toaster/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ToastProvider, Toaster, useToast } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ToastProvider, Toaster, useToast } from '../chunk-QH3AKP2N.js';
|
|
2
|
+
import '../chunk-HMPFGIWM.js';
|
|
3
3
|
import '../chunk-R25RGPUB.js';
|
|
4
4
|
import '../chunk-BZFWDIV6.js';
|
|
5
5
|
import '../chunk-ODEQTPFM.js';
|