@hunter-industries/hunter-components 0.0.34 → 0.0.36

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,8 @@
1
+ import type { Meta, StoryObj } from "@storybook/vue3";
2
+ import Card from "./Card.vue";
3
+ declare const meta: Meta<typeof Card>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const Horizontal: Story;
8
+ export declare const Small: Story;
@@ -0,0 +1,23 @@
1
+ interface Props {
2
+ type?: string;
3
+ image?: string;
4
+ title: string;
5
+ description?: string;
6
+ className?: string;
7
+ active?: boolean;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ addProduct: (value: any) => void;
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
12
+ onAddProduct?: ((value: any) => any) | undefined;
13
+ }, {}, {}>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToOption<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
+ };
@@ -0,0 +1,2 @@
1
+ import Card from "./Card.vue";
2
+ export { Card as HunterCard };
@@ -3,12 +3,12 @@ interface Props {
3
3
  id?: string;
4
4
  }
5
5
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- closeButtonClicked: (value: {
6
+ clearChip: (value: {
7
7
  text: string;
8
8
  id?: string | undefined;
9
9
  }) => void;
10
10
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
11
- onCloseButtonClicked?: ((value: {
11
+ onClearChip?: ((value: {
12
12
  text: string;
13
13
  id?: string | undefined;
14
14
  }) => any) | undefined;