@reopt-ai/opt-ui 1.11.0 → 1.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 (73) hide show
  1. package/COMPONENT_CATALOG.md +394 -201
  2. package/README.md +43 -5
  3. package/dist/core/index.cjs +2 -2
  4. package/dist/core/index.d.cts +2 -2
  5. package/dist/core/index.d.ts +2 -2
  6. package/dist/core/index.js +2 -2
  7. package/dist/docs/02-components/01-core.md +150 -84
  8. package/dist/docs/02-components/02-visuals.md +1 -1
  9. package/dist/docs/02-components/03-shells.md +258 -117
  10. package/dist/docs/02-components/04-surfaces.md +1 -1
  11. package/dist/docs/02-components/index.md +5 -5
  12. package/dist/docs/03-recipes/02-dashboards.md +126 -10
  13. package/dist/{field-sidebar-DAuN4jPV.cjs → field-sidebar-BYgEmdy0.cjs} +1539 -1536
  14. package/dist/{field-sidebar-BXl5RJ3q.js → field-sidebar-BuO37l4c.js} +1540 -1539
  15. package/dist/{field-sidebar-B5SQC35J.d.cts → field-sidebar-CrYlRZew.d.ts} +164 -154
  16. package/dist/{field-sidebar-CBeWE8xX.d.ts → field-sidebar-uXmoyvd7.d.cts} +164 -154
  17. package/dist/id-registry.cjs +78 -6
  18. package/dist/id-registry.d.cts +1 -2
  19. package/dist/id-registry.d.ts +1 -2
  20. package/dist/id-registry.js +78 -8
  21. package/dist/id-registry.json +168 -19
  22. package/dist/index.cjs +1127 -224
  23. package/dist/index.d.cts +567 -58
  24. package/dist/index.d.ts +567 -58
  25. package/dist/index.js +1118 -227
  26. package/dist/{key-pad-menu-BxTy_u0Q.d.cts → key-pad-menu-CwcY_Vps.d.cts} +2 -3
  27. package/dist/{key-pad-menu-wXkWn1I1.js → key-pad-menu-Di2aRGbM.js} +4 -6
  28. package/dist/{key-pad-menu-Cg6rZBie.cjs → key-pad-menu-SItoHPLu.cjs} +1 -1
  29. package/dist/{key-pad-menu-u5GTJl9B.d.ts → key-pad-menu-WBJShCJn.d.ts} +3 -4
  30. package/dist/meta.cjs +678 -19
  31. package/dist/meta.d.cts +12 -36
  32. package/dist/meta.d.ts +12 -36
  33. package/dist/meta.js +678 -21
  34. package/dist/query.d.cts +1 -2
  35. package/dist/query.d.ts +1 -2
  36. package/dist/query.js +0 -2
  37. package/dist/shells/index.cjs +1 -1
  38. package/dist/shells/index.d.cts +1 -1
  39. package/dist/shells/index.d.ts +1 -1
  40. package/dist/shells/index.js +1 -1
  41. package/dist/{text-truncate-DW78lg4S.d.cts → text-truncate-CQyfUZvq.d.cts} +31 -3
  42. package/dist/{text-truncate-DW78lg4S.d.ts → text-truncate-CQyfUZvq.d.ts} +31 -3
  43. package/dist/{text-truncate-C17HHCR-.js → text-truncate-DSuZECy0.js} +43 -10
  44. package/dist/{text-truncate-BZdL1k5Z.cjs → text-truncate-I1XLWmRa.cjs} +48 -7
  45. package/dist/theme/server.d.cts +1 -2
  46. package/dist/theme/server.d.ts +1 -2
  47. package/dist/theme/server.js +0 -2
  48. package/dist/visuals/index.js +0 -1
  49. package/package.json +4 -3
  50. package/dist/field-sidebar-B5SQC35J.d.cts.map +0 -1
  51. package/dist/field-sidebar-BXl5RJ3q.js.map +0 -1
  52. package/dist/field-sidebar-CBeWE8xX.d.ts.map +0 -1
  53. package/dist/id-registry.d.cts.map +0 -1
  54. package/dist/id-registry.d.ts.map +0 -1
  55. package/dist/id-registry.js.map +0 -1
  56. package/dist/index.d.cts.map +0 -1
  57. package/dist/index.d.ts.map +0 -1
  58. package/dist/index.js.map +0 -1
  59. package/dist/key-pad-menu-BxTy_u0Q.d.cts.map +0 -1
  60. package/dist/key-pad-menu-u5GTJl9B.d.ts.map +0 -1
  61. package/dist/key-pad-menu-wXkWn1I1.js.map +0 -1
  62. package/dist/meta.d.cts.map +0 -1
  63. package/dist/meta.d.ts.map +0 -1
  64. package/dist/meta.js.map +0 -1
  65. package/dist/query.d.cts.map +0 -1
  66. package/dist/query.d.ts.map +0 -1
  67. package/dist/query.js.map +0 -1
  68. package/dist/text-truncate-C17HHCR-.js.map +0 -1
  69. package/dist/text-truncate-DW78lg4S.d.cts.map +0 -1
  70. package/dist/text-truncate-DW78lg4S.d.ts.map +0 -1
  71. package/dist/theme/server.d.cts.map +0 -1
  72. package/dist/theme/server.d.ts.map +0 -1
  73. package/dist/theme/server.js.map +0 -1
package/dist/meta.cjs CHANGED
@@ -721,7 +721,7 @@ const coreMetas = [
721
721
  },
722
722
  {
723
723
  name: "variant",
724
- type: "\"heading-1\" \"heading-6\" | \"display-1\" | \"display-2\" | \"display-3\"",
724
+ type: "\"heading-1\" | \"heading-2\" | \"heading-3\" | \"heading-4\" | \"heading-5\" | \"heading-6\" | \"display-1\" | \"display-2\" | \"display-3\"",
725
725
  description: "시각적 제목 역할"
726
726
  },
727
727
  {
@@ -2726,10 +2726,19 @@ const store = useFormStore({ defaultValues: { name: "" } });
2726
2726
  type: "string",
2727
2727
  description: "스위치 레이블"
2728
2728
  },
2729
+ {
2730
+ name: "hint",
2731
+ type: "string",
2732
+ description: "레이블 아래 보조 설명 텍스트"
2733
+ },
2729
2734
  {
2730
2735
  name: "description",
2731
2736
  type: "string",
2732
- description: "레이블 아래 설명 텍스트"
2737
+ description: "레이블 아래 설명 텍스트",
2738
+ deprecated: {
2739
+ since: "1.9.0",
2740
+ replacement: "hint"
2741
+ }
2733
2742
  },
2734
2743
  {
2735
2744
  name: "checked",
@@ -3403,10 +3412,19 @@ const store = useFormStore({ defaultValues: { name: "" } });
3403
3412
  type: "string",
3404
3413
  description: "체크박스 레이블"
3405
3414
  },
3415
+ {
3416
+ name: "hint",
3417
+ type: "string",
3418
+ description: "레이블 아래 보조 설명 텍스트"
3419
+ },
3406
3420
  {
3407
3421
  name: "description",
3408
3422
  type: "string",
3409
- description: "레이블 아래 설명 텍스트"
3423
+ description: "레이블 아래 설명 텍스트",
3424
+ deprecated: {
3425
+ since: "1.9.0",
3426
+ replacement: "hint"
3427
+ }
3410
3428
  },
3411
3429
  {
3412
3430
  name: "checked",
@@ -3540,10 +3558,19 @@ const store = useFormStore({ defaultValues: { name: "" } });
3540
3558
  type: "string",
3541
3559
  description: "라디오 레이블"
3542
3560
  },
3561
+ {
3562
+ name: "hint",
3563
+ type: "string",
3564
+ description: "레이블 아래 보조 설명 텍스트"
3565
+ },
3543
3566
  {
3544
3567
  name: "description",
3545
3568
  type: "string",
3546
- description: "레이블 아래 설명 텍스트"
3569
+ description: "레이블 아래 설명 텍스트",
3570
+ deprecated: {
3571
+ since: "1.9.0",
3572
+ replacement: "hint"
3573
+ }
3547
3574
  },
3548
3575
  {
3549
3576
  name: "size",
@@ -3614,7 +3641,7 @@ const store = useFormStore({ defaultValues: { name: "" } });
3614
3641
  },
3615
3642
  {
3616
3643
  name: "onComparisonChange",
3617
- type: "(comparison: boolean, mode: ComparisonMode) => void",
3644
+ type: "(mode: ComparisonMode | null) => void",
3618
3645
  description: "비교 모드 변경 콜백"
3619
3646
  },
3620
3647
  {
@@ -4302,7 +4329,12 @@ const store = useFormStore({ defaultValues: { name: "" } });
4302
4329
  {
4303
4330
  name: "autoSaveId",
4304
4331
  type: "string",
4305
- description: "id의 deprecated 별칭"
4332
+ description: "id의 deprecated 별칭",
4333
+ deprecated: {
4334
+ since: "1.6.0",
4335
+ replacement: "id",
4336
+ reason: "id + defaultLayout + onLayoutChanged 조합으로 대체되었습니다."
4337
+ }
4306
4338
  },
4307
4339
  {
4308
4340
  name: "className",
@@ -4949,6 +4981,189 @@ const MyDashboard = createBlock<MyDashboardProps>(
4949
4981
  }
4950
4982
  ] },
4951
4983
  testDescribe: "ShaderSurface"
4984
+ },
4985
+ {
4986
+ name: "Callout",
4987
+ category: "core",
4988
+ description: "페이지에 머무는 인페이지 고지. Alert와 달리 dismiss가 없고, 조건이 참인 동안 레이아웃의 일부로 남습니다.",
4989
+ slug: "callout",
4990
+ exports: ["Callout"],
4991
+ props: { Callout: [
4992
+ {
4993
+ name: "tone",
4994
+ type: "\"info\" | \"success\" | \"warning\" | \"danger\" | \"neutral\"",
4995
+ default: "\"info\"",
4996
+ description: "고지의 성격"
4997
+ },
4998
+ {
4999
+ name: "title",
5000
+ type: "ReactNode",
5001
+ description: "한 줄 제목"
5002
+ },
5003
+ {
5004
+ name: "icon",
5005
+ type: "ReactNode",
5006
+ description: "tone 기본 글리프 대체. null이면 글리프 없음"
5007
+ },
5008
+ {
5009
+ name: "action",
5010
+ type: "ReactNode",
5011
+ description: "다음 한 걸음. 둘 이상이면 고지가 아니라 폼"
5012
+ },
5013
+ {
5014
+ name: "size",
5015
+ type: "\"sm\" | \"md\"",
5016
+ default: "\"md\"",
5017
+ description: "밀도"
5018
+ },
5019
+ {
5020
+ name: "children",
5021
+ type: "ReactNode",
5022
+ description: "본문"
5023
+ }
5024
+ ] },
5025
+ usage: {
5026
+ bestPractices: ["조건이 참인 동안 계속 보여야 하는 안내에 사용합니다 (정리할 신규 N개, 표본 기반 수치)."],
5027
+ avoid: ["방금 일어난 일을 알릴 때는 Alert를 씁니다. Callout에는 dismiss가 없습니다."]
5028
+ },
5029
+ testDescribe: "Callout"
5030
+ },
5031
+ {
5032
+ name: "StatusDot",
5033
+ category: "core",
5034
+ description: "점 + 텍스트로 상태를 표현합니다. 라벨이 필수라 색만으로 상태를 말할 수 없습니다.",
5035
+ slug: "status-dot",
5036
+ exports: ["StatusDot"],
5037
+ props: { StatusDot: [
5038
+ {
5039
+ name: "tone",
5040
+ type: "\"neutral\" | \"muted\" | \"info\" | \"success\" | \"warning\" | \"danger\"",
5041
+ default: "\"neutral\"",
5042
+ description: "점 색상"
5043
+ },
5044
+ {
5045
+ name: "size",
5046
+ type: "\"sm\" | \"md\"",
5047
+ default: "\"md\"",
5048
+ description: "점과 글자 크기"
5049
+ },
5050
+ {
5051
+ name: "children",
5052
+ type: "ReactNode",
5053
+ required: true,
5054
+ description: "상태 라벨. 필수 — 색은 상태가 아닙니다"
5055
+ },
5056
+ {
5057
+ name: "hint",
5058
+ type: "string",
5059
+ description: "판정 기준 툴팁"
5060
+ }
5061
+ ] },
5062
+ usage: {
5063
+ bestPractices: ["표의 상태 컬럼처럼 행마다 반복되는 자리에 씁니다. 점은 장식이고 의미는 텍스트가 담습니다."],
5064
+ avoid: ["사람이 붙인 라벨(태그, 카테고리)에는 Badge를 씁니다. StatusDot은 관측된 상태용입니다."]
5065
+ },
5066
+ testDescribe: "StatusDot"
5067
+ },
5068
+ {
5069
+ name: "CopyButton",
5070
+ category: "core",
5071
+ description: "값을 클립보드에 올리고 성공 여부를 알립니다. 클립보드 거부를 삼키지 않습니다.",
5072
+ slug: "copy-button",
5073
+ exports: ["CopyButton"],
5074
+ props: { CopyButton: [
5075
+ {
5076
+ name: "value",
5077
+ type: "string",
5078
+ required: true,
5079
+ description: "복사할 텍스트"
5080
+ },
5081
+ {
5082
+ name: "variant",
5083
+ type: "\"icon\" | \"text\"",
5084
+ default: "\"icon\"",
5085
+ description: "글리프만 / 글리프 + 라벨"
5086
+ },
5087
+ {
5088
+ name: "size",
5089
+ type: "\"sm\" | \"md\"",
5090
+ default: "\"md\"",
5091
+ description: "버튼 크기"
5092
+ },
5093
+ {
5094
+ name: "feedbackDuration",
5095
+ type: "number",
5096
+ default: "1500",
5097
+ description: "확인 상태 유지 시간 (ms)"
5098
+ },
5099
+ {
5100
+ name: "onCopy",
5101
+ type: "(ok: boolean) => void",
5102
+ description: "실제로 복사됐는지 — 비보안 컨텍스트·권한 거부에서 false"
5103
+ },
5104
+ {
5105
+ name: "labels",
5106
+ type: "CopyButtonLabels",
5107
+ description: "copy / copied / failed 문구"
5108
+ }
5109
+ ] },
5110
+ testDescribe: "CopyButton"
5111
+ },
5112
+ {
5113
+ name: "SegmentedControl",
5114
+ category: "core",
5115
+ description: "선택지를 모두 보여주는 단일 선택 컨트롤. radio-group 프리미티브 위에 올려 화살표 키가 동작합니다.",
5116
+ slug: "segmented-control",
5117
+ exports: ["SegmentedControl"],
5118
+ props: { SegmentedControl: [
5119
+ {
5120
+ name: "options",
5121
+ type: "SegmentedControlOption<T>[]",
5122
+ required: true,
5123
+ description: "세그먼트 목록 (value / label / icon / badge / disabled)"
5124
+ },
5125
+ {
5126
+ name: "value",
5127
+ type: "T",
5128
+ required: true,
5129
+ description: "선택된 값"
5130
+ },
5131
+ {
5132
+ name: "onChange",
5133
+ type: "(value: T) => void",
5134
+ required: true,
5135
+ description: "선택 변경"
5136
+ },
5137
+ {
5138
+ name: "size",
5139
+ type: "\"sm\" | \"md\"",
5140
+ default: "\"md\"",
5141
+ description: "컨트롤 크기"
5142
+ },
5143
+ {
5144
+ name: "fullWidth",
5145
+ type: "boolean",
5146
+ default: "false",
5147
+ description: "컨테이너를 균등 분할"
5148
+ },
5149
+ {
5150
+ name: "disabled",
5151
+ type: "boolean",
5152
+ default: "false",
5153
+ description: "전체 비활성"
5154
+ },
5155
+ {
5156
+ name: "aria-label",
5157
+ type: "string",
5158
+ required: true,
5159
+ description: "radiogroup 이름. 필수"
5160
+ }
5161
+ ] },
5162
+ usage: {
5163
+ bestPractices: ["정확히 하나가 참이고 선택지가 적을 때 씁니다 (이벤트 | 속성)."],
5164
+ avoid: ["여러 개를 동시에 켤 수 있으면 ToggleGroup을 씁니다.", "선택지가 많으면 Select를 씁니다."]
5165
+ },
5166
+ testDescribe: "SegmentedControl"
4952
5167
  }
4953
5168
  ];
4954
5169
  //#endregion
@@ -4968,6 +5183,14 @@ const shellMetas = [
4968
5183
  required: true,
4969
5184
  description: "FAQ 항목 배열. { id, question, answer }"
4970
5185
  }] },
5186
+ ariaRole: "region",
5187
+ keyboardShortcuts: [{
5188
+ keys: "↑ ↓",
5189
+ action: "질문 사이 포커스 이동"
5190
+ }, {
5191
+ keys: "Enter / Space",
5192
+ action: "답변 펼치기 또는 접기"
5193
+ }],
4971
5194
  dependencies: [{
4972
5195
  slug: "disclosure",
4973
5196
  category: "core"
@@ -5289,6 +5512,25 @@ const fields = [
5289
5512
  slug: "kbd",
5290
5513
  category: "core"
5291
5514
  }],
5515
+ ariaRole: "menubar",
5516
+ keyboardShortcuts: [
5517
+ {
5518
+ keys: "← →",
5519
+ action: "상위 메뉴 사이 포커스 이동"
5520
+ },
5521
+ {
5522
+ keys: "Enter / Space / ↓",
5523
+ action: "메뉴 열기"
5524
+ },
5525
+ {
5526
+ keys: "↑ ↓",
5527
+ action: "열린 메뉴 항목 이동"
5528
+ },
5529
+ {
5530
+ keys: "Escape",
5531
+ action: "메뉴 닫고 트리거로 복귀"
5532
+ }
5533
+ ],
5292
5534
  testDescribe: "AppMenubar"
5293
5535
  },
5294
5536
  {
@@ -5300,7 +5542,7 @@ const fields = [
5300
5542
  props: { CommandPalette: [
5301
5543
  {
5302
5544
  name: "commands",
5303
- type: "Omit<Command, \"action\">[]",
5545
+ type: "Omit<CommandDef, \"action\">[]",
5304
5546
  required: true,
5305
5547
  description: "커맨드 목록. { id, label, group, shortcut? }"
5306
5548
  },
@@ -5318,7 +5560,7 @@ const fields = [
5318
5560
  },
5319
5561
  {
5320
5562
  name: "onSelect",
5321
- type: "(command: Omit<Command, 'action'>) => void",
5563
+ type: "(command: Omit<CommandDef, \"action\">) => void",
5322
5564
  description: "커맨드 선택 핸들러"
5323
5565
  },
5324
5566
  {
@@ -5373,13 +5615,13 @@ const fields = [
5373
5615
  props: { CommandPaletteTrigger: [
5374
5616
  {
5375
5617
  name: "commands",
5376
- type: "Omit<Command, \"action\">[]",
5618
+ type: "Omit<CommandDef, \"action\">[]",
5377
5619
  required: true,
5378
5620
  description: "커맨드 목록"
5379
5621
  },
5380
5622
  {
5381
5623
  name: "onSelect",
5382
- type: "(command: Omit<Command, 'action'>) => void",
5624
+ type: "(command: Omit<CommandDef, \"action\">) => void",
5383
5625
  description: "커맨드 선택 핸들러"
5384
5626
  },
5385
5627
  {
@@ -5854,7 +6096,7 @@ const data = [
5854
6096
  },
5855
6097
  {
5856
6098
  name: "onFilterChange",
5857
- type: "(filterId: string, value: string | string[]) => void",
6099
+ type: "(filterId: string, value: string | string[] | boolean) => void",
5858
6100
  description: "필터 변경 핸들러"
5859
6101
  },
5860
6102
  {
@@ -6045,7 +6287,7 @@ const filters = [
6045
6287
  },
6046
6288
  {
6047
6289
  name: "onSubmit",
6048
- type: "(values: { email, password, confirmPassword?, rememberMe?, mode }) => void",
6290
+ type: "(values: { email: string; password: string; confirmPassword?: string; rememberMe?: boolean; mode: \"login\" | \"signup\" }) => void",
6049
6291
  description: "제출 핸들러"
6050
6292
  },
6051
6293
  {
@@ -6210,7 +6452,7 @@ const filters = [
6210
6452
  },
6211
6453
  {
6212
6454
  name: "onSubmit",
6213
- type: "(values: { title, description, file }) => void",
6455
+ type: "(values: { title: string; description: string; file: File | null }) => void",
6214
6456
  description: "제출 핸들러"
6215
6457
  },
6216
6458
  {
@@ -6807,7 +7049,7 @@ const filters = [
6807
7049
  },
6808
7050
  {
6809
7051
  name: "onSave",
6810
- type: "(report: { name, description, chartType, dataSourceId }) => void",
7052
+ type: "(report: { name: string; description: string; chartType: ReportBuilderChartType; dataSourceId: string }) => void",
6811
7053
  description: "저장 콜백"
6812
7054
  },
6813
7055
  {
@@ -7665,7 +7907,7 @@ const filters = [
7665
7907
  props: { AsyncCombobox: [
7666
7908
  {
7667
7909
  name: "onSearch",
7668
- type: "(q: string) => Promise<string[]>",
7910
+ type: "(query: string) => Promise<string[]>",
7669
7911
  required: true,
7670
7912
  description: "검색 콜백"
7671
7913
  },
@@ -7685,7 +7927,11 @@ const filters = [
7685
7927
  name: "placeholder",
7686
7928
  type: "string",
7687
7929
  default: "\"Search…\"",
7688
- description: "플레이스홀더"
7930
+ description: "플레이스홀더",
7931
+ deprecated: {
7932
+ since: "1.9.0",
7933
+ replacement: "labels.placeholder"
7934
+ }
7689
7935
  },
7690
7936
  {
7691
7937
  name: "onSelect",
@@ -7700,7 +7946,11 @@ const filters = [
7700
7946
  {
7701
7947
  name: "loadingText",
7702
7948
  type: "string",
7703
- description: "로딩 문구. labels.loading 사용 권장"
7949
+ description: "로딩 문구",
7950
+ deprecated: {
7951
+ since: "1.9.0",
7952
+ replacement: "labels.loading"
7953
+ }
7704
7954
  }
7705
7955
  ] },
7706
7956
  dependencies: [{
@@ -7736,6 +7986,14 @@ const filters = [
7736
7986
  description: "커스텀 CSS 클래스"
7737
7987
  }
7738
7988
  ] },
7989
+ ariaRole: "tablist",
7990
+ keyboardShortcuts: [{
7991
+ keys: "↑ ↓",
7992
+ action: "세로 탭 사이 이동 및 선택"
7993
+ }, {
7994
+ keys: "Home / End",
7995
+ action: "첫 번째 또는 마지막 탭으로 이동"
7996
+ }],
7739
7997
  dependencies: [{
7740
7998
  slug: "tabs",
7741
7999
  category: "core"
@@ -7808,12 +8066,30 @@ const filters = [
7808
8066
  default: "24",
7809
8067
  description: "들여쓰기 크기 (px)"
7810
8068
  },
8069
+ {
8070
+ name: "getRowLabel",
8071
+ type: "(node: TreeNode<T>) => string",
8072
+ description: "행별 펼침/접기 컨트롤의 접근 가능한 이름 생성기"
8073
+ },
8074
+ {
8075
+ name: "aria-label",
8076
+ type: "string",
8077
+ description: "표의 접근 가능한 이름"
8078
+ },
7811
8079
  {
7812
8080
  name: "className",
7813
8081
  type: "string",
7814
8082
  description: "커스텀 CSS 클래스"
7815
8083
  }
7816
8084
  ] },
8085
+ ariaRole: "table",
8086
+ keyboardShortcuts: [{
8087
+ keys: "Tab",
8088
+ action: "펼침/접기 컨트롤 사이 이동"
8089
+ }, {
8090
+ keys: "Enter / Space",
8091
+ action: "하위 행 펼치기 또는 접기"
8092
+ }],
7817
8093
  dependencies: [{
7818
8094
  slug: "data-table",
7819
8095
  category: "shells"
@@ -7877,7 +8153,7 @@ const filters = [
7877
8153
  },
7878
8154
  {
7879
8155
  name: "onDragEnd",
7880
- type: "(itemId, fromCol, toCol, toIndex) => void",
8156
+ type: "(itemId: string, fromColumnId: string, toColumnId: string, toIndex: number) => void",
7881
8157
  required: true,
7882
8158
  description: "드래그 완료 콜백"
7883
8159
  },
@@ -8113,7 +8389,7 @@ const filters = [
8113
8389
  },
8114
8390
  {
8115
8391
  name: "onImport",
8116
- type: "(mapping, data) => void",
8392
+ type: "(mapping: Record<string, string>, data: string[][]) => void",
8117
8393
  required: true,
8118
8394
  description: "임포트 확정 콜백"
8119
8395
  },
@@ -8165,12 +8441,32 @@ const filters = [
8165
8441
  default: "\"Menu\"",
8166
8442
  description: "트리거 버튼 텍스트"
8167
8443
  },
8444
+ {
8445
+ name: "aria-label",
8446
+ type: "string",
8447
+ description: "열린 메가 메뉴 탐색 영역의 접근 가능한 이름"
8448
+ },
8168
8449
  {
8169
8450
  name: "className",
8170
8451
  type: "string",
8171
8452
  description: "커스텀 CSS 클래스"
8172
8453
  }
8173
8454
  ] },
8455
+ ariaRole: "navigation",
8456
+ keyboardShortcuts: [
8457
+ {
8458
+ keys: "Enter / Space",
8459
+ action: "메가 메뉴 열기"
8460
+ },
8461
+ {
8462
+ keys: "Tab",
8463
+ action: "메뉴 링크와 액션 사이 이동"
8464
+ },
8465
+ {
8466
+ keys: "Escape",
8467
+ action: "메가 메뉴 닫기"
8468
+ }
8469
+ ],
8174
8470
  dependencies: [{
8175
8471
  slug: "popover",
8176
8472
  category: "core"
@@ -8767,6 +9063,16 @@ const messages = [
8767
9063
  slug: "time-series-panel",
8768
9064
  exports: ["TimeSeriesPanel"],
8769
9065
  props: { TimeSeriesPanel: [
9066
+ {
9067
+ name: "title",
9068
+ type: "ReactNode",
9069
+ description: "패널 제목. aria-label이 없으면 region 이름으로 연결됩니다"
9070
+ },
9071
+ {
9072
+ name: "description",
9073
+ type: "ReactNode",
9074
+ description: "패널 보조 설명"
9075
+ },
8770
9076
  {
8771
9077
  name: "data",
8772
9078
  type: "TimeSeriesPoint[]",
@@ -8813,6 +9119,11 @@ const messages = [
8813
9119
  type: "number",
8814
9120
  default: "280",
8815
9121
  description: "차트 높이"
9122
+ },
9123
+ {
9124
+ name: "aria-label",
9125
+ type: "string",
9126
+ description: "제목 대신 사용할 패널 region의 접근 가능한 이름"
8816
9127
  }
8817
9128
  ] },
8818
9129
  ariaRole: "region",
@@ -8996,6 +9307,354 @@ const messages = [
8996
9307
  ] },
8997
9308
  ariaRole: "complementary",
8998
9309
  testDescribe: "FieldSidebar"
9310
+ },
9311
+ {
9312
+ name: "InspectorLayout",
9313
+ category: "shells",
9314
+ description: "목록과 인스펙터의 2-pane 레이아웃. 넓으면 밀어내고(push) 좁으면 덮으며(overlay), 닫을 때 포커스를 열었던 자리로 되돌립니다.",
9315
+ slug: "inspector-layout",
9316
+ exports: ["InspectorLayout"],
9317
+ props: { InspectorLayout: [
9318
+ {
9319
+ name: "children",
9320
+ type: "ReactNode",
9321
+ required: true,
9322
+ description: "목록. 인스펙터가 열려도 마운트와 스크롤을 유지"
9323
+ },
9324
+ {
9325
+ name: "inspector",
9326
+ type: "ReactNode",
9327
+ description: "인스펙터 내용. 닫혀 있으면 렌더하지 않음"
9328
+ },
9329
+ {
9330
+ name: "open",
9331
+ type: "boolean",
9332
+ required: true,
9333
+ description: "열림"
9334
+ },
9335
+ {
9336
+ name: "onClose",
9337
+ type: "() => void",
9338
+ required: true,
9339
+ description: "닫기"
9340
+ },
9341
+ {
9342
+ name: "title",
9343
+ type: "ReactNode",
9344
+ description: "인스펙터 제목"
9345
+ },
9346
+ {
9347
+ name: "description",
9348
+ type: "ReactNode",
9349
+ description: "제목 아래 한 줄"
9350
+ },
9351
+ {
9352
+ name: "actions",
9353
+ type: "ReactNode",
9354
+ description: "닫기 버튼 옆 컨트롤"
9355
+ },
9356
+ {
9357
+ name: "footer",
9358
+ type: "ReactNode",
9359
+ description: "인스펙터 하단"
9360
+ },
9361
+ {
9362
+ name: "breakpoint",
9363
+ type: "\"lg\" | \"xl\" | \"2xl\"",
9364
+ default: "\"xl\"",
9365
+ description: "이 폭 이상이면 push"
9366
+ },
9367
+ {
9368
+ name: "width",
9369
+ type: "\"sm\" | \"md\" | \"lg\"",
9370
+ default: "\"md\"",
9371
+ description: "push 레이아웃에서의 인스펙터 폭"
9372
+ }
9373
+ ] },
9374
+ usage: {
9375
+ bestPractices: ["목록 → 상세 → 목록 왕복이 잦은 화면에 씁니다. 다이얼로그는 목록을 가져가 버립니다."],
9376
+ avoid: ["확인이 필요한 파괴적 작업에는 ConfirmDialog를 씁니다.", "포커스 복귀를 직접 다루지 않습니다. Flyout이 소유하며, 부모가 겹쳐 잡으면 패널을 열었던 요소로 오인합니다."]
9377
+ },
9378
+ testDescribe: "InspectorLayout"
9379
+ },
9380
+ {
9381
+ name: "QueryFilterBar",
9382
+ category: "shells",
9383
+ description: "QueryBar와 필터 버튼이 하나의 Query를 공유합니다. 버튼은 상태를 갖지 않고 Query를 읽어 활성 여부를 계산합니다.",
9384
+ slug: "query-filter-bar",
9385
+ exports: ["QueryFilterBar", "hasActiveQuery"],
9386
+ props: { QueryFilterBar: [
9387
+ {
9388
+ name: "value",
9389
+ type: "Query",
9390
+ required: true,
9391
+ description: "필터 상태 전부"
9392
+ },
9393
+ {
9394
+ name: "onChange",
9395
+ type: "(query: Query) => void",
9396
+ required: true,
9397
+ description: "Query 변경"
9398
+ },
9399
+ {
9400
+ name: "filters",
9401
+ type: "QueryFilterDef[]",
9402
+ required: true,
9403
+ description: "필터 컨트롤 정의 (is / field_value_selection / field_value_toggle)"
9404
+ },
9405
+ {
9406
+ name: "fields",
9407
+ type: "QueryField[]",
9408
+ description: "텍스트 입력 자동완성"
9409
+ },
9410
+ {
9411
+ name: "actions",
9412
+ type: "ReactNode",
9413
+ description: "필터 행 끝 슬롯"
9414
+ },
9415
+ {
9416
+ name: "showClauses",
9417
+ type: "boolean",
9418
+ default: "true",
9419
+ description: "절을 제거 가능한 칩으로 표시"
9420
+ },
9421
+ {
9422
+ name: "live",
9423
+ type: "boolean",
9424
+ default: "false",
9425
+ description: "매 입력마다 커밋"
9426
+ },
9427
+ {
9428
+ name: "disabled",
9429
+ type: "boolean",
9430
+ default: "false",
9431
+ description: "전체 비활성"
9432
+ },
9433
+ {
9434
+ name: "queryBarLabels",
9435
+ type: "QueryBarLabels",
9436
+ description: "QueryBar로 통과되는 나머지 문구. placeholder/ariaLabel은 labels가 이깁니다"
9437
+ }
9438
+ ] },
9439
+ usage: {
9440
+ bestPractices: ["URL에 Query 한 줄만 실어 필터 상태 전체를 공유 가능하게 만듭니다."],
9441
+ avoid: ["필터 버튼이 자체 상태를 갖게 하지 않습니다. 진실 원천이 둘로 갈라집니다."]
9442
+ },
9443
+ testDescribe: "QueryFilterBar"
9444
+ },
9445
+ {
9446
+ name: "CatalogFrame",
9447
+ category: "shells",
9448
+ description: "카탈로그 목록의 공통 뼈대. 헤더·통계·고지·필터·인스펙터·페이지네이션·일괄 작업과 빈/에러 상태를 담고, 필터나 페이지가 바뀌면 선택을 비웁니다.",
9449
+ slug: "catalog-frame",
9450
+ exports: [
9451
+ "CatalogFrame",
9452
+ "CatalogRowActions",
9453
+ "CatalogCellControls"
9454
+ ],
9455
+ props: {
9456
+ CatalogFrame: [
9457
+ {
9458
+ name: "children",
9459
+ type: "ReactNode",
9460
+ required: true,
9461
+ description: "테이블. 빈/에러 상태에서는 대체됨"
9462
+ },
9463
+ {
9464
+ name: "isEmpty",
9465
+ type: "boolean",
9466
+ required: true,
9467
+ description: "테이블이 0행인지"
9468
+ },
9469
+ {
9470
+ name: "query",
9471
+ type: "Query",
9472
+ required: true,
9473
+ description: "필터 상태"
9474
+ },
9475
+ {
9476
+ name: "onQueryChange",
9477
+ type: "(query: Query) => void",
9478
+ required: true,
9479
+ description: "Query 변경"
9480
+ },
9481
+ {
9482
+ name: "filters",
9483
+ type: "QueryFilterDef[]",
9484
+ description: "필터 정의"
9485
+ },
9486
+ {
9487
+ name: "stats",
9488
+ type: "StatCardType[]",
9489
+ description: "통계 카드"
9490
+ },
9491
+ {
9492
+ name: "onStatClick",
9493
+ type: "(stat: StatCardType) => void",
9494
+ description: "카드 클릭 = 필터"
9495
+ },
9496
+ {
9497
+ name: "notice",
9498
+ type: "ReactNode",
9499
+ description: "목록 위 고지"
9500
+ },
9501
+ {
9502
+ name: "emptyActions",
9503
+ type: "ReactNode",
9504
+ description: "필터 없는 빈 상태의 다음 행동 (필터된 빈 상태는 필터 지우기 유지)"
9505
+ },
9506
+ {
9507
+ name: "header",
9508
+ type: "ReactNode",
9509
+ description: "헤더 슬롯"
9510
+ },
9511
+ {
9512
+ name: "actions",
9513
+ type: "ReactNode",
9514
+ description: "액션 슬롯"
9515
+ },
9516
+ {
9517
+ name: "toolbar",
9518
+ type: "ReactNode",
9519
+ description: "통계와 필터 사이 컨트롤 (스코프 세그먼트 등)"
9520
+ },
9521
+ {
9522
+ name: "inspector",
9523
+ type: "ReactNode",
9524
+ description: "인스펙터 내용"
9525
+ },
9526
+ {
9527
+ name: "inspectorOpen",
9528
+ type: "boolean",
9529
+ required: true,
9530
+ description: "인스펙터 열림"
9531
+ },
9532
+ {
9533
+ name: "onInspectorClose",
9534
+ type: "() => void",
9535
+ required: true,
9536
+ description: "인스펙터 닫기"
9537
+ },
9538
+ {
9539
+ name: "inspectorTitle",
9540
+ type: "ReactNode",
9541
+ description: "인스펙터 제목"
9542
+ },
9543
+ {
9544
+ name: "inspectorDescription",
9545
+ type: "ReactNode",
9546
+ description: "인스펙터 설명"
9547
+ },
9548
+ {
9549
+ name: "inspectorActions",
9550
+ type: "ReactNode",
9551
+ description: "인스펙터 헤더 컨트롤"
9552
+ },
9553
+ {
9554
+ name: "inspectorFooter",
9555
+ type: "ReactNode",
9556
+ description: "인스펙터 하단"
9557
+ },
9558
+ {
9559
+ name: "inspectorWidth",
9560
+ type: "\"sm\" | \"md\" | \"lg\"",
9561
+ description: "push 레이아웃 폭"
9562
+ },
9563
+ {
9564
+ name: "page",
9565
+ type: "number",
9566
+ default: "1",
9567
+ description: "현재 페이지"
9568
+ },
9569
+ {
9570
+ name: "pageSize",
9571
+ type: "number",
9572
+ default: "50",
9573
+ description: "페이지 크기"
9574
+ },
9575
+ {
9576
+ name: "totalCount",
9577
+ type: "number",
9578
+ description: "필터 반영 총 개수"
9579
+ },
9580
+ {
9581
+ name: "onPageChange",
9582
+ type: "(page: number) => void",
9583
+ description: "페이지 변경"
9584
+ },
9585
+ {
9586
+ name: "selectedKeys",
9587
+ type: "string[]",
9588
+ description: "선택된 행"
9589
+ },
9590
+ {
9591
+ name: "onSelectionChange",
9592
+ type: "(keys: string[]) => void",
9593
+ description: "선택 변경. 필터·페이지가 바뀌면 프레임이 비웁니다"
9594
+ },
9595
+ {
9596
+ name: "bulkActions",
9597
+ type: "FloatingAction[]",
9598
+ description: "일괄 작업"
9599
+ },
9600
+ {
9601
+ name: "onBulkAction",
9602
+ type: "(actionId: string) => void",
9603
+ description: "일괄 작업 실행"
9604
+ },
9605
+ {
9606
+ name: "error",
9607
+ type: "ReactNode",
9608
+ description: "읽기 실패. 빈 목록과 다른 답"
9609
+ },
9610
+ {
9611
+ name: "onRetry",
9612
+ type: "() => void",
9613
+ description: "재시도"
9614
+ },
9615
+ {
9616
+ name: "labels",
9617
+ type: "CatalogFrameLabels",
9618
+ description: "빈/필터된 빈/에러 문구"
9619
+ }
9620
+ ],
9621
+ CatalogRowActions: [
9622
+ {
9623
+ name: "item",
9624
+ type: "T",
9625
+ required: true,
9626
+ description: "이 행의 항목"
9627
+ },
9628
+ {
9629
+ name: "actions",
9630
+ type: "CatalogRowAction<T>[]",
9631
+ required: true,
9632
+ description: "행 액션"
9633
+ },
9634
+ {
9635
+ name: "visibleCount",
9636
+ type: "number",
9637
+ default: "2",
9638
+ description: "오버플로 전에 노출할 개수. available 필터링 후에 적용됨"
9639
+ },
9640
+ {
9641
+ name: "labels",
9642
+ type: "CatalogRowActionsLabels",
9643
+ description: "그룹·오버플로 라벨"
9644
+ }
9645
+ ],
9646
+ CatalogCellControls: [{
9647
+ name: "children",
9648
+ type: "ReactNode",
9649
+ required: true,
9650
+ description: "행 클릭으로 새면 안 되는 셀 컨트롤"
9651
+ }]
9652
+ },
9653
+ usage: {
9654
+ bestPractices: ["카탈로그 성격의 목록 화면은 이 프레임 위에 컬럼 정의와 labels만 얹습니다."],
9655
+ avoid: ["선택 초기화를 호출자에게 맡기지 않습니다 — 보이지 않는 행에 일괄 작업이 적용됩니다."]
9656
+ },
9657
+ testDescribe: "CatalogFrame"
8999
9658
  }
9000
9659
  ];
9001
9660
  //#endregion