orbit

React components of open-source Orbit design system by Kiwi.com

MIT License

Downloads
51.3K
Stars
1.4K
Committers
81

Bot releases are hidden (Show)

orbit - 0.4.0

Published by tomashapl about 6 years ago

Changelog

  • NEW: Added icon to TextLink
  • NEW: Added inverted Heading color
  • UPDATE: Orbit-design tokens with flow
  • DEV: Removed unused dependencies
orbit - 0.3.1

Published by tomashapl about 6 years ago

Changelog

  • FIX: generating icons components with proper JSX attributes
  • FIX: Flow icons
  • DEV: Removed generating pngs of icons
  • FIX: typo in icons prop color (terciary => tertiary)
orbit - 0.3.0

Published by tomashapl about 6 years ago

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 use styled-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"
orbit - 0.2.0

Published by tomashapl over 6 years ago

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 to BaggageChecked
  • Renamed BaggageSmall to BaggageCabin
  • Renamed Baggages to BaggageSet
  • New BaggagePersonalItem, Compare and Duplicate icons
  • Updated Airplane, FlightDirect, FlightMulticity, FlightNomad, FlightReturn and SportEquipment

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

orbit - 0.1.1

Published by tomashapl over 6 years ago

Changelog:

  • FIXED: Orbit design tokens

Icons

  • Added Moon, Sun and Sunrise

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

orbit - 0.1.0

Published by tomashapl over 6 years ago

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 use Trip instead

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

orbit - 0.0.0-rc15

Published by tomashapl over 6 years ago

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/

orbit - 0.0.0-rc14

Published by tomashapl over 6 years ago

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/

orbit - 0.0.0-rc13

Published by tomashapl over 6 years ago

Changelog:

FLOW

  • refactored and declared props for each component

Text

  • rewrote to style-components
  • Removed prop className
  • Usage without <ThemeProvider /> - import from lib/Text/Text

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

orbit - 0.0.0-rc12

Published by tomashapl over 6 years ago

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/

orbit - v0.0.0-rc11

Published by tomashapl over 6 years ago

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/Checkboxlib/Checkbox
  • added new props
    • hasError boolean - state of checkbox with error
    • info React.Node - render additional info

Radio

  • rewrited to styled-components
  • moved from deprecated
    • import from base with <ThemeProvider> wrapper
    • import from lib lib/_deprecated/Radiolib/Radio
  • added new props
    • hasError boolean - state of radio with error
    • info React.Node - render additional info

ButtonLink

  • added
  • renders <a/> or <button> based on href prop

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

orbit - v0.0.0-rc10

Published by tomashapl over 6 years ago

  • DEV: Improved .npmignore to only ship files related to the actual library
  • FIX: textarea warning -> now receive value as prop instead of children
orbit - v0.0.0-rc9

Published by tomashapl over 6 years ago

  • Fix build of deprecated components
  • Added Feedback icon
  • Button doesn’t receive prop title anymore
  • Button doesn't support variation="link" anymore
orbit - v0.0.0-rc8

Published by tomashapl over 6 years ago

Button
Alert
Heading
Text
CarrierLogo
moved deprecated components
console.warn deprecated components

orbit -

Published by fallion over 6 years ago

Package Rankings
Top 1.54% on Npmjs.org
Badges
Extracted from project README
Kiwi.com library CI Build Orbit release lerna minified and gzipped size Maintenance Downloads
Related Projects