ingred-ui 23.3.3 → 23.4.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.
@@ -65,8 +65,8 @@ export declare const colors: {
65
65
  };
66
66
  basic: {
67
67
  0: "#FFFFFF";
68
- 50: "#FDFEFF";
69
- 100: "#F5F7F8";
68
+ 50: "#F8F9FA";
69
+ 100: "#F2F4F5";
70
70
  200: "#E2E8EA";
71
71
  300: "#D1D5DA";
72
72
  400: "#B3BAC1";
@@ -0,0 +1,2 @@
1
+ import { Theme } from "../themes/createTheme";
2
+ export declare const createFocusInteraction: (theme: Theme) => (isError?: boolean) => import("styled-components").FlattenSimpleInterpolation;
@@ -10,6 +10,9 @@ export type ThemeOptions = {
10
10
  spacing?: number;
11
11
  radius?: number;
12
12
  depth?: DepthOptions;
13
+ interaction?: {
14
+ focus: (isError?: boolean) => string;
15
+ };
13
16
  };
14
17
  export type Theme = {
15
18
  palette: Palette;
@@ -19,6 +22,9 @@ export type Theme = {
19
22
  spacing: number;
20
23
  radius: number;
21
24
  depth: Depth;
25
+ interaction: {
26
+ focus: (isError?: boolean) => any;
27
+ };
22
28
  };
23
29
  export declare function createTheme(options?: ThemeOptions): Theme;
24
30
  declare module "styled-components" {
@@ -6,7 +6,7 @@ export type PaletteColor = {
6
6
  light: string;
7
7
  softlight?: string;
8
8
  highlight: string;
9
- ultraLight?: string;
9
+ ultraLight: string;
10
10
  };
11
11
  export type SuccessPaletteColor = PaletteColor & {
12
12
  medium: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingred-ui",
3
- "version": "23.3.3",
3
+ "version": "23.4.0",
4
4
  "description": "",
5
5
  "author": "CARTA HOLDINGS, Inc.",
6
6
  "license": "MIT",
@@ -99,6 +99,7 @@
99
99
  "rollup": "4.34.7",
100
100
  "@types/react": "18.0.12",
101
101
  "@types/react-dom": "18.0.5",
102
- "esbuild": "^0.25.0"
102
+ "esbuild": "^0.25.0",
103
+ "cross-spawn": "7.0.6"
103
104
  }
104
105
  }