@blateral/b.kit 0.10.24-patch.25 → 0.10.24-patch.27
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/components/base/icons/Play.d.ts +1 -0
- package/lib/components/base/icons/Play.d.ts.map +1 -1
- package/lib/components/blocks/VideoCard.d.ts +10 -1
- package/lib/components/blocks/VideoCard.d.ts.map +1 -1
- package/lib/components/sections/IconList.d.ts.map +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Play.d.ts","sourceRoot":"","sources":["../../../../src/components/base/icons/Play.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"Play.d.ts","sourceRoot":"","sources":["../../../../src/components/base/icons/Play.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAqBA,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -3,7 +3,16 @@ import { ImageProps } from "./Image";
|
|
|
3
3
|
export interface VideoCardProps {
|
|
4
4
|
bgImage: ImageProps;
|
|
5
5
|
embedId: string;
|
|
6
|
-
playIcon?: React.
|
|
6
|
+
playIcon?: React.ReactNode;
|
|
7
|
+
consentText?: string;
|
|
8
|
+
consentAction?: (props: {
|
|
9
|
+
handleClick?: () => void;
|
|
10
|
+
}) => React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Custom handler for play button click
|
|
13
|
+
* @returns true if video should be played
|
|
14
|
+
*/
|
|
15
|
+
onPlayClick?: () => Promise<boolean>;
|
|
7
16
|
}
|
|
8
17
|
declare const VideoCard: FC<VideoCardProps & {
|
|
9
18
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoCard.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/VideoCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,UAAU,EAAE,gBAAgC;
|
|
1
|
+
{"version":3,"file":"VideoCard.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/VideoCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,UAAU,EAAE,gBAAgC;AAkKrD,MAAM,WAAW,cAAc;IAC3B,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACzE;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CA0E1D,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconList.d.ts","sourceRoot":"","sources":["../../../src/components/sections/IconList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,WAAW,EAAE,8BAAsC;
|
|
1
|
+
{"version":3,"file":"IconList.d.ts","sourceRoot":"","sources":["../../../src/components/sections/IconList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAuH5D,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACvC,aAAa,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,eAAe,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAmGA,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|