Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidFyon committed Oct 11, 2024
1 parent bf04573 commit ada2c89
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 22 deletions.
8 changes: 4 additions & 4 deletions packages/synapse-bridge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#### v3.0.4

- NirField: delete validation key in simple mode [`#3786`](https://github.com/assurance-maladie-digital/design-system/pull/3786)
- DatePicker: fix hint padding [`#3781`](https://github.com/assurance-maladie-digital/design-system/pull/3781)
- NirField: delete validation key in simple mode [`#3786`](https://github.com/assurance-maladie-digital/design-system/pull/3786)
- DatePicker: fix hint padding [`#3781`](https://github.com/assurance-maladie-digital/design-system/pull/3781)

#### v3.0.3

- NotificationBar: fix success color [`#3777`](https://github.com/assurance-maladie-digital/design-system/pull/3777)
- DatePicker: refacto and fix bugs [`#3763`](https://github.com/assurance-maladie-digital/design-system/pull/3763)
- NotificationBar: fix success color [`#3777`](https://github.com/assurance-maladie-digital/design-system/pull/3777)
- DatePicker: refacto and fix bugs [`#3763`](https://github.com/assurance-maladie-digital/design-system/pull/3763)

#### v3.0.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,10 @@ export default defineComponent({
class="error-message"
>
<ul>
<li v-for="error in errorMessages" :key="error">
<li
v-for="error in errorMessages"
:key="error"
>
{{ error }}
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,5 +591,5 @@ describe('NirField', () => {

expect(wrapper.text()).toContain(locales.errorRequiredNumber)
expect(wrapper.text()).not.toContain(locales.errorRequiredKey)
});
})
})
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<script lang="ts">
import {defineComponent} from 'vue'
import {mapActions, mapGetters} from 'vuex'
import { defineComponent } from 'vue'
import { mapActions, mapGetters } from 'vuex'
import {
mdiAlertCircleOutline,
mdiAlertOctagonOutline,
mdiCheckCircleOutline,
mdiClose,
mdiInformationOutline,
} from '@mdi/js'
import {config} from './config'
import {locales} from './locales'
import {customizable} from '@/mixins/customizable'
import type {IndexedObject} from '@/types'
import { config } from './config'
import { locales } from './locales'
import { customizable } from '@/mixins/customizable'
import type { IndexedObject } from '@/types'
export default defineComponent({
mixins: [customizable(config)],
Expand Down Expand Up @@ -90,17 +90,18 @@ export default defineComponent({
watch: {
notification(): void {
if (!this.notification) {
this.snackbar = false;
return;
this.snackbar = false
return
}
this.snackbar = true;
this.snackbar = true
if (this.notification.type === 'success') {
this.snackbarColor = '#56C271';
this.snackbarColor = '#56C271'
} else {
this.snackbarColor = this.options.snackBar.color || this.notification.type;
this.snackbarColor =
this.options.snackBar.color || this.notification.type
}
}
},
},
methods: {
...mapActions('notification', {
Expand Down Expand Up @@ -145,7 +146,7 @@ export default defineComponent({

{{ notification?.message }}

<VSpacer/>
<VSpacer />

<VDivider
v-if="mobileVersion && hasLongContent"
Expand All @@ -164,7 +165,7 @@ export default defineComponent({
class="mx-4"
/>
<slot :attrs="actionSlotAttrs" name="action"></slot>
<slot name="default"/>
<slot name="default" />
<VBtn
:class="{ 'ma-0': smallCloseBtn }"
:color="contentColor"
Expand Down Expand Up @@ -245,6 +246,6 @@ $breakpoint-xs: 600px;
:deep(.v-divider--vertical) {
height: 35px;
opacity: 0.50;
opacity: 0.5;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ export default defineComponent({
</script>

<template>
<div :class="{ 'vd-form-input': !inline }" class="vd-select-btn-field bg-secondary">
<div
:class="{ 'vd-form-input': !inline }"
class="vd-select-btn-field bg-secondary"
>
<VBtnToggle
v-bind="options.btnToggle"
tag="ul"
Expand Down

0 comments on commit ada2c89

Please sign in to comment.