@stackshift-ui/textarea 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*as e from"react";import{cn as s,DefaultComponent as i,useStackShiftUIComponents as d}from"@stackshift-ui/system";import{jsx as f}from"react/jsx-runtime";var o="Textarea",l=e.forwardRef(({className:t,...r},a)=>{let{[o]:n=i}=d();return f(n,{as:"textarea",className:s("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:a,...r})});l.displayName=o;export{l as a};
@@ -0,0 +1 @@
1
+ export * from "./textarea";
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";var m=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var g=(e,o)=>{for(var t in o)s(e,t,{get:o[t],enumerable:!0})},i=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of u(o))!x.call(e,a)&&a!==t&&s(e,a,{get:()=>o[a],enumerable:!(n=p(o,a))||n.enumerable});return e};var v=(e,o,t)=>(t=e!=null?m(b(e)):{},i(o||!e||!e.__esModule?s(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>i(s({},"__esModule",{value:!0}),e);var C={};g(C,{Textarea:()=>f});module.exports=y(C);var l=v(require("react")),r=require("@stackshift-ui/system"),c=require("react/jsx-runtime"),d="Textarea",f=l.forwardRef(({className:e,...o},t)=>{let{[d]:n=r.DefaultComponent}=(0,r.useStackShiftUIComponents)();return(0,c.jsx)(n,{as:"textarea",className:(0,r.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:t,...o})});f.displayName=d;0&&(module.exports={Textarea});
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";import{a as e}from"./chunk-OMMSNDVN.mjs";export{e as Textarea};
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
3
+ export { Textarea };
@@ -0,0 +1 @@
1
+ "use strict";var m=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var g=(e,o)=>{for(var t in o)s(e,t,{get:o[t],enumerable:!0})},i=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of u(o))!x.call(e,a)&&a!==t&&s(e,a,{get:()=>o[a],enumerable:!(n=p(o,a))||n.enumerable});return e};var v=(e,o,t)=>(t=e!=null?m(b(e)):{},i(o||!e||!e.__esModule?s(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>i(s({},"__esModule",{value:!0}),e);var C={};g(C,{Textarea:()=>f});module.exports=y(C);var d=v(require("react")),r=require("@stackshift-ui/system"),c=require("react/jsx-runtime"),l="Textarea",f=d.forwardRef(({className:e,...o},t)=>{let{[l]:n=r.DefaultComponent}=(0,r.useStackShiftUIComponents)();return(0,c.jsx)(n,{as:"textarea",className:(0,r.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:t,...o})});f.displayName=l;0&&(module.exports={Textarea});
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-OMMSNDVN.mjs";export{a as Textarea};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/textarea",
3
3
  "description": "",
4
- "version": "7.0.0-beta.5",
4
+ "version": "7.0.0-beta.6",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,20 +29,20 @@
29
29
  "typescript": "^5.6.2",
30
30
  "vite-tsconfig-paths": "^5.0.1",
31
31
  "vitest": "^2.1.1",
32
- "@stackshift-ui/typescript-config": "6.0.10",
33
- "@stackshift-ui/eslint-config": "6.0.10"
32
+ "@stackshift-ui/eslint-config": "6.0.10",
33
+ "@stackshift-ui/typescript-config": "6.0.10"
34
34
  },
35
35
  "dependencies": {
36
36
  "classnames": "^2.5.1",
37
- "@stackshift-ui/scripts": "7.0.0-beta.4",
38
- "@stackshift-ui/system": "7.0.0-beta.5"
37
+ "@stackshift-ui/system": "7.0.0-beta.6",
38
+ "@stackshift-ui/scripts": "7.0.0-beta.5"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@types/react": "16.8 - 19",
42
42
  "next": "10 - 14",
43
43
  "react": "16.8 - 19",
44
44
  "react-dom": "16.8 - 19",
45
- "@stackshift-ui/system": ">=7.0.0-beta.5"
45
+ "@stackshift-ui/system": ">=7.0.0-beta.6"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "next": {