@q1travel/design-system 0.30.5 → 0.30.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.
@@ -4005,6 +4005,8 @@ a[href]:has(> .book):focus-visible {
4005
4005
  }
4006
4006
 
4007
4007
  .switch-control--cards .switch-control__card-label {
4008
+ min-inline-size: 0;
4009
+ overflow-wrap: anywhere;
4008
4010
  color: var(--q1-color-text-secondary);
4009
4011
  font-size: var(--q1-font-size-label-12);
4010
4012
  line-height: var(--q1-line-height-label-12);
@@ -5486,6 +5488,8 @@ a[href]:has(> .book):focus-visible {
5486
5488
  }
5487
5489
 
5488
5490
  .empty-state--inline .empty-state__title {
5491
+ min-inline-size: 0;
5492
+ overflow-wrap: anywhere;
5489
5493
  font-size: var(--q1-font-size-copy-14);
5490
5494
  line-height: var(--q1-line-height-copy-14);
5491
5495
  font-weight: var(--q1-font-weight-regular);
@@ -14448,31 +14452,31 @@ a.q1-navigation__item[aria-disabled='true'] {
14448
14452
  }
14449
14453
 
14450
14454
  /* inline:卡片与页面分区里的紧凑行。小号图标与标题首行同高居中;重试在行尾,容器变窄时折到说明下方。 */
14451
- .region-error-state--inline {
14455
+ :is(.region-error-state--inline, .region-error-state--strip) {
14452
14456
  display: flex;
14453
14457
  flex-wrap: wrap;
14454
14458
  align-items: center;
14455
14459
  gap: var(--q1-space-3) var(--q1-space-4);
14456
14460
  }
14457
14461
 
14458
- .region-error-state--inline .region-error-state__status {
14462
+ :is(.region-error-state--inline, .region-error-state--strip) .region-error-state__status {
14459
14463
  flex: 1 1 0;
14460
14464
  align-items: flex-start;
14461
14465
  gap: var(--q1-space-3);
14462
14466
  }
14463
14467
 
14464
- .region-error-state--inline .region-error-state__icon {
14468
+ :is(.region-error-state--inline, .region-error-state--strip) .region-error-state__icon {
14465
14469
  width: var(--q1-space-4);
14466
14470
  height: var(--q1-line-height-heading-14);
14467
14471
  }
14468
14472
 
14469
- .region-error-state--inline .region-error-state__title {
14473
+ :is(.region-error-state--inline, .region-error-state--strip) .region-error-state__title {
14470
14474
  font-size: var(--q1-font-size-heading-14);
14471
14475
  font-weight: var(--q1-font-weight-heading-14);
14472
14476
  line-height: var(--q1-line-height-heading-14);
14473
14477
  }
14474
14478
 
14475
- .region-error-state--inline .region-error-state__actions {
14479
+ :is(.region-error-state--inline, .region-error-state--strip) .region-error-state__actions {
14476
14480
  flex: none;
14477
14481
  }
14478
14482
 
@@ -14483,6 +14487,19 @@ a.q1-navigation__item[aria-disabled='true'] {
14483
14487
  }
14484
14488
  }
14485
14489
 
14490
+ /* strip:整宽中性底条,重试始终留在条内右侧。 */
14491
+ .region-error-state--strip {
14492
+ width: 100%;
14493
+ min-inline-size: 0;
14494
+ min-block-size: calc(var(--q1-space-6) * 2);
14495
+ padding-block: var(--q1-space-2);
14496
+ padding-inline: var(--q1-space-4);
14497
+ border-radius: var(--q1-radius-2);
14498
+ background: var(--q1-color-bg-hover);
14499
+ box-sizing: border-box;
14500
+ flex-wrap: nowrap;
14501
+ }
14502
+
14486
14503
  .status-page {
14487
14504
  min-block-size: 100dvh;
14488
14505
  box-sizing: border-box;
@@ -14558,7 +14575,7 @@ a.q1-navigation__item[aria-disabled='true'] {
14558
14575
  .skeleton-illustration__ground {
14559
14576
  block-size: var(--q1-space-2);
14560
14577
  margin-block-start: var(--q1-space-3);
14561
- background: linear-gradient(var(--q1-color-bg-subtle), transparent);
14578
+ background: var(--q1-color-bg-subtle);
14562
14579
  }
14563
14580
  @media (prefers-reduced-motion: reduce) {
14564
14581
  .skeleton-illustration__bar::after { animation: none; }
@@ -15369,7 +15386,7 @@ a.q1-navigation__item[aria-disabled='true'] {
15369
15386
 
15370
15387
  @media (hover: hover) and (pointer: fine) {
15371
15388
  :is(:root[data-theme='dark'], [data-q1-theme='dark']) .toggle-field[aria-checked='true']:hover:not(:disabled) .toggle:not(:where([data-q1-theme='light'], [data-q1-theme='light'] *)) {
15372
- background: var(--toggle-on, var(--q1-color-primary-1000));
15389
+ background: var(--toggle-on, var(--q1-color-primary-800));
15373
15390
  }
15374
15391
  }
15375
15392
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q1travel/design-system",
3
- "version": "0.30.5",
3
+ "version": "0.30.7",
4
4
  "description": "React components, design tokens, and interface contracts for q1travel products.",
5
5
  "keywords": [
6
6
  "react",