@xylabs/react-pixel-debugger 6.3.7 → 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.
@@ -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.7",
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/types/index.d.ts",
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/types/index.d.ts",
35
+ "types": "dist/browser/index.d.ts",
36
36
  "workspaces": [
37
37
  "packages/*"
38
38
  ],
39
39
  "dependencies": {
40
- "@xylabs/pixel": "^4.12.0",
41
- "@xylabs/react-button": "^6.3.7",
42
- "@xylabs/react-flexbox": "^6.3.7",
43
- "@xylabs/react-pixel": "^6.3.7",
44
- "@xylabs/react-portal": "^6.3.7",
45
- "@xylabs/react-shared": "^6.3.7"
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.1.1",
48
+ "@mui/material": "^7.2.0",
49
+ "@storybook/react-vite": "^9.0.16",
49
50
  "@types/react": "^19.1.8",
50
- "@xylabs/object": "^4.12.0",
51
- "@xylabs/ts-scripts-yarn3": "^6.5.8",
52
- "@xylabs/tsconfig-react": "^6.5.8",
53
- "knip": "^5.61.2",
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.12",
57
+ "storybook": "^9.0.16",
57
58
  "typescript": "^5.8.3"
58
59
  },
59
60
  "peerDependencies": {
@@ -1,5 +0,0 @@
1
- export interface PixelEvent {
2
- event: string;
3
- fields?: unknown;
4
- }
5
- //# sourceMappingURL=PixelEvent.d.ts.map
@@ -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,3 +0,0 @@
1
- import React from 'react';
2
- export declare const PixelDebugger: React.FC;
3
- //# sourceMappingURL=PixelDebugger.d.ts.map
@@ -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,4 +0,0 @@
1
- import type { WithChildren } from '@xylabs/react-shared';
2
- import React from 'react';
3
- export declare const PixelDebuggerProvider: React.FC<WithChildren>;
4
- //# sourceMappingURL=PixelDebuggerProvider.d.ts.map
@@ -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,4 +0,0 @@
1
- import type { BusyBoxProps } from '@xylabs/react-flexbox';
2
- import React from 'react';
3
- export declare const PixelDebuggerToggle: React.FC<BusyBoxProps>;
4
- //# sourceMappingURL=PixelDebuggerToggle.d.ts.map
@@ -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,4 +0,0 @@
1
- export * from './PixelDebugger.tsx';
2
- export * from './PixelDebuggerProvider.tsx';
3
- export * from './PixelDebuggerToggle.tsx';
4
- //# sourceMappingURL=index.d.ts.map
@@ -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,2 +0,0 @@
1
- export * from './usePixelAltSendHandler.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const usePixelAltSendHandler: (altHandler: (event: string, fields?: Record<string, unknown>) => void) => void;
2
- //# sourceMappingURL=usePixelAltSendHandler.d.ts.map
@@ -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"}
@@ -1,4 +0,0 @@
1
- export * from './components/index.ts';
2
- export * from './hooks/index.ts';
3
- export * from './PixelEvent.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -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"}