@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 +1 -1
- package/dist/kbd-config.d.mts +2 -2
- package/dist/kbd-config.mjs +1 -1
- package/dist/kbd.mjs +1 -1
- package/dist/use-kbd.mjs +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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};
|
package/dist/kbd-config.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Kbd } from './kbd.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 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
|
|
13
|
+
interface Props extends WithGlobalConfig<Kbd.Props> {
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
package/dist/kbd-config.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createConfigContext as o}from"@jamsrui/utils";const[
|
|
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
|
|
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
|
|
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.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
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
|
".": {
|