@lingxia/vue 0.17.0 → 0.18.0
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/LxNavigator.vue +6 -0
- package/dist/types.d.ts +7 -1
- package/package.json +4 -4
package/dist/LxNavigator.vue
CHANGED
|
@@ -61,6 +61,12 @@ const render = () => h(
|
|
|
61
61
|
target: props.target,
|
|
62
62
|
delta: props.delta,
|
|
63
63
|
query: props.query,
|
|
64
|
+
as: props.as,
|
|
65
|
+
edge: props.edge,
|
|
66
|
+
position: props.position,
|
|
67
|
+
chrome: props.chrome,
|
|
68
|
+
size: props.size,
|
|
69
|
+
interaction: props.interaction,
|
|
64
70
|
appId: props.appId,
|
|
65
71
|
channel: props.channel,
|
|
66
72
|
targetVersion: props.targetVersion,
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue';
|
|
2
|
-
import type { LxNavigatorEvent, LxVideoEventPayloads, NativeActionIcon, NativeStyleProperty, NavigatorChannel, NavigatorOpenType, NavigatorQuery, NavigatorTarget } from '@lingxia/elements';
|
|
2
|
+
import type { LxNavigatorEvent, LxVideoEventPayloads, NativeActionIcon, NativeStyleProperty, NavigatorChannel, NavigatorOpenType, NavigatorQuery, NavigatorTarget, NavigatorEdge, NavigatorFloatPosition, NavigatorInteraction, NavigatorPlacement, NavigatorSize, NavigatorWindowChrome } from '@lingxia/elements';
|
|
3
3
|
export type NativeStyle = Omit<Pick<CSSProperties, NativeStyleProperty>, "borderStyle"> & {
|
|
4
4
|
borderStyle?: "solid" | "none";
|
|
5
5
|
};
|
|
@@ -154,6 +154,12 @@ export interface LxNavigatorProps {
|
|
|
154
154
|
target?: NavigatorTarget;
|
|
155
155
|
delta?: number;
|
|
156
156
|
query?: NavigatorQuery;
|
|
157
|
+
as?: NavigatorPlacement;
|
|
158
|
+
edge?: NavigatorEdge;
|
|
159
|
+
position?: NavigatorFloatPosition;
|
|
160
|
+
chrome?: NavigatorWindowChrome;
|
|
161
|
+
size?: NavigatorSize;
|
|
162
|
+
interaction?: NavigatorInteraction;
|
|
157
163
|
appId?: string;
|
|
158
164
|
channel?: NavigatorChannel;
|
|
159
165
|
targetVersion?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxia/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LingXia Vue runtime and components for lxapp pages",
|
|
6
6
|
"type": "module",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"test:components": "npm run build && node tests/native-components.mjs && node tests/native-aria-attributes.mjs"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@lingxia/bridge": "~0.
|
|
24
|
-
"@lingxia/elements": "~0.
|
|
25
|
-
"@lingxia/page-runtime": "~0.
|
|
23
|
+
"@lingxia/bridge": "~0.18.0",
|
|
24
|
+
"@lingxia/elements": "~0.18.0",
|
|
25
|
+
"@lingxia/page-runtime": "~0.18.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"vue": ">=3.5.0"
|