@xylabs/react-pixel-debugger 6.3.6 → 6.3.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/browser/index.d.ts +19 -0
- package/package.json +16 -15
- package/dist/types/PixelEvent.d.ts +0 -5
- package/dist/types/PixelEvent.d.ts.map +0 -1
- package/dist/types/components/PixelDebugger.d.ts +0 -3
- package/dist/types/components/PixelDebugger.d.ts.map +0 -1
- package/dist/types/components/PixelDebuggerProvider.d.ts +0 -4
- package/dist/types/components/PixelDebuggerProvider.d.ts.map +0 -1
- package/dist/types/components/PixelDebuggerToggle.d.ts +0 -4
- package/dist/types/components/PixelDebuggerToggle.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -4
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/hooks/index.d.ts +0 -2
- package/dist/types/hooks/index.d.ts.map +0 -1
- package/dist/types/hooks/usePixelAltSendHandler.d.ts +0 -2
- package/dist/types/hooks/usePixelAltSendHandler.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.d.ts.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
+
import { BusyBoxProps } from '@xylabs/react-flexbox';
|
|
4
|
+
|
|
5
|
+
declare const PixelDebugger: React.FC;
|
|
6
|
+
|
|
7
|
+
declare const PixelDebuggerProvider: React.FC<WithChildren>;
|
|
8
|
+
|
|
9
|
+
declare const PixelDebuggerToggle: React.FC<BusyBoxProps>;
|
|
10
|
+
|
|
11
|
+
declare const usePixelAltSendHandler: (altHandler: (event: string, fields?: Record<string, unknown>) => void) => void;
|
|
12
|
+
|
|
13
|
+
interface PixelEvent {
|
|
14
|
+
event: string;
|
|
15
|
+
fields?: unknown;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { PixelDebugger, PixelDebuggerProvider, PixelDebuggerToggle, usePixelAltSendHandler };
|
|
19
|
+
export type { PixelEvent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/react-pixel-debugger",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.8",
|
|
4
4
|
"description": "Common React library for all XY Labs projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"utility",
|
|
@@ -26,34 +26,35 @@
|
|
|
26
26
|
"type": "module",
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
-
"types": "./dist/
|
|
29
|
+
"types": "./dist/browser/index.d.ts",
|
|
30
30
|
"default": "./dist/browser/index.mjs"
|
|
31
31
|
},
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"module": "./dist/browser/index.mjs",
|
|
35
|
-
"types": "dist/
|
|
35
|
+
"types": "dist/browser/index.d.ts",
|
|
36
36
|
"workspaces": [
|
|
37
37
|
"packages/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@xylabs/pixel": "^4.
|
|
41
|
-
"@xylabs/react-button": "^6.3.
|
|
42
|
-
"@xylabs/react-flexbox": "^6.3.
|
|
43
|
-
"@xylabs/react-pixel": "^6.3.
|
|
44
|
-
"@xylabs/react-portal": "^6.3.
|
|
45
|
-
"@xylabs/react-shared": "^6.3.
|
|
40
|
+
"@xylabs/pixel": "^4.13.4",
|
|
41
|
+
"@xylabs/react-button": "^6.3.8",
|
|
42
|
+
"@xylabs/react-flexbox": "^6.3.8",
|
|
43
|
+
"@xylabs/react-pixel": "^6.3.8",
|
|
44
|
+
"@xylabs/react-portal": "^6.3.8",
|
|
45
|
+
"@xylabs/react-shared": "^6.3.8"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@mui/material": "^7.
|
|
48
|
+
"@mui/material": "^7.2.0",
|
|
49
|
+
"@storybook/react-vite": "^9.0.16",
|
|
49
50
|
"@types/react": "^19.1.8",
|
|
50
|
-
"@xylabs/object": "^4.
|
|
51
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
52
|
-
"@xylabs/tsconfig-react": "^
|
|
53
|
-
"knip": "^5.61.
|
|
51
|
+
"@xylabs/object": "^4.13.4",
|
|
52
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.8",
|
|
53
|
+
"@xylabs/tsconfig-react": "^7.0.0-rc.8",
|
|
54
|
+
"knip": "^5.61.3",
|
|
54
55
|
"react": "^19.1.0",
|
|
55
56
|
"react-dom": "^19.1.0",
|
|
56
|
-
"storybook": "^9.0.
|
|
57
|
+
"storybook": "^9.0.16",
|
|
57
58
|
"typescript": "^5.8.3"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PixelEvent.d.ts","sourceRoot":"","sources":["../../src/PixelEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PixelDebugger.d.ts","sourceRoot":"","sources":["../../../src/components/PixelDebugger.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAK5C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EA+DjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PixelDebuggerProvider.d.ts","sourceRoot":"","sources":["../../../src/components/PixelDebuggerProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,KAAkB,MAAM,OAAO,CAAA;AAEtC,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAIxD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PixelDebuggerToggle.d.ts","sourceRoot":"","sources":["../../../src/components/PixelDebuggerToggle.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGzD,OAAO,KAAc,MAAM,OAAO,CAAA;AAElC,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAWtD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePixelAltSendHandler.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePixelAltSendHandler.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,GAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,SAoB3G,CAAA"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA"}
|