Skip to content

Commit

Permalink
feat(Illustration): add Damage and Wheelchair illustrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidalgarcia committed Sep 18, 2023
1 parent 55d386c commit 04c78b6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/__examples__/Illustration/DEFAULT.tsx
Expand Up @@ -36,6 +36,7 @@ export default {
"CompassPoints",
"CompassTravelPlan",
"CompassSaveOnBooking",
"Damage",
"DesktopSearch",
"EnjoyApp",
"Error",
Expand Down Expand Up @@ -93,6 +94,7 @@ export default {
"Train",
"TransportBus",
"TransportTaxi",
"Wheelchair",
"WomanWithPhone",
],
defaultValue: "Accommodation",
Expand Down
2 changes: 2 additions & 0 deletions packages/orbit-components/src/Illustration/README.md
Expand Up @@ -53,6 +53,7 @@ The table below contains all types of props available in the Illustration compon
| `"Cancelled"` |
| `"CompassTravelPlan"` |
| `"CompassSaveOnBooking"` |
| `"Damage"` |
| `"DesktopSearch"` |
| `"EnjoyApp"` |
| `"EVisa"` |
Expand Down Expand Up @@ -113,4 +114,5 @@ The table below contains all types of props available in the Illustration compon
| `"Train"` |
| `"TransportBus"` |
| `"TransportTaxi"` |
| `"Wheelchair"` |
| `"WomanWithPhone"` |
2 changes: 2 additions & 0 deletions packages/orbit-components/src/Illustration/consts.mts
Expand Up @@ -26,6 +26,7 @@ export const NAMES: Name[] = [
"CompassPoints",
"CompassSaveOnBooking",
"CompassTravelPlan",
"Damage",
"DesktopSearch",
"EnjoyApp",
"Error",
Expand Down Expand Up @@ -88,5 +89,6 @@ export const NAMES: Name[] = [
"Train",
"TransportBus",
"TransportTaxi",
"Wheelchair",
"WomanWithPhone",
];
2 changes: 2 additions & 0 deletions packages/orbit-components/src/Illustration/index.js.flow
Expand Up @@ -32,6 +32,7 @@ type Name =
| "CompassPoints"
| "CompassSaveOnBooking"
| "CompassTravelPlan"
| "Damage"
| "DesktopSearch"
| "EnjoyApp"
| "Error"
Expand Down Expand Up @@ -92,6 +93,7 @@ type Name =
| "Train"
| "TransportBus"
| "TransportTaxi"
| "Wheelchair"
| "WomanWithPhone";

export type Props = {|
Expand Down
2 changes: 2 additions & 0 deletions packages/orbit-components/src/Illustration/types.d.ts
Expand Up @@ -31,6 +31,7 @@ export type Name =
| "CompassPoints"
| "CompassSaveOnBooking"
| "CompassTravelPlan"
| "Damage"
| "DesktopSearch"
| "EnjoyApp"
| "Error"
Expand Down Expand Up @@ -93,6 +94,7 @@ export type Name =
| "Train"
| "TransportBus"
| "TransportTaxi"
| "Wheelchair"
| "WomanWithPhone";

// TODO: remove spaceAfter in the next major version
Expand Down

0 comments on commit 04c78b6

Please sign in to comment.