@vuetify/nightly 3.7.2-master.2024-09-22 → 3.7.2-master.2024-09-27
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/json/importMap-labs.json +12 -12
- package/dist/json/importMap.json +156 -156
- package/dist/json/web-types.json +1 -1
- package/dist/vuetify-labs.css +4764 -4764
- package/dist/vuetify-labs.d.ts +194 -194
- package/dist/vuetify-labs.esm.js +7 -5
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +7 -5
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +2916 -2916
- package/dist/vuetify.d.ts +211 -211
- package/dist/vuetify.esm.js +7 -5
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +7 -5
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +8 -8
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/index.d.mts +22 -22
- package/lib/components/VBottomSheet/index.d.mts +4 -4
- package/lib/components/VCarousel/index.d.mts +2 -2
- package/lib/components/VCheckbox/index.d.mts +2 -2
- package/lib/components/VChip/VChip.mjs +2 -1
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.mjs +2 -2
- package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
- package/lib/components/VCombobox/index.d.mts +22 -22
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +87 -0
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -0
- package/lib/components/VDataTable/index.d.mts +6 -6
- package/lib/components/VDatePicker/index.d.mts +2 -2
- package/lib/components/VDialog/index.d.mts +22 -22
- package/lib/components/VFileInput/__tests__/text.txt +1 -0
- package/lib/components/VFileInput/index.d.mts +3 -3
- package/lib/components/VInput/index.d.mts +2 -2
- package/lib/components/VList/VListItem.mjs +1 -0
- package/lib/components/VList/VListItem.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +20 -20
- package/lib/components/VMessages/index.d.mts +8 -8
- package/lib/components/VNavigationDrawer/index.d.mts +7 -7
- package/lib/components/VOverlay/index.d.mts +4 -4
- package/lib/components/VRadioGroup/index.d.mts +2 -2
- package/lib/components/VSelect/index.d.mts +22 -22
- package/lib/components/VSnackbar/index.d.mts +31 -31
- package/lib/components/VSpeedDial/index.d.mts +2 -2
- package/lib/components/VSwitch/index.d.mts +2 -2
- package/lib/components/VTextField/index.d.mts +3 -3
- package/lib/components/VTextarea/index.d.mts +3 -3
- package/lib/components/VTooltip/index.d.mts +24 -24
- package/lib/components/VWindow/index.d.mts +2 -2
- package/lib/components/index.d.mts +157 -157
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +54 -54
- package/lib/labs/VNumberInput/index.d.mts +9 -9
- package/lib/labs/VSnackbarQueue/index.d.mts +52 -52
- package/lib/labs/VTreeview/index.d.mts +7 -7
- package/lib/labs/components.d.mts +68 -68
- package/package.json +22 -15
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +0 -74
- package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +0 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vuetify/nightly",
|
3
3
|
"description": "Vue Material Component Framework",
|
4
|
-
"version": "3.7.2-master.2024-09-
|
4
|
+
"version": "3.7.2-master.2024-09-27",
|
5
5
|
"author": {
|
6
6
|
"name": "John Leider",
|
7
7
|
"email": "john@vuetifyjs.com"
|
@@ -109,11 +109,14 @@
|
|
109
109
|
"build:types": "rimraf types-temp && tsc --pretty --emitDeclarationOnly -p tsconfig.dist.json && rollup --config build/rollup.types.config.mjs && rimraf types-temp",
|
110
110
|
"tsc": "tsc",
|
111
111
|
"test": "vitest",
|
112
|
+
"test:unit": "vitest --project unit",
|
113
|
+
"test:browser": "vitest --project browser",
|
114
|
+
"test:open": "TEST_BAIL=1 vitest --project browser -w",
|
112
115
|
"test:coverage": "pnpm run test --coverage",
|
116
|
+
"test:percy": "percy exec -- vitest --project browser",
|
117
|
+
"test:all": "concurrently -gr 'vitest --project unit' 'vitest --project browser --shard=1/5' 'vitest --project browser --shard=2/5' 'vitest --project browser --shard=3/5' 'vitest --project browser --shard=4/5' 'vitest --project browser --shard=5/5'",
|
113
118
|
"lint": "concurrently -n \"tsc,eslint\" --kill-others-on-fail \"tsc -p tsconfig.checks.json --noEmit --pretty\" \"eslint src -f codeframe --max-warnings 0\"",
|
114
|
-
"lint:fix": "concurrently -n \"tsc,eslint\" \"tsc -p tsconfig.checks.json --noEmit --pretty\" \"eslint --fix src\""
|
115
|
-
"cy:open": "cypress open --component -b electron",
|
116
|
-
"cy:run": "percy exec -- cypress run --component"
|
119
|
+
"lint:fix": "concurrently -n \"tsc,eslint\" \"tsc -p tsconfig.checks.json --noEmit --pretty\" \"eslint --fix src\""
|
117
120
|
},
|
118
121
|
"devDependencies": {
|
119
122
|
"@date-io/core": "3.0.0",
|
@@ -123,17 +126,22 @@
|
|
123
126
|
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
124
127
|
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
125
128
|
"@fortawesome/vue-fontawesome": "^3.0.6",
|
126
|
-
"@percy/cli": "^1.
|
127
|
-
"@percy/
|
129
|
+
"@percy/cli": "^1.29.3",
|
130
|
+
"@percy/sdk-utils": "^1.29.3",
|
128
131
|
"@rollup/plugin-alias": "^5.1.0",
|
129
132
|
"@rollup/plugin-babel": "^6.0.4",
|
130
133
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
131
134
|
"@rollup/plugin-typescript": "^11.1.6",
|
132
|
-
"@
|
135
|
+
"@testing-library/dom": "npm:@vuetify/testing-library-dom@1.0.2",
|
136
|
+
"@testing-library/user-event": "^14.5.2",
|
137
|
+
"@testing-library/vue": "^8.1.0",
|
138
|
+
"@types/node": "^22.5.4",
|
133
139
|
"@types/resize-observer-browser": "^0.1.11",
|
134
140
|
"@vitejs/plugin-vue": "^5.0.4",
|
135
141
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
136
|
-
"@vitest/
|
142
|
+
"@vitest/browser": "^2.1.1",
|
143
|
+
"@vitest/coverage-v8": "^2.1.1",
|
144
|
+
"@vitest/ui": "^2.1.1",
|
137
145
|
"@vue/babel-plugin-jsx": "^1.2.2",
|
138
146
|
"@vue/shared": "^3.4.27",
|
139
147
|
"@vue/test-utils": "2.4.6",
|
@@ -147,19 +155,17 @@
|
|
147
155
|
"cssnano": "^6.1.2",
|
148
156
|
"csstype": "^3.1.3",
|
149
157
|
"cy-mobile-commands": "^0.3.0",
|
150
|
-
"cypress": "^13.7.2",
|
151
|
-
"cypress-file-upload": "^5.0.8",
|
152
|
-
"cypress-real-events": "^1.12.0",
|
153
158
|
"date-fns": "^3.6.0",
|
154
159
|
"dotenv": "^16.4.5",
|
155
|
-
"eslint-plugin-cypress": "^2.15.1",
|
156
160
|
"eslint-plugin-jest": "^28.7.0",
|
161
|
+
"eslint-plugin-vitest": "0.4.1",
|
157
162
|
"expect": "^28.1.3",
|
158
163
|
"fast-glob": "^3.3.2",
|
159
164
|
"identity-obj-proxy": "^3.0.0",
|
160
165
|
"jsdom": "^25.0.0",
|
161
166
|
"micromatch": "^4.0.5",
|
162
167
|
"postcss": "^8.4.38",
|
168
|
+
"roboto-fontface": "^0.10.0",
|
163
169
|
"rollup": "^3.20.7",
|
164
170
|
"rollup-plugin-dts": "^6.1.0",
|
165
171
|
"rollup-plugin-sass": "^1.12.21",
|
@@ -169,11 +175,12 @@
|
|
169
175
|
"unplugin-auto-import": "0.17.5",
|
170
176
|
"unplugin-vue-components": "^0.27.4",
|
171
177
|
"upath": "^2.0.1",
|
172
|
-
"vite": "^5.4.
|
178
|
+
"vite": "^5.4.3",
|
173
179
|
"vite-ssr": "^0.17.1",
|
174
|
-
"vitest": "^2.
|
180
|
+
"vitest": "^2.1.1",
|
175
181
|
"vue-i18n": "^9.7.1",
|
176
|
-
"vue-router": "^4.3.0"
|
182
|
+
"vue-router": "^4.3.0",
|
183
|
+
"webdriverio": "^8.40.5"
|
177
184
|
},
|
178
185
|
"peerDependencies": {
|
179
186
|
"typescript": ">=4.7",
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import { createTextVNode as _createTextVNode, Fragment as _Fragment, createVNode as _createVNode } from "vue";
|
2
|
-
/// <reference types="../../../../types/cypress" />
|
3
|
-
import { VConfirmEdit } from "../index.mjs"; // Utilities
|
4
|
-
import { ref } from 'vue';
|
5
|
-
|
6
|
-
// Tests
|
7
|
-
describe('VConfirmEdit', () => {
|
8
|
-
it('mirrors external updates', () => {
|
9
|
-
const externalModel = ref('foo');
|
10
|
-
cy.mount(() => _createVNode(VConfirmEdit, {
|
11
|
-
"modelValue": externalModel.value
|
12
|
-
}, {
|
13
|
-
default: _ref => {
|
14
|
-
let {
|
15
|
-
model
|
16
|
-
} = _ref;
|
17
|
-
return _createVNode("p", null, [model.value]);
|
18
|
-
}
|
19
|
-
})).get('p').should('have.text', 'foo').then(() => {
|
20
|
-
externalModel.value = 'bar';
|
21
|
-
}).get('p').should('have.text', 'bar');
|
22
|
-
});
|
23
|
-
it(`doesn't mutate the original value`, () => {
|
24
|
-
const externalModel = ref(['foo']);
|
25
|
-
cy.mount(_createVNode(VConfirmEdit, {
|
26
|
-
"modelValue": externalModel.value,
|
27
|
-
"onUpdate:modelValue": $event => externalModel.value = $event
|
28
|
-
}, {
|
29
|
-
default: _ref2 => {
|
30
|
-
let {
|
31
|
-
model
|
32
|
-
} = _ref2;
|
33
|
-
return _createVNode(_Fragment, null, [_createVNode("p", null, [model.value.join(',')]), _createVNode("button", {
|
34
|
-
"data-test": "push",
|
35
|
-
"onClick": () => model.value.push('bar')
|
36
|
-
}, [_createTextVNode("Push")])]);
|
37
|
-
}
|
38
|
-
})).get('p').should('have.text', 'foo').get('[data-test="push"]').click().get('p').should('have.text', 'foo,bar').then(() => {
|
39
|
-
expect(externalModel.value).to.deep.equal(['foo']);
|
40
|
-
});
|
41
|
-
cy.contains('.v-btn', 'OK').click();
|
42
|
-
cy.get('p').should('have.text', 'foo,bar').then(() => {
|
43
|
-
expect(externalModel.value).to.deep.equal(['foo', 'bar']);
|
44
|
-
});
|
45
|
-
});
|
46
|
-
it('hides actions if used from the slot', () => {
|
47
|
-
cy.mount(_createVNode(VConfirmEdit, null, null)).get('.v-btn').should('have.length', 2);
|
48
|
-
cy.mount(_createVNode(VConfirmEdit, null, {
|
49
|
-
default: _ref3 => {
|
50
|
-
let {
|
51
|
-
model
|
52
|
-
} = _ref3;
|
53
|
-
void model;
|
54
|
-
}
|
55
|
-
})).get('.v-btn').should('have.length', 2);
|
56
|
-
cy.mount(_createVNode(VConfirmEdit, null, {
|
57
|
-
default: _ref4 => {
|
58
|
-
let {
|
59
|
-
actions
|
60
|
-
} = _ref4;
|
61
|
-
void actions;
|
62
|
-
}
|
63
|
-
})).get('.v-btn').should('have.length', 0);
|
64
|
-
cy.mount(_createVNode(VConfirmEdit, null, {
|
65
|
-
default: _ref5 => {
|
66
|
-
let {
|
67
|
-
actions
|
68
|
-
} = _ref5;
|
69
|
-
return actions;
|
70
|
-
}
|
71
|
-
})).get('.v-btn').should('have.length', 2);
|
72
|
-
});
|
73
|
-
});
|
74
|
-
//# sourceMappingURL=VConfirmEdit.spec.cy.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"VConfirmEdit.spec.cy.mjs","names":["VConfirmEdit","ref","describe","it","externalModel","cy","mount","_createVNode","value","default","_ref","model","get","should","then","$event","_ref2","_Fragment","join","onClick","push","_createTextVNode","click","expect","to","deep","equal","contains","_ref3","_ref4","actions","_ref5"],"sources":["../../../../src/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.tsx"],"sourcesContent":["/// <reference types=\"../../../../types/cypress\" />\n\nimport { VConfirmEdit } from '..'\n\n// Utilities\nimport { ref } from 'vue'\n\n// Tests\ndescribe('VConfirmEdit', () => {\n it('mirrors external updates', () => {\n const externalModel = ref('foo')\n\n cy.mount(() => (\n <VConfirmEdit modelValue={ externalModel.value }>\n { ({ model }) => (\n <p>{ model.value }</p>\n )}\n </VConfirmEdit>\n )).get('p')\n .should('have.text', 'foo')\n .then(() => {\n externalModel.value = 'bar'\n })\n .get('p')\n .should('have.text', 'bar')\n })\n\n it(`doesn't mutate the original value`, () => {\n const externalModel = ref(['foo'])\n\n cy.mount(\n <VConfirmEdit v-model={ externalModel.value } modelValue={ externalModel.value }>\n { ({ model }) => (\n <>\n <p>{ model.value.join(',') }</p>\n <button data-test=\"push\" onClick={ () => model.value.push('bar') }>Push</button>\n </>\n )}\n </VConfirmEdit>\n ).get('p')\n .should('have.text', 'foo')\n .get('[data-test=\"push\"]').click()\n .get('p')\n .should('have.text', 'foo,bar')\n .then(() => {\n expect(externalModel.value).to.deep.equal(['foo'])\n })\n cy.contains('.v-btn', 'OK').click()\n cy.get('p')\n .should('have.text', 'foo,bar')\n .then(() => {\n expect(externalModel.value).to.deep.equal(['foo', 'bar'])\n })\n })\n\n it('hides actions if used from the slot', () => {\n cy.mount(\n <VConfirmEdit></VConfirmEdit>\n ).get('.v-btn').should('have.length', 2)\n\n cy.mount(\n <VConfirmEdit>\n { ({ model }) => {\n void model\n }}\n </VConfirmEdit>\n ).get('.v-btn').should('have.length', 2)\n\n cy.mount(\n <VConfirmEdit>\n { ({ actions }) => {\n void actions\n }}\n </VConfirmEdit>\n ).get('.v-btn').should('have.length', 0)\n\n cy.mount(\n <VConfirmEdit>\n { ({ actions }) => actions }\n </VConfirmEdit>\n ).get('.v-btn').should('have.length', 2)\n })\n})\n"],"mappings":";AAAA;AAAA,SAESA,YAAY,wBAErB;AACA,SAASC,GAAG,QAAQ,KAAK;;AAEzB;AACAC,QAAQ,CAAC,cAAc,EAAE,MAAM;EAC7BC,EAAE,CAAC,0BA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