From e84365e903c83f1bc85762fca98b8b23b65251c8 Mon Sep 17 00:00:00 2001 From: Carolina Menezes Date: Fri, 12 Jan 2024 14:35:59 -0300 Subject: [PATCH 1/4] chore(package.json): update components lib version --- package.json | 4 +++- .../markdown-renderer/fastStoreComponentsStyle.ts | 5 +---- src/styles/documentation-page.ts | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 673178960..4936f0ee6 100644 --- a/package.json +++ b/package.json @@ -30,12 +30,13 @@ "@lit-labs/nextjs": "^0.1.1", "@openreplay/tracker": "^5.0.1", "@plaiceholder/next": "^2.5.0", + "@swc/helpers": "^0.5.3", "@types/http-proxy": "^1.17.9", "@types/probe-image-size": "^7.2.0", "@types/react-svg-pan-zoom": "^3.3.5", "@types/uuid": "^9.0.0", "@vtex/brand-ui": "^0.46.1", - "@vtexdocs/components": "https://github.com/vtexdocs/components.git#v1.1.15", + "@vtexdocs/components": "https://github.com/vtexdocs/components#v1.3.0", "algoliasearch": "^4.14.2", "chalk": "^5.2.0", "copy-text-to-clipboard": "^3.0.1", @@ -135,6 +136,7 @@ }, "resolutions": { "next": "13.0.5", + "next/@swc/helpers": "0.4.36", "@types/react": "17.0.2", "@types/react-dom": "17.0.2" } diff --git a/src/components/faststore-components/markdown-renderer/fastStoreComponentsStyle.ts b/src/components/faststore-components/markdown-renderer/fastStoreComponentsStyle.ts index 8e58d84d5..e69376720 100644 --- a/src/components/faststore-components/markdown-renderer/fastStoreComponentsStyle.ts +++ b/src/components/faststore-components/markdown-renderer/fastStoreComponentsStyle.ts @@ -9,8 +9,6 @@ const tabItem: SxStyleProp = { padding: '8px', color: '#4A596B', cursor: 'pointer', - borderTopLeftRadius: '4px', - borderTopRightRadius: '4px', transition: '0.15s ease-in', '&:hover': { transition: '0.15s ease-in', @@ -21,8 +19,7 @@ const tabItem: SxStyleProp = { const tabItemActive: SxStyleProp = { ...tabItem, color: '#E31C58', - borderTop: '1px solid #E31C58', - borderInline: '1px solid #E31C58', + boxShadow: '0 2px 0 0 #E31C58', '&:hover': { color: '#E31C58', }, diff --git a/src/styles/documentation-page.ts b/src/styles/documentation-page.ts index 996462d20..37c6652f5 100644 --- a/src/styles/documentation-page.ts +++ b/src/styles/documentation-page.ts @@ -74,6 +74,7 @@ const documentationTitle: SxStyleProp = { fontSize: ['20px', '28px'], lineHeight: ['30px', '38px'], fontWeight: '400', + marginBottom: '14px', } const documentationExcerpt: SxStyleProp = { From db61da110308a1c60f9293065bbf7ea67a33861f Mon Sep 17 00:00:00 2001 From: Carolina Menezes Date: Fri, 12 Jan 2024 14:37:06 -0300 Subject: [PATCH 2/4] chore(package): update dependencies --- package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/package.json b/package.json index 4936f0ee6..8d70fba02 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "@lit-labs/nextjs": "^0.1.1", "@openreplay/tracker": "^5.0.1", "@plaiceholder/next": "^2.5.0", - "@swc/helpers": "^0.5.3", "@types/http-proxy": "^1.17.9", "@types/probe-image-size": "^7.2.0", "@types/react-svg-pan-zoom": "^3.3.5", @@ -136,7 +135,6 @@ }, "resolutions": { "next": "13.0.5", - "next/@swc/helpers": "0.4.36", "@types/react": "17.0.2", "@types/react-dom": "17.0.2" } From 665601d618a81d237ae4c5233866aa4b4a80d4a7 Mon Sep 17 00:00:00 2001 From: Carolina Menezes Date: Fri, 12 Jan 2024 14:38:34 -0300 Subject: [PATCH 3/4] fix(package): fix path --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8d70fba02..cdecf721b 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@types/react-svg-pan-zoom": "^3.3.5", "@types/uuid": "^9.0.0", "@vtex/brand-ui": "^0.46.1", - "@vtexdocs/components": "https://github.com/vtexdocs/components#v1.3.0", + "@vtexdocs/components": "https://github.com/vtexdocs/components.git#v1.3.0", "algoliasearch": "^4.14.2", "chalk": "^5.2.0", "copy-text-to-clipboard": "^3.0.1", From 65784fc61a17f8d5a8998c5a96f6ecf2631877ac Mon Sep 17 00:00:00 2001 From: Carolina Menezes Date: Fri, 12 Jan 2024 15:24:31 -0300 Subject: [PATCH 4/4] chore(package): @vtexdocs/components version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cdecf721b..ea3e2343a 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@types/react-svg-pan-zoom": "^3.3.5", "@types/uuid": "^9.0.0", "@vtex/brand-ui": "^0.46.1", - "@vtexdocs/components": "https://github.com/vtexdocs/components.git#v1.3.0", + "@vtexdocs/components": "https://github.com/vtexdocs/components.git#v1.4.0", "algoliasearch": "^4.14.2", "chalk": "^5.2.0", "copy-text-to-clipboard": "^3.0.1",