@moosend/mooskin 1.0.84 → 1.0.85-beta

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 (298) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1 -1
  3. package/lib/ActionsDropdown/ActionsDropdown.d.ts +6 -6
  4. package/lib/ActionsDropdown/model.d.ts +12 -12
  5. package/lib/ActionsDropdown/styles.d.ts +10 -10
  6. package/lib/Alert/Alert.d.ts +8 -8
  7. package/lib/Alert/model.d.ts +5 -5
  8. package/lib/Alert/styles.d.ts +8 -8
  9. package/lib/Anchor/Anchor.d.ts +3 -3
  10. package/lib/Anchor/model.d.ts +4 -4
  11. package/lib/Anchor/styles.d.ts +3 -3
  12. package/lib/Box/Box.d.ts +3 -3
  13. package/lib/Box/model.d.ts +120 -120
  14. package/lib/Box/resources.d.ts +9 -9
  15. package/lib/Box/styles.d.ts +8 -7
  16. package/lib/Button/Button.d.ts +7 -7
  17. package/lib/Button/model.d.ts +6 -5
  18. package/lib/Button/styles.d.ts +7 -7
  19. package/lib/Carousel/Carousel.d.ts +7 -7
  20. package/lib/Carousel/model.d.ts +33 -33
  21. package/lib/Carousel/styles.d.ts +4 -4
  22. package/lib/Checkbox/Checkbox.d.ts +8 -8
  23. package/lib/Checkbox/model.d.ts +13 -13
  24. package/lib/Checkbox/styles.d.ts +6 -6
  25. package/lib/DatePicker/DatePicker.d.ts +3 -3
  26. package/lib/DatePicker/model.d.ts +18 -11
  27. package/lib/DateRange/DateRange.d.ts +5 -5
  28. package/lib/DateRange/model.d.ts +17 -15
  29. package/lib/DateRange/styles.d.ts +3 -3
  30. package/lib/DateSelect/DateSelect.d.ts +3 -3
  31. package/lib/DateSelect/model.d.ts +7 -7
  32. package/lib/DateTimePicker/DateTimePicker.d.ts +3 -3
  33. package/lib/DateTimePicker/model.d.ts +13 -11
  34. package/lib/Description/Description.d.ts +3 -3
  35. package/lib/Description/styles.d.ts +3 -3
  36. package/lib/Drawer/Drawer.d.ts +10 -10
  37. package/lib/Drawer/model.d.ts +21 -21
  38. package/lib/Drawer/styles.d.ts +25 -25
  39. package/lib/Expandable/Expandable.d.ts +9 -9
  40. package/lib/Expandable/model.d.ts +13 -13
  41. package/lib/Expandable/styles.d.ts +9 -9
  42. package/lib/Footer/Footer.d.ts +6 -6
  43. package/lib/Footer/styles.d.ts +7 -7
  44. package/lib/Grid/Grid.d.ts +5 -5
  45. package/lib/Grid/model.d.ts +18 -18
  46. package/lib/Grid/styles.d.ts +5 -5
  47. package/lib/IconButton/IconButton.d.ts +3 -3
  48. package/lib/IconButton/model.d.ts +4 -4
  49. package/lib/IconButton/styles.d.ts +3 -3
  50. package/lib/Image/Image.d.ts +3 -3
  51. package/lib/Image/styles.d.ts +2 -3
  52. package/lib/Input/Input.d.ts +12 -12
  53. package/lib/Input/model.d.ts +30 -29
  54. package/lib/Input/styles.d.ts +13 -13
  55. package/lib/Label/Label.d.ts +3 -3
  56. package/lib/Label/{model.d.ts → Model.d.ts} +5 -5
  57. package/lib/Label/styles.d.ts +3 -3
  58. package/lib/Layout/Layout.d.ts +3 -3
  59. package/lib/Layout/model.d.ts +5 -5
  60. package/lib/Layout/styles.d.ts +3 -3
  61. package/lib/List/List.d.ts +8 -8
  62. package/lib/List/styles.d.ts +7 -7
  63. package/lib/Loader/Loader.d.ts +3 -3
  64. package/lib/Loader/model.d.ts +5 -5
  65. package/lib/Loader/styles.d.ts +4 -3
  66. package/lib/LoadingBar/LoadingBar.d.ts +3 -3
  67. package/lib/LoadingBar/model.d.ts +7 -7
  68. package/lib/LoadingBar/styles.d.ts +3 -3
  69. package/lib/Modal/Modal.d.ts +10 -10
  70. package/lib/Modal/model.d.ts +15 -15
  71. package/lib/Modal/styles.d.ts +14 -14
  72. package/lib/NumberLabel/NumberLabel.d.ts +3 -3
  73. package/lib/NumberLabel/model.d.ts +7 -7
  74. package/lib/Pagination/Pagination.d.ts +4 -4
  75. package/lib/Pagination/model.d.ts +12 -12
  76. package/lib/Pagination/styles.d.ts +6 -6
  77. package/lib/Radio/Radio.d.ts +8 -8
  78. package/lib/Radio/model.d.ts +14 -14
  79. package/lib/Radio/styles.d.ts +6 -6
  80. package/lib/Select/Select.d.ts +14 -14
  81. package/lib/Select/model.d.ts +25 -25
  82. package/lib/Select/styles.d.ts +17 -17
  83. package/lib/Selector/Selector.d.ts +4 -4
  84. package/lib/Selector/model.d.ts +10 -10
  85. package/lib/Selector/styles.d.ts +4 -4
  86. package/lib/Sidemenu/Sidemenu.d.ts +4 -4
  87. package/lib/Sidemenu/model.d.ts +10 -10
  88. package/lib/Sidemenu/styles.d.ts +4 -4
  89. package/lib/Skeleton/Skeleton.d.ts +5 -5
  90. package/lib/Skeleton/model.d.ts +14 -14
  91. package/lib/Skeleton/styles.d.ts +6 -6
  92. package/lib/Slider/Slider.d.ts +3 -3
  93. package/lib/Slider/{Model.d.ts → model.d.ts} +7 -7
  94. package/lib/Slider/styles.d.ts +3 -3
  95. package/lib/Stack/Stack.d.ts +5 -5
  96. package/lib/Stack/model.d.ts +6 -6
  97. package/lib/Stack/styles.d.ts +3 -3
  98. package/lib/Steps/Steps.d.ts +6 -6
  99. package/lib/Steps/model.d.ts +16 -16
  100. package/lib/Steps/styles.d.ts +7 -7
  101. package/lib/Styled/GlobalStyles.d.ts +1 -2
  102. package/lib/Styled/MooskinContextProvider.d.ts +6 -6
  103. package/lib/Styled/model.d.ts +189 -189
  104. package/lib/Switch/Switch.d.ts +4 -4
  105. package/lib/Switch/model.d.ts +16 -16
  106. package/lib/Switch/styles.d.ts +7 -7
  107. package/lib/Table/Table.d.ts +7 -7
  108. package/lib/Table/styles.d.ts +7 -7
  109. package/lib/Tabs/Tabs.d.ts +6 -6
  110. package/lib/Tabs/model.d.ts +13 -13
  111. package/lib/Tabs/styles.d.ts +6 -6
  112. package/lib/Tags/Tags.d.ts +8 -8
  113. package/lib/Tags/model.d.ts +18 -18
  114. package/lib/Tags/styles.d.ts +8 -8
  115. package/lib/Text/Text.d.ts +3 -3
  116. package/lib/Text/model.d.ts +4 -4
  117. package/lib/Text/styles.d.ts +3 -3
  118. package/lib/TextArea/TextArea.d.ts +3 -3
  119. package/lib/TextArea/model.d.ts +4 -4
  120. package/lib/TextArea/styles.d.ts +2 -3
  121. package/lib/TextEditor/TextEditor.d.ts +3 -3
  122. package/lib/TextEditor/model.d.ts +15 -15
  123. package/lib/_utils/adapter.d.ts +1 -1
  124. package/lib/_utils/globals/screens.d.ts +29 -29
  125. package/lib/_utils/globals/variables.d.ts +3 -3
  126. package/lib/_utils/helper.d.ts +103 -81
  127. package/lib/_utils/index.d.ts +3 -3
  128. package/lib/_utils/types/commonTypes.d.ts +4 -4
  129. package/lib/components/ActionsDropdown/ActionsDropdown.d.ts +6 -6
  130. package/lib/components/ActionsDropdown/model.d.ts +12 -12
  131. package/lib/components/ActionsDropdown/styles.d.ts +10 -10
  132. package/lib/components/Alert/Alert.d.ts +8 -8
  133. package/lib/components/Alert/model.d.ts +5 -5
  134. package/lib/components/Alert/styles.d.ts +8 -8
  135. package/lib/components/Anchor/Anchor.d.ts +3 -3
  136. package/lib/components/Anchor/model.d.ts +4 -4
  137. package/lib/components/Anchor/styles.d.ts +3 -3
  138. package/lib/components/Box/Box.d.ts +3 -3
  139. package/lib/components/Box/model.d.ts +120 -120
  140. package/lib/components/Box/resources.d.ts +9 -9
  141. package/lib/components/Box/styles.d.ts +8 -7
  142. package/lib/components/Button/Button.d.ts +7 -7
  143. package/lib/components/Button/model.d.ts +6 -5
  144. package/lib/components/Button/styles.d.ts +7 -7
  145. package/lib/components/Carousel/Carousel.d.ts +7 -7
  146. package/lib/components/Carousel/model.d.ts +33 -33
  147. package/lib/components/Carousel/styles.d.ts +4 -4
  148. package/lib/components/Checkbox/Checkbox.d.ts +8 -8
  149. package/lib/components/Checkbox/model.d.ts +13 -13
  150. package/lib/components/Checkbox/styles.d.ts +6 -6
  151. package/lib/components/DatePicker/DatePicker.d.ts +3 -3
  152. package/lib/components/DatePicker/model.d.ts +18 -11
  153. package/lib/components/DateRange/DateRange.d.ts +5 -5
  154. package/lib/components/DateRange/model.d.ts +17 -15
  155. package/lib/components/DateRange/styles.d.ts +3 -3
  156. package/lib/components/DateSelect/DateSelect.d.ts +3 -3
  157. package/lib/components/DateSelect/model.d.ts +7 -7
  158. package/lib/components/DateTimePicker/DateTimePicker.d.ts +3 -3
  159. package/lib/components/DateTimePicker/model.d.ts +13 -11
  160. package/lib/components/Description/Description.d.ts +3 -3
  161. package/lib/components/Description/styles.d.ts +3 -3
  162. package/lib/components/Drawer/Drawer.d.ts +10 -10
  163. package/lib/components/Drawer/model.d.ts +21 -21
  164. package/lib/components/Drawer/styles.d.ts +25 -25
  165. package/lib/components/Expandable/Expandable.d.ts +9 -9
  166. package/lib/components/Expandable/model.d.ts +13 -13
  167. package/lib/components/Expandable/styles.d.ts +9 -9
  168. package/lib/components/Footer/Footer.d.ts +6 -6
  169. package/lib/components/Footer/styles.d.ts +7 -7
  170. package/lib/components/Grid/Grid.d.ts +5 -5
  171. package/lib/components/Grid/model.d.ts +18 -18
  172. package/lib/components/Grid/styles.d.ts +5 -5
  173. package/lib/components/IconButton/IconButton.d.ts +3 -3
  174. package/lib/components/IconButton/model.d.ts +4 -4
  175. package/lib/components/IconButton/styles.d.ts +3 -3
  176. package/lib/components/Image/Image.d.ts +3 -3
  177. package/lib/components/Image/styles.d.ts +2 -3
  178. package/lib/components/Input/Input.d.ts +12 -12
  179. package/lib/components/Input/model.d.ts +30 -29
  180. package/lib/components/Input/styles.d.ts +13 -13
  181. package/lib/components/Label/Label.d.ts +3 -3
  182. package/lib/components/Label/model.d.ts +5 -5
  183. package/lib/components/Label/styles.d.ts +3 -3
  184. package/lib/components/Layout/Layout.d.ts +3 -3
  185. package/lib/components/Layout/model.d.ts +5 -5
  186. package/lib/components/Layout/styles.d.ts +3 -3
  187. package/lib/components/List/List.d.ts +8 -8
  188. package/lib/components/List/styles.d.ts +7 -7
  189. package/lib/components/Loader/Loader.d.ts +3 -3
  190. package/lib/components/Loader/model.d.ts +5 -5
  191. package/lib/components/Loader/styles.d.ts +4 -3
  192. package/lib/components/LoadingBar/LoadingBar.d.ts +3 -3
  193. package/lib/components/LoadingBar/model.d.ts +7 -7
  194. package/lib/components/LoadingBar/styles.d.ts +3 -3
  195. package/lib/components/Modal/Modal.d.ts +10 -10
  196. package/lib/components/Modal/model.d.ts +15 -15
  197. package/lib/components/Modal/styles.d.ts +14 -14
  198. package/lib/components/NumberLabel/NumberLabel.d.ts +3 -3
  199. package/lib/components/NumberLabel/model.d.ts +7 -7
  200. package/lib/components/Pagination/Pagination.d.ts +4 -4
  201. package/lib/components/Pagination/model.d.ts +12 -12
  202. package/lib/components/Pagination/styles.d.ts +6 -6
  203. package/lib/components/Radio/Radio.d.ts +8 -8
  204. package/lib/components/Radio/model.d.ts +14 -14
  205. package/lib/components/Radio/styles.d.ts +6 -6
  206. package/lib/components/Select/Select.d.ts +14 -14
  207. package/lib/components/Select/model.d.ts +25 -25
  208. package/lib/components/Select/styles.d.ts +17 -17
  209. package/lib/components/Selector/Selector.d.ts +4 -4
  210. package/lib/components/Selector/model.d.ts +10 -10
  211. package/lib/components/Selector/styles.d.ts +4 -4
  212. package/lib/components/Sidemenu/Sidemenu.d.ts +4 -4
  213. package/lib/components/Sidemenu/model.d.ts +10 -10
  214. package/lib/components/Sidemenu/styles.d.ts +4 -4
  215. package/lib/components/Skeleton/Skeleton.d.ts +5 -5
  216. package/lib/components/Skeleton/model.d.ts +14 -14
  217. package/lib/components/Skeleton/styles.d.ts +6 -6
  218. package/lib/components/Slider/Model.d.ts +7 -7
  219. package/lib/components/Slider/Slider.d.ts +3 -3
  220. package/lib/components/Slider/styles.d.ts +3 -3
  221. package/lib/components/Stack/Stack.d.ts +5 -5
  222. package/lib/components/Stack/model.d.ts +6 -6
  223. package/lib/components/Stack/styles.d.ts +3 -3
  224. package/lib/components/Steps/Steps.d.ts +6 -6
  225. package/lib/components/Steps/model.d.ts +16 -16
  226. package/lib/components/Steps/styles.d.ts +7 -7
  227. package/lib/components/Styled/GlobalStyles.d.ts +1 -2
  228. package/lib/components/Styled/MooskinContextProvider.d.ts +6 -6
  229. package/lib/components/Styled/model.d.ts +189 -189
  230. package/lib/components/Switch/Switch.d.ts +4 -4
  231. package/lib/components/Switch/model.d.ts +16 -16
  232. package/lib/components/Switch/styles.d.ts +7 -7
  233. package/lib/components/Table/Table.d.ts +7 -7
  234. package/lib/components/Table/styles.d.ts +7 -7
  235. package/lib/components/Tabs/Tabs.d.ts +6 -6
  236. package/lib/components/Tabs/model.d.ts +13 -13
  237. package/lib/components/Tabs/styles.d.ts +6 -6
  238. package/lib/components/Tags/Tags.d.ts +8 -8
  239. package/lib/components/Tags/model.d.ts +18 -18
  240. package/lib/components/Tags/styles.d.ts +8 -8
  241. package/lib/components/Text/Text.d.ts +3 -3
  242. package/lib/components/Text/model.d.ts +4 -4
  243. package/lib/components/Text/styles.d.ts +3 -3
  244. package/lib/components/TextArea/TextArea.d.ts +3 -3
  245. package/lib/components/TextArea/model.d.ts +4 -4
  246. package/lib/components/TextArea/styles.d.ts +2 -3
  247. package/lib/components/TextEditor/TextEditor.d.ts +3 -3
  248. package/lib/components/TextEditor/model.d.ts +15 -15
  249. package/lib/components/_utils/adapter.d.ts +1 -1
  250. package/lib/components/_utils/globals/screens.d.ts +29 -29
  251. package/lib/components/_utils/globals/variables.d.ts +3 -3
  252. package/lib/components/_utils/helper.d.ts +103 -81
  253. package/lib/components/_utils/index.d.ts +3 -3
  254. package/lib/components/_utils/types/commonTypes.d.ts +4 -4
  255. package/lib/components/index/index.d.ts +86 -86
  256. package/lib/index/index.d.ts +86 -86
  257. package/lib/index/index.js +88 -28
  258. package/lib/index/style.css +1 -1
  259. package/lib/stories/ActionsDropdown.stories.d.ts +7 -5
  260. package/lib/stories/Alert.stories.d.ts +7 -4
  261. package/lib/stories/Anchor.stories.d.ts +6 -4
  262. package/lib/stories/Box.stories.d.ts +5 -3
  263. package/lib/stories/Button.stories.d.ts +8 -6
  264. package/lib/stories/Carousel.stories.d.ts +5 -3
  265. package/lib/stories/Checkbox.stories.d.ts +9 -7
  266. package/lib/stories/DatePicker.stories.d.ts +5 -3
  267. package/lib/stories/DateRange.stories.d.ts +5 -3
  268. package/lib/stories/DateSelect.stories.d.ts +10 -8
  269. package/lib/stories/DateTimePicker.stories.d.ts +5 -3
  270. package/lib/stories/Drawer.stories.d.ts +7 -5
  271. package/lib/stories/Expandable.stories.d.ts +5 -3
  272. package/lib/stories/Footer.stories.d.ts +5 -3
  273. package/lib/stories/Grid.stories.d.ts +5 -3
  274. package/lib/stories/IconButton.stories.d.ts +6 -4
  275. package/lib/stories/Input.stories.d.ts +7 -5
  276. package/lib/stories/Layout.stories.d.ts +5 -3
  277. package/lib/stories/List.stories.d.ts +6 -4
  278. package/lib/stories/Loader.stories.d.ts +5 -3
  279. package/lib/stories/LoadingBar.stories.d.ts +5 -3
  280. package/lib/stories/Modal.stories.d.ts +5 -3
  281. package/lib/stories/NumberLabel.stories.d.ts +11 -9
  282. package/lib/stories/Pagination.stories.d.ts +5 -3
  283. package/lib/stories/Radio.stories.d.ts +9 -7
  284. package/lib/stories/Select.stories.d.ts +8 -6
  285. package/lib/stories/Selector.stories.d.ts +5 -3
  286. package/lib/stories/Sidemenu.stories.d.ts +5 -3
  287. package/lib/stories/Skeleton.stories.d.ts +7 -5
  288. package/lib/stories/Slider.stories.d.ts +5 -3
  289. package/lib/stories/Stack.stories.d.ts +10 -8
  290. package/lib/stories/StackedTags.stories.d.ts +5 -3
  291. package/lib/stories/Steps.stories.d.ts +5 -3
  292. package/lib/stories/Switch.stories.d.ts +7 -5
  293. package/lib/stories/Table.stories.d.ts +5 -3
  294. package/lib/stories/Tabs.stories.d.ts +5 -3
  295. package/lib/stories/Tags.stories.d.ts +7 -5
  296. package/lib/stories/TextEditor.stories.d.ts +9 -7
  297. package/lib/stories/Textarea.stories.d.ts +6 -4
  298. package/package.json +122 -114
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
2
- import { IBoxComponentProps } from '../Box/model';
3
- export interface ITabsComponentProps extends IBoxComponentProps {
4
- activeItem?: number | string;
5
- onClickTab?: (e: React.MouseEvent<HTMLElement>, value?: number | string) => void;
6
- children?: React.ReactElement<ITabCommonComponentProps> | Array<React.ReactElement<ITabCommonComponentProps>>;
7
- }
8
- export interface ITabCommonComponentProps extends IBoxComponentProps {
9
- active?: boolean;
10
- }
11
- export interface ITabComponentProps extends ITabCommonComponentProps {
12
- activeId?: string | number;
13
- }
1
+ /// <reference types="react" />
2
+ import { IBoxComponentProps } from '../Box/model';
3
+ export interface ITabsComponentProps extends IBoxComponentProps {
4
+ activeItem?: number | string;
5
+ onClickTab?: (e: React.MouseEvent<HTMLElement>, value?: number | string) => void;
6
+ children?: React.ReactElement<ITabCommonComponentProps> | Array<React.ReactElement<ITabCommonComponentProps>>;
7
+ }
8
+ export interface ITabCommonComponentProps extends IBoxComponentProps {
9
+ active?: boolean;
10
+ }
11
+ export interface ITabComponentProps extends ITabCommonComponentProps {
12
+ activeId?: string | number;
13
+ }
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
3
- export declare const StyledTabs: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabsComponentProps, never>;
4
- export declare const StyledTab: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabComponentProps, never>;
5
- export declare const StyledTabHeader: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabCommonComponentProps, never>;
6
- export declare const StyledTabContent: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabCommonComponentProps, never>;
1
+ /// <reference types="react" />
2
+ import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
3
+ export declare const StyledTabs: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabsComponentProps, never>;
4
+ export declare const StyledTab: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabComponentProps, never>;
5
+ export declare const StyledTabHeader: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabCommonComponentProps, never>;
6
+ export declare const StyledTabContent: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITabCommonComponentProps, never>;
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- import { IBoxComponentProps } from '../Box/model';
3
- import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
4
- export declare const Tags: React.FC<ITagsComponentProps>;
5
- export declare const Tag: React.FC<ITagComponentProps>;
6
- export declare const TagInput: React.FC<ITagsInputComponentProps>;
7
- export declare const TagClose: React.FC<IBoxComponentProps>;
8
- export declare const TagText: React.FC<IBoxComponentProps>;
1
+ import * as React from 'react';
2
+ import { IBoxComponentProps } from '../Box/model';
3
+ import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
4
+ export declare const Tags: React.FC<ITagsComponentProps>;
5
+ export declare const Tag: React.FC<ITagComponentProps>;
6
+ export declare const TagInput: React.FC<ITagsInputComponentProps>;
7
+ export declare const TagClose: React.FC<IBoxComponentProps>;
8
+ export declare const TagText: React.FC<IBoxComponentProps>;
@@ -1,18 +1,18 @@
1
- /// <reference types="react" />
2
- import { IInputCallbackData } from '../_utils/types/commonTypes';
3
- import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
4
- export interface ITagsComponentProps extends IBoxComponentProps {
5
- dataLabel?: string;
6
- limit?: number;
7
- onAddTag?: (data: IInputCallbackData) => void;
8
- onRemoveTag?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
9
- onClickTag?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
10
- validateTag?: (tag: string) => boolean;
11
- }
12
- export interface ITagComponentProps extends IInputBoxComponentProps {
13
- removeIcon?: boolean;
14
- }
15
- export interface ITagsInputComponentProps extends IInputBoxComponentProps {
16
- delimiters?: Array<string | number>;
17
- onAddTag?: (value: string | string[]) => void;
18
- }
1
+ /// <reference types="react" />
2
+ import { IInputCallbackData } from '../_utils/types/commonTypes';
3
+ import { IBoxComponentProps, IInputBoxComponentProps } from '../Box/model';
4
+ export interface ITagsComponentProps extends IBoxComponentProps {
5
+ dataLabel?: string;
6
+ limit?: number;
7
+ onAddTag?: (data: IInputCallbackData) => void;
8
+ onRemoveTag?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
9
+ onClickTag?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
10
+ validateTag?: (tag: string) => boolean;
11
+ }
12
+ export interface ITagComponentProps extends IInputBoxComponentProps {
13
+ removeIcon?: boolean;
14
+ }
15
+ export interface ITagsInputComponentProps extends IInputBoxComponentProps {
16
+ delimiters?: Array<string | number>;
17
+ onAddTag?: (value: string | string[]) => void;
18
+ }
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
- import { IBoxComponentProps } from '../Box/model';
3
- import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
4
- export declare const StyledTags: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsComponentProps, never>;
5
- export declare const StyledTag: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
6
- export declare const StyledTagText: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
7
- export declare const StyledTagClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
8
- export declare const StyledTagInput: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsInputComponentProps, never>;
1
+ /// <reference types="react" />
2
+ import { IBoxComponentProps } from '../Box/model';
3
+ import { ITagComponentProps, ITagsComponentProps, ITagsInputComponentProps } from './model';
4
+ export declare const StyledTags: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsComponentProps, never>;
5
+ export declare const StyledTag: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
6
+ export declare const StyledTagText: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagComponentProps, never>;
7
+ export declare const StyledTagClose: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
8
+ export declare const StyledTagInput: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, ITagsInputComponentProps, never>;
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- import { ITextComponentProps } from './model';
3
- export declare const Text: React.FC<ITextComponentProps>;
1
+ import * as React from 'react';
2
+ import { ITextComponentProps } from './model';
3
+ export declare const Text: React.FC<ITextComponentProps>;
@@ -1,4 +1,4 @@
1
- import { IBoxComponentProps } from '../index';
2
- export interface ITextComponentProps extends IBoxComponentProps {
3
- limit?: number;
4
- }
1
+ import { IBoxComponentProps } from '../index';
2
+ export interface ITextComponentProps extends IBoxComponentProps {
3
+ limit?: number;
4
+ }
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- import { ITextComponentProps } from './model';
3
- export declare const StyledText: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITextComponentProps, never>;
1
+ /// <reference types="react" />
2
+ import { ITextComponentProps } from './model';
3
+ export declare const StyledText: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ITextComponentProps, never>;
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- import { ITextAreaComponentProps } from './model';
3
- export declare const TextArea: React.FC<ITextAreaComponentProps>;
1
+ import * as React from 'react';
2
+ import { ITextAreaComponentProps } from './model';
3
+ export declare const TextArea: React.FC<ITextAreaComponentProps>;
@@ -1,4 +1,4 @@
1
- import { ITextAreaBoxComponentProps } from '../Box/model';
2
- export interface ITextAreaComponentProps extends ITextAreaBoxComponentProps {
3
- dataLabel?: string;
4
- }
1
+ import { ITextAreaBoxComponentProps } from '../Box/model';
2
+ export interface ITextAreaComponentProps extends ITextAreaBoxComponentProps {
3
+ dataLabel?: string;
4
+ }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { ITextAreaBoxComponentProps } from '../Box/model';
3
- export declare const StyledTextArea: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, ITextAreaBoxComponentProps, never>;
1
+ /// <reference types="react" />
2
+ export declare const StyledTextArea: import("styled-components").StyledComponent<import("react").FC<import("../Box/model").IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement> & import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, never>;
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- import { ITextEditorComponentProps } from './model';
3
- export declare const TextEditor: React.FC<ITextEditorComponentProps>;
1
+ import * as React from 'react';
2
+ import { ITextEditorComponentProps } from './model';
3
+ export declare const TextEditor: React.FC<ITextEditorComponentProps>;
@@ -1,15 +1,15 @@
1
- import { IAllProps } from '@tinymce/tinymce-react';
2
- export interface ITextEditorComponentProps extends Partial<IAllProps> {
3
- onInit?: any;
4
- selector?: any;
5
- menubar?: boolean;
6
- personalizationTags?: {
7
- buttonLabel: string;
8
- id: string;
9
- tags: IPersonalizationTag[];
10
- };
11
- }
12
- export interface IPersonalizationTag {
13
- label: string;
14
- value: string;
15
- }
1
+ import { IAllProps } from '@tinymce/tinymce-react';
2
+ export interface ITextEditorComponentProps extends Partial<IAllProps> {
3
+ onInit?: any;
4
+ selector?: any;
5
+ menubar?: boolean;
6
+ personalizationTags?: {
7
+ buttonLabel: string;
8
+ id: string;
9
+ tags: IPersonalizationTag[];
10
+ };
11
+ }
12
+ export interface IPersonalizationTag {
13
+ label: string;
14
+ value: string;
15
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,29 +1,29 @@
1
- declare const _default: {
2
- deviceLarge: string;
3
- deviceMedium: string;
4
- deviceSmall: string;
5
- deviceXsmall: string;
6
- large: string;
7
- medium: string;
8
- small: string;
9
- xSmall: string;
10
- };
11
- export default _default;
12
- export declare const Screens: {
13
- lg: {
14
- min: number;
15
- max: number;
16
- };
17
- md: {
18
- min: number;
19
- max: number;
20
- };
21
- sm: {
22
- min: number;
23
- max: number;
24
- };
25
- xs: {
26
- min: number;
27
- max: number;
28
- };
29
- };
1
+ declare const _default: {
2
+ deviceLarge: string;
3
+ deviceMedium: string;
4
+ deviceSmall: string;
5
+ deviceXsmall: string;
6
+ large: string;
7
+ medium: string;
8
+ small: string;
9
+ xSmall: string;
10
+ };
11
+ export default _default;
12
+ export declare const Screens: {
13
+ lg: {
14
+ min: number;
15
+ max: number;
16
+ };
17
+ md: {
18
+ min: number;
19
+ max: number;
20
+ };
21
+ sm: {
22
+ min: number;
23
+ max: number;
24
+ };
25
+ xs: {
26
+ min: number;
27
+ max: number;
28
+ };
29
+ };
@@ -1,3 +1,3 @@
1
- import { IStyledTheme } from '../../Styled/model';
2
- declare const theme: IStyledTheme;
3
- export default theme;
1
+ import { IStyledTheme } from '../../Styled/model';
2
+ declare const theme: IStyledTheme;
3
+ export default theme;
@@ -1,81 +1,103 @@
1
- import { IStyledTheme } from '../Styled/model';
2
- export declare const arrayHasDupes: (array: any[]) => boolean;
3
- export declare const debounce: (func: (...args: any[]) => any, wait: number, immediate: boolean) => () => void;
4
- export declare const getBoxProps: (componentProps: any) => any;
5
- export declare const getOverridesForPicker: (theme: IStyledTheme, defaults: IStyledTheme) => {
6
- overrides: {
7
- MuiPickersToolbar: {
8
- toolbar: {
9
- backgroundColor: string;
10
- };
11
- };
12
- MuiPickersCalendarHeader: {
13
- iconButton: {
14
- fill: string;
15
- };
16
- };
17
- MuiPickersDay: {
18
- current: {
19
- color: string;
20
- };
21
- day: {
22
- backgroundColor: string;
23
- color: string;
24
- };
25
- dayDisabled: {
26
- color: string;
27
- };
28
- daySelected: {
29
- backgroundColor: string;
30
- color: string;
31
- };
32
- };
33
- MuiPickersModal: {
34
- dialogAction: {
35
- color: string;
36
- };
37
- };
38
- MuiPickerDTTabs: {
39
- tabs: {
40
- backgroundColor: string;
41
- fill: string;
42
- };
43
- };
44
- MuiSvgIcon: {
45
- root: {
46
- fill: string;
47
- };
48
- };
49
- MuiPickersClock: {
50
- pin: {
51
- backgroundColor: string;
52
- };
53
- };
54
- MuiPickersClockPointer: {
55
- pointer: {
56
- backgroundColor: string;
57
- };
58
- thumb: {
59
- borderColor: string;
60
- };
61
- noPoint: {
62
- backgroundColor: string;
63
- };
64
- };
65
- MuiTabs: {
66
- indicator: {
67
- backgroundColor: string;
68
- };
69
- };
70
- MuiIconButton: {
71
- label: {
72
- color: string;
73
- };
74
- };
75
- MuiButton: {
76
- label: {
77
- color: string;
78
- };
79
- };
80
- };
81
- };
1
+ import { IStyledTheme } from '../Styled/model';
2
+ export declare const arrayHasDupes: (array: any[]) => boolean;
3
+ export declare const debounce: (func: (...args: any[]) => any, wait: number, immediate: boolean) => () => void;
4
+ export declare const getBoxProps: (componentProps: any) => any;
5
+ export declare const getOverridesForPicker: (theme: IStyledTheme, defaults: IStyledTheme) => {
6
+ components: {
7
+ MuiPickersToolbar: {
8
+ styleOverrides: {
9
+ toolbar: {
10
+ backgroundColor: string;
11
+ };
12
+ };
13
+ };
14
+ MuiPickersCalendarHeader: {
15
+ styleOverrides: {
16
+ iconButton: {
17
+ fill: string;
18
+ };
19
+ };
20
+ };
21
+ MuiPickersDay: {
22
+ styleOverrides: {
23
+ current: {
24
+ color: string;
25
+ };
26
+ day: {
27
+ backgroundColor: string;
28
+ color: string;
29
+ };
30
+ dayDisabled: {
31
+ color: string;
32
+ };
33
+ daySelected: {
34
+ backgroundColor: string;
35
+ color: string;
36
+ };
37
+ };
38
+ };
39
+ MuiPickersModal: {
40
+ styleOverrides: {
41
+ dialogAction: {
42
+ color: string;
43
+ };
44
+ };
45
+ };
46
+ MuiPickerDTTabs: {
47
+ styleOverrides: {
48
+ tabs: {
49
+ backgroundColor: string;
50
+ fill: string;
51
+ };
52
+ };
53
+ };
54
+ MuiSvgIcon: {
55
+ styleOverrides: {
56
+ root: {
57
+ fill: string;
58
+ };
59
+ };
60
+ };
61
+ MuiPickersClock: {
62
+ styleOverrides: {
63
+ pin: {
64
+ backgroundColor: string;
65
+ };
66
+ };
67
+ };
68
+ MuiPickersClockPointer: {
69
+ styleOverrides: {
70
+ pointer: {
71
+ backgroundColor: string;
72
+ };
73
+ thumb: {
74
+ borderColor: string;
75
+ };
76
+ noPoint: {
77
+ backgroundColor: string;
78
+ };
79
+ };
80
+ };
81
+ MuiTabs: {
82
+ styleOverrides: {
83
+ indicator: {
84
+ backgroundColor: string;
85
+ };
86
+ };
87
+ };
88
+ MuiIconButton: {
89
+ styleOverrides: {
90
+ root: {
91
+ color: string;
92
+ };
93
+ };
94
+ };
95
+ MuiButton: {
96
+ styleOverrides: {
97
+ root: {
98
+ color: string;
99
+ };
100
+ };
101
+ };
102
+ };
103
+ };
@@ -1,3 +1,3 @@
1
- import { IInputCallbackData } from './types/commonTypes';
2
- export default IInputCallbackData;
3
- export { IInputCallbackData };
1
+ import { IInputCallbackData } from './types/commonTypes';
2
+ export default IInputCallbackData;
3
+ export { IInputCallbackData };
@@ -1,4 +1,4 @@
1
- export interface IInputCallbackData<T = any> {
2
- dataLabel: string | undefined | null;
3
- value: T;
4
- }
1
+ export interface IInputCallbackData<T = any> {
2
+ dataLabel: string | undefined | null;
3
+ value: T;
4
+ }