voyager-ionic-core 8.2.0 → 8.2.6
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/components/action-sheet.js +7 -4
- package/components/alert.js +6 -3
- package/components/ion-loading.js +6 -3
- package/components/ion-modal.js +8 -5
- package/components/ion-picker-legacy.js +6 -3
- package/components/ion-refresher.js +28 -1
- package/components/ion-toast.js +6 -3
- package/components/item.js +3 -3
- package/components/popover.js +4 -3
- package/dist/cjs/{app-globals-1c261a7f.js → app-globals-7dbf2ade.js} +1 -1
- package/dist/cjs/{button-active-8da8d63e.js → button-active-cf1c215d.js} +1 -1
- package/dist/cjs/{hardware-back-button-93f7a8f0.js → hardware-back-button-ddbc12ea.js} +2 -2
- package/dist/cjs/{index-fa3cf6ba.js → index-24fe3fe6.js} +4 -4
- package/dist/cjs/{index-ceeb4ff8.js → index-480c143c.js} +234 -185
- package/dist/cjs/{index-93b3a556.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 +12 -9
- package/dist/cjs/ion-alert.cjs.entry.js +11 -8
- 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 +2 -2
- 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 +10 -7
- 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 +10 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +13 -10
- 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 +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +9 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- 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 +10 -7
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-f401ca2e.js → ionic-global-c1db87a5.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-ae54d131.js → ios.transition-8419294d.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-dbc2d3f3.js → md.transition-39852d6b.js} +3 -3
- package/dist/cjs/{overlays-d4afb0bd.js → overlays-55d77381.js} +2 -2
- package/dist/cjs/{status-tap-0a82a165.js → status-tap-b68fa888.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-sheet/action-sheet.js +7 -4
- package/dist/collection/components/alert/alert.js +6 -3
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/loading/loading.js +6 -3
- package/dist/collection/components/modal/modal.js +8 -5
- package/dist/collection/components/picker-legacy/picker.js +6 -3
- package/dist/collection/components/popover/popover.js +4 -3
- package/dist/collection/components/refresher/refresher.js +28 -1
- package/dist/collection/components/toast/toast.js +6 -3
- package/dist/docs.json +3 -3
- package/dist/esm/{app-globals-7c667c11.js → app-globals-7f30ce3c.js} +1 -1
- package/dist/esm/{button-active-7c57df95.js → button-active-78f50add.js} +1 -1
- package/dist/esm/{hardware-back-button-63852d15.js → hardware-back-button-2e99752e.js} +2 -2
- package/dist/esm/{index-1e2f8425.js → index-4094f808.js} +2 -2
- package/dist/esm/{index-8d8c14b0.js → index-7a952e7a.js} +234 -185
- package/dist/esm/{index-91ed2172.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 +12 -9
- package/dist/esm/ion-alert.entry.js +11 -8
- 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 +2 -2
- 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 +10 -7
- 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 +10 -7
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +13 -10
- 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 +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +9 -8
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +4 -4
- 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 +10 -7
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-8180d812.js → ionic-global-81a1064f.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-140cedc8.js → ios.transition-0a5004b4.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-4961bea4.js → md.transition-b6135ada.js} +3 -3
- package/dist/esm/{overlays-e8e5bd06.js → overlays-e1bad9cd.js} +2 -2
- package/dist/esm/{status-tap-0502d0fd.js → status-tap-17122cea.js} +1 -1
- package/dist/esm-es5/app-globals-7f30ce3c.js +4 -0
- package/dist/esm-es5/{button-active-7c57df95.js → button-active-78f50add.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-63852d15.js → hardware-back-button-2e99752e.js} +1 -1
- package/dist/esm-es5/{index-1e2f8425.js → index-4094f808.js} +1 -1
- package/dist/esm-es5/index-7a952e7a.js +5 -0
- package/dist/esm-es5/{index-91ed2172.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-8180d812.js → ionic-global-81a1064f.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-140cedc8.js → ios.transition-0a5004b4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-4961bea4.js → md.transition-b6135ada.js} +1 -1
- package/dist/esm-es5/{overlays-e8e5bd06.js → overlays-e1bad9cd.js} +1 -1
- package/dist/esm-es5/{status-tap-0502d0fd.js → status-tap-17122cea.js} +1 -1
- 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-f9b3ffd6.system.entry.js → p-013621f0.system.entry.js} +1 -1
- package/dist/ionic/p-071cb08a.entry.js +4 -0
- package/dist/ionic/{p-4713f5f0.entry.js → p-096664b8.entry.js} +1 -1
- package/dist/ionic/{p-a0abe7ab.system.entry.js → p-09f64b99.system.entry.js} +1 -1
- package/dist/ionic/{p-00f85ca4.entry.js → p-0abd2546.entry.js} +1 -1
- package/dist/ionic/{p-111b0e11.system.entry.js → p-0db55ab4.system.entry.js} +1 -1
- package/dist/ionic/{p-5e1094ae.system.entry.js → p-11c4215a.system.entry.js} +1 -1
- package/dist/ionic/{p-fcbd65bc.system.js → p-14f0f49f.system.js} +1 -1
- package/dist/ionic/{p-b7299e38.system.entry.js → p-15c36478.system.entry.js} +1 -1
- package/dist/ionic/{p-bd7ad51d.system.entry.js → p-1924eefd.system.entry.js} +1 -1
- package/dist/ionic/{p-c5c65bbe.js → p-1974d32f.js} +1 -1
- package/dist/ionic/{p-79f4cb29.entry.js → p-1b2c22ed.entry.js} +1 -1
- package/dist/ionic/{p-aeb61b82.entry.js → p-1c6cd5bc.entry.js} +1 -1
- package/dist/ionic/{p-5f610767.entry.js → p-2496a357.entry.js} +1 -1
- package/dist/ionic/{p-4816d827.entry.js → p-25467ef7.entry.js} +1 -1
- package/dist/ionic/{p-f5efe527.entry.js → p-271076f2.entry.js} +1 -1
- package/dist/ionic/{p-4691dc8d.js → p-274496f1.js} +1 -1
- package/dist/ionic/{p-a00a5621.entry.js → p-283c6631.entry.js} +1 -1
- package/dist/ionic/{p-bad2e0c8.system.entry.js → p-299a2ccb.system.entry.js} +1 -1
- package/dist/ionic/{p-370835b4.system.js → p-2a08e244.system.js} +1 -1
- package/dist/ionic/{p-c4493e98.system.entry.js → p-2b017e39.system.entry.js} +1 -1
- package/dist/ionic/{p-ae3be67f.system.entry.js → p-33ce19cf.system.entry.js} +1 -1
- package/dist/ionic/{p-7a416af9.entry.js → p-344d6225.entry.js} +1 -1
- package/dist/ionic/{p-a5adb027.entry.js → p-3961b22e.entry.js} +1 -1
- package/dist/ionic/{p-78bf8302.system.entry.js → p-39af4fa4.system.entry.js} +1 -1
- package/dist/ionic/{p-0617a85d.entry.js → p-3b767add.entry.js} +1 -1
- package/dist/ionic/{p-27317f8f.system.js → p-3fcfe35c.system.js} +1 -1
- package/dist/ionic/p-41e85f07.js +4 -0
- package/dist/ionic/{p-1dd59f8d.system.entry.js → p-437d3e12.system.entry.js} +1 -1
- package/dist/ionic/{p-c6143912.entry.js → p-46cf378f.entry.js} +1 -1
- package/dist/ionic/{p-71f25447.system.entry.js → p-49c011e3.system.entry.js} +1 -1
- package/dist/ionic/{p-c44efdb8.entry.js → p-4af59128.entry.js} +1 -1
- package/dist/ionic/{p-fa7234ee.entry.js → p-4c68bf47.entry.js} +1 -1
- package/dist/ionic/{p-eaab79f3.entry.js → p-4d96e6a7.entry.js} +1 -1
- package/dist/ionic/{p-764eb419.system.entry.js → p-4de0819c.system.entry.js} +1 -1
- package/dist/ionic/{p-11feccde.system.entry.js → p-4f54d1aa.system.entry.js} +1 -1
- package/dist/ionic/{p-4fa57f1e.system.entry.js → p-527815e1.system.entry.js} +1 -1
- package/dist/ionic/{p-935221f8.system.entry.js → p-5303af24.system.entry.js} +1 -1
- package/dist/ionic/{p-71e2f283.system.entry.js → p-54690f26.system.entry.js} +1 -1
- package/dist/ionic/p-5a28559b.js +5 -0
- package/dist/ionic/{p-967da5f2.system.js → p-5c00ca73.system.js} +1 -1
- package/dist/ionic/{p-80aae5d7.entry.js → p-5c5e7f5c.entry.js} +1 -1
- package/dist/ionic/{p-c1d7a187.system.entry.js → p-5d0b285d.system.entry.js} +1 -1
- package/dist/ionic/p-5e17dc69.entry.js +4 -0
- package/dist/ionic/{p-bdc1b4e3.js → p-5e687df9.js} +1 -1
- package/dist/ionic/{p-0973cae7.entry.js → p-60a6fadb.entry.js} +1 -1
- package/dist/ionic/{p-8c7490bc.system.entry.js → p-611bb4d1.system.entry.js} +1 -1
- package/dist/ionic/{p-a931cd3e.system.entry.js → p-6782ffa5.system.entry.js} +1 -1
- package/dist/ionic/{p-0f89c47c.js → p-678beb9e.js} +1 -1
- package/dist/ionic/{p-fba8ea9e.entry.js → p-679744bf.entry.js} +1 -1
- package/dist/ionic/{p-cf8ad0c3.entry.js → p-67bc0359.entry.js} +1 -1
- package/dist/ionic/{p-3fd68f4e.system.entry.js → p-6904a62e.system.entry.js} +1 -1
- package/dist/ionic/{p-ee8bf348.system.entry.js → p-6b14212a.system.entry.js} +1 -1
- package/dist/ionic/{p-eef82267.entry.js → p-6c8d40f8.entry.js} +1 -1
- package/dist/ionic/{p-d7e957e9.entry.js → p-6d32eb3c.entry.js} +1 -1
- package/dist/ionic/p-6e3e94e2.js +4 -0
- package/dist/ionic/{p-f1c090c5.system.entry.js → p-6ef231bc.system.entry.js} +1 -1
- package/dist/ionic/p-6f7eb5d1.system.js +5 -0
- package/dist/ionic/{p-a055fdcf.system.entry.js → p-6fb5e9a7.system.entry.js} +1 -1
- package/dist/ionic/{p-7198726e.entry.js → p-7048fe74.entry.js} +1 -1
- package/dist/ionic/{p-aeef6ac4.entry.js → p-70e786ea.entry.js} +1 -1
- package/dist/ionic/{p-94b46442.entry.js → p-74890c76.entry.js} +1 -1
- package/dist/ionic/{p-30bbe61c.system.js → p-767a0d69.system.js} +1 -1
- package/dist/ionic/{p-c89af27e.entry.js → p-7a6e6896.entry.js} +1 -1
- package/dist/ionic/{p-443cbfcb.entry.js → p-7dbadc9f.entry.js} +1 -1
- package/dist/ionic/{p-4455daad.entry.js → p-7e192c6a.entry.js} +1 -1
- package/dist/ionic/{p-c5543c41.system.entry.js → p-804c9125.system.entry.js} +1 -1
- package/dist/ionic/{p-98125393.system.js → p-8df34150.system.js} +1 -1
- package/dist/ionic/{p-c7717147.js → p-972902db.js} +1 -1
- package/dist/ionic/{p-750e902d.system.entry.js → p-978bbfe5.system.entry.js} +1 -1
- package/dist/ionic/{p-f896c857.system.entry.js → p-9847b92f.system.entry.js} +1 -1
- package/dist/ionic/{p-24b0ece0.entry.js → p-98566693.entry.js} +1 -1
- package/dist/ionic/{p-e08d9edc.system.entry.js → p-99740380.system.entry.js} +1 -1
- package/dist/ionic/{p-ddde112a.js → p-9d88dc43.js} +1 -1
- package/dist/ionic/{p-c7a015e4.entry.js → p-9df171a1.entry.js} +1 -1
- package/dist/ionic/{p-9b46f7e0.entry.js → p-a60914c0.entry.js} +1 -1
- package/dist/ionic/{p-7058dfda.entry.js → p-a69e118f.entry.js} +1 -1
- package/dist/ionic/{p-5cd86cdb.system.entry.js → p-a8ed8cd3.system.entry.js} +1 -1
- package/dist/ionic/{p-54b04ed1.system.entry.js → p-aa34fd2f.system.entry.js} +1 -1
- package/dist/ionic/{p-45a51395.system.js → p-b0bd4813.system.js} +1 -1
- package/dist/ionic/{p-fc6f99be.js → p-b2cd7aae.js} +1 -1
- package/dist/ionic/p-b59d0fab.system.js +4 -0
- package/dist/ionic/{p-34827988.system.entry.js → p-b7b4c08d.system.entry.js} +1 -1
- package/dist/ionic/{p-3b0711a0.system.entry.js → p-b7d1659f.system.entry.js} +1 -1
- package/dist/ionic/{p-eea44228.entry.js → p-bbeeadc8.entry.js} +1 -1
- package/dist/ionic/{p-00343522.system.entry.js → p-be9fe750.system.entry.js} +1 -1
- package/dist/ionic/{p-b84d9005.system.entry.js → p-c21ea624.system.entry.js} +1 -1
- package/dist/ionic/{p-3d1951f5.entry.js → p-c2438564.entry.js} +1 -1
- package/dist/ionic/{p-f149e6c3.system.entry.js → p-c29d39e0.system.entry.js} +1 -1
- package/dist/ionic/{p-69cc64ab.entry.js → p-c8a847f1.entry.js} +1 -1
- package/dist/ionic/{p-4927bd6e.entry.js → p-cb19fdbf.entry.js} +1 -1
- package/dist/ionic/{p-06330374.system.entry.js → p-cec53b82.system.entry.js} +1 -1
- package/dist/ionic/{p-7171dbf4.system.js → p-cfcc1b63.system.js} +1 -1
- package/dist/ionic/{p-d8a1f0e2.entry.js → p-d274a7d8.entry.js} +1 -1
- package/dist/ionic/{p-09bd8558.system.entry.js → p-d450f1f9.system.entry.js} +1 -1
- package/dist/ionic/{p-c6d9d978.system.entry.js → p-d755fc91.system.entry.js} +1 -1
- package/dist/ionic/{p-941ecbba.entry.js → p-d950be65.entry.js} +1 -1
- package/dist/ionic/{p-b0ff8469.system.entry.js → p-d967f9ce.system.entry.js} +1 -1
- package/dist/ionic/{p-a4116282.entry.js → p-dc321750.entry.js} +1 -1
- package/dist/ionic/{p-8d0eb68d.js → p-dc4a3358.js} +1 -1
- package/dist/ionic/{p-18657fab.system.entry.js → p-ddd3b389.system.entry.js} +1 -1
- package/dist/ionic/{p-b7eecfa6.entry.js → p-deb257b7.entry.js} +1 -1
- package/dist/ionic/p-df4c53fe.entry.js +4 -0
- package/dist/ionic/{p-aef1c744.system.js → p-e72fcc94.system.js} +1 -1
- package/dist/ionic/{p-dba2da82.system.entry.js → p-e8162d35.system.entry.js} +1 -1
- package/dist/ionic/{p-1e5cabf8.entry.js → p-eb988a08.entry.js} +1 -1
- package/dist/ionic/p-ec1562e7.system.js +4 -0
- package/dist/ionic/p-eda5abe2.entry.js +4 -0
- package/dist/ionic/{p-a4a45ad9.system.js → p-ef57ad27.system.js} +1 -1
- package/dist/ionic/{p-f9046353.system.entry.js → p-ef83f46b.system.entry.js} +1 -1
- package/dist/ionic/{p-8890e47f.system.entry.js → p-f0899af9.system.entry.js} +1 -1
- package/dist/ionic/{p-66de062f.system.entry.js → p-f66fed32.system.entry.js} +1 -1
- package/dist/ionic/{p-c623f0d9.entry.js → p-f7ed7806.entry.js} +1 -1
- package/dist/ionic/{p-036382b2.system.entry.js → p-f8083fd4.system.entry.js} +1 -1
- package/dist/ionic/{p-1ca3679b.entry.js → p-f81cef9b.entry.js} +1 -1
- package/dist/ionic/{p-a87b1500.entry.js → p-f8856320.entry.js} +1 -1
- package/dist/ionic/{p-0a9c8c36.system.entry.js → p-fc55e1c2.system.entry.js} +1 -1
- package/dist/ionic/{p-6e76ed16.entry.js → p-fca84e5b.entry.js} +1 -1
- package/dist/ionic/{p-47ab6574.system.entry.js → p-fd61bdcd.system.entry.js} +1 -1
- package/dist/ionic/{p-76637161.system.entry.js → p-fe74ecc0.system.entry.js} +1 -1
- package/dist/types/components/refresher/refresher.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +2 -10
- package/hydrate/index.d.ts +29 -11
- package/hydrate/index.js +493 -400
- package/hydrate/index.mjs +48671 -0
- package/hydrate/package.json +7 -1
- package/loader/index.d.ts +3 -0
- package/package.json +7 -5
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -40
- 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 -247
- 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 -199
- 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 -149
- 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 -123
- 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 -85
- 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-7c667c11.js +0 -4
- package/dist/esm-es5/index-8d8c14b0.js +0 -5
- package/dist/ionic/p-0213e506.entry.js +0 -4
- package/dist/ionic/p-13a736a9.entry.js +0 -4
- package/dist/ionic/p-39303199.system.js +0 -4
- package/dist/ionic/p-479e7655.system.js +0 -5
- package/dist/ionic/p-65a8336f.entry.js +0 -4
- package/dist/ionic/p-6c16d0e8.js +0 -4
- package/dist/ionic/p-a82d4913.system.js +0 -4
- package/dist/ionic/p-cd681265.entry.js +0 -4
- package/dist/ionic/p-d6dbda17.js +0 -5
- package/dist/ionic/p-f6a419d2.js +0 -4
|
@@ -1,170 +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
|
-
/**
|
|
8
|
-
* Small text is defined as 14pt (~18.5px)
|
|
9
|
-
* when computing color contrast: https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html
|
|
10
|
-
*/
|
|
11
|
-
const styleTestHelpers = `
|
|
12
|
-
<style>
|
|
13
|
-
main {
|
|
14
|
-
background: var(--ion-color-contrast);
|
|
15
|
-
font-size: 14pt;
|
|
16
|
-
}
|
|
17
|
-
.ion-background {
|
|
18
|
-
background: var(--ion-color-base);
|
|
19
|
-
}
|
|
20
|
-
.ion-background-shade {
|
|
21
|
-
background: var(--ion-color-shade);
|
|
22
|
-
}
|
|
23
|
-
.ion-background-tint {
|
|
24
|
-
background: var(--ion-color-tint);
|
|
25
|
-
}
|
|
26
|
-
.ion-background-opacity-08 {
|
|
27
|
-
background: rgba(var(--ion-color-base-rgb), 0.08);
|
|
28
|
-
}
|
|
29
|
-
.ion-background-opacity-12 {
|
|
30
|
-
background: rgba(var(--ion-color-base-rgb), 0.12);
|
|
31
|
-
}
|
|
32
|
-
.ion-background-opacity-16 {
|
|
33
|
-
background: rgba(var(--ion-color-base-rgb), 0.16);
|
|
34
|
-
}
|
|
35
|
-
.ion-color {
|
|
36
|
-
color: var(--ion-color-base);
|
|
37
|
-
}
|
|
38
|
-
.ion-color-contrast {
|
|
39
|
-
color: var(--ion-color-contrast);
|
|
40
|
-
}
|
|
41
|
-
</style>
|
|
42
|
-
`;
|
|
43
|
-
/**
|
|
44
|
-
* All colors should be tested in the following scenarios:
|
|
45
|
-
* 1) The base color as the text color against the contrast color as the background color
|
|
46
|
-
* 2) The contrast color as the text color against the base color as the background color
|
|
47
|
-
* 3) The contrast color as the text color against the shade color as the background color
|
|
48
|
-
* 4) The contrast color as the text color against the tint color as the background color
|
|
49
|
-
* 5) The base color as the text color against the base color at 0.08 opacity as the background color
|
|
50
|
-
* 6) The base color as the text color against the base color at 0.12 opacity as the background color
|
|
51
|
-
* 7) The base color as the text color against the base color at 0.16 opacity as the background color
|
|
52
|
-
*/
|
|
53
|
-
configs({ modes: ['md'], directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ config, title }) => {
|
|
54
|
-
const colors = ['primary', 'secondary', 'tertiary', 'success', 'warning', 'danger', 'light', 'medium', 'dark'];
|
|
55
|
-
test.describe(title('theme'), () => {
|
|
56
|
-
test.beforeEach(({ skip }) => {
|
|
57
|
-
skip.browser('firefox', 'Color contrast ratio is consistent across browsers');
|
|
58
|
-
skip.browser('webkit', 'Color contrast ratio is consistent across browsers');
|
|
59
|
-
});
|
|
60
|
-
for (const color of colors) {
|
|
61
|
-
test(`color "${color}" should pass AA guidelines`, async ({ page }) => {
|
|
62
|
-
await page.setContent(`${styleTestHelpers}
|
|
63
|
-
<main class="ion-color-${color}">
|
|
64
|
-
<p class="ion-color">Hello World</p>
|
|
65
|
-
</main>`, config);
|
|
66
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
67
|
-
expect(results.violations).toEqual([]);
|
|
68
|
-
});
|
|
69
|
-
test(`contrast color on "${color}" background should pass AA guidelines`, async ({ page }) => {
|
|
70
|
-
await page.setContent(`${styleTestHelpers}
|
|
71
|
-
<main class="ion-color-${color}">
|
|
72
|
-
<p class="ion-color-contrast ion-background">Hello World</p>
|
|
73
|
-
</main>`, config);
|
|
74
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
75
|
-
expect(results.violations).toEqual([]);
|
|
76
|
-
});
|
|
77
|
-
test(`contrast color on "${color}" background shade should pass AA guidelines`, async ({ page }) => {
|
|
78
|
-
await page.setContent(`${styleTestHelpers}
|
|
79
|
-
<main class="ion-color-${color}">
|
|
80
|
-
<p class="ion-color-contrast ion-background-shade">Hello World</p>
|
|
81
|
-
</main>`, config);
|
|
82
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
83
|
-
expect(results.violations).toEqual([]);
|
|
84
|
-
});
|
|
85
|
-
test(`contrast color on "${color}" background tint should pass AA guidelines`, async ({ page }) => {
|
|
86
|
-
await page.setContent(`${styleTestHelpers}
|
|
87
|
-
<main class="ion-color-${color}">
|
|
88
|
-
<p class="ion-color-contrast ion-background-tint">Hello World</p>
|
|
89
|
-
</main>`, config);
|
|
90
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
91
|
-
expect(results.violations).toEqual([]);
|
|
92
|
-
});
|
|
93
|
-
test(`color "${color}" on 0.08 opacity background should pass AA guidelines`, async ({ page }) => {
|
|
94
|
-
await page.setContent(`${styleTestHelpers}
|
|
95
|
-
<main class="ion-color-${color}">
|
|
96
|
-
<p class="ion-color ion-background-opacity-08">Hello World</p>
|
|
97
|
-
</main>`, config);
|
|
98
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
99
|
-
expect(results.violations).toEqual([]);
|
|
100
|
-
});
|
|
101
|
-
test(`color "${color}" on 0.12 opacity background should pass AA guidelines`, async ({ page }) => {
|
|
102
|
-
await page.setContent(`${styleTestHelpers}
|
|
103
|
-
<main class="ion-color-${color}">
|
|
104
|
-
<p class="ion-color ion-background-opacity-12">Hello World</p>
|
|
105
|
-
</main>`, config);
|
|
106
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
107
|
-
expect(results.violations).toEqual([]);
|
|
108
|
-
});
|
|
109
|
-
test(`color "${color}" on 0.16 opacity background should pass AA guidelines`, async ({ page }) => {
|
|
110
|
-
await page.setContent(`${styleTestHelpers}
|
|
111
|
-
<main class="ion-color-${color}">
|
|
112
|
-
<p class="ion-color ion-background-opacity-16">Hello World</p>
|
|
113
|
-
</main>`, config);
|
|
114
|
-
const results = await new AxeBuilder({ page }).analyze();
|
|
115
|
-
expect(results.violations).toEqual([]);
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
configs({ modes: ['md'], directions: ['ltr'], palettes: ['high-contrast', 'high-contrast-dark'] }).forEach(({ config, title }) => {
|
|
121
|
-
const colors = ['primary', 'secondary', 'tertiary', 'success', 'warning', 'danger', 'light', 'medium', 'dark'];
|
|
122
|
-
test.describe(title('theme'), () => {
|
|
123
|
-
test.beforeEach(({ skip }) => {
|
|
124
|
-
skip.browser('firefox', 'Color contrast ratio is consistent across browsers');
|
|
125
|
-
skip.browser('webkit', 'Color contrast ratio is consistent across browsers');
|
|
126
|
-
});
|
|
127
|
-
for (const color of colors) {
|
|
128
|
-
test(`color "${color}" should pass AAA guidelines`, async ({ page }) => {
|
|
129
|
-
await page.setContent(`${styleTestHelpers}
|
|
130
|
-
<main class="ion-color-${color}">
|
|
131
|
-
<p class="ion-color">Hello World</p>
|
|
132
|
-
</main>`, config);
|
|
133
|
-
const results = await new AxeBuilder({ page })
|
|
134
|
-
.options({ rules: { 'color-contrast-enhanced': { enabled: true } } })
|
|
135
|
-
.analyze();
|
|
136
|
-
expect(results.violations).toEqual([]);
|
|
137
|
-
});
|
|
138
|
-
test(`contrast color on "${color}" background should pass AAA guidelines`, async ({ page }) => {
|
|
139
|
-
await page.setContent(`${styleTestHelpers}
|
|
140
|
-
<main class="ion-color-${color}">
|
|
141
|
-
<p class="ion-color-contrast ion-background">Hello World</p>
|
|
142
|
-
</main>`, config);
|
|
143
|
-
const results = await new AxeBuilder({ page })
|
|
144
|
-
.options({ rules: { 'color-contrast-enhanced': { enabled: true } } })
|
|
145
|
-
.analyze();
|
|
146
|
-
expect(results.violations).toEqual([]);
|
|
147
|
-
});
|
|
148
|
-
test(`contrast color on "${color}" background shade should pass AAA guidelines`, async ({ page }) => {
|
|
149
|
-
await page.setContent(`${styleTestHelpers}
|
|
150
|
-
<main class="ion-color-${color}">
|
|
151
|
-
<p class="ion-color-contrast ion-background-shade">Hello World</p>
|
|
152
|
-
</main>`, config);
|
|
153
|
-
const results = await new AxeBuilder({ page })
|
|
154
|
-
.options({ rules: { 'color-contrast-enhanced': { enabled: true } } })
|
|
155
|
-
.analyze();
|
|
156
|
-
expect(results.violations).toEqual([]);
|
|
157
|
-
});
|
|
158
|
-
test(`contrast color on "${color}" background tint should pass AAA guidelines`, async ({ page }) => {
|
|
159
|
-
await page.setContent(`${styleTestHelpers}
|
|
160
|
-
<main class="ion-color-${color}">
|
|
161
|
-
<p class="ion-color-contrast ion-background-tint">Hello World</p>
|
|
162
|
-
</main>`, config);
|
|
163
|
-
const results = await new AxeBuilder({ page })
|
|
164
|
-
.options({ rules: { 'color-contrast-enhanced': { enabled: true } } })
|
|
165
|
-
.analyze();
|
|
166
|
-
expect(results.violations).toEqual([]);
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
});
|
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { createAnimation } from "../animation";
|
|
5
|
-
import { getTimeGivenProgression } from "../cubic-bezier";
|
|
6
|
-
describe('Animation Class', () => {
|
|
7
|
-
describe('progressEnd callbacks', () => {
|
|
8
|
-
test('coerced state should be reset before onFinish runs', (done) => {
|
|
9
|
-
const el = document.createElement('div');
|
|
10
|
-
const animation = createAnimation()
|
|
11
|
-
.addElement(el)
|
|
12
|
-
.fromTo('transform', 'translateX(0px)', 'translateX(100px)')
|
|
13
|
-
.duration(50);
|
|
14
|
-
animation
|
|
15
|
-
.onFinish(() => {
|
|
16
|
-
expect(animation.getDirection()).toBe('normal');
|
|
17
|
-
expect(animation.getDuration()).toBe(50);
|
|
18
|
-
done();
|
|
19
|
-
})
|
|
20
|
-
.progressEnd(0, 0.5, 10);
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
describe('play()', () => {
|
|
24
|
-
it('should resolve when the animation is cancelled', async () => {
|
|
25
|
-
// Tell Jest to expect 1 assertion for async code
|
|
26
|
-
expect.assertions(1);
|
|
27
|
-
const el = document.createElement('div');
|
|
28
|
-
const animation = createAnimation()
|
|
29
|
-
.addElement(el)
|
|
30
|
-
.fromTo('transform', 'translateX(0px)', 'translateX(100px)')
|
|
31
|
-
.duration(100000);
|
|
32
|
-
const animationPromise = animation.play();
|
|
33
|
-
animation.stop();
|
|
34
|
-
// Expect that the promise resolves and returns undefined
|
|
35
|
-
expect(animationPromise).resolves.toEqual(undefined);
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
describe('isRunning()', () => {
|
|
39
|
-
let animation;
|
|
40
|
-
beforeEach(() => {
|
|
41
|
-
animation = createAnimation();
|
|
42
|
-
});
|
|
43
|
-
it('should not be running initially', () => {
|
|
44
|
-
expect(animation.isRunning()).toEqual(false);
|
|
45
|
-
});
|
|
46
|
-
it('should not be running due to not having keyframes', () => {
|
|
47
|
-
animation.play();
|
|
48
|
-
expect(animation.isRunning()).toEqual(false);
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
describe('addElement()', () => {
|
|
52
|
-
let animation;
|
|
53
|
-
beforeEach(() => {
|
|
54
|
-
animation = createAnimation();
|
|
55
|
-
});
|
|
56
|
-
it('should add 1 element', () => {
|
|
57
|
-
const el = document.createElement('p');
|
|
58
|
-
animation.addElement(el);
|
|
59
|
-
expect(animation.elements.length).toEqual(1);
|
|
60
|
-
});
|
|
61
|
-
it('should add multiple elements', () => {
|
|
62
|
-
const els = [document.createElement('p'), document.createElement('p'), document.createElement('p')];
|
|
63
|
-
animation.addElement(els);
|
|
64
|
-
expect(animation.elements.length).toEqual(els.length);
|
|
65
|
-
});
|
|
66
|
-
it('should not error when trying to add null or undefined', () => {
|
|
67
|
-
const el = document.createElement('p');
|
|
68
|
-
animation.addElement(el);
|
|
69
|
-
animation.addElement(null);
|
|
70
|
-
animation.addElement(undefined);
|
|
71
|
-
expect(animation.elements.length).toEqual(1);
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
describe('addAnimation()', () => {
|
|
75
|
-
let animation;
|
|
76
|
-
beforeEach(() => {
|
|
77
|
-
animation = createAnimation();
|
|
78
|
-
});
|
|
79
|
-
it('should add 1 animation', () => {
|
|
80
|
-
const newAnimation = createAnimation();
|
|
81
|
-
animation.addAnimation(newAnimation);
|
|
82
|
-
expect(animation.childAnimations.length).toEqual(1);
|
|
83
|
-
});
|
|
84
|
-
it('should add multiple animations', () => {
|
|
85
|
-
animation.addAnimation([createAnimation(), createAnimation(), createAnimation()]);
|
|
86
|
-
expect(animation.childAnimations.length).toEqual(3);
|
|
87
|
-
});
|
|
88
|
-
it('should not error when trying to add null or undefined', () => {
|
|
89
|
-
animation.addAnimation(null);
|
|
90
|
-
animation.addAnimation(undefined);
|
|
91
|
-
expect(animation.childAnimations.length).toEqual(0);
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
describe('Animation Keyframes', () => {
|
|
95
|
-
let animation;
|
|
96
|
-
beforeEach(() => {
|
|
97
|
-
animation = createAnimation();
|
|
98
|
-
});
|
|
99
|
-
it('should generate a keyframe', () => {
|
|
100
|
-
animation.keyframes([
|
|
101
|
-
{ transform: 'scale(1)', opacity: 1, offset: 0 },
|
|
102
|
-
{ transform: 'scale(0.5)', opacity: 0.5, offset: 0.5 },
|
|
103
|
-
{ transform: 'scale(0)', opacity: 0, offset: 1 },
|
|
104
|
-
]);
|
|
105
|
-
expect(animation.getKeyframes().length).toEqual(3);
|
|
106
|
-
});
|
|
107
|
-
it('should set the from keyframe properly', () => {
|
|
108
|
-
animation.from('opacity', 0).from('background', 'red').from('color', 'purple');
|
|
109
|
-
const keyframes = animation.getKeyframes();
|
|
110
|
-
expect(keyframes.length).toEqual(1);
|
|
111
|
-
expect(keyframes[0]).toEqual({
|
|
112
|
-
opacity: 0,
|
|
113
|
-
color: 'purple',
|
|
114
|
-
background: 'red',
|
|
115
|
-
offset: 0,
|
|
116
|
-
});
|
|
117
|
-
});
|
|
118
|
-
it('should set the to keyframe properly', () => {
|
|
119
|
-
animation.to('opacity', 0).to('background', 'red').to('color', 'purple');
|
|
120
|
-
const keyframes = animation.getKeyframes();
|
|
121
|
-
expect(keyframes.length).toEqual(1);
|
|
122
|
-
expect(keyframes[0]).toEqual({
|
|
123
|
-
opacity: 0,
|
|
124
|
-
color: 'purple',
|
|
125
|
-
background: 'red',
|
|
126
|
-
offset: 1,
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
it('should mix keyframes and fromTo properly', () => {
|
|
130
|
-
animation
|
|
131
|
-
.keyframes([
|
|
132
|
-
{ offset: 0, background: 'red' },
|
|
133
|
-
{ offset: 0.99, background: 'blue' },
|
|
134
|
-
{ offset: 1, background: 'green' },
|
|
135
|
-
])
|
|
136
|
-
.fromTo('opacity', 0, 1);
|
|
137
|
-
const keyframes = animation.getKeyframes();
|
|
138
|
-
expect(keyframes.length).toEqual(3);
|
|
139
|
-
expect(keyframes[0]).toEqual({
|
|
140
|
-
opacity: 0,
|
|
141
|
-
background: 'red',
|
|
142
|
-
offset: 0,
|
|
143
|
-
});
|
|
144
|
-
expect(keyframes[1]).toEqual({
|
|
145
|
-
background: 'blue',
|
|
146
|
-
offset: 0.99,
|
|
147
|
-
});
|
|
148
|
-
expect(keyframes[2]).toEqual({
|
|
149
|
-
opacity: 1,
|
|
150
|
-
background: 'green',
|
|
151
|
-
offset: 1,
|
|
152
|
-
});
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
describe('Animation Config Methods', () => {
|
|
156
|
-
let animation;
|
|
157
|
-
beforeEach(() => {
|
|
158
|
-
animation = createAnimation();
|
|
159
|
-
});
|
|
160
|
-
it('should get "linear" when easing not set', () => {
|
|
161
|
-
expect(animation.getEasing()).toEqual('linear');
|
|
162
|
-
});
|
|
163
|
-
it('should get parent easing when child easing is not set', () => {
|
|
164
|
-
const childAnimation = createAnimation();
|
|
165
|
-
animation.addAnimation(childAnimation).easing('ease-in-out');
|
|
166
|
-
expect(childAnimation.getEasing()).toEqual('ease-in-out');
|
|
167
|
-
});
|
|
168
|
-
it('should get prefer child easing over parent easing', () => {
|
|
169
|
-
const childAnimation = createAnimation();
|
|
170
|
-
childAnimation.easing('linear');
|
|
171
|
-
animation.addAnimation(childAnimation).easing('ease-in-out');
|
|
172
|
-
expect(childAnimation.getEasing()).toEqual('linear');
|
|
173
|
-
});
|
|
174
|
-
it('should get linear easing when forceLinear is set', () => {
|
|
175
|
-
animation.easing('ease-in-out');
|
|
176
|
-
animation.progressStart(true);
|
|
177
|
-
expect(animation.getEasing()).toEqual('linear');
|
|
178
|
-
animation.progressEnd(0, 0);
|
|
179
|
-
expect(animation.getEasing()).toEqual('ease-in-out');
|
|
180
|
-
});
|
|
181
|
-
it('should get 0 when duration not set', () => {
|
|
182
|
-
expect(animation.getDuration()).toEqual(0);
|
|
183
|
-
});
|
|
184
|
-
it('should get parent duration when child duration is not set', () => {
|
|
185
|
-
const childAnimation = createAnimation();
|
|
186
|
-
animation.addAnimation(childAnimation).duration(500);
|
|
187
|
-
expect(childAnimation.getDuration()).toEqual(500);
|
|
188
|
-
});
|
|
189
|
-
it('should get prefer child duration over parent duration', () => {
|
|
190
|
-
const childAnimation = createAnimation();
|
|
191
|
-
childAnimation.duration(500);
|
|
192
|
-
animation.addAnimation(childAnimation).duration(1000);
|
|
193
|
-
expect(childAnimation.getDuration()).toEqual(500);
|
|
194
|
-
});
|
|
195
|
-
it('should get 0 when delay not set', () => {
|
|
196
|
-
expect(animation.getDelay()).toEqual(0);
|
|
197
|
-
});
|
|
198
|
-
it('should get parent delay when child delay is not set', () => {
|
|
199
|
-
const childAnimation = createAnimation();
|
|
200
|
-
animation.addAnimation(childAnimation).delay(500);
|
|
201
|
-
expect(childAnimation.getDelay()).toEqual(500);
|
|
202
|
-
});
|
|
203
|
-
it('should get prefer child delay over parent delay', () => {
|
|
204
|
-
const childAnimation = createAnimation();
|
|
205
|
-
childAnimation.delay(500);
|
|
206
|
-
animation.addAnimation(childAnimation).delay(1000);
|
|
207
|
-
expect(childAnimation.getDelay()).toEqual(500);
|
|
208
|
-
});
|
|
209
|
-
it('should get 1 when iterations not set', () => {
|
|
210
|
-
expect(animation.getIterations()).toEqual(1);
|
|
211
|
-
});
|
|
212
|
-
it('should get parent iterations when child iterations is not set', () => {
|
|
213
|
-
const childAnimation = createAnimation();
|
|
214
|
-
animation.addAnimation(childAnimation).iterations(2);
|
|
215
|
-
expect(childAnimation.getIterations()).toEqual(2);
|
|
216
|
-
});
|
|
217
|
-
it('should get prefer child iterations over parent iterations', () => {
|
|
218
|
-
const childAnimation = createAnimation();
|
|
219
|
-
childAnimation.iterations(2);
|
|
220
|
-
animation.addAnimation(childAnimation).iterations(1);
|
|
221
|
-
expect(childAnimation.getIterations()).toEqual(2);
|
|
222
|
-
});
|
|
223
|
-
it('should get "both" when fill not set', () => {
|
|
224
|
-
expect(animation.getFill()).toEqual('both');
|
|
225
|
-
});
|
|
226
|
-
it('should get parent fill when child fill is not set', () => {
|
|
227
|
-
const childAnimation = createAnimation();
|
|
228
|
-
animation.addAnimation(childAnimation).fill('both');
|
|
229
|
-
expect(childAnimation.getFill()).toEqual('both');
|
|
230
|
-
});
|
|
231
|
-
it('should get prefer child fill over parent fill', () => {
|
|
232
|
-
const childAnimation = createAnimation();
|
|
233
|
-
childAnimation.fill('none');
|
|
234
|
-
animation.addAnimation(childAnimation).fill('forwards');
|
|
235
|
-
expect(childAnimation.getFill()).toEqual('none');
|
|
236
|
-
});
|
|
237
|
-
it('should get "normal" when direction not set', () => {
|
|
238
|
-
expect(animation.getDirection()).toEqual('normal');
|
|
239
|
-
});
|
|
240
|
-
it('should get parent direction when child direction is not set', () => {
|
|
241
|
-
const childAnimation = createAnimation();
|
|
242
|
-
animation.addAnimation(childAnimation).direction('alternate');
|
|
243
|
-
expect(childAnimation.getDirection()).toEqual('alternate');
|
|
244
|
-
});
|
|
245
|
-
it('should get prefer child direction over parent direction', () => {
|
|
246
|
-
const childAnimation = createAnimation();
|
|
247
|
-
childAnimation.direction('alternate-reverse');
|
|
248
|
-
animation.addAnimation(childAnimation).direction('normal');
|
|
249
|
-
expect(childAnimation.getDirection()).toEqual('alternate-reverse');
|
|
250
|
-
});
|
|
251
|
-
});
|
|
252
|
-
});
|
|
253
|
-
describe('cubic-bezier conversion', () => {
|
|
254
|
-
describe('should properly get a time value (x value) given a progression value (y value)', () => {
|
|
255
|
-
it('cubic-bezier(0.32, 0.72, 0, 1)', () => {
|
|
256
|
-
const equation = [
|
|
257
|
-
[0, 0],
|
|
258
|
-
[0.32, 0.72],
|
|
259
|
-
[0, 1],
|
|
260
|
-
[1, 1],
|
|
261
|
-
];
|
|
262
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.5), [
|
|
263
|
-
0.16,
|
|
264
|
-
]);
|
|
265
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.97), [
|
|
266
|
-
0.56,
|
|
267
|
-
]);
|
|
268
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.33), [
|
|
269
|
-
0.11,
|
|
270
|
-
]);
|
|
271
|
-
});
|
|
272
|
-
it('cubic-bezier(1, 0, 0.68, 0.28)', () => {
|
|
273
|
-
const equation = [
|
|
274
|
-
[0, 0],
|
|
275
|
-
[1, 0],
|
|
276
|
-
[0.68, 0.28],
|
|
277
|
-
[1, 1],
|
|
278
|
-
];
|
|
279
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.08), [
|
|
280
|
-
0.6,
|
|
281
|
-
]);
|
|
282
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.5), [
|
|
283
|
-
0.84,
|
|
284
|
-
]);
|
|
285
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.94), [
|
|
286
|
-
0.98,
|
|
287
|
-
]);
|
|
288
|
-
});
|
|
289
|
-
it('cubic-bezier(0.4, 0, 0.6, 1)', () => {
|
|
290
|
-
const equation = [
|
|
291
|
-
[0, 0],
|
|
292
|
-
[0.4, 0],
|
|
293
|
-
[0.6, 1],
|
|
294
|
-
[1, 1],
|
|
295
|
-
];
|
|
296
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.39), [
|
|
297
|
-
0.43,
|
|
298
|
-
]);
|
|
299
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.03), [
|
|
300
|
-
0.11,
|
|
301
|
-
]);
|
|
302
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.89), [
|
|
303
|
-
0.78,
|
|
304
|
-
]);
|
|
305
|
-
});
|
|
306
|
-
it('cubic-bezier(0, 0, 0.2, 1)', () => {
|
|
307
|
-
const equation = [
|
|
308
|
-
[0, 0],
|
|
309
|
-
[0, 0],
|
|
310
|
-
[0.2, 1],
|
|
311
|
-
[1, 1],
|
|
312
|
-
];
|
|
313
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.95), [
|
|
314
|
-
0.71,
|
|
315
|
-
]);
|
|
316
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.1), [
|
|
317
|
-
0.03,
|
|
318
|
-
]);
|
|
319
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 0.7), [
|
|
320
|
-
0.35,
|
|
321
|
-
]);
|
|
322
|
-
});
|
|
323
|
-
it('cubic-bezier(0.32, 0.72, 0, 1) (with out of bounds progression)', () => {
|
|
324
|
-
const equation = [
|
|
325
|
-
[0, 0],
|
|
326
|
-
[0.05, 0.2],
|
|
327
|
-
[0.14, 1.72],
|
|
328
|
-
[1, 1],
|
|
329
|
-
];
|
|
330
|
-
expect(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 1.32)[0]).toBeUndefined();
|
|
331
|
-
expect(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], -0.32)[0]).toBeUndefined();
|
|
332
|
-
});
|
|
333
|
-
it('cubic-bezier(0.21, 1.71, 0.88, 0.9) (multiple solutions)', () => {
|
|
334
|
-
const equation = [
|
|
335
|
-
[0, 0],
|
|
336
|
-
[0.21, 1.71],
|
|
337
|
-
[0.88, 0.9],
|
|
338
|
-
[1, 1],
|
|
339
|
-
];
|
|
340
|
-
shouldApproximatelyEqual(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 1.02), [0.35, 0.87]);
|
|
341
|
-
});
|
|
342
|
-
it('cubic-bezier(0.32, 0.72, 0, 1) (with out of bounds progression)', () => {
|
|
343
|
-
const equation = [
|
|
344
|
-
[0, 0],
|
|
345
|
-
[0.05, 0.2],
|
|
346
|
-
[0.14, 1.72],
|
|
347
|
-
[1, 1],
|
|
348
|
-
];
|
|
349
|
-
expect(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], 1.32)).toEqual([]);
|
|
350
|
-
expect(getTimeGivenProgression(equation[0], equation[1], equation[2], equation[3], -0.32)).toEqual([]);
|
|
351
|
-
});
|
|
352
|
-
});
|
|
353
|
-
});
|
|
354
|
-
const shouldApproximatelyEqual = (givenValues, expectedValues) => {
|
|
355
|
-
givenValues.forEach((givenValue, i) => {
|
|
356
|
-
expect(Math.abs(expectedValues[i] - givenValue)).toBeLessThanOrEqual(0.01);
|
|
357
|
-
});
|
|
358
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { configs, test } from "../../../test/playwright/index";
|
|
5
|
-
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
6
|
-
test.describe(title('animation: animationbuilder'), async () => {
|
|
7
|
-
test('backwards-compatibility animation', async ({ page }) => {
|
|
8
|
-
await page.goto('/src/utils/animation/test/animationbuilder', config);
|
|
9
|
-
await testNavigation(page);
|
|
10
|
-
});
|
|
11
|
-
test('ios-transition web', async ({ page }) => {
|
|
12
|
-
await page.goto('/src/utils/animation/test/animationbuilder', config);
|
|
13
|
-
await testNavigation(page);
|
|
14
|
-
});
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
const testNavigation = async (page) => {
|
|
18
|
-
const ionRouteDidChange = await page.spyOnEvent('ionRouteDidChange');
|
|
19
|
-
await page.click('page-root ion-button.next');
|
|
20
|
-
await ionRouteDidChange.next();
|
|
21
|
-
page.click('page-one ion-button.next');
|
|
22
|
-
await ionRouteDidChange.next();
|
|
23
|
-
page.click('page-two ion-button.next');
|
|
24
|
-
await ionRouteDidChange.next();
|
|
25
|
-
page.click('page-three ion-back-button');
|
|
26
|
-
await ionRouteDidChange.next();
|
|
27
|
-
page.click('page-two ion-back-button');
|
|
28
|
-
await ionRouteDidChange.next();
|
|
29
|
-
page.click('page-one ion-back-button');
|
|
30
|
-
await ionRouteDidChange.next();
|
|
31
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { configs, test } from "../../../test/playwright/index";
|
|
5
|
-
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
6
|
-
test.describe(title('animation: basic'), async () => {
|
|
7
|
-
test(`should resolve using web animations`, async ({ page }) => {
|
|
8
|
-
await page.goto('/src/utils/animation/test/basic', config);
|
|
9
|
-
await testPage(page);
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
const testPage = async (page) => {
|
|
14
|
-
const ionAnimationFinished = await page.spyOnEvent('ionAnimationFinished');
|
|
15
|
-
await page.click('.play');
|
|
16
|
-
await ionAnimationFinished.next();
|
|
17
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { configs, test } from "../../../test/playwright/index";
|
|
6
|
-
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
|
-
test.describe(title('animation: display'), async () => {
|
|
8
|
-
test(`should resolve using web animations`, async ({ page }) => {
|
|
9
|
-
await page.goto('/src/utils/animation/test/display', config);
|
|
10
|
-
await testDisplay(page);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
const testDisplay = async (page) => {
|
|
15
|
-
const ionAnimationFinished = await page.spyOnEvent('ionAnimationFinished');
|
|
16
|
-
await page.click('.play');
|
|
17
|
-
await ionAnimationFinished.next();
|
|
18
|
-
await expect(ionAnimationFinished).toHaveReceivedEventDetail('AnimationBFinished');
|
|
19
|
-
await ionAnimationFinished.next();
|
|
20
|
-
await expect(ionAnimationFinished).toHaveReceivedEventDetail('AnimationAFinished');
|
|
21
|
-
await ionAnimationFinished.next();
|
|
22
|
-
await expect(ionAnimationFinished).toHaveReceivedEventDetail('AnimationRootFinished');
|
|
23
|
-
await expect(ionAnimationFinished).toHaveReceivedEventTimes(3);
|
|
24
|
-
};
|
|
@@ -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 "../../../test/playwright/index";
|
|
6
|
-
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
|
|
7
|
-
test.describe(title('animation: hooks'), async () => {
|
|
8
|
-
test(`should fire hooks using web animations`, async ({ page }) => {
|
|
9
|
-
await page.goto('/src/utils/animation/test/hooks', config);
|
|
10
|
-
await testHooks(page);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
const testHooks = async (page) => {
|
|
15
|
-
const square = page.locator('.square-a');
|
|
16
|
-
const ionAnimationFinished = await page.spyOnEvent('ionAnimationFinished');
|
|
17
|
-
const beforeRead = await page.spyOnEvent('beforeRead');
|
|
18
|
-
const beforeWrite = await page.spyOnEvent('beforeWrite');
|
|
19
|
-
const afterRead = await page.spyOnEvent('afterRead');
|
|
20
|
-
const afterWrite = await page.spyOnEvent('afterWrite');
|
|
21
|
-
// Test initial classes
|
|
22
|
-
await expect(square).toHaveClass(/hello-world/);
|
|
23
|
-
await expect(square).not.toHaveClass(/test-class/);
|
|
24
|
-
// Test initial styles
|
|
25
|
-
await expect(square).toHaveCSS('padding-bottom', '20px');
|
|
26
|
-
await expect(square).toHaveCSS('color', 'rgb(0, 0, 0)');
|
|
27
|
-
await page.click('.play');
|
|
28
|
-
// Test beforeRemoveClass and beforeAddClass
|
|
29
|
-
await expect(square).not.toHaveClass(/hello-world/);
|
|
30
|
-
await expect(square).toHaveClass(/test-class/);
|
|
31
|
-
// Test beforeStyles and beforeClearStyles
|
|
32
|
-
await expect(square).toHaveCSS('padding-bottom', '0px');
|
|
33
|
-
await expect(square).toHaveCSS('color', 'rgb(128, 0, 128)');
|
|
34
|
-
await beforeRead.next();
|
|
35
|
-
await beforeWrite.next();
|
|
36
|
-
await ionAnimationFinished.next();
|
|
37
|
-
await afterRead.next();
|
|
38
|
-
await afterWrite.next();
|
|
39
|
-
// Test afterRemoveClass and afterAddClass
|
|
40
|
-
await expect(square).toHaveClass(/hello-world/);
|
|
41
|
-
await expect(square).not.toHaveClass(/test-class/);
|
|
42
|
-
// Test afterStyles and afterClearStyles
|
|
43
|
-
await expect(square).toHaveCSS('padding-bottom', '20px');
|
|
44
|
-
await expect(square).toHaveCSS('color', 'rgb(0, 0, 0)');
|
|
45
|
-
};
|