@vanduo-oss/framework 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vanduo.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Vanduo v1.5.0 | Built: 2026-06-18T19:13:58.613Z | git:8f0e1b5 | development */
1
+ /*! Vanduo v1.5.1 | Built: 2026-06-20T15:00:18.257Z | git:baf8178 | development */
2
2
  *, :before, :after {
3
3
  box-sizing: border-box;
4
4
  }
@@ -22026,7 +22026,8 @@ a.vd-card:active {
22026
22026
  cursor: pointer;
22027
22027
  background: var(--vd-expanding-card-bg, var(--vd-expanding-card-bg-default, #e6e9ed));
22028
22028
  background-position: center;
22029
- background-size: auto 120%;
22029
+ background-repeat: no-repeat;
22030
+ background-size: cover;
22030
22031
  border-radius: 30px;
22031
22032
  flex-grow: 1;
22032
22033
  min-width: 60px;
@@ -22061,7 +22062,6 @@ a.vd-card:active {
22061
22062
  }
22062
22063
 
22063
22064
  .vd-expanding-card.is-active {
22064
- background-size: auto 100%;
22065
22065
  border-radius: 40px;
22066
22066
  flex-grow: 10000;
22067
22067
  max-width: 600px;
@@ -22156,43 +22156,98 @@ a.vd-card:active {
22156
22156
  transition-delay: .1s;
22157
22157
  }
22158
22158
 
22159
- @media screen and (width <= 718px) {
22159
+ @media screen and (width <= 767.98px) {
22160
22160
  .vd-expanding-cards {
22161
- min-width: 520px;
22161
+ --vd-expanding-card-mobile-stripe: 56px;
22162
+ --vd-expanding-card-mobile-active: clamp(200px, 55vw, 280px);
22163
+ --vd-expanding-card-mobile-gap: 8px;
22164
+ width: 100%;
22165
+ min-width: 0;
22166
+ max-width: 100%;
22167
+ height: min(72vh,
22168
+ calc(var(--vd-expanding-card-mobile-active) +
22169
+ 5 * (var(--vd-expanding-card-mobile-stripe) + var(--vd-expanding-card-mobile-gap))));
22170
+ align-items: stretch;
22171
+ gap: var(--vd-expanding-card-mobile-gap);
22172
+ flex-direction: column;
22173
+ overflow: hidden;
22162
22174
  }
22163
22175
 
22164
- .vd-expanding-card:nth-child(5) {
22165
- display: none;
22176
+ .vd-expanding-card {
22177
+ flex: 1 1 var(--vd-expanding-card-mobile-stripe);
22178
+ width: 100%;
22179
+ min-width: 0;
22180
+ min-height: var(--vd-expanding-card-mobile-stripe);
22181
+ margin: 0;
22182
+ transition: flex .5s cubic-bezier(.05, .61, .41, .95), min-height .5s cubic-bezier(.05, .61, .41, .95), border-radius .5s cubic-bezier(.05, .61, .41, .95), margin .5s cubic-bezier(.05, .61, .41, .95);
22166
22183
  }
22167
- }
22168
22184
 
22169
- @media screen and (width <= 638px) {
22170
- .vd-expanding-cards {
22171
- min-width: 440px;
22185
+ .vd-expanding-card.is-active {
22186
+ flex: 10000 1 var(--vd-expanding-card-mobile-active);
22187
+ min-height: var(--vd-expanding-card-mobile-active);
22188
+ border-radius: 32px;
22189
+ max-width: none;
22172
22190
  }
22173
22191
 
22174
- .vd-expanding-card:nth-child(4) {
22175
- display: none;
22192
+ .vd-expanding-card:not(.is-active) {
22193
+ flex: 1 1 var(--vd-expanding-card-mobile-stripe);
22194
+ min-height: var(--vd-expanding-card-mobile-stripe);
22195
+ border-radius: 28px;
22176
22196
  }
22177
- }
22178
22197
 
22179
- @media screen and (width <= 558px) {
22180
- .vd-expanding-cards {
22181
- min-width: 360px;
22198
+ .vd-expanding-card.is-active .vd-expanding-card-shadow {
22199
+ box-shadow: inset 0 -120px 120px -120px #000, inset 0 -120px 120px -100px #000;
22182
22200
  }
22183
22201
 
22184
- .vd-expanding-card:nth-child(3) {
22185
- display: none;
22202
+ .vd-expanding-card:not(.is-active) .vd-expanding-card-shadow {
22203
+ height: 100%;
22204
+ bottom: 0;
22205
+ box-shadow: inset 0 0 80px #00000059;
22186
22206
  }
22187
- }
22188
22207
 
22189
- @media screen and (width <= 478px) {
22190
- .vd-expanding-cards {
22191
- min-width: 280px;
22208
+ .vd-expanding-card.is-active .vd-expanding-card-label {
22209
+ align-items: flex-end;
22210
+ top: auto;
22211
+ bottom: 20px;
22212
+ left: 20px;
22213
+ transform: none;
22192
22214
  }
22193
22215
 
22194
- .vd-expanding-card:nth-child(2) {
22195
- display: none;
22216
+ .vd-expanding-card:not(.is-active) .vd-expanding-card-label {
22217
+ align-items: center;
22218
+ height: 40px;
22219
+ inset: auto auto 8px 12px;
22220
+ transform: none;
22221
+ }
22222
+
22223
+ .vd-expanding-card:not(.is-active) .vd-expanding-card-info {
22224
+ white-space: nowrap;
22225
+ text-overflow: ellipsis;
22226
+ flex: 1;
22227
+ min-width: 0;
22228
+ overflow: hidden;
22229
+ }
22230
+
22231
+ .vd-expanding-card:not(.is-active) .vd-expanding-card-info > div {
22232
+ opacity: 1;
22233
+ left: 0;
22234
+ }
22235
+
22236
+ .vd-expanding-card:not(.is-active) .vd-expanding-card-subtitle {
22237
+ opacity: 0;
22238
+ max-height: 0;
22239
+ overflow: hidden;
22240
+ }
22241
+
22242
+ .vd-expanding-card.is-active .vd-expanding-card-subtitle {
22243
+ opacity: 1;
22244
+ max-height: 2em;
22245
+ }
22246
+
22247
+ .vd-expanding-card:not(.is-active) .vd-expanding-card-title {
22248
+ text-overflow: ellipsis;
22249
+ font-size: 1rem;
22250
+ overflow: hidden;
22196
22251
  }
22197
22252
  }
22198
22253