@nurihaus/web-design-system 3.16.1 → 3.17.1
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/ai/components.md +7 -6
- package/dist/ai/migration.md +8 -0
- package/dist/ai/motion.md +1 -1
- package/dist/ai/patterns.md +4 -4
- package/dist/ai/tokens.md +18 -14
- package/dist/bottom-nav.js +1 -1
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +5 -5
- package/dist/components/bottom-nav/bottom-nav.stories.d.ts +1 -1
- package/dist/components/empty-state/empty-state.stories.d.ts +12 -12
- package/dist/components/list/list-footer.stories.d.ts +7 -7
- package/dist/components/list/list-header.stories.d.ts +5 -5
- package/dist/components/list/list-row.stories.d.ts +8 -8
- package/dist/components/member-card/member-card-type.d.ts +1 -1
- package/dist/components/member-card/member-card.stories.d.ts +1 -1
- package/dist/components/message/message.stories.d.ts +6 -6
- package/dist/components/notice/notice.stories.d.ts +5 -5
- package/dist/components/overlay/overlay.stories.d.ts +1 -1
- package/dist/components/section-header/section-header.stories.d.ts +5 -5
- package/dist/components/skeleton/skeleton-group.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +5 -5
- package/dist/components/toast/toast.stories.d.ts +5 -5
- package/dist/components/top/top.stories.d.ts +4 -4
- package/dist/components.css +52 -34
- package/dist/index.js +4 -7
- package/dist/member-card.js +3 -6
- package/dist/styles.css +57 -35
- package/dist/tokens.css +9 -3
- package/package.json +1 -1
package/dist/ai/components.md
CHANGED
|
@@ -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
|
-
**언제 쓴다.** 휴대폰 화면
|
|
2728
|
+
**언제 쓴다.** 휴대폰 화면 아래에 떠 있는 주 메뉴(탭 바)다. 탭은 3~5개, 탭마다 `href` 로 화면을 바꾼다. 지금 화면의 탭 id 를 `value` 로 넘기면 그 탭의 글자가 검정, 아이콘이 채움이 되고 그 칸 뒤에 옅은 캡슐이 깔린다(`aria-current="page"`). 탭 바가 스스로 `value` 를 바꾸지 않는다 — 주소가 바뀌면 쓰는 쪽이 새 `value` 를 넘긴다. `label` 은 `<nav>` 의 이름이다.
|
|
2728
2729
|
|
|
2729
|
-
화면
|
|
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
|
-
**반응형.** 그대로 됨. 모바일이 기본 자리다.
|
|
2787
|
+
**반응형.** 그대로 됨. 모바일이 기본 자리다. 양옆 16px 띄운 캡슐이고 넓은 화면에서는 `--layout-max-width` 안에 선다.
|
|
2787
2788
|
|
|
2788
2789
|
**모션.** press(`pressEffect`) · appear(opt, `appear`) · dismiss-on-scroll(opt, `hideOnScroll`). 토큰 값과 규칙은 `motion.md`.
|
|
2789
2790
|
|
|
@@ -3493,7 +3494,7 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3493
3494
|
|
|
3494
3495
|
- `pressEffect`(기본 `true`): 누르는 동안 살짝 줄어든다. `false`면 끈다. `flippable={false}` 면 붙지 않는다.
|
|
3495
3496
|
- 뒤집기는 `--motion-flip-spring-*` 스프링으로 돈다. 동작 줄이기면 돌지 않고 바로 바뀐다.
|
|
3496
|
-
- `depth`(기본 `false`): 누른 채 움직이는 손가락을 따라 기울고(마우스는 올려만 놔도 조금), 손가락 반대편 반사광·등급 오로라의 무지갯빛
|
|
3497
|
+
- `depth`(기본 `false`): 누른 채 움직이는 손가락을 따라 기울고(마우스는 올려만 놔도 조금), 손가락 반대편 반사광·등급 오로라의 무지갯빛 결·두께가 함께 움직인다. 카드 밑에 번지는 바닥 빛은 없다 — 흰 바탕에서 카드 둘레가 뿌옇게 보여서 뺐다. 놓으면 `--motion-tilt-spring-*` 스프링으로 평평하게 돌아온다. 세로로 미는 손가락은 스크롤이고 가로로 움직일 때 기운다. 기울이다 놓으면 뒤집지 않는다. 쉬는 동안은 평평해서 글자가 선명하다. 한 화면에 한 장으로 떠 있는 카드(마이페이지)에만 쓴다. 동작 줄이기면 기울지 않는다.
|
|
3497
3498
|
- `effectRef`: `effectRef.current.shine()` 을 부르면 보이는 면에 빛이 한 번 지나간다. 저절로 재생하지 않는다. 가입 완료처럼 보여 줄 순간에 쓰는 쪽이 부른다.
|
|
3498
3499
|
|
|
3499
3500
|
**쓰지 않는다.** 크리에이터 목록의 한 줄은 ListRow 를 쓴다. 운영 화면의 크리에이터 상세는 Card 와 DescriptionList 를 쓴다.
|
|
@@ -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
|
|
package/dist/ai/migration.md
CHANGED
|
@@ -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 — 플랫폼 브랜드 색은 테마를 타지 않는 원시 토큰으로 둔다
|
package/dist/ai/motion.md
CHANGED
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
| --- | --- |
|
|
211
211
|
| 뜻 | 손가락을 따라 기울기 |
|
|
212
212
|
| 트리거 | 카드를 누른 채 움직이는 동안 손가락 쪽으로 기울고, 놓으면 스프링으로 평평하게 돌아온다. 마우스는 올려만 놔도 조금 기운다 |
|
|
213
|
-
| 붙는 곳 | 한 장으로 떠 있는 카드(MemberCard depth). 기울기를 따라 반사광·무지갯빛
|
|
213
|
+
| 붙는 곳 | 한 장으로 떠 있는 카드(MemberCard depth). 기울기를 따라 반사광·무지갯빛 결이 함께 움직인다 |
|
|
214
214
|
| 붙이지 않는 곳 | 저절로 흔들리기, 스크롤에 묶기, 목록 안의 여러 카드, 쉬는 동안 기울어 있기(글자가 흐려진다) |
|
|
215
215
|
| 구현층 | `css+hook` |
|
|
216
216
|
| prop | `depth` |
|
package/dist/ai/patterns.md
CHANGED
|
@@ -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
|
-
- **근거**
|
|
145
|
-
- **규칙** 주 메뉴는 화면
|
|
146
|
-
- **컴포넌트** `BottomNav` 항목 4~5개. 기본값이
|
|
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
|
-
| `--
|
|
526
|
-
| `--bottom-nav-
|
|
527
|
-
| `--bottom-nav-
|
|
528
|
-
| `--bottom-nav-
|
|
529
|
-
| `--
|
|
530
|
-
| `--
|
|
531
|
-
| `--
|
|
532
|
-
| `--
|
|
533
|
-
| `--loading-
|
|
534
|
-
| `--loading-
|
|
535
|
-
| `--loading-
|
|
536
|
-
| `--loading-
|
|
537
|
-
| `--loading-
|
|
538
|
-
| `--
|
|
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 이름으로 함께 쓴다 |
|
package/dist/bottom-nav.js
CHANGED
|
@@ -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
|
-
// 크기·변형이 없다. 탭 바는 화면
|
|
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 () {
|
|
@@ -12,10 +12,9 @@ declare const meta: {
|
|
|
12
12
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
13
13
|
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
14
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
15
|
-
|
|
15
|
+
className?: string | undefined | undefined;
|
|
16
16
|
style?: import("react").CSSProperties | undefined;
|
|
17
|
-
|
|
18
|
-
key?: import("react").Key | null | undefined;
|
|
17
|
+
children?: import("react").ReactNode;
|
|
19
18
|
defaultChecked?: boolean | undefined | undefined;
|
|
20
19
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
21
20
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -23,7 +22,6 @@ declare const meta: {
|
|
|
23
22
|
accessKey?: string | undefined | undefined;
|
|
24
23
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
25
24
|
autoFocus?: boolean | undefined | undefined;
|
|
26
|
-
className?: string | undefined | undefined;
|
|
27
25
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
28
26
|
contextMenu?: string | undefined | undefined;
|
|
29
27
|
dir?: string | undefined | undefined;
|
|
@@ -33,8 +31,10 @@ declare const meta: {
|
|
|
33
31
|
id?: string | undefined | undefined;
|
|
34
32
|
lang?: string | undefined | undefined;
|
|
35
33
|
nonce?: string | undefined | undefined;
|
|
34
|
+
slot?: string | undefined | undefined;
|
|
36
35
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
37
36
|
tabIndex?: number | undefined | undefined;
|
|
37
|
+
title?: string | undefined | undefined;
|
|
38
38
|
translate?: "yes" | "no" | undefined | undefined;
|
|
39
39
|
radioGroup?: string | undefined | undefined;
|
|
40
40
|
role?: import("react").AriaRole | undefined;
|
|
@@ -117,7 +117,6 @@ declare const meta: {
|
|
|
117
117
|
"aria-valuemin"?: number | undefined | undefined;
|
|
118
118
|
"aria-valuenow"?: number | undefined | undefined;
|
|
119
119
|
"aria-valuetext"?: string | undefined | undefined;
|
|
120
|
-
children?: import("react").ReactNode;
|
|
121
120
|
dangerouslySetInnerHTML?: {
|
|
122
121
|
__html: string | TrustedHTML;
|
|
123
122
|
} | undefined | undefined;
|
|
@@ -279,6 +278,7 @@ declare const meta: {
|
|
|
279
278
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
280
279
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
281
280
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
281
|
+
key?: import("react").Key | null | undefined;
|
|
282
282
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
283
283
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
284
284
|
};
|
|
@@ -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;
|
|
@@ -37,11 +37,8 @@ declare const meta: {
|
|
|
37
37
|
description: string;
|
|
38
38
|
};
|
|
39
39
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
40
|
-
|
|
41
|
-
slot?: string | undefined | undefined;
|
|
40
|
+
className?: string | undefined | undefined;
|
|
42
41
|
style?: import("react").CSSProperties | undefined;
|
|
43
|
-
title: import("react").ReactNode;
|
|
44
|
-
key?: import("react").Key | null | undefined;
|
|
45
42
|
defaultChecked?: boolean | undefined | undefined;
|
|
46
43
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
47
44
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -49,7 +46,6 @@ declare const meta: {
|
|
|
49
46
|
accessKey?: string | undefined | undefined;
|
|
50
47
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
51
48
|
autoFocus?: boolean | undefined | undefined;
|
|
52
|
-
className?: string | undefined | undefined;
|
|
53
49
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
54
50
|
contextMenu?: string | undefined | undefined;
|
|
55
51
|
dir?: string | undefined | undefined;
|
|
@@ -59,8 +55,10 @@ declare const meta: {
|
|
|
59
55
|
id?: string | undefined | undefined;
|
|
60
56
|
lang?: string | undefined | undefined;
|
|
61
57
|
nonce?: string | undefined | undefined;
|
|
58
|
+
slot?: string | undefined | undefined;
|
|
62
59
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
63
60
|
tabIndex?: number | undefined | undefined;
|
|
61
|
+
title: import("react").ReactNode;
|
|
64
62
|
translate?: "yes" | "no" | undefined | undefined;
|
|
65
63
|
radioGroup?: string | undefined | undefined;
|
|
66
64
|
role?: import("react").AriaRole | undefined;
|
|
@@ -304,18 +302,17 @@ declare const meta: {
|
|
|
304
302
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
305
303
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
306
304
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
307
|
-
|
|
305
|
+
figure?: never | undefined;
|
|
306
|
+
key?: import("react").Key | null | undefined;
|
|
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;
|
|
312
312
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
313
313
|
} | {
|
|
314
|
-
|
|
315
|
-
slot?: string | undefined | undefined;
|
|
314
|
+
className?: string | undefined | undefined;
|
|
316
315
|
style?: import("react").CSSProperties | undefined;
|
|
317
|
-
title: import("react").ReactNode;
|
|
318
|
-
key?: import("react").Key | null | undefined;
|
|
319
316
|
defaultChecked?: boolean | undefined | undefined;
|
|
320
317
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
321
318
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -323,7 +320,6 @@ declare const meta: {
|
|
|
323
320
|
accessKey?: string | undefined | undefined;
|
|
324
321
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
325
322
|
autoFocus?: boolean | undefined | undefined;
|
|
326
|
-
className?: string | undefined | undefined;
|
|
327
323
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
328
324
|
contextMenu?: string | undefined | undefined;
|
|
329
325
|
dir?: string | undefined | undefined;
|
|
@@ -333,8 +329,10 @@ declare const meta: {
|
|
|
333
329
|
id?: string | undefined | undefined;
|
|
334
330
|
lang?: string | undefined | undefined;
|
|
335
331
|
nonce?: string | undefined | undefined;
|
|
332
|
+
slot?: string | undefined | undefined;
|
|
336
333
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
337
334
|
tabIndex?: number | undefined | undefined;
|
|
335
|
+
title: import("react").ReactNode;
|
|
338
336
|
translate?: "yes" | "no" | undefined | undefined;
|
|
339
337
|
radioGroup?: string | undefined | undefined;
|
|
340
338
|
role?: import("react").AriaRole | undefined;
|
|
@@ -578,8 +576,10 @@ declare const meta: {
|
|
|
578
576
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
579
577
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
580
578
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
581
|
-
|
|
579
|
+
figure: import("react").ReactNode;
|
|
580
|
+
key?: import("react").Key | null | 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;
|
|
@@ -15,11 +15,9 @@ declare const meta: {
|
|
|
15
15
|
onClick: () => void;
|
|
16
16
|
};
|
|
17
17
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
18
|
-
|
|
18
|
+
className?: string | undefined | undefined;
|
|
19
19
|
style?: import("react").CSSProperties | undefined;
|
|
20
|
-
|
|
21
|
-
track?: string | undefined;
|
|
22
|
-
key?: import("react").Key | null | undefined;
|
|
20
|
+
children: import("react").ReactNode;
|
|
23
21
|
defaultChecked?: boolean | undefined | undefined;
|
|
24
22
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
25
23
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -27,7 +25,6 @@ declare const meta: {
|
|
|
27
25
|
accessKey?: string | undefined | undefined;
|
|
28
26
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
29
27
|
autoFocus?: boolean | undefined | undefined;
|
|
30
|
-
className?: string | undefined | undefined;
|
|
31
28
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
32
29
|
contextMenu?: string | undefined | undefined;
|
|
33
30
|
dir?: string | undefined | undefined;
|
|
@@ -37,8 +34,10 @@ declare const meta: {
|
|
|
37
34
|
id?: string | undefined | undefined;
|
|
38
35
|
lang?: string | undefined | undefined;
|
|
39
36
|
nonce?: string | undefined | undefined;
|
|
37
|
+
slot?: string | undefined | undefined;
|
|
40
38
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
41
39
|
tabIndex?: number | undefined | undefined;
|
|
40
|
+
title?: string | undefined | undefined;
|
|
42
41
|
translate?: "yes" | "no" | undefined | undefined;
|
|
43
42
|
radioGroup?: string | undefined | undefined;
|
|
44
43
|
role?: import("react").AriaRole | undefined;
|
|
@@ -121,7 +120,6 @@ declare const meta: {
|
|
|
121
120
|
"aria-valuemin"?: number | undefined | undefined;
|
|
122
121
|
"aria-valuenow"?: number | undefined | undefined;
|
|
123
122
|
"aria-valuetext"?: string | undefined | undefined;
|
|
124
|
-
children: import("react").ReactNode;
|
|
125
123
|
dangerouslySetInnerHTML?: {
|
|
126
124
|
__html: string | TrustedHTML;
|
|
127
125
|
} | undefined | undefined;
|
|
@@ -283,12 +281,14 @@ declare const meta: {
|
|
|
283
281
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
284
282
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
285
283
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
|
+
track?: string | undefined;
|
|
285
|
+
key?: import("react").Key | null | undefined;
|
|
286
286
|
loading?: boolean | undefined;
|
|
287
287
|
border?: (typeof footerBorder)[number] | undefined;
|
|
288
|
-
icon?: import("../..").IconName | undefined;
|
|
289
288
|
asChild?: boolean | undefined;
|
|
290
289
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
291
290
|
pressEffect?: boolean | undefined;
|
|
291
|
+
icon?: import("../..").IconName | undefined;
|
|
292
292
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
293
293
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
294
294
|
};
|
|
@@ -15,10 +15,9 @@ declare const meta: {
|
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
17
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
18
|
-
|
|
18
|
+
className?: string | undefined | undefined;
|
|
19
19
|
style?: import("react").CSSProperties | undefined;
|
|
20
|
-
|
|
21
|
-
key?: import("react").Key | null | undefined;
|
|
20
|
+
children?: import("react").ReactNode;
|
|
22
21
|
defaultChecked?: boolean | undefined | undefined;
|
|
23
22
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
24
23
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -26,7 +25,6 @@ declare const meta: {
|
|
|
26
25
|
accessKey?: string | undefined | undefined;
|
|
27
26
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
28
27
|
autoFocus?: boolean | undefined | undefined;
|
|
29
|
-
className?: string | undefined | undefined;
|
|
30
28
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
31
29
|
contextMenu?: string | undefined | undefined;
|
|
32
30
|
dir?: string | undefined | undefined;
|
|
@@ -36,8 +34,10 @@ declare const meta: {
|
|
|
36
34
|
id?: string | undefined | undefined;
|
|
37
35
|
lang?: string | undefined | undefined;
|
|
38
36
|
nonce?: string | undefined | undefined;
|
|
37
|
+
slot?: string | undefined | undefined;
|
|
39
38
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
40
39
|
tabIndex?: number | undefined | undefined;
|
|
40
|
+
title: import("react").ReactNode;
|
|
41
41
|
translate?: "yes" | "no" | undefined | undefined;
|
|
42
42
|
radioGroup?: string | undefined | undefined;
|
|
43
43
|
role?: import("react").AriaRole | undefined;
|
|
@@ -120,7 +120,6 @@ declare const meta: {
|
|
|
120
120
|
"aria-valuemin"?: number | undefined | undefined;
|
|
121
121
|
"aria-valuenow"?: number | undefined | undefined;
|
|
122
122
|
"aria-valuetext"?: string | undefined | undefined;
|
|
123
|
-
children?: import("react").ReactNode;
|
|
124
123
|
dangerouslySetInnerHTML?: {
|
|
125
124
|
__html: string | TrustedHTML;
|
|
126
125
|
} | undefined | undefined;
|
|
@@ -282,6 +281,7 @@ declare const meta: {
|
|
|
282
281
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
283
282
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
283
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
|
+
key?: import("react").Key | null | undefined;
|
|
285
285
|
right?: import("react").ReactNode;
|
|
286
286
|
description?: import("react").ReactNode;
|
|
287
287
|
descriptionPosition?: (typeof descriptionPosition)[number] | undefined;
|
|
@@ -16,12 +16,10 @@ declare const meta: {
|
|
|
16
16
|
label: string;
|
|
17
17
|
};
|
|
18
18
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
size?: import("./list-type").ListRowSize | undefined;
|
|
20
|
+
className?: string | undefined | undefined;
|
|
21
21
|
style?: import("react").CSSProperties | undefined;
|
|
22
|
-
|
|
23
|
-
track?: string | undefined;
|
|
24
|
-
key?: import("react").Key | null | undefined;
|
|
22
|
+
children?: import("react").ReactNode;
|
|
25
23
|
defaultChecked?: boolean | undefined | undefined;
|
|
26
24
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
27
25
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -29,7 +27,6 @@ declare const meta: {
|
|
|
29
27
|
accessKey?: string | undefined | undefined;
|
|
30
28
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
31
29
|
autoFocus?: boolean | undefined | undefined;
|
|
32
|
-
className?: string | undefined | undefined;
|
|
33
30
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
34
31
|
contextMenu?: string | undefined | undefined;
|
|
35
32
|
dir?: string | undefined | undefined;
|
|
@@ -39,8 +36,10 @@ declare const meta: {
|
|
|
39
36
|
id?: string | undefined | undefined;
|
|
40
37
|
lang?: string | undefined | undefined;
|
|
41
38
|
nonce?: string | undefined | undefined;
|
|
39
|
+
slot?: string | undefined | undefined;
|
|
42
40
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
43
41
|
tabIndex?: number | undefined | undefined;
|
|
42
|
+
title?: string | undefined | undefined;
|
|
44
43
|
translate?: "yes" | "no" | undefined | undefined;
|
|
45
44
|
radioGroup?: string | undefined | undefined;
|
|
46
45
|
role?: import("react").AriaRole | undefined;
|
|
@@ -123,7 +122,6 @@ declare const meta: {
|
|
|
123
122
|
"aria-valuemin"?: number | undefined | undefined;
|
|
124
123
|
"aria-valuenow"?: number | undefined | undefined;
|
|
125
124
|
"aria-valuetext"?: string | undefined | undefined;
|
|
126
|
-
children?: import("react").ReactNode;
|
|
127
125
|
dangerouslySetInnerHTML?: {
|
|
128
126
|
__html: string | TrustedHTML;
|
|
129
127
|
} | undefined | undefined;
|
|
@@ -285,7 +283,9 @@ declare const meta: {
|
|
|
285
283
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
286
284
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
287
285
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
288
|
-
|
|
286
|
+
label: import("react").ReactNode;
|
|
287
|
+
track?: string | undefined;
|
|
288
|
+
key?: import("react").Key | null | undefined;
|
|
289
289
|
border?: import("./list-type").ListRowBorder | undefined;
|
|
290
290
|
asChild?: boolean | undefined;
|
|
291
291
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
@@ -49,7 +49,7 @@ export interface MemberCardProps extends Omit<HTMLAttributes<HTMLElement>, 'chil
|
|
|
49
49
|
/** 기본 true. false 면 눌러도 뒤집히지 않고 side 의 면만 보인다 */
|
|
50
50
|
flippable?: boolean;
|
|
51
51
|
/**
|
|
52
|
-
* 기본 false. true 면 누른 채 움직이는 손가락(마우스는 올려만 놔도)을 따라 기울고, 반사광·무지갯빛
|
|
52
|
+
* 기본 false. true 면 누른 채 움직이는 손가락(마우스는 올려만 놔도)을 따라 기울고, 반사광·무지갯빛 결·두께가 함께 움직인다.
|
|
53
53
|
* 놓으면 스프링으로 평평하게 돌아온다. 한 화면에 한 장으로 떠 있는 카드에만 쓴다
|
|
54
54
|
*/
|
|
55
55
|
depth?: boolean;
|
|
@@ -41,5 +41,5 @@ export declare const Minimal: Story;
|
|
|
41
41
|
export declare const NotFlippable: Story;
|
|
42
42
|
/** 버튼을 누르면 보이는 면에 빛이 한 번 지나간다 */
|
|
43
43
|
export declare const MotionShine: Story;
|
|
44
|
-
/** 누른 채 움직이면(마우스는 올려만 놔도) 기울고
|
|
44
|
+
/** 누른 채 움직이면(마우스는 올려만 놔도) 기울고 빛·두께가 따라온다. 놓으면 돌아온다 */
|
|
45
45
|
export declare const Depth: Story;
|
|
@@ -29,11 +29,9 @@ declare const meta: {
|
|
|
29
29
|
time: string;
|
|
30
30
|
};
|
|
31
31
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
32
|
-
|
|
32
|
+
className?: string | undefined | undefined;
|
|
33
33
|
style?: import("react").CSSProperties | undefined;
|
|
34
|
-
|
|
35
|
-
title?: string | undefined | undefined;
|
|
36
|
-
key?: import("react").Key | null | undefined;
|
|
34
|
+
children?: import("react").ReactNode;
|
|
37
35
|
defaultChecked?: boolean | undefined | undefined;
|
|
38
36
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
39
37
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -41,7 +39,6 @@ declare const meta: {
|
|
|
41
39
|
accessKey?: string | undefined | undefined;
|
|
42
40
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
43
41
|
autoFocus?: boolean | undefined | undefined;
|
|
44
|
-
className?: string | undefined | undefined;
|
|
45
42
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
46
43
|
contextMenu?: string | undefined | undefined;
|
|
47
44
|
dir?: string | undefined | undefined;
|
|
@@ -51,8 +48,10 @@ declare const meta: {
|
|
|
51
48
|
id?: string | undefined | undefined;
|
|
52
49
|
lang?: string | undefined | undefined;
|
|
53
50
|
nonce?: string | undefined | undefined;
|
|
51
|
+
slot?: string | undefined | undefined;
|
|
54
52
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
55
53
|
tabIndex?: number | undefined | undefined;
|
|
54
|
+
title?: string | undefined | undefined;
|
|
56
55
|
translate?: "yes" | "no" | undefined | undefined;
|
|
57
56
|
radioGroup?: string | undefined | undefined;
|
|
58
57
|
role?: import("react").AriaRole | undefined;
|
|
@@ -135,7 +134,6 @@ declare const meta: {
|
|
|
135
134
|
"aria-valuemin"?: number | undefined | undefined;
|
|
136
135
|
"aria-valuenow"?: number | undefined | undefined;
|
|
137
136
|
"aria-valuetext"?: string | undefined | undefined;
|
|
138
|
-
children?: import("react").ReactNode;
|
|
139
137
|
dangerouslySetInnerHTML?: {
|
|
140
138
|
__html: string | TrustedHTML;
|
|
141
139
|
} | undefined | undefined;
|
|
@@ -297,6 +295,8 @@ declare const meta: {
|
|
|
297
295
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
298
296
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
299
297
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
298
|
+
time?: import("react").ReactNode;
|
|
299
|
+
key?: import("react").Key | null | undefined;
|
|
300
300
|
media?: import("react").ReactNode;
|
|
301
301
|
name?: import("react").ReactNode;
|
|
302
302
|
motion?: (typeof motion)[number] | undefined;
|
|
@@ -34,10 +34,9 @@ declare const meta: {
|
|
|
34
34
|
children: string;
|
|
35
35
|
};
|
|
36
36
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
37
|
-
|
|
37
|
+
className?: string | undefined | undefined;
|
|
38
38
|
style?: import("react").CSSProperties | undefined;
|
|
39
|
-
|
|
40
|
-
key?: import("react").Key | null | undefined;
|
|
39
|
+
children: import("react").ReactNode;
|
|
41
40
|
defaultChecked?: boolean | undefined | undefined;
|
|
42
41
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
43
42
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -45,7 +44,6 @@ declare const meta: {
|
|
|
45
44
|
accessKey?: string | undefined | undefined;
|
|
46
45
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
47
46
|
autoFocus?: boolean | undefined | undefined;
|
|
48
|
-
className?: string | undefined | undefined;
|
|
49
47
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
50
48
|
contextMenu?: string | undefined | undefined;
|
|
51
49
|
dir?: string | undefined | undefined;
|
|
@@ -55,8 +53,10 @@ declare const meta: {
|
|
|
55
53
|
id?: string | undefined | undefined;
|
|
56
54
|
lang?: string | undefined | undefined;
|
|
57
55
|
nonce?: string | undefined | undefined;
|
|
56
|
+
slot?: string | undefined | undefined;
|
|
58
57
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
59
58
|
tabIndex?: number | undefined | undefined;
|
|
59
|
+
title?: import("react").ReactNode;
|
|
60
60
|
translate?: "yes" | "no" | undefined | undefined;
|
|
61
61
|
radioGroup?: string | undefined | undefined;
|
|
62
62
|
role?: import("react").AriaRole | undefined;
|
|
@@ -139,7 +139,6 @@ declare const meta: {
|
|
|
139
139
|
"aria-valuemin"?: number | undefined | undefined;
|
|
140
140
|
"aria-valuenow"?: number | undefined | undefined;
|
|
141
141
|
"aria-valuetext"?: string | undefined | undefined;
|
|
142
|
-
children: import("react").ReactNode;
|
|
143
142
|
dangerouslySetInnerHTML?: {
|
|
144
143
|
__html: string | TrustedHTML;
|
|
145
144
|
} | undefined | undefined;
|
|
@@ -301,6 +300,7 @@ declare const meta: {
|
|
|
301
300
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
302
301
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
303
302
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
303
|
+
key?: import("react").Key | null | undefined;
|
|
304
304
|
motion?: (typeof motion)[number] | undefined;
|
|
305
305
|
variant?: (typeof variant)[number] | undefined;
|
|
306
306
|
action?: import("./notice-type").NoticeAction | undefined;
|
|
@@ -18,8 +18,8 @@ declare const meta: {
|
|
|
18
18
|
};
|
|
19
19
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
20
20
|
portalContainer?: HTMLElement | undefined;
|
|
21
|
-
label?: string | undefined;
|
|
22
21
|
children: import("react").ReactNode;
|
|
22
|
+
label?: string | undefined;
|
|
23
23
|
position?: typeof import("../toast/toast-props").positions[number] | undefined;
|
|
24
24
|
duration?: number | undefined;
|
|
25
25
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -23,11 +23,8 @@ declare const meta: {
|
|
|
23
23
|
more: import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
};
|
|
25
25
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
26
|
-
|
|
26
|
+
className?: string | undefined | undefined;
|
|
27
27
|
style?: import("react").CSSProperties | undefined;
|
|
28
|
-
title: import("react").ReactNode;
|
|
29
|
-
track?: string | undefined;
|
|
30
|
-
key?: import("react").Key | null | undefined;
|
|
31
28
|
defaultChecked?: boolean | undefined | undefined;
|
|
32
29
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
33
30
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -35,7 +32,6 @@ declare const meta: {
|
|
|
35
32
|
accessKey?: string | undefined | undefined;
|
|
36
33
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
37
34
|
autoFocus?: boolean | undefined | undefined;
|
|
38
|
-
className?: string | undefined | undefined;
|
|
39
35
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
40
36
|
contextMenu?: string | undefined | undefined;
|
|
41
37
|
dir?: string | undefined | undefined;
|
|
@@ -45,8 +41,10 @@ declare const meta: {
|
|
|
45
41
|
id?: string | undefined | undefined;
|
|
46
42
|
lang?: string | undefined | undefined;
|
|
47
43
|
nonce?: string | undefined | undefined;
|
|
44
|
+
slot?: string | undefined | undefined;
|
|
48
45
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
49
46
|
tabIndex?: number | undefined | undefined;
|
|
47
|
+
title: import("react").ReactNode;
|
|
50
48
|
translate?: "yes" | "no" | undefined | undefined;
|
|
51
49
|
radioGroup?: string | undefined | undefined;
|
|
52
50
|
role?: import("react").AriaRole | undefined;
|
|
@@ -290,6 +288,8 @@ declare const meta: {
|
|
|
290
288
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
291
289
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
292
290
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
291
|
+
track?: string | undefined;
|
|
292
|
+
key?: import("react").Key | null | undefined;
|
|
293
293
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
294
294
|
description?: import("react").ReactNode;
|
|
295
295
|
titleLevel?: import("./section-header-type").SectionHeaderTitleLevel | undefined;
|
|
@@ -35,8 +35,8 @@ declare const meta: {
|
|
|
35
35
|
animated: true;
|
|
36
36
|
};
|
|
37
37
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
38
|
-
'aria-label'?: string | undefined;
|
|
39
38
|
repeat?: number | undefined;
|
|
39
|
+
'aria-label'?: string | undefined;
|
|
40
40
|
animated?: boolean | undefined;
|
|
41
41
|
pattern?: SkeletonPattern | undefined;
|
|
42
42
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -51,10 +51,9 @@ declare const meta: {
|
|
|
51
51
|
animated: true;
|
|
52
52
|
};
|
|
53
53
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
54
|
-
|
|
54
|
+
className?: string | undefined | undefined;
|
|
55
55
|
style?: import("react").CSSProperties | undefined;
|
|
56
|
-
|
|
57
|
-
key?: import("react").Key | null | undefined;
|
|
56
|
+
children?: import("react").ReactNode;
|
|
58
57
|
defaultChecked?: boolean | undefined | undefined;
|
|
59
58
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
60
59
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -62,7 +61,6 @@ declare const meta: {
|
|
|
62
61
|
accessKey?: string | undefined | undefined;
|
|
63
62
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
64
63
|
autoFocus?: boolean | undefined | undefined;
|
|
65
|
-
className?: string | undefined | undefined;
|
|
66
64
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
67
65
|
contextMenu?: string | undefined | undefined;
|
|
68
66
|
dir?: string | undefined | undefined;
|
|
@@ -72,8 +70,10 @@ declare const meta: {
|
|
|
72
70
|
id?: string | undefined | undefined;
|
|
73
71
|
lang?: string | undefined | undefined;
|
|
74
72
|
nonce?: string | undefined | undefined;
|
|
73
|
+
slot?: string | undefined | undefined;
|
|
75
74
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
76
75
|
tabIndex?: number | undefined | undefined;
|
|
76
|
+
title?: string | undefined | undefined;
|
|
77
77
|
translate?: "yes" | "no" | undefined | undefined;
|
|
78
78
|
radioGroup?: string | undefined | undefined;
|
|
79
79
|
role?: import("react").AriaRole | undefined;
|
|
@@ -156,7 +156,6 @@ declare const meta: {
|
|
|
156
156
|
"aria-valuemin"?: number | undefined | undefined;
|
|
157
157
|
"aria-valuenow"?: number | undefined | undefined;
|
|
158
158
|
"aria-valuetext"?: string | undefined | undefined;
|
|
159
|
-
children?: import("react").ReactNode;
|
|
160
159
|
dangerouslySetInnerHTML?: {
|
|
161
160
|
__html: string | TrustedHTML;
|
|
162
161
|
} | undefined | undefined;
|
|
@@ -318,6 +317,7 @@ declare const meta: {
|
|
|
318
317
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
319
318
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
320
319
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
320
|
+
key?: import("react").Key | null | undefined;
|
|
321
321
|
shape?: (typeof shapes)[number] | undefined;
|
|
322
322
|
height?: number | string | undefined;
|
|
323
323
|
width?: number | string | undefined;
|
|
@@ -26,11 +26,8 @@ declare const meta: {
|
|
|
26
26
|
variant: "default";
|
|
27
27
|
};
|
|
28
28
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
29
|
-
|
|
29
|
+
className?: string | undefined;
|
|
30
30
|
style?: import("react").CSSProperties | undefined;
|
|
31
|
-
title: import("react").ReactNode;
|
|
32
|
-
track?: string | undefined;
|
|
33
|
-
key?: import("react").Key | null | undefined;
|
|
34
31
|
defaultChecked?: boolean | undefined | undefined;
|
|
35
32
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
36
33
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -38,7 +35,6 @@ declare const meta: {
|
|
|
38
35
|
accessKey?: string | undefined | undefined;
|
|
39
36
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
40
37
|
autoFocus?: boolean | undefined | undefined;
|
|
41
|
-
className?: string | undefined;
|
|
42
38
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
43
39
|
contextMenu?: string | undefined | undefined;
|
|
44
40
|
dir?: string | undefined | undefined;
|
|
@@ -48,8 +44,10 @@ declare const meta: {
|
|
|
48
44
|
id?: string | undefined | undefined;
|
|
49
45
|
lang?: string | undefined | undefined;
|
|
50
46
|
nonce?: string | undefined | undefined;
|
|
47
|
+
slot?: string | undefined | undefined;
|
|
51
48
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
52
49
|
tabIndex?: number | undefined | undefined;
|
|
50
|
+
title: import("react").ReactNode;
|
|
53
51
|
translate?: "yes" | "no" | undefined | undefined;
|
|
54
52
|
radioGroup?: string | undefined | undefined;
|
|
55
53
|
role?: import("react").AriaRole | undefined;
|
|
@@ -293,6 +291,8 @@ declare const meta: {
|
|
|
293
291
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
294
292
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
295
293
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
294
|
+
track?: string | undefined;
|
|
295
|
+
key?: import("react").Key | null | undefined;
|
|
296
296
|
value?: string | number | readonly string[] | undefined;
|
|
297
297
|
variant?: (typeof variants)[number] | undefined;
|
|
298
298
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
@@ -30,10 +30,8 @@ declare const meta: {
|
|
|
30
30
|
subtitleBottom: string;
|
|
31
31
|
};
|
|
32
32
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react-webpack5").ReactRenderer, {
|
|
33
|
-
|
|
33
|
+
className?: string | undefined | undefined;
|
|
34
34
|
style?: import("react").CSSProperties | undefined;
|
|
35
|
-
title: import("react").ReactNode;
|
|
36
|
-
key?: import("react").Key | null | undefined;
|
|
37
35
|
defaultChecked?: boolean | undefined | undefined;
|
|
38
36
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
39
37
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -41,7 +39,6 @@ declare const meta: {
|
|
|
41
39
|
accessKey?: string | undefined | undefined;
|
|
42
40
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
43
41
|
autoFocus?: boolean | undefined | undefined;
|
|
44
|
-
className?: string | undefined | undefined;
|
|
45
42
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
46
43
|
contextMenu?: string | undefined | undefined;
|
|
47
44
|
dir?: string | undefined | undefined;
|
|
@@ -51,8 +48,10 @@ declare const meta: {
|
|
|
51
48
|
id?: string | undefined | undefined;
|
|
52
49
|
lang?: string | undefined | undefined;
|
|
53
50
|
nonce?: string | undefined | undefined;
|
|
51
|
+
slot?: string | undefined | undefined;
|
|
54
52
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
55
53
|
tabIndex?: number | undefined | undefined;
|
|
54
|
+
title: import("react").ReactNode;
|
|
56
55
|
translate?: "yes" | "no" | undefined | undefined;
|
|
57
56
|
radioGroup?: string | undefined | undefined;
|
|
58
57
|
role?: import("react").AriaRole | undefined;
|
|
@@ -296,6 +295,7 @@ declare const meta: {
|
|
|
296
295
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
297
296
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
298
297
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
298
|
+
key?: import("react").Key | null | undefined;
|
|
299
299
|
right?: import("react").ReactNode;
|
|
300
300
|
titleLevel?: import("./top-type").TopTitleLevel | undefined;
|
|
301
301
|
subtitleTop?: import("react").ReactNode;
|
package/dist/components.css
CHANGED
|
@@ -1818,17 +1818,21 @@
|
|
|
1818
1818
|
|
|
1819
1819
|
.base-bottom-nav:where(.root) {
|
|
1820
1820
|
position: fixed;
|
|
1821
|
-
left:
|
|
1822
|
-
right:
|
|
1823
|
-
|
|
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
|
-
|
|
1829
|
-
|
|
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
|
-
/* 위쪽
|
|
1852
|
-
|
|
1853
|
-
|
|
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
|
-
/*
|
|
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
|
|
|
@@ -2952,26 +2987,6 @@
|
|
|
2952
2987
|
|
|
2953
2988
|
/* depth ****************************************************************************************** */
|
|
2954
2989
|
|
|
2955
|
-
/* 기울기를 따라 움직이는 바닥 빛. 등급 오로라 색이 번진다 */
|
|
2956
|
-
|
|
2957
|
-
.member-card-shadow {
|
|
2958
|
-
position: absolute;
|
|
2959
|
-
inset: 12% 6% -6%;
|
|
2960
|
-
border-radius: inherit;
|
|
2961
|
-
background: var(--member-card-aurora);
|
|
2962
|
-
filter: blur(var(--spacing-30));
|
|
2963
|
-
opacity: calc(0.35 + var(--member-card-lift) * 0.25);
|
|
2964
|
-
transform: translateZ(calc(var(--motion-tilt-lift) * -2))
|
|
2965
|
-
translate(
|
|
2966
|
-
calc(var(--member-card-px) * var(--spacing-12) * -1),
|
|
2967
|
-
calc(var(--member-card-py) * var(--spacing-12) * -1)
|
|
2968
|
-
);
|
|
2969
|
-
transition:
|
|
2970
|
-
transform var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease),
|
|
2971
|
-
opacity var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease);
|
|
2972
|
-
pointer-events: none;
|
|
2973
|
-
}
|
|
2974
|
-
|
|
2975
2990
|
/*
|
|
2976
2991
|
* 두께. 기울이는 동안만 두 면을 앞뒤로 조금 띄우고 그 사이에 판 한 장을 둔다.
|
|
2977
2992
|
* 쉴 때 면을 띄워 두면 원근 때문에 글자가 미세하게 커져 흐려진다
|
|
@@ -3635,6 +3650,9 @@
|
|
|
3635
3650
|
left: 0;
|
|
3636
3651
|
right: 0;
|
|
3637
3652
|
bottom: 0;
|
|
3653
|
+
/* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다(ADR 0019). 좁은 화면은 그대로 화면 폭이다 */
|
|
3654
|
+
max-width: var(--layout-max-width);
|
|
3655
|
+
margin-inline: auto;
|
|
3638
3656
|
height: var(--drawer-height);
|
|
3639
3657
|
max-height: 100%;
|
|
3640
3658
|
border-top-left-radius: var(--radius-surface);
|
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
|
-
// 크기·변형이 없다. 탭 바는 화면
|
|
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 () {
|
|
@@ -9120,13 +9120,10 @@ var MemberCard = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_re
|
|
|
9120
9120
|
}, effectProps, restProps, {
|
|
9121
9121
|
// restProps 의 onClick 이 뒤집기를 덮지 않게 뒤에 둔다
|
|
9122
9122
|
onClick: handleClick,
|
|
9123
|
-
children: (0,jsx_runtime_.
|
|
9123
|
+
children: (0,jsx_runtime_.jsx)("span", member_card_assign({
|
|
9124
9124
|
className: 'member-card-tilt'
|
|
9125
9125
|
}, tilt.handlers, {
|
|
9126
|
-
children:
|
|
9127
|
-
className: 'member-card-shadow',
|
|
9128
|
-
"aria-hidden": true
|
|
9129
|
-
}), (0,jsx_runtime_.jsxs)("span", {
|
|
9126
|
+
children: (0,jsx_runtime_.jsxs)("span", {
|
|
9130
9127
|
className: 'member-card-inner',
|
|
9131
9128
|
children: [depth && (0,jsx_runtime_.jsx)("span", {
|
|
9132
9129
|
className: 'member-card-edge',
|
|
@@ -9150,7 +9147,7 @@ var MemberCard = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_re
|
|
|
9150
9147
|
inactive: !isBack,
|
|
9151
9148
|
depth: depth
|
|
9152
9149
|
})]
|
|
9153
|
-
})
|
|
9150
|
+
})
|
|
9154
9151
|
}))
|
|
9155
9152
|
}));
|
|
9156
9153
|
});
|
package/dist/member-card.js
CHANGED
|
@@ -406,13 +406,10 @@ var MemberCard = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_re
|
|
|
406
406
|
}, effectProps, restProps, {
|
|
407
407
|
// restProps 의 onClick 이 뒤집기를 덮지 않게 뒤에 둔다
|
|
408
408
|
onClick: handleClick,
|
|
409
|
-
children: (0,jsx_runtime_.
|
|
409
|
+
children: (0,jsx_runtime_.jsx)("span", member_card_assign({
|
|
410
410
|
className: 'member-card-tilt'
|
|
411
411
|
}, tilt.handlers, {
|
|
412
|
-
children:
|
|
413
|
-
className: 'member-card-shadow',
|
|
414
|
-
"aria-hidden": true
|
|
415
|
-
}), (0,jsx_runtime_.jsxs)("span", {
|
|
412
|
+
children: (0,jsx_runtime_.jsxs)("span", {
|
|
416
413
|
className: 'member-card-inner',
|
|
417
414
|
children: [depth && (0,jsx_runtime_.jsx)("span", {
|
|
418
415
|
className: 'member-card-edge',
|
|
@@ -436,7 +433,7 @@ var MemberCard = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_re
|
|
|
436
433
|
inactive: !isBack,
|
|
437
434
|
depth: depth
|
|
438
435
|
})]
|
|
439
|
-
})
|
|
436
|
+
})
|
|
440
437
|
}))
|
|
441
438
|
}));
|
|
442
439
|
});
|
package/dist/styles.css
CHANGED
|
@@ -360,9 +360,15 @@
|
|
|
360
360
|
/* 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 */
|
|
361
361
|
--highlight-message-max-width: 280px;
|
|
362
362
|
|
|
363
|
-
/*
|
|
364
|
-
--
|
|
365
|
-
|
|
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:
|
|
2653
|
-
right:
|
|
2654
|
-
|
|
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
|
-
|
|
2660
|
-
|
|
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
|
-
/* 위쪽
|
|
2680
|
-
|
|
2681
|
-
|
|
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
|
-
/*
|
|
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) {
|
|
@@ -3607,24 +3644,6 @@ p {
|
|
|
3607
3644
|
font-weight: var(--font-weight-medium);
|
|
3608
3645
|
}
|
|
3609
3646
|
/* depth ****************************************************************************************** */
|
|
3610
|
-
/* 기울기를 따라 움직이는 바닥 빛. 등급 오로라 색이 번진다 */
|
|
3611
|
-
.member-card-shadow {
|
|
3612
|
-
position: absolute;
|
|
3613
|
-
inset: 12% 6% -6%;
|
|
3614
|
-
border-radius: inherit;
|
|
3615
|
-
background: var(--member-card-aurora);
|
|
3616
|
-
filter: blur(var(--spacing-30));
|
|
3617
|
-
opacity: calc(0.35 + var(--member-card-lift) * 0.25);
|
|
3618
|
-
transform: translateZ(calc(var(--motion-tilt-lift) * -2))
|
|
3619
|
-
translate(
|
|
3620
|
-
calc(var(--member-card-px) * var(--spacing-12) * -1),
|
|
3621
|
-
calc(var(--member-card-py) * var(--spacing-12) * -1)
|
|
3622
|
-
);
|
|
3623
|
-
transition:
|
|
3624
|
-
transform var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease),
|
|
3625
|
-
opacity var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease);
|
|
3626
|
-
pointer-events: none;
|
|
3627
|
-
}
|
|
3628
3647
|
/*
|
|
3629
3648
|
* 두께. 기울이는 동안만 두 면을 앞뒤로 조금 띄우고 그 사이에 판 한 장을 둔다.
|
|
3630
3649
|
* 쉴 때 면을 띄워 두면 원근 때문에 글자가 미세하게 커져 흐려진다
|
|
@@ -4182,6 +4201,9 @@ p {
|
|
|
4182
4201
|
left: 0;
|
|
4183
4202
|
right: 0;
|
|
4184
4203
|
bottom: 0;
|
|
4204
|
+
/* 넓은 화면에서는 한 기둥 폭 안 가운데에 선다(ADR 0019). 좁은 화면은 그대로 화면 폭이다 */
|
|
4205
|
+
max-width: var(--layout-max-width);
|
|
4206
|
+
margin-inline: auto;
|
|
4185
4207
|
height: var(--drawer-height);
|
|
4186
4208
|
max-height: 100%;
|
|
4187
4209
|
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
|
-
/*
|
|
362
|
-
--
|
|
363
|
-
|
|
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
|
|