@fluentui/react-spinner 0.0.0-nightly-20220511-0419.1 → 0.0.0-nightly-20220512-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-spinner",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 11 May 2022 04:31:09 GMT",
6
- "tag": "@fluentui/react-spinner_v0.0.0-nightly-20220511-0419.1",
7
- "version": "0.0.0-nightly-20220511-0419.1",
5
+ "date": "Thu, 12 May 2022 04:32:32 GMT",
6
+ "tag": "@fluentui/react-spinner_v0.0.0-nightly-20220512-0418.1",
7
+ "version": "0.0.0-nightly-20220512-0418.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -13,6 +13,12 @@
13
13
  "commit": "not available",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "Humberto.Morimoto@microsoft.com",
18
+ "package": "@fluentui/react-spinner",
19
+ "commit": "7327426c7b1a5469fb25f705ef2c1c1367b1633d",
20
+ "comment": "Removing SpinnerCommons type."
21
+ },
16
22
  {
17
23
  "author": "esteban.230@hotmail.com",
18
24
  "package": "@fluentui/react-spinner",
@@ -22,26 +28,26 @@
22
28
  {
23
29
  "author": "beachball",
24
30
  "package": "@fluentui/react-spinner",
25
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220511-0419.1",
26
- "commit": "03a572202e24fe35d789f3009dc25922a002061e"
31
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220512-0418.1",
32
+ "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
27
33
  },
28
34
  {
29
35
  "author": "beachball",
30
36
  "package": "@fluentui/react-spinner",
31
- "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220511-0419.1",
32
- "commit": "03a572202e24fe35d789f3009dc25922a002061e"
37
+ "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220512-0418.1",
38
+ "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
33
39
  },
34
40
  {
35
41
  "author": "beachball",
36
42
  "package": "@fluentui/react-spinner",
37
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220511-0419.1",
38
- "commit": "03a572202e24fe35d789f3009dc25922a002061e"
43
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220512-0418.1",
44
+ "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
39
45
  },
40
46
  {
41
47
  "author": "beachball",
42
48
  "package": "@fluentui/react-spinner",
43
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220511-0419.1",
44
- "commit": "03a572202e24fe35d789f3009dc25922a002061e"
49
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220512-0418.1",
50
+ "commit": "ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42"
45
51
  }
46
52
  ]
47
53
  }
package/CHANGELOG.md CHANGED
@@ -1,22 +1,23 @@
1
1
  # Change Log - @fluentui/react-spinner
2
2
 
3
- This log was last generated on Wed, 11 May 2022 04:31:09 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 12 May 2022 04:32:32 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220511-0419.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinner_v0.0.0-nightly-20220511-0419.1)
7
+ ## [0.0.0-nightly-20220512-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinner_v0.0.0-nightly-20220512-0418.1)
8
8
 
9
- Wed, 11 May 2022 04:31:09 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinner_v9.0.0-beta.9..@fluentui/react-spinner_v0.0.0-nightly-20220511-0419.1)
9
+ Thu, 12 May 2022 04:32:32 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinner_v9.0.0-beta.9..@fluentui/react-spinner_v0.0.0-nightly-20220512-0418.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
15
+ - Removing SpinnerCommons type. ([PR #22954](https://github.com/microsoft/fluentui/pull/22954) by Humberto.Morimoto@microsoft.com)
15
16
  - Updated react-label package version to RC. ([PR #22865](https://github.com/microsoft/fluentui/pull/22865) by esteban.230@hotmail.com)
16
- - Bump @fluentui/react-theme to v0.0.0-nightly-20220511-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/03a572202e24fe35d789f3009dc25922a002061e) by beachball)
17
- - Bump @fluentui/react-label to v0.0.0-nightly-20220511-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/03a572202e24fe35d789f3009dc25922a002061e) by beachball)
18
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20220511-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/03a572202e24fe35d789f3009dc25922a002061e) by beachball)
19
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220511-0419.1 ([commit](https://github.com/microsoft/fluentui/commit/03a572202e24fe35d789f3009dc25922a002061e) by beachball)
17
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
18
+ - Bump @fluentui/react-label to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
19
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
20
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220512-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/ed0dd6a9e40d9cfe7e3e822d726d109c935c8d42) by beachball)
20
21
 
21
22
  ## [9.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinner_v9.0.0-beta.9)
22
23
 
package/dist/index.d.ts CHANGED
@@ -18,7 +18,10 @@ export declare const Spinner: ForwardRefComponent<SpinnerProps>;
18
18
 
19
19
  export declare const spinnerClassNames: SlotClassNames<SpinnerSlots>;
20
20
 
21
- declare type SpinnerCommons = {
21
+ /**
22
+ * Spinner Props
23
+ */
24
+ export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & {
22
25
  /**
23
26
  * The appearance of the Spinner.
24
27
  * @default 'primary'
@@ -41,11 +44,6 @@ declare type SpinnerCommons = {
41
44
  status?: 'active' | 'inactive';
42
45
  };
43
46
 
44
- /**
45
- * Spinner Props
46
- */
47
- export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & Partial<SpinnerCommons>;
48
-
49
47
  export declare type SpinnerSlots = {
50
48
  /**
51
49
  * The root of the Spinner.
@@ -68,7 +66,7 @@ export declare type SpinnerSlots = {
68
66
  /**
69
67
  * State used in rendering Spinner
70
68
  */
71
- export declare type SpinnerState = ComponentState<SpinnerSlots> & SpinnerCommons;
69
+ export declare type SpinnerState = ComponentState<SpinnerSlots> & Required<Pick<SpinnerProps, 'appearance' | 'labelPosition' | 'size' | 'status'>>;
72
70
 
73
71
  /**
74
72
  * Create the state required to render Spinner.
@@ -18,7 +18,10 @@ export declare type SpinnerSlots = {
18
18
  */
19
19
  label?: Slot<typeof Label>;
20
20
  };
21
- declare type SpinnerCommons = {
21
+ /**
22
+ * Spinner Props
23
+ */
24
+ export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & {
22
25
  /**
23
26
  * The appearance of the Spinner.
24
27
  * @default 'primary'
@@ -40,12 +43,7 @@ declare type SpinnerCommons = {
40
43
  */
41
44
  status?: 'active' | 'inactive';
42
45
  };
43
- /**
44
- * Spinner Props
45
- */
46
- export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & Partial<SpinnerCommons>;
47
46
  /**
48
47
  * State used in rendering Spinner
49
48
  */
50
- export declare type SpinnerState = ComponentState<SpinnerSlots> & SpinnerCommons;
51
- export {};
49
+ export declare type SpinnerState = ComponentState<SpinnerSlots> & Required<Pick<SpinnerProps, 'appearance' | 'labelPosition' | 'size' | 'status'>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.types.js","sourceRoot":"../src/","sources":["components/Spinner/Spinner.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { Label } from '@fluentui/react-label';\n\nexport type SpinnerSlots = {\n /**\n * The root of the Spinner.\n * The root slot receives the `className` and `style` specified directly on the `<Spinner>`.\n */\n root: NonNullable<Slot<'div'>>;\n /**\n * The slot for the animated svg.\n * The spinner slot receives the `className` and `style` that handles the spinning animation.\n * An svg is also rendered as a child of this slot\n */\n spinner?: Slot<'span'>;\n /**\n * The label of the Slider.\n * The label slot receives the styling related to the text associated with the Spinner.\n */\n label?: Slot<typeof Label>;\n};\n\ntype SpinnerCommons = {\n /**\n * The appearance of the Spinner.\n * @default 'primary'\n */\n appearance?: 'primary' | 'inverted';\n\n /**\n * Where the label is positioned relative to the Spinner\n * @default 'after'\n */\n labelPosition?: 'above' | 'below' | 'before' | 'after';\n\n /**\n * The size of the spinner.\n * @default 'medium'\n */\n size?: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge';\n\n /**\n * The status of the Spinner.\n * @default 'active'\n */\n status?: 'active' | 'inactive';\n};\n\n/**\n * Spinner Props\n */\nexport type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & Partial<SpinnerCommons>;\n\n/**\n * State used in rendering Spinner\n */\nexport type SpinnerState = ComponentState<SpinnerSlots> & SpinnerCommons;\n"]}
1
+ {"version":3,"file":"Spinner.types.js","sourceRoot":"../src/","sources":["components/Spinner/Spinner.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { Label } from '@fluentui/react-label';\n\nexport type SpinnerSlots = {\n /**\n * The root of the Spinner.\n * The root slot receives the `className` and `style` specified directly on the `<Spinner>`.\n */\n root: NonNullable<Slot<'div'>>;\n /**\n * The slot for the animated svg.\n * The spinner slot receives the `className` and `style` that handles the spinning animation.\n * An svg is also rendered as a child of this slot\n */\n spinner?: Slot<'span'>;\n /**\n * The label of the Slider.\n * The label slot receives the styling related to the text associated with the Spinner.\n */\n label?: Slot<typeof Label>;\n};\n\n/**\n * Spinner Props\n */\nexport type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & {\n /**\n * The appearance of the Spinner.\n * @default 'primary'\n */\n appearance?: 'primary' | 'inverted';\n\n /**\n * Where the label is positioned relative to the Spinner\n * @default 'after'\n */\n labelPosition?: 'above' | 'below' | 'before' | 'after';\n\n /**\n * The size of the spinner.\n * @default 'medium'\n */\n size?: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge';\n\n /**\n * The status of the Spinner.\n * @default 'active'\n */\n status?: 'active' | 'inactive';\n};\n\n/**\n * State used in rendering Spinner\n */\nexport type SpinnerState = ComponentState<SpinnerSlots> &\n Required<Pick<SpinnerProps, 'appearance' | 'labelPosition' | 'size' | 'status'>>;\n"]}
@@ -18,7 +18,10 @@ export declare type SpinnerSlots = {
18
18
  */
19
19
  label?: Slot<typeof Label>;
20
20
  };
21
- declare type SpinnerCommons = {
21
+ /**
22
+ * Spinner Props
23
+ */
24
+ export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & {
22
25
  /**
23
26
  * The appearance of the Spinner.
24
27
  * @default 'primary'
@@ -40,12 +43,7 @@ declare type SpinnerCommons = {
40
43
  */
41
44
  status?: 'active' | 'inactive';
42
45
  };
43
- /**
44
- * Spinner Props
45
- */
46
- export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & Partial<SpinnerCommons>;
47
46
  /**
48
47
  * State used in rendering Spinner
49
48
  */
50
- export declare type SpinnerState = ComponentState<SpinnerSlots> & SpinnerCommons;
51
- export {};
49
+ export declare type SpinnerState = ComponentState<SpinnerSlots> & Required<Pick<SpinnerProps, 'appearance' | 'labelPosition' | 'size' | 'status'>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-spinner",
3
- "version": "0.0.0-nightly-20220511-0419.1",
3
+ "version": "0.0.0-nightly-20220512-0418.1",
4
4
  "description": "Spinner component for Fluent UI React",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -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-20220511-0419.1",
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220512-0418.1",
32
32
  "@fluentui/scripts": "^1.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-theme": "0.0.0-nightly-20220511-0419.1",
36
- "@fluentui/react-label": "0.0.0-nightly-20220511-0419.1",
37
- "@fluentui/react-utilities": "0.0.0-nightly-20220511-0419.1",
35
+ "@fluentui/react-theme": "0.0.0-nightly-20220512-0418.1",
36
+ "@fluentui/react-label": "0.0.0-nightly-20220512-0418.1",
37
+ "@fluentui/react-utilities": "0.0.0-nightly-20220512-0418.1",
38
38
  "@griffel/react": "1.0.3",
39
39
  "tslib": "^2.1.0"
40
40
  },