@rarui/styles 1.28.1 → 1.29.0-rc.2
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 +12 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +177 -43
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/themes/dark.js +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -7357,7 +7357,7 @@ declare const checkbox$1: {
|
|
|
7357
7357
|
overlay: string;
|
|
7358
7358
|
};
|
|
7359
7359
|
};
|
|
7360
|
-
declare const
|
|
7360
|
+
declare const chipStyles: {
|
|
7361
7361
|
chip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7362
7362
|
/**
|
|
7363
7363
|
* Specifies whether the chip will be displayed in the pill shape
|
|
@@ -7403,7 +7403,7 @@ declare const paddingProperties: {
|
|
|
7403
7403
|
medium: string;
|
|
7404
7404
|
small: string;
|
|
7405
7405
|
};
|
|
7406
|
-
export type ChipVariants = RecipeVariants<typeof
|
|
7406
|
+
export type ChipVariants = RecipeVariants<typeof chipStyles.chip>;
|
|
7407
7407
|
export interface ChipSprinkle {
|
|
7408
7408
|
/**
|
|
7409
7409
|
* The padding properties are used to generate space around an chip's content area.
|
|
@@ -7411,29 +7411,6 @@ export interface ChipSprinkle {
|
|
|
7411
7411
|
padding?: AddDollar<keyof typeof paddingProperties> | Conditions<AddDollar<keyof typeof paddingProperties>>;
|
|
7412
7412
|
}
|
|
7413
7413
|
export declare const chip: {
|
|
7414
|
-
sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
|
|
7415
|
-
{
|
|
7416
|
-
config: {
|
|
7417
|
-
padding: {
|
|
7418
|
-
values: {
|
|
7419
|
-
medium: {
|
|
7420
|
-
default: string;
|
|
7421
|
-
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
7422
|
-
};
|
|
7423
|
-
small: {
|
|
7424
|
-
default: string;
|
|
7425
|
-
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
7426
|
-
};
|
|
7427
|
-
};
|
|
7428
|
-
staticScale: {
|
|
7429
|
-
medium: string;
|
|
7430
|
-
small: string;
|
|
7431
|
-
};
|
|
7432
|
-
name: "padding";
|
|
7433
|
-
};
|
|
7434
|
-
};
|
|
7435
|
-
}
|
|
7436
|
-
]>;
|
|
7437
7414
|
classnames: {
|
|
7438
7415
|
chip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7439
7416
|
pill: {
|
|
@@ -7467,6 +7444,29 @@ export declare const chip: {
|
|
|
7467
7444
|
close: string;
|
|
7468
7445
|
overlay: string;
|
|
7469
7446
|
};
|
|
7447
|
+
sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
|
|
7448
|
+
{
|
|
7449
|
+
config: {
|
|
7450
|
+
padding: {
|
|
7451
|
+
values: {
|
|
7452
|
+
medium: {
|
|
7453
|
+
default: string;
|
|
7454
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
7455
|
+
};
|
|
7456
|
+
small: {
|
|
7457
|
+
default: string;
|
|
7458
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
7459
|
+
};
|
|
7460
|
+
};
|
|
7461
|
+
staticScale: {
|
|
7462
|
+
medium: string;
|
|
7463
|
+
small: string;
|
|
7464
|
+
};
|
|
7465
|
+
name: "padding";
|
|
7466
|
+
};
|
|
7467
|
+
};
|
|
7468
|
+
}
|
|
7469
|
+
]>;
|
|
7470
7470
|
};
|
|
7471
7471
|
declare const dividerBorderWidthProperties: {
|
|
7472
7472
|
"1": string;
|
|
@@ -7794,7 +7794,7 @@ export declare const icon: {
|
|
|
7794
7794
|
}
|
|
7795
7795
|
]>;
|
|
7796
7796
|
};
|
|
7797
|
-
declare const
|
|
7797
|
+
declare const iconButtonStyles: {
|
|
7798
7798
|
iconButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7799
7799
|
/**
|
|
7800
7800
|
* Determines the visual style of the icon button, influencing its color scheme and appearance.
|
|
@@ -7890,7 +7890,7 @@ declare const styles$2: {
|
|
|
7890
7890
|
};
|
|
7891
7891
|
}>;
|
|
7892
7892
|
};
|
|
7893
|
-
export type IconButtonVariants = RecipeVariants<typeof
|
|
7893
|
+
export type IconButtonVariants = RecipeVariants<typeof iconButtonStyles.iconButton>;
|
|
7894
7894
|
export declare const iconButton: {
|
|
7895
7895
|
classnames: {
|
|
7896
7896
|
iconButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -7979,7 +7979,7 @@ export declare const iconButton: {
|
|
|
7979
7979
|
}>;
|
|
7980
7980
|
};
|
|
7981
7981
|
};
|
|
7982
|
-
declare const styles$
|
|
7982
|
+
declare const styles$1: {
|
|
7983
7983
|
container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7984
7984
|
/**
|
|
7985
7985
|
* Determines the visual style of the input, affecting its border
|
|
@@ -8097,7 +8097,7 @@ declare const styles$3: {
|
|
|
8097
8097
|
};
|
|
8098
8098
|
}>;
|
|
8099
8099
|
};
|
|
8100
|
-
export type InputVariants = RecipeVariants<typeof styles$
|
|
8100
|
+
export type InputVariants = RecipeVariants<typeof styles$1.container> & RecipeVariants<typeof styles$1.input>;
|
|
8101
8101
|
export declare const input: {
|
|
8102
8102
|
classnames: {
|
|
8103
8103
|
container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8206,7 +8206,7 @@ export declare const input: {
|
|
|
8206
8206
|
}>;
|
|
8207
8207
|
};
|
|
8208
8208
|
};
|
|
8209
|
-
declare const styles$
|
|
8209
|
+
declare const styles$2: {
|
|
8210
8210
|
label: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8211
8211
|
/**
|
|
8212
8212
|
* Specifies whether the label is hidden or not
|
|
@@ -8225,7 +8225,7 @@ declare const styles$4: {
|
|
|
8225
8225
|
};
|
|
8226
8226
|
}>;
|
|
8227
8227
|
};
|
|
8228
|
-
export type LabelVariants = RecipeVariants<typeof styles$
|
|
8228
|
+
export type LabelVariants = RecipeVariants<typeof styles$2.label>;
|
|
8229
8229
|
export declare const label: {
|
|
8230
8230
|
classnames: {
|
|
8231
8231
|
label: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8244,7 +8244,7 @@ export declare const label: {
|
|
|
8244
8244
|
}>;
|
|
8245
8245
|
};
|
|
8246
8246
|
};
|
|
8247
|
-
declare const styles$
|
|
8247
|
+
declare const styles$3: {
|
|
8248
8248
|
link: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8249
8249
|
/**
|
|
8250
8250
|
* Determines the visual style of the link.
|
|
@@ -8282,7 +8282,7 @@ declare const styles$5: {
|
|
|
8282
8282
|
};
|
|
8283
8283
|
}>;
|
|
8284
8284
|
};
|
|
8285
|
-
export type LinkVariants = RecipeVariants<typeof styles$
|
|
8285
|
+
export type LinkVariants = RecipeVariants<typeof styles$3.link>;
|
|
8286
8286
|
export declare const link: {
|
|
8287
8287
|
classnames: {
|
|
8288
8288
|
link: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8409,7 +8409,7 @@ export declare const progress: {
|
|
|
8409
8409
|
}
|
|
8410
8410
|
]>;
|
|
8411
8411
|
};
|
|
8412
|
-
declare const styles$
|
|
8412
|
+
declare const styles$4: {
|
|
8413
8413
|
radioButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8414
8414
|
/**
|
|
8415
8415
|
* Specifies the size of the radiobutton
|
|
@@ -8473,7 +8473,7 @@ declare const styles$6: {
|
|
|
8473
8473
|
input: string;
|
|
8474
8474
|
container: string;
|
|
8475
8475
|
};
|
|
8476
|
-
export type RadioButtonVariants = RecipeVariants<typeof styles$
|
|
8476
|
+
export type RadioButtonVariants = RecipeVariants<typeof styles$4.radioButton>;
|
|
8477
8477
|
export declare const radioButton: {
|
|
8478
8478
|
classnames: {
|
|
8479
8479
|
radioButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8693,8 +8693,11 @@ declare const selectStyles: {
|
|
|
8693
8693
|
};
|
|
8694
8694
|
};
|
|
8695
8695
|
}>;
|
|
8696
|
+
list: string;
|
|
8697
|
+
close: string;
|
|
8696
8698
|
};
|
|
8697
8699
|
export type SelectVariants = NonNullable<RecipeVariants<typeof selectStyles.select>>;
|
|
8700
|
+
export type SelectSprinkle = Pick<StandardLonghandProperties, "maxHeight">;
|
|
8698
8701
|
export declare const select: {
|
|
8699
8702
|
classnames: {
|
|
8700
8703
|
select: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8731,9 +8734,29 @@ export declare const select: {
|
|
|
8731
8734
|
};
|
|
8732
8735
|
};
|
|
8733
8736
|
}>;
|
|
8737
|
+
list: string;
|
|
8738
|
+
close: string;
|
|
8734
8739
|
};
|
|
8740
|
+
sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
|
|
8741
|
+
{
|
|
8742
|
+
config: {
|
|
8743
|
+
maxHeight: {
|
|
8744
|
+
dynamic: {
|
|
8745
|
+
default: string;
|
|
8746
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
8747
|
+
};
|
|
8748
|
+
dynamicScale: true;
|
|
8749
|
+
name: "maxHeight";
|
|
8750
|
+
vars: {
|
|
8751
|
+
default: string;
|
|
8752
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
8753
|
+
};
|
|
8754
|
+
};
|
|
8755
|
+
};
|
|
8756
|
+
}
|
|
8757
|
+
]>;
|
|
8735
8758
|
};
|
|
8736
|
-
declare const styles$
|
|
8759
|
+
declare const styles$5: {
|
|
8737
8760
|
status: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8738
8761
|
/**
|
|
8739
8762
|
* Determines the visual style of the status, influencing its color scheme.
|
|
@@ -8798,7 +8821,7 @@ declare const styles$7: {
|
|
|
8798
8821
|
};
|
|
8799
8822
|
}>;
|
|
8800
8823
|
};
|
|
8801
|
-
export type StatusVariants = RecipeVariants<typeof styles$
|
|
8824
|
+
export type StatusVariants = RecipeVariants<typeof styles$5.status>;
|
|
8802
8825
|
declare const status$1: {
|
|
8803
8826
|
classnames: {
|
|
8804
8827
|
status: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -9519,7 +9542,7 @@ export declare const banner: {
|
|
|
9519
9542
|
}>;
|
|
9520
9543
|
};
|
|
9521
9544
|
};
|
|
9522
|
-
declare const styles$
|
|
9545
|
+
declare const styles$6: {
|
|
9523
9546
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9524
9547
|
/**
|
|
9525
9548
|
* Where the toast is located
|
|
@@ -9660,7 +9683,7 @@ declare const styles$8: {
|
|
|
9660
9683
|
};
|
|
9661
9684
|
}>;
|
|
9662
9685
|
};
|
|
9663
|
-
export type ToastVariants = RecipeVariants<typeof styles$
|
|
9686
|
+
export type ToastVariants = RecipeVariants<typeof styles$6.toast>;
|
|
9664
9687
|
export declare const toast: {
|
|
9665
9688
|
classnames: {
|
|
9666
9689
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -9792,7 +9815,7 @@ export declare const toast: {
|
|
|
9792
9815
|
}>;
|
|
9793
9816
|
};
|
|
9794
9817
|
};
|
|
9795
|
-
declare const styles$
|
|
9818
|
+
declare const styles$7: {
|
|
9796
9819
|
toggle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9797
9820
|
/**
|
|
9798
9821
|
* Specifies the size of the toggle, controlling its dimensions.
|
|
@@ -9867,7 +9890,7 @@ declare const styles$9: {
|
|
|
9867
9890
|
};
|
|
9868
9891
|
}>;
|
|
9869
9892
|
};
|
|
9870
|
-
export type ToggleVariants = RecipeVariants<typeof styles$
|
|
9893
|
+
export type ToggleVariants = RecipeVariants<typeof styles$7.toggle>;
|
|
9871
9894
|
export declare const toggle: {
|
|
9872
9895
|
classnames: {
|
|
9873
9896
|
toggle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -9939,7 +9962,7 @@ export declare const toggle: {
|
|
|
9939
9962
|
}>;
|
|
9940
9963
|
};
|
|
9941
9964
|
};
|
|
9942
|
-
declare const styles$
|
|
9965
|
+
declare const styles$8: {
|
|
9943
9966
|
tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9944
9967
|
/**
|
|
9945
9968
|
* Specifies whether the color scheme should be inverted
|
|
@@ -9978,7 +10001,7 @@ declare const styles$10: {
|
|
|
9978
10001
|
}>;
|
|
9979
10002
|
container: string;
|
|
9980
10003
|
};
|
|
9981
|
-
export type TooltipVariants = RecipeVariants<typeof styles$
|
|
10004
|
+
export type TooltipVariants = RecipeVariants<typeof styles$8.tooltip>;
|
|
9982
10005
|
export declare const tooltip: {
|
|
9983
10006
|
classnames: {
|
|
9984
10007
|
tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -10797,6 +10820,117 @@ export declare const stepper: {
|
|
|
10797
10820
|
}>;
|
|
10798
10821
|
};
|
|
10799
10822
|
};
|
|
10823
|
+
declare const tabsStyles: {
|
|
10824
|
+
ul: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10825
|
+
/**
|
|
10826
|
+
* Determines whether the tabs should have an underline style.
|
|
10827
|
+
*/
|
|
10828
|
+
underlined: {
|
|
10829
|
+
true: {
|
|
10830
|
+
padding: number;
|
|
10831
|
+
borderRadius: number;
|
|
10832
|
+
borderColor: "transparent";
|
|
10833
|
+
backgroundColor: "transparent";
|
|
10834
|
+
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10835
|
+
};
|
|
10836
|
+
};
|
|
10837
|
+
}>;
|
|
10838
|
+
li: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10839
|
+
/**
|
|
10840
|
+
* Determines whether the tabs should occupy the full width of their container.
|
|
10841
|
+
*/
|
|
10842
|
+
full: {
|
|
10843
|
+
true: {
|
|
10844
|
+
flex: "1";
|
|
10845
|
+
};
|
|
10846
|
+
};
|
|
10847
|
+
}>;
|
|
10848
|
+
button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10849
|
+
/**
|
|
10850
|
+
* Determines whether the tabs should have an underline style.
|
|
10851
|
+
*/
|
|
10852
|
+
underlined: {
|
|
10853
|
+
true: {
|
|
10854
|
+
borderRadius: number;
|
|
10855
|
+
borderColor: "transparent";
|
|
10856
|
+
backgroundColor: "transparent";
|
|
10857
|
+
borderBottomColor: "transparent";
|
|
10858
|
+
":hover": {
|
|
10859
|
+
boxShadow: "none";
|
|
10860
|
+
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10861
|
+
};
|
|
10862
|
+
":disabled": {
|
|
10863
|
+
borderBottomColor: "transparent";
|
|
10864
|
+
};
|
|
10865
|
+
};
|
|
10866
|
+
};
|
|
10867
|
+
/**
|
|
10868
|
+
* Indicates whether the button is currently selected. This is used to style the button accordingly.
|
|
10869
|
+
*/
|
|
10870
|
+
selected: {
|
|
10871
|
+
true: {
|
|
10872
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10873
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10874
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10875
|
+
":disabled": {
|
|
10876
|
+
backgroundColor: "transparent";
|
|
10877
|
+
borderColor: "transparent";
|
|
10878
|
+
};
|
|
10879
|
+
};
|
|
10880
|
+
};
|
|
10881
|
+
}>;
|
|
10882
|
+
};
|
|
10883
|
+
export type TabsVariants = NonNullable<RecipeVariants<typeof tabsStyles.ul>> & NonNullable<RecipeVariants<typeof tabsStyles.li>> & NonNullable<RecipeVariants<typeof tabsStyles.button>>;
|
|
10884
|
+
export declare const tabs: {
|
|
10885
|
+
classnames: {
|
|
10886
|
+
ul: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10887
|
+
underlined: {
|
|
10888
|
+
true: {
|
|
10889
|
+
padding: number;
|
|
10890
|
+
borderRadius: number;
|
|
10891
|
+
borderColor: "transparent";
|
|
10892
|
+
backgroundColor: "transparent";
|
|
10893
|
+
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10894
|
+
};
|
|
10895
|
+
};
|
|
10896
|
+
}>;
|
|
10897
|
+
li: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10898
|
+
full: {
|
|
10899
|
+
true: {
|
|
10900
|
+
flex: "1";
|
|
10901
|
+
};
|
|
10902
|
+
};
|
|
10903
|
+
}>;
|
|
10904
|
+
button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10905
|
+
underlined: {
|
|
10906
|
+
true: {
|
|
10907
|
+
borderRadius: number;
|
|
10908
|
+
borderColor: "transparent";
|
|
10909
|
+
backgroundColor: "transparent";
|
|
10910
|
+
borderBottomColor: "transparent";
|
|
10911
|
+
":hover": {
|
|
10912
|
+
boxShadow: "none";
|
|
10913
|
+
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10914
|
+
};
|
|
10915
|
+
":disabled": {
|
|
10916
|
+
borderBottomColor: "transparent";
|
|
10917
|
+
};
|
|
10918
|
+
};
|
|
10919
|
+
};
|
|
10920
|
+
selected: {
|
|
10921
|
+
true: {
|
|
10922
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10923
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10924
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10925
|
+
":disabled": {
|
|
10926
|
+
backgroundColor: "transparent";
|
|
10927
|
+
borderColor: "transparent";
|
|
10928
|
+
};
|
|
10929
|
+
};
|
|
10930
|
+
};
|
|
10931
|
+
}>;
|
|
10932
|
+
};
|
|
10933
|
+
};
|
|
10800
10934
|
|
|
10801
10935
|
export {
|
|
10802
10936
|
checkbox$1 as checkbox,
|