Skip to content

Commit

Permalink
refactor: Erase old DatePicke
Browse files Browse the repository at this point in the history
  • Loading branch information
4dr1en committed Sep 19, 2024
1 parent 4745fe2 commit 7e5e111
Show file tree
Hide file tree
Showing 15 changed files with 333 additions and 2,403 deletions.
1,061 changes: 325 additions & 736 deletions packages/synapse-bridge/src/patterns/DatePicker/DatePicker.vue

Large diffs are not rendered by default.

21 changes: 7 additions & 14 deletions packages/synapse-bridge/src/patterns/DatePicker/config.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
export const config = {
textField: {
hint: 'Format JJ/MM/AAAA',
label: 'Date',
hideDetails: 'auto',
persistentHint: true,
validateOnBlur: true,
},
menu: {
minWidth: '290px',
closeOnContentClick: false,
contentClass: 'vd-date-picker-menu',
},
btn: {
icon: true,
variant: 'text',
validateOn: 'blur',
color: '#0C419A',
maxErrors: 5,
},
datePicker: {
hideHeader: true,
location: 'bottom end',
hideOffsetDates: true,
dayNames: ['L', 'M', 'M', 'J', 'V', 'S', 'D'],
locale: 'fr',
},
icon: {
color: '#808080',
Expand Down
3 changes: 0 additions & 3 deletions packages/synapse-bridge/src/patterns/DatePicker/locales.ts

This file was deleted.

This file was deleted.

239 changes: 0 additions & 239 deletions packages/synapse-bridge/src/patterns/DatePicker/mixins/dateLogic.ts

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7e5e111

Please sign in to comment.