Skip to content

Release 1.8.0

Choose a tag to compare

@ovionlogis ovionlogis released this 04 Sep 13:52
· 20 commits to main since this release

Changed

  • BREAKING: Single Survey component replaces CSAT5Survey, CSAT2Survey, CES7Survey, and NPS10Survey - The four named components are gone. Import Survey instead and select the format with props: type ('csat' | 'nps' | 'ces') and, for csat, points (2 | 5). scaleStyle keeps its previous meaning, with valid values now depending on type/points.
    // Before
    import { CSAT5Survey } from 'react-feedback-surveys';
    <CSAT5Survey scaleStyle="emoji" question="…" />
    
    // After
    import { Survey } from 'react-feedback-surveys';
    <Survey type="csat" points={5} scaleStyle="emoji" question="…" />
    There are no deprecated aliases — update all imports when upgrading. See the README for the full format matrix.

Fixed

  • Input and textarea font inheritance - Set a system font-family on :root/:host (overridable via --ft-font-family), and reset input/textarea/select to inherit it, so form controls no longer fall back to the browser's default (often monospace) font.