From 190b5f5670feaab582fc776d2fbef9229ed24a2f Mon Sep 17 00:00:00 2001 From: Dmytro Kireiev Date: Thu, 5 Oct 2023 17:31:06 +0300 Subject: [PATCH] feat: add new icons [MDS-711] (#2420) --- docs/package.json | 2 +- next-docs/package.json | 2 +- next-docs/public/examples/icons/Travel.tsx | 8 + .../__snapshots__/index.test.tsx.snap | 160 ++++++++++++++++++ pnpm-lock.yaml | 22 +-- 5 files changed, 176 insertions(+), 18 deletions(-) diff --git a/docs/package.json b/docs/package.json index 0976762c80..0f138e5efe 100644 --- a/docs/package.json +++ b/docs/package.json @@ -14,7 +14,7 @@ "@heathmont/moon-base-tw": "workspace:^10.9.0", "@heathmont/moon-cmdk-tw": "workspace:^10.9.0", "@heathmont/moon-core-tw": "workspace:^10.9.0", - "@heathmont/moon-icons-tw": "9.28.4", + "@heathmont/moon-icons-tw": "9.28.6", "@types/node": "20.4.9", "@types/react": "18.2.19", "@types/react-dom": "18.2.7", diff --git a/next-docs/package.json b/next-docs/package.json index e3cab35eb2..08cbca5eb0 100644 --- a/next-docs/package.json +++ b/next-docs/package.json @@ -34,7 +34,7 @@ "@heathmont/moon-themes": "workspace:^10.7.1", "@heathmont/moon-themes-tw": "workspace:^10.9.0", "@heathmont/moon-utils": "workspace:^10.7.1", - "@heathmont/moon-icons-tw": "9.28.5", + "@heathmont/moon-icons-tw": "9.28.6", "@hookform/resolvers": "3.2.0", "@jest/globals": "27.5.1", "@next/bundle-analyzer": "13.4.13", diff --git a/next-docs/public/examples/icons/Travel.tsx b/next-docs/public/examples/icons/Travel.tsx index f667f6df2d..c67a38ac48 100644 --- a/next-docs/public/examples/icons/Travel.tsx +++ b/next-docs/public/examples/icons/Travel.tsx @@ -18,6 +18,8 @@ import { TravelSwimmingPool, TravelWiFi, TravelYacht, + TravelBus, + TravelTrain, } from '@heathmont/moon-icons-tw'; import Icon from './Icon'; import type Props from './Props'; @@ -81,6 +83,12 @@ const Example = ({ wrapperProps, props }: Props) => ( + + + + + + ); diff --git a/next-docs/public/examples/icons/__tests__/__snapshots__/index.test.tsx.snap b/next-docs/public/examples/icons/__tests__/__snapshots__/index.test.tsx.snap index 177d1e85c4..e56dd9f093 100644 --- a/next-docs/public/examples/icons/__tests__/__snapshots__/index.test.tsx.snap +++ b/next-docs/public/examples/icons/__tests__/__snapshots__/index.test.tsx.snap @@ -21267,6 +21267,46 @@ Object { /> + + , @@ -21839,6 +21879,46 @@ Object { /> + + , "debug": [Function], @@ -42999,6 +43079,46 @@ Object { /> + + , "container":
@@ -43567,6 +43687,46 @@ Object { /> + +
, "debug": [Function], "findAllByAltText": [Function], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d79699adf..75471069b7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -172,8 +172,8 @@ importers: specifier: workspace:^10.9.0 version: link:../workspaces/core '@heathmont/moon-icons-tw': - specifier: 9.28.4 - version: 9.28.4(react-dom@18.2.0)(react@18.2.0) + specifier: 9.28.6 + version: 9.28.6(react-dom@18.2.0)(react@18.2.0) '@types/node': specifier: 20.4.9 version: 20.4.9 @@ -253,8 +253,8 @@ importers: specifier: workspace:^10.7.1 version: link:../packages/icons '@heathmont/moon-icons-tw': - specifier: 9.28.5 - version: 9.28.5(react-dom@18.2.0)(react@18.2.0) + specifier: 9.28.6 + version: 9.28.6(react-dom@18.2.0)(react@18.2.0) '@heathmont/moon-pagination': specifier: workspace:^10.7.1 version: link:../packages/pagination @@ -2970,18 +2970,8 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /@heathmont/moon-icons-tw@9.28.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-6MZaRqF7ujwe6R1O1edeGKJb1jB9NizMITv6NDxKZspPTWoIfRaArc+4C9XihFRQylcfyzIn3j4111o0UOjDPg==} - peerDependencies: - react: '>= 18.2.0' - react-dom: '>= 18.2.0' - dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - dev: false - - /@heathmont/moon-icons-tw@9.28.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-M4rf6Fvy4SeHkYTPYhcT3LPUnXIUErChzs6XjhlVy4O8Csa2TtweyUz/tzwxWKgsuepGCc6mGErE/dzZLKDEWQ==} + /@heathmont/moon-icons-tw@9.28.6(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-cDA7WO4Z07Sfm0Mv+/fBFRBGIMJonGrutcaYRLr6zl6OSfiUOxlsMjRSSivYOb/45WxUjpnbGxTA1AZGhXBFRA==} peerDependencies: react: '>= 18.2.0' react-dom: '>= 18.2.0'