@blateral/b.kit 2.1.6 → 2.1.7-patch.1.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/components/base/icons/Icons.d.ts +1 -0
- package/lib/components/base/icons/Icons.d.ts.map +1 -1
- package/lib/components/blocks/VideoCard.d.ts +5 -0
- package/lib/components/blocks/VideoCard.d.ts.map +1 -1
- package/lib/components/sections/CallToActionTwoUp.d.ts +52 -0
- package/lib/components/sections/CallToActionTwoUp.d.ts.map +1 -0
- package/lib/components/sections/Video.d.ts +10 -0
- package/lib/components/sections/Video.d.ts.map +1 -1
- package/lib/components/sections/navigation/Navigation.d.ts +10 -0
- package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -1
- package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -1
- package/lib/components/sections/news/NewsVideo.d.ts +10 -0
- package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.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/lib/utils/useMessage.d.ts +11 -0
- package/lib/utils/useMessage.d.ts.map +1 -0
- package/lib/utils/useNavigationState.d.ts +3 -0
- package/lib/utils/useNavigationState.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare type MessageType = 'NAVIGATION_STATE';
|
|
2
|
+
export interface Message<TData = Record<string, any> | string | number> {
|
|
3
|
+
type: MessageType;
|
|
4
|
+
data: TData;
|
|
5
|
+
}
|
|
6
|
+
declare const useMessage: <TData = string | number | Record<string, any>>() => {
|
|
7
|
+
send: (type: MessageType, data: TData) => void;
|
|
8
|
+
listen: (type: MessageType, callback: (message: Message<TData>) => void) => () => void;
|
|
9
|
+
};
|
|
10
|
+
export default useMessage;
|
|
11
|
+
//# sourceMappingURL=useMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMessage.d.ts","sourceRoot":"","sources":["../../src/utils/useMessage.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG,kBAAkB,CAAC;AAE7C,MAAM,WAAW,OAAO,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,GAAG,MAAM;IAClE,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;CACf;AAED,QAAA,MAAM,UAAU;iBACoB,WAAW;mBAKhC,WAAW,yCAAyC,IAAI;CAsBtE,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNavigationState.d.ts","sourceRoot":"","sources":["../../src/utils/useNavigationState.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,qDAAkD;AAExF,eAAO,MAAM,kBAAkB,sFAwB9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blateral/b.kit",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7-patch.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"storybook": "start-storybook -s ./public -p 9000 -c .storybook --no-manager-cache",
|
|
15
15
|
"deploy-storybook": "yarn storybook-to-ghpages",
|
|
16
16
|
"build-storybook": "build-storybook -c .storybook -s ./public",
|
|
17
|
-
"
|
|
17
|
+
"push-yalc": "yarn build && yalc push --sig",
|
|
18
18
|
"tc": "tsc --noEmit",
|
|
19
19
|
"check-publish": "yarn pack && tar -xvzf *.tgz && rm -rf package *.tgz",
|
|
20
20
|
"deploy": "yarn tc && yarn build && yarn publish",
|