@aurora-ds/theme 3.1.2 → 3.1.3
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/index.d.cts +3 -5
- package/dist/index.d.ts +3 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,16 +4,14 @@ import { ReactNode, CSSProperties } from 'react';
|
|
|
4
4
|
/** Registry for theme type via module augmentation */
|
|
5
5
|
interface ThemeRegistry {
|
|
6
6
|
}
|
|
7
|
-
/** @internal */
|
|
8
|
-
type _InferredTheme = ThemeRegistry extends {
|
|
9
|
-
theme: infer T;
|
|
10
|
-
} ? T : Record<string, any>;
|
|
11
7
|
/**
|
|
12
8
|
* Internal theme type used by the library. DO NOT USE directly.
|
|
13
9
|
* Define your own theme type and register it via ThemeRegistry.
|
|
14
10
|
* @internal
|
|
15
11
|
*/
|
|
16
|
-
type _InternalTheme
|
|
12
|
+
type _InternalTheme = ThemeRegistry extends {
|
|
13
|
+
theme: infer T;
|
|
14
|
+
} ? T : Record<string, any>;
|
|
17
15
|
|
|
18
16
|
/**
|
|
19
17
|
* Creates a typed theme. Type is validated against ThemeRegistry.
|
package/dist/index.d.ts
CHANGED
|
@@ -4,16 +4,14 @@ import { ReactNode, CSSProperties } from 'react';
|
|
|
4
4
|
/** Registry for theme type via module augmentation */
|
|
5
5
|
interface ThemeRegistry {
|
|
6
6
|
}
|
|
7
|
-
/** @internal */
|
|
8
|
-
type _InferredTheme = ThemeRegistry extends {
|
|
9
|
-
theme: infer T;
|
|
10
|
-
} ? T : Record<string, any>;
|
|
11
7
|
/**
|
|
12
8
|
* Internal theme type used by the library. DO NOT USE directly.
|
|
13
9
|
* Define your own theme type and register it via ThemeRegistry.
|
|
14
10
|
* @internal
|
|
15
11
|
*/
|
|
16
|
-
type _InternalTheme
|
|
12
|
+
type _InternalTheme = ThemeRegistry extends {
|
|
13
|
+
theme: infer T;
|
|
14
|
+
} ? T : Record<string, any>;
|
|
17
15
|
|
|
18
16
|
/**
|
|
19
17
|
* Creates a typed theme. Type is validated against ThemeRegistry.
|