@data-fair/lib-vuetify 1.8.1 → 1.9.1

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": "@data-fair/lib-vuetify",
3
- "version": "1.8.1",
3
+ "version": "1.9.1",
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
@@ -202,11 +202,9 @@ en:
202
202
  import { computed, toRefs } from 'vue'
203
203
  import { useI18n } from 'vue-i18n'
204
204
  import { useSession } from '@data-fair/lib-vue/session.js'
205
- import { useTheme } from 'vuetify'
206
205
  import UserAvatar from './user-avatar.vue'
207
206
  import { mdiAlert, mdiShieldAlert, mdiLogout, mdiAccountSwitchOutline } from '@mdi/js'
208
207
 
209
- const theme = useTheme()
210
208
  const session = useSession()
211
209
 
212
210
  const { t } = useI18n({ useScope: 'local' })
@@ -2,11 +2,9 @@
2
2
  import { computed, toRefs } from 'vue';
3
3
  import { useI18n } from 'vue-i18n';
4
4
  import { useSession } from '@data-fair/lib-vue/session.js';
5
- import { useTheme } from 'vuetify';
6
5
  import UserAvatar from './user-avatar.vue';
7
6
  import { mdiAlert, mdiShieldAlert, mdiLogout, mdiAccountSwitchOutline } from '@mdi/js';
8
7
  const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
9
- const theme = useTheme();
10
8
  const session = useSession();
11
9
  const { t } = useI18n({ useScope: 'local' });
12
10
  const { user, account } = toRefs(session.state);
@@ -0,0 +1,11 @@
1
+ @use 'vuetify' with (
2
+ $color-pack: false,
3
+ $body-font-family: 'BodyFontFamily',
4
+ $heading-font-family: 'HeadingFontFamily'
5
+ );
6
+
7
+ // v-icon has an opacity when it is prepended in a list of items.
8
+ // ref: https://github.com/vuetifyjs/vuetify/issues/18760
9
+ .v-icon {
10
+ --v-medium-emphasis-opacity: 1 !important;
11
+ }
@@ -0,0 +1,5 @@
1
+ @use 'vuetify/settings' with (
2
+ // make disabled button style less dependant on theme colors
3
+ $button-colored-disabled: false,
4
+ $button-disabled-opacity: 0.8
5
+ );
package/vite.d.ts CHANGED
@@ -12,3 +12,4 @@ export declare const autoImports: (string | {
12
12
  '@data-fair/lib-vuetify/tutorial-alert.vue': string[][];
13
13
  '@data-fair/lib-vuetify/user-avatar.vue': string[][];
14
14
  })[];
15
+ export declare const settingsPath: string;
package/vite.js CHANGED
@@ -8,4 +8,5 @@ export const autoImports = [
8
8
  '@data-fair/lib-vuetify/user-avatar.vue': [['default', 'dfUserAvatar']]
9
9
  }
10
10
  ]
11
+ export const settingsPath = new URL(import.meta.resolve('@data-fair/lib-vuetify/style/settings.scss')).pathname
11
12
  // # sourceMappingURL=vite.js.map