@mw-kit/mw-ui 1.7.71 → 1.7.73
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/components/Input/components/Checkbox/interfaces.d.ts +1 -0
- package/dist/components/Input/components/Checkbox/styles.d.ts +1 -3
- package/dist/index.js +72 -65
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +72 -65
- package/dist/index.modern.js.map +1 -1
- package/dist/theme/constants.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -71,7 +71,6 @@ var colors = {
|
|
|
71
71
|
milkWhite: '#FCFFF5',
|
|
72
72
|
orange: '#FB8702',
|
|
73
73
|
pink: '#E23851',
|
|
74
|
-
platinum: '#E2E2E3',
|
|
75
74
|
purple: '#8E66BB',
|
|
76
75
|
red: '#C31717',
|
|
77
76
|
silver: '#B2B2B2',
|
|
@@ -12568,25 +12567,21 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
|
|
|
12568
12567
|
});
|
|
12569
12568
|
Input$1.displayName = 'Input';
|
|
12570
12569
|
|
|
12571
|
-
var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$3, _templateObject8$2, _templateObject9$2, _templateObject10$2;
|
|
12570
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$3, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$2;
|
|
12572
12571
|
var size = '17px';
|
|
12573
|
-
var Checkmark = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n height: ", ";\n width: ", ";\n background-color: ", ";\n\n border-style: solid;\n border-color:
|
|
12572
|
+
var Checkmark = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n height: ", ";\n width: ", ";\n background-color: ", ";\n\n border-style: solid;\n border-color: transparent;\n border-width: 1px;\n border-radius: 4px;\n\n transition-property: border-color;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n\n :after {\n content: '';\n position: absolute;\n\n left: 50%;\n top: 50%;\n height: 0;\n width: 0;\n\n border-style: solid;\n border-color: ", ";\n border-width: 0;\n transform: rotate(45deg);\n\n transition-property: width height border-width top left;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n\n /** if there is a label, it will be placed after this element */\n + * {\n flex: 1;\n }\n"])), size, size, function (_ref) {
|
|
12574
12573
|
var theme = _ref.theme;
|
|
12575
12574
|
return theme.colors.white;
|
|
12576
12575
|
}, function (_ref2) {
|
|
12577
|
-
var theme = _ref2.theme
|
|
12578
|
-
viewMode = _ref2.$viewMode;
|
|
12579
|
-
return viewMode ? 'transparent' : theme.colors.blue;
|
|
12580
|
-
}, function (_ref3) {
|
|
12581
|
-
var theme = _ref3.theme;
|
|
12576
|
+
var theme = _ref2.theme;
|
|
12582
12577
|
return theme.colors.blue;
|
|
12583
12578
|
});
|
|
12584
|
-
var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n\n > input:checked ~ ", " {\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (
|
|
12585
|
-
var theme =
|
|
12579
|
+
var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n ", "\n\n > input:checked ~ ", " {\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (_ref3) {
|
|
12580
|
+
var theme = _ref3.theme;
|
|
12586
12581
|
return theme.useTypography('p');
|
|
12587
|
-
}, function (
|
|
12588
|
-
var padding =
|
|
12589
|
-
theme =
|
|
12582
|
+
}, function (_ref4) {
|
|
12583
|
+
var padding = _ref4.$padding,
|
|
12584
|
+
theme = _ref4.theme;
|
|
12590
12585
|
if (!padding) return;
|
|
12591
12586
|
var _padding = {
|
|
12592
12587
|
top: '0',
|
|
@@ -12628,9 +12623,9 @@ var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTe
|
|
|
12628
12623
|
}
|
|
12629
12624
|
|
|
12630
12625
|
return css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n padding-top: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n "])), _padding.top, _padding.left, _padding.right, _padding.bottom);
|
|
12631
|
-
}, function (
|
|
12632
|
-
var disabled =
|
|
12633
|
-
readOnly =
|
|
12626
|
+
}, function (_ref5) {
|
|
12627
|
+
var disabled = _ref5.$disabled,
|
|
12628
|
+
readOnly = _ref5.$readOnly;
|
|
12634
12629
|
|
|
12635
12630
|
if (disabled) {
|
|
12636
12631
|
return css(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
|
|
@@ -12638,35 +12633,42 @@ var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTe
|
|
|
12638
12633
|
|
|
12639
12634
|
if (readOnly) return;
|
|
12640
12635
|
return css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
|
|
12641
|
-
}, function (
|
|
12642
|
-
var theme =
|
|
12643
|
-
bordered =
|
|
12644
|
-
invalid =
|
|
12636
|
+
}, function (_ref6) {
|
|
12637
|
+
var theme = _ref6.theme,
|
|
12638
|
+
bordered = _ref6.$bordered,
|
|
12639
|
+
invalid = _ref6.$invalid;
|
|
12645
12640
|
if (!bordered) return;
|
|
12646
12641
|
return css(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteralLoose(["\n padding: ", " ", ";\n\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n "])), theme.spacings.s2, theme.spacings.s3, theme.colors[invalid ? 'warningRed' : 'lightGrey']);
|
|
12647
|
-
}, size, size, function (
|
|
12648
|
-
var theme =
|
|
12642
|
+
}, size, size, function (_ref7) {
|
|
12643
|
+
var theme = _ref7.theme;
|
|
12649
12644
|
return theme.spacings.s1;
|
|
12650
|
-
}, Checkmark, function (
|
|
12651
|
-
var theme =
|
|
12645
|
+
}, Checkmark, function (_ref8) {
|
|
12646
|
+
var theme = _ref8.theme;
|
|
12652
12647
|
return theme.colors.iceWhite;
|
|
12653
|
-
},
|
|
12654
|
-
var theme =
|
|
12655
|
-
|
|
12648
|
+
}, function (_ref9) {
|
|
12649
|
+
var theme = _ref9.theme,
|
|
12650
|
+
viewMode = _ref9.$viewMode;
|
|
12651
|
+
return viewMode ? css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n > input ~ ", " {\n border-color: transparent;\n }\n "])), Checkmark) : css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n > input ~ ", " {\n border-color: ", ";\n }\n > input:checked ~ ", " {\n border-color: ", ";\n }\n "])), Checkmark, theme.colors.lightestGrey, Checkmark, function (_ref10) {
|
|
12652
|
+
var theme = _ref10.theme;
|
|
12653
|
+
return theme.colors.blue;
|
|
12654
|
+
});
|
|
12655
|
+
}, Checkmark, function (_ref11) {
|
|
12656
|
+
var theme = _ref11.theme,
|
|
12657
|
+
invalid = _ref11.$invalid;
|
|
12656
12658
|
if (!invalid) return;
|
|
12657
|
-
return css(
|
|
12658
|
-
}, function (
|
|
12659
|
-
var width =
|
|
12660
|
-
return width && css(
|
|
12659
|
+
return css(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n ", ",\n > input:checked ~ ", ", \n > input:checked ~ ", ":after {\n border-color: ", ";\n }\n "])), Checkmark, Checkmark, Checkmark, theme.colors.warningRed);
|
|
12660
|
+
}, function (_ref12) {
|
|
12661
|
+
var width = _ref12.$width;
|
|
12662
|
+
return width && css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), width);
|
|
12661
12663
|
});
|
|
12662
|
-
var LabelContent = styled.div(
|
|
12663
|
-
var theme =
|
|
12664
|
+
var LabelContent = styled.div(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n ", "\n line-height: 14px;\n flex: 1;\n overflow: hidden;\n\n ", "\n"])), function (_ref13) {
|
|
12665
|
+
var theme = _ref13.theme;
|
|
12664
12666
|
return theme.useTypography('p');
|
|
12665
|
-
}, function (
|
|
12666
|
-
var required =
|
|
12667
|
-
viewMode =
|
|
12667
|
+
}, function (_ref14) {
|
|
12668
|
+
var required = _ref14.required,
|
|
12669
|
+
viewMode = _ref14.viewMode;
|
|
12668
12670
|
if (!required || viewMode) return;
|
|
12669
|
-
return css(
|
|
12671
|
+
return css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
12670
12672
|
});
|
|
12671
12673
|
|
|
12672
12674
|
var Checkbox = React__default.forwardRef(function (props, ref) {
|
|
@@ -12704,14 +12706,13 @@ var Checkbox = React__default.forwardRef(function (props, ref) {
|
|
|
12704
12706
|
"$bordered": !viewMode && bordered,
|
|
12705
12707
|
"$padding": padding,
|
|
12706
12708
|
"$readOnly": props.readOnly || viewMode,
|
|
12707
|
-
"$width": props.width
|
|
12709
|
+
"$width": props.width,
|
|
12710
|
+
"$viewMode": viewMode
|
|
12708
12711
|
}, React__default.createElement("input", Object.assign({}, htmlProps, {
|
|
12709
12712
|
type: 'checkbox',
|
|
12710
12713
|
ref: ref,
|
|
12711
12714
|
disabled: htmlProps.disabled || viewMode
|
|
12712
|
-
})), React__default.createElement(Checkmark, {
|
|
12713
|
-
"$viewMode": viewMode
|
|
12714
|
-
}), React__default.createElement(LabelComponent, Object.assign({}, {
|
|
12715
|
+
})), React__default.createElement(Checkmark, null), React__default.createElement(LabelComponent, Object.assign({}, {
|
|
12715
12716
|
disabled: disabled,
|
|
12716
12717
|
required: required,
|
|
12717
12718
|
viewMode: viewMode,
|
|
@@ -13222,7 +13223,7 @@ var Indicator = function Indicator(props) {
|
|
|
13222
13223
|
}, props)));
|
|
13223
13224
|
};
|
|
13224
13225
|
|
|
13225
|
-
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$
|
|
13226
|
+
var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$3;
|
|
13226
13227
|
var Footer = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > button:last-child {\n margin-left: auto;\n }\n"])));
|
|
13227
13228
|
var WeekContainer = styled.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n\n :not(:first-child) {\n border-top: 1px solid ", ";\n }\n\n > * {\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n width: 32px;\n height: 32px;\n\n color: ", ";\n box-shadow: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n border: 1px solid transparent;\n :not(:last-child) {\n border-right-color: ", ";\n }\n }\n"])), function (_ref) {
|
|
13228
13229
|
var theme = _ref.theme;
|
|
@@ -13286,7 +13287,7 @@ var DayContainer = styled.button(_templateObject4$8 || (_templateObject4$8 = _ta
|
|
|
13286
13287
|
});
|
|
13287
13288
|
var DayIndicator = styled(Indicator).attrs({
|
|
13288
13289
|
size: 'mini'
|
|
13289
|
-
})(_templateObject11$
|
|
13290
|
+
})(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
|
|
13290
13291
|
|
|
13291
13292
|
var getCalendar = function getCalendar(d) {
|
|
13292
13293
|
var date = new Date(d.getTime());
|
|
@@ -15790,7 +15791,7 @@ var bullet = css(_templateObject$t || (_templateObject$t = _taggedTemplateLitera
|
|
|
15790
15791
|
return bulletSize;
|
|
15791
15792
|
}, function (_ref3) {
|
|
15792
15793
|
var theme = _ref3.theme;
|
|
15793
|
-
return theme.colors.
|
|
15794
|
+
return theme.colors.lightestGrey;
|
|
15794
15795
|
}, function (_ref4) {
|
|
15795
15796
|
var theme = _ref4.theme;
|
|
15796
15797
|
return theme.getColor('black', 10);
|
|
@@ -16175,7 +16176,7 @@ var LabelContainer$5 = styled.div(_templateObject$E || (_templateObject$E = _tag
|
|
|
16175
16176
|
var theme = _ref.theme;
|
|
16176
16177
|
return theme.useTypography('p');
|
|
16177
16178
|
});
|
|
16178
|
-
var Label$6 = styled.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n position: absolute;\n top: 0;\n left: 0;\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n height: 17px;\n width: 17px;\n min-height: 17px;\n min-width: 17px;\n max-height: 17px;\n max-width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
|
|
16179
|
+
var Label$6 = styled.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n position: absolute;\n top: 0;\n left: 0;\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n align-self: center;\n height: 17px;\n width: 17px;\n min-height: 17px;\n min-width: 17px;\n max-height: 17px;\n max-width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
|
|
16179
16180
|
var theme = _ref2.theme;
|
|
16180
16181
|
return theme.spacings.s1;
|
|
16181
16182
|
}, function (_ref3) {
|
|
@@ -16194,24 +16195,30 @@ var Label$6 = styled.label(_templateObject2$t || (_templateObject2$t = _taggedTe
|
|
|
16194
16195
|
var invalid = _ref5.invalid;
|
|
16195
16196
|
|
|
16196
16197
|
if (!invalid) {
|
|
16197
|
-
return css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
|
|
16198
|
+
return css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n > input:checked + span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
|
|
16198
16199
|
var theme = _ref6.theme;
|
|
16199
|
-
return theme.colors.
|
|
16200
|
+
return theme.colors.lightestGrey;
|
|
16200
16201
|
}, function (_ref7) {
|
|
16201
16202
|
var theme = _ref7.theme;
|
|
16203
|
+
return theme.colors.lightestGrey;
|
|
16204
|
+
}, function (_ref8) {
|
|
16205
|
+
var theme = _ref8.theme;
|
|
16206
|
+
return theme.colors.blue;
|
|
16207
|
+
}, function (_ref9) {
|
|
16208
|
+
var theme = _ref9.theme;
|
|
16202
16209
|
return theme.colors.blue;
|
|
16203
16210
|
});
|
|
16204
16211
|
}
|
|
16205
16212
|
|
|
16206
|
-
return css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (
|
|
16207
|
-
var theme =
|
|
16213
|
+
return css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref10) {
|
|
16214
|
+
var theme = _ref10.theme;
|
|
16208
16215
|
return theme.colors.warningRed;
|
|
16209
|
-
}, function (
|
|
16210
|
-
var theme =
|
|
16216
|
+
}, function (_ref11) {
|
|
16217
|
+
var theme = _ref11.theme;
|
|
16211
16218
|
return theme.colors.warningRed;
|
|
16212
16219
|
});
|
|
16213
|
-
}, function (
|
|
16214
|
-
var theme =
|
|
16220
|
+
}, function (_ref12) {
|
|
16221
|
+
var theme = _ref12.theme;
|
|
16215
16222
|
return theme.colors.white;
|
|
16216
16223
|
});
|
|
16217
16224
|
|
|
@@ -16413,7 +16420,7 @@ var parse = function parse(value) {
|
|
|
16413
16420
|
});
|
|
16414
16421
|
};
|
|
16415
16422
|
|
|
16416
|
-
var _templateObject$F, _templateObject2$u, _templateObject3$o, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$8, _templateObject10$7, _templateObject11$
|
|
16423
|
+
var _templateObject$F, _templateObject2$u, _templateObject3$o, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$8, _templateObject10$7, _templateObject11$4, _templateObject12$3;
|
|
16417
16424
|
var RelativeContainer$5 = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n position: relative;\n user-select: none;\n min-width: 220px;\n\n > input,\n > label > input {\n color: transparent;\n background-color: transparent;\n width: 1px;\n height: 1px;\n position: absolute;\n left: 0;\n bottom: 0;\n border: 0;\n padding: 0;\n overflow: hidden;\n outline: none;\n box-shadow: none;\n }\n"])));
|
|
16418
16425
|
var LabelContainer$6 = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n\n :first-child {\n text-align: left;\n }\n :not(:first-child) {\n text-align: center;\n }\n\n ", "\n\n ", ";\n"])), function (_ref) {
|
|
16419
16426
|
var theme = _ref.theme;
|
|
@@ -16463,13 +16470,13 @@ var Button$4 = styled.button(_templateObject9$8 || (_templateObject9$8 = _tagged
|
|
|
16463
16470
|
if (!onClick) return;
|
|
16464
16471
|
return css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
|
|
16465
16472
|
});
|
|
16466
|
-
var LabelText$1 = styled.label(_templateObject11$
|
|
16473
|
+
var LabelText$1 = styled.label(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
|
|
16467
16474
|
var theme = _ref12.theme;
|
|
16468
16475
|
return theme.spacings.s1;
|
|
16469
16476
|
}, function (_ref13) {
|
|
16470
16477
|
var required = _ref13.required;
|
|
16471
16478
|
if (!required) return;
|
|
16472
|
-
return css(_templateObject12$
|
|
16479
|
+
return css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
|
|
16473
16480
|
});
|
|
16474
16481
|
|
|
16475
16482
|
var Component$1 = React__default.forwardRef(function (props, ref) {
|
|
@@ -17956,7 +17963,7 @@ var useContext$3 = function useContext() {
|
|
|
17956
17963
|
return React__default.useContext(Provider$3);
|
|
17957
17964
|
};
|
|
17958
17965
|
|
|
17959
|
-
var _templateObject$Q, _templateObject2$A, _templateObject3$t, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$a, _templateObject10$9, _templateObject11$
|
|
17966
|
+
var _templateObject$Q, _templateObject2$A, _templateObject3$t, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$a, _templateObject10$9, _templateObject11$5, _templateObject12$4, _templateObject13$2, _templateObject14$2, _templateObject15$2;
|
|
17960
17967
|
var aligns = {
|
|
17961
17968
|
self: {
|
|
17962
17969
|
horizontal: {
|
|
@@ -18047,13 +18054,13 @@ var Col = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLi
|
|
|
18047
18054
|
var bordered = _ref5.bordered,
|
|
18048
18055
|
lightestGrey = _ref5.theme.colors.lightestGrey;
|
|
18049
18056
|
if (!bordered) return;
|
|
18050
|
-
return css(_templateObject11$
|
|
18057
|
+
return css(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
|
|
18051
18058
|
}, function (_ref6) {
|
|
18052
18059
|
var fontColor = _ref6.fontColor,
|
|
18053
18060
|
theme = _ref6.theme;
|
|
18054
18061
|
if (fontColor === undefined) return;
|
|
18055
18062
|
var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
|
|
18056
|
-
return css(_templateObject12$
|
|
18063
|
+
return css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
|
|
18057
18064
|
}, function (_ref7) {
|
|
18058
18065
|
var backgroundColor = _ref7.backgroundColor,
|
|
18059
18066
|
theme = _ref7.theme;
|
|
@@ -18187,9 +18194,9 @@ var Row = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLi
|
|
|
18187
18194
|
return c;
|
|
18188
18195
|
}, function (_ref7) {
|
|
18189
18196
|
var borderless = _ref7.borderless,
|
|
18190
|
-
|
|
18197
|
+
lightestGrey = _ref7.theme.colors.lightestGrey;
|
|
18191
18198
|
if (borderless) return;
|
|
18192
|
-
return css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n :last-child {\n border-bottom: 1px solid transparent;\n }\n "])),
|
|
18199
|
+
return css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n :last-child {\n border-bottom: 1px solid transparent;\n }\n "])), lightestGrey);
|
|
18193
18200
|
}, function (_ref8) {
|
|
18194
18201
|
var hover = _ref8.hover,
|
|
18195
18202
|
theme = _ref8.theme;
|
|
@@ -18482,7 +18489,7 @@ var Modal$1 = Object.assign(Modal, {
|
|
|
18482
18489
|
Audit: Audit
|
|
18483
18490
|
});
|
|
18484
18491
|
|
|
18485
|
-
var _templateObject$X, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$d, _templateObject10$c, _templateObject11$
|
|
18492
|
+
var _templateObject$X, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$d, _templateObject10$c, _templateObject11$6;
|
|
18486
18493
|
var Container$c = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
|
|
18487
18494
|
var Header$6 = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
|
|
18488
18495
|
var HeaderImage = styled.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
|
|
@@ -18499,7 +18506,7 @@ var HeaderLine = styled.div(_templateObject6$g || (_templateObject6$g = _taggedT
|
|
|
18499
18506
|
}, function (props) {
|
|
18500
18507
|
return props.size === 'large' && css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
|
|
18501
18508
|
});
|
|
18502
|
-
var MainLine = styled(HeaderLine)(_templateObject11$
|
|
18509
|
+
var MainLine = styled(HeaderLine)(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
|
|
18503
18510
|
|
|
18504
18511
|
var Template1 = function Template1(props) {
|
|
18505
18512
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|
|
@@ -18884,7 +18891,7 @@ var Template8$1 = function Template8(props) {
|
|
|
18884
18891
|
})), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
|
|
18885
18892
|
};
|
|
18886
18893
|
|
|
18887
|
-
var _templateObject$15, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$
|
|
18894
|
+
var _templateObject$15, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$7;
|
|
18888
18895
|
var Container$l = styled.div(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
|
|
18889
18896
|
var Header$c = styled.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
|
|
18890
18897
|
var HeaderLine$9 = styled.div(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
|
|
@@ -18907,7 +18914,7 @@ var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$m || (_templateObject8$
|
|
|
18907
18914
|
});
|
|
18908
18915
|
var GraphLine = styled(CustomLine$6)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
|
|
18909
18916
|
var Main$5 = styled.div(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n flex: 1;\n padding: 0 7px 72px 7px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: center;\n"])));
|
|
18910
|
-
var Circle$3 = styled.div(_templateObject11$
|
|
18917
|
+
var Circle$3 = styled.div(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
|
|
18911
18918
|
|
|
18912
18919
|
var Template10 = function Template10(props) {
|
|
18913
18920
|
if (!props.loading) return React__default.createElement(React__default.Fragment, null);
|