@linto-ai/transcript-ui-core 0.9.21 → 0.9.22-unstable.202609181254

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linto-ai/transcript-ui-core",
3
- "version": "0.9.21",
3
+ "version": "0.9.22-unstable.202609181254",
4
4
  "description": "State layer and UI shell for @linto-ai/transcript-ui — core, stores, format adapters, and the TranscriptUI component",
5
5
  "keywords": [
6
6
  "vue",
@@ -39,8 +39,8 @@
39
39
  "vue": "^3.5.0"
40
40
  },
41
41
  "dependencies": {
42
- "@linto-ai/transcript-ui-i18n": "0.9.21",
43
- "@linto-ai/transcript-ui-ui": "0.9.21",
42
+ "@linto-ai/transcript-ui-i18n": "0.9.22-unstable.202609181254",
43
+ "@linto-ai/transcript-ui-ui": "0.9.22-unstable.202609181254",
44
44
  "lucide-vue-next": "^0.564.0",
45
45
  "reka-ui": "^2.8.0",
46
46
  "vue-stick-to-bottom": "^1.0.0"
@@ -65,20 +65,22 @@ const metaParts = computed(() =>
65
65
  @click="$emit('toggleSidebar')">
66
66
  <template #icon><EditorIcon name="users" :size="16" /></template>
67
67
  </Button>
68
- <Button
69
- variant="secondary"
70
- :aria-label="t('header.undo')"
71
- :disabled="!props.canUndo"
72
- @click="$emit('undo')">
73
- <template #icon><EditorIcon name="undo" :size="16" /></template>
74
- </Button>
75
- <Button
76
- variant="secondary"
77
- :aria-label="t('header.redo')"
78
- :disabled="!props.canRedo"
79
- @click="$emit('redo')">
80
- <template #icon><EditorIcon name="redo" :size="16" /></template>
81
- </Button>
68
+ <template v-if="props.canUndo || props.canRedo">
69
+ <Button
70
+ variant="secondary"
71
+ :aria-label="t('header.undo')"
72
+ :disabled="!props.canUndo"
73
+ @click="$emit('undo')">
74
+ <template #icon><EditorIcon name="undo" :size="16" /></template>
75
+ </Button>
76
+ <Button
77
+ variant="secondary"
78
+ :aria-label="t('header.redo')"
79
+ :disabled="!props.canRedo"
80
+ @click="$emit('redo')">
81
+ <template #icon><EditorIcon name="redo" :size="16" /></template>
82
+ </Button>
83
+ </template>
82
84
  <Button
83
85
  variant="primary"
84
86
  :aria-label="t('header.ask')"