@leve-ui/core 0.0.0-stage → 0.1.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 +21 -0
- package/lib/index.qwik.cjs +121 -0
- package/lib/index.qwik.mjs +17 -0
- package/lib-types/index.d.ts +21 -0
- package/package.json +75 -3
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 leve-ui contributors
|
|
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.
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const accordion = require("@leve-ui/accordion");
|
|
4
|
+
const alert = require("@leve-ui/alert");
|
|
5
|
+
const avatar = require("@leve-ui/avatar");
|
|
6
|
+
const breadcrumb = require("@leve-ui/breadcrumb");
|
|
7
|
+
const checkbox = require("@leve-ui/checkbox");
|
|
8
|
+
const collapsible = require("@leve-ui/collapsible");
|
|
9
|
+
const field = require("@leve-ui/field");
|
|
10
|
+
const fieldset = require("@leve-ui/fieldset");
|
|
11
|
+
const label = require("@leve-ui/label");
|
|
12
|
+
const meter = require("@leve-ui/meter");
|
|
13
|
+
const progress = require("@leve-ui/progress");
|
|
14
|
+
const radioGroup = require("@leve-ui/radio-group");
|
|
15
|
+
const separator = require("@leve-ui/separator");
|
|
16
|
+
const _switch = require("@leve-ui/switch");
|
|
17
|
+
const tabs = require("@leve-ui/tabs");
|
|
18
|
+
const toggle = require("@leve-ui/toggle");
|
|
19
|
+
const toggleGroup = require("@leve-ui/toggle-group");
|
|
20
|
+
Object.keys(accordion).forEach((k) => {
|
|
21
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: () => accordion[k]
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
Object.keys(alert).forEach((k) => {
|
|
27
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: () => alert[k]
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
Object.keys(avatar).forEach((k) => {
|
|
33
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: () => avatar[k]
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
Object.keys(breadcrumb).forEach((k) => {
|
|
39
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: () => breadcrumb[k]
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
Object.keys(checkbox).forEach((k) => {
|
|
45
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: () => checkbox[k]
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
Object.keys(collapsible).forEach((k) => {
|
|
51
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: () => collapsible[k]
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
Object.keys(field).forEach((k) => {
|
|
57
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: () => field[k]
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
Object.keys(fieldset).forEach((k) => {
|
|
63
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: () => fieldset[k]
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
Object.keys(label).forEach((k) => {
|
|
69
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: () => label[k]
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
Object.keys(meter).forEach((k) => {
|
|
75
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: () => meter[k]
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
Object.keys(progress).forEach((k) => {
|
|
81
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: () => progress[k]
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
Object.keys(radioGroup).forEach((k) => {
|
|
87
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: () => radioGroup[k]
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
Object.keys(separator).forEach((k) => {
|
|
93
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: () => separator[k]
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
Object.keys(_switch).forEach((k) => {
|
|
99
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: () => _switch[k]
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
Object.keys(tabs).forEach((k) => {
|
|
105
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: () => tabs[k]
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
Object.keys(toggle).forEach((k) => {
|
|
111
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: () => toggle[k]
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
Object.keys(toggleGroup).forEach((k) => {
|
|
117
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: () => toggleGroup[k]
|
|
120
|
+
});
|
|
121
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from "@leve-ui/accordion";
|
|
2
|
+
export * from "@leve-ui/alert";
|
|
3
|
+
export * from "@leve-ui/avatar";
|
|
4
|
+
export * from "@leve-ui/breadcrumb";
|
|
5
|
+
export * from "@leve-ui/checkbox";
|
|
6
|
+
export * from "@leve-ui/collapsible";
|
|
7
|
+
export * from "@leve-ui/field";
|
|
8
|
+
export * from "@leve-ui/fieldset";
|
|
9
|
+
export * from "@leve-ui/label";
|
|
10
|
+
export * from "@leve-ui/meter";
|
|
11
|
+
export * from "@leve-ui/progress";
|
|
12
|
+
export * from "@leve-ui/radio-group";
|
|
13
|
+
export * from "@leve-ui/separator";
|
|
14
|
+
export * from "@leve-ui/switch";
|
|
15
|
+
export * from "@leve-ui/tabs";
|
|
16
|
+
export * from "@leve-ui/toggle";
|
|
17
|
+
export * from "@leve-ui/toggle-group";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @leve-ui/core: すべてのコンポーネントをまとめて提供するパッケージ。
|
|
3
|
+
* 実装は各 @leve-ui/* パッケージにあり、ここでは再エクスポートのみ行います。
|
|
4
|
+
*/
|
|
5
|
+
export * from '@leve-ui/accordion';
|
|
6
|
+
export * from '@leve-ui/alert';
|
|
7
|
+
export * from '@leve-ui/avatar';
|
|
8
|
+
export * from '@leve-ui/breadcrumb';
|
|
9
|
+
export * from '@leve-ui/checkbox';
|
|
10
|
+
export * from '@leve-ui/collapsible';
|
|
11
|
+
export * from '@leve-ui/field';
|
|
12
|
+
export * from '@leve-ui/fieldset';
|
|
13
|
+
export * from '@leve-ui/label';
|
|
14
|
+
export * from '@leve-ui/meter';
|
|
15
|
+
export * from '@leve-ui/progress';
|
|
16
|
+
export * from '@leve-ui/radio-group';
|
|
17
|
+
export * from '@leve-ui/separator';
|
|
18
|
+
export * from '@leve-ui/switch';
|
|
19
|
+
export * from '@leve-ui/tabs';
|
|
20
|
+
export * from '@leve-ui/toggle';
|
|
21
|
+
export * from '@leve-ui/toggle-group';
|
package/package.json
CHANGED
|
@@ -1,6 +1,78 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leve-ui/core",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Headless, WAI-ARIA compliant UI components for Qwik. Bring your own styles.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"qwik",
|
|
7
|
+
"headless-ui",
|
|
8
|
+
"ui-components",
|
|
9
|
+
"accessibility",
|
|
10
|
+
"wai-aria",
|
|
11
|
+
"a11y",
|
|
12
|
+
"component-library",
|
|
13
|
+
"typescript"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/leve-ui/leve-ui#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/leve-ui/leve-ui/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/leve-ui/leve-ui.git",
|
|
22
|
+
"directory": "packages/core"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"type": "module",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"main": "./lib/index.qwik.cjs",
|
|
28
|
+
"module": "./lib/index.qwik.mjs",
|
|
29
|
+
"qwik": "./lib/index.qwik.mjs",
|
|
30
|
+
"types": "./lib-types/index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"@leve-ui/source": "./src/index.ts",
|
|
34
|
+
"types": "./lib-types/index.d.ts",
|
|
35
|
+
"import": "./lib/index.qwik.mjs",
|
|
36
|
+
"require": "./lib/index.qwik.cjs"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"lib",
|
|
41
|
+
"lib-types"
|
|
42
|
+
],
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@leve-ui/accordion": "0.1.0",
|
|
45
|
+
"@leve-ui/alert": "0.1.0",
|
|
46
|
+
"@leve-ui/avatar": "0.1.0",
|
|
47
|
+
"@leve-ui/breadcrumb": "0.1.0",
|
|
48
|
+
"@leve-ui/checkbox": "0.1.0",
|
|
49
|
+
"@leve-ui/collapsible": "0.1.0",
|
|
50
|
+
"@leve-ui/field": "0.1.0",
|
|
51
|
+
"@leve-ui/fieldset": "0.1.0",
|
|
52
|
+
"@leve-ui/label": "0.1.0",
|
|
53
|
+
"@leve-ui/meter": "0.1.0",
|
|
54
|
+
"@leve-ui/progress": "0.1.0",
|
|
55
|
+
"@leve-ui/radio-group": "0.1.0",
|
|
56
|
+
"@leve-ui/separator": "0.1.0",
|
|
57
|
+
"@leve-ui/tabs": "0.1.0",
|
|
58
|
+
"@leve-ui/switch": "0.1.0",
|
|
59
|
+
"@leve-ui/toggle": "0.1.0",
|
|
60
|
+
"@leve-ui/toggle-group": "0.1.0"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@builder.io/qwik": "^1.20.4"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@builder.io/qwik": "1.20.4",
|
|
67
|
+
"typescript": "~5.9.3",
|
|
68
|
+
"vite": "^7.3.8",
|
|
69
|
+
"@leve-ui/tsconfig": "0.0.0",
|
|
70
|
+
"@leve-ui/vite-config": "0.0.0"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "pnpm build:lib && pnpm build:types",
|
|
74
|
+
"build:lib": "vite build --mode lib",
|
|
75
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
76
|
+
"typecheck": "tsc --noEmit"
|
|
77
|
+
}
|
|
6
78
|
}
|
package/README.md
DELETED