voyager-ionic-core 8.1.0 → 8.2.5
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/README.md +1 -1
- package/components/checkbox.js +2 -2
- package/components/ion-refresher.js +28 -1
- package/components/ion-searchbar.js +5 -5
- package/components/ion-segment.js +10 -9
- package/components/ion-select.js +20 -7
- package/components/ion-toggle.js +2 -2
- package/components/ionic-global.js +8 -1
- package/components/item.js +3 -3
- package/components/picker-column.js +25 -6
- package/components/radio.js +16 -5
- package/dist/cjs/{app-globals-66b7dc06.js → app-globals-7dbf2ade.js} +1 -1
- package/dist/cjs/{button-active-9135c809.js → button-active-cf1c215d.js} +1 -1
- package/dist/cjs/{hardware-back-button-ed931127.js → hardware-back-button-ddbc12ea.js} +2 -2
- package/dist/cjs/{index-c0b7f8f4.js → index-24fe3fe6.js} +4 -4
- package/dist/cjs/{index-8709af32.js → index-480c143c.js} +265 -191
- package/dist/cjs/{index-c54654c6.js → index-a3f97de0.js} +2 -2
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +5 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +6 -6
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-loading.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +27 -8
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +18 -7
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +30 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +7 -7
- package/dist/cjs/ion-segment_2.cjs.entry.js +12 -11
- package/dist/cjs/ion-select_3.cjs.entry.js +24 -11
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +4 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
- package/dist/cjs/{ionic-global-35b86a09.js → ionic-global-c1db87a5.js} +9 -2
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-5ddf92f1.js → ios.transition-8419294d.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-047c18c5.js → md.transition-39852d6b.js} +3 -3
- package/dist/cjs/{overlays-cb04d075.js → overlays-55d77381.js} +2 -2
- package/dist/cjs/{status-tap-5b2775cd.js → status-tap-b68fa888.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +1 -0
- package/dist/collection/components/checkbox/checkbox.md.css +1 -0
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/picker-column/picker-column.js +25 -6
- package/dist/collection/components/radio/radio.ios.css +1 -0
- package/dist/collection/components/radio/radio.js +14 -3
- package/dist/collection/components/radio/radio.md.css +1 -0
- package/dist/collection/components/refresher/refresher.js +28 -1
- package/dist/collection/components/searchbar/searchbar.js +5 -5
- package/dist/collection/components/segment/segment.js +10 -9
- package/dist/collection/components/select/select.ios.css +1 -0
- package/dist/collection/components/select/select.js +18 -5
- package/dist/collection/components/select/select.md.css +1 -0
- package/dist/collection/components/toggle/toggle.ios.css +1 -0
- package/dist/collection/components/toggle/toggle.md.css +1 -0
- package/dist/collection/global/config.js +8 -1
- package/dist/docs.d.ts +34 -0
- package/dist/docs.json +3508 -484
- package/dist/esm/{app-globals-b99e6d29.js → app-globals-7f30ce3c.js} +1 -1
- package/dist/esm/{button-active-920addb8.js → button-active-78f50add.js} +1 -1
- package/dist/esm/{hardware-back-button-2d9760b6.js → hardware-back-button-2e99752e.js} +2 -2
- package/dist/esm/{index-7ae7186a.js → index-4094f808.js} +2 -2
- package/dist/esm/{index-9aab3bcf.js → index-7a952e7a.js} +265 -191
- package/dist/esm/{index-8e6b6a24.js → index-8808daa5.js} +4 -4
- package/dist/esm/index.js +8 -8
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +5 -5
- package/dist/esm/ion-app_8.entry.js +6 -6
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +4 -4
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +4 -4
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +27 -8
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +18 -7
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +30 -3
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +7 -7
- package/dist/esm/ion-segment_2.entry.js +12 -11
- package/dist/esm/ion-select_3.entry.js +24 -11
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/{ionic-global-4528d288.js → ionic-global-81a1064f.js} +9 -2
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-e35d0940.js → ios.transition-0a5004b4.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-4b90a1f0.js → md.transition-b6135ada.js} +3 -3
- package/dist/esm/{overlays-df2c06b2.js → overlays-e1bad9cd.js} +2 -2
- package/dist/esm/{status-tap-12c27922.js → status-tap-17122cea.js} +1 -1
- package/dist/esm-es5/app-globals-7f30ce3c.js +4 -0
- package/dist/esm-es5/{button-active-920addb8.js → button-active-78f50add.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-2d9760b6.js → hardware-back-button-2e99752e.js} +1 -1
- package/dist/esm-es5/{index-7ae7186a.js → index-4094f808.js} +1 -1
- package/dist/esm-es5/index-7a952e7a.js +5 -0
- package/dist/esm-es5/{index-8e6b6a24.js → index-8808daa5.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-81a1064f.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-e35d0940.js → ios.transition-0a5004b4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-b6135ada.js +4 -0
- package/dist/esm-es5/{overlays-df2c06b2.js → overlays-e1bad9cd.js} +1 -1
- package/dist/esm-es5/{status-tap-12c27922.js → status-tap-17122cea.js} +1 -1
- package/dist/html.html-data.json +91 -91
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-b9181033.system.entry.js → p-013621f0.system.entry.js} +1 -1
- package/dist/ionic/{p-e6e88ab9.entry.js → p-057c2f6f.entry.js} +1 -1
- package/dist/ionic/p-071cb08a.entry.js +4 -0
- package/dist/ionic/{p-5dc9f99a.entry.js → p-090c318d.entry.js} +1 -1
- package/dist/ionic/{p-a50f23bf.system.entry.js → p-09f64b99.system.entry.js} +1 -1
- package/dist/ionic/{p-fcecca8f.entry.js → p-0abd2546.entry.js} +1 -1
- package/dist/ionic/{p-b28d3ccb.system.entry.js → p-0db55ab4.system.entry.js} +1 -1
- package/dist/ionic/{p-dc0d9ff5.system.entry.js → p-11c4215a.system.entry.js} +1 -1
- package/dist/ionic/{p-0395be73.entry.js → p-130ce79e.entry.js} +1 -1
- package/dist/ionic/p-14f0f49f.system.js +4 -0
- package/dist/ionic/{p-77731f19.system.entry.js → p-15c36478.system.entry.js} +1 -1
- package/dist/ionic/{p-66ed603b.js → p-1974d32f.js} +1 -1
- package/dist/ionic/{p-4824398b.entry.js → p-1b2c22ed.entry.js} +1 -1
- package/dist/ionic/{p-98f6116f.entry.js → p-1c6cd5bc.entry.js} +1 -1
- package/dist/ionic/{p-5091f63c.entry.js → p-2496a357.entry.js} +1 -1
- package/dist/ionic/{p-1eb63fa4.entry.js → p-25467ef7.entry.js} +1 -1
- package/dist/ionic/{p-606f069c.entry.js → p-271076f2.entry.js} +1 -1
- package/dist/ionic/{p-1cc0b31f.js → p-274496f1.js} +1 -1
- package/dist/ionic/{p-2c588aa2.entry.js → p-283c6631.entry.js} +1 -1
- package/dist/ionic/p-2a08e244.system.js +4 -0
- package/dist/ionic/{p-7d6fd45f.system.entry.js → p-33ce19cf.system.entry.js} +1 -1
- package/dist/ionic/{p-80265a58.entry.js → p-344d6225.entry.js} +1 -1
- package/dist/ionic/{p-1b435d20.entry.js → p-3961b22e.entry.js} +1 -1
- package/dist/ionic/{p-83d748f8.system.entry.js → p-39af4fa4.system.entry.js} +1 -1
- package/dist/ionic/{p-e6e197f5.system.entry.js → p-3b11ab95.system.entry.js} +1 -1
- package/dist/ionic/{p-8a03fbee.entry.js → p-3b767add.entry.js} +1 -1
- package/dist/ionic/{p-e81f22e3.system.js → p-3fcfe35c.system.js} +1 -1
- package/dist/ionic/p-41e85f07.js +4 -0
- package/dist/ionic/{p-8d14ee8c.system.entry.js → p-437d3e12.system.entry.js} +2 -2
- package/dist/ionic/{p-a4ab7449.entry.js → p-46cf378f.entry.js} +1 -1
- package/dist/ionic/{p-9664a1a2.system.entry.js → p-49c011e3.system.entry.js} +1 -1
- package/dist/ionic/{p-700567ab.system.entry.js → p-4a0db73d.system.entry.js} +1 -1
- package/dist/ionic/{p-62e44e4a.system.entry.js → p-4a3d2f75.system.entry.js} +1 -1
- package/dist/ionic/p-4af59128.entry.js +4 -0
- package/dist/ionic/{p-99884813.entry.js → p-4c06d890.entry.js} +1 -1
- package/dist/ionic/{p-b563b6ac.entry.js → p-4c68bf47.entry.js} +1 -1
- package/dist/ionic/{p-df517d1f.entry.js → p-4d96e6a7.entry.js} +1 -1
- package/dist/ionic/{p-0b007acc.system.entry.js → p-4de0819c.system.entry.js} +1 -1
- package/dist/ionic/{p-628967e3.system.entry.js → p-4f54d1aa.system.entry.js} +1 -1
- package/dist/ionic/{p-498eb648.system.entry.js → p-527815e1.system.entry.js} +1 -1
- package/dist/ionic/{p-10feef7e.system.entry.js → p-5303af24.system.entry.js} +1 -1
- package/dist/ionic/{p-9848d7be.system.entry.js → p-54690f26.system.entry.js} +1 -1
- package/dist/ionic/{p-130299c9.entry.js → p-57c9689a.entry.js} +1 -1
- package/dist/ionic/p-5a28559b.js +5 -0
- package/dist/ionic/{p-cec8589b.system.js → p-5c00ca73.system.js} +1 -1
- package/dist/ionic/{p-29de09dd.entry.js → p-5c5e7f5c.entry.js} +1 -1
- package/dist/ionic/{p-509620b8.system.entry.js → p-5d0b285d.system.entry.js} +1 -1
- package/dist/ionic/{p-5cc6dcf5.js → p-5e687df9.js} +1 -1
- package/dist/ionic/p-60a6fadb.entry.js +4 -0
- package/dist/ionic/{p-4d8f408d.system.entry.js → p-611bb4d1.system.entry.js} +1 -1
- package/dist/ionic/{p-57bc32e2.system.entry.js → p-6782ffa5.system.entry.js} +1 -1
- package/dist/ionic/{p-712d54ae.js → p-678beb9e.js} +1 -1
- package/dist/ionic/{p-09b4e9ec.entry.js → p-679744bf.entry.js} +1 -1
- package/dist/ionic/{p-dc1e363a.entry.js → p-67bc0359.entry.js} +1 -1
- package/dist/ionic/p-6904a62e.system.entry.js +4 -0
- package/dist/ionic/{p-b07affd5.system.entry.js → p-6b14212a.system.entry.js} +1 -1
- package/dist/ionic/{p-9c6dcf78.system.entry.js → p-6db3f661.system.entry.js} +1 -1
- package/dist/ionic/p-6e3e94e2.js +4 -0
- package/dist/ionic/{p-6a2cf398.system.entry.js → p-6ef231bc.system.entry.js} +1 -1
- package/dist/ionic/p-6f7eb5d1.system.js +5 -0
- package/dist/ionic/{p-380efbfa.system.entry.js → p-6fb5e9a7.system.entry.js} +1 -1
- package/dist/ionic/{p-26bb6bb8.entry.js → p-7048fe74.entry.js} +1 -1
- package/dist/ionic/{p-52f53904.entry.js → p-70e786ea.entry.js} +1 -1
- package/dist/ionic/{p-30baae57.system.js → p-767a0d69.system.js} +1 -1
- package/dist/ionic/{p-78405458.entry.js → p-7a6e6896.entry.js} +1 -1
- package/dist/ionic/{p-bbbe869e.entry.js → p-7dbadc9f.entry.js} +1 -1
- package/dist/ionic/{p-09538818.entry.js → p-7e192c6a.entry.js} +1 -1
- package/dist/ionic/p-804c9125.system.entry.js +4 -0
- package/dist/ionic/{p-ecbdbf25.system.entry.js → p-88c0ff08.system.entry.js} +1 -1
- package/dist/ionic/{p-5734ac17.system.js → p-8df34150.system.js} +1 -1
- package/dist/ionic/{p-9ec42be0.js → p-972902db.js} +1 -1
- package/dist/ionic/p-9847b92f.system.entry.js +4 -0
- package/dist/ionic/{p-9797f6eb.entry.js → p-98566693.entry.js} +1 -1
- package/dist/ionic/{p-52ce473d.entry.js → p-9aae0bf3.entry.js} +1 -1
- package/dist/ionic/{p-a953ef66.js → p-9d88dc43.js} +1 -1
- package/dist/ionic/{p-f9baf25c.entry.js → p-9df171a1.entry.js} +1 -1
- package/dist/ionic/{p-aaaaaea1.entry.js → p-a60914c0.entry.js} +1 -1
- package/dist/ionic/p-a69e118f.entry.js +4 -0
- package/dist/ionic/{p-199f826f.system.entry.js → p-a8ed8cd3.system.entry.js} +1 -1
- package/dist/ionic/{p-ed5aebaa.system.entry.js → p-aa34fd2f.system.entry.js} +1 -1
- package/dist/ionic/{p-eb3023c9.system.js → p-b0bd4813.system.js} +1 -1
- package/dist/ionic/p-b2cd7aae.js +4 -0
- package/dist/ionic/{p-842c9fca.system.js → p-b59d0fab.system.js} +1 -1
- package/dist/ionic/{p-55f99a39.system.entry.js → p-b7b4c08d.system.entry.js} +1 -1
- package/dist/ionic/{p-0a6d801e.system.entry.js → p-b7d1659f.system.entry.js} +1 -1
- package/dist/ionic/{p-207e11dc.entry.js → p-bbeeadc8.entry.js} +1 -1
- package/dist/ionic/{p-9bfd7cda.system.entry.js → p-c21ea624.system.entry.js} +1 -1
- package/dist/ionic/{p-7349de07.entry.js → p-c2438564.entry.js} +1 -1
- package/dist/ionic/{p-e0a8ffd0.system.entry.js → p-c29d39e0.system.entry.js} +1 -1
- package/dist/ionic/{p-6c3666d5.entry.js → p-c8a847f1.entry.js} +1 -1
- package/dist/ionic/{p-ba70039f.entry.js → p-cb19fdbf.entry.js} +1 -1
- package/dist/ionic/{p-279f3bac.system.entry.js → p-cec53b82.system.entry.js} +2 -2
- package/dist/ionic/{p-a39d3482.system.js → p-cfcc1b63.system.js} +1 -1
- package/dist/ionic/p-d274a7d8.entry.js +4 -0
- package/dist/ionic/{p-08ea3402.system.entry.js → p-d450f1f9.system.entry.js} +1 -1
- package/dist/ionic/{p-b62ae60a.system.entry.js → p-d755fc91.system.entry.js} +1 -1
- package/dist/ionic/{p-3f53a0b1.entry.js → p-d950be65.entry.js} +1 -1
- package/dist/ionic/{p-9da86308.js → p-dc4a3358.js} +1 -1
- package/dist/ionic/{p-d69b26d9.system.entry.js → p-ddd3b389.system.entry.js} +1 -1
- package/dist/ionic/{p-b02eda30.entry.js → p-deb257b7.entry.js} +1 -1
- package/dist/ionic/p-df4c53fe.entry.js +4 -0
- package/dist/ionic/{p-a488b7ab.system.js → p-e72fcc94.system.js} +1 -1
- package/dist/ionic/{p-5ec3bb70.system.entry.js → p-e8162d35.system.entry.js} +2 -2
- package/dist/ionic/p-ec1562e7.system.js +4 -0
- package/dist/ionic/{p-99ca9787.system.entry.js → p-ed8726ad.system.entry.js} +1 -1
- package/dist/ionic/p-eda5abe2.entry.js +4 -0
- package/dist/ionic/{p-33e10509.system.js → p-ef57ad27.system.js} +1 -1
- package/dist/ionic/{p-8cb80f83.system.entry.js → p-ef83f46b.system.entry.js} +1 -1
- package/dist/ionic/{p-9213681c.system.entry.js → p-f0899af9.system.entry.js} +1 -1
- package/dist/ionic/p-f66fed32.system.entry.js +4 -0
- package/dist/ionic/{p-6ec88301.entry.js → p-f7ed7806.entry.js} +1 -1
- package/dist/ionic/{p-d73a16e6.system.entry.js → p-f8083fd4.system.entry.js} +1 -1
- package/dist/ionic/{p-0536574e.entry.js → p-f81cef9b.entry.js} +1 -1
- package/dist/ionic/{p-f357707e.entry.js → p-f8856320.entry.js} +1 -1
- package/dist/ionic/{p-f53bcebd.entry.js → p-fafa4d9b.entry.js} +1 -1
- package/dist/ionic/{p-fb21fd1c.system.entry.js → p-fc55e1c2.system.entry.js} +1 -1
- package/dist/ionic/{p-7402fcdf.entry.js → p-fca84e5b.entry.js} +1 -1
- package/dist/ionic/{p-c41435e6.system.entry.js → p-fd61bdcd.system.entry.js} +1 -1
- package/dist/ionic/p-fe74ecc0.system.entry.js +4 -0
- package/dist/ionic/{p-90dfc454.system.entry.js → p-fed12de8.system.entry.js} +1 -1
- package/dist/types/components/radio/radio.d.ts +1 -0
- package/dist/types/components/refresher/refresher.d.ts +1 -0
- package/dist/types/components/segment/segment.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/hydrate/index.d.ts +29 -11
- package/hydrate/index.js +611 -505
- package/hydrate/index.mjs +48652 -0
- package/hydrate/package.json +7 -1
- package/loader/cdn.js +1 -1
- package/loader/index.cjs.js +1 -1
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -1
- package/loader/index.js +1 -1
- package/package.json +8 -6
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -39
- package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -52
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +0 -26
- package/dist/collection/components/accordion/test/nested/accordion.e2e.js +0 -24
- package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +0 -15
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -99
- package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +0 -60
- package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +0 -142
- package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -40
- package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +0 -33
- package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +0 -18
- package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +0 -29
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +0 -245
- package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
- package/dist/collection/components/alert/test/alert.spec.js +0 -37
- package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +0 -40
- package/dist/collection/components/alert/test/basic/alert.e2e.js +0 -135
- package/dist/collection/components/alert/test/is-open/alert.e2e.js +0 -33
- package/dist/collection/components/alert/test/standalone/alert.e2e.js +0 -17
- package/dist/collection/components/alert/test/trigger/alert.e2e.js +0 -29
- package/dist/collection/components/app/test/safe-area/app.e2e.js +0 -35
- package/dist/collection/components/avatar/test/basic/avatar.e2e.js +0 -24
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -47
- package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
- package/dist/collection/components/back-button/test/basic/back-button.e2e.js +0 -14
- package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +0 -14
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -40
- package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -14
- package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -36
- package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
- package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +0 -51
- package/dist/collection/components/button/test/a11y/button.e2e.js +0 -109
- package/dist/collection/components/button/test/basic/button.e2e.js +0 -51
- package/dist/collection/components/button/test/clear/button.e2e.js +0 -14
- package/dist/collection/components/button/test/expand/button.e2e.js +0 -17
- package/dist/collection/components/button/test/form-reference/button.e2e.js +0 -135
- package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
- package/dist/collection/components/button/test/icon/button.e2e.js +0 -14
- package/dist/collection/components/button/test/outline/button.e2e.js +0 -14
- package/dist/collection/components/button/test/round/button.e2e.js +0 -52
- package/dist/collection/components/button/test/size/button.e2e.js +0 -43
- package/dist/collection/components/button/test/strong/button.e2e.js +0 -48
- package/dist/collection/components/button/test/wrap/button.e2e.js +0 -126
- package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
- package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
- package/dist/collection/components/card/test/aria.spec.js +0 -16
- package/dist/collection/components/card/test/basic/card.e2e.js +0 -151
- package/dist/collection/components/card-header/test/basic/card-header.e2e.js +0 -14
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +0 -42
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +0 -87
- package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -46
- package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +0 -23
- package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +0 -14
- package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +0 -74
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +0 -122
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +0 -37
- package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
- package/dist/collection/components/chip/test/basic/chip.e2e.js +0 -81
- package/dist/collection/components/chip/test/states/chip.e2e.js +0 -35
- package/dist/collection/components/content/test/basic/content.e2e.js +0 -17
- package/dist/collection/components/content/test/content.spec.js +0 -27
- package/dist/collection/components/content/test/fixed/content.e2e.js +0 -17
- package/dist/collection/components/content/test/fullscreen/content.e2e.js +0 -17
- package/dist/collection/components/content/test/standalone/content.e2e.js +0 -16
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -94
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -40
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -493
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +0 -27
- package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -52
- package/dist/collection/components/datetime/test/data.spec.js +0 -456
- package/dist/collection/components/datetime/test/datetime.e2e.js +0 -39
- package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +0 -150
- package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +0 -33
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +0 -121
- package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +0 -14
- package/dist/collection/components/datetime/test/format.spec.js +0 -174
- package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +0 -86
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +0 -37
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +0 -129
- package/dist/collection/components/datetime/test/manipulation.spec.js +0 -565
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +0 -266
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +0 -29
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +0 -242
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
- package/dist/collection/components/datetime/test/parse.spec.js +0 -222
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +0 -22
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +0 -502
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +0 -27
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +0 -169
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +0 -50
- package/dist/collection/components/datetime/test/state.spec.js +0 -114
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +0 -25
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +0 -143
- package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +0 -254
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +0 -27
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +0 -96
- package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +0 -143
- package/dist/collection/components/fab/test/basic/fab.e2e.js +0 -65
- package/dist/collection/components/fab/test/custom-size/fab.e2e.js +0 -17
- package/dist/collection/components/fab/test/safe-area/fab.e2e.js +0 -63
- package/dist/collection/components/fab/test/states/fab.e2e.js +0 -14
- package/dist/collection/components/fab/test/translucent/fab.e2e.js +0 -28
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +0 -66
- package/dist/collection/components/footer/test/basic/footer.e2e.js +0 -61
- package/dist/collection/components/footer/test/fade/footer.e2e.js +0 -21
- package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +0 -26
- package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +0 -17
- package/dist/collection/components/grid/test/basic/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/offsets/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/padding/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/sizes/grid.e2e.js +0 -17
- package/dist/collection/components/header/test/a11y/header.e2e.js +0 -29
- package/dist/collection/components/header/test/basic/header.e2e.js +0 -147
- package/dist/collection/components/header/test/condense/header.e2e.js +0 -33
- package/dist/collection/components/header/test/fade/header.e2e.js +0 -21
- package/dist/collection/components/header/test/scroll-target/header.e2e.js +0 -26
- package/dist/collection/components/icon/test/basic/icon.e2e.js +0 -16
- package/dist/collection/components/icon/test/dir/icon.e2e.js +0 -23
- package/dist/collection/components/img/test/basic/img.e2e.js +0 -73
- package/dist/collection/components/img/test/draggable/img.e2e.js +0 -21
- package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
- package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
- package/dist/collection/components/input/test/a11y/input.e2e.js +0 -67
- package/dist/collection/components/input/test/basic/input.e2e.js +0 -102
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +0 -145
- package/dist/collection/components/input/test/card/input.e2e.js +0 -22
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +0 -53
- package/dist/collection/components/input/test/color/input.e2e.js +0 -130
- package/dist/collection/components/input/test/fill/input.e2e.js +0 -203
- package/dist/collection/components/input/test/highlight/input.e2e.js +0 -300
- package/dist/collection/components/input/test/input.e2e.js +0 -17
- package/dist/collection/components/input/test/input.spec.js +0 -98
- package/dist/collection/components/input/test/item/input.e2e.js +0 -64
- package/dist/collection/components/input/test/label-placement/input.e2e.js +0 -165
- package/dist/collection/components/input/test/slot/input.e2e.js +0 -63
- package/dist/collection/components/input/test/states/input.e2e.js +0 -23
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +0 -21
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +0 -38
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +0 -76
- package/dist/collection/components/item/test/a11y/item.e2e.js +0 -123
- package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
- package/dist/collection/components/item/test/alignment/item.e2e.js +0 -14
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -35
- package/dist/collection/components/item/test/buttons/item.e2e.js +0 -45
- package/dist/collection/components/item/test/colors/item.e2e.js +0 -17
- package/dist/collection/components/item/test/css-variables/item.e2e.js +0 -17
- package/dist/collection/components/item/test/disabled/item.e2e.js +0 -17
- package/dist/collection/components/item/test/dividers/item.e2e.js +0 -14
- package/dist/collection/components/item/test/groups/item.e2e.js +0 -16
- package/dist/collection/components/item/test/icons/item.e2e.js +0 -14
- package/dist/collection/components/item/test/images/item.e2e.js +0 -14
- package/dist/collection/components/item/test/inputs/item.e2e.js +0 -153
- package/dist/collection/components/item/test/item.spec.js +0 -20
- package/dist/collection/components/item/test/lines/item.e2e.js +0 -14
- package/dist/collection/components/item/test/media/item.e2e.js +0 -14
- package/dist/collection/components/item/test/reorder/item.e2e.js +0 -16
- package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +0 -14
- package/dist/collection/components/item/test/states/item.e2e.js +0 -17
- package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
- package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +0 -60
- package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +0 -16
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -62
- package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +0 -33
- package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +0 -162
- package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +0 -35
- package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +0 -29
- package/dist/collection/components/label/test/a11y/label.e2e.js +0 -111
- package/dist/collection/components/label/test/basic/label.e2e.js +0 -45
- package/dist/collection/components/label/test/color/label.e2e.js +0 -39
- package/dist/collection/components/label/test/headings/label.e2e.js +0 -13
- package/dist/collection/components/label/test/item/item.e2e.js +0 -24
- package/dist/collection/components/list/test/a11y/list.e2e.js +0 -15
- package/dist/collection/components/list/test/basic/list.e2e.js +0 -24
- package/dist/collection/components/list/test/inset/list.e2e.js +0 -69
- package/dist/collection/components/list/test/lines/list.e2e.js +0 -167
- package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
- package/dist/collection/components/list-header/test/basic/list-header.e2e.js +0 -42
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -61
- package/dist/collection/components/loading/test/basic/loading.e2e.js +0 -80
- package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
- package/dist/collection/components/loading/test/is-open/loading.e2e.js +0 -28
- package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
- package/dist/collection/components/loading/test/loading.spec.js +0 -37
- package/dist/collection/components/loading/test/standalone/loading.e2e.js +0 -21
- package/dist/collection/components/loading/test/trigger/loading.e2e.js +0 -32
- package/dist/collection/components/menu/test/a11y/menu.e2e.js +0 -22
- package/dist/collection/components/menu/test/basic/menu.e2e.js +0 -124
- package/dist/collection/components/menu/test/custom/menu.e2e.js +0 -61
- package/dist/collection/components/menu/test/disable/menu.e2e.js +0 -55
- package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +0 -72
- package/dist/collection/components/menu/test/multiple/menu.e2e.js +0 -60
- package/dist/collection/components/menu/test/safe-area/menu.e2e.js +0 -87
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +0 -48
- package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +0 -23
- package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +0 -14
- package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +0 -43
- package/dist/collection/components/modal/test/a11y/modal.e2e.js +0 -21
- package/dist/collection/components/modal/test/animations/modal.e2e.js +0 -36
- package/dist/collection/components/modal/test/basic/modal.e2e.js +0 -125
- package/dist/collection/components/modal/test/basic/modal.spec.js +0 -35
- package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +0 -55
- package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +0 -73
- package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +0 -27
- package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
- package/dist/collection/components/modal/test/card/modal-card.e2e.js +0 -83
- package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +0 -82
- package/dist/collection/components/modal/test/card-nav/modal.e2e.js +0 -38
- package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +0 -22
- package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +0 -42
- package/dist/collection/components/modal/test/custom/modal.e2e.js +0 -24
- package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +0 -20
- package/dist/collection/components/modal/test/dark-mode/model.e2e.js +0 -20
- package/dist/collection/components/modal/test/inline/modal.e2e.js +0 -48
- package/dist/collection/components/modal/test/is-open/modal.e2e.js +0 -25
- package/dist/collection/components/modal/test/modal-attributes.spec.js +0 -32
- package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +0 -212
- package/dist/collection/components/modal/test/standalone/modal.e2e.js +0 -19
- package/dist/collection/components/modal/test/trigger/modal.e2e.js +0 -31
- package/dist/collection/components/modal/utils.spec.js +0 -13
- package/dist/collection/components/nav/test/basic/nav.e2e.js +0 -69
- package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +0 -65
- package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
- package/dist/collection/components/nav/test/nested/nav.e2e.js +0 -66
- package/dist/collection/components/nav/test/routing/nav.e2e.js +0 -87
- package/dist/collection/components/note/test/a11y/note.e2e.js +0 -95
- package/dist/collection/components/note/test/basic/note.e2e.js +0 -78
- package/dist/collection/components/picker/test/a11y/picker.e2e.js +0 -15
- package/dist/collection/components/picker/test/basic/picker.e2e.js +0 -111
- package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
- package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +0 -183
- package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +0 -64
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
- package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
- package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
- package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +0 -28
- package/dist/collection/components/picker-legacy/test/picker-id.spec.js +0 -32
- package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +0 -32
- package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +0 -35
- package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +0 -29
- package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +0 -17
- package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +0 -35
- package/dist/collection/components/popover/test/adjustment/popover.e2e.js +0 -33
- package/dist/collection/components/popover/test/arrow/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/async/popover.e2e.js +0 -42
- package/dist/collection/components/popover/test/basic/popover.e2e.js +0 -211
- package/dist/collection/components/popover/test/basic/popover.spec.js +0 -35
- package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +0 -38
- package/dist/collection/components/popover/test/inline/popover.e2e.js +0 -32
- package/dist/collection/components/popover/test/is-open/popover.e2e.js +0 -13
- package/dist/collection/components/popover/test/nested/popover.e2e.js +0 -92
- package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
- package/dist/collection/components/popover/test/position/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/reference/popover.e2e.js +0 -22
- package/dist/collection/components/popover/test/size/popover.e2e.js +0 -41
- package/dist/collection/components/popover/test/standalone/popover.e2e.js +0 -15
- package/dist/collection/components/popover/test/trigger/popover.e2e.js +0 -46
- package/dist/collection/components/popover/test/util.spec.js +0 -53
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +0 -24
- package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +0 -14
- package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +0 -20
- package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +0 -20
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +0 -152
- package/dist/collection/components/radio/test/color/radio.e2e.js +0 -27
- package/dist/collection/components/radio/test/item/radio.e2e.js +0 -92
- package/dist/collection/components/radio/test/label-placement/radio.e2e.js +0 -135
- package/dist/collection/components/radio/test/radio.spec.js +0 -60
- package/dist/collection/components/radio/test/states/radio.e2e.js +0 -45
- package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +0 -85
- package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +0 -56
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +0 -80
- package/dist/collection/components/radio-group/test/radio-group.spec.js +0 -69
- package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +0 -35
- package/dist/collection/components/range/test/a11y/range.e2e.js +0 -89
- package/dist/collection/components/range/test/active-bar-start/range.e2e.js +0 -14
- package/dist/collection/components/range/test/basic/range.e2e.js +0 -31
- package/dist/collection/components/range/test/color/range.e2e.js +0 -20
- package/dist/collection/components/range/test/custom/range.e2e.js +0 -14
- package/dist/collection/components/range/test/item/range.e2e.js +0 -70
- package/dist/collection/components/range/test/label/range.e2e.js +0 -179
- package/dist/collection/components/range/test/label/range.spec.js +0 -47
- package/dist/collection/components/range/test/range-events.e2e.js +0 -179
- package/dist/collection/components/range/test/range.spec.js +0 -209
- package/dist/collection/components/range/test/scroll-target/range.e2e.js +0 -35
- package/dist/collection/components/range/test/states/range.e2e.js +0 -53
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +0 -26
- package/dist/collection/components/refresher/test/basic/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
- package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
- package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +0 -36
- package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +0 -32
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +0 -66
- package/dist/collection/components/router/test/basic/router.e2e.js +0 -68
- package/dist/collection/components/router/test/guards/href/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/link/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/push/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/router.e2e.js +0 -13
- package/dist/collection/components/router/test/matching.spec.js +0 -250
- package/dist/collection/components/router/test/parser.spec.js +0 -133
- package/dist/collection/components/router/test/path.spec.js +0 -218
- package/dist/collection/components/router/test/router.spec.js +0 -55
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +0 -23
- package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +0 -39
- package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -161
- package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +0 -67
- package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -33
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +0 -69
- package/dist/collection/components/segment/test/basic/segment.e2e.js +0 -84
- package/dist/collection/components/segment/test/custom/segment.e2e.js +0 -14
- package/dist/collection/components/segment/test/icon/segment.e2e.js +0 -29
- package/dist/collection/components/segment/test/modes/segment.e2e.js +0 -38
- package/dist/collection/components/segment/test/scrollable/segment.e2e.js +0 -83
- package/dist/collection/components/segment/test/segment-events.e2e.js +0 -209
- package/dist/collection/components/segment/test/segment.spec.js +0 -37
- package/dist/collection/components/segment/test/toolbar/segment.e2e.js +0 -122
- package/dist/collection/components/segment/test/wrap/segment.e2e.js +0 -85
- package/dist/collection/components/select/test/a11y/select.e2e.js +0 -101
- package/dist/collection/components/select/test/async/select.e2e.js +0 -25
- package/dist/collection/components/select/test/basic/select.e2e.js +0 -195
- package/dist/collection/components/select/test/card/select.e2e.js +0 -22
- package/dist/collection/components/select/test/color/select.e2e.js +0 -42
- package/dist/collection/components/select/test/compare-with/select.e2e.js +0 -67
- package/dist/collection/components/select/test/custom/select.e2e.js +0 -68
- package/dist/collection/components/select/test/disabled/select.e2e.js +0 -30
- package/dist/collection/components/select/test/fill/select.e2e.js +0 -217
- package/dist/collection/components/select/test/highlight/select.e2e.js +0 -209
- package/dist/collection/components/select/test/item/select.e2e.js +0 -56
- package/dist/collection/components/select/test/label/select.e2e.js +0 -245
- package/dist/collection/components/select/test/popover-size/select.e2e.js +0 -80
- package/dist/collection/components/select/test/select.spec.js +0 -96
- package/dist/collection/components/select/test/slot/select.e2e.js +0 -79
- package/dist/collection/components/select/test/states/select.e2e.js +0 -41
- package/dist/collection/components/select/test/toggle-icon/select.e2e.js +0 -30
- package/dist/collection/components/select/test/wrapping/select.e2e.js +0 -36
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +0 -32
- package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +0 -77
- package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/spinner/test/basic/spinner.e2e.js +0 -18
- package/dist/collection/components/spinner/test/color/spinner.e2e.js +0 -21
- package/dist/collection/components/spinner/test/resize/spinner.e2e.js +0 -35
- package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +0 -29
- package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +0 -31
- package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +0 -41
- package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +0 -43
- package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +0 -14
- package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +0 -70
- package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +0 -15
- package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +0 -81
- package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +0 -123
- package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +0 -65
- package/dist/collection/components/tabs/test/basic/tabs.e2e.js +0 -32
- package/dist/collection/components/tabs/test/placements/tabs.e2e.js +0 -39
- package/dist/collection/components/text/test/basic/text.e2e.js +0 -30
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +0 -67
- package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +0 -48
- package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +0 -120
- package/dist/collection/components/textarea/test/card/textarea.e2e.js +0 -22
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +0 -61
- package/dist/collection/components/textarea/test/color/textarea.e2e.js +0 -131
- package/dist/collection/components/textarea/test/cols/textarea.e2e.js +0 -37
- package/dist/collection/components/textarea/test/fill/textarea.e2e.js +0 -205
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +0 -303
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +0 -64
- package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +0 -224
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +0 -63
- package/dist/collection/components/textarea/test/states/textarea.e2e.js +0 -23
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +0 -70
- package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
- package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +0 -48
- package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
- package/dist/collection/components/title/test/basic/title.e2e.js +0 -30
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +0 -210
- package/dist/collection/components/toast/test/basic/toast.e2e.js +0 -122
- package/dist/collection/components/toast/test/is-open/toast.e2e.js +0 -28
- package/dist/collection/components/toast/test/layout/toast.e2e.js +0 -17
- package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +0 -45
- package/dist/collection/components/toast/test/standalone/toast.e2e.js +0 -21
- package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +0 -84
- package/dist/collection/components/toast/test/toast-config.spec.js +0 -25
- package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
- package/dist/collection/components/toast/test/toast.spec.js +0 -212
- package/dist/collection/components/toast/test/trigger/toast.e2e.js +0 -32
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +0 -21
- package/dist/collection/components/toggle/test/color/toggle.e2e.js +0 -23
- package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +0 -61
- package/dist/collection/components/toggle/test/item/toggle.e2e.js +0 -104
- package/dist/collection/components/toggle/test/label/toggle.e2e.js +0 -120
- package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +0 -14
- package/dist/collection/components/toggle/test/states/toggle.e2e.js +0 -30
- package/dist/collection/components/toggle/test/toggle.spec.js +0 -67
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +0 -143
- package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +0 -17
- package/dist/collection/css/test/a11y/typography.e2e.js +0 -50
- package/dist/collection/global/test/config-controller.spec.js +0 -77
- package/dist/collection/themes/test/colors/theme.e2e.js +0 -170
- package/dist/collection/utils/animation/test/animation.spec.js +0 -358
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -31
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -17
- package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -24
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -45
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -30
- package/dist/collection/utils/content/content.utils.spec.js +0 -137
- package/dist/collection/utils/floating-point/floating-point.spec.js +0 -22
- package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/helpers.spec.js +0 -36
- package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +0 -115
- package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
- package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
- package/dist/collection/utils/rtl/dir.spec.js +0 -25
- package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
- package/dist/collection/utils/tap-click/test/tap-click.e2e.js +0 -25
- package/dist/collection/utils/test/attributes.spec.js +0 -53
- package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +0 -33
- package/dist/collection/utils/test/hardware-back-button.spec.js +0 -91
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
- package/dist/collection/utils/test/overlays/overlays.e2e.js +0 -301
- package/dist/collection/utils/test/overlays/overlays.spec.js +0 -206
- package/dist/collection/utils/test/platform.spec.js +0 -132
- package/dist/collection/utils/test/ready.spec.js +0 -39
- package/dist/collection/utils/test/theme.spec.js +0 -56
- package/dist/esm-es5/app-globals-b99e6d29.js +0 -4
- package/dist/esm-es5/index-9aab3bcf.js +0 -5
- package/dist/esm-es5/ionic-global-4528d288.js +0 -4
- package/dist/esm-es5/md.transition-4b90a1f0.js +0 -4
- package/dist/ionic/p-01a27023.system.entry.js +0 -4
- package/dist/ionic/p-03b86a5e.js +0 -4
- package/dist/ionic/p-049d43bd.entry.js +0 -4
- package/dist/ionic/p-15d1ddba.js +0 -4
- package/dist/ionic/p-2ff0e0aa.system.js +0 -4
- package/dist/ionic/p-31d27232.system.js +0 -4
- package/dist/ionic/p-3c27be4a.entry.js +0 -4
- package/dist/ionic/p-3d015cdb.system.js +0 -5
- package/dist/ionic/p-433157a4.entry.js +0 -4
- package/dist/ionic/p-5109a566.entry.js +0 -4
- package/dist/ionic/p-670c9f57.system.entry.js +0 -4
- package/dist/ionic/p-6df12af0.system.entry.js +0 -4
- package/dist/ionic/p-6f008ad2.js +0 -4
- package/dist/ionic/p-7eb47906.entry.js +0 -4
- package/dist/ionic/p-92d7e99d.system.js +0 -4
- package/dist/ionic/p-a2e94ade.system.entry.js +0 -4
- package/dist/ionic/p-a76ab3ea.system.entry.js +0 -4
- package/dist/ionic/p-b04c27d8.entry.js +0 -4
- package/dist/ionic/p-dba5cb84.js +0 -5
- package/dist/ionic/p-fa8f2e62.entry.js +0 -4
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
configs().forEach(({ title, screenshot, config }) => {
|
|
7
|
-
test.describe(title('toast: stacked layout'), () => {
|
|
8
|
-
test('should render stacked buttons', async ({ page }) => {
|
|
9
|
-
await page.goto('/src/components/toast/test/layout', config);
|
|
10
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
11
|
-
await page.click('#stacked');
|
|
12
|
-
await ionToastDidPresent.next();
|
|
13
|
-
const toastWrapper = page.locator('ion-toast .toast-wrapper');
|
|
14
|
-
await expect(toastWrapper).toHaveScreenshot(screenshot(`toast-stacked`));
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
7
|
-
test.describe(title('toast: positionAnchor'), () => {
|
|
8
|
-
test.beforeEach(async ({ page }) => {
|
|
9
|
-
await page.goto('/src/components/toast/test/position-anchor', config);
|
|
10
|
-
/**
|
|
11
|
-
* We need to screenshot the whole page to ensure the toasts are positioned
|
|
12
|
-
* correctly, but we don't need much extra white space between the header
|
|
13
|
-
* and footer.
|
|
14
|
-
*/
|
|
15
|
-
await page.setViewportSize({
|
|
16
|
-
width: 425,
|
|
17
|
-
height: 425,
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
test('should place top-position toast underneath anchor', async ({ page }) => {
|
|
21
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
22
|
-
await page.click('#headerAnchor');
|
|
23
|
-
await ionToastDidPresent.next();
|
|
24
|
-
await expect(page).toHaveScreenshot(screenshot(`toast-header-anchor`));
|
|
25
|
-
});
|
|
26
|
-
test('should place bottom-position toast above anchor', async ({ page }) => {
|
|
27
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
28
|
-
await page.click('#footerAnchor');
|
|
29
|
-
await ionToastDidPresent.next();
|
|
30
|
-
await expect(page).toHaveScreenshot(screenshot(`toast-footer-anchor`));
|
|
31
|
-
});
|
|
32
|
-
test('should ignore anchor for middle-position toast', async ({ page }) => {
|
|
33
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
34
|
-
await page.click('#middleAnchor');
|
|
35
|
-
await ionToastDidPresent.next();
|
|
36
|
-
await expect(page).toHaveScreenshot(screenshot(`toast-middle-anchor`));
|
|
37
|
-
});
|
|
38
|
-
test('should correctly anchor toast when using an element reference', async ({ page }) => {
|
|
39
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
40
|
-
await page.click('#headerElAnchor');
|
|
41
|
-
await ionToastDidPresent.next();
|
|
42
|
-
await expect(page).toHaveScreenshot(screenshot(`toast-header-el-anchor`));
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
/**
|
|
7
|
-
* This behavior does not vary across modes/directions.
|
|
8
|
-
*/
|
|
9
|
-
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
10
|
-
test.describe(title('toast: standalone'), () => {
|
|
11
|
-
test('should open overlay without ion-app', async ({ page }) => {
|
|
12
|
-
await page.goto(`/src/components/toast/test/standalone`, config);
|
|
13
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
14
|
-
const toast = page.locator('ion-toast');
|
|
15
|
-
const basicButton = page.locator('#basic-toast');
|
|
16
|
-
await basicButton.click();
|
|
17
|
-
await ionToastDidPresent.next();
|
|
18
|
-
await expect(toast).toBeVisible();
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
});
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { configs, test, dragElementBy } from "../../../../utils/test/playwright/index";
|
|
5
|
-
/**
|
|
6
|
-
* This behavior does not vary across modes and directions.
|
|
7
|
-
*/
|
|
8
|
-
configs({ directions: ['ltr'], modes: ['ios'] }).forEach(({ title, config }) => {
|
|
9
|
-
test.describe(title('toast: swipe gesture with top position'), () => {
|
|
10
|
-
test.beforeEach(async ({ page }) => {
|
|
11
|
-
await page.goto('src/components/toast/test/swipe-gesture', config);
|
|
12
|
-
});
|
|
13
|
-
test('should swipe up to dismiss', async ({ page }) => {
|
|
14
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
15
|
-
const ionToastDidDismiss = await page.spyOnEvent('ionToastDidDismiss');
|
|
16
|
-
const presentButton = page.locator('#top');
|
|
17
|
-
await presentButton.click();
|
|
18
|
-
await ionToastDidPresent.next();
|
|
19
|
-
const toastWrapper = page.locator('ion-toast#top-toast .toast-wrapper');
|
|
20
|
-
await dragElementBy(toastWrapper, page, 0, -30);
|
|
21
|
-
await ionToastDidDismiss.next();
|
|
22
|
-
});
|
|
23
|
-
test('should swipe up to dismiss with anchor', async ({ page }) => {
|
|
24
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
25
|
-
const ionToastDidDismiss = await page.spyOnEvent('ionToastDidDismiss');
|
|
26
|
-
const presentButton = page.locator('#top-anchor');
|
|
27
|
-
await presentButton.click();
|
|
28
|
-
await ionToastDidPresent.next();
|
|
29
|
-
const toastWrapper = page.locator('ion-toast#top-anchor-toast .toast-wrapper');
|
|
30
|
-
await dragElementBy(toastWrapper, page, 0, -30);
|
|
31
|
-
await ionToastDidDismiss.next();
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
test.describe(title('toast: swipe gesture with bottom position'), () => {
|
|
35
|
-
test.beforeEach(async ({ page }) => {
|
|
36
|
-
await page.goto('src/components/toast/test/swipe-gesture', config);
|
|
37
|
-
});
|
|
38
|
-
test('should swipe down to dismiss', async ({ page }) => {
|
|
39
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
40
|
-
const ionToastDidDismiss = await page.spyOnEvent('ionToastDidDismiss');
|
|
41
|
-
const presentButton = page.locator('#bottom');
|
|
42
|
-
await presentButton.click();
|
|
43
|
-
await ionToastDidPresent.next();
|
|
44
|
-
const toastWrapper = page.locator('ion-toast#bottom-toast .toast-wrapper');
|
|
45
|
-
await dragElementBy(toastWrapper, page, 0, 30);
|
|
46
|
-
await ionToastDidDismiss.next();
|
|
47
|
-
});
|
|
48
|
-
test('should swipe down to dismiss with anchor', async ({ page }) => {
|
|
49
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
50
|
-
const ionToastDidDismiss = await page.spyOnEvent('ionToastDidDismiss');
|
|
51
|
-
const presentButton = page.locator('#bottom-anchor');
|
|
52
|
-
await presentButton.click();
|
|
53
|
-
await ionToastDidPresent.next();
|
|
54
|
-
const toastWrapper = page.locator('ion-toast#bottom-anchor-toast .toast-wrapper');
|
|
55
|
-
await dragElementBy(toastWrapper, page, 0, 30);
|
|
56
|
-
await ionToastDidDismiss.next();
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
test.describe(title('toast: swipe gesture with middle position'), () => {
|
|
60
|
-
test.beforeEach(async ({ page }) => {
|
|
61
|
-
await page.goto('src/components/toast/test/swipe-gesture', config);
|
|
62
|
-
});
|
|
63
|
-
test('should swipe down to dismiss', async ({ page }) => {
|
|
64
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
65
|
-
const ionToastDidDismiss = await page.spyOnEvent('ionToastDidDismiss');
|
|
66
|
-
const presentButton = page.locator('#middle');
|
|
67
|
-
await presentButton.click();
|
|
68
|
-
await ionToastDidPresent.next();
|
|
69
|
-
const toastWrapper = page.locator('ion-toast#middle-toast .toast-wrapper');
|
|
70
|
-
await dragElementBy(toastWrapper, page, 0, 100);
|
|
71
|
-
await ionToastDidDismiss.next();
|
|
72
|
-
});
|
|
73
|
-
test('should swipe up to dismiss', async ({ page }) => {
|
|
74
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
75
|
-
const ionToastDidDismiss = await page.spyOnEvent('ionToastDidDismiss');
|
|
76
|
-
const presentButton = page.locator('#middle');
|
|
77
|
-
await presentButton.click();
|
|
78
|
-
await ionToastDidPresent.next();
|
|
79
|
-
const toastWrapper = page.locator('ion-toast#middle-toast .toast-wrapper');
|
|
80
|
-
await dragElementBy(toastWrapper, page, 0, -100);
|
|
81
|
-
await ionToastDidDismiss.next();
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { newSpecPage } from "@stencil/core/testing";
|
|
5
|
-
import { Toast } from "../toast";
|
|
6
|
-
import { config } from "../../../global/config";
|
|
7
|
-
describe('toast: duration config', () => {
|
|
8
|
-
it('should have duration set to 0', async () => {
|
|
9
|
-
const page = await newSpecPage({
|
|
10
|
-
components: [Toast],
|
|
11
|
-
html: `<ion-toast></ion-toast>`,
|
|
12
|
-
});
|
|
13
|
-
const toast = page.body.querySelector('ion-toast');
|
|
14
|
-
expect(toast.duration).toBe(0);
|
|
15
|
-
});
|
|
16
|
-
it('should have duration set to 5000', async () => {
|
|
17
|
-
config.reset({ toastDuration: 5000 });
|
|
18
|
-
const page = await newSpecPage({
|
|
19
|
-
components: [Toast],
|
|
20
|
-
html: `<ion-toast></ion-toast>`,
|
|
21
|
-
});
|
|
22
|
-
const toast = page.body.querySelector('ion-toast');
|
|
23
|
-
expect(toast.duration).toBe(5000);
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { newSpecPage } from "@stencil/core/testing";
|
|
5
|
-
import { Toast } from "../toast";
|
|
6
|
-
it('toast should be assigned an incrementing id', async () => {
|
|
7
|
-
const page = await newSpecPage({
|
|
8
|
-
components: [Toast],
|
|
9
|
-
html: `<ion-toast is-open="true"></ion-toast>`,
|
|
10
|
-
});
|
|
11
|
-
let toast;
|
|
12
|
-
toast = page.body.querySelector('ion-toast');
|
|
13
|
-
expect(toast).not.toBe(null);
|
|
14
|
-
expect(toast.getAttribute('id')).toBe('ion-overlay-1');
|
|
15
|
-
// Remove the toast from the DOM
|
|
16
|
-
toast.remove();
|
|
17
|
-
await page.waitForChanges();
|
|
18
|
-
// Create a new toast to verify the id is incremented
|
|
19
|
-
toast = document.createElement('ion-toast');
|
|
20
|
-
toast.isOpen = true;
|
|
21
|
-
page.body.appendChild(toast);
|
|
22
|
-
await page.waitForChanges();
|
|
23
|
-
toast = page.body.querySelector('ion-toast');
|
|
24
|
-
expect(toast.getAttribute('id')).toBe('ion-overlay-2');
|
|
25
|
-
// Presenting the same toast again should reuse the existing id
|
|
26
|
-
toast.isOpen = false;
|
|
27
|
-
await page.waitForChanges();
|
|
28
|
-
toast.isOpen = true;
|
|
29
|
-
await page.waitForChanges();
|
|
30
|
-
toast = page.body.querySelector('ion-toast');
|
|
31
|
-
expect(toast.getAttribute('id')).toBe('ion-overlay-2');
|
|
32
|
-
});
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { h } from "@stencil/core";
|
|
5
|
-
import { newSpecPage } from "@stencil/core/testing";
|
|
6
|
-
import { config } from "../../../global/config";
|
|
7
|
-
import { createAnimation } from "../../../utils/animation/animation";
|
|
8
|
-
import { Toast } from "../toast";
|
|
9
|
-
describe('toast: custom html', () => {
|
|
10
|
-
it('should not allow for custom html by default', async () => {
|
|
11
|
-
const page = await newSpecPage({
|
|
12
|
-
components: [Toast],
|
|
13
|
-
html: `<ion-toast message="<button class='custom-html'>Custom Text</button>"></ion-toast>`,
|
|
14
|
-
});
|
|
15
|
-
const toast = page.body.querySelector('ion-toast');
|
|
16
|
-
const content = toast.shadowRoot.querySelector('.toast-message');
|
|
17
|
-
expect(content.textContent).toContain('Custom Text');
|
|
18
|
-
expect(content.querySelector('button.custom-html')).toBe(null);
|
|
19
|
-
});
|
|
20
|
-
it('should allow for custom html', async () => {
|
|
21
|
-
config.reset({ innerHTMLTemplatesEnabled: true });
|
|
22
|
-
const page = await newSpecPage({
|
|
23
|
-
components: [Toast],
|
|
24
|
-
html: `<ion-toast message="<button class='custom-html'>Custom Text</button>"></ion-toast>`,
|
|
25
|
-
});
|
|
26
|
-
const toast = page.body.querySelector('ion-toast');
|
|
27
|
-
const content = toast.shadowRoot.querySelector('.toast-message');
|
|
28
|
-
expect(content.textContent).toContain('Custom Text');
|
|
29
|
-
expect(content.querySelector('button.custom-html')).not.toBe(null);
|
|
30
|
-
});
|
|
31
|
-
it('should not allow for custom html', async () => {
|
|
32
|
-
config.reset({ innerHTMLTemplatesEnabled: false });
|
|
33
|
-
const page = await newSpecPage({
|
|
34
|
-
components: [Toast],
|
|
35
|
-
html: `<ion-toast message="<button class='custom-html'>Custom Text</button>"></ion-toast>`,
|
|
36
|
-
});
|
|
37
|
-
const toast = page.body.querySelector('ion-toast');
|
|
38
|
-
const content = toast.shadowRoot.querySelector('.toast-message');
|
|
39
|
-
expect(content.textContent).toContain('Custom Text');
|
|
40
|
-
expect(content.querySelector('button.custom-html')).toBe(null);
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
/**
|
|
44
|
-
* These tests check if the aria-hidden attributes are being
|
|
45
|
-
* removed on present. Without this functionality, screen readers
|
|
46
|
-
* would not announce toast content correctly.
|
|
47
|
-
*/
|
|
48
|
-
describe('toast: a11y smoke test', () => {
|
|
49
|
-
it('should have aria-hidden content when dismissed', async () => {
|
|
50
|
-
const page = await newSpecPage({
|
|
51
|
-
components: [Toast],
|
|
52
|
-
html: `<ion-toast message="Message" header="Header"></ion-toast>`,
|
|
53
|
-
});
|
|
54
|
-
const toast = page.body.querySelector('ion-toast');
|
|
55
|
-
const header = toast.shadowRoot.querySelector('.toast-header');
|
|
56
|
-
const message = toast.shadowRoot.querySelector('.toast-message');
|
|
57
|
-
expect(header.getAttribute('aria-hidden')).toBe('true');
|
|
58
|
-
expect(message.getAttribute('aria-hidden')).toBe('true');
|
|
59
|
-
});
|
|
60
|
-
it('should not have aria-hidden content when presented', async () => {
|
|
61
|
-
const page = await newSpecPage({
|
|
62
|
-
components: [Toast],
|
|
63
|
-
html: `
|
|
64
|
-
<ion-app>
|
|
65
|
-
<ion-toast animated="false" message="Message" header="Header"></ion-toast>
|
|
66
|
-
</ion-app>
|
|
67
|
-
`,
|
|
68
|
-
});
|
|
69
|
-
const toast = page.body.querySelector('ion-toast');
|
|
70
|
-
/**
|
|
71
|
-
* Wait for present method to resolve
|
|
72
|
-
* and for state change to take effect.
|
|
73
|
-
*/
|
|
74
|
-
await toast.present();
|
|
75
|
-
await page.waitForChanges();
|
|
76
|
-
const header = toast.shadowRoot.querySelector('.toast-header');
|
|
77
|
-
const message = toast.shadowRoot.querySelector('.toast-message');
|
|
78
|
-
expect(header.getAttribute('aria-hidden')).toBe(null);
|
|
79
|
-
expect(message.getAttribute('aria-hidden')).toBe(null);
|
|
80
|
-
});
|
|
81
|
-
});
|
|
82
|
-
describe('toast: duration config', () => {
|
|
83
|
-
afterEach(() => {
|
|
84
|
-
/**
|
|
85
|
-
* Important: Reset the config
|
|
86
|
-
* after each test as it is not
|
|
87
|
-
* automatically reset.
|
|
88
|
-
* Otherwise, toasts in other tests
|
|
89
|
-
* will take on any toastDuration value
|
|
90
|
-
* set and timeouts will potentially run
|
|
91
|
-
* after tests are finished.
|
|
92
|
-
*/
|
|
93
|
-
config.reset({});
|
|
94
|
-
});
|
|
95
|
-
it('should have duration set to 0', async () => {
|
|
96
|
-
const page = await newSpecPage({
|
|
97
|
-
components: [Toast],
|
|
98
|
-
html: `<ion-toast></ion-toast>`,
|
|
99
|
-
});
|
|
100
|
-
const toast = page.body.querySelector('ion-toast');
|
|
101
|
-
expect(toast.duration).toBe(0);
|
|
102
|
-
});
|
|
103
|
-
it('should have duration set to 5000', async () => {
|
|
104
|
-
config.reset({ toastDuration: 5000 });
|
|
105
|
-
const page = await newSpecPage({
|
|
106
|
-
components: [Toast],
|
|
107
|
-
html: `<ion-toast></ion-toast>`,
|
|
108
|
-
});
|
|
109
|
-
const toast = page.body.querySelector('ion-toast');
|
|
110
|
-
expect(toast.duration).toBe(5000);
|
|
111
|
-
});
|
|
112
|
-
});
|
|
113
|
-
describe('toast: htmlAttributes', () => {
|
|
114
|
-
it('should correctly inherit attributes on host', async () => {
|
|
115
|
-
const page = await newSpecPage({
|
|
116
|
-
components: [Toast],
|
|
117
|
-
template: () => h("ion-toast", { overlayIndex: 1, htmlAttributes: { 'data-testid': 'basic-toast' } }),
|
|
118
|
-
});
|
|
119
|
-
const toast = page.body.querySelector('ion-toast');
|
|
120
|
-
await expect(toast.getAttribute('data-testid')).toBe('basic-toast');
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
describe('toast: button cancel', () => {
|
|
124
|
-
it('should render the cancel button with part button-cancel', async () => {
|
|
125
|
-
const page = await newSpecPage({
|
|
126
|
-
components: [Toast],
|
|
127
|
-
template: () => h("ion-toast", { overlayIndex: 1, buttons: [{ text: 'Cancel', role: 'cancel' }] }),
|
|
128
|
-
});
|
|
129
|
-
const toast = page.body.querySelector('ion-toast');
|
|
130
|
-
const buttonCancel = toast.shadowRoot.querySelector('.toast-button-cancel');
|
|
131
|
-
expect(buttonCancel.getAttribute('part')).toBe('button cancel');
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
describe('toast: swipe gesture', () => {
|
|
135
|
-
describe('prefersSwipeGesture()', () => {
|
|
136
|
-
let toast;
|
|
137
|
-
beforeEach(() => {
|
|
138
|
-
toast = new Toast();
|
|
139
|
-
});
|
|
140
|
-
it('should return true if set to a valid swipe value', () => {
|
|
141
|
-
toast.swipeGesture = 'vertical';
|
|
142
|
-
expect(toast.prefersSwipeGesture()).toBe(true);
|
|
143
|
-
});
|
|
144
|
-
it('should return false if set to undefined', () => {
|
|
145
|
-
toast.swipeGesture = undefined;
|
|
146
|
-
expect(toast.prefersSwipeGesture()).toBe(false);
|
|
147
|
-
});
|
|
148
|
-
it('should return false if set to null', () => {
|
|
149
|
-
toast.swipeGesture = null;
|
|
150
|
-
expect(toast.prefersSwipeGesture()).toBe(false);
|
|
151
|
-
});
|
|
152
|
-
it('should return false if set to invalid string', () => {
|
|
153
|
-
toast.swipeGesture = 'limit'; // `'limit'` doesn't exist
|
|
154
|
-
expect(toast.prefersSwipeGesture()).toBe(false);
|
|
155
|
-
});
|
|
156
|
-
});
|
|
157
|
-
describe('swipeGesture property', () => {
|
|
158
|
-
let toast;
|
|
159
|
-
beforeEach(() => {
|
|
160
|
-
toast = new Toast();
|
|
161
|
-
// Stub the enter animation so we aren't querying elements in the DOM that may not exist
|
|
162
|
-
toast.enterAnimation = () => createAnimation();
|
|
163
|
-
});
|
|
164
|
-
it('should not create a swipe gesture on present if swipeGesture is undefined', async () => {
|
|
165
|
-
expect(toast.gesture).toBe(undefined);
|
|
166
|
-
await toast.present();
|
|
167
|
-
expect(toast.gesture).toBe(undefined);
|
|
168
|
-
});
|
|
169
|
-
it('should create a swipe gesture on present', async () => {
|
|
170
|
-
toast.swipeGesture = 'vertical';
|
|
171
|
-
expect(toast.gesture).toBe(undefined);
|
|
172
|
-
await toast.present();
|
|
173
|
-
expect(toast.gesture).not.toBe(undefined);
|
|
174
|
-
});
|
|
175
|
-
it('should destroy a swipe gesture on dismiss', async () => {
|
|
176
|
-
toast.swipeGesture = 'vertical';
|
|
177
|
-
await toast.present();
|
|
178
|
-
expect(toast.gesture).not.toBe(undefined);
|
|
179
|
-
await toast.dismiss();
|
|
180
|
-
expect(toast.gesture).toBe(undefined);
|
|
181
|
-
});
|
|
182
|
-
it('should create a swipe gesture if swipeGesture is set after present', async () => {
|
|
183
|
-
await toast.present();
|
|
184
|
-
expect(toast.gesture).toBe(undefined);
|
|
185
|
-
/**
|
|
186
|
-
* Manually invoke the watch
|
|
187
|
-
* callback synchronously.
|
|
188
|
-
*/
|
|
189
|
-
toast.swipeGesture = 'vertical';
|
|
190
|
-
toast.swipeGestureChanged();
|
|
191
|
-
expect(toast.gesture).not.toBe(undefined);
|
|
192
|
-
});
|
|
193
|
-
it('should destroy a swipe gesture if swipeGesture is cleared after present', async () => {
|
|
194
|
-
toast.swipeGesture = 'vertical';
|
|
195
|
-
await toast.present();
|
|
196
|
-
expect(toast.gesture).not.toBe(undefined);
|
|
197
|
-
/**
|
|
198
|
-
* Manually invoke the watch
|
|
199
|
-
* callback synchronously.
|
|
200
|
-
*/
|
|
201
|
-
toast.swipeGesture = undefined;
|
|
202
|
-
toast.swipeGestureChanged();
|
|
203
|
-
expect(toast.gesture).toBe(undefined);
|
|
204
|
-
});
|
|
205
|
-
it('should not create a swipe gesture if the toast is not presented', async () => {
|
|
206
|
-
expect(toast.gesture).toBe(undefined);
|
|
207
|
-
toast.swipeGesture = 'vertical';
|
|
208
|
-
toast.swipeGestureChanged();
|
|
209
|
-
expect(toast.gesture).toBe(undefined);
|
|
210
|
-
});
|
|
211
|
-
});
|
|
212
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
/**
|
|
7
|
-
* This behavior does not vary across modes/directions.
|
|
8
|
-
*/
|
|
9
|
-
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
10
|
-
test.describe(title('toast: trigger'), () => {
|
|
11
|
-
test.beforeEach(async ({ page }) => {
|
|
12
|
-
await page.goto('/src/components/toast/test/trigger', config);
|
|
13
|
-
});
|
|
14
|
-
test('should open the toast', async ({ page }) => {
|
|
15
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
16
|
-
const toast = page.locator('#default-toast');
|
|
17
|
-
await page.click('#default');
|
|
18
|
-
await ionToastDidPresent.next();
|
|
19
|
-
await expect(toast).toBeVisible();
|
|
20
|
-
});
|
|
21
|
-
test('should present a previously presented toast', async ({ page }) => {
|
|
22
|
-
const ionToastDidPresent = await page.spyOnEvent('ionToastDidPresent');
|
|
23
|
-
const ionToastDidDismiss = await page.spyOnEvent('ionToastDidDismiss');
|
|
24
|
-
const toast = page.locator('#timeout-toast');
|
|
25
|
-
await page.click('#timeout');
|
|
26
|
-
await ionToastDidDismiss.next();
|
|
27
|
-
await page.click('#timeout');
|
|
28
|
-
await ionToastDidPresent.next();
|
|
29
|
-
await expect(toast).toBeVisible();
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import AxeBuilder from "@axe-core/playwright";
|
|
5
|
-
import { expect } from "@playwright/test";
|
|
6
|
-
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
7
|
-
configs({ directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ title, config }) => {
|
|
8
|
-
test.describe(title('toggle: a11y'), () => {
|
|
9
|
-
test('should not have accessibility violations', async ({ page }) => {
|
|
10
|
-
await page.setContent(`
|
|
11
|
-
<main>
|
|
12
|
-
<ion-toggle>my label</ion-toggle>
|
|
13
|
-
<ion-toggle aria-label="my aria label"></ion-toggle>
|
|
14
|
-
<ion-toggle checked="true">Checked</ion-toggle>
|
|
15
|
-
</main>
|
|
16
|
-
`, config);
|
|
17
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
18
|
-
expect(results.violations).toEqual([]);
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
|
|
7
|
-
test.describe(title('toggle: color'), () => {
|
|
8
|
-
test('should apply color when checked', async ({ page }) => {
|
|
9
|
-
await page.setContent(`
|
|
10
|
-
<ion-toggle color="danger" checked="true">Label</ion-toggle>
|
|
11
|
-
`, config);
|
|
12
|
-
const toggle = page.locator('ion-toggle');
|
|
13
|
-
await expect(toggle).toHaveScreenshot(screenshot(`toggle-color-checked`));
|
|
14
|
-
});
|
|
15
|
-
test('should not apply color when unchecked', async ({ page }) => {
|
|
16
|
-
await page.setContent(`
|
|
17
|
-
<ion-toggle color="danger">Label</ion-toggle>
|
|
18
|
-
`, config);
|
|
19
|
-
const toggle = page.locator('ion-toggle');
|
|
20
|
-
await expect(toggle).toHaveScreenshot(screenshot(`toggle-color-unchecked`));
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { configs, test } from "../../../../utils/test/playwright/index";
|
|
6
|
-
configs({ palettes: ['light', 'dark'] }).forEach(({ title, screenshot, config }) => {
|
|
7
|
-
test.describe(title('toggle: enable-on-off-labels'), () => {
|
|
8
|
-
test('should not have visual regressions', async ({ page }) => {
|
|
9
|
-
await page.setContent(`
|
|
10
|
-
<style>
|
|
11
|
-
#container {
|
|
12
|
-
display: grid;
|
|
13
|
-
grid-template-columns: repeat(2, auto);
|
|
14
|
-
justify-content: space-evenly;
|
|
15
|
-
gap: 8px;
|
|
16
|
-
padding: 16px 0;
|
|
17
|
-
}
|
|
18
|
-
</style>
|
|
19
|
-
|
|
20
|
-
<div id="container">
|
|
21
|
-
<ion-toggle enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
22
|
-
<ion-toggle enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
23
|
-
</div>
|
|
24
|
-
`, config);
|
|
25
|
-
const container = page.locator('#container');
|
|
26
|
-
await expect(container).toHaveScreenshot(screenshot(`toggle-on-off-labels`));
|
|
27
|
-
});
|
|
28
|
-
test('should not have visual regressions with color', async ({ page }) => {
|
|
29
|
-
await page.setContent(`
|
|
30
|
-
<style>
|
|
31
|
-
#container {
|
|
32
|
-
display: grid;
|
|
33
|
-
grid-template-columns: repeat(2, auto);
|
|
34
|
-
justify-content: space-evenly;
|
|
35
|
-
gap: 8px;
|
|
36
|
-
padding: 16px 0;
|
|
37
|
-
}
|
|
38
|
-
</style>
|
|
39
|
-
|
|
40
|
-
<div id="container">
|
|
41
|
-
<ion-toggle color="secondary" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
42
|
-
<ion-toggle color="secondary" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
43
|
-
<ion-toggle color="success" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
44
|
-
<ion-toggle color="success" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
45
|
-
<ion-toggle color="danger" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
46
|
-
<ion-toggle color="danger" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
47
|
-
<ion-toggle color="tertiary" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
48
|
-
<ion-toggle color="tertiary" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
49
|
-
<ion-toggle color="light" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
50
|
-
<ion-toggle color="light" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
51
|
-
<ion-toggle color="medium" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
52
|
-
<ion-toggle color="medium" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
53
|
-
<ion-toggle color="dark" enable-on-off-labels="true">Unchecked</ion-toggle>
|
|
54
|
-
<ion-toggle color="dark" enable-on-off-labels="true" checked>Checked</ion-toggle>
|
|
55
|
-
</div>
|
|
56
|
-
`, config);
|
|
57
|
-
const container = page.locator('#container');
|
|
58
|
-
await expect(container).toHaveScreenshot(screenshot(`toggle-on-off-labels-color`));
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
});
|