@lism-css/mcp 0.11.0 → 0.13.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.ja.md +4 -2
- package/README.md +4 -2
- package/dist/data/docs-index.json +456 -178
- package/dist/data/guides/SKILL.md +154 -0
- package/dist/data/guides/base-styles.md +106 -0
- package/dist/data/guides/components-core.md +292 -0
- package/dist/data/guides/components-ui.md +351 -0
- package/dist/data/guides/css-rules.md +166 -0
- package/dist/data/guides/primitive-class.md +148 -0
- package/dist/data/guides/primitives/a--decorator.md +45 -0
- package/dist/data/guides/primitives/a--divider.md +69 -0
- package/dist/data/guides/primitives/a--icon.md +105 -0
- package/dist/data/guides/primitives/a--spacer.md +63 -0
- package/dist/data/guides/primitives/is--boxLink.md +97 -0
- package/dist/data/guides/primitives/is--container.md +46 -0
- package/dist/data/guides/primitives/is--layer.md +71 -0
- package/dist/data/guides/primitives/is--vertical.md +52 -0
- package/dist/data/guides/primitives/is--wrapper.md +87 -0
- package/dist/data/guides/primitives/l--box.md +31 -0
- package/dist/data/guides/primitives/l--center.md +55 -0
- package/dist/data/guides/primitives/l--cluster.md +38 -0
- package/dist/data/guides/primitives/l--columns.md +72 -0
- package/dist/data/guides/primitives/l--flex.md +74 -0
- package/dist/data/guides/primitives/l--flow.md +134 -0
- package/dist/data/guides/primitives/l--fluidCols.md +68 -0
- package/dist/data/guides/primitives/l--frame.md +94 -0
- package/dist/data/guides/primitives/l--grid.md +68 -0
- package/dist/data/guides/primitives/l--sideMain.md +102 -0
- package/dist/data/guides/primitives/l--stack.md +56 -0
- package/dist/data/guides/primitives/l--switchCols.md +69 -0
- package/dist/data/guides/primitives/l--tileGrid.md +61 -0
- package/dist/data/guides/prop-responsive.md +54 -0
- package/dist/data/guides/property-class.md +401 -0
- package/dist/data/guides/set-class.md +192 -0
- package/dist/data/guides/tokens.md +228 -0
- package/dist/data/guides/utility-class.md +82 -0
- package/dist/data/meta.js +2 -2
- package/dist/index.js +4 -0
- package/dist/lib/load-data.js +2 -11
- package/dist/lib/load-markdown.d.ts +7 -0
- package/dist/lib/load-markdown.js +47 -0
- package/dist/lib/markdown-utils.d.ts +42 -0
- package/dist/lib/markdown-utils.js +158 -0
- package/dist/lib/schemas.d.ts +0 -242
- package/dist/lib/schemas.js +0 -64
- package/dist/lib/search.d.ts +2 -16
- package/dist/lib/search.js +29 -69
- package/dist/lib/types.d.ts +0 -64
- package/dist/tools/convert-css.js +96 -55
- package/dist/tools/get-component.js +150 -30
- package/dist/tools/get-guide.d.ts +2 -0
- package/dist/tools/get-guide.js +45 -0
- package/dist/tools/get-overview.js +26 -39
- package/dist/tools/get-props-system.js +45 -33
- package/dist/tools/get-tokens.js +9 -14
- package/dist/tools/search-docs.js +28 -10
- package/package.json +2 -2
- package/dist/data/components.json +0 -564
- package/dist/data/overview.json +0 -114
- package/dist/data/props-system.json +0 -1147
- package/dist/data/tokens.json +0 -148
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
"title": "概要",
|
|
5
5
|
"description": "Lism CSS の概要と特徴について解説します。",
|
|
6
6
|
"category": "guide",
|
|
7
|
-
"headings": ["Lism CSS
|
|
7
|
+
"headings": ["Why Lism CSS?", "ゼロビルドでどんな環境でも使えます。", "Lism CSS のエコシステム", "Inspirations"],
|
|
8
8
|
"keywords": ["overview", "概要", "特徴", "レイアウトファースト", "ゼロビルド", "コンテナクエリ", "Every Layout", "framework"],
|
|
9
|
-
"snippet": "Lism CSS は、WEB
|
|
9
|
+
"snippet": "Lism CSS は、WEBサイトの骨組みをテンポ良く美しく作るための軽量なCSS設計フレームワーク。CSS設計不要でCDNから1行で導入可能。React/Astro向け専用コンポーネントも提供。エコシステムとして @lism-css/ui、@lism-css/cli、@lism-css/mcp も用意。"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"sourcePath": "installation.mdx",
|
|
13
13
|
"title": "インストール",
|
|
14
14
|
"description": "Lism CSS のインストール方法と基本的な使い方を解説します。",
|
|
15
15
|
"category": "guide",
|
|
16
|
-
"headings": ["CSS設計のみを導入したい場合", "
|
|
16
|
+
"headings": ["CSS設計のみを導入したい場合", "Lism専用のJSXコンポーネントを使用したい場合", "Lism UI の導入", "AIツール連携"],
|
|
17
17
|
"keywords": ["install", "インストール", "CDN", "npm", "setup", "セットアップ", "導入", "MCP", "AI"],
|
|
18
|
-
"snippet": "CSSを読み込むだけでも導入でき、CDN経由でも利用可能。npm パッケージとしてインストールし、lism-css/react や lism-css/astro からコンポーネントをインポートして使用。AIコーディングツール向けのMCPサーバーも提供。"
|
|
18
|
+
"snippet": "CSSを読み込むだけでも導入でき、CDN経由でも利用可能。npm パッケージとしてインストールし、lism-css/react や lism-css/astro からコンポーネントをインポートして使用。UIコンポーネントは別パッケージ @lism-css/ui として提供。AIコーディングツール向けのSkills・MCPサーバーも提供。"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"sourcePath": "css-methodology.mdx",
|
|
@@ -31,29 +31,66 @@
|
|
|
31
31
|
"命名規則",
|
|
32
32
|
"naming",
|
|
33
33
|
"BEM",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"Property Class",
|
|
35
|
+
"Primitive Class",
|
|
36
|
+
"Component Class",
|
|
36
37
|
"Set Class",
|
|
37
38
|
"Utility Class",
|
|
38
39
|
"省略",
|
|
39
40
|
"Emmet"
|
|
40
41
|
],
|
|
41
|
-
"snippet": "CSSの階層構造を明確に定義。@layer lism-
|
|
42
|
+
"snippet": "CSSの階層構造を明確に定義。@layer lism-base → lism-primitive → lism-component → lism-custom → lism-utility の順。lism-primitive は trait/layout/atomic のサブレイヤーを持ち、lism-component は BEM 構造の c-- 用、lism-custom はユーザー独自プレフィックスのクラス用レイヤー。Primitive Class (.l--name, .a--name, .is--name 等)、Component Class (.c--name)、Property Class (.-prop:value)、Set Class (.set--name) の命名規則を説明。"
|
|
42
43
|
},
|
|
43
44
|
{
|
|
44
45
|
"sourcePath": "tokens.mdx",
|
|
45
|
-
"title": "
|
|
46
|
+
"title": "デザイントークン",
|
|
46
47
|
"description": "Lism CSS で定義されているカラー、スペーシング、シャドウなどのデザイントークン一覧を紹介します。",
|
|
47
48
|
"category": "guide",
|
|
48
|
-
"headings": ["COLOR", "RADIUS", "SHADOW", "OPACITY", "SIZE"],
|
|
49
|
-
"keywords": ["token", "トークン", "design token", "
|
|
50
|
-
"snippet": "
|
|
49
|
+
"headings": ["COLOR", "Typography", "SPACE", "RADIUS", "SHADOW", "OPACITY", "SIZE"],
|
|
50
|
+
"keywords": ["token", "トークン", "design token", "shadow", "radius", "opacity", "size", "color", "spacing", "typography"],
|
|
51
|
+
"snippet": "デザイントークンの一覧ページ。COLOR, Typography, SPACE, RADIUS, SHADOW, OPACITY, SIZE トークンを掲載。カラー・タイポグラフィ・スペーシングは個別ページでも詳細を解説。"
|
|
51
52
|
},
|
|
52
53
|
{
|
|
53
|
-
"sourcePath": "
|
|
54
|
-
"title": "
|
|
55
|
-
"description": "CSS
|
|
56
|
-
"category": "
|
|
54
|
+
"sourcePath": "tokens/colors.mdx",
|
|
55
|
+
"title": "カラートークン",
|
|
56
|
+
"description": "Lism CSS で定義されているセマンティックカラーとパレットカラーのトークン、カスタマイズ方法について解説します。",
|
|
57
|
+
"category": "guide",
|
|
58
|
+
"headings": ["COLOR", "PALETTE", "パレットカラーの活用", "カスタマイズ例"],
|
|
59
|
+
"keywords": ["color", "カラー", "palette", "パレット", "OKLCH", "brand", "accent", "dark mode", "ダークモード", "u--cbox", "keycolor"],
|
|
60
|
+
"snippet": "セマンティックカラー(base, text, brand, accent等)とOKLCHベースのパレットカラー(red, blue, green等)を定義。u--cboxユーティリティでの活用例、ダークモード対応などのカスタマイズ方法を紹介。"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"sourcePath": "tokens/typography.mdx",
|
|
64
|
+
"title": "タイポグラフィトークン",
|
|
65
|
+
"description": "Lism CSS で使用するフォントファミリー、フォントサイズ、行間などのタイポグラフィ関連のデザイントークンについて解説します。",
|
|
66
|
+
"category": "guide",
|
|
67
|
+
"headings": ["FF: font-family", "FW : font-weight", "FZ: font-size", "LH: line-height", "LTS: letter-spacing"],
|
|
68
|
+
"keywords": ["typography", "タイポグラフィ", "font", "文字", "テキスト", "heading", "font-size"],
|
|
69
|
+
"snippet": "フォントサイズ(調和数列ベース)、文字間隔などのタイポグラフィ設計を解説。フォントサイズのスケーリング規則を紹介。"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"sourcePath": "tokens/half-leading.mdx",
|
|
73
|
+
"title": "ハーフレディング(line-height)",
|
|
74
|
+
"description": "Lism CSS のハーフレディングによる line-height 管理の仕組みと、関連するデザイントークンについて解説します。",
|
|
75
|
+
"category": "guide",
|
|
76
|
+
"headings": ["仕組み", "トークン", "lh クラス", "ハーフレディング管理のメリット"],
|
|
77
|
+
"keywords": ["line-height", "half-leading", "ハーフレディング", "行間", "lh", "--hl"],
|
|
78
|
+
"snippet": "line-heightをハーフレディング(文字上下の余白)で管理する仕組み。`calc(1em + var(--hl) * 2)` によりフォントサイズに依存しない一定の行間を実現。--hl--xs/s/base/l のトークンと -lh:{token} クラスの使い方を解説。"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"sourcePath": "tokens/spacing.mdx",
|
|
82
|
+
"title": "スペーシングトークン",
|
|
83
|
+
"description": "Lism CSS のフィボナッチ数列に基づくスペーシングトークンと、対応するpropertyクラスについて解説します。",
|
|
84
|
+
"category": "guide",
|
|
85
|
+
"headings": ["SPACE: 余白のスケーリング", "対応する Property Class"],
|
|
86
|
+
"keywords": ["spacing", "余白", "スペーシング", "フィボナッチ", "padding", "margin", "gap", "property class"],
|
|
87
|
+
"snippet": "フィボナッチ数列に基づいた余白スケーリング(5〜80)を定義。p, px, py, m, mx, my, g等のpropertyクラスでフルサポート。方向別プロパティはBP対応のみなど、対応範囲を詳細に解説。"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"sourcePath": "property-class.mdx",
|
|
91
|
+
"title": "Property Class",
|
|
92
|
+
"description": "CSSプロパティに紐づいた Property Class の一覧とその使い方について解説します。",
|
|
93
|
+
"category": "property-class",
|
|
57
94
|
"headings": [
|
|
58
95
|
"このページの表の見方",
|
|
59
96
|
"Typography",
|
|
@@ -64,15 +101,18 @@
|
|
|
64
101
|
"Positions",
|
|
65
102
|
"Layouts",
|
|
66
103
|
"Styling",
|
|
104
|
+
"Background",
|
|
67
105
|
"Other CSS"
|
|
68
106
|
],
|
|
69
107
|
"keywords": [
|
|
70
|
-
"
|
|
108
|
+
"property class",
|
|
71
109
|
"utility",
|
|
72
110
|
"ユーティリティ",
|
|
73
111
|
"クラス",
|
|
74
112
|
"CSS property",
|
|
75
113
|
"g",
|
|
114
|
+
"cg",
|
|
115
|
+
"rg",
|
|
76
116
|
"p",
|
|
77
117
|
"m",
|
|
78
118
|
"fz",
|
|
@@ -129,15 +169,6 @@
|
|
|
129
169
|
"keywords": ["responsive", "レスポンシブ", "ブレークポイント", "breakpoint", "コンテナクエリ", "container query", "sm", "md"],
|
|
130
170
|
"snippet": "CSS変数とクラスを組み合わせたレスポンシブ対応。コンテナクエリをデフォルトで採用。p={[20, 30, 40]} のような配列記法で sm, md ブレークポイントの値を指定。"
|
|
131
171
|
},
|
|
132
|
-
{
|
|
133
|
-
"sourcePath": "typography.mdx",
|
|
134
|
-
"title": "Typography & Spacing",
|
|
135
|
-
"description": "Lism CSS で使用するフォントやスペーシングに関するデザイントークンについて解説します。",
|
|
136
|
-
"category": "guide",
|
|
137
|
-
"headings": ["Typography", "`SPACE`: 余白のスケーリング"],
|
|
138
|
-
"keywords": ["typography", "タイポグラフィ", "font", "文字", "テキスト", "heading", "spacing", "余白", "スペーシング", "フィボナッチ"],
|
|
139
|
-
"snippet": "フォントサイズ、行間、文字間隔などのタイポグラフィ設計と、フィボナッチ数列に基づいた余白のスケーリングについて解説。ハーフレディングによるline-height管理の仕組みを紹介。"
|
|
140
|
-
},
|
|
141
172
|
{
|
|
142
173
|
"sourcePath": "reset-css.mdx",
|
|
143
174
|
"title": "Reset CSS",
|
|
@@ -158,24 +189,12 @@
|
|
|
158
189
|
},
|
|
159
190
|
{
|
|
160
191
|
"sourcePath": "utility-class.mdx",
|
|
161
|
-
"title": "
|
|
192
|
+
"title": "Utility Class",
|
|
162
193
|
"description": "スタイルや装飾をまとめて適用できる Lism CSS のユーティリティクラスについて解説します。",
|
|
163
194
|
"category": "guide",
|
|
164
|
-
"headings": ["u--cbox", "u--trim & u--trimChildren", "u--
|
|
165
|
-
"keywords": [
|
|
166
|
-
|
|
167
|
-
"ユーティリティ",
|
|
168
|
-
"class",
|
|
169
|
-
"クラス",
|
|
170
|
-
"u--cbox",
|
|
171
|
-
"u--trim",
|
|
172
|
-
"u--expandedLink",
|
|
173
|
-
"u--srOnly",
|
|
174
|
-
"u--collapseGrid",
|
|
175
|
-
"u--snap",
|
|
176
|
-
"u--clipText"
|
|
177
|
-
],
|
|
178
|
-
"snippet": "用途が明確な装飾・機能をまとめてセットするユーティリティクラス (.u--{style}) の一覧。u--cbox, u--trim, u--expandedLink, u--collapseGrid 等を解説。"
|
|
195
|
+
"headings": ["u--cbox", "u--trim & u--trimChildren", "u--srOnly", "u--collapseGrid", "u--snap", "u--clipText", "Opt-in"],
|
|
196
|
+
"keywords": ["utility", "ユーティリティ", "class", "クラス", "u--cbox", "u--trim", "u--srOnly", "u--collapseGrid", "u--snap", "u--clipText"],
|
|
197
|
+
"snippet": "用途が明確な装飾・機能をまとめてセットするユーティリティクラス (.u--{style}) の一覧。u--cbox, u--trim, u--collapseGrid 等を解説。"
|
|
179
198
|
},
|
|
180
199
|
{
|
|
181
200
|
"sourcePath": "set-class.mdx",
|
|
@@ -187,20 +206,20 @@
|
|
|
187
206
|
"snippet": "ベーススタイルの上書きやトークンの再定義、機能的なプロパティを初期セットするためのクラス (.set--{style})。set--plain, set--shadow, set--transition, set--hov, set--bp, set--innerRs, set--gutter を解説。"
|
|
188
207
|
},
|
|
189
208
|
{
|
|
190
|
-
"sourcePath": "
|
|
191
|
-
"title": "
|
|
192
|
-
"description": "Lism CSS
|
|
209
|
+
"sourcePath": "primitives.mdx",
|
|
210
|
+
"title": "Primitive Class",
|
|
211
|
+
"description": "Lism CSS のプリミティブクラス(is--, l--, a--)の分類と使い方について解説します。",
|
|
193
212
|
"category": "guide",
|
|
194
|
-
"headings": ["
|
|
195
|
-
"keywords": ["
|
|
196
|
-
"snippet": "
|
|
213
|
+
"headings": ["Trait Primitives", "Layout Primitives", "Atomic Primitives"],
|
|
214
|
+
"keywords": ["primitive", "プリミティブ", "trait", "layout", "レイアウト", "class", "BEM", "is--vertical"],
|
|
215
|
+
"snippet": "レイアウトを組み立てる積み木として Primitive クラスを定義。.l--{name}, .a--{name}, .is--{name} 等の命名規則。Trait Primitives (is--container, is--wrapper, is--layer, is--boxLink, is--vertical) も解説。BEM 構造を持つ Component Class (.c--{name}) は別レイヤー(lism-component)に配置される。"
|
|
197
216
|
},
|
|
198
217
|
{
|
|
199
218
|
"sourcePath": "base-styles.mdx",
|
|
200
219
|
"title": "Base Styles",
|
|
201
220
|
"description": "@lism-base レイヤーで定義される Reset CSS やHTML要素のベーススタイルについて解説します。",
|
|
202
221
|
"category": "guide",
|
|
203
|
-
"headings": ["Reset CSS", "Base styles"],
|
|
222
|
+
"headings": ["Reset CSS", "Base styles", "HTML基本スタイルのプレビュー"],
|
|
204
223
|
"keywords": ["html", "base", "ベース", "スタイル", "要素", "reset"],
|
|
205
224
|
"snippet": "Lism CSS がHTML要素に対して適用するベーススタイルについて解説。Reset CSSと@lism-baseレイヤーで定義されるベーススタイルを紹介。"
|
|
206
225
|
},
|
|
@@ -210,6 +229,10 @@
|
|
|
210
229
|
"description": "Lism CSS の各バージョンにおける変更履歴をまとめています。",
|
|
211
230
|
"category": "guide",
|
|
212
231
|
"headings": [
|
|
232
|
+
"v.0.13.0 (unreleased)",
|
|
233
|
+
"`@lism-css/ui` v.0.12.0 (2026.04.10)",
|
|
234
|
+
"`@lism-css/ui` v.0.11.0 (2026.04.05)",
|
|
235
|
+
"v.0.12.0 (2026.04.10)",
|
|
213
236
|
"v.0.11.0 (2026.04.05)",
|
|
214
237
|
"v.0.10.5 (2026.04.05)",
|
|
215
238
|
"v.0.10.4 (2026.04.04)",
|
|
@@ -229,28 +252,28 @@
|
|
|
229
252
|
"snippet": "Lism CSS の各バージョンにおける変更内容を記載。"
|
|
230
253
|
},
|
|
231
254
|
{
|
|
232
|
-
"sourcePath": "
|
|
255
|
+
"sourcePath": "property-class/bd.mdx",
|
|
233
256
|
"title": "-bd",
|
|
234
257
|
"description": "ボーダーを指定する -bd プロパティクラスと関連するCSS変数の使い方について解説します。",
|
|
235
|
-
"category": "
|
|
258
|
+
"category": "property-class",
|
|
236
259
|
"headings": ["方向指定", "bdwをブレイクポイントで切り替える", "任意の`border`をインライン出力する方法"],
|
|
237
260
|
"keywords": ["border", "ボーダー", "bd", "bdc", "bdw", "bds", "bdrs", "枠線", "border-color", "border-width", "border-style", "border-radius"],
|
|
238
261
|
"snippet": "ボーダー関連のProp。bd, bdc, bdw, bds, bdrs を使ったボーダースタイルの設定方法。方向指定やブレイクポイントでの切り替えも解説。"
|
|
239
262
|
},
|
|
240
263
|
{
|
|
241
|
-
"sourcePath": "
|
|
264
|
+
"sourcePath": "property-class/hov.mdx",
|
|
242
265
|
"title": "-hov",
|
|
243
266
|
"description": "hover時の挙動をコントロールする -hov プロパティクラスの使い方について解説します。",
|
|
244
|
-
"category": "
|
|
245
|
-
"headings": ["基本的な使い方", "`.set--hov`
|
|
267
|
+
"category": "property-class",
|
|
268
|
+
"headings": ["基本的な使い方", "`.set--hov` と `-hov:to:xxx`"],
|
|
246
269
|
"keywords": ["hover", "ホバー", "hov", "インタラクション", "animation", "set--hov", "set--transition", "transition"],
|
|
247
|
-
"snippet": "ホバー関連のProp
|
|
270
|
+
"snippet": "ホバー関連のProp。-hov:{prop} クラスでホバーエフェクトを設定。set--transition との組み合わせでアニメーション実現。set--hov と -hov:to:xxx クラスで親要素ホバー時の子要素スタイル制御も可能。"
|
|
248
271
|
},
|
|
249
272
|
{
|
|
250
|
-
"sourcePath": "
|
|
273
|
+
"sourcePath": "property-class/max-sz.mdx",
|
|
251
274
|
"title": "サイズ制御クラス -max-sz:",
|
|
252
275
|
"description": "コンテンツの最大幅を制御する -max-sz ユーティリティクラスの使い方について解説します。",
|
|
253
|
-
"category": "
|
|
276
|
+
"category": "property-class",
|
|
254
277
|
"headings": ["-max-sz:full, -max-sz:container", "DEMOページ"],
|
|
255
278
|
"keywords": ["max-sz", "max-inline-size", "最大サイズ", "幅", "full", "container"],
|
|
256
279
|
"snippet": "max-sz (max-inline-size) の Prop。xs, s, m, l, xl のサイズトークンで最大幅を指定。-max-sz:full, -max-sz:container の特殊クラスも解説。"
|
|
@@ -260,7 +283,7 @@
|
|
|
260
283
|
"title": "Lism",
|
|
261
284
|
"description": "LismのCSS設計に対応した様々なプロパティを受け取ることができる汎用的なコンポーネントです。",
|
|
262
285
|
"category": "core-components",
|
|
263
|
-
"headings": ["Import", "Lism Props"
|
|
286
|
+
"headings": ["Import", "Lism Props"],
|
|
264
287
|
"keywords": ["Lism", "core", "コア", "基盤", "コンポーネント", "lismClass", "variant", "layout", "as", "exProps"],
|
|
265
288
|
"snippet": "全コンポーネントの基盤。Props システムによる CSS クラス・スタイルの自動変換を提供。as prop で出力要素や外部コンポーネントを指定可能。レスポンシブ指定は配列またはオブジェクト形式で対応。"
|
|
266
289
|
},
|
|
@@ -324,7 +347,7 @@
|
|
|
324
347
|
"description": "プロトタイピングやデザインモックアップ用のダミーテキストを出力するコンポーネントです。",
|
|
325
348
|
"category": "ui",
|
|
326
349
|
"headings": ["Props", "Import", "使用例"],
|
|
327
|
-
"keywords": ["DummyText", "ダミー", "テスト", "プレビュー", "プレースホルダー", "lorem ipsum"],
|
|
350
|
+
"keywords": ["DummyText", "ダミー", "テスト", "プレビュー", "プレースホルダー", "lorem ipsum", "placeholder"],
|
|
328
351
|
"snippet": "ダミーテキストを生成するコンポーネント。複数の言語とテキスト長に対応。@lism-css/uiパッケージから提供。"
|
|
329
352
|
},
|
|
330
353
|
{
|
|
@@ -337,38 +360,50 @@
|
|
|
337
360
|
"snippet": "cdn.lism-css.comからダミーのプレースホルダー画像を出力するコンポーネント。@lism-css/uiパッケージから提供。"
|
|
338
361
|
},
|
|
339
362
|
{
|
|
340
|
-
"sourcePath": "
|
|
363
|
+
"sourcePath": "primitives/l--box.mdx",
|
|
341
364
|
"title": "Box / l--box",
|
|
342
|
-
"description": "
|
|
343
|
-
"category": "
|
|
344
|
-
"headings": ["
|
|
365
|
+
"description": "l--box は、コンテンツをグループ化するだけのシンプルなクラスです。",
|
|
366
|
+
"category": "primitives",
|
|
367
|
+
"headings": ["Lismコンポーネント", "Usage"],
|
|
345
368
|
"keywords": ["Box", "ボックス", "layout", "レイアウト", "l--box"],
|
|
346
|
-
"snippet": "
|
|
369
|
+
"snippet": "最も基本的なレイアウトプリミティブ。コンテンツをグループ化するだけのシンプルな汎用ボックス要素。l--box クラスが付与される。"
|
|
347
370
|
},
|
|
348
371
|
{
|
|
349
|
-
"sourcePath": "
|
|
372
|
+
"sourcePath": "primitives/l--flex.mdx",
|
|
350
373
|
"title": "Flex / l--flex",
|
|
351
|
-
"description": "
|
|
352
|
-
"category": "
|
|
353
|
-
"headings": ["CSS", "
|
|
374
|
+
"description": "l--flex は、コンテンツを Flex レイアウトで配置するためのクラスです。",
|
|
375
|
+
"category": "primitives",
|
|
376
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
354
377
|
"keywords": ["Flex", "flexbox", "フレックス", "layout", "l--flex", "横並び", "display", "display: flex", "flex-direction", "flex-wrap"],
|
|
355
378
|
"snippet": "Flexboxレイアウトを構成。display: flex が適用される。g, ai, jc, fxw, fxd 等で配置を制御。"
|
|
356
379
|
},
|
|
357
380
|
{
|
|
358
|
-
"sourcePath": "
|
|
381
|
+
"sourcePath": "primitives/l--stack.mdx",
|
|
359
382
|
"title": "Stack / l--stack",
|
|
360
|
-
"description": "
|
|
361
|
-
"category": "
|
|
362
|
-
"headings": ["CSS", "
|
|
363
|
-
"keywords": [
|
|
383
|
+
"description": "l--stack は、複数の要素を Flex レイアウトで縦並びに配置するクラスです。",
|
|
384
|
+
"category": "primitives",
|
|
385
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
386
|
+
"keywords": [
|
|
387
|
+
"Stack",
|
|
388
|
+
"スタック",
|
|
389
|
+
"縦並び",
|
|
390
|
+
"vertical",
|
|
391
|
+
"l--stack",
|
|
392
|
+
"display",
|
|
393
|
+
"display: flex",
|
|
394
|
+
"flex-direction",
|
|
395
|
+
"flex-direction: column",
|
|
396
|
+
"縦積み",
|
|
397
|
+
"column direction"
|
|
398
|
+
],
|
|
364
399
|
"snippet": "縦方向に要素を積み重ねるFlexレイアウト。flex-direction: column のFlex。ai='center'で内在的な中央寄せも可能。"
|
|
365
400
|
},
|
|
366
401
|
{
|
|
367
|
-
"sourcePath": "
|
|
402
|
+
"sourcePath": "primitives/l--grid.mdx",
|
|
368
403
|
"title": "Grid / l--grid",
|
|
369
|
-
"description": "
|
|
370
|
-
"category": "
|
|
371
|
-
"headings": ["
|
|
404
|
+
"description": "l--grid は、コンテンツを Grid レイアウトで配置するためのクラスです。",
|
|
405
|
+
"category": "primitives",
|
|
406
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
372
407
|
"keywords": [
|
|
373
408
|
"Grid",
|
|
374
409
|
"グリッド",
|
|
@@ -379,134 +414,208 @@
|
|
|
379
414
|
"display",
|
|
380
415
|
"display: grid",
|
|
381
416
|
"grid-template-columns",
|
|
382
|
-
"grid-template-rows"
|
|
417
|
+
"grid-template-rows",
|
|
418
|
+
"格子"
|
|
383
419
|
],
|
|
384
|
-
"snippet": "CSS Gridレイアウトを構成。
|
|
420
|
+
"snippet": "CSS Gridレイアウトを構成。subgridもサポート。均等タイルは l--tileGrid を参照。"
|
|
385
421
|
},
|
|
386
422
|
{
|
|
387
|
-
"sourcePath": "
|
|
423
|
+
"sourcePath": "primitives/l--tileGrid.mdx",
|
|
424
|
+
"title": "TileGrid / l--tileGrid",
|
|
425
|
+
"description": "l--tileGrid は、列数と行数を指定して均等なタイル型グリッドレイアウトを構成するクラスです。",
|
|
426
|
+
"category": "primitives",
|
|
427
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
428
|
+
"keywords": [
|
|
429
|
+
"TileGrid",
|
|
430
|
+
"タイル",
|
|
431
|
+
"グリッド",
|
|
432
|
+
"grid",
|
|
433
|
+
"l--tileGrid",
|
|
434
|
+
"display",
|
|
435
|
+
"display: grid",
|
|
436
|
+
"grid-template",
|
|
437
|
+
"cols",
|
|
438
|
+
"rows",
|
|
439
|
+
"1fr",
|
|
440
|
+
"repeat",
|
|
441
|
+
"tile",
|
|
442
|
+
"均等"
|
|
443
|
+
],
|
|
444
|
+
"snippet": "colsとrowsで均等なタイル型グリッドレイアウトを構成。grid-template: repeat(rows, minmax(0, 1fr)) / repeat(cols, minmax(0, 1fr)) のGrid。ブレイクポイント指定も可能。"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"sourcePath": "primitives/l--center.mdx",
|
|
388
448
|
"title": "Center / l--center",
|
|
389
|
-
"description": "
|
|
390
|
-
"category": "
|
|
391
|
-
"headings": ["CSS", "
|
|
392
|
-
"keywords": ["Center", "中央揃え", "center", "layout", "l--center", "display", "display: grid", "place-items", "place-items: center"],
|
|
449
|
+
"description": "l--center は、要素を上下左右中央揃えで配置するためのクラスです。",
|
|
450
|
+
"category": "primitives",
|
|
451
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
452
|
+
"keywords": ["Center", "中央揃え", "center", "layout", "l--center", "display", "display: grid", "place-items", "place-items: center", "中央配置"],
|
|
393
453
|
"snippet": "子要素を中央揃えにするレイアウト。place-items: center の Grid。高さがあれば上下左右中央揃え。"
|
|
394
454
|
},
|
|
395
455
|
{
|
|
396
|
-
"sourcePath": "
|
|
456
|
+
"sourcePath": "primitives/l--cluster.mdx",
|
|
397
457
|
"title": "Cluster / l--cluster",
|
|
398
|
-
"description": "
|
|
399
|
-
"category": "
|
|
400
|
-
"headings": ["CSS", "
|
|
401
|
-
"keywords": ["Cluster", "クラスター", "横並び", "wrap", "l--cluster", "タグ", "display", "display: flex", "flex-wrap"],
|
|
458
|
+
"description": "l--cluster は、複数の要素を横方向に並べて配置し、数が多ければ折り返すクラスです。",
|
|
459
|
+
"category": "primitives",
|
|
460
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
461
|
+
"keywords": ["Cluster", "クラスター", "横並び", "wrap", "l--cluster", "タグ", "display", "display: flex", "flex-wrap", "badge list"],
|
|
402
462
|
"snippet": "横方向に要素を並べ、自動的に折り返すFlexレイアウト。タグやバッジの並びに適している。"
|
|
403
463
|
},
|
|
404
464
|
{
|
|
405
|
-
"sourcePath": "
|
|
465
|
+
"sourcePath": "primitives/l--columns.mdx",
|
|
406
466
|
"title": "Columns / l--columns",
|
|
407
|
-
"description": "
|
|
408
|
-
"category": "
|
|
409
|
-
"headings": ["
|
|
410
|
-
"keywords": [
|
|
467
|
+
"description": "l--columns は、ブレイクポイントごとに指定した列数で表示できるカラムクラスです。",
|
|
468
|
+
"category": "primitives",
|
|
469
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
470
|
+
"keywords": [
|
|
471
|
+
"Columns",
|
|
472
|
+
"カラム",
|
|
473
|
+
"列",
|
|
474
|
+
"multi-column",
|
|
475
|
+
"l--columns",
|
|
476
|
+
"subgrid",
|
|
477
|
+
"display",
|
|
478
|
+
"display: grid",
|
|
479
|
+
"grid-template-columns",
|
|
480
|
+
"等分割",
|
|
481
|
+
"multi column"
|
|
482
|
+
],
|
|
411
483
|
"snippet": "均等幅のカラムレイアウト。cols で列数を指定する Grid。レスポンシブ対応可能。subgridも活用可能。"
|
|
412
484
|
},
|
|
413
485
|
{
|
|
414
|
-
"sourcePath": "
|
|
486
|
+
"sourcePath": "primitives/l--flow.mdx",
|
|
415
487
|
"title": "Flow / l--flow",
|
|
416
|
-
"description": "
|
|
417
|
-
"category": "
|
|
418
|
-
"headings": ["
|
|
419
|
-
"keywords": ["Flow", "フロー", "コンテンツ", "記事", "l--flow", "本文", "is--skipFlow", "display: flow-root"],
|
|
420
|
-
"snippet": "
|
|
488
|
+
"description": "l--flow は、子要素間の余白を margin で管理するフロークラスです。",
|
|
489
|
+
"category": "primitives",
|
|
490
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage", "`l--flow` を入れ子にする時の注意点"],
|
|
491
|
+
"keywords": ["Flow", "フロー", "コンテンツ", "記事", "l--flow", "本文", "is--skipFlow", "display: flow-root", "article body", "縦方向余白"],
|
|
492
|
+
"snippet": "コンテンツフロー用のレイアウト。子要素間の余白を margin で管理。見出しタグは余白が大きくなる。is--skipFlowで余白打ち消しも可能。"
|
|
421
493
|
},
|
|
422
494
|
{
|
|
423
|
-
"sourcePath": "
|
|
495
|
+
"sourcePath": "primitives/l--fluidCols.mdx",
|
|
424
496
|
"title": "FluidCols / l--fluidCols",
|
|
425
|
-
"description": "
|
|
426
|
-
"category": "
|
|
427
|
-
"headings": ["
|
|
428
|
-
"keywords": [
|
|
497
|
+
"description": "l--fluidCols は、カラム要素が指定した幅より小さくならないように自動で折り返す、ブレイクポイント非依存の段組みクラスです。",
|
|
498
|
+
"category": "primitives",
|
|
499
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
500
|
+
"keywords": [
|
|
501
|
+
"FluidCols",
|
|
502
|
+
"流動カラム",
|
|
503
|
+
"auto-fill",
|
|
504
|
+
"fluid",
|
|
505
|
+
"l--fluidCols",
|
|
506
|
+
"display",
|
|
507
|
+
"display: grid",
|
|
508
|
+
"auto-wrap",
|
|
509
|
+
"自動折り返し",
|
|
510
|
+
"responsive grid",
|
|
511
|
+
"メディアクエリなし",
|
|
512
|
+
"折り返しグリッド"
|
|
513
|
+
],
|
|
429
514
|
"snippet": "子要素が最小幅に達すると自動的に折り返すグリッドレイアウト。メディアクエリに依存しない。cols で最小幅を指定。"
|
|
430
515
|
},
|
|
431
516
|
{
|
|
432
|
-
"sourcePath": "
|
|
517
|
+
"sourcePath": "primitives/l--frame.mdx",
|
|
433
518
|
"title": "Frame / l--frame",
|
|
434
|
-
"description": "
|
|
435
|
-
"category": "
|
|
436
|
-
"headings": ["
|
|
437
|
-
"keywords": ["Frame", "フレーム", "aspect-ratio", "アスペクト比", "l--frame", "画像", "video", "iframe"],
|
|
438
|
-
"snippet": "直下のメディア要素(img, video, iframe
|
|
519
|
+
"description": "l--frame は、直下のメディア要素(img, video, iframe)を自身のサイズにフィットさせて表示するクラスです。",
|
|
520
|
+
"category": "primitives",
|
|
521
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
522
|
+
"keywords": ["Frame", "フレーム", "aspect-ratio", "アスペクト比", "l--frame", "画像", "video", "iframe", "比率維持"],
|
|
523
|
+
"snippet": "直下のメディア要素(img, video, iframe)を自身のサイズにフィットさせて表示するクラス。arでアスペクト比を指定。"
|
|
439
524
|
},
|
|
440
525
|
{
|
|
441
|
-
"sourcePath": "
|
|
526
|
+
"sourcePath": "primitives/l--switchCols.mdx",
|
|
442
527
|
"title": "SwitchCols / l--switchCols",
|
|
443
|
-
"description": "
|
|
444
|
-
"category": "
|
|
445
|
-
"headings": ["
|
|
446
|
-
"keywords": ["SwitchCols", "切り替え", "switch", "カラム", "l--switchCols"],
|
|
447
|
-
"snippet": "複数列以上と1
|
|
528
|
+
"description": "l--switchCols は、複数列と1列の切り替えをコンテナクエリやメディアクエリを使わずに実装するクラスです。",
|
|
529
|
+
"category": "primitives",
|
|
530
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
531
|
+
"keywords": ["SwitchCols", "切り替え", "switch", "カラム", "l--switchCols", "responsive columns", "メディアクエリなし"],
|
|
532
|
+
"snippet": "複数列以上と1列への切り替えをコンテナクエリ・メディアクエリを使わずに実装するクラス。breakSizeで切り替えポイントを指定。"
|
|
448
533
|
},
|
|
449
534
|
{
|
|
450
|
-
"sourcePath": "
|
|
535
|
+
"sourcePath": "primitives/l--sideMain.mdx",
|
|
451
536
|
"title": "SideMain / l--sideMain",
|
|
452
|
-
"description": "
|
|
453
|
-
"category": "
|
|
454
|
-
"headings": ["
|
|
455
|
-
"keywords": ["SideMain", "サイドバー", "sidebar", "メイン", "l--sideMain", "2カラム", "is--side"],
|
|
456
|
-
"snippet": "サイドバー + メインコンテンツの2カラムレイアウト。メイン側が可変幅。sideW, mainW
|
|
537
|
+
"description": "l--sideMain は、維持したいコンテンツの長さを基準にして、横並び・縦並びが自動で切り替わる2カラムレイアウトのクラスです。",
|
|
538
|
+
"category": "primitives",
|
|
539
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage", "`Grid`を使って似たレイアウトを構成する例"],
|
|
540
|
+
"keywords": ["SideMain", "サイドバー", "sidebar", "メイン", "l--sideMain", "2カラム", "is--side", "two column"],
|
|
541
|
+
"snippet": "サイドバー + メインコンテンツの2カラムレイアウト。メイン側が可変幅。sideW, mainWで幅を制御。メディアクエリ・コンテナクエリに依存せず自動で切り替わる。"
|
|
457
542
|
},
|
|
458
543
|
{
|
|
459
|
-
"sourcePath": "
|
|
544
|
+
"sourcePath": "primitives/is--container.mdx",
|
|
460
545
|
"title": "Container / is--container",
|
|
461
|
-
"description": "
|
|
462
|
-
"category": "
|
|
463
|
-
"headings": ["
|
|
464
|
-
"keywords": ["Container", "コンテナ", "container query", "is--container", "isContainer"],
|
|
546
|
+
"description": "is--container は、container-type を宣言してコンテナクエリを有効にするためのクラスです。",
|
|
547
|
+
"category": "primitives",
|
|
548
|
+
"headings": ["CSS", "Lismコンポーネントでの使い方", "Usage"],
|
|
549
|
+
"keywords": ["Container", "コンテナ", "container query", "is--container", "isContainer", "レスポンシブ基準"],
|
|
465
550
|
"snippet": "コンテナクエリの基準要素。container-typeをセットし、子要素のレスポンシブ対応の基準となる。isContainerプロパティでどのコンポーネントからでも呼び出し可能。"
|
|
466
551
|
},
|
|
467
552
|
{
|
|
468
|
-
"sourcePath": "
|
|
553
|
+
"sourcePath": "primitives/is--layer.mdx",
|
|
469
554
|
"title": "Layer / is--layer",
|
|
470
|
-
"description": "
|
|
471
|
-
"category": "
|
|
472
|
-
"headings": ["
|
|
473
|
-
"keywords": [
|
|
474
|
-
|
|
555
|
+
"description": "is--layer は、absoluteで親要素の上に被せて配置するオーバーレイ用のクラスです。",
|
|
556
|
+
"category": "primitives",
|
|
557
|
+
"headings": ["CSS", "Lismコンポーネントでの使い方", "Usage"],
|
|
558
|
+
"keywords": [
|
|
559
|
+
"Layer",
|
|
560
|
+
"レイヤー",
|
|
561
|
+
"overlay",
|
|
562
|
+
"オーバーレイ",
|
|
563
|
+
"is--layer",
|
|
564
|
+
"absolute",
|
|
565
|
+
"backdrop-filter",
|
|
566
|
+
"blur",
|
|
567
|
+
"position: absolute",
|
|
568
|
+
"重ねる",
|
|
569
|
+
"背景装飾"
|
|
570
|
+
],
|
|
571
|
+
"snippet": "親要素に対して絶対配置で重なるレイヤー要素。オーバーレイや背景装飾に使用。backdrop-filterの活用も解説。"
|
|
475
572
|
},
|
|
476
573
|
{
|
|
477
|
-
"sourcePath": "
|
|
478
|
-
"title": "
|
|
479
|
-
"description": "
|
|
480
|
-
"category": "
|
|
481
|
-
"headings": ["
|
|
482
|
-
"keywords": [
|
|
483
|
-
|
|
574
|
+
"sourcePath": "primitives/is--boxLink.mdx",
|
|
575
|
+
"title": "BoxLink / is--boxLink",
|
|
576
|
+
"description": "is--boxLink は、ボックス全体をクリック可能にするクラスです。",
|
|
577
|
+
"category": "primitives",
|
|
578
|
+
"headings": ["CSS", "Lismコンポーネントでの使い方", "Usage", "Opt-in"],
|
|
579
|
+
"keywords": [
|
|
580
|
+
"BoxLink",
|
|
581
|
+
"LinkBox",
|
|
582
|
+
"リンク",
|
|
583
|
+
"clickable",
|
|
584
|
+
"カード",
|
|
585
|
+
"is--boxLink",
|
|
586
|
+
"is--linkBox",
|
|
587
|
+
"is--coverLink",
|
|
588
|
+
"u--expandedLink",
|
|
589
|
+
"stretched-link",
|
|
590
|
+
"クリッカブル"
|
|
591
|
+
],
|
|
592
|
+
"snippet": "ボックス全体をリンク領域にする。hrefを指定してaタグにする方法と、内部にis--coverLink(旧u--expandedLink)を配置する方法の2通りがある。"
|
|
484
593
|
},
|
|
485
594
|
{
|
|
486
|
-
"sourcePath": "
|
|
595
|
+
"sourcePath": "primitives/is--wrapper.mdx",
|
|
487
596
|
"title": "Wrapper / is--wrapper",
|
|
488
|
-
"description": "
|
|
489
|
-
"category": "
|
|
490
|
-
"headings": ["
|
|
491
|
-
"keywords": ["Wrapper", "ラッパー", "コンテンツ幅", "max-width", "is--wrapper", "contentSize"],
|
|
492
|
-
"snippet": "コンテンツ幅を制限するラッパー要素。contentSizeで幅を指定。s, lのプリセットサイズや任意値も設定可能。"
|
|
597
|
+
"description": "is--wrapper は、その直下のコンテンツ幅を一括制御できるクラスです。",
|
|
598
|
+
"category": "primitives",
|
|
599
|
+
"headings": ["CSS", "Lismコンポーネントでの使い方", "Usage"],
|
|
600
|
+
"keywords": ["Wrapper", "ラッパー", "コンテンツ幅", "max-width", "is--wrapper", "contentSize", "幅制限", "width limiter"],
|
|
601
|
+
"snippet": "コンテンツ幅を制限するラッパー要素。isWrapperプロパティでどのコンポーネントからでも呼び出し可能。contentSizeで幅を指定。s, lのプリセットサイズや任意値も設定可能。"
|
|
493
602
|
},
|
|
494
603
|
{
|
|
495
|
-
"sourcePath": "
|
|
604
|
+
"sourcePath": "primitives/a--icon.mdx",
|
|
496
605
|
"title": "Icon / a--icon",
|
|
497
|
-
"description": "
|
|
498
|
-
"category": "
|
|
499
|
-
"headings": ["
|
|
606
|
+
"description": "a--icon は、アイコン要素を表示するためのクラスです。",
|
|
607
|
+
"category": "primitives",
|
|
608
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
500
609
|
"keywords": ["Icon", "アイコン", "SVG", "a--icon", "phosphor-icons"],
|
|
501
610
|
"snippet": "アイコンを表示するコンポーネント。外部パッケージ(react-icons, phosphor-icons等)のアイコン、プリセットアイコン、SVG直接記述、img指定に対応。"
|
|
502
611
|
},
|
|
503
612
|
{
|
|
504
|
-
"sourcePath": "
|
|
613
|
+
"sourcePath": "primitives/a--divider.mdx",
|
|
505
614
|
"title": "Divider / a--divider",
|
|
506
|
-
"description": "
|
|
507
|
-
"category": "
|
|
508
|
-
"headings": ["
|
|
509
|
-
"keywords": ["Divider", "区切り線", "hr", "a--divider", "セパレーター", "border"],
|
|
615
|
+
"description": "a--divider は、コンテンツ間に区切り線を描画するためのクラスです。",
|
|
616
|
+
"category": "primitives",
|
|
617
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
618
|
+
"keywords": ["Divider", "区切り線", "hr", "a--divider", "セパレーター", "border", "separator", "仕切り"],
|
|
510
619
|
"snippet": "区切り線を表示するコンポーネント。水平・垂直の区切りを表現。bds, bdw, bdc でスタイルをカスタマイズ可能。"
|
|
511
620
|
},
|
|
512
621
|
{
|
|
@@ -515,26 +624,26 @@
|
|
|
515
624
|
"description": "画像や動画などのメディア要素を出力するLismコンポーネントです。",
|
|
516
625
|
"category": "core-components",
|
|
517
626
|
"headings": ["Import"],
|
|
518
|
-
"keywords": ["Media", "メディア", "img", "video", "iframe", "画像", "picture", "Astro Image"],
|
|
627
|
+
"keywords": ["Media", "メディア", "img", "video", "iframe", "画像", "picture", "Astro Image", "動画"],
|
|
519
628
|
"snippet": "img, video, iframe 等のメディア要素を統一的に扱うコンポーネント。objectPositionやfilter系はstyleで指定。Astro版では as='img' で Astro Image、as='picture' で Astro Picture に自動マッピング。Next.js の Image コンポーネントとの連携も可能。"
|
|
520
629
|
},
|
|
521
630
|
{
|
|
522
|
-
"sourcePath": "
|
|
631
|
+
"sourcePath": "primitives/a--spacer.mdx",
|
|
523
632
|
"title": "Spacer / a--spacer",
|
|
524
|
-
"description": "
|
|
525
|
-
"category": "
|
|
526
|
-
"headings": ["
|
|
527
|
-
"keywords": ["Spacer", "スペーサー", "余白", "空白", "a--spacer"],
|
|
633
|
+
"description": "a--spacer は、要素間にスペースを確保するためのクラスです。",
|
|
634
|
+
"category": "primitives",
|
|
635
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
636
|
+
"keywords": ["Spacer", "スペーサー", "余白", "空白", "a--spacer", "スペース", "gap element"],
|
|
528
637
|
"snippet": "空白を挿入するコンポーネント。w, h で幅・高さを指定。SPACEトークンの値も使用可能。"
|
|
529
638
|
},
|
|
530
639
|
{
|
|
531
|
-
"sourcePath": "
|
|
640
|
+
"sourcePath": "primitives/a--decorator.mdx",
|
|
532
641
|
"title": "Decorator / a--decorator",
|
|
533
|
-
"description": "
|
|
534
|
-
"category": "
|
|
535
|
-
"headings": ["
|
|
536
|
-
"keywords": ["Decorator", "デコレーター", "装飾", "a--decorator"],
|
|
537
|
-
"snippet": "装飾用の空要素を出力するコンポーネント。
|
|
642
|
+
"description": "a--decorator は、コンテンツを装飾するための空要素として使うクラスです。",
|
|
643
|
+
"category": "primitives",
|
|
644
|
+
"headings": ["Lismコンポーネント", "Usage"],
|
|
645
|
+
"keywords": ["Decorator", "デコレーター", "装飾", "a--decorator", "visual decoration"],
|
|
646
|
+
"snippet": "装飾用の空要素を出力するコンポーネント。aria-hidden='true'がデフォルトで付与される。"
|
|
538
647
|
},
|
|
539
648
|
{
|
|
540
649
|
"sourcePath": "ui/Accordion.mdx",
|
|
@@ -542,7 +651,7 @@
|
|
|
542
651
|
"description": "@lism-css/ui で提供する Accordion コンポーネントについて解説します。",
|
|
543
652
|
"category": "ui",
|
|
544
653
|
"headings": ["基本構造", "ソースコード", "Import", "Props", "Examples"],
|
|
545
|
-
"keywords": ["Accordion", "アコーディオン", "開閉", "toggle", "FAQ"],
|
|
654
|
+
"keywords": ["Accordion", "アコーディオン", "開閉", "toggle", "FAQ", "折りたたみ", "collapsible"],
|
|
546
655
|
"snippet": "クリックでコンテンツの開閉を切り替えるアコーディオンUI。@lism-css/uiパッケージで提供。"
|
|
547
656
|
},
|
|
548
657
|
{
|
|
@@ -551,7 +660,7 @@
|
|
|
551
660
|
"description": "@lism-css/ui で提供する Modal コンポーネントについて解説します。",
|
|
552
661
|
"category": "ui",
|
|
553
662
|
"headings": ["How to use", "Props", "Usage"],
|
|
554
|
-
"keywords": ["Modal", "モーダル", "dialog", "ダイアログ", "ポップアップ"],
|
|
663
|
+
"keywords": ["Modal", "モーダル", "dialog", "ダイアログ", "ポップアップ", "popup"],
|
|
555
664
|
"snippet": "モーダルダイアログUI。dialog要素を使用。@lism-css/uiパッケージで提供。"
|
|
556
665
|
},
|
|
557
666
|
{
|
|
@@ -560,7 +669,7 @@
|
|
|
560
669
|
"description": "@lism-css/ui で提供する Tabs コンポーネントについて解説します。",
|
|
561
670
|
"category": "ui",
|
|
562
671
|
"headings": ["基本構造", "CSS", "JavaScript", "Import", "Props", "Usage", "スタイルバリエーションの作成例", "Opt-in"],
|
|
563
|
-
"keywords": ["Tabs", "タブ", "切り替え", "panel"],
|
|
672
|
+
"keywords": ["Tabs", "タブ", "切り替え", "panel", "tab navigation"],
|
|
564
673
|
"snippet": "タブ切り替えUI。タブをクリックしてコンテンツパネルを切り替える。@lism-css/uiパッケージで提供。"
|
|
565
674
|
},
|
|
566
675
|
{
|
|
@@ -569,7 +678,7 @@
|
|
|
569
678
|
"description": "@lism-css/ui で提供する Details コンポーネントについて解説します。",
|
|
570
679
|
"category": "ui",
|
|
571
680
|
"headings": ["How to use", "Examples"],
|
|
572
|
-
"keywords": ["Details", "details", "summary", "開閉"],
|
|
681
|
+
"keywords": ["Details", "details", "summary", "開閉", "disclosure"],
|
|
573
682
|
"snippet": "HTMLのdetails/summary要素をラップ。ネイティブのHTML要素を使用したアコーディオン。@lism-css/uiパッケージで提供。"
|
|
574
683
|
},
|
|
575
684
|
{
|
|
@@ -578,7 +687,7 @@
|
|
|
578
687
|
"description": "@lism-css/ui で提供する Alert コンポーネントについて解説します。",
|
|
579
688
|
"category": "ui",
|
|
580
689
|
"headings": ["How to use", "Examples", "Only lism-css"],
|
|
581
|
-
"keywords": ["Alert", "アラート", "注意", "notice", "warning", "info"],
|
|
690
|
+
"keywords": ["Alert", "アラート", "注意", "notice", "warning", "info", "お知らせ", "通知"],
|
|
582
691
|
"snippet": "短めの文言を目立たせて強調表示したい時に使えるコンポーネント。アイコンとキーカラーでバリエーション。"
|
|
583
692
|
},
|
|
584
693
|
{
|
|
@@ -587,7 +696,7 @@
|
|
|
587
696
|
"description": "@lism-css/ui で提供する Callout コンポーネントについて解説します。",
|
|
588
697
|
"category": "ui",
|
|
589
698
|
"headings": ["How to use", "Examples", "Only lism-css", "Only Core"],
|
|
590
|
-
"keywords": ["Callout", "コールアウト", "補足", "note", "注意書き"],
|
|
699
|
+
"keywords": ["Callout", "コールアウト", "補足", "note", "注意書き", "強調ボックス", "highlight"],
|
|
591
700
|
"snippet": "記事の中で重要なポイントを示すためのコンポーネント。@lism-css/uiパッケージで提供。"
|
|
592
701
|
},
|
|
593
702
|
{
|
|
@@ -596,7 +705,7 @@
|
|
|
596
705
|
"description": "@lism-css/ui で提供する Button コンポーネントについて解説します。",
|
|
597
706
|
"category": "ui",
|
|
598
707
|
"headings": ["How to use", "Examples", "Opt-in", "Only lism-css"],
|
|
599
|
-
"keywords": ["Button", "ボタン", "クリック", "outline", "action"],
|
|
708
|
+
"keywords": ["Button", "ボタン", "クリック", "outline", "action", "CTA", "submit"],
|
|
600
709
|
"snippet": "ボタンコンポーネント。variant (outline 等) と keycolor でバリエーションを表現。@lism-css/uiパッケージで提供。"
|
|
601
710
|
},
|
|
602
711
|
{
|
|
@@ -605,7 +714,7 @@
|
|
|
605
714
|
"description": "@lism-css/ui で提供する Badge コンポーネントについて解説します。",
|
|
606
715
|
"category": "ui",
|
|
607
716
|
"headings": ["How to use", "Examples", "Only lism-css"],
|
|
608
|
-
"keywords": ["Badge", "バッジ", "ラベル", "タグ", "status"],
|
|
717
|
+
"keywords": ["Badge", "バッジ", "ラベル", "タグ", "status", "ステータス表示", "tag label", "カテゴリ表示"],
|
|
609
718
|
"snippet": "バッジ (ラベル) コンポーネント。カテゴリやステータスの表示に使用。@lism-css/uiパッケージで提供。"
|
|
610
719
|
},
|
|
611
720
|
{
|
|
@@ -614,7 +723,7 @@
|
|
|
614
723
|
"description": "@lism-css/ui で提供する Avatar コンポーネントについて解説します。",
|
|
615
724
|
"category": "ui",
|
|
616
725
|
"headings": ["How to use", "Examples", "Only lism-css"],
|
|
617
|
-
"keywords": ["Avatar", "アバター", "プロフィール", "画像", "丸"],
|
|
726
|
+
"keywords": ["Avatar", "アバター", "プロフィール", "画像", "丸", "user icon", "ユーザーアイコン"],
|
|
618
727
|
"snippet": "アバター画像用のコンポーネント。円形の画像表示に使用。@lism-css/uiパッケージで提供。"
|
|
619
728
|
},
|
|
620
729
|
{
|
|
@@ -623,7 +732,7 @@
|
|
|
623
732
|
"description": "@lism-css/ui で提供する Chat コンポーネントについて解説します。",
|
|
624
733
|
"category": "ui",
|
|
625
734
|
"headings": ["How to use", "Examples", "Opt-in"],
|
|
626
|
-
"keywords": ["Chat", "チャット", "吹き出し", "会話", "balloon"],
|
|
735
|
+
"keywords": ["Chat", "チャット", "吹き出し", "会話", "balloon", "message bubble", "speech bubble"],
|
|
627
736
|
"snippet": "チャット風の吹き出しコンポーネント。会話形式のUI表現に使用。@lism-css/uiパッケージで提供。"
|
|
628
737
|
},
|
|
629
738
|
{
|
|
@@ -641,7 +750,7 @@
|
|
|
641
750
|
"description": "@lism-css/ui で提供する ShapeDivider コンポーネントについて解説します。",
|
|
642
751
|
"category": "ui",
|
|
643
752
|
"headings": ["How to use", "Examples"],
|
|
644
|
-
"keywords": ["ShapeDivider", "波", "wave", "区切り", "SVG", "セクション"],
|
|
753
|
+
"keywords": ["ShapeDivider", "波", "wave", "区切り", "SVG", "セクション", "section separator"],
|
|
645
754
|
"snippet": "セクション間の波型などの装飾的な区切り要素。SVGベースの形状で区切りを表現。@lism-css/uiパッケージで提供。"
|
|
646
755
|
},
|
|
647
756
|
{
|
|
@@ -769,5 +878,174 @@
|
|
|
769
878
|
"headings": ["Create Component", "Usage"],
|
|
770
879
|
"keywords": ["Table", "テーブル", "表", "固定", "スクロール", "example"],
|
|
771
880
|
"snippet": "行・列の固定表示に対応した汎用Tableレイアウトの実装例。CSS変数でボーダースタイルを調整可能。"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"sourcePath": "utility-class.mdx",
|
|
884
|
+
"title": "u--cbox",
|
|
885
|
+
"description": "keycolor変数をベースに、color/background-color/border-colorをcolor-mix()で自動生成するユーティリティクラス。",
|
|
886
|
+
"category": "guide",
|
|
887
|
+
"headings": ["u--cbox"],
|
|
888
|
+
"keywords": ["u--cbox", "カラーボックス", "keycolor", "color-mix", "配色", "テーマカラー", "バッジ"],
|
|
889
|
+
"snippet": "--keycolor変数をベースに --c, --bgc, --bdc を color-mix() で生成。bdクラスとの併用でボーダーも表示可能。バッジやカード等のカラーテーマ適用に使用。"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"sourcePath": "utility-class.mdx",
|
|
893
|
+
"title": "u--trim / u--trimChildren",
|
|
894
|
+
"description": "テキストのハーフレディング分の余白を調整するユーティリティクラス。",
|
|
895
|
+
"category": "guide",
|
|
896
|
+
"headings": ["u--trim", "u--trimChildren"],
|
|
897
|
+
"keywords": ["u--trim", "u--trimChildren", "ハーフレディング", "行間調整", "テキスト余白", "margin-block", "トリム"],
|
|
898
|
+
"snippet": "u--trimは自身のmargin-blockを調整。u--trimChildrenは子要素全ての上下マージンを調整。img, figure, tableに対してはマージン調節を無効化。"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"sourcePath": "primitives/is--boxLink.mdx",
|
|
902
|
+
"title": "is--coverLink",
|
|
903
|
+
"description": "クリック範囲を親要素全体に広げるためのクラス。is--boxLinkと併用。",
|
|
904
|
+
"category": "primitives",
|
|
905
|
+
"headings": ["Usage"],
|
|
906
|
+
"keywords": ["is--coverLink", "u--expandedLink", "stretched-link", "クリック範囲", "リンク拡張", "boxLink", "linkBox"],
|
|
907
|
+
"snippet": "クリック範囲を親要素全体に広げるためのクラス(旧 u--expandedLink)。is--boxLink と併用し、内部リンクをボックス全体に広げるために使用。"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"sourcePath": "utility-class.mdx",
|
|
911
|
+
"title": "u--srOnly",
|
|
912
|
+
"description": "要素を視覚的に隠してスクリーンリーダーのみに表示するユーティリティクラス。",
|
|
913
|
+
"category": "guide",
|
|
914
|
+
"headings": ["u--srOnly"],
|
|
915
|
+
"keywords": ["u--srOnly", "スクリーンリーダー", "アクセシビリティ", "非表示", "visually hidden", "sr-only"],
|
|
916
|
+
"snippet": "要素を視覚的に隠すクラス。position: absolute + clip-path: inset(50%) で視覚上非表示にしつつ、スクリーンリーダーには読み上げ可能。"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"sourcePath": "utility-class.mdx",
|
|
920
|
+
"title": "u--collapseGrid",
|
|
921
|
+
"description": "グリッド・フレックス子要素間にボーダー(区切り線)を表示するユーティリティクラス。",
|
|
922
|
+
"category": "guide",
|
|
923
|
+
"headings": ["u--collapseGrid"],
|
|
924
|
+
"keywords": ["u--collapseGrid", "グリッド区切り", "ボーダー", "テーブル風", "カレンダー", "box-shadow"],
|
|
925
|
+
"snippet": "box-shadowで子要素間に区切りボーダーを表示。p='0' ov='clip'で周囲のボーダーを非表示にでき、bd追加でカレンダー風の表現も可能。"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"sourcePath": "utility-class.mdx",
|
|
929
|
+
"title": "u--snap",
|
|
930
|
+
"description": "scroll-snap系プロパティをCSS変数で制御するユーティリティクラス。",
|
|
931
|
+
"category": "guide",
|
|
932
|
+
"headings": ["u--snap"],
|
|
933
|
+
"keywords": ["u--snap", "スクロールスナップ", "scroll-snap", "カルーセル"],
|
|
934
|
+
"snippet": "scroll-snap-type等のプロパティをCSS変数でセットできるようにするクラス。"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"sourcePath": "utility-class.mdx",
|
|
938
|
+
"title": "u--clipText",
|
|
939
|
+
"description": "テキストで背景をクリッピングするユーティリティクラス。",
|
|
940
|
+
"category": "guide",
|
|
941
|
+
"headings": ["u--clipText"],
|
|
942
|
+
"keywords": ["u--clipText", "テキストクリップ", "背景クリッピング", "グラデーション文字", "background-clip"],
|
|
943
|
+
"snippet": "テキストで背景をクリッピングするクラス。bgiにグラデーション等を指定し、文字の形で背景を切り抜く表現が可能。"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"sourcePath": "set-class.mdx",
|
|
947
|
+
"title": "set--plain",
|
|
948
|
+
"description": "主要スタイルをリセットするためのSetクラス。",
|
|
949
|
+
"category": "guide",
|
|
950
|
+
"headings": ["set--plain"],
|
|
951
|
+
"keywords": ["set--plain", "スタイルリセット", "ボタンリセット", "reset"],
|
|
952
|
+
"snippet": "主要スタイルをリセットするクラス。buttonやinput等のブラウザデフォルトスタイルを除去する場合に使用。unsetで解除可能。"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"sourcePath": "set-class.mdx",
|
|
956
|
+
"title": "set--shadow",
|
|
957
|
+
"description": "シャドウを構成するCSS変数を再定義するSetクラス。",
|
|
958
|
+
"category": "guide",
|
|
959
|
+
"headings": ["set--shadow"],
|
|
960
|
+
"keywords": ["set--shadow", "シャドウ", "影", "box-shadow", "--shc"],
|
|
961
|
+
"snippet": "set--shadowクラスを指定した要素では --bxsh-- 変数が再定義される。--shc変数でシャドウの色味をカスタマイズ可能。"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"sourcePath": "set-class.mdx",
|
|
965
|
+
"title": "set--hov",
|
|
966
|
+
"description": "ホバー状態の判定変数(--_isHov, --_notHov)をセットするSetクラス。",
|
|
967
|
+
"category": "guide",
|
|
968
|
+
"headings": ["set--hov"],
|
|
969
|
+
"keywords": ["set--hov", "ホバー", "hover", "--_isHov", "--_notHov", "空変数トリック", "子要素ホバー"],
|
|
970
|
+
"snippet": "hover/focus-within状態を空変数トリックで判定。var(--_isHov, 値)でhover時のみスタイル適用。親要素に付与して子要素のホバースタイルを制御可能。"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"sourcePath": "set-class.mdx",
|
|
974
|
+
"title": "set--transition",
|
|
975
|
+
"description": "CSS変数を用いてtransitionプロパティをセットするSetクラス。",
|
|
976
|
+
"category": "guide",
|
|
977
|
+
"headings": ["set--transition"],
|
|
978
|
+
"keywords": ["set--transition", "トランジション", "アニメーション", "transition"],
|
|
979
|
+
"snippet": "専用のCSS変数を用いてtransitionプロパティをセットするクラス。set--hovと組み合わせてスムーズなホバーアニメーションを実現。"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"sourcePath": "set-class.mdx",
|
|
983
|
+
"title": "set--innerRs",
|
|
984
|
+
"description": "親要素の角丸とPaddingから内側の角丸を自動計算するSetクラス。",
|
|
985
|
+
"category": "guide",
|
|
986
|
+
"headings": ["set--innerRs"],
|
|
987
|
+
"keywords": ["set--innerRs", "角丸", "内側角丸", "border-radius", "自動計算", "--bdrs--inner"],
|
|
988
|
+
"snippet": "親要素の --bdrs と --p から内側の角丸 --bdrs--inner を自動計算。子要素で -bdrs:inner を使って適用。レスポンシブ対応。"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"sourcePath": "set-class.mdx",
|
|
992
|
+
"title": "set--gutter",
|
|
993
|
+
"description": "コンテンツの左右に統一した余白をつけるSetクラス。",
|
|
994
|
+
"category": "guide",
|
|
995
|
+
"headings": ["set--gutter"],
|
|
996
|
+
"keywords": ["set--gutter", "ガター", "左右余白", "サイド余白", "padding", "--gutter-size"],
|
|
997
|
+
"snippet": "サイト全体で統一した左右余白を確保するクラス。--gutter-size変数(初期値 var(--s30))で余白量を制御。"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"sourcePath": "set-class.mdx",
|
|
1001
|
+
"title": "set--bp",
|
|
1002
|
+
"description": "特定のブレイクポイント以上でのみスタイルを適用するSetクラス。",
|
|
1003
|
+
"category": "guide",
|
|
1004
|
+
"headings": ["set--bp"],
|
|
1005
|
+
"keywords": ["set--bp", "ブレイクポイント", "メディアクエリ", "レスポンシブ", "--_is_sm", "条件付きスタイル"],
|
|
1006
|
+
"snippet": "特定のブレイクポイント以上でのみスタイルを適用するクラス。var(--_is_sm) 等の変数を使い、レスポンシブ対応していないプロパティを条件付きで変化させるハック的手段。"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"sourcePath": "features.mdx",
|
|
1010
|
+
"title": "Lism CSSの特徴",
|
|
1011
|
+
"description": "Lism CSS の設計思想と主な特徴について詳しく解説します。",
|
|
1012
|
+
"category": "guide",
|
|
1013
|
+
"headings": [
|
|
1014
|
+
"サイト全体のCSS設計を担う",
|
|
1015
|
+
"心地よいリズムを生むトークン設計",
|
|
1016
|
+
"レイアウトファーストなプリミティブ設計",
|
|
1017
|
+
"CSS変数を活かしたユーティリティ設計",
|
|
1018
|
+
"CSSを書くことを前提にした設計思想",
|
|
1019
|
+
"メディアクエリに依存しないレイアウト"
|
|
1020
|
+
],
|
|
1021
|
+
"keywords": ["特徴", "設計思想", "レイアウトファースト", "トークン", "プリミティブ", "CSS変数", "メディアクエリなし", "フレームワーク"],
|
|
1022
|
+
"snippet": "Lism CSS はサイト全体のCSS設計を丸ごと引き受けるフレームワーク。デザイントークン・命名規則・@layer階層を包括的に定義。レイアウトファーストなプリミティブ設計とCSS変数を活かしたユーティリティ設計が特徴。メディアクエリに依存しないレイアウトパターンも提供。"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"sourcePath": "mcp.mdx",
|
|
1026
|
+
"title": "MCP Server",
|
|
1027
|
+
"description": "AIコーディングツールが Lism CSS のコンポーネント・Props・トークン情報をリアルタイムに参照できる MCP サーバーのセットアップ方法。",
|
|
1028
|
+
"category": "guide",
|
|
1029
|
+
"headings": ["できること", "セットアップ"],
|
|
1030
|
+
"keywords": ["MCP", "AI", "Claude", "Cursor", "セットアップ", "コーディング支援", "Model Context Protocol"],
|
|
1031
|
+
"snippet": "@lism-css/mcp は Lism CSS の情報をAIコーディングツールに提供するMCPサーバー。コンポーネント情報の参照・Props↔CSSマッピング・デザイントークン参照・ドキュメント検索・CSS→Lism変換に対応。Claude Code, Cursor 等から利用可能。"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"sourcePath": "skills.mdx",
|
|
1035
|
+
"title": "Skills",
|
|
1036
|
+
"description": "プロジェクトにSKILL.mdファイルを配置して、AIエージェントに Lism CSS の設計ルール・Props・トークン・命名規則を伝える方法。",
|
|
1037
|
+
"category": "guide",
|
|
1038
|
+
"headings": ["セットアップ", "アップデート", "ファイル構成"],
|
|
1039
|
+
"keywords": ["skills", "SKILL.md", "AIエージェント", "設計ルール", "Claude", "コーディング支援"],
|
|
1040
|
+
"snippet": "プロジェクトにSKILL.mdファイルを配置することでAIエージェントにLism CSSの設計ルール・Props・トークン・命名規則を伝えられる。npxコマンドで導入・アップデート可能。"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"sourcePath": "primitives/is--vertical.mdx",
|
|
1044
|
+
"title": "is--vertical",
|
|
1045
|
+
"description": "is--vertical は、要素に縦書きモード(writing-mode)を適用するクラスです。",
|
|
1046
|
+
"category": "primitives",
|
|
1047
|
+
"headings": ["CSS", "Usage"],
|
|
1048
|
+
"keywords": ["is--vertical", "縦書き", "writing-mode", "vertical-rl", "vertical-lr", "縦方向", "テキスト方向"],
|
|
1049
|
+
"snippet": "要素に縦書きモード(writing-mode)を適用するクラス。--vertical-modeトークンで値を管理。is--vertical@sm / is--vertical@md でブレイクポイント以上のみ縦書きにするバリエーションも提供。set--bp との併用が必要。"
|
|
772
1050
|
}
|
|
773
1051
|
]
|