@qasa/qds-ui 0.9.0-next.4 → 0.9.0
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,5 +1,5 @@
|
|
|
1
|
-
import type { Theme } from '@emotion/react';
|
|
2
1
|
import type { SVGAttributes } from 'react';
|
|
2
|
+
import type { Theme } from '../../theme';
|
|
3
3
|
declare type IconSize = 16 | 20 | 24 | 32;
|
|
4
4
|
declare type IconColor = keyof Theme['colors']['icon'] | 'currentColor';
|
|
5
5
|
export interface IconOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Theme } from '@emotion/react';
|
|
2
1
|
import type { SVGAttributes } from 'react';
|
|
2
|
+
import type { Theme } from '../../theme';
|
|
3
3
|
declare type IconSize = 16 | 20 | 24 | 32;
|
|
4
4
|
declare type IconColor = keyof Theme['colors']['icon'] | 'currentColor';
|
|
5
5
|
export interface IconOptions {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import { ElementType, ComponentPropsWithoutRef, ReactNode, SVGAttributes, useLayoutEffect } from 'react';
|
|
4
4
|
import { Options } from '@emotion/cache';
|
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
|
6
|
-
import {
|
|
6
|
+
import { CSSObject } from '@emotion/react';
|
|
7
7
|
import * as _emotion_styled from '@emotion/styled';
|
|
8
8
|
import { LucideIcon } from 'lucide-react';
|
|
9
9
|
|
|
@@ -906,7 +906,7 @@ interface ForwardRefComponent<IntrinsicElementString, OwnProps = {}> extends For
|
|
|
906
906
|
declare type PropsOf<E> = E extends react.ComponentType<infer P> ? P : never;
|
|
907
907
|
|
|
908
908
|
declare type IconSize = 16 | 20 | 24 | 32;
|
|
909
|
-
declare type IconColor = keyof Theme
|
|
909
|
+
declare type IconColor = keyof Theme['colors']['icon'] | 'currentColor';
|
|
910
910
|
interface IconOptions {
|
|
911
911
|
/**
|
|
912
912
|
* The size of the icon.
|