@lism-css/mcp 0.10.4 → 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.
Files changed (39) hide show
  1. package/README.ja.md +4 -2
  2. package/README.md +4 -2
  3. package/dist/data/docs-index.json +282 -64
  4. package/dist/data/guides/SKILL.md +113 -0
  5. package/dist/data/guides/base-styles.md +106 -0
  6. package/dist/data/guides/components-core.md +338 -0
  7. package/dist/data/guides/components-ui.md +351 -0
  8. package/dist/data/guides/css-rules.md +146 -0
  9. package/dist/data/guides/module-class.md +162 -0
  10. package/dist/data/guides/prop-responsive.md +54 -0
  11. package/dist/data/guides/property-class.md +400 -0
  12. package/dist/data/guides/set-class.md +190 -0
  13. package/dist/data/guides/tokens.md +210 -0
  14. package/dist/data/guides/utility-class.md +81 -0
  15. package/dist/data/meta.js +2 -2
  16. package/dist/index.js +4 -0
  17. package/dist/lib/load-data.js +2 -11
  18. package/dist/lib/load-markdown.d.ts +6 -0
  19. package/dist/lib/load-markdown.js +29 -0
  20. package/dist/lib/markdown-utils.d.ts +42 -0
  21. package/dist/lib/markdown-utils.js +158 -0
  22. package/dist/lib/schemas.d.ts +0 -242
  23. package/dist/lib/schemas.js +0 -64
  24. package/dist/lib/search.d.ts +2 -16
  25. package/dist/lib/search.js +9 -68
  26. package/dist/lib/types.d.ts +0 -64
  27. package/dist/tools/convert-css.js +96 -55
  28. package/dist/tools/get-component.js +60 -29
  29. package/dist/tools/get-guide.d.ts +2 -0
  30. package/dist/tools/get-guide.js +45 -0
  31. package/dist/tools/get-overview.js +26 -39
  32. package/dist/tools/get-props-system.js +45 -33
  33. package/dist/tools/get-tokens.js +9 -14
  34. package/dist/tools/search-docs.js +27 -9
  35. package/package.json +2 -2
  36. package/dist/data/components.json +0 -564
  37. package/dist/data/overview.json +0 -114
  38. package/dist/data/props-system.json +0 -1154
  39. package/dist/data/tokens.json +0 -152
@@ -1,1154 +0,0 @@
1
- {
2
- "description": "Lism CSS の Props システム。React/Astro コンポーネントの props を CSS クラス (Prop Class) やインラインスタイルに変換する仕組み。レスポンシブ対応は配列記法 p={[20, 30, 40]} で sm, md ブレークポイントの値を指定可能。各 prop の values に列挙された値は Prop Class としてCSSクラスが生成され、HTML の class 属性で直接使用できる。",
3
- "classNaming": {
4
- "propClass": "-{prop}:{value}",
5
- "propClassWithVariable": "-{prop} + style=\"--{prop}: {任意値}\"",
6
- "responsive": "-{prop}_{bp} + style=\"--{prop}_{bp}: {値}\"",
7
- "note": "例: gapに spacing token 5 を指定: g=\"5\" → class=\"-g:5\"、paddingに20を指定: p=\"20\" → class=\"-p:20\"、font-sizeにトークン値 l を指定: fz=\"l\" → class=\"-fz:l\"。",
8
- "examples": ["-g:5", "-g:20", "-p:20", "-p:40", "-fz:l", "-fz:2xl", "-d:flex", "-d:grid", "-ta:center", "-ai:center"]
9
- },
10
- "categories": [
11
- {
12
- "category": "typography",
13
- "description": "テキスト関連のプロパティ",
14
- "props": [
15
- {
16
- "prop": "f",
17
- "cssProperty": "font",
18
- "type": "string",
19
- "responsive": false,
20
- "description": "フォント一括指定。",
21
- "values": ["inherit"]
22
- },
23
- {
24
- "prop": "fz",
25
- "cssProperty": "font-size",
26
- "type": "string | number | array",
27
- "responsive": true,
28
- "description": "フォントサイズ。トークン値またはカスタム値。",
29
- "values": ["root", "base", "5xl", "4xl", "3xl", "2xl", "xl", "l", "m", "s", "xs", "2xs"]
30
- },
31
- {
32
- "prop": "fw",
33
- "cssProperty": "font-weight",
34
- "type": "string",
35
- "responsive": false,
36
- "description": "フォントウェイト。トークン値(light, normal, bold)または数値(100〜900)。",
37
- "values": ["light", "normal", "bold", "100", "200", "300", "400", "500", "600", "700", "800", "900"]
38
- },
39
- {
40
- "prop": "ff",
41
- "cssProperty": "font-family",
42
- "type": "string",
43
- "responsive": false,
44
- "description": "フォントファミリー。",
45
- "values": ["base", "accent", "mono"]
46
- },
47
- {
48
- "prop": "fs",
49
- "cssProperty": "font-style",
50
- "type": "string",
51
- "responsive": false,
52
- "description": "フォントスタイル。",
53
- "values": ["italic"]
54
- },
55
- {
56
- "prop": "lh",
57
- "cssProperty": "line-height",
58
- "type": "string | number",
59
- "responsive": false,
60
- "description": "行間。トークン値またはカスタム値。トークンは hl 系トークンを参照。",
61
- "values": ["base", "xs", "s", "l", "1"]
62
- },
63
- {
64
- "prop": "hl",
65
- "cssProperty": "--hl (CSS変数)",
66
- "type": "string | array",
67
- "responsive": true,
68
- "description": "見出し用の行間を制御するCSS変数。",
69
- "values": ["base", "xs", "s", "l"]
70
- },
71
- {
72
- "prop": "lts",
73
- "cssProperty": "letter-spacing",
74
- "type": "string",
75
- "responsive": false,
76
- "description": "文字間隔。",
77
- "values": ["base", "s", "l"]
78
- },
79
- {
80
- "prop": "ta",
81
- "cssProperty": "text-align",
82
- "type": "string",
83
- "responsive": false,
84
- "description": "テキスト整列。",
85
- "values": ["center", "left", "right"]
86
- },
87
- {
88
- "prop": "td",
89
- "cssProperty": "text-decoration",
90
- "type": "string",
91
- "responsive": false,
92
- "description": "テキスト装飾。",
93
- "values": ["none"]
94
- },
95
- {
96
- "prop": "tt",
97
- "cssProperty": "text-transform",
98
- "type": "string",
99
- "responsive": false,
100
- "description": "テキスト変換。",
101
- "values": ["upper", "lower"]
102
- }
103
- ]
104
- },
105
- {
106
- "category": "display",
107
- "description": "表示・可視性関連のプロパティ",
108
- "props": [
109
- {
110
- "prop": "d",
111
- "cssProperty": "display",
112
- "type": "string | array",
113
- "responsive": true,
114
- "description": "表示モード。",
115
- "values": ["none", "block", "in-flex"]
116
- },
117
- {
118
- "prop": "o",
119
- "cssProperty": "opacity",
120
- "type": "string | number",
121
- "responsive": false,
122
- "description": "透明度。",
123
- "values": ["0", "-10", "-20", "-30"]
124
- },
125
- { "prop": "v", "cssProperty": "visibility", "type": "string", "responsive": false, "description": "可視性。", "values": ["hidden"] },
126
- {
127
- "prop": "ov",
128
- "cssProperty": "overflow",
129
- "type": "string",
130
- "responsive": false,
131
- "description": "オーバーフロー。",
132
- "values": ["hidden", "auto", "clip"]
133
- },
134
- {
135
- "prop": "ov-x",
136
- "cssProperty": "overflow-x",
137
- "type": "string",
138
- "responsive": false,
139
- "description": "横方向のオーバーフロー。",
140
- "values": ["clip", "auto", "scroll"]
141
- },
142
- {
143
- "prop": "ov-y",
144
- "cssProperty": "overflow-y",
145
- "type": "string",
146
- "responsive": false,
147
- "description": "縦方向のオーバーフロー。",
148
- "values": ["clip", "auto", "scroll"]
149
- },
150
- {
151
- "prop": "ar",
152
- "cssProperty": "aspect-ratio",
153
- "type": "string | array",
154
- "responsive": true,
155
- "description": "アスペクト比。",
156
- "values": ["21/9", "16/9", "3/2", "1/1", "og"]
157
- }
158
- ]
159
- },
160
- {
161
- "category": "size",
162
- "description": "幅・高さ関連のプロパティ",
163
- "props": [
164
- {
165
- "prop": "w",
166
- "cssProperty": "width",
167
- "type": "string | array",
168
- "responsive": true,
169
- "description": "幅。",
170
- "values": ["100%", "fit"]
171
- },
172
- {
173
- "prop": "h",
174
- "cssProperty": "height",
175
- "type": "string | array",
176
- "responsive": true,
177
- "description": "高さ。",
178
- "values": ["100%", "fit"]
179
- },
180
- {
181
- "prop": "min-w",
182
- "cssProperty": "min-width",
183
- "type": "string | array",
184
- "responsive": true,
185
- "description": "最小幅。",
186
- "values": ["100%"]
187
- },
188
- {
189
- "prop": "max-w",
190
- "cssProperty": "max-width",
191
- "type": "string | array",
192
- "responsive": true,
193
- "description": "最大幅。",
194
- "values": ["100%"]
195
- },
196
- {
197
- "prop": "min-h",
198
- "cssProperty": "min-height",
199
- "type": "string | array",
200
- "responsive": true,
201
- "description": "最小高さ。",
202
- "values": ["100%"]
203
- },
204
- {
205
- "prop": "max-h",
206
- "cssProperty": "max-height",
207
- "type": "string | array",
208
- "responsive": true,
209
- "description": "最大高さ。",
210
- "values": ["100%"]
211
- },
212
- {
213
- "prop": "sz",
214
- "cssProperty": "inline-size",
215
- "type": "string",
216
- "responsive": false,
217
- "description": "インラインサイズ。トークン値(sz)でカスタム値を指定可能。"
218
- },
219
- {
220
- "prop": "min-sz",
221
- "cssProperty": "min-inline-size",
222
- "type": "string",
223
- "responsive": false,
224
- "description": "最小インラインサイズ。トークン値(sz)でカスタム値を指定可能。"
225
- },
226
- {
227
- "prop": "max-sz",
228
- "cssProperty": "max-inline-size",
229
- "type": "string",
230
- "responsive": false,
231
- "description": "最大インラインサイズ。トークン値またはプリセット値。",
232
- "values": ["xs", "s", "m", "l", "xl", "min", "full", "container"]
233
- },
234
- {
235
- "prop": "ysz",
236
- "cssProperty": "block-size",
237
- "type": "string",
238
- "responsive": false,
239
- "description": "ブロックサイズ。トークン値(sz)でカスタム値を指定可能。"
240
- },
241
- {
242
- "prop": "min-ysz",
243
- "cssProperty": "min-block-size",
244
- "type": "string",
245
- "responsive": false,
246
- "description": "最小ブロックサイズ。トークン値(sz)でカスタム値を指定可能。"
247
- },
248
- {
249
- "prop": "max-ysz",
250
- "cssProperty": "max-block-size",
251
- "type": "string",
252
- "responsive": false,
253
- "description": "最大ブロックサイズ。トークン値(sz)でカスタム値を指定可能。"
254
- }
255
- ]
256
- },
257
- {
258
- "category": "spacing",
259
- "description": "余白関連のプロパティ。スペーシングトークン (5, 10, 15, 20, 30, 40, 50, 60, 70, 80) を値として使用可能。",
260
- "props": [
261
- {
262
- "prop": "p",
263
- "cssProperty": "padding",
264
- "type": "string | number | array",
265
- "responsive": true,
266
- "description": "全方向パディング。",
267
- "values": ["0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
268
- },
269
- {
270
- "prop": "px",
271
- "cssProperty": "padding-inline",
272
- "type": "string | number | array",
273
- "responsive": true,
274
- "description": "左右 (inline) パディング。",
275
- "values": ["0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
276
- },
277
- {
278
- "prop": "py",
279
- "cssProperty": "padding-block",
280
- "type": "string | number | array",
281
- "responsive": true,
282
- "description": "上下 (block) パディング。",
283
- "values": ["0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
284
- },
285
- {
286
- "prop": "px-s",
287
- "cssProperty": "padding-inline-start",
288
- "type": "string | number | array",
289
- "responsive": true,
290
- "description": "左 (inline-start) パディング。"
291
- },
292
- {
293
- "prop": "px-e",
294
- "cssProperty": "padding-inline-end",
295
- "type": "string | number | array",
296
- "responsive": true,
297
- "description": "右 (inline-end) パディング。"
298
- },
299
- {
300
- "prop": "py-s",
301
- "cssProperty": "padding-block-start",
302
- "type": "string | number | array",
303
- "responsive": true,
304
- "description": "上 (block-start) パディング。"
305
- },
306
- {
307
- "prop": "py-e",
308
- "cssProperty": "padding-block-end",
309
- "type": "string | number | array",
310
- "responsive": true,
311
- "description": "下 (block-end) パディング。"
312
- },
313
- {
314
- "prop": "pl",
315
- "cssProperty": "padding-left",
316
- "type": "string | number | array",
317
- "responsive": true,
318
- "description": "左パディング。"
319
- },
320
- {
321
- "prop": "pr",
322
- "cssProperty": "padding-right",
323
- "type": "string | number | array",
324
- "responsive": true,
325
- "description": "右パディング。"
326
- },
327
- {
328
- "prop": "pt",
329
- "cssProperty": "padding-top",
330
- "type": "string | number | array",
331
- "responsive": true,
332
- "description": "上パディング。"
333
- },
334
- {
335
- "prop": "pb",
336
- "cssProperty": "padding-bottom",
337
- "type": "string | number | array",
338
- "responsive": true,
339
- "description": "下パディング。"
340
- },
341
- {
342
- "prop": "m",
343
- "cssProperty": "margin",
344
- "type": "string | number | array",
345
- "responsive": true,
346
- "description": "全方向マージン。",
347
- "values": ["auto", "0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
348
- },
349
- {
350
- "prop": "mx",
351
- "cssProperty": "margin-inline",
352
- "type": "string | number | array",
353
- "responsive": true,
354
- "description": "左右 (inline) マージン。",
355
- "values": ["auto", "0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
356
- },
357
- {
358
- "prop": "my",
359
- "cssProperty": "margin-block",
360
- "type": "string | number | array",
361
- "responsive": true,
362
- "description": "上下 (block) マージン。",
363
- "values": ["auto", "0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
364
- },
365
- {
366
- "prop": "mx-s",
367
- "cssProperty": "margin-inline-start",
368
- "type": "string | number | array",
369
- "responsive": true,
370
- "description": "左 (inline-start) マージン。",
371
- "values": ["auto"]
372
- },
373
- {
374
- "prop": "mx-e",
375
- "cssProperty": "margin-inline-end",
376
- "type": "string | number | array",
377
- "responsive": true,
378
- "description": "右 (inline-end) マージン。",
379
- "values": ["auto"]
380
- },
381
- {
382
- "prop": "my-s",
383
- "cssProperty": "margin-block-start",
384
- "type": "string | number | array",
385
- "responsive": true,
386
- "description": "上 (block-start) マージン。",
387
- "values": ["auto", "0", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
388
- },
389
- {
390
- "prop": "my-e",
391
- "cssProperty": "margin-block-end",
392
- "type": "string | number | array",
393
- "responsive": true,
394
- "description": "下 (block-end) マージン。",
395
- "values": ["auto"]
396
- },
397
- { "prop": "ml", "cssProperty": "margin-left", "type": "string | number | array", "responsive": true, "description": "左マージン。" },
398
- { "prop": "mr", "cssProperty": "margin-right", "type": "string | number | array", "responsive": true, "description": "右マージン。" },
399
- { "prop": "mt", "cssProperty": "margin-top", "type": "string | number | array", "responsive": true, "description": "上マージン。" },
400
- {
401
- "prop": "mb",
402
- "cssProperty": "margin-bottom",
403
- "type": "string | number | array",
404
- "responsive": true,
405
- "description": "下マージン。"
406
- },
407
- {
408
- "prop": "g",
409
- "cssProperty": "gap",
410
- "type": "string | number | array",
411
- "responsive": true,
412
- "description": "ギャップ (Flex/Grid の子要素間の余白)。",
413
- "values": ["0", "inherit", "5", "10", "15", "20", "30", "40", "50", "60", "70", "80"]
414
- },
415
- {
416
- "prop": "g-x",
417
- "cssProperty": "column-gap",
418
- "type": "string | number | array",
419
- "responsive": true,
420
- "description": "カラム方向のギャップ。"
421
- },
422
- {
423
- "prop": "g-y",
424
- "cssProperty": "row-gap",
425
- "type": "string | number | array",
426
- "responsive": true,
427
- "description": "行方向のギャップ。"
428
- }
429
- ]
430
- },
431
- {
432
- "category": "color",
433
- "description": "カラー関連のプロパティ",
434
- "props": [
435
- {
436
- "prop": "c",
437
- "cssProperty": "color",
438
- "type": "string",
439
- "responsive": false,
440
- "description": "テキストカラー。",
441
- "values": ["base", "text", "text-2", "brand", "accent", "inherit"]
442
- },
443
- {
444
- "prop": "bgc",
445
- "cssProperty": "background-color",
446
- "type": "string",
447
- "responsive": false,
448
- "description": "背景色。",
449
- "values": ["base", "base-2", "text", "brand", "accent", "inherit", "transparent"]
450
- },
451
- {
452
- "prop": "bg",
453
- "cssProperty": "background",
454
- "type": "string | array",
455
- "responsive": true,
456
- "description": "背景の一括指定。"
457
- },
458
- {
459
- "prop": "bgi",
460
- "cssProperty": "background-image",
461
- "type": "string",
462
- "responsive": false,
463
- "description": "背景画像。"
464
- },
465
- {
466
- "prop": "bgr",
467
- "cssProperty": "background-repeat",
468
- "type": "string",
469
- "responsive": false,
470
- "description": "背景のリピート設定。",
471
- "values": ["no-repeat"]
472
- },
473
- {
474
- "prop": "bgp",
475
- "cssProperty": "background-position",
476
- "type": "string",
477
- "responsive": false,
478
- "description": "背景の位置。",
479
- "values": ["center"]
480
- },
481
- {
482
- "prop": "bgsz",
483
- "cssProperty": "background-size",
484
- "type": "string",
485
- "responsive": false,
486
- "description": "背景のサイズ。",
487
- "values": ["cover", "contain"]
488
- },
489
- {
490
- "prop": "keycolor",
491
- "cssProperty": "--keycolor (CSS変数)",
492
- "type": "string",
493
- "responsive": false,
494
- "description": "コンポーネントのキーカラーを設定するCSS変数。"
495
- }
496
- ]
497
- },
498
- {
499
- "category": "border",
500
- "description": "ボーダー関連のプロパティ",
501
- "props": [
502
- {
503
- "prop": "bd",
504
- "cssProperty": "border",
505
- "type": "string | boolean",
506
- "responsive": false,
507
- "description": "ボーダー。true でデフォルトのボーダーが付く。",
508
- "values": ["none"]
509
- },
510
- {
511
- "prop": "bds",
512
- "cssProperty": "--bds (CSS変数)",
513
- "type": "string",
514
- "responsive": false,
515
- "description": "ボーダースタイル。",
516
- "values": ["dashed", "dotted", "double"]
517
- },
518
- {
519
- "prop": "bdc",
520
- "cssProperty": "--bdc (CSS変数)",
521
- "type": "string",
522
- "responsive": false,
523
- "description": "ボーダーカラー。",
524
- "values": ["brand", "accent", "divider", "inherit", "transparent", "cc"]
525
- },
526
- {
527
- "prop": "bdw",
528
- "cssProperty": "--bdw (CSS変数)",
529
- "type": "string | number | array",
530
- "responsive": true,
531
- "description": "ボーダー幅。"
532
- },
533
- {
534
- "prop": "bd-x",
535
- "cssProperty": "border-inline",
536
- "type": "string | boolean",
537
- "responsive": false,
538
- "description": "インライン方向(左右)のボーダー。"
539
- },
540
- {
541
- "prop": "bd-y",
542
- "cssProperty": "border-block",
543
- "type": "string | boolean",
544
- "responsive": false,
545
- "description": "ブロック方向(上下)のボーダー。"
546
- },
547
- {
548
- "prop": "bd-x-s",
549
- "cssProperty": "border-inline-start",
550
- "type": "string | boolean",
551
- "responsive": false,
552
- "description": "インライン開始方向のボーダー。"
553
- },
554
- {
555
- "prop": "bd-x-e",
556
- "cssProperty": "border-inline-end",
557
- "type": "string | boolean",
558
- "responsive": false,
559
- "description": "インライン終了方向のボーダー。"
560
- },
561
- {
562
- "prop": "bd-y-s",
563
- "cssProperty": "border-block-start",
564
- "type": "string | boolean",
565
- "responsive": false,
566
- "description": "ブロック開始方向のボーダー。"
567
- },
568
- {
569
- "prop": "bd-y-e",
570
- "cssProperty": "border-block-end",
571
- "type": "string | boolean",
572
- "responsive": false,
573
- "description": "ブロック終了方向のボーダー。"
574
- },
575
- { "prop": "bd-t", "cssProperty": "border-top", "type": "string | boolean", "responsive": false, "description": "上ボーダー。" },
576
- { "prop": "bd-b", "cssProperty": "border-bottom", "type": "string | boolean", "responsive": false, "description": "下ボーダー。" },
577
- { "prop": "bd-l", "cssProperty": "border-left", "type": "string | boolean", "responsive": false, "description": "左ボーダー。" },
578
- { "prop": "bd-r", "cssProperty": "border-right", "type": "string | boolean", "responsive": false, "description": "右ボーダー。" },
579
- {
580
- "prop": "bdrs",
581
- "cssProperty": "border-radius",
582
- "type": "string | number | array",
583
- "responsive": true,
584
- "description": "角丸。",
585
- "values": ["0", "5", "10", "20", "30", "40", "50", "99", "inner"]
586
- },
587
- { "prop": "bdrs-tl", "cssProperty": "border-top-left-radius", "type": "string", "responsive": false, "description": "左上の角丸。" },
588
- { "prop": "bdrs-tr", "cssProperty": "border-top-right-radius", "type": "string", "responsive": false, "description": "右上の角丸。" },
589
- {
590
- "prop": "bdrs-br",
591
- "cssProperty": "border-bottom-right-radius",
592
- "type": "string",
593
- "responsive": false,
594
- "description": "右下の角丸。"
595
- },
596
- {
597
- "prop": "bdrs-bl",
598
- "cssProperty": "border-bottom-left-radius",
599
- "type": "string",
600
- "responsive": false,
601
- "description": "左下の角丸。"
602
- },
603
- {
604
- "prop": "bdrs-ss",
605
- "cssProperty": "border-start-start-radius",
606
- "type": "string",
607
- "responsive": false,
608
- "description": "インライン開始・ブロック開始方向の角丸。"
609
- },
610
- {
611
- "prop": "bdrs-se",
612
- "cssProperty": "border-start-end-radius",
613
- "type": "string",
614
- "responsive": false,
615
- "description": "インライン終了・ブロック開始方向の角丸。"
616
- },
617
- {
618
- "prop": "bdrs-es",
619
- "cssProperty": "border-end-start-radius",
620
- "type": "string",
621
- "responsive": false,
622
- "description": "インライン開始・ブロック終了方向の角丸。"
623
- },
624
- {
625
- "prop": "bdrs-ee",
626
- "cssProperty": "border-end-end-radius",
627
- "type": "string",
628
- "responsive": false,
629
- "description": "インライン終了・ブロック終了方向の角丸。"
630
- },
631
- {
632
- "prop": "bxsh",
633
- "cssProperty": "box-shadow",
634
- "type": "string | number | array",
635
- "responsive": true,
636
- "description": "ボックスシャドウ。",
637
- "values": ["0", "5", "10", "20", "30", "40", "50"]
638
- }
639
- ]
640
- },
641
- {
642
- "category": "position",
643
- "description": "ポジション関連のプロパティ",
644
- "props": [
645
- {
646
- "prop": "pos",
647
- "cssProperty": "position",
648
- "type": "string",
649
- "responsive": false,
650
- "description": "位置指定方法。",
651
- "values": ["static", "fixed", "sticky", "rel", "abs"]
652
- },
653
- {
654
- "prop": "z",
655
- "cssProperty": "z-index",
656
- "type": "string | number",
657
- "responsive": false,
658
- "description": "重ね順。",
659
- "values": ["-1", "0", "1", "99"]
660
- },
661
- {
662
- "prop": "t",
663
- "cssProperty": "top",
664
- "type": "string",
665
- "responsive": false,
666
- "description": "上端の位置。",
667
- "values": ["0", "50%", "100%"]
668
- },
669
- {
670
- "prop": "l",
671
- "cssProperty": "left",
672
- "type": "string",
673
- "responsive": false,
674
- "description": "左端の位置。",
675
- "values": ["0", "50%", "100%"]
676
- },
677
- {
678
- "prop": "r",
679
- "cssProperty": "right",
680
- "type": "string",
681
- "responsive": false,
682
- "description": "右端の位置。",
683
- "values": ["0", "50%", "100%"]
684
- },
685
- {
686
- "prop": "b",
687
- "cssProperty": "bottom",
688
- "type": "string",
689
- "responsive": false,
690
- "description": "下端の位置。",
691
- "values": ["0", "50%", "100%"]
692
- },
693
- { "prop": "i", "cssProperty": "inset", "type": "string", "responsive": false, "description": "全方向の位置。", "values": ["0"] },
694
- { "prop": "i-x", "cssProperty": "inset-inline", "type": "string", "responsive": false, "description": "インライン方向の位置。" },
695
- { "prop": "i-y", "cssProperty": "inset-block", "type": "string", "responsive": false, "description": "ブロック方向の位置。" },
696
- {
697
- "prop": "i-x-s",
698
- "cssProperty": "inset-inline-start",
699
- "type": "string",
700
- "responsive": false,
701
- "description": "インライン開始方向の位置。"
702
- },
703
- {
704
- "prop": "i-x-e",
705
- "cssProperty": "inset-inline-end",
706
- "type": "string",
707
- "responsive": false,
708
- "description": "インライン終了方向の位置。"
709
- },
710
- {
711
- "prop": "i-y-s",
712
- "cssProperty": "inset-block-start",
713
- "type": "string",
714
- "responsive": false,
715
- "description": "ブロック開始方向の位置。"
716
- },
717
- {
718
- "prop": "i-y-e",
719
- "cssProperty": "inset-block-end",
720
- "type": "string",
721
- "responsive": false,
722
- "description": "ブロック終了方向の位置。"
723
- }
724
- ]
725
- },
726
- {
727
- "category": "flex",
728
- "description": "Flexbox 関連のプロパティ",
729
- "props": [
730
- {
731
- "prop": "fxf",
732
- "cssProperty": "flex-flow",
733
- "type": "string",
734
- "responsive": false,
735
- "description": "フレックスフロー (flex-direction と flex-wrap の一括指定)。"
736
- },
737
- {
738
- "prop": "fxw",
739
- "cssProperty": "flex-wrap",
740
- "type": "string | array",
741
- "responsive": true,
742
- "description": "フレックス折り返し。",
743
- "values": ["wrap"]
744
- },
745
- {
746
- "prop": "fxd",
747
- "cssProperty": "flex-direction",
748
- "type": "string | array",
749
- "responsive": true,
750
- "description": "フレックス方向。",
751
- "values": ["col", "col-r", "row-r"]
752
- },
753
- {
754
- "prop": "fx",
755
- "cssProperty": "flex",
756
- "type": "string | array",
757
- "responsive": true,
758
- "description": "フレックス値。",
759
- "values": ["1"]
760
- },
761
- {
762
- "prop": "fxg",
763
- "cssProperty": "flex-grow",
764
- "type": "string | number",
765
- "responsive": false,
766
- "description": "フレックス拡大。",
767
- "values": ["1"]
768
- },
769
- {
770
- "prop": "fxsh",
771
- "cssProperty": "flex-shrink",
772
- "type": "string | number",
773
- "responsive": false,
774
- "description": "フレックス縮小。",
775
- "values": ["0"]
776
- },
777
- { "prop": "fxb", "cssProperty": "flex-basis", "type": "string | array", "responsive": true, "description": "フレックス基準サイズ。" }
778
- ]
779
- },
780
- {
781
- "category": "grid",
782
- "description": "Grid レイアウト関連のプロパティ",
783
- "props": [
784
- {
785
- "prop": "gt",
786
- "cssProperty": "grid-template",
787
- "type": "string | array",
788
- "responsive": true,
789
- "description": "グリッドテンプレート。",
790
- "values": ["repeat"]
791
- },
792
- {
793
- "prop": "gta",
794
- "cssProperty": "grid-template-areas",
795
- "type": "string | array",
796
- "responsive": true,
797
- "description": "グリッドテンプレートエリア。"
798
- },
799
- {
800
- "prop": "gtc",
801
- "cssProperty": "grid-template-columns",
802
- "type": "string | array",
803
- "responsive": true,
804
- "description": "グリッド列テンプレート。",
805
- "values": ["subgrid"]
806
- },
807
- {
808
- "prop": "gtr",
809
- "cssProperty": "grid-template-rows",
810
- "type": "string | array",
811
- "responsive": true,
812
- "description": "グリッド行テンプレート。",
813
- "values": ["subgrid"]
814
- },
815
- {
816
- "prop": "gaf",
817
- "cssProperty": "grid-auto-flow",
818
- "type": "string | array",
819
- "responsive": true,
820
- "description": "グリッド自動配置方向。",
821
- "values": ["row", "col"]
822
- },
823
- {
824
- "prop": "gac",
825
- "cssProperty": "grid-auto-columns",
826
- "type": "string",
827
- "responsive": false,
828
- "description": "グリッド自動列サイズ。"
829
- },
830
- {
831
- "prop": "gar",
832
- "cssProperty": "grid-auto-rows",
833
- "type": "string",
834
- "responsive": false,
835
- "description": "グリッド自動行サイズ。"
836
- },
837
- {
838
- "prop": "ga",
839
- "cssProperty": "grid-area",
840
- "type": "string | array",
841
- "responsive": true,
842
- "description": "グリッドエリア。",
843
- "values": ["1/1"]
844
- },
845
- {
846
- "prop": "gc",
847
- "cssProperty": "grid-column",
848
- "type": "string | array",
849
- "responsive": true,
850
- "description": "グリッドカラム位置。",
851
- "values": ["1/-1"]
852
- },
853
- {
854
- "prop": "gr",
855
- "cssProperty": "grid-row",
856
- "type": "string | array",
857
- "responsive": true,
858
- "description": "グリッド行位置。",
859
- "values": ["1/-1"]
860
- },
861
- {
862
- "prop": "gcs",
863
- "cssProperty": "grid-column-start",
864
- "type": "string",
865
- "responsive": false,
866
- "description": "グリッドカラム開始位置。"
867
- },
868
- { "prop": "gce", "cssProperty": "grid-column-end", "type": "string", "responsive": false, "description": "グリッドカラム終了位置。" },
869
- { "prop": "grs", "cssProperty": "grid-row-start", "type": "string", "responsive": false, "description": "グリッド行開始位置。" },
870
- { "prop": "gre", "cssProperty": "grid-row-end", "type": "string", "responsive": false, "description": "グリッド行終了位置。" },
871
- {
872
- "prop": "cols",
873
- "cssProperty": "--cols (CSS変数)",
874
- "type": "string | number | array",
875
- "responsive": true,
876
- "description": "列数を指定するCSS変数。"
877
- },
878
- {
879
- "prop": "rows",
880
- "cssProperty": "--rows (CSS変数)",
881
- "type": "string | number | array",
882
- "responsive": true,
883
- "description": "行数を指定するCSS変数。"
884
- }
885
- ]
886
- },
887
- {
888
- "category": "alignment",
889
- "description": "配置関連のプロパティ",
890
- "props": [
891
- {
892
- "prop": "ai",
893
- "cssProperty": "align-items",
894
- "type": "string | array",
895
- "responsive": true,
896
- "description": "交差軸のアイテム配置。",
897
- "values": ["start", "center", "end", "stretch", "flex-s", "flex-e"]
898
- },
899
- {
900
- "prop": "ac",
901
- "cssProperty": "align-content",
902
- "type": "string | array",
903
- "responsive": true,
904
- "description": "交差軸のコンテンツ配置。",
905
- "values": ["start", "center", "end", "between", "flex-s", "flex-e"]
906
- },
907
- {
908
- "prop": "ji",
909
- "cssProperty": "justify-items",
910
- "type": "string | array",
911
- "responsive": true,
912
- "description": "主軸のアイテム配置。",
913
- "values": ["start", "center", "end", "stretch", "flex-s", "flex-e"]
914
- },
915
- {
916
- "prop": "jc",
917
- "cssProperty": "justify-content",
918
- "type": "string | array",
919
- "responsive": true,
920
- "description": "主軸のコンテンツ配置。",
921
- "values": ["start", "center", "end", "between", "flex-s", "flex-e"]
922
- },
923
- {
924
- "prop": "pi",
925
- "cssProperty": "place-items",
926
- "type": "string",
927
- "responsive": false,
928
- "description": "両軸のアイテム配置。",
929
- "values": ["start", "center", "end"]
930
- },
931
- {
932
- "prop": "pc",
933
- "cssProperty": "place-content",
934
- "type": "string",
935
- "responsive": false,
936
- "description": "両軸のコンテンツ配置。",
937
- "values": ["start", "center", "end"]
938
- },
939
- {
940
- "prop": "aslf",
941
- "cssProperty": "align-self",
942
- "type": "string",
943
- "responsive": false,
944
- "description": "個別の交差軸配置。",
945
- "values": ["start", "center", "end", "stretch"]
946
- },
947
- {
948
- "prop": "jslf",
949
- "cssProperty": "justify-self",
950
- "type": "string",
951
- "responsive": false,
952
- "description": "個別の主軸配置。",
953
- "values": ["start", "center", "end", "stretch"]
954
- },
955
- {
956
- "prop": "pslf",
957
- "cssProperty": "place-self",
958
- "type": "string",
959
- "responsive": false,
960
- "description": "個別の両軸配置。",
961
- "values": ["start", "center", "end"]
962
- },
963
- {
964
- "prop": "order",
965
- "cssProperty": "order",
966
- "type": "string | number",
967
- "responsive": false,
968
- "description": "表示順序。",
969
- "values": ["0", "-1", "1"]
970
- }
971
- ]
972
- },
973
- {
974
- "category": "state",
975
- "description": "状態・機能クラスを付与するための props(コンポーネント専用)",
976
- "props": [
977
- {
978
- "prop": "isContainer",
979
- "cssProperty": "(class: is--container)",
980
- "type": "boolean",
981
- "responsive": false,
982
- "description": "コンテナクエリの基準要素にする。"
983
- },
984
- {
985
- "prop": "isWrapper",
986
- "cssProperty": "(class: is--wrapper)",
987
- "type": "boolean | string",
988
- "responsive": false,
989
- "description": "コンテンツ幅を制御するラッパーにする。",
990
- "values": ["s", "l"]
991
- },
992
- {
993
- "prop": "isLayer",
994
- "cssProperty": "(class: is--layer)",
995
- "type": "boolean",
996
- "responsive": false,
997
- "description": "レイヤー(position:absolute で親要素に重なる)にする。"
998
- },
999
- {
1000
- "prop": "isLinkBox",
1001
- "cssProperty": "(class: is--linkBox)",
1002
- "type": "boolean",
1003
- "responsive": false,
1004
- "description": "ボックス全体をリンク領域にする。"
1005
- },
1006
- {
1007
- "prop": "isSide",
1008
- "cssProperty": "(class: is--side)",
1009
- "type": "boolean",
1010
- "responsive": false,
1011
- "description": "SideMain内でサイド要素として機能させる。"
1012
- },
1013
- {
1014
- "prop": "isSkipFlow",
1015
- "cssProperty": "(class: is--skipFlow)",
1016
- "type": "boolean",
1017
- "responsive": false,
1018
- "description": "Flow内でフローマージンをスキップする。"
1019
- },
1020
- {
1021
- "prop": "isVertical",
1022
- "cssProperty": "(class: is--vertical)",
1023
- "type": "boolean",
1024
- "responsive": false,
1025
- "description": "縦書きモードにする。"
1026
- },
1027
- {
1028
- "prop": "setGutter",
1029
- "cssProperty": "(class: set--gutter)",
1030
- "type": "boolean",
1031
- "responsive": false,
1032
- "description": "左右にガター(余白)を付ける。"
1033
- },
1034
- {
1035
- "prop": "setShadow",
1036
- "cssProperty": "(class: set--shadow)",
1037
- "type": "boolean",
1038
- "responsive": false,
1039
- "description": "シャドウ用のセットクラスを付与する。"
1040
- },
1041
- {
1042
- "prop": "setHov",
1043
- "cssProperty": "(class: set--hov)",
1044
- "type": "boolean",
1045
- "responsive": false,
1046
- "description": "ホバー状態管理用のセットクラスを付与する。子要素へのホバー状態伝播に使用。"
1047
- },
1048
- {
1049
- "prop": "setTransition",
1050
- "cssProperty": "(class: set--transition)",
1051
- "type": "boolean",
1052
- "responsive": false,
1053
- "description": "トランジション用のセットクラスを付与する。"
1054
- },
1055
- {
1056
- "prop": "setMask",
1057
- "cssProperty": "(class: set--mask)",
1058
- "type": "string",
1059
- "responsive": false,
1060
- "description": "マスク画像を設定するセットクラスを付与する。SVGやURL文字列を値として指定。"
1061
- },
1062
- {
1063
- "prop": "setPlain",
1064
- "cssProperty": "(class: set--plain)",
1065
- "type": "boolean",
1066
- "responsive": false,
1067
- "description": "プレーン表示用のセットクラスを付与する。"
1068
- },
1069
- {
1070
- "prop": "setInnerRs",
1071
- "cssProperty": "(class: set--innerRs)",
1072
- "type": "boolean",
1073
- "responsive": false,
1074
- "description": "内側の角丸を設定するセットクラスを付与する。"
1075
- },
1076
- {
1077
- "prop": "setBp",
1078
- "cssProperty": "(class: set--bp)",
1079
- "type": "boolean",
1080
- "responsive": false,
1081
- "description": "ブレイクポイント制御用のセットクラスを付与する。"
1082
- },
1083
- {
1084
- "prop": "setCqUnit",
1085
- "cssProperty": "(class: set--cqUnit)",
1086
- "type": "boolean",
1087
- "responsive": false,
1088
- "description": "コンテナクエリ単位(cqi)を有効にするセットクラスを付与する。"
1089
- },
1090
- {
1091
- "prop": "hov",
1092
- "cssProperty": "(class: -hov:*)",
1093
- "type": "boolean | string | object",
1094
- "responsive": false,
1095
- "description": "ホバーエフェクトを設定。文字列で '-hov:{値}' クラスを出力。オブジェクトで複数指定可能。プリセット: 'o'(opacity), 'bgc'(背景色), 'c'(テキスト色), 'bxsh'(影)等。",
1096
- "values": ["o", "bgc", "c", "bdc", "bxsh", "neutral", "to:hide", "to:show", "to:zoom"]
1097
- }
1098
- ]
1099
- },
1100
- {
1101
- "category": "others",
1102
- "description": "その他のCSSプロパティ",
1103
- "props": [
1104
- {
1105
- "prop": "ovwrap",
1106
- "cssProperty": "overflow-wrap",
1107
- "type": "string",
1108
- "responsive": false,
1109
- "description": "オーバーフローラップ。",
1110
- "values": ["any"]
1111
- },
1112
- {
1113
- "prop": "whspace",
1114
- "cssProperty": "white-space",
1115
- "type": "string",
1116
- "responsive": false,
1117
- "description": "ホワイトスペース。",
1118
- "values": ["nowrap"]
1119
- },
1120
- {
1121
- "prop": "float",
1122
- "cssProperty": "float",
1123
- "type": "string",
1124
- "responsive": false,
1125
- "description": "フロート。",
1126
- "values": ["left", "right"]
1127
- },
1128
- {
1129
- "prop": "clear",
1130
- "cssProperty": "clear",
1131
- "type": "string",
1132
- "responsive": false,
1133
- "description": "クリア。",
1134
- "values": ["both"]
1135
- },
1136
- {
1137
- "prop": "isolation",
1138
- "cssProperty": "isolation",
1139
- "type": "string",
1140
- "responsive": false,
1141
- "description": "スタッキングコンテキストの分離。",
1142
- "values": ["isolate"]
1143
- },
1144
- {
1145
- "prop": "css",
1146
- "cssProperty": "(style属性)",
1147
- "type": "object",
1148
- "responsive": false,
1149
- "description": "CSS変数やカスタムスタイルをオブジェクトで指定。style属性に直接マージされる。例: css={{'--my-var': 'value'}}。"
1150
- }
1151
- ]
1152
- }
1153
- ]
1154
- }