@aic-kits/react 0.2.0 → 0.3.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.
@@ -1,4 +1,5 @@
1
1
  import { Theme } from '../';
2
+ import { Color } from '../common';
2
3
  export interface ButtonThemeConfig {
3
4
  squircleBorderRadii: {
4
5
  circle: string;
@@ -8,5 +9,13 @@ export interface ButtonThemeConfig {
8
9
  loadingConfig: {
9
10
  size: string;
10
11
  };
12
+ defaultColor?: Color;
13
+ defaultTextColor?: Color;
14
+ variants?: Record<string, {
15
+ bgColor?: Color;
16
+ textColor?: Color;
17
+ borderColor?: Color;
18
+ padding?: string;
19
+ }>;
11
20
  }
12
21
  export declare const buttonTheme: (_theme: Theme) => ButtonThemeConfig;
@@ -1,5 +1,4 @@
1
- import { Theme } from '../';
2
- export type TouchableHapticFeedbackType = 'soft' | 'light' | 'medium' | 'heavy' | 'none';
1
+ import { Theme } from '../../theme';
3
2
  export interface TouchableThemeConfig {
4
3
  animation: {
5
4
  minScale: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aic-kits/react",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -45,5 +45,5 @@
45
45
  "vite-plugin-dts": "^4.3.0",
46
46
  "vitest": "^2.1.8"
47
47
  },
48
- "gitHead": "f5aad32013577f77f19c194d15681035e99c5e62"
48
+ "gitHead": "d04e9c1d749a6ce1ccf915e2310265a34e77afa0"
49
49
  }