All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
3.2.0 (2022-07-15)
Bug Fixes
- ItineraryIcon: remove background color for first and last icon (6e47687)
- Itinerary: remove opacity on Hidden (ec53d4c)
- ItinerarySegmentDetail: remove border-radius on summary (69d6cde)
- Popover: change zIndex value to 705 because of NavigationBar (#3523) (9a40b57)
- Stepper: change box-shadow to inset (#3438) (8b3bf51)
- Timeline: render subLabel under label on mobile (44d84bc)
Features
- ItinerarySegmentStop: add cancelledDate, cancelledCity, cancelledStation props (69cc839)
- Timeline: add asText property (ca6bd42)
3.1.0 (2022-06-30)
Bug Fixes
- Itinerary: add radial-gradient to ItineraryIcon (69b11ca)
- Itinerary: remove hover background color (313f533)
- Stepper: minor stepper fixes (#3431) (fe4a4fb)
Features
- add ids to components (#3422) (5036dbf)
- icons: update icons from figma (#3421) (d90f7dd)
- Itinerary: add ItinerarySeparator component (d4c804d)
- ItinerarySegment: add info prop (13a1a20)
- ItinerarySegment: make banner clickable (202de24)
- ItinerarySegmentStop: add support for new HiddenCities (4cac115)
- ItinerarySegmentStop: add support of cancelled time (92c8b64)
- KeyValue: add KeyValue component (#3430) (a9358a9)
- Text: add withBackground property (1852f0b)
- useIntersect: export observer (#3432) (547b41e)
Reverts
- Revert “fix(useLockScroll): add webkit-scrollbar to prevent layout shift (#3408)” (#3420) (9a72307), closes #3408 #3420
3.0.0 (2022-06-20)
Bug Fixes
- ButtonPrimitive: contentAlign prop fix (#3405) (936f860)
- Stepper: fix Stepper width on responsive (#3418) (eb1b663)
- Switch: make circle icon to be 8px (#3415) (a0ed184)
- useLockScroll: add webkit-scrollbar to prevent layout shift (#3408) (c9ff813)
Features
- components: stepper visual updates (df86a44)
- deprecate: deprecate InputStepper component (f6d2da9)
- icons: update icons from figma (32c0f24)
- illustration: add AppKiwi illustration (#3416) (6be7363)
- Stepper: remove size prop (49f31ce)
BREAKING CHANGES
- Stepper: size prop was removed
2.22.2 (2022-06-07)
Bug Fixes
- icons: colored signal and google (6925af9)
2.22.1 (2022-06-06)
Bug Fixes
- ButtonPrimitive: prevent appearance css specifity issue (#3394) (e9c2376)
- icons: fix baggage icons (a7844aa)
- icons: fix google icon (03bff2b)
- icons: fix icons content after figma update (#3403) (f2822f9)
2.22.0 (2022-06-03)
Features
- icons: add support for colored icons frame (#3392) (b1ab819)
- Skeleton: add color prop (#3393) (c73eed1)
2.21.0 (2022-06-02)
Bug Fixes
Features
2.20.0 (2022-06-01)
Bug Fixes
- deprecated: inputGroup margin (#3375) (420c61b)
- Pagination: add missing translation for responsive variant (#3374) (761bc7c)
Features
- icons: add radar icon (e88a3f5)
- Timeline: add direction prop (55192c0)
- Wizard: allow column on desktop (e375ba4)
2.19.1 (2022-05-13)
Note: Version bump only for package @kiwicom/orbit-components
2.19.0 (2022-05-03)
Bug Fixes
- Button and ButtonLink changes (#3351) (598ac28)
- button and buttonLink to have default browser outline for tab nav (bf8eca2)
- ButtonLink: set productNormalHover and productNormalActive colors for compact secondary (4cb3cf9)
- ErrorFormsTooltip: turn off flip (#3347) (e581554)
- ItinerarySegmentStop: fix SSR issue (#3350) (56b1bc7)
- useLockScrolling: lockScrollingBarGap bug (#3346) (f3a552d)
Features
- tokens: add colorTextButtonLinkSecondaryCompact active and hover tokens (5ddcf2e)
2.18.0 (2022-04-28)
Bug Fixes
- Icon: fix storybook iconList (#3342) (3009190)
- ItinerarySegment: change line color to paletteCloudNormalActive (#3345) (3dcf147)
- ItinerarySegmentStop: fix paddings and minWidth (#3339) (ead0cf6)
- Skeleton: make pulse animation more visible (#3335) (a02c435)
Features
- Collapse: add customLabel prop (#3331) (436442b)
- SocialButton: add type email and change layout (#3337) (c460b52)
2.17.2 (2022-04-05)
Bug Fixes
- ErrorFormTooltip: fix overflowing tooltip (#3328) (e57dbea)
- InputField: use line-height token (#3319) (de0f878)
- Toast: desktop width set to initial (#3322) (529c9b1)
2.17.1 (2022-03-23)
Bug Fixes
- icons: colored-whatsapp icon name (6706b68)
2.17.0 (2022-03-22)
Bug Fixes
- FormLabel: add missing types (#3310) (b764dbb)
- ItinerarySegmentStop: time, station, city as React.Node (08b7ec5)
- ItineraryStatus: fix icon import (#3312) (d3d9e67)
- ModalFooter: fix padding (#3311) (b4dc950)
- Tag: selected circle color (#3314) (33e8b77)
- Toast: remove min-width for mobile (#3306) (c242c1f)
Features
- icons: android icon (5d05f50)
- icons: dashboard, admin, ai icons (72aedc6)
- icons: social networks icons (b5a537c)
- ItinerarySegment: actionable prop (#3309) (efa18ff)
- ListChoice: action prop (#3313) (bac197f)
2.16.0 (2022-03-11)
Bug Fixes
Features
2.15.1 (2022-03-07)
Bug Fixes
2.15.0 (2022-03-02)
Bug Fixes
- InputGroup: pass and test forwardRef (c1ef417)
- ItinerarySegmentDetail: fix click event for badges (99305ae)
- List: remove additional spacing (#3299) (be2ac7c)
Features
- HorizontalScroll: add onOverflow prop (ec04d31)
2.14.2 (2022-02-28)
Bug Fixes
- Alert: fix content line-height (485b67f)
- ChoiceGroup: add forwardRef (3158068)
- Drawer: autofocus close button when opened (39dc39c)
- Drawer: close on ESC (0de54ee)
- Drawer: use focus trap (8291bd3)
- InputGroup: add forwardRef (78ff5f7)
2.14.1 (2022-02-21)
Bug Fixes
- Popover: remove animation on desktop (1b5d613)
2.14.0 (2022-02-21)
Bug Fixes
- Card: change chevron icon color to secondary (813c02f)
- Collapse: change icon color to secondary (ccc945b)
- Drawer: new z-index value (df4a571)
- Drawer: use new z-index value (#3292) (b0c5a6d)
- ItinerarySegmentDetail: change chevron to secondary color (8b05f16)
- Select: change icon color to InkLight (4467e53)
- Tag: fix persistant focus (#3287) (286088e)
- Tile: change chevon icon color to secondary (68cb181)
- useScrollLock: return reserveScrollBarGap option (#3286) (118a9cb)
Features
2.13.0 (2022-02-10)
Features
2.12.0 (2022-02-09)
Bug Fixes
- InputField: enable tooltip on hover when disabled (#3274) (cb61420)
- Itinerary: fix overflowing badges (#3275) (e894fce)
Features
2.11.0 (2022-02-07)
Bug Fixes
- ItinerarySegmentDetail: fix overflowing badges (5a4bea7)
Features
- Badge: add new bundle type (1c92c62)
- Button: add new bundle type (ad7c435)
- HorizontalScroll: add elevationOverflow and elevationColor props (8c7ce02)
2.10.0 (2022-02-02)
Bug Fixes
- InputGroup: fix issue with long labels (#3256) (9690e1e)
- useTransition: replace
enter
API withstate
(ab239d4)
Features
- add new experimental hook
useTransition
(#3191) (3758af5) - icons: add new flash icon (#3260) (574299e)
2.9.0 (2022-01-24)
Bug Fixes
- ButtonPrimitive: preserve
:hover
and:active
styles (6b67b24) - ErrorFormTooltip: help closable onBlur (#3246) (9a0c04d)
- Itinerary: truncate possible long texts (#3247) (740c798)
- Popover: ensure rounded bottom corners when
actions
are defined (f8f6e39)
Features
2.8.1 (2022-01-20)
Note: Version bump only for package @kiwicom/orbit-components
2.8.0 (2022-01-20)
Bug Fixes
- components: fixes after design reviews (#3226) (281bea7)
- ErrorFormTooltip: close icon on top (65b3a0f)
- FormLabel: change color from secondary to info (a1c3e7d)
- InputField: inlineLabel color from secondary to info (0b1b03a)
- Toast: align implementation with type declarations (5d6fdb9)
- Toast: fix infinite loop in unit tests (4fdbe0e), closes /github.com/timolins/react-hot-toast/issues/107#issuecomment-1017213020
Features
2.7.0 (2022-01-14)
Bug Fixes
Features
- Illustration: add new illustrations (#3234) (f90da39)
- Layout: accommodate breadcrumbs on booking (cedef08)
2.6.1 (2022-01-07)
Bug Fixes
2.6.0 (2021-12-22)
Bug Fixes
- Checkbox: fix design discrepancies in border width and radius (24b9af2)
- fix background color for help tooltip in form components (8ce16bd)
- fix tooltip’s padding in form components (c7496c8)
- increase font weight of labels in form components (56fcaeb)
- Itinerary: fix to match design (#3222) (80fa090)
- Radio: lower focus glow amount (2a7012f)
Features
2.5.1 (2021-12-13)
Bug Fixes
- remove norefferer from links (#3217) (67353f0)
- Skeleton: set fixed height for Text preset (#3214) (c7a35c5)
2.5.0 (2021-12-07)
Bug Fixes
- getBreakpointWidth: improve typings through overloading (069cf86)
- Heading: add missing TypeScript definition for StyledHeading (7bdb6e2)
- Heading: temporary fix for
viewports
beingundefined
(#3212) (4f3fb8d) - Tooltip: export interface (#3210) (d393f9a)
Features
2.4.1 (2021-12-03)
Bug Fixes
- useMediaQuery: add a fallback for older browsers (3f51a3c)
2.4.0 (2021-12-01)
Bug Fixes
- InputField: fix warning caused by the invalid
$width
attribute (1afc9d2) - InputStepper: fix type definitions to export InputStepperStateless (36549da)
- update
peerDependencies
to support bothstyled-components
v4 and v5 (f420ff8) - useFocusTrap: export from root (1df0f8f)
Features
2.3.0 (2021-11-23)
Features
- Badge: add border and carriers props (e538b53)
- BadgePrimitive: add carriers prop (274795c)
- CarrierLogo: add rounded prop (55aaf50)
- Itinerary: init (3a0d40e)
- Text: add font-weight medium (1a361f2)
- Text: add line-through (2a74e2d)
2.2.0 (2021-11-22)
Bug Fixes
- Box: flex-grow and flex-shrink, allow any number (#3190) (0243bfa)
- Popover: useClickOutside after isLargeMobile (#3189) (02b1487)
- prevent form tooltip from falling off-screen (8c8a0a8)
- SmartPassIllustration: fix double id (ada7a0b)
- WizardStepIcon: fix transient props (#3184) (a560e0f)
Features
2.1.3 (2021-11-09)
Bug Fixes
- Heading: fix error when passing unsupported props (b52bcdb)
2.1.2 (2021-11-09)
Note: Version bump only for package @kiwicom/orbit-components
2.1.1 (2021-11-05)
Bug Fixes
2.1.0 (2021-11-05)
Bug Fixes
- useMediaQuery: optimize, support custom breakpoints, and make it work without context (8a734fd)
Features
2.0.1 (2021-11-03)
Bug Fixes
- missing storybook provider (#3173) (4967fb7)
- useToggle: make typings reflect initial param is optional (95821c5)
2.0.0 (2021-11-02)
Bug Fixes
- CountryFlag: set “undefined” as default code (#3100) (3e841c5)
- refactor and properly initialize media queries (#3138) (b566699), closes #3149
Code Refactoring
BREAKING CHANGES
- TooltipPrimitive: replace props
preferredAlign
andpreferredPosition
withplacement
, and add new propsnoFlip
andoffset
. - CountryFlag: The default code for CountryFlag is now
"undefined"
rather than"anywhere"
, a gray flag with a question mark. This code is also used if the given code isn’t supported. - media queries in
useMediaQuery
are now being properly initialized, inuseEffect
rather than directly in render, which should prevent some cryptic bugs, but there is a tiny chance that it will break code for those who have been relying on previous behavior, so it’s important to be aware of this change.
1.6.1 (2021-10-27)
Bug Fixes
- cloneWithTooltip: wrong type declaration (52c2418)
1.6.0 (2021-10-27)
Features
- InputField: add width prop (2a2fe0f)
- InputFile: add width prop (70d1d39)
- InputStepper: add width prop (c479f41)
- Select: add width prop (865d690)
- TextLink: add active and focus colors (3df1647)
1.5.0 (2021-10-21)
Bug Fixes
- bring back missing icon Flow declarations (9c0dcac)
- ErrorForms: fix font-size (#3151) (323c480)
- useLockScrolling: support nested scroll locks (#3149) (8215c85)
Features
- add new icon: deals v2 (08edbf9)
Reverts
1.4.0 (2021-10-20)
Bug Fixes
- ModalHeader: remove margins from title (e9ae04d)
Features
1.3.1 (2021-10-18)
Bug Fixes
- Box: fix width and height types (#3145) (c60308a)
- Modal: improve accessibility and testability (#3143) (c4c7bcb)
1.3.0 (2021-10-14)
Bug Fixes
- useRandomId: fix missing UIDReset (d2e0ec8)
Features
1.2.2 (2021-10-06)
Bug Fixes
- Skeleton: fix default height (cc02dd3)
1.2.1 (2021-10-06)
Bug Fixes
- Card: set description Text default as div (#3132) (df60e73)
- Skeleton: default as single rect (#3134) (9e0bf27)
1.2.0 (2021-10-01)
Bug Fixes
- storybook: logo url (#3127) (455ded0)
- remove unnecessary declare module statements (#3124) (32805a8)
- InputField: label before tags (c25ba7a)
- Popover: transform and transition (33f73ad)
- Popover: ts type definition (1e61a81)
Features
- Skeleton: allow string values for height and width (43f51bb)
- add component structure component (8cacce0)
- export
useRandomId
anduseRandomIdSeed
from root (cf4dd14) - export useTheme hook from root (a622f6d)
1.1.0 (2021-09-22)
Bug Fixes
- Icon: explicitly set expected
display
(5babd1a) - useLockScrolling: ensure that scroll is locked by default (bb2da46)
Features
- Alert: properly style links in Alert (8d3fff5)
1.0.1 (2021-09-13)
Bug Fixes
1.0.0 (2021-09-10)
Code Refactoring
- Popover: replace calculate logic with popper.js (#3046) (9b4852d)
- delete deprecated components (#3084) (ee75f02)
Features
- error forms (#2350) (480d565)
- update colour palette (#3095) (acddb14), closes #BAC7D5 #697D95 #4F5E71
BREAKING CHANGES
Popover:
props
preferredPosition
andpreferredAlign
are replaced by single propplacement
, which same as popper.js’s placement can have one of the following values:"top-start"
"top-end"
"bottom-start"
"bottom-end"
"right-start"
"right-end"
"left-start"
"left-end"
"auto"
"auto-start"
"auto-end"
extended by two props:
noFlip
: Turns off automatic flipping of the Popover when there is not enough spaceallowOverflow
: Allows the Popover to be cut off instead of moving it while scrolling to keep it visible.
deletes deprecated components, their usage should be replaced with better existing or upcoming alternatives.
0.122.0 (2021-09-09)
Features
- Skeleton: introduce Skeleton component (#3071) (6a3cf3d)
- useLockScrolling: allow specifying additional dependencies (aac39f0)
- add
lockScrolling
theme flag (abfe92c)
0.121.0 (2021-09-07)
Bug Fixes
- Badge: add border to type white (#3085) (70264ee)
- CountryFlag: disallow
code
value null (481b36c) - Drawer: fix iOS bug with scrolling content (92827ab)
- Modal: fix bug with detached footer (#3093) (d552b78)
- add missing TS definitions in ESM build (90ec51a)
- use @kiwicom/orbit-design-tokens’s ESM build (a85a521)
Features
BREAKING CHANGES
- CountryFlag: Flow and TypeScript type definitions no longer allow
null
as value forCountryFlag
’scode
.
0.120.0 (2021-08-19)
Bug Fixes
- useLockScrolling: fix body positioning on iOS (b780fde)
Features
0.119.0 (2021-08-10)
Features
0.118.1 (2021-08-05)
Bug Fixes
0.118.0 (2021-08-05)
Bug Fixes
- ButtonLink: use proper design tokens (#3060) (2e035be)
- InputField: value color in Safari (#3062) (2c12957)
Features
0.117.0 (2021-07-22)
Bug Fixes
Features
- Text: allow
justify
value foralign
prop (#3050) (c7704b2) - add lockScrolling prop (#3045) (461139d)
- lock scrolling in components with overlay (#3036) (b6c87ae)
- Grid: add spaceAfter utility prop (#3043) (c65ba9a)
- InputFile: add aria-required (ef47042)
- TextLink: add type “white” (#3000) (6a101f1)
0.116.0 (2021-06-24)
Bug Fixes
Features
0.115.0 (2021-05-27)
Bug Fixes
- HorizontalScroll: getSnap (9823909)
Features
- CarrierLogo: add kiwicom type fallback (#2959) (041d8d6)
- Dialog: add insidePortal prop (dbe7785)
- HorizontalScroll: add scroll-snap-type (#2964) (837685d)
- Illustration: add GroundTransport404 (#2966) (24771e2)
- MobileDialog: add insidePortal prop (3b55af6)
- Modal: add disableAnimation prop (306455b)
- Popover: add insidePortal prop (14d126f)
- TextLink: add status types (#2915) (970edc7)
- Tooltip: add insidePortal prop (fa127e8)
- TooltipPrimitive: add insidePortal prop (4cb5dde)
- introduce BadgeList component (#2937) (b2b68ec)
0.114.2 (2021-05-17)
Bug Fixes
- ButtonLink: pass size prop to icons (#2938) (0184785)
- HorizontalScroll: remove automatic height calculation for wrapper (#2936) (0880483)
- MobileDialog: change to dialog role (9895ac7)
- popover: close on overlay (e2cef68)
- pass aria-labelledby for switch labels (#2935) (1b10e4c)
Reverts
- Modal: revert CLS changes (b1d00b4)
0.114.1 (2021-05-12)
Bug Fixes
0.114.0 (2021-05-05)
Bug Fixes
- Popover: fix bug with Tooltip inside Popover on mobile (75d8fa4)
Features
- BaggageStepper: init (#2922) (0c9c546)
- HorizontalScroll component (#2917) (d5e5929)
- introduce Switch component (7517675)
0.113.1 (2021-04-28)
Bug Fixes
- Button: pass forgotten size prop to utility functions (8b97281)
- ButtonPrimitive: remove redundant size property (#2847) (bec9180)
- examples: strip flow types from the generated JSONs (#2913) (49f36fd)
- SocialButton: add forgotten size property to getCommomProps (a950d6d)
0.113.0 (2021-04-22)
Bug Fixes
- add TypeScript definition of getTokens (267109a)
- add typescript export of defaultTheme (1047b61)
- export SeatLegend (576027f)
- update React peer dependency versions (#2898) (b841f2d)
- Breadcrumbs: missing action in default story (#2884) (683bd86)
- docs: escape pipe in Alert button props table (f50485f)
- useBoundingRect: fix TypeScript declaration (#2875) (371b30d)
Features
BREAKING CHANGES
- useBoundingRect: In TypeScript
useBoundingRect
now requires a type parameter based on which HTML element it measures:
function App() {const [dimensions, ref] = useBoundingRect<HTMLDivElement>();return <div ref={ref} />;}
0.112.0 (2021-04-07)
Bug Fixes
- add default export for Icon stories (#2864) (2e9d2c7)
- docs: add exports for types (3acc31e)
- docs: change null to 0 (9eca6cd)
- docs: remove improper token in enum (4ab6b23)
- TextLink: called twice when stopPropagation specified (#2857) (4fc78dc)
- TypeScript: fix root mediaQueries export (32a70a6)
Features
- eslint-plugin-orbit: useRtl rule (#2833) (ecb3fd6)
- update baggage related icons (#2851) (fb118c9)
- playground: examples (#2808) (6f495cf)
- export useMediaQuery hook from root (1048599)
BREAKING CHANGES
- Renamed icons BaggageChecked -> BaggageChecked30; BaggagePersonalItem -> BaggagePersonal; BaggagePersonalItemNone -> BaggagePersonalNone
Added new icons:
- BaggageChecked10
- BaggageChecked20
Renamed icons:
- BaggageChecked -> BaggageChecked30
- BaggagePersonalItem -> BaggagePersonal
- BaggagePersonalItemNone -> BaggagePersonalNone
Updated icons:
- PriorityBorading
- BaggageCheckedNone
- BaggageCabin
- BaggageCabinNone
0.111.1 (2021-03-19)
Bug Fixes
- ci: deploy storybook only, not build (#2830) (f287d1e)
- docs: misnamed prop for Box (#2825) (4e98bd9)
- InputFile: ref ts type (#2827) (1341d57)
- SkipLink: missing export (#2794) (eff2c6d)
- useMediaQuery: remove listeners on cleanup (#2822) (eb92419)
- Wizard: remove incorrect React.ReactChildren (#2829) (3f6b803)
0.111.0 (2021-03-08)
Bug Fixes
- fix script for fetching translations (#2817) (df3633e)
- Accordion: missing export (#2797) (020f2f3)
- ButtonMobileStore: missing ts export (f82f8cd)
- CalloutBanner: illustration type (#2791) (3b752e3)
- Radio: missing tooltip type in d.ts (4ce4b4e)
- SocialButton: missing export (#2793) (df1f288)
- SocialButton: missing ts export (2806aca)
- Timeline: type property inside d.ts (#2792) (b07f49c)
- validateIncrement: fix wrong type (#2796) (bafe8b5)
- missing Desktop and Mobile exports (033e111)
Features
0.110.0 (2021-03-03)
Bug Fixes
- Box: regression test error (#2807) (2f2478e)
- InputStepper: missing font-family (#2748) (8ccebe7)
- Seat: add export for SeatLegend and fix TS type of “type” prop (#2788) (9fea5af)
- useIntersect: remove unnecessary SSR check (0b440e6)
- useIntersect: simplify
ref
type (573eba0) - utils: getDirection (#2782) (01be059)
Features
- Modal: autofocus (#2749) (7318569)
- slide: added static defaultProps inside class (e344e61)
- slide: added transitionDuration support (7e5cf6a)
- slide: fixed eslint issues (d0bd068)
- slide: using defaultProps instead of destruct value (140f896)
- Slide: added transitionDuration support (#2751) (e7b5c72)
0.109.2 (2021-02-16)
Bug Fixes
0.109.1 (2021-02-08)
Bug Fixes
- use postinstall script only in development (05cecc4)
0.109.0 (2021-02-05)
Bug Fixes
- InputTags: fix cleanup logic (7d66ff8)
- PictureCard: label semantic (#2713) (0c454e0)
- Seat: small selected state (#2715) (8426630)
- useIntersect: do nothing in browsers that don’t support IntersectionObserver (99d3772)
- useMediaQuery: fix Rules of Hooks violation (6146505)
Features
- eslint-orbit: add unique-ids rule (#2671) (b6a1057)
- Seat: new icon sizes, general refactoring (a86cd07)
BREAKING CHANGES
- Seat: separated component for legend, changed icon sizes
0.108.2 (2021-01-26)
Bug Fixes
0.108.1 (2021-01-25)
Bug Fixes
0.108.0 (2021-01-22)
Bug Fixes
- Accordion: missing onExpand ts (4a64429)
- Card: missing titleAs in d.ts (#2666) (0f60daa)
- IllustrationPrimitive: allow empty alt (1c9e3d7)
- Tag: focus only if onClick/onRemove provided (41a163a)
Features
0.107.0 (2021-01-13)
Bug Fixes
- seat: randomize id to prevent namespace errors (114e38f)
Features
- deprecate old Seat component (99001b0)
- box: add minWidth (e325c19)
- CountryFlag: add “undefined” flag (#2654) (fa5fe66)
0.106.0 (2021-01-07)
Bug Fixes
- Box: fix null values (eacb181)
- Box: set padding/marging to 0 if none (f5eee37)
- CardSection: title and icon alignment (#2618) (3d2b795)
- Modal: ensure header overlay if title exists (#2634) (bf2a8e0)
- Wizard: translate close button (#2630) (25d351b)
Features
- popover: offset (#2633) (ea71b64)
- seat: new version of seat component (#2623) (e091345)
- TableCell: add normal white-space (#2637) (4bc34ed)
0.105.0 (2020-12-18)
Bug Fixes
Features
0.104.0 (2020-12-17)
Bug Fixes
- Box: apply
largeMobile
properties (#2612) (e55c88e) - Button: change color of outline on focus (#2611) (e2b0384)
- InputFile: a11y fixes (be39d80)
- Tag: add missing aria-label (26789fb)
- Tile: missing a11y attributes (3959338)
Features
0.103.0 (2020-12-10)
Bug Fixes
- SkipLink: sr-only styles, label as aria-label (eb0d625)
- SmartPassIllustration: linergradients missing ids restored (93fd176)
- Wizard: translate progress label on mobile (#2576) (cf6fc54)
Features
BREAKING CHANGES
- Modal: size prop is changed, added new value
CODEMODE:
jscodeshift -t https://raw.githubusercontent.com/kiwicom/orbit/master/packages/orbit-components/transforms/Modal-size.js <pathToYourCode> --parser=flow|t
0.102.0 (2020-12-01)
Bug Fixes
- Accordion: allow any children type in Flow (#2552) (1f7e37d)
- Popover: popover bottom position issue (#2540) (4b251ad)
- SmartPassIllustration: change smartPass api, to reduce bundle size (#2529) (761d3f3)
Features
BREAKING CHANGES
- SmartPassIllustration: API of SmartPassIllustation has changed
0.101.0 (2020-11-26)
Bug Fixes
- Modal: expose modalBody and modalContent (500cf6b)
Features
- Modal: add scrollingElementRef prop (0cf4f7e)
- SmartPassIllustration: added v5 image (#2519) (f718651)
0.100.1 (2020-11-24)
Bug Fixes
0.100.0 (2020-11-23)
Bug Fixes
Features
0.99.0 (2020-11-19)
Bug Fixes
- Popover: a11y issues (45dbbdf)
- Timeline: make subLabel optional (#2505) (8cb77f0)
- Tooltip: only call
preventDefault
on mobile (#2502) (f73940b), closes #2230
Features
0.98.0 (2020-11-10)
Bug Fixes
- Layout: use the correct tags for columns (#2487) (f092fa9)
- ListChoice: disabled items should not get focus (#2474) (08eb9c4)
- Modal: lost focus on user interaction (#2484) (ef3e4f9)
Features
0.97.0 (2020-11-10)
Bug Fixes
- Accordion: Accordion sticky footer story (#2483) (09127f8)
- Inline: add around and between (#2476) (554e536)
Features
0.96.3 (2020-11-09)
Bug Fixes
- Modal: expose setScrollPosition via forwardRef (#2472) (3f30a63)
- Modal: fix TypeScript definition for ref (#2479) (86c5c7e)
0.96.2 (2020-11-06)
Bug Fixes
0.96.1 (2020-11-05)
Bug Fixes
0.96.0 (2020-11-04)
Bug Fixes
- InputFile: forward onFocus event handler (#2461) (92ad4da)
- SkipNavigation: fix typos in stories (#2414) (b380a1c)
- Stack: add forgotten interface export (#2456) (a85d20a)
- Tooltip: do not propagate the onClick event on mobile when stopPropagate is set to true (#2438) (00467c5)
- remove //flow from *.d.ts (5a57884)
- CountryFlag stop exporting
getCountryProps
(#2436) (e001aabe) - ButtonPrimitive correctly forward
ref
(#2418) (cf4c4f33)
Features
- introduce Box component (#2242) (226bec7)
- introduce Inline component (#2255) (ef00500)
- AlertButton: set small as default size for alert button (#2391) (1a6d0be)
- Stack: change spacing value names (#2457) (6a9363b), closes #2451
BREAKING CHANGES
- Stack: Renaming spacing values of
Stack
component andLinkList
component – that was using Stack internally.
Also dropped support of different spacings between mobile and desktop version. It no longer make sense from design point of view.
- AlertButton: Removed size property from AlertButton since only the small size should be used and from now, it’s the default value. No actions should be necessary. If you used different than small size, just remove the usage of the property. Co-authored-by: Luděk Vepřek [email protected]
0.95.0 (2020-10-23)
Bug Fixes
Features
- Eslint: add rules for enforcing readOnly types on TS/Flow (#2331) (26d13b5)
- ListChoice: add disabled boolean property (#2355) (4f135e5)
- Loki: skip code blocks (#2389) (9d4c7d1), closes #2346
- orbit: transitions defaults to on (#2372) (d2338e3)
- TextLink: add standAlone, noUnderline & iconRight, rename icon to iconLeft (#2373) (76959c86)
- for renaming
icon
toiconRight
there’s a codemod available, see https://github.com/kiwicom/orbit/pull/2380#issuecomment-713441576
- for renaming
0.94.0 (2020-10-19)
Bug Fixes
Features
0.93.0 (2020-10-16)
Bug Fixes
- add padding to InputField text suffix (#2338) (6b77021)
- Breadcrumbs: add check for absence of props on mobile (#2259) (7bd4ab3)
- Breadcrumbs: spacing from 8 to 4 (#2311) (b51bd21)
- ButtonPrimitive: align text to right in RTL (f26c45e)
- Docs: primitives default (dd91c4f)
- Hide: span to div (#2277) (3bcc1bb)
- ModalSection: margin-top (#2340) (4a7def0)
- Slide: initialize max-height to work SSR (#2339) (ff7dce8)
- fix InputGroup/LayoutColumn TS typing (#2326) (de52968)
- move collapsable aria labels to the focusable button (#2319) (ad8708b)
- Tile: fix newWindow icon on external (#2264) (4ea9639)
Features
- Accordion: added Accordion component (#2280) (9d24499)
- add Wizard component (99229b1)
- ButtonPrimitive: add support for aria-current (d26067b)
- Illustration: added image to images.kiwi (#2312) (6652782)
- InputField: adding a autofocus attribute (#2236) (3ebec2e)
- Modal: add prop to remove the close button (d96f46d)
- TextLink: add support for aria-current (9e0b3e2)
- Timeline: init component (#2287) (9447edf)
- Tooltip: refactoring Tooltip into 2 separate components (#2230) (df3b3be)
- add an agnostic entry point for icons (#2237) (597d1ec)
0.92.0 (2020-09-09)
Bug Fixes
- Layout: width of Card on mobile (#2181) (8daca18)
- updating TypeScript definitions to match Flow (#2202) (d476c2f)
- Docs: internal github links (#2182) (da12261)
- Table: updating default align and removing unnecessary vertical-align options (#2204) (0bfe9ae)
- Tooltip: enable event bubbling for disabled children (#2201) (5f26d88)
- update docs and icons link for monorepo (#2200) (27f4974)
Features
Reverts
0.90.1 (2020-08-06)
Bug Fixes
- Pricingtable: rendering of wrapped mobile child (#2094) (5713e76)
- popover memory leak (#2095) (9a9a890)
- types: adjust Breadcrumbs, Tile, Button type declarations and exports (#2096) (b6cdc68)
- types: adjust typescript types for heading and textarea (#2093) (0fcd753)
0.90.0 (2020-08-05)
- fix!(Popover): actions on mobile are no longer hidden (#2040) (1a71008), closes #2040
- feat!(PricingTable): adding option to display radio buttons on desktop (#2076) (8d1fee4), closes #2076
Bug Fixes
- IllustrationPrimitive: defaulting flex shrink to false (#2036) (0a867f1)
- InputStepper, Stepper: callbacks triggered when disabled (#2050) (81ed35b)
- Layout: edge to edge behavior of deprecated Card (#2049) (637f677)
- ListChoice: set role to checkbox when selectable is true (#2062) (70d1625)
- Rtl: flow definition of destructured assigment (#2077) (6dd89e2)
- Typescript: updating definitions (#2083) (b1fc89f)
Features
- Breadcrumbs: add backHref prop (#2048) (58e0493)
- ButtonMobileStore: adding light variants (#2059) (d534554)
- Modal: adding extraSmall size option (#2078) (17fa9ae)
- SocialButton: adding twitter type (#2057) (cb1c97d)
BREAKING CHANGES
- adding a padding-top to Actions causing it to potentially collide with some wrappers with padding which might be in place
- activeElement no longer passes active to children
0.89.0 (2020-07-17)
Bug Fixes
- Breadcrumbs: unification of style from figma (#2032) (8c8868d)
- extend type of tabIndex to allow numbers (#2029) (96c1a7b)
- InputStepper: onChange is triggered when disabled (#2024) (387806c)
- Layout: inner usage of Card – edge to edge behavior (#2025) (3d475f3)
Features
0.88.0 (2020-06-30)
Bug Fixes
- Breadcrumbs: unnecessary optional event (#1959) (d4034a7)
- Select: customValueText interpolation (#1957) (f528d0c)
- SocialButton: inner content align (#1983) (2b57e3a)
- UseMediaQuery: remove unnecessary debounce (#1982) (bc73651)
0.87.2 (2020-06-16)
Bug Fixes
- ButtonPrimitive: fallback to text-align (#1946) (bd7f59f)
- Portal: state init on SSR (#1954) (1f43f7a)
- tests folder names (#1940) (9bd091c)
0.87.1 (2020-06-12)
Bug Fixes
0.87.0 (2020-06-11)
Bug Fixes
- ButtonGroup: mobile border radius (#1934) (08316d1)
- Portal: usage with Tooltip (#1935) (67e88d6)
- Tag: onRemove now shows close button (#1931) (0156b7f)
Features
- ButtonLink: inline type and compact property, remove transparent (#1912) (8e2f128)
- ButtonPrimitive: adding responsive visual style behaviour (#1911) (06a8622)
- Dialog: change spacing between title and description (#1922) (7718db7)
- FormElements: adding mobile border radius (#1915) (3a3c227)
- General: adding display name to react contexts (#1936) (c1a0da4)
- MediaQuery: adding prefersReducedMotion (#1921) (dd807cb)
- Portal: refactor to hooks (#1923) (04ad886)
- Stack: add baseline to align options (#1930) (eecc296)
- TextLink: change focus state to non underlined text (#1914) (e2bb67d)
0.86.0 (2020-06-01)
Bug Fixes
- InputStepper: removing native arrows on Firefox (#1889) (2c61e3b)
- MediaQuery: spread type (#1899) (c78ab3f)
Features
- InputField: adding onSelect, onMouseUp, onMouseDown (#1883) (8ce9435)
- PictureCard: Add src attribute (#1544) (5a17c0b)
- Table: adding striped on Table. Scope and as on TableCell (#1881) (5d49cfd)
- TableCell: adding white-space and vertical align options (#1910) (5380443)
0.85.2 (2020-05-21)
Bug Fixes
0.85.1 (2020-05-20)
Bug Fixes
- InputStepper: improve TypeScript definition (#1865) (86915f3)
- Typescript: defaultTheme, missing instance (#1873) (d7e62cf)
0.85.0 (2020-05-15)
Bug Fixes
- AlertButton: missing export in entry file (#1848) (1e4336a)
- Breadcrumbs: render in RTL (#1836) (a427b70)
- ButtonPrimitive: interactive states when disabled (#1846) (5de0ad3)
- FormElements: adding aria polite to errors (#1840) (14196cc)
- ModalHeader: illustration type to Node (#1829) (8775caa)
- Table: min-height on table (#1823) (c116c27)
Features
- Icons: adding colorPicker icon (#1841) (b79fbe6)
- Modal: illustration size (#1830) (3bf4fac)
- Pagination: not hiding buttons at the end/start of the list (#1843) (67e867a)
- ServiceLogo: new Maestro and MasterCard short variants (#1847) (a4fae80)
- TypeScript: adding type definitions (#1504) (a2ea0ec)
0.84.2 (2020-04-29)
Bug Fixes
0.84.1 (2020-04-28)
Bug Fixes
0.84.0 (2020-04-27)
Features
- adding extraSmall size to illustrations (#1800) (7987772)
- introduce useBoundingRect hook (#1771) (ba9597b)
- moving separated type of List to PricingTable only (#1801) (93629b5)
- rename element property to as (#1273) (91ff946)
- Buttons: introduce SocialButton (#1803) (ac41d60)
- Drawer: title alignment (#1790) (5fb4708)
- SkipLink: Rename description to buttonLabel on SkipLink (#1686) (99e4017)
- Table: adding new type and footer (#1788) (075d9f3)
- introduce global onlyIE media query selector (#1772) (1b48f6b)
- feat(Buttons)!: Introduce ButtonPrimitive, implementing planned breaking changes (#1522) (ca4a641), closes #1522
Bug Fixes
BREAKING CHANGES
- Shifting small size to extraSmall
- removes a separated type from List
- SkipLink: renaming description prop
- Buttons: Removing info, success, warning, facebook, google types from Button. Removing bordered property from Button.
- removing unsafe className (deprecated, not public API) removing icon property (deprecated) changing type of width to string (planned)
0.83.0 (2020-04-03)
Bug Fixes
- Compass: broken svg definition for icon font (#1759) (f8e7b72)
- Tooltip: calculation upon change in the wrapped element (#1761) (e7b5474)
Features
- ChoiceGroup: updating the filter color from product color (#1757) (e1ad6f2)
- adding new ButtonMobileStore component (#1756) (223c846)
- Alert: changing the alignment of description (#1758) (fff86ca)
0.82.1 (2020-04-01)
Bug Fixes
0.82.0 (2020-03-31)
Bug Fixes
- Hide: omit rendering of on property (#1740) (e343317)
- InputField: Tag alignment (#1744) (133f718)
- modal: border radius of close container on desktop (#1726) (fc3b4aa)
- Modal: click ability under CloseContainer (#1739) (2368987)
- radar: SVG definition (#1728) (843d1bd)
- Tooltip: should close when clicked on clickable element (#1742) (a4e226e)
Features
- Checkbox,Radio: Updating visual style (#1737) (8ff47d7)
- Adding commitlint and husky (#1730) (e96446e)
- card: new titleAs property (#1729) (fa50675)
- icons: New Radar icon (#1725) (93e14fc)
- Tile: change padding to large for desktop breakpoint (#1732) (ce9b531)
Reverts
0.81.0 (2020-03-24)
Features
- Select: Add optional key to Option (#1708) (f824d4a)
- Tile: introduce noHeaderIcon property (#1710) (0183561)
0.80.0 (2020-03-20)
Features
0.79.0 (2020-03-17)
Bug Fixes
- Breadcrumbs: add correct html5 structured microdata for breadcrumbs (#1666) (692b3f5)
- tooltip: usage of TextLink in content (#1680) (139a787)
Features
- servicelogo: Add Booking and RentalCars logos (#1682) (fb94862)
- Tag: Update visual style (#1573) (e363406)
- theme: Added transitions property (#1668) (e8f86e6)
0.78.0 (2020-03-12)
Bug Fixes
- button: circled not being perfect circle with small children (#1654) (280905d)
- button: Fix flow type of the button export (#1663) (4c07ca0)
- pictureCard: Enabling heiight to be smaller than 200 (#1660) (633fbe5)
- popover: Border radius on desktop and close button padding (#1658) (50b2a24)
- popover: Opening with onKeyDown event (#1657) (ea27780)
- popover: RTL calculation (#1653) (8572fea)
Features
- dictionary: add index.js export of all languages (#1650) (83f5a9d)
- illustrations: Add optional alt property (#1656) (4a60dfd)
- modal: Change title size to title2 on mobile (5ab25f2)