From 1417247bbefac03d5a2670eb294a31546939999a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sun, 20 Mar 2022 14:54:36 +0800 Subject: [PATCH] feat: publish 0.4.0 --- example/docs/zh-CN/components/button.md | 22 ++++------------- example/docs/zh-CN/components/datePicker.md | 26 +++++++++++++++++++++ example/docs/zh-CN/guide/changelog.md | 1 + example/index.html | 2 +- package.json | 2 +- src/component/collapseItem/index.vue | 11 +++++---- src/component/datePicker/index.vue | 16 +++++++++++-- src/component/transition/index.vue | 6 +---- 8 files changed, 56 insertions(+), 30 deletions(-) diff --git a/example/docs/zh-CN/components/button.md b/example/docs/zh-CN/components/button.md index 9e59fb96..b8e19444 100644 --- a/example/docs/zh-CN/components/button.md +++ b/example/docs/zh-CN/components/button.md @@ -238,8 +238,8 @@ export default { @@ -249,10 +249,10 @@ import { ref } from 'vue' export default { setup() { - const loading = ref(true) + const loadState = ref(true) return { - loading + loadState } } } @@ -288,23 +288,11 @@ export default { ::: -::: title 主题配置 +::: title Button 变量 ::: -

less

- -``` -@button-primary-color: #009688; // 主题色 -@button-border-radius: 2px; // 圆角 -@button-border-color: #d2d2d2; // 边框色 ``` -

css

- -``` ---button-primary-color: #009688; // 主题色 ---button-border-radius: 2px; // 圆角 ---button-border-color: #d2d2d2; // 边框色 ``` ::: title Button 属性 diff --git a/example/docs/zh-CN/components/datePicker.md b/example/docs/zh-CN/components/datePicker.md index 48a8108b..c7046b3f 100644 --- a/example/docs/zh-CN/components/datePicker.md +++ b/example/docs/zh-CN/components/datePicker.md @@ -34,6 +34,32 @@ export default { ::: +::: title 日期时间 +::: + +::: demo + + + + + +::: + ::: comment ::: diff --git a/example/docs/zh-CN/guide/changelog.md b/example/docs/zh-CN/guide/changelog.md index 2c2ec7d5..50f0c334 100644 --- a/example/docs/zh-CN/guide/changelog.md +++ b/example/docs/zh-CN/guide/changelog.md @@ -29,6 +29,7 @@
  • [修复] carousel-item 轮播项使用 v-for 无法渲染。
  • [修复] checkbox 复选框组件, 选中颜色丢失。
  • [修复] slider 滑块组件, 默认 step 值异常。
  • +
  • [修复] form 表单错误提示没有间距的问题。
  • [升级] layer-vue 1.3.10 版本。
  • diff --git a/example/index.html b/example/index.html index 42fb103d..0294337a 100644 --- a/example/index.html +++ b/example/index.html @@ -10,7 +10,7 @@ Layui - Vue 开源前端 UI 框架 diff --git a/package.json b/package.json index 7e3a3968..c1bb9638 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@layui/layui-vue", - "version": "0.4.0-alpha.3", + "version": "0.4.0", "author": "就眠儀式", "license": "MIT", "description": "a component library for Vue 3 base on layui-vue", diff --git a/src/component/collapseItem/index.vue b/src/component/collapseItem/index.vue index cc4c3291..193b1916 100644 --- a/src/component/collapseItem/index.vue +++ b/src/component/collapseItem/index.vue @@ -6,6 +6,7 @@ export default {