sprintify-ui 0.6.20 → 0.6.22

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.
@@ -8756,7 +8756,7 @@ const Dd = /* @__PURE__ */ _e({
8756
8756
  icon: { default: "" },
8757
8757
  iconPosition: { default: "start" },
8758
8758
  size: { default: "md" },
8759
- color: { default: "primary" },
8759
+ color: { default: "" },
8760
8760
  to: { default: void 0 }
8761
8761
  },
8762
8762
  emits: ["click"],
@@ -8768,6 +8768,7 @@ const Dd = /* @__PURE__ */ _e({
8768
8768
  lg: "btn-lg",
8769
8769
  xl: "btn-xl"
8770
8770
  }, r = {
8771
+ "": "",
8771
8772
  primary: "btn-primary",
8772
8773
  secondary: "btn-secondary",
8773
8774
  "secondary-outline": "btn-secondary-outline",
@@ -27049,7 +27050,7 @@ const CM = {
27049
27050
  enableTime: e.enableTime,
27050
27051
  dateFormat: r.value,
27051
27052
  mode: e.mode,
27052
- locale: h.value,
27053
+ locale: { ...h.value, firstDayOfWeek: 7 },
27053
27054
  monthSelectorType: "static",
27054
27055
  minDate: e.minDate ?? void 0,
27055
27056
  maxDate: e.maxDate ?? void 0,
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
10
  default: undefined;
11
11
  };
12
12
  color: {
13
- type: import("vue").PropType<"danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline">;
13
+ type: import("vue").PropType<"" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline">;
14
14
  default: string;
15
15
  };
16
16
  icon: {
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
45
45
  default: undefined;
46
46
  };
47
47
  color: {
48
- type: import("vue").PropType<"danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline">;
48
+ type: import("vue").PropType<"" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline">;
49
49
  default: string;
50
50
  };
51
51
  icon: {
@@ -73,7 +73,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
73
73
  }, {
74
74
  class: string | false | 0 | ClassNameValue[] | null;
75
75
  to: RouteLocationRaw;
76
- color: "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline";
76
+ color: "" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline";
77
77
  icon: string;
78
78
  loading: boolean;
79
79
  size: "xs" | "sm" | "lg" | "xl" | "md";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.6.20",
3
+ "version": "0.6.22",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -58,6 +58,7 @@ const sizes = {
58
58
  };
59
59
 
60
60
  const colors = {
61
+ '': '',
61
62
  'primary': 'btn-primary',
62
63
  'secondary': 'btn-secondary',
63
64
  'secondary-outline': 'btn-secondary-outline',
@@ -93,7 +94,7 @@ const props = withDefaults(defineProps<{
93
94
  icon: '',
94
95
  iconPosition: 'start',
95
96
  size: 'md',
96
- color: 'primary',
97
+ color: '',
97
98
  to: undefined,
98
99
  });
99
100
 
@@ -17,10 +17,6 @@ export default {
17
17
  control: { type: 'select' },
18
18
  options: ['single', 'multiple', 'range', 'time'],
19
19
  },
20
- locale: {
21
- control: { type: 'select' },
22
- options: ['en', 'fr'],
23
- },
24
20
  },
25
21
  };
26
22
 
@@ -166,7 +166,7 @@ const flatpickrConfig = computed(() => {
166
166
  enableTime: props.enableTime,
167
167
  dateFormat: formatInternal.value,
168
168
  mode: props.mode,
169
- locale: locale.value,
169
+ locale: { ...locale.value, firstDayOfWeek: 7 },
170
170
  monthSelectorType: 'static',
171
171
  minDate: props.minDate ?? undefined,
172
172
  maxDate: props.maxDate ?? undefined,