@mycause/ui 0.0.0-ce54d606 → 0.0.0-ce56cb2c

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