quasar 2.4.10 → 2.5.0
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/api/BottomSheet.json +4 -0
- package/dist/api/Dialog.json +5 -1
- package/dist/api/LoadingBar.json +7 -0
- package/dist/api/Notify.json +20 -10
- package/dist/api/Platform.json +171 -0
- package/dist/api/QAjaxBar.json +13 -1
- package/dist/api/QBtnDropdown.json +4 -2
- package/dist/api/QCheckbox.json +27 -0
- package/dist/api/QEditor.json +4 -2
- package/dist/api/QExpansionItem.json +6 -3
- package/dist/api/QFab.json +4 -2
- package/dist/api/QFabAction.json +4 -2
- package/dist/api/QFile.json +4 -2
- package/dist/api/QImg.json +1 -2
- package/dist/api/QInnerLoading.json +2 -1
- package/dist/api/QInput.json +4 -2
- package/dist/api/QPagination.json +4 -2
- package/dist/api/QRadio.json +18 -0
- package/dist/api/QRange.json +9 -0
- package/dist/api/QScrollArea.json +13 -5
- package/dist/api/QSelect.json +6 -3
- package/dist/api/QSlider.json +9 -0
- package/dist/api/QSplitter.json +8 -4
- package/dist/api/QTable.json +9 -0
- package/dist/api/QTime.json +8 -2
- package/dist/api/QToggle.json +24 -24
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +39 -10
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +56 -23
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +32 -11
- package/dist/quasar.umd.js +276 -118
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/transforms/auto-import.json +39 -3
- package/dist/transforms/import-map.json +18 -0
- package/dist/types/api/slider.d.ts +6 -7
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api/vue-prop-types.ts +15 -0
- package/dist/types/api.d.ts +1 -0
- package/dist/types/index.d.ts +246 -188
- package/dist/types/utils/dom.d.ts +4 -2
- package/dist/types/utils.d.ts +3 -1
- package/dist/vetur/quasar-attributes.json +62 -42
- package/dist/vetur/quasar-tags.json +8 -3
- package/dist/web-types/web-types.json +103 -58
- package/package.json +13 -3
- package/src/components/ajax-bar/QAjaxBar.js +22 -12
- package/src/components/ajax-bar/QAjaxBar.json +16 -1
- package/src/components/avatar/__tests__/QAvatar.spec.js +121 -0
- package/src/components/badge/__tests__/QBadge.spec.js +74 -0
- package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
- package/src/components/btn/__tests__/QBtn.spec.js +55 -0
- package/src/components/btn/__tests__/use-btn.spec.js +189 -0
- package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
- package/src/components/checkbox/QCheckbox.js +34 -3
- package/src/components/checkbox/QCheckbox.json +17 -0
- package/src/components/checkbox/QCheckbox.sass +17 -5
- package/src/components/checkbox/use-checkbox.js +4 -0
- package/src/components/checkbox/use-checkbox.json +18 -0
- package/src/components/chip/__tests__/QChip.spec.js +155 -0
- package/src/components/date/__tests__/QDate.spec.js +189 -0
- package/src/components/date/__tests__/use-datetime.spec.js +83 -0
- package/src/components/dialog/QDialog.js +1 -1
- package/src/components/dialog/__tests__/QDialog.spec.js +129 -0
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/editor/QEditor.json +3 -1
- package/src/components/editor/__tests__/QEditor.spec.js +195 -0
- package/src/components/expansion-item/QExpansionItem.json +6 -3
- package/src/components/fab/use-fab.json +4 -2
- package/src/components/file/QFile.json +4 -2
- package/src/components/form/QForm.js +12 -2
- package/src/components/img/QImg.json +2 -3
- package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
- package/src/components/inner-loading/QInnerLoading.json +2 -1
- package/src/components/input/QInput.js +10 -1
- package/src/components/input/QInput.json +4 -2
- package/src/components/input/__tests__/QInput.spec.js +105 -0
- package/src/components/input/__tests__/use-mask.spec.js +29 -0
- package/src/components/menu/QMenu.js +2 -1
- package/src/components/menu/__tests__/QMenu.spec.js +610 -0
- package/src/components/menu/__tests__/WrapperOne.vue +51 -0
- package/src/components/menu/__tests__/WrapperTwo.vue +38 -0
- package/src/components/pagination/QPagination.json +4 -2
- package/src/components/radio/QRadio.js +26 -1
- package/src/components/radio/QRadio.json +16 -0
- package/src/components/radio/QRadio.sass +17 -6
- package/src/components/scroll-area/QScrollArea.js +21 -1
- package/src/components/scroll-area/QScrollArea.json +13 -5
- package/src/components/select/QSelect.js +13 -9
- package/src/components/select/QSelect.json +6 -3
- package/src/components/select/QSelect.sass +1 -0
- package/src/components/select/__tests__/QSelect.spec.js +2003 -0
- package/src/components/select/__tests__/WrapperOne.vue +28 -0
- package/src/components/slider/use-slider.json +9 -0
- package/src/components/splitter/QSplitter.json +8 -4
- package/src/components/stepper/QStep.js +19 -14
- package/src/components/stepper/QStepper.sass +3 -0
- package/src/components/table/QTable.json +9 -0
- package/src/components/table/__tests__/QTable.spec.js +635 -0
- package/src/components/table/__tests__/QTd.spec.js +35 -0
- package/src/components/table/__tests__/QTh.spec.js +27 -0
- package/src/components/table/__tests__/QTr.spec.js +27 -0
- package/src/components/tabs/QTabs.js +10 -2
- package/src/components/tabs/__tests__/QRouteTab.spec.js +9 -0
- package/src/components/tabs/__tests__/QTab.spec.js +79 -0
- package/src/components/tabs/__tests__/QTabs.spec.js +147 -0
- package/src/components/time/QTime.json +2 -2
- package/src/components/toggle/QToggle.js +5 -13
- package/src/components/toggle/QToggle.json +3 -12
- package/src/components/tree/QTree.js +5 -3
- package/src/components/uploader/__tests__/QUploader.spec.js +161 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +20 -9
- package/src/composables/private/__tests__/FieldWrapper.vue +39 -0
- package/src/composables/private/__tests__/use-anchor.spec.js +99 -0
- package/src/composables/private/__tests__/use-field.spec.js +351 -0
- package/src/composables/private/__tests__/use-file.spec.js +69 -0
- package/src/composables/private/__tests__/use-form.spec.js +11 -0
- package/src/composables/private/__tests__/use-fullscreen.spec.js +37 -0
- package/src/composables/private/__tests__/use-model-toggle.spec.js +306 -0
- package/src/composables/private/__tests__/use-portal.spec.js +4 -0
- package/src/composables/private/__tests__/use-router-link.spec.js +55 -0
- package/src/composables/private/__tests__/use-size.spec.js +37 -0
- package/src/composables/private/__tests__/use-transition.spec.js +108 -0
- package/src/composables/private/__tests__/use-validate.spec.js +111 -0
- package/src/composables/private/use-field.js +16 -9
- package/src/composables/private/use-fullscreen.js +1 -1
- package/src/composables/private/use-model-toggle.js +1 -1
- package/src/composables/private/use-validate.js +9 -5
- package/src/plugins/BottomSheet.json +1 -0
- package/src/plugins/Dialog.json +1 -0
- package/src/plugins/LoadingBar.js +3 -3
- package/src/plugins/LoadingBar.json +8 -0
- package/src/plugins/Meta.js +1 -1
- package/src/plugins/Notify.json +20 -10
- package/src/plugins/Platform.js +15 -8
- package/src/plugins/Platform.json +166 -0
- package/src/plugins/Screen.js +11 -8
- package/src/utils/date.js +5 -5
- package/src/utils/private/global-dialog.json +3 -0
- package/src/utils/private/vm.js +14 -8
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { mount } from '@cypress/vue'
|
|
2
|
+
import WrapperOne from './../../../components/menu/__tests__/WrapperOne.vue'
|
|
3
|
+
|
|
4
|
+
describe('use-anchor API', () => {
|
|
5
|
+
describe('Props', () => {
|
|
6
|
+
describe('Category: behavior', () => {
|
|
7
|
+
describe('(prop): target', () => {
|
|
8
|
+
it('should use another target using a CSS selector', () => {
|
|
9
|
+
mount(WrapperOne, {
|
|
10
|
+
attrs: {
|
|
11
|
+
target: '.other-target'
|
|
12
|
+
}
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
// Click on parent element should not show menu
|
|
16
|
+
cy.dataCy('wrapper')
|
|
17
|
+
.click()
|
|
18
|
+
cy.dataCy('menu')
|
|
19
|
+
.should('not.exist')
|
|
20
|
+
|
|
21
|
+
// Click on other target should show menu
|
|
22
|
+
cy.dataCy('other-target')
|
|
23
|
+
.click()
|
|
24
|
+
cy.dataCy('menu')
|
|
25
|
+
.should('exist')
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
it('should not show when target is false', () => {
|
|
29
|
+
mount(WrapperOne, {
|
|
30
|
+
attrs: {
|
|
31
|
+
target: false
|
|
32
|
+
}
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
cy.dataCy('wrapper')
|
|
36
|
+
.click()
|
|
37
|
+
cy.dataCy('menu')
|
|
38
|
+
.should('not.exist')
|
|
39
|
+
})
|
|
40
|
+
})
|
|
41
|
+
|
|
42
|
+
describe('(prop): no-parent-event', () => {
|
|
43
|
+
it('should not show when clicking parent with no-parent-event true', () => {
|
|
44
|
+
mount(WrapperOne, {
|
|
45
|
+
attrs: {
|
|
46
|
+
'no-parent-event': true
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
cy.dataCy('wrapper')
|
|
51
|
+
.click()
|
|
52
|
+
cy.dataCy('menu')
|
|
53
|
+
.should('not.exist')
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
it('should show when clicking parent with no-parent-event false', () => {
|
|
57
|
+
mount(WrapperOne, {
|
|
58
|
+
attrs: {
|
|
59
|
+
'no-parent-event': false
|
|
60
|
+
}
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
cy.dataCy('wrapper')
|
|
64
|
+
.click()
|
|
65
|
+
cy.dataCy('menu')
|
|
66
|
+
.should('exist')
|
|
67
|
+
})
|
|
68
|
+
})
|
|
69
|
+
|
|
70
|
+
describe('(prop): context-menu', () => {
|
|
71
|
+
it('should not show when left clicking parent', () => {
|
|
72
|
+
mount(WrapperOne, {
|
|
73
|
+
attrs: {
|
|
74
|
+
'context-menu': true
|
|
75
|
+
}
|
|
76
|
+
})
|
|
77
|
+
|
|
78
|
+
cy.dataCy('wrapper')
|
|
79
|
+
.click()
|
|
80
|
+
cy.dataCy('menu')
|
|
81
|
+
.should('not.exist')
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
it('should show when right clicking parent', () => {
|
|
85
|
+
mount(WrapperOne, {
|
|
86
|
+
attrs: {
|
|
87
|
+
'context-menu': true
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
cy.dataCy('wrapper')
|
|
92
|
+
.rightclick()
|
|
93
|
+
cy.dataCy('menu')
|
|
94
|
+
.should('exist')
|
|
95
|
+
})
|
|
96
|
+
})
|
|
97
|
+
})
|
|
98
|
+
})
|
|
99
|
+
})
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import { mount } from '@cypress/vue'
|
|
2
|
+
import FieldWrapper from './FieldWrapper.vue'
|
|
3
|
+
|
|
4
|
+
describe('use-field API', () => {
|
|
5
|
+
describe('Props', () => {
|
|
6
|
+
describe('Category: behavior', () => {
|
|
7
|
+
describe('(prop): autofocus', () => {
|
|
8
|
+
it.skip(' ', () => {
|
|
9
|
+
//
|
|
10
|
+
})
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
describe('(prop): for', () => {
|
|
14
|
+
it.skip(' ', () => {
|
|
15
|
+
//
|
|
16
|
+
})
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
describe('(prop): name', () => {
|
|
20
|
+
it.skip(' ', () => {
|
|
21
|
+
//
|
|
22
|
+
})
|
|
23
|
+
})
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
describe('Category: behavior|content', () => {
|
|
27
|
+
describe('(prop): loading', () => {
|
|
28
|
+
it.skip(' ', () => {
|
|
29
|
+
//
|
|
30
|
+
})
|
|
31
|
+
})
|
|
32
|
+
|
|
33
|
+
describe('(prop): clearable', () => {
|
|
34
|
+
it.skip(' ', () => {
|
|
35
|
+
//
|
|
36
|
+
})
|
|
37
|
+
})
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
describe('Category: content', () => {
|
|
41
|
+
describe('(prop): label', () => {
|
|
42
|
+
it('should show the label when supplied', () => {
|
|
43
|
+
const label = 'Select something'
|
|
44
|
+
mount(FieldWrapper, {
|
|
45
|
+
attrs: {
|
|
46
|
+
label
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
cy.get('.select-root')
|
|
50
|
+
.should('contain.text', label)
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
it('should show the label centered when not focused', () => {
|
|
54
|
+
const label = 'Select something'
|
|
55
|
+
mount(FieldWrapper, {
|
|
56
|
+
attrs: {
|
|
57
|
+
label
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
cy.get('.select-root')
|
|
61
|
+
.get(`div:contains(${ label })`)
|
|
62
|
+
.should('exist')
|
|
63
|
+
.should('not.have.class', 'q-field--float')
|
|
64
|
+
})
|
|
65
|
+
|
|
66
|
+
it('should show the label stacked when focused', () => {
|
|
67
|
+
const label = 'Select something'
|
|
68
|
+
mount(FieldWrapper, {
|
|
69
|
+
attrs: {
|
|
70
|
+
label
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
cy.get('.select-root [tabindex="0"]')
|
|
74
|
+
.focus()
|
|
75
|
+
cy.get(`.select-root:contains(${ label })`)
|
|
76
|
+
.should('exist')
|
|
77
|
+
.should('have.class', 'q-field--float')
|
|
78
|
+
})
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
describe('(prop): stack-label', () => {
|
|
82
|
+
it('should show the label stacked', () => {
|
|
83
|
+
const label = 'Select something'
|
|
84
|
+
mount(FieldWrapper, {
|
|
85
|
+
attrs: {
|
|
86
|
+
label,
|
|
87
|
+
stackLabel: true
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
cy.get(`.select-root:contains(${ label })`)
|
|
91
|
+
.should('exist')
|
|
92
|
+
.should('have.class', 'q-field--float')
|
|
93
|
+
})
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
describe('(prop): hint', () => {
|
|
97
|
+
it('should show a hint text', () => {
|
|
98
|
+
const hint = 'Select something'
|
|
99
|
+
mount(FieldWrapper, {
|
|
100
|
+
attrs: {
|
|
101
|
+
hint
|
|
102
|
+
}
|
|
103
|
+
})
|
|
104
|
+
cy.get(`.select-root:contains(${ hint })`)
|
|
105
|
+
.should('exist')
|
|
106
|
+
})
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
describe('(prop): hide-hint', () => {
|
|
110
|
+
it('should not show a hint text when not focused', () => {
|
|
111
|
+
const hint = 'Select something'
|
|
112
|
+
mount(FieldWrapper, {
|
|
113
|
+
attrs: {
|
|
114
|
+
hint,
|
|
115
|
+
hideHint: true
|
|
116
|
+
}
|
|
117
|
+
})
|
|
118
|
+
cy.get(`.select-root:contains(${ hint })`)
|
|
119
|
+
.should('not.exist')
|
|
120
|
+
})
|
|
121
|
+
it('should show a hint text when focused', () => {
|
|
122
|
+
const hint = 'Select something'
|
|
123
|
+
mount(FieldWrapper, {
|
|
124
|
+
attrs: {
|
|
125
|
+
hint,
|
|
126
|
+
hideHint: true
|
|
127
|
+
}
|
|
128
|
+
})
|
|
129
|
+
cy.get('.select-root [tabindex="0"]')
|
|
130
|
+
.focus()
|
|
131
|
+
cy.get(`.select-root:contains(${ hint })`)
|
|
132
|
+
.should('exist')
|
|
133
|
+
})
|
|
134
|
+
})
|
|
135
|
+
|
|
136
|
+
describe('(prop): prefix', () => {
|
|
137
|
+
it.skip(' ', () => {
|
|
138
|
+
//
|
|
139
|
+
})
|
|
140
|
+
})
|
|
141
|
+
|
|
142
|
+
describe('(prop): suffix', () => {
|
|
143
|
+
it.skip(' ', () => {
|
|
144
|
+
//
|
|
145
|
+
})
|
|
146
|
+
})
|
|
147
|
+
|
|
148
|
+
describe('(prop): clear-icon', () => {
|
|
149
|
+
it.skip(' ', () => {
|
|
150
|
+
//
|
|
151
|
+
})
|
|
152
|
+
})
|
|
153
|
+
|
|
154
|
+
describe('(prop): label-slot', () => {
|
|
155
|
+
it.skip(' ', () => {
|
|
156
|
+
//
|
|
157
|
+
})
|
|
158
|
+
})
|
|
159
|
+
|
|
160
|
+
describe('(prop): bottom-slots', () => {
|
|
161
|
+
it.skip(' ', () => {
|
|
162
|
+
//
|
|
163
|
+
})
|
|
164
|
+
})
|
|
165
|
+
|
|
166
|
+
describe('(prop): counter', () => {
|
|
167
|
+
it.skip(' ', () => {
|
|
168
|
+
//
|
|
169
|
+
})
|
|
170
|
+
})
|
|
171
|
+
})
|
|
172
|
+
|
|
173
|
+
describe('Category: state', () => {
|
|
174
|
+
describe('(prop): disable', () => {
|
|
175
|
+
it.skip(' ', () => {
|
|
176
|
+
//
|
|
177
|
+
})
|
|
178
|
+
})
|
|
179
|
+
|
|
180
|
+
describe('(prop): readonly', () => {
|
|
181
|
+
it.skip(' ', () => {
|
|
182
|
+
//
|
|
183
|
+
})
|
|
184
|
+
})
|
|
185
|
+
})
|
|
186
|
+
|
|
187
|
+
describe('Category: style', () => {
|
|
188
|
+
describe('(prop): label-color', () => {
|
|
189
|
+
it.skip(' ', () => {
|
|
190
|
+
//
|
|
191
|
+
})
|
|
192
|
+
})
|
|
193
|
+
|
|
194
|
+
describe('(prop): color', () => {
|
|
195
|
+
it.skip(' ', () => {
|
|
196
|
+
//
|
|
197
|
+
})
|
|
198
|
+
})
|
|
199
|
+
|
|
200
|
+
describe('(prop): bg-color', () => {
|
|
201
|
+
it.skip(' ', () => {
|
|
202
|
+
//
|
|
203
|
+
})
|
|
204
|
+
})
|
|
205
|
+
|
|
206
|
+
describe('(prop): dark', () => {
|
|
207
|
+
it.skip(' ', () => {
|
|
208
|
+
//
|
|
209
|
+
})
|
|
210
|
+
})
|
|
211
|
+
|
|
212
|
+
describe('(prop): filled', () => {
|
|
213
|
+
it.skip(' ', () => {
|
|
214
|
+
//
|
|
215
|
+
})
|
|
216
|
+
})
|
|
217
|
+
|
|
218
|
+
describe('(prop): outlined', () => {
|
|
219
|
+
it.skip(' ', () => {
|
|
220
|
+
//
|
|
221
|
+
})
|
|
222
|
+
})
|
|
223
|
+
|
|
224
|
+
describe('(prop): borderless', () => {
|
|
225
|
+
it.skip(' ', () => {
|
|
226
|
+
//
|
|
227
|
+
})
|
|
228
|
+
})
|
|
229
|
+
|
|
230
|
+
describe('(prop): standout', () => {
|
|
231
|
+
it.skip(' ', () => {
|
|
232
|
+
//
|
|
233
|
+
})
|
|
234
|
+
})
|
|
235
|
+
|
|
236
|
+
describe('(prop): hide-bottom-space', () => {
|
|
237
|
+
it.skip(' ', () => {
|
|
238
|
+
//
|
|
239
|
+
})
|
|
240
|
+
})
|
|
241
|
+
|
|
242
|
+
describe('(prop): rounded', () => {
|
|
243
|
+
it.skip(' ', () => {
|
|
244
|
+
//
|
|
245
|
+
})
|
|
246
|
+
})
|
|
247
|
+
|
|
248
|
+
describe('(prop): square', () => {
|
|
249
|
+
it.skip(' ', () => {
|
|
250
|
+
//
|
|
251
|
+
})
|
|
252
|
+
})
|
|
253
|
+
|
|
254
|
+
describe('(prop): dense', () => {
|
|
255
|
+
it.skip(' ', () => {
|
|
256
|
+
//
|
|
257
|
+
})
|
|
258
|
+
})
|
|
259
|
+
|
|
260
|
+
describe('(prop): item-aligned', () => {
|
|
261
|
+
it.skip(' ', () => {
|
|
262
|
+
//
|
|
263
|
+
})
|
|
264
|
+
})
|
|
265
|
+
})
|
|
266
|
+
})
|
|
267
|
+
|
|
268
|
+
describe('Slots', () => {
|
|
269
|
+
describe('(slot): default', () => {
|
|
270
|
+
it.skip(' ', () => {
|
|
271
|
+
//
|
|
272
|
+
})
|
|
273
|
+
})
|
|
274
|
+
|
|
275
|
+
describe('(slot): prepend', () => {
|
|
276
|
+
it.skip(' ', () => {
|
|
277
|
+
//
|
|
278
|
+
})
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
describe('(slot): append', () => {
|
|
282
|
+
it.skip(' ', () => {
|
|
283
|
+
//
|
|
284
|
+
})
|
|
285
|
+
})
|
|
286
|
+
|
|
287
|
+
describe('(slot): before', () => {
|
|
288
|
+
it.skip(' ', () => {
|
|
289
|
+
//
|
|
290
|
+
})
|
|
291
|
+
})
|
|
292
|
+
|
|
293
|
+
describe('(slot): after', () => {
|
|
294
|
+
it.skip(' ', () => {
|
|
295
|
+
//
|
|
296
|
+
})
|
|
297
|
+
})
|
|
298
|
+
|
|
299
|
+
describe('(slot): label', () => {
|
|
300
|
+
it.skip(' ', () => {
|
|
301
|
+
//
|
|
302
|
+
})
|
|
303
|
+
})
|
|
304
|
+
|
|
305
|
+
describe('(slot): error', () => {
|
|
306
|
+
it.skip(' ', () => {
|
|
307
|
+
//
|
|
308
|
+
})
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
describe('(slot): hint', () => {
|
|
312
|
+
it.skip(' ', () => {
|
|
313
|
+
//
|
|
314
|
+
})
|
|
315
|
+
})
|
|
316
|
+
|
|
317
|
+
describe('(slot): counter', () => {
|
|
318
|
+
it.skip(' ', () => {
|
|
319
|
+
//
|
|
320
|
+
})
|
|
321
|
+
})
|
|
322
|
+
|
|
323
|
+
describe('(slot): loading', () => {
|
|
324
|
+
it.skip(' ', () => {
|
|
325
|
+
//
|
|
326
|
+
})
|
|
327
|
+
})
|
|
328
|
+
})
|
|
329
|
+
|
|
330
|
+
describe('Events', () => {
|
|
331
|
+
describe('(event): clear', () => {
|
|
332
|
+
it.skip(' ', () => {
|
|
333
|
+
//
|
|
334
|
+
})
|
|
335
|
+
})
|
|
336
|
+
})
|
|
337
|
+
|
|
338
|
+
describe('Methods', () => {
|
|
339
|
+
describe('(method): focus', () => {
|
|
340
|
+
it.skip(' ', () => {
|
|
341
|
+
//
|
|
342
|
+
})
|
|
343
|
+
})
|
|
344
|
+
|
|
345
|
+
describe('(method): blur', () => {
|
|
346
|
+
it.skip(' ', () => {
|
|
347
|
+
//
|
|
348
|
+
})
|
|
349
|
+
})
|
|
350
|
+
})
|
|
351
|
+
})
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
describe('use-file API', () => {
|
|
2
|
+
describe('Props', () => {
|
|
3
|
+
describe('Category: behavior', () => {
|
|
4
|
+
describe('(prop): multiple', () => {
|
|
5
|
+
it.skip(' ', () => {
|
|
6
|
+
//
|
|
7
|
+
})
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
describe('(prop): accept', () => {
|
|
11
|
+
it.skip(' ', () => {
|
|
12
|
+
//
|
|
13
|
+
})
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
describe('(prop): capture', () => {
|
|
17
|
+
it.skip(' ', () => {
|
|
18
|
+
//
|
|
19
|
+
})
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
describe('(prop): max-file-size', () => {
|
|
23
|
+
it.skip(' ', () => {
|
|
24
|
+
//
|
|
25
|
+
})
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
describe('(prop): max-total-size', () => {
|
|
29
|
+
it.skip(' ', () => {
|
|
30
|
+
//
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
describe('(prop): max-files', () => {
|
|
35
|
+
it.skip(' ', () => {
|
|
36
|
+
//
|
|
37
|
+
})
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
describe('(prop): filter', () => {
|
|
41
|
+
it.skip(' ', () => {
|
|
42
|
+
//
|
|
43
|
+
})
|
|
44
|
+
})
|
|
45
|
+
})
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
describe('Events', () => {
|
|
49
|
+
describe('(event): rejected', () => {
|
|
50
|
+
it.skip(' ', () => {
|
|
51
|
+
//
|
|
52
|
+
})
|
|
53
|
+
})
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
describe('Methods', () => {
|
|
57
|
+
describe('(method): pickFiles', () => {
|
|
58
|
+
it.skip(' ', () => {
|
|
59
|
+
//
|
|
60
|
+
})
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
describe('(method): addFiles', () => {
|
|
64
|
+
it.skip(' ', () => {
|
|
65
|
+
//
|
|
66
|
+
})
|
|
67
|
+
})
|
|
68
|
+
})
|
|
69
|
+
})
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
describe('use-fullscreen API', () => {
|
|
2
|
+
describe('Props', () => {
|
|
3
|
+
describe('Category: behavior', () => {
|
|
4
|
+
describe('(prop): fullscreen', () => {
|
|
5
|
+
it.skip(' ', () => {
|
|
6
|
+
//
|
|
7
|
+
})
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
describe('(prop): no-route-fullscreen-exit', () => {
|
|
11
|
+
it.skip(' ', () => {
|
|
12
|
+
//
|
|
13
|
+
})
|
|
14
|
+
})
|
|
15
|
+
})
|
|
16
|
+
})
|
|
17
|
+
|
|
18
|
+
describe('Methods', () => {
|
|
19
|
+
describe('(method): toggleFullscreen', () => {
|
|
20
|
+
it.skip(' ', () => {
|
|
21
|
+
//
|
|
22
|
+
})
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
describe('(method): setFullscreen', () => {
|
|
26
|
+
it.skip(' ', () => {
|
|
27
|
+
//
|
|
28
|
+
})
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
describe('(method): exitFullscreen', () => {
|
|
32
|
+
it.skip(' ', () => {
|
|
33
|
+
//
|
|
34
|
+
})
|
|
35
|
+
})
|
|
36
|
+
})
|
|
37
|
+
})
|