Skip to content

Commit

Permalink
Merge branch 'main' into chore/update-navigation-with-faststore-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinamenezes authored Jan 12, 2024
2 parents 4f74f17 + c472159 commit 46ffa0f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 37 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.15",
"@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",
Expand Down
71 changes: 39 additions & 32 deletions public/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -4721,7 +4721,7 @@
"type": "openapi",
"children": [
{
"name": "Gift Card",
"name": "Gift cards",
"slug": "giftcard-api-gift-card",
"type": "category",
"children": [
Expand Down Expand Up @@ -4755,7 +4755,7 @@
]
},
{
"name": "Transaction",
"name": "Transactions",
"slug": "giftcard-api-transaction",
"type": "category",
"children": [
Expand Down Expand Up @@ -4842,7 +4842,7 @@
"type": "openapi",
"children": [
{
"name": "Gift Cards",
"name": "Gift cards",
"slug": "giftcard-provider-protocol-gift-cards",
"type": "category",
"children": [
Expand Down Expand Up @@ -4963,80 +4963,87 @@
"type": "openapi",
"children": [
{
"name": "Provider",
"slug": "giftcard-hub-api-provider",
"name": "Gift cards",
"slug": "giftcard-hub-api-giftcards",
"type": "category",
"children": [
{
"name": "Create/Update GiftCard Provider by ID",
"name": "Create GiftCard in GiftCard Provider",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "PUT",
"method": "POST",
"origin": "",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-/giftcards",
"children": []
},
{
"name": "Get GiftCard Provider by ID",
"name": "Get GiftCard from GiftCard Provider",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "GET",
"method": "POST",
"origin": "",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-/giftcards/_search",
"children": []
},
{
"name": "List All GiftCard Providers",
"name": "Get GiftCard from GiftCard Provider by ID",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "GET",
"origin": "",
"endpoint": "/api/giftcardproviders",
"children": []
},
{
"name": "Delete GiftCard Provider by ID",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "DELETE",
"origin": "",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-/giftcards/-giftCardId-",
"children": []
}
]
},
{
"name": "Transaction",
"slug": "giftcard-hub-api-transaction",
"name": "Providers",
"slug": "giftcard-hub-api-provider",
"type": "category",
"children": [
{
"name": "Create GiftCard in GiftCard Provider",
"name": "Create/Update GiftCard Provider by ID",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "POST",
"method": "PUT",
"origin": "",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-/giftcards",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-",
"children": []
},
{
"name": "Get GiftCard from GiftCard Provider",
"name": "Get GiftCard Provider by ID",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "POST",
"method": "GET",
"origin": "",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-/giftcards/_search",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-",
"children": []
},
{
"name": "Get GiftCard from GiftCard Provider by ID",
"name": "List All GiftCard Providers",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "GET",
"origin": "",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-/giftcards/-giftCardId-",
"endpoint": "/api/giftcardproviders",
"children": []
},
{
"name": "Delete GiftCard Provider by ID",
"slug": "giftcard-hub-api",
"type": "openapi",
"method": "DELETE",
"origin": "",
"endpoint": "/api/giftcardproviders/-giftCardProviderId-",
"children": []
}
]
},
{
"name": "Transactions",
"slug": "giftcard-hub-api-transaction",
"type": "category",
"children": [
{
"name": "Create GiftCard Transaction",
"slug": "giftcard-hub-api",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
},
Expand Down
1 change: 1 addition & 0 deletions src/styles/documentation-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const documentationTitle: SxStyleProp = {
fontSize: ['20px', '28px'],
lineHeight: ['30px', '38px'],
fontWeight: '400',
marginBottom: '14px',
}

const documentationExcerpt: SxStyleProp = {
Expand Down

0 comments on commit 46ffa0f

Please sign in to comment.