@fluentui/react-radio 9.0.20 → 9.0.22
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 +86 -2
- package/CHANGELOG.md +30 -3
- package/dist/index.d.ts +14 -6
- package/lib/components/RadioGroupField/RadioGroupField.js +7 -14
- package/lib/components/RadioGroupField/RadioGroupField.js.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-amd/components/RadioGroupField/RadioGroupField.js +5 -12
- package/lib-amd/components/RadioGroupField/RadioGroupField.js.map +1 -1
- package/lib-amd/index.js.map +1 -1
- package/lib-commonjs/components/RadioGroupField/RadioGroupField.js +5 -12
- package/lib-commonjs/components/RadioGroupField/RadioGroupField.js.map +1 -1
- package/lib-commonjs/index.js +1 -0
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,91 @@
|
|
|
2
2
|
"name": "@fluentui/react-radio",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 31 Jan 2023 19:50:42 GMT",
|
|
6
|
+
"tag": "@fluentui/react-radio_v9.0.22",
|
|
7
|
+
"version": "9.0.22",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui/react-radio",
|
|
13
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.7",
|
|
14
|
+
"commit": "22477ef4202cd24add6ebf823196b5888c9d8083"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui/react-radio",
|
|
19
|
+
"comment": "Bump @fluentui/react-field to v9.0.0-alpha.18",
|
|
20
|
+
"commit": "22477ef4202cd24add6ebf823196b5888c9d8083"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui/react-radio",
|
|
25
|
+
"comment": "Bump @fluentui/react-label to v9.0.19",
|
|
26
|
+
"commit": "22477ef4202cd24add6ebf823196b5888c9d8083"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui/react-radio",
|
|
31
|
+
"comment": "Bump @fluentui/react-tabster to v9.4.2",
|
|
32
|
+
"commit": "22477ef4202cd24add6ebf823196b5888c9d8083"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui/react-radio",
|
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v9.5.1",
|
|
38
|
+
"commit": "22477ef4202cd24add6ebf823196b5888c9d8083"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"date": "Thu, 26 Jan 2023 13:30:59 GMT",
|
|
45
|
+
"tag": "@fluentui/react-radio_v9.0.21",
|
|
46
|
+
"version": "9.0.21",
|
|
47
|
+
"comments": {
|
|
48
|
+
"patch": [
|
|
49
|
+
{
|
|
50
|
+
"author": "behowell@microsoft.com",
|
|
51
|
+
"package": "@fluentui/react-radio",
|
|
52
|
+
"commit": "d6e98c0b5390c5c7e03601537b2026307e01a8d4",
|
|
53
|
+
"comment": "Deprecate RadioGroupField_unstable in favor of Field with RadioGroup as its child."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui/react-radio",
|
|
58
|
+
"comment": "Bump @fluentui/react-context-selector to v9.1.6",
|
|
59
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui/react-radio",
|
|
64
|
+
"comment": "Bump @fluentui/react-field to v9.0.0-alpha.17",
|
|
65
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui/react-radio",
|
|
70
|
+
"comment": "Bump @fluentui/react-label to v9.0.18",
|
|
71
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@fluentui/react-radio",
|
|
76
|
+
"comment": "Bump @fluentui/react-tabster to v9.4.1",
|
|
77
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "beachball",
|
|
81
|
+
"package": "@fluentui/react-radio",
|
|
82
|
+
"comment": "Bump @fluentui/react-utilities to v9.5.0",
|
|
83
|
+
"commit": "403e1370f1effca7d3db131eda381abf31cf66b1"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"date": "Mon, 23 Jan 2023 16:43:12 GMT",
|
|
6
90
|
"tag": "@fluentui/react-radio_v9.0.20",
|
|
7
91
|
"version": "9.0.20",
|
|
8
92
|
"comments": {
|
|
@@ -11,7 +95,7 @@
|
|
|
11
95
|
"author": "beachball",
|
|
12
96
|
"package": "@fluentui/react-radio",
|
|
13
97
|
"comment": "Bump @fluentui/react-field to v9.0.0-alpha.16",
|
|
14
|
-
"commit": "
|
|
98
|
+
"commit": "828c4260edc4fba07c9ccc8e94f15051c7fd25d3"
|
|
15
99
|
}
|
|
16
100
|
]
|
|
17
101
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,44 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-radio
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 31 Jan 2023 19:50:42 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.22)
|
|
8
|
+
|
|
9
|
+
Tue, 31 Jan 2023 19:50:42 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.21..@fluentui/react-radio_v9.0.22)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/react-context-selector to v9.1.7 ([PR #26491](https://github.com/microsoft/fluentui/pull/26491) by beachball)
|
|
15
|
+
- Bump @fluentui/react-field to v9.0.0-alpha.18 ([PR #26491](https://github.com/microsoft/fluentui/pull/26491) by beachball)
|
|
16
|
+
- Bump @fluentui/react-label to v9.0.19 ([PR #26491](https://github.com/microsoft/fluentui/pull/26491) by beachball)
|
|
17
|
+
- Bump @fluentui/react-tabster to v9.4.2 ([PR #26491](https://github.com/microsoft/fluentui/pull/26491) by beachball)
|
|
18
|
+
- Bump @fluentui/react-utilities to v9.5.1 ([PR #26491](https://github.com/microsoft/fluentui/pull/26491) by beachball)
|
|
19
|
+
|
|
20
|
+
## [9.0.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.21)
|
|
21
|
+
|
|
22
|
+
Thu, 26 Jan 2023 13:30:59 GMT
|
|
23
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.20..@fluentui/react-radio_v9.0.21)
|
|
24
|
+
|
|
25
|
+
### Patches
|
|
26
|
+
|
|
27
|
+
- Deprecate RadioGroupField_unstable in favor of Field with RadioGroup as its child. ([PR #26430](https://github.com/microsoft/fluentui/pull/26430) by behowell@microsoft.com)
|
|
28
|
+
- Bump @fluentui/react-context-selector to v9.1.6 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
|
29
|
+
- Bump @fluentui/react-field to v9.0.0-alpha.17 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
|
30
|
+
- Bump @fluentui/react-label to v9.0.18 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
|
31
|
+
- Bump @fluentui/react-tabster to v9.4.1 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
|
32
|
+
- Bump @fluentui/react-utilities to v9.5.0 ([PR #26496](https://github.com/microsoft/fluentui/pull/26496) by beachball)
|
|
33
|
+
|
|
7
34
|
## [9.0.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.20)
|
|
8
35
|
|
|
9
|
-
Mon, 23 Jan 2023 16:
|
|
36
|
+
Mon, 23 Jan 2023 16:43:12 GMT
|
|
10
37
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.19..@fluentui/react-radio_v9.0.20)
|
|
11
38
|
|
|
12
39
|
### Patches
|
|
13
40
|
|
|
14
|
-
- Bump @fluentui/react-field to v9.0.0-alpha.16 ([PR #
|
|
41
|
+
- Bump @fluentui/react-field to v9.0.0-alpha.16 ([PR #26434](https://github.com/microsoft/fluentui/pull/26434) by beachball)
|
|
15
42
|
|
|
16
43
|
## [9.0.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.19)
|
|
17
44
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
import type { ComponentProps } from '@fluentui/react-utilities';
|
|
4
4
|
import type { ComponentState } from '@fluentui/react-utilities';
|
|
5
5
|
import { ContextSelector } from '@fluentui/react-context-selector';
|
|
6
|
+
import { DeprecatedFieldProps } from '@fluentui/react-field';
|
|
6
7
|
import { FC } from 'react';
|
|
7
|
-
import { FieldControl } from '@fluentui/react-field';
|
|
8
|
-
import type { FieldProps } from '@fluentui/react-field';
|
|
9
|
-
import { FieldSlots } from '@fluentui/react-field';
|
|
10
8
|
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
11
9
|
import { Label } from '@fluentui/react-label';
|
|
12
10
|
import { Provider } from 'react';
|
|
13
11
|
import { ProviderProps } from 'react';
|
|
14
12
|
import * as React_2 from 'react';
|
|
15
13
|
import type { Slot } from '@fluentui/react-utilities';
|
|
16
|
-
import { SlotClassNames } from '@fluentui/react-utilities';
|
|
14
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
17
15
|
|
|
18
16
|
/**
|
|
19
17
|
* Radio component is a wrapper for a radio button with a label.
|
|
@@ -35,11 +33,21 @@ export declare type RadioGroupContextValues = {
|
|
|
35
33
|
radioGroup: RadioGroupContextValue;
|
|
36
34
|
};
|
|
37
35
|
|
|
36
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
38
37
|
export declare const RadioGroupField_unstable: ForwardRefComponent<RadioGroupFieldProps_unstable>;
|
|
39
38
|
|
|
40
|
-
|
|
39
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
40
|
+
export declare const radioGroupFieldClassNames: {
|
|
41
|
+
control: string;
|
|
42
|
+
root: string;
|
|
43
|
+
label: string;
|
|
44
|
+
validationMessage: string;
|
|
45
|
+
validationMessageIcon: string;
|
|
46
|
+
hint: string;
|
|
47
|
+
};
|
|
41
48
|
|
|
42
|
-
|
|
49
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
50
|
+
export declare type RadioGroupFieldProps_unstable = DeprecatedFieldProps<RadioGroupProps>;
|
|
43
51
|
|
|
44
52
|
/**
|
|
45
53
|
* Data for the onChange event for RadioGroup.
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { RadioGroup } from '../../RadioGroup';
|
|
4
|
-
|
|
5
|
-
export const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
classNames: radioGroupFieldClassNames,
|
|
9
|
-
labelConnection: 'aria-labelledby'
|
|
10
|
-
});
|
|
11
|
-
useFieldStyles_unstable(state);
|
|
12
|
-
return renderField_unstable(state);
|
|
13
|
-
});
|
|
14
|
-
RadioGroupField.displayName = 'RadioGroupField';
|
|
1
|
+
/* eslint-disable deprecation/deprecation */
|
|
2
|
+
import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';
|
|
3
|
+
import { RadioGroup, radioGroupClassNames } from '../../RadioGroup';
|
|
4
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
5
|
+
export const radioGroupFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(radioGroupClassNames.root);
|
|
6
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
7
|
+
export const RadioGroupField = /*#__PURE__*/makeDeprecatedField(RadioGroup);
|
|
15
8
|
//# sourceMappingURL=RadioGroupField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA
|
|
1
|
+
{"version":3,"mappings":"AAAA;AACA,SAA+BA,4BAA4B,EAAEC,mBAAmB,QAAQ,uBAAuB;AAE/G,SAASC,UAAU,EAAEC,oBAAoB,QAAyB,kBAAkB;AAIpF;AACA,OAAO,MAAMC,yBAAyB,gBAAGJ,4BAA4B,CAACG,oBAAoB,CAACE,IAAI,CAAC;AAChG;AACA,OAAO,MAAMC,eAAe,gBAA8CL,mBAAmB,CAACC,UAAU,CAAC","names":["getDeprecatedFieldClassNames","makeDeprecatedField","RadioGroup","radioGroupClassNames","radioGroupFieldClassNames","root","RadioGroupField"],"sourceRoot":"../src/","sources":["packages/react-components/react-radio/src/components/RadioGroupField/RadioGroupField.tsx"],"sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { RadioGroup, radioGroupClassNames, RadioGroupProps } from '../../RadioGroup';\n\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport type RadioGroupFieldProps = DeprecatedFieldProps<RadioGroupProps>;\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport const radioGroupFieldClassNames = getDeprecatedFieldClassNames(radioGroupClassNames.root);\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport const RadioGroupField: ForwardRefComponent<RadioGroupFieldProps> = makeDeprecatedField(RadioGroup);\n"]}
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { RadioGroup, radioGroupClassNames, renderRadioGroup_unstable, useRadioGroupStyles_unstable, useRadioGroup_unstable } from './RadioGroup';
|
|
2
2
|
export { Radio, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './Radio';
|
|
3
3
|
export { RadioGroupProvider, useRadioGroupContextValues, useRadioGroupContext_unstable } from './contexts/index';
|
|
4
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
4
5
|
export { RadioGroupField as RadioGroupField_unstable, radioGroupFieldClassNames } from './RadioGroupField';
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,SACEA,UAAU,EACVC,oBAAoB,EACpBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,sBAAsB,QACjB,cAAc;AASrB,SAASC,KAAK,EAAEC,eAAe,EAAEC,oBAAoB,EAAEC,uBAAuB,EAAEC,iBAAiB,QAAQ,SAAS;AAElH,SAASC,kBAAkB,EAAEC,0BAA0B,EAAEC,6BAA6B,QAAQ,kBAAkB;AAEhH,SAASC,eAAe,IAAIC,wBAAwB,EAAEC,yBAAyB,QAAQ,mBAAmB","names":["RadioGroup","radioGroupClassNames","renderRadioGroup_unstable","useRadioGroupStyles_unstable","useRadioGroup_unstable","Radio","radioClassNames","renderRadio_unstable","useRadioStyles_unstable","useRadio_unstable","RadioGroupProvider","useRadioGroupContextValues","useRadioGroupContext_unstable","RadioGroupField","RadioGroupField_unstable","radioGroupFieldClassNames"],"sourceRoot":"../src/","sources":["packages/react-components/react-radio/src/index.ts"],"sourcesContent":["export {\n RadioGroup,\n radioGroupClassNames,\n renderRadioGroup_unstable,\n useRadioGroupStyles_unstable,\n useRadioGroup_unstable,\n} from './RadioGroup';\nexport type {\n RadioGroupContextValue,\n RadioGroupContextValues,\n RadioGroupOnChangeData,\n RadioGroupProps,\n RadioGroupSlots,\n RadioGroupState,\n} from './RadioGroup';\nexport { Radio, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './Radio';\nexport type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';\nexport { RadioGroupProvider, useRadioGroupContextValues, useRadioGroupContext_unstable } from './contexts/index';\n\nexport { RadioGroupField as RadioGroupField_unstable, radioGroupFieldClassNames } from './RadioGroupField';\nexport type { RadioGroupFieldProps as RadioGroupFieldProps_unstable } from './RadioGroupField';\n"]}
|
|
1
|
+
{"version":3,"mappings":"AAAA,SACEA,UAAU,EACVC,oBAAoB,EACpBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,sBAAsB,QACjB,cAAc;AASrB,SAASC,KAAK,EAAEC,eAAe,EAAEC,oBAAoB,EAAEC,uBAAuB,EAAEC,iBAAiB,QAAQ,SAAS;AAElH,SAASC,kBAAkB,EAAEC,0BAA0B,EAAEC,6BAA6B,QAAQ,kBAAkB;AAEhH;AACA,SAASC,eAAe,IAAIC,wBAAwB,EAAEC,yBAAyB,QAAQ,mBAAmB","names":["RadioGroup","radioGroupClassNames","renderRadioGroup_unstable","useRadioGroupStyles_unstable","useRadioGroup_unstable","Radio","radioClassNames","renderRadio_unstable","useRadioStyles_unstable","useRadio_unstable","RadioGroupProvider","useRadioGroupContextValues","useRadioGroupContext_unstable","RadioGroupField","RadioGroupField_unstable","radioGroupFieldClassNames"],"sourceRoot":"../src/","sources":["packages/react-components/react-radio/src/index.ts"],"sourcesContent":["export {\n RadioGroup,\n radioGroupClassNames,\n renderRadioGroup_unstable,\n useRadioGroupStyles_unstable,\n useRadioGroup_unstable,\n} from './RadioGroup';\nexport type {\n RadioGroupContextValue,\n RadioGroupContextValues,\n RadioGroupOnChangeData,\n RadioGroupProps,\n RadioGroupSlots,\n RadioGroupState,\n} from './RadioGroup';\nexport { Radio, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './Radio';\nexport type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';\nexport { RadioGroupProvider, useRadioGroupContextValues, useRadioGroupContext_unstable } from './contexts/index';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { RadioGroupField as RadioGroupField_unstable, radioGroupFieldClassNames } from './RadioGroupField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { RadioGroupFieldProps as RadioGroupFieldProps_unstable } from './RadioGroupField';\n"]}
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
define(["require", "exports", "
|
|
1
|
+
define(["require", "exports", "@fluentui/react-field", "../../RadioGroup"], function (require, exports, react_field_1, RadioGroup_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.RadioGroupField = exports.radioGroupFieldClassNames = void 0;
|
|
5
|
-
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
classNames: exports.radioGroupFieldClassNames,
|
|
10
|
-
labelConnection: 'aria-labelledby',
|
|
11
|
-
});
|
|
12
|
-
react_field_1.useFieldStyles_unstable(state);
|
|
13
|
-
return react_field_1.renderField_unstable(state);
|
|
14
|
-
});
|
|
15
|
-
exports.RadioGroupField.displayName = 'RadioGroupField';
|
|
5
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
6
|
+
exports.radioGroupFieldClassNames = react_field_1.getDeprecatedFieldClassNames(RadioGroup_1.radioGroupClassNames.root);
|
|
7
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
8
|
+
exports.RadioGroupField = react_field_1.makeDeprecatedField(RadioGroup_1.RadioGroup);
|
|
16
9
|
});
|
|
17
10
|
//# sourceMappingURL=RadioGroupField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroupField.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-radio/src/components/RadioGroupField/RadioGroupField.tsx"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"RadioGroupField.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-radio/src/components/RadioGroupField/RadioGroupField.tsx"],"names":[],"mappings":";;;;IAOA,6EAA6E;IAChE,QAAA,yBAAyB,GAAG,0CAA4B,CAAC,iCAAoB,CAAC,IAAI,CAAC,CAAC;IACjG,6EAA6E;IAChE,QAAA,eAAe,GAA8C,iCAAmB,CAAC,uBAAU,CAAC,CAAC","sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { RadioGroup, radioGroupClassNames, RadioGroupProps } from '../../RadioGroup';\n\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport type RadioGroupFieldProps = DeprecatedFieldProps<RadioGroupProps>;\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport const radioGroupFieldClassNames = getDeprecatedFieldClassNames(radioGroupClassNames.root);\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport const RadioGroupField: ForwardRefComponent<RadioGroupFieldProps> = makeDeprecatedField(RadioGroup);\n"]}
|
package/lib-amd/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-radio/src/index.ts"],"names":[],"mappings":";;;;IACE,wGAAA,UAAU,OAAA;IACV,kHAAA,oBAAoB,OAAA;IACpB,uHAAA,yBAAyB,OAAA;IACzB,0HAAA,4BAA4B,OAAA;IAC5B,oHAAA,sBAAsB,OAAA;IAUf,8FAAA,KAAK,OAAA;IAAE,wGAAA,eAAe,OAAA;IAAE,6GAAA,oBAAoB,OAAA;IAAE,gHAAA,uBAAuB,OAAA;IAAE,0GAAA,iBAAiB,OAAA;IAExF,2GAAA,kBAAkB,OAAA;IAAE,mHAAA,0BAA0B,OAAA;IAAE,sHAAA,6BAA6B,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-radio/src/index.ts"],"names":[],"mappings":";;;;IACE,wGAAA,UAAU,OAAA;IACV,kHAAA,oBAAoB,OAAA;IACpB,uHAAA,yBAAyB,OAAA;IACzB,0HAAA,4BAA4B,OAAA;IAC5B,oHAAA,sBAAsB,OAAA;IAUf,8FAAA,KAAK,OAAA;IAAE,wGAAA,eAAe,OAAA;IAAE,6GAAA,oBAAoB,OAAA;IAAE,gHAAA,uBAAuB,OAAA;IAAE,0GAAA,iBAAiB,OAAA;IAExF,2GAAA,kBAAkB,OAAA;IAAE,mHAAA,0BAA0B,OAAA;IAAE,sHAAA,6BAA6B,OAAA;IAG7E,2HAAA,eAAe,OAA4B;IAAE,4HAAA,yBAAyB,OAAA","sourcesContent":["export {\n RadioGroup,\n radioGroupClassNames,\n renderRadioGroup_unstable,\n useRadioGroupStyles_unstable,\n useRadioGroup_unstable,\n} from './RadioGroup';\nexport type {\n RadioGroupContextValue,\n RadioGroupContextValues,\n RadioGroupOnChangeData,\n RadioGroupProps,\n RadioGroupSlots,\n RadioGroupState,\n} from './RadioGroup';\nexport { Radio, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './Radio';\nexport type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';\nexport { RadioGroupProvider, useRadioGroupContextValues, useRadioGroupContext_unstable } from './contexts/index';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { RadioGroupField as RadioGroupField_unstable, radioGroupFieldClassNames } from './RadioGroupField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { RadioGroupFieldProps as RadioGroupFieldProps_unstable } from './RadioGroupField';\n"]}
|
|
@@ -4,18 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.RadioGroupField = exports.radioGroupFieldClassNames = void 0;
|
|
7
|
-
|
|
7
|
+
/* eslint-disable deprecation/deprecation */
|
|
8
8
|
const react_field_1 = /*#__PURE__*/require("@fluentui/react-field");
|
|
9
9
|
const RadioGroup_1 = /*#__PURE__*/require("../../RadioGroup");
|
|
10
|
-
|
|
11
|
-
exports.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
classNames: exports.radioGroupFieldClassNames,
|
|
15
|
-
labelConnection: 'aria-labelledby'
|
|
16
|
-
});
|
|
17
|
-
react_field_1.useFieldStyles_unstable(state);
|
|
18
|
-
return react_field_1.renderField_unstable(state);
|
|
19
|
-
});
|
|
20
|
-
exports.RadioGroupField.displayName = 'RadioGroupField';
|
|
10
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
11
|
+
exports.radioGroupFieldClassNames = /*#__PURE__*/react_field_1.getDeprecatedFieldClassNames(RadioGroup_1.radioGroupClassNames.root);
|
|
12
|
+
/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */
|
|
13
|
+
exports.RadioGroupField = /*#__PURE__*/react_field_1.makeDeprecatedField(RadioGroup_1.RadioGroup);
|
|
21
14
|
//# sourceMappingURL=RadioGroupField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAA;AAEA;
|
|
1
|
+
{"version":3,"mappings":";;;;;;AAAA;AACA;AAEA;AAIA;AACaA,iCAAyB,gBAAGC,0CAA4B,CAACC,iCAAoB,CAACC,IAAI,CAAC;AAChG;AACaH,uBAAe,gBAA8CC,iCAAmB,CAACC,uBAAU,CAAC","names":["exports","react_field_1","RadioGroup_1","root"],"sourceRoot":"../src/","sources":["packages/react-components/react-radio/src/components/RadioGroupField/RadioGroupField.tsx"],"sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { RadioGroup, radioGroupClassNames, RadioGroupProps } from '../../RadioGroup';\n\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport type RadioGroupFieldProps = DeprecatedFieldProps<RadioGroupProps>;\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport const radioGroupFieldClassNames = getDeprecatedFieldClassNames(radioGroupClassNames.root);\n/** @deprecated Use Field with RadioGroup: `<Field><RadioGroup /></Field>` */\nexport const RadioGroupField: ForwardRefComponent<RadioGroupFieldProps> = makeDeprecatedField(RadioGroup);\n"]}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -85,6 +85,7 @@ Object.defineProperty(exports, "useRadioGroupContext_unstable", {
|
|
|
85
85
|
return index_1.useRadioGroupContext_unstable;
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
88
89
|
var RadioGroupField_1 = /*#__PURE__*/require("./RadioGroupField");
|
|
89
90
|
Object.defineProperty(exports, "RadioGroupField_unstable", {
|
|
90
91
|
enumerable: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;AAAA;AACEA;EAAAC;EAAAC;IAAA,8BAAU;EAAA;AAAA;AACVF;EAAAC;EAAAC;IAAA,wCAAoB;EAAA;AAAA;AACpBF;EAAAC;EAAAC;IAAA,6CAAyB;EAAA;AAAA;AACzBF;EAAAC;EAAAC;IAAA,gDAA4B;EAAA;AAAA;AAC5BF;EAAAC;EAAAC;IAAA,0CAAsB;EAAA;AAAA;AAUxB;AAASF;EAAAC;EAAAC;IAAA,oBAAK;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,8BAAe;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,mCAAoB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,sCAAuB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAiB;EAAA;AAAA;AAEjG;AAASF;EAAAC;EAAAC;IAAA,iCAAkB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,yCAA0B;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,4CAA6B;EAAA;AAAA;AAEtF;AAASF;EAAAC;EAAAC;IAAA,wCAAe;EAAA;AAAA;AAA8BF;EAAAC;EAAAC;IAAA,kDAAyB;EAAA;AAAA","names":["Object","enumerable","get"],"sourceRoot":"../src/","sources":["packages/react-components/react-radio/src/index.ts"],"sourcesContent":["export {\n RadioGroup,\n radioGroupClassNames,\n renderRadioGroup_unstable,\n useRadioGroupStyles_unstable,\n useRadioGroup_unstable,\n} from './RadioGroup';\nexport type {\n RadioGroupContextValue,\n RadioGroupContextValues,\n RadioGroupOnChangeData,\n RadioGroupProps,\n RadioGroupSlots,\n RadioGroupState,\n} from './RadioGroup';\nexport { Radio, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './Radio';\nexport type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';\nexport { RadioGroupProvider, useRadioGroupContextValues, useRadioGroupContext_unstable } from './contexts/index';\n\nexport { RadioGroupField as RadioGroupField_unstable, radioGroupFieldClassNames } from './RadioGroupField';\nexport type { RadioGroupFieldProps as RadioGroupFieldProps_unstable } from './RadioGroupField';\n"]}
|
|
1
|
+
{"version":3,"mappings":";;;;;;AAAA;AACEA;EAAAC;EAAAC;IAAA,8BAAU;EAAA;AAAA;AACVF;EAAAC;EAAAC;IAAA,wCAAoB;EAAA;AAAA;AACpBF;EAAAC;EAAAC;IAAA,6CAAyB;EAAA;AAAA;AACzBF;EAAAC;EAAAC;IAAA,gDAA4B;EAAA;AAAA;AAC5BF;EAAAC;EAAAC;IAAA,0CAAsB;EAAA;AAAA;AAUxB;AAASF;EAAAC;EAAAC;IAAA,oBAAK;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,8BAAe;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,mCAAoB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,sCAAuB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAiB;EAAA;AAAA;AAEjG;AAASF;EAAAC;EAAAC;IAAA,iCAAkB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,yCAA0B;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,4CAA6B;EAAA;AAAA;AAEtF;AACA;AAASF;EAAAC;EAAAC;IAAA,wCAAe;EAAA;AAAA;AAA8BF;EAAAC;EAAAC;IAAA,kDAAyB;EAAA;AAAA","names":["Object","enumerable","get"],"sourceRoot":"../src/","sources":["packages/react-components/react-radio/src/index.ts"],"sourcesContent":["export {\n RadioGroup,\n radioGroupClassNames,\n renderRadioGroup_unstable,\n useRadioGroupStyles_unstable,\n useRadioGroup_unstable,\n} from './RadioGroup';\nexport type {\n RadioGroupContextValue,\n RadioGroupContextValues,\n RadioGroupOnChangeData,\n RadioGroupProps,\n RadioGroupSlots,\n RadioGroupState,\n} from './RadioGroup';\nexport { Radio, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './Radio';\nexport type { RadioProps, RadioSlots, RadioState, RadioOnChangeData } from './Radio';\nexport { RadioGroupProvider, useRadioGroupContextValues, useRadioGroupContext_unstable } from './contexts/index';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { RadioGroupField as RadioGroupField_unstable, radioGroupFieldClassNames } from './RadioGroupField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { RadioGroupFieldProps as RadioGroupFieldProps_unstable } from './RadioGroupField';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-radio",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.22",
|
|
4
4
|
"description": "Fluent UI Radio component",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fluentui/react-context-selector": "^9.1.
|
|
36
|
-
"@fluentui/react-field": "9.0.0-alpha.
|
|
35
|
+
"@fluentui/react-context-selector": "^9.1.7",
|
|
36
|
+
"@fluentui/react-field": "9.0.0-alpha.18",
|
|
37
37
|
"@fluentui/react-icons": "^2.0.175",
|
|
38
|
-
"@fluentui/react-label": "^9.0.
|
|
39
|
-
"@fluentui/react-tabster": "^9.4.
|
|
38
|
+
"@fluentui/react-label": "^9.0.19",
|
|
39
|
+
"@fluentui/react-tabster": "^9.4.2",
|
|
40
40
|
"@fluentui/react-theme": "^9.1.5",
|
|
41
|
-
"@fluentui/react-utilities": "^9.
|
|
41
|
+
"@fluentui/react-utilities": "^9.5.1",
|
|
42
42
|
"@griffel/react": "^1.5.2",
|
|
43
43
|
"tslib": "^2.1.0"
|
|
44
44
|
},
|