@sproutsocial/seeds-react-theme 1.5.0 → 2.0.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 (62) hide show
  1. package/commonjs/dark/dataviz-palette.js +2 -1
  2. package/commonjs/dark/theme.js +7 -1
  3. package/commonjs/light/dataviz-palette.js +2 -1
  4. package/commonjs/light/theme.js +13 -3
  5. package/dist/themes/dark/theme.scss +15 -4
  6. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +14 -3
  7. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +14 -3
  8. package/dist/themes/light/theme.scss +21 -6
  9. package/dist/types/dark/dataviz-palette.d.ts +1 -0
  10. package/dist/types/dark/dataviz-palette.d.ts.map +1 -1
  11. package/dist/types/dark/theme.d.ts +13 -2
  12. package/dist/types/dark/theme.d.ts.map +1 -1
  13. package/dist/types/light/dataviz-palette.d.ts +1 -0
  14. package/dist/types/light/dataviz-palette.d.ts.map +1 -1
  15. package/dist/types/light/theme.d.ts +15 -1
  16. package/dist/types/light/theme.d.ts.map +1 -1
  17. package/dist/types/types/theme.colors.d.ts +8 -1
  18. package/dist/types/types/theme.colors.d.ts.map +1 -1
  19. package/lib/dark/dataviz-palette.js +2 -1
  20. package/lib/dark/theme.js +7 -1
  21. package/lib/light/dataviz-palette.js +2 -1
  22. package/lib/light/theme.js +13 -3
  23. package/package.json +4 -4
  24. package/__flow__/dark/dataviz-palette.flow.js +0 -3
  25. package/__flow__/dark/decorative-palettes.flow.js +0 -13
  26. package/__flow__/dark/theme.flow.js +0 -5
  27. package/__flow__/extendedThemes/sproutTheme/dark/theme.flow.js +0 -11
  28. package/__flow__/extendedThemes/sproutTheme/index.flow.js +0 -3
  29. package/__flow__/extendedThemes/sproutTheme/light/theme.flow.js +0 -11
  30. package/__flow__/index.js +0 -3
  31. package/__flow__/light/dataviz-palette.flow.js +0 -29
  32. package/__flow__/light/decorative-palettes.flow.js +0 -17
  33. package/__flow__/light/literal-colors.flow.js +0 -31
  34. package/__flow__/light/theme.flow.js +0 -16
  35. package/__flow__/types/theme.colors.flow.js +0 -359
  36. package/__flow__/types/theme.flow.js +0 -399
  37. package/commonjs/dark/dataviz-palette.flow.js +0 -1
  38. package/commonjs/dark/decorative-palettes.flow.js +0 -1
  39. package/commonjs/dark/theme.flow.js +0 -1
  40. package/commonjs/extendedThemes/sproutTheme/dark/theme.flow.js +0 -7
  41. package/commonjs/extendedThemes/sproutTheme/index.flow.js +0 -20
  42. package/commonjs/extendedThemes/sproutTheme/light/theme.flow.js +0 -1
  43. package/commonjs/index.js.flow +0 -3
  44. package/commonjs/light/dataviz-palette.flow.js +0 -1
  45. package/commonjs/light/decorative-palettes.flow.js +0 -1
  46. package/commonjs/light/literal-colors.flow.js +0 -1
  47. package/commonjs/light/theme.flow.js +0 -1
  48. package/commonjs/types/theme.colors.flow.js +0 -1
  49. package/commonjs/types/theme.flow.js +0 -1
  50. package/lib/dark/dataviz-palette.flow.js +0 -0
  51. package/lib/dark/decorative-palettes.flow.js +0 -0
  52. package/lib/dark/theme.flow.js +0 -0
  53. package/lib/extendedThemes/sproutTheme/dark/theme.flow.js +0 -1
  54. package/lib/extendedThemes/sproutTheme/index.flow.js +0 -2
  55. package/lib/extendedThemes/sproutTheme/light/theme.flow.js +0 -0
  56. package/lib/index.js.flow +0 -3
  57. package/lib/light/dataviz-palette.flow.js +0 -0
  58. package/lib/light/decorative-palettes.flow.js +0 -0
  59. package/lib/light/literal-colors.flow.js +0 -0
  60. package/lib/light/theme.flow.js +0 -0
  61. package/lib/types/theme.colors.flow.js +0 -0
  62. package/lib/types/theme.flow.js +0 -0
@@ -1,31 +0,0 @@
1
- // @flow strict-local
2
-
3
- type TypeLiteralColor = {|
4
- "0": string,
5
- "100": string,
6
- "200": string,
7
- "300": string,
8
- "400": string,
9
- "500": string,
10
- "600": string,
11
- "700": string,
12
- "800": string,
13
- "900": string,
14
- "1000": string,
15
- "1100": string,
16
- |};
17
- export type TypeLiteralColors = {|
18
- neutral: TypeLiteralColor,
19
- green: TypeLiteralColor,
20
- red: TypeLiteralColor,
21
- blue: TypeLiteralColor,
22
- teal: TypeLiteralColor,
23
- aqua: TypeLiteralColor,
24
- purple: TypeLiteralColor,
25
- magenta: TypeLiteralColor,
26
- yellow: TypeLiteralColor,
27
- pink: TypeLiteralColor,
28
- orange: TypeLiteralColor,
29
- |};
30
- declare var literalColors: TypeLiteralColors;
31
- declare export default typeof literalColors;
@@ -1,16 +0,0 @@
1
- // @flow strict-local
2
- import type { TypeBorder, TypeBorderWidth, TypeBreakpoint, TypeDuration, TypeEasing, TypeFontFamily, TypeFontWeight, TypeRadii, TypeShadow, TypeSpace, TypeTheme, TypeTypography } from "../types/theme.flow";
3
- export type TypeFontFamilyString = string;
4
- declare export var breakpoints: TypeBreakpoint;
5
- declare export var typography: TypeTypography;
6
- declare export var fontFamily: TypeFontFamily;
7
- declare export var fontWeights: TypeFontWeight;
8
- declare export var space: TypeSpace;
9
- declare export var radii: TypeRadii;
10
- declare export var borders: TypeBorder;
11
- declare export var borderWidths: TypeBorderWidth;
12
- declare export var shadows: TypeShadow;
13
- declare export var easing: TypeEasing;
14
- declare export var duration: TypeDuration;
15
- declare var theme: TypeTheme;
16
- declare export default typeof theme;
@@ -1,359 +0,0 @@
1
- // @flow strict-local
2
-
3
- import type { TypeLiteralColors } from "../light/literal-colors.flow";
4
- import type { TypeDatavizPalette, TypeDatavizPaletteList, TypeDatavizPaletteMap } from "../light/dataviz-palette.flow";
5
- type TypeAppColors = {|
6
- app: {
7
- background: {
8
- base: string,
9
- ...
10
- },
11
- ...
12
- }
13
- |};
14
- type TypeContainerColors = {|
15
- container: {
16
- background: {
17
- base: string,
18
- success: string,
19
- warning: string,
20
- error: string,
21
- info: string,
22
- opportunity: string,
23
- /** @deprecated Use "error" instead of "danger" */
24
- danger: string,
25
- decorative: {
26
- green: string,
27
- blue: string,
28
- purple: string,
29
- yellow: string,
30
- orange: string,
31
- red: string,
32
- neutral: string,
33
- magenta: string,
34
- pink: string,
35
- aqua: string,
36
- teal: string,
37
- ...
38
- },
39
- selected: string,
40
- positive_sentiment: string,
41
- negative_sentiment: string,
42
- neutral_sentiment: string,
43
- ...
44
- },
45
- border: {
46
- base: string,
47
- success: string,
48
- warning: string,
49
- error: string,
50
- /** @deprecated Use "error" instead of "danger" */
51
- danger: string,
52
- info: string,
53
- opportunity: string,
54
- decorative: {
55
- green: string,
56
- blue: string,
57
- purple: string,
58
- yellow: string,
59
- orange: string,
60
- red: string,
61
- neutral: string,
62
- magenta: string,
63
- pink: string,
64
- aqua: string,
65
- teal: string,
66
- ...
67
- },
68
- selected: string,
69
- ...
70
- },
71
- ...
72
- }
73
- |};
74
- type TypeButtonColors = {|
75
- button: {
76
- primary: {
77
- background: {
78
- base: string,
79
- hover: string,
80
- active: string,
81
- ...
82
- },
83
- border: {
84
- base: string,
85
- ...
86
- },
87
- text: {
88
- base: string,
89
- hover: string,
90
- ...
91
- },
92
- ...
93
- },
94
- secondary: {
95
- background: {
96
- base: string,
97
- hover: string,
98
- active: string,
99
- ...
100
- },
101
- border: {
102
- base: string,
103
- ...
104
- },
105
- text: {
106
- base: string,
107
- hover: string,
108
- ...
109
- },
110
- ...
111
- },
112
- pill: {
113
- background: {
114
- base: string,
115
- hover: string,
116
- active: string,
117
- ...
118
- },
119
- border: {
120
- base: string,
121
- hover: string,
122
- ...
123
- },
124
- text: {
125
- base: string,
126
- hover: string,
127
- ...
128
- },
129
- ...
130
- },
131
- destructive: {
132
- background: {
133
- base: string,
134
- hover: string,
135
- active: string,
136
- ...
137
- },
138
- border: {
139
- base: string,
140
- ...
141
- },
142
- text: {
143
- base: string,
144
- hover: string,
145
- ...
146
- },
147
- ...
148
- },
149
- placeholder: {
150
- background: {
151
- base: string,
152
- hover: string,
153
- active: string,
154
- ...
155
- },
156
- border: {
157
- base: string,
158
- ...
159
- },
160
- text: {
161
- base: string,
162
- hover: string,
163
- ...
164
- },
165
- ...
166
- },
167
- unstyled: {
168
- background: {
169
- base: string,
170
- ...
171
- },
172
- border: {
173
- base: string,
174
- ...
175
- },
176
- text: {
177
- base: string,
178
- hover: string,
179
- ...
180
- },
181
- ...
182
- },
183
- ...
184
- }
185
- |};
186
- type TypeLinkColors = {|
187
- link: {
188
- base: string,
189
- hover: string,
190
- ...
191
- }
192
- |};
193
- type TypeTextColors = {|
194
- text: {
195
- headline: string,
196
- subtext: string,
197
- body: string,
198
- inverse: string,
199
- error: string,
200
- background: {
201
- highlight: string,
202
- ...
203
- },
204
- decorative: {
205
- green: string,
206
- blue: string,
207
- purple: string,
208
- yellow: string,
209
- orange: string,
210
- red: string,
211
- neutral: string,
212
- magenta: string,
213
- pink: string,
214
- aqua: string,
215
- teal: string,
216
- ...
217
- },
218
- ...
219
- }
220
- |};
221
- type TypeIconColors = {|
222
- icon: {
223
- base: string,
224
- inverse: string,
225
- success: string,
226
- warning: string,
227
- error: string,
228
- /** @deprecated Use "error" instead of "danger" */
229
- danger: string,
230
- info: string,
231
- opportunity: string,
232
- applied: string,
233
- positive_sentiment: string,
234
- negative_sentiment: string,
235
- neutral_sentiment: string,
236
- ...
237
- }
238
- |};
239
- type TypeFormColors = {|
240
- form: {
241
- background: {
242
- base: string,
243
- selected: string,
244
- ...
245
- },
246
- border: {
247
- base: string,
248
- error: string,
249
- warning: string,
250
- selected: string,
251
- ...
252
- },
253
- placeholder: {
254
- base: string,
255
- ...
256
- },
257
- ...
258
- }
259
- |};
260
- type TypeListItemColors = {|
261
- listItem: {
262
- background: {
263
- base: string,
264
- hover: string,
265
- selected: string,
266
- ...
267
- },
268
- ...
269
- }
270
- |};
271
- type TypeOverlayColors = {|
272
- overlay: {
273
- background: {
274
- base: string,
275
- ...
276
- },
277
- text: {
278
- base: string,
279
- ...
280
- },
281
- icon: {
282
- base: string,
283
- ...
284
- },
285
- ...
286
- }
287
- |};
288
- type TypeElevationColors = {|
289
- elevation: {
290
- base: string,
291
- ...
292
- }
293
- |};
294
- type TypeDatavizColors = {|
295
- ...TypeDatavizPalette,
296
- dataviz: {
297
- map: TypeDatavizPaletteMap,
298
- list: TypeDatavizPaletteList,
299
- ...
300
- },
301
- |};
302
- type TypeIllustrationColors = {|
303
- illustration: {
304
- fill: string,
305
- stroke: string,
306
- ...
307
- }
308
- |};
309
- type TypeNetworkColors = {|
310
- network: {
311
- twitter: string,
312
- twitter_like: string,
313
- facebook: string,
314
- facebook_audience_network: string,
315
- linkedin: string,
316
- instagram: string,
317
- feedly: string,
318
- analytics: string,
319
- youtube: string,
320
- messenger: string,
321
- snapchat: string,
322
- pinterest: string,
323
- tumblr: string,
324
- reddit: string,
325
- tripadvisor: string,
326
- glassdoor: string,
327
- google_my_business: string,
328
- google_business_messages: string,
329
- salesforce: string,
330
- zendesk: string,
331
- hubspot: string,
332
- microsoft_dynamics: string,
333
- yelp: string,
334
- whatsapp: string,
335
- tiktok: string,
336
- threads: string,
337
- trustpilot: string,
338
- x: string,
339
- ...
340
- }
341
- |};
342
- export type TypeColors = {
343
- ...TypeAppColors,
344
- ...TypeContainerColors,
345
- ...TypeButtonColors,
346
- ...TypeLinkColors,
347
- ...TypeLinkColors,
348
- ...TypeTextColors,
349
- ...TypeIconColors,
350
- ...TypeFormColors,
351
- ...TypeListItemColors,
352
- ...TypeOverlayColors,
353
- ...TypeElevationColors,
354
- ...TypeDatavizColors,
355
- ...TypeIllustrationColors,
356
- ...TypeNetworkColors,
357
- ...TypeLiteralColors,
358
- ...
359
- };