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(ServiceLogo): add AirHelpNew #4502

Merged
merged 2 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/orbit-components/src/ServiceLogo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ Table below contains all types of the props available in ServiceLogo component.
| code | size |
| :---------------------- | :--------- |
| `"AirHelp"` | `"small"` |
| `"Alipay"` | `"medium"` |
| `"Amex"` | `"large"` |
| `"AirHelpNew"` | `"medium"` |
| `"AirHelpPlus"` | `"large"` |
| `"Alipay"` |
| `"Amex"` |
| `"Axa"` |
| `"AxaAssistance"` |
| `"AxaWhite"` |
Expand All @@ -53,6 +55,7 @@ Table below contains all types of the props available in ServiceLogo component.
| `"PayPal"` |
| `"RentalCars"` |
| `"Sherpa"` |
| `"Simtex"` |
| `"Sofort"` |
| `"TravelPulse"` |
| `"Trustly"` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const GRAYSCALE_OPTIONS = [false, true];

export default function ServiceLogoStory() {
return (
<div className="p-400 gap-400 flex flex-wrap items-center [&_img]:shrink-0">
<div className="p-400 gap-400 flex flex-col flex-wrap items-center [&_img]:shrink-0">
{GRAYSCALE_OPTIONS.map(grayScale => (
<ServiceLogo name="Alipay" grayScale={grayScale} />
))}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/orbit-components/src/ServiceLogo/consts.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export enum NAME_OPTIONS {
AIRHELP = "AirHelp",
AIRHELPNEW = "AirHelpNew",
AIRHELPPLUS = "AirHelpPlus",
ALIPAY = "Alipay",
AMEX = "Amex",
Expand Down
1 change: 1 addition & 0 deletions packages/orbit-components/src/ServiceLogo/consts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export enum NAME_OPTIONS {
AIRHELP = "AirHelp",
AIRHELPNEW = "AirHelpNew",
AIRHELPPLUS = "AirHelpPlus",
ALIPAY = "Alipay",
AMEX = "Amex",
Expand Down
1 change: 1 addition & 0 deletions packages/orbit-components/src/ServiceLogo/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type * as Common from "../common/types";
export type Size = "small" | "medium" | "large";
type Name =
| "AirHelp"
| "AirHelpNew"
| "AirHelpPlus"
| "Alipay"
| "Amex"
Expand Down
Loading