@fluentui/react-label 0.0.0-nightly627ad67f1120211109.1 → 0.0.0-nightly8c37bdfa2420220107.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,66 +2,176 @@
2
2
  "name": "@fluentui/react-label",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 09 Nov 2021 04:20:25 GMT",
6
- "tag": "@fluentui/react-label_v0.0.0-nightly627ad67f1120211109.1",
7
- "version": "0.0.0-nightly627ad67f1120211109.1",
5
+ "date": "Fri, 07 Jan 2022 04:18:17 GMT",
6
+ "tag": "@fluentui/react-label_v0.0.0-nightly8c37bdfa2420220107.1",
7
+ "version": "0.0.0-nightly8c37bdfa2420220107.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-label",
13
- "commit": "5e2f04f4741a9e3b98463480f9c1926ea2006337",
13
+ "commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
16
  {
17
- "author": "gcox@microsoft.com",
17
+ "author": "Humberto.Morimoto@microsoft.com",
18
18
  "package": "@fluentui/react-label",
19
- "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
20
- "comment": "Updated beta and RC components to ES2019"
19
+ "commit": "a052fbc9204600669d32b0ac346032d2cd8d9204",
20
+ "comment": "react-label: Replacing use of functions in makeStyles with direct use of tokens."
21
21
  },
22
22
  {
23
- "author": "olfedias@microsoft.com",
23
+ "author": "beachball",
24
24
  "package": "@fluentui/react-label",
25
- "commit": "9186578324773f95f4d61be3d70e67752159d843",
26
- "comment": "export static classes for components"
25
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly8c37bdfa2420220107.1",
26
+ "commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-label",
31
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly627ad67f1120211109.1",
32
- "commit": "5e2f04f4741a9e3b98463480f9c1926ea2006337"
31
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly8c37bdfa2420220107.1",
32
+ "commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44"
33
33
  },
34
34
  {
35
35
  "author": "beachball",
36
36
  "package": "@fluentui/react-label",
37
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly627ad67f1120211109.1",
38
- "commit": "5e2f04f4741a9e3b98463480f9c1926ea2006337"
37
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly8c37bdfa2420220107.1",
38
+ "commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44"
39
39
  },
40
40
  {
41
41
  "author": "beachball",
42
42
  "package": "@fluentui/react-label",
43
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly627ad67f1120211109.1",
44
- "commit": "5e2f04f4741a9e3b98463480f9c1926ea2006337"
43
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly8c37bdfa2420220107.1",
44
+ "commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44"
45
45
  },
46
46
  {
47
47
  "author": "beachball",
48
48
  "package": "@fluentui/react-label",
49
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly627ad67f1120211109.1",
50
- "commit": "5e2f04f4741a9e3b98463480f9c1926ea2006337"
49
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly8c37bdfa2420220107.1",
50
+ "commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44"
51
+ }
52
+ ],
53
+ "none": [
54
+ {
55
+ "author": "elcraig@microsoft.com",
56
+ "package": "@fluentui/react-label",
57
+ "commit": "d892c7f79c543b6008634ecd669b75b5108cad46",
58
+ "comment": "Relocate comment about props to the correct type, and update spec to accurately reflect props"
59
+ },
60
+ {
61
+ "author": "andredias@microsoft.com",
62
+ "package": "@fluentui/react-label",
63
+ "commit": "084a7183511bae60a43e57fbd57979349c4736a4",
64
+ "comment": "Migrate package to use solution tsconfigs"
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ {
70
+ "date": "Thu, 25 Nov 2021 08:34:14 GMT",
71
+ "tag": "@fluentui/react-label_v9.0.0-beta.4",
72
+ "version": "9.0.0-beta.4",
73
+ "comments": {
74
+ "prerelease": [
75
+ {
76
+ "author": "ololubek@microsoft.com",
77
+ "package": "@fluentui/react-label",
78
+ "commit": "a683ee69b17c667227acb71c59f609b4f1ca1ef9",
79
+ "comment": "Add aria-hidden to Label required field"
51
80
  },
52
81
  {
53
82
  "author": "beachball",
54
83
  "package": "@fluentui/react-label",
55
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly627ad67f1120211109.1",
56
- "commit": "5e2f04f4741a9e3b98463480f9c1926ea2006337"
84
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
85
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
86
+ },
87
+ {
88
+ "author": "beachball",
89
+ "package": "@fluentui/react-label",
90
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
91
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
92
+ },
93
+ {
94
+ "author": "beachball",
95
+ "package": "@fluentui/react-label",
96
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
97
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
98
+ },
99
+ {
100
+ "author": "beachball",
101
+ "package": "@fluentui/react-label",
102
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
103
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
104
+ },
105
+ {
106
+ "author": "beachball",
107
+ "package": "@fluentui/react-label",
108
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
109
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
57
110
  }
58
- ],
111
+ ]
112
+ }
113
+ },
114
+ {
115
+ "date": "Fri, 12 Nov 2021 13:25:25 GMT",
116
+ "tag": "@fluentui/react-label_v9.0.0-beta.3",
117
+ "version": "9.0.0-beta.3",
118
+ "comments": {
59
119
  "none": [
60
120
  {
61
121
  "author": "lingfangao@hotmail.com",
62
122
  "package": "@fluentui/react-label",
63
123
  "commit": "7eff1eb4a259988273f8bc709e2951dbb8e0b695",
64
124
  "comment": "chore(Label): Rework documentation to desired format"
125
+ },
126
+ {
127
+ "author": "lingfangao@hotmail.com",
128
+ "package": "@fluentui/react-label",
129
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
130
+ "comment": "Remove beta release tag"
131
+ }
132
+ ],
133
+ "prerelease": [
134
+ {
135
+ "author": "gcox@microsoft.com",
136
+ "package": "@fluentui/react-label",
137
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
138
+ "comment": "Updated beta and RC components to ES2019"
139
+ },
140
+ {
141
+ "author": "olfedias@microsoft.com",
142
+ "package": "@fluentui/react-label",
143
+ "commit": "9186578324773f95f4d61be3d70e67752159d843",
144
+ "comment": "export static classes for components"
145
+ },
146
+ {
147
+ "author": "beachball",
148
+ "package": "@fluentui/react-label",
149
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
150
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
151
+ },
152
+ {
153
+ "author": "beachball",
154
+ "package": "@fluentui/react-label",
155
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
156
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
157
+ },
158
+ {
159
+ "author": "beachball",
160
+ "package": "@fluentui/react-label",
161
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
162
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
163
+ },
164
+ {
165
+ "author": "beachball",
166
+ "package": "@fluentui/react-label",
167
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
168
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
169
+ },
170
+ {
171
+ "author": "beachball",
172
+ "package": "@fluentui/react-label",
173
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
174
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
65
175
  }
66
176
  ]
67
177
  }
package/CHANGELOG.md CHANGED
@@ -1,24 +1,52 @@
1
1
  # Change Log - @fluentui/react-label
2
2
 
3
- This log was last generated on Tue, 09 Nov 2021 04:20:25 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 07 Jan 2022 04:18:17 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly627ad67f1120211109.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v0.0.0-nightly627ad67f1120211109.1)
7
+ ## [0.0.0-nightly8c37bdfa2420220107.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v0.0.0-nightly8c37bdfa2420220107.1)
8
8
 
9
- Tue, 09 Nov 2021 04:20:25 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.2..@fluentui/react-label_v0.0.0-nightly627ad67f1120211109.1)
9
+ Fri, 07 Jan 2022 04:18:17 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.4..@fluentui/react-label_v0.0.0-nightly8c37bdfa2420220107.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by email not defined)
15
+ - react-label: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21046](https://github.com/microsoft/fluentui/pull/21046) by Humberto.Morimoto@microsoft.com)
16
+ - Bump @fluentui/react-make-styles to v0.0.0-nightly8c37bdfa2420220107.1 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by beachball)
17
+ - Bump @fluentui/react-utilities to v0.0.0-nightly8c37bdfa2420220107.1 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by beachball)
18
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightly8c37bdfa2420220107.1 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by beachball)
19
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly8c37bdfa2420220107.1 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by beachball)
20
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly8c37bdfa2420220107.1 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by beachball)
21
+
22
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.4)
23
+
24
+ Thu, 25 Nov 2021 08:34:14 GMT
25
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.3..@fluentui/react-label_v9.0.0-beta.4)
26
+
27
+ ### Changes
28
+
29
+ - Add aria-hidden to Label required field ([PR #20680](https://github.com/microsoft/fluentui/pull/20680) by ololubek@microsoft.com)
30
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
31
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
32
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
33
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
34
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
35
+
36
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.3)
37
+
38
+ Fri, 12 Nov 2021 13:25:25 GMT
39
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.2..@fluentui/react-label_v9.0.0-beta.3)
11
40
 
12
41
  ### Changes
13
42
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by email not defined)
15
43
  - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
16
44
  - export static classes for components ([PR #20456](https://github.com/microsoft/fluentui/pull/20456) by olfedias@microsoft.com)
17
- - Bump @fluentui/react-make-styles to v0.0.0-nightly627ad67f1120211109.1 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by beachball)
18
- - Bump @fluentui/react-utilities to v0.0.0-nightly627ad67f1120211109.1 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by beachball)
19
- - Bump @fluentui/babel-make-styles to v0.0.0-nightly627ad67f1120211109.1 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by beachball)
20
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly627ad67f1120211109.1 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by beachball)
21
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly627ad67f1120211109.1 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by beachball)
45
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
46
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
47
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
48
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
49
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
22
50
 
23
51
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.2)
24
52
 
package/Spec.md CHANGED
@@ -75,55 +75,48 @@ The Label component should be simple as shown below. It will just need the text
75
75
  ## API
76
76
 
77
77
  ```ts
78
- /**
79
- * Label Props
80
- */
81
- export type LabelProps = ComponentProps &
82
- React.LabelHTMLAttributes<HTMLElement> & {
83
- /**
84
- * Renders the label as disabled
85
- * @defaultvalue false
86
- */
87
- disabled?: boolean;
88
-
89
- /**
90
- * Whether the associated form field is required or not. If true it will be an asterisk, otherwise it will be what is provided.
91
- * @defaultvalue false
92
- */
93
- required?: boolean | ShorthandProps<ComponentProps>;
78
+ export type LabelCommons = {
79
+ /**
80
+ * Renders the label as disabled
81
+ * @defaultvalue false
82
+ */
83
+ disabled: boolean;
94
84
 
95
- /**
96
- * A label supports different font sizes, see tokens for reference.
97
- * @defaultvalue 'medium'
98
- */
99
- size?: 'small' | 'medium' | 'large';
85
+ /**
86
+ * A label supports different sizes.
87
+ * @defaultvalue 'medium'
88
+ */
89
+ size: 'small' | 'medium' | 'large';
100
90
 
101
- /**
102
- * A label supports semibold/strong fontweight. When size is set to large, label strong will be set by default.
103
- * @defaultvalue false
104
- */
105
- strong?: boolean;
106
- };
91
+ /**
92
+ * A label supports semibold/strong fontweight.
93
+ * @defaultvalue false
94
+ */
95
+ strong: boolean;
96
+ };
107
97
 
108
- /**
109
- * Names of the shorthand properties in LabelProps
110
- */
111
- export type LabelShorthandProps = 'required';
98
+ export type LabelSlots = {
99
+ root: IntrinsicShorthandProps<'label'>;
100
+ required?: IntrinsicShorthandProps<'span'>;
101
+ };
112
102
 
113
103
  /**
114
- * Names of LabelProps that have a default value in useLabel
104
+ * State used in rendering Label
115
105
  */
116
- export type LabelDefaultedProps = never;
106
+ export type LabelState = ComponentState<LabelSlots> & LabelCommons;
117
107
 
118
108
  /**
119
- * State used in rendering Label
109
+ * Label Props
120
110
  */
121
- export type LabelState = ComponentState<LabelProps, LabelShorthandProps, LabelDefaultedProps> & {
122
- /**
123
- * Ref to the root element
124
- */
125
- ref: React.Ref<HTMLElement>;
126
- };
111
+ export type LabelProps = Omit<ComponentProps<LabelSlots>, 'required'> &
112
+ Partial<LabelCommons> & {
113
+ /**
114
+ * Displays and indicator that the label is for a required field. The required prop can be set to true to display
115
+ * an asterisk (*). Or it can be set to a string or jsx content to display a different indicator.
116
+ * @defaultvalue false
117
+ */
118
+ required?: boolean | ObjectShorthandProps<React.HTMLAttributes<HTMLElement>> | React.ReactNode;
119
+ };
127
120
  ```
128
121
 
129
122
  ## Structure
@@ -12,9 +12,6 @@ export declare const Label: ForwardRefComponent<LabelProps>;
12
12
 
13
13
  export declare const labelClassName = "fui-Label";
14
14
 
15
- /**
16
- * Label Props
17
- */
18
15
  export declare type LabelCommons = {
19
16
  /**
20
17
  * Renders the label as disabled
@@ -33,6 +30,9 @@ export declare type LabelCommons = {
33
30
  strong: boolean;
34
31
  };
35
32
 
33
+ /**
34
+ * Label Props
35
+ */
36
36
  export declare type LabelProps = Omit<ComponentProps<LabelSlots>, 'required'> & Partial<LabelCommons> & {
37
37
  /**
38
38
  * Displays and indicator that the label is for a required field. The required prop can be set to true to display
@@ -1,8 +1,5 @@
1
1
  import type { ComponentProps, ComponentState, IntrinsicShorthandProps, ObjectShorthandProps } from '@fluentui/react-utilities';
2
2
  import * as React from 'react';
3
- /**
4
- * Label Props
5
- */
6
3
  export declare type LabelCommons = {
7
4
  /**
8
5
  * Renders the label as disabled
@@ -28,6 +25,9 @@ export declare type LabelSlots = {
28
25
  * State used in rendering Label
29
26
  */
30
27
  export declare type LabelState = ComponentState<LabelSlots> & LabelCommons;
28
+ /**
29
+ * Label Props
30
+ */
31
31
  export declare type LabelProps = Omit<ComponentProps<LabelSlots>, 'required'> & Partial<LabelCommons> & {
32
32
  /**
33
33
  * Displays and indicator that the label is for a required field. The required prop can be set to true to display
@@ -10,6 +10,8 @@ export const renderLabel = state => {
10
10
  slots,
11
11
  slotProps
12
12
  } = getSlots(state, labelShorthandProps);
13
- return /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root), state.root.children, /*#__PURE__*/React.createElement(slots.required, Object.assign({}, slotProps.required)));
13
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
14
+ }, state.root.children, /*#__PURE__*/React.createElement(slots.required, { ...slotProps.required
15
+ }));
14
16
  };
15
17
  //# sourceMappingURL=renderLabel.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Label/renderLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AACA,SAAS,mBAAT,QAAoC,YAApC;AAGA;;AAEG;;AACH,OAAO,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAa,KAAb,EAAoB,mBAApB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,EACG,KAAK,CAAC,IAAN,CAAW,QADd,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,QAAP,EAAe,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,QAAf,CAAf,CAFF,CADF;AAMD,CATM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Label/renderLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AACA,SAAS,mBAAT,QAAoC,YAApC;AAGA;;AAEG;;AACH,OAAO,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAa,KAAb,EAAoB,mBAApB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,IAAN,CAAW,QADd,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,QAAP,EAAe,EAAA,GAAK,SAAS,CAAC;AAAf,GAAf,CAFF,CADF;AAMD,CATM","sourceRoot":""}
@@ -28,7 +28,8 @@ export const useLabel = (props, ref) => {
28
28
  required: resolveShorthand(required === false ? null : required, {
29
29
  required: !!required,
30
30
  defaultProps: {
31
- children: '*'
31
+ children: '*',
32
+ 'aria-hidden': 'true'
32
33
  }
33
34
  }),
34
35
  strong,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Label/useLabel.tsx"],"names":[],"mappings":"AACA,SAAS,qBAAT,QAAsC,2BAAtC;AAEA,SAAS,gBAAT,QAAiC,2BAAjC;AAEA;;;AAGG;;AACH,OAAO,MAAM,mBAAmB,GAA4B,CAAC,MAAD,EAAS,UAAT,CAArD;AAEP;;;;;;;;AAQG;;AACH,OAAO,MAAM,QAAQ,GAAG,CAAC,KAAD,EAAoB,GAApB,KAA+D;AACrF,QAAM;AAAE,IAAA,QAAQ,GAAG,KAAb;AAAoB,IAAA,QAAQ,GAAG,KAA/B;AAAsC,IAAA,MAAM,GAAG,KAA/C;AAAsD,IAAA,IAAI,GAAG;AAA7D,MAA0E,KAAhF;AACA,SAAO;AACL,IAAA,QADK;AAEL,IAAA,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,KAAK,KAAb,GAAqB,IAArB,GAA4B,QAA7B,EAAuC;AAC/D,MAA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,CAAC,OAAD,EAAU;AAAE,MAAA,GAAF;AAAO,SAAG;AAAV,KAAV;AATtB,GAAP;AAWD,CAbM","sourceRoot":""}
@@ -1,4 +1,5 @@
1
1
  import { __styles, mergeClasses } from '@fluentui/react-make-styles';
2
+ import { tokens } from '@fluentui/react-theme';
2
3
  export const labelClassName = 'fui-Label';
3
4
  /**
4
5
  * Styles for the label
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Label/useLabelStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAGA,OAAO,MAAM,cAAc,GAAG,WAAvB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAoCA;;AAEG;;;AACH,OAAO,MAAM,cAAc,GAAI,KAAD,IAAkC;AAC9D,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,cADiC,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAHQ,EAIjC,MAAM,CAAC,KAAK,CAAC,IAAP,CAJ2B,EAKjC,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MALU,EAMjC,KAAK,CAAC,IAAN,CAAW,SANsB,CAAnC;;AASA,MAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,IAAA,KAAK,CAAC,QAAN,CAAe,SAAf,GAA2B,YAAY,CAAC,MAAM,CAAC,QAAR,EAAkB,KAAK,CAAC,QAAN,CAAe,SAAjC,CAAvC;AACD;;AAED,SAAO,KAAP;AACD,CAhBM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Label/useLabelStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAEA,SAAS,MAAT,QAAuB,uBAAvB;AAGA,OAAO,MAAM,cAAc,GAAG,WAAvB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAoCA;;AAEG;;;AACH,OAAO,MAAM,cAAc,GAAI,KAAD,IAAkC;AAC9D,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,cADiC,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAHQ,EAIjC,MAAM,CAAC,KAAK,CAAC,IAAP,CAJ2B,EAKjC,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MALU,EAMjC,KAAK,CAAC,IAAN,CAAW,SANsB,CAAnC;;AASA,MAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,IAAA,KAAK,CAAC,QAAN,CAAe,SAAf,GAA2B,YAAY,CAAC,MAAM,CAAC,QAAR,EAAkB,KAAK,CAAC,QAAN,CAAe,SAAjC,CAAvC;AACD;;AAED,SAAO,KAAP;AACD,CAhBM","sourceRoot":""}
@@ -1,8 +1,5 @@
1
1
  import type { ComponentProps, ComponentState, IntrinsicShorthandProps, ObjectShorthandProps } from '@fluentui/react-utilities';
2
2
  import * as React from 'react';
3
- /**
4
- * Label Props
5
- */
6
3
  export declare type LabelCommons = {
7
4
  /**
8
5
  * Renders the label as disabled
@@ -28,6 +25,9 @@ export declare type LabelSlots = {
28
25
  * State used in rendering Label
29
26
  */
30
27
  export declare type LabelState = ComponentState<LabelSlots> & LabelCommons;
28
+ /**
29
+ * Label Props
30
+ */
31
31
  export declare type LabelProps = Omit<ComponentProps<LabelSlots>, 'required'> & Partial<LabelCommons> & {
32
32
  /**
33
33
  * Displays and indicator that the label is for a required field. The required prop can be set to true to display
@@ -20,7 +20,9 @@ const renderLabel = state => {
20
20
  slots,
21
21
  slotProps
22
22
  } = react_utilities_1.getSlots(state, useLabel_1.labelShorthandProps);
23
- return React.createElement(slots.root, Object.assign({}, slotProps.root), state.root.children, React.createElement(slots.required, Object.assign({}, slotProps.required)));
23
+ return React.createElement(slots.root, { ...slotProps.root
24
+ }, state.root.children, React.createElement(slots.required, { ...slotProps.required
25
+ }));
24
26
  };
25
27
 
26
28
  exports.renderLabel = renderLabel;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Label/renderLabel.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,UAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAqB,KAArB,EAA4B,UAAA,CAAA,mBAA5B,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,EACG,KAAK,CAAC,IAAN,CAAW,QADd,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,QAAP,EAAe,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,QAAf,CAAf,CAFF,CADF;AAMD,CATM;;AAAM,OAAA,CAAA,WAAA,GAAW,WAAX","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Label/renderLabel.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,UAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAqB,KAArB,EAA4B,UAAA,CAAA,mBAA5B,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,IAAN,CAAW,QADd,EAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,QAAP,EAAe,EAAA,GAAK,SAAS,CAAC;AAAf,GAAf,CAFF,CADF;AAMD,CATM;;AAAM,OAAA,CAAA,WAAA,GAAW,WAAX","sourceRoot":""}
@@ -37,7 +37,8 @@ const useLabel = (props, ref) => {
37
37
  required: react_utilities_2.resolveShorthand(required === false ? null : required, {
38
38
  required: !!required,
39
39
  defaultProps: {
40
- children: '*'
40
+ children: '*',
41
+ 'aria-hidden': 'true'
41
42
  }
42
43
  }),
43
44
  strong,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Label/useLabel.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAEA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAEA;;;AAGG;;;AACU,OAAA,CAAA,mBAAA,GAA+C,CAAC,MAAD,EAAS,UAAT,CAA/C;AAEb;;;;;;;;AAQG;;AACI,MAAM,QAAQ,GAAG,CAAC,KAAD,EAAoB,GAApB,KAA+D;AACrF,QAAM;AAAE,IAAA,QAAQ,GAAG,KAAb;AAAoB,IAAA,QAAQ,GAAG,KAA/B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AArB,GAA4B,QAA7C,EAAuD;AAC/D,MAAA,QAAQ,EAAE,CAAC,CAAC,QADmD;AAE/D,MAAA,YAAY,EAAE;AAAE,QAAA,QAAQ,EAAE,GAAZ;AAAiB,uBAAe;AAAhC;AAFiD,KAAvD,CAFL;AAML,IAAA,MANK;AAOL,IAAA,IAPK;AAQL,IAAA,UAAU,EAAE;AAAE,MAAA,IAAI,EAAE,OAAR;AAAiB,MAAA,QAAQ,EAAE;AAA3B,KARP;AASL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CAAsB,OAAtB,EAA+B;AAAE,MAAA,GAAF;AAAO,SAAG;AAAV,KAA/B;AATD,GAAP;AAWD,CAbM;;AAAM,OAAA,CAAA,QAAA,GAAQ,QAAR","sourceRoot":""}
@@ -7,6 +7,8 @@ exports.useLabelStyles = exports.labelClassName = void 0;
7
7
 
8
8
  const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
9
9
 
10
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
11
+
10
12
  exports.labelClassName = 'fui-Label';
11
13
  /**
12
14
  * Styles for the label
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Label/useLabelStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,cAAA,GAAiB,WAAjB;AAEb;;AAEG;;AACH,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAoCA;;AAEG;;;AACI,MAAM,cAAc,GAAI,KAAD,IAAkC;AAC9D,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,S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,EAIrB,MAAM,CAAC,KAAK,CAAC,IAAP,CAJe,EAKrB,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MALF,EAMrB,KAAK,CAAC,IAAN,CAAW,SANU,CAAvB;;AASA,MAAI,KAAK,CAAC,QAAV,EAAoB;AAClB,IAAA,KAAK,CAAC,QAAN,CAAe,SAAf,GAA2B,mBAAA,CAAA,YAAA,CAAa,MAAM,CAAC,QAApB,EAA8B,KAAK,CAAC,QAAN,CAAe,SAA7C,CAA3B;AACD;;AAED,SAAO,KAAP;AACD,CAhBM;;AAAM,OAAA,CAAA,cAAA,GAAc,cAAd","sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-label",
3
- "version": "0.0.0-nightly627ad67f1120211109.1",
3
+ "version": "0.0.0-nightly8c37bdfa2420220107.1",
4
4
  "description": "Label component for FluentUI library.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -19,17 +19,18 @@
19
19
  "just": "just-scripts",
20
20
  "lint": "just-scripts lint",
21
21
  "start": "yarn storybook",
22
- "test": "jest",
22
+ "test": "jest --passWithNoTests",
23
23
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
24
- "build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/packages/react-label/src && yarn docs",
25
- "storybook": "start-storybook"
24
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-label/src && yarn docs",
25
+ "storybook": "start-storybook",
26
+ "type-check": "tsc -b tsconfig.json"
26
27
  },
27
28
  "devDependencies": {
28
- "@fluentui/babel-make-styles": "0.0.0-nightly627ad67f1120211109.1",
29
+ "@fluentui/babel-make-styles": "0.0.0-nightly8c37bdfa2420220107.1",
29
30
  "@fluentui/eslint-plugin": "*",
30
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightly627ad67f1120211109.1",
31
+ "@fluentui/jest-serializer-make-styles": "0.0.0-nightly8c37bdfa2420220107.1",
31
32
  "@fluentui/react-conformance": "*",
32
- "@fluentui/react-conformance-make-styles": "0.0.0-nightly627ad67f1120211109.1",
33
+ "@fluentui/react-conformance-make-styles": "0.0.0-nightly8c37bdfa2420220107.1",
33
34
  "@fluentui/scripts": "^1.0.0",
34
35
  "@types/enzyme": "3.10.3",
35
36
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -43,8 +44,8 @@
43
44
  "react-test-renderer": "^16.3.0"
44
45
  },
45
46
  "dependencies": {
46
- "@fluentui/react-make-styles": "0.0.0-nightly627ad67f1120211109.1",
47
- "@fluentui/react-utilities": "0.0.0-nightly627ad67f1120211109.1",
47
+ "@fluentui/react-make-styles": "0.0.0-nightly8c37bdfa2420220107.1",
48
+ "@fluentui/react-utilities": "0.0.0-nightly8c37bdfa2420220107.1",
48
49
  "tslib": "^2.1.0"
49
50
  },
50
51
  "peerDependencies": {
@@ -54,7 +55,6 @@
54
55
  "react-dom": ">=16.8.0 <18.0.0"
55
56
  },
56
57
  "beachball": {
57
- "tag": "beta",
58
58
  "disallowedChangeTypes": [
59
59
  "major",
60
60
  "minor",
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,11 +0,0 @@
1
- import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
2
- import makeStylesTests from '@fluentui/react-conformance-make-styles';
3
- export function isConformant(testInfo) {
4
- const defaultOptions = {
5
- asPropHandlesRef: true,
6
- componentPath: module.parent.filename.replace('.test', ''),
7
- extraTests: makeStylesTests
8
- };
9
- baseIsConformant(defaultOptions, testInfo);
10
- }
11
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAEA,OAAO,eAAP,MAA4B,yCAA5B;AAEA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,UAAU,EAAE;AAH+C,GAA7D;AAMA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isConformant = void 0;
7
-
8
- const react_conformance_1 = /*#__PURE__*/require("@fluentui/react-conformance");
9
-
10
- const react_conformance_make_styles_1 = /*#__PURE__*/require("@fluentui/react-conformance-make-styles");
11
-
12
- function isConformant(testInfo) {
13
- const defaultOptions = {
14
- asPropHandlesRef: true,
15
- componentPath: module.parent.filename.replace('.test', ''),
16
- extraTests: react_conformance_make_styles_1.default
17
- };
18
- react_conformance_1.isConformant(defaultOptions, testInfo);
19
- }
20
-
21
- exports.isConformant = isConformant;
22
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAEA,MAAA,+BAAA,gBAAA,OAAA,CAAA,yCAAA,CAAA;;AAEA,SAAgB,YAAhB,CACE,QADF,EAC2F;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,UAAU,EAAE,+BAAA,CAAA;AAH+C,GAA7D;AAMA,EAAA,mBAAA,CAAA,YAAA,CAAiB,cAAjB,EAAiC,QAAjC;AACD;;AAVD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}