beeple-toolkit 1.0.55 → 1.0.57
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 +1864 -1836
- package/dist/beeple-toolkit.umd.js +1 -1
- package/dist/components/DropDown/DropDownMenu.vue.d.ts +4 -0
- package/dist/components/DropDown/DropDownMenuItem.vue.d.ts +3 -0
- package/dist/components/types.d.ts +6 -0
- package/package.json +2 -2
|
@@ -26,6 +26,8 @@ interface DropDownMenuProps {
|
|
|
26
26
|
getOptionAvatarAlt?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
27
27
|
getOptionLeadingIcon?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
28
28
|
getOptionTrailingIcon?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
29
|
+
getOptionTrailingText?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
30
|
+
getOptionTrailingTextColor?: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
29
31
|
getOptionDisabled?: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
30
32
|
getOptionClickable?: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
31
33
|
isSelected: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
@@ -66,6 +68,8 @@ declare const __VLS_export: import("vue").DefineComponent<DropDownMenuProps, {
|
|
|
66
68
|
getOptionAvatarAlt: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
67
69
|
getOptionLeadingIcon: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
68
70
|
getOptionTrailingIcon: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
71
|
+
getOptionTrailingText: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
72
|
+
getOptionTrailingTextColor: (option: string | number | DropDownOption | Record<string, unknown>) => string | undefined;
|
|
69
73
|
getOptionDisabled: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
70
74
|
getOptionClickable: (option: string | number | DropDownOption | Record<string, unknown>) => boolean;
|
|
71
75
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -14,7 +14,10 @@ interface DropDownMenuItemProps {
|
|
|
14
14
|
avatarAlt?: string;
|
|
15
15
|
leadingIcon?: string;
|
|
16
16
|
trailingIcon?: string;
|
|
17
|
+
trailingText?: string;
|
|
18
|
+
trailingTextColor?: string;
|
|
17
19
|
color?: string;
|
|
20
|
+
ariaLabel?: string;
|
|
18
21
|
}
|
|
19
22
|
declare const __VLS_export: import("vue").DefineComponent<DropDownMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
23
|
select: (option: string | number | DropDownOption | Record<string, unknown>) => any;
|
|
@@ -73,12 +73,18 @@ export interface TextProps {
|
|
|
73
73
|
}
|
|
74
74
|
export interface DropDownOption {
|
|
75
75
|
label: string;
|
|
76
|
+
/** Accessible name announced by screen readers. When set, overrides the visible `label` as the aria-label without changing the visible text. */
|
|
77
|
+
ariaLabel?: string;
|
|
76
78
|
value?: unknown;
|
|
77
79
|
disabled?: boolean;
|
|
78
80
|
icon?: string;
|
|
79
81
|
color?: string;
|
|
80
82
|
leadingIcon?: string;
|
|
81
83
|
trailingIcon?: string;
|
|
84
|
+
/** Text pinned to the trailing side of the option (e.g. a rate '€15.00'). Can co-exist with trailingIcon. */
|
|
85
|
+
trailingText?: string;
|
|
86
|
+
/** Colour for trailingText; defaults to a muted secondary colour. */
|
|
87
|
+
trailingTextColor?: string;
|
|
82
88
|
clickable?: boolean;
|
|
83
89
|
onClick?: () => void;
|
|
84
90
|
href?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beeple-toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"description": "Vue 3 component library beeple-toolkit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"happy-dom": "^20.0.0",
|
|
73
73
|
"jsdom": "^27.0.0",
|
|
74
74
|
"playwright": "^1.55.1",
|
|
75
|
-
"prettier": "
|
|
75
|
+
"prettier": "3.7.4",
|
|
76
76
|
"rimraf": "^6.0.1",
|
|
77
77
|
"storybook": "^10.2.15",
|
|
78
78
|
"typescript": "~5.8.3",
|