@graphysdk/theme-graphite 0.1.1-beta.1793022188121 → 0.1.1-beta.1793027249956
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/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -3
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=require("@graphysdk/react");var t={background:{light:"#F9FAFC",dark:"#0D1013"},raised:{light:"#FFFFFF",dark:"#191B1D"},text:{light:"#12161C",dark:"#E2E9F1"},secondary:{light:"#5E646B",dark:"#A5ABB4"},grid:{light:"#E2E5E9",dark:"#292B2E"},edge:{light:"#D5D8DB",dark:"#36383B"},axis:"#7B8189",hoverGuideFill:{light:"rgba(18, 22, 28, 0.05)",dark:"rgba(226, 233, 241, 0.07)"},positive:{light:"#24A148",dark:"#42BE65"},negative:{light:"#A2191F",dark:"#E0393E"}},a="'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif",o={deep:"#3D434A",dark:"#5E646B",mid:"#727880",light:"#878D95",pale:"#ABB2BA",palest:"#CBD2DA"},n=[o.dark,o.light,o.deep,o.pale,o.palest,o.mid],l=["#D1D8E1","#292E35"],s=["#4C72A0",t.axis,"#A06E4C"],i={textColor:t.text},r={textColor:t.secondary},d=.6,g={tokens:{graphBackground:t.background,graphBorder:t.edge,geomBorder:t.axis,textPrimary:t.text,textSecondary:t.secondary,ruleLine:t.text,gridLine:t.grid,
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=require("@graphysdk/react");var t={background:{light:"#F9FAFC",dark:"#0D1013"},raised:{light:"#FFFFFF",dark:"#191B1D"},text:{light:"#12161C",dark:"#E2E9F1"},secondary:{light:"#5E646B",dark:"#A5ABB4"},grid:{light:"#E2E5E9",dark:"#292B2E"},edge:{light:"#D5D8DB",dark:"#36383B"},axis:"#7B8189",hoverGuideFill:{light:"rgba(18, 22, 28, 0.05)",dark:"rgba(226, 233, 241, 0.07)"},positive:{light:"#24A148",dark:"#42BE65"},negative:{light:"#A2191F",dark:"#E0393E"}},a="'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif",o={deep:"#3D434A",dark:"#5E646B",mid:"#727880",light:"#878D95",pale:"#ABB2BA",palest:"#CBD2DA"},n=[o.dark,o.light,o.deep,o.pale,o.palest,o.mid],l=["#D1D8E1","#292E35"],s=["#4C72A0",t.axis,"#A06E4C"],i={textColor:t.text},r={textColor:t.secondary},d=.6,g={tokens:{graphBackground:t.background,graphBorder:t.edge,geomBorder:t.axis,textPrimary:t.text,textSecondary:t.secondary,ruleLine:t.text,gridLine:t.grid,hoverStroke:t.text,hoverGuideFill:t.hoverGuideFill,hoverGuideLine:t.axis,tooltipBackground:t.raised,tooltipBorder:t.edge,tooltipPrimaryRow:t.hoverGuideFill,annotationShape:t.axis,annotationArrow:t.text,differenceLabelBackground:t.background,trendPositive:t.positive,trendNegative:t.negative,trendNeutral:t.secondary},defaults:[e.style.graph({strokeWidth:1,cornerRadius:4,fontFamily:a,padding:20}),e.style.geom({alpha:d},{state:"dimmed"}),e.style.geom({shadow:"none"},{state:"hovered"}),e.style.geom.bar({stroke:t.background,strokeWidth:1,cornerRadius:2}),e.style.geom.bar({stroke:t.text,strokeWidth:1.5},{state:"hovered"}),e.style.geom.line({strokeWidth:2,dashArray:[],lineCap:"round",lineJoin:"round"}),e.style.geom.area({fillAlpha:.9,strokeWidth:1,dashArray:[],lineCap:"round",lineJoin:"round"}),e.style.geom.area({stroke:t.background},{coord:"cartesian"}),e.style.geom.point({size:8,stroke:t.background,strokeWidth:1}),e.style.geom.tile({cornerRadius:2,stroke:t.background,strokeWidth:1}),e.style.geom.tile({stroke:t.text,strokeWidth:1.5},{state:"hovered"}),e.style.geom.rule({strokeWidth:1,dashArray:[4,3]}),e.style.geom.rule.label({...i,fontWeight:500,fontSize:12}),e.style.gridLine({dashArray:[]}),e.style.gridLine.x({strokeWidth:0}),e.style.gridLine.y({strokeWidth:1}),e.style.panelBorder({strokeWidth:0}),e.style.axisLine.x({stroke:t.axis,strokeWidth:1,dashArray:[]}),e.style.tickLine({strokeWidth:0}),e.style.tickLabel({...r,fontWeight:400,fontSize:12,lineHeight:1}),e.style.axisLabel({...r,fontWeight:500,fontSize:12,lineHeight:1}),e.style.heading({...i}),e.style.heading.h1({fontWeight:600,fontSize:20,lineHeight:1.25}),e.style.heading.h2({...r,fontWeight:400,fontSize:14,lineHeight:1.35}),e.style.caption({...r,fontWeight:400,fontSize:12}),e.style.source({...r,fontWeight:400,fontSize:12}),e.style.dataLabel({...i,fontWeight:500,fontSize:12,fill:"transparent"}),e.style.legendItem({...i,fontWeight:400,fontSize:13,fill:"transparent",stroke:"transparent"}),e.style.directLabel({...i,fontWeight:500,fontSize:13}),e.style.tooltip({strokeWidth:1,cornerRadius:4,paddingInline:10,paddingBlock:8,shadow:"none"}),e.style.tooltip.heading({...i,fontWeight:600,fontSize:13,lineHeight:1.3}),e.style.tooltip.label({...r,fontWeight:400,fontSize:13,lineHeight:1.3}),e.style.tooltip.value({...i,fontWeight:500,fontSize:13,lineHeight:1.3}),e.style.annotation.text({...i,fill:t.raised,stroke:t.edge,strokeWidth:1,cornerRadius:4,paddingInline:8,paddingBlock:3,fontSize:13,lineHeight:1.2}),e.style.annotation.shape({fillAlpha:.2,stroke:t.axis,strokeWidth:1}),e.style.annotation.arrow({strokeWidth:1,dashArray:[]}),e.style.annotation.pinnedNumber({stroke:t.background}),e.style.annotation.pinnedNumber.label({...i,fill:t.raised,stroke:t.edge,shadow:"none"}),e.style.annotation.differenceArrow({stroke:t.text,strokeWidth:1}),e.style.annotation.differenceArrow.label({...i,fill:t.raised,stroke:t.edge,strokeWidth:1,fontSize:13}),e.style.geom.area({fillAlpha:.35,strokeWidth:1.5},{coord:"polar"}),e.style.tickLabel({...i,fontWeight:600,textOutlineColor:t.background,textOutlineWidth:3},{coord:"polar"})]},h={name:"graphite",styles:g,palettes:{categorical:n,sequential:l,diverging:s},config:{legend:{position:"top",align:"start"}}};exports.graphite=h;
|
package/dist/index.mjs
CHANGED
|
@@ -64,7 +64,7 @@ var t = {
|
|
|
64
64
|
textSecondary: t.secondary,
|
|
65
65
|
ruleLine: t.text,
|
|
66
66
|
gridLine: t.grid,
|
|
67
|
-
|
|
67
|
+
hoverStroke: t.text,
|
|
68
68
|
hoverGuideFill: t.hoverGuideFill,
|
|
69
69
|
hoverGuideLine: t.axis,
|
|
70
70
|
tooltipBackground: t.raised,
|
|
@@ -136,7 +136,7 @@ var t = {
|
|
|
136
136
|
e.gridLine.x({ strokeWidth: 0 }),
|
|
137
137
|
e.gridLine.y({ strokeWidth: 1 }),
|
|
138
138
|
e.panelBorder({ strokeWidth: 0 }),
|
|
139
|
-
e.
|
|
139
|
+
e.axisLine.x({
|
|
140
140
|
stroke: t.axis,
|
|
141
141
|
strokeWidth: 1,
|
|
142
142
|
dashArray: []
|
|
@@ -257,7 +257,6 @@ var t = {
|
|
|
257
257
|
strokeWidth: 1,
|
|
258
258
|
fontSize: 13
|
|
259
259
|
}),
|
|
260
|
-
e.panelBorder.bottom({ strokeWidth: 0 }, { coord: "polar" }),
|
|
261
260
|
e.geom.area({
|
|
262
261
|
fillAlpha: 0.35,
|
|
263
262
|
strokeWidth: 1.5
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"theme",
|
|
14
14
|
"graphite"
|
|
15
15
|
],
|
|
16
|
-
"version": "0.1.1-beta.
|
|
16
|
+
"version": "0.1.1-beta.1793027249956",
|
|
17
17
|
"type": "module",
|
|
18
18
|
"sideEffects": [
|
|
19
19
|
"*.css"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"react": "^19.0.0",
|
|
43
|
-
"@graphysdk/react": "^1.9.0-beta.
|
|
43
|
+
"@graphysdk/react": "^1.9.0-beta.1793027249956"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@testing-library/react": "^16.3.1",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"vite": "^8.1.5",
|
|
53
53
|
"vite-plugin-dts": "^4.5.4",
|
|
54
54
|
"vitest": "^4.1.11",
|
|
55
|
-
"@graphysdk/react": "1.9.0-beta.
|
|
55
|
+
"@graphysdk/react": "1.9.0-beta.1793027249956",
|
|
56
|
+
"@graphysdk/viz-engine": "1.9.0-beta.1793027249956",
|
|
57
|
+
"@graphytools/eslint-config": "0.0.1",
|
|
56
58
|
"@graphytools/typescript-config": "0.0.1",
|
|
57
|
-
"@
|
|
58
|
-
"@graphytools/vitest-config": "1.0.0",
|
|
59
|
-
"@graphytools/eslint-config": "0.0.1"
|
|
59
|
+
"@graphytools/vitest-config": "1.0.0"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|