@odeyalo/uikit 0.0.11 → 0.0.12
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/components/Icon/Icon.d.ts +3 -4
- package/dist/main.js +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef,
|
|
1
|
+
import { ComponentPropsWithoutRef, ComponentType, SVGProps } from 'react';
|
|
2
2
|
import { DOMProps, QAProps } from '../../types';
|
|
3
|
-
import * as React from "react";
|
|
4
3
|
type IconVariant = "solid" | "outline";
|
|
5
|
-
type IconData =
|
|
4
|
+
type IconData = ComponentType<SVGProps<SVGSVGElement>>;
|
|
6
5
|
export interface BaseIconProps {
|
|
7
6
|
data: IconData;
|
|
8
7
|
variant?: IconVariant;
|
|
@@ -14,5 +13,5 @@ export interface BaseIconProps {
|
|
|
14
13
|
}
|
|
15
14
|
type IconPropsWithoutTagAttrs = DOMProps & QAProps & BaseIconProps;
|
|
16
15
|
export type IconProps = IconPropsWithoutTagAttrs & Omit<ComponentPropsWithoutRef<"svg">, keyof IconPropsWithoutTagAttrs>;
|
|
17
|
-
export declare const Icon:
|
|
16
|
+
export declare const Icon: import('react').ForwardRefExoticComponent<DOMProps & QAProps & BaseIconProps & Omit<Omit<SVGProps<SVGSVGElement>, "ref">, keyof DOMProps | "qa" | keyof BaseIconProps> & import('react').RefAttributes<SVGSVGElement>>;
|
|
18
17
|
export {};
|
package/dist/main.js
CHANGED
|
@@ -2696,8 +2696,8 @@ const z = /* @__PURE__ */ P2(W2), _2 = "_text_1rxak_1", U2 = "_danger_1rxak_38",
|
|
|
2696
2696
|
size: t = 24,
|
|
2697
2697
|
width: l = t,
|
|
2698
2698
|
height: o = t,
|
|
2699
|
-
fill: c
|
|
2700
|
-
stroke: i
|
|
2699
|
+
fill: c,
|
|
2700
|
+
stroke: i,
|
|
2701
2701
|
...s
|
|
2702
2702
|
}, d) => /* @__PURE__ */ E(
|
|
2703
2703
|
r,
|