@urun-sh/react 0.2.5 → 0.2.6
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.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -277,12 +277,12 @@ declare const ImageFrameSchema: z.ZodObject<{
|
|
|
277
277
|
caption: z.ZodOptional<z.ZodString>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
279
|
src: string;
|
|
280
|
-
caption?: string | undefined;
|
|
281
280
|
alt?: string | undefined;
|
|
281
|
+
caption?: string | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
src: string;
|
|
284
|
-
caption?: string | undefined;
|
|
285
284
|
alt?: string | undefined;
|
|
285
|
+
caption?: string | undefined;
|
|
286
286
|
}>;
|
|
287
287
|
type ImageFrameProps = z.infer<typeof ImageFrameSchema>;
|
|
288
288
|
declare function useImageFrame(props: ImageFrameProps): {
|
|
@@ -298,24 +298,24 @@ declare const MetricsPanelSchema: z.ZodObject<{
|
|
|
298
298
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
299
299
|
unit: z.ZodOptional<z.ZodString>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
label: string;
|
|
302
301
|
value: string | number;
|
|
302
|
+
label: string;
|
|
303
303
|
unit?: string | undefined;
|
|
304
304
|
}, {
|
|
305
|
-
label: string;
|
|
306
305
|
value: string | number;
|
|
306
|
+
label: string;
|
|
307
307
|
unit?: string | undefined;
|
|
308
308
|
}>, "many">;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
310
|
metrics: {
|
|
311
|
-
label: string;
|
|
312
311
|
value: string | number;
|
|
312
|
+
label: string;
|
|
313
313
|
unit?: string | undefined;
|
|
314
314
|
}[];
|
|
315
315
|
}, {
|
|
316
316
|
metrics: {
|
|
317
|
-
label: string;
|
|
318
317
|
value: string | number;
|
|
318
|
+
label: string;
|
|
319
319
|
unit?: string | undefined;
|
|
320
320
|
}[];
|
|
321
321
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -277,12 +277,12 @@ declare const ImageFrameSchema: z.ZodObject<{
|
|
|
277
277
|
caption: z.ZodOptional<z.ZodString>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
279
|
src: string;
|
|
280
|
-
caption?: string | undefined;
|
|
281
280
|
alt?: string | undefined;
|
|
281
|
+
caption?: string | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
src: string;
|
|
284
|
-
caption?: string | undefined;
|
|
285
284
|
alt?: string | undefined;
|
|
285
|
+
caption?: string | undefined;
|
|
286
286
|
}>;
|
|
287
287
|
type ImageFrameProps = z.infer<typeof ImageFrameSchema>;
|
|
288
288
|
declare function useImageFrame(props: ImageFrameProps): {
|
|
@@ -298,24 +298,24 @@ declare const MetricsPanelSchema: z.ZodObject<{
|
|
|
298
298
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
299
299
|
unit: z.ZodOptional<z.ZodString>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
label: string;
|
|
302
301
|
value: string | number;
|
|
302
|
+
label: string;
|
|
303
303
|
unit?: string | undefined;
|
|
304
304
|
}, {
|
|
305
|
-
label: string;
|
|
306
305
|
value: string | number;
|
|
306
|
+
label: string;
|
|
307
307
|
unit?: string | undefined;
|
|
308
308
|
}>, "many">;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
310
|
metrics: {
|
|
311
|
-
label: string;
|
|
312
311
|
value: string | number;
|
|
312
|
+
label: string;
|
|
313
313
|
unit?: string | undefined;
|
|
314
314
|
}[];
|
|
315
315
|
}, {
|
|
316
316
|
metrics: {
|
|
317
|
-
label: string;
|
|
318
317
|
value: string | number;
|
|
318
|
+
label: string;
|
|
319
319
|
unit?: string | undefined;
|
|
320
320
|
}[];
|
|
321
321
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@urun-sh/react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "React bindings for the urun TypeScript SDK",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dev": "tsup --watch"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@urun-sh/core": "^0.2.
|
|
51
|
+
"@urun-sh/core": "^0.2.6",
|
|
52
52
|
"@workos-inc/authkit-nextjs": "^3.0.0",
|
|
53
53
|
"@workos-inc/authkit-react": "^0.15.0 || ^0.16.0",
|
|
54
54
|
"next": "^15.0.0 || ^16.0.0",
|