@fluentui-react-native/radio-group 0.22.1 → 0.22.4

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.
Files changed (191) hide show
  1. package/.cache/tsconfig.tsbuildinfo +1 -0
  2. package/CHANGELOG.md +67 -0
  3. package/jest.config.cjs +1 -0
  4. package/lib/Radio/Radio.d.ts.map +1 -1
  5. package/lib/Radio/Radio.ios.d.ts.map +1 -1
  6. package/lib/Radio/Radio.ios.js +2 -4
  7. package/lib/Radio/Radio.ios.js.map +1 -1
  8. package/lib/Radio/Radio.js +2 -4
  9. package/lib/Radio/Radio.js.map +1 -1
  10. package/lib/Radio/__tests__/RadioExperimental.test.js.map +1 -1
  11. package/lib/Radio/useRadio.d.ts.map +1 -1
  12. package/lib/Radio/useRadio.js +13 -11
  13. package/lib/Radio/useRadio.js.map +1 -1
  14. package/lib/Radio/useRadio.win32.d.ts.map +1 -1
  15. package/lib/Radio/useRadio.win32.js +37 -33
  16. package/lib/Radio/useRadio.win32.js.map +1 -1
  17. package/lib/RadioGroup/RadioGroup.d.ts.map +1 -1
  18. package/lib/RadioGroup/RadioGroup.js +1 -2
  19. package/lib/RadioGroup/RadioGroup.js.map +1 -1
  20. package/lib/RadioGroup/__tests__/RadioGroupExperimental.test.js +6 -18
  21. package/lib/RadioGroup/__tests__/RadioGroupExperimental.test.js.map +1 -1
  22. package/lib/RadioGroup/radioGroupContext.js +6 -6
  23. package/lib/RadioGroup/radioGroupContext.js.map +1 -1
  24. package/lib/RadioGroup/useRadioGroup.d.ts.map +1 -1
  25. package/lib/RadioGroup/useRadioGroup.js.map +1 -1
  26. package/lib/RadioGroup/useRadioGroupContextValue.d.ts +2 -1
  27. package/lib/RadioGroup/useRadioGroupContextValue.d.ts.map +1 -1
  28. package/lib/RadioGroup/useRadioGroupContextValue.js.map +1 -1
  29. package/lib/legacy/MacOSRadioButtonNativeComponent.d.ts.map +1 -1
  30. package/lib/legacy/RadioButton.d.ts.map +1 -1
  31. package/lib/legacy/RadioButton.js +14 -13
  32. package/lib/legacy/RadioButton.js.map +1 -1
  33. package/lib/legacy/RadioButton.macos.d.ts.map +1 -1
  34. package/lib/legacy/RadioButton.macos.js +10 -8
  35. package/lib/legacy/RadioButton.macos.js.map +1 -1
  36. package/lib/legacy/RadioButton.win32.d.ts.map +1 -1
  37. package/lib/legacy/RadioButton.win32.js +41 -39
  38. package/lib/legacy/RadioButton.win32.js.map +1 -1
  39. package/lib/legacy/RadioGroup.d.ts.map +1 -1
  40. package/lib/legacy/RadioGroup.js +7 -13
  41. package/lib/legacy/RadioGroup.js.map +1 -1
  42. package/lib/legacy/__tests__/RadioButton.test.js.map +1 -1
  43. package/lib/legacy/__tests__/RadioButtonGroup.test.js +2 -6
  44. package/lib/legacy/__tests__/RadioButtonGroup.test.js.map +1 -1
  45. package/package.json +33 -38
  46. package/src/Radio/useRadio.ts +13 -11
  47. package/src/Radio/useRadio.win32.ts +52 -32
  48. package/src/legacy/RadioButton.macos.tsx +10 -8
  49. package/src/legacy/RadioButton.tsx +13 -11
  50. package/src/legacy/RadioButton.win32.tsx +53 -36
  51. package/src/legacy/RadioGroup.tsx +4 -8
  52. package/tsconfig.json +53 -3
  53. package/babel.config.js +0 -1
  54. package/eslint.config.js +0 -3
  55. package/jest.config.js +0 -2
  56. package/lib-commonjs/Radio/Radio.d.ts +0 -13
  57. package/lib-commonjs/Radio/Radio.d.ts.map +0 -1
  58. package/lib-commonjs/Radio/Radio.ios.d.ts +0 -13
  59. package/lib-commonjs/Radio/Radio.ios.d.ts.map +0 -1
  60. package/lib-commonjs/Radio/Radio.ios.js +0 -55
  61. package/lib-commonjs/Radio/Radio.ios.js.map +0 -1
  62. package/lib-commonjs/Radio/Radio.js +0 -54
  63. package/lib-commonjs/Radio/Radio.js.map +0 -1
  64. package/lib-commonjs/Radio/Radio.styling.d.ts +0 -5
  65. package/lib-commonjs/Radio/Radio.styling.d.ts.map +0 -1
  66. package/lib-commonjs/Radio/Radio.styling.js +0 -98
  67. package/lib-commonjs/Radio/Radio.styling.js.map +0 -1
  68. package/lib-commonjs/Radio/Radio.types.d.ts +0 -186
  69. package/lib-commonjs/Radio/Radio.types.d.ts.map +0 -1
  70. package/lib-commonjs/Radio/Radio.types.js +0 -5
  71. package/lib-commonjs/Radio/Radio.types.js.map +0 -1
  72. package/lib-commonjs/Radio/RadioTokens.android.d.ts +0 -5
  73. package/lib-commonjs/Radio/RadioTokens.android.d.ts.map +0 -1
  74. package/lib-commonjs/Radio/RadioTokens.android.js +0 -53
  75. package/lib-commonjs/Radio/RadioTokens.android.js.map +0 -1
  76. package/lib-commonjs/Radio/RadioTokens.d.ts +0 -5
  77. package/lib-commonjs/Radio/RadioTokens.d.ts.map +0 -1
  78. package/lib-commonjs/Radio/RadioTokens.ios.d.ts +0 -5
  79. package/lib-commonjs/Radio/RadioTokens.ios.d.ts.map +0 -1
  80. package/lib-commonjs/Radio/RadioTokens.ios.js +0 -51
  81. package/lib-commonjs/Radio/RadioTokens.ios.js.map +0 -1
  82. package/lib-commonjs/Radio/RadioTokens.js +0 -88
  83. package/lib-commonjs/Radio/RadioTokens.js.map +0 -1
  84. package/lib-commonjs/Radio/RadioTokens.win32.d.ts +0 -5
  85. package/lib-commonjs/Radio/RadioTokens.win32.d.ts.map +0 -1
  86. package/lib-commonjs/Radio/RadioTokens.win32.js +0 -102
  87. package/lib-commonjs/Radio/RadioTokens.win32.js.map +0 -1
  88. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.d.ts +0 -2
  89. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.d.ts.map +0 -1
  90. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.js +0 -56
  91. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.js.map +0 -1
  92. package/lib-commonjs/Radio/useRadio.d.ts +0 -3
  93. package/lib-commonjs/Radio/useRadio.d.ts.map +0 -1
  94. package/lib-commonjs/Radio/useRadio.js +0 -119
  95. package/lib-commonjs/Radio/useRadio.js.map +0 -1
  96. package/lib-commonjs/Radio/useRadio.win32.d.ts +0 -3
  97. package/lib-commonjs/Radio/useRadio.win32.d.ts.map +0 -1
  98. package/lib-commonjs/Radio/useRadio.win32.js +0 -175
  99. package/lib-commonjs/Radio/useRadio.win32.js.map +0 -1
  100. package/lib-commonjs/RadioGroup/RadioGroup.d.ts +0 -12
  101. package/lib-commonjs/RadioGroup/RadioGroup.d.ts.map +0 -1
  102. package/lib-commonjs/RadioGroup/RadioGroup.js +0 -59
  103. package/lib-commonjs/RadioGroup/RadioGroup.js.map +0 -1
  104. package/lib-commonjs/RadioGroup/RadioGroup.styling.d.ts +0 -5
  105. package/lib-commonjs/RadioGroup/RadioGroup.styling.d.ts.map +0 -1
  106. package/lib-commonjs/RadioGroup/RadioGroup.styling.js +0 -52
  107. package/lib-commonjs/RadioGroup/RadioGroup.styling.js.map +0 -1
  108. package/lib-commonjs/RadioGroup/RadioGroup.types.d.ts +0 -134
  109. package/lib-commonjs/RadioGroup/RadioGroup.types.d.ts.map +0 -1
  110. package/lib-commonjs/RadioGroup/RadioGroup.types.js +0 -5
  111. package/lib-commonjs/RadioGroup/RadioGroup.types.js.map +0 -1
  112. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.d.ts +0 -3
  113. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.d.ts.map +0 -1
  114. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.js +0 -6
  115. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.js.map +0 -1
  116. package/lib-commonjs/RadioGroup/RadioGroupTokens.d.ts +0 -5
  117. package/lib-commonjs/RadioGroup/RadioGroupTokens.d.ts.map +0 -1
  118. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.d.ts +0 -2
  119. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.d.ts.map +0 -1
  120. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.js +0 -6
  121. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.js.map +0 -1
  122. package/lib-commonjs/RadioGroup/RadioGroupTokens.js +0 -19
  123. package/lib-commonjs/RadioGroup/RadioGroupTokens.js.map +0 -1
  124. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.d.ts +0 -5
  125. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.d.ts.map +0 -1
  126. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.js +0 -20
  127. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.js.map +0 -1
  128. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.d.ts +0 -2
  129. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.d.ts.map +0 -1
  130. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.js +0 -104
  131. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.js.map +0 -1
  132. package/lib-commonjs/RadioGroup/radioGroupContext.d.ts +0 -10
  133. package/lib-commonjs/RadioGroup/radioGroupContext.d.ts.map +0 -1
  134. package/lib-commonjs/RadioGroup/radioGroupContext.js +0 -59
  135. package/lib-commonjs/RadioGroup/radioGroupContext.js.map +0 -1
  136. package/lib-commonjs/RadioGroup/useRadioGroup.d.ts +0 -3
  137. package/lib-commonjs/RadioGroup/useRadioGroup.d.ts.map +0 -1
  138. package/lib-commonjs/RadioGroup/useRadioGroup.js +0 -108
  139. package/lib-commonjs/RadioGroup/useRadioGroup.js.map +0 -1
  140. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.d.ts +0 -3
  141. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.d.ts.map +0 -1
  142. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.js +0 -8
  143. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.js.map +0 -1
  144. package/lib-commonjs/index.d.ts +0 -18
  145. package/lib-commonjs/index.d.ts.map +0 -1
  146. package/lib-commonjs/index.js +0 -32
  147. package/lib-commonjs/index.js.map +0 -1
  148. package/lib-commonjs/legacy/MacOSRadioButtonNativeComponent.d.ts +0 -17
  149. package/lib-commonjs/legacy/MacOSRadioButtonNativeComponent.d.ts.map +0 -1
  150. package/lib-commonjs/legacy/MacOSRadioButtonNativeComponent.js +0 -13
  151. package/lib-commonjs/legacy/MacOSRadioButtonNativeComponent.js.map +0 -1
  152. package/lib-commonjs/legacy/RadioButton.d.ts +0 -4
  153. package/lib-commonjs/legacy/RadioButton.d.ts.map +0 -1
  154. package/lib-commonjs/legacy/RadioButton.js +0 -133
  155. package/lib-commonjs/legacy/RadioButton.js.map +0 -1
  156. package/lib-commonjs/legacy/RadioButton.macos.d.ts +0 -4
  157. package/lib-commonjs/legacy/RadioButton.macos.d.ts.map +0 -1
  158. package/lib-commonjs/legacy/RadioButton.macos.js +0 -104
  159. package/lib-commonjs/legacy/RadioButton.macos.js.map +0 -1
  160. package/lib-commonjs/legacy/RadioButton.settings.d.ts +0 -5
  161. package/lib-commonjs/legacy/RadioButton.settings.d.ts.map +0 -1
  162. package/lib-commonjs/legacy/RadioButton.settings.js +0 -98
  163. package/lib-commonjs/legacy/RadioButton.settings.js.map +0 -1
  164. package/lib-commonjs/legacy/RadioButton.types.d.ts +0 -62
  165. package/lib-commonjs/legacy/RadioButton.types.d.ts.map +0 -1
  166. package/lib-commonjs/legacy/RadioButton.types.js +0 -5
  167. package/lib-commonjs/legacy/RadioButton.types.js.map +0 -1
  168. package/lib-commonjs/legacy/RadioButton.win32.d.ts +0 -4
  169. package/lib-commonjs/legacy/RadioButton.win32.d.ts.map +0 -1
  170. package/lib-commonjs/legacy/RadioButton.win32.js +0 -188
  171. package/lib-commonjs/legacy/RadioButton.win32.js.map +0 -1
  172. package/lib-commonjs/legacy/RadioGroup.d.ts +0 -7
  173. package/lib-commonjs/legacy/RadioGroup.d.ts.map +0 -1
  174. package/lib-commonjs/legacy/RadioGroup.js +0 -139
  175. package/lib-commonjs/legacy/RadioGroup.js.map +0 -1
  176. package/lib-commonjs/legacy/RadioGroup.settings.d.ts +0 -4
  177. package/lib-commonjs/legacy/RadioGroup.settings.d.ts.map +0 -1
  178. package/lib-commonjs/legacy/RadioGroup.settings.js +0 -28
  179. package/lib-commonjs/legacy/RadioGroup.settings.js.map +0 -1
  180. package/lib-commonjs/legacy/RadioGroup.types.d.ts +0 -96
  181. package/lib-commonjs/legacy/RadioGroup.types.d.ts.map +0 -1
  182. package/lib-commonjs/legacy/RadioGroup.types.js +0 -5
  183. package/lib-commonjs/legacy/RadioGroup.types.js.map +0 -1
  184. package/lib-commonjs/legacy/__tests__/RadioButton.test.d.ts +0 -2
  185. package/lib-commonjs/legacy/__tests__/RadioButton.test.d.ts.map +0 -1
  186. package/lib-commonjs/legacy/__tests__/RadioButton.test.js +0 -49
  187. package/lib-commonjs/legacy/__tests__/RadioButton.test.js.map +0 -1
  188. package/lib-commonjs/legacy/__tests__/RadioButtonGroup.test.d.ts +0 -2
  189. package/lib-commonjs/legacy/__tests__/RadioButtonGroup.test.d.ts.map +0 -1
  190. package/lib-commonjs/legacy/__tests__/RadioButtonGroup.test.js +0 -61
  191. package/lib-commonjs/legacy/__tests__/RadioButtonGroup.test.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRadioGroup.js","sourceRoot":"","sources":["../../src/RadioGroup/useRadioGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,KAAK,kCAAc;AAI/B,gEAA2D;AAC3D,gFAAsF;AAI/E,MAAM,aAAa,GAAG,CAAC,KAAsB,EAAkB,EAAE,CAAC;IACvE,MAAM,EACJ,UAAU,EACV,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,EACL,kBAAkB,GACnB,GAAG,KAAK,CAAC;IAEV,8HAA8H;IAC9H,MAAM,IAAI,GAAG,IAAA,kCAAQ,EAAC,KAAK,IAAI,YAAY,IAAI,IAAI,EAAE,QAAQ,CAAC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YAAY;YAC/B,kBAAkB,EAAE,kBAAkB,IAAI,KAAK;YAC/C,kBAAkB,EAAE,qBAAqB,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,kBAAkB,CAAC;YAC7F,sBAAsB,EAAE,iBAAiB;YACzC,oBAAoB,EAAE,oBAAoB,IAAI,IAAI;SACnD;QACD,KAAK,EAAE;YACL,GAAG,KAAK;SACT;KACF,CAAC;AAAA,CACH,CAAC;AAtGW,QAAA,aAAa,GAAb,aAAa,CAsGxB;AAEF,MAAM,qBAAqB,GAAG,IAAA,mBAAO,EAAC,2BAA2B,CAAC,CAAC;AACnE,SAAS,2BAA2B,CAAC,QAAiB,EAAE,QAAiB,EAAE,kBAAuC,EAAE;IAClH,IAAI,kBAAkB,EAAE,CAAC;QACvB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,kBAAkB,EAAE,CAAC;IACvD,CAAC;IACD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;AAAA,CAC/B"}
@@ -1,3 +0,0 @@
1
- import type { RadioGroupState } from './RadioGroup.types';
2
- export declare const useRadioGroupContextValue: (state: RadioGroupState) => RadioGroupState;
3
- //# sourceMappingURL=useRadioGroupContextValue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRadioGroupContextValue.d.ts","sourceRoot":"","sources":["../../src/RadioGroup/useRadioGroupContextValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,yBAAyB,6CAErC,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useRadioGroupContextValue = void 0;
4
- const useRadioGroupContextValue = (state) => {
5
- return { ...state };
6
- };
7
- exports.useRadioGroupContextValue = useRadioGroupContextValue;
8
- //# sourceMappingURL=useRadioGroupContextValue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRadioGroupContextValue.js","sourceRoot":"","sources":["../../src/RadioGroup/useRadioGroupContextValue.ts"],"names":[],"mappings":";;;AAGO,MAAM,yBAAyB,GAAG,CAAC,KAAsB,EAA0B,EAAE,CAAC;IAC3F,OAAO,EAAE,GAAG,KAAK,EAAE,CAAC;AAAA,CACrB,CAAC;AAFW,QAAA,yBAAyB,GAAzB,yBAAyB,CAEpC"}
@@ -1,18 +0,0 @@
1
- export { RadioGroup as RadioGroupV1 } from './RadioGroup/RadioGroup';
2
- export type { RadioGroupInfo, RadioGroupProps, RadioGroupSlotProps, RadioGroupState, RadioGroupTokens, RadioGroupType, } from './RadioGroup/RadioGroup.types';
3
- export { radioGroupName as radioGroupNameV1 } from './RadioGroup/RadioGroup.types';
4
- export type { RadioGroupContextValue } from './RadioGroup/radioGroupContext';
5
- export { RadioGroupContext as RadioGroupContextV1, RadioGroupProvider, useRadioGroupContext } from './RadioGroup/radioGroupContext';
6
- export { useRadioGroup } from './RadioGroup/useRadioGroup';
7
- export { useRadioGroupContextValue } from './RadioGroup/useRadioGroupContextValue';
8
- export { Radio, radioLookup } from './Radio/Radio';
9
- export type { RadioProps, RadioSlotProps, RadioInfo, RadioTokens, RadioType } from './Radio/Radio.types';
10
- export { radioName } from './Radio/Radio.types';
11
- export { useRadio } from './Radio/useRadio';
12
- export { RadioButton } from './legacy/RadioButton';
13
- export { radioButtonName } from './legacy/RadioButton.types';
14
- export type { IRadioButtonProps, IRadioButtonRenderData, IRadioButtonSlotProps, IRadioButtonTokens, IRadioButtonType, } from './legacy/RadioButton.types';
15
- export { RadioGroup, RadioGroupContext } from './legacy/RadioGroup';
16
- export { radioGroupName } from './legacy/RadioGroup.types';
17
- export type { IRadioGroupContext, IRadioGroupProps, IRadioGroupRenderData, IRadioGroupSlotProps, IRadioGroupState, IRadioGroupTokens, IRadioGroupType, } from './legacy/RadioGroup.types';
18
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.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Ae,GAChB,MAAM,2BAA2B,CAAC"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.radioGroupName = exports.RadioGroupContext = exports.RadioGroup = exports.radioButtonName = exports.RadioButton = exports.useRadio = exports.radioName = exports.radioLookup = exports.Radio = exports.useRadioGroupContextValue = exports.useRadioGroup = exports.useRadioGroupContext = exports.RadioGroupProvider = exports.RadioGroupContextV1 = exports.radioGroupNameV1 = exports.RadioGroupV1 = void 0;
4
- const RadioGroup_1 = require("./RadioGroup/RadioGroup");
5
- Object.defineProperty(exports, "RadioGroupV1", { enumerable: true, get: function () { return RadioGroup_1.RadioGroup; } });
6
- const RadioGroup_types_1 = require("./RadioGroup/RadioGroup.types");
7
- Object.defineProperty(exports, "radioGroupNameV1", { enumerable: true, get: function () { return RadioGroup_types_1.radioGroupName; } });
8
- const radioGroupContext_1 = require("./RadioGroup/radioGroupContext");
9
- Object.defineProperty(exports, "RadioGroupContextV1", { enumerable: true, get: function () { return radioGroupContext_1.RadioGroupContext; } });
10
- Object.defineProperty(exports, "RadioGroupProvider", { enumerable: true, get: function () { return radioGroupContext_1.RadioGroupProvider; } });
11
- Object.defineProperty(exports, "useRadioGroupContext", { enumerable: true, get: function () { return radioGroupContext_1.useRadioGroupContext; } });
12
- const useRadioGroup_1 = require("./RadioGroup/useRadioGroup");
13
- Object.defineProperty(exports, "useRadioGroup", { enumerable: true, get: function () { return useRadioGroup_1.useRadioGroup; } });
14
- const useRadioGroupContextValue_1 = require("./RadioGroup/useRadioGroupContextValue");
15
- Object.defineProperty(exports, "useRadioGroupContextValue", { enumerable: true, get: function () { return useRadioGroupContextValue_1.useRadioGroupContextValue; } });
16
- const Radio_1 = require("./Radio/Radio");
17
- Object.defineProperty(exports, "Radio", { enumerable: true, get: function () { return Radio_1.Radio; } });
18
- Object.defineProperty(exports, "radioLookup", { enumerable: true, get: function () { return Radio_1.radioLookup; } });
19
- const Radio_types_1 = require("./Radio/Radio.types");
20
- Object.defineProperty(exports, "radioName", { enumerable: true, get: function () { return Radio_types_1.radioName; } });
21
- const useRadio_1 = require("./Radio/useRadio");
22
- Object.defineProperty(exports, "useRadio", { enumerable: true, get: function () { return useRadio_1.useRadio; } });
23
- const RadioButton_1 = require("./legacy/RadioButton");
24
- Object.defineProperty(exports, "RadioButton", { enumerable: true, get: function () { return RadioButton_1.RadioButton; } });
25
- const RadioButton_types_1 = require("./legacy/RadioButton.types");
26
- Object.defineProperty(exports, "radioButtonName", { enumerable: true, get: function () { return RadioButton_types_1.radioButtonName; } });
27
- const RadioGroup_2 = require("./legacy/RadioGroup");
28
- Object.defineProperty(exports, "RadioGroup", { enumerable: true, get: function () { return RadioGroup_2.RadioGroup; } });
29
- Object.defineProperty(exports, "RadioGroupContext", { enumerable: true, get: function () { return RadioGroup_2.RadioGroupContext; } });
30
- const RadioGroup_types_2 = require("./legacy/RadioGroup.types");
31
- Object.defineProperty(exports, "radioGroupName", { enumerable: true, get: function () { return RadioGroup_types_2.radioGroupName; } });
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,wDAAqE;AAA5D,0GAAA,UAAU,OAAgB;AASnC,oEAAmF;AAA1E,oHAAA,cAAc,OAAoB;AAE3C,sEAAoI;AAA3H,wHAAA,iBAAiB,OAAuB;AAAE,uHAAA,kBAAkB,OAAA;AAAE,yHAAA,oBAAoB,OAAA;AAC3F,8DAA2D;AAAlD,8GAAA,aAAa,OAAA;AACtB,sFAAmF;AAA1E,sIAAA,yBAAyB,OAAA;AAClC,yCAAmD;AAA1C,8FAAA,KAAK,OAAA;AAAE,oGAAA,WAAW,OAAA;AAE3B,qDAAgD;AAAvC,wGAAA,SAAS,OAAA;AAClB,+CAA4C;AAAnC,oGAAA,QAAQ,OAAA;AAEjB,sDAAmD;AAA1C,0GAAA,WAAW,OAAA;AACpB,kEAA6D;AAApD,oHAAA,eAAe,OAAA;AAQxB,oDAAoE;AAA3D,wGAAA,UAAU,OAAA;AAAE,+GAAA,iBAAiB,OAAA;AACtC,gEAA2D;AAAlD,kHAAA,cAAc,OAAA"}
@@ -1,17 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- * @format
6
- */
7
- var __importDefault = (this && this.__importDefault) || function (mod) {
8
- return (mod && mod.__esModule) ? mod : { "default": mod };
9
- };
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- const codegenNativeComponent_1 = __importDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
12
- exports.default = (0, codegenNativeComponent_1.default)('FRNRadioButtonView');
13
- //# sourceMappingURL=MacOSRadioButtonNativeComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MacOSRadioButtonNativeComponent.js","sourceRoot":"","sources":["../../src/legacy/MacOSRadioButtonNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAKH,qHAA6F;kBAU9E,IAAA,gCAAsB,EAAc,oBAAoB,CAA+B"}
@@ -1,4 +0,0 @@
1
- import type { IRadioButtonProps, IRadioButtonSlotProps } from './RadioButton.types';
2
- export declare const RadioButton: import("@uifabricshared/foundation-compose").IComposeReturnType<IRadioButtonProps, IRadioButtonSlotProps, import("./RadioButton.types").IRadioButtonTokens, object, object>;
3
- export default RadioButton;
4
- //# sourceMappingURL=RadioButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAoB,iBAAiB,EAAE,qBAAqB,EAA0B,MAAM,qBAAqB,CAAC;AAI9H,eAAO,MAAM,WAAW,6KAqHtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -1,133 +0,0 @@
1
- /** @jsxImportSource @fluentui-react-native/framework-base */
2
- 'use strict';
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.RadioButton = void 0;
38
- const jsx_runtime_1 = require("@fluentui-react-native/framework-base/jsx-runtime");
39
- const React = __importStar(require("react"));
40
- const react_native_1 = require("react-native");
41
- const adapters_1 = require("@fluentui-react-native/adapters");
42
- const interactive_hooks_1 = require("@fluentui-react-native/interactive-hooks");
43
- const text_1 = require("@fluentui-react-native/text");
44
- const tokens_1 = require("@fluentui-react-native/tokens");
45
- const foundation_compose_1 = require("@uifabricshared/foundation-compose");
46
- const foundation_settings_1 = require("@uifabricshared/foundation-settings");
47
- const RadioButton_settings_1 = require("./RadioButton.settings");
48
- const RadioButton_types_1 = require("./RadioButton.types");
49
- const RadioGroup_1 = require("./RadioGroup");
50
- exports.RadioButton = (0, foundation_compose_1.compose)({
51
- displayName: RadioButton_types_1.radioButtonName,
52
- usePrepareProps: (userProps, useStyling) => {
53
- const defaultComponentRef = React.useRef(null);
54
- const { content, buttonKey, disabled, accessibilityLabel, ariaLabel, componentRef = defaultComponentRef, accessibilityPosInSet, ariaPosInSet, accessibilitySetSize, ariaSetSize, ...rest } = userProps;
55
- // Grabs the context information from RadioGroup (currently selected button and client's onChange callback)
56
- const info = React.useContext(RadioGroup_1.RadioGroupContext);
57
- const buttonRef = (0, interactive_hooks_1.useViewCommandFocus)(componentRef);
58
- /* We don't want to call the user's onChange multiple times on the same selection. */
59
- const changeSelection = () => {
60
- if (buttonKey != info.selectedKey) {
61
- info.onChange && info.onChange(buttonKey);
62
- info.updateSelectedButtonRef && componentRef && info.updateSelectedButtonRef(componentRef);
63
- }
64
- };
65
- /* We use the componentRef of the currently selected button to maintain the default tabbable
66
- element in a RadioGroup. Since the componentRef isn't generated until after initial render,
67
- we must update it once here. */
68
- React.useEffect(() => {
69
- if (buttonKey == info.selectedKey) {
70
- info.updateSelectedButtonRef && componentRef && info.updateSelectedButtonRef(componentRef);
71
- }
72
- }, []);
73
- // Ensure focus is placed on button after click
74
- const changeSelectionWithFocus = (0, interactive_hooks_1.useOnPressWithFocus)(componentRef, changeSelection);
75
- /* RadioButton changes selection when focus is moved between each RadioButton and on a click */
76
- const pressable = (0, interactive_hooks_1.useAsPressable)({
77
- ...rest,
78
- onPress: changeSelectionWithFocus,
79
- onFocus: changeSelection,
80
- });
81
- // Used when creating accessibility properties in mergeSettings below
82
- const onAccessibilityAction = React.useCallback((event) => {
83
- switch (event.nativeEvent.actionName) {
84
- case 'Select':
85
- changeSelection();
86
- break;
87
- }
88
- }, [info, buttonKey]);
89
- const state = {
90
- ...pressable.state,
91
- selected: info.selectedKey === userProps.buttonKey,
92
- disabled: disabled || false,
93
- };
94
- // Grab the styling information from the userProps, referencing the state as well as the props.
95
- const styleProps = useStyling(userProps, (override) => state[override] || userProps[override]);
96
- const slotProps = (0, foundation_settings_1.mergeSettings)(styleProps, {
97
- root: {
98
- ...rest,
99
- ref: buttonRef,
100
- ...pressable.props,
101
- accessibilityRole: 'radio',
102
- accessibilityLabel: accessibilityLabel ?? ariaLabel ?? content,
103
- accessibilityState: { disabled: state.disabled, selected: state.selected },
104
- accessibilityActions: [{ name: 'Select', label: RadioButton_settings_1.radioButtonSelectActionLabel }],
105
- accessibilityPosInSet: accessibilityPosInSet ?? ariaPosInSet ?? info.buttonKeys.findIndex((x) => x == buttonKey) + 1,
106
- accessibilitySetSize: accessibilitySetSize ?? ariaSetSize ?? info.buttonKeys.length,
107
- focusable: !state.disabled,
108
- onAccessibilityAction: onAccessibilityAction,
109
- },
110
- content: { children: content },
111
- });
112
- return { slotProps };
113
- },
114
- render: (Slots, _renderData, ...children) => {
115
- return (jsx_runtime_1.jsxs(Slots.root, { children: [
116
- jsx_runtime_1.jsx(Slots.button, { children: jsx_runtime_1.jsx(Slots.innerCircle, {}) }), jsx_runtime_1.jsx(Slots.content, {}), children] }));
117
- },
118
- settings: RadioButton_settings_1.settings,
119
- slots: {
120
- root: react_native_1.View,
121
- button: { slotType: react_native_1.View, filter: adapters_1.filterViewProps },
122
- innerCircle: { slotType: react_native_1.View, filter: adapters_1.filterViewProps },
123
- content: text_1.Text,
124
- },
125
- styles: {
126
- root: [],
127
- button: [tokens_1.borderTokens],
128
- innerCircle: [tokens_1.backgroundColorTokens],
129
- content: [tokens_1.foregroundColorTokens, tokens_1.textTokens, [{ source: 'textBorderColor', lookup: tokens_1.getPaletteFromTheme, target: 'borderColor' }]],
130
- },
131
- });
132
- exports.default = exports.RadioButton;
133
- //# sourceMappingURL=RadioButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.js","sourceRoot":"","sources":["../../src/legacy/RadioButton.tsx"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACb,MAAY,KAAK,kCAAc;AAC/B,+CAAoC;AAEpC,8DAAkE;AAClE,gFAAoH;AACpH,sDAAmD;AACnD,0DAA4I;AAG5I,2EAA6D;AAC7D,6EAAoE;AAEpE,iEAAgF;AAEhF,2DAAsD;AACtD,6CAAiD;AAEpC,QAAA,WAAW,GAAG,IAAA,4BAAO,EAAmB;IACnD,WAAW,EAAE,mCAAe;IAE5B,eAAe,EAAE,CAAC,SAA4B,EAAE,UAAgD,EAAE,EAAE,CAAC;QACnG,MAAM,mBAAmB,GAAG,KAAK,CAAC,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AE,CAAC,KAAK,CAAC,QAAQ;gBAC1B,qBAAqB,EAAE,qBAAqB;aAC7C;YACD,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE;SAC/B,CAAC,CAAC;QAEH,OAAO,EAAE,SAAS,EAAE,CAAC;IAAA,CACtB;IAED,MAAM,EAAE,CAAC,KAAoC,EAAE,WAAmC,EAAE,GAAG,QAA2B,EAAE,EAAE,CAAC;QACrH,OAAO,CACL,mBAAC,KAAK,CAAC,IAAI;gBACT,kBAAC,KAAK,CAAC,MAAM,cACX,kBAAC,KAAK,CAAC,WAAW,KAAG,GACR,EACf,kBAAC,KAAK,CAAC,OAAO,KAAG,EAChB,QAAQ,IACE,CACd,CAAC;IAAA,CACH;IAED,QAAQ,EAAR,+BAAQ;IACR,KAAK,EAAE;QACL,IAAI,EAAE,mBAAI;QACV,MAAM,EAAE,EAAE,QAAQ,EAAE,mBAAI,EAAE,MAAM,EAAE,0BAAe,EAAE;QACnD,WAAW,EAAE,EAAE,QAAQ,EAAE,mBAAI,EAAE,MAAM,EAAE,0BAAe,EAAE;QACxD,OAAO,EAAE,WAAI;KACd;IACD,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,CAAC,qBAAY,CAAC;QACtB,WAAW,EAAE,CAAC,8BAAqB,CAAC;QACpC,OAAO,EAAE,CAAC,8BAAqB,EAAE,mBAAU,EAAE,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,4BAAmB,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;KAClI;CACF,CAAC,CAAC;kBAEY,QAAA,WAAW"}
@@ -1,4 +0,0 @@
1
- import type { IRadioButtonProps, IRadioButtonSlotProps } from './RadioButton.types';
2
- export declare const RadioButton: import("@uifabricshared/foundation-compose").IComposeReturnType<IRadioButtonProps, IRadioButtonSlotProps, import("./RadioButton.types").IRadioButtonTokens, object, object>;
3
- export default RadioButton;
4
- //# sourceMappingURL=RadioButton.macos.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.macos.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAoB,MAAM,qBAAqB,CAAC;AAItG,eAAO,MAAM,WAAW,6KAqDtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -1,104 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.RadioButton = void 0;
40
- const jsx_runtime_1 = require("@fluentui-react-native/framework-base/jsx-runtime");
41
- /**
42
- * Copyright (c) Microsoft Corporation.
43
- * Licensed under the MIT License.
44
- * @format
45
- */
46
- /** @jsxImportSource @fluentui-react-native/framework-base */
47
- const React = __importStar(require("react"));
48
- const foundation_compose_1 = require("@uifabricshared/foundation-compose");
49
- const foundation_settings_1 = require("@uifabricshared/foundation-settings");
50
- const MacOSRadioButtonNativeComponent_1 = __importDefault(require("./MacOSRadioButtonNativeComponent"));
51
- const RadioButton_types_1 = require("./RadioButton.types");
52
- const RadioGroup_1 = require("./RadioGroup");
53
- exports.RadioButton = (0, foundation_compose_1.compose)({
54
- displayName: RadioButton_types_1.radioButtonName,
55
- usePrepareProps: (userProps, useStyling) => {
56
- const defaultComponentRef = React.useRef(null);
57
- const { content, buttonKey, disabled, componentRef = defaultComponentRef } = userProps;
58
- const info = React.useContext(RadioGroup_1.RadioGroupContext);
59
- // Reroute the native component's onPress event to RadioGroup's onChange
60
- const onPressRerouted = () => {
61
- // Prevent calls to RadioGroup's onChange on the currently selected button
62
- if (buttonKey != info.selectedKey) {
63
- info.onChange && info.onChange(buttonKey);
64
- info.updateSelectedButtonRef && componentRef && info.updateSelectedButtonRef(componentRef);
65
- }
66
- };
67
- /* We use the componentRef of the currently selected button to maintain the default tabbable
68
- element in a RadioGroup. Since the componentRef isn't generated until after initial render,
69
- we must update it once here. */
70
- React.useEffect(() => {
71
- if (buttonKey === info.selectedKey) {
72
- info.updateSelectedButtonRef && componentRef && info.updateSelectedButtonRef(componentRef);
73
- }
74
- }, []);
75
- const styleProps = useStyling(userProps);
76
- const isSelected = info.selectedKey === buttonKey;
77
- const slotProps = (0, foundation_settings_1.mergeSettings)(styleProps, {
78
- root: {
79
- ref: componentRef,
80
- buttonKey: buttonKey,
81
- content: content,
82
- disabled: disabled,
83
- onPress: onPressRerouted,
84
- selected: isSelected,
85
- style: {
86
- minWidth: '100%',
87
- minHeight: 20,
88
- },
89
- },
90
- });
91
- return { slotProps };
92
- },
93
- slots: {
94
- root: MacOSRadioButtonNativeComponent_1.default,
95
- },
96
- styles: {
97
- root: [],
98
- },
99
- render: (Slots) => {
100
- return jsx_runtime_1.jsx(Slots.root, {});
101
- },
102
- });
103
- exports.default = exports.RadioButton;
104
- //# sourceMappingURL=RadioButton.macos.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.macos.js","sourceRoot":"","sources":["../../src/legacy/RadioButton.macos.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,6DAA6D;AAC7D,MAAY,KAAK,kCAAc;AAG/B,2EAA6D;AAE7D,6EAAoE;AAEpE,wGAAsE;AAEtE,2DAAsD;AACtD,6CAAiD;AAEpC,QAAA,WAAW,GAAG,IAAA,4BAAO,EAAmB;IACnD,WAAW,EAAE,mCAAe;IAC5B,eAAe,EAAE,CAAC,SAA4B,EAAE,UAAgD,EAAE,EAAE,CAAC;QACnG,MAAM,mBAAmB,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC/C,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAG,mBAAmB,EAAE,GAAG,SAAS,CAAC;QACvF,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,8BAAiB,CAAC,CAAC;QAEjD,wEAAwE;QACxE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC;YAC5B,0EAA0E;YAC1E,IAAI,SAAS,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;gBAClC,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;YAC7F,CAAC;QAAA,CACF,CAAC;QAEF;;uCAE+B;QAC/B,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;YACpB,IAAI,SAAS,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC;gBACnC,IAAI,CAAC,uBAAuB,IAAI,YAAY,IAAI,IAAI,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;YAC7F,CAAC;QAAA,CACF,EAAE,EAAE,CAAC,CAAC;QAEP,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC;QAClD,MAAM,SAAS,GAAG,IAAA,mCAAa,EAAwB,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,EAAE,CAAC;IAAA,CACtB;IACD,KAAK,EAAE;QACL,IAAI,EAAE,yCAAqB;KAC5B;IACD,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE,CAAC,KAAoC,EAAE,EAAE,CAAC;QAChD,OAAO,kBAAC,KAAK,CAAC,IAAI,KAAG,CAAC;IAAA,CACvB;CACF,CAAC,CAAC;kBAEY,QAAA,WAAW"}
@@ -1,5 +0,0 @@
1
- import type { IComposeSettings } from '@uifabricshared/foundation-compose';
2
- import type { IRadioButtonType } from './RadioButton.types';
3
- export declare const radioButtonSelectActionLabel = "Select a RadioButton";
4
- export declare const settings: IComposeSettings<IRadioButtonType>;
5
- //# sourceMappingURL=RadioButton.settings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.settings.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAS5D,eAAO,MAAM,4BAA4B,yBAAyB,CAAC;AAEnE,eAAO,MAAM,QAAQ,EAAE,gBAAgB,CAAC,gBAAgB,CAuFvD,CAAC"}
@@ -1,98 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.settings = exports.radioButtonSelectActionLabel = void 0;
4
- const RadioButton_types_1 = require("./RadioButton.types");
5
- const radioButtonSize = 20;
6
- const radioButtonRadius = radioButtonSize / 2;
7
- const radioButtonInnerCircleSize = 10;
8
- const radioButtonInnerCircleRadius = radioButtonInnerCircleSize / 2;
9
- exports.radioButtonSelectActionLabel = 'Select a RadioButton';
10
- exports.settings = [
11
- {
12
- tokens: {
13
- borderColor: 'menuItemText',
14
- color: 'menuItemText',
15
- backgroundColor: 'menuItemText',
16
- textBorderColor: 'transparent',
17
- },
18
- root: {
19
- accessible: true,
20
- focusable: true,
21
- accessibilityRole: 'radio',
22
- style: {
23
- display: 'flex',
24
- alignItems: 'center',
25
- flexDirection: 'row',
26
- minHeight: 20,
27
- marginTop: 0,
28
- position: 'relative',
29
- },
30
- },
31
- button: {
32
- style: {
33
- backgroundColor: 'transparent',
34
- width: radioButtonSize,
35
- height: radioButtonSize,
36
- top: 0,
37
- left: 0,
38
- borderWidth: 1,
39
- borderStyle: 'solid',
40
- borderRadius: radioButtonRadius,
41
- marginTop: 4,
42
- marginRight: 6,
43
- marginBottom: 6,
44
- marginLeft: 6,
45
- },
46
- },
47
- innerCircle: {
48
- style: {
49
- position: 'relative',
50
- opacity: 0,
51
- borderRadius: radioButtonInnerCircleRadius,
52
- height: radioButtonInnerCircleSize,
53
- width: radioButtonInnerCircleSize,
54
- left: 4,
55
- top: 4,
56
- },
57
- },
58
- content: {
59
- variant: 'subheaderStandard',
60
- style: {
61
- marginTop: 2,
62
- borderStyle: 'solid',
63
- borderWidth: 2,
64
- },
65
- },
66
- _precedence: ['disabled', 'hovered', 'focused', 'selected'],
67
- _overrides: {
68
- selected: {
69
- innerCircle: {
70
- style: {
71
- opacity: 1,
72
- },
73
- },
74
- },
75
- focused: {
76
- tokens: {
77
- textBorderColor: 'focusBorder',
78
- },
79
- },
80
- hovered: {
81
- innerCircle: {
82
- style: {
83
- opacity: 0.5,
84
- },
85
- },
86
- },
87
- disabled: {
88
- tokens: {
89
- borderColor: 'buttonBorderDisabled',
90
- color: 'disabledBodyText',
91
- backgroundColor: 'background',
92
- },
93
- },
94
- },
95
- },
96
- RadioButton_types_1.radioButtonName,
97
- ];
98
- //# sourceMappingURL=RadioButton.settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.settings.js","sourceRoot":"","sources":["../../src/legacy/RadioButton.settings.ts"],"names":[],"mappings":";;;AAGA,2DAAsD;AAEtD,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,iBAAiB,GAAG,eAAe,GAAG,CAAC,CAAC;AAE9C,MAAM,0BAA0B,GAAG,EAAE,CAAC;AACtC,MAAM,4BAA4B,GAAG,0BAA0B,GAAG,CAAC,CAAC;AAEvD,QAAA,4BAA4B,GAAG,sBAAsB,CAAC;AAEtD,QAAA,QAAQ,GAAuC;IAC1D;QACE,MAAM,EAAE;YACN,WAAW,EAAE,cAAc;YAC3B,KAAK,EAAE,cAAc;YACrB,eAAe,EAAE,cAAc;YAC/B,eAAe,EAAE,aAAa;SAC/B;QACD,IAAI,EAAE;YACJ,UAAU,EAAE,IAAI;YAChB,SAAS,EAAE,IAAI;YACf,iBAAiB,EAAE,OAAO;YAC1B,KAAK,EAAE;gBACL,OAAO,EAAE,MAAM;gBACf,UAAU,EAAE,QAAQ;gBACpB,aAAa,EAAE,KAAK;gBACpB,SAAS,EAAE,EAAE;gBACb,SAAS,EAAE,CAAC;gBACZ,QAAQ,EAAE,UAAU;aACrB;SACF;QACD,MAAM,EAAE;YACN,KAAK,EAAE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react';
2
- import type { ViewProps } from 'react-native';
3
- import type { IFocusable } from '@fluentui-react-native/interactive-hooks';
4
- import type { IPressableProps } from '@fluentui-react-native/pressable';
5
- import type { ITextProps } from '@fluentui-react-native/text';
6
- import type { FontTokens, IForegroundColorTokens, IBackgroundColorTokens, IBorderTokens } from '@fluentui-react-native/tokens';
7
- import type { IRenderData } from '@uifabricshared/foundation-composable';
8
- import type { IViewProps } from '@fluentui-react-native/adapters';
9
- export declare const radioButtonName = "RadioButton";
10
- export interface IRadioButtonProps extends IPressableProps {
11
- /**
12
- * The text string for the option
13
- */
14
- content: string;
15
- /**
16
- * A unique key-identifier for each option
17
- */
18
- buttonKey: string;
19
- /**
20
- * Whether or not the radio button is selectable
21
- */
22
- disabled?: boolean;
23
- /**
24
- * An optional string for the Narrator to read for each RadioButton. If not provided, this will be set to the button's content.
25
- * @deprecated Use accessibilityLabel instead.
26
- */
27
- ariaLabel?: string;
28
- /**
29
- * Defines the current radio button's position in the radio group for accessibility purposes. It's recommended to set this value
30
- * if radio buttons are not direct children of radio group. This value is auto-generated if radio buttons are direct children of
31
- * radio group.
32
- * @deprecated Use accessibilityPosInSet instead.
33
- */
34
- ariaPosInSet?: number;
35
- /**
36
- * Defines the number of radio buttons in the group for accessibility purposes.It's recommended to set this value if radio
37
- * buttons are not direct children of radio group. This value is auto-generated if radio buttons are direct children of
38
- * radio group.
39
- * @deprecated Use accessibilitySetSize instead.
40
- */
41
- ariaSetSize?: number;
42
- /**
43
- * A RefObject to access the IFocusable interface. Use this to access the public methods and properties of the component.
44
- */
45
- componentRef?: React.RefObject<IFocusable>;
46
- }
47
- export interface IRadioButtonTokens extends FontTokens, IForegroundColorTokens, IBackgroundColorTokens, IBorderTokens {
48
- textBorderColor?: string;
49
- }
50
- export interface IRadioButtonSlotProps {
51
- root: React.PropsWithRef<IViewProps>;
52
- button: ViewProps;
53
- innerCircle: ViewProps;
54
- content: ITextProps;
55
- }
56
- export type IRadioButtonRenderData = IRenderData<IRadioButtonSlotProps>;
57
- export interface IRadioButtonType {
58
- props: IRadioButtonProps;
59
- tokens: IRadioButtonTokens;
60
- slotProps: IRadioButtonSlotProps;
61
- }
62
- //# sourceMappingURL=RadioButton.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.types.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC/H,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAElE,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,kBAAmB,SAAQ,UAAU,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,aAAa;IACnH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;IACrC,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,SAAS,CAAC;IACvB,OAAO,EAAE,UAAU,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,qBAAqB,CAAC,CAAC;AAExE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,iBAAiB,CAAC;IACzB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,SAAS,EAAE,qBAAqB,CAAC;CAClC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.radioButtonName = void 0;
4
- exports.radioButtonName = 'RadioButton';
5
- //# sourceMappingURL=RadioButton.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.types.js","sourceRoot":"","sources":["../../src/legacy/RadioButton.types.ts"],"names":[],"mappings":";;;AAUa,QAAA,eAAe,GAAG,aAAa,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { IRadioButtonProps, IRadioButtonSlotProps } from './RadioButton.types';
2
- export declare const RadioButton: import("@uifabricshared/foundation-compose").IComposeReturnType<IRadioButtonProps, IRadioButtonSlotProps, import("./RadioButton.types").IRadioButtonTokens, object, object>;
3
- export default RadioButton;
4
- //# sourceMappingURL=RadioButton.win32.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton.win32.d.ts","sourceRoot":"","sources":["../../src/legacy/RadioButton.win32.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAoB,iBAAiB,EAAE,qBAAqB,EAA0B,MAAM,qBAAqB,CAAC;AAW9H,eAAO,MAAM,WAAW,6KAgLtB,CAAC;AAEH,eAAe,WAAW,CAAC"}