@wavv/ui 1.9.4 → 1.9.5

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 (221) hide show
  1. package/build/cjs/types/theme/colorsIndex.d.ts +3 -0
  2. package/build/colors.ts +150 -0
  3. package/build/esm/types/theme/colorsIndex.d.ts +3 -0
  4. package/build/types/assets/icons/ActivityHistory.d.ts +3 -0
  5. package/build/types/assets/icons/Add.d.ts +3 -0
  6. package/build/types/assets/icons/AddCircle.d.ts +3 -0
  7. package/build/types/assets/icons/AddCircleOutline.d.ts +3 -0
  8. package/build/types/assets/icons/AddPerson.d.ts +3 -0
  9. package/build/types/assets/icons/ArrowDown.d.ts +3 -0
  10. package/build/types/assets/icons/ArrowLeft.d.ts +3 -0
  11. package/build/types/assets/icons/ArrowRight.d.ts +3 -0
  12. package/build/types/assets/icons/ArrowUp.d.ts +3 -0
  13. package/build/types/assets/icons/Attachment.d.ts +3 -0
  14. package/build/types/assets/icons/Calendar.d.ts +3 -0
  15. package/build/types/assets/icons/Camera.d.ts +3 -0
  16. package/build/types/assets/icons/Card.d.ts +3 -0
  17. package/build/types/assets/icons/CaretDown.d.ts +3 -0
  18. package/build/types/assets/icons/CaretUp.d.ts +3 -0
  19. package/build/types/assets/icons/Check.d.ts +3 -0
  20. package/build/types/assets/icons/CheckBadge.d.ts +3 -0
  21. package/build/types/assets/icons/CheckCircle.d.ts +3 -0
  22. package/build/types/assets/icons/CheckCircleOutline.d.ts +3 -0
  23. package/build/types/assets/icons/Checkbox.d.ts +3 -0
  24. package/build/types/assets/icons/CheckboxOff.d.ts +3 -0
  25. package/build/types/assets/icons/CheckboxPartial.d.ts +3 -0
  26. package/build/types/assets/icons/ChevronDown.d.ts +3 -0
  27. package/build/types/assets/icons/ChevronLeft.d.ts +3 -0
  28. package/build/types/assets/icons/ChevronRight.d.ts +3 -0
  29. package/build/types/assets/icons/ChevronUp.d.ts +3 -0
  30. package/build/types/assets/icons/Clapperboard.d.ts +3 -0
  31. package/build/types/assets/icons/ClapperboardOpen.d.ts +3 -0
  32. package/build/types/assets/icons/Close.d.ts +3 -0
  33. package/build/types/assets/icons/CloseCircle.d.ts +3 -0
  34. package/build/types/assets/icons/CloseCircleOutline.d.ts +3 -0
  35. package/build/types/assets/icons/Copy.d.ts +3 -0
  36. package/build/types/assets/icons/Devices.d.ts +3 -0
  37. package/build/types/assets/icons/Dialpad.d.ts +3 -0
  38. package/build/types/assets/icons/DoubleArrowLeft.d.ts +3 -0
  39. package/build/types/assets/icons/DoubleArrowRight.d.ts +3 -0
  40. package/build/types/assets/icons/Download.d.ts +3 -0
  41. package/build/types/assets/icons/Drag.d.ts +3 -0
  42. package/build/types/assets/icons/Edit.d.ts +3 -0
  43. package/build/types/assets/icons/Emoji.d.ts +3 -0
  44. package/build/types/assets/icons/EyeOff.d.ts +3 -0
  45. package/build/types/assets/icons/EyeOn.d.ts +3 -0
  46. package/build/types/assets/icons/Facebook.d.ts +3 -0
  47. package/build/types/assets/icons/Filter.d.ts +3 -0
  48. package/build/types/assets/icons/Flask.d.ts +3 -0
  49. package/build/types/assets/icons/Group.d.ts +3 -0
  50. package/build/types/assets/icons/Heart.d.ts +3 -0
  51. package/build/types/assets/icons/HeartOutline.d.ts +3 -0
  52. package/build/types/assets/icons/Help.d.ts +3 -0
  53. package/build/types/assets/icons/Hourglass.d.ts +3 -0
  54. package/build/types/assets/icons/Info.d.ts +3 -0
  55. package/build/types/assets/icons/Instagram.d.ts +3 -0
  56. package/build/types/assets/icons/KebabMenu.d.ts +3 -0
  57. package/build/types/assets/icons/Link.d.ts +3 -0
  58. package/build/types/assets/icons/Linkedin.d.ts +3 -0
  59. package/build/types/assets/icons/Loading.d.ts +3 -0
  60. package/build/types/assets/icons/Logout.d.ts +3 -0
  61. package/build/types/assets/icons/Maximize.d.ts +3 -0
  62. package/build/types/assets/icons/Menu.d.ts +3 -0
  63. package/build/types/assets/icons/Merge.d.ts +3 -0
  64. package/build/types/assets/icons/MergeField.d.ts +3 -0
  65. package/build/types/assets/icons/Message.d.ts +3 -0
  66. package/build/types/assets/icons/Mic.d.ts +3 -0
  67. package/build/types/assets/icons/MicOff.d.ts +3 -0
  68. package/build/types/assets/icons/Minimize.d.ts +3 -0
  69. package/build/types/assets/icons/Mobile.d.ts +3 -0
  70. package/build/types/assets/icons/NotAllowed.d.ts +3 -0
  71. package/build/types/assets/icons/Open.d.ts +3 -0
  72. package/build/types/assets/icons/Pause.d.ts +3 -0
  73. package/build/types/assets/icons/PauseOutline.d.ts +3 -0
  74. package/build/types/assets/icons/Person.d.ts +3 -0
  75. package/build/types/assets/icons/Phone.d.ts +3 -0
  76. package/build/types/assets/icons/PhoneBlocked.d.ts +3 -0
  77. package/build/types/assets/icons/PhoneCallback.d.ts +3 -0
  78. package/build/types/assets/icons/PhoneEnd.d.ts +3 -0
  79. package/build/types/assets/icons/PhoneForward.d.ts +3 -0
  80. package/build/types/assets/icons/PhoneHistory.d.ts +3 -0
  81. package/build/types/assets/icons/PhoneHold.d.ts +3 -0
  82. package/build/types/assets/icons/PhoneTalk.d.ts +3 -0
  83. package/build/types/assets/icons/PhoneTransfer.d.ts +3 -0
  84. package/build/types/assets/icons/Play.d.ts +3 -0
  85. package/build/types/assets/icons/PlayOutline.d.ts +3 -0
  86. package/build/types/assets/icons/ProfileUser.d.ts +3 -0
  87. package/build/types/assets/icons/RadioButton.d.ts +3 -0
  88. package/build/types/assets/icons/RadioButtonOff.d.ts +3 -0
  89. package/build/types/assets/icons/Record.d.ts +3 -0
  90. package/build/types/assets/icons/Refresh.d.ts +3 -0
  91. package/build/types/assets/icons/Rocket.d.ts +3 -0
  92. package/build/types/assets/icons/Schedule.d.ts +3 -0
  93. package/build/types/assets/icons/ScheduleOutline.d.ts +3 -0
  94. package/build/types/assets/icons/Screenshot.d.ts +3 -0
  95. package/build/types/assets/icons/Search.d.ts +3 -0
  96. package/build/types/assets/icons/Settings.d.ts +3 -0
  97. package/build/types/assets/icons/Share.d.ts +3 -0
  98. package/build/types/assets/icons/ShieldCheck.d.ts +3 -0
  99. package/build/types/assets/icons/ShieldSlash.d.ts +3 -0
  100. package/build/types/assets/icons/Sort.d.ts +3 -0
  101. package/build/types/assets/icons/Spotify.d.ts +3 -0
  102. package/build/types/assets/icons/Star.d.ts +3 -0
  103. package/build/types/assets/icons/StarOutline.d.ts +3 -0
  104. package/build/types/assets/icons/Stop.d.ts +3 -0
  105. package/build/types/assets/icons/StopOutline.d.ts +3 -0
  106. package/build/types/assets/icons/Template.d.ts +3 -0
  107. package/build/types/assets/icons/ToggleOff.d.ts +3 -0
  108. package/build/types/assets/icons/ToggleOn.d.ts +3 -0
  109. package/build/types/assets/icons/Transfer.d.ts +3 -0
  110. package/build/types/assets/icons/TransferCancel.d.ts +3 -0
  111. package/build/types/assets/icons/Trash.d.ts +3 -0
  112. package/build/types/assets/icons/Twitter.d.ts +3 -0
  113. package/build/types/assets/icons/Upload.d.ts +3 -0
  114. package/build/types/assets/icons/Video.d.ts +3 -0
  115. package/build/types/assets/icons/Voicemail.d.ts +3 -0
  116. package/build/types/assets/icons/VolOn.d.ts +3 -0
  117. package/build/types/assets/icons/Warning.d.ts +3 -0
  118. package/build/types/assets/icons/WarningCircleOutline.d.ts +3 -0
  119. package/build/types/assets/icons/Youtube.d.ts +3 -0
  120. package/build/types/components/Accordion.d.ts +45 -0
  121. package/build/types/components/Audio.d.ts +29 -0
  122. package/build/types/components/BarChart.d.ts +25 -0
  123. package/build/types/components/Button/Button.d.ts +17 -0
  124. package/build/types/components/Button/ButtonLoader.d.ts +4 -0
  125. package/build/types/components/Button/ButtonTypes.d.ts +150 -0
  126. package/build/types/components/Button/Group.d.ts +18 -0
  127. package/build/types/components/Button/index.d.ts +2 -0
  128. package/build/types/components/Calendar.d.ts +14 -0
  129. package/build/types/components/ChartHelpers.d.ts +36 -0
  130. package/build/types/components/Checkbox.d.ts +20 -0
  131. package/build/types/components/Code/Code.d.ts +26 -0
  132. package/build/types/components/Code/Copy.d.ts +4 -0
  133. package/build/types/components/Code/Endpoint.d.ts +5 -0
  134. package/build/types/components/Code/index.d.ts +2 -0
  135. package/build/types/components/DocTable.d.ts +7 -0
  136. package/build/types/components/DraftEditor.d.ts +56 -0
  137. package/build/types/components/Dropdown/Dropdown.d.ts +85 -0
  138. package/build/types/components/Dropdown/DropdownUtils.d.ts +56 -0
  139. package/build/types/components/Dropdown/index.d.ts +4 -0
  140. package/build/types/components/DropdownMenu.d.ts +78 -0
  141. package/build/types/components/Form.d.ts +174 -0
  142. package/build/types/components/FormControl.d.ts +18 -0
  143. package/build/types/components/Grid.d.ts +55 -0
  144. package/build/types/components/Icon/Icon.d.ts +38 -0
  145. package/build/types/components/Icon/icons.d.ts +222 -0
  146. package/build/types/components/Icon/index.d.ts +2 -0
  147. package/build/types/components/ImageViewer.d.ts +20 -0
  148. package/build/types/components/InlineCode.d.ts +7 -0
  149. package/build/types/components/Input.d.ts +192 -0
  150. package/build/types/components/InputHelpers.d.ts +90 -0
  151. package/build/types/components/Label.d.ts +16 -0
  152. package/build/types/components/LineChart.d.ts +3 -0
  153. package/build/types/components/Menu.d.ts +53 -0
  154. package/build/types/components/Message.d.ts +25 -0
  155. package/build/types/components/MessageHr.d.ts +11 -0
  156. package/build/types/components/Modal.d.ts +66 -0
  157. package/build/types/components/MultiSelect.d.ts +46 -0
  158. package/build/types/components/Notification.d.ts +14 -0
  159. package/build/types/components/Options.d.ts +45 -0
  160. package/build/types/components/Pagination.d.ts +13 -0
  161. package/build/types/components/PieChart.d.ts +18 -0
  162. package/build/types/components/Progress/CirclePercent.d.ts +10 -0
  163. package/build/types/components/Progress/Progress.d.ts +23 -0
  164. package/build/types/components/Progress/index.d.ts +2 -0
  165. package/build/types/components/Radio.d.ts +16 -0
  166. package/build/types/components/Slider.d.ts +15 -0
  167. package/build/types/components/Spacer.d.ts +6 -0
  168. package/build/types/components/Spinner.d.ts +16 -0
  169. package/build/types/components/Table/Body.d.ts +8 -0
  170. package/build/types/components/Table/Column.d.ts +10 -0
  171. package/build/types/components/Table/Content.d.ts +19 -0
  172. package/build/types/components/Table/Header.d.ts +7 -0
  173. package/build/types/components/Table/HeaderCell.d.ts +14 -0
  174. package/build/types/components/Table/Row.d.ts +3 -0
  175. package/build/types/components/Table/Table.d.ts +28 -0
  176. package/build/types/components/Table/context.d.ts +4 -0
  177. package/build/types/components/Table/index.d.ts +2 -0
  178. package/build/types/components/Table/types.d.ts +43 -0
  179. package/build/types/components/Table/utils.d.ts +4 -0
  180. package/build/types/components/Tabs.d.ts +31 -0
  181. package/build/types/components/Toggle.d.ts +18 -0
  182. package/build/types/components/Tooltip.d.ts +50 -0
  183. package/build/types/components/TransferList.d.ts +47 -0
  184. package/build/types/components/draftUtils.d.ts +49 -0
  185. package/build/types/components/helpers/getIcon.d.ts +8 -0
  186. package/build/types/components/helpers/getPopPosition.d.ts +6 -0
  187. package/build/types/components/helpers/isPropAllowed.d.ts +2 -0
  188. package/build/types/components/helpers/styledProps.d.ts +26 -0
  189. package/build/types/components/types.d.ts +80 -0
  190. package/build/types/global-styles/ResetStyles.d.ts +9 -0
  191. package/build/types/global-styles/ScrollbarStyles.d.ts +2 -0
  192. package/build/types/global-styles/ToastStyles.d.ts +2 -0
  193. package/build/types/global-styles/index.d.ts +3 -0
  194. package/build/types/hooks/index.d.ts +7 -0
  195. package/build/types/hooks/useConfirm.d.ts +13 -0
  196. package/build/types/hooks/useElementObserver.d.ts +8 -0
  197. package/build/types/hooks/useEventListener.d.ts +3 -0
  198. package/build/types/hooks/useOnClickOutside.d.ts +3 -0
  199. package/build/types/hooks/usePrevious.d.ts +2 -0
  200. package/build/types/hooks/useSelect.d.ts +20 -0
  201. package/build/types/hooks/useSelectAll.d.ts +12 -0
  202. package/build/types/hooks/useWindowSize.d.ts +5 -0
  203. package/build/types/index.d.ts +64 -0
  204. package/build/types/theme/ThemeTypes.d.ts +294 -0
  205. package/build/types/theme/colors.d.ts +201 -0
  206. package/build/types/theme/colorsIndex.d.ts +3 -0
  207. package/build/types/theme/common/button.d.ts +24 -0
  208. package/build/types/theme/common/common.d.ts +103 -0
  209. package/build/types/theme/common/index.d.ts +3 -0
  210. package/build/types/theme/dark.d.ts +3 -0
  211. package/build/types/theme/darkScale.d.ts +22 -0
  212. package/build/types/theme/index.d.ts +10 -0
  213. package/build/types/theme/light.d.ts +3 -0
  214. package/build/types/theme/lightScale.d.ts +22 -0
  215. package/build/types/utils/chunk.d.ts +2 -0
  216. package/build/types/utils/copyToClipboard.d.ts +2 -0
  217. package/build/types/utils/formatDate.d.ts +7 -0
  218. package/build/types/utils/index.d.ts +5 -0
  219. package/build/types/utils/numberWithCommas.d.ts +2 -0
  220. package/build/types/utils/range.d.ts +1 -0
  221. package/package.json +1 -1
@@ -0,0 +1,201 @@
1
+ declare const colors: {
2
+ logo1: string;
3
+ logo2: string;
4
+ logo3: string;
5
+ brand: string;
6
+ brandShade1: string;
7
+ brandShade2: string;
8
+ brandDark: string;
9
+ brandDarkShade1: string;
10
+ brandTint0: string;
11
+ brandTint1: string;
12
+ brandTint2: string;
13
+ brandTint3: string;
14
+ brandTint4: string;
15
+ brandBackground0: string;
16
+ brandBackground1: string;
17
+ brandBackground2: string;
18
+ brandBackground3: string;
19
+ brandBackground4: string;
20
+ brandBackground5: string;
21
+ error: string;
22
+ errorShade1: string;
23
+ errorShade2: string;
24
+ errorTint0: string;
25
+ errorTint1: string;
26
+ errorTint2: string;
27
+ warning: string;
28
+ warningShade1: string;
29
+ warningShade2: string;
30
+ warningTint0: string;
31
+ warningTint1: string;
32
+ warningTint2: string;
33
+ alert: string;
34
+ alertShade1: string;
35
+ alertShade2: string;
36
+ alertTint0: string;
37
+ alertTint1: string;
38
+ alertTint2: string;
39
+ success: string;
40
+ successShade1: string;
41
+ successShade2: string;
42
+ successTint0: string;
43
+ successTint1: string;
44
+ successTint2: string;
45
+ grayscale0: string;
46
+ grayscale1: string;
47
+ grayscale2: string;
48
+ grayscale3: string;
49
+ grayscale4: string;
50
+ grayscale5: string;
51
+ grayscale6: string;
52
+ grayscale7: string;
53
+ grayscale8: string;
54
+ grayscale9: string;
55
+ grayscale10: string;
56
+ contrast0: string;
57
+ contrast1: string;
58
+ contrast2: string;
59
+ contrast3: string;
60
+ contrast4: string;
61
+ contrast5: string;
62
+ contrast6: string;
63
+ contrast7: string;
64
+ contrast8: string;
65
+ contrast9: string;
66
+ contrast10: string;
67
+ };
68
+ export default colors;
69
+ export interface IColors {
70
+ /** #0074F4 */
71
+ logo1: string;
72
+ /** #00A9E2 */
73
+ logo2: string;
74
+ /** #67C728 */
75
+ logo3: string;
76
+ /** #0074F4 */
77
+ brand: string;
78
+ /** #0068DC */
79
+ brandShade1: string;
80
+ /** #005DC3 */
81
+ brandShade2: string;
82
+ /** #4C9EF7 */
83
+ brandDark: string;
84
+ /** #5EA8F8 */
85
+ brandDarkShade1: string;
86
+ /** 5% of #0074F4 */
87
+ brandTint0: string;
88
+ /** 10% of #0074F4 */
89
+ brandTint1: string;
90
+ /** 20% of #0074F4 */
91
+ brandTint2: string;
92
+ /** 30% of #0074F4 */
93
+ brandTint3: string;
94
+ /** 40% of #0074F4 */
95
+ brandTint4: string;
96
+ /** #001828 */
97
+ brandBackground0: string;
98
+ /** #0D2433 */
99
+ brandBackground1: string;
100
+ /** #192F3D */
101
+ brandBackground2: string;
102
+ /** #334653 */
103
+ brandBackground3: string;
104
+ /** #475964 */
105
+ brandBackground4: string;
106
+ /** #596A74 */
107
+ brandBackground5: string;
108
+ /** #FF6068 */
109
+ error: string;
110
+ /** #E6565E */
111
+ errorShade1: string;
112
+ /** #CC4D53 */
113
+ errorShade2: string;
114
+ /** 5% of #FF6068 */
115
+ errorTint0: string;
116
+ /** 10% of #FF6068 */
117
+ errorTint1: string;
118
+ /** 20% of #FF6068 */
119
+ errorTint2: string;
120
+ /** #FF9900 */
121
+ warning: string;
122
+ /** #E68A00 */
123
+ warningShade1: string;
124
+ /** #CC7A00 */
125
+ warningShade2: string;
126
+ /** 5% of #FF9900 */
127
+ warningTint0: string;
128
+ /** 10% of #FF9900 */
129
+ warningTint1: string;
130
+ /** 20% of #FF9900 */
131
+ warningTint2: string;
132
+ /** #F0BB00 */
133
+ alert: string;
134
+ /** #E4B200 */
135
+ alertShade1: string;
136
+ /** #C09600 */
137
+ alertShade2: string;
138
+ /** 5% of #F0BB00 */
139
+ alertTint0: string;
140
+ /** 10% of #F0BB00 */
141
+ alertTint1: string;
142
+ /** 20% of #F0BB00 */
143
+ alertTint2: string;
144
+ /** #00C242 */
145
+ success: string;
146
+ /** #00AF3B */
147
+ successShade1: string;
148
+ /** #009B35 */
149
+ successShade2: string;
150
+ /** 5% of #00C242 */
151
+ successTint0: string;
152
+ /** 10% of #00C242 */
153
+ successTint1: string;
154
+ /** 20% of #00C242 */
155
+ successTint2: string;
156
+ /** 5% of #001D32 */
157
+ grayscale0: string;
158
+ /** 10% of #001D32 */
159
+ grayscale1: string;
160
+ /** 20% of #001D32 */
161
+ grayscale2: string;
162
+ /** 30% of #001D32 */
163
+ grayscale3: string;
164
+ /** 40% of #001D32 */
165
+ grayscale4: string;
166
+ /** 50% of #001D32 */
167
+ grayscale5: string;
168
+ /** 60% of #001D32 */
169
+ grayscale6: string;
170
+ /** 70% of #001D32 */
171
+ grayscale7: string;
172
+ /** 80% of #001D32 */
173
+ grayscale8: string;
174
+ /** 90% of #001D32 */
175
+ grayscale9: string;
176
+ /** #001D32 */
177
+ grayscale10: string;
178
+ /** 5% of #FFFFFF */
179
+ contrast0: string;
180
+ /** 10% of #FFFFFF */
181
+ contrast1: string;
182
+ /** 20% of #FFFFFF */
183
+ contrast2: string;
184
+ /** 30% of #FFFFFF */
185
+ contrast3: string;
186
+ /** 40% of #FFFFFF */
187
+ contrast4: string;
188
+ /** 50% of #FFFFFF */
189
+ contrast5: string;
190
+ /** 60% of #FFFFFF */
191
+ contrast6: string;
192
+ /** 70% of #FFFFFF */
193
+ contrast7: string;
194
+ /** 80% of #FFFFFF */
195
+ contrast8: string;
196
+ /** 90% of #FFFFFF */
197
+ contrast9: string;
198
+ /** #FFFFFF */
199
+ contrast10: string;
200
+ }
201
+ export type ColorNames = keyof typeof colors;
@@ -0,0 +1,3 @@
1
+ export { default as colors } from './colors';
2
+ export { default as lightScale } from './lightScale';
3
+ export { default as darkScale } from './darkScale';
@@ -0,0 +1,24 @@
1
+ declare const _default: {
2
+ small: {
3
+ height: number;
4
+ iconSize: number;
5
+ font: number;
6
+ padding: number;
7
+ iconOnlyPadding: number;
8
+ };
9
+ medium: {
10
+ height: number;
11
+ iconSize: number;
12
+ font: number;
13
+ padding: number;
14
+ iconOnlyPadding: number;
15
+ };
16
+ large: {
17
+ height: number;
18
+ iconSize: number;
19
+ font: number;
20
+ padding: number;
21
+ iconOnlyPadding: number;
22
+ };
23
+ };
24
+ export default _default;
@@ -0,0 +1,103 @@
1
+ declare const _default: {
2
+ color: {
3
+ logo1: string;
4
+ logo2: string;
5
+ logo3: string;
6
+ brand: string;
7
+ brandShade1: string;
8
+ brandShade2: string;
9
+ brandDark: string;
10
+ brandDarkShade1: string;
11
+ brandTint0: string;
12
+ brandTint1: string;
13
+ brandTint2: string;
14
+ brandTint3: string;
15
+ brandTint4: string;
16
+ brandBackground0: string;
17
+ brandBackground1: string;
18
+ brandBackground2: string;
19
+ brandBackground3: string;
20
+ brandBackground4: string;
21
+ brandBackground5: string;
22
+ error: string;
23
+ errorShade1: string;
24
+ errorShade2: string;
25
+ errorTint0: string;
26
+ errorTint1: string;
27
+ errorTint2: string;
28
+ warning: string;
29
+ warningShade1: string;
30
+ warningShade2: string;
31
+ warningTint0: string;
32
+ warningTint1: string;
33
+ warningTint2: string;
34
+ alert: string;
35
+ alertShade1: string;
36
+ alertShade2: string;
37
+ alertTint0: string;
38
+ alertTint1: string;
39
+ alertTint2: string;
40
+ success: string;
41
+ successShade1: string;
42
+ successShade2: string;
43
+ successTint0: string;
44
+ successTint1: string;
45
+ successTint2: string;
46
+ grayscale0: string;
47
+ grayscale1: string;
48
+ grayscale2: string;
49
+ grayscale3: string;
50
+ grayscale4: string;
51
+ grayscale5: string;
52
+ grayscale6: string;
53
+ grayscale7: string;
54
+ grayscale8: string;
55
+ grayscale9: string;
56
+ grayscale10: string;
57
+ contrast0: string;
58
+ contrast1: string;
59
+ contrast2: string;
60
+ contrast3: string;
61
+ contrast4: string;
62
+ contrast5: string;
63
+ contrast6: string;
64
+ contrast7: string;
65
+ contrast8: string;
66
+ contrast9: string;
67
+ contrast10: string;
68
+ };
69
+ elevation0: string;
70
+ elevation1: string;
71
+ elevation2: string;
72
+ elevation3: string;
73
+ elevation4: string;
74
+ font: {
75
+ weight: {
76
+ thin: number;
77
+ light: number;
78
+ default: number;
79
+ medium: number;
80
+ semiBold: number;
81
+ bold: number;
82
+ };
83
+ size: {
84
+ xs: number;
85
+ sm: number;
86
+ md: number;
87
+ lg: number;
88
+ xl: number;
89
+ };
90
+ family: {
91
+ default: string;
92
+ medium: string;
93
+ light: string;
94
+ };
95
+ };
96
+ size: {
97
+ xs: number;
98
+ sm: number;
99
+ md: number;
100
+ lg: number;
101
+ };
102
+ };
103
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import common from './common';
2
+ export { default as button } from './button';
3
+ export default common;
@@ -0,0 +1,3 @@
1
+ import { ITheme } from './ThemeTypes';
2
+ declare const dark: ITheme;
3
+ export default dark;
@@ -0,0 +1,22 @@
1
+ declare const darkScale: {
2
+ scale0: string;
3
+ scale1: string;
4
+ scale2: string;
5
+ scale3: string;
6
+ scale4: string;
7
+ scale5: string;
8
+ scale6: string;
9
+ scale7: string;
10
+ scale8: string;
11
+ scale9: string;
12
+ scale10: string;
13
+ accent: string;
14
+ accentShade: string;
15
+ background0: string;
16
+ background1: string;
17
+ background2: string;
18
+ background3: string;
19
+ background4: string;
20
+ background5: string;
21
+ };
22
+ export default darkScale;
@@ -0,0 +1,10 @@
1
+ import { ITheme } from './ThemeTypes';
2
+ type Theme = {
3
+ light: ITheme;
4
+ dark: ITheme;
5
+ };
6
+ declare const theme: Theme;
7
+ export default theme;
8
+ export type { ITheme } from './ThemeTypes';
9
+ export type { ThemeProp } from './ThemeTypes';
10
+ export type { ButtonState } from './ThemeTypes';
@@ -0,0 +1,3 @@
1
+ import { ITheme } from './ThemeTypes';
2
+ declare const light: ITheme;
3
+ export default light;
@@ -0,0 +1,22 @@
1
+ declare const lightScale: {
2
+ scale0: string;
3
+ scale1: string;
4
+ scale2: string;
5
+ scale3: string;
6
+ scale4: string;
7
+ scale5: string;
8
+ scale6: string;
9
+ scale7: string;
10
+ scale8: string;
11
+ scale9: string;
12
+ scale10: string;
13
+ accent: string;
14
+ accentShade: string;
15
+ background0: string;
16
+ background1: string;
17
+ background2: string;
18
+ background3: string;
19
+ background4: string;
20
+ background5: string;
21
+ };
22
+ export default lightScale;
@@ -0,0 +1,2 @@
1
+ declare const chunk: <T>(array: T[], chunkLength: number) => T[][];
2
+ export default chunk;
@@ -0,0 +1,2 @@
1
+ declare const copyToClipboard: (text: string) => void;
2
+ export default copyToClipboard;
@@ -0,0 +1,7 @@
1
+ type TimeSpec = 'onlyTime' | 'withTime' | 'relative';
2
+ type TimeOptions = {
3
+ time?: TimeSpec;
4
+ lowercase?: boolean;
5
+ };
6
+ declare const formatDate: (value: Date, option?: TimeSpec | TimeOptions) => string;
7
+ export default formatDate;
@@ -0,0 +1,5 @@
1
+ export { default as chunk } from './chunk';
2
+ export { default as range } from './range';
3
+ export { default as formatDate } from './formatDate';
4
+ export { default as copyToClipboard } from './copyToClipboard';
5
+ export { default as numberWithCommas } from './numberWithCommas';
@@ -0,0 +1,2 @@
1
+ declare const numberWithCommas: (number: number) => string;
2
+ export default numberWithCommas;
@@ -0,0 +1 @@
1
+ export default function range(from: number, to?: number, step?: number): number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "files": [
5
5
  "build/**/*"
6
6
  ],