@fluentui/react-label 0.0.0-nightly-20220513-0417.1 → 0.0.0-nightly-20220518-0420.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": "Fri, 13 May 2022 04:26:59 GMT",
6
- "tag": "@fluentui/react-label_v0.0.0-nightly-20220513-0417.1",
7
- "version": "0.0.0-nightly-20220513-0417.1",
5
+ "date": "Wed, 18 May 2022 04:34:39 GMT",
6
+ "tag": "@fluentui/react-label_v0.0.0-nightly-20220518-0420.1",
7
+ "version": "0.0.0-nightly-20220518-0420.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -13,17 +13,41 @@
13
13
  "commit": "0fac2d7a6f35c5fcebaf30da68b9604410fe0eb9",
14
14
  "comment": "update README and package version"
15
15
  },
16
+ {
17
+ "author": "martinhochel@microsoft.com",
18
+ "package": "@fluentui/react-label",
19
+ "commit": "692e6916819ee07a1dfb0d99ac2ffbdd0d75252f",
20
+ "comment": "feat: ship rolluped only dts"
21
+ },
16
22
  {
17
23
  "author": "esteban.230@hotmail.com",
18
24
  "package": "@fluentui/react-label",
19
25
  "commit": "6b3b09b6f05e6a17a578a65fc36b606e3004efe9",
20
26
  "comment": "Removing commons type from Label."
21
27
  },
28
+ {
29
+ "author": "olfedias@microsoft.com",
30
+ "package": "@fluentui/react-label",
31
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
32
+ "comment": "chore: Update Griffel to latest version"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-label",
37
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220518-0420.1",
38
+ "commit": "c740a24cded647abf63433112cb9a07ed03d161a"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-label",
43
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220518-0420.1",
44
+ "commit": "c740a24cded647abf63433112cb9a07ed03d161a"
45
+ },
22
46
  {
23
47
  "author": "beachball",
24
48
  "package": "@fluentui/react-label",
25
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220513-0417.1",
26
- "commit": "d214cb1888cee2c326ebf2b379d639002ec5798e"
49
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220518-0420.1",
50
+ "commit": "c740a24cded647abf63433112cb9a07ed03d161a"
27
51
  }
28
52
  ]
29
53
  }
package/CHANGELOG.md CHANGED
@@ -1,19 +1,23 @@
1
1
  # Change Log - @fluentui/react-label
2
2
 
3
- This log was last generated on Fri, 13 May 2022 04:26:59 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 18 May 2022 04:34:39 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220513-0417.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v0.0.0-nightly-20220513-0417.1)
7
+ ## [0.0.0-nightly-20220518-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v0.0.0-nightly-20220518-0420.1)
8
8
 
9
- Fri, 13 May 2022 04:26:59 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.12..@fluentui/react-label_v0.0.0-nightly-20220513-0417.1)
9
+ Wed, 18 May 2022 04:34:39 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-label_v9.0.0-beta.12..@fluentui/react-label_v0.0.0-nightly-20220518-0420.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - update README and package version ([PR #22865](https://github.com/microsoft/fluentui/pull/22865) by esteban.230@hotmail.com)
15
+ - feat: ship rolluped only dts ([PR #22793](https://github.com/microsoft/fluentui/pull/22793) by martinhochel@microsoft.com)
15
16
  - Removing commons type from Label. ([PR #22880](https://github.com/microsoft/fluentui/pull/22880) by esteban.230@hotmail.com)
16
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220513-0417.1 ([commit](https://github.com/microsoft/fluentui/commit/d214cb1888cee2c326ebf2b379d639002ec5798e) by beachball)
17
+ - chore: Update Griffel to latest version ([PR #22894](https://github.com/microsoft/fluentui/pull/22894) by olfedias@microsoft.com)
18
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20220518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/c740a24cded647abf63433112cb9a07ed03d161a) by beachball)
19
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20220518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/c740a24cded647abf63433112cb9a07ed03d161a) by beachball)
20
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220518-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/c740a24cded647abf63433112cb9a07ed03d161a) by beachball)
17
21
 
18
22
  ## [9.0.0-beta.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-label_v9.0.0-beta.12)
19
23
 
File without changes
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-label",
3
- "version": "0.0.0-nightly-20220513-0417.1",
3
+ "version": "0.0.0-nightly-20220518-0420.1",
4
4
  "description": "Fluent UI React Label component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "lib/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -28,13 +28,13 @@
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
30
  "@fluentui/react-conformance": "*",
31
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220513-0417.1",
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220518-0420.1",
32
32
  "@fluentui/scripts": "^1.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-theme": "0.0.0-nightly-20220513-0417.0",
36
- "@fluentui/react-utilities": "0.0.0-nightly-20220513-0417.0",
37
- "@griffel/react": "1.0.3",
35
+ "@fluentui/react-theme": "0.0.0-nightly-20220518-0420.1",
36
+ "@fluentui/react-utilities": "0.0.0-nightly-20220518-0420.1",
37
+ "@griffel/react": "1.0.4",
38
38
  "tslib": "^2.1.0"
39
39
  },
40
40
  "peerDependencies": {
package/lib/Label.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Label/index';
@@ -1,6 +0,0 @@
1
- import type { LabelProps } from './Label.types';
2
- import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
- /**
4
- * A label component provides a title or name to a component.
5
- */
6
- export declare const Label: ForwardRefComponent<LabelProps>;
@@ -1,35 +0,0 @@
1
- import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
2
- /**
3
- * Label Props
4
- */
5
- export declare type LabelProps = Omit<ComponentProps<LabelSlots>, 'required'> & {
6
- /**
7
- * Renders the label as disabled
8
- * @default false
9
- */
10
- disabled?: boolean;
11
- /**
12
- * Displays an indicator that the label is for a required field. The required prop can be set to true to display
13
- * an asterisk (*). Or it can be set to a string or jsx content to display a different indicator.
14
- * @default false
15
- */
16
- required?: boolean | Slot<'span'>;
17
- /**
18
- * A label supports different sizes.
19
- * @default 'medium'
20
- */
21
- size?: 'small' | 'medium' | 'large';
22
- /**
23
- * A label supports semibold/strong fontweight.
24
- * @default false
25
- */
26
- strong?: boolean;
27
- };
28
- export declare type LabelSlots = {
29
- root: Slot<'label'>;
30
- required?: Slot<'span'>;
31
- };
32
- /**
33
- * State used in rendering Label
34
- */
35
- export declare type LabelState = ComponentState<LabelSlots> & Required<Pick<LabelProps, 'disabled' | 'size' | 'strong'>>;
@@ -1,5 +0,0 @@
1
- export * from './Label';
2
- export * from './Label.types';
3
- export * from './renderLabel';
4
- export * from './useLabel';
5
- export * from './useLabelStyles';
@@ -1,5 +0,0 @@
1
- import type { LabelState } from './Label.types';
2
- /**
3
- * Render the final JSX of Label
4
- */
5
- export declare const renderLabel_unstable: (state: LabelState) => JSX.Element;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import type { LabelProps, LabelState } from './Label.types';
3
- /**
4
- * Create the state required to render Label.
5
- *
6
- * The returned state can be modified with hooks such as useLabelStyles_unstable,
7
- * before being passed to renderLabel_unstable.
8
- *
9
- * @param props - props from this instance of Label
10
- * @param ref - reference to root HTMLElement of Label
11
- */
12
- export declare const useLabel_unstable: (props: LabelProps, ref: React.Ref<HTMLElement>) => LabelState;
@@ -1,11 +0,0 @@
1
- import type { LabelSlots, LabelState } from './Label.types';
2
- import type { SlotClassNames } from '@fluentui/react-utilities';
3
- /**
4
- * @deprecated Use `labelClassNames.root` instead.
5
- */
6
- export declare const labelClassName = "fui-Label";
7
- export declare const labelClassNames: SlotClassNames<LabelSlots>;
8
- /**
9
- * Apply styling to the Label slots based on the state
10
- */
11
- export declare const useLabelStyles_unstable: (state: LabelState) => LabelState;
package/lib/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { Label, labelClassName, labelClassNames, renderLabel_unstable, useLabelStyles_unstable, useLabel_unstable, } from './Label';
2
- export type { LabelProps, LabelSlots, LabelState } from './Label';
@@ -1 +0,0 @@
1
- export * from './components/Label/index';
@@ -1,6 +0,0 @@
1
- import type { LabelProps } from './Label.types';
2
- import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
- /**
4
- * A label component provides a title or name to a component.
5
- */
6
- export declare const Label: ForwardRefComponent<LabelProps>;
@@ -1,35 +0,0 @@
1
- import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
2
- /**
3
- * Label Props
4
- */
5
- export declare type LabelProps = Omit<ComponentProps<LabelSlots>, 'required'> & {
6
- /**
7
- * Renders the label as disabled
8
- * @default false
9
- */
10
- disabled?: boolean;
11
- /**
12
- * Displays an indicator that the label is for a required field. The required prop can be set to true to display
13
- * an asterisk (*). Or it can be set to a string or jsx content to display a different indicator.
14
- * @default false
15
- */
16
- required?: boolean | Slot<'span'>;
17
- /**
18
- * A label supports different sizes.
19
- * @default 'medium'
20
- */
21
- size?: 'small' | 'medium' | 'large';
22
- /**
23
- * A label supports semibold/strong fontweight.
24
- * @default false
25
- */
26
- strong?: boolean;
27
- };
28
- export declare type LabelSlots = {
29
- root: Slot<'label'>;
30
- required?: Slot<'span'>;
31
- };
32
- /**
33
- * State used in rendering Label
34
- */
35
- export declare type LabelState = ComponentState<LabelSlots> & Required<Pick<LabelProps, 'disabled' | 'size' | 'strong'>>;
@@ -1,5 +0,0 @@
1
- export * from './Label';
2
- export * from './Label.types';
3
- export * from './renderLabel';
4
- export * from './useLabel';
5
- export * from './useLabelStyles';
@@ -1,5 +0,0 @@
1
- import type { LabelState } from './Label.types';
2
- /**
3
- * Render the final JSX of Label
4
- */
5
- export declare const renderLabel_unstable: (state: LabelState) => JSX.Element;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import type { LabelProps, LabelState } from './Label.types';
3
- /**
4
- * Create the state required to render Label.
5
- *
6
- * The returned state can be modified with hooks such as useLabelStyles_unstable,
7
- * before being passed to renderLabel_unstable.
8
- *
9
- * @param props - props from this instance of Label
10
- * @param ref - reference to root HTMLElement of Label
11
- */
12
- export declare const useLabel_unstable: (props: LabelProps, ref: React.Ref<HTMLElement>) => LabelState;
@@ -1,11 +0,0 @@
1
- import type { LabelSlots, LabelState } from './Label.types';
2
- import type { SlotClassNames } from '@fluentui/react-utilities';
3
- /**
4
- * @deprecated Use `labelClassNames.root` instead.
5
- */
6
- export declare const labelClassName = "fui-Label";
7
- export declare const labelClassNames: SlotClassNames<LabelSlots>;
8
- /**
9
- * Apply styling to the Label slots based on the state
10
- */
11
- export declare const useLabelStyles_unstable: (state: LabelState) => LabelState;
@@ -1,2 +0,0 @@
1
- export { Label, labelClassName, labelClassNames, renderLabel_unstable, useLabelStyles_unstable, useLabel_unstable, } from './Label';
2
- export type { LabelProps, LabelSlots, LabelState } from './Label';