@moosend/mooskin 1.0.84 → 1.0.85-beta-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 (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,189 +1,189 @@
1
- export interface IThemeFontColors {
2
- primary1: string;
3
- primary2: string;
4
- primary3: string;
5
- primary4: string;
6
- primary5: string;
7
- secondary1: string;
8
- secondary2: string;
9
- secondary3: string;
10
- secondary4: string;
11
- secondary5: string;
12
- secondary6: string;
13
- white: string;
14
- altWhite: string;
15
- background: string;
16
- blue400: string;
17
- teal400: string;
18
- teal500: string;
19
- pink400: string;
20
- orange400: string;
21
- red400: string;
22
- red600: string;
23
- green600: string;
24
- purple400: string;
25
- grayAlpha: string;
26
- grayAlpha100: string;
27
- grayAlpha400: string;
28
- gray100: string;
29
- gray1: string;
30
- gray2: string;
31
- medgray1: string;
32
- medgray2: string;
33
- darkgray1: string;
34
- darkgray2: string;
35
- darkgray3: string;
36
- text: string;
37
- inverseText: string;
38
- black: string;
39
- checkboxUnselected: string;
40
- dropdown: string;
41
- accountNavigation: string;
42
- submenu: string;
43
- autosExpression: string;
44
- client: string;
45
- createNew: string;
46
- menuDark: string;
47
- menuLight: string;
48
- editorRow: string;
49
- editorElement: string;
50
- editorRepeatable: string;
51
- error: string;
52
- warning: string;
53
- success: string;
54
- info: string;
55
- successIcon: string;
56
- errorIcon: string;
57
- infoIcon: string;
58
- warningIcon: string;
59
- }
60
- export interface IThemeBackgroundColors {
61
- primary1: string;
62
- primary2: string;
63
- primary3: string;
64
- primary4: string;
65
- primary5: string;
66
- secondary1: string;
67
- secondary2: string;
68
- secondary3: string;
69
- secondary4: string;
70
- secondary5: string;
71
- secondary6: string;
72
- white: string;
73
- altWhite: string;
74
- background: string;
75
- blue400: string;
76
- teal400: string;
77
- teal500: string;
78
- pink400: string;
79
- red400: string;
80
- red600: string;
81
- green600: string;
82
- purple400: string;
83
- orange400: string;
84
- grayAlpha: string;
85
- grayAlpha100: string;
86
- grayAlpha400: string;
87
- gray100: string;
88
- gray1: string;
89
- gray2: string;
90
- medgray1: string;
91
- medgray2: string;
92
- darkgray1: string;
93
- darkgray2: string;
94
- darkgray3: string;
95
- text: string;
96
- inverseText: string;
97
- black: string;
98
- checkboxUnselected: string;
99
- dropdown: string;
100
- accountNavigation: string;
101
- submenu: string;
102
- autosExpression: string;
103
- client: string;
104
- createNew: string;
105
- menuDark: string;
106
- menuLight: string;
107
- editorRow: string;
108
- editorElement: string;
109
- editorRepeatable: string;
110
- error: string;
111
- warning: string;
112
- success: string;
113
- info: string;
114
- successIcon: string;
115
- errorIcon: string;
116
- infoIcon: string;
117
- warningIcon: string;
118
- }
119
- export interface IThemeBorderColors {
120
- primary1: string;
121
- primary2: string;
122
- primary3: string;
123
- primary4: string;
124
- primary5: string;
125
- secondary1: string;
126
- secondary2: string;
127
- secondary3: string;
128
- secondary4: string;
129
- secondary5: string;
130
- secondary6: string;
131
- white: string;
132
- altWhite: string;
133
- background: string;
134
- blue400: string;
135
- teal400: string;
136
- teal500: string;
137
- pink400: string;
138
- red400: string;
139
- red600: string;
140
- green600: string;
141
- purple400: string;
142
- orange400: string;
143
- grayAlpha: string;
144
- grayAlpha100: string;
145
- grayAlpha400: string;
146
- gray100: string;
147
- gray1: string;
148
- gray2: string;
149
- medgray1: string;
150
- medgray2: string;
151
- darkgray1: string;
152
- darkgray2: string;
153
- darkgray3: string;
154
- text: string;
155
- inverseText: string;
156
- black: string;
157
- checkboxUnselected: string;
158
- dropdown: string;
159
- accountNavigation: string;
160
- submenu: string;
161
- autosExpression: string;
162
- client: string;
163
- createNew: string;
164
- menuDark: string;
165
- menuLight: string;
166
- editorRow: string;
167
- editorElement: string;
168
- editorRepeatable: string;
169
- error: string;
170
- warning: string;
171
- success: string;
172
- info: string;
173
- successIcon: string;
174
- errorIcon: string;
175
- infoIcon: string;
176
- warningIcon: string;
177
- }
178
- export interface IThemeStyles {
179
- buttonBorderRadius: string | number;
180
- }
181
- export interface IStyledTheme {
182
- fontColors: IThemeFontColors;
183
- backgroundColors: IThemeBackgroundColors;
184
- borderColors: IThemeBorderColors;
185
- styles?: IThemeStyles;
186
- }
187
- export interface IMooskinContext {
188
- palette?: IStyledTheme;
189
- }
1
+ export interface IThemeFontColors {
2
+ primary1: string;
3
+ primary2: string;
4
+ primary3: string;
5
+ primary4: string;
6
+ primary5: string;
7
+ secondary1: string;
8
+ secondary2: string;
9
+ secondary3: string;
10
+ secondary4: string;
11
+ secondary5: string;
12
+ secondary6: string;
13
+ white: string;
14
+ altWhite: string;
15
+ background: string;
16
+ blue400: string;
17
+ teal400: string;
18
+ teal500: string;
19
+ pink400: string;
20
+ orange400: string;
21
+ red400: string;
22
+ red600: string;
23
+ green600: string;
24
+ purple400: string;
25
+ grayAlpha: string;
26
+ grayAlpha100: string;
27
+ grayAlpha400: string;
28
+ gray100: string;
29
+ gray1: string;
30
+ gray2: string;
31
+ medgray1: string;
32
+ medgray2: string;
33
+ darkgray1: string;
34
+ darkgray2: string;
35
+ darkgray3: string;
36
+ text: string;
37
+ inverseText: string;
38
+ black: string;
39
+ checkboxUnselected: string;
40
+ dropdown: string;
41
+ accountNavigation: string;
42
+ submenu: string;
43
+ autosExpression: string;
44
+ client: string;
45
+ createNew: string;
46
+ menuDark: string;
47
+ menuLight: string;
48
+ editorRow: string;
49
+ editorElement: string;
50
+ editorRepeatable: string;
51
+ error: string;
52
+ warning: string;
53
+ success: string;
54
+ info: string;
55
+ successIcon: string;
56
+ errorIcon: string;
57
+ infoIcon: string;
58
+ warningIcon: string;
59
+ }
60
+ export interface IThemeBackgroundColors {
61
+ primary1: string;
62
+ primary2: string;
63
+ primary3: string;
64
+ primary4: string;
65
+ primary5: string;
66
+ secondary1: string;
67
+ secondary2: string;
68
+ secondary3: string;
69
+ secondary4: string;
70
+ secondary5: string;
71
+ secondary6: string;
72
+ white: string;
73
+ altWhite: string;
74
+ background: string;
75
+ blue400: string;
76
+ teal400: string;
77
+ teal500: string;
78
+ pink400: string;
79
+ red400: string;
80
+ red600: string;
81
+ green600: string;
82
+ purple400: string;
83
+ orange400: string;
84
+ grayAlpha: string;
85
+ grayAlpha100: string;
86
+ grayAlpha400: string;
87
+ gray100: string;
88
+ gray1: string;
89
+ gray2: string;
90
+ medgray1: string;
91
+ medgray2: string;
92
+ darkgray1: string;
93
+ darkgray2: string;
94
+ darkgray3: string;
95
+ text: string;
96
+ inverseText: string;
97
+ black: string;
98
+ checkboxUnselected: string;
99
+ dropdown: string;
100
+ accountNavigation: string;
101
+ submenu: string;
102
+ autosExpression: string;
103
+ client: string;
104
+ createNew: string;
105
+ menuDark: string;
106
+ menuLight: string;
107
+ editorRow: string;
108
+ editorElement: string;
109
+ editorRepeatable: string;
110
+ error: string;
111
+ warning: string;
112
+ success: string;
113
+ info: string;
114
+ successIcon: string;
115
+ errorIcon: string;
116
+ infoIcon: string;
117
+ warningIcon: string;
118
+ }
119
+ export interface IThemeBorderColors {
120
+ primary1: string;
121
+ primary2: string;
122
+ primary3: string;
123
+ primary4: string;
124
+ primary5: string;
125
+ secondary1: string;
126
+ secondary2: string;
127
+ secondary3: string;
128
+ secondary4: string;
129
+ secondary5: string;
130
+ secondary6: string;
131
+ white: string;
132
+ altWhite: string;
133
+ background: string;
134
+ blue400: string;
135
+ teal400: string;
136
+ teal500: string;
137
+ pink400: string;
138
+ red400: string;
139
+ red600: string;
140
+ green600: string;
141
+ purple400: string;
142
+ orange400: string;
143
+ grayAlpha: string;
144
+ grayAlpha100: string;
145
+ grayAlpha400: string;
146
+ gray100: string;
147
+ gray1: string;
148
+ gray2: string;
149
+ medgray1: string;
150
+ medgray2: string;
151
+ darkgray1: string;
152
+ darkgray2: string;
153
+ darkgray3: string;
154
+ text: string;
155
+ inverseText: string;
156
+ black: string;
157
+ checkboxUnselected: string;
158
+ dropdown: string;
159
+ accountNavigation: string;
160
+ submenu: string;
161
+ autosExpression: string;
162
+ client: string;
163
+ createNew: string;
164
+ menuDark: string;
165
+ menuLight: string;
166
+ editorRow: string;
167
+ editorElement: string;
168
+ editorRepeatable: string;
169
+ error: string;
170
+ warning: string;
171
+ success: string;
172
+ info: string;
173
+ successIcon: string;
174
+ errorIcon: string;
175
+ infoIcon: string;
176
+ warningIcon: string;
177
+ }
178
+ export interface IThemeStyles {
179
+ buttonBorderRadius: string | number;
180
+ }
181
+ export interface IStyledTheme {
182
+ fontColors: IThemeFontColors;
183
+ backgroundColors: IThemeBackgroundColors;
184
+ borderColors: IThemeBorderColors;
185
+ styles?: IThemeStyles;
186
+ }
187
+ export interface IMooskinContext {
188
+ palette?: IStyledTheme;
189
+ }
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
3
- export declare const Switch: React.FC<ISwitchComponentProps>;
4
- export declare const SwitchHandle: React.FC<ISwitchHandleComponentProps>;
1
+ import * as React from 'react';
2
+ import { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
3
+ export declare const Switch: React.FC<ISwitchComponentProps>;
4
+ export declare const SwitchHandle: React.FC<ISwitchHandleComponentProps>;
@@ -1,16 +1,16 @@
1
- /// <reference types="react" />
2
- import { IInputCallbackData } from '../_utils/types/commonTypes';
3
- import { IBoxComponentProps } from '../Box/model';
4
- export interface ISwitchComponentProps extends IBoxComponentProps {
5
- text: string;
6
- disabled?: boolean;
7
- active?: boolean;
8
- dataLabel?: string;
9
- onClickSwitch?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
10
- }
11
- export interface ISwitchHandleComponentProps extends IBoxComponentProps {
12
- switchWidth?: any;
13
- active?: boolean;
14
- dataLabel?: string;
15
- onClickSwitch?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
16
- }
1
+ /// <reference types="react" />
2
+ import { IInputCallbackData } from '../_utils/types/commonTypes';
3
+ import { IBoxComponentProps } from '../Box/model';
4
+ export interface ISwitchComponentProps extends IBoxComponentProps {
5
+ text: string;
6
+ disabled?: boolean;
7
+ active?: boolean;
8
+ dataLabel?: string;
9
+ onClickSwitch?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
10
+ }
11
+ export interface ISwitchHandleComponentProps extends IBoxComponentProps {
12
+ switchWidth?: any;
13
+ active?: boolean;
14
+ dataLabel?: string;
15
+ onClickSwitch?: (e: React.MouseEvent<HTMLElement>, data: IInputCallbackData) => void;
16
+ }
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
- import { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
3
- export declare const StyledSwitch: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchComponentProps, never>;
4
- export declare const StyledSwitchHandle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchHandleComponentProps, never>;
5
- export declare const StyledSwitchLabel: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
6
- export declare const StyledSwitchLabelNormal: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
7
- export declare const StyledSwitchLabelDisabled: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
1
+ /// <reference types="react" />
2
+ import { ISwitchComponentProps, ISwitchHandleComponentProps } from './model';
3
+ export declare const StyledSwitch: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchComponentProps, never>;
4
+ export declare const StyledSwitchHandle: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, ISwitchHandleComponentProps, never>;
5
+ export declare const StyledSwitchLabel: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
6
+ export declare const StyledSwitchLabelNormal: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
7
+ export declare const StyledSwitchLabelDisabled: import("styled-components").StyledComponent<import("react").FC<import("../index").IBoxComponentProps>, any, Partial<ISwitchComponentProps>, never>;
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- import { IBoxComponentProps } from '../Box/model';
3
- export declare const Table: React.FC<IBoxComponentProps>;
4
- export declare const TableHeader: React.FC<IBoxComponentProps>;
5
- export declare const TableHeaderItem: React.FC<IBoxComponentProps>;
6
- export declare const TableRow: React.FC<IBoxComponentProps>;
7
- export declare const TableRowItem: React.FC<IBoxComponentProps>;
1
+ import * as React from 'react';
2
+ import { IBoxComponentProps } from '../Box/model';
3
+ export declare const Table: React.FC<IBoxComponentProps>;
4
+ export declare const TableHeader: React.FC<IBoxComponentProps>;
5
+ export declare const TableHeaderItem: React.FC<IBoxComponentProps>;
6
+ export declare const TableRow: React.FC<IBoxComponentProps>;
7
+ export declare const TableRowItem: React.FC<IBoxComponentProps>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
- import { IBoxComponentProps } from '../Box/model';
3
- export declare const StyledTable: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
4
- export declare const StyledTableHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
5
- export declare const StyledTableHeaderItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
6
- export declare const StyledTableRow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
7
- export declare const StyledTableRowItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, IBoxComponentProps, never>;
1
+ /// <reference types="react" />
2
+ import { IBoxComponentProps } from '../Box/model';
3
+ export declare const StyledTable: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
4
+ export declare const StyledTableHeader: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
5
+ export declare const StyledTableHeaderItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
6
+ export declare const StyledTableRow: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
7
+ export declare const StyledTableRowItem: import("styled-components").StyledComponent<import("react").FC<IBoxComponentProps>, any, import("../Box/model").IBaseBoxComponentProps & import("react").HTMLAttributes<HTMLElement>, never>;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
3
- export declare const Tabs: React.FC<ITabsComponentProps>;
4
- export declare const Tab: React.FC<ITabComponentProps>;
5
- export declare const TabHeader: React.FC<ITabCommonComponentProps>;
6
- export declare const TabContent: React.FC<ITabCommonComponentProps>;
1
+ import * as React from 'react';
2
+ import { ITabCommonComponentProps, ITabComponentProps, ITabsComponentProps } from './model';
3
+ export declare const Tabs: React.FC<ITabsComponentProps>;
4
+ export declare const Tab: React.FC<ITabComponentProps>;
5
+ export declare const TabHeader: React.FC<ITabCommonComponentProps>;
6
+ export declare const TabContent: React.FC<ITabCommonComponentProps>;
@@ -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
+ }