chore: 发布 layui-vue 1.0.2
This commit is contained in:
parent
14d0f5fdaf
commit
a718b6f0f7
@ -13,6 +13,7 @@
|
||||
"generate:icons": "pnpm -C ./package/icons generate",
|
||||
"lint:eslint": "eslint 'package/**/*.{vue,ts,tsx}' --fix",
|
||||
"lint:prettier": "prettier --write \"package/**/*.{vue,ts}\"",
|
||||
"postinstall": "npm run build",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@layui/layui-vue",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"author": "就眠儀式",
|
||||
"license": "MIT",
|
||||
"description": "a component library for Vue 3 base on layui-vue",
|
||||
@ -27,8 +27,7 @@
|
||||
"build:es": "vite build --emptyOutDir --config ./script/build.es.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",
|
||||
"postinstall": "npm run build"
|
||||
"build:types": "rimraf types && tsc -d"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^7.6.2",
|
||||
|
@ -162,12 +162,14 @@ export default {
|
||||
|
||||
::: table
|
||||
|
||||
| 属性 | 描述 | 可选值 |
|
||||
| --------- | ------------ | ------------------------- |
|
||||
| v-model | 当前激活项 | `--` |
|
||||
| anim | 切换方向 | `default` `updown` |
|
||||
| indicator | 控制器位置 | `inside` `outside` `none` |
|
||||
| arrow | 切换按钮状态 | `hover` `always` `none` |
|
||||
| 属性 | 描述 | 类型 |类型 |可选值 |
|
||||
| --------- | ------------ |--------------| --------------- | -------------------------|
|
||||
| v-model | 当前激活项 | `number` | -- | -- |
|
||||
| anim | 切换方向 | `string` | `default` | `default` `updown` |
|
||||
| indicator | 控制器位置 | `string` | `inside` |`inside` `outside` `none` |
|
||||
| arrow | 切换按钮状态 | `string` | `hover` |`hover` `always` `none` |
|
||||
| autoplay | 自动播放 | `boolean` | `true` | `true` `false` |
|
||||
| interval | 轮播间隔 | `number` | `3000` | -- |
|
||||
|
||||
:::
|
||||
|
||||
|
@ -14,18 +14,18 @@
|
||||
<ul>
|
||||
<a name="1-0-2"> </a>
|
||||
<li>
|
||||
<h3>1.0.2 <span class="layui-badge-rim">2022-04-07</span></h3>
|
||||
<h3>1.0.2 <span class="layui-badge-rim">2022-04-09</span></h3>
|
||||
<ul>
|
||||
<li>[新增] button 组件 border-style 属性, 自定义边框样式。(by @就眠儀式)</li>
|
||||
<li>[新增] config-provider 组件 dark-partial 属性, 夜间主题偏好配置。(by @就眠儀式)</li>
|
||||
<li>[新增] carousel 组件 autoplay 属性, 开启自动轮播, 默认为 true。(by @就眠儀式)</li>
|
||||
<li>[新增] carousel 组件 interval 属性, 用于控制轮播间隔。(by @就眠儀式)</li>
|
||||
<li>[修复] page 组件 pages 属性为单数时, 页码计算错误。(by @就眠儀式)</li>
|
||||
<li>[修复] panel 组件 background-color 为透明的问题。(by @就眠儀式)</li>
|
||||
<li>[修复] tab 组件 layui-tab-head 默认存在背景色。(by @就眠儀式)</li>
|
||||
<li>[修复] button-group 组件 first-child 样式。(by @就眠儀式)</li>
|
||||
<li>[修复] dark 模式 step 组件线条不显示。(by @莫名点)</li>
|
||||
<li>[修复] scroll 组件屏幕缩放时样式异常。(by @Sight)</li>
|
||||
<li>[新增] button 组件 border-style 属性, 自定义边框样式。</li>
|
||||
<li>[新增] carousel 组件 interval 属性, 用于控制轮播间隔。</li>
|
||||
<li>[新增] config-provider 组件 dark-partial 属性, 夜间主题偏好配置。</li>
|
||||
<li>[新增] carousel 组件 autoplay 属性, 开启自动轮播, 默认为 true。</li>
|
||||
<li>[修复] page 组件 pages 属性为单数时, 页码计算错误。</li>
|
||||
<li>[修复] panel 组件 background-color 为透明的问题。</li>
|
||||
<li>[修复] tab 组件 layui-tab-head 默认存在背景色。</li>
|
||||
<li>[修复] button-group 组件 first-child 样式。</li>
|
||||
<li>[修复] dark 模式 step 组件线条不显示。</li>
|
||||
<li>[修复] scroll 组件屏幕缩放时样式异常。</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -17,8 +17,7 @@
|
||||
"scripts": {
|
||||
"generate": "node ./scripts/generate.ts",
|
||||
"build": "vite build --emptyOutDir && npm run build:types",
|
||||
"build:types": "rimraf types && tsc -d",
|
||||
"postinstall": "npm run build"
|
||||
"build:types": "rimraf types && tsc -d"
|
||||
},
|
||||
"keywords": [
|
||||
"layui-icon",
|
||||
|
@ -16,8 +16,7 @@
|
||||
"style": "lib/index.css",
|
||||
"scripts": {
|
||||
"build": "vite build --emptyOutDir && npm run build:types",
|
||||
"build:types": "rimraf types && tsc -d",
|
||||
"postinstall": "npm run build"
|
||||
"build:types": "rimraf types && tsc -d"
|
||||
},
|
||||
"keywords": [
|
||||
"layui-vue",
|
||||
|
Loading…
Reference in New Issue
Block a user