@front10/card
Advanced tools
Comparing version 0.76.2 to 0.78.2
@@ -0,3 +1,39 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
## [0.78.2](https://gitlab.com/front10-devs/front10-ui/compare/v0.78.1...v0.78.2) (2020-11-12) | ||
### Bug Fixes | ||
* carousel auto-height not filling the whole track ([ef63458](https://gitlab.com/front10-devs/front10-ui/commit/ef63458b48d5868f7fb9584cde9fb099042df1d8)) | ||
# @front10/card | ||
## 0.78.0 | ||
### Patch Changes | ||
- Updated dependencies [2cee9b5] | ||
- @front10/base-elements@0.78.0 | ||
## 0.77.0 | ||
### Minor Changes | ||
- 79ad4ba: The timeout was removed from the container query, because it was creating subtle bugs. We may have it back later if we find a workaround. | ||
### Patch Changes | ||
- Updated dependencies [79ad4ba] | ||
- Updated dependencies [10aa2b9] | ||
- @front10/base-elements@0.77.0 | ||
- @front10/utils@0.77.0 | ||
## 0.4.0 | ||
@@ -4,0 +40,0 @@ |
@@ -1,2 +0,1 @@ | ||
import { RefObject } from "react"; | ||
export declare function useTruncate(text: string, length: number): { | ||
@@ -8,18 +7,1 @@ textToDisplay: string; | ||
}; | ||
/** Get the size of component passed as reference | ||
* @return {width: number, height: number} Return a object with width and height in pixels of DOM referred object | ||
* @param ref RefObject<HTMLElement> Reference to object to track size | ||
* @param timeOut number Milliseconds to call the function | ||
* @example 1 Examples of usage | ||
* | ||
* const size = useGetSize(objectRef,300); //Size will contain the width and height of objectRef in pixels | ||
* | ||
* @example 2 | ||
* const {width, height} = useGetSize(objectRef); | ||
* //width and height contain the measures of object in pixels, the default timeout is 500ms | ||
* | ||
*/ | ||
export declare function useGetSize(ref: RefObject<HTMLElement>, timeOut?: number): { | ||
width?: number | undefined; | ||
height?: number | undefined; | ||
}; |
@@ -26,2 +26,1 @@ export { Card, CardLayoutKey, CardProps } from "./Card"; | ||
export { InstagramM } from "./InstagramM"; | ||
export { useGetSize } from "./_commons/strings"; |
{ | ||
"version": "0.76.2", | ||
"version": "0.78.2", | ||
"license": "", | ||
@@ -40,8 +40,8 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@front10/base-elements": "^0.76.2", | ||
"@front10/utils": "^0.76.2", | ||
"@front10/base-elements": "^0.78.0", | ||
"@front10/utils": "^0.77.0", | ||
"@reach/visually-hidden": "^0.11.0", | ||
"resize-observer-polyfill": "^1.5.1" | ||
}, | ||
"gitHead": "d3068959acd009d32efb9bea8e659e89f8fe0833" | ||
"gitHead": "a5b4e69ce6bdd0be9e4f70c438beba88cf79b097" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1780636
22740
+ Added@front10/base-elements@0.78.3(transitive)
- Removed@front10/base-elements@0.76.2(transitive)
- Removed@front10/utils@0.76.2(transitive)
- Removedaxios@0.19.2(transitive)
- Removedcssjanus@1.3.2(transitive)
- Removedfollow-redirects@1.5.10(transitive)
- Removedloglevel@1.9.2(transitive)
- Removedreact-query@2.26.4(transitive)
- Removedstylis@3.5.4(transitive)
- Removedstylis-rtl@1.0.1(transitive)
Updated@front10/utils@^0.77.0