@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,35 +1,35 @@
1
- import { ActionsUnion } from '../../../utils';
2
- export declare enum FadeEnum {
3
- IN = "in",
4
- OUT = "out"
5
- }
6
- interface ReducerModal {
7
- fade: FadeEnum;
8
- isAborting: boolean;
9
- isLoading: boolean;
10
- isOpen: boolean;
11
- }
12
- declare enum ModalActionsEnum {
13
- ABORT = "abort",
14
- ANIMATION_END = "animationEnd",
15
- CLOSE = "close",
16
- FADE_OUT = "fadeOut",
17
- OPEN = "open",
18
- RESET = "reset",
19
- TOGGLE_LOAD = "toggleLoad"
20
- }
21
- export declare const ModalActions: {
22
- abort: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.ABORT>;
23
- animationEnd: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.ANIMATION_END>;
24
- close: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.CLOSE>;
25
- open: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.OPEN>;
26
- reset: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.RESET>;
27
- toggleLoad: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.TOGGLE_LOAD>;
28
- };
29
- export declare const reducerModal: (state: ReducerModal, { type }: ActionsUnion<typeof ModalActions>) => {
30
- isAborting: boolean;
31
- fade: FadeEnum;
32
- isLoading: boolean;
33
- isOpen: boolean;
34
- };
35
- export {};
1
+ import { ActionsUnion } from '../../../utils';
2
+ export declare enum FadeEnum {
3
+ IN = "in",
4
+ OUT = "out"
5
+ }
6
+ interface ReducerModal {
7
+ fade: FadeEnum;
8
+ isAborting: boolean;
9
+ isLoading: boolean;
10
+ isOpen: boolean;
11
+ }
12
+ declare enum ModalActionsEnum {
13
+ ABORT = "abort",
14
+ ANIMATION_END = "animationEnd",
15
+ CLOSE = "close",
16
+ FADE_OUT = "fadeOut",
17
+ OPEN = "open",
18
+ RESET = "reset",
19
+ TOGGLE_LOAD = "toggleLoad"
20
+ }
21
+ export declare const ModalActions: {
22
+ abort: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.ABORT>;
23
+ animationEnd: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.ANIMATION_END>;
24
+ close: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.CLOSE>;
25
+ open: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.OPEN>;
26
+ reset: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.RESET>;
27
+ toggleLoad: () => import("../../../utils").ActionsWithoutPayload<ModalActionsEnum.TOGGLE_LOAD>;
28
+ };
29
+ export declare const reducerModal: (state: ReducerModal, { type }: ActionsUnion<typeof ModalActions>) => {
30
+ isAborting: boolean;
31
+ fade: FadeEnum;
32
+ isLoading: boolean;
33
+ isOpen: boolean;
34
+ };
35
+ export {};
@@ -1,18 +1,18 @@
1
- import { ModalProps } from './Modal';
2
- import { FadeEnum } from './Modal.reducer';
3
- type LayoutProps = Pick<ModalProps, 'isFullScreen' | 'noPadding'>;
4
- export declare const CloseLayout: import("styled-components").StyledComponent<"button", any, {
5
- hasTitle: boolean;
6
- }, never>;
7
- export declare const Layout: import("styled-components").StyledComponent<"div", any, LayoutProps, never>;
8
- export declare const MobileTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const IconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
- export declare const Title: import("styled-components").StyledComponent<"p", any, {
12
- isAlternative: boolean;
13
- }, never>;
14
- export declare const Text: import("styled-components").StyledComponent<"p", any, {}, never>;
15
- export declare const BackgroundLayout: import("styled-components").StyledComponent<"div", any, {
16
- fade: FadeEnum;
17
- }, never>;
18
- export {};
1
+ import { ModalProps } from './Modal';
2
+ import { FadeEnum } from './Modal.reducer';
3
+ type LayoutProps = Pick<ModalProps, 'isFullScreen' | 'noPadding'>;
4
+ export declare const CloseLayout: import("styled-components").StyledComponent<"button", any, {
5
+ hasTitle: boolean;
6
+ }, never>;
7
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, LayoutProps, never>;
8
+ export declare const MobileTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export declare const IconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const Title: import("styled-components").StyledComponent<"p", any, {
12
+ isAlternative: boolean;
13
+ }, never>;
14
+ export declare const Text: import("styled-components").StyledComponent<"p", any, {}, never>;
15
+ export declare const BackgroundLayout: import("styled-components").StyledComponent<"div", any, {
16
+ fade: FadeEnum;
17
+ }, never>;
18
+ export {};
@@ -1,11 +1,11 @@
1
- import { ChangeEvent, FC } from 'react';
2
- import { OptionProps } from '@proprioo/hokkaido';
3
- export interface NativeSelectProps {
4
- displayOption: OptionProps;
5
- options: OptionProps[];
6
- label: string;
7
- onChange(event: ChangeEvent<HTMLSelectElement>): void;
8
- onClickOutside(): void;
9
- }
10
- declare const NativeSelect: FC<NativeSelectProps>;
11
- export default NativeSelect;
1
+ import { ChangeEvent, FC } from 'react';
2
+ import { OptionProps } from '@proprioo/hokkaido';
3
+ export interface NativeSelectProps {
4
+ displayOption: OptionProps;
5
+ options: OptionProps[];
6
+ label: string;
7
+ onChange(event: ChangeEvent<HTMLSelectElement>): void;
8
+ onClickOutside(): void;
9
+ }
10
+ declare const NativeSelect: FC<NativeSelectProps>;
11
+ export default NativeSelect;
@@ -1 +1 @@
1
- export declare const SelectLayout: import("styled-components").StyledComponent<"select", any, {}, never>;
1
+ export declare const SelectLayout: import("styled-components").StyledComponent<"select", any, {}, never>;
@@ -1,11 +1,11 @@
1
- import { FC } from 'react';
2
- import { nullOrNumber } from '@proprioo/hokkaido';
3
- import { InputProps } from '../..';
4
- type BaseInputProps = Omit<InputProps, 'gmap' | 'onChange' | 'type' | 'value'>;
5
- export interface NumberInputProps extends BaseInputProps {
6
- onChange(value: nullOrNumber): void;
7
- value?: nullOrNumber;
8
- isFloat?: boolean;
9
- }
10
- declare const NumberInput: FC<NumberInputProps>;
11
- export default NumberInput;
1
+ import { FC } from 'react';
2
+ import { nullOrNumber } from '@proprioo/hokkaido';
3
+ import { InputProps } from '../..';
4
+ type BaseInputProps = Omit<InputProps, 'gmap' | 'onChange' | 'type' | 'value'>;
5
+ export interface NumberInputProps extends BaseInputProps {
6
+ onChange(value: nullOrNumber): void;
7
+ value?: nullOrNumber;
8
+ isFloat?: boolean;
9
+ }
10
+ declare const NumberInput: FC<NumberInputProps>;
11
+ export default NumberInput;
@@ -1,3 +1,3 @@
1
- export declare const cleanNumericValue: (value: string, keepTrailingComma?: boolean) => string;
2
- export declare const formatDisplayValue: (value: string, asFloat: boolean) => string;
3
- export declare const formatInternalValue: (value: string, isFloat: boolean) => string;
1
+ export declare const cleanNumericValue: (value: string, keepTrailingComma?: boolean) => string;
2
+ export declare const formatDisplayValue: (value: string, asFloat: boolean) => string;
3
+ export declare const formatInternalValue: (value: string, isFloat: boolean) => string;
@@ -1,13 +1,13 @@
1
- import React, { FC } from 'react';
2
- export interface OptionProps {
3
- value: string;
4
- label: string;
5
- }
6
- export interface OptionFCProps {
7
- option: OptionProps;
8
- value: string;
9
- onSelect?(event: React.MouseEvent<HTMLDivElement, MouseEvent>): void;
10
- }
11
- export declare const isOptionSelected: (optionValue: string, value: string) => boolean;
12
- declare const Option: FC<OptionFCProps>;
13
- export default Option;
1
+ import React, { FC } from 'react';
2
+ export interface OptionProps {
3
+ value: string;
4
+ label: string;
5
+ }
6
+ export interface OptionFCProps {
7
+ option: OptionProps;
8
+ value: string;
9
+ onSelect?(event: React.MouseEvent<HTMLDivElement, MouseEvent>): void;
10
+ }
11
+ export declare const isOptionSelected: (optionValue: string, value: string) => boolean;
12
+ declare const Option: FC<OptionFCProps>;
13
+ export default Option;
@@ -1,7 +1,7 @@
1
- interface SelectionOptionProps {
2
- isSelected: boolean;
3
- }
4
- export declare const Label: import("styled-components").StyledComponent<"div", any, SelectionOptionProps, never>;
5
- export declare const Layout: import("styled-components").StyledComponent<"div", any, SelectionOptionProps, never>;
6
- export declare const IconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export {};
1
+ interface SelectionOptionProps {
2
+ isSelected: boolean;
3
+ }
4
+ export declare const Label: import("styled-components").StyledComponent<"div", any, SelectionOptionProps, never>;
5
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, SelectionOptionProps, never>;
6
+ export declare const IconContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export {};
@@ -1,12 +1,12 @@
1
- import { ChangeEvent, FC } from 'react';
2
- export interface RadioProps {
3
- label: string;
4
- name: string;
5
- id: string;
6
- isChecked: boolean;
7
- value: string;
8
- dataTest?: string;
9
- onChange(value: ChangeEvent<HTMLInputElement>): void;
10
- }
11
- declare const Radio: FC<RadioProps>;
12
- export default Radio;
1
+ import { ChangeEvent, FC } from 'react';
2
+ export interface RadioProps {
3
+ label: string;
4
+ name: string;
5
+ id: string;
6
+ isChecked: boolean;
7
+ value: string;
8
+ dataTest?: string;
9
+ onChange(value: ChangeEvent<HTMLInputElement>): void;
10
+ }
11
+ declare const Radio: FC<RadioProps>;
12
+ export default Radio;
@@ -1,3 +1,3 @@
1
- export declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const RadioLabel: import("styled-components").StyledComponent<"label", any, {}, never>;
3
- export declare const RadioButton: import("styled-components").StyledComponent<"input", any, {}, never>;
1
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const RadioLabel: import("styled-components").StyledComponent<"label", any, {}, never>;
3
+ export declare const RadioButton: import("styled-components").StyledComponent<"input", any, {}, never>;
@@ -1,22 +1,22 @@
1
- import React, { PureComponent, RefObject } from 'react';
2
- import { OptionProps } from '../option/Option';
3
- import { OptionsAlignement } from './Select.styles';
4
- export interface SelectProps {
5
- selectRef: RefObject<HTMLDivElement>;
6
- selectedOptionRef: RefObject<HTMLDivElement>;
7
- options: OptionProps[];
8
- value: string;
9
- isOpen: boolean;
10
- onClose(): void;
11
- onSelect(value: OptionProps): void;
12
- optionsMinWidth?: number;
13
- optionsAlign?: OptionsAlignement;
14
- }
15
- export declare class Select extends PureComponent<SelectProps> {
16
- constructor(props: SelectProps);
17
- selectItem(value: OptionProps): void;
18
- componentDidUpdate(): void;
19
- render(): JSX.Element | null;
20
- }
21
- declare const _default: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<Select>>;
22
- export default _default;
1
+ import React, { PureComponent, RefObject } from 'react';
2
+ import { OptionProps } from '../option/Option';
3
+ import { OptionsAlignement } from './Select.styles';
4
+ export interface SelectProps {
5
+ selectRef: RefObject<HTMLDivElement>;
6
+ selectedOptionRef: RefObject<HTMLDivElement>;
7
+ options: OptionProps[];
8
+ value: string;
9
+ isOpen: boolean;
10
+ onClose(): void;
11
+ onSelect(value: OptionProps): void;
12
+ optionsMinWidth?: number;
13
+ optionsAlign?: OptionsAlignement;
14
+ }
15
+ export declare class Select extends PureComponent<SelectProps> {
16
+ constructor(props: SelectProps);
17
+ selectItem(value: OptionProps): void;
18
+ componentDidUpdate(): void;
19
+ render(): JSX.Element | null;
20
+ }
21
+ declare const _default: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<Select>>;
22
+ export default _default;
@@ -1,12 +1,12 @@
1
- export declare enum OptionsAlignement {
2
- LEFT = "left",
3
- RIGHT = "right"
4
- }
5
- interface LayoutProps {
6
- optionsMinWidth?: number;
7
- optionsAlign?: OptionsAlignement;
8
- }
9
- export declare const Layout: import("styled-components").StyledComponent<"div", any, LayoutProps, never>;
10
- export declare const ItemContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
- export declare const ItemLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
12
- export {};
1
+ export declare enum OptionsAlignement {
2
+ LEFT = "left",
3
+ RIGHT = "right"
4
+ }
5
+ interface LayoutProps {
6
+ optionsMinWidth?: number;
7
+ optionsAlign?: OptionsAlignement;
8
+ }
9
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, LayoutProps, never>;
10
+ export declare const ItemContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const ItemLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export {};
@@ -1,23 +1,23 @@
1
- import { FC } from 'react';
2
- import { GenericInputProps } from '../../../utils';
3
- import { InputColors } from '../inputBase/InputBaseEnum';
4
- import { OptionProps } from '../option/Option';
5
- import { OptionsAlignement } from '../select/Select.styles';
6
- export interface SelectWrapperProps extends GenericInputProps {
7
- option: OptionProps | null;
8
- options: OptionProps[];
9
- isAutocomplete?: boolean;
10
- value?: string;
11
- native?: boolean;
12
- outline?: InputColors;
13
- optionsMinWidth?: number;
14
- optionsAlign?: OptionsAlignement;
15
- onSelect(option: OptionProps): void;
16
- onBlur?(): void;
17
- onFocus?(): void;
18
- onChange?(value: string): void;
19
- }
20
- export declare const setIconColor: (isOpen: boolean, label: string) => string;
21
- export declare const getOptionLabel: (options: OptionProps[], selectedValue: string) => string;
22
- export declare const SelectWrapper: FC<SelectWrapperProps>;
23
- export default SelectWrapper;
1
+ import { FC } from 'react';
2
+ import { GenericInputProps } from '../../../utils';
3
+ import { InputColors } from '../inputBase/InputBaseEnum';
4
+ import { OptionProps } from '../option/Option';
5
+ import { OptionsAlignement } from '../select/Select.styles';
6
+ export interface SelectWrapperProps extends GenericInputProps {
7
+ option: OptionProps | null;
8
+ options: OptionProps[];
9
+ isAutocomplete?: boolean;
10
+ value?: string;
11
+ native?: boolean;
12
+ outline?: InputColors;
13
+ optionsMinWidth?: number;
14
+ optionsAlign?: OptionsAlignement;
15
+ onSelect(option: OptionProps): void;
16
+ onBlur?(): void;
17
+ onFocus?(): void;
18
+ onChange?(value: string): void;
19
+ }
20
+ export declare const setIconColor: (isOpen: boolean, label: string) => string;
21
+ export declare const getOptionLabel: (options: OptionProps[], selectedValue: string) => string;
22
+ export declare const SelectWrapper: FC<SelectWrapperProps>;
23
+ export default SelectWrapper;
@@ -1,13 +1,13 @@
1
- interface SelectInputProps {
2
- disabled: boolean;
3
- isOpen: boolean;
4
- focused?: boolean;
5
- error?: boolean;
6
- }
7
- interface IconProps {
8
- isOpen: boolean;
9
- }
10
- export declare const IconContainer: import("styled-components").StyledComponent<"div", any, IconProps, never>;
11
- export declare const SelectWrapperLayout: import("styled-components").StyledComponent<"div", any, Pick<SelectInputProps, "isOpen" | "error">, never>;
12
- export declare const SelectInputLayout: import("styled-components").StyledComponent<"input", any, SelectInputProps, never>;
13
- export {};
1
+ interface SelectInputProps {
2
+ disabled: boolean;
3
+ isOpen: boolean;
4
+ focused?: boolean;
5
+ error?: boolean;
6
+ }
7
+ interface IconProps {
8
+ isOpen: boolean;
9
+ }
10
+ export declare const IconContainer: import("styled-components").StyledComponent<"div", any, IconProps, never>;
11
+ export declare const SelectWrapperLayout: import("styled-components").StyledComponent<"div", any, Pick<SelectInputProps, "isOpen" | "error">, never>;
12
+ export declare const SelectInputLayout: import("styled-components").StyledComponent<"input", any, SelectInputProps, never>;
13
+ export {};
@@ -1,8 +1,8 @@
1
- import { FC } from 'react';
2
- export interface SubtitleProps {
3
- text: string;
4
- color?: string;
5
- isAlternative?: boolean;
6
- }
7
- declare const Subtitle: FC<SubtitleProps>;
8
- export default Subtitle;
1
+ import { FC } from 'react';
2
+ export interface SubtitleProps {
3
+ text: string;
4
+ color?: string;
5
+ isAlternative?: boolean;
6
+ }
7
+ declare const Subtitle: FC<SubtitleProps>;
8
+ export default Subtitle;
@@ -1,5 +1,5 @@
1
- export declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const Label: import("styled-components").StyledComponent<"div", any, {
3
- color: string;
4
- isAlternative: boolean;
5
- }, never>;
1
+ export declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Label: import("styled-components").StyledComponent<"div", any, {
3
+ color: string;
4
+ isAlternative: boolean;
5
+ }, never>;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
2
- import { TagProps } from './interfaces';
3
- declare const Tag: FC<TagProps>;
4
- export default Tag;
1
+ import { FC } from 'react';
2
+ import { TagProps } from './interfaces';
3
+ declare const Tag: FC<TagProps>;
4
+ export default Tag;
@@ -1,14 +1,14 @@
1
- import { TagProps } from './interfaces';
2
- interface TagBaseProps {
3
- close?: boolean;
4
- icon?: boolean;
5
- }
6
- export declare const TagBase: import("styled-components").FlattenSimpleInterpolation;
7
- export declare const TAG_BUSINESS_BASE: import("styled-components").FlattenSimpleInterpolation;
8
- export declare const BasicTag: import("styled-components").StyledComponent<"span", any, Pick<TagProps, "appearance" | "color" | "isOutlined"> & TagBaseProps, never>;
9
- export declare const TagCloser: import("styled-components").StyledComponent<"button", any, Pick<TagProps, "appearance">, never>;
10
- export declare const TagElement: import("styled-components").StyledComponent<"li", any, {}, never>;
11
- export declare const List: import("styled-components").StyledComponent<"ul", any, Pick<TagProps, "appearance" | "color" | "isOutlined">, never>;
12
- export declare const TagList: import("styled-components").StyledComponent<"div", any, {}, never>;
13
- export declare const IconWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
14
- export {};
1
+ import { TagProps } from './interfaces';
2
+ interface TagBaseProps {
3
+ close?: boolean;
4
+ icon?: boolean;
5
+ }
6
+ export declare const TagBase: import("styled-components").FlattenSimpleInterpolation;
7
+ export declare const TAG_BUSINESS_BASE: import("styled-components").FlattenSimpleInterpolation;
8
+ export declare const BasicTag: import("styled-components").StyledComponent<"span", any, Pick<TagProps, "appearance" | "color" | "isOutlined"> & TagBaseProps, never>;
9
+ export declare const TagCloser: import("styled-components").StyledComponent<"button", any, Pick<TagProps, "appearance">, never>;
10
+ export declare const TagElement: import("styled-components").StyledComponent<"li", any, {}, never>;
11
+ export declare const List: import("styled-components").StyledComponent<"ul", any, Pick<TagProps, "appearance" | "color" | "isOutlined">, never>;
12
+ export declare const TagList: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const IconWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
14
+ export {};
@@ -1,74 +1,74 @@
1
- export declare const TagColors: {
2
- BLUE: {
3
- color: string;
4
- background: string;
5
- colorOutlined: string;
6
- backgroundOutlined: string;
7
- };
8
- BLUE_LIGHT: {
9
- color: string;
10
- background: string;
11
- colorOutlined: string;
12
- backgroundOutlined: string;
13
- };
14
- GREY: {
15
- color: string;
16
- background: string;
17
- colorOutlined: string;
18
- backgroundOutlined: string;
19
- };
20
- GREY_LIGHT: {
21
- color: string;
22
- background: string;
23
- colorOutlined: string;
24
- backgroundOutlined: string;
25
- };
26
- GREEN: {
27
- color: string;
28
- background: string;
29
- colorOutlined: string;
30
- backgroundOutlined: string;
31
- };
32
- GREEN_LIGHT: {
33
- color: string;
34
- background: string;
35
- colorOutlined: string;
36
- backgroundOutlined: string;
37
- };
38
- ORANGE: {
39
- color: string;
40
- background: string;
41
- colorOutlined: string;
42
- backgroundOutlined: string;
43
- };
44
- ORANGE_LIGHT: {
45
- color: string;
46
- background: string;
47
- colorOutlined: string;
48
- backgroundOutlined: string;
49
- };
50
- ORANGE_LIGHTER: {
51
- color: string;
52
- background: string;
53
- colorOutlined: string;
54
- backgroundOutlined: string;
55
- };
56
- RED: {
57
- color: string;
58
- background: string;
59
- colorOutlined: string;
60
- backgroundOutlined: string;
61
- };
62
- RED_LIGHT: {
63
- color: string;
64
- background: string;
65
- colorOutlined: string;
66
- backgroundOutlined: string;
67
- };
68
- TERRACOTA: {
69
- color: string;
70
- background: string;
71
- colorOutlined: string;
72
- backgroundOutlined: string;
73
- };
74
- };
1
+ export declare const TagColors: {
2
+ BLUE: {
3
+ color: string;
4
+ background: string;
5
+ colorOutlined: string;
6
+ backgroundOutlined: string;
7
+ };
8
+ BLUE_LIGHT: {
9
+ color: string;
10
+ background: string;
11
+ colorOutlined: string;
12
+ backgroundOutlined: string;
13
+ };
14
+ GREY: {
15
+ color: string;
16
+ background: string;
17
+ colorOutlined: string;
18
+ backgroundOutlined: string;
19
+ };
20
+ GREY_LIGHT: {
21
+ color: string;
22
+ background: string;
23
+ colorOutlined: string;
24
+ backgroundOutlined: string;
25
+ };
26
+ GREEN: {
27
+ color: string;
28
+ background: string;
29
+ colorOutlined: string;
30
+ backgroundOutlined: string;
31
+ };
32
+ GREEN_LIGHT: {
33
+ color: string;
34
+ background: string;
35
+ colorOutlined: string;
36
+ backgroundOutlined: string;
37
+ };
38
+ ORANGE: {
39
+ color: string;
40
+ background: string;
41
+ colorOutlined: string;
42
+ backgroundOutlined: string;
43
+ };
44
+ ORANGE_LIGHT: {
45
+ color: string;
46
+ background: string;
47
+ colorOutlined: string;
48
+ backgroundOutlined: string;
49
+ };
50
+ ORANGE_LIGHTER: {
51
+ color: string;
52
+ background: string;
53
+ colorOutlined: string;
54
+ backgroundOutlined: string;
55
+ };
56
+ RED: {
57
+ color: string;
58
+ background: string;
59
+ colorOutlined: string;
60
+ backgroundOutlined: string;
61
+ };
62
+ RED_LIGHT: {
63
+ color: string;
64
+ background: string;
65
+ colorOutlined: string;
66
+ backgroundOutlined: string;
67
+ };
68
+ TERRACOTA: {
69
+ color: string;
70
+ background: string;
71
+ colorOutlined: string;
72
+ backgroundOutlined: string;
73
+ };
74
+ };