@fluentui/react-label 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-label",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 06 Mar 2023 04:32:58 GMT",
6
- "tag": "@fluentui/react-label_v0.0.0-nightly-20230306-0424.1",
7
- "version": "0.0.0-nightly-20230306-0424.1",
5
+ "date": "Wed, 08 Mar 2023 04:25:03 GMT",
6
+ "tag": "@fluentui/react-label_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,20 +16,26 @@
16
16
  {
17
17
  "author": "beachball",
18
18
  "package": "@fluentui/react-label",
19
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230306-0424.1",
20
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
19
+ "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20230308-0418.1",
20
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
21
21
  },
22
22
  {
23
23
  "author": "beachball",
24
24
  "package": "@fluentui/react-label",
25
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230306-0424.1",
26
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
25
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230308-0418.1",
26
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
27
27
  },
28
28
  {
29
29
  "author": "beachball",
30
30
  "package": "@fluentui/react-label",
31
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230306-0424.1",
32
- "commit": "21155fb094f73d947066cedf7577d2483dfab473"
31
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230308-0418.1",
32
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-label",
37
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230308-0418.1",
38
+ "commit": "18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2"
33
39
  }
34
40
  ]
35
41
  }
package/CHANGELOG.md CHANGED
@@ -1,20 +1,21 @@
1
1
  # Change Log - @fluentui/react-label
2
2
 
3
- This log was last generated on Mon, 06 Mar 2023 04:32:58 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 Mar 2023 04:25:03 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-label_v0.0.0-nightly-20230306-0424.1)
7
+ ## [0.0.0-nightly-20230308-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v0.0.0-nightly-20230308-0418.1)
8
8
 
9
- Mon, 06 Mar 2023 04:32:58 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.22..@fluentui/react-label_v0.0.0-nightly-20230306-0424.1)
9
+ Wed, 08 Mar 2023 04:25:03 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.22..@fluentui/react-label_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-theme to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
16
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20230306-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/21155fb094f73d947066cedf7577d2483dfab473) by beachball)
17
- - 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-shared-contexts to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
16
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
17
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
18
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230308-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/18e00df0c91d25694ab9b35bdc2ca88ba9f5c5b2) by beachball)
18
19
 
19
20
  ## [9.0.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.22)
20
21
 
@@ -2,12 +2,17 @@ import * as React from 'react';
2
2
  import { useLabel_unstable } from './useLabel';
3
3
  import { renderLabel_unstable } from './renderLabel';
4
4
  import { useLabelStyles_unstable } from './useLabelStyles';
5
+ import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
5
6
  /**
6
7
  * A label component provides a title or name to a component.
7
8
  */
8
9
  export const Label = /*#__PURE__*/React.forwardRef((props, ref) => {
9
10
  const state = useLabel_unstable(props, ref);
10
11
  useLabelStyles_unstable(state);
12
+ const {
13
+ useLabelStyles_unstable: useCustomStyles
14
+ } = useCustomStyleHooks_unstable();
15
+ useCustomStyles(state);
11
16
  return renderLabel_unstable(state);
12
17
  });
13
18
  Label.displayName = 'Label';
@@ -1 +1 @@
1
- {"version":3,"names":["React","useLabel_unstable","renderLabel_unstable","useLabelStyles_unstable","Label","forwardRef","props","ref","state","displayName"],"sources":["../../../../../../../../../packages/react-components/react-label/src/components/Label/Label.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLabel_unstable } from './useLabel';\nimport { renderLabel_unstable } from './renderLabel';\nimport { useLabelStyles_unstable } from './useLabelStyles';\nimport type { LabelProps } from './Label.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * A label component provides a title or name to a component.\n */\nexport const Label: ForwardRefComponent<LabelProps> = React.forwardRef((props, ref) => {\n const state = useLabel_unstable(props, ref);\n\n useLabelStyles_unstable(state);\n return renderLabel_unstable(state);\n});\n\nLabel.displayName = 'Label';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,iBAAiB,QAAQ,YAAY;AAC9C,SAASC,oBAAoB,QAAQ,eAAe;AACpD,SAASC,uBAAuB,QAAQ,kBAAkB;AAI1D;;;AAGA,OAAO,MAAMC,KAAK,gBAAoCJ,KAAK,CAACK,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGP,iBAAiB,CAACK,KAAK,EAAEC,GAAG,CAAC;EAE3CJ,uBAAuB,CAACK,KAAK,CAAC;EAC9B,OAAON,oBAAoB,CAACM,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFJ,KAAK,CAACK,WAAW,GAAG,OAAO"}
1
+ {"version":3,"names":["React","useLabel_unstable","renderLabel_unstable","useLabelStyles_unstable","useCustomStyleHooks_unstable","Label","forwardRef","props","ref","state","useCustomStyles","displayName"],"sources":["../../../../../../../../../packages/react-components/react-label/src/components/Label/Label.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLabel_unstable } from './useLabel';\nimport { renderLabel_unstable } from './renderLabel';\nimport { useLabelStyles_unstable } from './useLabelStyles';\nimport type { LabelProps } from './Label.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * A label component provides a title or name to a component.\n */\nexport const Label: ForwardRefComponent<LabelProps> = React.forwardRef((props, ref) => {\n const state = useLabel_unstable(props, ref);\n\n useLabelStyles_unstable(state);\n\n const { useLabelStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderLabel_unstable(state);\n});\n\nLabel.displayName = 'Label';\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,iBAAiB,QAAQ,YAAY;AAC9C,SAASC,oBAAoB,QAAQ,eAAe;AACpD,SAASC,uBAAuB,QAAQ,kBAAkB;AAG1D,SAASC,4BAA4B,QAAQ,iCAAiC;AAE9E;;;AAGA,OAAO,MAAMC,KAAK,gBAAoCL,KAAK,CAACM,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGR,iBAAiB,CAACM,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,OAAOP,oBAAoB,CAACO,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFJ,KAAK,CAACM,WAAW,GAAG,OAAO"}
@@ -8,12 +8,17 @@ const React = /*#__PURE__*/require("react");
8
8
  const useLabel_1 = /*#__PURE__*/require("./useLabel");
9
9
  const renderLabel_1 = /*#__PURE__*/require("./renderLabel");
10
10
  const useLabelStyles_1 = /*#__PURE__*/require("./useLabelStyles");
11
+ const react_shared_contexts_1 = /*#__PURE__*/require("@fluentui/react-shared-contexts");
11
12
  /**
12
13
  * A label component provides a title or name to a component.
13
14
  */
14
15
  exports.Label = /*#__PURE__*/React.forwardRef((props, ref) => {
15
16
  const state = useLabel_1.useLabel_unstable(props, ref);
16
17
  useLabelStyles_1.useLabelStyles_unstable(state);
18
+ const {
19
+ useLabelStyles_unstable: useCustomStyles
20
+ } = react_shared_contexts_1.useCustomStyleHooks_unstable();
21
+ useCustomStyles(state);
17
22
  return renderLabel_1.renderLabel_unstable(state);
18
23
  });
19
24
  exports.Label.displayName = 'Label';
@@ -1 +1 @@
1
- {"version":3,"names":["React","require","useLabel_1","renderLabel_1","useLabelStyles_1","exports","Label","forwardRef","props","ref","state","useLabel_unstable","useLabelStyles_unstable","renderLabel_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-label/src/components/Label/Label.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLabel_unstable } from './useLabel';\nimport { renderLabel_unstable } from './renderLabel';\nimport { useLabelStyles_unstable } from './useLabelStyles';\nimport type { LabelProps } from './Label.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\n/**\n * A label component provides a title or name to a component.\n */\nexport const Label: ForwardRefComponent<LabelProps> = React.forwardRef((props, ref) => {\n const state = useLabel_unstable(props, ref);\n\n useLabelStyles_unstable(state);\n return renderLabel_unstable(state);\n});\n\nLabel.displayName = 'Label';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AACA,MAAAC,UAAA,gBAAAD,OAAA;AACA,MAAAE,aAAA,gBAAAF,OAAA;AACA,MAAAG,gBAAA,gBAAAH,OAAA;AAIA;;;AAGaI,OAAA,CAAAC,KAAK,gBAAoCN,KAAK,CAACO,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGR,UAAA,CAAAS,iBAAiB,CAACH,KAAK,EAAEC,GAAG,CAAC;EAE3CL,gBAAA,CAAAQ,uBAAuB,CAACF,KAAK,CAAC;EAC9B,OAAOP,aAAA,CAAAU,oBAAoB,CAACH,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFL,OAAA,CAAAC,KAAK,CAACQ,WAAW,GAAG,OAAO"}
1
+ {"version":3,"names":["React","require","useLabel_1","renderLabel_1","useLabelStyles_1","react_shared_contexts_1","exports","Label","forwardRef","props","ref","state","useLabel_unstable","useLabelStyles_unstable","useCustomStyles","useCustomStyleHooks_unstable","renderLabel_unstable","displayName"],"sources":["../../../../../../../../../packages/react-components/react-label/src/components/Label/Label.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLabel_unstable } from './useLabel';\nimport { renderLabel_unstable } from './renderLabel';\nimport { useLabelStyles_unstable } from './useLabelStyles';\nimport type { LabelProps } from './Label.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * A label component provides a title or name to a component.\n */\nexport const Label: ForwardRefComponent<LabelProps> = React.forwardRef((props, ref) => {\n const state = useLabel_unstable(props, ref);\n\n useLabelStyles_unstable(state);\n\n const { useLabelStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderLabel_unstable(state);\n});\n\nLabel.displayName = 'Label';\n"],"mappings":";;;;;;AAAA,MAAAA,KAAA,gBAAAC,OAAA;AACA,MAAAC,UAAA,gBAAAD,OAAA;AACA,MAAAE,aAAA,gBAAAF,OAAA;AACA,MAAAG,gBAAA,gBAAAH,OAAA;AAGA,MAAAI,uBAAA,gBAAAJ,OAAA;AAEA;;;AAGaK,OAAA,CAAAC,KAAK,gBAAoCP,KAAK,CAACQ,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;EACpF,MAAMC,KAAK,GAAGT,UAAA,CAAAU,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,OAAOR,aAAA,CAAAa,oBAAoB,CAACL,KAAK,CAAC;AACpC,CAAC,CAAC;AAEFL,OAAA,CAAAC,KAAK,CAACU,WAAW,GAAG,OAAO"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-label",
3
- "version": "0.0.0-nightly-20230306-0424.1",
3
+ "version": "0.0.0-nightly-20230308-0418.1",
4
4
  "description": "Fluent UI React Label component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -27,13 +27,14 @@
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-theme": "0.0.0-nightly-20230306-0424.1",
36
- "@fluentui/react-utilities": "0.0.0-nightly-20230306-0424.1",
35
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20230308-0418.1",
36
+ "@fluentui/react-theme": "0.0.0-nightly-20230308-0418.1",
37
+ "@fluentui/react-utilities": "0.0.0-nightly-20230308-0418.1",
37
38
  "@griffel/react": "^1.5.2",
38
39
  "tslib": "^2.1.0"
39
40
  },