diff --git a/.gitignore b/.gitignore index 3488237..f4a55f8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ pnpm-debug.log* lerna-debug.log* node_modules +dist +dist-ssr *.local # Editor directories and files @@ -36,4 +38,3 @@ Desktop.ini yarn.lock .ai/ -dist/ diff --git a/demo/App.vue b/demo/App.vue index 5c36825..5e55512 100644 --- a/demo/App.vue +++ b/demo/App.vue @@ -2211,7 +2211,6 @@ const handleCustomMenuAction = (action: string, task: Task) => { :view-mode="viewMode" :resource-list-config="resourceListConfig" :locale="controlMode === 'props' ? propsLocale : undefined" - :theme="controlMode === 'props' ? propsTheme : undefined" :time-scale="controlMode === 'props' ? propsTimeScale : undefined" :fullscreen="controlMode === 'props' ? propsFullscreen : undefined" :expand-all="controlMode === 'props' ? propsExpandAll : undefined" diff --git a/demo/version-history.json b/demo/version-history.json index 6d36d38..f1c06f7 100644 --- a/demo/version-history.json +++ b/demo/version-history.json @@ -492,5 +492,19 @@ "🎉 Optimized: The assignee and avatar properties of the Task object now accept arrays to mark multiple assignees", "Special thanks to yunlbs/fhjfhj/jakepan@gitee for their use and suggestions" ] + }, + { + "version": "1.8.1", + "date": "2026-02-05", + "notes": [ + "🎉 优化:重构组件,Theme作用域从全局调整至局部.gantt-root", + "🎉 优化:重构组件,Theme自动跟随系统设置", + "🎉 优化:重构组件,完美支持Nuxt3、TailwindCSS等框架", + "特别感谢andrijor@gmail.com的专业反馈", + "🎉 Optimized: Refactored components, Theme scope adjusted from global to local .gantt-root", + "🎉 Optimized: Refactored components, Theme automatically follows system settings", + "🎉 Optimized: Refactored components, Perfectly supports Nuxt3, TailwindCSS and other frameworks", + "Special thanks to andrijor@gmail.com for their professional feedback" + ] } ] diff --git a/package.json b/package.json index e95c571..2cf9f13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jordium-gantt-vue3", - "version": "1.9.0", + "version": "1.8.1", "type": "module", "main": "npm-package/dist/jordium-gantt-vue3.cjs.js", "module": "npm-package/dist/jordium-gantt-vue3.es.js", diff --git a/src/components/ConfirmTimerDialog.vue b/src/components/ConfirmTimerDialog.vue index 8f3a64e..df19e08 100644 --- a/src/components/ConfirmTimerDialog.vue +++ b/src/components/ConfirmTimerDialog.vue @@ -1,4 +1,4 @@ - @@ -330,7 +289,6 @@ const assigneeDisplayData = computed(() => { :data-task-id="props.task.id" :class="{ 'task-row-hovered': isHovered, - 'task-type-resource': isResourceRow, /* v1.9.0 资源视图始终显示左边框 */ 'parent-task': isParentTask, 'milestone-group-row': isMilestoneGroup, 'task-type-story': isStoryTask, @@ -338,7 +296,7 @@ const assigneeDisplayData = computed(() => { 'task-type-milestone': isMilestoneTask, [customRowClass]: customRowClass, }" - :style="[customRowStyle, customBorderStyle, { height: `${rowHeight}px` }]" + :style="[customRowStyle, customBorderStyle]" @click="handleRowClick" @dblclick="handleTaskRowDoubleClick" @mousedown="handleMouseDown" @@ -400,40 +358,11 @@ const assigneeDisplayData = computed(() => { - -
- - - - - -
- -
- {{ (props.task as any).name || '-' }} -
- - { {{ column.formatter(props.task, column) }} - - - - +