@rarui/styles 2.2.0-rc.2 → 2.2.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/CHANGELOG.md +23 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/styles.css +1 -1
- package/dist/esm/themes/dark.css +1 -1
- package/dist/esm/themes/dark.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +81 -51
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/themes/dark.css +1 -1
- package/dist/themes/dark.js +1 -1
- package/package.json +5 -8
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
|
|
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
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
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
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
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
|
-
|
|
7935
|
-
|
|
7936
|
-
|
|
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
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
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
|
-
|
|
7958
|
-
|
|
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
|
|
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
|
|
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$
|
|
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.
|
|
@@ -10598,7 +10613,6 @@ declare const styles$6: {
|
|
|
10598
10613
|
};
|
|
10599
10614
|
}>;
|
|
10600
10615
|
content: string;
|
|
10601
|
-
iconContainer: string;
|
|
10602
10616
|
toastContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10603
10617
|
position: {
|
|
10604
10618
|
bottomRight: {
|
|
@@ -10642,7 +10656,7 @@ declare const styles$6: {
|
|
|
10642
10656
|
};
|
|
10643
10657
|
}>;
|
|
10644
10658
|
};
|
|
10645
|
-
export type ToastVariants = RecipeVariants<typeof styles$
|
|
10659
|
+
export type ToastVariants = RecipeVariants<typeof styles$5.toast>;
|
|
10646
10660
|
export declare const toast: {
|
|
10647
10661
|
classnames: {
|
|
10648
10662
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -10729,7 +10743,6 @@ export declare const toast: {
|
|
|
10729
10743
|
};
|
|
10730
10744
|
}>;
|
|
10731
10745
|
content: string;
|
|
10732
|
-
iconContainer: string;
|
|
10733
10746
|
toastContainer: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10734
10747
|
position: {
|
|
10735
10748
|
bottomRight: {
|
|
@@ -10773,8 +10786,26 @@ export declare const toast: {
|
|
|
10773
10786
|
};
|
|
10774
10787
|
}>;
|
|
10775
10788
|
};
|
|
10789
|
+
sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
|
|
10790
|
+
{
|
|
10791
|
+
config: {
|
|
10792
|
+
width: {
|
|
10793
|
+
dynamic: {
|
|
10794
|
+
default: string;
|
|
10795
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
10796
|
+
};
|
|
10797
|
+
dynamicScale: true;
|
|
10798
|
+
name: "width";
|
|
10799
|
+
vars: {
|
|
10800
|
+
default: string;
|
|
10801
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
10802
|
+
};
|
|
10803
|
+
};
|
|
10804
|
+
};
|
|
10805
|
+
}
|
|
10806
|
+
]>;
|
|
10776
10807
|
};
|
|
10777
|
-
declare const styles$
|
|
10808
|
+
declare const styles$6: {
|
|
10778
10809
|
toggle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10779
10810
|
/**
|
|
10780
10811
|
* Specifies the size of the toggle, controlling its dimensions.
|
|
@@ -10880,7 +10911,7 @@ declare const styles$7: {
|
|
|
10880
10911
|
};
|
|
10881
10912
|
}>;
|
|
10882
10913
|
};
|
|
10883
|
-
export type ToggleVariants = RecipeVariants<typeof styles$
|
|
10914
|
+
export type ToggleVariants = RecipeVariants<typeof styles$6.toggle>;
|
|
10884
10915
|
export declare const toggle: {
|
|
10885
10916
|
classnames: {
|
|
10886
10917
|
toggle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -10983,7 +11014,7 @@ export declare const toggle: {
|
|
|
10983
11014
|
}>;
|
|
10984
11015
|
};
|
|
10985
11016
|
};
|
|
10986
|
-
declare const styles$
|
|
11017
|
+
declare const styles$7: {
|
|
10987
11018
|
tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10988
11019
|
/**
|
|
10989
11020
|
* Specifies whether the color scheme should be inverted
|
|
@@ -11022,7 +11053,7 @@ declare const styles$8: {
|
|
|
11022
11053
|
}>;
|
|
11023
11054
|
container: string;
|
|
11024
11055
|
};
|
|
11025
|
-
export type TooltipVariants = RecipeVariants<typeof styles$
|
|
11056
|
+
export type TooltipVariants = RecipeVariants<typeof styles$7.tooltip>;
|
|
11026
11057
|
export declare const tooltip: {
|
|
11027
11058
|
classnames: {
|
|
11028
11059
|
tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -12283,7 +12314,6 @@ export declare const tabs: {
|
|
|
12283
12314
|
};
|
|
12284
12315
|
|
|
12285
12316
|
export {
|
|
12286
|
-
checkbox$1 as checkbox,
|
|
12287
12317
|
status$1 as status,
|
|
12288
12318
|
variables as variablesDark,
|
|
12289
12319
|
varsThemeBase as variables,
|