You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION.md
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -202,7 +202,7 @@ const opts = {
202
202
}
203
203
```
204
204
205
-
* Now defaults to use [mdi](https://materialdesignicons.com/) icons. For information on how to install please navigate [here](https://vuetifyjs.com/customization/icons#install-material-design-icons).
205
+
* Now defaults to use [mdi](https://materialdesignicons.com/) icons. For information on how to install please navigate [here](https://vuetifyjs.com/customization/icons#install-material-design-icons)
206
206
* Is now located under the **icons** property of the Vuetify options
207
207
208
208
If you want to use a custom iconfont, you must set it up in the initial Vuetify options now.
@@ -330,11 +330,11 @@ All event names has been changed from camelCase to kebab-case:
330
330
-`update:returnValue` → `update:return-value`
331
331
332
332
### Activators
333
-
* Components with activators, `v-tooltip`, `v-menu`, `v-dialog`, `v-list-group` and `v-bottom-sheet` must now be bound using the new [v-slot](https://vuejs.org/v2/guide/components-slots.html#Named-Slots) syntax.
333
+
* Components with activators, `v-tooltip`, `v-menu`, `v-dialog`, `v-list-group` and `v-bottom-sheet` must now be bound using the new [v-slot](https://vuejs.org/v2/guide/components-slots.html#Named-Slots) syntax
* We understand this is considerably more verbose than the v1.5 counterpart. We are still exploring ways to support the new **v-slot** in a more concise manner.
336
-
* You can find more information on the official Vue documentation for [Destructuring Slot Props](https://vuejs.org/v2/guide/components-slots.html#Destructuring-Slot-Props).
337
-
* You can find more information on the official Vue documentation for [v-slot](https://vuejs.org/v2/guide/components-slots.html#Named-Slots).
335
+
* We understand this is considerably more verbose than the v1.5 counterpart. We are still exploring ways to support the new **v-slot** in a more concise manner
336
+
* You can find more information on the official Vue documentation for [Destructuring Slot Props](https://vuejs.org/v2/guide/components-slots.html#Destructuring-Slot-Props)
337
+
* You can find more information on the official Vue documentation for [v-slot](https://vuejs.org/v2/guide/components-slots.html#Named-Slots)
338
338
* The upside to this change is it is easier to support nested activators and provide proper a11y support
339
339
340
340
#### Regular activator
@@ -542,29 +542,29 @@ _Developer notes: Was never explicitly listed in API_
542
542
Data table (and iterator) have been rewritten from the ground up to be both easier to use and to allow for more flexibilty in more advanced use cases. This has resulted in a number of breaking changes. Some of these are shared between both components while some are unique to each.
543
543
544
544
#### Shared
545
-
***disable-initial-sort** has been removed. Neither component initially sorts data anymore. Use **sort-by** (or **options**) prop to sort.
546
-
***filter** prop has been removed. Instead use **custom-filter**. This was done in an effort to make custom filtering less confusing.
545
+
***disable-initial-sort** has been removed. Neither component initially sorts data anymore. Use **sort-by** (or **options**) prop to sort
546
+
***filter** prop has been removed. Instead use **custom-filter**. This was done in an effort to make custom filtering less confusing
547
547
* The signature for **custom-filter** has changed from `(items: object[], search: string, filter: Filter): object[]` to `(value: any, search: string, item: any) => boolean`
548
-
***pagination** prop has been removed. Instead use the separate props such as **page**, **sort-by**, etc. If you want to provide a single object you can use the new **options** prop instead. **NOTE**: The **options** prop has a different object structure than **pagination**. Check API docs for details.
548
+
***pagination** prop has been removed. Instead use the separate props such as **page**, **sort-by**, etc. If you want to provide a single object you can use the new **options** prop instead. **NOTE**: The **options** prop has a different object structure than **pagination**. Check API docs for details
549
549
***total-items** prop has been renamed to **server-items-length**
550
550
***hide-actions** prop has been renamed to **hide-default-footer**. Also it no longer changes the visible items per page
551
551
* Props related to the default footer have been move to the **footer-props** prop. These are:
* The **content-tag**, **content-props**, **content-class** props have been removed. Instead simply use the default scoped slot to implement your intended markup.
560
560
561
561
#### `v-data-table`
562
562
***items** slot has been renamed to **item**
563
563
***headers** slot renamed to **header**
564
-
***item** slot (and **header**) now require you to define a `<tr>` element. Previously this was optional.
565
-
***expand** slot renamed to **expanded-item**. It no longer includes an expansion transition, and the slot is inside the `<tr>` element so that you can define your own `<td>` columns. To get back to a similar look as in 1.5, you will need a `<td>` with *colspan* equal to the number of columns in your header.
564
+
***item** slot (and **header**) now require you to define a `<tr>` element. Previously this was optional
565
+
***expand** slot renamed to **expanded-item**. It no longer includes an expansion transition, and the slot is inside the `<tr>` element so that you can define your own `<td>` columns. To get back to a similar look as in 1.5, you will need a `<td>` with *colspan* equal to the number of columns in your header
566
566
***hide-header** has been renamed to **hide-default-header**
567
-
***select-all** has been renamed to **show-select**. This will also render a checkbox on each item row as long as you are not defining a slot that overrides the internal row rendering (such as **item** or **body**).
567
+
***select-all** has been renamed to **show-select**. This will also render a checkbox on each item row as long as you are not defining a slot that overrides the internal row rendering (such as **item** or **body**)
568
568
* Props related to the default header have been moved to the **header-props** prop. These are:
569
569
***sort-icon**
570
570
@@ -777,7 +777,7 @@ _Developer notes: The tabs-items component does not have to be provided and is o
777
777
```
778
778
779
779
#### `v-toolbar`
780
-
* All existing scrolling techniques and `app` functionality has been deprecated and moved to `v-app-bar`.
780
+
* All existing scrolling techniques and `app` functionality has been deprecated and moved to `v-app-bar`
0 commit comments