@graphysdk/theme-spreadsheet 0.1.1-beta.1793017273153 → 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 CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=require("@graphysdk/react");var t={white:"#FFFFFF",text:"#202124",secondary:"#757575",baseline:"#333333",rule:"#CCCCCC",edge:"#DADCE0",connector:"#BDBDBD"},n="Arial, 'Helvetica Neue', Helvetica, sans-serif",r={blue:"#5384EC",red:"#D75140",yellow:"#F2BF42",green:"#58A55D",orange:"#EE762F"},a=[r.blue,r.red,r.yellow,r.green,r.orange],l=["#E3EBFB",r.blue,"#2A56B8"],s=[r.blue,"#F0F0F0",r.red],o={textColor:t.text},i={textColor:t.secondary},d={offsetX:0,offsetY:1,blur:3,color:"rgba(0, 0, 0, 0.2)"},h={tokens:{graphBackground:t.white,graphBorder:t.edge,geomBorder:t.connector,textPrimary:t.text,textSecondary:t.secondary,ruleLine:t.baseline,gridLine:t.rule,hoverAffordance:t.white,hoverGuideFill:"rgba(32, 33, 36, 0.05)",hoverGuideLine:t.secondary,tooltipBackground:t.white,tooltipBorder:t.edge,tooltipPrimaryRow:"rgba(32, 33, 36, 0.05)",annotationShape:r.blue,annotationArrow:t.text,differenceLabelBackground:t.white,trendPositive:r.green,trendNegative:r.red,trendNeutral:t.secondary},defaults:[e.style.graph({strokeWidth:1,cornerRadius:0,fontFamily:n,padding:20}),e.style.geom.bar({cornerRadius:"none",strokeWidth:0}),e.style.geom.bar({stroke:t.white,strokeWidth:2,shadow:"none"},{state:"hovered"}),e.style.geom.line({strokeWidth:2,dashArray:[],lineCap:"butt",lineJoin:"miter"}),e.style.geom.area({fillAlpha:.3,strokeWidth:2,dashArray:[],lineCap:"butt",lineJoin:"miter"}),e.style.geom.point({size:7,stroke:t.white,strokeWidth:0}),e.style.geom.point({size:10,stroke:t.white,strokeWidth:2},{state:"hovered"}),e.style.geom.tile({cornerRadius:0,stroke:t.white,strokeWidth:1}),e.style.geom.tile({stroke:t.white,strokeWidth:2},{state:"hovered"}),e.style.geom.rule({strokeWidth:1,dashArray:[]}),e.style.geom.rule.label({...i,fontWeight:400,fontSize:12}),e.style.geom({shadow:"none"},{state:"hovered"}),e.style.gridLine({dashArray:[]}),e.style.gridLine.x({strokeWidth:0}),e.style.gridLine.y({strokeWidth:1}),e.style.panelBorder({strokeWidth:0}),e.style.panelBorder.bottom({stroke:t.baseline,strokeWidth:1,dashArray:[]}),e.style.tickLine({strokeWidth:0}),e.style.tickLabel({...o,fontWeight:400,fontSize:12,lineHeight:1}),e.style.axisLabel({...o,fontWeight:400,fontSize:12,lineHeight:1}),e.style.heading({...o}),e.style.heading.h1({...i,fontWeight:400,fontSize:18,lineHeight:1.25}),e.style.heading.h2({...i,fontWeight:400,fontSize:12,lineHeight:1.4}),e.style.caption({...i,fontWeight:400,fontSize:12}),e.style.source({...i,fontWeight:400,fontSize:12}),e.style.dataLabel({...i,fontWeight:400,fontSize:12,fill:"transparent"}),e.style.dataLabel.observation.inside({...o}),e.style.dataLabel.category.inside({...o}),e.style.legendItem({...i,fontWeight:400,fontSize:12,fill:"transparent",stroke:"transparent"}),e.style.directLabel({...i,fontWeight:400,fontSize:12}),e.style.tooltip({strokeWidth:1,cornerRadius:2,paddingInline:10,paddingBlock:8,shadow:d}),e.style.tooltip.heading({...o,fontWeight:700,fontSize:12,lineHeight:1.3}),e.style.tooltip.label({...o,fontWeight:400,fontSize:12,lineHeight:1.4}),e.style.tooltip.value({...o,fontWeight:700,fontSize:12,lineHeight:1.4}),e.style.annotation.text({...o,fill:"transparent",strokeWidth:0,fontSize:12,lineHeight:1.3}),e.style.annotation.shape({fillAlpha:.2,strokeWidth:0}),e.style.annotation.arrow({strokeWidth:1,dashArray:[]}),e.style.annotation.differenceArrow({stroke:t.text,strokeWidth:1}),e.style.annotation.differenceArrow.label({...o,fill:t.white,stroke:t.edge,strokeWidth:1,cornerRadius:2,fontSize:12}),e.style.panelBorder.bottom({strokeWidth:0},{coord:"polar"}),e.style.geom.bar({stroke:t.white,strokeWidth:1},{coord:"polar"}),e.style.gridLine({stroke:t.rule,strokeWidth:1},{coord:"polar"}),e.style.tickLabel({...o,fontWeight:500,textOutlineColor:t.white,textOutlineWidth:3},{coord:"polar"})]},g={name:"spreadsheet",styles:h,palettes:{categorical:a,sequential:l,diverging:s},config:{axes:{y:{position:"left"}},legend:{position:"top",align:"center"}},colorScheme:"light"};exports.spreadsheet=g;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=require("@graphysdk/react");var t={white:"#FFFFFF",text:"#202124",secondary:"#757575",baseline:"#333333",rule:"#CCCCCC",edge:"#DADCE0",connector:"#BDBDBD"},n="Arial, 'Helvetica Neue', Helvetica, sans-serif",i={blue:"#5384EC",red:"#D75140",yellow:"#F2BF42",green:"#58A55D",orange:"#EE762F"},a=[i.blue,i.red,i.yellow,i.green,i.orange],l=["#E3EBFB",i.blue,"#2A56B8"],s=[i.blue,"#F0F0F0",i.red],o={textColor:t.text},r={textColor:t.secondary},d={offsetX:0,offsetY:1,blur:3,color:"rgba(0, 0, 0, 0.2)"},h={tokens:{graphBackground:t.white,graphBorder:t.edge,geomBorder:t.connector,textPrimary:t.text,textSecondary:t.secondary,ruleLine:t.baseline,gridLine:t.rule,hoverStroke:t.white,hoverGuideFill:"rgba(32, 33, 36, 0.05)",hoverGuideLine:t.secondary,tooltipBackground:t.white,tooltipBorder:t.edge,tooltipPrimaryRow:"rgba(32, 33, 36, 0.05)",annotationShape:i.blue,annotationArrow:t.text,differenceLabelBackground:t.white,trendPositive:i.green,trendNegative:i.red,trendNeutral:t.secondary},defaults:[e.style.graph({strokeWidth:1,cornerRadius:0,fontFamily:n,padding:20}),e.style.geom.bar({cornerRadius:"none",strokeWidth:0}),e.style.geom.bar({stroke:t.white,strokeWidth:2,shadow:"none"},{state:"hovered"}),e.style.geom.line({strokeWidth:2,dashArray:[],lineCap:"butt",lineJoin:"miter"}),e.style.geom.area({fillAlpha:.3,strokeWidth:2,dashArray:[],lineCap:"butt",lineJoin:"miter"}),e.style.geom.point({size:7,stroke:t.white,strokeWidth:0}),e.style.geom.point({size:10,stroke:t.white,strokeWidth:2},{state:"hovered"}),e.style.geom.tile({cornerRadius:0,stroke:t.white,strokeWidth:1}),e.style.geom.tile({stroke:t.white,strokeWidth:2},{state:"hovered"}),e.style.geom.rule({strokeWidth:1,dashArray:[]}),e.style.geom.rule.label({...r,fontWeight:400,fontSize:12}),e.style.geom({shadow:"none"},{state:"hovered"}),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.baseline,strokeWidth:1,dashArray:[]}),e.style.tickLine({strokeWidth:0}),e.style.tickLabel({...o,fontWeight:400,fontSize:12,lineHeight:1}),e.style.axisLabel({...o,fontWeight:400,fontSize:12,lineHeight:1}),e.style.heading({...o}),e.style.heading.h1({...r,fontWeight:400,fontSize:18,lineHeight:1.25}),e.style.heading.h2({...r,fontWeight:400,fontSize:12,lineHeight:1.4}),e.style.caption({...r,fontWeight:400,fontSize:12}),e.style.source({...r,fontWeight:400,fontSize:12}),e.style.dataLabel({...r,fontWeight:400,fontSize:12,fill:"transparent"}),e.style.dataLabel.observation.inside({...o}),e.style.dataLabel.category.inside({...o}),e.style.legendItem({...r,fontWeight:400,fontSize:12,fill:"transparent",stroke:"transparent"}),e.style.directLabel({...r,fontWeight:400,fontSize:12}),e.style.tooltip({strokeWidth:1,cornerRadius:2,paddingInline:10,paddingBlock:8,shadow:d}),e.style.tooltip.heading({...o,fontWeight:700,fontSize:12,lineHeight:1.3}),e.style.tooltip.label({...o,fontWeight:400,fontSize:12,lineHeight:1.4}),e.style.tooltip.value({...o,fontWeight:700,fontSize:12,lineHeight:1.4}),e.style.annotation.text({...o,fill:"transparent",strokeWidth:0,fontSize:12,lineHeight:1.3}),e.style.annotation.shape({fillAlpha:.2,strokeWidth:0}),e.style.annotation.arrow({strokeWidth:1,dashArray:[]}),e.style.annotation.differenceArrow({stroke:t.text,strokeWidth:1}),e.style.annotation.differenceArrow.label({...o,fill:t.white,stroke:t.edge,strokeWidth:1,cornerRadius:2,fontSize:12}),e.style.geom.bar({stroke:t.white,strokeWidth:1},{coord:"polar"}),e.style.gridLine({stroke:t.rule,strokeWidth:1},{coord:"polar"}),e.style.tickLabel({...o,fontWeight:500,textOutlineColor:t.white,textOutlineWidth:3},{coord:"polar"})]},g={name:"spreadsheet",styles:h,palettes:{categorical:a,sequential:l,diverging:s},config:{axes:{y:{position:"left"}},legend:{position:"top",align:"center"}},colorScheme:"light"};exports.spreadsheet=g;
package/dist/index.mjs CHANGED
@@ -41,7 +41,7 @@ var t = {
41
41
  textSecondary: t.secondary,
42
42
  ruleLine: t.baseline,
43
43
  gridLine: t.rule,
44
- hoverAffordance: t.white,
44
+ hoverStroke: t.white,
45
45
  hoverGuideFill: "rgba(32, 33, 36, 0.05)",
46
46
  hoverGuideLine: t.secondary,
47
47
  tooltipBackground: t.white,
@@ -116,7 +116,7 @@ var t = {
116
116
  e.gridLine.x({ strokeWidth: 0 }),
117
117
  e.gridLine.y({ strokeWidth: 1 }),
118
118
  e.panelBorder({ strokeWidth: 0 }),
119
- e.panelBorder.bottom({
119
+ e.axisLine.x({
120
120
  stroke: t.baseline,
121
121
  strokeWidth: 1,
122
122
  dashArray: []
@@ -229,7 +229,6 @@ var t = {
229
229
  cornerRadius: 2,
230
230
  fontSize: 12
231
231
  }),
232
- e.panelBorder.bottom({ strokeWidth: 0 }, { coord: "polar" }),
233
232
  e.geom.bar({
234
233
  stroke: t.white,
235
234
  strokeWidth: 1
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "theme",
14
14
  "spreadsheet"
15
15
  ],
16
- "version": "0.1.1-beta.1793017273153",
16
+ "version": "0.1.1-beta.1793027249956",
17
17
  "type": "module",
18
18
  "types": "./dist/index.d.ts",
19
19
  "files": [
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": "^19.0.0",
34
- "@graphysdk/react": "^1.9.0-beta.1793017273153"
34
+ "@graphysdk/react": "^1.9.0-beta.1793027249956"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@testing-library/react": "^16.3.1",
@@ -43,8 +43,8 @@
43
43
  "vite": "^8.1.5",
44
44
  "vite-plugin-dts": "^4.5.4",
45
45
  "vitest": "^4.1.11",
46
- "@graphysdk/react": "1.9.0-beta.1793017273153",
47
- "@graphysdk/viz-engine": "1.9.0-beta.1793017273153",
46
+ "@graphysdk/react": "1.9.0-beta.1793027249956",
47
+ "@graphysdk/viz-engine": "1.9.0-beta.1793027249956",
48
48
  "@graphytools/eslint-config": "0.0.1",
49
49
  "@graphytools/typescript-config": "0.0.1",
50
50
  "@graphytools/vitest-config": "1.0.0"