@lism-css/mcp 0.1.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/LICENSE +21 -0
- package/README.md +76 -0
- package/bin/lism-mcp.mjs +2 -0
- package/dist/data/components.json +366 -0
- package/dist/data/docs-index.json +646 -0
- package/dist/data/meta.d.ts +2 -0
- package/dist/data/meta.js +5 -0
- package/dist/data/overview.json +80 -0
- package/dist/data/props-system.json +596 -0
- package/dist/data/tokens.json +131 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +26 -0
- package/dist/lib/load-data.d.ts +3 -0
- package/dist/lib/load-data.js +29 -0
- package/dist/lib/response.d.ts +14 -0
- package/dist/lib/response.js +28 -0
- package/dist/lib/schemas.d.ts +232 -0
- package/dist/lib/schemas.js +65 -0
- package/dist/lib/search.d.ts +2 -0
- package/dist/lib/search.js +57 -0
- package/dist/lib/types.d.ts +76 -0
- package/dist/lib/types.js +1 -0
- package/dist/tools/get-component.d.ts +2 -0
- package/dist/tools/get-component.js +39 -0
- package/dist/tools/get-overview.d.ts +2 -0
- package/dist/tools/get-overview.js +50 -0
- package/dist/tools/get-props-system.d.ts +2 -0
- package/dist/tools/get-props-system.js +32 -0
- package/dist/tools/get-tokens.d.ts +2 -0
- package/dist/tools/get-tokens.js +19 -0
- package/dist/tools/search-docs.d.ts +2 -0
- package/dist/tools/search-docs.js +22 -0
- package/package.json +29 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Lism CSS は、WEBサイトの骨組みをテンポ良くサクっと作るための軽量なCSSフレームワークです。レイアウトファーストなモジュール設計と、CSS変数を組み合わせたレスポンシブなユーティリティ設計が特徴です。ビルドや設定は不要で、CSSを読み込むだけでも使えます。Every Layout + Bootstrap + Tailwind CSS を混ぜ合わせたような設計です。",
|
|
3
|
+
"architecture": "CSS Layers による詳細度管理を採用。@layer lism.reset → lism.base → lism.modules → lism.utility の順で読み込まれます。Prop Class はレイヤー外で定義され、詳細度が高くなります。モジュールはさらに state → layout → atomic のサブレイヤーに分かれています。コンテナクエリをデフォルトで採用し、メディアクエリに依存しないレイアウト設計が可能です。",
|
|
4
|
+
"packages": [
|
|
5
|
+
{
|
|
6
|
+
"name": "lism-css",
|
|
7
|
+
"npmName": "lism-css",
|
|
8
|
+
"description": "コアCSSフレームワーク。レイアウトモジュール、デザイントークン、Prop Class、React/Astroコンポーネントを提供。",
|
|
9
|
+
"version": "0.8.3"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "lism-ui",
|
|
13
|
+
"npmName": "@lism-css/ui",
|
|
14
|
+
"description": "lism-css の上に構築されたインタラクティブな UI コンポーネントライブラリ。Accordion, Modal, Tabs 等を React/Astro で提供。",
|
|
15
|
+
"version": "0.2.3"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"breakpoints": {
|
|
19
|
+
"sm": "480px (container query)",
|
|
20
|
+
"md": "720px (container query)",
|
|
21
|
+
"lg": "960px (container query)"
|
|
22
|
+
},
|
|
23
|
+
"installation": "## CSSのみ (CDN)\n```html\n<link href=\"https://cdn.jsdelivr.net/npm/lism-css/dist/css/main.css\" rel=\"stylesheet\" />\n```\n\n## npm パッケージ\n```bash\nnpm i lism-css\n# UI コンポーネントも使う場合\nnpm i @lism-css/ui\n```\n\n## CSS読み込み\n```js\nimport 'lism-css/main.css';\n// UI コンポーネントのCSS\nimport '@lism-css/ui/style.css';\n```\n\n## コンポーネント読み込み\n```jsx\n// React\nimport { Box, Flex, Stack } from 'lism-css/react';\nimport { Accordion, Modal } from '@lism-css/ui/react';\n\n// Astro\nimport { Box, Flex, Stack } from 'lism-css/astro';\nimport { Accordion, Modal } from '@lism-css/ui/astro';\n```",
|
|
24
|
+
"cssLayers": "@layer lism-reset, lism.base, lism.modules.state, lism.modules.layout, lism.modules.atomic, lism.modules, lism.utility, lism.custom; (Prop Class はレイヤー外)",
|
|
25
|
+
"classNaming": {
|
|
26
|
+
"moduleClass": {
|
|
27
|
+
"stateModules": ".is|has--{stateName} (例: .is--wrapper, .has--gutter)",
|
|
28
|
+
"layoutModules": ".l--{name} (例: .l--grid, .l--columns)",
|
|
29
|
+
"atomicModules": ".a--{name} (例: .a--divider, .a--icon)",
|
|
30
|
+
"customModules": ".c--{name} (例: .c--button, .c--note)"
|
|
31
|
+
},
|
|
32
|
+
"propClass": ".-{prop}:{value} (例: .-fz:l, .-p:20, .-d:none)",
|
|
33
|
+
"propClassVariable": ".-{prop} + --{prop} (例: .-p + --p)",
|
|
34
|
+
"propClassBreakpoint": ".-{prop}_{bp} + --{prop}_{bp} (例: .-p_sm + --p_sm)",
|
|
35
|
+
"utilityClass": {
|
|
36
|
+
"baseUtility": ".set-{style} (例: .set-plain, .set-transition)",
|
|
37
|
+
"styleUtility": ".u-{style} (例: .u-cbox)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"propAbbreviations": {
|
|
41
|
+
"fz": "font-size",
|
|
42
|
+
"fw": "font-weight",
|
|
43
|
+
"ff": "font-family",
|
|
44
|
+
"fs": "font-style",
|
|
45
|
+
"lh": "line-height",
|
|
46
|
+
"lts": "letter-spacing",
|
|
47
|
+
"ta": "text-align",
|
|
48
|
+
"td": "text-decoration",
|
|
49
|
+
"d": "display",
|
|
50
|
+
"o": "opacity",
|
|
51
|
+
"ov": "overflow",
|
|
52
|
+
"ar": "aspect-ratio",
|
|
53
|
+
"w": "width",
|
|
54
|
+
"h": "height",
|
|
55
|
+
"p": "padding",
|
|
56
|
+
"px": "padding-inline",
|
|
57
|
+
"py": "padding-block",
|
|
58
|
+
"m": "margin",
|
|
59
|
+
"mx": "margin-inline",
|
|
60
|
+
"my": "margin-block",
|
|
61
|
+
"g": "gap",
|
|
62
|
+
"bd": "border",
|
|
63
|
+
"bdrs": "border-radius",
|
|
64
|
+
"bxsh": "box-shadow",
|
|
65
|
+
"bgc": "background-color",
|
|
66
|
+
"c": "color",
|
|
67
|
+
"pos": "position",
|
|
68
|
+
"z": "z-index",
|
|
69
|
+
"fx": "flex",
|
|
70
|
+
"fxd": "flex-direction",
|
|
71
|
+
"fxw": "flex-wrap",
|
|
72
|
+
"gt": "grid-template",
|
|
73
|
+
"gtc": "grid-template-columns",
|
|
74
|
+
"gtr": "grid-template-rows",
|
|
75
|
+
"ai": "align-items",
|
|
76
|
+
"jc": "justify-content",
|
|
77
|
+
"gc": "grid-column",
|
|
78
|
+
"gr": "grid-row"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,596 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Lism CSS の Props システム。React/Astro コンポーネントの props を CSS クラス (Prop Class) やインラインスタイルに変換する仕組み。レスポンシブ対応は配列記法 p={[20, 30, 40]} で sm, md ブレークポイントの値を指定可能。",
|
|
3
|
+
"categories": [
|
|
4
|
+
{
|
|
5
|
+
"category": "typography",
|
|
6
|
+
"description": "テキスト関連のプロパティ",
|
|
7
|
+
"props": [
|
|
8
|
+
{
|
|
9
|
+
"prop": "fz",
|
|
10
|
+
"cssProperty": "font-size",
|
|
11
|
+
"type": "string | number | array",
|
|
12
|
+
"responsive": true,
|
|
13
|
+
"description": "フォントサイズ。トークン値 (xs, s, m, l, xl, 2xl, 3xl, 4xl, 5xl) またはカスタム値。",
|
|
14
|
+
"values": ["root", "base", "5xl", "4xl", "3xl", "2xl", "xl", "l", "m", "s", "xs", "2xs"]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"prop": "fw",
|
|
18
|
+
"cssProperty": "font-weight",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"responsive": false,
|
|
21
|
+
"description": "フォントウェイト。",
|
|
22
|
+
"values": ["thin", "light", "normal", "medium", "bold", "black"]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"prop": "ff",
|
|
26
|
+
"cssProperty": "font-family",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"responsive": false,
|
|
29
|
+
"description": "フォントファミリー。",
|
|
30
|
+
"values": ["base", "accent", "mono"]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"prop": "fs",
|
|
34
|
+
"cssProperty": "font-style",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"responsive": false,
|
|
37
|
+
"description": "フォントスタイル。",
|
|
38
|
+
"values": ["italic"]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"prop": "lh",
|
|
42
|
+
"cssProperty": "line-height",
|
|
43
|
+
"type": "string | number",
|
|
44
|
+
"responsive": false,
|
|
45
|
+
"description": "行間。トークン値またはカスタム値。",
|
|
46
|
+
"values": ["1"]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"prop": "hl",
|
|
50
|
+
"cssProperty": "--hl (CSS変数)",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"responsive": true,
|
|
53
|
+
"description": "見出し用の行間を制御するCSS変数。",
|
|
54
|
+
"values": ["base", "xs", "s", "l"]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"prop": "lts",
|
|
58
|
+
"cssProperty": "letter-spacing",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"responsive": false,
|
|
61
|
+
"description": "文字間隔。",
|
|
62
|
+
"values": ["base", "s", "l"]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"prop": "ta",
|
|
66
|
+
"cssProperty": "text-align",
|
|
67
|
+
"type": "string",
|
|
68
|
+
"responsive": false,
|
|
69
|
+
"description": "テキスト整列。",
|
|
70
|
+
"values": ["center", "left", "right"]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"prop": "td",
|
|
74
|
+
"cssProperty": "text-decoration",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"responsive": false,
|
|
77
|
+
"description": "テキスト装飾。",
|
|
78
|
+
"values": ["none"]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"prop": "tt",
|
|
82
|
+
"cssProperty": "text-transform",
|
|
83
|
+
"type": "string",
|
|
84
|
+
"responsive": false,
|
|
85
|
+
"description": "テキスト変換。",
|
|
86
|
+
"values": ["upper", "lower"]
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"category": "display",
|
|
92
|
+
"description": "表示・可視性関連のプロパティ",
|
|
93
|
+
"props": [
|
|
94
|
+
{
|
|
95
|
+
"prop": "d",
|
|
96
|
+
"cssProperty": "display",
|
|
97
|
+
"type": "string | array",
|
|
98
|
+
"responsive": true,
|
|
99
|
+
"description": "表示モード。",
|
|
100
|
+
"values": ["none", "block", "in-flex"]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"prop": "o",
|
|
104
|
+
"cssProperty": "opacity",
|
|
105
|
+
"type": "string | number",
|
|
106
|
+
"responsive": false,
|
|
107
|
+
"description": "透明度。",
|
|
108
|
+
"values": ["0", "-10", "-20", "-30"]
|
|
109
|
+
},
|
|
110
|
+
{ "prop": "v", "cssProperty": "visibility", "type": "string", "responsive": false, "description": "可視性。", "values": ["hidden"] },
|
|
111
|
+
{
|
|
112
|
+
"prop": "ov",
|
|
113
|
+
"cssProperty": "overflow",
|
|
114
|
+
"type": "string",
|
|
115
|
+
"responsive": false,
|
|
116
|
+
"description": "オーバーフロー。",
|
|
117
|
+
"values": ["hidden", "auto", "clip"]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"prop": "ar",
|
|
121
|
+
"cssProperty": "aspect-ratio",
|
|
122
|
+
"type": "string | array",
|
|
123
|
+
"responsive": true,
|
|
124
|
+
"description": "アスペクト比。",
|
|
125
|
+
"values": ["21/9", "16/9", "3/2", "1/1", "og"]
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"category": "size",
|
|
131
|
+
"description": "幅・高さ関連のプロパティ",
|
|
132
|
+
"props": [
|
|
133
|
+
{
|
|
134
|
+
"prop": "w",
|
|
135
|
+
"cssProperty": "width",
|
|
136
|
+
"type": "string | array",
|
|
137
|
+
"responsive": true,
|
|
138
|
+
"description": "幅。",
|
|
139
|
+
"values": ["100%", "fit"]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"prop": "h",
|
|
143
|
+
"cssProperty": "height",
|
|
144
|
+
"type": "string | array",
|
|
145
|
+
"responsive": true,
|
|
146
|
+
"description": "高さ。",
|
|
147
|
+
"values": ["100%", "fit"]
|
|
148
|
+
},
|
|
149
|
+
{ "prop": "min-w", "cssProperty": "min-width", "type": "string | array", "responsive": true, "description": "最小幅。" },
|
|
150
|
+
{ "prop": "max-w", "cssProperty": "max-width", "type": "string | array", "responsive": true, "description": "最大幅。" },
|
|
151
|
+
{ "prop": "min-h", "cssProperty": "min-height", "type": "string | array", "responsive": true, "description": "最小高さ。" },
|
|
152
|
+
{ "prop": "max-h", "cssProperty": "max-height", "type": "string | array", "responsive": true, "description": "最大高さ。" },
|
|
153
|
+
{
|
|
154
|
+
"prop": "sz",
|
|
155
|
+
"cssProperty": "inline-size",
|
|
156
|
+
"type": "string",
|
|
157
|
+
"responsive": false,
|
|
158
|
+
"description": "インラインサイズ。",
|
|
159
|
+
"values": ["xs", "s", "m", "l", "xl", "min", "full", "container"]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"prop": "max-sz",
|
|
163
|
+
"cssProperty": "max-inline-size",
|
|
164
|
+
"type": "string",
|
|
165
|
+
"responsive": false,
|
|
166
|
+
"description": "最大インラインサイズ。",
|
|
167
|
+
"values": ["xs", "s", "m", "l", "xl", "min", "full", "container"]
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"category": "spacing",
|
|
173
|
+
"description": "余白関連のプロパティ。スペーシングトークン (5, 10, 15, 20, 30, 40, 50, 60, 70, 80) を値として使用可能。",
|
|
174
|
+
"props": [
|
|
175
|
+
{
|
|
176
|
+
"prop": "p",
|
|
177
|
+
"cssProperty": "padding",
|
|
178
|
+
"type": "string | number | array",
|
|
179
|
+
"responsive": true,
|
|
180
|
+
"description": "全方向パディング。",
|
|
181
|
+
"values": ["0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"prop": "px",
|
|
185
|
+
"cssProperty": "padding-inline",
|
|
186
|
+
"type": "string | number | array",
|
|
187
|
+
"responsive": true,
|
|
188
|
+
"description": "左右 (inline) パディング。"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"prop": "py",
|
|
192
|
+
"cssProperty": "padding-block",
|
|
193
|
+
"type": "string | number | array",
|
|
194
|
+
"responsive": true,
|
|
195
|
+
"description": "上下 (block) パディング。"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"prop": "m",
|
|
199
|
+
"cssProperty": "margin",
|
|
200
|
+
"type": "string | number | array",
|
|
201
|
+
"responsive": true,
|
|
202
|
+
"description": "全方向マージン。",
|
|
203
|
+
"values": ["auto", "0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"prop": "mx",
|
|
207
|
+
"cssProperty": "margin-inline",
|
|
208
|
+
"type": "string | number | array",
|
|
209
|
+
"responsive": true,
|
|
210
|
+
"description": "左右 (inline) マージン。"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"prop": "my",
|
|
214
|
+
"cssProperty": "margin-block",
|
|
215
|
+
"type": "string | number | array",
|
|
216
|
+
"responsive": true,
|
|
217
|
+
"description": "上下 (block) マージン。"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"prop": "g",
|
|
221
|
+
"cssProperty": "gap",
|
|
222
|
+
"type": "string | number | array",
|
|
223
|
+
"responsive": true,
|
|
224
|
+
"description": "ギャップ (Flex/Grid の子要素間の余白)。",
|
|
225
|
+
"values": ["0", "inherit", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"prop": "g-x",
|
|
229
|
+
"cssProperty": "column-gap",
|
|
230
|
+
"type": "string | number | array",
|
|
231
|
+
"responsive": true,
|
|
232
|
+
"description": "カラム方向のギャップ。"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"prop": "g-y",
|
|
236
|
+
"cssProperty": "row-gap",
|
|
237
|
+
"type": "string | number | array",
|
|
238
|
+
"responsive": true,
|
|
239
|
+
"description": "行方向のギャップ。"
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"category": "color",
|
|
245
|
+
"description": "カラー関連のプロパティ",
|
|
246
|
+
"props": [
|
|
247
|
+
{
|
|
248
|
+
"prop": "c",
|
|
249
|
+
"cssProperty": "color",
|
|
250
|
+
"type": "string",
|
|
251
|
+
"responsive": false,
|
|
252
|
+
"description": "テキストカラー。",
|
|
253
|
+
"values": ["base", "text", "text-2", "brand", "accent", "inherit"]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"prop": "bgc",
|
|
257
|
+
"cssProperty": "background-color",
|
|
258
|
+
"type": "string",
|
|
259
|
+
"responsive": false,
|
|
260
|
+
"description": "背景色。",
|
|
261
|
+
"values": ["base", "base-2", "text", "brand", "accent", "inherit", "transparent"]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"prop": "keycolor",
|
|
265
|
+
"cssProperty": "--keycolor (CSS変数)",
|
|
266
|
+
"type": "string",
|
|
267
|
+
"responsive": false,
|
|
268
|
+
"description": "コンポーネントのキーカラーを設定するCSS変数。"
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"category": "border",
|
|
274
|
+
"description": "ボーダー関連のプロパティ",
|
|
275
|
+
"props": [
|
|
276
|
+
{
|
|
277
|
+
"prop": "bd",
|
|
278
|
+
"cssProperty": "border",
|
|
279
|
+
"type": "string | boolean",
|
|
280
|
+
"responsive": false,
|
|
281
|
+
"description": "ボーダー。true でデフォルトのボーダーが付く。",
|
|
282
|
+
"values": ["none"]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"prop": "bds",
|
|
286
|
+
"cssProperty": "--bds (CSS変数)",
|
|
287
|
+
"type": "string",
|
|
288
|
+
"responsive": false,
|
|
289
|
+
"description": "ボーダースタイル。",
|
|
290
|
+
"values": ["dashed", "dotted", "double"]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"prop": "bdc",
|
|
294
|
+
"cssProperty": "--bdc (CSS変数)",
|
|
295
|
+
"type": "string",
|
|
296
|
+
"responsive": false,
|
|
297
|
+
"description": "ボーダーカラー。",
|
|
298
|
+
"values": ["brand", "accent", "divider", "inherit", "transparent", "cc"]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"prop": "bdw",
|
|
302
|
+
"cssProperty": "--bdw (CSS変数)",
|
|
303
|
+
"type": "string | number | array",
|
|
304
|
+
"responsive": true,
|
|
305
|
+
"description": "ボーダー幅。"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"prop": "bdrs",
|
|
309
|
+
"cssProperty": "border-radius",
|
|
310
|
+
"type": "string | number | array",
|
|
311
|
+
"responsive": true,
|
|
312
|
+
"description": "角丸。",
|
|
313
|
+
"values": ["0", "5", "10", "20", "30", "40", "50", "99", "inner"]
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"prop": "bxsh",
|
|
317
|
+
"cssProperty": "box-shadow",
|
|
318
|
+
"type": "string | number | array",
|
|
319
|
+
"responsive": true,
|
|
320
|
+
"description": "ボックスシャドウ。",
|
|
321
|
+
"values": ["0", "5", "10", "20", "30", "40", "50"]
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"category": "position",
|
|
327
|
+
"description": "ポジション関連のプロパティ",
|
|
328
|
+
"props": [
|
|
329
|
+
{
|
|
330
|
+
"prop": "pos",
|
|
331
|
+
"cssProperty": "position",
|
|
332
|
+
"type": "string",
|
|
333
|
+
"responsive": false,
|
|
334
|
+
"description": "位置指定方法。",
|
|
335
|
+
"values": ["static", "fixed", "sticky", "rel", "abs"]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"prop": "z",
|
|
339
|
+
"cssProperty": "z-index",
|
|
340
|
+
"type": "string | number",
|
|
341
|
+
"responsive": false,
|
|
342
|
+
"description": "重ね順。",
|
|
343
|
+
"values": ["-1", "0", "1", "99"]
|
|
344
|
+
},
|
|
345
|
+
{ "prop": "t", "cssProperty": "top", "type": "string", "responsive": false, "description": "上端の位置。" },
|
|
346
|
+
{ "prop": "l", "cssProperty": "left", "type": "string", "responsive": false, "description": "左端の位置。" },
|
|
347
|
+
{ "prop": "r", "cssProperty": "right", "type": "string", "responsive": false, "description": "右端の位置。" },
|
|
348
|
+
{ "prop": "b", "cssProperty": "bottom", "type": "string", "responsive": false, "description": "下端の位置。" },
|
|
349
|
+
{ "prop": "i", "cssProperty": "inset", "type": "string", "responsive": false, "description": "全方向の位置。" }
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"category": "flex",
|
|
354
|
+
"description": "Flexbox 関連のプロパティ",
|
|
355
|
+
"props": [
|
|
356
|
+
{
|
|
357
|
+
"prop": "fxw",
|
|
358
|
+
"cssProperty": "flex-wrap",
|
|
359
|
+
"type": "string | array",
|
|
360
|
+
"responsive": true,
|
|
361
|
+
"description": "フレックス折り返し。",
|
|
362
|
+
"values": ["wrap"]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"prop": "fxd",
|
|
366
|
+
"cssProperty": "flex-direction",
|
|
367
|
+
"type": "string | array",
|
|
368
|
+
"responsive": true,
|
|
369
|
+
"description": "フレックス方向。",
|
|
370
|
+
"values": ["col", "col-r", "row-r"]
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"prop": "fx",
|
|
374
|
+
"cssProperty": "flex",
|
|
375
|
+
"type": "string | array",
|
|
376
|
+
"responsive": true,
|
|
377
|
+
"description": "フレックス値。",
|
|
378
|
+
"values": ["1"]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"prop": "fxg",
|
|
382
|
+
"cssProperty": "flex-grow",
|
|
383
|
+
"type": "string | number",
|
|
384
|
+
"responsive": false,
|
|
385
|
+
"description": "フレックス拡大。",
|
|
386
|
+
"values": ["1"]
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"prop": "fxsh",
|
|
390
|
+
"cssProperty": "flex-shrink",
|
|
391
|
+
"type": "string | number",
|
|
392
|
+
"responsive": false,
|
|
393
|
+
"description": "フレックス縮小。",
|
|
394
|
+
"values": ["0"]
|
|
395
|
+
},
|
|
396
|
+
{ "prop": "fxb", "cssProperty": "flex-basis", "type": "string | array", "responsive": true, "description": "フレックス基準サイズ。" }
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"category": "grid",
|
|
401
|
+
"description": "Grid レイアウト関連のプロパティ",
|
|
402
|
+
"props": [
|
|
403
|
+
{
|
|
404
|
+
"prop": "gt",
|
|
405
|
+
"cssProperty": "grid-template",
|
|
406
|
+
"type": "string | array",
|
|
407
|
+
"responsive": true,
|
|
408
|
+
"description": "グリッドテンプレート。",
|
|
409
|
+
"values": ["repeat"]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"prop": "gta",
|
|
413
|
+
"cssProperty": "grid-template-areas",
|
|
414
|
+
"type": "string | array",
|
|
415
|
+
"responsive": true,
|
|
416
|
+
"description": "グリッドテンプレートエリア。"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"prop": "gtc",
|
|
420
|
+
"cssProperty": "grid-template-columns",
|
|
421
|
+
"type": "string | array",
|
|
422
|
+
"responsive": true,
|
|
423
|
+
"description": "グリッド列テンプレート。",
|
|
424
|
+
"values": ["subgrid"]
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"prop": "gtr",
|
|
428
|
+
"cssProperty": "grid-template-rows",
|
|
429
|
+
"type": "string | array",
|
|
430
|
+
"responsive": true,
|
|
431
|
+
"description": "グリッド行テンプレート。",
|
|
432
|
+
"values": ["subgrid"]
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"prop": "gaf",
|
|
436
|
+
"cssProperty": "grid-auto-flow",
|
|
437
|
+
"type": "string | array",
|
|
438
|
+
"responsive": true,
|
|
439
|
+
"description": "グリッド自動配置方向。",
|
|
440
|
+
"values": ["row", "col"]
|
|
441
|
+
},
|
|
442
|
+
{ "prop": "ga", "cssProperty": "grid-area", "type": "string | array", "responsive": true, "description": "グリッドエリア。" },
|
|
443
|
+
{
|
|
444
|
+
"prop": "gc",
|
|
445
|
+
"cssProperty": "grid-column",
|
|
446
|
+
"type": "string | array",
|
|
447
|
+
"responsive": true,
|
|
448
|
+
"description": "グリッドカラム位置。",
|
|
449
|
+
"values": ["1/-1"]
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"prop": "gr",
|
|
453
|
+
"cssProperty": "grid-row",
|
|
454
|
+
"type": "string | array",
|
|
455
|
+
"responsive": true,
|
|
456
|
+
"description": "グリッド行位置。",
|
|
457
|
+
"values": ["1/-1"]
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"prop": "cols",
|
|
461
|
+
"cssProperty": "--cols (CSS変数)",
|
|
462
|
+
"type": "string | number | array",
|
|
463
|
+
"responsive": true,
|
|
464
|
+
"description": "列数を指定するCSS変数。"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"prop": "rows",
|
|
468
|
+
"cssProperty": "--rows (CSS変数)",
|
|
469
|
+
"type": "string | number | array",
|
|
470
|
+
"responsive": true,
|
|
471
|
+
"description": "行数を指定するCSS変数。"
|
|
472
|
+
}
|
|
473
|
+
]
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"category": "alignment",
|
|
477
|
+
"description": "配置関連のプロパティ",
|
|
478
|
+
"props": [
|
|
479
|
+
{
|
|
480
|
+
"prop": "ai",
|
|
481
|
+
"cssProperty": "align-items",
|
|
482
|
+
"type": "string | array",
|
|
483
|
+
"responsive": true,
|
|
484
|
+
"description": "交差軸のアイテム配置。",
|
|
485
|
+
"values": ["start", "center", "end", "stretch"]
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"prop": "ac",
|
|
489
|
+
"cssProperty": "align-content",
|
|
490
|
+
"type": "string | array",
|
|
491
|
+
"responsive": true,
|
|
492
|
+
"description": "交差軸のコンテンツ配置。",
|
|
493
|
+
"values": ["start", "center", "end", "between"]
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"prop": "ji",
|
|
497
|
+
"cssProperty": "justify-items",
|
|
498
|
+
"type": "string | array",
|
|
499
|
+
"responsive": true,
|
|
500
|
+
"description": "主軸のアイテム配置。",
|
|
501
|
+
"values": ["start", "center", "end", "stretch"]
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"prop": "jc",
|
|
505
|
+
"cssProperty": "justify-content",
|
|
506
|
+
"type": "string | array",
|
|
507
|
+
"responsive": true,
|
|
508
|
+
"description": "主軸のコンテンツ配置。",
|
|
509
|
+
"values": ["start", "center", "end", "between"]
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"prop": "pi",
|
|
513
|
+
"cssProperty": "place-items",
|
|
514
|
+
"type": "string",
|
|
515
|
+
"responsive": false,
|
|
516
|
+
"description": "両軸のアイテム配置。",
|
|
517
|
+
"values": ["start", "center", "end"]
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"prop": "pc",
|
|
521
|
+
"cssProperty": "place-content",
|
|
522
|
+
"type": "string",
|
|
523
|
+
"responsive": false,
|
|
524
|
+
"description": "両軸のコンテンツ配置。",
|
|
525
|
+
"values": ["start", "center", "end"]
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"prop": "aslf",
|
|
529
|
+
"cssProperty": "align-self",
|
|
530
|
+
"type": "string",
|
|
531
|
+
"responsive": false,
|
|
532
|
+
"description": "個別の交差軸配置。",
|
|
533
|
+
"values": ["start", "center", "end", "stretch"]
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"prop": "jslf",
|
|
537
|
+
"cssProperty": "justify-self",
|
|
538
|
+
"type": "string",
|
|
539
|
+
"responsive": false,
|
|
540
|
+
"description": "個別の主軸配置。",
|
|
541
|
+
"values": ["start", "center", "end", "stretch"]
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"prop": "order",
|
|
545
|
+
"cssProperty": "order",
|
|
546
|
+
"type": "string | number",
|
|
547
|
+
"responsive": false,
|
|
548
|
+
"description": "表示順序。",
|
|
549
|
+
"values": ["0", "-1", "1"]
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"category": "state",
|
|
555
|
+
"description": "状態・機能クラスを付与するための props(コンポーネント専用)",
|
|
556
|
+
"props": [
|
|
557
|
+
{
|
|
558
|
+
"prop": "isContainer",
|
|
559
|
+
"cssProperty": "(class: is--container)",
|
|
560
|
+
"type": "boolean",
|
|
561
|
+
"responsive": false,
|
|
562
|
+
"description": "コンテナクエリの基準要素にする。"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"prop": "isWrapper",
|
|
566
|
+
"cssProperty": "(class: is--wrapper)",
|
|
567
|
+
"type": "boolean | string",
|
|
568
|
+
"responsive": false,
|
|
569
|
+
"description": "コンテンツ幅を制御するラッパーにする。",
|
|
570
|
+
"values": ["s", "l"]
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"prop": "isLayer",
|
|
574
|
+
"cssProperty": "(class: is--layer)",
|
|
575
|
+
"type": "boolean",
|
|
576
|
+
"responsive": false,
|
|
577
|
+
"description": "レイヤー(position:absolute で親要素に重なる)にする。"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"prop": "isLinkBox",
|
|
581
|
+
"cssProperty": "(class: is--linkBox)",
|
|
582
|
+
"type": "boolean",
|
|
583
|
+
"responsive": false,
|
|
584
|
+
"description": "ボックス全体をリンク領域にする。"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"prop": "hasGutter",
|
|
588
|
+
"cssProperty": "(class: has--gutter)",
|
|
589
|
+
"type": "boolean",
|
|
590
|
+
"responsive": false,
|
|
591
|
+
"description": "左右にガター(余白)を付ける。"
|
|
592
|
+
}
|
|
593
|
+
]
|
|
594
|
+
}
|
|
595
|
+
]
|
|
596
|
+
}
|