@homebound/beam 4.11.4 → 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 +933 -420
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +564 -94
- package/dist/index.d.ts +564 -94
- package/dist/index.js +933 -420
- package/dist/index.js.map +1 -1
- package/dist/truss.css +52 -74
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -577,6 +577,61 @@ var CssBuilder = class _CssBuilder {
|
|
|
577
577
|
animationTimingFunction(value) {
|
|
578
578
|
return this.add("animationTimingFunction", value);
|
|
579
579
|
}
|
|
580
|
+
// appearance
|
|
581
|
+
/** Sets `appearance: "none"`. */
|
|
582
|
+
get appearanceNone() {
|
|
583
|
+
return this.add("appearance", "none");
|
|
584
|
+
}
|
|
585
|
+
/** Sets `appearance: value`. */
|
|
586
|
+
appearance(value) {
|
|
587
|
+
return this.add("appearance", value);
|
|
588
|
+
}
|
|
589
|
+
// aspectRatio
|
|
590
|
+
/** Sets `aspectRatio: "1 / 1"`. */
|
|
591
|
+
get arSquare() {
|
|
592
|
+
return this.add("aspectRatio", "1 / 1");
|
|
593
|
+
}
|
|
594
|
+
/** Sets `aspectRatio: "16 / 9"`. */
|
|
595
|
+
get arVideo() {
|
|
596
|
+
return this.add("aspectRatio", "16 / 9");
|
|
597
|
+
}
|
|
598
|
+
/** Sets `aspectRatio: value`. */
|
|
599
|
+
ar(value) {
|
|
600
|
+
return this.add("aspectRatio", value);
|
|
601
|
+
}
|
|
602
|
+
// background
|
|
603
|
+
/** Sets `background: value`. */
|
|
604
|
+
bg(value) {
|
|
605
|
+
return this.add("background", value);
|
|
606
|
+
}
|
|
607
|
+
/** Sets `backgroundImage: value`. */
|
|
608
|
+
bgImage(value) {
|
|
609
|
+
return this.add("backgroundImage", value);
|
|
610
|
+
}
|
|
611
|
+
/** Sets `backgroundSize: value`. */
|
|
612
|
+
bgSize(value) {
|
|
613
|
+
return this.add("backgroundSize", value);
|
|
614
|
+
}
|
|
615
|
+
/** Sets `backgroundPosition: value`. */
|
|
616
|
+
bgPosition(value) {
|
|
617
|
+
return this.add("backgroundPosition", value);
|
|
618
|
+
}
|
|
619
|
+
/** Sets `backgroundRepeat: "no-repeat"`. */
|
|
620
|
+
get bgNoRepeat() {
|
|
621
|
+
return this.add("backgroundRepeat", "no-repeat");
|
|
622
|
+
}
|
|
623
|
+
/** Sets `backgroundRepeat: value`. */
|
|
624
|
+
bgRepeat(value) {
|
|
625
|
+
return this.add("backgroundRepeat", value);
|
|
626
|
+
}
|
|
627
|
+
/** Sets `backgroundClip: "text"; WebkitBackgroundClip: "text"`. */
|
|
628
|
+
get bgClipText() {
|
|
629
|
+
return this.add("backgroundClip", "text").add("WebkitBackgroundClip", "text");
|
|
630
|
+
}
|
|
631
|
+
/** Sets `backgroundClip: value`. */
|
|
632
|
+
bgClip(value) {
|
|
633
|
+
return this.add("backgroundClip", value);
|
|
634
|
+
}
|
|
580
635
|
// border
|
|
581
636
|
/** Sets `borderStyle: "solid"; borderWidth: "1px"`. */
|
|
582
637
|
get ba() {
|
|
@@ -899,46 +954,21 @@ var CssBuilder = class _CssBuilder {
|
|
|
899
954
|
bc(value) {
|
|
900
955
|
return this.add("borderColor", value);
|
|
901
956
|
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
return this.add("borderRadius", "0");
|
|
906
|
-
}
|
|
907
|
-
/** Sets `borderRadius: "4px"`. */
|
|
908
|
-
get br4() {
|
|
909
|
-
return this.add("borderRadius", "4px");
|
|
910
|
-
}
|
|
911
|
-
/** Sets `borderRadius: "8px"`. */
|
|
912
|
-
get br8() {
|
|
913
|
-
return this.add("borderRadius", "8px");
|
|
914
|
-
}
|
|
915
|
-
/** Sets `borderRadius: "12px"`. */
|
|
916
|
-
get br12() {
|
|
917
|
-
return this.add("borderRadius", "12px");
|
|
957
|
+
/** Sets `borderTopColor: value`. */
|
|
958
|
+
btc(value) {
|
|
959
|
+
return this.add("borderTopColor", value);
|
|
918
960
|
}
|
|
919
|
-
/** Sets `
|
|
920
|
-
|
|
921
|
-
return this.add("
|
|
961
|
+
/** Sets `borderRightColor: value`. */
|
|
962
|
+
brc(value) {
|
|
963
|
+
return this.add("borderRightColor", value);
|
|
922
964
|
}
|
|
923
|
-
/** Sets `
|
|
924
|
-
|
|
925
|
-
return this.add("
|
|
965
|
+
/** Sets `borderBottomColor: value`. */
|
|
966
|
+
bbc(value) {
|
|
967
|
+
return this.add("borderBottomColor", value);
|
|
926
968
|
}
|
|
927
|
-
/** Sets `
|
|
928
|
-
|
|
929
|
-
return this.add("
|
|
930
|
-
}
|
|
931
|
-
/** Sets `borderRadius: value`. */
|
|
932
|
-
borderRadius(value) {
|
|
933
|
-
return this.add("borderRadius", value);
|
|
934
|
-
}
|
|
935
|
-
/** Sets `borderTopRightRadius: "4px"; borderTopLeftRadius: "4px"`. */
|
|
936
|
-
get brt4() {
|
|
937
|
-
return this.add("borderTopRightRadius", "4px").add("borderTopLeftRadius", "4px");
|
|
938
|
-
}
|
|
939
|
-
/** Sets `borderBottomRightRadius: "4px"; borderBottomLeftRadius: "4px"`. */
|
|
940
|
-
get brb4() {
|
|
941
|
-
return this.add("borderBottomRightRadius", "4px").add("borderBottomLeftRadius", "4px");
|
|
969
|
+
/** Sets `borderLeftColor: value`. */
|
|
970
|
+
blc(value) {
|
|
971
|
+
return this.add("borderLeftColor", value);
|
|
942
972
|
}
|
|
943
973
|
// borderStyle
|
|
944
974
|
/** Sets `borderStyle: "dashed"`. */
|
|
@@ -974,34 +1004,23 @@ var CssBuilder = class _CssBuilder {
|
|
|
974
1004
|
bw(value) {
|
|
975
1005
|
return this.add("borderWidth", value);
|
|
976
1006
|
}
|
|
977
|
-
//
|
|
978
|
-
/** Sets `
|
|
979
|
-
get
|
|
980
|
-
return this.add("
|
|
1007
|
+
// breaks
|
|
1008
|
+
/** Sets `breakInside: "avoid"`. */
|
|
1009
|
+
get breakAvoid() {
|
|
1010
|
+
return this.add("breakInside", "avoid");
|
|
981
1011
|
}
|
|
982
|
-
/** Sets `
|
|
983
|
-
|
|
984
|
-
return this.add("
|
|
1012
|
+
/** Sets `breakInside: value`. */
|
|
1013
|
+
breakInside(value) {
|
|
1014
|
+
return this.add("breakInside", value);
|
|
985
1015
|
}
|
|
986
|
-
/** Sets `
|
|
987
|
-
|
|
988
|
-
return this.add("
|
|
1016
|
+
/** Sets `breakAfter: value`. */
|
|
1017
|
+
breakAfter(value) {
|
|
1018
|
+
return this.add("breakAfter", value);
|
|
989
1019
|
}
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
/** Sets `boxShadow: "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)"`. */
|
|
995
|
-
get bshDanger() {
|
|
996
|
-
return this.add("boxShadow", "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)");
|
|
997
|
-
}
|
|
998
|
-
/** Sets `boxShadow: "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)"`. */
|
|
999
|
-
get bshModal() {
|
|
1000
|
-
return this.add("boxShadow", "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)");
|
|
1001
|
-
}
|
|
1002
|
-
/** Sets `boxShadow: value`. */
|
|
1003
|
-
boxShadow(value) {
|
|
1004
|
-
return this.add("boxShadow", value);
|
|
1020
|
+
// clipPath
|
|
1021
|
+
/** Sets `clipPath: value`. */
|
|
1022
|
+
clipPath(value) {
|
|
1023
|
+
return this.add("clipPath", value);
|
|
1005
1024
|
}
|
|
1006
1025
|
// container
|
|
1007
1026
|
/** Sets `containerType: "size"`. */
|
|
@@ -1201,6 +1220,50 @@ var CssBuilder = class _CssBuilder {
|
|
|
1201
1220
|
leftPx(px2) {
|
|
1202
1221
|
return this.add("left", `${px2}px`);
|
|
1203
1222
|
}
|
|
1223
|
+
/** Sets `inset: "calc(var(--t-spacing) * 0)"`. */
|
|
1224
|
+
get inset0() {
|
|
1225
|
+
return this.add("inset", "calc(var(--t-spacing) * 0)");
|
|
1226
|
+
}
|
|
1227
|
+
/** Sets `inset: "calc(var(--t-spacing) * 1)"`. */
|
|
1228
|
+
get inset1() {
|
|
1229
|
+
return this.add("inset", "calc(var(--t-spacing) * 1)");
|
|
1230
|
+
}
|
|
1231
|
+
/** Sets `inset: "calc(var(--t-spacing) * 2)"`. */
|
|
1232
|
+
get inset2() {
|
|
1233
|
+
return this.add("inset", "calc(var(--t-spacing) * 2)");
|
|
1234
|
+
}
|
|
1235
|
+
/** Sets `inset: "calc(var(--t-spacing) * 3)"`. */
|
|
1236
|
+
get inset3() {
|
|
1237
|
+
return this.add("inset", "calc(var(--t-spacing) * 3)");
|
|
1238
|
+
}
|
|
1239
|
+
/** Sets `inset: "calc(var(--t-spacing) * 4)"`. */
|
|
1240
|
+
get inset4() {
|
|
1241
|
+
return this.add("inset", "calc(var(--t-spacing) * 4)");
|
|
1242
|
+
}
|
|
1243
|
+
/** Sets `inset: "calc(var(--t-spacing) * 5)"`. */
|
|
1244
|
+
get inset5() {
|
|
1245
|
+
return this.add("inset", "calc(var(--t-spacing) * 5)");
|
|
1246
|
+
}
|
|
1247
|
+
/** Sets `inset: "calc(var(--t-spacing) * 6)"`. */
|
|
1248
|
+
get inset6() {
|
|
1249
|
+
return this.add("inset", "calc(var(--t-spacing) * 6)");
|
|
1250
|
+
}
|
|
1251
|
+
/** Sets `inset: "calc(var(--t-spacing) * 7)"`. */
|
|
1252
|
+
get inset7() {
|
|
1253
|
+
return this.add("inset", "calc(var(--t-spacing) * 7)");
|
|
1254
|
+
}
|
|
1255
|
+
/** Sets `inset: "calc(var(--t-spacing) * 8)"`. */
|
|
1256
|
+
get inset8() {
|
|
1257
|
+
return this.add("inset", "calc(var(--t-spacing) * 8)");
|
|
1258
|
+
}
|
|
1259
|
+
/** Sets `inset: "v"`. */
|
|
1260
|
+
inset(v) {
|
|
1261
|
+
return this.add("inset", maybeInc(v));
|
|
1262
|
+
}
|
|
1263
|
+
/** Sets `inset: px`. */
|
|
1264
|
+
insetPx(px2) {
|
|
1265
|
+
return this.add("inset", `${px2}px`);
|
|
1266
|
+
}
|
|
1204
1267
|
// cursor
|
|
1205
1268
|
/** Sets `cursor: "pointer"`. */
|
|
1206
1269
|
get cursorPointer() {
|
|
@@ -1271,6 +1334,15 @@ var CssBuilder = class _CssBuilder {
|
|
|
1271
1334
|
display(value) {
|
|
1272
1335
|
return this.add("display", value);
|
|
1273
1336
|
}
|
|
1337
|
+
// filter
|
|
1338
|
+
/** Sets `filter: value`. */
|
|
1339
|
+
filter(value) {
|
|
1340
|
+
return this.add("filter", value);
|
|
1341
|
+
}
|
|
1342
|
+
/** Sets `backdropFilter: value`. */
|
|
1343
|
+
backdropFilter(value) {
|
|
1344
|
+
return this.add("backdropFilter", value);
|
|
1345
|
+
}
|
|
1274
1346
|
// flexbox
|
|
1275
1347
|
/** Sets `flex: "initial"`. */
|
|
1276
1348
|
get fi() {
|
|
@@ -1736,6 +1808,10 @@ var CssBuilder = class _CssBuilder {
|
|
|
1736
1808
|
gc(value) {
|
|
1737
1809
|
return this.add("gridColumn", value);
|
|
1738
1810
|
}
|
|
1811
|
+
/** Sets `gridArea: value`. */
|
|
1812
|
+
ga(value) {
|
|
1813
|
+
return this.add("gridArea", value);
|
|
1814
|
+
}
|
|
1739
1815
|
/** Sets `gridAutoRows: value`. */
|
|
1740
1816
|
gar(value) {
|
|
1741
1817
|
return this.add("gridAutoRows", value);
|
|
@@ -2087,6 +2163,20 @@ var CssBuilder = class _CssBuilder {
|
|
|
2087
2163
|
"vertical"
|
|
2088
2164
|
).add("textOverflow", "ellipsis");
|
|
2089
2165
|
}
|
|
2166
|
+
// listStyle
|
|
2167
|
+
/** Sets `listStyle: "none"`. */
|
|
2168
|
+
get listNone() {
|
|
2169
|
+
return this.add("listStyle", "none");
|
|
2170
|
+
}
|
|
2171
|
+
/** Sets `listStyle: value`. */
|
|
2172
|
+
listStyle(value) {
|
|
2173
|
+
return this.add("listStyle", value);
|
|
2174
|
+
}
|
|
2175
|
+
// mask
|
|
2176
|
+
/** Sets `maskImage: value`. */
|
|
2177
|
+
maskImage(value) {
|
|
2178
|
+
return this.add("maskImage", value);
|
|
2179
|
+
}
|
|
2090
2180
|
// objectFit
|
|
2091
2181
|
/** Sets `objectFit: "contain"`. */
|
|
2092
2182
|
get objectContain() {
|
|
@@ -2112,6 +2202,10 @@ var CssBuilder = class _CssBuilder {
|
|
|
2112
2202
|
objectFit(value) {
|
|
2113
2203
|
return this.add("objectFit", value);
|
|
2114
2204
|
}
|
|
2205
|
+
/** Sets `objectPosition: value`. */
|
|
2206
|
+
objectPosition(value) {
|
|
2207
|
+
return this.add("objectPosition", value);
|
|
2208
|
+
}
|
|
2115
2209
|
// opacity
|
|
2116
2210
|
/** Sets `opacity: "0"`. */
|
|
2117
2211
|
get o0() {
|
|
@@ -2154,6 +2248,22 @@ var CssBuilder = class _CssBuilder {
|
|
|
2154
2248
|
outline(value) {
|
|
2155
2249
|
return this.add("outline", value);
|
|
2156
2250
|
}
|
|
2251
|
+
/** Sets `outlineColor: value`. */
|
|
2252
|
+
outlineColor(value) {
|
|
2253
|
+
return this.add("outlineColor", value);
|
|
2254
|
+
}
|
|
2255
|
+
/** Sets `outlineOffset: value`. */
|
|
2256
|
+
outlineOffset(value) {
|
|
2257
|
+
return this.add("outlineOffset", value);
|
|
2258
|
+
}
|
|
2259
|
+
/** Sets `outlineStyle: value`. */
|
|
2260
|
+
outlineStyle(value) {
|
|
2261
|
+
return this.add("outlineStyle", value);
|
|
2262
|
+
}
|
|
2263
|
+
/** Sets `outlineWidth: value`. */
|
|
2264
|
+
outlineWidth(value) {
|
|
2265
|
+
return this.add("outlineWidth", value);
|
|
2266
|
+
}
|
|
2157
2267
|
// overflow
|
|
2158
2268
|
/** Sets `overflow: "visible"`. */
|
|
2159
2269
|
get ov() {
|
|
@@ -2215,6 +2325,19 @@ var CssBuilder = class _CssBuilder {
|
|
|
2215
2325
|
overflowX(value) {
|
|
2216
2326
|
return this.add("overflowX", value);
|
|
2217
2327
|
}
|
|
2328
|
+
// pointerEvents
|
|
2329
|
+
/** Sets `pointerEvents: "none"`. */
|
|
2330
|
+
get pen() {
|
|
2331
|
+
return this.add("pointerEvents", "none");
|
|
2332
|
+
}
|
|
2333
|
+
/** Sets `pointerEvents: "auto"`. */
|
|
2334
|
+
get pea() {
|
|
2335
|
+
return this.add("pointerEvents", "auto");
|
|
2336
|
+
}
|
|
2337
|
+
/** Sets `pointerEvents: value`. */
|
|
2338
|
+
pe(value) {
|
|
2339
|
+
return this.add("pointerEvents", value);
|
|
2340
|
+
}
|
|
2218
2341
|
// position
|
|
2219
2342
|
/** Sets `position: "absolute"`. */
|
|
2220
2343
|
get absolute() {
|
|
@@ -2240,6 +2363,220 @@ var CssBuilder = class _CssBuilder {
|
|
|
2240
2363
|
position(value) {
|
|
2241
2364
|
return this.add("position", value);
|
|
2242
2365
|
}
|
|
2366
|
+
// resize
|
|
2367
|
+
/** Sets `resize: "none"`. */
|
|
2368
|
+
get resizeNone() {
|
|
2369
|
+
return this.add("resize", "none");
|
|
2370
|
+
}
|
|
2371
|
+
/** Sets `resize: value`. */
|
|
2372
|
+
resize(value) {
|
|
2373
|
+
return this.add("resize", value);
|
|
2374
|
+
}
|
|
2375
|
+
// scroll
|
|
2376
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 0)"`. */
|
|
2377
|
+
get smt0() {
|
|
2378
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 0)");
|
|
2379
|
+
}
|
|
2380
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 1)"`. */
|
|
2381
|
+
get smt1() {
|
|
2382
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 1)");
|
|
2383
|
+
}
|
|
2384
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 2)"`. */
|
|
2385
|
+
get smt2() {
|
|
2386
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 2)");
|
|
2387
|
+
}
|
|
2388
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 3)"`. */
|
|
2389
|
+
get smt3() {
|
|
2390
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 3)");
|
|
2391
|
+
}
|
|
2392
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 4)"`. */
|
|
2393
|
+
get smt4() {
|
|
2394
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 4)");
|
|
2395
|
+
}
|
|
2396
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 5)"`. */
|
|
2397
|
+
get smt5() {
|
|
2398
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 5)");
|
|
2399
|
+
}
|
|
2400
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 6)"`. */
|
|
2401
|
+
get smt6() {
|
|
2402
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 6)");
|
|
2403
|
+
}
|
|
2404
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 7)"`. */
|
|
2405
|
+
get smt7() {
|
|
2406
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 7)");
|
|
2407
|
+
}
|
|
2408
|
+
/** Sets `scrollMarginTop: "calc(var(--t-spacing) * 8)"`. */
|
|
2409
|
+
get smt8() {
|
|
2410
|
+
return this.add("scrollMarginTop", "calc(var(--t-spacing) * 8)");
|
|
2411
|
+
}
|
|
2412
|
+
/** Sets `scrollMarginTop: "v"`. */
|
|
2413
|
+
smt(v) {
|
|
2414
|
+
return this.add("scrollMarginTop", maybeInc(v));
|
|
2415
|
+
}
|
|
2416
|
+
/** Sets `scrollMarginTop: px`. */
|
|
2417
|
+
smtPx(px2) {
|
|
2418
|
+
return this.add("scrollMarginTop", `${px2}px`);
|
|
2419
|
+
}
|
|
2420
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 0)"`. */
|
|
2421
|
+
get smr0() {
|
|
2422
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 0)");
|
|
2423
|
+
}
|
|
2424
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 1)"`. */
|
|
2425
|
+
get smr1() {
|
|
2426
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 1)");
|
|
2427
|
+
}
|
|
2428
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 2)"`. */
|
|
2429
|
+
get smr2() {
|
|
2430
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 2)");
|
|
2431
|
+
}
|
|
2432
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 3)"`. */
|
|
2433
|
+
get smr3() {
|
|
2434
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 3)");
|
|
2435
|
+
}
|
|
2436
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 4)"`. */
|
|
2437
|
+
get smr4() {
|
|
2438
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 4)");
|
|
2439
|
+
}
|
|
2440
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 5)"`. */
|
|
2441
|
+
get smr5() {
|
|
2442
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 5)");
|
|
2443
|
+
}
|
|
2444
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 6)"`. */
|
|
2445
|
+
get smr6() {
|
|
2446
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 6)");
|
|
2447
|
+
}
|
|
2448
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 7)"`. */
|
|
2449
|
+
get smr7() {
|
|
2450
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 7)");
|
|
2451
|
+
}
|
|
2452
|
+
/** Sets `scrollMarginRight: "calc(var(--t-spacing) * 8)"`. */
|
|
2453
|
+
get smr8() {
|
|
2454
|
+
return this.add("scrollMarginRight", "calc(var(--t-spacing) * 8)");
|
|
2455
|
+
}
|
|
2456
|
+
/** Sets `scrollMarginRight: "v"`. */
|
|
2457
|
+
smr(v) {
|
|
2458
|
+
return this.add("scrollMarginRight", maybeInc(v));
|
|
2459
|
+
}
|
|
2460
|
+
/** Sets `scrollMarginRight: px`. */
|
|
2461
|
+
smrPx(px2) {
|
|
2462
|
+
return this.add("scrollMarginRight", `${px2}px`);
|
|
2463
|
+
}
|
|
2464
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 0)"`. */
|
|
2465
|
+
get smb0() {
|
|
2466
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 0)");
|
|
2467
|
+
}
|
|
2468
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 1)"`. */
|
|
2469
|
+
get smb1() {
|
|
2470
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 1)");
|
|
2471
|
+
}
|
|
2472
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 2)"`. */
|
|
2473
|
+
get smb2() {
|
|
2474
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 2)");
|
|
2475
|
+
}
|
|
2476
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 3)"`. */
|
|
2477
|
+
get smb3() {
|
|
2478
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 3)");
|
|
2479
|
+
}
|
|
2480
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 4)"`. */
|
|
2481
|
+
get smb4() {
|
|
2482
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 4)");
|
|
2483
|
+
}
|
|
2484
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 5)"`. */
|
|
2485
|
+
get smb5() {
|
|
2486
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 5)");
|
|
2487
|
+
}
|
|
2488
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 6)"`. */
|
|
2489
|
+
get smb6() {
|
|
2490
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 6)");
|
|
2491
|
+
}
|
|
2492
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 7)"`. */
|
|
2493
|
+
get smb7() {
|
|
2494
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 7)");
|
|
2495
|
+
}
|
|
2496
|
+
/** Sets `scrollMarginBottom: "calc(var(--t-spacing) * 8)"`. */
|
|
2497
|
+
get smb8() {
|
|
2498
|
+
return this.add("scrollMarginBottom", "calc(var(--t-spacing) * 8)");
|
|
2499
|
+
}
|
|
2500
|
+
/** Sets `scrollMarginBottom: "v"`. */
|
|
2501
|
+
smb(v) {
|
|
2502
|
+
return this.add("scrollMarginBottom", maybeInc(v));
|
|
2503
|
+
}
|
|
2504
|
+
/** Sets `scrollMarginBottom: px`. */
|
|
2505
|
+
smbPx(px2) {
|
|
2506
|
+
return this.add("scrollMarginBottom", `${px2}px`);
|
|
2507
|
+
}
|
|
2508
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 0)"`. */
|
|
2509
|
+
get sml0() {
|
|
2510
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 0)");
|
|
2511
|
+
}
|
|
2512
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 1)"`. */
|
|
2513
|
+
get sml1() {
|
|
2514
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 1)");
|
|
2515
|
+
}
|
|
2516
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 2)"`. */
|
|
2517
|
+
get sml2() {
|
|
2518
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 2)");
|
|
2519
|
+
}
|
|
2520
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 3)"`. */
|
|
2521
|
+
get sml3() {
|
|
2522
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 3)");
|
|
2523
|
+
}
|
|
2524
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 4)"`. */
|
|
2525
|
+
get sml4() {
|
|
2526
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 4)");
|
|
2527
|
+
}
|
|
2528
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 5)"`. */
|
|
2529
|
+
get sml5() {
|
|
2530
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 5)");
|
|
2531
|
+
}
|
|
2532
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 6)"`. */
|
|
2533
|
+
get sml6() {
|
|
2534
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 6)");
|
|
2535
|
+
}
|
|
2536
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 7)"`. */
|
|
2537
|
+
get sml7() {
|
|
2538
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 7)");
|
|
2539
|
+
}
|
|
2540
|
+
/** Sets `scrollMarginLeft: "calc(var(--t-spacing) * 8)"`. */
|
|
2541
|
+
get sml8() {
|
|
2542
|
+
return this.add("scrollMarginLeft", "calc(var(--t-spacing) * 8)");
|
|
2543
|
+
}
|
|
2544
|
+
/** Sets `scrollMarginLeft: "v"`. */
|
|
2545
|
+
sml(v) {
|
|
2546
|
+
return this.add("scrollMarginLeft", maybeInc(v));
|
|
2547
|
+
}
|
|
2548
|
+
/** Sets `scrollMarginLeft: px`. */
|
|
2549
|
+
smlPx(px2) {
|
|
2550
|
+
return this.add("scrollMarginLeft", `${px2}px`);
|
|
2551
|
+
}
|
|
2552
|
+
/** Sets `scrollPadding: value`. */
|
|
2553
|
+
scrollPadding(value) {
|
|
2554
|
+
return this.add("scrollPadding", value);
|
|
2555
|
+
}
|
|
2556
|
+
/** Sets `scrollPaddingInline: value`. */
|
|
2557
|
+
scrollPaddingInline(value) {
|
|
2558
|
+
return this.add("scrollPaddingInline", value);
|
|
2559
|
+
}
|
|
2560
|
+
/** Sets `scrollPaddingBlock: value`. */
|
|
2561
|
+
scrollPaddingBlock(value) {
|
|
2562
|
+
return this.add("scrollPaddingBlock", value);
|
|
2563
|
+
}
|
|
2564
|
+
/** Sets `scrollBehavior: "smooth"`. */
|
|
2565
|
+
get scrollSmooth() {
|
|
2566
|
+
return this.add("scrollBehavior", "smooth");
|
|
2567
|
+
}
|
|
2568
|
+
/** Sets `scrollBehavior: value`. */
|
|
2569
|
+
scrollBehavior(value) {
|
|
2570
|
+
return this.add("scrollBehavior", value);
|
|
2571
|
+
}
|
|
2572
|
+
/** Sets `overscrollBehavior: "contain"`. */
|
|
2573
|
+
get overscrollContain() {
|
|
2574
|
+
return this.add("overscrollBehavior", "contain");
|
|
2575
|
+
}
|
|
2576
|
+
/** Sets `overscrollBehavior: value`. */
|
|
2577
|
+
overscrollBehavior(value) {
|
|
2578
|
+
return this.add("overscrollBehavior", value);
|
|
2579
|
+
}
|
|
2243
2580
|
// scrollSnap
|
|
2244
2581
|
/** Sets `scrollSnapAlign: value`. */
|
|
2245
2582
|
ssa(value) {
|
|
@@ -3155,6 +3492,14 @@ var CssBuilder = class _CssBuilder {
|
|
|
3155
3492
|
fill(value) {
|
|
3156
3493
|
return this.add("fill", value);
|
|
3157
3494
|
}
|
|
3495
|
+
/** Sets `accentColor: value`. */
|
|
3496
|
+
accentColor(value) {
|
|
3497
|
+
return this.add("accentColor", value);
|
|
3498
|
+
}
|
|
3499
|
+
/** Sets `caretColor: value`. */
|
|
3500
|
+
caretColor(value) {
|
|
3501
|
+
return this.add("caretColor", value);
|
|
3502
|
+
}
|
|
3158
3503
|
// spacing
|
|
3159
3504
|
/** Sets `marginTop: "calc(var(--t-spacing) * 0)"`. */
|
|
3160
3505
|
get mt0() {
|
|
@@ -3869,6 +4214,19 @@ var CssBuilder = class _CssBuilder {
|
|
|
3869
4214
|
`${px2}px`
|
|
3870
4215
|
);
|
|
3871
4216
|
}
|
|
4217
|
+
// table
|
|
4218
|
+
/** Sets `borderCollapse: value`. */
|
|
4219
|
+
borderCollapse(value) {
|
|
4220
|
+
return this.add("borderCollapse", value);
|
|
4221
|
+
}
|
|
4222
|
+
/** Sets `borderSpacing: value`. */
|
|
4223
|
+
borderSpacing(value) {
|
|
4224
|
+
return this.add("borderSpacing", value);
|
|
4225
|
+
}
|
|
4226
|
+
/** Sets `tableLayout: value`. */
|
|
4227
|
+
tableLayout(value) {
|
|
4228
|
+
return this.add("tableLayout", value);
|
|
4229
|
+
}
|
|
3872
4230
|
// textAlign
|
|
3873
4231
|
/** Sets `textAlign: "left"`. */
|
|
3874
4232
|
get tal() {
|
|
@@ -3928,6 +4286,19 @@ var CssBuilder = class _CssBuilder {
|
|
|
3928
4286
|
tt(value) {
|
|
3929
4287
|
return this.add("textTransform", value);
|
|
3930
4288
|
}
|
|
4289
|
+
// touchAction
|
|
4290
|
+
/** Sets `touchAction: "none"`. */
|
|
4291
|
+
get touchNone() {
|
|
4292
|
+
return this.add("touchAction", "none");
|
|
4293
|
+
}
|
|
4294
|
+
/** Sets `touchAction: "pan-y"`. */
|
|
4295
|
+
get touchPanY() {
|
|
4296
|
+
return this.add("touchAction", "pan-y");
|
|
4297
|
+
}
|
|
4298
|
+
/** Sets `touchAction: value`. */
|
|
4299
|
+
touchAction(value) {
|
|
4300
|
+
return this.add("touchAction", value);
|
|
4301
|
+
}
|
|
3931
4302
|
// transform
|
|
3932
4303
|
/** Sets `backfaceVisibility: value`. */
|
|
3933
4304
|
backfaceVisibility(value) {
|
|
@@ -3969,37 +4340,9 @@ var CssBuilder = class _CssBuilder {
|
|
|
3969
4340
|
translate(value) {
|
|
3970
4341
|
return this.add("translate", value);
|
|
3971
4342
|
}
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
return this.add(
|
|
3976
|
-
"transition",
|
|
3977
|
-
"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)"
|
|
3978
|
-
);
|
|
3979
|
-
}
|
|
3980
|
-
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3981
|
-
get transitionWidth() {
|
|
3982
|
-
return this.add("transition", "width 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3983
|
-
}
|
|
3984
|
-
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3985
|
-
get transitionOpacity() {
|
|
3986
|
-
return this.add("transition", "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3987
|
-
}
|
|
3988
|
-
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3989
|
-
get transitionTransform() {
|
|
3990
|
-
return this.add("transition", "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3991
|
-
}
|
|
3992
|
-
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3993
|
-
get transitionHeight() {
|
|
3994
|
-
return this.add("transition", "height 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3995
|
-
}
|
|
3996
|
-
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
3997
|
-
get transitionTop() {
|
|
3998
|
-
return this.add("transition", "top 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
3999
|
-
}
|
|
4000
|
-
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4001
|
-
get transitionAll() {
|
|
4002
|
-
return this.add("transition", "all 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4343
|
+
/** Sets `willChange: value`. */
|
|
4344
|
+
willChange(value) {
|
|
4345
|
+
return this.add("willChange", value);
|
|
4003
4346
|
}
|
|
4004
4347
|
// typeScale
|
|
4005
4348
|
/** Sets `fontWeight: 400; fontSize: "10px"; lineHeight: "14px"`. */
|
|
@@ -4087,6 +4430,38 @@ var CssBuilder = class _CssBuilder {
|
|
|
4087
4430
|
lhPx(px2) {
|
|
4088
4431
|
return this.lh(`${px2}px`);
|
|
4089
4432
|
}
|
|
4433
|
+
/** Sets `letterSpacing: value`. */
|
|
4434
|
+
ls(value) {
|
|
4435
|
+
return this.add("letterSpacing", value);
|
|
4436
|
+
}
|
|
4437
|
+
/** Sets `letterSpacing: px`. */
|
|
4438
|
+
lsPx(px2) {
|
|
4439
|
+
return this.ls(`${px2}px`);
|
|
4440
|
+
}
|
|
4441
|
+
/** Sets `textWrap: "balance"`. */
|
|
4442
|
+
get twb() {
|
|
4443
|
+
return this.add("textWrap", "balance");
|
|
4444
|
+
}
|
|
4445
|
+
/** Sets `textWrap: "pretty"`. */
|
|
4446
|
+
get twp() {
|
|
4447
|
+
return this.add("textWrap", "pretty");
|
|
4448
|
+
}
|
|
4449
|
+
/** Sets `textWrap: value`. */
|
|
4450
|
+
tw(value) {
|
|
4451
|
+
return this.add("textWrap", value);
|
|
4452
|
+
}
|
|
4453
|
+
/** Sets `fontVariantNumeric: "tabular-nums"`. */
|
|
4454
|
+
get tabularNums() {
|
|
4455
|
+
return this.add("fontVariantNumeric", "tabular-nums");
|
|
4456
|
+
}
|
|
4457
|
+
/** Sets `fontVariantNumeric: value`. */
|
|
4458
|
+
fontVariantNumeric(value) {
|
|
4459
|
+
return this.add("fontVariantNumeric", value);
|
|
4460
|
+
}
|
|
4461
|
+
/** Sets `content: value`. */
|
|
4462
|
+
content(value) {
|
|
4463
|
+
return this.add("content", value);
|
|
4464
|
+
}
|
|
4090
4465
|
// userSelect
|
|
4091
4466
|
/** Sets `userSelect: "none"`. */
|
|
4092
4467
|
get usn() {
|
|
@@ -4429,6 +4804,47 @@ var CssBuilder = class _CssBuilder {
|
|
|
4429
4804
|
fontFamily(value) {
|
|
4430
4805
|
return this.add("fontFamily", value);
|
|
4431
4806
|
}
|
|
4807
|
+
// borderRadius
|
|
4808
|
+
/** Sets `borderRadius: "0"`. */
|
|
4809
|
+
get br0() {
|
|
4810
|
+
return this.add("borderRadius", "0");
|
|
4811
|
+
}
|
|
4812
|
+
/** Sets `borderRadius: "4px"`. */
|
|
4813
|
+
get br4() {
|
|
4814
|
+
return this.add("borderRadius", "4px");
|
|
4815
|
+
}
|
|
4816
|
+
/** Sets `borderRadius: "8px"`. */
|
|
4817
|
+
get br8() {
|
|
4818
|
+
return this.add("borderRadius", "8px");
|
|
4819
|
+
}
|
|
4820
|
+
/** Sets `borderRadius: "12px"`. */
|
|
4821
|
+
get br12() {
|
|
4822
|
+
return this.add("borderRadius", "12px");
|
|
4823
|
+
}
|
|
4824
|
+
/** Sets `borderRadius: "16px"`. */
|
|
4825
|
+
get br16() {
|
|
4826
|
+
return this.add("borderRadius", "16px");
|
|
4827
|
+
}
|
|
4828
|
+
/** Sets `borderRadius: "24px"`. */
|
|
4829
|
+
get br24() {
|
|
4830
|
+
return this.add("borderRadius", "24px");
|
|
4831
|
+
}
|
|
4832
|
+
/** Sets `borderRadius: "100%"`. */
|
|
4833
|
+
get br100() {
|
|
4834
|
+
return this.add("borderRadius", "100%");
|
|
4835
|
+
}
|
|
4836
|
+
/** Sets `borderRadius: value`. */
|
|
4837
|
+
borderRadius(value) {
|
|
4838
|
+
return this.add("borderRadius", value);
|
|
4839
|
+
}
|
|
4840
|
+
/** Sets `borderTopRightRadius: "4px"; borderTopLeftRadius: "4px"`. */
|
|
4841
|
+
get brt4() {
|
|
4842
|
+
return this.add("borderTopRightRadius", "4px").add("borderTopLeftRadius", "4px");
|
|
4843
|
+
}
|
|
4844
|
+
/** Sets `borderBottomRightRadius: "4px"; borderBottomLeftRadius: "4px"`. */
|
|
4845
|
+
get brb4() {
|
|
4846
|
+
return this.add("borderBottomRightRadius", "4px").add("borderBottomLeftRadius", "4px");
|
|
4847
|
+
}
|
|
4432
4848
|
// layoutContainer
|
|
4433
4849
|
/** 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"`. */
|
|
4434
4850
|
get layoutContainer() {
|
|
@@ -4440,6 +4856,67 @@ var CssBuilder = class _CssBuilder {
|
|
|
4440
4856
|
"sticky"
|
|
4441
4857
|
);
|
|
4442
4858
|
}
|
|
4859
|
+
// transition
|
|
4860
|
+
/** 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)"`. */
|
|
4861
|
+
get transition() {
|
|
4862
|
+
return this.add(
|
|
4863
|
+
"transition",
|
|
4864
|
+
"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)"
|
|
4865
|
+
);
|
|
4866
|
+
}
|
|
4867
|
+
/** Sets `transition: "width 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4868
|
+
get transitionWidth() {
|
|
4869
|
+
return this.add("transition", "width 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4870
|
+
}
|
|
4871
|
+
/** Sets `transition: "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4872
|
+
get transitionOpacity() {
|
|
4873
|
+
return this.add("transition", "opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4874
|
+
}
|
|
4875
|
+
/** Sets `transition: "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4876
|
+
get transitionTransform() {
|
|
4877
|
+
return this.add("transition", "transform 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4878
|
+
}
|
|
4879
|
+
/** Sets `transition: "height 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4880
|
+
get transitionHeight() {
|
|
4881
|
+
return this.add("transition", "height 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4882
|
+
}
|
|
4883
|
+
/** Sets `transition: "top 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4884
|
+
get transitionTop() {
|
|
4885
|
+
return this.add("transition", "top 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4886
|
+
}
|
|
4887
|
+
/** Sets `transition: "all 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
|
|
4888
|
+
get transitionAll() {
|
|
4889
|
+
return this.add("transition", "all 200ms cubic-bezier(0.4, 0, 0.2, 1)");
|
|
4890
|
+
}
|
|
4891
|
+
// boxShadow
|
|
4892
|
+
/** Sets `boxShadow: "none"`. */
|
|
4893
|
+
get bsh0() {
|
|
4894
|
+
return this.add("boxShadow", "none");
|
|
4895
|
+
}
|
|
4896
|
+
/** Sets `boxShadow: "0px 4px 8px rgba(53, 53, 53, 0.08), 0px 2px 16px rgba(53, 53, 53, 0.03);"`. */
|
|
4897
|
+
get bshBasic() {
|
|
4898
|
+
return this.add("boxShadow", "0px 4px 8px rgba(53, 53, 53, 0.08), 0px 2px 16px rgba(53, 53, 53, 0.03);");
|
|
4899
|
+
}
|
|
4900
|
+
/** Sets `boxShadow: "0px 4px 8px rgba(53, 53, 53, 0.1), 0px 2px 24px rgba(53, 53, 53, 0.08);"`. */
|
|
4901
|
+
get bshHover() {
|
|
4902
|
+
return this.add("boxShadow", "0px 4px 8px rgba(53, 53, 53, 0.1), 0px 2px 24px rgba(53, 53, 53, 0.08);");
|
|
4903
|
+
}
|
|
4904
|
+
/** Sets `boxShadow: "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(29, 78, 216, 1)"`. */
|
|
4905
|
+
get bshFocus() {
|
|
4906
|
+
return this.add("boxShadow", "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(29, 78, 216, 1)");
|
|
4907
|
+
}
|
|
4908
|
+
/** Sets `boxShadow: "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)"`. */
|
|
4909
|
+
get bshDanger() {
|
|
4910
|
+
return this.add("boxShadow", "0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(153, 27, 27, 1)");
|
|
4911
|
+
}
|
|
4912
|
+
/** Sets `boxShadow: "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)"`. */
|
|
4913
|
+
get bshModal() {
|
|
4914
|
+
return this.add("boxShadow", "0px 20px 25px -5px rgba(0,0,0,0.1), 0px 10px 10px -5px rgba(0,0,0,0.04)");
|
|
4915
|
+
}
|
|
4916
|
+
/** Sets `boxShadow: value`. */
|
|
4917
|
+
boxShadow(value) {
|
|
4918
|
+
return this.add("boxShadow", value);
|
|
4919
|
+
}
|
|
4443
4920
|
// buttonBase
|
|
4444
4921
|
/** 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)"`. */
|
|
4445
4922
|
get buttonBase() {
|
|
@@ -5685,8 +6162,8 @@ function Chips(props) {
|
|
|
5685
6162
|
...{
|
|
5686
6163
|
display: "df",
|
|
5687
6164
|
alignItems: "aifs",
|
|
5688
|
-
gap: "
|
|
5689
|
-
whiteSpace: "
|
|
6165
|
+
gap: "g_1",
|
|
6166
|
+
whiteSpace: "wsn"
|
|
5690
6167
|
},
|
|
5691
6168
|
...wrap !== false ? {
|
|
5692
6169
|
flexWrap: "fww"
|
|
@@ -5856,12 +6333,14 @@ function useVirtualizedScrollParent() {
|
|
|
5856
6333
|
// src/components/Loader.tsx
|
|
5857
6334
|
var import_runtime8 = require("@homebound/truss/runtime");
|
|
5858
6335
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
5859
|
-
function Loader({
|
|
5860
|
-
|
|
5861
|
-
|
|
6336
|
+
function Loader(props) {
|
|
6337
|
+
const {
|
|
6338
|
+
size = "lg"
|
|
6339
|
+
} = props;
|
|
5862
6340
|
const [dimensions, borderSize] = sizeToPixels[size];
|
|
5863
6341
|
const [bgColor, spinnerColor] = ["--b-loader-track" /* LoaderTrack */, "--b-loader-spinner" /* LoaderSpinner */];
|
|
5864
|
-
|
|
6342
|
+
const tid = useTestIds(props, "loader");
|
|
6343
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { "aria-label": "Loading", ...tid, ...(0, import_runtime8.trussProps)({
|
|
5865
6344
|
borderRadius: "br100",
|
|
5866
6345
|
borderStyle: "bss",
|
|
5867
6346
|
borderWidth: ["bw_var", {
|
|
@@ -6103,15 +6582,15 @@ var iconButtonStylesReset = {
|
|
|
6103
6582
|
borderColor: "bcTransparent",
|
|
6104
6583
|
borderStyle: "bss",
|
|
6105
6584
|
backgroundColor: "bgTransparent",
|
|
6106
|
-
cursor: "
|
|
6107
|
-
outline: "
|
|
6585
|
+
cursor: "cur_pointer",
|
|
6586
|
+
outline: "ol_0",
|
|
6108
6587
|
display: "dif",
|
|
6109
6588
|
alignItems: "aic",
|
|
6110
6589
|
justifyContent: "jcc",
|
|
6111
6590
|
transition: "transition"
|
|
6112
6591
|
};
|
|
6113
6592
|
var iconButtonStylesDisabled = {
|
|
6114
|
-
cursor: "
|
|
6593
|
+
cursor: "cur_not_allowed",
|
|
6115
6594
|
backgroundColor: ["bgColor_var", {
|
|
6116
6595
|
"--backgroundColor": "var(--b-surface-disabled)"
|
|
6117
6596
|
}]
|
|
@@ -6438,6 +6917,9 @@ var zIndices = {
|
|
|
6438
6917
|
scrollToTop: 50,
|
|
6439
6918
|
// Page chrome - ensure these items sit above the table
|
|
6440
6919
|
scrollShadow: 50,
|
|
6920
|
+
// Viewport-fixed spinner over a dimmed `GridTable.loading` table — above table chrome and scroll
|
|
6921
|
+
// shadows, below the right pane and page sticky headers.
|
|
6922
|
+
tableLoadingOverlay: 55,
|
|
6441
6923
|
// Document-scroll detail pane (DocumentScrollOverlayRightPaneLayout) — above table sticky chrome, below page sticky headers.
|
|
6442
6924
|
rightPane: 60,
|
|
6443
6925
|
// Workflow floating right-pane triggers — above the pane, below sticky headers.
|
|
@@ -6503,7 +6985,7 @@ function ExpandableHeader(props) {
|
|
|
6503
6985
|
lineHeight: "lh_16px",
|
|
6504
6986
|
alignItems: "aic",
|
|
6505
6987
|
justifyContent: "jcsb",
|
|
6506
|
-
gap: "
|
|
6988
|
+
gap: "g_2",
|
|
6507
6989
|
paddingLeft: "pl1",
|
|
6508
6990
|
paddingRight: "pr1",
|
|
6509
6991
|
height: "h_32px",
|
|
@@ -6597,9 +7079,9 @@ function SortHeader(props) {
|
|
|
6597
7079
|
} : {}
|
|
6598
7080
|
},
|
|
6599
7081
|
...{
|
|
6600
|
-
visibility: "
|
|
7082
|
+
visibility: "vh",
|
|
6601
7083
|
...isHovered || sorted !== void 0 ? {
|
|
6602
|
-
visibility: "
|
|
7084
|
+
visibility: "vv"
|
|
6603
7085
|
} : {}
|
|
6604
7086
|
}
|
|
6605
7087
|
}, inc: 2, ...tid.icon }) });
|
|
@@ -6608,7 +7090,7 @@ function SortHeader(props) {
|
|
|
6608
7090
|
display: "df",
|
|
6609
7091
|
alignItems: "aic",
|
|
6610
7092
|
height: "h100",
|
|
6611
|
-
cursor: "
|
|
7093
|
+
cursor: "cur_pointer",
|
|
6612
7094
|
userSelect: "usn"
|
|
6613
7095
|
},
|
|
6614
7096
|
...xss
|
|
@@ -7048,7 +7530,7 @@ function DocumentScrollToTopButton({
|
|
|
7048
7530
|
transform: ["transform_var", {
|
|
7049
7531
|
"--transform": (0, import_runtime13.maybeCssVar)(`translateY(calc(100% + ${scrollToTopOffsetPx}px))`)
|
|
7050
7532
|
}],
|
|
7051
|
-
pointerEvents: "
|
|
7533
|
+
pointerEvents: "pen"
|
|
7052
7534
|
}
|
|
7053
7535
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(IconButton, { icon: "arrowUp", disabled: !visible, variant: "outline", label: "Scroll to top", onClick: scrollToTop, ...tid }) }) });
|
|
7054
7536
|
}
|
|
@@ -7206,8 +7688,8 @@ function CompanionRowImpl(props) {
|
|
|
7206
7688
|
...cellCss,
|
|
7207
7689
|
// Companion content is arbitrary — allow wrapping and grow with content.
|
|
7208
7690
|
...{
|
|
7209
|
-
height: "
|
|
7210
|
-
whiteSpace: "
|
|
7691
|
+
height: "ha",
|
|
7692
|
+
whiteSpace: "wsn",
|
|
7211
7693
|
paddingTop: "pt_8px",
|
|
7212
7694
|
paddingBottom: "pb_8px",
|
|
7213
7695
|
width: ["w_var", {
|
|
@@ -8211,14 +8693,14 @@ function CheckboxBase(props) {
|
|
|
8211
8693
|
placement: "top",
|
|
8212
8694
|
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Tag2, { ...(0, import_runtime19.trussProps)({
|
|
8213
8695
|
display: "df",
|
|
8214
|
-
cursor: "
|
|
8696
|
+
cursor: "cur_pointer",
|
|
8215
8697
|
position: "relative",
|
|
8216
|
-
width: "
|
|
8698
|
+
width: "wmaxc",
|
|
8217
8699
|
maxWidth: ["maxw_var", {
|
|
8218
8700
|
"--maxWidth": (0, import_runtime19.maybeCssVar)(maxWidth)
|
|
8219
8701
|
}],
|
|
8220
8702
|
...isDisabled ? {
|
|
8221
|
-
cursor: "
|
|
8703
|
+
cursor: "cur_not_allowed"
|
|
8222
8704
|
} : {}
|
|
8223
8705
|
}), "aria-label": label, children: [
|
|
8224
8706
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_aria5.VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("input", { ref, ...(0, import_react_aria5.mergeProps)(inputProps, focusProps), ...tid, "data-indeterminate": isIndeterminate }) }),
|
|
@@ -8760,7 +9242,7 @@ function dragHandleColumn(columnDef) {
|
|
|
8760
9242
|
content: row.draggable ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { draggable: row.draggable, onDragStart: (evt) => {
|
|
8761
9243
|
ref.current && evt.dataTransfer.setDragImage(ref.current, 0, 0);
|
|
8762
9244
|
return onDragStart?.(row, evt);
|
|
8763
|
-
}, 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
|
|
9245
|
+
}, 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__ */ (0, import_jsx_runtime25.jsx)(Icon, { icon: "drag", inc: 2.25 }) }) : void 0
|
|
8764
9246
|
};
|
|
8765
9247
|
};
|
|
8766
9248
|
});
|
|
@@ -9344,7 +9826,7 @@ function memoizedTableStyles() {
|
|
|
9344
9826
|
cellHighlight = false,
|
|
9345
9827
|
allWhite = false,
|
|
9346
9828
|
bordered = false,
|
|
9347
|
-
vAlign = "center",
|
|
9829
|
+
vAlign = rowHeight === "fixed" ? "center" : "top",
|
|
9348
9830
|
cellTypography = "xs",
|
|
9349
9831
|
highlightOnHover = true,
|
|
9350
9832
|
roundedHeader = true
|
|
@@ -9650,6 +10132,10 @@ var tableRowPrintBreakCss = {
|
|
|
9650
10132
|
pageBreakAfter: "pgba_auto",
|
|
9651
10133
|
pageBreakInside: "pgbi_avoid"
|
|
9652
10134
|
};
|
|
10135
|
+
var loadingTableCss = {
|
|
10136
|
+
opacity: "o50",
|
|
10137
|
+
pointerEvents: "pen"
|
|
10138
|
+
};
|
|
9653
10139
|
var defaultStyle = getTableStyles({});
|
|
9654
10140
|
var condensedStyle = {
|
|
9655
10141
|
...getTableStyles({
|
|
@@ -10013,8 +10499,8 @@ function ColumnResizeHandle({
|
|
|
10013
10499
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { ref: handleRef, onMouseDown: handleMouseDown, onMouseEnter: () => setIsHovering(true), onMouseLeave: () => !isDragging && setIsHovering(false), ...(0, import_runtime22.trussProps)({
|
|
10014
10500
|
position: "absolute",
|
|
10015
10501
|
top: "top0",
|
|
10016
|
-
bottom: "
|
|
10017
|
-
right: "
|
|
10502
|
+
bottom: "bot_0",
|
|
10503
|
+
right: "r_0",
|
|
10018
10504
|
width: "w_4px",
|
|
10019
10505
|
marginRight: "mr_neg2px",
|
|
10020
10506
|
zIndex: "z_10",
|
|
@@ -10040,7 +10526,7 @@ function ColumnResizeHandle({
|
|
|
10040
10526
|
backgroundColor: ["bgColor_var", {
|
|
10041
10527
|
"--backgroundColor": "var(--b-on-surface-muted)"
|
|
10042
10528
|
}],
|
|
10043
|
-
pointerEvents: "
|
|
10529
|
+
pointerEvents: "pen",
|
|
10044
10530
|
zIndex: ["z_var", {
|
|
10045
10531
|
"--zIndex": (0, import_runtime22.maybeCssVar)(zIndices.dragHandle)
|
|
10046
10532
|
}],
|
|
@@ -10087,7 +10573,7 @@ function KeptGroupRow(props) {
|
|
|
10087
10573
|
colSpan
|
|
10088
10574
|
} : {}, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "df aic g_12px", children: [
|
|
10089
10575
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "w_38px df jcc", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(CollapseToggle, { row, compact: true }) }),
|
|
10090
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "df aic
|
|
10576
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "df aic g_1", children: [
|
|
10091
10577
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon, { icon: "infoCircle", inc: 2 }),
|
|
10092
10578
|
`${numHiddenSelectedRows} selected ${pluralize(numHiddenSelectedRows, "row")} hidden due to filters`
|
|
10093
10579
|
] })
|
|
@@ -10249,7 +10735,7 @@ function RowImpl(props) {
|
|
|
10249
10735
|
...isLastBodyRow && style.lastRowCss,
|
|
10250
10736
|
// Apply `cursorPointer` to the row if it has a link or `onClick` value.
|
|
10251
10737
|
...(rowStyle?.rowLink || rowStyle?.onClick) && {
|
|
10252
|
-
cursor: "
|
|
10738
|
+
cursor: "h_cur_pointer"
|
|
10253
10739
|
},
|
|
10254
10740
|
...maybeApplyFunction2(row, rowStyle?.rowCss),
|
|
10255
10741
|
// Row hover paints cells via Row.css.ts (`.beam-row-hover:hover > *`); set the var via Css.style
|
|
@@ -10645,13 +11131,13 @@ function Avatar({
|
|
|
10645
11131
|
}), ...tid, children: name ? nameToInitials(name) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { icon: "userCircle", inc: sizeToIconInc[size] }) }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("img", { src, alt: name, ...(0, import_runtime26.trussProps)({
|
|
10646
11132
|
...styles,
|
|
10647
11133
|
...{
|
|
10648
|
-
objectFit: "
|
|
11134
|
+
objectFit: "obf_cover"
|
|
10649
11135
|
}
|
|
10650
11136
|
}), onError: () => setShowFallback(true), loading: "lazy", ...tid });
|
|
10651
11137
|
return showName && name ? /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { ...(0, import_runtime26.trussProps)({
|
|
10652
11138
|
display: "dif",
|
|
10653
11139
|
alignItems: "aic",
|
|
10654
|
-
gap: "
|
|
11140
|
+
gap: "g_1",
|
|
10655
11141
|
...size === "lg" || size === "xl" ? {
|
|
10656
11142
|
flexDirection: "fdc"
|
|
10657
11143
|
} : {}
|
|
@@ -10768,8 +11254,8 @@ function MenuItemImpl(props) {
|
|
|
10768
11254
|
paddingBottom: "pb1",
|
|
10769
11255
|
paddingLeft: "pl2",
|
|
10770
11256
|
paddingRight: "pr2",
|
|
10771
|
-
cursor: "
|
|
10772
|
-
outline: "
|
|
11257
|
+
cursor: "cur_pointer",
|
|
11258
|
+
outline: "ol_0",
|
|
10773
11259
|
minHeight: "mh_42px",
|
|
10774
11260
|
fontWeight: "fw4",
|
|
10775
11261
|
fontSize: "fz_14px",
|
|
@@ -10794,7 +11280,7 @@ function MenuItemImpl(props) {
|
|
|
10794
11280
|
color: ["color_var", {
|
|
10795
11281
|
"--color": "var(--b-text-disabled)"
|
|
10796
11282
|
}],
|
|
10797
|
-
cursor: "
|
|
11283
|
+
cursor: "cur_not_allowed"
|
|
10798
11284
|
} : {},
|
|
10799
11285
|
...destructive ? {
|
|
10800
11286
|
color: ["color_var", {
|
|
@@ -10827,7 +11313,7 @@ function renderMenuItem(menuItem, isSelected, isDisabled, itemTid) {
|
|
|
10827
11313
|
menuItem.ai ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(AiMenuItem, { label: menuItem.label, isDisabled }) : isIconMenuItem(menuItem) ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(IconMenuItem, { ...menuItem }) : isImageMenuItem(menuItem) ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ImageMenuItem, { ...menuItem }) : menuItem.label,
|
|
10828
11314
|
showDescription && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "fw4 fz_10px lh_14px", ...itemTid.description, children: menuItem.description })
|
|
10829
11315
|
] });
|
|
10830
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "df w100 aic jcsb
|
|
11316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "df w100 aic jcsb g_2", children: [
|
|
10831
11317
|
maybeWrapInLink(menuItem.onClick, body, isDisabled),
|
|
10832
11318
|
isSelected && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon, { icon: "check", color: isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-selection-indicator" /* SelectionIndicator */ })
|
|
10833
11319
|
] });
|
|
@@ -10932,7 +11418,7 @@ function MenuSectionImpl(props) {
|
|
|
10932
11418
|
...!isPersistentSection ? {
|
|
10933
11419
|
overflow: "oa"
|
|
10934
11420
|
} : {}
|
|
10935
|
-
}), children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "p_0 m_0
|
|
11421
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "p_0 m_0 listNone", ...groupProps, ...tid[isPersistentSection ? "persistentItems" : "menuItems"], children: [...section.childNodes].map((item) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MenuItemImpl, { item, state, onClose, ...tid }, item.key)) }) })
|
|
10936
11422
|
] });
|
|
10937
11423
|
}
|
|
10938
11424
|
|
|
@@ -10988,7 +11474,7 @@ function LabelComponent(props) {
|
|
|
10988
11474
|
...{
|
|
10989
11475
|
display: "dif",
|
|
10990
11476
|
alignItems: "aic",
|
|
10991
|
-
gap: "
|
|
11477
|
+
gap: "g_1",
|
|
10992
11478
|
fontWeight: "fw4",
|
|
10993
11479
|
fontSize: "fz_14px",
|
|
10994
11480
|
lineHeight: "lh_20px",
|
|
@@ -11242,7 +11728,7 @@ function TextFieldBase(props) {
|
|
|
11242
11728
|
...labelStyle === "left" ? {
|
|
11243
11729
|
maxWidth: "maxw100",
|
|
11244
11730
|
flexDirection: "fdr",
|
|
11245
|
-
gap: "
|
|
11731
|
+
gap: "g_2",
|
|
11246
11732
|
justifyContent: "jcsb",
|
|
11247
11733
|
alignItems: "aic"
|
|
11248
11734
|
} : {}
|
|
@@ -11362,7 +11848,7 @@ function TextFieldBase(props) {
|
|
|
11362
11848
|
...{
|
|
11363
11849
|
width: "w100",
|
|
11364
11850
|
minWidth: "mw0",
|
|
11365
|
-
outline: "
|
|
11851
|
+
outline: "ol_0",
|
|
11366
11852
|
flexGrow: "fg1",
|
|
11367
11853
|
backgroundColor: "bgTransparent",
|
|
11368
11854
|
...!inputStylePalette ? {
|
|
@@ -11415,7 +11901,7 @@ function TextFieldBase(props) {
|
|
|
11415
11901
|
} : {}
|
|
11416
11902
|
},
|
|
11417
11903
|
disabled: visuallyDisabled ? {
|
|
11418
|
-
cursor: "
|
|
11904
|
+
cursor: "cur_not_allowed",
|
|
11419
11905
|
color: ["color_var", {
|
|
11420
11906
|
"--color": "var(--b-field-text-disabled)"
|
|
11421
11907
|
}],
|
|
@@ -11423,7 +11909,7 @@ function TextFieldBase(props) {
|
|
|
11423
11909
|
"--backgroundColor": (0, import_runtime31.maybeCssVar)(disabledBgColor)
|
|
11424
11910
|
}]
|
|
11425
11911
|
} : {
|
|
11426
|
-
cursor: "
|
|
11912
|
+
cursor: "cur_not_allowed"
|
|
11427
11913
|
},
|
|
11428
11914
|
error: {
|
|
11429
11915
|
borderColor: ["bc_var", {
|
|
@@ -11504,7 +11990,7 @@ function TextFieldBase(props) {
|
|
|
11504
11990
|
...multiline ? {
|
|
11505
11991
|
flexDirection: "fdc",
|
|
11506
11992
|
alignItems: "aifs",
|
|
11507
|
-
gap: "
|
|
11993
|
+
gap: "g_2"
|
|
11508
11994
|
} : {
|
|
11509
11995
|
...!wrap ? {
|
|
11510
11996
|
whiteSpace: "wsnw",
|
|
@@ -11761,7 +12247,7 @@ function Menu(props) {
|
|
|
11761
12247
|
flexDirection: "fdc",
|
|
11762
12248
|
marginTop: "mt_4px",
|
|
11763
12249
|
marginBottom: "mb_4px",
|
|
11764
|
-
outline: "
|
|
12250
|
+
outline: "ol_0",
|
|
11765
12251
|
borderRadius: "br4",
|
|
11766
12252
|
backgroundColor: ["bgColor_var", {
|
|
11767
12253
|
"--backgroundColor": "var(--b-surface-raised)"
|
|
@@ -11784,7 +12270,7 @@ function Menu(props) {
|
|
|
11784
12270
|
minWidth: "mw_240px"
|
|
11785
12271
|
}), ...tid.header, children: header }),
|
|
11786
12272
|
searchable && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(MenuSearchField, { label: "", value: search, placeholder: "Search...", labelStyle: "inline", onChange: setSearch, ...tid }),
|
|
11787
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("ul", { className: "p_0 m_0
|
|
12273
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("ul", { className: "p_0 m_0 listNone ol_0", ...menuProps, ref: menuRef, ...tid.menu, children: [...state.collection].map((item) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(MenuSectionImpl, { section: item, state, onClose, ...tid }, item.key)) })
|
|
11788
12274
|
]
|
|
11789
12275
|
}
|
|
11790
12276
|
) });
|
|
@@ -11869,8 +12355,8 @@ function AvatarButton(props) {
|
|
|
11869
12355
|
}
|
|
11870
12356
|
var resetStyles = {
|
|
11871
12357
|
borderRadius: "br100",
|
|
11872
|
-
cursor: "
|
|
11873
|
-
outline: "
|
|
12358
|
+
cursor: "cur_pointer",
|
|
12359
|
+
outline: "ol_0",
|
|
11874
12360
|
position: "relative"
|
|
11875
12361
|
};
|
|
11876
12362
|
var hoverStyles = {
|
|
@@ -11880,7 +12366,7 @@ var focusStyles = {
|
|
|
11880
12366
|
boxShadow: "bshFocus"
|
|
11881
12367
|
};
|
|
11882
12368
|
var disabledStyles = {
|
|
11883
|
-
cursor: "
|
|
12369
|
+
cursor: "cur_not_allowed"
|
|
11884
12370
|
};
|
|
11885
12371
|
var pressedOverlayCss = {
|
|
11886
12372
|
borderRadius: "br100",
|
|
@@ -11891,9 +12377,9 @@ var pressedOverlayCss = {
|
|
|
11891
12377
|
height: "h100",
|
|
11892
12378
|
position: "absolute",
|
|
11893
12379
|
top: "top0",
|
|
11894
|
-
left: "
|
|
12380
|
+
left: "l_0",
|
|
11895
12381
|
opacity: "op_0_2",
|
|
11896
|
-
pointerEvents: "
|
|
12382
|
+
pointerEvents: "pen"
|
|
11897
12383
|
};
|
|
11898
12384
|
|
|
11899
12385
|
// src/components/Button.tsx
|
|
@@ -11995,7 +12481,7 @@ function Button(props) {
|
|
|
11995
12481
|
...isDisabled || asyncInProgress ? {
|
|
11996
12482
|
...disabledStyles3,
|
|
11997
12483
|
...{
|
|
11998
|
-
cursor: "
|
|
12484
|
+
cursor: "cur_not_allowed"
|
|
11999
12485
|
}
|
|
12000
12486
|
} : {},
|
|
12001
12487
|
...isFocusVisible || forceFocusStyles ? focusStyles2 : {}
|
|
@@ -12633,14 +13119,14 @@ function getNavLinkStyles(variant, nested) {
|
|
|
12633
13119
|
}
|
|
12634
13120
|
var baseStyles2 = {
|
|
12635
13121
|
display: "df",
|
|
12636
|
-
gap: "
|
|
13122
|
+
gap: "g_1",
|
|
12637
13123
|
alignItems: "aic",
|
|
12638
13124
|
paddingTop: "pt_6px",
|
|
12639
13125
|
paddingBottom: "pb_6px",
|
|
12640
13126
|
paddingLeft: "pl1",
|
|
12641
13127
|
paddingRight: "pr1",
|
|
12642
13128
|
borderRadius: "br4",
|
|
12643
|
-
outline: "
|
|
13129
|
+
outline: "ol_0"
|
|
12644
13130
|
};
|
|
12645
13131
|
var navLinkVariantStyles = {
|
|
12646
13132
|
side: {
|
|
@@ -12667,7 +13153,7 @@ var navLinkVariantStyles = {
|
|
|
12667
13153
|
color: ["color_var", {
|
|
12668
13154
|
"--color": "var(--b-nav-text-disabled)"
|
|
12669
13155
|
}],
|
|
12670
|
-
cursor: "
|
|
13156
|
+
cursor: "cur_not_allowed"
|
|
12671
13157
|
},
|
|
12672
13158
|
focusRingStyles: {
|
|
12673
13159
|
boxShadow: "bshFocus"
|
|
@@ -12713,7 +13199,7 @@ var navLinkVariantStyles = {
|
|
|
12713
13199
|
color: ["color_var", {
|
|
12714
13200
|
"--color": "var(--b-nav-global-text-disabled)"
|
|
12715
13201
|
}],
|
|
12716
|
-
cursor: "
|
|
13202
|
+
cursor: "cur_not_allowed"
|
|
12717
13203
|
},
|
|
12718
13204
|
focusRingStyles: {
|
|
12719
13205
|
color: ["color_var", {
|
|
@@ -13084,7 +13570,7 @@ function BaseCard(props) {
|
|
|
13084
13570
|
"--objectFit": (0, import_runtime37.maybeCssVar)(imageFit)
|
|
13085
13571
|
}]
|
|
13086
13572
|
}), src: imgSrc, alt: imgAlt, "aria-hidden": imgAlt === "" || void 0, loading: "lazy", ...tid.image }),
|
|
13087
|
-
tag && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "absolute top1
|
|
13573
|
+
tag && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "absolute top1 l_1 df", ...tid.tag, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Tag, { ...tag }) })
|
|
13088
13574
|
] }),
|
|
13089
13575
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { ...(0, import_runtime37.trussProps)({
|
|
13090
13576
|
display: "df",
|
|
@@ -13127,7 +13613,7 @@ function BaseCard(props) {
|
|
|
13127
13613
|
}]
|
|
13128
13614
|
} : {},
|
|
13129
13615
|
...onClick ? {
|
|
13130
|
-
cursor: "
|
|
13616
|
+
cursor: "cur_pointer",
|
|
13131
13617
|
boxShadow: "h_bshHover"
|
|
13132
13618
|
} : {},
|
|
13133
13619
|
...isFocusVisible ? {
|
|
@@ -13144,7 +13630,7 @@ function BaseCard(props) {
|
|
|
13144
13630
|
} : {}
|
|
13145
13631
|
}), ...tid, children: [
|
|
13146
13632
|
onClick ? getButtonOrLink(content2, onClick, actionAttrs) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { ...(0, import_runtime37.trussProps)(contentStyles), children: content2 }),
|
|
13147
|
-
action && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "absolute top2
|
|
13633
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "absolute top2 r_2", ...tid.heroAction, children: "items" in action ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ButtonMenu, { ...action }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(IconButton, { ...action }) }),
|
|
13148
13634
|
footer && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { ...tid.footer, children: footer })
|
|
13149
13635
|
] });
|
|
13150
13636
|
}
|
|
@@ -13192,12 +13678,12 @@ function CardBody(props) {
|
|
|
13192
13678
|
const hasDetails = data.length > 0 || progress !== void 0;
|
|
13193
13679
|
const col1 = data.slice(0, Math.ceil(data.length / 2));
|
|
13194
13680
|
const col2 = data.slice(Math.ceil(data.length / 2));
|
|
13195
|
-
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df fdc
|
|
13196
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df fdc
|
|
13681
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df fdc g_2 fg1 mw0", children: [
|
|
13682
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df fdc g_1", children: [
|
|
13197
13683
|
(leftEyebrow || rightEyebrow) && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { ...(0, import_runtime38.trussProps)({
|
|
13198
13684
|
display: "df",
|
|
13199
13685
|
justifyContent: "jcsb",
|
|
13200
|
-
gap: "
|
|
13686
|
+
gap: "g_1",
|
|
13201
13687
|
fontWeight: "fw4",
|
|
13202
13688
|
fontSize: "fz_14px",
|
|
13203
13689
|
lineHeight: "lh_20px",
|
|
@@ -13222,14 +13708,14 @@ function CardBody(props) {
|
|
|
13222
13708
|
"--color": "var(--b-on-surface)"
|
|
13223
13709
|
}]
|
|
13224
13710
|
}), ...tid.title, children: renderMaybeProposed(title, tid.titleProposal) }),
|
|
13225
|
-
(badge || badgeTags?.length) && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "dif aic
|
|
13711
|
+
(badge || badgeTags?.length) && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "dif aic g_1 fs0", ...tid.badge, children: [
|
|
13226
13712
|
badge && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "fw4 fz_14px lh_20px wsnw", children: badge }),
|
|
13227
13713
|
badgeTags?.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Tag, { ...tag }, tag.text))
|
|
13228
13714
|
] })
|
|
13229
13715
|
] })
|
|
13230
13716
|
] }),
|
|
13231
|
-
hasDetails && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df fdc
|
|
13232
|
-
data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("dl", { className: "df
|
|
13717
|
+
hasDetails && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df fdc g_2 mta", children: [
|
|
13718
|
+
data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("dl", { className: "df g_2 fw4 fz_14px lh_20px", children: [
|
|
13233
13719
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "df fdc fg1 fb2 mw0", children: col1.map((d) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df g_4px", ...tid[defaultTestId(d.label)], children: [
|
|
13234
13720
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("dt", { className: "fs0", children: [
|
|
13235
13721
|
d.label,
|
|
@@ -13245,7 +13731,7 @@ function CardBody(props) {
|
|
|
13245
13731
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("dd", { className: "mw0", children: d.value })
|
|
13246
13732
|
] }, d.label)) })
|
|
13247
13733
|
] }),
|
|
13248
|
-
progress !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df aic
|
|
13734
|
+
progress !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "df aic g_1 fs_10px lh_14px", children: [
|
|
13249
13735
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ...(0, import_runtime38.trussProps)({
|
|
13250
13736
|
width: "w25",
|
|
13251
13737
|
height: "h_8px",
|
|
@@ -13356,7 +13842,7 @@ function Carousel(props) {
|
|
|
13356
13842
|
marginBottom: "mb_neg4px",
|
|
13357
13843
|
marginRight: "mr_neg4px",
|
|
13358
13844
|
marginLeft: "ml_neg4px",
|
|
13359
|
-
scrollPaddingInline: "
|
|
13845
|
+
scrollPaddingInline: "scpi_4px",
|
|
13360
13846
|
maskImage: ["maskImage_var", {
|
|
13361
13847
|
"--maskImage": (0, import_runtime39.maybeCssVar)(maskImage)
|
|
13362
13848
|
}]
|
|
@@ -13381,7 +13867,7 @@ function ScrollButton(props) {
|
|
|
13381
13867
|
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("button", { type: "button", "aria-label": label, onClick, ...(0, import_runtime39.trussProps)({
|
|
13382
13868
|
position: "absolute",
|
|
13383
13869
|
top: "top0",
|
|
13384
|
-
bottom: "
|
|
13870
|
+
bottom: "bot_0",
|
|
13385
13871
|
zIndex: "z1",
|
|
13386
13872
|
display: "df",
|
|
13387
13873
|
alignItems: "aic",
|
|
@@ -13396,15 +13882,15 @@ function ScrollButton(props) {
|
|
|
13396
13882
|
paddingBottom: "pb0",
|
|
13397
13883
|
paddingRight: "pr0",
|
|
13398
13884
|
paddingLeft: "pl0",
|
|
13399
|
-
cursor: "
|
|
13885
|
+
cursor: "cur_pointer",
|
|
13400
13886
|
color: ["color_var", {
|
|
13401
13887
|
"--color": "var(--b-on-surface)"
|
|
13402
13888
|
}],
|
|
13403
13889
|
outline: "ol_0",
|
|
13404
13890
|
...back ? {
|
|
13405
|
-
left: "
|
|
13891
|
+
left: "l_0"
|
|
13406
13892
|
} : {
|
|
13407
|
-
right: "
|
|
13893
|
+
right: "r_0"
|
|
13408
13894
|
},
|
|
13409
13895
|
boxShadow: "fv_bshFocus"
|
|
13410
13896
|
}), ...others, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon: back ? "chevronLeft" : "chevronRight", inc, color: "--b-on-surface" /* OnSurface */ }) });
|
|
@@ -13506,7 +13992,7 @@ function TableCardView(props) {
|
|
|
13506
13992
|
const titleText = typeof title === "string" ? title : title.proposed;
|
|
13507
13993
|
const shownFooter = shownInteractiveFooter(interactiveFooter);
|
|
13508
13994
|
const action = to || onClick;
|
|
13509
|
-
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(BaseCard, { ...tid, imgSrc, imgAlt: titleText, imageFit, tag: status, onClick: action, height, aiMode, footer: shownFooter && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "df fdc
|
|
13995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(BaseCard, { ...tid, imgSrc, imgAlt: titleText, imageFit, tag: status, onClick: action, height, aiMode, footer: shownFooter && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "df fdc g_2 pl3 pr3 pb3 pt2", ...tid.interactiveFooter, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InteractiveFooter, { footer: shownFooter, tid }) }), children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(CardBody, { ...tid, title, leftEyebrow, rightEyebrow, badge, badgeTags, data, progress, aiMode }) });
|
|
13510
13996
|
}
|
|
13511
13997
|
function InteractiveFooter(props) {
|
|
13512
13998
|
const {
|
|
@@ -13553,11 +14039,11 @@ function Thumbnail(props) {
|
|
|
13553
14039
|
backgroundColor: "bgWhite after_a_bgBlue600",
|
|
13554
14040
|
outline: "ol_0",
|
|
13555
14041
|
boxShadow: "h_bshHover fv_bshFocus",
|
|
13556
|
-
content: "
|
|
14042
|
+
content: "after_a_cnt_",
|
|
13557
14043
|
top: "after_a_top0",
|
|
13558
|
-
left: "
|
|
14044
|
+
left: "after_a_l_0",
|
|
13559
14045
|
opacity: "after_a_o_0_28",
|
|
13560
|
-
pointerEvents: "
|
|
14046
|
+
pointerEvents: "after_a_pen"
|
|
13561
14047
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "db w100 h100 oh br8", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("img", { className: "w100 h100 obf_cover db", src: item.imgUrl, alt: "", loading: "lazy" }) }) }) });
|
|
13562
14048
|
}
|
|
13563
14049
|
|
|
@@ -13571,7 +14057,7 @@ function GridTableEmptyState(props) {
|
|
|
13571
14057
|
actions
|
|
13572
14058
|
} = props;
|
|
13573
14059
|
const tid = useTestIds(props, "gridTableEmptyState");
|
|
13574
|
-
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "df fdc aic pt_12 pb_12
|
|
14060
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "df fdc aic pt_12 pb_12 g_2", ...tid, children: [
|
|
13575
14061
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
|
|
13576
14062
|
description && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { ...(0, import_runtime41.trussProps)({
|
|
13577
14063
|
fontWeight: "fw4",
|
|
@@ -13627,6 +14113,7 @@ function GridTable(props) {
|
|
|
13627
14113
|
infoMessage,
|
|
13628
14114
|
persistCollapse,
|
|
13629
14115
|
persistScrollPosition,
|
|
14116
|
+
loading = false,
|
|
13630
14117
|
resizeTarget,
|
|
13631
14118
|
activeRowId,
|
|
13632
14119
|
activeCellId,
|
|
@@ -13906,21 +14393,35 @@ function GridTable(props) {
|
|
|
13906
14393
|
}
|
|
13907
14394
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(TableStateContext.Provider, { value: rowStateContext, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(PresentationProvider, { fieldProps, wrap: style?.presentationSettings?.wrap, children: [
|
|
13908
14395
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ref: resizeRef, ...(0, import_runtime42.trussProps)(getTableRefWidthStyles(as === "virtual", inDocumentScrollLayout)), ...tid.probe }),
|
|
13909
|
-
|
|
14396
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14397
|
+
position: "fixed",
|
|
14398
|
+
top: "top0",
|
|
14399
|
+
right: "r_0",
|
|
14400
|
+
bottom: "bot_0",
|
|
14401
|
+
left: "l_0",
|
|
14402
|
+
display: "df",
|
|
14403
|
+
alignItems: "aic",
|
|
14404
|
+
justifyContent: "jcc",
|
|
14405
|
+
pointerEvents: "pen",
|
|
14406
|
+
zIndex: ["z_var", {
|
|
14407
|
+
"--zIndex": (0, import_runtime42.maybeCssVar)(zIndices.tableLoadingOverlay)
|
|
14408
|
+
}]
|
|
14409
|
+
}), ...tid.loadingOverlay, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader, { ...tid.loadingSpinner }) }),
|
|
14410
|
+
as === "card" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CardView, { cardRows: visibleDataRows, id, virtuosoRangeRef, infiniteScroll, persistScrollPosition, loading }) : _as === "virtual" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(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)
|
|
13910
14411
|
] }) });
|
|
13911
14412
|
}
|
|
13912
14413
|
var renders = {
|
|
13913
14414
|
table: renderTable,
|
|
13914
14415
|
div: renderDiv
|
|
13915
14416
|
};
|
|
13916
|
-
function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
14417
|
+
function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, loading, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
13917
14418
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ref: tableContainerRef, ...(0, import_runtime42.trussProps)({
|
|
13918
14419
|
// Use `fit-content` to ensure the width of the table takes up the full width of its content.
|
|
13919
14420
|
// Otherwise, the table's width would be that of its container, which may not be as wide as the table itself.
|
|
13920
14421
|
// In cases where we have sticky columns on a very wide table, then the container which the columns "stick" to (which is the table),
|
|
13921
14422
|
// 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.
|
|
13922
14423
|
...{
|
|
13923
|
-
minWidth: "
|
|
14424
|
+
minWidth: "mwfc"
|
|
13924
14425
|
},
|
|
13925
14426
|
...style.rootCss,
|
|
13926
14427
|
...style.minWidthPx ? {
|
|
@@ -13928,7 +14429,8 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinned
|
|
|
13928
14429
|
"--minWidth": `${style.minWidthPx}px`
|
|
13929
14430
|
}]
|
|
13930
14431
|
} : {},
|
|
13931
|
-
...xss
|
|
14432
|
+
...xss,
|
|
14433
|
+
...loading && loadingTableCss
|
|
13932
14434
|
}), "data-testid": id, children: [
|
|
13933
14435
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ...(0, import_runtime42.trussProps)({
|
|
13934
14436
|
...stickyHeader || pinnedRows.length > 0 ? {
|
|
@@ -13959,7 +14461,7 @@ function renderDiv(style, id, columns, visibleDataRows, keptSelectedRows, pinned
|
|
|
13959
14461
|
] })
|
|
13960
14462
|
] });
|
|
13961
14463
|
}
|
|
13962
|
-
function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
14464
|
+
function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, _virtuosoRef, _virtuosoRangeRef, tableHeadRows, stickyOffset, loading, _infiniteScroll, tableContainerRef, _persistScrollPosition) {
|
|
13963
14465
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("table", { ref: tableContainerRef, ...(0, import_runtime42.trussProps)({
|
|
13964
14466
|
...{
|
|
13965
14467
|
width: "w100",
|
|
@@ -13972,7 +14474,8 @@ function renderTable(style, id, columns, visibleDataRows, keptSelectedRows, pinn
|
|
|
13972
14474
|
"--minWidth": `${style.minWidthPx}px`
|
|
13973
14475
|
}]
|
|
13974
14476
|
} : {},
|
|
13975
|
-
...xss
|
|
14477
|
+
...xss,
|
|
14478
|
+
...loading && loadingTableCss
|
|
13976
14479
|
}), "data-testid": id, children: [
|
|
13977
14480
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("thead", { ...(0, import_runtime42.trussProps)({
|
|
13978
14481
|
...stickyHeader || pinnedRows.length > 0 ? {
|
|
@@ -14019,7 +14522,8 @@ function VirtualGridTableView({
|
|
|
14019
14522
|
tableHeadRows,
|
|
14020
14523
|
stickyOffset,
|
|
14021
14524
|
infiniteScroll,
|
|
14022
|
-
persistScrollPosition = infiniteScroll === void 0
|
|
14525
|
+
persistScrollPosition = infiniteScroll === void 0,
|
|
14526
|
+
loading = false
|
|
14023
14527
|
}) {
|
|
14024
14528
|
const customScrollParent = useVirtualizedScrollParent();
|
|
14025
14529
|
const inDocumentScrollLayout = useDocumentScrollLayout();
|
|
@@ -14031,6 +14535,30 @@ function VirtualGridTableView({
|
|
|
14031
14535
|
const savedScrollIndex = getScrollIndex();
|
|
14032
14536
|
const topItemCount = (stickyHeader || pinnedRows.length > 0 ? tableHeadRows.length : 0) + pinnedRows.length;
|
|
14033
14537
|
const validatedScrollIndex = savedScrollIndex !== void 0 && savedScrollIndex > 0 && savedScrollIndex < visibleDataRows.length ? savedScrollIndex + topItemCount : void 0;
|
|
14538
|
+
const components = (0, import_react49.useMemo)(() => ({
|
|
14539
|
+
// zIndex keeps the pinned head above sticky columns; `top` matches the offsets used by
|
|
14540
|
+
// the div/table render paths so virtualized tables pin below the global nav + page header.
|
|
14541
|
+
TopItemList: import_react49.default.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...props, ref, ...(0, import_runtime42.mergeProps)(void 0, {
|
|
14542
|
+
...props.style,
|
|
14543
|
+
...style.minWidthPx !== void 0 ? {
|
|
14544
|
+
minWidth: style.minWidthPx
|
|
14545
|
+
} : {},
|
|
14546
|
+
zIndex: zIndices.tableStickyHeader,
|
|
14547
|
+
top: stickyTableHeaderOffset(stickyOffset)
|
|
14548
|
+
}, {
|
|
14549
|
+
transition: "transitionTop"
|
|
14550
|
+
}) })),
|
|
14551
|
+
List: VirtualRoot(style, columns, id, xss),
|
|
14552
|
+
Footer: () => {
|
|
14553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14554
|
+
...style.virtualFooterPaddingBottomPx !== void 0 ? {
|
|
14555
|
+
paddingBottom: ["pb_var", {
|
|
14556
|
+
"--paddingBottom": `${style.virtualFooterPaddingBottomPx ?? 0}px`
|
|
14557
|
+
}]
|
|
14558
|
+
} : {}
|
|
14559
|
+
}), children: fetchMoreInProgress && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "h5 df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader, { size: "xs" }) }) });
|
|
14560
|
+
}
|
|
14561
|
+
}), [columns, fetchMoreInProgress, id, stickyOffset, style, xss]);
|
|
14034
14562
|
const virtuosoKey = !!validatedScrollIndex && visibleDataRows.length > 0 ? "with-data" : "virtuoso";
|
|
14035
14563
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
14036
14564
|
import_react_virtuoso.Virtuoso,
|
|
@@ -14038,36 +14566,14 @@ function VirtualGridTableView({
|
|
|
14038
14566
|
useWindowScroll: inDocumentScrollLayout && !customScrollParent,
|
|
14039
14567
|
overscan: 5,
|
|
14040
14568
|
ref: virtuosoRef,
|
|
14569
|
+
...loading ? (0, import_runtime42.trussProps)(loadingTableCss) : {},
|
|
14041
14570
|
...customScrollParent ? {
|
|
14042
14571
|
customScrollParent
|
|
14043
14572
|
} : {},
|
|
14044
14573
|
...validatedScrollIndex !== void 0 ? {
|
|
14045
14574
|
initialTopMostItemIndex: validatedScrollIndex
|
|
14046
14575
|
} : {},
|
|
14047
|
-
components
|
|
14048
|
-
// zIndex keeps the pinned head above sticky columns; `top` matches the offsets used by
|
|
14049
|
-
// the div/table render paths so virtualized tables pin below the global nav + page header.
|
|
14050
|
-
TopItemList: import_react49.default.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...props, ref, ...(0, import_runtime42.mergeProps)(void 0, {
|
|
14051
|
-
...props.style,
|
|
14052
|
-
...style.minWidthPx !== void 0 ? {
|
|
14053
|
-
minWidth: style.minWidthPx
|
|
14054
|
-
} : {},
|
|
14055
|
-
zIndex: zIndices.tableStickyHeader,
|
|
14056
|
-
top: stickyTableHeaderOffset(stickyOffset)
|
|
14057
|
-
}, {
|
|
14058
|
-
transition: "transitionTop"
|
|
14059
|
-
}) })),
|
|
14060
|
-
List: VirtualRoot(style, columns, id, xss),
|
|
14061
|
-
Footer: () => {
|
|
14062
|
-
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14063
|
-
...style.virtualFooterPaddingBottomPx !== void 0 ? {
|
|
14064
|
-
paddingBottom: ["pb_var", {
|
|
14065
|
-
"--paddingBottom": `${style.virtualFooterPaddingBottomPx ?? 0}px`
|
|
14066
|
-
}]
|
|
14067
|
-
} : {}
|
|
14068
|
-
}), children: fetchMoreInProgress && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "h5 df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Loader, { size: "xs" }) }) });
|
|
14069
|
-
}
|
|
14070
|
-
},
|
|
14576
|
+
components,
|
|
14071
14577
|
topItemCount,
|
|
14072
14578
|
itemContent: (index) => {
|
|
14073
14579
|
if (index < tableHeadRows.length) {
|
|
@@ -14135,7 +14641,8 @@ function CardView({
|
|
|
14135
14641
|
id,
|
|
14136
14642
|
virtuosoRangeRef,
|
|
14137
14643
|
infiniteScroll,
|
|
14138
|
-
persistScrollPosition = infiniteScroll === void 0
|
|
14644
|
+
persistScrollPosition = infiniteScroll === void 0,
|
|
14645
|
+
loading = false
|
|
14139
14646
|
}) {
|
|
14140
14647
|
const customScrollParent = useVirtualizedScrollParent();
|
|
14141
14648
|
const inDocumentScrollLayout = useDocumentScrollLayout();
|
|
@@ -14148,20 +14655,32 @@ function CardView({
|
|
|
14148
14655
|
const validatedScrollIndex = savedScrollIndex !== void 0 && savedScrollIndex > 0 && savedScrollIndex < cardRows.length ? savedScrollIndex : void 0;
|
|
14149
14656
|
const virtuosoKey = !!validatedScrollIndex && cardRows.length > 0 ? "with-data" : "virtuoso";
|
|
14150
14657
|
if (runningInJest) {
|
|
14151
|
-
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {
|
|
14658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14659
|
+
...{
|
|
14660
|
+
paddingTop: "pt2",
|
|
14661
|
+
paddingBottom: "pb2"
|
|
14662
|
+
},
|
|
14663
|
+
...loading && loadingTableCss
|
|
14664
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14152
14665
|
display: "dg",
|
|
14153
14666
|
gridTemplateColumns: ["gtc_var", {
|
|
14154
14667
|
"--gridTemplateColumns": (0, import_runtime42.maybeCssVar)(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
14155
14668
|
}],
|
|
14156
14669
|
justifyContent: "jcc",
|
|
14157
|
-
gap: "
|
|
14670
|
+
gap: "g_3",
|
|
14158
14671
|
paddingTop: "pt3",
|
|
14159
14672
|
paddingBottom: "pb3",
|
|
14160
14673
|
paddingRight: "pr3",
|
|
14161
14674
|
paddingLeft: "pl3"
|
|
14162
14675
|
}), children: cardRows }) });
|
|
14163
14676
|
}
|
|
14164
|
-
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {
|
|
14677
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { ...(0, import_runtime42.trussProps)({
|
|
14678
|
+
...{
|
|
14679
|
+
paddingBottom: "pb2",
|
|
14680
|
+
height: "h100"
|
|
14681
|
+
},
|
|
14682
|
+
...loading && loadingTableCss
|
|
14683
|
+
}), children: /* @__PURE__ */ (0, import_react50.createElement)(import_react_virtuoso.VirtuosoGrid, { useWindowScroll: inDocumentScrollLayout && !customScrollParent, ...customScrollParent ? {
|
|
14165
14684
|
customScrollParent
|
|
14166
14685
|
} : {}, ...validatedScrollIndex !== void 0 ? {
|
|
14167
14686
|
initialTopMostItemIndex: validatedScrollIndex
|
|
@@ -14176,7 +14695,7 @@ function CardView({
|
|
|
14176
14695
|
"--gridTemplateColumns": (0, import_runtime42.maybeCssVar)(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
|
|
14177
14696
|
}],
|
|
14178
14697
|
justifyContent: "jcc",
|
|
14179
|
-
gap: "
|
|
14698
|
+
gap: "g_3",
|
|
14180
14699
|
paddingTop: "pt3",
|
|
14181
14700
|
paddingBottom: "pb3",
|
|
14182
14701
|
paddingRight: "pr3",
|
|
@@ -14291,7 +14810,7 @@ var chipHoverOnlyStyles = {
|
|
|
14291
14810
|
};
|
|
14292
14811
|
var chipDisabledStyles = {
|
|
14293
14812
|
color: "gray600",
|
|
14294
|
-
cursor: "
|
|
14813
|
+
cursor: "cur_not_allowed"
|
|
14295
14814
|
};
|
|
14296
14815
|
|
|
14297
14816
|
// src/components/ToggleChips.tsx
|
|
@@ -14309,7 +14828,7 @@ function ToggleChips(props) {
|
|
|
14309
14828
|
...{
|
|
14310
14829
|
display: "df",
|
|
14311
14830
|
flexWrap: "fww",
|
|
14312
|
-
gap: "
|
|
14831
|
+
gap: "g_1"
|
|
14313
14832
|
},
|
|
14314
14833
|
...xss
|
|
14315
14834
|
}), ...tid, children: values.map((value) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ToggleChip, { text: getLabel(value), onClick: () => onRemove(value), ...tid.chip }, getLabel(value))) });
|
|
@@ -14656,7 +15175,7 @@ var aiCardChrome = {
|
|
|
14656
15175
|
lg: {
|
|
14657
15176
|
logoHeight: 3,
|
|
14658
15177
|
gapCss: {
|
|
14659
|
-
gap: "
|
|
15178
|
+
gap: "g_2"
|
|
14660
15179
|
}
|
|
14661
15180
|
},
|
|
14662
15181
|
sm: {
|
|
@@ -14678,7 +15197,7 @@ function AiBanner(props) {
|
|
|
14678
15197
|
secondaryAction
|
|
14679
15198
|
} = props;
|
|
14680
15199
|
const tid = useTestIds(props, "aiBanner");
|
|
14681
|
-
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AiPanel, { padding: "sm", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AiCard, { size: "sm", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "df aic jcsb
|
|
15200
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AiPanel, { padding: "sm", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(AiCard, { size: "sm", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "df aic jcsb g_2 w100 fww pt_12px pb2 pl2 pr2", children: [
|
|
14682
15201
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "df fdc g_4px fg1 fb_0 mw_240px", children: [
|
|
14683
15202
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "fw6 fz_14px lh_20px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent", ...tid.title, children: title }),
|
|
14684
15203
|
message && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { ...(0, import_runtime48.trussProps)({
|
|
@@ -14690,7 +15209,7 @@ function AiBanner(props) {
|
|
|
14690
15209
|
}]
|
|
14691
15210
|
}), ...tid.message, children: message })
|
|
14692
15211
|
] }),
|
|
14693
|
-
(primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "df aic
|
|
15212
|
+
(primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "df aic g_2 fs0", children: [
|
|
14694
15213
|
secondaryAction && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { ...secondaryAction, variant: "quaternary" }),
|
|
14695
15214
|
primaryAction && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { ...primaryAction, variant: "ai" })
|
|
14696
15215
|
] })
|
|
@@ -14713,7 +15232,7 @@ function LinkCard(props) {
|
|
|
14713
15232
|
...(0, import_runtime49.trussProps)({
|
|
14714
15233
|
display: "df",
|
|
14715
15234
|
alignItems: "ais",
|
|
14716
|
-
gap: "
|
|
15235
|
+
gap: "g_2",
|
|
14717
15236
|
width: "w100",
|
|
14718
15237
|
paddingTop: "pt2",
|
|
14719
15238
|
paddingBottom: "pb2",
|
|
@@ -14762,7 +15281,7 @@ function AiLinkCardGroup(props) {
|
|
|
14762
15281
|
} = props;
|
|
14763
15282
|
const tid = useTestIds(props, "aiLinkCardGroup");
|
|
14764
15283
|
if (cards.length === 0) return null;
|
|
14765
|
-
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(AiPanel, { padding: "lg", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "df fdc aifs
|
|
15284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(AiPanel, { padding: "lg", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "df fdc aifs g_2 w100", children: [
|
|
14766
15285
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(BlueprintAiLogo, { height: 3 }),
|
|
14767
15286
|
cards.map((card) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(LinkCard, { ...card }, card.title))
|
|
14768
15287
|
] }) });
|
|
@@ -14832,7 +15351,7 @@ function AiLoadingPanel(props) {
|
|
|
14832
15351
|
const card = (
|
|
14833
15352
|
// `status` rather than `alert` so assistive tech waits for a pause instead of interrupting, and
|
|
14834
15353
|
// `aria-busy` so it knows the surrounding content is still settling.
|
|
14835
|
-
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(AiCard, { role: "status", "aria-busy": true, size: "lg", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "df fdc aic
|
|
15354
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(AiCard, { role: "status", "aria-busy": true, size: "lg", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "df fdc aic g_1 w100 pt2 pb2 pl3 pr3", children: [
|
|
14836
15355
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(AiLoader, {}),
|
|
14837
15356
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "fw6 fz_18px lh_28px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent", ...tid.title, children: title }),
|
|
14838
15357
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { ...(0, import_runtime51.trussProps)({
|
|
@@ -14858,11 +15377,11 @@ function AiSlimBanner(props) {
|
|
|
14858
15377
|
action
|
|
14859
15378
|
} = props;
|
|
14860
15379
|
const tid = useTestIds(props, "aiSlimBanner");
|
|
14861
|
-
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "df ais
|
|
15380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "df ais g_2 w100 pl2 pr2 fw4 fz_12px lh_16px aiBackground", ...tid, children: [
|
|
14862
15381
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "df aic jcc fs0 pt1 pb1 w_12px h_32px", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { icon: "aiStar", inc: 2.125, xss: {
|
|
14863
15382
|
flexShrink: "fs0"
|
|
14864
15383
|
} }) }),
|
|
14865
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "df aic jcsb
|
|
15384
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "df aic jcsb g_2 fg1 mw0", children: [
|
|
14866
15385
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "fw6 fz_12px lh_16px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent pt1 pb1 mw0", ...tid.title, children: title }),
|
|
14867
15386
|
action && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "fs0", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { ...action, variant: "text" }) })
|
|
14868
15387
|
] })
|
|
@@ -14990,7 +15509,7 @@ function Indicator({
|
|
|
14990
15509
|
}) {
|
|
14991
15510
|
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { "data-testid": "autoSave", ...(0, import_runtime52.trussProps)({
|
|
14992
15511
|
display: "df",
|
|
14993
|
-
gap: "
|
|
15512
|
+
gap: "g_1",
|
|
14994
15513
|
alignItems: "aic",
|
|
14995
15514
|
color: ["color_var", {
|
|
14996
15515
|
"--color": "var(--b-on-surface-muted)"
|
|
@@ -15019,7 +15538,7 @@ function ContextualModal(props) {
|
|
|
15019
15538
|
close
|
|
15020
15539
|
} = props;
|
|
15021
15540
|
const tid = useTestIds(props, "popup");
|
|
15022
|
-
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_aria22.FocusScope, { restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "pt3 pb3 pr3 pl3 df fdc
|
|
15541
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_aria22.FocusScope, { restoreFocus: true, autoFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "pt3 pb3 pr3 pl3 df fdc g_3 bgWhite bshModal br4 maxh_inherit oa", ...tid, children: [
|
|
15023
15542
|
title && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "fw6 fz_18px lh_28px tac", ...tid.title, children: title }),
|
|
15024
15543
|
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { ...tid.content, children: typeof content2 === "function" ? content2(close) : content2 })
|
|
15025
15544
|
] }) });
|
|
@@ -15050,7 +15569,7 @@ function AvatarGroup(props) {
|
|
|
15050
15569
|
const maxVisibleAvatars = avatars.length <= 8 ? 8 : 7;
|
|
15051
15570
|
const visibleAvatars = avatars.slice(0, maxVisibleAvatars);
|
|
15052
15571
|
const menuAvatars = avatars.slice(maxVisibleAvatars);
|
|
15053
|
-
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "df aic
|
|
15572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "df aic g_1 fw6 fz_12px lh_16px", children: [
|
|
15054
15573
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "df aic", children: visibleAvatars.map((avatar, idx) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { ...(0, import_runtime53.trussProps)({
|
|
15055
15574
|
borderRadius: "br100",
|
|
15056
15575
|
borderStyle: "bss",
|
|
@@ -15065,7 +15584,7 @@ function AvatarGroup(props) {
|
|
|
15065
15584
|
menuAvatars.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ButtonModal, { trigger: {
|
|
15066
15585
|
label: `+ ${menuAvatars.length} more`,
|
|
15067
15586
|
variant: "text"
|
|
15068
|
-
}, hideEndAdornment: true, content: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "df fdc
|
|
15587
|
+
}, hideEndAdornment: true, content: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "df fdc g_1 mt_neg12px mb_neg12px mr_neg12px ml_neg12px", children: menuAvatars.map((a, idx) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Avatar, { src: a.src, name: a.name, showName: true, size: "md" }, a.src ?? idx)) }) })
|
|
15069
15588
|
] });
|
|
15070
15589
|
}
|
|
15071
15590
|
var sizeToOverlap = {
|
|
@@ -15093,7 +15612,7 @@ function Banner(props) {
|
|
|
15093
15612
|
display: "df",
|
|
15094
15613
|
alignItems: "aic",
|
|
15095
15614
|
width: "w100",
|
|
15096
|
-
gap: "
|
|
15615
|
+
gap: "g_1",
|
|
15097
15616
|
paddingTop: "pt2",
|
|
15098
15617
|
paddingBottom: "pb2",
|
|
15099
15618
|
paddingRight: "pr2",
|
|
@@ -15363,9 +15882,9 @@ function Day(props) {
|
|
|
15363
15882
|
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("button", { ...otherProps, ref: buttonRef, type: "button", ...(0, import_runtime56.mergeProps)("beam-day-button", void 0, {
|
|
15364
15883
|
position: "relative",
|
|
15365
15884
|
paddingBottom: "pb_4px",
|
|
15366
|
-
outline: "
|
|
15885
|
+
outline: "ol_0",
|
|
15367
15886
|
...disabled ? {
|
|
15368
|
-
cursor: "
|
|
15887
|
+
cursor: "cur_not_allowed"
|
|
15369
15888
|
} : {}
|
|
15370
15889
|
}), ...selected && {
|
|
15371
15890
|
"data-selected": ""
|
|
@@ -15709,7 +16228,7 @@ function GroupButton(props) {
|
|
|
15709
16228
|
color: ["d_color_var", {
|
|
15710
16229
|
"--d_color": "var(--b-text-disabled)"
|
|
15711
16230
|
}],
|
|
15712
|
-
cursor: "
|
|
16231
|
+
cursor: "d_cur_not_allowed",
|
|
15713
16232
|
borderColor: ["d_bc_var", {
|
|
15714
16233
|
"--d_borderColor": "var(--b-field-border-default)"
|
|
15715
16234
|
}]
|
|
@@ -15875,18 +16394,18 @@ function Card(props) {
|
|
|
15875
16394
|
}), src: imgSrc, alt: title, ...tid.img }) }),
|
|
15876
16395
|
isHovered && buttonMenuItems && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { ...(0, import_runtime61.trussProps)({
|
|
15877
16396
|
position: "absolute",
|
|
15878
|
-
right: "
|
|
16397
|
+
right: "r_1",
|
|
15879
16398
|
top: "top1",
|
|
15880
16399
|
...bordered && !isList ? {
|
|
15881
|
-
right: "
|
|
16400
|
+
right: "r_3",
|
|
15882
16401
|
top: "top3"
|
|
15883
16402
|
} : {}
|
|
15884
16403
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ButtonMenu, { trigger: {
|
|
15885
16404
|
icon: "verticalDots",
|
|
15886
16405
|
color: isList ? "--b-on-surface-muted" /* OnSurfaceMuted */ : "--b-on-primary" /* OnPrimary */
|
|
15887
16406
|
}, items: buttonMenuItems }) }),
|
|
15888
|
-
tag && !isList && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "absolute
|
|
15889
|
-
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "df fdc aifs
|
|
16407
|
+
tag && !isList && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "absolute l_1 tp_4px", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Tag, { type: tag.type, text: tag.text, ...tid.tag }) }),
|
|
16408
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "df fdc aifs g_1", children: [
|
|
15890
16409
|
tag && isList && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Tag, { type: tag.type, text: tag.text, ...tid.tag }),
|
|
15891
16410
|
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { children: [
|
|
15892
16411
|
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { ...(0, import_runtime61.trussProps)({
|
|
@@ -15928,7 +16447,7 @@ var baseStyles3 = (type) => ({
|
|
|
15928
16447
|
}],
|
|
15929
16448
|
display: "df",
|
|
15930
16449
|
flexDirection: "fdc",
|
|
15931
|
-
gap: "
|
|
16450
|
+
gap: "g_1",
|
|
15932
16451
|
position: "relative"
|
|
15933
16452
|
});
|
|
15934
16453
|
var fullWidthStyles = {
|
|
@@ -15937,7 +16456,7 @@ var fullWidthStyles = {
|
|
|
15937
16456
|
var listStyles = {
|
|
15938
16457
|
display: "df",
|
|
15939
16458
|
flexDirection: "fdr",
|
|
15940
|
-
gap: "
|
|
16459
|
+
gap: "g_2"
|
|
15941
16460
|
};
|
|
15942
16461
|
var borderedStyles = {
|
|
15943
16462
|
borderStyle: "bss",
|
|
@@ -15959,7 +16478,7 @@ var cardHoverStyles = {
|
|
|
15959
16478
|
borderColor: ["bc_var", {
|
|
15960
16479
|
"--borderColor": "var(--b-field-border-hover)"
|
|
15961
16480
|
}],
|
|
15962
|
-
cursor: "
|
|
16481
|
+
cursor: "cur_pointer"
|
|
15963
16482
|
};
|
|
15964
16483
|
var imageHoverStyles = {
|
|
15965
16484
|
backgroundColor: ["bgColor_var", {
|
|
@@ -16080,14 +16599,14 @@ function EnvironmentBanner(props) {
|
|
|
16080
16599
|
},
|
|
16081
16600
|
...headerContentPaddingX()
|
|
16082
16601
|
}), ...tid.content, children: [
|
|
16083
|
-
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { className: "df aic
|
|
16602
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { className: "df aic g_2 fg1 mh0 oh", ...tid.left, children: [
|
|
16084
16603
|
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Tag, { text: badgeLabel, xss: {
|
|
16085
16604
|
backgroundColor: "bgColor_FFFFFF90"
|
|
16086
16605
|
}, ...tid.badge }),
|
|
16087
16606
|
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { ...(0, import_runtime64.trussProps)({
|
|
16088
16607
|
...{
|
|
16089
16608
|
alignItems: "aic",
|
|
16090
|
-
gap: "
|
|
16609
|
+
gap: "g_1",
|
|
16091
16610
|
fontWeight: "fw6",
|
|
16092
16611
|
fontSize: "fz_12px",
|
|
16093
16612
|
lineHeight: "lh_16px",
|
|
@@ -16108,7 +16627,7 @@ function EnvironmentBanner(props) {
|
|
|
16108
16627
|
impersonating != null && /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { ...(0, import_runtime64.trussProps)({
|
|
16109
16628
|
display: "df",
|
|
16110
16629
|
alignItems: "aic",
|
|
16111
|
-
gap: "
|
|
16630
|
+
gap: "g_2",
|
|
16112
16631
|
fontWeight: "fw6",
|
|
16113
16632
|
fontSize: "fz_12px",
|
|
16114
16633
|
lineHeight: "lh_16px",
|
|
@@ -16185,13 +16704,13 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
16185
16704
|
width: ["sq_var", {
|
|
16186
16705
|
"--width": `${invertedCornerRadiusPx}px`
|
|
16187
16706
|
}],
|
|
16188
|
-
pointerEvents: "
|
|
16707
|
+
pointerEvents: "pen",
|
|
16189
16708
|
zIndex: "z1"
|
|
16190
16709
|
};
|
|
16191
16710
|
const outerPosition = side === "left" ? {
|
|
16192
|
-
left: "
|
|
16711
|
+
left: "l_0"
|
|
16193
16712
|
} : {
|
|
16194
|
-
right: "
|
|
16713
|
+
right: "r_0"
|
|
16195
16714
|
};
|
|
16196
16715
|
const shadowXOffset = side === "left" ? -invertedCornerRadiusPx : invertedCornerRadiusPx;
|
|
16197
16716
|
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { "aria-hidden": true, ...(0, import_runtime64.trussProps)({
|
|
@@ -16206,7 +16725,7 @@ function getInvertedCorner(side, bgColorVar) {
|
|
|
16206
16725
|
"--boxShadow": (0, import_runtime64.maybeCssVar)(`${shadowXOffset}px -${invertedCornerRadiusPx}px 0 0 ${bgColorVar}`)
|
|
16207
16726
|
}],
|
|
16208
16727
|
...side === "right" ? {
|
|
16209
|
-
right: "
|
|
16728
|
+
right: "r_0"
|
|
16210
16729
|
} : {}
|
|
16211
16730
|
}) }) });
|
|
16212
16731
|
}
|
|
@@ -16318,7 +16837,7 @@ function SnackbarNotice(props) {
|
|
|
16318
16837
|
display: "df",
|
|
16319
16838
|
flexDirection: "fdc",
|
|
16320
16839
|
alignItems: "aifs",
|
|
16321
|
-
gap: "
|
|
16840
|
+
gap: "g_1",
|
|
16322
16841
|
paddingRight: "pr2",
|
|
16323
16842
|
paddingLeft: ["pl_var", {
|
|
16324
16843
|
"--paddingLeft": `${icon ? 8 : 16}px`
|
|
@@ -16402,7 +16921,7 @@ function Snackbar({
|
|
|
16402
16921
|
bottom: ["bottom_var", {
|
|
16403
16922
|
"--bottom": `${offset.bottom ?? defaultOffset.bottom}px`
|
|
16404
16923
|
}],
|
|
16405
|
-
left: "
|
|
16924
|
+
left: "l_3",
|
|
16406
16925
|
display: "df",
|
|
16407
16926
|
flexDirection: "fdc",
|
|
16408
16927
|
alignItems: "aifs",
|
|
@@ -16730,9 +17249,9 @@ function SuperDrawer() {
|
|
|
16730
17249
|
"--backgroundColor": "var(--b-scrim)"
|
|
16731
17250
|
}],
|
|
16732
17251
|
top: "top0",
|
|
16733
|
-
right: "
|
|
16734
|
-
bottom: "
|
|
16735
|
-
left: "
|
|
17252
|
+
right: "r_0",
|
|
17253
|
+
bottom: "bot_0",
|
|
17254
|
+
left: "l_0",
|
|
16736
17255
|
zIndex: ["z_var", {
|
|
16737
17256
|
"--zIndex": (0, import_runtime67.maybeCssVar)(zIndices.superDrawerScrim)
|
|
16738
17257
|
}]
|
|
@@ -16800,7 +17319,7 @@ function SuperDrawer() {
|
|
|
16800
17319
|
display: "df",
|
|
16801
17320
|
alignItems: "aic",
|
|
16802
17321
|
justifyContent: "jcsb",
|
|
16803
|
-
gap: "
|
|
17322
|
+
gap: "g_3"
|
|
16804
17323
|
}), children: [
|
|
16805
17324
|
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { ref: headerRef, ...(0, import_runtime67.trussProps)({
|
|
16806
17325
|
color: ["color_var", {
|
|
@@ -17153,7 +17672,7 @@ function ModalFooter({
|
|
|
17153
17672
|
display: "df",
|
|
17154
17673
|
alignItems: "aic",
|
|
17155
17674
|
justifyContent: "jcfe",
|
|
17156
|
-
gap: "
|
|
17675
|
+
gap: "g_1"
|
|
17157
17676
|
},
|
|
17158
17677
|
...xss
|
|
17159
17678
|
}), ...testId.footer, children }), modalFooterDiv);
|
|
@@ -17199,7 +17718,7 @@ function FilterModal(props) {
|
|
|
17199
17718
|
// Only remove the filters keys that exist in the modal.
|
|
17200
17719
|
setModalFilter(safeKeys(filters).reduce((acc, fk) => omitKey(fk, acc), modalFilter))
|
|
17201
17720
|
), ...testId.modalClear }),
|
|
17202
|
-
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "df
|
|
17721
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "df g_1", children: [
|
|
17203
17722
|
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { label: "Cancel", variant: "quaternary", onClick: closeModal, ...testId.modalClose }),
|
|
17204
17723
|
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { label: "Apply", onClick: () => {
|
|
17205
17724
|
onApply(modalFilter);
|
|
@@ -17401,7 +17920,7 @@ function ChipTextField(props) {
|
|
|
17401
17920
|
...chipBaseStyles(fieldProps?.compact),
|
|
17402
17921
|
...{
|
|
17403
17922
|
minWidth: "mw_32px",
|
|
17404
|
-
outline: "
|
|
17923
|
+
outline: "ol_0"
|
|
17405
17924
|
},
|
|
17406
17925
|
...isFocused && {
|
|
17407
17926
|
boxShadow: "bshFocus"
|
|
@@ -17511,7 +18030,7 @@ function ChipSelectField(props) {
|
|
|
17511
18030
|
...{
|
|
17512
18031
|
paddingTop: "pt_2px",
|
|
17513
18032
|
paddingBottom: "pb_2px",
|
|
17514
|
-
gap: "
|
|
18033
|
+
gap: "g_0",
|
|
17515
18034
|
alignItems: "aiStretch"
|
|
17516
18035
|
}
|
|
17517
18036
|
};
|
|
@@ -17683,7 +18202,7 @@ function ChipSelectField(props) {
|
|
|
17683
18202
|
paddingRight: "pr_10px",
|
|
17684
18203
|
paddingTop: "pt_2px",
|
|
17685
18204
|
paddingBottom: "pb_2px",
|
|
17686
|
-
outline: "
|
|
18205
|
+
outline: "ol_0",
|
|
17687
18206
|
...showClearButton ? {
|
|
17688
18207
|
paddingRight: "pr_4px",
|
|
17689
18208
|
borderRadius: "bra_16px_0_0_16px"
|
|
@@ -17695,7 +18214,7 @@ function ChipSelectField(props) {
|
|
|
17695
18214
|
...{
|
|
17696
18215
|
paddingRight: "pr_4px",
|
|
17697
18216
|
borderRadius: "bra_0_16px_16px_0",
|
|
17698
|
-
outline: "
|
|
18217
|
+
outline: "ol_0"
|
|
17699
18218
|
},
|
|
17700
18219
|
...chipHoverOnlyStyles,
|
|
17701
18220
|
...isClearFocused ? {
|
|
@@ -17761,7 +18280,7 @@ function Option(props) {
|
|
|
17761
18280
|
}]
|
|
17762
18281
|
},
|
|
17763
18282
|
disabled: {
|
|
17764
|
-
cursor: "
|
|
18283
|
+
cursor: "cur_not_allowed",
|
|
17765
18284
|
color: ["color_var", {
|
|
17766
18285
|
"--color": "var(--b-text-disabled)"
|
|
17767
18286
|
}]
|
|
@@ -17793,8 +18312,8 @@ function Option(props) {
|
|
|
17793
18312
|
paddingLeft: "pl2",
|
|
17794
18313
|
paddingRight: "pr2",
|
|
17795
18314
|
minHeight: "mh_42px",
|
|
17796
|
-
outline: "
|
|
17797
|
-
cursor: "
|
|
18315
|
+
outline: "ol_0",
|
|
18316
|
+
cursor: "cur_pointer",
|
|
17798
18317
|
fontWeight: "fw4",
|
|
17799
18318
|
fontSize: "fz_14px",
|
|
17800
18319
|
lineHeight: "lh_20px"
|
|
@@ -17913,7 +18432,7 @@ function TreeOption(props) {
|
|
|
17913
18432
|
}]
|
|
17914
18433
|
},
|
|
17915
18434
|
disabled: {
|
|
17916
|
-
cursor: "
|
|
18435
|
+
cursor: "cur_not_allowed",
|
|
17917
18436
|
color: ["color_var", {
|
|
17918
18437
|
"--color": "var(--b-text-disabled)"
|
|
17919
18438
|
}]
|
|
@@ -17935,13 +18454,13 @@ function TreeOption(props) {
|
|
|
17935
18454
|
display: "df",
|
|
17936
18455
|
alignItems: "aic",
|
|
17937
18456
|
justifyContent: "jcsb",
|
|
17938
|
-
gap: "
|
|
18457
|
+
gap: "g_1",
|
|
17939
18458
|
paddingLeft: ["pl_var", {
|
|
17940
18459
|
"--paddingLeft": `${16 + level * 8}px`
|
|
17941
18460
|
}],
|
|
17942
18461
|
minHeight: "mh_42px",
|
|
17943
|
-
outline: "
|
|
17944
|
-
cursor: "
|
|
18462
|
+
outline: "ol_0",
|
|
18463
|
+
cursor: "cur_pointer",
|
|
17945
18464
|
fontWeight: "fw4",
|
|
17946
18465
|
fontSize: "fz_14px",
|
|
17947
18466
|
lineHeight: "lh_20px"
|
|
@@ -17957,7 +18476,7 @@ function TreeOption(props) {
|
|
|
17957
18476
|
toggleCollapsed();
|
|
17958
18477
|
return false;
|
|
17959
18478
|
}, className: "br4 h_16px w_16px bgTransparent h_bgGray300", ...tid[`collapseToggle_${item.key}`], children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Icon, { icon: collapsedKeys.includes(item.key) ? "triangleRight" : "triangleDown", inc: 2 }) }) }),
|
|
17960
|
-
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("span", { className: "df aic
|
|
18479
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("span", { className: "df aic g_1 h100 fg1 pt1 pb1 pr2", ref, ...optionProps, "data-label": item.textValue, children: [
|
|
17961
18480
|
!isGroup && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(StyledCheckbox, { isDisabled, isSelected, isIndeterminate, ...tid[item.key.toString()] }),
|
|
17962
18481
|
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "pl1", children: item.rendered })
|
|
17963
18482
|
] })
|
|
@@ -18117,7 +18636,7 @@ function ListBoxSection(props) {
|
|
|
18117
18636
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("ul", { ...(0, import_runtime76.trussProps)({
|
|
18118
18637
|
padding: "p_0",
|
|
18119
18638
|
margin: "m_0",
|
|
18120
|
-
listStyle: "
|
|
18639
|
+
listStyle: "listNone",
|
|
18121
18640
|
...!isPersistentSection ? {
|
|
18122
18641
|
height: ["h_var", {
|
|
18123
18642
|
"--height": `${popoverHeight - sectionSeparatorHeight - persistentItemHeight}px`
|
|
@@ -18217,7 +18736,7 @@ function ListBox(props) {
|
|
|
18217
18736
|
isMultiSelect && !hideChips && selectedOptions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("ul", { ...(0, import_runtime77.trussProps)({
|
|
18218
18737
|
padding: "p_0",
|
|
18219
18738
|
margin: "m_0",
|
|
18220
|
-
listStyle: "
|
|
18739
|
+
listStyle: "listNone",
|
|
18221
18740
|
paddingTop: "pt2",
|
|
18222
18741
|
paddingLeft: "pl2",
|
|
18223
18742
|
paddingBottom: "pb1",
|
|
@@ -18229,10 +18748,10 @@ function ListBox(props) {
|
|
|
18229
18748
|
"--borderColor": "var(--b-surface-separator)"
|
|
18230
18749
|
}],
|
|
18231
18750
|
flexWrap: "fww",
|
|
18232
|
-
maxHeight: "
|
|
18751
|
+
maxHeight: "maxh50",
|
|
18233
18752
|
overflow: "oa"
|
|
18234
18753
|
}), ref: selectedList, children: selectedOptions.map((o) => /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ListBoxToggleChip, { state, option: o, getOptionValue, getOptionLabel, disabled: state.disabledKeys.has(getOptionValue(o)) }, getOptionValue(o))) }),
|
|
18235
|
-
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("ul", { className: "p_0 m_0
|
|
18754
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)("ul", { className: "p_0 m_0 listNone fg1", children: hasSections ? [...state.collection].map((section) => /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
18236
18755
|
ListBoxSection,
|
|
18237
18756
|
{
|
|
18238
18757
|
section,
|
|
@@ -18789,13 +19308,13 @@ function ComboBoxInput(props) {
|
|
|
18789
19308
|
} : void 0, startAdornment: showNumSelection && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(SelectedOptionBullets, { labels: chipLabels }), children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(CountBadge, { count: selectedChipCount, "data-testid": "selectedOptionsCount" }) }) || showFieldDecoration && fieldDecoration(selectedOptions[0]), endAdornment: !inputProps.readOnly && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("button", { ...buttonProps, disabled: inputProps.disabled, ref: buttonRef, ...(0, import_runtime79.trussProps)({
|
|
18790
19309
|
...{
|
|
18791
19310
|
borderRadius: "br4",
|
|
18792
|
-
outline: "
|
|
19311
|
+
outline: "ol_0",
|
|
18793
19312
|
color: ["color_var", {
|
|
18794
19313
|
"--color": "var(--b-text-placeholder)"
|
|
18795
19314
|
}]
|
|
18796
19315
|
},
|
|
18797
19316
|
...inputProps.disabled ? {
|
|
18798
|
-
cursor: "
|
|
19317
|
+
cursor: "cur_not_allowed",
|
|
18799
19318
|
color: ["color_var", {
|
|
18800
19319
|
"--color": "var(--b-field-text-disabled)"
|
|
18801
19320
|
}]
|
|
@@ -19292,11 +19811,11 @@ function Filters(props) {
|
|
|
19292
19811
|
...vertical ? {
|
|
19293
19812
|
display: "df",
|
|
19294
19813
|
flexDirection: "fdc",
|
|
19295
|
-
gap: "
|
|
19814
|
+
gap: "g_2"
|
|
19296
19815
|
} : {
|
|
19297
19816
|
display: "df",
|
|
19298
19817
|
alignItems: "aic",
|
|
19299
|
-
gap: "
|
|
19818
|
+
gap: "g_1"
|
|
19300
19819
|
}
|
|
19301
19820
|
}), ...testId, children: [
|
|
19302
19821
|
maybeGroupByField,
|
|
@@ -19346,7 +19865,7 @@ var actionRowCss = {
|
|
|
19346
19865
|
display: "df",
|
|
19347
19866
|
alignItems: "aic",
|
|
19348
19867
|
flexWrap: "fww",
|
|
19349
|
-
gap: "
|
|
19868
|
+
gap: "g_2",
|
|
19350
19869
|
flexShrink: "fs0"
|
|
19351
19870
|
};
|
|
19352
19871
|
function renderHeaderAction(action, index) {
|
|
@@ -19475,11 +19994,11 @@ function ContentHeader(props) {
|
|
|
19475
19994
|
...xss
|
|
19476
19995
|
}), ...tid, children: [
|
|
19477
19996
|
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df aic jcsb mw0", children: [
|
|
19478
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df aic
|
|
19997
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df aic g_1 mw0", children: [
|
|
19479
19998
|
startAdornment,
|
|
19480
19999
|
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading, { ...(0, import_runtime83.trussProps)(titleCss), ...tid.title, children: title })
|
|
19481
20000
|
] }) : descriptionEl,
|
|
19482
|
-
showActionsSlot && /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df
|
|
20001
|
+
showActionsSlot && /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df g_2 fs0", ...tid.actions, children: [
|
|
19483
20002
|
withAutoSave && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(AutoSaveIndicator, {}),
|
|
19484
20003
|
rightSlotActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(HeaderActions, { actions: rightSlotActions })
|
|
19485
20004
|
] })
|
|
@@ -19545,7 +20064,7 @@ function InlineFeedbackBanner(props) {
|
|
|
19545
20064
|
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { ...(0, import_runtime84.trussProps)({
|
|
19546
20065
|
display: "df",
|
|
19547
20066
|
alignItems: "ais",
|
|
19548
|
-
gap: "
|
|
20067
|
+
gap: "g_1",
|
|
19549
20068
|
width: "w100",
|
|
19550
20069
|
paddingTop: "pt1",
|
|
19551
20070
|
paddingBottom: "pb1",
|
|
@@ -19689,7 +20208,7 @@ var jumpLinkStyles = {
|
|
|
19689
20208
|
color: ["color_var", {
|
|
19690
20209
|
"--color": "var(--b-text-link-disabled)"
|
|
19691
20210
|
}],
|
|
19692
|
-
cursor: "
|
|
20211
|
+
cursor: "cur_not_allowed"
|
|
19693
20212
|
},
|
|
19694
20213
|
disabledActiveStyles: {
|
|
19695
20214
|
borderColor: "bcBlue200"
|
|
@@ -19730,7 +20249,7 @@ function LoadingSkeleton({
|
|
|
19730
20249
|
};
|
|
19731
20250
|
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime86.trussProps)({
|
|
19732
20251
|
display: "df",
|
|
19733
|
-
gap: "
|
|
20252
|
+
gap: "g_1",
|
|
19734
20253
|
marginBottom: "mb1",
|
|
19735
20254
|
height: ["h_var", {
|
|
19736
20255
|
"--height": `${rowHeight}px`
|
|
@@ -19875,7 +20394,7 @@ function CheckboxGroup(props) {
|
|
|
19875
20394
|
gridTemplateColumns: ["gtc_var", {
|
|
19876
20395
|
"--gridTemplateColumns": (0, import_runtime88.maybeCssVar)(`repeat(${columns}, auto)`)
|
|
19877
20396
|
}],
|
|
19878
|
-
gap: "
|
|
20397
|
+
gap: "g_2"
|
|
19879
20398
|
}), children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(CheckboxGroupItem, { ...option, groupState: state, selected: state.value.includes(option.value) }, option.value)) }) });
|
|
19880
20399
|
}
|
|
19881
20400
|
function CheckboxGroupItem(props) {
|
|
@@ -20252,7 +20771,7 @@ function DateFieldBase(props) {
|
|
|
20252
20771
|
} }) });
|
|
20253
20772
|
const calendarButton = /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...(0, import_runtime90.trussProps)({
|
|
20254
20773
|
...isDisabled ? {
|
|
20255
|
-
cursor: "
|
|
20774
|
+
cursor: "cur_not_allowed"
|
|
20256
20775
|
} : {}
|
|
20257
20776
|
}), ...tid.calendarButton, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "calendar", color: isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-on-surface-muted" /* OnSurfaceMuted */ }) });
|
|
20258
20777
|
const EndFieldButtons = /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
|
|
@@ -20447,7 +20966,7 @@ function ListField({
|
|
|
20447
20966
|
const tid = useTestIds({}, "listField");
|
|
20448
20967
|
const filteredRows = useComputed(() => filterDeleted ? listFieldObjectState.rows.filter((rowState) => filterDeleted(rowState)) : listFieldObjectState.rows, [filterDeleted]);
|
|
20449
20968
|
const listIsValid = useComputed(() => listFieldObjectState.valid, [filteredRows]);
|
|
20450
|
-
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_mobx_react8.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { className: "df fdc
|
|
20969
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_mobx_react8.Observer, { children: () => /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("div", { className: "df fdc g_3", ...tid, children: [
|
|
20451
20970
|
filteredRows.map((rowState, index) => /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(ListFieldRowInputs, { rowState, rowNumber: index + 1, listFieldConfig, formState, listFieldKey }, `listFieldRowInputs-${listFieldKey}-${index}`)),
|
|
20452
20971
|
/* @__PURE__ */ (0, import_jsx_runtime126.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Button, { icon: "plus", label: `Add ${listFieldConfig.name}`, onClick: () => onNew(listFieldObjectState), variant: "secondary", disabled: !listIsValid }) })
|
|
20453
20972
|
] }) });
|
|
@@ -20668,14 +21187,14 @@ function SelectCardShell(props) {
|
|
|
20668
21187
|
...view === "grid" ? layout === "horizontal" ? {
|
|
20669
21188
|
flexDirection: "fdr",
|
|
20670
21189
|
alignItems: "aic",
|
|
20671
|
-
gap: "
|
|
21190
|
+
gap: "g_2",
|
|
20672
21191
|
paddingTop: "pt2",
|
|
20673
21192
|
paddingBottom: "pb2",
|
|
20674
21193
|
paddingRight: "pr2",
|
|
20675
21194
|
paddingLeft: "pl2"
|
|
20676
21195
|
} : {
|
|
20677
21196
|
alignItems: "aic",
|
|
20678
|
-
gap: "
|
|
21197
|
+
gap: "g_1",
|
|
20679
21198
|
paddingLeft: "pl2",
|
|
20680
21199
|
paddingRight: "pr2",
|
|
20681
21200
|
paddingTop: "pt3",
|
|
@@ -20730,9 +21249,9 @@ function SelectCardShell(props) {
|
|
|
20730
21249
|
children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("label", { ...(0, import_runtime92.trussProps)({
|
|
20731
21250
|
...styles,
|
|
20732
21251
|
...{
|
|
20733
|
-
cursor: "
|
|
21252
|
+
cursor: "cur_pointer",
|
|
20734
21253
|
...isDisabled ? {
|
|
20735
|
-
cursor: "
|
|
21254
|
+
cursor: "cur_not_allowed"
|
|
20736
21255
|
} : {}
|
|
20737
21256
|
}
|
|
20738
21257
|
}), ...(0, import_react_aria41.mergeProps)(hoverProps, focusProps, pressProps), ...tid, children })
|
|
@@ -20763,7 +21282,7 @@ function GridSelectCard(props) {
|
|
|
20763
21282
|
image ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("img", { src: image, alt: "", ...(0, import_runtime93.trussProps)({
|
|
20764
21283
|
height: "h_100px",
|
|
20765
21284
|
width: "w_100px",
|
|
20766
|
-
objectFit: "
|
|
21285
|
+
objectFit: "obf_contain",
|
|
20767
21286
|
flexShrink: "fs0",
|
|
20768
21287
|
...isDisabled ? {
|
|
20769
21288
|
opacity: "o50"
|
|
@@ -20853,7 +21372,7 @@ var radioDefault = {
|
|
|
20853
21372
|
}
|
|
20854
21373
|
};
|
|
20855
21374
|
var radioUnchecked = {
|
|
20856
|
-
cursor: "
|
|
21375
|
+
cursor: "cur_pointer",
|
|
20857
21376
|
borderColor: ["bc_var", {
|
|
20858
21377
|
"--borderColor": "var(--b-field-border-default)"
|
|
20859
21378
|
}]
|
|
@@ -20863,7 +21382,7 @@ var radioChecked = {
|
|
|
20863
21382
|
backgroundColor: "bgc_currentColor",
|
|
20864
21383
|
backgroundSize: "bgs_100_100",
|
|
20865
21384
|
backgroundPosition: "bgp_center",
|
|
20866
|
-
backgroundRepeat: "
|
|
21385
|
+
backgroundRepeat: "bgNoRepeat"
|
|
20867
21386
|
},
|
|
20868
21387
|
...{
|
|
20869
21388
|
backgroundImage: ["backgroundImage_var", {
|
|
@@ -20889,7 +21408,7 @@ var radioHover = {
|
|
|
20889
21408
|
};
|
|
20890
21409
|
var radioDisabled = {
|
|
20891
21410
|
...{
|
|
20892
|
-
cursor: "
|
|
21411
|
+
cursor: "cur_not_allowed",
|
|
20893
21412
|
color: ["color_var", {
|
|
20894
21413
|
"--color": "var(--b-field-bg-disabled)"
|
|
20895
21414
|
}]
|
|
@@ -20898,13 +21417,13 @@ var radioDisabled = {
|
|
|
20898
21417
|
backgroundColor: "bgc_currentColor",
|
|
20899
21418
|
backgroundSize: "bgs_100_100",
|
|
20900
21419
|
backgroundPosition: "bgp_center",
|
|
20901
|
-
backgroundRepeat: "
|
|
21420
|
+
backgroundRepeat: "bgNoRepeat"
|
|
20902
21421
|
}
|
|
20903
21422
|
};
|
|
20904
21423
|
var radioDisabledSelected = {
|
|
20905
21424
|
...radioChecked,
|
|
20906
21425
|
...{
|
|
20907
|
-
cursor: "
|
|
21426
|
+
cursor: "cur_not_allowed",
|
|
20908
21427
|
color: ["color_var", {
|
|
20909
21428
|
"--color": "var(--b-choice-disabled)"
|
|
20910
21429
|
}]
|
|
@@ -20967,7 +21486,7 @@ function ListSelectCard(props) {
|
|
|
20967
21486
|
} = props;
|
|
20968
21487
|
const tid = useTestIds(others, defaultTestId(label));
|
|
20969
21488
|
return /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(SelectCardShell, { label, selected: isSelected, disabled: isDisabled, tooltip, view: "list", __storyState, ...others, children: [
|
|
20970
|
-
/* @__PURE__ */ (0, import_jsx_runtime132.jsxs)("div", { className: "df aic
|
|
21489
|
+
/* @__PURE__ */ (0, import_jsx_runtime132.jsxs)("div", { className: "df aic g_1", children: [
|
|
20971
21490
|
inputProps.type === "checkbox" ? /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(import_jsx_runtime132.Fragment, { children: [
|
|
20972
21491
|
/* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_react_aria44.VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("input", { ...inputProps, ...tid.value }) }),
|
|
20973
21492
|
/* @__PURE__ */ (0, import_jsx_runtime132.jsx)(StyledCheckbox, { isDisabled, isSelected })
|
|
@@ -21077,7 +21596,7 @@ function getSelectCardOptionsCss({
|
|
|
21077
21596
|
if (view === "list") return {
|
|
21078
21597
|
display: "df",
|
|
21079
21598
|
flexDirection: "fdc",
|
|
21080
|
-
gap: "
|
|
21599
|
+
gap: "g_2",
|
|
21081
21600
|
width: "w100"
|
|
21082
21601
|
};
|
|
21083
21602
|
const cardWidth = layout === "horizontal" ? hasImage ? 360 : 240 : hasImage || hasDescription ? 192 : 142;
|
|
@@ -21086,7 +21605,7 @@ function getSelectCardOptionsCss({
|
|
|
21086
21605
|
gridTemplateColumns: ["gtc_var", {
|
|
21087
21606
|
"--gridTemplateColumns": (0, import_runtime97.maybeCssVar)(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
|
|
21088
21607
|
}],
|
|
21089
|
-
gap: "
|
|
21608
|
+
gap: "g_2"
|
|
21090
21609
|
};
|
|
21091
21610
|
}
|
|
21092
21611
|
|
|
@@ -21180,13 +21699,13 @@ function SelectedOptionPill(props) {
|
|
|
21180
21699
|
disabled = false
|
|
21181
21700
|
} = props;
|
|
21182
21701
|
const tid = useTestIds(props, "selectedOptionPill");
|
|
21183
|
-
return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { className: "df fdc
|
|
21702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { className: "df fdc g_1 w100", ...tid, children: [
|
|
21184
21703
|
/* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { ...(0, import_runtime99.trussProps)({
|
|
21185
21704
|
// Setting border-radius to 999px to make it a pill shape.
|
|
21186
21705
|
...{
|
|
21187
21706
|
display: "df",
|
|
21188
21707
|
alignItems: "aic",
|
|
21189
|
-
gap: "
|
|
21708
|
+
gap: "g_2",
|
|
21190
21709
|
width: "w100",
|
|
21191
21710
|
paddingLeft: "pl_20px",
|
|
21192
21711
|
paddingRight: "pr2",
|
|
@@ -21224,7 +21743,7 @@ function SelectedOptionPillList(props) {
|
|
|
21224
21743
|
} = props;
|
|
21225
21744
|
const tid = useTestIds(props, "selectedOptionPillList");
|
|
21226
21745
|
if (options.length === 0) return null;
|
|
21227
|
-
return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { className: "df fdc
|
|
21746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { className: "df fdc g_2 w100", ...tid, children: options.map(({
|
|
21228
21747
|
id,
|
|
21229
21748
|
...pill
|
|
21230
21749
|
}) => /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(SelectedOptionPill, { ...pill, ...tid.pill }, id)) });
|
|
@@ -21268,7 +21787,7 @@ function MultiSelectField(props) {
|
|
|
21268
21787
|
}, [withPillList, options, values, autoSort, isDisabled]);
|
|
21269
21788
|
const field = /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(ComboBoxBase, { multiselect: true, hideChips: withPillList || hideChips, getOptionLabel, getOptionValue, getOptionMenuLabel, values, onSelect, options, autoSort, disabled, ...otherProps });
|
|
21270
21789
|
if (!withPillList) return field;
|
|
21271
|
-
return /* @__PURE__ */ (0, import_jsx_runtime138.jsxs)("div", { className: "df fdc
|
|
21790
|
+
return /* @__PURE__ */ (0, import_jsx_runtime138.jsxs)("div", { className: "df fdc g_2 w100", children: [
|
|
21272
21791
|
field,
|
|
21273
21792
|
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(SelectedOptionPillList, { options: pillOptions })
|
|
21274
21793
|
] });
|
|
@@ -21614,11 +22133,11 @@ function RadioGroupField(props) {
|
|
|
21614
22133
|
/* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { ...(0, import_runtime100.trussProps)({
|
|
21615
22134
|
display: "df",
|
|
21616
22135
|
flexDirection: "fdc",
|
|
21617
|
-
gap: "
|
|
22136
|
+
gap: "g_1",
|
|
21618
22137
|
alignItems: "aifs",
|
|
21619
22138
|
...labelStyle === "left" ? {
|
|
21620
22139
|
flexDirection: "fdr",
|
|
21621
|
-
gap: "
|
|
22140
|
+
gap: "g_2",
|
|
21622
22141
|
justifyContent: "jcsb"
|
|
21623
22142
|
} : {}
|
|
21624
22143
|
}), ...tid, children: [
|
|
@@ -21629,10 +22148,10 @@ function RadioGroupField(props) {
|
|
|
21629
22148
|
...layout === "horizontal" ? {
|
|
21630
22149
|
flexDirection: "fdr",
|
|
21631
22150
|
flexWrap: "fww",
|
|
21632
|
-
gap: "
|
|
22151
|
+
gap: "g_3"
|
|
21633
22152
|
} : {
|
|
21634
22153
|
flexDirection: "fdc",
|
|
21635
|
-
gap: "
|
|
22154
|
+
gap: "g_1"
|
|
21636
22155
|
}
|
|
21637
22156
|
}), children: options.map((option) => {
|
|
21638
22157
|
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(import_react98.Fragment, { children: maybeTooltip({
|
|
@@ -21684,7 +22203,7 @@ function Radio(props) {
|
|
|
21684
22203
|
});
|
|
21685
22204
|
return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("label", { ...(0, import_runtime100.trussProps)({
|
|
21686
22205
|
display: "df",
|
|
21687
|
-
cursor: "
|
|
22206
|
+
cursor: "cur_pointer",
|
|
21688
22207
|
...disabled ? {
|
|
21689
22208
|
cursor: "cur_initial"
|
|
21690
22209
|
} : {}
|
|
@@ -22254,7 +22773,7 @@ function Switch(props) {
|
|
|
22254
22773
|
return /* @__PURE__ */ (0, import_jsx_runtime151.jsxs)("label", { ...hoverProps, ...(0, import_runtime103.trussProps)({
|
|
22255
22774
|
...{
|
|
22256
22775
|
position: "relative",
|
|
22257
|
-
cursor: "
|
|
22776
|
+
cursor: "cur_pointer",
|
|
22258
22777
|
display: "df",
|
|
22259
22778
|
width: "wmaxc",
|
|
22260
22779
|
userSelect: "usn"
|
|
@@ -22268,12 +22787,12 @@ function Switch(props) {
|
|
|
22268
22787
|
justifyContent: "jcsb"
|
|
22269
22788
|
},
|
|
22270
22789
|
...labelStyle === "inline" && {
|
|
22271
|
-
gap: "
|
|
22790
|
+
gap: "g_2",
|
|
22272
22791
|
alignItems: "aic"
|
|
22273
22792
|
},
|
|
22274
22793
|
...labelStyle === "filter" && {
|
|
22275
22794
|
justifyContent: "jcsb",
|
|
22276
|
-
gap: "
|
|
22795
|
+
gap: "g_1",
|
|
22277
22796
|
alignItems: "aic",
|
|
22278
22797
|
width: "wa",
|
|
22279
22798
|
fontWeight: "fw4",
|
|
@@ -22285,7 +22804,7 @@ function Switch(props) {
|
|
|
22285
22804
|
alignItems: "aic"
|
|
22286
22805
|
},
|
|
22287
22806
|
...isDisabled && {
|
|
22288
|
-
cursor: "
|
|
22807
|
+
cursor: "cur_not_allowed",
|
|
22289
22808
|
color: ["color_var", {
|
|
22290
22809
|
"--color": "var(--b-text-disabled)"
|
|
22291
22810
|
}]
|
|
@@ -22697,7 +23216,7 @@ function ToggleChipGroup(props) {
|
|
|
22697
23216
|
flexDirection: "fdc",
|
|
22698
23217
|
...labelStyle === "left" ? {
|
|
22699
23218
|
flexDirection: "fdr",
|
|
22700
|
-
gap: "
|
|
23219
|
+
gap: "g_2",
|
|
22701
23220
|
maxWidth: "maxw100",
|
|
22702
23221
|
justifyContent: "jcsb"
|
|
22703
23222
|
} : {}
|
|
@@ -22705,7 +23224,7 @@ function ToggleChipGroup(props) {
|
|
|
22705
23224
|
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)(Label, { label, ...labelProps, hidden: labelStyle === "hidden", inline: labelStyle !== "above", suffix: labelSuffix }),
|
|
22706
23225
|
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime104.trussProps)({
|
|
22707
23226
|
display: "df",
|
|
22708
|
-
gap: "
|
|
23227
|
+
gap: "g_1",
|
|
22709
23228
|
flexWrap: "fww",
|
|
22710
23229
|
...labelStyle === "left" ? {
|
|
22711
23230
|
width: ["w_var", {
|
|
@@ -22758,7 +23277,7 @@ function ToggleChip2(props) {
|
|
|
22758
23277
|
} : {}
|
|
22759
23278
|
} : isDisabled ? {
|
|
22760
23279
|
backgroundColor: "bgGray200",
|
|
22761
|
-
cursor: "
|
|
23280
|
+
cursor: "cur_not_allowed",
|
|
22762
23281
|
color: "gray600"
|
|
22763
23282
|
} : !groupState.isReadOnly ? {
|
|
22764
23283
|
backgroundColor: "bgGray200 h_bgGray300"
|
|
@@ -22772,7 +23291,7 @@ function ToggleChip2(props) {
|
|
|
22772
23291
|
...{
|
|
22773
23292
|
position: "relative",
|
|
22774
23293
|
display: "dif",
|
|
22775
|
-
gap: "
|
|
23294
|
+
gap: "g_1",
|
|
22776
23295
|
alignItems: "aic",
|
|
22777
23296
|
borderRadius: "br16",
|
|
22778
23297
|
fontWeight: "fw4",
|
|
@@ -22780,7 +23299,7 @@ function ToggleChip2(props) {
|
|
|
22780
23299
|
lineHeight: "lh_20px",
|
|
22781
23300
|
paddingLeft: "pl1",
|
|
22782
23301
|
paddingRight: "pr1",
|
|
22783
|
-
cursor: "
|
|
23302
|
+
cursor: "cur_pointer",
|
|
22784
23303
|
paddingTop: "pt_4px",
|
|
22785
23304
|
paddingBottom: "pb_4px"
|
|
22786
23305
|
},
|
|
@@ -22943,7 +23462,7 @@ function FieldGroup(props) {
|
|
|
22943
23462
|
}).join(" ");
|
|
22944
23463
|
return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ...(0, import_runtime105.trussProps)({
|
|
22945
23464
|
display: "dg",
|
|
22946
|
-
gap: "
|
|
23465
|
+
gap: "g_2",
|
|
22947
23466
|
gridTemplateColumns: ["gtc_var", {
|
|
22948
23467
|
"--gridTemplateColumns": (0, import_runtime105.maybeCssVar)(gtc)
|
|
22949
23468
|
}]
|
|
@@ -23008,7 +23527,7 @@ function FormRow({
|
|
|
23008
23527
|
}, [row, formState]);
|
|
23009
23528
|
const isLoading = useComputed(() => formState.loading, [formState]);
|
|
23010
23529
|
const itemFlexBasis = 100 / componentsWithConfig.length - 3;
|
|
23011
|
-
return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { className: "df fww aic
|
|
23530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { className: "df fww aic g_2", ...tid, children: componentsWithConfig.map(({
|
|
23012
23531
|
component,
|
|
23013
23532
|
key,
|
|
23014
23533
|
minWidth
|
|
@@ -23175,7 +23694,7 @@ function RightSidebar({
|
|
|
23175
23694
|
const [selectedIcon, setSelectedIcon] = (0, import_react110.useState)(void 0);
|
|
23176
23695
|
const tid = useTestIds({}, "rightSidebar");
|
|
23177
23696
|
return /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(import_jsx_runtime163.Fragment, { children: [
|
|
23178
|
-
/* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { className: "df jcfe absolute
|
|
23697
|
+
/* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { className: "df jcfe absolute r_0 pr3", children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(import_framer_motion2.AnimatePresence, { children: !selectedIcon && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(import_framer_motion2.motion.div, { className: "df fdc g_2 z1", initial: {
|
|
23179
23698
|
x: "100%",
|
|
23180
23699
|
opacity: 0
|
|
23181
23700
|
}, animate: {
|
|
@@ -23237,7 +23756,7 @@ function RightSidebar({
|
|
|
23237
23756
|
}]
|
|
23238
23757
|
}) })
|
|
23239
23758
|
] }),
|
|
23240
|
-
/* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { className: "df aic jcfe
|
|
23759
|
+
/* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { className: "df aic jcfe g_2 mb3", children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(IconButtonList, { content: content2, selectedIcon, onIconClick: setSelectedIcon }) })
|
|
23241
23760
|
] }),
|
|
23242
23761
|
selectedIcon && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { ...tid.content, className: "pl3", children: content2.find((sidebar) => sidebar.icon === selectedIcon)?.render() })
|
|
23243
23762
|
] }) }, "rightSidebar") })
|
|
@@ -23352,9 +23871,9 @@ function FormPageLayoutComponent(props) {
|
|
|
23352
23871
|
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { ...(0, import_runtime109.trussProps)({
|
|
23353
23872
|
position: "fixed",
|
|
23354
23873
|
top: "top0",
|
|
23355
|
-
bottom: "
|
|
23356
|
-
left: "
|
|
23357
|
-
right: "
|
|
23874
|
+
bottom: "bot_0",
|
|
23875
|
+
left: "l_0",
|
|
23876
|
+
right: "r_0",
|
|
23358
23877
|
zIndex: ["z_var", {
|
|
23359
23878
|
"--zIndex": (0, import_runtime109.maybeCssVar)(zIndices.pageOverlay)
|
|
23360
23879
|
}],
|
|
@@ -23429,7 +23948,7 @@ function PageHeader(props) {
|
|
|
23429
23948
|
breadCrumb && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
|
|
23430
23949
|
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)("h1", { className: "fw6 fz_24px lh_32px", ...tids.pageTitle, children: pageTitle })
|
|
23431
23950
|
] }),
|
|
23432
|
-
/* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("div", { className: "df
|
|
23951
|
+
/* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("div", { className: "df g_1", children: [
|
|
23433
23952
|
tertiaryAction && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Button, { label: tertiaryAction.label, onClick: tertiaryAction.onClick, variant: "tertiary", disabled: tertiaryAction.disabled, tooltip: tertiaryAction.tooltip }),
|
|
23434
23953
|
cancelAction && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Button, { label: cancelAction.label, onClick: cancelAction.onClick, variant: "quaternary", disabled: cancelAction.disabled, tooltip: cancelAction.tooltip }),
|
|
23435
23954
|
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)(SubmitButton, { form: formState, ...submitAction })
|
|
@@ -23504,7 +24023,7 @@ function LeftNav(props) {
|
|
|
23504
24023
|
paddingRight: "pr3",
|
|
23505
24024
|
display: "df",
|
|
23506
24025
|
flexDirection: "fdc",
|
|
23507
|
-
gap: "
|
|
24026
|
+
gap: "g_1"
|
|
23508
24027
|
}), ...tids.nav, children: sectionWithTitles.map((sectionWithRef) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(SectionNavLink, { sectionWithRef, activeSection, ...tids }, `nav-${sectionWithRef.sectionKey}`)) });
|
|
23509
24028
|
}
|
|
23510
24029
|
var activeStyles2 = {
|
|
@@ -24089,9 +24608,9 @@ function DocumentScrollRightPane({
|
|
|
24089
24608
|
...tid,
|
|
24090
24609
|
...(0, import_runtime111.mergeProps)(void 0, paneStyle, mobile ? {
|
|
24091
24610
|
position: "fixed",
|
|
24092
|
-
right: "
|
|
24093
|
-
bottom: "
|
|
24094
|
-
left: "
|
|
24611
|
+
right: "r_0",
|
|
24612
|
+
bottom: "bot_0",
|
|
24613
|
+
left: "l_0",
|
|
24095
24614
|
overflowY: "oya",
|
|
24096
24615
|
backgroundColor: ["bgColor_var", {
|
|
24097
24616
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -24101,7 +24620,7 @@ function DocumentScrollRightPane({
|
|
|
24101
24620
|
}]
|
|
24102
24621
|
} : {
|
|
24103
24622
|
position: "fixed",
|
|
24104
|
-
right: "
|
|
24623
|
+
right: "r_0",
|
|
24105
24624
|
overflowY: "oya",
|
|
24106
24625
|
width: ["w_var", {
|
|
24107
24626
|
"--width": (0, import_runtime111.maybeCssVar)(__maybeInc20(paneWidthCss))
|
|
@@ -24351,7 +24870,7 @@ function EditColumnsButton(props) {
|
|
|
24351
24870
|
maxHeight: "maxh_512px",
|
|
24352
24871
|
boxShadow: "bshBasic h_bshHover"
|
|
24353
24872
|
}), children: [
|
|
24354
|
-
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { className: "dg gtc_1fr_auto
|
|
24873
|
+
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { className: "dg gtc_1fr_auto g_2 pt2 pb2 pr2 pl2 fg1 mh0 oya", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_react125.Fragment, { children: [
|
|
24355
24874
|
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { className: "fw4 fz_14px lh_20px wsnw oh to_ellipsis pr1", children: option.label }),
|
|
24356
24875
|
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)(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}`] })
|
|
24357
24876
|
] }, option.value)) }),
|
|
@@ -24437,7 +24956,7 @@ function FilterPanelOpen({
|
|
|
24437
24956
|
...{
|
|
24438
24957
|
display: "df",
|
|
24439
24958
|
alignItems: "aic",
|
|
24440
|
-
gap: "
|
|
24959
|
+
gap: "g_1",
|
|
24441
24960
|
scrollbarWidth: "sbwn"
|
|
24442
24961
|
},
|
|
24443
24962
|
...{
|
|
@@ -24467,7 +24986,7 @@ function FilterPanelClosed({
|
|
|
24467
24986
|
if (chips.length === 0) return null;
|
|
24468
24987
|
return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { ...(0, import_runtime115.trussProps)({
|
|
24469
24988
|
display: "df",
|
|
24470
|
-
gap: "
|
|
24989
|
+
gap: "g_1",
|
|
24471
24990
|
alignItems: "aic",
|
|
24472
24991
|
minWidth: "mw0",
|
|
24473
24992
|
flexWrap: "fww",
|
|
@@ -24573,7 +25092,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
24573
25092
|
return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime116.trussProps)({
|
|
24574
25093
|
display: "df",
|
|
24575
25094
|
flexDirection: "fdc",
|
|
24576
|
-
gap: "
|
|
25095
|
+
gap: "g_1",
|
|
24577
25096
|
paddingBottom: "pb2",
|
|
24578
25097
|
...view === "card" ? {
|
|
24579
25098
|
paddingBottom: "pb3"
|
|
@@ -24582,7 +25101,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
24582
25101
|
/* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime116.trussProps)({
|
|
24583
25102
|
...{
|
|
24584
25103
|
display: "df",
|
|
24585
|
-
gap: "
|
|
25104
|
+
gap: "g_1",
|
|
24586
25105
|
justifyContent: "jcsb",
|
|
24587
25106
|
paddingTop: "pt3"
|
|
24588
25107
|
},
|
|
@@ -24593,7 +25112,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
24593
25112
|
sm && hasSearch && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(IconButton, { variant: "outline", icon: searchValue ? "searchBadged" : "search", label: "Search", onClick: () => setShowSearch(!showSearch), active: showSearch, ...testId.searchButton }),
|
|
24594
25113
|
sm && hasFilterControls && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(IconButton, { variant: "outline", icon: activeFilterCount > 0 ? "filterBadged" : "filter", label: "Filter", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterSmallButton }),
|
|
24595
25114
|
showInlineControl && (groupBy ? /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(GroupByField, { ...groupBy }) : filter && setFilter && buildFilterControls(filterImpls, filter, setFilter, filterTid)),
|
|
24596
|
-
!sm && hasFilterControls && !showInlineControl && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Button, { label: "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { className: "df aic
|
|
25115
|
+
!sm && hasFilterControls && !showInlineControl && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Button, { label: "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { className: "df aic g_1", children: [
|
|
24597
25116
|
activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(CountBadge, { count: activeFilterCount }),
|
|
24598
25117
|
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Icon, { icon: showFilters ? "chevronUp" : "chevronDown" })
|
|
24599
25118
|
] }), variant: "secondaryBlack", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterButton })
|
|
@@ -24614,25 +25133,19 @@ var _GridTableLayoutActions = (0, import_react126.memo)(GridTableLayoutActionsCo
|
|
|
24614
25133
|
var import_react127 = require("react");
|
|
24615
25134
|
var import_jsx_runtime176 = require("react/jsx-runtime");
|
|
24616
25135
|
function QueryTable(props) {
|
|
24617
|
-
const {
|
|
24618
|
-
|
|
24619
|
-
|
|
24620
|
-
createRows,
|
|
24621
|
-
columns,
|
|
24622
|
-
keepHeaderWhenLoading,
|
|
24623
|
-
emptyState: emptyStateProp,
|
|
24624
|
-
...others
|
|
24625
|
-
} = props;
|
|
24626
|
-
const data = query.loading || query.error ? void 0 : query.data;
|
|
24627
|
-
const rows = (0, import_react127.useMemo)(() => createRows(data), [createRows, data]);
|
|
25136
|
+
const { emptyFallback, query, createRows, columns, emptyState: emptyStateProp, ...others } = props;
|
|
25137
|
+
const displayData = query.error ? void 0 : query.data ?? query.previousData;
|
|
25138
|
+
const rows = (0, import_react127.useMemo)(() => createRows(displayData), [createRows, displayData]);
|
|
24628
25139
|
const fallbackMessage = query.loading ? "Loading\u2026" : query.error ? `Error: ${query.error.message}` : void 0;
|
|
24629
25140
|
const emptyState = (0, import_react127.useMemo)(() => {
|
|
24630
25141
|
if (query.loading || query.error) return void 0;
|
|
24631
25142
|
if (emptyStateProp) return emptyStateProp;
|
|
24632
25143
|
return { title: emptyFallback };
|
|
24633
25144
|
}, [emptyFallback, emptyStateProp, query.error, query.loading]);
|
|
24634
|
-
|
|
24635
|
-
|
|
25145
|
+
if (query.loading && displayData === void 0) {
|
|
25146
|
+
return /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(LoadingTable, { columns: columns.length }) });
|
|
25147
|
+
}
|
|
25148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(GridTable, { ...{ rows, columns, fallbackMessage, emptyState, ...others }, loading: query.loading });
|
|
24636
25149
|
}
|
|
24637
25150
|
function LoadingTable(props) {
|
|
24638
25151
|
const { columns } = props;
|
|
@@ -24727,7 +25240,7 @@ function GridTableLayoutComponent(props) {
|
|
|
24727
25240
|
const emptyState = (0, import_react129.useMemo)(() => composeEmptyState(tableProps, layoutState, layoutEmptyFallback, clearFilters), [layoutEmptyFallback, layoutState, tableProps, clearFilters]);
|
|
24728
25241
|
const tableActionsEl = /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(_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 });
|
|
24729
25242
|
const cardAs = view === "card" ? "card" : void 0;
|
|
24730
|
-
const tableStyle = resolveGridTableLayoutStyle(tableProps.style, inDocumentScrollLayout);
|
|
25243
|
+
const tableStyle = (0, import_react129.useMemo)(() => resolveGridTableLayoutStyle(tableProps.style, inDocumentScrollLayout), [tableProps.style, inDocumentScrollLayout]);
|
|
24731
25244
|
const tableBody = /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_jsx_runtime177.Fragment, { children: isGridTableProps(tableProps) ? /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(GridTable, { ...tableProps, ...cardAs ? {
|
|
24732
25245
|
as: cardAs
|
|
24733
25246
|
} : {}, api, emptyState, filter: clientSearch, style: tableStyle, stickyHeader: true, disableColumnResizing: false, visibleColumnsStorageKey, columnGutter: inDocumentScrollLayout }) : /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(QueryTable, { ...tableProps, ...cardAs ? {
|
|
@@ -25013,7 +25526,7 @@ function RightPanePanel(props) {
|
|
|
25013
25526
|
display: "df",
|
|
25014
25527
|
alignItems: "aic",
|
|
25015
25528
|
justifyContent: "jcsb",
|
|
25016
|
-
gap: "
|
|
25529
|
+
gap: "g_1",
|
|
25017
25530
|
paddingTop: "pt2",
|
|
25018
25531
|
paddingBottom: "pb2",
|
|
25019
25532
|
paddingRight: "pr2",
|
|
@@ -25062,7 +25575,7 @@ function SidePanel(props) {
|
|
|
25062
25575
|
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("div", { className: "h100 df fdc oh", ...tid, children: [
|
|
25063
25576
|
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)("div", { className: "pt3 pb3 pr3 pl3 fs0", ...tid.header, children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("h2", { className: "fw6 fz_20px lh_28px mt0 mb0", ...tid.title, children: title }) }),
|
|
25064
25577
|
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)("div", { className: "fg1 oya mh0", ...tid.body, children: content2 }),
|
|
25065
|
-
hasFooter && /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("div", { className: "df
|
|
25578
|
+
hasFooter && /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("div", { className: "df g_2 jcfe pt3 pb3 pr3 pl3 fs0", ...tid.footer, children: [
|
|
25066
25579
|
secondaryAction && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Button, { ...secondaryAction, variant: "secondaryBlack" }),
|
|
25067
25580
|
primaryAction && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Button, { ...primaryAction })
|
|
25068
25581
|
] })
|
|
@@ -25115,9 +25628,9 @@ function TableReviewLayout(props) {
|
|
|
25115
25628
|
return /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { ...(0, import_runtime120.trussProps)({
|
|
25116
25629
|
position: "fixed",
|
|
25117
25630
|
top: "top0",
|
|
25118
|
-
bottom: "
|
|
25119
|
-
left: "
|
|
25120
|
-
right: "
|
|
25631
|
+
bottom: "bot_0",
|
|
25632
|
+
left: "l_0",
|
|
25633
|
+
right: "r_0",
|
|
25121
25634
|
zIndex: ["z_var", {
|
|
25122
25635
|
"--zIndex": (0, import_runtime120.maybeCssVar)(zIndices.pageOverlay)
|
|
25123
25636
|
}],
|
|
@@ -25407,28 +25920,28 @@ function ScrollShadows(props) {
|
|
|
25407
25920
|
zIndex: ["z_var", {
|
|
25408
25921
|
"--zIndex": (0, import_runtime125.maybeCssVar)(zIndices.scrollShadow)
|
|
25409
25922
|
}],
|
|
25410
|
-
pointerEvents: "
|
|
25923
|
+
pointerEvents: "pen"
|
|
25411
25924
|
};
|
|
25412
25925
|
const startShadowStyles2 = !horizontal ? {
|
|
25413
25926
|
top: "top0",
|
|
25414
|
-
left: "
|
|
25415
|
-
right: "
|
|
25927
|
+
left: "l_0",
|
|
25928
|
+
right: "r_0",
|
|
25416
25929
|
height: "h_40px"
|
|
25417
25930
|
} : {
|
|
25418
|
-
left: "
|
|
25931
|
+
left: "l_0",
|
|
25419
25932
|
top: "top0",
|
|
25420
|
-
bottom: "
|
|
25933
|
+
bottom: "bot_0",
|
|
25421
25934
|
width: "w_25px"
|
|
25422
25935
|
};
|
|
25423
25936
|
const endShadowStyles2 = !horizontal ? {
|
|
25424
|
-
bottom: "
|
|
25425
|
-
left: "
|
|
25426
|
-
right: "
|
|
25937
|
+
bottom: "bot_0",
|
|
25938
|
+
left: "l_0",
|
|
25939
|
+
right: "r_0",
|
|
25427
25940
|
height: "h_40px"
|
|
25428
25941
|
} : {
|
|
25429
|
-
right: "
|
|
25942
|
+
right: "r_0",
|
|
25430
25943
|
top: "top0",
|
|
25431
|
-
bottom: "
|
|
25944
|
+
bottom: "bot_0",
|
|
25432
25945
|
width: "w_25px"
|
|
25433
25946
|
};
|
|
25434
25947
|
const startGradient = `linear-gradient(${!horizontal ? 180 : 90}deg, ${bgColor} 0%, ${transparentBgColor} 92%);`;
|
|
@@ -25478,8 +25991,8 @@ function ScrollShadows(props) {
|
|
|
25478
25991
|
}],
|
|
25479
25992
|
position: "relative",
|
|
25480
25993
|
overflow: "oh",
|
|
25481
|
-
height: "
|
|
25482
|
-
width: "
|
|
25994
|
+
height: "ha",
|
|
25995
|
+
width: "wa",
|
|
25483
25996
|
...height === void 0 ? {} : {
|
|
25484
25997
|
height
|
|
25485
25998
|
},
|
|
@@ -26052,7 +26565,7 @@ function Stepper(props) {
|
|
|
26052
26565
|
/* @__PURE__ */ (0, import_jsx_runtime196.jsx)("ol", { ...(0, import_runtime130.trussProps)({
|
|
26053
26566
|
padding: "p_0",
|
|
26054
26567
|
margin: "m_0",
|
|
26055
|
-
listStyle: "
|
|
26568
|
+
listStyle: "listNone",
|
|
26056
26569
|
display: "df",
|
|
26057
26570
|
gap: ["gap_var", {
|
|
26058
26571
|
"--gap": `${gap}px`
|
|
@@ -26181,7 +26694,7 @@ function StepButton(props) {
|
|
|
26181
26694
|
color: ["color_var", {
|
|
26182
26695
|
"--color": "var(--b-text-disabled)"
|
|
26183
26696
|
}],
|
|
26184
|
-
cursor: "
|
|
26697
|
+
cursor: "cur_not_allowed",
|
|
26185
26698
|
...state === "error" ? {
|
|
26186
26699
|
color: "red200"
|
|
26187
26700
|
} : {}
|
|
@@ -26262,7 +26775,7 @@ function StepperTab(props) {
|
|
|
26262
26775
|
}), ...tid[defaultTestId(value)], children: [
|
|
26263
26776
|
!collapsed && /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(import_jsx_runtime197.Fragment, { children: [
|
|
26264
26777
|
/* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("span", { className: "dg jic mw0", children: [
|
|
26265
|
-
/* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { className: "fw6 fz_14px lh_20px
|
|
26778
|
+
/* @__PURE__ */ (0, import_jsx_runtime197.jsx)("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 }),
|
|
26266
26779
|
/* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { ...(0, import_runtime131.trussProps)({
|
|
26267
26780
|
gridArea: "ga_1_1",
|
|
26268
26781
|
overflow: "oh",
|
|
@@ -26270,7 +26783,7 @@ function StepperTab(props) {
|
|
|
26270
26783
|
WebkitBoxOrient: "wbo_vertical",
|
|
26271
26784
|
textOverflow: "to_ellipsis",
|
|
26272
26785
|
WebkitLineClamp: "wlc_1",
|
|
26273
|
-
wordBreak: "
|
|
26786
|
+
wordBreak: "wbba",
|
|
26274
26787
|
...active ? {
|
|
26275
26788
|
fontWeight: "fw6",
|
|
26276
26789
|
fontSize: "fz_14px",
|
|
@@ -26310,9 +26823,9 @@ function getIndicatorStyles(active, completed, disabled) {
|
|
|
26310
26823
|
return {
|
|
26311
26824
|
...{
|
|
26312
26825
|
position: "absolute",
|
|
26313
|
-
left: "
|
|
26314
|
-
right: "
|
|
26315
|
-
bottom: "
|
|
26826
|
+
left: "l_0",
|
|
26827
|
+
right: "r_0",
|
|
26828
|
+
bottom: "bot_0",
|
|
26316
26829
|
height: ["h_var", {
|
|
26317
26830
|
"--height": `${active ? activeIndicatorHeightPx : inactiveIndicatorHeightPx}px`
|
|
26318
26831
|
}],
|
|
@@ -26355,7 +26868,7 @@ var stepperTabStyles = {
|
|
|
26355
26868
|
},
|
|
26356
26869
|
focusRingStyles: {
|
|
26357
26870
|
boxShadow: "bshFocus",
|
|
26358
|
-
outline: "
|
|
26871
|
+
outline: "ol_0"
|
|
26359
26872
|
},
|
|
26360
26873
|
collapsedStyles: {
|
|
26361
26874
|
cursor: "cur_default",
|
|
@@ -26367,7 +26880,7 @@ var stepperTabStyles = {
|
|
|
26367
26880
|
color: ["color_var", {
|
|
26368
26881
|
"--color": "var(--b-text-disabled)"
|
|
26369
26882
|
}],
|
|
26370
|
-
cursor: "
|
|
26883
|
+
cursor: "cur_not_allowed"
|
|
26371
26884
|
}
|
|
26372
26885
|
};
|
|
26373
26886
|
|
|
@@ -26392,7 +26905,7 @@ function StepperTabs(props) {
|
|
|
26392
26905
|
return /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("ol", { ...(0, import_runtime132.trussProps)({
|
|
26393
26906
|
padding: "p_0",
|
|
26394
26907
|
margin: "m_0",
|
|
26395
|
-
listStyle: "
|
|
26908
|
+
listStyle: "listNone",
|
|
26396
26909
|
display: "df",
|
|
26397
26910
|
gap: ["gap_var", {
|
|
26398
26911
|
"--gap": `${gapPx}px`
|
|
@@ -26442,9 +26955,9 @@ function SuperDrawerHeader(props) {
|
|
|
26442
26955
|
const currentContent = contentStack.current[contentStack.current.length - 1]?.opts;
|
|
26443
26956
|
const isDetail = currentContent !== firstContent;
|
|
26444
26957
|
const tid = useTestIds({}, "superDrawerHeader");
|
|
26445
|
-
return (0, import_react_dom8.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "df aic jcsb
|
|
26446
|
-
isStructuredProps(props) ? /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "df jcsb aic
|
|
26447
|
-
/* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "fg1 df aic
|
|
26958
|
+
return (0, import_react_dom8.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "df aic jcsb g_3", ...tid, children: [
|
|
26959
|
+
isStructuredProps(props) ? /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "df jcsb aic g_2 fg1", children: [
|
|
26960
|
+
/* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "fg1 df aic g_2", children: [
|
|
26448
26961
|
/* @__PURE__ */ (0, import_jsx_runtime199.jsx)("h1", { className: "fw6 fz_24px lh_32px", children: props.title }),
|
|
26449
26962
|
props.left
|
|
26450
26963
|
] }),
|
|
@@ -26551,7 +27064,7 @@ var SuperDrawerContent = ({
|
|
|
26551
27064
|
display: "df",
|
|
26552
27065
|
alignItems: "aic",
|
|
26553
27066
|
justifyContent: "jcfe"
|
|
26554
|
-
}), children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)("div", { className: "df
|
|
27067
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)("div", { className: "df g_1", children: actions.map((buttonProps, i) => /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(Button, { ...buttonProps }, i)) }) })
|
|
26555
27068
|
] });
|
|
26556
27069
|
};
|
|
26557
27070
|
|
|
@@ -26576,7 +27089,7 @@ function TagGroup(props) {
|
|
|
26576
27089
|
...otherProps
|
|
26577
27090
|
} = props;
|
|
26578
27091
|
const tid = useTestIds(otherProps, "tagGroup");
|
|
26579
|
-
return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)("div", { ...tid, className: "df aic fww
|
|
27092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)("div", { ...tid, className: "df aic fww g_1", children: [
|
|
26580
27093
|
tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(Tag, { ...tag, variant: "secondary" }, tag.text)),
|
|
26581
27094
|
onEdit && /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("span", { className: "ml1 fw4 fz_14px lh_20px", children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(Button, { label: "Edit", variant: "text", onClick: onEdit, ...tid.edit }) })
|
|
26582
27095
|
] });
|
|
@@ -26596,8 +27109,8 @@ function StackBarGraph(props) {
|
|
|
26596
27109
|
} = props;
|
|
26597
27110
|
const tid = useTestIds(props, "stackBarGraph");
|
|
26598
27111
|
const totalCount = segments.reduce((total, segment) => total + Math.max(0, segment.count), 0);
|
|
26599
|
-
return /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)("div", { className: "df fdc
|
|
26600
|
-
/* @__PURE__ */ (0, import_jsx_runtime202.jsxs)("div", { className: "df aic jcsb
|
|
27112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)("div", { className: "df fdc g_2 pt2 pb2 pr2 pl2", ...tid, children: [
|
|
27113
|
+
/* @__PURE__ */ (0, import_jsx_runtime202.jsxs)("div", { className: "df aic jcsb g_2", children: [
|
|
26601
27114
|
/* @__PURE__ */ (0, import_jsx_runtime202.jsx)("span", { className: "fw6 fz_10px lh_14px ttu ls_0_5px", children: title }),
|
|
26602
27115
|
/* @__PURE__ */ (0, import_jsx_runtime202.jsx)("span", { className: "fw4 fz_12px lh_16px wsnw", children: totalLabel })
|
|
26603
27116
|
] }),
|
|
@@ -26610,7 +27123,7 @@ function StackBarGraph(props) {
|
|
|
26610
27123
|
"--backgroundColor": (0, import_runtime135.maybeCssVar)(segment.color)
|
|
26611
27124
|
}]
|
|
26612
27125
|
}) }, segment.label)) }),
|
|
26613
|
-
/* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { className: "df fww aic
|
|
27126
|
+
/* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { className: "df fww aic g_2", ...tid.legend, children: segments.map((segment) => /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)("div", { className: "dif aic g_4px", children: [
|
|
26614
27127
|
/* @__PURE__ */ (0, import_jsx_runtime202.jsx)("span", { ...(0, import_runtime135.trussProps)({
|
|
26615
27128
|
borderRadius: "br100",
|
|
26616
27129
|
width: "w_8px",
|
|
@@ -26667,7 +27180,7 @@ function TableSummary(props) {
|
|
|
26667
27180
|
display: "df",
|
|
26668
27181
|
alignItems: "aic",
|
|
26669
27182
|
justifyContent: "jcsb",
|
|
26670
|
-
gap: "
|
|
27183
|
+
gap: "g_2",
|
|
26671
27184
|
paddingLeft: "pl2",
|
|
26672
27185
|
paddingRight: "pr2",
|
|
26673
27186
|
paddingTop: "pt_12px",
|
|
@@ -26717,13 +27230,13 @@ function MetricButton(props) {
|
|
|
26717
27230
|
// outline0 drops the UA focus outline (avoids a second ring beside our box-shadow).
|
|
26718
27231
|
// relative + z1 paints the focused cell above neighbors so the ring isn't tucked under.
|
|
26719
27232
|
...{
|
|
26720
|
-
outline: "
|
|
27233
|
+
outline: "ol_0",
|
|
26721
27234
|
position: "relative",
|
|
26722
27235
|
display: "df",
|
|
26723
27236
|
flexGrow: "fg1",
|
|
26724
27237
|
alignItems: "aic",
|
|
26725
27238
|
justifyContent: "jcc",
|
|
26726
|
-
gap: "
|
|
27239
|
+
gap: "g_1",
|
|
26727
27240
|
paddingTop: "pt2",
|
|
26728
27241
|
paddingBottom: "pb2",
|
|
26729
27242
|
paddingRight: "pr2",
|
|
@@ -26735,7 +27248,7 @@ function MetricButton(props) {
|
|
|
26735
27248
|
color: ["color_var", {
|
|
26736
27249
|
"--color": "var(--b-on-surface)"
|
|
26737
27250
|
}],
|
|
26738
|
-
cursor: "
|
|
27251
|
+
cursor: "cur_pointer"
|
|
26739
27252
|
},
|
|
26740
27253
|
// Desktop: right divider; small screens: bottom divider (and clear the right edge).
|
|
26741
27254
|
...{
|
|
@@ -27074,7 +27587,7 @@ function DnDGridItemHandle(props) {
|
|
|
27074
27587
|
borderColor: "bcTransparent",
|
|
27075
27588
|
borderStyle: "bss",
|
|
27076
27589
|
backgroundColor: "bgTransparent",
|
|
27077
|
-
outline: "
|
|
27590
|
+
outline: "ol_0",
|
|
27078
27591
|
display: "dif",
|
|
27079
27592
|
alignItems: "aic",
|
|
27080
27593
|
justifyContent: "jcc",
|
|
@@ -28024,9 +28537,9 @@ function NavbarMobileDrawer({
|
|
|
28024
28537
|
return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(import_jsx_runtime221.Fragment, { children: [
|
|
28025
28538
|
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(import_framer_motion7.motion.div, { ...(0, import_runtime143.mergeProps)(void 0, overlayTopStyle, {
|
|
28026
28539
|
position: "fixed",
|
|
28027
|
-
right: "
|
|
28028
|
-
bottom: "
|
|
28029
|
-
left: "
|
|
28540
|
+
right: "r_0",
|
|
28541
|
+
bottom: "bot_0",
|
|
28542
|
+
left: "l_0",
|
|
28030
28543
|
zIndex: ["z_var", {
|
|
28031
28544
|
"--zIndex": (0, import_runtime143.maybeCssVar)(zIndices.navbarMobileMenuScrim)
|
|
28032
28545
|
}],
|
|
@@ -28045,8 +28558,8 @@ function NavbarMobileDrawer({
|
|
|
28045
28558
|
}, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
|
|
28046
28559
|
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(import_react_aria64.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(import_framer_motion7.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime143.mergeProps)(void 0, overlayTopStyle, {
|
|
28047
28560
|
position: "fixed",
|
|
28048
|
-
bottom: "
|
|
28049
|
-
left: "
|
|
28561
|
+
bottom: "bot_0",
|
|
28562
|
+
left: "l_0",
|
|
28050
28563
|
display: "df",
|
|
28051
28564
|
flexDirection: "fdc",
|
|
28052
28565
|
flexShrink: "fs0",
|
|
@@ -28094,9 +28607,9 @@ function NavbarMobileDrawer({
|
|
|
28094
28607
|
...{
|
|
28095
28608
|
position: "absolute",
|
|
28096
28609
|
top: "top0",
|
|
28097
|
-
bottom: "
|
|
28098
|
-
left: "
|
|
28099
|
-
right: "
|
|
28610
|
+
bottom: "bot_0",
|
|
28611
|
+
left: "l_0",
|
|
28612
|
+
right: "r_0",
|
|
28100
28613
|
overflowY: "oya",
|
|
28101
28614
|
display: "df",
|
|
28102
28615
|
flexDirection: "fdc",
|
|
@@ -28193,12 +28706,12 @@ function Navbar(props) {
|
|
|
28193
28706
|
whiteSpace: "wsnw",
|
|
28194
28707
|
paddingTop: "pt1",
|
|
28195
28708
|
paddingBottom: "pb1",
|
|
28196
|
-
gap: "
|
|
28709
|
+
gap: "g_2"
|
|
28197
28710
|
},
|
|
28198
28711
|
...headerContentPaddingX(showMobile)
|
|
28199
28712
|
}), ...tid, children: [
|
|
28200
|
-
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic
|
|
28201
|
-
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic fs0
|
|
28713
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic g_3 fg1 mw0", children: [
|
|
28714
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic fs0 g_2", children: [
|
|
28202
28715
|
showMobile && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(NavbarMobileMenu, { items, ...tid }),
|
|
28203
28716
|
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { ...(0, import_runtime144.trussProps)({
|
|
28204
28717
|
flexShrink: "fs0",
|
|
@@ -28216,12 +28729,12 @@ function Navbar(props) {
|
|
|
28216
28729
|
minWidth: "mw0",
|
|
28217
28730
|
overflow: "oh",
|
|
28218
28731
|
...overflows ? {
|
|
28219
|
-
visibility: "
|
|
28732
|
+
visibility: "vh"
|
|
28220
28733
|
} : {}
|
|
28221
|
-
}), ...tid.items, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { ref: contentRef, className: "df aic
|
|
28734
|
+
}), ...tid.items, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { ref: contentRef, className: "df aic g_2 wmaxc", children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(AppNavItems, { variant: "global", items, ...tid }) }) })
|
|
28222
28735
|
] }),
|
|
28223
|
-
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic
|
|
28224
|
-
rightSlot && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { className: "df aic
|
|
28736
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic g_1", children: [
|
|
28737
|
+
rightSlot && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { className: "df aic g_1", ...tid.rightSlot, children: rightSlot }),
|
|
28225
28738
|
user && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(NavbarUserMenu, { user, ...tid.userMenu })
|
|
28226
28739
|
] })
|
|
28227
28740
|
] }) });
|
|
@@ -28422,7 +28935,7 @@ function Tabs(props) {
|
|
|
28422
28935
|
alignItems: "aic",
|
|
28423
28936
|
overflow: "oa",
|
|
28424
28937
|
whiteSpace: "wsnw",
|
|
28425
|
-
gap: "
|
|
28938
|
+
gap: "g_1"
|
|
28426
28939
|
},
|
|
28427
28940
|
...includeBottomBorder ? {
|
|
28428
28941
|
...{
|
|
@@ -28434,11 +28947,11 @@ function Tabs(props) {
|
|
|
28434
28947
|
}
|
|
28435
28948
|
} : {}
|
|
28436
28949
|
}), children: [
|
|
28437
|
-
!hideTabs(props) && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { ref, className: "dif
|
|
28950
|
+
!hideTabs(props) && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { ref, className: "dif g_1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
|
|
28438
28951
|
const uniqueValue = uniqueTabValue(tab);
|
|
28439
28952
|
return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
|
|
28440
28953
|
}) }),
|
|
28441
|
-
right && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { className: "mla df aic
|
|
28954
|
+
right && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { className: "mla df aic g_1 pb1", children: right })
|
|
28442
28955
|
] });
|
|
28443
28956
|
}
|
|
28444
28957
|
function TabImpl(props) {
|
|
@@ -28544,12 +29057,12 @@ function getTabStyles() {
|
|
|
28544
29057
|
}],
|
|
28545
29058
|
paddingLeft: "pl1",
|
|
28546
29059
|
paddingRight: "pr1",
|
|
28547
|
-
outline: "
|
|
29060
|
+
outline: "ol_0",
|
|
28548
29061
|
color: ["color_var", {
|
|
28549
29062
|
"--color": "var(--b-on-surface-muted)"
|
|
28550
29063
|
}],
|
|
28551
29064
|
width: "wfc",
|
|
28552
|
-
cursor: "
|
|
29065
|
+
cursor: "cur_pointer",
|
|
28553
29066
|
fontWeight: "fw4",
|
|
28554
29067
|
fontSize: "fz_14px",
|
|
28555
29068
|
lineHeight: "lh_20px"
|
|
@@ -28573,7 +29086,7 @@ function getTabStyles() {
|
|
|
28573
29086
|
color: ["color_var", {
|
|
28574
29087
|
"--color": "var(--b-text-disabled)"
|
|
28575
29088
|
}],
|
|
28576
|
-
cursor: "
|
|
29089
|
+
cursor: "cur_not_allowed"
|
|
28577
29090
|
},
|
|
28578
29091
|
// The AI label tint is part of the brand ramp rather than a semantic token, same as the sparkle's gradient.
|
|
28579
29092
|
aiStyles: {
|
|
@@ -28689,7 +29202,7 @@ function SideNavLayoutContent(props) {
|
|
|
28689
29202
|
},
|
|
28690
29203
|
...bp.mdAndUp ? {
|
|
28691
29204
|
position: "sticky",
|
|
28692
|
-
left: "
|
|
29205
|
+
left: "l_0",
|
|
28693
29206
|
zIndex: ["z_var", {
|
|
28694
29207
|
"--zIndex": (0, import_runtime146.maybeCssVar)(zIndices.sideNav)
|
|
28695
29208
|
}],
|
|
@@ -28706,11 +29219,11 @@ function SideNavLayoutContent(props) {
|
|
|
28706
29219
|
} : {
|
|
28707
29220
|
...{
|
|
28708
29221
|
position: "fixed",
|
|
28709
|
-
left: "
|
|
29222
|
+
left: "l_0",
|
|
28710
29223
|
top: ["top_var", {
|
|
28711
29224
|
"--top": (0, import_runtime146.maybeCssVar)(__maybeInc29(navTop))
|
|
28712
29225
|
}],
|
|
28713
|
-
bottom: "
|
|
29226
|
+
bottom: "bot_0",
|
|
28714
29227
|
zIndex: ["z_var", {
|
|
28715
29228
|
"--zIndex": (0, import_runtime146.maybeCssVar)(zIndices.sideNav)
|
|
28716
29229
|
}]
|
|
@@ -28724,7 +29237,7 @@ function SideNavLayoutContent(props) {
|
|
|
28724
29237
|
}
|
|
28725
29238
|
}
|
|
28726
29239
|
}), ...tid.sideNav, children: [
|
|
28727
|
-
showCollapseToggle && /* @__PURE__ */ (0, import_jsx_runtime224.jsx)("div", { className: "absolute
|
|
29240
|
+
showCollapseToggle && /* @__PURE__ */ (0, import_jsx_runtime224.jsx)("div", { className: "absolute r_2 top2 z2", children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
|
|
28728
29241
|
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(SideNav, { ...sideNav }) })
|
|
28729
29242
|
] });
|
|
28730
29243
|
return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)("div", { ...(0, import_runtime146.mergeProps)(void 0, {
|
|
@@ -28840,7 +29353,7 @@ function EnvironmentBannerLayout(props) {
|
|
|
28840
29353
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { ...(0, import_runtime148.trussProps)({
|
|
28841
29354
|
position: "fixed",
|
|
28842
29355
|
top: "top0",
|
|
28843
|
-
left: "
|
|
29356
|
+
left: "l_0",
|
|
28844
29357
|
zIndex: ["z_var", {
|
|
28845
29358
|
"--zIndex": (0, import_runtime148.maybeCssVar)(zIndices.environmentBanner)
|
|
28846
29359
|
}],
|
|
@@ -28886,7 +29399,7 @@ function FormSectionChild(props) {
|
|
|
28886
29399
|
} : {}, ...(0, import_runtime149.trussProps)({
|
|
28887
29400
|
display: "df",
|
|
28888
29401
|
flexDirection: "fdc",
|
|
28889
|
-
gap: "
|
|
29402
|
+
gap: "g_2",
|
|
28890
29403
|
backgroundColor: ["bgColor_var", {
|
|
28891
29404
|
"--backgroundColor": "var(--b-surface-raised)"
|
|
28892
29405
|
}],
|
|
@@ -28918,14 +29431,14 @@ function FormSection(props) {
|
|
|
28918
29431
|
return /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)("div", { id: defaultTestId(title), ...(0, import_runtime150.trussProps)({
|
|
28919
29432
|
display: "df",
|
|
28920
29433
|
flexDirection: "fdc",
|
|
28921
|
-
gap: "
|
|
29434
|
+
gap: "g_2",
|
|
28922
29435
|
scrollMarginTop: ["scrollMarginTop_var", {
|
|
28923
29436
|
"--scrollMarginTop": (0, import_runtime150.maybeCssVar)(stickyNavAndHeaderOffset())
|
|
28924
29437
|
}]
|
|
28925
29438
|
}), ...tid.section, children: [
|
|
28926
29439
|
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(ContentHeader, { ...tid, title, description, actions, level: 3 }),
|
|
28927
29440
|
fields,
|
|
28928
|
-
childSections && (isReorderable(childSections) ? /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(DraggableChildren, { childSections, ...tid.childSection }) : /* @__PURE__ */ (0, import_jsx_runtime228.jsx)("div", { className: "df fdc
|
|
29441
|
+
childSections && (isReorderable(childSections) ? /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(DraggableChildren, { childSections, ...tid.childSection }) : /* @__PURE__ */ (0, import_jsx_runtime228.jsx)("div", { className: "df fdc g_3", children: childSections.map((child) => /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(FormSectionChild, { ...child, ...tid.childSection }, child.id ?? child.title)) }))
|
|
28929
29442
|
] });
|
|
28930
29443
|
}
|
|
28931
29444
|
function isReorderable(childSections) {
|
|
@@ -28950,7 +29463,7 @@ function DraggableChildren(props) {
|
|
|
28950
29463
|
};
|
|
28951
29464
|
return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(DnDGrid, { onReorder: handleReorder, lockAxis: "y", gridStyles: {
|
|
28952
29465
|
gridTemplateColumns: "gtc_minmax_0_1fr",
|
|
28953
|
-
gap: "
|
|
29466
|
+
gap: "g_3"
|
|
28954
29467
|
}, children: sorted.map((child) => /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(FormSectionChild, { ...child, ...tid }, child.id)) });
|
|
28955
29468
|
}
|
|
28956
29469
|
function sortByOrderField(childSections) {
|
|
@@ -29050,7 +29563,7 @@ function FormSectionLayout(props) {
|
|
|
29050
29563
|
const content2 = /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { ...(0, import_runtime152.trussProps)({
|
|
29051
29564
|
display: "df",
|
|
29052
29565
|
flexDirection: "fdc",
|
|
29053
|
-
gap: "
|
|
29566
|
+
gap: "g_8",
|
|
29054
29567
|
...aiMode ? {
|
|
29055
29568
|
paddingTop: "pt3",
|
|
29056
29569
|
paddingBottom: "pb3",
|
|
@@ -29058,11 +29571,11 @@ function FormSectionLayout(props) {
|
|
|
29058
29571
|
paddingLeft: "pl3"
|
|
29059
29572
|
} : {}
|
|
29060
29573
|
}), children: [
|
|
29061
|
-
/* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { className: "df fdc
|
|
29574
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { className: "df fdc g_3", children: [
|
|
29062
29575
|
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(ContentHeader, { ...tid, title, description, actions, withAutoSave, level: 2, aiMode }),
|
|
29063
29576
|
initialFields
|
|
29064
29577
|
] }),
|
|
29065
|
-
sections && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { className: "df fdc
|
|
29578
|
+
sections && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { className: "df fdc g_8", children: sections.map((section, i) => /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(FormSection, { ...section }, defaultTestId(section.title) || i)) })
|
|
29066
29579
|
] });
|
|
29067
29580
|
const form = /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(CenteredLayout, { size: "sm", children: aiMode ? /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(AiCard, { size: "lg", ...tid, children: content2 }) : content2 });
|
|
29068
29581
|
const body = showRail ? /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { className: "df w100 mb4", children: [
|
|
@@ -29226,7 +29739,7 @@ function NavbarLayout(props) {
|
|
|
29226
29739
|
const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
|
|
29227
29740
|
const innerCss = {
|
|
29228
29741
|
position: "fixed",
|
|
29229
|
-
left: "
|
|
29742
|
+
left: "l_0",
|
|
29230
29743
|
zIndex: ["z_var", {
|
|
29231
29744
|
"--zIndex": (0, import_runtime153.maybeCssVar)(zIndices.navbar)
|
|
29232
29745
|
}],
|
|
@@ -29295,7 +29808,7 @@ function BaseHeader(props) {
|
|
|
29295
29808
|
paddingTop: "pt3",
|
|
29296
29809
|
borderBottomStyle: "bbs_solid",
|
|
29297
29810
|
borderBottomWidth: "bbw_1px",
|
|
29298
|
-
gap: "
|
|
29811
|
+
gap: "g_2",
|
|
29299
29812
|
borderColor: ["bc_var", {
|
|
29300
29813
|
"--borderColor": "var(--b-surface-separator)"
|
|
29301
29814
|
}],
|
|
@@ -29308,7 +29821,7 @@ function BaseHeader(props) {
|
|
|
29308
29821
|
display: "df",
|
|
29309
29822
|
justifyContent: "jcsb",
|
|
29310
29823
|
width: "w100",
|
|
29311
|
-
gap: "
|
|
29824
|
+
gap: "g_1"
|
|
29312
29825
|
},
|
|
29313
29826
|
...pageContentPaddingX,
|
|
29314
29827
|
...{
|
|
@@ -29352,7 +29865,7 @@ function PageHeader2(props) {
|
|
|
29352
29865
|
bottomSlotActions,
|
|
29353
29866
|
rightSlotActions
|
|
29354
29867
|
} = splitHeaderActionsOnSm(actions, sm);
|
|
29355
|
-
return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)("div", { className: "df
|
|
29868
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)("div", { className: "df g_2 fs0", ...tid.actions, children: [
|
|
29356
29869
|
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(AutoSaveIndicator, { hideOnIdle: true }),
|
|
29357
29870
|
rightSlotActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(HeaderActions, { actions: rightSlotActions, collapseOnSm: true }),
|
|
29358
29871
|
rightSlot
|
|
@@ -29486,7 +29999,7 @@ function WorkflowPageRightPaneTriggers(props) {
|
|
|
29486
29999
|
...{
|
|
29487
30000
|
display: "df",
|
|
29488
30001
|
alignItems: "aic",
|
|
29489
|
-
gap: "
|
|
30002
|
+
gap: "g_2",
|
|
29490
30003
|
flexShrink: "fs0",
|
|
29491
30004
|
...!isMobile ? {
|
|
29492
30005
|
transition: "transitionTransform",
|
|
@@ -29510,7 +30023,7 @@ function WorkflowPageRightPaneTriggers(props) {
|
|
|
29510
30023
|
transform: ["transform_var", {
|
|
29511
30024
|
"--transform": (0, import_runtime157.maybeCssVar)(`translateX(calc(100% + ${pageTriggerInsetPx}px))`)
|
|
29512
30025
|
}],
|
|
29513
|
-
pointerEvents: "
|
|
30026
|
+
pointerEvents: "pen"
|
|
29514
30027
|
} : {
|
|
29515
30028
|
transform: "tf_translateX_0"
|
|
29516
30029
|
})
|
|
@@ -29596,7 +30109,7 @@ function WorkflowActions(props) {
|
|
|
29596
30109
|
const primaryVariant = aiMode ? "ai" : "primary";
|
|
29597
30110
|
return /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)("div", { className: "df aic jcsb sm_w100", children: [
|
|
29598
30111
|
/* @__PURE__ */ (0, import_jsx_runtime239.jsx)("div", { className: "df aic", children: !isFirstStep && isMobile && onBack && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
|
|
29599
|
-
/* @__PURE__ */ (0, import_jsx_runtime239.jsxs)("div", { className: "df aic
|
|
30112
|
+
/* @__PURE__ */ (0, import_jsx_runtime239.jsxs)("div", { className: "df aic g_1", children: [
|
|
29600
30113
|
/* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
|
|
29601
30114
|
onSaveAndExit && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
|
|
29602
30115
|
isLastStep ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Button, { label: completeLabel, variant: primaryVariant, onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Button, { label: "Continue", variant: primaryVariant, onClick: async () => {
|
|
@@ -29675,7 +30188,7 @@ function WorkflowPageLayout(props) {
|
|
|
29675
30188
|
width: "w100"
|
|
29676
30189
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime158.trussProps)({
|
|
29677
30190
|
position: "fixed",
|
|
29678
|
-
left: "
|
|
30191
|
+
left: "l_0",
|
|
29679
30192
|
width: ["w_var", {
|
|
29680
30193
|
"--width": (0, import_runtime158.maybeCssVar)(__maybeInc37(headerWidth))
|
|
29681
30194
|
}],
|
|
@@ -29713,7 +30226,7 @@ function WorkflowPageLayout(props) {
|
|
|
29713
30226
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)("div", { ...(0, import_runtime158.trussProps)({
|
|
29714
30227
|
...{
|
|
29715
30228
|
position: "fixed",
|
|
29716
|
-
bottom: "
|
|
30229
|
+
bottom: "bot_0",
|
|
29717
30230
|
width: ["w_var", {
|
|
29718
30231
|
"--width": (0, import_runtime158.maybeCssVar)(__maybeInc37(headerWidth))
|
|
29719
30232
|
}],
|
|
@@ -29726,7 +30239,7 @@ function WorkflowPageLayout(props) {
|
|
|
29726
30239
|
display: "df",
|
|
29727
30240
|
alignItems: "aic",
|
|
29728
30241
|
justifyContent: "jcfe",
|
|
29729
|
-
gap: "
|
|
30242
|
+
gap: "g_1",
|
|
29730
30243
|
borderTopStyle: "bts_solid",
|
|
29731
30244
|
borderTopWidth: "btw_1px",
|
|
29732
30245
|
borderColor: ["bc_var", {
|
|
@@ -30200,15 +30713,15 @@ function ToggleButton(props) {
|
|
|
30200
30713
|
borderRadius: "br4",
|
|
30201
30714
|
display: "dif",
|
|
30202
30715
|
alignItems: "aic",
|
|
30203
|
-
gap: "
|
|
30716
|
+
gap: "g_1",
|
|
30204
30717
|
backgroundColor: "bgTransparent",
|
|
30205
30718
|
color: "gray500",
|
|
30206
30719
|
height: "h_32px",
|
|
30207
30720
|
paddingLeft: "pl_4px",
|
|
30208
30721
|
paddingRight: "pr1",
|
|
30209
30722
|
position: "relative",
|
|
30210
|
-
cursor: "
|
|
30211
|
-
width: "
|
|
30723
|
+
cursor: "cur_pointer",
|
|
30724
|
+
width: "wmaxc",
|
|
30212
30725
|
fontWeight: "fw4",
|
|
30213
30726
|
fontSize: "fz_14px",
|
|
30214
30727
|
lineHeight: "lh_20px",
|
|
@@ -30226,7 +30739,7 @@ function ToggleButton(props) {
|
|
|
30226
30739
|
color: ["color_var", {
|
|
30227
30740
|
"--color": "var(--b-text-disabled)"
|
|
30228
30741
|
}],
|
|
30229
|
-
cursor: "
|
|
30742
|
+
cursor: "cur_not_allowed"
|
|
30230
30743
|
}
|
|
30231
30744
|
}),
|
|
30232
30745
|
...tid
|