@tamagui/helpers-icon 1.35.7 → 1.35.11
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/package.json +3 -3
- package/src/IconProps.ts +9 -9
- package/src/index.ts +2 -2
- package/types/IconProps.d.ts +3 -3
- package/types/IconProps.d.ts.map +1 -1
- package/types/index.d.ts +2 -2
- package/types/index.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/helpers-icon",
|
|
3
|
-
"version": "1.35.
|
|
3
|
+
"version": "1.35.11",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "Utilities for icon packages",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tamagui/core": "1.35.
|
|
24
|
+
"@tamagui/core": "1.35.11"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-native-svg": ">=12"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tamagui/build": "1.35.
|
|
31
|
+
"@tamagui/build": "1.35.11",
|
|
32
32
|
"react": "^18.2.0",
|
|
33
33
|
"react-native-svg": "13.4.0"
|
|
34
34
|
}
|
package/src/IconProps.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ColorTokens, SizeTokens, ThemeTokens } from
|
|
2
|
-
import { SvgProps } from
|
|
1
|
+
import { ColorTokens, SizeTokens, ThemeTokens } from '@tamagui/core'
|
|
2
|
+
import { SvgProps } from 'react-native-svg'
|
|
3
3
|
|
|
4
4
|
export type BaseIconProps = {
|
|
5
|
-
size?: number | SizeTokens
|
|
6
|
-
strokeWidth?: number | SizeTokens
|
|
7
|
-
color?: (ColorTokens | ThemeTokens | (string & {})) | null
|
|
8
|
-
disableTheme?: boolean
|
|
9
|
-
style?: any
|
|
10
|
-
}
|
|
5
|
+
size?: number | SizeTokens
|
|
6
|
+
strokeWidth?: number | SizeTokens
|
|
7
|
+
color?: (ColorTokens | ThemeTokens | (string & {})) | null
|
|
8
|
+
disableTheme?: boolean
|
|
9
|
+
style?: any
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
export type IconProps = SvgProps & BaseIconProps
|
|
12
|
+
export type IconProps = Omit<SvgProps, keyof BaseIconProps> & BaseIconProps
|
package/src/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './IconProps'
|
|
2
|
+
export * from './themed'
|
package/types/IconProps.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ColorTokens, SizeTokens, ThemeTokens } from
|
|
2
|
-
import { SvgProps } from
|
|
1
|
+
import { ColorTokens, SizeTokens, ThemeTokens } from '@tamagui/core';
|
|
2
|
+
import { SvgProps } from 'react-native-svg';
|
|
3
3
|
export type BaseIconProps = {
|
|
4
4
|
size?: number | SizeTokens;
|
|
5
5
|
strokeWidth?: number | SizeTokens;
|
|
@@ -7,5 +7,5 @@ export type BaseIconProps = {
|
|
|
7
7
|
disableTheme?: boolean;
|
|
8
8
|
style?: any;
|
|
9
9
|
};
|
|
10
|
-
export type IconProps = SvgProps & BaseIconProps;
|
|
10
|
+
export type IconProps = Omit<SvgProps, keyof BaseIconProps> & BaseIconProps;
|
|
11
11
|
//# sourceMappingURL=IconProps.d.ts.map
|
package/types/IconProps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconProps.d.ts","sourceRoot":"","sources":["../src/IconProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"IconProps.d.ts","sourceRoot":"","sources":["../src/IconProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAE3C,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IACjC,KAAK,CAAC,EAAE,CAAC,WAAW,GAAG,WAAW,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,GAAG,IAAI,CAAA;IAC1D,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
package/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './IconProps';
|
|
2
|
+
export * from './themed';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA"}
|