@globalbrain/sefirot 4.5.0 → 4.7.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.
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
.SContent :deep(h1),
|
|
15
15
|
.SContent :deep(.h1) {
|
|
16
16
|
margin: 0;
|
|
17
|
+
padding: 0;
|
|
17
18
|
max-width: 640px;
|
|
18
19
|
line-height: 40px;
|
|
19
20
|
font-size: 32px;
|
|
@@ -23,16 +24,26 @@
|
|
|
23
24
|
|
|
24
25
|
.SContent :deep(h2),
|
|
25
26
|
.SContent :deep(.h2) {
|
|
26
|
-
border-top: 0;
|
|
27
27
|
margin: 0;
|
|
28
28
|
padding: 0;
|
|
29
29
|
max-width: 640px;
|
|
30
|
-
line-height:
|
|
30
|
+
line-height: 32px;
|
|
31
31
|
font-size: 20px;
|
|
32
32
|
font-weight: 500;
|
|
33
33
|
color: var(--c-text-1);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
.SContent :deep(h3),
|
|
37
|
+
.SContent :deep(.h3) {
|
|
38
|
+
margin: 0;
|
|
39
|
+
padding: 0;
|
|
40
|
+
max-width: 640px;
|
|
41
|
+
line-height: 24px;
|
|
42
|
+
font-size: 16px;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
color: var(--c-text-1);
|
|
45
|
+
}
|
|
46
|
+
|
|
36
47
|
.SContent :deep(p) {
|
|
37
48
|
margin: 0;
|
|
38
49
|
max-width: 640px;
|
|
@@ -79,12 +90,12 @@
|
|
|
79
90
|
|
|
80
91
|
.SContent :deep(ul > li::before) {
|
|
81
92
|
position: absolute;
|
|
82
|
-
top:
|
|
93
|
+
top: 9px;
|
|
83
94
|
left: 2px;
|
|
84
|
-
width:
|
|
85
|
-
height:
|
|
95
|
+
width: 6px;
|
|
96
|
+
height: 6px;
|
|
86
97
|
border-radius: 50%;
|
|
87
|
-
background-color: var(--c-text-
|
|
98
|
+
background-color: var(--c-text-1);
|
|
88
99
|
content: "";
|
|
89
100
|
}
|
|
90
101
|
|
|
@@ -95,8 +106,45 @@
|
|
|
95
106
|
.SContent :deep(ol > li::before) {
|
|
96
107
|
margin-right: 3px;
|
|
97
108
|
margin-left: -20px;
|
|
98
|
-
color: var(--c-text-
|
|
109
|
+
color: var(--c-text-1);
|
|
99
110
|
font-feature-settings: "tnum";
|
|
100
111
|
content: counter(s-medium-counter)". ";
|
|
101
112
|
}
|
|
113
|
+
|
|
114
|
+
.SContent :deep(table) {
|
|
115
|
+
margin: 8px 0;
|
|
116
|
+
border-style: hidden;
|
|
117
|
+
border-radius: 6px;
|
|
118
|
+
text-align: left;
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
color: var(--c-text-1);
|
|
121
|
+
overflow: clip;
|
|
122
|
+
box-shadow: 0 0 0 1px var(--c-divider);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.SContent :deep(table tr:hover td) {
|
|
126
|
+
background-color: var(--c-bg-elv-4);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.SContent :deep(table thead > tr > th) {
|
|
130
|
+
vertical-align: middle;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.SContent :deep(table th),
|
|
134
|
+
.SContent :deep(table td) {
|
|
135
|
+
border: 1px solid var(--c-gutter);
|
|
136
|
+
padding: 8px 16px;
|
|
137
|
+
height: 40px;
|
|
138
|
+
vertical-align: top;
|
|
139
|
+
text-wrap: pretty;
|
|
140
|
+
background-color: var(--c-bg-elv-3);
|
|
141
|
+
overflow-wrap: break-word;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.SContent :deep(table th) {
|
|
145
|
+
font-size: 12px;
|
|
146
|
+
font-weight: 600;
|
|
147
|
+
color: var(--c-text-2);
|
|
148
|
+
text-wrap: balance;
|
|
149
|
+
}
|
|
102
150
|
</style>
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { format } from '../../support/Num'
|
|
1
2
|
import { createRule } from '../Rule'
|
|
2
3
|
import { maxLength as baseMaxLength } from '../validators'
|
|
3
4
|
|
|
4
5
|
export const message = {
|
|
5
|
-
en: (length:
|
|
6
|
-
ja: (length:
|
|
6
|
+
en: (length: string) => `The value must be less than or equal to ${length} characters.`,
|
|
7
|
+
ja: (length: string) => `この値は最大${length}文字までです。`
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
export function maxLength(length: number, msg?: string) {
|
|
10
11
|
return createRule({
|
|
11
|
-
message: ({ lang }) => msg ?? message[lang](length),
|
|
12
|
+
message: ({ lang }) => msg ?? message[lang](format(length)),
|
|
12
13
|
optional: true,
|
|
13
14
|
validation: (value) => baseMaxLength(value, length)
|
|
14
15
|
})
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { format } from '../../support/Num'
|
|
1
2
|
import { createRule } from '../Rule'
|
|
2
3
|
import { maxValue as baseMaxValue } from '../validators'
|
|
3
4
|
|
|
4
5
|
export const message = {
|
|
5
|
-
en: (max:
|
|
6
|
-
ja: (max:
|
|
6
|
+
en: (max: string) => `The value must be less than or equal to ${max}.`,
|
|
7
|
+
ja: (max: string) => `この値は最大${max}です。`
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
export function maxValue(max: number, msg?: string) {
|
|
10
11
|
return createRule({
|
|
11
|
-
message: ({ lang }) => msg ?? message[lang](max),
|
|
12
|
+
message: ({ lang }) => msg ?? message[lang](format(max)),
|
|
12
13
|
optional: true,
|
|
13
14
|
validation: (value) => baseMaxValue(value, max)
|
|
14
15
|
})
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { format } from '../../support/Num'
|
|
1
2
|
import { createRule } from '../Rule'
|
|
2
3
|
import { minLength as baseMinLength } from '../validators'
|
|
3
4
|
|
|
4
5
|
export const message = {
|
|
5
|
-
en: (min:
|
|
6
|
-
ja: (min:
|
|
6
|
+
en: (min: string) => `The value must be greater than or equal to ${min} characters.`,
|
|
7
|
+
ja: (min: string) => `この値は最小${min}文字です。`
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
export function minLength(length: number, msg?: string) {
|
|
10
11
|
return createRule({
|
|
11
|
-
message: ({ lang }) => msg ?? message[lang](length),
|
|
12
|
+
message: ({ lang }) => msg ?? message[lang](format(length)),
|
|
12
13
|
optional: true,
|
|
13
14
|
validation: (value) => baseMinLength(value, length)
|
|
14
15
|
})
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { format } from '../../support/Num'
|
|
1
2
|
import { createRule } from '../Rule'
|
|
2
3
|
import { minValue as baseMinValue } from '../validators'
|
|
3
4
|
|
|
4
5
|
export const message = {
|
|
5
|
-
en: (min:
|
|
6
|
-
ja: (min:
|
|
6
|
+
en: (min: string) => `The value must be greater than or equal to ${min}.`,
|
|
7
|
+
ja: (min: string) => `この値は最大${min}です。`
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
export function minValue(min: number, msg?: string) {
|
|
10
11
|
return createRule({
|
|
11
|
-
message: ({ lang }) => msg ?? message[lang](min),
|
|
12
|
+
message: ({ lang }) => msg ?? message[lang](format(min)),
|
|
12
13
|
optional: true,
|
|
13
14
|
validation: (value) => baseMinValue(value, min)
|
|
14
15
|
})
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globalbrain/sefirot",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
5
|
-
"packageManager": "pnpm@9.
|
|
4
|
+
"version": "4.7.0",
|
|
5
|
+
"packageManager": "pnpm@9.14.4",
|
|
6
6
|
"description": "Vue Components for Global Brain Design System.",
|
|
7
7
|
"author": "Kia Ishii <ka.ishii@globalbrains.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -43,58 +43,58 @@
|
|
|
43
43
|
"release": "release-it"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@iconify-json/ph": "^1.2.
|
|
47
|
-
"@iconify-json/ri": "^1.2.
|
|
46
|
+
"@iconify-json/ph": "^1.2.1",
|
|
47
|
+
"@iconify-json/ri": "^1.2.3",
|
|
48
48
|
"@types/body-scroll-lock": "^3.1.2",
|
|
49
49
|
"@types/lodash-es": "^4.17.12",
|
|
50
50
|
"@types/markdown-it": "^14.1.2",
|
|
51
|
-
"@vue/reactivity": "^3.5.
|
|
51
|
+
"@vue/reactivity": "^3.5.13",
|
|
52
52
|
"@vuelidate/core": "^2.0.3",
|
|
53
53
|
"@vuelidate/validators": "^2.0.4",
|
|
54
|
-
"@vueuse/core": "^
|
|
54
|
+
"@vueuse/core": "^12.0.0",
|
|
55
55
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
56
56
|
"dayjs": "^1.11.13",
|
|
57
57
|
"fuse.js": "^7.0.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.2.
|
|
62
|
-
"postcss": "^8.4.
|
|
63
|
-
"postcss-nested": "^
|
|
61
|
+
"pinia": "^2.2.8",
|
|
62
|
+
"postcss": "^8.4.49",
|
|
63
|
+
"postcss-nested": "^7.0.2",
|
|
64
64
|
"v-calendar": "3.0.1",
|
|
65
|
-
"vue": "^3.5.
|
|
66
|
-
"vue-router": "^4.
|
|
65
|
+
"vue": "^3.5.13",
|
|
66
|
+
"vue-router": "^4.5.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@sentry/browser": "^8.
|
|
69
|
+
"@sentry/browser": "^8.41.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.
|
|
74
|
+
"@types/qs": "^6.9.17",
|
|
75
75
|
"file-saver": "^2.0.5",
|
|
76
|
-
"magic-string": "^0.30.
|
|
77
|
-
"ofetch": "^1.4.
|
|
78
|
-
"qs": "^6.13.
|
|
79
|
-
"unplugin-icons": "^0.
|
|
76
|
+
"magic-string": "^0.30.14",
|
|
77
|
+
"ofetch": "^1.4.1",
|
|
78
|
+
"qs": "^6.13.1",
|
|
79
|
+
"unplugin-icons": "^0.20.2"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@globalbrain/eslint-config": "^1.7.1",
|
|
83
83
|
"@histoire/plugin-vue": "0.16.5",
|
|
84
|
-
"@iconify-json/ph": "^1.2.
|
|
85
|
-
"@iconify-json/ri": "^1.2.
|
|
86
|
-
"@release-it/conventional-changelog": "^
|
|
84
|
+
"@iconify-json/ph": "^1.2.1",
|
|
85
|
+
"@iconify-json/ri": "^1.2.3",
|
|
86
|
+
"@release-it/conventional-changelog": "^9.0.3",
|
|
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.
|
|
91
|
-
"@vitejs/plugin-vue": "^5.1
|
|
92
|
-
"@vitest/coverage-v8": "^2.1.
|
|
93
|
-
"@vue/reactivity": "^3.5.
|
|
90
|
+
"@types/node": "^22.10.1",
|
|
91
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
92
|
+
"@vitest/coverage-v8": "^2.1.6",
|
|
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": "^
|
|
97
|
+
"@vueuse/core": "^12.0.0",
|
|
98
98
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
99
99
|
"dayjs": "^1.11.13",
|
|
100
100
|
"eslint": "8.57.0",
|
|
@@ -104,18 +104,18 @@
|
|
|
104
104
|
"lodash-es": "^4.17.21",
|
|
105
105
|
"markdown-it": "^14.1.0",
|
|
106
106
|
"normalize.css": "^8.0.1",
|
|
107
|
-
"pinia": "^2.2.
|
|
108
|
-
"postcss": "^8.4.
|
|
109
|
-
"postcss-nested": "^
|
|
107
|
+
"pinia": "^2.2.8",
|
|
108
|
+
"postcss": "^8.4.49",
|
|
109
|
+
"postcss-nested": "^7.0.2",
|
|
110
110
|
"punycode": "^2.3.1",
|
|
111
|
-
"release-it": "^17.
|
|
112
|
-
"typescript": "~5.6.
|
|
111
|
+
"release-it": "^17.10.0",
|
|
112
|
+
"typescript": "~5.6.3",
|
|
113
113
|
"v-calendar": "3.0.1",
|
|
114
|
-
"vite": "^
|
|
115
|
-
"vitepress": "^1.
|
|
116
|
-
"vitest": "^2.1.
|
|
117
|
-
"vue": "^3.5.
|
|
118
|
-
"vue-router": "^4.
|
|
119
|
-
"vue-tsc": "^2.1.
|
|
114
|
+
"vite": "^6.0.1",
|
|
115
|
+
"vitepress": "^1.5.0",
|
|
116
|
+
"vitest": "^2.1.6",
|
|
117
|
+
"vue": "^3.5.13",
|
|
118
|
+
"vue-router": "^4.5.0",
|
|
119
|
+
"vue-tsc": "^2.1.10"
|
|
120
120
|
}
|
|
121
121
|
}
|