@globalbrain/sefirot 2.10.0 → 2.11.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/SAvatar.vue +15 -8
- package/lib/components/SButton.vue +363 -576
- package/lib/components/SInputBase.vue +4 -4
- package/lib/components/SInputCheckboxes.vue +0 -1
- package/lib/components/SInputDate.vue +1 -1
- package/lib/components/SInputDropdown.vue +2 -2
- package/lib/components/SInputSelect.vue +92 -106
- package/lib/components/SPill.vue +199 -0
- package/lib/components/SSnackbar.vue +0 -1
- package/lib/components/STable.vue +5 -2
- package/lib/components/STableCellDay.vue +2 -2
- package/lib/components/STableCellPill.vue +13 -45
- package/lib/components/STableCellText.vue +2 -2
- package/lib/composables/Table.ts +1 -1
- package/lib/composables/Utils.ts +9 -0
- package/lib/styles/variables.css +433 -160
- package/lib/support/Time.ts +3 -1
- package/package.json +8 -8
package/lib/support/Time.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
type Awaited<T> = T extends undefined
|
|
1
|
+
type Awaited<T> = T extends undefined
|
|
2
|
+
? T
|
|
3
|
+
: T extends PromiseLike<infer U> ? U : T
|
|
2
4
|
|
|
3
5
|
export function sleep(ms = 500): Promise<undefined> {
|
|
4
6
|
return new Promise<undefined>((resolve) => setTimeout(resolve, ms))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globalbrain/sefirot",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "Vue Components for Global Brain Design System.",
|
|
5
5
|
"author": "Kia Ishii <ka.ishii@globalbrains.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"dayjs": "^1.11.7"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@globalbrain/eslint-config": "^1.1
|
|
49
|
-
"@histoire/plugin-vue": "^0.
|
|
48
|
+
"@globalbrain/eslint-config": "^1.2.1",
|
|
49
|
+
"@histoire/plugin-vue": "^0.12.4",
|
|
50
50
|
"@iconify-icons/ph": "^1.2.3",
|
|
51
51
|
"@iconify/vue": "^4.0.1",
|
|
52
52
|
"@types/body-scroll-lock": "^3.1.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@types/node": "^18.11.11",
|
|
56
56
|
"@vitejs/plugin-vue": "^3.2.0",
|
|
57
57
|
"@vitest/coverage-c8": "^0.25.3",
|
|
58
|
-
"@vue/test-utils": "^2.2.
|
|
58
|
+
"@vue/test-utils": "^2.2.7",
|
|
59
59
|
"@vuelidate/core": "^2.0.0",
|
|
60
60
|
"@vuelidate/validators": "^2.0.0",
|
|
61
61
|
"@vueuse/core": "^9.6.0",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"chalk": "^4.1.2",
|
|
64
64
|
"conventional-changelog-cli": "^2.2.2",
|
|
65
65
|
"enquirer": "^2.3.6",
|
|
66
|
-
"eslint": "^8.
|
|
66
|
+
"eslint": "^8.31.0",
|
|
67
67
|
"execa": "^5.1.1",
|
|
68
68
|
"fuse.js": "^6.6.2",
|
|
69
69
|
"happy-dom": "^8.1.0",
|
|
70
|
-
"histoire": "^0.
|
|
70
|
+
"histoire": "^0.12.4",
|
|
71
71
|
"lodash-es": "^4.17.21",
|
|
72
72
|
"markdown-it": "^13.0.1",
|
|
73
73
|
"normalize.css": "^8.0.1",
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
"typescript": "^4.9.4",
|
|
79
79
|
"v-calendar": "3.0.0-alpha.8",
|
|
80
80
|
"vite": "^3.2.5",
|
|
81
|
-
"vitepress": "1.0.0-alpha.
|
|
81
|
+
"vitepress": "1.0.0-alpha.35",
|
|
82
82
|
"vitest": "^0.25.3",
|
|
83
83
|
"vue": "^3.2.45",
|
|
84
84
|
"vue-router": "^4.1.6",
|
|
85
85
|
"vue-tsc": "^1.0.11"
|
|
86
86
|
},
|
|
87
87
|
"scripts": {
|
|
88
|
-
"docs": "vitepress dev docs --port
|
|
88
|
+
"docs": "vitepress dev docs --port 4000",
|
|
89
89
|
"docs:build": "vitepress build docs",
|
|
90
90
|
"docs:preview": "vitepress serve docs --port 3000",
|
|
91
91
|
"story": "histoire dev --port 3000",
|