globalbrain / sefirot

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

feat(validation): enable vuelidate config and extract notification #494

Closed kiaking closed 4 months ago

kiaking commented 4 months ago

Vuelidate Config

Came across the situation I need to use $scope option of vuelidate, so enabling passing in the config.

useV({}, {}, { $scope: 'profile' })

Extract notification composable

Just so that we can:

const { validation: baseV } = useV({}, {}, { $scope: 'base' })
const { validation: profileV } = useV({}, {}, { $scope: 'profile' })
const { notify } = useVNotification()

// Instead of

const { validation: baseV, notify } = useV({}, {}, { $scope: 'base' })
const { validation: profileV } = useV({}, {}, { $scope: 'profile' })
netlify[bot] commented 4 months ago

Deploy Preview for sefirot-docs ready!

Name Link
Latest commit e17f0bd51844d2482ebead203a10ffe889226747
Latest deploy log https://app.netlify.com/sites/sefirot-docs/deploys/65ee6b60ec246c00075b2437
Deploy Preview https://deploy-preview-494--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.

netlify[bot] commented 4 months ago

Deploy Preview for sefirot-story ready!

Name Link
Latest commit e17f0bd51844d2482ebead203a10ffe889226747
Latest deploy log https://app.netlify.com/sites/sefirot-story/deploys/65ee6b617d350c000845def1
Deploy Preview https://deploy-preview-494--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.