@mycause/ui 0.0.0-cbbe3e00 → 0.0.0-cbcfc0a9

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