vueless 0.0.810 → 0.0.811

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.810",
3
+ "version": "0.0.811",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -22,10 +22,10 @@ const props = withDefaults(defineProps<Props>(), {
22
22
  const slots = useSlots();
23
23
 
24
24
  const isShownHeader = computed(() => {
25
- const isHeaderLeftSlot = hasSlotContent(slots["title"]);
26
- const isHeaderRightSlot = hasSlotContent(slots["title"]);
25
+ const isTitleSlot = hasSlotContent(slots["title"]);
26
+ const isActionsSlot = hasSlotContent(slots["actions"]);
27
27
 
28
- return props.title || isHeaderLeftSlot || isHeaderRightSlot;
28
+ return props.title || isTitleSlot || isActionsSlot;
29
29
  });
30
30
 
31
31
  const isShownFooter = computed(() => {