@rarui/styles 1.17.0-rc.4 → 1.17.0-rc.7

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,7 +9072,7 @@ export declare const title: {
9056
9072
  }
9057
9073
  ]>;
9058
9074
  };
9059
- declare const styles$10: {
9075
+ declare const styles$8: {
9060
9076
  banner: import("@vanilla-extract/recipes").RuntimeFn<{
9061
9077
  appearance: {
9062
9078
  brand: {
@@ -9091,7 +9107,7 @@ declare const styles$10: {
9091
9107
  };
9092
9108
  }>;
9093
9109
  };
9094
- export type BannerVariants = RecipeVariants<typeof styles$10.banner>;
9110
+ export type BannerVariants = RecipeVariants<typeof styles$8.banner>;
9095
9111
  export declare const banner: {
9096
9112
  classnames: {
9097
9113
  banner: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -9129,7 +9145,7 @@ export declare const banner: {
9129
9145
  }>;
9130
9146
  };
9131
9147
  };
9132
- declare const styles$11: {
9148
+ declare const styles$9: {
9133
9149
  toast: import("@vanilla-extract/recipes").RuntimeFn<{
9134
9150
  placement: {
9135
9151
  topRight: {};
@@ -9258,7 +9274,7 @@ declare const styles$11: {
9258
9274
  };
9259
9275
  }>;
9260
9276
  };
9261
- export type ToastVariants = RecipeVariants<typeof styles$11.toast>;
9277
+ export type ToastVariants = RecipeVariants<typeof styles$9.toast>;
9262
9278
  export declare const toast: {
9263
9279
  classnames: {
9264
9280
  toast: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -9390,7 +9406,7 @@ export declare const toast: {
9390
9406
  }>;
9391
9407
  };
9392
9408
  };
9393
- declare const styles$12: {
9409
+ declare const styles$10: {
9394
9410
  toggle: import("@vanilla-extract/recipes").RuntimeFn<{
9395
9411
  size: {
9396
9412
  large: {
@@ -9459,7 +9475,7 @@ declare const styles$12: {
9459
9475
  };
9460
9476
  }>;
9461
9477
  };
9462
- export type ToggleVariants = RecipeVariants<typeof styles$12.toggle>;
9478
+ export type ToggleVariants = RecipeVariants<typeof styles$10.toggle>;
9463
9479
  export declare const toggle: {
9464
9480
  classnames: {
9465
9481
  toggle: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -9531,7 +9547,7 @@ export declare const toggle: {
9531
9547
  }>;
9532
9548
  };
9533
9549
  };
9534
- declare const styles$13: {
9550
+ declare const styles$11: {
9535
9551
  tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
9536
9552
  inverted: {
9537
9553
  true: {
@@ -9564,7 +9580,7 @@ declare const styles$13: {
9564
9580
  }>;
9565
9581
  container: string;
9566
9582
  };
9567
- export type TooltipVariants = RecipeVariants<typeof styles$13.tooltip>;
9583
+ export type TooltipVariants = RecipeVariants<typeof styles$11.tooltip>;
9568
9584
  export declare const tooltip: {
9569
9585
  classnames: {
9570
9586
  tooltip: import("@vanilla-extract/recipes").RuntimeFn<{