@mycause/ui 0.0.0-cbbae7b8 → 0.0.0-cbc76102

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