travelcircus-styleguide 2.0.3 → 2.0.5
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.
|
@@ -120,7 +120,7 @@ var RoundedInput = /*#__PURE__*/_react.default.forwardRef(function (props, ref)
|
|
|
120
120
|
ref: ref,
|
|
121
121
|
borderColor: borderColorUnhovered
|
|
122
122
|
}, props)), error && typeof error === 'string' && /*#__PURE__*/_react.default.createElement(_Flex.default, {
|
|
123
|
-
color: props.errorColor || _colors.default.
|
|
123
|
+
color: props.errorColor || _colors.default.circusRed,
|
|
124
124
|
alignItems: "center",
|
|
125
125
|
mt: {
|
|
126
126
|
sm: '8px',
|
|
@@ -41,7 +41,7 @@ var StyledSwitch = _styledComponents.default.label(_templateObject(), function (
|
|
|
41
41
|
return height;
|
|
42
42
|
}, function (_ref3) {
|
|
43
43
|
var inactiveBackgroundColor = _ref3.inactiveBackgroundColor;
|
|
44
|
-
return inactiveBackgroundColor ||
|
|
44
|
+
return inactiveBackgroundColor || '#F1ECE5';
|
|
45
45
|
}, ANIMATION_DURATION, ANIMATION_DURATION, function (_ref4) {
|
|
46
46
|
var height = _ref4.height;
|
|
47
47
|
return height;
|
|
@@ -54,7 +54,8 @@ var Icon = (0, _styledComponents.default)(_Text.default).attrs(function (props)
|
|
|
54
54
|
as: "i",
|
|
55
55
|
className: "icon-".concat(props.name),
|
|
56
56
|
fontSize: props.size || "auto",
|
|
57
|
-
display: "inline-block"
|
|
57
|
+
display: "inline-block",
|
|
58
|
+
fontWeight: props.isBold ? '1000' : 'inherit'
|
|
58
59
|
};
|
|
59
60
|
})(_templateObject2(), handleSize, _styledSystem.boxShadow);
|
|
60
61
|
Icon.displayName = "Icon";
|
package/dist/theme/colors.js
CHANGED
|
@@ -75,6 +75,9 @@ var circusTeal = '#1F92AE';
|
|
|
75
75
|
var circusGreen = '#0CAEA1';
|
|
76
76
|
var circusOrange = '#FC9D3E';
|
|
77
77
|
var disabledGrey = '#ADAAA4';
|
|
78
|
+
var sugarCane = '#FFFCF5';
|
|
79
|
+
var ceramic = '#FFFEFD';
|
|
80
|
+
var antiqueGrey = '#F1ECE5';
|
|
78
81
|
var Color = {
|
|
79
82
|
WHITE: white,
|
|
80
83
|
BLACK: black,
|
|
@@ -145,7 +148,10 @@ var Color = {
|
|
|
145
148
|
CIRCUS_TEAL: circusTeal,
|
|
146
149
|
CIRCUS_GREEN: circusGreen,
|
|
147
150
|
CIRCUS_ORANGE: circusOrange,
|
|
148
|
-
DISABLED_GREY: disabledGrey
|
|
151
|
+
DISABLED_GREY: disabledGrey,
|
|
152
|
+
SUGAR_CANE: sugarCane,
|
|
153
|
+
CERAMIC: ceramic,
|
|
154
|
+
ANTIQUE_GREY: antiqueGrey
|
|
149
155
|
};
|
|
150
156
|
exports.Color = Color;
|
|
151
157
|
var _default = {
|
|
@@ -217,6 +223,9 @@ var _default = {
|
|
|
217
223
|
circusTeal: circusTeal,
|
|
218
224
|
circusGreen: circusGreen,
|
|
219
225
|
circusOrange: circusOrange,
|
|
220
|
-
disabledGrey: disabledGrey
|
|
226
|
+
disabledGrey: disabledGrey,
|
|
227
|
+
sugarCane: sugarCane,
|
|
228
|
+
ceramic: ceramic,
|
|
229
|
+
antiqueGrey: antiqueGrey
|
|
221
230
|
};
|
|
222
231
|
exports.default = _default;
|
package/dist/theme/flatInput.js
CHANGED
|
@@ -46,7 +46,7 @@ var commonVariants = {
|
|
|
46
46
|
},
|
|
47
47
|
error: {
|
|
48
48
|
backgroundColor: "".concat(_colors.default.white, " !important"),
|
|
49
|
-
borderColor: "".concat(_colors.default.
|
|
49
|
+
borderColor: "".concat(_colors.default.circusRed, " !important"),
|
|
50
50
|
color: "".concat(_colors.default.hotelDarkGrey, " !important")
|
|
51
51
|
}
|
|
52
52
|
},
|
|
@@ -48,13 +48,13 @@ var commonVariants = {
|
|
|
48
48
|
},
|
|
49
49
|
error: {
|
|
50
50
|
backgroundColor: "".concat(_colors.default.white, " !important"),
|
|
51
|
-
borderColor: "".concat(_colors.default.
|
|
51
|
+
borderColor: "".concat(_colors.default.circusRed, " !important"),
|
|
52
52
|
color: "".concat(_colors.default.hotelDarkGrey, " !important")
|
|
53
53
|
},
|
|
54
54
|
customError: {
|
|
55
55
|
backgroundColor: "".concat(_colors.default.white, " !important"),
|
|
56
56
|
borderColor: "".concat(_colors.default.hotelSilver, " !important"),
|
|
57
|
-
color: "".concat(_colors.default.
|
|
57
|
+
color: "".concat(_colors.default.circusRed, " !important"),
|
|
58
58
|
':focus': {
|
|
59
59
|
borderColor: "".concat(_colors.default.hotelDarkGrey, " !important")
|
|
60
60
|
}
|