@rarui/styles 1.20.0 → 1.21.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 +6 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +184 -118
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8604,124 +8604,6 @@ declare const status$1: {
|
|
|
8604
8604
|
}>;
|
|
8605
8605
|
};
|
|
8606
8606
|
};
|
|
8607
|
-
declare const stepperStyles: {
|
|
8608
|
-
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8609
|
-
/**
|
|
8610
|
-
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
8611
|
-
* @default horizontal
|
|
8612
|
-
*/
|
|
8613
|
-
direction: {
|
|
8614
|
-
horizontal: {
|
|
8615
|
-
width: "100%";
|
|
8616
|
-
flexDirection: "row";
|
|
8617
|
-
};
|
|
8618
|
-
vertical: {
|
|
8619
|
-
flexDirection: "column";
|
|
8620
|
-
height: "100%";
|
|
8621
|
-
alignItems: "flex-start";
|
|
8622
|
-
};
|
|
8623
|
-
};
|
|
8624
|
-
}>;
|
|
8625
|
-
step: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8626
|
-
direction: {
|
|
8627
|
-
/**
|
|
8628
|
-
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
8629
|
-
* @default horizontal
|
|
8630
|
-
*/
|
|
8631
|
-
horizontal: {
|
|
8632
|
-
flexDirection: "column";
|
|
8633
|
-
":after": {
|
|
8634
|
-
top: "20px";
|
|
8635
|
-
height: "1px";
|
|
8636
|
-
width: "calc(100% - 60px)";
|
|
8637
|
-
left: "calc(50% + 30px)";
|
|
8638
|
-
};
|
|
8639
|
-
};
|
|
8640
|
-
vertical: {
|
|
8641
|
-
":after": {
|
|
8642
|
-
width: "1px";
|
|
8643
|
-
height: "calc(100% - 60px)";
|
|
8644
|
-
top: "calc(50% + 30px)";
|
|
8645
|
-
left: "18px";
|
|
8646
|
-
};
|
|
8647
|
-
};
|
|
8648
|
-
};
|
|
8649
|
-
}>;
|
|
8650
|
-
stepCircle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8651
|
-
/**
|
|
8652
|
-
* Indicates whether the step is currently active. An active step is typically highlighted to show that it is the current step.
|
|
8653
|
-
*/
|
|
8654
|
-
active: {
|
|
8655
|
-
true: {
|
|
8656
|
-
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8657
|
-
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8658
|
-
};
|
|
8659
|
-
};
|
|
8660
|
-
/**
|
|
8661
|
-
* Indicates whether the step has been completed. A completed step is usually marked with a checkmark or other indicator.
|
|
8662
|
-
*/
|
|
8663
|
-
done: {
|
|
8664
|
-
true: {
|
|
8665
|
-
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8666
|
-
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8667
|
-
};
|
|
8668
|
-
};
|
|
8669
|
-
}>;
|
|
8670
|
-
};
|
|
8671
|
-
export type StepperVariants = RecipeVariants<typeof stepperStyles.stepper>;
|
|
8672
|
-
export type StepperStepVariants = RecipeVariants<typeof stepperStyles.stepCircle>;
|
|
8673
|
-
export declare const stepper: {
|
|
8674
|
-
classNames: {
|
|
8675
|
-
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8676
|
-
direction: {
|
|
8677
|
-
horizontal: {
|
|
8678
|
-
width: "100%";
|
|
8679
|
-
flexDirection: "row";
|
|
8680
|
-
};
|
|
8681
|
-
vertical: {
|
|
8682
|
-
flexDirection: "column";
|
|
8683
|
-
height: "100%";
|
|
8684
|
-
alignItems: "flex-start";
|
|
8685
|
-
};
|
|
8686
|
-
};
|
|
8687
|
-
}>;
|
|
8688
|
-
step: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8689
|
-
direction: {
|
|
8690
|
-
horizontal: {
|
|
8691
|
-
flexDirection: "column";
|
|
8692
|
-
":after": {
|
|
8693
|
-
top: "20px";
|
|
8694
|
-
height: "1px";
|
|
8695
|
-
width: "calc(100% - 60px)";
|
|
8696
|
-
left: "calc(50% + 30px)";
|
|
8697
|
-
};
|
|
8698
|
-
};
|
|
8699
|
-
vertical: {
|
|
8700
|
-
":after": {
|
|
8701
|
-
width: "1px";
|
|
8702
|
-
height: "calc(100% - 60px)";
|
|
8703
|
-
top: "calc(50% + 30px)";
|
|
8704
|
-
left: "18px";
|
|
8705
|
-
};
|
|
8706
|
-
};
|
|
8707
|
-
};
|
|
8708
|
-
}>;
|
|
8709
|
-
stepCircle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8710
|
-
active: {
|
|
8711
|
-
true: {
|
|
8712
|
-
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8713
|
-
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8714
|
-
};
|
|
8715
|
-
};
|
|
8716
|
-
done: {
|
|
8717
|
-
true: {
|
|
8718
|
-
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8719
|
-
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8720
|
-
};
|
|
8721
|
-
};
|
|
8722
|
-
}>;
|
|
8723
|
-
};
|
|
8724
|
-
};
|
|
8725
8607
|
declare const textLineHeightProperties: {
|
|
8726
8608
|
xxs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8727
8609
|
xs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9858,6 +9740,72 @@ export declare const tooltip: {
|
|
|
9858
9740
|
container: string;
|
|
9859
9741
|
};
|
|
9860
9742
|
};
|
|
9743
|
+
declare const dropdownStyles: {
|
|
9744
|
+
dropdown: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9745
|
+
/**
|
|
9746
|
+
* Specifies the padding inside the dropdown menu. This prop accepts one of the following values: "base" or "none".
|
|
9747
|
+
* @default base
|
|
9748
|
+
*/
|
|
9749
|
+
padding: {
|
|
9750
|
+
base: {
|
|
9751
|
+
padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9752
|
+
};
|
|
9753
|
+
none: {
|
|
9754
|
+
padding: number;
|
|
9755
|
+
};
|
|
9756
|
+
};
|
|
9757
|
+
}>;
|
|
9758
|
+
dropdownItem: string;
|
|
9759
|
+
container: string;
|
|
9760
|
+
};
|
|
9761
|
+
export type DropdownVariants = RecipeVariants<typeof dropdownStyles.dropdown>;
|
|
9762
|
+
export type DropdownSprinkle = Pick<StandardLonghandProperties, "width" | "maxWidth">;
|
|
9763
|
+
export declare const dropdown: {
|
|
9764
|
+
classnames: {
|
|
9765
|
+
dropdown: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9766
|
+
padding: {
|
|
9767
|
+
base: {
|
|
9768
|
+
padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9769
|
+
};
|
|
9770
|
+
none: {
|
|
9771
|
+
padding: number;
|
|
9772
|
+
};
|
|
9773
|
+
};
|
|
9774
|
+
}>;
|
|
9775
|
+
dropdownItem: string;
|
|
9776
|
+
container: string;
|
|
9777
|
+
};
|
|
9778
|
+
sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
|
|
9779
|
+
{
|
|
9780
|
+
config: {
|
|
9781
|
+
width: {
|
|
9782
|
+
dynamic: {
|
|
9783
|
+
default: string;
|
|
9784
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9785
|
+
};
|
|
9786
|
+
dynamicScale: true;
|
|
9787
|
+
name: "width";
|
|
9788
|
+
vars: {
|
|
9789
|
+
default: string;
|
|
9790
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9791
|
+
};
|
|
9792
|
+
};
|
|
9793
|
+
maxWidth: {
|
|
9794
|
+
dynamic: {
|
|
9795
|
+
default: string;
|
|
9796
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9797
|
+
};
|
|
9798
|
+
dynamicScale: true;
|
|
9799
|
+
name: "maxWidth";
|
|
9800
|
+
vars: {
|
|
9801
|
+
default: string;
|
|
9802
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9803
|
+
};
|
|
9804
|
+
};
|
|
9805
|
+
};
|
|
9806
|
+
}
|
|
9807
|
+
]>;
|
|
9808
|
+
};
|
|
9861
9809
|
declare const sidebarStyles: {
|
|
9862
9810
|
sidebar: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9863
9811
|
position: {
|
|
@@ -10132,6 +10080,124 @@ export declare const sideNavigation: {
|
|
|
10132
10080
|
}>;
|
|
10133
10081
|
};
|
|
10134
10082
|
};
|
|
10083
|
+
declare const stepperStyles: {
|
|
10084
|
+
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10085
|
+
/**
|
|
10086
|
+
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
10087
|
+
* @default horizontal
|
|
10088
|
+
*/
|
|
10089
|
+
direction: {
|
|
10090
|
+
horizontal: {
|
|
10091
|
+
width: "100%";
|
|
10092
|
+
flexDirection: "row";
|
|
10093
|
+
};
|
|
10094
|
+
vertical: {
|
|
10095
|
+
flexDirection: "column";
|
|
10096
|
+
height: "100%";
|
|
10097
|
+
alignItems: "flex-start";
|
|
10098
|
+
};
|
|
10099
|
+
};
|
|
10100
|
+
}>;
|
|
10101
|
+
step: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10102
|
+
direction: {
|
|
10103
|
+
/**
|
|
10104
|
+
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
10105
|
+
* @default horizontal
|
|
10106
|
+
*/
|
|
10107
|
+
horizontal: {
|
|
10108
|
+
flexDirection: "column";
|
|
10109
|
+
":after": {
|
|
10110
|
+
top: "20px";
|
|
10111
|
+
height: "1px";
|
|
10112
|
+
width: "calc(100% - 60px)";
|
|
10113
|
+
left: "calc(50% + 30px)";
|
|
10114
|
+
};
|
|
10115
|
+
};
|
|
10116
|
+
vertical: {
|
|
10117
|
+
":after": {
|
|
10118
|
+
width: "1px";
|
|
10119
|
+
height: "calc(100% - 60px)";
|
|
10120
|
+
top: "calc(50% + 30px)";
|
|
10121
|
+
left: "18px";
|
|
10122
|
+
};
|
|
10123
|
+
};
|
|
10124
|
+
};
|
|
10125
|
+
}>;
|
|
10126
|
+
stepCircle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10127
|
+
/**
|
|
10128
|
+
* Indicates whether the step is currently active. An active step is typically highlighted to show that it is the current step.
|
|
10129
|
+
*/
|
|
10130
|
+
active: {
|
|
10131
|
+
true: {
|
|
10132
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10133
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10134
|
+
};
|
|
10135
|
+
};
|
|
10136
|
+
/**
|
|
10137
|
+
* Indicates whether the step has been completed. A completed step is usually marked with a checkmark or other indicator.
|
|
10138
|
+
*/
|
|
10139
|
+
done: {
|
|
10140
|
+
true: {
|
|
10141
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10142
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10143
|
+
};
|
|
10144
|
+
};
|
|
10145
|
+
}>;
|
|
10146
|
+
};
|
|
10147
|
+
export type StepperVariants = RecipeVariants<typeof stepperStyles.stepper>;
|
|
10148
|
+
export type StepperStepVariants = RecipeVariants<typeof stepperStyles.stepCircle>;
|
|
10149
|
+
export declare const stepper: {
|
|
10150
|
+
classNames: {
|
|
10151
|
+
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10152
|
+
direction: {
|
|
10153
|
+
horizontal: {
|
|
10154
|
+
width: "100%";
|
|
10155
|
+
flexDirection: "row";
|
|
10156
|
+
};
|
|
10157
|
+
vertical: {
|
|
10158
|
+
flexDirection: "column";
|
|
10159
|
+
height: "100%";
|
|
10160
|
+
alignItems: "flex-start";
|
|
10161
|
+
};
|
|
10162
|
+
};
|
|
10163
|
+
}>;
|
|
10164
|
+
step: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10165
|
+
direction: {
|
|
10166
|
+
horizontal: {
|
|
10167
|
+
flexDirection: "column";
|
|
10168
|
+
":after": {
|
|
10169
|
+
top: "20px";
|
|
10170
|
+
height: "1px";
|
|
10171
|
+
width: "calc(100% - 60px)";
|
|
10172
|
+
left: "calc(50% + 30px)";
|
|
10173
|
+
};
|
|
10174
|
+
};
|
|
10175
|
+
vertical: {
|
|
10176
|
+
":after": {
|
|
10177
|
+
width: "1px";
|
|
10178
|
+
height: "calc(100% - 60px)";
|
|
10179
|
+
top: "calc(50% + 30px)";
|
|
10180
|
+
left: "18px";
|
|
10181
|
+
};
|
|
10182
|
+
};
|
|
10183
|
+
};
|
|
10184
|
+
}>;
|
|
10185
|
+
stepCircle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10186
|
+
active: {
|
|
10187
|
+
true: {
|
|
10188
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10189
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10190
|
+
};
|
|
10191
|
+
};
|
|
10192
|
+
done: {
|
|
10193
|
+
true: {
|
|
10194
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10195
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10196
|
+
};
|
|
10197
|
+
};
|
|
10198
|
+
}>;
|
|
10199
|
+
};
|
|
10200
|
+
};
|
|
10135
10201
|
|
|
10136
10202
|
export {
|
|
10137
10203
|
checkbox$1 as checkbox,
|