@histoire/controls 0.16.0 → 0.16.4

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ title?: string;
3
+ modelValue?: string;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ 'update:modelValue': (newValue: string) => true;
6
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ title?: string;
8
+ modelValue?: string;
9
+ }>>> & {
10
+ "onUpdate:modelValue"?: (newValue: string) => any;
11
+ }, {}>, {
12
+ actions: (_: {}) => any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
package/dist/index.d.ts CHANGED
@@ -1262,6 +1262,93 @@ export declare const HstJson: {
1262
1262
  actions: (_: {}) => any;
1263
1263
  };
1264
1264
  });
1265
+ export declare const HstColorSelect: {
1266
+ new (...args: any[]): {
1267
+ $: import("@vue/runtime-core").ComponentInternalInstance;
1268
+ $data: {};
1269
+ $props: Partial<{}> & Omit<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
1270
+ title: {
1271
+ type: import("@vue/runtime-core").PropType<string>;
1272
+ };
1273
+ modelValue: {
1274
+ type: import("@vue/runtime-core").PropType<string>;
1275
+ };
1276
+ }>> & {
1277
+ "onUpdate:modelValue"?: (newValue: string) => any;
1278
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, never>;
1279
+ $attrs: {
1280
+ [x: string]: unknown;
1281
+ };
1282
+ $refs: {
1283
+ [x: string]: unknown;
1284
+ };
1285
+ $slots: Readonly<{
1286
+ [name: string]: import("@vue/runtime-core").Slot;
1287
+ }>;
1288
+ $root: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1289
+ $parent: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1290
+ $emit: (event: "update:modelValue", newValue: string) => void;
1291
+ $el: any;
1292
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
1293
+ title: {
1294
+ type: import("@vue/runtime-core").PropType<string>;
1295
+ };
1296
+ modelValue: {
1297
+ type: import("@vue/runtime-core").PropType<string>;
1298
+ };
1299
+ }>> & {
1300
+ "onUpdate:modelValue"?: (newValue: string) => any;
1301
+ }, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
1302
+ 'update:modelValue': (newValue: string) => true;
1303
+ }, string, {}, {}, string> & {
1304
+ beforeCreate?: (() => void) | (() => void)[];
1305
+ created?: (() => void) | (() => void)[];
1306
+ beforeMount?: (() => void) | (() => void)[];
1307
+ mounted?: (() => void) | (() => void)[];
1308
+ beforeUpdate?: (() => void) | (() => void)[];
1309
+ updated?: (() => void) | (() => void)[];
1310
+ activated?: (() => void) | (() => void)[];
1311
+ deactivated?: (() => void) | (() => void)[];
1312
+ beforeDestroy?: (() => void) | (() => void)[];
1313
+ beforeUnmount?: (() => void) | (() => void)[];
1314
+ destroyed?: (() => void) | (() => void)[];
1315
+ unmounted?: (() => void) | (() => void)[];
1316
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
1317
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
1318
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
1319
+ };
1320
+ $forceUpdate: () => void;
1321
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
1322
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("@vue/runtime-core").WatchOptions<boolean>): import("@vue/runtime-core").WatchStopHandle;
1323
+ } & Readonly<import("@vue/runtime-core").ExtractPropTypes<{
1324
+ title: {
1325
+ type: import("@vue/runtime-core").PropType<string>;
1326
+ };
1327
+ modelValue: {
1328
+ type: import("@vue/runtime-core").PropType<string>;
1329
+ };
1330
+ }>> & {
1331
+ "onUpdate:modelValue"?: (newValue: string) => any;
1332
+ } & import("@vue/reactivity").ShallowUnwrapRef<{}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {};
1333
+ __isFragment?: never;
1334
+ __isTeleport?: never;
1335
+ __isSuspense?: never;
1336
+ } & import("@vue/runtime-core").ComponentOptionsBase<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
1337
+ title: {
1338
+ type: import("@vue/runtime-core").PropType<string>;
1339
+ };
1340
+ modelValue: {
1341
+ type: import("@vue/runtime-core").PropType<string>;
1342
+ };
1343
+ }>> & {
1344
+ "onUpdate:modelValue"?: (newValue: string) => any;
1345
+ }, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
1346
+ 'update:modelValue': (newValue: string) => true;
1347
+ }, string, {}, {}, string> & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps & (new () => {
1348
+ $slots: {
1349
+ actions: (_: {}) => any;
1350
+ };
1351
+ });
1265
1352
  export declare const components: {
1266
1353
  HstButton: {
1267
1354
  new (...args: any[]): {
@@ -2527,5 +2614,92 @@ export declare const components: {
2527
2614
  required: true;
2528
2615
  };
2529
2616
  }>>, {}>;
2617
+ HstColorSelect: {
2618
+ new (...args: any[]): {
2619
+ $: import("@vue/runtime-core").ComponentInternalInstance;
2620
+ $data: {};
2621
+ $props: Partial<{}> & Omit<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
2622
+ title: {
2623
+ type: import("@vue/runtime-core").PropType<string>;
2624
+ };
2625
+ modelValue: {
2626
+ type: import("@vue/runtime-core").PropType<string>;
2627
+ };
2628
+ }>> & {
2629
+ "onUpdate:modelValue"?: (newValue: string) => any;
2630
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, never>;
2631
+ $attrs: {
2632
+ [x: string]: unknown;
2633
+ };
2634
+ $refs: {
2635
+ [x: string]: unknown;
2636
+ };
2637
+ $slots: Readonly<{
2638
+ [name: string]: import("@vue/runtime-core").Slot;
2639
+ }>;
2640
+ $root: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
2641
+ $parent: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
2642
+ $emit: (event: "update:modelValue", newValue: string) => void;
2643
+ $el: any;
2644
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
2645
+ title: {
2646
+ type: import("@vue/runtime-core").PropType<string>;
2647
+ };
2648
+ modelValue: {
2649
+ type: import("@vue/runtime-core").PropType<string>;
2650
+ };
2651
+ }>> & {
2652
+ "onUpdate:modelValue"?: (newValue: string) => any;
2653
+ }, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2654
+ 'update:modelValue': (newValue: string) => true;
2655
+ }, string, {}, {}, string> & {
2656
+ beforeCreate?: (() => void) | (() => void)[];
2657
+ created?: (() => void) | (() => void)[];
2658
+ beforeMount?: (() => void) | (() => void)[];
2659
+ mounted?: (() => void) | (() => void)[];
2660
+ beforeUpdate?: (() => void) | (() => void)[];
2661
+ updated?: (() => void) | (() => void)[];
2662
+ activated?: (() => void) | (() => void)[];
2663
+ deactivated?: (() => void) | (() => void)[];
2664
+ beforeDestroy?: (() => void) | (() => void)[];
2665
+ beforeUnmount?: (() => void) | (() => void)[];
2666
+ destroyed?: (() => void) | (() => void)[];
2667
+ unmounted?: (() => void) | (() => void)[];
2668
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
2669
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
2670
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
2671
+ };
2672
+ $forceUpdate: () => void;
2673
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
2674
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("@vue/runtime-core").WatchOptions<boolean>): import("@vue/runtime-core").WatchStopHandle;
2675
+ } & Readonly<import("@vue/runtime-core").ExtractPropTypes<{
2676
+ title: {
2677
+ type: import("@vue/runtime-core").PropType<string>;
2678
+ };
2679
+ modelValue: {
2680
+ type: import("@vue/runtime-core").PropType<string>;
2681
+ };
2682
+ }>> & {
2683
+ "onUpdate:modelValue"?: (newValue: string) => any;
2684
+ } & import("@vue/reactivity").ShallowUnwrapRef<{}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {};
2685
+ __isFragment?: never;
2686
+ __isTeleport?: never;
2687
+ __isSuspense?: never;
2688
+ } & import("@vue/runtime-core").ComponentOptionsBase<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
2689
+ title: {
2690
+ type: import("@vue/runtime-core").PropType<string>;
2691
+ };
2692
+ modelValue: {
2693
+ type: import("@vue/runtime-core").PropType<string>;
2694
+ };
2695
+ }>> & {
2696
+ "onUpdate:modelValue"?: (newValue: string) => any;
2697
+ }, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2698
+ 'update:modelValue': (newValue: string) => true;
2699
+ }, string, {}, {}, string> & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps & (new () => {
2700
+ $slots: {
2701
+ actions: (_: {}) => any;
2702
+ };
2703
+ });
2530
2704
  };
2531
2705
  export * from './types';