@aic-kits/react 0.13.0 → 0.13.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/index.cjs +45 -45
- package/dist/index.js +2135 -2135
- package/dist/theme/ThemeProvider.d.ts +5 -1
- package/dist/theme/components/list.d.ts +3 -3
- package/package.json +2 -2
|
@@ -11,6 +11,10 @@ interface ThemeProviderType {
|
|
|
11
11
|
* Styled Components ThemeProvider wrapper that handles both browser and server rendering
|
|
12
12
|
*/
|
|
13
13
|
declare const ThemeProvider: ThemeProviderType;
|
|
14
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Re-export the useTheme hook from styled-components
|
|
16
|
+
*/
|
|
17
|
+
declare const useTheme: () => Theme;
|
|
18
|
+
export { useTheme };
|
|
15
19
|
export type { Theme };
|
|
16
20
|
export default ThemeProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Theme } from '..';
|
|
1
|
+
import { Space, Theme } from '..';
|
|
2
2
|
export interface ListThemeConfig {
|
|
3
|
-
defaultGap:
|
|
4
|
-
defaultPadding:
|
|
3
|
+
defaultGap: Space;
|
|
4
|
+
defaultPadding: Space;
|
|
5
5
|
}
|
|
6
6
|
export declare const listTheme: (_theme: Theme) => ListThemeConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aic-kits/react",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"vite-plugin-dts": "^4.3.0",
|
|
47
47
|
"vitest": "^2.1.8"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "0634b74fc44106b76add8920cdf24f32eb994b13"
|
|
50
50
|
}
|