@jamsrui/charts 0.0.16 → 0.0.17
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/charts-config.d.mts +2 -2
- package/dist/charts-config.mjs +1 -1
- package/dist/charts.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/charts-config.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Charts } from './charts.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { WithGlobalConfig } from '@jamsrui/core';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@jamsrui/utils';
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ declare const ChartsConfig: (props: Omit<Partial<Record<string, any>>, "children
|
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => react_jsx_runtime.JSX.Element;
|
|
12
12
|
declare namespace ChartsConfig {
|
|
13
|
-
interface Props extends
|
|
13
|
+
interface Props extends WithGlobalConfig<Charts.Props> {
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
package/dist/charts-config.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createConfigContext as
|
|
1
|
+
"use client";import{createConfigContext as t}from"@jamsrui/utils";const[r,e]=t({displayName:"ChartsConfig"});export{r as ChartsConfig,e as useChartsConfig};
|
package/dist/charts.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
"use client";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
|
-
|
|
1
|
+
import{Charts as t}from"./charts.mjs";import{ChartsConfig as f,useChartsConfig as s}from"./charts-config.mjs";export{t as Charts,f as ChartsConfig,s as useChartsConfig};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/charts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/core": "^0.0.
|
|
9
|
-
"@jamsrui/utils": "^0.0.
|
|
10
|
-
"@jamsrui/hooks": "^0.0.
|
|
8
|
+
"@jamsrui/core": "^0.0.14",
|
|
9
|
+
"@jamsrui/utils": "^0.0.17",
|
|
10
|
+
"@jamsrui/hooks": "^0.0.17"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|