@soubiran/ui 0.3.1 → 0.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/dist/imports.mjs +1 -2
- package/dist/index.d.ts +171 -171
- package/dist/index.js +19 -52
- package/dist/resolver.d.mts +10055 -1
- package/dist/resolver.mjs +1 -2
- package/dist/{styles.css → style.css} +51 -37
- package/package.json +24 -23
- package/dist/styles.js +0 -0
package/dist/resolver.mjs
CHANGED
|
@@ -1,100 +1,116 @@
|
|
|
1
|
-
.fade-enter-active,
|
|
2
|
-
.
|
|
3
|
-
transition: opacity 0.4s ease-out;
|
|
1
|
+
.fade-enter-active, .fade-leave-active {
|
|
2
|
+
transition: opacity .4s ease-out;
|
|
4
3
|
}
|
|
5
4
|
|
|
6
|
-
.fade-enter-from,
|
|
7
|
-
.fade-leave-to {
|
|
5
|
+
.fade-enter-from, .fade-leave-to {
|
|
8
6
|
opacity: 0;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
@media (prefers-reduced-motion: no-preference) {
|
|
12
|
-
html:not(.no-sliding) .slide-enter,
|
|
13
|
-
html:not(.no-sliding) .slide-enter-content > * {
|
|
10
|
+
html:not(.no-sliding) .slide-enter, html:not(.no-sliding) .slide-enter-content > * {
|
|
14
11
|
--enter-step: 60ms;
|
|
15
|
-
--enter-initial:
|
|
16
|
-
animation:
|
|
12
|
+
--enter-initial: 0s;
|
|
13
|
+
animation: 1s both slide-enter;
|
|
17
14
|
animation-delay: calc(var(--enter-stage) * var(--enter-step));
|
|
18
15
|
}
|
|
19
16
|
|
|
20
|
-
.slide-enter-content >
|
|
17
|
+
.slide-enter-content > :first-child {
|
|
21
18
|
--enter-stage: 1 !important;
|
|
22
19
|
}
|
|
23
|
-
|
|
20
|
+
|
|
21
|
+
.slide-enter-content > :nth-child(2) {
|
|
24
22
|
--enter-stage: 2 !important;
|
|
25
23
|
}
|
|
26
|
-
|
|
24
|
+
|
|
25
|
+
.slide-enter-content > :nth-child(3) {
|
|
27
26
|
--enter-stage: 3 !important;
|
|
28
27
|
}
|
|
29
|
-
|
|
28
|
+
|
|
29
|
+
.slide-enter-content > :nth-child(4) {
|
|
30
30
|
--enter-stage: 4 !important;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
|
|
33
|
+
.slide-enter-content > :nth-child(5) {
|
|
33
34
|
--enter-stage: 5 !important;
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
+
|
|
37
|
+
.slide-enter-content > :nth-child(6) {
|
|
36
38
|
--enter-stage: 6 !important;
|
|
37
39
|
}
|
|
38
|
-
|
|
40
|
+
|
|
41
|
+
.slide-enter-content > :nth-child(7) {
|
|
39
42
|
--enter-stage: 7 !important;
|
|
40
43
|
}
|
|
41
|
-
|
|
44
|
+
|
|
45
|
+
.slide-enter-content > :nth-child(8) {
|
|
42
46
|
--enter-stage: 8 !important;
|
|
43
47
|
}
|
|
44
|
-
|
|
48
|
+
|
|
49
|
+
.slide-enter-content > :nth-child(9) {
|
|
45
50
|
--enter-stage: 9 !important;
|
|
46
51
|
}
|
|
47
|
-
|
|
52
|
+
|
|
53
|
+
.slide-enter-content > :nth-child(10) {
|
|
48
54
|
--enter-stage: 10 !important;
|
|
49
55
|
}
|
|
50
|
-
|
|
56
|
+
|
|
57
|
+
.slide-enter-content > :nth-child(11) {
|
|
51
58
|
--enter-stage: 11 !important;
|
|
52
59
|
}
|
|
53
|
-
|
|
60
|
+
|
|
61
|
+
.slide-enter-content > :nth-child(12) {
|
|
54
62
|
--enter-stage: 12 !important;
|
|
55
63
|
}
|
|
56
|
-
|
|
64
|
+
|
|
65
|
+
.slide-enter-content > :nth-child(13) {
|
|
57
66
|
--enter-stage: 13 !important;
|
|
58
67
|
}
|
|
59
|
-
|
|
68
|
+
|
|
69
|
+
.slide-enter-content > :nth-child(14) {
|
|
60
70
|
--enter-stage: 14 !important;
|
|
61
71
|
}
|
|
62
|
-
|
|
72
|
+
|
|
73
|
+
.slide-enter-content > :nth-child(15) {
|
|
63
74
|
--enter-stage: 15 !important;
|
|
64
75
|
}
|
|
65
|
-
|
|
76
|
+
|
|
77
|
+
.slide-enter-content > :nth-child(16) {
|
|
66
78
|
--enter-stage: 16 !important;
|
|
67
79
|
}
|
|
68
|
-
|
|
80
|
+
|
|
81
|
+
.slide-enter-content > :nth-child(17) {
|
|
69
82
|
--enter-stage: 17 !important;
|
|
70
83
|
}
|
|
71
|
-
|
|
84
|
+
|
|
85
|
+
.slide-enter-content > :nth-child(18) {
|
|
72
86
|
--enter-stage: 18 !important;
|
|
73
87
|
}
|
|
74
|
-
|
|
88
|
+
|
|
89
|
+
.slide-enter-content > :nth-child(19) {
|
|
75
90
|
--enter-stage: 19 !important;
|
|
76
91
|
}
|
|
77
|
-
|
|
92
|
+
|
|
93
|
+
.slide-enter-content > :nth-child(20) {
|
|
78
94
|
--enter-stage: 20 !important;
|
|
79
95
|
}
|
|
80
96
|
}
|
|
81
97
|
|
|
82
98
|
@keyframes slide-enter {
|
|
83
99
|
0% {
|
|
84
|
-
transform: translateY(10px);
|
|
85
100
|
opacity: 0;
|
|
101
|
+
transform: translateY(10px);
|
|
86
102
|
}
|
|
87
103
|
|
|
88
104
|
to {
|
|
89
|
-
transform: translateY(0);
|
|
90
105
|
opacity: 1;
|
|
106
|
+
transform: translateY(0);
|
|
91
107
|
}
|
|
92
108
|
}
|
|
93
109
|
|
|
94
110
|
@keyframes scale-up {
|
|
95
111
|
from {
|
|
96
112
|
opacity: 0;
|
|
97
|
-
transform: scale(
|
|
113
|
+
transform: scale(.96) translateY(8px);
|
|
98
114
|
}
|
|
99
115
|
|
|
100
116
|
to {
|
|
@@ -121,11 +137,10 @@
|
|
|
121
137
|
color: var(--shiki-dark);
|
|
122
138
|
}
|
|
123
139
|
|
|
124
|
-
|
|
125
140
|
@theme {
|
|
126
|
-
--font-sans:
|
|
127
|
-
--font-sofia:
|
|
128
|
-
--font-mono:
|
|
141
|
+
--font-sans: "DM Sans", sans-serif;
|
|
142
|
+
--font-sofia: "Sofia sans", sans-serif;
|
|
143
|
+
--font-mono: "DM Mono", monospace;
|
|
129
144
|
}
|
|
130
145
|
|
|
131
146
|
html {
|
|
@@ -142,4 +157,3 @@ html {
|
|
|
142
157
|
--ui-primary: white;
|
|
143
158
|
--ui-text-highlighted: var(--ui-color-neutral-200);
|
|
144
159
|
}
|
|
145
|
-
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soubiran/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"author": "Estéban Soubiran <esteban@soubiran.dev>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/Barbapapazes",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
".": {
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
17
|
"import": "./dist/index.js",
|
|
18
|
-
"style": "./dist/
|
|
18
|
+
"style": "./dist/style.css"
|
|
19
19
|
},
|
|
20
20
|
"./imports": {
|
|
21
21
|
"types": "./dist/imports.d.mts",
|
|
@@ -40,34 +40,35 @@
|
|
|
40
40
|
"umami.d.ts"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@nuxt/ui": "
|
|
44
|
-
"@pinia/colada": "^0.
|
|
45
|
-
"@vue/compiler-sfc": "^3.5.
|
|
46
|
-
"@vueuse/core": "^
|
|
47
|
-
"markdown-it-github-alerts": "^1.0.
|
|
48
|
-
"motion-v": "^
|
|
43
|
+
"@nuxt/ui": "4.5.0",
|
|
44
|
+
"@pinia/colada": "^1.0.0",
|
|
45
|
+
"@vue/compiler-sfc": "^3.5.30",
|
|
46
|
+
"@vueuse/core": "^14.2.1",
|
|
47
|
+
"markdown-it-github-alerts": "^1.0.1",
|
|
48
|
+
"motion-v": "^2.0.1",
|
|
49
49
|
"ofetch": "^1.5.1",
|
|
50
|
-
"partysocket": "^1.1.
|
|
50
|
+
"partysocket": "^1.1.16",
|
|
51
51
|
"pinia": "^3.0.4",
|
|
52
|
-
"reka-ui": "^2.
|
|
53
|
-
"tailwind-variants": "^3.
|
|
54
|
-
"vue": "^3.5.
|
|
52
|
+
"reka-ui": "^2.9.2",
|
|
53
|
+
"tailwind-variants": "^3.2.2",
|
|
54
|
+
"vue": "^3.5.30",
|
|
55
55
|
"vue-router": "^4.6.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@iconify-json/ph": "^1.2.2",
|
|
59
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@vue/
|
|
64
|
-
"
|
|
59
|
+
"@iconify-json/simple-icons": "^1.2.74",
|
|
60
|
+
"@tsdown/css": "^0.21.4",
|
|
61
|
+
"@types/node": "^24.12.0",
|
|
62
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
63
|
+
"@vue/language-core": "^3.2.6",
|
|
64
|
+
"@vue/tsconfig": "^0.9.0",
|
|
65
|
+
"tsdown": "^0.21.4",
|
|
65
66
|
"typescript": "~5.9.3",
|
|
66
|
-
"unplugin-icons": "^
|
|
67
|
-
"unplugin-vue": "^7.1.
|
|
68
|
-
"unplugin-vue-components": "^
|
|
69
|
-
"vite": "
|
|
70
|
-
"vue-tsc": "^3.2.
|
|
67
|
+
"unplugin-icons": "^23.0.1",
|
|
68
|
+
"unplugin-vue": "^7.1.1",
|
|
69
|
+
"unplugin-vue-components": "^31.0.0",
|
|
70
|
+
"vite": "^8.0.1",
|
|
71
|
+
"vue-tsc": "^3.2.6"
|
|
71
72
|
},
|
|
72
73
|
"scripts": {
|
|
73
74
|
"dev": "vite dev",
|
package/dist/styles.js
DELETED
|
File without changes
|