@nurihaus/web-design-system 3.16.1 → 3.17.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.
@@ -1567,6 +1567,7 @@ import { Drawer } from '@nurihaus/web-design-system'; // 루트. 첫
1567
1567
  **언제 쓴다.** 상세 정보나 필터처럼 현재 화면을 떠나지 않고 옆이나 아래에서 패널을 꺼내 보여줄 때 쓴다. `trigger`에 넘긴 요소를 클릭하면 열리고, `open`·`defaultOpen`·`onOpenChange`로 제어한다. `title`은 필수이며 dialog 의 접근성 이름이 된다. `side`(`right`·`left`·`bottom`, 기본 `right`)와 `size`(`s`·`m`·`l`, 기본 `m`)로 방향과 폭(bottom 은 높이)을 고른다. bottom 은 `fit`(`size` 기본 · `content` · `screen`)으로 높이를 정하는 법을 바꾼다. `content`는 내용 높이에 맞추고 화면의 92%(`--sheet-max-height`)를 넘으면 본문만 스크롤한다. `screen`은 늘 화면의 92%다. 어느 쪽이든 `footer`는 아래에 남는다. right·left 에서는 효과가 없다. Escape·바깥 클릭·X 버튼으로 닫히고, `className`·`style`은 패널에 붙는다.
1568
1568
 
1569
1569
  - right·left 패널은 화면 폭에서 56px(`--drawer-edge-gap`)을 남긴 폭보다 넓어지지 않는다. 좁은 화면에서도 바깥을 눌러 닫을 자리가 남는다.
1570
+ - bottom 패널은 `--layout-max-width`(480px)보다 넓어지지 않고 가운데에 선다. 넓은 화면에서도 한 기둥 화면과 폭이 같다(ADR 0019).
1570
1571
  - `motion`(`weak`·`strong`, 기본 `weak`)은 등장 세기다. `strong`은 스프링으로 끝에서 한 번 튄다. 퇴장은 같다.
1571
1572
  - `closeOnOverlayClick={false}`면 바깥을 눌러도 닫히지 않고 패널이 좌우로 한 번 흔들린다. 기본 true.
1572
1573
  - `closeOnEscape={false}`면 Escape 로 닫히지 않는다. 기본 true.
@@ -2724,9 +2725,9 @@ import { BottomNav } from '@nurihaus/web-design-system/bottom-nav'; // 이 컴
2724
2725
  import { BottomNav } from '@nurihaus/web-design-system'; // 루트. 첫 로드 JS 가 커진다
2725
2726
  ```
2726
2727
 
2727
- **언제 쓴다.** 휴대폰 화면 바닥에 붙은 주 메뉴(탭 바)다. 탭은 3~5개, 탭마다 `href` 로 화면을 바꾼다. 지금 화면의 탭 id 를 `value` 로 넘기면 그 탭의 글자가 검정이 되고 아이콘이 채움으로 바뀐다(`aria-current="page"`). 탭 바가 스스로 `value` 를 바꾸지 않는다 — 주소가 바뀌면 쓰는 쪽이 새 `value` 를 넘긴다. `label` 은 `<nav>` 의 이름이다.
2728
+ **언제 쓴다.** 휴대폰 화면 아래에 떠 있는 주 메뉴(탭 바)다. 탭은 3~5개, 탭마다 `href` 로 화면을 바꾼다. 지금 화면의 탭 id 를 `value` 로 넘기면 그 탭의 글자가 검정, 아이콘이 채움이 되고 그 칸 뒤에 옅은 캡슐이 깔린다(`aria-current="page"`). 탭 바가 스스로 `value` 를 바꾸지 않는다 — 주소가 바뀌면 쓰는 쪽이 새 `value` 를 넘긴다. `label` 은 `<nav>` 의 이름이다.
2728
2729
 
2729
- 화면 바닥에 고정(`position: fixed`)된 흰 바이고 위에 얇은 선이 하나 있다. 기기 홈 막대 자리는 바 안에 든다. 화면 본문은 아래를 `calc(var(--bottom-nav-space) + env(safe-area-inset-bottom))` 만큼 비워 마지막 내용이 가려지지 않게 한다. `--bottom-nav-space` 는 바 높이(56px)다. `className`·`style` 은 `<nav>` 에 붙는다.
2730
+ 화면 아래에 떠 있는(`position: fixed`) 유리 캡슐이다. 양옆 16px, 바닥 14px 에 기기 홈 막대 자리만큼 더 띄우고, 뒤 내용이 흐리게 비친다. 넓은 화면에서는 `--layout-max-width`(480px) 기둥 안 가운데에 선다 — 한 기둥 화면은 본문 폭도 `max-width: var(--layout-max-width)` 로 맞춘다. 화면 본문은 아래를 `calc(var(--bottom-nav-space) + env(safe-area-inset-bottom))` 만큼 비워 마지막 내용이 가려지지 않게 한다. `--bottom-nav-space` 는 캡슐 높이와 띄움에 16px 을 더한 값(92px)이다. `className`·`style` 은 `<nav>` 에 붙는다.
2730
2731
 
2731
2732
  링크는 기본으로 `<a>` 다. 라우터의 링크로 바꾸려면 `linkComponent` 에 넘긴다. 받는 props 는 `href`·`className`·`children`·`aria-current`·`onClick` 이고, 그대로 링크에 전달하면 된다. `onClick` 을 빠뜨리면 `track` 로그가 나가지 않는다.
2732
2733
 
@@ -2783,7 +2784,7 @@ import Link from 'next/link';
2783
2784
  />
2784
2785
  ```
2785
2786
 
2786
- **반응형.** 그대로 됨. 모바일이 기본 자리다. 화면 아래에 `left: 0; right: 0` 으로 펼쳐진다.
2787
+ **반응형.** 그대로 됨. 모바일이 기본 자리다. 양옆 16px 띄운 캡슐이고 넓은 화면에서는 `--layout-max-width` 안에 선다.
2787
2788
 
2788
2789
  **모션.** press(`pressEffect`) · appear(opt, `appear`) · dismiss-on-scroll(opt, `hideOnScroll`). 토큰 값과 규칙은 `motion.md`.
2789
2790
 
@@ -5924,7 +5925,7 @@ import { BottomSheet } from '@nurihaus/web-design-system/bottom-sheet'; // 이
5924
5925
  import { BottomSheet } from '@nurihaus/web-design-system'; // 루트. 첫 로드 JS 가 커진다
5925
5926
  ```
5926
5927
 
5927
- **언제 쓴다.** 정렬·필터·공유처럼 지금 화면 위에서 잠깐 고르는 내용을 화면 아래에서 올려 보여 줄 때 쓴다. `trigger` 에 넘긴 요소를 누르면 열리고 `open`·`defaultOpen`·`onOpenChange` 로 제어한다. `title` 은 필수이며 dialog 의 접근성 이름이 된다. Esc·바탕 누름·뒤로 가기·손잡이를 아래로 끌기로 닫힌다. `ref`·`className`·`style` 은 끌리는 시트 판(`.bottom-sheet-panel`)에 붙는다. `role="dialog"` 는 그 바깥 틀이다.
5928
+ **언제 쓴다.** 정렬·필터·공유처럼 지금 화면 위에서 잠깐 고르는 내용을 화면 아래에서 올려 보여 줄 때 쓴다. `trigger` 에 넘긴 요소를 누르면 열리고 `open`·`defaultOpen`·`onOpenChange` 로 제어한다. `title` 은 필수이며 dialog 의 접근성 이름이 된다. Esc·바탕 누름·뒤로 가기·손잡이를 아래로 끌기로 닫힌다. `ref`·`className`·`style` 은 끌리는 시트 판(`.bottom-sheet-panel`)에 붙는다. `role="dialog"` 는 그 바깥 틀이다. 시트는 `--layout-max-width`(480px)보다 넓어지지 않고 가운데에 선다(ADR 0019).
5928
5929
 
5929
5930
  - `snapPoints` 는 멈추는 높이들이다. 작은 것부터 `'40%'`(시트 최대 높이 `--sheet-max-height` 의 비율) 또는 `'320px'` 로 준다. 없으면 내용 높이 하나다. `defaultSnap`(기본 0)이 열릴 때의 index 이고 열 때마다 이 값으로 돌아간다. 높이가 바뀌면 `onSnapChange(index)`, 마지막 높이에 닿으면 `onExpanded()` 가 불린다.
5930
5931
  - 끌기는 손잡이와 제목 줄에서만 시작한다. 본문은 스크롤이 먼저다. 손을 떼면 끈 뒤 높이에 가장 가까운 snap 으로 가고, 빠르게 튕기면 그 방향으로 한 칸 옮긴다. 가장 작은 높이의 절반보다 내리면 닫힌다. `onHandleDragStart`·`onHandleDragEnd` 가 끌기 시작과 끝에 불린다. 끌기는 앱 루트에 `MotionProvider` 가 있어야 움직인다.
@@ -5974,7 +5975,7 @@ import { BottomSheet } from '@nurihaus/web-design-system'; // 루트
5974
5975
  </BottomSheet>
5975
5976
  ```
5976
5977
 
5977
- **반응형.** 그대로 됨. 모바일이 기본 자리다. 화면 아래에서 폭을 채운다.
5978
+ **반응형.** 그대로 됨. 모바일이 기본 자리다. 화면 아래에서 폭을 채우고 넓은 화면에서는 `--layout-max-width` 안에 선다.
5978
5979
 
5979
5980
  **모션.** enter(`motion`, `onEntered`) · exit(`onExited`) · reject(opt) · press(`pressEffect`) · indicate. 토큰 값과 규칙은 `motion.md`.
5980
5981
 
@@ -4,6 +4,14 @@
4
4
 
5
5
  지금 쓰는 버전보다 높은 칸을 위에서부터 읽고 고친다. 칸 제목은 그 변경이 처음 나간 버전이다. 결정의 이유는 패키지에 없고 레포의 `docs/decisions/` 에 있다.
6
6
 
7
+ ## 3.17.0
8
+
9
+ ### ADR 0019 — 하단 탭 바는 떠 있는 유리 캡슐이고, 탭 바와 아래 시트는 한 기둥 폭 안에 선다
10
+
11
+ - BottomNav 아래 본문 여백 식 `calc(var(--bottom-nav-space) + env(safe-area-inset-bottom))` 은 그대로다. 값이 56px 에서 92px 로 커진다. ADR 0015 뒤에 여백을 손으로 더한 화면은 그 여백을 지운다.
12
+ - 한 기둥 화면의 본문 `max-width` 를 숫자로 적었으면 `var(--layout-max-width)` 로 바꾼다. 탭 바와 본문 폭이 같이 움직인다.
13
+ - BottomNav 의 `style`·`className` 으로 `left`·`right`·`bottom`·`max-width` 를 덮던 화면은 그것을 지운다.
14
+
7
15
  ## 3.16.0
8
16
 
9
17
  ### ADR 0018 — 플랫폼 브랜드 색은 테마를 타지 않는 원시 토큰으로 둔다
@@ -139,11 +139,11 @@
139
139
  - **컴포넌트** `Notice variant="neutral"` 기본. 주의는 `warning`, 막힘은 `danger`, 완료는 `success`. 행동은 `action` 하나. 사라지는 알림은 `Toast`, 머무는 안내는 `Notice`.
140
140
  - **금지** 화면에 Notice 둘 이상. Notice 안에 링크 셋 이상. 성공 안내를 danger 색으로 강조.
141
141
 
142
- ### 13. 하단 탭은 바닥에 붙은 흰 바다
142
+ ### 13. 하단 탭은 떠 있는 유리 캡슐이다
143
143
 
144
- - **근거** 4-12 https://www.pinterest.com/pin/1103874558695783391/ · 4-15 https://www.pinterest.com/pin/424182858672487556/
145
- - **규칙** 주 메뉴는 화면 바닥에 붙은 흰 바이고 위에 얇은 선 하나다. 아이콘 넷 또는 다섯, 선택은 검정, 나머지는 연회색이다.
146
- - **컴포넌트** `BottomNav` 항목 4~5개. 기본값이 바닥에 붙은 흰 바다(ADR 0015). 알림 수는 `badge`.
144
+ - **근거** 크리에이터 앱의 탭 바(떠 있는 유리 캡슐). 웹 탭 바도 앱과 같은 모양이어야 한 앱으로 보인다(ADR 0019)
145
+ - **규칙** 주 메뉴는 화면 아래에 떠 있는 반투명 캡슐이고 넓은 화면에서도 본문 기둥 폭 안에 선다. 아이콘 넷 또는 다섯, 선택은 검정 글자에 옅은 캡슐, 나머지는 연회색이다.
146
+ - **컴포넌트** `BottomNav` 항목 4~5개. 기본값이 떠 있는 유리 캡슐이다(ADR 0019). 한 기둥 화면의 본문 폭은 `var(--layout-max-width)`. 알림 수는 `badge`.
147
147
  - **금지** 항목 여섯 이상. 탭 바에 fill 버튼 끼우기. 탭 바와 BottomCTA 를 한 화면에(둘 중 하나).
148
148
 
149
149
  ### 14. 모서리는 역할로 고른다
package/dist/ai/tokens.md CHANGED
@@ -522,20 +522,24 @@
522
522
  | `--sheet-max-height` | `92dvh` | 아래 시트(BottomSheet·Drawer bottom 의 fit-content·fit-screen): 손잡이 크기와 가장 큰 높이. 위 8% 는 시트 뒤 화면이 보이게 남긴다 |
523
523
  | `--menu-min-width` | `180px` | 행동 메뉴(Menu) 목록의 가장 좁은 폭 |
524
524
  | `--highlight-message-max-width` | `280px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
525
- | `--bottom-nav-height` | `56px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
526
- | `--bottom-nav-space` | `var(--bottom-nav-height)` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
527
- | `--bottom-nav-badge-dot` | `8px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
528
- | `--bottom-nav-badge-count` | `18px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
529
- | `--loading-size-s` | `var(--icon-size-xs)` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
530
- | `--loading-size-m` | `var(--icon-size-m)` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
531
- | `--loading-size-l` | `40px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
532
- | `--loading-stroke-s` | `2px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
533
- | `--loading-stroke-m` | `2px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
534
- | `--loading-stroke-l` | `3px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
535
- | `--loading-dot-s` | `4px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
536
- | `--loading-dot-m` | `6px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
537
- | `--loading-dot-l` | `8px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
538
- | `--overlay-progress-width` | `240px` | 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 |
525
+ | `--layout-max-width` | `480px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
526
+ | `--bottom-nav-height` | `62px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
527
+ | `--bottom-nav-padding` | `5px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
528
+ | `--bottom-nav-offset` | `14px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
529
+ | `--bottom-nav-space` | `calc(var(--bottom-nav-height) + var(--bottom-nav-offset) + var(--spacing-16))` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
530
+ | `--glass-blur` | `18px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
531
+ | `--bottom-nav-badge-dot` | `8px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
532
+ | `--bottom-nav-badge-count` | `18px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
533
+ | `--loading-size-s` | `var(--icon-size-xs)` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
534
+ | `--loading-size-m` | `var(--icon-size-m)` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
535
+ | `--loading-size-l` | `40px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
536
+ | `--loading-stroke-s` | `2px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
537
+ | `--loading-stroke-m` | `2px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
538
+ | `--loading-stroke-l` | `3px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
539
+ | `--loading-dot-s` | `4px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
540
+ | `--loading-dot-m` | `6px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
541
+ | `--loading-dot-l` | `8px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
542
+ | `--overlay-progress-width` | `240px` | 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) |
539
543
  | `--progress-thickness-s` | `2px` | 진행 막대 두께. ProgressBar 와 StepProgress 가 같은 size 이름으로 함께 쓴다 |
540
544
  | `--progress-thickness-m` | `4px` | 진행 막대 두께. ProgressBar 와 StepProgress 가 같은 size 이름으로 함께 쓴다 |
541
545
  | `--progress-thickness-l` | `8px` | 진행 막대 두께. ProgressBar 와 StepProgress 가 같은 size 이름으로 함께 쓴다 |
@@ -92,7 +92,7 @@ var BottomNavRoot = Object.assign(BottomNavRootBase, {
92
92
  });
93
93
  /* harmony default export */ const base_bottom_nav = (BottomNavRoot);
94
94
  ;// ./components/bottom-nav/bottom-nav-props.ts
95
- // 크기·변형이 없다. 탭 바는 화면 바닥에 붙은 흰 바 한 모양이다(ADR 0015).
95
+ // 크기·변형이 없다. 탭 바는 화면 아래에 떠 있는 유리 캡슐 한 모양이다(ADR 0019).
96
96
  var bottomNavProps = {};
97
97
  ;// ./components/bottom-nav/bottom-nav.tsx
98
98
  var bottom_nav_assign = undefined && undefined.__assign || function () {
@@ -6,12 +6,12 @@ declare const Asset: {
6
6
  }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
7
7
  shape: "circle";
8
8
  size?: "s" | "m" | "l" | "xl" | undefined;
9
- }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
10
- shape: "squircle";
11
- size?: "s" | "m" | "l" | "xl" | undefined;
12
9
  }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
13
10
  shape: "card";
14
11
  size?: "m" | "l" | "xl" | undefined;
12
+ }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
13
+ shape: "squircle";
14
+ size?: "s" | "m" | "l" | "xl" | undefined;
15
15
  }, "ref">) & import("react").RefAttributes<HTMLSpanElement>>;
16
16
  Icon: import("react").ForwardRefExoticComponent<Omit<AssetIconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
17
17
  Image: import("react").ForwardRefExoticComponent<Omit<AssetImageProps, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
@@ -14,12 +14,12 @@ declare const meta: {
14
14
  }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
15
15
  shape: "circle";
16
16
  size?: "s" | "m" | "l" | "xl" | undefined;
17
- }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
18
- shape: "squircle";
19
- size?: "s" | "m" | "l" | "xl" | undefined;
20
17
  }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
21
18
  shape: "card";
22
19
  size?: "m" | "l" | "xl" | undefined;
20
+ }, "ref"> | Omit<import("./asset-type").AssetFrameCommonProps & {
21
+ shape: "squircle";
22
+ size?: "s" | "m" | "l" | "xl" | undefined;
23
23
  }, "ref">) & import("react").RefAttributes<HTMLSpanElement>>;
24
24
  argTypes: {
25
25
  shape: {
@@ -58,7 +58,7 @@ declare const meta: {
58
58
  };
59
59
  export default meta;
60
60
  type Story = StoryObj<typeof meta>;
61
- /** 화면 아래에 붙은 하단 내비게이션이다. 현재 탭 표시와 홈·내 정보 탭에 붙은 배지를 본다. */
61
+ /** 화면 아래에 떠 있는 하단 내비게이션이다. 현재 탭 표시와 홈·내 정보 탭에 붙은 배지를 본다. 넓은 화면에서는 480px 기둥 안 가운데에 선다. */
62
62
  export declare const Default: Story;
63
63
  /** 탭을 누르고 있으면 살짝 작아진다. 탭을 바꾸면 글자색과 아이콘 채움만 바뀐다 */
64
64
  export declare const MotionPress: Story;
@@ -304,8 +304,8 @@ declare const meta: {
304
304
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
305
305
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
306
306
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
307
- icon: import("../..").IconName;
308
307
  variant?: (typeof variant)[number] | undefined;
308
+ icon: import("../..").IconName;
309
309
  action?: import("react").ReactNode;
310
310
  description?: import("react").ReactNode;
311
311
  titleAs?: (typeof titleAs)[number] | undefined;
@@ -578,8 +578,8 @@ declare const meta: {
578
578
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
579
579
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
580
580
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
581
- icon?: never | undefined;
582
581
  variant?: (typeof variant)[number] | undefined;
582
+ icon?: never | undefined;
583
583
  action?: import("react").ReactNode;
584
584
  description?: import("react").ReactNode;
585
585
  titleAs?: (typeof titleAs)[number] | undefined;
@@ -14,7 +14,7 @@ declare const meta: {
14
14
  control: {
15
15
  type: "select";
16
16
  };
17
- options: ("circle" | "link" | "image" | "x" | "copy" | "house" | "megaphone-simple" | "chats-circle" | "user-circle" | "bell" | "caret-left" | "magnifying-glass" | "dots-three" | "gear-six" | "chat-circle" | "paper-plane-tilt" | "plus" | "minus" | "camera" | "video-camera" | "play" | "upload-simple" | "calendar-blank" | "clock" | "map-pin" | "truck" | "ticket" | "qr-code" | "sparkle" | "gift" | "wallet" | "bank" | "credit-card" | "check-circle" | "check" | "warning" | "info" | "question" | "lock" | "pencil-simple" | "trash" | "share-network" | "eye" | "eye-slash" | "sliders-horizontal" | "heart" | "star" | "globe" | "sign-out" | "caret-right" | "caret-down" | "arrow-right" | "dots-six-vertical" | "envelope-simple" | "phone" | "backspace" | "arrow-fat-up" | "instagram-logo" | "tiktok-logo" | "youtube-logo" | "whatsapp-logo" | "telegram-logo")[];
17
+ options: ("link" | "circle" | "image" | "x" | "copy" | "house" | "megaphone-simple" | "chats-circle" | "user-circle" | "bell" | "caret-left" | "magnifying-glass" | "dots-three" | "gear-six" | "chat-circle" | "paper-plane-tilt" | "plus" | "minus" | "camera" | "video-camera" | "play" | "upload-simple" | "calendar-blank" | "clock" | "map-pin" | "truck" | "ticket" | "qr-code" | "sparkle" | "gift" | "wallet" | "bank" | "credit-card" | "check-circle" | "check" | "warning" | "info" | "question" | "lock" | "pencil-simple" | "trash" | "share-network" | "eye" | "eye-slash" | "sliders-horizontal" | "heart" | "star" | "globe" | "sign-out" | "caret-right" | "caret-down" | "arrow-right" | "dots-six-vertical" | "envelope-simple" | "phone" | "backspace" | "arrow-fat-up" | "instagram-logo" | "tiktok-logo" | "youtube-logo" | "whatsapp-logo" | "telegram-logo")[];
18
18
  };
19
19
  weight: {
20
20
  control: {
@@ -284,11 +284,11 @@ declare const meta: {
284
284
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
285
285
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
286
286
  loading?: boolean | undefined;
287
- border?: (typeof footerBorder)[number] | undefined;
288
- icon?: import("../..").IconName | undefined;
289
287
  asChild?: boolean | undefined;
290
288
  trackProps?: Record<string, string | number | boolean> | undefined;
291
289
  pressEffect?: boolean | undefined;
290
+ border?: (typeof footerBorder)[number] | undefined;
291
+ icon?: import("../..").IconName | undefined;
292
292
  ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
293
293
  }>) => import("react/jsx-runtime").JSX.Element)[];
294
294
  };
@@ -286,10 +286,10 @@ declare const meta: {
286
286
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
287
287
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
288
288
  size?: import("./list-type").ListRowSize | undefined;
289
- border?: import("./list-type").ListRowBorder | undefined;
290
289
  asChild?: boolean | undefined;
291
290
  trackProps?: Record<string, string | number | boolean> | undefined;
292
291
  pressEffect?: boolean | undefined;
292
+ border?: import("./list-type").ListRowBorder | undefined;
293
293
  effectRef?: import("react").Ref<AttentionHandle> | undefined;
294
294
  description?: import("react").ReactNode;
295
295
  chevron?: boolean | undefined;
@@ -34,6 +34,8 @@ declare const meta: {
34
34
  time?: import("react").ReactNode;
35
35
  title?: string | undefined | undefined;
36
36
  key?: import("react").Key | null | undefined;
37
+ name?: import("react").ReactNode;
38
+ value?: string | number | readonly string[] | undefined;
37
39
  defaultChecked?: boolean | undefined | undefined;
38
40
  defaultValue?: string | number | readonly string[] | undefined;
39
41
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -297,10 +299,8 @@ declare const meta: {
297
299
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
298
300
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
299
301
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
300
- media?: import("react").ReactNode;
301
- name?: import("react").ReactNode;
302
302
  motion?: (typeof motion)[number] | undefined;
303
- value?: string | number | readonly string[] | undefined;
303
+ media?: import("react").ReactNode;
304
304
  side?: (typeof side)[number] | undefined;
305
305
  dateTime?: string | undefined;
306
306
  ref?: import("react").LegacyRef<HTMLLIElement> | undefined;
@@ -301,8 +301,8 @@ declare const meta: {
301
301
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
302
302
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
303
303
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
304
- motion?: (typeof motion)[number] | undefined;
305
304
  variant?: (typeof variant)[number] | undefined;
305
+ motion?: (typeof motion)[number] | undefined;
306
306
  action?: import("./notice-type").NoticeAction | undefined;
307
307
  actionPlacement?: (typeof actionPlacement)[number] | undefined;
308
308
  ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
@@ -318,10 +318,10 @@ declare const meta: {
318
318
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
319
319
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
320
320
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
321
- shape?: (typeof shapes)[number] | undefined;
321
+ variant?: (typeof variants)[number] | undefined;
322
322
  height?: number | string | undefined;
323
323
  width?: number | string | undefined;
324
- variant?: (typeof variants)[number] | undefined;
324
+ shape?: (typeof shapes)[number] | undefined;
325
325
  lines?: number | undefined;
326
326
  animated?: boolean | undefined;
327
327
  ref?: import("react").LegacyRef<HTMLSpanElement> | undefined;
@@ -31,6 +31,7 @@ declare const meta: {
31
31
  title: import("react").ReactNode;
32
32
  track?: string | undefined;
33
33
  key?: import("react").Key | null | undefined;
34
+ value?: string | number | readonly string[] | undefined;
34
35
  defaultChecked?: boolean | undefined | undefined;
35
36
  defaultValue?: string | number | readonly string[] | undefined;
36
37
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -293,7 +294,6 @@ declare const meta: {
293
294
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
294
295
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
295
296
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
296
- value?: string | number | readonly string[] | undefined;
297
297
  variant?: (typeof variants)[number] | undefined;
298
298
  trackProps?: Record<string, string | number | boolean> | undefined;
299
299
  open?: boolean | undefined;
@@ -1818,17 +1818,21 @@
1818
1818
 
1819
1819
  .base-bottom-nav:where(.root) {
1820
1820
  position: fixed;
1821
- left: 0;
1822
- right: 0;
1823
- bottom: 0;
1821
+ left: var(--spacing-16);
1822
+ right: var(--spacing-16);
1823
+ /* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다. left·right 와 margin auto 가 가운데를 잡는다 */
1824
+ max-width: calc(var(--layout-max-width) - 2 * var(--spacing-16));
1825
+ margin-inline: auto;
1826
+ /* 기기 홈 막대만큼 더 띄운다. env() 의 대체값 0 은 단위가 있어야 calc 가 성립한다 */
1827
+ bottom: calc(var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px)); /* raw-px */
1824
1828
  z-index: var(--z-sticky);
1825
1829
  display: grid;
1826
1830
  grid-auto-flow: column;
1827
1831
  grid-auto-columns: minmax(0, 1fr);
1828
- grid-template-rows: var(--bottom-nav-height);
1829
- /* 기기 홈 막대 자리는 바 안에 둔다. env() 의 대체값 0 은 단위가 있어야 한다 */
1830
- padding-bottom: env(safe-area-inset-bottom, 0px); /* raw-px */
1832
+ height: var(--bottom-nav-height);
1833
+ padding: var(--bottom-nav-padding);
1831
1834
  box-sizing: border-box;
1835
+ border-radius: var(--radius-pill);
1832
1836
  }
1833
1837
 
1834
1838
  .base-bottom-nav:where(.item) {
@@ -1838,27 +1842,52 @@
1838
1842
  align-items: center;
1839
1843
  justify-content: center;
1840
1844
  gap: var(--spacing-2);
1845
+ border-radius: inherit;
1841
1846
  text-decoration: none;
1842
1847
  }
1843
1848
 
1844
1849
  /***************************************************************************************************
1845
1850
  * *
1846
- * bottom-nav — 바닥에 붙은 흰 바 *
1851
+ * bottom-nav — 떠 있는 유리 캡슐 (ADR 0019) *
1847
1852
  * *
1848
1853
  ***************************************************************************************************/
1849
1854
 
1850
1855
  .bottom-nav {
1851
- /* 위쪽 헤어라인은 안쪽 그림자다. 선이 높이에 더해지면 바가 --bottom-nav-space 보다 1px 커진다 */
1852
- box-shadow: inset 0 var(--hairline) 0 0 var(--border-subtle);
1853
- background-color: var(--surface-base);
1856
+ /* 뒤를 흐리고 채도를 올린 반투명 바탕 + 위쪽 반사광 + 안쪽 테두리 + 그림자. 모두 --surface-base 를 섞어 다크에서는 어두운 유리가 된다 */
1857
+ background:
1858
+ linear-gradient(180deg, color-mix(in srgb, var(--surface-base) 55%, transparent), transparent 55%),
1859
+ color-mix(in srgb, var(--surface-base) 62%, transparent);
1860
+ backdrop-filter: blur(var(--glass-blur)) saturate(180%);
1861
+ box-shadow:
1862
+ inset 0 var(--hairline) 0 color-mix(in srgb, var(--surface-base) 75%, transparent),
1863
+ inset 0 0 0 var(--hairline) color-mix(in srgb, var(--surface-base) 35%, transparent),
1864
+ var(--shadow-floating);
1865
+
1866
+ /* 흐림을 못 하는 브라우저, 투명도 줄이기 설정에서는 거의 불투명하게 */
1854
1867
 
1855
- /* hideOnScroll: 바닥에 붙어 있어 자기 높이(안전 영역 포함)만큼 내리면 다 숨는다. 키보드로 탭에 들어오면 다시 올린다 */
1868
+ /* hideOnScroll: 띄운 만큼(안전 영역 포함)까지 더해 화면 밖으로 내린다. 키보드로 탭에 들어오면 다시 올린다 */
1856
1869
  transition: transform var(--motion-dismiss-on-scroll-duration)
1857
1870
  var(--motion-dismiss-on-scroll-ease);
1858
1871
  }
1859
1872
 
1873
+ @supports not ((backdrop-filter: none) or (-webkit-backdrop-filter: none)) {
1874
+
1875
+ .bottom-nav {
1876
+ background: color-mix(in srgb, var(--surface-base) 96%, transparent);
1877
+ }
1878
+ }
1879
+
1880
+ @media (prefers-reduced-transparency: reduce) {
1881
+
1882
+ .bottom-nav {
1883
+ background: color-mix(in srgb, var(--surface-base) 98%, transparent);
1884
+ }
1885
+ }
1886
+
1860
1887
  .bottom-nav[data-hidden]:not(:focus-within) {
1861
- transform: translateY(100%);
1888
+ transform: translateY(calc(100% + var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px))); /* raw-px */
1889
+ /* 내려도 위로 번지는 그림자가 화면 바닥에 얼룩으로 남지 않게 */
1890
+ box-shadow: none;
1862
1891
  }
1863
1892
 
1864
1893
  .bottom-nav-item {
@@ -1867,17 +1896,20 @@
1867
1896
  font-weight: var(--font-weight-medium);
1868
1897
  -webkit-tap-highlight-color: transparent;
1869
1898
  /* .motion-press 의 transform 전환을 이 줄이 덮으므로 함께 적는다 */
1870
- transition-property: color, transform;
1899
+ transition-property: color, background-color, transform;
1871
1900
  transition-duration: var(--motion-press-duration);
1872
1901
  transition-timing-function: var(--motion-press-ease);
1902
+
1903
+ /* 선택은 검정 글자 + 채운 아이콘(무드 규칙 8), 그 칸 뒤에 옅은 캡슐. 옮겨 가는 요소는 없다 — 주소가 선택을 바꾼다 */
1873
1904
  }
1874
1905
 
1875
1906
  .bottom-nav-item[aria-current='page'] {
1876
1907
  color: var(--text-primary);
1877
1908
  font-weight: var(--font-weight-bold);
1909
+ background-color: color-mix(in srgb, var(--surface-inverse) 8%, transparent);
1878
1910
  }
1879
1911
 
1880
- /* 칸이 화면 끝까지 닿아 링을 안쪽으로 넣는다. 색·두께는 전역(styles/focus.css) */
1912
+ /* 캡슐 안이라 링을 안쪽으로 넣는다. 색·두께는 전역(styles/focus.css) */
1881
1913
 
1882
1914
  .bottom-nav-item:focus-visible {
1883
1915
  outline-offset: calc(-1 * var(--focus-ring-offset));
@@ -1921,6 +1953,9 @@
1921
1953
  left: 0;
1922
1954
  right: 0;
1923
1955
  bottom: var(--sheet-keyboard-inset, 0);
1956
+ /* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다(ADR 0019). 좁은 화면은 그대로 화면 폭이다 */
1957
+ max-width: var(--layout-max-width);
1958
+ margin-inline: auto;
1924
1959
  background-color: transparent;
1925
1960
  }
1926
1961
 
@@ -3635,6 +3670,9 @@
3635
3670
  left: 0;
3636
3671
  right: 0;
3637
3672
  bottom: 0;
3673
+ /* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다(ADR 0019). 좁은 화면은 그대로 화면 폭이다 */
3674
+ max-width: var(--layout-max-width);
3675
+ margin-inline: auto;
3638
3676
  height: var(--drawer-height);
3639
3677
  max-height: 100%;
3640
3678
  border-top-left-radius: var(--radius-surface);
@@ -2,6 +2,6 @@ import { Ref } from 'react';
2
2
  import type { AttentionHandle } from './motion-props';
3
3
  /** effectRef 에 shine·blink 를 걸고, 효과를 받을 루트에 펼칠 data-effect·onAnimationEnd 를 돌려준다 */
4
4
  export declare const useAttentionHandle: (effectRef: Ref<AttentionHandle> | undefined) => {
5
- 'data-effect': "blink" | "shake" | "wiggle" | "shine" | undefined;
5
+ 'data-effect': "shake" | "wiggle" | "shine" | "blink" | undefined;
6
6
  onAnimationEnd: (event: import("react").AnimationEvent<Element>) => void;
7
7
  };
@@ -5,7 +5,7 @@ import type { EffectName } from './effects';
5
5
  * trigger(name, times) 는 재생 중이어도 처음부터 다시 times 번 재생한다.
6
6
  */
7
7
  export declare const useEffectTrigger: () => {
8
- effect: "blink" | "shake" | "wiggle" | "shine" | undefined;
8
+ effect: "shake" | "wiggle" | "shine" | "blink" | undefined;
9
9
  trigger: (name: EffectName, times?: number) => void;
10
10
  onAnimationEnd: (event: AnimationEvent<Element>) => void;
11
11
  };
package/dist/index.js CHANGED
@@ -2679,7 +2679,7 @@ var BottomNavRoot = Object.assign(BottomNavRootBase, {
2679
2679
  });
2680
2680
  /* harmony default export */ const base_bottom_nav = (BottomNavRoot);
2681
2681
  ;// ./components/bottom-nav/bottom-nav-props.ts
2682
- // 크기·변형이 없다. 탭 바는 화면 바닥에 붙은 흰 바 한 모양이다(ADR 0015).
2682
+ // 크기·변형이 없다. 탭 바는 화면 아래에 떠 있는 유리 캡슐 한 모양이다(ADR 0019).
2683
2683
  var bottomNavProps = {};
2684
2684
  ;// ./components/bottom-nav/bottom-nav.tsx
2685
2685
  var bottom_nav_assign = undefined && undefined.__assign || function () {
package/dist/styles.css CHANGED
@@ -360,9 +360,15 @@
360
360
  /* 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 */
361
361
  --highlight-message-max-width: 280px;
362
362
 
363
- /* 하단 탭 바: 화면 바닥에 붙은 흰 바. 화면은 아래를 --bottom-nav-space(+ 안전 영역)만큼 비운다 */
364
- --bottom-nav-height: 56px;
365
- --bottom-nav-space: var(--bottom-nav-height);
363
+ /* 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) */
364
+ --layout-max-width: 480px;
365
+
366
+ /* 하단 탭 바: 화면 아래에 떠 있는 유리 캡슐 (ADR 0019). 화면은 아래를 --bottom-nav-space(+ 안전 영역)만큼 비운다 */
367
+ --bottom-nav-height: 62px;
368
+ --bottom-nav-padding: 5px;
369
+ --bottom-nav-offset: 14px;
370
+ --bottom-nav-space: calc(var(--bottom-nav-height) + var(--bottom-nav-offset) + var(--spacing-16));
371
+ --glass-blur: 18px;
366
372
  --bottom-nav-badge-dot: 8px;
367
373
  --bottom-nav-badge-count: 18px;
368
374
 
@@ -2649,17 +2655,21 @@ p {
2649
2655
  }
2650
2656
  .base-bottom-nav:where(.root) {
2651
2657
  position: fixed;
2652
- left: 0;
2653
- right: 0;
2654
- bottom: 0;
2658
+ left: var(--spacing-16);
2659
+ right: var(--spacing-16);
2660
+ /* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다. left·right 와 margin auto 가 가운데를 잡는다 */
2661
+ max-width: calc(var(--layout-max-width) - 2 * var(--spacing-16));
2662
+ margin-inline: auto;
2663
+ /* 기기 홈 막대만큼 더 띄운다. env() 의 대체값 0 은 단위가 있어야 calc 가 성립한다 */
2664
+ bottom: calc(var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px)); /* raw-px */
2655
2665
  z-index: var(--z-sticky);
2656
2666
  display: grid;
2657
2667
  grid-auto-flow: column;
2658
2668
  grid-auto-columns: minmax(0, 1fr);
2659
- grid-template-rows: var(--bottom-nav-height);
2660
- /* 기기 홈 막대 자리는 바 안에 둔다. env() 의 대체값 0 은 단위가 있어야 한다 */
2661
- padding-bottom: env(safe-area-inset-bottom, 0px); /* raw-px */
2669
+ height: var(--bottom-nav-height);
2670
+ padding: var(--bottom-nav-padding);
2662
2671
  box-sizing: border-box;
2672
+ border-radius: var(--radius-pill);
2663
2673
  }
2664
2674
  .base-bottom-nav:where(.item) {
2665
2675
  position: relative;
@@ -2668,24 +2678,45 @@ p {
2668
2678
  align-items: center;
2669
2679
  justify-content: center;
2670
2680
  gap: var(--spacing-2);
2681
+ border-radius: inherit;
2671
2682
  text-decoration: none;
2672
2683
  }
2673
2684
  /***************************************************************************************************
2674
2685
  * *
2675
- * bottom-nav — 바닥에 붙은 흰 바 *
2686
+ * bottom-nav — 떠 있는 유리 캡슐 (ADR 0019) *
2676
2687
  * *
2677
2688
  ***************************************************************************************************/
2678
2689
  .bottom-nav {
2679
- /* 위쪽 헤어라인은 안쪽 그림자다. 선이 높이에 더해지면 바가 --bottom-nav-space 보다 1px 커진다 */
2680
- box-shadow: inset 0 var(--hairline) 0 0 var(--border-subtle);
2681
- background-color: var(--surface-base);
2690
+ /* 뒤를 흐리고 채도를 올린 반투명 바탕 + 위쪽 반사광 + 안쪽 테두리 + 그림자. 모두 --surface-base 를 섞어 다크에서는 어두운 유리가 된다 */
2691
+ background:
2692
+ linear-gradient(180deg, color-mix(in srgb, var(--surface-base) 55%, transparent), transparent 55%),
2693
+ color-mix(in srgb, var(--surface-base) 62%, transparent);
2694
+ backdrop-filter: blur(var(--glass-blur)) saturate(180%);
2695
+ box-shadow:
2696
+ inset 0 var(--hairline) 0 color-mix(in srgb, var(--surface-base) 75%, transparent),
2697
+ inset 0 0 0 var(--hairline) color-mix(in srgb, var(--surface-base) 35%, transparent),
2698
+ var(--shadow-floating);
2699
+
2700
+ /* 흐림을 못 하는 브라우저, 투명도 줄이기 설정에서는 거의 불투명하게 */
2682
2701
 
2683
- /* hideOnScroll: 바닥에 붙어 있어 자기 높이(안전 영역 포함)만큼 내리면 다 숨는다. 키보드로 탭에 들어오면 다시 올린다 */
2702
+ /* hideOnScroll: 띄운 만큼(안전 영역 포함)까지 더해 화면 밖으로 내린다. 키보드로 탭에 들어오면 다시 올린다 */
2684
2703
  transition: transform var(--motion-dismiss-on-scroll-duration)
2685
2704
  var(--motion-dismiss-on-scroll-ease);
2686
2705
  }
2706
+ @supports not ((backdrop-filter: none) or (-webkit-backdrop-filter: none)) {
2707
+ .bottom-nav {
2708
+ background: color-mix(in srgb, var(--surface-base) 96%, transparent);
2709
+ }
2710
+ }
2711
+ @media (prefers-reduced-transparency: reduce) {
2712
+ .bottom-nav {
2713
+ background: color-mix(in srgb, var(--surface-base) 98%, transparent);
2714
+ }
2715
+ }
2687
2716
  .bottom-nav[data-hidden]:not(:focus-within) {
2688
- transform: translateY(100%);
2717
+ transform: translateY(calc(100% + var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px))); /* raw-px */
2718
+ /* 내려도 위로 번지는 그림자가 화면 바닥에 얼룩으로 남지 않게 */
2719
+ box-shadow: none;
2689
2720
  }
2690
2721
  .bottom-nav-item {
2691
2722
  color: var(--text-tertiary);
@@ -2693,15 +2724,18 @@ p {
2693
2724
  font-weight: var(--font-weight-medium);
2694
2725
  -webkit-tap-highlight-color: transparent;
2695
2726
  /* .motion-press 의 transform 전환을 이 줄이 덮으므로 함께 적는다 */
2696
- transition-property: color, transform;
2727
+ transition-property: color, background-color, transform;
2697
2728
  transition-duration: var(--motion-press-duration);
2698
2729
  transition-timing-function: var(--motion-press-ease);
2730
+
2731
+ /* 선택은 검정 글자 + 채운 아이콘(무드 규칙 8), 그 칸 뒤에 옅은 캡슐. 옮겨 가는 요소는 없다 — 주소가 선택을 바꾼다 */
2699
2732
  }
2700
2733
  .bottom-nav-item[aria-current='page'] {
2701
2734
  color: var(--text-primary);
2702
2735
  font-weight: var(--font-weight-bold);
2736
+ background-color: color-mix(in srgb, var(--surface-inverse) 8%, transparent);
2703
2737
  }
2704
- /* 칸이 화면 끝까지 닿아 링을 안쪽으로 넣는다. 색·두께는 전역(styles/focus.css) */
2738
+ /* 캡슐 안이라 링을 안쪽으로 넣는다. 색·두께는 전역(styles/focus.css) */
2705
2739
  .bottom-nav-item:focus-visible {
2706
2740
  outline-offset: calc(-1 * var(--focus-ring-offset));
2707
2741
  }
@@ -2739,6 +2773,9 @@ p {
2739
2773
  left: 0;
2740
2774
  right: 0;
2741
2775
  bottom: var(--sheet-keyboard-inset, 0);
2776
+ /* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다(ADR 0019). 좁은 화면은 그대로 화면 폭이다 */
2777
+ max-width: var(--layout-max-width);
2778
+ margin-inline: auto;
2742
2779
  background-color: transparent;
2743
2780
  }
2744
2781
  .base-bottom-sheet:where(.panel) {
@@ -4182,6 +4219,9 @@ p {
4182
4219
  left: 0;
4183
4220
  right: 0;
4184
4221
  bottom: 0;
4222
+ /* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다(ADR 0019). 좁은 화면은 그대로 화면 폭이다 */
4223
+ max-width: var(--layout-max-width);
4224
+ margin-inline: auto;
4185
4225
  height: var(--drawer-height);
4186
4226
  max-height: 100%;
4187
4227
  border-top-left-radius: var(--radius-surface);
package/dist/tokens.css CHANGED
@@ -358,9 +358,15 @@
358
358
  /* 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 */
359
359
  --highlight-message-max-width: 280px;
360
360
 
361
- /* 하단 탭 바: 화면 바닥에 붙은 흰 바. 화면은 아래를 --bottom-nav-space(+ 안전 영역)만큼 비운다 */
362
- --bottom-nav-height: 56px;
363
- --bottom-nav-space: var(--bottom-nav-height);
361
+ /* 한 기둥 화면(모바일 화면을 넓은 화면 가운데에 세운 것)의 가장 넓은 폭. 하단 탭 바도 이 폭 안에 선다 (ADR 0019) */
362
+ --layout-max-width: 480px;
363
+
364
+ /* 하단 탭 바: 화면 아래에 떠 있는 유리 캡슐 (ADR 0019). 화면은 아래를 --bottom-nav-space(+ 안전 영역)만큼 비운다 */
365
+ --bottom-nav-height: 62px;
366
+ --bottom-nav-padding: 5px;
367
+ --bottom-nav-offset: 14px;
368
+ --bottom-nav-space: calc(var(--bottom-nav-height) + var(--bottom-nav-offset) + var(--spacing-16));
369
+ --glass-blur: 18px;
364
370
  --bottom-nav-badge-dot: 8px;
365
371
  --bottom-nav-badge-count: 18px;
366
372
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurihaus/web-design-system",
3
- "version": "3.16.1",
3
+ "version": "3.17.0",
4
4
  "description": "Nurihaus 디자인 시스템 — 컴포넌트와 디자인 토큰",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",