@webitel/ui-sdk 26.8.125 → 26.8.126
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-C8bQsU8l.js → clients-DV2KSEHt.js} +1 -1
- package/dist/{components-BBqsnlPE.js → components-BAjXjwgz.js} +441 -351
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +649 -649
- package/dist/{wt-chat-emoji-BBo9lHMv.js → wt-chat-emoji-DUrA-v1_.js} +1 -1
- package/dist/{wt-display-chip-items-D_pECxhW.js → wt-display-chip-items-CZvSZVP_.js} +1 -1
- package/dist/{wt-send-message-popup-f1bV8oUt.js → wt-send-message-popup-DphWte4I.js} +2 -2
- package/dist/{wt-type-extension-value-input-DpLKqfaa.js → wt-type-extension-value-input-BjmJrhU5.js} +2 -2
- package/dist/{wt-vidstack-player-CGkzRJBI.js → wt-vidstack-player-Zns27bwa.js} +1 -1
- package/package.json +1 -1
- package/src/components/index.js +9 -0
- package/src/components/wt-content-wrapper/__tests__/WtContentWrapper.spec.js +34 -0
- package/src/components/wt-content-wrapper/_variables.css +10 -0
- package/src/components/wt-content-wrapper/wt-content-wrapper.vue +46 -0
- package/src/components/wt-layout/__tests__/WtLayout.spec.js +153 -0
- package/src/components/wt-layout/_variables.css +15 -0
- package/src/components/wt-layout/wt-layout.vue +217 -0
- package/src/components/wt-page/__tests__/WtPage.spec.js +35 -0
- package/src/components/wt-page/_variables.css +15 -0
- package/src/components/wt-page/wt-page.vue +52 -0
- package/src/css/components-variables.css +3 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/index.d.ts +7 -1
- package/types/components/wt-content-wrapper/__tests__/WtContentWrapper.spec.d.ts +1 -0
- package/types/components/wt-content-wrapper/wt-content-wrapper.vue.d.ts +18 -0
- package/types/components/wt-layout/__tests__/WtLayout.spec.d.ts +1 -0
- package/types/components/wt-layout/wt-layout.vue.d.ts +36 -0
- package/types/components/wt-page/__tests__/WtPage.spec.d.ts +1 -0
- package/types/components/wt-page/wt-page.vue.d.ts +13 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="wt-page">
|
|
3
|
+
<div v-if="$slots.header" class="wt-page__header">
|
|
4
|
+
<slot name="header" />
|
|
5
|
+
</div>
|
|
6
|
+
<div class="wt-page__body">
|
|
7
|
+
<!-- @slot Layouts of the page -->
|
|
8
|
+
<slot />
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
/**
|
|
15
|
+
* Top structural level of the interface: header + body, where the body
|
|
16
|
+
* distributes its width between one or more `wt-layout`s.
|
|
17
|
+
*/
|
|
18
|
+
defineSlots<{
|
|
19
|
+
header?: () => unknown;
|
|
20
|
+
default?: () => unknown;
|
|
21
|
+
}>();
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<style scoped>
|
|
25
|
+
.wt-page {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: var(--wt-page-gap);
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
background: var(--wt-page-background-color);
|
|
31
|
+
padding: var(--wt-page-padding-y) var(--wt-page-padding-x);
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
min-height: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.wt-page__header {
|
|
38
|
+
flex: 0 0 auto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.wt-page__body {
|
|
42
|
+
display: flex;
|
|
43
|
+
position: relative;
|
|
44
|
+
flex: 1 1 auto;
|
|
45
|
+
gap: var(--wt-page-body-gap);
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
background: var(--wt-page-body-background-color);
|
|
48
|
+
padding: var(--wt-page-body-padding-y) var(--wt-page-body-padding-x);
|
|
49
|
+
min-width: 0;
|
|
50
|
+
min-height: 0;
|
|
51
|
+
}
|
|
52
|
+
</style>
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@import "../components/wt-chip/_variables.css";
|
|
13
13
|
@import "../components/wt-context-menu/_variables.css";
|
|
14
14
|
@import "../components/wt-datepicker/_variables.css";
|
|
15
|
+
@import "../components/wt-content-wrapper/_variables.css";
|
|
15
16
|
@import "../components/wt-divider/_variables.css";
|
|
16
17
|
@import "../components/wt-dual-panel/_variables.css";
|
|
17
18
|
@import "../components/wt-dummy/_variables.css";
|
|
@@ -25,11 +26,13 @@
|
|
|
25
26
|
@import "../components/wt-input/_variables.css";
|
|
26
27
|
@import "../components/wt-item-link/_variables.css";
|
|
27
28
|
@import "../components/wt-label/_variables.css";
|
|
29
|
+
@import "../components/wt-layout/_variables.css";
|
|
28
30
|
@import "../components/wt-load-bar/_variables.css";
|
|
29
31
|
@import "../components/wt-loader/_variables.css";
|
|
30
32
|
@import "../components/wt-logo/_variables.css";
|
|
31
33
|
@import "../components/wt-navigation-bar/_variables.css";
|
|
32
34
|
@import "../components/wt-notifications-bar/_variables.css";
|
|
35
|
+
@import "../components/wt-page/_variables.css";
|
|
33
36
|
@import "../components/wt-page-wrapper/_variables.css";
|
|
34
37
|
@import "../components/wt-pagination/_variables.css";
|
|
35
38
|
@import "../components/wt-player/_variables.css";
|