@blateral/b.kit 2.0.0-beta.21.5 → 2.0.0-beta.22.0

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.
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ImageProps } from "./Image";
3
+ import { LinkProps } from "../typography/Link";
3
4
  export interface FeatureProps {
4
5
  /** Invert color and background for darker themes */
5
6
  isInverted?: boolean;
@@ -15,10 +16,10 @@ export interface FeatureProps {
15
16
  intro?: string;
16
17
  /** Item's main text (richtext) */
17
18
  text?: string;
19
+ /** Item link settings */
20
+ link?: LinkProps;
18
21
  /** Function to inject custom primary button */
19
- primaryAction?: (isInverted?: boolean) => React.ReactNode;
20
- /** Function to inject custom secondary button */
21
- secondaryAction?: (isInverted?: boolean) => React.ReactNode;
22
+ action?: (isInverted?: boolean) => React.ReactNode;
22
23
  }
23
24
  declare const Feature: React.ForwardRefExoticComponent<FeatureProps & {
24
25
  className?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Feature.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/Feature.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C,OAAc,EAAE,UAAU,EAAE,gBAAgC;AAoD5D,MAAM,WAAW,YAAY;IACzB,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,uBAAuB;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,UAAU,CAAC;IAEnB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,+CAA+C;IAC/C,aAAa,CAAC,EAAE,CAAC,UAAU,CAAC,EA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