@histoire/vendors 0.17.4 → 0.17.8

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 (40) hide show
  1. package/dist/client/b-floating-vue.js +1 -1
  2. package/dist/client/b-iconify.js +1 -1
  3. package/dist/client/b-pinia.js +10 -9
  4. package/dist/client/b-vue-router.js +14 -14
  5. package/dist/client/b-vue-use.js +1 -1
  6. package/dist/client/b-vue.js +1 -1
  7. package/dist/client/node_modules/@babel/parser/package.json +4 -4
  8. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +2 -1
  9. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +9 -3
  10. package/dist/client/node_modules/@vue/compiler-core/package.json +4 -4
  11. package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
  12. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +8 -7
  13. package/dist/client/node_modules/@vue/compiler-sfc/package.json +16 -18
  14. package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
  15. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +50 -74
  16. package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
  17. package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +9 -0
  18. package/dist/client/node_modules/@vue/reactivity-transform/package.json +7 -7
  19. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +77 -204
  20. package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
  21. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +16 -14
  22. package/dist/client/node_modules/@vue/runtime-dom/package.json +4 -4
  23. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -2
  24. package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
  25. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +8 -3
  26. package/dist/client/node_modules/@vue/shared/package.json +1 -1
  27. package/dist/client/node_modules/csstype/index.d.ts +1270 -721
  28. package/dist/client/node_modules/csstype/package.json +3 -3
  29. package/dist/client/node_modules/nanoid/package.json +33 -11
  30. package/dist/client/node_modules/pinia/dist/pinia.d.ts +9 -0
  31. package/dist/client/node_modules/pinia/package.json +1 -1
  32. package/dist/client/node_modules/postcss/lib/postcss.d.ts +1 -1
  33. package/dist/client/node_modules/postcss/package.json +2 -2
  34. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +1 -6
  35. package/dist/client/node_modules/vue/jsx.d.ts +1 -6
  36. package/dist/client/node_modules/vue/package.json +16 -6
  37. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +21 -16
  38. package/dist/client/node_modules/vue-router/package.json +19 -15
  39. package/dist/client/vue.runtime.esm-bundler.js +708 -646
  40. package/package.json +7 -7
@@ -1,4 +1,4 @@
1
- import { SetupContext, RenderFunction, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, SlotsType, ComponentOptionsWithoutProps, ComponentOptionsWithArrayProps, ComponentPropsOptions, ComponentOptionsWithObjectProps, ExtractPropTypes, ComponentPublicInstance, ComponentInternalInstance, RootHydrateFunction, ConcreteComponent, BaseTransitionProps, FunctionalComponent, ObjectDirective, VNodeRef, RootRenderFunction, CreateAppFunction } from '@vue/runtime-core';
1
+ import { SetupContext, RenderFunction, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, SlotsType, ComponentOptionsWithoutProps, ComponentOptionsWithArrayProps, ComponentPropsOptions, ComponentOptionsWithObjectProps, ExtractPropTypes, ComponentPublicInstance, RootHydrateFunction, ConcreteComponent, BaseTransitionProps, FunctionalComponent, ObjectDirective, VNodeRef, RootRenderFunction, CreateAppFunction } from '@vue/runtime-core';
2
2
  export * from '@vue/runtime-core';
3
3
  import * as CSS from 'csstype';
4
4
 
@@ -20,6 +20,7 @@ export declare function defineCustomElement<PropsOptions extends Readonly<Compon
20
20
  export declare function defineCustomElement(options: {
21
21
  new (...args: any[]): ComponentPublicInstance;
22
22
  }): VueElementConstructor;
23
+ /*! #__NO_SIDE_EFFECTS__ */
23
24
  export declare const defineSSRCustomElement: typeof defineCustomElement;
24
25
  declare const BaseClass: {
25
26
  new (): HTMLElement;
@@ -31,11 +32,11 @@ type InnerComponentDef = ConcreteComponent & {
31
32
  export declare class VueElement extends BaseClass {
32
33
  private _def;
33
34
  private _props;
34
- /* removed internal: _instance */
35
35
  private _connected;
36
36
  private _resolved;
37
37
  private _numberProps;
38
38
  private _styles?;
39
+ private _ob?;
39
40
  constructor(_def: InnerComponentDef, _props?: Record<string, any>, hydrate?: RootHydrateFunction);
40
41
  connectedCallback(): void;
41
42
  disconnectedCallback(): void;
@@ -45,8 +46,6 @@ export declare class VueElement extends BaseClass {
45
46
  private _resolveDef;
46
47
  private _resolveProps;
47
48
  protected _setAttr(key: string): void;
48
- /* removed internal: _getProp */
49
- /* removed internal: _setProp */
50
49
  private _update;
51
50
  private _createVNode;
52
51
  private _applyStyles;
@@ -92,8 +91,9 @@ export declare const TransitionGroup: new () => {
92
91
  };
93
92
 
94
93
  type AssignerFn = (value: any) => void;
94
+ declare const assignKey: unique symbol;
95
95
  type ModelDirective<T> = ObjectDirective<T & {
96
- _assign: AssignerFn;
96
+ [assignKey]: AssignerFn;
97
97
  }>;
98
98
  export declare const vModelText: ModelDirective<HTMLInputElement | HTMLTextAreaElement>;
99
99
  export declare const vModelCheckbox: ModelDirective<HTMLInputElement>;
@@ -110,8 +110,9 @@ export declare const withModifiers: (fn: Function, modifiers: string[]) => (even
110
110
  */
111
111
  export declare const withKeys: (fn: Function, modifiers: string[]) => (event: KeyboardEvent) => any;
112
112
 
113
+ declare const vShowOldKey: unique symbol;
113
114
  interface VShowElement extends HTMLElement {
114
- _vod: string;
115
+ [vShowOldKey]: string;
115
116
  }
116
117
  export declare const vShow: ObjectDirective<VShowElement>;
117
118
 
@@ -270,7 +271,7 @@ interface AriaAttributes {
270
271
  * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
271
272
  * @see aria-atomic.
272
273
  */
273
- 'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text';
274
+ 'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals';
274
275
  /** Indicates that user input is required on the element before a form may be submitted. */
275
276
  'aria-required'?: Booleanish;
276
277
  /** Defines a human-readable, author-localized description for the role of an element. */
@@ -320,12 +321,13 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
320
321
  class?: any;
321
322
  style?: StyleValue;
322
323
  accesskey?: string;
323
- contenteditable?: Booleanish | 'inherit';
324
+ contenteditable?: Booleanish | 'inherit' | 'plaintext-only';
324
325
  contextmenu?: string;
325
326
  dir?: string;
326
327
  draggable?: Booleanish;
327
- hidden?: Booleanish;
328
+ hidden?: Booleanish | '' | 'hidden' | 'until-found';
328
329
  id?: string;
330
+ inert?: Booleanish;
329
331
  lang?: string;
330
332
  placeholder?: string;
331
333
  spellcheck?: Booleanish;
@@ -487,11 +489,13 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
487
489
  srcset?: string;
488
490
  usemap?: string;
489
491
  width?: Numberish;
492
+ loading?: 'lazy' | 'eager';
490
493
  }
491
494
  export interface InsHTMLAttributes extends HTMLAttributes {
492
495
  cite?: string;
493
496
  datetime?: string;
494
497
  }
498
+ export type InputTypeHTMLAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | (string & {});
495
499
  export interface InputHTMLAttributes extends HTMLAttributes {
496
500
  accept?: string;
497
501
  alt?: string;
@@ -523,7 +527,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
523
527
  size?: Numberish;
524
528
  src?: string;
525
529
  step?: Numberish;
526
- type?: string;
530
+ type?: InputTypeHTMLAttribute;
527
531
  value?: any;
528
532
  width?: Numberish;
529
533
  }
@@ -682,7 +686,7 @@ export interface TextareaHTMLAttributes extends HTMLAttributes {
682
686
  minlength?: Numberish;
683
687
  name?: string;
684
688
  placeholder?: string;
685
- readonly?: boolean;
689
+ readonly?: Booleanish;
686
690
  required?: Booleanish;
687
691
  rows?: Numberish;
688
692
  value?: string | string[] | number;
@@ -746,7 +750,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
746
750
  * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
747
751
  */
748
752
  class?: any;
749
- style?: string | CSSProperties;
753
+ style?: StyleValue;
750
754
  color?: string;
751
755
  height?: Numberish;
752
756
  id?: string;
@@ -1280,5 +1284,3 @@ export declare const hydrate: RootHydrateFunction;
1280
1284
  export declare const createApp: CreateAppFunction<Element>;
1281
1285
  export declare const createSSRApp: CreateAppFunction<Element>;
1282
1286
 
1283
-
1284
-
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-dom",
3
- "version": "3.3.4",
3
+ "version": "3.3.8",
4
4
  "description": "@vue/runtime-dom",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-dom.esm-bundler.js",
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
37
37
  "dependencies": {
38
- "@vue/shared": "3.3.4",
39
- "@vue/runtime-core": "3.3.4",
40
- "csstype": "^3.1.1"
38
+ "@vue/shared": "3.3.8",
39
+ "@vue/runtime-core": "3.3.8",
40
+ "csstype": "^3.1.2"
41
41
  }
42
42
  }
@@ -13,8 +13,6 @@ type Props = Record<string, unknown>;
13
13
  export type SSRContext = {
14
14
  [key: string]: any;
15
15
  teleports?: Record<string, string>;
16
- /* removed internal: __teleportBuffers */
17
- /* removed internal: __watcherHandles */
18
16
  };
19
17
  export declare function renderVNode(push: PushFn, vnode: VNode, parentComponent: ComponentInternalInstance, slotScopeId?: string): void;
20
18
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/server-renderer",
3
- "version": "3.3.4",
3
+ "version": "3.3.8",
4
4
  "description": "@vue/server-renderer",
5
5
  "main": "index.js",
6
6
  "module": "dist/server-renderer.esm-bundler.js",
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
34
34
  "peerDependencies": {
35
- "vue": "3.3.4"
35
+ "vue": "3.3.8"
36
36
  },
37
37
  "dependencies": {
38
- "@vue/shared": "3.3.4",
39
- "@vue/compiler-ssr": "3.3.4"
38
+ "@vue/shared": "3.3.8",
39
+ "@vue/compiler-ssr": "3.3.8"
40
40
  }
41
41
  }
@@ -54,11 +54,11 @@ export declare const hyphenate: (str: string) => string;
54
54
  /**
55
55
  * @private
56
56
  */
57
- export declare const capitalize: (str: string) => string;
57
+ export declare const capitalize: <T extends string>(str: T) => Capitalize<T>;
58
58
  /**
59
59
  * @private
60
60
  */
61
- export declare const toHandlerKey: (str: string) => string;
61
+ export declare const toHandlerKey: <T extends string>(str: T) => T extends "" ? "" : `on${Capitalize<T>}`;
62
62
  export declare const hasChanged: (value: any, oldValue: any) => boolean;
63
63
  export declare const invokeArrayFns: (fns: Function[], arg?: any) => void;
64
64
  export declare const def: (obj: object, key: string | symbol, value: any) => void;
@@ -68,7 +68,7 @@ export declare const def: (obj: object, key: string | symbol, value: any) => voi
68
68
  */
69
69
  export declare const looseToNumber: (val: any) => any;
70
70
  /**
71
- * Only conerces number-like strings
71
+ * Only concerns number-like strings
72
72
  * "123-foo" will be returned as-is
73
73
  */
74
74
  export declare const toNumber: (val: any) => any;
@@ -234,6 +234,8 @@ export declare const slotFlagsText: {
234
234
  3: string;
235
235
  };
236
236
 
237
+ export declare const isGloballyAllowed: (key: string) => boolean;
238
+ /** @deprecated use `isGloballyAllowed` instead */
237
239
  export declare const isGloballyWhitelisted: (key: string) => boolean;
238
240
 
239
241
  export declare function generateCodeFrame(source: string, start?: number, end?: number): string;
@@ -305,4 +307,7 @@ export type LooseRequired<T> = {
305
307
  [P in keyof (T & Required<T>)]: T[P];
306
308
  };
307
309
  export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
310
+ export type Awaited<T> = T extends null | undefined ? T : T extends object & {
311
+ then(onfulfilled: infer F, ...args: infer _): any;
312
+ } ? F extends (value: infer V, ...args: infer _) => any ? Awaited<V> : never : T;
308
313
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.3.4",
3
+ "version": "3.3.8",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",