@beequip/hexagon 0.17.4 → 0.18.0-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.
Files changed (161) hide show
  1. package/dist/components/Autocomplete/Item/styles.d.ts +2 -2
  2. package/dist/components/Autocomplete/index.stories.d.ts +2 -3
  3. package/dist/components/Autocomplete/index.stories.js.map +1 -1
  4. package/dist/components/Autocomplete/styles.d.ts +1 -1
  5. package/dist/components/Badge/index.stories.d.ts +2 -3
  6. package/dist/components/Badge/index.stories.js +4 -1
  7. package/dist/components/Badge/index.stories.js.map +1 -1
  8. package/dist/components/Badge/styles.d.ts +1 -1
  9. package/dist/components/Box/index.stories.d.ts +3 -4
  10. package/dist/components/Box/index.stories.js.map +1 -1
  11. package/dist/components/Box/styles.d.ts +1 -1
  12. package/dist/components/Button/index.stories.d.ts +9 -9
  13. package/dist/components/Button/index.stories.js.map +1 -1
  14. package/dist/components/Button/styles.d.ts +6 -3
  15. package/dist/components/ButtonGroup/index.stories.d.ts +3 -4
  16. package/dist/components/ButtonGroup/index.stories.js.map +1 -1
  17. package/dist/components/ButtonGroup/styles.d.ts +1 -1
  18. package/dist/components/Card/index.stories.d.ts +5 -6
  19. package/dist/components/Card/index.stories.js.map +1 -1
  20. package/dist/components/Card/styles.d.ts +1 -1
  21. package/dist/components/Card/styles.js +5 -2
  22. package/dist/components/Card/styles.js.map +1 -1
  23. package/dist/components/Checkbox/index.d.ts +10 -5
  24. package/dist/components/Checkbox/index.js +6 -4
  25. package/dist/components/Checkbox/index.js.map +1 -1
  26. package/dist/components/Checkbox/index.stories.d.ts +3 -3
  27. package/dist/components/Checkbox/index.stories.js +13 -4
  28. package/dist/components/Checkbox/index.stories.js.map +1 -1
  29. package/dist/components/Checkbox/styles.d.ts +5 -3
  30. package/dist/components/Checkbox/styles.js +34 -5
  31. package/dist/components/Checkbox/styles.js.map +1 -1
  32. package/dist/components/Container/styles.d.ts +1 -1
  33. package/dist/components/CounterTag/index.stories.d.ts +2 -3
  34. package/dist/components/CounterTag/index.stories.js.map +1 -1
  35. package/dist/components/CounterTag/styles.d.ts +1 -1
  36. package/dist/components/Error/index.stories.d.ts +2 -3
  37. package/dist/components/ExternalLink/index.stories.d.ts +5 -6
  38. package/dist/components/ExternalLink/index.stories.js.map +1 -1
  39. package/dist/components/ExternalLink/styles.d.ts +1 -1
  40. package/dist/components/Field/index.js +1 -1
  41. package/dist/components/Field/index.js.map +1 -1
  42. package/dist/components/Field/index.stories.d.ts +5 -0
  43. package/dist/components/Field/index.stories.js +30 -0
  44. package/dist/components/Field/index.stories.js.map +1 -0
  45. package/dist/components/Field/styles.d.ts +2 -2
  46. package/dist/components/FieldError/styles.d.ts +1 -1
  47. package/dist/components/FieldError/styles.js +1 -1
  48. package/dist/components/FieldError/styles.js.map +1 -1
  49. package/dist/components/FieldGroup/styles.d.ts +1 -1
  50. package/dist/components/Form/styles.d.ts +1 -1
  51. package/dist/components/Grid/styles.d.ts +1 -1
  52. package/dist/components/Heading/index.stories.d.ts +5 -5
  53. package/dist/components/Heading/index.stories.js.map +1 -1
  54. package/dist/components/Heading/styles.d.ts +1 -1
  55. package/dist/components/HelpText/index.stories.d.ts +2 -3
  56. package/dist/components/HelpText/index.stories.js.map +1 -1
  57. package/dist/components/HelpText/styles.d.ts +1 -1
  58. package/dist/components/Image/styles.d.ts +1 -1
  59. package/dist/components/Input/CurrencyInput/index.d.ts +2 -1
  60. package/dist/components/Input/CurrencyInput/index.js +15 -9
  61. package/dist/components/Input/CurrencyInput/index.js.map +1 -1
  62. package/dist/components/Input/CurrencyInput/index.stories.d.ts +2 -3
  63. package/dist/components/Input/CurrencyInput/index.stories.js.map +1 -1
  64. package/dist/components/Input/CurrencyInput/styles.d.ts +5 -3
  65. package/dist/components/Input/CurrencyInput/styles.js +2 -2
  66. package/dist/components/Input/CurrencyInput/styles.js.map +1 -1
  67. package/dist/components/Input/index.d.ts +2 -2
  68. package/dist/components/Input/index.js +21 -12
  69. package/dist/components/Input/index.js.map +1 -1
  70. package/dist/components/Input/index.stories.d.ts +6 -5
  71. package/dist/components/Input/index.stories.js +19 -1
  72. package/dist/components/Input/index.stories.js.map +1 -1
  73. package/dist/components/Input/styles.d.ts +15 -9
  74. package/dist/components/Input/styles.js +29 -25
  75. package/dist/components/Input/styles.js.map +1 -1
  76. package/dist/components/Label/index.stories.d.ts +4 -0
  77. package/dist/components/Label/index.stories.js +21 -0
  78. package/dist/components/Label/index.stories.js.map +1 -0
  79. package/dist/components/Label/styles.d.ts +1 -1
  80. package/dist/components/Label/styles.js +1 -1
  81. package/dist/components/Label/styles.js.map +1 -1
  82. package/dist/components/Link/index.stories.d.ts +2 -3
  83. package/dist/components/Link/index.stories.js.map +1 -1
  84. package/dist/components/Link/styles.d.ts +4 -4
  85. package/dist/components/Link/styles.js +4 -1
  86. package/dist/components/Link/styles.js.map +1 -1
  87. package/dist/components/List/index.stories.d.ts +2 -3
  88. package/dist/components/List/index.stories.js.map +1 -1
  89. package/dist/components/List/styles.d.ts +3 -3
  90. package/dist/components/ListItem/styles.d.ts +1 -1
  91. package/dist/components/Modal/index.stories.d.ts +2 -3
  92. package/dist/components/Modal/index.stories.js.map +1 -1
  93. package/dist/components/Modal/styles.d.ts +4 -4
  94. package/dist/components/NavLink/styles.d.ts +1 -1
  95. package/dist/components/Notification/index.d.ts +4 -4
  96. package/dist/components/Notification/index.js +13 -6
  97. package/dist/components/Notification/index.js.map +1 -1
  98. package/dist/components/Notification/index.stories.d.ts +5 -6
  99. package/dist/components/Notification/index.stories.js +5 -1
  100. package/dist/components/Notification/index.stories.js.map +1 -1
  101. package/dist/components/Notification/styles.d.ts +2 -2
  102. package/dist/components/Notification/styles.js +7 -7
  103. package/dist/components/Notification/styles.js.map +1 -1
  104. package/dist/components/PageLoader/index.stories.d.ts +2 -3
  105. package/dist/components/Portal/index.stories.d.ts +2 -3
  106. package/dist/components/Portal/index.stories.js.map +1 -1
  107. package/dist/components/Radio/index.d.ts +1 -3
  108. package/dist/components/Radio/index.js +4 -4
  109. package/dist/components/Radio/index.js.map +1 -1
  110. package/dist/components/Radio/index.stories.d.ts +2 -3
  111. package/dist/components/Radio/index.stories.js +1 -0
  112. package/dist/components/Radio/index.stories.js.map +1 -1
  113. package/dist/components/Radio/styles.d.ts +2 -1
  114. package/dist/components/Radio/styles.js +14 -3
  115. package/dist/components/Radio/styles.js.map +1 -1
  116. package/dist/components/RadioGroup/index.d.ts +4 -4
  117. package/dist/components/RadioGroup/index.stories.d.ts +2 -3
  118. package/dist/components/RadioGroup/index.stories.js +5 -1
  119. package/dist/components/RadioGroup/index.stories.js.map +1 -1
  120. package/dist/components/RadioGroup/styles.d.ts +1 -1
  121. package/dist/components/Select/index.stories.d.ts +2 -3
  122. package/dist/components/Select/index.stories.js.map +1 -1
  123. package/dist/components/Select/styles.d.ts +3 -3
  124. package/dist/components/Select/styles.js +3 -3
  125. package/dist/components/Select/styles.js.map +1 -1
  126. package/dist/components/Spinner/index.stories.d.ts +2 -3
  127. package/dist/components/Spinner/index.stories.js.map +1 -1
  128. package/dist/components/Table/Cell/styles.d.ts +1 -1
  129. package/dist/components/Table/Foot/styles.d.ts +1 -1
  130. package/dist/components/Table/Table/styles.d.ts +1 -1
  131. package/dist/components/Tag/index.stories.d.ts +6 -7
  132. package/dist/components/Tag/index.stories.js +1 -1
  133. package/dist/components/Tag/index.stories.js.map +1 -1
  134. package/dist/components/Tag/styles.d.ts +1 -1
  135. package/dist/components/Tag/styles.js +2 -2
  136. package/dist/components/Tag/styles.js.map +1 -1
  137. package/dist/components/Text/index.stories.d.ts +4 -5
  138. package/dist/components/Text/index.stories.js.map +1 -1
  139. package/dist/components/Text/styles.d.ts +1 -1
  140. package/dist/components/TextArea/index.d.ts +1 -10
  141. package/dist/components/TextArea/index.js.map +1 -1
  142. package/dist/components/TextArea/index.stories.d.ts +2 -3
  143. package/dist/components/TextArea/index.stories.js.map +1 -1
  144. package/dist/components/TextArea/styles.d.ts +2 -2
  145. package/dist/components/TextArea/styles.js +9 -3
  146. package/dist/components/TextArea/styles.js.map +1 -1
  147. package/dist/components/ToggleContainer/ToggleItem/index.stories.d.ts +2 -3
  148. package/dist/components/ToggleContainer/ToggleItem/index.stories.js.map +1 -1
  149. package/dist/components/ToggleContainer/ToggleItem/styles.d.ts +5 -5
  150. package/dist/components/ToggleContainer/ToggleItem/styles.js +5 -2
  151. package/dist/components/ToggleContainer/ToggleItem/styles.js.map +1 -1
  152. package/dist/components/ToggleContainer/index.d.ts +1 -1
  153. package/dist/components/ToggleContainer/index.stories.d.ts +2 -3
  154. package/dist/components/ToggleContainer/index.stories.js.map +1 -1
  155. package/dist/components/Tooltip/index.stories.d.ts +2 -3
  156. package/dist/components/Tooltip/index.stories.js.map +1 -1
  157. package/dist/components/Tooltip/styles.d.ts +2 -2
  158. package/dist/theme/theme.d.ts +5 -3
  159. package/dist/theme/theme.js +12 -10
  160. package/dist/theme/theme.js.map +1 -1
  161. package/package.json +70 -66
@@ -5,10 +5,13 @@ var tslib_1 = require("tslib");
5
5
  var styled_components_1 = require("styled-components");
6
6
  var ArrowLeft_1 = require("../../assets/icons/ArrowLeft");
7
7
  var ArrowRight_1 = require("../../assets/icons/ArrowRight");
8
- exports.linkStyles = (0, 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) {
8
+ exports.linkStyles = (0, 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: ", ";\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: ", ";\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
10
  ? props.theme.colors.grey[900]
11
11
  : props.theme.colors.links.default;
12
+ }, function (_a) {
13
+ var theme = _a.theme;
14
+ return theme.transition('all');
12
15
  }, function (props) {
13
16
  return props.textDecoration ? 'underline' : 'auto';
14
17
  }, function (props) {
@@ -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,OAAG,uBAAG,6aAG3B,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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AAA,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,IAAA,2BAAM,EAAC,qBAAS,CAAC,sGAAA,2BAE/C,KAAA;AAEY,QAAA,gBAAgB,GAAG,IAAA,2BAAM,EAAC,uBAAU,CAAC,sGAAA,2BAEjD,KAAA;AAEY,QAAA,UAAU,GAAG,2BAAM,CAAC,CAAC,oRAAA,QAC5B,EAAU,+LAcf,KAdK,kBAAU,EAcf"}
@@ -1,5 +1,4 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { ListProps } from '.';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Default: Story<ListProps>;
4
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ListProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/List/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAmC;AACnC,wCAAsC;AAEtC,kBAAe;IACX,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAI;IACf,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAqB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CAChD,8BAAC,OAAI,uBAAK,IAAI;QACV,8BAAC,mBAAQ,gBAAiB;QAC1B,8BAAC,mBAAQ,gBAAiB;QAC1B,8BAAC,mBAAQ,gBAAiB;QAC1B,8BAAC,mBAAQ,gBAAiB,CACvB,CACV,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/List/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAmC;AACnC,wCAAsC;AAEtC,kBAAe;IACX,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAI;IACf,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAuB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CAClD,8BAAC,OAAI,uBAAK,IAAI;QACV,8BAAC,mBAAQ,gBAAiB;QAC1B,8BAAC,mBAAQ,gBAAiB;QAC1B,8BAAC,mBAAQ,gBAAiB;QAC1B,8BAAC,mBAAQ,gBAAiB,CACvB,CACV,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import { ListProps } from './index';
2
- export declare const StyledList: import("styled-components").StyledComponent<"ul", any, ListProps, never>;
3
- export declare const StyledOrderedList: import("styled-components").StyledComponent<"ol", any, {}, never>;
4
- export declare const StyledOrderedListItem: import("styled-components").StyledComponent<"li", any, {}, never>;
2
+ export declare const StyledList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, ListProps, never>;
3
+ export declare const StyledOrderedList: import("styled-components").StyledComponent<"ol", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const StyledOrderedListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +1,2 @@
1
1
  import { ListItemProps } from '.';
2
- export declare const StyledListItem: import("styled-components").StyledComponent<"li", any, ListItemProps, never>;
2
+ export declare const StyledListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, ListItemProps, never>;
@@ -1,5 +1,4 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { ModalProps } from '.';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Default: Story<ModalProps>;
4
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ModalProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Modal/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAqC;AAErC,kBAAe;IACX,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,QAAK;IAChB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAsB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CACjD,8BAAC,QAAK,uBAAK,IAAI,WAAe,CACjC,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Modal/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAqC;AAErC,kBAAe;IACX,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,QAAK;IAChB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAwB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CACnD,8BAAC,QAAK,uBAAK,IAAI,WAAe,CACjC,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledShade: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
2
+ export declare const StyledShade: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, import("styled-components").DefaultTheme, {}, never>;
3
3
  export declare const StyledButton: import("styled-components").StyledComponent<{
4
4
  ({ disabled, loading, hook, nav, children, link, ...rest }: import("../Button").ButtonProps): JSX.Element;
5
5
  defaultProps: {
@@ -7,8 +7,8 @@ export declare const StyledButton: import("styled-components").StyledComponent<{
7
7
  kind: string;
8
8
  size: string;
9
9
  };
10
- }, any, {}, never>;
11
- export declare const StyledContainer: import("styled-components").StyledComponent<"div", any, {
10
+ }, import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const StyledContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
12
12
  modalOpen?: boolean | undefined;
13
13
  }, never>;
14
- export declare const StyledModal: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
14
+ export declare const StyledModal: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +1,2 @@
1
1
  import { NavLink as NavLinkReact, NavLinkProps } from 'react-router-dom';
2
- export declare const StyledNavLink: import("styled-components").StyledComponent<typeof NavLinkReact, any, NavLinkProps<unknown>, never>;
2
+ export declare const StyledNavLink: import("styled-components").StyledComponent<typeof NavLinkReact, import("styled-components").DefaultTheme, NavLinkProps<unknown>, never>;
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
- export interface NotificationProps {
2
+ export interface NotificationProps extends React.HTMLAttributes<HTMLDivElement> {
3
3
  type: 'error' | 'message' | 'warning' | 'success';
4
4
  /**
5
- Checks if the button should be disabled
6
- */
5
+ * Checks if the button should be disabled
6
+ */
7
7
  contentAlign?: 'left' | 'center' | 'right';
8
8
  hook?: string;
9
9
  children: React.ReactNode;
10
10
  }
11
- export declare const Notification: ({ hook, type, children, }: NotificationProps) => JSX.Element;
11
+ export declare const Notification: ({ type, hook, children, ...rest }: NotificationProps) => JSX.Element;
@@ -1,18 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Notification = void 0;
4
+ var tslib_1 = require("tslib");
4
5
  var React = require("react");
5
- var MessageSquareCheck_1 = require("../../assets/icons/MessageSquareCheck");
6
- var ExclamationTriangle_1 = require("../../assets/icons/ExclamationTriangle");
6
+ var CheckCircle_1 = require("../../assets/icons/CheckCircle");
7
7
  var ExclamationCircle_1 = require("../../assets/icons/ExclamationCircle");
8
- var MessageSquareDots_1 = require("../../assets/icons/MessageSquareDots");
9
8
  var styles_1 = require("./styles");
10
9
  var Notification = function (_a) {
11
- var hook = _a.hook, type = _a.type, children = _a.children;
12
- return (React.createElement(styles_1.StyledNotification, { "data-hook": hook, type: type },
10
+ var type = _a.type, hook = _a.hook, children = _a.children, rest = tslib_1.__rest(_a, ["type", "hook", "children"]);
11
+ return (React.createElement(styles_1.StyledNotification, tslib_1.__assign({ "data-hook": hook, type: type }, rest),
13
12
  React.createElement("div", { style: { display: 'flex', alignItems: 'flex-start' } },
14
- React.createElement(styles_1.StyledIcon, { type: type }, type === 'error' ? (React.createElement(ExclamationTriangle_1.ExclamationTriangle, { width: 24 })) : type === 'success' ? (React.createElement(MessageSquareCheck_1.MessageSquareCheck, { width: 24 })) : type === 'warning' ? (React.createElement(ExclamationCircle_1.ExclamationCircle, { width: 24 })) : (React.createElement(MessageSquareDots_1.MessageSquareDots, { width: 24 }))),
13
+ type !== 'message' && (React.createElement(styles_1.StyledIcon, { type: type }, getIcon(type))),
15
14
  React.createElement("span", null, children))));
16
15
  };
17
16
  exports.Notification = Notification;
17
+ var getIcon = function (type) {
18
+ return {
19
+ error: React.createElement(ExclamationCircle_1.ExclamationCircle, { width: 24 }),
20
+ success: React.createElement(CheckCircle_1.CheckCircle, { width: 24 }),
21
+ warning: React.createElement(ExclamationCircle_1.ExclamationCircle, { width: 24 }),
22
+ message: null,
23
+ }[type];
24
+ };
18
25
  //# sourceMappingURL=index.js.map
@@ -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;AAYlD,IAAM,YAAY,GAAG,UAAC,EAIT;QAHhB,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,EAAE,YAAY,EAAE;YACrD,oBAAC,mBAAU,IAAC,IAAI,EAAE,IAAI,IACjB,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,CAChB,oBAAC,yCAAmB,IAAC,KAAK,EAAE,EAAE,GAAI,CACrC,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CACrB,oBAAC,uCAAkB,IAAC,KAAK,EAAE,EAAE,GAAI,CACpC,CAAC,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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Notification/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,8DAA4D;AAC5D,0EAAwE;AACxE,mCAAyD;AAalD,IAAM,YAAY,GAAG,UAAC,EAKT;IAJhB,IAAA,IAAI,UAAA,EACJ,IAAI,UAAA,EACJ,QAAQ,cAAA,EACL,IAAI,sBAJkB,4BAK5B,CADU;IAEP,OAAO,CACH,oBAAC,2BAAkB,kCAAY,IAAI,EAAE,IAAI,EAAE,IAAI,IAAM,IAAI;QACrD,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE;YACpD,IAAI,KAAK,SAAS,IAAI,CACnB,oBAAC,mBAAU,IAAC,IAAI,EAAE,IAAI,IAAG,OAAO,CAAC,IAAI,CAAC,CAAc,CACvD;YACD,kCAAO,QAAQ,CAAQ,CACrB,CACW,CACxB,CAAA;AACL,CAAC,CAAA;AAhBY,QAAA,YAAY,gBAgBxB;AAED,IAAM,OAAO,GAAG,UAAC,IAA+B;IAC5C,OAAO;QACH,KAAK,EAAE,oBAAC,qCAAiB,IAAC,KAAK,EAAE,EAAE,GAAI;QACvC,OAAO,EAAE,oBAAC,yBAAW,IAAC,KAAK,EAAE,EAAE,GAAI;QACnC,OAAO,EAAE,oBAAC,qCAAiB,IAAC,KAAK,EAAE,EAAE,GAAI;QACzC,OAAO,EAAE,IAAI;KAChB,CAAC,IAAI,CAAC,CAAA;AACX,CAAC,CAAA"}
@@ -1,8 +1,7 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { NotificationProps } from './';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Succes: Story<NotificationProps>;
6
- export declare const Error: Story<NotificationProps>;
7
- export declare const Warning: Story<NotificationProps>;
8
- export declare const Message: Story<NotificationProps>;
4
+ export declare const Succes: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, NotificationProps>;
5
+ export declare const Error: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, NotificationProps>;
6
+ export declare const Warning: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, NotificationProps>;
7
+ export declare const Message: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, NotificationProps>;
@@ -19,22 +19,26 @@ exports.default = {
19
19
  };
20
20
  var Template = function (_a) {
21
21
  var args = tslib_1.__rest(_a, []);
22
- return (react_1.default.createElement(_1.Notification, tslib_1.__assign({}, args), "Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem."));
22
+ return (react_1.default.createElement(_1.Notification, tslib_1.__assign({}, args)));
23
23
  };
24
24
  exports.Succes = Template.bind({});
25
25
  exports.Succes.args = {
26
+ children: "Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem.",
26
27
  type: 'success',
27
28
  };
28
29
  exports.Error = Template.bind({});
29
30
  exports.Error.args = {
31
+ children: "Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem.",
30
32
  type: 'error',
31
33
  };
32
34
  exports.Warning = Template.bind({});
33
35
  exports.Warning.args = {
36
+ children: "Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem.",
34
37
  type: 'warning',
35
38
  };
36
39
  exports.Message = Template.bind({});
37
40
  exports.Message.args = {
41
+ children: "Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem. Donec arcu velit, varius in elit nec, hendrerit sagittis lorem.",
38
42
  type: 'message',
39
43
  };
40
44
  //# sourceMappingURL=index.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Notification/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAoD;AAEpD,kBAAe;IACX,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,eAAY;IACvB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;IAC9B,UAAU,EAAE;QACR,IAAI,EAAE;YACF,WAAW,EAAE;gBACT,SAAS,EAAE,2BAA2B;aACzC;YACD,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE;SAC9B;KACJ;CACI,CAAA;AAET,IAAM,QAAQ,GAA6B,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CACxD,8BAAC,eAAY,uBAAK,IAAI,qQAKP,CAClB,CAAA;CAAA,CAAA;AAEY,QAAA,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACvC,cAAM,CAAC,IAAI,GAAG;IACV,IAAI,EAAE,SAAS;CAClB,CAAA;AAEY,QAAA,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;A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,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,eAAO,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,iQAAiQ;IAC3Q,IAAI,EAAE,SAAS;CAClB,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,eAAO,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,iQAAiQ;IAC3Q,IAAI,EAAE,SAAS;CAClB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { NotificationProps } from '.';
2
- export declare const StyledNotification: import("styled-components").StyledComponent<"div", any, NotificationProps, never>;
3
- export declare const StyledIcon: import("styled-components").StyledComponent<"div", any, {
2
+ export declare const StyledNotification: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, NotificationProps, never>;
3
+ export declare const StyledIcon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
4
  type: 'error' | 'message' | 'warning' | 'success';
5
5
  }, never>;
@@ -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
  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 (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) {
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: ", "px;\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: ", "px;\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
9
  return (0, styled_map_1.default)('type', {
10
10
  error: props.theme.colors.red[50],
11
11
  warning: props.theme.colors.orange[50],
@@ -18,15 +18,15 @@ exports.StyledNotification = styled_components_1.default.div(templateObject_1 ||
18
18
  : props.contentAlign === 'right'
19
19
  ? 'flex-end'
20
20
  : 'flex-start';
21
- }, function (props) { return (props.contentAlign ? props.contentAlign : 'left'); }, function (props) {
21
+ }, function (props) { return (props.contentAlign ? props.contentAlign : 'left'); }, function (props) { return props.theme.borderRadius.default; }, function (props) {
22
22
  return (0, styled_map_1.default)('type', {
23
- error: props.theme.colors.red[500],
24
- warning: '#FFD68F',
25
- message: '#A8CDFF',
26
- success: props.theme.colors.green[500],
23
+ error: props.theme.colors.red[100],
24
+ warning: props.theme.colors.orange[100],
25
+ message: props.theme.colors.blue[100],
26
+ success: props.theme.colors.green[100],
27
27
  });
28
28
  });
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) {
29
+ exports.StyledIcon = styled_components_1.default.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: inline-flex;\n width: 20px;\n color: ", ";\n margin-top: 2px;\n margin-right: ", "px;\n flex-shrink: 0;\n"], ["\n display: inline-flex;\n width: 20px;\n color: ", ";\n margin-top: 2px;\n margin-right: ", "px;\n flex-shrink: 0;\n"])), function (props) {
30
30
  return (0, styled_map_1.default)('type', {
31
31
  error: props.theme.colors.error,
32
32
  warning: props.theme.colors.warning,
@@ -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,EAAqC,+FAI/B,EAKO,qBACR,EAA2D,wEAGzD,EAMV,8CAIT,KAnCK,UAAA,KAAK,IAAI,OAAA,IAAA,QAAE,EAAC,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,EAA1B,CAA0B,EACtB,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,EACnC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,EAA1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,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;QACrC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;KACzC,CAAC;AALF,CAKE,EAIT;AAEY,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,oNAElC,4DAGW,EAMH,6CAEU,EAA+B,4BAElD,KAVY,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,EAEU,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAtB,CAAsB,EAElD"}
@@ -1,4 +1,3 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
2
  export default _default;
4
- export declare const Default: Story<import("@storybook/react/types-6-0").Args>;
3
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
@@ -1,5 +1,4 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { PortalProps } from './';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Default: Story<PortalProps>;
4
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PortalProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Portal/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAwC;AAExC,kBAAe;IACX,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,SAAM;IACjB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAuB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CAClD,8BAAC,SAAM,uBAAK,IAAI,WAAgB,CACnC,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Portal/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAwC;AAExC,kBAAe;IACX,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,SAAM;IACjB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAyB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CACpD,8BAAC,SAAM,uBAAK,IAAI,WAAgB,CACnC,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
@@ -1,8 +1,6 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
3
  label: string;
4
4
  name: string;
5
- value: string | number;
6
- checked: boolean;
7
5
  }
8
6
  export declare const Radio: ({ name, label, ...props }: RadioProps) => JSX.Element;
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Radio = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var React = require("react");
5
+ var react_1 = require("react");
6
6
  var styles_1 = require("./styles");
7
7
  var Radio = function (_a) {
8
8
  var name = _a.name, label = _a.label, props = tslib_1.__rest(_a, ["name", "label"]);
9
- return (React.createElement(styles_1.StyledRadioLabel, { htmlFor: name },
10
- React.createElement("input", tslib_1.__assign({ id: name, type: "radio" }, props)),
11
- label));
9
+ return (react_1.default.createElement("div", null,
10
+ react_1.default.createElement(styles_1.StyledRadioInput, tslib_1.__assign({ id: name, type: "radio" }, props)),
11
+ react_1.default.createElement(styles_1.StyledRadioLabel, { htmlFor: name }, label)));
12
12
  };
13
13
  exports.Radio = Radio;
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Radio/index.tsx"],"names":[],"mappings":";;;;AAAA,+BAAyB;AACzB,mCAA6D;AAQtD,IAAM,KAAK,GAAG,UAAC,EAAqC;IAAnC,IAAA,IAAI,UAAA,EAAE,KAAK,WAAA,EAAK,KAAK,sBAAvB,iBAAyB,CAAF;IACzC,OAAO,CACH;QACI,8BAAC,yBAAgB,qBAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAC,OAAO,IAAK,KAAK,EAAI;QACtD,8BAAC,yBAAgB,IAAC,OAAO,EAAE,IAAI,IAAG,KAAK,CAAoB,CACzD,CACT,CAAA;AACL,CAAC,CAAA;AAPY,QAAA,KAAK,SAOjB"}
@@ -1,5 +1,4 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { RadioProps } from './';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Standard: Story<RadioProps>;
4
+ export declare const Standard: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, RadioProps>;
@@ -16,5 +16,6 @@ var Template = function (_a) {
16
16
  exports.Standard = Template.bind({});
17
17
  exports.Standard.args = {
18
18
  label: 'Label',
19
+ name: 'radio-test',
19
20
  };
20
21
  //# sourceMappingURL=index.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Radio/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAsC;AAEtC,kBAAe;IACX,KAAK,EAAE,oBAAoB;IAC3B,SAAS,EAAE,QAAK;IAChB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAsB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,8BAAC,QAAK,uBAAK,IAAI,EAAI,CAAA;CAAA,CAAA;AAE3D,QAAA,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACzC,gBAAQ,CAAC,IAAI,GAAG;IACZ,KAAK,EAAE,OAAO;CACjB,CAAA"}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Radio/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAsC;AAEtC,kBAAe;IACX,KAAK,EAAE,oBAAoB;IAC3B,SAAS,EAAE,QAAK;IAChB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAwB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,8BAAC,QAAK,uBAAK,IAAI,EAAI,CAAA;CAAA,CAAA;AAE7D,QAAA,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACzC,gBAAQ,CAAC,IAAI,GAAG;IACZ,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,YAAY;CACrB,CAAA"}
@@ -1,3 +1,4 @@
1
- export declare const StyledRadioLabel: import("styled-components").StyledComponent<"label", any, {
1
+ export declare const StyledRadioLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
2
2
  htmlFor: string;
3
3
  }, never>;
4
+ export declare const StyledRadioInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
@@ -1,8 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StyledRadioLabel = void 0;
3
+ exports.StyledRadioInput = exports.StyledRadioLabel = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var styled_components_1 = require("styled-components");
6
- exports.StyledRadioLabel = styled_components_1.default.label(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n font-weight: 500;\n margin-right: 16px;\n user-select: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n\n input {\n margin: 0 8px 4px 0;\n height: 16px;\n width: 16px;\n }\n"], ["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n font-weight: 500;\n margin-right: 16px;\n user-select: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n\n input {\n margin: 0 8px 4px 0;\n height: 16px;\n width: 16px;\n }\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.text.default; }, function (props) { return props.theme.font.lineHeight; });
7
- var templateObject_1;
6
+ var SPACE_FOR_INPUT = 20;
7
+ exports.StyledRadioLabel = styled_components_1.default.label(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n font-weight: 500;\n margin-right: 16px;\n user-select: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n position: relative;\n padding-left: ", "px;\n\n &:before {\n content: '';\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: 50%;\n top: 50%;\n left: 0px;\n transform: translateY(-50%);\n }\n\n &:after {\n content: '';\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: ", ";\n border-radius: 50%;\n top: 50%;\n left: 0px;\n transform: translateY(-50%) scale(0);\n transition: ", ";\n }\n"], ["\n font-family: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n font-weight: 500;\n margin-right: 16px;\n user-select: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n position: relative;\n padding-left: ", "px;\n\n &:before {\n content: '';\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: 50%;\n top: 50%;\n left: 0px;\n transform: translateY(-50%);\n }\n\n &:after {\n content: '';\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: ", ";\n border-radius: 50%;\n top: 50%;\n left: 0px;\n transform: translateY(-50%) scale(0);\n transition: ", ";\n }\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.text.default; }, function (props) { return props.theme.font.lineHeight; }, SPACE_FOR_INPUT, function (_a) {
8
+ var theme = _a.theme;
9
+ return theme.colors.blueGrey[300];
10
+ }, function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.colors.primary;
13
+ }, function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.transition('transform');
16
+ });
17
+ exports.StyledRadioInput = styled_components_1.default.input(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: none;\n\n &:checked + label:after {\n transform: translateY(-50%) scale(0.6);\n }\n"], ["\n display: none;\n\n &:checked + label:after {\n transform: translateY(-50%) scale(0.6);\n }\n"])));
18
+ var templateObject_1, templateObject_2;
8
19
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Radio/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAEzB,QAAA,gBAAgB,GAAG,2BAAM,CAAC,KAAK,oZAAqB,qBAC9C,EAAiC,oBACnC,EAAiC,gBACrC,EAAwC,sBAClC,EAAoC,kPAatD,KAhBkB,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,OAAO,EAA/B,CAA+B,EAClC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAA3B,CAA2B,EAatD"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Radio/styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAsC;AAEtC,IAAM,eAAe,GAAG,EAAE,CAAA;AAEb,QAAA,gBAAgB,GAAG,2BAAM,CAAC,KAAK,07BAAqB,qBAC9C,EAAiC,oBACnC,EAAiC,gBACrC,EAAwC,sBAClC,EAAoC,4LAQnC,EAAe,2LAQP,EAAyC,iQAYzC,EAAmC,4IAKzC,EAA4C,YAEjE,KAtCkB,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,OAAO,EAA/B,CAA+B,EAClC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAA3B,CAA2B,EAQnC,eAAe,EAQP,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC;AAA1B,CAA0B,EAYzC,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,CAAC,MAAM,CAAC,OAAO;AAApB,CAAoB,EAKzC,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;AAA7B,CAA6B,EAEjE;AAEY,QAAA,gBAAgB,GAAG,2BAAM,CAAC,KAAK,4LAAA,iHAM3C,KAAA"}
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  interface RadioOption {
3
3
  label: string;
4
- value: string | number;
4
+ value: React.InputHTMLAttributes<HTMLInputElement>['value'];
5
5
  }
6
6
  export interface RadioGroupProps {
7
- value: string | number;
8
- onChange?: (_: any) => void;
7
+ value: React.InputHTMLAttributes<HTMLInputElement>['value'];
8
+ onChange?: React.InputHTMLAttributes<HTMLInputElement>['onChange'];
9
9
  options: RadioOption[];
10
10
  }
11
11
  export declare const RadioGroup: ({ options, value, onChange, }: RadioGroupProps) => JSX.Element;
@@ -1,5 +1,4 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { RadioGroupProps } from './';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Default: Story<RadioGroupProps>;
4
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, RadioGroupProps>;
@@ -11,7 +11,11 @@ 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.RadioGroup, tslib_1.__assign({}, args)));
14
+ var _b = tslib_1.__read((0, react_1.useState)(''), 2), value = _b[0], setValue = _b[1];
15
+ return (react_1.default.createElement(_1.RadioGroup, tslib_1.__assign({}, args, { onChange: function (_a) {
16
+ var target = _a.target;
17
+ return setValue(target.value);
18
+ }, value: value })));
15
19
  };
16
20
  exports.Default = Template.bind({});
17
21
  exports.Default.args = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/RadioGroup/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAgD;AAEhD,kBAAe;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,aAAU;IACrB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAA2B,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CACtD,8BAAC,aAAU,uBAAK,IAAI,EAAI,CAC3B,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,eAAO,CAAC,IAAI,GAAG;IACX,OAAO,EAAE;QACL;YACI,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,MAAM;SAChB;QACD;YACI,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,KAAK;SACf;KACJ;CACJ,CAAA"}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/RadioGroup/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAuC;AACvC,uBAAgD;AAEhD,kBAAe;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,aAAU;IACrB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAA6B,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAC3C,IAAA,KAAA,eAAoB,IAAA,gBAAQ,EAAC,EAAE,CAAC,IAAA,EAA/B,KAAK,QAAA,EAAE,QAAQ,QAAgB,CAAA;IAEtC,OAAO,CACH,8BAAC,aAAU,uBACH,IAAI,IACR,QAAQ,EAAE,UAAC,EAAU;gBAAR,MAAM,YAAA;YAAO,OAAA,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC;QAAtB,CAAsB,EAChD,KAAK,EAAE,KAAK,IACd,CACL,CAAA;AACL,CAAC,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,eAAO,CAAC,IAAI,GAAG;IACX,OAAO,EAAE;QACL;YACI,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,MAAM;SAChB;QACD;YACI,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,KAAK;SACf;KACJ;CACJ,CAAA"}
@@ -1 +1 @@
1
- export declare const StyledRadioGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const StyledRadioGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,5 +1,4 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { SelectProps } from './';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Default: Story<SelectProps>;
4
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Select/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAwC;AAExC,kBAAe;IACX,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,SAAM;IACjB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAuB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CAClD,8BAAC,SAAM,uBAAK,IAAI;QACZ,iEAAiC,CAC5B,CACZ,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Select/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,uBAAwC;AAExC,kBAAe;IACX,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,SAAM;IACjB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;CACzB,CAAA;AAET,IAAM,QAAQ,GAAyB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,CACpD,8BAAC,SAAM,uBAAK,IAAI;QACZ,iEAAiC,CAC5B,CACZ,CAAA;CAAA,CAAA;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- export declare const StyledSelect: import("styled-components").StyledComponent<"select", any, {
2
+ export declare const StyledSelect: import("styled-components").StyledComponent<"select", import("styled-components").DefaultTheme, {
3
3
  error?: string | React.ReactNode;
4
4
  empty?: boolean | undefined;
5
5
  } & React.SelectHTMLAttributes<HTMLSelectElement>, never>;
6
- export declare const StyledOption: import("styled-components").StyledComponent<"option", any, {}, never>;
7
- export declare const StyledChevron: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const StyledOption: import("styled-components").StyledComponent<"option", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const StyledChevron: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StyledChevron = exports.StyledOption = exports.StyledSelect = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var styled_map_1 = require("styled-map");
6
5
  var styled_components_1 = require("styled-components");
7
- exports.StyledSelect = styled_components_1.default.select(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n display: block;\n appearance: none;\n padding: 0 16px;\n height: 40px;\n line-height: 40px;\n width: 100%;\n border-style: solid;\n border-radius: ", "px;\n border-width: ", "px;\n border-color: ", ";\n color: ", ";\n background-color: ", ";\n cursor: ", ";\n &:focus {\n outline: none;\n border-color: ", ";\n }\n &::-ms-expand {\n display: none;\n }\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n display: block;\n appearance: none;\n padding: 0 16px;\n height: 40px;\n line-height: 40px;\n width: 100%;\n border-style: solid;\n border-radius: ", "px;\n border-width: ", "px;\n border-color: ", ";\n color: ", ";\n background-color: ", ";\n cursor: ", ";\n &:focus {\n outline: none;\n border-color: ", ";\n }\n &::-ms-expand {\n display: none;\n }\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.borderRadius.input; }, function (props) { return props.theme.borderWidth; }, function (props) {
6
+ var styled_map_1 = require("styled-map");
7
+ exports.StyledSelect = styled_components_1.default.select(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n display: block;\n appearance: none;\n padding: 0 12px;\n height: 40px;\n line-height: 40px;\n width: 100%;\n border-style: solid;\n border-radius: ", "px;\n border-width: ", "px;\n border-color: ", ";\n color: ", ";\n background-color: ", ";\n cursor: ", ";\n box-shadow: ", ";\n\n &:focus {\n outline: none;\n padding: 0 11px;\n line-height: 38px;\n border-width: 2px;\n border-color: ", ";\n }\n\n &::-ms-expand {\n display: none;\n }\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n display: block;\n appearance: none;\n padding: 0 12px;\n height: 40px;\n line-height: 40px;\n width: 100%;\n border-style: solid;\n border-radius: ", "px;\n border-width: ", "px;\n border-color: ", ";\n color: ", ";\n background-color: ", ";\n cursor: ", ";\n box-shadow: ", ";\n\n &:focus {\n outline: none;\n padding: 0 11px;\n line-height: 38px;\n border-width: 2px;\n border-color: ", ";\n }\n\n &::-ms-expand {\n display: none;\n }\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.borderRadius.input; }, function (props) { return props.theme.borderWidth; }, function (props) {
8
8
  return props.error
9
9
  ? props.theme.colors.input.error
10
10
  : props.theme.colors.input.border;
@@ -17,7 +17,7 @@ exports.StyledSelect = styled_components_1.default.select(templateObject_1 || (t
17
17
  }, function (props) { return props.theme.colors.input.background; }, (0, styled_map_1.default)({
18
18
  disabled: 'not-allowed',
19
19
  default: 'pointer',
20
- }), function (props) { return props.theme.colors.input.focus; });
20
+ }), function (props) { return props.theme.shadow.input; }, function (props) { return props.theme.colors.input.focus; });
21
21
  exports.StyledOption = styled_components_1.default.option(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (props) { return props.theme.colors.input.color; });
22
22
  exports.StyledChevron = styled_components_1.default.div(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 12px;\n height: 100%;\n display: flex;\n align-items: center;\n pointer-events: none;\n"], ["\n position: absolute;\n top: 0;\n right: 12px;\n height: 100%;\n display: flex;\n align-items: center;\n pointer-events: none;\n"])));
23
23
  var templateObject_1, templateObject_2, templateObject_3;
@@ -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,WA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B,CAA8B,EACnD;AAEY,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,mOAAA,wJAQtC,KAAA"}
@@ -1,5 +1,4 @@
1
- import { Meta, Story } from '@storybook/react/types-6-0';
2
1
  import { SpinnerProps } from '.';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
3
  export default _default;
5
- export declare const Default: Story<SpinnerProps>;
4
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SpinnerProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Spinner/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAyC;AAEzC,kBAAe;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,UAAO;IAClB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;IAC9B,QAAQ,EAAE;QACN,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;KAC9B;CACI,CAAA;AAET,IAAM,QAAQ,GAAwB,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,8BAAC,UAAO,uBAAK,IAAI,EAAI,CAAA;CAAA,CAAA;AAE/D,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../src/components/Spinner/index.stories.tsx"],"names":[],"mappings":";;;;AACA,+BAAyB;AACzB,sBAAyC;AAEzC,kBAAe;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,UAAO;IAClB,UAAU,EAAE,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAE,EAAP,CAAO,CAAC;IAC9B,QAAQ,EAAE;QACN,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;KAC9B;CACI,CAAA;AAET,IAAM,QAAQ,GAA0B,UAAC,EAAW;QAAN,IAAI,sBAAT,EAAW,CAAF;IAAO,OAAA,8BAAC,UAAO,uBAAK,IAAI,EAAI,CAAA;CAAA,CAAA;AAEjE,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA"}
@@ -1,2 +1,2 @@
1
1
  import { CellProps } from './';
2
- export declare const StyledCell: import("styled-components").StyledComponent<"td", any, CellProps, never>;
2
+ export declare const StyledCell: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, CellProps, never>;
@@ -1 +1 @@
1
- export declare const StyledFoot: import("styled-components").StyledComponent<"tfoot", any, {}, never>;
1
+ export declare const StyledFoot: import("styled-components").StyledComponent<"tfoot", import("styled-components").DefaultTheme, {}, never>;
@@ -1 +1 @@
1
- export declare const StyledTable: import("styled-components").StyledComponent<"table", any, {}, never>;
1
+ export declare const StyledTable: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {}, never>;