@webitel/ui-sdk 25.8.74 → 25.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.8.74",
3
+ "version": "25.10.1",
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 lint:fix || true) && npm run publish-lib",
@@ -6,28 +6,28 @@
6
6
  {{ displayText(firstItemName) }}
7
7
  </slot>
8
8
 
9
- <wt-popover>
10
- <template #activator="{ toggle }">
11
- <slot name="activator" :toggle="toggle">
12
- <div v-if="displayList.length" @click="toggle">
13
- <wt-chip>
14
- +{{ displayList.length }}
15
- </wt-chip>
16
- </div>
17
- </slot>
18
- </template>
9
+ <wt-popover>
10
+ <template #activator="{ toggle }">
11
+ <slot name="activator" :toggle="toggle">
12
+ <div v-if="displayList.length" @click="toggle">
13
+ <wt-chip>
14
+ +{{ displayList.length }}
15
+ </wt-chip>
16
+ </div>
17
+ </slot>
18
+ </template>
19
19
 
20
- <template #default>
21
- <slot name="items" :items="displayList">
22
- <div
23
- v-for="({ name, id }) of displayList"
24
- :key="id"
25
- >
26
- {{ name }}
27
- </div>
28
- </slot>
29
- </template>
30
- </wt-popover>
20
+ <template #default>
21
+ <slot name="items" :items="displayList">
22
+ <div
23
+ v-for="({ name, id }) of displayList"
24
+ :key="id"
25
+ >
26
+ {{ name }}
27
+ </div>
28
+ </slot>
29
+ </template>
30
+ </wt-popover>
31
31
  </div>
32
32
  </template>
33
33
 
@@ -3,6 +3,7 @@
3
3
  <wt-popover
4
4
  :visible="visible"
5
5
  :disabled="disabled"
6
+ :pt="pt"
6
7
  unstyled
7
8
  placement="bottom-end"
8
9
  class="wt-context-menu__floating-wrapper"
@@ -71,6 +72,10 @@ const props = defineProps({
71
72
  type: Boolean,
72
73
  default: false,
73
74
  },
75
+ pt: {
76
+ type: Object,
77
+ default: () => null,
78
+ },
74
79
  tooltipTriggers: {
75
80
  type: Array,
76
81
  default: () => ['click', 'touch'],
@@ -27,7 +27,6 @@ import { defineExpose, useAttrs, useTemplateRef } from 'vue';
27
27
 
28
28
  const attrs = useAttrs();
29
29
  const innerPopover = useTemplateRef('innerPopover');
30
-
31
30
  withDefaults(defineProps<PopoverProps>(), {
32
31
  appendTo: 'body',
33
32
  baseZIndex: 0,
@@ -1,3 +1,4 @@
1
1
  @use 'theme/components/tooltip/tooltip.scss' as *;
2
2
  @use 'theme/components/chip/chip.scss' as *;
3
3
  @use 'theme/components/breadcrumb/breadcrumb.scss' as *;
4
+ @use 'theme/components/popover/popover.scss' as *;
@@ -0,0 +1,5 @@
1
+ @use '@webitel/styleguide/typography' as *;
2
+
3
+ .p-popover-content {
4
+ @extend %typo-body-2;
5
+ }
@@ -12,6 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
12
12
  width: string;
13
13
  minWidth: string;
14
14
  maxWidth: string;
15
+ pt?: Record<string, any>;
15
16
  $props: {
16
17
  readonly options?: unknown[];
17
18
  readonly disabled?: boolean;
@@ -20,6 +21,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
20
21
  readonly width?: string;
21
22
  readonly minWidth?: string;
22
23
  readonly maxWidth?: string;
24
+ readonly pt?: Record<string, any>;
23
25
  };
24
26
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
27
  type __VLS_Slots = {