@dyrected/react 2.5.53 → 2.5.56
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/Blocks.d.ts +1 -1
- package/dist/components/Blocks.d.ts.map +1 -1
- package/dist/components/DyrectedAdmin.d.ts +1 -1
- package/dist/components/DyrectedAdmin.d.ts.map +1 -1
- package/dist/components/DyrectedIcon.d.ts +2 -1
- package/dist/components/DyrectedIcon.d.ts.map +1 -1
- package/dist/components/DyrectedImage.d.ts +1 -1
- package/dist/components/DyrectedImage.d.ts.map +1 -1
- package/dist/components/DyrectedMedia.d.ts +1 -1
- package/dist/components/DyrectedMedia.d.ts.map +1 -1
- package/dist/providers/DyPathProvider.d.ts +1 -1
- package/dist/providers/DyPathProvider.d.ts.map +1 -1
- package/dist/providers/DyrectedProvider.d.ts +1 -1
- package/dist/providers/DyrectedProvider.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -27,5 +27,5 @@ export interface BlocksProps {
|
|
|
27
27
|
* @example
|
|
28
28
|
* <Blocks items={data.body} components={{ hero: HeroBlock, cta: CtaBlock }} />
|
|
29
29
|
*/
|
|
30
|
-
export declare function Blocks({ items, components, path }: BlocksProps): import("react
|
|
30
|
+
export declare function Blocks({ items, components, path }: BlocksProps): import("react").JSX.Element;
|
|
31
31
|
//# sourceMappingURL=Blocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../src/components/Blocks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,MAAM,WAAW,UAAU;IACzB,iEAAiE;IACjE,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,uDAAuD;IACvD,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C,6EAA6E;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAa,EAAE,EAAE,WAAW
|
|
1
|
+
{"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../src/components/Blocks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,MAAM,WAAW,UAAU;IACzB,iEAAiE;IACjE,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,uDAAuD;IACvD,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C,6EAA6E;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAa,EAAE,EAAE,WAAW,+BAcvE"}
|
|
@@ -2,5 +2,5 @@ import { type AdminUIProps } from '@dyrected/admin';
|
|
|
2
2
|
import '@dyrected/admin/styles';
|
|
3
3
|
export type DyrectedAdminProps = AdminUIProps;
|
|
4
4
|
export type { AdminComponents, AdminSchemas, CollectionListSlotProps, DashboardSlotProps, } from "@dyrected/admin";
|
|
5
|
-
export declare function DyrectedAdmin(props: DyrectedAdminProps): import("react
|
|
5
|
+
export declare function DyrectedAdmin(props: DyrectedAdminProps): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=DyrectedAdmin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DyrectedAdmin.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedAdmin.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,wBAAwB,CAAC;AAIhC,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAE9C,YAAY,EACV,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AAEzB,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"DyrectedAdmin.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedAdmin.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,wBAAwB,CAAC;AAIhC,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAE9C,YAAY,EACV,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AAEzB,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAEtD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type LucideProps } from 'lucide-react';
|
|
2
3
|
import type { AdminIconName } from '@dyrected/core';
|
|
3
4
|
export interface DyrectedIconProps extends Omit<LucideProps, 'name'> {
|
|
@@ -25,5 +26,5 @@ export interface DyrectedIconProps extends Omit<LucideProps, 'name'> {
|
|
|
25
26
|
* Standard Lucide props (`size`, `color`, `strokeWidth`, `className`, …) are
|
|
26
27
|
* forwarded to the underlying icon.
|
|
27
28
|
*/
|
|
28
|
-
export declare function DyrectedIcon({ name, fallback, ...props }: DyrectedIconProps):
|
|
29
|
+
export declare function DyrectedIcon({ name, fallback, ...props }: DyrectedIconProps): React.JSX.Element | null;
|
|
29
30
|
//# sourceMappingURL=DyrectedIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DyrectedIcon.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DyrectedIcon.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;IAClE;;;OAGG;IACH,IAAI,EAAE,aAAa,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAID;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,4BAQ3E"}
|
|
@@ -5,5 +5,5 @@ export interface DyrectedImageProps extends React.ImgHTMLAttributes<HTMLImageEle
|
|
|
5
5
|
width?: number;
|
|
6
6
|
height?: number;
|
|
7
7
|
}
|
|
8
|
-
export declare function DyrectedImage({ media, width, height, alt, ...props }: DyrectedImageProps):
|
|
8
|
+
export declare function DyrectedImage({ media, width, height, alt, ...props }: DyrectedImageProps): React.JSX.Element;
|
|
9
9
|
//# sourceMappingURL=DyrectedImage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DyrectedImage.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IACnF,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"DyrectedImage.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IACnF,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,qBAsBxF"}
|
|
@@ -7,5 +7,5 @@ export interface DyrectedMediaProps extends Omit<React.ImgHTMLAttributes<HTMLIma
|
|
|
7
7
|
height?: number;
|
|
8
8
|
fallback?: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
export declare function DyrectedMedia({ media, alt, width, height, fallback, ...props }: DyrectedMediaProps):
|
|
10
|
+
export declare function DyrectedMedia({ media, alt, width, height, fallback, ...props }: DyrectedMediaProps): React.JSX.Element;
|
|
11
11
|
//# sourceMappingURL=DyrectedMedia.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DyrectedMedia.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedMedia.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACxG,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAOD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,KAAW,EAAE,MAAY,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"DyrectedMedia.d.ts","sourceRoot":"","sources":["../../src/components/DyrectedMedia.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACxG,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAOD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,KAAW,EAAE,MAAY,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,qBA+C9G"}
|
|
@@ -10,5 +10,5 @@ import type { ReactNode } from 'react';
|
|
|
10
10
|
export declare function DyPathProvider({ path, children }: {
|
|
11
11
|
path: string;
|
|
12
12
|
children: ReactNode;
|
|
13
|
-
}): import("react
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
14
|
//# sourceMappingURL=DyPathProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DyPathProvider.d.ts","sourceRoot":"","sources":["../../src/providers/DyPathProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"DyPathProvider.d.ts","sourceRoot":"","sources":["../../src/providers/DyPathProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAEvF"}
|
|
@@ -10,6 +10,6 @@ export interface DyrectedProviderProps {
|
|
|
10
10
|
/**
|
|
11
11
|
* DyrectedProvider — Provides a Dyrected SDK instance to the React tree.
|
|
12
12
|
*/
|
|
13
|
-
export declare function DyrectedProvider({ client, children }: DyrectedProviderProps):
|
|
13
|
+
export declare function DyrectedProvider({ client, children }: DyrectedProviderProps): React.JSX.Element;
|
|
14
14
|
export declare function useDyrectedContext(): DyrectedContextValue;
|
|
15
15
|
//# sourceMappingURL=DyrectedProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DyrectedProvider.d.ts","sourceRoot":"","sources":["../../src/providers/DyrectedProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,cAAc,CAAC;CACxB;AAID,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"DyrectedProvider.d.ts","sourceRoot":"","sources":["../../src/providers/DyrectedProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,cAAc,CAAC;CACxB;AAID,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,qBAQ3E;AAED,wBAAgB,kBAAkB,yBAMjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dyrected/react",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.56",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"lucide-react": "^1.14.0",
|
|
26
|
-
"@dyrected/admin": "2.5.
|
|
27
|
-
"@dyrected/
|
|
28
|
-
"@dyrected/
|
|
26
|
+
"@dyrected/admin": "2.5.56",
|
|
27
|
+
"@dyrected/core": "2.5.56",
|
|
28
|
+
"@dyrected/sdk": "2.5.56"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^20.12.12",
|