mediacube-ui-v2 0.0.175 → 0.0.177

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.
@@ -13,11 +13,10 @@
13
13
  --tooltip-text-color: #{$color-white};
14
14
  font-family: $font-family-main;
15
15
  text-transform: none;
16
- font-size: $font-size-200;
17
- line-height: $line-height-200;
18
16
  position: absolute;
19
17
  font-weight: $font-weight-normal;
20
- text-align: center;
18
+ line-height: $line-height-250;
19
+ font-size: $font-size-300;
21
20
 
22
21
  border-radius: $radius-100;
23
22
  box-shadow: $shadow-s;
@@ -31,6 +30,10 @@
31
30
  & > * {
32
31
  display: inline-block;
33
32
  }
33
+ ul {
34
+ margin: 0;
35
+ padding-left: $space-150;
36
+ }
34
37
  &[tooltip-arrow="true"]::before {
35
38
  content: "";
36
39
  border: 5px solid transparent;
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import { IRoute } from '../../../types/IRoute';
3
2
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
3
  /**
5
4
  * Если нужен иной фрагмент в url после #
@@ -84,11 +83,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
84
83
  };
85
84
  /**
86
85
  * Если нужна ссылка внутри приложения:
87
- * `{name: 'test', params: { id: test.id }}`
88
86
  */
89
87
  to: {
90
- type: PropType<IRoute>;
91
- default: null;
88
+ type: PropType<string>;
89
+ default: string;
92
90
  };
93
91
  /**
94
92
  * Если нужна обычная ссылка:
@@ -182,11 +180,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
182
180
  };
183
181
  /**
184
182
  * Если нужна ссылка внутри приложения:
185
- * `{name: 'test', params: { id: test.id }}`
186
183
  */
187
184
  to: {
188
- type: PropType<IRoute>;
189
- default: null;
185
+ type: PropType<string>;
186
+ default: string;
190
187
  };
191
188
  /**
192
189
  * Если нужна обычная ссылка:
@@ -200,7 +197,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
200
197
  id: string;
201
198
  visible: boolean;
202
199
  name: string;
203
- to: IRoute;
200
+ to: string;
204
201
  href: string;
205
202
  isDisabled: boolean;
206
203
  prefix: string;
@@ -59,6 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
59
59
  "update:modelValue": (value: string) => any;
60
60
  "tab-changed": (value: {
61
61
  tab: ITab;
62
+ event?: Event | undefined;
62
63
  }) => any;
63
64
  clicked: (value: {
64
65
  tab: ITab;
@@ -121,6 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
121
122
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
122
123
  "onTab-changed"?: ((value: {
123
124
  tab: ITab;
125
+ event?: Event | undefined;
124
126
  }) => any) | undefined;
125
127
  onClicked?: ((value: {
126
128
  tab: ITab;
@@ -1,4 +1,3 @@
1
- import { IRoute } from './IRoute';
2
1
  import { ColorTypes } from './styles/Colors';
3
2
  import { IconsListUnion } from './styles/Icons';
4
3
  import { TabVariations } from '../enums/Tab';
@@ -11,7 +10,7 @@ export interface ITab {
11
10
  appendCountStyles: string;
12
11
  header: string;
13
12
  href?: string;
14
- to?: IRoute;
13
+ to?: string;
15
14
  id: string;
16
15
  name: string;
17
16
  iconAppendColor: ColorTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui-v2",
3
- "version": "0.0.175",
3
+ "version": "0.0.177",
4
4
  "license": "MIT",
5
5
  "description": "Design system for Mediacube services",
6
6
  "keywords": [