@rarui/styles 1.17.0-rc.5 → 1.17.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.d.ts CHANGED
@@ -15,9 +15,13 @@ export interface ThemeProviderContextProps {
15
15
  currentTheme: Theme;
16
16
  }
17
17
  export declare const useTheme: () => ThemeProviderContextProps;
18
- declare const styles: {
18
+ declare const avatarStyles: {
19
19
  container: string;
20
20
  avatar: import("@vanilla-extract/recipes").RuntimeFn<{
21
+ /**
22
+ * Specifies the size of the Avatar component.
23
+ * @default medium
24
+ */
21
25
  size: {
22
26
  small: {
23
27
  width: "20px";
@@ -61,7 +65,7 @@ declare const styles: {
61
65
  };
62
66
  }>;
63
67
  };
64
- export type AvatarVariants = RecipeVariants<typeof styles.avatar>;
68
+ export type AvatarVariants = RecipeVariants<typeof avatarStyles.avatar>;
65
69
  export declare const avatar: {
66
70
  classnames: {
67
71
  container: string;
@@ -110,8 +114,12 @@ export declare const avatar: {
110
114
  }>;
111
115
  };
112
116
  };
113
- declare const styles$1: {
117
+ declare const badgeStyles: {
114
118
  badge: import("@vanilla-extract/recipes").RuntimeFn<{
119
+ /**
120
+ * Determines the visual style of the badge, influencing its color scheme and appearance.
121
+ * @defaiult brand
122
+ */
115
123
  appearance: {
116
124
  brand: {
117
125
  backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -149,6 +157,10 @@ declare const styles$1: {
149
157
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
150
158
  };
151
159
  };
160
+ /**
161
+ * Specifies the size of the badge, controlling its dimensions.
162
+ * @defaiult medium
163
+ */
152
164
  size: {
153
165
  large: {
154
166
  padding: `0 var(--${string})` | `0 var(--${string}, ${string})` | `0 var(--${string}, ${number})`;
@@ -173,6 +185,10 @@ declare const styles$1: {
173
185
  width: "0.5rem";
174
186
  };
175
187
  };
188
+ /**
189
+ * Defines the visual variant of the badge, affecting its background style.
190
+ * @defaiult solid
191
+ */
176
192
  variant: {
177
193
  solid: {};
178
194
  outlined: {
@@ -183,7 +199,7 @@ declare const styles$1: {
183
199
  };
184
200
  }>;
185
201
  };
186
- export type BadgeVariants = RecipeVariants<typeof styles$1.badge>;
202
+ export type BadgeVariants = RecipeVariants<typeof badgeStyles.badge>;
187
203
  export declare const badge: {
188
204
  classnames: {
189
205
  badge: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -7024,7 +7040,7 @@ export declare const box: {
7024
7040
  }
7025
7041
  ]>;
7026
7042
  };
7027
- declare const styles$2: {
7043
+ declare const styles: {
7028
7044
  button: import("@vanilla-extract/recipes").RuntimeFn<{
7029
7045
  full: {
7030
7046
  true: {
@@ -7105,7 +7121,7 @@ declare const styles$2: {
7105
7121
  }>;
7106
7122
  overlay: string;
7107
7123
  };
7108
- export type ButtonVariants = RecipeVariants<typeof styles$2.button>;
7124
+ export type ButtonVariants = RecipeVariants<typeof styles.button>;
7109
7125
  export declare const button: {
7110
7126
  classnames: {
7111
7127
  button: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -7274,7 +7290,7 @@ declare const checkbox$1: {
7274
7290
  overlay: string;
7275
7291
  };
7276
7292
  };
7277
- declare const styles$3: {
7293
+ declare const styles$1: {
7278
7294
  chip: import("@vanilla-extract/recipes").RuntimeFn<{
7279
7295
  pill: {
7280
7296
  true: {
@@ -7310,7 +7326,7 @@ declare const paddingProperties: {
7310
7326
  medium: string;
7311
7327
  small: string;
7312
7328
  };
7313
- export type ChipVariants = RecipeVariants<typeof styles$3.chip>;
7329
+ export type ChipVariants = RecipeVariants<typeof styles$1.chip>;
7314
7330
  export interface ChipSprinkle {
7315
7331
  /**
7316
7332
  * The padding properties are used to generate space around an chip's content area.
@@ -7700,7 +7716,7 @@ export declare const icon: {
7700
7716
  }
7701
7717
  ]>;
7702
7718
  };
7703
- declare const styles$4: {
7719
+ declare const styles$2: {
7704
7720
  iconButton: import("@vanilla-extract/recipes").RuntimeFn<{
7705
7721
  appearance: {
7706
7722
  brand: {
@@ -7770,7 +7786,7 @@ declare const styles$4: {
7770
7786
  }>;
7771
7787
  overlay: string;
7772
7788
  };
7773
- export type IconButtonVariants = RecipeVariants<typeof styles$4.iconButton>;
7789
+ export type IconButtonVariants = RecipeVariants<typeof styles$2.iconButton>;
7774
7790
  export declare const iconButton: {
7775
7791
  classnames: {
7776
7792
  iconButton: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -7843,7 +7859,7 @@ export declare const iconButton: {
7843
7859
  overlay: string;
7844
7860
  };
7845
7861
  };
7846
- declare const styles$5: {
7862
+ declare const styles$3: {
7847
7863
  container: import("@vanilla-extract/recipes").RuntimeFn<{
7848
7864
  appearance: {
7849
7865
  success: {
@@ -7932,7 +7948,7 @@ declare const styles$5: {
7932
7948
  };
7933
7949
  }>;
7934
7950
  };
7935
- export type InputVariants = RecipeVariants<typeof styles$5.container> & RecipeVariants<typeof styles$5.input>;
7951
+ export type InputVariants = RecipeVariants<typeof styles$3.container> & RecipeVariants<typeof styles$3.input>;
7936
7952
  export declare const input: {
7937
7953
  classnames: {
7938
7954
  container: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -8024,7 +8040,7 @@ export declare const input: {
8024
8040
  }>;
8025
8041
  };
8026
8042
  };
8027
- declare const styles$6: {
8043
+ declare const styles$4: {
8028
8044
  label: import("@vanilla-extract/recipes").RuntimeFn<{
8029
8045
  hidden: {
8030
8046
  true: {
@@ -8040,7 +8056,7 @@ declare const styles$6: {
8040
8056
  };
8041
8057
  }>;
8042
8058
  };
8043
- export type LabelVariants = RecipeVariants<typeof styles$6.label>;
8059
+ export type LabelVariants = RecipeVariants<typeof styles$4.label>;
8044
8060
  export declare const label: {
8045
8061
  classnames: {
8046
8062
  label: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -8059,7 +8075,7 @@ export declare const label: {
8059
8075
  }>;
8060
8076
  };
8061
8077
  };
8062
- declare const styles$7: {
8078
+ declare const styles$5: {
8063
8079
  link: import("@vanilla-extract/recipes").RuntimeFn<{
8064
8080
  appearance: {
8065
8081
  brand: {
@@ -8091,7 +8107,7 @@ declare const styles$7: {
8091
8107
  };
8092
8108
  }>;
8093
8109
  };
8094
- export type LinkVariants = RecipeVariants<typeof styles$7.link>;
8110
+ export type LinkVariants = RecipeVariants<typeof styles$5.link>;
8095
8111
  export declare const link: {
8096
8112
  classnames: {
8097
8113
  link: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -8126,7 +8142,7 @@ export declare const link: {
8126
8142
  }>;
8127
8143
  };
8128
8144
  };
8129
- declare const styles$8: {
8145
+ declare const styles$6: {
8130
8146
  radioButton: import("@vanilla-extract/recipes").RuntimeFn<{
8131
8147
  size: {
8132
8148
  small: {
@@ -8184,7 +8200,7 @@ declare const styles$8: {
8184
8200
  input: string;
8185
8201
  container: string;
8186
8202
  };
8187
- export type RadioButtonVariants = RecipeVariants<typeof styles$8.radioButton>;
8203
+ export type RadioButtonVariants = RecipeVariants<typeof styles$6.radioButton>;
8188
8204
  export declare const radioButton: {
8189
8205
  classnames: {
8190
8206
  radioButton: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -8363,7 +8379,7 @@ export declare const skeleton: {
8363
8379
  }
8364
8380
  ]>;
8365
8381
  };
8366
- declare const styles$9: {
8382
+ declare const styles$7: {
8367
8383
  status: import("@vanilla-extract/recipes").RuntimeFn<{
8368
8384
  appearance: {
8369
8385
  success: {
@@ -8416,7 +8432,7 @@ declare const styles$9: {
8416
8432
  };
8417
8433
  }>;
8418
8434
  };
8419
- export type StatusVariants = RecipeVariants<typeof styles$9.status>;
8435
+ export type StatusVariants = RecipeVariants<typeof styles$7.status>;
8420
8436
  declare const status$1: {
8421
8437
  classnames: {
8422
8438
  status: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -9056,8 +9072,12 @@ export declare const title: {
9056
9072
  }
9057
9073
  ]>;
9058
9074
  };
9059
- declare const styles$10: {
9075
+ declare const bannerStyles: {
9060
9076
  banner: import("@vanilla-extract/recipes").RuntimeFn<{
9077
+ /**
9078
+ * Specifies the visual appearance of the banner message, influencing its color and style.
9079
+ * @default brand
9080
+ */
9061
9081
  appearance: {
9062
9082
  brand: {
9063
9083
  backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -9084,6 +9104,10 @@ declare const styles$10: {
9084
9104
  color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
9085
9105
  };
9086
9106
  };
9107
+ /**
9108
+ * Determines whether the banner message should float above the content. This can be useful for ensuring the message remains visible even as the user scrolls.
9109
+ * @default false
9110
+ */
9087
9111
  floating: {
9088
9112
  true: {
9089
9113
  borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -9091,7 +9115,7 @@ declare const styles$10: {
9091
9115
  };
9092
9116
  }>;
9093
9117
  };
9094
- export type BannerVariants = RecipeVariants<typeof styles$10.banner>;
9118
+ export type BannerVariants = RecipeVariants<typeof bannerStyles.banner>;
9095
9119
  export declare const banner: {
9096
9120
  classnames: {
9097
9121
  banner: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -9129,7 +9153,7 @@ export declare const banner: {
9129
9153
  }>;
9130
9154
  };
9131
9155
  };
9132
- declare const styles$11: {
9156
+ declare const styles$8: {
9133
9157
  toast: import("@vanilla-extract/recipes").RuntimeFn<{
9134
9158
  placement: {
9135
9159
  topRight: {};
@@ -9258,7 +9282,7 @@ declare const styles$11: {
9258
9282
  };
9259
9283
  }>;
9260
9284
  };
9261
- export type ToastVariants = RecipeVariants<typeof styles$11.toast>;
9285
+ export type ToastVariants = RecipeVariants<typeof styles$8.toast>;
9262
9286
  export declare const toast: {
9263
9287
  classnames: {
9264
9288
  toast: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -9390,7 +9414,7 @@ export declare const toast: {
9390
9414
  }>;
9391
9415
  };
9392
9416
  };
9393
- declare const styles$12: {
9417
+ declare const styles$9: {
9394
9418
  toggle: import("@vanilla-extract/recipes").RuntimeFn<{
9395
9419
  size: {
9396
9420
  large: {
@@ -9459,7 +9483,7 @@ declare const styles$12: {
9459
9483
  };
9460
9484
  }>;
9461
9485
  };
9462
- export type ToggleVariants = RecipeVariants<typeof styles$12.toggle>;
9486
+ export type ToggleVariants = RecipeVariants<typeof styles$9.toggle>;
9463
9487
  export declare const toggle: {
9464
9488
  classnames: {
9465
9489
  toggle: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -9531,7 +9555,7 @@ export declare const toggle: {
9531
9555
  }>;
9532
9556
  };
9533
9557
  };
9534
- declare const styles$13: {
9558
+ declare const styles$10: {
9535
9559
  tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
9536
9560
  inverted: {
9537
9561
  true: {
@@ -9564,7 +9588,7 @@ declare const styles$13: {
9564
9588
  }>;
9565
9589
  container: string;
9566
9590
  };
9567
- export type TooltipVariants = RecipeVariants<typeof styles$13.tooltip>;
9591
+ export type TooltipVariants = RecipeVariants<typeof styles$10.tooltip>;
9568
9592
  export declare const tooltip: {
9569
9593
  classnames: {
9570
9594
  tooltip: import("@vanilla-extract/recipes").RuntimeFn<{