@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
|
@@ -4,21 +4,21 @@ exports.StyledTag = 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.StyledTag = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n padding:
|
|
7
|
+
exports.StyledTag = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n padding: 8px 12px;\n font-family: ", ";\n font-weight: 500;\n font-size: ", ";\n background-color: ", ";\n border-radius: 8px;\n color: ", ";\n line-height: 0.75;\n white-space: nowrap;\n"], ["\n display: inline-block;\n padding: 8px 12px;\n font-family: ", ";\n font-weight: 500;\n font-size: ", ";\n background-color: ", ";\n border-radius: 8px;\n color: ", ";\n line-height: 0.75;\n white-space: nowrap;\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.xs; }, function (props) {
|
|
8
8
|
return styled_map_1.default('kind', {
|
|
9
|
-
error: props.theme.colors.red[
|
|
10
|
-
warning: props.theme.colors.orange[
|
|
11
|
-
default: props.theme.colors.blue[
|
|
12
|
-
success: props.theme.colors.green[
|
|
13
|
-
disabled: props.theme.colors.grey[
|
|
9
|
+
error: props.theme.colors.red[50],
|
|
10
|
+
warning: props.theme.colors.orange[50],
|
|
11
|
+
default: props.theme.colors.blue[50],
|
|
12
|
+
success: props.theme.colors.green[50],
|
|
13
|
+
disabled: props.theme.colors.grey[200],
|
|
14
14
|
});
|
|
15
|
-
}, function (props) {
|
|
15
|
+
}, function (props) {
|
|
16
16
|
return styled_map_1.default('kind', {
|
|
17
|
-
error: props.theme.colors.
|
|
18
|
-
warning: props.theme.colors.
|
|
19
|
-
default: props.theme.colors.blue[
|
|
20
|
-
success: props.theme.colors.
|
|
21
|
-
disabled: props.theme.colors.grey[
|
|
17
|
+
error: props.theme.colors.red[900],
|
|
18
|
+
warning: props.theme.colors.orange[900],
|
|
19
|
+
default: props.theme.colors.blue[900],
|
|
20
|
+
success: props.theme.colors.green[900],
|
|
21
|
+
disabled: props.theme.colors.grey[300],
|
|
22
22
|
});
|
|
23
23
|
});
|
|
24
24
|
var templateObject_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Tag/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAAkC;AAGrB,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Tag/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,yCAAkC;AAGrB,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,kUAAU,yEAG1B,EAAiC,2CAEnC,EAAkC,2BAC3B,EAOd,yCAEG,EAOH,uDAGT,KAtBkB,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,EAC3B,UAAA,KAAK;IACrB,OAAA,oBAAS,CAAC,MAAM,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;QACjC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QACpC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;QACrC,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;KACzC,CAAC;AANF,CAME,EAEG,UAAA,KAAK;IACV,OAAA,oBAAS,CAAC,MAAM,EAAE;QACd,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC;QAClC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;QACvC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;QACrC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;QACtC,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;KACzC,CAAC;AANF,CAME,EAGT"}
|
|
@@ -9,6 +9,6 @@ exports.StyledContainer = styled_components_1.default.div(templateObject_1 || (t
|
|
|
9
9
|
exports.StyledTitle = styled_components_1.default.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n padding: ", "px;\n cursor: pointer;\n\n p {\n font-weight: 500;\n &:hover {\n color: ", ";\n }\n }\n"], ["\n display: flex;\n justify-content: space-between;\n padding: ", "px;\n cursor: pointer;\n\n p {\n font-weight: 500;\n &:hover {\n color: ", ";\n }\n }\n"])), function (props) { return props.theme.spacing[0]; }, function (props) { return props.theme.colors.primary; });
|
|
10
10
|
exports.StyledContent = styled_components_1.default.div(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n padding-top: ", "px;\n"], ["\n padding-top: ", "px;\n"])), function (props) { return props.theme.spacing[2]; });
|
|
11
11
|
exports.StyledPlusIcon = styled_components_1.default(PlusCircle_1.PlusCircle)(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n width: 20px;\n flex-shrink: 0;\n fill: ", ";\n"], ["\n width: 20px;\n flex-shrink: 0;\n fill: ", ";\n"])), function (props) { return props.theme.colors.primary; });
|
|
12
|
-
exports.StyledMinusIcon = styled_components_1.default(MinusCircle_1.MinusCircle)(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n width: 20px;\n flex-shrink: 0;\n fill: ", ";\n"], ["\n width: 20px;\n flex-shrink: 0;\n fill: ", ";\n"])), function (props) { return props.theme.colors.grey[
|
|
12
|
+
exports.StyledMinusIcon = styled_components_1.default(MinusCircle_1.MinusCircle)(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n width: 20px;\n flex-shrink: 0;\n fill: ", ";\n"], ["\n width: 20px;\n flex-shrink: 0;\n fill: ", ";\n"])), function (props) { return props.theme.colors.grey[300]; });
|
|
13
13
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/components/ToggleContainer/ToggleItem/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AACtC,+DAA6D;AAC7D,iEAA+D;AAElD,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,2KAAA,8BACb,EAAgC,qDAE7C,EAA+B,SAC7C,KAH2B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,WAAW,EAAvB,CAAuB,EAE7C,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAtB,CAAsB,EAC7C;AAEY,QAAA,WAAW,GAAG,2BAAM,CAAC,GAAG,yRAAA,0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AAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAA1B,CAA0B,EAGvD;AAEY,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,yGAAA,qBACpB,EAA+B,OACjD,KADkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAtB,CAAsB,EACjD;AAEY,QAAA,cAAc,GAAG,2BAAM,CAAC,uBAAU,CAAC,uIAAA,qDAGpC,EAAmC,KAC9C,KADW,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAA1B,CAA0B,EAC9C;AAEY,QAAA,eAAe,GAAG,2BAAM,CAAC,yBAAW,CAAC,uIAAA,qDAGtC,EAAqC,KAChD,KADW,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAChD"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Tooltip = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var React = require("react");
|
|
6
|
-
var styles_1 = require("./styles");
|
|
7
6
|
var InfoCircle_1 = require("../../assets/icons/InfoCircle");
|
|
7
|
+
var styles_1 = require("./styles");
|
|
8
8
|
var Tooltip = function (_a) {
|
|
9
9
|
var id = _a.id, text = _a.text, color = _a.color, width = _a.width, style = _a.style, rest = tslib_1.__rest(_a, ["id", "text", "color", "width", "style"]);
|
|
10
10
|
return (React.createElement(styles_1.StyledContainer, tslib_1.__assign({}, rest),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tooltip/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tooltip/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,4DAA0D;AAC1D,mCAAyD;AAUlD,IAAM,OAAO,GAA2B,UAAC,EAO/C;IANG,IAAA,EAAE,QAAA,EACF,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,KAAK,WAAA,EACL,KAAK,WAAA,EACF,IAAI,sBANqC,yCAO/C,CADU;IACL,OAAA,CACF,oBAAC,wBAAe,uBAAK,IAAI;QACrB,oBAAC,sBAAa,sBAAiB,IAAI,EAAE,EAAE,EAAE,EAAE,GAAI;QAC/C,oBAAC,uBAAU,IACP,KAAK,EAAE,KAAK,cACF,IAAI,EACd,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,GACd,CACY,CACrB,CAAA;CAAA,CAAA;AAlBY,QAAA,OAAO,WAkBnB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TooltipProps } from 'react-tooltip';
|
|
3
|
+
export declare const StyledTooltip: import("styled-components").StyledComponent<(props: TooltipProps) => JSX.Element, any, {}, never>;
|
|
3
4
|
export declare const StyledContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StyledContainer = exports.StyledTooltip = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
+
var react_1 = require("react");
|
|
5
6
|
var react_tooltip_1 = require("react-tooltip");
|
|
6
7
|
var styled_components_1 = require("styled-components");
|
|
7
|
-
|
|
8
|
+
var Tooltip = function (props) { return react_1.default.createElement(react_tooltip_1.default, tslib_1.__assign({}, props)); };
|
|
9
|
+
exports.StyledTooltip = styled_components_1.default(Tooltip)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n max-width: 250px;\n line-height: 1.3;\n font-size: 12px !important;\n font-weight: normal !important;\n\n * {\n text-align: left !important;\n }\n"], ["\n max-width: 250px;\n line-height: 1.3;\n font-size: 12px !important;\n font-weight: normal !important;\n\n * {\n text-align: left !important;\n }\n"])));
|
|
8
10
|
exports.StyledContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: inline-flex;\n font-family: ", ";\n"], ["\n display: inline-flex;\n font-family: ", ";\n"])), function (props) { return props.theme.font.default; });
|
|
9
11
|
var templateObject_1, templateObject_2;
|
|
10
12
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Tooltip/styles.
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Tooltip/styles.tsx"],"names":[],"mappings":";;;;AAAA,+BAAyB;AACzB,+CAA0D;AAC1D,uDAAsC;AAEtC,IAAM,OAAO,GAAG,UAAC,KAAmB,IAAK,OAAA,8BAAC,uBAAY,uBAAK,KAAK,EAAI,EAA3B,CAA2B,CAAA;AAEvD,QAAA,aAAa,GAAG,2BAAM,CAAC,OAAO,CAAC,2PAAA,gLAS3C,KAAA;AAEY,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,kIAAA,gDAEtB,EAAiC,KACnD,KADkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EACnD"}
|
package/dist/theme/theme.d.ts
CHANGED
|
@@ -1,33 +1,110 @@
|
|
|
1
|
-
import { FontSizesMap, SpacingMap, ButtonColorType
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
import { FontSizesMap, SpacingMap, ButtonColorType } from './types';
|
|
2
|
+
export declare const palette: {
|
|
3
|
+
readonly black: "#000";
|
|
4
|
+
readonly white: "#fff";
|
|
5
|
+
readonly grey: {
|
|
6
|
+
readonly 50: "#f6f6f6";
|
|
7
|
+
readonly 100: "#e5e5e5";
|
|
8
|
+
readonly 200: "#ccc";
|
|
9
|
+
readonly 300: "#b2b2b2";
|
|
10
|
+
readonly 400: "#999";
|
|
11
|
+
readonly 500: "#808080";
|
|
12
|
+
readonly 600: "#666";
|
|
13
|
+
readonly 700: "#4c4c4c";
|
|
14
|
+
readonly 800: "#333";
|
|
15
|
+
readonly 900: "#191919";
|
|
16
|
+
};
|
|
17
|
+
readonly blueGrey: {
|
|
18
|
+
readonly 50: "#f3f5f9";
|
|
19
|
+
readonly 100: "#edeef0";
|
|
20
|
+
readonly 200: "#dbdde1";
|
|
21
|
+
readonly 300: "#c9ccd2";
|
|
22
|
+
readonly 400: "#b7bbc3";
|
|
23
|
+
readonly 500: "#a5a9b4";
|
|
24
|
+
readonly 600: "#9498a5";
|
|
25
|
+
readonly 700: "#828796";
|
|
26
|
+
readonly 800: "#707687";
|
|
27
|
+
readonly 900: "#575c6a";
|
|
28
|
+
};
|
|
29
|
+
readonly orange: {
|
|
30
|
+
readonly 50: "#fff4e0";
|
|
31
|
+
readonly 100: "#ffe3b3";
|
|
32
|
+
readonly 200: "#ffd080";
|
|
33
|
+
readonly 300: "#ffbd4d";
|
|
34
|
+
readonly 400: "#ffaf26";
|
|
35
|
+
readonly 500: "#ffa100";
|
|
36
|
+
readonly 600: "#ff9900";
|
|
37
|
+
readonly 700: "#ff8f00";
|
|
38
|
+
readonly 800: "#ff8500";
|
|
39
|
+
readonly 900: "#e66700";
|
|
40
|
+
};
|
|
41
|
+
readonly blue: {
|
|
42
|
+
readonly 50: "#e1eeff";
|
|
43
|
+
readonly 100: "#b4d4ff";
|
|
44
|
+
readonly 200: "#82b7ff";
|
|
45
|
+
readonly 300: "#509aff";
|
|
46
|
+
readonly 400: "#2b85ff";
|
|
47
|
+
readonly 500: "#056fff";
|
|
48
|
+
readonly 600: "#0467ff";
|
|
49
|
+
readonly 700: "#045cff";
|
|
50
|
+
readonly 800: "#0352ff";
|
|
51
|
+
readonly 900: "#0140ff";
|
|
52
|
+
};
|
|
53
|
+
readonly green: {
|
|
54
|
+
readonly 50: "#e8fbee";
|
|
55
|
+
readonly 100: "#1c7f5d6";
|
|
56
|
+
readonly 200: "#a1eeba";
|
|
57
|
+
readonly 300: "#7be79e";
|
|
58
|
+
readonly 400: "#5fe18a";
|
|
59
|
+
readonly 500: "#43dc75";
|
|
60
|
+
readonly 600: "#3dd86d";
|
|
61
|
+
readonly 700: "#34d362";
|
|
62
|
+
readonly 800: "#2cce58";
|
|
63
|
+
readonly 900: "#19a439";
|
|
64
|
+
};
|
|
65
|
+
readonly red: {
|
|
66
|
+
readonly 50: "#ffeceb";
|
|
67
|
+
readonly 100: "#ffd0cd";
|
|
68
|
+
readonly 200: "#ffb1ac";
|
|
69
|
+
readonly 300: "#ff918b";
|
|
70
|
+
readonly 400: "#ff7a72";
|
|
71
|
+
readonly 500: "#ff6259";
|
|
72
|
+
readonly 600: "#ff5a51";
|
|
73
|
+
readonly 700: "#ff5048";
|
|
74
|
+
readonly 800: "#ff463e";
|
|
75
|
+
readonly 900: "#ff342e";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
declare type Palette = typeof palette;
|
|
79
|
+
export declare const BLACK: "#000";
|
|
80
|
+
export declare const WHITE: "#fff";
|
|
81
|
+
export declare const GREY1: "#191919";
|
|
82
|
+
export declare const GREY2: "#666";
|
|
83
|
+
export declare const GREY3: "#b2b2b2";
|
|
84
|
+
export declare const GREY4: "#ccc";
|
|
85
|
+
export declare const GREY5: "#e5e5e5";
|
|
86
|
+
export declare const GREY6: "#f6f6f6";
|
|
87
|
+
export declare const RED1: "#ff342e";
|
|
88
|
+
export declare const RED2: "#ff6259";
|
|
89
|
+
export declare const RED3: "#ff7a72";
|
|
90
|
+
export declare const RED4: "#ffeceb";
|
|
91
|
+
export declare const GREEN1: "#43dc75";
|
|
92
|
+
export declare const GREEN2: "#1c7f5d6";
|
|
93
|
+
export declare const GREEN3: "#e8fbee";
|
|
94
|
+
export declare const BLUE1: "#0140ff";
|
|
95
|
+
export declare const BLUE2: "#056fff";
|
|
96
|
+
export declare const BLUE3: "#e1eeff";
|
|
97
|
+
export declare const ORANGE1: "#ff9900";
|
|
98
|
+
export declare const ORANGE2: "#ffa100";
|
|
99
|
+
export declare const ORANGE3: "#ffbd4d";
|
|
100
|
+
export declare const ORANGE4: "#fff4e0";
|
|
101
|
+
export declare const PRIMARY: "#ffa100";
|
|
102
|
+
export declare const PRIMARY_LIGHT: "#ffbd4d";
|
|
103
|
+
export declare const PRIMARY_DARK: "#ffa100";
|
|
104
|
+
export declare const PRIMARY_LIGHT_BACKGROUND: "#e5e5e5";
|
|
105
|
+
export declare const ACCENT: "#056fff";
|
|
106
|
+
export declare const ACCENT_LIGHT: "#e1eeff";
|
|
107
|
+
export declare const ACCENT_DARK: "#0140ff";
|
|
31
108
|
export interface ThemeInterface {
|
|
32
109
|
baseline: number;
|
|
33
110
|
font: {
|
|
@@ -36,7 +113,7 @@ export interface ThemeInterface {
|
|
|
36
113
|
sizes: FontSizesMap<string>;
|
|
37
114
|
lineHeight: number;
|
|
38
115
|
};
|
|
39
|
-
colors: {
|
|
116
|
+
colors: Palette & {
|
|
40
117
|
primary: string;
|
|
41
118
|
primaryLight: string;
|
|
42
119
|
primaryDark: string;
|
|
@@ -44,13 +121,6 @@ export interface ThemeInterface {
|
|
|
44
121
|
accent: string;
|
|
45
122
|
accentLight: string;
|
|
46
123
|
accentDark: string;
|
|
47
|
-
black: string;
|
|
48
|
-
white: string;
|
|
49
|
-
grey: ShadesMap<string>;
|
|
50
|
-
blue: BlueMap<string>;
|
|
51
|
-
red: RedMap<string>;
|
|
52
|
-
green: GreenMap<string>;
|
|
53
|
-
orange: OrangeMap<string>;
|
|
54
124
|
success: string;
|
|
55
125
|
warning: string;
|
|
56
126
|
error: string;
|
|
@@ -94,3 +164,4 @@ export interface ThemeInterface {
|
|
|
94
164
|
breakpoints: string[];
|
|
95
165
|
}
|
|
96
166
|
export declare const theme: ThemeInterface;
|
|
167
|
+
export {};
|
package/dist/theme/theme.js
CHANGED
|
@@ -1,30 +1,107 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.theme = exports.ACCENT_DARK = exports.ACCENT_LIGHT = exports.ACCENT = exports.PRIMARY_LIGHT_BACKGROUND = exports.PRIMARY_DARK = exports.PRIMARY_LIGHT = exports.PRIMARY = exports.ORANGE4 = exports.ORANGE3 = exports.ORANGE2 = exports.ORANGE1 = exports.BLUE3 = exports.BLUE2 = exports.BLUE1 = exports.GREEN3 = exports.GREEN2 = exports.GREEN1 = exports.RED4 = exports.RED3 = exports.RED2 = exports.RED1 = exports.GREY6 = exports.GREY5 = exports.GREY4 = exports.GREY3 = exports.GREY2 = exports.GREY1 = exports.WHITE = exports.BLACK = void 0;
|
|
3
|
+
exports.theme = exports.ACCENT_DARK = exports.ACCENT_LIGHT = exports.ACCENT = exports.PRIMARY_LIGHT_BACKGROUND = exports.PRIMARY_DARK = exports.PRIMARY_LIGHT = exports.PRIMARY = exports.ORANGE4 = exports.ORANGE3 = exports.ORANGE2 = exports.ORANGE1 = exports.BLUE3 = exports.BLUE2 = exports.BLUE1 = exports.GREEN3 = exports.GREEN2 = exports.GREEN1 = exports.RED4 = exports.RED3 = exports.RED2 = exports.RED1 = exports.GREY6 = exports.GREY5 = exports.GREY4 = exports.GREY3 = exports.GREY2 = exports.GREY1 = exports.WHITE = exports.BLACK = exports.palette = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
4
5
|
var typography_1 = require("./typography");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
6
|
+
exports.palette = {
|
|
7
|
+
black: '#000',
|
|
8
|
+
white: '#fff',
|
|
9
|
+
grey: {
|
|
10
|
+
50: '#f6f6f6',
|
|
11
|
+
100: '#e5e5e5',
|
|
12
|
+
200: '#ccc',
|
|
13
|
+
300: '#b2b2b2',
|
|
14
|
+
400: '#999',
|
|
15
|
+
500: '#808080',
|
|
16
|
+
600: '#666',
|
|
17
|
+
700: '#4c4c4c',
|
|
18
|
+
800: '#333',
|
|
19
|
+
900: '#191919',
|
|
20
|
+
},
|
|
21
|
+
blueGrey: {
|
|
22
|
+
50: '#f3f5f9',
|
|
23
|
+
100: '#edeef0',
|
|
24
|
+
200: '#dbdde1',
|
|
25
|
+
300: '#c9ccd2',
|
|
26
|
+
400: '#b7bbc3',
|
|
27
|
+
500: '#a5a9b4',
|
|
28
|
+
600: '#9498a5',
|
|
29
|
+
700: '#828796',
|
|
30
|
+
800: '#707687',
|
|
31
|
+
900: '#575c6a',
|
|
32
|
+
},
|
|
33
|
+
orange: {
|
|
34
|
+
50: '#fff4e0',
|
|
35
|
+
100: '#ffe3b3',
|
|
36
|
+
200: '#ffd080',
|
|
37
|
+
300: '#ffbd4d',
|
|
38
|
+
400: '#ffaf26',
|
|
39
|
+
500: '#ffa100',
|
|
40
|
+
600: '#ff9900',
|
|
41
|
+
700: '#ff8f00',
|
|
42
|
+
800: '#ff8500',
|
|
43
|
+
900: '#e66700',
|
|
44
|
+
},
|
|
45
|
+
blue: {
|
|
46
|
+
50: '#e1eeff',
|
|
47
|
+
100: '#b4d4ff',
|
|
48
|
+
200: '#82b7ff',
|
|
49
|
+
300: '#509aff',
|
|
50
|
+
400: '#2b85ff',
|
|
51
|
+
500: '#056fff',
|
|
52
|
+
600: '#0467ff',
|
|
53
|
+
700: '#045cff',
|
|
54
|
+
800: '#0352ff',
|
|
55
|
+
900: '#0140ff',
|
|
56
|
+
},
|
|
57
|
+
green: {
|
|
58
|
+
50: '#e8fbee',
|
|
59
|
+
100: '#1c7f5d6',
|
|
60
|
+
200: '#a1eeba',
|
|
61
|
+
300: '#7be79e',
|
|
62
|
+
400: '#5fe18a',
|
|
63
|
+
500: '#43dc75',
|
|
64
|
+
600: '#3dd86d',
|
|
65
|
+
700: '#34d362',
|
|
66
|
+
800: '#2cce58',
|
|
67
|
+
900: '#19a439',
|
|
68
|
+
},
|
|
69
|
+
red: {
|
|
70
|
+
50: '#ffeceb',
|
|
71
|
+
100: '#ffd0cd',
|
|
72
|
+
200: '#ffb1ac',
|
|
73
|
+
300: '#ff918b',
|
|
74
|
+
400: '#ff7a72',
|
|
75
|
+
500: '#ff6259',
|
|
76
|
+
600: '#ff5a51',
|
|
77
|
+
700: '#ff5048',
|
|
78
|
+
800: '#ff463e',
|
|
79
|
+
900: '#ff342e',
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
// TODO Deprecated: remove these in favour of the palette vars
|
|
83
|
+
exports.BLACK = exports.palette.black;
|
|
84
|
+
exports.WHITE = exports.palette.white;
|
|
85
|
+
exports.GREY1 = exports.palette.grey[900];
|
|
86
|
+
exports.GREY2 = exports.palette.grey[600];
|
|
87
|
+
exports.GREY3 = exports.palette.grey[300];
|
|
88
|
+
exports.GREY4 = exports.palette.grey[200];
|
|
89
|
+
exports.GREY5 = exports.palette.grey[100];
|
|
90
|
+
exports.GREY6 = exports.palette.grey[50];
|
|
91
|
+
exports.RED1 = exports.palette.red[900];
|
|
92
|
+
exports.RED2 = exports.palette.red[500];
|
|
93
|
+
exports.RED3 = exports.palette.red[400];
|
|
94
|
+
exports.RED4 = exports.palette.red[50];
|
|
95
|
+
exports.GREEN1 = exports.palette.green[500];
|
|
96
|
+
exports.GREEN2 = exports.palette.green[100];
|
|
97
|
+
exports.GREEN3 = exports.palette.green[50];
|
|
98
|
+
exports.BLUE1 = exports.palette.blue[900];
|
|
99
|
+
exports.BLUE2 = exports.palette.blue[500];
|
|
100
|
+
exports.BLUE3 = exports.palette.blue[50];
|
|
101
|
+
exports.ORANGE1 = exports.palette.orange[600];
|
|
102
|
+
exports.ORANGE2 = exports.palette.orange[500];
|
|
103
|
+
exports.ORANGE3 = exports.palette.orange[300];
|
|
104
|
+
exports.ORANGE4 = exports.palette.orange[50];
|
|
28
105
|
// Main color that indicates productive actions
|
|
29
106
|
exports.PRIMARY = exports.ORANGE2;
|
|
30
107
|
exports.PRIMARY_LIGHT = exports.ORANGE3;
|
|
@@ -33,6 +110,9 @@ exports.PRIMARY_LIGHT_BACKGROUND = exports.GREY5;
|
|
|
33
110
|
// Secondary color that indicates counterproductive actions
|
|
34
111
|
var SECONDARY = exports.GREY1;
|
|
35
112
|
var SECONDARY_LIGHT = exports.GREY2;
|
|
113
|
+
// Opposite colors of primary button
|
|
114
|
+
var TERTIARY = exports.WHITE;
|
|
115
|
+
var TERTIARY_LIGHT = exports.ORANGE4;
|
|
36
116
|
// Accent color that draws attention
|
|
37
117
|
exports.ACCENT = exports.BLUE2;
|
|
38
118
|
exports.ACCENT_LIGHT = exports.BLUE3;
|
|
@@ -54,55 +134,13 @@ exports.theme = {
|
|
|
54
134
|
sizes: typography_1.fontSizes,
|
|
55
135
|
lineHeight: 1.5,
|
|
56
136
|
},
|
|
57
|
-
colors: {
|
|
58
|
-
primary: exports.PRIMARY,
|
|
59
|
-
primaryLight: exports.PRIMARY_LIGHT,
|
|
60
|
-
primaryDark: exports.PRIMARY_DARK,
|
|
61
|
-
primaryLightBackground: exports.PRIMARY_LIGHT_BACKGROUND,
|
|
62
|
-
accent: exports.ACCENT,
|
|
63
|
-
accentLight: exports.ACCENT_LIGHT,
|
|
64
|
-
accentDark: exports.ACCENT_DARK,
|
|
65
|
-
black: exports.BLACK,
|
|
66
|
-
white: exports.WHITE,
|
|
67
|
-
grey: {
|
|
68
|
-
1: exports.GREY1,
|
|
69
|
-
2: exports.GREY2,
|
|
70
|
-
3: exports.GREY3,
|
|
71
|
-
4: exports.GREY4,
|
|
72
|
-
5: exports.GREY5,
|
|
73
|
-
},
|
|
74
|
-
blue: {
|
|
75
|
-
1: exports.BLUE1,
|
|
76
|
-
2: exports.BLUE2,
|
|
77
|
-
3: exports.BLUE3,
|
|
78
|
-
},
|
|
79
|
-
red: {
|
|
80
|
-
1: exports.RED1,
|
|
81
|
-
2: exports.RED2,
|
|
82
|
-
3: exports.RED3,
|
|
83
|
-
4: exports.RED4,
|
|
84
|
-
},
|
|
85
|
-
green: {
|
|
86
|
-
1: exports.GREEN1,
|
|
87
|
-
2: exports.GREEN2,
|
|
88
|
-
3: exports.GREEN3,
|
|
89
|
-
},
|
|
90
|
-
orange: {
|
|
91
|
-
1: exports.ORANGE1,
|
|
92
|
-
2: exports.ORANGE2,
|
|
93
|
-
3: exports.ORANGE3,
|
|
94
|
-
4: exports.ORANGE4,
|
|
95
|
-
},
|
|
96
|
-
success: SUCCESS,
|
|
97
|
-
warning: WARNING,
|
|
98
|
-
error: ERROR,
|
|
99
|
-
message: MESSAGE,
|
|
137
|
+
colors: tslib_1.__assign(tslib_1.__assign({}, exports.palette), { primary: exports.PRIMARY, primaryLight: exports.PRIMARY_LIGHT, primaryDark: exports.PRIMARY_DARK, primaryLightBackground: exports.PRIMARY_LIGHT_BACKGROUND, accent: exports.ACCENT, accentLight: exports.ACCENT_LIGHT, accentDark: exports.ACCENT_DARK, success: SUCCESS, warning: WARNING, error: ERROR, message: MESSAGE,
|
|
100
138
|
// Typography
|
|
101
139
|
text: {
|
|
102
140
|
default: exports.GREY1,
|
|
103
141
|
heading: exports.GREY1,
|
|
104
142
|
light: exports.GREY2,
|
|
105
|
-
},
|
|
143
|
+
},
|
|
106
144
|
// Form elements
|
|
107
145
|
input: {
|
|
108
146
|
border: exports.GREY4,
|
|
@@ -112,7 +150,7 @@ exports.theme = {
|
|
|
112
150
|
backgroundHover: exports.WHITE,
|
|
113
151
|
placeholder: exports.GREY3,
|
|
114
152
|
color: exports.GREY1,
|
|
115
|
-
},
|
|
153
|
+
},
|
|
116
154
|
// Buttons
|
|
117
155
|
buttons: {
|
|
118
156
|
primary: exports.PRIMARY,
|
|
@@ -121,14 +159,16 @@ exports.theme = {
|
|
|
121
159
|
secondary: SECONDARY,
|
|
122
160
|
secondaryHover: SECONDARY_LIGHT,
|
|
123
161
|
secondaryFocus: SECONDARY_LIGHT,
|
|
124
|
-
|
|
162
|
+
tertiary: TERTIARY,
|
|
163
|
+
tertiaryHover: TERTIARY_LIGHT,
|
|
164
|
+
tertiaryFocus: TERTIARY_LIGHT,
|
|
165
|
+
},
|
|
125
166
|
// Links
|
|
126
167
|
links: {
|
|
127
168
|
default: exports.PRIMARY,
|
|
128
169
|
hover: exports.PRIMARY_LIGHT,
|
|
129
170
|
focus: exports.PRIMARY_LIGHT,
|
|
130
|
-
},
|
|
131
|
-
},
|
|
171
|
+
} }),
|
|
132
172
|
borderColor: BORDER_COLOR,
|
|
133
173
|
borderRadius: {
|
|
134
174
|
default: 5,
|
package/dist/theme/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":";;;;AACA,2CAAwC;AAE3B,QAAA,OAAO,GAAG;IACnB,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,IAAI,EAAE;QACF,EAAE,EAAE,SAAS;QACb,GAAG,EAAE,SAAS;QACd,GAAG,EAAE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AW,EAAE,CAAC;IACd,OAAO,EAAE;QACL,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;KACR;IACD,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;IACxC,WAAW,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC;IAC1C,MAAM,EAAE;QACJ,KAAK,EAAE,iCAAiC;QACxC,KAAK,EAAE,sUAK2C;KACrD;IACD,WAAW,EAAE,mCAAmC;CACnD,CAAA"}
|
package/dist/theme/types.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ export interface ButtonColorType {
|
|
|
26
26
|
secondary: string;
|
|
27
27
|
secondaryHover: string;
|
|
28
28
|
secondaryFocus: string;
|
|
29
|
+
tertiary: string;
|
|
30
|
+
tertiaryHover: string;
|
|
31
|
+
tertiaryFocus: string;
|
|
29
32
|
}
|
|
30
33
|
export declare type ButtonStyles = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'none';
|
|
31
34
|
export declare const SIZE_SMALL = "small";
|
package/dist/theme/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/theme/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/theme/types.ts"],"names":[],"mappings":";;;AAoDa,QAAA,UAAU,GAAG,OAAO,CAAA;AACpB,QAAA,WAAW,GAAG,QAAQ,CAAA;AACtB,QAAA,UAAU,GAAG,OAAO,CAAA"}
|