@sproutsocial/racine 25.0.0 → 25.0.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/CHANGELOG.md +26 -0
- package/commonjs/ChartLegend/useChartLabels.js +1 -1
- package/commonjs/themes/light/theme.js +6 -2
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts +1 -1
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts.map +1 -1
- package/dist/types/themes/dark/theme.d.ts +4 -0
- package/dist/types/themes/dark/theme.d.ts.map +1 -1
- package/dist/types/themes/light/theme.d.ts +8 -0
- package/dist/types/themes/light/theme.d.ts.map +1 -1
- package/lib/ChartLegend/useChartLabels.js +1 -1
- package/lib/themes/light/theme.js +6 -2
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 25.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 802d918: Updating the name property on the Chart Legend legendLabels property from a string to a React node.
|
|
8
|
+
|
|
9
|
+
## 25.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 57648a5: All packages now depend on the latest seed component builds
|
|
14
|
+
- Updated dependencies [57648a5]
|
|
15
|
+
- @sproutsocial/seeds-react-theme-provider@1.1.1
|
|
16
|
+
- @sproutsocial/seeds-react-partner-logo@1.2.1
|
|
17
|
+
- @sproutsocial/seeds-react-system-props@3.0.1
|
|
18
|
+
- @sproutsocial/seeds-react-utilities@4.0.1
|
|
19
|
+
- @sproutsocial/seeds-border@1.6.2
|
|
20
|
+
- @sproutsocial/seeds-react-button@1.1.1
|
|
21
|
+
- @sproutsocial/seeds-react-mixins@3.0.1
|
|
22
|
+
- @sproutsocial/seeds-react-popout@1.2.1
|
|
23
|
+
- @sproutsocial/seeds-react-switch@1.1.1
|
|
24
|
+
- @sproutsocial/seeds-react-hooks@3.0.1
|
|
25
|
+
- @sproutsocial/seeds-react-theme@2.0.1
|
|
26
|
+
- @sproutsocial/seeds-react-icon@1.1.1
|
|
27
|
+
- @sproutsocial/seeds-react-box@1.1.1
|
|
28
|
+
|
|
3
29
|
## 25.0.0
|
|
4
30
|
|
|
5
31
|
### Major Changes
|
|
@@ -369,10 +369,14 @@ var radii = exports.radii = {
|
|
|
369
369
|
pill: _seedsBorder.default.BORDER_RADIUS_1000
|
|
370
370
|
};
|
|
371
371
|
var borders = exports.borders = {
|
|
372
|
-
500: "".concat(_seedsBorder.default.BORDER_WIDTH_500, " solid")
|
|
372
|
+
500: "".concat(_seedsBorder.default.BORDER_WIDTH_500, " solid"),
|
|
373
|
+
600: "".concat(_seedsBorder.default.BORDER_WIDTH_600, " solid"),
|
|
374
|
+
700: "".concat(_seedsBorder.default.BORDER_WIDTH_700, " solid")
|
|
373
375
|
};
|
|
374
376
|
var borderWidths = exports.borderWidths = {
|
|
375
|
-
500: _seedsBorder.default.BORDER_WIDTH_500
|
|
377
|
+
500: _seedsBorder.default.BORDER_WIDTH_500,
|
|
378
|
+
600: _seedsBorder.default.BORDER_WIDTH_600,
|
|
379
|
+
700: _seedsBorder.default.BORDER_WIDTH_700
|
|
376
380
|
};
|
|
377
381
|
var shadows = exports.shadows = {
|
|
378
382
|
low: "".concat(_seedsDepth.default.ELEVATION_LEVEL_100, " ").concat(_seedsColor.default.COLOR_NEUTRAL_900, "3D"),
|
|
@@ -4,7 +4,7 @@ import type { TypeSystemCommonProps, TypeSystemLayoutProps } from "@sproutsocial
|
|
|
4
4
|
/** @deprecated legend themes will be handled automatically by the standard dataviz rotation in a future version */
|
|
5
5
|
export type TypeChartLegendTheme = "compare" | "contrast" | "extended" | "datavizRotation";
|
|
6
6
|
export interface TypeLegendLabels {
|
|
7
|
-
name:
|
|
7
|
+
name: React.ReactNode;
|
|
8
8
|
color?: string;
|
|
9
9
|
}
|
|
10
10
|
export interface TypeChartLegendProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, TypeSystemLayoutProps, Omit<React.ComponentPropsWithoutRef<"div">, "color"> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegendTypes.d.ts","sourceRoot":"","sources":["../../../src/ChartLegend/ChartLegendTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAEhD,mHAAmH;AACnH,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT,UAAU,GACV,UAAU,GACV,iBAAiB,CAAC;AACtB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ChartLegendTypes.d.ts","sourceRoot":"","sources":["../../../src/ChartLegend/ChartLegendTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAEhD,mHAAmH;AACnH,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT,UAAU,GACV,UAAU,GACV,iBAAiB,CAAC;AACtB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,oBACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,qBAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACtD,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mHAAmH;IACnH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,kJAAkJ;IAClJ,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAgPF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA7NT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAgPF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA7NT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -72,9 +72,13 @@ export declare const radii: {
|
|
|
72
72
|
};
|
|
73
73
|
export declare const borders: {
|
|
74
74
|
500: string;
|
|
75
|
+
600: string;
|
|
76
|
+
700: string;
|
|
75
77
|
};
|
|
76
78
|
export declare const borderWidths: {
|
|
77
79
|
500: string;
|
|
80
|
+
600: string;
|
|
81
|
+
700: string;
|
|
78
82
|
};
|
|
79
83
|
export declare const shadows: {
|
|
80
84
|
low: string;
|
|
@@ -670,9 +674,13 @@ declare const theme: {
|
|
|
670
674
|
};
|
|
671
675
|
borders: {
|
|
672
676
|
500: string;
|
|
677
|
+
600: string;
|
|
678
|
+
700: string;
|
|
673
679
|
};
|
|
674
680
|
borderWidths: {
|
|
675
681
|
500: string;
|
|
682
|
+
600: string;
|
|
683
|
+
700: string;
|
|
676
684
|
};
|
|
677
685
|
shadows: {
|
|
678
686
|
low: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/light/theme.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,WAAW,UAA0C,CAAC;AAyRnE,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAatB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAarB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,eAAO,MAAM,UAAU,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2IrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4OtD,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -365,10 +365,14 @@ export var radii = {
|
|
|
365
365
|
pill: BORDER.BORDER_RADIUS_1000
|
|
366
366
|
};
|
|
367
367
|
export var borders = {
|
|
368
|
-
500: "".concat(BORDER.BORDER_WIDTH_500, " solid")
|
|
368
|
+
500: "".concat(BORDER.BORDER_WIDTH_500, " solid"),
|
|
369
|
+
600: "".concat(BORDER.BORDER_WIDTH_600, " solid"),
|
|
370
|
+
700: "".concat(BORDER.BORDER_WIDTH_700, " solid")
|
|
369
371
|
};
|
|
370
372
|
export var borderWidths = {
|
|
371
|
-
500: BORDER.BORDER_WIDTH_500
|
|
373
|
+
500: BORDER.BORDER_WIDTH_500,
|
|
374
|
+
600: BORDER.BORDER_WIDTH_600,
|
|
375
|
+
700: BORDER.BORDER_WIDTH_700
|
|
372
376
|
};
|
|
373
377
|
export var shadows = {
|
|
374
378
|
low: "".concat(DEPTH.ELEVATION_LEVEL_100, " ").concat(COLORS.COLOR_NEUTRAL_900, "3D"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "25.0.
|
|
3
|
+
"version": "25.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -58,23 +58,23 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@react-spring/web": "^9.0.0",
|
|
61
|
-
"@sproutsocial/seeds-react-box": "
|
|
62
|
-
"@sproutsocial/seeds-react-button": "
|
|
63
|
-
"@sproutsocial/seeds-react-checkbox": "
|
|
64
|
-
"@sproutsocial/seeds-react-hooks": "
|
|
65
|
-
"@sproutsocial/seeds-react-icon": "
|
|
66
|
-
"@sproutsocial/seeds-react-input": "
|
|
67
|
-
"@sproutsocial/seeds-react-mixins": "
|
|
68
|
-
"@sproutsocial/seeds-react-partner-logo": "
|
|
69
|
-
"@sproutsocial/seeds-react-popout": "
|
|
70
|
-
"@sproutsocial/seeds-react-portal": "
|
|
71
|
-
"@sproutsocial/seeds-react-radio": "
|
|
72
|
-
"@sproutsocial/seeds-react-switch": "
|
|
73
|
-
"@sproutsocial/seeds-react-system-props": "
|
|
74
|
-
"@sproutsocial/seeds-react-text": "
|
|
75
|
-
"@sproutsocial/seeds-react-theme": "
|
|
76
|
-
"@sproutsocial/seeds-react-theme-provider": "
|
|
77
|
-
"@sproutsocial/seeds-react-utilities": "
|
|
61
|
+
"@sproutsocial/seeds-react-box": "^*",
|
|
62
|
+
"@sproutsocial/seeds-react-button": "*",
|
|
63
|
+
"@sproutsocial/seeds-react-checkbox": "*",
|
|
64
|
+
"@sproutsocial/seeds-react-hooks": "*",
|
|
65
|
+
"@sproutsocial/seeds-react-icon": "*",
|
|
66
|
+
"@sproutsocial/seeds-react-input": "*",
|
|
67
|
+
"@sproutsocial/seeds-react-mixins": "*",
|
|
68
|
+
"@sproutsocial/seeds-react-partner-logo": "*",
|
|
69
|
+
"@sproutsocial/seeds-react-popout": "*",
|
|
70
|
+
"@sproutsocial/seeds-react-portal": "*",
|
|
71
|
+
"@sproutsocial/seeds-react-radio": "*",
|
|
72
|
+
"@sproutsocial/seeds-react-switch": "*",
|
|
73
|
+
"@sproutsocial/seeds-react-system-props": "*",
|
|
74
|
+
"@sproutsocial/seeds-react-text": "*",
|
|
75
|
+
"@sproutsocial/seeds-react-theme": "*",
|
|
76
|
+
"@sproutsocial/seeds-react-theme-provider": "*",
|
|
77
|
+
"@sproutsocial/seeds-react-utilities": "*",
|
|
78
78
|
"@styled-system/theme-get": "^5.1.2",
|
|
79
79
|
"classnames": "^2.2.6",
|
|
80
80
|
"default-browser-id": "^3.0.0",
|