@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.cjs
CHANGED
|
@@ -3622,165 +3622,49 @@ var CssBuilder = class _CssBuilder {
|
|
|
3622
3622
|
}
|
|
3623
3623
|
// typeScale
|
|
3624
3624
|
/** Sets `fontWeight: 400; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3625
|
-
get
|
|
3625
|
+
get xs2() {
|
|
3626
3626
|
return this.add("fontWeight", 400).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3627
3627
|
}
|
|
3628
|
-
/** Sets `fontWeight: 500; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3629
|
-
get tinyMd() {
|
|
3630
|
-
return this.add("fontWeight", 500).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3631
|
-
}
|
|
3632
3628
|
/** Sets `fontWeight: 600; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3633
|
-
get
|
|
3629
|
+
get xs2Sb() {
|
|
3634
3630
|
return this.add("fontWeight", 600).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3635
3631
|
}
|
|
3636
|
-
/** Sets `fontWeight: 700; fontSize: "10px"; lineHeight: "14px"`. */
|
|
3637
|
-
get tinyBd() {
|
|
3638
|
-
return this.add("fontWeight", 700).add("fontSize", "10px").add("lineHeight", "14px");
|
|
3639
|
-
}
|
|
3640
3632
|
/** Sets `fontWeight: 400; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3641
3633
|
get xs() {
|
|
3642
3634
|
return this.add("fontWeight", 400).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3643
3635
|
}
|
|
3644
|
-
/** Sets `fontWeight: 500; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3645
|
-
get xsMd() {
|
|
3646
|
-
return this.add("fontWeight", 500).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3647
|
-
}
|
|
3648
3636
|
/** Sets `fontWeight: 600; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3649
3637
|
get xsSb() {
|
|
3650
3638
|
return this.add("fontWeight", 600).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3651
3639
|
}
|
|
3652
|
-
/** Sets `fontWeight: 700; fontSize: "12px"; lineHeight: "16px"`. */
|
|
3653
|
-
get xsBd() {
|
|
3654
|
-
return this.add("fontWeight", 700).add("fontSize", "12px").add("lineHeight", "16px");
|
|
3655
|
-
}
|
|
3656
3640
|
/** Sets `fontWeight: 400; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3657
3641
|
get sm() {
|
|
3658
3642
|
return this.add("fontWeight", 400).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3659
3643
|
}
|
|
3660
|
-
/** Sets `fontWeight: 500; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3661
|
-
get smMd() {
|
|
3662
|
-
return this.add("fontWeight", 500).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3663
|
-
}
|
|
3664
3644
|
/** Sets `fontWeight: 600; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3665
3645
|
get smSb() {
|
|
3666
3646
|
return this.add("fontWeight", 600).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3667
3647
|
}
|
|
3668
|
-
/** Sets `fontWeight: 700; fontSize: "14px"; lineHeight: "20px"`. */
|
|
3669
|
-
get smBd() {
|
|
3670
|
-
return this.add("fontWeight", 700).add("fontSize", "14px").add("lineHeight", "20px");
|
|
3671
|
-
}
|
|
3672
3648
|
/** Sets `fontWeight: 400; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3673
|
-
get
|
|
3649
|
+
get md() {
|
|
3674
3650
|
return this.add("fontWeight", 400).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3675
3651
|
}
|
|
3676
|
-
/** Sets `fontWeight: 500; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3677
|
-
get baseMd() {
|
|
3678
|
-
return this.add("fontWeight", 500).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3679
|
-
}
|
|
3680
3652
|
/** Sets `fontWeight: 600; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3681
|
-
get
|
|
3653
|
+
get mdSb() {
|
|
3682
3654
|
return this.add("fontWeight", 600).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3683
3655
|
}
|
|
3684
|
-
/** Sets `fontWeight: 700; fontSize: "16px"; lineHeight: "24px"`. */
|
|
3685
|
-
get baseBd() {
|
|
3686
|
-
return this.add("fontWeight", 700).add("fontSize", "16px").add("lineHeight", "24px");
|
|
3687
|
-
}
|
|
3688
|
-
/** Sets `fontWeight: 400; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3689
|
-
get lg() {
|
|
3690
|
-
return this.add("fontWeight", 400).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3691
|
-
}
|
|
3692
|
-
/** Sets `fontWeight: 500; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3693
|
-
get lgMd() {
|
|
3694
|
-
return this.add("fontWeight", 500).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3695
|
-
}
|
|
3696
3656
|
/** Sets `fontWeight: 600; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3697
|
-
get
|
|
3657
|
+
get lg() {
|
|
3698
3658
|
return this.add("fontWeight", 600).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3699
3659
|
}
|
|
3700
|
-
/** Sets `fontWeight: 700; fontSize: "18px"; lineHeight: "28px"`. */
|
|
3701
|
-
get lgBd() {
|
|
3702
|
-
return this.add("fontWeight", 700).add("fontSize", "18px").add("lineHeight", "28px");
|
|
3703
|
-
}
|
|
3704
|
-
/** Sets `fontWeight: 400; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3705
|
-
get xl() {
|
|
3706
|
-
return this.add("fontWeight", 400).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3707
|
-
}
|
|
3708
|
-
/** Sets `fontWeight: 500; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3709
|
-
get xlMd() {
|
|
3710
|
-
return this.add("fontWeight", 500).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3711
|
-
}
|
|
3712
3660
|
/** Sets `fontWeight: 600; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3713
|
-
get
|
|
3661
|
+
get xl() {
|
|
3714
3662
|
return this.add("fontWeight", 600).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3715
3663
|
}
|
|
3716
|
-
/** Sets `fontWeight: 700; fontSize: "20px"; lineHeight: "28px"`. */
|
|
3717
|
-
get xlBd() {
|
|
3718
|
-
return this.add("fontWeight", 700).add("fontSize", "20px").add("lineHeight", "28px");
|
|
3719
|
-
}
|
|
3720
|
-
/** Sets `fontWeight: 400; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3721
|
-
get xl2() {
|
|
3722
|
-
return this.add("fontWeight", 400).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3723
|
-
}
|
|
3724
|
-
/** Sets `fontWeight: 500; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3725
|
-
get xl2Md() {
|
|
3726
|
-
return this.add("fontWeight", 500).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3727
|
-
}
|
|
3728
|
-
/** Sets `fontWeight: 600; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3729
|
-
get xl2Sb() {
|
|
3730
|
-
return this.add("fontWeight", 600).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3731
|
-
}
|
|
3732
|
-
/** Sets `fontWeight: 700; fontSize: "24px"; lineHeight: "32px"`. */
|
|
3733
|
-
get xl2Bd() {
|
|
3734
|
-
return this.add("fontWeight", 700).add("fontSize", "24px").add("lineHeight", "32px");
|
|
3735
|
-
}
|
|
3736
|
-
/** Sets `fontWeight: 400; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3737
|
-
get xl3() {
|
|
3738
|
-
return this.add("fontWeight", 400).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3739
|
-
}
|
|
3740
|
-
/** Sets `fontWeight: 500; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3741
|
-
get xl3Md() {
|
|
3742
|
-
return this.add("fontWeight", 500).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3743
|
-
}
|
|
3744
3664
|
/** Sets `fontWeight: 600; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3745
|
-
get
|
|
3665
|
+
get xl2() {
|
|
3746
3666
|
return this.add("fontWeight", 600).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3747
3667
|
}
|
|
3748
|
-
/** Sets `fontWeight: 700; fontSize: "30px"; lineHeight: "36px"`. */
|
|
3749
|
-
get xl3Bd() {
|
|
3750
|
-
return this.add("fontWeight", 700).add("fontSize", "30px").add("lineHeight", "36px");
|
|
3751
|
-
}
|
|
3752
|
-
/** Sets `fontWeight: 400; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3753
|
-
get xl4() {
|
|
3754
|
-
return this.add("fontWeight", 400).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3755
|
-
}
|
|
3756
|
-
/** Sets `fontWeight: 500; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3757
|
-
get xl4Md() {
|
|
3758
|
-
return this.add("fontWeight", 500).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3759
|
-
}
|
|
3760
|
-
/** Sets `fontWeight: 600; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3761
|
-
get xl4Sb() {
|
|
3762
|
-
return this.add("fontWeight", 600).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3763
|
-
}
|
|
3764
|
-
/** Sets `fontWeight: 700; fontSize: "36px"; lineHeight: "40px"`. */
|
|
3765
|
-
get xl4Bd() {
|
|
3766
|
-
return this.add("fontWeight", 700).add("fontSize", "36px").add("lineHeight", "40px");
|
|
3767
|
-
}
|
|
3768
|
-
/** Sets `fontWeight: 400; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3769
|
-
get xl5() {
|
|
3770
|
-
return this.add("fontWeight", 400).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3771
|
-
}
|
|
3772
|
-
/** Sets `fontWeight: 500; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3773
|
-
get xl5Md() {
|
|
3774
|
-
return this.add("fontWeight", 500).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3775
|
-
}
|
|
3776
|
-
/** Sets `fontWeight: 600; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3777
|
-
get xl5Sb() {
|
|
3778
|
-
return this.add("fontWeight", 600).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3779
|
-
}
|
|
3780
|
-
/** Sets `fontWeight: 700; fontSize: "48px"; lineHeight: "48px"`. */
|
|
3781
|
-
get xl5Bd() {
|
|
3782
|
-
return this.add("fontWeight", 700).add("fontSize", "48px").add("lineHeight", "48px");
|
|
3783
|
-
}
|
|
3784
3668
|
// typography
|
|
3785
3669
|
/** Sets `maxWidth: "30em"`. */
|
|
3786
3670
|
get measure() {
|
|
@@ -4151,9 +4035,9 @@ var CssBuilder = class _CssBuilder {
|
|
|
4151
4035
|
);
|
|
4152
4036
|
}
|
|
4153
4037
|
// buttonBase
|
|
4154
|
-
/** Sets `fontWeight:
|
|
4038
|
+
/** 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"`. */
|
|
4155
4039
|
get buttonBase() {
|
|
4156
|
-
return this.add("fontWeight",
|
|
4040
|
+
return this.add("fontWeight", 600).add("fontSize", "14px").add("lineHeight", "20px").add("outline", 0).add(
|
|
4157
4041
|
"borderRadius",
|
|
4158
4042
|
"8px"
|
|
4159
4043
|
).add("display", "inline-flex").add("alignItems", "center").add("whiteSpace", "nowrap").add(
|
|
@@ -5321,7 +5205,7 @@ var typeStyles = {
|
|
|
5321
5205
|
darkMode: Css.bgGray700.white.$,
|
|
5322
5206
|
info: Css.bgBlue100.$
|
|
5323
5207
|
};
|
|
5324
|
-
var chipBaseStyles = (compact) => Css.
|
|
5208
|
+
var chipBaseStyles = (compact) => Css.xsSb.dif.aic.br16.px1.gapPx(4).pyPx(pyHeight(compact)).mhPx(minhPx(compact)).gray900.bgGray200.$;
|
|
5325
5209
|
var pyHeight = (compact) => compact ? 2 : 4;
|
|
5326
5210
|
var minhPx = (compact) => compact ? 20 : 24;
|
|
5327
5211
|
|
|
@@ -5815,7 +5699,7 @@ function Header(props) {
|
|
|
5815
5699
|
const { displayMonth } = props;
|
|
5816
5700
|
const { goToMonth } = (0, import_react_day_picker2.useNavigation)();
|
|
5817
5701
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { css: Css.df.jcsb.aic.mlPx(12).mrPx(2).hPx(32).$, children: [
|
|
5818
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { css: Css.
|
|
5702
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { css: Css.md.$, children: (0, import_date_fns.format)(displayMonth, "MMMM yyyy") }),
|
|
5819
5703
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
5820
5704
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronLeft", onClick: () => goToMonth((0, import_date_fns.addMonths)(displayMonth, -1)) }),
|
|
5821
5705
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronRight", onClick: () => goToMonth((0, import_date_fns.addMonths)(displayMonth, 1)) })
|
|
@@ -5828,12 +5712,12 @@ function YearSkipHeader(props) {
|
|
|
5828
5712
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { css: Css.df.jcsb.aic.mlPx(12).mrPx(12).hPx(32).$, children: [
|
|
5829
5713
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { css: Css.df.fdr.jcsb.$, children: [
|
|
5830
5714
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronLeft", onClick: () => goToMonth((0, import_date_fns.addMonths)(displayMonth, -1)) }),
|
|
5831
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { css: Css.
|
|
5715
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { css: Css.md.$, children: (0, import_date_fns.format)(displayMonth, "MMM") }),
|
|
5832
5716
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronRight", onClick: () => goToMonth((0, import_date_fns.addMonths)(displayMonth, 1)) })
|
|
5833
5717
|
] }),
|
|
5834
5718
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { css: Css.df.fdr.jcsb.$, children: [
|
|
5835
5719
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronLeft", onClick: () => goToMonth((0, import_date_fns.addYears)(displayMonth, -1)) }),
|
|
5836
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { css: Css.
|
|
5720
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h1", { css: Css.md.$, children: (0, import_date_fns.format)(displayMonth, "yyyy") }),
|
|
5837
5721
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { color: "rgba(100, 100, 100, 1)" /* Gray700 */, icon: "chevronRight", onClick: () => goToMonth((0, import_date_fns.addYears)(displayMonth, 1)) })
|
|
5838
5722
|
] })
|
|
5839
5723
|
] });
|
|
@@ -5971,7 +5855,7 @@ function InlineLabel({ labelProps, label, contrast, multiline = false, ...others
|
|
|
5971
5855
|
{
|
|
5972
5856
|
...labelProps,
|
|
5973
5857
|
...others,
|
|
5974
|
-
css: Css.
|
|
5858
|
+
css: Css.sm.wsnw.gray900.prPx(4).add("color", "currentColor").asc.if(multiline).asfs.pt1.$,
|
|
5975
5859
|
children: [
|
|
5976
5860
|
label,
|
|
5977
5861
|
":"
|
|
@@ -6834,10 +6718,10 @@ var sizeToPixel = {
|
|
|
6834
6718
|
xl: 72
|
|
6835
6719
|
};
|
|
6836
6720
|
var sizeToFallbackTypeScale = {
|
|
6837
|
-
sm: "
|
|
6721
|
+
sm: "xs2",
|
|
6838
6722
|
md: "sm",
|
|
6839
6723
|
lg: "lg",
|
|
6840
|
-
xl: "
|
|
6724
|
+
xl: "xl2"
|
|
6841
6725
|
};
|
|
6842
6726
|
var sizeToIconInc = {
|
|
6843
6727
|
sm: 2.5,
|
|
@@ -6846,10 +6730,10 @@ var sizeToIconInc = {
|
|
|
6846
6730
|
xl: 8
|
|
6847
6731
|
};
|
|
6848
6732
|
var sizeToTypeScale = {
|
|
6849
|
-
sm: "
|
|
6850
|
-
md: "
|
|
6851
|
-
lg: "
|
|
6852
|
-
xl: "
|
|
6733
|
+
sm: "smSb",
|
|
6734
|
+
md: "smSb",
|
|
6735
|
+
lg: "md",
|
|
6736
|
+
xl: "md"
|
|
6853
6737
|
};
|
|
6854
6738
|
function nameToInitials(name) {
|
|
6855
6739
|
return name.split(" ").map((n) => n.length > 0 ? n[0].toUpperCase() : "").join("").slice(0, 3);
|
|
@@ -6968,7 +6852,7 @@ function NavLink(props) {
|
|
|
6968
6852
|
function getNavLinkStyles(variant, contrast) {
|
|
6969
6853
|
return navLinkVariantStyles(contrast)[variant];
|
|
6970
6854
|
}
|
|
6971
|
-
var baseStyles = Css.df.aic.hPx(32).pyPx(6).px1.br4.
|
|
6855
|
+
var baseStyles = Css.df.aic.hPx(32).pyPx(6).px1.br4.smSb.outline0.$;
|
|
6972
6856
|
var navLinkVariantStyles = (contrast) => ({
|
|
6973
6857
|
side: {
|
|
6974
6858
|
baseStyles: { ...baseStyles, ...Css.gray700.if(contrast).gray600.$ },
|
|
@@ -7427,16 +7311,16 @@ function memoizedTableStyles() {
|
|
|
7427
7311
|
const groupedLevels = {
|
|
7428
7312
|
0: {
|
|
7429
7313
|
cellCss: {
|
|
7430
|
-
...Css.
|
|
7314
|
+
...Css.xsSb.mhPx(56).gray700.bgGray100.boxShadow(`inset 0 -1px 0 ${"rgba(236, 235, 235, 1)" /* Gray200 */}`).$,
|
|
7431
7315
|
...allWhite && Css.bgWhite.$
|
|
7432
7316
|
},
|
|
7433
|
-
firstContentColumn: { ...Css.
|
|
7317
|
+
firstContentColumn: { ...Css.sm.$, ...allWhite && Css.smSb.gray900.$ }
|
|
7434
7318
|
},
|
|
7435
|
-
2: { firstContentColumn: Css.
|
|
7319
|
+
2: { firstContentColumn: Css.xs2.pl3.$ },
|
|
7436
7320
|
// Add 12 more pixels of padding for each level of nesting
|
|
7437
|
-
3: { firstContentColumn: Css.
|
|
7321
|
+
3: { firstContentColumn: Css.xs2.plPx(36).$ }
|
|
7438
7322
|
};
|
|
7439
|
-
const defaultLevels = { 1: { firstContentColumn: Css.
|
|
7323
|
+
const defaultLevels = { 1: { firstContentColumn: Css.xs2.pl3.$ } };
|
|
7440
7324
|
cache[key] = {
|
|
7441
7325
|
emptyCell: "-",
|
|
7442
7326
|
firstRowMessageCss: {
|
|
@@ -7449,11 +7333,11 @@ function memoizedTableStyles() {
|
|
|
7449
7333
|
// lineClamp requires `display: webkit-box`, which disables `align-items: center` (requires `display: flex/grid`)
|
|
7450
7334
|
// Header's will add `lineClamp2` more locally in their renders.
|
|
7451
7335
|
// Also `unset`-ing the white-space: nowrap defined in `cellCss` below.
|
|
7452
|
-
...Css.gray700.
|
|
7336
|
+
...Css.gray700.xsSb.bgGray200.aic.pxPx(12).whiteSpace("unset").hPx(40).$,
|
|
7453
7337
|
...allWhite && Css.bgWhite.$
|
|
7454
7338
|
},
|
|
7455
|
-
totalsCellCss: Css.bgWhite.gray700.bgGray100.
|
|
7456
|
-
expandableHeaderCss: Css.bgWhite.gray900.
|
|
7339
|
+
totalsCellCss: Css.bgWhite.gray700.bgGray100.xsSb.hPx(totalsRowHeight).pPx(12).$,
|
|
7340
|
+
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 */}`).$).$,
|
|
7457
7341
|
cellCss: {
|
|
7458
7342
|
...Css[cellTypography].gray900.bgWhite.ai(alignItems).pxPx(12).boxShadow(`inset 0 -1px 0 ${"rgba(236, 235, 235, 1)" /* Gray200 */}`).$,
|
|
7459
7343
|
...rowHeight === "flexible" ? Css.pyPx(12).$ : Css.wsnw.hPx(inlineEditing ? 48 : 36).$,
|
|
@@ -7480,7 +7364,7 @@ function memoizedTableStyles() {
|
|
|
7480
7364
|
},
|
|
7481
7365
|
levels: grouped ? groupedLevels : defaultLevels,
|
|
7482
7366
|
rowHoverColor: "rgba(239, 246, 255, 1)" /* Blue50 */,
|
|
7483
|
-
keptGroupRowCss: Css.bgYellow100.gray900.
|
|
7367
|
+
keptGroupRowCss: Css.bgYellow100.gray900.xsSb.df.aic.$,
|
|
7484
7368
|
keptLastRowCss: Css.boxShadow("inset 0px -14px 8px -11px rgba(63,63,63,.18)").$
|
|
7485
7369
|
};
|
|
7486
7370
|
}
|
|
@@ -7507,7 +7391,7 @@ var cardStyle = {
|
|
|
7507
7391
|
// Undo the card look & feel for the header
|
|
7508
7392
|
headerCellCss: {
|
|
7509
7393
|
...defaultStyle.headerCellCss,
|
|
7510
|
-
...Css.p1.m0.
|
|
7394
|
+
...Css.p1.m0.xsSb.gray700.$
|
|
7511
7395
|
},
|
|
7512
7396
|
rowHoverColor: "none",
|
|
7513
7397
|
nonHeaderRowHoverCss: Css.bshHover.bcGray700.$,
|
|
@@ -7650,7 +7534,7 @@ function ExpandableHeader(props) {
|
|
|
7650
7534
|
"button",
|
|
7651
7535
|
{
|
|
7652
7536
|
...hoverProps,
|
|
7653
|
-
css: Css.df.
|
|
7537
|
+
css: Css.df.xs.aic.jcsb.gap2.px1.hPx(32).mxPx(-8).w("calc(100% + 16px)").br4.blue700.if(isHovered).bgGray100.$,
|
|
7654
7538
|
onClick: async () => {
|
|
7655
7539
|
if (isFunction(column2.expandColumns)) {
|
|
7656
7540
|
setIsLoading(true);
|
|
@@ -8547,7 +8431,7 @@ function TextFieldBase(props) {
|
|
|
8547
8431
|
selectOnFocus = true,
|
|
8548
8432
|
inputStylePalette
|
|
8549
8433
|
} = props;
|
|
8550
|
-
const typeScale = fieldProps?.typeScale ??
|
|
8434
|
+
const typeScale = fieldProps?.typeScale ?? "sm";
|
|
8551
8435
|
const internalProps = props.internalProps || {};
|
|
8552
8436
|
const { compound = false, forceFocus = false, forceHover = false } = internalProps;
|
|
8553
8437
|
const errorMessageId = `${inputProps.id}-error`;
|
|
@@ -9676,7 +9560,7 @@ var disabledColor = Css.gray300.$;
|
|
|
9676
9560
|
var focusRingStyles = Css.bshFocus.$;
|
|
9677
9561
|
var hoverBorderStyles = Css.bcBlue900.$;
|
|
9678
9562
|
var markStyles = { ">svg": Css.absolute.topPx(-1).leftPx(-1).$ };
|
|
9679
|
-
var labelStyles = Css.
|
|
9563
|
+
var labelStyles = Css.sm.$;
|
|
9680
9564
|
var descStyles = Css.sm.gray700.$;
|
|
9681
9565
|
function StyledCheckbox(props) {
|
|
9682
9566
|
const { isDisabled = false, isIndeterminate = false, isSelected, isFocusVisible } = props;
|
|
@@ -10575,7 +10459,7 @@ function ComboBoxInput(props) {
|
|
|
10575
10459
|
startAdornment: showNumSelection && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Tooltip, { title: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectedOptionBullets, { labels: chipLabels }), children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
10576
10460
|
"span",
|
|
10577
10461
|
{
|
|
10578
|
-
css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.
|
|
10462
|
+
css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.xs2Sb.df.aic.jcc.$,
|
|
10579
10463
|
"data-testid": "selectedOptionsCount",
|
|
10580
10464
|
children: isTree ? selectedOptionsLabels?.length : state.selectionManager.selectedKeys.size
|
|
10581
10465
|
}
|
|
@@ -11583,7 +11467,7 @@ function IconCard(props) {
|
|
|
11583
11467
|
children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("button", { css: styles, ...hoverProps, onClick: toggleState.toggle, disabled: isDisabled, ...tid, children: [
|
|
11584
11468
|
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_aria32.VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("input", { ref, ...inputProps, ...tid.value }) }),
|
|
11585
11469
|
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, { icon, inc: 4, color: isDisabled ? "rgba(221, 220, 220, 1)" /* Gray300 */ : "rgba(36, 36, 36, 1)" /* Gray900 */ }),
|
|
11586
|
-
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { css: Css.
|
|
11470
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { css: Css.xs.if(isDisabled).gray300.$, children: label })
|
|
11587
11471
|
] })
|
|
11588
11472
|
});
|
|
11589
11473
|
}
|
|
@@ -11909,7 +11793,7 @@ function Radio(props) {
|
|
|
11909
11793
|
"div",
|
|
11910
11794
|
{
|
|
11911
11795
|
id: labelId,
|
|
11912
|
-
css: Css.
|
|
11796
|
+
css: Css.sm.gray800.if(disabled).gray400.$,
|
|
11913
11797
|
...description ? { "aria-describedby": descriptionId } : {},
|
|
11914
11798
|
children: label
|
|
11915
11799
|
}
|
|
@@ -12259,7 +12143,7 @@ function Switch(props) {
|
|
|
12259
12143
|
)
|
|
12260
12144
|
}
|
|
12261
12145
|
) }),
|
|
12262
|
-
labelStyle === "inline" && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Label, { label, tooltip, inline: true, xss: Css.
|
|
12146
|
+
labelStyle === "inline" && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Label, { label, tooltip, inline: true, xss: Css.sm.gray900.if(compact).add("lineHeight", "1").$ }),
|
|
12263
12147
|
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react_aria35.VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("input", { ref, ...inputProps, ...focusProps, ...tid }) })
|
|
12264
12148
|
]
|
|
12265
12149
|
}
|
|
@@ -12436,7 +12320,7 @@ function ToggleButton(props) {
|
|
|
12436
12320
|
...hoverProps,
|
|
12437
12321
|
...pressProps,
|
|
12438
12322
|
css: {
|
|
12439
|
-
...Css.br4.dif.aic.gap1.bgTransparent.gray500.hPx(32).plPx(4).pr1.relative.cursorPointer.w("max-content").
|
|
12323
|
+
...Css.br4.dif.aic.gap1.bgTransparent.gray500.hPx(32).plPx(4).pr1.relative.cursorPointer.w("max-content").sm.usn.$,
|
|
12440
12324
|
...isHovered && toggleHoverStyles,
|
|
12441
12325
|
...isPressed && togglePressStyles,
|
|
12442
12326
|
...isSelected && !isDisabled && Css.blue700.$,
|
|
@@ -13990,8 +13874,8 @@ function Accordion(props) {
|
|
|
13990
13874
|
}, [index, setExpandedIndex, onToggle]);
|
|
13991
13875
|
const touchableStyle = (0, import_react70.useMemo)(
|
|
13992
13876
|
() => ({
|
|
13993
|
-
...Css.df.jcsb.gapPx(12).aic.p2.
|
|
13994
|
-
...compact && Css.
|
|
13877
|
+
...Css.df.jcsb.gapPx(12).aic.p2.md.outline("none").onHover.bgGray100.if(!!titleOnClick).mdSb.$,
|
|
13878
|
+
...compact && Css.sm.pl2.prPx(10).py1.bgGray100.mbPx(4).br8.onHover.bgGray200.$,
|
|
13995
13879
|
...compact && !!titleOnClick && Css.br0.$,
|
|
13996
13880
|
...disabled && Css.gray500.$,
|
|
13997
13881
|
...isFocusVisible && Css.boxShadow(`inset 0 0 0 2px ${"rgba(29, 78, 216, 1)" /* Blue700 */}`).$,
|
|
@@ -14137,7 +14021,7 @@ function AutoSaveIndicator({ hideOnIdle, doNotReset }) {
|
|
|
14137
14021
|
}
|
|
14138
14022
|
}
|
|
14139
14023
|
function Indicator({ text, icon, color }) {
|
|
14140
|
-
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { "data-testid": "autoSave", css: Css.df.gap1.aic.gray700.
|
|
14024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { "data-testid": "autoSave", css: Css.df.gap1.aic.gray700.smSb.$, children: [
|
|
14141
14025
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Icon, { icon, color }),
|
|
14142
14026
|
text
|
|
14143
14027
|
] });
|
|
@@ -14148,7 +14032,7 @@ var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
|
|
|
14148
14032
|
function Banner(props) {
|
|
14149
14033
|
const { type, message, onClose = false, showIcon = true, ...others } = props;
|
|
14150
14034
|
const tid = useTestIds(others, "banner");
|
|
14151
|
-
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: { ...variantStyles2[type], ...Css.df.aic.w100.gap1.p2.gray900.
|
|
14035
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: { ...variantStyles2[type], ...Css.df.aic.w100.gap1.p2.gray900.md.bshBasic.$ }, ...tid, role: "alert", children: [
|
|
14152
14036
|
showIcon && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { css: Css.fs0.$, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Icon, { icon: typeToIcon[type], ...tid.type, color: "rgba(36, 36, 36, 1)" /* Gray900 */ }) }),
|
|
14153
14037
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { css: Css.fg1.$, ...tid.message, children: message }),
|
|
14154
14038
|
onClose && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { css: Css.lh(0).$, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(IconButton, { icon: "x", onClick: onClose, ...tid.close, color: "rgba(36, 36, 36, 1)" /* Gray900 */ }) })
|
|
@@ -14308,7 +14192,7 @@ function Modal(props) {
|
|
|
14308
14192
|
children: [
|
|
14309
14193
|
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("header", { css: Css.df.fdrr.p3.fs0.if(drawHeaderBorder).bb.bcGray200.$, children: [
|
|
14310
14194
|
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { css: Css.fs0.pl1.$, children: allowClosing && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(IconButton, { icon: "x", onClick: closeModal, ...testId.titleClose }) }),
|
|
14311
|
-
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h1", { css: Css.fg1.
|
|
14195
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h1", { css: Css.fg1.xl2.gray900.$, ref: modalHeaderRef, ...titleProps, ...testId.title })
|
|
14312
14196
|
] }),
|
|
14313
14197
|
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("main", { ref: modalBodyRef, css: Css.fg1.oya.if(hasScroll).bb.bcGray200.if(!!forceScrolling).oys.$, children: content }),
|
|
14314
14198
|
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("footer", { css: Css.fs0.$, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { ref: modalFooterRef }) })
|
|
@@ -14369,7 +14253,7 @@ function SnackbarNotice(props) {
|
|
|
14369
14253
|
const { icon, message, action, hideCloseButton, persistent, onClose } = props;
|
|
14370
14254
|
const tid = useTestIds(props, "snackbar");
|
|
14371
14255
|
const reallyHideClose = hideCloseButton && !persistent;
|
|
14372
|
-
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { css: Css.white.bgGray800.br4.
|
|
14256
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { css: Css.white.bgGray800.br4.md.df.aic.maxwPx(420).$, ...tid, role: "alert", children: [
|
|
14373
14257
|
icon && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { css: Css.fs0.plPx(12).$, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Icon, { ...typeToIcon2[icon], ...tid.icon }) }),
|
|
14374
14258
|
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
14375
14259
|
"span",
|
|
@@ -14490,7 +14374,7 @@ function SuperDrawer() {
|
|
|
14490
14374
|
onClick: (e) => e.stopPropagation(),
|
|
14491
14375
|
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(AutoSaveStatusProvider, { children: [
|
|
14492
14376
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("header", { css: Css.p3.bb.bcGray200.df.aic.jcsb.gap3.$, children: [
|
|
14493
|
-
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { ref: headerRef, css: Css.gray900.fg1.addIn("& h1", Css.
|
|
14377
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { ref: headerRef, css: Css.gray900.fg1.addIn("& h1", Css.xl2.$).$ }),
|
|
14494
14378
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(IconButton, { icon: "x", onClick: closeDrawer, ...testId.close })
|
|
14495
14379
|
] }),
|
|
14496
14380
|
content
|
|
@@ -14903,7 +14787,7 @@ function ListFieldRowInputs({
|
|
|
14903
14787
|
const tid = useTestIds({}, "listFieldRow");
|
|
14904
14788
|
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
|
|
14905
14789
|
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { css: Css.df.jcsb.$, ...tid, children: [
|
|
14906
|
-
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("span", { css: Css.
|
|
14790
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("span", { css: Css.mdSb.$, ...tid.name, children: [
|
|
14907
14791
|
listFieldConfig.name,
|
|
14908
14792
|
" ",
|
|
14909
14793
|
rowNumber
|
|
@@ -15658,7 +15542,7 @@ function FormHeading(props) {
|
|
|
15658
15542
|
"h3",
|
|
15659
15543
|
{
|
|
15660
15544
|
css: {
|
|
15661
|
-
...Css.
|
|
15545
|
+
...Css.md.$,
|
|
15662
15546
|
// Add space before the heading, but only if it's not first.
|
|
15663
15547
|
...!isFirst && Css.mt4.$,
|
|
15664
15548
|
...xss
|
|
@@ -15680,7 +15564,7 @@ function StaticField(props) {
|
|
|
15680
15564
|
const id = (0, import_utils99.useId)();
|
|
15681
15565
|
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { css: Css.if(labelStyle === "left").df.jcsb.maxw100.$, ...tid.container, children: [
|
|
15682
15566
|
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("label", { css: Css.db.sm.gray700.mbPx(4).$, htmlFor: id, ...tid.label, children: label }),
|
|
15683
|
-
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { id, css: Css.
|
|
15567
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { id, css: Css.sm.gray900.df.aic.if(labelStyle === "left").w50.$, ...tid, children: value || children })
|
|
15684
15568
|
] });
|
|
15685
15569
|
}
|
|
15686
15570
|
|
|
@@ -15818,8 +15702,8 @@ function PageHeaderBreadcrumbs({ breadcrumb }) {
|
|
|
15818
15702
|
const tids = useTestIds({}, "pageHeaderBreadcrumbs");
|
|
15819
15703
|
const breadcrumbs = Array.isArray(breadcrumb) ? breadcrumb : [breadcrumb];
|
|
15820
15704
|
return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { css: Css.df.aic.mbPx(4).$, ...tids, children: breadcrumbs.map((breadcrumb2, i) => /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_react86.Fragment, { children: [
|
|
15821
|
-
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("span", { css: Css.
|
|
15822
|
-
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_react_router_dom4.Link, { to: breadcrumb2.href, css: Css.
|
|
15705
|
+
i > 0 && /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("span", { css: Css.smSb.gray700.mr1.ml1.$, children: "/" }),
|
|
15706
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_react_router_dom4.Link, { to: breadcrumb2.href, css: Css.smSb.gray700.onHover.gray900.$, className: "navLink", ...tids.navLink, children: breadcrumb2.label })
|
|
15823
15707
|
] }, `bc-${breadcrumb2.label}`)) });
|
|
15824
15708
|
}
|
|
15825
15709
|
|
|
@@ -15863,7 +15747,7 @@ function PageHeader(props) {
|
|
|
15863
15747
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { css: Css.py2.px3.df.jcsb.aic.$, children: [
|
|
15864
15748
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { children: [
|
|
15865
15749
|
breadCrumb && /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(PageHeaderBreadcrumbs, { breadcrumb: breadCrumb }),
|
|
15866
|
-
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("h1", { css: Css.
|
|
15750
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("h1", { css: Css.xl2.$, ...tids.pageTitle, children: pageTitle })
|
|
15867
15751
|
] }),
|
|
15868
15752
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { css: Css.df.gap1.$, children: [
|
|
15869
15753
|
tertiaryAction && /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
@@ -15907,7 +15791,7 @@ function FormSections(props) {
|
|
|
15907
15791
|
children: [
|
|
15908
15792
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("div", { css: Css.gc(1).$, children: section.icon && /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Icon, { icon: section.icon, inc: 3.5 }) }),
|
|
15909
15793
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { css: Css.gc(2).$, children: [
|
|
15910
|
-
section.title && /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("h2", { css: Css.
|
|
15794
|
+
section.title && /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("h2", { css: Css.xl.mb3.$, children: section.title }),
|
|
15911
15795
|
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(BoundForm, { formState, rows: section.rows })
|
|
15912
15796
|
] })
|
|
15913
15797
|
]
|
|
@@ -15934,8 +15818,8 @@ function LeftNav(props) {
|
|
|
15934
15818
|
`nav-${sectionWithRef.sectionKey}`
|
|
15935
15819
|
)) });
|
|
15936
15820
|
}
|
|
15937
|
-
var activeStyles2 = Css.
|
|
15938
|
-
var hoverStyles2 = Css.bgBlue50.
|
|
15821
|
+
var activeStyles2 = Css.smSb.boxShadow(`inset 3px 0px 0 0px ${"rgba(37, 99, 235, 1)" /* Blue600 */}`).$;
|
|
15822
|
+
var hoverStyles2 = Css.bgBlue50.smSb.blue900.boxShadow(`inset 3px 0px 0 0px ${"rgba(30, 58, 138, 1)" /* Blue900 */}`).$;
|
|
15939
15823
|
var defaultFocusRingStyles = Css.relative.z2.bshFocus.$;
|
|
15940
15824
|
function SectionNavLink(props) {
|
|
15941
15825
|
const { sectionWithRef, activeSection } = props;
|
|
@@ -15957,7 +15841,7 @@ function SectionNavLink(props) {
|
|
|
15957
15841
|
...focusProps,
|
|
15958
15842
|
...hoverProps,
|
|
15959
15843
|
css: {
|
|
15960
|
-
...Css.buttonBase.wsn.tal.
|
|
15844
|
+
...Css.buttonBase.wsn.tal.smSb.blue600.px2.py1.br0.h100.$,
|
|
15961
15845
|
...isFocusVisible ? defaultFocusRingStyles : {},
|
|
15962
15846
|
...active ? activeStyles2 : {},
|
|
15963
15847
|
...isPressed ? activeStyles2 : isHovered ? hoverStyles2 : {}
|
|
@@ -16521,7 +16405,7 @@ function FilterModal(props) {
|
|
|
16521
16405
|
}
|
|
16522
16406
|
function ModalFilterItem({ label, children }) {
|
|
16523
16407
|
return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { css: Css.mb4.if(!label).bt.bcGray200.$, children: [
|
|
16524
|
-
label && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("h2", { css: Css.
|
|
16408
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("h2", { css: Css.md.mb2.$, children: label }),
|
|
16525
16409
|
/* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { css: Css.if(!label).pt3.$, children })
|
|
16526
16410
|
] });
|
|
16527
16411
|
}
|
|
@@ -16612,7 +16496,7 @@ function Filters(props) {
|
|
|
16612
16496
|
Button,
|
|
16613
16497
|
{
|
|
16614
16498
|
label: "More Filters",
|
|
16615
|
-
endAdornment: numModalFilters > 0 && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("span", { css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.
|
|
16499
|
+
endAdornment: numModalFilters > 0 && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("span", { css: Css.wPx(16).hPx(16).fs0.br100.bgBlue700.white.xs2Sb.df.aic.jcc.$, children: numModalFilters }),
|
|
16616
16500
|
variant: "secondary",
|
|
16617
16501
|
onClick: () => openModal({
|
|
16618
16502
|
// Spreading `props` to pass along `data-testid`
|
|
@@ -16800,7 +16684,7 @@ function Header2(props) {
|
|
|
16800
16684
|
return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(FullBleed, { children: /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)("header", { css: { ...Css.p3.mb3.mhPx(50).bgWhite.df.jcsb.aic.$ }, ...tids.header, children: [
|
|
16801
16685
|
/* @__PURE__ */ (0, import_jsx_runtime141.jsxs)("div", { children: [
|
|
16802
16686
|
breadcrumb && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(PageHeaderBreadcrumbs, { breadcrumb }),
|
|
16803
|
-
/* @__PURE__ */ (0, import_jsx_runtime141.jsx)("h1", { css: Css.
|
|
16687
|
+
/* @__PURE__ */ (0, import_jsx_runtime141.jsx)("h1", { css: Css.xl2.mt1.$, ...tids.pageTitle, children: pageTitle })
|
|
16804
16688
|
] }),
|
|
16805
16689
|
/* @__PURE__ */ (0, import_jsx_runtime141.jsxs)("div", { css: Css.df.fwr.jcfe.gap1.$, children: [
|
|
16806
16690
|
tertiaryAction && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(Button, { ...tertiaryAction, variant: "tertiary" }),
|
|
@@ -17177,7 +17061,7 @@ function Tag(props) {
|
|
|
17177
17061
|
});
|
|
17178
17062
|
return maybeTooltip({
|
|
17179
17063
|
title: !preventTooltip && showTooltip ? text : void 0,
|
|
17180
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("span", { ...tid, css: { ...Css.dif.
|
|
17064
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("span", { ...tid, css: { ...Css.dif.xs2Sb.ttu.aic.gapPx(4).pxPx(6).pyPx(2).gray900.br4.$, ...typeStyles2, ...xss }, children: [
|
|
17181
17065
|
otherProps.icon && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("span", { css: Css.fs0.$, children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(Icon, { icon: otherProps.icon, inc: 1.5 }) }),
|
|
17182
17066
|
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)("span", { ref, css: Css.lineClamp1.wbba.$, children: text })
|
|
17183
17067
|
] })
|
|
@@ -17248,8 +17132,8 @@ function Card(props) {
|
|
|
17248
17132
|
tag && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)("div", { css: Css.absolute.left1.topPx(4).$, children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Tag, { type: tag?.type, text: tag?.text, ...tid.tag }) }),
|
|
17249
17133
|
/* @__PURE__ */ (0, import_jsx_runtime150.jsxs)("div", { css: Css.df.fdc.aifs.gap1.$, children: [
|
|
17250
17134
|
/* @__PURE__ */ (0, import_jsx_runtime150.jsxs)("div", { children: [
|
|
17251
|
-
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)("div", { css: Css.
|
|
17252
|
-
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)("div", { css: Css.
|
|
17135
|
+
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)("div", { css: Css.xsSb.gray700.$, ...tid.subtitle, children: subtitle }),
|
|
17136
|
+
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)("div", { css: Css.smSb.gray900.if(isHovered).blue700.$, ...tid.title, children: title })
|
|
17253
17137
|
] }),
|
|
17254
17138
|
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)("div", { ...tid.details, children: detailContent })
|
|
17255
17139
|
] })
|
|
@@ -17691,7 +17575,7 @@ function MaxLines({ maxLines, children }) {
|
|
|
17691
17575
|
(0, import_utils119.useResizeObserver)({ ref: elRef, onResize });
|
|
17692
17576
|
return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { children: [
|
|
17693
17577
|
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ref: elRef, css: Css.if(!expanded).lineClamp(maxLines).$, children }),
|
|
17694
|
-
hasMore && /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("button", { css: Css.db.
|
|
17578
|
+
hasMore && /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("button", { css: Css.db.sm.$, onClick: () => setExpanded((prev) => !prev), children: expanded ? "Show Less" : "Show More" })
|
|
17695
17579
|
] });
|
|
17696
17580
|
}
|
|
17697
17581
|
|
|
@@ -18365,7 +18249,7 @@ function getTabStyles() {
|
|
|
18365
18249
|
const borderBottomStyles = Css.bb.add("borderBottomWidth", `${borderBottomWidthPx}px`).pbPx(verticalPaddingPx - borderBottomWidthPx).$;
|
|
18366
18250
|
return {
|
|
18367
18251
|
baseStyles: Css.df.aic.hPx(32).pyPx(verticalPaddingPx).px1.outline0.gray700.add("width", "fit-content").cursorPointer.sm.$,
|
|
18368
|
-
activeStyles: Css.add(borderBottomStyles).bcBlue700.
|
|
18252
|
+
activeStyles: Css.add(borderBottomStyles).bcBlue700.smSb.gray900.$,
|
|
18369
18253
|
disabledStyles: Css.gray400.cursorNotAllowed.$,
|
|
18370
18254
|
focusRingStyles: Css.bgBlue50.bshFocus.$,
|
|
18371
18255
|
hoverStyles: Css.add(borderBottomStyles).bcGray400.$,
|