@webitel/ui-sdk 26.8.148 → 26.8.150
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/{clients-Czz3NjJo.js → clients-x0gCJQbb.js} +1 -1
- package/dist/{components-BtmD0hC5.js → components-7m-8aZmi.js} +30 -20
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +4 -4
- package/dist/ui-sdk.umd.cjs +5 -5
- package/dist/{wt-button-DipbKGWn.js → wt-button-DnbIcGvU.js} +7 -1
- package/dist/{wt-chat-emoji-MsObqyU0.js → wt-chat-emoji-C6taiH7d.js} +2 -2
- package/dist/{wt-display-chip-items-Y1SE_tA1.js → wt-display-chip-items-BKezwH_o.js} +1 -1
- package/dist/{wt-player-BJrKbYMu.js → wt-player-DUnqV23Z.js} +1 -1
- package/dist/{wt-send-message-popup-DBrNMe7E.js → wt-send-message-popup-BWbiEroB.js} +2 -2
- package/dist/{wt-type-extension-value-input-CDSzvRGt.js → wt-type-extension-value-input-DJVtErVH.js} +2 -2
- package/dist/{wt-vidstack-player-BlgiRlg8.js → wt-vidstack-player-BcldtEws.js} +2 -2
- package/package.json +1 -1
- package/src/components/wt-button/wt-button.vue +23 -2
- package/src/components/wt-single-select/__tests__/WtSingleSelect.spec.js +25 -0
- package/src/components/wt-single-select/wt-single-select.vue +20 -2
- package/src/plugins/primevue/theme/components/button/button.js +3 -3
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-button/wt-button.vue.d.ts +5 -1
- package/types/components/wt-single-select/wt-single-select.vue.d.ts +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ButtonProps } from 'primevue';
|
|
2
|
-
import { ButtonColor, ButtonVariant, ComponentSize } from '../../enums';
|
|
2
|
+
import { ButtonColor, ButtonVariant, ComponentSize, type IconColor } from '../../enums';
|
|
3
3
|
import type { BadgeSeverity } from '../wt-badge-new/types/WtBadge';
|
|
4
4
|
interface WtButtonProps extends /* @vue-ignore */ ButtonProps {
|
|
5
5
|
color?: ButtonColor;
|
|
@@ -9,6 +9,10 @@ interface WtButtonProps extends /* @vue-ignore */ ButtonProps {
|
|
|
9
9
|
wide?: boolean;
|
|
10
10
|
widthByContent?: boolean;
|
|
11
11
|
icon?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Overrides icon color; by default color is derived from button color/variant
|
|
14
|
+
*/
|
|
15
|
+
iconColor?: IconColor;
|
|
12
16
|
iconPrefix?: string;
|
|
13
17
|
badge?: string;
|
|
14
18
|
badgeSeverity?: BadgeSeverity;
|
|
@@ -72,10 +72,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
72
72
|
reset: () => any;
|
|
73
73
|
hide: () => any;
|
|
74
74
|
"update:modelValue": (value: string) => any;
|
|
75
|
+
"search-change": (value: string) => any;
|
|
76
|
+
"search-enter": (value: string) => any;
|
|
75
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
76
78
|
onReset?: (() => any) | undefined;
|
|
77
79
|
onHide?: (() => any) | undefined;
|
|
78
80
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
81
|
+
"onSearch-change"?: ((value: string) => any) | undefined;
|
|
82
|
+
"onSearch-enter"?: ((value: string) => any) | undefined;
|
|
79
83
|
}>, {
|
|
80
84
|
options: readonly unknown[];
|
|
81
85
|
customValidators: CompatCustomValidator[];
|