@fluentui-react-native/radio-group 0.22.5 → 0.22.8
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/.cache/tsconfig.tsbuildinfo +1 -1
- package/CHANGELOG.md +80 -0
- package/MIGRATION.md +1 -1
- package/SPEC.md +1 -1
- package/lib/Radio/Radio.d.ts +1 -1
- package/lib/Radio/Radio.d.ts.map +1 -1
- package/lib/Radio/Radio.ios.d.ts +1 -1
- package/lib/Radio/Radio.ios.d.ts.map +1 -1
- package/lib/Radio/Radio.ios.js +2 -1
- package/lib/Radio/Radio.ios.js.map +1 -1
- package/lib/Radio/Radio.js +2 -1
- package/lib/Radio/Radio.js.map +1 -1
- package/lib/Radio/RadioTokens.android.js +6 -6
- package/lib/Radio/RadioTokens.android.js.map +1 -1
- package/lib/Radio/RadioTokens.d.ts.map +1 -1
- package/lib/Radio/RadioTokens.ios.js +5 -5
- package/lib/Radio/RadioTokens.ios.js.map +1 -1
- package/lib/Radio/RadioTokens.js +18 -18
- package/lib/Radio/RadioTokens.js.map +1 -1
- package/lib/Radio/RadioTokens.win32.d.ts.map +1 -1
- package/lib/Radio/RadioTokens.win32.js +22 -22
- package/lib/Radio/RadioTokens.win32.js.map +1 -1
- package/lib/Radio/useRadio.js +1 -1
- package/lib/Radio/useRadio.js.map +1 -1
- package/lib/Radio/useRadio.win32.js +1 -1
- package/lib/Radio/useRadio.win32.js.map +1 -1
- package/lib/RadioGroup/RadioGroup.d.ts +1 -1
- package/lib/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/lib/RadioGroup/RadioGroup.js +2 -1
- package/lib/RadioGroup/RadioGroup.js.map +1 -1
- package/lib/RadioGroup/RadioGroupTokens.js +2 -2
- package/lib/RadioGroup/RadioGroupTokens.js.map +1 -1
- package/lib/RadioGroup/RadioGroupTokens.mobile.js +3 -3
- package/lib/RadioGroup/RadioGroupTokens.mobile.js.map +1 -1
- package/lib/RadioGroup/useRadioGroup.js +1 -1
- package/lib/RadioGroup/useRadioGroup.js.map +1 -1
- package/package.json +15 -16
- package/src/Radio/Radio.ios.tsx +2 -1
- package/src/Radio/Radio.tsx +2 -1
- package/src/Radio/RadioTokens.android.ts +6 -6
- package/src/Radio/RadioTokens.ios.ts +5 -5
- package/src/Radio/RadioTokens.ts +27 -18
- package/src/Radio/RadioTokens.win32.ts +32 -22
- package/src/Radio/useRadio.ts +1 -1
- package/src/Radio/useRadio.win32.ts +1 -1
- package/src/RadioGroup/RadioGroup.tsx +2 -1
- package/src/RadioGroup/RadioGroupTokens.mobile.ts +3 -3
- package/src/RadioGroup/RadioGroupTokens.ts +2 -2
- package/src/RadioGroup/useRadioGroup.ts +1 -1
- package/tsconfig.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/radio-group",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.8",
|
|
4
4
|
"description": "A cross-platform Radio Group component using the Fluent Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
@@ -23,28 +23,27 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "
|
|
26
|
+
"build": "tsc -b",
|
|
27
27
|
"clean": "fluentui-scripts clean",
|
|
28
|
-
"depcheck": "fluentui-scripts depcheck",
|
|
29
28
|
"format": "fluentui-scripts format",
|
|
30
29
|
"lint": "fluentui-scripts lint",
|
|
31
30
|
"test": "fluentui-scripts jest",
|
|
32
31
|
"update-snapshots": "fluentui-scripts jest -u"
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
|
-
"@fluentui-react-native/adapters": "0.
|
|
36
|
-
"@fluentui-react-native/
|
|
37
|
-
"@fluentui-react-native/
|
|
38
|
-
"@fluentui-react-native/framework
|
|
39
|
-
"@fluentui-react-native/
|
|
40
|
-
"@fluentui-react-native/
|
|
41
|
-
"@fluentui-react-native/
|
|
42
|
-
"@fluentui-react-native/
|
|
43
|
-
"@fluentui-react-native/tokens": "0.24.
|
|
44
|
-
"@fluentui-react-native/use-styling": "0.
|
|
45
|
-
"@uifabricshared/foundation-composable": "0.
|
|
46
|
-
"@uifabricshared/foundation-compose": "1.16.
|
|
47
|
-
"@uifabricshared/foundation-settings": "0.16.
|
|
34
|
+
"@fluentui-react-native/adapters": "0.15.1",
|
|
35
|
+
"@fluentui-react-native/design": "0.3.1",
|
|
36
|
+
"@fluentui-react-native/focus-zone": "0.23.2",
|
|
37
|
+
"@fluentui-react-native/framework": "0.17.2",
|
|
38
|
+
"@fluentui-react-native/framework-base": "0.6.1",
|
|
39
|
+
"@fluentui-react-native/interactive-hooks": "0.28.8",
|
|
40
|
+
"@fluentui-react-native/pressable": "0.13.8",
|
|
41
|
+
"@fluentui-react-native/text": "0.25.8",
|
|
42
|
+
"@fluentui-react-native/tokens": "0.24.8",
|
|
43
|
+
"@fluentui-react-native/use-styling": "0.16.2",
|
|
44
|
+
"@uifabricshared/foundation-composable": "0.15.2",
|
|
45
|
+
"@uifabricshared/foundation-compose": "1.16.8",
|
|
46
|
+
"@uifabricshared/foundation-settings": "0.16.8"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
49
|
"@babel/core": "^7.20.0",
|
package/src/Radio/Radio.ios.tsx
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { Platform, Pressable, View } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import type { UseSlots } from '@fluentui-react-native/framework';
|
|
5
|
-
import { compose
|
|
5
|
+
import { compose } from '@fluentui-react-native/framework';
|
|
6
|
+
import { mergeProps } from '@fluentui-react-native/framework-base';
|
|
6
7
|
import type { PressableState } from '@fluentui-react-native/interactive-hooks';
|
|
7
8
|
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
8
9
|
import { Svg, Path } from 'react-native-svg';
|
package/src/Radio/Radio.tsx
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { Platform, Pressable, View } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import type { UseSlots } from '@fluentui-react-native/framework';
|
|
5
|
-
import { compose
|
|
5
|
+
import { compose } from '@fluentui-react-native/framework';
|
|
6
|
+
import { mergeProps } from '@fluentui-react-native/framework-base';
|
|
6
7
|
import type { PressableState } from '@fluentui-react-native/interactive-hooks';
|
|
7
8
|
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
8
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
-
import {
|
|
2
|
+
import { size160, size20, sizeNone, strokeWidth15 } from '@fluentui-react-native/design/tokens/global';
|
|
3
3
|
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
4
4
|
|
|
5
5
|
import type { RadioTokens } from './Radio.types';
|
|
@@ -9,14 +9,14 @@ export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme)
|
|
|
9
9
|
// Tokens for label are taken from Android List Item
|
|
10
10
|
color: t.colors.neutralForeground1,
|
|
11
11
|
variant: 'body1',
|
|
12
|
-
labelMarginLeft:
|
|
13
|
-
labelPadding:
|
|
12
|
+
labelMarginLeft: size160,
|
|
13
|
+
labelPadding: size20,
|
|
14
14
|
subtextVariant: 'caption1',
|
|
15
15
|
flexDirection: 'row',
|
|
16
16
|
alignItems: 'center',
|
|
17
17
|
labelPositionBelow: {
|
|
18
18
|
flexDirection: 'column',
|
|
19
|
-
marginLeft:
|
|
19
|
+
marginLeft: sizeNone,
|
|
20
20
|
},
|
|
21
21
|
|
|
22
22
|
marginTop: 24 - 20, // Size - Outer Circle Size
|
|
@@ -26,8 +26,8 @@ export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme)
|
|
|
26
26
|
radioOuterCircleSize: 20,
|
|
27
27
|
radioInnerCircleSize: 10,
|
|
28
28
|
radioBorderStyle: 'solid',
|
|
29
|
-
radioBorderWidth:
|
|
30
|
-
rippleRadius:
|
|
29
|
+
radioBorderWidth: strokeWidth15,
|
|
30
|
+
rippleRadius: size160,
|
|
31
31
|
rippleColor: '#D4D4D4',
|
|
32
32
|
|
|
33
33
|
// Unselected, Rest
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
-
import {
|
|
2
|
+
import { size160, size20, sizeNone } from '@fluentui-react-native/design/tokens/global';
|
|
3
3
|
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
4
4
|
|
|
5
5
|
import type { RadioTokens } from './Radio.types';
|
|
@@ -11,14 +11,14 @@ export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme)
|
|
|
11
11
|
// Tokens for label are taken from Android List Item
|
|
12
12
|
color: t.colors.neutralForeground1,
|
|
13
13
|
variant: 'body1',
|
|
14
|
-
labelMarginLeft:
|
|
15
|
-
labelPadding:
|
|
14
|
+
labelMarginLeft: size160,
|
|
15
|
+
labelPadding: size20,
|
|
16
16
|
subtextVariant: 'caption1',
|
|
17
17
|
flexDirection: 'row',
|
|
18
18
|
alignItems: 'center',
|
|
19
19
|
labelPositionBelow: {
|
|
20
20
|
flexDirection: 'column',
|
|
21
|
-
marginLeft:
|
|
21
|
+
marginLeft: sizeNone,
|
|
22
22
|
},
|
|
23
23
|
|
|
24
24
|
marginTop: 24 - 20, // Size - Outer Circle Size
|
|
@@ -27,7 +27,7 @@ export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme)
|
|
|
27
27
|
marginRight: 24 - 20, // Size - Outer Circle Size
|
|
28
28
|
radioOuterCircleSize: 20,
|
|
29
29
|
radioInnerCircleSize: 10,
|
|
30
|
-
rippleRadius:
|
|
30
|
+
rippleRadius: size160,
|
|
31
31
|
rippleColor: '#D4D4D4',
|
|
32
32
|
|
|
33
33
|
// Unselected, Rest
|
package/src/Radio/RadioTokens.ts
CHANGED
|
@@ -1,34 +1,43 @@
|
|
|
1
1
|
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
cornerRadius40,
|
|
4
|
+
size100,
|
|
5
|
+
size20,
|
|
6
|
+
size200,
|
|
7
|
+
size40,
|
|
8
|
+
size60,
|
|
9
|
+
sizeNone,
|
|
10
|
+
strokeWidth10,
|
|
11
|
+
} from '@fluentui-react-native/design/tokens/global';
|
|
3
12
|
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
4
13
|
|
|
5
14
|
import type { RadioTokens } from './Radio.types';
|
|
6
15
|
|
|
7
16
|
export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme) =>
|
|
8
17
|
({
|
|
9
|
-
rootHorizontalPadding:
|
|
18
|
+
rootHorizontalPadding: size40,
|
|
10
19
|
borderColor: t.colors.transparentStroke,
|
|
11
20
|
borderStyle: 'solid',
|
|
12
|
-
borderWidth:
|
|
13
|
-
borderRadius:
|
|
14
|
-
radioBorderWidth:
|
|
21
|
+
borderWidth: strokeWidth10,
|
|
22
|
+
borderRadius: cornerRadius40,
|
|
23
|
+
radioBorderWidth: strokeWidth10,
|
|
15
24
|
radioVisibility: 0,
|
|
16
25
|
variant: 'subheaderStandard',
|
|
17
26
|
radioBorderStyle: 'solid',
|
|
18
27
|
radioBorder: t.colors.neutralStrokeAccessible,
|
|
19
28
|
color: t.colors.neutralForeground3,
|
|
20
|
-
radioOuterCircleSize:
|
|
21
|
-
radioInnerCircleSize:
|
|
22
|
-
labelMarginVertical:
|
|
23
|
-
labelMarginRight:
|
|
24
|
-
labelMarginLeft:
|
|
29
|
+
radioOuterCircleSize: size200,
|
|
30
|
+
radioInnerCircleSize: size100,
|
|
31
|
+
labelMarginVertical: size40,
|
|
32
|
+
labelMarginRight: size20,
|
|
33
|
+
labelMarginLeft: sizeNone,
|
|
25
34
|
subtextVariant: 'caption1',
|
|
26
|
-
subtextMarginTop:
|
|
27
|
-
subtextMarginBottom:
|
|
28
|
-
marginTop:
|
|
29
|
-
marginRight:
|
|
30
|
-
marginBottom:
|
|
31
|
-
marginLeft:
|
|
35
|
+
subtextMarginTop: sizeNone,
|
|
36
|
+
subtextMarginBottom: size40 + 1,
|
|
37
|
+
marginTop: size60,
|
|
38
|
+
marginRight: size60,
|
|
39
|
+
marginBottom: size60,
|
|
40
|
+
marginLeft: size40,
|
|
32
41
|
flexDirection: 'row',
|
|
33
42
|
alignItems: 'flex-start',
|
|
34
43
|
labelAlignItems: 'flex-start',
|
|
@@ -37,8 +46,8 @@ export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme)
|
|
|
37
46
|
flexDirection: 'column',
|
|
38
47
|
alignItems: 'center',
|
|
39
48
|
labelAlignItems: 'center',
|
|
40
|
-
labelMarginLeft:
|
|
41
|
-
marginLeft:
|
|
49
|
+
labelMarginLeft: size20,
|
|
50
|
+
marginLeft: size60,
|
|
42
51
|
},
|
|
43
52
|
|
|
44
53
|
disabled: {
|
|
@@ -1,35 +1,45 @@
|
|
|
1
1
|
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
cornerRadius40,
|
|
4
|
+
size160,
|
|
5
|
+
size20,
|
|
6
|
+
size40,
|
|
7
|
+
size60,
|
|
8
|
+
size80,
|
|
9
|
+
sizeNone,
|
|
10
|
+
strokeWidth10,
|
|
11
|
+
strokeWidth20,
|
|
12
|
+
} from '@fluentui-react-native/design/tokens/global';
|
|
3
13
|
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
4
14
|
|
|
5
15
|
import type { RadioTokens } from './Radio.types';
|
|
6
16
|
|
|
7
17
|
export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme) =>
|
|
8
18
|
({
|
|
9
|
-
rootHorizontalPadding:
|
|
19
|
+
rootHorizontalPadding: size40,
|
|
10
20
|
borderColor: t.colors.transparentStroke,
|
|
11
21
|
borderStyle: 'solid',
|
|
12
|
-
borderWidth:
|
|
13
|
-
borderRadius:
|
|
14
|
-
radioBorderWidth:
|
|
22
|
+
borderWidth: strokeWidth20,
|
|
23
|
+
borderRadius: cornerRadius40,
|
|
24
|
+
radioBorderWidth: strokeWidth10,
|
|
15
25
|
radioVisibility: 0,
|
|
16
26
|
variant: 'body1',
|
|
17
27
|
radioBorderStyle: 'solid',
|
|
18
28
|
radioBorder: t.colors.neutralStrokeAccessible,
|
|
19
29
|
color: t.colors.neutralForeground1,
|
|
20
|
-
radioOuterCircleSize:
|
|
21
|
-
radioInnerCircleSize:
|
|
30
|
+
radioOuterCircleSize: size160,
|
|
31
|
+
radioInnerCircleSize: size80,
|
|
22
32
|
radioOuterCircleBackground: t.colors.neutralBackground1,
|
|
23
|
-
labelMarginVertical:
|
|
24
|
-
labelMarginRight:
|
|
25
|
-
labelMarginLeft:
|
|
33
|
+
labelMarginVertical: size40,
|
|
34
|
+
labelMarginRight: sizeNone,
|
|
35
|
+
labelMarginLeft: sizeNone,
|
|
26
36
|
subtextVariant: 'caption1',
|
|
27
|
-
subtextMarginTop:
|
|
28
|
-
subtextMarginBottom:
|
|
29
|
-
marginTop:
|
|
30
|
-
marginRight:
|
|
31
|
-
marginBottom:
|
|
32
|
-
marginLeft:
|
|
37
|
+
subtextMarginTop: sizeNone,
|
|
38
|
+
subtextMarginBottom: size40 + 1,
|
|
39
|
+
marginTop: size60,
|
|
40
|
+
marginRight: sizeNone,
|
|
41
|
+
marginBottom: size60,
|
|
42
|
+
marginLeft: size40,
|
|
33
43
|
flexDirection: 'row',
|
|
34
44
|
alignItems: 'flex-start',
|
|
35
45
|
labelAlignItems: 'flex-start',
|
|
@@ -38,12 +48,12 @@ export const defaultRadioTokens: TokenSettings<RadioTokens, Theme> = (t: Theme)
|
|
|
38
48
|
flexDirection: 'column',
|
|
39
49
|
alignItems: 'center',
|
|
40
50
|
labelAlignItems: 'center',
|
|
41
|
-
labelMarginRight:
|
|
42
|
-
labelMarginVertical:
|
|
43
|
-
labelPadding:
|
|
44
|
-
marginLeft:
|
|
45
|
-
marginRight:
|
|
46
|
-
marginBottom:
|
|
51
|
+
labelMarginRight: sizeNone,
|
|
52
|
+
labelMarginVertical: size20,
|
|
53
|
+
labelPadding: size20,
|
|
54
|
+
marginLeft: size60,
|
|
55
|
+
marginRight: size60,
|
|
56
|
+
marginBottom: sizeNone,
|
|
47
57
|
},
|
|
48
58
|
|
|
49
59
|
disabled: {
|
package/src/Radio/useRadio.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { AccessibilityState } from 'react-native';
|
|
3
3
|
|
|
4
|
-
import { memoize } from '@fluentui-react-native/framework';
|
|
4
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
5
5
|
import { usePressableState, useOnPressWithFocus, useViewCommandFocus } from '@fluentui-react-native/interactive-hooks';
|
|
6
6
|
|
|
7
7
|
import type { RadioProps, RadioInfo } from './Radio.types';
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type { AccessibilityState } from 'react-native';
|
|
3
3
|
import { I18nManager } from 'react-native';
|
|
4
4
|
|
|
5
|
-
import { memoize } from '@fluentui-react-native/framework';
|
|
5
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
6
6
|
import type { KeyPressEvent } from '@fluentui-react-native/interactive-hooks';
|
|
7
7
|
import { usePressableState, useOnPressWithFocus, useViewCommandFocus, useKeyDownProps } from '@fluentui-react-native/interactive-hooks';
|
|
8
8
|
|
|
@@ -4,7 +4,8 @@ import { Platform, View } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import { FocusZone } from '@fluentui-react-native/focus-zone';
|
|
6
6
|
import type { UseSlots } from '@fluentui-react-native/framework';
|
|
7
|
-
import { compose
|
|
7
|
+
import { compose } from '@fluentui-react-native/framework';
|
|
8
|
+
import { mergeProps } from '@fluentui-react-native/framework-base';
|
|
8
9
|
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
9
10
|
|
|
10
11
|
import { stylingSettings } from './RadioGroup.styling';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
-
import {
|
|
2
|
+
import { colorDarkRedPrimary, size20 } from '@fluentui-react-native/design/tokens/global';
|
|
3
3
|
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
4
4
|
|
|
5
5
|
import type { RadioGroupTokens } from './RadioGroup.types';
|
|
@@ -9,8 +9,8 @@ export const defaultRadioGroupTokens: TokenSettings<RadioGroupTokens, Theme> = (
|
|
|
9
9
|
// Tokens taken from Android Popover
|
|
10
10
|
color: t.colors.neutralForeground1,
|
|
11
11
|
variant: 'body1Strong',
|
|
12
|
-
requiredColor:
|
|
13
|
-
requiredPadding:
|
|
12
|
+
requiredColor: colorDarkRedPrimary,
|
|
13
|
+
requiredPadding: size20,
|
|
14
14
|
flexDirection: 'column',
|
|
15
15
|
disabled: {
|
|
16
16
|
color: t.colors.neutralForegroundDisabled1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
-
import {
|
|
2
|
+
import { size40 } from '@fluentui-react-native/design/tokens/global';
|
|
3
3
|
import type { TokenSettings } from '@fluentui-react-native/use-styling';
|
|
4
4
|
|
|
5
5
|
import type { RadioGroupTokens } from './RadioGroup.types';
|
|
@@ -9,7 +9,7 @@ export const defaultRadioGroupTokens: TokenSettings<RadioGroupTokens, Theme> = (
|
|
|
9
9
|
color: t.colors.menuItemText,
|
|
10
10
|
variant: 'subtitle2Strong',
|
|
11
11
|
requiredColor: t.colors.redForeground3,
|
|
12
|
-
requiredPadding:
|
|
12
|
+
requiredPadding: size40,
|
|
13
13
|
flexDirection: 'column',
|
|
14
14
|
disabled: {
|
|
15
15
|
color: t.colors.neutralForegroundDisabled,
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type { View } from 'react-native';
|
|
3
3
|
import type { AccessibilityState } from 'react-native';
|
|
4
4
|
|
|
5
|
-
import { memoize } from '@fluentui-react-native/framework';
|
|
5
|
+
import { memoize } from '@fluentui-react-native/framework-base';
|
|
6
6
|
import { useSelectedKey as useValue } from '@fluentui-react-native/interactive-hooks';
|
|
7
7
|
|
|
8
8
|
import type { RadioGroupInfo, RadioGroupProps, RadioGroupState } from './RadioGroup.types';
|
package/tsconfig.json
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
{
|
|
12
12
|
"path": "../../utils/adapters/tsconfig.json"
|
|
13
13
|
},
|
|
14
|
+
{
|
|
15
|
+
"path": "../../agentic-design/tsconfig.json"
|
|
16
|
+
},
|
|
14
17
|
{
|
|
15
18
|
"path": "../FocusZone/tsconfig.json"
|
|
16
19
|
},
|
|
@@ -35,9 +38,6 @@
|
|
|
35
38
|
{
|
|
36
39
|
"path": "../Text/tsconfig.json"
|
|
37
40
|
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../theming/theme-tokens/tsconfig.json"
|
|
40
|
-
},
|
|
41
41
|
{
|
|
42
42
|
"path": "../../utils/tokens/tsconfig.json"
|
|
43
43
|
},
|