@proprioo/salatim 29.9.0 → 29.10.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 (184) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/lib/date/index.d.ts +2 -2
  3. package/lib/date/src/DayPicker.d.ts +4 -4
  4. package/lib/date/src/datePicker/DatePicker.d.ts +13 -13
  5. package/lib/date/src/datePicker/DatePicker.styles.d.ts +1 -1
  6. package/lib/date/src/datePickerWrapper/DatePickerWrapper.d.ts +11 -11
  7. package/lib/date/src/datePickerWrapper/DatepickerWrapper.styles.d.ts +3 -3
  8. package/lib/date/src/singleMonth/SingleMonth.d.ts +9 -9
  9. package/lib/date/src/singleMonth/SingleMonth.styles.d.ts +1 -1
  10. package/lib/date/src/typings.d.ts +3 -3
  11. package/lib/energy/index.d.ts +3 -3
  12. package/lib/energy/src/Energy.d.ts +8 -8
  13. package/lib/energy/src/Energy.styles.d.ts +14 -14
  14. package/lib/energy/src/Energy.utils.d.ts +10 -10
  15. package/lib/energy/src/interfaces.d.ts +39 -39
  16. package/lib/forms/index.d.ts +5 -5
  17. package/lib/forms/src/errorForm/ErrorForm.styles.d.ts +1 -1
  18. package/lib/forms/src/errorForm/ErrorFormLayout.d.ts +6 -6
  19. package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.d.ts +15 -15
  20. package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.schema.d.ts +18 -18
  21. package/lib/forms/src/offerSignatoryForm/OfferSignatoryForm.utils.d.ts +14 -14
  22. package/lib/forms/src/userForm/UserForm.d.ts +23 -23
  23. package/lib/forms/src/userForm/UserForm.schema.d.ts +13 -13
  24. package/lib/hooks/index.d.ts +3 -3
  25. package/lib/hooks/useDebounce/useDebounce.d.ts +2 -2
  26. package/lib/hooks/useEmailSuggestion/useEmailSuggestion.d.ts +6 -6
  27. package/lib/hooks/useFirstRender/useFirstRender.d.ts +1 -1
  28. package/lib/hooks/useOnClickOutside/useOnClickOutside.d.ts +2 -2
  29. package/lib/index.d.ts +7 -7
  30. package/lib/index.js +250 -250
  31. package/lib/index.js.map +1 -1
  32. package/lib/phone/index.d.ts +4 -4
  33. package/lib/phone/src/phoneAndFlag/PhoneAndFlag.d.ts +9 -9
  34. package/lib/phone/src/phoneAndFlag/PhoneAndFlag.styles.d.ts +5 -5
  35. package/lib/phone/src/phoneInput/Phone.d.ts +5 -5
  36. package/lib/phone/src/phoneInput/Phone.styles.d.ts +3 -3
  37. package/lib/phone/src/phoneInput/PhoneInput.d.ts +4 -4
  38. package/lib/phone/src/phoneInput/constants.d.ts +5 -5
  39. package/lib/phone/src/utils.d.ts +5 -5
  40. package/lib/ui/index.d.ts +55 -55
  41. package/lib/ui/src/accordion/Accordion.d.ts +5 -5
  42. package/lib/ui/src/accordion/Accordion.interfaces.d.ts +17 -17
  43. package/lib/ui/src/accordion/Accordion.styles.d.ts +15 -15
  44. package/lib/ui/src/accordion/AccordionContextConsumer.d.ts +7 -7
  45. package/lib/ui/src/accordion/AccordionContextProvider.d.ts +24 -24
  46. package/lib/ui/src/accordion/AccordionHeader.d.ts +4 -4
  47. package/lib/ui/src/accordion/AccordionItem.d.ts +4 -4
  48. package/lib/ui/src/accordion/AccordionPanel.d.ts +4 -4
  49. package/lib/ui/src/accordion/AccordionStore.d.ts +15 -15
  50. package/lib/ui/src/accordion/ItemContextConsumer.d.ts +7 -7
  51. package/lib/ui/src/accordion/ItemContextProvider.d.ts +17 -17
  52. package/lib/ui/src/agentBanner/AgentBanner.d.ts +8 -8
  53. package/lib/ui/src/agentBanner/AgentBanner.styles.d.ts +10 -10
  54. package/lib/ui/src/agentCard/AgentCard.d.ts +8 -8
  55. package/lib/ui/src/agentCard/AgentCard.styles.d.ts +9 -9
  56. package/lib/ui/src/agentCard/AgentMock.d.ts +3 -3
  57. package/lib/ui/src/autocomplete/Autocomplete.d.ts +11 -11
  58. package/lib/ui/src/block/Block.d.ts +8 -8
  59. package/lib/ui/src/block/Block.styles.d.ts +4 -4
  60. package/lib/ui/src/blockCheckIcon/BlockCheckIcon.d.ts +11 -11
  61. package/lib/ui/src/blockCheckIcon/BlockCheckIcon.styles.d.ts +4 -4
  62. package/lib/ui/src/blockCheckIcon/BlockCheckIcon.test.js +2 -26
  63. package/lib/ui/src/blockCheckIcon/BlockCheckIcon.test.js.map +1 -1
  64. package/lib/ui/src/blockIcon/BlockIcon.d.ts +13 -13
  65. package/lib/ui/src/blockIcon/BlockIcon.styles.d.ts +5 -5
  66. package/lib/ui/src/burger/Burger.d.ts +9 -9
  67. package/lib/ui/src/burger/Burger.styles.d.ts +3 -3
  68. package/lib/ui/src/button/Button.d.ts +17 -17
  69. package/lib/ui/src/button/Button.interfaces.d.ts +25 -25
  70. package/lib/ui/src/button/Button.styles.d.ts +7 -7
  71. package/lib/ui/src/buttonRadioGroup/ButtonRadio.d.ts +10 -10
  72. package/lib/ui/src/buttonRadioGroup/ButtonRadio.styles.d.ts +4 -4
  73. package/lib/ui/src/buttonRadioGroup/ButtonRadioGroup.d.ts +11 -11
  74. package/lib/ui/src/buttonRadioGroup/ButtonRadioGroup.styles.d.ts +1 -1
  75. package/lib/ui/src/card/Card.d.ts +24 -24
  76. package/lib/ui/src/card/Card.styles.d.ts +21 -21
  77. package/lib/ui/src/checkbox/Checkbox.d.ts +15 -15
  78. package/lib/ui/src/checkbox/Checkbox.styles.d.ts +13 -13
  79. package/lib/ui/src/checkbox/interfaces.d.ts +4 -4
  80. package/lib/ui/src/dateInput/DateInput.d.ts +14 -14
  81. package/lib/ui/src/emailInput/EmailInput.d.ts +2 -2
  82. package/lib/ui/src/emailInput/EmailInput.interfaces.d.ts +12 -12
  83. package/lib/ui/src/emailInput/EmailInput.styles.d.ts +2 -2
  84. package/lib/ui/src/fieldset/Fieldset.d.ts +8 -8
  85. package/lib/ui/src/fieldset/Fieldset.styles.d.ts +6 -6
  86. package/lib/ui/src/gmapsAutoComplete/GmapsAutocomplete.d.ts +14 -14
  87. package/lib/ui/src/gmapsGeocode/GmapsGeocode.d.ts +16 -16
  88. package/lib/ui/src/gmapsSuggestions/GmapsSuggestions.d.ts +20 -20
  89. package/lib/ui/src/icons/Alert.d.ts +2 -2
  90. package/lib/ui/src/icons/Arrow.d.ts +2 -2
  91. package/lib/ui/src/icons/Certificate.d.ts +4 -4
  92. package/lib/ui/src/icons/CheckGreen.d.ts +2 -2
  93. package/lib/ui/src/icons/ChevronRight.d.ts +4 -4
  94. package/lib/ui/src/icons/Close.d.ts +4 -4
  95. package/lib/ui/src/icons/CloseBox.d.ts +2 -2
  96. package/lib/ui/src/icons/DropDown.d.ts +2 -2
  97. package/lib/ui/src/icons/EmoticonCool.d.ts +4 -4
  98. package/lib/ui/src/icons/Help.d.ts +4 -4
  99. package/lib/ui/src/icons/Icon.props.d.ts +3 -3
  100. package/lib/ui/src/icons/Less.d.ts +4 -4
  101. package/lib/ui/src/icons/Plus.d.ts +4 -4
  102. package/lib/ui/src/icons/Tick.d.ts +2 -2
  103. package/lib/ui/src/icons/TrustPilot.d.ts +2 -2
  104. package/lib/ui/src/icons/index.d.ts +14 -14
  105. package/lib/ui/src/input/Input.d.ts +40 -40
  106. package/lib/ui/src/input/Input.styles.d.ts +2 -2
  107. package/lib/ui/src/inputBase/InputBase.d.ts +47 -47
  108. package/lib/ui/src/inputBase/InputBase.styles.d.ts +21 -21
  109. package/lib/ui/src/inputBase/InputBaseEnum.d.ts +6 -6
  110. package/lib/ui/src/inputLoader/InputLoader.d.ts +2 -2
  111. package/lib/ui/src/inputLoader/InputLoader.styles.d.ts +2 -2
  112. package/lib/ui/src/inputLoading/InputLoading.d.ts +3 -3
  113. package/lib/ui/src/inputLoading/InputLoading.styles.d.ts +1 -1
  114. package/lib/ui/src/loader/Loader.d.ts +9 -9
  115. package/lib/ui/src/loader/Loader.styles.d.ts +10 -10
  116. package/lib/ui/src/logo/Logo.d.ts +2 -2
  117. package/lib/ui/src/mockForm/MockForm.d.ts +7 -7
  118. package/lib/ui/src/modal/Modal.d.ts +32 -32
  119. package/lib/ui/src/modal/Modal.reducer.d.ts +35 -35
  120. package/lib/ui/src/modal/Modal.styles.d.ts +18 -18
  121. package/lib/ui/src/nativeSelect/NativeSelect.d.ts +11 -11
  122. package/lib/ui/src/nativeSelect/NativeSelect.styles.d.ts +1 -1
  123. package/lib/ui/src/numberInput/NumberInput.d.ts +11 -11
  124. package/lib/ui/src/numberInput/NumberInput.utils.d.ts +3 -3
  125. package/lib/ui/src/option/Option.d.ts +13 -13
  126. package/lib/ui/src/option/Option.styles.d.ts +7 -7
  127. package/lib/ui/src/radio/Radio.d.ts +12 -12
  128. package/lib/ui/src/radio/Radio.styles.d.ts +3 -3
  129. package/lib/ui/src/select/Select.d.ts +22 -22
  130. package/lib/ui/src/select/Select.styles.d.ts +12 -12
  131. package/lib/ui/src/selectWrapper/SelectWrapper.d.ts +23 -23
  132. package/lib/ui/src/selectWrapper/SelectWrapper.styles.d.ts +13 -13
  133. package/lib/ui/src/subtitle/Subtitle.d.ts +8 -8
  134. package/lib/ui/src/subtitle/Subtitle.styles.d.ts +5 -5
  135. package/lib/ui/src/tag/Tag.d.ts +4 -4
  136. package/lib/ui/src/tag/Tag.styles.d.ts +14 -14
  137. package/lib/ui/src/tag/TagColors.d.ts +74 -74
  138. package/lib/ui/src/tag/interfaces.d.ts +29 -29
  139. package/lib/ui/src/textToggle/TextToggle.d.ts +12 -12
  140. package/lib/ui/src/textToggle/TextToggle.mocks.d.ts +2 -2
  141. package/lib/ui/src/textToggle/TextToggle.styles.d.ts +9 -9
  142. package/lib/ui/src/textToggle/TextToggle.utils.d.ts +2 -2
  143. package/lib/ui/src/textarea/Textarea.d.ts +41 -41
  144. package/lib/ui/src/textarea/Textarea.styles.d.ts +4 -4
  145. package/lib/ui/src/title/H1.d.ts +4 -4
  146. package/lib/ui/src/title/H1.styles.d.ts +2 -2
  147. package/lib/ui/src/title/H2.d.ts +4 -4
  148. package/lib/ui/src/title/H2.styles.d.ts +2 -2
  149. package/lib/ui/src/title/H3.d.ts +4 -4
  150. package/lib/ui/src/title/H3.styles.d.ts +2 -2
  151. package/lib/ui/src/title/H4.d.ts +4 -4
  152. package/lib/ui/src/title/H4.styles.d.ts +2 -2
  153. package/lib/ui/src/title/H5.d.ts +4 -4
  154. package/lib/ui/src/title/H5.styles.d.ts +2 -2
  155. package/lib/ui/src/title/H6.d.ts +4 -4
  156. package/lib/ui/src/title/H6.styles.d.ts +2 -2
  157. package/lib/ui/src/title/Title.d.ts +18 -18
  158. package/lib/ui/src/title/Title.styles.d.ts +8 -8
  159. package/lib/ui/src/toggle/Toggle.d.ts +13 -13
  160. package/lib/ui/src/toggle/Toggle.styles.d.ts +4 -4
  161. package/lib/ui/src/tooltip/Tooltip.d.ts +19 -19
  162. package/lib/ui/src/tooltip/Tooltip.styles.d.ts +2 -2
  163. package/lib/utils/index.d.ts +16 -16
  164. package/lib/utils/src/actions.d.ts +30 -30
  165. package/lib/utils/src/breakpoints.d.ts +11 -11
  166. package/lib/utils/src/colors.d.ts +113 -113
  167. package/lib/utils/src/container.d.ts +2 -2
  168. package/lib/utils/src/fonts.d.ts +15 -15
  169. package/lib/utils/src/gmaps.d.ts +10 -10
  170. package/lib/utils/src/line.d.ts +2 -2
  171. package/lib/utils/src/paragraphs.d.ts +16 -16
  172. package/lib/utils/src/props.d.ts +9 -9
  173. package/lib/utils/src/radius.d.ts +10 -10
  174. package/lib/utils/src/reset.d.ts +1 -1
  175. package/lib/utils/src/responsive.d.ts +5 -5
  176. package/lib/utils/src/row.d.ts +2 -2
  177. package/lib/utils/src/scrollbars.d.ts +2 -2
  178. package/lib/utils/src/shadows.d.ts +8 -8
  179. package/lib/utils/src/spacing.d.ts +2 -2
  180. package/lib/utils/src/test-utils.d.ts +23 -24
  181. package/lib/utils/src/test-utils.js +1 -3
  182. package/lib/utils/src/test-utils.js.map +1 -1
  183. package/lib/utils/src/utils.styles.d.ts +36 -36
  184. package/package.json +13 -13
@@ -1,11 +1,11 @@
1
- import { FC, ReactElement } from 'react';
2
- export interface BlockCheckIconProps {
3
- checked: boolean;
4
- text: string;
5
- name: string;
6
- onClick(value: boolean): void;
7
- dataTest?: string;
8
- image?: ReactElement;
9
- }
10
- declare const BlockCheckIcon: FC<BlockCheckIconProps>;
11
- export default BlockCheckIcon;
1
+ import { FC, ReactElement } from 'react';
2
+ export interface BlockCheckIconProps {
3
+ checked: boolean;
4
+ text: string;
5
+ name: string;
6
+ onClick(value: boolean): void;
7
+ dataTest?: string;
8
+ image?: ReactElement;
9
+ }
10
+ declare const BlockCheckIcon: FC<BlockCheckIconProps>;
11
+ export default BlockCheckIcon;
@@ -1,4 +1,4 @@
1
- export declare const IconLayout: import("styled-components").StyledComponent<"span", any, {}, never>;
2
- export declare const Layout: import("styled-components").StyledComponent<"label", any, {
3
- checked: boolean;
4
- }, never>;
1
+ export declare const IconLayout: import("styled-components").StyledComponent<"span", any, {}, never>;
2
+ export declare const Layout: import("styled-components").StyledComponent<"label", any, {
3
+ checked: boolean;
4
+ }, never>;
@@ -1,27 +1,4 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -35,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
35
12
  return (mod && mod.__esModule) ? mod : { "default": mod };
36
13
  };
37
14
  Object.defineProperty(exports, "__esModule", { value: true });
38
- const react_1 = __importStar(require("react"));
15
+ const react_1 = __importDefault(require("react"));
39
16
  const react_test_renderer_1 = __importDefault(require("react-test-renderer"));
40
17
  const react_2 = require("@testing-library/react");
41
18
  const user_event_1 = __importDefault(require("@testing-library/user-event"));
@@ -51,8 +28,7 @@ const defaultProps = {
51
28
  onClick: mockOnChange
52
29
  };
53
30
  describe('BlockCheckIcon', () => {
54
- it('should pass A11y test', () => (0, test_utils_1.testA11y)(react_1.default.createElement(react_1.Fragment, null,
55
- react_1.default.createElement(BlockCheckIcon_1.default, Object.assign({}, defaultProps)))));
31
+ it('should pass A11y test', () => (0, test_utils_1.testA11y)(react_1.default.createElement(BlockCheckIcon_1.default, Object.assign({}, defaultProps))));
56
32
  it('should equal snapshot rendering', () => {
57
33
  const tree = react_test_renderer_1.default.create(react_1.default.createElement(BlockCheckIcon_1.default, Object.assign({}, defaultProps))).toJSON();
58
34
  expect(tree).toMatchSnapshot();
@@ -1 +1 @@
1
- {"version":3,"file":"BlockCheckIcon.test.js","sourceRoot":"","sources":["../../../../packages/ui/src/blockCheckIcon/BlockCheckIcon.test.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAwC;AACxC,8EAA2C;AAE3C,kDAAwD;AACxD,6EAAoD;AAEpD,8DAAyD;AACzD,sEAAuE;AAEvE,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;AAE/B,MAAM,YAAY,GAAwB;IACxC,KAAK,EA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oBAAK,YAAY,EAAI,CAAC,CAAC;QAE7C,MAAM,oBAAS,CAAC,KAAK,CAAC,cAAM,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;QAEtE,MAAM,CAAC,YAAY,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,+BAA+B,EAAE,GAAS,EAAE;QAC7C,IAAA,cAAM,EAAC,8BAAC,wBAAc,oBAAK,YAAY,IAAE,OAAO,EAAE,IAAI,IAAI,CAAC,CAAC;QAE5D,MAAM,oBAAS,CAAC,KAAK,CAAC,cAAM,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;QAEtE,MAAM,CAAC,YAAY,CAAC,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACnD,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,IAAA,cAAM,EAAC,8BAAC,wBAAc,oBAAK,YAAY,IAAE,OAAO,EAAE,IAAI,IAAI,CAAC,CAAC;QAE5D,MAAM,CAAC,cAAM,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACvE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,13 +1,13 @@
1
- import { ReactElement } from 'react';
2
- export interface BlockIconProps<T> {
3
- text: string;
4
- name: string;
5
- value: T;
6
- selectedValue: T;
7
- onClick(value: T): void;
8
- dataTest?: string;
9
- image?: ReactElement;
10
- isContentCentered?: boolean;
11
- }
12
- declare function BlockIcon<T>({ onClick, image, text, name, selectedValue, dataTest, value, isContentCentered }: BlockIconProps<T>): JSX.Element;
13
- export default BlockIcon;
1
+ import { ReactElement } from 'react';
2
+ export interface BlockIconProps<T> {
3
+ text: string;
4
+ name: string;
5
+ value: T;
6
+ selectedValue: T;
7
+ onClick(value: T): void;
8
+ dataTest?: string;
9
+ image?: ReactElement;
10
+ isContentCentered?: boolean;
11
+ }
12
+ declare function BlockIcon<T>({ onClick, image, text, name, selectedValue, dataTest, value, isContentCentered }: BlockIconProps<T>): JSX.Element;
13
+ export default BlockIcon;
@@ -1,5 +1,5 @@
1
- export declare const Layout: import("styled-components").StyledComponent<"label", any, {
2
- isActive: boolean;
3
- isContentCentered: boolean;
4
- }, never>;
5
- export declare const InputLayout: import("styled-components").StyledComponent<"input", any, {}, never>;
1
+ export declare const Layout: import("styled-components").StyledComponent<"label", any, {
2
+ isActive: boolean;
3
+ isContentCentered: boolean;
4
+ }, never>;
5
+ export declare const InputLayout: import("styled-components").StyledComponent<"input", any, {}, never>;
@@ -1,9 +1,9 @@
1
- import { FC } from 'react';
2
- export interface BurgerProps {
3
- isOpen: boolean;
4
- color: string;
5
- isSmall?: boolean;
6
- onClick(): void;
7
- }
8
- declare const Burger: FC<BurgerProps>;
9
- export default Burger;
1
+ import { FC } from 'react';
2
+ export interface BurgerProps {
3
+ isOpen: boolean;
4
+ color: string;
5
+ isSmall?: boolean;
6
+ onClick(): void;
7
+ }
8
+ declare const Burger: FC<BurgerProps>;
9
+ export default Burger;
@@ -1,3 +1,3 @@
1
- import { BurgerProps } from './Burger';
2
- export declare const BurgerLine: import("styled-components").StyledComponent<"span", any, {}, never>;
3
- export declare const ButtonBurger: import("styled-components").StyledComponent<"button", any, Pick<BurgerProps, "color" | "isOpen" | "isSmall">, never>;
1
+ import { BurgerProps } from './Burger';
2
+ export declare const BurgerLine: import("styled-components").StyledComponent<"span", any, {}, never>;
3
+ export declare const ButtonBurger: import("styled-components").StyledComponent<"button", any, Pick<BurgerProps, "color" | "isOpen" | "isSmall">, never>;
@@ -1,17 +1,17 @@
1
- import { FC, MouseEvent, ReactElement } from 'react';
2
- import { ButtonAppearance, ButtonSizes, ButtonTheme, IconPosition } from './Button.interfaces';
3
- export interface ButtonProps {
4
- label: string;
5
- appearance?: ButtonAppearance;
6
- disabled?: boolean;
7
- icon?: ReactElement;
8
- iconPosition?: IconPosition;
9
- id?: string;
10
- rounded?: boolean;
11
- size?: ButtonSizes;
12
- theme?: ButtonTheme;
13
- type?: 'submit' | 'reset' | 'button';
14
- onClick?(event: MouseEvent<HTMLElement>): void;
15
- }
16
- declare const Button: FC<ButtonProps>;
17
- export default Button;
1
+ import { FC, MouseEvent, ReactElement } from 'react';
2
+ import { ButtonAppearance, ButtonSizes, ButtonTheme, IconPosition } from './Button.interfaces';
3
+ export interface ButtonProps {
4
+ label: string;
5
+ appearance?: ButtonAppearance;
6
+ disabled?: boolean;
7
+ icon?: ReactElement;
8
+ iconPosition?: IconPosition;
9
+ id?: string;
10
+ rounded?: boolean;
11
+ size?: ButtonSizes;
12
+ theme?: ButtonTheme;
13
+ type?: 'submit' | 'reset' | 'button';
14
+ onClick?(event: MouseEvent<HTMLElement>): void;
15
+ }
16
+ declare const Button: FC<ButtonProps>;
17
+ export default Button;
@@ -1,25 +1,25 @@
1
- export declare enum ButtonAppearance {
2
- BASIC = "basic",
3
- NO_APPEARANCE = "noAppearance",
4
- PRIMARY = "primary",
5
- SECONDARY = "secondary"
6
- }
7
- export declare enum ButtonTheme {
8
- BLACK = "black",
9
- BLUE = "blue",
10
- GREEN = "green",
11
- PINK = "pink",
12
- ORANGE = "orange",
13
- RED = "red",
14
- WHITE = "white"
15
- }
16
- export declare enum ButtonSizes {
17
- BIG = "big",
18
- FULL = "full",
19
- LARGE = "large",
20
- SMALL = "small"
21
- }
22
- export declare enum IconPosition {
23
- LEFT = "left",
24
- RIGHT = "right"
25
- }
1
+ export declare enum ButtonAppearance {
2
+ BASIC = "basic",
3
+ NO_APPEARANCE = "noAppearance",
4
+ PRIMARY = "primary",
5
+ SECONDARY = "secondary"
6
+ }
7
+ export declare enum ButtonTheme {
8
+ BLACK = "black",
9
+ BLUE = "blue",
10
+ GREEN = "green",
11
+ PINK = "pink",
12
+ ORANGE = "orange",
13
+ RED = "red",
14
+ WHITE = "white"
15
+ }
16
+ export declare enum ButtonSizes {
17
+ BIG = "big",
18
+ FULL = "full",
19
+ LARGE = "large",
20
+ SMALL = "small"
21
+ }
22
+ export declare enum IconPosition {
23
+ LEFT = "left",
24
+ RIGHT = "right"
25
+ }
@@ -1,7 +1,7 @@
1
- import { ButtonProps } from './Button';
2
- type LayoutProps = Pick<ButtonProps, 'appearance' | 'iconPosition' | 'rounded' | 'size' | 'theme' | 'icon'>;
3
- export declare const minusPadding: (padding: string) => string;
4
- export declare const LabelLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, LayoutProps, never>;
6
- export declare const Layout: import("styled-components").StyledComponent<"button", any, LayoutProps, never>;
7
- export {};
1
+ import { ButtonProps } from './Button';
2
+ type LayoutProps = Pick<ButtonProps, 'appearance' | 'iconPosition' | 'rounded' | 'size' | 'theme' | 'icon'>;
3
+ export declare const minusPadding: (padding: string) => string;
4
+ export declare const LabelLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, LayoutProps, never>;
6
+ export declare const Layout: import("styled-components").StyledComponent<"button", any, LayoutProps, never>;
7
+ export {};
@@ -1,10 +1,10 @@
1
- import { FC } from 'react';
2
- import { OptionProps } from '../option/Option';
3
- interface ButtonRadioProps {
4
- isChecked: boolean;
5
- name: string;
6
- option: OptionProps;
7
- onClick(): void;
8
- }
9
- declare const ButtonRadio: FC<ButtonRadioProps>;
10
- export default ButtonRadio;
1
+ import { FC } from 'react';
2
+ import { OptionProps } from '../option/Option';
3
+ interface ButtonRadioProps {
4
+ isChecked: boolean;
5
+ name: string;
6
+ option: OptionProps;
7
+ onClick(): void;
8
+ }
9
+ declare const ButtonRadio: FC<ButtonRadioProps>;
10
+ export default ButtonRadio;
@@ -1,4 +1,4 @@
1
- export declare const Layout: import("styled-components").StyledComponent<"label", any, {
2
- isActive: boolean;
3
- }, never>;
4
- export declare const InputLayout: import("styled-components").StyledComponent<"input", any, {}, never>;
1
+ export declare const Layout: import("styled-components").StyledComponent<"label", any, {
2
+ isActive: boolean;
3
+ }, never>;
4
+ export declare const InputLayout: import("styled-components").StyledComponent<"input", any, {}, never>;
@@ -1,11 +1,11 @@
1
- import { FC } from 'react';
2
- import { OptionProps } from '../option/Option';
3
- export interface ButtonRadioGroupProps {
4
- label: string;
5
- name: string;
6
- onChange(option: OptionProps): void;
7
- options: OptionProps[];
8
- value: string;
9
- }
10
- declare const ButtonRadioGroup: FC<ButtonRadioGroupProps>;
11
- export default ButtonRadioGroup;
1
+ import { FC } from 'react';
2
+ import { OptionProps } from '../option/Option';
3
+ export interface ButtonRadioGroupProps {
4
+ label: string;
5
+ name: string;
6
+ onChange(option: OptionProps): void;
7
+ options: OptionProps[];
8
+ value: string;
9
+ }
10
+ declare const ButtonRadioGroup: FC<ButtonRadioGroupProps>;
11
+ export default ButtonRadioGroup;
@@ -1 +1 @@
1
- export declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,24 +1,24 @@
1
- import { FC, PropsWithChildren, ReactElement } from 'react';
2
- export declare enum CardHeaderIconSize {
3
- MEDIUM = 32,
4
- SMALL = 18
5
- }
6
- export type CardProps = {
7
- label: string;
8
- labelAfter?: ReactElement;
9
- after?: string | ReactElement;
10
- dataTest?: string;
11
- disabled?: boolean;
12
- tooltip?: string | ReactElement;
13
- noPadding?: boolean;
14
- hasToggle?: boolean;
15
- headerIcon?: ReactElement;
16
- headerIconColor?: string;
17
- headerIconSize?: CardHeaderIconSize;
18
- isOpen?: boolean;
19
- toggleLabel?: string;
20
- onClose?(): void;
21
- onOpen?(): void;
22
- };
23
- declare const Card: FC<PropsWithChildren<CardProps>>;
24
- export default Card;
1
+ import { FC, PropsWithChildren, ReactElement } from 'react';
2
+ export declare enum CardHeaderIconSize {
3
+ MEDIUM = 32,
4
+ SMALL = 18
5
+ }
6
+ export type CardProps = {
7
+ label: string;
8
+ labelAfter?: ReactElement;
9
+ after?: string | ReactElement;
10
+ dataTest?: string;
11
+ disabled?: boolean;
12
+ tooltip?: string | ReactElement;
13
+ noPadding?: boolean;
14
+ hasToggle?: boolean;
15
+ headerIcon?: ReactElement;
16
+ headerIconColor?: string;
17
+ headerIconSize?: CardHeaderIconSize;
18
+ isOpen?: boolean;
19
+ toggleLabel?: string;
20
+ onClose?(): void;
21
+ onOpen?(): void;
22
+ };
23
+ declare const Card: FC<PropsWithChildren<CardProps>>;
24
+ export default Card;
@@ -1,21 +1,21 @@
1
- import { CardHeaderIconSize, CardProps } from './Card';
2
- export declare const Layout: import("styled-components").StyledComponent<"div", any, {
3
- disabled: boolean;
4
- }, never>;
5
- export declare const Header: import("styled-components").StyledComponent<"div", any, {
6
- hasToggle: boolean;
7
- disabled: boolean;
8
- }, never>;
9
- export declare const PropagationWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
10
- export declare const LabelAfterWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
11
- export declare const IconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
12
- export declare const HeaderIconContainer: import("styled-components").StyledComponent<"div", any, {
13
- headerIconColor: string;
14
- headerIconSize: CardHeaderIconSize;
15
- }, never>;
16
- export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
17
- export declare const AfterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
18
- export declare const Body: import("styled-components").StyledComponent<"div", any, Pick<CardProps, "noPadding">, never>;
19
- export declare const ToggleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
20
- export declare const Icon: import("styled-components").StyledComponent<"div", any, {}, never>;
21
- export declare const ToggleButton: import("styled-components").StyledComponent<"button", any, {}, never>;
1
+ import { CardHeaderIconSize, CardProps } from './Card';
2
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, {
3
+ disabled: boolean;
4
+ }, never>;
5
+ export declare const Header: import("styled-components").StyledComponent<"div", any, {
6
+ hasToggle: boolean;
7
+ disabled: boolean;
8
+ }, never>;
9
+ export declare const PropagationWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
10
+ export declare const LabelAfterWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
11
+ export declare const IconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export declare const HeaderIconContainer: import("styled-components").StyledComponent<"div", any, {
13
+ headerIconColor: string;
14
+ headerIconSize: CardHeaderIconSize;
15
+ }, never>;
16
+ export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
17
+ export declare const AfterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
18
+ export declare const Body: import("styled-components").StyledComponent<"div", any, Pick<CardProps, "noPadding">, never>;
19
+ export declare const ToggleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
20
+ export declare const Icon: import("styled-components").StyledComponent<"div", any, {}, never>;
21
+ export declare const ToggleButton: import("styled-components").StyledComponent<"button", any, {}, never>;
@@ -1,15 +1,15 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { CheckboxSize } from './interfaces';
3
- export interface CheckboxProps {
4
- checked: boolean;
5
- disabled: boolean;
6
- id: string;
7
- label: string;
8
- name: string;
9
- dataTest?: string;
10
- indeterminate?: boolean;
11
- checkboxSize?: CheckboxSize;
12
- onChange(checked: boolean): void;
13
- }
14
- declare const Checkbox: FC<PropsWithChildren<CheckboxProps>>;
15
- export default Checkbox;
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { CheckboxSize } from './interfaces';
3
+ export interface CheckboxProps {
4
+ checked: boolean;
5
+ disabled: boolean;
6
+ id: string;
7
+ label: string;
8
+ name: string;
9
+ dataTest?: string;
10
+ indeterminate?: boolean;
11
+ checkboxSize?: CheckboxSize;
12
+ onChange(checked: boolean): void;
13
+ }
14
+ declare const Checkbox: FC<PropsWithChildren<CheckboxProps>>;
15
+ export default Checkbox;
@@ -1,13 +1,13 @@
1
- import { CheckboxSize } from './interfaces';
2
- export declare const Layout: import("styled-components").StyledComponent<"div", any, {
3
- checkboxSize: CheckboxSize;
4
- }, never>;
5
- export declare const CheckboxLabelLayout: import("styled-components").StyledComponent<"label", any, {
6
- hasLabel: boolean;
7
- checkboxSize: CheckboxSize;
8
- }, never>;
9
- export declare const StringLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
10
- export declare const CheckboxLayout: import("styled-components").StyledComponent<"input", any, {
11
- indeterminate: boolean;
12
- checkboxSize: CheckboxSize;
13
- }, never>;
1
+ import { CheckboxSize } from './interfaces';
2
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, {
3
+ checkboxSize: CheckboxSize;
4
+ }, never>;
5
+ export declare const CheckboxLabelLayout: import("styled-components").StyledComponent<"label", any, {
6
+ hasLabel: boolean;
7
+ checkboxSize: CheckboxSize;
8
+ }, never>;
9
+ export declare const StringLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
10
+ export declare const CheckboxLayout: import("styled-components").StyledComponent<"input", any, {
11
+ indeterminate: boolean;
12
+ checkboxSize: CheckboxSize;
13
+ }, never>;
@@ -1,4 +1,4 @@
1
- export declare enum CheckboxSize {
2
- BIG = "big",
3
- SMALL = "small"
4
- }
1
+ export declare enum CheckboxSize {
2
+ BIG = "big",
3
+ SMALL = "small"
4
+ }
@@ -1,14 +1,14 @@
1
- import { FC } from 'react';
2
- import { nullOrString } from '@proprioo/hokkaido';
3
- import { InputProps } from '../..';
4
- type BaseInputProps = Omit<InputProps, 'gmap' | 'onChange' | 'type' | 'value'>;
5
- export declare const formatDate: (date: Date) => string;
6
- export declare const formatISODate: (date: Date) => string;
7
- export declare const formatValue: (value: string) => string;
8
- export declare const isValidDate: (date: Date) => boolean;
9
- export interface DateInputProps extends BaseInputProps {
10
- value?: nullOrString;
11
- onChange(value: nullOrString): void;
12
- }
13
- declare const DateInput: FC<DateInputProps>;
14
- export default DateInput;
1
+ import { FC } from 'react';
2
+ import { nullOrString } from '@proprioo/hokkaido';
3
+ import { InputProps } from '../..';
4
+ type BaseInputProps = Omit<InputProps, 'gmap' | 'onChange' | 'type' | 'value'>;
5
+ export declare const formatDate: (date: Date) => string;
6
+ export declare const formatISODate: (date: Date) => string;
7
+ export declare const formatValue: (value: string) => string;
8
+ export declare const isValidDate: (date: Date) => boolean;
9
+ export interface DateInputProps extends BaseInputProps {
10
+ value?: nullOrString;
11
+ onChange(value: nullOrString): void;
12
+ }
13
+ declare const DateInput: FC<DateInputProps>;
14
+ export default DateInput;
@@ -1,2 +1,2 @@
1
- import { EmailInputProps } from './EmailInput.interfaces';
2
- export default function EmailInput({ disabled, i18nLabels, isSuggestionEnabled, onBlur, onChange, onFocus, type, value, ...restProps }: EmailInputProps): JSX.Element;
1
+ import { EmailInputProps } from './EmailInput.interfaces';
2
+ export default function EmailInput({ disabled, i18nLabels, isSuggestionEnabled, onBlur, onChange, onFocus, type, value, ...restProps }: EmailInputProps): JSX.Element;
@@ -1,12 +1,12 @@
1
- import { InputBaseProps } from '../inputBase/InputBase';
2
- export interface EmailInputI18nLabelProps {
3
- yes: string;
4
- no: string;
5
- suggestion(email: string): string;
6
- }
7
- export interface EmailInputProps extends InputBaseProps {
8
- /** Whether to enabled/disable email suggestions. */
9
- isSuggestionEnabled?: boolean;
10
- /** i18n translation keys */
11
- i18nLabels?: EmailInputI18nLabelProps;
12
- }
1
+ import { InputBaseProps } from '../inputBase/InputBase';
2
+ export interface EmailInputI18nLabelProps {
3
+ yes: string;
4
+ no: string;
5
+ suggestion(email: string): string;
6
+ }
7
+ export interface EmailInputProps extends InputBaseProps {
8
+ /** Whether to enabled/disable email suggestions. */
9
+ isSuggestionEnabled?: boolean;
10
+ /** i18n translation keys */
11
+ i18nLabels?: EmailInputI18nLabelProps;
12
+ }
@@ -1,2 +1,2 @@
1
- export declare const SuggestionLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const Button: import("styled-components").StyledComponent<"button", any, {}, never>;
1
+ export declare const SuggestionLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Button: import("styled-components").StyledComponent<"button", any, {}, never>;
@@ -1,8 +1,8 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- export interface FieldsetProps {
3
- label: string;
4
- active?: boolean;
5
- error?: boolean;
6
- }
7
- declare const Fieldset: FC<PropsWithChildren<FieldsetProps>>;
8
- export default Fieldset;
1
+ import { FC, PropsWithChildren } from 'react';
2
+ export interface FieldsetProps {
3
+ label: string;
4
+ active?: boolean;
5
+ error?: boolean;
6
+ }
7
+ declare const Fieldset: FC<PropsWithChildren<FieldsetProps>>;
8
+ export default Fieldset;
@@ -1,6 +1,6 @@
1
- export declare const Label: import("styled-components").StyledComponent<"label", any, {}, never>;
2
- export declare const Layout: import("styled-components").StyledComponent<"fieldset", any, {
3
- active: boolean;
4
- error: boolean;
5
- }, never>;
6
- export declare const Content: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const Label: import("styled-components").StyledComponent<"label", any, {}, never>;
2
+ export declare const Layout: import("styled-components").StyledComponent<"fieldset", any, {
3
+ active: boolean;
4
+ error: boolean;
5
+ }, never>;
6
+ export declare const Content: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,14 +1,14 @@
1
- import { FC } from 'react';
2
- import { GenericInputProps } from '../../../utils';
3
- export interface GmapsAutocompleteProps extends GenericInputProps {
4
- value: string;
5
- country?: string | string[];
6
- id?: string;
7
- types?: string[];
8
- withGeocodeType?: boolean;
9
- onChange(value: string): void;
10
- onSelect(value: string): void;
11
- onError?(error: string): void;
12
- }
13
- declare const GmapsAutocomplete: FC<GmapsAutocompleteProps>;
14
- export default GmapsAutocomplete;
1
+ import { FC } from 'react';
2
+ import { GenericInputProps } from '../../../utils';
3
+ export interface GmapsAutocompleteProps extends GenericInputProps {
4
+ value: string;
5
+ country?: string | string[];
6
+ id?: string;
7
+ types?: string[];
8
+ withGeocodeType?: boolean;
9
+ onChange(value: string): void;
10
+ onSelect(value: string): void;
11
+ onError?(error: string): void;
12
+ }
13
+ declare const GmapsAutocomplete: FC<GmapsAutocompleteProps>;
14
+ export default GmapsAutocomplete;