@itera-web/react-ui-label 1.20.0

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/LICENSE.md ADDED
File without changes
package/README.md ADDED
@@ -0,0 +1 @@
1
+ ### [使用文档](http://iterative.keyboardecho.com/)
package/es/Label.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import * as React from 'react';
3
+ import * as LabelPrimitive from '@radix-ui/react-label';
4
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLLabelElement>>;
5
+ export { Label };
package/es/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export { Label } from './Label';
package/es/index.js ADDED
@@ -0,0 +1 @@
1
+ import*as r from"class-variance-authority";import*as e from"react";import*as t from"@itera-web/utils-cn";import*as o from"@radix-ui/react-label";var a={d:(r,e)=>{for(var t in e)a.o(e,t)&&!a.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e)},n={};a.d(n,{_:()=>d});const c=(r=>{var e={};return a.d(e,r),e})({cva:()=>r.cva});const l=(r=>{var e={};return a.d(e,r),e})({createElement:()=>e.createElement,forwardRef:()=>e.forwardRef});const s=(r=>{var e={};return a.d(e,r),e})({cn:()=>t.cn});const i=(r=>{var e={};return a.d(e,r),e})({Root:()=>o.Root});var p=function(){return p=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var a in e=arguments[t])Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r},p.apply(this,arguments)},f=function(r,e){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(r);a<o.length;a++)e.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(r,o[a])&&(t[o[a]]=r[o[a]])}return t},m=(0,c.cva)("text-sm font-medium leading-none cursor-pointer peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=l.forwardRef(function(r,e){var t=r.className,o=f(r,["className"]);return l.createElement(i.Root,p({className:(0,s.cn)(m(),t),ref:e},o))});d.displayName=i.Root.displayName;var u=n._;export{u as Label};
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@itera-web/react-ui-label",
3
+ "description": "标签",
4
+ "version": "1.20.0",
5
+ "main": "es/index.js",
6
+ "types": "es/index.d.ts",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "license": "MIT",
11
+ "scripts": {
12
+ "build": "itera-cli package",
13
+ "up": "npm publish"
14
+ },
15
+ "dependencies": {
16
+ "@itera-web/utils-cn": "^1.20.0",
17
+ "@radix-ui/react-label": "^2.1.3"
18
+ },
19
+ "peerDependencies": {
20
+ "react": ">=17.0.0",
21
+ "react-dom": ">=17.0.0"
22
+ },
23
+ "devDependencies": {
24
+ "@itera-web/cli": "^1.1.45"
25
+ },
26
+ "gitHead": "691b2592db8668e5d52c9712bb906484b92cb79b"
27
+ }