@vanduo-oss/framework 1.3.5 → 1.3.7
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/README.md +5 -4
- package/css/components/cards.css +11 -1
- package/css/components/datepicker.css +10 -1
- package/css/components/expanding-cards.css +215 -0
- package/css/components/spotlight.css +8 -3
- package/css/components/timeline.css +47 -0
- package/css/effects/morph.css +0 -12
- package/css/vanduo.css +1 -0
- package/dist/build-info.json +3 -3
- package/dist/vanduo.cjs.js +647 -63
- package/dist/vanduo.cjs.js.map +3 -3
- package/dist/vanduo.cjs.min.js +4 -4
- package/dist/vanduo.cjs.min.js.map +4 -4
- package/dist/vanduo.css +255 -24
- package/dist/vanduo.css.map +1 -1
- package/dist/vanduo.esm.js +647 -63
- package/dist/vanduo.esm.js.map +3 -3
- package/dist/vanduo.esm.min.js +4 -4
- package/dist/vanduo.esm.min.js.map +4 -4
- package/dist/vanduo.js +647 -63
- package/dist/vanduo.js.map +3 -3
- package/dist/vanduo.min.css +2 -2
- package/dist/vanduo.min.css.map +1 -1
- package/dist/vanduo.min.js +4 -4
- package/dist/vanduo.min.js.map +4 -4
- package/js/components/datepicker.js +392 -70
- package/js/components/expanding-cards.js +136 -0
- package/js/components/morph.js +0 -3
- package/js/components/timeline.js +226 -0
- package/js/index.js +2 -0
- package/package.json +1 -1
package/dist/vanduo.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Vanduo v1.3.
|
|
1
|
+
/*! Vanduo v1.3.7 | Built: 2026-04-18T12:05:32.603Z | git:20b2d08 | development */
|
|
2
2
|
*, :before, :after {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
}
|
|
@@ -53169,7 +53169,7 @@ select[multiple].vd-input option, select[multiple] option, .select-input[multipl
|
|
|
53169
53169
|
--card-bg: var(--color-white);
|
|
53170
53170
|
--card-bg-filled: var(--bg-secondary);
|
|
53171
53171
|
--card-shadow: var(--shadow-sm);
|
|
53172
|
-
--card-shadow-elevated: var(--shadow-
|
|
53172
|
+
--card-shadow-elevated: var(--shadow-md);
|
|
53173
53173
|
--card-glow-color: var(--primary-2);
|
|
53174
53174
|
--card-glow-border-color: var(--primary-3);
|
|
53175
53175
|
}
|
|
@@ -53177,6 +53177,7 @@ select[multiple].vd-input option, select[multiple] option, .select-input[multipl
|
|
|
53177
53177
|
[data-theme="dark"] {
|
|
53178
53178
|
--card-bg: var(--bg-secondary);
|
|
53179
53179
|
--card-bg-filled: var(--bg-primary);
|
|
53180
|
+
--card-shadow-elevated: var(--shadow-lg);
|
|
53180
53181
|
--card-glow-color: var(--primary-3);
|
|
53181
53182
|
--card-glow-border-color: var(--primary-4);
|
|
53182
53183
|
}
|
|
@@ -53185,6 +53186,7 @@ select[multiple].vd-input option, select[multiple] option, .select-input[multipl
|
|
|
53185
53186
|
:root:not([data-theme]) {
|
|
53186
53187
|
--card-bg: var(--bg-secondary);
|
|
53187
53188
|
--card-bg-filled: var(--bg-primary);
|
|
53189
|
+
--card-shadow-elevated: var(--shadow-lg);
|
|
53188
53190
|
--card-glow-color: var(--primary-3);
|
|
53189
53191
|
--card-glow-border-color: var(--primary-4);
|
|
53190
53192
|
}
|
|
@@ -53212,6 +53214,12 @@ select[multiple].vd-input option, select[multiple] option, .select-input[multipl
|
|
|
53212
53214
|
|
|
53213
53215
|
.vd-card-elevated, .vd-card {
|
|
53214
53216
|
box-shadow: var(--card-shadow-elevated);
|
|
53217
|
+
transition: box-shadow .2s, transform .2s;
|
|
53218
|
+
}
|
|
53219
|
+
|
|
53220
|
+
.vd-card:not(a):not(.vd-card-outlined):not(.vd-card-filled):not(.vd-card-glass):not(.vd-card-glow):hover {
|
|
53221
|
+
box-shadow: var(--shadow-lg);
|
|
53222
|
+
transform: translateY(-1px);
|
|
53215
53223
|
}
|
|
53216
53224
|
|
|
53217
53225
|
.vd-card-outlined {
|
|
@@ -53422,6 +53430,197 @@ a.vd-card:active {
|
|
|
53422
53430
|
}
|
|
53423
53431
|
}
|
|
53424
53432
|
|
|
53433
|
+
.vd-expanding-cards {
|
|
53434
|
+
flex-direction: row;
|
|
53435
|
+
align-items: stretch;
|
|
53436
|
+
width: calc(100% - 100px);
|
|
53437
|
+
min-width: 600px;
|
|
53438
|
+
max-width: 900px;
|
|
53439
|
+
height: 400px;
|
|
53440
|
+
display: flex;
|
|
53441
|
+
overflow: hidden;
|
|
53442
|
+
}
|
|
53443
|
+
|
|
53444
|
+
.vd-expanding-card {
|
|
53445
|
+
cursor: pointer;
|
|
53446
|
+
background: var(--vd-expanding-card-bg, var(--vd-expanding-card-bg-default, #e6e9ed));
|
|
53447
|
+
background-position: center;
|
|
53448
|
+
background-size: auto 120%;
|
|
53449
|
+
border-radius: 30px;
|
|
53450
|
+
flex-grow: 1;
|
|
53451
|
+
min-width: 60px;
|
|
53452
|
+
margin: 10px;
|
|
53453
|
+
transition: all .5s cubic-bezier(.05, .61, .41, .95);
|
|
53454
|
+
position: relative;
|
|
53455
|
+
overflow: hidden;
|
|
53456
|
+
}
|
|
53457
|
+
|
|
53458
|
+
.vd-expanding-card:first-child {
|
|
53459
|
+
--vd-expanding-card-bg-default: #ed5565;
|
|
53460
|
+
}
|
|
53461
|
+
|
|
53462
|
+
.vd-expanding-card:nth-child(2) {
|
|
53463
|
+
--vd-expanding-card-bg-default: #fc6e51;
|
|
53464
|
+
}
|
|
53465
|
+
|
|
53466
|
+
.vd-expanding-card:nth-child(3) {
|
|
53467
|
+
--vd-expanding-card-bg-default: #ffce54;
|
|
53468
|
+
}
|
|
53469
|
+
|
|
53470
|
+
.vd-expanding-card:nth-child(4) {
|
|
53471
|
+
--vd-expanding-card-bg-default: #2ecc71;
|
|
53472
|
+
}
|
|
53473
|
+
|
|
53474
|
+
.vd-expanding-card:nth-child(5) {
|
|
53475
|
+
--vd-expanding-card-bg-default: #5d9cec;
|
|
53476
|
+
}
|
|
53477
|
+
|
|
53478
|
+
.vd-expanding-card:nth-child(6) {
|
|
53479
|
+
--vd-expanding-card-bg-default: #ac92ec;
|
|
53480
|
+
}
|
|
53481
|
+
|
|
53482
|
+
.vd-expanding-card.is-active {
|
|
53483
|
+
background-size: auto 100%;
|
|
53484
|
+
border-radius: 40px;
|
|
53485
|
+
flex-grow: 10000;
|
|
53486
|
+
max-width: 600px;
|
|
53487
|
+
margin: 0;
|
|
53488
|
+
transform: scale(1);
|
|
53489
|
+
}
|
|
53490
|
+
|
|
53491
|
+
.vd-expanding-card.is-active .vd-expanding-card-shadow {
|
|
53492
|
+
box-shadow: inset 0 -120px 120px -120px #000, inset 0 -120px 120px -100px #000;
|
|
53493
|
+
}
|
|
53494
|
+
|
|
53495
|
+
.vd-expanding-card.is-active .vd-expanding-card-label {
|
|
53496
|
+
bottom: 20px;
|
|
53497
|
+
left: 20px;
|
|
53498
|
+
}
|
|
53499
|
+
|
|
53500
|
+
.vd-expanding-card.is-active .vd-expanding-card-info > div {
|
|
53501
|
+
opacity: 1;
|
|
53502
|
+
left: 0;
|
|
53503
|
+
}
|
|
53504
|
+
|
|
53505
|
+
.vd-expanding-card:not(.is-active) {
|
|
53506
|
+
border-radius: 30px;
|
|
53507
|
+
flex-grow: 1;
|
|
53508
|
+
}
|
|
53509
|
+
|
|
53510
|
+
.vd-expanding-card:not(.is-active) .vd-expanding-card-shadow {
|
|
53511
|
+
bottom: -40px;
|
|
53512
|
+
box-shadow: inset 0 -120px 0 -120px #000, inset 0 -120px 0 -100px #000;
|
|
53513
|
+
}
|
|
53514
|
+
|
|
53515
|
+
.vd-expanding-card:not(.is-active) .vd-expanding-card-label {
|
|
53516
|
+
bottom: 10px;
|
|
53517
|
+
left: 10px;
|
|
53518
|
+
}
|
|
53519
|
+
|
|
53520
|
+
.vd-expanding-card:not(.is-active) .vd-expanding-card-info > div {
|
|
53521
|
+
opacity: 0;
|
|
53522
|
+
left: 20px;
|
|
53523
|
+
}
|
|
53524
|
+
|
|
53525
|
+
.vd-expanding-card-shadow {
|
|
53526
|
+
height: 120px;
|
|
53527
|
+
transition: all .5s cubic-bezier(.05, .61, .41, .95);
|
|
53528
|
+
position: absolute;
|
|
53529
|
+
bottom: 0;
|
|
53530
|
+
left: 0;
|
|
53531
|
+
right: 0;
|
|
53532
|
+
}
|
|
53533
|
+
|
|
53534
|
+
.vd-expanding-card-label {
|
|
53535
|
+
height: 40px;
|
|
53536
|
+
transition: all .5s cubic-bezier(.05, .61, .41, .95);
|
|
53537
|
+
display: flex;
|
|
53538
|
+
position: absolute;
|
|
53539
|
+
right: 0;
|
|
53540
|
+
}
|
|
53541
|
+
|
|
53542
|
+
.vd-expanding-card-icon {
|
|
53543
|
+
min-width: 40px;
|
|
53544
|
+
max-width: 40px;
|
|
53545
|
+
height: 40px;
|
|
53546
|
+
color: var(--vd-expanding-card-bg-default, var(--color-primary, #3b82f6));
|
|
53547
|
+
background-color: #fff;
|
|
53548
|
+
border-radius: 100%;
|
|
53549
|
+
flex-direction: row;
|
|
53550
|
+
justify-content: center;
|
|
53551
|
+
align-items: center;
|
|
53552
|
+
display: flex;
|
|
53553
|
+
}
|
|
53554
|
+
|
|
53555
|
+
.vd-expanding-card-info {
|
|
53556
|
+
color: #fff;
|
|
53557
|
+
white-space: pre;
|
|
53558
|
+
flex-direction: column;
|
|
53559
|
+
justify-content: center;
|
|
53560
|
+
margin-left: 10px;
|
|
53561
|
+
display: flex;
|
|
53562
|
+
}
|
|
53563
|
+
|
|
53564
|
+
.vd-expanding-card-info > div {
|
|
53565
|
+
transition: all .5s cubic-bezier(.05, .61, .41, .95), opacity .5s ease-out;
|
|
53566
|
+
position: relative;
|
|
53567
|
+
}
|
|
53568
|
+
|
|
53569
|
+
.vd-expanding-card-title {
|
|
53570
|
+
font-size: 1.2rem;
|
|
53571
|
+
font-weight: bold;
|
|
53572
|
+
}
|
|
53573
|
+
|
|
53574
|
+
.vd-expanding-card-subtitle {
|
|
53575
|
+
transition-delay: .1s;
|
|
53576
|
+
}
|
|
53577
|
+
|
|
53578
|
+
@media screen and (width <= 718px) {
|
|
53579
|
+
.vd-expanding-cards {
|
|
53580
|
+
min-width: 520px;
|
|
53581
|
+
}
|
|
53582
|
+
|
|
53583
|
+
.vd-expanding-card:nth-child(5) {
|
|
53584
|
+
display: none;
|
|
53585
|
+
}
|
|
53586
|
+
}
|
|
53587
|
+
|
|
53588
|
+
@media screen and (width <= 638px) {
|
|
53589
|
+
.vd-expanding-cards {
|
|
53590
|
+
min-width: 440px;
|
|
53591
|
+
}
|
|
53592
|
+
|
|
53593
|
+
.vd-expanding-card:nth-child(4) {
|
|
53594
|
+
display: none;
|
|
53595
|
+
}
|
|
53596
|
+
}
|
|
53597
|
+
|
|
53598
|
+
@media screen and (width <= 558px) {
|
|
53599
|
+
.vd-expanding-cards {
|
|
53600
|
+
min-width: 360px;
|
|
53601
|
+
}
|
|
53602
|
+
|
|
53603
|
+
.vd-expanding-card:nth-child(3) {
|
|
53604
|
+
display: none;
|
|
53605
|
+
}
|
|
53606
|
+
}
|
|
53607
|
+
|
|
53608
|
+
@media screen and (width <= 478px) {
|
|
53609
|
+
.vd-expanding-cards {
|
|
53610
|
+
min-width: 280px;
|
|
53611
|
+
}
|
|
53612
|
+
|
|
53613
|
+
.vd-expanding-card:nth-child(2) {
|
|
53614
|
+
display: none;
|
|
53615
|
+
}
|
|
53616
|
+
}
|
|
53617
|
+
|
|
53618
|
+
@media (prefers-reduced-motion: reduce) {
|
|
53619
|
+
.vd-expanding-card, .vd-expanding-card-shadow, .vd-expanding-card-label, .vd-expanding-card-info > div {
|
|
53620
|
+
transition: none !important;
|
|
53621
|
+
}
|
|
53622
|
+
}
|
|
53623
|
+
|
|
53425
53624
|
:root {
|
|
53426
53625
|
--navbar-bg: var(--color-white);
|
|
53427
53626
|
--navbar-bg-dark: var(--bg-dark);
|
|
@@ -62096,24 +62295,6 @@ input.vd-doc-search-input {
|
|
|
62096
62295
|
}
|
|
62097
62296
|
}
|
|
62098
62297
|
|
|
62099
|
-
.vd-morph.morph-done {
|
|
62100
|
-
animation: .32s cubic-bezier(.34, 1.56, .64, 1) vd-morph-bounce;
|
|
62101
|
-
}
|
|
62102
|
-
|
|
62103
|
-
@keyframes vd-morph-bounce {
|
|
62104
|
-
0% {
|
|
62105
|
-
transform: scale(.97);
|
|
62106
|
-
}
|
|
62107
|
-
|
|
62108
|
-
60% {
|
|
62109
|
-
transform: scale(1.025);
|
|
62110
|
-
}
|
|
62111
|
-
|
|
62112
|
-
100% {
|
|
62113
|
-
transform: scale(1);
|
|
62114
|
-
}
|
|
62115
|
-
}
|
|
62116
|
-
|
|
62117
62298
|
.vd-morph-content {
|
|
62118
62299
|
pointer-events: none;
|
|
62119
62300
|
will-change: opacity, transform, filter;
|
|
@@ -63352,6 +63533,12 @@ input.vd-doc-search-input {
|
|
|
63352
63533
|
background: var(--dp-day-hover-bg);
|
|
63353
63534
|
}
|
|
63354
63535
|
|
|
63536
|
+
.vd-datepicker-grid {
|
|
63537
|
+
gap: var(--dp-gap);
|
|
63538
|
+
flex-direction: column;
|
|
63539
|
+
display: flex;
|
|
63540
|
+
}
|
|
63541
|
+
|
|
63355
63542
|
.vd-datepicker-weekdays {
|
|
63356
63543
|
gap: var(--dp-gap);
|
|
63357
63544
|
text-align: center;
|
|
@@ -63363,7 +63550,7 @@ input.vd-doc-search-input {
|
|
|
63363
63550
|
display: grid;
|
|
63364
63551
|
}
|
|
63365
63552
|
|
|
63366
|
-
.vd-datepicker-days {
|
|
63553
|
+
.vd-datepicker-days, .vd-datepicker-row {
|
|
63367
63554
|
gap: var(--dp-gap);
|
|
63368
63555
|
grid-template-columns: repeat(7, 1fr);
|
|
63369
63556
|
display: grid;
|
|
@@ -63857,6 +64044,47 @@ input.vd-doc-search-input {
|
|
|
63857
64044
|
}
|
|
63858
64045
|
}
|
|
63859
64046
|
|
|
64047
|
+
.vd-timeline-animated .vd-timeline-item {
|
|
64048
|
+
opacity: 0;
|
|
64049
|
+
transition: opacity .55s, transform .55s cubic-bezier(.2, .8, .35, 1);
|
|
64050
|
+
transition-delay: var(--vd-timeline-reveal-delay, 0s);
|
|
64051
|
+
transform: translateY(12px);
|
|
64052
|
+
}
|
|
64053
|
+
|
|
64054
|
+
.vd-timeline-animated .vd-timeline-item .vd-timeline-marker {
|
|
64055
|
+
transform-origin: center;
|
|
64056
|
+
transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
|
|
64057
|
+
transition-delay: calc(var(--vd-timeline-reveal-delay, 0s) + .12s);
|
|
64058
|
+
transform: scale(.4);
|
|
64059
|
+
}
|
|
64060
|
+
|
|
64061
|
+
.vd-timeline-animated .vd-timeline-item.is-revealed {
|
|
64062
|
+
opacity: 1;
|
|
64063
|
+
transform: none;
|
|
64064
|
+
}
|
|
64065
|
+
|
|
64066
|
+
.vd-timeline-animated .vd-timeline-item.is-revealed .vd-timeline-marker {
|
|
64067
|
+
transform: scale(1);
|
|
64068
|
+
}
|
|
64069
|
+
|
|
64070
|
+
@media (width >= 769px) {
|
|
64071
|
+
.vd-timeline-alternating.vd-timeline-animated .vd-timeline-item:nth-child(odd):not(.is-revealed) {
|
|
64072
|
+
transform: translate(-12px, 12px);
|
|
64073
|
+
}
|
|
64074
|
+
|
|
64075
|
+
.vd-timeline-alternating.vd-timeline-animated .vd-timeline-item:nth-child(2n):not(.is-revealed) {
|
|
64076
|
+
transform: translate(12px, 12px);
|
|
64077
|
+
}
|
|
64078
|
+
}
|
|
64079
|
+
|
|
64080
|
+
@media (prefers-reduced-motion: reduce) {
|
|
64081
|
+
.vd-timeline-animated .vd-timeline-item, .vd-timeline-animated .vd-timeline-item .vd-timeline-marker {
|
|
64082
|
+
opacity: 1;
|
|
64083
|
+
transition: none;
|
|
64084
|
+
transform: none;
|
|
64085
|
+
}
|
|
64086
|
+
}
|
|
64087
|
+
|
|
63860
64088
|
:root {
|
|
63861
64089
|
--rating-active-color: #f59e0b;
|
|
63862
64090
|
--rating-inactive-color: var(--color-gray-300, #dee2e6);
|
|
@@ -64260,9 +64488,10 @@ input.vd-doc-search-input {
|
|
|
64260
64488
|
--spotlight-tooltip-color: var(--text-primary, #212529);
|
|
64261
64489
|
--spotlight-tooltip-shadow: 0 .5rem 1.3125rem #00000026;
|
|
64262
64490
|
--spotlight-tooltip-padding: 1.3125rem;
|
|
64263
|
-
--spotlight-tooltip-radius: var(--border-radius, .5rem);
|
|
64491
|
+
--spotlight-tooltip-radius: var(--card-border-radius, var(--btn-border-radius-lg, .5rem));
|
|
64264
64492
|
--spotlight-tooltip-max-width: 21rem;
|
|
64265
64493
|
--spotlight-highlight-padding: .5rem;
|
|
64494
|
+
--spotlight-target-radius: var(--card-border-radius, var(--btn-border-radius-lg, var(--btn-border-radius, .25rem)));
|
|
64266
64495
|
--spotlight-z-index: 1080;
|
|
64267
64496
|
}
|
|
64268
64497
|
|
|
@@ -64331,9 +64560,9 @@ input.vd-doc-search-input {
|
|
|
64331
64560
|
|
|
64332
64561
|
.vd-spotlight-btn {
|
|
64333
64562
|
border: 1px solid var(--border-color, #dee2e6);
|
|
64563
|
+
border-radius: var(--btn-border-radius-sm, .25rem);
|
|
64334
64564
|
cursor: pointer;
|
|
64335
64565
|
background: none;
|
|
64336
|
-
border-radius: .25rem;
|
|
64337
64566
|
padding: .3125rem .8125rem;
|
|
64338
64567
|
font-size: .8125rem;
|
|
64339
64568
|
transition: background .15s;
|
|
@@ -64355,10 +64584,12 @@ input.vd-doc-search-input {
|
|
|
64355
64584
|
|
|
64356
64585
|
.vd-spotlight-target {
|
|
64357
64586
|
z-index: calc(var(--spotlight-z-index) + 1);
|
|
64587
|
+
isolation: isolate;
|
|
64358
64588
|
box-shadow: 0 0 0 var(--spotlight-highlight-padding) #0d6efd40,
|
|
64359
64589
|
0 0 0 9999px var(--spotlight-overlay-bg);
|
|
64360
|
-
border-radius: .25rem;
|
|
64361
64590
|
position: relative;
|
|
64591
|
+
overflow: visible;
|
|
64592
|
+
border-radius: var(--spotlight-target-radius) !important;
|
|
64362
64593
|
}
|
|
64363
64594
|
|
|
64364
64595
|
:root {
|