sprintify-ui 0.2.0 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +16 -0
  2. package/dist/sprintify-ui.es.js +4984 -4707
  3. package/dist/style.css +1 -1
  4. package/dist/types/src/components/BaseDatePicker.vue.d.ts +0 -1
  5. package/dist/types/src/components/BasePWAPrompt.vue.d.ts +46 -0
  6. package/dist/types/src/components/index.d.ts +4 -1
  7. package/dist/types/src/index.d.ts +10 -0
  8. package/package.json +2 -4
  9. package/src/assets/flatpickr.css +238 -0
  10. package/src/assets/main.css +4 -3
  11. package/src/components/BaseActionItem.vue +9 -4
  12. package/src/components/BaseActionItemButton.vue +1 -1
  13. package/src/components/BaseAddressForm.vue +6 -5
  14. package/src/components/BaseAlert.vue +8 -2
  15. package/src/components/BaseAppNotifications.vue +4 -1
  16. package/src/components/BaseAutocomplete.vue +18 -9
  17. package/src/components/BaseAutocompleteDrawer.vue +28 -10
  18. package/src/components/BaseAutocompleteFetch.vue +14 -3
  19. package/src/components/BaseAvatar.vue +1 -1
  20. package/src/components/BaseBadge.vue +1 -2
  21. package/src/components/BaseBelongsTo.vue +12 -3
  22. package/src/components/BaseBreadcrumbs.vue +8 -2
  23. package/src/components/BaseButton.vue +9 -2
  24. package/src/components/BaseButtonGroup.vue +4 -1
  25. package/src/components/BaseCharacterCounter.vue +4 -1
  26. package/src/components/BaseClickOutside.vue +1 -1
  27. package/src/components/BaseClipboard.vue +5 -2
  28. package/src/components/BaseColor.vue +4 -1
  29. package/src/components/BaseCropper.vue +17 -5
  30. package/src/components/BaseCropperModal.vue +4 -1
  31. package/src/components/BaseDataIterator.vue +29 -11
  32. package/src/components/BaseDataIteratorSectionBox.vue +5 -2
  33. package/src/components/BaseDataIteratorSectionButton.vue +6 -4
  34. package/src/components/BaseDataIteratorSectionColumns.vue +5 -2
  35. package/src/components/BaseDataTable.vue +43 -20
  36. package/src/components/BaseDataTableRowAction.vue +8 -2
  37. package/src/components/BaseDatePicker.vue +9 -102
  38. package/src/components/BaseDateSelect.vue +33 -6
  39. package/src/components/BaseDisplayRelativeTime.vue +4 -1
  40. package/src/components/BaseDraggable.vue +1 -1
  41. package/src/components/BaseDropdown.vue +16 -5
  42. package/src/components/BaseDropdownAutocomplete.vue +8 -4
  43. package/src/components/BaseField.vue +5 -2
  44. package/src/components/BaseFieldI18n.vue +10 -2
  45. package/src/components/BaseFilePicker.vue +6 -2
  46. package/src/components/BaseFilePickerCrop.vue +4 -1
  47. package/src/components/BaseForm.vue +9 -2
  48. package/src/components/BaseHasMany.vue +16 -4
  49. package/src/components/BaseHeader.vue +4 -1
  50. package/src/components/BaseIconPicker.vue +14 -4
  51. package/src/components/BaseInput.vue +10 -7
  52. package/src/components/BaseInputError.vue +1 -1
  53. package/src/components/BaseInputLabel.vue +4 -1
  54. package/src/components/BaseInputPercent.vue +1 -1
  55. package/src/components/BaseLayoutNotificationDropdown.vue +11 -5
  56. package/src/components/BaseLayoutNotificationItem.vue +15 -5
  57. package/src/components/BaseLayoutNotificationItemContent.vue +5 -2
  58. package/src/components/BaseLayoutSidebar.vue +22 -5
  59. package/src/components/BaseLayoutSidebarConfigurable.vue +19 -5
  60. package/src/components/BaseLayoutStackedConfigurable.vue +24 -7
  61. package/src/components/BaseMediaGallery.vue +4 -1
  62. package/src/components/BaseMediaGalleryItem.vue +13 -4
  63. package/src/components/BaseMediaItem.vue +12 -3
  64. package/src/components/BaseMediaLibrary.vue +10 -5
  65. package/src/components/BaseMediaList.vue +1 -1
  66. package/src/components/BaseMediaListItem.vue +15 -6
  67. package/src/components/BaseMediaPictures.vue +1 -1
  68. package/src/components/BaseMediaPicturesItem.vue +9 -3
  69. package/src/components/BaseMediaPreview.vue +2 -2
  70. package/src/components/BaseMenu.vue +37 -9
  71. package/src/components/BaseMenuItem.vue +14 -3
  72. package/src/components/BaseModalCenter.vue +4 -1
  73. package/src/components/BaseNavbarItemContent.vue +14 -3
  74. package/src/components/BaseNavbarSideItem.vue +4 -1
  75. package/src/components/BaseNavbarSideItemContent.vue +9 -2
  76. package/src/components/BaseNumber.vue +7 -4
  77. package/src/components/BasePWAPrompt.stories.js +51 -0
  78. package/src/components/BasePWAPrompt.vue +107 -0
  79. package/src/components/BasePagination.vue +2 -2
  80. package/src/components/BasePanel.vue +4 -1
  81. package/src/components/BasePassword.vue +6 -2
  82. package/src/components/BaseProgressCircle.vue +4 -1
  83. package/src/components/BaseRadioGroup.vue +5 -2
  84. package/src/components/BaseRichText.vue +1 -2
  85. package/src/components/BaseSelect.vue +6 -2
  86. package/src/components/BaseShortcut.vue +11 -4
  87. package/src/components/BaseSideNavigation.vue +4 -1
  88. package/src/components/BaseSideNavigationItem.vue +5 -2
  89. package/src/components/BaseSkeleton.vue +2 -2
  90. package/src/components/BaseStatistic.vue +15 -4
  91. package/src/components/BaseStepper.vue +4 -1
  92. package/src/components/BaseSwitch.stories.js +0 -1
  93. package/src/components/BaseSwitch.vue +8 -2
  94. package/src/components/BaseSystemAlert.vue +4 -1
  95. package/src/components/BaseTabItem.vue +5 -2
  96. package/src/components/BaseTable.vue +19 -9
  97. package/src/components/BaseTagAutocomplete.vue +13 -4
  98. package/src/components/BaseTagAutocompleteFetch.vue +18 -4
  99. package/src/components/BaseTextareaAutoresize.vue +6 -2
  100. package/src/components/BaseTimeline.vue +8 -2
  101. package/src/components/index.ts +6 -0
  102. package/src/lang/en.json +5 -0
  103. package/src/lang/fr.json +5 -0
  104. package/src/svg/BaseEmptyState.vue +5 -1
  105. package/src/svg/BaseSpinnerLarge.vue +15 -3
  106. package/src/svg/BaseSpinnerSmall.vue +8 -2
@@ -1,6 +1,11 @@
1
1
  <template>
2
2
  <BaseCard class="flex duration-200 hover:bg-slate-50">
3
- <BaseActionItem :to="to" :href="href" :action="action" class="block w-full">
3
+ <BaseActionItem
4
+ :to="to"
5
+ :href="href"
6
+ :action="action"
7
+ class="block w-full"
8
+ >
4
9
  <section class="whitespace-pre-line p-4">
5
10
  <!-- Icon -->
6
11
  <div
@@ -11,7 +16,7 @@
11
16
  v-if="icon"
12
17
  :icon="icon"
13
18
  :class="iconSizeClasses"
14
- ></BaseIcon>
19
+ />
15
20
  </div>
16
21
  <!-- Title -->
17
22
  <div class="text-md font-semibold">
@@ -29,12 +34,14 @@
29
34
  v-if="linkText"
30
35
  class="flex items-center justify-start text-sm font-medium"
31
36
  >
32
- <div class="mr-1 leading-none">{{ linkText }}</div>
37
+ <div class="mr-1 leading-none">
38
+ {{ linkText }}
39
+ </div>
33
40
  <div>
34
41
  <BaseIcon
35
42
  icon="heroicons:arrow-right-20-solid"
36
43
  class="mt-px h-4 w-4"
37
- ></BaseIcon>
44
+ />
38
45
  </div>
39
46
  </div>
40
47
  </section>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <nav aria-label="Sidebar" class="relative">
2
+ <nav
3
+ aria-label="Sidebar"
4
+ class="relative"
5
+ >
3
6
  <div class="absolute bottom-0 left-0 h-full w-px bg-slate-300" />
4
7
  <div
5
8
  class="relative overflow-x-auto overflow-y-hidden"
@@ -17,7 +17,10 @@
17
17
  ]"
18
18
  @click.prevent="onClick(navigate)"
19
19
  >
20
- <div class="relative flex items-center" :class="[sizeClassInner]">
20
+ <div
21
+ class="relative flex items-center"
22
+ :class="[sizeClassInner]"
23
+ >
21
24
  <div
22
25
  class="absolute left-0 top-0 h-full"
23
26
  :class="[
@@ -25,7 +28,7 @@
25
28
  ? 'w-[2px] bg-primary-600'
26
29
  : 'group-hover:w-px group-hover:bg-slate-700',
27
30
  ]"
28
- ></div>
31
+ />
29
32
  <slot :active="isActiveInternal(isActive, isExactActive)" />
30
33
  </div>
31
34
  </a>
@@ -12,8 +12,8 @@
12
12
  :style="{
13
13
  animationDelay: delay,
14
14
  }"
15
- ></div>
16
- <slot></slot>
15
+ />
16
+ <slot />
17
17
  </div>
18
18
  </template>
19
19
 
@@ -1,12 +1,18 @@
1
1
  <template>
2
- <div class="inline-flex rounded-xl p-4" :class="[centerClass]">
2
+ <div
3
+ class="inline-flex rounded-xl p-4"
4
+ :class="[centerClass]"
5
+ >
3
6
  <section>
4
7
  <!-- Label -->
5
8
  <header class="mb-0.5 text-base font-medium">
6
9
  {{ label }}
7
10
  </header>
8
11
  <!-- Content -->
9
- <div class="flex" :class="[centerClass]">
12
+ <div
13
+ class="flex"
14
+ :class="[centerClass]"
15
+ >
10
16
  <div class="text-3xl font-bold leading-tight">
11
17
  {{ primaryValue }}
12
18
  </div>
@@ -18,9 +24,14 @@
18
24
  >
19
25
  <!-- Icon trend -->
20
26
  <div v-if="trend">
21
- <BaseIcon :icon="icon" :class="iconClass" />
27
+ <BaseIcon
28
+ :icon="icon"
29
+ :class="iconClass"
30
+ />
31
+ </div>
32
+ <div class="text-lg">
33
+ {{ secondaryValue }}
22
34
  </div>
23
- <div class="text-lg">{{ secondaryValue }}</div>
24
35
  </div>
25
36
  </div>
26
37
  <!-- Caption -->
@@ -1,6 +1,9 @@
1
1
  <template>
2
2
  <div class="lg:border-t lg:border-b lg:border-gray-200">
3
- <nav class="px-4 mx-auto max-w-7xl sm:px-6 lg:px-8" aria-label="Progress">
3
+ <nav
4
+ class="px-4 mx-auto max-w-7xl sm:px-6 lg:px-8"
5
+ aria-label="Progress"
6
+ >
4
7
  <ol
5
8
  role="list"
6
9
  class="overflow-hidden rounded-md lg:flex lg:rounded-none lg:border-l lg:border-r lg:border-gray-200"
@@ -1,7 +1,6 @@
1
1
  import BaseSwitch from './BaseSwitch.vue';
2
2
  import BaseContainer from './BaseContainer.vue';
3
3
  import { createFieldStory } from '../../.storybook/utils';
4
- import { Icon } from '@iconify/vue';
5
4
 
6
5
  export default {
7
6
  title: 'Form/BaseSwitch',
@@ -24,10 +24,16 @@
24
24
  }"
25
25
  class="flex items-center justify-center transition duration-200 ease-in-out bg-white rounded-full shadow pointer-events-none text-slate-500 ring-0"
26
26
  >
27
- <BaseIcon v-if="icon" :icon="icon" />
27
+ <BaseIcon
28
+ v-if="icon"
29
+ :icon="icon"
30
+ />
28
31
  </span>
29
32
  </Switch>
30
- <SwitchLabel v-if="$slots.default" class="cursor-pointer">
33
+ <SwitchLabel
34
+ v-if="$slots.default"
35
+ class="cursor-pointer"
36
+ >
31
37
  <slot />
32
38
  </SwitchLabel>
33
39
  </div>
@@ -17,7 +17,10 @@
17
17
  </div>
18
18
  </div>
19
19
  </component>
20
- <div v-if="closable" class="absolute top-0 right-0 p-3">
20
+ <div
21
+ v-if="closable"
22
+ class="absolute top-0 right-0 p-3"
23
+ >
21
24
  <button
22
25
  type="button"
23
26
  class="rounded-full bg-black bg-opacity-50 p-1 text-white"
@@ -18,7 +18,10 @@
18
18
  ]"
19
19
  @click.prevent="onClick(navigate)"
20
20
  >
21
- <div class="relative flex" :class="sizeClassInner">
21
+ <div
22
+ class="relative flex"
23
+ :class="sizeClassInner"
24
+ >
22
25
  <div
23
26
  class="absolute left-0 bottom-0 w-full"
24
27
  :class="[
@@ -26,7 +29,7 @@
26
29
  ? 'h-[2px] bg-primary-600'
27
30
  : 'group-hover:h-px group-hover:bg-slate-700',
28
31
  ]"
29
- ></div>
32
+ />
30
33
  <div class="whitespace-nowrap">
31
34
  <slot :active="isActiveInternal(isActive, isExactActive)" />
32
35
  </div>
@@ -3,7 +3,10 @@
3
3
  class="relative w-full overflow-hidden"
4
4
  :class="maxHeight ? 'base-table--has-max-height' : ''"
5
5
  >
6
- <div ref="slot" style="display: none">
6
+ <div
7
+ ref="slot"
8
+ style="display: none"
9
+ >
7
10
  <slot />
8
11
  </div>
9
12
 
@@ -17,7 +20,10 @@
17
20
  <div class="inline-block min-w-full align-middle">
18
21
  <div class="relative min-h-[300px]">
19
22
  <table class="min-w-full border-separate border-spacing-0">
20
- <thead v-if="newColumns.length" ref="thead">
23
+ <thead
24
+ v-if="newColumns.length"
25
+ ref="thead"
26
+ >
21
27
  <tr>
22
28
  <th
23
29
  v-if="showDetailRowIcon"
@@ -38,7 +44,7 @@
38
44
  :checked="isAllChecked"
39
45
  :disabled="isAllUncheckable"
40
46
  :class="checkboxStyle"
41
- />
47
+ >
42
48
  </div>
43
49
  </th>
44
50
  <th
@@ -84,14 +90,14 @@
84
90
  :opacity="!isAsc ? '0.5' : '1'"
85
91
  fill="currentColor"
86
92
  d="M8.71 12.29L11.3 9.7a.996.996 0 0 1 1.41 0l2.59 2.59c.63.63.18 1.71-.71 1.71H9.41c-.89 0-1.33-1.08-.7-1.71z"
87
- ></path>
93
+ />
88
94
  </g>
89
95
  <g transform="translate(0 3)">
90
96
  <path
91
97
  :opacity="isAsc ? '0.5' : '1'"
92
98
  fill="currentColor"
93
99
  d="m8.71 11.71l2.59 2.59c.39.39 1.02.39 1.41 0l2.59-2.59c.63-.63.18-1.71-.71-1.71H9.41c-.89 0-1.33 1.08-.7 1.71z"
94
- ></path>
100
+ />
95
101
  </g>
96
102
  </svg>
97
103
  </div>
@@ -109,7 +115,7 @@
109
115
  :checked="isAllChecked"
110
116
  :disabled="isAllUncheckable"
111
117
  :class="checkboxStyle"
112
- />
118
+ >
113
119
  </th>
114
120
  </tr>
115
121
  </thead>
@@ -156,7 +162,7 @@
156
162
  :disabled="!isRowCheckable(row)"
157
163
  :checked="isRowChecked(row)"
158
164
  :class="checkboxStyle"
159
- />
165
+ >
160
166
  </div>
161
167
  </td>
162
168
 
@@ -197,7 +203,7 @@
197
203
  :disabled="!isRowCheckable(row)"
198
204
  :checked="isRowChecked(row)"
199
205
  :class="checkboxStyle"
200
- />
206
+ >
201
207
  </td>
202
208
  </tr>
203
209
 
@@ -211,7 +217,11 @@
211
217
  class="td"
212
218
  :class="borderBottomDetailClasses(index)"
213
219
  >
214
- <slot name="detail" :row="row" :index="index" />
220
+ <slot
221
+ name="detail"
222
+ :row="row"
223
+ :index="index"
224
+ />
215
225
  </td>
216
226
  </tr>
217
227
  </transition>
@@ -55,7 +55,7 @@
55
55
  @click="open"
56
56
  @input="onTextInput"
57
57
  @keydown="onTextKeydown"
58
- />
58
+ >
59
59
  </div>
60
60
  </div>
61
61
  </div>
@@ -82,13 +82,22 @@
82
82
  @scroll-bottom="emit('scrollBottom')"
83
83
  >
84
84
  <template #empty="emptyProps">
85
- <slot name="empty" v-bind="{ ...emptyProps, ...slotProps }" />
85
+ <slot
86
+ name="empty"
87
+ v-bind="{ ...emptyProps, ...slotProps }"
88
+ />
86
89
  </template>
87
90
  <template #option="optionProps">
88
- <slot name="option" v-bind="{ ...optionProps, ...slotProps }" />
91
+ <slot
92
+ name="option"
93
+ v-bind="{ ...optionProps, ...slotProps }"
94
+ />
89
95
  </template>
90
96
  <template #footer="footerProps">
91
- <slot name="footer" v-bind="{ ...footerProps, ...slotProps }" />
97
+ <slot
98
+ name="footer"
99
+ v-bind="{ ...footerProps, ...slotProps }"
100
+ />
92
101
  </template>
93
102
  </BaseAutocompleteDrawer>
94
103
  </div>
@@ -18,19 +18,33 @@
18
18
  @update:model-value="$emit('update:modelValue', $event)"
19
19
  >
20
20
  <template #items="itemProps">
21
- <slot name="items" v-bind="itemProps" />
21
+ <slot
22
+ name="items"
23
+ v-bind="itemProps"
24
+ />
22
25
  </template>
23
26
 
24
27
  <template #option="optionProps">
25
- <slot name="option" v-bind="optionProps" />
28
+ <slot
29
+ name="option"
30
+ v-bind="optionProps"
31
+ />
26
32
  </template>
27
33
 
28
34
  <template #footer="footerProps">
29
- <slot name="footer" v-bind="footerProps" :keywords="keywords"> </slot>
35
+ <slot
36
+ name="footer"
37
+ v-bind="footerProps"
38
+ :keywords="keywords"
39
+ />
30
40
  </template>
31
41
 
32
42
  <template #empty="emptyProps">
33
- <slot name="empty" v-bind="emptyProps" :first-search="firstSearch">
43
+ <slot
44
+ name="empty"
45
+ v-bind="emptyProps"
46
+ :first-search="firstSearch"
47
+ >
34
48
  <div
35
49
  v-if="firstSearch"
36
50
  class="flex h-[80px] items-center justify-center px-3 text-center text-base leading-tight text-slate-600"
@@ -1,5 +1,9 @@
1
1
  <template>
2
- <div ref="wrapper" class="grid" :style="{ maxHeight: maxHeight + 'px' }">
2
+ <div
3
+ ref="wrapper"
4
+ class="grid"
5
+ :style="{ maxHeight: maxHeight + 'px' }"
6
+ >
3
7
  <textarea
4
8
  :value="modelValue"
5
9
  :name="nameInternal"
@@ -91,7 +95,7 @@ const props = defineProps({
91
95
 
92
96
  const emit = defineEmits(['update:modelValue', 'submit', 'focus', 'input']);
93
97
 
94
- const { nameInternal, requiredInternal, hasErrorInternal, emitUpdate } =
98
+ const { nameInternal, requiredInternal, hasErrorInternal } =
95
99
  useField({
96
100
  name: computed(() => props.name),
97
101
  required: computed(() => props.required),
@@ -1,7 +1,13 @@
1
1
  <template>
2
2
  <div class="flow-root">
3
- <ul role="list" class="-mb-8">
4
- <li v-for="(item, index) in items" :key="index">
3
+ <ul
4
+ role="list"
5
+ class="-mb-8"
6
+ >
7
+ <li
8
+ v-for="(item, index) in items"
9
+ :key="index"
10
+ >
5
11
  <div class="relative pb-8">
6
12
  <span
7
13
  v-if="index != items.length - 1"
@@ -65,6 +65,7 @@ import BasePagination from './BasePagination.vue';
65
65
  import BasePanel from './BasePanel.vue';
66
66
  import BasePassword from './BasePassword.vue';
67
67
  import BaseProgressCircle from './BaseProgressCircle.vue';
68
+ import BasePWAPrompt from './BasePWAPrompt.vue';
68
69
  import BaseRadioGroup from './BaseRadioGroup.vue';
69
70
  import BaseReadMore from './BaseReadMore.vue';
70
71
  import BaseRichText from './BaseRichText.vue';
@@ -74,6 +75,8 @@ import BaseSideNavigation from './BaseSideNavigation.vue';
74
75
  import BaseSideNavigationItem from './BaseSideNavigationItem.vue';
75
76
  import BaseSkeleton from './BaseSkeleton.vue';
76
77
  import BaseStatistic from './BaseStatistic.vue';
78
+ import BaseStepper from './BaseStepper.vue';
79
+ import BaseStepperItem from './BaseStepperItem.vue';
77
80
  import BaseSwitch from './BaseSwitch.vue';
78
81
  import BaseSystemAlert from './BaseSystemAlert.vue';
79
82
  import BaseTabs from './BaseTabs.vue';
@@ -160,6 +163,7 @@ export {
160
163
  BasePanel,
161
164
  BasePassword,
162
165
  BaseProgressCircle,
166
+ BasePWAPrompt,
163
167
  BaseRadioGroup,
164
168
  BaseReadMore,
165
169
  BaseRichText,
@@ -169,6 +173,8 @@ export {
169
173
  BaseSideNavigationItem,
170
174
  BaseSkeleton,
171
175
  BaseStatistic,
176
+ BaseStepper,
177
+ BaseStepperItem,
172
178
  BaseSwitch,
173
179
  BaseSystemAlert,
174
180
  BaseTabs,
package/src/lang/en.json CHANGED
@@ -34,6 +34,7 @@
34
34
  "file_must_be_of_type": "The file must be of type",
35
35
  "filters": "Filters",
36
36
  "go_to_page": "Go to ",
37
+ "install": "Install",
37
38
  "invalid_value": "Invalid value",
38
39
  "just_now": "Just now",
39
40
  "maximum_x_decimal_places": "Maximum 1 decimal place|Maximum {count} decimal places",
@@ -53,6 +54,10 @@
53
54
  "postal_code_zip_code": "Postal Code / Zip Code",
54
55
  "previous": "Previous",
55
56
  "previous_month": "Previous month",
57
+ "pwa_add_to_home_screen": "then 'Add to Home Screen'",
58
+ "pwa_description": "Install this application on your home screen for faster access",
59
+ "pwa_share_button": "Share button",
60
+ "pwa_tap": "Just tap",
56
61
  "read_more": "Read more",
57
62
  "region": "State / Province",
58
63
  "remove": "Remove",
package/src/lang/fr.json CHANGED
@@ -34,6 +34,7 @@
34
34
  "file_must_be_of_type": "Le fichier doit être de type",
35
35
  "filters": "Filtres",
36
36
  "go_to_page": "Page",
37
+ "install": "Installer",
37
38
  "invalid_value": "Valeur invalide",
38
39
  "just_now": "à l’instant",
39
40
  "maximum_x_decimal_places": "Maximum 1 décimale|Maximum {count} décimales",
@@ -53,6 +54,10 @@
53
54
  "postal_code_zip_code": "Code postal",
54
55
  "previous": "Précédent",
55
56
  "previous_month": "Mois précédent",
57
+ "pwa_add_to_home_screen": "puis 'Sur l'écran d'accueil'",
58
+ "pwa_description": "Installer cette application sur votre écran d'accueil pour un accès ",
59
+ "pwa_share_button": "Bouton de partage",
60
+ "pwa_tap": "Appuyez sur",
56
61
  "read_more": "Lire la suite",
57
62
  "region": "État / Province",
58
63
  "remove": "Retirer",
@@ -1,5 +1,9 @@
1
1
  <template>
2
- <svg viewBox="0 0 150 150" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <svg
3
+ viewBox="0 0 150 150"
4
+ fill="none"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ >
3
7
  <path
4
8
  class="text-slate-100"
5
9
  d="M75 150C116.421 150 150 116.421 150 75C150 33.5786 116.421 0 75 0C33.5786 0 0 33.5786 0 75C0 116.421 33.5786 150 75 150Z"
@@ -14,9 +14,21 @@
14
14
  stroke="url(#gradient)"
15
15
  />
16
16
  <linearGradient id="gradient">
17
- <stop offset="50%" stop-color="#2563eb" stop-opacity="1" />
18
- <stop offset="65%" stop-color="#2563eb" stop-opacity=".5" />
19
- <stop offset="100%" stop-color="#2563eb" stop-opacity="0" />
17
+ <stop
18
+ offset="50%"
19
+ stop-color="#2563eb"
20
+ stop-opacity="1"
21
+ />
22
+ <stop
23
+ offset="65%"
24
+ stop-color="#2563eb"
25
+ stop-opacity=".5"
26
+ />
27
+ <stop
28
+ offset="100%"
29
+ stop-color="#2563eb"
30
+ stop-opacity="0"
31
+ />
20
32
  </linearGradient>
21
33
  </svg>
22
34
  </template>
@@ -1,6 +1,12 @@
1
1
  <template>
2
- <svg class="animate-spin" viewBox="0 0 24 24">
3
- <path fill="currentColor" d="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z" />
2
+ <svg
3
+ class="animate-spin"
4
+ viewBox="0 0 24 24"
5
+ >
6
+ <path
7
+ fill="currentColor"
8
+ d="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"
9
+ />
4
10
  </svg>
5
11
  </template>
6
12