@ionic/react 7.5.4-dev.11699031793.11a4baba → 7.5.4-dev.11699037031.16f5cbc8

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.
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import type { IonContextInterface } from '../contexts/IonContext';
4
4
  import type { ReactComponentOrElement } from '../models';
5
5
  import type { IonicReactProps } from './IonicReactProps';
6
- declare type Props = LocalJSX.IonApp & IonicReactProps & {
6
+ type Props = LocalJSX.IonApp & IonicReactProps & {
7
7
  ref?: React.Ref<HTMLIonAppElement>;
8
8
  };
9
9
  export declare const IonApp: {
@@ -14,7 +14,7 @@ export declare const IonRouterContext: React.Context<IonRouterContextState>;
14
14
  * A hook for more direct control over routing in an Ionic React application. Allows you to pass additional meta-data to the router before the call to the native router.
15
15
  */
16
16
  export declare function useIonRouter(): UseIonRouterResult;
17
- export declare type UseIonRouterResult = {
17
+ export type UseIonRouterResult = {
18
18
  /**
19
19
  * @deprecated - Use goBack instead
20
20
  * @param animationBuilder - Optional - A custom transition animation to use
@@ -5,4 +5,4 @@ export declare const IonRouterOutlet: React.ForwardRefExoticComponent<Pick<Local
5
5
  basePath?: string | undefined;
6
6
  ref?: React.Ref<any> | undefined;
7
7
  ionPage?: boolean | undefined;
8
- } & IonicReactProps & Omit<React.HTMLAttributes<HTMLIonRouterOutletElement>, "style">, "children" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof IonicReactProps | keyof LocalJSX.IonRouterOutlet | "basePath" | "ionPage"> & React.RefAttributes<HTMLIonRouterOutletElement>>;
8
+ } & IonicReactProps & Omit<React.HTMLAttributes<HTMLIonRouterOutletElement>, "style">, "id" | "color" | "translate" | "hidden" | "slot" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "prefix" | "role" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof IonicReactProps | keyof LocalJSX.IonRouterOutlet | "basePath" | "ionPage"> & React.RefAttributes<HTMLIonRouterOutletElement>>;
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom/extend-expect';
@@ -1,7 +1,7 @@
1
1
  import type { AnimationBuilder } from '@ionic/core/components';
2
2
  import type { RouterOptions } from '../models';
3
3
  import type { RouterDirection } from '../models/RouterDirection';
4
- export declare type HrefProps<T> = Omit<T, 'routerDirection'> & {
4
+ export type HrefProps<T> = Omit<T, 'routerDirection'> & {
5
5
  routerLink?: string;
6
6
  routerDirection?: RouterDirection;
7
7
  routerOptions?: RouterOptions;
@@ -2,7 +2,7 @@ import type { JSX as LocalJSX } from '@ionic/core/components';
2
2
  import React from 'react';
3
3
  import { NavContext } from '../../contexts/NavContext';
4
4
  import type { IonicReactProps } from '../IonicReactProps';
5
- declare type Props = Omit<LocalJSX.IonBackButton, 'icon'> & IonicReactProps & {
5
+ type Props = Omit<LocalJSX.IonBackButton, 'icon'> & IonicReactProps & {
6
6
  icon?: {
7
7
  ios: string;
8
8
  md: string;
@@ -8,7 +8,7 @@ export declare const IonTabBar: React.ForwardRefExoticComponent<LocalJSX.IonTabB
8
8
  onIonTabsWillChange?: ((event: CustomEvent<{
9
9
  tab: string;
10
10
  }>) => void) | undefined;
11
- slot?: "bottom" | "top" | undefined;
11
+ slot?: "top" | "bottom" | undefined;
12
12
  style?: {
13
13
  [key: string]: string;
14
14
  } | undefined;
@@ -2,7 +2,7 @@ import type { JSX as LocalJSX } from '@ionic/core/components';
2
2
  import React from 'react';
3
3
  import type { RouterOptions } from '../../models';
4
4
  import type { IonicReactProps } from '../IonicReactProps';
5
- declare type Props = LocalJSX.IonTabButton & IonicReactProps & {
5
+ type Props = LocalJSX.IonTabButton & IonicReactProps & {
6
6
  routerOptions?: RouterOptions;
7
7
  ref?: React.Ref<HTMLIonTabButtonElement>;
8
8
  onClick?: (e: CustomEvent) => void;
@@ -9,7 +9,7 @@ declare global {
9
9
  }
10
10
  }
11
11
  }
12
- declare type ChildFunction = (ionTabContext: IonTabsContextState) => React.ReactNode;
12
+ type ChildFunction = (ionTabContext: IonTabsContextState) => React.ReactNode;
13
13
  interface Props extends LocalJSX.IonTabs {
14
14
  className?: string;
15
15
  children: ChildFunction | React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { StyleReactProps } from '../interfaces';
3
- export declare type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
4
- export declare type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
3
+ export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
4
+ export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
5
5
  export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
6
6
  export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
7
7
  export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>;
@@ -1,8 +1,8 @@
1
1
  import type { Config as CoreConfig, Platforms } from '@ionic/core/components';
2
2
  import React from 'react';
3
3
  import type { IonicReactProps } from '../IonicReactProps';
4
- export declare type IonicReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & IonicReactProps;
4
+ export type IonicReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & IonicReactProps;
5
5
  export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & IonicReactProps> & React.RefAttributes<ElementType>>;
6
6
  export declare const isPlatform: (platform: Platforms) => boolean;
7
- export declare const getPlatforms: () => ("ipad" | "iphone" | "ios" | "android" | "phablet" | "tablet" | "cordova" | "capacitor" | "electron" | "pwa" | "mobile" | "mobileweb" | "desktop" | "hybrid")[];
7
+ export declare const getPlatforms: () => ("hybrid" | "ios" | "ipad" | "iphone" | "android" | "phablet" | "tablet" | "cordova" | "capacitor" | "electron" | "pwa" | "mobile" | "mobileweb" | "desktop")[];
8
8
  export declare const getConfig: () => CoreConfig | null;
File without changes
@@ -5,7 +5,7 @@ import type { HookOverlayOptions } from './HookOverlayOptions';
5
5
  * @returns Returns the present and dismiss methods in an array
6
6
  */
7
7
  export declare function useIonActionSheet(): UseIonActionSheetResult;
8
- export declare type UseIonActionSheetResult = [
8
+ export type UseIonActionSheetResult = [
9
9
  {
10
10
  /**
11
11
  * Presents the action sheet
@@ -5,7 +5,7 @@ import type { HookOverlayOptions } from './HookOverlayOptions';
5
5
  * @returns Returns the present and dismiss methods in an array
6
6
  */
7
7
  export declare function useIonAlert(): UseIonAlertResult;
8
- export declare type UseIonAlertResult = [
8
+ export type UseIonAlertResult = [
9
9
  {
10
10
  /**
11
11
  * Presents the alert
@@ -5,7 +5,7 @@ import type { HookOverlayOptions } from './HookOverlayOptions';
5
5
  * @returns Returns the present and dismiss methods in an array
6
6
  */
7
7
  export declare function useIonLoading(): UseIonLoadingResult;
8
- export declare type UseIonLoadingResult = [
8
+ export type UseIonLoadingResult = [
9
9
  {
10
10
  /**
11
11
  * Presents the loading indicator
@@ -8,7 +8,7 @@ import type { HookOverlayOptions } from './HookOverlayOptions';
8
8
  * @returns Returns the present and dismiss methods in an array
9
9
  */
10
10
  export declare function useIonModal(component: ReactComponentOrElement, componentProps?: any): UseIonModalResult;
11
- export declare type UseIonModalResult = [
11
+ export type UseIonModalResult = [
12
12
  (options?: Omit<ModalOptions, 'component' | 'componentProps'> & HookOverlayOptions) => void,
13
13
  /**
14
14
  * Dismisses the modal
@@ -5,7 +5,7 @@ import type { HookOverlayOptions } from './HookOverlayOptions';
5
5
  * @returns Returns the present and dismiss methods in an array
6
6
  */
7
7
  export declare function useIonPicker(): UseIonPickerResult;
8
- export declare type UseIonPickerResult = [
8
+ export type UseIonPickerResult = [
9
9
  {
10
10
  /**
11
11
  * Presents the picker
@@ -8,7 +8,7 @@ import type { HookOverlayOptions } from './HookOverlayOptions';
8
8
  * @returns Returns the present and dismiss methods in an array
9
9
  */
10
10
  export declare function useIonPopover(component: ReactComponentOrElement, componentProps?: any): UseIonPopoverResult;
11
- export declare type UseIonPopoverResult = [
11
+ export type UseIonPopoverResult = [
12
12
  (options?: Omit<PopoverOptions, 'component' | 'componentProps'> & HookOverlayOptions) => void,
13
13
  /**
14
14
  * Dismisses the popover
@@ -5,7 +5,7 @@ import type { HookOverlayOptions } from './HookOverlayOptions';
5
5
  * @returns Returns the present and dismiss methods in an array
6
6
  */
7
7
  export declare function useIonToast(): UseIonToastResult;
8
- export declare type UseIonToastResult = [
8
+ export type UseIonToastResult = [
9
9
  {
10
10
  /**
11
11
  * Presents the toast
@@ -1,2 +1,2 @@
1
1
  import type React from 'react';
2
- export declare type ReactComponentOrElement = React.ComponentClass<any, any> | React.FC<any> | JSX.Element;
2
+ export type ReactComponentOrElement = React.ComponentClass<any, any> | React.FC<any> | JSX.Element;
@@ -1 +1 @@
1
- export declare type RouteAction = 'push' | 'replace' | 'pop';
1
+ export type RouteAction = 'push' | 'replace' | 'pop';
@@ -1 +1 @@
1
- export declare type RouterDirection = 'forward' | 'back' | 'root' | 'none';
1
+ export type RouterDirection = 'forward' | 'back' | 'root' | 'none';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/react",
3
- "version": "7.5.4-dev.11699031793.11a4baba",
3
+ "version": "7.5.4-dev.11699037031.16f5cbc8",
4
4
  "description": "React specific wrapper for @ionic/core",
5
5
  "keywords": [
6
6
  "ionic",
@@ -19,6 +19,20 @@
19
19
  "type": "git",
20
20
  "url": "git+https://github.com/ionic-team/ionic-framework.git"
21
21
  },
22
+ "scripts": {
23
+ "build": "npm run clean && npm run copy && npm run compile",
24
+ "clean": "rimraf dist && rimraf dist-transpiled && rimraf routing",
25
+ "compile": "npm run tsc && rollup -c",
26
+ "eslint": "eslint src",
27
+ "prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
28
+ "lint": "npm run eslint && npm run prettier -- --write --cache",
29
+ "lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache",
30
+ "tsc": "tsc -p .",
31
+ "copy": "node scripts/copy.js",
32
+ "test.spec": "jest --ci",
33
+ "test.treeshake": "node scripts/treeshaking.js dist/index.esm.js",
34
+ "sync": "sh ./scripts/sync.sh"
35
+ },
22
36
  "main": "dist/index.js",
23
37
  "types": "dist/types/index.d.ts",
24
38
  "files": [
@@ -26,7 +40,7 @@
26
40
  "css/"
27
41
  ],
28
42
  "dependencies": {
29
- "@ionic/core": "7.5.4-dev.11699031793.11a4baba",
43
+ "@ionic/core": "7.5.4-dev.11699037031.16f5cbc8",
30
44
  "ionicons": "^7.0.0",
31
45
  "tslib": "*"
32
46
  },
@@ -38,9 +52,8 @@
38
52
  "@ionic/eslint-config": "^0.3.0",
39
53
  "@ionic/prettier-config": "^2.0.0",
40
54
  "@rollup/plugin-node-resolve": "^8.1.0",
41
- "@rollup/plugin-typescript": "^11.1.5",
42
55
  "@rollup/plugin-virtual": "^2.0.3",
43
- "@testing-library/jest-dom": "^6.1.4",
56
+ "@testing-library/jest-dom": "^5.11.6",
44
57
  "@testing-library/react": "^11.2.2",
45
58
  "@testing-library/react-hooks": "^7.0.1",
46
59
  "@types/jest": "^26.0.15",
@@ -52,7 +65,6 @@
52
65
  "eslint": "^7.32.0",
53
66
  "fs-extra": "^9.0.1",
54
67
  "jest": "^26.6.3",
55
- "jest-environment-jsdom": "^26.6.0",
56
68
  "np": "^6.4.0",
57
69
  "prettier": "^2.8.3",
58
70
  "react": "^16.9.0",
@@ -71,6 +83,7 @@
71
83
  "testPathIgnorePatterns": [
72
84
  "cypress",
73
85
  "node_modules",
86
+ "dist-transpiled",
74
87
  "dist",
75
88
  "test/base/*",
76
89
  "test/apps/*",
@@ -80,18 +93,5 @@
80
93
  "<rootDir>"
81
94
  ]
82
95
  },
83
- "prettier": "@ionic/prettier-config",
84
- "scripts": {
85
- "build": "pnpm run clean && pnpm run copy && pnpm run compile",
86
- "build.watch": "pnpm run compile --watch",
87
- "clean": "rimraf dist && rimraf routing",
88
- "compile": "rollup -c",
89
- "eslint": "eslint src",
90
- "prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
91
- "lint": "pnpm run eslint && pnpm run prettier --write --cache",
92
- "lint.fix": "pnpm run eslint --fix && pnpm run prettier --write --cache",
93
- "copy": "node scripts/copy.js",
94
- "test.spec": "jest --ci",
95
- "test.treeshake": "node scripts/treeshaking.js dist/index.esm.js"
96
- }
97
- }
96
+ "prettier": "@ionic/prettier-config"
97
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2015-present Drifty Co.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.