@histoire/vendors 0.17.16 → 1.0.0-alpha.1
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-floating-vue.d.ts +3 -3
- package/dist/client/b-floating-vue.js +2176 -2149
- package/dist/client/b-iconify.d.ts +1 -1
- package/dist/client/b-iconify.js +751 -825
- package/dist/client/b-pinia.d.ts +1 -1
- package/dist/client/b-pinia.js +130 -68
- package/dist/client/b-scroll.d.ts +2 -2
- package/dist/client/b-scroll.js +5 -52
- package/dist/client/b-vue-router.d.ts +1 -1
- package/dist/client/b-vue-router.js +385 -237
- package/dist/client/b-vue-use.d.ts +1 -1
- package/dist/client/b-vue-use.js +3898 -2871
- package/dist/client/b-vue.d.ts +1 -1
- package/dist/client/b-vue.js +1 -1
- package/dist/client/index.js +162 -20
- package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/dist/client/node_modules/@babel/parser/package.json +10 -6
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +47 -31
- package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2776 -0
- package/dist/client/node_modules/@babel/types/lib/index.d.ts +3275 -0
- package/dist/client/node_modules/@babel/types/package.json +39 -0
- package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +525 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +32 -39
- package/dist/client/node_modules/@floating-ui/dom/package.json +23 -24
- package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -7
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +121 -20
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -2
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +3 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -2
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +103 -0
- package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
- package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
- package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
- package/dist/client/node_modules/@iconify/types/package.json +23 -0
- package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
- package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +72 -330
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +28 -268
- package/dist/client/node_modules/@iconify/vue/package.json +64 -60
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +2 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +3 -2
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +33 -14
- package/dist/client/node_modules/@types/web-bluetooth/package.json +12 -12
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +218 -125
- package/dist/client/node_modules/@vue/compiler-core/package.json +20 -5
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +6 -3
- package/dist/client/node_modules/@vue/compiler-dom/package.json +17 -3
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +35 -25
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +27 -18
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +2 -2
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +268 -166
- package/dist/client/node_modules/@vue/reactivity/package.json +16 -2
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +728 -529
- package/dist/client/node_modules/@vue/runtime-core/package.json +17 -3
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +195 -86
- package/dist/client/node_modules/@vue/runtime-dom/package.json +22 -4
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +4 -8
- package/dist/client/node_modules/@vue/server-renderer/package.json +18 -4
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +45 -30
- package/dist/client/node_modules/@vue/shared/package.json +15 -1
- package/dist/client/node_modules/@vueuse/core/index.d.ts +2040 -633
- package/dist/client/node_modules/@vueuse/core/package.json +10 -12
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +7 -5
- package/dist/client/node_modules/@vueuse/metadata/package.json +4 -4
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +410 -273
- package/dist/client/node_modules/@vueuse/shared/package.json +5 -6
- package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +35 -45
- package/dist/client/node_modules/entities/lib/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/dist/client/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/dist/client/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/dist/client/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/dist/client/node_modules/entities/lib/esm/package.json +1 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/dist/client/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/dist/client/node_modules/entities/lib/index.d.ts +96 -0
- package/dist/client/node_modules/entities/package.json +90 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +225 -105
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +471 -364
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +14 -25
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +392 -6
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +49 -10
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +2071 -247
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +1 -1
- package/dist/client/node_modules/floating-vue/package.json +42 -33
- package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +250 -229
- package/dist/client/node_modules/magic-string/package.json +24 -26
- package/dist/client/node_modules/nanoid/package.json +1 -1
- package/dist/client/node_modules/picocolors/package.json +2 -2
- package/dist/client/node_modules/picocolors/types.d.ts +51 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +116 -37
- package/dist/client/node_modules/pinia/package.json +7 -11
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +25 -22
- package/dist/client/node_modules/postcss/lib/comment.d.ts +10 -9
- package/dist/client/node_modules/postcss/lib/container.d.ts +47 -54
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +20 -17
- package/dist/client/node_modules/postcss/lib/document.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/input.d.ts +14 -0
- package/dist/client/node_modules/postcss/lib/list.d.ts +5 -2
- package/dist/client/node_modules/postcss/lib/node.d.ts +19 -14
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +25 -8
- package/dist/client/node_modules/postcss/lib/processor.d.ts +1 -1
- package/dist/client/node_modules/postcss/lib/result.d.ts +0 -1
- package/dist/client/node_modules/postcss/lib/root.d.ts +4 -4
- package/dist/client/node_modules/postcss/lib/rule.d.ts +27 -18
- package/dist/client/node_modules/postcss/package.json +4 -4
- package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +28 -67
- package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/dist/client/node_modules/source-map-js/package.json +1 -1
- package/dist/client/node_modules/source-map-js/source-map.d.ts +88 -99
- package/dist/client/node_modules/vue/dist/vue.d.ts +0 -4
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +2 -1
- package/dist/client/node_modules/vue/jsx.d.ts +2 -1
- package/dist/client/node_modules/vue/package.json +13 -14
- package/dist/client/node_modules/{pinia/node_modules/vue-demi → vue-demi}/package.json +1 -1
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +410 -81
- package/dist/client/node_modules/vue-router/package.json +66 -37
- package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
- package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +4 -0
- package/dist/client/vue.runtime.esm-bundler.js +6458 -4714
- package/floating-vue.d.ts +1 -0
- package/iconify.d.ts +1 -0
- package/package.json +20 -20
- package/pinia.d.ts +1 -0
- package/rollup.config.mjs +11 -9
- package/scroll.d.ts +1 -0
- package/src/client/b-floating-vue.ts +2 -0
- package/src/client/b-scroll.ts +2 -0
- package/tsconfig.json +17 -17
- package/vue-router.d.ts +1 -0
- package/vue-use.d.ts +1 -0
- package/vue.d.ts +1 -0
- package/dist/client/index2.js +0 -168
- package/dist/client/node_modules/@floating-ui/core/index.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +0 -4
- package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +0 -11
- package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +0 -9
- package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +0 -10
- package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +0 -21
- package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +0 -32
- package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +0 -148
- package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +0 -5
- package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +0 -2
- package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +0 -6
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +0 -1
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +0 -1
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +0 -43
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +0 -41
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +0 -47
- package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +0 -19
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +0 -25
- package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +0 -1
- package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +0 -5
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +0 -22
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +0 -33
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +0 -38
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +0 -22
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +0 -13
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +0 -19
- package/dist/client/node_modules/vue/macros-global.d.ts +0 -19
- package/dist/client/node_modules/vue/macros.d.ts +0 -112
- package/dist/client/node_modules/vue/ref-macros.d.ts +0 -2
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v2.7/index.d.ts +0 -0
- /package/dist/client/node_modules/{@vueuse/core/node_modules/vue-demi → vue-demi}/lib/v3/index.d.ts +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { Options as Options_2 } from 'compute-scroll-into-view'
|
|
2
|
+
import type { ScrollAction } from 'compute-scroll-into-view'
|
|
3
|
+
|
|
4
|
+
/** @public */
|
|
5
|
+
export declare interface CustomBehaviorOptions<T = unknown> extends Options_2 {
|
|
6
|
+
behavior: CustomScrollBehaviorCallback<T>
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** @public */
|
|
10
|
+
export declare type CustomScrollBehaviorCallback<T = unknown> = (
|
|
11
|
+
actions: ScrollAction[]
|
|
12
|
+
) => T
|
|
13
|
+
|
|
14
|
+
/** @public */
|
|
15
|
+
export declare type Options<T = unknown> =
|
|
16
|
+
| StandardBehaviorOptions
|
|
17
|
+
| CustomBehaviorOptions<T>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Scrolls the given element into view, with options for when, and how.
|
|
21
|
+
* Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
declare function scrollIntoView(
|
|
25
|
+
target: Element,
|
|
26
|
+
options?: StandardBehaviorOptions | boolean
|
|
27
|
+
): void
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Scrolls the given element into view, with options for when, and how.
|
|
31
|
+
* Supports the same `options` as [`Element.prototype.scrollIntoView`](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) with additions such as `scrollMode`, `behavior: Function` and `skipOverflowHiddenElements`.
|
|
32
|
+
*
|
|
33
|
+
* You can set the expected return type for `behavior: Function`:
|
|
34
|
+
* ```ts
|
|
35
|
+
* await scrollIntoView<Promise<boolean[]>>(node, {
|
|
36
|
+
* behavior: async actions => {
|
|
37
|
+
* return Promise.all(actions.map(
|
|
38
|
+
* // animate() resolves to `true` if anything was animated, `false` if the element already were in the end state
|
|
39
|
+
* ({ el, left, top }) => animate(el, {scroll: {left, top}})
|
|
40
|
+
* ))
|
|
41
|
+
* }
|
|
42
|
+
* })
|
|
43
|
+
* ```
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
declare function scrollIntoView<T>(
|
|
47
|
+
target: Element,
|
|
48
|
+
options: CustomBehaviorOptions<T>
|
|
49
|
+
): T
|
|
50
|
+
export default scrollIntoView
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Only scrolls if the `node` is partially out of view:
|
|
54
|
+
* ```ts
|
|
55
|
+
* scrollIntoView(node, { scrollMode: 'if-needed' })
|
|
56
|
+
* ```
|
|
57
|
+
* Skips scrolling `overflow: hidden` elements:
|
|
58
|
+
* ```ts
|
|
59
|
+
* scrollIntoView(node, { skipOverflowHiddenElements: true })
|
|
60
|
+
* ```
|
|
61
|
+
* When scrolling is needed do the least and smoothest scrolling possible:
|
|
62
|
+
* ```ts
|
|
63
|
+
* scrollIntoView(node, {
|
|
64
|
+
* behavior: 'smooth',
|
|
65
|
+
* scrollMode: 'if-needed',
|
|
66
|
+
* block: 'nearest',
|
|
67
|
+
* inline: 'nearest',
|
|
68
|
+
* })
|
|
69
|
+
* ```
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare interface StandardBehaviorOptions extends Options_2 {
|
|
73
|
+
/**
|
|
74
|
+
* @defaultValue 'auto
|
|
75
|
+
*/
|
|
76
|
+
behavior?: ScrollBehavior
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scroll-into-view-if-needed",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"behavior-smooth",
|
|
@@ -24,94 +24,55 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"author": "Cody Olsen",
|
|
26
26
|
"sideEffects": false,
|
|
27
|
+
"type": "module",
|
|
27
28
|
"exports": {
|
|
28
29
|
".": {
|
|
29
|
-
"types": "./
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
30
31
|
"source": "./src/index.ts",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"default": "./
|
|
32
|
+
"require": "./dist/index.cjs",
|
|
33
|
+
"import": "./dist/index.js",
|
|
34
|
+
"default": "./dist/index.js"
|
|
34
35
|
},
|
|
35
36
|
"./package.json": "./package.json"
|
|
36
37
|
},
|
|
37
|
-
"main": "index.
|
|
38
|
-
"module": "
|
|
39
|
-
"
|
|
38
|
+
"main": "./dist/index.cjs",
|
|
39
|
+
"module": "./dist/index.js",
|
|
40
|
+
"source": "./src/index.ts",
|
|
41
|
+
"typings": "./dist/index.d.ts",
|
|
40
42
|
"files": [
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"umd"
|
|
43
|
+
"dist",
|
|
44
|
+
"src"
|
|
44
45
|
],
|
|
45
46
|
"scripts": {
|
|
46
47
|
"prebuild": "npm run clean",
|
|
47
|
-
"build": "
|
|
48
|
-
"
|
|
49
|
-
"build:d.ts": "tsc --emitDeclarationOnly",
|
|
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",
|
|
53
|
-
"clean": "rimraf 'umd' 'es' 'typings'",
|
|
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'",
|
|
55
|
-
"lint": "eslint ./integration-examples",
|
|
56
|
-
"precommit": "lint-staged",
|
|
48
|
+
"build": "pkg build --strict",
|
|
49
|
+
"clean": "npx rimraf 'dist'",
|
|
57
50
|
"prepublishOnly": "npm run build",
|
|
58
|
-
"typecheck": "tsc
|
|
59
|
-
},
|
|
60
|
-
"browserify": {
|
|
61
|
-
"transform": [
|
|
62
|
-
"loose-envify"
|
|
63
|
-
]
|
|
51
|
+
"typecheck": "tsc && tsc --noEmit -p tests/typescript"
|
|
64
52
|
},
|
|
53
|
+
"browserslist": [
|
|
54
|
+
"> 0.2% and supports es6-module and supports es6-module-dynamic-import and not dead and not IE 11",
|
|
55
|
+
"maintained node versions"
|
|
56
|
+
],
|
|
65
57
|
"prettier": {
|
|
66
58
|
"semi": false,
|
|
67
|
-
"singleQuote": true
|
|
68
|
-
"overrides": [
|
|
69
|
-
{
|
|
70
|
-
"files": ".babelrc",
|
|
71
|
-
"options": {
|
|
72
|
-
"parser": "json"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
]
|
|
59
|
+
"singleQuote": true
|
|
76
60
|
},
|
|
77
61
|
"dependencies": {
|
|
78
|
-
"compute-scroll-into-view": "^
|
|
62
|
+
"compute-scroll-into-view": "^3.0.2"
|
|
79
63
|
},
|
|
80
64
|
"devDependencies": {
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
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",
|
|
65
|
+
"@sanity/pkg-utils": "^2.2.5",
|
|
66
|
+
"@sanity/semantic-release-preset": "^4.0.0",
|
|
91
67
|
"cross-env": "^7.0.3",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
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"
|
|
68
|
+
"prettier": "^2.8.4",
|
|
69
|
+
"prettier-plugin-packagejson": "^2.4.3",
|
|
70
|
+
"rimraf": "^4.1.2",
|
|
71
|
+
"typescript": "^5.0.0"
|
|
111
72
|
},
|
|
112
73
|
"bundlesize": [
|
|
113
74
|
{
|
|
114
|
-
"path": "./
|
|
75
|
+
"path": "./dist/index.js",
|
|
115
76
|
"maxSize": "3.3 kB",
|
|
116
77
|
"compression": "none"
|
|
117
78
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SourceMapConsumer } from '..';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SourceMapGenerator } from '..';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SourceNode } from '..';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "source-map-js",
|
|
3
3
|
"description": "Generates and consumes source maps",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"homepage": "https://github.com/7rulnik/source-map-js",
|
|
6
6
|
"author": "Valentin 7rulnik Semirulnik <v7rulnik@gmail.com>",
|
|
7
7
|
"contributors": [
|
|
@@ -1,115 +1,104 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface RawSourceMap extends StartOfSourceMap {
|
|
8
|
-
version: string;
|
|
9
|
-
sources: string[];
|
|
10
|
-
names: string[];
|
|
11
|
-
sourcesContent?: string[];
|
|
12
|
-
mappings: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface Position {
|
|
16
|
-
line: number;
|
|
17
|
-
column: number;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface LineRange extends Position {
|
|
21
|
-
lastColumn: number;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface FindPosition extends Position {
|
|
25
|
-
// SourceMapConsumer.GREATEST_LOWER_BOUND or SourceMapConsumer.LEAST_UPPER_BOUND
|
|
26
|
-
bias?: number;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface SourceFindPosition extends FindPosition {
|
|
30
|
-
source: string;
|
|
31
|
-
}
|
|
1
|
+
export interface StartOfSourceMap {
|
|
2
|
+
file?: string;
|
|
3
|
+
sourceRoot?: string;
|
|
4
|
+
}
|
|
32
5
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
6
|
+
export interface RawSourceMap extends StartOfSourceMap {
|
|
7
|
+
version: string;
|
|
8
|
+
sources: string[];
|
|
9
|
+
names: string[];
|
|
10
|
+
sourcesContent?: string[];
|
|
11
|
+
mappings: string;
|
|
12
|
+
}
|
|
37
13
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
originalLine: number;
|
|
43
|
-
originalColumn: number;
|
|
44
|
-
name: string;
|
|
45
|
-
}
|
|
14
|
+
export interface Position {
|
|
15
|
+
line: number;
|
|
16
|
+
column: number;
|
|
17
|
+
}
|
|
46
18
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
19
|
+
export interface LineRange extends Position {
|
|
20
|
+
lastColumn: number;
|
|
21
|
+
}
|
|
50
22
|
|
|
51
|
-
|
|
52
|
-
|
|
23
|
+
export interface FindPosition extends Position {
|
|
24
|
+
// SourceMapConsumer.GREATEST_LOWER_BOUND or SourceMapConsumer.LEAST_UPPER_BOUND
|
|
25
|
+
bias?: number;
|
|
26
|
+
}
|
|
53
27
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
generatedPositionFor(originalPosition: SourceFindPosition): LineRange;
|
|
58
|
-
allGeneratedPositionsFor(originalPosition: MappedPosition): Position[];
|
|
59
|
-
hasContentsOfAllSources(): boolean;
|
|
60
|
-
sourceContentFor(source: string, returnNullOnMissing?: boolean): string;
|
|
61
|
-
eachMapping(callback: (mapping: MappingItem) => void, context?: any, order?: number): void;
|
|
62
|
-
}
|
|
28
|
+
export interface SourceFindPosition extends FindPosition {
|
|
29
|
+
source: string;
|
|
30
|
+
}
|
|
63
31
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
name?: string;
|
|
69
|
-
}
|
|
32
|
+
export interface MappedPosition extends Position {
|
|
33
|
+
source: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
}
|
|
70
36
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
37
|
+
export interface MappingItem {
|
|
38
|
+
source: string | null;
|
|
39
|
+
generatedLine: number;
|
|
40
|
+
generatedColumn: number;
|
|
41
|
+
originalLine: number | null;
|
|
42
|
+
originalColumn: number | null;
|
|
43
|
+
name: string | null;
|
|
44
|
+
}
|
|
79
45
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
46
|
+
export class SourceMapConsumer {
|
|
47
|
+
static GENERATED_ORDER: number;
|
|
48
|
+
static ORIGINAL_ORDER: number;
|
|
49
|
+
|
|
50
|
+
static GREATEST_LOWER_BOUND: number;
|
|
51
|
+
static LEAST_UPPER_BOUND: number;
|
|
52
|
+
|
|
53
|
+
constructor(rawSourceMap: RawSourceMap);
|
|
54
|
+
readonly file: string | undefined | null;
|
|
55
|
+
readonly sourceRoot: string | undefined | null;
|
|
56
|
+
readonly sourcesContent: readonly string[] | null | undefined;
|
|
57
|
+
readonly sources: readonly string[]
|
|
58
|
+
|
|
59
|
+
computeColumnSpans(): void;
|
|
60
|
+
originalPositionFor(generatedPosition: FindPosition): MappedPosition;
|
|
61
|
+
generatedPositionFor(originalPosition: SourceFindPosition): LineRange;
|
|
62
|
+
allGeneratedPositionsFor(originalPosition: MappedPosition): Position[];
|
|
63
|
+
hasContentsOfAllSources(): boolean;
|
|
64
|
+
sourceContentFor(source: string, returnNullOnMissing?: boolean): string | null;
|
|
65
|
+
eachMapping(callback: (mapping: MappingItem) => void, context?: any, order?: number): void;
|
|
66
|
+
}
|
|
84
67
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
add(chunk: string): void;
|
|
91
|
-
prepend(chunk: string): void;
|
|
92
|
-
setSourceContent(sourceFile: string, sourceContent: string): void;
|
|
93
|
-
walk(fn: (chunk: string, mapping: MappedPosition) => void): void;
|
|
94
|
-
walkSourceContents(fn: (file: string, content: string) => void): void;
|
|
95
|
-
join(sep: string): SourceNode;
|
|
96
|
-
replaceRight(pattern: string, replacement: string): SourceNode;
|
|
97
|
-
toString(): string;
|
|
98
|
-
toStringWithSourceMap(startOfSourceMap?: StartOfSourceMap): CodeWithSourceMap;
|
|
99
|
-
}
|
|
68
|
+
export interface Mapping {
|
|
69
|
+
generated: Position;
|
|
70
|
+
original?: Position | null;
|
|
71
|
+
source?: string | null;
|
|
72
|
+
name?: string | null;
|
|
100
73
|
}
|
|
101
74
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
75
|
+
export class SourceMapGenerator {
|
|
76
|
+
constructor(startOfSourceMap?: StartOfSourceMap);
|
|
77
|
+
static fromSourceMap(sourceMapConsumer: SourceMapConsumer, startOfSourceMap?: StartOfSourceMap): SourceMapGenerator;
|
|
78
|
+
addMapping(mapping: Mapping): void;
|
|
79
|
+
setSourceContent(sourceFile: string, sourceContent: string | null | undefined): void;
|
|
80
|
+
applySourceMap(sourceMapConsumer: SourceMapConsumer, sourceFile?: string, sourceMapPath?: string): void;
|
|
81
|
+
toString(): string;
|
|
82
|
+
toJSON(): RawSourceMap;
|
|
105
83
|
}
|
|
106
84
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
85
|
+
export interface CodeWithSourceMap {
|
|
86
|
+
code: string;
|
|
87
|
+
map: SourceMapGenerator;
|
|
110
88
|
}
|
|
111
89
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
90
|
+
export class SourceNode {
|
|
91
|
+
constructor();
|
|
92
|
+
constructor(line: number, column: number, source: string);
|
|
93
|
+
constructor(line: number, column: number, source: string, chunk?: string, name?: string);
|
|
94
|
+
static fromStringWithSourceMap(code: string, sourceMapConsumer: SourceMapConsumer, relativePath?: string): SourceNode;
|
|
95
|
+
add(chunk: string): void;
|
|
96
|
+
prepend(chunk: string): void;
|
|
97
|
+
setSourceContent(sourceFile: string, sourceContent: string): void;
|
|
98
|
+
walk(fn: (chunk: string, mapping: MappedPosition) => void): void;
|
|
99
|
+
walkSourceContents(fn: (file: string, content: string) => void): void;
|
|
100
|
+
join(sep: string): SourceNode;
|
|
101
|
+
replaceRight(pattern: string, replacement: string): SourceNode;
|
|
102
|
+
toString(): string;
|
|
103
|
+
toStringWithSourceMap(startOfSourceMap?: StartOfSourceMap): CodeWithSourceMap;
|
|
115
104
|
}
|
|
@@ -5,7 +5,3 @@ export * from '@vue/runtime-dom';
|
|
|
5
5
|
export declare function compileToFunction(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
|
|
6
6
|
|
|
7
7
|
export { compileToFunction as compile };
|
|
8
|
-
// this is appended to the end of ../dist/vue.d.ts during build.
|
|
9
|
-
// imports the global JSX namespace registration for compat.
|
|
10
|
-
// TODO: remove in 3.4
|
|
11
|
-
import '../jsx'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */
|
|
2
|
+
import type { NativeElements, ReservedProps, VNode } from '@vue/runtime-dom'
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* JSX namespace for usage with @jsxImportsSource directive
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */
|
|
1
2
|
// global JSX namespace registration
|
|
2
3
|
// somehow we have to copy=pase the jsx-runtime types here to make TypeScript happy
|
|
3
|
-
import type {
|
|
4
|
+
import type { NativeElements, ReservedProps, VNode } from '@vue/runtime-dom'
|
|
4
5
|
|
|
5
6
|
declare global {
|
|
6
7
|
namespace JSX {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.13",
|
|
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",
|
|
@@ -14,10 +14,7 @@
|
|
|
14
14
|
"compiler-sfc",
|
|
15
15
|
"server-renderer",
|
|
16
16
|
"jsx-runtime",
|
|
17
|
-
"jsx.d.ts"
|
|
18
|
-
"macros.d.ts",
|
|
19
|
-
"macros-global.d.ts",
|
|
20
|
-
"ref-macros.d.ts"
|
|
17
|
+
"jsx.d.ts"
|
|
21
18
|
],
|
|
22
19
|
"exports": {
|
|
23
20
|
".": {
|
|
@@ -28,6 +25,11 @@
|
|
|
28
25
|
},
|
|
29
26
|
"require": {
|
|
30
27
|
"types": "./dist/vue.d.ts",
|
|
28
|
+
"node": {
|
|
29
|
+
"production": "./dist/vue.cjs.prod.js",
|
|
30
|
+
"development": "./dist/vue.cjs.js",
|
|
31
|
+
"default": "./index.js"
|
|
32
|
+
},
|
|
31
33
|
"default": "./index.js"
|
|
32
34
|
}
|
|
33
35
|
},
|
|
@@ -65,10 +67,7 @@
|
|
|
65
67
|
},
|
|
66
68
|
"./jsx": "./jsx.d.ts",
|
|
67
69
|
"./dist/*": "./dist/*",
|
|
68
|
-
"./package.json": "./package.json"
|
|
69
|
-
"./macros": "./macros.d.ts",
|
|
70
|
-
"./macros-global": "./macros-global.d.ts",
|
|
71
|
-
"./ref-macros": "./ref-macros.d.ts"
|
|
70
|
+
"./package.json": "./package.json"
|
|
72
71
|
},
|
|
73
72
|
"buildOptions": {
|
|
74
73
|
"name": "Vue",
|
|
@@ -96,11 +95,11 @@
|
|
|
96
95
|
},
|
|
97
96
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
|
|
98
97
|
"dependencies": {
|
|
99
|
-
"@vue/shared": "3.
|
|
100
|
-
"@vue/compiler-dom": "3.
|
|
101
|
-
"@vue/runtime-dom": "3.
|
|
102
|
-
"@vue/
|
|
103
|
-
"@vue/
|
|
98
|
+
"@vue/shared": "3.5.13",
|
|
99
|
+
"@vue/compiler-dom": "3.5.13",
|
|
100
|
+
"@vue/runtime-dom": "3.5.13",
|
|
101
|
+
"@vue/server-renderer": "3.5.13",
|
|
102
|
+
"@vue/compiler-sfc": "3.5.13"
|
|
104
103
|
},
|
|
105
104
|
"peerDependencies": {
|
|
106
105
|
"typescript": "*"
|