@graphysdk/theme-solarized 0.1.1-beta.1792407460425 → 0.1.1-beta.1792410301640

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 a={base03:"#002b36",base02:"#073642",base01:"#586e75",base00:"#657b83",base0:"#839496",base1:"#93a1a1",base2:"#eee8d5",base3:"#fdf6e3"},o={yellow:"#b58900",orange:"#cb4b16",red:"#dc322f",magenta:"#d33682",violet:"#6c71c4",blue:"#268bd2",cyan:"#2aa198",green:"#859900"},t={background:{light:a.base3,dark:a.base03},raised:{light:a.base2,dark:a.base02},strong:{light:a.base02,dark:a.base2},text:{light:a.base01,dark:a.base1},axis:{light:a.base1,dark:a.base01},guideFill:{light:"rgba(88, 110, 117, 0.1)",dark:"rgba(147, 161, 161, 0.12)"}},n="'Source Code Pro', ui-monospace, 'SF Mono', Menlo, monospace",s=[o.blue,o.orange,o.cyan,o.magenta,o.green,o.violet,o.yellow,o.red],l=["#dcc96b",o.cyan,"#1b5a85"],d=[o.blue,a.base00,o.orange],r={textColor:t.strong},i={textColor:t.text},g={tokens:{graphBackground:t.background,graphBorder:t.raised,geomBorder:t.axis,textPrimary:t.strong,textSecondary:t.text,ruleLine:t.text,gridLine:t.raised,hoverAffordance:t.background,hoverGuideFill:t.guideFill,hoverGuideLine:t.axis,tooltipBackground:t.raised,tooltipBorder:t.axis,tooltipPrimaryRow:t.guideFill,annotationShape:o.yellow,annotationArrow:t.text,differenceLabelBackground:t.raised},defaults:[e.style.graph({strokeWidth:1,cornerRadius:4,fontFamily:n,padding:20}),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,shadow:"none"},{state:"hovered"}),e.style.geom.line({strokeWidth:1.5,dashArray:[],lineCap:"round",lineJoin:"round"}),e.style.geom.area({fillAlpha:.3,strokeWidth:1.5,dashArray:[],lineCap:"round",lineJoin:"round"}),e.style.geom.point({size:9,stroke:t.background,strokeWidth:1}),e.style.geom.point({stroke:t.text},{state:"hovered"}),e.style.geom.tile({cornerRadius:2,stroke:t.background,strokeWidth:1}),e.style.geom.tile({stroke:t.text,shadow:"none"},{state:"hovered"}),e.style.geom.rule({strokeWidth:1,dashArray:[4,3]}),e.style.geom.rule.label({...i,fontWeight:500,fontSize:11.5}),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.axis,strokeWidth:1,dashArray:[]}),e.style.tickLine({strokeWidth:0}),e.style.tickLabel({...i,fontWeight:400,fontSize:11.5,lineHeight:1}),e.style.axisLabel({...i,fontWeight:500,fontSize:11.5,lineHeight:1}),e.style.heading({...r}),e.style.heading.h1({fontWeight:600,fontSize:18,lineHeight:1.25}),e.style.heading.h2({...i,fontWeight:400,fontSize:13,lineHeight:1.4}),e.style.caption({...i,fontWeight:400,fontSize:11.5}),e.style.source({...i,fontWeight:400,fontSize:11.5}),e.style.source.link({...i,fontWeight:400,fontSize:11.5}),e.style.dataLabel({...r,fontWeight:500,fontSize:11.5,fill:"transparent"}),e.style.legendItem({...i,fontWeight:400,fontSize:12,fill:"transparent",stroke:"transparent"}),e.style.directLabel({fontWeight:600,fontSize:12}),e.style.tooltip({strokeWidth:1,cornerRadius:3,paddingInline:10,paddingBlock:8,shadow:"none"}),e.style.legend.popover({strokeWidth:1,cornerRadius:3,shadow:"none"}),e.style.tooltip.heading({...r,fontWeight:600,fontSize:12,lineHeight:1.3}),e.style.tooltip.label({...r,fontWeight:400,fontSize:12,lineHeight:1.4}),e.style.tooltip.value({...r,fontWeight:600,fontSize:12,lineHeight:1.4}),e.style.annotation.text({...r,fill:t.raised,stroke:t.axis,strokeWidth:1,cornerRadius:3,paddingInline:8,paddingBlock:4,fontSize:12,lineHeight:1.3}),e.style.annotation.shape({fillAlpha:.2,stroke:o.yellow,strokeWidth:1}),e.style.annotation.arrow({strokeWidth:1.5,dashArray:[]}),e.style.annotation.pinnedNumber({stroke:t.background,shadow:"none"}),e.style.annotation.pinnedNumber.label({...r,fill:t.raised,stroke:t.axis,shadow:"none"}),e.style.annotation.comment({stroke:t.background,shadow:"none"}),e.style.annotation.comment.label({...r,fill:t.raised,stroke:t.axis,shadow:"none"}),e.style.annotation.differenceArrow({stroke:t.text,strokeWidth:1.5}),e.style.annotation.differenceArrow.label({...r,stroke:t.axis,strokeWidth:1,cornerRadius:3,fontSize:11.5}),e.style.panelBorder.bottom({strokeWidth:0},{coord:"polar"})]},h={name:"solarized",styles:g,palettes:{categorical:s,sequential:l,diverging:d}};exports.solarized=h;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=require("@graphysdk/react");var a={base03:"#002b36",base02:"#073642",base01:"#586e75",base00:"#657b83",base0:"#839496",base1:"#93a1a1",base2:"#eee8d5",base3:"#fdf6e3"},o={yellow:"#b58900",orange:"#cb4b16",red:"#dc322f",magenta:"#d33682",violet:"#6c71c4",blue:"#268bd2",cyan:"#2aa198",green:"#859900"},t={background:{light:a.base3,dark:a.base03},raised:{light:a.base2,dark:a.base02},strong:{light:a.base02,dark:a.base2},text:{light:a.base01,dark:a.base1},axis:{light:a.base1,dark:a.base01},guideFill:{light:"rgba(88, 110, 117, 0.1)",dark:"rgba(147, 161, 161, 0.12)"}},n="'Source Code Pro', ui-monospace, 'SF Mono', Menlo, monospace",s=[o.blue,o.orange,o.cyan,o.magenta,o.green,o.violet,o.yellow,o.red],l=["#dcc96b",o.cyan,"#1b5a85"],d=[o.blue,a.base00,o.orange],r={textColor:t.strong},i={textColor:t.text},g={tokens:{graphBackground:t.background,graphBorder:t.raised,geomBorder:t.axis,textPrimary:t.strong,textSecondary:t.text,ruleLine:t.text,gridLine:t.raised,hoverAffordance:t.background,hoverGuideFill:t.guideFill,hoverGuideLine:t.axis,tooltipBackground:t.raised,tooltipBorder:t.axis,tooltipPrimaryRow:t.guideFill,annotationShape:o.yellow,annotationArrow:t.text,differenceLabelBackground:t.raised,trendPositive:o.green,trendNegative:o.red,trendNeutral:t.text},defaults:[e.style.graph({strokeWidth:1,cornerRadius:4,fontFamily:n,padding:20}),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,shadow:"none"},{state:"hovered"}),e.style.geom.line({strokeWidth:1.5,dashArray:[],lineCap:"round",lineJoin:"round"}),e.style.geom.area({fillAlpha:.3,strokeWidth:1.5,dashArray:[],lineCap:"round",lineJoin:"round"}),e.style.geom.point({size:9,stroke:t.background,strokeWidth:1}),e.style.geom.point({stroke:t.text},{state:"hovered"}),e.style.geom.tile({cornerRadius:2,stroke:t.background,strokeWidth:1}),e.style.geom.tile({stroke:t.text,shadow:"none"},{state:"hovered"}),e.style.geom.rule({strokeWidth:1,dashArray:[4,3]}),e.style.geom.rule.label({...i,fontWeight:500,fontSize:11.5}),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.axis,strokeWidth:1,dashArray:[]}),e.style.tickLine({strokeWidth:0}),e.style.tickLabel({...i,fontWeight:400,fontSize:11.5,lineHeight:1}),e.style.axisLabel({...i,fontWeight:500,fontSize:11.5,lineHeight:1}),e.style.heading({...r}),e.style.heading.h1({fontWeight:600,fontSize:18,lineHeight:1.25}),e.style.heading.h2({...i,fontWeight:400,fontSize:13,lineHeight:1.4}),e.style.caption({...i,fontWeight:400,fontSize:11.5}),e.style.source({...i,fontWeight:400,fontSize:11.5}),e.style.source.link({...i,fontWeight:400,fontSize:11.5}),e.style.dataLabel({...r,fontWeight:500,fontSize:11.5,fill:"transparent"}),e.style.legendItem({...i,fontWeight:400,fontSize:12,fill:"transparent",stroke:"transparent"}),e.style.directLabel({fontWeight:600,fontSize:12}),e.style.tooltip({strokeWidth:1,cornerRadius:3,paddingInline:10,paddingBlock:8,shadow:"none"}),e.style.legend.popover({strokeWidth:1,cornerRadius:3,shadow:"none"}),e.style.tooltip.heading({...r,fontWeight:600,fontSize:12,lineHeight:1.3}),e.style.tooltip.label({...r,fontWeight:400,fontSize:12,lineHeight:1.4}),e.style.tooltip.value({...r,fontWeight:600,fontSize:12,lineHeight:1.4}),e.style.annotation.text({...r,fill:t.raised,stroke:t.axis,strokeWidth:1,cornerRadius:3,paddingInline:8,paddingBlock:4,fontSize:12,lineHeight:1.3}),e.style.annotation.shape({fillAlpha:.2,stroke:o.yellow,strokeWidth:1}),e.style.annotation.arrow({strokeWidth:1.5,dashArray:[]}),e.style.annotation.pinnedNumber({stroke:t.background,shadow:"none"}),e.style.annotation.pinnedNumber.label({...r,fill:t.raised,stroke:t.axis,shadow:"none"}),e.style.annotation.comment({stroke:t.background,shadow:"none"}),e.style.annotation.comment.label({...r,fill:t.raised,stroke:t.axis,shadow:"none"}),e.style.annotation.differenceArrow({stroke:t.text,strokeWidth:1.5}),e.style.annotation.differenceArrow.label({...r,stroke:t.axis,strokeWidth:1,cornerRadius:3,fontSize:11.5}),e.style.panelBorder.bottom({strokeWidth:0},{coord:"polar"})]},h={name:"solarized",styles:g,palettes:{categorical:s,sequential:l,diverging:d}};exports.solarized=h;
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ var a = {
8
8
  base1: "#93a1a1",
9
9
  base2: "#eee8d5",
10
10
  base3: "#fdf6e3"
11
- }, t = {
11
+ }, o = {
12
12
  yellow: "#b58900",
13
13
  orange: "#cb4b16",
14
14
  red: "#dc322f",
@@ -17,7 +17,7 @@ var a = {
17
17
  blue: "#268bd2",
18
18
  cyan: "#2aa198",
19
19
  green: "#859900"
20
- }, o = {
20
+ }, t = {
21
21
  background: {
22
22
  light: a.base3,
23
23
  dark: a.base03
@@ -43,40 +43,43 @@ var a = {
43
43
  dark: "rgba(147, 161, 161, 0.12)"
44
44
  }
45
45
  }, n = "'Source Code Pro', ui-monospace, 'SF Mono', Menlo, monospace", d = [
46
- t.blue,
47
- t.orange,
48
- t.cyan,
49
- t.magenta,
50
- t.green,
51
- t.violet,
52
- t.yellow,
53
- t.red
46
+ o.blue,
47
+ o.orange,
48
+ o.cyan,
49
+ o.magenta,
50
+ o.green,
51
+ o.violet,
52
+ o.yellow,
53
+ o.red
54
54
  ], s = [
55
55
  "#dcc96b",
56
- t.cyan,
56
+ o.cyan,
57
57
  "#1b5a85"
58
58
  ], l = [
59
- t.blue,
59
+ o.blue,
60
60
  a.base00,
61
- t.orange
62
- ], i = { textColor: o.strong }, r = { textColor: o.text }, g = {
61
+ o.orange
62
+ ], r = { textColor: t.strong }, i = { textColor: t.text }, g = {
63
63
  tokens: {
64
- graphBackground: o.background,
65
- graphBorder: o.raised,
66
- geomBorder: o.axis,
67
- textPrimary: o.strong,
68
- textSecondary: o.text,
69
- ruleLine: o.text,
70
- gridLine: o.raised,
71
- hoverAffordance: o.background,
72
- hoverGuideFill: o.guideFill,
73
- hoverGuideLine: o.axis,
74
- tooltipBackground: o.raised,
75
- tooltipBorder: o.axis,
76
- tooltipPrimaryRow: o.guideFill,
77
- annotationShape: t.yellow,
78
- annotationArrow: o.text,
79
- differenceLabelBackground: o.raised
64
+ graphBackground: t.background,
65
+ graphBorder: t.raised,
66
+ geomBorder: t.axis,
67
+ textPrimary: t.strong,
68
+ textSecondary: t.text,
69
+ ruleLine: t.text,
70
+ gridLine: t.raised,
71
+ hoverAffordance: t.background,
72
+ hoverGuideFill: t.guideFill,
73
+ hoverGuideLine: t.axis,
74
+ tooltipBackground: t.raised,
75
+ tooltipBorder: t.axis,
76
+ tooltipPrimaryRow: t.guideFill,
77
+ annotationShape: o.yellow,
78
+ annotationArrow: t.text,
79
+ differenceLabelBackground: t.raised,
80
+ trendPositive: o.green,
81
+ trendNegative: o.red,
82
+ trendNeutral: t.text
80
83
  },
81
84
  defaults: [
82
85
  e.graph({
@@ -87,12 +90,12 @@ var a = {
87
90
  }),
88
91
  e.geom({ shadow: "none" }, { state: "hovered" }),
89
92
  e.geom.bar({
90
- stroke: o.background,
93
+ stroke: t.background,
91
94
  strokeWidth: 1,
92
95
  cornerRadius: 2
93
96
  }),
94
97
  e.geom.bar({
95
- stroke: o.text,
98
+ stroke: t.text,
96
99
  shadow: "none"
97
100
  }, { state: "hovered" }),
98
101
  e.geom.line({
@@ -110,17 +113,17 @@ var a = {
110
113
  }),
111
114
  e.geom.point({
112
115
  size: 9,
113
- stroke: o.background,
116
+ stroke: t.background,
114
117
  strokeWidth: 1
115
118
  }),
116
- e.geom.point({ stroke: o.text }, { state: "hovered" }),
119
+ e.geom.point({ stroke: t.text }, { state: "hovered" }),
117
120
  e.geom.tile({
118
121
  cornerRadius: 2,
119
- stroke: o.background,
122
+ stroke: t.background,
120
123
  strokeWidth: 1
121
124
  }),
122
125
  e.geom.tile({
123
- stroke: o.text,
126
+ stroke: t.text,
124
127
  shadow: "none"
125
128
  }, { state: "hovered" }),
126
129
  e.geom.rule({
@@ -128,7 +131,7 @@ var a = {
128
131
  dashArray: [4, 3]
129
132
  }),
130
133
  e.geom.rule.label({
131
- ...r,
134
+ ...i,
132
135
  fontWeight: 500,
133
136
  fontSize: 11.5
134
137
  }),
@@ -137,58 +140,58 @@ var a = {
137
140
  e.gridLine.y({ strokeWidth: 1 }),
138
141
  e.panelBorder({ strokeWidth: 0 }),
139
142
  e.panelBorder.bottom({
140
- stroke: o.axis,
143
+ stroke: t.axis,
141
144
  strokeWidth: 1,
142
145
  dashArray: []
143
146
  }),
144
147
  e.tickLine({ strokeWidth: 0 }),
145
148
  e.tickLabel({
146
- ...r,
149
+ ...i,
147
150
  fontWeight: 400,
148
151
  fontSize: 11.5,
149
152
  lineHeight: 1
150
153
  }),
151
154
  e.axisLabel({
152
- ...r,
155
+ ...i,
153
156
  fontWeight: 500,
154
157
  fontSize: 11.5,
155
158
  lineHeight: 1
156
159
  }),
157
- e.heading({ ...i }),
160
+ e.heading({ ...r }),
158
161
  e.heading.h1({
159
162
  fontWeight: 600,
160
163
  fontSize: 18,
161
164
  lineHeight: 1.25
162
165
  }),
163
166
  e.heading.h2({
164
- ...r,
167
+ ...i,
165
168
  fontWeight: 400,
166
169
  fontSize: 13,
167
170
  lineHeight: 1.4
168
171
  }),
169
172
  e.caption({
170
- ...r,
173
+ ...i,
171
174
  fontWeight: 400,
172
175
  fontSize: 11.5
173
176
  }),
174
177
  e.source({
175
- ...r,
178
+ ...i,
176
179
  fontWeight: 400,
177
180
  fontSize: 11.5
178
181
  }),
179
182
  e.source.link({
180
- ...r,
183
+ ...i,
181
184
  fontWeight: 400,
182
185
  fontSize: 11.5
183
186
  }),
184
187
  e.dataLabel({
185
- ...i,
188
+ ...r,
186
189
  fontWeight: 500,
187
190
  fontSize: 11.5,
188
191
  fill: "transparent"
189
192
  }),
190
193
  e.legendItem({
191
- ...r,
194
+ ...i,
192
195
  fontWeight: 400,
193
196
  fontSize: 12,
194
197
  fill: "transparent",
@@ -211,27 +214,27 @@ var a = {
211
214
  shadow: "none"
212
215
  }),
213
216
  e.tooltip.heading({
214
- ...i,
217
+ ...r,
215
218
  fontWeight: 600,
216
219
  fontSize: 12,
217
220
  lineHeight: 1.3
218
221
  }),
219
222
  e.tooltip.label({
220
- ...i,
223
+ ...r,
221
224
  fontWeight: 400,
222
225
  fontSize: 12,
223
226
  lineHeight: 1.4
224
227
  }),
225
228
  e.tooltip.value({
226
- ...i,
229
+ ...r,
227
230
  fontWeight: 600,
228
231
  fontSize: 12,
229
232
  lineHeight: 1.4
230
233
  }),
231
234
  e.annotation.text({
232
- ...i,
233
- fill: o.raised,
234
- stroke: o.axis,
235
+ ...r,
236
+ fill: t.raised,
237
+ stroke: t.axis,
235
238
  strokeWidth: 1,
236
239
  cornerRadius: 3,
237
240
  paddingInline: 8,
@@ -241,7 +244,7 @@ var a = {
241
244
  }),
242
245
  e.annotation.shape({
243
246
  fillAlpha: 0.2,
244
- stroke: t.yellow,
247
+ stroke: o.yellow,
245
248
  strokeWidth: 1
246
249
  }),
247
250
  e.annotation.arrow({
@@ -249,32 +252,32 @@ var a = {
249
252
  dashArray: []
250
253
  }),
251
254
  e.annotation.pinnedNumber({
252
- stroke: o.background,
255
+ stroke: t.background,
253
256
  shadow: "none"
254
257
  }),
255
258
  e.annotation.pinnedNumber.label({
256
- ...i,
257
- fill: o.raised,
258
- stroke: o.axis,
259
+ ...r,
260
+ fill: t.raised,
261
+ stroke: t.axis,
259
262
  shadow: "none"
260
263
  }),
261
264
  e.annotation.comment({
262
- stroke: o.background,
265
+ stroke: t.background,
263
266
  shadow: "none"
264
267
  }),
265
268
  e.annotation.comment.label({
266
- ...i,
267
- fill: o.raised,
268
- stroke: o.axis,
269
+ ...r,
270
+ fill: t.raised,
271
+ stroke: t.axis,
269
272
  shadow: "none"
270
273
  }),
271
274
  e.annotation.differenceArrow({
272
- stroke: o.text,
275
+ stroke: t.text,
273
276
  strokeWidth: 1.5
274
277
  }),
275
278
  e.annotation.differenceArrow.label({
276
- ...i,
277
- stroke: o.axis,
279
+ ...r,
280
+ stroke: t.axis,
278
281
  strokeWidth: 1,
279
282
  cornerRadius: 3,
280
283
  fontSize: 11.5
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "theme",
14
14
  "solarized"
15
15
  ],
16
- "version": "0.1.1-beta.1792407460425",
16
+ "version": "0.1.1-beta.1792410301640",
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.1792407460425"
43
+ "@graphysdk/react": "^1.9.0-beta.1792410301640"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@testing-library/react": "^16.3.1",
@@ -52,9 +52,9 @@
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.1792407460425",
55
+ "@graphysdk/react": "1.9.0-beta.1792410301640",
56
56
  "@graphytools/typescript-config": "0.0.1",
57
- "@graphysdk/viz-engine": "1.9.0-beta.1792407460425",
57
+ "@graphysdk/viz-engine": "1.9.0-beta.1792410301640",
58
58
  "@graphytools/vitest-config": "1.0.0",
59
59
  "@graphytools/eslint-config": "0.0.1"
60
60
  },