Releases: kiwicom/orbit
Releases · kiwicom/orbit
0.3.1
0.3.0
Changelog
- DEV: Refactored theming
- NEW: Color types for
<Text />
Known BC!
- removed deprecated and added replacements:
Container → Card
FieldFeedback → FormFeedback
InputText → InputField
InputTextarea → Textarea
SystemMessage → Alert
Typography → Text
- removed our
ThemeProvider
please usestyled-components
theme provider
import { ThemeProvider } from "styled-component"
- nested theme prop to
orbit
level
<ThemeProvider theme={{orbit: defaultTokens}}>
- imports like:
@kiwicom/orbit-components/lib/Alert/Alert
shouldn't work. use this import@kiwicom/orbit-components/lib/Alert
or@kiwicom/orbit-components/es/Alert
or
import { Alert } from "@kiwicom/orbit-components"
0.2.0
Changelog:
- FIX: Flow: Allow return promise in Checkbox and Radio component
- FIX: Accommodation icon typo (Accomodation => Accommodation)
- NEW: InputField component (replacement of deprecated
Input
) - NEW: Textarea component (replacement of deprecated
InputTextarea
)
Icons:
- Renamed
BaggageBig
toBaggageChecked
- Renamed
BaggageSmall
toBaggageCabin
- Renamed
Baggages
toBaggageSet
- New
BaggagePersonalItem
,Compare
andDuplicate
icons - Updated
Airplane
,FlightDirect
,FlightMulticity
,FlightNomad
,FlightReturn
andSportEquipment
For usage check our storybook
https://kiwicom.github.io/orbit-components/
0.1.1
Changelog:
- FIXED: Orbit design tokens
Icons
- Added
Moon
,Sun
andSunrise
For usage check our storybook
https://kiwicom.github.io/orbit-components/
0.1.0
Changelog:
- NEW: Documentation
- DEV: Updated dependencies
- DEV: Allowed promise in
onClick
return - DEV: Flow readonly props
- FIX: Alert buttons flex layout
Icons
- Added
History
,FlightNomad
,GenderMan
,GenderWoman
- Updated
FlightReturn
,FlightDirect
,FlightMulticity
,Trip
- Removed
Globe
- please useTrip
instead
For usage check our storybook
https://kiwicom.github.io/orbit-components/
0.0.0-rc15
Changelog:
- Added strict proptypes to Select
- Declared flow types for base import
Icons
- Added
CircleSmall
,ItemCompleted
- Updated
BaggageStorage
,Circle
,MenuHamburger
,NewWindow
Card
- Added new
<Card />
replacement of<Section />
For usage check our storybook
https://kiwicom.github.io/orbit-components/
0.0.0-rc14
Changelog:
- Added icon
BaggageStorage
- Added
<Text>
base import flow declaration - Theming support in
<CarrierLogo />
- Added
type
- airline | bus | train to<CarrierLogo />
- Fixed Alert content wrapping in IE
For usage check our storybook
https://kiwicom.github.io/orbit-components/
0.0.0-rc13
Changelog:
FLOW
- refactored and declared props for each component
Text
- rewrote to style-components
- Removed prop
className
- Usage without
<ThemeProvider />
- import fromlib/Text/Text
For usage check our storybook
https://kiwicom.github.io/orbit-components/
0.0.0-rc12
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/Select
→lib/Select
- import from base with
- 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" },
]
- Added props
size
onFocus
onBlur
prefix
- adding element before select (http://tinyurl.com/y9t6hazq)
For usage check our storybook
https://kiwicom.github.io/orbit-components/
v0.0.0-rc11
Changelog:
Alert
- Fixed closable button in Alert component
Checkbox
- rewrited to styled-components
- moved from deprecated
- import from base with
<ThemeProvider>
wrapper - import from lib
lib/_deprecated/Checkbox
→lib/Checkbox
- import from base with
- added new props
- hasError
boolean
- state of checkbox with error - info React.Node - render additional info
- hasError
Radio
- rewrited to styled-components
- moved from deprecated
- import from base with
<ThemeProvider>
wrapper - import from lib
lib/_deprecated/Radio
→lib/Radio
- import from base with
- added new props
- hasError
boolean
- state of radio with error - info React.Node - render additional info
- hasError
ButtonLink
- added
- renders
<a/>
or<button>
based onhref
prop
For usage check our storybook
https://kiwicom.github.io/orbit-components/