@infomaximum/widget-sdk 7.0.0-new-layout.1 → 7.0.0-new-layout.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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [7.0.0-new-layout.2](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-new-layout.1...v7.0.0-new-layout.2) (2026-02-20)
6
+
7
+
8
+ ### Features
9
+
10
+ * в настройки виджета добавлен цвет фона ([00ad777](https://github.com/Infomaximum/widget-sdk/commit/00ad7777d201918048b0610016751acf7b5c28e2))
11
+
5
12
  ## [7.0.0-new-layout.1](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-12...v7.0.0-new-layout.1) (2026-02-20)
6
13
 
7
14
 
package/dist/index.d.ts CHANGED
@@ -11135,6 +11135,7 @@ declare const BaseWidgetSettingsSchema: (z: TZod) => zod.ZodObject<{
11135
11135
  hint: zod.ZodDefault<zod.ZodString>;
11136
11136
  }, zod_v4_core.$strip>>>;
11137
11137
  viewTheme: zod.ZodDefault<zod.ZodBoolean>;
11138
+ backgroundColor: zod.ZodType<string, unknown, zod_v4_core.$ZodTypeInternals<string, unknown>>;
11138
11139
  }, zod_v4_core.$strip>;
11139
11140
 
11140
11141
  interface IAutoIdentifiedArrayItem extends TSchemaType<typeof AutoIdentifiedArrayItemSchema> {
package/dist/index.esm.js CHANGED
@@ -138,6 +138,7 @@ var BaseWidgetSettingsSchema = function (z) {
138
138
  sorting: z.array(WidgetSortingIndicatorSchema(z)).default([]),
139
139
  actionButtons: z.array(ActionButtonSchema(z)).default([]),
140
140
  viewTheme: z.boolean().default(false),
141
+ backgroundColor: themed(z.string().default("#FFFFFF"), function (theme) { return theme.widgets.color; }),
141
142
  });
142
143
  };
143
144
 
package/dist/index.js CHANGED
@@ -139,6 +139,7 @@ var BaseWidgetSettingsSchema = function (z) {
139
139
  sorting: z.array(WidgetSortingIndicatorSchema(z)).default([]),
140
140
  actionButtons: z.array(ActionButtonSchema(z)).default([]),
141
141
  viewTheme: z.boolean().default(false),
142
+ backgroundColor: themed(z.string().default("#FFFFFF"), function (theme) { return theme.widgets.color; }),
142
143
  });
143
144
  };
144
145
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "7.0.0-new-layout.1",
3
+ "version": "7.0.0-new-layout.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",