@rarui/styles 1.30.3 → 1.31.0-rc.1

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
@@ -10591,9 +10591,18 @@ declare const dropdownStyles: {
10591
10591
  };
10592
10592
  };
10593
10593
  }>;
10594
- dropdownItem: string;
10594
+ dropdownItem: import("@vanilla-extract/recipes").RuntimeFn<{
10595
+ selected: {
10596
+ true: {
10597
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10598
+ ":hover": {
10599
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10600
+ };
10601
+ };
10602
+ };
10603
+ }>;
10595
10604
  };
10596
- export type DropdownVariants = RecipeVariants<typeof dropdownStyles.dropdown>;
10605
+ export type DropdownVariants = NonNullable<RecipeVariants<typeof dropdownStyles.dropdown> & RecipeVariants<typeof dropdownStyles.dropdownItem>>;
10597
10606
  export type DropdownSprinkle = Pick<StandardLonghandProperties, "width" | "maxWidth">;
10598
10607
  export declare const dropdown: {
10599
10608
  classnames: {
@@ -10607,7 +10616,16 @@ export declare const dropdown: {
10607
10616
  };
10608
10617
  };
10609
10618
  }>;
10610
- dropdownItem: string;
10619
+ dropdownItem: import("@vanilla-extract/recipes").RuntimeFn<{
10620
+ selected: {
10621
+ true: {
10622
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10623
+ ":hover": {
10624
+ backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
10625
+ };
10626
+ };
10627
+ };
10628
+ }>;
10611
10629
  };
10612
10630
  sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
10613
10631
  {