diff --git a/components/tour/__tests__/__snapshots__/index.test.tsx.snap b/components/tour/__tests__/__snapshots__/index.test.tsx.snap index 5fd0c9f1b8..fb6021d9b3 100644 --- a/components/tour/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/tour/__tests__/__snapshots__/index.test.tsx.snap @@ -2,15 +2,6 @@ exports[`Tour Primary 1`] = ` -
-
-
-
+
+
+
-
- @@ -107,8 +100,8 @@ exports[`Tour Primary 1`] = ` > @@ -166,29 +159,11 @@ exports[`Tour Primary 1`] = `
-
`; exports[`Tour basic 1`] = ` -
-
-
-
-
-
-
`; exports[`Tour button props onClick 1`] = ` -
-
target -
-
`; exports[`Tour custom step pre btn & next btn className & style 1`] = ` -
+
- @@ -335,69 +294,71 @@ exports[`Tour single 1`] = ` > Cover -
+
+
+
-
- @@ -424,8 +385,8 @@ exports[`Tour single 1`] = ` > @@ -483,26 +444,11 @@ exports[`Tour single 1`] = `
-
`; exports[`Tour step support Primary 1`] = ` -
-
-
-
-
+
+
+
-
- @@ -617,8 +565,8 @@ exports[`Tour step support Primary 1`] = ` > @@ -676,17 +624,11 @@ exports[`Tour step support Primary 1`] = `
-
`; exports[`Tour steps is empty 1`] = ` -
-
-
`; diff --git a/package.json b/package.json index 90da734dbd..3cb315b3ed 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,8 @@ "@babel/runtime": "^7.18.3", "@ctrl/tinycolor": "^3.6.0", "@rc-component/mutate-observer": "^1.0.0", - "@rc-component/tour": "~1.6.0", + "@rc-component/tour": "~1.7.1", + "@rc-component/trigger": "^1.3.6", "classnames": "^2.2.6", "copy-to-clipboard": "^3.2.0", "dayjs": "^1.11.1", @@ -150,7 +151,6 @@ "rc-tree": "~5.7.0", "rc-tree-select": "~5.6.0", "rc-trigger": "^5.3.4", - "@rc-component/trigger": "^1.3.6", "rc-upload": "~4.3.0", "rc-util": "^5.27.0", "scroll-into-view-if-needed": "^3.0.3",