Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/react-spinbutton

Package Overview
Dependencies
Maintainers
13
Versions
714
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-spinbutton - npm Package Compare versions

Comparing version 0.0.0-nightly-20220426-0421.1 to 0.0.0-nightly-20220427-0422.1

36

CHANGELOG.json

@@ -5,5 +5,5 @@ {

{
"date": "Tue, 26 Apr 2022 04:32:30 GMT",
"tag": "@fluentui/react-spinbutton_v0.0.0-nightly-20220426-0421.1",
"version": "0.0.0-nightly-20220426-0421.1",
"date": "Wed, 27 Apr 2022 04:31:08 GMT",
"tag": "@fluentui/react-spinbutton_v0.0.0-nightly-20220427-0422.1",
"version": "0.0.0-nightly-20220427-0422.1",
"comments": {

@@ -18,6 +18,12 @@ "prerelease": [

{
"author": "seanmonahan@microsoft.com",
"package": "@fluentui/react-spinbutton",
"commit": "a7f9a9f47b329e55a36791596b11289c50bb82d3",
"comment": "react-spinbutton: remove \"inputType\" prop"
},
{
"author": "beachball",
"package": "@fluentui/react-spinbutton",
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-20220426-0421.1",
"commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly-20220427-0422.1",
"commit": "95709911c85add44b67724f7e02e4ce085f2890c"
},

@@ -27,4 +33,4 @@ {

"package": "@fluentui/react-spinbutton",
"comment": "Bump @fluentui/react-input to v0.0.0-nightly-20220426-0421.1",
"commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
"comment": "Bump @fluentui/react-input to v0.0.0-nightly-20220427-0422.1",
"commit": "95709911c85add44b67724f7e02e4ce085f2890c"
},

@@ -34,4 +40,4 @@ {

"package": "@fluentui/react-spinbutton",
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220426-0421.1",
"commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220427-0422.1",
"commit": "95709911c85add44b67724f7e02e4ce085f2890c"
},

@@ -41,4 +47,4 @@ {

"package": "@fluentui/react-spinbutton",
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220426-0421.1",
"commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220427-0422.1",
"commit": "95709911c85add44b67724f7e02e4ce085f2890c"
},

@@ -48,4 +54,4 @@ {

"package": "@fluentui/react-spinbutton",
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220426-0421.1",
"commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220427-0422.1",
"commit": "95709911c85add44b67724f7e02e4ce085f2890c"
},

@@ -55,4 +61,4 @@ {

"package": "@fluentui/react-spinbutton",
"comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220426-0421.1",
"commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
"comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220427-0422.1",
"commit": "95709911c85add44b67724f7e02e4ce085f2890c"
}

@@ -59,0 +65,0 @@ ]

# Change Log - @fluentui/react-spinbutton
This log was last generated on Tue, 26 Apr 2022 04:32:30 GMT and should not be manually modified.
This log was last generated on Wed, 27 Apr 2022 04:31:08 GMT and should not be manually modified.
<!-- Start content -->
## [0.0.0-nightly-20220426-0421.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinbutton_v0.0.0-nightly-20220426-0421.1)
## [0.0.0-nightly-20220427-0422.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinbutton_v0.0.0-nightly-20220427-0422.1)
Tue, 26 Apr 2022 04:32:30 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinbutton_v9.0.0-beta.7..@fluentui/react-spinbutton_v0.0.0-nightly-20220426-0421.1)
Wed, 27 Apr 2022 04:31:08 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinbutton_v9.0.0-beta.7..@fluentui/react-spinbutton_v0.0.0-nightly-20220427-0422.1)

@@ -15,8 +15,9 @@ ### Changes

- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
- Bump @fluentui/react-input to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
- Bump @fluentui/react-theme to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
- Bump @fluentui/react-label to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
- react-spinbutton: remove "inputType" prop ([PR #22652](https://github.com/microsoft/fluentui/pull/22652) by seanmonahan@microsoft.com)
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
- Bump @fluentui/react-input to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
- Bump @fluentui/react-theme to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
- Bump @fluentui/react-label to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)

@@ -23,0 +24,0 @@ ## [9.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinbutton_v9.0.0-beta.7)

@@ -98,10 +98,2 @@ import type { ComponentProps } from '@fluentui/react-utilities';

/**
* Controls which input types update the value.
*
* - 'all': both the spinner buttons and input field are enabled.
* - 'spinners-only': only the spinner buttons are enabled.
* @default all
*/
inputType: 'all' | 'spinners-only';
/**
* Strings for localizing text in the control.

@@ -108,0 +100,0 @@ */

@@ -100,10 +100,2 @@ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';

/**
* Controls which input types update the value.
*
* - 'all': both the spinner buttons and input field are enabled.
* - 'spinners-only': only the spinner buttons are enabled.
* @default all
*/
inputType: 'all' | 'spinners-only';
/**
* Strings for localizing text in the control.

@@ -110,0 +102,0 @@ */

@@ -60,3 +60,2 @@ "use strict";

decrementButton,
inputType = 'all',
strings = SpinButton_strings_1.spinButtonDefaultStrings

@@ -144,6 +143,2 @@ } = props;

const handleInputChange = e => {
if (inputType === 'spinners-only') {
return;
}
if (!internalState.current.previousTextValue) {

@@ -150,0 +145,0 @@ internalState.current.previousTextValue = textValue;

@@ -100,10 +100,2 @@ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';

/**
* Controls which input types update the value.
*
* - 'all': both the spinner buttons and input field are enabled.
* - 'spinners-only': only the spinner buttons are enabled.
* @default all
*/
inputType: 'all' | 'spinners-only';
/**
* Strings for localizing text in the control.

@@ -110,0 +102,0 @@ */

@@ -47,3 +47,2 @@ import * as React from 'react';

decrementButton,
inputType = 'all',
strings = spinButtonDefaultStrings

@@ -131,6 +130,2 @@ } = props;

const handleInputChange = e => {
if (inputType === 'spinners-only') {
return;
}
if (!internalState.current.previousTextValue) {

@@ -137,0 +132,0 @@ internalState.current.previousTextValue = textValue;

{
"name": "@fluentui/react-spinbutton",
"version": "0.0.0-nightly-20220426-0421.1",
"version": "0.0.0-nightly-20220427-0422.1",
"description": "Fluent UI React SpinButton component.",

@@ -31,4 +31,4 @@ "main": "lib-commonjs/index.js",

"@fluentui/react-conformance": "*",
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220426-0421.1",
"@fluentui/react-label": "0.0.0-nightly-20220426-0421.1",
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220427-0422.1",
"@fluentui/react-label": "0.0.0-nightly-20220427-0422.1",
"@fluentui/scripts": "^1.0.0"

@@ -38,7 +38,7 @@ },

"@griffel/react": "1.0.3",
"@fluentui/keyboard-keys": "0.0.0-nightly-20220426-0421.1",
"@fluentui/keyboard-keys": "0.0.0-nightly-20220427-0422.1",
"@fluentui/react-icons": "^2.0.166-rc.3",
"@fluentui/react-input": "0.0.0-nightly-20220426-0421.1",
"@fluentui/react-theme": "0.0.0-nightly-20220426-0421.1",
"@fluentui/react-utilities": "0.0.0-nightly-20220426-0421.1",
"@fluentui/react-input": "0.0.0-nightly-20220427-0422.1",
"@fluentui/react-theme": "0.0.0-nightly-20220427-0422.1",
"@fluentui/react-utilities": "0.0.0-nightly-20220427-0422.1",
"tslib": "^2.1.0"

@@ -45,0 +45,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc