@sproutsocial/racine 11.7.0 → 11.9.0

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 (37) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/__flow__/Checkbox/index.stories.js +73 -56
  3. package/__flow__/EnumIconNames.js +1 -1
  4. package/__flow__/Icon/index.stories.js +41 -36
  5. package/__flow__/IconViewBoxes.js +1 -1
  6. package/__flow__/Input/index.js +47 -23
  7. package/__flow__/Input/index.stories.js +59 -33
  8. package/__flow__/Input/index.test.js +20 -0
  9. package/__flow__/Input/styles.js +2 -2
  10. package/__flow__/Loader/index.stories.js +18 -14
  11. package/__flow__/Numeral/index.stories.js +109 -50
  12. package/__flow__/Radio/index.stories.js +41 -26
  13. package/__flow__/Switch/index.stories.js +26 -18
  14. package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +9 -0
  15. package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +9 -0
  16. package/__flow__/types/theme.flow.js +2 -0
  17. package/commonjs/IconViewBoxes.js +2 -0
  18. package/commonjs/Input/index.js +42 -22
  19. package/commonjs/Input/styles.js +2 -2
  20. package/commonjs/include-icons.js +1 -1
  21. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +11 -2
  22. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +11 -2
  23. package/dist/iconList.js +1 -1
  24. package/dist/icons.svg +1 -1
  25. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +14 -0
  26. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +14 -0
  27. package/icons/help-alt.svg +3 -0
  28. package/icons/plug.svg +3 -0
  29. package/includeIcons.js +1 -1
  30. package/lib/IconViewBoxes.js +2 -0
  31. package/lib/Input/index.js +42 -22
  32. package/lib/Input/styles.js +2 -2
  33. package/lib/include-icons.js +1 -1
  34. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +9 -1
  35. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +9 -1
  36. package/lib/types/theme.flow.js +1 -1
  37. package/package.json +1 -1
@@ -39,11 +39,19 @@ export var datePicker = {
39
39
  }
40
40
  }
41
41
  };
42
+ export var analytics = {
43
+ trend: {
44
+ positive: baseDarkTheme.colors.teal[500],
45
+ neutral: baseDarkTheme.colors.neutral[100],
46
+ negative: baseDarkTheme.colors.neutral[100]
47
+ }
48
+ };
42
49
 
43
50
  var darkTheme = _extends({}, baseDarkTheme, {
44
51
  colors: _extends({}, baseDarkTheme.colors, {
45
52
  navigation: navigation,
46
- datePicker: datePicker
53
+ datePicker: datePicker,
54
+ analytics: analytics
47
55
  })
48
56
  });
49
57
 
@@ -39,11 +39,19 @@ export var datePicker = {
39
39
  }
40
40
  }
41
41
  };
42
+ export var analytics = {
43
+ trend: {
44
+ positive: baseLightTheme.colors.teal[800],
45
+ neutral: baseLightTheme.colors.neutral[800],
46
+ negative: baseLightTheme.colors.neutral[800]
47
+ }
48
+ };
42
49
 
43
50
  var lightTheme = _extends({}, baseLightTheme, {
44
51
  colors: _extends({}, baseLightTheme.colors, {
45
52
  navigation: navigation,
46
- datePicker: datePicker
53
+ datePicker: datePicker,
54
+ analytics: analytics
47
55
  })
48
56
  });
49
57
 
@@ -1,2 +1,2 @@
1
1
  import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows, space, easing, duration } from "../themes/light/theme";
2
- import { datePicker, navigation } from "../themes/extendedThemes/sproutTheme/light/theme";
2
+ import { datePicker, navigation, analytics } from "../themes/extendedThemes/sproutTheme/light/theme";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "11.7.0",
3
+ "version": "11.9.0",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",