@fluentui/react-input
Advanced tools
Comparing version 0.0.0-nightly4e6470c86320220127.1 to 0.0.0-nightly50ae56ec3420220218.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Thu, 27 Jan 2022 04:17:42 GMT", | ||
"tag": "@fluentui/react-input_v0.0.0-nightly4e6470c86320220127.1", | ||
"version": "0.0.0-nightly4e6470c86320220127.1", | ||
"date": "Fri, 18 Feb 2022 04:14:53 GMT", | ||
"tag": "@fluentui/react-input_v0.0.0-nightly50ae56ec3420220218.1", | ||
"version": "0.0.0-nightly50ae56ec3420220218.1", | ||
"comments": { | ||
@@ -14,6 +14,77 @@ "prerelease": [ | ||
"package": "@fluentui/react-input", | ||
"commit": "4288e9baaf65cf1338bb7b5682aca694d6e32e0d", | ||
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995", | ||
"comment": "Release nightly v9" | ||
}, | ||
{ | ||
"author": "lingfangao@hotmail.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14", | ||
"comment": "fix: Source maps contain original source code" | ||
}, | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-input", | ||
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly50ae56ec3420220218.1", | ||
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995" | ||
}, | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-input", | ||
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly50ae56ec3420220218.1", | ||
"commit": "0459873d472d7ad2a20c9bbb2facf6af8ef20995" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 10 Feb 2022 08:51:17 GMT", | ||
"tag": "@fluentui/react-input_v9.0.0-beta.1", | ||
"version": "9.0.0-beta.1", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"author": "olfedias@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612", | ||
"comment": "remove inline-style-expand-shorthand from tsconfigs" | ||
}, | ||
{ | ||
"author": "me@levithomason.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "4bd15194a66379b165043141c266faa0c1ea1502", | ||
"comment": "document how to import preview components" | ||
}, | ||
{ | ||
"author": "me@levithomason.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "a15d363937fad523e90350458ec3e44fe7199dc0", | ||
"comment": "Move Storybook stories to Preview Components section" | ||
}, | ||
{ | ||
"author": "tkrasniqi@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "d757e76e91527fb821c3e1707db48f1745bf44ca", | ||
"comment": "Rmoved config with just-scripts" | ||
}, | ||
{ | ||
"author": "martinhochel@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d", | ||
"comment": "chore: use storybook runner for all vNext packages" | ||
}, | ||
{ | ||
"author": "elcraig@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "96d9c93544464bcc5ec36b7c5d724b77ae499c73", | ||
"comment": "Update docs description" | ||
}, | ||
{ | ||
"author": "bsunderhus@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "c0d4e63ee58e60e2c6674efbacc0783cd520984e", | ||
"comment": "Updates components with nullRender changes" | ||
} | ||
], | ||
"prerelease": [ | ||
{ | ||
"author": "behowell@microsoft.com", | ||
@@ -37,2 +108,8 @@ "package": "@fluentui/react-input", | ||
{ | ||
"author": "lingfangao@hotmail.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f", | ||
"comment": "Bump Fluent UI dependencies to 9.0.0-rc" | ||
}, | ||
{ | ||
"author": "olfedias@microsoft.com", | ||
@@ -44,2 +121,8 @@ "package": "@fluentui/react-input", | ||
{ | ||
"author": "behowell@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3", | ||
"comment": "Refactor component Slot typings" | ||
}, | ||
{ | ||
"author": "elcraig@microsoft.com", | ||
@@ -53,2 +136,8 @@ "package": "@fluentui/react-input", | ||
"package": "@fluentui/react-input", | ||
"commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0", | ||
"comment": "Updating based on changes to composition types." | ||
}, | ||
{ | ||
"author": "Humberto.Morimoto@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "9f5e897597cb3de56c32fe750d45c9d2a1ea838a", | ||
@@ -60,4 +149,4 @@ "comment": "Replacing use of functions in makeStyles with direct use of tokens and removing old version of stories." | ||
"package": "@fluentui/react-input", | ||
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly4e6470c86320220127.1", | ||
"commit": "4288e9baaf65cf1338bb7b5682aca694d6e32e0d" | ||
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1", | ||
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8" | ||
}, | ||
@@ -67,25 +156,5 @@ { | ||
"package": "@fluentui/react-input", | ||
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly4e6470c86320220127.1", | ||
"commit": "4288e9baaf65cf1338bb7b5682aca694d6e32e0d" | ||
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1", | ||
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"author": "olfedias@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612", | ||
"comment": "remove inline-style-expand-shorthand from tsconfigs" | ||
}, | ||
{ | ||
"author": "tkrasniqi@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "d757e76e91527fb821c3e1707db48f1745bf44ca", | ||
"comment": "Rmoved config with just-scripts" | ||
}, | ||
{ | ||
"author": "martinhochel@microsoft.com", | ||
"package": "@fluentui/react-input", | ||
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d", | ||
"comment": "chore: use storybook runner for all vNext packages" | ||
} | ||
] | ||
@@ -92,0 +161,0 @@ } |
# Change Log - @fluentui/react-input | ||
This log was last generated on Thu, 27 Jan 2022 04:17:42 GMT and should not be manually modified. | ||
This log was last generated on Fri, 18 Feb 2022 04:14:53 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly4e6470c86320220127.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-input_v0.0.0-nightly4e6470c86320220127.1) | ||
## [0.0.0-nightly50ae56ec3420220218.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-input_v0.0.0-nightly50ae56ec3420220218.1) | ||
Thu, 27 Jan 2022 04:17:42 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-input_v9.0.0-beta.0..@fluentui/react-input_v0.0.0-nightly4e6470c86320220127.1) | ||
Fri, 18 Feb 2022 04:14:53 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-input_v9.0.0-beta.1..@fluentui/react-input_v0.0.0-nightly50ae56ec3420220218.1) | ||
### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/4288e9baaf65cf1338bb7b5682aca694d6e32e0d) by email not defined) | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by email not defined) | ||
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball) | ||
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly50ae56ec3420220218.1 ([commit](https://github.com/microsoft/fluentui/commit/0459873d472d7ad2a20c9bbb2facf6af8ef20995) by beachball) | ||
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-input_v9.0.0-beta.1) | ||
Thu, 10 Feb 2022 08:51:17 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-input_v9.0.0-beta.0..@fluentui/react-input_v9.0.0-beta.1) | ||
### Changes | ||
- BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com) | ||
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com) | ||
- Fix styling issues found in accessibility review ([PR #21205](https://github.com/microsoft/fluentui/pull/21205) by elcraig@microsoft.com) | ||
- Bump Fluent UI dependencies to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com) | ||
- Replace make-styles packages with griffel equivalents. ([PR #21431](https://github.com/microsoft/fluentui/pull/21431) by olfedias@microsoft.com) | ||
- Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com) | ||
- Initial release ([PR #21142](https://github.com/microsoft/fluentui/pull/21142) by elcraig@microsoft.com) | ||
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com) | ||
- Replacing use of functions in makeStyles with direct use of tokens and removing old version of stories. ([PR #21045](https://github.com/microsoft/fluentui/pull/21045) by Humberto.Morimoto@microsoft.com) | ||
- Bump @fluentui/react-utilities to v0.0.0-nightly4e6470c86320220127.1 ([commit](https://github.com/microsoft/fluentui/commit/4288e9baaf65cf1338bb7b5682aca694d6e32e0d) by beachball) | ||
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly4e6470c86320220127.1 ([commit](https://github.com/microsoft/fluentui/commit/4288e9baaf65cf1338bb7b5682aca694d6e32e0d) by beachball) | ||
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball) | ||
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball) | ||
@@ -24,0 +38,0 @@ ## [9.0.0-beta.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-input_v9.0.0-beta.0) |
import type { ComponentProps } from '@fluentui/react-utilities'; | ||
import type { ComponentState } from '@fluentui/react-utilities'; | ||
import type { ForwardRefComponent } from '@fluentui/react-utilities'; | ||
import type { IntrinsicShorthandProps } from '@fluentui/react-utilities'; | ||
import * as React_2 from 'react'; | ||
import type { Slot } from '@fluentui/react-utilities'; | ||
/** | ||
* The Input component allows people to enter and edit text. | ||
* | ||
* ⚠️ **This component is still in alpha (unstable) status. APIs may change before the final release.** | ||
*/ | ||
@@ -24,3 +22,3 @@ export declare const Input: ForwardRefComponent<InputProps>; | ||
export declare type InputProps = Omit<ComponentProps<InputSlots, 'input'>, 'children' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'value'> & { | ||
export declare type InputProps = Omit<ComponentProps<Partial<InputSlots>, 'input'>, 'children' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'value'> & { | ||
/** Input can't have children. */ | ||
@@ -83,3 +81,3 @@ children?: never; | ||
*/ | ||
root: IntrinsicShorthandProps<'span'>; | ||
root: NonNullable<Slot<'span'>>; | ||
/** | ||
@@ -92,7 +90,7 @@ * The actual `<input>` element. `type="text"` will be automatically applied unless overridden. | ||
*/ | ||
input: IntrinsicShorthandProps<'input'>; | ||
input: NonNullable<Slot<'input'>>; | ||
/** Element before the input text, within the input border */ | ||
contentBefore?: IntrinsicShorthandProps<'span'>; | ||
contentBefore?: Slot<'span'>; | ||
/** Element after the input text, within the input border */ | ||
contentAfter?: IntrinsicShorthandProps<'span'>; | ||
contentAfter?: Slot<'span'>; | ||
}; | ||
@@ -99,0 +97,0 @@ |
@@ -5,5 +5,3 @@ import type { InputProps } from './Input.types'; | ||
* The Input component allows people to enter and edit text. | ||
* | ||
* ⚠️ **This component is still in alpha (unstable) status. APIs may change before the final release.** | ||
*/ | ||
export declare const Input: ForwardRefComponent<InputProps>; |
@@ -17,4 +17,2 @@ "use strict"; | ||
* The Input component allows people to enter and edit text. | ||
* | ||
* ⚠️ **This component is still in alpha (unstable) status. APIs may change before the final release.** | ||
*/ | ||
@@ -21,0 +19,0 @@ |
import * as React from 'react'; | ||
import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities'; | ||
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities'; | ||
export declare type InputSlots = { | ||
@@ -11,3 +11,3 @@ /** | ||
*/ | ||
root: IntrinsicShorthandProps<'span'>; | ||
root: NonNullable<Slot<'span'>>; | ||
/** | ||
@@ -20,9 +20,9 @@ * The actual `<input>` element. `type="text"` will be automatically applied unless overridden. | ||
*/ | ||
input: IntrinsicShorthandProps<'input'>; | ||
input: NonNullable<Slot<'input'>>; | ||
/** Element before the input text, within the input border */ | ||
contentBefore?: IntrinsicShorthandProps<'span'>; | ||
contentBefore?: Slot<'span'>; | ||
/** Element after the input text, within the input border */ | ||
contentAfter?: IntrinsicShorthandProps<'span'>; | ||
contentAfter?: Slot<'span'>; | ||
}; | ||
export declare type InputProps = Omit<ComponentProps<InputSlots, 'input'>, 'children' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'value'> & { | ||
export declare type InputProps = Omit<ComponentProps<Partial<InputSlots>, 'input'>, 'children' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'value'> & { | ||
/** Input can't have children. */ | ||
@@ -29,0 +29,0 @@ children?: never; |
@@ -22,5 +22,5 @@ "use strict"; | ||
return React.createElement(slots.root, { ...slotProps.root | ||
}, React.createElement(slots.contentBefore, { ...slotProps.contentBefore | ||
}, slots.contentBefore && React.createElement(slots.contentBefore, { ...slotProps.contentBefore | ||
}), React.createElement(slots.input, { ...slotProps.input | ||
}), React.createElement(slots.contentAfter, { ...slotProps.contentAfter | ||
}), slots.contentAfter && React.createElement(slots.contentAfter, { ...slotProps.contentAfter | ||
})); | ||
@@ -27,0 +27,0 @@ }; |
@@ -5,5 +5,3 @@ import type { InputProps } from './Input.types'; | ||
* The Input component allows people to enter and edit text. | ||
* | ||
* ⚠️ **This component is still in alpha (unstable) status. APIs may change before the final release.** | ||
*/ | ||
export declare const Input: ForwardRefComponent<InputProps>; |
@@ -7,4 +7,2 @@ import * as React from 'react'; | ||
* The Input component allows people to enter and edit text. | ||
* | ||
* ⚠️ **This component is still in alpha (unstable) status. APIs may change before the final release.** | ||
*/ | ||
@@ -11,0 +9,0 @@ |
import * as React from 'react'; | ||
import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities'; | ||
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities'; | ||
export declare type InputSlots = { | ||
@@ -11,3 +11,3 @@ /** | ||
*/ | ||
root: IntrinsicShorthandProps<'span'>; | ||
root: NonNullable<Slot<'span'>>; | ||
/** | ||
@@ -20,9 +20,9 @@ * The actual `<input>` element. `type="text"` will be automatically applied unless overridden. | ||
*/ | ||
input: IntrinsicShorthandProps<'input'>; | ||
input: NonNullable<Slot<'input'>>; | ||
/** Element before the input text, within the input border */ | ||
contentBefore?: IntrinsicShorthandProps<'span'>; | ||
contentBefore?: Slot<'span'>; | ||
/** Element after the input text, within the input border */ | ||
contentAfter?: IntrinsicShorthandProps<'span'>; | ||
contentAfter?: Slot<'span'>; | ||
}; | ||
export declare type InputProps = Omit<ComponentProps<InputSlots, 'input'>, 'children' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'value'> & { | ||
export declare type InputProps = Omit<ComponentProps<Partial<InputSlots>, 'input'>, 'children' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'value'> & { | ||
/** Input can't have children. */ | ||
@@ -29,0 +29,0 @@ children?: never; |
@@ -13,7 +13,7 @@ import * as React from 'react'; | ||
return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root | ||
}, /*#__PURE__*/React.createElement(slots.contentBefore, { ...slotProps.contentBefore | ||
}, slots.contentBefore && /*#__PURE__*/React.createElement(slots.contentBefore, { ...slotProps.contentBefore | ||
}), /*#__PURE__*/React.createElement(slots.input, { ...slotProps.input | ||
}), /*#__PURE__*/React.createElement(slots.contentAfter, { ...slotProps.contentAfter | ||
}), slots.contentAfter && /*#__PURE__*/React.createElement(slots.contentAfter, { ...slotProps.contentAfter | ||
})); | ||
}; | ||
//# sourceMappingURL=renderInput.js.map |
{ | ||
"name": "@fluentui/react-input", | ||
"version": "0.0.0-nightly4e6470c86320220127.1", | ||
"version": "0.0.0-nightly50ae56ec3420220218.1", | ||
"description": "Fluent UI React Input component", | ||
@@ -31,3 +31,3 @@ "main": "lib-commonjs/index.js", | ||
"@fluentui/react-conformance": "*", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly4e6470c86320220127.1", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly50ae56ec3420220218.1", | ||
"@fluentui/scripts": "^1.0.0", | ||
@@ -46,3 +46,3 @@ "@types/enzyme": "3.10.3", | ||
"dependencies": { | ||
"@fluentui/react-utilities": "0.0.0-nightly4e6470c86320220127.1", | ||
"@fluentui/react-utilities": "0.0.0-nightly50ae56ec3420220218.1", | ||
"@griffel/react": "1.0.0", | ||
@@ -49,0 +49,0 @@ "tslib": "^2.1.0" |
@@ -41,4 +41,4 @@ # Input Variants | ||
> = { | ||
root: ObjectShorthandProps<React.HTMLAttributes<HTMLElement>, HTMLElement>; | ||
input: ObjectShorthandProps<TInputAttributes, TInput>; | ||
root: ComponentSlotProps<React.HTMLAttributes<HTMLElement>, HTMLElement>; | ||
input: ComponentSlotProps<TInputAttributes, TInput>; | ||
}; | ||
@@ -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
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
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
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
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
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
203209
2396
+ Added@fluentui/keyboard-keys@0.0.0-nightly50ae56ec3420220218.1(transitive)
+ Added@fluentui/react-utilities@0.0.0-nightly50ae56ec3420220218.1(transitive)
- Removed@fluentui/keyboard-keys@0.0.0-nightly4e6470c86320220127.1(transitive)
- Removed@fluentui/react-utilities@0.0.0-nightly4e6470c86320220127.1(transitive)
Updated@fluentui/react-utilities@0.0.0-nightly50ae56ec3420220218.1