lensfx 0.1.3 → 0.1.4

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
@@ -1689,7 +1689,7 @@ var RefractionGroupContext = createContext({
1689
1689
  gap: 0
1690
1690
  });
1691
1691
  var BLANK_1PX_PNG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";
1692
- function AaveGlass({
1692
+ function Lens({
1693
1693
  children,
1694
1694
  lens,
1695
1695
  x = 0.5,
@@ -2419,7 +2419,7 @@ function AaveGlass({
2419
2419
  }
2420
2420
  );
2421
2421
  }
2422
- AaveGlass.General = {
2422
+ Lens.General = {
2423
2423
  Provider: ({ children }) => {
2424
2424
  const activeLens = useRef(null);
2425
2425
  const version = useRef(0);
@@ -2784,7 +2784,7 @@ function GlassSwitch({
2784
2784
  }
2785
2785
  ),
2786
2786
  /* @__PURE__ */ jsx(
2787
- AaveGlass,
2787
+ Lens,
2788
2788
  {
2789
2789
  lens: activeLensParams,
2790
2790
  x: normalizedLensX,
@@ -3237,7 +3237,7 @@ function GlassSlider({
3237
3237
  userSelect: "none"
3238
3238
  },
3239
3239
  children: /* @__PURE__ */ jsx(
3240
- AaveGlass,
3240
+ Lens,
3241
3241
  {
3242
3242
  lens: activeLensParams,
3243
3243
  x: normalizedLensX,
@@ -3536,7 +3536,7 @@ function GlassToggleGroup({
3536
3536
  border: "1px solid var(--border-1, rgba(255, 255, 255, 0.08))"
3537
3537
  },
3538
3538
  children: /* @__PURE__ */ jsx(
3539
- AaveGlass,
3539
+ Lens,
3540
3540
  {
3541
3541
  lens: { ...DEFAULT_TOGGLE_LENS, ...lens, specularDark: !isDark },
3542
3542
  x: lensX,
@@ -3646,6 +3646,6 @@ function GlassToggleGroup({
3646
3646
  );
3647
3647
  }
3648
3648
 
3649
- export { DEFAULT_LENS_PARAMS, AaveGlass as Lens, GlassSlider as LensSlider, GlassSwitch as LensSwitch, GlassToggleGroup as LensToggleGroup, QRRefractionRenderer, SLIDER_DARK_OVERRIDES, SLIDER_GLASS_DEFAULTS, SLIDER_LIGHT_OVERRIDES, SLIDER_SAFARI_OVERRIDES, SWITCH_DARK_OVERRIDES, SWITCH_GLASS_DEFAULTS, SWITCH_LIGHT_OVERRIDES, VideoRefractionRenderer, colorMatrixValues, computeDomeConstants, createDisplacementMapGeneratorSync, createLens, domeGradient, erf, generateDisplacementMapAsync, getSvgMaskDataUri };
3649
+ export { DEFAULT_LENS_PARAMS, Lens, GlassSlider as LensSlider, GlassSwitch as LensSwitch, GlassToggleGroup as LensToggleGroup, QRRefractionRenderer, SLIDER_DARK_OVERRIDES, SLIDER_GLASS_DEFAULTS, SLIDER_LIGHT_OVERRIDES, SLIDER_SAFARI_OVERRIDES, SWITCH_DARK_OVERRIDES, SWITCH_GLASS_DEFAULTS, SWITCH_LIGHT_OVERRIDES, VideoRefractionRenderer, colorMatrixValues, computeDomeConstants, createDisplacementMapGeneratorSync, createLens, domeGradient, erf, generateDisplacementMapAsync, getSvgMaskDataUri };
3650
3650
  //# sourceMappingURL=index.mjs.map
3651
3651
  //# sourceMappingURL=index.mjs.map