@webitel/ui-sdk 26.8.125 → 26.8.127

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.
Files changed (30) hide show
  1. package/dist/{clients-C8bQsU8l.js → clients-BIYo95Lm.js} +1 -1
  2. package/dist/{components-BBqsnlPE.js → components-ClBeAarp.js} +441 -351
  3. package/dist/ui-sdk.css +1 -1
  4. package/dist/ui-sdk.js +1 -1
  5. package/dist/ui-sdk.umd.cjs +649 -649
  6. package/dist/{wt-chat-emoji-BBo9lHMv.js → wt-chat-emoji-DScnZq3L.js} +1 -1
  7. package/dist/{wt-display-chip-items-D_pECxhW.js → wt-display-chip-items-T7QK4gFh.js} +1 -1
  8. package/dist/{wt-send-message-popup-f1bV8oUt.js → wt-send-message-popup-DXWOn8eg.js} +2 -2
  9. package/dist/{wt-type-extension-value-input-DpLKqfaa.js → wt-type-extension-value-input-BsIDJ-6K.js} +2 -2
  10. package/dist/{wt-vidstack-player-CGkzRJBI.js → wt-vidstack-player-C_miJ8JF.js} +1 -1
  11. package/package.json +2 -1
  12. package/src/components/index.js +9 -0
  13. package/src/components/wt-content-wrapper/__tests__/WtContentWrapper.spec.js +34 -0
  14. package/src/components/wt-content-wrapper/_variables.css +10 -0
  15. package/src/components/wt-content-wrapper/wt-content-wrapper.vue +46 -0
  16. package/src/components/wt-layout/__tests__/WtLayout.spec.js +192 -0
  17. package/src/components/wt-layout/_variables.css +15 -0
  18. package/src/components/wt-layout/wt-layout.vue +228 -0
  19. package/src/components/wt-page/__tests__/WtPage.spec.js +35 -0
  20. package/src/components/wt-page/_variables.css +15 -0
  21. package/src/components/wt-page/wt-page.vue +52 -0
  22. package/src/css/components-variables.css +3 -0
  23. package/types/.tsbuildinfo +1 -1
  24. package/types/components/index.d.ts +7 -1
  25. package/types/components/wt-content-wrapper/__tests__/WtContentWrapper.spec.d.ts +1 -0
  26. package/types/components/wt-content-wrapper/wt-content-wrapper.vue.d.ts +18 -0
  27. package/types/components/wt-layout/__tests__/WtLayout.spec.d.ts +1 -0
  28. package/types/components/wt-layout/wt-layout.vue.d.ts +36 -0
  29. package/types/components/wt-page/__tests__/WtPage.spec.d.ts +1 -0
  30. package/types/components/wt-page/wt-page.vue.d.ts +13 -0
@@ -0,0 +1,15 @@
1
+ :root {
2
+ --wt-page-background-color: var(--p-surface-50);
3
+ --wt-page-padding-x: 0;
4
+ --wt-page-padding-y: 0;
5
+ --wt-page-gap: 0;
6
+
7
+ --wt-page-body-background-color: transparent;
8
+ --wt-page-body-padding-x: var(--spacing-sm);
9
+ --wt-page-body-padding-y: var(--spacing-sm);
10
+ --wt-page-body-gap: var(--spacing-sm);
11
+ }
12
+
13
+ :root.theme--dark {
14
+ --wt-page-background-color: var(--p-surface-850);
15
+ }
@@ -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";