@jamsrui/charts 0.0.2 → 0.0.4

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.
@@ -1 +1 @@
1
- import{a,b}from"./chunk-YI3YQ2Y4.mjs";export{a as ChartsConfig,b as useChartsConfig};
1
+ import{createConfigContext as o}from"@jamsrui/utils";const[t,s]=o({displayName:"ChartsConfig"});export{t as ChartsConfig,s as useChartsConfig};
package/dist/charts.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-7IW6CJWN.mjs";export{a as Charts};
1
+ import{useRenderElement as t}from"@jamsrui/hooks";const p=e=>{const{render:s,...r}=e;return t("div",{props:r})};export{p as Charts};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{a as r,b as o}from"./chunk-YI3YQ2Y4.mjs";import{a as t}from"./chunk-7IW6CJWN.mjs";export{t as Charts,r as ChartsConfig,o as useChartsConfig};
1
+ "use client";import{Charts as t}from"./charts";import{ChartsConfig as s,useChartsConfig as C}from"./charts-config";export{t as Charts,s as ChartsConfig,C as useChartsConfig};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/charts",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.2",
9
- "@jamsrui/utils": "^0.0.2",
10
- "@jamsrui/core": "^0.0.2"
8
+ "@jamsrui/hooks": "^0.0.4",
9
+ "@jamsrui/utils": "^0.0.4",
10
+ "@jamsrui/core": "^0.0.4"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -1,19 +0,0 @@
1
- import { Charts } from './charts.js';
2
- import * as react from 'react';
3
- import { GlobalConfigProps } from '@jamsrui/core';
4
- import '@jamsrui/utils';
5
-
6
- declare const useChartsConfig: () => {
7
- children?: React.ReactNode;
8
- };
9
- declare const ChartsConfig: (props: {
10
- children?: React.ReactNode;
11
- } & {
12
- merge?: boolean;
13
- }) => react.JSX.Element;
14
- declare namespace ChartsConfig {
15
- interface Props extends Charts.Props, GlobalConfigProps<Charts.Props> {
16
- }
17
- }
18
-
19
- export { ChartsConfig, useChartsConfig };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSAWRDBHYjs = require('./chunk-SAWRDBHY.js');exports.ChartsConfig = _chunkSAWRDBHYjs.a; exports.useChartsConfig = _chunkSAWRDBHYjs.b;
package/dist/charts.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import * as react from 'react';
2
- import { UIProps } from '@jamsrui/utils';
3
-
4
- declare const Charts: (props: Charts.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
5
- declare namespace Charts {
6
- interface Props extends UIProps<"div"> {
7
- }
8
- }
9
-
10
- export { Charts };
package/dist/charts.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUW5GB3MFjs = require('./chunk-UW5GB3MF.js');exports.Charts = _chunkUW5GB3MFjs.a;
@@ -1 +0,0 @@
1
- import{useRenderElement as t}from"@jamsrui/hooks";var p=e=>{let{render:s,...r}=e;return t("div",{props:r})};export{p as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _utils = require('@jamsrui/utils');var[t,s]=_utils.createConfigContext.call(void 0, {displayName:"ChartsConfig"});exports.a = t; exports.b = s;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _hooks = require('@jamsrui/hooks');var p=e=>{let{render:s,...r}=e;return _hooks.useRenderElement.call(void 0, "div",{props:r})};exports.a = p;
@@ -1 +0,0 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";var[t,s]=o({displayName:"ChartsConfig"});export{t as a,s as b};
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export { Charts } from './charts.js';
2
- export { ChartsConfig, useChartsConfig } from './charts-config.js';
3
- import 'react';
4
- import '@jamsrui/utils';
5
- import '@jamsrui/core';
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkSAWRDBHYjs = require('./chunk-SAWRDBHY.js');var _chunkUW5GB3MFjs = require('./chunk-UW5GB3MF.js');exports.Charts = _chunkUW5GB3MFjs.a; exports.ChartsConfig = _chunkSAWRDBHYjs.a; exports.useChartsConfig = _chunkSAWRDBHYjs.b;
package/dist/styles.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
package/dist/styles.js DELETED
@@ -1 +0,0 @@
1
- "use strict";