Skip to content

Commit

Permalink
Merge pull request #380 from VKCOM/SevereCloud/fix/vkCom/set-sizePopu…
Browse files Browse the repository at this point in the history
…pSmall

fix(vkCom): set sizePopupSmall
  • Loading branch information
Sarafa2n authored Feb 6, 2023
2 parents e41fc5f + 074329b commit d473f72
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/build/__snapshots__/snapthots.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -255812,7 +255812,7 @@ exports[`shapshots vkCom theme should match cssVars snapshot 1`] = `
},
"regular": {
"name": "--vkui--size_popup_small--regular",
"value": "var(--vkui--size_popup_small--regular, 420px)",
"value": "var(--vkui--size_popup_small--regular, 448px)",
},
},
"sizeSearchHeight": {
Expand Down Expand Up @@ -256776,7 +256776,7 @@ exports[`shapshots vkCom theme should match pixelify theme snapshot 1`] = `
"regular": "680px",
},
"sizePopupSmall": {
"regular": "420px",
"regular": "448px",
},
"sizeSearchHeight": {
"compact": "32px",
Expand Down Expand Up @@ -257646,7 +257646,7 @@ exports[`shapshots vkCom theme should match pseudo theme from CssVars 1`] = `
"regular": "var(--vkui--size_popup_medium--regular, 680px)",
},
"sizePopupSmall": {
"regular": "var(--vkui--size_popup_small--regular, 420px)",
"regular": "var(--vkui--size_popup_small--regular, 448px)",
},
"sizeSearchHeight": {
"compact": "var(--vkui--size_search_height--compact, 32px)",
Expand Down Expand Up @@ -258516,7 +258516,7 @@ exports[`shapshots vkCom theme should match root theme snapshot 1`] = `
"regular": 680,
},
"sizePopupSmall": {
"regular": 420,
"regular": 448,
},
"sizeSearchHeight": {
"compact": 32,
Expand Down Expand Up @@ -261372,7 +261372,7 @@ exports[`shapshots vkComDark theme should match cssVars snapshot 1`] = `
},
"regular": {
"name": "--vkui--size_popup_small--regular",
"value": "var(--vkui--size_popup_small--regular, 420px)",
"value": "var(--vkui--size_popup_small--regular, 448px)",
},
},
"sizeSearchHeight": {
Expand Down Expand Up @@ -262336,7 +262336,7 @@ exports[`shapshots vkComDark theme should match pixelify theme snapshot 1`] = `
"regular": "680px",
},
"sizePopupSmall": {
"regular": "420px",
"regular": "448px",
},
"sizeSearchHeight": {
"compact": "32px",
Expand Down Expand Up @@ -263206,7 +263206,7 @@ exports[`shapshots vkComDark theme should match pseudo theme from CssVars 1`] =
"regular": "var(--vkui--size_popup_medium--regular, 680px)",
},
"sizePopupSmall": {
"regular": "var(--vkui--size_popup_small--regular, 420px)",
"regular": "var(--vkui--size_popup_small--regular, 448px)",
},
"sizeSearchHeight": {
"compact": "var(--vkui--size_search_height--compact, 32px)",
Expand Down Expand Up @@ -264076,7 +264076,7 @@ exports[`shapshots vkComDark theme should match root theme snapshot 1`] = `
"regular": 680,
},
"sizePopupSmall": {
"regular": 420,
"regular": 448,
},
"sizeSearchHeight": {
"compact": 32,
Expand Down
4 changes: 4 additions & 0 deletions src/themeDescriptions/themes/vkCom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export const vkComTheme: ThemeVkComDescription = {
regular: 12,
},

sizePopupSmall: {
regular: 448,
},

// Компонент Switch
sizeSwitchHeight: {
regular: 10,
Expand Down

0 comments on commit d473f72

Please sign in to comment.