@histoire/vendors 1.0.0-alpha.1 → 1.0.0-alpha.3

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.
Files changed (51) hide show
  1. package/dist/client/b-floating-vue.js +1 -1
  2. package/dist/client/b-iconify.js +142 -255
  3. package/dist/client/b-pinia.js +3 -3
  4. package/dist/client/b-scroll.js +1 -1
  5. package/dist/client/b-vue-use.js +1200 -764
  6. package/dist/client/b-vue.js +1 -1
  7. package/dist/client/node_modules/@babel/helper-string-parser/package.json +1 -1
  8. package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +1 -1
  9. package/dist/client/node_modules/@babel/parser/package.json +7 -7
  10. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +137 -165
  11. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +61 -40
  12. package/dist/client/node_modules/@babel/types/lib/index.d.ts +1691 -1658
  13. package/dist/client/node_modules/@babel/types/package.json +14 -14
  14. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +4 -1
  15. package/dist/client/node_modules/@floating-ui/core/package.json +2 -2
  16. package/dist/client/node_modules/@floating-ui/utils/package.json +1 -1
  17. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +59 -6
  18. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +9 -2
  19. package/dist/client/node_modules/@iconify/vue/package.json +14 -14
  20. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +39 -47
  21. package/dist/client/node_modules/@vueuse/core/index.d.ts +486 -236
  22. package/dist/client/node_modules/@vueuse/core/package.json +18 -6
  23. package/dist/client/node_modules/@vueuse/metadata/package.json +11 -4
  24. package/dist/client/node_modules/@vueuse/shared/index.d.ts +50 -16
  25. package/dist/client/node_modules/@vueuse/shared/package.json +15 -3
  26. package/dist/client/node_modules/nanoid/package.json +3 -2
  27. package/dist/client/node_modules/pinia/dist/pinia.d.ts +1 -1
  28. package/dist/client/node_modules/pinia/package.json +1 -1
  29. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +9 -9
  30. package/dist/client/node_modules/postcss/lib/comment.d.ts +7 -7
  31. package/dist/client/node_modules/postcss/lib/container.d.ts +52 -52
  32. package/dist/client/node_modules/postcss/lib/declaration.d.ts +9 -9
  33. package/dist/client/node_modules/postcss/lib/input.d.ts +38 -19
  34. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +40 -40
  35. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +5 -5
  36. package/dist/client/node_modules/postcss/lib/node.d.ts +25 -10
  37. package/dist/client/node_modules/postcss/lib/result.d.ts +10 -10
  38. package/dist/client/node_modules/postcss/lib/rule.d.ts +8 -8
  39. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +2 -2
  40. package/dist/client/node_modules/postcss/package.json +4 -4
  41. package/dist/client/vue.runtime.esm-bundler.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +0 -49
  44. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -8
  45. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +0 -15
  46. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +0 -6
  47. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/index.d.ts +0 -0
  48. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v2/index.d.ts +0 -0
  49. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v2.7/index.d.ts +0 -0
  50. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v3/index.d.ts +0 -0
  51. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/package.json +0 -0
@@ -18,6 +18,11 @@ declare namespace Input {
18
18
  */
19
19
  endLine?: number
20
20
 
21
+ /**
22
+ * Offset of exclusive end position in source file.
23
+ */
24
+ endOffset?: number
25
+
21
26
  /**
22
27
  * Absolute path to the source file.
23
28
  */
@@ -28,6 +33,11 @@ declare namespace Input {
28
33
  */
29
34
  line: number
30
35
 
36
+ /**
37
+ * Offset of inclusive start position in source file.
38
+ */
39
+ offset: number
40
+
31
41
  /**
32
42
  * Source code.
33
43
  */
@@ -111,12 +121,29 @@ declare class Input_ {
111
121
  */
112
122
  map: PreviousMap
113
123
 
124
+ /**
125
+ * The CSS source identifier. Contains `Input#file` if the user
126
+ * set the `from` option, or `Input#id` if they did not.
127
+ *
128
+ * ```js
129
+ * const root = postcss.parse(css, { from: 'a.css' })
130
+ * root.source.input.from //=> "/home/ai/a.css"
131
+ *
132
+ * const root = postcss.parse(css)
133
+ * root.source.input.from //=> "<input css 1>"
134
+ * ```
135
+ */
136
+ get from(): string
137
+
114
138
  /**
115
139
  * @param css Input CSS source.
116
140
  * @param opts Process options.
117
141
  */
118
142
  constructor(css: string, opts?: ProcessOptions)
119
143
 
144
+ /**
145
+ * Returns `CssSyntaxError` with information about the error and its position.
146
+ */
120
147
  error(
121
148
  message: string,
122
149
  start:
@@ -137,29 +164,34 @@ declare class Input_ {
137
164
  },
138
165
  opts?: { plugin?: CssSyntaxError['plugin'] }
139
166
  ): CssSyntaxError
140
-
141
- /**
142
- * Returns `CssSyntaxError` with information about the error and its position.
143
- */
144
167
  error(
145
168
  message: string,
146
169
  line: number,
147
170
  column: number,
148
171
  opts?: { plugin?: CssSyntaxError['plugin'] }
149
172
  ): CssSyntaxError
150
-
151
173
  error(
152
174
  message: string,
153
175
  offset: number,
154
176
  opts?: { plugin?: CssSyntaxError['plugin'] }
155
177
  ): CssSyntaxError
156
178
 
179
+ /**
180
+ * Converts source line and column to offset.
181
+ *
182
+ * @param line Source line.
183
+ * @param column Source column.
184
+ * @return Source offset.
185
+ */
186
+ fromLineAndColumn(line: number, column: number): number
187
+
157
188
  /**
158
189
  * Converts source offset to line and column.
159
190
  *
160
191
  * @param offset Source offset.
161
192
  */
162
193
  fromOffset(offset: number): { col: number; line: number } | null
194
+
163
195
  /**
164
196
  * Reads the input source map and returns a symbol position
165
197
  * in the input source (e.g., in a Sass file that was compiled
@@ -185,22 +217,9 @@ declare class Input_ {
185
217
  endLine?: number,
186
218
  endColumn?: number
187
219
  ): false | Input.FilePosition
220
+
188
221
  /** Converts this to a JSON-friendly object representation. */
189
222
  toJSON(): object
190
-
191
- /**
192
- * The CSS source identifier. Contains `Input#file` if the user
193
- * set the `from` option, or `Input#id` if they did not.
194
- *
195
- * ```js
196
- * const root = postcss.parse(css, { from: 'a.css' })
197
- * root.source.input.from //=> "/home/ai/a.css"
198
- *
199
- * const root = postcss.parse(css)
200
- * root.source.input.from //=> "<input css 1>"
201
- * ```
202
- */
203
- get from(): string
204
223
  }
205
224
 
206
225
  declare class Input extends Input_ {}
@@ -67,46 +67,6 @@ declare class LazyResult_<RootNode = Document | Root>
67
67
  */
68
68
  then: Promise<Result<RootNode>>['then']
69
69
 
70
- /**
71
- * @param processor Processor used for this transformation.
72
- * @param css CSS to parse and transform.
73
- * @param opts Options from the `Processor#process` or `Root#toResult`.
74
- */
75
- constructor(processor: Processor, css: string, opts: ResultOptions)
76
-
77
- /**
78
- * Run plugin in async way and return `Result`.
79
- *
80
- * @return Result with output content.
81
- */
82
- async(): Promise<Result<RootNode>>
83
-
84
- /**
85
- * Run plugin in sync way and return `Result`.
86
- *
87
- * @return Result with output content.
88
- */
89
- sync(): Result<RootNode>
90
-
91
- /**
92
- * Alias for the `LazyResult#css` property.
93
- *
94
- * ```js
95
- * lazy + '' === lazy.css
96
- * ```
97
- *
98
- * @return Output CSS.
99
- */
100
- toString(): string
101
-
102
- /**
103
- * Processes input CSS through synchronous plugins
104
- * and calls `Result#warnings`.
105
- *
106
- * @return Warnings from plugins.
107
- */
108
- warnings(): Warning[]
109
-
110
70
  /**
111
71
  * An alias for the `css` property. Use it with syntaxes
112
72
  * that generate non-CSS output.
@@ -181,6 +141,46 @@ declare class LazyResult_<RootNode = Document | Root>
181
141
  * Required to implement the Promise interface.
182
142
  */
183
143
  get [Symbol.toStringTag](): string
144
+
145
+ /**
146
+ * @param processor Processor used for this transformation.
147
+ * @param css CSS to parse and transform.
148
+ * @param opts Options from the `Processor#process` or `Root#toResult`.
149
+ */
150
+ constructor(processor: Processor, css: string, opts: ResultOptions)
151
+
152
+ /**
153
+ * Run plugin in async way and return `Result`.
154
+ *
155
+ * @return Result with output content.
156
+ */
157
+ async(): Promise<Result<RootNode>>
158
+
159
+ /**
160
+ * Run plugin in sync way and return `Result`.
161
+ *
162
+ * @return Result with output content.
163
+ */
164
+ sync(): Result<RootNode>
165
+
166
+ /**
167
+ * Alias for the `LazyResult#css` property.
168
+ *
169
+ * ```js
170
+ * lazy + '' === lazy.css
171
+ * ```
172
+ *
173
+ * @return Output CSS.
174
+ */
175
+ toString(): string
176
+
177
+ /**
178
+ * Processes input CSS through synchronous plugins
179
+ * and calls `Result#warnings`.
180
+ *
181
+ * @return Warnings from plugins.
182
+ */
183
+ warnings(): Warning[]
184
184
  }
185
185
 
186
186
  declare class LazyResult<
@@ -26,11 +26,6 @@ declare class NoWorkResult_ implements LazyResult<Root> {
26
26
  catch: Promise<Result<Root>>['catch']
27
27
  finally: Promise<Result<Root>>['finally']
28
28
  then: Promise<Result<Root>>['then']
29
- constructor(processor: Processor, css: string, opts: ResultOptions)
30
- async(): Promise<Result<Root>>
31
- sync(): Result<Root>
32
- toString(): string
33
- warnings(): Warning[]
34
29
  get content(): string
35
30
  get css(): string
36
31
  get map(): SourceMap
@@ -39,6 +34,11 @@ declare class NoWorkResult_ implements LazyResult<Root> {
39
34
  get processor(): Processor
40
35
  get root(): Root
41
36
  get [Symbol.toStringTag](): string
37
+ constructor(processor: Processor, css: string, opts: ResultOptions)
38
+ async(): Promise<Result<Root>>
39
+ sync(): Result<Root>
40
+ toString(): string
41
+ warnings(): Warning[]
42
42
  }
43
43
 
44
44
  declare class NoWorkResult extends NoWorkResult_ {}
@@ -1,5 +1,4 @@
1
1
  import AtRule = require('./at-rule.js')
2
-
3
2
  import { AtRuleProps } from './at-rule.js'
4
3
  import Comment, { CommentProps } from './comment.js'
5
4
  import Container, { NewChild } from './container.js'
@@ -66,6 +65,22 @@ declare namespace Node {
66
65
  /**
67
66
  * The inclusive ending position for the source
68
67
  * code of a node.
68
+ *
69
+ * However, `end.offset` of a non `Root` node is the exclusive position.
70
+ * See https://github.com/postcss/postcss/pull/1879 for details.
71
+ *
72
+ * ```js
73
+ * const root = postcss.parse('a { color: black }')
74
+ * const a = root.first
75
+ * const color = a.first
76
+ *
77
+ * // The offset of `Root` node is the inclusive position
78
+ * css.source.end // { line: 1, column: 19, offset: 18 }
79
+ *
80
+ * // The offset of non `Root` node is the exclusive position
81
+ * a.source.end // { line: 1, column: 18, offset: 18 }
82
+ * color.source.end // { line: 1, column: 16, offset: 16 }
83
+ * ```
69
84
  */
70
85
  end?: Position
71
86
 
@@ -234,14 +249,6 @@ declare abstract class Node_ {
234
249
 
235
250
  constructor(defaults?: object)
236
251
 
237
- /**
238
- * If this node isn't already dirty, marks it and its ancestors as such. This
239
- * indicates to the LazyResult processor that the {@link Root} has been
240
- * modified by the current plugin and may need to be processed again by other
241
- * plugins.
242
- */
243
- protected markDirty(): void
244
-
245
252
  /**
246
253
  * Insert new node after current node to current node’s parent.
247
254
  *
@@ -432,7 +439,7 @@ declare abstract class Node_ {
432
439
  * @return Range.
433
440
  */
434
441
  rangeBy(
435
- opts?: Pick<WarningOptions, 'endIndex' | 'index' | 'word'>
442
+ opts?: Pick<WarningOptions, 'end' | 'endIndex' | 'index' | 'start' | 'word'>
436
443
  ): Node.Range
437
444
 
438
445
  /**
@@ -534,6 +541,14 @@ declare abstract class Node_ {
534
541
  * @return `Warning` instance is returned
535
542
  */
536
543
  warn(result: Result, message: string, options?: WarningOptions): Warning
544
+
545
+ /**
546
+ * If this node isn't already dirty, marks it and its ancestors as such. This
547
+ * indicates to the LazyResult processor that the {@link Root} has been
548
+ * modified by the current plugin and may need to be processed again by other
549
+ * plugins.
550
+ */
551
+ protected markDirty(): void
537
552
  }
538
553
 
539
554
  declare class Node extends Node_ {}
@@ -142,6 +142,16 @@ declare class Result_<RootNode = Document | Root> {
142
142
  */
143
143
  root: RootNode
144
144
 
145
+ /**
146
+ * An alias for the `Result#css` property.
147
+ * Use it with syntaxes that generate non-CSS output.
148
+ *
149
+ * ```js
150
+ * result.css === result.content
151
+ * ```
152
+ */
153
+ get content(): string
154
+
145
155
  /**
146
156
  * @param processor Processor used for this transformation.
147
157
  * @param root Root node after all transformations.
@@ -188,16 +198,6 @@ declare class Result_<RootNode = Document | Root> {
188
198
  * @return Warnings from plugins.
189
199
  */
190
200
  warnings(): Warning[]
191
-
192
- /**
193
- * An alias for the `Result#css` property.
194
- * Use it with syntaxes that generate non-CSS output.
195
- *
196
- * ```js
197
- * result.css === result.content
198
- * ```
199
- */
200
- get content(): string
201
201
  }
202
202
 
203
203
  declare class Result<RootNode = Document | Root> extends Result_<RootNode> {}
@@ -83,14 +83,6 @@ declare class Rule_ extends Container {
83
83
  parent: ContainerWithChildren | undefined
84
84
  raws: Rule.RuleRaws
85
85
  type: 'rule'
86
- constructor(defaults?: Rule.RuleProps)
87
-
88
- assign(overrides: object | Rule.RuleProps): this
89
- clone(overrides?: Partial<Rule.RuleProps>): this
90
-
91
- cloneAfter(overrides?: Partial<Rule.RuleProps>): this
92
-
93
- cloneBefore(overrides?: Partial<Rule.RuleProps>): this
94
86
  /**
95
87
  * The rule’s full selector represented as a string.
96
88
  *
@@ -101,6 +93,7 @@ declare class Rule_ extends Container {
101
93
  * ```
102
94
  */
103
95
  get selector(): string
96
+
104
97
  set selector(value: string)
105
98
  /**
106
99
  * An array containing the rule’s individual selectors.
@@ -118,7 +111,14 @@ declare class Rule_ extends Container {
118
111
  * ```
119
112
  */
120
113
  get selectors(): string[]
114
+
121
115
  set selectors(values: string[])
116
+
117
+ constructor(defaults?: Rule.RuleProps)
118
+ assign(overrides: object | Rule.RuleProps): this
119
+ clone(overrides?: Partial<Rule.RuleProps>): this
120
+ cloneAfter(overrides?: Partial<Rule.RuleProps>): this
121
+ cloneBefore(overrides?: Partial<Rule.RuleProps>): this
122
122
  }
123
123
 
124
124
  declare class Rule extends Rule_ {}
@@ -25,7 +25,7 @@ declare class Stringifier_ {
25
25
  comment(node: Comment): void
26
26
  decl(node: Declaration, semicolon?: boolean): void
27
27
  document(node: Document): void
28
- raw(node: AnyNode, own: null | string, detect?: string): string
28
+ raw(node: AnyNode, own: null | string, detect?: string): boolean | string
29
29
  rawBeforeClose(root: Root): string | undefined
30
30
  rawBeforeComment(root: Root, node: Comment): string | undefined
31
31
  rawBeforeDecl(root: Root, node: Declaration): string | undefined
@@ -35,7 +35,7 @@ declare class Stringifier_ {
35
35
  rawEmptyBody(root: Root): string | undefined
36
36
  rawIndent(root: Root): string | undefined
37
37
  rawSemicolon(root: Root): boolean | undefined
38
- rawValue(node: AnyNode, prop: string): string
38
+ rawValue(node: AnyNode, prop: string): number | string
39
39
  root(node: Root): void
40
40
  rule(node: Rule): void
41
41
  stringify(node: AnyNode, semicolon?: boolean): void
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.5.1",
3
+ "version": "8.5.6",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
7
7
  },
8
8
  "exports": {
9
9
  ".": {
10
- "require": "./lib/postcss.js",
11
- "import": "./lib/postcss.mjs"
10
+ "import": "./lib/postcss.mjs",
11
+ "require": "./lib/postcss.js"
12
12
  },
13
13
  "./lib/at-rule": "./lib/at-rule.js",
14
14
  "./lib/comment": "./lib/comment.js",
@@ -74,7 +74,7 @@
74
74
  "url": "https://github.com/postcss/postcss/issues"
75
75
  },
76
76
  "dependencies": {
77
- "nanoid": "^3.3.8",
77
+ "nanoid": "^3.3.11",
78
78
  "picocolors": "^1.1.1",
79
79
  "source-map-js": "^1.2.1"
80
80
  },
@@ -12876,4 +12876,4 @@ var vue_runtime_esmBundler = /*#__PURE__*/Object.freeze({
12876
12876
  withScopeId: withScopeId
12877
12877
  });
12878
12878
 
12879
- export { TransitionGroup as $, toRaw as A, watch as B, unref as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, getCurrentScope as I, onScopeDispose as J, toRefs as K, computed as L, reactive as M, toRef as N, getCurrentInstance as O, onUnmounted as P, onDeactivated as Q, onActivated as R, watchEffect as S, provide as T, shallowRef as U, shallowReactive as V, readonly as W, customRef as X, onBeforeMount as Y, onBeforeUnmount as Z, onMounted as _, normalizeProps as a, mergeDefaults as a$, onUpdated as a0, isReadonly as a1, onBeforeUpdate as a2, compile as a3, Transition as a4, VueElement as a5, createSSRApp as a6, defineCustomElement as a7, defineSSRCustomElement as a8, hydrate as a9, callWithErrorHandling as aA, cloneVNode as aB, compatUtils as aC, createHydrationRenderer as aD, createPropsRestProxy as aE, createRenderer as aF, createSlots as aG, createStaticVNode as aH, createTextVNode as aI, defineAsyncComponent as aJ, defineEmits as aK, defineExpose as aL, defineModel as aM, defineOptions as aN, defineProps as aO, defineSlots as aP, devtools as aQ, getTransitionRawChildren as aR, handleError as aS, hydrateOnIdle as aT, hydrateOnInteraction as aU, hydrateOnMediaQuery as aV, hydrateOnVisible as aW, initCustomFormatter as aX, isMemoSame as aY, isRuntimeOnly as aZ, isVNode as a_, initDirectivesForSSR as aa, render as ab, useCssModule as ac, useCssVars as ad, useHost as ae, useShadowRoot as af, vModelCheckbox as ag, vModelDynamic as ah, vModelRadio as ai, vModelSelect as aj, vModelText as ak, vShow as al, withModifiers as am, BaseTransition as an, BaseTransitionPropsValidators as ao, Comment as ap, DeprecationTypes as aq, ErrorCodes as ar, ErrorTypeStrings as as, KeepAlive as at, Static as au, Suspense as av, Teleport as aw, Text as ax, assertNumber as ay, callWithAsyncErrorHandling as az, nextTick as b, mergeModels as b0, onErrorCaptured as b1, onRenderTracked as b2, onRenderTriggered as b3, onServerPrefetch as b4, queuePostFlushCb as b5, registerRuntimeCompiler as b6, renderList as b7, resolveDirective as b8, resolveDynamicComponent as b9, TrackOpTypes as bA, TriggerOpTypes as bB, effect as bC, getCurrentWatcher as bD, isProxy as bE, isShallow as bF, onWatcherCleanup as bG, proxyRefs as bH, shallowReadonly as bI, stop as bJ, toValue as bK, triggerRef as bL, camelize as bM, capitalize as bN, toHandlerKey as bO, resolveFilter as ba, resolveTransitionHooks as bb, setBlockTracking as bc, setDevtoolsHook as bd, setTransitionHooks as be, ssrContextKey as bf, ssrUtils as bg, toHandlers as bh, transformVNodeArgs as bi, useAttrs as bj, useId as bk, useModel as bl, useSSRContext as bm, useSlots as bn, useTemplateRef as bo, useTransitionState as bp, version as bq, warn as br, watchPostEffect as bs, watchSyncEffect as bt, withAsyncContext as bu, withDefaults as bv, withDirectives as bw, withMemo as bx, EffectScope as by, ReactiveEffect as bz, createElementBlock as c, defineComponent as d, popScopeId as e, createBlock as f, guardReactiveProps as g, createBaseVNode as h, resolveComponent as i, normalizeStyle as j, withKeys as k, createCommentVNode as l, mergeProps as m, normalizeClass as n, openBlock as o, pushScopeId as p, withCtx as q, renderSlot as r, createVNode as s, toDisplayString as t, ref as u, createApp as v, withScopeId as w, h as x, hasInjectionContext as y, inject as z };
12879
+ export { onMounted as $, toRaw as A, watch as B, unref as C, markRaw as D, effectScope as E, Fragment as F, isRef as G, isReactive as H, getCurrentScope as I, onScopeDispose as J, toRefs as K, computed as L, reactive as M, toRef as N, getCurrentInstance as O, onUnmounted as P, onDeactivated as Q, onActivated as R, watchEffect as S, provide as T, shallowRef as U, shallowReactive as V, readonly as W, customRef as X, toValue as Y, onBeforeMount as Z, onBeforeUnmount as _, normalizeProps as a, isVNode as a$, TransitionGroup as a0, onUpdated as a1, isReadonly as a2, onBeforeUpdate as a3, compile as a4, Transition as a5, VueElement as a6, createSSRApp as a7, defineCustomElement as a8, defineSSRCustomElement as a9, callWithAsyncErrorHandling as aA, callWithErrorHandling as aB, cloneVNode as aC, compatUtils as aD, createHydrationRenderer as aE, createPropsRestProxy as aF, createRenderer as aG, createSlots as aH, createStaticVNode as aI, createTextVNode as aJ, defineAsyncComponent as aK, defineEmits as aL, defineExpose as aM, defineModel as aN, defineOptions as aO, defineProps as aP, defineSlots as aQ, devtools as aR, getTransitionRawChildren as aS, handleError as aT, hydrateOnIdle as aU, hydrateOnInteraction as aV, hydrateOnMediaQuery as aW, hydrateOnVisible as aX, initCustomFormatter as aY, isMemoSame as aZ, isRuntimeOnly as a_, hydrate as aa, initDirectivesForSSR as ab, render as ac, useCssModule as ad, useCssVars as ae, useHost as af, useShadowRoot as ag, vModelCheckbox as ah, vModelDynamic as ai, vModelRadio as aj, vModelSelect as ak, vModelText as al, vShow as am, withModifiers as an, BaseTransition as ao, BaseTransitionPropsValidators as ap, Comment as aq, DeprecationTypes as ar, ErrorCodes as as, ErrorTypeStrings as at, KeepAlive as au, Static as av, Suspense as aw, Teleport as ax, Text as ay, assertNumber as az, nextTick as b, mergeDefaults as b0, mergeModels as b1, onErrorCaptured as b2, onRenderTracked as b3, onRenderTriggered as b4, onServerPrefetch as b5, queuePostFlushCb as b6, registerRuntimeCompiler as b7, renderList as b8, resolveDirective as b9, ReactiveEffect as bA, TrackOpTypes as bB, TriggerOpTypes as bC, effect as bD, getCurrentWatcher as bE, isProxy as bF, isShallow as bG, onWatcherCleanup as bH, proxyRefs as bI, shallowReadonly as bJ, stop as bK, triggerRef as bL, camelize as bM, capitalize as bN, toHandlerKey as bO, resolveDynamicComponent as ba, resolveFilter as bb, resolveTransitionHooks as bc, setBlockTracking as bd, setDevtoolsHook as be, setTransitionHooks as bf, ssrContextKey as bg, ssrUtils as bh, toHandlers as bi, transformVNodeArgs as bj, useAttrs as bk, useId as bl, useModel as bm, useSSRContext as bn, useSlots as bo, useTemplateRef as bp, useTransitionState as bq, version as br, warn as bs, watchPostEffect as bt, watchSyncEffect as bu, withAsyncContext as bv, withDefaults as bw, withDirectives as bx, withMemo as by, EffectScope as bz, createElementBlock as c, defineComponent as d, popScopeId as e, createBlock as f, guardReactiveProps as g, createBaseVNode as h, resolveComponent as i, withKeys as j, normalizeStyle as k, createCommentVNode as l, mergeProps as m, normalizeClass as n, openBlock as o, pushScopeId as p, withCtx as q, renderSlot as r, createVNode as s, toDisplayString as t, ref as u, createApp as v, withScopeId as w, h as x, hasInjectionContext as y, inject as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@histoire/vendors",
3
3
  "type": "module",
4
- "version": "1.0.0-alpha.1",
4
+ "version": "1.0.0-alpha.3",
5
5
  "description": "Bundled vendors for histoire",
6
6
  "author": {
7
7
  "name": "Guillaume Chau"
@@ -1,49 +0,0 @@
1
- declare type Line = number;
2
- declare type Column = number;
3
- declare type Kind = number;
4
- declare type Name = number;
5
- declare type Var = number;
6
- declare type SourcesIndex = number;
7
- declare type ScopesIndex = number;
8
- declare type Mix<A, B, O> = (A & O) | (B & O);
9
- export declare type OriginalScope = Mix<[
10
- Line,
11
- Column,
12
- Line,
13
- Column,
14
- Kind
15
- ], [
16
- Line,
17
- Column,
18
- Line,
19
- Column,
20
- Kind,
21
- Name
22
- ], {
23
- vars: Var[];
24
- }>;
25
- export declare type GeneratedRange = Mix<[
26
- Line,
27
- Column,
28
- Line,
29
- Column
30
- ], [
31
- Line,
32
- Column,
33
- Line,
34
- Column,
35
- SourcesIndex,
36
- ScopesIndex
37
- ], {
38
- callsite: CallSite | null;
39
- bindings: Binding[];
40
- isScope: boolean;
41
- }>;
42
- export declare type CallSite = [SourcesIndex, Line, Column];
43
- declare type Binding = BindingExpressionRange[];
44
- export declare type BindingExpressionRange = [Name] | [Name, Line, Column];
45
- export declare function decodeOriginalScopes(input: string): OriginalScope[];
46
- export declare function encodeOriginalScopes(scopes: OriginalScope[]): string;
47
- export declare function decodeGeneratedRanges(input: string): GeneratedRange[];
48
- export declare function encodeGeneratedRanges(ranges: GeneratedRange[]): string;
49
- export {};
@@ -1,8 +0,0 @@
1
- export { decodeOriginalScopes, encodeOriginalScopes, decodeGeneratedRanges, encodeGeneratedRanges, } from './scopes';
2
- export type { OriginalScope, GeneratedRange, CallSite, BindingExpressionRange } from './scopes';
3
- export declare type SourceMapSegment = [number] | [number, number, number, number] | [number, number, number, number, number];
4
- export declare type SourceMapLine = SourceMapSegment[];
5
- export declare type SourceMapMappings = SourceMapLine[];
6
- export declare function decode(mappings: string): SourceMapMappings;
7
- export declare function encode(decoded: SourceMapMappings): string;
8
- export declare function encode(decoded: Readonly<SourceMapMappings>): string;
@@ -1,15 +0,0 @@
1
- export declare class StringWriter {
2
- pos: number;
3
- private out;
4
- private buffer;
5
- write(v: number): void;
6
- flush(): string;
7
- }
8
- export declare class StringReader {
9
- pos: number;
10
- private buffer;
11
- constructor(buffer: string);
12
- next(): number;
13
- peek(): number;
14
- indexOf(char: string): number;
15
- }
@@ -1,6 +0,0 @@
1
- import type { StringReader, StringWriter } from './strings';
2
- export declare const comma: number;
3
- export declare const semicolon: number;
4
- export declare function decodeInteger(reader: StringReader, relative: number): number;
5
- export declare function encodeInteger(builder: StringWriter, num: number, relative: number): number;
6
- export declare function hasMoreVlq(reader: StringReader, max: number): boolean;