@rarui/styles 1.19.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/dist/index.d.ts CHANGED
@@ -9740,6 +9740,72 @@ export declare const tooltip: {
9740
9740
  container: string;
9741
9741
  };
9742
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
+ };
9743
9809
  declare const sidebarStyles: {
9744
9810
  sidebar: import("@vanilla-extract/recipes").RuntimeFn<{
9745
9811
  position: {
@@ -10014,6 +10080,124 @@ export declare const sideNavigation: {
10014
10080
  }>;
10015
10081
  };
10016
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
+ };
10017
10201
 
10018
10202
  export {
10019
10203
  checkbox$1 as checkbox,