@nubisco/ui 2.2.0 → 2.4.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/README.md +7 -5
- package/dist/components/NubiscoMark.d.ts +16 -0
- package/dist/components/NubiscoMark.vue.d.ts +8 -0
- package/dist/components/NubiscoMark.vue.d.ts.map +1 -0
- package/dist/components/NubiscoPlatformMark.vue.d.ts +8 -0
- package/dist/components/NubiscoPlatformMark.vue.d.ts.map +1 -0
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/global.d.ts +4 -2
- package/dist/index.cjs +8 -8
- package/dist/index.mjs +10740 -10390
- package/dist/main.d.ts +3 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +8 -3
- package/src/assets/nubisco-mark.svg +75 -0
- package/src/assets/nubisco-platform-mark.svg +1 -0
- package/dist/components/UserMenuMark.vue.d.ts +0 -4
- package/dist/components/UserMenuMark.vue.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubisco/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Vue 3 UI component library",
|
|
5
5
|
"packageManager": "pnpm@11.0.8",
|
|
6
6
|
"repository": {
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"default": "./dist/index.mjs"
|
|
41
41
|
},
|
|
42
42
|
"./dist/ui.css": "./dist/ui.css",
|
|
43
|
+
"./assets/nubisco-mark.svg": "./src/assets/nubisco-mark.svg",
|
|
44
|
+
"./assets/nubisco-platform-mark.svg": "./src/assets/nubisco-platform-mark.svg",
|
|
43
45
|
"./plugins/*": {
|
|
44
46
|
"types": "./dist/plugins/*.d.ts",
|
|
45
47
|
"import": "./dist/plugins/*.js"
|
|
@@ -71,6 +73,8 @@
|
|
|
71
73
|
"src/plugins",
|
|
72
74
|
"src/utils",
|
|
73
75
|
"src/assets/icons",
|
|
76
|
+
"src/assets/nubisco-mark.svg",
|
|
77
|
+
"src/assets/nubisco-platform-mark.svg",
|
|
74
78
|
"README.md",
|
|
75
79
|
"LICENSE"
|
|
76
80
|
],
|
|
@@ -94,11 +98,12 @@
|
|
|
94
98
|
"types:check": "vue-tsc --noEmit",
|
|
95
99
|
"format": "prettier --write .",
|
|
96
100
|
"format:check": "prettier --check .",
|
|
97
|
-
"quality:check": "pnpm run test && pnpm run lint && pnpm run format:check && pnpm run types:check",
|
|
101
|
+
"quality:check": "pnpm run test && pnpm run lint && pnpm run format:check && pnpm run types:check && pnpm run verify:marks",
|
|
98
102
|
"docs:dev": "vitepress dev docs",
|
|
99
103
|
"docs:build": "node scripts/build-tokens.mjs && vitepress build docs",
|
|
100
104
|
"docs:serve": "vitepress serve docs",
|
|
101
|
-
"prepare": "simple-git-hooks"
|
|
105
|
+
"prepare": "simple-git-hooks",
|
|
106
|
+
"verify:marks": "node scripts/verify-inlined-marks.mjs"
|
|
102
107
|
},
|
|
103
108
|
"simple-git-hooks": {
|
|
104
109
|
"pre-commit": "npx lint-staged && pnpm run quality:check",
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<svg width="320px" height="320px" viewBox="0 0 320 320" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="gradient-1" gradientUnits="userSpaceOnUse" x1="119.61" y1="36.855" x2="119.61" y2="381.922" spreadMethod="pad" gradientTransform="matrix(-0.887141, -0.461497, 0.40987, -0.999167, 140.11236, 473.94595)">
|
|
4
|
+
<stop offset="0" stop-color="rgb(254,216,103)"/>
|
|
5
|
+
<stop offset="0.51" stop-color="rgb(250,71,78)"/>
|
|
6
|
+
<stop offset="1" stop-color="rgb(173,55,159)"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="gradient-3" gradientUnits="userSpaceOnUse" x1="143.989" y1="36.855" x2="143.989" y2="179.9" gradientTransform="matrix(0.887207, 0.461371, -0.426978, 0.821069, 78.224142, -58.961861)">
|
|
9
|
+
<stop offset="0" stop-color="rgb(0,0,0)" stop-opacity="0.17"/>
|
|
10
|
+
<stop offset="1" stop-color="rgb(0,0,0)" stop-opacity="0.03"/>
|
|
11
|
+
</linearGradient>
|
|
12
|
+
<linearGradient id="gradient-2" gradientUnits="userSpaceOnUse" x1="91.703" y1="328.267" x2="91.703" y2="381.922" gradientTransform="matrix(-0.601925, -0.798552, 1.256661, -1.089764, -307.90801, 812.885223)">
|
|
13
|
+
<stop offset="0" stop-color="rgb(0,0,0)" stop-opacity="0.38"/>
|
|
14
|
+
<stop offset="1" stop-color="rgb(0,0,0)" stop-opacity="0.2"/>
|
|
15
|
+
</linearGradient>
|
|
16
|
+
<linearGradient id="gradient-8" gradientUnits="userSpaceOnUse" x1="348.688" y1="35.889" x2="348.688" y2="116.548" gradientTransform="matrix(-0.503716, -0.863869, 1.170135, -0.682295, 434.155647, 419.539108)">
|
|
17
|
+
<stop offset="0" stop-color="rgb(254,171,107)" stop-opacity="0.56"/>
|
|
18
|
+
<stop offset="0.745" stop-color="rgb(255,253,207)"/>
|
|
19
|
+
<stop offset="1" stop-color="rgb(255,253,207)"/>
|
|
20
|
+
</linearGradient>
|
|
21
|
+
<linearGradient id="gradient-10" gradientUnits="userSpaceOnUse" x1="338.142" y1="47.006" x2="338.142" y2="121.215" gradientTransform="matrix(0.75452, 0.656277, -1.016572, 1.16875, 168.120543, -239.018367)">
|
|
22
|
+
<stop offset="0" stop-color="rgb(255,255,255)" stop-opacity="0.35"/>
|
|
23
|
+
<stop offset="0.611" stop-color="rgb(255,255,255)" stop-opacity="0.2"/>
|
|
24
|
+
<stop offset="0.656" stop-color="rgb(255,255,255)" stop-opacity="0.09"/>
|
|
25
|
+
<stop offset="1" stop-color="rgb(255,255,255)" stop-opacity="0.05"/>
|
|
26
|
+
</linearGradient>
|
|
27
|
+
<linearGradient id="gradient-7" gradientUnits="userSpaceOnUse" x1="286.279" y1="128.145" x2="286.279" y2="381.893" gradientTransform="matrix(0.980122, -0.198399, 0.201333, 0.99503, -34.83682, 58.72465)">
|
|
28
|
+
<stop offset="0" stop-color="rgb(94,33,120)" stop-opacity="0"/>
|
|
29
|
+
<stop offset="0.23" stop-color="rgb(94,33,116)" stop-opacity="0"/>
|
|
30
|
+
<stop offset="1" stop-color="rgb(94,32,119)" stop-opacity="0.77"/>
|
|
31
|
+
</linearGradient>
|
|
32
|
+
<linearGradient id="gradient-0" gradientUnits="userSpaceOnUse" x1="220.396" y1="36.815" x2="220.396" y2="381.893" gradientTransform="matrix(0.909593, -0.415502, 0.458149, 0.999272, -61.507814, 91.882297)">
|
|
33
|
+
<stop offset="0" stop-color="rgb(105,187,99)"/>
|
|
34
|
+
<stop offset="0.5" stop-color="rgb(16,169,164)"/>
|
|
35
|
+
<stop offset="1" stop-color="rgb(11,130,207)"/>
|
|
36
|
+
</linearGradient>
|
|
37
|
+
<linearGradient id="gradient-4" gradientUnits="userSpaceOnUse" x1="197.5" y1="36.815" x2="197.5" y2="132.342" gradientTransform="matrix(0.419296, -0.90785, 1.050658, 0.485253, 18.526692, 214.196105)">
|
|
38
|
+
<stop offset="0" stop-color="rgb(255,255,255)" stop-opacity="0.45"/>
|
|
39
|
+
<stop offset="1" stop-color="rgb(7,226,201)" stop-opacity="0.85"/>
|
|
40
|
+
</linearGradient>
|
|
41
|
+
<linearGradient id="gradient-5" gradientUnits="userSpaceOnUse" x1="197.5" y1="59.48" x2="197.5" y2="132.342" gradientTransform="matrix(0.450388, -0.892832, 1.886975, 0.951884, -71.46741, 184.345316)">
|
|
42
|
+
<stop offset="0" stop-color="rgb(255,255,255)" stop-opacity="0.6"/>
|
|
43
|
+
<stop offset="0.461" stop-color="rgb(255,255,255)" stop-opacity="0.71"/>
|
|
44
|
+
<stop offset="1" stop-color="rgb(255,255,255)" stop-opacity="0.82"/>
|
|
45
|
+
</linearGradient>
|
|
46
|
+
<linearGradient id="gradient-6" gradientUnits="userSpaceOnUse" x1="258.091" y1="319.547" x2="258.091" y2="338.393" gradientTransform="matrix(0.172631, -0.984987, 3.998703, 0.700821, -1101.160809, 355.271073)">
|
|
47
|
+
<stop offset="0" stop-color="rgb(5,219,226)" stop-opacity="0.96"/>
|
|
48
|
+
<stop offset="0.493" stop-color="rgb(5,219,226)" stop-opacity="0.74"/>
|
|
49
|
+
<stop offset="1" stop-color="rgb(5,219,226)" stop-opacity="0.34"/>
|
|
50
|
+
</linearGradient>
|
|
51
|
+
</defs>
|
|
52
|
+
<g transform="matrix(0.924856, 0, 0, 0.924856, -44.998852, -33.191986)">
|
|
53
|
+
<g id="group-1">
|
|
54
|
+
<path fill="url(#gradient-1)" d="M 48.655 381.922 C 119.827 257.14 51.704 41.212 190.566 36.855 C 173.148 402.723 82.723 380.123 48.655 381.922 Z"/>
|
|
55
|
+
<path fill="url(#gradient-3)" d="M 177.776 179.9 C 120.488 51.712 97.413 142.969 97.413 142.969 C 107.668 83.266 128.325 38.808 190.566 36.855 C 187.88 93.268 183.459 140.445 177.776 179.9 Z"/>
|
|
56
|
+
<path fill="url(#gradient-2)" d="M 48.655 381.922 C 58.078 365.401 65.06 347.282 70.403 328.267 C 88.094 346.662 134.752 331.941 134.752 331.941 C 103.379 387.36 67.445 380.93 48.655 381.922 Z"/>
|
|
57
|
+
<path fill="rgb(255,254,155)" d="M 134.752 331.941 C 121.122 337.936 81.551 344.779 70.403 328.267 C 88.094 346.662 134.752 331.941 134.752 331.941 Z"/>
|
|
58
|
+
</g>
|
|
59
|
+
<g id="object-1">
|
|
60
|
+
<path fill="url(#gradient-1)" d="M 313.875 381.893 C 288.098 381.893 268.627 375.477 253.751 364.466 C 216.182 182.535 312.866 21.948 394.655 36.85 C 335.339 159.09 350.166 381.893 313.875 381.893 Z"/>
|
|
61
|
+
<path fill="url(#gradient-8)" d="M 367.694 116.548 C 367.694 116.548 352.527 74.893 302.72 88.001 C 329.996 51.072 363.412 31.158 394.655 36.85 C 383.206 60.444 374.519 87.785 367.694 116.548 Z"/>
|
|
62
|
+
<path fill="rgb(255,255,255)" fill-opacity="0.46" d="M 367.694 116.548 C 367.694 116.548 352.527 74.893 302.72 88.001 C 352.21 71.129 367.694 116.548 367.694 116.548 Z"/>
|
|
63
|
+
<path fill="url(#gradient-10)" d="M 384.493 47.025 C 335.553 54.802 291.791 121.215 291.791 121.215 C 291.791 121.215 326.809 45.627 384.493 47.025 Z"/>
|
|
64
|
+
<path fill="url(#gradient-7)" d="M 313.875 381.893 C 288.098 381.893 268.627 375.477 253.751 364.466 C 235.099 274.144 249.538 189.083 278.815 128.145 C 290.999 161.58 298.453 349.688 327.158 367.997 C 323.596 376.899 319.308 381.893 313.875 381.893 Z"/>
|
|
65
|
+
</g>
|
|
66
|
+
<g id="object-2">
|
|
67
|
+
<path fill="url(#gradient-0)" d="M 313.875 381.893 C 139.653 381.893 253.533 88.786 126.916 65.199 C 141.046 48.182 160.854 37.738 190.253 36.815 C 311.395 48.025 251.672 276.857 313.875 381.893 Z"/>
|
|
68
|
+
<path fill="url(#gradient-4)" d="M 268.085 132.342 C 268.085 132.342 206.404 63.594 126.916 65.199 C 141.046 48.182 160.854 37.738 190.253 36.815 C 238.545 41.284 258.095 80.336 268.085 132.342 Z"/>
|
|
69
|
+
<path fill="url(#gradient-5)" d="M 268.085 132.342 C 268.085 132.342 206.404 63.594 126.916 65.199 C 183.216 63.321 231.803 93.322 268.085 132.342 Z"/>
|
|
70
|
+
<path fill="url(#gradient-2)" d="M 313.875 381.893 C 262.355 381.893 236.028 356.261 221.227 319.547 C 258.674 349.427 294.501 333.052 294.954 334.741 C 299.608 352.085 305.684 368.063 313.875 381.893 Z"/>
|
|
71
|
+
<path fill="url(#gradient-6)" d="M 294.954 334.741 C 271.602 341.74 244.333 340.344 221.227 319.547 C 258.674 349.427 294.501 333.052 294.954 334.741 Z"/>
|
|
72
|
+
<path fill="rgb(255,255,255)" fill-opacity="0.11" d="M 164.386 48.742 C 244.371 44.544 268.345 190.719 268.345 190.719 C 249.39 92.792 222.974 38.013 164.386 48.742 Z"/>
|
|
73
|
+
</g>
|
|
74
|
+
</g>
|
|
75
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="320" fill="none" viewBox="0 0 320 320"><defs><linearGradient id="a" x1="119.61" x2="119.61" y1="36.855" y2="381.922" gradientTransform="matrix(-.88714 -.4615 .40987 -.99917 140.112 473.946)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><title>Left Leg Gradient</title><stop offset="0" stop-color="#c4b5fd"/><stop offset=".51" stop-color="#8b5cf6"/><stop offset="1" stop-color="#4c1d95"/></linearGradient><linearGradient id="b" x1="143.989" x2="143.989" y1="36.855" y2="179.9" gradientTransform="rotate(27.476 159.702 130.504)scale(1 .92545)" gradientUnits="userSpaceOnUse"><title>Left Top Shadow</title><stop offset="0" stop-opacity=".17"/><stop offset="1" stop-opacity=".03"/></linearGradient><linearGradient id="c" x1="91.703" x2="91.703" y1="328.267" y2="381.922" gradientTransform="matrix(-.60193 -.79855 1.25666 -1.08976 -307.908 812.885)" gradientUnits="userSpaceOnUse"><title>Left Bottom Shadow</title><stop offset="0" stop-opacity=".38"/><stop offset="1" stop-opacity=".2"/></linearGradient><linearGradient id="d" x1="348.688" x2="348.688" y1="35.889" y2="116.548" gradientTransform="rotate(239.754 337.588 85.06)scale(1 1.35453)" gradientUnits="userSpaceOnUse"><title>Right Top Highlight</title><stop offset="0" stop-color="#c7d2fe" stop-opacity=".56"/><stop offset=".745" stop-color="#eef2ff"/><stop offset="1" stop-color="#eef2ff"/></linearGradient><linearGradient id="e" x1="338.142" x2="338.142" y1="47.006" y2="121.215" gradientTransform="rotate(41.017 403.561 105.221)scale(1 1.549)" gradientUnits="userSpaceOnUse"><title>Right Bright Spot</title><stop offset="0" stop-color="#fff" stop-opacity=".35"/><stop offset=".611" stop-color="#fff" stop-opacity=".2"/><stop offset=".656" stop-color="#fff" stop-opacity=".09"/><stop offset="1" stop-color="#fff" stop-opacity=".05"/></linearGradient><linearGradient id="f" x1="286.279" x2="286.279" y1="128.145" y2="381.893" gradientTransform="matrix(.98012 -.1984 .20133 .99503 -34.837 58.725)" gradientUnits="userSpaceOnUse"><title>Right Bottom Shadow</title><stop offset="0" stop-color="#5e2178" stop-opacity="0"/><stop offset=".23" stop-color="#5e2174" stop-opacity="0"/><stop offset="1" stop-color="#5e2077" stop-opacity=".77"/></linearGradient><linearGradient id="g" x1="220.396" x2="220.396" y1="36.815" y2="381.893" gradientTransform="matrix(.9096 -.4155 .45815 .99927 -61.508 91.882)" gradientUnits="userSpaceOnUse"><title>Middle Leg Gradient</title><stop offset="0" stop-color="#7dd3fc"/><stop offset=".5" stop-color="#38bdf8"/><stop offset="1" stop-color="#4338ca"/></linearGradient><linearGradient id="h" x1="197.5" x2="197.5" y1="36.815" y2="132.342" gradientTransform="rotate(-65.21 176.696 92.616)scale(1 1.1573)" gradientUnits="userSpaceOnUse"><title>Middle Top Highlight</title><stop offset="0" stop-color="#fff" stop-opacity=".45"/><stop offset="1" stop-color="#60a5fa" stop-opacity=".85"/></linearGradient><linearGradient id="i" x1="197.5" x2="197.5" y1="59.48" y2="132.342" gradientTransform="rotate(-63.231 113.999 150.221)scale(1 2.11347)" gradientUnits="userSpaceOnUse"><title>Middle Top Bright Highlight</title><stop offset="0" stop-color="#fff" stop-opacity=".6"/><stop offset=".461" stop-color="#fff" stop-opacity=".71"/><stop offset="1" stop-color="#fff" stop-opacity=".82"/></linearGradient><linearGradient id="j" x1="258.091" x2="258.091" y1="319.547" y2="338.393" gradientTransform="rotate(-80.06 -339.105 833.104)scale(1 4.05965)" gradientUnits="userSpaceOnUse"><title>Middle Bottom Bright Highlight</title><stop offset="0" stop-color="#60a5fa" stop-opacity=".96"/><stop offset=".493" stop-color="#60a5fa" stop-opacity=".74"/><stop offset="1" stop-color="#60a5fa" stop-opacity=".34"/></linearGradient></defs><g transform="translate(-44.999 -33.192)scale(.92486)"><title>Logo</title><g style="filter:none"><title>left</title><path fill="url(#a)" d="M48.655 381.922c71.172-124.782 3.049-340.71 141.911-345.067C173.148 402.723 82.723 380.123 48.655 381.922"><title>main</title></path><path fill="url(#b)" d="M177.776 179.9c-57.288-128.188-80.363-36.931-80.363-36.931 10.255-59.703 30.912-104.161 93.153-106.114-2.686 56.413-7.107 103.59-12.79 143.045"><title>top shadow</title></path><path fill="url(#c)" d="M48.655 381.922c9.423-16.521 16.405-34.64 21.748-53.655 17.691 18.395 64.349 3.674 64.349 3.674-31.373 55.419-67.307 48.989-86.097 49.981"><title>bottom shadow</title></path><path fill="#e0e7ff" d="M134.752 331.941c-13.63 5.995-53.201 12.838-64.349-3.674 17.691 18.395 64.349 3.674 64.349 3.674"><title>highlight</title></path></g><g style="filter:none"><title>right</title><path fill="url(#a)" d="M313.875 381.893c-25.777 0-45.248-6.416-60.124-17.427C216.182 182.535 312.866 21.948 394.655 36.85c-59.316 122.24-44.489 345.043-80.78 345.043"><title>main</title></path><path fill="url(#d)" d="M367.694 116.548s-15.167-41.655-64.974-28.547c27.276-36.929 60.692-56.843 91.935-51.151-11.449 23.594-20.136 50.935-26.961 79.698"><title>Top Highlight</title></path><path fill="#fff" fill-opacity=".46" d="M367.694 116.548s-15.167-41.655-64.974-28.547c49.49-16.872 64.974 28.547 64.974 28.547"><title>Top Bright Spot</title></path><path fill="url(#e)" d="M384.493 47.025c-48.94 7.777-92.702 74.19-92.702 74.19s35.018-75.588 92.702-74.19"><title>Bright Spot</title></path><path fill="url(#f)" d="M313.875 381.893c-25.777 0-45.248-6.416-60.124-17.427-18.652-90.322-4.213-175.383 25.064-236.321 12.184 33.435 19.638 221.543 48.343 239.852-3.562 8.902-7.85 13.896-13.283 13.896"><title>Right Leg</title></path></g><title>Middle</title><path fill="url(#g)" d="M313.875 381.893c-174.222 0-60.342-293.107-186.959-316.694 14.13-17.017 33.938-27.461 63.337-28.384 121.142 11.21 61.419 240.042 123.622 345.078"><title>main</title></path><path fill="url(#h)" d="M268.085 132.342s-61.681-68.748-141.169-67.143c14.13-17.017 33.938-27.461 63.337-28.384 48.292 4.469 67.842 43.521 77.832 95.527"><title>top highlight</title></path><path fill="url(#i)" d="M268.085 132.342s-61.681-68.748-141.169-67.143c56.3-1.878 104.887 28.123 141.169 67.143"><title>top bright highlight</title></path><path fill="url(#c)" d="M313.875 381.893c-51.52 0-77.847-25.632-92.648-62.346 37.447 29.88 73.274 13.505 73.727 15.194 4.654 17.344 10.73 33.322 18.921 47.152"><title>bottom shadow</title></path><path fill="url(#j)" d="M294.954 334.741c-23.352 6.999-50.621 5.603-73.727-15.194 37.447 29.88 73.274 13.505 73.727 15.194"><title>bottom bright highlight</title></path><path fill="#fff" fill-opacity=".11" d="M164.386 48.742c79.985-4.198 103.959 141.977 103.959 141.977C249.39 92.792 222.974 38.013 164.386 48.742"><title>bright spot</title></path></g></svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
4
|
-
//# sourceMappingURL=UserMenuMark.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserMenuMark.vue.d.ts","sourceRoot":"","sources":["../../src/components/UserMenuMark.vue"],"names":[],"mappings":"AA2jBA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|