@jamsrui/label 0.0.2 → 0.0.4

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.
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-MTITZOBM.mjs";import{jsx as a}from"react/jsx-runtime";var s=l=>{let{children:o,...r}=e(l);return a("label",{...r,children:o})};export{s as a};
@@ -0,0 +1 @@
1
+ import{useCallback as s}from"react";var l=o=>{let{onMouseDown:t,...r}=o;return{onMouseDown:s(e=>{e.target.closest("input, button, textarea, select")||(t?.(e),e.detail>1&&e.preventDefault())},[t]),...r}};export{l as a};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{Label as o}from"./label";export{o as Label};
1
+ "use client";import{a as e}from"./chunk-C6QF2KUR.mjs";import"./chunk-MTITZOBM.mjs";export{e as Label};
package/dist/label.mjs CHANGED
@@ -1 +1 @@
1
- import{jsx as a}from"react/jsx-runtime";import{useLabel as r}from"./use-label";const s=e=>{const{children:l,...o}=r(e);return a("label",{...o,children:l})};export{s as Label};
1
+ import{a}from"./chunk-C6QF2KUR.mjs";import"./chunk-MTITZOBM.mjs";export{a as Label};
@@ -1 +1 @@
1
- import{useCallback as s}from"react";const l=o=>{const{onMouseDown:t,...r}=o;return{onMouseDown:s(e=>{e.target.closest("input, button, textarea, select")||(t?.(e),e.detail>1&&e.preventDefault())},[t]),...r}};export{l as useLabel};
1
+ import{a}from"./chunk-MTITZOBM.mjs";export{a as useLabel};
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@jamsrui/label",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/utils": "^0.0.9"
8
+ "@jamsrui/utils": "^0.0.11"
9
9
  },
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
- "import": "./dist/index.mjs",
14
- "require": "./dist/index.js"
13
+ "import": "./dist/index.mjs"
15
14
  }
16
15
  },
17
16
  "description": "A modern and beautiful Next.js UI components library.",