ingred-ui 37.1.1 → 37.1.2
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/Tag/types.d.ts +12 -11
- package/dist/index.es.js +945 -945
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +923 -923
- package/dist/index.js.map +1 -1
- package/dist/styles/shadow.d.ts +15 -0
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PointerEventHandler, ReactNode } from "react";
|
|
2
|
+
import type { Theme } from "../../themes";
|
|
2
3
|
export type TagSize = "small" | "medium" | "large" | "xl";
|
|
3
4
|
export type TagVariant = "light" | "dark";
|
|
4
5
|
export type TagProps = {
|
|
@@ -57,17 +58,17 @@ export declare const TAG_SIZES: {
|
|
|
57
58
|
readonly itemGap: "8px";
|
|
58
59
|
};
|
|
59
60
|
};
|
|
60
|
-
export declare const
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
export declare const getTagVariants: (theme: Theme) => {
|
|
62
|
+
light: {
|
|
63
|
+
background: string;
|
|
64
|
+
border: string;
|
|
65
|
+
text: string;
|
|
66
|
+
hoverIcon: string;
|
|
66
67
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
dark: {
|
|
69
|
+
background: string;
|
|
70
|
+
border: string;
|
|
71
|
+
text: string;
|
|
72
|
+
hoverIcon: string;
|
|
72
73
|
};
|
|
73
74
|
};
|