sprintify-ui 0.6.35 → 0.6.37

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.
@@ -7443,6 +7443,7 @@ const Xm = /* @__PURE__ */ pi(Sx, [["render", Cx]]), Tx = { class: "relative w-f
7443
7443
  ref_key: "inputElement",
7444
7444
  ref: p,
7445
7445
  "model-value": T(h),
7446
+ required: !1,
7446
7447
  type: "text",
7447
7448
  "visible-focus": n.visibleFocus,
7448
7449
  placeholder: n.placeholder ? n.placeholder : T(ze)("sui.autocomplete_placeholder"),
@@ -24251,6 +24252,7 @@ const RO = { class: "grow" }, MO = {
24251
24252
  placeholder: T(ze)("sui.autocomplete_placeholder"),
24252
24253
  size: T(c).size.value,
24253
24254
  class: "w-full",
24255
+ required: !1,
24254
24256
  "icon-left": "heroicons:magnifying-glass",
24255
24257
  "icon-right": T(v) ? "heroicons:x-mark" : void 0,
24256
24258
  onIconRightClick: Ce[1] || (Ce[1] = (I) => {
@@ -1,4 +1,4 @@
1
- import { TimelineItem } from '../types/TimelineItem';
1
+ import { TimelineItem } from '../types';
2
2
  import { PropType } from 'vue';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  items: {
@@ -1,4 +1,4 @@
1
- import { TimelineItem } from '../types/TimelineItem';
1
+ import { TimelineItem } from '../types';
2
2
  import { PropType } from 'vue';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  item: {
@@ -1,9 +0,0 @@
1
- export interface TimelineItem {
2
- title: string;
3
- icon: string;
4
- description?: null | string;
5
- date?: string | null;
6
- color?: string | null;
7
- onEdit?: () => void | Promise<void>;
8
- onDelete?: () => void | Promise<void>;
9
- }
@@ -209,3 +209,12 @@ export interface BaseCropperConfig {
209
209
  presetOptions?: Record<string, any>;
210
210
  saveOptions?: ResultOptions;
211
211
  }
212
+ export interface TimelineItem {
213
+ title: string;
214
+ icon: string;
215
+ description?: null | string;
216
+ date?: string | null;
217
+ color?: string | null;
218
+ onEdit?: () => void | Promise<void>;
219
+ onDelete?: () => void | Promise<void>;
220
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.6.35",
3
+ "version": "0.6.37",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -26,6 +26,7 @@
26
26
  <BaseInput
27
27
  ref="inputElement"
28
28
  :model-value="keywords"
29
+ :required="false"
29
30
  type="text"
30
31
  :visible-focus="visibleFocus"
31
32
  :placeholder="placeholder ? placeholder : t('sui.autocomplete_placeholder')"
@@ -28,6 +28,7 @@
28
28
  :placeholder="t('sui.autocomplete_placeholder')"
29
29
  :size="sizeInternal.size.value"
30
30
  class="w-full"
31
+ :required="false"
31
32
  icon-left="heroicons:magnifying-glass"
32
33
  :icon-right="searchQuery ? 'heroicons:x-mark' : undefined"
33
34
  @icon-right-click="searchQuery = ''; onSearch('');"
@@ -25,7 +25,7 @@
25
25
  </template>
26
26
 
27
27
  <script lang="ts" setup>
28
- import { TimelineItem } from '../types/TimelineItem';
28
+ import { TimelineItem } from '../types';
29
29
  import { PropType } from 'vue';
30
30
  import BaseTimelineItem from './BaseTimelineItem.vue';
31
31
 
@@ -60,7 +60,7 @@
60
60
  </template>
61
61
 
62
62
  <script lang="ts" setup>
63
- import { TimelineItem } from '../types/TimelineItem';
63
+ import { TimelineItem } from '../types';
64
64
  import { PropType } from 'vue';
65
65
  import { Icon as BaseIcon } from '@iconify/vue';
66
66
  import { getColorConfig } from '@/utils/colors';
@@ -1,9 +0,0 @@
1
- export interface TimelineItem {
2
- title: string;
3
- icon: string;
4
- description?: null | string;
5
- date?: string | null;
6
- color?: string | null;
7
- onEdit?: () => void | Promise<void>;
8
- onDelete?: () => void | Promise<void>;
9
- }
@@ -255,4 +255,14 @@ export interface BaseCropperConfig {
255
255
  preset?: CropperPreset;
256
256
  presetOptions?: Record<string, any>;
257
257
  saveOptions?: ResultOptions;
258
- }
258
+ }
259
+
260
+ export interface TimelineItem {
261
+ title: string;
262
+ icon: string;
263
+ description?: null | string;
264
+ date?: string | null;
265
+ color?: string | null;
266
+ onEdit?: () => void | Promise<void>;
267
+ onDelete?: () => void | Promise<void>;
268
+ }