@lism-css/mcp 0.12.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 +1 -1
- package/dist/data/docs-index.json +202 -151
- package/dist/data/guides/SKILL.md +95 -54
- package/dist/data/guides/base-styles.md +2 -2
- package/dist/data/guides/components-core.md +84 -130
- package/dist/data/guides/components-ui.md +3 -3
- package/dist/data/guides/css-rules.md +41 -21
- 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/property-class.md +6 -5
- package/dist/data/guides/set-class.md +11 -9
- package/dist/data/guides/tokens.md +18 -0
- package/dist/data/guides/utility-class.md +9 -8
- package/dist/data/meta.js +2 -2
- package/dist/lib/load-markdown.d.ts +3 -2
- package/dist/lib/load-markdown.js +23 -5
- package/dist/lib/search.js +20 -1
- package/dist/tools/get-component.js +119 -30
- package/dist/tools/get-guide.js +1 -1
- package/dist/tools/search-docs.js +1 -1
- package/package.json +1 -1
- package/dist/data/guides/module-class.md +0 -162
|
@@ -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",
|
|
@@ -32,22 +32,23 @@
|
|
|
32
32
|
"naming",
|
|
33
33
|
"BEM",
|
|
34
34
|
"Property Class",
|
|
35
|
-
"
|
|
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
|
-
"description": "Lism CSS
|
|
46
|
+
"title": "デザイントークン",
|
|
47
|
+
"description": "Lism CSS で定義されているカラー、スペーシング、シャドウなどのデザイントークン一覧を紹介します。",
|
|
47
48
|
"category": "guide",
|
|
48
|
-
"headings": ["RADIUS", "SHADOW", "OPACITY", "SIZE"],
|
|
49
|
-
"keywords": ["token", "トークン", "design token", "shadow", "radius", "opacity", "size"],
|
|
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
54
|
"sourcePath": "tokens/colors.mdx",
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"title": "タイポグラフィトークン",
|
|
64
65
|
"description": "Lism CSS で使用するフォントファミリー、フォントサイズ、行間などのタイポグラフィ関連のデザイントークンについて解説します。",
|
|
65
66
|
"category": "guide",
|
|
66
|
-
"headings": ["FF: font-family", "FW: font-weight", "FZ: font-size", "LTS: letter-spacing"],
|
|
67
|
+
"headings": ["FF: font-family", "FW : font-weight", "FZ: font-size", "LH: line-height", "LTS: letter-spacing"],
|
|
67
68
|
"keywords": ["typography", "タイポグラフィ", "font", "文字", "テキスト", "heading", "font-size"],
|
|
68
69
|
"snippet": "フォントサイズ(調和数列ベース)、文字間隔などのタイポグラフィ設計を解説。フォントサイズのスケーリング規則を紹介。"
|
|
69
70
|
},
|
|
@@ -72,9 +73,9 @@
|
|
|
72
73
|
"title": "ハーフレディング(line-height)",
|
|
73
74
|
"description": "Lism CSS のハーフレディングによる line-height 管理の仕組みと、関連するデザイントークンについて解説します。",
|
|
74
75
|
"category": "guide",
|
|
75
|
-
"headings": ["トークン", "ハーフレディング管理のメリット"],
|
|
76
|
+
"headings": ["仕組み", "トークン", "lh クラス", "ハーフレディング管理のメリット"],
|
|
76
77
|
"keywords": ["line-height", "half-leading", "ハーフレディング", "行間", "lh", "--hl"],
|
|
77
|
-
"snippet": "line-height
|
|
78
|
+
"snippet": "line-heightをハーフレディング(文字上下の余白)で管理する仕組み。`calc(1em + var(--hl) * 2)` によりフォントサイズに依存しない一定の行間を実現。--hl--xs/s/base/l のトークンと -lh:{token} クラスの使い方を解説。"
|
|
78
79
|
},
|
|
79
80
|
{
|
|
80
81
|
"sourcePath": "tokens/spacing.mdx",
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
"sourcePath": "property-class.mdx",
|
|
90
91
|
"title": "Property Class",
|
|
91
92
|
"description": "CSSプロパティに紐づいた Property Class の一覧とその使い方について解説します。",
|
|
92
|
-
"category": "
|
|
93
|
+
"category": "property-class",
|
|
93
94
|
"headings": [
|
|
94
95
|
"このページの表の見方",
|
|
95
96
|
"Typography",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"Positions",
|
|
101
102
|
"Layouts",
|
|
102
103
|
"Styling",
|
|
104
|
+
"Background",
|
|
103
105
|
"Other CSS"
|
|
104
106
|
],
|
|
105
107
|
"keywords": [
|
|
@@ -109,6 +111,8 @@
|
|
|
109
111
|
"クラス",
|
|
110
112
|
"CSS property",
|
|
111
113
|
"g",
|
|
114
|
+
"cg",
|
|
115
|
+
"rg",
|
|
112
116
|
"p",
|
|
113
117
|
"m",
|
|
114
118
|
"fz",
|
|
@@ -185,24 +189,12 @@
|
|
|
185
189
|
},
|
|
186
190
|
{
|
|
187
191
|
"sourcePath": "utility-class.mdx",
|
|
188
|
-
"title": "
|
|
192
|
+
"title": "Utility Class",
|
|
189
193
|
"description": "スタイルや装飾をまとめて適用できる Lism CSS のユーティリティクラスについて解説します。",
|
|
190
194
|
"category": "guide",
|
|
191
|
-
"headings": ["u--cbox", "u--trim & u--trimChildren", "u--
|
|
192
|
-
"keywords": [
|
|
193
|
-
|
|
194
|
-
"ユーティリティ",
|
|
195
|
-
"class",
|
|
196
|
-
"クラス",
|
|
197
|
-
"u--cbox",
|
|
198
|
-
"u--trim",
|
|
199
|
-
"u--expandedLink",
|
|
200
|
-
"u--srOnly",
|
|
201
|
-
"u--collapseGrid",
|
|
202
|
-
"u--snap",
|
|
203
|
-
"u--clipText"
|
|
204
|
-
],
|
|
205
|
-
"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 等を解説。"
|
|
206
198
|
},
|
|
207
199
|
{
|
|
208
200
|
"sourcePath": "set-class.mdx",
|
|
@@ -214,20 +206,20 @@
|
|
|
214
206
|
"snippet": "ベーススタイルの上書きやトークンの再定義、機能的なプロパティを初期セットするためのクラス (.set--{style})。set--plain, set--shadow, set--transition, set--hov, set--bp, set--innerRs, set--gutter を解説。"
|
|
215
207
|
},
|
|
216
208
|
{
|
|
217
|
-
"sourcePath": "
|
|
218
|
-
"title": "
|
|
219
|
-
"description": "Lism CSS
|
|
209
|
+
"sourcePath": "primitives.mdx",
|
|
210
|
+
"title": "Primitive Class",
|
|
211
|
+
"description": "Lism CSS のプリミティブクラス(is--, l--, a--)の分類と使い方について解説します。",
|
|
220
212
|
"category": "guide",
|
|
221
|
-
"headings": ["
|
|
222
|
-
"keywords": ["
|
|
223
|
-
"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)に配置される。"
|
|
224
216
|
},
|
|
225
217
|
{
|
|
226
218
|
"sourcePath": "base-styles.mdx",
|
|
227
219
|
"title": "Base Styles",
|
|
228
220
|
"description": "@lism-base レイヤーで定義される Reset CSS やHTML要素のベーススタイルについて解説します。",
|
|
229
221
|
"category": "guide",
|
|
230
|
-
"headings": ["Reset CSS", "Base styles"],
|
|
222
|
+
"headings": ["Reset CSS", "Base styles", "HTML基本スタイルのプレビュー"],
|
|
231
223
|
"keywords": ["html", "base", "ベース", "スタイル", "要素", "reset"],
|
|
232
224
|
"snippet": "Lism CSS がHTML要素に対して適用するベーススタイルについて解説。Reset CSSと@lism-baseレイヤーで定義されるベーススタイルを紹介。"
|
|
233
225
|
},
|
|
@@ -237,6 +229,10 @@
|
|
|
237
229
|
"description": "Lism CSS の各バージョンにおける変更履歴をまとめています。",
|
|
238
230
|
"category": "guide",
|
|
239
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)",
|
|
240
236
|
"v.0.11.0 (2026.04.05)",
|
|
241
237
|
"v.0.10.5 (2026.04.05)",
|
|
242
238
|
"v.0.10.4 (2026.04.04)",
|
|
@@ -256,28 +252,28 @@
|
|
|
256
252
|
"snippet": "Lism CSS の各バージョンにおける変更内容を記載。"
|
|
257
253
|
},
|
|
258
254
|
{
|
|
259
|
-
"sourcePath": "
|
|
255
|
+
"sourcePath": "property-class/bd.mdx",
|
|
260
256
|
"title": "-bd",
|
|
261
257
|
"description": "ボーダーを指定する -bd プロパティクラスと関連するCSS変数の使い方について解説します。",
|
|
262
|
-
"category": "
|
|
258
|
+
"category": "property-class",
|
|
263
259
|
"headings": ["方向指定", "bdwをブレイクポイントで切り替える", "任意の`border`をインライン出力する方法"],
|
|
264
260
|
"keywords": ["border", "ボーダー", "bd", "bdc", "bdw", "bds", "bdrs", "枠線", "border-color", "border-width", "border-style", "border-radius"],
|
|
265
261
|
"snippet": "ボーダー関連のProp。bd, bdc, bdw, bds, bdrs を使ったボーダースタイルの設定方法。方向指定やブレイクポイントでの切り替えも解説。"
|
|
266
262
|
},
|
|
267
263
|
{
|
|
268
|
-
"sourcePath": "
|
|
264
|
+
"sourcePath": "property-class/hov.mdx",
|
|
269
265
|
"title": "-hov",
|
|
270
266
|
"description": "hover時の挙動をコントロールする -hov プロパティクラスの使い方について解説します。",
|
|
271
|
-
"category": "
|
|
272
|
-
"headings": ["基本的な使い方", "`.set--hov`
|
|
267
|
+
"category": "property-class",
|
|
268
|
+
"headings": ["基本的な使い方", "`.set--hov` と `-hov:to:xxx`"],
|
|
273
269
|
"keywords": ["hover", "ホバー", "hov", "インタラクション", "animation", "set--hov", "set--transition", "transition"],
|
|
274
|
-
"snippet": "ホバー関連のProp
|
|
270
|
+
"snippet": "ホバー関連のProp。-hov:{prop} クラスでホバーエフェクトを設定。set--transition との組み合わせでアニメーション実現。set--hov と -hov:to:xxx クラスで親要素ホバー時の子要素スタイル制御も可能。"
|
|
275
271
|
},
|
|
276
272
|
{
|
|
277
|
-
"sourcePath": "
|
|
273
|
+
"sourcePath": "property-class/max-sz.mdx",
|
|
278
274
|
"title": "サイズ制御クラス -max-sz:",
|
|
279
275
|
"description": "コンテンツの最大幅を制御する -max-sz ユーティリティクラスの使い方について解説します。",
|
|
280
|
-
"category": "
|
|
276
|
+
"category": "property-class",
|
|
281
277
|
"headings": ["-max-sz:full, -max-sz:container", "DEMOページ"],
|
|
282
278
|
"keywords": ["max-sz", "max-inline-size", "最大サイズ", "幅", "full", "container"],
|
|
283
279
|
"snippet": "max-sz (max-inline-size) の Prop。xs, s, m, l, xl のサイズトークンで最大幅を指定。-max-sz:full, -max-sz:container の特殊クラスも解説。"
|
|
@@ -287,7 +283,7 @@
|
|
|
287
283
|
"title": "Lism",
|
|
288
284
|
"description": "LismのCSS設計に対応した様々なプロパティを受け取ることができる汎用的なコンポーネントです。",
|
|
289
285
|
"category": "core-components",
|
|
290
|
-
"headings": ["Import", "Lism Props"
|
|
286
|
+
"headings": ["Import", "Lism Props"],
|
|
291
287
|
"keywords": ["Lism", "core", "コア", "基盤", "コンポーネント", "lismClass", "variant", "layout", "as", "exProps"],
|
|
292
288
|
"snippet": "全コンポーネントの基盤。Props システムによる CSS クラス・スタイルの自動変換を提供。as prop で出力要素や外部コンポーネントを指定可能。レスポンシブ指定は配列またはオブジェクト形式で対応。"
|
|
293
289
|
},
|
|
@@ -364,29 +360,29 @@
|
|
|
364
360
|
"snippet": "cdn.lism-css.comからダミーのプレースホルダー画像を出力するコンポーネント。@lism-css/uiパッケージから提供。"
|
|
365
361
|
},
|
|
366
362
|
{
|
|
367
|
-
"sourcePath": "
|
|
363
|
+
"sourcePath": "primitives/l--box.mdx",
|
|
368
364
|
"title": "Box / l--box",
|
|
369
|
-
"description": "
|
|
370
|
-
"category": "
|
|
371
|
-
"headings": ["
|
|
365
|
+
"description": "l--box は、コンテンツをグループ化するだけのシンプルなクラスです。",
|
|
366
|
+
"category": "primitives",
|
|
367
|
+
"headings": ["Lismコンポーネント", "Usage"],
|
|
372
368
|
"keywords": ["Box", "ボックス", "layout", "レイアウト", "l--box"],
|
|
373
|
-
"snippet": "
|
|
369
|
+
"snippet": "最も基本的なレイアウトプリミティブ。コンテンツをグループ化するだけのシンプルな汎用ボックス要素。l--box クラスが付与される。"
|
|
374
370
|
},
|
|
375
371
|
{
|
|
376
|
-
"sourcePath": "
|
|
372
|
+
"sourcePath": "primitives/l--flex.mdx",
|
|
377
373
|
"title": "Flex / l--flex",
|
|
378
|
-
"description": "
|
|
379
|
-
"category": "
|
|
380
|
-
"headings": ["CSS", "
|
|
374
|
+
"description": "l--flex は、コンテンツを Flex レイアウトで配置するためのクラスです。",
|
|
375
|
+
"category": "primitives",
|
|
376
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
381
377
|
"keywords": ["Flex", "flexbox", "フレックス", "layout", "l--flex", "横並び", "display", "display: flex", "flex-direction", "flex-wrap"],
|
|
382
378
|
"snippet": "Flexboxレイアウトを構成。display: flex が適用される。g, ai, jc, fxw, fxd 等で配置を制御。"
|
|
383
379
|
},
|
|
384
380
|
{
|
|
385
|
-
"sourcePath": "
|
|
381
|
+
"sourcePath": "primitives/l--stack.mdx",
|
|
386
382
|
"title": "Stack / l--stack",
|
|
387
|
-
"description": "
|
|
388
|
-
"category": "
|
|
389
|
-
"headings": ["CSS", "
|
|
383
|
+
"description": "l--stack は、複数の要素を Flex レイアウトで縦並びに配置するクラスです。",
|
|
384
|
+
"category": "primitives",
|
|
385
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
390
386
|
"keywords": [
|
|
391
387
|
"Stack",
|
|
392
388
|
"スタック",
|
|
@@ -403,11 +399,11 @@
|
|
|
403
399
|
"snippet": "縦方向に要素を積み重ねるFlexレイアウト。flex-direction: column のFlex。ai='center'で内在的な中央寄せも可能。"
|
|
404
400
|
},
|
|
405
401
|
{
|
|
406
|
-
"sourcePath": "
|
|
402
|
+
"sourcePath": "primitives/l--grid.mdx",
|
|
407
403
|
"title": "Grid / l--grid",
|
|
408
|
-
"description": "
|
|
409
|
-
"category": "
|
|
410
|
-
"headings": ["
|
|
404
|
+
"description": "l--grid は、コンテンツを Grid レイアウトで配置するためのクラスです。",
|
|
405
|
+
"category": "primitives",
|
|
406
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
411
407
|
"keywords": [
|
|
412
408
|
"Grid",
|
|
413
409
|
"グリッド",
|
|
@@ -421,14 +417,14 @@
|
|
|
421
417
|
"grid-template-rows",
|
|
422
418
|
"格子"
|
|
423
419
|
],
|
|
424
|
-
"snippet": "CSS Gridレイアウトを構成。
|
|
420
|
+
"snippet": "CSS Gridレイアウトを構成。subgridもサポート。均等タイルは l--tileGrid を参照。"
|
|
425
421
|
},
|
|
426
422
|
{
|
|
427
|
-
"sourcePath": "
|
|
423
|
+
"sourcePath": "primitives/l--tileGrid.mdx",
|
|
428
424
|
"title": "TileGrid / l--tileGrid",
|
|
429
|
-
"description": "
|
|
430
|
-
"category": "
|
|
431
|
-
"headings": ["
|
|
425
|
+
"description": "l--tileGrid は、列数と行数を指定して均等なタイル型グリッドレイアウトを構成するクラスです。",
|
|
426
|
+
"category": "primitives",
|
|
427
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
432
428
|
"keywords": [
|
|
433
429
|
"TileGrid",
|
|
434
430
|
"タイル",
|
|
@@ -445,32 +441,32 @@
|
|
|
445
441
|
"tile",
|
|
446
442
|
"均等"
|
|
447
443
|
],
|
|
448
|
-
"snippet": "colsとrowsで均等なタイル型グリッドレイアウトを構成。grid-template: repeat(rows, 1fr) / repeat(cols, 1fr) のGrid。ブレイクポイント指定も可能。"
|
|
444
|
+
"snippet": "colsとrowsで均等なタイル型グリッドレイアウトを構成。grid-template: repeat(rows, minmax(0, 1fr)) / repeat(cols, minmax(0, 1fr)) のGrid。ブレイクポイント指定も可能。"
|
|
449
445
|
},
|
|
450
446
|
{
|
|
451
|
-
"sourcePath": "
|
|
447
|
+
"sourcePath": "primitives/l--center.mdx",
|
|
452
448
|
"title": "Center / l--center",
|
|
453
|
-
"description": "
|
|
454
|
-
"category": "
|
|
455
|
-
"headings": ["CSS", "
|
|
449
|
+
"description": "l--center は、要素を上下左右中央揃えで配置するためのクラスです。",
|
|
450
|
+
"category": "primitives",
|
|
451
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
456
452
|
"keywords": ["Center", "中央揃え", "center", "layout", "l--center", "display", "display: grid", "place-items", "place-items: center", "中央配置"],
|
|
457
453
|
"snippet": "子要素を中央揃えにするレイアウト。place-items: center の Grid。高さがあれば上下左右中央揃え。"
|
|
458
454
|
},
|
|
459
455
|
{
|
|
460
|
-
"sourcePath": "
|
|
456
|
+
"sourcePath": "primitives/l--cluster.mdx",
|
|
461
457
|
"title": "Cluster / l--cluster",
|
|
462
|
-
"description": "
|
|
463
|
-
"category": "
|
|
464
|
-
"headings": ["CSS", "
|
|
458
|
+
"description": "l--cluster は、複数の要素を横方向に並べて配置し、数が多ければ折り返すクラスです。",
|
|
459
|
+
"category": "primitives",
|
|
460
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
465
461
|
"keywords": ["Cluster", "クラスター", "横並び", "wrap", "l--cluster", "タグ", "display", "display: flex", "flex-wrap", "badge list"],
|
|
466
462
|
"snippet": "横方向に要素を並べ、自動的に折り返すFlexレイアウト。タグやバッジの並びに適している。"
|
|
467
463
|
},
|
|
468
464
|
{
|
|
469
|
-
"sourcePath": "
|
|
465
|
+
"sourcePath": "primitives/l--columns.mdx",
|
|
470
466
|
"title": "Columns / l--columns",
|
|
471
|
-
"description": "
|
|
472
|
-
"category": "
|
|
473
|
-
"headings": ["
|
|
467
|
+
"description": "l--columns は、ブレイクポイントごとに指定した列数で表示できるカラムクラスです。",
|
|
468
|
+
"category": "primitives",
|
|
469
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
474
470
|
"keywords": [
|
|
475
471
|
"Columns",
|
|
476
472
|
"カラム",
|
|
@@ -487,20 +483,20 @@
|
|
|
487
483
|
"snippet": "均等幅のカラムレイアウト。cols で列数を指定する Grid。レスポンシブ対応可能。subgridも活用可能。"
|
|
488
484
|
},
|
|
489
485
|
{
|
|
490
|
-
"sourcePath": "
|
|
486
|
+
"sourcePath": "primitives/l--flow.mdx",
|
|
491
487
|
"title": "Flow / l--flow",
|
|
492
|
-
"description": "
|
|
493
|
-
"category": "
|
|
494
|
-
"headings": ["
|
|
488
|
+
"description": "l--flow は、子要素間の余白を margin で管理するフロークラスです。",
|
|
489
|
+
"category": "primitives",
|
|
490
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage", "`l--flow` を入れ子にする時の注意点"],
|
|
495
491
|
"keywords": ["Flow", "フロー", "コンテンツ", "記事", "l--flow", "本文", "is--skipFlow", "display: flow-root", "article body", "縦方向余白"],
|
|
496
|
-
"snippet": "
|
|
492
|
+
"snippet": "コンテンツフロー用のレイアウト。子要素間の余白を margin で管理。見出しタグは余白が大きくなる。is--skipFlowで余白打ち消しも可能。"
|
|
497
493
|
},
|
|
498
494
|
{
|
|
499
|
-
"sourcePath": "
|
|
495
|
+
"sourcePath": "primitives/l--fluidCols.mdx",
|
|
500
496
|
"title": "FluidCols / l--fluidCols",
|
|
501
|
-
"description": "
|
|
502
|
-
"category": "
|
|
503
|
-
"headings": ["
|
|
497
|
+
"description": "l--fluidCols は、カラム要素が指定した幅より小さくならないように自動で折り返す、ブレイクポイント非依存の段組みクラスです。",
|
|
498
|
+
"category": "primitives",
|
|
499
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
504
500
|
"keywords": [
|
|
505
501
|
"FluidCols",
|
|
506
502
|
"流動カラム",
|
|
@@ -518,47 +514,47 @@
|
|
|
518
514
|
"snippet": "子要素が最小幅に達すると自動的に折り返すグリッドレイアウト。メディアクエリに依存しない。cols で最小幅を指定。"
|
|
519
515
|
},
|
|
520
516
|
{
|
|
521
|
-
"sourcePath": "
|
|
517
|
+
"sourcePath": "primitives/l--frame.mdx",
|
|
522
518
|
"title": "Frame / l--frame",
|
|
523
|
-
"description": "
|
|
524
|
-
"category": "
|
|
525
|
-
"headings": ["
|
|
519
|
+
"description": "l--frame は、直下のメディア要素(img, video, iframe)を自身のサイズにフィットさせて表示するクラスです。",
|
|
520
|
+
"category": "primitives",
|
|
521
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
526
522
|
"keywords": ["Frame", "フレーム", "aspect-ratio", "アスペクト比", "l--frame", "画像", "video", "iframe", "比率維持"],
|
|
527
|
-
"snippet": "直下のメディア要素(img, video, iframe
|
|
523
|
+
"snippet": "直下のメディア要素(img, video, iframe)を自身のサイズにフィットさせて表示するクラス。arでアスペクト比を指定。"
|
|
528
524
|
},
|
|
529
525
|
{
|
|
530
|
-
"sourcePath": "
|
|
526
|
+
"sourcePath": "primitives/l--switchCols.mdx",
|
|
531
527
|
"title": "SwitchCols / l--switchCols",
|
|
532
|
-
"description": "
|
|
533
|
-
"category": "
|
|
534
|
-
"headings": ["
|
|
528
|
+
"description": "l--switchCols は、複数列と1列の切り替えをコンテナクエリやメディアクエリを使わずに実装するクラスです。",
|
|
529
|
+
"category": "primitives",
|
|
530
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
535
531
|
"keywords": ["SwitchCols", "切り替え", "switch", "カラム", "l--switchCols", "responsive columns", "メディアクエリなし"],
|
|
536
|
-
"snippet": "複数列以上と1
|
|
532
|
+
"snippet": "複数列以上と1列への切り替えをコンテナクエリ・メディアクエリを使わずに実装するクラス。breakSizeで切り替えポイントを指定。"
|
|
537
533
|
},
|
|
538
534
|
{
|
|
539
|
-
"sourcePath": "
|
|
535
|
+
"sourcePath": "primitives/l--sideMain.mdx",
|
|
540
536
|
"title": "SideMain / l--sideMain",
|
|
541
|
-
"description": "
|
|
542
|
-
"category": "
|
|
543
|
-
"headings": ["
|
|
537
|
+
"description": "l--sideMain は、維持したいコンテンツの長さを基準にして、横並び・縦並びが自動で切り替わる2カラムレイアウトのクラスです。",
|
|
538
|
+
"category": "primitives",
|
|
539
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage", "`Grid`を使って似たレイアウトを構成する例"],
|
|
544
540
|
"keywords": ["SideMain", "サイドバー", "sidebar", "メイン", "l--sideMain", "2カラム", "is--side", "two column"],
|
|
545
|
-
"snippet": "サイドバー + メインコンテンツの2カラムレイアウト。メイン側が可変幅。sideW, mainW
|
|
541
|
+
"snippet": "サイドバー + メインコンテンツの2カラムレイアウト。メイン側が可変幅。sideW, mainWで幅を制御。メディアクエリ・コンテナクエリに依存せず自動で切り替わる。"
|
|
546
542
|
},
|
|
547
543
|
{
|
|
548
|
-
"sourcePath": "
|
|
544
|
+
"sourcePath": "primitives/is--container.mdx",
|
|
549
545
|
"title": "Container / is--container",
|
|
550
|
-
"description": "
|
|
551
|
-
"category": "
|
|
552
|
-
"headings": ["
|
|
546
|
+
"description": "is--container は、container-type を宣言してコンテナクエリを有効にするためのクラスです。",
|
|
547
|
+
"category": "primitives",
|
|
548
|
+
"headings": ["CSS", "Lismコンポーネントでの使い方", "Usage"],
|
|
553
549
|
"keywords": ["Container", "コンテナ", "container query", "is--container", "isContainer", "レスポンシブ基準"],
|
|
554
550
|
"snippet": "コンテナクエリの基準要素。container-typeをセットし、子要素のレスポンシブ対応の基準となる。isContainerプロパティでどのコンポーネントからでも呼び出し可能。"
|
|
555
551
|
},
|
|
556
552
|
{
|
|
557
|
-
"sourcePath": "
|
|
553
|
+
"sourcePath": "primitives/is--layer.mdx",
|
|
558
554
|
"title": "Layer / is--layer",
|
|
559
|
-
"description": "
|
|
560
|
-
"category": "
|
|
561
|
-
"headings": ["
|
|
555
|
+
"description": "is--layer は、absoluteで親要素の上に被せて配置するオーバーレイ用のクラスです。",
|
|
556
|
+
"category": "primitives",
|
|
557
|
+
"headings": ["CSS", "Lismコンポーネントでの使い方", "Usage"],
|
|
562
558
|
"keywords": [
|
|
563
559
|
"Layer",
|
|
564
560
|
"レイヤー",
|
|
@@ -572,41 +568,53 @@
|
|
|
572
568
|
"重ねる",
|
|
573
569
|
"背景装飾"
|
|
574
570
|
],
|
|
575
|
-
"snippet": "親要素に対して絶対配置で重なるレイヤー要素。オーバーレイや背景装飾に使用。
|
|
571
|
+
"snippet": "親要素に対して絶対配置で重なるレイヤー要素。オーバーレイや背景装飾に使用。backdrop-filterの活用も解説。"
|
|
576
572
|
},
|
|
577
573
|
{
|
|
578
|
-
"sourcePath": "
|
|
579
|
-
"title": "
|
|
580
|
-
"description": "
|
|
581
|
-
"category": "
|
|
582
|
-
"headings": ["
|
|
583
|
-
"keywords": [
|
|
584
|
-
|
|
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通りがある。"
|
|
585
593
|
},
|
|
586
594
|
{
|
|
587
|
-
"sourcePath": "
|
|
595
|
+
"sourcePath": "primitives/is--wrapper.mdx",
|
|
588
596
|
"title": "Wrapper / is--wrapper",
|
|
589
|
-
"description": "
|
|
590
|
-
"category": "
|
|
591
|
-
"headings": ["
|
|
597
|
+
"description": "is--wrapper は、その直下のコンテンツ幅を一括制御できるクラスです。",
|
|
598
|
+
"category": "primitives",
|
|
599
|
+
"headings": ["CSS", "Lismコンポーネントでの使い方", "Usage"],
|
|
592
600
|
"keywords": ["Wrapper", "ラッパー", "コンテンツ幅", "max-width", "is--wrapper", "contentSize", "幅制限", "width limiter"],
|
|
593
|
-
"snippet": "コンテンツ幅を制限するラッパー要素。contentSizeで幅を指定。s, lのプリセットサイズや任意値も設定可能。"
|
|
601
|
+
"snippet": "コンテンツ幅を制限するラッパー要素。isWrapperプロパティでどのコンポーネントからでも呼び出し可能。contentSizeで幅を指定。s, lのプリセットサイズや任意値も設定可能。"
|
|
594
602
|
},
|
|
595
603
|
{
|
|
596
|
-
"sourcePath": "
|
|
604
|
+
"sourcePath": "primitives/a--icon.mdx",
|
|
597
605
|
"title": "Icon / a--icon",
|
|
598
|
-
"description": "
|
|
599
|
-
"category": "
|
|
600
|
-
"headings": ["
|
|
606
|
+
"description": "a--icon は、アイコン要素を表示するためのクラスです。",
|
|
607
|
+
"category": "primitives",
|
|
608
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
601
609
|
"keywords": ["Icon", "アイコン", "SVG", "a--icon", "phosphor-icons"],
|
|
602
610
|
"snippet": "アイコンを表示するコンポーネント。外部パッケージ(react-icons, phosphor-icons等)のアイコン、プリセットアイコン、SVG直接記述、img指定に対応。"
|
|
603
611
|
},
|
|
604
612
|
{
|
|
605
|
-
"sourcePath": "
|
|
613
|
+
"sourcePath": "primitives/a--divider.mdx",
|
|
606
614
|
"title": "Divider / a--divider",
|
|
607
|
-
"description": "
|
|
608
|
-
"category": "
|
|
609
|
-
"headings": ["
|
|
615
|
+
"description": "a--divider は、コンテンツ間に区切り線を描画するためのクラスです。",
|
|
616
|
+
"category": "primitives",
|
|
617
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
610
618
|
"keywords": ["Divider", "区切り線", "hr", "a--divider", "セパレーター", "border", "separator", "仕切り"],
|
|
611
619
|
"snippet": "区切り線を表示するコンポーネント。水平・垂直の区切りを表現。bds, bdw, bdc でスタイルをカスタマイズ可能。"
|
|
612
620
|
},
|
|
@@ -620,22 +628,22 @@
|
|
|
620
628
|
"snippet": "img, video, iframe 等のメディア要素を統一的に扱うコンポーネント。objectPositionやfilter系はstyleで指定。Astro版では as='img' で Astro Image、as='picture' で Astro Picture に自動マッピング。Next.js の Image コンポーネントとの連携も可能。"
|
|
621
629
|
},
|
|
622
630
|
{
|
|
623
|
-
"sourcePath": "
|
|
631
|
+
"sourcePath": "primitives/a--spacer.mdx",
|
|
624
632
|
"title": "Spacer / a--spacer",
|
|
625
|
-
"description": "
|
|
626
|
-
"category": "
|
|
627
|
-
"headings": ["
|
|
633
|
+
"description": "a--spacer は、要素間にスペースを確保するためのクラスです。",
|
|
634
|
+
"category": "primitives",
|
|
635
|
+
"headings": ["CSS", "Lismコンポーネント", "Usage"],
|
|
628
636
|
"keywords": ["Spacer", "スペーサー", "余白", "空白", "a--spacer", "スペース", "gap element"],
|
|
629
637
|
"snippet": "空白を挿入するコンポーネント。w, h で幅・高さを指定。SPACEトークンの値も使用可能。"
|
|
630
638
|
},
|
|
631
639
|
{
|
|
632
|
-
"sourcePath": "
|
|
640
|
+
"sourcePath": "primitives/a--decorator.mdx",
|
|
633
641
|
"title": "Decorator / a--decorator",
|
|
634
|
-
"description": "
|
|
635
|
-
"category": "
|
|
636
|
-
"headings": ["
|
|
642
|
+
"description": "a--decorator は、コンテンツを装飾するための空要素として使うクラスです。",
|
|
643
|
+
"category": "primitives",
|
|
644
|
+
"headings": ["Lismコンポーネント", "Usage"],
|
|
637
645
|
"keywords": ["Decorator", "デコレーター", "装飾", "a--decorator", "visual decoration"],
|
|
638
|
-
"snippet": "装飾用の空要素を出力するコンポーネント。
|
|
646
|
+
"snippet": "装飾用の空要素を出力するコンポーネント。aria-hidden='true'がデフォルトで付与される。"
|
|
639
647
|
},
|
|
640
648
|
{
|
|
641
649
|
"sourcePath": "ui/Accordion.mdx",
|
|
@@ -890,13 +898,13 @@
|
|
|
890
898
|
"snippet": "u--trimは自身のmargin-blockを調整。u--trimChildrenは子要素全ての上下マージンを調整。img, figure, tableに対してはマージン調節を無効化。"
|
|
891
899
|
},
|
|
892
900
|
{
|
|
893
|
-
"sourcePath": "
|
|
894
|
-
"title": "
|
|
895
|
-
"description": "
|
|
896
|
-
"category": "
|
|
897
|
-
"headings": ["
|
|
898
|
-
"keywords": ["u--expandedLink", "クリック範囲", "リンク拡張", "linkBox"],
|
|
899
|
-
"snippet": "
|
|
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 と併用し、内部リンクをボックス全体に広げるために使用。"
|
|
900
908
|
},
|
|
901
909
|
{
|
|
902
910
|
"sourcePath": "utility-class.mdx",
|
|
@@ -996,5 +1004,48 @@
|
|
|
996
1004
|
"headings": ["set--bp"],
|
|
997
1005
|
"keywords": ["set--bp", "ブレイクポイント", "メディアクエリ", "レスポンシブ", "--_is_sm", "条件付きスタイル"],
|
|
998
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 との併用が必要。"
|
|
999
1050
|
}
|
|
1000
1051
|
]
|