Skip to content

Releases: zigurous/forge-react

1.3.0

11 Oct 17:37

Choose a tag to compare

  • Added useMemoizedRef hook
  • Added useMountedEffect hook
  • Added useElementRectObserver, useElementBoundingClientRect, and useElementOffsetRect
  • Added new <TooltipWrapper> component and useTooltip hook
  • Added aspectFit utility math function
  • Replaced nowrap prop with new wrap prop on <Text> component
  • Changed <Modal> title to accept any React node instead of just a string
  • Changed children prop to be optional on <Stack>
  • Fixed <Stack> spacing getting overridden in some cases
  • Fixed missing keys on split lines in <Tooltip>

1.2.2

30 Jul 08:31

Choose a tag to compare

  • Fix SSR errors

1.2.1

04 Jun 14:52

Choose a tag to compare

  • Fix progressive images not setting loaded state if pre-loaded

1.2.0

04 Jun 13:29

Choose a tag to compare

  • Added new <Tooltip> component
  • Added optional label prop to <Input> component
  • Changed modal title to <h1> element
  • Replaced react-cookie dependency with new useCookie hook using universal-cookie
  • Replaced usePanAndZoom hook with <PanAndZoomProvider> component
  • Removed useIsLoaded and useIsLoading hooks
  • Upgraded package dependencies

1.1.1

26 May 15:22

Choose a tag to compare

  • Added flex-nowrap class to <AppFooter>

1.1.0

26 May 14:40

Choose a tag to compare

  • Changed the order that custom class names are set on components
  • Changed title case formatting to account for more edge cases and better browser support
  • Added capitalizeFirstLetter formatting function
  • Added more <Text> styles - align, decoration, transform
  • Added size prop to <Modal> - 'sm' | 'md' | 'lg' | 'xl' | 'fluid'
  • Added new usePanAndZoom hook
  • Added new <PanAndZoomTransform> component
  • Added new <Toggle> component
  • Changed conditionally rendering of app-header__center to only render if provided
  • Rewrote <AppFooter> to be more customizable, in the same way as <AppHeader>
  • Upgraded package dependencies

1.0.0

20 Nov 06:02

Choose a tag to compare

  • Rebranded as part of our new Forge design system
  • Repo changed from private to public
  • Open sourced under MIT License