@redis-ui/styles 21.23.0 → 21.24.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 +23 -17
- package/dist/index.umd.cjs +2 -2
- package/dist/themes/themeDark/theme/components/codeBlock.js +4 -3
- package/dist/themes/themeDarkNext/theme/components/codeBlock.js +6 -5
- package/dist/themes/themeDarkNext/theme/components/copyToClipboardButton.js +3 -3
- package/dist/themes/themeDarkNext/theme/components/select.js +1 -0
- package/dist/themes/themeLight/theme/components/codeBlock.js +4 -3
- package/dist/themes/themeLightNext/theme/components/codeBlock.js +4 -3
- package/dist/themes/themeLightNext/theme/components/select.js +1 -0
- package/dist/themes/types/theme/components/codeBlock.types.d.ts +5 -3
- package/dist/themes/types/theme/components/select.types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1011,11 +1011,12 @@ var p = {
|
|
|
1011
1011
|
bgColor: m.semantic.color.background.neutral100,
|
|
1012
1012
|
textColor: m.semantic.color.text.secondary950,
|
|
1013
1013
|
borderRadius: "0.5rem",
|
|
1014
|
+
border: "none",
|
|
1014
1015
|
fontFamily: m.core.font.fontFamily.sourceCodeProRegular,
|
|
1015
1016
|
lineHeight: "1.7",
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1017
|
+
paddingY: "1.4rem",
|
|
1018
|
+
paddingX: "1.6rem",
|
|
1019
|
+
paddingRightWithCopy: "4.8rem",
|
|
1019
1020
|
sizes: {
|
|
1020
1021
|
M: { fontSize: "1.25rem" },
|
|
1021
1022
|
S: { fontSize: "1.15rem" }
|
|
@@ -5529,11 +5530,12 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
5529
5530
|
bgColor: P.semantic.color.background.secondary900,
|
|
5530
5531
|
textColor: P.semantic.color.text.neutral0,
|
|
5531
5532
|
borderRadius: "0.5rem",
|
|
5533
|
+
border: "none",
|
|
5532
5534
|
fontFamily: P.core.font.fontFamily.sourceCodeProRegular,
|
|
5533
5535
|
lineHeight: "1.7",
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5536
|
+
paddingY: "1.4rem",
|
|
5537
|
+
paddingX: "1.6rem",
|
|
5538
|
+
paddingRightWithCopy: "4.8rem",
|
|
5537
5539
|
sizes: {
|
|
5538
5540
|
M: { fontSize: "1.25rem" },
|
|
5539
5541
|
S: { fontSize: "1.15rem" }
|
|
@@ -8621,11 +8623,12 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
8621
8623
|
bgColor: V.semantic.color.background.neutral100,
|
|
8622
8624
|
textColor: V.semantic.color.text.secondary950,
|
|
8623
8625
|
borderRadius: "0.5rem",
|
|
8626
|
+
border: "none",
|
|
8624
8627
|
fontFamily: V.core.font.fontFamily.sourceCodeProRegular,
|
|
8625
8628
|
lineHeight: "1.7",
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
+
paddingY: "1.4rem",
|
|
8630
|
+
paddingX: "1.6rem",
|
|
8631
|
+
paddingRightWithCopy: "4.8rem",
|
|
8629
8632
|
sizes: {
|
|
8630
8633
|
M: { fontSize: "1.25rem" },
|
|
8631
8634
|
S: { fontSize: "1.15rem" }
|
|
@@ -9430,6 +9433,7 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
9430
9433
|
padding: "0.8rem 0",
|
|
9431
9434
|
bgColor: V.semantic.color.background.secondary0,
|
|
9432
9435
|
shadow: V.core.shadow.shadow400,
|
|
9436
|
+
borderColor: V.semantic.color.border.secondary200,
|
|
9433
9437
|
borderRadius: "0.5rem",
|
|
9434
9438
|
triggerOffset: "0.4rem",
|
|
9435
9439
|
maxHeight: "50vh",
|
|
@@ -11764,14 +11768,15 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
11764
11768
|
padding: "1.2rem 1.6rem"
|
|
11765
11769
|
}
|
|
11766
11770
|
}, pa = {
|
|
11767
|
-
bgColor: q.semantic.color.background.
|
|
11768
|
-
textColor: q.semantic.color.text.
|
|
11771
|
+
bgColor: q.semantic.color.background.secondary990,
|
|
11772
|
+
textColor: q.semantic.color.text.secondary300,
|
|
11769
11773
|
borderRadius: "0.5rem",
|
|
11774
|
+
border: `1px solid ${q.semantic.color.border.secondary500}`,
|
|
11770
11775
|
fontFamily: q.core.font.fontFamily.sourceCodeProRegular,
|
|
11771
11776
|
lineHeight: "1.7",
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11777
|
+
paddingY: "1.4rem",
|
|
11778
|
+
paddingX: "1.6rem",
|
|
11779
|
+
paddingRightWithCopy: "4.8rem",
|
|
11775
11780
|
sizes: {
|
|
11776
11781
|
M: { fontSize: "1.25rem" },
|
|
11777
11782
|
S: { fontSize: "1.15rem" }
|
|
@@ -11792,9 +11797,9 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
11792
11797
|
iconColor: X.neutral0
|
|
11793
11798
|
},
|
|
11794
11799
|
copied: {
|
|
11795
|
-
bgColor: J.
|
|
11796
|
-
borderColor: Y.
|
|
11797
|
-
iconColor: X.
|
|
11800
|
+
bgColor: J.secondary950,
|
|
11801
|
+
borderColor: Y.secondary500,
|
|
11802
|
+
iconColor: X.success500
|
|
11798
11803
|
},
|
|
11799
11804
|
disabled: {
|
|
11800
11805
|
bgColor: J.secondary950,
|
|
@@ -12577,6 +12582,7 @@ var St = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
|
|
|
12577
12582
|
padding: "0.8rem 0",
|
|
12578
12583
|
bgColor: q.semantic.color.background.secondary950,
|
|
12579
12584
|
shadow: q.core.shadow.shadow400,
|
|
12585
|
+
borderColor: q.semantic.color.border.secondary700,
|
|
12580
12586
|
borderRadius: "0.5rem",
|
|
12581
12587
|
triggerOffset: "0.4rem",
|
|
12582
12588
|
maxHeight: "50vh",
|