Skip to content

Commit 40c39fb

Browse files
Bhoomi PipaliaBhoomi Pipalia
authored andcommitted
Merge branch 'release/0.25.17'
2 parents 2fcb4a3 + b0ac9e7 commit 40c39fb

File tree

6 files changed

+664
-535
lines changed

6 files changed

+664
-535
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '*'
7+
workflow_dispatch:
78

89
permissions:
910
id-token: write
@@ -18,6 +19,9 @@ jobs:
1819
with:
1920
node-version: '24'
2021
registry-url: 'https://registry.npmjs.org'
22+
- run: npm --version
2123
- run: npm ci
2224
- run: npm run build --if-present
23-
- run: npm publish
25+
- run: npm publish --access public
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ Prefix the change with one of these keywords:
1717

1818
## [Unreleased]
1919

20+
## [0.25.16]
21+
22+
### Fixed
23+
24+
- Card image by adding aspect ratio
25+
2026
## [0.25.10][0.25.16]
2127

2228
### Fixed

lib/components/Card/CardFigure.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface CardFigureProps {
88
export const CardFigure = ({ children, isRound }: CardFigureProps) => {
99
const roundedImage = isRound ? `cu-figure--round pt-8 pb-2 px-6` : ''
1010

11-
return <figure className={`relative mb-2 overflow-hidden rounded-t-lg ${roundedImage}`}>{children}</figure>
11+
return <figure className={`cu-figure relative mb-2 overflow-hidden rounded-t-lg ${roundedImage}`}>{children}</figure>
1212
}
1313

1414
CardFigure.displayName = 'Card.Figure'

lib/components/Card/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
@apply w-full;
3030
}
3131

32+
.cu-card .cu-figure img {
33+
@apply aspect-[3/2];
34+
}
35+
3236
.cu-card .cu-figure--round img,
3337
.cu-card .cu-figure--round svg {
3438
@apply mx-auto h-32 w-32 rounded-full border-4 border-white object-cover shadow-md @sm:md:h-48 @sm:md:w-48;

0 commit comments

Comments
 (0)