@hunter-industries/hunter-components 0.0.90 → 0.0.92
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/hunter-components.js +28 -13
- package/dist/hunter-components.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/types/assets/icons/index.d.ts +3 -2
- package/dist/types/assets/icons/index.d.ts.map +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +44 -43
- package/dist/types/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/types/components/Button/ButtonIcon.vue.d.ts +14 -11
- package/dist/types/components/Button/ButtonIcon.vue.d.ts.map +1 -1
- package/dist/types/components/Button/ButtonToast.vue.d.ts +4 -3
- package/dist/types/components/Button/ButtonToast.vue.d.ts.map +1 -1
- package/dist/types/components/Button/index.d.ts +4 -3
- package/dist/types/components/Card/Card.vue.d.ts +3 -3
- package/dist/types/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/types/components/Card/CategoryCard.vue.d.ts +3 -3
- package/dist/types/components/Card/CategoryCard.vue.d.ts.map +1 -1
- package/dist/types/components/Card/index.d.ts +3 -2
- package/dist/types/components/Chip/Chip.vue.d.ts +5 -5
- package/dist/types/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/types/components/Chip/index.d.ts +2 -1
- package/dist/types/components/ColorIcon/ColorIcon.vue.d.ts +2 -2
- package/dist/types/components/ColorIcon/ColorIcon.vue.d.ts.map +1 -1
- package/dist/types/components/ColorIcon/index.d.ts +2 -1
- package/dist/types/components/Dropdown/Button/ButtonDropdown.vue.d.ts +16 -14
- package/dist/types/components/Dropdown/Button/ButtonDropdown.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/Button/ButtonDropdownColors.vue.d.ts +4 -3
- package/dist/types/components/Dropdown/Button/ButtonDropdownColors.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +5 -4
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/DropdownColors.vue.d.ts +5 -4
- package/dist/types/components/Dropdown/DropdownColors.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/DropdownList/DropdownList.vue.d.ts +8 -7
- package/dist/types/components/Dropdown/DropdownList/DropdownList.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/DropdownList/DropdownListWithColorIcons.vue.d.ts +5 -4
- package/dist/types/components/Dropdown/DropdownList/DropdownListWithColorIcons.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/DropdownList/DropdownListWithFilter.vue.d.ts +5 -4
- package/dist/types/components/Dropdown/DropdownList/DropdownListWithFilter.vue.d.ts.map +1 -1
- package/dist/types/components/Dropdown/DropdownList/index.d.ts +4 -3
- package/dist/types/components/Dropdown/index.d.ts +3 -2
- package/dist/types/components/Form/FormInput.vue.d.ts +5 -4
- package/dist/types/components/Form/FormInput.vue.d.ts.map +1 -1
- package/dist/types/components/Form/index.d.ts +3 -2
- package/dist/types/components/Form/index.vue.d.ts +7 -6
- package/dist/types/components/Form/index.vue.d.ts.map +1 -1
- package/dist/types/components/Icon/Icon.vue.d.ts +6 -5
- package/dist/types/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/types/components/Icon/index.d.ts +2 -1
- package/dist/types/components/Input/Checkbox/Checkbox.vue.d.ts +3 -3
- package/dist/types/components/Input/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox/index.d.ts +2 -1
- package/dist/types/components/Link/Link.vue.d.ts +10 -8
- package/dist/types/components/Link/Link.vue.d.ts.map +1 -1
- package/dist/types/components/Link/index.d.ts +2 -1
- package/dist/types/components/Navigation/NavigationLinks.vue.d.ts +12 -9
- package/dist/types/components/Navigation/NavigationLinks.vue.d.ts.map +1 -1
- package/dist/types/components/Navigation/index.d.ts +2 -1
- package/dist/types/components/SearchInput/SearchInput.vue.d.ts +5 -4
- package/dist/types/components/SearchInput/SearchInput.vue.d.ts.map +1 -1
- package/dist/types/components/SearchInput/index.d.ts +2 -1
- package/dist/types/components/Toast/Toast.vue.d.ts +5 -4
- package/dist/types/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/types/components/Toast/index.d.ts +2 -1
- package/dist/types/index.d.ts +15 -14
- package/dist/types/main.d.ts +1 -1
- package/dist/types/types/index.d.ts +3 -3
- package/dist/types/types/ui.d.ts +9 -7
- package/dist/types/types/ui.d.ts.map +1 -1
- package/dist/types/utils/convertValueToCssSizeProperty.d.ts.map +1 -1
- package/dist/types/utils/filterByString.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +5 -5
- package/dist/types/utils/validateForm.d.ts +2 -1
- package/dist/types/utils/validateForm.d.ts.map +1 -1
- package/package.json +59 -63
- package/dist/types/App.vue.d.ts +0 -3
- package/dist/types/App.vue.d.ts.map +0 -1
- package/dist/types/components/Dropdown/DropdownList/DropdownListCheckboxes.vue.d.ts +0 -17
- package/dist/types/components/Dropdown/DropdownList/DropdownListCheckboxes.vue.d.ts.map +0 -1
- package/dist/types/components/Image/ImageWithPlaceholder.vue.d.ts +0 -26
- package/dist/types/components/Image/ImageWithPlaceholder.vue.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/Link.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Link.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/Link.vue"],"names":[],"mappings":"AAYA;AAMA,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AASD,iBAAS,cAAc;qBAyCM,GAAG;EAK/B;AASD,QAAA,MAAM,eAAe,mSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { NavLinkItem } from './types';
|
|
2
|
+
|
|
2
3
|
interface Props {
|
|
3
4
|
links: NavLinkItem[];
|
|
4
5
|
variant?: string;
|
|
5
6
|
activeLink: NavLinkItem;
|
|
6
7
|
nuxt?: boolean;
|
|
7
8
|
}
|
|
8
|
-
declare
|
|
9
|
+
declare function __VLS_template(): {
|
|
9
10
|
default?(_: {}): any;
|
|
10
|
-
}>;
|
|
11
|
-
export default _default;
|
|
12
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
11
|
};
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
|
+
export default _default;
|
|
17
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
17
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
18
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
19
|
} : {
|
|
@@ -23,4 +21,9 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
23
21
|
required: true;
|
|
24
22
|
};
|
|
25
23
|
};
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
26
29
|
//# sourceMappingURL=NavigationLinks.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationLinks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/NavigationLinks.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationLinks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/NavigationLinks.vue"],"names":[],"mappings":"AAoBA;AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,UAAU,KAAK;IACb,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,WAAW,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AA6CD,iBAAS,cAAc;qBAqFM,GAAG;EAG/B;AAWD,QAAA,MAAM,eAAe,mSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DropdownOption } from '../Dropdown/types';
|
|
2
|
+
|
|
2
3
|
interface Props {
|
|
3
4
|
label?: string;
|
|
4
5
|
placeholder?: string;
|
|
@@ -10,18 +11,18 @@ interface Props {
|
|
|
10
11
|
hideClearButton?: boolean;
|
|
11
12
|
searchIconFill?: string;
|
|
12
13
|
}
|
|
13
|
-
declare const _default: import(
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
15
|
search: (value: any) => void;
|
|
15
16
|
clearSearch: () => void;
|
|
16
17
|
focus: () => void;
|
|
17
|
-
}, string, import(
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
18
19
|
onFocus?: (() => any) | undefined;
|
|
19
20
|
onSearch?: ((value: any) => any) | undefined;
|
|
20
21
|
onClearSearch?: (() => any) | undefined;
|
|
21
22
|
}, {}, {}>;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
26
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
27
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
28
|
} : {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchInput/SearchInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchInput/SearchInput.vue"],"names":[],"mappings":"AAkEA;AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AASxD,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;;;;;;;;;;AA0VD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HunterToastType, HunterToastButtonOption } from '../../types/ui';
|
|
2
|
+
|
|
2
3
|
interface HCLInformationProps {
|
|
3
4
|
title: string;
|
|
4
5
|
description?: string;
|
|
@@ -8,16 +9,16 @@ interface HCLInformationProps {
|
|
|
8
9
|
buttonText?: string;
|
|
9
10
|
buttonType?: HunterToastButtonOption;
|
|
10
11
|
}
|
|
11
|
-
declare const _default: import(
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<HCLInformationProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
13
|
close: (el: HTMLDivElement) => void;
|
|
13
14
|
"button-click": (el: HTMLDivElement) => void;
|
|
14
|
-
}, string, import(
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<HCLInformationProps>>> & {
|
|
15
16
|
onClose?: ((el: HTMLDivElement) => any) | undefined;
|
|
16
17
|
"onButton-click"?: ((el: HTMLDivElement) => any) | undefined;
|
|
17
18
|
}, {}, {}>;
|
|
18
19
|
export default _default;
|
|
19
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
24
|
} : {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/Toast.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toast.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/Toast.vue"],"names":[],"mappings":"AAgCA;AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAI/E,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC;;;;;;;;AAwMD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { HunterButton, HunterButtonIcon, HunterButtonToast } from
|
|
2
|
-
import { HunterCard, HunterCategoryCard } from
|
|
3
|
-
import { HunterCheckbox } from
|
|
4
|
-
import { HunterChip } from
|
|
5
|
-
import { HunterDropdownList, HunterDropdownListWithFilter, HunterDropdownListWithColorIcons } from
|
|
6
|
-
import { HunterDropdown, HunterDropdownColors } from
|
|
7
|
-
import { HunterForm, HunterFormInput } from
|
|
8
|
-
import { HunterIcon } from
|
|
9
|
-
import { HunterLink } from
|
|
10
|
-
import { HunterNavigationLinks } from
|
|
11
|
-
import { HunterToast } from
|
|
12
|
-
import { HunterSearchInput } from
|
|
1
|
+
import { HunterButton, HunterButtonIcon, HunterButtonToast } from './components/Button';
|
|
2
|
+
import { HunterCard, HunterCategoryCard } from './components/Card';
|
|
3
|
+
import { HunterCheckbox } from './components/Input/Checkbox';
|
|
4
|
+
import { HunterChip } from './components/Chip';
|
|
5
|
+
import { HunterDropdownList, HunterDropdownListWithFilter, HunterDropdownListWithColorIcons } from './components/Dropdown/DropdownList';
|
|
6
|
+
import { HunterDropdown, HunterDropdownColors } from './components/Dropdown';
|
|
7
|
+
import { HunterForm, HunterFormInput } from './components/Form';
|
|
8
|
+
import { HunterIcon } from './components/Icon';
|
|
9
|
+
import { HunterLink } from './components/Link';
|
|
10
|
+
import { HunterNavigationLinks } from './components/Navigation';
|
|
11
|
+
import { HunterToast } from './components/Toast';
|
|
12
|
+
import { HunterSearchInput } from './components/SearchInput';
|
|
13
|
+
|
|
13
14
|
export { HunterButton, HunterButtonIcon, HunterButtonToast, HunterCard, HunterCategoryCard, HunterCheckbox, HunterChip, HunterDropdownList, HunterDropdownListWithColorIcons, HunterDropdownListWithFilter, HunterDropdown, HunterDropdownColors, HunterForm, HunterFormInput, HunterIcon, HunterLink, HunterNavigationLinks, HunterToast, HunterSearchInput, };
|
|
14
|
-
export { default as hunterIcons } from
|
|
15
|
-
export { hunterIconSvgs } from
|
|
15
|
+
export { default as hunterIcons } from './assets/icons';
|
|
16
|
+
export { hunterIconSvgs } from './assets/icons';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
//# sourceMappingURL=main.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './ui';
|
|
2
|
+
export * from './assets';
|
|
3
|
+
export * from './svg';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/types/ui.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { HunterIconName } from
|
|
1
|
+
import { HunterIconName } from './assets';
|
|
2
|
+
|
|
2
3
|
export type { HunterIconName };
|
|
3
4
|
export type HunterToastButtonOption = "default" | "close" | undefined;
|
|
4
5
|
export type HunterLoadingStatus = "idle" | "pending" | "success" | "error";
|
|
@@ -91,6 +92,7 @@ export type HunterFormOptionalProps = Partial<{
|
|
|
91
92
|
cancelButtonText: string;
|
|
92
93
|
showCancelButton: boolean;
|
|
93
94
|
successSubmitButtonDisabled: boolean;
|
|
95
|
+
focusOnFirstInput: boolean;
|
|
94
96
|
}>;
|
|
95
97
|
export type HunterUpdateInputEmit = {
|
|
96
98
|
id: string;
|
|
@@ -99,12 +101,12 @@ export type HunterUpdateInputEmit = {
|
|
|
99
101
|
errorMessage?: string;
|
|
100
102
|
};
|
|
101
103
|
export interface HunterDropdownOption {
|
|
102
|
-
[key: string]: string | number;
|
|
104
|
+
[key: string | number]: string | number;
|
|
103
105
|
}
|
|
104
106
|
export type HunterDropdownProps = {
|
|
105
107
|
options: {
|
|
106
|
-
id: string;
|
|
107
|
-
name: string;
|
|
108
|
+
id: string | number;
|
|
109
|
+
name: string | number;
|
|
108
110
|
}[];
|
|
109
111
|
optionKey: string;
|
|
110
112
|
} & Partial<{
|
|
@@ -141,13 +143,13 @@ export type HunterDropdownColorsButtonProps = {
|
|
|
141
143
|
} & HunterDropdownButtonProps;
|
|
142
144
|
export type HunterDropdownListProps = {
|
|
143
145
|
options: HunterDropdownOption[];
|
|
144
|
-
optionKey: string;
|
|
146
|
+
optionKey: string | number;
|
|
145
147
|
collapsed: boolean;
|
|
146
148
|
scrollable?: boolean;
|
|
147
149
|
maxResults?: number;
|
|
148
|
-
id?: string;
|
|
150
|
+
id?: string | number;
|
|
149
151
|
selected?: HunterDropdownOption;
|
|
150
|
-
variant?:
|
|
152
|
+
variant?: HunterDropdownButtonVariant;
|
|
151
153
|
showClearButton?: boolean;
|
|
152
154
|
listMaxHeight?: number;
|
|
153
155
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../src/types/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,YAAY,EAAE,cAAc,EAAE,CAAC;AAC/B,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEtE,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAE3E,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,OAAO,GACP,QAAQ,GACR,OAAO,GACP,aAAa,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,WAAW,GACX,UAAU,GACV,MAAM,GACN,MAAM,GACN,uBAAuB,GACvB,2BAA2B,CAAC;AAEhC,MAAM,MAAM,uBAAuB,GAC/B,MAAM,GACN,cAAc,GACd,gBAAgB,GAChB,eAAe,CAAC;AAEpB,MAAM,MAAM,2BAA2B,GACnC,SAAS,GACT,OAAO,GACP,aAAa,GACb,mBAAmB,GACnB,cAAc,CAAC;AAEnB,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,MAAM,EAAE,GACR,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,GACrB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,EAAE,GAClC,MAAM,CAAC,MAAM,EAAE,MAAM,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Q,CAAC,EAAE,oBAAoB,CAAC;IAChC,OAAO,CAAC,EAAE,2BAA2B,CAAC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAUF,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAoB,SAAQ,0BAA0B;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iCACf,SAAQ,uBAAuB;IAC/B,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convertValueToCssSizeProperty.d.ts","sourceRoot":"","sources":["../../../src/utils/convertValueToCssSizeProperty.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"convertValueToCssSizeProperty.d.ts","sourceRoot":"","sources":["../../../src/utils/convertValueToCssSizeProperty.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6BAA6B,GACxC,OAAO,MAAM,GAAG,MAAM,GAAG,SAAS,KACjC,MAAM,GAAG,SAuBX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterByString.d.ts","sourceRoot":"","sources":["../../../src/utils/filterByString.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,UAAU,cAAc;IACtB,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,QAAA,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"filterByString.d.ts","sourceRoot":"","sources":["../../../src/utils/filterByString.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,UAAU,cAAc;IACtB,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,QAAA,MAAM,qBAAqB,GAAI,+BAK5B,cAAc,KAAG,WAAW,EAAE,GAAG,IAgBnC,CAAC;AAEF,QAAA,MAAM,mBAAmB,GAAI,+BAK1B,cAAc,KAAG,WAAW,EAAE,GAAG,IAgBnC,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from './extractSlotText';
|
|
2
|
+
export * from './convertValueToCssSizeProperty';
|
|
3
|
+
export * from './filterByString';
|
|
4
|
+
export * from './validateForm';
|
|
5
|
+
export * from './randomString';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateForm.d.ts","sourceRoot":"","sources":["../../../src/utils/validateForm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"validateForm.d.ts","sourceRoot":"","sources":["../../../src/utils/validateForm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,YAAY,GAAI,QAAQ,oBAAoB,EAAE;;;CAmC1D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,63 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hunter-industries/hunter-components",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"main": "./dist/hunter-components.umd.cjs",
|
|
9
|
-
"module": "./dist/hunter-components.js",
|
|
10
|
-
"types": "./dist/types/index.d.ts",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/types/index.d.ts",
|
|
14
|
-
"import": "./dist/hunter-components.js",
|
|
15
|
-
"require": "./dist/hunter-components.umd.cjs"
|
|
16
|
-
},
|
|
17
|
-
"./style.css": "./dist/style.css"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev": "vite",
|
|
21
|
-
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
22
|
-
"preview": "vite preview",
|
|
23
|
-
"storybook": "storybook dev -p 6006",
|
|
24
|
-
"build-storybook": "storybook build"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@chromatic-com/storybook": "^1.
|
|
28
|
-
"@storybook/addon-
|
|
29
|
-
"@storybook/
|
|
30
|
-
"@
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"vue": "^3.4.21"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"description": "Vue component library",
|
|
61
|
-
"author": "Sarah Shook",
|
|
62
|
-
"license": "ISC"
|
|
63
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@hunter-industries/hunter-components",
|
|
3
|
+
"version": "0.0.92",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "./dist/hunter-components.umd.cjs",
|
|
9
|
+
"module": "./dist/hunter-components.js",
|
|
10
|
+
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/types/index.d.ts",
|
|
14
|
+
"import": "./dist/hunter-components.js",
|
|
15
|
+
"require": "./dist/hunter-components.umd.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./style.css": "./dist/style.css"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"storybook": "storybook dev -p 6006",
|
|
24
|
+
"build-storybook": "storybook build"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@chromatic-com/storybook": "^4.1.1",
|
|
28
|
+
"@storybook/addon-links": "^9.1.8",
|
|
29
|
+
"@storybook/vue3-vite": "^9.1.8",
|
|
30
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
31
|
+
"autoprefixer": "^10.4.19",
|
|
32
|
+
"chromatic": "^11.3.5",
|
|
33
|
+
"eslint": "^9.2.0",
|
|
34
|
+
"eslint-config-prettier": "^9.1.0",
|
|
35
|
+
"eslint-plugin-prettier-vue": "^5.0.0",
|
|
36
|
+
"eslint-plugin-storybook": "^9.1.8",
|
|
37
|
+
"eslint-plugin-vue": "^9.25.0",
|
|
38
|
+
"postcss": "^8.4.38",
|
|
39
|
+
"prettier": "^3.2.5",
|
|
40
|
+
"sass": "^1.76.0",
|
|
41
|
+
"storybook": "^9.1.8",
|
|
42
|
+
"storybook-addon-sass-postcss": "^0.3.2",
|
|
43
|
+
"tailwindcss": "^3.4.3",
|
|
44
|
+
"typescript": "^5.2.2",
|
|
45
|
+
"vite": "^5.2.0",
|
|
46
|
+
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
47
|
+
"vite-plugin-dts": "^3.9.1",
|
|
48
|
+
"vite-svg-loader": "^5.1.0",
|
|
49
|
+
"vue": "^3.4.21",
|
|
50
|
+
"vue-tsc": "^2.0.6",
|
|
51
|
+
"@storybook/addon-docs": "^9.1.8"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"vue": "^3.4.21"
|
|
55
|
+
},
|
|
56
|
+
"description": "Vue component library",
|
|
57
|
+
"author": "Sarah Shook",
|
|
58
|
+
"license": "ISC"
|
|
59
|
+
}
|
package/dist/types/App.vue.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
3
|
-
//# sourceMappingURL=App.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../../src/App.vue"],"names":[],"mappings":";AAmCA,wBAKG"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
};
|
|
17
|
-
//# sourceMappingURL=DropdownListCheckboxes.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownListCheckboxes.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/DropdownList/DropdownListCheckboxes.vue"],"names":[],"mappings":"AAmGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;;;;;;AAyGtD,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
title: string;
|
|
3
|
-
image: {
|
|
4
|
-
src?: string;
|
|
5
|
-
url?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
width?: number | string;
|
|
8
|
-
height?: number | string;
|
|
9
|
-
};
|
|
10
|
-
id?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
imageFit?: string;
|
|
13
|
-
aspectRatio?: string;
|
|
14
|
-
}
|
|
15
|
-
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>>>, {}, {}>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToOption<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=ImageWithPlaceholder.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImageWithPlaceholder.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Image/ImageWithPlaceholder.vue"],"names":[],"mappings":"AAyEA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE;QACL,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KAC1B,CAAC;IACF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;;AA2ED,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|