@nurihaus/web-design-system 3.22.0 → 3.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/components.md +39 -14
- package/dist/ai/motion.md +2 -2
- package/dist/chunk-7653.js +8 -0
- package/dist/components/asset/asset.d.ts +3 -3
- package/dist/components/asset/asset.stories.d.ts +3 -3
- package/dist/components/icon/icon-paths.d.ts +8 -0
- package/dist/components/icon/icon.stories.d.ts +1 -1
- package/dist/components/list/list-footer.stories.d.ts +2 -2
- package/dist/components/list/list-row.stories.d.ts +1 -1
- package/dist/components/media/media-props.d.ts +2 -0
- package/dist/components/media/media-thumbnail.stories.d.ts +5 -1
- package/dist/components/media/media-type.d.ts +7 -3
- package/dist/components/member-card/base-member-card.d.ts +20 -1
- package/dist/components/member-card/member-card-type.d.ts +18 -0
- package/dist/components/member-card/member-card.stories.d.ts +2 -0
- package/dist/components/message/message.stories.d.ts +3 -3
- package/dist/components/notice/notice.stories.d.ts +1 -1
- package/dist/components/skeleton/skeleton.stories.d.ts +2 -2
- package/dist/components/toast/toast.stories.d.ts +2 -2
- package/dist/components.css +196 -0
- package/dist/index.js +325 -58
- package/dist/media-thumbnail.js +121 -49
- package/dist/member-card.js +225 -10
- package/dist/modal-with-double-button.js +5 -5
- package/dist/modal.js +3 -3
- package/dist/overlay.js +5 -5
- package/dist/styles.css +161 -0
- package/package.json +1 -1
package/dist/ai/components.md
CHANGED
|
@@ -294,7 +294,7 @@ import { Asset } from '@nurihaus/web-design-system'; // 루트. 첫
|
|
|
294
294
|
| prop | 타입 | 필수 | 기본값 |
|
|
295
295
|
| --- | --- | --- | --- |
|
|
296
296
|
| `label` | `string` | | |
|
|
297
|
-
| `name` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| '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'` | 예 | |
|
|
297
|
+
| `name` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| 'file' \| 'file-pdf' \| 'upload-simple' \| 'calendar-blank' \| 'clock' \| 'map-pin' \| 'truck' \| 'ticket' \| 'qr-code' \| 'sparkle' \| 'gift' \| 'wallet' \| 'bank' \| 'credit-card' \| 'check-circle' \| 'check' \| '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'` | 예 | |
|
|
298
298
|
| `weight` | `'fill' \| 'regular'` | | |
|
|
299
299
|
|
|
300
300
|
이 밖에 React·HTML 기본 속성 474개를 받는다.
|
|
@@ -544,7 +544,7 @@ import { IconButton } from '@nurihaus/web-design-system'; // 루트.
|
|
|
544
544
|
| `asChild` | `boolean` | | |
|
|
545
545
|
| `trackProps` | `Record<string, string \| number \| boolean>` | | |
|
|
546
546
|
| `pressEffect` | `boolean` | | `true` |
|
|
547
|
-
| `icon` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| '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'` | 예 | |
|
|
547
|
+
| `icon` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| 'file' \| 'file-pdf' \| 'upload-simple' \| 'calendar-blank' \| 'clock' \| 'map-pin' \| 'truck' \| 'ticket' \| 'qr-code' \| 'sparkle' \| 'gift' \| 'wallet' \| 'bank' \| 'credit-card' \| 'check-circle' \| 'check' \| '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'` | 예 | |
|
|
548
548
|
|
|
549
549
|
이 밖에 React·HTML 기본 속성 275개를 받는다.
|
|
550
550
|
|
|
@@ -2723,7 +2723,7 @@ import { Icon } from '@nurihaus/web-design-system'; // 루트. 첫
|
|
|
2723
2723
|
| --- | --- | --- | --- |
|
|
2724
2724
|
| `label` | `string` | | |
|
|
2725
2725
|
| `size` | `'xs' \| 's' \| 'm' \| 'l' \| 'xl'` | | `'l'` |
|
|
2726
|
-
| `name` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| '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'` | 예 | |
|
|
2726
|
+
| `name` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| 'file' \| 'file-pdf' \| 'upload-simple' \| 'calendar-blank' \| 'clock' \| 'map-pin' \| 'truck' \| 'ticket' \| 'qr-code' \| 'sparkle' \| 'gift' \| 'wallet' \| 'bank' \| 'credit-card' \| 'check-circle' \| 'check' \| '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'` | 예 | |
|
|
2727
2727
|
| `weight` | `'fill' \| 'regular'` | | |
|
|
2728
2728
|
|
|
2729
2729
|
이 밖에 React·HTML 기본 속성 474개를 받는다.
|
|
@@ -3550,12 +3550,15 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3550
3550
|
|
|
3551
3551
|
색은 의미 토큰 `--surface-member-card`(바탕)와 `--surface-aurora-{grey·grey-light·mint·blue·lavender·pink·gold}`(오로라)에서 온다. 한 화면만 다르게 칠하려면 `className` 으로 `--member-card-surface`·`--member-card-aurora`(위→아래 `linear-gradient`)·`--member-card-aurora-width`·`--member-card-aurora-strength`(0–1 진하기, 테두리 띠도 같이 따른다) 를 덮는다.
|
|
3552
3552
|
|
|
3553
|
-
`track` 을 주면 뒤집을 때마다 `change` 와 새 면(`'front'`·`'back'`)을 `value` 에 담아 사용 로그로 보낸다.
|
|
3553
|
+
`track` 을 주면 뒤집을 때마다 `change` 와 새 면(`'front'`·`'back'`)을 `value` 에 담아 사용 로그로 보낸다. `expandable` 이면 펼칠 때 `open`, 닫을 때 `close` 도 보낸다.
|
|
3554
3554
|
|
|
3555
3555
|
- `pressEffect`(기본 `true`): 누르는 동안 살짝 줄어든다. `false`면 끈다. `flippable={false}` 면 붙지 않는다.
|
|
3556
3556
|
- 뒤집기는 `--motion-flip-spring-*` 스프링으로 돈다. 동작 줄이기면 돌지 않고 바로 바뀐다.
|
|
3557
3557
|
- `depth`(기본 `false`): 누른 채 움직이는 손가락을 따라 기울고(마우스는 올려만 놔도 조금), 손가락 반대편 반사광·등급 오로라의 무지갯빛 결·두께가 함께 움직인다. 카드 밑에 번지는 바닥 빛은 없다 — 흰 바탕에서 카드 둘레가 뿌옇게 보여서 뺐다. 놓으면 `--motion-tilt-spring-*` 스프링으로 평평하게 돌아온다. 세로로 미는 손가락은 스크롤이고 가로로 움직일 때 기운다. 기울이다 놓으면 뒤집지 않는다. 쉬는 동안은 평평해서 글자가 선명하다. 한 화면에 한 장으로 떠 있는 카드(마이페이지)에만 쓴다. 동작 줄이기면 기울지 않는다.
|
|
3558
3558
|
- `effectRef`: `effectRef.current.shine()` 을 부르면 보이는 면에 빛이 한 번 지나간다. 저절로 재생하지 않는다. 가입 완료처럼 보여 줄 순간에 쓰는 쪽이 부른다.
|
|
3559
|
+
- `expandable`(기본 `false`): 마이페이지처럼 흰 바탕에 카드 한 장을 놓아 둘 때 쓴다. 카드가 뒤로 눕혀 놓인 물체처럼 쉰다 — 뒤로 젖히고(X 38°) 살짝 돌린(Z -9°) 자세에, 아래로 보이는 두께, 바닥 그림자, 위에서 내려오는 빛. 쉬는 카드는 뒤집지도 기울지도 않는 버튼이다. 누르면 어두운 바탕 위 화면 가운데로 일어서며 커지고, 거기서는 평평한 카드가 `depth`·뒤집기로 움직인다. 바탕·닫기 버튼·Esc·뒤로 가기로 닫으면 제자리로 다시 눕는다. 커지고 눕는 모션은 브라우저의 View Transitions 로 두 카드를 잇고, 지원하지 않거나 동작 줄이기면 바탕은 fade, 상자는 scale 로 들어오고 나간다. 보이는 면은 두 카드가 같이 써서 뒷면으로 뒤집고 닫으면 쉬는 카드도 뒷면이다. `side`·`defaultSide`·`onSideChange` 가 그대로 동작한다. 쉬는 카드는 루트 폭보다 작게 그려지니 둘레에 여백을 둘 필요가 없다. 펼치는 모션이 이름(`view-transition-name`) 하나로 두 카드를 이어서 한 화면에 한 장만 둔다.
|
|
3560
|
+
- `expandedDetail`: 펼친 카드 아래 가운데에 놓는 내용(설명 한 줄·링크). 어두운 바탕이라 글자는 `--text-on-overlay` 색을 물려받는다.
|
|
3561
|
+
- `closeLabel`(기본 `'닫기'`): 펼친 창 오른쪽 위 닫기 버튼의 이름. 번역은 쓰는 쪽이 넘긴다.
|
|
3559
3562
|
|
|
3560
3563
|
**쓰지 않는다.** 크리에이터 목록의 한 줄은 ListRow 를 쓴다. 운영 화면의 크리에이터 상세는 Card 와 DescriptionList 를 쓴다.
|
|
3561
3564
|
|
|
@@ -3572,7 +3575,12 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3572
3575
|
| `.member-card-pips` | `aria-hidden` | `true` |
|
|
3573
3576
|
| `.member-card-channels` | `role` | `img` |
|
|
3574
3577
|
| `.member-card-channels` | `aria-label` | (있음) |
|
|
3578
|
+
| `.member-card.rest` | `aria-haspopup` | `dialog` |
|
|
3579
|
+
| `.member-card.rest` | `aria-expanded` | `false` · `true` |
|
|
3575
3580
|
| `.member-card` | 키보드 | Enter·Space → 다른 면으로 뒤집는다 |
|
|
3581
|
+
| `.member-card.rest` | 키보드 | Enter·Space → 펼친다. 펼친 창에서 Esc → 닫고 쉬는 카드로 포커스가 돌아온다 |
|
|
3582
|
+
|
|
3583
|
+
펼친 창(`role=dialog`)의 이름은 `name` 이고 화면에는 보이지 않는다. 열리면 포커스가 창에 가고 Tab 은 창 안에 머문다.
|
|
3576
3584
|
|
|
3577
3585
|
쓰는 쪽이 달 것이 없다.
|
|
3578
3586
|
|
|
@@ -3590,9 +3598,9 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3590
3598
|
/>
|
|
3591
3599
|
```
|
|
3592
3600
|
|
|
3593
|
-
**반응형.** 그대로 됨. 폭이 부모를 따르고 높이는 카드 비율(1.586:1)로 정해진다. 한 면이 통째로 누르는 자리다.
|
|
3601
|
+
**반응형.** 그대로 됨. 폭이 부모를 따르고 높이는 카드 비율(1.586:1)로 정해진다. 한 면이 통째로 누르는 자리다. expandable 의 쉬는 카드는 루트보다 작게 그려 넘치지 않고, 펼친 카드는 화면 폭에서 양옆 20 을 뺀 폭(400 까지)이다.
|
|
3594
3602
|
|
|
3595
|
-
**모션.** press(`pressEffect`) · flip · attention(opt) · tilt(opt, `depth`). 토큰 값과 규칙은 `motion.md`.
|
|
3603
|
+
**모션.** press(`pressEffect`) · flip · attention(opt) · tilt(opt, `depth`) · enter(opt) · exit(opt). 토큰 값과 규칙은 `motion.md`.
|
|
3596
3604
|
|
|
3597
3605
|
### props
|
|
3598
3606
|
|
|
@@ -3615,6 +3623,9 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3615
3623
|
| `flippable` | `boolean` | | `true` |
|
|
3616
3624
|
| `depth` | `boolean` | | `false` |
|
|
3617
3625
|
| `effectRef` | `Ref<AttentionHandle>` | | |
|
|
3626
|
+
| `expandable` | `boolean` | | `false` |
|
|
3627
|
+
| `expandedDetail` | `ReactNode` | | |
|
|
3628
|
+
| `closeLabel` | `string` | | `'닫기'` |
|
|
3618
3629
|
| `track` | `string` | | |
|
|
3619
3630
|
| `trackProps` | `Record<string, string \| number \| boolean>` | | |
|
|
3620
3631
|
| `pressEffect` | `boolean` | | `true` |
|
|
@@ -3965,7 +3976,7 @@ import { ListFooter } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3965
3976
|
| `asChild` | `boolean` | | |
|
|
3966
3977
|
| `trackProps` | `Record<string, string \| number \| boolean>` | | |
|
|
3967
3978
|
| `pressEffect` | `boolean` | | `true` |
|
|
3968
|
-
| `icon` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| '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'` | | `'caret-down'` |
|
|
3979
|
+
| `icon` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| 'file' \| 'file-pdf' \| 'upload-simple' \| 'calendar-blank' \| 'clock' \| 'map-pin' \| 'truck' \| 'ticket' \| 'qr-code' \| 'sparkle' \| 'gift' \| 'wallet' \| 'bank' \| 'credit-card' \| 'check-circle' \| 'check' \| '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'` | | `'caret-down'` |
|
|
3969
3980
|
| `border` | `'none' \| 'full' \| 'indented'` | | `'none'` |
|
|
3970
3981
|
|
|
3971
3982
|
이 밖에 React·HTML 기본 속성 264개를 받는다.
|
|
@@ -4454,7 +4465,7 @@ import { EmptyState } from '@nurihaus/web-design-system'; // 루트.
|
|
|
4454
4465
|
| `figure` | `ReactNode` | | |
|
|
4455
4466
|
| `title` | `ReactNode` | 예 | |
|
|
4456
4467
|
| `variant` | `'neutral' \| 'success' \| 'default'` | | `'default'` |
|
|
4457
|
-
| `icon` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| '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'` | | |
|
|
4468
|
+
| `icon` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| 'file' \| 'file-pdf' \| 'upload-simple' \| 'calendar-blank' \| 'clock' \| 'map-pin' \| 'truck' \| 'ticket' \| 'qr-code' \| 'sparkle' \| 'gift' \| 'wallet' \| 'bank' \| 'credit-card' \| 'check-circle' \| 'check' \| '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'` | | |
|
|
4458
4469
|
| `description` | `ReactNode` | | |
|
|
4459
4470
|
| `action` | `ReactNode` | | |
|
|
4460
4471
|
| `titleAs` | `'h1' \| 'h2' \| 'h3' \| 'p'` | | `'p'` |
|
|
@@ -4982,13 +4993,14 @@ import { MediaThumbnail } from '@nurihaus/web-design-system/media-thumbnail';
|
|
|
4982
4993
|
import { MediaThumbnail } from '@nurihaus/web-design-system'; // 루트. 첫 로드 JS 가 커진다
|
|
4983
4994
|
```
|
|
4984
4995
|
|
|
4985
|
-
**언제 쓴다.** 사진·영상을 작은 썸네일로 보여 주고 누르면 화면 안에서 크게 볼 때 쓴다. 앱 웹뷰에서 원본 주소로 이동하면 앱을 벗어나므로 링크 대신 쓴다. `type`(`image`·`video`, 기본 `image`), `size`(`s` 64·`m` 96 정사각형, `l` 폭을 채우되 240 까지 4:3 — 말풍선 안). 올리는 중이면 `loading`, 실패하면 `invalid` 를 준다. 둘 다 누르면 열리지 않는다. `onRemove`·`removeLabel` 을 주면 오른쪽 위에 지우기 버튼이 생긴다. `closeLabel` 은 뷰어 닫기 버튼 이름이라 필수다. 영상처럼 `alt` 가 없으면 `viewLabel` 이 버튼 이름이 된다. `className`·`style` 은 감싸는 div 에 붙는다.
|
|
4996
|
+
**언제 쓴다.** 사진·영상을 작은 썸네일로 보여 주고 누르면 화면 안에서 크게 볼 때 쓴다. 앱 웹뷰에서 원본 주소로 이동하면 앱을 벗어나므로 링크 대신 쓴다. `type`(`image`·`video`·`file`, 기본 `image`), `size`(`s` 64·`m` 96 정사각형, `l` 폭을 채우되 240 까지 4:3 — 말풍선 안). 올리는 중이면 `loading`, 실패하면 `invalid` 를 준다. 둘 다 누르면 열리지 않는다. `onRemove`·`removeLabel` 을 주면 오른쪽 위에 지우기 버튼이 생긴다. `closeLabel` 은 뷰어 닫기 버튼 이름이라 필수다. 영상처럼 `alt` 가 없으면 `viewLabel` 이 버튼 이름이 된다. `className`·`style` 은 감싸는 div 에 붙는다.
|
|
4986
4997
|
|
|
4987
4998
|
- `pressEffect`(기본 `true`): 썸네일을 누르는 동안 살짝 줄어든다. 지우기 버튼에는 붙지 않는다. `false`면 끈다.
|
|
4988
4999
|
- `badge`: 왼쪽 위 딱지 글자(예: '대표' · '숨김'). `badgeVariant` 는 `'brand'`(기본, 보라) · `'dark'`(반투명 검정). 대표처럼 고른 것은 brand, 숨김 같은 상태는 dark.
|
|
4989
5000
|
- `views`: 왼쪽 아래 조회수(예: '412K'). 재생 표시와 함께 흰 글자로 얹는다. 숫자를 줄여 쓰는 것은 쓰는 쪽이 한다.
|
|
4990
5001
|
- `dimmed`: 숨긴 콘텐츠. 사진 위를 흐린 막으로 덮는다. 딱지·조회수는 막 위에 남고 누르면 그대로 열린다.
|
|
4991
5002
|
- `fill`: 부모 칸 폭을 채우는 정사각. `size` 보다 앞선다. 내 콘텐츠처럼 3열 그리드 칸을 채울 때 쓴다.
|
|
5003
|
+
- `type='file'`: PDF 같은 파일. 뷰어를 쓰지 않고 `src` 를 새 창 링크(`<a target="_blank" rel="noopener noreferrer">`)로 연다. 앱 웹뷰는 바깥 주소를 인앱 브라우저로 넘긴다. 파일 아이콘과 `fileName`(한 줄로 자른다), 그 확장자 딱지(`견적서.pdf` → PDF, pdf 면 PDF 아이콘)를 그린다. `size='s'` 에는 글자가 안 보이고 아이콘만 보인다. `size='l'` 은 4:3 대신 가로로 눕힌 판이다. 링크 이름은 `viewLabel`, 없으면 `fileName` 이다(`alt` 는 쓰지 않는다). `loading`·`invalid` 면 링크 대신 열리지 않는 버튼이다. `closeLabel` 은 필수 prop 이라 주지만 쓰이지 않는다.
|
|
4992
5004
|
|
|
4993
5005
|
**쓰지 않는다.** 누를 일 없는 사람 사진은 Avatar 를 쓴다. 썸네일 없이 버튼 하나로 크게 보이려면 MediaViewer 의 `trigger` 를 쓴다.
|
|
4994
5006
|
|
|
@@ -4998,7 +5010,7 @@ import { MediaThumbnail } from '@nurihaus/web-design-system'; // 루
|
|
|
4998
5010
|
|
|
4999
5011
|
| 요소 | 속성 | 값 |
|
|
5000
5012
|
| --- | --- | --- |
|
|
5001
|
-
| `.media-thumbnail-open` | `role` | `button` |
|
|
5013
|
+
| `.media-thumbnail-open` | `role` | `button` · `link` |
|
|
5002
5014
|
| `.media-thumbnail-open` | `aria-label` | (있음) |
|
|
5003
5015
|
| `.media-thumbnail-open` | `aria-haspopup` | `dialog` |
|
|
5004
5016
|
| `.media-thumbnail-open` | `aria-expanded` | `true` · `false` |
|
|
@@ -5009,13 +5021,14 @@ import { MediaThumbnail } from '@nurihaus/web-design-system'; // 루
|
|
|
5009
5021
|
| `.media-thumbnail-open` | `aria-busy` | `true` |
|
|
5010
5022
|
| `.media-thumbnail-remove` | `role` | `button` |
|
|
5011
5023
|
| `.media-thumbnail-remove` | `aria-label` | (있음) |
|
|
5012
|
-
| `.media-thumbnail-open` | 키보드 | Enter · Space → 뷰어를 연다 |
|
|
5024
|
+
| `.media-thumbnail-open` | 키보드 | Enter · Space → 뷰어를 연다. `type='file'` 이면 링크라 Enter → 새 창으로 연다 |
|
|
5013
5025
|
|
|
5014
5026
|
쓰는 쪽이 단다.
|
|
5015
5027
|
|
|
5016
5028
|
| 무엇 | 어디에 | 왜 |
|
|
5017
5029
|
| --- | --- | --- |
|
|
5018
5030
|
| `alt` 또는 `viewLabel` | MediaThumbnail | 썸네일 버튼과 뷰어의 이름. 둘 다 없으면 이름이 없다 |
|
|
5031
|
+
| `viewLabel` 또는 `fileName` | `type='file'` 일 때 | 파일 링크의 이름. 새 창으로 열린다는 것까지 담으려면 `viewLabel` 을 준다(예: 'PDF 열기: 견적서.pdf') |
|
|
5019
5032
|
| `closeLabel` | MediaThumbnail | 뷰어 닫기 버튼의 이름. 필수 prop 이다 |
|
|
5020
5033
|
| `alt` 에 딱지 · 조회수 · 숨김 | `badge` · `views` · `dimmed` 를 줄 때 | 버튼 이름은 `alt` 라 얹은 글자는 읽히지 않는다(예: '대표 콘텐츠, 조회수 41만 2천') |
|
|
5021
5034
|
| `removeLabel` | `onRemove` 를 줄 때 | 지우기 버튼의 이름. 없으면 이름 없는 버튼이 된다 |
|
|
@@ -5031,6 +5044,17 @@ import { MediaThumbnail } from '@nurihaus/web-design-system'; // 루
|
|
|
5031
5044
|
/>
|
|
5032
5045
|
```
|
|
5033
5046
|
|
|
5047
|
+
```tsx
|
|
5048
|
+
<MediaThumbnail
|
|
5049
|
+
src="https://example.com/estimate.pdf"
|
|
5050
|
+
type="file"
|
|
5051
|
+
fileName="견적서.pdf"
|
|
5052
|
+
viewLabel="PDF 열기: 견적서.pdf"
|
|
5053
|
+
closeLabel="닫기"
|
|
5054
|
+
size="l"
|
|
5055
|
+
/>
|
|
5056
|
+
```
|
|
5057
|
+
|
|
5034
5058
|
**반응형.** 그대로 됨. 최대 240px 이라 360 안에 든다. 지우기 버튼은 이미 `--touch-target` 이다.
|
|
5035
5059
|
|
|
5036
5060
|
**모션.** press(`pressEffect`) · busy(`loading`). 토큰 값과 규칙은 `motion.md`.
|
|
@@ -5039,7 +5063,9 @@ import { MediaThumbnail } from '@nurihaus/web-design-system'; // 루
|
|
|
5039
5063
|
|
|
5040
5064
|
| prop | 타입 | 필수 | 기본값 |
|
|
5041
5065
|
| --- | --- | --- | --- |
|
|
5066
|
+
| `type` | `'video' \| 'image' \| 'file'` | | `'image'` |
|
|
5042
5067
|
| `size` | `'s' \| 'm' \| 'l'` | | `'m'` |
|
|
5068
|
+
| `fileName` | `string` | | |
|
|
5043
5069
|
| `viewLabel` | `string` | | |
|
|
5044
5070
|
| `loading` | `boolean` | | |
|
|
5045
5071
|
| `invalid` | `boolean` | | |
|
|
@@ -5050,9 +5076,8 @@ import { MediaThumbnail } from '@nurihaus/web-design-system'; // 루
|
|
|
5050
5076
|
| `views` | `ReactNode` | | |
|
|
5051
5077
|
| `dimmed` | `boolean` | | |
|
|
5052
5078
|
| `fill` | `boolean` | | |
|
|
5053
|
-
| `src` | `string` | 예 | |
|
|
5054
|
-
| `type` | `'video' \| 'image'` | | `'image'` |
|
|
5055
5079
|
| `alt` | `string` | | |
|
|
5080
|
+
| `src` | `string` | 예 | |
|
|
5056
5081
|
| `closeLabel` | `string` | 예 | |
|
|
5057
5082
|
| `className` | `string` | | |
|
|
5058
5083
|
| `style` | `CSSProperties` | | |
|
|
@@ -5212,7 +5237,7 @@ import { Paragraph } from '@nurihaus/web-design-system'; // 루트.
|
|
|
5212
5237
|
| prop | 타입 | 필수 | 기본값 |
|
|
5213
5238
|
| --- | --- | --- | --- |
|
|
5214
5239
|
| `label` | `string` | | |
|
|
5215
|
-
| `name` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| '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'` | 예 | |
|
|
5240
|
+
| `name` | `'circle' \| 'link' \| 'image' \| 'x' \| 'warning' \| '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' \| 'file' \| 'file-pdf' \| 'upload-simple' \| 'calendar-blank' \| 'clock' \| 'map-pin' \| 'truck' \| 'ticket' \| 'qr-code' \| 'sparkle' \| 'gift' \| 'wallet' \| 'bank' \| 'credit-card' \| 'check-circle' \| 'check' \| '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'` | 예 | |
|
|
5216
5241
|
| `weight` | `'fill' \| 'regular'` | | `'regular'` |
|
|
5217
5242
|
|
|
5218
5243
|
이 밖에 React·HTML 기본 속성 474개를 받는다.
|
package/dist/ai/motion.md
CHANGED
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
| MotionProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
470
470
|
| Callout | – | – | – | ✓ | – | – | – | – | – | – | – | – | – | – | ✓ | – | – | – |
|
|
471
471
|
| Card | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – | – | – |
|
|
472
|
-
| MemberCard | ✓ scale | – | – |
|
|
472
|
+
| MemberCard | ✓ scale | – | – | opt | opt | – | – | – | – | ✓ | opt | – | – | – | opt | – | – | – |
|
|
473
473
|
| TierLadder | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
474
474
|
| ListGroup | – | – | – | – | – | – | opt | – | – | – | – | – | – | – | – | – | – | – |
|
|
475
475
|
| ListRow | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – | – | – |
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
- **MotionProvider** 없음. DOM 을 그리지 않는다. 다른 컴포넌트의 motion 층이 이 아래에서 돈다
|
|
561
561
|
- **Callout** enter: 대상에 붙은 말풍선. 꼬리에서 pop 으로 나타난다(ADR 0007) (KAN-9518) · attention: 나타난 뒤 세 번 둥실 움직인다(ADR 0007). 3회 자동 재생은 ADR 0007 의 예외로 카탈로그 attention 에 적었다 (KAN-9525)
|
|
562
562
|
- **Card** press[scale]: 링크·버튼 카드(asChild 로 a[href]·button)는 누르는 표면이다. 보기만 하는 카드는 붙지 않는다 (KAN-9451) · attention(opt): 카드. 방금 생긴 카드를 쓰는 쪽이 ref 메서드로 짚는다 (KAN-9525)
|
|
563
|
-
- **MemberCard** press[scale]: 뒤집을 수 있는 카드는 버튼이다. flippable={false} 면 붙지 않는다 (KAN-10213) · flip: 누르면 Y 축으로 반 바퀴 돌아 다른 면을 보인다 (KAN-10213) · attention(opt): 보이는 면에 빛이 한 번 지나간다. 쓰는 쪽이 effectRef.current.shine() 으로 부를 때만 (KAN-10213) · tilt(opt): depth 를 주면 누른 채 움직이는 손가락을 따라 기울고, 놓으면 스프링으로 돌아온다 (KAN-10213)
|
|
563
|
+
- **MemberCard** press[scale]: 뒤집을 수 있는 카드는 버튼이다. flippable={false} 면 붙지 않는다 (KAN-10213) · flip: 누르면 Y 축으로 반 바퀴 돌아 다른 면을 보인다 (KAN-10213) · attention(opt): 보이는 면에 빛이 한 번 지나간다. 쓰는 쪽이 effectRef.current.shine() 으로 부를 때만 (KAN-10213) · tilt(opt): depth 를 주면 누른 채 움직이는 손가락을 따라 기울고, 놓으면 스프링으로 돌아온다 (KAN-10213) · enter(opt): expandable 을 주면 누를 때 카드가 화면 가운데로 일어서며 커진다(View Transitions). 없으면 바탕은 fade, 상자는 scale 로 들어온다 (KAN-10360) · exit(opt): enter 와 같은 대상. 닫으면 제자리로 다시 눕는다 (KAN-10360)
|
|
564
564
|
- **TierLadder** press[dim]: 칸마다 고르는 표면이다. 사다리 안의 칸이라 줄이지 않고 딤만 쓴다 (KAN-10360)
|
|
565
565
|
- **ListGroup** reveal(opt): stagger prop 을 줄 때만 행이 차례로 나타난다 (KAN-9544)
|
|
566
566
|
- **ListRow** press[dim]: onClick·링크가 있는 행은 누르는 표면이다. 폭이 꽉 찬 행이라 scale 대신 배경이 어두워진다 (KAN-9451) · attention(opt): 행. 방금 바뀐 행을 쓰는 쪽이 effectRef 로 shine·blink 를 부른다 (KAN-9544)
|
package/dist/chunk-7653.js
CHANGED
|
@@ -98,6 +98,14 @@ var iconPaths = {
|
|
|
98
98
|
regular: ['M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z'],
|
|
99
99
|
fill: ['M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z']
|
|
100
100
|
},
|
|
101
|
+
file: {
|
|
102
|
+
regular: ['M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z'],
|
|
103
|
+
fill: ['M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z']
|
|
104
|
+
},
|
|
105
|
+
'file-pdf': {
|
|
106
|
+
regular: ['M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z'],
|
|
107
|
+
fill: ['M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z']
|
|
108
|
+
},
|
|
101
109
|
'upload-simple': {
|
|
102
110
|
regular: ['M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z'],
|
|
103
111
|
fill: ['M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM88,80h32v64a8,8,0,0,0,16,0V80h32a8,8,0,0,0,5.66-13.66l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,88,80Z']
|
|
@@ -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: {
|
|
@@ -75,6 +75,14 @@ export declare const iconPaths: {
|
|
|
75
75
|
readonly regular: readonly ["M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"];
|
|
76
76
|
readonly fill: readonly ["M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z"];
|
|
77
77
|
};
|
|
78
|
+
readonly file: {
|
|
79
|
+
readonly regular: readonly ["M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"];
|
|
80
|
+
readonly fill: readonly ["M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"];
|
|
81
|
+
};
|
|
82
|
+
readonly 'file-pdf': {
|
|
83
|
+
readonly regular: readonly ["M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"];
|
|
84
|
+
readonly fill: readonly ["M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z"];
|
|
85
|
+
};
|
|
78
86
|
readonly 'upload-simple': {
|
|
79
87
|
readonly regular: readonly ["M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM93.66,77.66,120,51.31V144a8,8,0,0,0,16,0V51.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,77.66Z"];
|
|
80
88
|
readonly fill: readonly ["M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0ZM88,80h32v64a8,8,0,0,0,16,0V80h32a8,8,0,0,0,5.66-13.66l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,88,80Z"];
|
|
@@ -14,7 +14,7 @@ declare const meta: {
|
|
|
14
14
|
control: {
|
|
15
15
|
type: "select";
|
|
16
16
|
};
|
|
17
|
-
options: ("
|
|
17
|
+
options: ("link" | "circle" | "image" | "x" | "copy" | "caret-right" | "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" | "file" | "file-pdf" | "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-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: {
|
|
@@ -283,12 +283,12 @@ declare const meta: {
|
|
|
283
283
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
284
284
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
285
285
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
286
|
-
loading?: boolean | undefined;
|
|
287
|
-
border?: (typeof footerBorder)[number] | undefined;
|
|
288
286
|
asChild?: boolean | undefined;
|
|
289
287
|
trackProps?: Record<string, string | number | boolean> | undefined;
|
|
290
288
|
pressEffect?: boolean | undefined;
|
|
289
|
+
border?: (typeof footerBorder)[number] | undefined;
|
|
291
290
|
icon?: import("../..").IconName | undefined;
|
|
291
|
+
loading?: boolean | 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;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const sizes: readonly ["s", "m", "l"];
|
|
2
2
|
export declare const mediaTypes: readonly ["image", "video"];
|
|
3
|
+
/** 썸네일만 file(PDF 등)을 더 받는다. 뷰어는 파일을 그리지 않고 새 창으로 연다 */
|
|
4
|
+
export declare const thumbnailTypes: readonly ["image", "video", "file"];
|
|
3
5
|
/** 썸네일 위 딱지 색. brand 는 보라(대표), dark 는 반투명 검정(숨김 등 상태) */
|
|
4
6
|
export declare const badgeVariant: readonly ["brand", "dark"];
|
|
5
7
|
export declare const mediaThumbnailProps: {
|
|
@@ -20,7 +20,7 @@ declare const meta: {
|
|
|
20
20
|
control: {
|
|
21
21
|
type: "select";
|
|
22
22
|
};
|
|
23
|
-
options: readonly ["image", "video"];
|
|
23
|
+
options: readonly ["image", "video", "file"];
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
args: {
|
|
@@ -43,3 +43,7 @@ export declare const InBubble: Story;
|
|
|
43
43
|
export declare const MotionPress: Story;
|
|
44
44
|
/** 3열 그리드 칸을 fill 로 채우고 위 딱지 · 조회수 · 숨김을 얹는다(내 콘텐츠). */
|
|
45
45
|
export declare const Overlays: Story;
|
|
46
|
+
/** 첨부 고르기(size s). 파일 아이콘만 보이고, 올리는 중 · 실패면 열리지 않는다. */
|
|
47
|
+
export declare const FilePicker: Story;
|
|
48
|
+
/** 말풍선 안(size l). 누르면 src 를 새 창으로 연다. 긴 이름은 한 줄로 자른다. */
|
|
49
|
+
export declare const FileInBubble: Story;
|
|
@@ -2,7 +2,7 @@ import { ComponentPropsWithRef, ReactElement, ReactNode } from 'react';
|
|
|
2
2
|
import { PressEffectProps } from '../../helpers/motion/motion-props';
|
|
3
3
|
import { AsChildProps, StyleProps } from '../../helpers/types/common-props';
|
|
4
4
|
import { TrackProps } from '../logging/logging-type';
|
|
5
|
-
import { badgeVariant, mediaTypes, sizes } from './media-props';
|
|
5
|
+
import { badgeVariant, mediaTypes, sizes, thumbnailTypes } from './media-props';
|
|
6
6
|
export interface MediaViewerRootProps {
|
|
7
7
|
open?: boolean;
|
|
8
8
|
defaultOpen?: boolean;
|
|
@@ -33,9 +33,13 @@ export interface MediaViewerProps extends MediaViewerRootProps, MediaSourceProps
|
|
|
33
33
|
/** 뷰어를 그릴 요소. 없으면 document.body */
|
|
34
34
|
portalContainer?: HTMLElement;
|
|
35
35
|
}
|
|
36
|
-
export interface MediaThumbnailProps extends MediaSourceProps, StyleProps, TrackProps, PressEffectProps {
|
|
36
|
+
export interface MediaThumbnailProps extends Omit<MediaSourceProps, 'type'>, StyleProps, TrackProps, PressEffectProps {
|
|
37
|
+
/** file 이면 뷰어 대신 src 를 새 창 링크로 연다(PDF 등) */
|
|
38
|
+
type?: (typeof thumbnailTypes)[number];
|
|
37
39
|
size?: (typeof sizes)[number];
|
|
38
|
-
/**
|
|
40
|
+
/** type 이 file 일 때 화면에 보이는 파일 이름(예: '견적서.pdf'). 확장자가 딱지(PDF)가 된다 */
|
|
41
|
+
fileName?: string;
|
|
42
|
+
/** alt 가 없을 때(영상 등) 썸네일 버튼의 aria-label (예: '영상 보기'). file 이면 링크 이름이고 없으면 fileName */
|
|
39
43
|
viewLabel?: string;
|
|
40
44
|
/** 올리는 중. 흰 막과 스피너를 덮고 열리지 않는다 */
|
|
41
45
|
loading?: boolean;
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Dialog } from 'radix-ui';
|
|
3
|
+
import { BaseMemberCardProps, MemberCardDialogContentProps } from './member-card-type';
|
|
2
4
|
declare const BaseMemberCard: import("react").ForwardRefExoticComponent<BaseMemberCardProps & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
export declare const MemberCardDialog: {
|
|
6
|
+
(props: PropsWithChildren<{
|
|
7
|
+
open: boolean;
|
|
8
|
+
onOpenChange: (open: boolean) => void;
|
|
9
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
} & {
|
|
12
|
+
Trigger: import("react").ForwardRefExoticComponent<Dialog.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
Content: import("react").ForwardRefExoticComponent<MemberCardDialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
Title: {
|
|
15
|
+
(props: {
|
|
16
|
+
children: string;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
Close: import("react").ForwardRefExoticComponent<Dialog.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
};
|
|
3
22
|
export default BaseMemberCard;
|
|
@@ -56,6 +56,24 @@ export interface MemberCardProps extends Omit<HTMLAttributes<HTMLElement>, 'chil
|
|
|
56
56
|
depth?: boolean;
|
|
57
57
|
/** effectRef.current.shine() 으로 보이는 면에 빛을 한 번 지나가게 한다 */
|
|
58
58
|
effectRef?: Ref<AttentionHandle>;
|
|
59
|
+
/**
|
|
60
|
+
* 기본 false. true 면 카드가 흰 바탕 위에 뒤로 눕혀 놓인 물체처럼 쉬고(뒤집기·기울기 없음), 누르면 어두운 바탕 위
|
|
61
|
+
* 화면 가운데로 일어서며 커진다. 펼친 카드는 depth·flippable 이다. 바탕·닫기·Esc·뒤로 가기로 닫으면 제자리로 눕는다
|
|
62
|
+
*/
|
|
63
|
+
expandable?: boolean;
|
|
64
|
+
/** expandable 의 펼친 카드 아래에 놓는 내용(설명 한 줄·링크 등) */
|
|
65
|
+
expandedDetail?: ReactNode;
|
|
66
|
+
/** expandable 의 닫기 버튼 이름(aria-label). 기본 '닫기' */
|
|
67
|
+
closeLabel?: string;
|
|
68
|
+
}
|
|
69
|
+
/** MemberCard 안에서만 쓴다. 쉬는 자세(expandable)의 카드는 뒤집지 않지만 누르는 button 이다 */
|
|
70
|
+
export interface MemberCardViewProps extends Omit<MemberCardProps, 'expandable' | 'expandedDetail' | 'closeLabel'> {
|
|
71
|
+
rest?: boolean;
|
|
72
|
+
}
|
|
73
|
+
/** MemberCard 안에서만 쓴다. expandable 일 때 쉬는 카드와 펼친 카드를 함께 그린다 */
|
|
74
|
+
export type MemberCardExpandableProps = Omit<MemberCardProps, 'expandable'>;
|
|
75
|
+
export interface MemberCardDialogContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
76
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
59
77
|
}
|
|
60
78
|
export interface TierLadderProps extends StyleProps, TrackProps, PressEffectProps {
|
|
61
79
|
/** 지금 보는(고른) 등급. 칸 이름이 굵고 진해진다. value·defaultValue 가 없으면 current, 그것도 없으면 starter */
|
|
@@ -43,3 +43,5 @@ export declare const NotFlippable: Story;
|
|
|
43
43
|
export declare const MotionShine: Story;
|
|
44
44
|
/** 누른 채 움직이면(마우스는 올려만 놔도) 기울고 빛·두께가 따라온다. 놓으면 돌아온다 */
|
|
45
45
|
export declare const Depth: Story;
|
|
46
|
+
/** 흰 바탕에 뒤로 눕혀 쉰다. 누르면 가운데로 일어서며 커지고, 거기서 기울이고 뒤집는다. 바탕·닫기·Esc 로 닫는다 */
|
|
47
|
+
export declare const Expandable: Story;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
321
|
+
variant?: (typeof variants)[number] | undefined;
|
|
322
322
|
height?: number | string | undefined;
|
|
323
323
|
width?: number | string | undefined;
|
|
324
|
-
|
|
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;
|
|
@@ -302,9 +302,9 @@ declare const meta: {
|
|
|
302
302
|
onEntered?: (() => void) | undefined;
|
|
303
303
|
onExited?: (() => void) | undefined;
|
|
304
304
|
action?: import("./toast-type").ToastAction | undefined;
|
|
305
|
-
description?: import("react").ReactNode;
|
|
306
305
|
onResume?: (() => void) | undefined;
|
|
307
306
|
duration?: number | undefined;
|
|
307
|
+
description?: import("react").ReactNode;
|
|
308
308
|
showClose?: boolean | undefined;
|
|
309
309
|
ref?: import("react").LegacyRef<HTMLLIElement> | undefined;
|
|
310
310
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|