Skip to content

Releases: freeCodeCamp/ui

v4.2.0

20 Jun 08:42
8794923
Compare
Choose a tag to compare

What's Changed

  • feat(button): add disabled styles for danger variant by @Sembauke in #518
  • fix(tabs): correct props interfaces of TabsTrigger and TabsList by @mr-nobody-7 in #597

New Contributors

Full Changelog: v4.1.0...v4.2.0

v4.1.0

18 Jun 09:54
c40b606
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.1...v4.1.0

v4.0.1

24 Mar 07:32
8435366
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.0...v4.0.1

v4.0.0

20 Mar 04:54
dd3a554
Compare
Choose a tag to compare

What's Changed

  • feat(storybook): add fCC favicon by @huyenltnguyen in #512
  • feat(col): add support for extra small column size (4) by @Sembauke in #520
  • chore: add additional global CSS by @a2937 in #466
  • refactor(quiz): rename passingGrade to passingPercent for clarity by @Sembauke in #519
  • refactor(col): remove smPush prop and related logic by @Sembauke in #521

Breaking Changes

  • Additional CSS styles were added to the default stylesheet (base.css), which could break the layout of some consumers. The exact changes can be found here: #466
  • useQuiz hook: Renamed the passingGrade prop to passingPercent
  • Col component: Removed the smPush prop

Full Changelog: v3.2.0...v4.0.0

v3.2.0

13 Mar 06:30
5b612c4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.1...v3.2.0

v3.1.1

09 Dec 17:37
7edacf2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0

08 Nov 09:12
2ffec38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.1.0

v3.0.0

18 Oct 18:55
1a27bd5
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • useQuiz now requires a passingGrade prop
  • The value of correctAnswerCount returned from useQuiz can be undefined instead of always being a number. The undefined value indicates that the quiz has not been validated (the validateAnswer function hasn't been called)
  • QuizQuestion no longer accepts a validation prop. The prop is now folded into the QuizQuestion's answers prop.
    • Old:
      <QuizQuestion
        question="Lorem ipsum"
        answers={[
          { label: "Option 1", value: 1 },
          { label: "Option 2", value: 2 },
        ]}
        selectedAnswer={1}
        validation={{ state: "correct", message: "Correct!" }}
      />
    • New:
      <QuizQuestion
        question="Lorem ipsum"
        answers={[
          { 
      	  label: "Option 1",
      	  value: 1,
      	  validation: { state: "correct", message: "Correct!" }
      	},
          { label: "Option 2", value: 2 },
        ]}
        selectedAnswer={1}
      />

Full Changelog: v2.3.1...v3.0.0

v2.3.1

11 Oct 17:24
1e3d18c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.0...v2.3.1

v2.3.0

10 Oct 18:35
2a18d5b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.0...v2.3.0