@redis-ui/styles 21.13.1 → 21.14.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 CHANGED
@@ -3214,13 +3214,42 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
3214
3214
  borderRadius: "0.4rem",
3215
3215
  triggerOffset: "0.4rem",
3216
3216
  maxHeight: "50vh",
3217
- search: { margin: "0.8rem 1.6rem" },
3217
+ search: {
3218
+ margin: "0.8rem 1.6rem",
3219
+ inline: {
3220
+ padding: "1.1rem 1.3rem",
3221
+ gap: "0.9rem",
3222
+ fontSize: m.core.font.fontSize.s13,
3223
+ iconSize: "1.4rem"
3224
+ }
3225
+ },
3218
3226
  footer: {
3219
3227
  blockPadding: "1rem 0.2rem",
3220
3228
  inlinePadding: "1.6rem",
3221
3229
  separator: {
3222
3230
  size: "1px",
3223
3231
  color: m.semantic.color.border.secondary300
3232
+ },
3233
+ action: {
3234
+ padding: "1.1rem 1.5rem",
3235
+ gap: "0.9rem",
3236
+ fontSize: m.core.font.fontSize.s13,
3237
+ iconSize: "1.3rem",
3238
+ textColor: m.semantic.color.text.secondary950,
3239
+ iconColor: m.semantic.color.icon.secondary950,
3240
+ hoverBgColor: m.semantic.color.background.secondary100
3241
+ }
3242
+ },
3243
+ compact: {
3244
+ listPadding: "0.5rem",
3245
+ borderColor: m.semantic.color.border.secondary300,
3246
+ option: {
3247
+ height: "3.6rem",
3248
+ fontSize: m.core.font.fontSize.s13,
3249
+ padding: "0 0.4rem 0 1rem",
3250
+ gap: "0.9rem",
3251
+ borderRadius: "0.4rem",
3252
+ indicatorSize: "1.4rem"
3224
3253
  }
3225
3254
  },
3226
3255
  option: {
@@ -3882,7 +3911,8 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
3882
3911
  normal: {
3883
3912
  textColor: m.semantic.color.text.secondary700,
3884
3913
  padding: "2px 0 4px",
3885
- letterSpacing: "0.11px"
3914
+ letterSpacing: "0.11px",
3915
+ fontSize: m.core.font.fontSize.s14
3886
3916
  },
3887
3917
  active: {
3888
3918
  textColor: m.semantic.color.text.secondary950,
@@ -3912,7 +3942,7 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
3912
3942
  textColor: m.semantic.color.text.secondary700,
3913
3943
  padding: "4px 8px",
3914
3944
  letterSpacing: "0.11px",
3915
- fontSize: "1.2rem",
3945
+ fontSize: m.core.font.fontSize.s14,
3916
3946
  borderRadius: "0.3rem",
3917
3947
  borderWidth: "1px",
3918
3948
  borderColor: m.semantic.color.border.transparent
@@ -6195,13 +6225,42 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
6195
6225
  borderRadius: "0.4rem",
6196
6226
  triggerOffset: "0.4rem",
6197
6227
  maxHeight: "50vh",
6198
- search: { margin: "0.8rem 1.6rem" },
6228
+ search: {
6229
+ margin: "0.8rem 1.6rem",
6230
+ inline: {
6231
+ padding: "1.1rem 1.3rem",
6232
+ gap: "0.9rem",
6233
+ fontSize: L.core.font.fontSize.s13,
6234
+ iconSize: "1.4rem"
6235
+ }
6236
+ },
6199
6237
  footer: {
6200
6238
  blockPadding: "1rem 0.2rem",
6201
6239
  inlinePadding: "1.6rem",
6202
6240
  separator: {
6203
6241
  size: "1px",
6204
6242
  color: L.semantic.color.border.secondary800
6243
+ },
6244
+ action: {
6245
+ padding: "1.1rem 1.5rem",
6246
+ gap: "0.9rem",
6247
+ fontSize: L.core.font.fontSize.s13,
6248
+ iconSize: "1.3rem",
6249
+ textColor: L.semantic.color.text.secondary50,
6250
+ iconColor: L.semantic.color.icon.secondary400,
6251
+ hoverBgColor: L.semantic.color.background.secondary800
6252
+ }
6253
+ },
6254
+ compact: {
6255
+ listPadding: "0.5rem",
6256
+ borderColor: L.semantic.color.border.secondary800,
6257
+ option: {
6258
+ height: "3.6rem",
6259
+ fontSize: L.core.font.fontSize.s13,
6260
+ padding: "0 0.4rem 0 1rem",
6261
+ gap: "0.9rem",
6262
+ borderRadius: "0.4rem",
6263
+ indicatorSize: "1.4rem"
6205
6264
  }
6206
6265
  },
6207
6266
  option: {
@@ -6863,7 +6922,8 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
6863
6922
  normal: {
6864
6923
  textColor: L.semantic.color.text.secondary400,
6865
6924
  padding: "2px 0 4px",
6866
- letterSpacing: "0.11px"
6925
+ letterSpacing: "0.11px",
6926
+ fontSize: L.core.font.fontSize.s14
6867
6927
  },
6868
6928
  hover: { textColor: L.semantic.color.text.secondary200 },
6869
6929
  active: {
@@ -6894,7 +6954,7 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
6894
6954
  textColor: L.semantic.color.text.secondary400,
6895
6955
  padding: "4px 8px",
6896
6956
  letterSpacing: "0.11px",
6897
- fontSize: "1.2rem",
6957
+ fontSize: L.core.font.fontSize.s14,
6898
6958
  borderRadius: "0.3rem",
6899
6959
  borderWidth: "1px",
6900
6960
  borderColor: L.semantic.color.border.transparent
@@ -7859,6 +7919,7 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
7859
7919
  defaultItem: { gap: "0.4rem" }
7860
7920
  }, Fr = {
7861
7921
  gap: V.core.space.space100,
7922
+ fontSize: V.core.font.fontSize.s13,
7862
7923
  link: { states: {
7863
7924
  normal: { textColor: V.semantic.color.text.secondary500 },
7864
7925
  hover: { textColor: V.semantic.color.text.secondary950 },
@@ -9202,13 +9263,42 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
9202
9263
  borderRadius: "0.5rem",
9203
9264
  triggerOffset: "0.4rem",
9204
9265
  maxHeight: "50vh",
9205
- search: { margin: "0.8rem 1.6rem" },
9266
+ search: {
9267
+ margin: "0.8rem 1.6rem",
9268
+ inline: {
9269
+ padding: "1.1rem 1.3rem",
9270
+ gap: "0.9rem",
9271
+ fontSize: V.core.font.fontSize.s13,
9272
+ iconSize: "1.4rem"
9273
+ }
9274
+ },
9206
9275
  footer: {
9207
9276
  blockPadding: "1rem 0.2rem",
9208
9277
  inlinePadding: "1.6rem",
9209
9278
  separator: {
9210
9279
  size: "1px",
9211
9280
  color: V.semantic.color.text.secondary200
9281
+ },
9282
+ action: {
9283
+ padding: "1.1rem 1.5rem",
9284
+ gap: "0.9rem",
9285
+ fontSize: V.core.font.fontSize.s13,
9286
+ iconSize: "1.3rem",
9287
+ textColor: V.semantic.color.text.secondary950,
9288
+ iconColor: V.semantic.color.icon.secondary500,
9289
+ hoverBgColor: V.semantic.color.background.neutral100
9290
+ }
9291
+ },
9292
+ compact: {
9293
+ listPadding: "0.5rem",
9294
+ borderColor: V.semantic.color.text.secondary200,
9295
+ option: {
9296
+ height: "3.6rem",
9297
+ fontSize: V.core.font.fontSize.s13,
9298
+ padding: "0 0.4rem 0 1rem",
9299
+ gap: "0.9rem",
9300
+ borderRadius: "0.4rem",
9301
+ indicatorSize: "1.4rem"
9212
9302
  }
9213
9303
  },
9214
9304
  option: {
@@ -9868,33 +9958,32 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
9868
9958
  actionsBar: { gap: "1.6rem" }
9869
9959
  }, Ti = { variants: {
9870
9960
  default: {
9871
- gap: "4rem",
9961
+ gap: "2.4rem",
9872
9962
  tabsLine: {
9873
- size: "4px",
9963
+ size: "1px",
9874
9964
  color: V.semantic.color.text.secondary200
9875
9965
  },
9876
9966
  tab: { states: {
9877
9967
  normal: {
9878
9968
  textColor: V.semantic.color.text.secondary500,
9879
- padding: "2px 0 4px",
9880
- letterSpacing: "0.11px"
9969
+ padding: "9px 2px",
9970
+ fontSize: V.core.font.fontSize.s13
9881
9971
  },
9882
9972
  hover: { textColor: V.semantic.color.text.secondary950 },
9883
9973
  active: {
9884
9974
  textColor: V.semantic.color.text.secondary950,
9885
- fontWeight: V.core.font.fontWeight.semiBold,
9886
- letterSpacing: "0"
9975
+ fontWeight: V.core.font.fontWeight.semiBold
9887
9976
  },
9888
9977
  disabled: { textColor: V.semantic.color.text.secondary500 }
9889
9978
  } },
9890
9979
  tabMarker: { states: {
9891
9980
  normal: {
9892
9981
  color: "transparent",
9893
- size: "4px",
9894
- inset: "auto 0 -4px"
9982
+ size: "2px",
9983
+ inset: "auto 0 -1px"
9895
9984
  },
9896
9985
  hover: { color: V.semantic.color.text.secondary400 },
9897
- active: { color: V.semantic.color.text.secondary950 }
9986
+ active: { color: V.semantic.color.border.primary400 }
9898
9987
  } }
9899
9988
  },
9900
9989
  sub: {
@@ -9908,7 +9997,7 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
9908
9997
  textColor: V.semantic.color.text.secondary500,
9909
9998
  padding: "4px 8px",
9910
9999
  letterSpacing: "0.11px",
9911
- fontSize: "1.2rem",
10000
+ fontSize: V.core.font.fontSize.s14,
9912
10001
  borderRadius: "0.3rem",
9913
10002
  borderWidth: "1px",
9914
10003
  borderColor: V.semantic.color.border.transparent
@@ -10892,6 +10981,7 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
10892
10981
  defaultItem: { gap: "0.4rem" }
10893
10982
  }, Ki = {
10894
10983
  gap: K.core.space.space100,
10984
+ fontSize: K.core.font.fontSize.s13,
10895
10985
  link: { states: {
10896
10986
  normal: { textColor: K.semantic.color.text.secondary300 },
10897
10987
  hover: { textColor: K.semantic.color.text.secondary0 },
@@ -12236,13 +12326,42 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
12236
12326
  borderRadius: "0.5rem",
12237
12327
  triggerOffset: "0.4rem",
12238
12328
  maxHeight: "50vh",
12239
- search: { margin: "0.8rem 1.6rem" },
12329
+ search: {
12330
+ margin: "0.8rem 1.6rem",
12331
+ inline: {
12332
+ padding: "1.1rem 1.3rem",
12333
+ gap: "0.9rem",
12334
+ fontSize: K.core.font.fontSize.s13,
12335
+ iconSize: "1.4rem"
12336
+ }
12337
+ },
12240
12338
  footer: {
12241
12339
  blockPadding: "1rem 0.2rem",
12242
12340
  inlinePadding: "1.6rem",
12243
12341
  separator: {
12244
12342
  size: "1px",
12245
12343
  color: K.semantic.color.text.secondary700
12344
+ },
12345
+ action: {
12346
+ padding: "1.1rem 1.5rem",
12347
+ gap: "0.9rem",
12348
+ fontSize: K.core.font.fontSize.s13,
12349
+ iconSize: "1.3rem",
12350
+ textColor: K.semantic.color.text.secondary0,
12351
+ iconColor: K.semantic.color.icon.secondary400,
12352
+ hoverBgColor: K.semantic.color.background.secondary900
12353
+ }
12354
+ },
12355
+ compact: {
12356
+ listPadding: "0.5rem",
12357
+ borderColor: K.semantic.color.text.secondary700,
12358
+ option: {
12359
+ height: "3.6rem",
12360
+ fontSize: K.core.font.fontSize.s13,
12361
+ padding: "0 0.4rem 0 1rem",
12362
+ gap: "0.9rem",
12363
+ borderRadius: "0.4rem",
12364
+ indicatorSize: "1.4rem"
12246
12365
  }
12247
12366
  },
12248
12367
  option: {
@@ -12902,33 +13021,32 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
12902
13021
  actionsBar: { gap: "1.6rem" }
12903
13022
  }, Ia = { variants: {
12904
13023
  default: {
12905
- gap: "4rem",
13024
+ gap: "2.4rem",
12906
13025
  tabsLine: {
12907
- size: "4px",
13026
+ size: "1px",
12908
13027
  color: K.semantic.color.text.secondary700
12909
13028
  },
12910
13029
  tab: { states: {
12911
13030
  normal: {
12912
13031
  textColor: K.semantic.color.text.secondary300,
12913
- padding: "2px 0 4px",
12914
- letterSpacing: "0.11px"
13032
+ padding: "9px 2px",
13033
+ fontSize: K.core.font.fontSize.s13
12915
13034
  },
12916
13035
  hover: { textColor: K.semantic.color.text.secondary0 },
12917
13036
  active: {
12918
13037
  textColor: K.semantic.color.text.secondary0,
12919
- fontWeight: K.core.font.fontWeight.semiBold,
12920
- letterSpacing: "0"
13038
+ fontWeight: K.core.font.fontWeight.semiBold
12921
13039
  },
12922
13040
  disabled: { textColor: K.semantic.color.text.secondary400 }
12923
13041
  } },
12924
13042
  tabMarker: { states: {
12925
13043
  normal: {
12926
13044
  color: "transparent",
12927
- size: "4px",
12928
- inset: "auto 0 -4px"
13045
+ size: "2px",
13046
+ inset: "auto 0 -1px"
12929
13047
  },
12930
13048
  hover: { color: K.semantic.color.text.secondary500 },
12931
- active: { color: K.semantic.color.text.secondary0 }
13049
+ active: { color: K.semantic.color.border.primary400 }
12932
13050
  } }
12933
13051
  },
12934
13052
  sub: {
@@ -12942,7 +13060,7 @@ var mt = (e) => e.reduce((e, t) => (e.light.push(t.light), e.dark.push(t.dark),
12942
13060
  textColor: K.semantic.color.text.secondary300,
12943
13061
  padding: "4px 8px",
12944
13062
  letterSpacing: "0.11px",
12945
- fontSize: "1.2rem",
13063
+ fontSize: K.core.font.fontSize.s14,
12946
13064
  borderRadius: "0.3rem",
12947
13065
  borderWidth: "1px",
12948
13066
  borderColor: K.semantic.color.border.transparent