@liujip0/components 0.2.11 → 0.2.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/Input.module-lBhDn5k1.js +13 -0
- package/dist/assets/Input.css +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Password.js +1 -2
- package/dist/components/Input/TextArea.js +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +36 -35
- package/package.json +9 -9
- package/dist/Input.module-C7oR_KDs.js +0 -13
- /package/dist/assets/{main.css → Password.css} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './assets/Input.css';const e = "_container_1ux05_1", t = "_outline_1ux05_6", r = "_errorOutline_1ux05_18", n = "_input_1ux05_22", _ = "_inputDisabled_1ux05_41", l = "_helperText_1ux05_53", o = "_helperTextError_1ux05_60", u = "_label_1ux05_64", i = {
|
|
2
|
+
container: e,
|
|
3
|
+
outline: t,
|
|
4
|
+
errorOutline: r,
|
|
5
|
+
input: n,
|
|
6
|
+
inputDisabled: _,
|
|
7
|
+
helperText: l,
|
|
8
|
+
helperTextError: o,
|
|
9
|
+
label: u
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
i as s
|
|
13
|
+
};
|
package/dist/assets/Input.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_1ux05_1{display:flex;flex-direction:column}._outline_1ux05_6{display:flex;padding:4px 8px;gap:4px;align-items:center;width:100%;border-width:var(--border-width, var(--border-width-fallback));border-style:solid;border-color:var(--color-primary, var(--color-primary-fallback));border-radius:var(--border-radius, var(--border-radius-fallback))}._errorOutline_1ux05_18{border-color:var(--color-error, var(--color-error-fallback))}._input_1ux05_22{min-width:1em;flex:1;padding:6px;width:100%;height:100%;border:none;background-color:transparent;color:var( --color-background-contrastText, var(--color-background-contrastText-fallback) );font-family:var(--text-font-family, var(--text-font-family-fallback));font-size:var(--text-body-size, var(--text-body-size-fallback))}._input_1ux05_22:focus{outline:none}._inputDisabled_1ux05_41{color:color-mix(in srgb,var( --color-background-contrastText, var(--color-background-contrastText-fallback) ) 50%,#888)}._helperText_1ux05_53{margin:4px 8px;font-family:var(--text-font-family, var(--text-font-family-fallback));font-size:var(--text-helperText-size, var(--text-helperText-size-fallback));color:var(--color-primary, var(--color-primary-fallback))}p._helperTextError_1ux05_60{color:var(--color-error, var(--color-error-fallback))}._label_1ux05_64{font-family:var(--text-font-family, var(--text-font-family-fallback));font-size:var(--text-label-size, var(--text-label-size-fallback))}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r } from "react";
|
|
3
|
-
import '../../assets/main.css';/* empty css */
|
|
4
3
|
import { IconButton as e } from "../Button/IconButton/IconButton.js";
|
|
5
4
|
import { Input as n } from "./Input.js";
|
|
6
|
-
function d({ ...t }) {
|
|
5
|
+
import '../../assets/Password.css';function d({ ...t }) {
|
|
7
6
|
const [s, i] = r(!1);
|
|
8
7
|
return /* @__PURE__ */ o(
|
|
9
8
|
n,
|
package/dist/main.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { ToggleButtonGroup } from './components/Button/ToggleButton/ToggleButton
|
|
|
7
7
|
export { Dialog, DialogActions, DialogContent, DialogTitle, } from './components/Dialog/Dialog.tsx';
|
|
8
8
|
export { Divider } from './components/Divider/Divider.tsx';
|
|
9
9
|
export { Input } from './components/Input/Input.tsx';
|
|
10
|
+
export { Password } from './components/Input/Password.tsx';
|
|
10
11
|
export { TextArea } from './components/Input/TextArea.tsx';
|
|
11
12
|
export { Checkbox } from './components/Input/Checkbox/Checkbox.tsx';
|
|
12
13
|
export { Counter } from './components/Input/Counter/Counter.tsx';
|
package/dist/main.js
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Button as
|
|
3
|
-
import { IconButton as
|
|
4
|
-
import { ToggleButton as
|
|
5
|
-
import { ToggleButtonGroup as
|
|
6
|
-
import { Dialog as
|
|
1
|
+
import { Password as e } from "./components/Input/Password.js";
|
|
2
|
+
import { Button as x } from "./components/Button/Button.js";
|
|
3
|
+
import { IconButton as a } from "./components/Button/IconButton/IconButton.js";
|
|
4
|
+
import { ToggleButton as n } from "./components/Button/ToggleButton/ToggleButton.js";
|
|
5
|
+
import { ToggleButtonGroup as l } from "./components/Button/ToggleButton/ToggleButtonGroup.js";
|
|
6
|
+
import { Dialog as u, DialogActions as g, DialogContent as s, DialogTitle as b } from "./components/Dialog/Dialog.js";
|
|
7
7
|
import { Divider as d } from "./components/Divider/Divider.js";
|
|
8
|
-
import { Input as
|
|
9
|
-
import { TextArea as
|
|
10
|
-
import { Checkbox as
|
|
11
|
-
import { Counter as
|
|
12
|
-
import { Radio as
|
|
13
|
-
import { RadioGroup as
|
|
14
|
-
import { Select as
|
|
15
|
-
import { Snackbar as
|
|
8
|
+
import { Input as D } from "./components/Input/Input.js";
|
|
9
|
+
import { TextArea as h } from "./components/Input/TextArea.js";
|
|
10
|
+
import { Checkbox as A } from "./components/Input/Checkbox/Checkbox.js";
|
|
11
|
+
import { Counter as I } from "./components/Input/Counter/Counter.js";
|
|
12
|
+
import { Radio as S } from "./components/Input/Radio/Radio.js";
|
|
13
|
+
import { RadioGroup as w } from "./components/Input/Radio/RadioGroup.js";
|
|
14
|
+
import { Select as P } from "./components/Input/Select/Select.js";
|
|
15
|
+
import { Snackbar as q } from "./components/Snackbar/Snackbar.js";
|
|
16
16
|
import { Table as z, TableHead as E, Td as F, Th as J } from "./components/Table/Table.js";
|
|
17
17
|
import { Tab as L } from "./components/Tabs/Tab.js";
|
|
18
18
|
import { TabBar as N } from "./components/Tabs/TabBar.js";
|
|
19
|
-
import { Tabs as
|
|
20
|
-
import { Tooltip as
|
|
21
|
-
const
|
|
19
|
+
import { Tabs as Q } from "./components/Tabs/Tabs.js";
|
|
20
|
+
import { Tooltip as V } from "./components/Tooltip/Tooltip.js";
|
|
21
|
+
const o = "./main.css";
|
|
22
22
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
x as Button,
|
|
24
|
+
A as Checkbox,
|
|
25
|
+
I as Counter,
|
|
26
|
+
u as Dialog,
|
|
27
|
+
g as DialogActions,
|
|
28
|
+
s as DialogContent,
|
|
29
29
|
b as DialogTitle,
|
|
30
30
|
d as Divider,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
a as IconButton,
|
|
32
|
+
D as Input,
|
|
33
|
+
e as Password,
|
|
34
|
+
S as Radio,
|
|
35
|
+
w as RadioGroup,
|
|
36
|
+
P as Select,
|
|
37
|
+
q as Snackbar,
|
|
37
38
|
L as Tab,
|
|
38
39
|
N as TabBar,
|
|
39
40
|
z as Table,
|
|
40
41
|
E as TableHead,
|
|
41
|
-
|
|
42
|
+
Q as Tabs,
|
|
42
43
|
F as Td,
|
|
43
|
-
|
|
44
|
+
h as TextArea,
|
|
44
45
|
J as Th,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
n as ToggleButton,
|
|
47
|
+
l as ToggleButtonGroup,
|
|
48
|
+
V as Tooltip,
|
|
49
|
+
o as default
|
|
49
50
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liujip0/components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.14",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
"react-dom": "^19.1.1"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@eslint/js": "^9.
|
|
18
|
-
"@material-symbols/font-400": "^0.35.
|
|
19
|
-
"@types/node": "^24.3.
|
|
20
|
-
"@types/react": "^19.1.
|
|
17
|
+
"@eslint/js": "^9.35.0",
|
|
18
|
+
"@material-symbols/font-400": "^0.35.1",
|
|
19
|
+
"@types/node": "^24.3.1",
|
|
20
|
+
"@types/react": "^19.1.13",
|
|
21
21
|
"@types/react-dom": "^19.1.9",
|
|
22
22
|
"@vitejs/plugin-react": "^5.0.2",
|
|
23
|
-
"eslint": "^9.
|
|
23
|
+
"eslint": "^9.35.0",
|
|
24
24
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
25
25
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
26
26
|
"glob": "^11.0.3",
|
|
27
|
-
"globals": "^16.
|
|
27
|
+
"globals": "^16.4.0",
|
|
28
28
|
"prettier": "^3.6.2",
|
|
29
29
|
"react": "^19.1.1",
|
|
30
30
|
"react-dom": "^19.1.1",
|
|
31
31
|
"typescript": "~5.9.2",
|
|
32
|
-
"typescript-eslint": "^8.
|
|
33
|
-
"vite": "^7.1.
|
|
32
|
+
"typescript-eslint": "^8.43.0",
|
|
33
|
+
"vite": "^7.1.5",
|
|
34
34
|
"vite-plugin-dts": "^4.5.4",
|
|
35
35
|
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
36
36
|
},
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import './assets/Input.css';const e = "_container_1dgl9_1", t = "_outline_1dgl9_6", l = "_errorOutline_1dgl9_18", r = "_input_1dgl9_22", n = "_inputDisabled_1dgl9_41", _ = "_helperText_1dgl9_53", o = "_helperTextError_1dgl9_60", i = "_label_1dgl9_64", s = {
|
|
2
|
-
container: e,
|
|
3
|
-
outline: t,
|
|
4
|
-
errorOutline: l,
|
|
5
|
-
input: r,
|
|
6
|
-
inputDisabled: n,
|
|
7
|
-
helperText: _,
|
|
8
|
-
helperTextError: o,
|
|
9
|
-
label: i
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
s
|
|
13
|
-
};
|
|
File without changes
|