@jamsrui/kbd 0.0.2 → 0.0.3

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{a as e,b as f}from"./chunk-ZAESWKGU.mjs";import{a as o}from"./chunk-GVZZ4ISO.mjs";export{o as Kbd,e as KbdConfig,f as useKbdConfig};
1
+ "use client";import{Kbd as f}from"./kbd";import{KbdConfig as b,useKbdConfig as d}from"./kbd-config";export{f as Kbd,b as KbdConfig,d as useKbdConfig};
@@ -1 +1 @@
1
- import{a,b}from"./chunk-ZAESWKGU.mjs";export{a as KbdConfig,b as useKbdConfig};
1
+ import{createConfigContext as o}from"@jamsrui/utils";const[e,p]=o({displayName:"KbdConfig"});export{e as KbdConfig,p as useKbdConfig};
package/dist/kbd.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-GVZZ4ISO.mjs";export{a as Kbd};
1
+ import{useRenderElement as r}from"@jamsrui/hooks";const o=e=>r("div",{props:e});export{o as Kbd};
package/dist/use-kbd.mjs CHANGED
@@ -1 +1 @@
1
- var p=e=>{};export{p as useKbd};
1
+ const p=e=>{};export{p as useKbd};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/kbd",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.2",
9
- "@jamsrui/core": "^0.0.2",
10
- "@jamsrui/utils": "^0.0.2"
8
+ "@jamsrui/hooks": "^0.0.3",
9
+ "@jamsrui/core": "^0.0.3",
10
+ "@jamsrui/utils": "^0.0.3"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -1 +0,0 @@
1
- import{useRenderElement as r}from"@jamsrui/hooks";var o=e=>r("div",{props:e});export{o as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _hooks = require('@jamsrui/hooks');var o=e=>_hooks.useRenderElement.call(void 0, "div",{props:e});exports.a = o;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _utils = require('@jamsrui/utils');var[e,p]=_utils.createConfigContext.call(void 0, {displayName:"KbdConfig"});exports.a = e; exports.b = p;
@@ -1 +0,0 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";var[e,p]=o({displayName:"KbdConfig"});export{e as a,p as b};
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export { Kbd } from './kbd.js';
2
- export { KbdConfig, useKbdConfig } from './kbd-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 _chunkT6Y746DTjs = require('./chunk-T6Y746DT.js');var _chunkLPHNGKW6js = require('./chunk-LPHNGKW6.js');exports.Kbd = _chunkLPHNGKW6js.a; exports.KbdConfig = _chunkT6Y746DTjs.a; exports.useKbdConfig = _chunkT6Y746DTjs.b;
@@ -1,19 +0,0 @@
1
- import { Kbd } from './kbd.js';
2
- import * as react from 'react';
3
- import { GlobalConfigProps } from '@jamsrui/core';
4
- import '@jamsrui/utils';
5
-
6
- declare const useKbdConfig: () => {
7
- children?: React.ReactNode;
8
- };
9
- declare const KbdConfig: (props: {
10
- children?: React.ReactNode;
11
- } & {
12
- merge?: boolean;
13
- }) => react.JSX.Element;
14
- declare namespace KbdConfig {
15
- interface Props extends Kbd.Props, GlobalConfigProps<Kbd.Props> {
16
- }
17
- }
18
-
19
- export { KbdConfig, useKbdConfig };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkT6Y746DTjs = require('./chunk-T6Y746DT.js');exports.KbdConfig = _chunkT6Y746DTjs.a; exports.useKbdConfig = _chunkT6Y746DTjs.b;
package/dist/kbd.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import * as react from 'react';
2
- import { UIProps } from '@jamsrui/utils';
3
-
4
- declare const Kbd: (props: Kbd.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
5
- declare namespace Kbd {
6
- interface Props extends UIProps<"div"> {
7
- keys: string[];
8
- }
9
- }
10
-
11
- export { Kbd };
package/dist/kbd.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLPHNGKW6js = require('./chunk-LPHNGKW6.js');exports.Kbd = _chunkLPHNGKW6js.a;
package/dist/styles.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
package/dist/styles.js DELETED
@@ -1 +0,0 @@
1
- "use strict";
package/dist/use-kbd.d.ts DELETED
@@ -1,7 +0,0 @@
1
- declare const useKbd: (props: useKbd.Props) => void;
2
- declare namespace useKbd {
3
- interface Props {
4
- }
5
- }
6
-
7
- export { useKbd };
package/dist/use-kbd.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var p=e=>{};exports.useKbd = p;