feat(virtual-scroll): remove virtual scroll component (#25808)

This commit is contained in:
Sean Perkins
2022-08-24 15:42:12 -04:00
committed by GitHub
parent a1ec9aabd8
commit 1eb6fd04d7
41 changed files with 81 additions and 2328 deletions

View File

@ -46,7 +46,6 @@ export function hydrateIonicComponents(doc: any, appId: any) {
// auxiliar
'ion-picker-column',
'ion-virtual-scroll',
],
}).then((hydrateResults) => {
hydrateResults.diagnostics.forEach((d) => {

View File

@ -4,14 +4,6 @@ These are React specific building blocks on top of [@ionic/core](https://www.npm
To get started, install the Ionic CLI by running `npm i -g @ionic/cli`. Then, start a new Ionic React Project by running `ionic start myapp --type=react`.
# Current Status of Components
Below is a list of components yet to be implemented:
| Component |
| ------------------ |
| `IonVirtualScroll` |
## Publishing a Native Application
You can now make use of all of the ionic components in your React application.

View File

@ -71,7 +71,6 @@ import { defineCustomElement as defineIonThumbnail } from '@ionic/core/component
import { defineCustomElement as defineIonTitle } from '@ionic/core/components/ion-title.js';
import { defineCustomElement as defineIonToggle } from '@ionic/core/components/ion-toggle.js';
import { defineCustomElement as defineIonToolbar } from '@ionic/core/components/ion-toolbar.js';
import { defineCustomElement as defineIonVirtualScroll } from '@ionic/core/components/ion-virtual-scroll.js';
export const IonAccordion = /*@__PURE__*/createReactComponent<JSX.IonAccordion, HTMLIonAccordionElement>('ion-accordion', undefined, undefined, defineIonAccordion);
export const IonAccordionGroup = /*@__PURE__*/createReactComponent<JSX.IonAccordionGroup, HTMLIonAccordionGroupElement>('ion-accordion-group', undefined, undefined, defineIonAccordionGroup);
@ -139,4 +138,3 @@ export const IonThumbnail = /*@__PURE__*/createReactComponent<JSX.IonThumbnail,
export const IonTitle = /*@__PURE__*/createReactComponent<JSX.IonTitle, HTMLIonTitleElement>('ion-title', undefined, undefined, defineIonTitle);
export const IonToggle = /*@__PURE__*/createReactComponent<JSX.IonToggle, HTMLIonToggleElement>('ion-toggle', undefined, undefined, defineIonToggle);
export const IonToolbar = /*@__PURE__*/createReactComponent<JSX.IonToolbar, HTMLIonToolbarElement>('ion-toolbar', undefined, undefined, defineIonToolbar);
export const IonVirtualScroll = /*@__PURE__*/createReactComponent<JSX.IonVirtualScroll, HTMLIonVirtualScrollElement>('ion-virtual-scroll', undefined, undefined, defineIonVirtualScroll);

View File

@ -32,7 +32,6 @@ export async function ionRenderToString(
// auxiliary
'ion-picker-column',
'ion-virtual-scroll',
],
userAgent,
},

View File

@ -76,7 +76,6 @@ import { defineCustomElement as defineIonThumbnail } from '@ionic/core/component
import { defineCustomElement as defineIonTitle } from '@ionic/core/components/ion-title.js';
import { defineCustomElement as defineIonToggle } from '@ionic/core/components/ion-toggle.js';
import { defineCustomElement as defineIonToolbar } from '@ionic/core/components/ion-toolbar.js';
import { defineCustomElement as defineIonVirtualScroll } from '@ionic/core/components/ion-virtual-scroll.js';
export const IonAccordion = /*@__PURE__*/ defineContainer<JSX.IonAccordion>('ion-accordion', defineIonAccordion, [
@ -841,21 +840,3 @@ export const IonToolbar = /*@__PURE__*/ defineContainer<JSX.IonToolbar>('ion-too
'color'
]);
export const IonVirtualScroll = /*@__PURE__*/ defineContainer<JSX.IonVirtualScroll>('ion-virtual-scroll', defineIonVirtualScroll, [
'approxItemHeight',
'approxHeaderHeight',
'approxFooterHeight',
'headerFn',
'footerFn',
'items',
'itemHeight',
'headerHeight',
'footerHeight',
'renderItem',
'renderHeader',
'renderFooter',
'nodeRender',
'domRender'
]);

View File

@ -84,5 +84,4 @@ export declare const IonTitle: import("vue").FunctionalComponent<JSX.IonTitle &
export declare const IonToast: import("vue").FunctionalComponent<JSX.IonToast & import("./vue-component-lib/utils").InputProps, {}>;
export declare const IonToggle: import("vue").FunctionalComponent<JSX.IonToggle & import("./vue-component-lib/utils").InputProps, {}>;
export declare const IonToolbar: import("vue").FunctionalComponent<JSX.IonToolbar & import("./vue-component-lib/utils").InputProps, {}>;
export declare const IonVirtualScroll: import("vue").FunctionalComponent<JSX.IonVirtualScroll & import("./vue-component-lib/utils").InputProps, {}>;
//# sourceMappingURL=proxies.d.ts.map