Skip to content

Releases: HHogg/preshape

v4.1.4

18 Feb 23:42
Compare
Choose a tag to compare

4.1.4 (2020-02-18)

Bug Fixes

  • Label: Allow Label background and text color to be configureable (a4db56c)

v4.1.3

16 Feb 09:32
Compare
Choose a tag to compare

4.1.3 (2020-02-16)

Bug Fixes

  • useEventListener: Pass through options (472d8d2)

v4.1.2

08 Feb 08:38
Compare
Choose a tag to compare

4.1.2 (2020-02-08)

Bug Fixes

  • Button: Use correct theme text color for fill style (b93e97b)

v4.1.1

30 Jan 14:36
Compare
Choose a tag to compare

4.1.1 (2020-01-30)

Bug Fixes

  • Placement: Dont require children as a PopperOption (087bd03)

v4.1.0

29 Jan 13:06
Compare
Choose a tag to compare

4.1.0 (2020-01-29)

Bug Fixes

  • Base: Allow highlight color to be used as backgroundColor, borderColor and textColor. (bfd0c1d)
  • Button: Always use light text color on fill style (c9270c4)

Features

  • Color: Added overlay color as a possible backgroundColor (8ca07bd)
  • Grid: Add props to configure horizontal and vertical gap separately (ed3505a)

v4.0.2

27 Jan 19:51
Compare
Choose a tag to compare

4.0.2 (2020-01-27)

Bug Fixes

  • Table: Apply correct text color on active state (df3f072)

v4.0.1

27 Jan 18:30
Compare
Choose a tag to compare

4.0.1 (2020-01-27)

Bug Fixes

  • Placement: Passing PopperJS props down (48ff92b)
  • Table: Allow paddings to be configurable (1d11d5f)
  • Table: Clickable styling for other interaction events. (11a87d2)
  • Table: Improved row interactions styling and added an active prop, to apply active styling (6ca5890)

v4.0.0

25 Jan 19:16
Compare
Choose a tag to compare

4.0.0 (2020-01-25)

Bug Fixes

  • Alert: Renamed prop 'style' to 'type' (293a32d)
  • Flex: Renamed initial prop to basis. (a5988a6)
  • Label: Added interaction styling to Labels (c489cc7)
  • SVG: Set all SVG elements to be display block. (af34855)
  • ThemeSwitcher: Updated design of theme switch (518556b)

chore

  • Icon: Removed Spin prop (f415577)

Features

  • Appear: Improved Appear component and fixed initial hidden animated state. (423b445)
  • Application: Removed Application components in favour of hooks and granular components. (f9260ee)
  • Base: Added 'fixed' prop (4258602)
  • Base: Added Black and White colors (3d02260)
  • Base: Added borderRadius prop (dd29606)
  • Base: Added overflow prop (0f85e66)
  • Base: Normalised colors options across all the color props. (7b9d8c1)
  • Button: Removed 'style' prop and added 'fill' prop. (b3658a8)
  • Color: Added highlight color (0d1e48a)
  • colors: Teaked color palette (08c50d2)
  • forwardRef: Allow all components to foward refs instead of using the innerRef prop. (1caf35f)
  • Grid: Improved the naming of the API to allow for non auto-fit column layouts and added the ability to customise the row size. (8a29809)
  • Icon: Added Cloud, Command, Info, Shuffle, Terminal and Triangle icons. (0e02735)
  • Icon: Exported Icon name list (2d8acf5)
  • Link: Added new underline style (a8cb559)
  • Markdown: Removed Markdown component (2490bed)
  • Menu: Removed Menu component (3a0b61a)
  • Motion: Added Motion component (19ddf8c)
  • PlacementContent: Added PlacementContent component to easily construct tooltip like components. (0da8bad)
  • SwitchTransition: Removed component (f77c3ca)
  • TypeScript: Converted library components over to TypeScript (7c9fff1)
  • useEventListener: Added useEventListener hook (380cfbe)
  • useIntersectionObserver: Added useIntersectionObserver hook (d181312)
  • useMatchMedia: Added MathMedia API hook (4d5517a)
  • useResizeObserver: Removed Bounds component in favour of useResizeObserver hook. (c508be4)

BREAKING CHANGES

  • SVG: All SVG elements will be set with display block.
  • Alert: Renamed Alerts prop 'style' to 'type'.
  • Grid: Renamed Grid props:

autoFitWidthMax -> repeatWidthMax
autoFitWidthMin -> repeatWidthMin
columnCount -> repeat
columnWidth -> repeatWidth

  • Flex: Renamed Flexs initial prop to basis
  • Appear: Appear component API has changed, as it's now using framer-motion.

time prop has been renamed to duration and accepts a number in milliseconds

  • onEntered and onExited has been renamed to onAnimationStart and onAnimationEnd.
  • PlacementContent: Removed Toolbar component as it's trivial to reconstruct with other components.
  • forwardRef: - Removed the innerRef prop as all components use the forwardRef API so the ref prop can be used.
  • Removed the Component prop. The rendered tag for Base and some other comoponents can be configured with the tag prop. Previous functionality of the passing in React components is no more.
  • Icon: Removed Progress icon
  • Icon: Removed 'spin' prop from Icon
  • useResizeObserver: Removed Bounds component in favour of useResizerObserver hook.
  • Button: Replaced the 'style' prop for a 'fill' prop, where 'outline' styling is still the default.
  • Markdown: Removed Markdown component
  • SwitchTransition: Removed the SwitchTransition component
  • Base: - Removed implicit theme color when using a true value
  • Removed simple shade-N values for explicit text and background versions
  • Renamed color prop to textColor
  • Application: Removed all Application components, and reaplced theme changing behaviour with useTheme hook and scrolling behaviour with useWindowScrollTo hook.
  • Menu: Removed Menu components

v3.1.0

19 Feb 14:36
Compare
Choose a tag to compare

3.1.0 (2019-02-19)

Bug Fixes

  • SelectInputLabel: Inheriting color from nearest applied theme (168e01a)

Features

  • Varaibles: Add JS mapping to CSS variable names for themese (3afcd76)

v3.0.1

18 Feb 22:47
Compare
Choose a tag to compare

3.0.1 (2019-02-18)

Bug Fixes

  • Button: Corrected CSS variable for text sizing (8ad4cb8)