@rokkit/chart 1.0.0-next.14 → 1.0.0-next.140

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.
Files changed (150) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +150 -46
  3. package/dist/Plot/index.d.ts +5 -0
  4. package/dist/elements/index.d.ts +6 -0
  5. package/dist/index.d.ts +14 -0
  6. package/dist/lib/brewing/axes.svelte.d.ts +66 -0
  7. package/dist/lib/brewing/bars.svelte.d.ts +56 -0
  8. package/dist/lib/brewing/dimensions.svelte.d.ts +35 -0
  9. package/dist/lib/brewing/index.svelte.d.ts +118 -0
  10. package/dist/lib/brewing/legends.svelte.d.ts +48 -0
  11. package/dist/lib/brewing/scales.svelte.d.ts +24 -0
  12. package/dist/lib/brewing/types.d.ts +162 -0
  13. package/dist/lib/context.d.ts +13 -0
  14. package/dist/lib/scales.svelte.d.ts +35 -0
  15. package/dist/lib/utils.d.ts +60 -0
  16. package/dist/old_lib/brewer.d.ts +9 -0
  17. package/dist/old_lib/chart.d.ts +40 -0
  18. package/dist/old_lib/grid.d.ts +72 -0
  19. package/dist/old_lib/index.d.ts +4 -0
  20. package/dist/old_lib/plots.d.ts +3 -0
  21. package/dist/old_lib/swatch.d.ts +285 -0
  22. package/dist/old_lib/ticks.d.ts +36 -0
  23. package/dist/old_lib/utils.d.ts +1 -0
  24. package/dist/patterns/index.d.ts +9 -0
  25. package/dist/patterns/paths/constants.d.ts +1 -0
  26. package/dist/symbols/constants/index.d.ts +1 -0
  27. package/dist/symbols/index.d.ts +5 -0
  28. package/dist/template/constants.d.ts +43 -0
  29. package/dist/template/shapes/index.d.ts +4 -0
  30. package/package.json +34 -44
  31. package/src/Plot/Axis.svelte +95 -0
  32. package/src/Plot/Bar.svelte +96 -0
  33. package/src/Plot/Grid.svelte +68 -0
  34. package/src/Plot/Legend.svelte +127 -0
  35. package/src/Plot/Root.svelte +107 -0
  36. package/src/Plot/index.js +5 -0
  37. package/src/Symbol.svelte +21 -0
  38. package/src/Texture.svelte +18 -0
  39. package/src/elements/Bar.svelte +22 -24
  40. package/src/elements/ColorRamp.svelte +20 -22
  41. package/src/elements/ContinuousLegend.svelte +20 -17
  42. package/src/elements/DefinePatterns.svelte +24 -0
  43. package/src/elements/DiscreteLegend.svelte +15 -15
  44. package/src/elements/Label.svelte +4 -8
  45. package/src/elements/SymbolGrid.svelte +23 -0
  46. package/src/elements/index.js +6 -0
  47. package/src/examples/BarChartExample.svelte +81 -0
  48. package/src/index.js +18 -16
  49. package/src/lib/brewing/axes.svelte.js +265 -0
  50. package/src/lib/brewing/bars.svelte.js +177 -0
  51. package/src/lib/brewing/dimensions.svelte.js +56 -0
  52. package/src/lib/brewing/index.svelte.js +205 -0
  53. package/src/lib/brewing/legends.svelte.js +137 -0
  54. package/src/lib/brewing/scales.svelte.js +106 -0
  55. package/src/lib/brewing/types.js +73 -0
  56. package/src/lib/context.js +133 -0
  57. package/src/lib/scales.svelte.js +172 -0
  58. package/src/lib/utils.js +107 -120
  59. package/src/old_lib/brewer.js +25 -0
  60. package/src/old_lib/chart.js +213 -0
  61. package/src/old_lib/grid.js +85 -0
  62. package/src/old_lib/index.js +4 -0
  63. package/src/old_lib/plots.js +27 -0
  64. package/src/old_lib/swatch.js +16 -0
  65. package/src/old_lib/ticks.js +46 -0
  66. package/src/old_lib/utils.js +8 -0
  67. package/src/patterns/Brick.svelte +15 -0
  68. package/src/patterns/Circles.svelte +18 -0
  69. package/src/patterns/CrossHatch.svelte +12 -0
  70. package/src/patterns/CurvedWave.svelte +7 -0
  71. package/src/patterns/Dots.svelte +20 -0
  72. package/src/patterns/OutlineCircles.svelte +13 -0
  73. package/src/patterns/README.md +3 -0
  74. package/src/patterns/Tile.svelte +16 -0
  75. package/src/patterns/Triangles.svelte +13 -0
  76. package/src/patterns/Waves.svelte +9 -0
  77. package/src/patterns/index.js +14 -0
  78. package/src/patterns/paths/NamedPattern.svelte +9 -0
  79. package/src/patterns/paths/constants.js +4 -0
  80. package/src/symbols/RoundedSquare.svelte +33 -0
  81. package/src/symbols/Shape.svelte +37 -0
  82. package/src/symbols/constants/index.js +4 -0
  83. package/src/symbols/index.js +9 -0
  84. package/src/symbols/outline.svelte +60 -0
  85. package/src/symbols/solid.svelte +60 -0
  86. package/src/template/Texture.svelte +13 -0
  87. package/src/template/constants.js +43 -0
  88. package/src/template/shapes/Circles.svelte +15 -0
  89. package/src/template/shapes/Lines.svelte +16 -0
  90. package/src/template/shapes/Path.svelte +9 -0
  91. package/src/template/shapes/Polygons.svelte +15 -0
  92. package/src/template/shapes/index.js +4 -0
  93. package/src/chart/FacetGrid.svelte +0 -51
  94. package/src/chart/Grid.svelte +0 -34
  95. package/src/chart/Legend.svelte +0 -16
  96. package/src/chart/PatternDefs.svelte +0 -13
  97. package/src/chart/Swatch.svelte +0 -93
  98. package/src/chart/SwatchButton.svelte +0 -29
  99. package/src/chart/SwatchGrid.svelte +0 -55
  100. package/src/chart/Symbol.svelte +0 -37
  101. package/src/chart/Texture.svelte +0 -16
  102. package/src/chart/TexturedShape.svelte +0 -27
  103. package/src/chart/TimelapseChart.svelte +0 -97
  104. package/src/chart/Timer.svelte +0 -27
  105. package/src/chart.js +0 -9
  106. package/src/components/charts/Axis.svelte +0 -66
  107. package/src/components/charts/Chart.svelte +0 -35
  108. package/src/components/index.js +0 -23
  109. package/src/components/lib/axis.js +0 -0
  110. package/src/components/lib/chart.js +0 -187
  111. package/src/components/lib/color.js +0 -327
  112. package/src/components/lib/funnel.js +0 -204
  113. package/src/components/lib/index.js +0 -19
  114. package/src/components/lib/pattern.js +0 -190
  115. package/src/components/lib/rollup.js +0 -55
  116. package/src/components/lib/shape.js +0 -199
  117. package/src/components/lib/summary.js +0 -145
  118. package/src/components/lib/theme.js +0 -23
  119. package/src/components/lib/timer.js +0 -41
  120. package/src/components/lib/utils.js +0 -165
  121. package/src/components/plots/BarPlot.svelte +0 -36
  122. package/src/components/plots/BoxPlot.svelte +0 -54
  123. package/src/components/plots/ScatterPlot.svelte +0 -30
  124. package/src/components/store.js +0 -70
  125. package/src/constants.js +0 -66
  126. package/src/elements/PatternDefs.svelte +0 -13
  127. package/src/elements/PatternMask.svelte +0 -20
  128. package/src/elements/Symbol.svelte +0 -38
  129. package/src/elements/Tooltip.svelte +0 -23
  130. package/src/funnel.svelte +0 -35
  131. package/src/geom.js +0 -105
  132. package/src/lib/axis.js +0 -75
  133. package/src/lib/colors.js +0 -32
  134. package/src/lib/geom.js +0 -4
  135. package/src/lib/shapes.js +0 -144
  136. package/src/lib/timer.js +0 -44
  137. package/src/lookup.js +0 -29
  138. package/src/plots/BarPlot.svelte +0 -55
  139. package/src/plots/BoxPlot.svelte +0 -0
  140. package/src/plots/FunnelPlot.svelte +0 -33
  141. package/src/plots/HeatMap.svelte +0 -5
  142. package/src/plots/HeatMapCalendar.svelte +0 -129
  143. package/src/plots/LinePlot.svelte +0 -55
  144. package/src/plots/Plot.svelte +0 -25
  145. package/src/plots/RankBarPlot.svelte +0 -38
  146. package/src/plots/ScatterPlot.svelte +0 -20
  147. package/src/plots/ViolinPlot.svelte +0 -11
  148. package/src/plots/heatmap.js +0 -70
  149. package/src/plots/index.js +0 -10
  150. package/src/swatch.js +0 -11
@@ -0,0 +1,162 @@
1
+ export type ChartMargin = {
2
+ /**
3
+ * - Top margin
4
+ */
5
+ top: number;
6
+ /**
7
+ * - Right margin
8
+ */
9
+ right: number;
10
+ /**
11
+ * - Bottom margin
12
+ */
13
+ bottom: number;
14
+ /**
15
+ * - Left margin
16
+ */
17
+ left: number;
18
+ };
19
+ export type ChartDimensions = {
20
+ /**
21
+ * - Total chart width
22
+ */
23
+ width: number;
24
+ /**
25
+ * - Total chart height
26
+ */
27
+ height: number;
28
+ /**
29
+ * - Chart margins
30
+ */
31
+ margin: ChartMargin;
32
+ /**
33
+ * - Chart width without margins
34
+ */
35
+ innerWidth: number;
36
+ /**
37
+ * - Chart height without margins
38
+ */
39
+ innerHeight: number;
40
+ };
41
+ export type ChartScales = {
42
+ /**
43
+ * - X-axis scale function
44
+ */
45
+ x: Function;
46
+ /**
47
+ * - Y-axis scale function
48
+ */
49
+ y: Function;
50
+ /**
51
+ * - Color scale function
52
+ */
53
+ color: Function;
54
+ };
55
+ export type ScaleFields = {
56
+ /**
57
+ * - X-axis field
58
+ */
59
+ x: string;
60
+ /**
61
+ * - Y-axis field
62
+ */
63
+ y: string;
64
+ /**
65
+ * - Color field
66
+ */
67
+ color: string;
68
+ };
69
+ export type TickData = {
70
+ /**
71
+ * - Tick value
72
+ */
73
+ value: any;
74
+ /**
75
+ * - Tick position in pixels
76
+ */
77
+ position: number;
78
+ /**
79
+ * - Formatted tick label
80
+ */
81
+ formattedValue: string;
82
+ };
83
+ export type AxisData = {
84
+ /**
85
+ * - Tick data
86
+ */
87
+ ticks: TickData[];
88
+ /**
89
+ * - Axis label
90
+ */
91
+ label: string;
92
+ /**
93
+ * - SVG transform attribute value
94
+ */
95
+ transform: string;
96
+ /**
97
+ * - SVG transform for the label
98
+ */
99
+ labelTransform: string;
100
+ };
101
+ export type BarData = {
102
+ /**
103
+ * - Original data point
104
+ */
105
+ data: Object;
106
+ /**
107
+ * - X position
108
+ */
109
+ x: number;
110
+ /**
111
+ * - Y position
112
+ */
113
+ y: number;
114
+ /**
115
+ * - Width of the bar
116
+ */
117
+ width: number;
118
+ /**
119
+ * - Height of the bar
120
+ */
121
+ height: number;
122
+ /**
123
+ * - Color of the bar
124
+ */
125
+ color: string;
126
+ };
127
+ export type LegendItem = {
128
+ /**
129
+ * - Legend item value
130
+ */
131
+ value: any;
132
+ /**
133
+ * - Item color
134
+ */
135
+ color: string;
136
+ /**
137
+ * - Y position
138
+ */
139
+ y: number;
140
+ /**
141
+ * - Shape type ('rect' or 'circle')
142
+ */
143
+ shape: string;
144
+ /**
145
+ * - Size of the marker
146
+ */
147
+ markerSize: number;
148
+ };
149
+ export type LegendData = {
150
+ /**
151
+ * - Legend items
152
+ */
153
+ items: LegendItem[];
154
+ /**
155
+ * - Legend title
156
+ */
157
+ title: string;
158
+ /**
159
+ * - SVG transform attribute value
160
+ */
161
+ transform: string;
162
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Creates chart context and provides it to child components
3
+ *
4
+ * @param {Object} options Initial chart options
5
+ * @returns {Object} Chart context with all stores and methods
6
+ */
7
+ export function createChartContext(options?: Object): Object;
8
+ /**
9
+ * Gets chart context provided by parent component
10
+ *
11
+ * @returns {Object} Chart context
12
+ */
13
+ export function getChartContext(): Object;
@@ -0,0 +1,35 @@
1
+ export function createScales(data: any, dimensions: any, options: any): {
2
+ xScale?: undefined;
3
+ yScale?: undefined;
4
+ colorScale?: undefined;
5
+ } | {
6
+ xScale: Object;
7
+ yScale: any;
8
+ colorScale: Object | null;
9
+ };
10
+ /**
11
+ * Calculates the actual chart dimensions after applying margins
12
+ *
13
+ * @param {number} width
14
+ * @param {number} height
15
+ * @param {Object} margin
16
+ * @returns {Object} Dimensions with calculated inner width and height
17
+ */
18
+ export function calculateChartDimensions(width: number, height: number, margin: Object): Object;
19
+ /**
20
+ * Gets the axis origin value
21
+ *
22
+ * @param {Object} scale D3 scale
23
+ * @returns {number} Origin value
24
+ */
25
+ export function getOriginValue(scale: Object): number;
26
+ /**
27
+ * Creates axis ticks
28
+ *
29
+ * @param {Object} scale D3 scale
30
+ * @param {string} axis Axis type ('x' or 'y')
31
+ * @param {number} count Number of ticks
32
+ * @param {number} fontSize Font size for determining tick density
33
+ * @returns {Array} Array of tick objects
34
+ */
35
+ export function createTicks(scale: Object, axis: string, count?: number, fontSize?: number): any[];
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Creates appropriate scales based on data and dimensions
3
+ *
4
+ * @param {Array} data The dataset
5
+ * @param {Object} dimensions Chart dimensions
6
+ * @param {Object} [options] Additional options
7
+ * @param {string} options.xKey Field to use for x-axis
8
+ * @param {string} options.yKey Field to use for y-axis
9
+ * @param {string} [options.colorKey] Field to use for color mapping
10
+ * @returns {Object} Object containing xScale, yScale, and colorScale
11
+ */
12
+ export function createScales(data: any[], dimensions: Object, options?: {
13
+ xKey: string;
14
+ yKey: string;
15
+ colorKey?: string | undefined;
16
+ }): Object;
17
+ /**
18
+ * Calculates the actual chart dimensions after applying margins
19
+ *
20
+ * @param {Object} dimensions Original dimensions
21
+ * @returns {Object} Dimensions with calculated inner width and height
22
+ */
23
+ export function calculateChartDimensions(dimensions: Object): Object;
24
+ /**
25
+ * Normalizes data for use with D3 charts
26
+ *
27
+ * @param {Array|Object} inputData Raw data or dataset object
28
+ * @returns {Array} Normalized data array
29
+ */
30
+ export function normalizeData(inputData: any[] | Object): any[];
31
+ /**
32
+ * Generates a unique ID for SVG elements
33
+ *
34
+ * @param {string} prefix Prefix for the ID
35
+ * @returns {string} A unique ID
36
+ */
37
+ export function uniqueId(prefix?: string): string;
38
+ /**
39
+ * Formats tooltip content for a data point
40
+ *
41
+ * @param {Object} d Data point
42
+ * @param {Object} options Tooltip format options
43
+ * @returns {string} Formatted tooltip HTML content
44
+ */
45
+ export function formatTooltipContent(d: Object, options?: Object): string;
46
+ /**
47
+ * Generates a tooltip formatter function
48
+ *
49
+ * @param {Object} options Tooltip format options
50
+ * @returns {Function} A function that formats tooltip content
51
+ */
52
+ export function createTooltipFormatter(options?: Object): Function;
53
+ /**
54
+ * Calculates the transform attribute for SVG elements
55
+ *
56
+ * @param {number} x X position
57
+ * @param {number} y Y position
58
+ * @returns {string} Transform attribute value
59
+ */
60
+ export function transform(x: number, y: number): string;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Get fill patterns for a set of values
3
+ *
4
+ * @param {Array} values - Array of values
5
+ * @param {Object} swatch - Object with keys for color, gray, and pattern
6
+ * @param {Boolean} gray - Boolean to determine if gray or color
7
+ * @returns {Object} - Object with keys for pattern and color
8
+ */
9
+ export function getFillPatterns(values: any[], swatch: Object, gray?: boolean): Object;
@@ -0,0 +1,40 @@
1
+ export function chart(data: any, aes: any): Chart;
2
+ declare class Chart {
3
+ constructor(data: any, opts: any);
4
+ width: number;
5
+ height: number;
6
+ flipCoords: any;
7
+ x: any;
8
+ y: any;
9
+ value: any;
10
+ valueLabel: any;
11
+ valueFormat: any;
12
+ fill: any;
13
+ color: any;
14
+ shape: any;
15
+ padding(value: any): this;
16
+ spacing: number;
17
+ margin(value: any): this;
18
+ domain: {
19
+ x: any[];
20
+ y: any[];
21
+ };
22
+ stat: any;
23
+ data: any;
24
+ refresh(): this;
25
+ range: {
26
+ x: any[];
27
+ y: any[];
28
+ } | undefined;
29
+ origin: {
30
+ x: any;
31
+ y: any;
32
+ } | undefined;
33
+ scale: {
34
+ x: any;
35
+ y: any;
36
+ } | undefined;
37
+ aggregate(value: any, stat: any): void;
38
+ ticks(axis: any, count: any, fontSize?: number): any;
39
+ }
40
+ export {};
@@ -0,0 +1,72 @@
1
+ /**
2
+ * @typedef GridPoint
3
+ * @property {number} x - x-coordinate of the point
4
+ * @property {number} y - y-coordinate of the point
5
+ * @property {number} r - radius of the point
6
+ */
7
+ /**
8
+ * @typedef SwatchGrid
9
+ * @property {number} width - width of the grid
10
+ * @property {number} height - height of the grid
11
+ * @property {GridPoint[]} data - data points of the grid
12
+ */
13
+ /**
14
+ * @tyoedef {Object} GridOptions
15
+ * @property {number} [pad=0] - The padding between the items
16
+ * @property {number} [columns=0] - The number of columns
17
+ * @property {number} [rows=0] - The number of rows
18
+ */
19
+ /**
20
+ * Calculates a grid of centres to fit a list of items of `size` within the number of `columns` and `rows`.
21
+ *
22
+ * - Attempts to find a best fit square if both columns and rows are not specified
23
+ * - Value in columns is prioritized over rows for recalculating the grid
24
+ * - Supports padding between the items
25
+ *
26
+ * @param {number} count - number of items
27
+ * @param {number} size - size of the items
28
+ * @param {GridOptions} options - options for the grid
29
+ * @returns {SwatchGrid}
30
+ */
31
+ export function swatchGrid(count: number, size: number, options: GridOptions): SwatchGrid;
32
+ /**
33
+ * Spreads values as patterns with colors from a palette
34
+ *
35
+ * @param {number[]} values - values to spread
36
+ * @param {string[]} patterns - patterns to spread
37
+ * @param {string[]} palette - colors to spread
38
+ * @returns {Record<number, { id: string, pattern: string, color: string }>}
39
+ */
40
+ export function spreadValuesAsPatterns(values: number[], patterns: string[], palette: string[]): Record<number, {
41
+ id: string;
42
+ pattern: string;
43
+ color: string;
44
+ }>;
45
+ export type GridPoint = {
46
+ /**
47
+ * - x-coordinate of the point
48
+ */
49
+ x: number;
50
+ /**
51
+ * - y-coordinate of the point
52
+ */
53
+ y: number;
54
+ /**
55
+ * - radius of the point
56
+ */
57
+ r: number;
58
+ };
59
+ export type SwatchGrid = {
60
+ /**
61
+ * - width of the grid
62
+ */
63
+ width: number;
64
+ /**
65
+ * - height of the grid
66
+ */
67
+ height: number;
68
+ /**
69
+ * - data points of the grid
70
+ */
71
+ data: GridPoint[];
72
+ };
@@ -0,0 +1,4 @@
1
+ export { swatch } from "./swatch";
2
+ export { swatchGrid } from "./grid";
3
+ export * from "./chart";
4
+ export * from "./brewer";
@@ -0,0 +1,3 @@
1
+ export function plotter(node: any, options: any): {
2
+ update: (input: any) => void;
3
+ };
@@ -0,0 +1,285 @@
1
+ export const swatch: import("svelte/store").Writable<{
2
+ palette: {
3
+ gold: {
4
+ "50": string;
5
+ "100": string;
6
+ "200": string;
7
+ "300": string;
8
+ "400": string;
9
+ "500": string;
10
+ "600": string;
11
+ "700": string;
12
+ "800": string;
13
+ "900": string;
14
+ "950": string;
15
+ };
16
+ lavender: {
17
+ "50": string;
18
+ "100": string;
19
+ "200": string;
20
+ "300": string;
21
+ "400": string;
22
+ "500": string;
23
+ "600": string;
24
+ "700": string;
25
+ "800": string;
26
+ "900": string;
27
+ "950": string;
28
+ };
29
+ teal: {
30
+ "50": string;
31
+ "100": string;
32
+ "200": string;
33
+ "300": string;
34
+ "400": string;
35
+ "500": string;
36
+ "600": string;
37
+ "700": string;
38
+ "800": string;
39
+ "900": string;
40
+ "950": string;
41
+ };
42
+ rose: {
43
+ "50": string;
44
+ "100": string;
45
+ "200": string;
46
+ "300": string;
47
+ "400": string;
48
+ "500": string;
49
+ "600": string;
50
+ "700": string;
51
+ "800": string;
52
+ "900": string;
53
+ "950": string;
54
+ };
55
+ sky: {
56
+ "50": string;
57
+ "100": string;
58
+ "200": string;
59
+ "300": string;
60
+ "400": string;
61
+ "500": string;
62
+ "600": string;
63
+ "700": string;
64
+ "800": string;
65
+ "900": string;
66
+ "950": string;
67
+ };
68
+ yellow: {
69
+ "50": string;
70
+ "100": string;
71
+ "200": string;
72
+ "300": string;
73
+ "400": string;
74
+ "500": string;
75
+ "600": string;
76
+ "700": string;
77
+ "800": string;
78
+ "900": string;
79
+ "950": string;
80
+ };
81
+ pink: {
82
+ "50": string;
83
+ "100": string;
84
+ "200": string;
85
+ "300": string;
86
+ "400": string;
87
+ "500": string;
88
+ "600": string;
89
+ "700": string;
90
+ "800": string;
91
+ "900": string;
92
+ "950": string;
93
+ };
94
+ lime: {
95
+ "50": string;
96
+ "100": string;
97
+ "200": string;
98
+ "300": string;
99
+ "400": string;
100
+ "500": string;
101
+ "600": string;
102
+ "700": string;
103
+ "800": string;
104
+ "900": string;
105
+ "950": string;
106
+ };
107
+ red: {
108
+ "50": string;
109
+ "100": string;
110
+ "200": string;
111
+ "300": string;
112
+ "400": string;
113
+ "500": string;
114
+ "600": string;
115
+ "700": string;
116
+ "800": string;
117
+ "900": string;
118
+ "950": string;
119
+ };
120
+ cyan: {
121
+ "50": string;
122
+ "100": string;
123
+ "200": string;
124
+ "300": string;
125
+ "400": string;
126
+ "500": string;
127
+ "600": string;
128
+ "700": string;
129
+ "800": string;
130
+ "900": string;
131
+ "950": string;
132
+ };
133
+ orange: {
134
+ "50": string;
135
+ "100": string;
136
+ "200": string;
137
+ "300": string;
138
+ "400": string;
139
+ "500": string;
140
+ "600": string;
141
+ "700": string;
142
+ "800": string;
143
+ "900": string;
144
+ "950": string;
145
+ };
146
+ violet: {
147
+ "50": string;
148
+ "100": string;
149
+ "200": string;
150
+ "300": string;
151
+ "400": string;
152
+ "500": string;
153
+ "600": string;
154
+ "700": string;
155
+ "800": string;
156
+ "900": string;
157
+ "950": string;
158
+ };
159
+ emerald: {
160
+ "50": string;
161
+ "100": string;
162
+ "200": string;
163
+ "300": string;
164
+ "400": string;
165
+ "500": string;
166
+ "600": string;
167
+ "700": string;
168
+ "800": string;
169
+ "900": string;
170
+ "950": string;
171
+ };
172
+ wood: {
173
+ "50": string;
174
+ "100": string;
175
+ "200": string;
176
+ "300": string;
177
+ "400": string;
178
+ "500": string;
179
+ "600": string;
180
+ "700": string;
181
+ "800": string;
182
+ "900": string;
183
+ "950": string;
184
+ };
185
+ blue: {
186
+ "50": string;
187
+ "100": string;
188
+ "200": string;
189
+ "300": string;
190
+ "400": string;
191
+ "500": string;
192
+ "600": string;
193
+ "700": string;
194
+ "800": string;
195
+ "900": string;
196
+ "950": string;
197
+ };
198
+ amber: {
199
+ "50": string;
200
+ "100": string;
201
+ "200": string;
202
+ "300": string;
203
+ "400": string;
204
+ "500": string;
205
+ "600": string;
206
+ "700": string;
207
+ "800": string;
208
+ "900": string;
209
+ "950": string;
210
+ };
211
+ purple: {
212
+ "50": string;
213
+ "100": string;
214
+ "200": string;
215
+ "300": string;
216
+ "400": string;
217
+ "500": string;
218
+ "600": string;
219
+ "700": string;
220
+ "800": string;
221
+ "900": string;
222
+ "950": string;
223
+ };
224
+ zinc: {
225
+ "50": string;
226
+ "100": string;
227
+ "200": string;
228
+ "300": string;
229
+ "400": string;
230
+ "500": string;
231
+ "600": string;
232
+ "700": string;
233
+ "800": string;
234
+ "900": string;
235
+ "950": string;
236
+ };
237
+ stone: {
238
+ "50": string;
239
+ "100": string;
240
+ "200": string;
241
+ "300": string;
242
+ "400": string;
243
+ "500": string;
244
+ "600": string;
245
+ "700": string;
246
+ "800": string;
247
+ "900": string;
248
+ "950": string;
249
+ };
250
+ indigo: {
251
+ "50": string;
252
+ "100": string;
253
+ "200": string;
254
+ "300": string;
255
+ "400": string;
256
+ "500": string;
257
+ "600": string;
258
+ "700": string;
259
+ "800": string;
260
+ "900": string;
261
+ "950": string;
262
+ };
263
+ gray: {
264
+ "50": string;
265
+ "100": string;
266
+ "200": string;
267
+ "300": string;
268
+ "400": string;
269
+ "500": string;
270
+ "600": string;
271
+ "700": string;
272
+ "800": string;
273
+ "900": string;
274
+ "950": string;
275
+ };
276
+ };
277
+ patterns: typeof patterns;
278
+ keys: {
279
+ gray: string[];
280
+ color: string[];
281
+ symbol: string[];
282
+ pattern: string[];
283
+ };
284
+ }>;
285
+ import * as patterns from '../patterns';