@xyo-network/react-pixel 4.4.9 → 4.4.11

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,3 @@
1
+ import type { PixelContextState } from './State.ts';
2
+ export declare const PixelContext: import("react").Context<PixelContextState & import("@xyo-network/react-shared").ContextExState>;
3
+ //# sourceMappingURL=Context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Pixel/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEnD,eAAO,MAAM,YAAY,iGAAuC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
3
+ export interface PixelProviderProps {
4
+ id: string;
5
+ }
6
+ export declare const PixelProvider: React.FC<PropsWithChildren<PixelProviderProps>>;
7
+ //# sourceMappingURL=Provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Pixel/Provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAkB,MAAM,OAAO,CAAA;AAItC,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;CACX;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAgBzE,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { XyPixel } from '@xylabs/pixel';
2
+ import type { ContextExState } from '@xyo-network/react-shared';
3
+ export interface PixelContextState extends ContextExState {
4
+ pixel?: XyPixel;
5
+ }
6
+ //# sourceMappingURL=State.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Pixel/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB"}
@@ -0,0 +1,5 @@
1
+ export * from './Context.ts';
2
+ export * from './Provider.tsx';
3
+ export * from './State.ts';
4
+ export * from './use.ts';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Pixel/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const usePixel: (required?: boolean) => import("@xylabs/pixel").XyPixel | undefined;
2
+ //# sourceMappingURL=use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Pixel/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,GAAI,kBAAe,gDAGvC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Pixel/index.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
@@ -1,21 +1,2 @@
1
- import * as react from 'react';
2
- import react__default, { PropsWithChildren } from 'react';
3
- import * as _xyo_network_react_shared from '@xyo-network/react-shared';
4
- import { ContextExState } from '@xyo-network/react-shared';
5
- import * as _xylabs_pixel from '@xylabs/pixel';
6
- import { XyPixel } from '@xylabs/pixel';
7
-
8
- interface PixelContextState extends ContextExState {
9
- pixel?: XyPixel;
10
- }
11
-
12
- declare const PixelContext: react.Context<PixelContextState & _xyo_network_react_shared.ContextExState>;
13
-
14
- interface PixelProviderProps {
15
- id: string;
16
- }
17
- declare const PixelProvider: react__default.FC<PropsWithChildren<PixelProviderProps>>;
18
-
19
- declare const usePixel: (required?: boolean) => _xylabs_pixel.XyPixel | undefined;
20
-
21
- export { PixelContext, type PixelContextState, PixelProvider, type PixelProviderProps, usePixel };
1
+ export * from './contexts/index.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-pixel",
3
- "version": "4.4.9",
3
+ "version": "4.4.11",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -44,17 +44,17 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@xylabs/pixel": "^2.0.6",
47
- "@xyo-network/react-shared": "^4.4.9"
47
+ "@xyo-network/react-shared": "^4.4.11"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@mui/icons-material": "^6.4.6",
51
51
  "@mui/material": "^6.4.6",
52
52
  "@mui/styles": "^6.4.6",
53
- "@xylabs/ts-scripts-yarn3": "^5.0.25",
54
- "@xylabs/tsconfig-react": "^5.0.25",
53
+ "@xylabs/ts-scripts-yarn3": "^5.0.39",
54
+ "@xylabs/tsconfig-react": "^5.0.39",
55
55
  "react": "^18.3.1",
56
56
  "react-dom": "^18.3.1",
57
- "typescript": "^5.7.3"
57
+ "typescript": "^5.8.2"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@mui/icons-material": "^6",