@jamsrui/slot 0.0.9 → 0.0.11

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{cloneElement as n}from"react";import{Fragment as c,jsx as l}from"react/jsx-runtime";var s=o=>{let{slot:e,children:t,slotProps:r}=o;return e?n(e,r,e.props?.children??t?.props?.children):l(c,{children:t})};export{s as a};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{Slot as t}from"./slot";export{t as Slot};
1
+ "use client";import{a as e}from"./chunk-N5GPQXSS.mjs";export{e as Slot};
package/dist/slot.mjs CHANGED
@@ -1 +1 @@
1
- import{Fragment as c,jsx as l}from"react/jsx-runtime";import{cloneElement as n}from"react";const s=o=>{const{slot:e,children:t,slotProps:r}=o;return e?n(e,r,e.props?.children??t?.props?.children):l(c,{children:t})};export{s as Slot};
1
+ import{a}from"./chunk-N5GPQXSS.mjs";export{a as Slot};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamsrui/slot",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
@@ -8,8 +8,7 @@
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.js"
11
+ "import": "./dist/index.mjs"
13
12
  }
14
13
  },
15
14
  "description": "A modern and beautiful Next.js UI components library.",