@histoire/vendors 0.11.8 → 0.11.9
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/client/b-pinia.js +32 -28
- package/dist/client/b-scroll.js +5 -15
- package/dist/client/b-vue-router.js +13 -3
- package/dist/client/b-vue-use.js +1 -1
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +12 -9
- package/dist/client/node_modules/@vue/compiler-core/package.json +2 -2
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +12 -12
- package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +4 -8
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +6 -6
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +7 -4
- package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +10 -0
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +44 -40
- package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +9 -5
- package/dist/client/node_modules/@vue/runtime-dom/package.json +3 -3
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +2 -1
- package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +1 -6
- package/dist/client/node_modules/@vue/shared/package.json +1 -1
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +11 -11
- package/dist/client/node_modules/pinia/package.json +4 -4
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +82 -107
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +7 -7
- package/dist/client/node_modules/vue/macros.d.ts +4 -2
- package/dist/client/node_modules/vue/package.json +6 -6
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +3 -3
- package/dist/client/node_modules/vue-router/package.json +12 -12
- package/dist/client/vue.runtime.esm-bundler.js +11324 -11250
- package/package.json +1 -1
|
@@ -1,132 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scroll-into-view-if-needed",
|
|
3
|
+
"version": "2.2.31",
|
|
3
4
|
"description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
"keywords": [
|
|
6
|
+
"behavior-smooth",
|
|
7
|
+
"if-needed",
|
|
8
|
+
"polyfill",
|
|
9
|
+
"ponyfill",
|
|
10
|
+
"scroll",
|
|
11
|
+
"scroll-into-view",
|
|
12
|
+
"scrollIntoView",
|
|
13
|
+
"scrollIntoViewIfNeeded",
|
|
14
|
+
"scrollMode",
|
|
15
|
+
"smooth",
|
|
16
|
+
"smoothscroll",
|
|
17
|
+
"typescript"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://scroll-into-view.dev",
|
|
7
20
|
"repository": {
|
|
8
21
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
22
|
+
"url": "git+https://github.com/scroll-into-view/scroll-into-view-if-needed.git"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"author": "Cody Olsen",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./typings/index.d.ts",
|
|
30
|
+
"source": "./src/index.ts",
|
|
31
|
+
"import": "./es/index.js",
|
|
32
|
+
"require": "./index.js",
|
|
33
|
+
"default": "./es/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
10
36
|
},
|
|
11
|
-
"version": "2.2.29",
|
|
12
37
|
"main": "index.js",
|
|
13
38
|
"module": "es/index.js",
|
|
39
|
+
"typings": "typings/index.d.ts",
|
|
14
40
|
"files": [
|
|
15
41
|
"es",
|
|
16
42
|
"typings",
|
|
17
43
|
"umd"
|
|
18
44
|
],
|
|
19
45
|
"scripts": {
|
|
20
|
-
"prebuild": "
|
|
21
|
-
"build": "
|
|
22
|
-
"build:cjs": "BABEL_ENV=cjs babel src -d . --extensions '.ts'",
|
|
46
|
+
"prebuild": "npm run clean",
|
|
47
|
+
"build": "npm run build:d.ts && npm run build:cjs && npm run build:es && npm run build:umd && npm run build:umd.min",
|
|
48
|
+
"build:cjs": "cross-env BABEL_ENV=cjs babel src -d . --extensions '.ts'",
|
|
23
49
|
"build:d.ts": "tsc --emitDeclarationOnly",
|
|
24
|
-
"build:es": "BABEL_ENV=es babel src -d es --extensions '.ts'",
|
|
25
|
-
"build:umd": "BABEL_ENV=umd NODE_ENV=development rollup -c -f umd -o umd/scroll-into-view-if-needed.js",
|
|
26
|
-
"build:umd.min": "BABEL_ENV=umd NODE_ENV=production rollup -c -f umd -o umd/scroll-into-view-if-needed.min.js",
|
|
50
|
+
"build:es": "cross-env BABEL_ENV=es babel src -d es --extensions '.ts'",
|
|
51
|
+
"build:umd": "cross-env BABEL_ENV=umd NODE_ENV=development rollup -c -f umd -o umd/scroll-into-view-if-needed.js",
|
|
52
|
+
"build:umd.min": "cross-env BABEL_ENV=umd NODE_ENV=production rollup -c -f umd -o umd/scroll-into-view-if-needed.min.js",
|
|
27
53
|
"clean": "rimraf 'umd' 'es' 'typings'",
|
|
28
|
-
"
|
|
29
|
-
"dev": "concurrently 'tsc --noEmit --watch' 'tsc --noEmit -p tests/typescript --watch' 'yarn build:cjs --watch' 'yarn build:es --watch' 'yarn build:umd --watch' 'yarn build:umd.min --watch'",
|
|
54
|
+
"dev": "concurrently 'tsc --noEmit --watch' 'tsc --noEmit -p tests/typescript --watch' 'npm run build:cjs --watch' 'npm run build:es --watch' 'npm run build:umd --watch' 'npm run build:umd.min --watch'",
|
|
30
55
|
"lint": "eslint ./integration-examples",
|
|
31
|
-
"
|
|
56
|
+
"precommit": "lint-staged",
|
|
57
|
+
"prepublishOnly": "npm run build",
|
|
32
58
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tests/typescript"
|
|
33
59
|
},
|
|
34
|
-
"sideEffects": false,
|
|
35
|
-
"typings": "typings/index.d.ts",
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"compute-scroll-into-view": "^1.0.17"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@babel/cli": "7.16.7",
|
|
41
|
-
"@babel/core": "7.16.7",
|
|
42
|
-
"@babel/plugin-external-helpers": "7.16.7",
|
|
43
|
-
"@babel/preset-env": "7.16.7",
|
|
44
|
-
"@babel/preset-typescript": "7.16.7",
|
|
45
|
-
"babel-eslint": "10.1.0",
|
|
46
|
-
"babel-plugin-add-module-exports": "1.0.4",
|
|
47
|
-
"babel-plugin-dev-expression": "0.2.3",
|
|
48
|
-
"concurrently": "6.5.1",
|
|
49
|
-
"eslint": "8.7.0",
|
|
50
|
-
"eslint-config-prettier": "8.3.0",
|
|
51
|
-
"eslint-plugin-import": "2.25.4",
|
|
52
|
-
"eslint-plugin-react": "7.28.0",
|
|
53
|
-
"flowgen": "1.16.2",
|
|
54
|
-
"husky": "7.0.4",
|
|
55
|
-
"lint-staged": "12.3.1",
|
|
56
|
-
"prettier": "2.5.1",
|
|
57
|
-
"prettier-package-json": "2.6.0",
|
|
58
|
-
"rimraf": "3.0.2",
|
|
59
|
-
"rollup": "2.63.0",
|
|
60
|
-
"rollup-plugin-babel": "4.4.0",
|
|
61
|
-
"rollup-plugin-commonjs": "10.1.0",
|
|
62
|
-
"rollup-plugin-node-resolve": "5.2.0",
|
|
63
|
-
"rollup-plugin-replace": "2.2.0",
|
|
64
|
-
"rollup-plugin-terser": "7.0.2",
|
|
65
|
-
"semantic-release": "17.4.7",
|
|
66
|
-
"tslint": "5.20.1",
|
|
67
|
-
"tslint-config-prettier": "1.18.0",
|
|
68
|
-
"typescript": "4.5.4"
|
|
69
|
-
},
|
|
70
|
-
"keywords": [
|
|
71
|
-
"behavior-smooth",
|
|
72
|
-
"if-needed",
|
|
73
|
-
"polyfill",
|
|
74
|
-
"ponyfill",
|
|
75
|
-
"scroll",
|
|
76
|
-
"scroll-into-view",
|
|
77
|
-
"scrollIntoView",
|
|
78
|
-
"scrollIntoViewIfNeeded",
|
|
79
|
-
"scrollMode",
|
|
80
|
-
"smooth",
|
|
81
|
-
"smoothscroll",
|
|
82
|
-
"typescript"
|
|
83
|
-
],
|
|
84
60
|
"browserify": {
|
|
85
61
|
"transform": [
|
|
86
62
|
"loose-envify"
|
|
87
63
|
]
|
|
88
64
|
},
|
|
89
|
-
"bundlesize": [
|
|
90
|
-
{
|
|
91
|
-
"path": "./umd/scroll-into-view-if-needed.min.js",
|
|
92
|
-
"maxSize": "3.3 kB",
|
|
93
|
-
"compression": "none"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"lint-staged": {
|
|
97
|
-
"*.js": [
|
|
98
|
-
"prettier --write",
|
|
99
|
-
"git add"
|
|
100
|
-
],
|
|
101
|
-
"*.{ts,tsx}": [
|
|
102
|
-
"prettier --write",
|
|
103
|
-
"git add"
|
|
104
|
-
],
|
|
105
|
-
"*.json": [
|
|
106
|
-
"prettier --write",
|
|
107
|
-
"git add"
|
|
108
|
-
],
|
|
109
|
-
"*.css": [
|
|
110
|
-
"prettier --write",
|
|
111
|
-
"git add"
|
|
112
|
-
],
|
|
113
|
-
"*.md": [
|
|
114
|
-
"prettier --write",
|
|
115
|
-
"git add"
|
|
116
|
-
],
|
|
117
|
-
"**/package.json": [
|
|
118
|
-
"prettier-package-json --write",
|
|
119
|
-
"git add"
|
|
120
|
-
],
|
|
121
|
-
"**/.babelrc": [
|
|
122
|
-
"prettier --write",
|
|
123
|
-
"git add"
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
65
|
"prettier": {
|
|
127
66
|
"semi": false,
|
|
128
67
|
"singleQuote": true,
|
|
129
|
-
"trailingComma": "es5",
|
|
130
68
|
"overrides": [
|
|
131
69
|
{
|
|
132
70
|
"files": ".babelrc",
|
|
@@ -136,9 +74,46 @@
|
|
|
136
74
|
}
|
|
137
75
|
]
|
|
138
76
|
},
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"compute-scroll-into-view": "^1.0.20"
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@babel/cli": "^7.19.3",
|
|
82
|
+
"@babel/core": "^7.20.5",
|
|
83
|
+
"@babel/plugin-external-helpers": "^7.18.6",
|
|
84
|
+
"@babel/preset-env": "^7.20.2",
|
|
85
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
86
|
+
"@sanity/semantic-release-preset": "^2.0.2",
|
|
87
|
+
"babel-eslint": "^10.1.0",
|
|
88
|
+
"babel-plugin-add-module-exports": "^1.0.4",
|
|
89
|
+
"babel-plugin-dev-expression": "^0.2.3",
|
|
90
|
+
"concurrently": "^7.6.0",
|
|
91
|
+
"cross-env": "^7.0.3",
|
|
92
|
+
"eslint": "^8.28.0",
|
|
93
|
+
"eslint-config-prettier": "^8.5.0",
|
|
94
|
+
"eslint-plugin-import": "^2.26.0",
|
|
95
|
+
"eslint-plugin-react": "^7.31.11",
|
|
96
|
+
"flowgen": "^1.20.1",
|
|
97
|
+
"husky": "^7.0.4",
|
|
98
|
+
"lint-staged": "^12.5.0",
|
|
99
|
+
"prettier": "^2.8.0",
|
|
100
|
+
"prettier-plugin-packagejson": "^2.3.0",
|
|
101
|
+
"rimraf": "^3.0.2",
|
|
102
|
+
"rollup": "^2.79.1",
|
|
103
|
+
"rollup-plugin-babel": "^4.4.0",
|
|
104
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
105
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
106
|
+
"rollup-plugin-replace": "^2.2.0",
|
|
107
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
108
|
+
"tslint": "^5.20.1",
|
|
109
|
+
"tslint-config-prettier": "^1.18.0",
|
|
110
|
+
"typescript": "^4.9.3"
|
|
111
|
+
},
|
|
112
|
+
"bundlesize": [
|
|
113
|
+
{
|
|
114
|
+
"path": "./umd/scroll-into-view-if-needed.min.js",
|
|
115
|
+
"maxSize": "3.3 kB",
|
|
116
|
+
"compression": "none"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
144
119
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export type ScrollBehavior = 'auto' | 'smooth';
|
|
2
|
+
export type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest';
|
|
3
|
+
export type ScrollMode = 'always' | 'if-needed';
|
|
4
|
+
export type SkipOverflowHiddenElements = boolean;
|
|
5
5
|
export interface Options {
|
|
6
6
|
block?: ScrollLogicalPosition;
|
|
7
7
|
inline?: ScrollLogicalPosition;
|
|
@@ -9,11 +9,11 @@ export interface Options {
|
|
|
9
9
|
boundary?: CustomScrollBoundary;
|
|
10
10
|
skipOverflowHiddenElements?: SkipOverflowHiddenElements;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type CustomScrollBoundaryCallback = (parent: Element) => boolean;
|
|
13
|
+
export type CustomScrollBoundary = Element | CustomScrollBoundaryCallback | null;
|
|
14
14
|
export interface CustomScrollAction {
|
|
15
15
|
el: Element;
|
|
16
16
|
top: number;
|
|
17
17
|
left: number;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type CustomScrollBehaviorCallback<T> = (actions: CustomScrollAction[]) => T;
|
|
@@ -83,9 +83,11 @@ type ToRawRefs<T extends object> = {
|
|
|
83
83
|
: T[K]
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export declare function $ref<T>(
|
|
86
|
+
export declare function $ref<T>(): RefValue<T | undefined>
|
|
87
|
+
export declare function $ref<T>(arg: T | Ref<T>): RefValue<UnwrapRef<T>>
|
|
87
88
|
|
|
88
|
-
export declare function $shallowRef<T>(
|
|
89
|
+
export declare function $shallowRef<T>(): RefValue<T | undefined>
|
|
90
|
+
export declare function $shallowRef<T>(arg: T): RefValue<T>
|
|
89
91
|
|
|
90
92
|
export declare function $toRef<T extends object, K extends keyof T>(
|
|
91
93
|
object: T,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.45",
|
|
4
4
|
"description": "The progressive JavaScript framework for building modern web UI.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/vue.runtime.esm-bundler.js",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
},
|
|
69
69
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@vue/shared": "3.2.
|
|
72
|
-
"@vue/compiler-dom": "3.2.
|
|
73
|
-
"@vue/runtime-dom": "3.2.
|
|
74
|
-
"@vue/compiler-sfc": "3.2.
|
|
75
|
-
"@vue/server-renderer": "3.2.
|
|
71
|
+
"@vue/shared": "3.2.45",
|
|
72
|
+
"@vue/compiler-dom": "3.2.45",
|
|
73
|
+
"@vue/runtime-dom": "3.2.45",
|
|
74
|
+
"@vue/compiler-sfc": "3.2.45",
|
|
75
|
+
"@vue/server-renderer": "3.2.45"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -1135,7 +1135,7 @@ export declare interface _RouterLinkI {
|
|
|
1135
1135
|
new (): {
|
|
1136
1136
|
$props: AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterLinkProps;
|
|
1137
1137
|
$slots: {
|
|
1138
|
-
default
|
|
1138
|
+
default?: ({ route, href, isActive, isExactActive, navigate, }: UnwrapRef<ReturnType<typeof useLink>>) => VNode[];
|
|
1139
1139
|
};
|
|
1140
1140
|
};
|
|
1141
1141
|
/**
|
|
@@ -1291,10 +1291,10 @@ export declare interface RouterScrollBehavior {
|
|
|
1291
1291
|
export declare const RouterView: new () => {
|
|
1292
1292
|
$props: AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterViewProps;
|
|
1293
1293
|
$slots: {
|
|
1294
|
-
default
|
|
1294
|
+
default?: (({ Component, route, }: {
|
|
1295
1295
|
Component: VNode;
|
|
1296
1296
|
route: RouteLocationNormalizedLoaded;
|
|
1297
|
-
}) => VNode[];
|
|
1297
|
+
}) => VNode[]) | undefined;
|
|
1298
1298
|
};
|
|
1299
1299
|
};
|
|
1300
1300
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-router",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"unpkg": "dist/vue-router.global.js",
|
|
6
6
|
"jsdelivr": "dist/vue-router.global.js",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"attributes": "vetur/attributes.json"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@vue/devtools-api": "^6.
|
|
58
|
+
"@vue/devtools-api": "^6.4.5"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@microsoft/api-extractor": "^7.29.2",
|
|
@@ -66,21 +66,21 @@
|
|
|
66
66
|
"@sucrase/jest-plugin": "^2.1.1",
|
|
67
67
|
"@types/jest": "^27.4.1",
|
|
68
68
|
"@types/jsdom": "^16.2.13",
|
|
69
|
-
"@types/nightwatch": "^2.3.
|
|
69
|
+
"@types/nightwatch": "^2.3.12",
|
|
70
70
|
"@vitejs/plugin-vue": "^2.3.3",
|
|
71
|
-
"@vue/compiler-sfc": "^3.2.
|
|
72
|
-
"@vue/server-renderer": "^3.2.
|
|
73
|
-
"@vue/test-utils": "^2.0
|
|
71
|
+
"@vue/compiler-sfc": "^3.2.41",
|
|
72
|
+
"@vue/server-renderer": "^3.2.41",
|
|
73
|
+
"@vue/test-utils": "^2.2.0",
|
|
74
74
|
"browserstack-local": "^1.4.5",
|
|
75
|
-
"chromedriver": "^
|
|
75
|
+
"chromedriver": "^106.0.1",
|
|
76
76
|
"connect-history-api-fallback": "^1.6.0",
|
|
77
77
|
"conventional-changelog-cli": "^2.1.1",
|
|
78
|
-
"dotenv": "^16.0.
|
|
78
|
+
"dotenv": "^16.0.3",
|
|
79
79
|
"faked-promise": "^2.2.2",
|
|
80
|
-
"geckodriver": "^3.0
|
|
80
|
+
"geckodriver": "^3.2.0",
|
|
81
81
|
"jest": "^27.5.1",
|
|
82
82
|
"jest-mock-warn": "^1.1.0",
|
|
83
|
-
"nightwatch": "^2.
|
|
83
|
+
"nightwatch": "^2.4.1",
|
|
84
84
|
"nightwatch-helpers": "^1.2.0",
|
|
85
85
|
"rimraf": "^3.0.2",
|
|
86
86
|
"rollup": "^2.78.0",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"rollup-plugin-terser": "^7.0.2",
|
|
89
89
|
"rollup-plugin-typescript2": "^0.32.1",
|
|
90
90
|
"typescript": "~4.7.4",
|
|
91
|
-
"vite": "^
|
|
92
|
-
"vue": "^3.2.
|
|
91
|
+
"vite": "^3.1.8",
|
|
92
|
+
"vue": "^3.2.41"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|
|
95
95
|
"dev": "jest --watch",
|