vuetify 3.4.5 → 3.4.6

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/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.4.5
2
+ * Vuetify v3.4.6
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2223,100 +2223,103 @@
2223
2223
  const makeThemeProps = propsFactory({
2224
2224
  theme: String
2225
2225
  }, 'theme');
2226
- const defaultThemeOptions = {
2227
- defaultTheme: 'light',
2228
- variations: {
2229
- colors: [],
2230
- lighten: 0,
2231
- darken: 0
2232
- },
2233
- themes: {
2234
- light: {
2235
- dark: false,
2236
- colors: {
2237
- background: '#FFFFFF',
2238
- surface: '#FFFFFF',
2239
- 'surface-bright': '#FFFFFF',
2240
- 'surface-variant': '#424242',
2241
- 'on-surface-variant': '#EEEEEE',
2242
- primary: '#1867C0',
2243
- 'primary-darken-1': '#1F5592',
2244
- secondary: '#48A9A6',
2245
- 'secondary-darken-1': '#018786',
2246
- error: '#B00020',
2247
- info: '#2196F3',
2248
- success: '#4CAF50',
2249
- warning: '#FB8C00'
2250
- },
2251
- variables: {
2252
- 'border-color': '#000000',
2253
- 'border-opacity': 0.12,
2254
- 'high-emphasis-opacity': 0.87,
2255
- 'medium-emphasis-opacity': 0.60,
2256
- 'disabled-opacity': 0.38,
2257
- 'idle-opacity': 0.04,
2258
- 'hover-opacity': 0.04,
2259
- 'focus-opacity': 0.12,
2260
- 'selected-opacity': 0.08,
2261
- 'activated-opacity': 0.12,
2262
- 'pressed-opacity': 0.12,
2263
- 'dragged-opacity': 0.08,
2264
- 'theme-kbd': '#212529',
2265
- 'theme-on-kbd': '#FFFFFF',
2266
- 'theme-code': '#F5F5F5',
2267
- 'theme-on-code': '#000000'
2268
- }
2226
+ function genDefaults() {
2227
+ return {
2228
+ defaultTheme: 'light',
2229
+ variations: {
2230
+ colors: [],
2231
+ lighten: 0,
2232
+ darken: 0
2269
2233
  },
2270
- dark: {
2271
- dark: true,
2272
- colors: {
2273
- background: '#121212',
2274
- surface: '#212121',
2275
- 'surface-bright': '#ccbfd6',
2276
- 'surface-variant': '#a3a3a3',
2277
- 'on-surface-variant': '#424242',
2278
- primary: '#2196F3',
2279
- 'primary-darken-1': '#277CC1',
2280
- secondary: '#54B6B2',
2281
- 'secondary-darken-1': '#48A9A6',
2282
- error: '#CF6679',
2283
- info: '#2196F3',
2284
- success: '#4CAF50',
2285
- warning: '#FB8C00'
2234
+ themes: {
2235
+ light: {
2236
+ dark: false,
2237
+ colors: {
2238
+ background: '#FFFFFF',
2239
+ surface: '#FFFFFF',
2240
+ 'surface-bright': '#FFFFFF',
2241
+ 'surface-variant': '#424242',
2242
+ 'on-surface-variant': '#EEEEEE',
2243
+ primary: '#1867C0',
2244
+ 'primary-darken-1': '#1F5592',
2245
+ secondary: '#48A9A6',
2246
+ 'secondary-darken-1': '#018786',
2247
+ error: '#B00020',
2248
+ info: '#2196F3',
2249
+ success: '#4CAF50',
2250
+ warning: '#FB8C00'
2251
+ },
2252
+ variables: {
2253
+ 'border-color': '#000000',
2254
+ 'border-opacity': 0.12,
2255
+ 'high-emphasis-opacity': 0.87,
2256
+ 'medium-emphasis-opacity': 0.60,
2257
+ 'disabled-opacity': 0.38,
2258
+ 'idle-opacity': 0.04,
2259
+ 'hover-opacity': 0.04,
2260
+ 'focus-opacity': 0.12,
2261
+ 'selected-opacity': 0.08,
2262
+ 'activated-opacity': 0.12,
2263
+ 'pressed-opacity': 0.12,
2264
+ 'dragged-opacity': 0.08,
2265
+ 'theme-kbd': '#212529',
2266
+ 'theme-on-kbd': '#FFFFFF',
2267
+ 'theme-code': '#F5F5F5',
2268
+ 'theme-on-code': '#000000'
2269
+ }
2286
2270
  },
2287
- variables: {
2288
- 'border-color': '#FFFFFF',
2289
- 'border-opacity': 0.12,
2290
- 'high-emphasis-opacity': 1,
2291
- 'medium-emphasis-opacity': 0.70,
2292
- 'disabled-opacity': 0.50,
2293
- 'idle-opacity': 0.10,
2294
- 'hover-opacity': 0.04,
2295
- 'focus-opacity': 0.12,
2296
- 'selected-opacity': 0.08,
2297
- 'activated-opacity': 0.12,
2298
- 'pressed-opacity': 0.16,
2299
- 'dragged-opacity': 0.08,
2300
- 'theme-kbd': '#212529',
2301
- 'theme-on-kbd': '#FFFFFF',
2302
- 'theme-code': '#343434',
2303
- 'theme-on-code': '#CCCCCC'
2271
+ dark: {
2272
+ dark: true,
2273
+ colors: {
2274
+ background: '#121212',
2275
+ surface: '#212121',
2276
+ 'surface-bright': '#ccbfd6',
2277
+ 'surface-variant': '#a3a3a3',
2278
+ 'on-surface-variant': '#424242',
2279
+ primary: '#2196F3',
2280
+ 'primary-darken-1': '#277CC1',
2281
+ secondary: '#54B6B2',
2282
+ 'secondary-darken-1': '#48A9A6',
2283
+ error: '#CF6679',
2284
+ info: '#2196F3',
2285
+ success: '#4CAF50',
2286
+ warning: '#FB8C00'
2287
+ },
2288
+ variables: {
2289
+ 'border-color': '#FFFFFF',
2290
+ 'border-opacity': 0.12,
2291
+ 'high-emphasis-opacity': 1,
2292
+ 'medium-emphasis-opacity': 0.70,
2293
+ 'disabled-opacity': 0.50,
2294
+ 'idle-opacity': 0.10,
2295
+ 'hover-opacity': 0.04,
2296
+ 'focus-opacity': 0.12,
2297
+ 'selected-opacity': 0.08,
2298
+ 'activated-opacity': 0.12,
2299
+ 'pressed-opacity': 0.16,
2300
+ 'dragged-opacity': 0.08,
2301
+ 'theme-kbd': '#212529',
2302
+ 'theme-on-kbd': '#FFFFFF',
2303
+ 'theme-code': '#343434',
2304
+ 'theme-on-code': '#CCCCCC'
2305
+ }
2304
2306
  }
2305
2307
  }
2306
- }
2307
- };
2308
+ };
2309
+ }
2308
2310
  function parseThemeOptions() {
2309
- let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultThemeOptions;
2311
+ let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : genDefaults();
2312
+ const defaults = genDefaults();
2310
2313
  if (!options) return {
2311
- ...defaultThemeOptions,
2314
+ ...defaults,
2312
2315
  isDisabled: true
2313
2316
  };
2314
2317
  const themes = {};
2315
2318
  for (const [key, theme] of Object.entries(options.themes ?? {})) {
2316
- const defaultTheme = theme.dark || key === 'dark' ? defaultThemeOptions.themes?.dark : defaultThemeOptions.themes?.light;
2319
+ const defaultTheme = theme.dark || key === 'dark' ? defaults.themes?.dark : defaults.themes?.light;
2317
2320
  themes[key] = mergeDeep(defaultTheme, theme);
2318
2321
  }
2319
- return mergeDeep(defaultThemeOptions, {
2322
+ return mergeDeep(defaults, {
2320
2323
  ...options,
2321
2324
  themes
2322
2325
  });
@@ -25193,7 +25196,7 @@
25193
25196
  date
25194
25197
  };
25195
25198
  }
25196
- const version$1 = "3.4.5";
25199
+ const version$1 = "3.4.6";
25197
25200
  createVuetify$1.version = version$1;
25198
25201
 
25199
25202
  // Vue's inject() can only be used in setup
@@ -25218,7 +25221,7 @@
25218
25221
  ...options
25219
25222
  });
25220
25223
  };
25221
- const version = "3.4.5";
25224
+ const version = "3.4.6";
25222
25225
  createVuetify.version = version;
25223
25226
 
25224
25227
  exports.components = components;