@c15t/dev-tools 2.0.0-rc.1 → 2.0.0-rc.3
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/CHANGELOG.md +25 -0
- package/README.md +3 -3
- package/dist/__tests__/core/override-storage.test.d.ts +2 -0
- package/dist/__tests__/core/override-storage.test.d.ts.map +1 -0
- package/dist/__tests__/core/store-connector.test.d.ts +2 -0
- package/dist/__tests__/core/store-connector.test.d.ts.map +1 -0
- package/dist/__tests__/panels/events.test.d.ts +2 -0
- package/dist/__tests__/panels/events.test.d.ts.map +1 -0
- package/dist/__tests__/panels/iab.test.d.ts +2 -0
- package/dist/__tests__/panels/iab.test.d.ts.map +1 -0
- package/dist/__tests__/panels/scripts.test.d.ts +2 -0
- package/dist/__tests__/panels/scripts.test.d.ts.map +1 -0
- package/dist/__tests__/utils/preference-trigger.test.d.ts +2 -0
- package/dist/__tests__/utils/preference-trigger.test.d.ts.map +1 -0
- package/dist/components/panel.d.ts +1 -0
- package/dist/components/panel.d.ts.map +1 -1
- package/dist/core/devtools.d.ts.map +1 -1
- package/dist/core/override-storage.d.ts +7 -0
- package/dist/core/override-storage.d.ts.map +1 -0
- package/dist/core/panel-renderer.d.ts.map +1 -1
- package/dist/core/state-manager.d.ts +1 -1
- package/dist/core/state-manager.d.ts.map +1 -1
- package/dist/core/store-connector.d.ts +4 -0
- package/dist/core/store-connector.d.ts.map +1 -1
- package/dist/index.cjs +1092 -244
- package/dist/index.js +1092 -244
- package/dist/panels/dom-scanner.d.ts.map +1 -1
- package/dist/panels/events.d.ts.map +1 -1
- package/dist/panels/iab.d.ts +6 -0
- package/dist/panels/iab.d.ts.map +1 -1
- package/dist/panels/location.d.ts +9 -6
- package/dist/panels/location.d.ts.map +1 -1
- package/dist/panels/scripts.d.ts +2 -0
- package/dist/panels/scripts.d.ts.map +1 -1
- package/dist/react.cjs +1020 -239
- package/dist/react.d.ts +8 -7
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +1016 -238
- package/dist/tanstack.cjs +810 -201
- package/dist/tanstack.js +810 -201
- package/dist/utils/preference-trigger.d.ts +2 -2
- package/dist/utils/preference-trigger.d.ts.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +10 -8
package/dist/react.d.ts
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @example
|
|
7
7
|
* ```tsx
|
|
8
|
-
* import {
|
|
8
|
+
* import { DevTools } from '@c15t/dev-tools/react';
|
|
9
9
|
*
|
|
10
10
|
* function App() {
|
|
11
11
|
* return (
|
|
12
12
|
* <>
|
|
13
13
|
* <YourApp />
|
|
14
|
-
* <
|
|
14
|
+
* <DevTools position="bottom-right" />
|
|
15
15
|
* </>
|
|
16
16
|
* );
|
|
17
17
|
* }
|
|
@@ -40,13 +40,13 @@ export interface C15TDevToolsProps extends Partial<DevToolsOptions> {
|
|
|
40
40
|
* @example
|
|
41
41
|
* Basic usage:
|
|
42
42
|
* ```tsx
|
|
43
|
-
* import {
|
|
43
|
+
* import { DevTools } from '@c15t/dev-tools/react';
|
|
44
44
|
*
|
|
45
45
|
* function App() {
|
|
46
46
|
* return (
|
|
47
47
|
* <>
|
|
48
48
|
* <YourApp />
|
|
49
|
-
* <
|
|
49
|
+
* <DevTools />
|
|
50
50
|
* </>
|
|
51
51
|
* );
|
|
52
52
|
* }
|
|
@@ -55,22 +55,23 @@ export interface C15TDevToolsProps extends Partial<DevToolsOptions> {
|
|
|
55
55
|
* @example
|
|
56
56
|
* With custom position:
|
|
57
57
|
* ```tsx
|
|
58
|
-
* <
|
|
58
|
+
* <DevTools position="top-left" />
|
|
59
59
|
* ```
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* Disabled in production:
|
|
63
63
|
* ```tsx
|
|
64
|
-
* <
|
|
64
|
+
* <DevTools disabled={process.env.NODE_ENV === 'production'} />
|
|
65
65
|
* ```
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* Default open state:
|
|
69
69
|
* ```tsx
|
|
70
|
-
* <
|
|
70
|
+
* <DevTools defaultOpen />
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
73
|
export declare function C15TDevTools({ namespace, position, defaultOpen, disabled, }: C15TDevToolsProps): null;
|
|
74
|
+
export { C15TDevTools as DevTools };
|
|
74
75
|
export type { DevToolsOptions, DevToolsInstance };
|
|
75
76
|
export type { DevToolsPosition, DevToolsTab } from './core/state-manager';
|
|
76
77
|
//# sourceMappingURL=react.d.ts.map
|
package/dist/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,EAEN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,OAAO,CAAC,eAAe,CAAC;IAClE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,YAAY,CAAC,EAC5B,SAAuB,EACvB,QAAyB,EACzB,WAAmB,EACnB,QAAgB,GAChB,EAAE,iBAAiB,GAAG,IAAI,CA8B1B;
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,EAEN,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,OAAO,CAAC,eAAe,CAAC;IAClE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,YAAY,CAAC,EAC5B,SAAuB,EACvB,QAAyB,EACzB,WAAmB,EACnB,QAAgB,GAChB,EAAE,iBAAiB,GAAG,IAAI,CA8B1B;AAED,OAAO,EAAE,YAAY,IAAI,QAAQ,EAAE,CAAC;AAGpC,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC"}
|