@globalbrain/sefirot 4.11.0 → 4.13.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@globalbrain/sefirot",
3
3
  "type": "module",
4
- "version": "4.11.0",
4
+ "version": "4.13.0",
5
5
  "packageManager": "pnpm@9.15.3",
6
6
  "description": "Vue Components for Global Brain Design System.",
7
7
  "author": "Kia Ishii <ka.ishii@globalbrains.com>",
@@ -51,32 +51,32 @@
51
51
  "@vue/reactivity": "^3.5.13",
52
52
  "@vuelidate/core": "^2.0.3",
53
53
  "@vuelidate/validators": "^2.0.4",
54
- "@vueuse/core": "^12.4.0",
54
+ "@vueuse/core": "^12.7.0",
55
55
  "body-scroll-lock": "4.0.0-beta.0",
56
56
  "dayjs": "^1.11.13",
57
- "fuse.js": "^7.0.0",
57
+ "fuse.js": "^7.1.0",
58
58
  "lodash-es": "^4.17.21",
59
59
  "markdown-it": "^14.1.0",
60
60
  "normalize.css": "^8.0.1",
61
- "pinia": "^2.3.0",
62
- "postcss": "^8.4.49",
61
+ "pinia": "^3.0.1",
62
+ "postcss": "^8.5.3",
63
63
  "postcss-nested": "^7.0.2",
64
64
  "v-calendar": "3.0.1",
65
65
  "vue": "^3.5.13",
66
66
  "vue-router": "^4.5.0"
67
67
  },
68
68
  "dependencies": {
69
- "@sentry/browser": "^8.48.0",
69
+ "@sentry/browser": "^9.2.0",
70
70
  "@tanstack/vue-virtual": "3.0.0-beta.62",
71
71
  "@tinyhttp/content-disposition": "^2.2.2",
72
72
  "@tinyhttp/cookie": "^2.1.1",
73
73
  "@types/file-saver": "^2.0.7",
74
- "@types/qs": "^6.9.17",
74
+ "@types/qs": "^6.9.18",
75
75
  "file-saver": "^2.0.5",
76
76
  "magic-string": "^0.30.17",
77
77
  "ofetch": "^1.4.1",
78
- "qs": "^6.13.1",
79
- "unplugin-icons": "^22.0.0"
78
+ "qs": "^6.14.0",
79
+ "unplugin-icons": "^22.1.0"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@globalbrain/eslint-config": "^1.7.1",
@@ -87,35 +87,35 @@
87
87
  "@types/body-scroll-lock": "^3.1.2",
88
88
  "@types/lodash-es": "^4.17.12",
89
89
  "@types/markdown-it": "^14.1.2",
90
- "@types/node": "^22.10.5",
90
+ "@types/node": "^22.13.5",
91
91
  "@vitejs/plugin-vue": "^5.2.1",
92
- "@vitest/coverage-v8": ">=3.0.0-beta.0",
92
+ "@vitest/coverage-v8": "^3.0.7",
93
93
  "@vue/reactivity": "^3.5.13",
94
94
  "@vue/test-utils": "^2.4.6",
95
95
  "@vuelidate/core": "^2.0.3",
96
96
  "@vuelidate/validators": "^2.0.4",
97
- "@vueuse/core": "^12.4.0",
97
+ "@vueuse/core": "^12.7.0",
98
98
  "body-scroll-lock": "4.0.0-beta.0",
99
99
  "dayjs": "^1.11.13",
100
100
  "eslint": "8.57.0",
101
- "fuse.js": "^7.0.0",
102
- "happy-dom": "^14.12.3",
101
+ "fuse.js": "^7.1.0",
102
+ "happy-dom": "^17.1.8",
103
103
  "histoire": "0.16.5",
104
104
  "lodash-es": "^4.17.21",
105
105
  "markdown-it": "^14.1.0",
106
106
  "normalize.css": "^8.0.1",
107
- "pinia": "^2.3.0",
108
- "postcss": "^8.4.49",
107
+ "pinia": "^3.0.1",
108
+ "postcss": "^8.5.3",
109
109
  "postcss-nested": "^7.0.2",
110
110
  "punycode": "^2.3.1",
111
- "release-it": "^18.1.1",
112
- "typescript": "~5.6.3",
111
+ "release-it": "^18.1.2",
112
+ "typescript": "~5.7.3",
113
113
  "v-calendar": "3.0.1",
114
- "vite": "^6.0.7",
115
- "vitepress": "^1.5.0",
116
- "vitest": ">=3.0.0-beta.0",
114
+ "vite": "^6.2.0",
115
+ "vitepress": ">=2.0.0-alpha.3",
116
+ "vitest": "^3.0.7",
117
117
  "vue": "^3.5.13",
118
118
  "vue-router": "^4.5.0",
119
- "vue-tsc": "^2.2.0"
119
+ "vue-tsc": "^2.2.4"
120
120
  }
121
121
  }
@@ -1,175 +0,0 @@
1
- <script setup lang="ts">
2
- import IconX from '~icons/ph/x-bold'
3
- import SAvatar from './SAvatar.vue'
4
-
5
- export type Size = 'mini' | 'small' | 'medium'
6
-
7
- defineProps<{
8
- size: Size
9
- label: string
10
- image?: string | null
11
- value: any
12
- removable: boolean
13
- disabled: boolean
14
- }>()
15
-
16
- defineEmits<{
17
- (e: 'remove', value: any): void
18
- }>()
19
-
20
- const avatarSizeDict = {
21
- mini: 'nano',
22
- small: 'mini',
23
- medium: 'mini'
24
- } as const
25
- </script>
26
-
27
- <template>
28
- <div class="SInputDropdownItemAvatar" :class="[size, { disabled, removable }]">
29
- <div class="user">
30
- <div class="avatar">
31
- <SAvatar :size="avatarSizeDict[size]" :avatar="image" :name="label" />
32
- </div>
33
- <p class="name">{{ label }}</p>
34
- </div>
35
-
36
- <div v-if="!disabled && removable" class="remove" role="button" @click="$emit('remove', value)">
37
- <div class="remove-box">
38
- <IconX class="remove-icon" />
39
- </div>
40
- </div>
41
- </div>
42
- </template>
43
-
44
- <style lang="postcss" scoped>
45
- .SInputDropdownItemAvatar {
46
- display: flex;
47
- align-items: center;
48
- border: 1px solid var(--c-border-mute-1);
49
- background-color: var(--c-bg-mute-1);
50
- }
51
-
52
- .user {
53
- display: flex;
54
- align-items: center;
55
- }
56
-
57
- .avatar {
58
- display: flex;
59
- align-items: center;
60
- }
61
-
62
- .name {
63
- font-size: 12px;
64
- font-weight: 500;
65
- white-space: nowrap;
66
- }
67
-
68
- .remove {
69
- display: flex;
70
- justify-content: center;
71
- align-items: center;
72
- }
73
-
74
- .remove-box {
75
- display: flex;
76
- justify-content: center;
77
- align-items: center;
78
- border-radius: 50%;
79
- color: var(--c-text-2);
80
- transition: color 0.25s, background-color 0.25s;
81
-
82
- .remove:hover & {
83
- color: var(--c-text-1);
84
- background-color: var(--c-bg-mute-2)
85
- }
86
- }
87
-
88
- .SInputDropdownItemAvatar.mini {
89
- gap: 2px;
90
- border-radius: 12px;
91
- padding: 0 8px 0 0;
92
- height: 24px;
93
-
94
- .avatar {
95
- padding: 0 0 0 1px;
96
- }
97
-
98
- .name {
99
- margin-left: 6px;
100
- }
101
-
102
- .remove {
103
- width: 23px;
104
- height: 23px;
105
- }
106
-
107
- .remove-box {
108
- width: 20px;
109
- height: 20px;
110
- }
111
-
112
- .remove-icon {
113
- width: 12px;
114
- height: 12px;
115
- }
116
- }
117
-
118
- .SInputDropdownItemAvatar.small {
119
- border-radius: 14px;
120
- padding: 0 12px 0 0;
121
- height: 28px;
122
-
123
- .avatar {
124
- padding: 0 0 0 1px;
125
- }
126
-
127
- .name {
128
- margin-left: 6px;
129
- }
130
-
131
- .remove {
132
- width: 26px;
133
- height: 26px;
134
- }
135
-
136
- .remove-box {
137
- width: 20px;
138
- height: 20px;
139
- }
140
-
141
- .remove-icon {
142
- width: 12px;
143
- height: 12px;
144
- }
145
- }
146
-
147
- .SInputDropdownItemAvatar.medium {
148
- border-radius: 16px;
149
- padding: 0 12px 0 0;
150
- height: 32px;
151
-
152
- .avatar {
153
- padding: 0 0 0 4px;
154
- }
155
-
156
- .name {
157
- margin-left: 6px;
158
- }
159
-
160
- .remove {
161
- width: 26px;
162
- height: 26px;
163
- }
164
-
165
- .remove-box {
166
- width: 20px;
167
- height: 20px;
168
- }
169
-
170
- .remove-icon {
171
- width: 12px;
172
- height: 12px;
173
- }
174
- }
175
- </style>
@@ -1,154 +0,0 @@
1
- <script setup lang="ts">
2
- import IconX from '~icons/ph/x-bold'
3
-
4
- export type Size = 'mini' | 'small' | 'medium'
5
-
6
- defineProps<{
7
- size: Size
8
- label: string
9
- value: any
10
- removable: boolean
11
- disabled: boolean
12
- }>()
13
-
14
- defineEmits<{
15
- (e: 'remove', value: any): void
16
- }>()
17
- </script>
18
-
19
- <template>
20
- <div class="SInputDropdownItemText" :class="[size, { disabled, removable }]">
21
- <p class="text">{{ label }}</p>
22
-
23
- <div v-if="!disabled && removable" class="remove" role="button" @click.stop="$emit('remove', value)">
24
- <div class="remove-box">
25
- <IconX class="remove-icon" />
26
- </div>
27
- </div>
28
- </div>
29
- </template>
30
-
31
- <style lang="postcss" scoped>
32
- .SInputDropdownItemText {
33
- display: flex;
34
- align-items: center;
35
- border: 1px solid var(--c-border-mute-1);
36
- background-color: var(--c-bg-mute-1);
37
- }
38
-
39
- .text {
40
- margin: 0;
41
- line-height: 20px;
42
- font-size: 12px;
43
- font-weight: 500;
44
- white-space: nowrap;
45
- }
46
-
47
- .remove {
48
- display: flex;
49
- justify-content: center;
50
- align-items: center;
51
- }
52
-
53
- .remove-box {
54
- display: flex;
55
- justify-content: center;
56
- align-items: center;
57
- border-radius: 50%;
58
- color: var(--c-text-2);
59
- transition: color 0.25s, background-color 0.25s;
60
-
61
- .remove:hover & {
62
- color: var(--c-text-1);
63
- background-color: var(--c-bg-mute-3);
64
- }
65
- }
66
-
67
- .SInputDropdownItemText.mini {
68
- gap: 2px;
69
- border-radius: 12px;
70
- padding: 0 8px;
71
- height: 24px;
72
-
73
- &.removable {
74
- padding: 0 0 0 8px;
75
- }
76
-
77
- &.disabled {
78
- padding: 0 10px;
79
- }
80
-
81
- .remove {
82
- width: 23px;
83
- height: 23px;
84
- }
85
-
86
- .remove-box {
87
- width: 20px;
88
- height: 20px;
89
- }
90
-
91
- .remove-icon {
92
- width: 12px;
93
- height: 12px;
94
- }
95
- }
96
-
97
- .SInputDropdownItemText.small {
98
- border-radius: 14px;
99
- padding: 0 12px;
100
- height: 28px;
101
-
102
- &.removable {
103
- padding: 0 0 0 12px;
104
- }
105
-
106
- &.disabled {
107
- padding: 0 12px;
108
- }
109
-
110
- .remove {
111
- width: 26px;
112
- height: 26px;
113
- }
114
-
115
- .remove-box {
116
- width: 20px;
117
- height: 20px;
118
- }
119
-
120
- .remove-icon {
121
- width: 12px;
122
- height: 12px;
123
- }
124
- }
125
-
126
- .SInputDropdownItemText.medium {
127
- border-radius: 16px;
128
- padding: 0 12px;
129
- height: 32px;
130
-
131
- &.removable {
132
- padding: 0 0 0 12px;
133
- }
134
-
135
- &.disabled {
136
- padding: 0 12px;
137
- }
138
-
139
- .remove {
140
- width: 26px;
141
- height: 26px;
142
- }
143
-
144
- .remove-box {
145
- width: 20px;
146
- height: 20px;
147
- }
148
-
149
- .remove-icon {
150
- width: 12px;
151
- height: 12px;
152
- }
153
- }
154
- </style>