@globalbrain/sefirot
Advanced tools
Comparing version 0.34.2 to 0.35.0
@@ -0,1 +1,12 @@ | ||
# [0.35.0](https://github.com/globalbrain/sefirot/compare/v0.34.2...v0.35.0) (2021-02-03) | ||
### Bug Fixes | ||
* set initial value when refish is not empty in `computedIfOnly` ([aeab953](https://github.com/globalbrain/sefirot/commit/aeab953686d50ccefdef4173ce974914a28f2bcc)) | ||
### Features | ||
* **validation:** add max length validation rule ([#34](https://github.com/globalbrain/sefirot/issues/34)) ([#37](https://github.com/globalbrain/sefirot/issues/37)) ([7a3643b](https://github.com/globalbrain/sefirot/commit/7a3643b99d7a0eb3f83bdfcedf9c9e8d01919fe0)) | ||
* **validation:** add max value validation rule ([#35](https://github.com/globalbrain/sefirot/issues/35)) ([#36](https://github.com/globalbrain/sefirot/issues/36)) ([84aef8f](https://github.com/globalbrain/sefirot/commit/84aef8fdeccb6bac4fba3b89bbd7bff42ca393c0)) | ||
## [0.34.2](https://github.com/globalbrain/sefirot/compare/v0.34.1...v0.34.2) (2021-02-01) | ||
@@ -2,0 +13,0 @@ |
@@ -28,2 +28,6 @@ import { Ref, ComputedRef, UnwrapRef, ref, computed, watch, isRef } from '@vue/composition-api' | ||
if (refish.value) { | ||
value.value = callback(refish.value) as UnwrapRef<R> | ||
} | ||
watch(refish, (newValue) => { | ||
@@ -30,0 +34,0 @@ value.value = newValue |
import day from './day' | ||
import email from './email' | ||
import include from './include' | ||
import maxLength from './maxLength' | ||
import maxValue from './maxValue' | ||
import month from './month' | ||
@@ -24,2 +26,4 @@ import not from './not' | ||
include, | ||
maxLength, | ||
maxValue, | ||
month, | ||
@@ -26,0 +30,0 @@ not, |
import day from './day' | ||
import email from './email' | ||
import include from './include' | ||
import maxLength from './maxLength' | ||
import maxValue from './maxValue' | ||
import month from './month' | ||
@@ -15,2 +17,4 @@ import regex from './regex' | ||
include, | ||
maxLength, | ||
maxValue, | ||
month, | ||
@@ -17,0 +21,0 @@ regex, |
{ | ||
"name": "@globalbrain/sefirot", | ||
"version": "0.34.2", | ||
"version": "0.35.0", | ||
"description": "Vue Components for Global Brain Design System.", | ||
@@ -13,4 +13,4 @@ "files": [ | ||
"generate": "nuxt-ts generate", | ||
"lint": "eslint --fix --ext .js,.ts,.vue --ignore-path .gitignore ./{lib,docs,test}", | ||
"lint:fail": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./{lib,docs,test}", | ||
"lint": "eslint --fix --ignore-path .gitignore './{lib,docs,test}/**/*.{js,ts,vue}'", | ||
"lint:fail": "eslint --ignore-path .gitignore './{lib,docs,test}/**/*.{js,ts,vue}'", | ||
"jest": "jest --config test/jest.config.js", | ||
@@ -17,0 +17,0 @@ "test": "yarn lint && yarn coverage", |
181
1639
242399