@ionic/core 8.8.9-dev.11780493937.17fe092d → 8.8.9-dev.11780683233.1c5e9d9b
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/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-gallery-item.d.ts +11 -0
- package/components/ion-gallery-item.js +4 -0
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/p-7kL3tltU.js +4 -0
- package/components/{p-CPm7KgOP.js → p-BFZBl0TS.js} +1 -1
- package/components/{p-pvh0bjpw.js → p-BVi3gqm6.js} +1 -1
- package/components/{p-D6g8ud1e.js → p-BVk7LVs0.js} +1 -1
- package/components/{p-B9MABkWm.js → p-BdUtZxku.js} +1 -1
- package/components/{p-CzC_ZSgb.js → p-Be8tHurp.js} +1 -1
- package/components/{p-C8kBejTT.js → p-CG3ZV6ON.js} +1 -1
- package/components/{p-CBS0sBAa.js → p-CaqTORfV.js} +1 -1
- package/components/{p-D2mReIu8.js → p-CkA0SI9d.js} +1 -1
- package/components/{p-DAXhdEp5.js → p-CsakePQg.js} +1 -1
- package/components/{p-CgSn4J7d.js → p-D1gEOh9B.js} +1 -1
- package/components/{p-IYdTEyGb.js → p-D3qBmaqi.js} +1 -1
- package/components/{p-Do7NMUwR.js → p-DGn-jQpr.js} +1 -1
- package/components/p-DH4JHV73.js +4 -0
- package/components/{p-DCS3n7Uq.js → p-DYK0qX7x.js} +1 -1
- package/components/{p-Dp2x0MpA.js → p-DfV7pOtM.js} +1 -1
- package/components/{p-BhkGOA7t.js → p-F3N54OKJ.js} +1 -1
- package/components/{p-CgZLVOCc.js → p-MPREydZp.js} +1 -1
- package/components/{p-kKYBfhbe.js → p-OFfrVDLw.js} +1 -1
- package/components/p-iZO3WzZT.js +4 -0
- package/components/p-qclL-gNR.js +4 -0
- package/dist/cjs/ion-app_8.cjs.entry.js +33 -291
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-gallery-item.cjs.entry.js +79 -0
- package/dist/cjs/ion-gallery.cjs.entry.js +96 -14
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/content/content.css +0 -56
- package/dist/collection/components/footer/footer.ios.css +0 -13
- package/dist/collection/components/footer/footer.js +18 -65
- package/dist/collection/components/footer/footer.md.css +0 -13
- package/dist/collection/components/footer/footer.utils.js +0 -9
- package/dist/collection/components/gallery/gallery.css +1 -86
- package/dist/collection/components/gallery/gallery.js +85 -16
- package/dist/collection/components/gallery/test/utils.js +13 -13
- package/dist/collection/components/gallery-item/gallery-item.css +87 -0
- package/dist/collection/components/gallery-item/gallery-item.js +95 -0
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.ionic.css +0 -75
- package/dist/collection/components/header/header.ios.css +0 -75
- package/dist/collection/components/header/header.js +11 -41
- package/dist/collection/components/header/header.md.css +0 -75
- package/dist/collection/components/header/header.utils.js +0 -9
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/css-value-validation.js +14 -0
- package/dist/docs.json +96 -20
- package/dist/esm/ion-app_8.entry.js +33 -291
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-gallery-item.entry.js +77 -0
- package/dist/esm/ion-gallery.entry.js +96 -14
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/html.html-data.json +45 -9
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f7ca50a5.entry.js → p-0592c549.entry.js} +1 -1
- package/dist/ionic/{p-67c2d349.entry.js → p-0aa510cd.entry.js} +1 -1
- package/dist/ionic/{p-9ccfb733.entry.js → p-0cd5fd9d.entry.js} +1 -1
- package/dist/ionic/{p-bf0c5a8d.entry.js → p-0e9d4e11.entry.js} +1 -1
- package/dist/ionic/{p-497f6391.entry.js → p-11a38333.entry.js} +1 -1
- package/dist/ionic/{p-0030507d.entry.js → p-1a009a51.entry.js} +1 -1
- package/dist/ionic/{p-7186786e.entry.js → p-23e524f8.entry.js} +1 -1
- package/dist/ionic/{p-1439fecb.entry.js → p-2826761a.entry.js} +1 -1
- package/dist/ionic/{p-93315d96.entry.js → p-2c4170d8.entry.js} +1 -1
- package/dist/ionic/p-2d5a2511.entry.js +4 -0
- package/dist/ionic/{p-7f294078.entry.js → p-3706ea52.entry.js} +1 -1
- package/dist/ionic/{p-b69add0e.entry.js → p-3e376501.entry.js} +1 -1
- package/dist/ionic/{p-c684a3b6.entry.js → p-44597202.entry.js} +1 -1
- package/dist/ionic/{p-8458f1b6.entry.js → p-4a27a79a.entry.js} +1 -1
- package/dist/ionic/{p-b7235e85.entry.js → p-4f07113d.entry.js} +1 -1
- package/dist/ionic/{p-88e7f52a.entry.js → p-52b85650.entry.js} +1 -1
- package/dist/ionic/{p-199bffb3.entry.js → p-5a6e0ae1.entry.js} +1 -1
- package/dist/ionic/p-6906dca7.entry.js +4 -0
- package/dist/ionic/{p-19a1ff9a.entry.js → p-7b09c19d.entry.js} +1 -1
- package/dist/ionic/{p-76c70824.entry.js → p-7b886782.entry.js} +1 -1
- package/dist/ionic/{p-89eab395.entry.js → p-82c05be2.entry.js} +1 -1
- package/dist/ionic/{p-b653f4c2.entry.js → p-83c0eb9b.entry.js} +1 -1
- package/dist/ionic/{p-b4fd91b8.entry.js → p-85ff1314.entry.js} +1 -1
- package/dist/ionic/{p-3f18dfe9.entry.js → p-8eca5ba1.entry.js} +1 -1
- package/dist/ionic/{p-f08edb25.entry.js → p-96f52444.entry.js} +1 -1
- package/dist/ionic/{p-f167c55c.entry.js → p-a3b047e0.entry.js} +1 -1
- package/dist/ionic/{p-40d9e029.entry.js → p-a73caa5e.entry.js} +1 -1
- package/dist/ionic/{p-1ad16c09.entry.js → p-b0dfd018.entry.js} +1 -1
- package/dist/ionic/{p-a3f9be52.entry.js → p-b6130fe4.entry.js} +1 -1
- package/dist/ionic/{p-084c2623.entry.js → p-c5f745b4.entry.js} +1 -1
- package/dist/ionic/{p-52ed96a8.entry.js → p-c781241c.entry.js} +1 -1
- package/dist/ionic/p-cb154afe.entry.js +4 -0
- package/dist/ionic/{p-031df892.entry.js → p-cde69f38.entry.js} +1 -1
- package/dist/ionic/p-d6f0a698.entry.js +4 -0
- package/dist/ionic/{p-dd2981d0.entry.js → p-d9804d04.entry.js} +1 -1
- package/dist/ionic/{p-7054a1b9.entry.js → p-e342b205.entry.js} +1 -1
- package/dist/ionic/p-e4071bf8.entry.js +4 -0
- package/dist/ionic/{p-9dfbe98d.entry.js → p-e8916b04.entry.js} +1 -1
- package/dist/ionic/{p-dac1d4de.entry.js → p-f10f8f95.entry.js} +1 -1
- package/dist/ionic/p-fdcbe59a.entry.js +4 -0
- package/dist/types/components/footer/footer.d.ts +2 -12
- package/dist/types/components/footer/footer.utils.d.ts +0 -1
- package/dist/types/components/gallery/gallery.d.ts +33 -8
- package/dist/types/components/gallery/test/utils.d.ts +1 -1
- package/dist/types/components/gallery-item/gallery-item.d.ts +35 -0
- package/dist/types/components/header/header.d.ts +3 -10
- package/dist/types/components/header/header.utils.d.ts +0 -1
- package/dist/types/components.d.ts +41 -12
- package/dist/types/utils/css-value-validation.d.ts +9 -0
- package/hydrate/index.js +334 -421
- package/hydrate/index.mjs +334 -421
- package/package.json +1 -1
- package/components/p-BF5oFX1I.js +0 -4
- package/components/p-CpFORZud.js +0 -4
- package/components/p-GElQZ38c.js +0 -4
- package/components/p-d77Zk1DK.js +0 -4
- package/components/p-hdGd8ben.js +0 -4
- package/dist/collection/utils/on-scroll/collapse-hide.utils.js +0 -168
- package/dist/ionic/p-04b5794c.entry.js +0 -4
- package/dist/ionic/p-2aa7567e.entry.js +0 -4
- package/dist/ionic/p-44d483c2.entry.js +0 -4
- package/dist/ionic/p-ad4d0138.entry.js +0 -4
- package/dist/ionic/p-ff09d2a5.entry.js +0 -4
- package/dist/types/utils/on-scroll/collapse-hide.utils.d.ts +0 -26
|
@@ -4,7 +4,8 @@ import type { GalleryColumns, GalleryGap } from './gallery-interface';
|
|
|
4
4
|
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
5
5
|
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
6
6
|
*
|
|
7
|
-
* @slot -
|
|
7
|
+
* @slot - One or more `ion-gallery-item` components, placed in a responsive
|
|
8
|
+
* gallery layout.
|
|
8
9
|
*/
|
|
9
10
|
export declare class Gallery implements ComponentInterface {
|
|
10
11
|
el: HTMLIonGalleryElement;
|
|
@@ -14,6 +15,7 @@ export declare class Gallery implements ComponentInterface {
|
|
|
14
15
|
private hasWarnedInvalidColumns;
|
|
15
16
|
private hasWarnedInvalidGap;
|
|
16
17
|
private hasWarnedUnusedOrder;
|
|
18
|
+
private hasWarnedInvalidItems;
|
|
17
19
|
/**
|
|
18
20
|
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
19
21
|
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
@@ -38,7 +40,8 @@ export declare class Gallery implements ComponentInterface {
|
|
|
38
40
|
/**
|
|
39
41
|
* The space between gallery items. Accepts valid CSS [length-percentage](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/length-percentage)
|
|
40
42
|
* values like `16px`, `1rem`, `20%`, math functions like `calc(10px + 20%)`,
|
|
41
|
-
* or numbers (treated as pixel
|
|
43
|
+
* CSS variables like `var(--app-gallery-gap)`, or numbers (treated as pixel
|
|
44
|
+
* values). Can also be set as a breakpoint map
|
|
42
45
|
* (e.g. `{ xs: '8px', sm: '1rem', md: '24px' }`). Does not accept
|
|
43
46
|
* space-separated values or CSS keyword values like `inherit`, `auto`, etc.
|
|
44
47
|
*/
|
|
@@ -47,6 +50,14 @@ export declare class Gallery implements ComponentInterface {
|
|
|
47
50
|
protected onLayoutOrOrderChanged(): void;
|
|
48
51
|
componentDidLoad(): void;
|
|
49
52
|
disconnectedCallback(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Observe the host and each item for size changes. Items are observed in
|
|
55
|
+
* addition to the host so masonry placement is recomputed when an item's
|
|
56
|
+
* rendered height changes — most importantly when a dynamically added
|
|
57
|
+
* `ion-gallery-item` finishes hydrating, which (unlike an `<img>`) emits no
|
|
58
|
+
* `load` event and does not change the host's measured size while collapsed.
|
|
59
|
+
*/
|
|
60
|
+
private observeResizes;
|
|
50
61
|
/**
|
|
51
62
|
* Listen for the load event on child elements.
|
|
52
63
|
* When the layout is `masonry`, this listener is used to schedule a resize
|
|
@@ -78,9 +89,10 @@ export declare class Gallery implements ComponentInterface {
|
|
|
78
89
|
*/
|
|
79
90
|
private sanitizeColumns;
|
|
80
91
|
/**
|
|
81
|
-
* Normalize a single gap value (`gap` as a number, string
|
|
82
|
-
*
|
|
83
|
-
*
|
|
92
|
+
* Normalize a single gap value (`gap` as a number, a string such as a CSS
|
|
93
|
+
* length-percentage or `var()` reference, or one entry from a `gap`
|
|
94
|
+
* breakpoint map) to a CSS length string. Returns `undefined` when the
|
|
95
|
+
* input cannot be interpreted as a valid CSS length or `var()` reference.
|
|
84
96
|
*/
|
|
85
97
|
private sanitizeGap;
|
|
86
98
|
/**
|
|
@@ -140,10 +152,18 @@ export declare class Gallery implements ComponentInterface {
|
|
|
140
152
|
*/
|
|
141
153
|
private updateResponsiveStyles;
|
|
142
154
|
/**
|
|
143
|
-
* Return
|
|
144
|
-
*
|
|
155
|
+
* Return the `ion-gallery-item` elements to place in the grid. Each item is a
|
|
156
|
+
* direct grid cell. A direct child that is not an `ion-gallery-item` is
|
|
157
|
+
* treated as a pass-through wrapper (e.g. a layout `<div>`): its box is
|
|
158
|
+
* collapsed with `display: contents` so the nested items participate in the
|
|
159
|
+
* gallery grid. Children that contain no `ion-gallery-item` are ignored.
|
|
145
160
|
*/
|
|
146
161
|
private getItems;
|
|
162
|
+
/**
|
|
163
|
+
* Warn when the gallery has content that is not wrapped in an
|
|
164
|
+
* `ion-gallery-item` component.
|
|
165
|
+
*/
|
|
166
|
+
private warnInvalidItems;
|
|
147
167
|
/**
|
|
148
168
|
* Clear the item styles for the given item element.
|
|
149
169
|
* This is used to switch between uniform and masonry layouts.
|
|
@@ -153,9 +173,14 @@ export declare class Gallery implements ComponentInterface {
|
|
|
153
173
|
* Clear placement styles for all items when leaving masonry mode.
|
|
154
174
|
*/
|
|
155
175
|
private clearMasonryStyles;
|
|
176
|
+
/**
|
|
177
|
+
* Whether the item contains any images that have not finished loading.
|
|
178
|
+
* Used to defer masonry placement until the rendered height is final.
|
|
179
|
+
*/
|
|
180
|
+
private hasUnloadedImages;
|
|
156
181
|
/**
|
|
157
182
|
* Convert a rendered item height to the number of grid rows it should span.
|
|
158
|
-
* Returns undefined
|
|
183
|
+
* Returns undefined when the item has images that are not fully loaded yet.
|
|
159
184
|
*/
|
|
160
185
|
private calculateRowSpan;
|
|
161
186
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const sharedStyles = "\n ion-gallery {\n width: 343px;\n }\n\n div {\n color: #fff;\n height: 150px;\n }\n\n
|
|
1
|
+
export declare const sharedStyles = "\n ion-gallery {\n width: 343px;\n }\n\n ion-gallery-item div {\n color: #fff;\n height: 150px;\n }\n\n ion-gallery-item:nth-child(1) div {\n background: #ff6b6b;\n }\n\n ion-gallery-item:nth-child(2) div {\n background: #4ecdc4;\n }\n\n ion-gallery-item:nth-child(3) div {\n background: #ffe66d;\n color: #333;\n }\n\n ion-gallery-item:nth-child(4) div {\n background: #5f27cd;\n }\n\n ion-gallery-item:nth-child(5) div {\n background: #7f8c8d;\n }\n\n ion-gallery-item:nth-child(6) div {\n background: #ff9f43;\n }\n\n ion-gallery-item:nth-child(7) div {\n background: #ff3f34;\n }\n\n ion-gallery-item:nth-child(8) div {\n background: #2ecc71;\n }\n\n ion-gallery-item:nth-child(9) div {\n background: #34495e;\n }\n\n ion-gallery-item:nth-child(10) div {\n background: #1abc9c;\n }\n\n ion-gallery-item:nth-child(11) div {\n background: #e67e22;\n }\n\n ion-gallery-item:nth-child(12) div {\n background: #9b59b6;\n }\n";
|
|
2
2
|
export declare const numberToWords: (value: number) => string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
4
|
+
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
5
|
+
*
|
|
6
|
+
* @slot - The content placed inside of the gallery item. This is typically an
|
|
7
|
+
* `img`, but can be any element (e.g. a `figure` wrapping an image and caption).
|
|
8
|
+
*/
|
|
9
|
+
export declare class GalleryItem implements ComponentInterface {
|
|
10
|
+
private hasWarnedInvalidParent;
|
|
11
|
+
private galleryEl?;
|
|
12
|
+
private galleryClassObserver?;
|
|
13
|
+
el: HTMLIonGalleryItemElement;
|
|
14
|
+
/**
|
|
15
|
+
* The layout of the parent `ion-gallery`, mirrored as a class so the item
|
|
16
|
+
* can apply layout-specific styles (e.g. a square aspect ratio in the
|
|
17
|
+
* `uniform` layout, a bottom margin in the `masonry` layout).
|
|
18
|
+
*/
|
|
19
|
+
galleryLayout?: 'uniform' | 'masonry';
|
|
20
|
+
componentWillLoad(): void;
|
|
21
|
+
componentDidLoad(): void;
|
|
22
|
+
disconnectedCallback(): void;
|
|
23
|
+
private onSlotChange;
|
|
24
|
+
/**
|
|
25
|
+
* Warn when the item is not a descendant of an `ion-gallery`.
|
|
26
|
+
*/
|
|
27
|
+
private warnInvalidParent;
|
|
28
|
+
/**
|
|
29
|
+
* Watch the parent gallery's class list so the item can react to layout
|
|
30
|
+
* changes (the gallery reflects its layout as a `gallery-layout-*` class).
|
|
31
|
+
*/
|
|
32
|
+
private watchGalleryLayoutClasses;
|
|
33
|
+
private syncLayoutClasses;
|
|
34
|
+
render(): any;
|
|
35
|
+
}
|
|
@@ -6,22 +6,17 @@ import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
|
6
6
|
export declare class Header implements ComponentInterface {
|
|
7
7
|
private scrollEl?;
|
|
8
8
|
private contentScrollCallback?;
|
|
9
|
-
private headerHideCleanup?;
|
|
10
9
|
private intersectionObserver?;
|
|
11
10
|
private collapsibleMainHeader?;
|
|
12
11
|
private inheritedAttributes;
|
|
13
|
-
private didLoad;
|
|
14
12
|
el: HTMLElement;
|
|
15
13
|
/**
|
|
16
14
|
* Describes the scroll effect that will be applied to the header.
|
|
15
|
+
* Only applies when the theme is `"ios"`.
|
|
17
16
|
*
|
|
18
|
-
*
|
|
19
|
-
* Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles).
|
|
20
|
-
* - `"hide"` applies to all themes (`"ios"`, `"md"`, and `"ionic"`): the header
|
|
21
|
-
* slides up and fades out after cumulative downward scrolling on the page content,
|
|
22
|
-
* and returns on any upward scroll.
|
|
17
|
+
* Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
23
18
|
*/
|
|
24
|
-
collapse?: 'condense' | 'fade'
|
|
19
|
+
collapse?: 'condense' | 'fade';
|
|
25
20
|
/**
|
|
26
21
|
* If `true`, the header will have a line at the bottom.
|
|
27
22
|
* TODO(ROU-10855): add support for this prop on ios/md themes
|
|
@@ -39,10 +34,8 @@ export declare class Header implements ComponentInterface {
|
|
|
39
34
|
componentWillLoad(): void;
|
|
40
35
|
componentDidLoad(): void;
|
|
41
36
|
componentDidUpdate(): void;
|
|
42
|
-
connectedCallback(): void;
|
|
43
37
|
disconnectedCallback(): void;
|
|
44
38
|
private checkCollapsibleHeader;
|
|
45
|
-
private setupHideHeader;
|
|
46
39
|
private setupFadeHeader;
|
|
47
40
|
private destroyCollapsibleHeader;
|
|
48
41
|
private setupCondenseHeader;
|
|
@@ -22,7 +22,6 @@ export declare const handleToolbarIntersection: (ev: any, // TODO(FW-2832): type
|
|
|
22
22
|
mainHeaderIndex: HeaderIndex, scrollHeaderIndex: HeaderIndex, scrollEl: HTMLElement) => void;
|
|
23
23
|
export declare const setHeaderActive: (headerIndex: HeaderIndex, active?: boolean) => void;
|
|
24
24
|
export declare const scaleLargeTitles: (toolbars?: ToolbarIndex[], scale?: number, transition?: boolean) => void;
|
|
25
|
-
export declare const createHeaderHideInteraction: (headerEl: HTMLElement, scrollEl: HTMLElement) => (() => void);
|
|
26
25
|
export declare const handleHeaderFade: (scrollEl: HTMLElement, baseEl: HTMLElement, condenseHeader: HTMLElement | null) => void;
|
|
27
26
|
/**
|
|
28
27
|
* Get the role type for the ion-header.
|
|
@@ -1454,9 +1454,9 @@ export namespace Components {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
interface IonFooter {
|
|
1456
1456
|
/**
|
|
1457
|
-
* Describes the scroll effect that will be applied to the footer.
|
|
1457
|
+
* Describes the scroll effect that will be applied to the footer. Only applies when the theme is `"ios"`.
|
|
1458
1458
|
*/
|
|
1459
|
-
"collapse"?: 'fade'
|
|
1459
|
+
"collapse"?: 'fade';
|
|
1460
1460
|
/**
|
|
1461
1461
|
* The mode determines the platform behaviors of the component.
|
|
1462
1462
|
*/
|
|
@@ -1478,7 +1478,7 @@ export namespace Components {
|
|
|
1478
1478
|
*/
|
|
1479
1479
|
"columns": GalleryColumns;
|
|
1480
1480
|
/**
|
|
1481
|
-
* The space between gallery items. Accepts valid CSS [length-percentage](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/length-percentage) values like `16px`, `1rem`, `20%`, math functions like `calc(10px + 20%)`, or numbers (treated as pixel values). Can also be set as a breakpoint map (e.g. `{ xs: '8px', sm: '1rem', md: '24px' }`). Does not accept space-separated values or CSS keyword values like `inherit`, `auto`, etc.
|
|
1481
|
+
* The space between gallery items. Accepts valid CSS [length-percentage](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/length-percentage) values like `16px`, `1rem`, `20%`, math functions like `calc(10px + 20%)`, CSS variables like `var(--app-gallery-gap)`, or numbers (treated as pixel values). Can also be set as a breakpoint map (e.g. `{ xs: '8px', sm: '1rem', md: '24px' }`). Does not accept space-separated values or CSS keyword values like `inherit`, `auto`, etc.
|
|
1482
1482
|
* @default DEFAULT_GAP
|
|
1483
1483
|
*/
|
|
1484
1484
|
"gap": GalleryGap;
|
|
@@ -1500,6 +1500,16 @@ export namespace Components {
|
|
|
1500
1500
|
*/
|
|
1501
1501
|
"theme"?: "ios" | "md" | "ionic";
|
|
1502
1502
|
}
|
|
1503
|
+
interface IonGalleryItem {
|
|
1504
|
+
/**
|
|
1505
|
+
* The mode determines the platform behaviors of the component.
|
|
1506
|
+
*/
|
|
1507
|
+
"mode"?: "ios" | "md";
|
|
1508
|
+
/**
|
|
1509
|
+
* The theme determines the visual appearance of the component.
|
|
1510
|
+
*/
|
|
1511
|
+
"theme"?: "ios" | "md" | "ionic";
|
|
1512
|
+
}
|
|
1503
1513
|
interface IonGrid {
|
|
1504
1514
|
/**
|
|
1505
1515
|
* If `true`, the grid will have a fixed width based on the screen size.
|
|
@@ -1517,9 +1527,9 @@ export namespace Components {
|
|
|
1517
1527
|
}
|
|
1518
1528
|
interface IonHeader {
|
|
1519
1529
|
/**
|
|
1520
|
-
* Describes the scroll effect that will be applied to the header.
|
|
1530
|
+
* Describes the scroll effect that will be applied to the header. Only applies when the theme is `"ios"`. Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
1521
1531
|
*/
|
|
1522
|
-
"collapse"?: 'condense' | 'fade'
|
|
1532
|
+
"collapse"?: 'condense' | 'fade';
|
|
1523
1533
|
/**
|
|
1524
1534
|
* If `true`, the header will have a line at the bottom. TODO(ROU-10855): add support for this prop on ios/md themes
|
|
1525
1535
|
* @default false
|
|
@@ -5046,6 +5056,12 @@ declare global {
|
|
|
5046
5056
|
prototype: HTMLIonGalleryElement;
|
|
5047
5057
|
new (): HTMLIonGalleryElement;
|
|
5048
5058
|
};
|
|
5059
|
+
interface HTMLIonGalleryItemElement extends Components.IonGalleryItem, HTMLStencilElement {
|
|
5060
|
+
}
|
|
5061
|
+
var HTMLIonGalleryItemElement: {
|
|
5062
|
+
prototype: HTMLIonGalleryItemElement;
|
|
5063
|
+
new (): HTMLIonGalleryItemElement;
|
|
5064
|
+
};
|
|
5049
5065
|
interface HTMLIonGridElement extends Components.IonGrid, HTMLStencilElement {
|
|
5050
5066
|
}
|
|
5051
5067
|
var HTMLIonGridElement: {
|
|
@@ -6004,6 +6020,7 @@ declare global {
|
|
|
6004
6020
|
"ion-fab-list": HTMLIonFabListElement;
|
|
6005
6021
|
"ion-footer": HTMLIonFooterElement;
|
|
6006
6022
|
"ion-gallery": HTMLIonGalleryElement;
|
|
6023
|
+
"ion-gallery-item": HTMLIonGalleryItemElement;
|
|
6007
6024
|
"ion-grid": HTMLIonGridElement;
|
|
6008
6025
|
"ion-header": HTMLIonHeaderElement;
|
|
6009
6026
|
"ion-img": HTMLIonImgElement;
|
|
@@ -7464,9 +7481,9 @@ declare namespace LocalJSX {
|
|
|
7464
7481
|
}
|
|
7465
7482
|
interface IonFooter {
|
|
7466
7483
|
/**
|
|
7467
|
-
* Describes the scroll effect that will be applied to the footer.
|
|
7484
|
+
* Describes the scroll effect that will be applied to the footer. Only applies when the theme is `"ios"`.
|
|
7468
7485
|
*/
|
|
7469
|
-
"collapse"?: 'fade'
|
|
7486
|
+
"collapse"?: 'fade';
|
|
7470
7487
|
/**
|
|
7471
7488
|
* The mode determines the platform behaviors of the component.
|
|
7472
7489
|
*/
|
|
@@ -7488,7 +7505,7 @@ declare namespace LocalJSX {
|
|
|
7488
7505
|
*/
|
|
7489
7506
|
"columns"?: GalleryColumns;
|
|
7490
7507
|
/**
|
|
7491
|
-
* The space between gallery items. Accepts valid CSS [length-percentage](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/length-percentage) values like `16px`, `1rem`, `20%`, math functions like `calc(10px + 20%)`, or numbers (treated as pixel values). Can also be set as a breakpoint map (e.g. `{ xs: '8px', sm: '1rem', md: '24px' }`). Does not accept space-separated values or CSS keyword values like `inherit`, `auto`, etc.
|
|
7508
|
+
* The space between gallery items. Accepts valid CSS [length-percentage](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/length-percentage) values like `16px`, `1rem`, `20%`, math functions like `calc(10px + 20%)`, CSS variables like `var(--app-gallery-gap)`, or numbers (treated as pixel values). Can also be set as a breakpoint map (e.g. `{ xs: '8px', sm: '1rem', md: '24px' }`). Does not accept space-separated values or CSS keyword values like `inherit`, `auto`, etc.
|
|
7492
7509
|
* @default DEFAULT_GAP
|
|
7493
7510
|
*/
|
|
7494
7511
|
"gap"?: GalleryGap;
|
|
@@ -7510,6 +7527,16 @@ declare namespace LocalJSX {
|
|
|
7510
7527
|
*/
|
|
7511
7528
|
"theme"?: "ios" | "md" | "ionic";
|
|
7512
7529
|
}
|
|
7530
|
+
interface IonGalleryItem {
|
|
7531
|
+
/**
|
|
7532
|
+
* The mode determines the platform behaviors of the component.
|
|
7533
|
+
*/
|
|
7534
|
+
"mode"?: "ios" | "md";
|
|
7535
|
+
/**
|
|
7536
|
+
* The theme determines the visual appearance of the component.
|
|
7537
|
+
*/
|
|
7538
|
+
"theme"?: "ios" | "md" | "ionic";
|
|
7539
|
+
}
|
|
7513
7540
|
interface IonGrid {
|
|
7514
7541
|
/**
|
|
7515
7542
|
* If `true`, the grid will have a fixed width based on the screen size.
|
|
@@ -7527,9 +7554,9 @@ declare namespace LocalJSX {
|
|
|
7527
7554
|
}
|
|
7528
7555
|
interface IonHeader {
|
|
7529
7556
|
/**
|
|
7530
|
-
* Describes the scroll effect that will be applied to the header.
|
|
7557
|
+
* Describes the scroll effect that will be applied to the header. Only applies when the theme is `"ios"`. Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
|
|
7531
7558
|
*/
|
|
7532
|
-
"collapse"?: 'condense' | 'fade'
|
|
7559
|
+
"collapse"?: 'condense' | 'fade';
|
|
7533
7560
|
/**
|
|
7534
7561
|
* If `true`, the header will have a line at the bottom. TODO(ROU-10855): add support for this prop on ios/md themes
|
|
7535
7562
|
* @default false
|
|
@@ -10778,7 +10805,7 @@ declare namespace LocalJSX {
|
|
|
10778
10805
|
"side": 'start' | 'end' | 'top' | 'bottom';
|
|
10779
10806
|
}
|
|
10780
10807
|
interface IonFooterAttributes {
|
|
10781
|
-
"collapse": 'fade'
|
|
10808
|
+
"collapse": 'fade';
|
|
10782
10809
|
"translucent": boolean;
|
|
10783
10810
|
}
|
|
10784
10811
|
interface IonGalleryAttributes {
|
|
@@ -10791,7 +10818,7 @@ declare namespace LocalJSX {
|
|
|
10791
10818
|
"fixed": boolean;
|
|
10792
10819
|
}
|
|
10793
10820
|
interface IonHeaderAttributes {
|
|
10794
|
-
"collapse": 'condense' | 'fade'
|
|
10821
|
+
"collapse": 'condense' | 'fade';
|
|
10795
10822
|
"divider": boolean;
|
|
10796
10823
|
"translucent": boolean;
|
|
10797
10824
|
}
|
|
@@ -11336,6 +11363,7 @@ declare namespace LocalJSX {
|
|
|
11336
11363
|
"ion-fab-list": Omit<IonFabList, keyof IonFabListAttributes> & { [K in keyof IonFabList & keyof IonFabListAttributes]?: IonFabList[K] } & { [K in keyof IonFabList & keyof IonFabListAttributes as `attr:${K}`]?: IonFabListAttributes[K] } & { [K in keyof IonFabList & keyof IonFabListAttributes as `prop:${K}`]?: IonFabList[K] };
|
|
11337
11364
|
"ion-footer": Omit<IonFooter, keyof IonFooterAttributes> & { [K in keyof IonFooter & keyof IonFooterAttributes]?: IonFooter[K] } & { [K in keyof IonFooter & keyof IonFooterAttributes as `attr:${K}`]?: IonFooterAttributes[K] } & { [K in keyof IonFooter & keyof IonFooterAttributes as `prop:${K}`]?: IonFooter[K] };
|
|
11338
11365
|
"ion-gallery": Omit<IonGallery, keyof IonGalleryAttributes> & { [K in keyof IonGallery & keyof IonGalleryAttributes]?: IonGallery[K] } & { [K in keyof IonGallery & keyof IonGalleryAttributes as `attr:${K}`]?: IonGalleryAttributes[K] } & { [K in keyof IonGallery & keyof IonGalleryAttributes as `prop:${K}`]?: IonGallery[K] };
|
|
11366
|
+
"ion-gallery-item": IonGalleryItem;
|
|
11339
11367
|
"ion-grid": Omit<IonGrid, keyof IonGridAttributes> & { [K in keyof IonGrid & keyof IonGridAttributes]?: IonGrid[K] } & { [K in keyof IonGrid & keyof IonGridAttributes as `attr:${K}`]?: IonGridAttributes[K] } & { [K in keyof IonGrid & keyof IonGridAttributes as `prop:${K}`]?: IonGrid[K] };
|
|
11340
11368
|
"ion-header": Omit<IonHeader, keyof IonHeaderAttributes> & { [K in keyof IonHeader & keyof IonHeaderAttributes]?: IonHeader[K] } & { [K in keyof IonHeader & keyof IonHeaderAttributes as `attr:${K}`]?: IonHeaderAttributes[K] } & { [K in keyof IonHeader & keyof IonHeaderAttributes as `prop:${K}`]?: IonHeader[K] };
|
|
11341
11369
|
"ion-img": Omit<IonImg, keyof IonImgAttributes> & { [K in keyof IonImg & keyof IonImgAttributes]?: IonImg[K] } & { [K in keyof IonImg & keyof IonImgAttributes as `attr:${K}`]?: IonImgAttributes[K] } & { [K in keyof IonImg & keyof IonImgAttributes as `prop:${K}`]?: IonImg[K] };
|
|
@@ -11441,6 +11469,7 @@ declare module "@stencil/core" {
|
|
|
11441
11469
|
"ion-fab-list": LocalJSX.IntrinsicElements["ion-fab-list"] & JSXBase.HTMLAttributes<HTMLIonFabListElement>;
|
|
11442
11470
|
"ion-footer": LocalJSX.IntrinsicElements["ion-footer"] & JSXBase.HTMLAttributes<HTMLIonFooterElement>;
|
|
11443
11471
|
"ion-gallery": LocalJSX.IntrinsicElements["ion-gallery"] & JSXBase.HTMLAttributes<HTMLIonGalleryElement>;
|
|
11472
|
+
"ion-gallery-item": LocalJSX.IntrinsicElements["ion-gallery-item"] & JSXBase.HTMLAttributes<HTMLIonGalleryItemElement>;
|
|
11444
11473
|
"ion-grid": LocalJSX.IntrinsicElements["ion-grid"] & JSXBase.HTMLAttributes<HTMLIonGridElement>;
|
|
11445
11474
|
"ion-header": LocalJSX.IntrinsicElements["ion-header"] & JSXBase.HTMLAttributes<HTMLIonHeaderElement>;
|
|
11446
11475
|
"ion-img": LocalJSX.IntrinsicElements["ion-img"] & JSXBase.HTMLAttributes<HTMLIonImgElement>;
|
|
@@ -10,3 +10,12 @@
|
|
|
10
10
|
* @param value String value to validate.
|
|
11
11
|
*/
|
|
12
12
|
export declare function isValidLengthPercentage(value: string): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Returns whether `value` is a single [`var()`](https://developer.mozilla.org/en-US/docs/Web/CSS/var)
|
|
15
|
+
* reference, e.g. `var(--my-token)` or `var(--my-token, 16px)`. The referenced
|
|
16
|
+
* custom property is resolved by the browser, so the resolved value is not
|
|
17
|
+
* validated here.
|
|
18
|
+
*
|
|
19
|
+
* @param value String value to validate.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isCssVariable(value: string): boolean;
|