@overmap-ai/blocks 1.0.40-alpha.0 → 1.0.40-alpha.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.
@@ -1,7 +1,8 @@
1
1
  import { DynamicIcon } from 'lucide-react/dynamic';
2
- import { ComponentProps, ComponentPropsWithRef } from 'react';
2
+ import { ComponentPropsWithRef } from 'react';
3
+ import { IconType } from './typings';
3
4
  interface LuIconProps extends Omit<ComponentPropsWithRef<typeof DynamicIcon>, "name"> {
4
- icon: ComponentProps<typeof DynamicIcon>["name"];
5
+ icon: IconType;
5
6
  }
6
7
  export declare const LuIcon: import('react').NamedExoticComponent<LuIconProps>;
7
8
  export {};
@@ -0,0 +1,2 @@
1
+ export * from './LuIcon';
2
+ export * from './typings';
@@ -0,0 +1,3 @@
1
+ import { DynamicIcon } from 'lucide-react/dynamic';
2
+ import { ComponentProps } from 'react';
3
+ export type IconType = ComponentProps<typeof DynamicIcon>["name"];
package/dist/blocks.js CHANGED
@@ -1820,7 +1820,7 @@ const LuIcon = memo((props) => {
1820
1820
  const { ref, icon, className, size: size2 = "1em", ...rest } = props;
1821
1821
  return /* @__PURE__ */ jsx(DynamicIcon, { ref, className: cx("shrink-0", className), size: size2, name: icon, ...rest });
1822
1822
  });
1823
- LuIcon.displayName = "RiIcon";
1823
+ LuIcon.displayName = "LuIcon";
1824
1824
  const Chevron = (props) => {
1825
1825
  const { orientation, ...rest } = props;
1826
1826
  switch (orientation) {