@dimailn/vuetify 2.7.2-alpha27 → 2.7.2-alpha28

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.
Files changed (127) hide show
  1. package/dist/vuetify.js +78 -22
  2. package/dist/vuetify.js.map +1 -1
  3. package/dist/vuetify.min.css +1 -1
  4. package/dist/vuetify.min.js +2 -2
  5. package/es5/components/VAlert/VAlert.js +0 -1
  6. package/es5/components/VAlert/VAlert.js.map +1 -1
  7. package/es5/components/VChip/VChip.js +1 -0
  8. package/es5/components/VChip/VChip.js.map +1 -1
  9. package/es5/components/VList/VListItem.js +4 -2
  10. package/es5/components/VList/VListItem.js.map +1 -1
  11. package/es5/components/VMenu/VMenu.js +1 -1
  12. package/es5/components/VMenu/VMenu.js.map +1 -1
  13. package/es5/components/VOtpInput/VOtpInput.js +36 -0
  14. package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
  15. package/es5/components/VSelect/VSelectList.js +15 -2
  16. package/es5/components/VSelect/VSelectList.js.map +1 -1
  17. package/es5/components/VTooltip/VTooltip.js +3 -3
  18. package/es5/components/VTooltip/VTooltip.js.map +1 -1
  19. package/es5/components/VTreeview/VTreeview.js +0 -7
  20. package/es5/components/VTreeview/VTreeview.js.map +1 -1
  21. package/es5/framework.js +1 -1
  22. package/es5/mixins/routable/index.js +5 -2
  23. package/es5/mixins/routable/index.js.map +1 -1
  24. package/lib/components/VAlert/VAlert.js +0 -1
  25. package/lib/components/VAlert/VAlert.js.map +1 -1
  26. package/lib/components/VChip/VChip.js +1 -0
  27. package/lib/components/VChip/VChip.js.map +1 -1
  28. package/lib/components/VList/VListItem.js +4 -2
  29. package/lib/components/VList/VListItem.js.map +1 -1
  30. package/lib/components/VMenu/VMenu.js +1 -1
  31. package/lib/components/VMenu/VMenu.js.map +1 -1
  32. package/lib/components/VOtpInput/VOtpInput.js +48 -0
  33. package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
  34. package/lib/components/VSelect/VSelectList.js +11 -5
  35. package/lib/components/VSelect/VSelectList.js.map +1 -1
  36. package/lib/components/VTooltip/VTooltip.js +3 -3
  37. package/lib/components/VTooltip/VTooltip.js.map +1 -1
  38. package/lib/components/VTreeview/VTreeview.js +0 -6
  39. package/lib/components/VTreeview/VTreeview.js.map +1 -1
  40. package/lib/framework.js +1 -1
  41. package/lib/mixins/routable/index.js +5 -2
  42. package/lib/mixins/routable/index.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/components/VAlert/VAlert.ts +0 -1
  45. package/src/components/VApp/__tests__/VApp.spec.ts +24 -18
  46. package/src/components/VApp/__tests__/__snapshots__/VApp.spec.ts.snap +4 -4
  47. package/src/components/VAppBar/__tests__/VAppBar.spec.ts +256 -74
  48. package/src/components/VAppBar/__tests__/VAppBarNavIcon.spec.ts +2 -6
  49. package/src/components/VAppBar/__tests__/__snapshots__/VAppBar.spec.ts.snap +13 -4
  50. package/src/components/VAppBar/__tests__/__snapshots__/VAppBarNavIcon.spec.ts.snap +3 -4
  51. package/src/components/VBanner/__tests__/VBanner.spec.ts +35 -36
  52. package/src/components/VBanner/__tests__/__snapshots__/VBanner.spec.ts.snap +1 -1
  53. package/src/components/VBtn/__tests__/VBtn.spec.ts +1 -1
  54. package/src/components/VCard/__tests__/VCard.spec.ts +46 -28
  55. package/src/components/VCard/__tests__/__snapshots__/VCard.spec.ts.snap +2 -2
  56. package/src/components/VCheckbox/__tests__/VCheckbox.spec.ts +157 -152
  57. package/src/components/VChip/VChip.ts +1 -0
  58. package/src/components/VChip/__tests__/VChip.spec.ts +50 -50
  59. package/src/components/VChip/__tests__/__snapshots__/VChip.spec.ts.snap +4 -4
  60. package/src/components/VChipGroup/__tests__/VChipGroup.spec.ts +14 -21
  61. package/src/components/VColorPicker/__tests__/__snapshots__/VColorPicker.spec.ts.snap +35 -35
  62. package/src/components/VColorPicker/__tests__/__snapshots__/VColorPickerEdit.spec.ts.snap +10 -10
  63. package/src/components/VData/__tests__/VData.spec.ts +69 -90
  64. package/src/components/VDataTable/__tests__/MobileRow.spec.ts +55 -66
  65. package/src/components/VDataTable/__tests__/Row.spec.ts +64 -73
  66. package/src/components/VDataTable/__tests__/RowGroup.spec.ts +7 -5
  67. package/src/components/VDataTable/__tests__/VDataTable.spec.ts +910 -988
  68. package/src/components/VDataTable/__tests__/VEditDialog.spec.ts +26 -22
  69. package/src/components/VDataTable/__tests__/VSimpleTable.spec.ts +60 -29
  70. package/src/components/VDataTable/__tests__/VVirtualTable.spec.ts +13 -15
  71. package/src/components/VDataTable/__tests__/__snapshots__/Row.spec.ts.snap +30 -0
  72. package/src/components/VDataTable/__tests__/__snapshots__/VEditDialog.spec.ts.snap +18 -10
  73. package/src/components/VDataTable/mixins/__tests__/__snapshots__/header.spec.ts.snap +1 -1
  74. package/src/components/VDivider/__tests__/VDivider.spec.ts +11 -15
  75. package/src/components/VDivider/__tests__/__snapshots__/VDivider.spec.ts.snap +2 -2
  76. package/src/components/VGrid/__tests__/VCol.spec.ts +17 -17
  77. package/src/components/VGrid/__tests__/VContainer.spec.ts +58 -3
  78. package/src/components/VGrid/__tests__/VFlex.spec.ts +3 -3
  79. package/src/components/VGrid/__tests__/VGrid.spec.ts +12 -10
  80. package/src/components/VGrid/__tests__/VLayout.spec.ts +3 -3
  81. package/src/components/VIcon/__tests__/VIcon.spec.ts +176 -70
  82. package/src/components/VImg/__tests__/__snapshots__/VImg.spec.ts.snap +55 -55
  83. package/src/components/VItemGroup/__tests__/VItem.spec.ts +22 -37
  84. package/src/components/VItemGroup/__tests__/VItemGroup.spec.ts +96 -124
  85. package/src/components/VItemGroup/__tests__/__snapshots__/VItem.spec.ts.snap +2 -0
  86. package/src/components/VLabel/__tests__/VLabel.spec.ts +240 -14
  87. package/src/components/VLazy/__tests__/VLazy.spec.ts +5 -4
  88. package/src/components/VLazy/__tests__/__snapshots__/VLazy.spec.ts.snap +2 -1
  89. package/src/components/VList/VListItem.ts +9 -3
  90. package/src/components/VList/__tests__/VList.spec.ts +13 -12
  91. package/src/components/VList/__tests__/VListGroup.spec.ts +59 -51
  92. package/src/components/VList/__tests__/VListItem.spec.ts +142 -63
  93. package/src/components/VList/__tests__/VListItemAvatar.spec.ts +5 -2
  94. package/src/components/VList/__tests__/VListItemGroup.spec.ts +5 -2
  95. package/src/components/VList/__tests__/__snapshots__/VList.spec.ts.snap +10 -10
  96. package/src/components/VList/__tests__/__snapshots__/VListGroup.spec.ts.snap +5 -6
  97. package/src/components/VList/__tests__/__snapshots__/VListItem.spec.ts.snap +1 -1
  98. package/src/components/VMain/__tests__/VMain.spec.ts +71 -17
  99. package/src/components/VMenu/VMenu.ts +1 -1
  100. package/src/components/VMessages/__tests__/VMessages.spec.ts +14 -13
  101. package/src/components/VOtpInput/VOtpInput.ts +37 -1
  102. package/src/components/VParallax/__tests__/__snapshots__/VParallax.spec.ts.snap +8 -8
  103. package/src/components/VPicker/__tests__/__snapshots__/VPicker.spec.ts.snap +2 -2
  104. package/src/components/VResponsive/__tests__/__snapshots__/VResponsive.spec.ts.snap +2 -2
  105. package/src/components/VSelect/VSelectList.ts +9 -9
  106. package/src/components/VSelect/__tests__/VSelect.spec.ts +166 -125
  107. package/src/components/VSelect/__tests__/VSelect2.spec.ts +127 -111
  108. package/src/components/VSelect/__tests__/VSelect3.spec.ts +109 -91
  109. package/src/components/VSelect/__tests__/VSelect4.spec.ts +79 -68
  110. package/src/components/VSelect/__tests__/VSelectList.spec.ts +23 -31
  111. package/src/components/VSelect/__tests__/__snapshots__/VSelect.spec.ts.snap +58 -62
  112. package/src/components/VSelect/__tests__/__snapshots__/VSelect2.spec.ts.snap +50 -62
  113. package/src/components/VSelect/__tests__/__snapshots__/VSelect3.spec.ts.snap +10 -14
  114. package/src/components/VSparkline/__tests__/VSparkline.spec.ts +33 -35
  115. package/src/components/VStepper/__tests__/VStepper.spec.ts +4 -1
  116. package/src/components/VStepper/__tests__/VStepperContent.spec.ts +104 -110
  117. package/src/components/VStepper/__tests__/VStepperStep.spec.ts +51 -44
  118. package/src/components/VSwitch/__tests__/VSwitch.spec.ts +30 -37
  119. package/src/components/VTabs/__tests__/VTabs.spec.ts +0 -7
  120. package/src/components/VTextField/__tests__/VTextField.spec.ts +342 -246
  121. package/src/components/VTextarea/__tests__/VTextarea.spec.ts +112 -35
  122. package/src/components/VTimePicker/__tests__/__snapshots__/VTimePicker.spec.ts.snap +0 -40
  123. package/src/components/VToolbar/__tests__/VToolbar.spec.ts +49 -25
  124. package/src/components/VTooltip/VTooltip.ts +3 -3
  125. package/src/components/VTooltip/__tests__/__snapshots__/VTooltip.spec.ts.snap +34 -18
  126. package/src/components/VTreeview/VTreeview.ts +0 -5
  127. package/src/mixins/routable/index.ts +6 -4
@@ -1,39 +1,37 @@
1
1
  // Libraries
2
- import Vue from 'vue'
2
+ import { nextTick } from 'vue'
3
3
 
4
4
  // Plugins
5
- import Router from 'vue-router'
5
+ import { createRouter, createWebHistory } from 'vue-router'
6
6
 
7
7
  // Components
8
8
  import VChip from '../VChip'
9
9
 
10
10
  // Utilities
11
11
  import {
12
- createLocalVue,
13
12
  mount,
14
- Wrapper,
13
+ VueWrapper,
14
+ enableAutoUnmount,
15
15
  } from '@vue/test-utils'
16
16
 
17
17
  describe('VChip.ts', () => {
18
- let mountFunction: (options?: object) => Wrapper<Vue>
19
- let router: Router
20
- let localVue: typeof Vue
18
+ let mountFunction: (options?: object) => VueWrapper<any>
21
19
 
22
20
  beforeEach(() => {
23
- router = new Router()
24
- localVue = createLocalVue()
25
- localVue.use(Router)
26
-
27
21
  mountFunction = (options = {}) => {
28
22
  return mount(VChip, {
29
- // https://github.com/vuejs/vue-test-utils/issues/1130
30
- sync: false,
31
- localVue,
32
- router,
33
- mocks: {
34
- $vuetify: {
35
- lang: {
36
- t: (val: string) => val,
23
+ global: {
24
+ config: {
25
+ warnHandler: () => {}, // Подавляем предупреждения Vue
26
+ },
27
+ mocks: {
28
+ $vuetify: {
29
+ lang: {
30
+ t: (val: string) => val,
31
+ },
32
+ icons: {
33
+ component: 'mdi',
34
+ },
37
35
  },
38
36
  },
39
37
  },
@@ -42,6 +40,8 @@ describe('VChip.ts', () => {
42
40
  }
43
41
  })
44
42
 
43
+ enableAutoUnmount(afterEach)
44
+
45
45
  it('should have a v-chip class', () => {
46
46
  const wrapper = mountFunction()
47
47
 
@@ -49,25 +49,24 @@ describe('VChip.ts', () => {
49
49
  expect(wrapper.html()).toMatchSnapshot()
50
50
  })
51
51
 
52
- it('should be removable', () => {
52
+ it('should be removable', async () => {
53
53
  const wrapper = mountFunction({
54
- propsData: { close: true },
54
+ props: { close: true },
55
55
  })
56
56
 
57
57
  const close = wrapper.find('.v-chip__close')
58
58
 
59
- const input = jest.fn(value => wrapper.setProps({ value }))
60
- wrapper.vm.$on('click:close', input)
61
-
62
59
  expect(wrapper.html()).toMatchSnapshot()
63
60
 
64
- close.trigger('click')
65
- expect(input).toHaveBeenCalled()
61
+ await close.trigger('click')
62
+ expect(wrapper.emitted('click:close')).toBeTruthy()
63
+ expect(wrapper.emitted('update:modelValue')).toBeTruthy()
64
+ expect(wrapper.emitted('update:modelValue')?.[0]).toEqual([false])
66
65
  })
67
66
 
68
67
  it('should render a colored chip', () => {
69
68
  const wrapper = mountFunction({
70
- propsData: {
69
+ props: {
71
70
  color: 'blue',
72
71
  textColor: 'green',
73
72
  },
@@ -79,7 +78,7 @@ describe('VChip.ts', () => {
79
78
 
80
79
  it('should render a disabled chip', async () => {
81
80
  const wrapper = mountFunction({
82
- propsData: {
81
+ props: {
83
82
  disabled: true,
84
83
  },
85
84
  })
@@ -95,7 +94,7 @@ describe('VChip.ts', () => {
95
94
 
96
95
  it('should render a colored outline chip', () => {
97
96
  const wrapper = mountFunction({
98
- propsData: {
97
+ props: {
99
98
  outlined: true,
100
99
  color: 'blue',
101
100
  },
@@ -107,7 +106,7 @@ describe('VChip.ts', () => {
107
106
 
108
107
  it('should render a colored outline chip with text color', () => {
109
108
  const wrapper = mountFunction({
110
- propsData: {
109
+ props: {
111
110
  outlined: true,
112
111
  color: 'blue',
113
112
  textColor: 'green',
@@ -120,50 +119,51 @@ describe('VChip.ts', () => {
120
119
 
121
120
  it('should render a chip with filter', () => {
122
121
  const wrapper = mountFunction({
123
- propsData: {
122
+ props: {
124
123
  filter: true,
125
- inputValue: true,
124
+ modelValue: true, // ToggleableFactory использует modelValue для isActive
126
125
  },
127
126
  })
128
127
 
129
128
  expect(wrapper.findAll('.v-chip__filter')).toHaveLength(1)
130
129
  })
131
130
 
132
- it('should call toggle event when used in the group', () => {
131
+ it('should call toggle event when used in the group', async () => {
133
132
  const register = jest.fn()
134
133
  const unregister = jest.fn()
135
- const toggle = jest.fn()
136
134
  const wrapper = mountFunction({
137
- provide: {
138
- chipGroup: { register, unregister },
135
+ global: {
136
+ provide: {
137
+ chipGroup: { register, unregister },
138
+ },
139
139
  },
140
- methods: { toggle },
141
140
  })
142
141
 
143
- wrapper.trigger('click')
144
- expect(toggle).toHaveBeenCalled()
142
+ // Проверяем, что toggle вызывается при клике
143
+ await wrapper.trigger('click')
144
+ expect(wrapper.emitted('update:modelValue')).toBeTruthy()
145
+ expect(wrapper.emitted('click')).toBeTruthy()
145
146
  })
146
147
 
147
148
  it('should conditionally show based on active prop', async () => {
148
- const active = jest.fn()
149
149
  const wrapper = mountFunction({
150
- propsData: { close: true },
150
+ props: { close: true },
151
151
  })
152
152
  const close = wrapper.find('.v-chip__close')
153
153
 
154
- wrapper.vm.$on('update:active', active)
155
-
156
- expect(wrapper.isVisible()).toBe(true)
154
+ // Initially visible
155
+ expect(wrapper.element.style.display).not.toBe('none')
157
156
 
158
- close.trigger('click')
157
+ await close.trigger('click')
159
158
 
160
- expect(active).toHaveBeenCalledTimes(1)
159
+ expect(wrapper.emitted('update:modelValue')).toBeTruthy()
160
+ expect(wrapper.emitted('update:modelValue')?.[0]).toEqual([false])
161
161
 
162
162
  // Simulate active.sync behavior
163
- wrapper.setProps({ active: false })
164
-
165
- await wrapper.vm.$nextTick()
163
+ await wrapper.setProps({ active: false })
164
+ await nextTick()
166
165
 
167
- expect(wrapper.isVisible()).toBe(false)
166
+ // Element should be hidden via v-show directive
167
+ expect(wrapper.element.style.display).toBe('none')
168
168
  })
169
169
  })
@@ -3,12 +3,12 @@
3
3
  exports[`VChip.ts should be removable 1`] = `
4
4
  <span class="v-chip v-chip--no-color v-chip--removable theme--light v-size--default">
5
5
  <span class="v-chip__content">
6
- <button type="button"
6
+ <button class="v-icon--link v-icon--right v-icon notranslate theme--light v-chip__close"
7
+ aria-hidden="false"
8
+ type="button"
9
+ style="font-size: 18px; height: 18px; width: 18px;"
7
10
  aria-label="$vuetify.close"
8
- class="v-icon notranslate v-chip__close v-icon--link v-icon--right material-icons theme--light"
9
- style="font-size: 18px;"
10
11
  >
11
- $delete
12
12
  </button>
13
13
  </span>
14
14
  </span>
@@ -1,36 +1,29 @@
1
1
  // Libraries
2
- import Vue from 'vue'
3
-
4
- // Plugins
5
- import Router from 'vue-router'
2
+ import { h } from 'vue'
6
3
 
7
4
  // Components
8
5
  import VChipGroup from '../VChipGroup'
9
6
 
10
7
  // Utilities
11
8
  import {
12
- createLocalVue,
13
9
  mount,
14
- Wrapper,
10
+ VueWrapper,
11
+ enableAutoUnmount,
15
12
  } from '@vue/test-utils'
16
13
 
17
14
  describe('VChipGroup.ts', () => {
18
- let mountFunction: (options?: object) => Wrapper<Vue>
19
- let router: Router
20
- let localVue: typeof Vue
15
+ let mountFunction: (options?: object) => VueWrapper<any>
21
16
 
22
- beforeEach(() => {
23
- router = new Router()
24
- localVue = createLocalVue()
25
- localVue.use(Router)
17
+ enableAutoUnmount(afterEach)
26
18
 
19
+ beforeEach(() => {
27
20
  mountFunction = (options = {}) => {
28
21
  return mount(VChipGroup, {
29
- localVue,
30
- router,
31
- mocks: {
32
- $vuetify: {
33
- breakpoint: {},
22
+ global: {
23
+ mocks: {
24
+ $vuetify: {
25
+ breakpoint: {},
26
+ },
34
27
  },
35
28
  },
36
29
  ...options,
@@ -47,7 +40,7 @@ describe('VChipGroup.ts', () => {
47
40
 
48
41
  it('should render column', () => {
49
42
  const wrapper = mountFunction({
50
- propsData: {
43
+ props: {
51
44
  column: true,
52
45
  },
53
46
  })
@@ -56,13 +49,13 @@ describe('VChipGroup.ts', () => {
56
49
  expect(wrapper.html()).toMatchSnapshot()
57
50
  })
58
51
 
59
- it('should switch to column', () => {
52
+ it('should switch to column', async () => {
60
53
  const wrapper = mountFunction()
61
54
 
62
55
  expect(wrapper.classes()).not.toContain('v-chip-group--column')
63
56
  expect(wrapper.html()).toMatchSnapshot()
64
57
 
65
- wrapper.setProps({
58
+ await wrapper.setProps({
66
59
  column: true,
67
60
  })
68
61
 
@@ -23,7 +23,7 @@ exports[`VColorPicker.ts should change canvas height 1`] = `
23
23
  </div>
24
24
  </div>
25
25
  <div class="v-color-picker__sliders">
26
- <div class="v-input v-input--hide-details theme--light v-input__slider">
26
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
27
27
  <div class="v-input__control">
28
28
  <div class="v-input__slot">
29
29
  <div class="v-slider v-slider--horizontal theme--light">
@@ -61,7 +61,7 @@ exports[`VColorPicker.ts should change canvas height 1`] = `
61
61
  </div>
62
62
  </div>
63
63
  </div>
64
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
64
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
65
65
  <div class="v-input__control">
66
66
  <div class="v-input__slot">
67
67
  <div class="v-slider v-slider--horizontal theme--light">
@@ -146,8 +146,8 @@ exports[`VColorPicker.ts should change canvas height 1`] = `
146
146
  A
147
147
  </span>
148
148
  </div>
149
- <button type="button"
150
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
149
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
150
+ type="button"
151
151
  >
152
152
  <span class="v-btn__content">
153
153
  <i aria-hidden="true"
@@ -172,7 +172,7 @@ exports[`VColorPicker.ts should hide canvas 1`] = `
172
172
  </div>
173
173
  </div>
174
174
  <div class="v-color-picker__sliders">
175
- <div class="v-input v-input--hide-details theme--light v-input__slider">
175
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
176
176
  <div class="v-input__control">
177
177
  <div class="v-input__slot">
178
178
  <div class="v-slider v-slider--horizontal theme--light">
@@ -210,7 +210,7 @@ exports[`VColorPicker.ts should hide canvas 1`] = `
210
210
  </div>
211
211
  </div>
212
212
  </div>
213
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
213
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
214
214
  <div class="v-input__control">
215
215
  <div class="v-input__slot">
216
216
  <div class="v-slider v-slider--horizontal theme--light">
@@ -295,8 +295,8 @@ exports[`VColorPicker.ts should hide canvas 1`] = `
295
295
  A
296
296
  </span>
297
297
  </div>
298
- <button type="button"
299
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
298
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
299
+ type="button"
300
300
  >
301
301
  <span class="v-btn__content">
302
302
  <i aria-hidden="true"
@@ -352,7 +352,7 @@ exports[`VColorPicker.ts should hide inputs 1`] = `
352
352
  </div>
353
353
  </div>
354
354
  <div class="v-color-picker__sliders">
355
- <div class="v-input v-input--hide-details theme--light v-input__slider">
355
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
356
356
  <div class="v-input__control">
357
357
  <div class="v-input__slot">
358
358
  <div class="v-slider v-slider--horizontal theme--light">
@@ -390,7 +390,7 @@ exports[`VColorPicker.ts should hide inputs 1`] = `
390
390
  </div>
391
391
  </div>
392
392
  </div>
393
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
393
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
394
394
  <div class="v-input__control">
395
395
  <div class="v-input__slot">
396
396
  <div class="v-slider v-slider--horizontal theme--light">
@@ -496,8 +496,8 @@ exports[`VColorPicker.ts should hide sliders 1`] = `
496
496
  A
497
497
  </span>
498
498
  </div>
499
- <button type="button"
500
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
499
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
500
+ type="button"
501
501
  >
502
502
  <span class="v-btn__content">
503
503
  <i aria-hidden="true"
@@ -534,7 +534,7 @@ exports[`VColorPicker.ts should not show alpha controls if given hex value witho
534
534
  </div>
535
535
  </div>
536
536
  <div class="v-color-picker__sliders">
537
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
537
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__hue">
538
538
  <div class="v-input__control">
539
539
  <div class="v-input__slot">
540
540
  <div class="v-slider v-slider--horizontal theme--light">
@@ -608,8 +608,8 @@ exports[`VColorPicker.ts should not show alpha controls if given hex value witho
608
608
  B
609
609
  </span>
610
610
  </div>
611
- <button type="button"
612
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
611
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
612
+ type="button"
613
613
  >
614
614
  <span class="v-btn__content">
615
615
  <i aria-hidden="true"
@@ -646,7 +646,7 @@ exports[`VColorPicker.ts should render color picker 1`] = `
646
646
  </div>
647
647
  </div>
648
648
  <div class="v-color-picker__sliders">
649
- <div class="v-input v-input--hide-details theme--light v-input__slider">
649
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
650
650
  <div class="v-input__control">
651
651
  <div class="v-input__slot">
652
652
  <div class="v-slider v-slider--horizontal theme--light">
@@ -684,7 +684,7 @@ exports[`VColorPicker.ts should render color picker 1`] = `
684
684
  </div>
685
685
  </div>
686
686
  </div>
687
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
687
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
688
688
  <div class="v-input__control">
689
689
  <div class="v-input__slot">
690
690
  <div class="v-slider v-slider--horizontal theme--light">
@@ -769,8 +769,8 @@ exports[`VColorPicker.ts should render color picker 1`] = `
769
769
  A
770
770
  </span>
771
771
  </div>
772
- <button type="button"
773
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
772
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
773
+ type="button"
774
774
  >
775
775
  <span class="v-btn__content">
776
776
  <i aria-hidden="true"
@@ -807,7 +807,7 @@ exports[`VColorPicker.ts should render flat picker 1`] = `
807
807
  </div>
808
808
  </div>
809
809
  <div class="v-color-picker__sliders">
810
- <div class="v-input v-input--hide-details theme--light v-input__slider">
810
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
811
811
  <div class="v-input__control">
812
812
  <div class="v-input__slot">
813
813
  <div class="v-slider v-slider--horizontal theme--light">
@@ -845,7 +845,7 @@ exports[`VColorPicker.ts should render flat picker 1`] = `
845
845
  </div>
846
846
  </div>
847
847
  </div>
848
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
848
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
849
849
  <div class="v-input__control">
850
850
  <div class="v-input__slot">
851
851
  <div class="v-slider v-slider--horizontal theme--light">
@@ -930,8 +930,8 @@ exports[`VColorPicker.ts should render flat picker 1`] = `
930
930
  A
931
931
  </span>
932
932
  </div>
933
- <button type="button"
934
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
933
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
934
+ type="button"
935
935
  >
936
936
  <span class="v-btn__content">
937
937
  <i aria-hidden="true"
@@ -968,7 +968,7 @@ exports[`VColorPicker.ts should render picker with elevation 1`] = `
968
968
  </div>
969
969
  </div>
970
970
  <div class="v-color-picker__sliders">
971
- <div class="v-input v-input--hide-details theme--light v-input__slider">
971
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
972
972
  <div class="v-input__control">
973
973
  <div class="v-input__slot">
974
974
  <div class="v-slider v-slider--horizontal theme--light">
@@ -1006,7 +1006,7 @@ exports[`VColorPicker.ts should render picker with elevation 1`] = `
1006
1006
  </div>
1007
1007
  </div>
1008
1008
  </div>
1009
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
1009
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
1010
1010
  <div class="v-input__control">
1011
1011
  <div class="v-input__slot">
1012
1012
  <div class="v-slider v-slider--horizontal theme--light">
@@ -1091,8 +1091,8 @@ exports[`VColorPicker.ts should render picker with elevation 1`] = `
1091
1091
  A
1092
1092
  </span>
1093
1093
  </div>
1094
- <button type="button"
1095
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
1094
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
1095
+ type="button"
1096
1096
  >
1097
1097
  <span class="v-btn__content">
1098
1098
  <i aria-hidden="true"
@@ -1129,7 +1129,7 @@ exports[`VColorPicker.ts should show swatches 1`] = `
1129
1129
  </div>
1130
1130
  </div>
1131
1131
  <div class="v-color-picker__sliders">
1132
- <div class="v-input v-input--hide-details theme--light v-input__slider">
1132
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
1133
1133
  <div class="v-input__control">
1134
1134
  <div class="v-input__slot">
1135
1135
  <div class="v-slider v-slider--horizontal theme--light">
@@ -1167,7 +1167,7 @@ exports[`VColorPicker.ts should show swatches 1`] = `
1167
1167
  </div>
1168
1168
  </div>
1169
1169
  </div>
1170
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
1170
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
1171
1171
  <div class="v-input__control">
1172
1172
  <div class="v-input__slot">
1173
1173
  <div class="v-slider v-slider--horizontal theme--light">
@@ -1252,8 +1252,8 @@ exports[`VColorPicker.ts should show swatches 1`] = `
1252
1252
  A
1253
1253
  </span>
1254
1254
  </div>
1255
- <button type="button"
1256
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
1255
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
1256
+ type="button"
1257
1257
  >
1258
1258
  <span class="v-btn__content">
1259
1259
  <i aria-hidden="true"
@@ -2108,7 +2108,7 @@ exports[`VColorPicker.ts should work correctly when initial value is null 1`] =
2108
2108
  </div>
2109
2109
  </div>
2110
2110
  <div class="v-color-picker__sliders">
2111
- <div class="v-input v-input--hide-details theme--light v-input__slider">
2111
+ <div class="v-input v-input--hide-details theme--light v-input__slider v-color-picker__hue">
2112
2112
  <div class="v-input__control">
2113
2113
  <div class="v-input__slot">
2114
2114
  <div class="v-slider v-slider--horizontal theme--light">
@@ -2146,7 +2146,7 @@ exports[`VColorPicker.ts should work correctly when initial value is null 1`] =
2146
2146
  </div>
2147
2147
  </div>
2148
2148
  </div>
2149
- <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider">
2149
+ <div class="v-input v-input--hide-details v-input--is-label-active v-input--is-dirty theme--light v-input__slider v-color-picker__alpha">
2150
2150
  <div class="v-input__control">
2151
2151
  <div class="v-input__slot">
2152
2152
  <div class="v-slider v-slider--horizontal theme--light">
@@ -2231,8 +2231,8 @@ exports[`VColorPicker.ts should work correctly when initial value is null 1`] =
2231
2231
  A
2232
2232
  </span>
2233
2233
  </div>
2234
- <button type="button"
2235
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
2234
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
2235
+ type="button"
2236
2236
  >
2237
2237
  <span class="v-btn__content">
2238
2238
  <i aria-hidden="true"
@@ -46,8 +46,8 @@ exports[`VColorPickerEdit.ts should change mode 1`] = `
46
46
  A
47
47
  </span>
48
48
  </div>
49
- <button type="button"
50
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
49
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
50
+ type="button"
51
51
  >
52
52
  <span class="v-btn__content">
53
53
  <i aria-hidden="true"
@@ -105,8 +105,8 @@ exports[`VColorPickerEdit.ts should change mode 2`] = `
105
105
  A
106
106
  </span>
107
107
  </div>
108
- <button type="button"
109
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
108
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
109
+ type="button"
110
110
  >
111
111
  <span class="v-btn__content">
112
112
  <i aria-hidden="true"
@@ -128,8 +128,8 @@ exports[`VColorPickerEdit.ts should change mode 3`] = `
128
128
  HEX
129
129
  </span>
130
130
  </div>
131
- <button type="button"
132
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
131
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
132
+ type="button"
133
133
  >
134
134
  <span class="v-btn__content">
135
135
  <i aria-hidden="true"
@@ -187,8 +187,8 @@ exports[`VColorPickerEdit.ts should change mode 4`] = `
187
187
  A
188
188
  </span>
189
189
  </div>
190
- <button type="button"
191
- class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
190
+ <button class="v-btn v-btn--icon v-btn--round theme--light v-size--small"
191
+ type="button"
192
192
  >
193
193
  <span class="v-btn__content">
194
194
  <i aria-hidden="true"
@@ -299,9 +299,9 @@ exports[`VColorPickerEdit.ts should render with disabled 1`] = `
299
299
  A
300
300
  </span>
301
301
  </div>
302
- <button type="button"
302
+ <button class="v-btn v-btn--disabled v-btn--icon v-btn--round theme--light v-size--small"
303
+ type="button"
303
304
  disabled
304
- class="v-btn v-btn--disabled v-btn--icon v-btn--round theme--light v-size--small"
305
305
  >
306
306
  <span class="v-btn__content">
307
307
  <i aria-hidden="true"