@liujip0/components 0.2.7 → 0.2.9

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.
@@ -2,7 +2,7 @@ export type InputProps = {
2
2
  id: string;
3
3
  value: string | number;
4
4
  onChange?: (value: string) => void;
5
- type?: "text" | "password" | "email" | "number" | "search";
5
+ type?: "text" | "password" | "email" | "number" | "search" | "date" | "datetime-local" | "month" | "tel" | "time" | "url" | "week" | "datetime";
6
6
  label?: string;
7
7
  helperText?: string;
8
8
  startIcon?: React.ReactNode;
@@ -1,5 +1,6 @@
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 */
3
4
  import { IconButton as e } from "../Button/IconButton/IconButton.js";
4
5
  import { Input as n } from "./Input.js";
5
6
  function d({ ...t }) {
package/dist/main.d.ts CHANGED
@@ -7,7 +7,6 @@ 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';
11
10
  export { TextArea } from './components/Input/TextArea.tsx';
12
11
  export { Checkbox } from './components/Input/Checkbox/Checkbox.tsx';
13
12
  export { Counter } from './components/Input/Counter/Counter.tsx';
package/dist/main.js CHANGED
@@ -1,50 +1,49 @@
1
- import { Button as e } from "./components/Button/Button.js";
1
+ import './assets/main.css';/* empty css */
2
+ import { Button as p } from "./components/Button/Button.js";
2
3
  import { IconButton as x } from "./components/Button/IconButton/IconButton.js";
3
- import { ToggleButton as a } from "./components/Button/ToggleButton/ToggleButton.js";
4
+ import { ToggleButton as f } from "./components/Button/ToggleButton/ToggleButton.js";
4
5
  import { ToggleButtonGroup as n } from "./components/Button/ToggleButton/ToggleButtonGroup.js";
5
- import { Dialog as l, DialogActions as T, DialogContent as u, DialogTitle as g } from "./components/Dialog/Dialog.js";
6
- import { Divider as b } from "./components/Divider/Divider.js";
7
- import { Input as d } from "./components/Input/Input.js";
8
- import { Password as D } from "./components/Input/Password.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";
6
+ import { Dialog as T, DialogActions as u, DialogContent as g, DialogTitle as b } from "./components/Dialog/Dialog.js";
7
+ import { Divider as d } from "./components/Divider/Divider.js";
8
+ import { Input as B } from "./components/Input/Input.js";
9
+ import { TextArea as C } from "./components/Input/TextArea.js";
10
+ import { Checkbox as k } from "./components/Input/Checkbox/Checkbox.js";
11
+ import { Counter as G } from "./components/Input/Counter/Counter.js";
12
+ import { Radio as R } from "./components/Input/Radio/Radio.js";
13
+ import { RadioGroup as v } from "./components/Input/Radio/RadioGroup.js";
14
+ import { Select as j } from "./components/Input/Select/Select.js";
15
+ import { Snackbar as w } 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 Q } from "./components/Tabs/Tabs.js";
20
- import { Tooltip as V } from "./components/Tooltip/Tooltip.js";
21
- import './assets/main.css';const o = "./main.css";
19
+ import { Tabs as P } from "./components/Tabs/Tabs.js";
20
+ import { Tooltip as U } from "./components/Tooltip/Tooltip.js";
21
+ const r = "./main.css";
22
22
  export {
23
- e as Button,
24
- A as Checkbox,
25
- I as Counter,
26
- l as Dialog,
27
- T as DialogActions,
28
- u as DialogContent,
29
- g as DialogTitle,
30
- b as Divider,
23
+ p as Button,
24
+ k as Checkbox,
25
+ G as Counter,
26
+ T as Dialog,
27
+ u as DialogActions,
28
+ g as DialogContent,
29
+ b as DialogTitle,
30
+ d as Divider,
31
31
  x as IconButton,
32
- d as Input,
33
- D as Password,
34
- S as Radio,
35
- w as RadioGroup,
36
- P as Select,
37
- q as Snackbar,
32
+ B as Input,
33
+ R as Radio,
34
+ v as RadioGroup,
35
+ j as Select,
36
+ w as Snackbar,
38
37
  L as Tab,
39
38
  N as TabBar,
40
39
  z as Table,
41
40
  E as TableHead,
42
- Q as Tabs,
41
+ P as Tabs,
43
42
  F as Td,
44
- h as TextArea,
43
+ C as TextArea,
45
44
  J as Th,
46
- a as ToggleButton,
45
+ f as ToggleButton,
47
46
  n as ToggleButtonGroup,
48
- V as Tooltip,
49
- o as default
47
+ U as Tooltip,
48
+ r as default
50
49
  };
@@ -1,11 +1,9 @@
1
- function e(o, t) {
2
- const c = {};
3
- for (const n in o)
4
- t.includes(n) || (c[n] = o[n]);
5
- return c;
1
+ function o(t, i) {
2
+ const e = {};
3
+ for (const n in t)
4
+ i.includes(n) || (e[n] = t[n]);
5
+ return e;
6
6
  }
7
- const s = e({ a: 1, b: 2, c: 3 }, ["b", "c"]);
8
- console.log(s);
9
7
  export {
10
- e as omit
8
+ o as omit
11
9
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@liujip0/components",
3
3
  "private": false,
4
- "version": "0.2.7",
4
+ "version": "0.2.9",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -9,17 +9,17 @@
9
9
  "dist"
10
10
  ],
11
11
  "peerDependencies": {
12
- "@material-symbols/font-400": "^0.33.0",
12
+ "@material-symbols/font-400": "^0.34.1",
13
13
  "react": "^19.1.0",
14
14
  "react-dom": "^19.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "^9.33.0",
18
- "@material-symbols/font-400": "^0.33.0",
18
+ "@material-symbols/font-400": "^0.34.1",
19
19
  "@types/node": "^24.3.0",
20
20
  "@types/react": "^19.1.10",
21
21
  "@types/react-dom": "^19.1.7",
22
- "@vitejs/plugin-react": "^4.7.0",
22
+ "@vitejs/plugin-react": "^5.0.1",
23
23
  "eslint": "^9.33.0",
24
24
  "eslint-plugin-react-hooks": "^5.2.0",
25
25
  "eslint-plugin-react-refresh": "^0.4.20",
@@ -28,9 +28,9 @@
28
28
  "prettier": "^3.6.2",
29
29
  "react": "^19.1.1",
30
30
  "react-dom": "^19.1.1",
31
- "typescript": "~5.8.3",
32
- "typescript-eslint": "^8.39.1",
33
- "vite": "^7.1.2",
31
+ "typescript": "~5.9.2",
32
+ "typescript-eslint": "^8.40.0",
33
+ "vite": "^7.1.3",
34
34
  "vite-plugin-dts": "^4.5.4",
35
35
  "vite-plugin-lib-inject-css": "^2.2.2"
36
36
  },