@amazeelabs/bridge
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -11,1 +11,7 @@ import { AnchorHTMLAttributes, DetailedHTMLProps, JSXElementConstructor, PropsWithChildren } from 'react'; | ||
export declare const useLocation: useLocationType; | ||
export type ImagePlaceholderProviderType = JSXElementConstructor<PropsWithChildren<{ | ||
useImagePlaceholder?: boolean; | ||
}>>; | ||
export type useImagePlaceholderType = () => boolean; | ||
export declare const ImagePlaceholderProvider: ImagePlaceholderProviderType; | ||
export declare const useImagePlaceholder: useImagePlaceholderType; |
@@ -17,1 +17,8 @@ import React from "react"; | ||
}; | ||
export var ImagePlaceholderProvider = function(param) { | ||
var children = param.children; | ||
return /*#__PURE__*/ React.createElement(React.Fragment, null, children); | ||
}; | ||
export var useImagePlaceholder = function() { | ||
return true; | ||
}; |
@@ -6,2 +6,14 @@ # Change Log | ||
# [1.5.0](https://github.com/AmazeeLabs/silverback-mono/compare/@amazeelabs/bridge@1.4.1...@amazeelabs/bridge@1.5.0) (2023-08-27) | ||
### Features | ||
- **cloudinary:** provider-based image placeholders | ||
([02762c5](https://github.com/AmazeeLabs/silverback-mono/commit/02762c5bf5d8008598e2059bcb359806a8cb69e0)) | ||
# Change Log | ||
All notable changes to this project will be documented in this file. See | ||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
## [1.4.1](https://github.com/AmazeeLabs/silverback-mono/compare/@amazeelabs/bridge@1.4.0...@amazeelabs/bridge@1.4.1) (2023-06-15) | ||
@@ -8,0 +20,0 @@ |
{ | ||
"name": "@amazeelabs/bridge", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "Library for framework agnostic react.", | ||
@@ -33,3 +33,3 @@ "type": "module", | ||
"author": "AmazeeLabs <development@amazeelabs.com>", | ||
"gitHead": "dab45e8b74f6347de82408e3bff3f900aec74db1" | ||
"gitHead": "5dfa908e2238b0070a8c3915a3a0a15351929c96" | ||
} |
10380
39