@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.
@@ -1,8 +1,7 @@
1
- import { ComponentPropsWithoutRef, RefAttributes } from 'react';
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 = React.ForwardRefExoticComponent<ComponentPropsWithoutRef<"svg"> & RefAttributes<SVGSVGElement>>;
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: React.ForwardRefExoticComponent<DOMProps & QAProps & BaseIconProps & Omit<Omit<React.SVGProps<SVGSVGElement>, "ref">, keyof DOMProps | "qa" | keyof BaseIconProps> & RefAttributes<SVGSVGElement>>;
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 = "currentColor",
2700
- stroke: i = "none",
2699
+ fill: c,
2700
+ stroke: i,
2701
2701
  ...s
2702
2702
  }, d) => /* @__PURE__ */ E(
2703
2703
  r,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odeyalo/uikit",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",