@central-design-system/components 3.0.0-beta.5 → 3.0.0-beta.6
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.es.js +1313 -1300
- package/dist/cds.umd.js +2 -2
- package/dist/components/CdsBadge/CdsBadge.vue.d.ts +17 -2
- package/dist/components/CdsExpandablePanel/CdsExpandablePanels.vue.d.ts +1 -1
- package/dist/components/CdsNotification/CdsNotificationAlert.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/scss/themes/b2b/tokens.json +104 -104
- package/src/scss/themes/cds/tokens.json +104 -104
- package/src/scss/themes/index.ts +1 -1
- package/src/scss/utility/display.scss +56 -5
- package/src/scss/utility/flexbox.scss +26 -28
- package/src/scss/utility/index.scss +0 -2
- package/src/scss/utility/layout.scss +65 -3
- package/src/scss/utility/spacing.scss +46 -86
- package/src/scss/utility/variables/display.scss +11 -0
- package/src/scss/utility/variables/exports/_display.scss +7 -0
- package/src/scss/utility/variables/exports/_flex.scss +13 -0
- package/src/scss/utility/variables/exports/_overflow.scss +7 -0
- package/src/scss/utility/variables/exports/_position.scss +7 -0
- package/src/scss/utility/variables/exports/_spacing.scss +14 -0
- package/src/scss/utility/variables/exports/_visibility.scss +7 -0
- package/src/scss/utility/variables/exports/_widthHeight.scss +7 -0
- package/src/scss/utility/variables/flex.scss +99 -0
- package/src/scss/utility/variables/index.scss +11 -0
- package/src/scss/utility/variables/overflow.scss +6 -0
- package/src/scss/utility/variables/position.scss +7 -0
- package/src/scss/utility/variables/spacing.scss +37 -0
- package/src/scss/utility/variables/visibility.scss +5 -0
- package/src/scss/utility/variables/widthHeight.scss +69 -0
- package/dist/components/CdsTable/composable/scroll.d.ts +0 -4607
- package/src/scss/utility/generatedFiles/generatedStyles.json +0 -1
- package/src/scss/utility/generatedFiles/generatedStyles.scss +0 -300
- package/src/scss/utility/typography.scss +0 -16
- package/src/scss/utility/variables.scss +0 -116
|
@@ -1,29 +1,44 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
export declare const componentName = "CdsBadge";
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
variant: {
|
|
5
|
+
type: PropType<any>;
|
|
6
|
+
default: string;
|
|
7
|
+
validator: (value: "default" | "important") => boolean;
|
|
8
|
+
};
|
|
4
9
|
dark: {
|
|
5
10
|
type: PropType<boolean>;
|
|
6
11
|
default: boolean;
|
|
7
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* Число для счетчика
|
|
15
|
+
*/
|
|
8
16
|
count: {
|
|
9
17
|
type: PropType<string | number>;
|
|
10
18
|
required: true;
|
|
11
19
|
default: number;
|
|
12
|
-
description: string;
|
|
13
20
|
};
|
|
14
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
variant: {
|
|
23
|
+
type: PropType<any>;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: "default" | "important") => boolean;
|
|
26
|
+
};
|
|
15
27
|
dark: {
|
|
16
28
|
type: PropType<boolean>;
|
|
17
29
|
default: boolean;
|
|
18
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* Число для счетчика
|
|
33
|
+
*/
|
|
19
34
|
count: {
|
|
20
35
|
type: PropType<string | number>;
|
|
21
36
|
required: true;
|
|
22
37
|
default: number;
|
|
23
|
-
description: string;
|
|
24
38
|
};
|
|
25
39
|
}>>, {
|
|
26
40
|
dark: boolean;
|
|
41
|
+
variant: any;
|
|
27
42
|
count: string | number;
|
|
28
43
|
}>;
|
|
29
44
|
export default _sfc_main;
|
|
@@ -107,9 +107,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
107
107
|
required: boolean | "force";
|
|
108
108
|
modelValue: any;
|
|
109
109
|
readonly: boolean;
|
|
110
|
+
variant: "default" | "accordion";
|
|
110
111
|
appearance: "primary" | "secondary" | "transparent";
|
|
111
112
|
selectedClass: string;
|
|
112
113
|
max: number;
|
|
113
|
-
variant: "default" | "accordion";
|
|
114
114
|
}>;
|
|
115
115
|
export default _sfc_main;
|
|
@@ -415,6 +415,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
415
415
|
transition: NonNullable<string | boolean | (import("vue").TransitionProps & {
|
|
416
416
|
component?: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
417
417
|
})>;
|
|
418
|
+
variant: any;
|
|
418
419
|
attach: string | boolean | Element;
|
|
419
420
|
contained: boolean;
|
|
420
421
|
persistent: boolean;
|
|
@@ -443,7 +444,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
443
444
|
maxWidth: string | number;
|
|
444
445
|
minHeight: string | number;
|
|
445
446
|
minWidth: string | number;
|
|
446
|
-
variant: any;
|
|
447
447
|
customIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined;
|
|
448
448
|
closable: boolean;
|
|
449
449
|
closeLabel: string;
|