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(docs): add linting #2716

Merged
merged 6 commits into from
Feb 16, 2021
Merged

feat(docs): add linting #2716

merged 6 commits into from
Feb 16, 2021

Conversation

CollierCZ
Copy link
Contributor

@CollierCZ CollierCZ commented Feb 4, 2021

Added linting of markdown code, prose, and links.

Some notes:

  • Because ESLint doesn't support async rules, the check for validating links is separate from the other remark rules.
  • That check still runs on staged files because it can detect missing assets and so on quickly before committing.
  • Because @silvenon's method for link checking seems to be quick enough, I've used that instead of a GitHub action or other docker image. If it starts to seem slow (maybe with more content), we can switch or run it only on changed files (with a list from conditional page builds).
  • I tried using rehype-parse and the rest of the unified system for link checking (since we're already using it a bunch), but it didn't parse the HTML accurately (got empty results). Didn't think it was worth time trying to figure out if I could fix that.
  • Going with Vale for prose because using remark linters would force errors when prose linting isn't 100% accurate.
    Orbit.kiwi: https://orbit-docs-docs-linting.surge.sh
    Storybook: https://orbit-docs-linting.surge.sh

@CollierCZ CollierCZ added the WIP Pull Requests that are not complete yet label Feb 4, 2021
@silvenon silvenon marked this pull request as draft February 4, 2021 11:35
@CollierCZ CollierCZ removed the WIP Pull Requests that are not complete yet label Feb 4, 2021
.eslintrc.js Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Copy link
Contributor

@silvenon silvenon left a comment

Choose a reason for hiding this comment

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

I just remembered one more thing.

lint-staged.config.js Outdated Show resolved Hide resolved
lint-staged.config.js Outdated Show resolved Hide resolved
@CollierCZ CollierCZ force-pushed the docs/linting branch 4 times, most recently from 924fdf4 to fed8689 Compare February 10, 2021 08:52
@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2021

Size Change: 0 B

Total Size: 476 kB

ℹ️ View Unchanged
Filename Size Change
packages/orbit-components/lib/Accordion/AccordionContext.js 377 B 0 B
packages/orbit-components/lib/Accordion/AccordionSection/components/SectionContent.js 519 B 0 B
packages/orbit-components/lib/Accordion/AccordionSection/components/SectionFooter.js 609 B 0 B
packages/orbit-components/lib/Accordion/AccordionSection/components/SectionHeader.js 874 B 0 B
packages/orbit-components/lib/Accordion/AccordionSection/index.js 865 B 0 B
packages/orbit-components/lib/Accordion/components/AccordionWrapper/index.js 690 B 0 B
packages/orbit-components/lib/Accordion/index.js 898 B 0 B
packages/orbit-components/lib/AirportIllustration/consts.js 178 B 0 B
packages/orbit-components/lib/AirportIllustration/index.js 444 B 0 B
packages/orbit-components/lib/Alert/AlertButton/consts.js 329 B 0 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonBoxShadow.js 646 B 0 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonIconForeground.js 321 B 0 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonStyles.js 864 B 0 B
packages/orbit-components/lib/Alert/AlertButton/helpers/getAlertButtonTypeToken.js 913 B 0 B
packages/orbit-components/lib/Alert/AlertButton/index.js 1.05 kB 0 B
packages/orbit-components/lib/Alert/consts.js 332 B 0 B
packages/orbit-components/lib/Alert/index.js 3.06 kB 0 B
packages/orbit-components/lib/Badge/consts.js 320 B 0 B
packages/orbit-components/lib/Badge/index.js 977 B 0 B
packages/orbit-components/lib/Box/consts.js 298 B 0 B
packages/orbit-components/lib/Box/index.js 988 B 0 B
packages/orbit-components/lib/Box/normalize.js 1.19 kB 0 B
packages/orbit-components/lib/Breadcrumbs/BreadcrumbsItem/index.js 1.41 kB 0 B
packages/orbit-components/lib/Breadcrumbs/index.js 1.34 kB 0 B
packages/orbit-components/lib/Button/consts.js 474 B 0 B
packages/orbit-components/lib/Button/helpers/getButtonBoxShadow.js 632 B 0 B
packages/orbit-components/lib/Button/helpers/getButtonIconForeground.js 376 B 0 B
packages/orbit-components/lib/Button/helpers/getButtonStyles.js 876 B 0 B
packages/orbit-components/lib/Button/helpers/getButtonTypeToken.js 936 B 0 B
packages/orbit-components/lib/Button/index.js 1.02 kB 0 B
packages/orbit-components/lib/ButtonGroup/index.js 714 B 0 B
packages/orbit-components/lib/ButtonLink/consts.js 270 B 0 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkCommonProps.js 617 B 0 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkIconForeground.js 443 B 0 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkStyles.js 859 B 0 B
packages/orbit-components/lib/ButtonLink/helpers/getButtonLinkTypeToken.js 618 B 0 B
packages/orbit-components/lib/ButtonLink/index.js 1.01 kB 0 B
packages/orbit-components/lib/ButtonMobileStore/consts.js 247 B 0 B
packages/orbit-components/lib/ButtonMobileStore/index.js 995 B 0 B
packages/orbit-components/lib/CallOutBanner/index.js 1.12 kB 0 B
packages/orbit-components/lib/Card/CardContext.js 430 B 0 B
packages/orbit-components/lib/Card/CardSection/components/SectionContent.js 1.07 kB 0 B
packages/orbit-components/lib/Card/CardSection/components/SectionHeader.js 1.21 kB 0 B
packages/orbit-components/lib/Card/CardSection/index.js 1.29 kB 0 B
packages/orbit-components/lib/Card/components/CardWrapper/index.js 1.33 kB 0 B
packages/orbit-components/lib/Card/components/Header/index.js 1.17 kB 0 B
packages/orbit-components/lib/Card/helpers/borders.js 285 B 0 B
packages/orbit-components/lib/Card/helpers/mixins.js 511 B 0 B
packages/orbit-components/lib/Card/index.js 1.73 kB 0 B
packages/orbit-components/lib/CarrierLogo/consts.js 308 B 0 B
packages/orbit-components/lib/CarrierLogo/index.js 1.43 kB 0 B
packages/orbit-components/lib/Checkbox/consts.js 179 B 0 B
packages/orbit-components/lib/Checkbox/index.js 2.57 kB 0 B
packages/orbit-components/lib/ChoiceGroup/components/FilterWrapper.js 891 B 0 B
packages/orbit-components/lib/ChoiceGroup/consts.js 219 B 0 B
packages/orbit-components/lib/ChoiceGroup/index.js 1.18 kB 0 B
packages/orbit-components/lib/ClickOutside/index.js 1.17 kB 0 B
packages/orbit-components/lib/Collapse/index.js 1.56 kB 0 B
packages/orbit-components/lib/common/getFieldDataState.js 182 B 0 B
packages/orbit-components/lib/common/getSpacingToken/consts.js 222 B 0 B
packages/orbit-components/lib/common/getSpacingToken/index.js 403 B 0 B
packages/orbit-components/lib/common/keyMaps.js 216 B 0 B
packages/orbit-components/lib/CountryFlag/consts.js 1.48 kB 0 B
packages/orbit-components/lib/CountryFlag/index.js 1.53 kB 0 B
packages/orbit-components/lib/Coupon/index.js 671 B 0 B
packages/orbit-components/lib/data/dictionary/index.js 625 B 0 B
packages/orbit-components/lib/defaultTheme.js 203 B 0 B
packages/orbit-components/lib/deprecated/Card/CardHeader/index.js 958 B 0 B
packages/orbit-components/lib/deprecated/Card/CardSection/CardSectionContent/index.js 2.08 kB 0 B
packages/orbit-components/lib/deprecated/Card/CardSection/CardSectionContext.js 321 B 0 B
packages/orbit-components/lib/deprecated/Card/CardSection/CardSectionHeader/index.js 1.32 kB 0 B
packages/orbit-components/lib/deprecated/Card/CardSection/index.js 2.14 kB 0 B
packages/orbit-components/lib/deprecated/Card/consts.js 165 B 0 B
packages/orbit-components/lib/deprecated/Card/index.js 3.22 kB 0 B
packages/orbit-components/lib/deprecated/DestinationCard/consts.js 182 B 0 B
packages/orbit-components/lib/deprecated/DestinationCard/index.js 3.26 kB 0 B
packages/orbit-components/lib/deprecated/DestinationHeader/consts.js 164 B 0 B
packages/orbit-components/lib/deprecated/DestinationHeader/index.js 1.5 kB 0 B
packages/orbit-components/lib/deprecated/Seat/consts.js 254 B 0 B
packages/orbit-components/lib/deprecated/Seat/index.js 1.79 kB 0 B
packages/orbit-components/lib/deprecated/Tile/index.js 2.11 kB 0 B
packages/orbit-components/lib/deprecated/Tile/TileExpandable/index.js 1.67 kB 0 B
packages/orbit-components/lib/deprecated/Tile/TileHeader/index.js 1.43 kB 0 B
packages/orbit-components/lib/deprecated/TripSector/index.js 837 B 0 B
packages/orbit-components/lib/deprecated/TripSector/TripDate/index.js 780 B 0 B
packages/orbit-components/lib/deprecated/TripSector/TripLayover/index.js 536 B 0 B
packages/orbit-components/lib/deprecated/TripSegment/index.js 3.49 kB 0 B
packages/orbit-components/lib/Desktop/index.js 331 B 0 B
packages/orbit-components/lib/Dialog/index.js 2.08 kB 0 B
packages/orbit-components/lib/Dictionary/DictionaryContext.js 255 B 0 B
packages/orbit-components/lib/Dictionary/index.js 483 B 0 B
packages/orbit-components/lib/Drawer/components/DrawerClose.js 605 B 0 B
packages/orbit-components/lib/Drawer/consts.js 170 B 0 B
packages/orbit-components/lib/Drawer/helpers/getPosition.js 349 B 0 B
packages/orbit-components/lib/Drawer/helpers/getTransitionAnimation.js 575 B 0 B
packages/orbit-components/lib/Drawer/index.js 2.38 kB 0 B
packages/orbit-components/lib/FeatureIcon/consts.js 230 B 0 B
packages/orbit-components/lib/FeatureIcon/index.js 833 B 0 B
packages/orbit-components/lib/FormFeedback/consts.js 173 B 0 B
packages/orbit-components/lib/FormFeedback/index.js 985 B 0 B
packages/orbit-components/lib/FormLabel/index.js 817 B 0 B
packages/orbit-components/lib/fromPlainObject.js 203 B 0 B
packages/orbit-components/lib/getTokens.js 197 B 0 B
packages/orbit-components/lib/Heading/consts.js 316 B 0 B
packages/orbit-components/lib/Heading/index.js 1.3 kB 0 B
packages/orbit-components/lib/Hide/helpers/getDisplay.js 203 B 0 B
packages/orbit-components/lib/Hide/helpers/getViewportHideStyles.js 507 B 0 B
packages/orbit-components/lib/Hide/index.js 600 B 0 B
packages/orbit-components/lib/hooks/useBoundingRect/index.js 931 B 0 B
packages/orbit-components/lib/hooks/useClickOutside/index.js 337 B 0 B
packages/orbit-components/lib/hooks/useDictionary/index.js 253 B 0 B
packages/orbit-components/lib/hooks/useFocusTrap/consts.js 245 B 0 B
packages/orbit-components/lib/hooks/useFocusTrap/index.js 755 B 0 B
packages/orbit-components/lib/hooks/useIntersect/index.js 657 B 0 B
packages/orbit-components/lib/hooks/useMediaQuery/index.js 358 B 0 B
packages/orbit-components/lib/hooks/usePrevious/index.js 289 B 0 B
packages/orbit-components/lib/hooks/useStateWithCallback/index.js 368 B 0 B
packages/orbit-components/lib/hooks/useStateWithTimeout/index.js 461 B 0 B
packages/orbit-components/lib/hooks/useTheme/index.js 277 B 0 B
packages/orbit-components/lib/hooks/useToggle/index.js 415 B 0 B
packages/orbit-components/lib/hooks/useTranslate/index.js 304 B 0 B
packages/orbit-components/lib/Icon/consts.js 289 B 0 B
packages/orbit-components/lib/Icon/createIcon.js 389 B 0 B
packages/orbit-components/lib/Icon/helpers/whiteListProps.js 431 B 0 B
packages/orbit-components/lib/Icon/IconList.js 955 B 0 B
packages/orbit-components/lib/Icon/index.js 1.24 kB 0 B
packages/orbit-components/lib/icons/Accommodation.js 528 B 0 B
packages/orbit-components/lib/icons/AccountCircle.js 602 B 0 B
packages/orbit-components/lib/icons/AirConditioning.js 984 B 0 B
packages/orbit-components/lib/icons/Airplane.js 760 B 0 B
packages/orbit-components/lib/icons/AirplaneDown.js 694 B 0 B
packages/orbit-components/lib/icons/AirplaneLanding.js 811 B 0 B
packages/orbit-components/lib/icons/AirplaneReturn.js 751 B 0 B
packages/orbit-components/lib/icons/AirplaneTakeoff.js 828 B 0 B
packages/orbit-components/lib/icons/AirplaneUp.js 688 B 0 B
packages/orbit-components/lib/icons/AirplaneUpOff.js 743 B 0 B
packages/orbit-components/lib/icons/AirportSecurity.js 622 B 0 B
packages/orbit-components/lib/icons/Alert.js 510 B 0 B
packages/orbit-components/lib/icons/AlertCircle.js 462 B 0 B
packages/orbit-components/lib/icons/All.js 680 B 0 B
packages/orbit-components/lib/icons/Anywhere.js 945 B 0 B
packages/orbit-components/lib/icons/Apple.js 623 B 0 B
packages/orbit-components/lib/icons/ArrowDown.js 485 B 0 B
packages/orbit-components/lib/icons/ArrowUp.js 471 B 0 B
packages/orbit-components/lib/icons/Atm.js 773 B 0 B
packages/orbit-components/lib/icons/Attachment.js 560 B 0 B
packages/orbit-components/lib/icons/BaggageCabin.js 688 B 0 B
packages/orbit-components/lib/icons/BaggageCabinNone.js 758 B 0 B
packages/orbit-components/lib/icons/BaggageChecked.js 601 B 0 B
packages/orbit-components/lib/icons/BaggageCheckedNone.js 665 B 0 B
packages/orbit-components/lib/icons/BaggagePersonalItem.js 643 B 0 B
packages/orbit-components/lib/icons/BaggagePersonalItemNone.js 723 B 0 B
packages/orbit-components/lib/icons/BaggageRecheck.js 615 B 0 B
packages/orbit-components/lib/icons/BaggageSet.js 804 B 0 B
packages/orbit-components/lib/icons/BaggageStorage.js 760 B 0 B
packages/orbit-components/lib/icons/BillingDetails.js 652 B 0 B
packages/orbit-components/lib/icons/BoardingGate.js 794 B 0 B
packages/orbit-components/lib/icons/Boat.js 955 B 0 B
packages/orbit-components/lib/icons/Bug.js 942 B 0 B
packages/orbit-components/lib/icons/Bus.js 742 B 0 B
packages/orbit-components/lib/icons/Cake.js 777 B 0 B
packages/orbit-components/lib/icons/Calendar.js 581 B 0 B
packages/orbit-components/lib/icons/CalendarAnytime.js 647 B 0 B
packages/orbit-components/lib/icons/CalendarRange.js 623 B 0 B
packages/orbit-components/lib/icons/CalendarTripLength.js 686 B 0 B
packages/orbit-components/lib/icons/Camera.js 620 B 0 B
packages/orbit-components/lib/icons/Car.js 801 B 0 B
packages/orbit-components/lib/icons/CarDoor.js 496 B 0 B
packages/orbit-components/lib/icons/CarRental.js 970 B 0 B
packages/orbit-components/lib/icons/Chart.js 545 B 0 B
packages/orbit-components/lib/icons/Chat.js 483 B 0 B
packages/orbit-components/lib/icons/Check.js 416 B 0 B
packages/orbit-components/lib/icons/CheckCircle.js 455 B 0 B
packages/orbit-components/lib/icons/ChevronDoubleLeft.js 452 B 0 B
packages/orbit-components/lib/icons/ChevronDoubleRight.js 481 B 0 B
packages/orbit-components/lib/icons/ChevronDown.js 428 B 0 B
packages/orbit-components/lib/icons/ChevronLeft.js 447 B 0 B
packages/orbit-components/lib/icons/ChevronRight.js 446 B 0 B
packages/orbit-components/lib/icons/ChevronUp.js 428 B 0 B
packages/orbit-components/lib/icons/Child.js 850 B 0 B
packages/orbit-components/lib/icons/ChildFriendly.js 683 B 0 B
packages/orbit-components/lib/icons/Circle.js 355 B 0 B
packages/orbit-components/lib/icons/CircleEmpty.js 415 B 0 B
packages/orbit-components/lib/icons/CircleFilled.js 445 B 0 B
packages/orbit-components/lib/icons/CircleSmall.js 357 B 0 B
packages/orbit-components/lib/icons/City.js 574 B 0 B
packages/orbit-components/lib/icons/Clock.js 478 B 0 B
packages/orbit-components/lib/icons/Close.js 458 B 0 B
packages/orbit-components/lib/icons/CloseCircle.js 512 B 0 B
packages/orbit-components/lib/icons/Cocktail.js 692 B 0 B
packages/orbit-components/lib/icons/Code.js 533 B 0 B
packages/orbit-components/lib/icons/Coffee.js 534 B 0 B
packages/orbit-components/lib/icons/ColorPicker.js 609 B 0 B
packages/orbit-components/lib/icons/Compare.js 686 B 0 B
packages/orbit-components/lib/icons/Compass.js 495 B 0 B
packages/orbit-components/lib/icons/ContactEmail.js 749 B 0 B
packages/orbit-components/lib/icons/CreditCard.js 534 B 0 B
packages/orbit-components/lib/icons/CustomerSupport.js 641 B 0 B
packages/orbit-components/lib/icons/Deals.js 487 B 0 B
packages/orbit-components/lib/icons/DeviceDesktop.js 515 B 0 B
packages/orbit-components/lib/icons/DeviceMobile.js 423 B 0 B
packages/orbit-components/lib/icons/Diamond.js 659 B 0 B
packages/orbit-components/lib/icons/Document.js 570 B 0 B
packages/orbit-components/lib/icons/Download.js 541 B 0 B
packages/orbit-components/lib/icons/Duplicate.js 665 B 0 B
packages/orbit-components/lib/icons/Edit.js 522 B 0 B
packages/orbit-components/lib/icons/EditOff.js 599 B 0 B
packages/orbit-components/lib/icons/Email.js 648 B 0 B
packages/orbit-components/lib/icons/Entertainment.js 499 B 0 B
packages/orbit-components/lib/icons/Exchange.js 997 B 0 B
packages/orbit-components/lib/icons/Facebook.js 401 B 0 B
packages/orbit-components/lib/icons/Feedback.js 498 B 0 B
packages/orbit-components/lib/icons/Filters.js 589 B 0 B
packages/orbit-components/lib/icons/FlightDirect.js 468 B 0 B
packages/orbit-components/lib/icons/FlightMulticity.js 526 B 0 B
packages/orbit-components/lib/icons/FlightNomad.js 702 B 0 B
packages/orbit-components/lib/icons/FlightReturn.js 621 B 0 B
packages/orbit-components/lib/icons/FlightServices.js 677 B 0 B
packages/orbit-components/lib/icons/Fuel.js 646 B 0 B
packages/orbit-components/lib/icons/FullScreen.js 666 B 0 B
packages/orbit-components/lib/icons/FullScreenOff.js 725 B 0 B
packages/orbit-components/lib/icons/Gallery.js 671 B 0 B
packages/orbit-components/lib/icons/GenderMan.js 1.11 kB 0 B
packages/orbit-components/lib/icons/GenderWoman.js 1.14 kB 0 B
packages/orbit-components/lib/icons/Google.js 699 B 0 B
packages/orbit-components/lib/icons/GpsFixed.js 499 B 0 B
packages/orbit-components/lib/icons/GpsIos.js 436 B 0 B
packages/orbit-components/lib/icons/GpsNotFixed.js 474 B 0 B
packages/orbit-components/lib/icons/GpsOff.js 888 B 0 B
packages/orbit-components/lib/icons/Grid.js 518 B 0 B
packages/orbit-components/lib/icons/Gym.js 531 B 0 B
packages/orbit-components/lib/icons/History.js 528 B 0 B
packages/orbit-components/lib/icons/index.js 4.34 kB 0 B
packages/orbit-components/lib/icons/Infant.js 1.2 kB 0 B
packages/orbit-components/lib/icons/InformationCircle.js 542 B 0 B
packages/orbit-components/lib/icons/Instagram.js 493 B 0 B
packages/orbit-components/lib/icons/Insurance.js 474 B 0 B
packages/orbit-components/lib/icons/InsuranceConfirmed.js 561 B 0 B
packages/orbit-components/lib/icons/InsuranceOff.js 539 B 0 B
packages/orbit-components/lib/icons/Invoice.js 691 B 0 B
packages/orbit-components/lib/icons/ItemCompleted.js 583 B 0 B
packages/orbit-components/lib/icons/Kiwicom.js 940 B 0 B
packages/orbit-components/lib/icons/KiwicomCare.js 572 B 0 B
packages/orbit-components/lib/icons/KiwicomGuarantee.js 714 B 0 B
packages/orbit-components/lib/icons/Leisure.js 1.1 kB 0 B
packages/orbit-components/lib/icons/Link.js 670 B 0 B
packages/orbit-components/lib/icons/Linkedin.js 543 B 0 B
packages/orbit-components/lib/icons/List.js 385 B 0 B
packages/orbit-components/lib/icons/Location.js 435 B 0 B
packages/orbit-components/lib/icons/LocationA.js 610 B 0 B
packages/orbit-components/lib/icons/LocationAdd.js 503 B 0 B
packages/orbit-components/lib/icons/LocationB.js 632 B 0 B
packages/orbit-components/lib/icons/LocationC.js 593 B 0 B
packages/orbit-components/lib/icons/LocationD.js 557 B 0 B
packages/orbit-components/lib/icons/LocationE.js 549 B 0 B
packages/orbit-components/lib/icons/LocationF.js 553 B 0 B
packages/orbit-components/lib/icons/LocationG.js 642 B 0 B
packages/orbit-components/lib/icons/LocationH.js 516 B 0 B
packages/orbit-components/lib/icons/LocationI.js 462 B 0 B
packages/orbit-components/lib/icons/LocationJ.js 535 B 0 B
packages/orbit-components/lib/icons/Lock.js 480 B 0 B
packages/orbit-components/lib/icons/LockOpen.js 588 B 0 B
packages/orbit-components/lib/icons/Logout.js 613 B 0 B
packages/orbit-components/lib/icons/Lounge.js 616 B 0 B
packages/orbit-components/lib/icons/Map.js 645 B 0 B
packages/orbit-components/lib/icons/Markdown.js 575 B 0 B
packages/orbit-components/lib/icons/Meal.js 796 B 0 B
packages/orbit-components/lib/icons/MenuHamburger.js 453 B 0 B
packages/orbit-components/lib/icons/MenuKebab.js 354 B 0 B
packages/orbit-components/lib/icons/MenuMeatballs.js 359 B 0 B
packages/orbit-components/lib/icons/Messages.js 538 B 0 B
packages/orbit-components/lib/icons/MessagesOutline.js 612 B 0 B
packages/orbit-components/lib/icons/Minus.js 353 B 0 B
packages/orbit-components/lib/icons/MinusCircle.js 391 B 0 B
packages/orbit-components/lib/icons/Money.js 613 B 0 B
packages/orbit-components/lib/icons/MoneyTransferIn.js 631 B 0 B
packages/orbit-components/lib/icons/MoneyTransferOut.js 619 B 0 B
packages/orbit-components/lib/icons/Moon.js 475 B 0 B
packages/orbit-components/lib/icons/MusicalInstruments.js 864 B 0 B
packages/orbit-components/lib/icons/NewWindow.js 570 B 0 B
packages/orbit-components/lib/icons/Nonstop.js 745 B 0 B
packages/orbit-components/lib/icons/Notification.js 493 B 0 B
packages/orbit-components/lib/icons/NotificationAdd.js 690 B 0 B
packages/orbit-components/lib/icons/NotificationOff.js 582 B 0 B
packages/orbit-components/lib/icons/NotificationOn.js 728 B 0 B
packages/orbit-components/lib/icons/OnlineCheckin.js 527 B 0 B
packages/orbit-components/lib/icons/OnlineCheckinOff.js 579 B 0 B
packages/orbit-components/lib/icons/Outlook.js 741 B 0 B
packages/orbit-components/lib/icons/Paid.js 635 B 0 B
packages/orbit-components/lib/icons/Parking.js 458 B 0 B
packages/orbit-components/lib/icons/Partners.js 1.73 kB 0 B
packages/orbit-components/lib/icons/Passenger.js 524 B 0 B
packages/orbit-components/lib/icons/PassengerAdd.js 662 B 0 B
packages/orbit-components/lib/icons/PassengerOutline.js 747 B 0 B
packages/orbit-components/lib/icons/PassengerRemove.js 623 B 0 B
packages/orbit-components/lib/icons/Passengers.js 715 B 0 B
packages/orbit-components/lib/icons/Passport.js 868 B 0 B
packages/orbit-components/lib/icons/Pet.js 495 B 0 B
packages/orbit-components/lib/icons/Pharmacy.js 543 B 0 B
packages/orbit-components/lib/icons/Phone.js 458 B 0 B
packages/orbit-components/lib/icons/Playground.js 667 B 0 B
packages/orbit-components/lib/icons/Plus.js 441 B 0 B
packages/orbit-components/lib/icons/PlusCircle.js 475 B 0 B
packages/orbit-components/lib/icons/Pool.js 749 B 0 B
packages/orbit-components/lib/icons/PowerPlug.js 711 B 0 B
packages/orbit-components/lib/icons/PowerPlugOff.js 795 B 0 B
packages/orbit-components/lib/icons/PriorityBoarding.js 579 B 0 B
packages/orbit-components/lib/icons/Profit.js 671 B 0 B
packages/orbit-components/lib/icons/PromoCode.js 545 B 0 B
packages/orbit-components/lib/icons/QrCode.js 832 B 0 B
packages/orbit-components/lib/icons/QuestionCircle.js 527 B 0 B
packages/orbit-components/lib/icons/Radar.js 574 B 0 B
packages/orbit-components/lib/icons/RadiusSearch.js 699 B 0 B
packages/orbit-components/lib/icons/Refund.js 676 B 0 B
packages/orbit-components/lib/icons/Relax.js 677 B 0 B
packages/orbit-components/lib/icons/Reload.js 617 B 0 B
packages/orbit-components/lib/icons/Remove.js 601 B 0 B
packages/orbit-components/lib/icons/Replace.js 612 B 0 B
packages/orbit-components/lib/icons/Restaurant.js 540 B 0 B
packages/orbit-components/lib/icons/RouteNoStops.js 449 B 0 B
packages/orbit-components/lib/icons/RouteOneStop.js 479 B 0 B
packages/orbit-components/lib/icons/RouteTwoStops.js 499 B 0 B
packages/orbit-components/lib/icons/Search.js 411 B 0 B
packages/orbit-components/lib/icons/Seat.js 619 B 0 B
packages/orbit-components/lib/icons/SeatAisle.js 692 B 0 B
packages/orbit-components/lib/icons/SeatExtraLegroom.js 672 B 0 B
packages/orbit-components/lib/icons/SeatWindow.js 714 B 0 B
packages/orbit-components/lib/icons/Security.js 558 B 0 B
packages/orbit-components/lib/icons/SelfTransfer.js 893 B 0 B
packages/orbit-components/lib/icons/Send.js 472 B 0 B
packages/orbit-components/lib/icons/Settings.js 658 B 0 B
packages/orbit-components/lib/icons/Share.js 538 B 0 B
packages/orbit-components/lib/icons/ShareAndroid.js 500 B 0 B
packages/orbit-components/lib/icons/ShareIos.js 564 B 0 B
packages/orbit-components/lib/icons/Shopping.js 658 B 0 B
packages/orbit-components/lib/icons/ShowLess.js 498 B 0 B
packages/orbit-components/lib/icons/ShowMore.js 495 B 0 B
packages/orbit-components/lib/icons/Sightseeing.js 581 B 0 B
packages/orbit-components/lib/icons/Smoking.js 583 B 0 B
packages/orbit-components/lib/icons/SmokingOff.js 678 B 0 B
packages/orbit-components/lib/icons/Sort.js 531 B 0 B
packages/orbit-components/lib/icons/Spa.js 964 B 0 B
packages/orbit-components/lib/icons/SportEquipment.js 836 B 0 B
packages/orbit-components/lib/icons/Sports.js 634 B 0 B
packages/orbit-components/lib/icons/StarEmpty.js 606 B 0 B
packages/orbit-components/lib/icons/StarFull.js 505 B 0 B
packages/orbit-components/lib/icons/Subway.js 829 B 0 B
packages/orbit-components/lib/icons/Suitcase.js 552 B 0 B
packages/orbit-components/lib/icons/Sun.js 593 B 0 B
packages/orbit-components/lib/icons/Sunrise.js 558 B 0 B
packages/orbit-components/lib/icons/Taxi.js 879 B 0 B
packages/orbit-components/lib/icons/Terminal.js 882 B 0 B
packages/orbit-components/lib/icons/TermsAndConditions.js 875 B 0 B
packages/orbit-components/lib/icons/ThumbDown.js 612 B 0 B
packages/orbit-components/lib/icons/ThumbUp.js 626 B 0 B
packages/orbit-components/lib/icons/Ticket.js 517 B 0 B
packages/orbit-components/lib/icons/TicketOutline.js 705 B 0 B
packages/orbit-components/lib/icons/Timelapse.js 455 B 0 B
packages/orbit-components/lib/icons/Timer.js 666 B 0 B
packages/orbit-components/lib/icons/Tips.js 712 B 0 B
packages/orbit-components/lib/icons/Toilets.js 745 B 0 B
packages/orbit-components/lib/icons/Train.js 757 B 0 B
packages/orbit-components/lib/icons/Transmission.js 510 B 0 B
packages/orbit-components/lib/icons/Trip.js 712 B 0 B
packages/orbit-components/lib/icons/Twitter.js 857 B 0 B
packages/orbit-components/lib/icons/Uber.js 512 B 0 B
packages/orbit-components/lib/icons/Upload.js 538 B 0 B
packages/orbit-components/lib/icons/UserGroup.js 874 B 0 B
packages/orbit-components/lib/icons/Visa.js 576 B 0 B
packages/orbit-components/lib/icons/Visibility.js 694 B 0 B
packages/orbit-components/lib/icons/VisibilityOff.js 855 B 0 B
packages/orbit-components/lib/icons/Walk.js 646 B 0 B
packages/orbit-components/lib/icons/Wallet.js 569 B 0 B
packages/orbit-components/lib/icons/Wheelchair.js 644 B 0 B
packages/orbit-components/lib/icons/Wifi.js 595 B 0 B
packages/orbit-components/lib/icons/WifiOff.js 757 B 0 B
packages/orbit-components/lib/Illustration/consts.js 664 B 0 B
packages/orbit-components/lib/Illustration/index.js 439 B 0 B
packages/orbit-components/lib/index.js 2.37 kB 0 B
packages/orbit-components/lib/Inline/consts.js 277 B 0 B
packages/orbit-components/lib/Inline/helpers.js 860 B 0 B
packages/orbit-components/lib/Inline/index.js 928 B 0 B
packages/orbit-components/lib/InputField/consts.js 384 B 0 B
packages/orbit-components/lib/InputField/helpers/formElementFocus.js 483 B 0 B
packages/orbit-components/lib/InputField/index.js 3.62 kB 0 B
packages/orbit-components/lib/InputField/InputTags/index.js 971 B 0 B
packages/orbit-components/lib/InputFile/index.js 1.92 kB 0 B
packages/orbit-components/lib/InputGroup/consts.js 204 B 0 B
packages/orbit-components/lib/InputGroup/index.js 2.65 kB 0 B
packages/orbit-components/lib/InputStepper/index.js 1.47 kB 0 B
packages/orbit-components/lib/InputStepper/InputStepperStateless/index.js 1.21 kB 0 B
packages/orbit-components/lib/Layout/consts.js 572 B 0 B
packages/orbit-components/lib/Layout/index.js 1.11 kB 0 B
packages/orbit-components/lib/Layout/LayoutColumn/index.js 774 B 0 B
packages/orbit-components/lib/LazyImage/index.js 1.18 kB 0 B
packages/orbit-components/lib/LinkList/index.js 1.18 kB 0 B
packages/orbit-components/lib/List/consts.js 219 B 0 B
packages/orbit-components/lib/List/index.js 1.07 kB 0 B
packages/orbit-components/lib/List/ListContext.js 266 B 0 B
packages/orbit-components/lib/List/ListItem/index.js 1.51 kB 0 B
packages/orbit-components/lib/ListChoice/index.js 1.79 kB 0 B
packages/orbit-components/lib/Loading/consts.js 223 B 0 B
packages/orbit-components/lib/Loading/index.js 1.88 kB 0 B
packages/orbit-components/lib/Mobile/index.js 317 B 0 B
packages/orbit-components/lib/Modal/__typetests__/index.js 547 B 0 B
packages/orbit-components/lib/Modal/consts.js 240 B 0 B
packages/orbit-components/lib/Modal/helpers/useModalContextFunctions.js 259 B 0 B
packages/orbit-components/lib/Modal/index.js 5.9 kB 0 B
packages/orbit-components/lib/Modal/ModalCloseButton/index.js 420 B 0 B
packages/orbit-components/lib/Modal/ModalContext.js 605 B 0 B
packages/orbit-components/lib/Modal/ModalFooter/index.js 1.59 kB 0 B
packages/orbit-components/lib/Modal/ModalHeader/index.js 2.08 kB 0 B
packages/orbit-components/lib/Modal/ModalSection/index.js 1.31 kB 0 B
packages/orbit-components/lib/NavigationBar/index.js 1.46 kB 0 B
packages/orbit-components/lib/NotificationBadge/index.js 587 B 0 B
packages/orbit-components/lib/Pagination/components/ActiveButton.js 704 B 0 B
packages/orbit-components/lib/Pagination/components/CompactPages.js 572 B 0 B
packages/orbit-components/lib/Pagination/components/PageButtonLink.js 373 B 0 B
packages/orbit-components/lib/Pagination/components/Pages.js 503 B 0 B
packages/orbit-components/lib/Pagination/consts.js 187 B 0 B
packages/orbit-components/lib/Pagination/index.js 1.2 kB 0 B
packages/orbit-components/lib/PictureCard/consts.js 182 B 0 B
packages/orbit-components/lib/PictureCard/index.js 2.71 kB 0 B
packages/orbit-components/lib/Popover/components/ContentWrapper.js 2.9 kB 0 B
packages/orbit-components/lib/Popover/consts.js 299 B 0 B
packages/orbit-components/lib/Popover/helpers/calculateHorizontalPosition.js 539 B 0 B
packages/orbit-components/lib/Popover/helpers/calculatePopoverPosition.js 403 B 0 B
packages/orbit-components/lib/Popover/helpers/calculateVerticalPosition.js 608 B 0 B
packages/orbit-components/lib/Popover/helpers/getScrollableParent.js 452 B 0 B
packages/orbit-components/lib/Popover/helpers/resolvePopoverHorizontal.js 387 B 0 B
packages/orbit-components/lib/Popover/helpers/resolvePopoverPosition.js 446 B 0 B
packages/orbit-components/lib/Popover/hooks/useDimensions.js 838 B 0 B
packages/orbit-components/lib/Popover/index.js 1.77 kB 0 B
packages/orbit-components/lib/Portal/index.js 568 B 0 B
packages/orbit-components/lib/PricingTable/index.js 913 B 0 B
packages/orbit-components/lib/PricingTable/PricingTableContext.js 303 B 0 B
packages/orbit-components/lib/PricingTable/PricingTableItem/consts.js 157 B 0 B
packages/orbit-components/lib/PricingTable/PricingTableItem/index.js 2.42 kB 0 B
packages/orbit-components/lib/primitives/BadgePrimitive/index.js 1.16 kB 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/consts.js 370 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/createRel.js 323 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getCommonProps.js 846 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getIconContainer.js 1.01 kB 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getPadding.js 648 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/common/getSizeToken.js 563 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/components/ButtonPrimitiveContent.js 720 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/components/ButtonPrimitiveContentChildren.js 558 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/components/ButtonPrimitiveIconContainer.js 713 B 0 B
packages/orbit-components/lib/primitives/ButtonPrimitive/index.js 2.46 kB 0 B
packages/orbit-components/lib/primitives/IllustrationPrimitive/consts.js 243 B 0 B
packages/orbit-components/lib/primitives/IllustrationPrimitive/IllustrationPrimitiveList.js 1.1 kB 0 B
packages/orbit-components/lib/primitives/IllustrationPrimitive/index.js 1.03 kB 0 B
packages/orbit-components/lib/primitives/MobileDialogPrimitive/components/DialogContent.flow.js 119 B 0 B
packages/orbit-components/lib/primitives/MobileDialogPrimitive/components/DialogContent.js 1.73 kB 0 B
packages/orbit-components/lib/primitives/MobileDialogPrimitive/index.js 979 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/components/TooltipContent.js 1.92 kB 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/consts.js 508 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/calculateTooltipAlign.js 809 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/calculateTooltipPosition.js 563 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/isAlign.js 251 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/isPosition.js 340 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/resolveContainerAlign.js 534 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/resolveContainerPosition.js 652 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/resolveTooltipArrowAlign.js 525 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/resolveTooltipArrowPosition.js 356 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/sortPositionsAndAligns.js 519 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/switchPreferredPosition.js 274 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/tooltipArrowStyle.js 371 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/tooltipPadding.js 327 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/helpers/tooltipSize.js 331 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/hooks/useDimensions.js 753 B 0 B
packages/orbit-components/lib/primitives/TooltipPrimitive/index.js 1.36 kB 0 B
packages/orbit-components/lib/Radio/index.js 2.36 kB 0 B
packages/orbit-components/lib/RatingStars/consts.js 147 B 0 B
packages/orbit-components/lib/RatingStars/index.js 901 B 0 B
packages/orbit-components/lib/Seat/components/helpers/index.js 332 B 0 B
packages/orbit-components/lib/Seat/components/helpers/resolveAccentColor.js 323 B 0 B
packages/orbit-components/lib/Seat/components/helpers/resolveCloseIconColor.js 322 B 0 B
packages/orbit-components/lib/Seat/components/helpers/resolveFillColor.js 482 B 0 B
packages/orbit-components/lib/Seat/components/helpers/resolveFocusColor.js 292 B 0 B
packages/orbit-components/lib/Seat/components/helpers/resolveHoverColor.js 289 B 0 B
packages/orbit-components/lib/Seat/components/helpers/resolveTextColor.js 286 B 0 B
packages/orbit-components/lib/Seat/components/SeatCircle.js 4.65 kB 0 B
packages/orbit-components/lib/Seat/components/SeatLegend/index.js 651 B 0 B
packages/orbit-components/lib/Seat/components/SeatNormal.js 1.3 kB 0 B
packages/orbit-components/lib/Seat/components/SeatSmall.js 1.3 kB 0 B
packages/orbit-components/lib/Seat/consts.js 239 B 0 B
packages/orbit-components/lib/Seat/index.js 1.52 kB 0 B
packages/orbit-components/lib/Select/consts.js 176 B 0 B
packages/orbit-components/lib/Select/index.js 3.04 kB 0 B
packages/orbit-components/lib/Separator/index.js 561 B 0 B
packages/orbit-components/lib/ServiceLogo/consts.js 631 B 0 B
packages/orbit-components/lib/ServiceLogo/index.js 928 B 0 B
packages/orbit-components/lib/SkipLink/index.js 1 kB 0 B
packages/orbit-components/lib/SkipNavigation/index.js 1.59 kB 0 B
packages/orbit-components/lib/Slider/components/Bar/index.js 1.14 kB 0 B
packages/orbit-components/lib/Slider/components/Handle/index.js 1.67 kB 0 B
packages/orbit-components/lib/Slider/components/Histogram/index.js 1.25 kB 0 B
packages/orbit-components/lib/Slider/consts.js 177 B 0 B
packages/orbit-components/lib/Slider/index.js 5.12 kB 0 B
packages/orbit-components/lib/Slider/utils/calculateCountOf.js 457 B 0 B
packages/orbit-components/lib/SmartPassIllustrations/illustrations/IllustrationWrapper.js 699 B 0 B
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV1.js 4.81 kB 0 B
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV2.js 4.65 kB 0 B
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV3.js 3.53 kB 0 B
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV4.js 2.77 kB 0 B
packages/orbit-components/lib/SmartPassIllustrations/illustrations/SmartPassV5.js 3.1 kB 0 B
packages/orbit-components/lib/SmartPassIllustrations/index.js 291 B 0 B
packages/orbit-components/lib/SocialButton/consts.js 306 B 0 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonBoxShadow.js 621 B 0 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonIcon.js 420 B 0 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonIconForeground.js 321 B 0 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonStyles.js 548 B 0 B
packages/orbit-components/lib/SocialButton/helpers/getSocialButtonTypeToken.js 840 B 0 B
packages/orbit-components/lib/SocialButton/index.js 1.06 kB 0 B
packages/orbit-components/lib/Stack/consts.js 388 B 0 B
packages/orbit-components/lib/Stack/helpers/getAlign.js 366 B 0 B
packages/orbit-components/lib/Stack/helpers/getBasis.js 234 B 0 B
packages/orbit-components/lib/Stack/helpers/getChildrenMargin.js 654 B 0 B
packages/orbit-components/lib/Stack/helpers/getDirection.js 249 B 0 B
packages/orbit-components/lib/Stack/helpers/getDirectionSpacingTemplate.js 290 B 0 B
packages/orbit-components/lib/Stack/helpers/getDisplay.js 253 B 0 B
packages/orbit-components/lib/Stack/helpers/getGrow.js 247 B 0 B
packages/orbit-components/lib/Stack/helpers/getJustify.js 373 B 0 B
packages/orbit-components/lib/Stack/helpers/getProperty.js 274 B 0 B
packages/orbit-components/lib/Stack/helpers/getShrink.js 247 B 0 B
packages/orbit-components/lib/Stack/helpers/getSpacing.js 367 B 0 B
packages/orbit-components/lib/Stack/helpers/getViewportFlexStyles.js 684 B 0 B
packages/orbit-components/lib/Stack/helpers/getWidth.js 246 B 0 B
packages/orbit-components/lib/Stack/helpers/getWrap.js 248 B 0 B
packages/orbit-components/lib/Stack/helpers/isDefined.js 175 B 0 B
packages/orbit-components/lib/Stack/helpers/isMobileViewport.js 195 B 0 B
packages/orbit-components/lib/Stack/helpers/shouldUseFlex.js 252 B 0 B
packages/orbit-components/lib/Stack/index.js 1.29 kB 0 B
packages/orbit-components/lib/Stepper/index.js 948 B 0 B
packages/orbit-components/lib/Stepper/StepperStateless/index.js 1.09 kB 0 B
packages/orbit-components/lib/Sticky/index.js 2 kB 0 B
packages/orbit-components/lib/StopoverArrow/consts.js 176 B 0 B
packages/orbit-components/lib/StopoverArrow/index.js 1.47 kB 0 B
packages/orbit-components/lib/Table/consts.js 211 B 0 B
packages/orbit-components/lib/Table/index.js 1.98 kB 0 B
packages/orbit-components/lib/Table/TableBody/index.js 576 B 0 B
packages/orbit-components/lib/Table/TableCell/consts.js 362 B 0 B
packages/orbit-components/lib/Table/TableCell/index.js 838 B 0 B
packages/orbit-components/lib/Table/TableFooter/index.js 581 B 0 B
packages/orbit-components/lib/Table/TableHead/index.js 623 B 0 B
packages/orbit-components/lib/Table/TableRow/index.js 499 B 0 B
packages/orbit-components/lib/Tag/consts.js 215 B 0 B
packages/orbit-components/lib/Tag/helpers/resolveColor.js 277 B 0 B
packages/orbit-components/lib/Tag/index.js 1.78 kB 0 B
packages/orbit-components/lib/Text/consts.js 394 B 0 B
packages/orbit-components/lib/Text/index.js 1.54 kB 0 B
packages/orbit-components/lib/Textarea/consts.js 205 B 0 B
packages/orbit-components/lib/Textarea/index.js 1.89 kB 0 B
packages/orbit-components/lib/TextLink/consts.js 225 B 0 B
packages/orbit-components/lib/TextLink/index.js 1.92 kB 0 B
packages/orbit-components/lib/ThemeProvider/index.js 447 B 0 B
packages/orbit-components/lib/ThemeProvider/QueryContext/index.js 307 B 0 B
packages/orbit-components/lib/ThemeProvider/QueryContext/useMediaQueryContext.js 1.04 kB 0 B
packages/orbit-components/lib/Tile/components/TileContent/index.js 881 B 0 B
packages/orbit-components/lib/Tile/components/TileExpandable/index.js 962 B 0 B
packages/orbit-components/lib/Tile/components/TileHeader/index.js 1.68 kB 0 B
packages/orbit-components/lib/Tile/components/TileWrapper/index.js 1 kB 0 B
packages/orbit-components/lib/Tile/index.js 825 B 0 B
packages/orbit-components/lib/TileGroup/index.js 813 B 0 B
packages/orbit-components/lib/Timeline/index.js 852 B 0 B
packages/orbit-components/lib/Timeline/TimelineContext.js 529 B 0 B
packages/orbit-components/lib/Timeline/TimelineStep/components/CustomBadge.js 398 B 0 B
packages/orbit-components/lib/Timeline/TimelineStep/components/TimelineStepDesktop.js 855 B 0 B
packages/orbit-components/lib/Timeline/TimelineStep/components/TimelineStepMobile.js 879 B 0 B
packages/orbit-components/lib/Timeline/TimelineStep/index.js 1.11 kB 0 B
packages/orbit-components/lib/Timeline/TimelineStep/primitives/StyledIconWrapper.js 451 B 0 B
packages/orbit-components/lib/Timeline/TimelineStep/primitives/StyledProgressLine.js 627 B 0 B
packages/orbit-components/lib/Timeline/TimelineStep/primitives/StyledRelative.js 466 B 0 B
packages/orbit-components/lib/Timeline/TimelineStep/primitives/StyledText.js 373 B 0 B
packages/orbit-components/lib/Tooltip/consts.js 329 B 0 B
packages/orbit-components/lib/Tooltip/index.js 660 B 0 B
packages/orbit-components/lib/Translate/index.js 501 B 0 B
packages/orbit-components/lib/Truncate/index.js 613 B 0 B
packages/orbit-components/lib/utils/boundingClientRect/index.js 408 B 0 B
packages/orbit-components/lib/utils/cloneWithTooltip/index.js 241 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/applyGap.js 298 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/autoPlacement.js 620 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/calculateColumnPlacement.js 223 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/calculateRowPlacement.js 227 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/compatibleGridTemplate.js 609 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/getDisplay.js 333 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/getProperty.js 403 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/getViewportGridStyles.js 748 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/getViewportIEGridStyles.js 574 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/insertGap.js 333 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/lengthOf.js 329 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/realCellsCount.js 272 B 0 B
packages/orbit-components/lib/utils/Grid/helpers/splitToWords.js 326 B 0 B
packages/orbit-components/lib/utils/Grid/index.js 993 B 0 B
packages/orbit-components/lib/utils/handleKeyDown/index.js 331 B 0 B
packages/orbit-components/lib/utils/mediaQuery/consts.js 295 B 0 B
packages/orbit-components/lib/utils/mediaQuery/index.js 985 B 0 B
packages/orbit-components/lib/utils/onlyIE/index.js 301 B 0 B
packages/orbit-components/lib/utils/randomID/index.js 205 B 0 B
packages/orbit-components/lib/utils/rtl/index.js 622 B 0 B
packages/orbit-components/lib/utils/rtl/RenderInRtl.js 1.07 kB 0 B
packages/orbit-components/lib/utils/scroll/index.js 333 B 0 B
packages/orbit-components/lib/utils/Slide/index.js 1.97 kB 0 B
packages/orbit-components/lib/utils/toggleDown/index.js 271 B 0 B
packages/orbit-components/lib/utils/toggleUp/index.js 252 B 0 B
packages/orbit-components/lib/utils/transition/index.js 472 B 0 B
packages/orbit-components/lib/utils/validateDecrement/index.js 289 B 0 B
packages/orbit-components/lib/utils/validateIncrement/index.js 289 B 0 B
packages/orbit-components/lib/Wizard/index.js 1.66 kB 0 B
packages/orbit-components/lib/Wizard/WizardContext.js 291 B 0 B
packages/orbit-components/lib/Wizard/WizardStep.js 1.83 kB 0 B
packages/orbit-components/lib/Wizard/WizardStepIcon.js 1.49 kB 0 B

compressed-size-action

@CollierCZ CollierCZ force-pushed the docs/linting branch 5 times, most recently from 9a15c6c to c6e6b8a Compare February 10, 2021 13:49
@CollierCZ CollierCZ marked this pull request as ready for review February 10, 2021 13:54
@CollierCZ CollierCZ requested a review from silvenon February 10, 2021 13:55
.github/contribution/docs.md Outdated Show resolved Hide resolved
.github/contribution/docs.md Show resolved Hide resolved
.github/contribution/docs.md Outdated Show resolved Hide resolved
.github/styles/Kiwi/LinkText.yml Show resolved Hide resolved
.github/styles/Vocab/Kiwi/accept.txt Show resolved Hide resolved
.github/styles/Kiwi/Acronyms.yml Outdated Show resolved Hide resolved
@CollierCZ CollierCZ requested a review from silvenon February 15, 2021 20:46
@CollierCZ CollierCZ force-pushed the docs/linting branch 2 times, most recently from a129de8 to b549b21 Compare February 15, 2021 22:23
@CollierCZ CollierCZ merged commit 404ca6f into master Feb 16, 2021
@CollierCZ CollierCZ deleted the docs/linting branch February 16, 2021 17:52
extends: ["plugin:mdx/recommended"],
rules: {
"react/jsx-filename-extension": ["error", { extensions: [".mdx"] }],
"mdx/no-unescaped-entities": "OFF",
Copy link

Choose a reason for hiding this comment

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

Hi, I’m the author of eslint-mdx, so glad that you’re using it.

Just to confirm, is there any problem with this rule or you’d just want to ignore it?

Copy link
Contributor Author

@CollierCZ CollierCZ Feb 22, 2021

Choose a reason for hiding this comment

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

Hi! Thanks so much for having a look at our configuration. When the rule is turned off, I get a lot of warnings about apostrophes and the like being able to be escaped. I don't want to escape things in markdown.

These cases are markdown inside components (example). I turned it off to get only relevant warnings.

Copy link

Choose a reason for hiding this comment

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

That's interesting, I thought mdx as jsx more than md, but users like you may think oppositely. So I'm considering disable it by default in the recommended config.

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 want to speak for others, but in my case I definitely think of it as md with extra features. But I'm a writer first and a programmer second.

],
},
settings: {
"import/resolver": {
Copy link

Choose a reason for hiding this comment

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

eslint-import-resolver-typescript should be preferred for ts files.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree even our *.ts?(x) files don't seem to have the resolver set up, I can't remember what was the problem I ran into… 🤔

@@ -3,6 +3,10 @@
module.exports = {
"*.{js,js.flow,ts}": "eslint --fix --report-unused-disable-directives",
"*.md": "prettier --write",
"*.mdx": [
Copy link

Choose a reason for hiding this comment

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

.md can be merged into this one

Copy link
Contributor

Choose a reason for hiding this comment

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

First of all, you're awesome for reviewing this PR. ❤️

What do you mean by this, though? We use Prettier through ESLint, so it*.mdx doesn't need to be prettified additionally, unlike *.md files which only use Prettier.

Copy link

Choose a reason for hiding this comment

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

Why remark-lint related rules are not enabled for .md files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's just a temporary thing, probably. We were focusing on the new docs that we're adding, which are all .mdx. We can then go over the older docs we have and see how the rules and everything works. Didn't want to fix a bunch of errors without knowing if we liked the workflow. 🙂

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