@opsnow-mcp/opsnow-mcp-common-ui-server 1.0.39 → 1.0.41

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 (37) hide show
  1. package/build/components/all-component-tools.js +2 -0
  2. package/build/components/data/icon-names.generated.js +341 -0
  3. package/build/components/data/icon-names.js +32 -16
  4. package/build/components/examples/opsnow-common-chart-examples-data.js +73 -78
  5. package/build/components/examples/opsnow-common-forms-examples-data.js +1 -11
  6. package/build/components/examples/opsnow-common-grid-examples-data.js +271 -20
  7. package/build/components/examples/opsnow-common-layout-examples-data.js +12 -13
  8. package/build/components/examples/opsnow-common-popup-examples-data.js +14 -28
  9. package/build/components/examples/opsnow-common-progress-examples-data.js +0 -5
  10. package/build/components/examples/opsnow-common-stepper-examples-data.js +2 -3
  11. package/build/components/examples/opsnow-common-storage-examples-data.js +23 -4
  12. package/build/components/examples/opsnow-common-tooltip-examples-data.js +1 -21
  13. package/build/components/opsnow-common-calendar.js +36 -15
  14. package/build/components/opsnow-common-chart.js +213 -132
  15. package/build/components/opsnow-common-coach-mark.js +3 -2
  16. package/build/components/opsnow-common-data-status.js +17 -11
  17. package/build/components/opsnow-common-dropdown.js +80 -0
  18. package/build/components/opsnow-common-examples.js +4 -2
  19. package/build/components/opsnow-common-file-upload.js +4 -1
  20. package/build/components/opsnow-common-forms.js +73 -36
  21. package/build/components/opsnow-common-grid.js +72 -29
  22. package/build/components/opsnow-common-icons.js +23 -39
  23. package/build/components/opsnow-common-jsx-helper.js +36 -0
  24. package/build/components/opsnow-common-layout.js +66 -25
  25. package/build/components/opsnow-common-notification.js +3 -2
  26. package/build/components/opsnow-common-pagination.js +4 -4
  27. package/build/components/opsnow-common-popup.js +12 -11
  28. package/build/components/opsnow-common-progress.js +10 -16
  29. package/build/components/opsnow-common-select.js +26 -13
  30. package/build/components/opsnow-common-stepper.js +30 -7
  31. package/build/components/opsnow-common-tab.js +5 -3
  32. package/build/components/opsnow-common-toast-popup.js +1 -0
  33. package/build/components/opsnow-common-tooltip.js +44 -46
  34. package/build/components/opsnow-common-typography.js +11 -5
  35. package/build/components/opsnow-common-validate-props.js +0 -0
  36. package/build/index.js +2 -0
  37. package/package.json +2 -1
@@ -1,11 +1,8 @@
1
- // 고유한 일반 ID를 생성하는 함수입니다.
1
+ // 예제별 chartId 접미사 — 순번이라 빌드마다 결과가 같다
2
+ let generalIdSeq = 0;
2
3
  function generateUniqueGeneralId() {
3
- // slice(2, 9)를 사용하는 이유는 Math.random()의 소수점 이하 부분(랜덤값)을 36진수 문자열로 변환한 뒤,
4
- // 앞의 '0.'을 제외하고 7자리만 잘라서 사용하기 위함입니다.
5
- // 예: Math.random() = 0.123456789 -> toString(36) = '0.4fzyo5j' -> slice(2, 9) = '4fzyo5j'
6
- const random = Math.random().toString(36).slice(2, 9);
7
- const timestamp = Date.now().toString(36);
8
- return `${timestamp}-${random}`;
4
+ generalIdSeq += 1;
5
+ return `ex${generalIdSeq.toString().padStart(3, '0')}`;
9
6
  }
10
7
  // Chart 컴포넌트 예제 데이터
11
8
  export const GaugeChartExamples = [
@@ -65,7 +62,7 @@ export const GaugeChartExamples = [
65
62
  `,
66
63
  code: `<OpsnowCommonGaugeChart
67
64
  chartId={chartId}
68
- chartRef={chartRef}
65
+ ref={chartRef}
69
66
  chartProps={chartProps}
70
67
  chartValue={chartValue}
71
68
  />`
@@ -154,7 +151,7 @@ export const PieChartExamples = [
154
151
  `,
155
152
  code: `<OpsnowCommonPieChart
156
153
  chartId={chartId}
157
- chartRef={chartRef}
154
+ ref={chartRef}
158
155
  chartProps={chartProps}
159
156
  chartData={chartData}
160
157
  chartLocaleProps={chartLocaleProps()}
@@ -227,7 +224,7 @@ export const PieChartExamples = [
227
224
  `,
228
225
  code: `<OpsnowCommonPieChart
229
226
  chartId={chartId}
230
- chartRef={chartRef}
227
+ ref={chartRef}
231
228
  chartProps={chartProps}
232
229
  chartData={chartData}
233
230
  onChartClick={selectItem}
@@ -297,7 +294,7 @@ export const PieChartExamples = [
297
294
  `,
298
295
  code: `<OpsnowCommonPieChart
299
296
  chartId={chartId}
300
- chartRef={chartRef}
297
+ ref={chartRef}
301
298
  chartProps={chartProps}
302
299
  chartData={chartData}
303
300
  />`
@@ -386,7 +383,7 @@ export const PieChartExamples = [
386
383
  `,
387
384
  code: `<OpsnowCommonPieChart
388
385
  chartId={chartId}
389
- chartRef={chartRef}
386
+ ref={chartRef}
390
387
  chartProps={chartProps}
391
388
  chartData={chartData}
392
389
  chartCustomCategory={chartCustomCategory}
@@ -453,7 +450,7 @@ export const PieChartExamples = [
453
450
  `,
454
451
  code: `<OpsnowCommonPieChart
455
452
  chartId={chartId}
456
- chartRef={chartRef}
453
+ ref={chartRef}
457
454
  chartProps={chartProps}
458
455
  chartData={chartData}
459
456
  />`
@@ -508,7 +505,7 @@ export const PieChartExamples = [
508
505
  `,
509
506
  code: `<OpsnowCommonPieChart
510
507
  chartId={chartId}
511
- chartRef={chartRef}
508
+ ref={chartRef}
512
509
  chartProps={chartProps}
513
510
  chartData={chartData}
514
511
  chartCustomCategory={chartCustomCategory}
@@ -516,7 +513,7 @@ export const PieChartExamples = [
516
513
  },
517
514
  {
518
515
  title: '파이 차트 - 다운로드',
519
- description: 'ref를 사용하여 파이 차트를 다양한 형식으로 다운로드하는 예제입니다. 다운로드 시에는 chartRef가 아닌 React ref를 사용해야 합니다. downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
516
+ description: 'ref를 사용하여 파이 차트를 다양한 형식으로 다운로드하는 예제입니다. 차트 ref는 ref prop으로 넘깁니다(chartRef라는 prop은 없음). downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
520
517
  code_props_usage: `
521
518
  const chartId = 'pie-chart-download-${generateUniqueGeneralId()}'
522
519
  const chartRef = useRef(null)
@@ -540,7 +537,6 @@ export const PieChartExamples = [
540
537
  { service: 'RDS', cost: 8200 },
541
538
  { service: 'S3', cost: 4300 }
542
539
  ])
543
- const [chartCategory] = useState(['EC2', 'RDS', 'S3'])
544
540
 
545
541
  // 다운로드 핸들러
546
542
  const handleDownload = () => {
@@ -563,7 +559,6 @@ export const PieChartExamples = [
563
559
  ref={chartRef}
564
560
  chartId={chartId}
565
561
  chartProps={chartProps}
566
- chartCategory={chartCategory}
567
562
  chartData={chartData}
568
563
  />`
569
564
  },
@@ -680,7 +675,7 @@ export const BarChartExamples = [
680
675
  `,
681
676
  code: `<OpsnowCommonBarChart
682
677
  chartId={chartId}
683
- chartRef={chartRef}
678
+ ref={chartRef}
684
679
  chartProps={chartProps}
685
680
  chartData={chartData}
686
681
  chartCategory={chartCategory}
@@ -772,7 +767,7 @@ export const BarChartExamples = [
772
767
  `,
773
768
  code: `<OpsnowCommonBarChart
774
769
  chartId={chartId}
775
- chartRef={chartRef}
770
+ ref={chartRef}
776
771
  chartProps={chartProps}
777
772
  chartData={chartData}
778
773
  chartCategory={chartCategory}
@@ -866,7 +861,7 @@ export const BarChartExamples = [
866
861
  `,
867
862
  code: `<OpsnowCommonBarChart
868
863
  chartId={chartId}
869
- chartRef={chartRef}
864
+ ref={chartRef}
870
865
  chartProps={chartProps}
871
866
  chartData={chartData}
872
867
  chartCategory={chartCategory}
@@ -967,7 +962,7 @@ export const BarChartExamples = [
967
962
  `,
968
963
  code: `<OpsnowCommonBarChart
969
964
  chartId={chartId}
970
- chartRef={chartRef}
965
+ ref={chartRef}
971
966
  chartProps={chartProps}
972
967
  chartData={chartData}
973
968
  chartCategory={chartCategory}
@@ -1031,7 +1026,7 @@ export const BarChartExamples = [
1031
1026
  `,
1032
1027
  code: `<OpsnowCommonBarChart
1033
1028
  chartId={chartId}
1034
- chartRef={chartRef}
1029
+ ref={chartRef}
1035
1030
  chartProps={chartProps}
1036
1031
  chartData={chartData}
1037
1032
  chartCategory={chartCategory}
@@ -1103,7 +1098,7 @@ export const BarChartExamples = [
1103
1098
  `,
1104
1099
  code: `<OpsnowCommonBarChart
1105
1100
  chartId={chartId}
1106
- chartRef={chartRef}
1101
+ ref={chartRef}
1107
1102
  chartProps={chartProps}
1108
1103
  chartData={chartData}
1109
1104
  chartCategory={chartCategory}
@@ -1229,7 +1224,7 @@ export const BarChartExamples = [
1229
1224
  `,
1230
1225
  code: `<OpsnowCommonBarChart
1231
1226
  chartId={chartId}
1232
- chartRef={chartRef}
1227
+ ref={chartRef}
1233
1228
  chartProps={chartProps}
1234
1229
  chartData={chartData}
1235
1230
  chartCategory={chartCategory}
@@ -1322,7 +1317,7 @@ export const BarChartExamples = [
1322
1317
  `,
1323
1318
  code: `<OpsnowCommonBarChart
1324
1319
  chartId={chartId}
1325
- chartRef={chartRef}
1320
+ ref={chartRef}
1326
1321
  chartProps={chartProps}
1327
1322
  chartData={chartData}
1328
1323
  chartCategory={chartCategory}
@@ -1330,7 +1325,7 @@ export const BarChartExamples = [
1330
1325
  },
1331
1326
  {
1332
1327
  title: '바 차트 - 다운로드 (기본)',
1333
- description: 'ref를 사용하여 바 차트를 다양한 형식으로 다운로드하는 예제입니다. 다운로드 시에는 chartRef가 아닌 React ref를 사용해야 합니다. downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
1328
+ description: 'ref를 사용하여 바 차트를 다양한 형식으로 다운로드하는 예제입니다. 차트 ref는 ref prop으로 넘깁니다(chartRef라는 prop은 없음). downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
1334
1329
  code_props_usage: `
1335
1330
  const chartId = 'bar-chart-download-${generateUniqueGeneralId()}'
1336
1331
  const chartRef = useRef(null)
@@ -1505,7 +1500,7 @@ export const LineChartExamples = [
1505
1500
  `,
1506
1501
  code: `<OpsnowCommonLineChart
1507
1502
  chartId={chartId}
1508
- chartRef={chartRef}
1503
+ ref={chartRef}
1509
1504
  chartProps={chartProps}
1510
1505
  chartCategory={chartCategory}
1511
1506
  chartData={chartData}
@@ -1552,7 +1547,7 @@ export const LineChartExamples = [
1552
1547
  `,
1553
1548
  code: `<OpsnowCommonLineChart
1554
1549
  chartId={chartId}
1555
- chartRef={chartRef}
1550
+ ref={chartRef}
1556
1551
  chartProps={chartProps}
1557
1552
  chartCategory={chartCategory}
1558
1553
  chartData={chartData}
@@ -1673,7 +1668,7 @@ export const LineChartExamples = [
1673
1668
  `,
1674
1669
  code: `<OpsnowCommonLineChart
1675
1670
  chartId={chartId}
1676
- chartRef={chartRef}
1671
+ ref={chartRef}
1677
1672
  chartProps={chartProps}
1678
1673
  chartCategory={chartCategory}
1679
1674
  chartData={chartData}
@@ -1776,7 +1771,7 @@ export const LineChartExamples = [
1776
1771
  `,
1777
1772
  code: `<OpsnowCommonLineChart
1778
1773
  chartId={chartId}
1779
- chartRef={chartRef}
1774
+ ref={chartRef}
1780
1775
  chartProps={chartProps}
1781
1776
  chartCategory={chartCategory}
1782
1777
  chartData={chartData}
@@ -1889,7 +1884,7 @@ export const LineChartExamples = [
1889
1884
  `,
1890
1885
  code: `<OpsnowCommonLineChart
1891
1886
  chartId={chartId}
1892
- chartRef={chartRef}
1887
+ ref={chartRef}
1893
1888
  chartProps={chartProps}
1894
1889
  chartCategory={chartCategory}
1895
1890
  chartData={chartData}
@@ -1980,7 +1975,7 @@ export const LineChartExamples = [
1980
1975
  `,
1981
1976
  code: `<OpsnowCommonLineChart
1982
1977
  chartId={chartId}
1983
- chartRef={chartRef}
1978
+ ref={chartRef}
1984
1979
  chartProps={chartProps}
1985
1980
  chartCategory={chartCategory}
1986
1981
  chartData={chartData}
@@ -2068,7 +2063,7 @@ export const LineChartExamples = [
2068
2063
  `,
2069
2064
  code: `<OpsnowCommonLineChart
2070
2065
  chartId={chartId}
2071
- chartRef={chartRef}
2066
+ ref={chartRef}
2072
2067
  chartProps={chartProps}
2073
2068
  chartCategory={chartCategory}
2074
2069
  chartData={chartData}
@@ -2202,7 +2197,7 @@ export const LineChartExamples = [
2202
2197
  `,
2203
2198
  code: `<OpsnowCommonLineChart
2204
2199
  chartId={chartId}
2205
- chartRef={chartRef}
2200
+ ref={chartRef}
2206
2201
  chartProps={chartProps}
2207
2202
  chartCategory={chartCategory}
2208
2203
  chartData={chartData}
@@ -2303,7 +2298,7 @@ export const LineChartExamples = [
2303
2298
  `,
2304
2299
  code: `<OpsnowCommonLineChart
2305
2300
  chartId={chartId}
2306
- chartRef={chartRef}
2301
+ ref={chartRef}
2307
2302
  chartProps={chartProps}
2308
2303
  chartCategory={chartCategory}
2309
2304
  chartData={chartData}
@@ -2376,7 +2371,7 @@ export const LineChartExamples = [
2376
2371
  `,
2377
2372
  code: `<OpsnowCommonLineChart
2378
2373
  chartId={chartId}
2379
- chartRef={chartRef}
2374
+ ref={chartRef}
2380
2375
  chartProps={chartProps}
2381
2376
  chartCategory={chartCategory}
2382
2377
  chartData={chartData}
@@ -2385,7 +2380,7 @@ export const LineChartExamples = [
2385
2380
  },
2386
2381
  {
2387
2382
  title: '라인 차트 - 다운로드',
2388
- description: 'ref를 사용하여 라인 차트를 다양한 형식으로 다운로드하는 예제입니다. 다운로드 시에는 chartRef가 아닌 React ref를 사용해야 합니다. downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
2383
+ description: 'ref를 사용하여 라인 차트를 다양한 형식으로 다운로드하는 예제입니다. 차트 ref는 ref prop으로 넘깁니다(chartRef라는 prop은 없음). downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
2389
2384
  code_props_usage: `
2390
2385
  const chartId = 'line-chart-download-${generateUniqueGeneralId()}'
2391
2386
  const chartRef = useRef(null)
@@ -2544,7 +2539,7 @@ export const StackChartExamples = [
2544
2539
  `,
2545
2540
  code: `<OpsnowCommonStackChart
2546
2541
  chartId={chartId}
2547
- chartRef={chartRef}
2542
+ ref={chartRef}
2548
2543
  chartProps={chartProps}
2549
2544
  chartData={chartData}
2550
2545
  chartCategory={chartCategory}
@@ -2635,7 +2630,7 @@ export const StackChartExamples = [
2635
2630
  `,
2636
2631
  code: `<OpsnowCommonStackChart
2637
2632
  chartId={chartId}
2638
- chartRef={chartRef}
2633
+ ref={chartRef}
2639
2634
  chartProps={chartProps}
2640
2635
  chartData={chartData}
2641
2636
  chartCategory={chartCategory}
@@ -2729,7 +2724,7 @@ export const StackChartExamples = [
2729
2724
  `,
2730
2725
  code: `<OpsnowCommonStackChart
2731
2726
  chartId={chartId}
2732
- chartRef={chartRef}
2727
+ ref={chartRef}
2733
2728
  chartProps={chartProps}
2734
2729
  chartData={chartData}
2735
2730
  chartCategory={chartCategory}
@@ -2813,7 +2808,7 @@ export const StackChartExamples = [
2813
2808
  `,
2814
2809
  code: `<OpsnowCommonStackChart
2815
2810
  chartId={chartId}
2816
- chartRef={chartRef}
2811
+ ref={chartRef}
2817
2812
  chartProps={chartProps}
2818
2813
  chartData={chartData}
2819
2814
  chartCategory={chartCategory}
@@ -2910,7 +2905,7 @@ export const StackChartExamples = [
2910
2905
  `,
2911
2906
  code: `<OpsnowCommonStackChart
2912
2907
  chartId={chartId}
2913
- chartRef={chartRef}
2908
+ ref={chartRef}
2914
2909
  chartProps={chartProps}
2915
2910
  chartData={chartData}
2916
2911
  chartCategory={chartCategory}
@@ -2994,7 +2989,7 @@ export const StackChartExamples = [
2994
2989
  `,
2995
2990
  code: `<OpsnowCommonStackChart
2996
2991
  chartId={chartId}
2997
- chartRef={chartRef}
2992
+ ref={chartRef}
2998
2993
  chartProps={chartProps}
2999
2994
  chartData={chartData}
3000
2995
  chartCategory={chartCategory}
@@ -3069,7 +3064,7 @@ export const StackChartExamples = [
3069
3064
  `,
3070
3065
  code: `<OpsnowCommonStackChart
3071
3066
  chartId={chartId}
3072
- chartRef={chartRef}
3067
+ ref={chartRef}
3073
3068
  chartProps={chartProps}
3074
3069
  chartData={chartData}
3075
3070
  chartCategory={chartCategory}
@@ -3188,7 +3183,7 @@ export const StackChartExamples = [
3188
3183
  `,
3189
3184
  code: `<OpsnowCommonStackChart
3190
3185
  chartId={chartId}
3191
- chartRef={chartRef}
3186
+ ref={chartRef}
3192
3187
  chartProps={chartProps}
3193
3188
  chartData={chartData}
3194
3189
  chartCategory={chartCategory}
@@ -3309,7 +3304,7 @@ export const StackChartExamples = [
3309
3304
  `,
3310
3305
  code: `<OpsnowCommonStackChart
3311
3306
  chartId={chartId}
3312
- chartRef={chartRef}
3307
+ ref={chartRef}
3313
3308
  chartProps={chartProps}
3314
3309
  chartData={chartData}
3315
3310
  chartCategory={chartCategory}
@@ -3404,7 +3399,7 @@ export const StackChartExamples = [
3404
3399
  `,
3405
3400
  code: `<OpsnowCommonStackChart
3406
3401
  chartId={chartId}
3407
- chartRef={chartRef}
3402
+ ref={chartRef}
3408
3403
  chartProps={chartProps}
3409
3404
  chartData={chartData}
3410
3405
  chartCategory={chartCategory}
@@ -3488,7 +3483,7 @@ export const StackChartExamples = [
3488
3483
  `,
3489
3484
  code: `<OpsnowCommonStackChart
3490
3485
  chartId={chartId}
3491
- chartRef={chartRef}
3486
+ ref={chartRef}
3492
3487
  chartProps={chartProps}
3493
3488
  chartData={chartData}
3494
3489
  chartCategory={chartCategory}
@@ -3559,7 +3554,7 @@ export const StackChartExamples = [
3559
3554
  `,
3560
3555
  code: `<OpsnowCommonStackChart
3561
3556
  chartId={chartId}
3562
- chartRef={chartRef}
3557
+ ref={chartRef}
3563
3558
  chartProps={chartProps}
3564
3559
  chartData={chartData}
3565
3560
  chartCategory={chartCategory}
@@ -3657,7 +3652,7 @@ export const StackChartExamples = [
3657
3652
  `,
3658
3653
  code: `<OpsnowCommonStackChart
3659
3654
  chartId={chartId}
3660
- chartRef={chartRef}
3655
+ ref={chartRef}
3661
3656
  chartProps={chartProps}
3662
3657
  chartData={chartData}
3663
3658
  chartCategory={chartCategory}
@@ -3739,7 +3734,7 @@ export const StackChartExamples = [
3739
3734
  `,
3740
3735
  code: `<OpsnowCommonStackChart
3741
3736
  chartId={chartId}
3742
- chartRef={chartRef}
3737
+ ref={chartRef}
3743
3738
  chartProps={chartProps}
3744
3739
  chartData={chartData}
3745
3740
  chartCategory={chartCategory}
@@ -3807,7 +3802,7 @@ export const StackChartExamples = [
3807
3802
  `,
3808
3803
  code: `<OpsnowCommonStackChart
3809
3804
  chartId={chartId}
3810
- chartRef={chartRef}
3805
+ ref={chartRef}
3811
3806
  chartProps={chartProps}
3812
3807
  chartData={chartData}
3813
3808
  chartCategory={chartCategory}
@@ -3817,7 +3812,7 @@ export const StackChartExamples = [
3817
3812
  },
3818
3813
  {
3819
3814
  title: '스택 차트 - 다운로드',
3820
- description: 'ref를 사용하여 스택 차트를 다양한 형식으로 다운로드하는 예제입니다. 다운로드 시에는 chartRef가 아닌 React ref를 사용해야 합니다. downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
3815
+ description: 'ref를 사용하여 스택 차트를 다양한 형식으로 다운로드하는 예제입니다. 차트 ref는 ref prop으로 넘깁니다(chartRef라는 prop은 없음). downloadFile(fileName, fileType, fileOption?)을 호출합니다.',
3821
3816
  code_props_usage: `
3822
3817
  const chartId = 'stack-chart-download-${generateUniqueGeneralId()}'
3823
3818
  const chartRef = useRef(null)
@@ -4076,7 +4071,7 @@ export const XyMultiChartExamples = [
4076
4071
  `,
4077
4072
  code: `<OpsnowCommonXyMultiChart
4078
4073
  chartId={chartId}
4079
- chartRef={chartRef}
4074
+ ref={chartRef}
4080
4075
  chartProps={chartProps}
4081
4076
  chartData={chartData}
4082
4077
  chartCategory={chartCategory}
@@ -4218,7 +4213,7 @@ export const XyMultiChartExamples = [
4218
4213
  `,
4219
4214
  code: `<OpsnowCommonXyMultiChart
4220
4215
  chartId={chartId}
4221
- chartRef={chartRef}
4216
+ ref={chartRef}
4222
4217
  chartProps={chartProps}
4223
4218
  chartData={chartData}
4224
4219
  chartCategory={chartCategory}
@@ -4368,7 +4363,7 @@ export const XyMultiChartExamples = [
4368
4363
  `,
4369
4364
  code: `<OpsnowCommonXyMultiChart
4370
4365
  chartId={chartId}
4371
- chartRef={chartRef}
4366
+ ref={chartRef}
4372
4367
  chartProps={chartProps}
4373
4368
  chartData={chartData}
4374
4369
  chartCategory={chartCategory}
@@ -4499,7 +4494,7 @@ export const XyMultiChartExamples = [
4499
4494
  `,
4500
4495
  code: `<OpsnowCommonXyMultiChart
4501
4496
  chartId={chartId}
4502
- chartRef={chartRef}
4497
+ ref={chartRef}
4503
4498
  chartProps={chartProps}
4504
4499
  chartData={chartData}
4505
4500
  chartCategory={chartCategory}
@@ -4687,7 +4682,7 @@ export const XyMultiChartExamples = [
4687
4682
  `,
4688
4683
  code: `<OpsnowCommonXyMultiChart
4689
4684
  chartId={chartId}
4690
- chartRef={chartRef}
4685
+ ref={chartRef}
4691
4686
  chartProps={chartProps}
4692
4687
  chartData={chartData}
4693
4688
  chartCategory={chartCategory}
@@ -4878,7 +4873,7 @@ export const XyMultiChartExamples = [
4878
4873
  `,
4879
4874
  code: `<OpsnowCommonXyMultiChart
4880
4875
  chartId={chartId}
4881
- chartRef={chartRef}
4876
+ ref={chartRef}
4882
4877
  chartProps={chartProps}
4883
4878
  chartData={chartData}
4884
4879
  chartCategory={chartCategory}
@@ -5019,7 +5014,7 @@ export const XyMultiChartExamples = [
5019
5014
  `,
5020
5015
  code: `<OpsnowCommonXyMultiChart
5021
5016
  chartId={chartId}
5022
- chartRef={chartRef}
5017
+ ref={chartRef}
5023
5018
  chartProps={chartProps}
5024
5019
  chartData={chartData}
5025
5020
  chartCategory={chartCategory}
@@ -5149,7 +5144,7 @@ export const XyMultiChartExamples = [
5149
5144
  `,
5150
5145
  code: `<OpsnowCommonXyMultiChart
5151
5146
  chartId={chartId}
5152
- chartRef={chartRef}
5147
+ ref={chartRef}
5153
5148
  chartProps={chartProps}
5154
5149
  chartData={chartData}
5155
5150
  chartCategory={chartCategory}
@@ -5277,7 +5272,7 @@ export const XyMultiChartExamples = [
5277
5272
  `,
5278
5273
  code: `<OpsnowCommonXyMultiChart
5279
5274
  chartId={chartId}
5280
- chartRef={chartRef}
5275
+ ref={chartRef}
5281
5276
  chartProps={chartProps}
5282
5277
  chartData={chartData}
5283
5278
  chartCategory={chartCategory}
@@ -5407,7 +5402,7 @@ export const XyMultiChartExamples = [
5407
5402
  `,
5408
5403
  code: `<OpsnowCommonXyMultiChart
5409
5404
  chartId={chartId}
5410
- chartRef={chartRef}
5405
+ ref={chartRef}
5411
5406
  chartProps={chartProps}
5412
5407
  chartData={chartData}
5413
5408
  chartCategory={chartCategory}
@@ -5533,7 +5528,7 @@ export const XyMultiChartExamples = [
5533
5528
  `,
5534
5529
  code: `<OpsnowCommonXyMultiChart
5535
5530
  chartId={chartId}
5536
- chartRef={chartRef}
5531
+ ref={chartRef}
5537
5532
  chartProps={chartProps}
5538
5533
  chartData={chartData}
5539
5534
  chartCategory={chartCategory}
@@ -5645,7 +5640,7 @@ export const XyMultiChartExamples = [
5645
5640
  `,
5646
5641
  code: `<OpsnowCommonXyMultiChart
5647
5642
  chartId={chartId}
5648
- chartRef={chartRef}
5643
+ ref={chartRef}
5649
5644
  chartProps={chartProps}
5650
5645
  chartData={chartData}
5651
5646
  chartCategory={chartCategory}
@@ -5788,7 +5783,7 @@ export const XyMultiChartExamples = [
5788
5783
  `,
5789
5784
  code: `<OpsnowCommonXyMultiChart
5790
5785
  chartId={chartId}
5791
- chartRef={chartRef}
5786
+ ref={chartRef}
5792
5787
  chartProps={chartProps}
5793
5788
  chartData={chartData}
5794
5789
  chartCategory={chartCategory}
@@ -5960,7 +5955,7 @@ export const XyMultiChartExamples = [
5960
5955
  `,
5961
5956
  code: `<OpsnowCommonXyMultiChart
5962
5957
  chartId={chartId}
5963
- chartRef={chartRef}
5958
+ ref={chartRef}
5964
5959
  chartProps={chartProps}
5965
5960
  chartData={chartData}
5966
5961
  chartCategory={chartCategory}
@@ -6097,7 +6092,7 @@ export const XyMultiChartExamples = [
6097
6092
  `,
6098
6093
  code: `<OpsnowCommonXyMultiChart
6099
6094
  chartId={chartId}
6100
- chartRef={chartRef}
6095
+ ref={chartRef}
6101
6096
  chartProps={chartProps}
6102
6097
  chartData={chartData}
6103
6098
  chartCategory={chartCategory}
@@ -6290,7 +6285,7 @@ export const XyMultiChartExamples = [
6290
6285
  `,
6291
6286
  code: `<OpsnowCommonXyMultiChart
6292
6287
  chartId={chartId}
6293
- chartRef={chartRef}
6288
+ ref={chartRef}
6294
6289
  chartProps={chartProps}
6295
6290
  chartData={chartData}
6296
6291
  chartCategory={chartCategory}
@@ -6505,7 +6500,7 @@ export const XyMultiChartExamples = [
6505
6500
  `,
6506
6501
  code: `<OpsnowCommonXyMultiChart
6507
6502
  chartId={chartId}
6508
- chartRef={chartRef}
6503
+ ref={chartRef}
6509
6504
  chartProps={chartProps}
6510
6505
  chartData={chartData}
6511
6506
  chartCategory={chartCategory}
@@ -6615,7 +6610,7 @@ export const XyMultiChartExamples = [
6615
6610
  `,
6616
6611
  code: `<OpsnowCommonXyMultiChart
6617
6612
  chartId={chartId}
6618
- chartRef={chartRef}
6613
+ ref={chartRef}
6619
6614
  chartProps={chartProps}
6620
6615
  chartCategory={chartCategory}
6621
6616
  chartData={chartData}
@@ -6734,7 +6729,7 @@ export const XyMultiChartExamples = [
6734
6729
  `,
6735
6730
  code: `<OpsnowCommonXyMultiChart
6736
6731
  chartId={chartId}
6737
- chartRef={chartRef}
6732
+ ref={chartRef}
6738
6733
  chartProps={chartProps}
6739
6734
  chartCategory={chartCategory}
6740
6735
  chartData={chartData}
@@ -6830,7 +6825,7 @@ export const XyMultiChartExamples = [
6830
6825
  `,
6831
6826
  code: `<OpsnowCommonXyMultiChart
6832
6827
  chartId={chartId}
6833
- chartRef={chartRef}
6828
+ ref={chartRef}
6834
6829
  chartProps={chartProps}
6835
6830
  chartCategory={chartCategory}
6836
6831
  chartData={chartData}
@@ -7432,7 +7427,7 @@ export const BubbleChartExamples = [
7432
7427
  `,
7433
7428
  code: `<OpsnowCommonBubbleChart
7434
7429
  chartId={chartId}
7435
- chartRef={chartRef}
7430
+ ref={chartRef}
7436
7431
  chartProps={chartProps}
7437
7432
  chartData={chartData}
7438
7433
  chartLocaleMessage={chartLocaleMessage}
@@ -7489,7 +7484,7 @@ export const BubbleChartExamples = [
7489
7484
  `,
7490
7485
  code: `<OpsnowCommonBubbleChart
7491
7486
  chartId={chartId}
7492
- chartRef={chartRef}
7487
+ ref={chartRef}
7493
7488
  chartProps={chartProps}
7494
7489
  chartData={chartData}
7495
7490
  chartLocaleMessage={chartLocaleMessage}
@@ -7534,7 +7529,7 @@ export const BubbleChartExamples = [
7534
7529
  `,
7535
7530
  code: `<OpsnowCommonBubbleChart
7536
7531
  chartId={chartId}
7537
- chartRef={chartRef}
7532
+ ref={chartRef}
7538
7533
  chartProps={chartProps}
7539
7534
  chartData={chartData}
7540
7535
  chartLocaleMessage={chartLocaleMessage}
@@ -7599,14 +7594,14 @@ export const BubbleChartExamples = [
7599
7594
  {/* Before — extraMin/extraMax 없음 */}
7600
7595
  <OpsnowCommonBubbleChart
7601
7596
  chartId={chartIdA}
7602
- chartRef={chartRefA}
7597
+ ref={chartRefA}
7603
7598
  chartProps={chartPropsA}
7604
7599
  chartData={chartData}
7605
7600
  />
7606
7601
  {/* After — extraMin/extraMax=0.1 (가장자리 여백) */}
7607
7602
  <OpsnowCommonBubbleChart
7608
7603
  chartId={chartIdB}
7609
- chartRef={chartRefB}
7604
+ ref={chartRefB}
7610
7605
  chartProps={chartPropsB}
7611
7606
  chartData={chartData}
7612
7607
  />
@@ -1135,16 +1135,6 @@ export const CollapseExamples = [
1135
1135
  <div>This is the content inside the collapse component.</div>
1136
1136
  </OpsnowCommonCollapse>`,
1137
1137
  description: '기본 Collapse 예제입니다.'
1138
- },
1139
- {
1140
- title: 'controlled-collapse',
1141
- code: `<OpsnowCommonCollapse
1142
- label="Toggle ContentToggle ContentToggle ContentToggle ContentToggle ContentToggle ContentToggle ContentToggle ContentToggle Content"
1143
- defaultExpanded
1144
- >
1145
- <div>This is the content inside the collapse component.</div>
1146
- </OpsnowCommonCollapse>`,
1147
- description: 'defaultExpanded 속성이 설정된 Collapse 예제입니다.'
1148
1138
  }
1149
1139
  ];
1150
1140
  export const SliderExamples = [
@@ -1782,7 +1772,7 @@ const [customRate, setCustomRate] = useState(null) // 앵커 통화 1단위당
1782
1772
  }}
1783
1773
  />`,
1784
1774
  description: "환율 직접 입력(시뮬레이션) 예제입니다 (2.0.11+). 시뮬레이션 섹션은 showDetail && simulationAnchorCurrency 지정 && 앵커 !== 선택 통화 3조건으로만 노출되며, 선택 통화가 USD여도 앵커가 다르면 노출됩니다. 입력 라벨은 '1 {simulationAnchorCurrency} = [입력] {선택 통화}'이고 입력창에 현재 환율 placeholder는 없습니다. onCustomRateChange의 context.currency는 적용·초기화·통화 변경 모두 항상 simulationAnchorCurrency이며, 값은 적용/Enter 시 입력값·초기화/통화 변경 시 null로 통지됩니다(입력 중 미호출). defaultTargetCurrency·simulationTarget은 @deprecated로 무시되니 앵커는 simulationAnchorCurrency로 지정하세요. [검색 키워드: 환율 시뮬레이션, 직접 입력, what-if, 커스텀 환율, showDetail, simulationAnchorCurrency, customRate]"
1785
- },
1775
+ }
1786
1776
  ];
1787
1777
  export const ToggleButtonExamples = [
1788
1778
  {