Skip to content

Commit

Permalink
Merge pull request #517 from antvis/chore-0906
Browse files Browse the repository at this point in the history
feat: update version
  • Loading branch information
pomelo-nwu authored Sep 7, 2023
2 parents 1b1831a + 703e32f commit e078439
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

# postInstall will build the product
- name: Install dependencies and Build the product
run: pnpm install
run: pnpm install --no-frozen-lockfile

- name: Workflow failed alert
if: ${{ failure() }}
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-algorithm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/gi-assets-algorithm",
"version": "2.3.8",
"version": "2.3.9",
"description": "G6VP 图分析算法资产库",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/gi-assets-basic",
"version": "2.4.14",
"version": "2.4.16",
"description": "G6VP 基础资产包",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ const Toolbar = (props: ToolbarProps) => {
const { GIAC_CONTENT } = itemProps;
const title = GIAC_CONTENT ? GIAC_CONTENT.title : 'EMPTY';
const buttonType = isActive ? 'primary' : 'text';

if (!HAS_GRAPH) {
return null;
}

if (!GIAC_CONTENT) {
return <ItemComponent {...itemProps} />;
}
Expand All @@ -51,7 +53,7 @@ const Toolbar = (props: ToolbarProps) => {
justifyContent: 'center',
alignItems: 'center',
width: 32,
marginRight: 8,
marginRight: 4,
...(isActive ? ActiveButtonStyle : {}),
}}
onClick={() => {
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/gi-sdk",
"version": "2.4.10",
"version": "2.4.12",
"description": "G6VP 核心画布渲染",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
3 changes: 2 additions & 1 deletion packages/gi-sdk/src/components/GIAC.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ const GIAComponent = (props: GIAComponentProps) => {
} = GIAC || GIAC_PROPS.GIAC;

const buttonStyle = isVertical
? { height: '100%' }
? { height: '100%', padding: '4px 8px' }
: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
};

return (
<div
style={{ display: 'flex', alignContent: 'center', alignItems: 'center', justifyContent: 'center' }}
Expand Down

0 comments on commit e078439

Please sign in to comment.