nuxt-ui-elements 0.1.12 → 0.1.13
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/module.json +1 -1
- package/dist/module.mjs +32 -0
- package/dist/runtime/index.css +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -108,6 +108,38 @@ function addTemplates(options, _nuxt) {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
writeThemeTemplate(theme);
|
|
111
|
+
templates.push({
|
|
112
|
+
filename: "ui-elements.css",
|
|
113
|
+
write: true,
|
|
114
|
+
getContents: () => {
|
|
115
|
+
return `@source "./ui-elements";
|
|
116
|
+
|
|
117
|
+
@keyframes shake {
|
|
118
|
+
0%,
|
|
119
|
+
100% {
|
|
120
|
+
transform: translateX(0);
|
|
121
|
+
}
|
|
122
|
+
10%,
|
|
123
|
+
30%,
|
|
124
|
+
50%,
|
|
125
|
+
70%,
|
|
126
|
+
90% {
|
|
127
|
+
transform: translateX(-4px);
|
|
128
|
+
}
|
|
129
|
+
20%,
|
|
130
|
+
40%,
|
|
131
|
+
60%,
|
|
132
|
+
80% {
|
|
133
|
+
transform: translateX(4px);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.animate-shake {
|
|
138
|
+
animation: shake 0.5s ease-in-out;
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
141
|
+
}
|
|
142
|
+
});
|
|
111
143
|
templates.forEach((template) => addTemplate(template));
|
|
112
144
|
}
|
|
113
145
|
|
package/dist/runtime/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "#build/ui-elements.css";@source "./components";
|
package/package.json
CHANGED