@beequip/hexagon 0.16.0-1 → 0.17.0
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/Autocomplete/Item/styles.js +2 -2
- package/dist/components/Autocomplete/Item/styles.js.map +1 -1
- package/dist/components/Autocomplete/styles.js +1 -1
- package/dist/components/Autocomplete/styles.js.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.js +2 -2
- package/dist/components/Badge/index.js.map +1 -1
- package/dist/components/Badge/index.stories.d.ts +0 -3
- package/dist/components/Badge/index.stories.js +2 -14
- package/dist/components/Badge/index.stories.js.map +1 -1
- package/dist/components/Badge/styles.js +1 -1
- package/dist/components/Badge/styles.js.map +1 -1
- package/dist/components/Button/styles.js +18 -19
- package/dist/components/Button/styles.js.map +1 -1
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card/index.js.map +1 -1
- package/dist/components/Card/index.stories.js +1 -1
- package/dist/components/Card/index.stories.js.map +1 -1
- package/dist/components/Card/styles.js +3 -3
- package/dist/components/Card/styles.js.map +1 -1
- package/dist/components/CounterTag/styles.js +1 -1
- package/dist/components/CounterTag/styles.js.map +1 -1
- package/dist/components/ExternalLink/styles.js +2 -2
- package/dist/components/ExternalLink/styles.js.map +1 -1
- package/dist/components/Input/styles.js +5 -5
- package/dist/components/Input/styles.js.map +1 -1
- package/dist/components/Label/styles.js +1 -1
- package/dist/components/Label/styles.js.map +1 -1
- package/dist/components/Link/styles.js +2 -2
- package/dist/components/Link/styles.js.map +1 -1
- package/dist/components/Notification/styles.js +7 -7
- package/dist/components/Notification/styles.js.map +1 -1
- package/dist/components/Select/styles.js +1 -1
- package/dist/components/Select/styles.js.map +1 -1
- package/dist/components/Tag/styles.js +12 -12
- package/dist/components/Tag/styles.js.map +1 -1
- package/dist/components/ToggleContainer/ToggleItem/styles.js +1 -1
- package/dist/components/ToggleContainer/ToggleItem/styles.js.map +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Tooltip/index.js.map +1 -1
- package/dist/components/Tooltip/styles.d.ts +3 -2
- package/dist/components/Tooltip/styles.js +3 -1
- package/dist/components/Tooltip/styles.js.map +1 -1
- package/dist/theme/theme.d.ts +109 -38
- package/dist/theme/theme.js +112 -72
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/types.d.ts +3 -0
- package/dist/theme/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@ var styled_components_1 = require("styled-components");
|
|
|
7
7
|
exports.StyledAutocompleteItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", "px;\n color: ", ";\n padding: ", "px ", "px;\n background: ", ";\n\n &:hover {\n cursor: ", ";\n }\n"], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", "px;\n color: ", ";\n padding: ", "px ", "px;\n background: ", ";\n\n &:hover {\n cursor: ", ";\n }\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.baseline * 3; }, function (props) {
|
|
8
8
|
return props.noResults ? props.theme.colors.text.light : 'inherit';
|
|
9
9
|
}, index_1.baseline * 1.5, index_1.baseline, function (props) {
|
|
10
|
-
return props.highlighted ? props.theme.colors.grey[
|
|
10
|
+
return props.highlighted ? props.theme.colors.grey[100] : 'white';
|
|
11
11
|
}, function (props) { return (props.noResults ? 'default' : 'pointer'); });
|
|
12
|
-
exports.StyledAutocompleteItemTitle = styled_components_1.default.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n padding: 10px ", "px;\n border-bottom: 1px solid ", ";\n user-select: none;\n text-transform: uppercase;\n color: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n padding: 10px ", "px;\n border-bottom: 1px solid ", ";\n user-select: none;\n text-transform: uppercase;\n color: ", ";\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, index_1.baseline, function (props) { return props.theme.borderColor; }, function (props) { return props.theme.colors.grey[
|
|
12
|
+
exports.StyledAutocompleteItemTitle = styled_components_1.default.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n padding: 10px ", "px;\n border-bottom: 1px solid ", ";\n user-select: none;\n text-transform: uppercase;\n color: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n padding: 10px ", "px;\n border-bottom: 1px solid ", ";\n user-select: none;\n text-transform: uppercase;\n color: ", ";\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, index_1.baseline, function (props) { return props.theme.borderColor; }, function (props) { return props.theme.colors.grey[300]; });
|
|
13
13
|
var templateObject_1, templateObject_2;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/components/Autocomplete/Item/styles.ts"],"names":[],"mappings":";;;;AAAA,8CAA+C;AAC/C,uDAAsC;AAGzB,QAAA,sBAAsB,GAAG,2BAAM,CAAC,GAAG,4QAAuB,qBACpD,EAAiC,oBACnC,EAAiC,sBAC/B,EAAiC,kBACvC,EACsD,kBACpD,EAAc,KAAM,EAAQ,uBACzB,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/components/Autocomplete/Item/styles.ts"],"names":[],"mappings":";;;;AAAA,8CAA+C;AAC/C,uDAAsC;AAGzB,QAAA,sBAAsB,GAAG,2BAAM,CAAC,GAAG,4QAAuB,qBACpD,EAAiC,oBACnC,EAAiC,sBAC/B,EAAiC,kBACvC,EACsD,kBACpD,EAAc,KAAM,EAAQ,uBACzB,EACgD,sCAGhD,EAAkD,YAEnE,KAZkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,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
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StyledAutocomplete = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var styled_components_1 = require("styled-components");
|
|
6
|
-
exports.StyledAutocomplete = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n background: white;\n width: 100%;\n max-height: 300px;\n overflow-y: scroll;\n z-index: 100;\n margin-top: ", "px;\n border-radius: ", "px;\n border: 1px solid ", ";\n box-shadow: 0px 0px 20px rgba(90, 94, 101, 0.1);\n"], ["\n position: absolute;\n background: white;\n width: 100%;\n max-height: 300px;\n overflow-y: scroll;\n z-index: 100;\n margin-top: ", "px;\n border-radius: ", "px;\n border: 1px solid ", ";\n box-shadow: 0px 0px 20px rgba(90, 94, 101, 0.1);\n"])), function (props) { return props.theme.spacing[1]; }, function (props) { return props.theme.borderRadius.default; }, function (props) { return props.theme.colors.grey[
|
|
6
|
+
exports.StyledAutocomplete = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n background: white;\n width: 100%;\n max-height: 300px;\n overflow-y: scroll;\n z-index: 100;\n margin-top: ", "px;\n border-radius: ", "px;\n border: 1px solid ", ";\n box-shadow: 0px 0px 20px rgba(90, 94, 101, 0.1);\n"], ["\n position: absolute;\n background: white;\n width: 100%;\n max-height: 300px;\n overflow-y: scroll;\n z-index: 100;\n margin-top: ", "px;\n border-radius: ", "px;\n border: 1px solid ", ";\n box-shadow: 0px 0px 20px rgba(90, 94, 101, 0.1);\n"])), function (props) { return props.theme.spacing[1]; }, function (props) { return props.theme.borderRadius.default; }, function (props) { return props.theme.colors.grey[200]; });
|
|
7
7
|
var templateObject_1;
|
|
8
8
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Autocomplete/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAEzB,QAAA,kBAAkB,GAAG,2BAAM,CAAC,GAAG,8VAAA,2JAO1B,EAA+B,0BAC5B,EAAyC,6BACtC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Autocomplete/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAEzB,QAAA,kBAAkB,GAAG,2BAAM,CAAC,GAAG,8VAAA,2JAO1B,EAA+B,0BAC5B,EAAyC,6BACtC,EAAqC,2DAE5D,KAJiB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAtB,CAAsB,EAC5B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,EAAhC,CAAgC,EACtC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAE5D"}
|
|
@@ -5,8 +5,8 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
var React = require("react");
|
|
6
6
|
var styles_1 = require("./styles");
|
|
7
7
|
var Badge = function (_a) {
|
|
8
|
-
var children = _a.children,
|
|
9
|
-
return (React.createElement(styles_1.StyledBadge, tslib_1.__assign({
|
|
8
|
+
var children = _a.children, props = tslib_1.__rest(_a, ["children"]);
|
|
9
|
+
return (React.createElement(styles_1.StyledBadge, tslib_1.__assign({}, props), children));
|
|
10
10
|
};
|
|
11
11
|
exports.Badge = Badge;
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Badge/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAAsC;AAM/B,IAAM,KAAK,GAAyB,UAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Badge/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAAsC;AAM/B,IAAM,KAAK,GAAyB,UAAC,EAAsB;IAApB,IAAA,QAAQ,cAAA,EAAK,KAAK,sBAApB,YAAsB,CAAF;IAAO,OAAA,CACnE,oBAAC,oBAAW,uBAAK,KAAK,GAAG,QAAQ,CAAe,CACnD,CAAA;CAAA,CAAA;AAFY,QAAA,KAAK,SAEjB"}
|
|
@@ -3,6 +3,3 @@ import { BadgeProps } from '.';
|
|
|
3
3
|
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Default: Story<BadgeProps>;
|
|
6
|
-
export declare const Action: Story<BadgeProps>;
|
|
7
|
-
export declare const Disabled: Story<BadgeProps>;
|
|
8
|
-
export declare const Stale: Story<BadgeProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Default = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var react_1 = require("react");
|
|
6
6
|
var _1 = require(".");
|
|
@@ -11,19 +11,7 @@ exports.default = {
|
|
|
11
11
|
};
|
|
12
12
|
var Template = function (_a) {
|
|
13
13
|
var args = tslib_1.__rest(_a, []);
|
|
14
|
-
return react_1.default.createElement(_1.Badge, tslib_1.__assign({}, args), "
|
|
14
|
+
return react_1.default.createElement(_1.Badge, tslib_1.__assign({}, args), "10");
|
|
15
15
|
};
|
|
16
16
|
exports.Default = Template.bind({});
|
|
17
|
-
exports.Action = Template.bind({});
|
|
18
|
-
exports.Action.args = {
|
|
19
|
-
kind: 'action',
|
|
20
|
-
};
|
|
21
|
-
exports.Disabled = Template.bind({});
|
|
22
|
-
exports.Disabled.args = {
|
|
23
|
-
kind: 'disabled',
|
|
24
|
-
};
|
|
25
|
-
exports.Stale = Template.bind({});
|
|
26
|
-
exports.Stale.args = {
|
|
27
|
-
kind: 'stale',
|
|
28
|
-
};
|
|
29
17
|
//# sourceMappingURL=index.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Badge/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAqC;AAErC,kBAAe;IACX,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,QAAK;IAChB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,8BAAC,KAAK,OAAG,EAAT,CAAS,CAAC;CAC3B,CAAA;AAET,IAAM,QAAQ,GAAsB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,8BAAC,QAAK,uBAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Badge/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAqC;AAErC,kBAAe;IACX,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,QAAK;IAChB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,8BAAC,KAAK,OAAG,EAAT,CAAS,CAAC;CAC3B,CAAA;AAET,IAAM,QAAQ,GAAsB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,8BAAC,QAAK,uBAAK,IAAI,QAAY,CAAA;CAAA,CAAA;AAEnE,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StyledBadge = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var styled_components_1 = require("styled-components");
|
|
6
|
-
exports.StyledBadge = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n padding:
|
|
6
|
+
exports.StyledBadge = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n padding: 0 ", "px;\n font-family: ", ";\n font-weight: 500;\n font-size: ", ";\n background: ", ";\n border-radius: 10px;\n color: ", ";\n text-transform: uppercase;\n line-height: 18px;\n white-space: nowrap;\n"], ["\n display: inline-flex;\n flex-direction: column;\n padding: 0 ", "px;\n font-family: ", ";\n font-weight: 500;\n font-size: ", ";\n background: ", ";\n border-radius: 10px;\n color: ", ";\n text-transform: uppercase;\n line-height: 18px;\n white-space: nowrap;\n"])), function (props) { return props.theme.spacing[1]; }, function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.xs; }, function (props) { return props.theme.colors.grey[100]; }, function (props) { return props.theme.colors.grey[400]; });
|
|
7
7
|
var templateObject_1;
|
|
8
8
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Badge/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAGzB,QAAA,WAAW,GAAG,2BAAM,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Badge/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAGzB,QAAA,WAAW,GAAG,2BAAM,CAAC,GAAG,yXAAY,2EAGhC,EAA+B,wBAC7B,EAAiC,2CAEnC,EAAkC,qBACjC,EAAqC,0CAE1C,EAAqC,uFAIjD,KAVgB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAtB,CAAsB,EAC7B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAEnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAzB,CAAyB,EACjC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAE1C,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAIjD"}
|
|
@@ -5,7 +5,6 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
var styled_components_1 = require("styled-components");
|
|
6
6
|
var styled_map_1 = require("styled-map");
|
|
7
7
|
var index_1 = require("../../theme/index");
|
|
8
|
-
var theme_1 = require("../../theme/theme");
|
|
9
8
|
var styles_1 = require("../Link/styles");
|
|
10
9
|
exports.StyledButton = styled_components_1.default.button(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n appearance: none;\n background: none;\n border: none;\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n white-space: nowrap;\n line-height: ", ";\n box-shadow: ", ";\n background: ", ";\n border-radius: ", "px;\n color: ", ";\n opacity: ", ";\n cursor: ", ";\n\n &:hover,\n &:focus {\n outline: none;\n background: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n ", ";\n"], ["\n appearance: none;\n background: none;\n border: none;\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n white-space: nowrap;\n line-height: ", ";\n box-shadow: ", ";\n background: ", ";\n border-radius: ", "px;\n color: ", ";\n opacity: ", ";\n cursor: ", ";\n\n &:hover,\n &:focus {\n outline: none;\n background: ", ";\n border-color: ", ";\n color: ", ";\n }\n\n ", ";\n"])), styled_map_1.default('kind', {
|
|
11
10
|
primary: '100%',
|
|
@@ -37,9 +36,9 @@ exports.StyledButton = styled_components_1.default.button(templateObject_2 || (t
|
|
|
37
36
|
}, function (props) {
|
|
38
37
|
return props.disabled
|
|
39
38
|
? styled_map_1.default('kind', {
|
|
40
|
-
primary: props.theme.colors.grey[
|
|
41
|
-
secondary: props.theme.colors.grey[
|
|
42
|
-
tertiary: props.theme.colors.grey[
|
|
39
|
+
primary: props.theme.colors.grey[200],
|
|
40
|
+
secondary: props.theme.colors.grey[200],
|
|
41
|
+
tertiary: props.theme.colors.grey[200],
|
|
43
42
|
ghost: 'none',
|
|
44
43
|
})
|
|
45
44
|
: styled_map_1.default('kind', {
|
|
@@ -51,25 +50,25 @@ exports.StyledButton = styled_components_1.default.button(templateObject_2 || (t
|
|
|
51
50
|
}, function (props) {
|
|
52
51
|
return props.disabled
|
|
53
52
|
? styled_map_1.default('kind', {
|
|
54
|
-
primary: props.theme.colors.grey[
|
|
55
|
-
secondary: props.theme.colors.grey[
|
|
56
|
-
tertiary: props.theme.colors.grey[
|
|
53
|
+
primary: props.theme.colors.grey[200],
|
|
54
|
+
secondary: props.theme.colors.grey[200],
|
|
55
|
+
tertiary: props.theme.colors.grey[200],
|
|
57
56
|
ghost: 'transparent',
|
|
58
57
|
})
|
|
59
58
|
: styled_map_1.default('kind', {
|
|
60
59
|
primary: props.theme.colors.buttons.primary,
|
|
61
60
|
secondary: props.theme.colors.buttons.secondary,
|
|
62
|
-
tertiary:
|
|
61
|
+
tertiary: props.theme.colors.buttons.tertiary,
|
|
63
62
|
ghost: 'transparent',
|
|
64
63
|
});
|
|
65
64
|
}, function (props) { return props.theme.borderRadius.button; }, function (props) {
|
|
66
65
|
return props.disabled
|
|
67
|
-
? props.theme.colors.grey[
|
|
66
|
+
? props.theme.colors.grey[300]
|
|
68
67
|
: styled_map_1.default('kind', {
|
|
69
68
|
primary: 'white',
|
|
70
69
|
secondary: 'white',
|
|
71
70
|
tertiary: props.theme.colors.primary,
|
|
72
|
-
ghost: props.theme.colors.grey[
|
|
71
|
+
ghost: props.theme.colors.grey[900],
|
|
73
72
|
});
|
|
74
73
|
}, styled_map_1.default({
|
|
75
74
|
disabled: 0.5,
|
|
@@ -80,34 +79,34 @@ exports.StyledButton = styled_components_1.default.button(templateObject_2 || (t
|
|
|
80
79
|
}), function (props) {
|
|
81
80
|
return props.disabled
|
|
82
81
|
? styled_map_1.default('kind', {
|
|
83
|
-
primary: props.theme.colors.grey[
|
|
84
|
-
secondary: props.theme.colors.grey[
|
|
82
|
+
primary: props.theme.colors.grey[200],
|
|
83
|
+
secondary: props.theme.colors.grey[200],
|
|
85
84
|
tertiary: 'transparent',
|
|
86
85
|
ghost: 'transparent',
|
|
87
86
|
})
|
|
88
87
|
: styled_map_1.default('kind', {
|
|
89
88
|
primary: props.theme.colors.buttons.primaryHover,
|
|
90
89
|
secondary: props.theme.colors.buttons.secondaryHover,
|
|
91
|
-
tertiary: props.theme.colors.buttons.
|
|
90
|
+
tertiary: props.theme.colors.buttons.tertiaryHover,
|
|
92
91
|
ghost: 'transparent',
|
|
93
92
|
});
|
|
94
93
|
}, function (props) {
|
|
95
94
|
return props.disabled
|
|
96
|
-
? props.theme.colors.grey[
|
|
95
|
+
? props.theme.colors.grey[200]
|
|
97
96
|
: styled_map_1.default('kind', {
|
|
98
97
|
primary: props.theme.colors.buttons.primaryHover,
|
|
99
98
|
secondary: props.theme.colors.buttons.secondaryHover,
|
|
100
|
-
tertiary:
|
|
99
|
+
tertiary: props.theme.colors.primary,
|
|
101
100
|
ghost: 'transparent',
|
|
102
101
|
});
|
|
103
102
|
}, function (props) {
|
|
104
103
|
return props.disabled
|
|
105
|
-
? props.theme.colors.grey[
|
|
104
|
+
? props.theme.colors.grey[300]
|
|
106
105
|
: styled_map_1.default('kind', {
|
|
107
106
|
primary: 'white',
|
|
108
107
|
secondary: 'white',
|
|
109
|
-
tertiary:
|
|
110
|
-
ghost: props.theme.colors.grey[
|
|
108
|
+
tertiary: props.theme.colors.primary,
|
|
109
|
+
ghost: props.theme.colors.grey[600],
|
|
111
110
|
});
|
|
112
111
|
}, index_1.media.s(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n width: auto;\n padding: ", ";\n "], ["\n width: auto;\n padding: ", ";\n "])), function (props) {
|
|
113
112
|
return styled_map_1.default('size', {
|
|
@@ -124,7 +123,7 @@ exports.StyledButton = styled_components_1.default.button(templateObject_2 || (t
|
|
|
124
123
|
}));
|
|
125
124
|
exports.StyledLinkButton = styled_components_1.default.button(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n ", ";\n border: none;\n background: none;\n padding: 0;\n\n &:hover {\n color: ", ";\n }\n"], ["\n ", ";\n border: none;\n background: none;\n padding: 0;\n\n &:hover {\n color: ", ";\n }\n"])), styles_1.linkStyles, function (props) {
|
|
126
125
|
return props.secondary
|
|
127
|
-
? props.theme.colors.grey[
|
|
126
|
+
? props.theme.colors.grey[600]
|
|
128
127
|
: props.theme.colors.links.hover;
|
|
129
128
|
});
|
|
130
129
|
exports.StyledIcon = styled_components_1.default.div(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n ", ";\n ", ";\n ", ";\n ", ";\n\n svg {\n position: relative;\n top: 4px;\n }\n"], ["\n ", ";\n ", ";\n ", ";\n ", ";\n\n svg {\n position: relative;\n top: 4px;\n }\n"])), function (props) { return (props.nav === 'previous' ? 'left: 16px' : 0); }, function (props) { return (props.nav === 'next' ? 'right: 16px' : 0); }, function (props) { return (props.nav === 'previous' ? 'margin-right: 8px' : 0); }, function (props) { return (props.nav === 'next' ? 'margin-left: 8px' : 0); });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Button/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAAkC;AAElC,2CAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Button/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAAkC;AAElC,2CAAyC;AACzC,yCAA2C;AAE9B,QAAA,YAAY,GAAG,2BAAM,CAAC,MAAM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KAAK,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,EAA1C,CAA0C,EACnD,UAAA,KAAK,IAAI,OAAA,CAAC,KAAK,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,EAApD,CAAoD,EAC7D,UAAA,KAAK,IAAI,OAAA,CAAC,KAAK,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,EAA/C,CAA+C,EAM7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Card/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAE9B,8BAAsC;AACtC,mCAAqC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Card/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAE9B,8BAAsC;AACtC,mCAAqC;AAY9B,IAAM,IAAI,GAAmC,UAAC,EAQpD;IAPG,IAAA,IAAI,UAAA,EACJ,GAAG,SAAA,EACH,KAAK,WAAA,EACL,MAAM,YAAA,EACN,IAAI,UAAA,EACJ,QAAQ,cAAA,EACL,IAAI,sBAP0C,sDAQpD,CADU;IAEP,OAAO,CACH,oBAAC,SAAG,iBACW,IAAI,EACf,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI;QAEV,oBAAC,mBAAU,uBAAK,IAAI,GAAG,QAAQ,CAAc,CAC3C,CACT,CAAA;AACL,CAAC,CAAA;AApBY,QAAA,IAAI,QAoBhB;AAED,YAAI,CAAC,YAAY,GAAG;IAChB,UAAU,EAAE,OAAO;IACnB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,GAAG;IACX,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,CAAC;IACL,OAAO,EAAE,SAAS;CACR,CAAA"}
|
|
@@ -21,7 +21,7 @@ var Template = function (_a) {
|
|
|
21
21
|
exports.Default = Template.bind({});
|
|
22
22
|
exports.withBackground = Template.bind({});
|
|
23
23
|
exports.withBackground.args = {
|
|
24
|
-
background: theme_1.theme.colors.grey[
|
|
24
|
+
background: theme_1.theme.colors.grey[100],
|
|
25
25
|
};
|
|
26
26
|
// TODO: padding
|
|
27
27
|
exports.SmallShadow = Template.bind({});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Card/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAmC;AACnC,qCAAmC;AACnC,gCAA8B;AAE9B,kBAAe;IACX,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAI;IACf,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,8BAAC,KAAK,OAAG,EAAT,CAAS,CAAC;CAC3B,CAAA;AAET,IAAM,QAAQ,GAAqB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CAChD,8BAAC,OAAI,uBAAK,IAAI;QACV,8BAAC,WAAI;;YAKuC,GAAG,CACxC,CACJ,CACV,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE3B,QAAA,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAC/C,sBAAc,CAAC,IAAI,GAAG;IAClB,UAAU,EAAE,aAAK,CAAC,MAAM,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Card/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAmC;AACnC,qCAAmC;AACnC,gCAA8B;AAE9B,kBAAe;IACX,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAI;IACf,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,8BAAC,KAAK,OAAG,EAAT,CAAS,CAAC;CAC3B,CAAA;AAET,IAAM,QAAQ,GAAqB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CAChD,8BAAC,OAAI,uBAAK,IAAI;QACV,8BAAC,WAAI;;YAKuC,GAAG,CACxC,CACJ,CACV,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAE3B,QAAA,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAC/C,sBAAc,CAAC,IAAI,GAAG;IAClB,UAAU,EAAE,aAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;CACrC,CAAA;AAED,gBAAgB;AACH,QAAA,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAC5C,mBAAW,CAAC,IAAI,GAAG;IACf,MAAM,EAAE,GAAG;IACX,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,CAAC;CACR,CAAA;AAEY,QAAA,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AAC5C,mBAAW,CAAC,IAAI,GAAG;IACf,MAAM,EAAE,GAAG;IACX,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,CAAC;CACR,CAAA"}
|
|
@@ -4,9 +4,9 @@ exports.StyledCard = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var styled_components_1 = require("styled-components");
|
|
6
6
|
var styled_map_1 = require("styled-map");
|
|
7
|
-
exports.StyledCard = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n background: ", ";\n color: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n text-align: ", ";\n transition: background 200ms ease-in;\n"], ["\n background: ", ";\n color: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n text-align: ", ";\n transition: background 200ms ease-in;\n"])), function (props) {
|
|
7
|
+
exports.StyledCard = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n background: ", ";\n color: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n text-align: ", ";\n transition: background 200ms ease-in;\n overflow: ", ";\n"], ["\n background: ", ";\n color: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n text-align: ", ";\n transition: background 200ms ease-in;\n overflow: ", ";\n"])), function (props) {
|
|
8
8
|
return props.background === 'grey'
|
|
9
|
-
? props.theme.colors.grey[
|
|
9
|
+
? props.theme.colors.grey[100]
|
|
10
10
|
: props.background === 'white'
|
|
11
11
|
? 'white'
|
|
12
12
|
: props.background;
|
|
@@ -62,6 +62,6 @@ exports.StyledCard = styled_components_1.default.div(templateObject_1 || (templa
|
|
|
62
62
|
: props.shadow === 'l'
|
|
63
63
|
? props.theme.shadow.large
|
|
64
64
|
: 'none';
|
|
65
|
-
}, function (props) { return props.textAlign; });
|
|
65
|
+
}, function (props) { return props.textAlign; }, function (props) { return props.overflow; });
|
|
66
66
|
var templateObject_1;
|
|
67
67
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Card/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAAkC;AAGrB,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Card/styles.ts"],"names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AI;QAChC,CAAC,EAAK,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,OAAI;KACnC,CAAC;AAPF,CAOE,EACW,UAAA,KAAK;IAClB,OAAA,KAAK,CAAC,MAAM,KAAK,GAAG;QAChB,CAAC,CAAI,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,OAAI;QACzC,CAAC,CAAC,KAAK,CAAC,MAAM,KAAK,GAAG;YACtB,CAAC,CAAI,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,OAAI;YACvC,CAAC,CAAC,CAAC;AAJP,CAIO,EACG,UAAA,KAAK;IACf,OAAA,KAAK,CAAC,MAAM,KAAK,GAAG;QAChB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;QAC1B,CAAC,CAAC,KAAK,CAAC,MAAM,KAAK,GAAG;YACtB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;YAC1B,CAAC,CAAC,MAAM;AAJZ,CAIY,EACF,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,SAAS,EAAf,CAAe,EAE1B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,QAAQ,EAAd,CAAc,EACtC"}
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StyledCounterTag = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var styled_components_1 = require("styled-components");
|
|
6
|
-
exports.StyledCounterTag = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n padding: ", "px\n ", "px;\n font-family: ", ";\n font-weight: bold;\n font-size: ", ";\n background: ", ";\n border-radius: 100px;\n color: ", ";\n text-transform: uppercase;\n line-height: 8px;\n"], ["\n display: inline-flex;\n flex-direction: column;\n padding: ", "px\n ", "px;\n font-family: ", ";\n font-weight: bold;\n font-size: ", ";\n background: ", ";\n border-radius: 100px;\n color: ", ";\n text-transform: uppercase;\n line-height: 8px;\n"])), function (props) { return props.theme.baseline; }, function (props) { return props.theme.baseline * 2; }, function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.grey[
|
|
6
|
+
exports.StyledCounterTag = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n padding: ", "px\n ", "px;\n font-family: ", ";\n font-weight: bold;\n font-size: ", ";\n background: ", ";\n border-radius: 100px;\n color: ", ";\n text-transform: uppercase;\n line-height: 8px;\n"], ["\n display: inline-flex;\n flex-direction: column;\n padding: ", "px\n ", "px;\n font-family: ", ";\n font-weight: bold;\n font-size: ", ";\n background: ", ";\n border-radius: 100px;\n color: ", ";\n text-transform: uppercase;\n line-height: 8px;\n"])), function (props) { return props.theme.baseline; }, function (props) { return props.theme.baseline * 2; }, function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.grey[200]; }, function (props) { return props.theme.colors.grey[600]; });
|
|
7
7
|
var templateObject_1;
|
|
8
8
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/CounterTag/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAGzB,QAAA,gBAAgB,GAAG,2BAAM,CAAC,GAAG,8WAAiB,yEAG5C,EAA6B,cAClC,EAAiC,wBACxB,EAAiC,4CAEnC,EAAiC,qBAChC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/CounterTag/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAGzB,QAAA,gBAAgB,GAAG,2BAAM,CAAC,GAAG,8WAAiB,yEAG5C,EAA6B,cAClC,EAAiC,wBACxB,EAAiC,4CAEnC,EAAiC,qBAChC,EAAqC,2CAE1C,EAAqC,4DAGjD,KAVc,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,EAApB,CAAoB,EAClC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,EAAxB,CAAwB,EACxB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAEnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAxB,CAAwB,EAChC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAE1C,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAGjD"}
|
|
@@ -6,11 +6,11 @@ var styled_components_1 = require("styled-components");
|
|
|
6
6
|
var styles_1 = require("../Link/styles");
|
|
7
7
|
exports.StyledExternalLink = styled_components_1.default.a(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", ";\n color: ", ";\n font-family: ", ";\n font-weight: 500;\n text-decoration: underline;\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n"], ["\n ", ";\n color: ", ";\n font-family: ", ";\n font-weight: 500;\n text-decoration: underline;\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n"])), styles_1.linkStyles, function (props) {
|
|
8
8
|
return props.secondary
|
|
9
|
-
? props.theme.colors.grey[
|
|
9
|
+
? props.theme.colors.grey[900]
|
|
10
10
|
: props.theme.colors.links.default;
|
|
11
11
|
}, function (props) { return props.theme.font.default; }, function (props) {
|
|
12
12
|
return props.secondary
|
|
13
|
-
? props.theme.colors.grey[
|
|
13
|
+
? props.theme.colors.grey[600]
|
|
14
14
|
: props.theme.colors.links.hover;
|
|
15
15
|
});
|
|
16
16
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/ExternalLink/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAA2C;AAG9B,QAAA,kBAAkB,GAAG,2BAAM,CAAC,CAAC,+QAAmB,QACvD,EAAU,gBACH,EAGiC,sBAC3B,EAAiC,6FAKnC,EAG+B,iDAG/C,KAhBK,mBAAU,EACH,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/ExternalLink/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAA2C;AAG9B,QAAA,kBAAkB,GAAG,2BAAM,CAAC,CAAC,+QAAmB,QACvD,EAAU,gBACH,EAGiC,sBAC3B,EAAiC,6FAKnC,EAG+B,iDAG/C,KAhBK,mBAAU,EACH,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;QAC9B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO;AAFtC,CAEsC,EAC3B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAKnC,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;QAC9B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK;AAFpC,CAEoC,EAG/C"}
|
|
@@ -5,9 +5,9 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
var styled_components_1 = require("styled-components");
|
|
6
6
|
var HelpText_1 = require("../HelpText");
|
|
7
7
|
exports.StyledInputWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: flex;\n position: relative;\n"], ["\n display: flex;\n position: relative;\n"])));
|
|
8
|
-
exports.inputStyles = styled_components_1.css(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-weight: 500;\n font-size: ", ";\n color: ", ";\n align-items: center;\n max-width: 100%;\n overflow-wrap: break-word;\n border-style: solid;\n border-width: ", "px;\n border-color: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n transition: background-color 0.2s ease-in-out 0s,\n border-color 0.2s ease-in-out 0s;\n padding: 16px 16px;\n height: 40px;\n width: 100%;\n\n &[type='text'],\n &[type='number'],\n &[type='email'],\n &[type='tel']
|
|
8
|
+
exports.inputStyles = styled_components_1.css(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-weight: 500;\n font-size: ", ";\n color: ", ";\n align-items: center;\n max-width: 100%;\n overflow-wrap: break-word;\n border-style: solid;\n border-width: ", "px;\n border-color: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n transition: background-color 0.2s ease-in-out 0s,\n border-color 0.2s ease-in-out 0s;\n padding: 16px 16px;\n height: 40px;\n width: 100%;\n\n &[type='text'],\n &[type='number'],\n &[type='email'],\n &[type='tel'] {\n -webkit-appearance: none;\n }\n\n &[type='search'] {\n /* clears the 'X' from Internet Explorer */\n &::-ms-clear {\n display: none;\n width: 0;\n height: 0;\n }\n &::-ms-reveal {\n display: none;\n width: 0;\n height: 0;\n }\n /* clears the 'X' from Chrome */\n &::-webkit-search-cancel-button,\n &::-webkit-search-results-button,\n &::-webkit-search-results-decoration {\n display: none;\n }\n }\n\n &[type='number'] {\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n\n // hide the helptext if it is available\n + div {\n opacity: 0;\n }\n\n &:focus {\n border-color: ", ";\n outline: none;\n\n // show the helptext if it is available\n + div {\n opacity: 1;\n }\n }\n\n &::placeholder {\n color: ", ";\n font-weight: 500;\n }\n"], ["\n font-family: ", ";\n font-weight: 500;\n font-size: ", ";\n color: ", ";\n align-items: center;\n max-width: 100%;\n overflow-wrap: break-word;\n border-style: solid;\n border-width: ", "px;\n border-color: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n transition: background-color 0.2s ease-in-out 0s,\n border-color 0.2s ease-in-out 0s;\n padding: 16px 16px;\n height: 40px;\n width: 100%;\n\n &[type='text'],\n &[type='number'],\n &[type='email'],\n &[type='tel'] {\n -webkit-appearance: none;\n }\n\n &[type='search'] {\n /* clears the 'X' from Internet Explorer */\n &::-ms-clear {\n display: none;\n width: 0;\n height: 0;\n }\n &::-ms-reveal {\n display: none;\n width: 0;\n height: 0;\n }\n /* clears the 'X' from Chrome */\n &::-webkit-search-cancel-button,\n &::-webkit-search-results-button,\n &::-webkit-search-results-decoration {\n display: none;\n }\n }\n\n &[type='number'] {\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n\n // hide the helptext if it is available\n + div {\n opacity: 0;\n }\n\n &:focus {\n border-color: ", ";\n outline: none;\n\n // show the helptext if it is available\n + div {\n opacity: 1;\n }\n }\n\n &::placeholder {\n color: ", ";\n font-weight: 500;\n }\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) {
|
|
9
9
|
return props.disabled
|
|
10
|
-
? props.theme.colors.grey[
|
|
10
|
+
? props.theme.colors.grey[600]
|
|
11
11
|
: props.theme.colors.input.color;
|
|
12
12
|
}, function (props) { return props.theme.borderWidth; }, function (props) {
|
|
13
13
|
return props.error
|
|
@@ -21,14 +21,14 @@ exports.inputStyles = styled_components_1.css(templateObject_2 || (templateObjec
|
|
|
21
21
|
: props.theme.borderRadius.default + "px";
|
|
22
22
|
}, function (props) {
|
|
23
23
|
return props.disabled
|
|
24
|
-
? props.theme.colors.grey[
|
|
24
|
+
? props.theme.colors.grey[200]
|
|
25
25
|
: props.theme.colors.input.background;
|
|
26
26
|
}, function (props) { return props.theme.colors.input.focus; }, function (props) { return props.theme.colors.input.placeholder; });
|
|
27
27
|
exports.StyledInput = styled_components_1.default.input(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), exports.inputStyles);
|
|
28
|
-
exports.StyledHelpText = styled_components_1.default(HelpText_1.HelpText)(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n position: absolute;\n top: 50%;\n right: 20px;\n transition: opacity 200ms;\n pointer-events: none;\n\n > div {\n color: ", " !important;\n }\n"], ["\n display: inline-block;\n position: absolute;\n top: 50%;\n right: 20px;\n transition: opacity 200ms;\n pointer-events: none;\n\n > div {\n color: ", " !important;\n }\n"])), function (props) { return props.theme.colors.grey[
|
|
28
|
+
exports.StyledHelpText = styled_components_1.default(HelpText_1.HelpText)(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n position: absolute;\n top: 50%;\n right: 20px;\n transition: opacity 200ms;\n pointer-events: none;\n\n > div {\n color: ", " !important;\n }\n"], ["\n display: inline-block;\n position: absolute;\n top: 50%;\n right: 20px;\n transition: opacity 200ms;\n pointer-events: none;\n\n > div {\n color: ", " !important;\n }\n"])), function (props) { return props.theme.colors.grey[600]; });
|
|
29
29
|
exports.StyledInputInner = styled_components_1.default.div(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
|
|
30
30
|
exports.StyledTooltip = styled_components_1.default.div(templateObject_6 || (templateObject_6 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n margin-left: ", "px;\n line-height: 1.6;\n"], ["\n font-family: ", ";\n margin-left: ", "px;\n line-height: 1.6;\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.baseline; });
|
|
31
|
-
var prePostStyles = styled_components_1.css(templateObject_7 || (templateObject_7 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n background-color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 40px;\n padding: 0 ", "px;\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n background-color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 40px;\n padding: 0 ", "px;\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.grey[
|
|
31
|
+
var prePostStyles = styled_components_1.css(templateObject_7 || (templateObject_7 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n background-color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 40px;\n padding: 0 ", "px;\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n background-color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 40px;\n padding: 0 ", "px;\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.grey[900]; }, function (props) { return props.theme.colors.grey[200]; }, function (props) { return props.theme.baseline * 2; });
|
|
32
32
|
exports.StyledPreFix = styled_components_1.default.div(templateObject_8 || (templateObject_8 = tslib_1.__makeTemplateObject(["\n ", ";\n border-radius: 5px 0 0 5px;\n"], ["\n ", ";\n border-radius: 5px 0 0 5px;\n"])), prePostStyles);
|
|
33
33
|
exports.StyledPostFix = styled_components_1.default.div(templateObject_9 || (templateObject_9 = tslib_1.__makeTemplateObject(["\n ", ";\n border-radius: 0 5px 5px 0;\n"], ["\n ", ";\n border-radius: 0 5px 5px 0;\n"])), prePostStyles);
|
|
34
34
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Input/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAA+C;AAC/C,wCAAsC;AAYzB,QAAA,kBAAkB,GAAG,2BAAM,CAAC,GAAG,4HAAA,iDAG3C,KAAA;AAEY,QAAA,WAAW,GAAG,uBAAG,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Input/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAA+C;AAC/C,wCAAsC;AAYzB,QAAA,kBAAkB,GAAG,2BAAM,CAAC,GAAG,4HAAA,iDAG3C,KAAA;AAEY,QAAA,WAAW,GAAG,uBAAG,qtDAAiC,qBAC5C,EAAiC,2CAEnC,EAAiC,gBACrC,EAG+B,iIAKxB,EAAgC,yBAChC,EAGyB,wBACxB,EAKgC,2BAC7B,EAGyB,ioCAiDzB,EAAuC,mLAU9C,EAA6C,uCAG7D,KAvFkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAEnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAxB,CAAwB,EACrC,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,QAAQ;QACV,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;QAC9B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK;AAFpC,CAEoC,EAKxB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,WAAW,EAAvB,CAAuB,EAChC,UAAA,KAAK;IACjB,OAAA,KAAK,CAAC,KAAK;QACP,CAAC,CAAC,KAAK,CAAC,KAAK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AC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EACjC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,EAApB,CAAoB,EAE/C;AAED,IAAM,aAAa,GAAG,uBAAG,6TAAA,qBACN,EAAiC,oBACnC,EAAiC,uCAErC,EAAqC,2BAC1B,EAAqC,sHAK5C,EAAiC,OACjD,KAVkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EACnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAxB,CAAwB,EAErC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAC1B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAK5C,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,EAAxB,CAAwB,CACjD,CAAA;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,2HAAA,QAChC,EAAa,sCAElB,KAFK,aAAa,EAElB;AAEY,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,2HAAA,QACjC,EAAa,sCAElB,KAFK,aAAa,EAElB"}
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StyledLabel = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var styled_components_1 = require("styled-components");
|
|
6
|
-
exports.StyledLabel = styled_components_1.default.label(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n font-weight: normal;\n line-height: ", "px;\n display: inline-block;\n margin-bottom: ", "px;\n"], ["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n font-weight: normal;\n line-height: ", "px;\n display: inline-block;\n margin-bottom: ", "px;\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.grey[
|
|
6
|
+
exports.StyledLabel = styled_components_1.default.label(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n font-weight: normal;\n line-height: ", "px;\n display: inline-block;\n margin-bottom: ", "px;\n"], ["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n font-weight: normal;\n line-height: ", "px;\n display: inline-block;\n margin-bottom: ", "px;\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.grey[600]; }, function (props) { return props.theme.baseline * 3; }, function (props) { return props.theme.baseline; });
|
|
7
7
|
var templateObject_1;
|
|
8
8
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Label/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAEzB,QAAA,WAAW,GAAG,2BAAM,CAAC,KAAK,2PAAA,qBACpB,EAAiC,oBACnC,EAAiC,gBACrC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Label/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAEzB,QAAA,WAAW,GAAG,2BAAM,CAAC,KAAK,2PAAA,qBACpB,EAAiC,oBACnC,EAAiC,gBACrC,EAAqC,gDAE/B,EAAiC,sDAE/B,EAA6B,OACjD,KAPkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EACnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAxB,CAAwB,EACrC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAE/B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,EAAxB,CAAwB,EAE/B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,EAApB,CAAoB,EACjD"}
|
|
@@ -7,13 +7,13 @@ var ArrowLeft_1 = require("../../assets/icons/ArrowLeft");
|
|
|
7
7
|
var ArrowRight_1 = require("../../assets/icons/ArrowRight");
|
|
8
8
|
exports.linkStyles = styled_components_1.css(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline;\n font-family: ", ";\n font-weight: 500;\n font-size: inherit;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n transition: all 120ms ease-in;\n text-decoration-line: ", ";\n text-decoration-style: solid;\n\n &:hover {\n text-decoration-line: none;\n color: ", ";\n }\n"], ["\n display: inline;\n font-family: ", ";\n font-weight: 500;\n font-size: inherit;\n color: ", ";\n text-decoration: none;\n cursor: pointer;\n transition: all 120ms ease-in;\n text-decoration-line: ", ";\n text-decoration-style: solid;\n\n &:hover {\n text-decoration-line: none;\n color: ", ";\n }\n"])), function (props) { return props.theme.font.default; }, function (props) {
|
|
9
9
|
return props.secondary
|
|
10
|
-
? props.theme.colors.grey[
|
|
10
|
+
? props.theme.colors.grey[900]
|
|
11
11
|
: props.theme.colors.links.default;
|
|
12
12
|
}, function (props) {
|
|
13
13
|
return props.textDecoration ? 'underline' : 'auto';
|
|
14
14
|
}, function (props) {
|
|
15
15
|
return props.secondary
|
|
16
|
-
? props.theme.colors.grey[
|
|
16
|
+
? props.theme.colors.grey[600]
|
|
17
17
|
: props.theme.colors.links.hover;
|
|
18
18
|
});
|
|
19
19
|
exports.StyledArrowLeft = styled_components_1.default(ArrowLeft_1.ArrowLeft)(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n margin-top: -4px;\n"], ["\n margin-top: -4px;\n"])));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Link/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAA+C;AAC/C,0DAAwD;AACxD,4DAA0D;AAE7C,QAAA,UAAU,GAAG,uBAAG,4aAG3B,2CAEiB,EAAiC,gEAGvC,EAGiC,qHAIlB,EACuB,6GAKlC,EAG+B,YAE/C,KArBkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAGvC,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Link/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAA+C;AAC/C,0DAAwD;AACxD,4DAA0D;AAE7C,QAAA,UAAU,GAAG,uBAAG,4aAG3B,2CAEiB,EAAiC,gEAGvC,EAGiC,qHAIlB,EACuB,6GAKlC,EAG+B,YAE/C,KArBkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAGvC,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;QAC9B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO;AAFtC,CAEsC,EAIlB,UAAA,KAAK;IACzB,OAAA,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM;AAA3C,CAA2C,EAKlC,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;QAC9B,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK;AAFpC,CAEoC,EAE/C;AAEY,QAAA,eAAe,GAAG,2BAAM,CAAC,qBAAS,CAAC,sGAAA,2BAE/C,KAAA;AAEY,QAAA,gBAAgB,GAAG,2BAAM,CAAC,uBAAU,CAAC,sGAAA,2BAEjD,KAAA;AAEY,QAAA,UAAU,GAAG,2BAAM,CAAC,CAAC,oRAAA,QAC5B,EAAU,+LAcf,KAdK,kBAAU,EAcf"}
|
|
@@ -7,12 +7,12 @@ var styled_map_1 = require("styled-map");
|
|
|
7
7
|
var Box_1 = require("../Box");
|
|
8
8
|
exports.StyledNotification = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", ";\n font-family: ", ";\n font-size: ", ";\n padding: ", "px\n ", "px;\n background-color: ", ";\n color: ", ";\n line-height: 24px;\n display: flex;\n flex-direction: column;\n align-items: ", ";\n text-align: ", ";\n border: 1px solid;\n border-radius: 5px;\n border-color: ", ";\n a {\n color: inherit;\n }\n"], ["\n ", ";\n font-family: ", ";\n font-size: ", ";\n padding: ", "px\n ", "px;\n background-color: ", ";\n color: ", ";\n line-height: 24px;\n display: flex;\n flex-direction: column;\n align-items: ", ";\n text-align: ", ";\n border: 1px solid;\n border-radius: 5px;\n border-color: ", ";\n a {\n color: inherit;\n }\n"])), function (props) { return Box_1.mb(2, props.theme.spacing); }, function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.baseline * 1.5; }, function (props) { return props.theme.baseline * 2; }, function (props) {
|
|
9
9
|
return styled_map_1.default('type', {
|
|
10
|
-
error: props.theme.colors.red[
|
|
11
|
-
warning: props.theme.colors.orange[
|
|
12
|
-
message: props.theme.colors.blue[
|
|
13
|
-
success: props.theme.colors.green[
|
|
10
|
+
error: props.theme.colors.red[50],
|
|
11
|
+
warning: props.theme.colors.orange[50],
|
|
12
|
+
message: props.theme.colors.blue[50],
|
|
13
|
+
success: props.theme.colors.green[50],
|
|
14
14
|
});
|
|
15
|
-
}, function (props) { return props.theme.colors.grey[
|
|
15
|
+
}, function (props) { return props.theme.colors.grey[900]; }, function (props) {
|
|
16
16
|
return props.contentAlign === 'center'
|
|
17
17
|
? 'center'
|
|
18
18
|
: props.contentAlign === 'right'
|
|
@@ -20,10 +20,10 @@ exports.StyledNotification = styled_components_1.default.div(templateObject_1 ||
|
|
|
20
20
|
: 'flex-start';
|
|
21
21
|
}, function (props) { return (props.contentAlign ? props.contentAlign : 'left'); }, function (props) {
|
|
22
22
|
return styled_map_1.default('type', {
|
|
23
|
-
error: props.theme.colors.red[
|
|
23
|
+
error: props.theme.colors.red[500],
|
|
24
24
|
warning: '#FFD68F',
|
|
25
25
|
message: '#A8CDFF',
|
|
26
|
-
success: props.theme.colors.green[
|
|
26
|
+
success: props.theme.colors.green[500],
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
exports.StyledIcon = styled_components_1.default.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: inline-flex;\n width: 24px;\n color: ", ";\n margin-right: ", "px;\n flex-shrink: 0;\n"], ["\n display: inline-flex;\n width: 24px;\n color: ", ";\n margin-right: ", "px;\n flex-shrink: 0;\n"])), function (props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Notification/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAAkC;AAElC,8BAA2B;AAEd,QAAA,kBAAkB,GAAG,2BAAM,CAAC,GAAG,wcAAmB,QACzD,EAAmC,sBACtB,EAAiC,oBACnC,EAAiC,kBACnC,EAAmC,cACxC,EAAiC,6BACnB,EAMd,gBACG,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Notification/styles.ts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AA,KAAK;IAChB,OAAA,KAAK,CAAC,YAAY,KAAK,QAAQ;QAC3B,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,KAAK,CAAC,YAAY,KAAK,OAAO;YAChC,CAAC,CAAC,UAAU;YACZ,CAAC,CAAC,YAAY;AAJlB,CAIkB,EACR,UAAA,KAAK,IAAI,OAAA,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,EAAlD,CAAkD,EAGzD,UAAA,KAAK;IACjB,OAAA,oBAAS,CAAC,MAAM,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC;QAClC,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;KACzC,CAAC;AALF,CAKE,EAIT;AAEY,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,8LAElC,4DAGW,EAMH,uBACU,EAA+B,4BAElD,KATY,UAAA,KAAK;IACV,OAAA,oBAAS,CAAC,MAAM,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;QAC/B,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO;QACnC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO;QACnC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO;KACtC,CAAC;AALF,CAKE,EACU,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAtB,CAAsB,EAElD"}
|
|
@@ -12,7 +12,7 @@ exports.StyledSelect = styled_components_1.default.select(templateObject_1 || (t
|
|
|
12
12
|
return props.empty
|
|
13
13
|
? props.theme.colors.input.placeholder
|
|
14
14
|
: props.disabled
|
|
15
|
-
? props.theme.colors.grey[
|
|
15
|
+
? props.theme.colors.grey[300]
|
|
16
16
|
: props.theme.colors.input.color;
|
|
17
17
|
}, function (props) { return props.theme.colors.input.background; }, styled_map_1.default({
|
|
18
18
|
disabled: 'not-allowed',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Select/styles.ts"],"names":[],"mappings":";;;;AAAA,yCAAkC;AAClC,uDAAsC;AAGzB,QAAA,YAAY,GAAG,2BAAM,CAAC,MAAM,8jBAKxC,qBACkB,EAAiC,oBACnC,EAAiC,wMAS7B,EAAuC,yBACxC,EAAgC,yBAChC,EAGyB,gBAChC,EAK+B,2BACpB,EAA4C,iBACtD,EAGR,kEAGkB,EAAuC,gEAK9D,KAlCkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EACnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAxB,CAAwB,EAS7B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,EAA9B,CAA8B,EACxC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,WAAW,EAAvB,CAAuB,EAChC,UAAA,KAAK;IACjB,OAAA,KAAK,CAAC,KAAK;QACP,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK;QAChC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM;AAFrC,CAEqC,EAChC,UAAA,KAAK;IACV,OAAA,KAAK,CAAC,KAAK;QACP,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW;QACtC,CAAC,CAAC,KAAK,CAAC,QAAQ;YAChB,CAAC,C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