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

chore: new versions release #118

Merged
merged 3 commits into from
Nov 12, 2024
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
9 changes: 9 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# CHANGELOG

## 0.4.0

### Major Changes

- feat: 新增 907 个新图标
- feat: `blockchain` 重命名改为`transform-1`,`gesture-pray-1`重命名为`gesture-open`,
`gesture-ranslation-1`重命名为`wave-bye`, `gesture-up-1`重命名为`gesture-typing`,`gesture-up-2`重命名为`gesture-right-slip`,`logo-wechat`重命名为`logo-wechat-stroke-filled`
- feat: 移除`tree-list`、`logo-adobe-photoshop-1` 图标

## 0.3.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tdesign-icons-react",
"version": "0.3.5",
"version": "0.4.0",
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tdesign-icons.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/iconfont/iconfont.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface IconFontProps extends HTMLAttributes<HTMLElement> {
loadDefaultIcons?: boolean;
}

const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.2.1/fonts/index.css';
const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.3.0/fonts/index.css';

/**
* 图标组件
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/svg-sprite/svg-sprite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface SpriteIconProps extends BaseIconProps {
className?: string;
}

const CDN_SVGSPRITE_URL = 'https://tdesign.gtimg.com/icon/0.2.1/fonts/index.js';
const CDN_SVGSPRITE_URL = 'https://tdesign.gtimg.com/icon/0.3.0/fonts/index.js';

/**
* 图标组件
Expand Down
9 changes: 9 additions & 0 deletions packages/svg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# tdesign-icons-svg

## 0.3.0

### Major Changes

- feat: 新增 907 个新图标
- feat: `blockchain` 重命名改为`transform-1`,`gesture-pray-1`重命名为`gesture-open`,
`gesture-ranslation-1`重命名为`wave-bye`, `gesture-up-1`重命名为`gesture-typing`,`gesture-up-2`重命名为`gesture-right-slip`,`logo-wechat`重命名为`logo-wechat-stroke-filled`
- feat: 移除`tree-list`、`logo-adobe-photoshop-1` 图标

## 0.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/svg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tdesign-icons-svg",
"version": "0.2.2",
"version": "0.3.0",
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tdesign-icons.git",
Expand Down
9 changes: 9 additions & 0 deletions packages/view/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# tdesign-icons-view

## 0.3.0

### Major Changes

- feat: 新增 907 个新图标
- feat: `blockchain` 重命名改为`transform-1`,`gesture-pray-1`重命名为`gesture-open`,
`gesture-ranslation-1`重命名为`wave-bye`, `gesture-up-1`重命名为`gesture-typing`,`gesture-up-2`重命名为`gesture-right-slip`,`logo-wechat`重命名为`logo-wechat-stroke-filled`
- feat: 移除`tree-list`、`logo-adobe-photoshop-1` 图标

## 0.2.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/view/src/i18n/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export default {
outline: 'outline',
filled: 'filled',
},
search: 'enter icon name to search',
search: 'enter the icon name or keyword to search',
copied: 'copied',
};
2 changes: 1 addition & 1 deletion packages/view/src/i18n/zh-CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default {
outline: '描边风格',
filled: '填充风格',
},
search: '输入图标名称搜索',
search: '输入图标名称或关键词可以搜索',
copied: '复制成功',

};
9 changes: 9 additions & 0 deletions packages/vue-next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# CHANGELOG

## 0.3.0

### Major Changes

- feat: 新增 907 个新图标
- feat: `blockchain` 重命名改为`transform-1`,`gesture-pray-1`重命名为`gesture-open`,
`gesture-ranslation-1`重命名为`wave-bye`, `gesture-up-1`重命名为`gesture-typing`,`gesture-up-2`重命名为`gesture-right-slip`,`logo-wechat`重命名为`logo-wechat-stroke-filled`
- feat: 移除`tree-list`、`logo-adobe-photoshop-1` 图标

## 0.2.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tdesign-icons-vue-next",
"version": "0.2.6",
"version": "0.3.1",
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tdesign-icons.git",
Expand Down
4 changes: 2 additions & 2 deletions packages/vue-next/src/iconfont/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import '../style/css';

const { classPrefix } = ConfigContext;

const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.2.1/fonts/index.css';
const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.3.0/fonts/index.css';

export const IconFont = defineComponent({
name: 'IconFont',
Expand Down Expand Up @@ -52,7 +52,7 @@ export const IconFont = defineComponent({
const finalProps = computed(() => ({
class: classNames.value,
style: finalStyle.value,
onClick: (e:MouseEvent) => props.onClick?.({ e }),
onClick: (e: MouseEvent) => props.onClick?.({ e }),
}));

return () => h(props.tag || 'i', finalProps.value);
Expand Down
4 changes: 2 additions & 2 deletions packages/vue-next/src/svg-sprite/svg-sprite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '../style/css';

const { classPrefix } = ConfigContext;

const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.2.1/fonts/index.js';
const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.3.0/fonts/index.js';

export default defineComponent({
name: 'Icon',
Expand Down Expand Up @@ -48,7 +48,7 @@ export default defineComponent({
const finalProps = computed(() => ({
class: classNames.value,
style: finalStyle.value,
onClick: (e:MouseEvent) => props.onClick?.({ e }),
onClick: (e: MouseEvent) => props.onClick?.({ e }),
}));

return () => h('svg', finalProps.value, h('use', { href: props.url ? `#${name.value}` : `#t-icon-${name.value}` }));
Expand Down
9 changes: 9 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# CHANGELOG

## 0.3.0

### Major Changes

- feat: 新增 907 个新图标
- feat: `blockchain` 重命名改为`transform-1`,`gesture-pray-1`重命名为`gesture-open`,
`gesture-ranslation-1`重命名为`wave-bye`, `gesture-up-1`重命名为`gesture-typing`,`gesture-up-2`重命名为`gesture-right-slip`,`logo-wechat`重命名为`logo-wechat-stroke-filled`
- feat: 移除`tree-list`、`logo-adobe-photoshop-1` 图标

## 0.2.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tdesign-icons-vue",
"version": "0.2.5",
"version": "0.3.0",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/iconfont/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import '../style/css';

const { classPrefix } = ConfigContext;

const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.2.1/fonts/index.css';
const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.3.0/fonts/index.css';

export const IconFont = Vue.extend({
name: 'IconFont',
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/src/svg-sprite/svg-sprite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { classPrefix } = ConfigContext;

const tName = `${classPrefix}-icon`;

const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.2.1/fonts/index.js';
const CDN_ICONFONT_URL = 'https://tdesign.gtimg.com/icon/0.3.0/fonts/index.js';

export default Vue.extend({
name: 'Icon',
Expand Down Expand Up @@ -62,7 +62,7 @@ export default Vue.extend({
};
return (
<svg class={this.classes} style={this.iconStyle} onClick={this.handleClick}>
<use {...{ attrs }}/>
<use {...{ attrs }} />
</svg>
);
},
Expand Down
9 changes: 9 additions & 0 deletions packages/web-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# tdesign-icons-web-components

## 0.2.0

### Major Changes

- feat: 新增 907 个新图标
- feat: `blockchain` 重命名改为`transform-1`,`gesture-pray-1`重命名为`gesture-open`,
`gesture-ranslation-1`重命名为`wave-bye`, `gesture-up-1`重命名为`gesture-typing`,`gesture-up-2`重命名为`gesture-right-slip`,`logo-wechat`重命名为`logo-wechat-stroke-filled`
- feat: 移除`tree-list`、`logo-adobe-photoshop-1` 图标

## 0.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tdesign-icons-web-components",
"version": "0.1.5",
"version": "0.2.0",
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tdesign-icons.git",
Expand Down