@redis-ui/styles 21.5.0 → 21.6.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
@@ -792,10 +792,79 @@ var p = {
792
792
  m.semantic.color.icon.discovery700
793
793
  ],
794
794
  grid: m.semantic.color.border.secondary200,
795
+ gridDashArray: "3",
795
796
  axisLabel: m.semantic.color.text.secondary500,
796
797
  threshold: {
797
798
  warning: m.semantic.color.icon.attention400,
798
799
  critical: m.semantic.color.icon.danger500
800
+ },
801
+ axis: {
802
+ fontFamily: m.core.font.fontFamily.regular,
803
+ fontSize: {
804
+ S: m.core.font.fontSize.s10,
805
+ M: m.core.font.fontSize.s12
806
+ }
807
+ },
808
+ series: {
809
+ strokeWidth: {
810
+ S: 2,
811
+ M: 2
812
+ },
813
+ areaOpacity: {
814
+ from: .3,
815
+ to: 0
816
+ }
817
+ },
818
+ cursor: {
819
+ color: m.semantic.color.border.secondary300,
820
+ width: 1
821
+ },
822
+ activeDot: {
823
+ size: 8,
824
+ ringColor: m.semantic.color.background.secondary0,
825
+ ringWidth: 2
826
+ },
827
+ referenceLine: {
828
+ color: m.semantic.color.border.secondary500,
829
+ dashArray: "4 4"
830
+ },
831
+ tooltip: {
832
+ bgColor: m.semantic.color.background.secondary0,
833
+ textColor: m.semantic.color.text.secondary950,
834
+ labelColor: m.semantic.color.text.secondary500,
835
+ borderColor: m.semantic.color.border.secondary200,
836
+ borderRadius: "0.4rem",
837
+ shadow: m.core.shadow.shadow200,
838
+ padding: "0.8rem 1.2rem",
839
+ fontSize: m.core.font.fontSize.s12,
840
+ labelFontSize: m.core.font.fontSize.s12,
841
+ valueFontFamily: m.core.font.fontFamily.regular,
842
+ markerSize: "0.8rem"
843
+ },
844
+ legend: {
845
+ textColor: m.semantic.color.text.secondary600,
846
+ fontFamily: {
847
+ S: m.core.font.fontFamily.regular,
848
+ M: m.core.font.fontFamily.regular
849
+ },
850
+ fontSize: {
851
+ S: m.core.font.fontSize.s12,
852
+ M: m.core.font.fontSize.s12
853
+ },
854
+ gap: {
855
+ S: "1.2rem",
856
+ M: "1.6rem"
857
+ },
858
+ dotSize: "0.8rem",
859
+ lineWidth: "1.2rem",
860
+ lineHeight: "0.2rem"
861
+ },
862
+ sparkline: {
863
+ strokeWidth: 1.5,
864
+ areaOpacity: {
865
+ from: .4,
866
+ to: .04
867
+ }
799
868
  }
800
869
  }, pe = {
801
870
  width: "1.8rem",
@@ -5137,10 +5206,79 @@ var ft = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
5137
5206
  z.semantic.color.icon.discovery700
5138
5207
  ],
5139
5208
  grid: z.semantic.color.border.secondary700,
5209
+ gridDashArray: "3",
5140
5210
  axisLabel: z.semantic.color.text.secondary400,
5141
5211
  threshold: {
5142
5212
  warning: z.semantic.color.icon.attention400,
5143
5213
  critical: z.semantic.color.icon.danger500
5214
+ },
5215
+ axis: {
5216
+ fontFamily: z.core.font.fontFamily.regular,
5217
+ fontSize: {
5218
+ S: z.core.font.fontSize.s10,
5219
+ M: z.core.font.fontSize.s12
5220
+ }
5221
+ },
5222
+ series: {
5223
+ strokeWidth: {
5224
+ S: 2,
5225
+ M: 2
5226
+ },
5227
+ areaOpacity: {
5228
+ from: .3,
5229
+ to: 0
5230
+ }
5231
+ },
5232
+ cursor: {
5233
+ color: z.semantic.color.border.secondary500,
5234
+ width: 1
5235
+ },
5236
+ activeDot: {
5237
+ size: 8,
5238
+ ringColor: z.semantic.color.background.secondary900,
5239
+ ringWidth: 2
5240
+ },
5241
+ referenceLine: {
5242
+ color: z.semantic.color.border.secondary400,
5243
+ dashArray: "4 4"
5244
+ },
5245
+ tooltip: {
5246
+ bgColor: z.semantic.color.background.secondary900,
5247
+ textColor: z.semantic.color.text.secondary200,
5248
+ labelColor: z.semantic.color.text.secondary400,
5249
+ borderColor: z.semantic.color.border.secondary700,
5250
+ borderRadius: "0.4rem",
5251
+ shadow: z.core.shadow.shadow200,
5252
+ padding: "0.8rem 1.2rem",
5253
+ fontSize: z.core.font.fontSize.s12,
5254
+ labelFontSize: z.core.font.fontSize.s12,
5255
+ valueFontFamily: z.core.font.fontFamily.regular,
5256
+ markerSize: "0.8rem"
5257
+ },
5258
+ legend: {
5259
+ textColor: z.semantic.color.text.secondary300,
5260
+ fontFamily: {
5261
+ S: z.core.font.fontFamily.regular,
5262
+ M: z.core.font.fontFamily.regular
5263
+ },
5264
+ fontSize: {
5265
+ S: z.core.font.fontSize.s12,
5266
+ M: z.core.font.fontSize.s12
5267
+ },
5268
+ gap: {
5269
+ S: "1.2rem",
5270
+ M: "1.6rem"
5271
+ },
5272
+ dotSize: "0.8rem",
5273
+ lineWidth: "1.2rem",
5274
+ lineHeight: "0.2rem"
5275
+ },
5276
+ sparkline: {
5277
+ strokeWidth: 1.5,
5278
+ areaOpacity: {
5279
+ from: .4,
5280
+ to: .04
5281
+ }
5144
5282
  }
5145
5283
  }, En = {
5146
5284
  width: "1.8rem",
@@ -8027,20 +8165,89 @@ var ft = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
8027
8165
  }
8028
8166
  }, Lr = {
8029
8167
  categorical: [
8030
- U.semantic.color.icon.informative400,
8168
+ U.semantic.color.icon.informative600,
8169
+ U.semantic.color.icon.success600,
8170
+ U.semantic.color.icon.attention600,
8031
8171
  U.semantic.color.icon.discovery400,
8032
- U.semantic.color.icon.success400,
8033
- U.semantic.color.icon.attention400,
8034
- U.semantic.color.icon.primary400,
8035
- U.semantic.color.icon.secondary400,
8036
- U.semantic.color.icon.informative700,
8037
- U.semantic.color.icon.discovery700
8172
+ U.semantic.color.icon.primary500,
8173
+ U.semantic.color.icon.secondary500,
8174
+ U.semantic.color.icon.informative800,
8175
+ U.semantic.color.icon.discovery600
8038
8176
  ],
8039
8177
  grid: U.semantic.color.border.secondary200,
8178
+ gridDashArray: "3 3",
8040
8179
  axisLabel: U.semantic.color.text.secondary500,
8041
8180
  threshold: {
8042
- warning: U.semantic.color.icon.attention400,
8043
- critical: U.semantic.color.icon.danger500
8181
+ warning: U.semantic.color.icon.attention600,
8182
+ critical: U.semantic.color.icon.primary500
8183
+ },
8184
+ axis: {
8185
+ fontFamily: U.core.font.fontFamily.sourceCodeProRegular,
8186
+ fontSize: {
8187
+ S: "0.95rem",
8188
+ M: "1.05rem"
8189
+ }
8190
+ },
8191
+ series: {
8192
+ strokeWidth: {
8193
+ S: 2,
8194
+ M: 1.6
8195
+ },
8196
+ areaOpacity: {
8197
+ from: .3,
8198
+ to: .02
8199
+ }
8200
+ },
8201
+ cursor: {
8202
+ color: U.semantic.color.border.secondary300,
8203
+ width: 1
8204
+ },
8205
+ activeDot: {
8206
+ size: 9,
8207
+ ringColor: U.semantic.color.background.secondary0,
8208
+ ringWidth: 2
8209
+ },
8210
+ referenceLine: {
8211
+ color: U.semantic.color.border.secondary500,
8212
+ dashArray: "4 4"
8213
+ },
8214
+ tooltip: {
8215
+ bgColor: U.semantic.color.background.secondary0,
8216
+ textColor: U.semantic.color.text.secondary950,
8217
+ labelColor: U.semantic.color.text.secondary500,
8218
+ borderColor: U.semantic.color.border.secondary200,
8219
+ borderRadius: "0.5rem",
8220
+ shadow: U.core.shadow.shadow200,
8221
+ padding: "0.7rem 1rem",
8222
+ fontSize: "1.1rem",
8223
+ labelFontSize: "0.95rem",
8224
+ valueFontFamily: U.core.font.fontFamily.sourceCodeProRegular,
8225
+ markerSize: "0.8rem"
8226
+ },
8227
+ legend: {
8228
+ textColor: U.semantic.color.text.secondary500,
8229
+ fontFamily: {
8230
+ S: U.core.font.fontFamily.sourceCodeProRegular,
8231
+ M: U.core.font.fontFamily.regular
8232
+ },
8233
+ fontSize: {
8234
+ S: U.core.font.fontSize.s10,
8235
+ M: "1.25rem"
8236
+ },
8237
+ gap: {
8238
+ S: "1rem",
8239
+ M: "1.6rem"
8240
+ },
8241
+ dotSize: "0.9rem",
8242
+ lineWidth: "1.2rem",
8243
+ lineHeight: "0.2rem"
8244
+ },
8245
+ sparkline: {
8246
+ strokeWidth: 1.6,
8247
+ areaOpacity: {
8248
+ from: .35,
8249
+ to: .04
8250
+ }
8044
8251
  }
8045
8252
  }, Rr = {
8046
8253
  width: "1.8rem",
@@ -10929,20 +11136,89 @@ var ft = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
10929
11136
  }
10930
11137
  }, Ji = {
10931
11138
  categorical: [
10932
- q.semantic.color.icon.informative400,
10933
- q.semantic.color.icon.discovery400,
10934
- q.semantic.color.icon.success400,
11139
+ q.semantic.color.icon.informative300,
11140
+ q.semantic.color.icon.success500,
10935
11141
  q.semantic.color.icon.attention400,
10936
- q.semantic.color.icon.primary400,
11142
+ q.semantic.color.icon.discovery300,
11143
+ q.semantic.color.icon.primary300,
10937
11144
  q.semantic.color.icon.secondary400,
10938
11145
  q.semantic.color.icon.informative700,
10939
- q.semantic.color.icon.discovery700
11146
+ q.semantic.color.icon.discovery500
10940
11147
  ],
10941
11148
  grid: q.semantic.color.border.secondary700,
11149
+ gridDashArray: "3 3",
10942
11150
  axisLabel: q.semantic.color.text.secondary400,
10943
11151
  threshold: {
10944
11152
  warning: q.semantic.color.icon.attention400,
10945
- critical: q.semantic.color.icon.danger500
11153
+ critical: q.semantic.color.icon.primary400
11154
+ },
11155
+ axis: {
11156
+ fontFamily: q.core.font.fontFamily.sourceCodeProRegular,
11157
+ fontSize: {
11158
+ S: "0.95rem",
11159
+ M: "1.05rem"
11160
+ }
11161
+ },
11162
+ series: {
11163
+ strokeWidth: {
11164
+ S: 2,
11165
+ M: 1.6
11166
+ },
11167
+ areaOpacity: {
11168
+ from: .45,
11169
+ to: .03
11170
+ }
11171
+ },
11172
+ cursor: {
11173
+ color: q.semantic.color.border.secondary500,
11174
+ width: 1
11175
+ },
11176
+ activeDot: {
11177
+ size: 9,
11178
+ ringColor: q.semantic.color.background.secondary950,
11179
+ ringWidth: 2
11180
+ },
11181
+ referenceLine: {
11182
+ color: q.semantic.color.border.secondary400,
11183
+ dashArray: "4 4"
11184
+ },
11185
+ tooltip: {
11186
+ bgColor: q.semantic.color.background.secondary950,
11187
+ textColor: q.semantic.color.text.secondary200,
11188
+ labelColor: q.semantic.color.text.secondary300,
11189
+ borderColor: q.semantic.color.border.secondary800,
11190
+ borderRadius: "0.5rem",
11191
+ shadow: "0 4px 14px rgba(0, 0, 0, 0.28)",
11192
+ padding: "0.7rem 1rem",
11193
+ fontSize: "1.1rem",
11194
+ labelFontSize: "0.95rem",
11195
+ valueFontFamily: q.core.font.fontFamily.sourceCodeProRegular,
11196
+ markerSize: "0.8rem"
11197
+ },
11198
+ legend: {
11199
+ textColor: q.semantic.color.text.secondary300,
11200
+ fontFamily: {
11201
+ S: q.core.font.fontFamily.sourceCodeProRegular,
11202
+ M: q.core.font.fontFamily.regular
11203
+ },
11204
+ fontSize: {
11205
+ S: q.core.font.fontSize.s10,
11206
+ M: "1.25rem"
11207
+ },
11208
+ gap: {
11209
+ S: "1rem",
11210
+ M: "1.6rem"
11211
+ },
11212
+ dotSize: "0.9rem",
11213
+ lineWidth: "1.2rem",
11214
+ lineHeight: "0.2rem"
11215
+ },
11216
+ sparkline: {
11217
+ strokeWidth: 1.6,
11218
+ areaOpacity: {
11219
+ from: .55,
11220
+ to: .04
11221
+ }
10946
11222
  }
10947
11223
  }, Yi = {
10948
11224
  width: "1.8rem",