@redocly/theme 0.7.0 → 0.7.1

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/lib/config.d.ts CHANGED
@@ -432,6 +432,7 @@ export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
432
432
  }>>>;
433
433
  openapi: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>>;
434
434
  graphql: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>>;
435
+ analytics: z.ZodOptional<z.ZodAny>;
435
436
  userProfile: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
436
437
  loginLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
437
438
  logoutLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -552,6 +553,7 @@ export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
552
553
  } | undefined;
553
554
  openapi?: {} | undefined;
554
555
  graphql?: {} | undefined;
556
+ analytics?: any;
555
557
  colorMode: {
556
558
  hide?: boolean | undefined;
557
559
  ignoreDetection?: boolean | undefined;
@@ -691,6 +693,7 @@ export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
691
693
  } | undefined;
692
694
  openapi?: {} | undefined;
693
695
  graphql?: {} | undefined;
696
+ analytics?: any;
694
697
  userProfile?: {
695
698
  hide?: boolean | undefined;
696
699
  loginLabel?: string | undefined;
package/lib/config.js CHANGED
@@ -161,6 +161,7 @@ exports.ThemeConfig = zod_1.z
161
161
  .optional(),
162
162
  openapi: zod_1.z.object({}).passthrough().optional(),
163
163
  graphql: zod_1.z.object({}).passthrough().optional(),
164
+ analytics: zod_1.z.any().optional(),
164
165
  userProfile: zod_1.z
165
166
  .object({
166
167
  loginLabel: zod_1.z.string().default('Login').optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Shared UI components lib",
5
5
  "author": "team@redocly.com",
6
6
  "license": "SEE LICENSE IN LICENSE",
package/src/config.ts CHANGED
@@ -170,6 +170,7 @@ export const ThemeConfig = z
170
170
  .optional(),
171
171
  openapi: z.object({}).passthrough().optional(),
172
172
  graphql: z.object({}).passthrough().optional(),
173
+ analytics: z.any().optional(),
173
174
  userProfile: z
174
175
  .object({
175
176
  loginLabel: z.string().default('Login').optional(),