@dative-gpi/foundation-shared-components 1.0.128-fix-mobile → 1.0.128-fix-mobile-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.
@@ -84,7 +84,7 @@ export default defineComponent({
84
84
 
85
85
  const elementId = `id${uuidv4()}`;
86
86
 
87
- const showOutsideScrollbar = computed(() => props.scrollOutside && !isTouchScreenEnabled);
87
+ const showOutsideScrollbar = computed(() => props.scrollOutside && !isTouchScreenEnabled.value);
88
88
 
89
89
  const style = computed((): StyleValue => ({
90
90
  "--fs-fade-out-height" : props.height ? sizeToVar(props.height) : "initial",
@@ -35,6 +35,7 @@
35
35
  v-if="!$props.disableTable && !$props.disableIterator"
36
36
  >
37
37
  <FSRow
38
+ :width="isMobileSized ? 'hug' : 'fill'"
38
39
  align="center-right"
39
40
  >
40
41
  <FSOptionGroup
@@ -900,8 +901,8 @@ export default defineComponent({
900
901
  },
901
902
  emits: ["update:modelValue", "update:headers", "update:search", "update:showFilters", "update:filters", "update:mode", "update:sortBy", "update:rowsPerPage", "update:page", "update:include", "update:items", "click:row"],
902
903
  setup(props, { emit }) {
904
+ const { isExtraSmall, isMobileSized } = useBreakpoints();
903
905
  const { handleRoutingEvent } = useRouting();
904
- const { isExtraSmall } = useBreakpoints();
905
906
  const { $tr } = useTranslationsProvider();
906
907
  const { getColors } = useColors();
907
908
  const router = useRouter();
@@ -1596,6 +1597,7 @@ export default defineComponent({
1596
1597
  classes,
1597
1598
  style,
1598
1599
  size,
1600
+ isMobileSized,
1599
1601
  isExtraSmall,
1600
1602
  draggableDisabled,
1601
1603
  elementId,
@@ -20,11 +20,12 @@ export const useSlots = () => {
20
20
  // Directive wrapper (v-for, v-if)
21
21
  case "symbol":
22
22
  switch (element.type) {
23
+ // On a v-for, we want to get the children of the v-for
23
24
  case Symbol.for("v-fgt"):
24
25
  returnElements.push(...recursiveGetChildren(element.children));
25
26
  break;
27
+ // On a negative v-if, we want to get nothing
26
28
  case Symbol.for("v-cmt"):
27
- returnElements.push(element);
28
29
  break;
29
30
  default:
30
31
  returnElements.push(element);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.128-fix-mobile",
4
+ "version": "1.0.128-fix-mobile-2",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.128-fix-mobile",
14
- "@dative-gpi/foundation-shared-services": "1.0.128-fix-mobile"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.128-fix-mobile-2",
14
+ "@dative-gpi/foundation-shared-services": "1.0.128-fix-mobile-2"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "099789bb7c9a4134f9ee0aba08d805b673cbb977"
38
+ "gitHead": "9403bb429bc63af0dbf48eb554b02af2db779b07"
39
39
  }