Skip to content

Commit

Permalink
chore:New hashid (#8341)
Browse files Browse the repository at this point in the history
* chore: fix hashid

* 🎨 chore(release): Publish

 - @ant-design/pro-card@2.8.2
 - @ant-design/pro-components@2.7.8
 - @ant-design/pro-descriptions@2.5.43
 - @ant-design/pro-field@2.14.16
 - @ant-design/pro-form@2.26.6
 - @ant-design/pro-layout@7.19.6
 - @ant-design/pro-list@2.5.59
 - @ant-design/pro-provider@2.14.6
 - @ant-design/pro-table@3.15.10
 - @ant-design/pro-utils@2.15.12

* try build

* pnpm i
  • Loading branch information
chenshuai2144 authored Apr 22, 2024
1 parent 1bab3b2 commit 0f478fd
Show file tree
Hide file tree
Showing 25 changed files with 121 additions and 82 deletions.
4 changes: 4 additions & 0 deletions packages/card/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.8.2](https://github.com/ant-design/pro-components/compare/@ant-design/pro-card@2.8.1...@ant-design/pro-card@2.8.2) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-card

## [2.8.1](https://github.com/ant-design/pro-components/compare/@ant-design/pro-card@2.8.0...@ant-design/pro-card@2.8.1) (2024-04-21)

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions packages/card/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-card",
"version": "2.8.1",
"version": "2.8.2",
"description": "@ant-design/pro-card",
"keywords": [
"antd",
Expand Down Expand Up @@ -35,8 +35,8 @@
],
"dependencies": {
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-provider": "2.14.6",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.18.0",
"classnames": "^2.3.2",
"omit.js": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/card/src/components/CheckCard/demos/group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CheckCard } from '@ant-design/pro-components';
import { Divider } from 'antd';

export default () => (
<div style={{ padding: 24, backgroundColor: '#f7f8fa' }}>
<div style={{ padding: 24 }}>
<CheckCard.Group
size="small"
options={['🍎 Apple', '🍐 Pear', '🍊 Orange']}
Expand Down
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.7.8](https://github.com/ant-design/pro-components/compare/@ant-design/pro-components@2.7.7...@ant-design/pro-components@2.7.8) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-components

## [2.7.7](https://github.com/ant-design/pro-components/compare/@ant-design/pro-components@2.7.6...@ant-design/pro-components@2.7.7) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-components
Expand Down
20 changes: 10 additions & 10 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-components",
"version": "2.7.7",
"version": "2.7.8",
"description": "@ant-design/pro-components",
"keywords": [
"antd",
Expand Down Expand Up @@ -35,16 +35,16 @@
"ie >= 11"
],
"dependencies": {
"@ant-design/pro-card": "2.8.1",
"@ant-design/pro-descriptions": "2.5.42",
"@ant-design/pro-field": "2.14.15",
"@ant-design/pro-form": "2.26.5",
"@ant-design/pro-layout": "7.19.5",
"@ant-design/pro-list": "2.5.58",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-card": "2.8.2",
"@ant-design/pro-descriptions": "2.5.43",
"@ant-design/pro-field": "2.14.16",
"@ant-design/pro-form": "2.26.6",
"@ant-design/pro-layout": "7.19.6",
"@ant-design/pro-list": "2.5.59",
"@ant-design/pro-provider": "2.14.6",
"@ant-design/pro-skeleton": "2.1.13",
"@ant-design/pro-table": "3.15.9",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-table": "3.15.10",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.16.3"
},
"peerDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/descriptions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.5.43](https://github.com/ant-design/pro-components/compare/@ant-design/pro-descriptions@2.5.42...@ant-design/pro-descriptions@2.5.43) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-descriptions

## [2.5.42](https://github.com/ant-design/pro-components/compare/@ant-design/pro-descriptions@2.5.41...@ant-design/pro-descriptions@2.5.42) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-descriptions
Expand Down
10 changes: 5 additions & 5 deletions packages/descriptions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-descriptions",
"version": "2.5.42",
"version": "2.5.43",
"description": "@ant-design/pro-descriptions",
"keywords": [
"antd",
Expand Down Expand Up @@ -34,11 +34,11 @@
"ie >= 11"
],
"dependencies": {
"@ant-design/pro-field": "2.14.15",
"@ant-design/pro-form": "2.26.5",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-field": "2.14.16",
"@ant-design/pro-form": "2.26.6",
"@ant-design/pro-provider": "2.14.6",
"@ant-design/pro-skeleton": "2.1.13",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.18.0",
"rc-resize-observer": "^0.2.3",
"rc-util": "^5.0.6"
Expand Down
4 changes: 4 additions & 0 deletions packages/field/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.16](https://github.com/ant-design/pro-components/compare/@ant-design/pro-field@2.14.15...@ant-design/pro-field@2.14.16) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-field

## [2.14.15](https://github.com/ant-design/pro-components/compare/@ant-design/pro-field@2.14.14...@ant-design/pro-field@2.14.15) (2024-04-21)

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions packages/field/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-field",
"version": "2.14.15",
"version": "2.14.16",
"description": "原子信息组件,统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。",
"homepage": "https://github.com/ant-design/pro-components/tree/master/packages/plugin-layout#readme",
"bugs": "https://github.com/ant-design/pro-components/issues",
Expand Down Expand Up @@ -30,8 +30,8 @@
],
"dependencies": {
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-provider": "2.14.6",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.18.0",
"@chenshuai2144/sketch-color": "^1.0.8",
"classnames": "^2.3.2",
Expand Down
4 changes: 4 additions & 0 deletions packages/form/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.26.6](https://github.com/ant-design/pro-components/compare/@ant-design/pro-form@2.26.5...@ant-design/pro-form@2.26.6) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-form

## [2.26.5](https://github.com/ant-design/pro-components/compare/@ant-design/pro-form@2.26.4...@ant-design/pro-form@2.26.5) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-form
Expand Down
8 changes: 4 additions & 4 deletions packages/form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-form",
"version": "2.26.5",
"version": "2.26.6",
"description": "@ant-design/pro-form",
"keywords": [
"antd",
Expand Down Expand Up @@ -35,9 +35,9 @@
],
"dependencies": {
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-field": "2.14.15",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-field": "2.14.16",
"@ant-design/pro-provider": "2.14.6",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.18.0",
"@chenshuai2144/sketch-color": "^1.0.7",
"@umijs/use-params": "^1.0.9",
Expand Down
4 changes: 4 additions & 0 deletions packages/layout/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [7.19.6](https://github.com/ant-design/pro-components/compare/@ant-design/pro-layout@7.19.5...@ant-design/pro-layout@7.19.6) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-layout

## [7.19.5](https://github.com/ant-design/pro-components/compare/@ant-design/pro-layout@7.19.4...@ant-design/pro-layout@7.19.5) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-layout
Expand Down
6 changes: 3 additions & 3 deletions packages/layout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-layout",
"version": "7.19.5",
"version": "7.19.6",
"description": "@ant-design/pro-layout",
"keywords": [
"antd",
Expand Down Expand Up @@ -35,8 +35,8 @@
],
"dependencies": {
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-provider": "2.14.6",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.18.0",
"@umijs/route-utils": "^4.0.0",
"@umijs/use-params": "^1.0.9",
Expand Down
1 change: 1 addition & 0 deletions packages/layout/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"resolveJsonModule": true,
"paths": {
"@ant-design/pro-provider": ["../../packages/provider/src/index.tsx"],
"@ant-design/pro-components": ["../../packages/components/src/index.tsx"],
"@ant-design/pro-utils": ["../../packages/utils/src/index.tsx"]
}
},
Expand Down
4 changes: 4 additions & 0 deletions packages/list/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.5.59](https://github.com/ant-design/pro-components/compare/@ant-design/pro-list@2.5.58...@ant-design/pro-list@2.5.59) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-list

## [2.5.58](https://github.com/ant-design/pro-components/compare/@ant-design/pro-list@2.5.57...@ant-design/pro-list@2.5.58) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-list
Expand Down
10 changes: 5 additions & 5 deletions packages/list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-list",
"version": "2.5.58",
"version": "2.5.59",
"description": "🏆 Use Ant Design List like a Pro!",
"keywords": [
"antd",
Expand Down Expand Up @@ -33,10 +33,10 @@
],
"dependencies": {
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-card": "2.8.1",
"@ant-design/pro-field": "2.14.15",
"@ant-design/pro-table": "3.15.9",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-card": "2.8.2",
"@ant-design/pro-field": "2.14.16",
"@ant-design/pro-table": "3.15.10",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.18.0",
"classnames": "^2.3.2",
"dayjs": "^1.11.10",
Expand Down
4 changes: 4 additions & 0 deletions packages/provider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.14.6](https://github.com/ant-design/pro-components/compare/@ant-design/pro-provider@2.14.5...@ant-design/pro-provider@2.14.6) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-provider

## [2.14.5](https://github.com/ant-design/pro-components/compare/@ant-design/pro-provider@2.14.4...@ant-design/pro-provider@2.14.5) (2024-04-21)

### Bug Fixes
Expand Down
3 changes: 1 addition & 2 deletions packages/provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-provider",
"version": "2.14.5",
"version": "2.14.6",
"description": "@ant-design/pro-provider",
"keywords": [
"antd",
Expand Down Expand Up @@ -34,7 +34,6 @@
],
"dependencies": {
"@ant-design/cssinjs": "^1.11.1",
"@ant-design/pro-utils": "2.15.11",
"@babel/runtime": "^7.18.0",
"@ctrl/tinycolor": "^3.4.0",
"rc-util": "^5.0.1",
Expand Down
6 changes: 4 additions & 2 deletions packages/provider/src/useStyle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ export function useStyle(
) {
let { token = {} as Record<string, any> as ProAliasToken } =
useContext(ProProvider);
const { hashed } = useContext(ProProvider);

const { token: antdToken, hashId } = useToken();

const { theme: provideTheme } = useContext(ProProvider);

const { getPrefixCls } = useContext(AntdConfigProvider.ConfigContext);
Expand All @@ -124,11 +127,10 @@ export function useStyle(
{
theme: provideTheme!,
token,
hashId,
path: [componentName],
},
() => styleFn(token as ProAliasToken),
),
hashId,
hashId: hashed ? hashId : '',
};
}
4 changes: 4 additions & 0 deletions packages/table/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.15.10](https://github.com/ant-design/pro-components/compare/@ant-design/pro-table@3.15.9...@ant-design/pro-table@3.15.10) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-table

## [3.15.9](https://github.com/ant-design/pro-components/compare/@ant-design/pro-table@3.15.8...@ant-design/pro-table@3.15.9) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-table
Expand Down
12 changes: 6 additions & 6 deletions packages/table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-table",
"version": "3.15.9",
"version": "3.15.10",
"description": "🏆 Use Ant Design Table like a Pro!",
"keywords": [
"antd",
Expand Down Expand Up @@ -35,11 +35,11 @@
],
"dependencies": {
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-card": "2.8.1",
"@ant-design/pro-field": "2.14.15",
"@ant-design/pro-form": "2.26.5",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-utils": "2.15.11",
"@ant-design/pro-card": "2.8.2",
"@ant-design/pro-field": "2.14.16",
"@ant-design/pro-form": "2.26.6",
"@ant-design/pro-provider": "2.14.6",
"@ant-design/pro-utils": "2.15.12",
"@babel/runtime": "^7.18.0",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/modifiers": "^6.0.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.15.12](https://github.com/ant-design/pro-components/compare/@ant-design/pro-utils@2.15.11...@ant-design/pro-utils@2.15.12) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-utils

## [2.15.11](https://github.com/ant-design/pro-components/compare/@ant-design/pro-utils@2.15.10...@ant-design/pro-utils@2.15.11) (2024-04-21)

**Note:** Version bump only for package @ant-design/pro-utils
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/pro-utils",
"version": "2.15.11",
"version": "2.15.12",
"description": "@ant-design/pro-utils",
"keywords": [
"antd",
Expand Down Expand Up @@ -35,7 +35,7 @@
],
"dependencies": {
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-provider": "2.14.5",
"@ant-design/pro-provider": "2.14.6",
"@babel/runtime": "^7.18.0",
"classnames": "^2.3.2",
"dayjs": "^1.11.10",
Expand Down
Loading

0 comments on commit 0f478fd

Please sign in to comment.