@thecb/components 11.6.4-beta.0 → 11.6.5-beta.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.js +125 -74
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +32 -5
- package/dist/index.esm.js +125 -74
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/alert/Alert.theme.js +5 -5
- package/src/components/atoms/badge/Badge.js +39 -25
- package/src/components/atoms/badge/Badge.stories.js +24 -3
- package/src/components/atoms/badge/Badge.theme.js +49 -1
- package/src/components/atoms/badge/index.d.ts +11 -0
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +40 -38
- package/src/components/atoms/dropdown/Dropdown.theme.js +6 -6
- package/src/components/atoms/dropdown/index.d.ts +1 -1
- package/src/components/atoms/form-select/FormSelect.styled.js +2 -2
- package/src/components/atoms/form-select/FormSelect.theme.js +6 -3
- package/src/components/atoms/icons/PeriscopeFailedIcon.js +2 -2
- package/src/components/atoms/index.d.ts +1 -0
- package/src/components/molecules/collapsible-section/index.d.ts +2 -2
- package/src/constants/colors.d.ts +4 -0
- package/src/constants/style_constants.js +1 -0
- package/src/deprecated/icons/AlertInfoIcon.js +1 -1
- package/src/components/.DS_Store +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -356,6 +356,8 @@ var BORDER_RADIUS = {
|
|
|
356
356
|
};
|
|
357
357
|
var BORDER_THIN = "1px";
|
|
358
358
|
var FONT_SIZE = {
|
|
359
|
+
XXS: "0.625rem",
|
|
360
|
+
// 10px
|
|
359
361
|
XS: "0.750rem",
|
|
360
362
|
// 12px
|
|
361
363
|
SM: "0.875rem",
|
|
@@ -11728,14 +11730,15 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
11728
11730
|
|
|
11729
11731
|
var WHITE$1 = WHITE,
|
|
11730
11732
|
TRANSPARENT$1 = TRANSPARENT,
|
|
11731
|
-
SAPPHIRE_BLUE$1 = SAPPHIRE_BLUE,
|
|
11732
11733
|
PEACOCK_BLUE$1 = PEACOCK_BLUE,
|
|
11733
11734
|
MANATEE_GREY$1 = MANATEE_GREY,
|
|
11734
|
-
|
|
11735
|
+
LUCKY_POINT$1 = LUCKY_POINT,
|
|
11735
11736
|
HINT_GREEN$1 = HINT_GREEN,
|
|
11736
11737
|
SEA_GREEN$1 = SEA_GREEN,
|
|
11737
11738
|
RASPBERRY$1 = RASPBERRY,
|
|
11738
|
-
ERROR_COLOR$1 = ERROR_COLOR
|
|
11739
|
+
ERROR_COLOR$1 = ERROR_COLOR,
|
|
11740
|
+
LUCKY_POINT_DARK$1 = LUCKY_POINT_DARK,
|
|
11741
|
+
HAWKES_BLUE$1 = HAWKES_BLUE;
|
|
11739
11742
|
var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
|
|
11740
11743
|
var disabledBorderColor = {
|
|
11741
11744
|
primary: MANATEE_GREY$1,
|
|
@@ -11803,13 +11806,13 @@ var padding = {
|
|
|
11803
11806
|
};
|
|
11804
11807
|
var color$2 = {
|
|
11805
11808
|
primary: WHITE$1,
|
|
11806
|
-
secondary:
|
|
11807
|
-
back:
|
|
11809
|
+
secondary: LUCKY_POINT$1,
|
|
11810
|
+
back: LUCKY_POINT$1,
|
|
11808
11811
|
smallPrimary: WHITE$1,
|
|
11809
|
-
smallSecondary:
|
|
11810
|
-
smallGhost:
|
|
11811
|
-
ghost:
|
|
11812
|
-
tertiary:
|
|
11812
|
+
smallSecondary: LUCKY_POINT$1,
|
|
11813
|
+
smallGhost: LUCKY_POINT$1,
|
|
11814
|
+
ghost: LUCKY_POINT$1,
|
|
11815
|
+
tertiary: LUCKY_POINT$1,
|
|
11813
11816
|
danger: WHITE$1,
|
|
11814
11817
|
dangerSecondary: ERROR_COLOR$1,
|
|
11815
11818
|
whitePrimary: WHITE$1,
|
|
@@ -11898,10 +11901,10 @@ var textDecoration = {
|
|
|
11898
11901
|
greenSecondary: "none"
|
|
11899
11902
|
};
|
|
11900
11903
|
var backgroundColor = {
|
|
11901
|
-
primary:
|
|
11904
|
+
primary: LUCKY_POINT$1,
|
|
11902
11905
|
secondary: TRANSPARENT$1,
|
|
11903
11906
|
back: TRANSPARENT$1,
|
|
11904
|
-
smallPrimary:
|
|
11907
|
+
smallPrimary: LUCKY_POINT$1,
|
|
11905
11908
|
smallSecondary: TRANSPARENT$1,
|
|
11906
11909
|
smallGhost: TRANSPARENT$1,
|
|
11907
11910
|
ghost: TRANSPARENT$1,
|
|
@@ -11914,11 +11917,11 @@ var backgroundColor = {
|
|
|
11914
11917
|
greenSecondary: TRANSPARENT$1
|
|
11915
11918
|
};
|
|
11916
11919
|
var border = {
|
|
11917
|
-
primary: "2px solid " +
|
|
11918
|
-
secondary: "2px solid " +
|
|
11919
|
-
back: "2px solid " +
|
|
11920
|
-
smallPrimary: "2px solid " +
|
|
11921
|
-
smallSecondary: "2px solid " +
|
|
11920
|
+
primary: "2px solid " + LUCKY_POINT$1,
|
|
11921
|
+
secondary: "2px solid " + LUCKY_POINT$1,
|
|
11922
|
+
back: "2px solid " + LUCKY_POINT$1,
|
|
11923
|
+
smallPrimary: "2px solid " + LUCKY_POINT$1,
|
|
11924
|
+
smallSecondary: "2px solid " + LUCKY_POINT$1,
|
|
11922
11925
|
smallGhost: "none",
|
|
11923
11926
|
ghost: "none",
|
|
11924
11927
|
tertiary: "none",
|
|
@@ -11930,11 +11933,11 @@ var border = {
|
|
|
11930
11933
|
greenSecondary: "2px solid " + SEA_GREEN$1
|
|
11931
11934
|
};
|
|
11932
11935
|
var hoverBackgroundColor = {
|
|
11933
|
-
primary:
|
|
11934
|
-
secondary:
|
|
11936
|
+
primary: LUCKY_POINT_DARK$1,
|
|
11937
|
+
secondary: HAWKES_BLUE$1,
|
|
11935
11938
|
back: TRANSPARENT$1,
|
|
11936
|
-
smallPrimary:
|
|
11937
|
-
smallSecondary:
|
|
11939
|
+
smallPrimary: LUCKY_POINT_DARK$1,
|
|
11940
|
+
smallSecondary: HAWKES_BLUE$1,
|
|
11938
11941
|
smallGhost: TRANSPARENT$1,
|
|
11939
11942
|
ghost: TRANSPARENT$1,
|
|
11940
11943
|
tertiary: TRANSPARENT$1,
|
|
@@ -11946,11 +11949,11 @@ var hoverBackgroundColor = {
|
|
|
11946
11949
|
greenSecondary: HINT_GREEN$1
|
|
11947
11950
|
};
|
|
11948
11951
|
var hoverBorderColor = {
|
|
11949
|
-
primary:
|
|
11950
|
-
secondary:
|
|
11952
|
+
primary: LUCKY_POINT_DARK$1,
|
|
11953
|
+
secondary: LUCKY_POINT$1,
|
|
11951
11954
|
back: "#DCEAF1",
|
|
11952
|
-
smallPrimary:
|
|
11953
|
-
smallSecondary:
|
|
11955
|
+
smallPrimary: LUCKY_POINT_DARK$1,
|
|
11956
|
+
smallSecondary: LUCKY_POINT$1,
|
|
11954
11957
|
smallGhost: TRANSPARENT$1,
|
|
11955
11958
|
ghost: TRANSPARENT$1,
|
|
11956
11959
|
tertiary: TRANSPARENT$1,
|
|
@@ -11963,13 +11966,13 @@ var hoverBorderColor = {
|
|
|
11963
11966
|
};
|
|
11964
11967
|
var hoverColor = {
|
|
11965
11968
|
primary: WHITE$1,
|
|
11966
|
-
secondary:
|
|
11967
|
-
back:
|
|
11969
|
+
secondary: LUCKY_POINT$1,
|
|
11970
|
+
back: LUCKY_POINT$1,
|
|
11968
11971
|
smallPrimary: WHITE$1,
|
|
11969
|
-
smallSecondary:
|
|
11970
|
-
smallGhost:
|
|
11971
|
-
ghost:
|
|
11972
|
-
tertiary:
|
|
11972
|
+
smallSecondary: LUCKY_POINT$1,
|
|
11973
|
+
smallGhost: LUCKY_POINT$1,
|
|
11974
|
+
ghost: LUCKY_POINT$1,
|
|
11975
|
+
tertiary: LUCKY_POINT$1,
|
|
11973
11976
|
danger: WHITE$1,
|
|
11974
11977
|
dangerSecondary: "#B10541",
|
|
11975
11978
|
whitePrimary: WHITE$1,
|
|
@@ -11978,11 +11981,11 @@ var hoverColor = {
|
|
|
11978
11981
|
greenSecondary: SEA_GREEN$1
|
|
11979
11982
|
};
|
|
11980
11983
|
var activeBackgroundColor = {
|
|
11981
|
-
primary:
|
|
11982
|
-
secondary: "
|
|
11984
|
+
primary: LUCKY_POINT_DARK$1,
|
|
11985
|
+
secondary: adjustHexColor(HAWKES_BLUE$1, 10, "darken"),
|
|
11983
11986
|
back: TRANSPARENT$1,
|
|
11984
|
-
smallPrimary:
|
|
11985
|
-
smallSecondary: "
|
|
11987
|
+
smallPrimary: LUCKY_POINT_DARK$1,
|
|
11988
|
+
smallSecondary: adjustHexColor(HAWKES_BLUE$1, 10, "darken"),
|
|
11986
11989
|
smallGhost: TRANSPARENT$1,
|
|
11987
11990
|
ghost: TRANSPARENT$1,
|
|
11988
11991
|
tertiary: TRANSPARENT$1,
|
|
@@ -11994,11 +11997,11 @@ var activeBackgroundColor = {
|
|
|
11994
11997
|
greenSecondary: adjustHexColor(HINT_GREEN$1, 5, "darken")
|
|
11995
11998
|
};
|
|
11996
11999
|
var activeBorderColor = {
|
|
11997
|
-
primary:
|
|
11998
|
-
secondary:
|
|
12000
|
+
primary: adjustHexColor(LUCKY_POINT_DARK$1, 10, "darken"),
|
|
12001
|
+
secondary: LUCKY_POINT$1,
|
|
11999
12002
|
back: PEACOCK_BLUE$1,
|
|
12000
|
-
smallPrimary:
|
|
12001
|
-
smallSecondary:
|
|
12003
|
+
smallPrimary: adjustHexColor(LUCKY_POINT_DARK$1, 10, "darken"),
|
|
12004
|
+
smallSecondary: LUCKY_POINT$1,
|
|
12002
12005
|
smallGhost: TRANSPARENT$1,
|
|
12003
12006
|
ghost: TRANSPARENT$1,
|
|
12004
12007
|
tertiary: TRANSPARENT$1,
|
|
@@ -12011,7 +12014,7 @@ var activeBorderColor = {
|
|
|
12011
12014
|
};
|
|
12012
12015
|
var activeColor = {
|
|
12013
12016
|
primary: WHITE$1,
|
|
12014
|
-
secondary:
|
|
12017
|
+
secondary: LUCKY_POINT$1,
|
|
12015
12018
|
back: PEACOCK_BLUE$1,
|
|
12016
12019
|
smallPrimary: WHITE$1,
|
|
12017
12020
|
smallSecondary: PEACOCK_BLUE$1,
|
|
@@ -16197,7 +16200,7 @@ var PeriscopeFailedIcon = function PeriscopeFailedIcon() {
|
|
|
16197
16200
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
16198
16201
|
transform: "translate(288 64)"
|
|
16199
16202
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16200
|
-
fill: "#
|
|
16203
|
+
fill: "#281978",
|
|
16201
16204
|
fillOpacity: "0.3",
|
|
16202
16205
|
d: "M302.247 310.746c36.612 0 66.292 6.549 66.292 14.627S338.86 340 302.247 340c-36.613 0-66.292-6.55-66.292-14.627 0-8.078 29.68-14.627 66.292-14.627zM65.904 208.318c6.071 0 11.057 4.655 11.608 10.6a6.983 6.983 0 014.09-1.321c3.885 0 7.034 3.159 7.034 7.055 0 3.818-3.022 6.926-6.798 7.051l-.237.004H49.756c-4.548 0-8.234-3.696-8.234-8.256 0-4.56 3.686-8.257 8.234-8.257 1.848 0 3.549.618 4.923 1.65 1.378-4.919 5.88-8.526 11.225-8.526zm195.894-57.546c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.134 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm80.899 0c16.134 0 29.213 13.097 29.213 29.254 0 16.157-13.08 29.254-29.213 29.254-16.135 0-29.214-13.097-29.214-29.254 0-16.157 13.08-29.254 29.214-29.254zm-80.899 22.503c-5.514 0-10.317 3.673-12.173 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.658-9.018-12.172-9.018zm80.9 0c-5.515 0-10.318 3.673-12.174 9.018a3.377 3.377 0 002.077 4.297 3.37 3.37 0 004.29-2.08l.16-.42c1.027-2.474 3.233-4.064 5.646-4.064 2.547 0 4.863 1.771 5.805 4.484l.12.302a3.37 3.37 0 004.17 1.778 3.377 3.377 0 002.077-4.297c-1.855-5.345-6.659-9.018-12.172-9.018zM519.99 12.426c12.578 0 22.908 9.642 24.048 21.958a14.473 14.473 0 018.471-2.737c8.049 0 14.575 6.544 14.575 14.617 0 7.966-6.358 14.445-14.262 14.612l-.313.003H486.54c-9.42 0-17.057-7.658-17.057-17.106 0-9.446 7.637-17.104 17.057-17.104 3.83 0 7.352 1.281 10.2 3.418 2.855-10.189 12.179-17.66 23.252-17.66zM170.591 0c6.61 0 12.239 4.15 14.476 9.99a6.571 6.571 0 011.792-.252c2.114 0 3.994.996 5.208 2.543a9.767 9.767 0 014.028-.872c5.431 0 9.833 4.414 9.833 9.86 0 5.354-4.254 9.712-9.557 9.858l-.276.004h-42.442c-5.43 0-9.833-4.415-9.833-9.861 0-5.447 4.403-9.861 9.833-9.861.666 0 1.315.068 1.942.194C157.345 4.93 163.386 0 170.59 0z"
|
|
16203
16206
|
}), /*#__PURE__*/React__default.createElement("path", {
|
|
@@ -16215,7 +16218,7 @@ var PeriscopeFailedIcon = function PeriscopeFailedIcon() {
|
|
|
16215
16218
|
filter: "url(#periscope-failed-filter-2)",
|
|
16216
16219
|
xlinkHref: "#periscope-failed-path-1"
|
|
16217
16220
|
}), /*#__PURE__*/React__default.createElement("use", {
|
|
16218
|
-
fill: "#
|
|
16221
|
+
fill: "#281978",
|
|
16219
16222
|
xlinkHref: "#periscope-failed-path-1"
|
|
16220
16223
|
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16221
16224
|
transform: "translate(0 96.764)"
|
|
@@ -19247,7 +19250,7 @@ var AlertInfoIcon = function AlertInfoIcon() {
|
|
|
19247
19250
|
xlinkHref: "#path-1"
|
|
19248
19251
|
})), /*#__PURE__*/React__default.createElement("use", {
|
|
19249
19252
|
id: "background-2",
|
|
19250
|
-
fill: "#
|
|
19253
|
+
fill: "#281978",
|
|
19251
19254
|
fillRule: "nonzero",
|
|
19252
19255
|
xlinkHref: "#path-1"
|
|
19253
19256
|
})))));
|
|
@@ -19398,13 +19401,13 @@ var AlertIcons = {
|
|
|
19398
19401
|
};
|
|
19399
19402
|
|
|
19400
19403
|
var background = {
|
|
19401
|
-
info: "".concat(
|
|
19404
|
+
info: "".concat(HAWKES_BLUE),
|
|
19402
19405
|
warn: "".concat(APRICOT_ORANGE),
|
|
19403
19406
|
error: "".concat(BLUSH_RED),
|
|
19404
19407
|
success: "".concat(HINT_GREEN)
|
|
19405
19408
|
};
|
|
19406
19409
|
var border$1 = {
|
|
19407
|
-
info: "".concat(
|
|
19410
|
+
info: "".concat(LUCKY_POINT),
|
|
19408
19411
|
warn: "".concat(ZEST_ORANGE),
|
|
19409
19412
|
error: "".concat(RAZZMATAZZ_RED),
|
|
19410
19413
|
success: "".concat(EMERALD_GREEN)
|
|
@@ -19723,6 +19726,9 @@ var background$1 = {
|
|
|
19723
19726
|
info: "".concat(INFO_BLUE),
|
|
19724
19727
|
warn: "".concat(HALF_COLONIAL_WHITE),
|
|
19725
19728
|
primary: "".concat(CORNFLOWER_BLUE),
|
|
19729
|
+
primaryHeadline: "".concat(CORNFLOWER_BLUE),
|
|
19730
|
+
secondary: "".concat(ROYAL_BLUE_VIVID),
|
|
19731
|
+
secondaryHeadline: "".concat(ROYAL_BLUE_VIVID),
|
|
19726
19732
|
success: "".concat(HINT_GREEN),
|
|
19727
19733
|
disabled: "".concat(GRECIAN_GREY)
|
|
19728
19734
|
};
|
|
@@ -19730,12 +19736,48 @@ var color$5 = {
|
|
|
19730
19736
|
info: "".concat(MATISSE_BLUE),
|
|
19731
19737
|
warn: "".concat(ZEST_ORANGE),
|
|
19732
19738
|
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
19739
|
+
primaryHeadline: "".concat(ROYAL_BLUE_VIVID),
|
|
19740
|
+
secondary: "".concat(CORNFLOWER_BLUE),
|
|
19741
|
+
secondaryHeadline: "".concat(CORNFLOWER_BLUE),
|
|
19733
19742
|
success: "".concat(SEA_GREEN),
|
|
19734
19743
|
disabled: "".concat(MANATEE_GREY)
|
|
19735
19744
|
};
|
|
19745
|
+
var fontWeight$1 = {
|
|
19746
|
+
info: FONT_WEIGHT_REGULAR,
|
|
19747
|
+
warn: FONT_WEIGHT_REGULAR,
|
|
19748
|
+
primary: FONT_WEIGHT_REGULAR,
|
|
19749
|
+
primaryHeadline: FONT_WEIGHT_SEMIBOLD,
|
|
19750
|
+
secondary: FONT_WEIGHT_REGULAR,
|
|
19751
|
+
secondaryHeadline: FONT_WEIGHT_SEMIBOLD,
|
|
19752
|
+
success: FONT_WEIGHT_REGULAR,
|
|
19753
|
+
disabled: FONT_WEIGHT_REGULAR
|
|
19754
|
+
};
|
|
19755
|
+
var fontSizeMobile = {
|
|
19756
|
+
info: fallbackValues.fontSize.pXXS,
|
|
19757
|
+
warn: fallbackValues.fontSize.pXXS,
|
|
19758
|
+
primary: fallbackValues.fontSize.pXXS,
|
|
19759
|
+
primaryHeadline: fallbackValues.fontSize.pXS,
|
|
19760
|
+
secondary: fallbackValues.fontSize.pXXS,
|
|
19761
|
+
secondaryHeadline: fallbackValues.fontSize.pXS,
|
|
19762
|
+
success: fallbackValues.fontSize.pXXS,
|
|
19763
|
+
disabled: fallbackValues.fontSize.pXXS
|
|
19764
|
+
};
|
|
19765
|
+
var fontSizeDesktop = {
|
|
19766
|
+
info: fallbackValues.fontSize.pXS,
|
|
19767
|
+
warn: fallbackValues.fontSize.pXS,
|
|
19768
|
+
primary: fallbackValues.fontSize.pXS,
|
|
19769
|
+
primaryHeadline: fallbackValues.fontSize.pS,
|
|
19770
|
+
secondary: fallbackValues.fontSize.pXS,
|
|
19771
|
+
secondaryHeadline: fallbackValues.fontSize.pS,
|
|
19772
|
+
success: fallbackValues.fontSize.pXS,
|
|
19773
|
+
disabled: fallbackValues.fontSize.pXS
|
|
19774
|
+
};
|
|
19736
19775
|
var fallbackValues$7 = {
|
|
19737
19776
|
background: background$1,
|
|
19738
|
-
color: color$5
|
|
19777
|
+
color: color$5,
|
|
19778
|
+
fontWeight: fontWeight$1,
|
|
19779
|
+
fontSizeMobile: fontSizeMobile,
|
|
19780
|
+
fontSizeDesktop: fontSizeDesktop
|
|
19739
19781
|
};
|
|
19740
19782
|
|
|
19741
19783
|
var StyledBadgeContainer = styled__default(Box).withConfig({
|
|
@@ -19745,22 +19787,31 @@ var StyledBadgeContainer = styled__default(Box).withConfig({
|
|
|
19745
19787
|
var StyledBadge = styled__default(Text$1).withConfig({
|
|
19746
19788
|
displayName: "Badge__StyledBadge",
|
|
19747
19789
|
componentId: "sc-1g438j-1"
|
|
19748
|
-
})(["
|
|
19790
|
+
})(["line-height:150%;letter-spacing:", ";white-space:nowrap;"], function (props) {
|
|
19791
|
+
return props.isMobile ? "0.2px" : "0.24px";
|
|
19792
|
+
});
|
|
19749
19793
|
var Badge = function Badge(_ref) {
|
|
19750
19794
|
var label = _ref.label,
|
|
19751
19795
|
Icon = _ref.Icon,
|
|
19752
19796
|
themeValues = _ref.themeValues,
|
|
19753
19797
|
_ref$iconOnLeft = _ref.iconOnLeft,
|
|
19754
19798
|
iconOnLeft = _ref$iconOnLeft === void 0 ? true : _ref$iconOnLeft,
|
|
19755
|
-
id = _ref.id
|
|
19799
|
+
id = _ref.id,
|
|
19800
|
+
extraStyles = _ref.extraStyles;
|
|
19801
|
+
var _useContext = React.useContext(styled.ThemeContext),
|
|
19802
|
+
isMobile = _useContext.isMobile;
|
|
19756
19803
|
return /*#__PURE__*/React__default.createElement(StyledBadgeContainer, {
|
|
19757
19804
|
background: themeValues.background,
|
|
19758
|
-
id: id
|
|
19805
|
+
id: id,
|
|
19806
|
+
extraStyles: extraStyles
|
|
19759
19807
|
}, iconOnLeft && Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
19760
19808
|
color: themeValues.color,
|
|
19761
19809
|
fill: themeValues.color
|
|
19762
19810
|
}), /*#__PURE__*/React__default.createElement(StyledBadge, {
|
|
19763
|
-
color: themeValues.color
|
|
19811
|
+
color: themeValues.color,
|
|
19812
|
+
weight: themeValues.fontWeight,
|
|
19813
|
+
fontSize: isMobile ? themeValues.fontSizeMobile : themeValues.fontSizeDesktop,
|
|
19814
|
+
isMobile: isMobile
|
|
19764
19815
|
}, label), !iconOnLeft && Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
19765
19816
|
color: themeValues.color,
|
|
19766
19817
|
fill: themeValues.color
|
|
@@ -21136,7 +21187,7 @@ var BoxWithShadow = function BoxWithShadow(_ref) {
|
|
|
21136
21187
|
var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackValues$8);
|
|
21137
21188
|
|
|
21138
21189
|
// import theme from "styled-theming";
|
|
21139
|
-
var MATISSE_BLUE$
|
|
21190
|
+
var MATISSE_BLUE$1 = MATISSE_BLUE,
|
|
21140
21191
|
STORM_GREY$1 = STORM_GREY;
|
|
21141
21192
|
var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
21142
21193
|
|
|
@@ -21145,12 +21196,12 @@ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
|
21145
21196
|
for colors/values that should be used here instead
|
|
21146
21197
|
*/
|
|
21147
21198
|
|
|
21148
|
-
var color$6 = "".concat(MATISSE_BLUE$
|
|
21199
|
+
var color$6 = "".concat(MATISSE_BLUE$1);
|
|
21149
21200
|
var activeColor$2 = "".concat(STORM_GREY$1);
|
|
21150
21201
|
var activeBreadcrumbColor = "".concat(STORM_GREY$1);
|
|
21151
21202
|
var fontSize$2 = "0.875rem";
|
|
21152
21203
|
var lineHeight = "1.25rem";
|
|
21153
|
-
var fontWeight$
|
|
21204
|
+
var fontWeight$2 = "400";
|
|
21154
21205
|
var margin = "0.5rem";
|
|
21155
21206
|
var hover = "text-decoration: ".concat(LINK_TEXT_DECORATION$2, ";");
|
|
21156
21207
|
var fallbackValues$9 = {
|
|
@@ -21159,7 +21210,7 @@ var fallbackValues$9 = {
|
|
|
21159
21210
|
activeBreadcrumbColor: activeBreadcrumbColor,
|
|
21160
21211
|
fontSize: fontSize$2,
|
|
21161
21212
|
lineHeight: lineHeight,
|
|
21162
|
-
fontWeight: fontWeight$
|
|
21213
|
+
fontWeight: fontWeight$2,
|
|
21163
21214
|
margin: margin,
|
|
21164
21215
|
hover: hover
|
|
21165
21216
|
};
|
|
@@ -23653,9 +23704,9 @@ exportTypedArrayMethod$1('at', function at(index) {
|
|
|
23653
23704
|
return (k < 0 || k >= len) ? undefined : O[k];
|
|
23654
23705
|
});
|
|
23655
23706
|
|
|
23656
|
-
var selectedColor = "".concat(
|
|
23657
|
-
var hoverColor$3 = "".concat(
|
|
23658
|
-
var focusColor = "".concat(
|
|
23707
|
+
var selectedColor = "".concat(LUCKY_POINT);
|
|
23708
|
+
var hoverColor$3 = "".concat(HAWKES_BLUE);
|
|
23709
|
+
var focusColor = "".concat(LUCKY_POINT_DARK);
|
|
23659
23710
|
var fallbackValues$i = {
|
|
23660
23711
|
selectedColor: selectedColor,
|
|
23661
23712
|
hoverColor: hoverColor$3,
|
|
@@ -24077,15 +24128,15 @@ var SelectField = styled__default.select.withConfig({
|
|
|
24077
24128
|
}, function (_ref3) {
|
|
24078
24129
|
var themeValues = _ref3.themeValues;
|
|
24079
24130
|
return themeValues.color && themeValues.color;
|
|
24080
|
-
},
|
|
24131
|
+
}, LUCKY_POINT);
|
|
24081
24132
|
var SelectOption = styled__default.option.withConfig({
|
|
24082
24133
|
displayName: "FormSelectstyled__SelectOption",
|
|
24083
24134
|
componentId: "sc-hkrqrv-2"
|
|
24084
24135
|
})([""]);
|
|
24085
24136
|
|
|
24086
24137
|
var linkColor$1 = {
|
|
24087
|
-
"default": "".concat(
|
|
24088
|
-
disabled: "".concat(
|
|
24138
|
+
"default": "".concat(LUCKY_POINT),
|
|
24139
|
+
disabled: "".concat(LUCKY_POINT)
|
|
24089
24140
|
};
|
|
24090
24141
|
var formBackgroundColor = {
|
|
24091
24142
|
"default": "".concat(WHITE),
|
|
@@ -24121,12 +24172,12 @@ var errorFontSize = {
|
|
|
24121
24172
|
"default": "0.75rem",
|
|
24122
24173
|
disabled: "0.75rem"
|
|
24123
24174
|
};
|
|
24124
|
-
var fontWeight$
|
|
24175
|
+
var fontWeight$3 = {
|
|
24125
24176
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
24126
24177
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
24127
24178
|
};
|
|
24128
24179
|
var hoverFocusStyles = {
|
|
24129
|
-
"default": "color:
|
|
24180
|
+
"default": "color: ".concat(LUCKY_POINT_DARK, "; outline: none; text-decoration: underline; "),
|
|
24130
24181
|
disabled: "color: #6D717E;"
|
|
24131
24182
|
};
|
|
24132
24183
|
var fallbackValues$j = {
|
|
@@ -24139,7 +24190,7 @@ var fallbackValues$j = {
|
|
|
24139
24190
|
lineHeight: lineHeight$1,
|
|
24140
24191
|
fontSize: fontSize$4,
|
|
24141
24192
|
errorFontSize: errorFontSize,
|
|
24142
|
-
fontWeight: fontWeight$
|
|
24193
|
+
fontWeight: fontWeight$3,
|
|
24143
24194
|
hoverFocusStyles: hoverFocusStyles
|
|
24144
24195
|
};
|
|
24145
24196
|
|
|
@@ -25865,7 +25916,7 @@ var errorFontSize$1 = {
|
|
|
25865
25916
|
"default": "0.75rem",
|
|
25866
25917
|
disabled: "0.75rem"
|
|
25867
25918
|
};
|
|
25868
|
-
var fontWeight$
|
|
25919
|
+
var fontWeight$4 = {
|
|
25869
25920
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
25870
25921
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
25871
25922
|
};
|
|
@@ -25886,7 +25937,7 @@ var fallbackValues$n = {
|
|
|
25886
25937
|
lineHeight: lineHeight$2,
|
|
25887
25938
|
fontSize: fontSize$6,
|
|
25888
25939
|
errorFontSize: errorFontSize$1,
|
|
25889
|
-
fontWeight: fontWeight$
|
|
25940
|
+
fontWeight: fontWeight$4,
|
|
25890
25941
|
hoverFocusStyles: hoverFocusStyles$1,
|
|
25891
25942
|
formFooterPanel: formFooterPanel
|
|
25892
25943
|
};
|
|
@@ -26850,7 +26901,7 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26850
26901
|
};
|
|
26851
26902
|
var Jumbo$1 = withWindowSize(Jumbo);
|
|
26852
26903
|
|
|
26853
|
-
var fontWeight$
|
|
26904
|
+
var fontWeight$5 = {
|
|
26854
26905
|
// v1 variants
|
|
26855
26906
|
"default": "600",
|
|
26856
26907
|
pS: "600",
|
|
@@ -26867,7 +26918,7 @@ var fontWeight$4 = {
|
|
|
26867
26918
|
large: "700" // fontsize Title small
|
|
26868
26919
|
};
|
|
26869
26920
|
var fallbackValues$t = {
|
|
26870
|
-
fontWeight: fontWeight$
|
|
26921
|
+
fontWeight: fontWeight$5
|
|
26871
26922
|
};
|
|
26872
26923
|
|
|
26873
26924
|
var LabeledAmountV1 = function LabeledAmountV1(_ref) {
|
|
@@ -38945,7 +38996,7 @@ var fontSize$9 = {
|
|
|
38945
38996
|
largeTitle: "1.75rem",
|
|
38946
38997
|
small: "1.25rem"
|
|
38947
38998
|
};
|
|
38948
|
-
var fontWeight$
|
|
38999
|
+
var fontWeight$6 = {
|
|
38949
39000
|
"default": "600",
|
|
38950
39001
|
largeTitle: "700",
|
|
38951
39002
|
small: "600"
|
|
@@ -38992,7 +39043,7 @@ var backgroundColor$7 = {
|
|
|
38992
39043
|
};
|
|
38993
39044
|
var fallbackValues$G = {
|
|
38994
39045
|
fontSize: fontSize$9,
|
|
38995
|
-
fontWeight: fontWeight$
|
|
39046
|
+
fontWeight: fontWeight$6,
|
|
38996
39047
|
fontColor: fontColor,
|
|
38997
39048
|
lineHeight: lineHeight$3,
|
|
38998
39049
|
textAlign: textAlign,
|
|
@@ -47633,7 +47684,7 @@ var fontSize$a = {
|
|
|
47633
47684
|
var lineHeight$4 = {
|
|
47634
47685
|
"default": "1.5rem"
|
|
47635
47686
|
};
|
|
47636
|
-
var fontWeight$
|
|
47687
|
+
var fontWeight$7 = {
|
|
47637
47688
|
"default": FONT_WEIGHT_REGULAR
|
|
47638
47689
|
};
|
|
47639
47690
|
var modalLinkHoverFocus = {
|
|
@@ -47646,7 +47697,7 @@ var fallbackValues$R = {
|
|
|
47646
47697
|
linkColor: linkColor$4,
|
|
47647
47698
|
fontSize: fontSize$a,
|
|
47648
47699
|
lineHeight: lineHeight$4,
|
|
47649
|
-
fontWeight: fontWeight$
|
|
47700
|
+
fontWeight: fontWeight$7,
|
|
47650
47701
|
modalLinkHoverFocus: modalLinkHoverFocus,
|
|
47651
47702
|
linkTextDecoration: linkTextDecoration
|
|
47652
47703
|
};
|
|
@@ -47728,7 +47779,7 @@ var lineHeight$5 = {
|
|
|
47728
47779
|
"default": "1.5rem",
|
|
47729
47780
|
footer: "1.25rem"
|
|
47730
47781
|
};
|
|
47731
|
-
var fontWeight$
|
|
47782
|
+
var fontWeight$8 = {
|
|
47732
47783
|
"default": FONT_WEIGHT_REGULAR,
|
|
47733
47784
|
footer: FONT_WEIGHT_SEMIBOLD
|
|
47734
47785
|
};
|
|
@@ -47747,7 +47798,7 @@ var fallbackValues$S = {
|
|
|
47747
47798
|
border: border$3,
|
|
47748
47799
|
fontSize: fontSize$b,
|
|
47749
47800
|
lineHeight: lineHeight$5,
|
|
47750
|
-
fontWeight: fontWeight$
|
|
47801
|
+
fontWeight: fontWeight$8,
|
|
47751
47802
|
modalLinkHoverFocus: modalLinkHoverFocus$1,
|
|
47752
47803
|
modalLinkTextDecoration: modalLinkTextDecoration
|
|
47753
47804
|
};
|
|
@@ -49604,13 +49655,13 @@ var ToastNotification = function ToastNotification(_ref) {
|
|
|
49604
49655
|
}));
|
|
49605
49656
|
};
|
|
49606
49657
|
|
|
49607
|
-
var fontWeight$
|
|
49658
|
+
var fontWeight$9 = "600";
|
|
49608
49659
|
var fontColor$1 = WHITE;
|
|
49609
49660
|
var textAlign$1 = "left";
|
|
49610
49661
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
49611
49662
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
49612
49663
|
var fallbackValues$Z = {
|
|
49613
|
-
fontWeight: fontWeight$
|
|
49664
|
+
fontWeight: fontWeight$9,
|
|
49614
49665
|
fontColor: fontColor$1,
|
|
49615
49666
|
textAlign: textAlign$1,
|
|
49616
49667
|
headerBackgroundColor: headerBackgroundColor$1,
|