@fluentui/react-field 9.0.0-alpha.2 → 9.0.0-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,70 @@
|
|
2
2
|
"name": "@fluentui/react-field",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Mon, 03 Oct 2022 22:22:47 GMT",
|
6
|
+
"tag": "@fluentui/react-field_v9.0.0-alpha.3",
|
7
|
+
"version": "9.0.0-alpha.3",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "behowell@microsoft.com",
|
12
|
+
"package": "@fluentui/react-field",
|
13
|
+
"commit": "9c2ca0da077238fa1d2dc9475eeacacde06f79d7",
|
14
|
+
"comment": "fix: Remove SwitchField's labelPosition prop, as it has no effect"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-field",
|
19
|
+
"comment": "Bump @fluentui/react-checkbox to v9.0.7",
|
20
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-field",
|
25
|
+
"comment": "Bump @fluentui/react-combobox to v9.0.0-beta.11",
|
26
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-field",
|
31
|
+
"comment": "Bump @fluentui/react-input to v9.2.0",
|
32
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-field",
|
37
|
+
"comment": "Bump @fluentui/react-radio to v9.0.7",
|
38
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-field",
|
43
|
+
"comment": "Bump @fluentui/react-slider to v9.0.6",
|
44
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-field",
|
49
|
+
"comment": "Bump @fluentui/react-spinbutton to v9.0.3",
|
50
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-field",
|
55
|
+
"comment": "Bump @fluentui/react-switch to v9.0.7",
|
56
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-field",
|
61
|
+
"comment": "Bump @fluentui/react-textarea to v9.1.1",
|
62
|
+
"commit": "b0b7f99bbbb05b0bd136432983a74fea252c7163"
|
63
|
+
}
|
64
|
+
]
|
65
|
+
}
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"date": "Tue, 20 Sep 2022 20:55:45 GMT",
|
6
69
|
"tag": "@fluentui/react-field_v9.0.0-alpha.2",
|
7
70
|
"version": "9.0.0-alpha.2",
|
8
71
|
"comments": {
|
@@ -11,67 +74,67 @@
|
|
11
74
|
"author": "beachball",
|
12
75
|
"package": "@fluentui/react-field",
|
13
76
|
"comment": "Bump @fluentui/react-checkbox to v9.0.6",
|
14
|
-
"commit": "
|
77
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
15
78
|
},
|
16
79
|
{
|
17
80
|
"author": "beachball",
|
18
81
|
"package": "@fluentui/react-field",
|
19
82
|
"comment": "Bump @fluentui/react-combobox to v9.0.0-beta.10",
|
20
|
-
"commit": "
|
83
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
21
84
|
},
|
22
85
|
{
|
23
86
|
"author": "beachball",
|
24
87
|
"package": "@fluentui/react-field",
|
25
88
|
"comment": "Bump @fluentui/react-input to v9.1.1",
|
26
|
-
"commit": "
|
89
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
27
90
|
},
|
28
91
|
{
|
29
92
|
"author": "beachball",
|
30
93
|
"package": "@fluentui/react-field",
|
31
94
|
"comment": "Bump @fluentui/react-label to v9.0.6",
|
32
|
-
"commit": "
|
95
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
33
96
|
},
|
34
97
|
{
|
35
98
|
"author": "beachball",
|
36
99
|
"package": "@fluentui/react-field",
|
37
100
|
"comment": "Bump @fluentui/react-radio to v9.0.6",
|
38
|
-
"commit": "
|
101
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
39
102
|
},
|
40
103
|
{
|
41
104
|
"author": "beachball",
|
42
105
|
"package": "@fluentui/react-field",
|
43
106
|
"comment": "Bump @fluentui/react-select to v9.0.0-beta.10",
|
44
|
-
"commit": "
|
107
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
45
108
|
},
|
46
109
|
{
|
47
110
|
"author": "beachball",
|
48
111
|
"package": "@fluentui/react-field",
|
49
112
|
"comment": "Bump @fluentui/react-slider to v9.0.5",
|
50
|
-
"commit": "
|
113
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
51
114
|
},
|
52
115
|
{
|
53
116
|
"author": "beachball",
|
54
117
|
"package": "@fluentui/react-field",
|
55
118
|
"comment": "Bump @fluentui/react-spinbutton to v9.0.2",
|
56
|
-
"commit": "
|
119
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
57
120
|
},
|
58
121
|
{
|
59
122
|
"author": "beachball",
|
60
123
|
"package": "@fluentui/react-field",
|
61
124
|
"comment": "Bump @fluentui/react-switch to v9.0.6",
|
62
|
-
"commit": "
|
125
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
63
126
|
},
|
64
127
|
{
|
65
128
|
"author": "beachball",
|
66
129
|
"package": "@fluentui/react-field",
|
67
130
|
"comment": "Bump @fluentui/react-textarea to v9.1.0",
|
68
|
-
"commit": "
|
131
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
69
132
|
},
|
70
133
|
{
|
71
134
|
"author": "beachball",
|
72
135
|
"package": "@fluentui/react-field",
|
73
136
|
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.14",
|
74
|
-
"commit": "
|
137
|
+
"commit": "4ceba844c804a2f49b0465389100e7a3dabf116e"
|
75
138
|
}
|
76
139
|
]
|
77
140
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,44 @@
|
|
1
1
|
# Change Log - @fluentui/react-field
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 03 Oct 2022 22:22:47 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.0.0-alpha.3)
|
8
|
+
|
9
|
+
Mon, 03 Oct 2022 22:22:47 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-field_v9.0.0-alpha.2..@fluentui/react-field_v9.0.0-alpha.3)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- fix: Remove SwitchField's labelPosition prop, as it has no effect ([PR #24876](https://github.com/microsoft/fluentui/pull/24876) by behowell@microsoft.com)
|
15
|
+
- Bump @fluentui/react-checkbox to v9.0.7 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
16
|
+
- Bump @fluentui/react-combobox to v9.0.0-beta.11 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
17
|
+
- Bump @fluentui/react-input to v9.2.0 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
18
|
+
- Bump @fluentui/react-radio to v9.0.7 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
19
|
+
- Bump @fluentui/react-slider to v9.0.6 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
20
|
+
- Bump @fluentui/react-spinbutton to v9.0.3 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
21
|
+
- Bump @fluentui/react-switch to v9.0.7 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
22
|
+
- Bump @fluentui/react-textarea to v9.1.1 ([PR #25016](https://github.com/microsoft/fluentui/pull/25016) by beachball)
|
23
|
+
|
7
24
|
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.0.0-alpha.2)
|
8
25
|
|
9
|
-
Tue, 20 Sep 2022 20:
|
26
|
+
Tue, 20 Sep 2022 20:55:45 GMT
|
10
27
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-field_v9.0.0-alpha.1..@fluentui/react-field_v9.0.0-alpha.2)
|
11
28
|
|
12
29
|
### Changes
|
13
30
|
|
14
|
-
- Bump @fluentui/react-checkbox to v9.0.6 ([PR #
|
15
|
-
- Bump @fluentui/react-combobox to v9.0.0-beta.10 ([PR #
|
16
|
-
- Bump @fluentui/react-input to v9.1.1 ([PR #
|
17
|
-
- Bump @fluentui/react-label to v9.0.6 ([PR #
|
18
|
-
- Bump @fluentui/react-radio to v9.0.6 ([PR #
|
19
|
-
- Bump @fluentui/react-select to v9.0.0-beta.10 ([PR #
|
20
|
-
- Bump @fluentui/react-slider to v9.0.5 ([PR #
|
21
|
-
- Bump @fluentui/react-spinbutton to v9.0.2 ([PR #
|
22
|
-
- Bump @fluentui/react-switch to v9.0.6 ([PR #
|
23
|
-
- Bump @fluentui/react-textarea to v9.1.0 ([PR #
|
24
|
-
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.14 ([PR #
|
31
|
+
- Bump @fluentui/react-checkbox to v9.0.6 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
32
|
+
- Bump @fluentui/react-combobox to v9.0.0-beta.10 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
33
|
+
- Bump @fluentui/react-input to v9.1.1 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
34
|
+
- Bump @fluentui/react-label to v9.0.6 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
35
|
+
- Bump @fluentui/react-radio to v9.0.6 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
36
|
+
- Bump @fluentui/react-select to v9.0.0-beta.10 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
37
|
+
- Bump @fluentui/react-slider to v9.0.5 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
38
|
+
- Bump @fluentui/react-spinbutton to v9.0.2 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
39
|
+
- Bump @fluentui/react-switch to v9.0.6 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
40
|
+
- Bump @fluentui/react-textarea to v9.1.0 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
41
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.14 ([PR #24869](https://github.com/microsoft/fluentui/pull/24869) by beachball)
|
25
42
|
|
26
43
|
## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-field_v9.0.0-alpha.1)
|
27
44
|
|
package/Spec.md
CHANGED
@@ -231,8 +231,8 @@ The Checkbox and Switch components already have a `label` prop, which conflicts
|
|
231
231
|
|
232
232
|
#### `SwitchField`
|
233
233
|
|
234
|
-
- New `valueLabel` prop for the label of the Switch
|
235
234
|
- The `label` prop will go to the Field and NOT the Switch
|
235
|
+
- The Switch's `labelPosition` prop is therefore not supported, and is omitted from SwitchField.
|
236
236
|
|
237
237
|
## Structure
|
238
238
|
|
package/dist/index.d.ts
CHANGED
@@ -198,7 +198,7 @@ export declare const SwitchField: ForwardRefComponent<SwitchFieldProps>;
|
|
198
198
|
|
199
199
|
export declare const switchFieldClassNames: SlotClassNames<FieldSlots<FieldComponent>>;
|
200
200
|
|
201
|
-
export declare type SwitchFieldProps = FieldProps<typeof Switch>;
|
201
|
+
export declare type SwitchFieldProps = Omit<FieldProps<typeof Switch>, 'labelPosition'>;
|
202
202
|
|
203
203
|
export declare const TextareaField: ForwardRefComponent<TextareaFieldProps>;
|
204
204
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/SwitchField/SwitchField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,MAAT,QAAuB,wBAAvB;AAGA,SAAS,kBAAT,EAA6B,oBAA7B,EAAmD,uBAAnD,EAA4E,iBAA5E,QAAqG,aAArG;
|
1
|
+
{"version":3,"sources":["components/SwitchField/SwitchField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,MAAT,QAAuB,wBAAvB;AAGA,SAAS,kBAAT,EAA6B,oBAA7B,EAAmD,uBAAnD,EAA4E,iBAA5E,QAAqG,aAArG;AAMA,OAAO,MAAM,qBAAqB,gBAAG,kBAAkB,CAAC,aAAD,CAAhD;AAEP,OAAO,MAAM,WAAW,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,EAAa;IAAE,SAAS,EAAE,MAAb;IAAqB,UAAU,EAAE;EAAjC,CAAb,CAA/B;EACA,uBAAuB,CAAC,KAAD,CAAvB;EACA,OAAO,oBAAoB,CAAC,KAAD,CAA3B;AACD,CAJiE,CAA3D;AAMP,WAAW,CAAC,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport { Switch } from '@fluentui/react-switch';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\n// The Field's `label` prop overrides the Switch's built-in `label`.\n// Therefore, the Switch's `labelPosition` has no effect and is omitted to avoid confusion.\nexport type SwitchFieldProps = Omit<FieldProps<typeof Switch>, 'labelPosition'>;\n\nexport const switchFieldClassNames = getFieldClassNames('SwitchField');\n\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Switch, classNames: switchFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSwitchField.displayName = 'SwitchField';\n"],"sourceRoot":"../src/"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/SwitchField/SwitchField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;
|
1
|
+
{"version":3,"sources":["components/SwitchField/SwitchField.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,cAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AAGA,MAAA,OAAA,gBAAA,OAAA,CAAA,aAAA,CAAA;;AAMa,OAAA,CAAA,qBAAA,gBAAwB,OAAA,CAAA,kBAAA,CAAmB,aAAnB,CAAxB;AAEA,OAAA,CAAA,WAAA,gBAAqD,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAChG,MAAM,KAAK,GAAG,OAAA,CAAA,iBAAA,CAAkB,KAAlB,EAAyB,GAAzB,EAA8B;IAAE,SAAS,EAAE,cAAA,CAAA,MAAb;IAAqB,UAAU,EAAE,OAAA,CAAA;EAAjC,CAA9B,CAAd;EACA,OAAA,CAAA,uBAAA,CAAwB,KAAxB;EACA,OAAO,OAAA,CAAA,oBAAA,CAAqB,KAArB,CAAP;AACD,CAJiE,CAArD;AAMb,OAAA,CAAA,WAAA,CAAY,WAAZ,GAA0B,aAA1B","sourcesContent":["import * as React from 'react';\nimport { Switch } from '@fluentui/react-switch';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from '../../Field';\nimport { getFieldClassNames, renderField_unstable, useFieldStyles_unstable, useField_unstable } from '../../Field';\n\n// The Field's `label` prop overrides the Switch's built-in `label`.\n// Therefore, the Switch's `labelPosition` has no effect and is omitted to avoid confusion.\nexport type SwitchFieldProps = Omit<FieldProps<typeof Switch>, 'labelPosition'>;\n\nexport const switchFieldClassNames = getFieldClassNames('SwitchField');\n\nexport const SwitchField: ForwardRefComponent<SwitchFieldProps> = React.forwardRef((props, ref) => {\n const state = useField_unstable(props, ref, { component: Switch, classNames: switchFieldClassNames });\n useFieldStyles_unstable(state);\n return renderField_unstable(state);\n});\n\nSwitchField.displayName = 'SwitchField';\n"],"sourceRoot":"../src/"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-field",
|
3
|
-
"version": "9.0.0-alpha.
|
3
|
+
"version": "9.0.0-alpha.3",
|
4
4
|
"description": "Fluent UI Field components",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -31,18 +31,18 @@
|
|
31
31
|
"@fluentui/scripts": "^1.0.0"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@fluentui/react-checkbox": "^9.0.
|
35
|
-
"@fluentui/react-combobox": "^9.0.0-beta.
|
34
|
+
"@fluentui/react-checkbox": "^9.0.7",
|
35
|
+
"@fluentui/react-combobox": "^9.0.0-beta.11",
|
36
36
|
"@fluentui/react-context-selector": "^9.0.3",
|
37
37
|
"@fluentui/react-icons": "^2.0.175",
|
38
|
-
"@fluentui/react-input": "^9.
|
38
|
+
"@fluentui/react-input": "^9.2.0",
|
39
39
|
"@fluentui/react-label": "^9.0.6",
|
40
|
-
"@fluentui/react-radio": "^9.0.
|
40
|
+
"@fluentui/react-radio": "^9.0.7",
|
41
41
|
"@fluentui/react-select": "9.0.0-beta.10",
|
42
|
-
"@fluentui/react-slider": "^9.0.
|
43
|
-
"@fluentui/react-spinbutton": "^9.0.
|
44
|
-
"@fluentui/react-switch": "^9.0.
|
45
|
-
"@fluentui/react-textarea": "^9.1.
|
42
|
+
"@fluentui/react-slider": "^9.0.6",
|
43
|
+
"@fluentui/react-spinbutton": "^9.0.3",
|
44
|
+
"@fluentui/react-switch": "^9.0.7",
|
45
|
+
"@fluentui/react-textarea": "^9.1.1",
|
46
46
|
"@fluentui/react-theme": "^9.1.0",
|
47
47
|
"@fluentui/react-utilities": "^9.1.0",
|
48
48
|
"@griffel/react": "^1.3.0",
|