feat(filters): regex validation for supported fields (#773)

* initial commit

* minor visual improvements

* lock validation to golang flavor

* made a new field called regexfield

reverted old textfield to be up2date with develop

* added Formik Validation

* removed yup as its not needed

* improvements

* refactor: simplify and make more generic

---------

Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
soup 2023-03-30 23:41:03 +02:00 committed by GitHub
parent 59f41be3ef
commit 8a0c6e8180
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 130 additions and 18 deletions

View file

@ -25,6 +25,9 @@ module.exports = {
colors: {
gray: colors.zinc,
},
margin: { // for the checkmarks used for regex validation in Filters/Advanced
"2.5": "0.625rem", // 10px, between mb-2 (8px) and mb-3 (12px)
},
},
},
variants: {