beeple-toolkit 1.0.1 → 1.0.2
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/beeple-toolkit.css +1 -1
- package/dist/beeple-toolkit.es.js +3064 -2942
- package/dist/beeple-toolkit.umd.js +3 -3
- package/dist/components/DropDown/DropDown.vue.d.ts +1 -1
- package/dist/components/DropDown/DropDownMenu.vue.d.ts +3 -1
- package/dist/components/types.d.ts +2 -0
- package/package.json +2 -1
|
@@ -16,8 +16,8 @@ declare const __VLS_export: import("vue").DefineComponent<DropDownProps, {}, {},
|
|
|
16
16
|
label: string;
|
|
17
17
|
size: "x-small" | "small" | "medium" | "large";
|
|
18
18
|
disabled: boolean;
|
|
19
|
-
isMulti: boolean;
|
|
20
19
|
placeholder: string;
|
|
20
|
+
isMulti: boolean;
|
|
21
21
|
clearable: boolean;
|
|
22
22
|
isError: boolean;
|
|
23
23
|
errorMessage: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type StyleValue } from 'vue';
|
|
2
2
|
import type { DropDownOption } from '../types';
|
|
3
|
+
type Option = string | number | DropDownOption | Record<string, unknown>;
|
|
3
4
|
interface DropDownMenuProps {
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
dropdownStyle: StyleValue;
|
|
@@ -10,7 +11,8 @@ interface DropDownMenuProps {
|
|
|
10
11
|
selectAllText: string;
|
|
11
12
|
clearAllText: string;
|
|
12
13
|
areAllOptionsSelected: boolean;
|
|
13
|
-
filteredOptions:
|
|
14
|
+
filteredOptions: Option[];
|
|
15
|
+
navigableOptions: Option[];
|
|
14
16
|
highlightedIndex: number;
|
|
15
17
|
noOptionsText: string;
|
|
16
18
|
optionLabel: string;
|
|
@@ -11,6 +11,7 @@ export interface ButtonProps {
|
|
|
11
11
|
isLoading?: boolean;
|
|
12
12
|
isActive?: boolean;
|
|
13
13
|
href?: string;
|
|
14
|
+
target?: string;
|
|
14
15
|
}
|
|
15
16
|
export interface IconProps {
|
|
16
17
|
icon?: EvaIconName | string;
|
|
@@ -81,6 +82,7 @@ export interface DropDownOption {
|
|
|
81
82
|
fullName?: string;
|
|
82
83
|
alt?: string;
|
|
83
84
|
};
|
|
85
|
+
children?: Array<DropDownOption | Record<string, unknown>>;
|
|
84
86
|
}
|
|
85
87
|
export interface DropDownProps {
|
|
86
88
|
modelValue?: unknown | unknown[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beeple-toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Vue 3 component library beeple-toolkit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"build-storybook": "storybook build",
|
|
32
32
|
"build": "rimraf dist && vite build",
|
|
33
33
|
"build:types": "vue-tsc -p tsconfig.types.json",
|
|
34
|
+
"release": "npm version patch && npm publish && git push && git push --tags",
|
|
34
35
|
"prepublishOnly": "npm run build && npm run build:types",
|
|
35
36
|
"test": "vitest run",
|
|
36
37
|
"test:watch": "vitest",
|