vueless 0.0.478-beta.2 → 0.0.478-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.478-beta.2",
3
+ "version": "0.0.478-beta.3",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "build": "npx @vueless/web-types && node prepare.icons && storybook build --docs",
33
33
  "preview": "vite preview --host --outDir=storybook-static",
34
34
  "ts:check": "vue-tsc --build --force",
35
- "release:prepare": "npx @vueless/web-types && node prepare.icons && rm -rf dist && mkdir -p dist && cp -r src/. package.json LICENSE web-types.json README.md dist/ && node prepare.package",
35
+ "release:prepare": "node prepare.icons && rm -rf dist && mkdir -p dist && cp -r src/. package.json LICENSE README.md dist/ && node prepare.package",
36
36
  "release:beta": "release-it --ci --npm.publish --preRelease=beta --increment=prerelease",
37
37
  "release:patch": "release-it patch --ci --npm.publish",
38
38
  "release:minor": "release-it minor --ci --npm.publish --git.tag --github.release",
@@ -703,7 +703,7 @@ function onChangeSelectedRows(selectedRows) {
703
703
  if (selectedRows.length) {
704
704
  canSelectAll.value = false;
705
705
 
706
- isCheckedMoreOneTableItems.value ? setFooterCellWidth() : "";
706
+ isCheckedMoreOneTableItems.value && setFooterCellWidth();
707
707
  } else {
708
708
  nextTick(setHeaderCellWidth);
709
709
  }
@@ -164,7 +164,7 @@ const dynamicComponent = computed(() => {
164
164
  return component;
165
165
  }
166
166
 
167
- /* eslint-disable vue/max-len, prettier/prettier */
167
+ /* eslint-disable prettier/prettier */
168
168
  const libraries = {
169
169
  "vueless": async () => {
170
170
  return import.meta.env.PROD
@@ -197,7 +197,7 @@ const dynamicComponent = computed(() => {
197
197
  : import(/* @vite-ignore */ `/node_modules/${library}/24/${fillType}/${name}.svg?component`);
198
198
  },
199
199
  };
200
- /* eslint-enable vue/max-len, prettier/prettier */
200
+ /* eslint-enable prettier/prettier */
201
201
 
202
202
  return defineAsyncComponent(libraries[library]);
203
203
  });
@@ -43,7 +43,6 @@ import { computed, ref, useId } from "vue";
43
43
 
44
44
  import ULink from "../ui.button-link/ULink.vue";
45
45
  import UIcon from "../ui.image-icon/UIcon.vue";
46
- import UButton from "../ui.button/UButton.vue";
47
46
 
48
47
  import { getDefault } from "../utils/utilUI.js";
49
48
 
package/utils/utilUI.js CHANGED
@@ -27,7 +27,7 @@ if (isSSR) {
27
27
  if (!vuelessConfig) {
28
28
  vuelessConfig = (await import(/* @vite-ignore */ `${filePath}.ts`)).default;
29
29
  }
30
- } catch (error) {
30
+ } catch {
31
31
  vuelessConfig = {};
32
32
  }
33
33
  })();