Skip to content

Commit

Permalink
feat(core): Table title 和 toolbar 换行
Browse files Browse the repository at this point in the history
  • Loading branch information
vaynevayne committed Jul 26, 2023
1 parent 0a57de6 commit 2446c98
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 11 deletions.
6 changes: 3 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"deploy": "pnpm build && touch ./storybook-static/.nojekyll && gh-pages -d ./storybook-static -t true"
},
"dependencies": {
"@soul/core": "workspace:0.0.13",
"@soul/core": "workspace:0.0.14",
"mockjs": "^1.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@soul/tsconfig": "workspace:0.0.12",
"@soul/tsconfig": "workspace:0.0.13",
"@storybook/addon-essentials": "^7.0.12",
"@storybook/addon-interactions": "^7.0.12",
"@storybook/addon-links": "^7.0.12",
Expand All @@ -26,7 +26,7 @@
"@storybook/testing-library": "^0.0.14-next.2",
"@types/react": "^18.2.7",
"@vitejs/plugin-react": "^1.3.2",
"eslint-config-soul": "workspace:0.0.12",
"eslint-config-soul": "workspace:0.0.13",
"eslint-plugin-storybook": "^0.6.12",
"prop-types": "^15.8.1",
"serve": "^13.0.4",
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config-soul/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# eslint-config-soul

## 0.0.13

### Patch Changes

- 121

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-soul/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-soul",
"version": "0.0.12",
"version": "0.0.13",
"main": "index.js",
"license": "MIT",
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/soul-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @soul/core

## 0.0.14

### Patch Changes

- 121
- Updated dependencies
- @soul/utils@0.0.14

## 0.0.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/soul-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soul/core",
"version": "0.0.13",
"version": "0.0.14",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/soul-core/src/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const SoulTable: React.ForwardRefRenderFunction<Handle, TableProps> = (
return (
<>
<ColumnsStateContext.Provider value={contextValue}>
<Row wrap={false}>
<Row>
<Col flex={1}>{title?.(dataSource)}</Col>
<Col flex="none">
{meta.toolbar === false ? null : (
Expand Down
6 changes: 6 additions & 0 deletions packages/soul-tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @soul/tsconfig

## 0.0.13

### Patch Changes

- 121

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/soul-tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soul/tsconfig",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"license": "MIT",
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/soul-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @soul/utils

## 0.0.14

### Patch Changes

- 121

## 0.0.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/soul-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@soul/utils",
"version": "0.0.13",
"version": "0.0.14",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2446c98

Please sign in to comment.