@sproutsocial/racine 11.4.1 → 11.6.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.
- package/CHANGELOG.md +12 -0
- package/__flow__/Button/index.js +2 -0
- package/__flow__/Button/index.stories.js +51 -67
- package/__flow__/Button/styles.js +1 -1
- package/__flow__/Checkbox/styles.js +75 -75
- package/__flow__/Collapsible/index.js +2 -3
- package/__flow__/EmptyState/index.test.js +1 -1
- package/__flow__/Image/index.js +2 -10
- package/__flow__/Menu/__snapshots__/index.test.js.snap +2 -2
- package/__flow__/SegmentedControl/index.js +2 -3
- package/__flow__/TableCell/index.js +2 -9
- package/__flow__/ThemeProvider/index.js +6 -2
- package/__flow__/ToggleHint/index.js +2 -9
- package/__flow__/index.js +5 -0
- package/__flow__/setupTests.js +1 -1
- package/__flow__/systemProps/color.js +2 -1
- package/__flow__/systemProps/tests/__snapshots__/layout.test.js.snap +0 -14
- package/__flow__/systemProps/tests/layout.test.js +0 -9
- package/__flow__/themes/extendedThemes/sproutTheme/NonColorThemeValues/index.js +17 -0
- package/__flow__/themes/extendedThemes/sproutTheme/dark/getDarkThemeColors.js +36 -0
- package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +23 -0
- package/__flow__/themes/extendedThemes/sproutTheme/index.js +4 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/getLightThemeColors.js +36 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +23 -0
- package/__flow__/themes/extendedThemes/sproutTheme/sproutThemeType.flow.js +36 -0
- package/__flow__/types/theme.flow.js +17 -0
- package/__flow__/utils/responsiveProps/index.test.js +2 -10
- package/commonjs/Avatar/index.js +7 -4
- package/commonjs/Badge/index.js +3 -1
- package/commonjs/Badge/styles.js +1 -1
- package/commonjs/Banner/index.js +3 -1
- package/commonjs/Banner/styles.js +1 -1
- package/commonjs/Box/styles.js +1 -1
- package/commonjs/Breadcrumb/index.js +5 -2
- package/commonjs/Button/index.js +4 -1
- package/commonjs/Button/styles.js +1 -0
- package/commonjs/Card/index.js +3 -1
- package/commonjs/Card/styles.js +3 -3
- package/commonjs/CharacterCounter/index.js +3 -1
- package/commonjs/CharacterCounter/styles.js +1 -1
- package/commonjs/ChartLegend/index.js +3 -1
- package/commonjs/ChartLegend/styles.js +3 -3
- package/commonjs/Checkbox/index.js +3 -1
- package/commonjs/Checkbox/styles.js +1 -1
- package/commonjs/Collapsible/index.js +5 -2
- package/commonjs/DatePicker/DateRangePicker.js +3 -1
- package/commonjs/DatePicker/SingleDatePicker.js +3 -1
- package/commonjs/DatePicker/StatefulDateRangePicker.js +3 -1
- package/commonjs/DatePicker/StatefulSingleDatePicker.js +3 -1
- package/commonjs/DatePicker/common.js +1 -1
- package/commonjs/DatePicker/styles.js +2 -6
- package/commonjs/Drawer/SlideTransition.js +3 -1
- package/commonjs/Drawer/index.js +9 -4
- package/commonjs/Drawer/styles.js +2 -2
- package/commonjs/EmptyState/index.js +3 -1
- package/commonjs/Fieldset/index.js +7 -3
- package/commonjs/FormField/index.js +3 -1
- package/commonjs/Icon/index.js +5 -2
- package/commonjs/Icon/styles.js +1 -1
- package/commonjs/Image/index.js +3 -1
- package/commonjs/Image/styles.js +1 -1
- package/commonjs/Indicator/index.js +3 -1
- package/commonjs/Input/index.js +3 -1
- package/commonjs/Input/styles.js +2 -2
- package/commonjs/KeyboardKey/index.js +3 -1
- package/commonjs/Label/index.js +4 -2
- package/commonjs/Link/index.js +3 -1
- package/commonjs/Link/styles.js +1 -1
- package/commonjs/Listbox/index.js +7 -4
- package/commonjs/Loader/index.js +3 -1
- package/commonjs/Loader/styles.js +2 -2
- package/commonjs/LoaderButton/index.js +3 -1
- package/commonjs/Menu/constants.js +1 -1
- package/commonjs/Menu/descendants.js +10 -7
- package/commonjs/Menu/hooks.js +1 -1
- package/commonjs/Menu/index.js +22 -16
- package/commonjs/Menu/styles.js +2 -2
- package/commonjs/Message/index.js +3 -1
- package/commonjs/Message/styles.js +2 -2
- package/commonjs/Modal/index.js +7 -3
- package/commonjs/Modal/styles.js +4 -6
- package/commonjs/Numeral/constants.js +1 -1
- package/commonjs/Numeral/index.js +3 -1
- package/commonjs/Numeral/styles.js +3 -3
- package/commonjs/OverflowList/styles.js +1 -1
- package/commonjs/Popout/index.js +7 -3
- package/commonjs/Popout/styles.js +1 -1
- package/commonjs/Radio/index.js +3 -1
- package/commonjs/Radio/styles.js +4 -4
- package/commonjs/SegmentedControl/index.js +5 -2
- package/commonjs/Select/index.js +3 -1
- package/commonjs/Stack/index.js +3 -1
- package/commonjs/Switch/index.js +3 -1
- package/commonjs/Switch/styles.js +1 -1
- package/commonjs/Table/index.js +10 -5
- package/commonjs/TableCell/index.js +3 -1
- package/commonjs/TableHeaderCell/index.js +3 -1
- package/commonjs/TableRowAccordion/index.js +3 -1
- package/commonjs/Tabs/index.js +5 -2
- package/commonjs/Tabs/styles.js +4 -4
- package/commonjs/Text/index.js +3 -1
- package/commonjs/Text/styles.js +1 -1
- package/commonjs/Textarea/index.js +3 -1
- package/commonjs/Toast/index.js +15 -15
- package/commonjs/Toast/styles.js +4 -7
- package/commonjs/ToggleHint/index.js +3 -1
- package/commonjs/Token/index.js +3 -1
- package/commonjs/Token/styles.js +1 -1
- package/commonjs/TokenInput/index.js +3 -1
- package/commonjs/Tooltip/index.js +5 -2
- package/commonjs/Tooltip/styles.js +1 -1
- package/commonjs/VisuallyHidden/index.js +1 -1
- package/commonjs/index.js +8 -1
- package/commonjs/themes/dark/decorative-palettes.js +1 -1
- package/commonjs/themes/dark/theme.js +1 -1
- package/commonjs/themes/extendedThemes/sproutTheme/NonColorThemeValues/index.js +16 -0
- package/commonjs/themes/extendedThemes/sproutTheme/dark/getDarkThemeColors.js +39 -0
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +28 -0
- package/commonjs/themes/extendedThemes/sproutTheme/index.js +14 -0
- package/commonjs/themes/extendedThemes/sproutTheme/light/getLightThemeColors.js +39 -0
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +28 -0
- package/commonjs/themes/extendedThemes/sproutTheme/sproutThemeType.flow.js +1 -0
- package/commonjs/themes/light/decorative-palettes.js +1 -1
- package/commonjs/themes/light/theme.js +1 -1
- package/commonjs/utils/hooks.js +3 -2
- package/commonjs/utils/mixins.js +1 -1
- package/commonjs/utils/system-props.js +1 -1
- package/dist/themes/dark/dark.scss +5 -5
- package/dist/themes/light/light.scss +95 -95
- package/lib/Avatar/index.js +7 -4
- package/lib/Badge/index.js +3 -1
- package/lib/Badge/styles.js +1 -1
- package/lib/Banner/index.js +3 -1
- package/lib/Banner/styles.js +1 -1
- package/lib/Box/styles.js +1 -1
- package/lib/Breadcrumb/index.js +5 -2
- package/lib/Button/index.js +4 -1
- package/lib/Button/styles.js +1 -0
- package/lib/Card/index.js +3 -1
- package/lib/Card/styles.js +2 -2
- package/lib/CharacterCounter/index.js +3 -1
- package/lib/CharacterCounter/styles.js +1 -1
- package/lib/ChartLegend/index.js +3 -1
- package/lib/ChartLegend/styles.js +3 -3
- package/lib/Checkbox/index.js +3 -1
- package/lib/Collapsible/index.js +5 -2
- package/lib/DatePicker/DateRangePicker.js +3 -1
- package/lib/DatePicker/SingleDatePicker.js +3 -1
- package/lib/DatePicker/StatefulDateRangePicker.js +3 -1
- package/lib/DatePicker/StatefulSingleDatePicker.js +3 -1
- package/lib/DatePicker/styles.js +2 -6
- package/lib/Drawer/SlideTransition.js +3 -1
- package/lib/Drawer/index.js +9 -4
- package/lib/Drawer/styles.js +2 -2
- package/lib/EmptyState/index.js +3 -1
- package/lib/Fieldset/index.js +7 -3
- package/lib/FormField/index.js +3 -1
- package/lib/Icon/index.js +5 -2
- package/lib/Icon/styles.js +1 -1
- package/lib/Image/index.js +3 -1
- package/lib/Image/styles.js +1 -1
- package/lib/Indicator/index.js +3 -1
- package/lib/Input/index.js +3 -1
- package/lib/Input/styles.js +2 -2
- package/lib/KeyboardKey/index.js +3 -1
- package/lib/Label/index.js +4 -2
- package/lib/Link/index.js +3 -1
- package/lib/Link/styles.js +1 -1
- package/lib/Listbox/index.js +6 -3
- package/lib/Loader/index.js +3 -1
- package/lib/Loader/styles.js +2 -2
- package/lib/LoaderButton/index.js +3 -1
- package/lib/Menu/descendants.js +5 -2
- package/lib/Menu/index.js +20 -16
- package/lib/Menu/styles.js +2 -2
- package/lib/Message/index.js +3 -1
- package/lib/Message/styles.js +1 -1
- package/lib/Modal/index.js +7 -3
- package/lib/Modal/styles.js +3 -5
- package/lib/Numeral/index.js +3 -1
- package/lib/Numeral/styles.js +2 -2
- package/lib/OverflowList/styles.js +1 -1
- package/lib/Popout/index.js +7 -3
- package/lib/Popout/styles.js +1 -1
- package/lib/Radio/index.js +3 -1
- package/lib/Radio/styles.js +4 -4
- package/lib/SegmentedControl/index.js +5 -2
- package/lib/Select/index.js +3 -1
- package/lib/Stack/index.js +3 -1
- package/lib/Switch/index.js +3 -1
- package/lib/Switch/styles.js +1 -1
- package/lib/Table/index.js +9 -4
- package/lib/TableCell/index.js +3 -1
- package/lib/TableHeaderCell/index.js +3 -1
- package/lib/TableRowAccordion/index.js +3 -1
- package/lib/Tabs/index.js +5 -2
- package/lib/Tabs/styles.js +3 -3
- package/lib/Text/index.js +3 -1
- package/lib/Text/styles.js +1 -1
- package/lib/Textarea/index.js +3 -1
- package/lib/Toast/index.js +14 -14
- package/lib/Toast/styles.js +3 -7
- package/lib/ToggleHint/index.js +3 -1
- package/lib/Token/index.js +3 -1
- package/lib/Token/styles.js +1 -1
- package/lib/TokenInput/index.js +3 -1
- package/lib/Tooltip/index.js +5 -2
- package/lib/Tooltip/styles.js +1 -1
- package/lib/VisuallyHidden/index.js +1 -1
- package/lib/index.js +1 -0
- package/lib/themes/extendedThemes/sproutTheme/NonColorThemeValues/index.js +12 -0
- package/lib/themes/extendedThemes/sproutTheme/dark/getDarkThemeColors.js +34 -0
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +16 -0
- package/lib/themes/extendedThemes/sproutTheme/index.js +2 -0
- package/lib/themes/extendedThemes/sproutTheme/light/getLightThemeColors.js +34 -0
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +16 -0
- package/lib/themes/extendedThemes/sproutTheme/sproutThemeType.flow.js +0 -0
- package/package.json +25 -20
- package/__flow__/Button/__snapshots__/index.test.js.snap +0 -511
- package/__flow__/Button/index.test.js +0 -113
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
export function getDarkThemeColors(themeColors) {
|
|
4
|
+
return _extends({}, themeColors, {
|
|
5
|
+
navigation: {
|
|
6
|
+
main: {
|
|
7
|
+
background: {
|
|
8
|
+
base: themeColors.neutral[1000],
|
|
9
|
+
gradient: themeColors.neutral[1100]
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
secondary: {
|
|
13
|
+
background: {
|
|
14
|
+
base: themeColors.neutral[900]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
text: {
|
|
18
|
+
base: themeColors.neutral[0],
|
|
19
|
+
hover: themeColors.neutral[0]
|
|
20
|
+
},
|
|
21
|
+
icon: {
|
|
22
|
+
base: themeColors.neutral[0],
|
|
23
|
+
hover: themeColors.neutral[0]
|
|
24
|
+
},
|
|
25
|
+
listItem: {
|
|
26
|
+
background: {
|
|
27
|
+
base: themeColors.neutral[1000],
|
|
28
|
+
hover: themeColors.neutral[1100],
|
|
29
|
+
active: themeColors.neutral[700]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import clone from "just-clone";
|
|
4
|
+
import baseDarkTheme from "../../../dark/theme";
|
|
5
|
+
import { getDarkThemeColors } from "./getDarkThemeColors";
|
|
6
|
+
import { getNonColorThemeValues } from "../NonColorThemeValues";
|
|
7
|
+
// clone base theme. (we don't want to mutate the base theme)
|
|
8
|
+
var themeClone = clone(baseDarkTheme); // get non color theme values
|
|
9
|
+
|
|
10
|
+
var nonColorThemeValues = getNonColorThemeValues(themeClone); // get sprout specific dark theme colors
|
|
11
|
+
|
|
12
|
+
var darkThemeColors = getDarkThemeColors(themeClone.colors);
|
|
13
|
+
|
|
14
|
+
var darkTheme = _extends({}, themeClone, nonColorThemeValues, darkThemeColors);
|
|
15
|
+
|
|
16
|
+
export default darkTheme;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
export function getLightThemeColors(themeColors) {
|
|
4
|
+
return _extends({}, themeColors, {
|
|
5
|
+
navigation: {
|
|
6
|
+
main: {
|
|
7
|
+
background: {
|
|
8
|
+
base: themeColors.neutral[900],
|
|
9
|
+
overflowGradient: themeColors.neutral[1000]
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
secondary: {
|
|
13
|
+
background: {
|
|
14
|
+
base: themeColors.neutral[800]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
text: {
|
|
18
|
+
base: themeColors.neutral[0],
|
|
19
|
+
hover: themeColors.neutral[0]
|
|
20
|
+
},
|
|
21
|
+
icon: {
|
|
22
|
+
base: themeColors.neutral[0],
|
|
23
|
+
hover: themeColors.neutral[0]
|
|
24
|
+
},
|
|
25
|
+
listItem: {
|
|
26
|
+
background: {
|
|
27
|
+
base: themeColors.neutral[800],
|
|
28
|
+
hover: themeColors.neutral[1000],
|
|
29
|
+
selected: themeColors.neutral[700]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import clone from "just-clone";
|
|
4
|
+
import baseLightTheme from "../../../light/theme";
|
|
5
|
+
import { getLightThemeColors } from "./getLightThemeColors";
|
|
6
|
+
import { getNonColorThemeValues } from "../NonColorThemeValues";
|
|
7
|
+
// clone base theme. (we don't want to mutate the base theme)
|
|
8
|
+
var themeClone = clone(baseLightTheme); // get non color theme values
|
|
9
|
+
|
|
10
|
+
var nonColorThemeValues = getNonColorThemeValues(themeClone); // get sprout specific light theme colors
|
|
11
|
+
|
|
12
|
+
var lightThemeColors = getLightThemeColors(themeClone.colors);
|
|
13
|
+
|
|
14
|
+
var lightTheme = _extends({}, themeClone, nonColorThemeValues, lightThemeColors);
|
|
15
|
+
|
|
16
|
+
export default lightTheme;
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"__flow__",
|
|
@@ -66,10 +66,11 @@
|
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@styled-system/theme-get": "^5.1.2",
|
|
68
68
|
"classnames": "^2.2.6",
|
|
69
|
+
"just-clone": "^5.0.1",
|
|
69
70
|
"lodash.curry": "^4.1.1",
|
|
70
71
|
"lodash.uniqueid": "^4.0.1",
|
|
71
72
|
"lru-memoize": "^1.1.0",
|
|
72
|
-
"mutationobserver-shim": "^0.3.
|
|
73
|
+
"mutationobserver-shim": "^0.3.7",
|
|
73
74
|
"polished": "^3.4.1",
|
|
74
75
|
"raw-loader": "^3.0.0",
|
|
75
76
|
"react-focus-lock": "^2.0.3",
|
|
@@ -84,7 +85,7 @@
|
|
|
84
85
|
},
|
|
85
86
|
"devDependencies": {
|
|
86
87
|
"@babel/cli": "^7.5.5",
|
|
87
|
-
"@babel/core": "^7.
|
|
88
|
+
"@babel/core": "^7.12.9",
|
|
88
89
|
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
89
90
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
90
91
|
"@babel/preset-env": "^7.8.0",
|
|
@@ -99,23 +100,26 @@
|
|
|
99
100
|
"@sproutsocial/seeds-networkcolor": "^2.9.0",
|
|
100
101
|
"@sproutsocial/seeds-space": "^0.4.7",
|
|
101
102
|
"@sproutsocial/seeds-typography": "^3.0.1",
|
|
102
|
-
"@storybook/addon-a11y": "^6.
|
|
103
|
-
"@storybook/addon-actions": "^6.
|
|
104
|
-
"@storybook/addon-
|
|
105
|
-
"@storybook/addon-
|
|
106
|
-
"@storybook/addon-
|
|
107
|
-
"@storybook/
|
|
103
|
+
"@storybook/addon-a11y": "^6.4.19",
|
|
104
|
+
"@storybook/addon-actions": "^6.4.19",
|
|
105
|
+
"@storybook/addon-controls": "^6.4.19",
|
|
106
|
+
"@storybook/addon-knobs": "^6.4.0",
|
|
107
|
+
"@storybook/addon-storysource": "^6.4.19",
|
|
108
|
+
"@storybook/addon-viewport": "^6.4.19",
|
|
109
|
+
"@storybook/addons": "^6.4.19",
|
|
108
110
|
"@storybook/react": "^6.4.19",
|
|
109
|
-
"@storybook/theming": "^6.
|
|
111
|
+
"@storybook/theming": "^6.4.19",
|
|
112
|
+
"@testing-library/jest-dom": "^5.16.4",
|
|
110
113
|
"@testing-library/react": "^11.2.2",
|
|
111
114
|
"@testing-library/user-event": "^13.0.0",
|
|
115
|
+
"axios": "^0.26.1",
|
|
112
116
|
"babel-core": "^7.0.0-bridge",
|
|
113
117
|
"babel-eslint": "10.1.0",
|
|
114
|
-
"babel-jest": "
|
|
115
|
-
"babel-loader": "8.
|
|
118
|
+
"babel-jest": "27.x.x",
|
|
119
|
+
"babel-loader": "8.2.3",
|
|
116
120
|
"babel-plugin-inline-import": "^3.0.0",
|
|
117
121
|
"babel-plugin-polished": "^1.1.0",
|
|
118
|
-
"babel-plugin-styled-components": "^
|
|
122
|
+
"babel-plugin-styled-components": "^2.0.7",
|
|
119
123
|
"babel-polyfill": "^6.26.0",
|
|
120
124
|
"chalk": "^2.3.2",
|
|
121
125
|
"chokidar": "^3.0.2",
|
|
@@ -137,9 +141,8 @@
|
|
|
137
141
|
"identity-obj-proxy": "^3.0.0",
|
|
138
142
|
"inquirer": "^6.4.1",
|
|
139
143
|
"is-glob": "^4.0.1",
|
|
140
|
-
"jest": "
|
|
141
|
-
"jest-axe": "
|
|
142
|
-
"jest-dom": "^3.5.0",
|
|
144
|
+
"jest": "27.x.x",
|
|
145
|
+
"jest-axe": "6.0.0",
|
|
143
146
|
"jest-styled-components": "7.0.0-beta.1",
|
|
144
147
|
"jscodeshift": "^0.6.4",
|
|
145
148
|
"json-to-scss": "^1.6.2",
|
|
@@ -148,15 +151,15 @@
|
|
|
148
151
|
"npm-run-all": "^4.1.2",
|
|
149
152
|
"outdent": "^0.7.0",
|
|
150
153
|
"pify": "^4.0.1",
|
|
151
|
-
"playroom": "^0.
|
|
154
|
+
"playroom": "^0.27.9",
|
|
152
155
|
"prettier": "^2.0.5",
|
|
153
156
|
"prop-types": "^15.6.1",
|
|
154
157
|
"react": "16.12.0",
|
|
155
158
|
"react-dates": "^21.8.0",
|
|
156
159
|
"react-dom": "16.12.0",
|
|
157
160
|
"rimraf": "^2.6.3",
|
|
158
|
-
"storybook-dark-mode": "^1.0.
|
|
159
|
-
"styled-components": "5.
|
|
161
|
+
"storybook-dark-mode": "^1.0.9",
|
|
162
|
+
"styled-components": "^5.2.3",
|
|
160
163
|
"stylelint": "^13.8.0",
|
|
161
164
|
"stylelint-config-recommended": "^2.2.0",
|
|
162
165
|
"stylelint-config-styled-components": "^0.1.1",
|
|
@@ -178,13 +181,15 @@
|
|
|
178
181
|
"prop-types": "^15.0.0",
|
|
179
182
|
"react": "^16.2.0",
|
|
180
183
|
"react-dates": "^21.8.0",
|
|
181
|
-
"
|
|
184
|
+
"react-virtualized": "9.18.5",
|
|
185
|
+
"styled-components": "^5.2.3"
|
|
182
186
|
},
|
|
183
187
|
"resolutions": {
|
|
184
188
|
"lodash": "^4.17.21",
|
|
185
189
|
"react-popper/create-react-context": "^0.3.0"
|
|
186
190
|
},
|
|
187
191
|
"jest": {
|
|
192
|
+
"testEnvironment": "jsdom",
|
|
188
193
|
"setupFilesAfterEnv": [
|
|
189
194
|
"<rootDir>/src/setupTests.js"
|
|
190
195
|
],
|