@fluentui/react-spinbutton 9.2.8 → 9.2.10

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,7 +2,73 @@
2
2
  "name": "@fluentui/react-spinbutton",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 06 Apr 2023 23:59:52 GMT",
5
+ "date": "Mon, 17 Apr 2023 17:50:08 GMT",
6
+ "tag": "@fluentui/react-spinbutton_v9.2.10",
7
+ "version": "9.2.10",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "behowell@microsoft.com",
12
+ "package": "@fluentui/react-spinbutton",
13
+ "commit": "36f98c3a49334e4ea9b22774691560d11010f2e7",
14
+ "comment": "chore: Update react-field dependency version"
15
+ },
16
+ {
17
+ "author": "behowell@microsoft.com",
18
+ "package": "@fluentui/react-spinbutton",
19
+ "commit": "273116e8efaf4230474a0f214e9adbb5f556e5de",
20
+ "comment": "chore: Remove deprecated SpinButtonField_unstable shim component"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-spinbutton",
25
+ "comment": "Bump @fluentui/react-field to v9.1.0",
26
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-spinbutton",
31
+ "comment": "Bump @fluentui/react-utilities to v9.8.0",
32
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-spinbutton",
37
+ "comment": "Bump @fluentui/react-label to v9.1.9",
38
+ "commit": "35d247e0b6a8c2b22e69942afbabe18043e59585"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Wed, 12 Apr 2023 09:31:45 GMT",
45
+ "tag": "@fluentui/react-spinbutton_v9.2.9",
46
+ "version": "9.2.9",
47
+ "comments": {
48
+ "patch": [
49
+ {
50
+ "author": "beachball",
51
+ "package": "@fluentui/react-spinbutton",
52
+ "comment": "Bump @fluentui/react-field to v9.0.0-beta.2",
53
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui/react-spinbutton",
58
+ "comment": "Bump @fluentui/react-utilities to v9.7.4",
59
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui/react-spinbutton",
64
+ "comment": "Bump @fluentui/react-label to v9.1.8",
65
+ "commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ {
71
+ "date": "Fri, 07 Apr 2023 00:01:43 GMT",
6
72
  "tag": "@fluentui/react-spinbutton_v9.2.8",
7
73
  "version": "9.2.8",
8
74
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,36 @@
1
1
  # Change Log - @fluentui/react-spinbutton
2
2
 
3
- This log was last generated on Thu, 06 Apr 2023 23:59:52 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 17 Apr 2023 17:50:08 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.2.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinbutton_v9.2.10)
8
+
9
+ Mon, 17 Apr 2023 17:50:08 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinbutton_v9.2.9..@fluentui/react-spinbutton_v9.2.10)
11
+
12
+ ### Patches
13
+
14
+ - chore: Update react-field dependency version ([PR #27493](https://github.com/microsoft/fluentui/pull/27493) by behowell@microsoft.com)
15
+ - chore: Remove deprecated SpinButtonField_unstable shim component ([PR #27492](https://github.com/microsoft/fluentui/pull/27492) by behowell@microsoft.com)
16
+ - Bump @fluentui/react-field to v9.1.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
17
+ - Bump @fluentui/react-utilities to v9.8.0 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
18
+ - Bump @fluentui/react-label to v9.1.9 ([PR #27564](https://github.com/microsoft/fluentui/pull/27564) by beachball)
19
+
20
+ ## [9.2.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinbutton_v9.2.9)
21
+
22
+ Wed, 12 Apr 2023 09:31:45 GMT
23
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinbutton_v9.2.8..@fluentui/react-spinbutton_v9.2.9)
24
+
25
+ ### Patches
26
+
27
+ - Bump @fluentui/react-field to v9.0.0-beta.2 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
28
+ - Bump @fluentui/react-utilities to v9.7.4 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
29
+ - Bump @fluentui/react-label to v9.1.8 ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by beachball)
30
+
7
31
  ## [9.2.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinbutton_v9.2.8)
8
32
 
9
- Thu, 06 Apr 2023 23:59:52 GMT
33
+ Fri, 07 Apr 2023 00:01:43 GMT
10
34
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinbutton_v9.2.7..@fluentui/react-spinbutton_v9.2.8)
11
35
 
12
36
  ### Patches
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  import type { ComponentProps } from '@fluentui/react-utilities';
4
4
  import type { ComponentState } from '@fluentui/react-utilities';
5
- import { DeprecatedFieldProps } from '@fluentui/react-field';
6
5
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
7
6
  import * as React_2 from 'react';
8
7
  import type { Slot } from '@fluentui/react-utilities';
@@ -24,22 +23,6 @@ export declare type SpinButtonChangeEvent = React_2.MouseEvent<HTMLButtonElement
24
23
 
25
24
  export declare const spinButtonClassNames: SlotClassNames<SpinButtonSlots>;
26
25
 
27
- /** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */
28
- export declare const SpinButtonField_unstable: ForwardRefComponent<SpinButtonFieldProps_unstable>;
29
-
30
- /** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */
31
- export declare const spinButtonFieldClassNames: {
32
- control: string;
33
- root: string;
34
- label: string;
35
- validationMessage: string;
36
- validationMessageIcon: string;
37
- hint: string;
38
- };
39
-
40
- /** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */
41
- export declare type SpinButtonFieldProps_unstable = DeprecatedFieldProps<SpinButtonProps>;
42
-
43
26
  export declare type SpinButtonOnChangeData = {
44
27
  value?: number | null;
45
28
  displayValue?: string;
package/lib/index.js CHANGED
@@ -1,4 +1,2 @@
1
1
  export { SpinButton, renderSpinButton_unstable, spinButtonClassNames, useSpinButtonStyles_unstable, useSpinButton_unstable } from './SpinButton';
2
- // eslint-disable-next-line deprecation/deprecation
3
- export { SpinButtonField as SpinButtonField_unstable, spinButtonFieldClassNames } from './SpinButtonField';
4
2
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["SpinButton","renderSpinButton_unstable","spinButtonClassNames","useSpinButtonStyles_unstable","useSpinButton_unstable","SpinButtonField","SpinButtonField_unstable","spinButtonFieldClassNames"],"sources":["../src/index.ts"],"sourcesContent":["export {\n SpinButton,\n renderSpinButton_unstable,\n spinButtonClassNames,\n useSpinButtonStyles_unstable,\n useSpinButton_unstable,\n} from './SpinButton';\nexport type {\n SpinButtonOnChangeData,\n SpinButtonChangeEvent,\n SpinButtonProps,\n SpinButtonSlots,\n SpinButtonState,\n SpinButtonSpinState,\n SpinButtonBounds,\n} from './SpinButton';\n\n// eslint-disable-next-line deprecation/deprecation\nexport { SpinButtonField as SpinButtonField_unstable, spinButtonFieldClassNames } from './SpinButtonField';\n// eslint-disable-next-line deprecation/deprecation\nexport type { SpinButtonFieldProps as SpinButtonFieldProps_unstable } from './SpinButtonField';\n"],"mappings":"AAAA,SACEA,UAAU,EACVC,yBAAyB,EACzBC,oBAAoB,EACpBC,4BAA4B,EAC5BC,sBAAsB,QACjB;AAWP;AACA,SAASC,eAAA,IAAmBC,wBAAwB,EAAEC,yBAAyB,QAAQ"}
1
+ {"version":3,"names":["SpinButton","renderSpinButton_unstable","spinButtonClassNames","useSpinButtonStyles_unstable","useSpinButton_unstable"],"sources":["../src/index.ts"],"sourcesContent":["export {\n SpinButton,\n renderSpinButton_unstable,\n spinButtonClassNames,\n useSpinButtonStyles_unstable,\n useSpinButton_unstable,\n} from './SpinButton';\nexport type {\n SpinButtonOnChangeData,\n SpinButtonChangeEvent,\n SpinButtonProps,\n SpinButtonSlots,\n SpinButtonState,\n SpinButtonSpinState,\n SpinButtonBounds,\n} from './SpinButton';\n"],"mappings":"AAAA,SACEA,UAAU,EACVC,yBAAyB,EACzBC,oBAAoB,EACpBC,4BAA4B,EAC5BC,sBAAsB,QACjB"}
@@ -13,12 +13,9 @@ _export(exports, {
13
13
  renderSpinButton_unstable: ()=>_spinButton.renderSpinButton_unstable,
14
14
  spinButtonClassNames: ()=>_spinButton.spinButtonClassNames,
15
15
  useSpinButtonStyles_unstable: ()=>_spinButton.useSpinButtonStyles_unstable,
16
- useSpinButton_unstable: ()=>_spinButton.useSpinButton_unstable,
17
- SpinButtonField_unstable: ()=>_spinButtonField.SpinButtonField,
18
- spinButtonFieldClassNames: ()=>_spinButtonField.spinButtonFieldClassNames
16
+ useSpinButton_unstable: ()=>_spinButton.useSpinButton_unstable
19
17
  });
20
18
  const _spinButton = require("./SpinButton");
21
- const _spinButtonField = require("./SpinButtonField");
22
19
  //# sourceMappingURL=index.js.map
23
20
 
24
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { SpinButton, renderSpinButton_unstable, spinButtonClassNames, useSpinButtonStyles_unstable, useSpinButton_unstable } from './SpinButton';\n// eslint-disable-next-line deprecation/deprecation\nexport { SpinButtonField as SpinButtonField_unstable, spinButtonFieldClassNames } from './SpinButtonField';\n//# sourceMappingURL=index.js.map"],"names":["SpinButton","renderSpinButton_unstable","spinButtonClassNames","useSpinButtonStyles_unstable","useSpinButton_unstable","SpinButtonField_unstable","SpinButtonField","spinButtonFieldClassNames"],"mappings":";;;;;;;;;;;IAASA,UAAU,MAAVA,sBAAU;IAAEC,yBAAyB,MAAzBA,qCAAyB;IAAEC,oBAAoB,MAApBA,gCAAoB;IAAEC,4BAA4B,MAA5BA,wCAA4B;IAAEC,sBAAsB,MAAtBA,kCAAsB;IAE9FC,wBAAwB,MAA3CC,gCAAe;IAA8BC,yBAAyB,MAAzBA,0CAAyB;;4BAFmD;iCAE3C;CACvF,iCAAiC"}
1
+ {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { SpinButton, renderSpinButton_unstable, spinButtonClassNames, useSpinButtonStyles_unstable, useSpinButton_unstable } from './SpinButton';\n//# sourceMappingURL=index.js.map"],"names":["SpinButton","renderSpinButton_unstable","spinButtonClassNames","useSpinButtonStyles_unstable","useSpinButton_unstable"],"mappings":";;;;;;;;;;;IAASA,UAAU,MAAVA,sBAAU;IAAEC,yBAAyB,MAAzBA,qCAAyB;IAAEC,oBAAoB,MAApBA,gCAAoB;IAAEC,4BAA4B,MAA5BA,wCAA4B;IAAEC,sBAAsB,MAAtBA,kCAAsB;;4BAAQ;CAClI,iCAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-spinbutton",
3
- "version": "9.2.8",
3
+ "version": "9.2.10",
4
4
  "description": "Fluent UI React SpinButton component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -28,18 +28,18 @@
28
28
  "@fluentui/eslint-plugin": "*",
29
29
  "@fluentui/react-conformance": "*",
30
30
  "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
31
- "@fluentui/react-label": "^9.1.7",
31
+ "@fluentui/react-label": "^9.1.9",
32
32
  "@fluentui/scripts-api-extractor": "*",
33
33
  "@fluentui/scripts-tasks": "*"
34
34
  },
35
35
  "dependencies": {
36
36
  "@griffel/react": "^1.5.2",
37
37
  "@fluentui/keyboard-keys": "^9.0.2",
38
- "@fluentui/react-field": "9.0.0-beta.1",
38
+ "@fluentui/react-field": "^9.1.0",
39
39
  "@fluentui/react-icons": "^2.0.196",
40
40
  "@fluentui/react-shared-contexts": "^9.3.3",
41
41
  "@fluentui/react-theme": "^9.1.7",
42
- "@fluentui/react-utilities": "^9.7.3",
42
+ "@fluentui/react-utilities": "^9.8.0",
43
43
  "@swc/helpers": "^0.4.14"
44
44
  },
45
45
  "peerDependencies": {
@@ -1,2 +0,0 @@
1
- export * from './components/SpinButtonField/index';
2
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["../src/SpinButtonField.ts"],"sourcesContent":["export * from './components/SpinButtonField/index';\n"],"mappings":"AAAA,cAAc"}
@@ -1,7 +0,0 @@
1
- /* eslint-disable deprecation/deprecation */import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';
2
- import { SpinButton, spinButtonClassNames } from '../../SpinButton';
3
- /** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */
4
- export const spinButtonFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(spinButtonClassNames.root);
5
- /** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */
6
- export const SpinButtonField = /*#__PURE__*/makeDeprecatedField(SpinButton);
7
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["getDeprecatedFieldClassNames","makeDeprecatedField","SpinButton","spinButtonClassNames","spinButtonFieldClassNames","root","SpinButtonField"],"sources":["../../../src/components/SpinButtonField/SpinButtonField.tsx"],"sourcesContent":["/* eslint-disable deprecation/deprecation */\nimport { DeprecatedFieldProps, getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { SpinButton, spinButtonClassNames, SpinButtonProps } from '../../SpinButton';\n\n/** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */\nexport type SpinButtonFieldProps = DeprecatedFieldProps<SpinButtonProps>;\n/** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */\nexport const spinButtonFieldClassNames = getDeprecatedFieldClassNames(spinButtonClassNames.root);\n/** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */\nexport const SpinButtonField: ForwardRefComponent<SpinButtonFieldProps> = makeDeprecatedField(SpinButton);\n"],"mappings":"AAAA,4CACA,SAA+BA,4BAA4B,EAAEC,mBAAmB,QAAQ;AAExF,SAASC,UAAU,EAAEC,oBAAoB,QAAyB;AAIlE;AACA,OAAO,MAAMC,yBAAA,gBAA4BJ,4BAAA,CAA6BG,oBAAA,CAAqBE,IAAI;AAC/F;AACA,OAAO,MAAMC,eAAA,gBAA6DL,mBAAA,CAAoBC,UAAA"}
@@ -1,2 +0,0 @@
1
- export * from './SpinButtonField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["../../../src/components/SpinButtonField/index.ts"],"sourcesContent":["export * from './SpinButtonField';\n"],"mappings":"AAAA,cAAc"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./components/SpinButtonField/index"), exports);
7
- //# sourceMappingURL=SpinButtonField.js.map
8
-
9
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../lib/SpinButtonField.js"],"sourcesContent":["export * from './components/SpinButtonField/index';\n//# sourceMappingURL=SpinButtonField.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,2CAA2C"}
@@ -1,20 +0,0 @@
1
- /* eslint-disable deprecation/deprecation */ "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: all[name]
9
- });
10
- }
11
- _export(exports, {
12
- spinButtonFieldClassNames: ()=>spinButtonFieldClassNames,
13
- SpinButtonField: ()=>SpinButtonField
14
- });
15
- const _reactField = require("@fluentui/react-field");
16
- const _spinButton = require("../../SpinButton");
17
- const spinButtonFieldClassNames = /*#__PURE__*/ (0, _reactField.getDeprecatedFieldClassNames)(_spinButton.spinButtonClassNames.root);
18
- const SpinButtonField = /*#__PURE__*/ (0, _reactField.makeDeprecatedField)(_spinButton.SpinButton); //# sourceMappingURL=SpinButtonField.js.map
19
-
20
- //# sourceMappingURL=SpinButtonField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../lib/components/SpinButtonField/SpinButtonField.js"],"sourcesContent":["/* eslint-disable deprecation/deprecation */import { getDeprecatedFieldClassNames, makeDeprecatedField } from '@fluentui/react-field';\nimport { SpinButton, spinButtonClassNames } from '../../SpinButton';\n/** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */\nexport const spinButtonFieldClassNames = /*#__PURE__*/getDeprecatedFieldClassNames(spinButtonClassNames.root);\n/** @deprecated Use Field with SpinButton: `<Field><SpinButton /></Field>` */\nexport const SpinButtonField = /*#__PURE__*/makeDeprecatedField(SpinButton);\n//# sourceMappingURL=SpinButtonField.js.map"],"names":["spinButtonFieldClassNames","SpinButtonField","getDeprecatedFieldClassNames","spinButtonClassNames","root","makeDeprecatedField","SpinButton"],"mappings":"AAAA,0CAA0C;;;;;;;;;;;IAG7BA,yBAAyB,MAAzBA;IAEAC,eAAe,MAAfA;;4BALiG;4BAC7D;AAE1C,MAAMD,4BAA4B,WAAW,GAAEE,IAAAA,wCAA4B,EAACC,gCAAoB,CAACC,IAAI;AAErG,MAAMH,kBAAkB,WAAW,GAAEI,IAAAA,+BAAmB,EAACC,sBAAU,GAC1E,2CAA2C"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./SpinButtonField"), exports);
7
- //# sourceMappingURL=index.js.map
8
-
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../lib/components/SpinButtonField/index.js"],"sourcesContent":["export * from './SpinButtonField';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}