Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update version #517

Merged
merged 2 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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