UNPKG

@material-ui/lab

Version:

Material-UI Lab - Incubator for Material-UI React components.

1,090 lines (854 loc) 540 kB
### [Versions](https://material-ui.com/versions/) ## 4.9.8 ###### *Mar 28, 2020* Big thanks to the 24 contributors who made this release possible. Here are some highlights ✨: - ⚛️ Improve the DX, migrate a couple of props' descriptions to TypeScript (#20298, #20171, #20264) @eps1lon. ![typescript](https://user-images.githubusercontent.com/3165635/77828342-1f376080-711b-11ea-8c9d-c1c245fb17b0.png) The coverage has increase from 17 to 50 components. We are working on migrating the 94 missing components. - ⚛️ Improve the DX, add debug information when using hooks (#19515) @eps1lon. For instance, with the `useMediaQuery` hook ![useMediaQuery](https://user-images.githubusercontent.com/3165635/77828448-bf8d8500-711b-11ea-881a-e9cc09c7d9ee.png) - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.9.8` - [DX] Add debug values to various hooks (#19515) @eps1lon - [ListItem] Add component prop to primaryTypographyProps and… (#19155) @fyodore82 - [MenuList] Include disabled items in keyboard navigation (#19967) @scottander - [MenuList] Remove if-statement that is always true (#20270) @CptWesley - [Popover] Fix resize event leak (#20272) @skmail - [Select] Fix disabled color to the icon (#20287) @HenryLie - [SvgIcon] Remove wrong role (#20307) @oliviertassinari - [theme] Warn when palette structure is wrong (#20253) @oliviertassinari - [Tooltip] Fix TextField integration (#20252) @ShehryarShoukat96 - [Tooltip] Remove superfluous argument in handleBlur call (#20271) @CptWesley - [TypeScript] Enable module augmentation of CommonColors (#20212) @eps1lon - [TypeScript] Add JSDOC to ListItem TypeScript props (#20171) @eps1lon - [TypeScript] Fix Checkbox and Radio type propType (#20293) @eps1lon - [TypeScript] Fix incorrect typings regarding transition components a… (#20306) @eps1lon - [TypeScript] Link to demos and API in IntelliSense (#20078) @eps1lon - [TypeScript] Mark context value as nullable for optional providers (#20278) @ianschmitz - [TypeScript] Move more prop docs into IntelliSense (#20298) @eps1lon - [TypeScript] Add more props documentation to IntelliSense (#20264) @eps1lon ### `@material-ui/lab@v4.0.0-alpha.47` - [Autocomplete] Add limitTags prop (#20209) @netochaves - [Autocomplete] Add startAfter option (#20305) @netochaves - [Autocomplete] Warn when value does not match options (#20235) @igorbrasileiro - [Pagination] Add RTL support (#20247) @HenryLie - [TreeView] Correct single-select aria-selected (#20102) @tonyhallett - [TreeView] Disable all selection when disableSelection (#20146) @tonyhallett - [TreeView] Fix focus steal (#20232) @tonyhallett - [TreeView] fix inconsistent focus for programmatically focused treeitem (#20237) @tonyhallett ### Docs - [docs] Add a new site to showcase (google-keep clone) (#20260) @anselm94 - [docs] Add color preview to default theme tree (#20082) @mlizchap - [docs] Add demo link (#20262) @esemeniuc - [docs] Extract landing-only modules (#20187) @eps1lon - [docs] Fix TablePagination props swap descriptions (#20274) @johncalvinroberts - [docs] Fix a few WAVE errors (#20304) @oliviertassinari - [docs] Fix icons + locale (#20213) @oliviertassinari - [docs] Fix popover anchor playground crash (#20265) @Zaynex - [docs] Fix wording in backdrop.md (#20190) @matt-savvy - [docs] Improve demo error boundary (#20177) @eps1lon - [docs] Improve doc for textField and buttons (#20207) @DDDDDanica - [docs] Improve loading experience (#20005) @eps1lon - [docs] Improve material icons installation instructions (#20290) @ArianKrasniqi - [docs] Mark toolbar for assistive technology (#20158) @eps1lon - [docs] Page size tracking fixes (#20199) @eps1lon - [docs] Sync translations (#20210) @oliviertassinari ### Core - [test] Improve regression test suite debugging (#20194) @eps1lon - [ci] Retry mergable state for 30 minutes (#20269) @eps1lon - [core] Automatically apply "PR: needs rebase" PR label (#20169) @eps1lon - [core] Batch small changes (#20255) @oliviertassinari - [core] Fix docs:start which should start next.js server (#20202) @ro7584 - [core] Fix maintenance workflow failing on fork PRs (#20195) @eps1lon - [core] Format all ts files (#20233) @eps1lon ## 4.9.7 ###### *Mar 19, 2020* ### `@material-ui/core@v4.9.7` - [core] Patch correct dependencies (10bc98f) ## 4.9.6 ###### *Mar 18, 2020* Big thanks to the 39 contributors who made this release possible. Here are some highlights ✨: - ⚛️ Improve the DX in Visual Studio Code (#20079, #19962, #19280) @eps1lon @jedwards1211. - Preview the colors in right in the editor ![](https://user-images.githubusercontent.com/12292047/76473891-2b70ad80-63fa-11ea-8afe-38ceee43eeaa.png) ![](https://user-images.githubusercontent.com/12292047/76473890-2ad81700-63fa-11ea-9bb3-005f79a195e7.png) - Preview the purpose of each theme.spacing arguments right in the editor ![](https://user-images.githubusercontent.com/12292047/75786858-31192400-5d66-11ea-9382-94dd74c42985.png) - Leverage code snippets to save time with [this extension](https://marketplace.visualstudio.com/items?itemName=vscodeshift.material-ui-snippets). - 🔍 12 patches on the Autocomplete component. - 💄 Polish on the Pagination component (#19933, #19964, #19966, #19987) @pvdstel @eps1lon @mbrookes. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.9.6` - [Chip] Prevent event default when onDelete is triggered (#20051) @eps1lon - [Container] Reset display block (#19971) @oliviertassinari - [DatePicker] Fix codesandbox demo (#19926) @netochaves - [Drawer] Add a comment for clarity on the styling of height of the toolbar (#19934) @smerriman18 - [Grid] Fix row-reverse typo (#20048) @jhthompson - [Link] Fix color mismatch with Typography component (#19949) Weslen do Nascimento - [ListItemText] Fix display block issue (#20039) @psdr03 - [Select] Simplify the demos (remove ref) (#20076) @captain-yossarian - [TablePagination] Out of range warning when "count={-1}" (#19874) @dbarabashdev - [TextField] Avoid outline label CSS leak (#19937) @ivoiv - [TextField] Fix outlined render gap if label = empty string (#19722) @captain-yossarian - [TextField] Minimize usage of z-index (#19547)" (#20016) @piotros - [theme] Describe what each argument of theme.spacing affects (#19962) @eps1lon - [theme] Array reject on spacing transformation fixed (#19900) Weslen do Nascimento - [Tooltip] Fix useMemo dependency (#19899) @NMinhNguyen - [Tooltip] Reduce enterDelay to 100ms (#19898) @oliviertassinari ### `@material-ui/styles@v4.9.6` - [styles] Fix theme default props overriden by Component default (#20091) @adridavid - [styles] Name anonymous function type (#19996) @eps1lon ### `@material-ui/system@v4.9.6` - [theme] Array reject on spacing transformation fixed (#19900) Weslen do Nascimento ### `@material-ui/utils@v4.9.6` - [core] Fix deepmerge of DOM elements (#20100) @ValentinH ### `@material-ui/lab@v4.0.0-alpha.46` - [Autocomplete] Add more details in the onChange event (#19959) @akharkhonov - [Autocomplete] Add scrollbar support in IE11 (#19969) @SergeyUstinovich - [Autocomplete] Better synchronize the highlight with the value (#19923) @captain-yossarian - [Autocomplete] Document listbox limitation (#20101) @zatine - [Autocomplete] Fix clearOnEscape + multiple combination (#20065) @chaudharykiran - [Autocomplete] Fix GitHub's demo behavior (#19928) @hasanozacar - [Autocomplete] Fix typo in prop description (#20086) @vince1995 - [Autocomplete] Improvement popup open logic (#19901) @haseebdaone - [Autocomplete] Make categories more obvious (#20142) @embeddedt - [Autocomplete] Simplify error for wrong getOptionLabel (#20103) @oliviertassinari - [Autocomplete] Update onChange API @oliviertassinari - [Autocomplete] Use getOptionLabel over stringify (#19974) @a-type - [AvatarGroup] Add max avatar prop (#19853) @GFynbo - [Pagination] Add TypeScript types (#19933) @pvdstel - [Pagination] Fix prop forwarding of `onChange` and `page` (#19964) @eps1lon - [Pagination] Leverage `@default` over default values (#19966) @eps1lon - [Pagination] Remove children prop (#19987) @mbrookes - [Rating] Fix text alignment inheritance (#20055) @mlizchap - [Skeleton] Fix SkeletonClassKey type (#20047) @100terres - [Skeleton] Improve wave dark mode support (#20112) @oliviertassinari ### Docs - [docs] Add radio error demo (#19599) @mbrookes - [docs] Bump next to latest (#19995) @eps1lon - [docs] Display color preview in IntelliSense (#20079) @eps1lon - [docs] Document typescript:transpile script (#19951) @eps1lon - [docs] Fix @material-ui/styles release version number (#19939) @jkjustjoshing - [docs] Fix OutlinedLabel typo (#20006) @ljcooke - [docs] Fix SEO issues (#20108) @oliviertassinari - [docs] Fix Sketch link (#19944) @mbrookes - [docs] Fix grammar in autocomplete doc (#20066) @dandv - [docs] Fix incorrect type for fontWeight @eps1lon - [docs] Fix missing OutlinedLabel#label link in Select API docs (#19993) @eps1lon - [docs] Flexbox, add element for show the good effect (#19956) @tbredillet - [docs] Flexbox: update item number (#19954) @tbredillet - [docs] Improve font size scaling of some demos (#19950) @eps1lon - [docs] Remove premium support offerings (#19972) @mbrookes - [docs] Simplify checkbox examples (#20052) @tacigar - [docs] Simplify some demos (#19608) @mbrookes - [docs] Track bundle size of pages (#19978) @eps1lon - [docs] Upgrade to next 9 (#18441) @eps1lon - [docs] Simplify drawer examples (#20040) @TommyJackson85 - [examples] Fix typo in gatsby readme (#19998) @eps1lon ### Core - [test] Match against messages not args on console methods (#20046) @eps1lon - [test] Resize screenshots with sharp (#19979) @oliviertassinari - [test] Run snapshot tests on the a11y tree (#20019) @eps1lon - [ci] Fix azure not running (#20127) @eps1lon - [ci] Fix incorre pr number for experimental scripts (#20021) @eps1lon - [ci] Let failed types-next jobs pass (#20007) @eps1lon - [ci] Let failed types-next jobs pass (#20017) @eps1lon - [core] Add missing properties to TypeAction (#20075) @timonweber - [core] Add spacing after prettier command (#20073) @dandv - [core] Batch small changes (#20111) @oliviertassinari - [core] Fix typos in code comments (#19999) @eps1lon - [core] Improve the DX when iterating on components (#20128) @oliviertassinari - [core] Use Babel 7 version of transform-react-constant-elements (#20015) @merceyz - [security] Bump acorn from 5.7.3 to 5.7.4 (#20105) @dependabot-preview - [core] Batch small changes (#19896) @oliviertassinari - [core] Update type defs to use OverridableComponent (#20110) @theGirrafish - [core] Fix docs:api cleaning the wrong directory #20164 @ro7584 ## 4.9.5 ###### *Feb 29, 2020* Big thanks to the 15 contributors who made this release possible. Here are some highlights ✨: - 💄 Add selection (and multi-selection) support to tree view (#18357) @joshwooding - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.9.5` - [ButtonBase] Fix when changing enableRipple prop from false to true (#19667) @dmtrKovalenko - [l10n] Add Armenian (hy-AM) locale (#19844) @vgevorgyan - [l10n] Add Hebrew (he-IL) locale (#19850) @boazberman - [Popper] Fix deep merge of PopperProps (#19851) @valgrindMaster - [RadioGroup] Random default name (#19890) @dfernandez-asapp - [Slider] Add explicit types for slider callbacks (#19867) @deymundson - [Step] Add missing expanded prop to step TypeScript (#19873) @countableSet ### `@material-ui/lab@v4.0.0-alpha.45` - [Autocomplete] Fix list of countries (#19862) @FottyM - [TreeView] Fix conditional nodes support (#19849) @joshwooding - [Treeview] Add node selection support (#18357) @joshwooding ### Docs - [docs] Fix broken link to jss-nested plugin (#19837) @Izhaki - [docs] Fix typo on supported-platforms.md (#19841) @vferdiansyah - [docs] Move store to a subfolder (#19822) @oliviertassinari ### Core - [ci] Enable re-run of azure pipelines (#19823) @eps1lon - [ci] Fix heap out of memory in azure pipelines (#19825) @eps1lon - [core] Migrate to import * as React from 'react' (#19802) @TrySound - [test] Fix defaultProps overriding props (#19858) @eps1lon - [test] Test against typescript nightlies (#19857) @eps1lon ## 4.9.4 ###### *Feb 23, 2020* Big thanks to the 18 contributors who made this release possible. Here are some highlights ✨: - ♿️ Improve the accessibility support of the Breadcrumbs and ButtonBase (#19724, #19784) @captain-yossarian. - 💄 Polish the new Pagination component (#19758) @zettca. - 🐛 Fix Preact support of the swipeable drawer (#19782) @TommyJackson85. - 💅 Introduce a small delay in the appearance of the tooltip (#19766) @Ritorna. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.9.4` - [Breadcrumbs] Fix expand/collapsed Breadcrumbs via keyboard (#19724) @captain-yossarian - [ButtonBase] Fix space handling for non native button elements (#19784) @captain-yossarian - [CardMedia] Fix propTypes to allow `component` prop (#19790) @stevenmusumeche - [CssBaseline] Change of children type to ReactNode (#19770) @dfernandez-asapp - [Framer] Release v1.1.0 (#19800) @mbrookes - [SwipeableDrawer] Improve Preact support (#19782) @TommyJackson85 - [SwipeableDrawer] Support global theme changes (#19771) @TommyJackson85 - [TextareaAutosize] Prevent "Maximum update depth exceeded" (#19743) @SofianeDjellouli - [theme] Built-in convertLength method (#19720) @oliviertassinari - [Tooltip] Add enterNextDelay prop (#19766) @Ritorna ### `@material-ui/lab@v4.0.0-alpha.44` - [Autocomplete] Built-in fullWidth (#19805) @oliviertassinari - [Autocomplete] Fix stuck with open popup (#19794) @hasanozacar - [Autocomplete] Warn when using wrong getOptionSelected (#19699) @ahmad-reza619 - [AvatarGroup] Add spacing prop (#19761) @GFynbo - [Pagination] Fix activatedOpacity typo (#19758) @zettca ### Docs - [docs] Fix typo in Autocomplete (#19775) @aurnik - [docs] Add Data Driven Forms to the list of libraries (#19747) @rvsia - [docs] Improve wording of bundle size guide (#19768) @larsenwork - [docs] Sync translations.json @oliviertassinari - [docs] Update the translations (#19741) @mbrookes ### Core - [core] Export ThemeOptions (#19789) @dbarabashdev - [core] Small fixes (#19803) @oliviertassinari - [core] Update getDisplayName to handle React.memo (#19762) @dantman ## 4.9.3 ###### *Feb 16, 2020* Big thanks to the 18 contributors who made this release possible. ### `@material-ui/core@v4.9.3` - [l10n] Add Estonian (et-EE) locale (#19707) @villuv - [ScopedCssBaseline] Allow css to be only applied on children (#19669) @TomPradat ### `@material-ui/system@v4.9.3` - [system] Add boxSizing to sizing styled system (#19684) @mesteche ### `@material-ui/lab@v4.0.0-alpha.43` - [Autocomplete] Improve freeSolo UX (#19663) @itelofilho - [Autocomplete] Make options required (#19648) @alexandesigner - [Pagination] Second iteration (#19612) @oliviertassinari ### Docs - [TreeView] Add recursive demo (#19636) @captain-yossarian - [docs] Encourage mui-rff (#19676) @lookfirst - [docs] Fix missing import in auto-dark theme palette example (#19694) @vinyldarkscratch - [docs] Fix typo in sticky footer template (#19695) @bryndyment - [docs] List default attributes first (#19693) @amcasey - [docs] Revamp the notifications (#19615) @mbrookes - [docs] Revert sidebar scrolling (#19678) @kristenmills - [docs] Switch to cross-fetch (#19644) @eps1lon - [docs] Update codemod documentation (#19661) @larsenwork - [docs] What's the lab about? (#19611) @jcafiero ### Core - [core] Export TypographyVariant type (#19598) @aleccaputo - [core] Host normalize-scroll-left (#19638) @oliviertassinari - [core] Misc dependency fixes (#19643) @eps1lon - [core] Batch small changes (#19639) @oliviertassinari - [core] Batch small changes (#19717) @oliviertassinari ## 4.9.2 ###### *Feb 9, 2020* Big thanks to the 24 contributors who made this release possible. ### `@material-ui/core@v4.9.2` - [AppBar] Add color transparent support (#19393) @lexskir - [Divider] Fix height for vertical divider in a flexbox (#19614) @captain-yossarian - [Modal] Fix zoom out on iOS (#19548) @TommyJackson85 - [MobileStepper] Fix TypeScript props not aligning with prop-types (#19594) @illusionalsagacity - [Tabs] Add missing updateScrollButtons type in TabActions (#19570) @notsidney - [TextField] Fix blurry text on label (#19547) @chybisov - [TextField] Fix label notch for custom htmlFontSize (#19558) @kusmierz - [Typography] Add missing classes to TypographyClassKey (#19588) @galechus - [l10n] Add Hungarian (hu-HU) locale (#19566) @vgaborabs - [l10n] Add Icelandic (is-IS) locale (#19538) @axelbjornsson ### `@material-ui/lab@v4.0.0-alpha.42` - [Autocomplete] Fix unexpected clearing (#19511) @captain-yossarian - [Autocomplete] Support limiting the amount of options (#19539) @govizlora - [Pagination] Introduce new component (#19049) @mbrookes ### Docs - [docs] Add ToggleButton demo for not accepting null value (#19582) @LorenzHenk - [docs] Add blocks section to related-projects (#19562) @alexandre-lelain - [docs] Add generic props usage examples (#19341) @fyodore82 - [docs] Add links to sandbox option in examples readme files (#19592) @garethx - [docs] Add new starting template (#19604) @dunky11 - [docs] Add post-update to examples so they run on CodeSandbox (#19605) @garethx - [docs] Fix typo in the Avatar docs (#19544) @UltimateForm - [docs] Improve entry points for issue repros (#19501) @eps1lon - [docs] Link a VSCode extension for working with Material-UI (#19280) @jedwards1211 - [docs] Notification blog post @oliviertassinari - [docs] Refactor EnchancedTable demo (#19560) @ahmad-reza619 - [docs] The error style rule is a pseudo-class (#19555) @TommyJackson85 - [docs] Update link to example for adding a new demo (#19590) @LorenzHenk ### Core - [company] Polish the job post (#19593) @oliviertassinari - [core] Ignore `@date-ui/` updates (#19633) @eps1lon ## 4.9.1 ###### *Feb 2, 2020* Big thanks to the 39 contributors who made this release possible. Here are some highlights ✨: - 🐛 Clean and synchronize the material icons with Google (#19483, #19485) @timmydoza. - 🐛 Fix outline input regressions (#19389, #19409, #19495) @Alexeyun1k, @kusmierz, @cadrimiranda. - 🐛 Fix IME support of the Autocomplete, important for Chinese, Japanese, and Korean (#19499) @teramotodaiki. - 📚 Improve the Style Library Interoperability docs section (#19457) @oliviertassinari. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.9.1` - [Container] Fix mismatch between Container and Toolbar gutters (#19505) @koistya - [FormControl] Add `fullWidth` prop to `FormControl` context (#19369) @EsoterikStare - [l10n] Add Catalan (ca-ES) locale (#19428) @yyuri - [l10n] Add Finnish (fi-FI) locale (#19471) @SampsaKaskela - [l10n] Add Vietnamese (vi-VN) locale (#19439) @imcvampire - [ListItemAvatar] Add "children" prop (#19509) @srghma - [Select] Right click opens select menu (#19434) @fyodore82 - [Slider] Support marks={false} (#19350) @embeddedt - [SwitchBase] Fix ignoring disabled from FormControl (#19319) @rostislavbobo - [TablePagination] Support unknown total count (#19494) @Domino987 - [TextField] Declare global mui-auto-fill(-cancel) keyframes (#19497) @martinjlowm - [TextField] Fix label notch for custom htmlFontSize (#19409) @kusmierz - [TextField] Handle leaky global styles of Bootstrap (#19495) @cadrimiranda - [TextField] Prevent overriding legend display styles (#19389) @Alexeyun1k - [TextField] Reduce helper text height to match spec (#19390) @suliskh ### `@material-ui/icons@v4.9.1` - [icons] Remove extraneous path (#19483) @timmydoza - [icons] Synchronize components with Google (#19485) @oliviertassinari ### `@material-ui/system@v4.9.1` - [system] Add grid support (#17326) @Lavoaster ### `@material-ui/lab@v4.0.0-alpha.41` - [Alert] Improve dark theme coloring (#19105) @ahtcx - [Autocomplete] Fix autoSelect logic (#19384) @SerhiiBilyk - [Autocomplete] Should not fire change until IME is confirmed (#19499) @teramotodaiki - [Autocomplete] Update docs for defaultValue prop (#19431) @willwill96 - [Rating] Fix readOnly + precision combination (#19414) @TommyJackson85 ### Framer - [framer] Support Framer color tokens for ThemeProvider (#19451) @iKettles ### Docs - [example] Add @types/node dependency (#19383) @AlexanderVishnevsky - [blog] 2019 in review and beyond (#19478) @oliviertassinari - [blog] Improve the layout (#19385) @oliviertassinari - [docs] Add SwipeableTextMobileStepper demo (#18503) @eps1lon - [docs] Add cinemaPlus to showcase (#19502) @georgesimos - [docs] Fix /versions GitHub API rate limitation (#19223) @hiteshkundal - [docs] Fix a small typo ("idea" ==> "ID") (#19366) @markdoliner - [docs] Fix some typos and correct a grammar mistake (#19324) @konekoya - [docs] Fix typo (#19492) @Blechkelle - [docs] Fix typo in Autocomplete CSS API (#19503) @DenrizSusam - [docs] Improve Style Library Interoperability (#19457) @oliviertassinari - [docs] Include more info on RMUIF v2.2.0 (#19410) @phoqe - [docs] Increase button variant demos consistency (#19392) @theswerd - [docs] Refresh the home page (#19430) @mbrookes - [docs] Remove `@ts-ignore` usage (#19504) @eps1lon - [docs] Replace switch with checkbox and radio (#19440) @rostislavbobo - [docs] Separate ButtonGroup and Fab pages from Button page (#19381) @mbrookes - [docs] Update the translations (#19514) @mbrookes - [docs] makeStyles doesn't have access to the component's name (#19474) @hesto2 ### Core - [test] Check exhaustive deps of useEnhancedEffect (#19417) @eps1lon - [test] Misc polish (#19425) @eps1lon - [test] Test type libs in docs (#19375) @eps1lon - [test] Exclude inaccessible elements by default in browser tests (#19380) @eps1lon - [core] Batch small changes (#19416) @oliviertassinari - [core] cross-os jsonlint (#19377) @eps1lon - [core] Fix mixins not being assignable as JSS styles (#19491) @ririvas - [core] Misc dependency fixes (#19412) @eps1lon ## 4.9.0 ###### *Jan 22, 2020* Big thanks to the 43 contributors who made this release possible. Here are some highlights ✨: - 🐛 Change the outlined input notch implementation to rely 100% on CSS (#17680) @eps1lon. - 🔍 11 patches on the Autocomplete component. - 📚 Simplify the usage of "copy demo" action (#19291) @theswerd. - 📚 Warn when defaultValue changes (#19070) @m4theushw. - 💅 Slight updates to better match the Material Design spec (#19277, #19342) @elmeerr. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.9.0` - [Breadcrumbs] Remove private separator component (#19234) @hiteshkundal - [ButtonBase] Fix potential memory leak for multi-touch devices (#19333) @eps1lon - [DialogContentText] Fix component prop (#19102) @fyodore82 - [l10n] Add Bulgarian (pg-BG) locale (#19138) @panayotoff - [l10n] Improve it-IT locale (#19143) @keul - [RadioGroup] Fix useRadioGroup.d.ts (#19001) @NMinhNguyen - [Slider] Add a custom scale support (#19158) @netochaves - [Slider] Center the value label (#19330) @LorenzHenk - [StepButton] Fix prop-types warning regarding `expanded` (#19332) @eps1lon - [Stepper] Add support for expanding all the steps (#19200) @hiteshkundal - [Tab] Remove font-size media-query (#19342) @elmeerr - [TableRow] Improve hover/selected styles (#19277) @elmeerr - [TextField] Fix outline offscreen label strikethrough (#17680) @eps1lon - [TextField] Improve transitions (#19228) @oliviertassinari - [TextField] Support padding for helperText (#19198) @hiteshkundal - [Tooltip] Fix popper.js re-instantiation (#19304) @netochaves ### `@material-ui/styles@v4.9.0` - [styles] Overload function signature instead of conditional (#19320) @eps1lon ### `@material-ui/types@v5.0.0` #### Breaking change - [types] Overload function signature instead of conditional (#19320) @eps1lon Or, And, IsAny and IsEmptyInterface have been removed. - [types] Remove CoerceEmptyInterface (#19259) @eps1lon ### `@material-ui/lab@v4.0.0-alpha.40` - [Alert] Improve Transition demo (#19283) @theswerd - [Alert] Use alert severity in demos (#19123) @sviande - [Rating] Add default value prop (#19103) @oliviertassinari - [Skeleton] Use span element (#19278) @oliviertassinari - [Autocomplete] Add missing 'clear' to onInputChange typing (#19286) @mvestergaard - [Autocomplete] Decrease padding when icon buttons aren't rendered (#19257) @jedwards1211 - [Autocomplete] Document how to disable chrome autofill (#19126) @goleary - [Autocomplete] Don't delete tag if exists (in freesolo mode) (#19215) @adica - [Autocomplete] Extend support to textarea (#19232) @justtol - [Autocomplete] Fix group labels hiding items during keybd navigation (#19305) @aisamu - [Autocomplete] Fix misleading warning (#19177) @embeddedt - [Autocomplete] Fix option grouping (#19121) @liangchunn - [Autocomplete] Improve typings (#18854) @testarossaaaaa - [Autocomplete] Polish CustomizedHook demo (#19287) @JeremiAnastaziak - [Autocomplete] Add selectOnFocus prop (#19281) @Bebersohl ### Docs - [blog] December 2019 Update (#19119) @oliviertassinari - [docs] Add "material-ui-confirm" to the related projects (#19237) @jonatanklosko - [docs] Add a new site to showcase (hifivework) (#19129) @lau-sam - [docs] Add a new site to showcase (tradenba) (#19307) @zachrdz - [docs] Add links to mui-treasury (#19334) @siriwatknp - [docs] Fix "Edit this page" link (#19170) @neletdev - [docs] Fix a tiny mistake in Chips playground (#19172) @OrBin - [docs] Fix broken TypeScript hash link in CONTRIBUTING.md (#19236) @hiteshkundal - [docs] Fix link in switches.md (#19256) @TurnerB24 - [docs] Fix typo in the accessible table demo (#19321) @carbonid1 - [docs] Improve EnhancedTable.tsx demo (#19266) @sdgluck - [docs] Improve draggable dialog demo (#19339) @konekoya - [docs] Improve the demos copy experience (#19291) @theswerd - [docs] Improve the documentation of the dark theme (#19122) @m4theushw - [docs] Improve transition documentation (#19201) @hiteshkundal - [docs] Improve typography documentation (#19216) @kevin-lindsay-1 - [docs] Merge brand.png and logo.png @oliviertassinari - [docs] Minor typo (#19219) @sourabhbagrecha - [docs] Minor typo fix in testing docs (#19146) @Ardeshir81 - [docs] Remove Glamor link (#19178) @terryBaz - [docs] Update the translations (#19111) @mbrookes - [docs] Use button in backdrop demo (#19282) @theswerd - [docs] Use reasonable unitless line-height for Box (#19260) @minikomi ### Core - [test] Improve visual regression tests (#19175) @oliviertassinari - [core] Batch small changes (#19097) @oliviertassinari - [core] Batch small changes (#19174) @oliviertassinari - [core] Distinguish JSSProperties and CSSProperties (#19263) @eps1lon - [core] Fix TypographyStyle not allowing media queries and allowing unsafe undefined access (#19269) @eps1lon - [core] Ignore a few flaky visual tests (#19226) @oliviertassinari - [core] Remove unecessary exports from styles/transitions.js (#19337) @JonKrone - [core] Simplify types of styled (#19243) @eps1lon - [core] Use node 10 in every CI/CD pipeline (#19301) @eps1lon - [core] Warn when defaultValue changes (#19070) @m4theushw - [build] Clarify transform-runtime, runtime version (#18512) @eps1lon ## 4.8.3 ###### *Jan 6, 2020* Big thanks to the 19 contributors who made this release possible. Here are some highlights since 4.8.0 ✨: - 💄 Introduce a new Alert component in the lab (#18702) @dimitropoulos. - 💄 Improve skeleton animation, add wave support (#18913, #19014) @bowann, @oliviertassinari. - 🔍 13 patches on the Autocomplete component. - 🌎 Add 6 new locales (ko-KR, az-AZ, cs-CZ, sk-SK, uk-UA, pt-PT). - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.8.3` - [Badge] Improve demos (#18981) @ypresto - [Collapse] Add `hidden` class key to Collapse typings (#19044) @pvdstel - [Grid] Update TypeScript classes definitions (#19050) @Rikpat - [Popover] Fix position when changing state or updated (#19046) @SandraMarcelaHerreraArriaga - [Snackbar] Improve accessibility (#19043) @oliviertassinari - [theme] Support breakpoints.between(a, b) with number (#19003) @ulises-lara ### `@material-ui/lab@v4.0.0-alpha.39` - [Alert] Introduce new component (#18702) @dimitropoulos - [Autocomplete] Fix disabled + multiple combination support (#19041) @cvanem - [Autocomplete] Fix form submit with freeSolo and multiple (#19072) @haseebdaone - [Autocomplete] Warn when mixing uncontrolled and controlled (#19060) @m4theushw - [Rating] Fix hover state stuck (#19071) @fyodore82 ### Docs - [example] Make sure next.js Links can accept url objects as href (#19073) @Janpot - [docs] Add company page (#18964) @oliviertassinari - [docs] Add hexToRgb rename to v3 to v4 changelog (#19058) @zettca - [docs] Disable in-context translations (#19056) @mbrookes - [docs] Fix grammar (#19062) @RDIL - [docs] Improve Next.js usage (#19075) @chrisweb - [docs] Improve theme.breakpoints description (#19065) @littleee ### Core - [core] Fix missing type peer deps (#17211) @eps1lon ## 4.8.2 ###### *Dec 30, 2019* Big thanks to the 22 contributors who made this release possible. ### `@material-ui/core@v4.8.2` - [Badge] Fix doc about anchorOrigin (#18982) @ypresto - [DialogContent] Add missing `dividers` class types (#18984) @NickCis - [RadioGroup] Add useRadioGroup Hook (#18920) @NMinhNguyen - [Slider] Fix discrete mark highlighting (#18993) @ulises-lara - [Slider] Improve the pointer event logic (#19010) @oliviertassinari - [TablePagination] Fix duplicate key error (#18988) @afzalsayed96 - [TableSortLabel] Relax IconComponent prop requirements in TypeScript (#18936) @Igorbek - [TableSortLabel] Sort asc by default (#19013) @oliviertassinari - [l10n] Add Portuguese (pt-PT) locale (#18987) @hrafaelveloso ### `@material-ui/styles@v4.8.2` - [styles] Fix jss StyleSheet attach() call (#19042) @mceIdo ### `@material-ui/lab@v4.0.0-alpha.38` #### Breaking changes - [Skeleton] Add wave animation support (#19014) @oliviertassinari ```diff -<Skeleton disableAnimation /> +<Skeleton animation={false} /> ``` #### Change - [Autocomplete] Fix option height border-box (#19000) @MariyaVdovenko - [Autocomplete] Zero (0) integer key display throws (#18994) @hoop71 - [Rating] Clear value if selected value is clicked (#18999) @ivowork - [Rating] Add a demo with different icons (#19004) @hoop71 ### Docs - [docs] Add TS demo for MenuPopupState (#18998) @eps1lon - [docs] Add yarn install instructions in CONTRIBUTING.md (#18970) @hiteshkundal - [docs] Clarify not all components have 'component' prop (#19015) @JamieS1211 - [docs] Fix syntax error in palette customization example (#19008) @mumairofficial - [docs] Fix typo in toggle-button.md (#19002) @noahbenham - [docs] Update showcase lists (#19039) @typekev - [docs] Fix url address in modules/watrerfall/Batcher.js (#18997) @hiteshkundal ### Core - [core] Don't force a remote when listing prettier changes (#18794) @Janpot - [core] Bump handlebars from 4.1.2 to 4.5.3 (#18989) @dependabot-preview - [core] Batch small changes (#19016) @oliviertassinari - [core] Batch small changes (#19012) @mbrookes ## 4.8.1 ###### *Dec 24, 2019* Big thanks to the 24 contributors who made this release possible. ### `@material-ui/core@v4.8.1` - [Drawer] Fix PaperProps className merge (#18866) @kristenmills - [InputBase] Add rowsMin to typings (#18922) @lcswillems - [Paper] Add a variant prop (#18824) @netochaves - [Popover] Fix bug open animation (#18896) @KevinAsher - [Select] Fix bug on focus in controlled open (#18857) @netochaves - [TextField] onBlur event argument can be undefined (#18867) @abnersajr - [Typography] Improve custom component types support (#18868) @fyodore82 - [theme] Add warning, success and info colors to the palette (#18820) @r3dm1ke - [l10n] Add Korean (ko-KR) locale (#18952) @inspiredjw - [l10n] Add Azerbaijan (az-AZ) locale (#18859) @rommelmamedov - [l10n] Add Czech (cs-CZ) and Slovak (sk-SK) locales (#18876) @char0n - [l10n] Add Ukrainian (uk-UA) locale (#18832) @EvgenBabenko ### `@material-ui/lab@v4.0.0-alpha.37` - [Skeleton] Delay the animation by 500ms (#18913) @bowann - [TreeView] Improve RTL support (#18855) @eladex - [TreeView] Support input in item child (#18894) @eggbread - [Autocomplete] Add ListboxProps prop (#18887) @ChrisWiles - [Autocomplete] Add blurOnSelect prop (#18827) @m4theushw - [Autocomplete] Add forcePopupIcon prop (#18886) @SandraMarcelaHerreraArriaga - [Autocomplete] Call onInputChange before onChange (#18897) @MarinePicaut - [Autocomplete] Fix padding to make visual height consistent (#18851) @takutolehr - [Autocomplete] Pass ListboxProps (#18916) @ChrisWiles - [Autocomplete] Prevent focusing control / opening dropdown on clear (#18889) @Monbrey - [Autocomplete] Support `ChipProps` prop (#18917) @ChrisWiles ### Docs - [docs] Fix grammar issues in Babel plugin unwrap-createstyles (#18856) @RDIL - [docs] Update the translations (#18865) @mbrookes ### Core - [core] Batch small changes (#18961) @oliviertassinari ## 4.8.0 ###### *Dec 14, 2019* Big thanks to the 29 contributors who made this release possible. Here are some highlights ✨: - 💄 Add orientation support to the button group (#18762) @SandraMarcelaHerreraArriaga. - 💄 Add stacking support to the avatar (#18707) @oliviertassinari. - 💄 Add disable elevation support to the button (#18744) @netochaves. - 💄 Add size small support to the radio and checkbox (#18688) @SandraMarcelaHerreraArriaga. - 🌎 Add 3 new locales (id-Id, ro-RO, nl-NL) @fuadinaqi, @raduchiriac, @JimKoene. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.8.0` - [Avatar] Add missing 'fallback' AvatarClassKey (#18717) @kLabz - [ButtonGroup] Add orientation prop (#18762) @SandraMarcelaHerreraArriaga - [Button] disableElevation prop (#18744) @netochaves - [ClickAwayListener] Fix preventDefault logic (#18768) @jayknott - [Container] Add disableGutters prop (#15872) @divyanshutomar - [Drawer] Fix PaperProps className merge conflict (#18740) @siriwatknp - [Modal] Fix scroll jump issue (#18808) @cvara - [Popper] Fix position when changing state or updated (#18813) @Amagon96 - [Radio][Checkbox] Add size="small" support (#18688) @SandraMarcelaHerreraArriaga - [Select] Fix incorrect auto-sizing of native select (#18787) @IvanFrescas - [Select] Fix listbox closing on Space keyUp (#18754) @eps1lon - [Table] Add TableContainer component (#18699) @r3dm1ke - [TextField] Fix missing size prop in TypeScript types @sarpt - [TextareaAutosize] Add rowsMin prop (#18804) @lcswillems - [ToggleButton] Add size prop type definition (#18778) @sarfata - [Tooltip] Add `popperArrow` to `TooltipClassKey` (#18772) @umidbekkarimov - [Typography] Fix lineHeight for h1-h5 (#18663) @LorenzHenk - [l10n] Add Indonesian (id-Id) locale (#18817) @fuadinaqi - [l10n] Add Romanian (roRO) locale (#18825) @raduchiriac - [l10n] Add dutch translations (#18758) @JimKoene - [useMediaQuery] Support custom window (#18741) @siriwatknp ### `@material-ui/lab@v4.0.0-alpha.36` - [AvatarGroup] Introduce new component (#18707) @oliviertassinari - [Autocomplete] Fix double change event issue (#18786) @tplai - [Autocomplete] Add reason to onInputChange callback (#18796) @Tybot204 - [Autocomplete] Expand virtualized example to have grouped items (#18763) @Janpot ### Docs - [blog] November 2019 Update (#18805) @oliviertassinari - [docs] Change `readOnly` to `disabled` in text-fields.md example (#18792) @sterjoski - [docs] Fix chip outlined variant (#18806) @scotttrinh - [docs] Improve Avatar fallback description (#18720) @mbrookes - [docs] Improve homepage accessibility (#18745) @mbrookes - [docs] Improve table of contents cmd+click (#18765) @Janpot - [docs] Remove unused dependencies (#18753) @eps1lon - [docs] Revert hiding duplicate link (#18767) @mbrookes - [docs] Simplify MiniDrawer demo (#18814) @shc023 ### Core - [core] Fix @material-ui/lab homepage url (#18823) @francisrod01 - [core] Batch small changes (#18780) @oliviertassinari ## 4.7.2 ###### *Dec 7, 2019* Big thanks to the 18 contributors who made this release possible. ### `@material-ui/core@v4.7.2` - [Tooltip] Add missing classes type definitions (#18645) @dufia - [Tooltip] Fix arrow placement in RTL languages (#18706) @mosijava - [Tooltip] Fix onMouseOver event leak (#18687) @r3dm1ke - [ClickAwayListener] Support other documents (#18701) @Izhaki - [Avatar] Fallback images when fails to load (#18711) @netochaves - [Chip] Support text-overflow ellipsis by default (#18708) @suliskh - [Container] Add missing default theme props Type (#18654) @max10rogerio - [Modal] Document the 'Focus trap' limitation (#18643) @PutziSan - [Portal] Support any children node (#18692) @luffywuliao - [TablePagination] Fix responsive display issue (#18668) @r3dm1ke - [TextField] InputAdornment shouldn't wrap (#18641) @TrejGun - [l10n] Add Polish translation (#18685) @eXtreme - [theme] Fix wrong ResponsiveFontSizesOptions type (#18661) @pstadler - [useMediaQuery] Fix hydrationCompleted true before hydrated (#18683) @toddmazierski ### `@material-ui/lab@v4.0.0-alpha.35` - [Autocomplete] Add getOptionSelected prop (#18695) @DarkKnight1992 - [Autocomplete] Add size prop (#18624) @oliviertassinari - [Autocomplete] Prevent tag overflow (#18662) @fbarbare ### Docs - [docs] Break up blog template into smaller sections (#18627) @mbrookes - [docs] Update the translations (#18644) @mbrookes - [docs] `ssrMatchMedia` required for client rending as well (#18680) @moshest ### Core - [core] Batch changes (#18629) @oliviertassinari ## 4.7.1 ###### *Dec 1, 2019* Big thanks to the 27 contributors who made this release possible. Here are some highlights ✨: - 🌎 Improve localization support. - ✨ Export all the types from barrel index (#18306) @merceyz. - 🔍 8 patches on the Autocomplete component. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.7.1` - [Backdrop] Comment on z-index use case (#18589) @meebix - [Select] Improve response, react to mouse down (#17978) @SarthakC - [l10n] Add Italian translation (#18507) @Angelk90 - [l10n] Add Turkish translation (#18509) @yunusemredilber - [l10n] Add svSE translations (Swedish) (#18591) @dluco- - [l10n] Fix German translation (#18498) @cmfcmf - [styles] Fix ThemeProvider requiring full theme (#18500) @eps1lon - [useMediaQuery] Fix ssrMatchMedia requiring listener mixin (#18501) @eps1lon ### `@material-ui/lab@v4.0.0-alpha.34` - [Skeleton] Fix non-breakable space (#18548) @gmltA - [Rating] Improve mobile support (#18603) @aleccaputo - [Autocomplete] Document value equality check (#18516) @ChawinTan - [Autocomplete] Fix CSS specificity issue (#18578) @mr-bjerre - [Autocomplete] Fix selecting undefined on updated options (#18611) @jellyedwards - [Autocomplete] Fix typo in test (#18506) @TrejGun - [Autocomplete] Improve icons display (#18520) @oliviertassinari - [Autocomplete] Only call .focus() when necessary (#18584) @Davidasg180 - [Autocomplete] Only trigger onInputChange when the value changes (#18571) @sclavijo93 - [Autocomplete] Show loading text when there are no options (#18570) @sclavijo93 ### Docs - [docs] Add monday.com to in-house ads (#18598) @mbrookes - [docs] Fix bug in Popper component's Scroll playground example (#18562) @maprihoda - [docs] Fix typo in media query docs (#18617) @rajnish307 - [docs] Fix yarn start command (#18565) @andrestone - [docs] Improve the SvgIcon documentation (#18560) @oliviertassinari - [docs] Reduce confusion in picker link (#18566) @BGehrels - [docs] Include mention to Persian in localization.md (#18513) @uxitten - [docs] Update v3 migration guide for ExpansionPanel (#18612) @NMinhNguyen ### Core - [test] Assert accessible name (#18609) @eps1lon - [test] Improve merging tests for createMuiTheme (#18543) @eedrah - [misc] Batch small changes (#18614) @mbrookes - [core] Add react-is dependency (#18551) @HeadFox - [core] Batch small changes (#18539) @oliviertassinari - [core] Bump `@babel/*` deps (#18552) @eps1lon - [core] Export everything from the second level (#18306) @merceyz - [core] Fix dependabot not ignoring babel-plugin-preval (#18553) @eps1lon - [core] Ignore url-loader >= 3 updates (#18639) @eps1lon ## 3.9.4 ###### *Nov 28, 2019* ### `@material-ui/core@v3.9.4` - [Portal] Fix circular PortalProps Types (#18602) Fix TypeScript 3.7 support ## 4.7.0 ###### *Nov 22, 2019* Big thanks to the 27 contributors who made this release possible. Here are some highlights ✨: - 🌎 Add localization support (#18219) @soltanloo. - 🔍 8 patches on the Autocomplete component. - 💄 Add tooltip arrow support (#18323) @goleary. - 📚 Display the demos on a white background (#18396) @oliviertassinari. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.7.0` - [l10n] Add localization (#18219) @soltanloo - [l10n] Improve Russian translation (#18422) @gmltA - [Avatar] Tip about what srcset can be used for (#18366) @uxitten - [CardMedia] Use propTypes for "at least one"-check (#18384) @eps1lon - [Chip] Document accessibility (#18271) @eps1lon - [Collapse] Add support for unitless collapsedHeight (#18461) @weslenng - [Grid] Infer `displayName` (#18481) @NMinhNguyen - [HiddenCss] Fix warning when using custom breakpoints (#18382) @eps1lon - [Modal] Prefer to lock scroll on body than html element (#18445) @andreasheim - [Popper] Use context for RTL support (#18381) @MisterQH - [Slider] Increase interaction area (#18429) @oliviertassinari - [Slider] Make the slider work as intended when max%step !== 0 (#18438) @macfire10 - [Snackbar] Fix timer restarting when parent component re-render (#18361) @weslenng - [Tooltip] Add `arrow` prop (#18323) @goleary - [Tooltip] Use hysteresis with the enterDelay (#18458) @oliviertassinari - [getContrastText] Throw descriptive exception when passing falsy argument (#18383) @eps1lon ### `@material-ui/lab@v4.0.0-alpha.33` - [Skeleton] Keep the size 1:1 to replaced text content (#18451) @macfire10 - [SpeedDialIcon] Fix test for react 16.12 (#18379) @eps1lon - [TreeView] Fix control state error (#18341) @joshwooding - [Autocomplete] Add popperDisablePortal to classes (#18346) @nullberri - [Autocomplete] Add tag keyboard navigation test (#18355) @oliviertassinari - [Autocomplete] Better handle native browsers' autofill and autocomplete (#18376) @IanSmith89 - [Autocomplete] Fix CreateFilterOptions definition (#18419) @alaumh - [Autocomplete] Fix bug on disableOpenOnFocus prop (#18380) @netochaves - [Autocomplete] Fix usage of Home/End keys (#18338) @weslenng - [Autocomplete] Fix virtualization demo (#18455) @mandrin17299 - [Autocomplete] Ignore object keys in default filter (#18480) @eggbread - [lab] Bump material-ui/core version (#18354) @renatoagds ### Docs - [docs] Add related project links (#18035) @MaximKudriavtsev - [docs] Fix grammar in app-bar.md (#18362) @smilevideo - [docs] Fix some markdown spec issue (#18428) @eps1lon - [docs] Fix typo in autocomplete docs (#18343) @thomasdashney - [docs] Fix useMediaQuery ssr implementation example (#18325) @carloscuesta - [docs] Increase the contrast of the demos (#18396) @oliviertassinari - [docs] Reduce .html response size (#18356) @oliviertassinari - [docs] Remove outdated showcase (#18364) @LorenzHenk - [docs] Update the translations (#18339) @mbrookes ### Core - [GitHub] Fix fragment on link in PR template (#18370) @twgardner2 - [Security] Bump https-proxy-agent from 2.2.2 to 2.2.4 (#18440) @dependabot-preview - [core] Add displayName to contexts (#18468) @eps1lon - [core] Batch changes (#18395) @oliviertassinari - [core] Ignore babel-plugin-preval updates (#18415) @dependabot-preview - [framer] Update after publication (#18340) @mbrookes - [test] Check a11y tree inclusion in CI only (#18433) @eps1lon - [test] Improve coverage (#18385) @eps1lon - [utils] Simplify refType (#18437) @NMinhNguyen ## 4.6.1 ###### *Nov 12, 2019* Big thanks to the 19 contributors who made this release possible. Here are some highlights ✨: - 🔍 12 patches on the Autocomplete component. - 👨‍🎤 Add Framer X support (#17797) @mbrookes. - And many more 🐛 bug fixes and 📚 improvements. ### `@material-ui/core@v4.6.1` - Add Framer X wrapper components (#17797) @mbrookes - [ButtonBase] Fix space calling onClick on keyDown instead of keyUp (#18319) @eps1lon - [ButtonBase] Test keyboard events of child elements (#18318) @eps1lon - [ButtonGroup] Fix typings for disabled classes property (#18274) @xZliman - [Select] Fix id not being present when native (#18257) @eps1lon - [TextField] Add demo for color prop (#18220) @Studio384 - [core] Fix createMuiTheme side-effect (#18247) @FabianSellmann - [core] Increase specificity to get correct style (#18238) @oliviertassinari ### `@material-ui/lab@v4.0.0-alpha.32` #### Breaking changes - [Autocomplete] Fix Multiple tag delete action (#18153) @tkanzakic ```diff diff --git a/docs/src/pages/components/autocomplete/FixedTags.js b/docs/src/pages/components/autocomplete/FixedTags.js index 757d66a97..a4f36edd5 100644 --- a/docs/src/pages/components/autocomplete/FixedTags.js +++ b/docs/src/pages/components/autocomplete/FixedTags.js @@ -11,17 +11,9 @@ export default function FixedTags() { options={top100Films} getOptionLabel={option => option.title} defaultValue={[top100Films[6], top100Films[13]]} - renderTags={(value, { className, onDelete }) => + renderTags={(value, getTagProps) => value.map((option, index) => ( - <Chip - key={index} - disabled={index === 0} - data-tag-index={index} - tabIndex={-1} - label={option.title} - className={className} - onDelete={onDelete} - /> + <Chip disabled={index === 0} label={option.title} {...getTagProps({ index })} /> )) } style={{ width: 500 }} ``` #### Changes - [TreeView] Add controlled API to TreeView (#18165) @joshwooding - [TreeView] Support empty array (#18259) @tomasbruckner - [Rating] Add random name when none is provided (#18284) @Vitao18 - [SpeedDial] Fix crash when using custom style in FabProps (#18320) @weslenng - [Autocomplete] Add closeIcon and popupIcon props (#18266) @AbdallahElroby - [Autocomplete] Add controllable input value API (#18285) @oliviertassinari - [Autocomplete] Add hook customization demo (#18242) @oliviertassinari - [Autocomplete] Fix Enter key clearing selected option (#18229) @chapmanio - [Autocomplete] Fix popup placement (#18289) @andreasheim - [Autocomplete] Fix the errors reported by Wave (#18283) @oliviertassinari - [Autocomplete] Improve accessibility (#18204) @oliviertassinari - [Autocomplete] Improve focus logic (#18286) @oliviertassinari - [Autocomplete] Remove aria-activedescendant (#18281) @oliviertassinari - [Autocomplete] Fix missing inputValue (#18268) @AbdallahElroby - [Autocomplete] Handle Opera fullscreen mode (#18275) @xZliman ### Docs - [blog] October 2019 Product Update (#18239) @oliviertassinari - [examples] Fix Gatsby broken example (#18321) @weslenng - [docs] Fix error in Select options (#18224) @eedrah - [docs] Fix show all rows in table pagination (#18260) @markusf1 - [docs] Improve demo clarity by using form elements (#18241) @jcuenod - [docs] Replace alert with console.info (#18316) @eps1lon - [docs] Replace react-inspector with custom TreeView implementation (#17662) @eps1lon ### Core - [core] Add funding entry to manifests (#18250) @eps1lon - [core] Remove nodemod (#18222) @oliviertassinari - [test] Misc cleanup (#18261) @eps1lon - [core] Batch changes (#18264) @oliviertassinari ## 4.6.0 ###### *Nov 5, 2019* Big thanks to the 26 contributors who made this release possible. Here are some highlights ✨: - 🔍 8 patches on the Autocomplete component that was released last week. The positive feedback we had this early version of the component is encouraging. Developers should be able to rely on it in production within a couple of weeks (from a bug perspective). We will take more time to stabilize the API, a couple of months. - 📚 Split the TextField demos into smaller demos (#17483) @joshwooding - 💄 Add a color prop to the TextField (#17891) @ValentinH - 💄 Add square and rounded variant to the Avatar (#18116) @mattdotam - 🐛 Fix Chip <> Avatar rendering issue (#18156) By chance, it's the third year in a row we release on november 5th. The number of contributors involved, for a similar one-week period, has grown from 12 contributors (2017) to 16 contributors (2018) to 26 contributors (2019). We are proud of the community. Let's keep this trend going 🚀. ### `@material-ui/core@v4.6.0` - [Avatar] Add square variant and documentation (#18116) @mattdotam - [Button] Fix horizontal padding on small button with icon (#18118) @vkasraj - [Chip] Add ripple when clickable (#17829) @Tarun047 - [Chip] Fix Avatar CSS issue (#18156) @oliviertassinari - [Drawer] Improve "ResponsiveDrawer" demo (#18045) @gorjan-mishevski - [ExpansionPanel] Use context instead of cloneElement (#18085) @eps1lon - [InputBase] Fix onChange event handler callback of inputProps (#18131) @sjsingh85 - [OutlinedInput] Simplify customizations (#18127) @gregjoeval - [Slider] Improve UX for pointing device with limited accuracy (#18174) @oliviertassinari - [Slider] Increase hover hitbox for thumb (#18074) @eps1lon - [SwipeableDrawer] Only trigger a swipe when appropriate (#17993) @leMaik - [TextField] Add support for "secondary" color (#17891) @ValentinH - [TextField] Fix label not being associated with native select (#18141) @eps1lon - [TextField] Fix typo in FromControl warning (#18129) @xuanvan229 - [types] Fix IsEmptyInterface with optional members (#18148) @amcasey - [types] Simplify some of the conditional types (#18128) @amcasey ### `@material-ui/styles@v4.6.0` - [styles] Fix props based styles callback not including defaultProps (#18125) @salmanm ### `@material-ui/lab@v4.0.0-alpha.31` - [Autocomplete] Add disabled prop (#18195) @m4theushw - [Autocomplete] Fix aria-controls and aria-activedescendant (#18