@webitel/ui-sdk 26.4.34 → 26.4.35
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/{index-xIzFQNd0.js → index-Roia5eMO.js} +1 -1
- package/dist/{index-7wsN-YZu.js → index-oyJmkeim.js} +1 -1
- package/dist/{install-D_goYtnz.js → install-QMIeJaQP.js} +36 -36
- package/dist/{isObject-Gt5Jm-Ug.js → isObject-47V3csS5.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +112 -112
- package/dist/{useVidstackSrc-CTzsUo62.js → useVidstackSrc-CGEzqvQp.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-BhMf-ZTn.js → vidstack-Bq6c3Bam-DI2seNfv.js} +3 -3
- package/dist/{vidstack-D2pY00kU-gmAgDRVT.js → vidstack-D2pY00kU-Bnd9jPy3.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-CmHiuC9m.js → vidstack-DDXt6fpN-D94vez1w.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-BGfLCdlb.js → vidstack-D_-9AA6_-4njHBpdi.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-DO1SEzrd.js → vidstack-DqAw8m9J-DzQijIZr.js} +1 -1
- package/dist/{vidstack-audio-Bk1wmJYd.js → vidstack-audio-BmvM3Qam.js} +2 -2
- package/dist/{vidstack-dash-fN-vPQlr.js → vidstack-dash-MOhANEa2.js} +4 -4
- package/dist/{vidstack-google-cast-DzXyoIrl.js → vidstack-google-cast-0Ym-39oi.js} +4 -4
- package/dist/{vidstack-hls-BvsDlNoZ.js → vidstack-hls-hVw-GZOs.js} +4 -4
- package/dist/{vidstack-video-DVWLXMbZ.js → vidstack-video-h4GIsOmA.js} +3 -3
- package/dist/{vidstack-vimeo-C43vDg2R.js → vidstack-vimeo-BWpgnTHH.js} +4 -4
- package/dist/{vidstack-youtube-BqjBo21Z.js → vidstack-youtube-BTrv_J1m.js} +3 -3
- package/dist/{wt-action-bar-C3ZOub4E.js → wt-action-bar-DddMeUuz.js} +1 -1
- package/dist/{wt-button-select-cHYjfQdz.js → wt-button-select-F4QMC6dm.js} +1 -1
- package/dist/{wt-chat-emoji-CI3V_BeW.js → wt-chat-emoji-B3x1ns7c.js} +2 -2
- package/dist/{wt-confirm-dialog-cSeWX-p6.js → wt-confirm-dialog-Kp2ZVO86.js} +1 -1
- package/dist/{wt-context-menu-DLz_SzEn.js → wt-context-menu-m4yJ7keo.js} +1 -1
- package/dist/{wt-copy-action-B8UQn0Ex.js → wt-copy-action-Df9iBfO2.js} +1 -1
- package/dist/{wt-datepicker-BghFL7dG.js → wt-datepicker-OnFIF-X9.js} +1 -1
- package/dist/{wt-display-chip-items-BuPaJqOp.js → wt-display-chip-items-B4lLiSne.js} +1 -1
- package/dist/{wt-dual-panel-DSg_9Lq6.js → wt-dual-panel-DOna0CxV.js} +1 -1
- package/dist/{wt-dummy-DztLsixT.js → wt-dummy-9zwFlOGt.js} +1 -1
- package/dist/{wt-error-page-DdMotrHk.js → wt-error-page-D_WumGk-.js} +1 -1
- package/dist/{wt-expansion-card-DY8qL9Al.js → wt-expansion-card-Dbm7uO1A.js} +1 -1
- package/dist/{wt-expansion-panel-CTTDEN7q.js → wt-expansion-panel-BlaJf3n6.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-DdcIsO1N.js → wt-filters-panel-wrapper-b5LFEGBw.js} +1 -1
- package/dist/{wt-galleria-CSbm0shh.js → wt-galleria-BT_fZLWH.js} +1 -1
- package/dist/{wt-inline-add-panel-C_UyCvRw.js → wt-inline-add-panel-DxdeUuAT.js} +1 -1
- package/dist/{wt-navigation-menu-CfWKguu2.js → wt-navigation-menu-cwEF2ijX.js} +1 -1
- package/dist/{wt-notifications-bar-Cgu2wc9v.js → wt-notifications-bar-BGrDiB8v.js} +2 -2
- package/dist/{wt-pagination-DN335p2t.js → wt-pagination-DwWIF6nl.js} +1 -1
- package/dist/{wt-player-CnJGUlag.js → wt-player-B7YgHjUK.js} +2 -2
- package/dist/{wt-screen-recordings-action-BcEdGu6w.js → wt-screen-recordings-action-DKKwRMLp.js} +1 -1
- package/dist/{wt-search-bar-u8SuElvI.js → wt-search-bar-Dtp9U0LR.js} +1 -1
- package/dist/{wt-selection-popup-BB7pO3iT.js → wt-selection-popup-CCnPMPZB.js} +1 -1
- package/dist/{wt-start-page-DdRpXVdV.js → wt-start-page-B-i-pQw3.js} +1 -1
- package/dist/{wt-status-select-GO0gtD2B.js → wt-status-select-DISQXQjg.js} +1 -1
- package/dist/{wt-stepper-DbaiOlK9.js → wt-stepper-C5yC0VYM.js} +1 -1
- package/dist/{wt-table-CAVQW_vc.js → wt-table-B4kc-ipH.js} +1 -1
- package/dist/{wt-table-actions-DrT2ZxPE.js → wt-table-actions-DntooC4W.js} +1 -1
- package/dist/{wt-table-column-select-HH02vVeu.js → wt-table-column-select-DbhHTkMe.js} +2 -2
- package/dist/{wt-tabs-B7kjsIG-.js → wt-tabs-QcPjT0wy.js} +1 -1
- package/dist/{wt-tags-input-C7PwjLAR.js → wt-tags-input-CqvTyjDV.js} +2 -2
- package/dist/{wt-timepicker-CjBjH-wE.js → wt-timepicker-DdzK-Tyi.js} +1 -1
- package/dist/{wt-tree-X0IBoelv.js → wt-tree-B1Q2YeD6.js} +2 -2
- package/dist/{wt-tree-table-DQkfKejv.js → wt-tree-table-Buj_TA4d.js} +1 -1
- package/dist/{wt-type-extension-value-input-D6qSoXP6.js → wt-type-extension-value-input-CoiLEZP5.js} +2 -2
- package/dist/{wt-vidstack-player-DJVlp2Go.js → wt-vidstack-player-DK1jhBLF.js} +287 -297
- package/package.json +1 -1
- package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +6 -2
- package/src/components/wt-vidstack-player/components/toggle-button.vue +6 -27
- package/types/components/wt-vidstack-player/components/toggle-button.vue.d.ts +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.4.
|
|
3
|
+
"version": "26.4.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
/>
|
|
25
25
|
<toggle-button
|
|
26
26
|
v-if="!props.hideExpand"
|
|
27
|
-
|
|
28
|
-
secondary-icon="collapse"
|
|
27
|
+
:icon="toggleIcon"
|
|
29
28
|
color="on-dark"
|
|
30
29
|
@toggle="handlePlayerSize"
|
|
31
30
|
/>
|
|
@@ -41,6 +40,7 @@
|
|
|
41
40
|
|
|
42
41
|
<script setup lang="ts">
|
|
43
42
|
import {
|
|
43
|
+
computed,
|
|
44
44
|
defineEmits,
|
|
45
45
|
defineProps,
|
|
46
46
|
inject,
|
|
@@ -58,6 +58,10 @@ import ToggleButton from '../../toggle-button.vue';
|
|
|
58
58
|
const { size, fullscreen, changeSize } =
|
|
59
59
|
inject<WtVidstackPlayerSizeProvider>('size');
|
|
60
60
|
|
|
61
|
+
const toggleIcon = computed(() =>
|
|
62
|
+
size.value === ComponentSize.SM ? 'expand' : 'collapse',
|
|
63
|
+
);
|
|
64
|
+
|
|
61
65
|
const props = defineProps<{
|
|
62
66
|
title?: string;
|
|
63
67
|
username?: string;
|
|
@@ -1,52 +1,31 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
ref="toggleButton"
|
|
2
|
+
<div
|
|
4
3
|
class="toggle-button"
|
|
5
|
-
:disabled="props.disabled"
|
|
6
4
|
@click="setToggleState"
|
|
7
5
|
>
|
|
8
6
|
<wt-icon-btn
|
|
9
|
-
:icon="props.
|
|
7
|
+
:icon="props.icon"
|
|
10
8
|
:color="props.color"
|
|
11
9
|
:disabled="props.disabled"
|
|
12
|
-
class="toggle-button__primary"
|
|
13
10
|
/>
|
|
14
|
-
|
|
15
|
-
:icon="props.secondaryIcon"
|
|
16
|
-
:color="props.color"
|
|
17
|
-
:disabled="props.disabled"
|
|
18
|
-
class="toggle-button__secondary"
|
|
19
|
-
/>
|
|
20
|
-
</media-toggle-button>
|
|
11
|
+
</div>
|
|
21
12
|
</template>
|
|
22
13
|
|
|
23
14
|
<script setup lang="ts">
|
|
24
|
-
import { defineEmits, defineProps, type Ref, useTemplateRef } from 'vue';
|
|
25
|
-
|
|
26
15
|
import WtIconBtn from '../../wt-icon-btn/wt-icon-btn.vue';
|
|
27
16
|
|
|
28
17
|
const props = defineProps<{
|
|
29
|
-
|
|
30
|
-
secondaryIcon: string;
|
|
18
|
+
icon: string;
|
|
31
19
|
color?: string;
|
|
32
20
|
disabled?: boolean;
|
|
33
21
|
}>();
|
|
34
22
|
|
|
35
|
-
const toggleButton = useTemplateRef('toggleButton') as Ref<HTMLElement>;
|
|
36
|
-
|
|
37
23
|
const emit = defineEmits<{
|
|
38
|
-
toggle: [
|
|
39
|
-
value: boolean,
|
|
40
|
-
];
|
|
24
|
+
toggle: [];
|
|
41
25
|
}>();
|
|
42
26
|
|
|
43
27
|
const setToggleState = () => {
|
|
44
28
|
if (props.disabled) return;
|
|
45
|
-
emit('toggle'
|
|
29
|
+
emit('toggle');
|
|
46
30
|
};
|
|
47
31
|
</script>
|
|
48
|
-
|
|
49
|
-
<style scoped>.toggle-button[data-pressed] .toggle-button__primary,
|
|
50
|
-
.toggle-button:not([data-pressed]) .toggle-button__secondary {
|
|
51
|
-
display: none;
|
|
52
|
-
}</style>
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
secondaryIcon: string;
|
|
2
|
+
icon: string;
|
|
4
3
|
color?: string;
|
|
5
4
|
disabled?: boolean;
|
|
6
5
|
};
|
|
7
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
toggle: (
|
|
7
|
+
toggle: () => any;
|
|
9
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onToggle?: (
|
|
9
|
+
onToggle?: () => any;
|
|
11
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
11
|
declare const _default: typeof __VLS_export;
|
|
13
12
|
export default _default;
|