@beequip/hexagon 0.17.1 → 0.17.2

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.
Files changed (118) hide show
  1. package/dist/components/Box/index.d.ts +7 -1
  2. package/dist/components/Box/index.js +4 -4
  3. package/dist/components/Box/index.js.map +1 -1
  4. package/dist/components/Box/styles.js +1 -1
  5. package/dist/components/Box/styles.js.map +1 -1
  6. package/dist/components/Button/index.d.ts +9 -1
  7. package/dist/components/Button/index.js.map +1 -1
  8. package/dist/components/Button/styles.js +27 -27
  9. package/dist/components/Button/styles.js.map +1 -1
  10. package/dist/components/ButtonGroup/index.d.ts +2 -1
  11. package/dist/components/ButtonGroup/index.js.map +1 -1
  12. package/dist/components/ButtonGroup/styles.js +2 -2
  13. package/dist/components/ButtonGroup/styles.js.map +1 -1
  14. package/dist/components/Card/index.d.ts +14 -4
  15. package/dist/components/Card/index.js.map +1 -1
  16. package/dist/components/Card/styles.d.ts +9 -2
  17. package/dist/components/Card/styles.js +26 -26
  18. package/dist/components/Card/styles.js.map +1 -1
  19. package/dist/components/Checkbox/index.d.ts +2 -1
  20. package/dist/components/Checkbox/index.js.map +1 -1
  21. package/dist/components/Container/index.d.ts +5 -1
  22. package/dist/components/Container/index.js.map +1 -1
  23. package/dist/components/CounterTag/index.d.ts +3 -2
  24. package/dist/components/CounterTag/index.js.map +1 -1
  25. package/dist/components/ExternalLink/index.d.ts +5 -1
  26. package/dist/components/ExternalLink/index.js.map +1 -1
  27. package/dist/components/Field/index.d.ts +5 -1
  28. package/dist/components/Field/index.js.map +1 -1
  29. package/dist/components/Field/styles.js +1 -1
  30. package/dist/components/Field/styles.js.map +1 -1
  31. package/dist/components/FieldError/index.d.ts +4 -1
  32. package/dist/components/FieldError/index.js.map +1 -1
  33. package/dist/components/FieldGroup/index.d.ts +4 -1
  34. package/dist/components/FieldGroup/index.js.map +1 -1
  35. package/dist/components/Form/index.d.ts +1 -1
  36. package/dist/components/Form/index.js.map +1 -1
  37. package/dist/components/Grid/index.d.ts +2 -1
  38. package/dist/components/Grid/index.js.map +1 -1
  39. package/dist/components/GridColumn/index.js +1 -1
  40. package/dist/components/GridColumn/index.js.map +1 -1
  41. package/dist/components/Heading/index.d.ts +4 -1
  42. package/dist/components/Heading/index.js +2 -2
  43. package/dist/components/Heading/index.js.map +1 -1
  44. package/dist/components/Heading/index.stories.js +2 -2
  45. package/dist/components/Heading/index.stories.js.map +1 -1
  46. package/dist/components/Heading/styles.js +6 -6
  47. package/dist/components/Heading/styles.js.map +1 -1
  48. package/dist/components/HelpText/index.d.ts +7 -1
  49. package/dist/components/HelpText/index.js.map +1 -1
  50. package/dist/components/Input/CurrencyInput/index.js +8 -8
  51. package/dist/components/Input/CurrencyInput/index.js.map +1 -1
  52. package/dist/components/Input/styles.d.ts +6 -1
  53. package/dist/components/Input/styles.js +4 -4
  54. package/dist/components/Input/styles.js.map +1 -1
  55. package/dist/components/Label/index.d.ts +1 -1
  56. package/dist/components/Label/index.js.map +1 -1
  57. package/dist/components/Link/index.d.ts +1 -1
  58. package/dist/components/Link/index.js.map +1 -1
  59. package/dist/components/Link/styles.js +3 -3
  60. package/dist/components/Link/styles.js.map +1 -1
  61. package/dist/components/List/OrderedListItem.d.ts +4 -1
  62. package/dist/components/List/OrderedListItem.js.map +1 -1
  63. package/dist/components/List/index.d.ts +1 -1
  64. package/dist/components/List/index.js.map +1 -1
  65. package/dist/components/List/styles.js +2 -2
  66. package/dist/components/List/styles.js.map +1 -1
  67. package/dist/components/ListItem/index.d.ts +1 -1
  68. package/dist/components/ListItem/index.js.map +1 -1
  69. package/dist/components/Modal/index.d.ts +1 -1
  70. package/dist/components/Modal/index.js +32 -4
  71. package/dist/components/Modal/index.js.map +1 -1
  72. package/dist/components/Modal/styles.d.ts +10 -61
  73. package/dist/components/Modal/styles.js +5 -33
  74. package/dist/components/Modal/styles.js.map +1 -1
  75. package/dist/components/NavLink/index.d.ts +4 -4
  76. package/dist/components/NavLink/index.js.map +1 -1
  77. package/dist/components/NavLink/styles.js +1 -1
  78. package/dist/components/NavLink/styles.js.map +1 -1
  79. package/dist/components/Notification/index.d.ts +2 -1
  80. package/dist/components/Notification/index.js.map +1 -1
  81. package/dist/components/Notification/styles.js +4 -4
  82. package/dist/components/Notification/styles.js.map +1 -1
  83. package/dist/components/PageLoader/index.d.ts +2 -2
  84. package/dist/components/PageLoader/index.js.map +1 -1
  85. package/dist/components/Portal/index.d.ts +1 -1
  86. package/dist/components/Radio/index.d.ts +1 -1
  87. package/dist/components/Radio/index.js.map +1 -1
  88. package/dist/components/RadioGroup/index.d.ts +2 -2
  89. package/dist/components/RadioGroup/index.js.map +1 -1
  90. package/dist/components/Select/styles.js +1 -1
  91. package/dist/components/Select/styles.js.map +1 -1
  92. package/dist/components/Spinner/index.d.ts +8 -2
  93. package/dist/components/Spinner/index.js.map +1 -1
  94. package/dist/components/Tag/index.d.ts +2 -1
  95. package/dist/components/Tag/index.js.map +1 -1
  96. package/dist/components/Tag/styles.js +2 -2
  97. package/dist/components/Tag/styles.js.map +1 -1
  98. package/dist/components/Text/index.d.ts +5 -1
  99. package/dist/components/Text/index.js.map +1 -1
  100. package/dist/components/Text/styles.js +3 -3
  101. package/dist/components/Text/styles.js.map +1 -1
  102. package/dist/components/TextArea/index.d.ts +6 -1
  103. package/dist/components/TextArea/index.js.map +1 -1
  104. package/dist/components/TextArea/styles.js +1 -1
  105. package/dist/components/TextArea/styles.js.map +1 -1
  106. package/dist/components/ToggleContainer/ToggleItem/index.js.map +1 -1
  107. package/dist/components/ToggleContainer/ToggleItem/styles.js +2 -2
  108. package/dist/components/ToggleContainer/ToggleItem/styles.js.map +1 -1
  109. package/dist/components/Tooltip/index.d.ts +1 -1
  110. package/dist/components/Tooltip/index.js.map +1 -1
  111. package/dist/components/Tooltip/styles.js +1 -1
  112. package/dist/components/Tooltip/styles.js.map +1 -1
  113. package/dist/theme/breakpoints.d.ts +3 -3
  114. package/dist/theme/breakpoints.js +1 -1
  115. package/dist/theme/breakpoints.js.map +1 -1
  116. package/dist/theme/theme.d.ts +1 -1
  117. package/dist/theme/types.d.ts +22 -22
  118. package/package.json +22 -14
@@ -1,65 +1,14 @@
1
1
  /// <reference types="react" />
2
- export declare const ModalContent: import("react").ComponentType<{
3
- [key: string]: any;
4
- children?: any;
5
- pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
6
- _pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
7
- initialPose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
8
- withParent?: boolean | undefined;
9
- onPoseComplete?: ((pose: import("react-pose/lib/components/PoseElement/types").CurrentPose) => any) | undefined;
10
- onValueChange?: {
11
- [key: string]: (v: any) => any;
12
- } | undefined;
13
- innerRef?: {
14
- current: any;
15
- } | ((el: Element) => any) | undefined;
16
- } & import("react-pose/lib/components/PoseElement/types").PoseContextProps & import("react").HTMLProps<any>>;
17
- export declare const Shade: import("react").ComponentType<{
18
- [key: string]: any;
19
- children?: any;
20
- pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
21
- _pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
22
- initialPose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
23
- withParent?: boolean | undefined;
24
- onPoseComplete?: ((pose: import("react-pose/lib/components/PoseElement/types").CurrentPose) => any) | undefined;
25
- onValueChange?: {
26
- [key: string]: (v: any) => any;
27
- } | undefined;
28
- innerRef?: {
29
- current: any;
30
- } | ((el: Element) => any) | undefined;
31
- } & import("react-pose/lib/components/PoseElement/types").PoseContextProps & import("react").HTMLProps<any>>;
32
- export declare const StyledShade: import("styled-components").StyledComponent<import("react").ComponentType<{
33
- [key: string]: any;
34
- children?: any;
35
- pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
36
- _pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
37
- initialPose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
38
- withParent?: boolean | undefined;
39
- onPoseComplete?: ((pose: import("react-pose/lib/components/PoseElement/types").CurrentPose) => any) | undefined;
40
- onValueChange?: {
41
- [key: string]: (v: any) => any;
42
- } | undefined;
43
- innerRef?: {
44
- current: any;
45
- } | ((el: Element) => any) | undefined;
46
- } & import("react-pose/lib/components/PoseElement/types").PoseContextProps & import("react").HTMLProps<any>>, any, {}, never>;
47
- export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../Button").ButtonProps>, any, {}, never>;
2
+ export declare const StyledShade: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
3
+ export declare const StyledButton: import("styled-components").StyledComponent<{
4
+ ({ disabled, loading, hook, nav, children, link, ...rest }: import("../Button").ButtonProps): JSX.Element;
5
+ defaultProps: {
6
+ type: string;
7
+ kind: string;
8
+ size: string;
9
+ };
10
+ }, any, {}, never>;
48
11
  export declare const StyledContainer: import("styled-components").StyledComponent<"div", any, {
49
12
  modalOpen?: boolean | undefined;
50
13
  }, never>;
51
- export declare const StyledModal: import("styled-components").StyledComponent<import("react").ComponentType<{
52
- [key: string]: any;
53
- children?: any;
54
- pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
55
- _pose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
56
- initialPose?: import("react-pose/lib/components/PoseElement/types").CurrentPose | undefined;
57
- withParent?: boolean | undefined;
58
- onPoseComplete?: ((pose: import("react-pose/lib/components/PoseElement/types").CurrentPose) => any) | undefined;
59
- onValueChange?: {
60
- [key: string]: (v: any) => any;
61
- } | undefined;
62
- innerRef?: {
63
- current: any;
64
- } | ((el: Element) => any) | undefined;
65
- } & import("react-pose/lib/components/PoseElement/types").PoseContextProps & import("react").HTMLProps<any>>, any, {}, never>;
14
+ export declare const StyledModal: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
@@ -1,42 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StyledModal = exports.StyledContainer = exports.StyledButton = exports.StyledShade = exports.Shade = exports.ModalContent = void 0;
3
+ exports.StyledModal = exports.StyledContainer = exports.StyledButton = exports.StyledShade = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var react_pose_1 = require("react-pose");
5
+ var framer_motion_1 = require("framer-motion");
6
6
  var theme_1 = require("../../theme");
7
7
  var styled_components_1 = require("styled-components");
8
8
  var Button_1 = require("../Button");
9
- exports.ModalContent = react_pose_1.default.div({
10
- enter: {
11
- y: 0,
12
- opacity: 1,
13
- transition: {
14
- y: { duration: 300 },
15
- opacity: { duration: 120 },
16
- },
17
- },
18
- exit: {
19
- y: 50,
20
- opacity: 0,
21
- transition: {
22
- y: { duration: 300 },
23
- opacity: { duration: 120 },
24
- },
25
- },
26
- });
27
- exports.Shade = react_pose_1.default.div({
28
- enter: {
29
- opacity: 1,
30
- transition: { duration: 500 },
31
- },
32
- exit: {
33
- opacity: 0,
34
- transition: { duration: 500 },
35
- },
36
- });
37
- exports.StyledShade = styled_components_1.default(exports.Shade)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n background: rgba(0, 0, 0, 0.8);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n height: 100vh;\n"], ["\n position: absolute;\n background: rgba(0, 0, 0, 0.8);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n height: 100vh;\n"])));
38
- exports.StyledButton = styled_components_1.default(Button_1.Button)(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n background: none;\n border: none;\n position: absolute;\n top: 0;\n right: 0;\n width: 57px;\n height: 57px;\n padding: 0;\n z-index: 10;\n\n ", "\n\n &:hover {\n background: none;\n\n svg {\n fill: orange;\n }\n }\n\n svg {\n fill: black;\n }\n"], ["\n background: none;\n border: none;\n position: absolute;\n top: 0;\n right: 0;\n width: 57px;\n height: 57px;\n padding: 0;\n z-index: 10;\n\n ", "\n\n &:hover {\n background: none;\n\n svg {\n fill: orange;\n }\n }\n\n svg {\n fill: black;\n }\n"])), theme_1.media.s(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n right: 10px;\n top: 10px;\n "], ["\n right: 10px;\n top: 10px;\n "]))));
9
+ exports.StyledShade = (0, styled_components_1.default)(framer_motion_1.motion.div)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n background: rgba(0, 0, 0, 0.8);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n height: 100vh;\n"], ["\n position: absolute;\n background: rgba(0, 0, 0, 0.8);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n height: 100vh;\n"])));
10
+ exports.StyledButton = (0, styled_components_1.default)(Button_1.Button)(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n background: none;\n border: none;\n position: absolute;\n top: 0;\n right: 0;\n width: 57px;\n height: 57px;\n padding: 0;\n z-index: 10;\n\n ", "\n\n &:hover {\n background: none;\n\n svg {\n fill: orange;\n }\n }\n\n svg {\n fill: black;\n }\n"], ["\n background: none;\n border: none;\n position: absolute;\n top: 0;\n right: 0;\n width: 57px;\n height: 57px;\n padding: 0;\n z-index: 10;\n\n ", "\n\n &:hover {\n background: none;\n\n svg {\n fill: orange;\n }\n }\n\n svg {\n fill: black;\n }\n"])), theme_1.media.s(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n right: 10px;\n top: 10px;\n "], ["\n right: 10px;\n top: 10px;\n "]))));
39
11
  exports.StyledContainer = styled_components_1.default.div(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n position: fixed;\n width: 100%;\n top: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n z-index: 500;\n height: ", ";\n"], ["\n position: fixed;\n width: 100%;\n top: 0;\n align-items: center;\n justify-content: center;\n display: flex;\n z-index: 500;\n height: ", ";\n"])), function (props) { return (props.modalOpen ? '100%' : 'auto'); });
40
- exports.StyledModal = styled_components_1.default(exports.ModalContent)(templateObject_6 || (templateObject_6 = tslib_1.__makeTemplateObject(["\n position: relative;\n max-width: 700px;\n height: 100%;\n background: white;\n z-index: 1;\n padding: ", "px ", "px;\n overflow: auto;\n\n ", "\n"], ["\n position: relative;\n max-width: 700px;\n height: 100%;\n background: white;\n z-index: 1;\n padding: ", "px ", "px;\n overflow: auto;\n\n ", "\n"])), theme_1.baseline * 4, theme_1.baseline * 2, theme_1.media.xs(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n padding: ", "px;\n max-height: calc(100vh - 40px);\n height: auto;\n border-radius: ", "px;\n "], ["\n padding: ", "px;\n max-height: calc(100vh - 40px);\n height: auto;\n border-radius: ", "px;\n "])), theme_1.baseline * 6, function (props) { return props.theme.borderRadius.large; }));
12
+ exports.StyledModal = (0, styled_components_1.default)(framer_motion_1.motion.div)(templateObject_6 || (templateObject_6 = tslib_1.__makeTemplateObject(["\n position: relative;\n max-width: 700px;\n height: 100%;\n background: white;\n z-index: 1;\n padding: ", "px ", "px;\n overflow: auto;\n\n ", "\n"], ["\n position: relative;\n max-width: 700px;\n height: 100%;\n background: white;\n z-index: 1;\n padding: ", "px ", "px;\n overflow: auto;\n\n ", "\n"])), theme_1.baseline * 4, theme_1.baseline * 2, theme_1.media.xs(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n padding: ", "px;\n max-height: calc(100vh - 40px);\n height: auto;\n border-radius: ", "px;\n "], ["\n padding: ", "px;\n max-height: calc(100vh - 40px);\n height: auto;\n border-radius: ", "px;\n "])), theme_1.baseline * 6, function (props) { return props.theme.borderRadius.large; }));
41
13
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
42
14
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Modal/styles.ts"],"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7 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import { NavLinkProps } from 'react-router-dom';
3
- interface LinkProps {
3
+ type LinkProps = NavLinkProps & {
4
4
  completed?: boolean;
5
- }
6
- export declare const NavLink: React.FC<NavLinkProps & LinkProps>;
5
+ };
6
+ export declare const NavLink: ({ children, ...props }: LinkProps) => JSX.Element;
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/NavLink/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAE9B,mCAAwC;AAMjC,IAAM,OAAO,GAAuC,UAAC,EAG3D;IAFG,IAAA,QAAQ,cAAA,EACL,KAAK,sBAFgD,YAG3D,CADW;IAER,IAAW,UAAU,kBAAK,KAAK,EAAzB,EAAiB,CAAQ,CAAA,CAAC,kFAAkF;IAClH,OAAO,oBAAC,sBAAa,uBAAK,UAAU,GAAG,QAAQ,CAAiB,CAAA;AACpE,CAAC,CAAA;AANY,QAAA,OAAO,WAMnB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/NavLink/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAE9B,mCAAwC;AAMjC,IAAM,OAAO,GAAG,UAAC,EAAiC;IAA/B,IAAA,QAAQ,cAAA,EAAK,KAAK,sBAApB,YAAsB,CAAF;IACxC,IAAW,UAAU,kBAAK,KAAK,EAAzB,EAAiB,CAAQ,CAAA,CAAC,kFAAkF;IAClH,OAAO,oBAAC,sBAAa,uBAAK,UAAU,GAAG,QAAQ,CAAiB,CAAA;AACpE,CAAC,CAAA;AAHY,QAAA,OAAO,WAGnB"}
@@ -5,6 +5,6 @@ var tslib_1 = require("tslib");
5
5
  var react_router_dom_1 = require("react-router-dom");
6
6
  var styled_components_1 = require("styled-components");
7
7
  var styles_1 = require("../Link/styles");
8
- exports.StyledNavLink = styled_components_1.default(react_router_dom_1.NavLink)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", "\n font-family: ", ";\n border-bottom: 2px solid transparent;\n\n &:hover {\n color: white;\n }\n\n &.active {\n color: ", ";\n border-bottom: 2px solid ", ";\n }\n"], ["\n ", "\n font-family: ", ";\n border-bottom: 2px solid transparent;\n\n &:hover {\n color: white;\n }\n\n &.active {\n color: ", ";\n border-bottom: 2px solid ", ";\n }\n"])), styles_1.linkStyles, function (props) { return props.theme.font.default; }, function (props) { return props.theme.colors.links.hover; }, function (props) { return props.theme.colors.links.hover; });
8
+ exports.StyledNavLink = (0, styled_components_1.default)(react_router_dom_1.NavLink)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", "\n font-family: ", ";\n border-bottom: 2px solid transparent;\n\n &:hover {\n color: white;\n }\n\n &.active {\n color: ", ";\n border-bottom: 2px solid ", ";\n }\n"], ["\n ", "\n font-family: ", ";\n border-bottom: 2px solid transparent;\n\n &:hover {\n color: white;\n }\n\n &.active {\n color: ", ";\n border-bottom: 2px solid ", ";\n }\n"])), styles_1.linkStyles, function (props) { return props.theme.font.default; }, function (props) { return props.theme.colors.links.hover; }, function (props) { return props.theme.colors.links.hover; });
9
9
  var templateObject_1;
10
10
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/NavLink/styles.ts"],"names":[],"mappings":";;;;AAAA,qDAAwE;AACxE,uDAAsC;AACtC,yCAA2C;AAE9B,QAAA,aAAa,GAAG,2BAAM,CAAC,0BAAY,CAAC,kSAAc,QACzD,EAAU,qBACG,EAAiC,gIAQnC,EAAuC,sCACrB,EAAuC,YAEzE,KAZK,mBAAU,EACG,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAQnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EACrB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EAEzE"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/NavLink/styles.ts"],"names":[],"mappings":";;;;AAAA,qDAAwE;AACxE,uDAAsC;AACtC,yCAA2C;AAE9B,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,0BAAY,CAAC,kSAAc,QACzD,EAAU,qBACG,EAAiC,gIAQnC,EAAuC,sCACrB,EAAuC,YAEzE,KAZK,mBAAU,EACG,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAQnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EACrB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EAEzE"}
@@ -6,5 +6,6 @@ export interface NotificationProps {
6
6
  */
7
7
  contentAlign?: 'left' | 'center' | 'right';
8
8
  hook?: string;
9
+ children: React.ReactNode;
9
10
  }
10
- export declare const Notification: React.FC<NotificationProps>;
11
+ export declare const Notification: ({ hook, type, children, }: NotificationProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Notification/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAC9B,4EAA0E;AAC1E,8EAA4E;AAC5E,0EAAwE;AACxE,0EAAwE;AACxE,mCAAyD;AAWlD,IAAM,YAAY,GAAgC,UAAC,EAIzD;QAHG,IAAI,UAAA,EACJ,IAAI,UAAA,EACJ,QAAQ,cAAA;IAER,OAAO,CACH,oBAAC,2BAAkB,iBAAY,IAAI,EAAE,IAAI,EAAE,IAAI;QAC3C,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,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C,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CACrB,oBAAC,qCAAiB,IAAC,KAAK,EAAE,EAAE,GAAI,CACnC,CAAC,CAAC,CAAC,CACA,oBAAC,qCAAiB,IAAC,KAAK,EAAE,EAAE,GAAI,CACnC,CACQ;YACb,kCAAO,QAAQ,CAAQ,CACrB,CACW,CACxB,CAAA;AACL,CAAC,CAAA;AAvBY,QAAA,YAAY,gBAuBxB"}
@@ -5,8 +5,8 @@ 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 Box_1 = require("../Box");
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
- return styled_map_1.default('type', {
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 (0, 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
+ return (0, styled_map_1.default)('type', {
10
10
  error: props.theme.colors.red[50],
11
11
  warning: props.theme.colors.orange[50],
12
12
  message: props.theme.colors.blue[50],
@@ -19,7 +19,7 @@ exports.StyledNotification = styled_components_1.default.div(templateObject_1 ||
19
19
  ? 'flex-end'
20
20
  : 'flex-start';
21
21
  }, function (props) { return (props.contentAlign ? props.contentAlign : 'left'); }, function (props) {
22
- return styled_map_1.default('type', {
22
+ return (0, styled_map_1.default)('type', {
23
23
  error: props.theme.colors.red[500],
24
24
  warning: '#FFD68F',
25
25
  message: '#A8CDFF',
@@ -27,7 +27,7 @@ exports.StyledNotification = styled_components_1.default.div(templateObject_1 ||
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) {
30
- return styled_map_1.default('type', {
30
+ return (0, styled_map_1.default)('type', {
31
31
  error: props.theme.colors.error,
32
32
  warning: props.theme.colors.warning,
33
33
  message: props.theme.colors.message,
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Notification/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;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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,IAAA,oBAAS,EAAC,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,IAAA,oBAAS,EAAC,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"}
@@ -1,2 +1,2 @@
1
- import * as React from 'react';
2
- export declare const PageLoader: React.FC;
1
+ /// <reference types="react" />
2
+ export declare const PageLoader: () => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/PageLoader/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAEvB,IAAM,UAAU,GAAa;IAChC,OAAO,CACH,6BACI,KAAK,EAAE;YACH,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,OAAO;YACf,KAAK,EAAE,OAAO;SACjB;QAED,6BACI,OAAO,EAAC,KAAK,EACb,EAAE,EAAC,UAAU,EACb,CAAC,EAAC,KAAK,EACP,CAAC,EAAC,KAAK,EACP,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,OAAO,EAAC,WAAW;YAEnB,8BACI,IAAI,EAAC,QAAQ,EACb,CAAC,EAAC,6KAA6K,EAC/K,SAAS,EAAC,sBAAsB;gBAEhC,0CACI,aAAa,EAAC,KAAK,EACnB,aAAa,EAAC,WAAW,EACzB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,SAAS,EACd,EAAE,EAAC,WAAW,EACd,GAAG,EAAC,MAAM,EACV,WAAW,EAAC,YAAY,GAC1B,CACC,CACL,CACJ,CACT,CAAA;AACL,CAAC,CAAA;AAtCY,QAAA,UAAU,cAsCtB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/PageLoader/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAEvB,IAAM,UAAU,GAAG;IACtB,OAAO,CACH,6BACI,KAAK,EAAE;YACH,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,OAAO;YACf,KAAK,EAAE,OAAO;SACjB;QAED,6BACI,OAAO,EAAC,KAAK,EACb,EAAE,EAAC,UAAU,EACb,CAAC,EAAC,KAAK,EACP,CAAC,EAAC,KAAK,EACP,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,OAAO,EAAC,WAAW;YAEnB,8BACI,IAAI,EAAC,QAAQ,EACb,CAAC,EAAC,6KAA6K,EAC/K,SAAS,EAAC,sBAAsB;gBAEhC,0CACI,aAAa,EAAC,KAAK,EACnB,aAAa,EAAC,WAAW,EACzB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,SAAS,EACd,EAAE,EAAC,WAAW,EACd,GAAG,EAAC,MAAM,EACV,WAAW,EAAC,YAAY,GAC1B,CACC,CACL,CACJ,CACT,CAAA;AACL,CAAC,CAAA;AAtCY,QAAA,UAAU,cAsCtB"}
@@ -10,5 +10,5 @@ export declare class Portal extends React.Component<PortalProps, unknown> {
10
10
  componentDidMount(): void;
11
11
  componentDidUpdate(prevProps: PortalProps): void;
12
12
  componentWillUnmount(): void;
13
- render(): React.ReactPortal | null;
13
+ render(): JSX.Element | null;
14
14
  }
@@ -5,4 +5,4 @@ export interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement>
5
5
  value: string | number;
6
6
  checked: boolean;
7
7
  }
8
- export declare const Radio: React.FC<RadioProps>;
8
+ export declare const Radio: ({ name, label, ...props }: RadioProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Radio/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAA2C;AAWpC,IAAM,KAAK,GAAyB,UAAC,EAAyB;IAAvB,IAAA,IAAI,UAAA,EAAE,KAAK,WAAA,EAAK,KAAK,sBAAvB,iBAAyB,CAAF;IAC/D,OAAO,CACH,oBAAC,yBAAgB,IAAC,OAAO,EAAE,IAAI;QAC3B,gDAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAC,OAAO,IAAK,KAAK,EAAI;QAC1C,KAAK,CACS,CACtB,CAAA;AACL,CAAC,CAAA;AAPY,QAAA,KAAK,SAOjB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Radio/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAA2C;AAWpC,IAAM,KAAK,GAAG,UAAC,EAAqC;IAAnC,IAAA,IAAI,UAAA,EAAE,KAAK,WAAA,EAAK,KAAK,sBAAvB,iBAAyB,CAAF;IACzC,OAAO,CACH,oBAAC,yBAAgB,IAAC,OAAO,EAAE,IAAI;QAC3B,gDAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAC,OAAO,IAAK,KAAK,EAAI;QAC1C,KAAK,CACS,CACtB,CAAA;AACL,CAAC,CAAA;AAPY,QAAA,KAAK,SAOjB"}
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  interface RadioOption {
3
3
  label: string;
4
4
  value: string | number;
@@ -8,5 +8,5 @@ export interface RadioGroupProps {
8
8
  onChange?: (_: any) => void;
9
9
  options: RadioOption[];
10
10
  }
11
- export declare const RadioGroup: React.FC<RadioGroupProps>;
11
+ export declare const RadioGroup: ({ options, value, onChange, }: RadioGroupProps) => JSX.Element;
12
12
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RadioGroup/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAC9B,wCAAsC;AACtC,mCAA2C;AAapC,IAAM,UAAU,GAA8B,UAAC,EAIrD;QAHG,OAAO,aAAA,EACP,KAAK,WAAA,EACL,QAAQ,cAAA;IAER,OAAO,CACH,oBAAC,yBAAgB,QACZ,OAAO,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,GAAG,IAAK,OAAA,CACxB,oBAAC,aAAK,IACF,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,KAAK,EAChB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,KAAK,KAAK,IAAI,CAAC,KAAK,EAC7B,QAAQ,EAAE,QAAQ,GACpB,CACL,EAT2B,CAS3B,CAAC,CACa,CACtB,CAAA;AACL,CAAC,CAAA;AAnBY,QAAA,UAAU,cAmBtB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RadioGroup/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAC9B,wCAAsC;AACtC,mCAA2C;AAapC,IAAM,UAAU,GAAG,UAAC,EAIT;QAHd,OAAO,aAAA,EACP,KAAK,WAAA,EACL,QAAQ,cAAA;IAER,OAAO,CACH,oBAAC,yBAAgB,QACZ,OAAO,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,GAAG,IAAK,OAAA,CACxB,oBAAC,aAAK,IACF,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,KAAK,EAChB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,KAAK,KAAK,IAAI,CAAC,KAAK,EAC7B,QAAQ,EAAE,QAAQ,GACpB,CACL,EAT2B,CAS3B,CAAC,CACa,CACtB,CAAA;AACL,CAAC,CAAA;AAnBY,QAAA,UAAU,cAmBtB"}
@@ -14,7 +14,7 @@ exports.StyledSelect = styled_components_1.default.select(templateObject_1 || (t
14
14
  : props.disabled
15
15
  ? props.theme.colors.grey[300]
16
16
  : props.theme.colors.input.color;
17
- }, function (props) { return props.theme.colors.input.background; }, styled_map_1.default({
17
+ }, function (props) { return props.theme.colors.input.background; }, (0, styled_map_1.default)({
18
18
  disabled: 'not-allowed',
19
19
  default: 'pointer',
20
20
  }), function (props) { return props.theme.colors.input.focus; });
@@ -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,C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K,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK;AAJpC,CAIoC,EACpB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,EAAnC,CAAmC,EACtD,IAAA,oBAAS,EAAC;IAChB,QAAQ,EAAE,aAAa;IACvB,OAAO,EAAE,SAAS;CACrB,CAAC,EAGkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EAK9D;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,MAAM,iGAAA,eAC5B,EAAuC,KACnD,KADY,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EACnD;AAEY,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,mOAAA,wJAQtC,KAAA"}
@@ -1,7 +1,13 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  export interface SpinnerProps {
3
3
  color: string;
4
4
  width?: string;
5
5
  height?: string;
6
6
  }
7
- export declare const Spinner: React.FC<SpinnerProps>;
7
+ export declare const Spinner: {
8
+ ({ color, width, height, }: SpinnerProps): JSX.Element;
9
+ defaultProps: {
10
+ width: string;
11
+ height: string;
12
+ };
13
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Spinner/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAQvB,IAAM,OAAO,GAA2B,UAAC,EAAwB;QAAtB,KAAK,WAAA,EAAE,KAAK,WAAA,EAAE,MAAM,YAAA;IAClE,OAAO,CACH,6BACI,OAAO,EAAC,KAAK,EACb,EAAE,EAAC,UAAU,EACb,CAAC,EAAC,KAAK,EACP,CAAC,EAAC,KAAK,EACP,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW;QAEnB,8BACI,IAAI,EAAE,KAAK,EACX,CAAC,EAAC,6KAA6K,EAC/K,SAAS,EAAC,sBAAsB;YAEhC,0CACI,aAAa,EAAC,KAAK,EACnB,aAAa,EAAC,WAAW,EACzB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,SAAS,EACd,EAAE,EAAC,WAAW,EACd,GAAG,EAAC,MAAM,EACV,WAAW,EAAC,YAAY,GAC1B,CACC,CACL,CACT,CAAA;AACL,CAAC,CAAA;AA5BY,QAAA,OAAO,WA4BnB;AAED,eAAO,CAAC,YAAY,GAAG;IACnB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;CACjB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Spinner/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAQvB,IAAM,OAAO,GAAG,UAAC,EAIT;QAHX,KAAK,WAAA,EACL,KAAK,WAAA,EACL,MAAM,YAAA;IAEN,OAAO,CACH,6BACI,OAAO,EAAC,KAAK,EACb,EAAE,EAAC,UAAU,EACb,CAAC,EAAC,KAAK,EACP,CAAC,EAAC,KAAK,EACP,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW;QAEnB,8BACI,IAAI,EAAE,KAAK,EACX,CAAC,EAAC,6KAA6K,EAC/K,SAAS,EAAC,sBAAsB;YAEhC,0CACI,aAAa,EAAC,KAAK,EACnB,aAAa,EAAC,WAAW,EACzB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,SAAS,EACd,EAAE,EAAC,WAAW,EACd,GAAG,EAAC,MAAM,EACV,WAAW,EAAC,YAAY,GAC1B,CACC,CACL,CACT,CAAA;AACL,CAAC,CAAA;AAhCY,QAAA,OAAO,WAgCnB;AAED,eAAO,CAAC,YAAY,GAAG;IACnB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;CACjB,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  export interface TagProps {
3
3
  kind?: 'default' | 'success' | 'error' | 'warning' | 'disabled';
4
+ children: React.ReactNode;
4
5
  }
5
- export declare const Tag: React.FC<TagProps>;
6
+ export declare const Tag: ({ kind, children }: TagProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAC9B,mCAAoC;AAM7B,IAAM,GAAG,GAAuB,UAAC,EAAkB;QAAhB,IAAI,UAAA,EAAE,QAAQ,cAAA;IACpD,OAAO,oBAAC,kBAAS,IAAC,IAAI,EAAE,IAAI,IAAG,QAAQ,CAAa,CAAA;AACxD,CAAC,CAAA;AAFY,QAAA,GAAG,OAEf"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":";;;AAAA,6BAA8B;AAC9B,mCAAoC;AAO7B,IAAM,GAAG,GAAG,UAAC,EAA4B;QAA1B,IAAI,UAAA,EAAE,QAAQ,cAAA;IAChC,OAAO,oBAAC,kBAAS,IAAC,IAAI,EAAE,IAAI,IAAG,QAAQ,CAAa,CAAA;AACxD,CAAC,CAAA;AAFY,QAAA,GAAG,OAEf"}
@@ -5,7 +5,7 @@ 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
  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
- return styled_map_1.default('kind', {
8
+ return (0, styled_map_1.default)('kind', {
9
9
  error: props.theme.colors.red[50],
10
10
  warning: props.theme.colors.orange[50],
11
11
  default: props.theme.colors.blue[50],
@@ -13,7 +13,7 @@ exports.StyledTag = styled_components_1.default.div(templateObject_1 || (templat
13
13
  disabled: props.theme.colors.grey[200],
14
14
  });
15
15
  }, function (props) {
16
- return styled_map_1.default('kind', {
16
+ return (0, styled_map_1.default)('kind', {
17
17
  error: props.theme.colors.red[900],
18
18
  warning: props.theme.colors.orange[900],
19
19
  default: props.theme.colors.blue[900],
@@ -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,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,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AE,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,IAAA,oBAAS,EAAC,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"}
@@ -7,5 +7,9 @@ export interface TextProps {
7
7
  inline?: boolean;
8
8
  hook?: string;
9
9
  size?: FontSizes;
10
+ children: React.ReactNode;
10
11
  }
11
- export declare const Text: React.FC<TextProps>;
12
+ export declare const Text: {
13
+ ({ hook, children, ...props }: TextProps): JSX.Element;
14
+ defaultProps: Partial<TextProps>;
15
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAE9B,mCAAqC;AAW9B,IAAM,IAAI,GAAwB,UAAC,EAA4B;IAA1B,IAAA,IAAI,UAAA,EAAE,QAAQ,cAAA,EAAK,KAAK,sBAA1B,oBAA4B,CAAF;IAChE,OAAO,CACH,oBAAC,mBAAU,kCAAY,IAAI,IAAM,KAAK,GACjC,QAAQ,CACA,CAChB,CAAA;AACL,CAAC,CAAA;AANY,QAAA,IAAI,QAMhB;AAED,YAAI,CAAC,YAAY,GAAG;IAChB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,GAAG;CACU,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAE9B,mCAAqC;AAY9B,IAAM,IAAI,GAAG,UAAC,EAAuC;IAArC,IAAA,IAAI,UAAA,EAAE,QAAQ,cAAA,EAAK,KAAK,sBAA1B,oBAA4B,CAAF;IAC3C,OAAO,CACH,oBAAC,mBAAU,kCAAY,IAAI,IAAM,KAAK,GACjC,QAAQ,CACA,CAChB,CAAA;AACL,CAAC,CAAA;AANY,QAAA,IAAI,QAMhB;AAED,YAAI,CAAC,YAAY,GAAG;IAChB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,GAAG;CACU,CAAA"}
@@ -5,12 +5,12 @@ var tslib_1 = require("tslib");
5
5
  var styled_map_1 = require("styled-map");
6
6
  var styled_components_1 = require("styled-components");
7
7
  var Box_1 = require("../Box");
8
- exports.StyledText = styled_components_1.default.p(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: ", ";\n margin: 0;\n ", ";\n"], ["\n ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: ", ";\n margin: 0;\n ", ";\n"])), function (props) { return props.inline && 'display: inline'; }, function (props) { return props.theme.font.default; }, styled_map_1.default('size', {
8
+ exports.StyledText = styled_components_1.default.p(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: ", ";\n margin: 0;\n ", ";\n"], ["\n ", ";\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: ", ";\n margin: 0;\n ", ";\n"])), function (props) { return props.inline && 'display: inline'; }, function (props) { return props.theme.font.default; }, (0, styled_map_1.default)('size', {
9
9
  xs: function (props) { return props.theme.font.sizes.xs; },
10
10
  s: function (props) { return props.theme.font.sizes.s; },
11
11
  m: function (props) { return props.theme.font.sizes.m; },
12
12
  l: function (props) { return props.theme.font.sizes.l; },
13
- }), styled_map_1.default('weight', {
13
+ }), (0, styled_map_1.default)('weight', {
14
14
  normal: 'normal',
15
15
  medium: 500,
16
16
  bold: 'bold',
@@ -21,7 +21,7 @@ exports.StyledText = styled_components_1.default.p(templateObject_1 || (template
21
21
  ? props.theme.colors.text.light
22
22
  : props.theme.colors.text.default;
23
23
  }, function (props) { return props.theme.font.lineHeight; }, function (props) {
24
- return props.bottomMargin && Box_1.mb(props.bottomMargin, props.theme.spacing);
24
+ return props.bottomMargin && (0, Box_1.mb)(props.bottomMargin, props.theme.spacing);
25
25
  });
26
26
  var templateObject_1;
27
27
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Text/styles.ts"],"names":[],"mappings":";;;;AAAA,yCAAkC;AAClC,uDAAsC;AACtC,8BAA2B;AAGd,QAAA,UAAU,GAAG,2BAAM,CAAC,CAAC,qOAAW,QACvC,EAA0C,sBAC7B,EAAiC,oBACnC,EAKX,sBACa,EAIb,gBACO,EAKgC,sBAC1B,EAAoC,yBAEjD,EACmE,KACxE,KAvBK,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,MAAM,IAAI,iBAAiB,EAAjC,CAAiC,EAC7B,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EACnC,oBAAS,CAAC,MAAM,EAAE;IAC3B,EAAE,EAAE,UAAC,KAAU,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAzB,CAAyB;IAC7C,CAAC,EAAE,UAAC,KAAU,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,IAA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AAK,CAAC,OAAO,CAAC;AAAjE,CAAiE,EACxE"}
@@ -12,4 +12,9 @@ export interface TextAreaProps {
12
12
  onKeyDown?: (e: any) => void;
13
13
  hook?: string;
14
14
  }
15
- export declare const TextArea: React.FC<TextAreaProps>;
15
+ export declare const TextArea: {
16
+ ({ hook, ...props }: TextAreaProps): JSX.Element;
17
+ defaultProps: {
18
+ disabled: boolean;
19
+ };
20
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TextArea/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAAyC;AAgBlC,IAAM,QAAQ,GAA4B,UAAC,EAAkB;IAAhB,IAAA,IAAI,UAAA,EAAK,KAAK,sBAAhB,QAAkB,CAAF;IAC9D,OAAO,oBAAC,uBAAc,kCAAY,IAAI,IAAM,KAAK,EAAI,CAAA;AACzD,CAAC,CAAA;AAFY,QAAA,QAAQ,YAEpB;AAED,gBAAQ,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,KAAK;CAClB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TextArea/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAAyC;AAgBlC,IAAM,QAAQ,GAAG,UAAC,EAAiC;IAA/B,IAAA,IAAI,UAAA,EAAK,KAAK,sBAAhB,QAAkB,CAAF;IACrC,OAAO,oBAAC,uBAAc,kCAAY,IAAI,IAAM,KAAK,EAAI,CAAA;AACzD,CAAC,CAAA;AAFY,QAAA,QAAQ,YAEpB;AAED,gBAAQ,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,KAAK;CAClB,CAAA"}
@@ -8,7 +8,7 @@ exports.StyledTextArea = styled_components_1.default.textarea(templateObject_1 |
8
8
  return props.error
9
9
  ? props.theme.colors.input.error
10
10
  : props.theme.colors.input.border;
11
- }, function (props) { return props.theme.borderRadius.input; }, function (props) { return props.theme.colors.input.background; }, function (props) { return props.theme.font.default; }, styled_map_1.default({
11
+ }, function (props) { return props.theme.borderRadius.input; }, function (props) { return props.theme.colors.input.background; }, function (props) { return props.theme.font.default; }, (0, styled_map_1.default)({
12
12
  disabled: 0.2,
13
13
  default: 1,
14
14
  }), function (props) { return props.theme.colors.input.focus; });
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/TextArea/styles.ts"],"names":[],"mappings":";;;;AAAA,yCAAkC;AAClC,uDAAsC;AAGzB,QAAA,cAAc,GAAG,2BAAM,CAAC,QAAQ,mhBAAe,mEAGxC,EAAgC,yBAChC,EAGyB,wBACxB,EAAuC,6BACpC,EAA4C,sBACjD,EAAiC,gFAIrC,EAGT,uLAMkB,EAAuC,YAE9D,KAtBmB,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,EACxB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,EAA9B,CAA8B,EACpC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,EAAnC,CAAmC,EACjD,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAIrC,oBAAS,CAAC;IACjB,QAAQ,EAAE,GAAG;IACb,OAAO,EAAE,CAAC;CACb,CAAC,EAMkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EAE9D"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/TextArea/styles.ts"],"names":[],"mappings":";;;;AAAA,yCAAkC;AAClC,uDAAsC;AAGzB,QAAA,cAAc,GAAG,2BAAM,CAAC,QAAQ,mhBAAe,mEAGxC,EAAgC,yBAChC,EAGyB,wBACxB,EAAuC,6BACpC,EAA4C,sBACjD,EAAiC,gFAIrC,EAGT,uLAMkB,EAAuC,YAE9D,KAtBmB,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,EACxB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,EAA9B,CAA8B,EACpC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,EAAnC,CAAmC,EACjD,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAxB,CAAwB,EAIrC,IAAA,oBAAS,EAAC;IACjB,QAAQ,EAAE,GAAG;IACb,OAAO,EAAE,CAAC;CACb,CAAC,EAMkB,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAA9B,CAA8B,EAE9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ToggleContainer/ToggleItem/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAAiC;AACjC,mCAMiB;AAOjB,IAAM,QAAQ,GAAG,UAAC,KAA+B,IAAK,OAAA,OAAO,KAAK,KAAK,QAAQ,EAAzB,C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,CAAA;IAE7C,OAAO,CACH,oBAAC,wBAAe,IAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,CAAC,IAAI,CAAC,EAAd,CAAc;QAC1C,oBAAC,oBAAW;YACR,oBAAC,WAAI,IAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,IAAG,KAAK,CAAQ;YACvD,IAAI,CAAC,CAAC,CAAC,CACJ,oBAAC,wBAAe,IAAC,KAAK,EAAE,EAAE,GAAI,CACjC,CAAC,CAAC,CAAC,CACA,oBAAC,uBAAc,IAAC,KAAK,EAAE,EAAE,GAAI,CAChC,CACS;QACb,IAAI,IAAI,CACL,oBAAC,sBAAa,QACT,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,oBAAC,WAAI,QAAE,OAAO,CAAQ,CAAC,CAAC,CAAC,OAAO,CACzC,CACnB,CACa,CACrB,CAAA;AACL,CAAC,CAAA;AApBY,QAAA,UAAU,cAoBtB"}
@@ -8,7 +8,7 @@ var MinusCircle_1 = require("../../../assets/icons/MinusCircle");
8
8
  exports.StyledContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n border-top: 1px solid ", ";\n transition: background 120ms;\n padding: ", "px 0;\n"], ["\n border-top: 1px solid ", ";\n transition: background 120ms;\n padding: ", "px 0;\n"])), function (props) { return props.theme.borderColor; }, function (props) { return props.theme.spacing[2]; });
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
- 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[300]; });
11
+ exports.StyledPlusIcon = (0, 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 = (0, 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,EA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AA,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,0EAGtB,EAA+B,yGAMzB,EAAmC,uBAGvD,KATc,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAtB,CAAsB,EAMzB,UAAA,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,IAAA,2BAAM,EAAC,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,IAAA,2BAAM,EAAC,yBAAW,CAAC,uIAAA,qDAGtC,EAAqC,KAChD,KADW,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAChD"}
@@ -6,4 +6,4 @@ export interface TooltipProps {
6
6
  style?: React.CSSProperties;
7
7
  id?: string;
8
8
  }
9
- export declare const Tooltip: React.FC<TooltipProps>;
9
+ export declare const Tooltip: ({ id, text, color, width, style, ...rest }: TooltipProps) => JSX.Element;
@@ -1 +1 @@
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
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tooltip/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,4DAA0D;AAC1D,mCAAyD;AAUlD,IAAM,OAAO,GAAG,UAAC,EAOT;IANX,IAAA,EAAE,QAAA,EACF,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,KAAK,WAAA,EACL,KAAK,WAAA,EACF,IAAI,sBANa,yCAOvB,CADU;IACsB,OAAA,CAC7B,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"}
@@ -6,7 +6,7 @@ var react_1 = require("react");
6
6
  var react_tooltip_1 = require("react-tooltip");
7
7
  var styled_components_1 = require("styled-components");
8
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"])));
9
+ exports.StyledTooltip = (0, 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"])));
10
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; });
11
11
  var templateObject_1, templateObject_2;
12
12
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
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"}
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,IAAA,2BAAM,EAAC,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"}
@@ -8,7 +8,7 @@ export declare const breakpoints: {
8
8
  xl: number;
9
9
  xxl: number;
10
10
  };
11
- export declare type Breakpoint = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
12
- export declare type BreakpointMap<T> = Record<Breakpoint, T>;
13
- export declare type BreakpointMedia = BreakpointMap<ThemedCssFunction<{}>>;
11
+ export type Breakpoint = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
12
+ export type BreakpointMap<T> = Record<Breakpoint, T>;
13
+ export type BreakpointMedia = BreakpointMap<ThemedCssFunction<{}>>;
14
14
  export declare const media: BreakpointMedia;
@@ -19,7 +19,7 @@ exports.media = Object.keys(exports.breakpoints).reduce(function (acc, label) {
19
19
  for (var _i = 1; _i < arguments.length; _i++) {
20
20
  interpolations[_i - 1] = arguments[_i];
21
21
  }
22
- return styled_components_1.css(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n @media (min-width: ", "px) {\n ", "\n }\n "], ["\n @media (min-width: ", "px) {\n ", "\n }\n "])), exports.breakpoints[label], styled_components_1.css.apply(void 0, tslib_1.__spreadArray([first], tslib_1.__read(interpolations))));
22
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n @media (min-width: ", "px) {\n ", "\n }\n "], ["\n @media (min-width: ", "px) {\n ", "\n }\n "])), exports.breakpoints[label], styled_components_1.css.apply(void 0, tslib_1.__spreadArray([first], tslib_1.__read(interpolations), false)));
23
23
  };
24
24
  return acc;
25
25
  }, {});
@@ -1 +1 @@
1
- {"version":3,"file":"breakpoints.js","sourceRoot":"","sources":["../../src/theme/breakpoints.ts"],"names":[],"mappings":";;;;AAAA,uDAAuC;AAGvC,wBAAwB;AACX,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,GAAG;IACR,EAAE,EAAE,GAAG;IACP,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,IAAI;IACP,CAAC,EAAE,IAAI;IACP,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,IAAI;CACZ,CAAA;AAwBY,QAAA,KAAK,GAAI,MAAM,CAAC,IAAI,CAAC,mBAAW,CAAkB,CAAC,MAAM,CAClE,UAAC,GAAG,EAAE,KAAK;IACP,GAAG,CAAC,KAAK,CAAC,GAAG,UAAC,KAAU;QAAE,wBAAwB;aAAxB,UAAwB,EAAxB,qBAAwB,EAAxB,IAAwB;YAAxB,uCAAwB;;QAAK,OAAA,uBAAG,sKAAA,mCACjC,EAAkB,yBACjC,EAA6B,2BAEtC,KAHwB,mBAAW,CAAC,KAAK,CAAC,EACjC,uBAAG,sCAAC,KAAK,kBAAK,cAAc;IAFiB,CAItD,CAAA;IACD,OAAO,GAAG,CAAA;AACd,CAAC,EACD,EAAqB,CACxB,CAAA"}
1
+ {"version":3,"file":"breakpoints.js","sourceRoot":"","sources":["../../src/theme/breakpoints.ts"],"names":[],"mappings":";;;;AAAA,uDAAuC;AAGvC,wBAAwB;AACX,QAAA,WAAW,GAAG;IACvB,GAAG,EAAE,GAAG;IACR,EAAE,EAAE,GAAG;IACP,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,IAAI;IACP,CAAC,EAAE,IAAI;IACP,EAAE,EAAE,IAAI;IACR,GAAG,E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