@data-fair/lib-vuetify 2.0.2 → 2.0.4

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/default.scss CHANGED
@@ -1,3 +1,5 @@
1
+ // @deprecated Use style/global.scss instead.
2
+
1
3
  @use 'vuetify' with (
2
4
  $color-pack: false,
3
5
  $body-font-family: 'Nunito'
package/lang-switcher.vue CHANGED
@@ -4,6 +4,7 @@
4
4
  v-if="locales.length > 1"
5
5
  direction="bottom"
6
6
  transition="fade-transition"
7
+ style="z-index: 2600; /* Higher than agent-chat's 2500 */"
7
8
  >
8
9
  <template #activator="{props}">
9
10
  <v-btn
@@ -35,10 +35,12 @@ if (locales.length > 1) {
35
35
  const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({
36
36
  direction: "bottom",
37
37
  transition: "fade-transition",
38
+ ...{ style: {} },
38
39
  }));
39
40
  const __VLS_7 = __VLS_6({
40
41
  direction: "bottom",
41
42
  transition: "fade-transition",
43
+ ...{ style: {} },
42
44
  }, ...__VLS_functionalComponentArgsRest(__VLS_6));
43
45
  __VLS_8.slots.default;
44
46
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vuetify",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Components based on the Vuetify 3 UI lib for the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "files": [
package/personal-menu.vue CHANGED
@@ -11,6 +11,7 @@
11
11
  v-else
12
12
  offset-y
13
13
  class="ml-n4"
14
+ style="z-index: 2600; /* Higher than agent-chat's 2500 */"
14
15
  max-height="700"
15
16
  >
16
17
  <template #activator="{props: activatorProps}">
@@ -53,11 +53,13 @@ else {
53
53
  const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
54
54
  offsetY: true,
55
55
  ...{ class: "ml-n4" },
56
+ ...{ style: {} },
56
57
  maxHeight: "700",
57
58
  }));
58
59
  const __VLS_11 = __VLS_10({
59
60
  offsetY: true,
60
61
  ...{ class: "ml-n4" },
62
+ ...{ style: {} },
61
63
  maxHeight: "700",
62
64
  }, ...__VLS_functionalComponentArgsRest(__VLS_10));
63
65
  __VLS_12.slots.default;
package/style/global.scss CHANGED
@@ -4,6 +4,19 @@
4
4
  $heading-font-family: var(--d-heading-font-family)
5
5
  );
6
6
 
7
+ // CSS reset removed from Vuetify 4
8
+ // cf https://vuetifyjs.com/en/getting-started/upgrade-guide/
9
+ @layer vuetify-core.reset {
10
+ ul, ol, figure, details, summary {
11
+ padding: 0;
12
+ margin: 0;
13
+ }
14
+
15
+ h1, h2, h3, h4, h5, h6 {
16
+ margin: 0;
17
+ }
18
+ }
19
+
7
20
  // v-icon has an opacity when it is prepended in a list of items.
8
21
  // ref: https://github.com/vuetifyjs/vuetify/issues/18760
9
22
  .v-icon {
@@ -3,6 +3,7 @@
3
3
  <v-menu
4
4
  offset-y
5
5
  class="ml-n4"
6
+ style="z-index: 2600; /* Higher than agent-chat's 2500 */"
6
7
  >
7
8
  <template #activator="{props: activatorProps}">
8
9
  <v-btn
@@ -28,10 +28,12 @@ if (__VLS_ctx.session.fullSite.value?.theme.dark || __VLS_ctx.session.fullSite.v
28
28
  const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({
29
29
  offsetY: true,
30
30
  ...{ class: "ml-n4" },
31
+ ...{ style: {} },
31
32
  }));
32
33
  const __VLS_7 = __VLS_6({
33
34
  offsetY: true,
34
35
  ...{ class: "ml-n4" },
36
+ ...{ style: {} },
35
37
  }, ...__VLS_functionalComponentArgsRest(__VLS_6));
36
38
  __VLS_8.slots.default;
37
39
  {
package/ui-notif.vue CHANGED
@@ -5,6 +5,7 @@
5
5
  v-model="showNotification"
6
6
  class="ui-notif"
7
7
  v-bind="fullSnackbarProps"
8
+ style="z-index: 2600; /* Higher than agent-chat's 2500 */"
8
9
  >
9
10
  <p v-if="notification.msg">{{ notification.msg }}</p>
10
11
  <p
package/ui-notif.vue.js CHANGED
@@ -49,12 +49,14 @@ if (__VLS_ctx.notification) {
49
49
  modelValue: (__VLS_ctx.showNotification),
50
50
  ...{ class: "ui-notif" },
51
51
  ...(__VLS_ctx.fullSnackbarProps),
52
+ ...{ style: {} },
52
53
  }));
53
54
  const __VLS_2 = __VLS_1({
54
55
  ref: "notificationSnackbar",
55
56
  modelValue: (__VLS_ctx.showNotification),
56
57
  ...{ class: "ui-notif" },
57
58
  ...(__VLS_ctx.fullSnackbarProps),
59
+ ...{ style: {} },
58
60
  }, ...__VLS_functionalComponentArgsRest(__VLS_1));
59
61
  /** @type {typeof __VLS_ctx.notificationSnackbar} */ ;
60
62
  var __VLS_4 = {};