@paris-ias/list 1.0.35 → 1.0.37

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.
Files changed (35) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/fellowships/RowsItem.vue +10 -12
  3. package/dist/runtime/components/fellowships/View.vue +1 -0
  4. package/dist/runtime/components/misc/molecules/Related.vue +5 -1
  5. package/dist/runtime/components/news/ExpandedItem.vue +4 -4
  6. package/dist/runtime/components/news/RowsItem.vue +8 -7
  7. package/dist/runtime/components/news/View.vue +5 -11
  8. package/dist/runtime/components/people/RowsItem.vue +4 -4
  9. package/dist/runtime/components/people/View.vue +2 -6
  10. package/dist/runtime/components/projects/RowsItem.vue +4 -4
  11. package/dist/runtime/components/projects/View.vue +3 -5
  12. package/dist/runtime/components/publications/RowsItem.vue +4 -4
  13. package/dist/runtime/components/publications/View.vue +3 -5
  14. package/package.json +1 -1
  15. /package/dist/runtime/graphql/{queries/buildFiltersValues.gql → buildFiltersValues.gql} +0 -0
  16. /package/dist/runtime/graphql/{queries/item → item}/action.gql +0 -0
  17. /package/dist/runtime/graphql/{queries/item → item}/apps.gql +0 -0
  18. /package/dist/runtime/graphql/{queries/item → item}/events.gql +0 -0
  19. /package/dist/runtime/graphql/{queries/item → item}/fellowships.gql +0 -0
  20. /package/dist/runtime/graphql/{queries/item → item}/news.gql +0 -0
  21. /package/dist/runtime/graphql/{queries/item → item}/people.gql +0 -0
  22. /package/dist/runtime/graphql/{queries/item → item}/projects.gql +0 -0
  23. /package/dist/runtime/graphql/{queries/item → item}/publications.gql +0 -0
  24. /package/dist/runtime/graphql/{queries/item → item}/users.gql +0 -0
  25. /package/dist/runtime/graphql/{queries/list → list}/action.gql +0 -0
  26. /package/dist/runtime/graphql/{queries/list → list}/apps.gql +0 -0
  27. /package/dist/runtime/graphql/{queries/list → list}/events.gql +0 -0
  28. /package/dist/runtime/graphql/{queries/list → list}/fellowships.gql +0 -0
  29. /package/dist/runtime/graphql/{queries/list → list}/news.gql +0 -0
  30. /package/dist/runtime/graphql/{queries/list → list}/people.gql +0 -0
  31. /package/dist/runtime/graphql/{queries/list → list}/projects.gql +0 -0
  32. /package/dist/runtime/graphql/{queries/list → list}/publications.gql +0 -0
  33. /package/dist/runtime/graphql/{queries/list → list}/search.gql +0 -0
  34. /package/dist/runtime/graphql/{queries/list → list}/users.gql +0 -0
  35. /package/dist/runtime/graphql/{queries/login.gql → login.gql} +0 -0
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paris-ias/list",
3
3
  "configKey": "list",
4
- "version": "1.0.35",
4
+ "version": "1.0.37",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.0",
7
7
  "unbuild": "3.5.0"
@@ -15,18 +15,16 @@
15
15
  {{ item.name }}
16
16
  </nuxt-link>
17
17
  </div>
18
- <div class="d-flex">
19
- <MDC
20
- v-if="item.description"
21
- :value="item.description"
22
- class="text-wrap clamped-text"
23
- :style="
24
- '-webkit-line-clamp:' +
25
- [5, 5, 5, 10, 12, 14][
26
- ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
27
- ]
28
- "
29
- />
18
+ <div
19
+ class="text-wrap clamped-text d-flex"
20
+ :style="
21
+ '-webkit-line-clamp:' +
22
+ [5, 5, 5, 10, 12, 14][
23
+ ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
24
+ ]
25
+ "
26
+ >
27
+ <MDC v-if="item.description" :value="item.description" />
30
28
  </div>
31
29
  <MiscMoleculesChipContainer
32
30
  :items="[
@@ -150,6 +150,7 @@
150
150
 
151
151
  <script setup>
152
152
  import { useDisplay } from "vuetify";
153
+ import { ref } from "#imports";
153
154
  const { name } = useDisplay();
154
155
  const accordeon = ref(-1);
155
156
  const props = defineProps({
@@ -9,7 +9,11 @@
9
9
  xl="3"
10
10
  class="d-flex flex-column align-center"
11
11
  >
12
- <MiscMoleculesRelatedItems :type="type" :items="items" />
12
+ <MiscMoleculesRelatedItems
13
+ v-if="items.length && type !== '__typename'"
14
+ :type="type"
15
+ :items="items"
16
+ />
13
17
  </v-col>
14
18
  </v-row>
15
19
  </template>
@@ -48,7 +48,7 @@
48
48
  <MiscMoleculesChipContainer :items="item.tags" />
49
49
  </div>
50
50
  </v-expand-transition>
51
- <MDC
51
+ <div
52
52
  v-if="item.summary"
53
53
  class="text-body-1 text-wrap clamped-text"
54
54
  :style="
@@ -57,9 +57,9 @@
57
57
  ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
58
58
  ]
59
59
  "
60
- :value="item.summary"
61
- />
62
-
60
+ >
61
+ <MDC :value="item.summary" />
62
+ </div>
63
63
  <v-expand-transition>
64
64
  <v-btn
65
65
  v-show="expanded"
@@ -58,9 +58,8 @@
58
58
  class="mt-4"
59
59
  />
60
60
  <template v-if="mdAndDown">
61
- <MDC
61
+ <div
62
62
  v-if="item.summary"
63
- :value="item.summary"
64
63
  class="text-body-1 text-wrap clamped-text"
65
64
  :style="
66
65
  '-webkit-line-clamp:' +
@@ -68,7 +67,9 @@
68
67
  ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
69
68
  ]
70
69
  "
71
- />
70
+ >
71
+ <MDC :value="item.summary" />
72
+ </div>
72
73
  <v-btn
73
74
  class="mt-4"
74
75
  variant="outlined"
@@ -94,9 +95,8 @@
94
95
  />
95
96
 
96
97
  <template v-else>
97
- <MDC
98
+ <div
98
99
  v-if="item.summary"
99
- :value="item.summary"
100
100
  class="text-body-1 text-wrap clamped-text"
101
101
  :style="
102
102
  '-webkit-line-clamp:' +
@@ -104,8 +104,9 @@
104
104
  ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
105
105
  ]
106
106
  "
107
- />
108
- <p v-else />
107
+ >
108
+ <MDC :value="item.summary" />
109
+ </div>
109
110
  <v-btn
110
111
  class="mt-4"
111
112
  variant="outlined"
@@ -59,13 +59,9 @@
59
59
 
60
60
  <div
61
61
  v-if="renderedDescription && mdAndUp"
62
- class="d-flex text-wrap text-h6 text-black mt-3"
62
+ class="mt-md-n2 mx-4 mx-sm-8 mx-md-0 d-flex text-wrap text-h6 text-black mt-3"
63
63
  >
64
- <MDC
65
- v-if="item.description"
66
- :value="item.description"
67
- class="mt-md-n2 mx-4 mx-sm-8 mx-md-0"
68
- />
64
+ <MDC v-if="item.description" :value="item.description" class="" />
69
65
  </div>
70
66
  <div
71
67
  class="d-flex flex-column flex-md-row align-md-center mt-6 mx-sm-4 mx-md-6"
@@ -124,11 +120,9 @@
124
120
  ]
125
121
  "
126
122
  />
127
- <MDC
128
- v-if="item.description"
129
- :value="item.description"
130
- class="mt-md-n2 mx-4 mx-sm-8 mx-md-0"
131
- />
123
+ <div v-if="item.description" class="mt-md-n2 mx-4 mx-sm-8 mx-md-0">
124
+ <MDC :value="item.description" />
125
+ </div>
132
126
  </v-col>
133
127
  </v-row>
134
128
 
@@ -52,13 +52,13 @@
52
52
  </NuxtLink>
53
53
  <MiscAtomsSocials v-if="item.socials" :socials="item.socials" />
54
54
  <PeopleGroupBadges :item="item" />
55
-
56
- <MDC
55
+ <div
57
56
  v-if="item.biography"
58
- :value="item.biography"
59
57
  class="text-wrap clamped-text text-black"
60
58
  :style="'-webkit-line-clamp:' + lineClamp"
61
- />
59
+ >
60
+ <MDC :value="item.biography" />
61
+ </div>
62
62
  </div>
63
63
  </v-col>
64
64
  </v-row>
@@ -83,12 +83,8 @@
83
83
  ]
84
84
  "
85
85
  />
86
- <template v-else>
87
- <MDC
88
- v-if="item.biography"
89
- :value="item.biography"
90
- class="my-6 flex-wrap"
91
- />
86
+ <template v-else class="my-6 flex-wrap">
87
+ <MDC v-if="item.biography" :value="item.biography" />
92
88
  </template>
93
89
 
94
90
  <!-- DIVIDERS -->
@@ -32,8 +32,7 @@
32
32
  <div class="text-h5 text-sm-h3 text-md-h4 text-md-h4 my-6">
33
33
  {{ item.name }}
34
34
  </div>
35
-
36
- <MDC
35
+ <div
37
36
  v-if="item.summary"
38
37
  class="mt-n3 text-wrap clamped-text"
39
38
  :style="
@@ -42,8 +41,9 @@
42
41
  ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
43
42
  ]
44
43
  "
45
- :value="item.summary"
46
- />
44
+ >
45
+ <MDC :value="item.summary" />
46
+ </div>
47
47
 
48
48
  <v-btn
49
49
  class="mt-4"
@@ -77,11 +77,9 @@
77
77
  ]
78
78
  "
79
79
  />
80
- <MDC
81
- v-if="item.description"
82
- :value="item.description"
83
- class="mt-md-n2 mx-10 mx-md-0"
84
- />
80
+ <div v-if="item.description" class="mt-md-n2 mx-10 mx-md-0">
81
+ <MDC :value="item.description" />
82
+ </div>
85
83
  </v-col>
86
84
  </v-row>
87
85
 
@@ -32,10 +32,8 @@
32
32
  <div class="text-h5 text-sm-h3 text-md-h4 text-md-h4 my-6">
33
33
  {{ item.name }}
34
34
  </div>
35
-
36
- <MDC
35
+ <div
37
36
  v-if="item.summary"
38
- :value="item.summary"
39
37
  class="text-wrap clamped-text"
40
38
  :style="
41
39
  '-webkit-line-clamp:' +
@@ -43,7 +41,9 @@
43
41
  ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
44
42
  ]
45
43
  "
46
- />
44
+ >
45
+ <MDC :value="item.summary" />
46
+ </div>
47
47
  <v-btn
48
48
  class="mt-4"
49
49
  variant="outlined"
@@ -75,11 +75,9 @@
75
75
  ]
76
76
  "
77
77
  />
78
- <MDC
79
- v-if="item.description"
80
- :value="item.description"
81
- class="mt-md-n2 mx-10 mx-md-0"
82
- />
78
+ <div v-if="item.description" class="mt-md-n2 mx-10 mx-md-0">
79
+ <MDC :value="item.description" />
80
+ </div>
83
81
  </v-col>
84
82
  </v-row>
85
83
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "AGPL-3.0-only",
3
3
  "main": "./dist/module.mjs",
4
- "version": "1.0.35",
4
+ "version": "1.0.37",
5
5
  "name": "@paris-ias/list",
6
6
  "repository": "IEA-Paris/list",
7
7
  "dependencies": {