@central-design-system/components 3.0.4 → 3.2.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.
- package/dist/cds.css +1 -1
- package/dist/cds.d.ts +11 -1
- package/dist/cds.es.js +8652 -8212
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +5 -5
- package/dist/cds.umd.js.map +1 -1
- package/dist/components/CdsCard/CdsCard.d.ts +262 -0
- package/dist/components/CdsCard/CdsCardActions.d.ts +26 -0
- package/dist/components/CdsCard/CdsCardDivider.d.ts +17 -0
- package/dist/components/CdsCard/CdsCardGroup.d.ts +90 -0
- package/dist/components/CdsCard/CdsCardItem.d.ts +53 -0
- package/dist/components/CdsCard/CdsCardSubtitle.d.ts +17 -0
- package/dist/components/CdsCard/CdsCardText.d.ts +17 -0
- package/dist/components/CdsCard/CdsCardTitle.d.ts +17 -0
- package/dist/components/CdsCard/context.d.ts +10 -0
- package/dist/components/CdsCard/index.d.ts +8 -0
- package/dist/components/CdsContainer/CdsContainer.d.ts +1 -1
- package/dist/components/CdsDivider/CdsDivider.d.ts +18 -0
- package/dist/components/CdsDrawer/CdsDrawer.d.ts +1 -1
- package/dist/components/CdsDropdown/CdsDropdown.d.ts +1672 -1646
- package/dist/components/CdsEmptyState/CdsEmptyState.d.ts +12 -0
- package/dist/components/CdsGrid/CdsGrid.d.ts +1 -1
- package/dist/components/CdsImage/CdsImage.d.ts +11 -0
- package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.d.ts +1 -1
- package/dist/components/CdsTree/CdsTree.d.ts +11 -0
- package/dist/components/index.d.ts +10 -1
- package/dist/utils/dom/anchor.d.ts +1 -1
- package/package.json +1 -1
- package/src/scss/utility/lists.scss +3 -2
|
@@ -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;
|
|
@@ -48,8 +48,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
48
|
}>> & Readonly<{}>, {
|
|
49
49
|
tag: string;
|
|
50
50
|
condensed: boolean;
|
|
51
|
-
narrow: boolean;
|
|
52
51
|
subgrid: boolean;
|
|
52
|
+
narrow: boolean;
|
|
53
53
|
wide: boolean;
|
|
54
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
55
|
export default _default;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ISrcObject } from './composable';
|
|
2
2
|
export declare const componentName = "CdsImage";
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
6
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
4
9
|
transition: {
|
|
5
10
|
type: import('vue').PropType<string | boolean | (import('vue').TransitionProps & {
|
|
6
11
|
component?: import('vue').Component;
|
|
@@ -120,6 +125,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
120
125
|
load: (value: string | undefined) => true;
|
|
121
126
|
error: (value: string | undefined) => true;
|
|
122
127
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
128
|
+
theme: {
|
|
129
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
130
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
123
133
|
transition: {
|
|
124
134
|
type: import('vue').PropType<string | boolean | (import('vue').TransitionProps & {
|
|
125
135
|
component?: import('vue').Component;
|
|
@@ -245,6 +255,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
245
255
|
maxWidth: string | number;
|
|
246
256
|
minHeight: string | number;
|
|
247
257
|
minWidth: string | number;
|
|
258
|
+
theme: string;
|
|
248
259
|
absolute: boolean;
|
|
249
260
|
position: string;
|
|
250
261
|
options: IntersectionObserverInit;
|
|
@@ -119,7 +119,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
119
119
|
};
|
|
120
120
|
}>> & Readonly<{}>, {
|
|
121
121
|
loading: boolean;
|
|
122
|
-
type: "text" | "article" | "button" | "table" | (string & {}) | "block" | "
|
|
122
|
+
type: "text" | "article" | "button" | "table" | (string & {}) | "block" | "table-row" | "list-item" | "subtitle" | "divider" | "actions" | "chip" | "avatar" | "heading" | "sentences" | "paragraph" | "card" | "card-avatar" | "date-picker" | "date-picker-options" | "date-picker-days" | "list-item-avatar" | "list-item-two-line" | "list-item-avatar-two-line" | "list-item-three-line" | "list-item-avatar-three-line" | "table-heading" | "table-thead" | "table-tbody" | "table-row-divider" | "table-tfoot" | readonly ("text" | "article" | "button" | "table" | (string & {}) | "block" | "table-row" | "list-item" | "subtitle" | "divider" | "actions" | "chip" | "avatar" | "heading" | "sentences" | "paragraph" | "card" | "card-avatar" | "date-picker" | "date-picker-options" | "date-picker-days" | "list-item-avatar" | "list-item-two-line" | "list-item-avatar-two-line" | "list-item-three-line" | "list-item-avatar-three-line" | "table-heading" | "table-thead" | "table-tbody" | "table-row-divider" | "table-tfoot")[];
|
|
123
123
|
height: string | number;
|
|
124
124
|
width: string | number;
|
|
125
125
|
maxHeight: string | number;
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Automatically generated by CDS CLI
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on 5/16/2025, 6:41:34 PM
|
|
4
4
|
**/
|
|
5
5
|
export { default as CdsAutocomplete } from './CdsAutocomplete/CdsAutocomplete';
|
|
6
6
|
export { default as CdsBadge } from './CdsBadge/CdsBadge';
|
|
@@ -8,6 +8,14 @@ export { default as CdsBreadcrumbs } from './CdsBreadcrumbs/CdsBreadcrumbs';
|
|
|
8
8
|
export { default as CdsBreadcrumbsItem } from './CdsBreadcrumbs/CdsBreadcrumbsItem';
|
|
9
9
|
export { default as CdsButton } from './CdsButton/CdsButton';
|
|
10
10
|
export { default as CdsFunctionalButton } from './CdsButton/CdsFunctionalButton';
|
|
11
|
+
export { default as CdsCard } from './CdsCard/CdsCard';
|
|
12
|
+
export { default as CdsCardActions } from './CdsCard/CdsCardActions';
|
|
13
|
+
export { default as CdsCardDivider } from './CdsCard/CdsCardDivider';
|
|
14
|
+
export { default as CdsCardGroup } from './CdsCard/CdsCardGroup';
|
|
15
|
+
export { default as CdsCardItem } from './CdsCard/CdsCardItem';
|
|
16
|
+
export { default as CdsCardSubtitle } from './CdsCard/CdsCardSubtitle';
|
|
17
|
+
export { default as CdsCardText } from './CdsCard/CdsCardText';
|
|
18
|
+
export { default as CdsCardTitle } from './CdsCard/CdsCardTitle';
|
|
11
19
|
export { default as CdsCheckbox } from './CdsCheckbox/CdsCheckbox';
|
|
12
20
|
export { default as CdsCheckboxGroup } from './CdsCheckbox/CdsCheckboxGroup';
|
|
13
21
|
export { default as CdsCombobox } from './CdsCombobox/CdsCombobox';
|
|
@@ -84,6 +92,7 @@ export * from './CdsAutocomplete';
|
|
|
84
92
|
export * from './CdsBadge';
|
|
85
93
|
export * from './CdsBreadcrumbs';
|
|
86
94
|
export * from './CdsButton';
|
|
95
|
+
export * from './CdsCard';
|
|
87
96
|
export * from './CdsCheckbox';
|
|
88
97
|
export * from './CdsCombobox';
|
|
89
98
|
export * from './CdsContainer';
|
|
@@ -19,5 +19,5 @@ export declare function toPhysical(str: 'center' | Tblock | Tinline): "center" |
|
|
|
19
19
|
export declare function flipSide(anchor: ParsedAnchor): ParsedAnchor;
|
|
20
20
|
export declare function flipAlign(anchor: ParsedAnchor): ParsedAnchor;
|
|
21
21
|
export declare function flipCorner(anchor: ParsedAnchor): ParsedAnchor;
|
|
22
|
-
export declare function getAxis(anchor: ParsedAnchor): "
|
|
22
|
+
export declare function getAxis(anchor: ParsedAnchor): "x" | "y";
|
|
23
23
|
export {};
|
package/package.json
CHANGED
|
@@ -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-
|
|
22
|
-
|
|
21
|
+
color: rgb(var(--cds-color-content-primary));
|
|
22
|
+
|
|
23
|
+
@include cds-text-regular-200();
|
|
23
24
|
|
|
24
25
|
// Задаем расположение для всех элементов списка
|
|
25
26
|
&:before {
|