@aivex/ui 1.2.0-dev.18 → 1.2.0-dev.19

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.
@@ -2497,7 +2497,7 @@ function eo(e) {
2497
2497
  }
2498
2498
  //#endregion
2499
2499
  //#region src/components/Switch/Switch.tsx
2500
- var to = ee("aivex:relative aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:rounded-full aivex:transition-colors aivex:duration-200 aivex:cursor-pointer aivex:bg-border-default aivex:data-[state=checked]:bg-bg-brand aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand aivex:disabled:cursor-not-allowed aivex:disabled:opacity-disable", {
2500
+ var to = ee("aivex:relative aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:rounded-full aivex:transition-colors aivex:duration-200 aivex:cursor-pointer aivex:bg-bg-tertiary aivex:data-[state=checked]:bg-bg-brand aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand aivex:disabled:cursor-not-allowed aivex:disabled:opacity-disable", {
2501
2501
  variants: { size: {
2502
2502
  sm: "aivex:w-6 aivex:h-4",
2503
2503
  md: "aivex:w-8 aivex:h-5",
@@ -2505,9 +2505,9 @@ var to = ee("aivex:relative aivex:inline-flex aivex:shrink-0 aivex:items-center
2505
2505
  } },
2506
2506
  defaultVariants: { size: "md" }
2507
2507
  }), no = {
2508
- sm: "aivex:w-3 aivex:h-3 aivex:translate-x-0.5 aivex:data-[state=checked]:translate-x-[10px]",
2509
- md: "aivex:w-4 aivex:h-4 aivex:translate-x-0.5 aivex:data-[state=checked]:translate-x-[14px]",
2510
- lg: "aivex:w-5 aivex:h-5 aivex:translate-x-0.5 aivex:data-[state=checked]:translate-x-[18px]"
2508
+ sm: "aivex:w-2.5 aivex:h-2.5 aivex:translate-x-[3px] aivex:data-[state=checked]:translate-x-[11px]",
2509
+ md: "aivex:w-3.5 aivex:h-3.5 aivex:translate-x-[3px] aivex:data-[state=checked]:translate-x-[15px]",
2510
+ lg: "aivex:w-[18px] aivex:h-[18px] aivex:translate-x-[3px] aivex:data-[state=checked]:translate-x-[19px]"
2511
2511
  }, ro = {
2512
2512
  sm: "aivex:h-4",
2513
2513
  md: "aivex:h-5",
@@ -2523,7 +2523,7 @@ function io({ className: e, label: t, size: n = "md", disabled: r, id: i, ref: a
2523
2523
  disabled: r,
2524
2524
  className: _(to({ size: s }), e),
2525
2525
  ...o,
2526
- children: /* @__PURE__ */ M(Xa, { className: _("aivex:block aivex:rounded-full aivex:bg-white aivex:shadow aivex:transition-transform aivex:duration-200 aivex:will-change-transform", no[s]) })
2526
+ children: /* @__PURE__ */ M(Xa, { className: _("aivex:block aivex:rounded-full aivex:bg-white aivex:shadow-[var(--aivex-elevation-sm)] aivex:transition-transform aivex:duration-200 aivex:will-change-transform", no[s]) })
2527
2527
  }), t && /* @__PURE__ */ M("label", {
2528
2528
  htmlFor: l,
2529
2529
  className: _("aivex:inline-flex aivex:items-center aivex:cursor-pointer aivex:select-none aivex:text-label-lg aivex:text-text-primary", r && "aivex:cursor-not-allowed", ro[s]),
@@ -2534,4 +2534,4 @@ function io({ className: e, label: t, size: n = "md", disabled: r, id: i, ref: a
2534
2534
  //#endregion
2535
2535
  export { P as _, qi as a, Wi as c, Ue as d, He as f, se as g, pe as h, Yi as i, nn as l, I as m, za as n, Ki as o, Ae as p, Qi as r, Gi as s, io as t, Ze as u };
2536
2536
 
2537
- //# sourceMappingURL=Switch-y-tiIz9J.js.map
2537
+ //# sourceMappingURL=Switch-rKD8bdwo.js.map