@globalbrain/sefirot 4.24.0 → 4.25.0
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/lib/components/SActionMenu.vue +1 -1
- package/lib/components/SButton.vue +3 -3
- package/lib/components/SControlActionMenu.vue +1 -1
- package/lib/components/SControlButton.vue +1 -1
- package/lib/components/SLocalNavActions.vue +2 -1
- package/lib/components/SMarkdown.vue +2 -2
- package/lib/components/SMount.vue +2 -2
- package/lib/components/STooltip.vue +3 -3
- package/package.json +10 -10
|
@@ -22,8 +22,8 @@ export type Mode =
|
|
|
22
22
|
| 'danger'
|
|
23
23
|
|
|
24
24
|
export interface Tooltip {
|
|
25
|
-
tag?: string
|
|
26
|
-
triggerTag?: string
|
|
25
|
+
tag?: Component | string
|
|
26
|
+
triggerTag?: Component | string
|
|
27
27
|
text?: MaybeRef<string | null>
|
|
28
28
|
position?: Position
|
|
29
29
|
display?: 'inline' | 'inline-block' | 'block'
|
|
@@ -32,7 +32,7 @@ export interface Tooltip {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
const props = defineProps<{
|
|
35
|
-
tag?: string
|
|
35
|
+
tag?: Component | string
|
|
36
36
|
size?: Size
|
|
37
37
|
type?: Type
|
|
38
38
|
mode?: Mode
|
|
@@ -3,7 +3,7 @@ import { type Component } from 'vue'
|
|
|
3
3
|
import SButton, { type Mode, type Tooltip, type Type } from './SButton.vue'
|
|
4
4
|
|
|
5
5
|
export interface Action {
|
|
6
|
-
tag?: string
|
|
6
|
+
tag?: Component | string
|
|
7
7
|
type?: Type
|
|
8
8
|
mode?: Mode
|
|
9
9
|
icon?: Component
|
|
@@ -29,6 +29,7 @@ defineProps<{
|
|
|
29
29
|
<div v-for="action, i in actions" :key="i" class="action">
|
|
30
30
|
<SButton
|
|
31
31
|
size="small"
|
|
32
|
+
:tag="action.tag"
|
|
32
33
|
:type="action.type"
|
|
33
34
|
:mode="action.mode"
|
|
34
35
|
:icon="action.icon"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { computed } from 'vue'
|
|
2
|
+
import { type Component, computed } from 'vue'
|
|
3
3
|
import { useMarkdown } from '../composables/Markdown'
|
|
4
4
|
|
|
5
5
|
const props = withDefaults(defineProps<{
|
|
6
|
-
tag?: string
|
|
6
|
+
tag?: Component | string
|
|
7
7
|
content: string
|
|
8
8
|
html?: boolean
|
|
9
9
|
inline?: boolean
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { onClickOutside, onKeyStroke, useElementHover, useFocusWithin } from '@vueuse/core'
|
|
3
|
-
import { computed, onBeforeUnmount, ref, shallowRef, watch } from 'vue'
|
|
3
|
+
import { type Component, computed, onBeforeUnmount, ref, shallowRef, watch } from 'vue'
|
|
4
4
|
import { type Position, useTooltip } from '../composables/Tooltip'
|
|
5
5
|
|
|
6
6
|
const props = withDefaults(defineProps<{
|
|
7
|
-
tag?: string
|
|
8
|
-
triggerTag?: string
|
|
7
|
+
tag?: Component | string
|
|
8
|
+
triggerTag?: Component | string
|
|
9
9
|
text?: string
|
|
10
10
|
position?: Position
|
|
11
11
|
display?: 'inline' | 'inline-block' | 'block'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globalbrain/sefirot",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.25.0",
|
|
5
5
|
"packageManager": "pnpm@9.15.4",
|
|
6
6
|
"description": "Vue Components for Global Brain Design System.",
|
|
7
7
|
"author": "Kia Ishii <ka.ishii@globalbrains.com>",
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
"markdown-it": "^14.1.0",
|
|
60
60
|
"normalize.css": "^8.0.1",
|
|
61
61
|
"pinia": "^3.0.3",
|
|
62
|
-
"postcss": "^8.5.
|
|
62
|
+
"postcss": "^8.5.5",
|
|
63
63
|
"postcss-nested": "^7.0.2",
|
|
64
64
|
"v-calendar": "3.0.1",
|
|
65
65
|
"vue": "^3.5.16",
|
|
66
66
|
"vue-router": "^4.5.1"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@sentry/browser": "^9.
|
|
70
|
-
"@sentry/vue": "^9.
|
|
69
|
+
"@sentry/browser": "^9.29.0",
|
|
70
|
+
"@sentry/vue": "^9.29.0",
|
|
71
71
|
"@tanstack/vue-virtual": "3.0.0-beta.62",
|
|
72
72
|
"@tinyhttp/content-disposition": "^2.2.2",
|
|
73
73
|
"@tinyhttp/cookie": "^2.1.1",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"@types/body-scroll-lock": "^3.1.2",
|
|
93
93
|
"@types/lodash-es": "^4.17.12",
|
|
94
94
|
"@types/markdown-it": "^14.1.2",
|
|
95
|
-
"@types/node": "^
|
|
95
|
+
"@types/node": "^24.0.1",
|
|
96
96
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
97
|
-
"@vitest/coverage-v8": "^3.2.
|
|
97
|
+
"@vitest/coverage-v8": "^3.2.3",
|
|
98
98
|
"@vue/reactivity": "^3.5.16",
|
|
99
99
|
"@vue/test-utils": "^2.4.6",
|
|
100
100
|
"@vuelidate/core": "^2.0.3",
|
|
@@ -104,21 +104,21 @@
|
|
|
104
104
|
"dayjs": "^1.11.13",
|
|
105
105
|
"eslint": "8.57.0",
|
|
106
106
|
"fuse.js": "^7.1.0",
|
|
107
|
-
"happy-dom": "^
|
|
107
|
+
"happy-dom": "^18.0.1",
|
|
108
108
|
"histoire": "0.16.5",
|
|
109
109
|
"lodash-es": "^4.17.21",
|
|
110
110
|
"markdown-it": "^14.1.0",
|
|
111
111
|
"normalize.css": "^8.0.1",
|
|
112
112
|
"pinia": "^3.0.3",
|
|
113
|
-
"postcss": "^8.5.
|
|
113
|
+
"postcss": "^8.5.5",
|
|
114
114
|
"postcss-nested": "^7.0.2",
|
|
115
115
|
"punycode": "^2.3.1",
|
|
116
116
|
"release-it": "^19.0.3",
|
|
117
117
|
"typescript": "~5.8.3",
|
|
118
118
|
"v-calendar": "3.0.1",
|
|
119
119
|
"vite": "^6.3.5",
|
|
120
|
-
"vitepress": "^2.0.0-alpha.
|
|
121
|
-
"vitest": "^3.2.
|
|
120
|
+
"vitepress": "^2.0.0-alpha.6",
|
|
121
|
+
"vitest": "^3.2.3",
|
|
122
122
|
"vue": "^3.5.16",
|
|
123
123
|
"vue-router": "^4.5.1",
|
|
124
124
|
"vue-tsc": "^2.2.10"
|