@texturehq/edges 1.6.3 → 1.7.1
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/components.manifest.json +10 -2
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -24
- package/dist/index.d.ts +24 -24
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{server-DDYwupsj.d.cts → server-DAd0A202.d.cts} +19 -4
- package/dist/{server-DDYwupsj.d.ts → server-DAd0A202.d.ts} +19 -4
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js.map +1 -1
- package/dist/styles.css +32 -0
- package/dist/utilities.manifest.json +2 -2
- package/package.json +4 -4
|
@@ -402,10 +402,10 @@ declare namespace Card {
|
|
|
402
402
|
var Content: typeof CardContent;
|
|
403
403
|
var Footer: typeof CardFooter;
|
|
404
404
|
}
|
|
405
|
-
declare function CardHeader({ title, subtitle, actions, className, isLoading
|
|
406
|
-
declare function CardMedia({ src, alt, aspectRatio, className, children, isLoading
|
|
405
|
+
declare function CardHeader({ title, subtitle, actions, className, isLoading }: CardHeaderProps): react_jsx_runtime.JSX.Element | null;
|
|
406
|
+
declare function CardMedia({ src, alt, aspectRatio, className, children, isLoading }: CardMediaProps): react_jsx_runtime.JSX.Element | null;
|
|
407
407
|
declare function CardContent({ className, children, isLoading }: CardContentProps): react_jsx_runtime.JSX.Element | null;
|
|
408
|
-
declare function CardFooter({ className, children, align, isLoading
|
|
408
|
+
declare function CardFooter({ className, children, align, isLoading }: CardFooterProps): react_jsx_runtime.JSX.Element | null;
|
|
409
409
|
|
|
410
410
|
type CodeLanguage = "json" | "javascript" | "typescript" | "html" | "css" | "markdown" | "yaml" | "xml" | "python" | "sql";
|
|
411
411
|
type CodeTheme = "github" | "github_dark";
|
|
@@ -589,7 +589,7 @@ interface HeadingProps {
|
|
|
589
589
|
className?: string;
|
|
590
590
|
children?: React__default.ReactNode;
|
|
591
591
|
}
|
|
592
|
-
declare function Heading({ tag: Tag, size, height, className, children
|
|
592
|
+
declare function Heading({ tag: Tag, size, height, className, children }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
593
593
|
|
|
594
594
|
interface LoaderProps {
|
|
595
595
|
/**
|
|
@@ -1205,6 +1205,21 @@ interface InteractiveMapProps {
|
|
|
1205
1205
|
* controls={false}
|
|
1206
1206
|
*/
|
|
1207
1207
|
controls?: MapControl[] | "default" | false;
|
|
1208
|
+
/**
|
|
1209
|
+
* Show user location as a blue dot marker (like Google/Apple Maps)
|
|
1210
|
+
* This only controls the visibility of the blue dot marker.
|
|
1211
|
+
* Location tracking is automatically started when the user clicks the geolocate button.
|
|
1212
|
+
* @default true
|
|
1213
|
+
*/
|
|
1214
|
+
showUserLocation?: boolean;
|
|
1215
|
+
/**
|
|
1216
|
+
* Callback when user location changes
|
|
1217
|
+
*/
|
|
1218
|
+
onUserLocationChange?: (location: {
|
|
1219
|
+
latitude: number;
|
|
1220
|
+
longitude: number;
|
|
1221
|
+
accuracy?: number;
|
|
1222
|
+
} | null) => void;
|
|
1208
1223
|
}
|
|
1209
1224
|
declare const InteractiveMap: React__default.ForwardRefExoticComponent<InteractiveMapProps & React__default.RefAttributes<InteractiveMapHandle>>;
|
|
1210
1225
|
|
|
@@ -402,10 +402,10 @@ declare namespace Card {
|
|
|
402
402
|
var Content: typeof CardContent;
|
|
403
403
|
var Footer: typeof CardFooter;
|
|
404
404
|
}
|
|
405
|
-
declare function CardHeader({ title, subtitle, actions, className, isLoading
|
|
406
|
-
declare function CardMedia({ src, alt, aspectRatio, className, children, isLoading
|
|
405
|
+
declare function CardHeader({ title, subtitle, actions, className, isLoading }: CardHeaderProps): react_jsx_runtime.JSX.Element | null;
|
|
406
|
+
declare function CardMedia({ src, alt, aspectRatio, className, children, isLoading }: CardMediaProps): react_jsx_runtime.JSX.Element | null;
|
|
407
407
|
declare function CardContent({ className, children, isLoading }: CardContentProps): react_jsx_runtime.JSX.Element | null;
|
|
408
|
-
declare function CardFooter({ className, children, align, isLoading
|
|
408
|
+
declare function CardFooter({ className, children, align, isLoading }: CardFooterProps): react_jsx_runtime.JSX.Element | null;
|
|
409
409
|
|
|
410
410
|
type CodeLanguage = "json" | "javascript" | "typescript" | "html" | "css" | "markdown" | "yaml" | "xml" | "python" | "sql";
|
|
411
411
|
type CodeTheme = "github" | "github_dark";
|
|
@@ -589,7 +589,7 @@ interface HeadingProps {
|
|
|
589
589
|
className?: string;
|
|
590
590
|
children?: React__default.ReactNode;
|
|
591
591
|
}
|
|
592
|
-
declare function Heading({ tag: Tag, size, height, className, children
|
|
592
|
+
declare function Heading({ tag: Tag, size, height, className, children }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
593
593
|
|
|
594
594
|
interface LoaderProps {
|
|
595
595
|
/**
|
|
@@ -1205,6 +1205,21 @@ interface InteractiveMapProps {
|
|
|
1205
1205
|
* controls={false}
|
|
1206
1206
|
*/
|
|
1207
1207
|
controls?: MapControl[] | "default" | false;
|
|
1208
|
+
/**
|
|
1209
|
+
* Show user location as a blue dot marker (like Google/Apple Maps)
|
|
1210
|
+
* This only controls the visibility of the blue dot marker.
|
|
1211
|
+
* Location tracking is automatically started when the user clicks the geolocate button.
|
|
1212
|
+
* @default true
|
|
1213
|
+
*/
|
|
1214
|
+
showUserLocation?: boolean;
|
|
1215
|
+
/**
|
|
1216
|
+
* Callback when user location changes
|
|
1217
|
+
*/
|
|
1218
|
+
onUserLocationChange?: (location: {
|
|
1219
|
+
latitude: number;
|
|
1220
|
+
longitude: number;
|
|
1221
|
+
accuracy?: number;
|
|
1222
|
+
} | null) => void;
|
|
1208
1223
|
}
|
|
1209
1224
|
declare const InteractiveMap: React__default.ForwardRefExoticComponent<InteractiveMapProps & React__default.RefAttributes<InteractiveMapHandle>>;
|
|
1210
1225
|
|