Merged in fix/lint-issues (pull request #1678)

Fix lint issues in design-system and scandic-web

* Remove unused color prop from LogoAndIllustrationProps to fix lint issues

* Fix lint issues in web

* Fix logos type


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-03-31 12:27:32 +00:00
parent 9d584887ad
commit 93aafe5525
37 changed files with 85 additions and 155 deletions

View File

@@ -1,6 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedIcon({ color, ...props }: LogoAndIllustrationProps) {
export default function BedIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedBunkIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedBunkIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedBunkExtraIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedBunkExtraIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedGenericIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedGenericIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedKingIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedKingIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedPullOutIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedPullOutIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedPullOutExtraIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedPullOutExtraIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedQueenIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedQueenIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedSingleIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedSingleIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedSofaIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedSofaIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedSofaExtraIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedSofaExtraIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedTwinIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedTwinIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function BedWallExtraIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function BedWallExtraIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function CoinIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function CoinIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function CroissantCoffeeEggIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function CroissantCoffeeEggIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function CutleryOneIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function CutleryOneIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function CutleryTwoIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function CutleryTwoIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function GiftOpenIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function GiftOpenIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function HandKeyIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function HandKeyIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function HotelNightIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function HotelNightIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function KidsIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function KidsIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function KidsMocktailIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function KidsMocktailIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function MagicWandIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function MagicWandIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function MoneyHandIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function MoneyHandIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function SurpriseIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function SurpriseIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,9 +1,6 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { IllustrationProps } from '../icon'
export default function VoucherIcon({
color,
...props
}: LogoAndIllustrationProps) {
export default function VoucherIcon(props: IllustrationProps) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"