elseware-ui 2.31.1 → 2.31.2
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 +21 -0
- package/README.md +98 -109
- package/dist/index.css +18 -18
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1349 -1303
- package/dist/index.d.ts +1349 -1303
- package/dist/index.js +510 -122
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +511 -123
- package/dist/index.mjs.map +1 -1
- package/package.json +110 -110
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 elseware Technology
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,109 +1,98 @@
|
|
|
1
|
-
# elseware
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
//
|
|
29
|
-
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
npm unpublish elseware-ui@1.0.0
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
2. **Unpublish the entire package**:
|
|
104
|
-
- If you need to unpublish the entire package, you can run the following command (not recommended for public packages):
|
|
105
|
-
```bash
|
|
106
|
-
npm unpublish elseware-ui --force
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
**Note:** Be cautious when using `--force` as npm restricts package unpublishing for packages that are older than 72 hours to avoid breaking dependencies.
|
|
1
|
+
# elseware-ui
|
|
2
|
+
|
|
3
|
+
A modern React component library for building web and desktop user interfaces.
|
|
4
|
+
|
|
5
|
+
`elseware-ui` provides a collection of reusable, customizable, and production-ready UI components designed to accelerate application development while maintaining consistency, accessibility, and scalability.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- TypeScript-first development
|
|
10
|
+
- React-based component architecture
|
|
11
|
+
- Tailwind CSS integration
|
|
12
|
+
- Customizable themes and styling
|
|
13
|
+
- Consistent design system
|
|
14
|
+
- Web and desktop application support
|
|
15
|
+
- Storybook-powered component documentation
|
|
16
|
+
- Modular and tree-shakable components
|
|
17
|
+
- Developer-friendly APIs
|
|
18
|
+
|
|
19
|
+
## Component Import Structure
|
|
20
|
+
|
|
21
|
+
Use the following import ordering convention when creating components:
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
// External
|
|
25
|
+
|
|
26
|
+
// Internal
|
|
27
|
+
|
|
28
|
+
// Types
|
|
29
|
+
|
|
30
|
+
// Data
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Example:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
// External
|
|
37
|
+
import { ReactNode } from "react";
|
|
38
|
+
|
|
39
|
+
// Internal
|
|
40
|
+
import { cn } from "@/utils";
|
|
41
|
+
|
|
42
|
+
// Types
|
|
43
|
+
import { BaseComponentProps } from "@/interfaces";
|
|
44
|
+
import { Variant, Shape, Size } from "@/types";
|
|
45
|
+
|
|
46
|
+
// Data
|
|
47
|
+
import { shapes, variants, borderVariants, avatarSizes } from "@/data/styles";
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Installation
|
|
51
|
+
|
|
52
|
+
Install dependencies:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npm install
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Development
|
|
59
|
+
|
|
60
|
+
Start Storybook for component development and testing:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npm run dev
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Build
|
|
67
|
+
|
|
68
|
+
Build the component library:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm run build
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Publishing
|
|
75
|
+
|
|
76
|
+
Publish a new package version to npm:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npm run release
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Documentation
|
|
83
|
+
|
|
84
|
+
Interactive component documentation and examples are available through Storybook.
|
|
85
|
+
|
|
86
|
+
## About elseware Technology
|
|
87
|
+
|
|
88
|
+
elseware Technology builds tools, frameworks, and solutions for software engineering, cloud computing, game development, and developer productivity.
|
|
89
|
+
|
|
90
|
+
## Contributing
|
|
91
|
+
|
|
92
|
+
Contributions, issues, and feature requests are welcome.
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
This project is licensed under the MIT License.
|
|
97
|
+
|
|
98
|
+
Copyright © 2026 elseware Technology.
|
package/dist/index.css
CHANGED
|
@@ -689,12 +689,12 @@ video {
|
|
|
689
689
|
.min-h-\[3rem\] {
|
|
690
690
|
min-height: 3rem;
|
|
691
691
|
}
|
|
692
|
-
.min-h-\[48px\] {
|
|
693
|
-
min-height: 48px;
|
|
694
|
-
}
|
|
695
692
|
.min-h-\[50px\] {
|
|
696
693
|
min-height: 50px;
|
|
697
694
|
}
|
|
695
|
+
.min-h-\[56px\] {
|
|
696
|
+
min-height: 56px;
|
|
697
|
+
}
|
|
698
698
|
.min-h-screen {
|
|
699
699
|
min-height: 100vh;
|
|
700
700
|
}
|
|
@@ -853,9 +853,6 @@ video {
|
|
|
853
853
|
.min-w-\[120px\] {
|
|
854
854
|
min-width: 120px;
|
|
855
855
|
}
|
|
856
|
-
.min-w-\[160px\] {
|
|
857
|
-
min-width: 160px;
|
|
858
|
-
}
|
|
859
856
|
.min-w-\[180px\] {
|
|
860
857
|
min-width: 180px;
|
|
861
858
|
}
|
|
@@ -1195,6 +1192,9 @@ video {
|
|
|
1195
1192
|
.whitespace-pre-wrap {
|
|
1196
1193
|
white-space: pre-wrap;
|
|
1197
1194
|
}
|
|
1195
|
+
.break-words {
|
|
1196
|
+
overflow-wrap: break-word;
|
|
1197
|
+
}
|
|
1198
1198
|
.rounded {
|
|
1199
1199
|
border-radius: .25rem;
|
|
1200
1200
|
}
|
|
@@ -4695,12 +4695,12 @@ video {
|
|
|
4695
4695
|
.min-h-\[3rem\] {
|
|
4696
4696
|
min-height: 3rem;
|
|
4697
4697
|
}
|
|
4698
|
-
.min-h-\[48px\] {
|
|
4699
|
-
min-height: 48px;
|
|
4700
|
-
}
|
|
4701
4698
|
.min-h-\[50px\] {
|
|
4702
4699
|
min-height: 50px;
|
|
4703
4700
|
}
|
|
4701
|
+
.min-h-\[56px\] {
|
|
4702
|
+
min-height: 56px;
|
|
4703
|
+
}
|
|
4704
4704
|
.min-h-screen {
|
|
4705
4705
|
min-height: 100vh;
|
|
4706
4706
|
}
|
|
@@ -4859,9 +4859,6 @@ video {
|
|
|
4859
4859
|
.min-w-\[120px\] {
|
|
4860
4860
|
min-width: 120px;
|
|
4861
4861
|
}
|
|
4862
|
-
.min-w-\[160px\] {
|
|
4863
|
-
min-width: 160px;
|
|
4864
|
-
}
|
|
4865
4862
|
.min-w-\[180px\] {
|
|
4866
4863
|
min-width: 180px;
|
|
4867
4864
|
}
|
|
@@ -5201,6 +5198,9 @@ video {
|
|
|
5201
5198
|
.whitespace-pre-wrap {
|
|
5202
5199
|
white-space: pre-wrap;
|
|
5203
5200
|
}
|
|
5201
|
+
.break-words {
|
|
5202
|
+
overflow-wrap: break-word;
|
|
5203
|
+
}
|
|
5204
5204
|
.rounded {
|
|
5205
5205
|
border-radius: .25rem;
|
|
5206
5206
|
}
|
|
@@ -8697,12 +8697,12 @@ video {
|
|
|
8697
8697
|
.min-h-\[3rem\] {
|
|
8698
8698
|
min-height: 3rem;
|
|
8699
8699
|
}
|
|
8700
|
-
.min-h-\[48px\] {
|
|
8701
|
-
min-height: 48px;
|
|
8702
|
-
}
|
|
8703
8700
|
.min-h-\[50px\] {
|
|
8704
8701
|
min-height: 50px;
|
|
8705
8702
|
}
|
|
8703
|
+
.min-h-\[56px\] {
|
|
8704
|
+
min-height: 56px;
|
|
8705
|
+
}
|
|
8706
8706
|
.min-h-screen {
|
|
8707
8707
|
min-height: 100vh;
|
|
8708
8708
|
}
|
|
@@ -8861,9 +8861,6 @@ video {
|
|
|
8861
8861
|
.min-w-\[120px\] {
|
|
8862
8862
|
min-width: 120px;
|
|
8863
8863
|
}
|
|
8864
|
-
.min-w-\[160px\] {
|
|
8865
|
-
min-width: 160px;
|
|
8866
|
-
}
|
|
8867
8864
|
.min-w-\[180px\] {
|
|
8868
8865
|
min-width: 180px;
|
|
8869
8866
|
}
|
|
@@ -9203,6 +9200,9 @@ video {
|
|
|
9203
9200
|
.whitespace-pre-wrap {
|
|
9204
9201
|
white-space: pre-wrap;
|
|
9205
9202
|
}
|
|
9203
|
+
.break-words {
|
|
9204
|
+
overflow-wrap: break-word;
|
|
9205
|
+
}
|
|
9206
9206
|
.rounded {
|
|
9207
9207
|
border-radius: .25rem;
|
|
9208
9208
|
}
|