Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
chore: update quill-icons package
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-deriv committed Nov 10, 2023
1 parent 794ac4a commit c4eb8b6
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 56 deletions.
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/accordion/accordion.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { render } from '@testing-library/react';
import '@testing-library/jest-dom';
import AccordionBlock from '.';
import { StandaloneAndroidIcon } from '@deriv/quill-icons';
import { StandaloneAndroidIcon } from '@deriv/quill-icons/Standalone';

const childTitle = 'This is the title';
const subTitle = 'Subtitle goes here';
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/accordion/accordion.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import AccordionBlock from '.';
import { StandaloneAndroidIcon } from '@deriv/quill-icons';
import { StandaloneAndroidIcon } from '@deriv/quill-icons/Standalone';

const meta = {
title: 'Blocks/Accordion',
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/fast-payment/base/base.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
FlagAndorraIcon,
FlagAustraliaIcon,
FlagBurkinaFasoIcon,
} from '@deriv/quill-icons';
} from '@deriv/quill-icons/Flags';
import Base from './index';

describe('FastPayment', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
IllustrativeProtectedAndSecureIcon,
IllustrativeSpreadsIcon,
IllustrativeSupport247Icon,
} from '@deriv/quill-icons';
} from '@deriv/quill-icons/Illustrative';
import { CardContent } from '@deriv-com/components';

const cards: CardContent[] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
IllustrativeProtectedAndSecureIcon,
IllustrativeSpreadsIcon,
IllustrativeSupport247Icon,
} from '@deriv/quill-icons';
} from '@deriv/quill-icons/Illustrative';

const meta = {
title: 'Blocks/Features/Card',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
IllustrativeProtectedAndSecureIcon,
IllustrativeSpreadsIcon,
IllustrativeSupport247Icon,
} from '@deriv/quill-icons';
} from '@deriv/quill-icons/Illustrative';

const meta = {
title: 'Blocks/Features/ContentSlider',
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/footer/footer-block.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FluidContainer, Section, Text } from '@deriv/quill-design';
import { BrandDerivWordmarkSlateIcon } from '@deriv/quill-icons';
import { BrandDerivWordmarkSlateIcon } from '@deriv/quill-icons/Logo';
import clsx from 'clsx';
import { ReactNode } from 'react';
import { SocialMediaSection } from './footer.social';
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/footer/footer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
StandaloneAppleIcon,
StandaloneFacebookIcon,
StandaloneInstagramIcon,
} from '@deriv/quill-icons';
} from '@deriv/quill-icons/Standalone';
import Footer from '.';

const meta = {
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/live-market/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
CustomLink,
} from '@deriv-com/components';
import { FluidContainer, Section, Text, qtMerge } from '@deriv/quill-design';
import { StandaloneChevronRightRegularIcon } from '@deriv/quill-icons';
import { StandaloneChevronRightRegularIcon } from '@deriv/quill-icons/Standalone';
import clsx from 'clsx';
import { ReactNode } from 'react';
import { HeaderSection } from './header-section';
Expand Down
3 changes: 1 addition & 2 deletions libs/components/src/lib/card-slider/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import clsx from 'clsx';
import { Swiper, SwiperSlide } from 'swiper/react';
import { Pagination, SwiperOptions } from 'swiper';
import 'swiper/css';
import 'swiper/css/pagination';
import { qtMerge } from '@deriv/quill-design';
import Card, { CardVariants } from '../card';
import { SwiperOptions } from 'swiper/types';

type CardVariantType = keyof CardVariants;

Expand Down Expand Up @@ -46,7 +46,6 @@ export const CardSlider = <T extends CardVariantType>({
<div className="flex w-full justify-center">
<Swiper
className={qtMerge(className)}
modules={[Pagination]}
slidesPerView={slidesPerView}
spaceBetween={spaceBetween}
breakpoints={breakpoints}
Expand Down
2 changes: 2 additions & 0 deletions libs/templates/src/lib/home/sections/hero/data.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { OptimizedImage } from '@deriv-com/components';
import { Swiper, SwiperSlide } from 'swiper/react';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { Autoplay, EffectFade } from 'swiper';
import { ReactNode } from 'react';
import { Button, FluidContainer, Text } from '@deriv/quill-design';
Expand Down
41 changes: 29 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
},
"private": true,
"dependencies": {
"@deriv/quill-design": "^1.0.21",
"@deriv/quill-icons": "^1.0.6",
"@deriv/quill-design": "^1.0.31",
"@deriv/quill-icons": "^1.0.9",
"@nx/next": "16.8.1",
"@react-hook/window-size": "^3.1.1",
"@swc/helpers": "~0.5.0",
"closest-match": "^1.3.3",
"@tanstack/react-table": "^8.10.7",
"closest-match": "^1.3.3",
"clsx": "^2.0.0",
"next": "13.4.19",
"next-image-export-optimizer": "^1.8.5",
Expand Down
40 changes: 10 additions & 30 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,27 @@
"rootDir": ".",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"moduleResolution": "Bundler",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"module": "esnext",
"resolveJsonModule": true,
"lib": [
"es2020",
"dom"
],
"lib": ["es2020", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"strictNullChecks": true,
"baseUrl": ".",
"paths": {
"@deriv-com/blocks": [
"libs/blocks/src/index.ts"
],
"@deriv-com/components": [
"libs/components/src/index.ts"
],
"@deriv-com/features": [
"libs/features/src/index.ts"
],
"@deriv-com/hooks": [
"libs/hooks/src/index.ts"
],
"@deriv-com/providers": [
"libs/providers/src/index.ts"
],
"@deriv-com/templates": [
"libs/templates/src/index.ts"
],
"@deriv-com/utils": [
"libs/utils/src/index.ts"
]
"@deriv-com/blocks": ["libs/blocks/src/index.ts"],
"@deriv-com/components": ["libs/components/src/index.ts"],
"@deriv-com/features": ["libs/features/src/index.ts"],
"@deriv-com/hooks": ["libs/hooks/src/index.ts"],
"@deriv-com/providers": ["libs/providers/src/index.ts"],
"@deriv-com/templates": ["libs/templates/src/index.ts"],
"@deriv-com/utils": ["libs/utils/src/index.ts"]
}
},
"exclude": [
"node_modules",
"tmp"
]
"exclude": ["node_modules", "tmp"]
}

0 comments on commit c4eb8b6

Please sign in to comment.