@hunter-industries/hunter-components 0.0.20 → 0.0.22
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.
- package/dist/assets/icons/index.d.ts +20 -1
- package/dist/components/Button/ButtonToast.vue.d.ts +2 -1
- package/dist/components/Icon/icons.stories.d.ts +4 -2
- package/dist/components/{Notification/Notfication.stories.d.ts → Toast/Toast.stories.d.ts} +2 -2
- package/dist/components/{Notification/Notification.vue.d.ts → Toast/Toast.vue.d.ts} +3 -3
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/hunter-components.js +775 -630
- package/dist/hunter-components.umd.cjs +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/types/assets.d.ts +1 -1
- package/dist/types/ui.d.ts +2 -2
- package/package.json +1 -1
- package/dist/components/Notification/index.d.ts +0 -2
|
@@ -6,6 +6,7 @@ import HunterCaretDownIcon from "./caret-down.svg?component";
|
|
|
6
6
|
import HunterCaretLeftIcon from "./caret-left.svg?component";
|
|
7
7
|
import HunterCaretRightIcon from "./caret-right.svg?component";
|
|
8
8
|
import HunterCaretUpIcon from "./caret-up.svg?component";
|
|
9
|
+
import HunterCircleOutlineIcon from "./circle-outline.svg?component";
|
|
9
10
|
import HunterClockwiseIcon from "./clockwise.svg?component";
|
|
10
11
|
import HunterCloseIcon from "./close.svg?component";
|
|
11
12
|
import HunterCopyContentIcon from "./copy-content.svg?component";
|
|
@@ -13,27 +14,45 @@ import HunterCounterClockwiseIcon from "./counter-clockwise.svg?component";
|
|
|
13
14
|
import HunterDeleteIcon from "./delete.svg?component";
|
|
14
15
|
import HunterDownloadIcon from "./download.svg?component";
|
|
15
16
|
import HunterDrawIcon from "./draw.svg?component";
|
|
17
|
+
import HunterEditPencil from "./edit-pencil.svg?component";
|
|
16
18
|
import HunterErrorIcon from "./error.svg?component";
|
|
17
19
|
import HunterErrorOutlineIcon from "./error-outline.svg?component";
|
|
20
|
+
import HunterFenceIcon from "./fence.svg?component";
|
|
21
|
+
import HunterFlowerIcon from "./flower.svg?component";
|
|
22
|
+
import HunterGrassIcon from "./grass.svg?component";
|
|
18
23
|
import HunterHiddenIcon from "./hidden.svg?component";
|
|
24
|
+
import HunterHouseIcon from "./house.svg?component";
|
|
19
25
|
import HunterLocationIcon from "./location.svg?component";
|
|
20
26
|
import HunterMapIcon from "./map.svg?component";
|
|
21
27
|
import HunterMenuIcon from "./menu.svg?component";
|
|
22
28
|
import HunterNorthArrowIcon from "./north-arrow.svg?component";
|
|
23
29
|
import HunterNotificationIcon from "./notification.svg?component";
|
|
30
|
+
import HunterOutdoorTableIcon from "./outdoor-table.svg?component";
|
|
31
|
+
import HunterPlantOutlineIcon from "./plant-outline.svg?component";
|
|
32
|
+
import HunterPolygonOutlineIcon from "./polygon-outline.svg?component";
|
|
33
|
+
import HunterPottedPlantIcon from "./potted-plant.svg?component";
|
|
34
|
+
import HunterRectangleOutlineIcon from "./rectangle-outline.svg?component";
|
|
24
35
|
import HunterRedoIcon from "./redo.svg?component";
|
|
36
|
+
import HunterRotateDoubleArrow from "./rotate-double-arrow.svg?component";
|
|
25
37
|
import HunterRulerIcon from "./ruler.svg?component";
|
|
26
38
|
import HunterSearchIcon from "./search.svg?component";
|
|
27
39
|
import HunterShareIcon from "./share.svg?component";
|
|
40
|
+
import HunterSquareOutlineIcon from "./square-outline.svg?component";
|
|
28
41
|
import HunterSubtractIcon from "./subtract.svg?component";
|
|
29
42
|
import HunterSuccessIcon from "./success.svg?component";
|
|
30
43
|
import HunterSuccessOutlineIcon from "./success-outline.svg?component";
|
|
44
|
+
import HunterTapeMeasure from "./tape-measure.svg?component";
|
|
45
|
+
import HunterTreeIcon from "./tree.svg?component";
|
|
46
|
+
import HunterTriangleOutlineIcon from "./triangle-outline.svg?component";
|
|
31
47
|
import HunterUndoIcon from "./undo.svg?component";
|
|
32
48
|
import HunterUploadIcon from "./upload.svg?component";
|
|
49
|
+
import HunterVisibleIcon from "./visible.svg?component";
|
|
33
50
|
import HunterWarningIcon from "./warning.svg?component";
|
|
34
51
|
import HunterWarningOutlineIcon from "./warning-outline.svg?component";
|
|
52
|
+
import HunterWaterIcon from "./water.svg?component";
|
|
53
|
+
import HunterWaterOffIcon from "./water-off.svg?component";
|
|
35
54
|
import HunterZonesIcon from "./zones.svg?component";
|
|
36
55
|
import { HunterIconName } from "../../types/assets";
|
|
37
|
-
export { HunterAccountCircleIcon, HunterAddIcon, HunterArchiveIcon, HunterBackArrowIcon, HunterCaretDownIcon, HunterCaretLeftIcon, HunterCaretRightIcon, HunterCaretUpIcon, HunterClockwiseIcon, HunterCloseIcon, HunterCopyContentIcon, HunterCounterClockwiseIcon, HunterDeleteIcon, HunterDownloadIcon, HunterDrawIcon, HunterErrorIcon, HunterErrorOutlineIcon, HunterHiddenIcon, HunterLocationIcon, HunterMapIcon, HunterMenuIcon, HunterNorthArrowIcon, HunterNotificationIcon, HunterRedoIcon, HunterRulerIcon, HunterSearchIcon, HunterShareIcon, HunterSubtractIcon, HunterSuccessIcon, HunterSuccessOutlineIcon, HunterUndoIcon, HunterUploadIcon, HunterWarningIcon, HunterWarningOutlineIcon, HunterZonesIcon, };
|
|
56
|
+
export { HunterAccountCircleIcon, HunterAddIcon, HunterArchiveIcon, HunterBackArrowIcon, HunterCaretDownIcon, HunterCaretLeftIcon, HunterCaretRightIcon, HunterCaretUpIcon, HunterCircleOutlineIcon, HunterClockwiseIcon, HunterCloseIcon, HunterCopyContentIcon, HunterCounterClockwiseIcon, HunterDeleteIcon, HunterDownloadIcon, HunterDrawIcon, HunterEditPencil, HunterErrorIcon, HunterErrorOutlineIcon, HunterFenceIcon, HunterFlowerIcon, HunterGrassIcon, HunterHiddenIcon, HunterHouseIcon, HunterLocationIcon, HunterMapIcon, HunterMenuIcon, HunterNorthArrowIcon, HunterNotificationIcon, HunterOutdoorTableIcon, HunterPlantOutlineIcon, HunterPolygonOutlineIcon, HunterPottedPlantIcon, HunterRectangleOutlineIcon, HunterRedoIcon, HunterRotateDoubleArrow, HunterRulerIcon, HunterSearchIcon, HunterShareIcon, HunterSquareOutlineIcon, HunterSubtractIcon, HunterSuccessIcon, HunterSuccessOutlineIcon, HunterTapeMeasure, HunterTreeIcon, HunterTriangleOutlineIcon, HunterUndoIcon, HunterUploadIcon, HunterVisibleIcon, HunterWarningIcon, HunterWarningOutlineIcon, HunterWaterIcon, HunterWaterOffIcon, HunterZonesIcon, };
|
|
38
57
|
declare const icons: Record<HunterIconName, any>;
|
|
39
58
|
export default icons;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { HunterToastType } from "../../types/ui";
|
|
1
2
|
interface Props {
|
|
2
3
|
text: string;
|
|
3
4
|
className?: string;
|
|
4
|
-
type?:
|
|
5
|
+
type?: HunterToastType;
|
|
5
6
|
variant?: "dark" | "light";
|
|
6
7
|
}
|
|
7
8
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, HunterErrorIcon, HunterErrorOutlineIcon, HunterHiddenIcon, HunterLocationIcon, HunterMapIcon, HunterMenuIcon, HunterNorthArrowIcon, HunterNotificationIcon, HunterRedoIcon, HunterRulerIcon, HunterSearchIcon, HunterShareIcon, HunterSubtractIcon, HunterSuccessIcon, HunterSuccessOutlineIcon, HunterUndoIcon, HunterUploadIcon, HunterWarningIcon, HunterWarningOutlineIcon, HunterZonesIcon } from "../../assets/icons";
|
|
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
3
|
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 HunterErrorIcon | typeof HunterErrorOutlineIcon | typeof HunterHiddenIcon | typeof HunterNotificationIcon | typeof HunterDownloadIcon | typeof HunterLocationIcon | typeof HunterMapIcon | typeof HunterMenuIcon | typeof HunterNorthArrowIcon | typeof HunterRedoIcon | typeof HunterRulerIcon | typeof HunterSearchIcon | typeof HunterShareIcon | typeof HunterSubtractIcon | typeof HunterSuccessIcon | typeof HunterSuccessOutlineIcon | typeof HunterUndoIcon | typeof HunterUploadIcon | typeof HunterWarningIcon | typeof HunterWarningOutlineIcon | typeof HunterZonesIcon;
|
|
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
5
|
export declare const DefaultWithProps: Meta<typeof Icon>;
|
|
6
6
|
declare const meta: Meta<SVGComponent>;
|
|
7
7
|
export default meta;
|
|
@@ -21,6 +21,7 @@ export declare const CounterClocwise: Story;
|
|
|
21
21
|
export declare const Delete: Story;
|
|
22
22
|
export declare const Download: Story;
|
|
23
23
|
export declare const Draw: Story;
|
|
24
|
+
export declare const EditPencil: Story;
|
|
24
25
|
export declare const Error: Story;
|
|
25
26
|
export declare const ErrorOutline: Story;
|
|
26
27
|
export declare const Hidden: Story;
|
|
@@ -30,6 +31,7 @@ export declare const Menu: Story;
|
|
|
30
31
|
export declare const NorthArrow: Story;
|
|
31
32
|
export declare const Notification: Story;
|
|
32
33
|
export declare const Redo: Story;
|
|
34
|
+
export declare const RotateDoubleArrow: Story;
|
|
33
35
|
export declare const Ruler: Story;
|
|
34
36
|
export declare const Search: Story;
|
|
35
37
|
export declare const Share: Story;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/vue3";
|
|
2
|
-
import
|
|
3
|
-
declare const meta: Meta<typeof
|
|
2
|
+
import Toast from "./Toast.vue";
|
|
3
|
+
declare const meta: Meta<typeof Toast>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { HunterToastType, HunterToastButtonOption } from "../../types/ui";
|
|
2
2
|
interface HCLNotificationProps {
|
|
3
3
|
title: string;
|
|
4
4
|
description?: string;
|
|
5
|
-
type?:
|
|
5
|
+
type?: HunterToastType;
|
|
6
6
|
variant?: "dark" | "light";
|
|
7
7
|
showIcon?: boolean;
|
|
8
8
|
buttonText?: string;
|
|
9
|
-
buttonType?:
|
|
9
|
+
buttonType?: HunterToastButtonOption;
|
|
10
10
|
}
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<HCLNotificationProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
close: (el: HTMLDivElement) => void;
|