@zenkigen-inc/component-ui 1.21.1 → 2.0.0-rc.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/README.md +9 -12
- package/dist/index.d.mts +139 -4
- package/dist/index.d.ts +139 -4
- package/dist/index.js +730 -285
- package/dist/index.mjs +676 -235
- package/package.json +9 -7
- package/styles.css +8 -0
- package/vitest.setup.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenkigen-inc/component-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc.0",
|
|
4
4
|
"repository": "https://github.com/zenkigen/zenkigen-component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
".": {
|
|
15
15
|
"import": "./dist/index.mjs",
|
|
16
16
|
"require": "./dist/index.js"
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"./styles": "./styles.css"
|
|
18
19
|
},
|
|
19
20
|
"scripts": {
|
|
20
21
|
"type-check": "tsc --noEmit",
|
|
@@ -34,13 +35,14 @@
|
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|
|
36
37
|
"react": "^18.0.0 || ^19.0.0",
|
|
37
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
38
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
39
|
+
"tailwindcss": "^4.0.0"
|
|
38
40
|
},
|
|
39
41
|
"dependencies": {
|
|
40
|
-
"@floating-ui/react": "0.27.
|
|
41
|
-
"@zenkigen-inc/component-config": "
|
|
42
|
-
"@zenkigen-inc/component-icons": "
|
|
43
|
-
"@zenkigen-inc/component-theme": "
|
|
42
|
+
"@floating-ui/react": "0.27.20",
|
|
43
|
+
"@zenkigen-inc/component-config": "2.0.0-rc.0",
|
|
44
|
+
"@zenkigen-inc/component-icons": "2.0.0-rc.0",
|
|
45
|
+
"@zenkigen-inc/component-theme": "2.0.0-rc.0",
|
|
44
46
|
"clsx": "2.1.1",
|
|
45
47
|
"react-day-picker": "9.14.0"
|
|
46
48
|
}
|
package/styles.css
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* zenkigen-component 利用側のエントリポイント。
|
|
2
|
+
デザイントークン(component-config/styles)の読み込みと、コンポーネントが
|
|
3
|
+
実行時に参照する動的クラスの検出(@source)をまとめて提供する。
|
|
4
|
+
@source の相対パスはこのファイルの場所基準で解決される。 */
|
|
5
|
+
@import '@zenkigen-inc/component-config/styles';
|
|
6
|
+
@import '@zenkigen-inc/component-theme/source';
|
|
7
|
+
|
|
8
|
+
@source './dist/**/*.mjs';
|
package/vitest.setup.ts
CHANGED