@fluentui/react-textarea
Advanced tools
Comparing version 0.0.0-nightly-20220506-0417.1 to 0.0.0-nightly-20220509-0421.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Fri, 06 May 2022 04:27:24 GMT", | ||
"tag": "@fluentui/react-textarea_v0.0.0-nightly-20220506-0417.1", | ||
"version": "0.0.0-nightly-20220506-0417.1", | ||
"date": "Mon, 09 May 2022 04:32:22 GMT", | ||
"tag": "@fluentui/react-textarea_v0.0.0-nightly-20220509-0421.1", | ||
"version": "0.0.0-nightly-20220509-0421.1", | ||
"comments": { | ||
@@ -18,6 +18,12 @@ "prerelease": [ | ||
{ | ||
"author": "esteban.230@hotmail.com", | ||
"package": "@fluentui/react-textarea", | ||
"commit": "ff308632878f6037547ae2913c9dd7107a125975", | ||
"comment": "Remove commons from react-textarea." | ||
}, | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-textarea", | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220506-0417.1", | ||
"commit": "1dbdfe3544ed01dff3baaf5d6b96d3cc8ec5e559" | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220509-0421.1", | ||
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75" | ||
}, | ||
@@ -27,4 +33,4 @@ { | ||
"package": "@fluentui/react-textarea", | ||
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220506-0417.1", | ||
"commit": "1dbdfe3544ed01dff3baaf5d6b96d3cc8ec5e559" | ||
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220509-0421.1", | ||
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75" | ||
}, | ||
@@ -34,4 +40,4 @@ { | ||
"package": "@fluentui/react-textarea", | ||
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220506-0417.1", | ||
"commit": "1dbdfe3544ed01dff3baaf5d6b96d3cc8ec5e559" | ||
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220509-0421.1", | ||
"commit": "bfa631b1a1c5b024e734a24fb8d3f53e51f97f75" | ||
} | ||
@@ -38,0 +44,0 @@ ] |
# Change Log - @fluentui/react-textarea | ||
This log was last generated on Fri, 06 May 2022 04:27:24 GMT and should not be manually modified. | ||
This log was last generated on Mon, 09 May 2022 04:32:22 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly-20220506-0417.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-textarea_v0.0.0-nightly-20220506-0417.1) | ||
## [0.0.0-nightly-20220509-0421.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-textarea_v0.0.0-nightly-20220509-0421.1) | ||
Fri, 06 May 2022 04:27:24 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-textarea_v9.0.0-alpha.3..@fluentui/react-textarea_v0.0.0-nightly-20220506-0417.1) | ||
Mon, 09 May 2022 04:32:22 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-textarea_v9.0.0-alpha.3..@fluentui/react-textarea_v0.0.0-nightly-20220509-0421.1) | ||
@@ -15,5 +15,6 @@ ### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly-20220506-0417.1 ([commit](https://github.com/microsoft/fluentui/commit/1dbdfe3544ed01dff3baaf5d6b96d3cc8ec5e559) by beachball) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220506-0417.1 ([commit](https://github.com/microsoft/fluentui/commit/1dbdfe3544ed01dff3baaf5d6b96d3cc8ec5e559) by beachball) | ||
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220506-0417.1 ([commit](https://github.com/microsoft/fluentui/commit/1dbdfe3544ed01dff3baaf5d6b96d3cc8ec5e559) by beachball) | ||
- Remove commons from react-textarea. ([PR #22881](https://github.com/microsoft/fluentui/pull/22881) by esteban.230@hotmail.com) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball) | ||
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220509-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/bfa631b1a1c5b024e734a24fb8d3f53e51f97f75) by beachball) | ||
@@ -20,0 +21,0 @@ ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-textarea_v9.0.0-alpha.3) |
@@ -20,23 +20,2 @@ import type { ComponentProps } from '@fluentui/react-utilities'; | ||
declare type TextareaCommons = { | ||
/** | ||
* Which direction the Textarea is allowed to be resized. | ||
* | ||
* @default none | ||
*/ | ||
resize: 'none' | 'horizontal' | 'vertical' | 'both'; | ||
/** | ||
* Size of the Textarea. | ||
* | ||
* @default medium | ||
*/ | ||
size: 'small' | 'medium' | 'large'; | ||
/** | ||
* Styling the Textarea should use. | ||
* | ||
* @default outline | ||
*/ | ||
appearance: 'outline' | 'filledDarker' | 'filledLighter'; | ||
}; | ||
/** | ||
@@ -52,7 +31,9 @@ * Data passed to the `onChange` callback when the textarea's value changes. | ||
*/ | ||
export declare type TextareaProps = Omit<ComponentProps<Partial<TextareaSlots>, 'textarea'>, 'value' | 'defaultValue' | 'onChange' | 'size'> & Partial<TextareaCommons> & { | ||
export declare type TextareaProps = Omit<ComponentProps<Partial<TextareaSlots>, 'textarea'>, 'defaultValue' | 'onChange' | 'size' | 'value'> & { | ||
/** | ||
* The value of the Textarea. | ||
* Styling the Textarea should use. | ||
* | ||
* @default outline | ||
*/ | ||
value?: string; | ||
appearance?: 'outline' | 'filledDarker' | 'filledLighter'; | ||
/** | ||
@@ -66,2 +47,18 @@ * The default value of the Textarea. | ||
onChange?: (ev: React_2.ChangeEvent<HTMLTextAreaElement>, data: TextareaOnChangeData) => void; | ||
/** | ||
* Which direction the Textarea is allowed to be resized. | ||
* | ||
* @default none | ||
*/ | ||
resize?: 'none' | 'horizontal' | 'vertical' | 'both'; | ||
/** | ||
* Size of the Textarea. | ||
* | ||
* @default medium | ||
*/ | ||
size?: 'small' | 'medium' | 'large'; | ||
/** | ||
* The value of the Textarea. | ||
*/ | ||
value?: string; | ||
}; | ||
@@ -86,3 +83,3 @@ | ||
*/ | ||
export declare type TextareaState = ComponentState<TextareaSlots> & TextareaCommons; | ||
export declare type TextareaState = ComponentState<TextareaSlots> & Required<Pick<TextareaProps, 'appearance' | 'resize' | 'size'>>; | ||
@@ -89,0 +86,0 @@ /** |
@@ -16,4 +16,21 @@ import * as React from 'react'; | ||
}; | ||
declare type TextareaCommons = { | ||
/** | ||
* Textarea Props | ||
*/ | ||
export declare type TextareaProps = Omit<ComponentProps<Partial<TextareaSlots>, 'textarea'>, 'defaultValue' | 'onChange' | 'size' | 'value'> & { | ||
/** | ||
* Styling the Textarea should use. | ||
* | ||
* @default outline | ||
*/ | ||
appearance?: 'outline' | 'filledDarker' | 'filledLighter'; | ||
/** | ||
* The default value of the Textarea. | ||
*/ | ||
defaultValue?: string; | ||
/** | ||
* Callback for when the user changes the value. | ||
*/ | ||
onChange?: (ev: React.ChangeEvent<HTMLTextAreaElement>, data: TextareaOnChangeData) => void; | ||
/** | ||
* Which direction the Textarea is allowed to be resized. | ||
@@ -23,3 +40,3 @@ * | ||
*/ | ||
resize: 'none' | 'horizontal' | 'vertical' | 'both'; | ||
resize?: 'none' | 'horizontal' | 'vertical' | 'both'; | ||
/** | ||
@@ -30,26 +47,7 @@ * Size of the Textarea. | ||
*/ | ||
size: 'small' | 'medium' | 'large'; | ||
size?: 'small' | 'medium' | 'large'; | ||
/** | ||
* Styling the Textarea should use. | ||
* | ||
* @default outline | ||
*/ | ||
appearance: 'outline' | 'filledDarker' | 'filledLighter'; | ||
}; | ||
/** | ||
* Textarea Props | ||
*/ | ||
export declare type TextareaProps = Omit<ComponentProps<Partial<TextareaSlots>, 'textarea'>, 'value' | 'defaultValue' | 'onChange' | 'size'> & Partial<TextareaCommons> & { | ||
/** | ||
* The value of the Textarea. | ||
*/ | ||
value?: string; | ||
/** | ||
* The default value of the Textarea. | ||
*/ | ||
defaultValue?: string; | ||
/** | ||
* Callback for when the user changes the value. | ||
*/ | ||
onChange?: (ev: React.ChangeEvent<HTMLTextAreaElement>, data: TextareaOnChangeData) => void; | ||
}; | ||
@@ -59,3 +57,3 @@ /** | ||
*/ | ||
export declare type TextareaState = ComponentState<TextareaSlots> & TextareaCommons; | ||
export declare type TextareaState = ComponentState<TextareaSlots> & Required<Pick<TextareaProps, 'appearance' | 'resize' | 'size'>>; | ||
/** | ||
@@ -62,0 +60,0 @@ * Data passed to the `onChange` callback when the textarea's value changes. |
@@ -16,4 +16,21 @@ import * as React from 'react'; | ||
}; | ||
declare type TextareaCommons = { | ||
/** | ||
* Textarea Props | ||
*/ | ||
export declare type TextareaProps = Omit<ComponentProps<Partial<TextareaSlots>, 'textarea'>, 'defaultValue' | 'onChange' | 'size' | 'value'> & { | ||
/** | ||
* Styling the Textarea should use. | ||
* | ||
* @default outline | ||
*/ | ||
appearance?: 'outline' | 'filledDarker' | 'filledLighter'; | ||
/** | ||
* The default value of the Textarea. | ||
*/ | ||
defaultValue?: string; | ||
/** | ||
* Callback for when the user changes the value. | ||
*/ | ||
onChange?: (ev: React.ChangeEvent<HTMLTextAreaElement>, data: TextareaOnChangeData) => void; | ||
/** | ||
* Which direction the Textarea is allowed to be resized. | ||
@@ -23,3 +40,3 @@ * | ||
*/ | ||
resize: 'none' | 'horizontal' | 'vertical' | 'both'; | ||
resize?: 'none' | 'horizontal' | 'vertical' | 'both'; | ||
/** | ||
@@ -30,26 +47,7 @@ * Size of the Textarea. | ||
*/ | ||
size: 'small' | 'medium' | 'large'; | ||
size?: 'small' | 'medium' | 'large'; | ||
/** | ||
* Styling the Textarea should use. | ||
* | ||
* @default outline | ||
*/ | ||
appearance: 'outline' | 'filledDarker' | 'filledLighter'; | ||
}; | ||
/** | ||
* Textarea Props | ||
*/ | ||
export declare type TextareaProps = Omit<ComponentProps<Partial<TextareaSlots>, 'textarea'>, 'value' | 'defaultValue' | 'onChange' | 'size'> & Partial<TextareaCommons> & { | ||
/** | ||
* The value of the Textarea. | ||
*/ | ||
value?: string; | ||
/** | ||
* The default value of the Textarea. | ||
*/ | ||
defaultValue?: string; | ||
/** | ||
* Callback for when the user changes the value. | ||
*/ | ||
onChange?: (ev: React.ChangeEvent<HTMLTextAreaElement>, data: TextareaOnChangeData) => void; | ||
}; | ||
@@ -59,3 +57,3 @@ /** | ||
*/ | ||
export declare type TextareaState = ComponentState<TextareaSlots> & TextareaCommons; | ||
export declare type TextareaState = ComponentState<TextareaSlots> & Required<Pick<TextareaProps, 'appearance' | 'resize' | 'size'>>; | ||
/** | ||
@@ -62,0 +60,0 @@ * Data passed to the `onChange` callback when the textarea's value changes. |
{ | ||
"name": "@fluentui/react-textarea", | ||
"version": "0.0.0-nightly-20220506-0417.1", | ||
"version": "0.0.0-nightly-20220509-0421.1", | ||
"description": "Fluent UI TextArea component", | ||
@@ -31,8 +31,8 @@ "main": "lib-commonjs/index.js", | ||
"@fluentui/react-conformance": "*", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220506-0417.1", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220509-0421.1", | ||
"@fluentui/scripts": "^1.0.0" | ||
}, | ||
"dependencies": { | ||
"@fluentui/react-theme": "0.0.0-nightly-20220506-0417.1", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20220506-0417.1", | ||
"@fluentui/react-theme": "0.0.0-nightly-20220509-0421.1", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20220509-0421.1", | ||
"@griffel/react": "1.0.3", | ||
@@ -39,0 +39,0 @@ "tslib": "^2.1.0" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109896
+ Added@fluentui/keyboard-keys@0.0.0-nightly-20220509-0421.1(transitive)
+ Added@fluentui/react-theme@0.0.0-nightly-20220509-0421.1(transitive)
+ Added@fluentui/react-utilities@0.0.0-nightly-20220509-0421.1(transitive)
- Removed@fluentui/keyboard-keys@0.0.0-nightly-20220506-0417.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightly-20220506-0417.1(transitive)
- Removed@fluentui/react-utilities@0.0.0-nightly-20220506-0417.1(transitive)
Updated@fluentui/react-utilities@0.0.0-nightly-20220509-0421.1