@kupola/kupola 1.9.7 → 1.9.8

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/kupola.css CHANGED
@@ -1,3 +1,46 @@
1
+ :root {
2
+ --bg-base-default: #0C0C0D;
3
+ --bg-base-secondary: #1A1B1D;
4
+ --bg-base-tertiary: #222427;
5
+ --bg-overlay-l1: rgba(255, 255, 255, 0.04);
6
+ --bg-overlay-l2: rgba(255, 255, 255, 0.06);
7
+ --bg-overlay-l3: rgba(255, 255, 255, 0.08);
8
+ --bg-overlay-l4: rgba(255, 255, 255, 0.12);
9
+ --bg-menu: #1A1B1D;
10
+ --bg-tooltip: #1A1B1D;
11
+ --bg-invert: #FFFFFF;
12
+ --bg-invert-hover: #F5F5F5;
13
+ --bg-invert-active: #E5E5E5;
14
+ --bg-invert-disabled: rgba(255, 255, 255, 0.2);
15
+ --special-bgtabsoverlay: rgba(0, 0, 0, 0.2);
16
+ --text-default: #E5E7EB;
17
+ --text-default-hover: #FFFFFF;
18
+ --text-default-active: #FFFFFF;
19
+ --text-secondary: #B8BDCA;
20
+ --text-secondary-hover: #E5E7EB;
21
+ --text-secondary-active: #E5E7EB;
22
+ --text-tertiary: #9CA3AF;
23
+ --text-disabled: #8B93A1;
24
+ --text-onbrand: #FFFFFF;
25
+ --text-onaccent: #FFFFFF;
26
+ --icon-default: #E5E7EB;
27
+ --icon-default-hover: #FFFFFF;
28
+ --icon-default-active: #FFFFFF;
29
+ --icon-secondary: #B8BDCA;
30
+ --icon-secondary-hover: #E5E7EB;
31
+ --icon-secondary-active: #E5E7EB;
32
+ --icon-tertiary: #9CA3AF;
33
+ --icon-disabled: #8B93A1;
34
+ --icon-onbrand: #FFFFFF;
35
+ --icon-onaccent: #FFFFFF;
36
+ --border-neutral-l1: rgba(255, 255, 255, 0.12);
37
+ --border-neutral-l2: rgba(255, 255, 255, 0.18);
38
+ --border-neutral-l3: rgba(255, 255, 255, 0.25);
39
+ --border-contrast: #0C0C0D;
40
+ --bg-brand-popup: rgba(83, 81, 100, 0.15);
41
+ --icon-filter: brightness(0) saturate(0) invert(0.9);
42
+ }
43
+
1
44
  /**
2
45
  * Trae design library tokens
3
46
  * Dark-only colors and typography tokens.
@@ -406,7 +449,7 @@
406
449
  --bg-layout-2: var(--bg-overlay-l1);
407
450
  --border-1: var(--border-neutral-l1);
408
451
  }
409
-
452
+
410
453
  /* ===== Dark Theme (Default) ===== */
411
454
 
412
455
  :root {
@@ -747,7 +790,7 @@
747
790
  .ds-input--prefix {
748
791
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239599A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'></circle><line x1='21' y1='21' x2='16.65' y2='16.65'></line></svg>") !important;
749
792
  }
750
- }
793
+ }
751
794
  /* ===== Light Theme ===== */
752
795
 
753
796
  [data-theme="light"] {
@@ -1045,7 +1088,7 @@
1045
1088
  .ds-input--prefix {
1046
1089
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666B75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'></circle><line x1='21' y1='21' x2='16.65' y2='16.65'></line></svg>") !important;
1047
1090
  }
1048
- }
1091
+ }
1049
1092
  /* ===== Brand Color Themes ===== */
1050
1093
  /* 仅替换品牌绿色系,其他颜色保持不变 */
1051
1094
 
@@ -1345,7 +1388,7 @@
1345
1388
  --bg-brand: #106898;
1346
1389
  --bg-brand-hover: #0E5C87;
1347
1390
  --bg-brand-popup: rgba(16, 104, 152, 0.15);
1348
- }
1391
+ }
1349
1392
  /*
1350
1393
  * scaffold.css - Layout, reset, typography utilities, shared atoms
1351
1394
  * Provides the page chrome consumed by preview/component-*.html and
@@ -1490,7 +1533,7 @@ code, kbd, samp, pre {
1490
1533
  font-variant-numeric: tabular-nums;
1491
1534
  font-feature-settings: "tnum" 1, "lnum" 1;
1492
1535
  }
1493
-
1536
+
1494
1537
  /* ===== Dashboard Layout ===== */
1495
1538
 
1496
1539
  html.ds-dashboard-page,
@@ -1858,7 +1901,7 @@ body.ds-dashboard-page {
1858
1901
  .ds-dashboard__footer {
1859
1902
  padding-bottom: calc(env(safe-area-inset-bottom) + 4px);
1860
1903
  }
1861
- }
1904
+ }
1862
1905
  /* ═══════════════════════════════════════════════════════════════
1863
1906
  components.css — Design System Component Definitions
1864
1907
  Auto-extracted from preview/component-*.html
@@ -3435,7 +3478,7 @@ body.ds-dashboard-page {
3435
3478
  font-size: var(--body-xs-font-size);
3436
3479
  color: var(--text-tertiary);
3437
3480
  }
3438
-
3481
+
3439
3482
  /* Activity Rail */
3440
3483
  .ds-activityrail {
3441
3484
  display: flex;
@@ -7836,7 +7879,7 @@ body.ds-dashboard-page {
7836
7879
 
7837
7880
  .ds-tree--compact .ds-tree__item {
7838
7881
  padding: var(--spacer-2) var(--spacer-8);
7839
- }
7882
+ }
7840
7883
  /* ===== Component States ===== */
7841
7884
 
7842
7885
  /* Loading State */
@@ -8152,7 +8195,7 @@ body.ds-dashboard-page {
8152
8195
  100% {
8153
8196
  box-shadow: 0 0 0 0 rgba(50, 240, 140, 0);
8154
8197
  }
8155
- }
8198
+ }
8156
8199
  /* ===== Utility Classes ===== */
8157
8200
 
8158
8201
  /* Spacing */
@@ -8486,7 +8529,7 @@ body.ds-dashboard-page {
8486
8529
  .ds-z-tooltip { z-index: var(--z-index-tooltip, 2100); }
8487
8530
  .ds-z-message { z-index: var(--z-index-message, 3000); }
8488
8531
  .ds-z-notification { z-index: var(--z-index-notification, 3100); }
8489
- .ds-z-loading { z-index: var(--z-index-loading, 5000); }
8532
+ .ds-z-loading { z-index: var(--z-index-loading, 5000); }
8490
8533
  /* Responsive Design */
8491
8534
  /* Breakpoints: Phone < 768px, Pad 768px - 1024px, PC > 1024px */
8492
8535
 
@@ -9183,7 +9226,7 @@ body.ds-dashboard-page {
9183
9226
  .ds-btn--sm {
9184
9227
  padding: 2px 6px;
9185
9228
  }
9186
- }
9229
+ }
9187
9230
  /* Accessibility (a11y) */
9188
9231
 
9189
9232
  /* Focus styles */
@@ -9302,7 +9345,7 @@ body.ds-dashboard-page {
9302
9345
  content: '';
9303
9346
  display: table;
9304
9347
  clear: both;
9305
- }
9348
+ }
9306
9349
  /* Animations and Transitions */
9307
9350
 
9308
9351
  /* Button hover and active */
@@ -9526,7 +9569,7 @@ body.ds-dashboard-page {
9526
9569
  .focus-ring:focus-visible {
9527
9570
  outline: 2px solid var(--bg-brand);
9528
9571
  outline-offset: 2px;
9529
- }
9572
+ }
9530
9573
  /* ================================================================
9531
9574
  KupolaTable Styles
9532
9575
  ================================================================ */
@@ -9601,4 +9644,4 @@ body.ds-dashboard-page {
9601
9644
  .kupola-table-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
9602
9645
  .kupola-table-page-ellipsis { padding: 0 4px; color: var(--text-tertiary); }
9603
9646
  .kupola-table-page-size { padding: 4px 8px; border: 1px solid var(--border-neutral-l2); border-radius: 4px; font-size: 13px; }
9604
- .kupola-table-page-info { color: var(--text-tertiary); font-size: 13px; }
9647
+ .kupola-table-page-info { color: var(--text-tertiary); font-size: 13px; }