@rarui/styles 2.2.0-rc.2 → 2.2.0-rc.3

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
@@ -220,7 +220,7 @@ declare const varsThemeBase: {
220
220
  };
221
221
  };
222
222
  declare const variables: string;
223
- export declare const CaptureProps: (_target: any, _propertyKey: string, descriptor: PropertyDescriptor) => void;
223
+ export declare const CaptureCssProperties: (_target: any, _propertyKey: string, descriptor: PropertyDescriptor) => void;
224
224
  declare const avatarStyles: {
225
225
  container: string;
226
226
  avatar: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -7911,53 +7911,68 @@ export declare const button: {
7911
7911
  }>;
7912
7912
  };
7913
7913
  };
7914
- declare const checkbox: import("@vanilla-extract/recipes").RuntimeFn<{
7915
- /**
7916
- * Specifies whether the checkbox is in error state
7917
- */
7918
- error: {
7919
- true: {
7920
- borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7921
- ":checked": {
7922
- backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7914
+ declare const checkboxStyles: {
7915
+ checkbox: import("@vanilla-extract/recipes").RuntimeFn<{
7916
+ /**
7917
+ * Specifies whether the checkbox is in error state
7918
+ */
7919
+ error: {
7920
+ true: {
7921
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7922
+ ":checked": {
7923
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7924
+ };
7923
7925
  };
7924
7926
  };
7925
- };
7926
- /**
7927
- * Specifies the size of the checkbox
7928
- */
7929
- size: {
7930
- medium: {
7931
- width: "1.25rem";
7932
- height: "1.25rem";
7927
+ /**
7928
+ * Specifies the size of the checkbox
7929
+ */
7930
+ size: {
7931
+ medium: {
7932
+ width: "1.25rem";
7933
+ height: "1.25rem";
7934
+ };
7935
+ large: {
7936
+ width: "1.5rem";
7937
+ height: "1.5rem";
7938
+ };
7933
7939
  };
7934
- large: {
7935
- width: "1.5rem";
7936
- height: "1.5rem";
7940
+ /**
7941
+ * Specifies whether the checkbox is indeterminate state
7942
+ */
7943
+ indeterminate: {
7944
+ true: {
7945
+ selectors: {
7946
+ "&:checked:after": {
7947
+ top: number;
7948
+ bottom: number;
7949
+ margin: "auto";
7950
+ height: number;
7951
+ borderLeft: "none";
7952
+ transform: "rotate(0deg)";
7953
+ };
7954
+ };
7955
+ };
7937
7956
  };
7938
- };
7939
- /**
7940
- * Specifies whether the checkbox is indeterminate state
7941
- */
7942
- indeterminate: {
7943
- true: {
7944
- selectors: {
7945
- "&:checked:after": {
7946
- top: number;
7947
- bottom: number;
7948
- margin: "auto";
7949
- height: number;
7950
- borderLeft: "none";
7951
- transform: "rotate(0deg)";
7957
+ }>;
7958
+ label: import("@vanilla-extract/recipes").RuntimeFn<{
7959
+ /**
7960
+ * Specifies whether the label is in error state
7961
+ */
7962
+ error: {
7963
+ true: {
7964
+ vars: {
7965
+ [x: string]: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7952
7966
  };
7953
7967
  };
7954
7968
  };
7955
- };
7956
- }>;
7957
- export type CheckboxVariants = RecipeVariants<typeof checkbox>;
7958
- declare const checkbox$1: {
7969
+ }>;
7970
+ container: string;
7971
+ overlay: string;
7972
+ };
7973
+ export type CheckboxVariants = NonNullable<RecipeVariants<typeof checkboxStyles.checkbox>>;
7974
+ export declare const checkbox: {
7959
7975
  classnames: {
7960
- overlayBackgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
7961
7976
  checkbox: import("@vanilla-extract/recipes").RuntimeFn<{
7962
7977
  error: {
7963
7978
  true: {
@@ -9529,7 +9544,7 @@ export declare const select: {
9529
9544
  }
9530
9545
  ]>;
9531
9546
  };
9532
- declare const styles$5: {
9547
+ declare const statusStyles: {
9533
9548
  status: import("@vanilla-extract/recipes").RuntimeFn<{
9534
9549
  /**
9535
9550
  * Specifies whether the status should take up the full width of its container.
@@ -9610,7 +9625,7 @@ declare const styles$5: {
9610
9625
  };
9611
9626
  }>;
9612
9627
  };
9613
- export type StatusVariants = RecipeVariants<typeof styles$5.status>;
9628
+ export type StatusVariants = NonNullable<RecipeVariants<typeof statusStyles.status>>;
9614
9629
  declare const status$1: {
9615
9630
  classnames: {
9616
9631
  status: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -10504,7 +10519,7 @@ export declare const textarea: {
10504
10519
  }>;
10505
10520
  };
10506
10521
  };
10507
- declare const styles$6: {
10522
+ declare const styles$5: {
10508
10523
  toast: import("@vanilla-extract/recipes").RuntimeFn<{
10509
10524
  /**
10510
10525
  * Determines the visual style of the toast, influencing its color scheme and appearance.
@@ -10642,7 +10657,7 @@ declare const styles$6: {
10642
10657
  };
10643
10658
  }>;
10644
10659
  };
10645
- export type ToastVariants = RecipeVariants<typeof styles$6.toast>;
10660
+ export type ToastVariants = RecipeVariants<typeof styles$5.toast>;
10646
10661
  export declare const toast: {
10647
10662
  classnames: {
10648
10663
  toast: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -10774,7 +10789,7 @@ export declare const toast: {
10774
10789
  }>;
10775
10790
  };
10776
10791
  };
10777
- declare const styles$7: {
10792
+ declare const styles$6: {
10778
10793
  toggle: import("@vanilla-extract/recipes").RuntimeFn<{
10779
10794
  /**
10780
10795
  * Specifies the size of the toggle, controlling its dimensions.
@@ -10880,7 +10895,7 @@ declare const styles$7: {
10880
10895
  };
10881
10896
  }>;
10882
10897
  };
10883
- export type ToggleVariants = RecipeVariants<typeof styles$7.toggle>;
10898
+ export type ToggleVariants = RecipeVariants<typeof styles$6.toggle>;
10884
10899
  export declare const toggle: {
10885
10900
  classnames: {
10886
10901
  toggle: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -10983,7 +10998,7 @@ export declare const toggle: {
10983
10998
  }>;
10984
10999
  };
10985
11000
  };
10986
- declare const styles$8: {
11001
+ declare const styles$7: {
10987
11002
  tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
10988
11003
  /**
10989
11004
  * Specifies whether the color scheme should be inverted
@@ -11022,7 +11037,7 @@ declare const styles$8: {
11022
11037
  }>;
11023
11038
  container: string;
11024
11039
  };
11025
- export type TooltipVariants = RecipeVariants<typeof styles$8.tooltip>;
11040
+ export type TooltipVariants = RecipeVariants<typeof styles$7.tooltip>;
11026
11041
  export declare const tooltip: {
11027
11042
  classnames: {
11028
11043
  tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -12283,7 +12298,6 @@ export declare const tabs: {
12283
12298
  };
12284
12299
 
12285
12300
  export {
12286
- checkbox$1 as checkbox,
12287
12301
  status$1 as status,
12288
12302
  variables as variablesDark,
12289
12303
  varsThemeBase as variables,