Skip to content

Releases

v2.3.2 - Docs website moved to mui-components.nishkohli.in

Choose a tag to compare

@nishkohli96 nishkohli96 released this 18 Nov 10:34
908b7f8

Released - 18 November, 2026

🔧 Maintenance

  • Docs website moved to mui-components.nishkohli.in. The homepage field, READMEs and the JSDoc links on components and helpers now point to the new domain.
  • READMEs: Ramakanth Evani moved to a new Past Sponsors section.

v1.4.2 - Docs website moved to mui-components.nishkohli.in

Choose a tag to compare

@nishkohli96 nishkohli96 released this 18 Nov 07:04
2e58e2b

Released - 18 November, 2026

🔧 Maintenance

  • Docs website moved to mui-components.nishkohli.in. The homepage field, READMEs and the JSDoc links on components and helpers now point to the new domain.
  • READMEs: Ramakanth Evani moved to a new Past Sponsors section.

v2.3.1 - Fix ConfigProvider sx merging; docs: prop links in Contents

Choose a tag to compare

@nishkohli96 nishkohli96 released this 12 Oct 21:32
6fa9c4b

Released - 13 October, 2026

📖 Docs

  • Ask AI: apps/rag embed script now finds stale vectors by listing the Pinecone index itself instead of relying only on the local embed-manifest.json. Renaming or removing a doc section while the manifest was out of sync (e.g. reset, or embedded from another machine) left orphan vectors in Pinecone that were never deleted, so Ask AI kept retrieving chunks for pages and sections that no longer exist.
  • The page's "Contents" sidebar now lists each prop of the API table as a link under API (collapsible, with deep links such as #prop-fieldName), and the page padding is adjusted so docs pages leave room for the Contents rail while the Examples pages keep their full width.
  • Every component page now states everything its onValueChange receives (for example { newValue, event }, { newValue, context } or { color, colorValue, setColor }), right after the first usage example. The MUIColorPicker page also no longer lists hsl as a colorValue format; it is hex, rgb or hsv, set by valueKey.
  • Increase the number of Algolia Docsearch results from 5 to 10.
  • Update package README: the "Why" and "Features" sections are merged and now include a before/after comparison with plain Material UI.

🔧 Maintenance

  • Removed @mui/system from peerDependencies. The only import of it was a type (ResponsiveStyleValue, used for MUIUnitInput's unitWidth), which is now declared in the package; @mui/material already depends on @mui/system. Nothing changes for consumers.

🐞 Bug Fixes

  • ConfigProvider: defaultFormLabelSx, defaultFormControlLabelSx and defaultFormHelperTextSx accept any SxProps value, but objects were spread onto the defaults, so a theme callback or an array lost its styles. They are now combined with mergeSx, and MUIComponentsConfig uses the SxProps / Theme types from @mui/material/styles, the same as the components.

v1.4.1 - Fix ConfigProvider sx merging- #46

Choose a tag to compare

@nishkohli96 nishkohli96 released this 12 Oct 21:25
9a44574

Released - 13 October, 2026

🔧 Maintenance

  • Removed @mui/system from peerDependencies. The only import of it was a type (ResponsiveStyleValue, used for MUIUnitInput's unitWidth), which is now declared in the package; @mui/material already depends on @mui/system. Nothing changes for consumers.

🐞 Bug Fixes

  • ConfigProvider: defaultFormLabelSx, defaultFormControlLabelSx and defaultFormHelperTextSx accept any SxProps value, but objects were spread onto the defaults, so a theme callback or an array lost its styles. They are now combined with mergeSx, and MUIComponentsConfig uses the SxProps / Theme types from @mui/material/styles, the same as the components.

v2.3.0 - MUITextArea; comprehensive component docs, bug fixes & SEO improvements

Choose a tag to compare

@nishkohli96 nishkohli96 released this 08 Oct 19:46
1c2191a

Released - 9 October, 2026

✨ Enhancements

  • New Component - MUITextArea: A controlled multiline text field with built-in label, error and helper-text handling. maxChars caps the length — typing stops at the limit and pasted text is cut to fit. showCharLimit renders a current/max counter inside the field, and renderCharLimit replaces its content with your own node.
  • New helper - mergeSx: exported from @nish1896/mui-components/form-helpers. It merges any number of sx values (objects, theme callbacks and arrays, plus false/null/undefined for conditional styles) into one sx array without losing styles, so components that accept an sx prop can combine it with their own base styles.
  • Helper functions now link to the respective docs page from their JSDoc.

📖 Docs

  • Added comprehensive details for each component, especially under the Usage section, with a detailed guide on how to customize the behavior and UI of every component.
  • Examples: the complete-form examples (State, React Hook Form, Formik and TanStack) now include MUITextArea, MUIUnitInput, MUIOTPInput, MUINumberStepper and MUITipTapRte, which were missing from the demos. Their fields and imports now follow the same order as the sidebar, with the combined Slider/Rating and Checkbox/Switch demos split into one per component.
  • SEO: the homepage rel=canonical and og:url resolved to /index instead of /, conflicting with the sitemap and JSON-LD. Both are now pinned to the site root, and /index permanently redirects (308) to / so the homepage has a single URL.
  • SEO: component page titles now include a descriptor people actually search for, e.g. MUITextField — Material UI Text Field for React, and drop the | MUI Components suffix. All page titles stay within 60 characters.
  • SEO: sitemap lastmod was being stamped from Vercel's shallow git clone, where every file resolves to the same boundary commit, so unrelated pages shared one date. The generator now keeps the committed dates on shallow clones, and a page's date also tracks its props table, demo form (and, for the homepage, components/home) — not just page.mdx.

🐞 Bug Fixes

  • Label placement: for fields with no inline label (MUISlider, MUIRating, MUINativeSelect, MUIRadioGroup, MUICheckboxGroup, MUIColorPicker, MUIRichTextEditor and MUITipTapRte), the allLabelsAboveFields config overrode the showLabelAboveFormField prop, so a field could not opt out of a global allLabelsAboveFields.The prop now takes precedence over the config in every component, as the docs describe.

    Apart from MUIRichTextEditor, these fields also keep an accessible name (aria-label) when the visible label is hidden through the prop, and MUIOTPInput names its group when its label is hidden.

  • All form components: helperText={0} was not rendered because the helper-text visibility check used a truthiness test. The number 0 now renders; undefined, null, false and '' still render nothing.

  • Option-based components (MUISelect, MUINativeSelect, MUIAutocomplete, MUIAutocompleteObject, MUIMultiAutocomplete, MUIMultiAutocompleteObject, MUICheckboxGroup, MUIRadioGroup and MUIUnitInput) now validate their options on render. A clear error is thrown when the options aren't an array, or when they are objects and labelKey or valueKey is missing, instead of silently rendering [object Object].

  • MUIMultiAutocomplete: with freeSolo, typing text that matched an already-selected option (e.g. re while React is selected) and then blurring the field deselected that option, because autoSelect made MUI toggle the highlighted option on blur. Blurring no longer removes a selected value; only the chip's delete icon or Backspace does.

  • MUIOTPInput: with many boxes on a small viewport (e.g. a 10-character license key), the default horizontal padding of each input could exceed the shrunken box width and hide the typed character. The padding is now dropped so the character stays visible, and the separators no longer shrink.

  • Remove the deprecated id prop from MUIRichTextEditor

v1.4.0 - TextArea component and bug fixes- #44

Choose a tag to compare

@nishkohli96 nishkohli96 released this 08 Oct 19:44
824f7ba

Released - 9 October, 2026

✨ Enhancements

  • New Component - MUITextArea: A controlled multiline text field with built-in label, error and helper-text handling. maxChars caps the length — typing stops at the limit and pasted text is cut to fit. showCharLimit renders a current/max counter inside the field, and renderCharLimit replaces its content with your own node.
  • mergeSx is now exported from @nish1896/mui-components/form-helpers and accepts falsy values (false, null, undefined), so conditional styles can be passed inline.
  • Helper functions now link to the respective docs page from their JSDoc.

🐞 Bug Fixes

  • Label placement: for fields with no inline label (MUISlider, MUIRating, MUINativeSelect, MUIRadioGroup, MUICheckboxGroup, MUIColorPicker, MUIRichTextEditor and MUITipTapRte), the allLabelsAboveFields config overrode the showLabelAboveFormField prop, so a field could not opt out of a global allLabelsAboveFields.The prop now takes precedence over the config in every component, as the docs describe.

    Apart from MUIRichTextEditor, these fields also keep an accessible name (aria-label) when the visible label is hidden through the prop, and MUIOTPInput names its group when its label is hidden.

  • All form components: helperText={0} was not rendered because the helper-text visibility check used a truthiness test. The number 0 now renders; undefined, null, false and '' still render nothing.

  • Option-based components (MUISelect, MUINativeSelect, MUIAutocomplete, MUIAutocompleteObject, MUIMultiAutocomplete, MUIMultiAutocompleteObject, MUICheckboxGroup, MUIRadioGroup and MUIUnitInput) now validate their options on render. A clear error is thrown when the options aren't an array, or when they are objects and labelKey or valueKey is missing, instead of silently rendering [object Object].

  • MUIMultiAutocomplete: with freeSolo, typing text that matched an already-selected option (e.g. re while React is selected) and then blurring the field deselected that option, because autoSelect made MUI toggle the highlighted option on blur. Blurring no longer removes a selected value; only the chip's delete icon or Backspace does.

  • MUIOTPInput: with many boxes on a small viewport (e.g. a 10-character license key), the default horizontal padding of each input could exceed the shrunken box width and hide the typed character. The padding is now dropped so the character stays visible, and the separators no longer shrink.

  • Remove the deprecated id prop from MUIRichTextEditor

v2.2.3 - Deprecate id prop in MUIRichTextEditor, docs UI enhancements

Choose a tag to compare

@nishkohli96 nishkohli96 released this 29 Sep 10:50
fde1d5f

Released - 29 September, 2026

⚠️ Deprecations

  • MUIRichTextEditor: id prop is deprecated, will be removed in the next minor release. Use customIds.field to assign an id to the CKEditor instance instead.

📖 Docs

  • Ask AI: renderInlineMd/renderAnswerBlocks now only render a [label](url) link when the URL is same-origin or points to mui.com — the answer text is LLM output over retrieved chunks, so any other link (e.g. from a prompt-injection attempt) is now shown as plain text instead of a clickable link.
  • build-docs.yml and algolia-reindex.yml: added an explicit permissions: { contents: read } block instead of relying on the default (write-capable) GITHUB_TOKEN scope.
  • algolia-reindex.yml: moved the Algolia crawler credentials from the curl command line into env vars, so they no longer appear in the process table.
  • Remove unused /api/ask Api.
  • Ask AI: the answer cache (answerCache.ts) is embedding-similarity keyed, so a jailbroken answer containing an attacker-chosen link could previously get replayed to other visitors asking a near-duplicate question. /api/answer now skips caching whenever the synthesized answer contains an external link that isn't verbatim present in the content of the chunks actually used to generate it.
  • Theme bootstrap now delegates to MUI's InitColorSchemeScript instead of a hand-rolled inline script, removing a flash-of-wrong-theme window on first load and reload while keeping Algolia DocSearch's data-theme attribute in sync.
  • Install command's copy button now shows a clipboard icon with a small checkmark badge on successful copy, replacing the plain "Copy"/"Copied" text button.
  • Prioritize props in algolia search results.
  • Separate dev and production indexes for Algolia DocSearch.

v1.3.2 - MUIRichTextEditor: deprecate id prop

Choose a tag to compare

@nishkohli96 nishkohli96 released this 29 Sep 09:40
e365370

Released - 29 September, 2026

⚠️ Deprecations

  • MUIRichTextEditor: id prop is deprecated, will be removed in the next minor release. Use customIds.field to assign an id to the CKEditor instance instead.

v2.2.2 - Implement "Ask AI" in docs, link component props and source code

Choose a tag to compare

@nishkohli96 nishkohli96 released this 19 Sep 20:46
de20c9d

Released - 20 September, 2026

✨ Enhancements

  • Added Ask AI: a RAG-powered chat assistant on the docs site. Answers are grounded in the component library's own docs — props tables, usage guides, JSDocs — embedded with OpenAI and retrieved from a Pinecone vector index, with lexical rescue for exact component/prop-name matches and per-IP rate limiting on the answer endpoint.

📖 Docs

  • Each prop in a component's API table is now individually linkable (#prop-<name>) — hover a row to reveal a permalink, shareable and stable across doc versions.
  • Added a Source Code section to every component's doc page, linking straight to its implementation on GitHub — pinned to the exact tag/branch that page's content was built from.
  • Fixed inline <code> spans (e.g. useState) not getting the docs site's code styling in a few places outside the main article content — now applied via a single global rule instead of a per-page class, so it can't be missed again.
  • Algolia search results refinement in DocSearch component using transformItems: dropped duplicate rows for the same page (a page's base hit and its own anchor hit were showing up as two separate results) and stripped the redundant | MUI Components suffix from every result title.
  • Added an algolia-reindex GitHub Action that triggers the Algolia Crawler on every push to main, so the search index picks up new/changed docs without waiting for its monthly schedule.

v2.2.1 - Algolia DocSearch and add Sponsors Section

Choose a tag to compare

@nishkohli96 nishkohli96 released this 17 Sep 13:03
0ee6523

Released - 17 September, 2026

📖 Docs

  • Added an Algolia-powered search bar for faster and easier documentation navigation.
  • Replace npm and github icons sourced from img.icons8 with locally hosted assets.
  • Add TrustedBadges section in Homepage.
  • Added "Sponsors" section in docs homepage and package README.md

🐞 Bug Fixes

  • Fixed the MUIPhoneInput link on the UnitInput documentation page.