@sproutsocial/racine 10.0.0-dar97-beta.1 → 10.0.1-dependencies.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 +24 -0
- package/__flow__/Avatar/index.test.js +0 -5
- package/__flow__/Badge/index.test.js +0 -5
- package/__flow__/Button/index.stories.js +51 -67
- package/__flow__/Button/styles.js +1 -1
- package/__flow__/CharacterCounter/index.test.js +0 -8
- package/__flow__/ChartLegend/index.test.js +0 -37
- package/__flow__/Checkbox/styles.js +1 -1
- package/__flow__/EmptyState/index.test.js +1 -3
- package/__flow__/Link/index.test.js +0 -10
- package/__flow__/Listbox/__snapshots__/index.test.js.snap +13 -13
- package/__flow__/Loader/index.test.js +0 -14
- package/__flow__/Menu/__snapshots__/index.test.js.snap +5 -5
- package/__flow__/Modal/index.test.js +0 -19
- package/__flow__/Modal/styles.js +1 -3
- package/__flow__/Text/index.test.js +0 -39
- package/__flow__/themes/dark/{_themes.scss → _themed.scss} +4 -3
- package/__flow__/themes/dark/theme.js +24 -4
- package/__flow__/themes/light/{_themes.scss → _themed.scss} +12 -11
- package/__flow__/themes/light/theme.js +21 -1
- package/__flow__/themes/utils/interact.js +1 -1
- package/__flow__/types/theme.colors.flow.js +6 -0
- package/commonjs/Button/styles.js +1 -1
- package/commonjs/Checkbox/styles.js +1 -1
- package/commonjs/Modal/styles.js +1 -3
- package/commonjs/themes/dark/theme.js +24 -4
- package/commonjs/themes/light/theme.js +22 -3
- package/commonjs/themes/utils/interact.js +1 -1
- package/dist/themes/dark/{_themes.scss → _themed.scss} +4 -3
- package/dist/themes/dark/dark.scss +20 -3
- package/dist/themes/light/{_themes.scss → _themed.scss} +12 -11
- package/dist/themes/light/light.scss +20 -3
- package/lib/Button/styles.js +1 -1
- package/lib/Checkbox/styles.js +1 -1
- package/lib/Modal/styles.js +1 -2
- package/lib/themes/dark/theme.js +25 -7
- package/lib/themes/light/theme.js +21 -3
- package/lib/themes/utils/interact.js +1 -1
- package/package.json +18 -15
|
@@ -10,9 +10,10 @@ import SPACE from "@sproutsocial/seeds-space";
|
|
|
10
10
|
import DEPTH from "@sproutsocial/seeds-depth";
|
|
11
11
|
import MOTION from "@sproutsocial/seeds-motion";
|
|
12
12
|
import BORDER from "@sproutsocial/seeds-border";
|
|
13
|
+
import { transparentize } from "polished";
|
|
13
14
|
import interact from "../utils/interact";
|
|
14
15
|
export var breakpoints = ["900px", "1200px", "1500px", "1800px"];
|
|
15
|
-
var MODE = "
|
|
16
|
+
var MODE = "light"; // If you are making changes to the colors in the theme file tag the Design Systems team on your PR! Thank you!!
|
|
16
17
|
|
|
17
18
|
var colors = _extends({
|
|
18
19
|
app: {
|
|
@@ -38,7 +39,10 @@ var colors = _extends({
|
|
|
38
39
|
red: red.background,
|
|
39
40
|
neutral: neutral.background
|
|
40
41
|
},
|
|
41
|
-
selected: COLORS.COLOR_NEUTRAL_800
|
|
42
|
+
selected: COLORS.COLOR_NEUTRAL_800,
|
|
43
|
+
positive_sentiment: COLORS.COLOR_BLUE_500,
|
|
44
|
+
negative_sentiment: COLORS.COLOR_RED_500,
|
|
45
|
+
neutral_sentiment: COLORS.COLOR_NEUTRAL_300
|
|
42
46
|
},
|
|
43
47
|
border: {
|
|
44
48
|
base: COLORS.COLOR_NEUTRAL_200,
|
|
@@ -163,7 +167,10 @@ var colors = _extends({
|
|
|
163
167
|
error: red.foreground,
|
|
164
168
|
danger: red.foreground,
|
|
165
169
|
info: blue.foreground,
|
|
166
|
-
opportunity: purple.foreground
|
|
170
|
+
opportunity: purple.foreground,
|
|
171
|
+
positive_sentiment: COLORS.COLOR_BLUE_700,
|
|
172
|
+
negative_sentiment: COLORS.COLOR_RED_600,
|
|
173
|
+
neutral_sentiment: COLORS.COLOR_NEUTRAL_600
|
|
167
174
|
},
|
|
168
175
|
form: {
|
|
169
176
|
background: {
|
|
@@ -187,6 +194,17 @@ var colors = _extends({
|
|
|
187
194
|
selected: COLORS.COLOR_NEUTRAL_800
|
|
188
195
|
}
|
|
189
196
|
},
|
|
197
|
+
overlay: {
|
|
198
|
+
background: {
|
|
199
|
+
base: transparentize(0.44, COLORS.COLOR_NEUTRAL_1000)
|
|
200
|
+
},
|
|
201
|
+
text: {
|
|
202
|
+
base: COLORS.COLOR_NEUTRAL_0
|
|
203
|
+
},
|
|
204
|
+
icon: {
|
|
205
|
+
base: COLORS.COLOR_NEUTRAL_0
|
|
206
|
+
}
|
|
207
|
+
},
|
|
190
208
|
elevation: {
|
|
191
209
|
base: COLORS.COLOR_NEUTRAL_900 + "3D"
|
|
192
210
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.1-dependencies.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"__flow__",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
+
"@storybook/addon-controls": "^6.4.19",
|
|
65
66
|
"@styled-system/theme-get": "^5.1.2",
|
|
66
67
|
"classnames": "^2.2.6",
|
|
67
68
|
"lodash.curry": "^4.1.1",
|
|
@@ -75,14 +76,14 @@
|
|
|
75
76
|
"react-popper": "^1.3.3",
|
|
76
77
|
"react-spring": "^8.0.25",
|
|
77
78
|
"react-toastify": "^6.0.5",
|
|
78
|
-
"react-virtualized": "9.
|
|
79
|
+
"react-virtualized": "9.22.3",
|
|
79
80
|
"scroll-into-view-if-needed": "1.1.0",
|
|
80
81
|
"styled-system": "^5.1.5",
|
|
81
82
|
"use-measure": "^0.2.2"
|
|
82
83
|
},
|
|
83
84
|
"devDependencies": {
|
|
84
85
|
"@babel/cli": "^7.5.5",
|
|
85
|
-
"@babel/core": "^7.
|
|
86
|
+
"@babel/core": "^7.12.9",
|
|
86
87
|
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
87
88
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
88
89
|
"@babel/preset-env": "^7.8.0",
|
|
@@ -97,20 +98,21 @@
|
|
|
97
98
|
"@sproutsocial/seeds-networkcolor": "^2.9.0",
|
|
98
99
|
"@sproutsocial/seeds-space": "^0.4.7",
|
|
99
100
|
"@sproutsocial/seeds-typography": "^3.0.1",
|
|
100
|
-
"@storybook/addon-a11y": "^6.
|
|
101
|
-
"@storybook/addon-actions": "^6.
|
|
102
|
-
"@storybook/addon-
|
|
103
|
-
"@storybook/addon-
|
|
104
|
-
"@storybook/addon-
|
|
105
|
-
"@storybook/
|
|
101
|
+
"@storybook/addon-a11y": "^6.4.19",
|
|
102
|
+
"@storybook/addon-actions": "^6.4.19",
|
|
103
|
+
"@storybook/addon-controls": "^6.4.19",
|
|
104
|
+
"@storybook/addon-knobs": "^6.4.0",
|
|
105
|
+
"@storybook/addon-storysource": "^6.4.19",
|
|
106
|
+
"@storybook/addon-viewport": "^6.4.19",
|
|
107
|
+
"@storybook/addons": "^6.4.19",
|
|
106
108
|
"@storybook/react": "^6.4.19",
|
|
107
|
-
"@storybook/theming": "^6.
|
|
109
|
+
"@storybook/theming": "^6.4.19",
|
|
108
110
|
"@testing-library/react": "^11.2.2",
|
|
109
111
|
"@testing-library/user-event": "^13.0.0",
|
|
110
112
|
"babel-core": "^7.0.0-bridge",
|
|
111
113
|
"babel-eslint": "10.1.0",
|
|
112
114
|
"babel-jest": "26.1.0",
|
|
113
|
-
"babel-loader": "8.
|
|
115
|
+
"babel-loader": "8.2.3",
|
|
114
116
|
"babel-plugin-inline-import": "^3.0.0",
|
|
115
117
|
"babel-plugin-polished": "^1.1.0",
|
|
116
118
|
"babel-plugin-styled-components": "^1.10.0",
|
|
@@ -138,7 +140,7 @@
|
|
|
138
140
|
"jest": "26.1.0",
|
|
139
141
|
"jest-axe": "3.4.0",
|
|
140
142
|
"jest-dom": "^3.5.0",
|
|
141
|
-
"jest-styled-components": "7.0.
|
|
143
|
+
"jest-styled-components": "7.0.8",
|
|
142
144
|
"jscodeshift": "^0.6.4",
|
|
143
145
|
"json-to-scss": "^1.6.2",
|
|
144
146
|
"lint-staged": "^10.2.11",
|
|
@@ -146,15 +148,15 @@
|
|
|
146
148
|
"npm-run-all": "^4.1.2",
|
|
147
149
|
"outdent": "^0.7.0",
|
|
148
150
|
"pify": "^4.0.1",
|
|
149
|
-
"playroom": "^0.
|
|
151
|
+
"playroom": "^0.27.9",
|
|
150
152
|
"prettier": "^2.0.5",
|
|
151
153
|
"prop-types": "^15.6.1",
|
|
152
154
|
"react": "16.12.0",
|
|
153
155
|
"react-dates": "^21.8.0",
|
|
154
156
|
"react-dom": "16.12.0",
|
|
155
157
|
"rimraf": "^2.6.3",
|
|
156
|
-
"storybook-dark-mode": "^1.0.
|
|
157
|
-
"styled-components": "5.
|
|
158
|
+
"storybook-dark-mode": "^1.0.9",
|
|
159
|
+
"styled-components": "5.3.3",
|
|
158
160
|
"stylelint": "^13.8.0",
|
|
159
161
|
"stylelint-config-recommended": "^2.2.0",
|
|
160
162
|
"stylelint-config-styled-components": "^0.1.1",
|
|
@@ -179,6 +181,7 @@
|
|
|
179
181
|
"styled-components": "^5.0.0-rc.2"
|
|
180
182
|
},
|
|
181
183
|
"resolutions": {
|
|
184
|
+
"**/eslint-import-resolver-node": "0.3.4",
|
|
182
185
|
"lodash": "^4.17.21",
|
|
183
186
|
"react-popper/create-react-context": "^0.3.0"
|
|
184
187
|
},
|