@revvue/embed-react 0.1.0-dev.6 → 0.1.0-dev.8
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/types/src/bindings/dialog/build-stable-deps.d.ts +1 -1
- package/dist/types/src/bindings/dialog/build-stable-deps.d.ts.map +1 -1
- package/dist/types/src/bindings/dialog/dialog.d.ts +2 -2
- package/dist/types/src/bindings/dialog/dialog.d.ts.map +1 -1
- package/dist/types/src/bindings/drawer/build-stable-deps.d.ts +1 -1
- package/dist/types/src/bindings/drawer/build-stable-deps.d.ts.map +1 -1
- package/dist/types/src/bindings/drawer/drawer.d.ts +2 -2
- package/dist/types/src/bindings/drawer/drawer.d.ts.map +1 -1
- package/dist/types/src/bindings/popover/build-stable-deps.d.ts +1 -1
- package/dist/types/src/bindings/popover/build-stable-deps.d.ts.map +1 -1
- package/dist/types/src/bindings/popover/popover.d.ts +2 -2
- package/dist/types/src/bindings/popover/popover.d.ts.map +1 -1
- package/dist/types/src/bindings/widget/build-stable-deps.d.ts +1 -1
- package/dist/types/src/bindings/widget/build-stable-deps.d.ts.map +1 -1
- package/dist/types/src/bindings/widget/widget.d.ts +2 -2
- package/dist/types/src/bindings/widget/widget.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/dialog/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/dialog/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,6CAWjD"}
|
|
@@ -10,7 +10,7 @@ type StrippedButtonKeys = "trigger" | "label" | "icon" | "color" | "textColor" |
|
|
|
10
10
|
* `autoOpen` and `autoOpenDelay` are kept because they control panel behaviour.
|
|
11
11
|
*/
|
|
12
12
|
export type DialogProps = DistributiveOmit<CreateDialogProps, StrippedButtonKeys>;
|
|
13
|
-
export declare const useDialog: (props:
|
|
14
|
-
export declare const Dialog: import('react').ComponentType<
|
|
13
|
+
export declare const useDialog: (props: DialogProps) => import('../..').UseFloatingResult;
|
|
14
|
+
export declare const Dialog: import('react').ComponentType<DialogProps & import('../..').FloatingComponentProps>;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/dialog/dialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5D,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;AAErF,KAAK,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5F;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AAOlF,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/dialog/dialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5D,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;AAErF,KAAK,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5F;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AAOlF,eAAO,MAAM,SAAS,2DAAoB,CAAC;AAC3C,eAAO,MAAM,MAAM,qFAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/drawer/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/drawer/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,6CAWjD"}
|
|
@@ -20,7 +20,7 @@ export type DrawerProps = DistributiveOmit<CreateDrawerProps, StrippedButtonKeys
|
|
|
20
20
|
* return <button {...drawer.getTriggerProps()}>Chat</button>;
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
export declare const useDrawer: (props:
|
|
23
|
+
export declare const useDrawer: (props: DrawerProps) => import('../..').UseFloatingResult;
|
|
24
24
|
/**
|
|
25
25
|
* Component form. Renders a `<button>` trigger that opens the drawer.
|
|
26
26
|
* Use `asChild` to delegate to your own button component (Radix-style).
|
|
@@ -30,6 +30,6 @@ export declare const useDrawer: (props: any) => import('../..').UseFloatingResul
|
|
|
30
30
|
* <Drawer tenantId={tenantId} app="chat" type="drawer">Chat</Drawer>
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
export declare const Drawer: import('react').ComponentType<
|
|
33
|
+
export declare const Drawer: import('react').ComponentType<DrawerProps & import('../..').FloatingComponentProps>;
|
|
34
34
|
export {};
|
|
35
35
|
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/drawer/drawer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5D,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;AAErF,KAAK,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5F;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AAOlF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/drawer/drawer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5D,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;AAErF,KAAK,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5F;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AAOlF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,2DAAoB,CAAC;AAE3C;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,qFAAiB,CAAC"}
|
|
@@ -6,5 +6,5 @@ import { PopoverProps } from './popover';
|
|
|
6
6
|
* renders its own trigger element. autoOpen/autoOpenDelay still affect the
|
|
7
7
|
* panel and are tracked.
|
|
8
8
|
*/
|
|
9
|
-
export declare function buildStableDeps(props: PopoverProps):
|
|
9
|
+
export declare function buildStableDeps(props: PopoverProps): (string | number | boolean | undefined)[];
|
|
10
10
|
//# sourceMappingURL=build-stable-deps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/popover/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/popover/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,6CAWlD"}
|
|
@@ -27,7 +27,7 @@ export type PopoverProps = DistributiveOmit<CreatePopoverProps, StrippedButtonKe
|
|
|
27
27
|
* return <button {...popover.getTriggerProps()}>Chat</button>;
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
export declare const usePopover: (props:
|
|
30
|
+
export declare const usePopover: (props: PopoverProps) => import('../..').UseFloatingResult;
|
|
31
31
|
/**
|
|
32
32
|
* Component form. Renders a `<button>` trigger that toggles the popover.
|
|
33
33
|
* Use `asChild` to delegate to your own button (Radix-style).
|
|
@@ -37,6 +37,6 @@ export declare const usePopover: (props: any) => import('../..').UseFloatingResu
|
|
|
37
37
|
* <Popover tenantId={tenantId} app="chat" type="popover">Chat</Popover>
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
export declare const Popover: import('react').ComponentType<
|
|
40
|
+
export declare const Popover: import('react').ComponentType<PopoverProps & import('../..').FloatingComponentProps>;
|
|
41
41
|
export {};
|
|
42
42
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/popover/popover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;AAErF,KAAK,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5F;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;AAOpF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/popover/popover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;AAErF,KAAK,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5F;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;AAOpF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,4DAAoB,CAAC;AAE5C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,sFAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/widget/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"build-stable-deps.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/widget/build-stable-deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,mCAEjD"}
|
|
@@ -10,7 +10,7 @@ export type WidgetProps = Parameters<typeof createWidget>[0];
|
|
|
10
10
|
* return <div ref={widget.containerRef} className="my-host" />;
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
|
-
export declare const useWidget: (props:
|
|
13
|
+
export declare const useWidget: (props: import('@revvue/embed').Public<import('@revvue/embed').EmbedOptions>) => import('../..').UseWidgetResult;
|
|
14
14
|
/**
|
|
15
15
|
* Component form. Renders the host `<div>` for you and accepts `className`
|
|
16
16
|
* and `style` for layout.
|
|
@@ -20,5 +20,5 @@ export declare const useWidget: (props: any) => import('../..').UseWidgetResult;
|
|
|
20
20
|
* <Widget tenantId={tenantId} app="chat" type="widget" className="h-full w-full" />
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
export declare const Widget: import('react').ComponentType<
|
|
23
|
+
export declare const Widget: import('react').ComponentType<import('@revvue/embed').Public<import('@revvue/embed').EmbedOptions> & import('../..').WidgetComponentProps>;
|
|
24
24
|
//# sourceMappingURL=widget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/widget/widget.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAO7D;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../../../src/bindings/widget/widget.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAO7D;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,kHAAoB,CAAC;AAE3C;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,4IAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revvue/embed-react",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@revvue/embed": "0.1.0-dev.
|
|
38
|
+
"@revvue/embed": "0.1.0-dev.8"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@testing-library/jest-dom": "^6.6.3",
|