@mycause/ui 0.0.0-c6c2fccf → 0.0.0-c6e13817

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 (293) 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 +12 -0
  13. package/dist/components/button-select/button-select.stories.d.ts +13 -0
  14. package/dist/components/button-select/index.d.ts +1 -0
  15. package/dist/components/campaign-card/campaign-card.d.ts +9 -0
  16. package/dist/components/campaign-card/campaign-card.stories.d.ts +14 -0
  17. package/dist/components/campaign-card/index.d.ts +1 -0
  18. package/dist/components/campaign-of-month/campaign-of-month.d.ts +15 -0
  19. package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +14 -0
  20. package/dist/components/campaign-of-month/index.d.ts +1 -0
  21. package/dist/components/charity-card/charity-card.d.ts +7 -0
  22. package/dist/components/charity-card/charity-card.stories.d.ts +14 -0
  23. package/dist/components/charity-card/index.d.ts +1 -0
  24. package/dist/components/charity-tags-filter-button/FilterIcon.d.ts +6 -0
  25. package/dist/components/charity-tags-filter-button/charity-tags-filter-button.d.ts +36 -0
  26. package/dist/components/charity-tags-filter-button/charity-tags-filter-button.stories.d.ts +12 -0
  27. package/dist/components/charity-tags-filter-button/index.d.ts +1 -0
  28. package/dist/components/checkbox/checkbox.d.ts +1 -1
  29. package/dist/components/checkbox/checkbox.stories.d.ts +4 -4
  30. package/dist/components/chips/chip.d.ts +1 -4
  31. package/dist/components/chips/chips.d.ts +2 -2
  32. package/dist/components/chips/chips.stories.d.ts +4 -4
  33. package/dist/components/chips/input-chips.d.ts +1 -1
  34. package/dist/components/chips/input-chips.stories.d.ts +2 -2
  35. package/dist/components/collapse/collapse.d.ts +21 -0
  36. package/dist/components/collapse/collapse.stories.d.ts +19 -0
  37. package/dist/components/collapse/icons.d.ts +4 -0
  38. package/dist/components/collapse/index.d.ts +1 -0
  39. package/dist/components/combo-field/combo-field-expander.d.ts +1 -1
  40. package/dist/components/combo-field/combo-field.d.ts +4 -1
  41. package/dist/components/combo-field/combo-field.stories.d.ts +3 -3
  42. package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +31 -0
  43. package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +11 -0
  44. package/dist/components/comment-section/comment-section.d.ts +15 -0
  45. package/dist/components/comment-section/comment-section.stories.d.ts +19 -0
  46. package/dist/components/comment-section/comment-type.d.ts +10 -0
  47. package/dist/components/comment-section/index.d.ts +2 -0
  48. package/dist/components/comment-section/sub-comments.d.ts +6 -0
  49. package/dist/components/cropper/cropper.d.ts +16 -4
  50. package/dist/components/cropper/cropper.stories.d.ts +3 -4
  51. package/dist/components/date-picker/date-picker.d.ts +6 -4
  52. package/dist/components/date-picker/date-picker.stories.d.ts +12 -5
  53. package/dist/components/date-picker/index.d.ts +1 -0
  54. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +32 -0
  55. package/dist/components/date-picker/single-date-picker.d.ts +11 -5
  56. package/dist/components/donate-card/donate-card.d.ts +8 -0
  57. package/dist/components/donate-card/donate-card.stories.d.ts +14 -0
  58. package/dist/components/donate-card/index.d.ts +1 -0
  59. package/dist/components/donation-form/donation-details.d.ts +12 -0
  60. package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +13 -0
  61. package/dist/components/donation-form/donation-form.d.ts +64 -0
  62. package/dist/components/donation-form/donation-form.stories.d.ts +18 -0
  63. package/dist/components/donation-form/donation-payment.d.ts +13 -0
  64. package/dist/components/donation-form/donation-select.d.ts +13 -0
  65. package/dist/components/donation-form/index.d.ts +2 -0
  66. package/dist/components/donation.d.ts +18 -0
  67. package/dist/components/elevation/elevation.d.ts +2 -1
  68. package/dist/components/elevation/elevation.stories.d.ts +2 -2
  69. package/dist/components/favorite-charity-item/favorite-charity-item.d.ts +15 -0
  70. package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +15 -0
  71. package/dist/components/favorite-charity-item/index.d.ts +1 -0
  72. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +17 -0
  73. package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +14 -0
  74. package/dist/components/featured-campaign-card/index.d.ts +1 -0
  75. package/dist/components/field-helpers/field-helper-text.d.ts +2 -2
  76. package/dist/components/field-helpers/field-label.d.ts +2 -1
  77. package/dist/components/footerV2/footerV2.d.ts +35 -0
  78. package/dist/components/footerV2/footerV2.stories.d.ts +15 -0
  79. package/dist/components/footerV2/index.d.ts +1 -0
  80. package/dist/components/fundraising-section/fundraising-section.d.ts +9 -0
  81. package/dist/components/fundraising-section/fundraising-section.stories.d.ts +14 -0
  82. package/dist/components/fundraising-section/index.d.ts +1 -0
  83. package/dist/components/hero-banner/hero-banner.d.ts +9 -0
  84. package/dist/components/hero-banner/hero-banner.stories.d.ts +14 -0
  85. package/dist/components/hero-banner/index.d.ts +1 -0
  86. package/dist/components/horizontalbar/horizontalbar.d.ts +11 -0
  87. package/dist/components/horizontalbar/horizontalbar.stories.d.ts +26 -0
  88. package/dist/components/horizontalbar/index.d.ts +1 -0
  89. package/dist/components/icon/btn_google_light_normal_ios.svg.d.ts +1 -1
  90. package/dist/components/icon/facebook_6.svg.d.ts +1 -1
  91. package/dist/components/icon/heart-toggle.d.ts +11 -0
  92. package/dist/components/icon/{toggle-button.stories.d.ts → heart-toggle.stories.d.ts} +3 -3
  93. package/dist/components/icon/icon-button-group.d.ts +1 -1
  94. package/dist/components/icon/icon-button-group.stories.d.ts +2 -2
  95. package/dist/components/icon/icon-button.d.ts +1 -1
  96. package/dist/components/icon/icon-button.stories.d.ts +3 -3
  97. package/dist/components/icon/icon.d.ts +1 -1
  98. package/dist/components/icon/icon.stories.d.ts +4 -4
  99. package/dist/components/icon/index.d.ts +1 -1
  100. package/dist/components/icon/material-icon.d.ts +2 -7
  101. package/dist/components/index.d.ts +39 -1
  102. package/dist/components/info-represent-campaign/index.d.ts +1 -0
  103. package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
  104. package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +12 -0
  105. package/dist/components/input/InputDefault.d.ts +13 -0
  106. package/dist/components/input/index.d.ts +1 -0
  107. package/dist/components/input/input.stories.d.ts +24 -0
  108. package/dist/components/input-social/Icons.d.ts +8 -0
  109. package/dist/components/input-social/InputSocial.d.ts +12 -0
  110. package/dist/components/input-social/index.d.ts +1 -0
  111. package/dist/components/{phone-number-field/phone-number-field.stories.d.ts → input-social/input-social.stories.d.ts} +3 -3
  112. package/dist/components/layout/box.d.ts +232 -224
  113. package/dist/components/layout/flex.d.ts +4 -13
  114. package/dist/components/layout/flex.stories.d.ts +2 -2
  115. package/dist/components/layout/grid.d.ts +2 -2
  116. package/dist/components/layout/grid.stories.d.ts +2 -2
  117. package/dist/components/layout/stack.d.ts +3 -10
  118. package/dist/components/layout/stack.stories.d.ts +4 -4
  119. package/dist/components/list/list.d.ts +31 -15
  120. package/dist/components/list/list.stories.d.ts +14 -8
  121. package/dist/components/login/login.d.ts +15 -5
  122. package/dist/components/login/login.stories.d.ts +5 -6
  123. package/dist/components/logo/logo-type.d.ts +4 -3
  124. package/dist/components/menu/menu-list-item.d.ts +2 -2
  125. package/dist/components/menu/menu-list.d.ts +2 -2
  126. package/dist/components/menu/menu.stories.d.ts +2 -2
  127. package/dist/components/modal/index.d.ts +2 -0
  128. package/dist/components/modal/modal-image.d.ts +8 -0
  129. package/dist/components/modal/modal.d.ts +23 -0
  130. package/dist/components/modal/modal.stories.d.ts +43 -0
  131. package/dist/components/my-account-choose-charity-card/index.d.ts +1 -0
  132. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.d.ts +11 -0
  133. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.stories.d.ts +14 -0
  134. package/dist/components/my-account-frp-closed/Icon.d.ts +5 -0
  135. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +8 -0
  136. package/dist/components/my-account-frp-closed/frp-information.d.ts +15 -0
  137. package/dist/components/my-account-frp-closed/index.d.ts +1 -0
  138. package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +19 -0
  139. package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +24 -0
  140. package/dist/components/my-account-frp-preview/Icon.d.ts +5 -0
  141. package/dist/components/my-account-frp-preview/frp-information.d.ts +13 -0
  142. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +9 -0
  143. package/dist/components/my-account-frp-preview/index.d.ts +1 -0
  144. package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +17 -0
  145. package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +24 -0
  146. package/dist/components/my-account-sidebar/Icon.d.ts +15 -0
  147. package/dist/components/my-account-sidebar/index.d.ts +1 -0
  148. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +19 -0
  149. package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +12 -0
  150. package/dist/components/my-account-start-fundraise-card/index.d.ts +1 -0
  151. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +13 -0
  152. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +20 -0
  153. package/dist/components/my-account-stats-donated/index.d.ts +1 -0
  154. package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +8 -0
  155. package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +12 -0
  156. package/dist/components/my-account-stats-raised/index.d.ts +1 -0
  157. package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +7 -0
  158. package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +12 -0
  159. package/dist/components/nav/icons/IconBigger.d.ts +5 -0
  160. package/dist/components/nav/icons/IconSmaller.d.ts +5 -0
  161. package/dist/components/nav/index.d.ts +2 -0
  162. package/dist/components/nav/nav-actions.d.ts +5 -0
  163. package/dist/components/nav/nav-bar.d.ts +7 -0
  164. package/dist/components/nav/nav-call-to-action.d.ts +5 -0
  165. package/dist/components/nav/nav-expanded-charity.d.ts +14 -0
  166. package/dist/components/nav/nav-expanded.d.ts +14 -0
  167. package/dist/components/nav/nav-list.d.ts +29 -0
  168. package/dist/components/nav/nav-menu-control.d.ts +8 -0
  169. package/dist/components/nav/nav-menu.d.ts +12 -0
  170. package/dist/components/nav/nav-myaccount.d.ts +22 -0
  171. package/dist/components/nav/nav-search-control.d.ts +8 -0
  172. package/dist/components/nav/nav-search.d.ts +10 -0
  173. package/dist/components/nav/nav-sign-in-control.d.ts +12 -0
  174. package/dist/components/nav/nav-user-menu-items.d.ts +20 -0
  175. package/dist/components/nav/nav-user-menu.d.ts +18 -0
  176. package/dist/components/nav/nav.d.ts +57 -0
  177. package/dist/components/nav/nav.stories.d.ts +17 -0
  178. package/dist/components/navigation/navigation-actions.d.ts +1 -1
  179. package/dist/components/navigation/navigation-bar.d.ts +2 -2
  180. package/dist/components/navigation/navigation-call-to-action.d.ts +3 -3
  181. package/dist/components/navigation/navigation-expanded.d.ts +2 -2
  182. package/dist/components/navigation/navigation-list.d.ts +9 -7
  183. package/dist/components/navigation/navigation-menu-control.d.ts +1 -1
  184. package/dist/components/navigation/navigation-menu.d.ts +4 -3
  185. package/dist/components/navigation/navigation-search-control.d.ts +2 -2
  186. package/dist/components/navigation/navigation-search.d.ts +2 -2
  187. package/dist/components/navigation/navigation-sign-in-control.d.ts +6 -3
  188. package/dist/components/navigation/navigation-user-menu-items.d.ts +6 -6
  189. package/dist/components/navigation/navigation-user-menu.d.ts +4 -4
  190. package/dist/components/navigation/navigation.d.ts +17 -6
  191. package/dist/components/navigation/navigation.stories.d.ts +7 -25
  192. package/dist/components/partner-chart-stats/index.d.ts +1 -0
  193. package/dist/components/partner-chart-stats/partner-chart-stats.d.ts +11 -0
  194. package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +18 -0
  195. package/dist/components/partner-monthly-donations/index.d.ts +1 -0
  196. package/dist/components/partner-monthly-donations/partner-monthly-donations.d.ts +8 -0
  197. package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +12 -0
  198. package/dist/components/partner-monthly-stats/index.d.ts +1 -0
  199. package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +7 -0
  200. package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +12 -0
  201. package/dist/components/partner-toggle-button/index.d.ts +2 -0
  202. package/dist/components/partner-toggle-button/partner-toggle-button-block.d.ts +11 -0
  203. package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +12 -0
  204. package/dist/components/partner-toggle-button/partner-toggle-button.d.ts +8 -0
  205. package/dist/components/phone-number-input/index.d.ts +4 -0
  206. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +27 -0
  207. package/dist/components/phone-number-input/phone-number-input-v2.d.ts +19 -0
  208. package/dist/components/{phone-number-field/phone-number-field.d.ts → phone-number-input/phone-number-input.d.ts} +6 -3
  209. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +43 -0
  210. package/dist/components/popup/index.d.ts +1 -0
  211. package/dist/components/popup/popup.d.ts +8 -0
  212. package/dist/components/popup/popup.stories.d.ts +14 -0
  213. package/dist/components/progressbar/index.d.ts +1 -0
  214. package/dist/components/progressbar/progress-bar-circle.d.ts +10 -0
  215. package/dist/components/progressbar/progressbar.d.ts +8 -0
  216. package/dist/components/progressbar/progressbar.stories.d.ts +20 -0
  217. package/dist/components/radio/radio-group.d.ts +1 -1
  218. package/dist/components/radio/radio-group.stories.d.ts +2 -2
  219. package/dist/components/radio/radio.d.ts +1 -1
  220. package/dist/components/radio/radio.stories.d.ts +4 -4
  221. package/dist/components/select/index.d.ts +2 -0
  222. package/dist/components/select/select-enhanced.d.ts +24 -0
  223. package/dist/components/select/select-helper-text.d.ts +1 -1
  224. package/dist/components/select/select-v2.d.ts +27 -0
  225. package/dist/components/select/select.d.ts +7 -3
  226. package/dist/components/select/select.stories.d.ts +14 -2
  227. package/dist/components/spinner/index.d.ts +1 -0
  228. package/dist/components/spinner/spinner.d.ts +9 -0
  229. package/dist/components/spinner/spinner.stories.d.ts +19 -0
  230. package/dist/components/statistics/statistics.d.ts +2 -1
  231. package/dist/components/statistics/statistics.stories.d.ts +2 -2
  232. package/dist/components/switch/index.d.ts +1 -0
  233. package/dist/components/switch/switch-v2.d.ts +8 -0
  234. package/dist/components/switch/switch.d.ts +1 -1
  235. package/dist/components/switch/switch.stories.d.ts +10 -4
  236. package/dist/components/table/index.d.ts +1 -0
  237. package/dist/components/table/partner-monthly-table.d.ts +19 -0
  238. package/dist/components/table/partner-monthly-table.stories.d.ts +18 -0
  239. package/dist/components/tabs/nav-tabs.d.ts +18 -0
  240. package/dist/components/tabs/tab-text-label.d.ts +1 -1
  241. package/dist/components/tabs/tabs.d.ts +4 -2
  242. package/dist/components/tabs/tabs.stories.d.ts +2 -2
  243. package/dist/components/text/text.d.ts +4 -5
  244. package/dist/components/text/text.stories.d.ts +7 -7
  245. package/dist/components/text-field/index.d.ts +1 -0
  246. package/dist/components/text-field/text-field-helper-text.d.ts +1 -1
  247. package/dist/components/text-field/text-field-search.d.ts +10 -0
  248. package/dist/components/text-field/text-field.d.ts +3 -0
  249. package/dist/components/text-field/text-field.stories.d.ts +8 -2
  250. package/dist/components/this-month-card/index.d.ts +1 -0
  251. package/dist/components/this-month-card/this-month-card.d.ts +15 -0
  252. package/dist/components/this-month-card/this-month-card.stories.d.ts +12 -0
  253. package/dist/components/toast/Icons.d.ts +7 -0
  254. package/dist/components/toast/index.d.ts +1 -0
  255. package/dist/components/toast/toast.d.ts +8 -0
  256. package/dist/components/toast/toast.stories.d.ts +12 -0
  257. package/dist/components/transaction-card/Dot.d.ts +6 -0
  258. package/dist/components/transaction-card/index.d.ts +1 -0
  259. package/dist/components/transaction-card/transaction-card.d.ts +16 -0
  260. package/dist/components/transaction-card/transaction-card.stories.d.ts +20 -0
  261. package/dist/components/uploader/uploader.d.ts +13 -8
  262. package/dist/donation.css +2 -0
  263. package/dist/donation.css.map +1 -0
  264. package/dist/donation.d.ts +3 -0
  265. package/dist/donation.esm.css +2 -0
  266. package/dist/donation.esm.css.map +1 -0
  267. package/dist/donation.esm.js +25180 -0
  268. package/dist/donation.js +25234 -0
  269. package/dist/index.css +2 -0
  270. package/dist/index.css.map +1 -0
  271. package/dist/index.esm.css +2 -0
  272. package/dist/index.esm.css.map +1 -0
  273. package/dist/index.esm.js +28776 -7073
  274. package/dist/index.js +28809 -7055
  275. package/dist/theme/theme.d.ts +9 -5
  276. package/dist/utils/center-decorator.d.ts +1 -1
  277. package/dist/utils/component-matrix.d.ts +1 -1
  278. package/dist/utils/grid-decorator.d.ts +1 -1
  279. package/dist/utils/parse-numbers.d.ts +2 -0
  280. package/package.json +37 -21
  281. package/styles/index.css +5 -6676
  282. package/styles/index.css.map +1 -0
  283. package/styles/reset.css +2 -315
  284. package/styles/reset.css.map +1 -0
  285. package/CHANGELOG.md +0 -307
  286. package/dist/components/icon/toggle-button.d.ts +0 -11
  287. package/dist/components/login/login-email.d.ts +0 -3
  288. package/dist/components/login/login-register-email.d.ts +0 -3
  289. package/dist/components/login/login-select.d.ts +0 -3
  290. package/dist/components/mycause-statistics/index.d.ts +0 -1
  291. package/dist/components/mycause-statistics/mycause-statistics.d.ts +0 -12
  292. package/dist/components/phone-number-field/index.d.ts +0 -2
  293. /package/dist/components/{phone-number-field → phone-number-input}/util.d.ts +0 -0
package/styles/reset.css CHANGED
@@ -1,315 +1,2 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
- /* Document
3
- ========================================================================== */
4
- /**
5
- * 1. Correct the line height in all browsers.
6
- * 2. Prevent adjustments of font size after orientation changes in iOS.
7
- */
8
- html {
9
- line-height: 1.15;
10
- /* 1 */
11
- -webkit-text-size-adjust: 100%;
12
- /* 2 */ }
13
-
14
- /* Sections
15
- ========================================================================== */
16
- /**
17
- * Remove the margin in all browsers.
18
- */
19
- body {
20
- margin: 0; }
21
-
22
- /**
23
- * Render the `main` element consistently in IE.
24
- */
25
- main {
26
- display: block; }
27
-
28
- /**
29
- * Correct the font size and margin on `h1` elements within `section` and
30
- * `article` contexts in Chrome, Firefox, and Safari.
31
- */
32
- h1 {
33
- font-size: 2em;
34
- margin: 0.67em 0; }
35
-
36
- /* Grouping content
37
- ========================================================================== */
38
- /**
39
- * 1. Add the correct box sizing in Firefox.
40
- * 2. Show the overflow in Edge and IE.
41
- */
42
- hr {
43
- box-sizing: content-box;
44
- /* 1 */
45
- height: 0;
46
- /* 1 */
47
- overflow: visible;
48
- /* 2 */ }
49
-
50
- /**
51
- * 1. Correct the inheritance and scaling of font size in all browsers.
52
- * 2. Correct the odd `em` font sizing in all browsers.
53
- */
54
- pre {
55
- font-family: monospace, monospace;
56
- /* 1 */
57
- font-size: 1em;
58
- /* 2 */ }
59
-
60
- /* Text-level semantics
61
- ========================================================================== */
62
- /**
63
- * Remove the gray background on active links in IE 10.
64
- */
65
- a {
66
- background-color: transparent; }
67
-
68
- /**
69
- * 1. Remove the bottom border in Chrome 57-
70
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
71
- */
72
- abbr[title] {
73
- border-bottom: none;
74
- /* 1 */
75
- text-decoration: underline;
76
- /* 2 */
77
- -webkit-text-decoration: underline dotted;
78
- text-decoration: underline dotted;
79
- /* 2 */ }
80
-
81
- /**
82
- * Add the correct font weight in Chrome, Edge, and Safari.
83
- */
84
- b,
85
- strong {
86
- font-weight: bolder; }
87
-
88
- /**
89
- * 1. Correct the inheritance and scaling of font size in all browsers.
90
- * 2. Correct the odd `em` font sizing in all browsers.
91
- */
92
- code,
93
- kbd,
94
- samp {
95
- font-family: monospace, monospace;
96
- /* 1 */
97
- font-size: 1em;
98
- /* 2 */ }
99
-
100
- /**
101
- * Add the correct font size in all browsers.
102
- */
103
- small {
104
- font-size: 80%; }
105
-
106
- /**
107
- * Prevent `sub` and `sup` elements from affecting the line height in
108
- * all browsers.
109
- */
110
- sub,
111
- sup {
112
- font-size: 75%;
113
- line-height: 0;
114
- position: relative;
115
- vertical-align: baseline; }
116
-
117
- sub {
118
- bottom: -0.25em; }
119
-
120
- sup {
121
- top: -0.5em; }
122
-
123
- /* Embedded content
124
- ========================================================================== */
125
- /**
126
- * Remove the border on images inside links in IE 10.
127
- */
128
- img {
129
- border-style: none; }
130
-
131
- /* Forms
132
- ========================================================================== */
133
- /**
134
- * 1. Change the font styles in all browsers.
135
- * 2. Remove the margin in Firefox and Safari.
136
- */
137
- button,
138
- input,
139
- optgroup,
140
- select,
141
- textarea {
142
- font-family: inherit;
143
- /* 1 */
144
- font-size: 100%;
145
- /* 1 */
146
- line-height: 1.15;
147
- /* 1 */
148
- margin: 0;
149
- /* 2 */ }
150
-
151
- /**
152
- * Show the overflow in IE.
153
- * 1. Show the overflow in Edge.
154
- */
155
- button,
156
- input {
157
- /* 1 */
158
- overflow: visible; }
159
-
160
- /**
161
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
162
- * 1. Remove the inheritance of text transform in Firefox.
163
- */
164
- button,
165
- select {
166
- /* 1 */
167
- text-transform: none; }
168
-
169
- /**
170
- * Correct the inability to style clickable types in iOS and Safari.
171
- */
172
- button,
173
- [type="button"],
174
- [type="reset"],
175
- [type="submit"] {
176
- -webkit-appearance: button; }
177
-
178
- /**
179
- * Remove the inner border and padding in Firefox.
180
- */
181
- button::-moz-focus-inner,
182
- [type="button"]::-moz-focus-inner,
183
- [type="reset"]::-moz-focus-inner,
184
- [type="submit"]::-moz-focus-inner {
185
- border-style: none;
186
- padding: 0; }
187
-
188
- /**
189
- * Restore the focus styles unset by the previous rule.
190
- */
191
- button:-moz-focusring,
192
- [type="button"]:-moz-focusring,
193
- [type="reset"]:-moz-focusring,
194
- [type="submit"]:-moz-focusring {
195
- outline: 1px dotted ButtonText; }
196
-
197
- /**
198
- * Correct the padding in Firefox.
199
- */
200
- fieldset {
201
- padding: 0.35em 0.75em 0.625em; }
202
-
203
- /**
204
- * 1. Correct the text wrapping in Edge and IE.
205
- * 2. Correct the color inheritance from `fieldset` elements in IE.
206
- * 3. Remove the padding so developers are not caught out when they zero out
207
- * `fieldset` elements in all browsers.
208
- */
209
- legend {
210
- box-sizing: border-box;
211
- /* 1 */
212
- color: inherit;
213
- /* 2 */
214
- display: table;
215
- /* 1 */
216
- max-width: 100%;
217
- /* 1 */
218
- padding: 0;
219
- /* 3 */
220
- white-space: normal;
221
- /* 1 */ }
222
-
223
- /**
224
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
225
- */
226
- progress {
227
- vertical-align: baseline; }
228
-
229
- /**
230
- * Remove the default vertical scrollbar in IE 10+.
231
- */
232
- textarea {
233
- overflow: auto; }
234
-
235
- /**
236
- * 1. Add the correct box sizing in IE 10.
237
- * 2. Remove the padding in IE 10.
238
- */
239
- [type="checkbox"],
240
- [type="radio"] {
241
- box-sizing: border-box;
242
- /* 1 */
243
- padding: 0;
244
- /* 2 */ }
245
-
246
- /**
247
- * Correct the cursor style of increment and decrement buttons in Chrome.
248
- */
249
- [type="number"]::-webkit-inner-spin-button,
250
- [type="number"]::-webkit-outer-spin-button {
251
- height: auto; }
252
-
253
- /**
254
- * 1. Correct the odd appearance in Chrome and Safari.
255
- * 2. Correct the outline style in Safari.
256
- */
257
- [type="search"] {
258
- -webkit-appearance: textfield;
259
- /* 1 */
260
- outline-offset: -2px;
261
- /* 2 */ }
262
-
263
- /**
264
- * Remove the inner padding in Chrome and Safari on macOS.
265
- */
266
- [type="search"]::-webkit-search-decoration {
267
- -webkit-appearance: none; }
268
-
269
- /**
270
- * 1. Correct the inability to style clickable types in iOS and Safari.
271
- * 2. Change font properties to `inherit` in Safari.
272
- */
273
- ::-webkit-file-upload-button {
274
- -webkit-appearance: button;
275
- /* 1 */
276
- font: inherit;
277
- /* 2 */ }
278
-
279
- /* Interactive
280
- ========================================================================== */
281
- /*
282
- * Add the correct display in Edge, IE 10+, and Firefox.
283
- */
284
- details {
285
- display: block; }
286
-
287
- /*
288
- * Add the correct display in all browsers.
289
- */
290
- summary {
291
- display: list-item; }
292
-
293
- /* Misc
294
- ========================================================================== */
295
- /**
296
- * Add the correct display in IE 10+.
297
- */
298
- template {
299
- display: none; }
300
-
301
- /**
302
- * Add the correct display in IE 10.
303
- */
304
- [hidden] {
305
- display: none; }
306
-
307
- html {
308
- box-sizing: border-box;
309
- -webkit-font-smoothing: antialiased;
310
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; }
311
-
312
- *,
313
- *::before,
314
- *::after {
315
- box-sizing: inherit; }
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:initial;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:initial}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:initial}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}html{box-sizing:border-box;-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}*,:after,:before{box-sizing:inherit}
2
+ /*# sourceMappingURL=reset.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../node_modules/normalize.css/normalize.css","reset.scss"],"names":[],"mappings":"AAAA,2EAA2E,CAU3E,KACE,gBAAiB,CACjB,6BACF,CASA,KACE,QACF,CAMA,KACE,aACF,CAOA,GACE,aAAc,CACd,cACF,CAUA,GACE,kBAAuB,CACvB,QAAS,CACT,gBACF,CAOA,IACE,+BAAiC,CACjC,aACF,CASA,EACE,wBACF,CAOA,YACE,kBAAmB,CACnB,yBAA0B,CAC1B,wCAAiC,CAAjC,gCACF,CAMA,SAEE,kBACF,CAOA,cAGE,+BAAiC,CACjC,aACF,CAMA,MACE,aACF,CAOA,QAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,sBACF,CAEA,IACE,aACF,CAEA,IACE,SACF,CASA,IACE,iBACF,CAUA,sCAKE,mBAAoB,CACpB,cAAe,CACf,gBAAiB,CACjB,QACF,CAOA,aAEE,gBACF,CAOA,cAEE,mBACF,CAMA,gDAIE,yBACF,CAMA,wHAIE,iBAAkB,CAClB,SACF,CAMA,4GAIE,6BACF,CAMA,SACE,0BACF,CASA,OACE,qBAAsB,CACtB,aAAc,CACd,aAAc,CACd,cAAe,CACf,SAAU,CACV,kBACF,CAMA,SACE,sBACF,CAMA,SACE,aACF,CAOA,6BAEE,qBAAsB,CACtB,SACF,CAMA,kFAEE,WACF,CAOA,cACE,4BAA6B,CAC7B,mBACF,CAMA,yCACE,uBACF,CAOA,6BACE,yBAA0B,CAC1B,YACF,CASA,QACE,aACF,CAMA,QACE,iBACF,CAiBA,kBACE,YACF,CC3VA,KACE,qBAAsB,CACtB,kCAAmC,CACnC,wIACF,CAEA,iBAGE,kBACF","file":"reset.css","sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n","@import \"~normalize.css/normalize.css\";\nhtml {\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n\n*,\n*::before,\n*::after {\n box-sizing: inherit;\n}"]}
package/CHANGELOG.md DELETED
@@ -1,307 +0,0 @@
1
- ## 0.11.2
2
-
3
- ###### Thu, 28 Nov 2019
4
-
5
- - Select
6
- - fixed the bug where the onChange event doesn't emit with the correct value on Firefox _again_.
7
-
8
- ## 0.11.1
9
-
10
- ###### Thu, 28 Nov 2019
11
-
12
- - Select
13
- - fixed the bug where the onChange event doesn't emit with the correct value on Firefox again.
14
-
15
- ## 0.11.0
16
-
17
- ###### Thu, 28 Nov 2019
18
-
19
- - PhoneNumberField
20
- - added PhoneNumberField component.
21
- - added parseNationalPhoneNumber utility function.
22
-
23
- ## 0.10.1
24
-
25
- ###### Thu, 28 Nov 2019
26
-
27
- - Select
28
- - following the Select fix in 0.9.0, select now emits an onChange event with both a valid target and currentTarget always.
29
-
30
- ## 0.10.0
31
-
32
- ###### Wed, 27 Nov 2019
33
-
34
- - Navigation
35
- - **breaking**: the `onLogin` and `loginAnalyticsId` props are now one optional prop `login` that takes an object.
36
- - **breaking**: the `onSearch` and `searchAnalyticsId` props are now one optional prop `search` that takes an object.
37
-
38
- ## 0.9.1
39
-
40
- > Version 0.9.0 was incorrectly published and does not include all the changes intended. Please use this version instead.
41
-
42
- ## 0.9.0
43
-
44
- ###### Tue, 26 Nov 2019
45
-
46
- > Version 0.9.0 was incorrectly published and does not include all the changes intended. Please use 0.9.1 instead.
47
-
48
- - FieldHelperText
49
- - added FieldHelperText component.
50
- - FieldLabel
51
- - added FieldLabel component.
52
- - List
53
- - added `iconsNotRounded`, `iconWidth`, and `overflowHidden` props.
54
- - Select
55
- - fixed a bug where the select options could not be selected on Firefox.
56
- - added `noArrow` prop.
57
- - TextField
58
- - fixed a bug where providing a boolean value for the `error` prop incorrectly added helper text.
59
-
60
- ## 0.8.0
61
-
62
- ###### Tue, 19 Nov 2019
63
-
64
- - Box
65
- - added Box base component.
66
- - Checkbox
67
- - fixed alignment of label.
68
- - Flex
69
- - now composes the Box component.
70
- - Grid
71
- - added the Grid component.
72
- - Stack
73
- - now composes the Box component.
74
- - Text
75
- - now composes the Box component.
76
-
77
- ## 0.7.2
78
-
79
- ###### Tue, 19 Nov 2019
80
-
81
- - Checkbox
82
- - fixed Checkbox not being exported.
83
- - adjusted label styling.
84
- - Select
85
- - fixed a bug where select element options were showing up as blank in some browsers.
86
-
87
- ## 0.7.1
88
-
89
- ###### Mon, 18 Nov 2019
90
-
91
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use this version instead.
92
-
93
- ## 0.7.0
94
-
95
- ###### Mon, 18 Nov 2019
96
-
97
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use 0.7.1 instead.
98
-
99
- ##### Components
100
-
101
- - Elevation
102
- - now has overflow set to hidden by default.
103
- - List
104
- - added List component.
105
- - RadioGroup
106
- - fixed RadioGroup not being exported.
107
- - Text
108
- - added the `align` prop.
109
- - TextField
110
- - notch now has a minimum width to avoid cutting off floating label text.
111
- - helper text no longer has horizontal padding.
112
-
113
- ##### Modules
114
-
115
- - Theme
116
- - added MyCauseTheme to exports.
117
-
118
- ## 0.6.0
119
-
120
- ###### Thu, 14 Nov 2019
121
-
122
- - TextField
123
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
124
- - **breaking**: removed the `outlined` prop, all TextFields are outlined now and the (old) default style can no longer be used.
125
- - Select
126
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
127
- - **breaking**: removed the `outlined` prop, the default style can no longer be used.
128
- - added a `helperText` prop similar to that of TextField.
129
- - SelectHelperText
130
- - added SelectHelperText component.
131
-
132
- ## 0.5.1
133
-
134
- ###### Thu, 14 Nov 2019
135
-
136
- - Navigation
137
- - fixed user menu submenus not being closable.
138
- - Radio
139
- - fixed bug where radio id would not be updated when the name or value is updated.
140
-
141
- ## 0.5.0
142
-
143
- ###### Thu, 14 Nov 2019
144
-
145
- - Radio
146
- - added Radio component.
147
- - RadioGroup
148
- - added RadioGroup component.
149
- - Switch
150
- - added Switch component.
151
- - Navigation
152
- - **breaking**: the `sticky` prop has been renamed to `isSticky`.
153
- - **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.
154
- - the `onSearch` prop is now optional, and hides search when not provided.
155
- - the `onLogin` prop is now optional, and hides the login button when not provided.
156
- - added new prop `isCompactHeight` which makes the navbar a restricted height on all screen sizes.
157
-
158
- ## 0.4.4
159
-
160
- ###### Wed, 13 Nov 2019
161
-
162
- - TextAvatar
163
- - fixed a bug where certain names would cause an error.
164
-
165
- ## 0.4.3
166
-
167
- ###### Thu, 7 Nov 2019
168
-
169
- - TextField
170
- - helper text now uses theme brand font.
171
- - fix issues with textarea mode's appearance.
172
-
173
- ## 0.4.2
174
-
175
- ###### Thu, 7 Nov 2019
176
-
177
- - Navigation
178
- - fixed bug where non-sticky menu has incorrect positioning on mobile
179
-
180
- ## 0.4.1
181
-
182
- ###### Wed, 6 Nov 2019
183
-
184
- Patch
185
-
186
- ## 0.4.0
187
-
188
- ###### Wed, 6 Nov 2019
189
-
190
- ##### Components
191
-
192
- - Checkbox
193
- - added Checkbox component.
194
- - Navigation
195
- - Use buttons for actions instead of anchors in Navigation.
196
-
197
- ## 0.3.0
198
-
199
- ###### Fri, 1 Nov 2019
200
-
201
- ##### Components
202
-
203
- - Elevation
204
- - added Elevation component.
205
- - Navigation
206
- - added submenu items to the user menu.
207
- - cta prop is now optional.
208
- - Statistics
209
- - **breaking**: renamed from MyCauseStatistics to Statistics
210
- - design improvements.
211
- - **breaking**: now forwards props to the root element.
212
- - **breaking**: no longer hides itself on small screens.
213
-
214
- ## 0.2.0
215
-
216
- ###### Fri, 25 Oct 2019
217
-
218
- ##### Components
219
-
220
- - Chips
221
- - added Chips component.
222
- - InputChips
223
- - added InputChips component.
224
- - IconButtonGroup
225
- - added IconButtonGroup component.
226
- - ComboField
227
- - added ComboField component.
228
- - ComboFieldExpander
229
- - added ComboFieldExpander component.
230
- - Flex
231
- - added Flex component.
232
- - Stack
233
- - now composes the Flex component.
234
- - **breaking**: replaced `vertical` and `horizontal` props with the `direction` prop from Flex.
235
- - Navigation
236
- - the user menu now opens/closes on hover in addition to the anchor being pressed.
237
- - the user menu now changes to a full width style on mobile.
238
-
239
- ## 0.1.0
240
-
241
- ###### Mon, 21 Oct 2019
242
-
243
- First release.
244
-
245
- ##### Components
246
-
247
- - BoldAnchor
248
- - added analyticsId prop.
249
- - Button
250
- - outlined button now turns solid on hover.
251
- - added the analyticsId prop.
252
- - Navigation
253
- - created.
254
- - Select
255
- - now forwards a ref to the underlying select element.
256
- - Stack
257
- - added Stack component.
258
- - Text
259
- - added Text component.
260
- - Tab
261
- - ripple colour changed from static theme color to grey.
262
- - added the analyticsId prop
263
-
264
- ##### Stylesheets
265
-
266
- - reset.css
267
- - default font and box sizing are now only applied to `html` instead of both `html` and `body`.
268
-
269
- ##### Modules
270
-
271
- - Theme
272
- - added `muted` and `inactive` colors.
273
- - ThemeProvider now sets the font of `body` to the default typography font.
274
- - Utils
275
- - Browser: no longer makes unguarded accesses to `window`.
276
-
277
- ## 0.0.0 (Never released)
278
-
279
- ###### Mon, 7 Oct 2019
280
-
281
- Welcome to the start of the `@mycause/ui` project.
282
-
283
- ##### Components
284
-
285
- - Anchor
286
- - BoldAnchor
287
- - Avatar
288
- - Button
289
- - Icon
290
- - IconButton
291
- - ToggleButton
292
- - Select
293
- - Tabs
294
- - TextField
295
-
296
- ##### Stylesheets
297
-
298
- - index.css
299
- - reset.css
300
-
301
- ##### Modules
302
-
303
- - Theme
304
- - ThemeProvider
305
- - ThemeContext
306
- - useTheme
307
- - 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;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function LoginEmail(): JSX.Element;
3
- export default LoginEmail;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function LoginRegisterEmail(): JSX.Element;
3
- export default LoginRegisterEmail;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function LoginSelect(): JSX.Element;
3
- export default LoginSelect;
@@ -1 +0,0 @@
1
- export { default as MyCauseStatistics } from "./mycause-statistics";
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export declare type MyCauseStatisticsProps = {
3
- stats: Array<{
4
- id: string;
5
- label: string;
6
- value: string;
7
- logo?: string;
8
- }>;
9
- title: string;
10
- };
11
- declare function MyCauseStatistics({ stats, title }: MyCauseStatisticsProps): JSX.Element;
12
- export default MyCauseStatistics;
@@ -1,2 +0,0 @@
1
- export { default as PhoneNumberField } from "./phone-number-field";
2
- export * from "./util";