@mycause/ui 0.0.0-cdb9c694 → 0.0.0-cdde807b

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 (282) 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/{phone-number-input/phone-number-field.stories.d.ts → button-select/button-select.stories.d.ts} +3 -3
  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 +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/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 +5 -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 +4 -2
  50. package/dist/components/cropper/cropper.stories.d.ts +3 -4
  51. package/dist/components/date-picker/date-picker.d.ts +1 -1
  52. package/dist/components/date-picker/date-picker.stories.d.ts +11 -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 +4 -2
  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/elevation/elevation.d.ts +1 -1
  67. package/dist/components/elevation/elevation.stories.d.ts +2 -2
  68. package/dist/components/favorite-charity-item/favorite-charity-item.d.ts +15 -0
  69. package/dist/components/favorite-charity-item/favorite-charity-item.stories.d.ts +15 -0
  70. package/dist/components/favorite-charity-item/index.d.ts +1 -0
  71. package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +17 -0
  72. package/dist/components/featured-campaign-card/featured-campaign-card.stories.d.ts +14 -0
  73. package/dist/components/featured-campaign-card/index.d.ts +1 -0
  74. package/dist/components/field-helpers/field-helper-text.d.ts +2 -2
  75. package/dist/components/field-helpers/field-label.d.ts +2 -1
  76. package/dist/components/footerV2/footerV2.d.ts +35 -0
  77. package/dist/components/footerV2/footerV2.stories.d.ts +15 -0
  78. package/dist/components/footerV2/index.d.ts +1 -0
  79. package/dist/components/fundraising-section/fundraising-section.d.ts +9 -0
  80. package/dist/components/fundraising-section/fundraising-section.stories.d.ts +14 -0
  81. package/dist/components/fundraising-section/index.d.ts +1 -0
  82. package/dist/components/hero-banner/hero-banner.d.ts +9 -0
  83. package/dist/components/hero-banner/hero-banner.stories.d.ts +14 -0
  84. package/dist/components/hero-banner/index.d.ts +1 -0
  85. package/dist/components/horizontalbar/horizontalbar.d.ts +11 -0
  86. package/dist/components/horizontalbar/horizontalbar.stories.d.ts +26 -0
  87. package/dist/components/horizontalbar/index.d.ts +1 -0
  88. package/dist/components/icon/btn_google_light_normal_ios.svg.d.ts +1 -1
  89. package/dist/components/icon/facebook_6.svg.d.ts +1 -1
  90. package/dist/components/icon/heart-toggle.d.ts +11 -0
  91. package/dist/components/icon/{toggle-button.stories.d.ts → heart-toggle.stories.d.ts} +3 -3
  92. package/dist/components/icon/icon-button-group.d.ts +1 -1
  93. package/dist/components/icon/icon-button-group.stories.d.ts +2 -2
  94. package/dist/components/icon/icon-button.d.ts +1 -1
  95. package/dist/components/icon/icon-button.stories.d.ts +3 -3
  96. package/dist/components/icon/icon.d.ts +1 -1
  97. package/dist/components/icon/icon.stories.d.ts +4 -4
  98. package/dist/components/icon/index.d.ts +1 -1
  99. package/dist/components/icon/material-icon.d.ts +2 -2
  100. package/dist/components/index.d.ts +38 -0
  101. package/dist/components/info-represent-campaign/index.d.ts +1 -0
  102. package/dist/components/info-represent-campaign/info-represent-campaign.d.ts +11 -0
  103. package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +12 -0
  104. package/dist/components/input/InputDefault.d.ts +13 -0
  105. package/dist/components/input/index.d.ts +1 -0
  106. package/dist/components/input/input.stories.d.ts +24 -0
  107. package/dist/components/input-social/Icons.d.ts +5 -0
  108. package/dist/components/input-social/InputSocial.d.ts +12 -0
  109. package/dist/components/input-social/index.d.ts +1 -0
  110. package/dist/components/input-social/input-social.stories.d.ts +12 -0
  111. package/dist/components/layout/box.d.ts +232 -224
  112. package/dist/components/layout/flex.d.ts +4 -4
  113. package/dist/components/layout/flex.stories.d.ts +2 -2
  114. package/dist/components/layout/grid.d.ts +2 -2
  115. package/dist/components/layout/grid.stories.d.ts +2 -2
  116. package/dist/components/layout/stack.d.ts +2 -2
  117. package/dist/components/layout/stack.stories.d.ts +4 -4
  118. package/dist/components/list/list.d.ts +29 -15
  119. package/dist/components/list/list.stories.d.ts +14 -8
  120. package/dist/components/login/index.d.ts +1 -0
  121. package/dist/components/login/login.d.ts +15 -0
  122. package/dist/components/login/login.stories.d.ts +19 -0
  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 +1 -0
  128. package/dist/components/modal/modal-image.d.ts +8 -0
  129. package/dist/components/modal/modal.d.ts +7 -3
  130. package/dist/components/modal/modal.stories.d.ts +22 -4
  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 +9 -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 +2 -1
  206. package/dist/components/phone-number-input/{phone-number-field.d.ts → phone-number-input-v1.d.ts} +8 -4
  207. package/dist/components/phone-number-input/phone-number-input-v2.d.ts +19 -0
  208. package/dist/components/phone-number-input/phone-number-input.d.ts +22 -23
  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 +6 -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/start-campaign-card/index.d.ts +1 -0
  231. package/dist/components/start-campaign-card/start-campaign-card.d.ts +8 -0
  232. package/dist/components/start-campaign-card/start-campaign-card.stories.d.ts +14 -0
  233. package/dist/components/statistics/statistics.d.ts +2 -1
  234. package/dist/components/statistics/statistics.stories.d.ts +2 -2
  235. package/dist/components/switch/index.d.ts +1 -0
  236. package/dist/components/switch/switch-v2.d.ts +8 -0
  237. package/dist/components/switch/switch.d.ts +1 -1
  238. package/dist/components/switch/switch.stories.d.ts +10 -4
  239. package/dist/components/table/index.d.ts +1 -0
  240. package/dist/components/table/partner-monthly-table.d.ts +19 -0
  241. package/dist/components/table/partner-monthly-table.stories.d.ts +18 -0
  242. package/dist/components/tabs/nav-tabs.d.ts +18 -0
  243. package/dist/components/tabs/tab-text-label.d.ts +1 -1
  244. package/dist/components/tabs/tabs.d.ts +4 -2
  245. package/dist/components/tabs/tabs.stories.d.ts +2 -2
  246. package/dist/components/text/text.d.ts +4 -5
  247. package/dist/components/text/text.stories.d.ts +7 -7
  248. package/dist/components/text-field/index.d.ts +1 -0
  249. package/dist/components/text-field/text-field-helper-text.d.ts +1 -1
  250. package/dist/components/text-field/text-field-search.d.ts +10 -0
  251. package/dist/components/text-field/text-field.d.ts +2 -0
  252. package/dist/components/text-field/text-field.stories.d.ts +8 -2
  253. package/dist/components/this-month-card/index.d.ts +1 -0
  254. package/dist/components/this-month-card/this-month-card.d.ts +15 -0
  255. package/dist/components/this-month-card/this-month-card.stories.d.ts +12 -0
  256. package/dist/components/toast/Icons.d.ts +7 -0
  257. package/dist/components/toast/index.d.ts +1 -0
  258. package/dist/components/toast/toast.d.ts +8 -0
  259. package/dist/components/toast/toast.stories.d.ts +12 -0
  260. package/dist/components/transaction-card/Dot.d.ts +6 -0
  261. package/dist/components/transaction-card/index.d.ts +1 -0
  262. package/dist/components/transaction-card/transaction-card.d.ts +16 -0
  263. package/dist/components/transaction-card/transaction-card.stories.d.ts +20 -0
  264. package/dist/components/uploader/uploader.d.ts +1 -1
  265. package/dist/index.css +2 -0
  266. package/dist/index.css.map +1 -0
  267. package/dist/index.esm.css +2 -0
  268. package/dist/index.esm.css.map +1 -0
  269. package/dist/index.esm.js +28730 -7236
  270. package/dist/index.js +28772 -7229
  271. package/dist/theme/theme.d.ts +9 -5
  272. package/dist/utils/center-decorator.d.ts +1 -1
  273. package/dist/utils/component-matrix.d.ts +1 -1
  274. package/dist/utils/grid-decorator.d.ts +1 -1
  275. package/dist/utils/parse-numbers.d.ts +2 -0
  276. package/package.json +32 -19
  277. package/styles/index.css +5 -7751
  278. package/styles/index.css.map +1 -0
  279. package/styles/reset.css +2 -315
  280. package/styles/reset.css.map +1 -0
  281. package/CHANGELOG.md +0 -360
  282. package/dist/components/icon/toggle-button.d.ts +0 -11
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,360 +0,0 @@
1
- ## 0.12.4
2
-
3
- ###### Thu, 9 Jan 2020
4
-
5
- - PhoneNumberInput
6
- - Improved functionality by adding default country prop and getCountry function.
7
-
8
- ## 0.12.3
9
-
10
- ###### Sat, 21 Dec 2019
11
-
12
- - PhoneNumberField
13
- - This is depricated but has not been removed yet.
14
- - PhoneNumberInput
15
- - Created new phonenumber component with input with better functionality.
16
- - Cropper
17
- - Set default crop size to max width of uploaded image.
18
- - List
19
- - fixed warnings from components.
20
-
21
- ## 0.12.1
22
-
23
- ###### Thu, 13 Dec 2019
24
-
25
- - Uploader
26
- - Type check improvements removed since Dropzone package causes typecheck error in app build.
27
- - Need to investiage why this is happening.
28
-
29
- ## 0.12.0
30
-
31
- ###### Thu, 12 Dec 2019
32
-
33
- - Modal
34
- - Added Modal component.
35
- - Uploader
36
- - Added Uploader component.
37
- - Cropper
38
- - Added Cropper component.
39
- - DatePicker
40
- - Added range DatePicker component.
41
- - Added single DatePicker component.
42
- - Switch
43
- - Set cursor:pointer on labels for Radio, Switch, and Checkbox.
44
- - Checkbox
45
- - Set cursor:pointer on labels for Radio, Switch, and Checkbox.
46
- - Select
47
- - Set cursor:pointer on labels for Radio, Switch, and Checkbox.
48
- - Add error prop to select.
49
- - TextField
50
- - Add list prop to TextField component.
51
- - List
52
- - Add style prop to List component.
53
-
54
- ## 0.11.2
55
-
56
- ###### Thu, 28 Nov 2019
57
-
58
- - Select
59
- - fixed the bug where the onChange event doesn't emit with the correct value on Firefox _again_.
60
-
61
- ## 0.11.1
62
-
63
- ###### Thu, 28 Nov 2019
64
-
65
- - Select
66
- - fixed the bug where the onChange event doesn't emit with the correct value on Firefox again.
67
-
68
- ## 0.11.0
69
-
70
- ###### Thu, 28 Nov 2019
71
-
72
- - PhoneNumberField
73
- - added PhoneNumberField component.
74
- - added parseNationalPhoneNumber utility function.
75
-
76
- ## 0.10.1
77
-
78
- ###### Thu, 28 Nov 2019
79
-
80
- - Select
81
- - following the Select fix in 0.9.0, select now emits an onChange event with both a valid target and currentTarget always.
82
-
83
- ## 0.10.0
84
-
85
- ###### Wed, 27 Nov 2019
86
-
87
- - Navigation
88
- - **breaking**: the `onLogin` and `loginAnalyticsId` props are now one optional prop `login` that takes an object.
89
- - **breaking**: the `onSearch` and `searchAnalyticsId` props are now one optional prop `search` that takes an object.
90
-
91
- ## 0.9.1
92
-
93
- > Version 0.9.0 was incorrectly published and does not include all the changes intended. Please use this version instead.
94
-
95
- ## 0.9.0
96
-
97
- ###### Tue, 26 Nov 2019
98
-
99
- > Version 0.9.0 was incorrectly published and does not include all the changes intended. Please use 0.9.1 instead.
100
-
101
- - FieldHelperText
102
- - added FieldHelperText component.
103
- - FieldLabel
104
- - added FieldLabel component.
105
- - List
106
- - added `iconsNotRounded`, `iconWidth`, and `overflowHidden` props.
107
- - Select
108
- - fixed a bug where the select options could not be selected on Firefox.
109
- - added `noArrow` prop.
110
- - TextField
111
- - fixed a bug where providing a boolean value for the `error` prop incorrectly added helper text.
112
-
113
- ## 0.8.0
114
-
115
- ###### Tue, 19 Nov 2019
116
-
117
- - Box
118
- - added Box base component.
119
- - Checkbox
120
- - fixed alignment of label.
121
- - Flex
122
- - now composes the Box component.
123
- - Grid
124
- - added the Grid component.
125
- - Stack
126
- - now composes the Box component.
127
- - Text
128
- - now composes the Box component.
129
-
130
- ## 0.7.2
131
-
132
- ###### Tue, 19 Nov 2019
133
-
134
- - Checkbox
135
- - fixed Checkbox not being exported.
136
- - adjusted label styling.
137
- - Select
138
- - fixed a bug where select element options were showing up as blank in some browsers.
139
-
140
- ## 0.7.1
141
-
142
- ###### Mon, 18 Nov 2019
143
-
144
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use this version instead.
145
-
146
- ## 0.7.0
147
-
148
- ###### Mon, 18 Nov 2019
149
-
150
- > Version 0.7.0 was incorrectly published and does not include all the changes intended. Please use 0.7.1 instead.
151
-
152
- ##### Components
153
-
154
- - Elevation
155
- - now has overflow set to hidden by default.
156
- - List
157
- - added List component.
158
- - RadioGroup
159
- - fixed RadioGroup not being exported.
160
- - Text
161
- - added the `align` prop.
162
- - TextField
163
- - notch now has a minimum width to avoid cutting off floating label text.
164
- - helper text no longer has horizontal padding.
165
-
166
- ##### Modules
167
-
168
- - Theme
169
- - added MyCauseTheme to exports.
170
-
171
- ## 0.6.0
172
-
173
- ###### Thu, 14 Nov 2019
174
-
175
- - TextField
176
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
177
- - **breaking**: removed the `outlined` prop, all TextFields are outlined now and the (old) default style can no longer be used.
178
- - Select
179
- - **breaking**: replaced the `dense` prop with the `large` prop, the TextField is now dense by default.
180
- - **breaking**: removed the `outlined` prop, the default style can no longer be used.
181
- - added a `helperText` prop similar to that of TextField.
182
- - SelectHelperText
183
- - added SelectHelperText component.
184
-
185
- ## 0.5.1
186
-
187
- ###### Thu, 14 Nov 2019
188
-
189
- - Navigation
190
- - fixed user menu submenus not being closable.
191
- - Radio
192
- - fixed bug where radio id would not be updated when the name or value is updated.
193
-
194
- ## 0.5.0
195
-
196
- ###### Thu, 14 Nov 2019
197
-
198
- - Radio
199
- - added Radio component.
200
- - RadioGroup
201
- - added RadioGroup component.
202
- - Switch
203
- - added Switch component.
204
- - Navigation
205
- - **breaking**: the `sticky` prop has been renamed to `isSticky`.
206
- - **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.
207
- - the `onSearch` prop is now optional, and hides search when not provided.
208
- - the `onLogin` prop is now optional, and hides the login button when not provided.
209
- - added new prop `isCompactHeight` which makes the navbar a restricted height on all screen sizes.
210
-
211
- ## 0.4.4
212
-
213
- ###### Wed, 13 Nov 2019
214
-
215
- - TextAvatar
216
- - fixed a bug where certain names would cause an error.
217
-
218
- ## 0.4.3
219
-
220
- ###### Thu, 7 Nov 2019
221
-
222
- - TextField
223
- - helper text now uses theme brand font.
224
- - fix issues with textarea mode's appearance.
225
-
226
- ## 0.4.2
227
-
228
- ###### Thu, 7 Nov 2019
229
-
230
- - Navigation
231
- - fixed bug where non-sticky menu has incorrect positioning on mobile
232
-
233
- ## 0.4.1
234
-
235
- ###### Wed, 6 Nov 2019
236
-
237
- Patch
238
-
239
- ## 0.4.0
240
-
241
- ###### Wed, 6 Nov 2019
242
-
243
- ##### Components
244
-
245
- - Checkbox
246
- - added Checkbox component.
247
- - Navigation
248
- - Use buttons for actions instead of anchors in Navigation.
249
-
250
- ## 0.3.0
251
-
252
- ###### Fri, 1 Nov 2019
253
-
254
- ##### Components
255
-
256
- - Elevation
257
- - added Elevation component.
258
- - Navigation
259
- - added submenu items to the user menu.
260
- - cta prop is now optional.
261
- - Statistics
262
- - **breaking**: renamed from MyCauseStatistics to Statistics
263
- - design improvements.
264
- - **breaking**: now forwards props to the root element.
265
- - **breaking**: no longer hides itself on small screens.
266
-
267
- ## 0.2.0
268
-
269
- ###### Fri, 25 Oct 2019
270
-
271
- ##### Components
272
-
273
- - Chips
274
- - added Chips component.
275
- - InputChips
276
- - added InputChips component.
277
- - IconButtonGroup
278
- - added IconButtonGroup component.
279
- - ComboField
280
- - added ComboField component.
281
- - ComboFieldExpander
282
- - added ComboFieldExpander component.
283
- - Flex
284
- - added Flex component.
285
- - Stack
286
- - now composes the Flex component.
287
- - **breaking**: replaced `vertical` and `horizontal` props with the `direction` prop from Flex.
288
- - Navigation
289
- - the user menu now opens/closes on hover in addition to the anchor being pressed.
290
- - the user menu now changes to a full width style on mobile.
291
-
292
- ## 0.1.0
293
-
294
- ###### Mon, 21 Oct 2019
295
-
296
- First release.
297
-
298
- ##### Components
299
-
300
- - BoldAnchor
301
- - added analyticsId prop.
302
- - Button
303
- - outlined button now turns solid on hover.
304
- - added the analyticsId prop.
305
- - Navigation
306
- - created.
307
- - Select
308
- - now forwards a ref to the underlying select element.
309
- - Stack
310
- - added Stack component.
311
- - Text
312
- - added Text component.
313
- - Tab
314
- - ripple colour changed from static theme color to grey.
315
- - added the analyticsId prop
316
-
317
- ##### Stylesheets
318
-
319
- - reset.css
320
- - default font and box sizing are now only applied to `html` instead of both `html` and `body`.
321
-
322
- ##### Modules
323
-
324
- - Theme
325
- - added `muted` and `inactive` colors.
326
- - ThemeProvider now sets the font of `body` to the default typography font.
327
- - Utils
328
- - Browser: no longer makes unguarded accesses to `window`.
329
-
330
- ## 0.0.0 (Never released)
331
-
332
- ###### Mon, 7 Oct 2019
333
-
334
- Welcome to the start of the `@mycause/ui` project.
335
-
336
- ##### Components
337
-
338
- - Anchor
339
- - BoldAnchor
340
- - Avatar
341
- - Button
342
- - Icon
343
- - IconButton
344
- - ToggleButton
345
- - Select
346
- - Tabs
347
- - TextField
348
-
349
- ##### Stylesheets
350
-
351
- - index.css
352
- - reset.css
353
-
354
- ##### Modules
355
-
356
- - Theme
357
- - ThemeProvider
358
- - ThemeContext
359
- - useTheme
360
- - 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;