@vuetify/nightly 3.4.0-alpha.1-dev.2023-09-15 → 3.4.0-alpha.1-dev.2023-09-20

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/CHANGELOG.md CHANGED
@@ -1,12 +1,13 @@
1
- # [](https://github.com/vuetifyjs/vuetify/compare/v3.4.0-alpha.1-dev.2023-09-15...v) (2023-09-15)
1
+ # [](https://github.com/vuetifyjs/vuetify/compare/v3.4.0-alpha.1-dev.2023-09-20...v) (2023-09-20)
2
2
 
3
3
 
4
4
 
5
- # [3.4.0-alpha.1-dev.2023-09-15](https://github.com/vuetifyjs/vuetify/compare/v3.4.0-alpha.1...v3.4.0-alpha.1-dev.2023-09-15) (2023-09-15)
5
+ # [3.4.0-alpha.1-dev.2023-09-20](https://github.com/vuetifyjs/vuetify/compare/v3.4.0-alpha.1...v3.4.0-alpha.1-dev.2023-09-20) (2023-09-20)
6
6
 
7
7
 
8
8
  ### Features
9
9
 
10
+ * **VBanner:** add `bg-color` prop ([#18094](https://github.com/vuetifyjs/vuetify/issues/18094)) ([511c9aa](https://github.com/vuetifyjs/vuetify/commit/511c9aa4a80ad3ba48cebf729c1de6d257a096e5)), closes [#17124](https://github.com/vuetifyjs/vuetify/issues/17124)
10
11
  * update browser support ([7f3c472](https://github.com/vuetifyjs/vuetify/commit/7f3c472fb02360e029574acbec885c3eb7819f30))
11
12
  * **VBtn|VListItem:** add new prop named slim ([#17562](https://github.com/vuetifyjs/vuetify/issues/17562)) ([788a583](https://github.com/vuetifyjs/vuetify/commit/788a5839beed07b901feac2ea8417d0c6b7d011c))
12
13
  * **VExpansionPanels:** add new prop named static ([#18014](https://github.com/vuetifyjs/vuetify/issues/18014)) ([51f3c14](https://github.com/vuetifyjs/vuetify/commit/51f3c143647737ed07388993ebec7985c1d79a10))
@@ -863,6 +863,10 @@
863
863
  "type": "boolean\n",
864
864
  "description": "Forces the banner actions onto a new line. This is only applicable when the banner is not **single-line** or using the **actions** slot."
865
865
  },
866
+ "v-banner/bg-color": {
867
+ "type": "string\n",
868
+ "description": "Applies specified color to the control's background. Used on components that also support the **color** prop. - supports utility colors (for example `success` or `purple`) or css color (`#033` or `rgba(255, 0, 0, 0.5)`). Find a list of built-in classes on the [colors page](/styles/colors#material-colors)"
869
+ },
866
870
  "v-banner/avatar": {
867
871
  "type": "string\n",
868
872
  "description": "Designates a specific src image to pass to the thumbnail."
@@ -244,6 +244,7 @@
244
244
  "v-banner": {
245
245
  "attributes": [
246
246
  "avatar",
247
+ "bg-color",
247
248
  "border",
248
249
  "color",
249
250
  "density",
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "vuetify",
5
- "version": "3.4.0-alpha.1-dev.2023-09-15",
5
+ "version": "3.4.0-alpha.1-dev.2023-09-20",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -2813,6 +2813,15 @@
2813
2813
  "type": "boolean\n"
2814
2814
  }
2815
2815
  },
2816
+ {
2817
+ "name": "bgColor",
2818
+ "description": "Applies specified color to the control's background. Used on components that also support the **color** prop. - supports utility colors (for example `success` or `purple`) or css color (`#033` or `rgba(255, 0, 0, 0.5)`). Find a list of built-in classes on the [colors page](/styles/colors#material-colors)",
2819
+ "doc-url": "https://vuetifyjs.com/api/v-banner#props",
2820
+ "value": {
2821
+ "kind": "expression",
2822
+ "type": "string\n"
2823
+ }
2824
+ },
2816
2825
  {
2817
2826
  "name": "avatar",
2818
2827
  "description": "Designates a specific src image to pass to the thumbnail.",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.4.0-alpha.1-dev.2023-09-15
2
+ * Vuetify v3.4.0-alpha.1-dev.2023-09-20
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -23196,125 +23196,6 @@ html.v-overlay-scroll-blocked {
23196
23196
  .v-slide-group--vertical .v-slide-group__container,
23197
23197
  .v-slide-group--vertical .v-slide-group__content {
23198
23198
  flex-direction: column;
23199
- }.v-snackbar {
23200
- justify-content: center;
23201
- z-index: 10000;
23202
- margin: 8px;
23203
- margin-inline-end: calc(8px + var(--v-scrollbar-offset));
23204
- }
23205
- .v-snackbar:not(.v-snackbar--centered):not(.v-snackbar--top) {
23206
- align-items: flex-end;
23207
- }
23208
- .v-snackbar__wrapper {
23209
- align-items: center;
23210
- display: flex;
23211
- max-width: 672px;
23212
- min-height: 48px;
23213
- min-width: 344px;
23214
- overflow: hidden;
23215
- padding: 0;
23216
- border-radius: 4px;
23217
- }
23218
- .v-snackbar--variant-plain, .v-snackbar--variant-outlined, .v-snackbar--variant-text, .v-snackbar--variant-tonal {
23219
- background: transparent;
23220
- color: inherit;
23221
- }
23222
- .v-snackbar--variant-plain {
23223
- opacity: 0.62;
23224
- }
23225
- .v-snackbar--variant-plain:focus, .v-snackbar--variant-plain:hover {
23226
- opacity: 1;
23227
- }
23228
- .v-snackbar--variant-plain .v-snackbar__overlay {
23229
- display: none;
23230
- }
23231
- .v-snackbar--variant-elevated, .v-snackbar--variant-flat {
23232
- background: rgb(var(--v-theme-surface-variant));
23233
- color: rgb(var(--v-theme-on-surface-variant));
23234
- }
23235
- .v-snackbar--variant-elevated {
23236
- box-shadow: 0px 3px 5px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 6px 10px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 18px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
23237
- }
23238
- .v-snackbar--variant-flat {
23239
- box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
23240
- }
23241
- .v-snackbar--variant-outlined {
23242
- border: thin solid currentColor;
23243
- }
23244
- .v-snackbar--variant-text .v-snackbar__overlay {
23245
- background: currentColor;
23246
- }
23247
- .v-snackbar--variant-tonal .v-snackbar__underlay {
23248
- background: currentColor;
23249
- opacity: var(--v-activated-opacity);
23250
- border-radius: inherit;
23251
- position: absolute;
23252
- top: 0;
23253
- right: 0;
23254
- bottom: 0;
23255
- left: 0;
23256
- pointer-events: none;
23257
- }
23258
-
23259
- .v-snackbar__content {
23260
- flex-grow: 1;
23261
- font-size: 0.875rem;
23262
- font-weight: 400;
23263
- letter-spacing: 0.0178571429em;
23264
- line-height: 1.25rem;
23265
- margin-right: auto;
23266
- padding: 14px 16px;
23267
- text-align: initial;
23268
- }
23269
- .v-snackbar__actions {
23270
- align-items: center;
23271
- align-self: center;
23272
- display: flex;
23273
- margin-inline-end: 8px;
23274
- }
23275
- .v-snackbar__actions > .v-btn {
23276
- padding: 0 8px;
23277
- min-width: auto;
23278
- }
23279
- .v-snackbar__timer {
23280
- width: 100%;
23281
- position: absolute;
23282
- top: 0;
23283
- }
23284
- .v-snackbar__timer .v-progress-linear {
23285
- transition: 0.2s linear;
23286
- }
23287
- .v-snackbar--absolute {
23288
- position: absolute;
23289
- z-index: 1;
23290
- }
23291
- .v-snackbar--multi-line .v-snackbar__wrapper {
23292
- min-height: 68px;
23293
- }
23294
- .v-snackbar--vertical .v-snackbar__wrapper {
23295
- flex-direction: column;
23296
- }
23297
- .v-snackbar--vertical .v-snackbar__wrapper .v-snackbar__actions {
23298
- align-self: flex-end;
23299
- margin-bottom: 8px;
23300
- }
23301
-
23302
- .v-snackbar-transition-enter-active, .v-snackbar-transition-leave-active {
23303
- transition-duration: 0.15s;
23304
- transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
23305
- }
23306
- .v-snackbar-transition-enter-active {
23307
- transition-property: opacity, transform;
23308
- }
23309
- .v-snackbar-transition-enter-from {
23310
- opacity: 0;
23311
- transform: scale(0.8);
23312
- }
23313
- .v-snackbar-transition-leave-active {
23314
- transition-property: opacity;
23315
- }
23316
- .v-snackbar-transition-leave-to {
23317
- opacity: 0;
23318
23199
  }.v-switch .v-label {
23319
23200
  padding-inline-start: 10px;
23320
23201
  }
@@ -23537,6 +23418,125 @@ html.v-overlay-scroll-blocked {
23537
23418
  top: 0;
23538
23419
  height: 100%;
23539
23420
  width: 2px;
23421
+ }.v-snackbar {
23422
+ justify-content: center;
23423
+ z-index: 10000;
23424
+ margin: 8px;
23425
+ margin-inline-end: calc(8px + var(--v-scrollbar-offset));
23426
+ }
23427
+ .v-snackbar:not(.v-snackbar--centered):not(.v-snackbar--top) {
23428
+ align-items: flex-end;
23429
+ }
23430
+ .v-snackbar__wrapper {
23431
+ align-items: center;
23432
+ display: flex;
23433
+ max-width: 672px;
23434
+ min-height: 48px;
23435
+ min-width: 344px;
23436
+ overflow: hidden;
23437
+ padding: 0;
23438
+ border-radius: 4px;
23439
+ }
23440
+ .v-snackbar--variant-plain, .v-snackbar--variant-outlined, .v-snackbar--variant-text, .v-snackbar--variant-tonal {
23441
+ background: transparent;
23442
+ color: inherit;
23443
+ }
23444
+ .v-snackbar--variant-plain {
23445
+ opacity: 0.62;
23446
+ }
23447
+ .v-snackbar--variant-plain:focus, .v-snackbar--variant-plain:hover {
23448
+ opacity: 1;
23449
+ }
23450
+ .v-snackbar--variant-plain .v-snackbar__overlay {
23451
+ display: none;
23452
+ }
23453
+ .v-snackbar--variant-elevated, .v-snackbar--variant-flat {
23454
+ background: rgb(var(--v-theme-surface-variant));
23455
+ color: rgb(var(--v-theme-on-surface-variant));
23456
+ }
23457
+ .v-snackbar--variant-elevated {
23458
+ box-shadow: 0px 3px 5px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 6px 10px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 18px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
23459
+ }
23460
+ .v-snackbar--variant-flat {
23461
+ box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
23462
+ }
23463
+ .v-snackbar--variant-outlined {
23464
+ border: thin solid currentColor;
23465
+ }
23466
+ .v-snackbar--variant-text .v-snackbar__overlay {
23467
+ background: currentColor;
23468
+ }
23469
+ .v-snackbar--variant-tonal .v-snackbar__underlay {
23470
+ background: currentColor;
23471
+ opacity: var(--v-activated-opacity);
23472
+ border-radius: inherit;
23473
+ position: absolute;
23474
+ top: 0;
23475
+ right: 0;
23476
+ bottom: 0;
23477
+ left: 0;
23478
+ pointer-events: none;
23479
+ }
23480
+
23481
+ .v-snackbar__content {
23482
+ flex-grow: 1;
23483
+ font-size: 0.875rem;
23484
+ font-weight: 400;
23485
+ letter-spacing: 0.0178571429em;
23486
+ line-height: 1.25rem;
23487
+ margin-right: auto;
23488
+ padding: 14px 16px;
23489
+ text-align: initial;
23490
+ }
23491
+ .v-snackbar__actions {
23492
+ align-items: center;
23493
+ align-self: center;
23494
+ display: flex;
23495
+ margin-inline-end: 8px;
23496
+ }
23497
+ .v-snackbar__actions > .v-btn {
23498
+ padding: 0 8px;
23499
+ min-width: auto;
23500
+ }
23501
+ .v-snackbar__timer {
23502
+ width: 100%;
23503
+ position: absolute;
23504
+ top: 0;
23505
+ }
23506
+ .v-snackbar__timer .v-progress-linear {
23507
+ transition: 0.2s linear;
23508
+ }
23509
+ .v-snackbar--absolute {
23510
+ position: absolute;
23511
+ z-index: 1;
23512
+ }
23513
+ .v-snackbar--multi-line .v-snackbar__wrapper {
23514
+ min-height: 68px;
23515
+ }
23516
+ .v-snackbar--vertical .v-snackbar__wrapper {
23517
+ flex-direction: column;
23518
+ }
23519
+ .v-snackbar--vertical .v-snackbar__wrapper .v-snackbar__actions {
23520
+ align-self: flex-end;
23521
+ margin-bottom: 8px;
23522
+ }
23523
+
23524
+ .v-snackbar-transition-enter-active, .v-snackbar-transition-leave-active {
23525
+ transition-duration: 0.15s;
23526
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
23527
+ }
23528
+ .v-snackbar-transition-enter-active {
23529
+ transition-property: opacity, transform;
23530
+ }
23531
+ .v-snackbar-transition-enter-from {
23532
+ opacity: 0;
23533
+ transform: scale(0.8);
23534
+ }
23535
+ .v-snackbar-transition-leave-active {
23536
+ transition-property: opacity;
23537
+ }
23538
+ .v-snackbar-transition-leave-to {
23539
+ opacity: 0;
23540
23540
  }.v-table {
23541
23541
  background: rgb(var(--v-theme-surface));
23542
23542
  color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
@@ -7662,6 +7662,7 @@ declare const VBanner: {
7662
7662
  [key: string]: any;
7663
7663
  }>) => void)[] | undefined;
7664
7664
  "v-slot:prepend"?: false | (() => vue.VNodeChild) | undefined;
7665
+ bgColor?: string | undefined;
7665
7666
  lines?: "one" | "two" | "three" | undefined;
7666
7667
  mobileBreakpoint?: number | DisplayBreakpoint | undefined;
7667
7668
  avatar?: string | undefined;
@@ -7714,6 +7715,7 @@ declare const VBanner: {
7714
7715
  elevation?: string | number | undefined;
7715
7716
  theme?: string | undefined;
7716
7717
  rounded?: string | number | boolean | undefined;
7718
+ bgColor?: string | undefined;
7717
7719
  lines?: "one" | "two" | "three" | undefined;
7718
7720
  mobileBreakpoint?: number | DisplayBreakpoint | undefined;
7719
7721
  avatar?: string | undefined;
@@ -7798,6 +7800,7 @@ declare const VBanner: {
7798
7800
  elevation?: string | number | undefined;
7799
7801
  theme?: string | undefined;
7800
7802
  rounded?: string | number | boolean | undefined;
7803
+ bgColor?: string | undefined;
7801
7804
  lines?: "one" | "two" | "three" | undefined;
7802
7805
  mobileBreakpoint?: number | DisplayBreakpoint | undefined;
7803
7806
  avatar?: string | undefined;
@@ -7846,6 +7849,7 @@ declare const VBanner: {
7846
7849
  elevation?: string | number | undefined;
7847
7850
  theme?: string | undefined;
7848
7851
  rounded?: string | number | boolean | undefined;
7852
+ bgColor?: string | undefined;
7849
7853
  lines?: "one" | "two" | "three" | undefined;
7850
7854
  mobileBreakpoint?: number | DisplayBreakpoint | undefined;
7851
7855
  avatar?: string | undefined;
@@ -7925,6 +7929,7 @@ declare const VBanner: {
7925
7929
  };
7926
7930
  border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
7927
7931
  avatar: StringConstructor;
7932
+ bgColor: StringConstructor;
7928
7933
  color: StringConstructor;
7929
7934
  icon: PropType<IconValue>;
7930
7935
  lines: PropType<"one" | "two" | "three">;
@@ -7969,6 +7974,7 @@ declare const VBanner: {
7969
7974
  };
7970
7975
  border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
7971
7976
  avatar: StringConstructor;
7977
+ bgColor: StringConstructor;
7972
7978
  color: StringConstructor;
7973
7979
  icon: PropType<IconValue>;
7974
7980
  lines: PropType<"one" | "two" | "three">;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.4.0-alpha.1-dev.2023-09-15
2
+ * Vuetify v3.4.0-alpha.1-dev.2023-09-20
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -11970,6 +11970,7 @@ const VBannerText = createSimpleFunctional('v-banner-text');
11970
11970
 
11971
11971
  const makeVBannerProps = propsFactory({
11972
11972
  avatar: String,
11973
+ bgColor: String,
11973
11974
  color: String,
11974
11975
  icon: IconValue,
11975
11976
  lines: String,
@@ -11995,6 +11996,10 @@ const VBanner = genericComponent()({
11995
11996
  let {
11996
11997
  slots
11997
11998
  } = _ref;
11999
+ const {
12000
+ backgroundColorClasses,
12001
+ backgroundColorStyles
12002
+ } = useBackgroundColor(props, 'bgColor');
11998
12003
  const {
11999
12004
  borderClasses
12000
12005
  } = useBorder(props);
@@ -12040,8 +12045,8 @@ const VBanner = genericComponent()({
12040
12045
  'v-banner--stacked': props.stacked || mobile.value,
12041
12046
  'v-banner--sticky': props.sticky,
12042
12047
  [`v-banner--${props.lines}-line`]: !!props.lines
12043
- }, borderClasses.value, densityClasses.value, displayClasses.value, elevationClasses.value, positionClasses.value, roundedClasses.value, themeClasses.value, props.class],
12044
- "style": [dimensionStyles.value, locationStyles.value, props.style],
12048
+ }, themeClasses.value, backgroundColorClasses.value, borderClasses.value, densityClasses.value, displayClasses.value, elevationClasses.value, positionClasses.value, roundedClasses.value, props.class],
12049
+ "style": [backgroundColorStyles.value, dimensionStyles.value, locationStyles.value, props.style],
12045
12050
  "role": "banner"
12046
12051
  }, {
12047
12052
  default: () => [hasPrepend && createVNode("div", {
@@ -24788,7 +24793,7 @@ function createVuetify$1() {
24788
24793
  date
24789
24794
  };
24790
24795
  }
24791
- const version$1 = "3.4.0-alpha.1-dev.2023-09-15";
24796
+ const version$1 = "3.4.0-alpha.1-dev.2023-09-20";
24792
24797
  createVuetify$1.version = version$1;
24793
24798
 
24794
24799
  // Vue's inject() can only be used in setup
@@ -24802,7 +24807,7 @@ function inject(key) {
24802
24807
 
24803
24808
  /* eslint-disable local-rules/sort-imports */
24804
24809
 
24805
- const version = "3.4.0-alpha.1-dev.2023-09-15";
24810
+ const version = "3.4.0-alpha.1-dev.2023-09-20";
24806
24811
 
24807
24812
  /* eslint-disable local-rules/sort-imports */
24808
24813