@hunter-industries/hunter-components 0.0.29 → 0.0.30
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/ButtonIcon.stories.d.ts +6 -0
- package/dist/components/Button/ButtonIcon.vue.d.ts +30 -0
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/hunter-components.js +661 -602
- package/dist/hunter-components.umd.cjs +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/types/assets.d.ts +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ import HunterGrassIcon from "./grass.svg?component";
|
|
|
23
23
|
import HunterHiddenIcon from "./hidden.svg?component";
|
|
24
24
|
import HunterHouseIcon from "./house.svg?component";
|
|
25
25
|
import HunterLocationIcon from "./location.svg?component";
|
|
26
|
+
import HunterLockIcon from "./lock.svg?component";
|
|
26
27
|
import HunterMapIcon from "./map.svg?component";
|
|
27
28
|
import HunterMenuIcon from "./menu.svg?component";
|
|
28
29
|
import HunterNorthArrowIcon from "./north-arrow.svg?component";
|
|
@@ -45,6 +46,7 @@ import HunterTapeMeasure from "./tape-measure.svg?component";
|
|
|
45
46
|
import HunterTreeIcon from "./tree.svg?component";
|
|
46
47
|
import HunterTriangleOutlineIcon from "./triangle-outline.svg?component";
|
|
47
48
|
import HunterUndoIcon from "./undo.svg?component";
|
|
49
|
+
import HunterUnlockIcon from "./unlock.svg?component";
|
|
48
50
|
import HunterUploadIcon from "./upload.svg?component";
|
|
49
51
|
import HunterVisibleIcon from "./visible.svg?component";
|
|
50
52
|
import HunterWarningIcon from "./warning.svg?component";
|
|
@@ -53,6 +55,6 @@ import HunterWaterIcon from "./water.svg?component";
|
|
|
53
55
|
import HunterWaterOffIcon from "./water-off.svg?component";
|
|
54
56
|
import HunterZonesIcon from "./zones.svg?component";
|
|
55
57
|
import { HunterIconName } from "../../types/assets";
|
|
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, };
|
|
58
|
+
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, 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, };
|
|
57
59
|
declare const icons: Record<HunterIconName, any>;
|
|
58
60
|
export default icons;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { HunterIconName } from "../../types/assets";
|
|
2
|
+
interface Props {
|
|
3
|
+
variant?: "light" | "default" | "dark";
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
icon?: HunterIconName;
|
|
9
|
+
iconClass?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
|
|
12
|
+
buttonEl: import("vue").Ref<any>;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToOption<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import Button from "./Button.vue";
|
|
2
|
+
import ButtonIcon from "./ButtonIcon.vue";
|
|
2
3
|
import ButtonToast from "./ButtonToast.vue";
|
|
3
|
-
export { Button as HunterButton, ButtonToast as HunterButtonToast };
|
|
4
|
+
export { Button as HunterButton, ButtonIcon as HunterButtonIcon, ButtonToast as HunterButtonToast, };
|