From 04c78b6bfadf8f90df297a7daddaf4182601e354 Mon Sep 17 00:00:00 2001 From: Marco Vidal Garcia Date: Mon, 18 Sep 2023 17:21:03 +0200 Subject: [PATCH] feat(Illustration): add Damage and Wheelchair illustrations --- docs/src/__examples__/Illustration/DEFAULT.tsx | 2 ++ packages/orbit-components/src/Illustration/README.md | 2 ++ packages/orbit-components/src/Illustration/consts.mts | 2 ++ packages/orbit-components/src/Illustration/index.js.flow | 2 ++ packages/orbit-components/src/Illustration/types.d.ts | 2 ++ 5 files changed, 10 insertions(+) diff --git a/docs/src/__examples__/Illustration/DEFAULT.tsx b/docs/src/__examples__/Illustration/DEFAULT.tsx index 94c2747af8..b8b8bd6847 100644 --- a/docs/src/__examples__/Illustration/DEFAULT.tsx +++ b/docs/src/__examples__/Illustration/DEFAULT.tsx @@ -36,6 +36,7 @@ export default { "CompassPoints", "CompassTravelPlan", "CompassSaveOnBooking", + "Damage", "DesktopSearch", "EnjoyApp", "Error", @@ -93,6 +94,7 @@ export default { "Train", "TransportBus", "TransportTaxi", + "Wheelchair", "WomanWithPhone", ], defaultValue: "Accommodation", diff --git a/packages/orbit-components/src/Illustration/README.md b/packages/orbit-components/src/Illustration/README.md index f7ec3b63ff..4d6bd105f9 100644 --- a/packages/orbit-components/src/Illustration/README.md +++ b/packages/orbit-components/src/Illustration/README.md @@ -53,6 +53,7 @@ The table below contains all types of props available in the Illustration compon | `"Cancelled"` | | `"CompassTravelPlan"` | | `"CompassSaveOnBooking"` | +| `"Damage"` | | `"DesktopSearch"` | | `"EnjoyApp"` | | `"EVisa"` | @@ -113,4 +114,5 @@ The table below contains all types of props available in the Illustration compon | `"Train"` | | `"TransportBus"` | | `"TransportTaxi"` | +| `"Wheelchair"` | | `"WomanWithPhone"` | diff --git a/packages/orbit-components/src/Illustration/consts.mts b/packages/orbit-components/src/Illustration/consts.mts index 10e0cda14d..d795a7895d 100644 --- a/packages/orbit-components/src/Illustration/consts.mts +++ b/packages/orbit-components/src/Illustration/consts.mts @@ -26,6 +26,7 @@ export const NAMES: Name[] = [ "CompassPoints", "CompassSaveOnBooking", "CompassTravelPlan", + "Damage", "DesktopSearch", "EnjoyApp", "Error", @@ -88,5 +89,6 @@ export const NAMES: Name[] = [ "Train", "TransportBus", "TransportTaxi", + "Wheelchair", "WomanWithPhone", ]; diff --git a/packages/orbit-components/src/Illustration/index.js.flow b/packages/orbit-components/src/Illustration/index.js.flow index c4d1088232..4341cf05d7 100644 --- a/packages/orbit-components/src/Illustration/index.js.flow +++ b/packages/orbit-components/src/Illustration/index.js.flow @@ -32,6 +32,7 @@ type Name = | "CompassPoints" | "CompassSaveOnBooking" | "CompassTravelPlan" + | "Damage" | "DesktopSearch" | "EnjoyApp" | "Error" @@ -92,6 +93,7 @@ type Name = | "Train" | "TransportBus" | "TransportTaxi" + | "Wheelchair" | "WomanWithPhone"; export type Props = {| diff --git a/packages/orbit-components/src/Illustration/types.d.ts b/packages/orbit-components/src/Illustration/types.d.ts index 97fd8cc97b..963f6e157d 100644 --- a/packages/orbit-components/src/Illustration/types.d.ts +++ b/packages/orbit-components/src/Illustration/types.d.ts @@ -31,6 +31,7 @@ export type Name = | "CompassPoints" | "CompassSaveOnBooking" | "CompassTravelPlan" + | "Damage" | "DesktopSearch" | "EnjoyApp" | "Error" @@ -93,6 +94,7 @@ export type Name = | "Train" | "TransportBus" | "TransportTaxi" + | "Wheelchair" | "WomanWithPhone"; // TODO: remove spaceAfter in the next major version