@jamsrui/slot 0.0.12 → 0.0.14

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}from"./chunk-N5GPQXSS.mjs";export{e as Slot};
1
+ "use client";import{Slot as t}from"./slot.mjs";export{t as Slot};
package/dist/slot.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-N5GPQXSS.mjs";export{a as Slot};
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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamsrui/slot",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
@@ -1 +0,0 @@
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};