@nurihaus/web-design-system 3.13.1 → 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 +3 -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 +10 -10
- 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 +152 -3
- 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 +136 -3
- 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/styles.css
CHANGED
|
@@ -218,6 +218,11 @@
|
|
|
218
218
|
--motion-indicate-spring-duration: var(--duration-spring-quick);
|
|
219
219
|
--motion-flip-spring-ease: var(--ease-spring-medium);
|
|
220
220
|
--motion-flip-spring-duration: var(--duration-spring-medium);
|
|
221
|
+
--motion-tilt-spring-ease: var(--ease-spring-bounce);
|
|
222
|
+
--motion-tilt-spring-duration: var(--duration-spring-bounce);
|
|
223
|
+
--motion-tilt-follow: var(--duration-xs);
|
|
224
|
+
--motion-tilt-angle: 14deg;
|
|
225
|
+
--motion-tilt-lift: 24px;
|
|
221
226
|
--motion-expand-duration: var(--duration-m);
|
|
222
227
|
--motion-expand-ease: var(--ease-out);
|
|
223
228
|
--motion-expand-rotate: 180deg;
|
|
@@ -3192,9 +3197,11 @@ p {
|
|
|
3192
3197
|
);
|
|
3193
3198
|
/* 오로라가 가장자리에서 카드 안쪽으로 들어오는 깊이 */
|
|
3194
3199
|
--member-card-aurora-width: 62%;
|
|
3200
|
+
/* depth 의 무지갯빛 결 세기. 등급이 오를수록 진하다 */
|
|
3201
|
+
--member-card-holo: 0.15;
|
|
3195
3202
|
/* 가장자리에서 안쪽으로 오로라가 사라지는 정도. 앞뒷면이 방향만 바꿔 같이 쓴다 */
|
|
3196
|
-
--member-card-aurora-fade:
|
|
3197
|
-
transparent 85%;
|
|
3203
|
+
--member-card-aurora-fade:
|
|
3204
|
+
black 0%, rgba(0, 0, 0, 0.55) 28%, rgba(0, 0, 0, 0.15) 58%, transparent 85%;
|
|
3198
3205
|
/* 고운 그레인. 작은 타일 하나를 깔아 반복하고 브라우저가 한 번만 래스터한다(웹뷰에서 필터를 매 프레임 돌리지 않는다) */
|
|
3199
3206
|
--member-card-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); /* raw-value */
|
|
3200
3207
|
|
|
@@ -3216,9 +3223,11 @@ p {
|
|
|
3216
3223
|
cursor: pointer;
|
|
3217
3224
|
}
|
|
3218
3225
|
.member-card.tier-nano {
|
|
3226
|
+
--member-card-holo: 0.35;
|
|
3219
3227
|
--member-card-aurora: linear-gradient(var(--surface-aurora-grey), var(--surface-aurora-mint));
|
|
3220
3228
|
}
|
|
3221
3229
|
.member-card.tier-micro {
|
|
3230
|
+
--member-card-holo: 0.5;
|
|
3222
3231
|
--member-card-aurora: linear-gradient(
|
|
3223
3232
|
var(--surface-aurora-grey),
|
|
3224
3233
|
var(--surface-aurora-blue),
|
|
@@ -3226,6 +3235,7 @@ p {
|
|
|
3226
3235
|
);
|
|
3227
3236
|
}
|
|
3228
3237
|
.member-card.tier-mid {
|
|
3238
|
+
--member-card-holo: 0.65;
|
|
3229
3239
|
--member-card-aurora: linear-gradient(
|
|
3230
3240
|
var(--surface-aurora-grey),
|
|
3231
3241
|
var(--surface-aurora-lavender),
|
|
@@ -3234,6 +3244,7 @@ p {
|
|
|
3234
3244
|
);
|
|
3235
3245
|
}
|
|
3236
3246
|
.member-card.tier-macro {
|
|
3247
|
+
--member-card-holo: 0.8;
|
|
3237
3248
|
--member-card-aurora: linear-gradient(
|
|
3238
3249
|
var(--surface-aurora-grey),
|
|
3239
3250
|
var(--surface-aurora-pink),
|
|
@@ -3253,10 +3264,47 @@ p {
|
|
|
3253
3264
|
var(--surface-aurora-mint)
|
|
3254
3265
|
);
|
|
3255
3266
|
--member-card-aurora-width: 80%;
|
|
3267
|
+
--member-card-holo: 1;
|
|
3268
|
+
}
|
|
3269
|
+
/* depth: 손가락 위치(-1…1)와 떠오른 정도(0…1). 훅이 기울이는 동안만 .member-card-tilt 에 싣는다 */
|
|
3270
|
+
.member-card.depth {
|
|
3271
|
+
--member-card-px: 0;
|
|
3272
|
+
--member-card-py: 0;
|
|
3273
|
+
--member-card-lift: 0;
|
|
3256
3274
|
}
|
|
3257
3275
|
.member-card[data-side='back'] .member-card-inner {
|
|
3258
3276
|
transform: rotateY(180deg);
|
|
3259
3277
|
}
|
|
3278
|
+
/*
|
|
3279
|
+
* depth 에서 손가락을 따라 기우는 판. 기울이는 동안만 data-tilt 가 붙어 transform 이 생기고,
|
|
3280
|
+
* 쉬면 transform 이 없어져 글자가 평평한 층에서 선명하게 그려진다
|
|
3281
|
+
*/
|
|
3282
|
+
.member-card-tilt {
|
|
3283
|
+
position: absolute;
|
|
3284
|
+
inset: 0;
|
|
3285
|
+
border-radius: inherit;
|
|
3286
|
+
/* depth 가 아니어도 둔다. 이 판이 평평하면 루트의 원근이 뒤집는 판(.member-card-inner)까지 닿지 않는다 */
|
|
3287
|
+
transform-style: preserve-3d;
|
|
3288
|
+
}
|
|
3289
|
+
.member-card.depth .member-card-tilt {
|
|
3290
|
+
transition: transform var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease);
|
|
3291
|
+
/* 세로로 미는 손가락은 스크롤이다. 가로로 움직일 때 기운다 */
|
|
3292
|
+
touch-action: pan-y;
|
|
3293
|
+
}
|
|
3294
|
+
.member-card.depth .member-card-tilt[data-tilt] {
|
|
3295
|
+
transform: rotateX(calc(var(--member-card-py) * var(--motion-tilt-angle) * -1))
|
|
3296
|
+
rotateY(calc(var(--member-card-px) * var(--motion-tilt-angle)))
|
|
3297
|
+
translateZ(calc(var(--member-card-lift) * var(--motion-tilt-lift)));
|
|
3298
|
+
}
|
|
3299
|
+
.member-card.depth .member-card-tilt[data-tilt='hover'] {
|
|
3300
|
+
--member-card-lift: 0.5;
|
|
3301
|
+
}
|
|
3302
|
+
/* 누른 채 움직이는 동안은 손가락을 바로 따라간다 */
|
|
3303
|
+
.member-card.depth .member-card-tilt[data-tilt='drag'] {
|
|
3304
|
+
--member-card-lift: 1;
|
|
3305
|
+
transition-duration: var(--motion-tilt-follow);
|
|
3306
|
+
transition-timing-function: linear;
|
|
3307
|
+
}
|
|
3260
3308
|
/* 두 면을 안고 도는 판. 돌 때만 transform 이 바뀌어 합성 층에서 끝난다 */
|
|
3261
3309
|
.member-card-inner {
|
|
3262
3310
|
position: absolute;
|
|
@@ -3280,7 +3328,8 @@ p {
|
|
|
3280
3328
|
background:
|
|
3281
3329
|
linear-gradient(var(--member-card-surface), var(--member-card-surface)) padding-box,
|
|
3282
3330
|
var(--member-card-aurora) border-box;
|
|
3283
|
-
box-shadow: inset 0 0 0 var(--hairline)
|
|
3331
|
+
box-shadow: inset 0 0 0 var(--hairline)
|
|
3332
|
+
color-mix(in srgb, var(--surface-highlight) 7%, transparent);
|
|
3284
3333
|
backface-visibility: hidden;
|
|
3285
3334
|
-webkit-backface-visibility: hidden;
|
|
3286
3335
|
|
|
@@ -3469,6 +3518,90 @@ p {
|
|
|
3469
3518
|
color: color-mix(in srgb, var(--text-on-brand) 65%, transparent);
|
|
3470
3519
|
font-weight: var(--font-weight-medium);
|
|
3471
3520
|
}
|
|
3521
|
+
/* depth ****************************************************************************************** */
|
|
3522
|
+
/* 기울기를 따라 움직이는 바닥 빛. 등급 오로라 색이 번진다 */
|
|
3523
|
+
.member-card-shadow {
|
|
3524
|
+
position: absolute;
|
|
3525
|
+
inset: 12% 6% -6%;
|
|
3526
|
+
border-radius: inherit;
|
|
3527
|
+
background: var(--member-card-aurora);
|
|
3528
|
+
filter: blur(var(--spacing-30));
|
|
3529
|
+
opacity: calc(0.35 + var(--member-card-lift) * 0.25);
|
|
3530
|
+
transform: translateZ(calc(var(--motion-tilt-lift) * -2))
|
|
3531
|
+
translate(
|
|
3532
|
+
calc(var(--member-card-px) * var(--spacing-12) * -1),
|
|
3533
|
+
calc(var(--member-card-py) * var(--spacing-12) * -1)
|
|
3534
|
+
);
|
|
3535
|
+
transition:
|
|
3536
|
+
transform var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease),
|
|
3537
|
+
opacity var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease);
|
|
3538
|
+
pointer-events: none;
|
|
3539
|
+
}
|
|
3540
|
+
/*
|
|
3541
|
+
* 두께. 기울이는 동안만 두 면을 앞뒤로 조금 띄우고 그 사이에 판 한 장을 둔다.
|
|
3542
|
+
* 쉴 때 면을 띄워 두면 원근 때문에 글자가 미세하게 커져 흐려진다
|
|
3543
|
+
*/
|
|
3544
|
+
.member-card-edge {
|
|
3545
|
+
position: absolute;
|
|
3546
|
+
inset: 0;
|
|
3547
|
+
border-radius: inherit;
|
|
3548
|
+
background: color-mix(in srgb, var(--surface-highlight) 22%, var(--member-card-surface));
|
|
3549
|
+
visibility: hidden;
|
|
3550
|
+
}
|
|
3551
|
+
.member-card-tilt[data-tilt] .member-card-edge {
|
|
3552
|
+
visibility: visible;
|
|
3553
|
+
}
|
|
3554
|
+
.member-card-tilt[data-tilt] .member-card-face.front {
|
|
3555
|
+
transform: translateZ(var(--spacing-2));
|
|
3556
|
+
}
|
|
3557
|
+
.member-card-tilt[data-tilt] .member-card-face.back {
|
|
3558
|
+
transform: rotateY(180deg) translateZ(var(--spacing-2));
|
|
3559
|
+
}
|
|
3560
|
+
/* 반사광. 손가락 반대편이 밝다 */
|
|
3561
|
+
.member-card-glare {
|
|
3562
|
+
position: absolute;
|
|
3563
|
+
inset: 0;
|
|
3564
|
+
z-index: var(--z-raised);
|
|
3565
|
+
border-radius: inherit;
|
|
3566
|
+
background: radial-gradient(
|
|
3567
|
+
circle at calc(50% - var(--member-card-px) * 45%) calc(50% - var(--member-card-py) * 45%),
|
|
3568
|
+
color-mix(in srgb, var(--surface-highlight) 28%, transparent),
|
|
3569
|
+
color-mix(in srgb, var(--surface-highlight) 6%, transparent) 32%,
|
|
3570
|
+
transparent 60%
|
|
3571
|
+
);
|
|
3572
|
+
mix-blend-mode: screen;
|
|
3573
|
+
opacity: calc(0.1 + var(--member-card-lift) * 0.9);
|
|
3574
|
+
transition: opacity var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease);
|
|
3575
|
+
pointer-events: none;
|
|
3576
|
+
}
|
|
3577
|
+
/* 무지갯빛 결. 등급 오로라 색이 비스듬한 띠로 기울기를 따라 흐른다 */
|
|
3578
|
+
.member-card-holo {
|
|
3579
|
+
position: absolute;
|
|
3580
|
+
inset: 0;
|
|
3581
|
+
z-index: var(--z-raised);
|
|
3582
|
+
border-radius: inherit;
|
|
3583
|
+
background: var(--member-card-aurora);
|
|
3584
|
+
-webkit-mask-image: linear-gradient(
|
|
3585
|
+
calc(120deg + var(--member-card-px) * 40deg),
|
|
3586
|
+
transparent 30%,
|
|
3587
|
+
black 50%,
|
|
3588
|
+
transparent 70%
|
|
3589
|
+
);
|
|
3590
|
+
mask-image: linear-gradient(
|
|
3591
|
+
calc(120deg + var(--member-card-px) * 40deg),
|
|
3592
|
+
transparent 30%,
|
|
3593
|
+
black 50%,
|
|
3594
|
+
transparent 70%
|
|
3595
|
+
);
|
|
3596
|
+
-webkit-mask-size: 200% 200%;
|
|
3597
|
+
mask-size: 200% 200%;
|
|
3598
|
+
-webkit-mask-position: calc(50% + var(--member-card-px) * 25%) calc(50% + var(--member-card-py) * 25%);
|
|
3599
|
+
mask-position: calc(50% + var(--member-card-px) * 25%) calc(50% + var(--member-card-py) * 25%);
|
|
3600
|
+
mix-blend-mode: color-dodge;
|
|
3601
|
+
opacity: calc(var(--member-card-holo) * (0.15 + var(--member-card-lift) * 0.8));
|
|
3602
|
+
transition: opacity var(--motion-tilt-spring-duration) var(--motion-tilt-spring-ease);
|
|
3603
|
+
pointer-events: none;
|
|
3604
|
+
}
|
|
3472
3605
|
.base-check-box.label {
|
|
3473
3606
|
font-size: var(--font-size-sm);
|
|
3474
3607
|
font-weight: var(--font-weight-medium);
|
package/dist/tabs.js
CHANGED
|
@@ -424,13 +424,15 @@ module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime
|
|
|
424
424
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
425
425
|
/******/ import * as __webpack_chunk_6__ from "./chunk-3547.js";
|
|
426
426
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
427
|
-
/******/ import * as __webpack_chunk_7__ from "./chunk-
|
|
427
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-9717.js";
|
|
428
428
|
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
429
|
+
/******/ import * as __webpack_chunk_8__ from "./chunk-4324.js";
|
|
430
|
+
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
429
431
|
/******/
|
|
430
432
|
/******/ // startup
|
|
431
433
|
/******/ // Load entry module and return exports
|
|
432
434
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
433
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,7653,3547,4324], () => (__nuri_require__(3973)))
|
|
435
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,7653,3547,9717,4324], () => (__nuri_require__(3973)))
|
|
434
436
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
435
437
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
436
438
|
/******/ export { __webpack_exports__default as default };
|
package/dist/toast.js
CHANGED
|
@@ -343,37 +343,39 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
|
|
|
343
343
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
344
344
|
/******/ import * as __webpack_chunk_7__ from "./chunk-3640.js";
|
|
345
345
|
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
346
|
-
/******/ import * as __webpack_chunk_8__ from "./chunk-
|
|
346
|
+
/******/ import * as __webpack_chunk_8__ from "./chunk-9717.js";
|
|
347
347
|
/******/ __nuri_require__.C(__webpack_chunk_8__);
|
|
348
|
-
/******/ import * as __webpack_chunk_9__ from "./chunk-
|
|
348
|
+
/******/ import * as __webpack_chunk_9__ from "./chunk-1176.js";
|
|
349
349
|
/******/ __nuri_require__.C(__webpack_chunk_9__);
|
|
350
|
-
/******/ import * as __webpack_chunk_10__ from "./chunk-
|
|
350
|
+
/******/ import * as __webpack_chunk_10__ from "./chunk-6706.js";
|
|
351
351
|
/******/ __nuri_require__.C(__webpack_chunk_10__);
|
|
352
|
-
/******/ import * as __webpack_chunk_11__ from "./chunk-
|
|
352
|
+
/******/ import * as __webpack_chunk_11__ from "./chunk-8734.js";
|
|
353
353
|
/******/ __nuri_require__.C(__webpack_chunk_11__);
|
|
354
|
-
/******/ import * as __webpack_chunk_12__ from "./chunk-
|
|
354
|
+
/******/ import * as __webpack_chunk_12__ from "./chunk-8933.js";
|
|
355
355
|
/******/ __nuri_require__.C(__webpack_chunk_12__);
|
|
356
|
-
/******/ import * as __webpack_chunk_13__ from "./chunk-
|
|
356
|
+
/******/ import * as __webpack_chunk_13__ from "./chunk-7737.js";
|
|
357
357
|
/******/ __nuri_require__.C(__webpack_chunk_13__);
|
|
358
|
-
/******/ import * as __webpack_chunk_14__ from "./chunk-
|
|
358
|
+
/******/ import * as __webpack_chunk_14__ from "./chunk-5302.js";
|
|
359
359
|
/******/ __nuri_require__.C(__webpack_chunk_14__);
|
|
360
|
-
/******/ import * as __webpack_chunk_15__ from "./chunk-
|
|
360
|
+
/******/ import * as __webpack_chunk_15__ from "./chunk-8491.js";
|
|
361
361
|
/******/ __nuri_require__.C(__webpack_chunk_15__);
|
|
362
|
-
/******/ import * as __webpack_chunk_16__ from "./chunk-
|
|
362
|
+
/******/ import * as __webpack_chunk_16__ from "./chunk-2496.js";
|
|
363
363
|
/******/ __nuri_require__.C(__webpack_chunk_16__);
|
|
364
|
-
/******/ import * as __webpack_chunk_17__ from "./chunk-
|
|
364
|
+
/******/ import * as __webpack_chunk_17__ from "./chunk-948.js";
|
|
365
365
|
/******/ __nuri_require__.C(__webpack_chunk_17__);
|
|
366
|
-
/******/ import * as __webpack_chunk_18__ from "./chunk-
|
|
366
|
+
/******/ import * as __webpack_chunk_18__ from "./chunk-910.js";
|
|
367
367
|
/******/ __nuri_require__.C(__webpack_chunk_18__);
|
|
368
|
-
/******/ import * as __webpack_chunk_19__ from "./chunk-
|
|
368
|
+
/******/ import * as __webpack_chunk_19__ from "./chunk-6713.js";
|
|
369
369
|
/******/ __nuri_require__.C(__webpack_chunk_19__);
|
|
370
|
-
/******/ import * as __webpack_chunk_20__ from "./chunk-
|
|
370
|
+
/******/ import * as __webpack_chunk_20__ from "./chunk-5077.js";
|
|
371
371
|
/******/ __nuri_require__.C(__webpack_chunk_20__);
|
|
372
|
+
/******/ import * as __webpack_chunk_21__ from "./chunk-7829.js";
|
|
373
|
+
/******/ __nuri_require__.C(__webpack_chunk_21__);
|
|
372
374
|
/******/
|
|
373
375
|
/******/ // startup
|
|
374
376
|
/******/ // Load entry module and return exports
|
|
375
377
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
376
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,1768,3640,1176,6706,8734,8933,7737,5302,8491,2496,948,910,6713,5077,7829], () => (__nuri_require__(1771)))
|
|
378
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,7298,2777,1768,3640,9717,1176,6706,8734,8933,7737,5302,8491,2496,948,910,6713,5077,7829], () => (__nuri_require__(1771)))
|
|
377
379
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
378
380
|
/******/ const __webpack_exports__ToastProvider = __webpack_exports__.t;
|
|
379
381
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
@@ -141,6 +141,17 @@ export declare const motionTokens: {
|
|
|
141
141
|
readonly mass: 1;
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
+
readonly tilt: {
|
|
145
|
+
readonly spring: {
|
|
146
|
+
readonly type: "spring";
|
|
147
|
+
readonly stiffness: 300;
|
|
148
|
+
readonly damping: 15;
|
|
149
|
+
readonly mass: 1;
|
|
150
|
+
};
|
|
151
|
+
readonly follow: 0.12;
|
|
152
|
+
readonly angle: "14deg";
|
|
153
|
+
readonly lift: "24px";
|
|
154
|
+
};
|
|
144
155
|
readonly expand: {
|
|
145
156
|
readonly duration: 0.24;
|
|
146
157
|
readonly ease: readonly [0.25, 0.1, 0.25, 1];
|
package/dist/tokens.css
CHANGED
|
@@ -216,6 +216,11 @@
|
|
|
216
216
|
--motion-indicate-spring-duration: var(--duration-spring-quick);
|
|
217
217
|
--motion-flip-spring-ease: var(--ease-spring-medium);
|
|
218
218
|
--motion-flip-spring-duration: var(--duration-spring-medium);
|
|
219
|
+
--motion-tilt-spring-ease: var(--ease-spring-bounce);
|
|
220
|
+
--motion-tilt-spring-duration: var(--duration-spring-bounce);
|
|
221
|
+
--motion-tilt-follow: var(--duration-xs);
|
|
222
|
+
--motion-tilt-angle: 14deg;
|
|
223
|
+
--motion-tilt-lift: 24px;
|
|
219
224
|
--motion-expand-duration: var(--duration-m);
|
|
220
225
|
--motion-expand-ease: var(--ease-out);
|
|
221
226
|
--motion-expand-rotate: 180deg;
|
package/dist/tokens.js
CHANGED
|
@@ -870,6 +870,17 @@ var motionTokens = {
|
|
|
870
870
|
"mass": 1
|
|
871
871
|
}
|
|
872
872
|
},
|
|
873
|
+
"tilt": {
|
|
874
|
+
"spring": {
|
|
875
|
+
"type": "spring",
|
|
876
|
+
"stiffness": 300,
|
|
877
|
+
"damping": 15,
|
|
878
|
+
"mass": 1
|
|
879
|
+
},
|
|
880
|
+
"follow": 0.12,
|
|
881
|
+
"angle": "14deg",
|
|
882
|
+
"lift": "24px"
|
|
883
|
+
},
|
|
873
884
|
"expand": {
|
|
874
885
|
"duration": 0.24,
|
|
875
886
|
"ease": [0.25, 0.1, 0.25, 1],
|
package/dist/tooltip.js
CHANGED
|
@@ -389,15 +389,17 @@ module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_ru
|
|
|
389
389
|
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
390
390
|
/******/ import * as __webpack_chunk_4__ from "./chunk-1768.js";
|
|
391
391
|
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
392
|
-
/******/ import * as __webpack_chunk_5__ from "./chunk-
|
|
392
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-9717.js";
|
|
393
393
|
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
394
|
-
/******/ import * as __webpack_chunk_6__ from "./chunk-
|
|
394
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-6706.js";
|
|
395
395
|
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
396
|
+
/******/ import * as __webpack_chunk_7__ from "./chunk-8690.js";
|
|
397
|
+
/******/ __nuri_require__.C(__webpack_chunk_7__);
|
|
396
398
|
/******/
|
|
397
399
|
/******/ // startup
|
|
398
400
|
/******/ // Load entry module and return exports
|
|
399
401
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
400
|
-
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,1768,6706,8690], () => (__nuri_require__(1563)))
|
|
402
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [3274,7335,4560,1768,9717,6706,8690], () => (__nuri_require__(1563)))
|
|
401
403
|
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
402
404
|
/******/ const __webpack_exports__TooltipProvider = __webpack_exports__.B;
|
|
403
405
|
/******/ const __webpack_exports__default = __webpack_exports__.A;
|