@hunter-industries/hunter-components 0.0.33 → 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.
@@ -1,17 +1,30 @@
1
1
  import HunterAccountCircleIcon from "./account-circle.svg?component";
2
2
  import HunterAddIcon from "./add.svg?component";
3
3
  import HunterArchiveIcon from "./archive.svg?component";
4
- import HunterBackArrowIcon from "./back-arrow.svg?component";
4
+ import HunterArrowDownIcon from "./arrow-down.svg?component";
5
+ import HunterArrowLeftIcon from "./arrow-left.svg?component";
6
+ import HunterArrowRightIcon from "./arrow-right.svg?component";
7
+ import HunterArrowUpIcon from "./arrow-up.svg?component";
8
+ import HunterArrowLongDownIcon from "./arrow-long-down.svg?component";
9
+ import HunterArrowLongLeftIcon from "./arrow-long-left.svg?component";
10
+ import HunterArrowLongRightIcon from "./arrow-long-right.svg?component";
11
+ import HunterArrowLongUpIcon from "./arrow-long-up.svg?component";
12
+ import HunterCameraIcon from "./camera.svg?component";
5
13
  import HunterCaretDownIcon from "./caret-down.svg?component";
6
14
  import HunterCaretLeftIcon from "./caret-left.svg?component";
7
15
  import HunterCaretRightIcon from "./caret-right.svg?component";
8
16
  import HunterCaretUpIcon from "./caret-up.svg?component";
17
+ import HunterCaretOutlineLeftIcon from "./caret-outline-left.svg?component";
18
+ import HunterCaretOutlineDownIcon from "./caret-outline-down.svg?component";
19
+ import HunterCaretOutlineRightIcon from "./caret-outline-right.svg?component";
20
+ import HunterCaretOutlineUpIcon from "./caret-outline-up.svg?component";
9
21
  import HunterCheckIcon from "./check.svg?component";
10
22
  import HunterCircleOutlineIcon from "./circle-outline.svg?component";
11
23
  import HunterClockwiseIcon from "./clockwise.svg?component";
12
24
  import HunterCloseIcon from "./close.svg?component";
13
25
  import HunterCopyContentIcon from "./copy-content.svg?component";
14
26
  import HunterCounterClockwiseIcon from "./counter-clockwise.svg?component";
27
+ import HunterCrossHairIcon from "./cross-hair.svg?component";
15
28
  import HunterDeleteIcon from "./delete.svg?component";
16
29
  import HunterDownloadIcon from "./download.svg?component";
17
30
  import HunterDrawIcon from "./draw.svg?component";
@@ -20,14 +33,17 @@ import HunterErrorIcon from "./error.svg?component";
20
33
  import HunterErrorOutlineIcon from "./error-outline.svg?component";
21
34
  import HunterFenceIcon from "./fence.svg?component";
22
35
  import HunterFlowerIcon from "./flower.svg?component";
23
- import HunterForwardArrow from "./forward-arrow.svg?component";
36
+ import HunterForwardArrow from "./arrow-right.svg?component";
24
37
  import HunterGrassIcon from "./grass.svg?component";
38
+ import HunterGridIcon from "./grid.svg?component";
25
39
  import HunterHiddenIcon from "./hidden.svg?component";
26
40
  import HunterHouseIcon from "./house.svg?component";
27
41
  import HunterLocationIcon from "./location.svg?component";
28
42
  import HunterLockIcon from "./lock.svg?component";
29
43
  import HunterMapIcon from "./map.svg?component";
44
+ import HunterMaximizeImage from "./maximize-image.svg?component";
30
45
  import HunterMenuIcon from "./menu.svg?component";
46
+ import HunterMinimizeImage from "./minimize-image.svg?component";
31
47
  import HunterNorthArrowIcon from "./north-arrow.svg?component";
32
48
  import HunterNotificationIcon from "./notification.svg?component";
33
49
  import HunterOutdoorTableIcon from "./outdoor-table.svg?component";
@@ -41,6 +57,8 @@ import HunterRulerIcon from "./ruler.svg?component";
41
57
  import HunterSearchIcon from "./search.svg?component";
42
58
  import HunterShareIcon from "./share.svg?component";
43
59
  import HunterSquareOutlineIcon from "./square-outline.svg?component";
60
+ import HunterStarIcon from "./star.svg?component";
61
+ import HunterStarOutilneIcon from "./star-outline.svg?component";
44
62
  import HunterSubtractIcon from "./subtract.svg?component";
45
63
  import HunterSuccessIcon from "./success.svg?component";
46
64
  import HunterSuccessOutlineIcon from "./success-outline.svg?component";
@@ -57,6 +75,6 @@ import HunterWaterIcon from "./water.svg?component";
57
75
  import HunterWaterOffIcon from "./water-off.svg?component";
58
76
  import HunterZonesIcon from "./zones.svg?component";
59
77
  import { HunterIconName } from "../../types/assets";
60
- export { HunterAccountCircleIcon, HunterAddIcon, HunterArchiveIcon, HunterBackArrowIcon, HunterCaretDownIcon, HunterCaretLeftIcon, HunterCaretRightIcon, HunterCaretUpIcon, HunterCheckIcon, HunterCircleOutlineIcon, HunterClockwiseIcon, HunterCloseIcon, HunterCopyContentIcon, HunterCounterClockwiseIcon, HunterDeleteIcon, HunterDownloadIcon, HunterDrawIcon, HunterEditPencil, HunterErrorIcon, HunterErrorOutlineIcon, HunterFenceIcon, HunterFlowerIcon, HunterForwardArrow, HunterGrassIcon, HunterHiddenIcon, HunterHouseIcon, HunterLocationIcon, HunterLockIcon, HunterMapIcon, HunterMenuIcon, HunterNorthArrowIcon, HunterNotificationIcon, HunterOutdoorTableIcon, HunterPlantOutlineIcon, HunterPolygonOutlineIcon, HunterPottedPlantIcon, HunterRectangleOutlineIcon, HunterRedoIcon, HunterRotateDoubleArrow, HunterRulerIcon, HunterSearchIcon, HunterShareIcon, HunterSquareOutlineIcon, HunterSubtractIcon, HunterSuccessIcon, HunterSuccessOutlineIcon, HunterTapeMeasure, HunterTreeIcon, HunterTriangleOutlineIcon, HunterUndoIcon, HunterUnlockIcon, HunterUploadIcon, HunterVisibleIcon, HunterWarningIcon, HunterWarningOutlineIcon, HunterWaterIcon, HunterWaterOffIcon, HunterZonesIcon, };
78
+ export { HunterAccountCircleIcon, HunterAddIcon, HunterArchiveIcon, HunterArrowDownIcon, HunterArrowLeftIcon, HunterArrowRightIcon, HunterArrowUpIcon, HunterArrowLongDownIcon, HunterArrowLongLeftIcon, HunterArrowLongRightIcon, HunterArrowLongUpIcon, HunterCameraIcon, HunterCaretDownIcon, HunterCaretLeftIcon, HunterCaretRightIcon, HunterCaretUpIcon, HunterCaretOutlineLeftIcon, HunterCaretOutlineDownIcon, HunterCaretOutlineRightIcon, HunterCaretOutlineUpIcon, HunterCheckIcon, HunterCircleOutlineIcon, HunterClockwiseIcon, HunterCloseIcon, HunterCopyContentIcon, HunterCounterClockwiseIcon, HunterCrossHairIcon, HunterDeleteIcon, HunterDownloadIcon, HunterDrawIcon, HunterEditPencil, HunterErrorIcon, HunterErrorOutlineIcon, HunterFenceIcon, HunterFlowerIcon, HunterForwardArrow, HunterGrassIcon, HunterGridIcon, HunterHiddenIcon, HunterHouseIcon, HunterLocationIcon, HunterLockIcon, HunterMapIcon, HunterMaximizeImage, HunterMenuIcon, HunterMinimizeImage, HunterNorthArrowIcon, HunterNotificationIcon, HunterOutdoorTableIcon, HunterPlantOutlineIcon, HunterPolygonOutlineIcon, HunterPottedPlantIcon, HunterRectangleOutlineIcon, HunterRedoIcon, HunterRotateDoubleArrow, HunterRulerIcon, HunterSearchIcon, HunterShareIcon, HunterSquareOutlineIcon, HunterStarIcon, HunterStarOutilneIcon, HunterSubtractIcon, HunterSuccessIcon, HunterSuccessOutlineIcon, HunterTapeMeasure, HunterTreeIcon, HunterTriangleOutlineIcon, HunterUndoIcon, HunterUnlockIcon, HunterUploadIcon, HunterVisibleIcon, HunterWarningIcon, HunterWarningOutlineIcon, HunterWaterIcon, HunterWaterOffIcon, HunterZonesIcon, };
61
79
  declare const icons: Record<HunterIconName, any>;
62
80
  export default icons;
@@ -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;
@@ -0,0 +1,16 @@
1
+ import { DropdownListWithColorProps } from "../types";
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<DropdownListWithColorProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ selectOption: (value: string) => void;
4
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DropdownListWithColorProps>>> & {
5
+ onSelectOption?: ((value: string) => any) | undefined;
6
+ }, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -1,3 +1,3 @@
1
1
  import Dropdown from "./Dropdown.vue";
2
- import DropdownCoors from "./DropdownColors.vue";
3
- export { Dropdown as HunterDropdown, DropdownCoors as HunterDropdownColors };
2
+ import DropdownColors from "./DropdownColors.vue";
3
+ export { Dropdown as HunterDropdown, DropdownColors as HunterDropdownColors };
@@ -1,45 +1,6 @@
1
1
  import type { Meta, StoryObj } from "@storybook/vue3";
2
- import { HunterAccountCircleIcon, HunterAddIcon, HunterArchiveIcon, HunterBackArrowIcon, HunterCaretDownIcon, HunterCaretLeftIcon, HunterCaretRightIcon, HunterCaretUpIcon, HunterClockwiseIcon, HunterCloseIcon, HunterCopyContentIcon, HunterCounterClockwiseIcon, HunterDeleteIcon, HunterDownloadIcon, HunterDrawIcon, HunterEditPencil, HunterErrorIcon, HunterErrorOutlineIcon, HunterHiddenIcon, HunterLocationIcon, HunterMapIcon, HunterMenuIcon, HunterNorthArrowIcon, HunterNotificationIcon, HunterRedoIcon, HunterRotateDoubleArrow, HunterRulerIcon, HunterSearchIcon, HunterShareIcon, HunterSubtractIcon, HunterSuccessIcon, HunterSuccessOutlineIcon, HunterTapeMeasure, HunterUndoIcon, HunterUploadIcon, HunterWarningIcon, HunterWarningOutlineIcon, HunterZonesIcon } from "../../assets/icons";
3
2
  import Icon from "./Icon.vue";
4
- type SVGComponent = typeof HunterAccountCircleIcon | typeof HunterAddIcon | typeof HunterArchiveIcon | typeof HunterBackArrowIcon | typeof HunterCaretDownIcon | typeof HunterCaretLeftIcon | typeof HunterCaretRightIcon | typeof HunterCaretUpIcon | typeof HunterCloseIcon | typeof HunterClockwiseIcon | typeof HunterCopyContentIcon | typeof HunterCounterClockwiseIcon | typeof HunterDeleteIcon | typeof HunterDrawIcon | typeof HunterEditPencil | typeof HunterErrorIcon | typeof HunterErrorOutlineIcon | typeof HunterHiddenIcon | typeof HunterNotificationIcon | typeof HunterDownloadIcon | typeof HunterLocationIcon | typeof HunterMapIcon | typeof HunterMenuIcon | typeof HunterNorthArrowIcon | typeof HunterRedoIcon | typeof HunterRotateDoubleArrow | typeof HunterRulerIcon | typeof HunterSearchIcon | typeof HunterShareIcon | typeof HunterSubtractIcon | typeof HunterSuccessIcon | typeof HunterSuccessOutlineIcon | typeof HunterTapeMeasure | typeof HunterUndoIcon | typeof HunterUploadIcon | typeof HunterWarningIcon | typeof HunterWarningOutlineIcon | typeof HunterZonesIcon;
5
- export declare const DefaultWithProps: Meta<typeof Icon>;
6
- declare const meta: Meta<SVGComponent>;
3
+ declare const meta: Meta;
7
4
  export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- export declare const AccountCircle: Story;
10
- export declare const Add: Story;
11
- export declare const Archive: Story;
12
- export declare const BackArrow: Story;
13
- export declare const CaretDown: Story;
14
- export declare const CaretLeft: Story;
15
- export declare const CaretRight: Story;
16
- export declare const CaretUp: Story;
17
- export declare const Clockwise: Story;
18
- export declare const Close: Story;
19
- export declare const CopyContent: Story;
20
- export declare const CounterClocwise: Story;
21
- export declare const Delete: Story;
22
- export declare const Download: Story;
23
- export declare const Draw: Story;
24
- export declare const EditPencil: Story;
25
- export declare const Error: Story;
26
- export declare const ErrorOutline: Story;
27
- export declare const Hidden: Story;
28
- export declare const Location: Story;
29
- export declare const Map: Story;
30
- export declare const Menu: Story;
31
- export declare const NorthArrow: Story;
32
- export declare const Notification: Story;
33
- export declare const Redo: Story;
34
- export declare const RotateDoubleArrow: Story;
35
- export declare const Ruler: Story;
36
- export declare const Search: Story;
37
- export declare const Share: Story;
38
- export declare const Subract: Story;
39
- export declare const Success: Story;
40
- export declare const SuccessOutline: Story;
41
- export declare const Undo: Story;
42
- export declare const Upload: Story;
43
- export declare const Warning: Story;
44
- export declare const WarningOutline: Story;
45
- export declare const Zones: Story;
5
+ type Story = StoryObj<typeof Icon>;
6
+ export declare const Default: Story;