@central-design-system/components 3.6.0 → 3.6.2
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 +2937 -2919
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +3 -3
- package/dist/cds.umd.js.map +1 -1
- package/dist/components/CdsAutocomplete/CdsAutocomplete.figma.d.ts +1 -0
- package/dist/components/CdsCombobox/CdsCombobox.figma.d.ts +1 -0
- package/dist/components/CdsDivider/CdsDivider.figma.d.ts +1 -0
- package/dist/components/CdsDropdown/CdsDropdown.figma.d.ts +1 -0
- package/dist/components/CdsEmptyState/CdsEmptyState.figma.d.ts +1 -0
- package/dist/components/CdsImage/CdsImage.figma.d.ts +1 -0
- package/dist/components/CdsMenu/CdsMenu.figma.d.ts +1 -0
- package/dist/components/CdsProgress/CdsProgress.figma.d.ts +1 -0
- package/dist/composable/theme.d.ts +7 -0
- package/dist/themes/colors.d.ts +2 -2
- package/dist/themes/promoLight.d.ts +1 -1
- package/package.json +1 -1
- package/src/themes/colors.ts +2 -2
- package/src/themes/css/promoLight.css +1 -1
- package/src/themes/promoLight.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,6 +8,13 @@ export type IThemeOptions = false | {
|
|
|
8
8
|
defaultTheme?: TThemes | string;
|
|
9
9
|
variations?: false | VariationOptions;
|
|
10
10
|
themes?: Record<string, ThemeDefinition>;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated НЕ ИСПОЛЬЗУЙТЕ НИ В КОЕМ СЛУЧАЕ, если у вас нет web компонентов с shadow DOM
|
|
13
|
+
* * ЭТО КОСТЫЛЬ!!!!
|
|
14
|
+
* * Указывает, что все стили cds-style-sheets будут прикреплены к первому элементу в shadowRoot DOM.
|
|
15
|
+
* * Если у вас нет web компонентов с shadow DOM, не используйте эту опцию НИ В КОЕМ СЛУЧАЕ!!!
|
|
16
|
+
*/
|
|
17
|
+
isShadowDom?: boolean;
|
|
11
18
|
};
|
|
12
19
|
export type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
|
13
20
|
export type TTheme = typeof availableTheme[number];
|
package/dist/themes/colors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Automatically generated by CDS CLI from CDS Server
|
|
3
|
-
* Generated on
|
|
4
|
-
* Updated on 2025-
|
|
3
|
+
* Generated on 10/14/2025, 10:46:46 AM
|
|
4
|
+
* Updated on 2025-10-14T09:46:32.100Z
|
|
5
5
|
**/
|
|
6
6
|
declare const _default: {
|
|
7
7
|
red: Readonly<{
|
package/package.json
CHANGED
package/src/themes/colors.ts
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
--cds-border-200: 0.125rem;
|
|
66
66
|
--cds-border-100: 0.0625rem;
|
|
67
67
|
--cds-base-unit: 16px;
|
|
68
|
-
--cds-color-surface-secondary:
|
|
68
|
+
--cds-color-surface-secondary: 238, 238, 238;
|
|
69
69
|
--cds-color-surface-primary: 255, 255, 255;
|
|
70
70
|
--cds-color-surface-overlay: 39, 42, 48, 0.5;
|
|
71
71
|
--cds-color-surface-inverse: 64, 70, 83;
|
package/src/themes/promoLight.ts
CHANGED
|
@@ -3,7 +3,7 @@ import colors from './colors';
|
|
|
3
3
|
export default {
|
|
4
4
|
dark: false,
|
|
5
5
|
colors: {
|
|
6
|
-
'surface-secondary': colors.gray.
|
|
6
|
+
'surface-secondary': colors.gray.light10,
|
|
7
7
|
'surface-primary': colors.gray.light0,
|
|
8
8
|
'surface-overlay': colors.alpha.dark500,
|
|
9
9
|
'surface-inverse': colors.silver.light900,
|