@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.
- package/dist/{RiIcon → LuIcon}/LuIcon.d.ts +3 -2
- package/dist/LuIcon/index.d.ts +2 -0
- package/dist/LuIcon/typings.d.ts +3 -0
- package/dist/blocks.js +1 -1
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +1 -1
- package/dist/blocks.umd.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/RiIcon/index.d.ts +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DynamicIcon } from 'lucide-react/dynamic';
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
|
+
import { IconType } from './typings';
|
|
3
4
|
interface LuIconProps extends Omit<ComponentPropsWithRef<typeof DynamicIcon>, "name"> {
|
|
4
|
-
icon:
|
|
5
|
+
icon: IconType;
|
|
5
6
|
}
|
|
6
7
|
export declare const LuIcon: import('react').NamedExoticComponent<LuIconProps>;
|
|
7
8
|
export {};
|
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 = "
|
|
1823
|
+
LuIcon.displayName = "LuIcon";
|
|
1824
1824
|
const Chevron = (props) => {
|
|
1825
1825
|
const { orientation, ...rest } = props;
|
|
1826
1826
|
switch (orientation) {
|