All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
9.3.1 (2023-09-25)
Bug Fixes
- ButtonPrimitive: do not let ‘loading’ prop be rendered in the DOM (a0e6406)
9.3.0 (2023-09-19)
Features
- Illustration: add Damage and Wheelchair illustrations (04c78b6)
9.2.0 (2023-09-18)
Bug Fixes
- ButtonLink: fix incorrect hover backgroud color on primary (fdc4c32)
Features
- icons: update icons from figma (f234800)
- icons: update icons from figma (225f77e)
- icons: update icons from figma (7279080)
9.1.0 (2023-09-11)
Bug Fixes
- Card: header actions are now vertically center aligned (2679f54)
- HorizontalScroll: prevent click to induce scrolling (1eec4d2)
- InputField: show ‘readOnly’ as ‘disabled’ visually (594a642)
- Radio: add visible indication of checked state when disabled (#3970) (8cc1f62)
- Textarea: show ‘readOnly’ as ‘disabled’ visually (68a25bc)
- Wizard: title now renders correctly even without labelProgress (9cd2503)
Features
- icons: update icons from figma (6db1846)
- icons: update icons from figma (0191293)
- icons: update icons from figma (#3971) (1493315)
- icons: update icons from figma (#3983) (69e68e0)
- icons: update icons from figma (#3988) (32febf0)
- icons: update icons from figma (#3993) (1092efd)
- InputField: add defaultValue prop (269928c)
- OrbitProvider: no longer require single child (5aed201)
- Textarea: add defaultValue prop (0da689f)
9.0.0 (2023-08-22)
Features
- abstract away react-uid and remove it from deps (48f1473)
- all components now have use client directive (4b6598b)
- ClickOutside: deprecated (#3960) (8baf829)
- icons: update icons from figma (#3955) (fb2c88a)
- icons: update icons from figma (#3964) (a878b10)
- icons: update icons from figma (#3967) (9686366)
- icons: update icons from figma (#3968) (ed6739a)
- remove deprecated FormFeedback (f84c526)
- remove deprecated InputField (939bf7f)
- remove deprecated InputFile (957f724)
- remove deprecated InputGroup (5a5b37d)
- remove deprecated Select (d590716)
- remove deprecated Textarea (cc971ff)
- update to React 18 (45be262)
- upgrade to node 18 (d7eafbf)
- Wizard: add isCompleted to WizardStep (#3958) (75ab7c6)
BREAKING CHANGES
- OrbitProvider now requires useId prop for random ID generator hook
- Node version required is now >=18
- remove deprecated InputGroup
- remove deprecated Textarea
- remove deprecated InputFile
- removed deprecated InputField
- remove deprecated FormFeedback
8.1.2 (2023-08-08)
Note: Version bump only for package @kiwicom/orbit-components
8.1.1 (2023-08-08)
Note: Version bump only for package @kiwicom/orbit-components
8.1.0 (2023-08-03)
Bug Fixes
- tokens: fix bundle tokens definitons (#3940) (d275b5b)
- use ForwardRefRenderFunction instead of deprecated RefForwardingComponent (#3941) (a70687c)
Features
8.0.0 (2023-07-28)
Bug Fixes
- InputSelect: clearing the input now clears the selected option (b805837)
- InputSelect: close events and invalid typing (ce9051a)
- InputSelect: hover effect removed from mobile (766a8d8)
- InputSelect: present error and info on mobile (6f888f6)
- InputSelect: spaceAfter was not working correctly (46d4f78)
- Separator: fix background and border issue (#3925) (5ffa0ee)
Features
- icons: update icons from figma (#3927) (51c2f14)
- Illustration: add Ambulance and FlexibleDates illustrations (#3933) (47e8fe8)
- InputSelect: rename emptyStateMessage to emptyState (6a5ade2)
- tokens: migrate to style-dictionary (5029dcf)
BREAKING CHANGES
- InputSelect: emptyStateMessage string prop is now called emptyState and accepts any React element.
7.8.0 (2023-07-14)
Bug Fixes
- InputSelect: add missing onOptionSelect callback to onKeyDown (e0d351f)
- InputSelect: close after selection (a6f39e0)
- InputSelect: fix ModalHeader padding size (304e7a7)
- InputSelect: keep option selected on second click (0a9fbeb)
- Popover: fix popover overlay bubbling event issue (#3921) (e507e5e)
Features
7.7.0 (2023-07-11)
Bug Fixes
- Box: fix possible color tokens (97d3807)
- TextLink: allow secondary type inside Alert (#3912) (a6193f5)
Features
- InputFile: add multiple attribute (#3918) (9119426)
- Popover: add zIndex property (#3919) (36a8d21)
- ServiceLogo: add KiwiGuarantee logo (#3916) (60e6665)
7.6.0 (2023-06-28)
Bug Fixes
- ChoiceGroup: fix event types (1f1832d)
- ErrorFormTooltip: fix event types (8e85a57)
- FormLabel: fix event types (74e42f2)
- InputField: fix event types (4a3dcc0)
- InputFile: fix event types (7f88332)
- InputGroup: fix event types (9c0ecdd)
- InputSelect: fix event types (6ddddb3)
- Modal: fix event types (f76aee4)
- Radio: fix event types (4f48a4c)
- SegmentedSwitch: fix event types (06a24cf)
- SegmentedSwitch: fix event types (3935db2)
- Select: fix event types (89c413b)
- Select: fix focus styles (6dccd7a)
- Select: long inline label now truncates (17758b4)
- Slider: allow move the slider over current value (8696c1b)
- Slider: range Slider was not updating correctly (7fb5229)
- Switch: fix event types (2897a26)
- Textarea: fix event types (609628b)
Features
7.5.0 (2023-06-23)
Bug Fixes
- InputGroup: disabled state was not visually correct (53a00e0)
- InputSelect: z-index was missing from styles (948574c)
- ListChoice: align icon to the center vertically (b5c022b)
- Slider: defaultValue now updates the slider (62dd911)
Features
- InputSelect: add prefix to Option (bf89e71)
7.4.1 (2023-06-19)
Bug Fixes
7.4.0 (2023-06-16)
Bug Fixes
- ErrorFormTooltip: change font-weight to normal (#3886) (2cb63c7)
- HorizontalScroll: arrows now only display if it’s overflowing (#3882) (115fce2)
- Itinerary: correct cursor is now applied to ItinerarySegmentBanner (#3884) (ff86148)
- Select: adjust height and alignment of Select and Prefix (#3883) (cedc3a0)
Features
- icons: update icons from figma (#3888) (161a242)
- Illustration: add Cancelled illustration (#3887) (3ffe282)
- Text: add extraLarge size (afe2971)
- TextLink: add extraLarge size (6b90277)
7.3.0 (2023-06-13)
Bug Fixes
- InputFile: clicking on icon label no longer triggers the OS input (b81547f)
- InputFile: errorForm tooltip offset (5801e7c)
- ModalFooter: wrap elements in StyledChild only when multiple (#3869) (be1cfe6)
- SegmentedSwitch: errorForm tooltip offset (#3877) (032b93f)
- Select: disabled styles (d1697b1)
- Select: fix Option label type for flow (d541a91)
- Select: inlineLabel and Prefix now work as expected (1fa2c23)
- Slider: value state update was not working correctly (5c7a9aa)
- Wizard: fix missing provider prop (#3875) (6b34b90)
Features
- icons: update icons from figma (#3867) (ecd80ec)
- icons: update icons from figma (#3872) (4465369)
- InputField: add new aria-props (95c35e5)
- InputSelect: new component (e81110b)
- ListChoice: add role and tabIndex props (598de88)
- Modal: add onScroll prop (989e1de)
7.2.0 (2023-05-31)
Bug Fixes
- Alert: change labelClose to accept string only (6c7c53a)
- ButtonPrimitive: change title to accept string only (6d90024)
- Card: change labelClose to accept string only (b11a490)
- Drawer: change labelHide to accept string only (6ff0013)
- ItinerarySeparator: rename imported Props to avoid naming conflict (#3854) (12fca7a)
- Modal: change labelClose to accept string only (5879f55)
- NavigationBar: change openTitle to accept string only (1ce0c9e)
- Pagination: change label types to string (d815e41)
- Select: change type of Option label to string (dc18bed)
- Select: fixed spacing between prefix and customValueText (143abec)
- SkipNavigation: change label types to string (4ad843e)
- Stepper: change title to accept only string (9ce9121)
- Tooltip: change labelClose to accept string only (97a7115)
- Wizard: change labelClose to accept string only (c866ab8)
Features
- Heading: add title6 type (6326b13)
7.1.0 (2023-05-18)
Bug Fixes
Features
- ItinerarySeparator: add type and color props (d73b182)
- Popover: add renderTimeout prop (#3841) (7e242a8)
- Select: add inlineLabel prop (8ad7a1d)
- Separator: add type and color props (b6497a0)
- Tab: add min-width to avoid text wrap (b75ce17)
7.0.0 (2023-04-27)
Bug Fixes
- Alert: change colors for AlertButton subtle (961c6a1)
- Breacrumbs: change goBackTitle to accept React.Node (b1614e6)
- Button: change icon sizes and spacing (050e157)
- ButtonPrimitive: replace current title type with React.Node (e1db0d0)
- Card: add spacing between actions and title (da4e898)
- FormLabel: add margin-left offset (eb0f092)
- SegmentedSwitch: adjust height to match design specs (67dee47)
- Select: change type of label in option to React.Node (a08eb5f)
- Tag: adjust height to match design specs (09aa998)
- Tag: border-radius on responsive (dddf4a4)
- TextLink: fix color on active state (c981604)
- TextLink: fix icon sizes (7161d4f)
- Tile: adjust spacing between icon and content (9e1c83a)
- Tile: adjust title styles (c880ee6)
- Tile: fix border-radius on desktop (5e04164)
- Toast: icon on Promisse Toast was not rendered (#3805) (e50b66f)
chore
Illustration: add type to consts file (#3815) (224698a), closes #3816
feat(Wizard)!: add label props (96035c8)
Features
- Alert: add labelClose prop (5dc5d89)
- BadgePrimitive: remove borderColor prop (70a620d)
- Badge: rename type prop (a55dbd2)
- Card: add labelClose prop (71d6cc4)
- Card: icon prop is deprecated (f6ba524)
- Drawer: add labelHide prop (198b1d8)
- ErrorFormTooltip: change border-radius to 6px on responsive (1bbbc00)
- ErrorFormTooltip: change font-size to 14px only (bf09d30)
- ErrorformTooltip: icon size changed to normal (9c1045b)
- InputField: remove size prop (05918ff)
- InputField: set border-radius to large on responsive (a69c792)
- MobileDialogPrimitive: add labelClose prop (1c7ab61)
- Modal: add labelClose prop (c08c245)
- NavigationBar: add openTitle prop (2abe630)
- Pagination: add label props (7b61545)
- Popover: add labelClose prop (0252aa0)
- Popover: add maxHeight prop (b454d7b)
- remove deprecated InputStepper component (ad64d7a)
- remove translation and dictionary components (4816c39)
- Select: remove size prop (a5e13a3)
- SkipNavigation: add label props (90f8e65)
- SkipNavigation: add label props (e5aeb5a)
- Tag: add iconLeft prop (5a55e93)
- tokens: change fontSizeSm to 13px and fontSizeMd to 15px (262104e)
- Tooltip: add labelClose prop (01e9e28)
BREAKING CHANGES
- Select: size prop was removed. Normal size is now the only option.
- InputField: size prop was removed. Normal size now is the only option.
- Illustration: visual breaking change on ModalFooter. Flex-none is no longer applied after largeMobile.
- Badge: New type subtle is the old default one. New default is the old Inverted
- BadgePrimitive: borderColor prop is no longer accepted
- translations removed, use labelClose for close Button and labelProgress for progress text
- NavigationBar: translation removed, use openTitle with Translate instead
- Modal: translations removed, use labelClose with Translate instead
- Drawer: removed translation, use labelHide prop with Translate instead
- Deprecated InputStepper removed, use Stepper instead
- Card: use labelClose prop to add title for close button
- Breacrumbs: translation removed, use goBackTitle prop with Translate
- Alert: translation removed, use labelClose prop
- SkipNavigation: transaltion removed, use feedbackLabel to add translation for feedback button content
- Popover: removed translation, use labelClose prop instead
- Pagination: translations were removed, use label props instead
- useTranslate, useDictionary, Translate and Dictionary componentes were removed.
- Toast: The createToastPromise function now receives three arguments. Check documentation for further details.
6.4.0 (2023-04-17)
Features
- BadgeListItem: add size prop (#3797) (27501b6)
- icons: update icons from figma (#3799) (d9a6c65)
- icons: update icons from figma (#3807) (239e3b3)
6.3.1 (2023-03-31)
Bug Fixes
6.3.0 (2023-03-29)
Bug Fixes
- AlertButton: padding was not correct when there was an icon (#3778) (e2feb34)
- Coupon: change border color to paletteCloudDark (457efe6)
- InputGroup: fixes problem with long labels (#3779) (2ef2dc1)
- Loading: fix LoadingSpinner size with customSize prop (#3789) (0b4056c)
- ModalFooter: count children properly (#3790) (c982e6c)
Features
- docs: fix onChange type (#3788) (7566138)
- Tabs: add fullWidth prop (#3786) (fef1d07)
- Tabs: add width: 100% to TabPanels (#3793) (a3fd7a9)
6.2.1 (2023-03-23)
Bug Fixes
6.2.0 (2023-03-23)
Bug Fixes
- CarrierLogo: remove shadow from inlineStacked variation (f06731f)
- Itinerary: type colors were not being correctly applied (cb90cef)
- SegmentedSwitch: add role switch (4b2e5e2)
- Stack: fix gap issue for iOS Safar < 14.1 (#3763) (8fd4fa4)
- Switch: background color was not correct (5a6841b)
- utils: force outline to have only blue color (7170bb7)
Features
- Button: add download prop (a27447c)
- ButtonLink: add download and centered props (6d90b90)
- ButtonPrimitive: add download prop (a1a6d64)
- TextLink: add download prop (618d016)
6.1.0 (2023-03-13)
Bug Fixes
- Itinerary: incorrect internal type passing Text on cancelled info (#3760) (d945ae7)
- Itinerary: text can now be selected inside ItinerarySegmentDetails (f705780)
- Timeline: correctly align text inside a Modal (#3759) (0acff49)
Features
- icons: update icons from figma (#3757) (22ae41a)
- Itinerary: add actionable bool prop to ItineraryStatus (d58e9ce)
6.0.3 (2023-03-03)
Bug Fixes
- TabList: remove twiced ObjectProperty from d.ts (6735b60)
6.0.2 (2023-03-02)
Note: Version bump only for package @kiwicom/orbit-components
6.0.1 (2023-03-02)
Bug Fixes
- Tabs: fix typing issues in .d.ts files (4198d88)
6.0.0 (2023-02-28)
Bug Fixes
- adjust marginUtility to spacingUtility (e9e2f09)
- icons: fix bank icon id (1e9bec1)
- icons: icon names were changed in Figma (a9c1c10)
- InptuField: remove theme from DOM element (c9e7011)
- ItineraryBadgeList: fix status colors (d921a30)
- Itinerary: only display chevron if Banner is clickable (#3741) (8f2df5f)
- ItinerarySegment: fix incorrect status colors (ebafe7e)
- ItinerarySegmentStop: fix CircleSmall icon (#3746) (8d22436)
- ItineraryStatus: fix incorrect status colors (815721b)
- Modal: border-radius on mobile (#3740) (5d8e08a)
- Modal: fixed mobile header while scrolling (#3753) (967375d)
- Select: remove white bg from container (#3745) (0fc18c8)
- TextLink: remove type and theme props from DOM element (6c573aa)
- Timeline: fix the last bold line in TimelineStep on desktop (#3747) (520d345)
Features
- icons: update icons from figma (#3737) (7b82d6e)
- icons: update icons from figma (#3744) (7c43a44)
- introduce Tabs component (6c7607f)
- Modal: export ModalHeading subcomponent (94010b8)
- Modal: remove margin when there’s no title or description (15f12ac)
- Text: element prop in StyledText now has
p
as defaultValue (723dd5d)
BREAKING CHANGES
- icons: ChevronDoubleRight -> ChevronDoubleForward ChevronDoubleLeft -> ChevronDoubleBackward ChevronRight -> ChevronForward ChevronLeft -> ChevronBackward
- marginUtility renamed to spacingUtility
- Modal: When a ModalHeader has no title nor description but has children, no margin is applied by default
5.3.0 (2023-01-24)
Bug Fixes
- Alert: line-height of elements (3601846)
- Checkbox: disabled color (fc82a93)
- FormLabel: adjust line-height (e505725)
- Grid: fix missing spaceAfter (#3728) (9f1cd25)
- icons: fix calendar-duration icon (#3714) (b07e295)
- Radio: disabled color and cursor (d7f7714)
- SegmentedSwitch: adjust padding on option (9760298)
- Table: fix incorrect color value from paletteInkNormal to paletteInkDark (#3727) (fc5e7d3)
- Text: default margin to 0 after removing unintentionally (ecdcb9a)
Features
- ErrorFormTooltip: add hasTooltip parameter to hook (519f841)
- icons: update icons from figma (#3717) (9eadb46)
- icons: update icons from figma (#3722) (ebf10b0)
- Illustration: add MobileApp2 illustration (#3725) (92e4483)
5.2.0 (2023-01-09)
Bug Fixes
- Breadcrumbs: make last element always bold (#3699) (a9ab2aa)
- Card: remove additional padding in CardSection (#3696) (826cae2)
- CarrierLogo: correct width when inlineStacked (4bd0bed)
- icons: add prefixes to icon ids (#3698) (d585b3d)
- Popover: click outside was not working correctly (#3702) (eeeeb86)
- StepperStateless: remove size prop from types (71b6190)
Features
- icons: update icons from figma (#3709) (16d4b41)
- InputField: add aria-invalid and aria-describedby (33f4bb6)
- Select: add aria-invalid and aria-describedby (eb49bb4)
- Textarea: add aria-invalid and aria-describedby (05f955a)
Reverts
5.1.0 (2022-12-15)
Bug Fixes
- Button: export conditional types correctly (#3680) (6aec97f)
- ButtonLink: remove redundant ref type (d483280)
- CalloutBanner: fix tabIndex type (4187abc)
- Card: inconsistent expanded state is now impossible (#3679) (c7d5cd2)
- CarrierLogo: use useRandomIdSeed (#3686) (ba538f8)
- InputField: fix tabIndex type (a11e324)
- InputField: remove redundant ref type (e8bce1e)
- ItinerarySegment: fix incorrect counting of elements (#3687) (6061b95)
- ItinerarySegmentStop: fix date type (3f1b92d)
- Radio: remove redundant ref type (ac51550)
- Select: fix select ref type (0bc368d)
- Select: remove ref type (4b80564)
- Switch: remove redundant ref type (b05f267)
- Tag: remove redundant ref type (fcf00eb)
Features
- Card: add margin utility prop (eddb2fe)
- common: add ObjectPropertUtility type (600f8f9)
- icons: update icons from figma (#3691) (898d44f)
- Illustration: add margin utility prop (581fcb9)
- IllustrationPrimitive: add margin utility prop (8efc6e9)
- Text: add margin utility prop (02b9549)
- utils: add marginUtility (0f880a4)
5.0.0 (2022-12-01)
Bug Fixes
- Box: wrap property was calculated incorrectly (620812d)
- CardSection: remove focus background style (#3671) (cd11b2c)
- CarrierLogo: use CarrierLogo tokens (89ece90)
- CarrierLogo: use space token after icon size changes (d4408eb)
- Heading: add missing role=‘heading’ for div rendered as Heading (#3666) (caed409)
- Itinerary: render text as div (#3643) (fd5dd46)
- ItinerarySegmentBanner: fix RTL issue (#3659) (6ed2395)
- ItinerarySegment: fix access of hidden prop in the context (#3675) (e18b9dd)
- ItinerarySegmentStop: fix ItineraryIcon (#3669) (6da4c6d)
- Modal: don’t render overlay if is full page (4e31400)
- TextLink: repair broken CSS rule (#3638) (1927ca1)
- Tooltip: background color (#3667) (7819c9b)
Features
- add inlineStacked property to CarrierLogo (#3652) (e30e1c3)
- Button: add centered prop for fullWidth (#3673) (f639b3e)
- Button: add line-height: 1 (#3676) (34130c2)
- Button: add tokens for subtle button (#3658) (2e84139)
- Illustration: add FastBooking illustration (#3672) (3b19cd6)
- InputField: set autoCorrect and autoCapitalize explicitly to off (#3651) (f27912e)
- rename ThemeProvider to OrbitProvider (#3601) (10030dd)
- ServiceLogo: add AirHelpPlus logo (6313ada)
- tokens: change icon sizes according to a new designs (54e515f)
Reverts
- revert exporting types from index (9e827b4)
BREAKING CHANGES
tokens: Visual breaking changes. Icons medium sized now have 20px (24px before), size large 24px (32px before)
ThemeProvider is now called OrbitProvider. Everything else didn’t change
docs: create documentation for OrbitProvider
New documentation page for OrbitProvider created.
4.2.0 (2022-11-02)
Bug Fixes
- Breadcrumbs: element without href is now focusable if it has onClick (b252f72)
- Grid: fix TypeScript type for spaceAfter in Grid (#3623) (70d713b)
- SegmentedSwitch: incorrect defaultChecked prop name (#3618) (e5c8efb)
- Textarea: required prop displays an asterisk (#3617) (1d531a4)
- Timeline: make last successful step text ink colored (#3635) (c5a3f7d)
- Tooltip: add missing onShow for MobileDialog (206a818)
Features
- Breadcrumbs: change focus to native colors (c23dc88)
- CallOutBanner: change focus to native colors (73e2fed)
- Card: change focus to native colors (4f7e209)
- Checkbox: change focus to native colors (6298b19)
- icons: update icons from figma (#3630) (7f524a0)
- InputFile: change focus to native colors (8e5f155)
- InputGroup: change focus to native colors (9770ea8)
- Itinerary: change focus to native colors (052cbe6)
- ListChoice: change focus to native colors (517bd20)
- MobileDialog: add onShow callback (2dee49e)
- Radio: change focus to native colors (e85e76c)
- Seat: change focus to native colors (2b8d8b6)
- SegmentedSwitch: change focus to native colors (f08e9d1)
- Slider: change focus to native colors (793ef00)
- Stepper: change focus to native colors (16e9a75)
- Switch: change focus to native colors (ead846a)
- Tag: change focus to native colors (6189785)
- Textarea: change focus to native colors (19cbd79)
- TextLink: change focus to native colors (9299123)
- Tile: change focus to native colors (14455eb)
- Timeline: add active prop, subLabel and label accept React.Node (ed45cf9)
- Timeline: new component design (99d5094)
- utils: add defaultFocus (f419334)
4.1.0 (2022-10-18)
Bug Fixes
- Accordion: not expanding (#3606) (61d7f3b)
- LinkList: fix missing direction prop in sc (c04c42a)
- Table: responsive shadow was not correct (#3604) (4feb4c9)
Features
- HorizontalScroll: add arrows to scroll (#3603) (3ec0895)
- LinkList: add legacy prop (553029f)
- Stack: add legacy prop to apply old spacing behaviour (c6096dd)
4.0.0 (2022-10-12)
Bug Fixes
- HorizontalScroll: fix issue with glitching on mobile while scrolling (#3593) (343d3fc)
- ItineraryBadgeListItem: add margin-top only if cancelledValue provided (0e7745a)
- Skeleton: fix default color from paletteCloudDark to paletteCloudNormal (055d009)
- Stack: keep old behavior, enable gap only if flex or spacing is provided (#3597) (1445684)
- Tooltip: add max-width and render as flex instead of block (#3595) (7b734b0)
- TooltipPrimitive: add handleClick to content (#3594) (b867342)
Features
- PricingTable: remove PricingTable (0a674e4)
- tokens: update palette (#3579) (bf2780b), closes #E8EDF1 #BAC7D5 #697D95 #4F5E71 #252A31
BREAKING CHANGES
- PricingTable: PricingTable and PricingTableItem were removed. Its implementation was moved to repositories using it.
- tokens: a few design tokens were changed
3.8.0 (2022-10-07)
Bug Fixes
- FormLabel: use onMouseEnter and onMouseLeave on wrapper (8d5acb1)
- ItinerarySegmentStop: add missing flex shrink (#3581) (75b1f4c)
Features
- Badge: export StyledBadge type (13fe6d3)
- Itinerary: add ItineraryBadgeListItem (2972f97)
- List: export IconContainer and Item subcomponents (72a904d)
- SegmentedSwitch: new SegmentedSwitch component (5d3b538)
- Text: export StyledText type (b18f3fb)
- Tooltip: add onShown prop (b4f152e)
- TooltipPrimitive: add onShown prop (8c21377)
3.7.1 (2022-09-23)
Bug Fixes
- ItinerarySegmentStop: fix wider background color (2663934)
- ItineraryStatus: fixed height issue and longer translations (901cf71)
- Tile: fix inherited font-weight (#3580) (bdc57de)
3.7.0 (2022-09-20)
Features
- KeyValue: new spacing, direction properties (#3576) (aeeace9)
- Tile: add expanded prop (#3577) (7f97061)
3.6.1 (2022-09-16)
Bug Fixes
- BadgePrimitive: remove CarrierLogo offset (7738f88)
- HorizontalScroll: fix useScroll hook to support touchevent (7207333)
- ItineraryBadgeList: remove default spaceAfter medium (ea7f3be)
- ItinerarySeparator: fix z-index issue (0dc08b1)
3.6.0 (2022-09-01)
Bug Fixes
- HorizontalScroll: remove shadow after it reaches end (9168bbe)
- Itinerary: fix icons imports (8373597)
Features
- BadgeListItem: add strikeThrough property (b2cf321)
- Box: add forwardRef (407b244)
- Box: extend elevations (6de92cf)
3.5.1 (2022-08-23)
Bug Fixes
- Loading: remove padding with customSize (303ed7d)
3.5.0 (2022-08-22)
Bug Fixes
- Checkbox: change font-weight to medium for label (9202eb7)
- deprecated InputField label z-index (#3559) (f9b67ad)
- Radio: change font-size to medium for label (5fc7bd6)
- useTransition: fix type export (#3560) (fda99a8)
Features
- icons: update icons from figma (c16079a)
- Itinerary: add ItinerarySegmentBanner (#3553) (911fc2a)
- Loading: new customSize prop (#3558) (297f684)
3.4.0 (2022-08-01)
Bug Fixes
- Checkbox: issue with need to click twice on iOS (#3546) (1bdfa36)
- Checkbox: use ts type for onChange (#3544) (31997be)
- icons: add iconFont false to colored icons (989e5b1)
- icons: fix svg fonts unicodes (262ee6c)
- icons: move colored icons to mobile folder (93169b3)
- Itinerary: render Texts as div (#3541) (3679d91)
- storybook (#3537) (e7680e4)
Features
- icons: add google-play icon (cf20e42)
- ItineraryStatus: add type neutral (#3539) (bc73ba5)
- Itinerary: support multiple banners (#3543) (4994e9e)
3.3.0 (2022-07-21)
Bug Fixes
- ItineraryIcon: add new icon from figma (#3529) (233e2b7)
- PricingTable: remove max-width (#3533) (6a4c40b)
Features
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<