@mycause/ui 0.0.0-c002ffe4 → 0.0.0-c005ee75

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 (286) 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 +35 -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 +2 -2
  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/combo-field/combo-field-expander.d.ts +1 -1
  36. package/dist/components/combo-field/combo-field.d.ts +4 -1
  37. package/dist/components/combo-field/combo-field.stories.d.ts +3 -3
  38. package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +31 -0
  39. package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +11 -0
  40. package/dist/components/comment-section/comment-section.d.ts +15 -0
  41. package/dist/components/comment-section/comment-section.stories.d.ts +19 -0
  42. package/dist/components/comment-section/comment-type.d.ts +10 -0
  43. package/dist/components/comment-section/index.d.ts +2 -0
  44. package/dist/components/comment-section/sub-comments.d.ts +6 -0
  45. package/dist/components/cropper/cropper.d.ts +22 -0
  46. package/dist/components/cropper/cropper.stories.d.ts +12 -0
  47. package/dist/components/cropper/index.d.ts +1 -0
  48. package/dist/components/date-picker/date-picker.d.ts +27 -0
  49. package/dist/components/date-picker/date-picker.stories.d.ts +38 -0
  50. package/dist/components/date-picker/index.d.ts +3 -0
  51. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +32 -0
  52. package/dist/components/date-picker/single-date-picker.d.ts +26 -0
  53. package/dist/components/donate-card/donate-card.d.ts +8 -0
  54. package/dist/components/donate-card/donate-card.stories.d.ts +14 -0
  55. package/dist/components/donate-card/index.d.ts +1 -0
  56. package/dist/components/donation-form/donation-details.d.ts +12 -0
  57. package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +13 -0
  58. package/dist/components/donation-form/donation-form.d.ts +64 -0
  59. package/dist/components/donation-form/donation-form.stories.d.ts +18 -0
  60. package/dist/components/donation-form/donation-payment.d.ts +13 -0
  61. package/dist/components/donation-form/donation-select.d.ts +13 -0
  62. package/dist/components/donation-form/index.d.ts +2 -0
  63. package/dist/components/elevation/elevation.d.ts +2 -1
  64. package/dist/components/elevation/elevation.stories.d.ts +2 -2
  65. package/dist/components/favorite-charity-item/favorite-charity-item.d.ts +15 -0
  66. package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +15 -0
  67. package/dist/components/favorite-charity-item/index.d.ts +1 -0
  68. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +17 -0
  69. package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +14 -0
  70. package/dist/components/featured-campaign-card/index.d.ts +1 -0
  71. package/dist/components/field-helpers/field-helper-text.d.ts +8 -0
  72. package/dist/components/field-helpers/field-label.d.ts +9 -0
  73. package/dist/components/field-helpers/index.d.ts +2 -0
  74. package/dist/components/footerV2/footerV2.d.ts +35 -0
  75. package/dist/components/footerV2/footerV2.stories.d.ts +15 -0
  76. package/dist/components/footerV2/index.d.ts +1 -0
  77. package/dist/components/fundraising-section/fundraising-section.d.ts +9 -0
  78. package/dist/components/fundraising-section/fundraising-section.stories.d.ts +14 -0
  79. package/dist/components/fundraising-section/index.d.ts +1 -0
  80. package/dist/components/hero-banner/hero-banner.d.ts +9 -0
  81. package/dist/components/hero-banner/hero-banner.stories.d.ts +14 -0
  82. package/dist/components/hero-banner/index.d.ts +1 -0
  83. package/dist/components/horizontalbar/horizontalbar.d.ts +11 -0
  84. package/dist/components/horizontalbar/horizontalbar.stories.d.ts +26 -0
  85. package/dist/components/horizontalbar/index.d.ts +1 -0
  86. package/dist/components/icon/btn_google_light_normal_ios.svg.d.ts +1 -1
  87. package/dist/components/icon/facebook_6.svg.d.ts +1 -1
  88. package/dist/components/icon/heart-toggle.d.ts +11 -0
  89. package/dist/components/icon/{toggle-button.stories.d.ts → heart-toggle.stories.d.ts} +3 -3
  90. package/dist/components/icon/icon-button-group.d.ts +1 -1
  91. package/dist/components/icon/icon-button-group.stories.d.ts +2 -2
  92. package/dist/components/icon/icon-button.d.ts +1 -1
  93. package/dist/components/icon/icon-button.stories.d.ts +3 -3
  94. package/dist/components/icon/icon.d.ts +1 -1
  95. package/dist/components/icon/icon.stories.d.ts +4 -4
  96. package/dist/components/icon/index.d.ts +1 -1
  97. package/dist/components/icon/material-icon.d.ts +2 -2
  98. package/dist/components/index.d.ts +43 -0
  99. package/dist/components/info-represent-campaign/index.d.ts +1 -0
  100. package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
  101. package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +12 -0
  102. package/dist/components/input/InputDefault.d.ts +13 -0
  103. package/dist/components/input/index.d.ts +1 -0
  104. package/dist/components/input/input.stories.d.ts +24 -0
  105. package/dist/components/input-social/Icons.d.ts +5 -0
  106. package/dist/components/input-social/InputSocial.d.ts +12 -0
  107. package/dist/components/input-social/index.d.ts +1 -0
  108. package/dist/components/input-social/input-social.stories.d.ts +12 -0
  109. package/dist/components/layout/box.d.ts +232 -224
  110. package/dist/components/layout/flex.d.ts +4 -4
  111. package/dist/components/layout/flex.stories.d.ts +2 -2
  112. package/dist/components/layout/grid.d.ts +2 -2
  113. package/dist/components/layout/grid.stories.d.ts +2 -2
  114. package/dist/components/layout/stack.d.ts +2 -2
  115. package/dist/components/layout/stack.stories.d.ts +4 -4
  116. package/dist/components/list/list.d.ts +31 -15
  117. package/dist/components/list/list.stories.d.ts +14 -8
  118. package/dist/components/login/login.d.ts +12 -5
  119. package/dist/components/login/login.stories.d.ts +5 -6
  120. package/dist/components/logo/logo-type.d.ts +4 -3
  121. package/dist/components/menu/menu-list-item.d.ts +2 -2
  122. package/dist/components/menu/menu-list.d.ts +2 -2
  123. package/dist/components/menu/menu.stories.d.ts +2 -2
  124. package/dist/components/modal/index.d.ts +2 -0
  125. package/dist/components/modal/modal-image.d.ts +8 -0
  126. package/dist/components/modal/modal.d.ts +23 -0
  127. package/dist/components/modal/modal.stories.d.ts +43 -0
  128. package/dist/components/my-account-choose-charity-card/index.d.ts +1 -0
  129. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.d.ts +11 -0
  130. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.stories.d.ts +14 -0
  131. package/dist/components/my-account-frp-closed/Icon.d.ts +5 -0
  132. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +9 -0
  133. package/dist/components/my-account-frp-closed/frp-information.d.ts +15 -0
  134. package/dist/components/my-account-frp-closed/index.d.ts +1 -0
  135. package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +19 -0
  136. package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +24 -0
  137. package/dist/components/my-account-frp-preview/Icon.d.ts +5 -0
  138. package/dist/components/my-account-frp-preview/frp-information.d.ts +13 -0
  139. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +9 -0
  140. package/dist/components/my-account-frp-preview/index.d.ts +1 -0
  141. package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +17 -0
  142. package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +24 -0
  143. package/dist/components/my-account-sidebar/Icon.d.ts +15 -0
  144. package/dist/components/my-account-sidebar/index.d.ts +1 -0
  145. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +19 -0
  146. package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +12 -0
  147. package/dist/components/my-account-start-fundraise-card/index.d.ts +1 -0
  148. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +13 -0
  149. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +20 -0
  150. package/dist/components/my-account-stats-donated/index.d.ts +1 -0
  151. package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +8 -0
  152. package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +12 -0
  153. package/dist/components/my-account-stats-raised/index.d.ts +1 -0
  154. package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +7 -0
  155. package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +12 -0
  156. package/dist/components/nav/icons/IconBigger.d.ts +5 -0
  157. package/dist/components/nav/icons/IconSmaller.d.ts +5 -0
  158. package/dist/components/nav/index.d.ts +2 -0
  159. package/dist/components/nav/nav-actions.d.ts +5 -0
  160. package/dist/components/nav/nav-bar.d.ts +7 -0
  161. package/dist/components/nav/nav-call-to-action.d.ts +5 -0
  162. package/dist/components/nav/nav-expanded-charity.d.ts +14 -0
  163. package/dist/components/nav/nav-expanded.d.ts +14 -0
  164. package/dist/components/nav/nav-list.d.ts +29 -0
  165. package/dist/components/nav/nav-menu-control.d.ts +8 -0
  166. package/dist/components/nav/nav-menu.d.ts +12 -0
  167. package/dist/components/nav/nav-myaccount.d.ts +22 -0
  168. package/dist/components/nav/nav-search-control.d.ts +8 -0
  169. package/dist/components/nav/nav-search.d.ts +10 -0
  170. package/dist/components/nav/nav-sign-in-control.d.ts +12 -0
  171. package/dist/components/nav/nav-user-menu-items.d.ts +20 -0
  172. package/dist/components/nav/nav-user-menu.d.ts +18 -0
  173. package/dist/components/nav/nav.d.ts +57 -0
  174. package/dist/components/nav/nav.stories.d.ts +17 -0
  175. package/dist/components/navigation/navigation-actions.d.ts +1 -1
  176. package/dist/components/navigation/navigation-bar.d.ts +2 -2
  177. package/dist/components/navigation/navigation-call-to-action.d.ts +3 -3
  178. package/dist/components/navigation/navigation-expanded.d.ts +3 -3
  179. package/dist/components/navigation/navigation-list.d.ts +9 -7
  180. package/dist/components/navigation/navigation-menu-control.d.ts +1 -1
  181. package/dist/components/navigation/navigation-menu.d.ts +4 -3
  182. package/dist/components/navigation/navigation-search-control.d.ts +2 -2
  183. package/dist/components/navigation/navigation-search.d.ts +2 -2
  184. package/dist/components/navigation/navigation-sign-in-control.d.ts +6 -3
  185. package/dist/components/navigation/navigation-user-menu-items.d.ts +6 -6
  186. package/dist/components/navigation/navigation-user-menu.d.ts +5 -4
  187. package/dist/components/navigation/navigation.d.ts +34 -16
  188. package/dist/components/navigation/navigation.stories.d.ts +7 -25
  189. package/dist/components/partner-chart-stats/index.d.ts +1 -0
  190. package/dist/components/partner-chart-stats/partner-chart-stats.d.ts +11 -0
  191. package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +18 -0
  192. package/dist/components/partner-monthly-donations/index.d.ts +1 -0
  193. package/dist/components/partner-monthly-donations/partner-monthly-donations.d.ts +8 -0
  194. package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +12 -0
  195. package/dist/components/partner-monthly-stats/index.d.ts +1 -0
  196. package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +7 -0
  197. package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +12 -0
  198. package/dist/components/partner-toggle-button/index.d.ts +2 -0
  199. package/dist/components/partner-toggle-button/partner-toggle-button-block.d.ts +11 -0
  200. package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +12 -0
  201. package/dist/components/partner-toggle-button/partner-toggle-button.d.ts +8 -0
  202. package/dist/components/phone-number-input/index.d.ts +4 -0
  203. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +26 -0
  204. package/dist/components/phone-number-input/phone-number-input-v2.d.ts +19 -0
  205. package/dist/components/phone-number-input/phone-number-input.d.ts +26 -0
  206. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +43 -0
  207. package/dist/components/phone-number-input/util.d.ts +2 -0
  208. package/dist/components/popup/index.d.ts +1 -0
  209. package/dist/components/popup/popup.d.ts +8 -0
  210. package/dist/components/popup/popup.stories.d.ts +14 -0
  211. package/dist/components/progressbar/index.d.ts +1 -0
  212. package/dist/components/progressbar/progress-bar-circle.d.ts +10 -0
  213. package/dist/components/progressbar/progressbar.d.ts +8 -0
  214. package/dist/components/progressbar/progressbar.stories.d.ts +20 -0
  215. package/dist/components/radio/radio-group.d.ts +1 -1
  216. package/dist/components/radio/radio-group.stories.d.ts +2 -2
  217. package/dist/components/radio/radio.d.ts +1 -1
  218. package/dist/components/radio/radio.stories.d.ts +4 -4
  219. package/dist/components/select/index.d.ts +2 -0
  220. package/dist/components/select/select-enhanced.d.ts +24 -0
  221. package/dist/components/select/select-helper-text.d.ts +1 -1
  222. package/dist/components/select/select-v2.d.ts +27 -0
  223. package/dist/components/select/select.d.ts +9 -4
  224. package/dist/components/select/select.stories.d.ts +14 -2
  225. package/dist/components/spinner/index.d.ts +1 -0
  226. package/dist/components/spinner/spinner.d.ts +9 -0
  227. package/dist/components/spinner/spinner.stories.d.ts +19 -0
  228. package/dist/components/start-campaign-card/index.d.ts +1 -0
  229. package/dist/components/start-campaign-card/start-campaign-card.d.ts +8 -0
  230. package/dist/components/start-campaign-card/start-campaign-card.stories.d.ts +14 -0
  231. package/dist/components/statistics/statistics.d.ts +2 -1
  232. package/dist/components/statistics/statistics.stories.d.ts +2 -2
  233. package/dist/components/switch/index.d.ts +1 -0
  234. package/dist/components/switch/switch-v2.d.ts +8 -0
  235. package/dist/components/switch/switch.d.ts +1 -1
  236. package/dist/components/switch/switch.stories.d.ts +10 -4
  237. package/dist/components/table/index.d.ts +1 -0
  238. package/dist/components/table/partner-monthly-table.d.ts +19 -0
  239. package/dist/components/table/partner-monthly-table.stories.d.ts +18 -0
  240. package/dist/components/tabs/nav-tabs.d.ts +18 -0
  241. package/dist/components/tabs/tab-text-label.d.ts +1 -1
  242. package/dist/components/tabs/tabs.d.ts +4 -2
  243. package/dist/components/tabs/tabs.stories.d.ts +2 -2
  244. package/dist/components/text/text.d.ts +4 -5
  245. package/dist/components/text/text.stories.d.ts +7 -7
  246. package/dist/components/text-field/index.d.ts +1 -0
  247. package/dist/components/text-field/text-field-helper-text.d.ts +1 -1
  248. package/dist/components/text-field/text-field-search.d.ts +10 -0
  249. package/dist/components/text-field/text-field.d.ts +3 -0
  250. package/dist/components/text-field/text-field.stories.d.ts +8 -2
  251. package/dist/components/this-month-card/index.d.ts +1 -0
  252. package/dist/components/this-month-card/this-month-card.d.ts +15 -0
  253. package/dist/components/this-month-card/this-month-card.stories.d.ts +12 -0
  254. package/dist/components/toast/Icons.d.ts +7 -0
  255. package/dist/components/toast/index.d.ts +1 -0
  256. package/dist/components/toast/toast.d.ts +8 -0
  257. package/dist/components/toast/toast.stories.d.ts +12 -0
  258. package/dist/components/transaction-card/Dot.d.ts +6 -0
  259. package/dist/components/transaction-card/index.d.ts +1 -0
  260. package/dist/components/transaction-card/transaction-card.d.ts +16 -0
  261. package/dist/components/transaction-card/transaction-card.stories.d.ts +20 -0
  262. package/dist/components/uploader/index.d.ts +1 -0
  263. package/dist/components/uploader/uploader.d.ts +23 -0
  264. package/dist/index.css +2 -0
  265. package/dist/index.css.map +1 -0
  266. package/dist/index.esm.css +2 -0
  267. package/dist/index.esm.css.map +1 -0
  268. package/dist/index.esm.js +29389 -2501
  269. package/dist/index.js +29452 -2505
  270. package/dist/theme/theme.d.ts +9 -5
  271. package/dist/utils/center-decorator.d.ts +1 -1
  272. package/dist/utils/component-matrix.d.ts +1 -1
  273. package/dist/utils/grid-decorator.d.ts +1 -1
  274. package/dist/utils/parse-numbers.d.ts +2 -0
  275. package/package.json +41 -17
  276. package/styles/index.css +8 -5414
  277. package/styles/index.css.map +1 -0
  278. package/styles/reset.css +2 -314
  279. package/styles/reset.css.map +1 -0
  280. package/CHANGELOG.md +0 -248
  281. package/dist/components/icon/toggle-button.d.ts +0 -11
  282. package/dist/components/login/login-email.d.ts +0 -3
  283. package/dist/components/login/login-register-email.d.ts +0 -3
  284. package/dist/components/login/login-select.d.ts +0 -3
  285. package/dist/components/mycause-statistics/index.d.ts +0 -1
  286. package/dist/components/mycause-statistics/mycause-statistics.d.ts +0 -12
package/styles/reset.css CHANGED
@@ -1,314 +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
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; }
310
-
311
- *,
312
- *::before,
313
- *::after {
314
- 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,248 +0,0 @@
1
- ## 0.8.0
2
-
3
- ###### Tue, 19 Nov 2019
4
-
5
- - Box
6
- - added Box base component.
7
- - Checkbox
8
- - fixed alignment of label.
9
- - Flex
10
- - now composes the Box component.
11
- - Grid
12
- - added the Grid component.
13
- - Stack
14
- - now composes the Box component.
15
- - Text
16
- - now composes the Box component.
17
-
18
- ## 0.7.2
19
-
20
- ###### Tue, 19 Nov 2019
21
-
22
- - Checkbox
23
- - fixed Checkbox not being exported.
24
- - adjusted label styling.
25
- - Select
26
- - fixed a bug where select element options were showing up as blank in some browsers.
27
-
28
- ## 0.7.1
29
-
30
- ###### Mon, 18 Nov 2019
31
-
32
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use this version instead.
33
-
34
- ## 0.7.0
35
-
36
- ###### Mon, 18 Nov 2019
37
-
38
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use 0.7.1 instead.
39
-
40
- ##### Components
41
-
42
- - Elevation
43
- - now has overflow set to hidden by default.
44
- - List
45
- - added List component.
46
- - RadioGroup
47
- - fixed RadioGroup not being exported.
48
- - Text
49
- - added the `align` prop.
50
- - TextField
51
- - notch now has a minimum width to avoid cutting off floating label text.
52
- - helper text no longer has horizontal padding.
53
-
54
- ##### Modules
55
-
56
- - Theme
57
- - added MyCauseTheme to exports.
58
-
59
- ## 0.6.0
60
-
61
- ###### Thu, 14 Nov 2019
62
-
63
- - TextField
64
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
65
- - **breaking**: removed the `outlined` prop, all TextFields are outlined now and the (old) default style can no longer be used.
66
- - Select
67
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
68
- - **breaking**: removed the `outlined` prop, the default style can no longer be used.
69
- - added a `helperText` prop similar to that of TextField.
70
- - SelectHelperText
71
- - added SelectHelperText component.
72
-
73
- ## 0.5.1
74
-
75
- ###### Thu, 14 Nov 2019
76
-
77
- - Navigation
78
- - fixed user menu submenus not being closable.
79
- - Radio
80
- - fixed bug where radio id would not be updated when the name or value is updated.
81
-
82
- ## 0.5.0
83
-
84
- ###### Thu, 14 Nov 2019
85
-
86
- - Radio
87
- - added Radio component.
88
- - RadioGroup
89
- - added RadioGroup component.
90
- - Switch
91
- - added Switch component.
92
- - Navigation
93
- - **breaking**: the `sticky` prop has been renamed to `isSticky`.
94
- - **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.
95
- - the `onSearch` prop is now optional, and hides search when not provided.
96
- - the `onLogin` prop is now optional, and hides the login button when not provided.
97
- - added new prop `isCompactHeight` which makes the navbar a restricted height on all screen sizes.
98
-
99
- ## 0.4.4
100
-
101
- ###### Wed, 13 Nov 2019
102
-
103
- - TextAvatar
104
- - fixed a bug where certain names would cause an error.
105
-
106
- ## 0.4.3
107
-
108
- ###### Thu, 7 Nov 2019
109
-
110
- - TextField
111
- - helper text now uses theme brand font.
112
- - fix issues with textarea mode's appearance.
113
-
114
- ## 0.4.2
115
-
116
- ###### Thu, 7 Nov 2019
117
-
118
- - Navigation
119
- - fixed bug where non-sticky menu has incorrect positioning on mobile
120
-
121
- ## 0.4.1
122
-
123
- ###### Wed, 6 Nov 2019
124
-
125
- Patch
126
-
127
- ## 0.4.0
128
-
129
- ###### Wed, 6 Nov 2019
130
-
131
- ##### Components
132
-
133
- - Checkbox
134
- - added Checkbox component.
135
- - Navigation
136
- - Use buttons for actions instead of anchors in Navigation.
137
-
138
- ## 0.3.0
139
-
140
- ###### Fri, 1 Nov 2019
141
-
142
- ##### Components
143
-
144
- - Elevation
145
- - added Elevation component.
146
- - Navigation
147
- - added submenu items to the user menu.
148
- - cta prop is now optional.
149
- - Statistics
150
- - **breaking**: renamed from MyCauseStatistics to Statistics
151
- - design improvements.
152
- - **breaking**: now forwards props to the root element.
153
- - **breaking**: no longer hides itself on small screens.
154
-
155
- ## 0.2.0
156
-
157
- ###### Fri, 25 Oct 2019
158
-
159
- ##### Components
160
-
161
- - Chips
162
- - added Chips component.
163
- - InputChips
164
- - added InputChips component.
165
- - IconButtonGroup
166
- - added IconButtonGroup component.
167
- - ComboField
168
- - added ComboField component.
169
- - ComboFieldExpander
170
- - added ComboFieldExpander component.
171
- - Flex
172
- - added Flex component.
173
- - Stack
174
- - now composes the Flex component.
175
- - **breaking**: replaced `vertical` and `horizontal` props with the `direction` prop from Flex.
176
- - Navigation
177
- - the user menu now opens/closes on hover in addition to the anchor being pressed.
178
- - the user menu now changes to a full width style on mobile.
179
-
180
- ## 0.1.0
181
-
182
- ###### Mon, 21 Oct 2019
183
-
184
- First release.
185
-
186
- ##### Components
187
-
188
- - BoldAnchor
189
- - added analyticsId prop.
190
- - Button
191
- - outlined button now turns solid on hover.
192
- - added the analyticsId prop.
193
- - Navigation
194
- - created.
195
- - Select
196
- - now forwards a ref to the underlying select element.
197
- - Stack
198
- - added Stack component.
199
- - Text
200
- - added Text component.
201
- - Tab
202
- - ripple colour changed from static theme color to grey.
203
- - added the analyticsId prop
204
-
205
- ##### Stylesheets
206
-
207
- - reset.css
208
- - default font and box sizing are now only applied to `html` instead of both `html` and `body`.
209
-
210
- ##### Modules
211
-
212
- - Theme
213
- - added `muted` and `inactive` colors.
214
- - ThemeProvider now sets the font of `body` to the default typography font.
215
- - Utils
216
- - Browser: no longer makes unguarded accesses to `window`.
217
-
218
- ## 0.0.0 (Never released)
219
-
220
- ###### Mon, 7 Oct 2019
221
-
222
- Welcome to the start of the `@mycause/ui` project.
223
-
224
- ##### Components
225
-
226
- - Anchor
227
- - BoldAnchor
228
- - Avatar
229
- - Button
230
- - Icon
231
- - IconButton
232
- - ToggleButton
233
- - Select
234
- - Tabs
235
- - TextField
236
-
237
- ##### Stylesheets
238
-
239
- - index.css
240
- - reset.css
241
-
242
- ##### Modules
243
-
244
- - Theme
245
- - ThemeProvider
246
- - ThemeContext
247
- - useTheme
248
- - 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;