@itera-web/react-ui-core 1.22.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 +0 -0
- package/README.md +27 -0
- package/es/index.d.ts +20 -0
- package/es/index.js +1 -0
- package/package.json +47 -0
package/LICENSE.md
ADDED
|
File without changes
|
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
### 核心UI组件
|
|
2
|
+
|
|
3
|
+
#### 包含下列基础组件 (最常用的、被依赖的、单一组件)
|
|
4
|
+
|
|
5
|
+
- 条件渲染 `@itera-web/react-ui-conditionalrender`
|
|
6
|
+
- 按钮 `@itera-web/react-ui-button`
|
|
7
|
+
- 复选框 `@itera-web/react-ui-checkbox`
|
|
8
|
+
- 分割线 `@itera-web/react-ui-divider`
|
|
9
|
+
- 空状态 `@itera-web/react-ui-empty`
|
|
10
|
+
- 悬浮按钮 `@itera-web/react-ui-floatbutton`
|
|
11
|
+
- 图片容器 `@itera-web/react-ui-img`
|
|
12
|
+
- 输入框 `@itera-web/react-ui-input`
|
|
13
|
+
- 语言切换 `@itera-web/react-ui-intldropdown`
|
|
14
|
+
- 标签 `@itera-web/react-ui-label`
|
|
15
|
+
- 单选框 `@itera-web/react-ui-radio`
|
|
16
|
+
- 骨架屏 `@itera-web/react-ui-skeleton`
|
|
17
|
+
- 分割 `@itera-web/react-ui-space`
|
|
18
|
+
- 加载 `@itera-web/react-ui-spin`
|
|
19
|
+
- Svg容器 `@itera-web/react-ui-svg`
|
|
20
|
+
- 开关 `@itera-web/react-ui-switch`
|
|
21
|
+
- 多行文本框 `@itera-web/react-ui-textarea`
|
|
22
|
+
- 主题切换 `@itera-web/react-ui-themedown`
|
|
23
|
+
- 切换 `@itera-web/react-ui-toggle`
|
|
24
|
+
- 弹出层 `@itera-web/react-ui-modal`
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### [使用文档](http://iterative.keyboardecho.com/)
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { Button, buttonVariants, type ButtonProps } from '@itera-web/react-ui-button';
|
|
2
|
+
export { ConditionalRender, type IConditionalRenderProps, type IConditionalRenderShowProps, } from '@itera-web/react-ui-conditionalrender';
|
|
3
|
+
export { Checkbox } from '@itera-web/react-ui-checkbox';
|
|
4
|
+
export { Divider, type DividerProps } from '@itera-web/react-ui-divider';
|
|
5
|
+
export { Empty } from '@itera-web/react-ui-empty';
|
|
6
|
+
export { FloatButton, type IFloatButtonProps } from '@itera-web/react-ui-floatbutton';
|
|
7
|
+
export { Img, type IImgProps } from '@itera-web/react-ui-img';
|
|
8
|
+
export { Input, type InputProps } from '@itera-web/react-ui-input';
|
|
9
|
+
export { IntlDropdown } from '@itera-web/react-ui-intldropdown';
|
|
10
|
+
export { Label } from '@itera-web/react-ui-label';
|
|
11
|
+
export { RadioGroup, RadioGroupItem } from '@itera-web/react-ui-radio';
|
|
12
|
+
export { Skeleton } from '@itera-web/react-ui-skeleton';
|
|
13
|
+
export { Space } from '@itera-web/react-ui-space';
|
|
14
|
+
export { Spin, type SpinProps } from '@itera-web/react-ui-spin';
|
|
15
|
+
export { Svg, type ISvgProps } from '@itera-web/react-ui-svg';
|
|
16
|
+
export { Switch } from '@itera-web/react-ui-switch';
|
|
17
|
+
export { ThemeDown } from '@itera-web/react-ui-themedown';
|
|
18
|
+
export { TextArea, type TextAreaProps } from '@itera-web/react-ui-textarea';
|
|
19
|
+
export { Toggle, toggleVariants } from '@itera-web/react-ui-toggle';
|
|
20
|
+
export { Modal } from '@itera-web/react-ui-modal';
|
package/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as t from"@itera-web/react-ui-button";import*as r from"@itera-web/react-ui-conditionalrender";import*as o from"@itera-web/react-ui-checkbox";import*as a from"@itera-web/react-ui-divider";import*as n from"@itera-web/react-ui-empty";import*as e from"@itera-web/react-ui-floatbutton";import*as i from"@itera-web/react-ui-img";import*as m from"@itera-web/react-ui-input";import*as s from"@itera-web/react-ui-intldropdown";import*as p from"@itera-web/react-ui-label";import*as u from"@itera-web/react-ui-radio";import*as c from"@itera-web/react-ui-skeleton";import*as d from"@itera-web/react-ui-space";import*as g from"@itera-web/react-ui-spin";import*as l from"@itera-web/react-ui-svg";import*as v from"@itera-web/react-ui-switch";import*as f from"@itera-web/react-ui-themedown";import*as q from"@itera-web/react-ui-textarea";import*as I from"@itera-web/react-ui-toggle";import*as S from"@itera-web/react-ui-modal";var b={d:(t,r)=>{for(var o in r)b.o(r,o)&&!b.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(t,r)=>Object.prototype.hasOwnProperty.call(t,r)},x={};b.d(x,{zx:()=>h.Button,XZ:()=>D.Checkbox,Vr:()=>w.ConditionalRender,iz:()=>T.Divider,HY:()=>y.Empty,Qc:()=>R.FloatButton,Ei:()=>k.Img,II:()=>C.Input,Lv:()=>E.IntlDropdown,__:()=>V.Label,u_:()=>M.Modal,Ee:()=>B.RadioGroup,mJ:()=>B.RadioGroupItem,Od:()=>G.Skeleton,T:()=>L.Space,yC:()=>_.Spin,ny:()=>O.Svg,rs:()=>z.Switch,Kx:()=>F.TextArea,K4:()=>A.ThemeDown,ZD:()=>K.Toggle,dc:()=>h.buttonVariants,Ex:()=>K.toggleVariants});const h=(t=>{var r={};return b.d(r,t),r})({Button:()=>t.Button,buttonVariants:()=>t.buttonVariants});const w=(t=>{var r={};return b.d(r,t),r})({ConditionalRender:()=>r.ConditionalRender});const D=(t=>{var r={};return b.d(r,t),r})({Checkbox:()=>o.Checkbox});const T=(t=>{var r={};return b.d(r,t),r})({Divider:()=>a.Divider});const y=(t=>{var r={};return b.d(r,t),r})({Empty:()=>n.Empty});const R=(t=>{var r={};return b.d(r,t),r})({FloatButton:()=>e.FloatButton});const k=(t=>{var r={};return b.d(r,t),r})({Img:()=>i.Img});const C=(t=>{var r={};return b.d(r,t),r})({Input:()=>m.Input});const E=(t=>{var r={};return b.d(r,t),r})({IntlDropdown:()=>s.IntlDropdown});const V=(t=>{var r={};return b.d(r,t),r})({Label:()=>p.Label});const B=(t=>{var r={};return b.d(r,t),r})({RadioGroup:()=>u.RadioGroup,RadioGroupItem:()=>u.RadioGroupItem});const G=(t=>{var r={};return b.d(r,t),r})({Skeleton:()=>c.Skeleton});const L=(t=>{var r={};return b.d(r,t),r})({Space:()=>d.Space});const _=(t=>{var r={};return b.d(r,t),r})({Spin:()=>g.Spin});const O=(t=>{var r={};return b.d(r,t),r})({Svg:()=>l.Svg});const z=(t=>{var r={};return b.d(r,t),r})({Switch:()=>v.Switch});const A=(t=>{var r={};return b.d(r,t),r})({ThemeDown:()=>f.ThemeDown});const F=(t=>{var r={};return b.d(r,t),r})({TextArea:()=>q.TextArea});const K=(t=>{var r={};return b.d(r,t),r})({Toggle:()=>I.Toggle,toggleVariants:()=>I.toggleVariants});const M=(t=>{var r={};return b.d(r,t),r})({Modal:()=>S.Modal});var Z=x.zx,j=x.XZ,H=x.Vr,J=x.iz,P=x.HY,Q=x.Qc,X=x.Ei,Y=x.II,N=x.Lv,U=x.__,W=x.u_,$=x.Ee,tt=x.mJ,rt=x.Od,ot=x.T,at=x.yC,nt=x.ny,et=x.rs,it=x.Kx,mt=x.K4,st=x.ZD,pt=x.dc,ut=x.Ex;export{Z as Button,j as Checkbox,H as ConditionalRender,J as Divider,P as Empty,Q as FloatButton,X as Img,Y as Input,N as IntlDropdown,U as Label,W as Modal,$ as RadioGroup,tt as RadioGroupItem,rt as Skeleton,ot as Space,at as Spin,nt as Svg,et as Switch,it as TextArea,mt as ThemeDown,st as Toggle,pt as buttonVariants,ut as toggleVariants};
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itera-web/react-ui-core",
|
|
3
|
+
"description": "核心组件",
|
|
4
|
+
"version": "1.22.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
|
+
"link": "npm link"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@itera-web/react-ui-button": "^1.26.0",
|
|
18
|
+
"@itera-web/react-ui-checkbox": "^1.22.0",
|
|
19
|
+
"@itera-web/react-ui-conditionalrender": "^1.21.0",
|
|
20
|
+
"@itera-web/react-ui-divider": "^1.23.0",
|
|
21
|
+
"@itera-web/react-ui-empty": "^1.20.0",
|
|
22
|
+
"@itera-web/react-ui-floatbutton": "^1.20.0",
|
|
23
|
+
"@itera-web/react-ui-img": "^1.20.0",
|
|
24
|
+
"@itera-web/react-ui-input": "^1.25.0",
|
|
25
|
+
"@itera-web/react-ui-intldropdown": "^1.20.0",
|
|
26
|
+
"@itera-web/react-ui-label": "^1.20.0",
|
|
27
|
+
"@itera-web/react-ui-modal": "^1.22.0",
|
|
28
|
+
"@itera-web/react-ui-radio": "^1.21.0",
|
|
29
|
+
"@itera-web/react-ui-skeleton": "^1.21.0",
|
|
30
|
+
"@itera-web/react-ui-space": "^1.20.0",
|
|
31
|
+
"@itera-web/react-ui-spin": "^1.20.0",
|
|
32
|
+
"@itera-web/react-ui-svg": "^1.20.0",
|
|
33
|
+
"@itera-web/react-ui-switch": "^1.21.0",
|
|
34
|
+
"@itera-web/react-ui-textarea": "^1.20.0",
|
|
35
|
+
"@itera-web/react-ui-themedown": "^1.20.0",
|
|
36
|
+
"@itera-web/react-ui-toggle": "^1.20.0",
|
|
37
|
+
"@itera-web/utils-cn": "^1.20.0"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": ">=17.0.0",
|
|
41
|
+
"react-dom": ">=17.0.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@itera-web/cli": "^1.1.45"
|
|
45
|
+
},
|
|
46
|
+
"gitHead": "03be639f55ed0f62801e6b0f109070a45fe5a661"
|
|
47
|
+
}
|