@texturehq/edges 1.30.0 → 1.30.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/dist/{colors-BgVu6fze.d.cts → colors-CLaHvP41.d.cts} +8 -4
- package/dist/{colors-soT9-oWB.d.ts → colors-DHfY2j71.d.ts} +8 -4
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/server.d.cts +2 -1
- package/dist/server.d.ts +2 -1
- package/dist/styles.css +5 -0
- package/package.json +3 -4
- package/dist/components.manifest.json +0 -3171
- package/dist/utilities.manifest.json +0 -1229
- package/scripts/generate-edges-docs.js +0 -1103
- package/scripts/setup-cursor-rules-manual.js +0 -162
- package/scripts/setup-cursor-rules.js +0 -258
- package/scripts/setup-cursor-rules.sh +0 -95
- package/templates/cursor-rules/edges-usage.mdc +0 -65
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
1
|
+
import * as _visx_vendor_d3_scale from '@visx/vendor/d3-scale';
|
|
3
2
|
import * as React$1 from 'react';
|
|
4
3
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
4
|
+
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { d as IconName } from './RichTextEditor-CxrunTg7.cjs';
|
|
7
7
|
import * as react_map_gl from 'react-map-gl';
|
|
@@ -270,8 +270,8 @@ interface YFormatSettings {
|
|
|
270
270
|
* Uses the main formatting system for consistency across all components
|
|
271
271
|
*/
|
|
272
272
|
declare function getYFormatSettings(formatter?: YFormatType): YFormatSettings;
|
|
273
|
-
declare const createXScale: (data: BaseDataPoint[], width: number) =>
|
|
274
|
-
declare const createYScale: (data: BaseDataPoint[], height: number, formatType: YFormatType) =>
|
|
273
|
+
declare const createXScale: (data: BaseDataPoint[], width: number) => _visx_vendor_d3_scale.ScaleTime<number, number, never>;
|
|
274
|
+
declare const createYScale: (data: BaseDataPoint[], height: number, formatType: YFormatType) => _visx_vendor_d3_scale.ScaleLinear<number, number, never>;
|
|
275
275
|
|
|
276
276
|
interface ActionItem {
|
|
277
277
|
/**
|
|
@@ -1153,6 +1153,10 @@ interface LayersControl extends BaseControl {
|
|
|
1153
1153
|
* Callback when a layer's visibility is toggled
|
|
1154
1154
|
*/
|
|
1155
1155
|
onLayerToggle?: (layerId: string) => void;
|
|
1156
|
+
/**
|
|
1157
|
+
* Callback to clear all layer selections (hide all layers)
|
|
1158
|
+
*/
|
|
1159
|
+
onClearAll?: () => void;
|
|
1156
1160
|
}
|
|
1157
1161
|
/**
|
|
1158
1162
|
* Search control configuration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
1
|
+
import * as _visx_vendor_d3_scale from '@visx/vendor/d3-scale';
|
|
3
2
|
import * as React$1 from 'react';
|
|
4
3
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
4
|
+
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { d as IconName } from './RichTextEditor-CxrunTg7.js';
|
|
7
7
|
import * as react_map_gl from 'react-map-gl';
|
|
@@ -270,8 +270,8 @@ interface YFormatSettings {
|
|
|
270
270
|
* Uses the main formatting system for consistency across all components
|
|
271
271
|
*/
|
|
272
272
|
declare function getYFormatSettings(formatter?: YFormatType): YFormatSettings;
|
|
273
|
-
declare const createXScale: (data: BaseDataPoint[], width: number) =>
|
|
274
|
-
declare const createYScale: (data: BaseDataPoint[], height: number, formatType: YFormatType) =>
|
|
273
|
+
declare const createXScale: (data: BaseDataPoint[], width: number) => _visx_vendor_d3_scale.ScaleTime<number, number, never>;
|
|
274
|
+
declare const createYScale: (data: BaseDataPoint[], height: number, formatType: YFormatType) => _visx_vendor_d3_scale.ScaleLinear<number, number, never>;
|
|
275
275
|
|
|
276
276
|
interface ActionItem {
|
|
277
277
|
/**
|
|
@@ -1153,6 +1153,10 @@ interface LayersControl extends BaseControl {
|
|
|
1153
1153
|
* Callback when a layer's visibility is toggled
|
|
1154
1154
|
*/
|
|
1155
1155
|
onLayerToggle?: (layerId: string) => void;
|
|
1156
|
+
/**
|
|
1157
|
+
* Callback to clear all layer selections (hide all layers)
|
|
1158
|
+
*/
|
|
1159
|
+
onClearAll?: () => void;
|
|
1156
1160
|
}
|
|
1157
1161
|
/**
|
|
1158
1162
|
* Search control configuration
|