@hunter-industries/hunter-components 0.0.20 → 0.0.21
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 +3 -1
- package/dist/components/Button/ButtonToast.vue.d.ts +2 -1
- package/dist/components/Icon/icons.stories.d.ts +3 -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 +340 -309
- package/dist/hunter-components.umd.cjs +2 -2
- package/dist/index.d.ts +2 -2
- 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
|
@@ -13,6 +13,7 @@ import HunterCounterClockwiseIcon from "./counter-clockwise.svg?component";
|
|
|
13
13
|
import HunterDeleteIcon from "./delete.svg?component";
|
|
14
14
|
import HunterDownloadIcon from "./download.svg?component";
|
|
15
15
|
import HunterDrawIcon from "./draw.svg?component";
|
|
16
|
+
import HunterEditPencil from "./edit-pencil.svg?component";
|
|
16
17
|
import HunterErrorIcon from "./error.svg?component";
|
|
17
18
|
import HunterErrorOutlineIcon from "./error-outline.svg?component";
|
|
18
19
|
import HunterHiddenIcon from "./hidden.svg?component";
|
|
@@ -28,12 +29,13 @@ import HunterShareIcon from "./share.svg?component";
|
|
|
28
29
|
import HunterSubtractIcon from "./subtract.svg?component";
|
|
29
30
|
import HunterSuccessIcon from "./success.svg?component";
|
|
30
31
|
import HunterSuccessOutlineIcon from "./success-outline.svg?component";
|
|
32
|
+
import HunterTapeMeasure from "./tape-measure.svg?component";
|
|
31
33
|
import HunterUndoIcon from "./undo.svg?component";
|
|
32
34
|
import HunterUploadIcon from "./upload.svg?component";
|
|
33
35
|
import HunterWarningIcon from "./warning.svg?component";
|
|
34
36
|
import HunterWarningOutlineIcon from "./warning-outline.svg?component";
|
|
35
37
|
import HunterZonesIcon from "./zones.svg?component";
|
|
36
38
|
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, };
|
|
39
|
+
export { 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, HunterRulerIcon, HunterSearchIcon, HunterShareIcon, HunterSubtractIcon, HunterSuccessIcon, HunterSuccessOutlineIcon, HunterTapeMeasure, HunterUndoIcon, HunterUploadIcon, HunterWarningIcon, HunterWarningOutlineIcon, HunterZonesIcon, };
|
|
38
40
|
declare const icons: Record<HunterIconName, any>;
|
|
39
41
|
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, 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 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;
|
|
@@ -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;
|