@mycause/ui 0.0.0-cd65c25d → 0.0.0-cd924884

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 (42) hide show
  1. package/README.md +17 -0
  2. package/dist/components/credit-card-form/CreditCardForm.d.ts +13 -0
  3. package/dist/components/credit-card-form/Icons.d.ts +7 -0
  4. package/dist/components/credit-card-form/credit-card.stories.d.ts +12 -0
  5. package/dist/components/credit-card-form/index.d.ts +1 -0
  6. package/dist/components/credit-card-form/toast.stories.d.ts +12 -0
  7. package/dist/components/date-picker/date-picker.stories.d.ts +1 -0
  8. package/dist/components/date-picker/single-date-picker-custom-header.d.ts +4 -4
  9. package/dist/components/date-picker/single-date-picker.d.ts +2 -1
  10. package/dist/components/index.d.ts +1 -0
  11. package/dist/components/input-social/Icons.d.ts +5 -0
  12. package/dist/components/input-social/InputSocial.d.ts +12 -0
  13. package/dist/components/input-social/index.d.ts +1 -0
  14. package/dist/components/input-social/input-social.stories.d.ts +12 -0
  15. package/dist/components/my-account-sidebar/my-account-sidebar.d.ts +3 -2
  16. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.d.ts +5 -3
  17. package/dist/components/my-account-start-fundraise-card/my-account-start-fundraise-card.stories.d.ts +7 -1
  18. package/dist/components/phone-number-input/phone-number-input-v1.d.ts +2 -1
  19. package/dist/components/phone-number-input/phone-number-input.d.ts +2 -1
  20. package/dist/components/phone-number-input/phone-number-input.stories.d.ts +12 -0
  21. package/dist/components/select/select-enhanced.d.ts +2 -1
  22. package/dist/components/select/select-v2.d.ts +2 -1
  23. package/dist/components/select/select.stories.d.ts +2 -2
  24. package/dist/components/spinner/spinner.d.ts +2 -1
  25. package/dist/components/spinner/spinner.stories.d.ts +6 -0
  26. package/dist/components/switch/index.d.ts +1 -0
  27. package/dist/components/switch/switch-v2.d.ts +8 -0
  28. package/dist/components/switch/switch.stories.d.ts +6 -0
  29. package/dist/components/table/partner-monthly-table.d.ts +4 -2
  30. package/dist/components/text-field/text-field-search.d.ts +2 -1
  31. package/dist/components/text-field/text-field.d.ts +1 -0
  32. package/dist/components/transaction-card/transaction-card.d.ts +10 -8
  33. package/dist/components/transaction-card/transaction-card.stories.d.ts +7 -1
  34. package/dist/components/uploader/Icons.d.ts +6 -0
  35. package/dist/components/uploader/uploadAndCropper.d.ts +13 -0
  36. package/dist/index.esm.js +809 -5273
  37. package/dist/index.js +810 -5272
  38. package/package.json +28 -18
  39. package/styles/index.css +7 -6
  40. package/styles/index.css.map +1 -0
  41. package/styles/reset.css.map +1 -0
  42. package/CHANGELOG.md +0 -638
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycause/ui",
3
- "version": "0.0.0-cd65c25d",
3
+ "version": "0.0.0-cd924884",
4
4
  "author": "Marc Porciuncula <marc@mycause.com.au>",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -13,13 +13,14 @@
13
13
  "build-types": "tsc --emitDeclarationOnly",
14
14
  "clean": "node ./build/clean",
15
15
  "storybook": "start-storybook --port 3030 --ci",
16
- "build-storybook": "build-storybook -c .storybook -o .storybook/dist",
16
+ "build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-storybook -c .storybook -o .storybook/dist",
17
17
  "start-storybook": "serve ./.storybook/dist",
18
18
  "format": "prettier \"./**/*.{js,ts,tsx,css,json,md}\" --write",
19
19
  "format-check": "prettier \"./**/*.{js,ts,tsx,css,json,md}\" --check",
20
20
  "type-check": "tsc --noEmit",
21
21
  "lint": "eslint \"src/**/*.{js,ts,tsx}\"",
22
- "stats": "cross-env NODE_ENV=production webpack --config ./build/webpack.config.js --profile --json > stats.json && node ./build/clean-stats"
22
+ "stats": "cross-env NODE_ENV=production webpack --config ./build/webpack.config.js --profile --json > stats.json && node ./build/clean-stats",
23
+ "postinstall": "patch-package"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@babel/core": "^7.5.5",
@@ -40,25 +41,25 @@
40
41
  "@types/react-dom": "^16.8.5",
41
42
  "@types/storybook__react": "^4.0.2",
42
43
  "@types/styled-jsx": "^2.2.8",
43
- "@typescript-eslint/eslint-plugin": "^1.13.0",
44
- "@typescript-eslint/parser": "^1.13.0",
44
+ "@typescript-eslint/eslint-plugin": "5.59.11",
45
+ "@typescript-eslint/parser": "5.59.11",
45
46
  "babel-loader": "^8.0.6",
46
47
  "babel-plugin-ramda": "^2.0.0",
47
48
  "babel-plugin-typescript-to-proptypes": "^0.17.1",
48
49
  "concurrently": "^5.0.0",
49
50
  "cross-env": "^5.2.0",
50
- "css-loader": "^3.2.0",
51
- "eslint": "^6.1.0",
51
+ "css-loader": "3.6.0",
52
+ "eslint": "^7.1.0",
52
53
  "eslint-config-prettier": "^6.0.0",
53
54
  "eslint-plugin-react": "^7.14.3",
54
55
  "eslint-plugin-react-hooks": "^1.6.1",
55
56
  "fs-extra": "^8.1.0",
56
57
  "husky": "^3.0.2",
57
- "node-sass": "^4.12.0",
58
58
  "normalize.css": "^8.0.1",
59
- "postcss-flexbugs-fixes": "^4.1.0",
60
- "postcss-loader": "^3.0.0",
61
- "postcss-preset-env": "^6.7.0",
59
+ "postcss-flexbugs-fixes": "4",
60
+ "postcss-import": "12.0.1",
61
+ "postcss-preset-env": "6",
62
+ "postcss-scss": "2.1.1",
62
63
  "prettier": "^1.18.2",
63
64
  "react": "^16.8.6",
64
65
  "react-dom": "^16.8.6",
@@ -69,12 +70,11 @@
69
70
  "rollup-plugin-postcss": "^2.0.3",
70
71
  "rollup-plugin-sass": "^1.2.2",
71
72
  "rollup-plugin-sourcemaps": "^0.4.2",
72
- "sass-loader": "^7.1.0",
73
73
  "serve": "^11.1.0",
74
- "style-loader": "^1.0.0",
75
- "styled-jsx-plugin-postcss": "^2.0.1",
74
+ "style-loader": "1.2.1",
75
+ "styled-jsx-plugin-postcss": "^4.0.1",
76
76
  "tslib": "^1.10.0",
77
- "typescript": "^3.5.3"
77
+ "typescript": "4.9.5"
78
78
  },
79
79
  "dependencies": {
80
80
  "@material/elevation": "^3.1.0",
@@ -104,13 +104,20 @@
104
104
  "i18n-iso-countries": "^4.3.1",
105
105
  "js-cookie": "^2.2.1",
106
106
  "libphonenumber-js": "^1.7.29",
107
+ "moment": "2.29.1",
108
+ "moment-timezone": "^0.5.45",
107
109
  "nanoid": "^2.1.6",
110
+ "patch-package": "^8.0.0",
111
+ "postcss-loader": "4",
112
+ "postinstall-postinstall": "^2.1.0",
108
113
  "ramda": "^0.26.1",
109
114
  "react-cropper": "^1.3.0",
110
- "react-dates": "^21.5.0",
115
+ "react-dates": "^21.8.0",
111
116
  "react-dropzone-uploader": "^2.11.0",
112
117
  "react-toastify": "8.1.0",
113
- "styled-jsx": "^3.2.1",
118
+ "sass": "1.32.13",
119
+ "sass-loader": "10",
120
+ "styled-jsx": "^5.1.6",
114
121
  "use-media": "^1.4.0"
115
122
  },
116
123
  "peerDependencies": {
@@ -122,5 +129,8 @@
122
129
  "files": [
123
130
  "dist",
124
131
  "styles"
125
- ]
132
+ ],
133
+ "resolutions": {
134
+ "moment": "2.29.1"
135
+ }
126
136
  }
package/styles/index.css CHANGED
@@ -1668,12 +1668,9 @@ svg.mdc-button__icon {
1668
1668
  position: absolute;
1669
1669
  left: 9px; }
1670
1670
 
1671
- .CalendarMonthGrid__vertical {
1672
- margin: 0 auto; }
1673
-
1671
+ .CalendarMonthGrid__vertical,
1674
1672
  .CalendarMonthGrid__vertical_scrollable {
1675
- margin: 0 auto;
1676
- overflow-y: scroll; }
1673
+ margin: 0 auto; }
1677
1674
 
1678
1675
  .CalendarMonthGrid_month__horizontal {
1679
1676
  display: inline-block;
@@ -1696,6 +1693,9 @@ svg.mdc-button__icon {
1696
1693
  .DayPickerNavigation__horizontal {
1697
1694
  height: 0; }
1698
1695
 
1696
+ .DayPickerNavigation__verticalScrollable_prevNav {
1697
+ z-index: 1; }
1698
+
1699
1699
  .DayPickerNavigation__verticalDefault {
1700
1700
  position: absolute;
1701
1701
  width: 100%;
@@ -1778,7 +1778,8 @@ svg.mdc-button__icon {
1778
1778
  .DayPickerNavigation_nextButton__verticalDefault {
1779
1779
  border-left: 0; }
1780
1780
 
1781
- .DayPickerNavigation_nextButton__verticalScrollableDefault {
1781
+ .DayPickerNavigation_nextButton__verticalScrollableDefault,
1782
+ .DayPickerNavigation_prevButton__verticalScrollableDefault {
1782
1783
  width: 100%; }
1783
1784
 
1784
1785
  .DayPickerNavigation_svg__horizontal {