@mycause/ui 0.0.0-cc06e357 → 0.0.0-cc3e73dc

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 (306) 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-exhanced.d.ts +23 -0
  13. package/dist/components/button-select/button-select.d.ts +12 -0
  14. package/dist/components/button-select/button-select.stories.d.ts +19 -0
  15. package/dist/components/button-select/index.d.ts +2 -0
  16. package/dist/components/campaign-card/campaign-card.d.ts +9 -0
  17. package/dist/components/campaign-card/campaign-card.stories.d.ts +14 -0
  18. package/dist/components/campaign-card/index.d.ts +1 -0
  19. package/dist/components/campaign-of-month/campaign-of-month.d.ts +15 -0
  20. package/dist/components/campaign-of-month/campaign-of-month.stories.d.ts +14 -0
  21. package/dist/components/campaign-of-month/index.d.ts +1 -0
  22. package/dist/components/charity-card/charity-card.d.ts +7 -0
  23. package/dist/components/charity-card/charity-card.stories.d.ts +14 -0
  24. package/dist/components/charity-card/index.d.ts +1 -0
  25. package/dist/components/charity-tags-filter-button/FilterIcon.d.ts +6 -0
  26. package/dist/components/charity-tags-filter-button/charity-tags-filter-button.d.ts +36 -0
  27. package/dist/components/charity-tags-filter-button/charity-tags-filter-button.stories.d.ts +13 -0
  28. package/dist/components/charity-tags-filter-button/index.d.ts +1 -0
  29. package/dist/components/checkbox/checkbox.d.ts +16 -0
  30. package/dist/components/checkbox/checkbox.stories.d.ts +25 -0
  31. package/dist/components/checkbox/index.d.ts +1 -0
  32. package/dist/components/chips/chip.d.ts +2 -2
  33. package/dist/components/chips/chips.d.ts +2 -2
  34. package/dist/components/chips/chips.stories.d.ts +4 -4
  35. package/dist/components/chips/input-chips.d.ts +1 -1
  36. package/dist/components/chips/input-chips.stories.d.ts +2 -2
  37. package/dist/components/collapse/collapse.d.ts +21 -0
  38. package/dist/components/collapse/collapse.stories.d.ts +19 -0
  39. package/dist/components/collapse/icons.d.ts +4 -0
  40. package/dist/components/collapse/index.d.ts +1 -0
  41. package/dist/components/combo-field/combo-field-expander.d.ts +1 -1
  42. package/dist/components/combo-field/combo-field.d.ts +5 -2
  43. package/dist/components/combo-field/combo-field.stories.d.ts +3 -3
  44. package/dist/components/comment-section/comment-section-v2/comment-section-v2.d.ts +31 -0
  45. package/dist/components/comment-section/comment-section-v2/sub-comments-v2.d.ts +11 -0
  46. package/dist/components/comment-section/comment-section.d.ts +15 -0
  47. package/dist/components/comment-section/comment-section.stories.d.ts +19 -0
  48. package/dist/components/comment-section/comment-type.d.ts +10 -0
  49. package/dist/components/comment-section/index.d.ts +2 -0
  50. package/dist/components/comment-section/sub-comments.d.ts +6 -0
  51. package/dist/components/cropper/cropper.d.ts +22 -0
  52. package/dist/components/cropper/cropper.stories.d.ts +13 -0
  53. package/dist/components/cropper/index.d.ts +1 -0
  54. package/dist/components/date-picker/date-picker.d.ts +27 -0
  55. package/dist/components/date-picker/date-picker.stories.d.ts +38 -0
  56. package/dist/components/date-picker/index.d.ts +3 -0
  57. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +32 -0
  58. package/dist/components/date-picker/single-date-picker.d.ts +26 -0
  59. package/dist/components/donate-card/donate-card.d.ts +8 -0
  60. package/dist/components/donate-card/donate-card.stories.d.ts +14 -0
  61. package/dist/components/donate-card/index.d.ts +1 -0
  62. package/dist/components/donation-form/donation-details.d.ts +12 -0
  63. package/dist/components/donation-form/donation-form-v2/donation-form-v2.d.ts +13 -0
  64. package/dist/components/donation-form/donation-form.d.ts +64 -0
  65. package/dist/components/donation-form/donation-form.stories.d.ts +44 -0
  66. package/dist/components/donation-form/donation-payment.d.ts +13 -0
  67. package/dist/components/donation-form/donation-select.d.ts +13 -0
  68. package/dist/components/donation-form/index.d.ts +2 -0
  69. package/dist/components/donation.d.ts +18 -0
  70. package/dist/components/elevation/elevation.d.ts +13 -0
  71. package/dist/components/elevation/elevation.stories.d.ts +13 -0
  72. package/dist/components/elevation/index.d.ts +1 -0
  73. package/dist/components/favorite-charity-item/favorite-charity-item.d.ts +15 -0
  74. package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +15 -0
  75. package/dist/components/favorite-charity-item/index.d.ts +1 -0
  76. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +17 -0
  77. package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +14 -0
  78. package/dist/components/featured-campaign-card/index.d.ts +1 -0
  79. package/dist/components/field-helpers/field-helper-text.d.ts +8 -0
  80. package/dist/components/field-helpers/field-label.d.ts +9 -0
  81. package/dist/components/field-helpers/index.d.ts +2 -0
  82. package/dist/components/footerV2/footerV2.d.ts +35 -0
  83. package/dist/components/footerV2/footerV2.stories.d.ts +15 -0
  84. package/dist/components/footerV2/index.d.ts +1 -0
  85. package/dist/components/fundraising-section/fundraising-section.d.ts +9 -0
  86. package/dist/components/fundraising-section/fundraising-section.stories.d.ts +14 -0
  87. package/dist/components/fundraising-section/index.d.ts +1 -0
  88. package/dist/components/hero-banner/hero-banner.d.ts +9 -0
  89. package/dist/components/hero-banner/hero-banner.stories.d.ts +14 -0
  90. package/dist/components/hero-banner/index.d.ts +1 -0
  91. package/dist/components/horizontalbar/horizontalbar.d.ts +11 -0
  92. package/dist/components/horizontalbar/horizontalbar.stories.d.ts +26 -0
  93. package/dist/components/horizontalbar/index.d.ts +1 -0
  94. package/dist/components/icon/btn_google_light_normal_ios.svg.d.ts +1 -1
  95. package/dist/components/icon/facebook_6.svg.d.ts +1 -1
  96. package/dist/components/icon/heart-toggle.d.ts +11 -0
  97. package/dist/components/icon/{toggle-button.stories.d.ts → heart-toggle.stories.d.ts} +3 -3
  98. package/dist/components/icon/icon-button-group.d.ts +1 -1
  99. package/dist/components/icon/icon-button-group.stories.d.ts +2 -2
  100. package/dist/components/icon/icon-button.d.ts +1 -1
  101. package/dist/components/icon/icon-button.stories.d.ts +3 -3
  102. package/dist/components/icon/icon.d.ts +1 -1
  103. package/dist/components/icon/icon.stories.d.ts +4 -4
  104. package/dist/components/icon/index.d.ts +1 -1
  105. package/dist/components/icon/material-icon.d.ts +2 -7
  106. package/dist/components/index.d.ts +49 -0
  107. package/dist/components/info-represent-campaign/index.d.ts +1 -0
  108. package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
  109. package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +13 -0
  110. package/dist/components/input/InputDefault.d.ts +13 -0
  111. package/dist/components/input/index.d.ts +1 -0
  112. package/dist/components/input/input.stories.d.ts +25 -0
  113. package/dist/components/input-social/Icons.d.ts +8 -0
  114. package/dist/components/input-social/InputSocial.d.ts +12 -0
  115. package/dist/components/input-social/index.d.ts +1 -0
  116. package/dist/components/input-social/input-social.stories.d.ts +13 -0
  117. package/dist/components/layout/box.d.ts +389 -0
  118. package/dist/components/layout/flex.d.ts +6 -14
  119. package/dist/components/layout/flex.stories.d.ts +36 -8
  120. package/dist/components/layout/grid.d.ts +9 -0
  121. package/dist/components/layout/grid.stories.d.ts +13 -0
  122. package/dist/components/layout/index.d.ts +2 -0
  123. package/dist/components/layout/stack.d.ts +3 -10
  124. package/dist/components/layout/stack.stories.d.ts +4 -4
  125. package/dist/components/list/index.d.ts +1 -0
  126. package/dist/components/list/list.d.ts +42 -0
  127. package/dist/components/list/list.stories.d.ts +43 -0
  128. package/dist/components/login/index.d.ts +1 -0
  129. package/dist/components/login/login.d.ts +18 -0
  130. package/dist/components/login/login.stories.d.ts +19 -0
  131. package/dist/components/logo/logo-type.d.ts +4 -3
  132. package/dist/components/menu/index.d.ts +2 -0
  133. package/dist/components/menu/menu-list-divider.d.ts +2 -0
  134. package/dist/components/menu/menu-list-item-meta.d.ts +2 -0
  135. package/dist/components/menu/menu-list-item.d.ts +2 -2
  136. package/dist/components/menu/menu-list.d.ts +2 -2
  137. package/dist/components/menu/menu.stories.d.ts +2 -2
  138. package/dist/components/modal/index.d.ts +2 -0
  139. package/dist/components/modal/modal-image.d.ts +8 -0
  140. package/dist/components/modal/modal.d.ts +23 -0
  141. package/dist/components/modal/modal.stories.d.ts +43 -0
  142. package/dist/components/my-account-choose-charity-card/index.d.ts +1 -0
  143. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.d.ts +11 -0
  144. package/dist/components/my-account-choose-charity-card/my-account-choose-charity-card.stories.d.ts +14 -0
  145. package/dist/components/my-account-frp-closed/Icon.d.ts +5 -0
  146. package/dist/components/my-account-frp-closed/frp-closed-img.d.ts +8 -0
  147. package/dist/components/my-account-frp-closed/frp-information.d.ts +16 -0
  148. package/dist/components/my-account-frp-closed/index.d.ts +1 -0
  149. package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +20 -0
  150. package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +25 -0
  151. package/dist/components/my-account-frp-preview/Icon.d.ts +5 -0
  152. package/dist/components/my-account-frp-preview/frp-information.d.ts +13 -0
  153. package/dist/components/my-account-frp-preview/frp-preview-img.d.ts +9 -0
  154. package/dist/components/my-account-frp-preview/index.d.ts +1 -0
  155. package/dist/components/my-account-frp-preview/my-account-frp-preview.d.ts +17 -0
  156. package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +25 -0
  157. package/dist/components/my-account-sidebar/Icon.d.ts +15 -0
  158. package/dist/components/my-account-sidebar/index.d.ts +1 -0
  159. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +19 -0
  160. package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +12 -0
  161. package/dist/components/my-account-start-fundraise-card/index.d.ts +1 -0
  162. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +13 -0
  163. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +20 -0
  164. package/dist/components/my-account-stats-donated/index.d.ts +1 -0
  165. package/dist/components/my-account-stats-donated/my-account-stats-donated.d.ts +8 -0
  166. package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +13 -0
  167. package/dist/components/my-account-stats-raised/index.d.ts +1 -0
  168. package/dist/components/my-account-stats-raised/my-account-stats-raised.d.ts +7 -0
  169. package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +13 -0
  170. package/dist/components/nav/icons/IconBigger.d.ts +5 -0
  171. package/dist/components/nav/icons/IconSmaller.d.ts +5 -0
  172. package/dist/components/nav/index.d.ts +2 -0
  173. package/dist/components/nav/nav-actions.d.ts +5 -0
  174. package/dist/components/nav/nav-bar.d.ts +7 -0
  175. package/dist/components/nav/nav-call-to-action.d.ts +5 -0
  176. package/dist/components/nav/nav-expanded-charity.d.ts +14 -0
  177. package/dist/components/nav/nav-expanded.d.ts +14 -0
  178. package/dist/components/nav/nav-list.d.ts +29 -0
  179. package/dist/components/nav/nav-menu-control.d.ts +8 -0
  180. package/dist/components/nav/nav-menu.d.ts +12 -0
  181. package/dist/components/nav/nav-myaccount.d.ts +23 -0
  182. package/dist/components/nav/nav-search-control.d.ts +8 -0
  183. package/dist/components/nav/nav-search.d.ts +10 -0
  184. package/dist/components/nav/nav-sign-in-control.d.ts +12 -0
  185. package/dist/components/nav/nav-user-menu-items.d.ts +20 -0
  186. package/dist/components/nav/nav-user-menu.d.ts +18 -0
  187. package/dist/components/nav/nav.d.ts +57 -0
  188. package/dist/components/nav/nav.stories.d.ts +17 -0
  189. package/dist/components/navigation/navigation-actions.d.ts +1 -1
  190. package/dist/components/navigation/navigation-bar.d.ts +3 -2
  191. package/dist/components/navigation/navigation-call-to-action.d.ts +3 -3
  192. package/dist/components/navigation/navigation-expanded.d.ts +4 -9
  193. package/dist/components/navigation/navigation-list.d.ts +9 -7
  194. package/dist/components/navigation/navigation-menu-control.d.ts +1 -1
  195. package/dist/components/navigation/navigation-menu.d.ts +4 -3
  196. package/dist/components/navigation/navigation-search-control.d.ts +2 -2
  197. package/dist/components/navigation/navigation-search.d.ts +2 -2
  198. package/dist/components/navigation/navigation-sign-in-control.d.ts +6 -3
  199. package/dist/components/navigation/navigation-user-menu-items.d.ts +13 -10
  200. package/dist/components/navigation/navigation-user-menu.d.ts +6 -17
  201. package/dist/components/navigation/navigation.d.ts +39 -19
  202. package/dist/components/navigation/navigation.stories.d.ts +7 -25
  203. package/dist/components/partner-chart-stats/index.d.ts +1 -0
  204. package/dist/components/partner-chart-stats/partner-chart-stats.d.ts +11 -0
  205. package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +19 -0
  206. package/dist/components/partner-monthly-donations/index.d.ts +1 -0
  207. package/dist/components/partner-monthly-donations/partner-monthly-donations.d.ts +8 -0
  208. package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +13 -0
  209. package/dist/components/partner-monthly-stats/index.d.ts +1 -0
  210. package/dist/components/partner-monthly-stats/partner-monthly-stats.d.ts +7 -0
  211. package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +13 -0
  212. package/dist/components/partner-toggle-button/index.d.ts +2 -0
  213. package/dist/components/partner-toggle-button/partner-toggle-button-block.d.ts +11 -0
  214. package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +13 -0
  215. package/dist/components/partner-toggle-button/partner-toggle-button.d.ts +8 -0
  216. package/dist/components/phone-number-input/index.d.ts +4 -0
  217. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +27 -0
  218. package/dist/components/phone-number-input/phone-number-input-v2.d.ts +19 -0
  219. package/dist/components/phone-number-input/phone-number-input.d.ts +26 -0
  220. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +41 -0
  221. package/dist/components/phone-number-input/util.d.ts +2 -0
  222. package/dist/components/popup/index.d.ts +1 -0
  223. package/dist/components/popup/popup.d.ts +8 -0
  224. package/dist/components/popup/popup.stories.d.ts +14 -0
  225. package/dist/components/progressbar/index.d.ts +1 -0
  226. package/dist/components/progressbar/progress-bar-circle.d.ts +10 -0
  227. package/dist/components/progressbar/progressbar.d.ts +8 -0
  228. package/dist/components/progressbar/progressbar.stories.d.ts +20 -0
  229. package/dist/components/radio/index.d.ts +2 -0
  230. package/dist/components/radio/radio-group.d.ts +16 -0
  231. package/dist/components/radio/radio-group.stories.d.ts +13 -0
  232. package/dist/components/radio/radio.d.ts +17 -0
  233. package/dist/components/radio/radio.stories.d.ts +25 -0
  234. package/dist/components/select/index.d.ts +3 -0
  235. package/dist/components/select/select-enhanced.d.ts +24 -0
  236. package/dist/components/select/select-helper-text.d.ts +7 -0
  237. package/dist/components/select/select-v2.d.ts +27 -0
  238. package/dist/components/select/select.d.ts +14 -6
  239. package/dist/components/select/select.stories.d.ts +94 -21
  240. package/dist/components/spinner/index.d.ts +1 -0
  241. package/dist/components/spinner/spinner.d.ts +9 -0
  242. package/dist/components/spinner/spinner.stories.d.ts +19 -0
  243. package/dist/components/statistics/index.d.ts +1 -0
  244. package/dist/components/statistics/statistics.d.ts +13 -0
  245. package/dist/components/statistics/statistics.stories.d.ts +13 -0
  246. package/dist/components/switch/index.d.ts +2 -0
  247. package/dist/components/switch/switch-v2.d.ts +8 -0
  248. package/dist/components/switch/switch.d.ts +14 -0
  249. package/dist/components/switch/switch.stories.d.ts +31 -0
  250. package/dist/components/table/index.d.ts +1 -0
  251. package/dist/components/table/partner-monthly-table.d.ts +19 -0
  252. package/dist/components/table/partner-monthly-table.stories.d.ts +19 -0
  253. package/dist/components/tabs/nav-tabs.d.ts +18 -0
  254. package/dist/components/tabs/tab-text-label.d.ts +1 -1
  255. package/dist/components/tabs/tab.d.ts +1 -0
  256. package/dist/components/tabs/tabs.d.ts +5 -2
  257. package/dist/components/tabs/tabs.stories.d.ts +2 -2
  258. package/dist/components/text/text.d.ts +7 -5
  259. package/dist/components/text/text.stories.d.ts +63 -7
  260. package/dist/components/text-field/index.d.ts +2 -0
  261. package/dist/components/text-field/text-field-helper-text.d.ts +1 -1
  262. package/dist/components/text-field/text-field-search.d.ts +10 -0
  263. package/dist/components/text-field/text-field.d.ts +6 -3
  264. package/dist/components/text-field/text-field.stories.d.ts +59 -51
  265. package/dist/components/this-month-card/index.d.ts +1 -0
  266. package/dist/components/this-month-card/this-month-card.d.ts +15 -0
  267. package/dist/components/this-month-card/this-month-card.stories.d.ts +13 -0
  268. package/dist/components/toast/Icons.d.ts +7 -0
  269. package/dist/components/toast/index.d.ts +1 -0
  270. package/dist/components/toast/toast.d.ts +8 -0
  271. package/dist/components/toast/toast.stories.d.ts +13 -0
  272. package/dist/components/transaction-card/Dot.d.ts +6 -0
  273. package/dist/components/transaction-card/index.d.ts +1 -0
  274. package/dist/components/transaction-card/transaction-card.d.ts +16 -0
  275. package/dist/components/transaction-card/transaction-card.stories.d.ts +20 -0
  276. package/dist/components/uploader/index.d.ts +1 -0
  277. package/dist/components/uploader/uploader.d.ts +23 -0
  278. package/dist/donation.css +2 -0
  279. package/dist/donation.css.map +1 -0
  280. package/dist/donation.d.ts +3 -0
  281. package/dist/donation.esm.css +2 -0
  282. package/dist/donation.esm.css.map +1 -0
  283. package/dist/donation.esm.js +25291 -0
  284. package/dist/donation.js +25346 -0
  285. package/dist/index.css +2 -0
  286. package/dist/index.css.map +1 -0
  287. package/dist/index.d.ts +1 -1
  288. package/dist/index.esm.css +2 -0
  289. package/dist/index.esm.css.map +1 -0
  290. package/dist/index.esm.js +29870 -2038
  291. package/dist/index.js +29944 -2036
  292. package/dist/theme/index.d.ts +2 -0
  293. package/dist/theme/theme.d.ts +9 -5
  294. package/dist/utils/center-decorator.d.ts +1 -1
  295. package/dist/utils/component-matrix.d.ts +1 -1
  296. package/dist/utils/grid-decorator.d.ts +1 -1
  297. package/dist/utils/parse-numbers.d.ts +2 -0
  298. package/package.json +64 -24
  299. package/styles/index.css +8 -4457
  300. package/styles/index.css.map +1 -0
  301. package/styles/reset.css +2 -314
  302. package/styles/reset.css.map +1 -0
  303. package/CHANGELOG.md +0 -94
  304. package/dist/components/icon/toggle-button.d.ts +0 -11
  305. package/dist/components/mycause-statistics/index.d.ts +0 -1
  306. 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,94 +0,0 @@
1
- ## 0.2.0
2
-
3
- ##### Fri, 25 Oct 2019
4
-
5
- ##### Components
6
-
7
- - Chips
8
- - added Chips component.
9
- - InputChips
10
- - added InputChips component.
11
- - IconButtonGroup
12
- - added IconButtonGroup component.
13
- - ComboField
14
- - added ComboField component.
15
- - ComboFieldExpander
16
- - added ComboFieldExpander component.
17
- - Flex
18
- - added Flex component.
19
- - Stack
20
- - now composes the Flex component.
21
- - **breaking**: replaced `vertical` and `horizontal` props with the `direction` prop from Flex.
22
- - Navigation
23
- - the user menu now opens/closes on hover in addition to the anchor being pressed.
24
- - the user menu now changes to a full width style on mobile.
25
-
26
- ## 0.1.0
27
-
28
- ###### Mon, 21 Oct 2019
29
-
30
- First release.
31
-
32
- ##### Components
33
-
34
- - BoldAnchor
35
- - added analyticsId prop.
36
- - Button
37
- - outlined button now turns solid on hover.
38
- - added the analyticsId prop.
39
- - Navigation
40
- - created.
41
- - Select
42
- - now forwards a ref to the underlying select element.
43
- - Stack
44
- - added Stack component.
45
- - Text
46
- - added Text component.
47
- - Tab
48
- - ripple colour changed from static theme color to grey.
49
- - added the analyticsId prop
50
-
51
- ##### Stylesheets
52
-
53
- - reset.css
54
- - default font and box sizing are now only applied to `html` instead of both `html` and `body`.
55
-
56
- ##### Modules
57
-
58
- - Theme
59
- - added `muted` and `inactive` colors.
60
- - ThemeProvider now sets the font of `body` to the default typography font.
61
- - Utils
62
- - Browser: no longer makes unguarded accesses to `window`.
63
-
64
- ## 0.0.0 (Never released)
65
-
66
- ###### Mon, 7 Oct 2019
67
-
68
- Welcome to the start of the `@mycause/ui` project.
69
-
70
- ##### Components
71
-
72
- - Anchor
73
- - BoldAnchor
74
- - Avatar
75
- - Button
76
- - Icon
77
- - IconButton
78
- - ToggleButton
79
- - Select
80
- - Tabs
81
- - TextField
82
-
83
- ##### Stylesheets
84
-
85
- - index.css
86
- - reset.css
87
-
88
- ##### Modules
89
-
90
- - Theme
91
- - ThemeProvider
92
- - ThemeContext
93
- - useTheme
94
- - 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 +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;