@jamsrui/kbd 0.0.16 → 0.0.18

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/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{Kbd as f}from"./kbd.mjs";import{KbdConfig as b,useKbdConfig as d}from"./kbd-config.mjs";export{f as Kbd,b as KbdConfig,d as useKbdConfig};
1
+ import{Kbd as r}from"./kbd.mjs";import{KbdConfig as d,useKbdConfig as e}from"./kbd-config.mjs";export{r as Kbd,d as KbdConfig,e as useKbdConfig};
@@ -1,6 +1,6 @@
1
1
  import { Kbd } from './kbd.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 KbdConfig: (props: Omit<Partial<Record<string, any>>, "children">
10
10
  children: React.ReactNode;
11
11
  }) => react_jsx_runtime.JSX.Element;
12
12
  declare namespace KbdConfig {
13
- interface Props extends Kbd.Props, GlobalConfigProps<Kbd.Props> {
13
+ interface Props extends WithGlobalConfig<Kbd.Props> {
14
14
  }
15
15
  }
16
16
 
@@ -1 +1 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";const[e,p]=o({displayName:"KbdConfig"});export{e as KbdConfig,p as useKbdConfig};
1
+ "use client";import{createConfigContext as o}from"@jamsrui/utils";const[t,i]=o({displayName:"KbdConfig"});export{t as KbdConfig,i as useKbdConfig};
package/dist/kbd.mjs CHANGED
@@ -1 +1 @@
1
- import{useRenderElement as r}from"@jamsrui/hooks";const o=e=>r("div",{props:e});export{o as Kbd};
1
+ "use client";import{useRenderElement as r}from"@jamsrui/hooks";const s=e=>r("div",{props:e});export{s as Kbd};
package/dist/use-kbd.mjs CHANGED
@@ -1 +1 @@
1
- const p=e=>{};export{p as useKbd};
1
+ "use client";const s=e=>{};export{s as useKbd};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/kbd",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.16",
9
- "@jamsrui/core": "^0.0.13",
10
- "@jamsrui/utils": "^0.0.16"
8
+ "@jamsrui/hooks": "^0.0.18",
9
+ "@jamsrui/core": "^0.0.14",
10
+ "@jamsrui/utils": "^0.0.18"
11
11
  },
12
12
  "exports": {
13
13
  ".": {