Skip to content

Commit

Permalink
feat: semi 2.71.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rashagu committed Dec 16, 2024
1 parent 5d7503b commit 37e408e
Show file tree
Hide file tree
Showing 12 changed files with 78 additions and 78 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"packages/vite-plugin-semi-theme"
],
"dependencies": {
"@douyinfe/semi-foundation": "2.71.0",
"@douyinfe/semi-theme-default": "2.71.0",
"@douyinfe/semi-foundation": "2.71.2",
"@douyinfe/semi-theme-default": "2.71.2",
"@vue/repl": "4.4.2",
"lodash": "^4.17.21",
"vue": "^3.5.13"
Expand All @@ -48,7 +48,7 @@
"@babel/preset-react": "^7.16.7",
"@changesets/cli": "^2.27.1",
"@chromatic-com/storybook": "1.3.4",
"@douyinfe/semi-theme-default": "2.71.0",
"@douyinfe/semi-theme-default": "2.71.2",
"@kousum/semi-icons-lab-vue": "workspace: *",
"@kousum/semi-icons-vue": "workspace: *",
"@kousum/semi-illustrations-vue": "workspace: *",
Expand Down
8 changes: 4 additions & 4 deletions packages/semi-animation-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"preview": "vite preview"
},
"dependencies": {
"@douyinfe/semi-animation": "2.71.0",
"@douyinfe/semi-animation-styled": "2.71.0",
"@douyinfe/semi-foundation": "2.71.0",
"@douyinfe/semi-theme-default": "2.71.0",
"@douyinfe/semi-animation": "2.71.2",
"@douyinfe/semi-animation-styled": "2.71.2",
"@douyinfe/semi-foundation": "2.71.2",
"@douyinfe/semi-theme-default": "2.71.2",
"classnames": "^2.3.2",
"sass": "^1.57.1",
"vue": "^3.5.13"
Expand Down
4 changes: 2 additions & 2 deletions packages/semi-icons-lab-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"preview": "vite preview"
},
"dependencies": {
"@douyinfe/semi-foundation": "2.71.0",
"@douyinfe/semi-theme-default": "2.71.0",
"@douyinfe/semi-foundation": "2.71.2",
"@douyinfe/semi-theme-default": "2.71.2",
"classnames": "^2.3.2",
"sass": "^1.57.1",
"vue": "^3.5.13"
Expand Down
4 changes: 2 additions & 2 deletions packages/semi-icons-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"preview": "vite preview"
},
"dependencies": {
"@douyinfe/semi-foundation": "2.71.0",
"@douyinfe/semi-theme-default": "2.71.0",
"@douyinfe/semi-foundation": "2.71.2",
"@douyinfe/semi-theme-default": "2.71.2",
"classnames": "^2.3.2",
"sass": "^1.57.1",
"vue": "^3.5.13"
Expand Down
4 changes: 2 additions & 2 deletions packages/semi-illustrations-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"build:icon": "node scripts/build-illustration.cjs"
},
"dependencies": {
"@douyinfe/semi-foundation": "2.71.0",
"@douyinfe/semi-theme-default": "2.71.0",
"@douyinfe/semi-foundation": "2.71.2",
"@douyinfe/semi-theme-default": "2.71.2",
"classnames": "^2.3.2",
"vue": "^3.5.13"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/semi-ui-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"url": "https://github.com/rashagu/semi-design-vue"
},
"dependencies": {
"@douyinfe/semi-foundation": "2.71.0",
"@douyinfe/semi-theme-default": "2.71.0",
"@douyinfe/semi-animation": "2.71.0",
"@douyinfe/semi-foundation": "2.71.2",
"@douyinfe/semi-theme-default": "2.71.2",
"@douyinfe/semi-animation": "2.71.2",
"@kousum/semi-animation-vue": "workspace:*",
"@kousum/semi-icons-vue": "workspace:*",
"@kousum/semi-illustrations-vue": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const chatBoxContent = defineComponent({
[`${PREFIX_CHAT_BOX}-content-user`]: (bubble && isUser) || userBubble,
[`${PREFIX_CHAT_BOX}-content-error`]: props.message.status === MESSAGE_STATUS.ERROR && (bubble || userBubble)
});
}, [()=>props.message.role, ()=>props.message.status]);
}, [()=>props.message.role, ()=>props.message.status, ()=>props.mode]);

const node = useMemo(() => {
if (props.message.status === MESSAGE_STATUS.LOADING) {
Expand Down
2 changes: 1 addition & 1 deletion packages/semi-ui-vue/src/components/chat/chatBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const index = defineComponent({
customRenderFunc={props.chatBoxRenderConfig.renderChatBoxContent}
/>
);
}, [() => props.message, info, () => props.chatBoxRenderConfig.renderChatBoxContent]);
}, [() => props.message, info, () => props.chatBoxRenderConfig.renderChatBoxContent, () => props.mode]);

const actionNode = useMemo(() => {
return (
Expand Down
1 change: 1 addition & 0 deletions packages/semi-ui-vue/src/components/collapsible/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import * as PropTypes from '../PropTypes';
import { vuePropsMake } from '../PropTypes';
import cls from 'classnames';
import { cssClasses } from '@douyinfe/semi-foundation/collapsible/constants';
import { isEqual, omit, pick } from "lodash";
import '@douyinfe/semi-foundation/collapsible/collapsible.scss';
import {
ComponentObjectPropsOptions,
Expand Down
18 changes: 9 additions & 9 deletions packages/semi-ui-vue/src/components/toast/__test__/ToastDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ const ToastDemo = defineComponent((props, {}) => {
};
return () => {

return <Button onClick={() => {
Toast.info('opts.value')
// setTimeout(() => {
// opts.value = {
// content: 'Hi, Bytedansssssssssssce dance dance',
// duration: 3,
// }
// }, 1000)
}}>Display Toast</Button>
// return <Button onClick={() => {
// Toast.info('opts.value')
// // setTimeout(() => {
// // opts.value = {
// // content: 'Hi, Bytedansssssssssssce dance dance',
// // duration: 3,
// // }
// // }, 1000)
// }}>Display Toast</Button>
return (
<div>

Expand Down
4 changes: 3 additions & 1 deletion packages/semi-ui-vue/src/components/tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,9 @@ const Tooltip = defineComponent({

nextTick(() => {
setTimeout(() => {
eventManager.value.emit('portalInserted');
if(state.transitionState === 'enter'){
eventManager.value.emit('portalInserted');
}
}, 0);
});
},
Expand Down
97 changes: 47 additions & 50 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 37e408e

Please sign in to comment.