@nayhoo/ui 0.4.1 → 0.4.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/dist/index.mjs CHANGED
@@ -695,8 +695,8 @@ var Skeleton = ({ asChild, ...props }) => {
695
695
 
696
696
  // src/recipes/switch.css.ts
697
697
  import { createRuntimeFn as _7a46819 } from "@vanilla-extract/recipes/createRuntimeFn";
698
- var switchRecipe = _7a46819({ defaultClassName: "switch_switchRecipe__6op4101", variantClassNames: { size: { "1": "switch_switchRecipe_size_1__6op4102", "2": "switch_switchRecipe_size_2__6op4103" } }, defaultVariants: { size: "1" }, compoundVariants: [] });
699
- var switchThumbRecipe = _7a46819({ defaultClassName: "switch_switchThumbRecipe__6op4100", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] });
698
+ var switchRecipe = _7a46819({ defaultClassName: "switch_switchRecipe__6op4103", variantClassNames: { size: { "1": "switch_switchRecipe_size_1__6op4104", "2": "switch_switchRecipe_size_2__6op4105" } }, defaultVariants: { size: "1" }, compoundVariants: [] });
699
+ var switchThumbRecipe = _7a46819({ defaultClassName: "switch_switchThumbRecipe__6op4100", variantClassNames: { size: { "1": "switch_switchThumbRecipe_size_1__6op4101", "2": "switch_switchThumbRecipe_size_2__6op4102" } }, defaultVariants: { size: "1" }, compoundVariants: [] });
700
700
 
701
701
  // src/components/switch.tsx
702
702
  import * as SwitchPrimitive from "@radix-ui/react-switch";
@@ -720,7 +720,7 @@ var Switch = ({ ...props }) => {
720
720
  {
721
721
  ...props,
722
722
  className: mergeClasses(_switch, props.className),
723
- children: /* @__PURE__ */ jsx21(SwitchThumb, {})
723
+ children: /* @__PURE__ */ jsx21(SwitchThumb, { size: props.size })
724
724
  }
725
725
  );
726
726
  };