@stackshift-ui/link 7.0.0-beta.5 → 7.0.0-beta.6

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{useStackShiftUIComponents as r}from"@stackshift-ui/system";import{jsx as p}from"react/jsx-runtime";var c="Link",i=({children:t,...o})=>{let n=r(),{[c]:e="a"}=n;return p(e,{...o,children:t})};export{i as a};
@@ -0,0 +1 @@
1
+ export * from "./link";
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";var c=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var L=(o,t)=>{for(var e in t)c(o,e,{get:t[e],enumerable:!0})},d=(o,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of m(t))!a.call(o,n)&&n!==e&&c(o,n,{get:()=>t[n],enumerable:!(r=i(t,n))||r.enumerable});return o};var f=o=>d(c({},"__esModule",{value:!0}),o);var A={};L(A,{Link:()=>k});module.exports=f(A);var p=require("@stackshift-ui/system"),s=require("react/jsx-runtime"),h="Link",k=({children:o,...t})=>{let e=(0,p.useStackShiftUIComponents)(),{[h]:r="a"}=e;return(0,s.jsx)(r,{...t,children:o})};0&&(module.exports={Link});
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";import{a as e}from"./chunk-L2JKQ3Q2.mjs";export{e as Link};
package/dist/link.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import type { AnchorHTMLAttributes, ReactNode } from "react";
2
+ export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
3
+ children?: ReactNode;
4
+ }
5
+ export declare const Link: ({ children, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
package/dist/link.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";var c=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var L=(o,t)=>{for(var n in t)c(o,n,{get:t[n],enumerable:!0})},d=(o,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of m(t))!a.call(o,e)&&e!==n&&c(o,e,{get:()=>t[e],enumerable:!(r=i(t,e))||r.enumerable});return o};var h=o=>d(c({},"__esModule",{value:!0}),o);var f={};L(f,{Link:()=>A});module.exports=h(f);var p=require("@stackshift-ui/system"),s=require("react/jsx-runtime"),k="Link",A=({children:o,...t})=>{let n=(0,p.useStackShiftUIComponents)(),{[k]:r="a"}=n;return(0,s.jsx)(r,{...t,children:o})};0&&(module.exports={Link});
package/dist/link.mjs ADDED
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-L2JKQ3Q2.mjs";export{a as Link};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackshift-ui/link",
3
- "version": "7.0.0-beta.5",
3
+ "version": "7.0.0-beta.6",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -27,12 +27,12 @@
27
27
  "typescript": "^5.6.2",
28
28
  "vite-tsconfig-paths": "^5.0.1",
29
29
  "vitest": "^2.1.1",
30
- "@stackshift-ui/eslint-config": "6.0.10",
31
- "@stackshift-ui/typescript-config": "6.0.10"
30
+ "@stackshift-ui/typescript-config": "6.0.10",
31
+ "@stackshift-ui/eslint-config": "6.0.10"
32
32
  },
33
33
  "dependencies": {
34
- "@stackshift-ui/system": "7.0.0-beta.5",
35
- "@stackshift-ui/scripts": "7.0.0-beta.4"
34
+ "@stackshift-ui/scripts": "7.0.0-beta.5",
35
+ "@stackshift-ui/system": "7.0.0-beta.6"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@types/react": "16.8 - 19",