@mycause/ui 0.0.0-cef8045e → 0.0.0-cf4c0a54

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 (236) hide show
  1. package/README.md +17 -0
  2. package/dist/components/anchor/anchor.d.ts +1 -1
  3. package/dist/components/anchor/anchor.stories.d.ts +2 -2
  4. package/dist/components/anchor/bold-anchor.d.ts +1 -1
  5. package/dist/components/anchor/bold-anchor.stories.d.ts +2 -2
  6. package/dist/components/avatar/avatar.d.ts +3 -3
  7. package/dist/components/avatar/avatar.stories.d.ts +3 -3
  8. package/dist/components/avatar/image-avatar.d.ts +1 -1
  9. package/dist/components/avatar/text-avatar.d.ts +1 -1
  10. package/dist/components/button/button.d.ts +5 -2
  11. package/dist/components/button/button.stories.d.ts +10 -10
  12. package/dist/components/button-select/button-select.d.ts +1 -1
  13. package/dist/components/button-select/button-select.stories.d.ts +2 -2
  14. package/dist/components/campaign-card/campaign-card.d.ts +2 -2
  15. package/dist/components/campaign-card/campaign-card.stories.d.ts +3 -3
  16. package/dist/components/campaign-of-month/campaign-of-month.d.ts +1 -1
  17. package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +3 -3
  18. package/dist/components/charity-card/charity-card.d.ts +2 -2
  19. package/dist/components/charity-card/charity-card.stories.d.ts +3 -3
  20. package/dist/components/checkbox/checkbox.d.ts +1 -1
  21. package/dist/components/checkbox/checkbox.stories.d.ts +4 -4
  22. package/dist/components/chips/chip.d.ts +2 -2
  23. package/dist/components/chips/chips.d.ts +2 -2
  24. package/dist/components/chips/chips.stories.d.ts +4 -4
  25. package/dist/components/chips/input-chips.d.ts +1 -1
  26. package/dist/components/chips/input-chips.stories.d.ts +2 -2
  27. package/dist/components/combo-field/combo-field-expander.d.ts +1 -1
  28. package/dist/components/combo-field/combo-field.d.ts +1 -1
  29. package/dist/components/combo-field/combo-field.stories.d.ts +3 -3
  30. package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +3 -3
  31. package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +4 -4
  32. package/dist/components/comment-section/comment-section.d.ts +2 -11
  33. package/dist/components/comment-section/comment-section.stories.d.ts +3 -3
  34. package/dist/components/comment-section/comment-type.d.ts +10 -0
  35. package/dist/components/comment-section/index.d.ts +1 -1
  36. package/dist/components/comment-section/sub-comments.d.ts +4 -4
  37. package/dist/components/cropper/cropper.d.ts +1 -1
  38. package/dist/components/cropper/cropper.stories.d.ts +2 -2
  39. package/dist/components/date-picker/date-picker.d.ts +1 -1
  40. package/dist/components/date-picker/date-picker.stories.d.ts +6 -6
  41. package/dist/components/date-picker/index.d.ts +1 -1
  42. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +2 -2
  43. package/dist/components/date-picker/single-date-picker.d.ts +3 -2
  44. package/dist/components/donate-card/donate-card.d.ts +2 -2
  45. package/dist/components/donate-card/donate-card.stories.d.ts +3 -3
  46. package/dist/components/donation-form/donation-details.d.ts +1 -1
  47. package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +2 -2
  48. package/dist/components/donation-form/donation-form.d.ts +2 -2
  49. package/dist/components/donation-form/donation-form.stories.d.ts +3 -3
  50. package/dist/components/donation-form/donation-payment.d.ts +2 -2
  51. package/dist/components/donation-form/donation-select.d.ts +2 -2
  52. package/dist/components/elevation/elevation.d.ts +1 -1
  53. package/dist/components/elevation/elevation.stories.d.ts +2 -2
  54. package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +3 -3
  55. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +2 -2
  56. package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +3 -3
  57. package/dist/components/field-helpers/field-helper-text.d.ts +2 -2
  58. package/dist/components/field-helpers/field-label.d.ts +1 -1
  59. package/dist/components/footerV2/footerV2.d.ts +2 -2
  60. package/dist/components/footerV2/footerV2.stories.d.ts +2 -2
  61. package/dist/components/fundraising-section/fundraising-section.d.ts +2 -2
  62. package/dist/components/fundraising-section/fundraising-section.stories.d.ts +3 -3
  63. package/dist/components/hero-banner/hero-banner.d.ts +2 -2
  64. package/dist/components/hero-banner/hero-banner.stories.d.ts +3 -3
  65. package/dist/components/horizontalbar/horizontalbar.d.ts +2 -2
  66. package/dist/components/horizontalbar/horizontalbar.stories.d.ts +5 -5
  67. package/dist/components/icon/btn_google_light_normal_ios.svg.d.ts +1 -1
  68. package/dist/components/icon/facebook_6.svg.d.ts +1 -1
  69. package/dist/components/icon/heart-toggle.d.ts +3 -1
  70. package/dist/components/icon/heart-toggle.stories.d.ts +2 -2
  71. package/dist/components/icon/icon-button-group.d.ts +1 -1
  72. package/dist/components/icon/icon-button-group.stories.d.ts +2 -2
  73. package/dist/components/icon/icon-button.d.ts +3 -1
  74. package/dist/components/icon/icon-button.stories.d.ts +3 -3
  75. package/dist/components/icon/icon.d.ts +1 -1
  76. package/dist/components/icon/icon.stories.d.ts +4 -4
  77. package/dist/components/icon/material-icon.d.ts +2 -2
  78. package/dist/components/index.d.ts +1 -0
  79. package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +2 -2
  80. package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +2 -2
  81. package/dist/components/input/InputDefault.d.ts +1 -1
  82. package/dist/components/input/input.stories.d.ts +4 -4
  83. package/dist/components/input-social/Icons.d.ts +5 -0
  84. package/dist/components/input-social/InputSocial.d.ts +12 -0
  85. package/dist/components/input-social/index.d.ts +1 -0
  86. package/dist/components/input-social/input-social.stories.d.ts +12 -0
  87. package/dist/components/layout/box.d.ts +232 -224
  88. package/dist/components/layout/flex.d.ts +4 -4
  89. package/dist/components/layout/flex.stories.d.ts +2 -2
  90. package/dist/components/layout/grid.d.ts +2 -2
  91. package/dist/components/layout/grid.stories.d.ts +2 -2
  92. package/dist/components/layout/stack.d.ts +2 -2
  93. package/dist/components/layout/stack.stories.d.ts +4 -4
  94. package/dist/components/list/list.d.ts +5 -3
  95. package/dist/components/list/list.stories.d.ts +7 -7
  96. package/dist/components/login/login.d.ts +2 -2
  97. package/dist/components/login/login.stories.d.ts +3 -3
  98. package/dist/components/logo/logo-type.d.ts +3 -3
  99. package/dist/components/menu/menu-list-item.d.ts +2 -2
  100. package/dist/components/menu/menu-list.d.ts +2 -2
  101. package/dist/components/menu/menu.stories.d.ts +2 -2
  102. package/dist/components/modal/modal-image.d.ts +2 -2
  103. package/dist/components/modal/modal.d.ts +1 -1
  104. package/dist/components/modal/modal.stories.d.ts +7 -7
  105. package/dist/components/my-account-choose-charity-card/index.d.ts +1 -1
  106. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.d.ts +2 -2
  107. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.stories.d.ts +3 -3
  108. package/dist/components/my-account-frp-closed/Icon.d.ts +2 -2
  109. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +2 -2
  110. package/dist/components/my-account-frp-closed/frp-information.d.ts +1 -1
  111. package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +1 -1
  112. package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +4 -4
  113. package/dist/components/my-account-frp-preview/Icon.d.ts +2 -2
  114. package/dist/components/my-account-frp-preview/frp-information.d.ts +2 -2
  115. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +2 -2
  116. package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +2 -2
  117. package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +4 -4
  118. package/dist/components/my-account-sidebar/Icon.d.ts +12 -12
  119. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +5 -4
  120. package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +2 -2
  121. package/dist/components/my-account-start-fundraise-card/index.d.ts +1 -1
  122. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +2 -2
  123. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +9 -3
  124. package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +2 -2
  125. package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +2 -2
  126. package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +2 -2
  127. package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +2 -2
  128. package/dist/components/nav/icons/IconBigger.d.ts +2 -2
  129. package/dist/components/nav/icons/IconSmaller.d.ts +2 -2
  130. package/dist/components/nav/nav-actions.d.ts +1 -1
  131. package/dist/components/nav/nav-bar.d.ts +2 -2
  132. package/dist/components/nav/nav-call-to-action.d.ts +3 -3
  133. package/dist/components/nav/nav-expanded-charity.d.ts +2 -2
  134. package/dist/components/nav/nav-expanded.d.ts +2 -2
  135. package/dist/components/nav/nav-list.d.ts +6 -6
  136. package/dist/components/nav/nav-menu-control.d.ts +1 -1
  137. package/dist/components/nav/nav-menu.d.ts +3 -3
  138. package/dist/components/nav/nav-myaccount.d.ts +3 -3
  139. package/dist/components/nav/nav-search-control.d.ts +2 -2
  140. package/dist/components/nav/nav-search.d.ts +2 -2
  141. package/dist/components/nav/nav-sign-in-control.d.ts +1 -1
  142. package/dist/components/nav/nav-user-menu-items.d.ts +6 -6
  143. package/dist/components/nav/nav-user-menu.d.ts +4 -4
  144. package/dist/components/nav/nav.d.ts +8 -8
  145. package/dist/components/nav/nav.stories.d.ts +3 -3
  146. package/dist/components/navigation/navigation-actions.d.ts +1 -1
  147. package/dist/components/navigation/navigation-bar.d.ts +2 -2
  148. package/dist/components/navigation/navigation-call-to-action.d.ts +3 -3
  149. package/dist/components/navigation/navigation-expanded.d.ts +2 -2
  150. package/dist/components/navigation/navigation-list.d.ts +6 -6
  151. package/dist/components/navigation/navigation-menu-control.d.ts +1 -1
  152. package/dist/components/navigation/navigation-menu.d.ts +3 -3
  153. package/dist/components/navigation/navigation-search-control.d.ts +2 -2
  154. package/dist/components/navigation/navigation-search.d.ts +2 -2
  155. package/dist/components/navigation/navigation-sign-in-control.d.ts +1 -1
  156. package/dist/components/navigation/navigation-user-menu-items.d.ts +6 -6
  157. package/dist/components/navigation/navigation-user-menu.d.ts +4 -4
  158. package/dist/components/navigation/navigation.d.ts +8 -8
  159. package/dist/components/navigation/navigation.stories.d.ts +4 -4
  160. package/dist/components/partner-chart-stats/partner-chart-stats.d.ts +2 -2
  161. package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +3 -3
  162. package/dist/components/partner-monthly-donations/index.d.ts +1 -1
  163. package/dist/components/partner-monthly-donations/partner-monthly-donations.d.ts +2 -2
  164. package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +2 -2
  165. package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +2 -2
  166. package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +2 -2
  167. package/dist/components/partner-toggle-button/index.d.ts +1 -1
  168. package/dist/components/partner-toggle-button/partner-toggle-button-block.d.ts +2 -2
  169. package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +2 -2
  170. package/dist/components/partner-toggle-button/partner-toggle-button.d.ts +2 -2
  171. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +3 -2
  172. package/dist/components/phone-number-input/phone-number-input-v2.d.ts +2 -2
  173. package/dist/components/phone-number-input/phone-number-input.d.ts +2 -2
  174. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +12 -6
  175. package/dist/components/popup/popup.d.ts +2 -2
  176. package/dist/components/popup/popup.stories.d.ts +3 -3
  177. package/dist/components/progressbar/progress-bar-circle.d.ts +2 -2
  178. package/dist/components/progressbar/progressbar.d.ts +2 -2
  179. package/dist/components/progressbar/progressbar.stories.d.ts +4 -4
  180. package/dist/components/radio/radio-group.d.ts +1 -1
  181. package/dist/components/radio/radio-group.stories.d.ts +2 -2
  182. package/dist/components/radio/radio.d.ts +3 -1
  183. package/dist/components/radio/radio.stories.d.ts +4 -4
  184. package/dist/components/select/select-enhanced.d.ts +3 -2
  185. package/dist/components/select/select-helper-text.d.ts +1 -1
  186. package/dist/components/select/select-v2.d.ts +3 -2
  187. package/dist/components/select/select.d.ts +2 -2
  188. package/dist/components/select/select.stories.d.ts +6 -6
  189. package/dist/components/spinner/spinner.d.ts +3 -2
  190. package/dist/components/spinner/spinner.stories.d.ts +8 -2
  191. package/dist/components/start-campaign-card/start-campaign-card.d.ts +2 -2
  192. package/dist/components/start-campaign-card/start-campaign-card.stories.d.ts +3 -3
  193. package/dist/components/statistics/statistics.d.ts +1 -1
  194. package/dist/components/statistics/statistics.stories.d.ts +2 -2
  195. package/dist/components/switch/index.d.ts +1 -0
  196. package/dist/components/switch/switch-v2.d.ts +8 -0
  197. package/dist/components/switch/switch.d.ts +1 -1
  198. package/dist/components/switch/switch.stories.d.ts +10 -4
  199. package/dist/components/table/partner-monthly-table.d.ts +5 -3
  200. package/dist/components/table/partner-monthly-table.stories.d.ts +3 -3
  201. package/dist/components/tabs/nav-tabs.d.ts +1 -1
  202. package/dist/components/tabs/tab-text-label.d.ts +1 -1
  203. package/dist/components/tabs/tabs.d.ts +1 -1
  204. package/dist/components/tabs/tabs.stories.d.ts +2 -2
  205. package/dist/components/text/text.d.ts +4 -5
  206. package/dist/components/text/text.stories.d.ts +7 -7
  207. package/dist/components/text-field/text-field-helper-text.d.ts +1 -1
  208. package/dist/components/text-field/text-field-search.d.ts +3 -2
  209. package/dist/components/text-field/text-field.d.ts +1 -0
  210. package/dist/components/text-field/text-field.stories.d.ts +3 -3
  211. package/dist/components/this-month-card/this-month-card.d.ts +2 -2
  212. package/dist/components/this-month-card/this-month-card.stories.d.ts +2 -2
  213. package/dist/components/toast/Icons.d.ts +4 -4
  214. package/dist/components/toast/toast.d.ts +2 -2
  215. package/dist/components/toast/toast.stories.d.ts +2 -2
  216. package/dist/components/transaction-card/Dot.d.ts +2 -2
  217. package/dist/components/transaction-card/transaction-card.d.ts +10 -8
  218. package/dist/components/transaction-card/transaction-card.stories.d.ts +9 -3
  219. package/dist/components/uploader/uploader.d.ts +1 -1
  220. package/dist/index.css +2 -0
  221. package/dist/index.css.map +1 -0
  222. package/dist/index.esm.css +2 -0
  223. package/dist/index.esm.css.map +1 -0
  224. package/dist/index.esm.js +6968 -13471
  225. package/dist/index.js +6967 -13468
  226. package/dist/theme/theme.d.ts +5 -5
  227. package/dist/utils/center-decorator.d.ts +1 -1
  228. package/dist/utils/component-matrix.d.ts +1 -1
  229. package/dist/utils/grid-decorator.d.ts +1 -1
  230. package/package.json +28 -18
  231. package/styles/index.css +5 -6887
  232. package/styles/index.css.map +1 -0
  233. package/styles/reset.css +2 -315
  234. package/styles/reset.css.map +1 -0
  235. package/CHANGELOG.md +0 -661
  236. package/dist/components/select/SelectV2.d.ts +0 -24
package/CHANGELOG.md DELETED
@@ -1,661 +0,0 @@
1
- ## 0.18.7
2
-
3
- ###### Tus, 4 Feb 2024
4
-
5
- - Phone number input, Enhanced Select
6
- - create new component
7
-
8
- ## 0.18.6
9
-
10
- ###### Tus, 4 Feb 2024
11
-
12
- - Phone number input
13
- - add disabled prop
14
-
15
- ## 0.18.5
16
-
17
- ###### Mon, 26 Feb 2024
18
-
19
- - Input, Toast, Phone number input V2
20
- - create new component
21
- - Select
22
- - Add asteriskColor, customTrailingIcon and onEnhancedChange props
23
-
24
- ## 0.18.3
25
-
26
- ###### Tues, 23 Jan 2024
27
-
28
- - Update stats block
29
-
30
- ## 0.18.2
31
-
32
- ###### Mon, 22 Jan 2024
33
-
34
- - Add new components for My Account:
35
- - Sidebar
36
- - Stats blocks
37
- - Progressbar
38
- - FRP preview card
39
- - FRP closed card
40
- - Favorite charities card
41
-
42
- ## 0.18.1
43
-
44
- ###### Wed, 23 Aug 2023
45
-
46
- - Create modal show image
47
-
48
- ## 0.18.0
49
-
50
- ###### Wed, 23 Aug 2023
51
-
52
- - Nav
53
- - Add props for login button under "I'm A Charity" menu
54
-
55
- ## 0.17.9
56
-
57
- - Update UI component for new parter dashboard
58
-
59
- ## 0.17.8
60
-
61
- ###### Wed, 23 Aug 2023
62
-
63
- - Modal
64
- - Add disable for accept button
65
-
66
- ## 0.17.7
67
-
68
- ###### Thur, 27 Jul 2023
69
-
70
- - TextFieldSearch
71
- - Create
72
-
73
- ## 0.17.6
74
-
75
- ###### Thur, 27 Jul 2023
76
-
77
- - FooterV2
78
- - Add click IDs
79
- - Nav
80
- - Add click IDs
81
-
82
- ## 0.17.3
83
-
84
- ###### Thur, 27 Jul 2023
85
-
86
- - FooterV2
87
-
88
- - Change style item link
89
-
90
- ## 0.17.2
91
-
92
- ###### Wed, 26 Jul 2023
93
-
94
- - FooterV2
95
- - Added new footer component.
96
-
97
- ## 0.16.9
98
-
99
- ###### Thu, 15 Apr 2021
100
-
101
- - PhoneNumberInput
102
- - Update behavior sort country options
103
-
104
- ## 0.16.8
105
-
106
- ###### Tue, 23 Feb 2021
107
-
108
- - Navigation bar
109
- - Fixed container width - bug "for charities"
110
-
111
- ## 0.16.7
112
-
113
- ###### Wed, 2 Sep 2020
114
-
115
- - NavigationMenu
116
- - add `onClick` prop.
117
-
118
- ## 0.16.5
119
-
120
- ###### Sun, 19 Jul 2020
121
-
122
- - Statistics
123
- - add `dark` prop.
124
-
125
- ###### Mon, 15 06 2020
126
-
127
- - Select
128
-
129
- - Fixed event target bug
130
-
131
- ## 0.16.4
132
-
133
- ###### TUE, 20 05 2020
134
-
135
- - PhoneNumberInput, Select
136
-
137
- - add color prop
138
-
139
- ## 0.16.3
140
-
141
- ###### TUE, 19 05 2020
142
-
143
- - TextField
144
-
145
- - add color prop
146
-
147
- ## 0.16.2
148
-
149
- ###### Wed, 1 Apr 2020
150
-
151
- - DatePicker
152
-
153
- - Added new prop to single date picker to allow out of range date picks.## 0.16.2
154
-
155
- ## 0.16.1
156
-
157
- ###### Wed, 1 Apr 2020
158
-
159
- - DatePicker
160
-
161
- - Fixed typecheck bug on datepicker.
162
-
163
- ## 0.16.0
164
-
165
- ###### Tue, 31 Mar 2020
166
-
167
- - DonationForm
168
-
169
- - Added new donation form component.
170
-
171
- ## 0.15.2
172
-
173
- ###### Wed, 18 Mar 2020
174
-
175
- - Navigation
176
-
177
- - Added new navigation controls.
178
- - Added nav style v2 in navigation story
179
-
180
- ## 0.15.1
181
-
182
- ###### Tue, 10 Mar 2020
183
-
184
- - Spinner
185
-
186
- - Spinner component - fix bug building
187
-
188
- ## 0.15.0
189
-
190
- ###### Tue, 10 Mar 2020
191
-
192
- - Spinner
193
-
194
- - Spinner component
195
-
196
- ## 0.14.0
197
-
198
- ###### Tue, 10 Mar 2020
199
-
200
- - Login
201
-
202
- - Login component
203
-
204
- ## 0.13.10
205
-
206
- ###### Fri, 6 Mar 2020
207
-
208
- - List
209
-
210
- - Added listcontent and ability to toggle content.
211
-
212
- ## 0.13.10
213
-
214
- ###### Fri, 6 Mar 2020
215
-
216
- - List
217
-
218
- - Added listcontent and ability to toggle content.
219
-
220
- ## 0.13.9
221
-
222
- ###### Mon, 2 Mar 2020
223
-
224
- - CommentSection
225
-
226
- - Created CommentSection component.
227
-
228
- ## 0.13.8
229
-
230
- ###### Fri, 21 Feb 2020
231
-
232
- - PhoneNumberInput
233
-
234
- - Fixed flag postioning bug and added placeholder prop.
235
-
236
- ## 0.13.7
237
-
238
- ###### Tue, 18 Feb 2020
239
-
240
- - Cropper
241
-
242
- - Added quality and imageType prop to control image quality/type via dataUrl.
243
-
244
- ## 0.13.6
245
-
246
- ###### Monday, 17 Feb 2020
247
-
248
- - Navigation
249
-
250
- - Removed ExpandedRedirect.
251
- - Added actionRaised prop to menu item. Basically the exandedRedirect but now controlled by tab menu.
252
-
253
- ## 0.13.5
254
-
255
- ###### Friday, 14 Feb 2020
256
-
257
- - Navigation
258
-
259
- - Made sure that ExpandedRedirect does not turn into anchor. This is to address difficulty encountered with google analytics.
260
-
261
- ## 0.13.4
262
-
263
- ###### Friday, 14 Feb 2020
264
-
265
- - Navigation
266
- - Added ExpandedRedirect prop that overides stats prop.
267
-
268
- ## 0.13.3
269
-
270
- ###### Mon, 3 Feb 2020
271
-
272
- - PhoneNumberInput
273
- - hotfix added custom flag-icons to country select.
274
- - PhoneNumberField
275
- - this has been removed.
276
-
277
- ## 0.13.2
278
-
279
- ###### Fri, 31 Jan 2020
280
-
281
- - PhoneNumberInput
282
- - hotfix set disable country code to default.
283
-
284
- ## 0.13.1
285
-
286
- ###### Thu, 30 Jan 2020
287
-
288
- - PhoneNumberInput
289
- - Added new default values.
290
-
291
- ## 0.13.0
292
-
293
- ###### Thu, 30 Jan 2020
294
-
295
- - List
296
- - Added breakspace to allow for long names to be shown in list component.
297
- - ButtonSelect
298
- - Created a button component that has a dropdown.
299
- - Modal
300
- - Added minimal version of modal.
301
-
302
- ## 0.12.4
303
-
304
- ###### Thu, 9 Jan 2020
305
-
306
- - PhoneNumberInput
307
- - Improved functionality by adding default country prop and getCountry function.
308
-
309
- ## 0.12.3
310
-
311
- ###### Sat, 21 Dec 2019
312
-
313
- - PhoneNumberField
314
- - This is depricated but has not been removed yet.
315
- - PhoneNumberInput
316
- - Created new phonenumber component with input with better functionality.
317
- - Cropper
318
- - Set default crop size to max width of uploaded image.
319
- - List
320
- - fixed warnings from components.
321
-
322
- ## 0.12.1
323
-
324
- ###### Thu, 13 Dec 2019
325
-
326
- - Uploader
327
- - Type check improvements removed since Dropzone package causes typecheck error in app build.
328
- - Need to investiage why this is happening.
329
-
330
- ## 0.12.0
331
-
332
- ###### Thu, 12 Dec 2019
333
-
334
- - Modal
335
- - Added Modal component.
336
- - Uploader
337
- - Added Uploader component.
338
- - Cropper
339
- - Added Cropper component.
340
- - DatePicker
341
- - Added range DatePicker component.
342
- - Added single DatePicker component.
343
- - Switch
344
- - Set cursor:pointer on labels for Radio, Switch, and Checkbox.
345
- - Checkbox
346
- - Set cursor:pointer on labels for Radio, Switch, and Checkbox.
347
- - Select
348
- - Set cursor:pointer on labels for Radio, Switch, and Checkbox.
349
- - Add error prop to select.
350
- - TextField
351
- - Add list prop to TextField component.
352
- - List
353
- - Add style prop to List component.
354
-
355
- ## 0.11.2
356
-
357
- ###### Thu, 28 Nov 2019
358
-
359
- - Select
360
- - fixed the bug where the onChange event doesn't emit with the correct value on Firefox _again_.
361
-
362
- ## 0.11.1
363
-
364
- ###### Thu, 28 Nov 2019
365
-
366
- - Select
367
- - fixed the bug where the onChange event doesn't emit with the correct value on Firefox again.
368
-
369
- ## 0.11.0
370
-
371
- ###### Thu, 28 Nov 2019
372
-
373
- - PhoneNumberField
374
- - added PhoneNumberField component.
375
- - added parseNationalPhoneNumber utility function.
376
-
377
- ## 0.10.1
378
-
379
- ###### Thu, 28 Nov 2019
380
-
381
- - Select
382
- - following the Select fix in 0.9.0, select now emits an onChange event with both a valid target and currentTarget always.
383
-
384
- ## 0.10.0
385
-
386
- ###### Wed, 27 Nov 2019
387
-
388
- - Navigation
389
- - **breaking**: the `onLogin` and `loginAnalyticsId` props are now one optional prop `login` that takes an object.
390
- - **breaking**: the `onSearch` and `searchAnalyticsId` props are now one optional prop `search` that takes an object.
391
-
392
- ## 0.9.1
393
-
394
- > Version 0.9.0 was incorrectly published and does not include all the changes intended. Please use this version instead.
395
-
396
- ## 0.9.0
397
-
398
- ###### Tue, 26 Nov 2019
399
-
400
- > Version 0.9.0 was incorrectly published and does not include all the changes intended. Please use 0.9.1 instead.
401
-
402
- - FieldHelperText
403
- - added FieldHelperText component.
404
- - FieldLabel
405
- - added FieldLabel component.
406
- - List
407
- - added `iconsNotRounded`, `iconWidth`, and `overflowHidden` props.
408
- - Select
409
- - fixed a bug where the select options could not be selected on Firefox.
410
- - added `noArrow` prop.
411
- - TextField
412
- - fixed a bug where providing a boolean value for the `error` prop incorrectly added helper text.
413
-
414
- ## 0.8.0
415
-
416
- ###### Tue, 19 Nov 2019
417
-
418
- - Box
419
- - added Box base component.
420
- - Checkbox
421
- - fixed alignment of label.
422
- - Flex
423
- - now composes the Box component.
424
- - Grid
425
- - added the Grid component.
426
- - Stack
427
- - now composes the Box component.
428
- - Text
429
- - now composes the Box component.
430
-
431
- ## 0.7.2
432
-
433
- ###### Tue, 19 Nov 2019
434
-
435
- - Checkbox
436
- - fixed Checkbox not being exported.
437
- - adjusted label styling.
438
- - Select
439
- - fixed a bug where select element options were showing up as blank in some browsers.
440
-
441
- ## 0.7.1
442
-
443
- ###### Mon, 18 Nov 2019
444
-
445
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use this version instead.
446
-
447
- ## 0.7.0
448
-
449
- ###### Mon, 18 Nov 2019
450
-
451
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use 0.7.1 instead.
452
-
453
- ##### Components
454
-
455
- - Elevation
456
- - now has overflow set to hidden by default.
457
- - List
458
- - added List component.
459
- - RadioGroup
460
- - fixed RadioGroup not being exported.
461
- - Text
462
- - added the `align` prop.
463
- - TextField
464
- - notch now has a minimum width to avoid cutting off floating label text.
465
- - helper text no longer has horizontal padding.
466
-
467
- ##### Modules
468
-
469
- - Theme
470
- - added MyCauseTheme to exports.
471
-
472
- ## 0.6.0
473
-
474
- ###### Thu, 14 Nov 2019
475
-
476
- - TextField
477
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
478
- - **breaking**: removed the `outlined` prop, all TextFields are outlined now and the (old) default style can no longer be used.
479
- - Select
480
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
481
- - **breaking**: removed the `outlined` prop, the default style can no longer be used.
482
- - added a `helperText` prop similar to that of TextField.
483
- - SelectHelperText
484
- - added SelectHelperText component.
485
-
486
- ## 0.5.1
487
-
488
- ###### Thu, 14 Nov 2019
489
-
490
- - Navigation
491
- - fixed user menu submenus not being closable.
492
- - Radio
493
- - fixed bug where radio id would not be updated when the name or value is updated.
494
-
495
- ## 0.5.0
496
-
497
- ###### Thu, 14 Nov 2019
498
-
499
- - Radio
500
- - added Radio component.
501
- - RadioGroup
502
- - added RadioGroup component.
503
- - Switch
504
- - added Switch component.
505
- - Navigation
506
- - **breaking**: the `sticky` prop has been renamed to `isSticky`.
507
- - **breaking**: the `subMenuForMobule` prop has been removed, the user of the navigation component is now responsible for swapping out the user menu in response to screen size.
508
- - the `onSearch` prop is now optional, and hides search when not provided.
509
- - the `onLogin` prop is now optional, and hides the login button when not provided.
510
- - added new prop `isCompactHeight` which makes the navbar a restricted height on all screen sizes.
511
-
512
- ## 0.4.4
513
-
514
- ###### Wed, 13 Nov 2019
515
-
516
- - TextAvatar
517
- - fixed a bug where certain names would cause an error.
518
-
519
- ## 0.4.3
520
-
521
- ###### Thu, 7 Nov 2019
522
-
523
- - TextField
524
- - helper text now uses theme brand font.
525
- - fix issues with textarea mode's appearance.
526
-
527
- ## 0.4.2
528
-
529
- ###### Thu, 7 Nov 2019
530
-
531
- - Navigation
532
- - fixed bug where non-sticky menu has incorrect positioning on mobile
533
-
534
- ## 0.4.1
535
-
536
- ###### Wed, 6 Nov 2019
537
-
538
- Patch
539
-
540
- ## 0.4.0
541
-
542
- ###### Wed, 6 Nov 2019
543
-
544
- ##### Components
545
-
546
- - Checkbox
547
- - added Checkbox component.
548
- - Navigation
549
- - Use buttons for actions instead of anchors in Navigation.
550
-
551
- ## 0.3.0
552
-
553
- ###### Fri, 1 Nov 2019
554
-
555
- ##### Components
556
-
557
- - Elevation
558
- - added Elevation component.
559
- - Navigation
560
- - added submenu items to the user menu.
561
- - cta prop is now optional.
562
- - Statistics
563
- - **breaking**: renamed from MyCauseStatistics to Statistics
564
- - design improvements.
565
- - **breaking**: now forwards props to the root element.
566
- - **breaking**: no longer hides itself on small screens.
567
-
568
- ## 0.2.0
569
-
570
- ###### Fri, 25 Oct 2019
571
-
572
- ##### Components
573
-
574
- - Chips
575
- - added Chips component.
576
- - InputChips
577
- - added InputChips component.
578
- - IconButtonGroup
579
- - added IconButtonGroup component.
580
- - ComboField
581
- - added ComboField component.
582
- - ComboFieldExpander
583
- - added ComboFieldExpander component.
584
- - Flex
585
- - added Flex component.
586
- - Stack
587
- - now composes the Flex component.
588
- - **breaking**: replaced `vertical` and `horizontal` props with the `direction` prop from Flex.
589
- - Navigation
590
- - the user menu now opens/closes on hover in addition to the anchor being pressed.
591
- - the user menu now changes to a full width style on mobile.
592
-
593
- ## 0.1.0
594
-
595
- ###### Mon, 21 Oct 2019
596
-
597
- First release.
598
-
599
- ##### Components
600
-
601
- - BoldAnchor
602
- - added analyticsId prop.
603
- - Button
604
- - outlined button now turns solid on hover.
605
- - added the analyticsId prop.
606
- - Navigation
607
- - created.
608
- - Select
609
- - now forwards a ref to the underlying select element.
610
- - Stack
611
- - added Stack component.
612
- - Text
613
- - added Text component.
614
- - Tab
615
- - ripple colour changed from static theme color to grey.
616
- - added the analyticsId prop
617
-
618
- ##### Stylesheets
619
-
620
- - reset.css
621
- - default font and box sizing are now only applied to `html` instead of both `html` and `body`.
622
-
623
- ##### Modules
624
-
625
- - Theme
626
- - added `muted` and `inactive` colors.
627
- - ThemeProvider now sets the font of `body` to the default typography font.
628
- - Utils
629
- - Browser: no longer makes unguarded accesses to `window`.
630
-
631
- ## 0.0.0 (Never released)
632
-
633
- ###### Mon, 7 Oct 2019
634
-
635
- Welcome to the start of the `@mycause/ui` project.
636
-
637
- ##### Components
638
-
639
- - Anchor
640
- - BoldAnchor
641
- - Avatar
642
- - Button
643
- - Icon
644
- - IconButton
645
- - ToggleButton
646
- - Select
647
- - Tabs
648
- - TextField
649
-
650
- ##### Stylesheets
651
-
652
- - index.css
653
- - reset.css
654
-
655
- ##### Modules
656
-
657
- - Theme
658
- - ThemeProvider
659
- - ThemeContext
660
- - useTheme
661
- - getColorToken
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- export declare type SelectOption = {
3
- value: string;
4
- label?: string;
5
- disabled?: boolean;
6
- };
7
- export interface SelectProps {
8
- label?: string;
9
- value: string;
10
- onChange: (e: React.FormEvent) => void;
11
- externalLabel?: boolean;
12
- large?: boolean;
13
- options: Array<SelectOption>;
14
- leadingIcon?: React.ReactElement;
15
- helperText?: string | null;
16
- isHelperTextPersistent?: boolean;
17
- noArrow?: boolean;
18
- color?: string;
19
- asteriskColor?: string;
20
- itemHoverColor?: string;
21
- error?: boolean | string;
22
- }
23
- declare const SelectV2: ({ options, value, onChange, color, itemHoverColor, noArrow, }: SelectProps) => JSX.Element;
24
- export default SelectV2;