@rarui/styles 1.20.0 → 1.22.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 +12 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +215 -120
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7782,9 +7782,10 @@ declare const styles$2: {
|
|
|
7782
7782
|
ghost: {
|
|
7783
7783
|
backgroundColor: "transparent";
|
|
7784
7784
|
textDecoration: "underline";
|
|
7785
|
-
|
|
7785
|
+
borderColor: "transparent";
|
|
7786
7786
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7787
7787
|
":hover": {
|
|
7788
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7788
7789
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7789
7790
|
};
|
|
7790
7791
|
":active": {
|
|
@@ -7854,9 +7855,10 @@ export declare const iconButton: {
|
|
|
7854
7855
|
ghost: {
|
|
7855
7856
|
backgroundColor: "transparent";
|
|
7856
7857
|
textDecoration: "underline";
|
|
7857
|
-
|
|
7858
|
+
borderColor: "transparent";
|
|
7858
7859
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7859
7860
|
":hover": {
|
|
7861
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7860
7862
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7861
7863
|
};
|
|
7862
7864
|
":active": {
|
|
@@ -8604,124 +8606,6 @@ declare const status$1: {
|
|
|
8604
8606
|
}>;
|
|
8605
8607
|
};
|
|
8606
8608
|
};
|
|
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
8609
|
declare const textLineHeightProperties: {
|
|
8726
8610
|
xxs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8727
8611
|
xs: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9858,6 +9742,99 @@ export declare const tooltip: {
|
|
|
9858
9742
|
container: string;
|
|
9859
9743
|
};
|
|
9860
9744
|
};
|
|
9745
|
+
declare const breadcrumbStyles: {
|
|
9746
|
+
breadcrumb: string;
|
|
9747
|
+
breadcrumbItem: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9748
|
+
/**
|
|
9749
|
+
* Indicates whether the breadcrumb item is currently active.
|
|
9750
|
+
* An active item is typically styled differently to show that it represents the current page.
|
|
9751
|
+
*/
|
|
9752
|
+
active: {
|
|
9753
|
+
true: {
|
|
9754
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9755
|
+
};
|
|
9756
|
+
};
|
|
9757
|
+
}>;
|
|
9758
|
+
};
|
|
9759
|
+
export type BreadcrumbVariants = RecipeVariants<typeof breadcrumbStyles.breadcrumbItem>;
|
|
9760
|
+
export declare const breadcrumb: {
|
|
9761
|
+
classnames: {
|
|
9762
|
+
breadcrumb: string;
|
|
9763
|
+
breadcrumbItem: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9764
|
+
active: {
|
|
9765
|
+
true: {
|
|
9766
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9767
|
+
};
|
|
9768
|
+
};
|
|
9769
|
+
}>;
|
|
9770
|
+
};
|
|
9771
|
+
};
|
|
9772
|
+
declare const dropdownStyles: {
|
|
9773
|
+
dropdown: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9774
|
+
/**
|
|
9775
|
+
* Specifies the padding inside the dropdown menu. This prop accepts one of the following values: "base" or "none".
|
|
9776
|
+
* @default base
|
|
9777
|
+
*/
|
|
9778
|
+
padding: {
|
|
9779
|
+
base: {
|
|
9780
|
+
padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9781
|
+
};
|
|
9782
|
+
none: {
|
|
9783
|
+
padding: number;
|
|
9784
|
+
};
|
|
9785
|
+
};
|
|
9786
|
+
}>;
|
|
9787
|
+
dropdownItem: string;
|
|
9788
|
+
container: string;
|
|
9789
|
+
};
|
|
9790
|
+
export type DropdownVariants = RecipeVariants<typeof dropdownStyles.dropdown>;
|
|
9791
|
+
export type DropdownSprinkle = Pick<StandardLonghandProperties, "width" | "maxWidth">;
|
|
9792
|
+
export declare const dropdown: {
|
|
9793
|
+
classnames: {
|
|
9794
|
+
dropdown: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9795
|
+
padding: {
|
|
9796
|
+
base: {
|
|
9797
|
+
padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9798
|
+
};
|
|
9799
|
+
none: {
|
|
9800
|
+
padding: number;
|
|
9801
|
+
};
|
|
9802
|
+
};
|
|
9803
|
+
}>;
|
|
9804
|
+
dropdownItem: string;
|
|
9805
|
+
container: string;
|
|
9806
|
+
};
|
|
9807
|
+
sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
|
|
9808
|
+
{
|
|
9809
|
+
config: {
|
|
9810
|
+
width: {
|
|
9811
|
+
dynamic: {
|
|
9812
|
+
default: string;
|
|
9813
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9814
|
+
};
|
|
9815
|
+
dynamicScale: true;
|
|
9816
|
+
name: "width";
|
|
9817
|
+
vars: {
|
|
9818
|
+
default: string;
|
|
9819
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9820
|
+
};
|
|
9821
|
+
};
|
|
9822
|
+
maxWidth: {
|
|
9823
|
+
dynamic: {
|
|
9824
|
+
default: string;
|
|
9825
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9826
|
+
};
|
|
9827
|
+
dynamicScale: true;
|
|
9828
|
+
name: "maxWidth";
|
|
9829
|
+
vars: {
|
|
9830
|
+
default: string;
|
|
9831
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
9832
|
+
};
|
|
9833
|
+
};
|
|
9834
|
+
};
|
|
9835
|
+
}
|
|
9836
|
+
]>;
|
|
9837
|
+
};
|
|
9861
9838
|
declare const sidebarStyles: {
|
|
9862
9839
|
sidebar: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9863
9840
|
position: {
|
|
@@ -10132,6 +10109,124 @@ export declare const sideNavigation: {
|
|
|
10132
10109
|
}>;
|
|
10133
10110
|
};
|
|
10134
10111
|
};
|
|
10112
|
+
declare const stepperStyles: {
|
|
10113
|
+
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10114
|
+
/**
|
|
10115
|
+
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
10116
|
+
* @default horizontal
|
|
10117
|
+
*/
|
|
10118
|
+
direction: {
|
|
10119
|
+
horizontal: {
|
|
10120
|
+
width: "100%";
|
|
10121
|
+
flexDirection: "row";
|
|
10122
|
+
};
|
|
10123
|
+
vertical: {
|
|
10124
|
+
flexDirection: "column";
|
|
10125
|
+
height: "100%";
|
|
10126
|
+
alignItems: "flex-start";
|
|
10127
|
+
};
|
|
10128
|
+
};
|
|
10129
|
+
}>;
|
|
10130
|
+
step: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10131
|
+
direction: {
|
|
10132
|
+
/**
|
|
10133
|
+
* Specifies the direction of the stepper. This prop accepts one of the following values: vertical or horizontal.
|
|
10134
|
+
* @default horizontal
|
|
10135
|
+
*/
|
|
10136
|
+
horizontal: {
|
|
10137
|
+
flexDirection: "column";
|
|
10138
|
+
":after": {
|
|
10139
|
+
top: "20px";
|
|
10140
|
+
height: "1px";
|
|
10141
|
+
width: "calc(100% - 60px)";
|
|
10142
|
+
left: "calc(50% + 30px)";
|
|
10143
|
+
};
|
|
10144
|
+
};
|
|
10145
|
+
vertical: {
|
|
10146
|
+
":after": {
|
|
10147
|
+
width: "1px";
|
|
10148
|
+
height: "calc(100% - 60px)";
|
|
10149
|
+
top: "calc(50% + 30px)";
|
|
10150
|
+
left: "18px";
|
|
10151
|
+
};
|
|
10152
|
+
};
|
|
10153
|
+
};
|
|
10154
|
+
}>;
|
|
10155
|
+
stepCircle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10156
|
+
/**
|
|
10157
|
+
* Indicates whether the step is currently active. An active step is typically highlighted to show that it is the current step.
|
|
10158
|
+
*/
|
|
10159
|
+
active: {
|
|
10160
|
+
true: {
|
|
10161
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10162
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10163
|
+
};
|
|
10164
|
+
};
|
|
10165
|
+
/**
|
|
10166
|
+
* Indicates whether the step has been completed. A completed step is usually marked with a checkmark or other indicator.
|
|
10167
|
+
*/
|
|
10168
|
+
done: {
|
|
10169
|
+
true: {
|
|
10170
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10171
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10172
|
+
};
|
|
10173
|
+
};
|
|
10174
|
+
}>;
|
|
10175
|
+
};
|
|
10176
|
+
export type StepperVariants = RecipeVariants<typeof stepperStyles.stepper>;
|
|
10177
|
+
export type StepperStepVariants = RecipeVariants<typeof stepperStyles.stepCircle>;
|
|
10178
|
+
export declare const stepper: {
|
|
10179
|
+
classNames: {
|
|
10180
|
+
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10181
|
+
direction: {
|
|
10182
|
+
horizontal: {
|
|
10183
|
+
width: "100%";
|
|
10184
|
+
flexDirection: "row";
|
|
10185
|
+
};
|
|
10186
|
+
vertical: {
|
|
10187
|
+
flexDirection: "column";
|
|
10188
|
+
height: "100%";
|
|
10189
|
+
alignItems: "flex-start";
|
|
10190
|
+
};
|
|
10191
|
+
};
|
|
10192
|
+
}>;
|
|
10193
|
+
step: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10194
|
+
direction: {
|
|
10195
|
+
horizontal: {
|
|
10196
|
+
flexDirection: "column";
|
|
10197
|
+
":after": {
|
|
10198
|
+
top: "20px";
|
|
10199
|
+
height: "1px";
|
|
10200
|
+
width: "calc(100% - 60px)";
|
|
10201
|
+
left: "calc(50% + 30px)";
|
|
10202
|
+
};
|
|
10203
|
+
};
|
|
10204
|
+
vertical: {
|
|
10205
|
+
":after": {
|
|
10206
|
+
width: "1px";
|
|
10207
|
+
height: "calc(100% - 60px)";
|
|
10208
|
+
top: "calc(50% + 30px)";
|
|
10209
|
+
left: "18px";
|
|
10210
|
+
};
|
|
10211
|
+
};
|
|
10212
|
+
};
|
|
10213
|
+
}>;
|
|
10214
|
+
stepCircle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10215
|
+
active: {
|
|
10216
|
+
true: {
|
|
10217
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10218
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10219
|
+
};
|
|
10220
|
+
};
|
|
10221
|
+
done: {
|
|
10222
|
+
true: {
|
|
10223
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10224
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10225
|
+
};
|
|
10226
|
+
};
|
|
10227
|
+
}>;
|
|
10228
|
+
};
|
|
10229
|
+
};
|
|
10135
10230
|
|
|
10136
10231
|
export {
|
|
10137
10232
|
checkbox$1 as checkbox,
|