beeple-toolkit 1.0.54 → 1.0.56

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.
@@ -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,6 +14,8 @@ interface DropDownMenuItemProps {
14
14
  avatarAlt?: string;
15
15
  leadingIcon?: string;
16
16
  trailingIcon?: string;
17
+ trailingText?: string;
18
+ trailingTextColor?: string;
17
19
  color?: string;
18
20
  }
19
21
  declare const __VLS_export: import("vue").DefineComponent<DropDownMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -79,6 +79,10 @@ export interface DropDownOption {
79
79
  color?: string;
80
80
  leadingIcon?: string;
81
81
  trailingIcon?: string;
82
+ /** Text pinned to the trailing side of the option (e.g. a rate '€15.00'). Can co-exist with trailingIcon. */
83
+ trailingText?: string;
84
+ /** Colour for trailingText; defaults to a muted secondary colour. */
85
+ trailingTextColor?: string;
82
86
  clickable?: boolean;
83
87
  onClick?: () => void;
84
88
  href?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beeple-toolkit",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",