Skip to content

Commit

Permalink
chore: update uikit version
Browse files Browse the repository at this point in the history
  • Loading branch information
gizeasy committed Nov 21, 2023
1 parent b7badfd commit 63b82e6
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 1,477 deletions.
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@consta/charts",
"version": "0.8.0",
"scripts": {
"postinstall": "husky install",
"postinstall": "yarn install-peers && husky install",
"tsc-dry-run": "tsc --noEmit",
"lint:js": "eslint --ext .js,.jsx,.tsx,.ts --fix . --quiet",
"lint:css": "stylelint ./src/**/*.css --fix",
Expand Down Expand Up @@ -48,10 +48,8 @@
"Chrome >= 75"
],
"peerDependencies": {
"@consta/uikit": ">= 3.9.3"
},
"dependencies": {
"@antv/g2plot": "2.4.31"
"@antv/g2plot": "^2.4.31",
"@consta/uikit": "^5.0.0-beta.1"
},
"config": {
"commitizen": {
Expand Down Expand Up @@ -83,7 +81,6 @@
}
},
"devDependencies": {
"cross-env": "^7.0.3",
"@babel/cli": "^7.18.9",
"@babel/core": "^7.17.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
Expand All @@ -96,7 +93,6 @@
"@bem/sdk.naming.presets": "^0.2.3",
"@consta/stand": "^0.0.104",
"@mdx-js/loader": "^2.1.5",
"@consta/uikit": "^4.0.1",
"@oclif/command": "^1.8.16",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@testing-library/jest-dom": "^5.16.4",
Expand All @@ -121,6 +117,7 @@
"camelcase": "^6.2.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"commitizen": "^4.2.5",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"cssnano": "^5.1.12",
Expand All @@ -140,6 +137,7 @@
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"install-peers-cli": "https://github.com/evless/install-peers-cli#fix-yarn-policies",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"lint-staged": "^13.0.3",
Expand Down
4 changes: 3 additions & 1 deletion src/components/Pie/__stand__/Pie.dev.stand.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ export function LineExampleMultiLine() {
},
content: {
customHtml: (v, v2, v3, v4) => (
<Text size="3xl">{v3?.value || sum(v4)}</Text>
<Text size="3xl" view="primary" lineHeight="m">
{v3?.value || sum(v4)}
</Text>
),
},
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export function PieExample() {
},
content: {
customHtml: (_v, _v2, v3, v4) => (
<Text size="3xl">{v3?.value || sum(v4)}</Text>
<Text size="3xl" view="primary" lineHeight="m">
{v3?.value || sum(v4)}
</Text>
),
},
}}
Expand Down
11 changes: 8 additions & 3 deletions src/stand/components/RemadeInfo/RemadeInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const RemadeInfo: React.FC<{
const { commponentName, apiUrl } = props;
return (
<Informer className={cnRemadeInfo()} status="system" view="bordered">
<Text>
<Text size="m" view="primary" lineHeight="m">
Это компонент{' '}
<Text as="span" weight="bold">
{commponentName}
Expand All @@ -42,7 +42,12 @@ export const RemadeInfo: React.FC<{
</Text>{' '}
и полностью проксировали API.
</Text>
<Text style={{ marginTop: 'var(--space-m)' }}>
<Text
size="m"
view="primary"
lineHeight="m"
style={{ marginTop: 'var(--space-m)' }}
>
Здесь описаны только основные свойства, подробности — в{' '}
<Text
className={cnRemadeInfo('Link')}
Expand All @@ -63,7 +68,7 @@ export const RemadeTableInfo: React.FC<{ apiUrl: string }> = (props) => {
const { apiUrl } = props;
return (
<Informer className={cnRemadeInfo()} status="system" view="bordered">
<Text>
<Text size="m" view="primary" lineHeight="m">
Здесь описаны только основные свойства компонента.{' '}
<Text
className={cnRemadeInfo('Link')}
Expand Down
Loading

0 comments on commit 63b82e6

Please sign in to comment.