@nurihaus/web-design-system 3.13.0 → 3.14.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 +4 -1
- package/dist/ai/motion.md +108 -87
- package/dist/ai/tokens.md +5 -0
- package/dist/bottom-sheet.js +10 -8
- package/dist/chunk-4324.js +3 -4
- package/dist/chunk-6706.js +3 -4
- package/dist/chunk-8982.js +11 -0
- package/dist/chunk-9717.js +19 -0
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +5 -5
- package/dist/components/empty-state/empty-state.stories.d.ts +12 -12
- package/dist/components/list/list-footer.stories.d.ts +6 -6
- 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 +7 -2
- package/dist/components/member-card/member-card.stories.d.ts +2 -0
- 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 +6 -6
- package/dist/components/toast/toast.stories.d.ts +6 -6
- package/dist/components/top/top.stories.d.ts +4 -4
- package/dist/components.css +165 -11
- package/dist/drawer.js +7 -5
- package/dist/helpers/motion/prefers-reduced-motion.d.ts +2 -0
- package/dist/highlight.js +10 -8
- package/dist/icon-text-badge.js +9 -7
- package/dist/index.js +181 -42
- package/dist/member-card.js +152 -33
- package/dist/modal-with-double-button.js +17 -15
- package/dist/modal.js +9 -7
- package/dist/option-badge.js +9 -7
- package/dist/overlay.js +23 -21
- package/dist/segmented-control.js +4 -2
- package/dist/slider.js +6 -4
- package/dist/styles.css +149 -11
- package/dist/tabs.js +4 -2
- package/dist/toast.js +16 -14
- package/dist/tokens/generated/motion.d.ts +11 -0
- package/dist/tokens.css +5 -0
- package/dist/tokens.js +11 -0
- package/dist/tooltip.js +5 -3
- package/package.json +1 -1
package/dist/ai/components.md
CHANGED
|
@@ -1089,6 +1089,7 @@ import { Checkbox } from '@nurihaus/web-design-system'; // 루트.
|
|
|
1089
1089
|
- `pressEffect`(기본 `true`): 체크 칸을 누르는 동안 살짝 줄어든다. `false`면 끈다.
|
|
1090
1090
|
- 체크하면 보라 채움과 흰 체크가 짧게 떠오르고, 해제하면 사라진다(CSS 전환이라 `MotionProvider` 가 없어도 움직인다). 세기 prop 은 없다.
|
|
1091
1091
|
- `delay`(ms, 기본 `0`): 체크가 바뀐 뒤 색이 바뀌기까지 기다리는 시간이다. 전체 동의 뒤 항목이 차례로 켜지는 연출에 쓴다.
|
|
1092
|
+
- 누르는 자리는 상자와 라벨 글자까지다. 루트 폭이 내용 폭(`fit-content`)이라 부모가 넓어도 줄의 빈 곳은 눌리지 않는다.
|
|
1092
1093
|
- `disabled`인 체크박스를 누르면 좌우로 흔들린다. 꺼진 버튼에도 오는 `pointerdown`으로 알아채므로 Chromium 에서 동작하고 Firefox 는 보내지 않을 수 있다.
|
|
1093
1094
|
|
|
1094
1095
|
**쓰지 않는다.** 여러 선택지 중 하나만 골라야 하면 Radio를, 목록에서 값 하나를 고르면 DropDown을 쓴다.
|
|
@@ -3487,6 +3488,7 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3487
3488
|
|
|
3488
3489
|
- `pressEffect`(기본 `true`): 누르는 동안 살짝 줄어든다. `false`면 끈다. `flippable={false}` 면 붙지 않는다.
|
|
3489
3490
|
- 뒤집기는 `--motion-flip-spring-*` 스프링으로 돈다. 동작 줄이기면 돌지 않고 바로 바뀐다.
|
|
3491
|
+
- `depth`(기본 `false`): 누른 채 움직이는 손가락을 따라 기울고(마우스는 올려만 놔도 조금), 손가락 반대편 반사광·등급 오로라의 무지갯빛 결·두께·바닥 그림자가 함께 움직인다. 놓으면 `--motion-tilt-spring-*` 스프링으로 평평하게 돌아온다. 세로로 미는 손가락은 스크롤이고 가로로 움직일 때 기운다. 기울이다 놓으면 뒤집지 않는다. 쉬는 동안은 평평해서 글자가 선명하다. 한 화면에 한 장으로 떠 있는 카드(마이페이지)에만 쓴다. 동작 줄이기면 기울지 않는다.
|
|
3490
3492
|
- `effectRef`: `effectRef.current.shine()` 을 부르면 보이는 면에 빛이 한 번 지나간다. 저절로 재생하지 않는다. 가입 완료처럼 보여 줄 순간에 쓰는 쪽이 부른다.
|
|
3491
3493
|
|
|
3492
3494
|
**쓰지 않는다.** 크리에이터 목록의 한 줄은 ListRow 를 쓴다. 운영 화면의 크리에이터 상세는 Card 와 DescriptionList 를 쓴다.
|
|
@@ -3524,7 +3526,7 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3524
3526
|
|
|
3525
3527
|
**반응형.** 그대로 됨. 폭이 부모를 따르고 높이는 카드 비율(1.586:1)로 정해진다. 한 면이 통째로 누르는 자리다.
|
|
3526
3528
|
|
|
3527
|
-
**모션.** press(`pressEffect`) · flip · attention(opt). 토큰 값과 규칙은 `motion.md`.
|
|
3529
|
+
**모션.** press(`pressEffect`) · flip · attention(opt) · tilt(opt, `depth`). 토큰 값과 규칙은 `motion.md`.
|
|
3528
3530
|
|
|
3529
3531
|
### props
|
|
3530
3532
|
|
|
@@ -3545,6 +3547,7 @@ import { MemberCard } from '@nurihaus/web-design-system'; // 루트.
|
|
|
3545
3547
|
| `defaultSide` | `'front' \| 'back'` | | `'front'` |
|
|
3546
3548
|
| `onSideChange` | `((side: 'front' \| 'back') => void)` | | |
|
|
3547
3549
|
| `flippable` | `boolean` | | `true` |
|
|
3550
|
+
| `depth` | `boolean` | | `false` |
|
|
3548
3551
|
| `effectRef` | `Ref<AttentionHandle>` | | |
|
|
3549
3552
|
| `track` | `string` | | |
|
|
3550
3553
|
| `trackProps` | `Record<string, string \| number \| boolean>` | | |
|
package/dist/ai/motion.md
CHANGED
|
@@ -204,6 +204,27 @@
|
|
|
204
204
|
| `spring` | `--motion-flip-spring-ease` | `var(--ease-spring-medium)` | `{"type":"spring","stiffness":270,"damping":25,"mass":1}` | stiffness 270 · damping 25 |
|
|
205
205
|
| | `--motion-flip-spring-duration` | `var(--duration-spring-medium)` | | |
|
|
206
206
|
|
|
207
|
+
### tilt
|
|
208
|
+
|
|
209
|
+
| 항목 | 내용 |
|
|
210
|
+
| --- | --- |
|
|
211
|
+
| 뜻 | 손가락을 따라 기울기 |
|
|
212
|
+
| 트리거 | 카드를 누른 채 움직이는 동안 손가락 쪽으로 기울고, 놓으면 스프링으로 평평하게 돌아온다. 마우스는 올려만 놔도 조금 기운다 |
|
|
213
|
+
| 붙는 곳 | 한 장으로 떠 있는 카드(MemberCard depth). 기울기를 따라 반사광·무지갯빛 결·그림자가 함께 움직인다 |
|
|
214
|
+
| 붙이지 않는 곳 | 저절로 흔들리기, 스크롤에 묶기, 목록 안의 여러 카드, 쉬는 동안 기울어 있기(글자가 흐려진다) |
|
|
215
|
+
| 구현층 | `css+hook` |
|
|
216
|
+
| prop | `depth` |
|
|
217
|
+
| reduced-motion | 기울지 않고 평평하게 서 있다 |
|
|
218
|
+
| 작업 | KAN-10213 |
|
|
219
|
+
|
|
220
|
+
| 키 | CSS 변수 | CSS 값 | JS `motionTokens['tilt']` | 풀린 값 |
|
|
221
|
+
| --- | --- | --- | --- | --- |
|
|
222
|
+
| `spring` | `--motion-tilt-spring-ease` | `var(--ease-spring-bounce)` | `{"type":"spring","stiffness":300,"damping":15,"mass":1}` | stiffness 300 · damping 15 |
|
|
223
|
+
| | `--motion-tilt-spring-duration` | `var(--duration-spring-bounce)` | | |
|
|
224
|
+
| `follow` | `--motion-tilt-follow` | `var(--duration-xs)` | `0.12` | 120ms |
|
|
225
|
+
| `angle` | `--motion-tilt-angle` | `14deg` | `"14deg"` | 14deg |
|
|
226
|
+
| `lift` | `--motion-tilt-lift` | `24px` | `"24px"` | 24px |
|
|
227
|
+
|
|
207
228
|
### expand
|
|
208
229
|
|
|
209
230
|
| 항목 | 내용 |
|
|
@@ -349,92 +370,92 @@
|
|
|
349
370
|
|
|
350
371
|
컴포넌트마다 어느 토큰이 붙는지 정한 표다. `✓` 는 규칙에 걸려 붙고, `opt` 는 prop 을 줄 때만 붙는다. 컴포넌트에 실제로 붙이는 일은 표의 작업 키가 한다.
|
|
351
372
|
|
|
352
|
-
| 컴포넌트 | press | confirm | reject | enter | exit | appear | reveal | progress | indicate | flip | expand | unfold | dismiss-on-scroll | attention | busy |
|
|
353
|
-
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
354
|
-
| Asset | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
355
|
-
| Avatar | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
356
|
-
| CTAButton | ✓ scale | – | ✓ | – | – | opt | – | – | – | – | – | – | – | – | ✓ |
|
|
357
|
-
| OptionBadge | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
358
|
-
| IconTextBadge | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
359
|
-
| IconTextOptionBadge | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
360
|
-
| DataTable | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
361
|
-
| TextField | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
362
|
-
| Radio | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
363
|
-
| Checkbox | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
364
|
-
| Switch | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
365
|
-
| TextArea | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
366
|
-
| Toast | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – |
|
|
367
|
-
| ToastProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
368
|
-
| Pagination | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
369
|
-
| Modal | – | – | opt | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – |
|
|
370
|
-
| Drawer | – | – | opt | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – |
|
|
371
|
-
| Skeleton | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
372
|
-
| SkeletonGroup | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
373
|
-
| Breadcrumb | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
374
|
-
| DropDown | ✓ dim | – | – | – | – | – | – | – | – | – | ✓ | ✓ | – | – | – |
|
|
375
|
-
| CollapsibleMenu | ✓ dim | – | – | – | – | – | – | – | – | – | ✓ | ✓ | – | – | – |
|
|
376
|
-
| Text | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
377
|
-
| Tooltip | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – |
|
|
378
|
-
| TooltipProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
379
|
-
| Tabs | ✓ dim | – | – | ✓ | – | – | – | – | ✓ | – | – | – | – | – | – |
|
|
380
|
-
| ModalWithDoubleButton | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – |
|
|
381
|
-
| Spinner | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
382
|
-
| InlineLoading | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
383
|
-
| OverlayLoading | – | – | – | ✓ | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
384
|
-
| ProgressBar | – | – | – | – | – | – | – | ✓ | – | – | – | – | – | – | ✓ |
|
|
385
|
-
| LoadingDots | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
386
|
-
| Icon | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
387
|
-
| BottomNav | ✓ scale | – | – | – | – | opt | – | – | – | – | – | – | opt | – | – |
|
|
388
|
-
| StepProgress | – | – | – | – | – | – | opt | ✓ | – | – | – | – | – | – | – |
|
|
389
|
-
| ChipGroup | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
390
|
-
| SegmentedControl | ✓ dim | – | – | – | – | – | – | – | ✓ | – | – | – | – | – | – |
|
|
391
|
-
| Slider | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
392
|
-
| Rating | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
393
|
-
| NumericSpinner | ✓ scale | – | ✓ | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
394
|
-
| LogProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
395
|
-
| MotionProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
396
|
-
| Callout | – | – | – | ✓ | – | – | – | – | – | – | – | – | – | ✓ | – |
|
|
397
|
-
| Card | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
398
|
-
| MemberCard | ✓ scale | – | – | – | – | – | – | – | – | ✓ | – | – | – | opt | – |
|
|
399
|
-
| ListGroup | – | – | – | – | – | – | opt | – | – | – | – | – | – | – | – |
|
|
400
|
-
| ListRow | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
401
|
-
| ListHeader | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
402
|
-
| Stat | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
403
|
-
| SectionHeader | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
404
|
-
| ListFooter | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
405
|
-
| TableRow | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
406
|
-
| Border | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
407
|
-
| BoardRow | ✓ dim | – | – | – | – | – | – | – | – | – | ✓ | – | – | – | – |
|
|
408
|
-
| GridList | ✓ scale | – | – | – | – | – | opt | – | – | – | – | – | – | – | – |
|
|
409
|
-
| DescriptionList | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
410
|
-
| Notice | – | – | – | opt | – | – | – | – | – | – | – | – | – | – | – |
|
|
411
|
-
| EmptyState | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
412
|
-
| Tag | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
413
|
-
| MessageThread | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
414
|
-
| Message | – | – | – | opt | – | – | – | – | – | – | – | – | – | – | – |
|
|
415
|
-
| MessageEvent | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
416
|
-
| MessageComposer | ✓ scale | – | ✓ | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
417
|
-
| BottomBar | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
418
|
-
| BottomCTA | – | – | – | – | – | opt | – | – | – | – | – | – | opt | – | – |
|
|
419
|
-
| Top | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
420
|
-
| MediaThumbnail | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
421
|
-
| MediaViewer | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – |
|
|
422
|
-
| IconButton | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
423
|
-
| TextButton | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
424
|
-
| OverlayProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
425
|
-
| Paragraph | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
426
|
-
| Post | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
427
|
-
| BottomInfo | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
428
|
-
| BarChart | – | – | – | – | – | – | opt | ✓ | – | – | – | – | – | – | – |
|
|
429
|
-
| Agreement | ✓ dim | ✓ | – | – | – | – | – | – | – | – | ✓ | – | – | – | – |
|
|
430
|
-
| SearchField | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
431
|
-
| SplitTextField | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
432
|
-
| NumberKeypad | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
433
|
-
| AlphabetKeypad | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
434
|
-
| FullSecureKeypad | ✓ scale | – | – | – | – | – | opt | – | – | – | – | – | – | – | – |
|
|
435
|
-
| BottomSheet | ✓ scale | – | opt | ✓ | ✓ | – | – | – | ✓ | – | – | – | – | – | – |
|
|
436
|
-
| Menu | ✓ dim | – | – | – | ✓ | – | – | – | – | – | – | ✓ | – | – | – |
|
|
437
|
-
| Highlight | – | – | – | ✓ | ✓ | opt | – | – | – | – | – | – | – | – | – |
|
|
373
|
+
| 컴포넌트 | press | confirm | reject | enter | exit | appear | reveal | progress | indicate | flip | tilt | expand | unfold | dismiss-on-scroll | attention | busy |
|
|
374
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
375
|
+
| Asset | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
376
|
+
| Avatar | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
377
|
+
| CTAButton | ✓ scale | – | ✓ | – | – | opt | – | – | – | – | – | – | – | – | – | ✓ |
|
|
378
|
+
| OptionBadge | – | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
379
|
+
| IconTextBadge | – | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
380
|
+
| IconTextOptionBadge | – | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
381
|
+
| DataTable | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
382
|
+
| TextField | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
383
|
+
| Radio | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
384
|
+
| Checkbox | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
385
|
+
| Switch | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
386
|
+
| TextArea | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
387
|
+
| Toast | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – | – |
|
|
388
|
+
| ToastProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
389
|
+
| Pagination | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
390
|
+
| Modal | – | – | opt | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – | – |
|
|
391
|
+
| Drawer | – | – | opt | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – | – |
|
|
392
|
+
| Skeleton | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
393
|
+
| SkeletonGroup | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
394
|
+
| Breadcrumb | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
395
|
+
| DropDown | ✓ dim | – | – | – | – | – | – | – | – | – | – | ✓ | ✓ | – | – | – |
|
|
396
|
+
| CollapsibleMenu | ✓ dim | – | – | – | – | – | – | – | – | – | – | ✓ | ✓ | – | – | – |
|
|
397
|
+
| Text | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
398
|
+
| Tooltip | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – | – |
|
|
399
|
+
| TooltipProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
400
|
+
| Tabs | ✓ dim | – | – | ✓ | – | – | – | – | ✓ | – | – | – | – | – | – | – |
|
|
401
|
+
| ModalWithDoubleButton | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – | – |
|
|
402
|
+
| Spinner | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
403
|
+
| InlineLoading | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
404
|
+
| OverlayLoading | – | – | – | ✓ | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
405
|
+
| ProgressBar | – | – | – | – | – | – | – | ✓ | – | – | – | – | – | – | – | ✓ |
|
|
406
|
+
| LoadingDots | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
407
|
+
| Icon | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
408
|
+
| BottomNav | ✓ scale | – | – | – | – | opt | – | – | – | – | – | – | – | opt | – | – |
|
|
409
|
+
| StepProgress | – | – | – | – | – | – | opt | ✓ | – | – | – | – | – | – | – | – |
|
|
410
|
+
| ChipGroup | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
411
|
+
| SegmentedControl | ✓ dim | – | – | – | – | – | – | – | ✓ | – | – | – | – | – | – | – |
|
|
412
|
+
| Slider | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
413
|
+
| Rating | ✓ scale | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
414
|
+
| NumericSpinner | ✓ scale | – | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
415
|
+
| LogProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
416
|
+
| MotionProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
417
|
+
| Callout | – | – | – | ✓ | – | – | – | – | – | – | – | – | – | – | ✓ | – |
|
|
418
|
+
| Card | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
419
|
+
| MemberCard | ✓ scale | – | – | – | – | – | – | – | – | ✓ | opt | – | – | – | opt | – |
|
|
420
|
+
| ListGroup | – | – | – | – | – | – | opt | – | – | – | – | – | – | – | – | – |
|
|
421
|
+
| ListRow | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | opt | – |
|
|
422
|
+
| ListHeader | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
423
|
+
| Stat | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
424
|
+
| SectionHeader | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
425
|
+
| ListFooter | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
426
|
+
| TableRow | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
427
|
+
| Border | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
428
|
+
| BoardRow | ✓ dim | – | – | – | – | – | – | – | – | – | – | ✓ | – | – | – | – |
|
|
429
|
+
| GridList | ✓ scale | – | – | – | – | – | opt | – | – | – | – | – | – | – | – | – |
|
|
430
|
+
| DescriptionList | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
431
|
+
| Notice | – | – | – | opt | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
432
|
+
| EmptyState | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
433
|
+
| Tag | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
434
|
+
| MessageThread | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
435
|
+
| Message | – | – | – | opt | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
436
|
+
| MessageEvent | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
437
|
+
| MessageComposer | ✓ scale | – | ✓ | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
438
|
+
| BottomBar | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
439
|
+
| BottomCTA | – | – | – | – | – | opt | – | – | – | – | – | – | – | opt | – | – |
|
|
440
|
+
| Top | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
441
|
+
| MediaThumbnail | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
442
|
+
| MediaViewer | – | – | – | ✓ | ✓ | – | – | – | – | – | – | – | – | – | – | – |
|
|
443
|
+
| IconButton | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
|
|
444
|
+
| TextButton | ✓ dim | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
445
|
+
| OverlayProvider | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
446
|
+
| Paragraph | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
447
|
+
| Post | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
448
|
+
| BottomInfo | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
449
|
+
| BarChart | – | – | – | – | – | – | opt | ✓ | – | – | – | – | – | – | – | – |
|
|
450
|
+
| Agreement | ✓ dim | ✓ | – | – | – | – | – | – | – | – | – | ✓ | – | – | – | – |
|
|
451
|
+
| SearchField | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
452
|
+
| SplitTextField | opt scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
453
|
+
| NumberKeypad | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
454
|
+
| AlphabetKeypad | ✓ scale | – | – | – | – | – | – | – | – | – | – | – | – | – | – | – |
|
|
455
|
+
| FullSecureKeypad | ✓ scale | – | – | – | – | – | opt | – | – | – | – | – | – | – | – | – |
|
|
456
|
+
| BottomSheet | ✓ scale | – | opt | ✓ | ✓ | – | – | – | ✓ | – | – | – | – | – | – | – |
|
|
457
|
+
| Menu | ✓ dim | – | – | – | ✓ | – | – | – | – | – | – | – | ✓ | – | – | – |
|
|
458
|
+
| Highlight | – | – | – | ✓ | ✓ | opt | – | – | – | – | – | – | – | – | – | – |
|
|
438
459
|
|
|
439
460
|
### 판단 근거
|
|
440
461
|
|
|
@@ -482,7 +503,7 @@
|
|
|
482
503
|
- **MotionProvider** 없음. DOM 을 그리지 않는다. 다른 컴포넌트의 motion 층이 이 아래에서 돈다
|
|
483
504
|
- **Callout** enter: 대상에 붙은 말풍선. 꼬리에서 pop 으로 나타난다(ADR 0007) (KAN-9518) · attention: 나타난 뒤 세 번 둥실 움직인다(ADR 0007). 3회 자동 재생은 ADR 0007 의 예외로 카탈로그 attention 에 적었다 (KAN-9525)
|
|
484
505
|
- **Card** press[scale]: 링크·버튼 카드(asChild 로 a[href]·button)는 누르는 표면이다. 보기만 하는 카드는 붙지 않는다 (KAN-9451) · attention(opt): 카드. 방금 생긴 카드를 쓰는 쪽이 ref 메서드로 짚는다 (KAN-9525)
|
|
485
|
-
- **MemberCard** press[scale]: 뒤집을 수 있는 카드는 버튼이다. flippable={false} 면 붙지 않는다 (KAN-10213) · flip: 누르면 Y 축으로 반 바퀴 돌아 다른 면을 보인다 (KAN-10213) · attention(opt): 보이는 면에 빛이 한 번 지나간다. 쓰는 쪽이 effectRef.current.shine() 으로 부를 때만 (KAN-10213)
|
|
506
|
+
- **MemberCard** press[scale]: 뒤집을 수 있는 카드는 버튼이다. flippable={false} 면 붙지 않는다 (KAN-10213) · flip: 누르면 Y 축으로 반 바퀴 돌아 다른 면을 보인다 (KAN-10213) · attention(opt): 보이는 면에 빛이 한 번 지나간다. 쓰는 쪽이 effectRef.current.shine() 으로 부를 때만 (KAN-10213) · tilt(opt): depth 를 주면 누른 채 움직이는 손가락을 따라 기울고, 놓으면 스프링으로 돌아온다 (KAN-10213)
|
|
486
507
|
- **ListGroup** reveal(opt): stagger prop 을 줄 때만 행이 차례로 나타난다 (KAN-9544)
|
|
487
508
|
- **ListRow** press[dim]: onClick·링크가 있는 행은 누르는 표면이다. 폭이 꽉 찬 행이라 scale 대신 배경이 어두워진다 (KAN-9451) · attention(opt): 행. 방금 바뀐 행을 쓰는 쪽이 effectRef 로 shine·blink 를 부른다 (KAN-9544)
|
|
488
509
|
- **ListHeader** 없음. 제목·설명 글자. 우측 액션은 TextButton 이 press 를 받는다
|
package/dist/ai/tokens.md
CHANGED
|
@@ -673,6 +673,11 @@
|
|
|
673
673
|
| `--motion-indicate-spring-duration` | `var(--duration-spring-quick)` |
|
|
674
674
|
| `--motion-flip-spring-ease` | `var(--ease-spring-medium)` |
|
|
675
675
|
| `--motion-flip-spring-duration` | `var(--duration-spring-medium)` |
|
|
676
|
+
| `--motion-tilt-spring-ease` | `var(--ease-spring-bounce)` |
|
|
677
|
+
| `--motion-tilt-spring-duration` | `var(--duration-spring-bounce)` |
|
|
678
|
+
| `--motion-tilt-follow` | `var(--duration-xs)` |
|
|
679
|
+
| `--motion-tilt-angle` | `14deg` |
|
|
680
|
+
| `--motion-tilt-lift` | `24px` |
|
|
676
681
|
| `--motion-expand-duration` | `var(--duration-m)` |
|
|
677
682
|
| `--motion-expand-ease` | `var(--ease-out)` |
|
|
678
683
|
| `--motion-expand-rotate` | `180deg` |
|
package/dist/bottom-sheet.js
CHANGED
|
@@ -583,25 +583,27 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
583
583
|
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
584
584
|
/******/ import * as __webpack_chunk_4__ from "./chunk-3640.js";
|
|
585
585
|
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
586
|
-
/******/ import * as __webpack_chunk_5__ from "./chunk-
|
|
586
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-9717.js";
|
|
587
587
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
588
|
-
/******/ import * as __webpack_chunk_6__ from "./chunk-
|
|
588
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-6706.js";
|
|
589
589
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
590
|
-
/******/ import * as __webpack_chunk_7__ from "./chunk-
|
|
590
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-3297.js";
|
|
591
591
|
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
592
|
-
/******/ import * as __webpack_chunk_8__ from "./chunk-
|
|
592
|
+
/******/ import * as __webpack_chunk_8__ from "./chunk-8982.js";
|
|
593
593
|
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
594
|
-
/******/ import * as __webpack_chunk_9__ from "./chunk-
|
|
594
|
+
/******/ import * as __webpack_chunk_9__ from "./chunk-829.js";
|
|
595
595
|
/******/ __nuri_require__.C(__webpack_chunk_9__);
|
|
596
|
-
/******/ import * as __webpack_chunk_10__ from "./chunk-
|
|
596
|
+
/******/ import * as __webpack_chunk_10__ from "./chunk-4109.js";
|
|
597
597
|
/******/ __nuri_require__.C(__webpack_chunk_10__);
|
|
598
|
-
/******/ import * as __webpack_chunk_11__ from "./chunk-
|
|
598
|
+
/******/ import * as __webpack_chunk_11__ from "./chunk-4205.js";
|
|
599
599
|
/******/ __nuri_require__.C(__webpack_chunk_11__);
|
|
600
|
+
/******/ import * as __webpack_chunk_12__ from "./chunk-6478.js";
|
|
601
|
+
/******/ __nuri_require__.C(__webpack_chunk_12__);
|
|
600
602
|
/******/
|
|
601
603
|
/******/ // startup
|
|
602
604
|
/******/ // Load entry module and return exports
|
|
603
605
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
604
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,4560,1768,3640,6706,3297,8982,829,4109,4205,6478], () => (__nuri_require__(7963)))
|
|
606
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,4560,1768,3640,9717,6706,3297,8982,829,4109,4205,6478], () => (__nuri_require__(7963)))
|
|
605
607
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
606
608
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
607
609
|
/******/ export { __webpack_exports__default as default };
|
package/dist/chunk-4324.js
CHANGED
|
@@ -65,10 +65,9 @@ var useIndicatorPosition = function useIndicatorPosition(indicatorRef, selector)
|
|
|
65
65
|
/* harmony export */ L: () => (/* binding */ useScrollStart)
|
|
66
66
|
/* harmony export */ });
|
|
67
67
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(1041);
|
|
68
|
+
/* harmony import */ var _motion_prefers_reduced_motion__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(9717);
|
|
69
|
+
|
|
68
70
|
|
|
69
|
-
var prefersReducedMotion = function prefersReducedMotion() {
|
|
70
|
-
return typeof window.matchMedia === 'function' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
71
|
-
};
|
|
72
71
|
/**
|
|
73
72
|
* 가로로 넘친 목록이 처음에서 밀려났는지와 처음으로 되돌리는 함수. 밀려났을 때만 "처음으로" 화살표를 그린다.
|
|
74
73
|
* Tabs·SegmentedControl(fluid) 이 쓴다.
|
|
@@ -95,7 +94,7 @@ var useScrollStart = function useScrollStart(listRef) {
|
|
|
95
94
|
var _a;
|
|
96
95
|
(_a = listRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({
|
|
97
96
|
left: 0,
|
|
98
|
-
behavior: prefersReducedMotion() ? 'auto' : 'smooth'
|
|
97
|
+
behavior: (0,_motion_prefers_reduced_motion__WEBPACK_IMPORTED_MODULE_1__/* .prefersReducedMotion */ .O)() ? 'auto' : 'smooth'
|
|
99
98
|
});
|
|
100
99
|
};
|
|
101
100
|
return {
|
package/dist/chunk-6706.js
CHANGED
|
@@ -10,10 +10,9 @@ export const __webpack_esm_modules__ = {
|
|
|
10
10
|
/* harmony export */ r: () => (/* binding */ usePresenceCallbacks)
|
|
11
11
|
/* harmony export */ });
|
|
12
12
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(1041);
|
|
13
|
+
/* harmony import */ var _prefers_reduced_motion__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(9717);
|
|
14
|
+
|
|
13
15
|
|
|
14
|
-
var prefersReducedMotion = function prefersReducedMotion() {
|
|
15
|
-
return typeof window !== 'undefined' && typeof window.matchMedia === 'function' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
16
|
-
};
|
|
17
16
|
/**
|
|
18
17
|
* Radix Content 에 onAnimationEnd 를 달면 motion-enter-* 가 끝날 때 onEntered, motion-exit-* 가 끝날 때 onExited 를 부른다.
|
|
19
18
|
* 열고 닫을 때마다 한 번씩만 부른다.
|
|
@@ -48,7 +47,7 @@ var usePresenceCallbacks = function usePresenceCallbacks(_a) {
|
|
|
48
47
|
var transition = open ? 'enter' : 'exit';
|
|
49
48
|
pendingRef.current = transition;
|
|
50
49
|
// reduced-motion 이면 애니메이션 시간이 0 이라 animationend 가 오지 않을 수 있다
|
|
51
|
-
if (prefersReducedMotion()) settle(transition);
|
|
50
|
+
if ((0,_prefers_reduced_motion__WEBPACK_IMPORTED_MODULE_1__/* .prefersReducedMotion */ .O)()) settle(transition);
|
|
52
51
|
}, [open, settle]);
|
|
53
52
|
var onAnimationEnd = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {
|
|
54
53
|
if (event.target !== event.currentTarget) return;
|
package/dist/chunk-8982.js
CHANGED
|
@@ -154,6 +154,17 @@ var motionTokens = {
|
|
|
154
154
|
"mass": 1
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
|
+
"tilt": {
|
|
158
|
+
"spring": {
|
|
159
|
+
"type": "spring",
|
|
160
|
+
"stiffness": 300,
|
|
161
|
+
"damping": 15,
|
|
162
|
+
"mass": 1
|
|
163
|
+
},
|
|
164
|
+
"follow": 0.12,
|
|
165
|
+
"angle": "14deg",
|
|
166
|
+
"lift": "24px"
|
|
167
|
+
},
|
|
157
168
|
"expand": {
|
|
158
169
|
"duration": 0.24,
|
|
159
170
|
"ease": [0.25, 0.1, 0.25, 1],
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export const __webpack_esm_id__ = 9717;
|
|
3
|
+
export const __webpack_esm_ids__ = [9717];
|
|
4
|
+
export const __webpack_esm_modules__ = {
|
|
5
|
+
|
|
6
|
+
/***/ 9717
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ O: () => (/* binding */ prefersReducedMotion)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
/** 기기가 움직임 줄이기를 켰나. 서버 렌더와 matchMedia 가 없는 환경(jsdom 일부)은 false */
|
|
13
|
+
var prefersReducedMotion = function prefersReducedMotion() {
|
|
14
|
+
return typeof window !== 'undefined' && typeof window.matchMedia === 'function' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/***/ }
|
|
18
|
+
|
|
19
|
+
};
|
|
@@ -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
|
};
|
|
@@ -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;
|
|
305
|
+
figure?: never | undefined;
|
|
306
|
+
key?: import("react").Key | null | undefined;
|
|
307
307
|
variant?: (typeof variant)[number] | undefined;
|
|
308
308
|
icon: import("../..").IconName;
|
|
309
|
-
description?: import("react").ReactNode;
|
|
310
309
|
action?: import("react").ReactNode;
|
|
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,10 +576,12 @@ 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;
|
|
579
|
+
figure: import("react").ReactNode;
|
|
580
|
+
key?: import("react").Key | null | undefined;
|
|
581
581
|
variant?: (typeof variant)[number] | undefined;
|
|
582
582
|
icon?: never | undefined;
|
|
583
|
-
description?: import("react").ReactNode;
|
|
584
583
|
action?: import("react").ReactNode;
|
|
584
|
+
description?: import("react").ReactNode;
|
|
585
585
|
titleAs?: (typeof titleAs)[number] | undefined;
|
|
586
586
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
587
587
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -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,6 +281,8 @@ 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
288
|
asChild?: boolean | undefined;
|