vueless 0.0.428 → 0.0.430
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/assets/icons/archive.svg +1 -0
- package/assets/icons/expand_circle_down.svg +1 -0
- package/assets/icons/info.svg +1 -0
- package/assets/icons/person.svg +1 -0
- package/assets/icons/swap_vert.svg +1 -0
- package/assets/icons/timer.svg +1 -0
- package/package.json +2 -2
- package/ui.data-list/UDataList.vue +0 -1
- package/ui.image-icon/UIcon.vue +13 -4
- package/web-types.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m480.12-272.15 156.36-156.48-43.11-43.35L512.39-391v-188.8h-64.78V-391l-80.98-80.74-42.87 43.35 156.36 156.24ZM182.15-665.63v483.48h595.7v-483.48h-595.7Zm0 551.61q-28.35 0-48.24-19.89t-19.89-48.24v-520.39q0-11.32 3.6-21.93t10.55-19.57l57.03-76.03q9.13-12.2 23.25-19.17 14.12-6.98 29.77-6.98h482.8q15.41 0 29.53 6.98 14.12 6.97 23.25 19.17l58.27 76.03q6.71 8.96 10.43 19.57 3.72 10.61 3.72 21.93v520.39q0 28.35-19.96 48.24t-48.41 19.89h-595.7Zm21.07-618.07h552.56l-36.41-46H239.22l-36 46ZM480-423.89Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480-346.22 658.02-524 610-570.78l-130 130-130-130L301.98-524 480-346.22Zm.03 272.2q-83.46 0-157.54-31.88-74.07-31.88-129.39-87.2-55.32-55.32-87.2-129.36-31.88-74.04-31.88-157.51 0-84.46 31.88-158.54 31.88-74.07 87.16-128.9 55.28-54.84 129.34-86.82 74.06-31.99 157.55-31.99 84.48 0 158.59 31.97 74.1 31.97 128.91 86.77 54.82 54.8 86.79 128.88 31.98 74.08 31.98 158.6 0 83.5-31.99 157.57-31.98 74.07-86.82 129.36-54.83 55.29-128.87 87.17-74.04 31.88-158.51 31.88Zm-.03-68.13q141.04 0 239.45-98.75 98.4-98.76 98.4-239.1 0-141.04-98.4-239.45-98.41-98.4-239.57-98.4-140.16 0-238.95 98.4-98.78 98.41-98.78 239.57 0 140.16 98.75 238.95 98.76 98.78 239.1 98.78ZM480-480Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M450.37-277.37h65.26V-520h-65.26v242.63ZM480-590.41q15.55 0 26.07-10.23 10.52-10.24 10.52-25.36 0-16.24-10.52-26.92-10.51-10.67-26.05-10.67-15.81 0-26.21 10.67-10.4 10.68-10.4 26.8 0 15.27 10.52 25.49 10.52 10.22 26.07 10.22Zm.3 516.39q-84.2 0-158.04-31.88-73.84-31.88-129.16-87.2-55.32-55.32-87.2-129.2-31.88-73.88-31.88-158.17 0-84.28 31.88-158.2 31.88-73.91 87.16-128.74 55.28-54.84 129.18-86.82 73.9-31.99 158.21-31.99 84.3 0 158.25 31.97 73.94 31.97 128.75 86.77 54.82 54.8 86.79 128.88 31.98 74.08 31.98 158.33 0 84.24-31.99 158.07-31.98 73.84-86.82 128.95-54.83 55.1-128.87 87.17Q564.5-74.02 480.3-74.02Zm.2-68.13q140.54 0 238.95-98.75 98.4-98.76 98.4-239.6 0-140.54-98.22-238.95-98.21-98.4-239.75-98.4-140.16 0-238.95 98.22-98.78 98.21-98.78 239.75 0 140.16 98.75 238.95 98.76 98.78 239.6 98.78ZM480-480Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M479.95-484.11q-68.68 0-112.3-43.62-43.63-43.63-43.63-112.31t43.63-112.35q43.62-43.68 112.3-43.68t112.47 43.68q43.8 43.67 43.8 112.35 0 68.68-43.8 112.31-43.79 43.62-112.47 43.62Zm-325.93 333.2v-100.41q0-39.56 19.92-68.04 19.91-28.49 51.43-43.27 67.48-30.24 129.69-45.36 62.2-15.12 124.88-15.12 63.13 0 124.79 15.62 61.66 15.62 128.82 45.05 32.88 14.6 52.78 43 19.89 28.4 19.89 68.06v100.47h-652.2Zm68.13-68.13h515.7v-31.37q0-15.85-9.5-30.22-9.5-14.38-23.5-21.3-63.05-30.29-115.45-41.55-52.4-11.26-109.52-11.26-56.64 0-110.28 11.26t-115.35 41.51q-14.1 6.93-23.1 21.31-9 14.39-9 30.25v31.37Zm257.8-333.2q38.09 0 63-24.86 24.9-24.87 24.9-62.98 0-38.21-24.86-63.03-24.85-24.82-62.94-24.82-38.09 0-63 24.83-24.9 24.84-24.9 62.9 0 38.17 24.86 63.06 24.85 24.9 62.94 24.9Zm.05-87.85Zm0 421.05Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M318.46-449.76v-306.67L201.76-639.5l-47.74-47.74 198.74-198.98L551.5-687.24l-47.74 47.74-116.93-116.93v306.67h-68.37ZM607.48-74.02 408.74-272.76l47.74-47.74 116.69 116.7v-306.68h68.37v306.68l116.94-116.7 47.74 47.74L607.48-74.02Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M354.5-860v-65.5h251v65.5h-251Zm92.87 452.02h65.26v-230.48h-65.26v230.48ZM479.94-70q-75.49 0-142.05-28.94-66.56-28.94-116.36-78.7-49.79-49.75-78.65-116.29-28.86-66.54-28.86-142.01 0-75.47 28.88-142.04 28.88-66.56 78.68-116.4 49.79-49.84 116.35-78.83Q404.5-802.2 480-802.2q67.48 0 127.08 22.5 59.59 22.5 105.83 62.74l53.16-53.15 46.3 46.07-53.15 53.15q36.24 40.48 61.62 97.96 25.38 57.47 25.38 136.95 0 75.52-28.96 142.11-28.95 66.59-78.78 116.31T622.04-98.92Q555.43-70 479.94-70Zm.02-68.37q124.32 0 211.11-86.62 86.78-86.62 86.78-210.95 0-124.32-86.74-211.1-86.75-86.79-211.07-86.79t-211.11 86.75q-86.78 86.74-86.78 211.06 0 124.32 86.74 210.99 86.75 86.66 211.07 86.66Zm.04-296.61Z"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vueless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.430",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
|
|
6
6
|
"keywords": [
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@release-it/bumper": "^6.0.1",
|
|
54
54
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
55
55
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
56
|
-
"@vueless/plugin-vite": "^0.0.
|
|
56
|
+
"@vueless/plugin-vite": "^0.0.73",
|
|
57
57
|
"@vueless/storybook": "^0.0.34",
|
|
58
58
|
"@vueless/web-types": "^0.0.15",
|
|
59
59
|
"autoprefixer": "^10.4.19",
|
|
@@ -176,7 +176,6 @@ import { merge } from "lodash-es";
|
|
|
176
176
|
|
|
177
177
|
import UIcon from "../ui.image-icon/UIcon.vue";
|
|
178
178
|
import UEmpty from "../ui.text-empty/UEmpty.vue";
|
|
179
|
-
import UDivider from "../ui.container-divider/UDivider.vue";
|
|
180
179
|
import { getDefault } from "../utils/utilUI.js";
|
|
181
180
|
|
|
182
181
|
import { UDataList as UDataListName } from "./constants.js";
|
package/ui.image-icon/UIcon.vue
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
<script setup>
|
|
13
13
|
import { computed, defineAsyncComponent } from "vue";
|
|
14
14
|
import { getDefault } from "../utils/utilUI.js";
|
|
15
|
+
import { isSSR } from "../utils/utilHelper.js";
|
|
15
16
|
|
|
16
17
|
import { UIcon } from "./constants.js";
|
|
17
18
|
import defaultConfig from "./config.js";
|
|
@@ -168,24 +169,32 @@ const dynamicComponent = computed(() => {
|
|
|
168
169
|
"vueless": async () => {
|
|
169
170
|
return import.meta.env.PROD
|
|
170
171
|
? await getIcon([name])
|
|
171
|
-
:
|
|
172
|
+
: isSSR
|
|
173
|
+
? import(/* @vite-ignore */ `node_modules/vueless/assets/icons/${name}.svg?component`)
|
|
174
|
+
: import(/* @vite-ignore */ `../assets/icons/${name}.svg?component`);
|
|
172
175
|
},
|
|
173
176
|
"@material-symbols": async () => {
|
|
174
177
|
return import.meta.env.PROD
|
|
175
178
|
? await getIcon([library, weight, style, name])
|
|
176
|
-
:
|
|
179
|
+
: isSSR
|
|
180
|
+
? import(/* @vite-ignore */ `node_modules/${library}/svg-${weight}/${style}/${name}.svg?component`)
|
|
181
|
+
: import(/* @vite-ignore */ `/node_modules/${library}/svg-${weight}/${style}/${name}.svg?component`);
|
|
177
182
|
},
|
|
178
183
|
"bootstrap-icons": async () => {
|
|
179
184
|
return import.meta.env.PROD
|
|
180
185
|
? await getIcon([library, name])
|
|
181
|
-
:
|
|
186
|
+
: isSSR
|
|
187
|
+
? import(/* @vite-ignore */ `node_modules/${library}/icons/${name}.svg?component`)
|
|
188
|
+
: import(/* @vite-ignore */ `/node_modules/${library}/icons/${name}.svg?component`);
|
|
182
189
|
},
|
|
183
190
|
"heroicons": async () => {
|
|
184
191
|
const fillType = isFill ? "solid" : "outline";
|
|
185
192
|
|
|
186
193
|
return import.meta.env.PROD
|
|
187
194
|
? await getIcon([library, fillType, name])
|
|
188
|
-
:
|
|
195
|
+
: isSSR
|
|
196
|
+
? import(/* @vite-ignore */ `node_modules/${library}/24/${fillType}/${name}.svg?component`)
|
|
197
|
+
: import(/* @vite-ignore */ `/node_modules/${library}/24/${fillType}/${name}.svg?component`);
|
|
189
198
|
},
|
|
190
199
|
};
|
|
191
200
|
/* eslint-enable vue/max-len, prettier/prettier */
|