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

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 (34) 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/parser/package.json +2 -2
  8. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +127 -164
  9. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +16 -6
  10. package/dist/client/node_modules/@babel/types/lib/index.d.ts +1168 -1157
  11. package/dist/client/node_modules/@babel/types/package.json +12 -12
  12. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +59 -6
  13. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +9 -2
  14. package/dist/client/node_modules/@iconify/vue/package.json +14 -14
  15. package/dist/client/node_modules/@vueuse/core/index.d.ts +486 -236
  16. package/dist/client/node_modules/@vueuse/core/package.json +18 -6
  17. package/dist/client/node_modules/@vueuse/metadata/package.json +11 -4
  18. package/dist/client/node_modules/@vueuse/shared/index.d.ts +50 -16
  19. package/dist/client/node_modules/@vueuse/shared/package.json +15 -3
  20. package/dist/client/node_modules/pinia/dist/pinia.d.ts +1 -1
  21. package/dist/client/node_modules/pinia/package.json +1 -1
  22. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +9 -9
  23. package/dist/client/node_modules/postcss/lib/comment.d.ts +7 -7
  24. package/dist/client/node_modules/postcss/lib/container.d.ts +45 -48
  25. package/dist/client/node_modules/postcss/lib/declaration.d.ts +9 -9
  26. package/dist/client/node_modules/postcss/lib/input.d.ts +15 -17
  27. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +40 -40
  28. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +5 -5
  29. package/dist/client/node_modules/postcss/lib/node.d.ts +8 -8
  30. package/dist/client/node_modules/postcss/lib/result.d.ts +10 -10
  31. package/dist/client/node_modules/postcss/lib/rule.d.ts +8 -8
  32. package/dist/client/node_modules/postcss/package.json +1 -1
  33. package/dist/client/vue.runtime.esm-bundler.js +1 -1
  34. package/package.json +1 -1
@@ -111,6 +111,20 @@ declare class Input_ {
111
111
  */
112
112
  map: PreviousMap
113
113
 
114
+ /**
115
+ * The CSS source identifier. Contains `Input#file` if the user
116
+ * set the `from` option, or `Input#id` if they did not.
117
+ *
118
+ * ```js
119
+ * const root = postcss.parse(css, { from: 'a.css' })
120
+ * root.source.input.from //=> "/home/ai/a.css"
121
+ *
122
+ * const root = postcss.parse(css)
123
+ * root.source.input.from //=> "<input css 1>"
124
+ * ```
125
+ */
126
+ get from(): string
127
+
114
128
  /**
115
129
  * @param css Input CSS source.
116
130
  * @param opts Process options.
@@ -137,7 +151,6 @@ declare class Input_ {
137
151
  },
138
152
  opts?: { plugin?: CssSyntaxError['plugin'] }
139
153
  ): CssSyntaxError
140
-
141
154
  /**
142
155
  * Returns `CssSyntaxError` with information about the error and its position.
143
156
  */
@@ -147,13 +160,11 @@ declare class Input_ {
147
160
  column: number,
148
161
  opts?: { plugin?: CssSyntaxError['plugin'] }
149
162
  ): CssSyntaxError
150
-
151
163
  error(
152
164
  message: string,
153
165
  offset: number,
154
166
  opts?: { plugin?: CssSyntaxError['plugin'] }
155
167
  ): CssSyntaxError
156
-
157
168
  /**
158
169
  * Converts source offset to line and column.
159
170
  *
@@ -185,22 +196,9 @@ declare class Input_ {
185
196
  endLine?: number,
186
197
  endColumn?: number
187
198
  ): false | Input.FilePosition
199
+
188
200
  /** Converts this to a JSON-friendly object representation. */
189
201
  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
202
  }
205
203
 
206
204
  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_ {}
@@ -234,14 +234,6 @@ declare abstract class Node_ {
234
234
 
235
235
  constructor(defaults?: object)
236
236
 
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
237
  /**
246
238
  * Insert new node after current node to current node’s parent.
247
239
  *
@@ -534,6 +526,14 @@ declare abstract class Node_ {
534
526
  * @return `Warning` instance is returned
535
527
  */
536
528
  warn(result: Result, message: string, options?: WarningOptions): Warning
529
+
530
+ /**
531
+ * If this node isn't already dirty, marks it and its ancestors as such. This
532
+ * indicates to the LazyResult processor that the {@link Root} has been
533
+ * modified by the current plugin and may need to be processed again by other
534
+ * plugins.
535
+ */
536
+ protected markDirty(): void
537
537
  }
538
538
 
539
539
  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_ {}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.5.1",
3
+ "version": "8.5.3",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -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.2",
5
5
  "description": "Bundled vendors for histoire",
6
6
  "author": {
7
7
  "name": "Guillaume Chau"