Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Wizard): migrate to tailwind #4285

Merged
merged 2 commits into from
Mar 25, 2024
Merged

feat(Wizard): migrate to tailwind #4285

merged 2 commits into from
Mar 25, 2024

Conversation

vbulant
Copy link
Contributor

@vbulant vbulant commented Feb 26, 2024

Closes FEPLT-1705

This Pull Request meets the following criteria:

For Tailwind migrations:

  • Visual regression test suite has been added if does not exist.
  • tailwind-migration-status.yaml file has been updated with the migrated component(s).

For new components:

  • Tests have been added/adjusted for my new feature
  • New Components are registered in index.js of my project
  • New Components have d.ts files and are exported in index.d.ts

@vbulant vbulant self-assigned this Feb 26, 2024
@vbulant vbulant marked this pull request as draft February 26, 2024 11:26
Copy link
Contributor

Storybook staging is available at https://kiwicom-orbit-tw-wizard.surge.sh

Copy link
Contributor

github-actions bot commented Feb 26, 2024

Size Change: -1.63 kB (0%)

Total Size: 441 kB

Filename Size Change
packages/orbit-components/lib/icons/ColoredMessenger.js 790 B -1 B (0%)
packages/orbit-components/lib/icons/ColoredTelegram.js 815 B -2 B (0%)
packages/orbit-components/lib/Wizard/helpers.js 0 B -517 B (removed) 🏆
packages/orbit-components/lib/Wizard/index.js 1.23 kB -322 B (-21%) 🎉
packages/orbit-components/lib/Wizard/WizardStep.js 1.47 kB -557 B (-27%) 🎉
packages/orbit-components/lib/Wizard/WizardStepIcon.js 725 B -228 B (-24%) 🎉
ℹ️ View Unchanged
Filename Size
packages/orbit-components/lib/Accordion/AccordionContext.js 336 B
packages/orbit-components/lib/Accordion/AccordionSection/components/SectionContent.js 287 B
packages/orbit-components/lib/Accordion/AccordionSection/components/SectionFooter.js 321 B
packages/orbit-components/lib/Accordion/AccordionSection/components/SectionHeader.js 470 B
packages/orbit-components/lib/Accordion/AccordionSection/index.js 754 B
packages/orbit-components/lib/Accordion/index.js 659 B
packages/orbit-components/lib/AirportIllustration/index.js 344 B
packages/orbit-components/lib/Alert/AlertButton/consts.js 376 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonBoxShadow.js 576 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonIconForeground.js 268 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonStyles.js 507 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonTypeToken.js 770 B
packages/orbit-components/lib/Alert/AlertButton/index.js 625 B
packages/orbit-components/lib/Alert/consts.js 304 B
packages/orbit-components/lib/Alert/index.js 1.62 kB
packages/orbit-components/lib/Badge/consts.js 268 B
packages/orbit-components/lib/Badge/index.js 698 B
packages/orbit-components/lib/BadgeList/BadgeListItem/index.js 990 B
packages/orbit-components/lib/BadgeList/consts.js 272 B
packages/orbit-components/lib/BadgeList/index.js 341 B
packages/orbit-components/lib/Box/helpers/getBackground.js 225 B
packages/orbit-components/lib/Box/helpers/getBorderRadius.js 213 B
packages/orbit-components/lib/Box/helpers/getColor.js 210 B
packages/orbit-components/lib/Box/helpers/getElevation.js 210 B
packages/orbit-components/lib/Box/helpers/getMargin.js 355 B
packages/orbit-components/lib/Box/helpers/getOverflow.js 207 B
packages/orbit-components/lib/Box/helpers/getPadding.js 358 B
packages/orbit-components/lib/Box/helpers/getPosition.js 206 B
packages/orbit-components/lib/Box/helpers/getTextAlign.js 216 B
packages/orbit-components/lib/Box/helpers/getWrap.js 210 B
packages/orbit-components/lib/Box/helpers/index.js 610 B
packages/orbit-components/lib/Box/helpers/tailwindClasses.js 1.21 kB
packages/orbit-components/lib/Box/index.js 2.03 kB
packages/orbit-components/lib/Breadcrumbs/BreadcrumbsItem/index.js 928 B
packages/orbit-components/lib/Breadcrumbs/index.js 860 B
packages/orbit-components/lib/Button/consts.js 341 B
packages/orbit-components/lib/Button/index.js 1.21 kB
packages/orbit-components/lib/ButtonGroup/index.js 352 B
packages/orbit-components/lib/ButtonLink/consts.js 292 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkCommonProps.js 272 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkIconForeground.js 435 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkStyles.js 479 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkTypeToken.js 390 B
packages/orbit-components/lib/ButtonLink/index.js 890 B
packages/orbit-components/lib/ButtonMobileStore/consts.js 344 B
packages/orbit-components/lib/ButtonMobileStore/index.js 622 B
packages/orbit-components/lib/CallOutBanner/index.js 747 B
packages/orbit-components/lib/Card/CardSection/components/Expandable.js 395 B
packages/orbit-components/lib/Card/CardSection/index.js 1.26 kB
packages/orbit-components/lib/Card/components/Header.js 759 B
packages/orbit-components/lib/Card/index.js 872 B
packages/orbit-components/lib/CarrierLogo/consts.js 349 B
packages/orbit-components/lib/CarrierLogo/index.js 1.26 kB
packages/orbit-components/lib/Checkbox/index.js 1.19 kB
packages/orbit-components/lib/ChoiceGroup/components/Feedback.js 555 B
packages/orbit-components/lib/ChoiceGroup/components/FilterWrapper.js 644 B
packages/orbit-components/lib/ChoiceGroup/consts.js 241 B
packages/orbit-components/lib/ChoiceGroup/index.js 1.2 kB
packages/orbit-components/lib/Collapse/index.js 1.15 kB
packages/orbit-components/lib/common/consts.js 273 B
packages/orbit-components/lib/common/getFieldDataState.js 138 B
packages/orbit-components/lib/common/getSpacingToken/consts.js 245 B
packages/orbit-components/lib/common/getSpacingToken/index.js 347 B
packages/orbit-components/lib/common/keyMaps.js 202 B
packages/orbit-components/lib/common/tailwind/alignContent.js 575 B
packages/orbit-components/lib/common/tailwind/alignItems.js 544 B
packages/orbit-components/lib/common/tailwind/backgroundColor.js 2.33 kB
packages/orbit-components/lib/common/tailwind/color.js 2.33 kB
packages/orbit-components/lib/common/tailwind/direction.js 518 B
packages/orbit-components/lib/common/tailwind/display.js 659 B
packages/orbit-components/lib/common/tailwind/grow.js 414 B
packages/orbit-components/lib/common/tailwind/index.js 532 B
packages/orbit-components/lib/common/tailwind/justify.js 553 B
packages/orbit-components/lib/common/tailwind/margin.js 1.65 kB
packages/orbit-components/lib/common/tailwind/padding.js 1.32 kB
packages/orbit-components/lib/common/tailwind/shrink.js 429 B
packages/orbit-components/lib/common/tailwind/spaceAfter.js 510 B
packages/orbit-components/lib/common/tailwind/spacing.js 2.08 kB
packages/orbit-components/lib/common/tailwind/textAlign.js 515 B
packages/orbit-components/lib/common/tailwind/wrap.js 418 B
packages/orbit-components/lib/CountryFlag/consts.js 1.51 kB
packages/orbit-components/lib/CountryFlag/index.js 829 B
packages/orbit-components/lib/Coupon/index.js 379 B
packages/orbit-components/lib/defaultTheme.js 213 B
packages/orbit-components/lib/Dialog/index.js 1.53 kB
packages/orbit-components/lib/Drawer/components/DrawerClose.js 376 B
packages/orbit-components/lib/Drawer/consts.js 185 B
packages/orbit-components/lib/Drawer/index.js 1.64 kB
packages/orbit-components/lib/ErrorFormTooltip/hooks/useErrorTooltip.js 320 B
packages/orbit-components/lib/ErrorFormTooltip/index.js 411 B
packages/orbit-components/lib/ErrorFormTooltip/Tooltip/index.js 1.77 kB
packages/orbit-components/lib/FeatureIcon/consts.js 244 B
packages/orbit-components/lib/FeatureIcon/index.js 542 B
packages/orbit-components/lib/FormLabel/index.js 676 B
packages/orbit-components/lib/fromPlainObject.js 148 B
packages/orbit-components/lib/getTokens.js 147 B
packages/orbit-components/lib/Heading/consts.js 434 B
packages/orbit-components/lib/Heading/index.js 811 B
packages/orbit-components/lib/Heading/twClasses.js 774 B
packages/orbit-components/lib/Hide/index.js 383 B
packages/orbit-components/lib/hooks/useBoundingRect/index.js 431 B
packages/orbit-components/lib/hooks/useClickOutside/index.js 333 B
packages/orbit-components/lib/hooks/useEventListener/index.js 529 B
packages/orbit-components/lib/hooks/useFocusTrap/consts.js 216 B
packages/orbit-components/lib/hooks/useFocusTrap/index.js 654 B
packages/orbit-components/lib/hooks/useIntersect/index.js 430 B
packages/orbit-components/lib/hooks/useInterval/index.js 281 B
packages/orbit-components/lib/hooks/useIsMounted/index.js 270 B
packages/orbit-components/lib/hooks/useIsMountedRef/index.js 210 B
packages/orbit-components/lib/hooks/useLockScrolling/index.js 558 B
packages/orbit-components/lib/hooks/useLockScrolling/lock-scrolling.js 2.34 kB
packages/orbit-components/lib/hooks/useMediaQuery/index.js 1.02 kB
packages/orbit-components/lib/hooks/usePrevious/index.js 260 B
packages/orbit-components/lib/hooks/useRandomId/index.js 238 B
packages/orbit-components/lib/hooks/useStateWithCallback/index.js 265 B
packages/orbit-components/lib/hooks/useStateWithTimeout/index.js 358 B
packages/orbit-components/lib/hooks/useTheme/index.js 241 B
packages/orbit-components/lib/hooks/useToggle/index.js 267 B
packages/orbit-components/lib/hooks/useTransition/index.js 801 B
packages/orbit-components/lib/HorizontalScroll/helpers.js 200 B
packages/orbit-components/lib/HorizontalScroll/index.js 1.63 kB
packages/orbit-components/lib/HorizontalScroll/useScroll.js 1.02 kB
packages/orbit-components/lib/Icon/consts.js 311 B
packages/orbit-components/lib/Icon/createIcon.js 349 B
packages/orbit-components/lib/Icon/helpers/whiteListProps.js 254 B
packages/orbit-components/lib/Icon/IconList.js 919 B
packages/orbit-components/lib/Icon/index.js 881 B
packages/orbit-components/lib/icons/Accommodation.js 511 B
packages/orbit-components/lib/icons/AccountCircle.js 613 B
packages/orbit-components/lib/icons/Admin.js 808 B
packages/orbit-components/lib/icons/Ai.js 650 B
packages/orbit-components/lib/icons/AirConditioning.js 1.02 kB
packages/orbit-components/lib/icons/Airplane.js 789 B
packages/orbit-components/lib/icons/AirplaneDown.js 661 B
packages/orbit-components/lib/icons/AirplaneLanding.js 830 B
packages/orbit-components/lib/icons/AirplaneReturn.js 796 B
packages/orbit-components/lib/icons/AirplaneTakeoff.js 863 B
packages/orbit-components/lib/icons/AirplaneUp.js 667 B
packages/orbit-components/lib/icons/AirplaneUpOff.js 753 B
packages/orbit-components/lib/icons/AirportSecurity.js 613 B
packages/orbit-components/lib/icons/Alert.js 510 B
packages/orbit-components/lib/icons/AlertCircle.js 445 B
packages/orbit-components/lib/icons/AlertOctagon.js 416 B
packages/orbit-components/lib/icons/All.js 664 B
packages/orbit-components/lib/icons/Android.js 616 B
packages/orbit-components/lib/icons/Anywhere.js 923 B
packages/orbit-components/lib/icons/Apple.js 602 B
packages/orbit-components/lib/icons/AppNotification.js 789 B
packages/orbit-components/lib/icons/ArrowDown.js 466 B
packages/orbit-components/lib/icons/ArrowUp.js 454 B
packages/orbit-components/lib/icons/Atm.js 755 B
packages/orbit-components/lib/icons/Attachment.js 551 B
packages/orbit-components/lib/icons/BaggageCabin.js 676 B
packages/orbit-components/lib/icons/BaggageCabinNone.js 746 B
packages/orbit-components/lib/icons/BaggageChecked10.js 636 B
packages/orbit-components/lib/icons/BaggageChecked20.js 632 B
packages/orbit-components/lib/icons/BaggageChecked30.js 648 B
packages/orbit-components/lib/icons/BaggageCheckedNone.js 753 B
packages/orbit-components/lib/icons/BaggagePersonal.js 943 B
packages/orbit-components/lib/icons/BaggagePersonalNone.js 990 B
packages/orbit-components/lib/icons/BaggageRecheck.js 595 B
packages/orbit-components/lib/icons/BaggageSet.js 797 B
packages/orbit-components/lib/icons/BaggageStorage.js 757 B
packages/orbit-components/lib/icons/Bank.js 607 B
packages/orbit-components/lib/icons/BillingDetails.js 668 B
packages/orbit-components/lib/icons/BoardingGate.js 781 B
packages/orbit-components/lib/icons/Boat.js 965 B
packages/orbit-components/lib/icons/Bookmark.js 481 B
packages/orbit-components/lib/icons/Bug.js 889 B
packages/orbit-components/lib/icons/Bus.js 715 B
packages/orbit-components/lib/icons/Cake.js 834 B
packages/orbit-components/lib/icons/Calendar.js 567 B
packages/orbit-components/lib/icons/CalendarAnytime.js 636 B
packages/orbit-components/lib/icons/CalendarDuration.js 630 B
packages/orbit-components/lib/icons/CalendarRange.js 622 B
packages/orbit-components/lib/icons/CalendarTripLength.js 667 B
packages/orbit-components/lib/icons/Camera.js 638 B
packages/orbit-components/lib/icons/Car.js 738 B
packages/orbit-components/lib/icons/CarDoor.js 480 B
packages/orbit-components/lib/icons/CarRental.js 1.04 kB
packages/orbit-components/lib/icons/Chart.js 543 B
packages/orbit-components/lib/icons/Chat.js 477 B
packages/orbit-components/lib/icons/Check.js 400 B
packages/orbit-components/lib/icons/CheckCircle.js 435 B
packages/orbit-components/lib/icons/ChevronBackward.js 438 B
packages/orbit-components/lib/icons/ChevronDoubleBackward.js 450 B
packages/orbit-components/lib/icons/ChevronDoubleForward.js 439 B
packages/orbit-components/lib/icons/ChevronDown.js 410 B
packages/orbit-components/lib/icons/ChevronForward.js 433 B
packages/orbit-components/lib/icons/ChevronUp.js 417 B
packages/orbit-components/lib/icons/Child.js 796 B
packages/orbit-components/lib/icons/ChildFriendly.js 675 B
packages/orbit-components/lib/icons/Circle.js 337 B
packages/orbit-components/lib/icons/CircleEmpty.js 402 B
packages/orbit-components/lib/icons/CircleFilled.js 436 B
packages/orbit-components/lib/icons/CircleSmall.js 344 B
packages/orbit-components/lib/icons/CircleSmallEmpty.js 373 B
packages/orbit-components/lib/icons/City.js 586 B
packages/orbit-components/lib/icons/Clock.js 469 B
packages/orbit-components/lib/icons/Close.js 449 B
packages/orbit-components/lib/icons/CloseCircle.js 491 B
packages/orbit-components/lib/icons/Cocktail.js 721 B
packages/orbit-components/lib/icons/Code.js 500 B
packages/orbit-components/lib/icons/CodeKiwi.js 434 B
packages/orbit-components/lib/icons/Coffee.js 527 B
packages/orbit-components/lib/icons/ColoredFacebook.js 626 B
packages/orbit-components/lib/icons/ColoredImessage.js 693 B
packages/orbit-components/lib/icons/ColoredSignal.js 1.06 kB
packages/orbit-components/lib/icons/ColoredTwitter.js 595 B
packages/orbit-components/lib/icons/ColoredViber.js 1.37 kB
packages/orbit-components/lib/icons/ColoredWhatsapp.js 866 B
packages/orbit-components/lib/icons/ColorPicker.js 591 B
packages/orbit-components/lib/icons/Compare.js 680 B
packages/orbit-components/lib/icons/Compass.js 482 B
packages/orbit-components/lib/icons/ContactEmail.js 869 B
packages/orbit-components/lib/icons/Copy.js 535 B
packages/orbit-components/lib/icons/CreditCard.js 500 B
packages/orbit-components/lib/icons/CustomerSupport.js 626 B
packages/orbit-components/lib/icons/Dashboard.js 706 B
packages/orbit-components/lib/icons/Deals.js 467 B
packages/orbit-components/lib/icons/DealsV2.js 636 B
packages/orbit-components/lib/icons/DeviceDesktop.js 512 B
packages/orbit-components/lib/icons/DeviceMobile.js 418 B
packages/orbit-components/lib/icons/Diamond.js 620 B
packages/orbit-components/lib/icons/Document.js 584 B
packages/orbit-components/lib/icons/Download.js 519 B
packages/orbit-components/lib/icons/Duplicate.js 667 B
packages/orbit-components/lib/icons/Edit.js 483 B
packages/orbit-components/lib/icons/EditOff.js 561 B
packages/orbit-components/lib/icons/Email.js 601 B
packages/orbit-components/lib/icons/Entertainment.js 520 B
packages/orbit-components/lib/icons/Exchange.js 1.02 kB
packages/orbit-components/lib/icons/Facebook.js 500 B
packages/orbit-components/lib/icons/FamilyAll.js 669 B
packages/orbit-components/lib/icons/FamilyHalf.js 708 B
packages/orbit-components/lib/icons/Feedback.js 478 B
packages/orbit-components/lib/icons/Filters.js 603 B
packages/orbit-components/lib/icons/Flash.js 482 B
packages/orbit-components/lib/icons/FlightDirect.js 452 B
packages/orbit-components/lib/icons/FlightMulticity.js 511 B
packages/orbit-components/lib/icons/FlightNomad.js 692 B
packages/orbit-components/lib/icons/FlightReturn.js 585 B
packages/orbit-components/lib/icons/FlightServices.js 689 B
packages/orbit-components/lib/icons/Fuel.js 662 B
packages/orbit-components/lib/icons/FullScreen.js 624 B
packages/orbit-components/lib/icons/FullScreenOff.js 666 B
packages/orbit-components/lib/icons/Gallery.js 702 B
packages/orbit-components/lib/icons/GenderMan.js 1.07 kB
packages/orbit-components/lib/icons/GenderWoman.js 1.22 kB
packages/orbit-components/lib/icons/Github.js 686 B
packages/orbit-components/lib/icons/Google.js 666 B
packages/orbit-components/lib/icons/GooglePlay.js 495 B
packages/orbit-components/lib/icons/GpsFixed.js 518 B
packages/orbit-components/lib/icons/GpsIos.js 419 B
packages/orbit-components/lib/icons/GpsNotFixed.js 494 B
packages/orbit-components/lib/icons/GpsOff.js 832 B
packages/orbit-components/lib/icons/Grid.js 577 B
packages/orbit-components/lib/icons/Gym.js 548 B
packages/orbit-components/lib/icons/Heart.js 478 B
packages/orbit-components/lib/icons/HeartOutline.js 617 B
packages/orbit-components/lib/icons/History.js 527 B
packages/orbit-components/lib/icons/Inbox.js 419 B
packages/orbit-components/lib/icons/index.js 5.26 kB
packages/orbit-components/lib/icons/Infant.js 1.21 kB
packages/orbit-components/lib/icons/InformationCircle.js 529 B
packages/orbit-components/lib/icons/Instagram.js 1.03 kB
packages/orbit-components/lib/icons/Insurance.js 456 B
packages/orbit-components/lib/icons/InsuranceConfirmed.js 544 B
packages/orbit-components/lib/icons/InsuranceOff.js 512 B
packages/orbit-components/lib/icons/Invoice.js 695 B
packages/orbit-components/lib/icons/ItemCompleted.js 544 B
packages/orbit-components/lib/icons/Kiwicom.js 894 B
packages/orbit-components/lib/icons/KiwicomCare.js 548 B
packages/orbit-components/lib/icons/KiwicomGuarantee.js 653 B
packages/orbit-components/lib/icons/KiwicomNoGuarantee.js 651 B
packages/orbit-components/lib/icons/Leisure.js 1.09 kB
packages/orbit-components/lib/icons/Link.js 633 B
packages/orbit-components/lib/icons/Linkedin.js 544 B
packages/orbit-components/lib/icons/List.js 386 B
packages/orbit-components/lib/icons/Location.js 422 B
packages/orbit-components/lib/icons/LocationA.js 589 B
packages/orbit-components/lib/icons/LocationAdd.js 501 B
packages/orbit-components/lib/icons/LocationB.js 610 B
packages/orbit-components/lib/icons/LocationC.js 574 B
packages/orbit-components/lib/icons/LocationD.js 542 B
packages/orbit-components/lib/icons/LocationE.js 528 B
packages/orbit-components/lib/icons/LocationF.js 561 B
packages/orbit-components/lib/icons/LocationG.js 617 B
packages/orbit-components/lib/icons/LocationH.js 508 B
packages/orbit-components/lib/icons/LocationI.js 443 B
packages/orbit-components/lib/icons/LocationJ.js 514 B
packages/orbit-components/lib/icons/Lock.js 470 B
packages/orbit-components/lib/icons/LockOpen.js 576 B
packages/orbit-components/lib/icons/Logout.js 605 B
packages/orbit-components/lib/icons/Lounge.js 602 B
packages/orbit-components/lib/icons/Map.js 641 B
packages/orbit-components/lib/icons/Markdown.js 544 B
packages/orbit-components/lib/icons/Meal.js 800 B
packages/orbit-components/lib/icons/MenuHamburger.js 454 B
packages/orbit-components/lib/icons/MenuKebab.js 354 B
packages/orbit-components/lib/icons/MenuMeatballs.js 356 B
packages/orbit-components/lib/icons/Messages.js 551 B
packages/orbit-components/lib/icons/MessagesOutline.js 607 B
packages/orbit-components/lib/icons/Minus.js 335 B
packages/orbit-components/lib/icons/MinusCircle.js 372 B
packages/orbit-components/lib/icons/Money.js 592 B
packages/orbit-components/lib/icons/MoneyTransferIn.js 612 B
packages/orbit-components/lib/icons/MoneyTransferOut.js 607 B
packages/orbit-components/lib/icons/Moon.js 455 B
packages/orbit-components/lib/icons/MusicalInstruments.js 872 B
packages/orbit-components/lib/icons/NewWindow.js 561 B
packages/orbit-components/lib/icons/NoFlash.js 551 B
packages/orbit-components/lib/icons/Nonstop.js 660 B
packages/orbit-components/lib/icons/NoRefund.js 959 B
packages/orbit-components/lib/icons/NoRescheduling.js 622 B
packages/orbit-components/lib/icons/Notification.js 466 B
packages/orbit-components/lib/icons/NotificationAdd.js 646 B
packages/orbit-components/lib/icons/NotificationOff.js 572 B
packages/orbit-components/lib/icons/NotificationOn.js 673 B
packages/orbit-components/lib/icons/OnlineCheckin.js 525 B
packages/orbit-components/lib/icons/OnlineCheckinOff.js 587 B
packages/orbit-components/lib/icons/Outlook.js 706 B
packages/orbit-components/lib/icons/Paid.js 621 B
packages/orbit-components/lib/icons/Parking.js 446 B
packages/orbit-components/lib/icons/Partners.js 1.73 kB
packages/orbit-components/lib/icons/Passenger.js 504 B
packages/orbit-components/lib/icons/PassengerAdd.js 700 B
packages/orbit-components/lib/icons/PassengerOutline.js 728 B
packages/orbit-components/lib/icons/PassengerRemove.js 646 B
packages/orbit-components/lib/icons/Passengers.js 714 B
packages/orbit-components/lib/icons/Passport.js 858 B
packages/orbit-components/lib/icons/Pet.js 489 B
packages/orbit-components/lib/icons/Pharmacy.js 533 B
packages/orbit-components/lib/icons/Phone.js 440 B
packages/orbit-components/lib/icons/Pin.js 503 B
packages/orbit-components/lib/icons/PinOutline.js 635 B
packages/orbit-components/lib/icons/Placeholder.js 334 B
packages/orbit-components/lib/icons/Play.js 421 B
packages/orbit-components/lib/icons/Playground.js 688 B
packages/orbit-components/lib/icons/Plus.js 431 B
packages/orbit-components/lib/icons/PlusCircle.js 468 B
packages/orbit-components/lib/icons/PlusMinus.js 386 B
packages/orbit-components/lib/icons/Pool.js 727 B
packages/orbit-components/lib/icons/PowerPlug.js 684 B
packages/orbit-components/lib/icons/PowerPlugOff.js 809 B
packages/orbit-components/lib/icons/PriceChange.js 700 B
packages/orbit-components/lib/icons/PriorityBoarding.js 607 B
packages/orbit-components/lib/icons/Profit.js 699 B
packages/orbit-components/lib/icons/PromoCode.js 516 B
packages/orbit-components/lib/icons/QrCode.js 880 B
packages/orbit-components/lib/icons/QuestionCircle.js 511 B
packages/orbit-components/lib/icons/Radar.js 559 B
packages/orbit-components/lib/icons/RadiusSearch.js 701 B
packages/orbit-components/lib/icons/Refund.js 667 B
packages/orbit-components/lib/icons/Relax.js 706 B
packages/orbit-components/lib/icons/Reload.js 584 B
packages/orbit-components/lib/icons/Remove.js 566 B
packages/orbit-components/lib/icons/Replace.js 613 B
packages/orbit-components/lib/icons/Restaurant.js 522 B
packages/orbit-components/lib/icons/RouteNoStops.js 436 B
packages/orbit-components/lib/icons/RouteOneStop.js 453 B
packages/orbit-components/lib/icons/RouteTwoStops.js 478 B
packages/orbit-components/lib/icons/Search.js 396 B
packages/orbit-components/lib/icons/Seat.js 609 B
packages/orbit-components/lib/icons/SeatAisle.js 649 B
packages/orbit-components/lib/icons/SeatExtraLegroom.js 660 B
packages/orbit-components/lib/icons/SeatWindow.js 699 B
packages/orbit-components/lib/icons/Security.js 535 B
packages/orbit-components/lib/icons/SelfTransfer.js 893 B
packages/orbit-components/lib/icons/Send.js 464 B
packages/orbit-components/lib/icons/Settings.js 659 B
packages/orbit-components/lib/icons/Share.js 520 B
packages/orbit-components/lib/icons/ShareAndroid.js 513 B
packages/orbit-components/lib/icons/ShareAndroidOutline.js 616 B
packages/orbit-components/lib/icons/ShareIos.js 571 B
packages/orbit-components/lib/icons/Shopping.js 631 B
packages/orbit-components/lib/icons/ShowLess.js 491 B
packages/orbit-components/lib/icons/ShowMore.js 490 B
packages/orbit-components/lib/icons/Sightseeing.js 576 B
packages/orbit-components/lib/icons/Sign.js 573 B
packages/orbit-components/lib/icons/Smoking.js 595 B
packages/orbit-components/lib/icons/SmokingOff.js 691 B
packages/orbit-components/lib/icons/Sms.js 1.02 kB
packages/orbit-components/lib/icons/Sort.js 524 B
packages/orbit-components/lib/icons/Spa.js 975 B
packages/orbit-components/lib/icons/SportEquipment.js 835 B
packages/orbit-components/lib/icons/Sports.js 686 B
packages/orbit-components/lib/icons/Stackoverflow.js 766 B
packages/orbit-components/lib/icons/StarEmpty.js 596 B
packages/orbit-components/lib/icons/StarFull.js 498 B
packages/orbit-components/lib/icons/Subway.js 852 B
packages/orbit-components/lib/icons/Suitcase.js 537 B
packages/orbit-components/lib/icons/Sun.js 618 B
packages/orbit-components/lib/icons/Sunrise.js 554 B
packages/orbit-components/lib/icons/Taxi.js 893 B
packages/orbit-components/lib/icons/Terminal.js 862 B
packages/orbit-components/lib/icons/TermsAndConditions.js 882 B
packages/orbit-components/lib/icons/ThumbDown.js 614 B
packages/orbit-components/lib/icons/ThumbUp.js 624 B
packages/orbit-components/lib/icons/Ticket.js 526 B
packages/orbit-components/lib/icons/TicketOutline.js 736 B
packages/orbit-components/lib/icons/Tiktok.js 502 B
packages/orbit-components/lib/icons/Timelapse.js 450 B
packages/orbit-components/lib/icons/Timer.js 653 B
packages/orbit-components/lib/icons/Tips.js 707 B
packages/orbit-components/lib/icons/Toilets.js 760 B
packages/orbit-components/lib/icons/Train.js 780 B
packages/orbit-components/lib/icons/Transmission.js 485 B
packages/orbit-components/lib/icons/Trip.js 719 B
packages/orbit-components/lib/icons/Twitter.js 847 B
packages/orbit-components/lib/icons/Uber.js 482 B
packages/orbit-components/lib/icons/Upload.js 518 B
packages/orbit-components/lib/icons/UserGroup.js 893 B
packages/orbit-components/lib/icons/Visa.js 581 B
packages/orbit-components/lib/icons/Visibility.js 679 B
packages/orbit-components/lib/icons/VisibilityOff.js 849 B
packages/orbit-components/lib/icons/Walk.js 627 B
packages/orbit-components/lib/icons/Wallet.js 575 B
packages/orbit-components/lib/icons/Wheelchair.js 665 B
packages/orbit-components/lib/icons/Wifi.js 610 B
packages/orbit-components/lib/icons/WifiOff.js 762 B
packages/orbit-components/lib/icons/Youtube.js 469 B
packages/orbit-components/lib/Illustration/index.js 340 B
packages/orbit-components/lib/index.js 2.46 kB
packages/orbit-components/lib/Inline/consts.js 247 B
packages/orbit-components/lib/Inline/helpers.js 1.13 kB
packages/orbit-components/lib/Inline/index.js 739 B
packages/orbit-components/lib/InputField/consts.js 389 B
packages/orbit-components/lib/InputField/helpers/formElementFocus.js 155 B
packages/orbit-components/lib/InputField/index.js 2.74 kB
packages/orbit-components/lib/InputField/InputTags/index.js 670 B
packages/orbit-components/lib/InputFile/index.js 1.74 kB
packages/orbit-components/lib/InputGroup/consts.js 225 B
packages/orbit-components/lib/InputGroup/index.js 2.14 kB
packages/orbit-components/lib/InputSelect/helpers.js 401 B
packages/orbit-components/lib/InputSelect/index.js 3.49 kB
packages/orbit-components/lib/InputSelect/InputSelectOption/index.js 505 B
packages/orbit-components/lib/Itinerary/context.js 424 B
packages/orbit-components/lib/Itinerary/index.js 529 B
packages/orbit-components/lib/Itinerary/ItineraryBadgeList/index.js 553 B
packages/orbit-components/lib/Itinerary/ItineraryBadgeList/ItineraryBadgeListItem.js 602 B
packages/orbit-components/lib/Itinerary/ItinerarySegment/context.js 477 B
packages/orbit-components/lib/Itinerary/ItinerarySegment/index.js 958 B
packages/orbit-components/lib/Itinerary/ItinerarySegment/ItineraryIcon.js 912 B
packages/orbit-components/lib/Itinerary/ItinerarySegment/ItinerarySegmentBanner/index.js 624 B
packages/orbit-components/lib/Itinerary/ItinerarySegment/ItinerarySegmentDetail/index.js 1.7 kB
packages/orbit-components/lib/Itinerary/ItinerarySegment/ItinerarySegmentStop/index.js 1.19 kB
packages/orbit-components/lib/Itinerary/ItinerarySeparator/Divider.js 1.31 kB
packages/orbit-components/lib/Itinerary/ItinerarySeparator/index.js 551 B
packages/orbit-components/lib/Itinerary/ItineraryStatus/consts.js 212 B
packages/orbit-components/lib/Itinerary/ItineraryStatus/index.js 1.23 kB
packages/orbit-components/lib/Itinerary/ItineraryText/index.js 692 B
packages/orbit-components/lib/Itinerary/utils.js 325 B
packages/orbit-components/lib/Layout/consts.js 464 B
packages/orbit-components/lib/Layout/index.js 594 B
packages/orbit-components/lib/Layout/LayoutColumn/index.js 466 B
packages/orbit-components/lib/LinkList/index.js 597 B
packages/orbit-components/lib/List/consts.js 242 B
packages/orbit-components/lib/List/index.js 663 B
packages/orbit-components/lib/List/ListItem/index.js 495 B
packages/orbit-components/lib/ListChoice/index.js 1.04 kB
packages/orbit-components/lib/Loading/consts.js 241 B
packages/orbit-components/lib/Loading/index.js 1.23 kB
packages/orbit-components/lib/Modal/consts.js 250 B
packages/orbit-components/lib/Modal/helpers/useModalContextFunctions.js 221 B
packages/orbit-components/lib/Modal/index.js 4.29 kB
packages/orbit-components/lib/Modal/ModalCloseButton/index.js 358 B
packages/orbit-components/lib/Modal/ModalContext.js 461 B
packages/orbit-components/lib/Modal/ModalFooter/index.js 1.09 kB
packages/orbit-components/lib/Modal/ModalHeader/index.js 1.1 kB
packages/orbit-components/lib/Modal/ModalSection/index.js 813 B
packages/orbit-components/lib/NavigationBar/index.js 1.04 kB
packages/orbit-components/lib/NotificationBadge/index.js 393 B
packages/orbit-components/lib/OrbitProvider/index.js 833 B
packages/orbit-components/lib/OrbitProvider/QueryContext/index.js 311 B
packages/orbit-components/lib/OrbitProvider/QueryContext/Provider.js 319 B
packages/orbit-components/lib/OrbitProvider/RandomId/Provider.js 368 B
packages/orbit-components/lib/Pagination/components/ActiveButton.js 391 B
packages/orbit-components/lib/Pagination/components/CompactPages.js 522 B
packages/orbit-components/lib/Pagination/components/PageButtonLink.js 313 B
packages/orbit-components/lib/Pagination/components/Pages.js 416 B
packages/orbit-components/lib/Pagination/consts.js 196 B
packages/orbit-components/lib/Pagination/index.js 949 B
packages/orbit-components/lib/Popover/components/ContentWrapper.js 2.12 kB
packages/orbit-components/lib/Popover/consts.js 108 B
packages/orbit-components/lib/Popover/index.js 1.45 kB
packages/orbit-components/lib/Portal/index.js 472 B
packages/orbit-components/lib/primitives/BadgePrimitive/index.js 652 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/consts.js 408 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/createRel.js 266 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getCommonProps.js 503 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getIconContainer.js 509 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getPadding.js 464 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getSizeToken.js 363 B
packages/orbit-components/lib/primitives/ButtonPrimitive/components/ButtonPrimitiveContent.js 572 B
packages/orbit-components/lib/primitives/ButtonPrimitive/index.js 2.26 kB
packages/orbit-components/lib/primitives/ButtonPrimitive/sizes.js 337 B
packages/orbit-components/lib/primitives/IllustrationPrimitive/IllustrationPrimitiveList.js 493 B
packages/orbit-components/lib/primitives/IllustrationPrimitive/index.js 976 B
packages/orbit-components/lib/primitives/MobileDialogPrimitive/components/DialogContent.js 1.13 kB
packages/orbit-components/lib/primitives/MobileDialogPrimitive/index.js 853 B
packages/orbit-components/lib/primitives/TooltipPrimitive/components/TooltipContent.js 1.87 kB
packages/orbit-components/lib/primitives/TooltipPrimitive/index.js 1.25 kB
packages/orbit-components/lib/Radio/index.js 1.12 kB
packages/orbit-components/lib/Seat/components/primitives/Edge.js 379 B
packages/orbit-components/lib/Seat/components/primitives/SymbolUnavailable.js 273 B
packages/orbit-components/lib/Seat/components/primitives/Text.js 464 B
packages/orbit-components/lib/Seat/components/primitives/TransitionPathFill.js 543 B
packages/orbit-components/lib/Seat/components/primitives/TransitionPathStroke.js 522 B
packages/orbit-components/lib/Seat/components/SeatCircle.js 4.51 kB
packages/orbit-components/lib/Seat/components/SeatLegend/index.js 639 B
packages/orbit-components/lib/Seat/components/SeatNormal.js 938 B
packages/orbit-components/lib/Seat/components/SeatSmall.js 939 B
packages/orbit-components/lib/Seat/consts.js 263 B
packages/orbit-components/lib/Seat/index.js 987 B
packages/orbit-components/lib/SegmentedSwitch/index.js 956 B
packages/orbit-components/lib/SegmentedSwitch/SwitchSegment/index.js 893 B
packages/orbit-components/lib/Select/index.js 2.07 kB
packages/orbit-components/lib/Separator/index.js 756 B
packages/orbit-components/lib/ServiceLogo/consts.js 777 B
packages/orbit-components/lib/ServiceLogo/index.js 646 B
packages/orbit-components/lib/Skeleton/index.js 312 B
packages/orbit-components/lib/Skeleton/presets/Button.js 362 B
packages/orbit-components/lib/Skeleton/presets/Card.js 346 B
packages/orbit-components/lib/Skeleton/presets/Image.js 367 B
packages/orbit-components/lib/Skeleton/presets/index.js 210 B
packages/orbit-components/lib/Skeleton/presets/List.js 382 B
packages/orbit-components/lib/Skeleton/presets/Text.js 378 B
packages/orbit-components/lib/Skeleton/Svg.js 1.12 kB
packages/orbit-components/lib/SkipLink/index.js 611 B
packages/orbit-components/lib/SkipNavigation/index.js 1.14 kB
packages/orbit-components/lib/Slider/components/Bar/index.js 837 B
packages/orbit-components/lib/Slider/components/Handle/index.js 1.18 kB
packages/orbit-components/lib/Slider/components/Histogram/index.js 779 B
packages/orbit-components/lib/Slider/consts.js 211 B
packages/orbit-components/lib/Slider/index.js 2.68 kB
packages/orbit-components/lib/Slider/utils/calculateCountOf.js 296 B
packages/orbit-components/lib/Slider/utils/index.js 1.39 kB
packages/orbit-components/lib/SmartPassIllustrations/illustrations/IllustrationWrapper.js 595 B
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV1.js 4.69 kB
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV2.js 4.56 kB
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV3.js 3.44 kB
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV4.js 2.69 kB
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV5.js 3.01 kB
packages/orbit-components/lib/SmartPassIllustrations/index.js 239 B
packages/orbit-components/lib/SocialButton/consts.js 344 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonBoxShadow.js 563 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonIcon.js 409 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonIconForeground.js 267 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonStyles.js 503 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonTypeToken.js 592 B
packages/orbit-components/lib/SocialButton/index.js 718 B
packages/orbit-components/lib/Stack/index.js 1.53 kB
packages/orbit-components/lib/Stepper/index.js 717 B
packages/orbit-components/lib/Stepper/StepperStateless/index.js 1.29 kB
packages/orbit-components/lib/StopoverArrow/consts.js 189 B
packages/orbit-components/lib/StopoverArrow/index.js 1.22 kB
packages/orbit-components/lib/Switch/index.js 932 B
packages/orbit-components/lib/Table/consts.js 219 B
packages/orbit-components/lib/Table/index.js 1.24 kB
packages/orbit-components/lib/Table/TableBody/index.js 296 B
packages/orbit-components/lib/Table/TableCell/consts.js 405 B
packages/orbit-components/lib/Table/TableCell/index.js 630 B
packages/orbit-components/lib/Table/TableFooter/index.js 297 B
packages/orbit-components/lib/Table/TableHead/index.js 302 B
packages/orbit-components/lib/Table/TableRow/index.js 285 B
packages/orbit-components/lib/Tabs/components/Tab/consts.js 200 B
packages/orbit-components/lib/Tabs/components/Tab/index.js 1.1 kB
packages/orbit-components/lib/Tabs/components/TabList/index.js 835 B
packages/orbit-components/lib/Tabs/components/TabPanel/index.js 673 B
packages/orbit-components/lib/Tabs/components/TabPanels/index.js 413 B
packages/orbit-components/lib/Tabs/index.js 427 B
packages/orbit-components/lib/Tabs/TabContext.js 543 B
packages/orbit-components/lib/Tag/consts.js 222 B
packages/orbit-components/lib/Tag/index.js 1.24 kB
packages/orbit-components/lib/Text/consts.js 524 B
packages/orbit-components/lib/Text/deprecated/index.js 1.24 kB
packages/orbit-components/lib/Text/helpers/twClasses.js 689 B
packages/orbit-components/lib/Text/index.js 678 B
packages/orbit-components/lib/Textarea/consts.js 181 B
packages/orbit-components/lib/Textarea/index.js 1.43 kB
packages/orbit-components/lib/TextLink/consts.js 323 B
packages/orbit-components/lib/TextLink/deprecated/index.js 695 B
packages/orbit-components/lib/TextLink/helpers/twClasses.js 693 B
packages/orbit-components/lib/TextLink/index.js 1.09 kB
packages/orbit-components/lib/Tile/components/TileContent/index.js 431 B
packages/orbit-components/lib/Tile/components/TileExpandable/index.js 875 B
packages/orbit-components/lib/Tile/components/TileHeader/index.js 1.02 kB
packages/orbit-components/lib/Tile/components/TileWrapper/index.js 708 B
packages/orbit-components/lib/Tile/index.js 729 B
packages/orbit-components/lib/TileGroup/index.js 505 B
packages/orbit-components/lib/Timeline/index.js 769 B
packages/orbit-components/lib/Timeline/TimelineContext.js 530 B
packages/orbit-components/lib/Timeline/TimelineStep/components/ProgressLine.js 722 B
packages/orbit-components/lib/Timeline/TimelineStep/components/TextWrapper.js 333 B
packages/orbit-components/lib/Timeline/TimelineStep/components/TimelineStepDesktop.js 817 B
packages/orbit-components/lib/Timeline/TimelineStep/components/TimelineStepMobile.js 624 B
packages/orbit-components/lib/Timeline/TimelineStep/components/TypeIcon.js 873 B
packages/orbit-components/lib/Timeline/TimelineStep/consts.js 175 B
packages/orbit-components/lib/Timeline/TimelineStep/index.js 692 B
packages/orbit-components/lib/Toast/consts.js 249 B
packages/orbit-components/lib/Toast/hooks/useSwipe.js 790 B
packages/orbit-components/lib/Toast/index.js 269 B
packages/orbit-components/lib/Toast/ToastMessage.js 1.25 kB
packages/orbit-components/lib/Toast/ToastRoot.js 770 B
packages/orbit-components/lib/Tooltip/consts.js 178 B
packages/orbit-components/lib/Tooltip/index.js 620 B
packages/orbit-components/lib/Truncate/index.js 425 B
packages/orbit-components/lib/utils/boundingClientRect/index.js 369 B
packages/orbit-components/lib/utils/cloneWithTooltip/index.js 207 B
packages/orbit-components/lib/utils/common/index.js 485 B
packages/orbit-components/lib/utils/debounce/index.js 190 B
packages/orbit-components/lib/utils/Grid/index.js 1.52 kB
packages/orbit-components/lib/utils/handleKeyDown/index.js 293 B
packages/orbit-components/lib/utils/layout/consts.js 571 B
packages/orbit-components/lib/utils/layout/index.js 634 B
packages/orbit-components/lib/utils/mediaQuery/consts.js 284 B
packages/orbit-components/lib/utils/mediaQuery/index.js 453 B
packages/orbit-components/lib/utils/mergeRefs/index.js 259 B
packages/orbit-components/lib/utils/randomID/index.js 198 B
packages/orbit-components/lib/utils/rtl/index.js 568 B
packages/orbit-components/lib/utils/scroll/index.js 244 B
packages/orbit-components/lib/utils/Slide/index.js 1.24 kB
packages/orbit-components/lib/utils/transition/index.js 339 B
packages/orbit-components/lib/utils/validateDecrement/index.js 223 B
packages/orbit-components/lib/utils/validateIncrement/index.js 223 B
packages/orbit-components/lib/Wizard/WizardContext.js 455 B

compressed-size-action

Copy link

cloudflare-workers-and-pages bot commented Feb 26, 2024

Deploying orbit with  Cloudflare Pages  Cloudflare Pages

Latest commit: 107ba47
Status: ✅  Deploy successful!
Preview URL: https://ca2a536c.orbit.pages.dev
Branch Preview URL: https://tw-wizard.orbit.pages.dev

View logs

@mvidalgarcia
Copy link
Collaborator

Hi @vbulant, I see this PR is in draft, are you working on it? Do you need any help from our side?

Just let us know :)

@vbulant
Copy link
Contributor Author

vbulant commented Mar 18, 2024

Hi @vbulant, I see this PR is in draft, are you working on it? Do you need any help from our side?

Just let us know :)

Hello @mvidalgarcia, it’s mostly done. There’s just a weird discrepancy in visual tests in the pipeline. I’m now working on something else but gonna get back to it tomorrow the latest. Gonna let you know in case I need help 🙂

@vbulant
Copy link
Contributor Author

vbulant commented Mar 19, 2024

Hi @vbulant, I see this PR is in draft, are you working on it? Do you need any help from our side?
Just let us know :)

Hello @mvidalgarcia, it’s mostly done. There’s just a weird discrepancy in visual tests in the pipeline. I’m now working on something else but gonna get back to it tomorrow the latest. Gonna let you know in case I need help 🙂

There are regressions in visual Layout › wizard: https://kiwicom-orbit-test-report-tw-wizard.surge.sh/

I’ve compared the rendered markup with prod and can’t see any difference though. Not sure if it’s just some text rendering glitch or if I’m missing something. Could you check as well? 🙏

@DSil
Copy link
Collaborator

DSil commented Mar 19, 2024

@vbulant you can see the diff here https://kiwicom-orbit-test-report-tw-wizard.surge.sh/#?q=s:failed it seems to be something with sizing or spacing or something (I didn't check the code, just the snapshots)

Ah and you can ignore the Docs job failing, that is on us

@vbulant
Copy link
Contributor Author

vbulant commented Mar 19, 2024

@vbulant you can see the diff here https://kiwicom-orbit-test-report-tw-wizard.surge.sh/#?q=s:failed it seems to be something with sizing or spacing or something (I didn't check the code, just the snapshots)

Yeah I know. I already checked the diffs and couldn’t find any difference in spacings or anything else. Gonna try again tomorrow.

@DSil
Copy link
Collaborator

DSil commented Mar 19, 2024

Ok, I will also take a look and try to spot the cause for the difference

Copy link
Collaborator

@DSil DSil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have left some comments of small improvements but overall great work.

In the meantime, after a lot of investigation, I have found the problem with the tests. It seems to be a problem with Playwright itself 🤯
This line was not being evaluated correctly on the browser Playwright uses for testing:

image

So the padding was missing!
image

When using tailwind, the padding is introduced, causing the text to wrap because it does not fit in one line anymore.

I have verified and in Storybook the padding is being applied correctly with styled components, so it is something we want to keep indeed.
image

Therefore, you can trust the changed snapshots and update them (both darwin and linux) 👍 🙏

packages/orbit-components/src/Wizard/WizardStepIcon.tsx Outdated Show resolved Hide resolved
packages/orbit-components/src/Wizard/WizardStepIcon.tsx Outdated Show resolved Hide resolved
packages/orbit-components/src/Wizard/WizardStep.tsx Outdated Show resolved Hide resolved
className={cx(
"block [&_span]:block",
!isActive &&
"group-hover/button:[&_span]:text-primary-foreground group-focus/button:[&_span]:text-primary-foreground group-hover/button:[&_span]:underline group-focus/button:[&_span]:underline",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a bit nitpick, but these hover and focus styles only applied on desktop and above. With this, this is being applied in tablet as well. I don't think there is a major problem, but I don't know how weird that effect might be on a touch device like a tablet.
To avoid any complications, and to keep 100% match, do you think you can add a desktop selector to these classes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think breakpoints smaller than desktop imply touch device. You can still have a small window even on a computer with pointer device. Thus I prefer not restricting hover/focus on specific media queries. But if you prefer 100% match I’ll tweak it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My point was more the opposite: if we only have it for desktop and above, it is very unlikely to have hover effects on a touch device. But for the sake of simplification I don't mind keeping your approach as is 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I follow but afaik the row timeline with hovers is visible from lm: and above. But anyway let’s keep it simple then 👍

@vbulant vbulant force-pushed the tw/wizard branch 3 times, most recently from 697810e to 90fd41a Compare March 20, 2024 18:17
@vbulant vbulant marked this pull request as ready for review March 20, 2024 18:37
@vbulant
Copy link
Contributor Author

vbulant commented Mar 20, 2024

@DSil and thank you for the insightful investigation!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I failed to review this on another components, but this needs to be on a different commit.
We have one commit per package (except for docs, that one does not matter), so that the changelog produces only messages based on the commits from those packages. Therefore, please move this (and the other) file to a separate commit, as a chore commit, stating the addition of two new classes.
It is a chore commit instead of a feat because we don't want component-specific classes to be tracked, as we are free to change them without implying breaking changes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, I’ve moved these changes to a chore commit.

className={cx(
"block [&_span]:block",
!isActive &&
"group-hover/button:[&_span]:text-primary-foreground group-focus/button:[&_span]:text-primary-foreground group-hover/button:[&_span]:underline group-focus/button:[&_span]:underline",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My point was more the opposite: if we only have it for desktop and above, it is very unlikely to have hover effects on a touch device. But for the sake of simplification I don't mind keeping your approach as is 👍

@DSil DSil mentioned this pull request Mar 21, 2024
@DSil DSil force-pushed the tw/wizard branch 2 times, most recently from 31d97be to 107ba47 Compare March 25, 2024 10:45
@DSil DSil merged commit 0c66871 into master Mar 25, 2024
14 checks passed
@DSil DSil deleted the tw/wizard branch March 25, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants