@redis-ui/styles 16.3.0 → 16.4.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/index.js +111 -45
- package/dist/index.umd.cjs +2 -2
- package/dist/themes/themeDark/theme/components/buttonGroup.js +14 -8
- package/dist/themes/themeDark/theme/components/sideBar.js +2 -2
- package/dist/themes/themeDark2/theme/components/buttonGroup.js +28 -9
- package/dist/themes/themeDark2/theme/components/sideBar.js +2 -2
- package/dist/themes/themeLight/theme/components/buttonGroup.js +14 -8
- package/dist/themes/themeLight/theme/components/sideBar.js +2 -2
- package/dist/themes/themeLight2/theme/components/buttonGroup.js +31 -12
- package/dist/themes/themeLight2/theme/components/sideBar.js +2 -2
- package/dist/themes/types/theme/components/buttonGroup.types.d.ts +2 -1
- package/package.json +1 -1
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.
|
|
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
|
}
|
|
@@ -3278,9 +3288,9 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
3278
3288
|
left: "-1rem",
|
|
3279
3289
|
top: "0.5rem",
|
|
3280
3290
|
bottom: "0.5rem",
|
|
3281
|
-
width: "
|
|
3291
|
+
width: "3px",
|
|
3282
3292
|
bgColor: m.semantic.color.background.danger500,
|
|
3283
|
-
borderRadius: "0
|
|
3293
|
+
borderRadius: "0 2px 2px 0"
|
|
3284
3294
|
}
|
|
3285
3295
|
},
|
|
3286
3296
|
logo: { offset: "1.6rem" },
|
|
@@ -4712,38 +4722,48 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
4712
4722
|
}, Tn = {
|
|
4713
4723
|
borderRadius: "0.4rem",
|
|
4714
4724
|
border: `1px solid ${L.semantic.color.border.neutral600}`,
|
|
4725
|
+
bgColor: L.semantic.color.background.neutral100,
|
|
4715
4726
|
fontSize: "1.4rem",
|
|
4716
4727
|
fontWeight: L.core.font.fontWeight.normal,
|
|
4717
4728
|
fontStyle: "normal",
|
|
4718
|
-
padding: "0.
|
|
4729
|
+
padding: "0.3rem",
|
|
4719
4730
|
gap: "0.2rem",
|
|
4720
4731
|
button: {
|
|
4721
4732
|
padding: `${L.core.space.space050} ${L.core.space.space200}`,
|
|
4722
4733
|
gap: L.core.space.space050,
|
|
4723
4734
|
minWidth: "6rem",
|
|
4724
|
-
border: "transparent",
|
|
4725
4735
|
borderRadius: "0.4rem",
|
|
4726
4736
|
toggleStates: {
|
|
4727
4737
|
on: {
|
|
4728
4738
|
normal: {
|
|
4729
4739
|
bgColor: L.semantic.color.background.primary400,
|
|
4730
|
-
textColor: L.semantic.color.text.neutral100
|
|
4740
|
+
textColor: L.semantic.color.text.neutral100,
|
|
4741
|
+
borderColor: "transparent"
|
|
4731
4742
|
},
|
|
4732
4743
|
disabled: {
|
|
4733
4744
|
bgColor: L.semantic.color.background.neutral400,
|
|
4734
|
-
textColor: L.semantic.color.text.neutral600
|
|
4745
|
+
textColor: L.semantic.color.text.neutral600,
|
|
4746
|
+
borderColor: "transparent"
|
|
4735
4747
|
}
|
|
4736
4748
|
},
|
|
4737
4749
|
off: {
|
|
4738
4750
|
normal: {
|
|
4739
4751
|
bgColor: L.semantic.color.background.neutral100,
|
|
4740
|
-
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"
|
|
4741
4762
|
},
|
|
4742
|
-
hover: { bgColor: L.semantic.color.background.neutral400 },
|
|
4743
|
-
active: { bgColor: L.semantic.color.background.neutral400 },
|
|
4744
4763
|
disabled: {
|
|
4745
4764
|
bgColor: L.semantic.color.background.neutral300,
|
|
4746
|
-
textColor: L.semantic.color.text.neutral500
|
|
4765
|
+
textColor: L.semantic.color.text.neutral500,
|
|
4766
|
+
borderColor: "transparent"
|
|
4747
4767
|
}
|
|
4748
4768
|
}
|
|
4749
4769
|
}
|
|
@@ -5932,9 +5952,9 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
5932
5952
|
left: "-1rem",
|
|
5933
5953
|
top: "0.5rem",
|
|
5934
5954
|
bottom: "0.5rem",
|
|
5935
|
-
width: "
|
|
5955
|
+
width: "3px",
|
|
5936
5956
|
bgColor: L.semantic.color.background.danger500,
|
|
5937
|
-
borderRadius: "0
|
|
5957
|
+
borderRadius: "0 2px 2px 0"
|
|
5938
5958
|
}
|
|
5939
5959
|
},
|
|
5940
5960
|
logo: { offset: "1.6rem" },
|
|
@@ -7402,38 +7422,61 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
7402
7422
|
}, Nr = {
|
|
7403
7423
|
borderRadius: "0.4rem",
|
|
7404
7424
|
border: `1px solid ${W.semantic.color.border.transparent}`,
|
|
7425
|
+
bgColor: W.semantic.color.background.secondary100,
|
|
7405
7426
|
fontSize: "1.4rem",
|
|
7406
7427
|
fontWeight: W.core.font.fontWeight.normal,
|
|
7407
7428
|
fontStyle: "normal",
|
|
7408
|
-
padding: "0.
|
|
7429
|
+
padding: "0.3rem",
|
|
7409
7430
|
gap: "0.2rem",
|
|
7410
7431
|
button: {
|
|
7411
7432
|
padding: `${W.core.space.space050} ${W.core.space.space200}`,
|
|
7412
7433
|
gap: W.core.space.space050,
|
|
7413
7434
|
minWidth: "6rem",
|
|
7414
|
-
|
|
7415
|
-
|
|
7435
|
+
borderRadius: "0.3rem",
|
|
7436
|
+
borderWidth: "1px",
|
|
7416
7437
|
toggleStates: {
|
|
7417
7438
|
on: {
|
|
7418
7439
|
normal: {
|
|
7419
|
-
bgColor: W.semantic.color.background.
|
|
7420
|
-
textColor: W.semantic.color.text.
|
|
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
|
|
7421
7453
|
},
|
|
7422
7454
|
disabled: {
|
|
7423
|
-
bgColor: W.semantic.color.background.
|
|
7424
|
-
textColor: W.semantic.color.text.
|
|
7455
|
+
bgColor: W.semantic.color.background.secondary50,
|
|
7456
|
+
textColor: W.semantic.color.text.neutral500,
|
|
7457
|
+
borderColor: W.semantic.color.border.secondary400
|
|
7425
7458
|
}
|
|
7426
7459
|
},
|
|
7427
7460
|
off: {
|
|
7428
7461
|
normal: {
|
|
7429
7462
|
bgColor: W.semantic.color.background.secondary100,
|
|
7430
|
-
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"
|
|
7431
7475
|
},
|
|
7432
|
-
hover: { bgColor: W.semantic.color.background.secondary300 },
|
|
7433
|
-
active: { bgColor: W.semantic.color.background.secondary300 },
|
|
7434
7476
|
disabled: {
|
|
7435
|
-
bgColor: W.semantic.color.background.
|
|
7436
|
-
textColor: W.semantic.color.text.
|
|
7477
|
+
bgColor: W.semantic.color.background.secondary100,
|
|
7478
|
+
textColor: W.semantic.color.text.neutral500,
|
|
7479
|
+
borderColor: "transparent"
|
|
7437
7480
|
}
|
|
7438
7481
|
}
|
|
7439
7482
|
}
|
|
@@ -8707,9 +8750,9 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
8707
8750
|
left: "-1rem",
|
|
8708
8751
|
top: "0.5rem",
|
|
8709
8752
|
bottom: "0.5rem",
|
|
8710
|
-
width: "
|
|
8753
|
+
width: "3px",
|
|
8711
8754
|
bgColor: W.semantic.color.background.danger500,
|
|
8712
|
-
borderRadius: "0
|
|
8755
|
+
borderRadius: "0 2px 2px 0"
|
|
8713
8756
|
}
|
|
8714
8757
|
},
|
|
8715
8758
|
logo: { offset: "1.6rem" },
|
|
@@ -10198,38 +10241,61 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
10198
10241
|
}, Vi = {
|
|
10199
10242
|
borderRadius: "0.4rem",
|
|
10200
10243
|
border: `1px solid ${J.semantic.color.border.transparent}`,
|
|
10244
|
+
bgColor: J.semantic.color.background.secondary900,
|
|
10201
10245
|
fontSize: "1.4rem",
|
|
10202
10246
|
fontWeight: J.core.font.fontWeight.normal,
|
|
10203
10247
|
fontStyle: "normal",
|
|
10204
|
-
padding: "0.
|
|
10248
|
+
padding: "0.3rem",
|
|
10205
10249
|
gap: "0.2rem",
|
|
10206
10250
|
button: {
|
|
10207
10251
|
padding: `${J.core.space.space050} ${J.core.space.space200}`,
|
|
10208
10252
|
gap: J.core.space.space050,
|
|
10209
10253
|
minWidth: "6rem",
|
|
10210
|
-
|
|
10211
|
-
|
|
10254
|
+
borderRadius: "0.3rem",
|
|
10255
|
+
borderWidth: "1px",
|
|
10212
10256
|
toggleStates: {
|
|
10213
10257
|
on: {
|
|
10214
10258
|
normal: {
|
|
10215
10259
|
bgColor: J.semantic.color.background.primary400,
|
|
10216
|
-
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
|
|
10217
10272
|
},
|
|
10218
10273
|
disabled: {
|
|
10219
10274
|
bgColor: J.semantic.color.background.secondary800,
|
|
10220
|
-
textColor: J.semantic.color.text.secondary600
|
|
10275
|
+
textColor: J.semantic.color.text.secondary600,
|
|
10276
|
+
borderColor: "transparent"
|
|
10221
10277
|
}
|
|
10222
10278
|
},
|
|
10223
10279
|
off: {
|
|
10224
10280
|
normal: {
|
|
10225
10281
|
bgColor: J.semantic.color.background.secondary900,
|
|
10226
|
-
textColor: J.semantic.color.text.
|
|
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"
|
|
10227
10294
|
},
|
|
10228
|
-
hover: { bgColor: J.semantic.color.background.secondary800 },
|
|
10229
|
-
active: { bgColor: J.semantic.color.background.secondary800 },
|
|
10230
10295
|
disabled: {
|
|
10231
10296
|
bgColor: J.semantic.color.background.secondary900,
|
|
10232
|
-
textColor: J.semantic.color.text.
|
|
10297
|
+
textColor: J.semantic.color.text.secondary600,
|
|
10298
|
+
borderColor: "transparent"
|
|
10233
10299
|
}
|
|
10234
10300
|
}
|
|
10235
10301
|
}
|
|
@@ -11504,9 +11570,9 @@ var gt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
11504
11570
|
left: "-1rem",
|
|
11505
11571
|
top: "0.5rem",
|
|
11506
11572
|
bottom: "0.5rem",
|
|
11507
|
-
width: "
|
|
11573
|
+
width: "3px",
|
|
11508
11574
|
bgColor: J.semantic.color.background.danger500,
|
|
11509
|
-
borderRadius: "0
|
|
11575
|
+
borderRadius: "0 2px 2px 0"
|
|
11510
11576
|
}
|
|
11511
11577
|
},
|
|
11512
11578
|
logo: { offset: "1.6rem" },
|