@ionic/react 7.5.4-dev.11699282935.1db450b0 → 7.5.4-dev.11699300051.122a36ad
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/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types/components/IonRouterOutlet.d.ts +1 -1
- package/dist/types/components/navigation/IonTabBar.d.ts +1 -1
- package/dist/types/components/utils/index.d.ts +1 -1
- package/package.json +6 -11
- package/dist/types/hooks/__tests__/hooks.spec.d.ts +0 -0
|
@@ -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">, "
|
|
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,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?: "
|
|
11
|
+
slot?: "bottom" | "top" | undefined;
|
|
12
12
|
style?: {
|
|
13
13
|
[key: string]: string;
|
|
14
14
|
} | undefined;
|
|
@@ -4,5 +4,5 @@ import type { IonicReactProps } from '../IonicReactProps';
|
|
|
4
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: () => ("
|
|
7
|
+
export declare const getPlatforms: () => ("ipad" | "iphone" | "ios" | "android" | "phablet" | "tablet" | "cordova" | "capacitor" | "electron" | "pwa" | "mobile" | "mobileweb" | "desktop" | "hybrid")[];
|
|
8
8
|
export declare const getConfig: () => CoreConfig | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/react",
|
|
3
|
-
"version": "7.5.4-dev.
|
|
3
|
+
"version": "7.5.4-dev.11699300051.122a36ad",
|
|
4
4
|
"description": "React specific wrapper for @ionic/core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -21,16 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "npm run clean && npm run copy && npm run compile",
|
|
24
|
-
"clean": "rimraf dist && rimraf
|
|
25
|
-
"compile": "
|
|
24
|
+
"clean": "rimraf dist && rimraf routing",
|
|
25
|
+
"compile": "rollup -c",
|
|
26
26
|
"eslint": "eslint src",
|
|
27
27
|
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
|
28
28
|
"lint": "npm run eslint && npm run prettier -- --write --cache",
|
|
29
29
|
"lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache",
|
|
30
|
-
"tsc": "tsc -p .",
|
|
31
30
|
"copy": "node scripts/copy.js",
|
|
32
31
|
"test.spec": "jest --ci",
|
|
33
|
-
"test.treeshake": "node scripts/treeshaking.js dist/index.esm.js",
|
|
34
32
|
"sync": "sh ./scripts/sync.sh"
|
|
35
33
|
},
|
|
36
34
|
"main": "dist/index.js",
|
|
@@ -40,7 +38,7 @@
|
|
|
40
38
|
"css/"
|
|
41
39
|
],
|
|
42
40
|
"dependencies": {
|
|
43
|
-
"@ionic/core": "7.5.4-dev.
|
|
41
|
+
"@ionic/core": "7.5.4-dev.11699300051.122a36ad",
|
|
44
42
|
"ionicons": "^7.0.0",
|
|
45
43
|
"tslib": "*"
|
|
46
44
|
},
|
|
@@ -51,8 +49,7 @@
|
|
|
51
49
|
"devDependencies": {
|
|
52
50
|
"@ionic/eslint-config": "^0.3.0",
|
|
53
51
|
"@ionic/prettier-config": "^2.0.0",
|
|
54
|
-
"@rollup/plugin-
|
|
55
|
-
"@rollup/plugin-virtual": "^2.0.3",
|
|
52
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
56
53
|
"@testing-library/jest-dom": "^5.11.6",
|
|
57
54
|
"@testing-library/react": "^11.2.2",
|
|
58
55
|
"@testing-library/react-hooks": "^7.0.1",
|
|
@@ -70,8 +67,7 @@
|
|
|
70
67
|
"react": "^16.9.0",
|
|
71
68
|
"react-dom": "^16.9.0",
|
|
72
69
|
"rimraf": "^3.0.2",
|
|
73
|
-
"rollup": "^2.
|
|
74
|
-
"rollup-plugin-sourcemaps": "^0.6.2",
|
|
70
|
+
"rollup": "^4.2.0",
|
|
75
71
|
"ts-jest": "^26.4.4",
|
|
76
72
|
"typescript": "^4.0.5"
|
|
77
73
|
},
|
|
@@ -83,7 +79,6 @@
|
|
|
83
79
|
"testPathIgnorePatterns": [
|
|
84
80
|
"cypress",
|
|
85
81
|
"node_modules",
|
|
86
|
-
"dist-transpiled",
|
|
87
82
|
"dist",
|
|
88
83
|
"test/base/*",
|
|
89
84
|
"test/apps/*",
|
|
File without changes
|