@fluentui-react-native/radio-group 0.20.15 → 0.20.17

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/CHANGELOG.json CHANGED
@@ -2,7 +2,37 @@
2
2
  "name": "@fluentui-react-native/radio-group",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 15 Mar 2024 16:21:21 GMT",
5
+ "date": "Fri, 29 Mar 2024 18:05:03 GMT",
6
+ "version": "0.20.17",
7
+ "tag": "@fluentui-react-native/radio-group_v0.20.17",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "30809111+acoates-ms@users.noreply.github.com",
12
+ "package": "@fluentui-react-native/radio-group",
13
+ "commit": "a722aa94799f4afee55baa03a5a754b0d4b2fdce",
14
+ "comment": "Use codegenNativeComponent so JS View configs can be generated for all native components"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 18 Mar 2024 23:41:59 GMT",
21
+ "version": "0.20.16",
22
+ "tag": "@fluentui-react-native/radio-group_v0.20.16",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "30809111+acoates-ms@users.noreply.github.com",
27
+ "package": "@fluentui-react-native/radio-group",
28
+ "commit": "2987dfe69a815b118981b62ed49a41ea00705496",
29
+ "comment": "Remove usages of react-native-win32 from non win32 overrides"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Fri, 15 Mar 2024 16:26:20 GMT",
6
36
  "version": "0.20.15",
7
37
  "tag": "@fluentui-react-native/radio-group_v0.20.15",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @fluentui-react-native/radio-group
2
2
 
3
- This log was last generated on Fri, 15 Mar 2024 16:21:21 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 29 Mar 2024 18:05:03 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.20.17
8
+
9
+ Fri, 29 Mar 2024 18:05:03 GMT
10
+
11
+ ### Patches
12
+
13
+ - Use codegenNativeComponent so JS View configs can be generated for all native components (30809111+acoates-ms@users.noreply.github.com)
14
+
15
+ ## 0.20.16
16
+
17
+ Mon, 18 Mar 2024 23:41:59 GMT
18
+
19
+ ### Patches
20
+
21
+ - Remove usages of react-native-win32 from non win32 overrides (30809111+acoates-ms@users.noreply.github.com)
22
+
7
23
  ## 0.20.15
8
24
 
9
- Fri, 15 Mar 2024 16:21:21 GMT
25
+ Fri, 15 Mar 2024 16:26:20 GMT
10
26
 
11
27
  ### Patches
12
28
 
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
6
+ import type { HostComponent, ViewProps } from 'react-native';
7
+ import type { BubblingEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
8
+ export interface NativeProps extends ViewProps {
9
+ content?: string;
10
+ disabled?: boolean;
11
+ buttonKey?: string;
12
+ selected?: boolean;
13
+ onPress?: BubblingEventHandler<null>;
14
+ }
15
+ declare const _default: HostComponent<NativeProps>;
16
+ export default _default;
17
+ //# sourceMappingURL=MacOSRadioButtonNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MacOSRadioButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../src/legacy/MacOSRadioButtonNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAGtF,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;CACtC;;AAED,wBAAuG"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
6
+ import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
7
+ export default codegenNativeComponent('FRNRadioButtonView');
8
+ //# sourceMappingURL=MacOSRadioButtonNativeComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MacOSRadioButtonNativeComponent.js","sourceRoot":"","sources":["../../src/legacy/MacOSRadioButtonNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAU7F,eAAe,sBAAsB,CAAc,oBAAoB,CAA+B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.macos.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAoB,MAAM,qBAAqB,CAAC;AAMtG,eAAO,MAAM,WAAW,6KAqDtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"RadioButton.macos.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAoB,MAAM,qBAAqB,CAAC;AAItG,eAAO,MAAM,WAAW,6KAqDtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -1,13 +1,17 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
1
6
  /** @jsxRuntime classic */
2
7
  /** @jsx withSlots */
3
8
  import * as React from 'react';
4
- import { ensureNativeComponent } from '@fluentui-react-native/component-cache';
5
9
  import { withSlots } from '@uifabricshared/foundation-composable';
6
10
  import { compose } from '@uifabricshared/foundation-compose';
7
11
  import { mergeSettings } from '@uifabricshared/foundation-settings';
12
+ import NativeRadioButtonView from './MacOSRadioButtonNativeComponent';
8
13
  import { radioButtonName } from './RadioButton.types';
9
14
  import { RadioGroupContext } from './RadioGroup';
10
- var NativeRadioButtonView = ensureNativeComponent('FRNRadioButtonView');
11
15
  export var RadioButton = compose({
12
16
  displayName: radioButtonName,
13
17
  usePrepareProps: function (userProps, useStyling) {
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.macos.js","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":"AAAA,0BAA0B;AAC1B,qBAAqB;AACrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGpE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,IAAM,qBAAqB,GAAG,qBAAqB,CAAC,oBAAoB,CAAC,CAAC;AAE1E,MAAM,CAAC,IAAM,WAAW,GAAG,OAAO,CAAmB;IACnD,WAAW,EAAE,eAAe;IAC5B,eAAe,EAAE,UAAC,SAA4B,EAAE,UAAgD;QAC9F,IAAM,mBAAmB,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvC,IAAA,OAAO,GAA8D,SAAS,QAAvE,EAAE,SAAS,GAAmD,SAAS,UAA5D,EAAE,QAAQ,GAAyC,SAAS,SAAlD,EAAE,KAAuC,SAAS,aAAd,EAAlC,YAAY,mBAAG,mBAAmB,KAAA,CAAe;QACvF,IAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,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/B,KAAK,CAAC,SAAS,CAAC;YACd,IAAI,SAAS,KAAK,IAAI,CAAC,WAAW,EAAE;gBAClC,IAAI,CAAC,uBAAuB,IAAI,YAAY,IAAI,IAAI,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;aAC5F;QACH,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,IAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;QACzC,IAAM,UAAU,GAAG,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC;QAClD,IAAM,SAAS,GAAG,aAAa,CAAwB,UAAU,EAAE;YACjE,IAAI,EAAE;gBACJ,GAAG,EAAE,YAAY;gBACjB,SAAS,EAAE,SAAS;gBACpB,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,QAAQ;gBAClB,OAAO,EAAE,eAAe;gBACxB,QAAQ,EAAE,UAAU;gBACpB,KAAK,EAAE;oBACL,QAAQ,EAAE,MAAM;oBAChB,SAAS,EAAE,EAAE;iBACd;aACF;SACF,CAAC,CAAC;QAEH,OAAO,EAAE,SAAS,WAAA,EAAE,CAAC;IACvB,CAAC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,qBAAqB;KAC5B;IACD,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE,UAAC,KAAoC;QAC3C,OAAO,UAAC,KAAK,CAAC,IAAI,OAAG,CAAC;IACxB,CAAC;CACF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type * as React from 'react';
2
+ import type { ViewProps } from 'react-native';
2
3
  import type { FocusZoneProps } from '@fluentui-react-native/focus-zone';
3
4
  import type { ITextProps } from '@fluentui-react-native/text';
4
5
  import type { IForegroundColorTokens, FontTokens } from '@fluentui-react-native/tokens';
5
- import type { IViewWin32Props } from '@office-iss/react-native-win32';
6
6
  import type { IRenderData } from '@uifabricshared/foundation-composable';
7
7
  export declare const radioGroupName = "RadioGroup";
8
8
  export interface IRadioGroupContext {
@@ -82,7 +82,7 @@ export type IRadioGroupProps = React.PropsWithChildren<{
82
82
  export interface IRadioGroupTokens extends IForegroundColorTokens, FontTokens {
83
83
  }
84
84
  export interface IRadioGroupSlotProps {
85
- root: React.PropsWithRef<IViewWin32Props>;
85
+ root: React.PropsWithRef<ViewProps>;
86
86
  label: ITextProps;
87
87
  container: FocusZoneProps;
88
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.types.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AACxF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,eAAO,MAAM,cAAc,eAAe,CAAC;AAE3C,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IAE9D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE/C;;;OAGG;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ACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,kBAAkB,CAAC;CAC7B;AAED,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACrD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAEjC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH,MAAM,WAAW,iBAAkB,SAAQ,sBAAsB,EAAE,UAAU;CAAG;AAEhF,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IACpC,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;AAExF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,SAAS,EAAE,oBAAoB,CAAC;IAChC,KAAK,EAAE,gBAAgB,CAAC;CACzB"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
6
+ import type { HostComponent, ViewProps } from 'react-native';
7
+ import type { BubblingEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
8
+ export interface NativeProps extends ViewProps {
9
+ content?: string;
10
+ disabled?: boolean;
11
+ buttonKey?: string;
12
+ selected?: boolean;
13
+ onPress?: BubblingEventHandler<null>;
14
+ }
15
+ declare const _default: HostComponent<NativeProps>;
16
+ export default _default;
17
+ //# sourceMappingURL=MacOSRadioButtonNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MacOSRadioButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../src/legacy/MacOSRadioButtonNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAGtF,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;CACtC;;AAED,wBAAuG"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ * @format
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ var tslib_1 = require("tslib");
9
+ var codegenNativeComponent_1 = tslib_1.__importDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
10
+ exports.default = (0, codegenNativeComponent_1.default)('FRNRadioButtonView');
11
+ //# sourceMappingURL=MacOSRadioButtonNativeComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MacOSRadioButtonNativeComponent.js","sourceRoot":"","sources":["../../src/legacy/MacOSRadioButtonNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAKH,2HAA6F;AAU7F,kBAAe,IAAA,gCAAsB,EAAc,oBAAoB,CAA+B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.macos.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAoB,MAAM,qBAAqB,CAAC;AAMtG,eAAO,MAAM,WAAW,6KAqDtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"RadioButton.macos.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAoB,MAAM,qBAAqB,CAAC;AAItG,eAAO,MAAM,WAAW,6KAqDtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -2,16 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RadioButton = void 0;
4
4
  var tslib_1 = require("tslib");
5
+ /**
6
+ * Copyright (c) Microsoft Corporation.
7
+ * Licensed under the MIT License.
8
+ * @format
9
+ */
5
10
  /** @jsxRuntime classic */
6
11
  /** @jsx withSlots */
7
12
  var React = tslib_1.__importStar(require("react"));
8
- var component_cache_1 = require("@fluentui-react-native/component-cache");
9
13
  var foundation_composable_1 = require("@uifabricshared/foundation-composable");
10
14
  var foundation_compose_1 = require("@uifabricshared/foundation-compose");
11
15
  var foundation_settings_1 = require("@uifabricshared/foundation-settings");
16
+ var MacOSRadioButtonNativeComponent_1 = tslib_1.__importDefault(require("./MacOSRadioButtonNativeComponent"));
12
17
  var RadioButton_types_1 = require("./RadioButton.types");
13
18
  var RadioGroup_1 = require("./RadioGroup");
14
- var NativeRadioButtonView = (0, component_cache_1.ensureNativeComponent)('FRNRadioButtonView');
15
19
  exports.RadioButton = (0, foundation_compose_1.compose)({
16
20
  displayName: RadioButton_types_1.radioButtonName,
17
21
  usePrepareProps: function (userProps, useStyling) {
@@ -53,7 +57,7 @@ exports.RadioButton = (0, foundation_compose_1.compose)({
53
57
  return { slotProps: slotProps };
54
58
  },
55
59
  slots: {
56
- root: NativeRadioButtonView,
60
+ root: MacOSRadioButtonNativeComponent_1.default,
57
61
  },
58
62
  styles: {
59
63
  root: [],
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.macos.js","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":";;;;AAAA,0BAA0B;AAC1B,qBAAqB;AACrB,mDAA+B;AAE/B,0EAA+E;AAE/E,+EAAkE;AAClE,yEAA6D;AAE7D,2EAAoE;AAGpE,yDAAsD;AACtD,2CAAiD;AAEjD,IAAM,qBAAqB,GAAG,IAAA,uCAAqB,EAAC,oBAAoB,CAAC,CAAC;AAE7D,QAAA,WAAW,GAAG,IAAA,4BAAO,EAAmB;IACnD,WAAW,EAAE,mCAAe;IAC5B,eAAe,EAAE,UAAC,SAA4B,EAAE,UAAgD;QAC9F,IAAM,mBAAmB,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvC,IAAA,OAAO,GAA8D,SAAS,QAAvE,EAAE,SAAS,GAAmD,SAAS,UAA5D,EAAE,QAAQ,GAAyC,SAAS,SAAlD,EAAE,KAAuC,SAAS,aAAd,EAAlC,YAAY,mBAAG,mBAAmB,KAAA,CAAe;QACvF,IAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,8BAAiB,CAAC,CAAC;QAEjD,wEAAwE;QACxE,IAAM,eAAe,GAAG;YACtB,0EAA0E;YAC1E,IAAI,SAAS,IAAI,IAAI,CAAC,WAAW,EAAE;gBACjC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBAC1C,IAAI,CAAC,uBAAuB,IAAI,YAAY,IAAI,IAAI,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;aAC5F;QACH,CAAC,CAAC;QAEF;;uCAE+B;QAC/B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BACpB,KAAK,EAAE;oBACL,QAAQ,EAAE,MAAM;oBAChB,SAAS,EAAE,EAAE;iBACd;aACF;SACF,CAAC,CAAC;QAEH,OAAO,EAAE,SAAS,WAAA,EAAE,CAAC;IACvB,CAAC;IACD,KAAK,EAAE;QACL,IAAI,EAAE,yCAAqB;KAC5B;IACD,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE,UAAC,KAAoC;QAC3C,OAAO,uCAAC,KAAK,CAAC,IAAI,OAAG,CAAC;IACxB,CAAC;CACF,CAAC,CAAC;AAEH,kBAAe,mBAAW,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type * as React from 'react';
2
+ import type { ViewProps } from 'react-native';
2
3
  import type { FocusZoneProps } from '@fluentui-react-native/focus-zone';
3
4
  import type { ITextProps } from '@fluentui-react-native/text';
4
5
  import type { IForegroundColorTokens, FontTokens } from '@fluentui-react-native/tokens';
5
- import type { IViewWin32Props } from '@office-iss/react-native-win32';
6
6
  import type { IRenderData } from '@uifabricshared/foundation-composable';
7
7
  export declare const radioGroupName = "RadioGroup";
8
8
  export interface IRadioGroupContext {
@@ -82,7 +82,7 @@ export type IRadioGroupProps = React.PropsWithChildren<{
82
82
  export interface IRadioGroupTokens extends IForegroundColorTokens, FontTokens {
83
83
  }
84
84
  export interface IRadioGroupSlotProps {
85
- root: React.PropsWithRef<IViewWin32Props>;
85
+ root: React.PropsWithRef<ViewProps>;
86
86
  label: ITextProps;
87
87
  container: FocusZoneProps;
88
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.types.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,sBA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AAK,IAAI,CAAC;IAEjC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH,MAAM,WAAW,iBAAkB,SAAQ,sBAAsB,EAAE,UAAU;CAAG;AAEhF,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IACpC,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;AAExF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,SAAS,EAAE,oBAAoB,CAAC;IAChC,KAAK,EAAE,gBAAgB,CAAC;CACzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/radio-group",
3
- "version": "0.20.15",
3
+ "version": "0.20.17",
4
4
  "description": "A cross-platform Radio Group component using the Fluent Design System",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -22,18 +22,17 @@
22
22
  "directory": "packages/components/RadioGroup"
23
23
  },
24
24
  "dependencies": {
25
- "@fluentui-react-native/adapters": "0.12.2",
26
- "@fluentui-react-native/component-cache": "1.6.1",
27
- "@fluentui-react-native/focus-zone": "0.16.13",
28
- "@fluentui-react-native/framework": "0.13.9",
29
- "@fluentui-react-native/interactive-hooks": "0.26.3",
30
- "@fluentui-react-native/pressable": "0.11.13",
31
- "@fluentui-react-native/text": "0.22.13",
25
+ "@fluentui-react-native/adapters": "0.12.3",
26
+ "@fluentui-react-native/focus-zone": "0.16.15",
27
+ "@fluentui-react-native/framework": "0.13.10",
28
+ "@fluentui-react-native/interactive-hooks": "0.26.4",
29
+ "@fluentui-react-native/pressable": "0.11.14",
30
+ "@fluentui-react-native/text": "0.22.14",
32
31
  "@fluentui-react-native/theme-tokens": "0.26.7",
33
- "@fluentui-react-native/tokens": "0.22.8",
32
+ "@fluentui-react-native/tokens": "0.22.9",
34
33
  "@fluentui-react-native/use-styling": "0.12.1",
35
34
  "@uifabricshared/foundation-composable": "0.12.5",
36
- "@uifabricshared/foundation-compose": "1.14.24",
35
+ "@uifabricshared/foundation-compose": "1.14.25",
37
36
  "@uifabricshared/foundation-settings": "0.14.1",
38
37
  "tslib": "^2.3.1"
39
38
  },
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
6
+
7
+ import type { HostComponent, ViewProps } from 'react-native';
8
+
9
+ import type { BubblingEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
10
+ import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
11
+
12
+ export interface NativeProps extends ViewProps {
13
+ content?: string;
14
+ disabled?: boolean;
15
+ buttonKey?: string;
16
+ selected?: boolean;
17
+ onPress?: BubblingEventHandler<null>;
18
+ }
19
+
20
+ export default codegenNativeComponent<NativeProps>('FRNRadioButtonView') as HostComponent<NativeProps>;
@@ -1,20 +1,23 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
1
6
  /** @jsxRuntime classic */
2
7
  /** @jsx withSlots */
3
8
  import * as React from 'react';
4
9
 
5
- import { ensureNativeComponent } from '@fluentui-react-native/component-cache';
6
10
  import type { ISlots } from '@uifabricshared/foundation-composable';
7
11
  import { withSlots } from '@uifabricshared/foundation-composable';
8
12
  import { compose } from '@uifabricshared/foundation-compose';
9
13
  import type { IUseComposeStyling } from '@uifabricshared/foundation-compose';
10
14
  import { mergeSettings } from '@uifabricshared/foundation-settings';
11
15
 
16
+ import NativeRadioButtonView from './MacOSRadioButtonNativeComponent';
12
17
  import type { IRadioButtonProps, IRadioButtonSlotProps, IRadioButtonType } from './RadioButton.types';
13
18
  import { radioButtonName } from './RadioButton.types';
14
19
  import { RadioGroupContext } from './RadioGroup';
15
20
 
16
- const NativeRadioButtonView = ensureNativeComponent('FRNRadioButtonView');
17
-
18
21
  export const RadioButton = compose<IRadioButtonType>({
19
22
  displayName: radioButtonName,
20
23
  usePrepareProps: (userProps: IRadioButtonProps, useStyling: IUseComposeStyling<IRadioButtonType>) => {
@@ -1,9 +1,9 @@
1
1
  import type * as React from 'react';
2
+ import type { ViewProps } from 'react-native';
2
3
 
3
4
  import type { FocusZoneProps } from '@fluentui-react-native/focus-zone';
4
5
  import type { ITextProps } from '@fluentui-react-native/text';
5
6
  import type { IForegroundColorTokens, FontTokens } from '@fluentui-react-native/tokens';
6
- import type { IViewWin32Props } from '@office-iss/react-native-win32';
7
7
  import type { IRenderData } from '@uifabricshared/foundation-composable';
8
8
 
9
9
  export const radioGroupName = 'RadioGroup';
@@ -105,7 +105,7 @@ export type IRadioGroupProps = React.PropsWithChildren<{
105
105
  export interface IRadioGroupTokens extends IForegroundColorTokens, FontTokens {}
106
106
 
107
107
  export interface IRadioGroupSlotProps {
108
- root: React.PropsWithRef<IViewWin32Props>;
108
+ root: React.PropsWithRef<ViewProps>;
109
109
  label: ITextProps;
110
110
  container: FocusZoneProps;
111
111
  }