@central-design-system/components 3.0.4 → 3.1.0

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.
@@ -2,6 +2,11 @@ import { TCdsIllustrationsName } from '@central-design-system/illustrations';
2
2
  import { PropType } from 'vue';
3
3
  export declare const componentName = "CdsEmptyState";
4
4
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ theme: {
6
+ type: PropType<import('../../composable').TTheme | string>;
7
+ available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
8
+ default: undefined;
9
+ };
5
10
  title: {
6
11
  type: PropType<string>;
7
12
  default: string;
@@ -26,7 +31,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
26
31
  hasIllustrationSlot: import('vue').ComputedRef<boolean>;
27
32
  hasTitleSlot: import('vue').ComputedRef<boolean>;
28
33
  hasDescriptionSlot: import('vue').ComputedRef<boolean>;
34
+ classes: import('vue').ComputedRef<any>;
29
35
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
+ theme: {
37
+ type: PropType<import('../../composable').TTheme | string>;
38
+ available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
39
+ default: undefined;
40
+ };
30
41
  title: {
31
42
  type: PropType<string>;
32
43
  default: string;
@@ -49,6 +60,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
49
60
  }>> & Readonly<{}>, {
50
61
  title: string;
51
62
  description: string;
63
+ theme: string;
52
64
  illustration: "chocolate-menu" | "key" | "actives-rise-rub" | "bank-rub" | "book-building" | "book-chat" | "book-finger" | "books-apple-hat" | "calendar-watch" | "car-boxes" | "chip" | "display-analytics" | "display-demo" | "display-user-profile" | "doc-laptop" | "documents" | "finger-click-rub" | "hammer-buildings" | "hand-card-rub" | "hand-gear" | "hand-glass" | "hand-money" | "handshake-rub" | "like-display-click" | "like-profile-rub" | "mail-opened" | "man-laptop-world" | "man-spyglass" | "phone-in-hand" | "rocket" | "sandwatch-rub" | "search-interface" | "support" | "user-analytics" | "woman-chat";
53
65
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
54
66
  export default _default;
@@ -2,6 +2,11 @@ import { NTree } from './interface';
2
2
  import { SwitcherIconProps } from './components/SwitcherIcon';
3
3
  export declare const componentName = "CdsTree";
4
4
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ theme: {
6
+ type: import('vue').PropType<import('../../composable').TTheme | string>;
7
+ available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
8
+ default: undefined;
9
+ };
5
10
  disabled: {
6
11
  type: import('vue').PropType<boolean>;
7
12
  default: boolean;
@@ -338,6 +343,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
338
343
  */
339
344
  doubleclick: (event: MouseEvent, node: NTree.IEventDataNode) => true;
340
345
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
346
+ theme: {
347
+ type: import('vue').PropType<import('../../composable').TTheme | string>;
348
+ available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
349
+ default: undefined;
350
+ };
341
351
  disabled: {
342
352
  type: import('vue').PropType<boolean>;
343
353
  default: boolean;
@@ -649,6 +659,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
649
659
  nativeEvent: MouseEvent;
650
660
  }) => void;
651
661
  height: number;
662
+ theme: string;
652
663
  onExpand: (expandedKeys: NTree.TKey[], info: {
653
664
  node: NTree.IEventDataNode;
654
665
  expanded: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@central-design-system/components",
3
- "version": "3.0.4",
3
+ "version": "3.1.0",
4
4
  "description": "Central Design System on the Vue 3.0 and TypeScript",
5
5
  "author": {
6
6
  "name": "magersoft",
@@ -18,8 +18,9 @@
18
18
  counter-increment: listitem;
19
19
  margin: 0 0 $cds-spacing-xxs $cds-spacing-xs;
20
20
  padding: 0 0 0 $cds-spacing-xs;
21
- color: var(--cds-color-text-primary);
22
- @include cds-body-text-s();
21
+ color: rgb(var(--cds-color-content-primary));
22
+
23
+ @include cds-text-regular-200();
23
24
 
24
25
  // Задаем расположение для всех элементов списка
25
26
  &:before {