@lism-css/mcp 0.11.0 → 0.12.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 +278 -51
- package/dist/data/guides/SKILL.md +113 -0
- package/dist/data/guides/base-styles.md +106 -0
- package/dist/data/guides/components-core.md +338 -0
- package/dist/data/guides/components-ui.md +351 -0
- package/dist/data/guides/css-rules.md +146 -0
- package/dist/data/guides/module-class.md +162 -0
- package/dist/data/guides/prop-responsive.md +54 -0
- package/dist/data/guides/property-class.md +400 -0
- package/dist/data/guides/set-class.md +190 -0
- package/dist/data/guides/tokens.md +210 -0
- package/dist/data/guides/utility-class.md +81 -0
- package/dist/index.js +4 -0
- package/dist/lib/load-data.js +2 -11
- package/dist/lib/load-markdown.d.ts +6 -0
- package/dist/lib/load-markdown.js +29 -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 +9 -68
- package/dist/lib/types.d.ts +0 -64
- package/dist/tools/convert-css.js +96 -55
- package/dist/tools/get-component.js +60 -29
- 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 +27 -9
- 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
package/README.ja.md
CHANGED
|
@@ -11,8 +11,9 @@ AI ツール(Claude Code, Cursor 等)が Lism CSS の最新ドキュメン
|
|
|
11
11
|
|--------|------|
|
|
12
12
|
| `get_overview` | フレームワークの全体像(アーキテクチャ、設計思想、パッケージ構成、ブレークポイント、インストール方法、CSS Layers) |
|
|
13
13
|
| `get_tokens` | デザイントークン(色、余白、フォントサイズ、影、角丸など)の一覧・カテゴリ絞り込み |
|
|
14
|
-
| `get_props_system` | Props システム対応表 — React/Astro の props が CSS クラス・スタイルにどう変換されるか。CSS プロパティ名での逆引き(例: `padding` → `p`)や
|
|
14
|
+
| `get_props_system` | Props システム対応表 — React/Astro の props が CSS クラス・スタイルにどう変換されるか。CSS プロパティ名での逆引き(例: `padding` → `p`)や Property Class 記法(`-g:5` 等)にも対応 |
|
|
15
15
|
| `get_component` | コンポーネント詳細(props、使用例、サブコンポーネント構成)。パッケージ(`lism-css` / `@lism-css/ui`)での絞り込みも可能 |
|
|
16
|
+
| `get_guide` | 特定トピックの詳細ガイド(CSS ルール、レスポンシブ、ユーティリティクラス、モジュールクラス、セットクラス、ベーススタイルなど) |
|
|
16
17
|
| `search_docs` | ドキュメント全文検索(スコアリング付き)。カテゴリ絞り込みや CSS プロパティ名の自動展開に対応 |
|
|
17
18
|
| `convert_css` | CSS コードを Lism CSS の props・コンポーネントに変換。既存 CSS から Lism CSS への移行に便利 |
|
|
18
19
|
|
|
@@ -25,7 +26,8 @@ AI ツール(Claude Code, Cursor 等)が Lism CSS の最新ドキュメン
|
|
|
25
26
|
- 「`fz` に対応する CSS プロパティは?」→ `get_props_system(prop: "font-size")`
|
|
26
27
|
- 「Accordion コンポーネントの使い方は?」→ `get_component(name: "Accordion")`
|
|
27
28
|
- 「UI コンポーネントだけ見たい」→ `get_component(name: "Accordion", package: "@lism-css/ui")`
|
|
28
|
-
-
|
|
29
|
+
- 「CSS レイヤー構造を教えて」→ `get_guide(topic: "css-rules")`
|
|
30
|
+
- 「レスポンシブ対応の方法を教えて」→ `get_guide(topic: "responsive")`
|
|
29
31
|
- 「ガイドだけ検索」→ `search_docs(query: "レスポンシブ", category: "guide")`
|
|
30
32
|
- 「`display: flex; gap: 1rem;` を Lism に変換して」→ `convert_css(css: "display: flex; gap: 1rem;")`
|
|
31
33
|
|
package/README.md
CHANGED
|
@@ -11,8 +11,9 @@ Enables AI tools (Claude Code, Cursor, etc.) to accurately reference the latest
|
|
|
11
11
|
|------|-------------|
|
|
12
12
|
| `get_overview` | Framework overview (architecture, design philosophy, packages, breakpoints, installation guide, CSS Layers) |
|
|
13
13
|
| `get_tokens` | List and filter design tokens (colors, spacing, font sizes, shadows, radii, etc.) |
|
|
14
|
-
| `get_props_system` | Props system reference — how React/Astro props map to CSS classes and styles. Supports reverse lookup by CSS property name (e.g. `padding` → `p`) and
|
|
14
|
+
| `get_props_system` | Props system reference — how React/Astro props map to CSS classes and styles. Supports reverse lookup by CSS property name (e.g. `padding` → `p`) and Property Class notation (e.g. `-g:5`) |
|
|
15
15
|
| `get_component` | Component details (props, usage examples, sub-component structure). Optionally filter by package (`lism-css` or `@lism-css/ui`) |
|
|
16
|
+
| `get_guide` | Detailed guide on a specific topic (CSS rules, responsive design, utility classes, module classes, set classes, base styles, etc.) |
|
|
16
17
|
| `search_docs` | Full-text documentation search with relevance scoring. Supports category filtering and CSS property name expansion |
|
|
17
18
|
| `convert_css` | Convert CSS code to lism-css props and component suggestions. Useful for migrating existing CSS to Lism CSS |
|
|
18
19
|
|
|
@@ -25,7 +26,8 @@ Enables AI tools (Claude Code, Cursor, etc.) to accurately reference the latest
|
|
|
25
26
|
- "What CSS property does `fz` correspond to?" → `get_props_system(prop: "font-size")`
|
|
26
27
|
- "How do I use the Accordion component?" → `get_component(name: "Accordion")`
|
|
27
28
|
- "Show me only UI components" → `get_component(name: "Accordion", package: "@lism-css/ui")`
|
|
28
|
-
- "How does
|
|
29
|
+
- "How does the CSS layer structure work?" → `get_guide(topic: "css-rules")`
|
|
30
|
+
- "How does responsive design work?" → `get_guide(topic: "responsive")`
|
|
29
31
|
- "Search only guide docs" → `search_docs(query: "responsive", category: "guide")`
|
|
30
32
|
- "Convert `display: flex; gap: 1rem;` to Lism" → `convert_css(css: "display: flex; gap: 1rem;")`
|
|
31
33
|
|
|
@@ -31,28 +31,64 @@
|
|
|
31
31
|
"命名規則",
|
|
32
32
|
"naming",
|
|
33
33
|
"BEM",
|
|
34
|
-
"
|
|
34
|
+
"Property Class",
|
|
35
35
|
"Module Class",
|
|
36
36
|
"Set Class",
|
|
37
37
|
"Utility Class",
|
|
38
38
|
"省略",
|
|
39
39
|
"Emmet"
|
|
40
40
|
],
|
|
41
|
-
"snippet": "CSSの階層構造を明確に定義。@layer lism-reset → lism-base → lism-modules → lism-utility の順。Module Class (.l--name, .a--name 等)、
|
|
41
|
+
"snippet": "CSSの階層構造を明確に定義。@layer lism-reset → lism-base → lism-modules → lism-custom → lism-utility の順。lism-custom はユーザー独自プレフィックスのクラス用レイヤー。Module Class (.l--name, .a--name 等)、Property Class (.-prop:value)、Set Class (.set--name) の命名規則を説明。"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"sourcePath": "tokens.mdx",
|
|
45
45
|
"title": "Design Tokens",
|
|
46
|
-
"description": "Lism CSS
|
|
46
|
+
"description": "Lism CSS で定義されているデザイントークンの概要ページ。RADIUS, SHADOW, OPACITY, SIZE トークンと、カラー・タイポグラフィ・スペーシングの各サブページへのリンク。",
|
|
47
47
|
"category": "guide",
|
|
48
|
-
"headings": ["
|
|
49
|
-
"keywords": ["token", "トークン", "design token", "
|
|
50
|
-
"snippet": "
|
|
48
|
+
"headings": ["RADIUS", "SHADOW", "OPACITY", "SIZE"],
|
|
49
|
+
"keywords": ["token", "トークン", "design token", "shadow", "radius", "opacity", "size"],
|
|
50
|
+
"snippet": "デザイントークンの概要。RADIUS, SHADOW, OPACITY, SIZE トークンを掲載。カラー・タイポグラフィ・スペーシングは個別ページで詳細を解説。"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"sourcePath": "
|
|
54
|
-
"title": "
|
|
55
|
-
"description": "CSS
|
|
53
|
+
"sourcePath": "tokens/colors.mdx",
|
|
54
|
+
"title": "カラートークン",
|
|
55
|
+
"description": "Lism CSS で定義されているセマンティックカラーとパレットカラーのトークン、カスタマイズ方法について解説します。",
|
|
56
|
+
"category": "guide",
|
|
57
|
+
"headings": ["COLOR", "PALETTE", "パレットカラーの活用", "カスタマイズ例"],
|
|
58
|
+
"keywords": ["color", "カラー", "palette", "パレット", "OKLCH", "brand", "accent", "dark mode", "ダークモード", "u--cbox", "keycolor"],
|
|
59
|
+
"snippet": "セマンティックカラー(base, text, brand, accent等)とOKLCHベースのパレットカラー(red, blue, green等)を定義。u--cboxユーティリティでの活用例、ダークモード対応などのカスタマイズ方法を紹介。"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"sourcePath": "tokens/typography.mdx",
|
|
63
|
+
"title": "タイポグラフィトークン",
|
|
64
|
+
"description": "Lism CSS で使用するフォントファミリー、フォントサイズ、行間などのタイポグラフィ関連のデザイントークンについて解説します。",
|
|
65
|
+
"category": "guide",
|
|
66
|
+
"headings": ["FF: font-family", "FW: font-weight", "FZ: font-size", "LTS: letter-spacing"],
|
|
67
|
+
"keywords": ["typography", "タイポグラフィ", "font", "文字", "テキスト", "heading", "font-size"],
|
|
68
|
+
"snippet": "フォントサイズ(調和数列ベース)、文字間隔などのタイポグラフィ設計を解説。フォントサイズのスケーリング規則を紹介。"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"sourcePath": "tokens/half-leading.mdx",
|
|
72
|
+
"title": "ハーフレディング(line-height)",
|
|
73
|
+
"description": "Lism CSS のハーフレディングによる line-height 管理の仕組みと、関連するデザイントークンについて解説します。",
|
|
74
|
+
"category": "guide",
|
|
75
|
+
"headings": ["トークン", "ハーフレディング管理のメリット"],
|
|
76
|
+
"keywords": ["line-height", "half-leading", "ハーフレディング", "行間", "lh", "--hl"],
|
|
77
|
+
"snippet": "line-heightをハーフレディング(文字上下の余白)で管理する仕組み。--hl変数によりフォントサイズに依存しない一定の行間を実現。トークン(xs/s/base/l)とlhクラスの使い方を解説。"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"sourcePath": "tokens/spacing.mdx",
|
|
81
|
+
"title": "スペーシングトークン",
|
|
82
|
+
"description": "Lism CSS のフィボナッチ数列に基づくスペーシングトークンと、対応するpropertyクラスについて解説します。",
|
|
83
|
+
"category": "guide",
|
|
84
|
+
"headings": ["SPACE: 余白のスケーリング", "対応する Property Class"],
|
|
85
|
+
"keywords": ["spacing", "余白", "スペーシング", "フィボナッチ", "padding", "margin", "gap", "property class"],
|
|
86
|
+
"snippet": "フィボナッチ数列に基づいた余白スケーリング(5〜80)を定義。p, px, py, m, mx, my, g等のpropertyクラスでフルサポート。方向別プロパティはBP対応のみなど、対応範囲を詳細に解説。"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"sourcePath": "property-class.mdx",
|
|
90
|
+
"title": "Property Class",
|
|
91
|
+
"description": "CSSプロパティに紐づいた Property Class の一覧とその使い方について解説します。",
|
|
56
92
|
"category": "props",
|
|
57
93
|
"headings": [
|
|
58
94
|
"このページの表の見方",
|
|
@@ -67,7 +103,7 @@
|
|
|
67
103
|
"Other CSS"
|
|
68
104
|
],
|
|
69
105
|
"keywords": [
|
|
70
|
-
"
|
|
106
|
+
"property class",
|
|
71
107
|
"utility",
|
|
72
108
|
"ユーティリティ",
|
|
73
109
|
"クラス",
|
|
@@ -129,15 +165,6 @@
|
|
|
129
165
|
"keywords": ["responsive", "レスポンシブ", "ブレークポイント", "breakpoint", "コンテナクエリ", "container query", "sm", "md"],
|
|
130
166
|
"snippet": "CSS変数とクラスを組み合わせたレスポンシブ対応。コンテナクエリをデフォルトで採用。p={[20, 30, 40]} のような配列記法で sm, md ブレークポイントの値を指定。"
|
|
131
167
|
},
|
|
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
168
|
{
|
|
142
169
|
"sourcePath": "reset-css.mdx",
|
|
143
170
|
"title": "Reset CSS",
|
|
@@ -324,7 +351,7 @@
|
|
|
324
351
|
"description": "プロトタイピングやデザインモックアップ用のダミーテキストを出力するコンポーネントです。",
|
|
325
352
|
"category": "ui",
|
|
326
353
|
"headings": ["Props", "Import", "使用例"],
|
|
327
|
-
"keywords": ["DummyText", "ダミー", "テスト", "プレビュー", "プレースホルダー", "lorem ipsum"],
|
|
354
|
+
"keywords": ["DummyText", "ダミー", "テスト", "プレビュー", "プレースホルダー", "lorem ipsum", "placeholder"],
|
|
328
355
|
"snippet": "ダミーテキストを生成するコンポーネント。複数の言語とテキスト長に対応。@lism-css/uiパッケージから提供。"
|
|
329
356
|
},
|
|
330
357
|
{
|
|
@@ -360,7 +387,19 @@
|
|
|
360
387
|
"description": "Lism CSS の Stack モジュールについて解説します。複数の要素を Flex で縦方向に配置するレイアウトモジュールです。",
|
|
361
388
|
"category": "modules",
|
|
362
389
|
"headings": ["CSS", "Import", "Props", "Usage"],
|
|
363
|
-
"keywords": [
|
|
390
|
+
"keywords": [
|
|
391
|
+
"Stack",
|
|
392
|
+
"スタック",
|
|
393
|
+
"縦並び",
|
|
394
|
+
"vertical",
|
|
395
|
+
"l--stack",
|
|
396
|
+
"display",
|
|
397
|
+
"display: flex",
|
|
398
|
+
"flex-direction",
|
|
399
|
+
"flex-direction: column",
|
|
400
|
+
"縦積み",
|
|
401
|
+
"column direction"
|
|
402
|
+
],
|
|
364
403
|
"snippet": "縦方向に要素を積み重ねるFlexレイアウト。flex-direction: column のFlex。ai='center'で内在的な中央寄せも可能。"
|
|
365
404
|
},
|
|
366
405
|
{
|
|
@@ -379,9 +418,34 @@
|
|
|
379
418
|
"display",
|
|
380
419
|
"display: grid",
|
|
381
420
|
"grid-template-columns",
|
|
382
|
-
"grid-template-rows"
|
|
421
|
+
"grid-template-rows",
|
|
422
|
+
"格子"
|
|
423
|
+
],
|
|
424
|
+
"snippet": "CSS Gridレイアウトを構成。gtc, gtr, gta, cols, rows 等で列・行を制御。subgridもサポート。均等タイルは l--tileGrid を参照。"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"sourcePath": "modules/l--tilegrid.mdx",
|
|
428
|
+
"title": "TileGrid / l--tileGrid",
|
|
429
|
+
"description": "Lism CSS の TileGrid モジュールについて解説します。均等な行列グリッド(タイル型レイアウト)を構成するためのレイアウトモジュールです。",
|
|
430
|
+
"category": "modules",
|
|
431
|
+
"headings": ["Props", "CSS", "Import", "Usage"],
|
|
432
|
+
"keywords": [
|
|
433
|
+
"TileGrid",
|
|
434
|
+
"タイル",
|
|
435
|
+
"グリッド",
|
|
436
|
+
"grid",
|
|
437
|
+
"l--tileGrid",
|
|
438
|
+
"display",
|
|
439
|
+
"display: grid",
|
|
440
|
+
"grid-template",
|
|
441
|
+
"cols",
|
|
442
|
+
"rows",
|
|
443
|
+
"1fr",
|
|
444
|
+
"repeat",
|
|
445
|
+
"tile",
|
|
446
|
+
"均等"
|
|
383
447
|
],
|
|
384
|
-
"snippet": "
|
|
448
|
+
"snippet": "colsとrowsで均等なタイル型グリッドレイアウトを構成。grid-template: repeat(rows, 1fr) / repeat(cols, 1fr) のGrid。ブレイクポイント指定も可能。"
|
|
385
449
|
},
|
|
386
450
|
{
|
|
387
451
|
"sourcePath": "modules/l--center.mdx",
|
|
@@ -389,7 +453,7 @@
|
|
|
389
453
|
"description": "Lism CSS の Center モジュールについて解説します。要素を上下左右中央揃えで配置するためのレイアウトモジュールです。",
|
|
390
454
|
"category": "modules",
|
|
391
455
|
"headings": ["CSS", "主なProps", "Import", "Usage"],
|
|
392
|
-
"keywords": ["Center", "中央揃え", "center", "layout", "l--center", "display", "display: grid", "place-items", "place-items: center"],
|
|
456
|
+
"keywords": ["Center", "中央揃え", "center", "layout", "l--center", "display", "display: grid", "place-items", "place-items: center", "中央配置"],
|
|
393
457
|
"snippet": "子要素を中央揃えにするレイアウト。place-items: center の Grid。高さがあれば上下左右中央揃え。"
|
|
394
458
|
},
|
|
395
459
|
{
|
|
@@ -398,7 +462,7 @@
|
|
|
398
462
|
"description": "Lism CSS の Cluster モジュールについて解説します。要素を横方向に並べて自動で折り返すレイアウトモジュールです。",
|
|
399
463
|
"category": "modules",
|
|
400
464
|
"headings": ["CSS", "Import", "Usage"],
|
|
401
|
-
"keywords": ["Cluster", "クラスター", "横並び", "wrap", "l--cluster", "タグ", "display", "display: flex", "flex-wrap"],
|
|
465
|
+
"keywords": ["Cluster", "クラスター", "横並び", "wrap", "l--cluster", "タグ", "display", "display: flex", "flex-wrap", "badge list"],
|
|
402
466
|
"snippet": "横方向に要素を並べ、自動的に折り返すFlexレイアウト。タグやバッジの並びに適している。"
|
|
403
467
|
},
|
|
404
468
|
{
|
|
@@ -407,7 +471,19 @@
|
|
|
407
471
|
"description": "Lism CSS の Columns モジュールについて解説します。ブレイクポイントごとに列数を指定できるカラムレイアウトです。",
|
|
408
472
|
"category": "modules",
|
|
409
473
|
"headings": ["Props", "CSS", "Import", "Usage"],
|
|
410
|
-
"keywords": [
|
|
474
|
+
"keywords": [
|
|
475
|
+
"Columns",
|
|
476
|
+
"カラム",
|
|
477
|
+
"列",
|
|
478
|
+
"multi-column",
|
|
479
|
+
"l--columns",
|
|
480
|
+
"subgrid",
|
|
481
|
+
"display",
|
|
482
|
+
"display: grid",
|
|
483
|
+
"grid-template-columns",
|
|
484
|
+
"等分割",
|
|
485
|
+
"multi column"
|
|
486
|
+
],
|
|
411
487
|
"snippet": "均等幅のカラムレイアウト。cols で列数を指定する Grid。レスポンシブ対応可能。subgridも活用可能。"
|
|
412
488
|
},
|
|
413
489
|
{
|
|
@@ -416,7 +492,7 @@
|
|
|
416
492
|
"description": "Lism CSS の Flow モジュールについて解説します。子要素間の余白を自動管理する flow-root レイアウトモジュールです。",
|
|
417
493
|
"category": "modules",
|
|
418
494
|
"headings": ["対応コンポーネント", "Usage", "l--flow を入れ子にする時の注意点"],
|
|
419
|
-
"keywords": ["Flow", "フロー", "コンテンツ", "記事", "l--flow", "本文", "is--skipFlow", "display: flow-root"],
|
|
495
|
+
"keywords": ["Flow", "フロー", "コンテンツ", "記事", "l--flow", "本文", "is--skipFlow", "display: flow-root", "article body", "縦方向余白"],
|
|
420
496
|
"snippet": "コンテンツフロー用のレイアウト。display: flow-root で子要素間の余白を管理。見出しタグは余白が2倍。is--skipFlowで余白打ち消しも可能。"
|
|
421
497
|
},
|
|
422
498
|
{
|
|
@@ -425,7 +501,20 @@
|
|
|
425
501
|
"description": "Lism CSS の FluidCols モジュールについて解説します。カラム幅に応じて自動で折り返すブレイクポイント非依存の段組みレイアウトです。",
|
|
426
502
|
"category": "modules",
|
|
427
503
|
"headings": ["Props", "CSS", "Import", "Usage"],
|
|
428
|
-
"keywords": [
|
|
504
|
+
"keywords": [
|
|
505
|
+
"FluidCols",
|
|
506
|
+
"流動カラム",
|
|
507
|
+
"auto-fill",
|
|
508
|
+
"fluid",
|
|
509
|
+
"l--fluidCols",
|
|
510
|
+
"display",
|
|
511
|
+
"display: grid",
|
|
512
|
+
"auto-wrap",
|
|
513
|
+
"自動折り返し",
|
|
514
|
+
"responsive grid",
|
|
515
|
+
"メディアクエリなし",
|
|
516
|
+
"折り返しグリッド"
|
|
517
|
+
],
|
|
429
518
|
"snippet": "子要素が最小幅に達すると自動的に折り返すグリッドレイアウト。メディアクエリに依存しない。cols で最小幅を指定。"
|
|
430
519
|
},
|
|
431
520
|
{
|
|
@@ -434,7 +523,7 @@
|
|
|
434
523
|
"description": "Lism CSS の Frame モジュールについて解説します。直下のメディア要素を自身のサイズに合わせて表示するレイアウトモジュールです。",
|
|
435
524
|
"category": "modules",
|
|
436
525
|
"headings": ["対応コンポーネント", "Usage"],
|
|
437
|
-
"keywords": ["Frame", "フレーム", "aspect-ratio", "アスペクト比", "l--frame", "画像", "video", "iframe"],
|
|
526
|
+
"keywords": ["Frame", "フレーム", "aspect-ratio", "アスペクト比", "l--frame", "画像", "video", "iframe", "比率維持"],
|
|
438
527
|
"snippet": "直下のメディア要素(img, video, iframe)を自身のサイズに合わせて表示するレイアウトモジュール。arでアスペクト比を指定。"
|
|
439
528
|
},
|
|
440
529
|
{
|
|
@@ -443,7 +532,7 @@
|
|
|
443
532
|
"description": "Lism CSS の SwitchCols モジュールについて解説します。メディアクエリ不要で複数列と1列を自動切り替えするレイアウトです。",
|
|
444
533
|
"category": "modules",
|
|
445
534
|
"headings": ["Props", "CSS", "Import", "Usage"],
|
|
446
|
-
"keywords": ["SwitchCols", "切り替え", "switch", "カラム", "l--switchCols"],
|
|
535
|
+
"keywords": ["SwitchCols", "切り替え", "switch", "カラム", "l--switchCols", "responsive columns", "メディアクエリなし"],
|
|
447
536
|
"snippet": "複数列以上と1列への切り替えをメディアクエリを使わずに実装するレイアウト。breakSizeで切り替えポイントを指定。"
|
|
448
537
|
},
|
|
449
538
|
{
|
|
@@ -452,8 +541,8 @@
|
|
|
452
541
|
"description": "Lism CSS の SideMain モジュールについて解説します。メディアクエリ不要でサイドとメインの2カラムレイアウトを構築します。",
|
|
453
542
|
"category": "modules",
|
|
454
543
|
"headings": ["基本構造", "CSS", "Import", "Props", "Usage", "`Grid`を使って似たレイアウトを構成する例"],
|
|
455
|
-
"keywords": ["SideMain", "サイドバー", "sidebar", "メイン", "l--sideMain", "2カラム", "is--side"],
|
|
456
|
-
"snippet": "サイドバー + メインコンテンツの2カラムレイアウト。メイン側が可変幅。sideW, mainWで幅を制御。fxd='row-
|
|
544
|
+
"keywords": ["SideMain", "サイドバー", "sidebar", "メイン", "l--sideMain", "2カラム", "is--side", "two column"],
|
|
545
|
+
"snippet": "サイドバー + メインコンテンツの2カラムレイアウト。メイン側が可変幅。sideW, mainWで幅を制御。fxd='row-reverse'で反転も可能。"
|
|
457
546
|
},
|
|
458
547
|
{
|
|
459
548
|
"sourcePath": "modules/is--container.mdx",
|
|
@@ -461,7 +550,7 @@
|
|
|
461
550
|
"description": "Lism CSS の Container モジュールについて解説します。container-type を設定しコンテナクエリを有効にするコンポーネントです。",
|
|
462
551
|
"category": "modules",
|
|
463
552
|
"headings": ["Props", "Import", "Usage"],
|
|
464
|
-
"keywords": ["Container", "コンテナ", "container query", "is--container", "isContainer"],
|
|
553
|
+
"keywords": ["Container", "コンテナ", "container query", "is--container", "isContainer", "レスポンシブ基準"],
|
|
465
554
|
"snippet": "コンテナクエリの基準要素。container-typeをセットし、子要素のレスポンシブ対応の基準となる。isContainerプロパティでどのコンポーネントからでも呼び出し可能。"
|
|
466
555
|
},
|
|
467
556
|
{
|
|
@@ -470,7 +559,19 @@
|
|
|
470
559
|
"description": "Lism CSS の Layer モジュールについて解説します。親要素に重ねて配置するオーバーレイ用のコンポーネントです。",
|
|
471
560
|
"category": "modules",
|
|
472
561
|
"headings": ["Import", "Usage"],
|
|
473
|
-
"keywords": [
|
|
562
|
+
"keywords": [
|
|
563
|
+
"Layer",
|
|
564
|
+
"レイヤー",
|
|
565
|
+
"overlay",
|
|
566
|
+
"オーバーレイ",
|
|
567
|
+
"is--layer",
|
|
568
|
+
"absolute",
|
|
569
|
+
"backdrop-filter",
|
|
570
|
+
"blur",
|
|
571
|
+
"position: absolute",
|
|
572
|
+
"重ねる",
|
|
573
|
+
"背景装飾"
|
|
574
|
+
],
|
|
474
575
|
"snippet": "親要素に対して絶対配置で重なるレイヤー要素。オーバーレイや背景装飾に使用。blur等のbackdrop-filterプロパティも個別に指定可能。"
|
|
475
576
|
},
|
|
476
577
|
{
|
|
@@ -479,7 +580,7 @@
|
|
|
479
580
|
"description": "Lism CSS の LinkBox モジュールについて解説します。ボックス全体をクリック可能なリンクにするコンポーネントです。",
|
|
480
581
|
"category": "modules",
|
|
481
582
|
"headings": ["Import", "Props", "Usage", "Opt-in"],
|
|
482
|
-
"keywords": ["LinkBox", "リンク", "clickable", "カード", "is--linkBox", "u--expandedLink"],
|
|
583
|
+
"keywords": ["LinkBox", "リンク", "clickable", "カード", "is--linkBox", "u--expandedLink", "クリッカブル"],
|
|
483
584
|
"snippet": "ボックス全体をリンク領域にする。hrefを指定してaタグにする方法と、内部にu--expandedLinkを配置する方法の2通りがある。"
|
|
484
585
|
},
|
|
485
586
|
{
|
|
@@ -488,7 +589,7 @@
|
|
|
488
589
|
"description": "Lism CSS の Wrapper モジュールについて解説します。コンテンツ幅を制御する is--wrapper クラスを出力するコンポーネントです。",
|
|
489
590
|
"category": "modules",
|
|
490
591
|
"headings": ["Props", "Import", "Usage"],
|
|
491
|
-
"keywords": ["Wrapper", "ラッパー", "コンテンツ幅", "max-width", "is--wrapper", "contentSize"],
|
|
592
|
+
"keywords": ["Wrapper", "ラッパー", "コンテンツ幅", "max-width", "is--wrapper", "contentSize", "幅制限", "width limiter"],
|
|
492
593
|
"snippet": "コンテンツ幅を制限するラッパー要素。contentSizeで幅を指定。s, lのプリセットサイズや任意値も設定可能。"
|
|
493
594
|
},
|
|
494
595
|
{
|
|
@@ -506,7 +607,7 @@
|
|
|
506
607
|
"description": "Lism CSS の Divider モジュールについて解説します。コンテンツ間に区切り線を描画するコンポーネントです。",
|
|
507
608
|
"category": "modules",
|
|
508
609
|
"headings": ["構造", "CSS", "Props", "Import", "Usage"],
|
|
509
|
-
"keywords": ["Divider", "区切り線", "hr", "a--divider", "セパレーター", "border"],
|
|
610
|
+
"keywords": ["Divider", "区切り線", "hr", "a--divider", "セパレーター", "border", "separator", "仕切り"],
|
|
510
611
|
"snippet": "区切り線を表示するコンポーネント。水平・垂直の区切りを表現。bds, bdw, bdc でスタイルをカスタマイズ可能。"
|
|
511
612
|
},
|
|
512
613
|
{
|
|
@@ -515,7 +616,7 @@
|
|
|
515
616
|
"description": "画像や動画などのメディア要素を出力するLismコンポーネントです。",
|
|
516
617
|
"category": "core-components",
|
|
517
618
|
"headings": ["Import"],
|
|
518
|
-
"keywords": ["Media", "メディア", "img", "video", "iframe", "画像", "picture", "Astro Image"],
|
|
619
|
+
"keywords": ["Media", "メディア", "img", "video", "iframe", "画像", "picture", "Astro Image", "動画"],
|
|
519
620
|
"snippet": "img, video, iframe 等のメディア要素を統一的に扱うコンポーネント。objectPositionやfilter系はstyleで指定。Astro版では as='img' で Astro Image、as='picture' で Astro Picture に自動マッピング。Next.js の Image コンポーネントとの連携も可能。"
|
|
520
621
|
},
|
|
521
622
|
{
|
|
@@ -524,7 +625,7 @@
|
|
|
524
625
|
"description": "Lism CSS の Spacer モジュールについて解説します。要素間にスペースを確保するための空要素を出力します。",
|
|
525
626
|
"category": "modules",
|
|
526
627
|
"headings": ["構造", "Props", "Import", "Usage"],
|
|
527
|
-
"keywords": ["Spacer", "スペーサー", "余白", "空白", "a--spacer"],
|
|
628
|
+
"keywords": ["Spacer", "スペーサー", "余白", "空白", "a--spacer", "スペース", "gap element"],
|
|
528
629
|
"snippet": "空白を挿入するコンポーネント。w, h で幅・高さを指定。SPACEトークンの値も使用可能。"
|
|
529
630
|
},
|
|
530
631
|
{
|
|
@@ -533,7 +634,7 @@
|
|
|
533
634
|
"description": "Lism CSS の Decorator モジュールについて解説します。装飾用の空要素を出力するコンポーネントです。",
|
|
534
635
|
"category": "modules",
|
|
535
636
|
"headings": ["構造", "Props", "Import", "Usage"],
|
|
536
|
-
"keywords": ["Decorator", "デコレーター", "装飾", "a--decorator"],
|
|
637
|
+
"keywords": ["Decorator", "デコレーター", "装飾", "a--decorator", "visual decoration"],
|
|
537
638
|
"snippet": "装飾用の空要素を出力するコンポーネント。size, filter系プロパティ, clipPathに対応。aria-hidden='true'がデフォルトで付与される。"
|
|
538
639
|
},
|
|
539
640
|
{
|
|
@@ -542,7 +643,7 @@
|
|
|
542
643
|
"description": "@lism-css/ui で提供する Accordion コンポーネントについて解説します。",
|
|
543
644
|
"category": "ui",
|
|
544
645
|
"headings": ["基本構造", "ソースコード", "Import", "Props", "Examples"],
|
|
545
|
-
"keywords": ["Accordion", "アコーディオン", "開閉", "toggle", "FAQ"],
|
|
646
|
+
"keywords": ["Accordion", "アコーディオン", "開閉", "toggle", "FAQ", "折りたたみ", "collapsible"],
|
|
546
647
|
"snippet": "クリックでコンテンツの開閉を切り替えるアコーディオンUI。@lism-css/uiパッケージで提供。"
|
|
547
648
|
},
|
|
548
649
|
{
|
|
@@ -551,7 +652,7 @@
|
|
|
551
652
|
"description": "@lism-css/ui で提供する Modal コンポーネントについて解説します。",
|
|
552
653
|
"category": "ui",
|
|
553
654
|
"headings": ["How to use", "Props", "Usage"],
|
|
554
|
-
"keywords": ["Modal", "モーダル", "dialog", "ダイアログ", "ポップアップ"],
|
|
655
|
+
"keywords": ["Modal", "モーダル", "dialog", "ダイアログ", "ポップアップ", "popup"],
|
|
555
656
|
"snippet": "モーダルダイアログUI。dialog要素を使用。@lism-css/uiパッケージで提供。"
|
|
556
657
|
},
|
|
557
658
|
{
|
|
@@ -560,7 +661,7 @@
|
|
|
560
661
|
"description": "@lism-css/ui で提供する Tabs コンポーネントについて解説します。",
|
|
561
662
|
"category": "ui",
|
|
562
663
|
"headings": ["基本構造", "CSS", "JavaScript", "Import", "Props", "Usage", "スタイルバリエーションの作成例", "Opt-in"],
|
|
563
|
-
"keywords": ["Tabs", "タブ", "切り替え", "panel"],
|
|
664
|
+
"keywords": ["Tabs", "タブ", "切り替え", "panel", "tab navigation"],
|
|
564
665
|
"snippet": "タブ切り替えUI。タブをクリックしてコンテンツパネルを切り替える。@lism-css/uiパッケージで提供。"
|
|
565
666
|
},
|
|
566
667
|
{
|
|
@@ -569,7 +670,7 @@
|
|
|
569
670
|
"description": "@lism-css/ui で提供する Details コンポーネントについて解説します。",
|
|
570
671
|
"category": "ui",
|
|
571
672
|
"headings": ["How to use", "Examples"],
|
|
572
|
-
"keywords": ["Details", "details", "summary", "開閉"],
|
|
673
|
+
"keywords": ["Details", "details", "summary", "開閉", "disclosure"],
|
|
573
674
|
"snippet": "HTMLのdetails/summary要素をラップ。ネイティブのHTML要素を使用したアコーディオン。@lism-css/uiパッケージで提供。"
|
|
574
675
|
},
|
|
575
676
|
{
|
|
@@ -578,7 +679,7 @@
|
|
|
578
679
|
"description": "@lism-css/ui で提供する Alert コンポーネントについて解説します。",
|
|
579
680
|
"category": "ui",
|
|
580
681
|
"headings": ["How to use", "Examples", "Only lism-css"],
|
|
581
|
-
"keywords": ["Alert", "アラート", "注意", "notice", "warning", "info"],
|
|
682
|
+
"keywords": ["Alert", "アラート", "注意", "notice", "warning", "info", "お知らせ", "通知"],
|
|
582
683
|
"snippet": "短めの文言を目立たせて強調表示したい時に使えるコンポーネント。アイコンとキーカラーでバリエーション。"
|
|
583
684
|
},
|
|
584
685
|
{
|
|
@@ -587,7 +688,7 @@
|
|
|
587
688
|
"description": "@lism-css/ui で提供する Callout コンポーネントについて解説します。",
|
|
588
689
|
"category": "ui",
|
|
589
690
|
"headings": ["How to use", "Examples", "Only lism-css", "Only Core"],
|
|
590
|
-
"keywords": ["Callout", "コールアウト", "補足", "note", "注意書き"],
|
|
691
|
+
"keywords": ["Callout", "コールアウト", "補足", "note", "注意書き", "強調ボックス", "highlight"],
|
|
591
692
|
"snippet": "記事の中で重要なポイントを示すためのコンポーネント。@lism-css/uiパッケージで提供。"
|
|
592
693
|
},
|
|
593
694
|
{
|
|
@@ -596,7 +697,7 @@
|
|
|
596
697
|
"description": "@lism-css/ui で提供する Button コンポーネントについて解説します。",
|
|
597
698
|
"category": "ui",
|
|
598
699
|
"headings": ["How to use", "Examples", "Opt-in", "Only lism-css"],
|
|
599
|
-
"keywords": ["Button", "ボタン", "クリック", "outline", "action"],
|
|
700
|
+
"keywords": ["Button", "ボタン", "クリック", "outline", "action", "CTA", "submit"],
|
|
600
701
|
"snippet": "ボタンコンポーネント。variant (outline 等) と keycolor でバリエーションを表現。@lism-css/uiパッケージで提供。"
|
|
601
702
|
},
|
|
602
703
|
{
|
|
@@ -605,7 +706,7 @@
|
|
|
605
706
|
"description": "@lism-css/ui で提供する Badge コンポーネントについて解説します。",
|
|
606
707
|
"category": "ui",
|
|
607
708
|
"headings": ["How to use", "Examples", "Only lism-css"],
|
|
608
|
-
"keywords": ["Badge", "バッジ", "ラベル", "タグ", "status"],
|
|
709
|
+
"keywords": ["Badge", "バッジ", "ラベル", "タグ", "status", "ステータス表示", "tag label", "カテゴリ表示"],
|
|
609
710
|
"snippet": "バッジ (ラベル) コンポーネント。カテゴリやステータスの表示に使用。@lism-css/uiパッケージで提供。"
|
|
610
711
|
},
|
|
611
712
|
{
|
|
@@ -614,7 +715,7 @@
|
|
|
614
715
|
"description": "@lism-css/ui で提供する Avatar コンポーネントについて解説します。",
|
|
615
716
|
"category": "ui",
|
|
616
717
|
"headings": ["How to use", "Examples", "Only lism-css"],
|
|
617
|
-
"keywords": ["Avatar", "アバター", "プロフィール", "画像", "丸"],
|
|
718
|
+
"keywords": ["Avatar", "アバター", "プロフィール", "画像", "丸", "user icon", "ユーザーアイコン"],
|
|
618
719
|
"snippet": "アバター画像用のコンポーネント。円形の画像表示に使用。@lism-css/uiパッケージで提供。"
|
|
619
720
|
},
|
|
620
721
|
{
|
|
@@ -623,7 +724,7 @@
|
|
|
623
724
|
"description": "@lism-css/ui で提供する Chat コンポーネントについて解説します。",
|
|
624
725
|
"category": "ui",
|
|
625
726
|
"headings": ["How to use", "Examples", "Opt-in"],
|
|
626
|
-
"keywords": ["Chat", "チャット", "吹き出し", "会話", "balloon"],
|
|
727
|
+
"keywords": ["Chat", "チャット", "吹き出し", "会話", "balloon", "message bubble", "speech bubble"],
|
|
627
728
|
"snippet": "チャット風の吹き出しコンポーネント。会話形式のUI表現に使用。@lism-css/uiパッケージで提供。"
|
|
628
729
|
},
|
|
629
730
|
{
|
|
@@ -641,7 +742,7 @@
|
|
|
641
742
|
"description": "@lism-css/ui で提供する ShapeDivider コンポーネントについて解説します。",
|
|
642
743
|
"category": "ui",
|
|
643
744
|
"headings": ["How to use", "Examples"],
|
|
644
|
-
"keywords": ["ShapeDivider", "波", "wave", "区切り", "SVG", "セクション"],
|
|
745
|
+
"keywords": ["ShapeDivider", "波", "wave", "区切り", "SVG", "セクション", "section separator"],
|
|
645
746
|
"snippet": "セクション間の波型などの装飾的な区切り要素。SVGベースの形状で区切りを表現。@lism-css/uiパッケージで提供。"
|
|
646
747
|
},
|
|
647
748
|
{
|
|
@@ -769,5 +870,131 @@
|
|
|
769
870
|
"headings": ["Create Component", "Usage"],
|
|
770
871
|
"keywords": ["Table", "テーブル", "表", "固定", "スクロール", "example"],
|
|
771
872
|
"snippet": "行・列の固定表示に対応した汎用Tableレイアウトの実装例。CSS変数でボーダースタイルを調整可能。"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"sourcePath": "utility-class.mdx",
|
|
876
|
+
"title": "u--cbox",
|
|
877
|
+
"description": "keycolor変数をベースに、color/background-color/border-colorをcolor-mix()で自動生成するユーティリティクラス。",
|
|
878
|
+
"category": "guide",
|
|
879
|
+
"headings": ["u--cbox"],
|
|
880
|
+
"keywords": ["u--cbox", "カラーボックス", "keycolor", "color-mix", "配色", "テーマカラー", "バッジ"],
|
|
881
|
+
"snippet": "--keycolor変数をベースに --c, --bgc, --bdc を color-mix() で生成。bdクラスとの併用でボーダーも表示可能。バッジやカード等のカラーテーマ適用に使用。"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"sourcePath": "utility-class.mdx",
|
|
885
|
+
"title": "u--trim / u--trimChildren",
|
|
886
|
+
"description": "テキストのハーフレディング分の余白を調整するユーティリティクラス。",
|
|
887
|
+
"category": "guide",
|
|
888
|
+
"headings": ["u--trim", "u--trimChildren"],
|
|
889
|
+
"keywords": ["u--trim", "u--trimChildren", "ハーフレディング", "行間調整", "テキスト余白", "margin-block", "トリム"],
|
|
890
|
+
"snippet": "u--trimは自身のmargin-blockを調整。u--trimChildrenは子要素全ての上下マージンを調整。img, figure, tableに対してはマージン調節を無効化。"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"sourcePath": "utility-class.mdx",
|
|
894
|
+
"title": "u--expandedLink",
|
|
895
|
+
"description": "クリック範囲を親要素に広げるユーティリティクラス。is--linkBoxと併用。",
|
|
896
|
+
"category": "guide",
|
|
897
|
+
"headings": ["u--expandedLink"],
|
|
898
|
+
"keywords": ["u--expandedLink", "クリック範囲", "リンク拡張", "linkBox"],
|
|
899
|
+
"snippet": "クリック範囲を親要素に広げるためのクラス。主にis--linkBoxと併用して、内部のリンクをボックス全体に広げるために使用。"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"sourcePath": "utility-class.mdx",
|
|
903
|
+
"title": "u--srOnly",
|
|
904
|
+
"description": "要素を視覚的に隠してスクリーンリーダーのみに表示するユーティリティクラス。",
|
|
905
|
+
"category": "guide",
|
|
906
|
+
"headings": ["u--srOnly"],
|
|
907
|
+
"keywords": ["u--srOnly", "スクリーンリーダー", "アクセシビリティ", "非表示", "visually hidden", "sr-only"],
|
|
908
|
+
"snippet": "要素を視覚的に隠すクラス。position: absolute + clip-path: inset(50%) で視覚上非表示にしつつ、スクリーンリーダーには読み上げ可能。"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"sourcePath": "utility-class.mdx",
|
|
912
|
+
"title": "u--collapseGrid",
|
|
913
|
+
"description": "グリッド・フレックス子要素間にボーダー(区切り線)を表示するユーティリティクラス。",
|
|
914
|
+
"category": "guide",
|
|
915
|
+
"headings": ["u--collapseGrid"],
|
|
916
|
+
"keywords": ["u--collapseGrid", "グリッド区切り", "ボーダー", "テーブル風", "カレンダー", "box-shadow"],
|
|
917
|
+
"snippet": "box-shadowで子要素間に区切りボーダーを表示。p='0' ov='clip'で周囲のボーダーを非表示にでき、bd追加でカレンダー風の表現も可能。"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"sourcePath": "utility-class.mdx",
|
|
921
|
+
"title": "u--snap",
|
|
922
|
+
"description": "scroll-snap系プロパティをCSS変数で制御するユーティリティクラス。",
|
|
923
|
+
"category": "guide",
|
|
924
|
+
"headings": ["u--snap"],
|
|
925
|
+
"keywords": ["u--snap", "スクロールスナップ", "scroll-snap", "カルーセル"],
|
|
926
|
+
"snippet": "scroll-snap-type等のプロパティをCSS変数でセットできるようにするクラス。"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"sourcePath": "utility-class.mdx",
|
|
930
|
+
"title": "u--clipText",
|
|
931
|
+
"description": "テキストで背景をクリッピングするユーティリティクラス。",
|
|
932
|
+
"category": "guide",
|
|
933
|
+
"headings": ["u--clipText"],
|
|
934
|
+
"keywords": ["u--clipText", "テキストクリップ", "背景クリッピング", "グラデーション文字", "background-clip"],
|
|
935
|
+
"snippet": "テキストで背景をクリッピングするクラス。bgiにグラデーション等を指定し、文字の形で背景を切り抜く表現が可能。"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"sourcePath": "set-class.mdx",
|
|
939
|
+
"title": "set--plain",
|
|
940
|
+
"description": "主要スタイルをリセットするためのSetクラス。",
|
|
941
|
+
"category": "guide",
|
|
942
|
+
"headings": ["set--plain"],
|
|
943
|
+
"keywords": ["set--plain", "スタイルリセット", "ボタンリセット", "reset"],
|
|
944
|
+
"snippet": "主要スタイルをリセットするクラス。buttonやinput等のブラウザデフォルトスタイルを除去する場合に使用。unsetで解除可能。"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"sourcePath": "set-class.mdx",
|
|
948
|
+
"title": "set--shadow",
|
|
949
|
+
"description": "シャドウを構成するCSS変数を再定義するSetクラス。",
|
|
950
|
+
"category": "guide",
|
|
951
|
+
"headings": ["set--shadow"],
|
|
952
|
+
"keywords": ["set--shadow", "シャドウ", "影", "box-shadow", "--shc"],
|
|
953
|
+
"snippet": "set--shadowクラスを指定した要素では --bxsh-- 変数が再定義される。--shc変数でシャドウの色味をカスタマイズ可能。"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"sourcePath": "set-class.mdx",
|
|
957
|
+
"title": "set--hov",
|
|
958
|
+
"description": "ホバー状態の判定変数(--_isHov, --_notHov)をセットするSetクラス。",
|
|
959
|
+
"category": "guide",
|
|
960
|
+
"headings": ["set--hov"],
|
|
961
|
+
"keywords": ["set--hov", "ホバー", "hover", "--_isHov", "--_notHov", "空変数トリック", "子要素ホバー"],
|
|
962
|
+
"snippet": "hover/focus-within状態を空変数トリックで判定。var(--_isHov, 値)でhover時のみスタイル適用。親要素に付与して子要素のホバースタイルを制御可能。"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"sourcePath": "set-class.mdx",
|
|
966
|
+
"title": "set--transition",
|
|
967
|
+
"description": "CSS変数を用いてtransitionプロパティをセットするSetクラス。",
|
|
968
|
+
"category": "guide",
|
|
969
|
+
"headings": ["set--transition"],
|
|
970
|
+
"keywords": ["set--transition", "トランジション", "アニメーション", "transition"],
|
|
971
|
+
"snippet": "専用のCSS変数を用いてtransitionプロパティをセットするクラス。set--hovと組み合わせてスムーズなホバーアニメーションを実現。"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"sourcePath": "set-class.mdx",
|
|
975
|
+
"title": "set--innerRs",
|
|
976
|
+
"description": "親要素の角丸とPaddingから内側の角丸を自動計算するSetクラス。",
|
|
977
|
+
"category": "guide",
|
|
978
|
+
"headings": ["set--innerRs"],
|
|
979
|
+
"keywords": ["set--innerRs", "角丸", "内側角丸", "border-radius", "自動計算", "--bdrs--inner"],
|
|
980
|
+
"snippet": "親要素の --bdrs と --p から内側の角丸 --bdrs--inner を自動計算。子要素で -bdrs:inner を使って適用。レスポンシブ対応。"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"sourcePath": "set-class.mdx",
|
|
984
|
+
"title": "set--gutter",
|
|
985
|
+
"description": "コンテンツの左右に統一した余白をつけるSetクラス。",
|
|
986
|
+
"category": "guide",
|
|
987
|
+
"headings": ["set--gutter"],
|
|
988
|
+
"keywords": ["set--gutter", "ガター", "左右余白", "サイド余白", "padding", "--gutter-size"],
|
|
989
|
+
"snippet": "サイト全体で統一した左右余白を確保するクラス。--gutter-size変数(初期値 var(--s30))で余白量を制御。"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"sourcePath": "set-class.mdx",
|
|
993
|
+
"title": "set--bp",
|
|
994
|
+
"description": "特定のブレイクポイント以上でのみスタイルを適用するSetクラス。",
|
|
995
|
+
"category": "guide",
|
|
996
|
+
"headings": ["set--bp"],
|
|
997
|
+
"keywords": ["set--bp", "ブレイクポイント", "メディアクエリ", "レスポンシブ", "--_is_sm", "条件付きスタイル"],
|
|
998
|
+
"snippet": "特定のブレイクポイント以上でのみスタイルを適用するクラス。var(--_is_sm) 等の変数を使い、レスポンシブ対応していないプロパティを条件付きで変化させるハック的手段。"
|
|
772
999
|
}
|
|
773
1000
|
]
|