@bigtablet/design-system 3.25.1 → 3.27.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/dist/index.css CHANGED
@@ -554,6 +554,7 @@ select:-webkit-autofill:disabled {
554
554
  letter-spacing: 0px;
555
555
  font-variant-numeric: tabular-nums;
556
556
  overflow-wrap: anywhere;
557
+ word-break: keep-all;
557
558
  }
558
559
  .description_list_layout_row .description_list_item {
559
560
  grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr);
@@ -726,6 +727,7 @@ select:-webkit-autofill:disabled {
726
727
  line-height: 20px;
727
728
  letter-spacing: 0px;
728
729
  overflow-wrap: anywhere;
730
+ word-break: keep-all;
729
731
  }
730
732
  .timeline_item_done .timeline_indicator {
731
733
  background: var(--bt-color-status-success-container);
@@ -1814,6 +1816,7 @@ body:has(.bottom_nav) {
1814
1816
  line-height: 22.5px;
1815
1817
  letter-spacing: 0px;
1816
1818
  overflow-wrap: anywhere;
1819
+ word-break: keep-all;
1817
1820
  }
1818
1821
  .stepper_description {
1819
1822
  color: var(--bt-color-text-caption);
@@ -1822,6 +1825,7 @@ body:has(.bottom_nav) {
1822
1825
  line-height: 20px;
1823
1826
  letter-spacing: 0px;
1824
1827
  overflow-wrap: anywhere;
1828
+ word-break: keep-all;
1825
1829
  }
1826
1830
  .stepper_sr_only {
1827
1831
  position: absolute;
@@ -3524,6 +3528,8 @@ body:has(.bottom_nav) {
3524
3528
  font-weight: 400;
3525
3529
  line-height: 20px;
3526
3530
  letter-spacing: 0px;
3531
+ word-break: keep-all;
3532
+ overflow-wrap: break-word;
3527
3533
  }
3528
3534
  .table_align_left {
3529
3535
  text-align: start;
@@ -6287,6 +6293,7 @@ body:has(.bottom_nav) {
6287
6293
  align-items: center;
6288
6294
  justify-content: space-between;
6289
6295
  gap: 8px;
6296
+ box-sizing: border-box;
6290
6297
  width: 100%;
6291
6298
  padding: 0 4px;
6292
6299
  }
@@ -6993,6 +7000,7 @@ body:has(.bottom_nav) {
6993
7000
  }
6994
7001
  }
6995
7002
  .container {
7003
+ box-sizing: border-box;
6996
7004
  width: 100%;
6997
7005
  padding-inline: 16px;
6998
7006
  }
package/dist/index.d.ts CHANGED
@@ -1223,15 +1223,15 @@ declare const baseTypography: {
1223
1223
  readonly "48": "48px";
1224
1224
  };
1225
1225
  readonly fontWeight: {
1226
- readonly thin: "Thin";
1227
- readonly extraLight: "ExtraLight";
1228
- readonly light: "Light";
1229
- readonly regular: "Regular";
1230
- readonly medium: "Medium";
1231
- readonly semiBold: "SemiBold";
1232
- readonly bold: "Bold";
1233
- readonly extraBold: "ExtraBold";
1234
- readonly black: "Black";
1226
+ readonly thin: 100;
1227
+ readonly extraLight: 200;
1228
+ readonly light: 300;
1229
+ readonly regular: 400;
1230
+ readonly medium: 500;
1231
+ readonly semiBold: 600;
1232
+ readonly bold: 700;
1233
+ readonly extraBold: 800;
1234
+ readonly black: 900;
1235
1235
  };
1236
1236
  readonly lineHeight: {
1237
1237
  readonly "16": "16px";
@@ -1258,75 +1258,111 @@ declare const typography: {
1258
1258
  readonly display: {
1259
1259
  readonly large: {
1260
1260
  readonly fontSize: "48px";
1261
- readonly fontWeight: "Regular";
1261
+ readonly fontWeight: 400;
1262
1262
  readonly lineHeight: "60px";
1263
1263
  readonly letterSpacing: "0px";
1264
1264
  };
1265
1265
  readonly largeMedium: {
1266
1266
  readonly fontSize: "48px";
1267
- readonly fontWeight: "Medium";
1267
+ readonly fontWeight: 500;
1268
1268
  readonly lineHeight: "60px";
1269
1269
  readonly letterSpacing: "0px";
1270
1270
  };
1271
1271
  readonly medium: {
1272
1272
  readonly fontSize: "40px";
1273
- readonly fontWeight: "Regular";
1273
+ readonly fontWeight: 400;
1274
1274
  readonly lineHeight: "50px";
1275
1275
  readonly letterSpacing: "0px";
1276
1276
  };
1277
1277
  readonly mediumMedium: {
1278
1278
  readonly fontSize: "40px";
1279
- readonly fontWeight: "Medium";
1279
+ readonly fontWeight: 500;
1280
1280
  readonly lineHeight: "50px";
1281
1281
  readonly letterSpacing: "0px";
1282
1282
  };
1283
1283
  readonly small: {
1284
1284
  readonly fontSize: "32px";
1285
- readonly fontWeight: "Regular";
1285
+ readonly fontWeight: 400;
1286
1286
  readonly lineHeight: "40px";
1287
1287
  readonly letterSpacing: "0px";
1288
1288
  };
1289
1289
  readonly smallMedium: {
1290
1290
  readonly fontSize: "32px";
1291
- readonly fontWeight: "Medium";
1291
+ readonly fontWeight: 500;
1292
1292
  readonly lineHeight: "40px";
1293
1293
  readonly letterSpacing: "0px";
1294
1294
  };
1295
+ readonly largeBold: {
1296
+ readonly fontSize: "48px";
1297
+ readonly fontWeight: 700;
1298
+ readonly lineHeight: "60px";
1299
+ readonly letterSpacing: "-0.02em";
1300
+ };
1301
+ readonly mediumBold: {
1302
+ readonly fontSize: "40px";
1303
+ readonly fontWeight: 700;
1304
+ readonly lineHeight: "50px";
1305
+ readonly letterSpacing: "-0.02em";
1306
+ };
1307
+ readonly smallBold: {
1308
+ readonly fontSize: "32px";
1309
+ readonly fontWeight: 700;
1310
+ readonly lineHeight: "40px";
1311
+ readonly letterSpacing: "-0.015em";
1312
+ };
1295
1313
  };
1296
1314
  readonly heading: {
1297
1315
  readonly large: {
1298
1316
  readonly fontSize: "28px";
1299
- readonly fontWeight: "Regular";
1317
+ readonly fontWeight: 400;
1300
1318
  readonly lineHeight: "36px";
1301
1319
  readonly letterSpacing: "0px";
1302
1320
  };
1303
1321
  readonly largeMedium: {
1304
1322
  readonly fontSize: "28px";
1305
- readonly fontWeight: "Medium";
1323
+ readonly fontWeight: 500;
1306
1324
  readonly lineHeight: "36px";
1307
1325
  readonly letterSpacing: "0px";
1308
1326
  };
1309
1327
  readonly medium: {
1310
1328
  readonly fontSize: "24px";
1311
- readonly fontWeight: "Regular";
1329
+ readonly fontWeight: 400;
1312
1330
  readonly lineHeight: "32px";
1313
1331
  readonly letterSpacing: "0px";
1314
1332
  };
1315
1333
  readonly mediumMedium: {
1316
1334
  readonly fontSize: "24px";
1317
- readonly fontWeight: "Medium";
1335
+ readonly fontWeight: 500;
1318
1336
  readonly lineHeight: "32px";
1319
1337
  readonly letterSpacing: "0px";
1320
1338
  };
1321
1339
  readonly small: {
1322
1340
  readonly fontSize: "20px";
1323
- readonly fontWeight: "Regular";
1341
+ readonly fontWeight: 400;
1324
1342
  readonly lineHeight: "28px";
1325
1343
  readonly letterSpacing: "0px";
1326
1344
  };
1327
1345
  readonly smallMedium: {
1328
1346
  readonly fontSize: "20px";
1329
- readonly fontWeight: "Medium";
1347
+ readonly fontWeight: 500;
1348
+ readonly lineHeight: "28px";
1349
+ readonly letterSpacing: "0px";
1350
+ };
1351
+ readonly largeBold: {
1352
+ readonly fontSize: "28px";
1353
+ readonly fontWeight: 700;
1354
+ readonly lineHeight: "36px";
1355
+ readonly letterSpacing: "-0.01em";
1356
+ };
1357
+ readonly mediumBold: {
1358
+ readonly fontSize: "24px";
1359
+ readonly fontWeight: 700;
1360
+ readonly lineHeight: "32px";
1361
+ readonly letterSpacing: "-0.01em";
1362
+ };
1363
+ readonly smallBold: {
1364
+ readonly fontSize: "20px";
1365
+ readonly fontWeight: 700;
1330
1366
  readonly lineHeight: "28px";
1331
1367
  readonly letterSpacing: "0px";
1332
1368
  };
@@ -1334,37 +1370,55 @@ declare const typography: {
1334
1370
  readonly title: {
1335
1371
  readonly large: {
1336
1372
  readonly fontSize: "18px";
1337
- readonly fontWeight: "Regular";
1373
+ readonly fontWeight: 400;
1338
1374
  readonly lineHeight: "24px";
1339
1375
  readonly letterSpacing: "0px";
1340
1376
  };
1341
1377
  readonly largeMedium: {
1342
1378
  readonly fontSize: "18px";
1343
- readonly fontWeight: "Medium";
1379
+ readonly fontWeight: 500;
1344
1380
  readonly lineHeight: "24px";
1345
1381
  readonly letterSpacing: "0px";
1346
1382
  };
1347
1383
  readonly medium: {
1348
1384
  readonly fontSize: "16px";
1349
- readonly fontWeight: "Regular";
1385
+ readonly fontWeight: 400;
1350
1386
  readonly lineHeight: "24px";
1351
1387
  readonly letterSpacing: "0px";
1352
1388
  };
1353
1389
  readonly mediumMedium: {
1354
1390
  readonly fontSize: "16px";
1355
- readonly fontWeight: "Medium";
1391
+ readonly fontWeight: 500;
1356
1392
  readonly lineHeight: "24px";
1357
1393
  readonly letterSpacing: "0px";
1358
1394
  };
1359
1395
  readonly small: {
1360
1396
  readonly fontSize: "14px";
1361
- readonly fontWeight: "Regular";
1397
+ readonly fontWeight: 400;
1362
1398
  readonly lineHeight: "20px";
1363
1399
  readonly letterSpacing: "0px";
1364
1400
  };
1365
1401
  readonly smallMedium: {
1366
1402
  readonly fontSize: "14px";
1367
- readonly fontWeight: "Medium";
1403
+ readonly fontWeight: 500;
1404
+ readonly lineHeight: "20px";
1405
+ readonly letterSpacing: "0px";
1406
+ };
1407
+ readonly largeBold: {
1408
+ readonly fontSize: "18px";
1409
+ readonly fontWeight: 700;
1410
+ readonly lineHeight: "24px";
1411
+ readonly letterSpacing: "0px";
1412
+ };
1413
+ readonly mediumBold: {
1414
+ readonly fontSize: "16px";
1415
+ readonly fontWeight: 700;
1416
+ readonly lineHeight: "24px";
1417
+ readonly letterSpacing: "0px";
1418
+ };
1419
+ readonly smallBold: {
1420
+ readonly fontSize: "14px";
1421
+ readonly fontWeight: 700;
1368
1422
  readonly lineHeight: "20px";
1369
1423
  readonly letterSpacing: "0px";
1370
1424
  };
@@ -1372,37 +1426,55 @@ declare const typography: {
1372
1426
  readonly body: {
1373
1427
  readonly large: {
1374
1428
  readonly fontSize: "16px";
1375
- readonly fontWeight: "Regular";
1429
+ readonly fontWeight: 400;
1376
1430
  readonly lineHeight: "24px";
1377
1431
  readonly letterSpacing: "0px";
1378
1432
  };
1379
1433
  readonly largeMedium: {
1380
1434
  readonly fontSize: "16px";
1381
- readonly fontWeight: "Medium";
1435
+ readonly fontWeight: 500;
1382
1436
  readonly lineHeight: "24px";
1383
1437
  readonly letterSpacing: "0px";
1384
1438
  };
1385
1439
  readonly medium: {
1386
1440
  readonly fontSize: "15px";
1387
- readonly fontWeight: "Regular";
1441
+ readonly fontWeight: 400;
1388
1442
  readonly lineHeight: "22.5px";
1389
1443
  readonly letterSpacing: "0px";
1390
1444
  };
1391
1445
  readonly mediumMedium: {
1392
1446
  readonly fontSize: "15px";
1393
- readonly fontWeight: "Medium";
1447
+ readonly fontWeight: 500;
1394
1448
  readonly lineHeight: "22.5px";
1395
1449
  readonly letterSpacing: "0px";
1396
1450
  };
1397
1451
  readonly small: {
1398
1452
  readonly fontSize: "14px";
1399
- readonly fontWeight: "Regular";
1453
+ readonly fontWeight: 400;
1400
1454
  readonly lineHeight: "20px";
1401
1455
  readonly letterSpacing: "0px";
1402
1456
  };
1403
1457
  readonly smallMedium: {
1404
1458
  readonly fontSize: "14px";
1405
- readonly fontWeight: "Medium";
1459
+ readonly fontWeight: 500;
1460
+ readonly lineHeight: "20px";
1461
+ readonly letterSpacing: "0px";
1462
+ };
1463
+ readonly largeBold: {
1464
+ readonly fontSize: "16px";
1465
+ readonly fontWeight: 700;
1466
+ readonly lineHeight: "24px";
1467
+ readonly letterSpacing: "0px";
1468
+ };
1469
+ readonly mediumBold: {
1470
+ readonly fontSize: "15px";
1471
+ readonly fontWeight: 700;
1472
+ readonly lineHeight: "22.5px";
1473
+ readonly letterSpacing: "0px";
1474
+ };
1475
+ readonly smallBold: {
1476
+ readonly fontSize: "14px";
1477
+ readonly fontWeight: 700;
1406
1478
  readonly lineHeight: "20px";
1407
1479
  readonly letterSpacing: "0px";
1408
1480
  };
@@ -1410,40 +1482,89 @@ declare const typography: {
1410
1482
  readonly label: {
1411
1483
  readonly large: {
1412
1484
  readonly fontSize: "14px";
1413
- readonly fontWeight: "Regular";
1485
+ readonly fontWeight: 400;
1414
1486
  readonly lineHeight: "20px";
1415
1487
  readonly letterSpacing: "0px";
1416
1488
  };
1417
1489
  readonly largeMedium: {
1418
1490
  readonly fontSize: "14px";
1419
- readonly fontWeight: "Medium";
1491
+ readonly fontWeight: 500;
1420
1492
  readonly lineHeight: "20px";
1421
1493
  readonly letterSpacing: "0px";
1422
1494
  };
1423
1495
  readonly medium: {
1424
1496
  readonly fontSize: "13px";
1425
- readonly fontWeight: "Regular";
1497
+ readonly fontWeight: 400;
1426
1498
  readonly lineHeight: "18px";
1427
1499
  readonly letterSpacing: "0px";
1428
1500
  };
1429
1501
  readonly mediumMedium: {
1430
1502
  readonly fontSize: "13px";
1431
- readonly fontWeight: "Medium";
1503
+ readonly fontWeight: 500;
1432
1504
  readonly lineHeight: "18px";
1433
1505
  readonly letterSpacing: "0px";
1434
1506
  };
1435
1507
  readonly small: {
1436
1508
  readonly fontSize: "12px";
1437
- readonly fontWeight: "Regular";
1509
+ readonly fontWeight: 400;
1438
1510
  readonly lineHeight: "16px";
1439
1511
  readonly letterSpacing: "0px";
1440
1512
  };
1441
1513
  readonly smallMedium: {
1442
1514
  readonly fontSize: "12px";
1443
- readonly fontWeight: "Medium";
1515
+ readonly fontWeight: 500;
1444
1516
  readonly lineHeight: "16px";
1445
1517
  readonly letterSpacing: "0px";
1446
1518
  };
1519
+ readonly largeBold: {
1520
+ readonly fontSize: "14px";
1521
+ readonly fontWeight: 700;
1522
+ readonly lineHeight: "20px";
1523
+ readonly letterSpacing: "0.32px";
1524
+ };
1525
+ readonly mediumBold: {
1526
+ readonly fontSize: "13px";
1527
+ readonly fontWeight: 700;
1528
+ readonly lineHeight: "18px";
1529
+ readonly letterSpacing: "0.32px";
1530
+ };
1531
+ readonly smallBold: {
1532
+ readonly fontSize: "12px";
1533
+ readonly fontWeight: 700;
1534
+ readonly lineHeight: "16px";
1535
+ readonly letterSpacing: "0.32px";
1536
+ };
1537
+ };
1538
+ readonly caption: {
1539
+ readonly fontSize: "12px";
1540
+ readonly fontWeight: 400;
1541
+ readonly lineHeight: "16px";
1542
+ readonly letterSpacing: "0.32px";
1543
+ };
1544
+ readonly captionBold: {
1545
+ readonly fontSize: "12px";
1546
+ readonly fontWeight: 700;
1547
+ readonly lineHeight: "16px";
1548
+ readonly letterSpacing: "0.32px";
1549
+ };
1550
+ /** 섹션 머리 라벨 - 대문자 변환까지 포함한다 */
1551
+ readonly overline: {
1552
+ readonly fontSize: "12px";
1553
+ readonly fontWeight: 600;
1554
+ readonly lineHeight: "16px";
1555
+ readonly letterSpacing: "0.08em";
1556
+ readonly textTransform: "uppercase";
1557
+ };
1558
+ readonly subtitle: {
1559
+ readonly fontSize: "15px";
1560
+ readonly fontWeight: 500;
1561
+ readonly lineHeight: "22.5px";
1562
+ readonly letterSpacing: "0px";
1563
+ };
1564
+ readonly code: {
1565
+ readonly fontFamily: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
1566
+ readonly fontSize: "13px";
1567
+ readonly lineHeight: "18px";
1447
1568
  };
1448
1569
  };
1449
1570
 
@@ -3245,6 +3366,12 @@ interface DrawerProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivE
3245
3366
  * `open` 을 끈 직후가 아니라 이 시점에 상세 데이터를 비워야 본문만 먼저 사라지지 않는다.
3246
3367
  */
3247
3368
  onExited?: () => void;
3369
+ /**
3370
+ * 슬라이드·페이드 모션을 끄고 즉시 열고 닫는다. 기본값 `false`.
3371
+ * 화면 전체를 덮는 메뉴처럼 슬라이드가 디자인에 맞지 않는 곳에서 쓴다.
3372
+ * OS 의 reduced-motion 설정은 이 값과 상관없이 항상 모션을 끈다.
3373
+ */
3374
+ disableAnimation?: boolean;
3248
3375
  }
3249
3376
  /**
3250
3377
  * 화면 가장자리에서 미끄러져 들어오는 패널(Drawer)을 렌더링한다.
@@ -3254,7 +3381,7 @@ interface DrawerProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivE
3254
3381
  * @returns 열림 상태일 때 렌더링된 드로어, 닫힘 상태면 null
3255
3382
  */
3256
3383
  declare const Drawer: {
3257
- ({ open, onClose, placement, size, title, footer, closeOnOverlay, dismissible, showCloseIcon, closeLabel: closeLabelProp, ariaLabel, initialFocusRef, onExited, children, className, ...props }: DrawerProps): React$1.ReactPortal | null;
3384
+ ({ open, onClose, placement, size, title, footer, closeOnOverlay, dismissible, showCloseIcon, closeLabel: closeLabelProp, ariaLabel, initialFocusRef, onExited, disableAnimation, children, className, ...props }: DrawerProps): React$1.ReactPortal | null;
3258
3385
  displayName: string;
3259
3386
  };
3260
3387
 
package/dist/index.js CHANGED
@@ -2538,16 +2538,18 @@ var baseTypography = {
2538
2538
  "40": "40px",
2539
2539
  "48": "48px"
2540
2540
  },
2541
+ // CSS font-weight 값 - SCSS `$font_weight_*` 와 같다. tokens.json 은 Figma 스타일 이름("Regular")을
2542
+ // 쓰지만 이 객체는 `style` 에 바로 펼쳐 쓰는 값이라 숫자여야 한다(이름이면 font-weight 가 무시된다).
2541
2543
  fontWeight: {
2542
- thin: "Thin",
2543
- extraLight: "ExtraLight",
2544
- light: "Light",
2545
- regular: "Regular",
2546
- medium: "Medium",
2547
- semiBold: "SemiBold",
2548
- bold: "Bold",
2549
- extraBold: "ExtraBold",
2550
- black: "Black"
2544
+ thin: 100,
2545
+ extraLight: 200,
2546
+ light: 300,
2547
+ regular: 400,
2548
+ medium: 500,
2549
+ semiBold: 600,
2550
+ bold: 700,
2551
+ extraBold: 800,
2552
+ black: 900
2551
2553
  },
2552
2554
  lineHeight: {
2553
2555
  "16": "16px",
@@ -2608,6 +2610,25 @@ var typography = {
2608
2610
  fontWeight: fw.medium,
2609
2611
  lineHeight: lh["40"],
2610
2612
  letterSpacing: ls.normal
2613
+ },
2614
+ // 굵은 강조 - letter-spacing 은 SCSS `@mixin display_large_bold` 와 같은 값
2615
+ largeBold: {
2616
+ fontSize: fs["48"],
2617
+ fontWeight: fw.bold,
2618
+ lineHeight: lh["60"],
2619
+ letterSpacing: "-0.02em"
2620
+ },
2621
+ mediumBold: {
2622
+ fontSize: fs["40"],
2623
+ fontWeight: fw.bold,
2624
+ lineHeight: lh["50"],
2625
+ letterSpacing: "-0.02em"
2626
+ },
2627
+ smallBold: {
2628
+ fontSize: fs["32"],
2629
+ fontWeight: fw.bold,
2630
+ lineHeight: lh["40"],
2631
+ letterSpacing: "-0.015em"
2611
2632
  }
2612
2633
  },
2613
2634
  heading: {
@@ -2646,6 +2667,25 @@ var typography = {
2646
2667
  fontWeight: fw.medium,
2647
2668
  lineHeight: lh["28"],
2648
2669
  letterSpacing: ls.normal
2670
+ },
2671
+ // 굵은 강조 - letter-spacing 은 SCSS `@mixin heading_large_bold` 와 같은 값
2672
+ largeBold: {
2673
+ fontSize: fs["28"],
2674
+ fontWeight: fw.bold,
2675
+ lineHeight: lh["36"],
2676
+ letterSpacing: "-0.01em"
2677
+ },
2678
+ mediumBold: {
2679
+ fontSize: fs["24"],
2680
+ fontWeight: fw.bold,
2681
+ lineHeight: lh["32"],
2682
+ letterSpacing: "-0.01em"
2683
+ },
2684
+ smallBold: {
2685
+ fontSize: fs["20"],
2686
+ fontWeight: fw.bold,
2687
+ lineHeight: lh["28"],
2688
+ letterSpacing: ls.normal
2649
2689
  }
2650
2690
  },
2651
2691
  title: {
@@ -2684,6 +2724,25 @@ var typography = {
2684
2724
  fontWeight: fw.medium,
2685
2725
  lineHeight: lh["20"],
2686
2726
  letterSpacing: ls.normal
2727
+ },
2728
+ // 굵은 강조 - letter-spacing 은 SCSS `@mixin title_large_bold` 와 같은 값
2729
+ largeBold: {
2730
+ fontSize: fs["18"],
2731
+ fontWeight: fw.bold,
2732
+ lineHeight: lh["24"],
2733
+ letterSpacing: ls.normal
2734
+ },
2735
+ mediumBold: {
2736
+ fontSize: fs["16"],
2737
+ fontWeight: fw.bold,
2738
+ lineHeight: lh["24"],
2739
+ letterSpacing: ls.normal
2740
+ },
2741
+ smallBold: {
2742
+ fontSize: fs["14"],
2743
+ fontWeight: fw.bold,
2744
+ lineHeight: lh["20"],
2745
+ letterSpacing: ls.normal
2687
2746
  }
2688
2747
  },
2689
2748
  body: {
@@ -2722,6 +2781,25 @@ var typography = {
2722
2781
  fontWeight: fw.medium,
2723
2782
  lineHeight: lh["20"],
2724
2783
  letterSpacing: ls.normal
2784
+ },
2785
+ // 굵은 강조 - letter-spacing 은 SCSS `@mixin body_large_bold` 와 같은 값
2786
+ largeBold: {
2787
+ fontSize: fs["16"],
2788
+ fontWeight: fw.bold,
2789
+ lineHeight: lh["24"],
2790
+ letterSpacing: ls.normal
2791
+ },
2792
+ mediumBold: {
2793
+ fontSize: fs["15"],
2794
+ fontWeight: fw.bold,
2795
+ lineHeight: lh["22-5"],
2796
+ letterSpacing: ls.normal
2797
+ },
2798
+ smallBold: {
2799
+ fontSize: fs["14"],
2800
+ fontWeight: fw.bold,
2801
+ lineHeight: lh["20"],
2802
+ letterSpacing: ls.normal
2725
2803
  }
2726
2804
  },
2727
2805
  label: {
@@ -2760,7 +2838,58 @@ var typography = {
2760
2838
  fontWeight: fw.medium,
2761
2839
  lineHeight: lh["16"],
2762
2840
  letterSpacing: ls.normal
2841
+ },
2842
+ // 굵은 강조 - letter-spacing 은 SCSS `@mixin label_large_bold` 와 같은 값
2843
+ largeBold: {
2844
+ fontSize: fs["14"],
2845
+ fontWeight: fw.bold,
2846
+ lineHeight: lh["20"],
2847
+ letterSpacing: ls.tight
2848
+ },
2849
+ mediumBold: {
2850
+ fontSize: fs["13"],
2851
+ fontWeight: fw.bold,
2852
+ lineHeight: lh["18"],
2853
+ letterSpacing: ls.tight
2854
+ },
2855
+ smallBold: {
2856
+ fontSize: fs["12"],
2857
+ fontWeight: fw.bold,
2858
+ lineHeight: lh["16"],
2859
+ letterSpacing: ls.tight
2763
2860
  }
2861
+ },
2862
+ // ── 의미 이름 (SCSS `@mixin caption` 등과 같은 값) ─────────────────────────
2863
+ caption: {
2864
+ fontSize: fs["12"],
2865
+ fontWeight: fw.regular,
2866
+ lineHeight: lh["16"],
2867
+ letterSpacing: ls.tight
2868
+ },
2869
+ captionBold: {
2870
+ fontSize: fs["12"],
2871
+ fontWeight: fw.bold,
2872
+ lineHeight: lh["16"],
2873
+ letterSpacing: ls.tight
2874
+ },
2875
+ /** 섹션 머리 라벨 - 대문자 변환까지 포함한다 */
2876
+ overline: {
2877
+ fontSize: fs["12"],
2878
+ fontWeight: fw.semiBold,
2879
+ lineHeight: lh["16"],
2880
+ letterSpacing: "0.08em",
2881
+ textTransform: "uppercase"
2882
+ },
2883
+ subtitle: {
2884
+ fontSize: fs["15"],
2885
+ fontWeight: fw.medium,
2886
+ lineHeight: lh["22-5"],
2887
+ letterSpacing: ls.normal
2888
+ },
2889
+ code: {
2890
+ fontFamily: 'ui-monospace, "SF Mono", Menlo, Consolas, monospace',
2891
+ fontSize: fs["13"],
2892
+ lineHeight: lh["18"]
2764
2893
  }
2765
2894
  };
2766
2895
 
@@ -6482,6 +6611,7 @@ var Drawer = ({
6482
6611
  ariaLabel,
6483
6612
  initialFocusRef,
6484
6613
  onExited,
6614
+ disableAnimation = false,
6485
6615
  children,
6486
6616
  className,
6487
6617
  ...props
@@ -6498,7 +6628,7 @@ var Drawer = ({
6498
6628
  const pressedOverlayRef = React20.useRef(false);
6499
6629
  const titleId = React20.useId();
6500
6630
  const [shouldRender, setShouldRender] = React20.useState(open);
6501
- const reduced = useReducedMotion();
6631
+ const instant = useReducedMotion() || disableAnimation;
6502
6632
  const isMounted = useIsMounted();
6503
6633
  useFocusTrap(panelRef, open && isMounted, {
6504
6634
  preferWithin: bodyRef,
@@ -6508,24 +6638,43 @@ var Drawer = ({
6508
6638
  if (escapeDismissible) onClose?.();
6509
6639
  });
6510
6640
  if (open && !shouldRender) setShouldRender(true);
6641
+ const renderingRef = React20.useRef(shouldRender);
6642
+ const onExitedRef = React20.useRef(onExited);
6643
+ useSafeLayoutEffect(() => {
6644
+ renderingRef.current = shouldRender;
6645
+ onExitedRef.current = onExited;
6646
+ });
6647
+ const finishExit = React20.useCallback(() => {
6648
+ if (!renderingRef.current) return;
6649
+ renderingRef.current = false;
6650
+ setShouldRender(false);
6651
+ onExitedRef.current?.();
6652
+ }, []);
6511
6653
  const overlayStyle = useSpring({
6512
- ...springEnterFrom(reduced),
6654
+ ...springEnterFrom(instant),
6513
6655
  to: { opacity: open ? 1 : 0 },
6514
- immediate: reduced,
6656
+ immediate: instant,
6515
6657
  config: OVERLAY_SPRING_CONFIG,
6516
6658
  onRest: (result) => {
6517
6659
  if (open || !result.finished) return;
6518
- setShouldRender(false);
6519
- onExited?.();
6660
+ finishExit();
6520
6661
  }
6521
6662
  });
6663
+ const overlayOpacity = overlayStyle.opacity;
6664
+ React20.useEffect(() => {
6665
+ if (open || !shouldRender) return;
6666
+ const frame = requestAnimationFrame(() => {
6667
+ if (!overlayOpacity.isAnimating && overlayOpacity.get() === 0) finishExit();
6668
+ });
6669
+ return () => cancelAnimationFrame(frame);
6670
+ }, [open, shouldRender, overlayOpacity, finishExit]);
6522
6671
  const slideFrom = SLIDE_FROM[placement];
6523
6672
  const slideRest = placement === "bottom" ? "translateY(0%)" : "translateX(0%)";
6524
6673
  const panelStyle = useSpring({
6525
- from: { transform: slideFrom },
6674
+ ...instant ? {} : { from: { transform: slideFrom } },
6526
6675
  to: { transform: open ? slideRest : slideFrom },
6527
- immediate: reduced,
6528
- config: { tension: 280, friction: 28, clamp: !open }
6676
+ immediate: instant,
6677
+ config: OVERLAY_SPRING_CONFIG
6529
6678
  });
6530
6679
  React20.useEffect(() => {
6531
6680
  if (!shouldRender) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigtablet/design-system",
3
- "version": "3.25.1",
3
+ "version": "3.27.0",
4
4
  "description": "Bigtablet Design System UI Components",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",