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.
@@ -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 TAG_VARIANTS: {
61
- readonly light: {
62
- readonly background: "#FFFFFF";
63
- readonly border: "#D1D5DA";
64
- readonly text: "#041C33";
65
- readonly hoverIcon: "#1F3449";
61
+ export declare const getTagVariants: (theme: Theme) => {
62
+ light: {
63
+ background: string;
64
+ border: string;
65
+ text: string;
66
+ hoverIcon: string;
66
67
  };
67
- readonly dark: {
68
- readonly background: "#F2F4F5";
69
- readonly border: "#D1D5DA";
70
- readonly text: "#041C33";
71
- readonly hoverIcon: "#1F3449";
68
+ dark: {
69
+ background: string;
70
+ border: string;
71
+ text: string;
72
+ hoverIcon: string;
72
73
  };
73
74
  };