@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.
@@ -1,6 +1,6 @@
1
1
  import { Charts } from './charts.mjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { GlobalConfigProps } from '@jamsrui/core';
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 Charts.Props, GlobalConfigProps<Charts.Props> {
13
+ interface Props extends WithGlobalConfig<Charts.Props> {
14
14
  }
15
15
  }
16
16
 
@@ -1 +1 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";const[t,s]=o({displayName:"ChartsConfig"});export{t as ChartsConfig,s as useChartsConfig};
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
- "use client";import{Charts as t}from"./charts.mjs";import{ChartsConfig as s,useChartsConfig as C}from"./charts-config.mjs";export{t as Charts,s as ChartsConfig,C as useChartsConfig};
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.16",
3
+ "version": "0.0.17",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/core": "^0.0.13",
9
- "@jamsrui/utils": "^0.0.16",
10
- "@jamsrui/hooks": "^0.0.16"
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
  ".": {