@mycause/ui 0.0.0-c2352bc2 → 0.0.0-c24c07d9

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