Skip to content

0.0.0-rc12

Pre-release
Pre-release
Compare
Choose a tag to compare
@tomashapl tomashapl released this 20 Jun 12:54
· 6042 commits to master since this release

Changelog:

Heading

  • Usage without - import from lib/Heading/Heading

TextLink

  • Changed props - BC!
    • url -> href (optional)
    • newTab -> external
  • Removed prop size
  • Added prop rel (optional)

Button

  • Can render custom component
  • Render a or button based on href prop

Added new icons

  • Code
  • Deals
  • KiwicomCare
  • KiwicomGuarantee
  • Kiwicom
  • Security

Alert

  • Added styling or passed as children
  • Added line-height

Select

  • Rewrited to styled-components
  • moved from deprecated
    • import from base with <ThemeProvider> wrapper
    • import from lib lib/_deprecated/Selectlib/Select
  • Removed prop required
  • Changed props
    • options - receive array with select options, removed visible key
[
  { value: 1, label: "First item", disabled: true },
  { value: 2, label: "Second item" },
  { value: 3, label: "Third item" },
]

For usage check our storybook
https://kiwicom.github.io/orbit-components/