@homebound/beam 2.403.0 → 2.405.0-alpha.1
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/index.cjs +64 -180
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -241
- package/dist/index.d.ts +9 -241
- package/dist/index.js +64 -180
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3326,165 +3326,49 @@ var CssBuilder = class _CssBuilder {
|
|
|
3326
3326
|
}
|
|
3327
3327
|
// typeScale
|
|
3328
3328
|
/** Sets `fontWeight: 400; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3329
|
-
get
|
|
3329
|
+
get xs2() {
|
|
3330
3330
|
return this.add("fontWeight", 400).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3331
3331
|
}
|
|
3332
|
-
/** Sets `fontWeight: 500; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3333
|
-
get tinyMd() {
|
|
3334
|
-
return this.add("fontWeight", 500).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3335
|
-
}
|
|
3336
3332
|
/** Sets `fontWeight: 600; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3337
|
-
get
|
|
3333
|
+
get xs2Sb() {
|
|
3338
3334
|
return this.add("fontWeight", 600).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3339
3335
|
}
|
|
3340
|
-
/** Sets `fontWeight: 700; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3341
|
-
get tinyBd() {
|
|
3342
|
-
return this.add("fontWeight", 700).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3343
|
-
}
|
|
3344
3336
|
/** Sets `fontWeight: 400; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3345
3337
|
get xs() {
|
|
3346
3338
|
return this.add("fontWeight", 400).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3347
3339
|
}
|
|
3348
|
-
/** Sets `fontWeight: 500; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3349
|
-
get xsMd() {
|
|
3350
|
-
return this.add("fontWeight", 500).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3351
|
-
}
|
|
3352
3340
|
/** Sets `fontWeight: 600; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3353
3341
|
get xsSb() {
|
|
3354
3342
|
return this.add("fontWeight", 600).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3355
3343
|
}
|
|
3356
|
-
/** Sets `fontWeight: 700; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3357
|
-
get xsBd() {
|
|
3358
|
-
return this.add("fontWeight", 700).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3359
|
-
}
|
|
3360
3344
|
/** Sets `fontWeight: 400; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3361
3345
|
get sm() {
|
|
3362
3346
|
return this.add("fontWeight", 400).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3363
3347
|
}
|
|
3364
|
-
/** Sets `fontWeight: 500; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3365
|
-
get smMd() {
|
|
3366
|
-
return this.add("fontWeight", 500).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3367
|
-
}
|
|
3368
3348
|
/** Sets `fontWeight: 600; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3369
3349
|
get smSb() {
|
|
3370
3350
|
return this.add("fontWeight", 600).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3371
3351
|
}
|
|
3372
|
-
/** Sets `fontWeight: 700; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3373
|
-
get smBd() {
|
|
3374
|
-
return this.add("fontWeight", 700).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3375
|
-
}
|
|
3376
3352
|
/** Sets `fontWeight: 400; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3377
|
-
get
|
|
3353
|
+
get md() {
|
|
3378
3354
|
return this.add("fontWeight", 400).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3379
3355
|
}
|
|
3380
|
-
/** Sets `fontWeight: 500; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3381
|
-
get baseMd() {
|
|
3382
|
-
return this.add("fontWeight", 500).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3383
|
-
}
|
|
3384
3356
|
/** Sets `fontWeight: 600; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3385
|
-
get
|
|
3357
|
+
get mdSb() {
|
|
3386
3358
|
return this.add("fontWeight", 600).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3387
3359
|
}
|
|
3388
|
-
/** Sets `fontWeight: 700; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3389
|
-
get baseBd() {
|
|
3390
|
-
return this.add("fontWeight", 700).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3391
|
-
}
|
|
3392
|
-
/** Sets `fontWeight: 400; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3393
|
-
get lg() {
|
|
3394
|
-
return this.add("fontWeight", 400).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3395
|
-
}
|
|
3396
|
-
/** Sets `fontWeight: 500; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3397
|
-
get lgMd() {
|
|
3398
|
-
return this.add("fontWeight", 500).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3399
|
-
}
|
|
3400
3360
|
/** Sets `fontWeight: 600; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3401
|
-
get
|
|
3361
|
+
get lg() {
|
|
3402
3362
|
return this.add("fontWeight", 600).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3403
3363
|
}
|
|
3404
|
-
/** Sets `fontWeight: 700; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3405
|
-
get lgBd() {
|
|
3406
|
-
return this.add("fontWeight", 700).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3407
|
-
}
|
|
3408
|
-
/** Sets `fontWeight: 400; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3409
|
-
get xl() {
|
|
3410
|
-
return this.add("fontWeight", 400).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3411
|
-
}
|
|
3412
|
-
/** Sets `fontWeight: 500; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3413
|
-
get xlMd() {
|
|
3414
|
-
return this.add("fontWeight", 500).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3415
|
-
}
|
|
3416
3364
|
/** Sets `fontWeight: 600; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3417
|
-
get
|
|
3365
|
+
get xl() {
|
|
3418
3366
|
return this.add("fontWeight", 600).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3419
3367
|
}
|
|
3420
|
-
/** Sets `fontWeight: 700; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3421
|
-
get xlBd() {
|
|
3422
|
-
return this.add("fontWeight", 700).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3423
|
-
}
|
|
3424
|
-
/** Sets `fontWeight: 400; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3425
|
-
get xl2() {
|
|
3426
|
-
return this.add("fontWeight", 400).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3427
|
-
}
|
|
3428
|
-
/** Sets `fontWeight: 500; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3429
|
-
get xl2Md() {
|
|
3430
|
-
return this.add("fontWeight", 500).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3431
|
-
}
|
|
3432
|
-
/** Sets `fontWeight: 600; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3433
|
-
get xl2Sb() {
|
|
3434
|
-
return this.add("fontWeight", 600).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3435
|
-
}
|
|
3436
|
-
/** Sets `fontWeight: 700; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3437
|
-
get xl2Bd() {
|
|
3438
|
-
return this.add("fontWeight", 700).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3439
|
-
}
|
|
3440
|
-
/** Sets `fontWeight: 400; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3441
|
-
get xl3() {
|
|
3442
|
-
return this.add("fontWeight", 400).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3443
|
-
}
|
|
3444
|
-
/** Sets `fontWeight: 500; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3445
|
-
get xl3Md() {
|
|
3446
|
-
return this.add("fontWeight", 500).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3447
|
-
}
|
|
3448
3368
|
/** Sets `fontWeight: 600; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3449
|
-
get
|
|
3369
|
+
get xl2() {
|
|
3450
3370
|
return this.add("fontWeight", 600).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3451
3371
|
}
|
|
3452
|
-
/** Sets `fontWeight: 700; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3453
|
-
get xl3Bd() {
|
|
3454
|
-
return this.add("fontWeight", 700).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3455
|
-
}
|
|
3456
|
-
/** Sets `fontWeight: 400; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3457
|
-
get xl4() {
|
|
3458
|
-
return this.add("fontWeight", 400).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3459
|
-
}
|
|
3460
|
-
/** Sets `fontWeight: 500; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3461
|
-
get xl4Md() {
|
|
3462
|
-
return this.add("fontWeight", 500).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3463
|
-
}
|
|
3464
|
-
/** Sets `fontWeight: 600; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3465
|
-
get xl4Sb() {
|
|
3466
|
-
return this.add("fontWeight", 600).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3467
|
-
}
|
|
3468
|
-
/** Sets `fontWeight: 700; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3469
|
-
get xl4Bd() {
|
|
3470
|
-
return this.add("fontWeight", 700).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3471
|
-
}
|
|
3472
|
-
/** Sets `fontWeight: 400; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3473
|
-
get xl5() {
|
|
3474
|
-
return this.add("fontWeight", 400).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3475
|
-
}
|
|
3476
|
-
/** Sets `fontWeight: 500; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3477
|
-
get xl5Md() {
|
|
3478
|
-
return this.add("fontWeight", 500).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3479
|
-
}
|
|
3480
|
-
/** Sets `fontWeight: 600; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3481
|
-
get xl5Sb() {
|
|
3482
|
-
return this.add("fontWeight", 600).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3483
|
-
}
|
|
3484
|
-
/** Sets `fontWeight: 700; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3485
|
-
get xl5Bd() {
|
|
3486
|
-
return this.add("fontWeight", 700).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3487
|
-
}
|
|
3488
3372
|
// typography
|
|
3489
3373
|
/** Sets `maxWidth: "30em"`. */
|
|
3490
3374
|
get measure() {
|
|
@@ -3855,9 +3739,9 @@ var CssBuilder = class _CssBuilder {
|
|
|
3855
3739
|
);
|
|
3856
3740
|
}
|
|
3857
3741
|
// buttonBase
|
|
3858
|
-
/** Sets `fontWeight:
|
|
3742
|
+
/** Sets `fontWeight: 600; fontSize: "14px"; lineHeight: "20px"; outline: 0; borderRadius: "8px"; display: "inline-flex"; alignItems: "center"; whiteSpace: "nowrap"; transition: "background-color 200ms, border-color 200ms, box-shadow 200ms, left 200ms, right 200ms, margin 200ms"`. */
|
|
3859
3743
|
get buttonBase() {
|
|
3860
|
-
return this.add("fontWeight",
|
|
3744
|
+
return this.add("fontWeight", 600).add("fontSize", "14px").add("lineHeight", "20px").add("outline", 0).add(
|
|
3861
3745
|
"borderRadius",
|
|
3862
3746
|
"8px"
|
|
3863
3747
|
).add("display", "inline-flex").add("alignItems", "center").add("whiteSpace", "nowrap").add(
|
|
@@ -4947,7 +4831,7 @@ var typeStyles = {
|
|
|
4947
4831
|
darkMode: Css.bgGray700.white.$,
|
|
4948
4832
|
info: Css.bgBlue100.$
|
|
4949
4833
|
};
|
|
4950
|
-
var chipBaseStyles = (compact) => Css.
|
|
4834
|
+
var chipBaseStyles = (compact) => Css.xsSb.dif.aic.br16.px1.gapPx(4).pyPx(pyHeight(compact)).mhPx(minhPx(compact)).gray900.bgGray200.$;
|
|
4951
4835
|
var pyHeight = (compact) => compact ? 2 : 4;
|
|
4952
4836
|
var minhPx = (compact) => compact ? 20 : 24;
|
|
4953
4837
|
|
|
@@ -5441,7 +5325,7 @@ function Header(props) {
|
|
|
5441
5325
|
const { displayMonth } = props;
|
|
5442
5326
|
const { goToMonth } = useNavigation();
|
|
5443
5327
|
return /* @__PURE__ */ jsxs5("div", { css: Css.df.jcsb.aic.mlPx(12).mrPx(2).hPx(32).$, children: [
|
|
5444
|
-
/* @__PURE__ */ jsx11("h1", { css: Css.
|
|
5328
|
+
/* @__PURE__ */ jsx11("h1", { css: Css.md.$, children: format(displayMonth, "MMMM yyyy") }),
|
|
5445
5329
|
/* @__PURE__ */ jsxs5("div", { children: [
|
|
5446
5330
|
/* @__PURE__ */ jsx11(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronLeft", onClick: () => goToMonth(addMonths(displayMonth, -1)) }),
|
|
5447
5331
|
/* @__PURE__ */ jsx11(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronRight", onClick: () => goToMonth(addMonths(displayMonth, 1)) })
|
|
@@ -5454,12 +5338,12 @@ function YearSkipHeader(props) {
|
|
|
5454
5338
|
return /* @__PURE__ */ jsxs5("div", { css: Css.df.jcsb.aic.mlPx(12).mrPx(12).hPx(32).$, children: [
|
|
5455
5339
|
/* @__PURE__ */ jsxs5("div", { css: Css.df.fdr.jcsb.$, children: [
|
|
5456
5340
|
/* @__PURE__ */ jsx11(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronLeft", onClick: () => goToMonth(addMonths(displayMonth, -1)) }),
|
|
5457
|
-
/* @__PURE__ */ jsx11("h1", { css: Css.
|
|
5341
|
+
/* @__PURE__ */ jsx11("h1", { css: Css.md.$, children: format(displayMonth, "MMM") }),
|
|
5458
5342
|
/* @__PURE__ */ jsx11(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronRight", onClick: () => goToMonth(addMonths(displayMonth, 1)) })
|
|
5459
5343
|
] }),
|
|
5460
5344
|
/* @__PURE__ */ jsxs5("div", { css: Css.df.fdr.jcsb.$, children: [
|
|
5461
5345
|
/* @__PURE__ */ jsx11(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronLeft", onClick: () => goToMonth(addYears(displayMonth, -1)) }),
|
|
5462
|
-
/* @__PURE__ */ jsx11("h1", { css: Css.
|
|
5346
|
+
/* @__PURE__ */ jsx11("h1", { css: Css.md.$, children: format(displayMonth, "yyyy") }),
|
|
5463
5347
|
/* @__PURE__ */ jsx11(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronRight", onClick: () => goToMonth(addYears(displayMonth, 1)) })
|
|
5464
5348
|
] })
|
|
5465
5349
|
] });
|
|
@@ -5599,7 +5483,7 @@ function InlineLabel({ labelProps, label, contrast, multiline = false, ...others
|
|
|
5599
5483
|
{
|
|
5600
5484
|
...labelProps,
|
|
5601
5485
|
...others,
|
|
5602
|
-
css: Css.
|
|
5486
|
+
css: Css.sm.wsnw.gray900.prPx(4).add("color", "currentColor").asc.if(multiline).asfs.pt1.$,
|
|
5603
5487
|
children: [
|
|
5604
5488
|
label,
|
|
5605
5489
|
":"
|
|
@@ -6462,10 +6346,10 @@ var sizeToPixel = {
|
|
|
6462
6346
|
xl: 72
|
|
6463
6347
|
};
|
|
6464
6348
|
var sizeToFallbackTypeScale = {
|
|
6465
|
-
sm: "
|
|
6349
|
+
sm: "xs2",
|
|
6466
6350
|
md: "sm",
|
|
6467
6351
|
lg: "lg",
|
|
6468
|
-
xl: "
|
|
6352
|
+
xl: "xl2"
|
|
6469
6353
|
};
|
|
6470
6354
|
var sizeToIconInc = {
|
|
6471
6355
|
sm: 2.5,
|
|
@@ -6474,10 +6358,10 @@ var sizeToIconInc = {
|
|
|
6474
6358
|
xl: 8
|
|
6475
6359
|
};
|
|
6476
6360
|
var sizeToTypeScale = {
|
|
6477
|
-
sm: "
|
|
6478
|
-
md: "
|
|
6479
|
-
lg: "
|
|
6480
|
-
xl: "
|
|
6361
|
+
sm: "smSb",
|
|
6362
|
+
md: "smSb",
|
|
6363
|
+
lg: "md",
|
|
6364
|
+
xl: "md"
|
|
6481
6365
|
};
|
|
6482
6366
|
function nameToInitials(name) {
|
|
6483
6367
|
return name.split(" ").map((n) => n.length > 0 ? n[0].toUpperCase() : "").join("").slice(0, 3);
|
|
@@ -6596,7 +6480,7 @@ function NavLink(props) {
|
|
|
6596
6480
|
function getNavLinkStyles(variant, contrast) {
|
|
6597
6481
|
return navLinkVariantStyles(contrast)[variant];
|
|
6598
6482
|
}
|
|
6599
|
-
var baseStyles = Css.df.aic.hPx(32).pyPx(6).px1.br4.
|
|
6483
|
+
var baseStyles = Css.df.aic.hPx(32).pyPx(6).px1.br4.smSb.outline0.$;
|
|
6600
6484
|
var navLinkVariantStyles = (contrast) => ({
|
|
6601
6485
|
side: {
|
|
6602
6486
|
baseStyles: { ...baseStyles, ...Css.gray700.if(contrast).gray600.$ },
|
|
@@ -7055,16 +6939,16 @@ function memoizedTableStyles() {
|
|
|
7055
6939
|
const groupedLevels = {
|
|
7056
6940
|
0: {
|
|
7057
6941
|
cellCss: {
|
|
7058
|
-
...Css.
|
|
6942
|
+
...Css.xsSb.mhPx(56).gray700.bgGray100.boxShadow(`inset 0 -1px 0 ${"rgba(236, 235, 235, 1)" /* Gray200 */}`).$,
|
|
7059
6943
|
...allWhite && Css.bgWhite.$
|
|
7060
6944
|
},
|
|
7061
|
-
firstContentColumn: { ...Css.
|
|
6945
|
+
firstContentColumn: { ...Css.sm.$, ...allWhite && Css.smSb.gray900.$ }
|
|
7062
6946
|
},
|
|
7063
|
-
2: { firstContentColumn: Css.
|
|
6947
|
+
2: { firstContentColumn: Css.xs2.pl3.$ },
|
|
7064
6948
|
// Add 12 more pixels of padding for each level of nesting
|
|
7065
|
-
3: { firstContentColumn: Css.
|
|
6949
|
+
3: { firstContentColumn: Css.xs2.plPx(36).$ }
|
|
7066
6950
|
};
|
|
7067
|
-
const defaultLevels = { 1: { firstContentColumn: Css.
|
|
6951
|
+
const defaultLevels = { 1: { firstContentColumn: Css.xs2.pl3.$ } };
|
|
7068
6952
|
cache[key] = {
|
|
7069
6953
|
emptyCell: "-",
|
|
7070
6954
|
firstRowMessageCss: {
|
|
@@ -7077,11 +6961,11 @@ function memoizedTableStyles() {
|
|
|
7077
6961
|
// lineClamp requires `display: webkit-box`, which disables `align-items: center` (requires `display: flex/grid`)
|
|
7078
6962
|
// Header's will add `lineClamp2` more locally in their renders.
|
|
7079
6963
|
// Also `unset`-ing the white-space: nowrap defined in `cellCss` below.
|
|
7080
|
-
...Css.gray700.
|
|
6964
|
+
...Css.gray700.xsSb.bgGray200.aic.pxPx(12).whiteSpace("unset").hPx(40).$,
|
|
7081
6965
|
...allWhite && Css.bgWhite.$
|
|
7082
6966
|
},
|
|
7083
|
-
totalsCellCss: Css.bgWhite.gray700.bgGray100.
|
|
7084
|
-
expandableHeaderCss: Css.bgWhite.gray900.
|
|
6967
|
+
totalsCellCss: Css.bgWhite.gray700.bgGray100.xsSb.hPx(totalsRowHeight).pPx(12).$,
|
|
6968
|
+
expandableHeaderCss: Css.bgWhite.gray900.xsSb.wsn.hPx(expandableHeaderRowHeight).pxPx(12).py0.boxShadow(`inset 0 -1px 0 ${"rgba(236, 235, 235, 1)" /* Gray200 */}`).addIn("&:not(:last-of-type)", Css.boxShadow(`inset -1px -1px 0 ${"rgba(236, 235, 235, 1)" /* Gray200 */}`).$).$,
|
|
7085
6969
|
cellCss: {
|
|
7086
6970
|
...Css[cellTypography].gray900.bgWhite.ai(alignItems).pxPx(12).boxShadow(`inset 0 -1px 0 ${"rgba(236, 235, 235, 1)" /* Gray200 */}`).$,
|
|
7087
6971
|
...rowHeight === "flexible" ? Css.pyPx(12).$ : Css.wsnw.hPx(inlineEditing ? 48 : 36).$,
|
|
@@ -7108,7 +6992,7 @@ function memoizedTableStyles() {
|
|
|
7108
6992
|
},
|
|
7109
6993
|
levels: grouped ? groupedLevels : defaultLevels,
|
|
7110
6994
|
rowHoverColor: "rgba(239, 246, 255, 1)" /* Blue50 */,
|
|
7111
|
-
keptGroupRowCss: Css.bgYellow100.gray900.
|
|
6995
|
+
keptGroupRowCss: Css.bgYellow100.gray900.xsSb.df.aic.$,
|
|
7112
6996
|
keptLastRowCss: Css.boxShadow("inset 0px -14px 8px -11px rgba(63,63,63,.18)").$
|
|
7113
6997
|
};
|
|
7114
6998
|
}
|
|
@@ -7135,7 +7019,7 @@ var cardStyle = {
|
|
|
7135
7019
|
// Undo the card look & feel for the header
|
|
7136
7020
|
headerCellCss: {
|
|
7137
7021
|
...defaultStyle.headerCellCss,
|
|
7138
|
-
...Css.p1.m0.
|
|
7022
|
+
...Css.p1.m0.xsSb.gray700.$
|
|
7139
7023
|
},
|
|
7140
7024
|
rowHoverColor: "none",
|
|
7141
7025
|
nonHeaderRowHoverCss: Css.bshHover.bcGray700.$,
|
|
@@ -7278,7 +7162,7 @@ function ExpandableHeader(props) {
|
|
|
7278
7162
|
"button",
|
|
7279
7163
|
{
|
|
7280
7164
|
...hoverProps,
|
|
7281
|
-
css: Css.df.
|
|
7165
|
+
css: Css.df.xs.aic.jcsb.gap2.px1.hPx(32).mxPx(-8).w("calc(100% + 16px)").br4.blue700.if(isHovered).bgGray100.$,
|
|
7282
7166
|
onClick: async () => {
|
|
7283
7167
|
if (isFunction(column2.expandColumns)) {
|
|
7284
7168
|
setIsLoading(true);
|
|
@@ -8175,7 +8059,7 @@ function TextFieldBase(props) {
|
|
|
8175
8059
|
selectOnFocus = true,
|
|
8176
8060
|
inputStylePalette
|
|
8177
8061
|
} = props;
|
|
8178
|
-
const typeScale = fieldProps?.typeScale ??
|
|
8062
|
+
const typeScale = fieldProps?.typeScale ?? "sm";
|
|
8179
8063
|
const internalProps = props.internalProps || {};
|
|
8180
8064
|
const { compound = false, forceFocus = false, forceHover = false } = internalProps;
|
|
8181
8065
|
const errorMessageId = `${inputProps.id}-error`;
|
|
@@ -9313,7 +9197,7 @@ var disabledColor = Css.gray300.$;
|
|
|
9313
9197
|
var focusRingStyles = Css.bshFocus.$;
|
|
9314
9198
|
var hoverBorderStyles = Css.bcBlue900.$;
|
|
9315
9199
|
var markStyles = { ">svg": Css.absolute.topPx(-1).leftPx(-1).$ };
|
|
9316
|
-
var labelStyles = Css.
|
|
9200
|
+
var labelStyles = Css.sm.$;
|
|
9317
9201
|
var descStyles = Css.sm.gray700.$;
|
|
9318
9202
|
function StyledCheckbox(props) {
|
|
9319
9203
|
const { isDisabled = false, isIndeterminate = false, isSelected, isFocusVisible } = props;
|
|
@@ -10212,7 +10096,7 @@ function ComboBoxInput(props) {
|
|
|
10212
10096
|
startAdornment: showNumSelection && /* @__PURE__ */ jsx54(Tooltip, { title: /* @__PURE__ */ jsx54(SelectedOptionBullets, { labels: chipLabels }), children: /* @__PURE__ */ jsx54(
|
|
10213
10097
|
"span",
|
|
10214
10098
|
{
|
|
10215
|
-
css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.
|
|
10099
|
+
css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.xs2Sb.df.aic.jcc.$,
|
|
10216
10100
|
"data-testid": "selectedOptionsCount",
|
|
10217
10101
|
children: isTree ? selectedOptionsLabels?.length : state.selectionManager.selectedKeys.size
|
|
10218
10102
|
}
|
|
@@ -11220,7 +11104,7 @@ function IconCard(props) {
|
|
|
11220
11104
|
children: /* @__PURE__ */ jsxs36("button", { css: styles, ...hoverProps, onClick: toggleState.toggle, disabled: isDisabled, ...tid, children: [
|
|
11221
11105
|
/* @__PURE__ */ jsx64(VisuallyHidden4, { children: /* @__PURE__ */ jsx64("input", { ref, ...inputProps, ...tid.value }) }),
|
|
11222
11106
|
/* @__PURE__ */ jsx64(Icon, { icon, inc: 4, color: isDisabled ? "rgba(221, 220, 220, 1)" /* Gray300 */ : "rgba(36, 36, 36, 1)" /* Gray900 */ }),
|
|
11223
|
-
/* @__PURE__ */ jsx64("span", { css: Css.
|
|
11107
|
+
/* @__PURE__ */ jsx64("span", { css: Css.xs.if(isDisabled).gray300.$, children: label })
|
|
11224
11108
|
] })
|
|
11225
11109
|
});
|
|
11226
11110
|
}
|
|
@@ -11546,7 +11430,7 @@ function Radio(props) {
|
|
|
11546
11430
|
"div",
|
|
11547
11431
|
{
|
|
11548
11432
|
id: labelId,
|
|
11549
|
-
css: Css.
|
|
11433
|
+
css: Css.sm.gray800.if(disabled).gray400.$,
|
|
11550
11434
|
...description ? { "aria-describedby": descriptionId } : {},
|
|
11551
11435
|
children: label
|
|
11552
11436
|
}
|
|
@@ -11896,7 +11780,7 @@ function Switch(props) {
|
|
|
11896
11780
|
)
|
|
11897
11781
|
}
|
|
11898
11782
|
) }),
|
|
11899
|
-
labelStyle === "inline" && /* @__PURE__ */ jsx72(Label, { label, tooltip, inline: true, xss: Css.
|
|
11783
|
+
labelStyle === "inline" && /* @__PURE__ */ jsx72(Label, { label, tooltip, inline: true, xss: Css.sm.gray900.if(compact).add("lineHeight", "1").$ }),
|
|
11900
11784
|
/* @__PURE__ */ jsx72(VisuallyHidden5, { children: /* @__PURE__ */ jsx72("input", { ref, ...inputProps, ...focusProps, ...tid }) })
|
|
11901
11785
|
]
|
|
11902
11786
|
}
|
|
@@ -12073,7 +11957,7 @@ function ToggleButton(props) {
|
|
|
12073
11957
|
...hoverProps,
|
|
12074
11958
|
...pressProps,
|
|
12075
11959
|
css: {
|
|
12076
|
-
...Css.br4.dif.aic.gap1.bgTransparent.gray500.hPx(32).plPx(4).pr1.relative.cursorPointer.w("max-content").
|
|
11960
|
+
...Css.br4.dif.aic.gap1.bgTransparent.gray500.hPx(32).plPx(4).pr1.relative.cursorPointer.w("max-content").sm.usn.$,
|
|
12077
11961
|
...isHovered && toggleHoverStyles,
|
|
12078
11962
|
...isPressed && togglePressStyles,
|
|
12079
11963
|
...isSelected && !isDisabled && Css.blue700.$,
|
|
@@ -13627,8 +13511,8 @@ function Accordion(props) {
|
|
|
13627
13511
|
}, [index, setExpandedIndex, onToggle]);
|
|
13628
13512
|
const touchableStyle = useMemo23(
|
|
13629
13513
|
() => ({
|
|
13630
|
-
...Css.df.jcsb.gapPx(12).aic.p2.
|
|
13631
|
-
...compact && Css.
|
|
13514
|
+
...Css.df.jcsb.gapPx(12).aic.p2.md.outline("none").onHover.bgGray100.if(!!titleOnClick).mdSb.$,
|
|
13515
|
+
...compact && Css.sm.pl2.prPx(10).py1.bgGray100.mbPx(4).br8.onHover.bgGray200.$,
|
|
13632
13516
|
...compact && !!titleOnClick && Css.br0.$,
|
|
13633
13517
|
...disabled && Css.gray500.$,
|
|
13634
13518
|
...isFocusVisible && Css.boxShadow(`inset 0 0 0 2px ${"rgba(29, 78, 216, 1)" /* Blue700 */}`).$,
|
|
@@ -13774,7 +13658,7 @@ function AutoSaveIndicator({ hideOnIdle, doNotReset }) {
|
|
|
13774
13658
|
}
|
|
13775
13659
|
}
|
|
13776
13660
|
function Indicator({ text, icon, color }) {
|
|
13777
|
-
return /* @__PURE__ */ jsxs46("div", { "data-testid": "autoSave", css: Css.df.gap1.aic.gray700.
|
|
13661
|
+
return /* @__PURE__ */ jsxs46("div", { "data-testid": "autoSave", css: Css.df.gap1.aic.gray700.smSb.$, children: [
|
|
13778
13662
|
/* @__PURE__ */ jsx84(Icon, { icon, color }),
|
|
13779
13663
|
text
|
|
13780
13664
|
] });
|
|
@@ -13785,7 +13669,7 @@ import { jsx as jsx85, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
|
|
|
13785
13669
|
function Banner(props) {
|
|
13786
13670
|
const { type, message, onClose = false, showIcon = true, ...others } = props;
|
|
13787
13671
|
const tid = useTestIds(others, "banner");
|
|
13788
|
-
return /* @__PURE__ */ jsxs47("div", { css: { ...variantStyles2[type], ...Css.df.aic.w100.gap1.p2.gray900.
|
|
13672
|
+
return /* @__PURE__ */ jsxs47("div", { css: { ...variantStyles2[type], ...Css.df.aic.w100.gap1.p2.gray900.md.bshBasic.$ }, ...tid, role: "alert", children: [
|
|
13789
13673
|
showIcon && /* @__PURE__ */ jsx85("span", { css: Css.fs0.$, children: /* @__PURE__ */ jsx85(Icon, { icon: typeToIcon[type], ...tid.type, color: "rgba(36, 36, 36, 1)" /* Gray900 */ }) }),
|
|
13790
13674
|
/* @__PURE__ */ jsx85("span", { css: Css.fg1.$, ...tid.message, children: message }),
|
|
13791
13675
|
onClose && /* @__PURE__ */ jsx85("span", { css: Css.lh(0).$, children: /* @__PURE__ */ jsx85(IconButton, { icon: "x", onClick: onClose, ...tid.close, color: "rgba(36, 36, 36, 1)" /* Gray900 */ }) })
|
|
@@ -13945,7 +13829,7 @@ function Modal(props) {
|
|
|
13945
13829
|
children: [
|
|
13946
13830
|
/* @__PURE__ */ jsxs48("header", { css: Css.df.fdrr.p3.fs0.if(drawHeaderBorder).bb.bcGray200.$, children: [
|
|
13947
13831
|
/* @__PURE__ */ jsx87("span", { css: Css.fs0.pl1.$, children: allowClosing && /* @__PURE__ */ jsx87(IconButton, { icon: "x", onClick: closeModal, ...testId.titleClose }) }),
|
|
13948
|
-
/* @__PURE__ */ jsx87("h1", { css: Css.fg1.
|
|
13832
|
+
/* @__PURE__ */ jsx87("h1", { css: Css.fg1.xl2.gray900.$, ref: modalHeaderRef, ...titleProps, ...testId.title })
|
|
13949
13833
|
] }),
|
|
13950
13834
|
/* @__PURE__ */ jsx87("main", { ref: modalBodyRef, css: Css.fg1.oya.if(hasScroll).bb.bcGray200.if(!!forceScrolling).oys.$, children: content }),
|
|
13951
13835
|
/* @__PURE__ */ jsx87("footer", { css: Css.fs0.$, children: /* @__PURE__ */ jsx87("div", { ref: modalFooterRef }) })
|
|
@@ -14006,7 +13890,7 @@ function SnackbarNotice(props) {
|
|
|
14006
13890
|
const { icon, message, action, hideCloseButton, persistent, onClose } = props;
|
|
14007
13891
|
const tid = useTestIds(props, "snackbar");
|
|
14008
13892
|
const reallyHideClose = hideCloseButton && !persistent;
|
|
14009
|
-
return /* @__PURE__ */ jsxs49("div", { css: Css.white.bgGray800.br4.
|
|
13893
|
+
return /* @__PURE__ */ jsxs49("div", { css: Css.white.bgGray800.br4.md.df.aic.maxwPx(420).$, ...tid, role: "alert", children: [
|
|
14010
13894
|
icon && /* @__PURE__ */ jsx88("span", { css: Css.fs0.plPx(12).$, children: /* @__PURE__ */ jsx88(Icon, { ...typeToIcon2[icon], ...tid.icon }) }),
|
|
14011
13895
|
/* @__PURE__ */ jsx88(
|
|
14012
13896
|
"span",
|
|
@@ -14127,7 +14011,7 @@ function SuperDrawer() {
|
|
|
14127
14011
|
onClick: (e) => e.stopPropagation(),
|
|
14128
14012
|
children: /* @__PURE__ */ jsxs51(AutoSaveStatusProvider, { children: [
|
|
14129
14013
|
/* @__PURE__ */ jsxs51("header", { css: Css.p3.bb.bcGray200.df.aic.jcsb.gap3.$, children: [
|
|
14130
|
-
/* @__PURE__ */ jsx91("div", { ref: headerRef, css: Css.gray900.fg1.addIn("& h1", Css.
|
|
14014
|
+
/* @__PURE__ */ jsx91("div", { ref: headerRef, css: Css.gray900.fg1.addIn("& h1", Css.xl2.$).$ }),
|
|
14131
14015
|
/* @__PURE__ */ jsx91(IconButton, { icon: "x", onClick: closeDrawer, ...testId.close })
|
|
14132
14016
|
] }),
|
|
14133
14017
|
content
|
|
@@ -14540,7 +14424,7 @@ function ListFieldRowInputs({
|
|
|
14540
14424
|
const tid = useTestIds({}, "listFieldRow");
|
|
14541
14425
|
return /* @__PURE__ */ jsxs53(Fragment20, { children: [
|
|
14542
14426
|
/* @__PURE__ */ jsxs53("div", { css: Css.df.jcsb.$, ...tid, children: [
|
|
14543
|
-
/* @__PURE__ */ jsxs53("span", { css: Css.
|
|
14427
|
+
/* @__PURE__ */ jsxs53("span", { css: Css.mdSb.$, ...tid.name, children: [
|
|
14544
14428
|
listFieldConfig.name,
|
|
14545
14429
|
" ",
|
|
14546
14430
|
rowNumber
|
|
@@ -15295,7 +15179,7 @@ function FormHeading(props) {
|
|
|
15295
15179
|
"h3",
|
|
15296
15180
|
{
|
|
15297
15181
|
css: {
|
|
15298
|
-
...Css.
|
|
15182
|
+
...Css.md.$,
|
|
15299
15183
|
// Add space before the heading, but only if it's not first.
|
|
15300
15184
|
...!isFirst && Css.mt4.$,
|
|
15301
15185
|
...xss
|
|
@@ -15317,7 +15201,7 @@ function StaticField(props) {
|
|
|
15317
15201
|
const id = useId2();
|
|
15318
15202
|
return /* @__PURE__ */ jsxs56("div", { css: Css.if(labelStyle === "left").df.jcsb.maxw100.$, ...tid.container, children: [
|
|
15319
15203
|
/* @__PURE__ */ jsx117("label", { css: Css.db.sm.gray700.mbPx(4).$, htmlFor: id, ...tid.label, children: label }),
|
|
15320
|
-
/* @__PURE__ */ jsx117("div", { id, css: Css.
|
|
15204
|
+
/* @__PURE__ */ jsx117("div", { id, css: Css.sm.gray900.df.aic.if(labelStyle === "left").w50.$, ...tid, children: value || children })
|
|
15321
15205
|
] });
|
|
15322
15206
|
}
|
|
15323
15207
|
|
|
@@ -15455,8 +15339,8 @@ function PageHeaderBreadcrumbs({ breadcrumb }) {
|
|
|
15455
15339
|
const tids = useTestIds({}, "pageHeaderBreadcrumbs");
|
|
15456
15340
|
const breadcrumbs = Array.isArray(breadcrumb) ? breadcrumb : [breadcrumb];
|
|
15457
15341
|
return /* @__PURE__ */ jsx122("div", { css: Css.df.aic.mbPx(4).$, ...tids, children: breadcrumbs.map((breadcrumb2, i) => /* @__PURE__ */ jsxs58(Fragment23, { children: [
|
|
15458
|
-
i > 0 && /* @__PURE__ */ jsx122("span", { css: Css.
|
|
15459
|
-
/* @__PURE__ */ jsx122(Link4, { to: breadcrumb2.href, css: Css.
|
|
15342
|
+
i > 0 && /* @__PURE__ */ jsx122("span", { css: Css.smSb.gray700.mr1.ml1.$, children: "/" }),
|
|
15343
|
+
/* @__PURE__ */ jsx122(Link4, { to: breadcrumb2.href, css: Css.smSb.gray700.onHover.gray900.$, className: "navLink", ...tids.navLink, children: breadcrumb2.label })
|
|
15460
15344
|
] }, `bc-${breadcrumb2.label}`)) });
|
|
15461
15345
|
}
|
|
15462
15346
|
|
|
@@ -15500,7 +15384,7 @@ function PageHeader(props) {
|
|
|
15500
15384
|
/* @__PURE__ */ jsxs59("div", { css: Css.py2.px3.df.jcsb.aic.$, children: [
|
|
15501
15385
|
/* @__PURE__ */ jsxs59("div", { children: [
|
|
15502
15386
|
breadCrumb && /* @__PURE__ */ jsx123(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
|
|
15503
|
-
/* @__PURE__ */ jsx123("h1", { css: Css.
|
|
15387
|
+
/* @__PURE__ */ jsx123("h1", { css: Css.xl2.$, ...tids.pageTitle, children: pageTitle })
|
|
15504
15388
|
] }),
|
|
15505
15389
|
/* @__PURE__ */ jsxs59("div", { css: Css.df.gap1.$, children: [
|
|
15506
15390
|
tertiaryAction && /* @__PURE__ */ jsx123(
|
|
@@ -15544,7 +15428,7 @@ function FormSections(props) {
|
|
|
15544
15428
|
children: [
|
|
15545
15429
|
/* @__PURE__ */ jsx123("div", { css: Css.gc(1).$, children: section.icon && /* @__PURE__ */ jsx123(Icon, { icon: section.icon, inc: 3.5 }) }),
|
|
15546
15430
|
/* @__PURE__ */ jsxs59("div", { css: Css.gc(2).$, children: [
|
|
15547
|
-
section.title && /* @__PURE__ */ jsx123("h2", { css: Css.
|
|
15431
|
+
section.title && /* @__PURE__ */ jsx123("h2", { css: Css.xl.mb3.$, children: section.title }),
|
|
15548
15432
|
/* @__PURE__ */ jsx123(BoundForm, { formState, rows: section.rows })
|
|
15549
15433
|
] })
|
|
15550
15434
|
]
|
|
@@ -15571,8 +15455,8 @@ function LeftNav(props) {
|
|
|
15571
15455
|
`nav-${sectionWithRef.sectionKey}`
|
|
15572
15456
|
)) });
|
|
15573
15457
|
}
|
|
15574
|
-
var activeStyles2 = Css.
|
|
15575
|
-
var hoverStyles2 = Css.bgBlue50.
|
|
15458
|
+
var activeStyles2 = Css.smSb.boxShadow(`inset 3px 0px 0 0px ${"rgba(37, 99, 235, 1)" /* Blue600 */}`).$;
|
|
15459
|
+
var hoverStyles2 = Css.bgBlue50.smSb.blue900.boxShadow(`inset 3px 0px 0 0px ${"rgba(30, 58, 138, 1)" /* Blue900 */}`).$;
|
|
15576
15460
|
var defaultFocusRingStyles = Css.relative.z2.bshFocus.$;
|
|
15577
15461
|
function SectionNavLink(props) {
|
|
15578
15462
|
const { sectionWithRef, activeSection } = props;
|
|
@@ -15594,7 +15478,7 @@ function SectionNavLink(props) {
|
|
|
15594
15478
|
...focusProps,
|
|
15595
15479
|
...hoverProps,
|
|
15596
15480
|
css: {
|
|
15597
|
-
...Css.buttonBase.wsn.tal.
|
|
15481
|
+
...Css.buttonBase.wsn.tal.smSb.blue600.px2.py1.br0.h100.$,
|
|
15598
15482
|
...isFocusVisible ? defaultFocusRingStyles : {},
|
|
15599
15483
|
...active ? activeStyles2 : {},
|
|
15600
15484
|
...isPressed ? activeStyles2 : isHovered ? hoverStyles2 : {}
|
|
@@ -16165,7 +16049,7 @@ function FilterModal(props) {
|
|
|
16165
16049
|
}
|
|
16166
16050
|
function ModalFilterItem({ label, children }) {
|
|
16167
16051
|
return /* @__PURE__ */ jsxs64("div", { css: Css.mb4.if(!label).bt.bcGray200.$, children: [
|
|
16168
|
-
label && /* @__PURE__ */ jsx134("h2", { css: Css.
|
|
16052
|
+
label && /* @__PURE__ */ jsx134("h2", { css: Css.md.mb2.$, children: label }),
|
|
16169
16053
|
/* @__PURE__ */ jsx134("div", { css: Css.if(!label).pt3.$, children })
|
|
16170
16054
|
] });
|
|
16171
16055
|
}
|
|
@@ -16256,7 +16140,7 @@ function Filters(props) {
|
|
|
16256
16140
|
Button,
|
|
16257
16141
|
{
|
|
16258
16142
|
label: "More Filters",
|
|
16259
|
-
endAdornment: numModalFilters > 0 && /* @__PURE__ */ jsx136("span", { css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.
|
|
16143
|
+
endAdornment: numModalFilters > 0 && /* @__PURE__ */ jsx136("span", { css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.xs2Sb.df.aic.jcc.$, children: numModalFilters }),
|
|
16260
16144
|
variant: "secondary",
|
|
16261
16145
|
onClick: () => openModal({
|
|
16262
16146
|
// Spreading `props` to pass along `data-testid`
|
|
@@ -16444,7 +16328,7 @@ function Header2(props) {
|
|
|
16444
16328
|
return /* @__PURE__ */ jsx141(FullBleed, { children: /* @__PURE__ */ jsxs67("header", { css: { ...Css.p3.mb3.mhPx(50).bgWhite.df.jcsb.aic.$ }, ...tids.header, children: [
|
|
16445
16329
|
/* @__PURE__ */ jsxs67("div", { children: [
|
|
16446
16330
|
breadcrumb && /* @__PURE__ */ jsx141(PageHeaderBreadcrumbs, { breadcrumb }),
|
|
16447
|
-
/* @__PURE__ */ jsx141("h1", { css: Css.
|
|
16331
|
+
/* @__PURE__ */ jsx141("h1", { css: Css.xl2.mt1.$, ...tids.pageTitle, children: pageTitle })
|
|
16448
16332
|
] }),
|
|
16449
16333
|
/* @__PURE__ */ jsxs67("div", { css: Css.df.fwr.jcfe.gap1.$, children: [
|
|
16450
16334
|
tertiaryAction && /* @__PURE__ */ jsx141(Button, { ...tertiaryAction, variant: "tertiary" }),
|
|
@@ -16821,7 +16705,7 @@ function Tag(props) {
|
|
|
16821
16705
|
});
|
|
16822
16706
|
return maybeTooltip({
|
|
16823
16707
|
title: !preventTooltip && showTooltip ? text : void 0,
|
|
16824
|
-
children: /* @__PURE__ */ jsxs71("span", { ...tid, css: { ...Css.dif.
|
|
16708
|
+
children: /* @__PURE__ */ jsxs71("span", { ...tid, css: { ...Css.dif.xs2Sb.ttu.aic.gapPx(4).pxPx(6).pyPx(2).gray900.br4.$, ...typeStyles2, ...xss }, children: [
|
|
16825
16709
|
otherProps.icon && /* @__PURE__ */ jsx149("span", { css: Css.fs0.$, children: /* @__PURE__ */ jsx149(Icon, { icon: otherProps.icon, inc: 1.5 }) }),
|
|
16826
16710
|
/* @__PURE__ */ jsx149("span", { ref, css: Css.lineClamp1.wbba.$, children: text })
|
|
16827
16711
|
] })
|
|
@@ -16892,8 +16776,8 @@ function Card(props) {
|
|
|
16892
16776
|
tag && /* @__PURE__ */ jsx150("div", { css: Css.absolute.left1.topPx(4).$, children: /* @__PURE__ */ jsx150(Tag, { type: tag?.type, text: tag?.text, ...tid.tag }) }),
|
|
16893
16777
|
/* @__PURE__ */ jsxs72("div", { css: Css.df.fdc.aifs.gap1.$, children: [
|
|
16894
16778
|
/* @__PURE__ */ jsxs72("div", { children: [
|
|
16895
|
-
/* @__PURE__ */ jsx150("div", { css: Css.
|
|
16896
|
-
/* @__PURE__ */ jsx150("div", { css: Css.
|
|
16779
|
+
/* @__PURE__ */ jsx150("div", { css: Css.xsSb.gray700.$, ...tid.subtitle, children: subtitle }),
|
|
16780
|
+
/* @__PURE__ */ jsx150("div", { css: Css.smSb.gray900.if(isHovered).blue700.$, ...tid.title, children: title })
|
|
16897
16781
|
] }),
|
|
16898
16782
|
/* @__PURE__ */ jsx150("div", { ...tid.details, children: detailContent })
|
|
16899
16783
|
] })
|
|
@@ -17335,7 +17219,7 @@ function MaxLines({ maxLines, children }) {
|
|
|
17335
17219
|
useResizeObserver5({ ref: elRef, onResize });
|
|
17336
17220
|
return /* @__PURE__ */ jsxs74("div", { children: [
|
|
17337
17221
|
/* @__PURE__ */ jsx157("div", { ref: elRef, css: Css.if(!expanded).lineClamp(maxLines).$, children }),
|
|
17338
|
-
hasMore && /* @__PURE__ */ jsx157("button", { css: Css.db.
|
|
17222
|
+
hasMore && /* @__PURE__ */ jsx157("button", { css: Css.db.sm.$, onClick: () => setExpanded((prev) => !prev), children: expanded ? "Show Less" : "Show More" })
|
|
17339
17223
|
] });
|
|
17340
17224
|
}
|
|
17341
17225
|
|
|
@@ -18009,7 +17893,7 @@ function getTabStyles() {
|
|
|
18009
17893
|
const borderBottomStyles = Css.bb.add("borderBottomWidth", `${borderBottomWidthPx}px`).pbPx(verticalPaddingPx - borderBottomWidthPx).$;
|
|
18010
17894
|
return {
|
|
18011
17895
|
baseStyles: Css.df.aic.hPx(32).pyPx(verticalPaddingPx).px1.outline0.gray700.add("width", "fit-content").cursorPointer.sm.$,
|
|
18012
|
-
activeStyles: Css.add(borderBottomStyles).bcBlue700.
|
|
17896
|
+
activeStyles: Css.add(borderBottomStyles).bcBlue700.smSb.gray900.$,
|
|
18013
17897
|
disabledStyles: Css.gray400.cursorNotAllowed.$,
|
|
18014
17898
|
focusRingStyles: Css.bgBlue50.bshFocus.$,
|
|
18015
17899
|
hoverStyles: Css.add(borderBottomStyles).bcGray400.$,
|