fds-vue-core 7.1.2 → 7.1.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.
- package/dist/fds-vue-core.cjs.js +3 -8
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js +3 -8
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/Table/FdsTableHead/FdsTableHead.stories.ts +2 -4
- package/src/components/Table/FdsTableHead/FdsTableHead.vue +1 -7
- package/src/components/Table/FdsTableHead/types.ts +0 -1
package/dist/fds-vue-core.es.js
CHANGED
|
@@ -15908,8 +15908,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
15908
15908
|
heading: { default: void 0 },
|
|
15909
15909
|
align: { default: "left" },
|
|
15910
15910
|
icon: { default: void 0 },
|
|
15911
|
-
dataTestid: { default: void 0 }
|
|
15912
|
-
isSortActive: { type: Boolean, default: false }
|
|
15911
|
+
dataTestid: { default: void 0 }
|
|
15913
15912
|
},
|
|
15914
15913
|
emits: ["sort"],
|
|
15915
15914
|
setup(__props, { emit: __emit }) {
|
|
@@ -15921,10 +15920,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
15921
15920
|
props.align === "right" && "text-right justify-end",
|
|
15922
15921
|
iconName.value && "text-blue-600! hover:bg-blue_t-200 cursor-pointer focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-blue-500 active:bg-blue_t-300"
|
|
15923
15922
|
]);
|
|
15924
|
-
const iconClasses = computed(() => [
|
|
15925
|
-
"fill-blue-500 ml-1 transition-opacity",
|
|
15926
|
-
iconName.value && !props.isSortActive && "opacity-20"
|
|
15927
|
-
]);
|
|
15928
15923
|
const iconName = computed(() => props.icon);
|
|
15929
15924
|
const emit = __emit;
|
|
15930
15925
|
const handleSort = (ev) => {
|
|
@@ -15954,8 +15949,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
15954
15949
|
createVNode(_sfc_main$J, {
|
|
15955
15950
|
name: iconName.value,
|
|
15956
15951
|
size: "24px",
|
|
15957
|
-
class:
|
|
15958
|
-
}, null, 8, ["name"
|
|
15952
|
+
class: "fill-blue-500 ml-1"
|
|
15953
|
+
}, null, 8, ["name"])
|
|
15959
15954
|
], 42, _hoisted_1$1)) : (openBlock(), createElementBlock("div", {
|
|
15960
15955
|
key: 1,
|
|
15961
15956
|
class: normalizeClass(headerClasses.value)
|