@vodafone_de/brix-components 12.0.0 → 12.0.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.
@@ -730,7 +730,7 @@ export declare const infoBannerSchema: z.ZodObject<{
730
730
  error_location: z.ZodOptional<z.ZodString>;
731
731
  }, z.core.$loose>>;
732
732
  }, z.core.$loose>;
733
- button: z.ZodOptional<z.ZodObject<{
733
+ buttons: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
734
734
  component: z.ZodLiteral<"Button">;
735
735
  uid: z.ZodString;
736
736
  width: z.ZodOptional<z.ZodEnum<{
@@ -1365,7 +1365,48 @@ export declare const infoBannerSchema: z.ZodObject<{
1365
1365
  error_details: z.ZodOptional<z.ZodString>;
1366
1366
  error_location: z.ZodOptional<z.ZodString>;
1367
1367
  }, z.core.$loose>>;
1368
- }, z.core.$loose>>;
1368
+ }, z.core.$loose>, z.ZodObject<{
1369
+ component: z.ZodLiteral<"ButtonAsLink">;
1370
+ uid: z.ZodString;
1371
+ width: z.ZodOptional<z.ZodEnum<{
1372
+ auto: "auto";
1373
+ full: "full";
1374
+ }>>;
1375
+ appearance: z.ZodOptional<z.ZodEnum<{
1376
+ primary: "primary";
1377
+ secondary: "secondary";
1378
+ tertiary: "tertiary";
1379
+ }>>;
1380
+ customId: z.ZodOptional<z.ZodString>;
1381
+ sysId: z.ZodString;
1382
+ children: z.ZodCustom<unknown, unknown>;
1383
+ href: z.ZodString;
1384
+ enableStructuredData: z.ZodOptional<z.ZodBoolean>;
1385
+ tracking: z.ZodOptional<z.ZodObject<{
1386
+ contact_action: z.ZodOptional<z.ZodString>;
1387
+ contact_subject: z.ZodOptional<z.ZodString>;
1388
+ contact_available_tools: z.ZodOptional<z.ZodString>;
1389
+ contact_tool: z.ZodOptional<z.ZodString>;
1390
+ contact_trigger: z.ZodOptional<z.ZodString>;
1391
+ contact_variant: z.ZodOptional<z.ZodString>;
1392
+ information_action: z.ZodOptional<z.ZodString>;
1393
+ information_name: z.ZodOptional<z.ZodString>;
1394
+ information_ui_type: z.ZodOptional<z.ZodString>;
1395
+ information_trigger: z.ZodOptional<z.ZodString>;
1396
+ information_ui_location: z.ZodOptional<z.ZodString>;
1397
+ information_id: z.ZodOptional<z.ZodString>;
1398
+ information_ui_size: z.ZodOptional<z.ZodString>;
1399
+ error_action: z.ZodOptional<z.ZodString>;
1400
+ error_type: z.ZodOptional<z.ZodString>;
1401
+ error_message: z.ZodOptional<z.ZodString>;
1402
+ error_ui_type: z.ZodOptional<z.ZodString>;
1403
+ error_trigger: z.ZodOptional<z.ZodString>;
1404
+ error_trigger_name: z.ZodOptional<z.ZodString>;
1405
+ error_code: z.ZodOptional<z.ZodString>;
1406
+ error_details: z.ZodOptional<z.ZodString>;
1407
+ error_location: z.ZodOptional<z.ZodString>;
1408
+ }, z.core.$loose>>;
1409
+ }, z.core.$loose>]>>;
1369
1410
  theme: z.ZodOptional<z.ZodEnum<{
1370
1411
  dark: "dark";
1371
1412
  light: "light";
@@ -15413,9 +15413,11 @@ const infoBannerSchema = cmsPatternPropsSchema.extend({
15413
15413
  bottomSpacing: true,
15414
15414
  align: true
15415
15415
  }),
15416
- button: buttonSchema.omit({
15416
+ buttons: z.union([buttonSchema.omit({
15417
15417
  bottomSpacing: true
15418
- }).optional(),
15418
+ }), buttonAsLinkSchema.omit({
15419
+ bottomSpacing: true
15420
+ })]).optional(),
15419
15421
  theme: z.enum(themes).optional()
15420
15422
  });
15421
15423
  const validateInfoBannerProps = (props) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vodafone_de/brix-components",
3
3
  "description": "Brix is the digital design system for vodafone.de",
4
- "version": "12.0.0",
4
+ "version": "12.0.1",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {