(component): release 1.4.14

This commit is contained in:
就眠儀式 2022-09-17 01:21:25 +08:00
parent 88c11dc2bc
commit db7e233a2a
5 changed files with 59 additions and 17 deletions

View File

@ -24,10 +24,10 @@
"@layui/layui-vue": "workspace:*",
"@layui/icons-vue": "workspace:*",
"@layui/layer-vue": "workspace:*",
"vue": "^3.2.37"
"vue": "3.2.37"
},
"peerDependencies": {
"vue": "^3.2.37"
"vue": "3.2.37"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
@ -52,8 +52,8 @@
"@types/uuid": "^8.3.4",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"@vue/compiler-sfc": "^3.2.37",
"@vue/server-renderer": "^3.2.37",
"@vue/compiler-sfc": "3.2.37",
"@vue/server-renderer": "3.2.37",
"vite-plugin-dts": "^1.5.0",
"less": "^4.1.3",
"rimraf": "^3.0.2",

View File

@ -1,6 +1,6 @@
{
"name": "@layui/layui-vue",
"version": "1.4.13",
"version": "1.4.14",
"author": "就眠儀式",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",
@ -26,16 +26,16 @@
"./es/": "./es/"
},
"scripts": {
"build": "npm run build:all && npm run build:es && npm run build:umd",
"build": "npm run build:all && npm run build:es && npm run build:umd && npm run build:types",
"build:es": "vite build --emptyOutDir --config ./script/build.es.ts",
"build:all": "rimraf types && vite build --emptyOutDir --config ./script/build.all.ts",
"build:all": "vite build --emptyOutDir --config ./script/build.all.ts",
"build:umd": "vite build --emptyOutDir --config ./script/build.umd.ts",
"build:types": "rimraf types && tsc -d"
},
"dependencies": {
"@layui/icons-vue": "^1.0.9",
"@layui/layer-vue": "^1.4.2",
"@vueuse/core": "^8.7.3",
"@vueuse/core": "^9.2.0",
"async-validator": "^4.1.1",
"cropperjs": "^1.5.12",
"@umijs/ssr-darkreader": "^4.9.45",

View File

@ -18,13 +18,14 @@ import {
import type { ComputedRef } from "vue";
interface LayStepItemProps {
export interface LayStepItemProps {
space?: number;
}
const props = withDefaults(defineProps<LayStepItemProps>(), {
space: 0,
});
const index = ref(-1);
const parents: any = inject("laySplitPanel");
const currentInstance: any = getCurrentInstance();

View File

@ -11,7 +11,19 @@
<template>
<lay-timeline>
<lay-timeline-item title="1.4.x">
<ul>
<ul>
<a name="1-4-14"></a>
<li>
<h3>1.4.14 <span class="layui-badge-rim">2022-09-17</span></h3>
<ul>
<li>[新增] tag 标签组件, 提供标注的功能。</li>
<li>[新增] dropdown 组件 contentClass 属性。</li>
<li>[修复] types 警告, 导致依赖项目 build 产生异常。</li>
<li>[升级] vueuse/core 9.2.0 版本。</li>
</ul>
</li>
</ul>
<ul>
<a name="1-4-13"></a>
<li>
<h3>1.4.13 <span class="layui-badge-rim">2022-09-15</span></h3>

View File

@ -19,8 +19,8 @@ importers:
'@typescript-eslint/parser': ^5.8.0
'@vitejs/plugin-vue': ^2.3.3
'@vitejs/plugin-vue-jsx': ^1.3.10
'@vue/compiler-sfc': ^3.2.37
'@vue/server-renderer': ^3.2.37
'@vue/compiler-sfc': 3.2.37
'@vue/server-renderer': 3.2.37
commitizen: ^4.2.4
commitlint-config-cz: ^0.13.3
cz-conventional-changelog: ^3.3.0
@ -37,7 +37,7 @@ importers:
typescript: ^4.7.3
vite: 2.9.12
vite-plugin-dts: ^1.5.0
vue: ^3.2.37
vue: 3.2.37
dependencies:
'@layui/icons-vue': link:package/icons
'@layui/layer-vue': link:package/layer
@ -81,7 +81,7 @@ importers:
'@layui/icons-vue': ^1.0.9
'@layui/layer-vue': ^1.4.2
'@umijs/ssr-darkreader': ^4.9.45
'@vueuse/core': ^8.7.3
'@vueuse/core': ^9.2.0
async-validator: ^4.1.1
cropperjs: ^1.5.12
dayjs: ^1.11.0
@ -92,7 +92,7 @@ importers:
'@layui/icons-vue': link:../icons
'@layui/layer-vue': link:../layer
'@umijs/ssr-darkreader': 4.9.45
'@vueuse/core': 8.7.3_vue@3.2.37
'@vueuse/core': 9.2.0_vue@3.2.37
async-validator: 4.1.1
cropperjs: 1.5.12
dayjs: 1.11.0
@ -1903,6 +1903,10 @@ packages:
resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==}
dev: true
/@types/web-bluetooth/0.0.15:
resolution: {integrity: sha512-w7hEHXnPMEZ+4nGKl/KDRVpxkwYxYExuHOYXyzIzCDzEZ9ZCGMAewulr9IqJu2LR4N37fcnb1XVeuZ09qgOxhA==}
dev: false
/@typescript-eslint/eslint-plugin/5.17.0_ec46de5930d083862c6e4af5d970d096:
resolution: {integrity: sha512-qVstvQilEd89HJk3qcbKt/zZrfBZ+9h2ynpAGlWjWiizA7m/MtLT9RoX6gjtpE500vfIg8jogAkDzdCxbsFASQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -2104,7 +2108,7 @@ packages:
'@vue/shared': 3.2.37
estree-walker: 2.0.2
magic-string: 0.25.9
postcss: 8.4.13
postcss: 8.4.14
source-map: 0.6.1
/@vue/compiler-ssr/3.2.37:
@ -2174,10 +2178,26 @@ packages:
vue-demi: 0.12.5_vue@3.2.37
dev: false
/@vueuse/core/9.2.0_vue@3.2.37:
resolution: {integrity: sha512-/MZ6qpz6uSyaXrtoeBWQzAKRG3N7CvfVWvQxiM3ei3Xe5ydOjjtVbo7lGl9p8dECV93j7W8s63A8H0kFLpLyxg==}
dependencies:
'@types/web-bluetooth': 0.0.15
'@vueuse/metadata': 9.2.0
'@vueuse/shared': 9.2.0_vue@3.2.37
vue-demi: 0.12.5_vue@3.2.37
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: false
/@vueuse/metadata/8.7.3:
resolution: {integrity: sha512-spf9kgCsBEFbQb90I6SIqAWh1yP5T1JoJGj+/04+VTMIHXKzn3iecmHUalg8QEOCPNtnFQGNEw5OLg0L39eizg==}
dev: false
/@vueuse/metadata/9.2.0:
resolution: {integrity: sha512-exN4KE6iquxDCdt72BgEhb3tlOpECtD61AUdXnUqBTIUCl70x1Ar/QXo3bYcvxmdMS2/peQyfeTzBjRTpvL5xw==}
dev: false
/@vueuse/shared/8.7.3_vue@3.2.37:
resolution: {integrity: sha512-PMc/h6cEakJ4+5VuNUGi7RnbA6CkLvtG2230x8w3zYJpW1P6Qphh9+dFFvHn7TX+RlaicF5ND0RX1NxWmAoW7w==}
peerDependencies:
@ -2193,6 +2213,15 @@ packages:
vue-demi: 0.12.5_vue@3.2.37
dev: false
/@vueuse/shared/9.2.0_vue@3.2.37:
resolution: {integrity: sha512-NnRp/noSWuXW0dKhZK5D0YLrDi0nmZ18UeEgwXQq7Ul5TTP93lcNnKjrHtd68j2xFB/l59yPGFlCryL692bnrA==}
dependencies:
vue-demi: 0.12.5_vue@3.2.37
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: false
/JSONStream/1.3.5:
resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==}
hasBin: true
@ -4623,6 +4652,7 @@ packages:
nanoid: 3.3.4
picocolors: 1.0.0
source-map-js: 1.0.2
dev: true
/postcss/8.4.14:
resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==}
@ -4631,7 +4661,6 @@ packages:
nanoid: 3.3.4
picocolors: 1.0.0
source-map-js: 1.0.2
dev: true
/prelude-ls/1.2.1:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}