@homebound/beam 4.11.5 → 4.12.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/dist/Css.json +121 -15
- package/dist/index.cjs +932 -419
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +563 -93
- package/dist/index.d.ts +563 -93
- package/dist/index.js +932 -419
- package/dist/index.js.map +1 -1
- package/dist/truss.css +52 -74
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -149,6 +149,61 @@ var CssBuilder = class _CssBuilder {
|
|
|
149
149
|
animationTimingFunction(value) {
|
|
150
150
|
return this.add("animationTimingFunction", value);
|
|
151
151
|
}
|
|
152
|
+
// appearance
|
|
153
|
+
/** Sets `appearance: "none"`. */
|
|
154
|
+
get appearanceNone() {
|
|
155
|
+
return this.add("appearance", "none");
|
|
156
|
+
}
|
|
157
|
+
/** Sets `appearance: value`. */
|
|
158
|
+
appearance(value) {
|
|
159
|
+
return this.add("appearance", value);
|
|
160
|
+
}
|
|
161
|
+
// aspectRatio
|
|
162
|
+
/** Sets `aspectRatio: "1 / 1"`. */
|
|
163
|
+
get arSquare() {
|
|
164
|
+
return this.add("aspectRatio", "1 / 1");
|
|
165
|
+
}
|
|
166
|
+
/** Sets `aspectRatio: "16 / 9"`. */
|
|
167
|
+
get arVideo() {
|
|
168
|
+
return this.add("aspectRatio", "16 / 9");
|
|
169
|
+
}
|
|
170
|
+
/** Sets `aspectRatio: value`. */
|
|
171
|
+
ar(value) {
|
|
172
|
+
return this.add("aspectRatio", value);
|
|
173
|
+
}
|
|
174
|
+
// background
|
|
175
|
+
/** Sets `background: value`. */
|
|
176
|
+
bg(value) {
|
|
177
|
+
return this.add("background", value);
|
|
178
|
+
}
|
|
179
|
+
/** Sets `backgroundImage: value`. */
|
|
180
|
+
bgImage(value) {
|
|
181
|
+
return this.add("backgroundImage", value);
|
|
182
|
+
}
|
|
183
|
+
/** Sets `backgroundSize: value`. */
|
|
184
|
+
bgSize(value) {
|
|
185
|
+
return this.add("backgroundSize", value);
|
|
186
|
+
}
|
|
187
|
+
/** Sets `backgroundPosition: value`. */
|
|
188
|
+
bgPosition(value) {
|
|
189
|
+
return this.add("backgroundPosition", value);
|
|
190
|
+
}
|
|
191
|
+
/** Sets `backgroundRepeat: "no-repeat"`. */
|
|
192
|
+
get bgNoRepeat() {
|
|
193
|
+
return this.add("backgroundRepeat", "no-repeat");
|
|
194
|
+
}
|
|
195
|
+
/** Sets `backgroundRepeat: value`. */
|
|
196
|
+
bgRepeat(value) {
|
|
197
|
+
return this.add("backgroundRepeat", value);
|
|
198
|
+
}
|
|
199
|
+
/** Sets `backgroundClip: "text"; WebkitBackgroundClip: "text"`. */
|
|
200
|
+
get bgClipText() {
|
|
201
|
+
return this.add("backgroundClip", "text").add("WebkitBackgroundClip", "text");
|
|
202
|
+
}
|
|
203
|
+
/** Sets `backgroundClip: value`. */
|
|
204
|
+
bgClip(value) {
|
|
205
|
+
return this.add("backgroundClip", value);
|
|
206
|
+
}
|
|
152
207
|
// border
|
|
153
208
|
/** Sets `borderStyle: "solid"; borderWidth: "1px"`. */
|
|
154
209
|
get ba() {
|
|
@@ -471,46 +526,21 @@ var CssBuilder = class _CssBuilder {
|
|
|
471
526
|
bc(value) {
|
|
472
527
|
return this.add("borderColor", value);
|
|
473
528
|
}
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
return this.add("borderRadius", "0");
|
|
478
|
-
}
|
|
479
|
-
/** Sets `borderRadius: "4px"`. */
|
|
480
|
-
get br4() {
|
|
481
|
-
return this.add("borderRadius", "4px");
|
|
482
|
-
}
|
|
483
|
-
/** Sets `borderRadius: "8px"`. */
|
|
484
|
-
get br8() {
|
|
485
|
-
return this.add("borderRadius", "8px");
|
|
486
|
-
}
|
|
487
|
-
/** Sets `borderRadius: "12px"`. */
|
|
488
|
-
get br12() {
|
|
489
|
-
return this.add("borderRadius", "12px");
|
|
529
|
+
/** Sets `borderTopColor: value`. */
|
|
530
|
+
btc(value) {
|
|
531
|
+
return this.add("borderTopColor", value);
|
|
490
532
|
}
|
|
491
|
-
/** Sets `
|
|
492
|
-
|
|
493
|
-
return this.add("
|
|
533
|
+
/** Sets `borderRightColor: value`. */
|
|
534
|
+
brc(value) {
|
|
535
|
+
return this.add("borderRightColor", value);
|
|
494
536
|
}
|
|
495
|
-
/** Sets `
|
|
496
|
-
|
|
497
|
-
return this.add("
|
|
537
|
+
/** Sets `borderBottomColor: value`. */
|
|
538
|
+
bbc(value) {
|
|
539
|
+
return this.add("borderBottomColor", value);
|
|
498
540
|
}
|
|
499
|
-
/** Sets `
|
|
500
|
-
|
|
501
|
-
return this.add("
|
|
502
|
-
}
|
|
503
|
-
/** Sets `borderRadius: value`. */
|
|
504
|
-
borderRadius(value) {
|
|
505
|
-
return this.add("borderRadius", value);
|
|
506
|
-
}
|
|
507
|
-
/** Sets `borderTopRightRadius: "4px"; borderTopLeftRadius: "4px"`. */
|
|
508
|
-
get brt4() {
|
|
509
|
-
return this.add("borderTopRightRadius", "4px").add("borderTopLeftRadius", "4px");
|
|
510
|
-
}
|
|
511
|
-
/** Sets `borderBottomRightRadius: "4px"; borderBottomLeftRadius: "4px"`. */
|
|
512
|
-
get brb4() {
|
|
513
|
-
return this.add("borderBottomRightRadius", "4px").add("borderBottomLeftRadius", "4px");
|
|
541
|
+
/** Sets `borderLeftColor: value`. */
|
|
542
|
+
blc(value) {
|
|
543
|
+
return this.add("borderLeftColor", value);
|
|
514
544
|
}
|
|
515
545
|
// borderStyle
|
|
516
546
|
/** Sets `borderStyle: "dashed"`. */
|
|
@@ -546,34 +576,23 @@ var CssBuilder = class _CssBuilder {
|
|
|
546
576
|
bw(value) {
|
|
547
577
|
return this.add("borderWidth", value);
|
|
548
578
|
}
|
|
549
|
-
//
|
|
550
|
-
/** Sets `
|
|
551
|
-
get
|
|
552
|
-
return this.add("
|
|
579
|
+
// breaks
|
|
580
|
+
/** Sets `breakInside: "avoid"`. */
|
|
581
|
+
get breakAvoid() {
|
|
582
|
+
return this.add("breakInside", "avoid");
|
|
553
583
|
}
|
|
554
|
-
/** Sets `
|
|
555
|
-
|
|
556
|
-
return this.add("
|
|
584
|
+
/** Sets `breakInside: value`. */
|
|
585
|
+
breakInside(value) {
|
|
586
|
+
return this.add("breakInside", value);
|
|
557
587
|
}
|
|
558
|
-
/** Sets `
|
|
559
|
-
|
|
560
|
-
return this.add("
|
|
588
|
+
/** Sets `breakAfter: value`. */
|
|
589
|
+
breakAfter(value) {
|
|
590
|
+
return this.add("breakAfter", value);
|
|
561
591
|
}
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
/** Sets `boxShadow: "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)"`. */
|
|
567
|
-
get bshDanger() {
|
|
568
|
-
return this.add("boxShadow", "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)");
|
|
569
|
-
}
|
|
570
|
-
/** Sets `boxShadow: "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)"`. */
|
|
571
|
-
get bshModal() {
|
|
572
|
-
return this.add("boxShadow", "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)");
|
|
573
|
-
}
|
|
574
|
-
/** Sets `boxShadow: value`. */
|
|
575
|
-
boxShadow(value) {
|
|
576
|
-
return this.add("boxShadow", value);
|
|
592
|
+
// clipPath
|
|
593
|
+
/** Sets `clipPath: value`. */
|
|
594
|
+
clipPath(value) {
|
|
595
|
+
return this.add("clipPath", value);
|
|
577
596
|
}
|
|
578
597
|
// container
|
|
579
598
|
/** Sets `containerType: "size"`. */
|
|
@@ -773,6 +792,50 @@ var CssBuilder = class _CssBuilder {
|
|
|
773
792
|
leftPx(px2) {
|
|
774
793
|
return this.add("left", `${px2}px`);
|
|
775
794
|
}
|
|
795
|
+
/** Sets `inset: "calc(var(--t-spacing) * 0)"`. */
|
|
796
|
+
get inset0() {
|
|
797
|
+
return this.add("inset", "calc(var(--t-spacing) * 0)");
|
|
798
|
+
}
|
|
799
|
+
/** Sets `inset: "calc(var(--t-spacing) * 1)"`. */
|
|
800
|
+
get inset1() {
|
|
801
|
+
return this.add("inset", "calc(var(--t-spacing) * 1)");
|
|
802
|
+
}
|
|
803
|
+
/** Sets `inset: "calc(var(--t-spacing) * 2)"`. */
|
|
804
|
+
get inset2() {
|
|
805
|
+
return this.add("inset", "calc(var(--t-spacing) * 2)");
|
|
806
|
+
}
|
|
807
|
+
/** Sets `inset: "calc(var(--t-spacing) * 3)"`. */
|
|
808
|
+
get inset3() {
|
|
809
|
+
return this.add("inset", "calc(var(--t-spacing) * 3)");
|
|
810
|
+
}
|
|
811
|
+
/** Sets `inset: "calc(var(--t-spacing) * 4)"`. */
|
|
812
|
+
get inset4() {
|
|
813
|
+
return this.add("inset", "calc(var(--t-spacing) * 4)");
|
|
814
|
+
}
|
|
815
|
+
/** Sets `inset: "calc(var(--t-spacing) * 5)"`. */
|
|
816
|
+
get inset5() {
|
|
817
|
+
return this.add("inset", "calc(var(--t-spacing) * 5)");
|
|
818
|
+
}
|
|
819
|
+
/** Sets `inset: "calc(var(--t-spacing) * 6)"`. */
|
|
820
|
+
get inset6() {
|
|
821
|
+
return this.add("inset", "calc(var(--t-spacing) * 6)");
|
|
822
|
+
}
|
|
823
|
+
/** Sets `inset: "calc(var(--t-spacing) * 7)"`. */
|
|
824
|
+
get inset7() {
|
|
825
|
+
return this.add("inset", "calc(var(--t-spacing) * 7)");
|
|
826
|
+
}
|
|
827
|
+
/** Sets `inset: "calc(var(--t-spacing) * 8)"`. */
|
|
828
|
+
get inset8() {
|
|
829
|
+
return this.add("inset", "calc(var(--t-spacing) * 8)");
|
|
830
|
+
}
|
|
831
|
+
/** Sets `inset: "v"`. */
|
|
832
|
+
inset(v) {
|
|
833
|
+
return this.add("inset", maybeInc(v));
|
|
834
|
+
}
|
|
835
|
+
/** Sets `inset: px`. */
|
|
836
|
+
insetPx(px2) {
|
|
837
|
+
return this.add("inset", `${px2}px`);
|
|
838
|
+
}
|
|
776
839
|
// cursor
|
|
777
840
|
/** Sets `cursor: "pointer"`. */
|
|
778
841
|
get cursorPointer() {
|
|
@@ -843,6 +906,15 @@ var CssBuilder = class _CssBuilder {
|
|
|
843
906
|
display(value) {
|
|
844
907
|
return this.add("display", value);
|
|
845
908
|
}
|
|
909
|
+
// filter
|
|
910
|
+
/** Sets `filter: value`. */
|
|
911
|
+
filter(value) {
|
|
912
|
+
return this.add("filter", value);
|
|
913
|
+
}
|
|
914
|
+
/** Sets `backdropFilter: value`. */
|
|
915
|
+
backdropFilter(value) {
|
|
916
|
+
return this.add("backdropFilter", value);
|
|
917
|
+
}
|
|
846
918
|
// flexbox
|
|
847
919
|
/** Sets `flex: "initial"`. */
|
|
848
920
|
get fi() {
|
|
@@ -1308,6 +1380,10 @@ var CssBuilder = class _CssBuilder {
|
|
|
1308
1380
|
gc(value) {
|
|
1309
1381
|
return this.add("gridColumn", value);
|
|
1310
1382
|
}
|
|
1383
|
+
/** Sets `gridArea: value`. */
|
|
1384
|
+
ga(value) {
|
|
1385
|
+
return this.add("gridArea", value);
|
|
1386
|
+
}
|
|
1311
1387
|
/** Sets `gridAutoRows: value`. */
|
|
1312
1388
|
gar(value) {
|
|
1313
1389
|
return this.add("gridAutoRows", value);
|
|
@@ -1659,6 +1735,20 @@ var CssBuilder = class _CssBuilder {
|
|
|
1659
1735
|
"vertical"
|
|
1660
1736
|
).add("textOverflow", "ellipsis");
|
|
1661
1737
|
}
|
|
1738
|
+
// listStyle
|
|
1739
|
+
/** Sets `listStyle: "none"`. */
|
|
1740
|
+
get listNone() {
|
|
1741
|
+
return this.add("listStyle", "none");
|
|
1742
|
+
}
|
|
1743
|
+
/** Sets `listStyle: value`. */
|
|
1744
|
+
listStyle(value) {
|
|
1745
|
+
return this.add("listStyle", value);
|
|
1746
|
+
}
|
|
1747
|
+
// mask
|
|
1748
|
+
/** Sets `maskImage: value`. */
|
|
1749
|
+
maskImage(value) {
|
|
1750
|
+
return this.add("maskImage", value);
|
|
1751
|
+
}
|
|
1662
1752
|
// objectFit
|
|
1663
1753
|
/** Sets `objectFit: "contain"`. */
|
|
1664
1754
|
get objectContain() {
|
|
@@ -1684,6 +1774,10 @@ var CssBuilder = class _CssBuilder {
|
|
|
1684
1774
|
objectFit(value) {
|
|
1685
1775
|
return this.add("objectFit", value);
|
|
1686
1776
|
}
|
|
1777
|
+
/** Sets `objectPosition: value`. */
|
|
1778
|
+
objectPosition(value) {
|
|
1779
|
+
return this.add("objectPosition", value);
|
|
1780
|
+
}
|
|
1687
1781
|
// opacity
|
|
1688
1782
|
/** Sets `opacity: "0"`. */
|
|
1689
1783
|
get o0() {
|
|
@@ -1726,6 +1820,22 @@ var CssBuilder = class _CssBuilder {
|
|
|
1726
1820
|
outline(value) {
|
|
1727
1821
|
return this.add("outline", value);
|
|
1728
1822
|
}
|
|
1823
|
+
/** Sets `outlineColor: value`. */
|
|
1824
|
+
outlineColor(value) {
|
|
1825
|
+
return this.add("outlineColor", value);
|
|
1826
|
+
}
|
|
1827
|
+
/** Sets `outlineOffset: value`. */
|
|
1828
|
+
outlineOffset(value) {
|
|
1829
|
+
return this.add("outlineOffset", value);
|
|
1830
|
+
}
|
|
1831
|
+
/** Sets `outlineStyle: value`. */
|
|
1832
|
+
outlineStyle(value) {
|
|
1833
|
+
return this.add("outlineStyle", value);
|
|
1834
|
+
}
|
|
1835
|
+
/** Sets `outlineWidth: value`. */
|
|
1836
|
+
outlineWidth(value) {
|
|
1837
|
+
return this.add("outlineWidth", value);
|
|
1838
|
+
}
|
|
1729
1839
|
// overflow
|
|
1730
1840
|
/** Sets `overflow: "visible"`. */
|
|
1731
1841
|
get ov() {
|
|
@@ -1787,6 +1897,19 @@ var CssBuilder = class _CssBuilder {
|
|
|
1787
1897
|
overflowX(value) {
|
|
1788
1898
|
return this.add("overflowX", value);
|
|
1789
1899
|
}
|
|
1900
|
+
// pointerEvents
|
|
1901
|
+
/** Sets `pointerEvents: "none"`. */
|
|
1902
|
+
get pen() {
|
|
1903
|
+
return this.add("pointerEvents", "none");
|
|
1904
|
+
}
|
|
1905
|
+
/** Sets `pointerEvents: "auto"`. */
|
|
1906
|
+
get pea() {
|
|
1907
|
+
return this.add("pointerEvents", "auto");
|
|
1908
|
+
}
|
|
1909
|
+
/** Sets `pointerEvents: value`. */
|
|
1910
|
+
pe(value) {
|
|
1911
|
+
return this.add("pointerEvents", value);
|
|
1912
|
+
}
|
|
1790
1913
|
// position
|
|
1791
1914
|
/** Sets `position: "absolute"`. */
|
|
1792
1915
|
get absolute() {
|
|
@@ -1812,6 +1935,220 @@ var CssBuilder = class _CssBuilder {
|
|
|
1812
1935
|
position(value) {
|
|
1813
1936
|
return this.add("position", value);
|
|
1814
1937
|
}
|
|
1938
|
+
// resize
|
|
1939
|
+
/** Sets `resize: "none"`. */
|
|
1940
|
+
get resizeNone() {
|
|
1941
|
+
return this.add("resize", "none");
|
|
1942
|
+
}
|
|
1943
|
+
/** Sets `resize: value`. */
|
|
1944
|
+
resize(value) {
|
|
1945
|
+
return this.add("resize", value);
|
|
1946
|
+
}
|
|
1947
|
+
// scroll
|
|
1948
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 0)"`. */
|
|
1949
|
+
get smt0() {
|
|
1950
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 0)");
|
|
1951
|
+
}
|
|
1952
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 1)"`. */
|
|
1953
|
+
get smt1() {
|
|
1954
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 1)");
|
|
1955
|
+
}
|
|
1956
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 2)"`. */
|
|
1957
|
+
get smt2() {
|
|
1958
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 2)");
|
|
1959
|
+
}
|
|
1960
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 3)"`. */
|
|
1961
|
+
get smt3() {
|
|
1962
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 3)");
|
|
1963
|
+
}
|
|
1964
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 4)"`. */
|
|
1965
|
+
get smt4() {
|
|
1966
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 4)");
|
|
1967
|
+
}
|
|
1968
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 5)"`. */
|
|
1969
|
+
get smt5() {
|
|
1970
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 5)");
|
|
1971
|
+
}
|
|
1972
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 6)"`. */
|
|
1973
|
+
get smt6() {
|
|
1974
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 6)");
|
|
1975
|
+
}
|
|
1976
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 7)"`. */
|
|
1977
|
+
get smt7() {
|
|
1978
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 7)");
|
|
1979
|
+
}
|
|
1980
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 8)"`. */
|
|
1981
|
+
get smt8() {
|
|
1982
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 8)");
|
|
1983
|
+
}
|
|
1984
|
+
/** Sets `scrollMarginTop: "v"`. */
|
|
1985
|
+
smt(v) {
|
|
1986
|
+
return this.add("scrollMarginTop", maybeInc(v));
|
|
1987
|
+
}
|
|
1988
|
+
/** Sets `scrollMarginTop: px`. */
|
|
1989
|
+
smtPx(px2) {
|
|
1990
|
+
return this.add("scrollMarginTop", `${px2}px`);
|
|
1991
|
+
}
|
|
1992
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 0)"`. */
|
|
1993
|
+
get smr0() {
|
|
1994
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 0)");
|
|
1995
|
+
}
|
|
1996
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 1)"`. */
|
|
1997
|
+
get smr1() {
|
|
1998
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 1)");
|
|
1999
|
+
}
|
|
2000
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 2)"`. */
|
|
2001
|
+
get smr2() {
|
|
2002
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 2)");
|
|
2003
|
+
}
|
|
2004
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 3)"`. */
|
|
2005
|
+
get smr3() {
|
|
2006
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 3)");
|
|
2007
|
+
}
|
|
2008
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 4)"`. */
|
|
2009
|
+
get smr4() {
|
|
2010
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 4)");
|
|
2011
|
+
}
|
|
2012
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 5)"`. */
|
|
2013
|
+
get smr5() {
|
|
2014
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 5)");
|
|
2015
|
+
}
|
|
2016
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 6)"`. */
|
|
2017
|
+
get smr6() {
|
|
2018
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 6)");
|
|
2019
|
+
}
|
|
2020
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 7)"`. */
|
|
2021
|
+
get smr7() {
|
|
2022
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 7)");
|
|
2023
|
+
}
|
|
2024
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 8)"`. */
|
|
2025
|
+
get smr8() {
|
|
2026
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 8)");
|
|
2027
|
+
}
|
|
2028
|
+
/** Sets `scrollMarginRight: "v"`. */
|
|
2029
|
+
smr(v) {
|
|
2030
|
+
return this.add("scrollMarginRight", maybeInc(v));
|
|
2031
|
+
}
|
|
2032
|
+
/** Sets `scrollMarginRight: px`. */
|
|
2033
|
+
smrPx(px2) {
|
|
2034
|
+
return this.add("scrollMarginRight", `${px2}px`);
|
|
2035
|
+
}
|
|
2036
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 0)"`. */
|
|
2037
|
+
get smb0() {
|
|
2038
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 0)");
|
|
2039
|
+
}
|
|
2040
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 1)"`. */
|
|
2041
|
+
get smb1() {
|
|
2042
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 1)");
|
|
2043
|
+
}
|
|
2044
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 2)"`. */
|
|
2045
|
+
get smb2() {
|
|
2046
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 2)");
|
|
2047
|
+
}
|
|
2048
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 3)"`. */
|
|
2049
|
+
get smb3() {
|
|
2050
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 3)");
|
|
2051
|
+
}
|
|
2052
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 4)"`. */
|
|
2053
|
+
get smb4() {
|
|
2054
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 4)");
|
|
2055
|
+
}
|
|
2056
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 5)"`. */
|
|
2057
|
+
get smb5() {
|
|
2058
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 5)");
|
|
2059
|
+
}
|
|
2060
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 6)"`. */
|
|
2061
|
+
get smb6() {
|
|
2062
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 6)");
|
|
2063
|
+
}
|
|
2064
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 7)"`. */
|
|
2065
|
+
get smb7() {
|
|
2066
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 7)");
|
|
2067
|
+
}
|
|
2068
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 8)"`. */
|
|
2069
|
+
get smb8() {
|
|
2070
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 8)");
|
|
2071
|
+
}
|
|
2072
|
+
/** Sets `scrollMarginBottom: "v"`. */
|
|
2073
|
+
smb(v) {
|
|
2074
|
+
return this.add("scrollMarginBottom", maybeInc(v));
|
|
2075
|
+
}
|
|
2076
|
+
/** Sets `scrollMarginBottom: px`. */
|
|
2077
|
+
smbPx(px2) {
|
|
2078
|
+
return this.add("scrollMarginBottom", `${px2}px`);
|
|
2079
|
+
}
|
|
2080
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 0)"`. */
|
|
2081
|
+
get sml0() {
|
|
2082
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 0)");
|
|
2083
|
+
}
|
|
2084
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 1)"`. */
|
|
2085
|
+
get sml1() {
|
|
2086
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 1)");
|
|
2087
|
+
}
|
|
2088
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 2)"`. */
|
|
2089
|
+
get sml2() {
|
|
2090
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 2)");
|
|
2091
|
+
}
|
|
2092
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 3)"`. */
|
|
2093
|
+
get sml3() {
|
|
2094
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 3)");
|
|
2095
|
+
}
|
|
2096
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 4)"`. */
|
|
2097
|
+
get sml4() {
|
|
2098
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 4)");
|
|
2099
|
+
}
|
|
2100
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 5)"`. */
|
|
2101
|
+
get sml5() {
|
|
2102
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 5)");
|
|
2103
|
+
}
|
|
2104
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 6)"`. */
|
|
2105
|
+
get sml6() {
|
|
2106
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 6)");
|
|
2107
|
+
}
|
|
2108
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 7)"`. */
|
|
2109
|
+
get sml7() {
|
|
2110
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 7)");
|
|
2111
|
+
}
|
|
2112
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 8)"`. */
|
|
2113
|
+
get sml8() {
|
|
2114
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 8)");
|
|
2115
|
+
}
|
|
2116
|
+
/** Sets `scrollMarginLeft: "v"`. */
|
|
2117
|
+
sml(v) {
|
|
2118
|
+
return this.add("scrollMarginLeft", maybeInc(v));
|
|
2119
|
+
}
|
|
2120
|
+
/** Sets `scrollMarginLeft: px`. */
|
|
2121
|
+
smlPx(px2) {
|
|
2122
|
+
return this.add("scrollMarginLeft", `${px2}px`);
|
|
2123
|
+
}
|
|
2124
|
+
/** Sets `scrollPadding: value`. */
|
|
2125
|
+
scrollPadding(value) {
|
|
2126
|
+
return this.add("scrollPadding", value);
|
|
2127
|
+
}
|
|
2128
|
+
/** Sets `scrollPaddingInline: value`. */
|
|
2129
|
+
scrollPaddingInline(value) {
|
|
2130
|
+
return this.add("scrollPaddingInline", value);
|
|
2131
|
+
}
|
|
2132
|
+
/** Sets `scrollPaddingBlock: value`. */
|
|
2133
|
+
scrollPaddingBlock(value) {
|
|
2134
|
+
return this.add("scrollPaddingBlock", value);
|
|
2135
|
+
}
|
|
2136
|
+
/** Sets `scrollBehavior: "smooth"`. */
|
|
2137
|
+
get scrollSmooth() {
|
|
2138
|
+
return this.add("scrollBehavior", "smooth");
|
|
2139
|
+
}
|
|
2140
|
+
/** Sets `scrollBehavior: value`. */
|
|
2141
|
+
scrollBehavior(value) {
|
|
2142
|
+
return this.add("scrollBehavior", value);
|
|
2143
|
+
}
|
|
2144
|
+
/** Sets `overscrollBehavior: "contain"`. */
|
|
2145
|
+
get overscrollContain() {
|
|
2146
|
+
return this.add("overscrollBehavior", "contain");
|
|
2147
|
+
}
|
|
2148
|
+
/** Sets `overscrollBehavior: value`. */
|
|
2149
|
+
overscrollBehavior(value) {
|
|
2150
|
+
return this.add("overscrollBehavior", value);
|
|
2151
|
+
}
|
|
1815
2152
|
// scrollSnap
|
|
1816
2153
|
/** Sets `scrollSnapAlign: value`. */
|
|
1817
2154
|
ssa(value) {
|
|
@@ -2727,6 +3064,14 @@ var CssBuilder = class _CssBuilder {
|
|
|
2727
3064
|
fill(value) {
|
|
2728
3065
|
return this.add("fill", value);
|
|
2729
3066
|
}
|
|
3067
|
+
/** Sets `accentColor: value`. */
|
|
3068
|
+
accentColor(value) {
|
|
3069
|
+
return this.add("accentColor", value);
|
|
3070
|
+
}
|
|
3071
|
+
/** Sets `caretColor: value`. */
|
|
3072
|
+
caretColor(value) {
|
|
3073
|
+
return this.add("caretColor", value);
|
|
3074
|
+
}
|
|
2730
3075
|
// spacing
|
|
2731
3076
|
/** Sets `marginTop: "calc(var(--t-spacing) * 0)"`. */
|
|
2732
3077
|
get mt0() {
|
|
@@ -3441,6 +3786,19 @@ var CssBuilder = class _CssBuilder {
|
|
|
3441
3786
|
`${px2}px`
|
|
3442
3787
|
);
|
|
3443
3788
|
}
|
|
3789
|
+
// table
|
|
3790
|
+
/** Sets `borderCollapse: value`. */
|
|
3791
|
+
borderCollapse(value) {
|
|
3792
|
+
return this.add("borderCollapse", value);
|
|
3793
|
+
}
|
|
3794
|
+
/** Sets `borderSpacing: value`. */
|
|
3795
|
+
borderSpacing(value) {
|
|
3796
|
+
return this.add("borderSpacing", value);
|
|
3797
|
+
}
|
|
3798
|
+
/** Sets `tableLayout: value`. */
|
|
3799
|
+
tableLayout(value) {
|
|
3800
|
+
return this.add("tableLayout", value);
|
|
3801
|
+
}
|
|
3444
3802
|
// textAlign
|
|
3445
3803
|
/** Sets `textAlign: "left"`. */
|
|
3446
3804
|
get tal() {
|
|
@@ -3500,6 +3858,19 @@ var CssBuilder = class _CssBuilder {
|
|
|
3500
3858
|
tt(value) {
|
|
3501
3859
|
return this.add("textTransform", value);
|
|
3502
3860
|
}
|
|
3861
|
+
// touchAction
|
|
3862
|
+
/** Sets `touchAction: "none"`. */
|
|
3863
|
+
get touchNone() {
|
|
3864
|
+
return this.add("touchAction", "none");
|
|
3865
|
+
}
|
|
3866
|
+
/** Sets `touchAction: "pan-y"`. */
|
|
3867
|
+
get touchPanY() {
|
|
3868
|
+
return this.add("touchAction", "pan-y");
|
|
3869
|
+
}
|
|
3870
|
+
/** Sets `touchAction: value`. */
|
|
3871
|
+
touchAction(value) {
|
|
3872
|
+
return this.add("touchAction", value);
|
|
3873
|
+
}
|
|
3503
3874
|
// transform
|
|
3504
3875
|
/** Sets `backfaceVisibility: value`. */
|
|
3505
3876
|
backfaceVisibility(value) {
|
|
@@ -3541,37 +3912,9 @@ var CssBuilder = class _CssBuilder {
|
|
|
3541
3912
|
translate(value) {
|
|
3542
3913
|
return this.add("translate", value);
|
|
3543
3914
|
}
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
return this.add(
|
|
3548
|
-
"transition",
|
|
3549
|
-
"background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
3550
|
-
);
|
|
3551
|
-
}
|
|
3552
|
-
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3553
|
-
get transitionWidth() {
|
|
3554
|
-
return this.add("transition", "width 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3555
|
-
}
|
|
3556
|
-
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3557
|
-
get transitionOpacity() {
|
|
3558
|
-
return this.add("transition", "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3559
|
-
}
|
|
3560
|
-
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3561
|
-
get transitionTransform() {
|
|
3562
|
-
return this.add("transition", "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3563
|
-
}
|
|
3564
|
-
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3565
|
-
get transitionHeight() {
|
|
3566
|
-
return this.add("transition", "height 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3567
|
-
}
|
|
3568
|
-
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3569
|
-
get transitionTop() {
|
|
3570
|
-
return this.add("transition", "top 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3571
|
-
}
|
|
3572
|
-
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3573
|
-
get transitionAll() {
|
|
3574
|
-
return this.add("transition", "all 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3915
|
+
/** Sets `willChange: value`. */
|
|
3916
|
+
willChange(value) {
|
|
3917
|
+
return this.add("willChange", value);
|
|
3575
3918
|
}
|
|
3576
3919
|
// typeScale
|
|
3577
3920
|
/** Sets `fontWeight: 400; fontSize: "10px"; lineHeight: "14px"`. */
|
|
@@ -3659,6 +4002,38 @@ var CssBuilder = class _CssBuilder {
|
|
|
3659
4002
|
lhPx(px2) {
|
|
3660
4003
|
return this.lh(`${px2}px`);
|
|
3661
4004
|
}
|
|
4005
|
+
/** Sets `letterSpacing: value`. */
|
|
4006
|
+
ls(value) {
|
|
4007
|
+
return this.add("letterSpacing", value);
|
|
4008
|
+
}
|
|
4009
|
+
/** Sets `letterSpacing: px`. */
|
|
4010
|
+
lsPx(px2) {
|
|
4011
|
+
return this.ls(`${px2}px`);
|
|
4012
|
+
}
|
|
4013
|
+
/** Sets `textWrap: "balance"`. */
|
|
4014
|
+
get twb() {
|
|
4015
|
+
return this.add("textWrap", "balance");
|
|
4016
|
+
}
|
|
4017
|
+
/** Sets `textWrap: "pretty"`. */
|
|
4018
|
+
get twp() {
|
|
4019
|
+
return this.add("textWrap", "pretty");
|
|
4020
|
+
}
|
|
4021
|
+
/** Sets `textWrap: value`. */
|
|
4022
|
+
tw(value) {
|
|
4023
|
+
return this.add("textWrap", value);
|
|
4024
|
+
}
|
|
4025
|
+
/** Sets `fontVariantNumeric: "tabular-nums"`. */
|
|
4026
|
+
get tabularNums() {
|
|
4027
|
+
return this.add("fontVariantNumeric", "tabular-nums");
|
|
4028
|
+
}
|
|
4029
|
+
/** Sets `fontVariantNumeric: value`. */
|
|
4030
|
+
fontVariantNumeric(value) {
|
|
4031
|
+
return this.add("fontVariantNumeric", value);
|
|
4032
|
+
}
|
|
4033
|
+
/** Sets `content: value`. */
|
|
4034
|
+
content(value) {
|
|
4035
|
+
return this.add("content", value);
|
|
4036
|
+
}
|
|
3662
4037
|
// userSelect
|
|
3663
4038
|
/** Sets `userSelect: "none"`. */
|
|
3664
4039
|
get usn() {
|
|
@@ -4001,6 +4376,47 @@ var CssBuilder = class _CssBuilder {
|
|
|
4001
4376
|
fontFamily(value) {
|
|
4002
4377
|
return this.add("fontFamily", value);
|
|
4003
4378
|
}
|
|
4379
|
+
// borderRadius
|
|
4380
|
+
/** Sets `borderRadius: "0"`. */
|
|
4381
|
+
get br0() {
|
|
4382
|
+
return this.add("borderRadius", "0");
|
|
4383
|
+
}
|
|
4384
|
+
/** Sets `borderRadius: "4px"`. */
|
|
4385
|
+
get br4() {
|
|
4386
|
+
return this.add("borderRadius", "4px");
|
|
4387
|
+
}
|
|
4388
|
+
/** Sets `borderRadius: "8px"`. */
|
|
4389
|
+
get br8() {
|
|
4390
|
+
return this.add("borderRadius", "8px");
|
|
4391
|
+
}
|
|
4392
|
+
/** Sets `borderRadius: "12px"`. */
|
|
4393
|
+
get br12() {
|
|
4394
|
+
return this.add("borderRadius", "12px");
|
|
4395
|
+
}
|
|
4396
|
+
/** Sets `borderRadius: "16px"`. */
|
|
4397
|
+
get br16() {
|
|
4398
|
+
return this.add("borderRadius", "16px");
|
|
4399
|
+
}
|
|
4400
|
+
/** Sets `borderRadius: "24px"`. */
|
|
4401
|
+
get br24() {
|
|
4402
|
+
return this.add("borderRadius", "24px");
|
|
4403
|
+
}
|
|
4404
|
+
/** Sets `borderRadius: "100%"`. */
|
|
4405
|
+
get br100() {
|
|
4406
|
+
return this.add("borderRadius", "100%");
|
|
4407
|
+
}
|
|
4408
|
+
/** Sets `borderRadius: value`. */
|
|
4409
|
+
borderRadius(value) {
|
|
4410
|
+
return this.add("borderRadius", value);
|
|
4411
|
+
}
|
|
4412
|
+
/** Sets `borderTopRightRadius: "4px"; borderTopLeftRadius: "4px"`. */
|
|
4413
|
+
get brt4() {
|
|
4414
|
+
return this.add("borderTopRightRadius", "4px").add("borderTopLeftRadius", "4px");
|
|
4415
|
+
}
|
|
4416
|
+
/** Sets `borderBottomRightRadius: "4px"; borderBottomLeftRadius: "4px"`. */
|
|
4417
|
+
get brb4() {
|
|
4418
|
+
return this.add("borderBottomRightRadius", "4px").add("borderBottomLeftRadius", "4px");
|
|
4419
|
+
}
|
|
4004
4420
|
// layoutContainer
|
|
4005
4421
|
/** Sets `width: "min(100%, calc(calc(var(--beam-layout-viewport-width, 100vw) - var(--beam-side-nav-layout-width, 0px)) - 2 * var(--beam-layout-content-padding-x, 0px)))"; left: "calc(var(--beam-side-nav-layout-width, 0px) + var(--beam-layout-content-padding-x, 0px))"; position: "sticky"`. */
|
|
4006
4422
|
get layoutContainer() {
|
|
@@ -4012,6 +4428,67 @@ var CssBuilder = class _CssBuilder {
|
|
|
4012
4428
|
"sticky"
|
|
4013
4429
|
);
|
|
4014
4430
|
}
|
|
4431
|
+
// transition
|
|
4432
|
+
/** Sets `transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4433
|
+
get transition() {
|
|
4434
|
+
return this.add(
|
|
4435
|
+
"transition",
|
|
4436
|
+
"background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
4437
|
+
);
|
|
4438
|
+
}
|
|
4439
|
+
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4440
|
+
get transitionWidth() {
|
|
4441
|
+
return this.add("transition", "width 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4442
|
+
}
|
|
4443
|
+
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4444
|
+
get transitionOpacity() {
|
|
4445
|
+
return this.add("transition", "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4446
|
+
}
|
|
4447
|
+
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4448
|
+
get transitionTransform() {
|
|
4449
|
+
return this.add("transition", "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4450
|
+
}
|
|
4451
|
+
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4452
|
+
get transitionHeight() {
|
|
4453
|
+
return this.add("transition", "height 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4454
|
+
}
|
|
4455
|
+
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4456
|
+
get transitionTop() {
|
|
4457
|
+
return this.add("transition", "top 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4458
|
+
}
|
|
4459
|
+
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4460
|
+
get transitionAll() {
|
|
4461
|
+
return this.add("transition", "all 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4462
|
+
}
|
|
4463
|
+
// boxShadow
|
|
4464
|
+
/** Sets `boxShadow: "none"`. */
|
|
4465
|
+
get bsh0() {
|
|
4466
|
+
return this.add("boxShadow", "none");
|
|
4467
|
+
}
|
|
4468
|
+
/** Sets `boxShadow: "0px 4px 8px rgba(53, 53, 53, 0.08), 0px 2px 16px rgba(53, 53, 53, 0.03);"`. */
|
|
4469
|
+
get bshBasic() {
|
|
4470
|
+
return this.add("boxShadow", "0px 4px 8px rgba(53, 53, 53, 0.08), 0px 2px 16px rgba(53, 53, 53, 0.03);");
|
|
4471
|
+
}
|
|
4472
|
+
/** Sets `boxShadow: "0px 4px 8px rgba(53, 53, 53, 0.1), 0px 2px 24px rgba(53, 53, 53, 0.08);"`. */
|
|
4473
|
+
get bshHover() {
|
|
4474
|
+
return this.add("boxShadow", "0px 4px 8px rgba(53, 53, 53, 0.1), 0px 2px 24px rgba(53, 53, 53, 0.08);");
|
|
4475
|
+
}
|
|
4476
|
+
/** Sets `boxShadow: "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(29, 78, 216, 1)"`. */
|
|
4477
|
+
get bshFocus() {
|
|
4478
|
+
return this.add("boxShadow", "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(29, 78, 216, 1)");
|
|
4479
|
+
}
|
|
4480
|
+
/** Sets `boxShadow: "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)"`. */
|
|
4481
|
+
get bshDanger() {
|
|
4482
|
+
return this.add("boxShadow", "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)");
|
|
4483
|
+
}
|
|
4484
|
+
/** Sets `boxShadow: "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)"`. */
|
|
4485
|
+
get bshModal() {
|
|
4486
|
+
return this.add("boxShadow", "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)");
|
|
4487
|
+
}
|
|
4488
|
+
/** Sets `boxShadow: value`. */
|
|
4489
|
+
boxShadow(value) {
|
|
4490
|
+
return this.add("boxShadow", value);
|
|
4491
|
+
}
|
|
4015
4492
|
// buttonBase
|
|
4016
4493
|
/** Sets `fontWeight: 600; fontSize: "14px"; lineHeight: "20px"; outline: 0; borderRadius: "8px"; display: "inline-flex"; alignItems: "center"; whiteSpace: "nowrap"; transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4017
4494
|
get buttonBase() {
|
|
@@ -5257,8 +5734,8 @@ function Chips(props) {
|
|
|
5257
5734
|
...{
|
|
5258
5735
|
display: "df",
|
|
5259
5736
|
alignItems: "aifs",
|
|
5260
|
-
gap: "
|
|
5261
|
-
whiteSpace: "
|
|
5737
|
+
gap: "g_1",
|
|
5738
|
+
whiteSpace: "wsn"
|
|
5262
5739
|
},
|
|
5263
5740
|
...wrap !== false ? {
|
|
5264
5741
|
flexWrap: "fww"
|
|
@@ -5428,12 +5905,14 @@ function useVirtualizedScrollParent() {
|
|
|
5428
5905
|
// src/components/Loader.tsx
|
|
5429
5906
|
import { trussProps as trussProps7, maybeCssVar as maybeCssVar6 } from "@homebound/truss/runtime";
|
|
5430
5907
|
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
5431
|
-
function Loader({
|
|
5432
|
-
|
|
5433
|
-
|
|
5908
|
+
function Loader(props) {
|
|
5909
|
+
const {
|
|
5910
|
+
size = "lg"
|
|
5911
|
+
} = props;
|
|
5434
5912
|
const [dimensions, borderSize] = sizeToPixels[size];
|
|
5435
5913
|
const [bgColor, spinnerColor] = ["--b-loader-track" /* LoaderTrack */, "--b-loader-spinner" /* LoaderSpinner */];
|
|
5436
|
-
|
|
5914
|
+
const tid = useTestIds(props, "loader");
|
|
5915
|
+
return /* @__PURE__ */ jsx8("div", { "aria-label": "Loading", ...tid, ...trussProps7({
|
|
5437
5916
|
borderRadius: "br100",
|
|
5438
5917
|
borderStyle: "bss",
|
|
5439
5918
|
borderWidth: ["bw_var", {
|
|
@@ -5626,15 +6105,15 @@ var iconButtonStylesReset = {
|
|
|
5626
6105
|
borderColor: "bcTransparent",
|
|
5627
6106
|
borderStyle: "bss",
|
|
5628
6107
|
backgroundColor: "bgTransparent",
|
|
5629
|
-
cursor: "
|
|
5630
|
-
outline: "
|
|
6108
|
+
cursor: "cur_pointer",
|
|
6109
|
+
outline: "ol_0",
|
|
5631
6110
|
display: "dif",
|
|
5632
6111
|
alignItems: "aic",
|
|
5633
6112
|
justifyContent: "jcc",
|
|
5634
6113
|
transition: "transition"
|
|
5635
6114
|
};
|
|
5636
6115
|
var iconButtonStylesDisabled = {
|
|
5637
|
-
cursor: "
|
|
6116
|
+
cursor: "cur_not_allowed",
|
|
5638
6117
|
backgroundColor: ["bgColor_var", {
|
|
5639
6118
|
"--backgroundColor": "var(--b-surface-disabled)"
|
|
5640
6119
|
}]
|
|
@@ -5961,6 +6440,9 @@ var zIndices = {
|
|
|
5961
6440
|
scrollToTop: 50,
|
|
5962
6441
|
// Page chrome - ensure these items sit above the table
|
|
5963
6442
|
scrollShadow: 50,
|
|
6443
|
+
// Viewport-fixed spinner over a dimmed `GridTable.loading` table — above table chrome and scroll
|
|
6444
|
+
// shadows, below the right pane and page sticky headers.
|
|
6445
|
+
tableLoadingOverlay: 55,
|
|
5964
6446
|
// Document-scroll detail pane (DocumentScrollOverlayRightPaneLayout) — above table sticky chrome, below page sticky headers.
|
|
5965
6447
|
rightPane: 60,
|
|
5966
6448
|
// Workflow floating right-pane triggers — above the pane, below sticky headers.
|
|
@@ -6026,7 +6508,7 @@ function ExpandableHeader(props) {
|
|
|
6026
6508
|
lineHeight: "lh_16px",
|
|
6027
6509
|
alignItems: "aic",
|
|
6028
6510
|
justifyContent: "jcsb",
|
|
6029
|
-
gap: "
|
|
6511
|
+
gap: "g_2",
|
|
6030
6512
|
paddingLeft: "pl1",
|
|
6031
6513
|
paddingRight: "pr1",
|
|
6032
6514
|
height: "h_32px",
|
|
@@ -6120,9 +6602,9 @@ function SortHeader(props) {
|
|
|
6120
6602
|
} : {}
|
|
6121
6603
|
},
|
|
6122
6604
|
...{
|
|
6123
|
-
visibility: "
|
|
6605
|
+
visibility: "vh",
|
|
6124
6606
|
...isHovered || sorted !== void 0 ? {
|
|
6125
|
-
visibility: "
|
|
6607
|
+
visibility: "vv"
|
|
6126
6608
|
} : {}
|
|
6127
6609
|
}
|
|
6128
6610
|
}, inc: 2, ...tid.icon }) });
|
|
@@ -6131,7 +6613,7 @@ function SortHeader(props) {
|
|
|
6131
6613
|
display: "df",
|
|
6132
6614
|
alignItems: "aic",
|
|
6133
6615
|
height: "h100",
|
|
6134
|
-
cursor: "
|
|
6616
|
+
cursor: "cur_pointer",
|
|
6135
6617
|
userSelect: "usn"
|
|
6136
6618
|
},
|
|
6137
6619
|
...xss
|
|
@@ -6571,7 +7053,7 @@ function DocumentScrollToTopButton({
|
|
|
6571
7053
|
transform: ["transform_var", {
|
|
6572
7054
|
"--transform": maybeCssVar10(`translateY(calc(100% + ${scrollToTopOffsetPx}px))`)
|
|
6573
7055
|
}],
|
|
6574
|
-
pointerEvents: "
|
|
7056
|
+
pointerEvents: "pen"
|
|
6575
7057
|
}
|
|
6576
7058
|
}), children: /* @__PURE__ */ jsx15(ContrastScope, { children: /* @__PURE__ */ jsx15(IconButton, { icon: "arrowUp", disabled: !visible, variant: "outline", label: "Scroll to top", onClick: scrollToTop, ...tid }) }) });
|
|
6577
7059
|
}
|
|
@@ -6729,8 +7211,8 @@ function CompanionRowImpl(props) {
|
|
|
6729
7211
|
...cellCss,
|
|
6730
7212
|
// Companion content is arbitrary — allow wrapping and grow with content.
|
|
6731
7213
|
...{
|
|
6732
|
-
height: "
|
|
6733
|
-
whiteSpace: "
|
|
7214
|
+
height: "ha",
|
|
7215
|
+
whiteSpace: "wsn",
|
|
6734
7216
|
paddingTop: "pt_8px",
|
|
6735
7217
|
paddingBottom: "pb_8px",
|
|
6736
7218
|
width: ["w_var", {
|
|
@@ -7734,14 +8216,14 @@ function CheckboxBase(props) {
|
|
|
7734
8216
|
placement: "top",
|
|
7735
8217
|
children: /* @__PURE__ */ jsxs11(Tag2, { ...trussProps15({
|
|
7736
8218
|
display: "df",
|
|
7737
|
-
cursor: "
|
|
8219
|
+
cursor: "cur_pointer",
|
|
7738
8220
|
position: "relative",
|
|
7739
|
-
width: "
|
|
8221
|
+
width: "wmaxc",
|
|
7740
8222
|
maxWidth: ["maxw_var", {
|
|
7741
8223
|
"--maxWidth": maybeCssVar13(maxWidth)
|
|
7742
8224
|
}],
|
|
7743
8225
|
...isDisabled ? {
|
|
7744
|
-
cursor: "
|
|
8226
|
+
cursor: "cur_not_allowed"
|
|
7745
8227
|
} : {}
|
|
7746
8228
|
}), "aria-label": label, children: [
|
|
7747
8229
|
/* @__PURE__ */ jsx22(VisuallyHidden2, { children: /* @__PURE__ */ jsx22("input", { ref, ...mergeProps4(inputProps, focusProps), ...tid, "data-indeterminate": isIndeterminate }) }),
|
|
@@ -8283,7 +8765,7 @@ function dragHandleColumn(columnDef) {
|
|
|
8283
8765
|
content: row.draggable ? /* @__PURE__ */ jsx25("div", { draggable: row.draggable, onDragStart: (evt) => {
|
|
8284
8766
|
ref.current && evt.dataTransfer.setDragImage(ref.current, 0, 0);
|
|
8285
8767
|
return onDragStart?.(row, evt);
|
|
8286
|
-
}, onDragEnd: (evt) => onDragEnd?.(row, evt), onDrop: (evt) => onDrop?.(row, evt), onDragEnter: (evt) => onDragEnter?.(row, evt), onDragOver: (evt) => onDragOver?.(row, evt), className: "mta mba mra mla
|
|
8768
|
+
}, onDragEnd: (evt) => onDragEnd?.(row, evt), onDrop: (evt) => onDrop?.(row, evt), onDragEnter: (evt) => onDragEnter?.(row, evt), onDragOver: (evt) => onDragOver?.(row, evt), className: "mta mba mra mla cur_pointer", children: /* @__PURE__ */ jsx25(Icon, { icon: "drag", inc: 2.25 }) }) : void 0
|
|
8287
8769
|
};
|
|
8288
8770
|
};
|
|
8289
8771
|
});
|
|
@@ -9173,6 +9655,10 @@ var tableRowPrintBreakCss = {
|
|
|
9173
9655
|
pageBreakAfter: "pgba_auto",
|
|
9174
9656
|
pageBreakInside: "pgbi_avoid"
|
|
9175
9657
|
};
|
|
9658
|
+
var loadingTableCss = {
|
|
9659
|
+
opacity: "o50",
|
|
9660
|
+
pointerEvents: "pen"
|
|
9661
|
+
};
|
|
9176
9662
|
var defaultStyle = getTableStyles({});
|
|
9177
9663
|
var condensedStyle = {
|
|
9178
9664
|
...getTableStyles({
|
|
@@ -9536,8 +10022,8 @@ function ColumnResizeHandle({
|
|
|
9536
10022
|
/* @__PURE__ */ jsx27("div", { ref: handleRef, onMouseDown: handleMouseDown, onMouseEnter: () => setIsHovering(true), onMouseLeave: () => !isDragging && setIsHovering(false), ...trussProps16({
|
|
9537
10023
|
position: "absolute",
|
|
9538
10024
|
top: "top0",
|
|
9539
|
-
bottom: "
|
|
9540
|
-
right: "
|
|
10025
|
+
bottom: "bot_0",
|
|
10026
|
+
right: "r_0",
|
|
9541
10027
|
width: "w_4px",
|
|
9542
10028
|
marginRight: "mr_neg2px",
|
|
9543
10029
|
zIndex: "z_10",
|
|
@@ -9563,7 +10049,7 @@ function ColumnResizeHandle({
|
|
|
9563
10049
|
backgroundColor: ["bgColor_var", {
|
|
9564
10050
|
"--backgroundColor": "var(--b-on-surface-muted)"
|
|
9565
10051
|
}],
|
|
9566
|
-
pointerEvents: "
|
|
10052
|
+
pointerEvents: "pen",
|
|
9567
10053
|
zIndex: ["z_var", {
|
|
9568
10054
|
"--zIndex": maybeCssVar14(zIndices.dragHandle)
|
|
9569
10055
|
}],
|
|
@@ -9610,7 +10096,7 @@ function KeptGroupRow(props) {
|
|
|
9610
10096
|
colSpan
|
|
9611
10097
|
} : {}, children: /* @__PURE__ */ jsxs13("div", { className: "df aic g_12px", children: [
|
|
9612
10098
|
/* @__PURE__ */ jsx28("div", { className: "w_38px df jcc", children: /* @__PURE__ */ jsx28(CollapseToggle, { row, compact: true }) }),
|
|
9613
|
-
/* @__PURE__ */ jsxs13("div", { className: "df aic
|
|
10099
|
+
/* @__PURE__ */ jsxs13("div", { className: "df aic g_1", children: [
|
|
9614
10100
|
/* @__PURE__ */ jsx28(Icon, { icon: "infoCircle", inc: 2 }),
|
|
9615
10101
|
`${numHiddenSelectedRows} selected ${pluralize(numHiddenSelectedRows, "row")} hidden due to filters`
|
|
9616
10102
|
] })
|
|
@@ -9772,7 +10258,7 @@ function RowImpl(props) {
|
|
|
9772
10258
|
...isLastBodyRow && style.lastRowCss,
|
|
9773
10259
|
// Apply `cursorPointer` to the row if it has a link or `onClick` value.
|
|
9774
10260
|
...(rowStyle?.rowLink || rowStyle?.onClick) && {
|
|
9775
|
-
cursor: "
|
|
10261
|
+
cursor: "h_cur_pointer"
|
|
9776
10262
|
},
|
|
9777
10263
|
...maybeApplyFunction2(row, rowStyle?.rowCss),
|
|
9778
10264
|
// Row hover paints cells via Row.css.ts (`.beam-row-hover:hover > *`); set the var via Css.style
|
|
@@ -10168,13 +10654,13 @@ function Avatar({
|
|
|
10168
10654
|
}), ...tid, children: name ? nameToInitials(name) : /* @__PURE__ */ jsx31(Icon, { icon: "userCircle", inc: sizeToIconInc[size] }) }) : /* @__PURE__ */ jsx31("img", { src, alt: name, ...trussProps19({
|
|
10169
10655
|
...styles,
|
|
10170
10656
|
...{
|
|
10171
|
-
objectFit: "
|
|
10657
|
+
objectFit: "obf_cover"
|
|
10172
10658
|
}
|
|
10173
10659
|
}), onError: () => setShowFallback(true), loading: "lazy", ...tid });
|
|
10174
10660
|
return showName && name ? /* @__PURE__ */ jsxs15("div", { ...trussProps19({
|
|
10175
10661
|
display: "dif",
|
|
10176
10662
|
alignItems: "aic",
|
|
10177
|
-
gap: "
|
|
10663
|
+
gap: "g_1",
|
|
10178
10664
|
...size === "lg" || size === "xl" ? {
|
|
10179
10665
|
flexDirection: "fdc"
|
|
10180
10666
|
} : {}
|
|
@@ -10291,8 +10777,8 @@ function MenuItemImpl(props) {
|
|
|
10291
10777
|
paddingBottom: "pb1",
|
|
10292
10778
|
paddingLeft: "pl2",
|
|
10293
10779
|
paddingRight: "pr2",
|
|
10294
|
-
cursor: "
|
|
10295
|
-
outline: "
|
|
10780
|
+
cursor: "cur_pointer",
|
|
10781
|
+
outline: "ol_0",
|
|
10296
10782
|
minHeight: "mh_42px",
|
|
10297
10783
|
fontWeight: "fw4",
|
|
10298
10784
|
fontSize: "fz_14px",
|
|
@@ -10317,7 +10803,7 @@ function MenuItemImpl(props) {
|
|
|
10317
10803
|
color: ["color_var", {
|
|
10318
10804
|
"--color": "var(--b-text-disabled)"
|
|
10319
10805
|
}],
|
|
10320
|
-
cursor: "
|
|
10806
|
+
cursor: "cur_not_allowed"
|
|
10321
10807
|
} : {},
|
|
10322
10808
|
...destructive ? {
|
|
10323
10809
|
color: ["color_var", {
|
|
@@ -10350,7 +10836,7 @@ function renderMenuItem(menuItem, isSelected, isDisabled, itemTid) {
|
|
|
10350
10836
|
menuItem.ai ? /* @__PURE__ */ jsx32(AiMenuItem, { label: menuItem.label, isDisabled }) : isIconMenuItem(menuItem) ? /* @__PURE__ */ jsx32(IconMenuItem, { ...menuItem }) : isImageMenuItem(menuItem) ? /* @__PURE__ */ jsx32(ImageMenuItem, { ...menuItem }) : menuItem.label,
|
|
10351
10837
|
showDescription && /* @__PURE__ */ jsx32("div", { className: "fw4 fz_10px lh_14px", ...itemTid.description, children: menuItem.description })
|
|
10352
10838
|
] });
|
|
10353
|
-
return /* @__PURE__ */ jsxs16("div", { className: "df w100 aic jcsb
|
|
10839
|
+
return /* @__PURE__ */ jsxs16("div", { className: "df w100 aic jcsb g_2", children: [
|
|
10354
10840
|
maybeWrapInLink(menuItem.onClick, body, isDisabled),
|
|
10355
10841
|
isSelected && /* @__PURE__ */ jsx32(Icon, { icon: "check", color: isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-selection-indicator" /* SelectionIndicator */ })
|
|
10356
10842
|
] });
|
|
@@ -10455,7 +10941,7 @@ function MenuSectionImpl(props) {
|
|
|
10455
10941
|
...!isPersistentSection ? {
|
|
10456
10942
|
overflow: "oa"
|
|
10457
10943
|
} : {}
|
|
10458
|
-
}), children: /* @__PURE__ */ jsx33("ul", { className: "p_0 m_0
|
|
10944
|
+
}), children: /* @__PURE__ */ jsx33("ul", { className: "p_0 m_0 listNone", ...groupProps, ...tid[isPersistentSection ? "persistentItems" : "menuItems"], children: [...section.childNodes].map((item) => /* @__PURE__ */ jsx33(MenuItemImpl, { item, state, onClose, ...tid }, item.key)) }) })
|
|
10459
10945
|
] });
|
|
10460
10946
|
}
|
|
10461
10947
|
|
|
@@ -10511,7 +10997,7 @@ function LabelComponent(props) {
|
|
|
10511
10997
|
...{
|
|
10512
10998
|
display: "dif",
|
|
10513
10999
|
alignItems: "aic",
|
|
10514
|
-
gap: "
|
|
11000
|
+
gap: "g_1",
|
|
10515
11001
|
fontWeight: "fw4",
|
|
10516
11002
|
fontSize: "fz_14px",
|
|
10517
11003
|
lineHeight: "lh_20px",
|
|
@@ -10765,7 +11251,7 @@ function TextFieldBase(props) {
|
|
|
10765
11251
|
...labelStyle === "left" ? {
|
|
10766
11252
|
maxWidth: "maxw100",
|
|
10767
11253
|
flexDirection: "fdr",
|
|
10768
|
-
gap: "
|
|
11254
|
+
gap: "g_2",
|
|
10769
11255
|
justifyContent: "jcsb",
|
|
10770
11256
|
alignItems: "aic"
|
|
10771
11257
|
} : {}
|
|
@@ -10885,7 +11371,7 @@ function TextFieldBase(props) {
|
|
|
10885
11371
|
...{
|
|
10886
11372
|
width: "w100",
|
|
10887
11373
|
minWidth: "mw0",
|
|
10888
|
-
outline: "
|
|
11374
|
+
outline: "ol_0",
|
|
10889
11375
|
flexGrow: "fg1",
|
|
10890
11376
|
backgroundColor: "bgTransparent",
|
|
10891
11377
|
...!inputStylePalette ? {
|
|
@@ -10938,7 +11424,7 @@ function TextFieldBase(props) {
|
|
|
10938
11424
|
} : {}
|
|
10939
11425
|
},
|
|
10940
11426
|
disabled: visuallyDisabled ? {
|
|
10941
|
-
cursor: "
|
|
11427
|
+
cursor: "cur_not_allowed",
|
|
10942
11428
|
color: ["color_var", {
|
|
10943
11429
|
"--color": "var(--b-field-text-disabled)"
|
|
10944
11430
|
}],
|
|
@@ -10946,7 +11432,7 @@ function TextFieldBase(props) {
|
|
|
10946
11432
|
"--backgroundColor": maybeCssVar17(disabledBgColor)
|
|
10947
11433
|
}]
|
|
10948
11434
|
} : {
|
|
10949
|
-
cursor: "
|
|
11435
|
+
cursor: "cur_not_allowed"
|
|
10950
11436
|
},
|
|
10951
11437
|
error: {
|
|
10952
11438
|
borderColor: ["bc_var", {
|
|
@@ -11027,7 +11513,7 @@ function TextFieldBase(props) {
|
|
|
11027
11513
|
...multiline ? {
|
|
11028
11514
|
flexDirection: "fdc",
|
|
11029
11515
|
alignItems: "aifs",
|
|
11030
|
-
gap: "
|
|
11516
|
+
gap: "g_2"
|
|
11031
11517
|
} : {
|
|
11032
11518
|
...!wrap ? {
|
|
11033
11519
|
whiteSpace: "wsnw",
|
|
@@ -11284,7 +11770,7 @@ function Menu(props) {
|
|
|
11284
11770
|
flexDirection: "fdc",
|
|
11285
11771
|
marginTop: "mt_4px",
|
|
11286
11772
|
marginBottom: "mb_4px",
|
|
11287
|
-
outline: "
|
|
11773
|
+
outline: "ol_0",
|
|
11288
11774
|
borderRadius: "br4",
|
|
11289
11775
|
backgroundColor: ["bgColor_var", {
|
|
11290
11776
|
"--backgroundColor": "var(--b-surface-raised)"
|
|
@@ -11307,7 +11793,7 @@ function Menu(props) {
|
|
|
11307
11793
|
minWidth: "mw_240px"
|
|
11308
11794
|
}), ...tid.header, children: header }),
|
|
11309
11795
|
searchable && /* @__PURE__ */ jsx38(MenuSearchField, { label: "", value: search, placeholder: "Search...", labelStyle: "inline", onChange: setSearch, ...tid }),
|
|
11310
|
-
/* @__PURE__ */ jsx38("ul", { className: "p_0 m_0
|
|
11796
|
+
/* @__PURE__ */ jsx38("ul", { className: "p_0 m_0 listNone ol_0", ...menuProps, ref: menuRef, ...tid.menu, children: [...state.collection].map((item) => /* @__PURE__ */ jsx38(MenuSectionImpl, { section: item, state, onClose, ...tid }, item.key)) })
|
|
11311
11797
|
]
|
|
11312
11798
|
}
|
|
11313
11799
|
) });
|
|
@@ -11392,8 +11878,8 @@ function AvatarButton(props) {
|
|
|
11392
11878
|
}
|
|
11393
11879
|
var resetStyles = {
|
|
11394
11880
|
borderRadius: "br100",
|
|
11395
|
-
cursor: "
|
|
11396
|
-
outline: "
|
|
11881
|
+
cursor: "cur_pointer",
|
|
11882
|
+
outline: "ol_0",
|
|
11397
11883
|
position: "relative"
|
|
11398
11884
|
};
|
|
11399
11885
|
var hoverStyles = {
|
|
@@ -11403,7 +11889,7 @@ var focusStyles = {
|
|
|
11403
11889
|
boxShadow: "bshFocus"
|
|
11404
11890
|
};
|
|
11405
11891
|
var disabledStyles = {
|
|
11406
|
-
cursor: "
|
|
11892
|
+
cursor: "cur_not_allowed"
|
|
11407
11893
|
};
|
|
11408
11894
|
var pressedOverlayCss = {
|
|
11409
11895
|
borderRadius: "br100",
|
|
@@ -11414,9 +11900,9 @@ var pressedOverlayCss = {
|
|
|
11414
11900
|
height: "h100",
|
|
11415
11901
|
position: "absolute",
|
|
11416
11902
|
top: "top0",
|
|
11417
|
-
left: "
|
|
11903
|
+
left: "l_0",
|
|
11418
11904
|
opacity: "op_0_2",
|
|
11419
|
-
pointerEvents: "
|
|
11905
|
+
pointerEvents: "pen"
|
|
11420
11906
|
};
|
|
11421
11907
|
|
|
11422
11908
|
// src/components/Button.tsx
|
|
@@ -11518,7 +12004,7 @@ function Button(props) {
|
|
|
11518
12004
|
...isDisabled || asyncInProgress ? {
|
|
11519
12005
|
...disabledStyles3,
|
|
11520
12006
|
...{
|
|
11521
|
-
cursor: "
|
|
12007
|
+
cursor: "cur_not_allowed"
|
|
11522
12008
|
}
|
|
11523
12009
|
} : {},
|
|
11524
12010
|
...isFocusVisible || forceFocusStyles ? focusStyles2 : {}
|
|
@@ -12156,14 +12642,14 @@ function getNavLinkStyles(variant, nested) {
|
|
|
12156
12642
|
}
|
|
12157
12643
|
var baseStyles2 = {
|
|
12158
12644
|
display: "df",
|
|
12159
|
-
gap: "
|
|
12645
|
+
gap: "g_1",
|
|
12160
12646
|
alignItems: "aic",
|
|
12161
12647
|
paddingTop: "pt_6px",
|
|
12162
12648
|
paddingBottom: "pb_6px",
|
|
12163
12649
|
paddingLeft: "pl1",
|
|
12164
12650
|
paddingRight: "pr1",
|
|
12165
12651
|
borderRadius: "br4",
|
|
12166
|
-
outline: "
|
|
12652
|
+
outline: "ol_0"
|
|
12167
12653
|
};
|
|
12168
12654
|
var navLinkVariantStyles = {
|
|
12169
12655
|
side: {
|
|
@@ -12190,7 +12676,7 @@ var navLinkVariantStyles = {
|
|
|
12190
12676
|
color: ["color_var", {
|
|
12191
12677
|
"--color": "var(--b-nav-text-disabled)"
|
|
12192
12678
|
}],
|
|
12193
|
-
cursor: "
|
|
12679
|
+
cursor: "cur_not_allowed"
|
|
12194
12680
|
},
|
|
12195
12681
|
focusRingStyles: {
|
|
12196
12682
|
boxShadow: "bshFocus"
|
|
@@ -12236,7 +12722,7 @@ var navLinkVariantStyles = {
|
|
|
12236
12722
|
color: ["color_var", {
|
|
12237
12723
|
"--color": "var(--b-nav-global-text-disabled)"
|
|
12238
12724
|
}],
|
|
12239
|
-
cursor: "
|
|
12725
|
+
cursor: "cur_not_allowed"
|
|
12240
12726
|
},
|
|
12241
12727
|
focusRingStyles: {
|
|
12242
12728
|
color: ["color_var", {
|
|
@@ -12607,7 +13093,7 @@ function BaseCard(props) {
|
|
|
12607
13093
|
"--objectFit": maybeCssVar19(imageFit)
|
|
12608
13094
|
}]
|
|
12609
13095
|
}), src: imgSrc, alt: imgAlt, "aria-hidden": imgAlt === "" || void 0, loading: "lazy", ...tid.image }),
|
|
12610
|
-
tag && /* @__PURE__ */ jsx46("div", { className: "absolute top1
|
|
13096
|
+
tag && /* @__PURE__ */ jsx46("div", { className: "absolute top1 l_1 df", ...tid.tag, children: /* @__PURE__ */ jsx46(Tag, { ...tag }) })
|
|
12611
13097
|
] }),
|
|
12612
13098
|
/* @__PURE__ */ jsx46("div", { ...trussProps29({
|
|
12613
13099
|
display: "df",
|
|
@@ -12650,7 +13136,7 @@ function BaseCard(props) {
|
|
|
12650
13136
|
}]
|
|
12651
13137
|
} : {},
|
|
12652
13138
|
...onClick ? {
|
|
12653
|
-
cursor: "
|
|
13139
|
+
cursor: "cur_pointer",
|
|
12654
13140
|
boxShadow: "h_bshHover"
|
|
12655
13141
|
} : {},
|
|
12656
13142
|
...isFocusVisible ? {
|
|
@@ -12667,7 +13153,7 @@ function BaseCard(props) {
|
|
|
12667
13153
|
} : {}
|
|
12668
13154
|
}), ...tid, children: [
|
|
12669
13155
|
onClick ? getButtonOrLink(content2, onClick, actionAttrs) : /* @__PURE__ */ jsx46("div", { ...trussProps29(contentStyles), children: content2 }),
|
|
12670
|
-
action && /* @__PURE__ */ jsx46("div", { className: "absolute top2
|
|
13156
|
+
action && /* @__PURE__ */ jsx46("div", { className: "absolute top2 r_2", ...tid.heroAction, children: "items" in action ? /* @__PURE__ */ jsx46(ButtonMenu, { ...action }) : /* @__PURE__ */ jsx46(IconButton, { ...action }) }),
|
|
12671
13157
|
footer && /* @__PURE__ */ jsx46("div", { ...tid.footer, children: footer })
|
|
12672
13158
|
] });
|
|
12673
13159
|
}
|
|
@@ -12715,12 +13201,12 @@ function CardBody(props) {
|
|
|
12715
13201
|
const hasDetails = data.length > 0 || progress !== void 0;
|
|
12716
13202
|
const col1 = data.slice(0, Math.ceil(data.length / 2));
|
|
12717
13203
|
const col2 = data.slice(Math.ceil(data.length / 2));
|
|
12718
|
-
return /* @__PURE__ */ jsxs29("div", { className: "df fdc
|
|
12719
|
-
/* @__PURE__ */ jsxs29("div", { className: "df fdc
|
|
13204
|
+
return /* @__PURE__ */ jsxs29("div", { className: "df fdc g_2 fg1 mw0", children: [
|
|
13205
|
+
/* @__PURE__ */ jsxs29("div", { className: "df fdc g_1", children: [
|
|
12720
13206
|
(leftEyebrow || rightEyebrow) && /* @__PURE__ */ jsxs29("div", { ...trussProps30({
|
|
12721
13207
|
display: "df",
|
|
12722
13208
|
justifyContent: "jcsb",
|
|
12723
|
-
gap: "
|
|
13209
|
+
gap: "g_1",
|
|
12724
13210
|
fontWeight: "fw4",
|
|
12725
13211
|
fontSize: "fz_14px",
|
|
12726
13212
|
lineHeight: "lh_20px",
|
|
@@ -12745,14 +13231,14 @@ function CardBody(props) {
|
|
|
12745
13231
|
"--color": "var(--b-on-surface)"
|
|
12746
13232
|
}]
|
|
12747
13233
|
}), ...tid.title, children: renderMaybeProposed(title, tid.titleProposal) }),
|
|
12748
|
-
(badge || badgeTags?.length) && /* @__PURE__ */ jsxs29("div", { className: "dif aic
|
|
13234
|
+
(badge || badgeTags?.length) && /* @__PURE__ */ jsxs29("div", { className: "dif aic g_1 fs0", ...tid.badge, children: [
|
|
12749
13235
|
badge && /* @__PURE__ */ jsx47("span", { className: "fw4 fz_14px lh_20px wsnw", children: badge }),
|
|
12750
13236
|
badgeTags?.map((tag) => /* @__PURE__ */ jsx47(Tag, { ...tag }, tag.text))
|
|
12751
13237
|
] })
|
|
12752
13238
|
] })
|
|
12753
13239
|
] }),
|
|
12754
|
-
hasDetails && /* @__PURE__ */ jsxs29("div", { className: "df fdc
|
|
12755
|
-
data.length > 0 && /* @__PURE__ */ jsxs29("dl", { className: "df
|
|
13240
|
+
hasDetails && /* @__PURE__ */ jsxs29("div", { className: "df fdc g_2 mta", children: [
|
|
13241
|
+
data.length > 0 && /* @__PURE__ */ jsxs29("dl", { className: "df g_2 fw4 fz_14px lh_20px", children: [
|
|
12756
13242
|
/* @__PURE__ */ jsx47("div", { className: "df fdc fg1 fb2 mw0", children: col1.map((d) => /* @__PURE__ */ jsxs29("div", { className: "df g_4px", ...tid[defaultTestId(d.label)], children: [
|
|
12757
13243
|
/* @__PURE__ */ jsxs29("dt", { className: "fs0", children: [
|
|
12758
13244
|
d.label,
|
|
@@ -12768,7 +13254,7 @@ function CardBody(props) {
|
|
|
12768
13254
|
/* @__PURE__ */ jsx47("dd", { className: "mw0", children: d.value })
|
|
12769
13255
|
] }, d.label)) })
|
|
12770
13256
|
] }),
|
|
12771
|
-
progress !== void 0 && /* @__PURE__ */ jsxs29("div", { className: "df aic
|
|
13257
|
+
progress !== void 0 && /* @__PURE__ */ jsxs29("div", { className: "df aic g_1 fs_10px lh_14px", children: [
|
|
12772
13258
|
/* @__PURE__ */ jsx47("div", { ...trussProps30({
|
|
12773
13259
|
width: "w25",
|
|
12774
13260
|
height: "h_8px",
|
|
@@ -12878,7 +13364,7 @@ function Carousel(props) {
|
|
|
12878
13364
|
marginBottom: "mb_neg4px",
|
|
12879
13365
|
marginRight: "mr_neg4px",
|
|
12880
13366
|
marginLeft: "ml_neg4px",
|
|
12881
|
-
scrollPaddingInline: "
|
|
13367
|
+
scrollPaddingInline: "scpi_4px",
|
|
12882
13368
|
maskImage: ["maskImage_var", {
|
|
12883
13369
|
"--maskImage": maybeCssVar21(maskImage)
|
|
12884
13370
|
}]
|
|
@@ -12904,7 +13390,7 @@ function ScrollButton(props) {
|
|
|
12904
13390
|
return /* @__PURE__ */ jsx48("button", { type: "button", "aria-label": label, onClick, ...trussProps31({
|
|
12905
13391
|
position: "absolute",
|
|
12906
13392
|
top: "top0",
|
|
12907
|
-
bottom: "
|
|
13393
|
+
bottom: "bot_0",
|
|
12908
13394
|
zIndex: "z1",
|
|
12909
13395
|
display: "df",
|
|
12910
13396
|
alignItems: "aic",
|
|
@@ -12919,15 +13405,15 @@ function ScrollButton(props) {
|
|
|
12919
13405
|
paddingBottom: "pb0",
|
|
12920
13406
|
paddingRight: "pr0",
|
|
12921
13407
|
paddingLeft: "pl0",
|
|
12922
|
-
cursor: "
|
|
13408
|
+
cursor: "cur_pointer",
|
|
12923
13409
|
color: ["color_var", {
|
|
12924
13410
|
"--color": "var(--b-on-surface)"
|
|
12925
13411
|
}],
|
|
12926
13412
|
outline: "ol_0",
|
|
12927
13413
|
...back ? {
|
|
12928
|
-
left: "
|
|
13414
|
+
left: "l_0"
|
|
12929
13415
|
} : {
|
|
12930
|
-
right: "
|
|
13416
|
+
right: "r_0"
|
|
12931
13417
|
},
|
|
12932
13418
|
boxShadow: "fv_bshFocus"
|
|
12933
13419
|
}), ...others, children: /* @__PURE__ */ jsx48(Icon, { icon: back ? "chevronLeft" : "chevronRight", inc, color: "--b-on-surface" /* OnSurface */ }) });
|
|
@@ -13029,7 +13515,7 @@ function TableCardView(props) {
|
|
|
13029
13515
|
const titleText = typeof title === "string" ? title : title.proposed;
|
|
13030
13516
|
const shownFooter = shownInteractiveFooter(interactiveFooter);
|
|
13031
13517
|
const action = to || onClick;
|
|
13032
|
-
return /* @__PURE__ */ jsx49(BaseCard, { ...tid, imgSrc, imgAlt: titleText, imageFit, tag: status, onClick: action, height, aiMode, footer: shownFooter && /* @__PURE__ */ jsx49("div", { className: "df fdc
|
|
13518
|
+
return /* @__PURE__ */ jsx49(BaseCard, { ...tid, imgSrc, imgAlt: titleText, imageFit, tag: status, onClick: action, height, aiMode, footer: shownFooter && /* @__PURE__ */ jsx49("div", { className: "df fdc g_2 pl3 pr3 pb3 pt2", ...tid.interactiveFooter, children: /* @__PURE__ */ jsx49(InteractiveFooter, { footer: shownFooter, tid }) }), children: /* @__PURE__ */ jsx49(CardBody, { ...tid, title, leftEyebrow, rightEyebrow, badge, badgeTags, data, progress, aiMode }) });
|
|
13033
13519
|
}
|
|
13034
13520
|
function InteractiveFooter(props) {
|
|
13035
13521
|
const {
|
|
@@ -13076,11 +13562,11 @@ function Thumbnail(props) {
|
|
|
13076
13562
|
backgroundColor: "bgWhite after_a_bgBlue600",
|
|
13077
13563
|
outline: "ol_0",
|
|
13078
13564
|
boxShadow: "h_bshHover fv_bshFocus",
|
|
13079
|
-
content: "
|
|
13565
|
+
content: "after_a_cnt_",
|
|
13080
13566
|
top: "after_a_top0",
|
|
13081
|
-
left: "
|
|
13567
|
+
left: "after_a_l_0",
|
|
13082
13568
|
opacity: "after_a_o_0_28",
|
|
13083
|
-
pointerEvents: "
|
|
13569
|
+
pointerEvents: "after_a_pen"
|
|
13084
13570
|
}), children: /* @__PURE__ */ jsx49("span", { className: "db w100 h100 oh br8", children: /* @__PURE__ */ jsx49("img", { className: "w100 h100 obf_cover db", src: item.imgUrl, alt: "", loading: "lazy" }) }) }) });
|
|
13085
13571
|
}
|
|
13086
13572
|
|
|
@@ -13094,7 +13580,7 @@ function GridTableEmptyState(props) {
|
|
|
13094
13580
|
actions
|
|
13095
13581
|
} = props;
|
|
13096
13582
|
const tid = useTestIds(props, "gridTableEmptyState");
|
|
13097
|
-
return /* @__PURE__ */ jsxs32("div", { className: "df fdc aic pt_12 pb_12
|
|
13583
|
+
return /* @__PURE__ */ jsxs32("div", { className: "df fdc aic pt_12 pb_12 g_2", ...tid, children: [
|
|
13098
13584
|
/* @__PURE__ */ jsx50("div", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
|
|
13099
13585
|
description && /* @__PURE__ */ jsx50("div", { ...trussProps32({
|
|
13100
13586
|
fontWeight: "fw4",
|
|
@@ -13150,6 +13636,7 @@ function GridTable(props) {
|
|
|
13150
13636
|
infoMessage,
|
|
13151
13637
|
persistCollapse,
|
|
13152
13638
|
persistScrollPosition,
|
|
13639
|
+
loading = false,
|
|
13153
13640
|
resizeTarget,
|
|
13154
13641
|
activeRowId,
|
|
13155
13642
|
activeCellId,
|
|
@@ -13429,21 +13916,35 @@ function GridTable(props) {
|
|
|
13429
13916
|
}
|
|
13430
13917
|
return /* @__PURE__ */ jsx51(TableStateContext.Provider, { value: rowStateContext, children: /* @__PURE__ */ jsxs33(PresentationProvider, { fieldProps, wrap: style?.presentationSettings?.wrap, children: [
|
|
13431
13918
|
/* @__PURE__ */ jsx51("div", { ref: resizeRef, ...trussProps33(getTableRefWidthStyles(as === "virtual", inDocumentScrollLayout)), ...tid.probe }),
|
|
13432
|
-
|
|
13919
|
+
loading && /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
13920
|
+
position: "fixed",
|
|
13921
|
+
top: "top0",
|
|
13922
|
+
right: "r_0",
|
|
13923
|
+
bottom: "bot_0",
|
|
13924
|
+
left: "l_0",
|
|
13925
|
+
display: "df",
|
|
13926
|
+
alignItems: "aic",
|
|
13927
|
+
justifyContent: "jcc",
|
|
13928
|
+
pointerEvents: "pen",
|
|
13929
|
+
zIndex: ["z_var", {
|
|
13930
|
+
"--zIndex": maybeCssVar22(zIndices.tableLoadingOverlay)
|
|
13931
|
+
}]
|
|
13932
|
+
}), ...tid.loadingOverlay, children: /* @__PURE__ */ jsx51(Loader, { ...tid.loadingSpinner }) }),
|
|
13933
|
+
as === "card" ? /* @__PURE__ */ jsx51(CardView, { cardRows: visibleDataRows, id, virtuosoRangeRef, infiniteScroll, persistScrollPosition, loading }) : _as === "virtual" ? /* @__PURE__ */ jsx51(VirtualGridTableView, { style: tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, infiniteScroll, persistScrollPosition, loading }) : renders[_as](tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, loading, infiniteScroll, tableContainerRef, persistScrollPosition)
|
|
13433
13934
|
] }) });
|
|
13434
13935
|
}
|
|
13435
13936
|
var renders = {
|
|
13436
13937
|
table: renderTable,
|
|
13437
13938
|
div: renderDiv
|
|
13438
13939
|
};
|
|
13439
|
-
function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
13940
|
+
function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, loading, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
13440
13941
|
return /* @__PURE__ */ jsxs33("div", { ref: tableContainerRef, ...trussProps33({
|
|
13441
13942
|
// Use `fit-content` to ensure the width of the table takes up the full width of its content.
|
|
13442
13943
|
// Otherwise, the table's width would be that of its container, which may not be as wide as the table itself.
|
|
13443
13944
|
// In cases where we have sticky columns on a very wide table, then the container which the columns "stick" to (which is the table),
|
|
13444
13945
|
// needs to be as wide as the table's content, or else we lose the "stickiness" once scrolling past width of the table's container.
|
|
13445
13946
|
...{
|
|
13446
|
-
minWidth: "
|
|
13947
|
+
minWidth: "mwfc"
|
|
13447
13948
|
},
|
|
13448
13949
|
...style.rootCss,
|
|
13449
13950
|
...style.minWidthPx ? {
|
|
@@ -13451,7 +13952,8 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinned
|
|
|
13451
13952
|
"--minWidth": `${style.minWidthPx}px`
|
|
13452
13953
|
}]
|
|
13453
13954
|
} : {},
|
|
13454
|
-
...xss
|
|
13955
|
+
...xss,
|
|
13956
|
+
...loading && loadingTableCss
|
|
13455
13957
|
}), "data-testid": id, children: [
|
|
13456
13958
|
/* @__PURE__ */ jsxs33("div", { ...trussProps33({
|
|
13457
13959
|
...stickyHeader || pinnedRows.length > 0 ? {
|
|
@@ -13482,7 +13984,7 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinned
|
|
|
13482
13984
|
] })
|
|
13483
13985
|
] });
|
|
13484
13986
|
}
|
|
13485
|
-
function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
13987
|
+
function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, loading, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
13486
13988
|
return /* @__PURE__ */ jsxs33("table", { ref: tableContainerRef, ...trussProps33({
|
|
13487
13989
|
...{
|
|
13488
13990
|
width: "w100",
|
|
@@ -13495,7 +13997,8 @@ function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinn
|
|
|
13495
13997
|
"--minWidth": `${style.minWidthPx}px`
|
|
13496
13998
|
}]
|
|
13497
13999
|
} : {},
|
|
13498
|
-
...xss
|
|
14000
|
+
...xss,
|
|
14001
|
+
...loading && loadingTableCss
|
|
13499
14002
|
}), "data-testid": id, children: [
|
|
13500
14003
|
/* @__PURE__ */ jsxs33("thead", { ...trussProps33({
|
|
13501
14004
|
...stickyHeader || pinnedRows.length > 0 ? {
|
|
@@ -13542,7 +14045,8 @@ function VirtualGridTableView({
|
|
|
13542
14045
|
tableHeadRows,
|
|
13543
14046
|
stickyOffset,
|
|
13544
14047
|
infiniteScroll,
|
|
13545
|
-
persistScrollPosition = infiniteScroll === void 0
|
|
14048
|
+
persistScrollPosition = infiniteScroll === void 0,
|
|
14049
|
+
loading = false
|
|
13546
14050
|
}) {
|
|
13547
14051
|
const customScrollParent = useVirtualizedScrollParent();
|
|
13548
14052
|
const inDocumentScrollLayout = useDocumentScrollLayout();
|
|
@@ -13554,6 +14058,30 @@ function VirtualGridTableView({
|
|
|
13554
14058
|
const savedScrollIndex = getScrollIndex();
|
|
13555
14059
|
const topItemCount = (stickyHeader || pinnedRows.length > 0 ? tableHeadRows.length : 0) + pinnedRows.length;
|
|
13556
14060
|
const validatedScrollIndex = savedScrollIndex !== void 0 && savedScrollIndex > 0 && savedScrollIndex < visibleDataRows.length ? savedScrollIndex + topItemCount : void 0;
|
|
14061
|
+
const components = useMemo14(() => ({
|
|
14062
|
+
// zIndex keeps the pinned head above sticky columns; `top` matches the offsets used by
|
|
14063
|
+
// the div/table render paths so virtualized tables pin below the global nav + page header.
|
|
14064
|
+
TopItemList: React9.forwardRef((props, ref) => /* @__PURE__ */ jsx51("div", { ...props, ref, ...mergeProps14(void 0, {
|
|
14065
|
+
...props.style,
|
|
14066
|
+
...style.minWidthPx !== void 0 ? {
|
|
14067
|
+
minWidth: style.minWidthPx
|
|
14068
|
+
} : {},
|
|
14069
|
+
zIndex: zIndices.tableStickyHeader,
|
|
14070
|
+
top: stickyTableHeaderOffset(stickyOffset)
|
|
14071
|
+
}, {
|
|
14072
|
+
transition: "transitionTop"
|
|
14073
|
+
}) })),
|
|
14074
|
+
List: VirtualRoot(style, columns, id, xss),
|
|
14075
|
+
Footer: () => {
|
|
14076
|
+
return /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
14077
|
+
...style.virtualFooterPaddingBottomPx !== void 0 ? {
|
|
14078
|
+
paddingBottom: ["pb_var", {
|
|
14079
|
+
"--paddingBottom": `${style.virtualFooterPaddingBottomPx ?? 0}px`
|
|
14080
|
+
}]
|
|
14081
|
+
} : {}
|
|
14082
|
+
}), children: fetchMoreInProgress && /* @__PURE__ */ jsx51("div", { className: "h5 df aic jcc", children: /* @__PURE__ */ jsx51(Loader, { size: "xs" }) }) });
|
|
14083
|
+
}
|
|
14084
|
+
}), [columns, fetchMoreInProgress, id, stickyOffset, style, xss]);
|
|
13557
14085
|
const virtuosoKey = !!validatedScrollIndex && visibleDataRows.length > 0 ? "with-data" : "virtuoso";
|
|
13558
14086
|
return /* @__PURE__ */ jsx51(
|
|
13559
14087
|
Virtuoso,
|
|
@@ -13561,36 +14089,14 @@ function VirtualGridTableView({
|
|
|
13561
14089
|
useWindowScroll: inDocumentScrollLayout && !customScrollParent,
|
|
13562
14090
|
overscan: 5,
|
|
13563
14091
|
ref: virtuosoRef,
|
|
14092
|
+
...loading ? trussProps33(loadingTableCss) : {},
|
|
13564
14093
|
...customScrollParent ? {
|
|
13565
14094
|
customScrollParent
|
|
13566
14095
|
} : {},
|
|
13567
14096
|
...validatedScrollIndex !== void 0 ? {
|
|
13568
14097
|
initialTopMostItemIndex: validatedScrollIndex
|
|
13569
14098
|
} : {},
|
|
13570
|
-
components
|
|
13571
|
-
// zIndex keeps the pinned head above sticky columns; `top` matches the offsets used by
|
|
13572
|
-
// the div/table render paths so virtualized tables pin below the global nav + page header.
|
|
13573
|
-
TopItemList: React9.forwardRef((props, ref) => /* @__PURE__ */ jsx51("div", { ...props, ref, ...mergeProps14(void 0, {
|
|
13574
|
-
...props.style,
|
|
13575
|
-
...style.minWidthPx !== void 0 ? {
|
|
13576
|
-
minWidth: style.minWidthPx
|
|
13577
|
-
} : {},
|
|
13578
|
-
zIndex: zIndices.tableStickyHeader,
|
|
13579
|
-
top: stickyTableHeaderOffset(stickyOffset)
|
|
13580
|
-
}, {
|
|
13581
|
-
transition: "transitionTop"
|
|
13582
|
-
}) })),
|
|
13583
|
-
List: VirtualRoot(style, columns, id, xss),
|
|
13584
|
-
Footer: () => {
|
|
13585
|
-
return /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
13586
|
-
...style.virtualFooterPaddingBottomPx !== void 0 ? {
|
|
13587
|
-
paddingBottom: ["pb_var", {
|
|
13588
|
-
"--paddingBottom": `${style.virtualFooterPaddingBottomPx ?? 0}px`
|
|
13589
|
-
}]
|
|
13590
|
-
} : {}
|
|
13591
|
-
}), children: fetchMoreInProgress && /* @__PURE__ */ jsx51("div", { className: "h5 df aic jcc", children: /* @__PURE__ */ jsx51(Loader, { size: "xs" }) }) });
|
|
13592
|
-
}
|
|
13593
|
-
},
|
|
14099
|
+
components,
|
|
13594
14100
|
topItemCount,
|
|
13595
14101
|
itemContent: (index) => {
|
|
13596
14102
|
if (index < tableHeadRows.length) {
|
|
@@ -13658,7 +14164,8 @@ function CardView({
|
|
|
13658
14164
|
id,
|
|
13659
14165
|
virtuosoRangeRef,
|
|
13660
14166
|
infiniteScroll,
|
|
13661
|
-
persistScrollPosition = infiniteScroll === void 0
|
|
14167
|
+
persistScrollPosition = infiniteScroll === void 0,
|
|
14168
|
+
loading = false
|
|
13662
14169
|
}) {
|
|
13663
14170
|
const customScrollParent = useVirtualizedScrollParent();
|
|
13664
14171
|
const inDocumentScrollLayout = useDocumentScrollLayout();
|
|
@@ -13671,20 +14178,32 @@ function CardView({
|
|
|
13671
14178
|
const validatedScrollIndex = savedScrollIndex !== void 0 && savedScrollIndex > 0 && savedScrollIndex < cardRows.length ? savedScrollIndex : void 0;
|
|
13672
14179
|
const virtuosoKey = !!validatedScrollIndex && cardRows.length > 0 ? "with-data" : "virtuoso";
|
|
13673
14180
|
if (runningInJest) {
|
|
13674
|
-
return /* @__PURE__ */ jsx51("div", {
|
|
14181
|
+
return /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
14182
|
+
...{
|
|
14183
|
+
paddingTop: "pt2",
|
|
14184
|
+
paddingBottom: "pb2"
|
|
14185
|
+
},
|
|
14186
|
+
...loading && loadingTableCss
|
|
14187
|
+
}), children: /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
13675
14188
|
display: "dg",
|
|
13676
14189
|
gridTemplateColumns: ["gtc_var", {
|
|
13677
14190
|
"--gridTemplateColumns": maybeCssVar22(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
13678
14191
|
}],
|
|
13679
14192
|
justifyContent: "jcc",
|
|
13680
|
-
gap: "
|
|
14193
|
+
gap: "g_3",
|
|
13681
14194
|
paddingTop: "pt3",
|
|
13682
14195
|
paddingBottom: "pb3",
|
|
13683
14196
|
paddingRight: "pr3",
|
|
13684
14197
|
paddingLeft: "pl3"
|
|
13685
14198
|
}), children: cardRows }) });
|
|
13686
14199
|
}
|
|
13687
|
-
return /* @__PURE__ */ jsx51("div", {
|
|
14200
|
+
return /* @__PURE__ */ jsx51("div", { ...trussProps33({
|
|
14201
|
+
...{
|
|
14202
|
+
paddingBottom: "pb2",
|
|
14203
|
+
height: "h100"
|
|
14204
|
+
},
|
|
14205
|
+
...loading && loadingTableCss
|
|
14206
|
+
}), children: /* @__PURE__ */ createElement(VirtuosoGrid, { useWindowScroll: inDocumentScrollLayout && !customScrollParent, ...customScrollParent ? {
|
|
13688
14207
|
customScrollParent
|
|
13689
14208
|
} : {}, ...validatedScrollIndex !== void 0 ? {
|
|
13690
14209
|
initialTopMostItemIndex: validatedScrollIndex
|
|
@@ -13699,7 +14218,7 @@ function CardView({
|
|
|
13699
14218
|
"--gridTemplateColumns": maybeCssVar22(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
13700
14219
|
}],
|
|
13701
14220
|
justifyContent: "jcc",
|
|
13702
|
-
gap: "
|
|
14221
|
+
gap: "g_3",
|
|
13703
14222
|
paddingTop: "pt3",
|
|
13704
14223
|
paddingBottom: "pb3",
|
|
13705
14224
|
paddingRight: "pr3",
|
|
@@ -13814,7 +14333,7 @@ var chipHoverOnlyStyles = {
|
|
|
13814
14333
|
};
|
|
13815
14334
|
var chipDisabledStyles = {
|
|
13816
14335
|
color: "gray600",
|
|
13817
|
-
cursor: "
|
|
14336
|
+
cursor: "cur_not_allowed"
|
|
13818
14337
|
};
|
|
13819
14338
|
|
|
13820
14339
|
// src/components/ToggleChips.tsx
|
|
@@ -13832,7 +14351,7 @@ function ToggleChips(props) {
|
|
|
13832
14351
|
...{
|
|
13833
14352
|
display: "df",
|
|
13834
14353
|
flexWrap: "fww",
|
|
13835
|
-
gap: "
|
|
14354
|
+
gap: "g_1"
|
|
13836
14355
|
},
|
|
13837
14356
|
...xss
|
|
13838
14357
|
}), ...tid, children: values.map((value) => /* @__PURE__ */ jsx53(ToggleChip, { text: getLabel(value), onClick: () => onRemove(value), ...tid.chip }, getLabel(value))) });
|
|
@@ -14179,7 +14698,7 @@ var aiCardChrome = {
|
|
|
14179
14698
|
lg: {
|
|
14180
14699
|
logoHeight: 3,
|
|
14181
14700
|
gapCss: {
|
|
14182
|
-
gap: "
|
|
14701
|
+
gap: "g_2"
|
|
14183
14702
|
}
|
|
14184
14703
|
},
|
|
14185
14704
|
sm: {
|
|
@@ -14201,7 +14720,7 @@ function AiBanner(props) {
|
|
|
14201
14720
|
secondaryAction
|
|
14202
14721
|
} = props;
|
|
14203
14722
|
const tid = useTestIds(props, "aiBanner");
|
|
14204
|
-
return /* @__PURE__ */ jsx58(AiPanel, { padding: "sm", ...tid, children: /* @__PURE__ */ jsx58(AiCard, { size: "sm", ...tid, children: /* @__PURE__ */ jsxs38("div", { className: "df aic jcsb
|
|
14723
|
+
return /* @__PURE__ */ jsx58(AiPanel, { padding: "sm", ...tid, children: /* @__PURE__ */ jsx58(AiCard, { size: "sm", ...tid, children: /* @__PURE__ */ jsxs38("div", { className: "df aic jcsb g_2 w100 fww pt_12px pb2 pl2 pr2", children: [
|
|
14205
14724
|
/* @__PURE__ */ jsxs38("div", { className: "df fdc g_4px fg1 fb_0 mw_240px", children: [
|
|
14206
14725
|
/* @__PURE__ */ jsx58("span", { className: "fw6 fz_14px lh_20px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent", ...tid.title, children: title }),
|
|
14207
14726
|
message && /* @__PURE__ */ jsx58("span", { ...trussProps39({
|
|
@@ -14213,7 +14732,7 @@ function AiBanner(props) {
|
|
|
14213
14732
|
}]
|
|
14214
14733
|
}), ...tid.message, children: message })
|
|
14215
14734
|
] }),
|
|
14216
|
-
(primaryAction || secondaryAction) && /* @__PURE__ */ jsxs38("div", { className: "df aic
|
|
14735
|
+
(primaryAction || secondaryAction) && /* @__PURE__ */ jsxs38("div", { className: "df aic g_2 fs0", children: [
|
|
14217
14736
|
secondaryAction && /* @__PURE__ */ jsx58(Button, { ...secondaryAction, variant: "quaternary" }),
|
|
14218
14737
|
primaryAction && /* @__PURE__ */ jsx58(Button, { ...primaryAction, variant: "ai" })
|
|
14219
14738
|
] })
|
|
@@ -14236,7 +14755,7 @@ function LinkCard(props) {
|
|
|
14236
14755
|
...trussProps40({
|
|
14237
14756
|
display: "df",
|
|
14238
14757
|
alignItems: "ais",
|
|
14239
|
-
gap: "
|
|
14758
|
+
gap: "g_2",
|
|
14240
14759
|
width: "w100",
|
|
14241
14760
|
paddingTop: "pt2",
|
|
14242
14761
|
paddingBottom: "pb2",
|
|
@@ -14285,7 +14804,7 @@ function AiLinkCardGroup(props) {
|
|
|
14285
14804
|
} = props;
|
|
14286
14805
|
const tid = useTestIds(props, "aiLinkCardGroup");
|
|
14287
14806
|
if (cards.length === 0) return null;
|
|
14288
|
-
return /* @__PURE__ */ jsx60(AiPanel, { padding: "lg", ...tid, children: /* @__PURE__ */ jsxs40("div", { className: "df fdc aifs
|
|
14807
|
+
return /* @__PURE__ */ jsx60(AiPanel, { padding: "lg", ...tid, children: /* @__PURE__ */ jsxs40("div", { className: "df fdc aifs g_2 w100", children: [
|
|
14289
14808
|
/* @__PURE__ */ jsx60(BlueprintAiLogo, { height: 3 }),
|
|
14290
14809
|
cards.map((card) => /* @__PURE__ */ jsx60(LinkCard, { ...card }, card.title))
|
|
14291
14810
|
] }) });
|
|
@@ -14355,7 +14874,7 @@ function AiLoadingPanel(props) {
|
|
|
14355
14874
|
const card = (
|
|
14356
14875
|
// `status` rather than `alert` so assistive tech waits for a pause instead of interrupting, and
|
|
14357
14876
|
// `aria-busy` so it knows the surrounding content is still settling.
|
|
14358
|
-
/* @__PURE__ */ jsx62(AiCard, { role: "status", "aria-busy": true, size: "lg", ...tid, children: /* @__PURE__ */ jsxs41("div", { className: "df fdc aic
|
|
14877
|
+
/* @__PURE__ */ jsx62(AiCard, { role: "status", "aria-busy": true, size: "lg", ...tid, children: /* @__PURE__ */ jsxs41("div", { className: "df fdc aic g_1 w100 pt2 pb2 pl3 pr3", children: [
|
|
14359
14878
|
/* @__PURE__ */ jsx62(AiLoader, {}),
|
|
14360
14879
|
/* @__PURE__ */ jsx62("span", { className: "fw6 fz_18px lh_28px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent", ...tid.title, children: title }),
|
|
14361
14880
|
/* @__PURE__ */ jsx62("span", { ...trussProps42({
|
|
@@ -14381,11 +14900,11 @@ function AiSlimBanner(props) {
|
|
|
14381
14900
|
action
|
|
14382
14901
|
} = props;
|
|
14383
14902
|
const tid = useTestIds(props, "aiSlimBanner");
|
|
14384
|
-
return /* @__PURE__ */ jsxs42("div", { className: "df ais
|
|
14903
|
+
return /* @__PURE__ */ jsxs42("div", { className: "df ais g_2 w100 pl2 pr2 fw4 fz_12px lh_16px aiBackground", ...tid, children: [
|
|
14385
14904
|
/* @__PURE__ */ jsx63("span", { className: "df aic jcc fs0 pt1 pb1 w_12px h_32px", children: /* @__PURE__ */ jsx63(Icon, { icon: "aiStar", inc: 2.125, xss: {
|
|
14386
14905
|
flexShrink: "fs0"
|
|
14387
14906
|
} }) }),
|
|
14388
|
-
/* @__PURE__ */ jsxs42("div", { className: "df aic jcsb
|
|
14907
|
+
/* @__PURE__ */ jsxs42("div", { className: "df aic jcsb g_2 fg1 mw0", children: [
|
|
14389
14908
|
/* @__PURE__ */ jsx63("span", { className: "fw6 fz_12px lh_16px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent pt1 pb1 mw0", ...tid.title, children: title }),
|
|
14390
14909
|
action && /* @__PURE__ */ jsx63("div", { className: "fs0", children: /* @__PURE__ */ jsx63(Button, { ...action, variant: "text" }) })
|
|
14391
14910
|
] })
|
|
@@ -14513,7 +15032,7 @@ function Indicator({
|
|
|
14513
15032
|
}) {
|
|
14514
15033
|
return /* @__PURE__ */ jsxs43("div", { "data-testid": "autoSave", ...trussProps43({
|
|
14515
15034
|
display: "df",
|
|
14516
|
-
gap: "
|
|
15035
|
+
gap: "g_1",
|
|
14517
15036
|
alignItems: "aic",
|
|
14518
15037
|
color: ["color_var", {
|
|
14519
15038
|
"--color": "var(--b-on-surface-muted)"
|
|
@@ -14542,7 +15061,7 @@ function ContextualModal(props) {
|
|
|
14542
15061
|
close
|
|
14543
15062
|
} = props;
|
|
14544
15063
|
const tid = useTestIds(props, "popup");
|
|
14545
|
-
return /* @__PURE__ */ jsx66(FocusScope2, { restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ jsxs44("div", { className: "pt3 pb3 pr3 pl3 df fdc
|
|
15064
|
+
return /* @__PURE__ */ jsx66(FocusScope2, { restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ jsxs44("div", { className: "pt3 pb3 pr3 pl3 df fdc g_3 bgWhite bshModal br4 maxh_inherit oa", ...tid, children: [
|
|
14546
15065
|
title && /* @__PURE__ */ jsx66("div", { className: "fw6 fz_18px lh_28px tac", ...tid.title, children: title }),
|
|
14547
15066
|
/* @__PURE__ */ jsx66("div", { ...tid.content, children: typeof content2 === "function" ? content2(close) : content2 })
|
|
14548
15067
|
] }) });
|
|
@@ -14573,7 +15092,7 @@ function AvatarGroup(props) {
|
|
|
14573
15092
|
const maxVisibleAvatars = avatars.length <= 8 ? 8 : 7;
|
|
14574
15093
|
const visibleAvatars = avatars.slice(0, maxVisibleAvatars);
|
|
14575
15094
|
const menuAvatars = avatars.slice(maxVisibleAvatars);
|
|
14576
|
-
return /* @__PURE__ */ jsxs45("div", { className: "df aic
|
|
15095
|
+
return /* @__PURE__ */ jsxs45("div", { className: "df aic g_1 fw6 fz_12px lh_16px", children: [
|
|
14577
15096
|
/* @__PURE__ */ jsx68("div", { className: "df aic", children: visibleAvatars.map((avatar, idx) => /* @__PURE__ */ jsx68("div", { ...trussProps44({
|
|
14578
15097
|
borderRadius: "br100",
|
|
14579
15098
|
borderStyle: "bss",
|
|
@@ -14588,7 +15107,7 @@ function AvatarGroup(props) {
|
|
|
14588
15107
|
menuAvatars.length > 0 && /* @__PURE__ */ jsx68(ButtonModal, { trigger: {
|
|
14589
15108
|
label: `+ ${menuAvatars.length} more`,
|
|
14590
15109
|
variant: "text"
|
|
14591
|
-
}, hideEndAdornment: true, content: /* @__PURE__ */ jsx68("div", { className: "df fdc
|
|
15110
|
+
}, hideEndAdornment: true, content: /* @__PURE__ */ jsx68("div", { className: "df fdc g_1 mt_neg12px mb_neg12px mr_neg12px ml_neg12px", children: menuAvatars.map((a, idx) => /* @__PURE__ */ jsx68(Avatar, { src: a.src, name: a.name, showName: true, size: "md" }, a.src ?? idx)) }) })
|
|
14592
15111
|
] });
|
|
14593
15112
|
}
|
|
14594
15113
|
var sizeToOverlap = {
|
|
@@ -14616,7 +15135,7 @@ function Banner(props) {
|
|
|
14616
15135
|
display: "df",
|
|
14617
15136
|
alignItems: "aic",
|
|
14618
15137
|
width: "w100",
|
|
14619
|
-
gap: "
|
|
15138
|
+
gap: "g_1",
|
|
14620
15139
|
paddingTop: "pt2",
|
|
14621
15140
|
paddingBottom: "pb2",
|
|
14622
15141
|
paddingRight: "pr2",
|
|
@@ -14886,9 +15405,9 @@ function Day(props) {
|
|
|
14886
15405
|
return /* @__PURE__ */ jsxs48("button", { ...otherProps, ref: buttonRef, type: "button", ...mergeProps15("beam-day-button", void 0, {
|
|
14887
15406
|
position: "relative",
|
|
14888
15407
|
paddingBottom: "pb_4px",
|
|
14889
|
-
outline: "
|
|
15408
|
+
outline: "ol_0",
|
|
14890
15409
|
...disabled ? {
|
|
14891
|
-
cursor: "
|
|
15410
|
+
cursor: "cur_not_allowed"
|
|
14892
15411
|
} : {}
|
|
14893
15412
|
}), ...selected && {
|
|
14894
15413
|
"data-selected": ""
|
|
@@ -15232,7 +15751,7 @@ function GroupButton(props) {
|
|
|
15232
15751
|
color: ["d_color_var", {
|
|
15233
15752
|
"--d_color": "var(--b-text-disabled)"
|
|
15234
15753
|
}],
|
|
15235
|
-
cursor: "
|
|
15754
|
+
cursor: "d_cur_not_allowed",
|
|
15236
15755
|
borderColor: ["d_bc_var", {
|
|
15237
15756
|
"--d_borderColor": "var(--b-field-border-default)"
|
|
15238
15757
|
}]
|
|
@@ -15398,18 +15917,18 @@ function Card(props) {
|
|
|
15398
15917
|
}), src: imgSrc, alt: title, ...tid.img }) }),
|
|
15399
15918
|
isHovered && buttonMenuItems && /* @__PURE__ */ jsx78("div", { ...trussProps52({
|
|
15400
15919
|
position: "absolute",
|
|
15401
|
-
right: "
|
|
15920
|
+
right: "r_1",
|
|
15402
15921
|
top: "top1",
|
|
15403
15922
|
...bordered && !isList ? {
|
|
15404
|
-
right: "
|
|
15923
|
+
right: "r_3",
|
|
15405
15924
|
top: "top3"
|
|
15406
15925
|
} : {}
|
|
15407
15926
|
}), children: /* @__PURE__ */ jsx78(ButtonMenu, { trigger: {
|
|
15408
15927
|
icon: "verticalDots",
|
|
15409
15928
|
color: isList ? "--b-on-surface-muted" /* OnSurfaceMuted */ : "--b-on-primary" /* OnPrimary */
|
|
15410
15929
|
}, items: buttonMenuItems }) }),
|
|
15411
|
-
tag && !isList && /* @__PURE__ */ jsx78("div", { className: "absolute
|
|
15412
|
-
/* @__PURE__ */ jsxs51("div", { className: "df fdc aifs
|
|
15930
|
+
tag && !isList && /* @__PURE__ */ jsx78("div", { className: "absolute l_1 tp_4px", children: /* @__PURE__ */ jsx78(Tag, { type: tag.type, text: tag.text, ...tid.tag }) }),
|
|
15931
|
+
/* @__PURE__ */ jsxs51("div", { className: "df fdc aifs g_1", children: [
|
|
15413
15932
|
tag && isList && /* @__PURE__ */ jsx78(Tag, { type: tag.type, text: tag.text, ...tid.tag }),
|
|
15414
15933
|
/* @__PURE__ */ jsxs51("div", { children: [
|
|
15415
15934
|
/* @__PURE__ */ jsx78("div", { ...trussProps52({
|
|
@@ -15451,7 +15970,7 @@ var baseStyles3 = (type) => ({
|
|
|
15451
15970
|
}],
|
|
15452
15971
|
display: "df",
|
|
15453
15972
|
flexDirection: "fdc",
|
|
15454
|
-
gap: "
|
|
15973
|
+
gap: "g_1",
|
|
15455
15974
|
position: "relative"
|
|
15456
15975
|
});
|
|
15457
15976
|
var fullWidthStyles = {
|
|
@@ -15460,7 +15979,7 @@ var fullWidthStyles = {
|
|
|
15460
15979
|
var listStyles = {
|
|
15461
15980
|
display: "df",
|
|
15462
15981
|
flexDirection: "fdr",
|
|
15463
|
-
gap: "
|
|
15982
|
+
gap: "g_2"
|
|
15464
15983
|
};
|
|
15465
15984
|
var borderedStyles = {
|
|
15466
15985
|
borderStyle: "bss",
|
|
@@ -15482,7 +16001,7 @@ var cardHoverStyles = {
|
|
|
15482
16001
|
borderColor: ["bc_var", {
|
|
15483
16002
|
"--borderColor": "var(--b-field-border-hover)"
|
|
15484
16003
|
}],
|
|
15485
|
-
cursor: "
|
|
16004
|
+
cursor: "cur_pointer"
|
|
15486
16005
|
};
|
|
15487
16006
|
var imageHoverStyles = {
|
|
15488
16007
|
backgroundColor: ["bgColor_var", {
|
|
@@ -15603,14 +16122,14 @@ function EnvironmentBanner(props) {
|
|
|
15603
16122
|
},
|
|
15604
16123
|
...headerContentPaddingX()
|
|
15605
16124
|
}), ...tid.content, children: [
|
|
15606
|
-
/* @__PURE__ */ jsxs52("span", { className: "df aic
|
|
16125
|
+
/* @__PURE__ */ jsxs52("span", { className: "df aic g_2 fg1 mh0 oh", ...tid.left, children: [
|
|
15607
16126
|
/* @__PURE__ */ jsx81(Tag, { text: badgeLabel, xss: {
|
|
15608
16127
|
backgroundColor: "bgColor_FFFFFF90"
|
|
15609
16128
|
}, ...tid.badge }),
|
|
15610
16129
|
/* @__PURE__ */ jsxs52("span", { ...trussProps54({
|
|
15611
16130
|
...{
|
|
15612
16131
|
alignItems: "aic",
|
|
15613
|
-
gap: "
|
|
16132
|
+
gap: "g_1",
|
|
15614
16133
|
fontWeight: "fw6",
|
|
15615
16134
|
fontSize: "fz_12px",
|
|
15616
16135
|
lineHeight: "lh_16px",
|
|
@@ -15631,7 +16150,7 @@ function EnvironmentBanner(props) {
|
|
|
15631
16150
|
impersonating != null && /* @__PURE__ */ jsxs52("span", { ...trussProps54({
|
|
15632
16151
|
display: "df",
|
|
15633
16152
|
alignItems: "aic",
|
|
15634
|
-
gap: "
|
|
16153
|
+
gap: "g_2",
|
|
15635
16154
|
fontWeight: "fw6",
|
|
15636
16155
|
fontSize: "fz_12px",
|
|
15637
16156
|
lineHeight: "lh_16px",
|
|
@@ -15708,13 +16227,13 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
15708
16227
|
width: ["sq_var", {
|
|
15709
16228
|
"--width": `${invertedCornerRadiusPx}px`
|
|
15710
16229
|
}],
|
|
15711
|
-
pointerEvents: "
|
|
16230
|
+
pointerEvents: "pen",
|
|
15712
16231
|
zIndex: "z1"
|
|
15713
16232
|
};
|
|
15714
16233
|
const outerPosition = side === "left" ? {
|
|
15715
|
-
left: "
|
|
16234
|
+
left: "l_0"
|
|
15716
16235
|
} : {
|
|
15717
|
-
right: "
|
|
16236
|
+
right: "r_0"
|
|
15718
16237
|
};
|
|
15719
16238
|
const shadowXOffset = side === "left" ? -invertedCornerRadiusPx : invertedCornerRadiusPx;
|
|
15720
16239
|
return /* @__PURE__ */ jsx81("div", { "aria-hidden": true, ...trussProps54({
|
|
@@ -15729,7 +16248,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
15729
16248
|
"--boxShadow": maybeCssVar_13(`${shadowXOffset}px -${invertedCornerRadiusPx}px 0 0 ${bgColorVar}`)
|
|
15730
16249
|
}],
|
|
15731
16250
|
...side === "right" ? {
|
|
15732
|
-
right: "
|
|
16251
|
+
right: "r_0"
|
|
15733
16252
|
} : {}
|
|
15734
16253
|
}) }) });
|
|
15735
16254
|
}
|
|
@@ -15847,7 +16366,7 @@ function SnackbarNotice(props) {
|
|
|
15847
16366
|
display: "df",
|
|
15848
16367
|
flexDirection: "fdc",
|
|
15849
16368
|
alignItems: "aifs",
|
|
15850
|
-
gap: "
|
|
16369
|
+
gap: "g_1",
|
|
15851
16370
|
paddingRight: "pr2",
|
|
15852
16371
|
paddingLeft: ["pl_var", {
|
|
15853
16372
|
"--paddingLeft": `${icon ? 8 : 16}px`
|
|
@@ -15931,7 +16450,7 @@ function Snackbar({
|
|
|
15931
16450
|
bottom: ["bottom_var", {
|
|
15932
16451
|
"--bottom": `${offset.bottom ?? defaultOffset.bottom}px`
|
|
15933
16452
|
}],
|
|
15934
|
-
left: "
|
|
16453
|
+
left: "l_3",
|
|
15935
16454
|
display: "df",
|
|
15936
16455
|
flexDirection: "fdc",
|
|
15937
16456
|
alignItems: "aifs",
|
|
@@ -16259,9 +16778,9 @@ function SuperDrawer() {
|
|
|
16259
16778
|
"--backgroundColor": "var(--b-scrim)"
|
|
16260
16779
|
}],
|
|
16261
16780
|
top: "top0",
|
|
16262
|
-
right: "
|
|
16263
|
-
bottom: "
|
|
16264
|
-
left: "
|
|
16781
|
+
right: "r_0",
|
|
16782
|
+
bottom: "bot_0",
|
|
16783
|
+
left: "l_0",
|
|
16265
16784
|
zIndex: ["z_var", {
|
|
16266
16785
|
"--zIndex": maybeCssVar30(zIndices.superDrawerScrim)
|
|
16267
16786
|
}]
|
|
@@ -16329,7 +16848,7 @@ function SuperDrawer() {
|
|
|
16329
16848
|
display: "df",
|
|
16330
16849
|
alignItems: "aic",
|
|
16331
16850
|
justifyContent: "jcsb",
|
|
16332
|
-
gap: "
|
|
16851
|
+
gap: "g_3"
|
|
16333
16852
|
}), children: [
|
|
16334
16853
|
/* @__PURE__ */ jsx89("div", { ref: headerRef, ...trussProps57({
|
|
16335
16854
|
color: ["color_var", {
|
|
@@ -16682,7 +17201,7 @@ function ModalFooter({
|
|
|
16682
17201
|
display: "df",
|
|
16683
17202
|
alignItems: "aic",
|
|
16684
17203
|
justifyContent: "jcfe",
|
|
16685
|
-
gap: "
|
|
17204
|
+
gap: "g_1"
|
|
16686
17205
|
},
|
|
16687
17206
|
...xss
|
|
16688
17207
|
}), ...testId.footer, children }), modalFooterDiv);
|
|
@@ -16728,7 +17247,7 @@ function FilterModal(props) {
|
|
|
16728
17247
|
// Only remove the filters keys that exist in the modal.
|
|
16729
17248
|
setModalFilter(safeKeys(filters).reduce((acc, fk) => omitKey(fk, acc), modalFilter))
|
|
16730
17249
|
), ...testId.modalClear }),
|
|
16731
|
-
/* @__PURE__ */ jsxs59("div", { className: "df
|
|
17250
|
+
/* @__PURE__ */ jsxs59("div", { className: "df g_1", children: [
|
|
16732
17251
|
/* @__PURE__ */ jsx93(Button, { label: "Cancel", variant: "quaternary", onClick: closeModal, ...testId.modalClose }),
|
|
16733
17252
|
/* @__PURE__ */ jsx93(Button, { label: "Apply", onClick: () => {
|
|
16734
17253
|
onApply(modalFilter);
|
|
@@ -16930,7 +17449,7 @@ function ChipTextField(props) {
|
|
|
16930
17449
|
...chipBaseStyles(fieldProps?.compact),
|
|
16931
17450
|
...{
|
|
16932
17451
|
minWidth: "mw_32px",
|
|
16933
|
-
outline: "
|
|
17452
|
+
outline: "ol_0"
|
|
16934
17453
|
},
|
|
16935
17454
|
...isFocused && {
|
|
16936
17455
|
boxShadow: "bshFocus"
|
|
@@ -17040,7 +17559,7 @@ function ChipSelectField(props) {
|
|
|
17040
17559
|
...{
|
|
17041
17560
|
paddingTop: "pt_2px",
|
|
17042
17561
|
paddingBottom: "pb_2px",
|
|
17043
|
-
gap: "
|
|
17562
|
+
gap: "g_0",
|
|
17044
17563
|
alignItems: "aiStretch"
|
|
17045
17564
|
}
|
|
17046
17565
|
};
|
|
@@ -17212,7 +17731,7 @@ function ChipSelectField(props) {
|
|
|
17212
17731
|
paddingRight: "pr_10px",
|
|
17213
17732
|
paddingTop: "pt_2px",
|
|
17214
17733
|
paddingBottom: "pb_2px",
|
|
17215
|
-
outline: "
|
|
17734
|
+
outline: "ol_0",
|
|
17216
17735
|
...showClearButton ? {
|
|
17217
17736
|
paddingRight: "pr_4px",
|
|
17218
17737
|
borderRadius: "bra_16px_0_0_16px"
|
|
@@ -17224,7 +17743,7 @@ function ChipSelectField(props) {
|
|
|
17224
17743
|
...{
|
|
17225
17744
|
paddingRight: "pr_4px",
|
|
17226
17745
|
borderRadius: "bra_0_16px_16px_0",
|
|
17227
|
-
outline: "
|
|
17746
|
+
outline: "ol_0"
|
|
17228
17747
|
},
|
|
17229
17748
|
...chipHoverOnlyStyles,
|
|
17230
17749
|
...isClearFocused ? {
|
|
@@ -17290,7 +17809,7 @@ function Option(props) {
|
|
|
17290
17809
|
}]
|
|
17291
17810
|
},
|
|
17292
17811
|
disabled: {
|
|
17293
|
-
cursor: "
|
|
17812
|
+
cursor: "cur_not_allowed",
|
|
17294
17813
|
color: ["color_var", {
|
|
17295
17814
|
"--color": "var(--b-text-disabled)"
|
|
17296
17815
|
}]
|
|
@@ -17322,8 +17841,8 @@ function Option(props) {
|
|
|
17322
17841
|
paddingLeft: "pl2",
|
|
17323
17842
|
paddingRight: "pr2",
|
|
17324
17843
|
minHeight: "mh_42px",
|
|
17325
|
-
outline: "
|
|
17326
|
-
cursor: "
|
|
17844
|
+
outline: "ol_0",
|
|
17845
|
+
cursor: "cur_pointer",
|
|
17327
17846
|
fontWeight: "fw4",
|
|
17328
17847
|
fontSize: "fz_14px",
|
|
17329
17848
|
lineHeight: "lh_20px"
|
|
@@ -17442,7 +17961,7 @@ function TreeOption(props) {
|
|
|
17442
17961
|
}]
|
|
17443
17962
|
},
|
|
17444
17963
|
disabled: {
|
|
17445
|
-
cursor: "
|
|
17964
|
+
cursor: "cur_not_allowed",
|
|
17446
17965
|
color: ["color_var", {
|
|
17447
17966
|
"--color": "var(--b-text-disabled)"
|
|
17448
17967
|
}]
|
|
@@ -17464,13 +17983,13 @@ function TreeOption(props) {
|
|
|
17464
17983
|
display: "df",
|
|
17465
17984
|
alignItems: "aic",
|
|
17466
17985
|
justifyContent: "jcsb",
|
|
17467
|
-
gap: "
|
|
17986
|
+
gap: "g_1",
|
|
17468
17987
|
paddingLeft: ["pl_var", {
|
|
17469
17988
|
"--paddingLeft": `${16 + level * 8}px`
|
|
17470
17989
|
}],
|
|
17471
17990
|
minHeight: "mh_42px",
|
|
17472
|
-
outline: "
|
|
17473
|
-
cursor: "
|
|
17991
|
+
outline: "ol_0",
|
|
17992
|
+
cursor: "cur_pointer",
|
|
17474
17993
|
fontWeight: "fw4",
|
|
17475
17994
|
fontSize: "fz_14px",
|
|
17476
17995
|
lineHeight: "lh_20px"
|
|
@@ -17486,7 +18005,7 @@ function TreeOption(props) {
|
|
|
17486
18005
|
toggleCollapsed();
|
|
17487
18006
|
return false;
|
|
17488
18007
|
}, className: "br4 h_16px w_16px bgTransparent h_bgGray300", ...tid[`collapseToggle_${item.key}`], children: /* @__PURE__ */ jsx99(Icon, { icon: collapsedKeys.includes(item.key) ? "triangleRight" : "triangleDown", inc: 2 }) }) }),
|
|
17489
|
-
/* @__PURE__ */ jsxs63("span", { className: "df aic
|
|
18008
|
+
/* @__PURE__ */ jsxs63("span", { className: "df aic g_1 h100 fg1 pt1 pb1 pr2", ref, ...optionProps, "data-label": item.textValue, children: [
|
|
17490
18009
|
!isGroup && /* @__PURE__ */ jsx99(StyledCheckbox, { isDisabled, isSelected, isIndeterminate, ...tid[item.key.toString()] }),
|
|
17491
18010
|
/* @__PURE__ */ jsx99("div", { className: "pl1", children: item.rendered })
|
|
17492
18011
|
] })
|
|
@@ -17646,7 +18165,7 @@ function ListBoxSection(props) {
|
|
|
17646
18165
|
}), children: /* @__PURE__ */ jsx101("ul", { ...trussProps66({
|
|
17647
18166
|
padding: "p_0",
|
|
17648
18167
|
margin: "m_0",
|
|
17649
|
-
listStyle: "
|
|
18168
|
+
listStyle: "listNone",
|
|
17650
18169
|
...!isPersistentSection ? {
|
|
17651
18170
|
height: ["h_var", {
|
|
17652
18171
|
"--height": `${popoverHeight - sectionSeparatorHeight - persistentItemHeight}px`
|
|
@@ -17746,7 +18265,7 @@ function ListBox(props) {
|
|
|
17746
18265
|
isMultiSelect && !hideChips && selectedOptions.length > 0 && /* @__PURE__ */ jsx103("ul", { ...trussProps67({
|
|
17747
18266
|
padding: "p_0",
|
|
17748
18267
|
margin: "m_0",
|
|
17749
|
-
listStyle: "
|
|
18268
|
+
listStyle: "listNone",
|
|
17750
18269
|
paddingTop: "pt2",
|
|
17751
18270
|
paddingLeft: "pl2",
|
|
17752
18271
|
paddingBottom: "pb1",
|
|
@@ -17758,10 +18277,10 @@ function ListBox(props) {
|
|
|
17758
18277
|
"--borderColor": "var(--b-surface-separator)"
|
|
17759
18278
|
}],
|
|
17760
18279
|
flexWrap: "fww",
|
|
17761
|
-
maxHeight: "
|
|
18280
|
+
maxHeight: "maxh50",
|
|
17762
18281
|
overflow: "oa"
|
|
17763
18282
|
}), ref: selectedList, children: selectedOptions.map((o) => /* @__PURE__ */ jsx103(ListBoxToggleChip, { state, option: o, getOptionValue, getOptionLabel, disabled: state.disabledKeys.has(getOptionValue(o)) }, getOptionValue(o))) }),
|
|
17764
|
-
/* @__PURE__ */ jsx103("ul", { className: "p_0 m_0
|
|
18283
|
+
/* @__PURE__ */ jsx103("ul", { className: "p_0 m_0 listNone fg1", children: hasSections ? [...state.collection].map((section) => /* @__PURE__ */ jsx103(
|
|
17765
18284
|
ListBoxSection,
|
|
17766
18285
|
{
|
|
17767
18286
|
section,
|
|
@@ -18318,13 +18837,13 @@ function ComboBoxInput(props) {
|
|
|
18318
18837
|
} : void 0, startAdornment: showNumSelection && /* @__PURE__ */ jsx105(Tooltip, { title: /* @__PURE__ */ jsx105(SelectedOptionBullets, { labels: chipLabels }), children: /* @__PURE__ */ jsx105(CountBadge, { count: selectedChipCount, "data-testid": "selectedOptionsCount" }) }) || showFieldDecoration && fieldDecoration(selectedOptions[0]), endAdornment: !inputProps.readOnly && /* @__PURE__ */ jsx105("button", { ...buttonProps, disabled: inputProps.disabled, ref: buttonRef, ...trussProps69({
|
|
18319
18838
|
...{
|
|
18320
18839
|
borderRadius: "br4",
|
|
18321
|
-
outline: "
|
|
18840
|
+
outline: "ol_0",
|
|
18322
18841
|
color: ["color_var", {
|
|
18323
18842
|
"--color": "var(--b-text-placeholder)"
|
|
18324
18843
|
}]
|
|
18325
18844
|
},
|
|
18326
18845
|
...inputProps.disabled ? {
|
|
18327
|
-
cursor: "
|
|
18846
|
+
cursor: "cur_not_allowed",
|
|
18328
18847
|
color: ["color_var", {
|
|
18329
18848
|
"--color": "var(--b-field-text-disabled)"
|
|
18330
18849
|
}]
|
|
@@ -18821,11 +19340,11 @@ function Filters(props) {
|
|
|
18821
19340
|
...vertical ? {
|
|
18822
19341
|
display: "df",
|
|
18823
19342
|
flexDirection: "fdc",
|
|
18824
|
-
gap: "
|
|
19343
|
+
gap: "g_2"
|
|
18825
19344
|
} : {
|
|
18826
19345
|
display: "df",
|
|
18827
19346
|
alignItems: "aic",
|
|
18828
|
-
gap: "
|
|
19347
|
+
gap: "g_1"
|
|
18829
19348
|
}
|
|
18830
19349
|
}), ...testId, children: [
|
|
18831
19350
|
maybeGroupByField,
|
|
@@ -18875,7 +19394,7 @@ var actionRowCss = {
|
|
|
18875
19394
|
display: "df",
|
|
18876
19395
|
alignItems: "aic",
|
|
18877
19396
|
flexWrap: "fww",
|
|
18878
|
-
gap: "
|
|
19397
|
+
gap: "g_2",
|
|
18879
19398
|
flexShrink: "fs0"
|
|
18880
19399
|
};
|
|
18881
19400
|
function renderHeaderAction(action, index) {
|
|
@@ -19004,11 +19523,11 @@ function ContentHeader(props) {
|
|
|
19004
19523
|
...xss
|
|
19005
19524
|
}), ...tid, children: [
|
|
19006
19525
|
/* @__PURE__ */ jsxs69("div", { className: "df aic jcsb mw0", children: [
|
|
19007
|
-
title ? /* @__PURE__ */ jsxs69("div", { className: "df aic
|
|
19526
|
+
title ? /* @__PURE__ */ jsxs69("div", { className: "df aic g_1 mw0", children: [
|
|
19008
19527
|
startAdornment,
|
|
19009
19528
|
/* @__PURE__ */ jsx110(Heading, { ...trussProps73(titleCss), ...tid.title, children: title })
|
|
19010
19529
|
] }) : descriptionEl,
|
|
19011
|
-
showActionsSlot && /* @__PURE__ */ jsxs69("div", { className: "df
|
|
19530
|
+
showActionsSlot && /* @__PURE__ */ jsxs69("div", { className: "df g_2 fs0", ...tid.actions, children: [
|
|
19012
19531
|
withAutoSave && /* @__PURE__ */ jsx110(AutoSaveIndicator, {}),
|
|
19013
19532
|
rightSlotActions.length > 0 && /* @__PURE__ */ jsx110(HeaderActions, { actions: rightSlotActions })
|
|
19014
19533
|
] })
|
|
@@ -19074,7 +19593,7 @@ function InlineFeedbackBanner(props) {
|
|
|
19074
19593
|
return /* @__PURE__ */ jsxs70("div", { ...trussProps74({
|
|
19075
19594
|
display: "df",
|
|
19076
19595
|
alignItems: "ais",
|
|
19077
|
-
gap: "
|
|
19596
|
+
gap: "g_1",
|
|
19078
19597
|
width: "w100",
|
|
19079
19598
|
paddingTop: "pt1",
|
|
19080
19599
|
paddingBottom: "pb1",
|
|
@@ -19218,7 +19737,7 @@ var jumpLinkStyles = {
|
|
|
19218
19737
|
color: ["color_var", {
|
|
19219
19738
|
"--color": "var(--b-text-link-disabled)"
|
|
19220
19739
|
}],
|
|
19221
|
-
cursor: "
|
|
19740
|
+
cursor: "cur_not_allowed"
|
|
19222
19741
|
},
|
|
19223
19742
|
disabledActiveStyles: {
|
|
19224
19743
|
borderColor: "bcBlue200"
|
|
@@ -19259,7 +19778,7 @@ function LoadingSkeleton({
|
|
|
19259
19778
|
};
|
|
19260
19779
|
return /* @__PURE__ */ jsx113("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ jsx113("div", { ...trussProps76({
|
|
19261
19780
|
display: "df",
|
|
19262
|
-
gap: "
|
|
19781
|
+
gap: "g_1",
|
|
19263
19782
|
marginBottom: "mb1",
|
|
19264
19783
|
height: ["h_var", {
|
|
19265
19784
|
"--height": `${rowHeight}px`
|
|
@@ -19404,7 +19923,7 @@ function CheckboxGroup(props) {
|
|
|
19404
19923
|
gridTemplateColumns: ["gtc_var", {
|
|
19405
19924
|
"--gridTemplateColumns": maybeCssVar36(`repeat(${columns}, auto)`)
|
|
19406
19925
|
}],
|
|
19407
|
-
gap: "
|
|
19926
|
+
gap: "g_2"
|
|
19408
19927
|
}), children: options.map((option) => /* @__PURE__ */ jsx116(CheckboxGroupItem, { ...option, groupState: state, selected: state.value.includes(option.value) }, option.value)) }) });
|
|
19409
19928
|
}
|
|
19410
19929
|
function CheckboxGroupItem(props) {
|
|
@@ -19781,7 +20300,7 @@ function DateFieldBase(props) {
|
|
|
19781
20300
|
} }) });
|
|
19782
20301
|
const calendarButton = /* @__PURE__ */ jsx120("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...trussProps80({
|
|
19783
20302
|
...isDisabled ? {
|
|
19784
|
-
cursor: "
|
|
20303
|
+
cursor: "cur_not_allowed"
|
|
19785
20304
|
} : {}
|
|
19786
20305
|
}), ...tid.calendarButton, children: /* @__PURE__ */ jsx120(Icon, { icon: "calendar", color: isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-on-surface-muted" /* OnSurfaceMuted */ }) });
|
|
19787
20306
|
const EndFieldButtons = /* @__PURE__ */ jsxs72(Fragment29, { children: [
|
|
@@ -19976,7 +20495,7 @@ function ListField({
|
|
|
19976
20495
|
const tid = useTestIds({}, "listField");
|
|
19977
20496
|
const filteredRows = useComputed(() => filterDeleted ? listFieldObjectState.rows.filter((rowState) => filterDeleted(rowState)) : listFieldObjectState.rows, [filterDeleted]);
|
|
19978
20497
|
const listIsValid = useComputed(() => listFieldObjectState.valid, [filteredRows]);
|
|
19979
|
-
return /* @__PURE__ */ jsx126(Observer5, { children: () => /* @__PURE__ */ jsxs73("div", { className: "df fdc
|
|
20498
|
+
return /* @__PURE__ */ jsx126(Observer5, { children: () => /* @__PURE__ */ jsxs73("div", { className: "df fdc g_3", ...tid, children: [
|
|
19980
20499
|
filteredRows.map((rowState, index) => /* @__PURE__ */ jsx126(ListFieldRowInputs, { rowState, rowNumber: index + 1, listFieldConfig, formState, listFieldKey }, `listFieldRowInputs-${listFieldKey}-${index}`)),
|
|
19981
20500
|
/* @__PURE__ */ jsx126("div", { children: /* @__PURE__ */ jsx126(Button, { icon: "plus", label: `Add ${listFieldConfig.name}`, onClick: () => onNew(listFieldObjectState), variant: "secondary", disabled: !listIsValid }) })
|
|
19982
20501
|
] }) });
|
|
@@ -20197,14 +20716,14 @@ function SelectCardShell(props) {
|
|
|
20197
20716
|
...view === "grid" ? layout === "horizontal" ? {
|
|
20198
20717
|
flexDirection: "fdr",
|
|
20199
20718
|
alignItems: "aic",
|
|
20200
|
-
gap: "
|
|
20719
|
+
gap: "g_2",
|
|
20201
20720
|
paddingTop: "pt2",
|
|
20202
20721
|
paddingBottom: "pb2",
|
|
20203
20722
|
paddingRight: "pr2",
|
|
20204
20723
|
paddingLeft: "pl2"
|
|
20205
20724
|
} : {
|
|
20206
20725
|
alignItems: "aic",
|
|
20207
|
-
gap: "
|
|
20726
|
+
gap: "g_1",
|
|
20208
20727
|
paddingLeft: "pl2",
|
|
20209
20728
|
paddingRight: "pr2",
|
|
20210
20729
|
paddingTop: "pt3",
|
|
@@ -20259,9 +20778,9 @@ function SelectCardShell(props) {
|
|
|
20259
20778
|
children: /* @__PURE__ */ jsx129("label", { ...trussProps82({
|
|
20260
20779
|
...styles,
|
|
20261
20780
|
...{
|
|
20262
|
-
cursor: "
|
|
20781
|
+
cursor: "cur_pointer",
|
|
20263
20782
|
...isDisabled ? {
|
|
20264
|
-
cursor: "
|
|
20783
|
+
cursor: "cur_not_allowed"
|
|
20265
20784
|
} : {}
|
|
20266
20785
|
}
|
|
20267
20786
|
}), ...mergeProps21(hoverProps, focusProps, pressProps), ...tid, children })
|
|
@@ -20292,7 +20811,7 @@ function GridSelectCard(props) {
|
|
|
20292
20811
|
image ? /* @__PURE__ */ jsx130("img", { src: image, alt: "", ...trussProps83({
|
|
20293
20812
|
height: "h_100px",
|
|
20294
20813
|
width: "w_100px",
|
|
20295
|
-
objectFit: "
|
|
20814
|
+
objectFit: "obf_contain",
|
|
20296
20815
|
flexShrink: "fs0",
|
|
20297
20816
|
...isDisabled ? {
|
|
20298
20817
|
opacity: "o50"
|
|
@@ -20382,7 +20901,7 @@ var radioDefault = {
|
|
|
20382
20901
|
}
|
|
20383
20902
|
};
|
|
20384
20903
|
var radioUnchecked = {
|
|
20385
|
-
cursor: "
|
|
20904
|
+
cursor: "cur_pointer",
|
|
20386
20905
|
borderColor: ["bc_var", {
|
|
20387
20906
|
"--borderColor": "var(--b-field-border-default)"
|
|
20388
20907
|
}]
|
|
@@ -20392,7 +20911,7 @@ var radioChecked = {
|
|
|
20392
20911
|
backgroundColor: "bgc_currentColor",
|
|
20393
20912
|
backgroundSize: "bgs_100_100",
|
|
20394
20913
|
backgroundPosition: "bgp_center",
|
|
20395
|
-
backgroundRepeat: "
|
|
20914
|
+
backgroundRepeat: "bgNoRepeat"
|
|
20396
20915
|
},
|
|
20397
20916
|
...{
|
|
20398
20917
|
backgroundImage: ["backgroundImage_var", {
|
|
@@ -20418,7 +20937,7 @@ var radioHover = {
|
|
|
20418
20937
|
};
|
|
20419
20938
|
var radioDisabled = {
|
|
20420
20939
|
...{
|
|
20421
|
-
cursor: "
|
|
20940
|
+
cursor: "cur_not_allowed",
|
|
20422
20941
|
color: ["color_var", {
|
|
20423
20942
|
"--color": "var(--b-field-bg-disabled)"
|
|
20424
20943
|
}]
|
|
@@ -20427,13 +20946,13 @@ var radioDisabled = {
|
|
|
20427
20946
|
backgroundColor: "bgc_currentColor",
|
|
20428
20947
|
backgroundSize: "bgs_100_100",
|
|
20429
20948
|
backgroundPosition: "bgp_center",
|
|
20430
|
-
backgroundRepeat: "
|
|
20949
|
+
backgroundRepeat: "bgNoRepeat"
|
|
20431
20950
|
}
|
|
20432
20951
|
};
|
|
20433
20952
|
var radioDisabledSelected = {
|
|
20434
20953
|
...radioChecked,
|
|
20435
20954
|
...{
|
|
20436
|
-
cursor: "
|
|
20955
|
+
cursor: "cur_not_allowed",
|
|
20437
20956
|
color: ["color_var", {
|
|
20438
20957
|
"--color": "var(--b-choice-disabled)"
|
|
20439
20958
|
}]
|
|
@@ -20496,7 +21015,7 @@ function ListSelectCard(props) {
|
|
|
20496
21015
|
} = props;
|
|
20497
21016
|
const tid = useTestIds(others, defaultTestId(label));
|
|
20498
21017
|
return /* @__PURE__ */ jsxs76(SelectCardShell, { label, selected: isSelected, disabled: isDisabled, tooltip, view: "list", __storyState, ...others, children: [
|
|
20499
|
-
/* @__PURE__ */ jsxs76("div", { className: "df aic
|
|
21018
|
+
/* @__PURE__ */ jsxs76("div", { className: "df aic g_1", children: [
|
|
20500
21019
|
inputProps.type === "checkbox" ? /* @__PURE__ */ jsxs76(Fragment31, { children: [
|
|
20501
21020
|
/* @__PURE__ */ jsx132(VisuallyHidden6, { children: /* @__PURE__ */ jsx132("input", { ...inputProps, ...tid.value }) }),
|
|
20502
21021
|
/* @__PURE__ */ jsx132(StyledCheckbox, { isDisabled, isSelected })
|
|
@@ -20606,7 +21125,7 @@ function getSelectCardOptionsCss({
|
|
|
20606
21125
|
if (view === "list") return {
|
|
20607
21126
|
display: "df",
|
|
20608
21127
|
flexDirection: "fdc",
|
|
20609
|
-
gap: "
|
|
21128
|
+
gap: "g_2",
|
|
20610
21129
|
width: "w100"
|
|
20611
21130
|
};
|
|
20612
21131
|
const cardWidth = layout === "horizontal" ? hasImage ? 360 : 240 : hasImage || hasDescription ? 192 : 142;
|
|
@@ -20615,7 +21134,7 @@ function getSelectCardOptionsCss({
|
|
|
20615
21134
|
gridTemplateColumns: ["gtc_var", {
|
|
20616
21135
|
"--gridTemplateColumns": maybeCssVar38(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
|
|
20617
21136
|
}],
|
|
20618
|
-
gap: "
|
|
21137
|
+
gap: "g_2"
|
|
20619
21138
|
};
|
|
20620
21139
|
}
|
|
20621
21140
|
|
|
@@ -20709,13 +21228,13 @@ function SelectedOptionPill(props) {
|
|
|
20709
21228
|
disabled = false
|
|
20710
21229
|
} = props;
|
|
20711
21230
|
const tid = useTestIds(props, "selectedOptionPill");
|
|
20712
|
-
return /* @__PURE__ */ jsxs77("div", { className: "df fdc
|
|
21231
|
+
return /* @__PURE__ */ jsxs77("div", { className: "df fdc g_1 w100", ...tid, children: [
|
|
20713
21232
|
/* @__PURE__ */ jsxs77("div", { ...trussProps87({
|
|
20714
21233
|
// Setting border-radius to 999px to make it a pill shape.
|
|
20715
21234
|
...{
|
|
20716
21235
|
display: "df",
|
|
20717
21236
|
alignItems: "aic",
|
|
20718
|
-
gap: "
|
|
21237
|
+
gap: "g_2",
|
|
20719
21238
|
width: "w100",
|
|
20720
21239
|
paddingLeft: "pl_20px",
|
|
20721
21240
|
paddingRight: "pr2",
|
|
@@ -20753,7 +21272,7 @@ function SelectedOptionPillList(props) {
|
|
|
20753
21272
|
} = props;
|
|
20754
21273
|
const tid = useTestIds(props, "selectedOptionPillList");
|
|
20755
21274
|
if (options.length === 0) return null;
|
|
20756
|
-
return /* @__PURE__ */ jsx137("div", { className: "df fdc
|
|
21275
|
+
return /* @__PURE__ */ jsx137("div", { className: "df fdc g_2 w100", ...tid, children: options.map(({
|
|
20757
21276
|
id,
|
|
20758
21277
|
...pill
|
|
20759
21278
|
}) => /* @__PURE__ */ jsx137(SelectedOptionPill, { ...pill, ...tid.pill }, id)) });
|
|
@@ -20797,7 +21316,7 @@ function MultiSelectField(props) {
|
|
|
20797
21316
|
}, [withPillList, options, values, autoSort, isDisabled]);
|
|
20798
21317
|
const field = /* @__PURE__ */ jsx138(ComboBoxBase, { multiselect: true, hideChips: withPillList || hideChips, getOptionLabel, getOptionValue, getOptionMenuLabel, values, onSelect, options, autoSort, disabled, ...otherProps });
|
|
20799
21318
|
if (!withPillList) return field;
|
|
20800
|
-
return /* @__PURE__ */ jsxs78("div", { className: "df fdc
|
|
21319
|
+
return /* @__PURE__ */ jsxs78("div", { className: "df fdc g_2 w100", children: [
|
|
20801
21320
|
field,
|
|
20802
21321
|
/* @__PURE__ */ jsx138(SelectedOptionPillList, { options: pillOptions })
|
|
20803
21322
|
] });
|
|
@@ -21143,11 +21662,11 @@ function RadioGroupField(props) {
|
|
|
21143
21662
|
/* @__PURE__ */ jsxs79("div", { ...trussProps88({
|
|
21144
21663
|
display: "df",
|
|
21145
21664
|
flexDirection: "fdc",
|
|
21146
|
-
gap: "
|
|
21665
|
+
gap: "g_1",
|
|
21147
21666
|
alignItems: "aifs",
|
|
21148
21667
|
...labelStyle === "left" ? {
|
|
21149
21668
|
flexDirection: "fdr",
|
|
21150
|
-
gap: "
|
|
21669
|
+
gap: "g_2",
|
|
21151
21670
|
justifyContent: "jcsb"
|
|
21152
21671
|
} : {}
|
|
21153
21672
|
}), ...tid, children: [
|
|
@@ -21158,10 +21677,10 @@ function RadioGroupField(props) {
|
|
|
21158
21677
|
...layout === "horizontal" ? {
|
|
21159
21678
|
flexDirection: "fdr",
|
|
21160
21679
|
flexWrap: "fww",
|
|
21161
|
-
gap: "
|
|
21680
|
+
gap: "g_3"
|
|
21162
21681
|
} : {
|
|
21163
21682
|
flexDirection: "fdc",
|
|
21164
|
-
gap: "
|
|
21683
|
+
gap: "g_1"
|
|
21165
21684
|
}
|
|
21166
21685
|
}), children: options.map((option) => {
|
|
21167
21686
|
return /* @__PURE__ */ jsx142(Fragment32, { children: maybeTooltip({
|
|
@@ -21213,7 +21732,7 @@ function Radio(props) {
|
|
|
21213
21732
|
});
|
|
21214
21733
|
return /* @__PURE__ */ jsxs79("label", { ...trussProps88({
|
|
21215
21734
|
display: "df",
|
|
21216
|
-
cursor: "
|
|
21735
|
+
cursor: "cur_pointer",
|
|
21217
21736
|
...disabled ? {
|
|
21218
21737
|
cursor: "cur_initial"
|
|
21219
21738
|
} : {}
|
|
@@ -21783,7 +22302,7 @@ function Switch(props) {
|
|
|
21783
22302
|
return /* @__PURE__ */ jsxs81("label", { ...hoverProps, ...trussProps91({
|
|
21784
22303
|
...{
|
|
21785
22304
|
position: "relative",
|
|
21786
|
-
cursor: "
|
|
22305
|
+
cursor: "cur_pointer",
|
|
21787
22306
|
display: "df",
|
|
21788
22307
|
width: "wmaxc",
|
|
21789
22308
|
userSelect: "usn"
|
|
@@ -21797,12 +22316,12 @@ function Switch(props) {
|
|
|
21797
22316
|
justifyContent: "jcsb"
|
|
21798
22317
|
},
|
|
21799
22318
|
...labelStyle === "inline" && {
|
|
21800
|
-
gap: "
|
|
22319
|
+
gap: "g_2",
|
|
21801
22320
|
alignItems: "aic"
|
|
21802
22321
|
},
|
|
21803
22322
|
...labelStyle === "filter" && {
|
|
21804
22323
|
justifyContent: "jcsb",
|
|
21805
|
-
gap: "
|
|
22324
|
+
gap: "g_1",
|
|
21806
22325
|
alignItems: "aic",
|
|
21807
22326
|
width: "wa",
|
|
21808
22327
|
fontWeight: "fw4",
|
|
@@ -21814,7 +22333,7 @@ function Switch(props) {
|
|
|
21814
22333
|
alignItems: "aic"
|
|
21815
22334
|
},
|
|
21816
22335
|
...isDisabled && {
|
|
21817
|
-
cursor: "
|
|
22336
|
+
cursor: "cur_not_allowed",
|
|
21818
22337
|
color: ["color_var", {
|
|
21819
22338
|
"--color": "var(--b-text-disabled)"
|
|
21820
22339
|
}]
|
|
@@ -22226,7 +22745,7 @@ function ToggleChipGroup(props) {
|
|
|
22226
22745
|
flexDirection: "fdc",
|
|
22227
22746
|
...labelStyle === "left" ? {
|
|
22228
22747
|
flexDirection: "fdr",
|
|
22229
|
-
gap: "
|
|
22748
|
+
gap: "g_2",
|
|
22230
22749
|
maxWidth: "maxw100",
|
|
22231
22750
|
justifyContent: "jcsb"
|
|
22232
22751
|
} : {}
|
|
@@ -22234,7 +22753,7 @@ function ToggleChipGroup(props) {
|
|
|
22234
22753
|
/* @__PURE__ */ jsx157(Label, { label, ...labelProps, hidden: labelStyle === "hidden", inline: labelStyle !== "above", suffix: labelSuffix }),
|
|
22235
22754
|
/* @__PURE__ */ jsx157("div", { ...trussProps92({
|
|
22236
22755
|
display: "df",
|
|
22237
|
-
gap: "
|
|
22756
|
+
gap: "g_1",
|
|
22238
22757
|
flexWrap: "fww",
|
|
22239
22758
|
...labelStyle === "left" ? {
|
|
22240
22759
|
width: ["w_var", {
|
|
@@ -22287,7 +22806,7 @@ function ToggleChip2(props) {
|
|
|
22287
22806
|
} : {}
|
|
22288
22807
|
} : isDisabled ? {
|
|
22289
22808
|
backgroundColor: "bgGray200",
|
|
22290
|
-
cursor: "
|
|
22809
|
+
cursor: "cur_not_allowed",
|
|
22291
22810
|
color: "gray600"
|
|
22292
22811
|
} : !groupState.isReadOnly ? {
|
|
22293
22812
|
backgroundColor: "bgGray200 h_bgGray300"
|
|
@@ -22301,7 +22820,7 @@ function ToggleChip2(props) {
|
|
|
22301
22820
|
...{
|
|
22302
22821
|
position: "relative",
|
|
22303
22822
|
display: "dif",
|
|
22304
|
-
gap: "
|
|
22823
|
+
gap: "g_1",
|
|
22305
22824
|
alignItems: "aic",
|
|
22306
22825
|
borderRadius: "br16",
|
|
22307
22826
|
fontWeight: "fw4",
|
|
@@ -22309,7 +22828,7 @@ function ToggleChip2(props) {
|
|
|
22309
22828
|
lineHeight: "lh_20px",
|
|
22310
22829
|
paddingLeft: "pl1",
|
|
22311
22830
|
paddingRight: "pr1",
|
|
22312
|
-
cursor: "
|
|
22831
|
+
cursor: "cur_pointer",
|
|
22313
22832
|
paddingTop: "pt_4px",
|
|
22314
22833
|
paddingBottom: "pb_4px"
|
|
22315
22834
|
},
|
|
@@ -22472,7 +22991,7 @@ function FieldGroup(props) {
|
|
|
22472
22991
|
}).join(" ");
|
|
22473
22992
|
return /* @__PURE__ */ jsx160("div", { ...trussProps93({
|
|
22474
22993
|
display: "dg",
|
|
22475
|
-
gap: "
|
|
22994
|
+
gap: "g_2",
|
|
22476
22995
|
gridTemplateColumns: ["gtc_var", {
|
|
22477
22996
|
"--gridTemplateColumns": maybeCssVar42(gtc)
|
|
22478
22997
|
}]
|
|
@@ -22537,7 +23056,7 @@ function FormRow({
|
|
|
22537
23056
|
}, [row, formState]);
|
|
22538
23057
|
const isLoading = useComputed(() => formState.loading, [formState]);
|
|
22539
23058
|
const itemFlexBasis = 100 / componentsWithConfig.length - 3;
|
|
22540
|
-
return /* @__PURE__ */ jsx161("div", { className: "df fww aic
|
|
23059
|
+
return /* @__PURE__ */ jsx161("div", { className: "df fww aic g_2", ...tid, children: componentsWithConfig.map(({
|
|
22541
23060
|
component,
|
|
22542
23061
|
key,
|
|
22543
23062
|
minWidth
|
|
@@ -22704,7 +23223,7 @@ function RightSidebar({
|
|
|
22704
23223
|
const [selectedIcon, setSelectedIcon] = useState40(void 0);
|
|
22705
23224
|
const tid = useTestIds({}, "rightSidebar");
|
|
22706
23225
|
return /* @__PURE__ */ jsxs83(Fragment33, { children: [
|
|
22707
|
-
/* @__PURE__ */ jsx163("div", { className: "df jcfe absolute
|
|
23226
|
+
/* @__PURE__ */ jsx163("div", { className: "df jcfe absolute r_0 pr3", children: /* @__PURE__ */ jsx163(AnimatePresence2, { children: !selectedIcon && /* @__PURE__ */ jsx163(motion2.div, { className: "df fdc g_2 z1", initial: {
|
|
22708
23227
|
x: "100%",
|
|
22709
23228
|
opacity: 0
|
|
22710
23229
|
}, animate: {
|
|
@@ -22766,7 +23285,7 @@ function RightSidebar({
|
|
|
22766
23285
|
}]
|
|
22767
23286
|
}) })
|
|
22768
23287
|
] }),
|
|
22769
|
-
/* @__PURE__ */ jsx163("div", { className: "df aic jcfe
|
|
23288
|
+
/* @__PURE__ */ jsx163("div", { className: "df aic jcfe g_2 mb3", children: /* @__PURE__ */ jsx163(IconButtonList, { content: content2, selectedIcon, onIconClick: setSelectedIcon }) })
|
|
22770
23289
|
] }),
|
|
22771
23290
|
selectedIcon && /* @__PURE__ */ jsx163("div", { ...tid.content, className: "pl3", children: content2.find((sidebar) => sidebar.icon === selectedIcon)?.render() })
|
|
22772
23291
|
] }) }, "rightSidebar") })
|
|
@@ -22881,9 +23400,9 @@ function FormPageLayoutComponent(props) {
|
|
|
22881
23400
|
/* @__PURE__ */ jsx166("div", { ...trussProps97({
|
|
22882
23401
|
position: "fixed",
|
|
22883
23402
|
top: "top0",
|
|
22884
|
-
bottom: "
|
|
22885
|
-
left: "
|
|
22886
|
-
right: "
|
|
23403
|
+
bottom: "bot_0",
|
|
23404
|
+
left: "l_0",
|
|
23405
|
+
right: "r_0",
|
|
22887
23406
|
zIndex: ["z_var", {
|
|
22888
23407
|
"--zIndex": maybeCssVar45(zIndices.pageOverlay)
|
|
22889
23408
|
}],
|
|
@@ -22958,7 +23477,7 @@ function PageHeader(props) {
|
|
|
22958
23477
|
breadCrumb && /* @__PURE__ */ jsx166(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
|
|
22959
23478
|
/* @__PURE__ */ jsx166("h1", { className: "fw6 fz_24px lh_32px", ...tids.pageTitle, children: pageTitle })
|
|
22960
23479
|
] }),
|
|
22961
|
-
/* @__PURE__ */ jsxs85("div", { className: "df
|
|
23480
|
+
/* @__PURE__ */ jsxs85("div", { className: "df g_1", children: [
|
|
22962
23481
|
tertiaryAction && /* @__PURE__ */ jsx166(Button, { label: tertiaryAction.label, onClick: tertiaryAction.onClick, variant: "tertiary", disabled: tertiaryAction.disabled, tooltip: tertiaryAction.tooltip }),
|
|
22963
23482
|
cancelAction && /* @__PURE__ */ jsx166(Button, { label: cancelAction.label, onClick: cancelAction.onClick, variant: "quaternary", disabled: cancelAction.disabled, tooltip: cancelAction.tooltip }),
|
|
22964
23483
|
/* @__PURE__ */ jsx166(SubmitButton, { form: formState, ...submitAction })
|
|
@@ -23033,7 +23552,7 @@ function LeftNav(props) {
|
|
|
23033
23552
|
paddingRight: "pr3",
|
|
23034
23553
|
display: "df",
|
|
23035
23554
|
flexDirection: "fdc",
|
|
23036
|
-
gap: "
|
|
23555
|
+
gap: "g_1"
|
|
23037
23556
|
}), ...tids.nav, children: sectionWithTitles.map((sectionWithRef) => /* @__PURE__ */ jsx166(SectionNavLink, { sectionWithRef, activeSection, ...tids }, `nav-${sectionWithRef.sectionKey}`)) });
|
|
23038
23557
|
}
|
|
23039
23558
|
var activeStyles2 = {
|
|
@@ -23618,9 +24137,9 @@ function DocumentScrollRightPane({
|
|
|
23618
24137
|
...tid,
|
|
23619
24138
|
...mergeProps27(void 0, paneStyle, mobile ? {
|
|
23620
24139
|
position: "fixed",
|
|
23621
|
-
right: "
|
|
23622
|
-
bottom: "
|
|
23623
|
-
left: "
|
|
24140
|
+
right: "r_0",
|
|
24141
|
+
bottom: "bot_0",
|
|
24142
|
+
left: "l_0",
|
|
23624
24143
|
overflowY: "oya",
|
|
23625
24144
|
backgroundColor: ["bgColor_var", {
|
|
23626
24145
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -23630,7 +24149,7 @@ function DocumentScrollRightPane({
|
|
|
23630
24149
|
}]
|
|
23631
24150
|
} : {
|
|
23632
24151
|
position: "fixed",
|
|
23633
|
-
right: "
|
|
24152
|
+
right: "r_0",
|
|
23634
24153
|
overflowY: "oya",
|
|
23635
24154
|
width: ["w_var", {
|
|
23636
24155
|
"--width": maybeCssVar47(__maybeInc20(paneWidthCss))
|
|
@@ -23880,7 +24399,7 @@ function EditColumnsButton(props) {
|
|
|
23880
24399
|
maxHeight: "maxh_512px",
|
|
23881
24400
|
boxShadow: "bshBasic h_bshHover"
|
|
23882
24401
|
}), children: [
|
|
23883
|
-
/* @__PURE__ */ jsx171("div", { className: "dg gtc_1fr_auto
|
|
24402
|
+
/* @__PURE__ */ jsx171("div", { className: "dg gtc_1fr_auto g_2 pt2 pb2 pr2 pl2 fg1 mh0 oya", children: options.map((option) => /* @__PURE__ */ jsxs87(Fragment38, { children: [
|
|
23884
24403
|
/* @__PURE__ */ jsx171("div", { className: "fw4 fz_14px lh_20px wsnw oh to_ellipsis pr1", children: option.label }),
|
|
23885
24404
|
/* @__PURE__ */ jsx171(Switch, { compact: true, selected: selectedValues.includes(option.value), onChange: (value) => setSelectedValues(value ? [...selectedValues, option.value] : selectedValues.filter((v) => v !== option.value)), labelStyle: "hidden", label: option.label, ...tid[`option${option.value}`] })
|
|
23886
24405
|
] }, option.value)) }),
|
|
@@ -23966,7 +24485,7 @@ function FilterPanelOpen({
|
|
|
23966
24485
|
...{
|
|
23967
24486
|
display: "df",
|
|
23968
24487
|
alignItems: "aic",
|
|
23969
|
-
gap: "
|
|
24488
|
+
gap: "g_1",
|
|
23970
24489
|
scrollbarWidth: "sbwn"
|
|
23971
24490
|
},
|
|
23972
24491
|
...{
|
|
@@ -23996,7 +24515,7 @@ function FilterPanelClosed({
|
|
|
23996
24515
|
if (chips.length === 0) return null;
|
|
23997
24516
|
return /* @__PURE__ */ jsxs88("div", { ...trussProps99({
|
|
23998
24517
|
display: "df",
|
|
23999
|
-
gap: "
|
|
24518
|
+
gap: "g_1",
|
|
24000
24519
|
alignItems: "aic",
|
|
24001
24520
|
minWidth: "mw0",
|
|
24002
24521
|
flexWrap: "fww",
|
|
@@ -24102,7 +24621,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
24102
24621
|
return /* @__PURE__ */ jsxs89("div", { ...trussProps100({
|
|
24103
24622
|
display: "df",
|
|
24104
24623
|
flexDirection: "fdc",
|
|
24105
|
-
gap: "
|
|
24624
|
+
gap: "g_1",
|
|
24106
24625
|
paddingBottom: "pb2",
|
|
24107
24626
|
...view === "card" ? {
|
|
24108
24627
|
paddingBottom: "pb3"
|
|
@@ -24111,7 +24630,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
24111
24630
|
/* @__PURE__ */ jsxs89("div", { ...trussProps100({
|
|
24112
24631
|
...{
|
|
24113
24632
|
display: "df",
|
|
24114
|
-
gap: "
|
|
24633
|
+
gap: "g_1",
|
|
24115
24634
|
justifyContent: "jcsb",
|
|
24116
24635
|
paddingTop: "pt3"
|
|
24117
24636
|
},
|
|
@@ -24122,7 +24641,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
24122
24641
|
sm && hasSearch && /* @__PURE__ */ jsx175(IconButton, { variant: "outline", icon: searchValue ? "searchBadged" : "search", label: "Search", onClick: () => setShowSearch(!showSearch), active: showSearch, ...testId.searchButton }),
|
|
24123
24642
|
sm && hasFilterControls && /* @__PURE__ */ jsx175(IconButton, { variant: "outline", icon: activeFilterCount > 0 ? "filterBadged" : "filter", label: "Filter", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterSmallButton }),
|
|
24124
24643
|
showInlineControl && (groupBy ? /* @__PURE__ */ jsx175(GroupByField, { ...groupBy }) : filter && setFilter && buildFilterControls(filterImpls, filter, setFilter, filterTid)),
|
|
24125
|
-
!sm && hasFilterControls && !showInlineControl && /* @__PURE__ */ jsx175(Button, { label: "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ jsxs89("div", { className: "df aic
|
|
24644
|
+
!sm && hasFilterControls && !showInlineControl && /* @__PURE__ */ jsx175(Button, { label: "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ jsxs89("div", { className: "df aic g_1", children: [
|
|
24126
24645
|
activeFilterCount > 0 && /* @__PURE__ */ jsx175(CountBadge, { count: activeFilterCount }),
|
|
24127
24646
|
/* @__PURE__ */ jsx175(Icon, { icon: showFilters ? "chevronUp" : "chevronDown" })
|
|
24128
24647
|
] }), variant: "secondaryBlack", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterButton })
|
|
@@ -24143,25 +24662,19 @@ var _GridTableLayoutActions = memo2(GridTableLayoutActionsComponent);
|
|
|
24143
24662
|
import { useMemo as useMemo44 } from "react";
|
|
24144
24663
|
import { Fragment as Fragment39, jsx as jsx176, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
24145
24664
|
function QueryTable(props) {
|
|
24146
|
-
const {
|
|
24147
|
-
|
|
24148
|
-
|
|
24149
|
-
createRows,
|
|
24150
|
-
columns,
|
|
24151
|
-
keepHeaderWhenLoading,
|
|
24152
|
-
emptyState: emptyStateProp,
|
|
24153
|
-
...others
|
|
24154
|
-
} = props;
|
|
24155
|
-
const data = query.loading || query.error ? void 0 : query.data;
|
|
24156
|
-
const rows = useMemo44(() => createRows(data), [createRows, data]);
|
|
24665
|
+
const { emptyFallback, query, createRows, columns, emptyState: emptyStateProp, ...others } = props;
|
|
24666
|
+
const displayData = query.error ? void 0 : query.data ?? query.previousData;
|
|
24667
|
+
const rows = useMemo44(() => createRows(displayData), [createRows, displayData]);
|
|
24157
24668
|
const fallbackMessage = query.loading ? "Loading\u2026" : query.error ? `Error: ${query.error.message}` : void 0;
|
|
24158
24669
|
const emptyState = useMemo44(() => {
|
|
24159
24670
|
if (query.loading || query.error) return void 0;
|
|
24160
24671
|
if (emptyStateProp) return emptyStateProp;
|
|
24161
24672
|
return { title: emptyFallback };
|
|
24162
24673
|
}, [emptyFallback, emptyStateProp, query.error, query.loading]);
|
|
24163
|
-
|
|
24164
|
-
|
|
24674
|
+
if (query.loading && displayData === void 0) {
|
|
24675
|
+
return /* @__PURE__ */ jsx176("div", { children: /* @__PURE__ */ jsx176(LoadingTable, { columns: columns.length }) });
|
|
24676
|
+
}
|
|
24677
|
+
return /* @__PURE__ */ jsx176(GridTable, { ...{ rows, columns, fallbackMessage, emptyState, ...others }, loading: query.loading });
|
|
24165
24678
|
}
|
|
24166
24679
|
function LoadingTable(props) {
|
|
24167
24680
|
const { columns } = props;
|
|
@@ -24256,7 +24769,7 @@ function GridTableLayoutComponent(props) {
|
|
|
24256
24769
|
const emptyState = useMemo45(() => composeEmptyState(tableProps, layoutState, layoutEmptyFallback, clearFilters), [layoutEmptyFallback, layoutState, tableProps, clearFilters]);
|
|
24257
24770
|
const tableActionsEl = /* @__PURE__ */ jsx177(_GridTableLayoutActions, { filterDefs: layoutState?.filterDefs, filter: layoutState?.filter, setFilter: layoutState?.setFilter, groupBy: layoutState?.groupBy, searchProps: filterSearchProps, hasHideableColumns, columns, api, withCardView, view, setView, clearFilters, searchApi: searchApiRef, actions });
|
|
24258
24771
|
const cardAs = view === "card" ? "card" : void 0;
|
|
24259
|
-
const tableStyle = resolveGridTableLayoutStyle(tableProps.style, inDocumentScrollLayout);
|
|
24772
|
+
const tableStyle = useMemo45(() => resolveGridTableLayoutStyle(tableProps.style, inDocumentScrollLayout), [tableProps.style, inDocumentScrollLayout]);
|
|
24260
24773
|
const tableBody = /* @__PURE__ */ jsx177(Fragment40, { children: isGridTableProps(tableProps) ? /* @__PURE__ */ jsx177(GridTable, { ...tableProps, ...cardAs ? {
|
|
24261
24774
|
as: cardAs
|
|
24262
24775
|
} : {}, api, emptyState, filter: clientSearch, style: tableStyle, stickyHeader: true, disableColumnResizing: false, visibleColumnsStorageKey, columnGutter: inDocumentScrollLayout }) : /* @__PURE__ */ jsx177(QueryTable, { ...tableProps, ...cardAs ? {
|
|
@@ -24542,7 +25055,7 @@ function RightPanePanel(props) {
|
|
|
24542
25055
|
display: "df",
|
|
24543
25056
|
alignItems: "aic",
|
|
24544
25057
|
justifyContent: "jcsb",
|
|
24545
|
-
gap: "
|
|
25058
|
+
gap: "g_1",
|
|
24546
25059
|
paddingTop: "pt2",
|
|
24547
25060
|
paddingBottom: "pb2",
|
|
24548
25061
|
paddingRight: "pr2",
|
|
@@ -24591,7 +25104,7 @@ function SidePanel(props) {
|
|
|
24591
25104
|
return /* @__PURE__ */ jsxs94("div", { className: "h100 df fdc oh", ...tid, children: [
|
|
24592
25105
|
/* @__PURE__ */ jsx182("div", { className: "pt3 pb3 pr3 pl3 fs0", ...tid.header, children: /* @__PURE__ */ jsx182("h2", { className: "fw6 fz_20px lh_28px mt0 mb0", ...tid.title, children: title }) }),
|
|
24593
25106
|
/* @__PURE__ */ jsx182("div", { className: "fg1 oya mh0", ...tid.body, children: content2 }),
|
|
24594
|
-
hasFooter && /* @__PURE__ */ jsxs94("div", { className: "df
|
|
25107
|
+
hasFooter && /* @__PURE__ */ jsxs94("div", { className: "df g_2 jcfe pt3 pb3 pr3 pl3 fs0", ...tid.footer, children: [
|
|
24595
25108
|
secondaryAction && /* @__PURE__ */ jsx182(Button, { ...secondaryAction, variant: "secondaryBlack" }),
|
|
24596
25109
|
primaryAction && /* @__PURE__ */ jsx182(Button, { ...primaryAction })
|
|
24597
25110
|
] })
|
|
@@ -24644,9 +25157,9 @@ function TableReviewLayout(props) {
|
|
|
24644
25157
|
return /* @__PURE__ */ jsxs95("div", { ...trussProps104({
|
|
24645
25158
|
position: "fixed",
|
|
24646
25159
|
top: "top0",
|
|
24647
|
-
bottom: "
|
|
24648
|
-
left: "
|
|
24649
|
-
right: "
|
|
25160
|
+
bottom: "bot_0",
|
|
25161
|
+
left: "l_0",
|
|
25162
|
+
right: "r_0",
|
|
24650
25163
|
zIndex: ["z_var", {
|
|
24651
25164
|
"--zIndex": maybeCssVar50(zIndices.pageOverlay)
|
|
24652
25165
|
}],
|
|
@@ -24936,28 +25449,28 @@ function ScrollShadows(props) {
|
|
|
24936
25449
|
zIndex: ["z_var", {
|
|
24937
25450
|
"--zIndex": maybeCssVar54(zIndices.scrollShadow)
|
|
24938
25451
|
}],
|
|
24939
|
-
pointerEvents: "
|
|
25452
|
+
pointerEvents: "pen"
|
|
24940
25453
|
};
|
|
24941
25454
|
const startShadowStyles2 = !horizontal ? {
|
|
24942
25455
|
top: "top0",
|
|
24943
|
-
left: "
|
|
24944
|
-
right: "
|
|
25456
|
+
left: "l_0",
|
|
25457
|
+
right: "r_0",
|
|
24945
25458
|
height: "h_40px"
|
|
24946
25459
|
} : {
|
|
24947
|
-
left: "
|
|
25460
|
+
left: "l_0",
|
|
24948
25461
|
top: "top0",
|
|
24949
|
-
bottom: "
|
|
25462
|
+
bottom: "bot_0",
|
|
24950
25463
|
width: "w_25px"
|
|
24951
25464
|
};
|
|
24952
25465
|
const endShadowStyles2 = !horizontal ? {
|
|
24953
|
-
bottom: "
|
|
24954
|
-
left: "
|
|
24955
|
-
right: "
|
|
25466
|
+
bottom: "bot_0",
|
|
25467
|
+
left: "l_0",
|
|
25468
|
+
right: "r_0",
|
|
24956
25469
|
height: "h_40px"
|
|
24957
25470
|
} : {
|
|
24958
|
-
right: "
|
|
25471
|
+
right: "r_0",
|
|
24959
25472
|
top: "top0",
|
|
24960
|
-
bottom: "
|
|
25473
|
+
bottom: "bot_0",
|
|
24961
25474
|
width: "w_25px"
|
|
24962
25475
|
};
|
|
24963
25476
|
const startGradient = `linear-gradient(${!horizontal ? 180 : 90}deg, ${bgColor} 0%, ${transparentBgColor} 92%);`;
|
|
@@ -25007,8 +25520,8 @@ function ScrollShadows(props) {
|
|
|
25007
25520
|
}],
|
|
25008
25521
|
position: "relative",
|
|
25009
25522
|
overflow: "oh",
|
|
25010
|
-
height: "
|
|
25011
|
-
width: "
|
|
25523
|
+
height: "ha",
|
|
25524
|
+
width: "wa",
|
|
25012
25525
|
...height === void 0 ? {} : {
|
|
25013
25526
|
height
|
|
25014
25527
|
},
|
|
@@ -25589,7 +26102,7 @@ function Stepper(props) {
|
|
|
25589
26102
|
/* @__PURE__ */ jsx196("ol", { ...trussProps114({
|
|
25590
26103
|
padding: "p_0",
|
|
25591
26104
|
margin: "m_0",
|
|
25592
|
-
listStyle: "
|
|
26105
|
+
listStyle: "listNone",
|
|
25593
26106
|
display: "df",
|
|
25594
26107
|
gap: ["gap_var", {
|
|
25595
26108
|
"--gap": `${gap}px`
|
|
@@ -25718,7 +26231,7 @@ function StepButton(props) {
|
|
|
25718
26231
|
color: ["color_var", {
|
|
25719
26232
|
"--color": "var(--b-text-disabled)"
|
|
25720
26233
|
}],
|
|
25721
|
-
cursor: "
|
|
26234
|
+
cursor: "cur_not_allowed",
|
|
25722
26235
|
...state === "error" ? {
|
|
25723
26236
|
color: "red200"
|
|
25724
26237
|
} : {}
|
|
@@ -25799,7 +26312,7 @@ function StepperTab(props) {
|
|
|
25799
26312
|
}), ...tid[defaultTestId(value)], children: [
|
|
25800
26313
|
!collapsed && /* @__PURE__ */ jsxs105(Fragment45, { children: [
|
|
25801
26314
|
/* @__PURE__ */ jsxs105("span", { className: "dg jic mw0", children: [
|
|
25802
|
-
/* @__PURE__ */ jsx197("span", { className: "fw6 fz_14px lh_20px
|
|
26315
|
+
/* @__PURE__ */ jsx197("span", { className: "fw6 fz_14px lh_20px vh ga_1_1 oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1 wbba", "aria-hidden": true, children: label }),
|
|
25803
26316
|
/* @__PURE__ */ jsx197("span", { ...trussProps115({
|
|
25804
26317
|
gridArea: "ga_1_1",
|
|
25805
26318
|
overflow: "oh",
|
|
@@ -25807,7 +26320,7 @@ function StepperTab(props) {
|
|
|
25807
26320
|
WebkitBoxOrient: "wbo_vertical",
|
|
25808
26321
|
textOverflow: "to_ellipsis",
|
|
25809
26322
|
WebkitLineClamp: "wlc_1",
|
|
25810
|
-
wordBreak: "
|
|
26323
|
+
wordBreak: "wbba",
|
|
25811
26324
|
...active ? {
|
|
25812
26325
|
fontWeight: "fw6",
|
|
25813
26326
|
fontSize: "fz_14px",
|
|
@@ -25847,9 +26360,9 @@ function getIndicatorStyles(active, completed, disabled) {
|
|
|
25847
26360
|
return {
|
|
25848
26361
|
...{
|
|
25849
26362
|
position: "absolute",
|
|
25850
|
-
left: "
|
|
25851
|
-
right: "
|
|
25852
|
-
bottom: "
|
|
26363
|
+
left: "l_0",
|
|
26364
|
+
right: "r_0",
|
|
26365
|
+
bottom: "bot_0",
|
|
25853
26366
|
height: ["h_var", {
|
|
25854
26367
|
"--height": `${active ? activeIndicatorHeightPx : inactiveIndicatorHeightPx}px`
|
|
25855
26368
|
}],
|
|
@@ -25892,7 +26405,7 @@ var stepperTabStyles = {
|
|
|
25892
26405
|
},
|
|
25893
26406
|
focusRingStyles: {
|
|
25894
26407
|
boxShadow: "bshFocus",
|
|
25895
|
-
outline: "
|
|
26408
|
+
outline: "ol_0"
|
|
25896
26409
|
},
|
|
25897
26410
|
collapsedStyles: {
|
|
25898
26411
|
cursor: "cur_default",
|
|
@@ -25904,7 +26417,7 @@ var stepperTabStyles = {
|
|
|
25904
26417
|
color: ["color_var", {
|
|
25905
26418
|
"--color": "var(--b-text-disabled)"
|
|
25906
26419
|
}],
|
|
25907
|
-
cursor: "
|
|
26420
|
+
cursor: "cur_not_allowed"
|
|
25908
26421
|
}
|
|
25909
26422
|
};
|
|
25910
26423
|
|
|
@@ -25929,7 +26442,7 @@ function StepperTabs(props) {
|
|
|
25929
26442
|
return /* @__PURE__ */ jsx198("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ jsx198("ol", { ...trussProps116({
|
|
25930
26443
|
padding: "p_0",
|
|
25931
26444
|
margin: "m_0",
|
|
25932
|
-
listStyle: "
|
|
26445
|
+
listStyle: "listNone",
|
|
25933
26446
|
display: "df",
|
|
25934
26447
|
gap: ["gap_var", {
|
|
25935
26448
|
"--gap": `${gapPx}px`
|
|
@@ -25979,9 +26492,9 @@ function SuperDrawerHeader(props) {
|
|
|
25979
26492
|
const currentContent = contentStack.current[contentStack.current.length - 1]?.opts;
|
|
25980
26493
|
const isDetail = currentContent !== firstContent;
|
|
25981
26494
|
const tid = useTestIds({}, "superDrawerHeader");
|
|
25982
|
-
return createPortal8(/* @__PURE__ */ jsxs106("div", { className: "df aic jcsb
|
|
25983
|
-
isStructuredProps(props) ? /* @__PURE__ */ jsxs106("div", { className: "df jcsb aic
|
|
25984
|
-
/* @__PURE__ */ jsxs106("div", { className: "fg1 df aic
|
|
26495
|
+
return createPortal8(/* @__PURE__ */ jsxs106("div", { className: "df aic jcsb g_3", ...tid, children: [
|
|
26496
|
+
isStructuredProps(props) ? /* @__PURE__ */ jsxs106("div", { className: "df jcsb aic g_2 fg1", children: [
|
|
26497
|
+
/* @__PURE__ */ jsxs106("div", { className: "fg1 df aic g_2", children: [
|
|
25985
26498
|
/* @__PURE__ */ jsx199("h1", { className: "fw6 fz_24px lh_32px", children: props.title }),
|
|
25986
26499
|
props.left
|
|
25987
26500
|
] }),
|
|
@@ -26088,7 +26601,7 @@ var SuperDrawerContent = ({
|
|
|
26088
26601
|
display: "df",
|
|
26089
26602
|
alignItems: "aic",
|
|
26090
26603
|
justifyContent: "jcfe"
|
|
26091
|
-
}), children: /* @__PURE__ */ jsx200("div", { className: "df
|
|
26604
|
+
}), children: /* @__PURE__ */ jsx200("div", { className: "df g_1", children: actions.map((buttonProps, i) => /* @__PURE__ */ jsx200(Button, { ...buttonProps }, i)) }) })
|
|
26092
26605
|
] });
|
|
26093
26606
|
};
|
|
26094
26607
|
|
|
@@ -26113,7 +26626,7 @@ function TagGroup(props) {
|
|
|
26113
26626
|
...otherProps
|
|
26114
26627
|
} = props;
|
|
26115
26628
|
const tid = useTestIds(otherProps, "tagGroup");
|
|
26116
|
-
return /* @__PURE__ */ jsxs108("div", { ...tid, className: "df aic fww
|
|
26629
|
+
return /* @__PURE__ */ jsxs108("div", { ...tid, className: "df aic fww g_1", children: [
|
|
26117
26630
|
tags.map((tag) => /* @__PURE__ */ jsx201(Tag, { ...tag, variant: "secondary" }, tag.text)),
|
|
26118
26631
|
onEdit && /* @__PURE__ */ jsx201("span", { className: "ml1 fw4 fz_14px lh_20px", children: /* @__PURE__ */ jsx201(Button, { label: "Edit", variant: "text", onClick: onEdit, ...tid.edit }) })
|
|
26119
26632
|
] });
|
|
@@ -26133,8 +26646,8 @@ function StackBarGraph(props) {
|
|
|
26133
26646
|
} = props;
|
|
26134
26647
|
const tid = useTestIds(props, "stackBarGraph");
|
|
26135
26648
|
const totalCount = segments.reduce((total, segment) => total + Math.max(0, segment.count), 0);
|
|
26136
|
-
return /* @__PURE__ */ jsxs109("div", { className: "df fdc
|
|
26137
|
-
/* @__PURE__ */ jsxs109("div", { className: "df aic jcsb
|
|
26649
|
+
return /* @__PURE__ */ jsxs109("div", { className: "df fdc g_2 pt2 pb2 pr2 pl2", ...tid, children: [
|
|
26650
|
+
/* @__PURE__ */ jsxs109("div", { className: "df aic jcsb g_2", children: [
|
|
26138
26651
|
/* @__PURE__ */ jsx202("span", { className: "fw6 fz_10px lh_14px ttu ls_0_5px", children: title }),
|
|
26139
26652
|
/* @__PURE__ */ jsx202("span", { className: "fw4 fz_12px lh_16px wsnw", children: totalLabel })
|
|
26140
26653
|
] }),
|
|
@@ -26147,7 +26660,7 @@ function StackBarGraph(props) {
|
|
|
26147
26660
|
"--backgroundColor": maybeCssVar57(segment.color)
|
|
26148
26661
|
}]
|
|
26149
26662
|
}) }, segment.label)) }),
|
|
26150
|
-
/* @__PURE__ */ jsx202("div", { className: "df fww aic
|
|
26663
|
+
/* @__PURE__ */ jsx202("div", { className: "df fww aic g_2", ...tid.legend, children: segments.map((segment) => /* @__PURE__ */ jsxs109("div", { className: "dif aic g_4px", children: [
|
|
26151
26664
|
/* @__PURE__ */ jsx202("span", { ...trussProps119({
|
|
26152
26665
|
borderRadius: "br100",
|
|
26153
26666
|
width: "w_8px",
|
|
@@ -26204,7 +26717,7 @@ function TableSummary(props) {
|
|
|
26204
26717
|
display: "df",
|
|
26205
26718
|
alignItems: "aic",
|
|
26206
26719
|
justifyContent: "jcsb",
|
|
26207
|
-
gap: "
|
|
26720
|
+
gap: "g_2",
|
|
26208
26721
|
paddingLeft: "pl2",
|
|
26209
26722
|
paddingRight: "pr2",
|
|
26210
26723
|
paddingTop: "pt_12px",
|
|
@@ -26254,13 +26767,13 @@ function MetricButton(props) {
|
|
|
26254
26767
|
// outline0 drops the UA focus outline (avoids a second ring beside our box-shadow).
|
|
26255
26768
|
// relative + z1 paints the focused cell above neighbors so the ring isn't tucked under.
|
|
26256
26769
|
...{
|
|
26257
|
-
outline: "
|
|
26770
|
+
outline: "ol_0",
|
|
26258
26771
|
position: "relative",
|
|
26259
26772
|
display: "df",
|
|
26260
26773
|
flexGrow: "fg1",
|
|
26261
26774
|
alignItems: "aic",
|
|
26262
26775
|
justifyContent: "jcc",
|
|
26263
|
-
gap: "
|
|
26776
|
+
gap: "g_1",
|
|
26264
26777
|
paddingTop: "pt2",
|
|
26265
26778
|
paddingBottom: "pb2",
|
|
26266
26779
|
paddingRight: "pr2",
|
|
@@ -26272,7 +26785,7 @@ function MetricButton(props) {
|
|
|
26272
26785
|
color: ["color_var", {
|
|
26273
26786
|
"--color": "var(--b-on-surface)"
|
|
26274
26787
|
}],
|
|
26275
|
-
cursor: "
|
|
26788
|
+
cursor: "cur_pointer"
|
|
26276
26789
|
},
|
|
26277
26790
|
// Desktop: right divider; small screens: bottom divider (and clear the right edge).
|
|
26278
26791
|
...{
|
|
@@ -26611,7 +27124,7 @@ function DnDGridItemHandle(props) {
|
|
|
26611
27124
|
borderColor: "bcTransparent",
|
|
26612
27125
|
borderStyle: "bss",
|
|
26613
27126
|
backgroundColor: "bgTransparent",
|
|
26614
|
-
outline: "
|
|
27127
|
+
outline: "ol_0",
|
|
26615
27128
|
display: "dif",
|
|
26616
27129
|
alignItems: "aic",
|
|
26617
27130
|
justifyContent: "jcc",
|
|
@@ -27561,9 +28074,9 @@ function NavbarMobileDrawer({
|
|
|
27561
28074
|
return /* @__PURE__ */ jsxs116(Fragment50, { children: [
|
|
27562
28075
|
/* @__PURE__ */ jsx221(motion7.div, { ...mergeProps36(void 0, overlayTopStyle, {
|
|
27563
28076
|
position: "fixed",
|
|
27564
|
-
right: "
|
|
27565
|
-
bottom: "
|
|
27566
|
-
left: "
|
|
28077
|
+
right: "r_0",
|
|
28078
|
+
bottom: "bot_0",
|
|
28079
|
+
left: "l_0",
|
|
27567
28080
|
zIndex: ["z_var", {
|
|
27568
28081
|
"--zIndex": maybeCssVar60(zIndices.navbarMobileMenuScrim)
|
|
27569
28082
|
}],
|
|
@@ -27582,8 +28095,8 @@ function NavbarMobileDrawer({
|
|
|
27582
28095
|
}, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
|
|
27583
28096
|
/* @__PURE__ */ jsx221(FocusScope5, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ jsxs116(motion7.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...mergeProps36(void 0, overlayTopStyle, {
|
|
27584
28097
|
position: "fixed",
|
|
27585
|
-
bottom: "
|
|
27586
|
-
left: "
|
|
28098
|
+
bottom: "bot_0",
|
|
28099
|
+
left: "l_0",
|
|
27587
28100
|
display: "df",
|
|
27588
28101
|
flexDirection: "fdc",
|
|
27589
28102
|
flexShrink: "fs0",
|
|
@@ -27631,9 +28144,9 @@ function NavbarMobileDrawer({
|
|
|
27631
28144
|
...{
|
|
27632
28145
|
position: "absolute",
|
|
27633
28146
|
top: "top0",
|
|
27634
|
-
bottom: "
|
|
27635
|
-
left: "
|
|
27636
|
-
right: "
|
|
28147
|
+
bottom: "bot_0",
|
|
28148
|
+
left: "l_0",
|
|
28149
|
+
right: "r_0",
|
|
27637
28150
|
overflowY: "oya",
|
|
27638
28151
|
display: "df",
|
|
27639
28152
|
flexDirection: "fdc",
|
|
@@ -27730,12 +28243,12 @@ function Navbar(props) {
|
|
|
27730
28243
|
whiteSpace: "wsnw",
|
|
27731
28244
|
paddingTop: "pt1",
|
|
27732
28245
|
paddingBottom: "pb1",
|
|
27733
|
-
gap: "
|
|
28246
|
+
gap: "g_2"
|
|
27734
28247
|
},
|
|
27735
28248
|
...headerContentPaddingX(showMobile)
|
|
27736
28249
|
}), ...tid, children: [
|
|
27737
|
-
/* @__PURE__ */ jsxs117("div", { className: "df aic
|
|
27738
|
-
/* @__PURE__ */ jsxs117("div", { className: "df aic fs0
|
|
28250
|
+
/* @__PURE__ */ jsxs117("div", { className: "df aic g_3 fg1 mw0", children: [
|
|
28251
|
+
/* @__PURE__ */ jsxs117("div", { className: "df aic fs0 g_2", children: [
|
|
27739
28252
|
showMobile && /* @__PURE__ */ jsx222(NavbarMobileMenu, { items, ...tid }),
|
|
27740
28253
|
/* @__PURE__ */ jsx222("div", { ...trussProps127({
|
|
27741
28254
|
flexShrink: "fs0",
|
|
@@ -27753,12 +28266,12 @@ function Navbar(props) {
|
|
|
27753
28266
|
minWidth: "mw0",
|
|
27754
28267
|
overflow: "oh",
|
|
27755
28268
|
...overflows ? {
|
|
27756
|
-
visibility: "
|
|
28269
|
+
visibility: "vh"
|
|
27757
28270
|
} : {}
|
|
27758
|
-
}), ...tid.items, children: /* @__PURE__ */ jsx222("div", { ref: contentRef, className: "df aic
|
|
28271
|
+
}), ...tid.items, children: /* @__PURE__ */ jsx222("div", { ref: contentRef, className: "df aic g_2 wmaxc", children: /* @__PURE__ */ jsx222(AppNavItems, { variant: "global", items, ...tid }) }) })
|
|
27759
28272
|
] }),
|
|
27760
|
-
/* @__PURE__ */ jsxs117("div", { className: "df aic
|
|
27761
|
-
rightSlot && /* @__PURE__ */ jsx222("div", { className: "df aic
|
|
28273
|
+
/* @__PURE__ */ jsxs117("div", { className: "df aic g_1", children: [
|
|
28274
|
+
rightSlot && /* @__PURE__ */ jsx222("div", { className: "df aic g_1", ...tid.rightSlot, children: rightSlot }),
|
|
27762
28275
|
user && /* @__PURE__ */ jsx222(NavbarUserMenu, { user, ...tid.userMenu })
|
|
27763
28276
|
] })
|
|
27764
28277
|
] }) });
|
|
@@ -27959,7 +28472,7 @@ function Tabs(props) {
|
|
|
27959
28472
|
alignItems: "aic",
|
|
27960
28473
|
overflow: "oa",
|
|
27961
28474
|
whiteSpace: "wsnw",
|
|
27962
|
-
gap: "
|
|
28475
|
+
gap: "g_1"
|
|
27963
28476
|
},
|
|
27964
28477
|
...includeBottomBorder ? {
|
|
27965
28478
|
...{
|
|
@@ -27971,11 +28484,11 @@ function Tabs(props) {
|
|
|
27971
28484
|
}
|
|
27972
28485
|
} : {}
|
|
27973
28486
|
}), children: [
|
|
27974
|
-
!hideTabs(props) && /* @__PURE__ */ jsx223("div", { ref, className: "dif
|
|
28487
|
+
!hideTabs(props) && /* @__PURE__ */ jsx223("div", { ref, className: "dif g_1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
|
|
27975
28488
|
const uniqueValue = uniqueTabValue(tab);
|
|
27976
28489
|
return /* @__PURE__ */ jsx223(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
|
|
27977
28490
|
}) }),
|
|
27978
|
-
right && /* @__PURE__ */ jsx223("div", { className: "mla df aic
|
|
28491
|
+
right && /* @__PURE__ */ jsx223("div", { className: "mla df aic g_1 pb1", children: right })
|
|
27979
28492
|
] });
|
|
27980
28493
|
}
|
|
27981
28494
|
function TabImpl(props) {
|
|
@@ -28081,12 +28594,12 @@ function getTabStyles() {
|
|
|
28081
28594
|
}],
|
|
28082
28595
|
paddingLeft: "pl1",
|
|
28083
28596
|
paddingRight: "pr1",
|
|
28084
|
-
outline: "
|
|
28597
|
+
outline: "ol_0",
|
|
28085
28598
|
color: ["color_var", {
|
|
28086
28599
|
"--color": "var(--b-on-surface-muted)"
|
|
28087
28600
|
}],
|
|
28088
28601
|
width: "wfc",
|
|
28089
|
-
cursor: "
|
|
28602
|
+
cursor: "cur_pointer",
|
|
28090
28603
|
fontWeight: "fw4",
|
|
28091
28604
|
fontSize: "fz_14px",
|
|
28092
28605
|
lineHeight: "lh_20px"
|
|
@@ -28110,7 +28623,7 @@ function getTabStyles() {
|
|
|
28110
28623
|
color: ["color_var", {
|
|
28111
28624
|
"--color": "var(--b-text-disabled)"
|
|
28112
28625
|
}],
|
|
28113
|
-
cursor: "
|
|
28626
|
+
cursor: "cur_not_allowed"
|
|
28114
28627
|
},
|
|
28115
28628
|
// The AI label tint is part of the brand ramp rather than a semantic token, same as the sparkle's gradient.
|
|
28116
28629
|
aiStyles: {
|
|
@@ -28226,7 +28739,7 @@ function SideNavLayoutContent(props) {
|
|
|
28226
28739
|
},
|
|
28227
28740
|
...bp.mdAndUp ? {
|
|
28228
28741
|
position: "sticky",
|
|
28229
|
-
left: "
|
|
28742
|
+
left: "l_0",
|
|
28230
28743
|
zIndex: ["z_var", {
|
|
28231
28744
|
"--zIndex": maybeCssVar62(zIndices.sideNav)
|
|
28232
28745
|
}],
|
|
@@ -28243,11 +28756,11 @@ function SideNavLayoutContent(props) {
|
|
|
28243
28756
|
} : {
|
|
28244
28757
|
...{
|
|
28245
28758
|
position: "fixed",
|
|
28246
|
-
left: "
|
|
28759
|
+
left: "l_0",
|
|
28247
28760
|
top: ["top_var", {
|
|
28248
28761
|
"--top": maybeCssVar62(__maybeInc29(navTop))
|
|
28249
28762
|
}],
|
|
28250
|
-
bottom: "
|
|
28763
|
+
bottom: "bot_0",
|
|
28251
28764
|
zIndex: ["z_var", {
|
|
28252
28765
|
"--zIndex": maybeCssVar62(zIndices.sideNav)
|
|
28253
28766
|
}]
|
|
@@ -28261,7 +28774,7 @@ function SideNavLayoutContent(props) {
|
|
|
28261
28774
|
}
|
|
28262
28775
|
}
|
|
28263
28776
|
}), ...tid.sideNav, children: [
|
|
28264
|
-
showCollapseToggle && /* @__PURE__ */ jsx224("div", { className: "absolute
|
|
28777
|
+
showCollapseToggle && /* @__PURE__ */ jsx224("div", { className: "absolute r_2 top2 z2", children: /* @__PURE__ */ jsx224(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
|
|
28265
28778
|
/* @__PURE__ */ jsx224("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx224(SideNav, { ...sideNav }) })
|
|
28266
28779
|
] });
|
|
28267
28780
|
return /* @__PURE__ */ jsx224(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs119("div", { ...mergeProps38(void 0, {
|
|
@@ -28377,7 +28890,7 @@ function EnvironmentBannerLayout(props) {
|
|
|
28377
28890
|
}), children: /* @__PURE__ */ jsx226("div", { ...trussProps130({
|
|
28378
28891
|
position: "fixed",
|
|
28379
28892
|
top: "top0",
|
|
28380
|
-
left: "
|
|
28893
|
+
left: "l_0",
|
|
28381
28894
|
zIndex: ["z_var", {
|
|
28382
28895
|
"--zIndex": maybeCssVar64(zIndices.environmentBanner)
|
|
28383
28896
|
}],
|
|
@@ -28423,7 +28936,7 @@ function FormSectionChild(props) {
|
|
|
28423
28936
|
} : {}, ...trussProps131({
|
|
28424
28937
|
display: "df",
|
|
28425
28938
|
flexDirection: "fdc",
|
|
28426
|
-
gap: "
|
|
28939
|
+
gap: "g_2",
|
|
28427
28940
|
backgroundColor: ["bgColor_var", {
|
|
28428
28941
|
"--backgroundColor": "var(--b-surface-raised)"
|
|
28429
28942
|
}],
|
|
@@ -28455,14 +28968,14 @@ function FormSection(props) {
|
|
|
28455
28968
|
return /* @__PURE__ */ jsxs122("div", { id: defaultTestId(title), ...trussProps132({
|
|
28456
28969
|
display: "df",
|
|
28457
28970
|
flexDirection: "fdc",
|
|
28458
|
-
gap: "
|
|
28971
|
+
gap: "g_2",
|
|
28459
28972
|
scrollMarginTop: ["scrollMarginTop_var", {
|
|
28460
28973
|
"--scrollMarginTop": maybeCssVar65(stickyNavAndHeaderOffset())
|
|
28461
28974
|
}]
|
|
28462
28975
|
}), ...tid.section, children: [
|
|
28463
28976
|
/* @__PURE__ */ jsx228(ContentHeader, { ...tid, title, description, actions, level: 3 }),
|
|
28464
28977
|
fields,
|
|
28465
|
-
childSections && (isReorderable(childSections) ? /* @__PURE__ */ jsx228(DraggableChildren, { childSections, ...tid.childSection }) : /* @__PURE__ */ jsx228("div", { className: "df fdc
|
|
28978
|
+
childSections && (isReorderable(childSections) ? /* @__PURE__ */ jsx228(DraggableChildren, { childSections, ...tid.childSection }) : /* @__PURE__ */ jsx228("div", { className: "df fdc g_3", children: childSections.map((child) => /* @__PURE__ */ jsx228(FormSectionChild, { ...child, ...tid.childSection }, child.id ?? child.title)) }))
|
|
28466
28979
|
] });
|
|
28467
28980
|
}
|
|
28468
28981
|
function isReorderable(childSections) {
|
|
@@ -28487,7 +29000,7 @@ function DraggableChildren(props) {
|
|
|
28487
29000
|
};
|
|
28488
29001
|
return /* @__PURE__ */ jsx228(DnDGrid, { onReorder: handleReorder, lockAxis: "y", gridStyles: {
|
|
28489
29002
|
gridTemplateColumns: "gtc_minmax_0_1fr",
|
|
28490
|
-
gap: "
|
|
29003
|
+
gap: "g_3"
|
|
28491
29004
|
}, children: sorted.map((child) => /* @__PURE__ */ jsx228(FormSectionChild, { ...child, ...tid }, child.id)) });
|
|
28492
29005
|
}
|
|
28493
29006
|
function sortByOrderField(childSections) {
|
|
@@ -28587,7 +29100,7 @@ function FormSectionLayout(props) {
|
|
|
28587
29100
|
const content2 = /* @__PURE__ */ jsxs123("div", { ...trussProps134({
|
|
28588
29101
|
display: "df",
|
|
28589
29102
|
flexDirection: "fdc",
|
|
28590
|
-
gap: "
|
|
29103
|
+
gap: "g_8",
|
|
28591
29104
|
...aiMode ? {
|
|
28592
29105
|
paddingTop: "pt3",
|
|
28593
29106
|
paddingBottom: "pb3",
|
|
@@ -28595,11 +29108,11 @@ function FormSectionLayout(props) {
|
|
|
28595
29108
|
paddingLeft: "pl3"
|
|
28596
29109
|
} : {}
|
|
28597
29110
|
}), children: [
|
|
28598
|
-
/* @__PURE__ */ jsxs123("div", { className: "df fdc
|
|
29111
|
+
/* @__PURE__ */ jsxs123("div", { className: "df fdc g_3", children: [
|
|
28599
29112
|
/* @__PURE__ */ jsx230(ContentHeader, { ...tid, title, description, actions, withAutoSave, level: 2, aiMode }),
|
|
28600
29113
|
initialFields
|
|
28601
29114
|
] }),
|
|
28602
|
-
sections && /* @__PURE__ */ jsx230("div", { className: "df fdc
|
|
29115
|
+
sections && /* @__PURE__ */ jsx230("div", { className: "df fdc g_8", children: sections.map((section, i) => /* @__PURE__ */ jsx230(FormSection, { ...section }, defaultTestId(section.title) || i)) })
|
|
28603
29116
|
] });
|
|
28604
29117
|
const form = /* @__PURE__ */ jsx230(CenteredLayout, { size: "sm", children: aiMode ? /* @__PURE__ */ jsx230(AiCard, { size: "lg", ...tid, children: content2 }) : content2 });
|
|
28605
29118
|
const body = showRail ? /* @__PURE__ */ jsxs123("div", { className: "df w100 mb4", children: [
|
|
@@ -28763,7 +29276,7 @@ function NavbarLayout(props) {
|
|
|
28763
29276
|
const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
|
|
28764
29277
|
const innerCss = {
|
|
28765
29278
|
position: "fixed",
|
|
28766
|
-
left: "
|
|
29279
|
+
left: "l_0",
|
|
28767
29280
|
zIndex: ["z_var", {
|
|
28768
29281
|
"--zIndex": maybeCssVar68(zIndices.navbar)
|
|
28769
29282
|
}],
|
|
@@ -28832,7 +29345,7 @@ function BaseHeader(props) {
|
|
|
28832
29345
|
paddingTop: "pt3",
|
|
28833
29346
|
borderBottomStyle: "bbs_solid",
|
|
28834
29347
|
borderBottomWidth: "bbw_1px",
|
|
28835
|
-
gap: "
|
|
29348
|
+
gap: "g_2",
|
|
28836
29349
|
borderColor: ["bc_var", {
|
|
28837
29350
|
"--borderColor": "var(--b-surface-separator)"
|
|
28838
29351
|
}],
|
|
@@ -28845,7 +29358,7 @@ function BaseHeader(props) {
|
|
|
28845
29358
|
display: "df",
|
|
28846
29359
|
justifyContent: "jcsb",
|
|
28847
29360
|
width: "w100",
|
|
28848
|
-
gap: "
|
|
29361
|
+
gap: "g_1"
|
|
28849
29362
|
},
|
|
28850
29363
|
...pageContentPaddingX,
|
|
28851
29364
|
...{
|
|
@@ -28889,7 +29402,7 @@ function PageHeader2(props) {
|
|
|
28889
29402
|
bottomSlotActions,
|
|
28890
29403
|
rightSlotActions
|
|
28891
29404
|
} = splitHeaderActionsOnSm(actions, sm);
|
|
28892
|
-
return /* @__PURE__ */ jsx234(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs126("div", { className: "df
|
|
29405
|
+
return /* @__PURE__ */ jsx234(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs126("div", { className: "df g_2 fs0", ...tid.actions, children: [
|
|
28893
29406
|
/* @__PURE__ */ jsx234(AutoSaveIndicator, { hideOnIdle: true }),
|
|
28894
29407
|
rightSlotActions.length > 0 && /* @__PURE__ */ jsx234(HeaderActions, { actions: rightSlotActions, collapseOnSm: true }),
|
|
28895
29408
|
rightSlot
|
|
@@ -29023,7 +29536,7 @@ function WorkflowPageRightPaneTriggers(props) {
|
|
|
29023
29536
|
...{
|
|
29024
29537
|
display: "df",
|
|
29025
29538
|
alignItems: "aic",
|
|
29026
|
-
gap: "
|
|
29539
|
+
gap: "g_2",
|
|
29027
29540
|
flexShrink: "fs0",
|
|
29028
29541
|
...!isMobile ? {
|
|
29029
29542
|
transition: "transitionTransform",
|
|
@@ -29047,7 +29560,7 @@ function WorkflowPageRightPaneTriggers(props) {
|
|
|
29047
29560
|
transform: ["transform_var", {
|
|
29048
29561
|
"--transform": maybeCssVar70(`translateX(calc(100% + ${pageTriggerInsetPx}px))`)
|
|
29049
29562
|
}],
|
|
29050
|
-
pointerEvents: "
|
|
29563
|
+
pointerEvents: "pen"
|
|
29051
29564
|
} : {
|
|
29052
29565
|
transform: "tf_translateX_0"
|
|
29053
29566
|
})
|
|
@@ -29133,7 +29646,7 @@ function WorkflowActions(props) {
|
|
|
29133
29646
|
const primaryVariant = aiMode ? "ai" : "primary";
|
|
29134
29647
|
return /* @__PURE__ */ jsxs128("div", { className: "df aic jcsb sm_w100", children: [
|
|
29135
29648
|
/* @__PURE__ */ jsx239("div", { className: "df aic", children: !isFirstStep && isMobile && onBack && /* @__PURE__ */ jsx239(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
|
|
29136
|
-
/* @__PURE__ */ jsxs128("div", { className: "df aic
|
|
29649
|
+
/* @__PURE__ */ jsxs128("div", { className: "df aic g_1", children: [
|
|
29137
29650
|
/* @__PURE__ */ jsx239(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
|
|
29138
29651
|
onSaveAndExit && /* @__PURE__ */ jsx239(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
|
|
29139
29652
|
isLastStep ? /* @__PURE__ */ jsx239(Button, { label: completeLabel, variant: primaryVariant, onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ jsx239(Button, { label: "Continue", variant: primaryVariant, onClick: async () => {
|
|
@@ -29212,7 +29725,7 @@ function WorkflowPageLayout(props) {
|
|
|
29212
29725
|
width: "w100"
|
|
29213
29726
|
}), children: /* @__PURE__ */ jsx240("div", { ref: headerMetricsRef, ...trussProps138({
|
|
29214
29727
|
position: "fixed",
|
|
29215
|
-
left: "
|
|
29728
|
+
left: "l_0",
|
|
29216
29729
|
width: ["w_var", {
|
|
29217
29730
|
"--width": maybeCssVar71(__maybeInc37(headerWidth))
|
|
29218
29731
|
}],
|
|
@@ -29250,7 +29763,7 @@ function WorkflowPageLayout(props) {
|
|
|
29250
29763
|
}), children: /* @__PURE__ */ jsx240("div", { ...trussProps138({
|
|
29251
29764
|
...{
|
|
29252
29765
|
position: "fixed",
|
|
29253
|
-
bottom: "
|
|
29766
|
+
bottom: "bot_0",
|
|
29254
29767
|
width: ["w_var", {
|
|
29255
29768
|
"--width": maybeCssVar71(__maybeInc37(headerWidth))
|
|
29256
29769
|
}],
|
|
@@ -29263,7 +29776,7 @@ function WorkflowPageLayout(props) {
|
|
|
29263
29776
|
display: "df",
|
|
29264
29777
|
alignItems: "aic",
|
|
29265
29778
|
justifyContent: "jcfe",
|
|
29266
|
-
gap: "
|
|
29779
|
+
gap: "g_1",
|
|
29267
29780
|
borderTopStyle: "bts_solid",
|
|
29268
29781
|
borderTopWidth: "btw_1px",
|
|
29269
29782
|
borderColor: ["bc_var", {
|
|
@@ -29737,15 +30250,15 @@ function ToggleButton(props) {
|
|
|
29737
30250
|
borderRadius: "br4",
|
|
29738
30251
|
display: "dif",
|
|
29739
30252
|
alignItems: "aic",
|
|
29740
|
-
gap: "
|
|
30253
|
+
gap: "g_1",
|
|
29741
30254
|
backgroundColor: "bgTransparent",
|
|
29742
30255
|
color: "gray500",
|
|
29743
30256
|
height: "h_32px",
|
|
29744
30257
|
paddingLeft: "pl_4px",
|
|
29745
30258
|
paddingRight: "pr1",
|
|
29746
30259
|
position: "relative",
|
|
29747
|
-
cursor: "
|
|
29748
|
-
width: "
|
|
30260
|
+
cursor: "cur_pointer",
|
|
30261
|
+
width: "wmaxc",
|
|
29749
30262
|
fontWeight: "fw4",
|
|
29750
30263
|
fontSize: "fz_14px",
|
|
29751
30264
|
lineHeight: "lh_20px",
|
|
@@ -29763,7 +30276,7 @@ function ToggleButton(props) {
|
|
|
29763
30276
|
color: ["color_var", {
|
|
29764
30277
|
"--color": "var(--b-text-disabled)"
|
|
29765
30278
|
}],
|
|
29766
|
-
cursor: "
|
|
30279
|
+
cursor: "cur_not_allowed"
|
|
29767
30280
|
}
|
|
29768
30281
|
}),
|
|
29769
30282
|
...tid
|