Skip to content

35.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Aug 08:28
· 39 commits to refs/heads/main since this release
dac541e

What’s Changed

Breaking

  • [NO JIRA][BpkSwitch]: Remove label and just ship switch (#3582) @olliecurtis

    • This change removes the label property and now allows you to provide the label yourself, positioning it wherever you require.

    • To update the component to this updated API you will now be required to provide your own text and layout when using the component. E.g.

       // Before
      
       <BpkSwitch label="My switch" />
      
       // After
      
       <div>
         <BpkText> My switch </BpkText>
         <BpkSwitch ariaLabel="Toggle my switch" />
       </div>
  • [BpkNudger] Simplify nudger to make it support only number types (#3576) @metalix2

    • Changed onChange property to be onValueChange
    • Removes the BpkConfigurableNudger as this is not part of our design system and unused previous ideation
    • Nudger only now supports Number values, so if you are passing strings as the numbers these will need to be updated or any tests that looks for a string value will need to be updated
  • [LOOM-1540][BpkSplitInput]: Property update and tsx migration for splitinput and inputField components (#3565) @Parisistan

    • Changed onChange property to be onInputChange
    • Migrated to Typescript

Added

  • [LOOM-1609]: React 18 migration (#3585) @olliecurtis
    • Adds support for React 18 as a version by accepting ranges between 17 to 18
  • [Loom-1535][BpkSlider] - add form-test to bpkSlider (#3579) @Parisistan
  • [LOOM-1520][BpkSlider] Fix for Slider to support Form properly (#3567) @metalix2

Fixed

  • [NO JIRA][BpkSplitInput]: Fix default state of inputValue (#3591) @olliecurtis
  • [NO JIRA][BpkLoadingButton]: Updating TS types and removing propTypes ahead of React 18 (#3588) @olliecurtis
  • [NO JIRA][BpkCloseButton]: Updating to TS and removing propTypes ahead of React 18 (#3587) @olliecurtis
  • [NO JIRA][BpkSpinner]: Updating TS types and removing propTypes ahead of React 18 (#3586) @olliecurtis
  • [NO-JIRA][BpkLoadingButton]: Added submit to loading button props (#3574) @amburrrshand