Skip to content

Commit

Permalink
Merge pull request #467 from Giphy/changeset-release/master
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
giannif authored Feb 6, 2025
2 parents 0384eaf + f03dd9e commit c31f4ca
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .changeset/silver-gorillas-look.md

This file was deleted.

21 changes: 21 additions & 0 deletions packages/react-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
## @giphy/react-components

## 10.0.0

### Major Changes

- 0384eaf: Responsive `Grid`:

Rewrite grid logic to support a `percentageWidth`, allowing the grid to be rendereded on the server.
The `width` property still determines the rendition selection of the grid items, but the grid will scale to the percentage value provided (e.g. `100%`)

Remove `useTransform` property:

This was used to layout grid items and has been replaced by a new strategy

`Gif`:

Add `lazyLoad` property to Gif component, default true. If set to false, on screen logic won't be run and the img will always show. Should be used in SSR.

`Loader` height:

The loader style was using a padding to allow for its height, this was a bad approach as padding is not applied in flex containers.

## 9.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"vite": "^6.0.11"
},
"name": "@giphy/react-components",
"version": "9.8.0",
"version": "10.0.0",
"description": "A lightweight set of components, focused on easy-of-use and performance.",
"homepage": "https://github.com/Giphy/giphy-js/tree/master/packages/react-components",
"main": "dist/index.js",
Expand Down

0 comments on commit c31f4ca

Please sign in to comment.