@redis-ui/styles 16.2.0 → 16.4.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/index.js CHANGED
@@ -611,38 +611,48 @@ var p = {
611
611
  }, ue = {
612
612
  borderRadius: "0.4rem",
613
613
  border: `1px solid ${m.semantic.color.border.neutral600}`,
614
+ bgColor: m.semantic.color.background.neutral100,
614
615
  fontSize: "1.4rem",
615
616
  fontWeight: m.core.font.fontWeight.normal,
616
617
  fontStyle: "normal",
617
- padding: "0.1rem",
618
+ padding: "0.3rem",
618
619
  gap: "0.2rem",
619
620
  button: {
620
621
  padding: `${m.core.space.space050} ${m.core.space.space200}`,
621
622
  gap: m.core.space.space050,
622
623
  minWidth: "6rem",
623
- border: "transparent",
624
624
  borderRadius: "0.4rem",
625
625
  toggleStates: {
626
626
  on: {
627
627
  normal: {
628
628
  bgColor: m.semantic.color.background.primary400,
629
- textColor: m.semantic.color.text.neutral100
629
+ textColor: m.semantic.color.text.neutral100,
630
+ borderColor: "transparent"
630
631
  },
631
632
  disabled: {
632
633
  bgColor: m.semantic.color.background.neutral400,
633
- textColor: m.semantic.color.text.neutral600
634
+ textColor: m.semantic.color.text.neutral600,
635
+ borderColor: "transparent"
634
636
  }
635
637
  },
636
638
  off: {
637
639
  normal: {
638
640
  bgColor: m.semantic.color.background.neutral100,
639
- textColor: m.semantic.color.text.neutral700
641
+ textColor: m.semantic.color.text.neutral700,
642
+ borderColor: "transparent"
643
+ },
644
+ hover: {
645
+ bgColor: m.semantic.color.background.neutral400,
646
+ borderColor: "transparent"
647
+ },
648
+ active: {
649
+ bgColor: m.semantic.color.background.neutral400,
650
+ borderColor: "transparent"
640
651
  },
641
- hover: { bgColor: m.semantic.color.background.neutral400 },
642
- active: { bgColor: m.semantic.color.background.neutral400 },
643
652
  disabled: {
644
653
  bgColor: m.semantic.color.background.neutral300,
645
- textColor: m.semantic.color.text.neutral500
654
+ textColor: m.semantic.color.text.neutral500,
655
+ borderColor: "transparent"
646
656
  }
647
657
  }
648
658
  }
@@ -3207,7 +3217,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
3207
3217
  collapsed: {
3208
3218
  bgColor: m.semantic.color.background.neutral300,
3209
3219
  shadow: "none",
3210
- width: "6.2rem",
3220
+ width: "5.8rem",
3211
3221
  borderRight: `1px solid ${m.semantic.color.border.primary100}`,
3212
3222
  divider: {
3213
3223
  color: m.semantic.color.background.neutral400,
@@ -3246,7 +3256,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
3246
3256
  }
3247
3257
  },
3248
3258
  item: {
3249
- margin: "0.5rem 1rem",
3259
+ margin: "0.2rem 0.5rem 0.2rem 1rem",
3250
3260
  height: "3.2rem",
3251
3261
  padding: "0 0.8rem",
3252
3262
  gap: "0.8rem",
@@ -3273,10 +3283,21 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
3273
3283
  borderColor: m.semantic.color.border.secondary800,
3274
3284
  borderSize: "1px",
3275
3285
  textColor: m.semantic.color.text.secondary800
3286
+ },
3287
+ activeIndicator: {
3288
+ left: "-1rem",
3289
+ top: "0.5rem",
3290
+ bottom: "0.5rem",
3291
+ width: "0.5rem",
3292
+ bgColor: m.semantic.color.background.danger500,
3293
+ borderRadius: "0 0.3rem 0.3rem 0"
3276
3294
  }
3277
3295
  },
3278
3296
  logo: { offset: "1.6rem" },
3279
- groupTitle: { padding: `${m.core.space.space150} ${m.core.space.space200} ${m.core.space.space050}` }
3297
+ groupTitle: {
3298
+ padding: "1.4rem 1.6rem 0.4rem",
3299
+ textColor: m.semantic.color.text.secondary500
3300
+ }
3280
3301
  },
3281
3302
  expanded: {
3282
3303
  width: "20rem",
@@ -4701,38 +4722,48 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
4701
4722
  }, Tn = {
4702
4723
  borderRadius: "0.4rem",
4703
4724
  border: `1px solid ${L.semantic.color.border.neutral600}`,
4725
+ bgColor: L.semantic.color.background.neutral100,
4704
4726
  fontSize: "1.4rem",
4705
4727
  fontWeight: L.core.font.fontWeight.normal,
4706
4728
  fontStyle: "normal",
4707
- padding: "0.1rem",
4729
+ padding: "0.3rem",
4708
4730
  gap: "0.2rem",
4709
4731
  button: {
4710
4732
  padding: `${L.core.space.space050} ${L.core.space.space200}`,
4711
4733
  gap: L.core.space.space050,
4712
4734
  minWidth: "6rem",
4713
- border: "transparent",
4714
4735
  borderRadius: "0.4rem",
4715
4736
  toggleStates: {
4716
4737
  on: {
4717
4738
  normal: {
4718
4739
  bgColor: L.semantic.color.background.primary400,
4719
- textColor: L.semantic.color.text.neutral100
4740
+ textColor: L.semantic.color.text.neutral100,
4741
+ borderColor: "transparent"
4720
4742
  },
4721
4743
  disabled: {
4722
4744
  bgColor: L.semantic.color.background.neutral400,
4723
- textColor: L.semantic.color.text.neutral600
4745
+ textColor: L.semantic.color.text.neutral600,
4746
+ borderColor: "transparent"
4724
4747
  }
4725
4748
  },
4726
4749
  off: {
4727
4750
  normal: {
4728
4751
  bgColor: L.semantic.color.background.neutral100,
4729
- textColor: L.semantic.color.text.neutral700
4752
+ textColor: L.semantic.color.text.neutral700,
4753
+ borderColor: "transparent"
4754
+ },
4755
+ hover: {
4756
+ bgColor: L.semantic.color.background.neutral400,
4757
+ borderColor: "transparent"
4758
+ },
4759
+ active: {
4760
+ bgColor: L.semantic.color.background.neutral400,
4761
+ borderColor: "transparent"
4730
4762
  },
4731
- hover: { bgColor: L.semantic.color.background.neutral400 },
4732
- active: { bgColor: L.semantic.color.background.neutral400 },
4733
4763
  disabled: {
4734
4764
  bgColor: L.semantic.color.background.neutral300,
4735
- textColor: L.semantic.color.text.neutral500
4765
+ textColor: L.semantic.color.text.neutral500,
4766
+ borderColor: "transparent"
4736
4767
  }
4737
4768
  }
4738
4769
  }
@@ -5850,7 +5881,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
5850
5881
  collapsed: {
5851
5882
  bgColor: L.semantic.color.background.neutral100,
5852
5883
  shadow: "none",
5853
- width: "6.2rem",
5884
+ width: "5.8rem",
5854
5885
  borderRight: `1px solid ${L.semantic.color.border.primary100}`,
5855
5886
  divider: {
5856
5887
  color: L.semantic.color.background.neutral400,
@@ -5889,7 +5920,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
5889
5920
  }
5890
5921
  },
5891
5922
  item: {
5892
- margin: "0.5rem 1rem",
5923
+ margin: "0.2rem 0.5rem 0.2rem 1rem",
5893
5924
  height: "3.2rem",
5894
5925
  padding: "0 0.8rem",
5895
5926
  gap: "0.8rem",
@@ -5916,10 +5947,21 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
5916
5947
  borderColor: L.semantic.color.border.secondary800,
5917
5948
  borderSize: "1px",
5918
5949
  textColor: L.semantic.color.text.secondary800
5950
+ },
5951
+ activeIndicator: {
5952
+ left: "-1rem",
5953
+ top: "0.5rem",
5954
+ bottom: "0.5rem",
5955
+ width: "0.5rem",
5956
+ bgColor: L.semantic.color.background.danger500,
5957
+ borderRadius: "0 0.3rem 0.3rem 0"
5919
5958
  }
5920
5959
  },
5921
5960
  logo: { offset: "1.6rem" },
5922
- groupTitle: { padding: `${L.core.space.space150} ${L.core.space.space200} ${L.core.space.space050}` }
5961
+ groupTitle: {
5962
+ padding: "1.4rem 1.6rem 0.4rem",
5963
+ textColor: L.semantic.color.text.secondary500
5964
+ }
5923
5965
  },
5924
5966
  expanded: {
5925
5967
  width: "20rem",
@@ -7380,38 +7422,61 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
7380
7422
  }, Nr = {
7381
7423
  borderRadius: "0.4rem",
7382
7424
  border: `1px solid ${W.semantic.color.border.transparent}`,
7425
+ bgColor: W.semantic.color.background.secondary100,
7383
7426
  fontSize: "1.4rem",
7384
7427
  fontWeight: W.core.font.fontWeight.normal,
7385
7428
  fontStyle: "normal",
7386
- padding: "0.1rem",
7429
+ padding: "0.3rem",
7387
7430
  gap: "0.2rem",
7388
7431
  button: {
7389
7432
  padding: `${W.core.space.space050} ${W.core.space.space200}`,
7390
7433
  gap: W.core.space.space050,
7391
7434
  minWidth: "6rem",
7392
- border: "transparent",
7393
- borderRadius: "0.4rem",
7435
+ borderRadius: "0.3rem",
7436
+ borderWidth: "1px",
7394
7437
  toggleStates: {
7395
7438
  on: {
7396
7439
  normal: {
7397
- bgColor: W.semantic.color.background.primary400,
7398
- textColor: W.semantic.color.text.secondary0
7440
+ bgColor: W.semantic.color.background.secondary0,
7441
+ textColor: W.semantic.color.text.secondary950,
7442
+ borderColor: W.semantic.color.border.secondary400
7443
+ },
7444
+ hover: {
7445
+ bgColor: W.semantic.color.background.secondary50,
7446
+ textColor: W.semantic.color.text.secondary950,
7447
+ borderColor: W.semantic.color.border.secondary400
7448
+ },
7449
+ active: {
7450
+ bgColor: W.semantic.color.background.secondary0,
7451
+ textColor: W.semantic.color.text.secondary950,
7452
+ borderColor: W.semantic.color.border.secondary400
7399
7453
  },
7400
7454
  disabled: {
7401
- bgColor: W.semantic.color.background.primary100,
7402
- textColor: W.semantic.color.text.primary0
7455
+ bgColor: W.semantic.color.background.secondary50,
7456
+ textColor: W.semantic.color.text.neutral500,
7457
+ borderColor: W.semantic.color.border.secondary400
7403
7458
  }
7404
7459
  },
7405
7460
  off: {
7406
7461
  normal: {
7407
7462
  bgColor: W.semantic.color.background.secondary100,
7408
- textColor: W.semantic.color.text.secondary900
7463
+ textColor: W.semantic.color.text.secondary900,
7464
+ borderColor: "transparent"
7465
+ },
7466
+ hover: {
7467
+ bgColor: W.semantic.color.background.secondary300,
7468
+ textColor: W.semantic.color.text.secondary950,
7469
+ borderColor: "transparent"
7470
+ },
7471
+ active: {
7472
+ bgColor: W.semantic.color.background.neutral300,
7473
+ textColor: W.semantic.color.text.secondary950,
7474
+ borderColor: "transparent"
7409
7475
  },
7410
- hover: { bgColor: W.semantic.color.background.secondary300 },
7411
- active: { bgColor: W.semantic.color.background.secondary300 },
7412
7476
  disabled: {
7413
- bgColor: W.semantic.color.background.secondary50,
7414
- textColor: W.semantic.color.text.secondary300
7477
+ bgColor: W.semantic.color.background.secondary100,
7478
+ textColor: W.semantic.color.text.neutral500,
7479
+ borderColor: "transparent"
7415
7480
  }
7416
7481
  }
7417
7482
  }
@@ -8614,7 +8679,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
8614
8679
  collapsed: {
8615
8680
  bgColor: W.semantic.color.background.secondary50,
8616
8681
  shadow: "none",
8617
- width: "6.2rem",
8682
+ width: "5.8rem",
8618
8683
  borderRight: `1px solid ${W.semantic.color.border.secondary300}`,
8619
8684
  divider: {
8620
8685
  color: W.semantic.color.background.secondary300,
@@ -8653,7 +8718,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
8653
8718
  }
8654
8719
  },
8655
8720
  item: {
8656
- margin: "0.5rem 1rem",
8721
+ margin: "0.2rem 0.5rem 0.2rem 1rem",
8657
8722
  height: "3.2rem",
8658
8723
  padding: "0 0.8rem",
8659
8724
  gap: "0.8rem",
@@ -8680,10 +8745,21 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
8680
8745
  borderColor: W.semantic.color.border.primary400,
8681
8746
  borderSize: "1px",
8682
8747
  textColor: W.semantic.color.text.secondary0
8748
+ },
8749
+ activeIndicator: {
8750
+ left: "-1rem",
8751
+ top: "0.5rem",
8752
+ bottom: "0.5rem",
8753
+ width: "0.5rem",
8754
+ bgColor: W.semantic.color.background.danger500,
8755
+ borderRadius: "0 0.3rem 0.3rem 0"
8683
8756
  }
8684
8757
  },
8685
8758
  logo: { offset: "1.6rem" },
8686
- groupTitle: { padding: `${W.core.space.space150} ${W.core.space.space200} ${W.core.space.space050}` }
8759
+ groupTitle: {
8760
+ padding: "1.4rem 1.6rem 0.4rem",
8761
+ textColor: W.semantic.color.text.secondary500
8762
+ }
8687
8763
  },
8688
8764
  expanded: {
8689
8765
  width: "20rem",
@@ -10165,38 +10241,61 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
10165
10241
  }, Vi = {
10166
10242
  borderRadius: "0.4rem",
10167
10243
  border: `1px solid ${J.semantic.color.border.transparent}`,
10244
+ bgColor: J.semantic.color.background.secondary900,
10168
10245
  fontSize: "1.4rem",
10169
10246
  fontWeight: J.core.font.fontWeight.normal,
10170
10247
  fontStyle: "normal",
10171
- padding: "0.1rem",
10248
+ padding: "0.3rem",
10172
10249
  gap: "0.2rem",
10173
10250
  button: {
10174
10251
  padding: `${J.core.space.space050} ${J.core.space.space200}`,
10175
10252
  gap: J.core.space.space050,
10176
10253
  minWidth: "6rem",
10177
- border: "transparent",
10178
- borderRadius: "0.4rem",
10254
+ borderRadius: "0.3rem",
10255
+ borderWidth: "1px",
10179
10256
  toggleStates: {
10180
10257
  on: {
10181
10258
  normal: {
10182
10259
  bgColor: J.semantic.color.background.primary400,
10183
- textColor: J.semantic.color.text.secondary0
10260
+ textColor: J.semantic.color.text.secondary0,
10261
+ borderColor: J.semantic.color.border.primary600
10262
+ },
10263
+ hover: {
10264
+ bgColor: J.semantic.color.background.primary400,
10265
+ textColor: J.semantic.color.text.secondary0,
10266
+ borderColor: J.semantic.color.border.primary600
10267
+ },
10268
+ active: {
10269
+ bgColor: J.semantic.color.background.primary400,
10270
+ textColor: J.semantic.color.text.secondary0,
10271
+ borderColor: J.semantic.color.border.primary600
10184
10272
  },
10185
10273
  disabled: {
10186
10274
  bgColor: J.semantic.color.background.secondary800,
10187
- textColor: J.semantic.color.text.secondary600
10275
+ textColor: J.semantic.color.text.secondary600,
10276
+ borderColor: "transparent"
10188
10277
  }
10189
10278
  },
10190
10279
  off: {
10191
10280
  normal: {
10192
10281
  bgColor: J.semantic.color.background.secondary900,
10193
- textColor: J.semantic.color.text.secondary400
10282
+ textColor: J.semantic.color.text.secondary300,
10283
+ borderColor: "transparent"
10284
+ },
10285
+ hover: {
10286
+ bgColor: J.semantic.color.background.secondary800,
10287
+ textColor: J.semantic.color.text.secondary200,
10288
+ borderColor: "transparent"
10289
+ },
10290
+ active: {
10291
+ bgColor: J.semantic.color.background.secondary700,
10292
+ textColor: J.semantic.color.text.secondary200,
10293
+ borderColor: "transparent"
10194
10294
  },
10195
- hover: { bgColor: J.semantic.color.background.secondary800 },
10196
- active: { bgColor: J.semantic.color.background.secondary800 },
10197
10295
  disabled: {
10198
10296
  bgColor: J.semantic.color.background.secondary900,
10199
- textColor: J.semantic.color.text.secondary700
10297
+ textColor: J.semantic.color.text.secondary600,
10298
+ borderColor: "transparent"
10200
10299
  }
10201
10300
  }
10202
10301
  }
@@ -11400,7 +11499,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
11400
11499
  collapsed: {
11401
11500
  bgColor: J.semantic.color.background.secondary950,
11402
11501
  shadow: "none",
11403
- width: "6.2rem",
11502
+ width: "5.8rem",
11404
11503
  borderRight: `1px solid ${J.semantic.color.border.secondary800}`,
11405
11504
  divider: {
11406
11505
  color: J.semantic.color.background.secondary800,
@@ -11439,7 +11538,7 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
11439
11538
  }
11440
11539
  },
11441
11540
  item: {
11442
- margin: "0.5rem 1rem",
11541
+ margin: "0.2rem 0.5rem 0.2rem 1rem",
11443
11542
  height: "3.2rem",
11444
11543
  padding: "0 0.8rem",
11445
11544
  gap: "0.8rem",
@@ -11466,10 +11565,21 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
11466
11565
  borderColor: J.semantic.color.border.primary400,
11467
11566
  borderSize: "1px",
11468
11567
  textColor: J.semantic.color.text.secondary50
11568
+ },
11569
+ activeIndicator: {
11570
+ left: "-1rem",
11571
+ top: "0.5rem",
11572
+ bottom: "0.5rem",
11573
+ width: "0.5rem",
11574
+ bgColor: J.semantic.color.background.danger500,
11575
+ borderRadius: "0 0.3rem 0.3rem 0"
11469
11576
  }
11470
11577
  },
11471
11578
  logo: { offset: "1.6rem" },
11472
- groupTitle: { padding: `${J.core.space.space150} ${J.core.space.space200} ${J.core.space.space050}` }
11579
+ groupTitle: {
11580
+ padding: "1.4rem 1.6rem 0.4rem",
11581
+ textColor: J.semantic.color.text.secondary500
11582
+ }
11473
11583
  },
11474
11584
  expanded: {
11475
11585
  width: "20rem",