@surveycake/rc 2.4.0-alpha.12 → 3.0.0-alpha.2

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 (46) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/AnimateHeight/utils.d.ts +1 -1
  3. package/dist/Avatar/style.d.ts +1 -1
  4. package/dist/Card/CardActionArea/index.d.ts +1 -7
  5. package/dist/Chip/CustomChip/index.d.ts +1 -14
  6. package/dist/DatePicker/styles.d.ts +5 -7
  7. package/dist/Divider/style.d.ts +1 -12
  8. package/dist/GroupSelect/style.d.ts +3 -3
  9. package/dist/InputSlider/useSlide.d.ts +2 -4
  10. package/dist/KeyboardDatePicker/style.d.ts +4 -4
  11. package/dist/KeyboardDatePicker/withMuiPickersUtilsProvider.d.ts +2 -2
  12. package/dist/MenuList/styles.d.ts +2 -2
  13. package/dist/MuiComponentsPlayground/Button/index.d.ts +2 -4
  14. package/dist/MuiComponentsPlayground/Menu/index.d.ts +2 -4
  15. package/dist/MuiComponentsPlayground/Typography/index.d.ts +2 -4
  16. package/dist/MuiSystemPlayground/Typography/index.d.ts +2 -4
  17. package/dist/Pagination/Icons.d.ts +2 -56
  18. package/dist/Paper/index.d.ts +1 -1
  19. package/dist/SlidingSideMenu/styles.d.ts +0 -2
  20. package/dist/Snackbar/styles.d.ts +0 -2
  21. package/dist/Stepper/Step/styles.d.ts +0 -2
  22. package/dist/Switch/styles.d.ts +5 -7
  23. package/dist/V2/Button/Button.stories.d.ts +7 -0
  24. package/dist/V2/Button/index.d.ts +6 -0
  25. package/dist/V2/Button/style.d.ts +1 -0
  26. package/dist/V2/Icon/Icon.stories.d.ts +5 -0
  27. package/dist/V2/Icon/custom/Facebook.d.ts +6 -0
  28. package/dist/V2/Icon/custom/index.d.ts +1 -0
  29. package/dist/V2/Icon/index.d.ts +17 -0
  30. package/dist/V2/Link/Link.stories.d.ts +5 -0
  31. package/dist/V2/Link/index.d.ts +6 -0
  32. package/dist/V2/Link/style.d.ts +1 -0
  33. package/dist/V2/Typography/Typography.stories.d.ts +4 -0
  34. package/dist/V2/Typography/index.d.ts +7 -0
  35. package/dist/V2/index.d.ts +8 -0
  36. package/dist/V2/styles/ThemeProvider.d.ts +2 -0
  37. package/dist/V2/styles/theme.d.ts +1 -0
  38. package/dist/index.d.ts +4 -2
  39. package/dist/rc.cjs.development.js +570 -191
  40. package/dist/rc.cjs.development.js.map +1 -1
  41. package/dist/rc.cjs.production.min.js +1 -1
  42. package/dist/rc.cjs.production.min.js.map +1 -1
  43. package/dist/rc.esm.js +558 -182
  44. package/dist/rc.esm.js.map +1 -1
  45. package/dist/utils/formatNumberToText.d.ts +2 -1
  46. package/package.json +15 -6
@@ -1,2 +1,3 @@
1
- declare function formatNumberToText(num: number): string | number;
1
+ /// <reference types="react" />
2
+ declare function formatNumberToText(num: number): import("react").ReactText;
2
3
  export default formatNumberToText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surveycake/rc",
3
- "version": "2.4.0-alpha.12",
3
+ "version": "3.0.0-alpha.2",
4
4
  "description": "react component of surveycake",
5
5
  "keywords": [
6
6
  "surveycake",
@@ -38,13 +38,15 @@
38
38
  "release": "standard-version",
39
39
  "dev": "styleguidist server",
40
40
  "build:doc": "rm -rf ./styleguide && styleguidist build",
41
- "format": "prettier --config ./.prettierrc --write '**/*.{ts,js,css,html,json}'"
41
+ "format": "prettier --config ./.prettierrc --write '**/*.{ts,js,css,html,json}'",
42
+ "storybook": "start-storybook -p 6006",
43
+ "build-storybook": "build-storybook"
42
44
  },
43
45
  "dependencies": {
44
46
  "@date-io/date-fns": "^1.3.13",
45
47
  "@emotion/styled": "^10.0.27",
46
- "@material-ui/core": "^4.9.14",
47
- "@material-ui/icons": "^4.9.1",
48
+ "@material-ui/core": "^4.12.3",
49
+ "@material-ui/icons": "^4.11.2",
48
50
  "@material-ui/lab": "^4.0.0-alpha.53",
49
51
  "@material-ui/pickers": "^3.2.10",
50
52
  "@surveycake/rhooks": "^2.3.5",
@@ -63,10 +65,17 @@
63
65
  },
64
66
  "devDependencies": {
65
67
  "@babel/core": "^7.7.4",
68
+ "@babel/plugin-proposal-export-namespace-from": "^7.14.5",
66
69
  "@babel/preset-env": "^7.6.3",
67
70
  "@babel/preset-react": "^7.6.3",
68
71
  "@babel/preset-typescript": "^7.6.0",
69
72
  "@emotion/core": "^10.0.28",
73
+ "@storybook/addon-actions": "^6.3.8",
74
+ "@storybook/addon-essentials": "^6.3.8",
75
+ "@storybook/addon-links": "^6.3.8",
76
+ "@storybook/addons": "^6.3.8",
77
+ "@storybook/react": "^6.3.8",
78
+ "@storybook/theming": "^6.3.8",
70
79
  "@types/he": "^1.1.0",
71
80
  "@types/jest": "^24.0.21",
72
81
  "@types/react": "^16.9.11",
@@ -86,9 +95,9 @@
86
95
  "react-dom": "^16.11.0",
87
96
  "react-styleguidist": "^10.1.0",
88
97
  "standard-version": "^9.1.1",
89
- "tsdx": "^0.11.0",
98
+ "tsdx": "^0.14.1",
90
99
  "tslib": "^1.10.0",
91
- "typescript": "^3.6.4",
100
+ "typescript": "^3.8.0",
92
101
  "webpack": "^4.41.2"
93
102
  },
94
103
  "standard-version": {