@noemaru1011/ui 1.0.2 → 1.0.3

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/llms.txt CHANGED
@@ -1,56 +1,56 @@
1
- # my-ui-catalog
2
-
3
- > React 19 / TypeScript 向けの再利用可能な UI コンポーネントライブラリです。Elements、Layouts、UI Primitives、Theme Provider などを提供します。
4
-
5
- ## Documentation
6
-
7
- - [Full AI Context](./llms-full.txt): AI エージェント向けの詳細な利用ガイド
8
- - [README](./README.md): インストール・基本的な利用方法
9
- - [Storybook](https://noemaru1011.github.io/my-ui-catalog/): コンポーネントの表示・動作確認
10
- - [package.json](./package.json): パッケージ情報・依存関係・公開設定
11
- - [Source Entry](./src/index.ts): 公開 API のエントリーポイント
12
- - [Styles](./src/index.css): Tailwind CSS・テーマ・デザイントークン
13
-
14
- ## Package
15
-
16
- - npm package: `@noemaru1011/ui`
17
- - Repository: https://github.com/noemaru1011/my-ui-catalog
18
-
19
- ## Main Features
20
-
21
- - React 19 対応の UI コンポーネント
22
- - TypeScript による型定義
23
- - Elements: 汎用的な UI コンポーネント
24
- - Layouts: レイアウト構築用コンポーネント
25
- - UI Primitives: 基本 UI コンポーネント
26
- - Theme Provider: ライト・ダークテーマ対応
27
- - i18n: 日本語をデフォルトとした多言語対応
28
-
29
- ## Instructions for AI Agents
30
-
31
- 1. コンポーネントの利用方法を回答する前に、必要に応じて `llms-full.txt` を参照してください。
32
- 2. 実際の Props や型定義は、公開されている TypeScript 定義またはソースコードを正としてください。
33
- 3. README や Storybook に記載のない Props・挙動を推測で作らないでください。
34
- 4. 基本的には `@noemaru1011/ui` からコンポーネントを import してください。
35
- 5. スタイルを利用する場合は `@noemaru1011/ui/style.css` を読み込んでください。
36
- 6. `primitives` 名前空間は低レベルの UI コンポーネントを利用する場合に使用してください。
37
-
38
- ## Quick Start
39
-
40
- ```tsx
41
- import '@noemaru1011/ui/style.css';
42
-
43
- import { Button, Card } from '@noemaru1011/ui';
44
-
45
- export function Example() {
46
- return (
47
- <Card>
48
- <Button>Click me</Button>
49
- </Card>
50
- );
51
- }
52
- ```
53
-
54
- ## Detailed Context
55
-
1
+ # my-ui-catalog
2
+
3
+ > React 19 / TypeScript 向けの再利用可能な UI コンポーネントライブラリです。Elements、Layouts、UI Primitives、Theme Provider などを提供します。
4
+
5
+ ## Documentation
6
+
7
+ - [Full AI Context](./llms-full.txt): AI エージェント向けの詳細な利用ガイド
8
+ - [README](./README.md): インストール・基本的な利用方法
9
+ - [Storybook](https://noemaru1011.github.io/my-ui-catalog/): コンポーネントの表示・動作確認
10
+ - [package.json](./package.json): パッケージ情報・依存関係・公開設定
11
+ - [Source Entry](./src/index.ts): 公開 API のエントリーポイント
12
+ - [Styles](./src/index.css): Tailwind CSS・テーマ・デザイントークン
13
+
14
+ ## Package
15
+
16
+ - npm package: `@noemaru1011/ui`
17
+ - Repository: https://github.com/noemaru1011/my-ui-catalog
18
+
19
+ ## Main Features
20
+
21
+ - React 19 対応の UI コンポーネント
22
+ - TypeScript による型定義
23
+ - Elements: 汎用的な UI コンポーネント
24
+ - Layouts: レイアウト構築用コンポーネント
25
+ - UI Primitives: 基本 UI コンポーネント
26
+ - Theme Provider: ライト・ダークテーマ対応
27
+ - i18n: 日本語をデフォルトとした多言語対応
28
+
29
+ ## Instructions for AI Agents
30
+
31
+ 1. コンポーネントの利用方法を回答する前に、必要に応じて `llms-full.txt` を参照してください。
32
+ 2. 実際の Props や型定義は、公開されている TypeScript 定義またはソースコードを正としてください。
33
+ 3. README や Storybook に記載のない Props・挙動を推測で作らないでください。
34
+ 4. 基本的には `@noemaru1011/ui` からコンポーネントを import してください。
35
+ 5. スタイルを利用する場合は `@noemaru1011/ui/style.css` を読み込んでください。
36
+ 6. `primitives` 名前空間は低レベルの UI コンポーネントを利用する場合に使用してください。
37
+
38
+ ## Quick Start
39
+
40
+ ```tsx
41
+ import '@noemaru1011/ui/style.css';
42
+
43
+ import { Button, Card } from '@noemaru1011/ui';
44
+
45
+ export function Example() {
46
+ return (
47
+ <Card>
48
+ <Button>Click me</Button>
49
+ </Card>
50
+ );
51
+ }
52
+ ```
53
+
54
+ ## Detailed Context
55
+
56
56
  See [llms-full.txt](./llms-full.txt) for the full component catalog, exports, styling conventions, theme configuration, and usage guidance.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@noemaru1011/ui",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=24.22.2"
@@ -25,10 +25,12 @@
25
25
  "access": "public"
26
26
  },
27
27
  "peerDependencies": {
28
+ "i18next": "^27.0.1",
28
29
  "react": "^19.0.8",
29
30
  "react-dom": "^19.0.0",
30
- "i18next": "^27.0.1",
31
- "react-i18next": "^18.0.0"
31
+ "react-i18next": "^18.0.0",
32
+ "react-router": "^7.18.4",
33
+ "react-router-dom": "^7.18.4"
32
34
  },
33
35
  "repository": {
34
36
  "type": "git",
@@ -67,18 +69,16 @@
67
69
  "tw-animate-css": "^1.4.0"
68
70
  },
69
71
  "devDependencies": {
70
- "@tailwindcss/vite": "^4.3.5",
71
- "tailwindcss": "^4.3.3",
72
72
  "@biomejs/biome": "^2.6.8",
73
- "@tanstack/react-query": "^5.107.1",
74
73
  "@chromatic-com/storybook": "5.6.0",
75
74
  "@hookform/resolvers": "^7.0.7",
76
75
  "@storybook/addon-a11y": "^10.6.7",
77
76
  "@storybook/addon-docs": "^10.6.7",
78
- "remark-gfm": "^4.0.1",
79
77
  "@storybook/addon-mcp": "^10.6.7",
80
78
  "@storybook/addon-vitest": "^10.6.6",
81
79
  "@storybook/react-vite": "^10.6.7",
80
+ "@tailwindcss/vite": "^4.3.5",
81
+ "@tanstack/react-query": "^5.107.1",
82
82
  "@testing-library/jest-dom": "^7.0.1",
83
83
  "@testing-library/react": "^16.3.3",
84
84
  "@testing-library/user-event": "^14.6.12",
@@ -99,11 +99,13 @@
99
99
  "playwright": "^1.65.1",
100
100
  "react-hook-form": "^7.92.0",
101
101
  "react-i18next": "^18.0.2",
102
+ "remark-gfm": "^4.0.1",
102
103
  "shadcn": "^4.23.0",
103
104
  "storybook": "^10.6.6",
105
+ "tailwindcss": "^4.3.3",
104
106
  "typescript": "~7.0.2",
107
+ "unplugin-dts": "^1.1.2",
105
108
  "vite": "^8.3.6",
106
- "vite-plugin-dts": "^5.1.2",
107
109
  "vitest": "^5.0.5",
108
110
  "zod": "^4.6.7"
109
111
  },
@@ -1,8 +0,0 @@
1
- export type WithoutExternalStyle<T, K extends PropertyKey = never> = Omit<T, K | 'className' | 'style'> & {
2
- className?: never;
3
- style?: never;
4
- };
5
- export declare function withoutExternalStyle<T extends {
6
- className?: never;
7
- style?: never;
8
- }>(props: T): Omit<T, "className" | "style">;