globalbrain / sefirot

Global Brain Design System.
https://sefirot.globalbrains.com
MIT License
151 stars 12 forks source link

feat(validation): add `requiredYmdIf` and `requiredHmsIf` validators and rules #517

Closed NozomuIkuta closed 3 months ago

NozomuIkuta commented 3 months ago

No related issues.

We came to dynamically validate Ymd and Hms values in our product. This is just to add such validators and rules, requiredYmdIf and requiredHmsIf.

This PR also includes some bug fixes for the existing requiredYmd and requiredHms and some related refactoring.

netlify[bot] commented 3 months ago

Deploy Preview for sefirot-story ready!

Name Link
Latest commit 21c11681bacca3905cf83e41cb771c1c091ba589
Latest deploy log https://app.netlify.com/sites/sefirot-story/deploys/661e0901279e5a00089ad808
Deploy Preview https://deploy-preview-517--sefirot-story.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 3 months ago

Deploy Preview for sefirot-docs ready!

Name Link
Latest commit 21c11681bacca3905cf83e41cb771c1c091ba589
Latest deploy log https://app.netlify.com/sites/sefirot-docs/deploys/661e09016c1c360008b03efa
Deploy Preview https://deploy-preview-517--sefirot-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.