fds-vue-core 6.2.1 → 6.2.2
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.
- package/dist/fds-vue-core.cjs.js +4 -3
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +4 -3
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FdsWeekCalendar/WeekDay.vue +3 -3
- package/src/components/FdsWeekCalendar/types.ts +1 -0
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -14994,7 +14994,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
14994
14994
|
const props = __props;
|
|
14995
14995
|
const emit = __emit;
|
|
14996
14996
|
const classes = vue.computed(() => [
|
|
14997
|
-
"box-border flex h-[64px] w-[
|
|
14997
|
+
"box-border flex h-[64px] w-full max-w-[100px] flex-1 basis-0 flex-col items-center justify-center border-2 border-transparent px-1 py-1 transition-colors cursor-pointer",
|
|
14998
14998
|
props.disabled ? "" : "hover:border-2 hover:border-blue-500 border-solid",
|
|
14999
14999
|
props.disabled ? "" : "active:bg-blue_t-100 border-transparent",
|
|
15000
15000
|
props.disabled ? "" : "focus:outline-none",
|
|
@@ -15011,7 +15011,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
15011
15011
|
]);
|
|
15012
15012
|
const onClick = () => {
|
|
15013
15013
|
if (props.disabled) return;
|
|
15014
|
-
emit("select-date", props.date);
|
|
15014
|
+
emit("select-date", props.selected ? null : props.date);
|
|
15015
15015
|
};
|
|
15016
15016
|
const weekdayLabel = vue.computed(() => {
|
|
15017
15017
|
const value = format(props.date, "EEE", { locale: sv });
|
|
@@ -15110,7 +15110,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
15110
15110
|
weekLabel: { default: "vecka" },
|
|
15111
15111
|
onDecrementWeek: {},
|
|
15112
15112
|
onIncrementWeek: {},
|
|
15113
|
-
onSelectDate: {}
|
|
15113
|
+
onSelectDate: {},
|
|
15114
|
+
onChangeDateRange: {}
|
|
15114
15115
|
},
|
|
15115
15116
|
emits: ["change-date-range", "select-date", "decrement-week", "increment-week"],
|
|
15116
15117
|
setup(__props, { emit: __emit }) {
|