@dfds-ui/theme 2.2.0-alpha.b8d61c36 → 2.2.0-alpha.b94ad8b5

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/cjs/media.d.ts CHANGED
@@ -6,14 +6,14 @@ interface IBreakpoints {
6
6
  [key: string]: number;
7
7
  }
8
8
  export declare function generateMedia<T extends Breakpoints<T>>(breakpoints: T): {
9
- lessThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
10
- lt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
11
- lessThanEqual: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
12
- lte: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
13
- greaterThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
14
- gt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
15
- between: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
16
- bt: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
9
+ lessThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
10
+ lt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
11
+ lessThanEqual: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
12
+ lte: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
13
+ greaterThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
14
+ gt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
15
+ between: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
16
+ bt: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
17
17
  };
18
18
  export declare const media: {
19
19
  lessThan: (breakpoint: Breakpoint<{
@@ -22,42 +22,42 @@ export declare const media: {
22
22
  l: number;
23
23
  xl: number;
24
24
  xxl: number;
25
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
25
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
26
26
  lt: (breakpoint: Breakpoint<{
27
27
  s: number;
28
28
  m: number;
29
29
  l: number;
30
30
  xl: number;
31
31
  xxl: number;
32
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
32
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
33
33
  lessThanEqual: (breakpoint: Breakpoint<{
34
34
  s: number;
35
35
  m: number;
36
36
  l: number;
37
37
  xl: number;
38
38
  xxl: number;
39
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
39
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
40
40
  lte: (breakpoint: Breakpoint<{
41
41
  s: number;
42
42
  m: number;
43
43
  l: number;
44
44
  xl: number;
45
45
  xxl: number;
46
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
46
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
47
47
  greaterThan: (breakpoint: Breakpoint<{
48
48
  s: number;
49
49
  m: number;
50
50
  l: number;
51
51
  xl: number;
52
52
  xxl: number;
53
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
53
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
54
54
  gt: (breakpoint: Breakpoint<{
55
55
  s: number;
56
56
  m: number;
57
57
  l: number;
58
58
  xl: number;
59
59
  xxl: number;
60
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
60
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
61
61
  between: (firstBreakpoint: Breakpoint<{
62
62
  s: number;
63
63
  m: number;
@@ -70,7 +70,7 @@ export declare const media: {
70
70
  l: number;
71
71
  xl: number;
72
72
  xxl: number;
73
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
73
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
74
74
  bt: (firstBreakpoint: Breakpoint<{
75
75
  s: number;
76
76
  m: number;
@@ -83,7 +83,7 @@ export declare const media: {
83
83
  l: number;
84
84
  xl: number;
85
85
  xxl: number;
86
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
86
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
87
87
  };
88
88
  export declare function useBreakpoint(breakpoints?: IBreakpoints): {
89
89
  greaterThan: (breakpointKey: string) => boolean;
package/cjs/states.d.ts CHANGED
@@ -9,7 +9,7 @@ declare const defaultOverlayOptions: {
9
9
  ignoreFocusVisibility: boolean;
10
10
  };
11
11
  declare const _default: {
12
- outline: (error?: boolean) => import("@emotion/utils").SerializedStyles;
12
+ outline: (error?: boolean) => import("@emotion/react").SerializedStyles;
13
13
  overlay: (selected?: boolean, overlayOptions?: Partial<{
14
14
  hover: string;
15
15
  focus: string;
@@ -18,7 +18,7 @@ declare const _default: {
18
18
  disabled: string;
19
19
  color: string;
20
20
  ignoreFocusVisibility: boolean;
21
- }>) => import("@emotion/utils").SerializedStyles;
21
+ }>) => import("@emotion/react").SerializedStyles;
22
22
  overlayOptions: {
23
23
  defaultOverlayOptions: {
24
24
  hover: string;
package/media.d.ts CHANGED
@@ -6,14 +6,14 @@ interface IBreakpoints {
6
6
  [key: string]: number;
7
7
  }
8
8
  export declare function generateMedia<T extends Breakpoints<T>>(breakpoints: T): {
9
- lessThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
10
- lt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
11
- lessThanEqual: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
12
- lte: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
13
- greaterThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
14
- gt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
15
- between: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
16
- bt: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/utils").SerializedStyles;
9
+ lessThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
10
+ lt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
11
+ lessThanEqual: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
12
+ lte: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
13
+ greaterThan: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
14
+ gt: (breakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
15
+ between: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
16
+ bt: (firstBreakpoint: Breakpoint<T>, secondBreakpoint: Breakpoint<T>) => (...args: any) => import("@emotion/react").SerializedStyles;
17
17
  };
18
18
  export declare const media: {
19
19
  lessThan: (breakpoint: Breakpoint<{
@@ -22,42 +22,42 @@ export declare const media: {
22
22
  l: number;
23
23
  xl: number;
24
24
  xxl: number;
25
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
25
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
26
26
  lt: (breakpoint: Breakpoint<{
27
27
  s: number;
28
28
  m: number;
29
29
  l: number;
30
30
  xl: number;
31
31
  xxl: number;
32
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
32
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
33
33
  lessThanEqual: (breakpoint: Breakpoint<{
34
34
  s: number;
35
35
  m: number;
36
36
  l: number;
37
37
  xl: number;
38
38
  xxl: number;
39
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
39
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
40
40
  lte: (breakpoint: Breakpoint<{
41
41
  s: number;
42
42
  m: number;
43
43
  l: number;
44
44
  xl: number;
45
45
  xxl: number;
46
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
46
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
47
47
  greaterThan: (breakpoint: Breakpoint<{
48
48
  s: number;
49
49
  m: number;
50
50
  l: number;
51
51
  xl: number;
52
52
  xxl: number;
53
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
53
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
54
54
  gt: (breakpoint: Breakpoint<{
55
55
  s: number;
56
56
  m: number;
57
57
  l: number;
58
58
  xl: number;
59
59
  xxl: number;
60
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
60
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
61
61
  between: (firstBreakpoint: Breakpoint<{
62
62
  s: number;
63
63
  m: number;
@@ -70,7 +70,7 @@ export declare const media: {
70
70
  l: number;
71
71
  xl: number;
72
72
  xxl: number;
73
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
73
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
74
74
  bt: (firstBreakpoint: Breakpoint<{
75
75
  s: number;
76
76
  m: number;
@@ -83,7 +83,7 @@ export declare const media: {
83
83
  l: number;
84
84
  xl: number;
85
85
  xxl: number;
86
- }>) => (...args: any) => import("@emotion/utils").SerializedStyles;
86
+ }>) => (...args: any) => import("@emotion/react").SerializedStyles;
87
87
  };
88
88
  export declare function useBreakpoint(breakpoints?: IBreakpoints): {
89
89
  greaterThan: (breakpointKey: string) => boolean;
package/package.json CHANGED
@@ -3,22 +3,22 @@
3
3
  "description": "Theme",
4
4
  "license": "MIT",
5
5
  "private": false,
6
- "version": "2.2.0-alpha.b8d61c36",
6
+ "version": "2.2.0-alpha.b94ad8b5",
7
7
  "sideEffects": false,
8
8
  "main": "./cjs/index.js",
9
9
  "module": "./index.js",
10
10
  "typings": "./index.d.ts",
11
11
  "peerDependencies": {
12
- "@emotion/react": "11.11.4",
12
+ "@emotion/react": "11.14.0",
13
13
  "react": ">= 18.3.1"
14
14
  },
15
15
  "dependencies": {
16
- "@dfds-ui/colors": "2.2.0-alpha.b8d61c36",
17
- "@dfds-ui/spacing": "2.2.0-alpha.b8d61c36",
16
+ "@dfds-ui/colors": "2.2.0-alpha.b94ad8b5",
17
+ "@dfds-ui/spacing": "2.2.0-alpha.b94ad8b5",
18
18
  "@types/lodash.throttle": "^4.1.7",
19
19
  "lodash.throttle": "^4.1.1"
20
20
  },
21
- "gitHead": "b8d61c36b2e7e5af74e686ca5de6cfc856118701",
21
+ "gitHead": "b94ad8b5312373842721f20f5ba7fa2bcea5ee80",
22
22
  "esnext": "",
23
23
  "publishConfig": {
24
24
  "access": "public"
package/states.d.ts CHANGED
@@ -9,7 +9,7 @@ declare const defaultOverlayOptions: {
9
9
  ignoreFocusVisibility: boolean;
10
10
  };
11
11
  declare const _default: {
12
- outline: (error?: boolean) => import("@emotion/utils").SerializedStyles;
12
+ outline: (error?: boolean) => import("@emotion/react").SerializedStyles;
13
13
  overlay: (selected?: boolean, overlayOptions?: Partial<{
14
14
  hover: string;
15
15
  focus: string;
@@ -18,7 +18,7 @@ declare const _default: {
18
18
  disabled: string;
19
19
  color: string;
20
20
  ignoreFocusVisibility: boolean;
21
- }>) => import("@emotion/utils").SerializedStyles;
21
+ }>) => import("@emotion/react").SerializedStyles;
22
22
  overlayOptions: {
23
23
  defaultOverlayOptions: {
24
24
  hover: string;