@fluentui/react-radio 0.0.0-nightly-20230306-0424.1 → 0.0.0-nightly-20230308-0418.1

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,9 +2,9 @@
2
2
  "name": "@fluentui/react-radio",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 06 Mar 2023 04:33:03 GMT",
6
- "tag": "@fluentui/react-radio_v0.0.0-nightly-20230306-0424.1",
7
- "version": "0.0.0-nightly-20230306-0424.1",
5
+ "date": "Wed, 08 Mar 2023 04:25:07 GMT",
6
+ "tag": "@fluentui/react-radio_v0.0.0-nightly-20230308-0418.1",
7
+ "version": "0.0.0-nightly-20230308-0418.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -16,44 +16,50 @@
16
16
  {
17
17
  "author": "beachball",
18
18
  "package": "@fluentui/react-radio",
19
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20230306-0424.1",
20
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
19
+ "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly-20230308-0418.1",
20
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
21
21
  },
22
22
  {
23
23
  "author": "beachball",
24
24
  "package": "@fluentui/react-radio",
25
- "comment": "Bump @fluentui/react-field to v0.0.0-nightly-20230306-0424.1",
26
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
25
+ "comment": "Bump @fluentui/react-field to v0.0.0-nightly-20230308-0418.1",
26
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-radio",
31
- "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20230306-0424.1",
32
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
31
+ "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20230308-0418.1",
32
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
33
33
  },
34
34
  {
35
35
  "author": "beachball",
36
36
  "package": "@fluentui/react-radio",
37
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20230306-0424.1",
38
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
37
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230308-0418.1",
38
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
39
39
  },
40
40
  {
41
41
  "author": "beachball",
42
42
  "package": "@fluentui/react-radio",
43
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230306-0424.1",
44
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
43
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20230308-0418.1",
44
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
45
45
  },
46
46
  {
47
47
  "author": "beachball",
48
48
  "package": "@fluentui/react-radio",
49
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230306-0424.1",
50
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
49
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230308-0418.1",
50
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
51
51
  },
52
52
  {
53
53
  "author": "beachball",
54
54
  "package": "@fluentui/react-radio",
55
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230306-0424.1",
56
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
55
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230308-0418.1",
56
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@fluentui/react-radio",
61
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230308-0418.1",
62
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
57
63
  }
58
64
  ]
59
65
  }
package/CHANGELOG.md CHANGED
@@ -1,24 +1,25 @@
1
1
  # Change Log - @fluentui/react-radio
2
2
 
3
- This log was last generated on Mon, 06 Mar 2023 04:33:03 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 Mar 2023 04:25:07 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20230306-0424.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v0.0.0-nightly-20230306-0424.1)
7
+ ## [0.0.0-nightly-20230308-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v0.0.0-nightly-20230308-0418.1)
8
8
 
9
- Mon, 06 Mar 2023 04:33:03 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.26..@fluentui/react-radio_v0.0.0-nightly-20230306-0424.1)
9
+ Wed, 08 Mar 2023 04:25:07 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.26..@fluentui/react-radio_v0.0.0-nightly-20230308-0418.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
- - Bump @fluentui/react-context-selector to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
16
- - Bump @fluentui/react-field to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
17
- - Bump @fluentui/react-label to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
18
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
19
- - Bump @fluentui/react-theme to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
20
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
21
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
15
+ - Bump @fluentui/react-context-selector to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
16
+ - Bump @fluentui/react-field to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
17
+ - Bump @fluentui/react-label to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
18
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
19
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
20
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
21
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
22
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
22
23
 
23
24
  ## [9.0.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.26)
24
25
 
@@ -2,12 +2,17 @@ import * as React from 'react';
2
2
  import { renderRadio_unstable } from './renderRadio';
3
3
  import { useRadio_unstable } from './useRadio';
4
4
  import { useRadioStyles_unstable } from './useRadioStyles';
5
+ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
5
6
  /**
6
7
  * Radio component is a wrapper for a radio button with a label.
7
8
  */
8
9
  export const Radio = /*#__PURE__*/React.forwardRef((props, ref) => {
9
10
  const state = useRadio_unstable(props, ref);
10
11
  useRadioStyles_unstable(state);
12
+ const {
13
+ useRadioStyles_unstable: useCustomStyles
14
+ } = useCustomStyleHooks_unstable();
15
+ useCustomStyles(state);
11
16
  return renderRadio_unstable(state);
12
17
  });
13
18
  Radio.displayName = 'Radio';
@@ -1 +1 @@
1
- {"version":3,"names":["React","renderRadio_unstable","useRadio_unstable","useRadioStyles_unstable","Radio","forwardRef","props","ref","state","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/Radio/Radio.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { RadioProps } from './Radio.types';\nimport { renderRadio_unstable } from './renderRadio';\nimport { useRadio_unstable } from './useRadio';\nimport { useRadioStyles_unstable } from './useRadioStyles';\n\n/**\n * Radio component is a wrapper for a radio button with a label.\n */\nexport const Radio: ForwardRefComponent<RadioProps> = React.forwardRef((props, ref) => {\n const state = useRadio_unstable(props, ref);\n\n useRadioStyles_unstable(state);\n return renderRadio_unstable(state);\n});\n\nRadio.displayName = 'Radio';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAG9B,SAASC,oBAAoB,QAAQ,eAAe;AACpD,SAASC,iBAAiB,QAAQ,YAAY;AAC9C,SAASC,uBAAuB,QAAQ,kBAAkB;AAE1D;;;AAGA,OAAO,MAAMC,KAAK,gBAAoCJ,KAAK,CAACK,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGN,iBAAiB,CAACI,KAAK,EAAEC,GAAG,CAAC;EAE3CJ,uBAAuB,CAACK,KAAK,CAAC;EAC9B,OAAOP,oBAAoB,CAACO,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFJ,KAAK,CAACK,WAAW,GAAG,OAAO"}
1
+ {"version":3,"names":["React","renderRadio_unstable","useRadio_unstable","useRadioStyles_unstable","useCustomStyleHooks_unstable","Radio","forwardRef","props","ref","state","useCustomStyles","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/Radio/Radio.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { RadioProps } from './Radio.types';\nimport { renderRadio_unstable } from './renderRadio';\nimport { useRadio_unstable } from './useRadio';\nimport { useRadioStyles_unstable } from './useRadioStyles';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Radio component is a wrapper for a radio button with a label.\n */\nexport const Radio: ForwardRefComponent<RadioProps> = React.forwardRef((props, ref) => {\n const state = useRadio_unstable(props, ref);\n\n useRadioStyles_unstable(state);\n\n const { useRadioStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderRadio_unstable(state);\n});\n\nRadio.displayName = 'Radio';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAG9B,SAASC,oBAAoB,QAAQ,eAAe;AACpD,SAASC,iBAAiB,QAAQ,YAAY;AAC9C,SAASC,uBAAuB,QAAQ,kBAAkB;AAC1D,SAASC,4BAA4B,QAAQ,iCAAiC;AAE9E;;;AAGA,OAAO,MAAMC,KAAK,gBAAoCL,KAAK,CAACM,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGP,iBAAiB,CAACK,KAAK,EAAEC,GAAG,CAAC;EAE3CL,uBAAuB,CAACM,KAAK,CAAC;EAE9B,MAAM;IAAEN,uBAAuB,EAAEO;EAAe,CAAE,GAAGN,4BAA4B,EAAE;EACnFM,eAAe,CAACD,KAAK,CAAC;EAEtB,OAAOR,oBAAoB,CAACQ,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFJ,KAAK,CAACM,WAAW,GAAG,OAAO"}
@@ -3,6 +3,7 @@ import { renderRadioGroup_unstable } from './renderRadioGroup';
3
3
  import { useRadioGroup_unstable } from './useRadioGroup';
4
4
  import { useRadioGroupStyles_unstable } from './useRadioGroupStyles';
5
5
  import { useRadioGroupContextValues } from '../../contexts/useRadioGroupContextValues';
6
+ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
6
7
  /**
7
8
  * A RadioGroup component presents a set of options where only one option can be selected.
8
9
  */
@@ -10,6 +11,10 @@ export const RadioGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
10
11
  const state = useRadioGroup_unstable(props, ref);
11
12
  const contextValues = useRadioGroupContextValues(state);
12
13
  useRadioGroupStyles_unstable(state);
14
+ const {
15
+ useRadioGroupStyles_unstable: useCustomStyles
16
+ } = useCustomStyleHooks_unstable();
17
+ useCustomStyles(state);
13
18
  return renderRadioGroup_unstable(state, contextValues);
14
19
  });
15
20
  RadioGroup.displayName = 'RadioGroup';
@@ -1 +1 @@
1
- {"version":3,"names":["React","renderRadioGroup_unstable","useRadioGroup_unstable","useRadioGroupStyles_unstable","useRadioGroupContextValues","RadioGroup","forwardRef","props","ref","state","contextValues","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/RadioGroup/RadioGroup.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { RadioGroupProps } from './RadioGroup.types';\nimport { renderRadioGroup_unstable } from './renderRadioGroup';\nimport { useRadioGroup_unstable } from './useRadioGroup';\nimport { useRadioGroupStyles_unstable } from './useRadioGroupStyles';\nimport { useRadioGroupContextValues } from '../../contexts/useRadioGroupContextValues';\n\n/**\n * A RadioGroup component presents a set of options where only one option can be selected.\n */\nexport const RadioGroup: ForwardRefComponent<RadioGroupProps> = React.forwardRef((props, ref) => {\n const state = useRadioGroup_unstable(props, ref);\n const contextValues = useRadioGroupContextValues(state);\n\n useRadioGroupStyles_unstable(state);\n return renderRadioGroup_unstable(state, contextValues);\n});\n\nRadioGroup.displayName = 'RadioGroup';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAG9B,SAASC,yBAAyB,QAAQ,oBAAoB;AAC9D,SAASC,sBAAsB,QAAQ,iBAAiB;AACxD,SAASC,4BAA4B,QAAQ,uBAAuB;AACpE,SAASC,0BAA0B,QAAQ,2CAA2C;AAEtF;;;AAGA,OAAO,MAAMC,UAAU,gBAAyCL,KAAK,CAACM,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAC9F,MAAMC,KAAK,GAAGP,sBAAsB,CAACK,KAAK,EAAEC,GAAG,CAAC;EAChD,MAAME,aAAa,GAAGN,0BAA0B,CAACK,KAAK,CAAC;EAEvDN,4BAA4B,CAACM,KAAK,CAAC;EACnC,OAAOR,yBAAyB,CAACQ,KAAK,EAAEC,aAAa,CAAC;AACxD,CAAC,CAAC;AAEFL,UAAU,CAACM,WAAW,GAAG,YAAY"}
1
+ {"version":3,"names":["React","renderRadioGroup_unstable","useRadioGroup_unstable","useRadioGroupStyles_unstable","useRadioGroupContextValues","useCustomStyleHooks_unstable","RadioGroup","forwardRef","props","ref","state","contextValues","useCustomStyles","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/RadioGroup/RadioGroup.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { RadioGroupProps } from './RadioGroup.types';\nimport { renderRadioGroup_unstable } from './renderRadioGroup';\nimport { useRadioGroup_unstable } from './useRadioGroup';\nimport { useRadioGroupStyles_unstable } from './useRadioGroupStyles';\nimport { useRadioGroupContextValues } from '../../contexts/useRadioGroupContextValues';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * A RadioGroup component presents a set of options where only one option can be selected.\n */\nexport const RadioGroup: ForwardRefComponent<RadioGroupProps> = React.forwardRef((props, ref) => {\n const state = useRadioGroup_unstable(props, ref);\n const contextValues = useRadioGroupContextValues(state);\n\n useRadioGroupStyles_unstable(state);\n\n const { useRadioGroupStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderRadioGroup_unstable(state, contextValues);\n});\n\nRadioGroup.displayName = 'RadioGroup';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAG9B,SAASC,yBAAyB,QAAQ,oBAAoB;AAC9D,SAASC,sBAAsB,QAAQ,iBAAiB;AACxD,SAASC,4BAA4B,QAAQ,uBAAuB;AACpE,SAASC,0BAA0B,QAAQ,2CAA2C;AACtF,SAASC,4BAA4B,QAAQ,iCAAiC;AAE9E;;;AAGA,OAAO,MAAMC,UAAU,gBAAyCN,KAAK,CAACO,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAC9F,MAAMC,KAAK,GAAGR,sBAAsB,CAACM,KAAK,EAAEC,GAAG,CAAC;EAChD,MAAME,aAAa,GAAGP,0BAA0B,CAACM,KAAK,CAAC;EAEvDP,4BAA4B,CAACO,KAAK,CAAC;EAEnC,MAAM;IAAEP,4BAA4B,EAAES;EAAe,CAAE,GAAGP,4BAA4B,EAAE;EACxFO,eAAe,CAACF,KAAK,CAAC;EAEtB,OAAOT,yBAAyB,CAACS,KAAK,EAAEC,aAAa,CAAC;AACxD,CAAC,CAAC;AAEFL,UAAU,CAACO,WAAW,GAAG,YAAY"}
@@ -8,12 +8,17 @@ const React = /*#__PURE__*/require("react");
8
8
  const renderRadio_1 = /*#__PURE__*/require("./renderRadio");
9
9
  const useRadio_1 = /*#__PURE__*/require("./useRadio");
10
10
  const useRadioStyles_1 = /*#__PURE__*/require("./useRadioStyles");
11
+ const react_shared_contexts_1 = /*#__PURE__*/require("@fluentui/react-shared-contexts");
11
12
  /**
12
13
  * Radio component is a wrapper for a radio button with a label.
13
14
  */
14
15
  exports.Radio = /*#__PURE__*/React.forwardRef((props, ref) => {
15
16
  const state = useRadio_1.useRadio_unstable(props, ref);
16
17
  useRadioStyles_1.useRadioStyles_unstable(state);
18
+ const {
19
+ useRadioStyles_unstable: useCustomStyles
20
+ } = react_shared_contexts_1.useCustomStyleHooks_unstable();
21
+ useCustomStyles(state);
17
22
  return renderRadio_1.renderRadio_unstable(state);
18
23
  });
19
24
  exports.Radio.displayName = 'Radio';
@@ -1 +1 @@
1
- {"version":3,"names":["React","require","renderRadio_1","useRadio_1","useRadioStyles_1","exports","Radio","forwardRef","props","ref","state","useRadio_unstable","useRadioStyles_unstable","renderRadio_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/Radio/Radio.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { RadioProps } from './Radio.types';\nimport { renderRadio_unstable } from './renderRadio';\nimport { useRadio_unstable } from './useRadio';\nimport { useRadioStyles_unstable } from './useRadioStyles';\n\n/**\n * Radio component is a wrapper for a radio button with a label.\n */\nexport const Radio: ForwardRefComponent<RadioProps> = React.forwardRef((props, ref) => {\n const state = useRadio_unstable(props, ref);\n\n useRadioStyles_unstable(state);\n return renderRadio_unstable(state);\n});\n\nRadio.displayName = 'Radio';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AAGA,MAAAC,aAAA,gBAAAD,OAAA;AACA,MAAAE,UAAA,gBAAAF,OAAA;AACA,MAAAG,gBAAA,gBAAAH,OAAA;AAEA;;;AAGaI,OAAA,CAAAC,KAAK,gBAAoCN,KAAK,CAACO,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGP,UAAA,CAAAQ,iBAAiB,CAACH,KAAK,EAAEC,GAAG,CAAC;EAE3CL,gBAAA,CAAAQ,uBAAuB,CAACF,KAAK,CAAC;EAC9B,OAAOR,aAAA,CAAAW,oBAAoB,CAACH,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFL,OAAA,CAAAC,KAAK,CAACQ,WAAW,GAAG,OAAO"}
1
+ {"version":3,"names":["React","require","renderRadio_1","useRadio_1","useRadioStyles_1","react_shared_contexts_1","exports","Radio","forwardRef","props","ref","state","useRadio_unstable","useRadioStyles_unstable","useCustomStyles","useCustomStyleHooks_unstable","renderRadio_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/Radio/Radio.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { RadioProps } from './Radio.types';\nimport { renderRadio_unstable } from './renderRadio';\nimport { useRadio_unstable } from './useRadio';\nimport { useRadioStyles_unstable } from './useRadioStyles';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Radio component is a wrapper for a radio button with a label.\n */\nexport const Radio: ForwardRefComponent<RadioProps> = React.forwardRef((props, ref) => {\n const state = useRadio_unstable(props, ref);\n\n useRadioStyles_unstable(state);\n\n const { useRadioStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderRadio_unstable(state);\n});\n\nRadio.displayName = 'Radio';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AAGA,MAAAC,aAAA,gBAAAD,OAAA;AACA,MAAAE,UAAA,gBAAAF,OAAA;AACA,MAAAG,gBAAA,gBAAAH,OAAA;AACA,MAAAI,uBAAA,gBAAAJ,OAAA;AAEA;;;AAGaK,OAAA,CAAAC,KAAK,gBAAoCP,KAAK,CAACQ,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGR,UAAA,CAAAS,iBAAiB,CAACH,KAAK,EAAEC,GAAG,CAAC;EAE3CN,gBAAA,CAAAS,uBAAuB,CAACF,KAAK,CAAC;EAE9B,MAAM;IAAEE,uBAAuB,EAAEC;EAAe,CAAE,GAAGT,uBAAA,CAAAU,4BAA4B,EAAE;EACnFD,eAAe,CAACH,KAAK,CAAC;EAEtB,OAAOT,aAAA,CAAAc,oBAAoB,CAACL,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFL,OAAA,CAAAC,KAAK,CAACU,WAAW,GAAG,OAAO"}
@@ -9,6 +9,7 @@ const renderRadioGroup_1 = /*#__PURE__*/require("./renderRadioGroup");
9
9
  const useRadioGroup_1 = /*#__PURE__*/require("./useRadioGroup");
10
10
  const useRadioGroupStyles_1 = /*#__PURE__*/require("./useRadioGroupStyles");
11
11
  const useRadioGroupContextValues_1 = /*#__PURE__*/require("../../contexts/useRadioGroupContextValues");
12
+ const react_shared_contexts_1 = /*#__PURE__*/require("@fluentui/react-shared-contexts");
12
13
  /**
13
14
  * A RadioGroup component presents a set of options where only one option can be selected.
14
15
  */
@@ -16,6 +17,10 @@ exports.RadioGroup = /*#__PURE__*/React.forwardRef((props, ref) => {
16
17
  const state = useRadioGroup_1.useRadioGroup_unstable(props, ref);
17
18
  const contextValues = useRadioGroupContextValues_1.useRadioGroupContextValues(state);
18
19
  useRadioGroupStyles_1.useRadioGroupStyles_unstable(state);
20
+ const {
21
+ useRadioGroupStyles_unstable: useCustomStyles
22
+ } = react_shared_contexts_1.useCustomStyleHooks_unstable();
23
+ useCustomStyles(state);
19
24
  return renderRadioGroup_1.renderRadioGroup_unstable(state, contextValues);
20
25
  });
21
26
  exports.RadioGroup.displayName = 'RadioGroup';
@@ -1 +1 @@
1
- {"version":3,"names":["React","require","renderRadioGroup_1","useRadioGroup_1","useRadioGroupStyles_1","useRadioGroupContextValues_1","exports","RadioGroup","forwardRef","props","ref","state","useRadioGroup_unstable","contextValues","useRadioGroupContextValues","useRadioGroupStyles_unstable","renderRadioGroup_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/RadioGroup/RadioGroup.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { RadioGroupProps } from './RadioGroup.types';\nimport { renderRadioGroup_unstable } from './renderRadioGroup';\nimport { useRadioGroup_unstable } from './useRadioGroup';\nimport { useRadioGroupStyles_unstable } from './useRadioGroupStyles';\nimport { useRadioGroupContextValues } from '../../contexts/useRadioGroupContextValues';\n\n/**\n * A RadioGroup component presents a set of options where only one option can be selected.\n */\nexport const RadioGroup: ForwardRefComponent<RadioGroupProps> = React.forwardRef((props, ref) => {\n const state = useRadioGroup_unstable(props, ref);\n const contextValues = useRadioGroupContextValues(state);\n\n useRadioGroupStyles_unstable(state);\n return renderRadioGroup_unstable(state, contextValues);\n});\n\nRadioGroup.displayName = 'RadioGroup';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AAGA,MAAAC,kBAAA,gBAAAD,OAAA;AACA,MAAAE,eAAA,gBAAAF,OAAA;AACA,MAAAG,qBAAA,gBAAAH,OAAA;AACA,MAAAI,4BAAA,gBAAAJ,OAAA;AAEA;;;AAGaK,OAAA,CAAAC,UAAU,gBAAyCP,KAAK,CAACQ,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAC9F,MAAMC,KAAK,GAAGR,eAAA,CAAAS,sBAAsB,CAACH,KAAK,EAAEC,GAAG,CAAC;EAChD,MAAMG,aAAa,GAAGR,4BAAA,CAAAS,0BAA0B,CAACH,KAAK,CAAC;EAEvDP,qBAAA,CAAAW,4BAA4B,CAACJ,KAAK,CAAC;EACnC,OAAOT,kBAAA,CAAAc,yBAAyB,CAACL,KAAK,EAAEE,aAAa,CAAC;AACxD,CAAC,CAAC;AAEFP,OAAA,CAAAC,UAAU,CAACU,WAAW,GAAG,YAAY"}
1
+ {"version":3,"names":["React","require","renderRadioGroup_1","useRadioGroup_1","useRadioGroupStyles_1","useRadioGroupContextValues_1","react_shared_contexts_1","exports","RadioGroup","forwardRef","props","ref","state","useRadioGroup_unstable","contextValues","useRadioGroupContextValues","useRadioGroupStyles_unstable","useCustomStyles","useCustomStyleHooks_unstable","renderRadioGroup_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-radio/src/components/RadioGroup/RadioGroup.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { RadioGroupProps } from './RadioGroup.types';\nimport { renderRadioGroup_unstable } from './renderRadioGroup';\nimport { useRadioGroup_unstable } from './useRadioGroup';\nimport { useRadioGroupStyles_unstable } from './useRadioGroupStyles';\nimport { useRadioGroupContextValues } from '../../contexts/useRadioGroupContextValues';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * A RadioGroup component presents a set of options where only one option can be selected.\n */\nexport const RadioGroup: ForwardRefComponent<RadioGroupProps> = React.forwardRef((props, ref) => {\n const state = useRadioGroup_unstable(props, ref);\n const contextValues = useRadioGroupContextValues(state);\n\n useRadioGroupStyles_unstable(state);\n\n const { useRadioGroupStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderRadioGroup_unstable(state, contextValues);\n});\n\nRadioGroup.displayName = 'RadioGroup';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AAGA,MAAAC,kBAAA,gBAAAD,OAAA;AACA,MAAAE,eAAA,gBAAAF,OAAA;AACA,MAAAG,qBAAA,gBAAAH,OAAA;AACA,MAAAI,4BAAA,gBAAAJ,OAAA;AACA,MAAAK,uBAAA,gBAAAL,OAAA;AAEA;;;AAGaM,OAAA,CAAAC,UAAU,gBAAyCR,KAAK,CAACS,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EAC9F,MAAMC,KAAK,GAAGT,eAAA,CAAAU,sBAAsB,CAACH,KAAK,EAAEC,GAAG,CAAC;EAChD,MAAMG,aAAa,GAAGT,4BAAA,CAAAU,0BAA0B,CAACH,KAAK,CAAC;EAEvDR,qBAAA,CAAAY,4BAA4B,CAACJ,KAAK,CAAC;EAEnC,MAAM;IAAEI,4BAA4B,EAAEC;EAAe,CAAE,GAAGX,uBAAA,CAAAY,4BAA4B,EAAE;EACxFD,eAAe,CAACL,KAAK,CAAC;EAEtB,OAAOV,kBAAA,CAAAiB,yBAAyB,CAACP,KAAK,EAAEE,aAAa,CAAC;AACxD,CAAC,CAAC;AAEFP,OAAA,CAAAC,UAAU,CAACY,WAAW,GAAG,YAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-radio",
3
- "version": "0.0.0-nightly-20230306-0424.1",
3
+ "version": "0.0.0-nightly-20230308-0418.1",
4
4
  "description": "Fluent UI Radio component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -27,18 +27,19 @@
27
27
  "devDependencies": {
28
28
  "@fluentui/eslint-plugin": "*",
29
29
  "@fluentui/react-conformance": "*",
30
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230306-0424.1",
30
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230308-0418.1",
31
31
  "@fluentui/scripts-api-extractor": "*",
32
32
  "@fluentui/scripts-tasks": "*"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-context-selector": "0.0.0-nightly-20230306-0424.1",
36
- "@fluentui/react-field": "0.0.0-nightly-20230306-0424.1",
35
+ "@fluentui/react-context-selector": "0.0.0-nightly-20230308-0418.1",
36
+ "@fluentui/react-field": "0.0.0-nightly-20230308-0418.1",
37
37
  "@fluentui/react-icons": "^2.0.175",
38
- "@fluentui/react-label": "0.0.0-nightly-20230306-0424.1",
39
- "@fluentui/react-tabster": "0.0.0-nightly-20230306-0424.1",
40
- "@fluentui/react-theme": "0.0.0-nightly-20230306-0424.1",
41
- "@fluentui/react-utilities": "0.0.0-nightly-20230306-0424.1",
38
+ "@fluentui/react-label": "0.0.0-nightly-20230308-0418.1",
39
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20230308-0418.1",
40
+ "@fluentui/react-tabster": "0.0.0-nightly-20230308-0418.1",
41
+ "@fluentui/react-theme": "0.0.0-nightly-20230308-0418.1",
42
+ "@fluentui/react-utilities": "0.0.0-nightly-20230308-0418.1",
42
43
  "@griffel/react": "^1.5.2",
43
44
  "tslib": "^2.1.0"
44
45
  },