@sproutsocial/seeds-react-theme 3.6.0 → 3.6.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.
- package/commonjs/light/theme.js +7 -1
- package/dist/types/dark/theme.d.ts +6 -1
- package/dist/types/dark/theme.d.ts.map +1 -1
- package/dist/types/extendedThemes/sproutTheme/light/theme.d.ts +1 -1
- package/dist/types/extendedThemes/sproutTheme/light/theme.d.ts.map +1 -1
- package/dist/types/light/theme.d.ts +12 -2
- package/dist/types/light/theme.d.ts.map +1 -1
- package/lib/light/theme.js +7 -1
- package/package.json +1 -1
package/commonjs/light/theme.js
CHANGED
|
@@ -23,7 +23,13 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
23
23
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } // eslint-disable-next-line no-restricted-syntax
|
|
24
24
|
// json-to-scss is not working with the alias right now
|
|
25
25
|
//import {TypeThemeMode} from '@src/types/theme';
|
|
26
|
-
var
|
|
26
|
+
var breakpointAliases = {
|
|
27
|
+
sm: "640px",
|
|
28
|
+
md: "768px",
|
|
29
|
+
lg: "1024px",
|
|
30
|
+
xl: "1280px"
|
|
31
|
+
};
|
|
32
|
+
var breakpoints = exports.breakpoints = Object.assign(["900px", "1200px", "1500px", "1800px"], breakpointAliases);
|
|
27
33
|
var MODE = "light";
|
|
28
34
|
|
|
29
35
|
// If you are making changes to the colors in the theme file tag the Design Systems team on your PR! Thank you!!
|
|
@@ -1062,7 +1062,12 @@ declare const darkTheme: {
|
|
|
1062
1062
|
high: string;
|
|
1063
1063
|
};
|
|
1064
1064
|
mode: "dark";
|
|
1065
|
-
breakpoints: string[]
|
|
1065
|
+
breakpoints: string[] & {
|
|
1066
|
+
readonly sm: "640px";
|
|
1067
|
+
readonly md: "768px";
|
|
1068
|
+
readonly lg: "1024px";
|
|
1069
|
+
readonly xl: "1280px";
|
|
1070
|
+
};
|
|
1066
1071
|
typography: {
|
|
1067
1072
|
typography: {
|
|
1068
1073
|
100: import("@sproutsocial/seeds-typography").TypographySizeType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/dark/theme.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAIF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAeb,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;YAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoJrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGtD,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBArRT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAoJrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6GtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/extendedThemes/sproutTheme/light/theme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/extendedThemes/sproutTheme/light/theme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDtB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;CAStB,CAAC;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;CAoBd,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;CAWrB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCrB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFlB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;CASvB,CAAC;AAEF,QAAA,MAAM,UAAU,EAAE,eAYjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
export declare const breakpoints: string[]
|
|
1
|
+
export declare const breakpoints: string[] & {
|
|
2
|
+
readonly sm: "640px";
|
|
3
|
+
readonly md: "768px";
|
|
4
|
+
readonly lg: "1024px";
|
|
5
|
+
readonly xl: "1280px";
|
|
6
|
+
};
|
|
2
7
|
export declare const colors: {
|
|
3
8
|
DATAVIZ_COLORS_LIST: string[];
|
|
4
9
|
DATAVIZ_COLORS_MAP: {
|
|
@@ -623,7 +628,12 @@ export declare const duration: {
|
|
|
623
628
|
slow: string;
|
|
624
629
|
};
|
|
625
630
|
declare const theme: {
|
|
626
|
-
breakpoints: string[]
|
|
631
|
+
breakpoints: string[] & {
|
|
632
|
+
readonly sm: "640px";
|
|
633
|
+
readonly md: "768px";
|
|
634
|
+
readonly lg: "1024px";
|
|
635
|
+
readonly xl: "1280px";
|
|
636
|
+
};
|
|
627
637
|
colors: {
|
|
628
638
|
DATAVIZ_COLORS_LIST: string[];
|
|
629
639
|
DATAVIZ_COLORS_MAP: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/light/theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/light/theme.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,WAAW;;;;;CAGvB,CAAC;AA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;CAIlB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA1aL,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAoJrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4RtD,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/lib/light/theme.js
CHANGED
|
@@ -18,7 +18,13 @@ import BORDER from "@sproutsocial/seeds-border";
|
|
|
18
18
|
import literalColors from "./literal-colors";
|
|
19
19
|
import { datavizPalette } from "./dataviz-palette";
|
|
20
20
|
import { green, blue, purple, yellow, orange, red, neutral, magenta, pink, aqua, teal } from "./decorative-palettes";
|
|
21
|
-
|
|
21
|
+
var breakpointAliases = {
|
|
22
|
+
sm: "640px",
|
|
23
|
+
md: "768px",
|
|
24
|
+
lg: "1024px",
|
|
25
|
+
xl: "1280px"
|
|
26
|
+
};
|
|
27
|
+
export var breakpoints = Object.assign(["900px", "1200px", "1500px", "1800px"], breakpointAliases);
|
|
22
28
|
var MODE = "light";
|
|
23
29
|
|
|
24
30
|
// If you are making changes to the colors in the theme file tag the Design Systems team on your PR! Thank you!!
|