Skip to content

Commit

Permalink
VERSION-1.17.0: chore: released version 1.17.0
Browse files Browse the repository at this point in the history
- release new version & exposed grid item
  • Loading branch information
sinha-sahil committed Oct 10, 2024
1 parent 870e712 commit 32f8cf8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juspay/svelte-ui-components",
"version": "1.12.0",
"version": "1.17.0",
"scripts": {
"dev": "vite dev --host",
"build": "vite build && npm run package",
Expand Down
18 changes: 12 additions & 6 deletions src/lib/GridItem/GridItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
function onClick() {
showLoader = !showLoader;
dispatch('onClick');
dispatch('click');
}
</script>

Expand All @@ -29,8 +29,8 @@
<style>
.container {
box-sizing: border-box;
height: var(--grid-item-height, fit-content);
width: var(--grid-item-width, fit-content);
height: var(--grid-item-height, 98px);
width: var(--grid-item-width, 66px);
display: flex;
flex-direction: column;
justify-content: center;
Expand Down Expand Up @@ -58,8 +58,8 @@
}
.grid-item-body {
height: var(--grid-item-height, 64px);
width: var(--grid-item-width, 64px);
height: var(--grid-item-body-height, 64px);
width: var(--grid-item-body-width, 64px);
background-color: var(--grid-item-background-color, #faf9f9);
border: var(--grid-item-border, 1px solid #eaeaea);
border-radius: var(--grid-item-border-radius, 4px);
Expand All @@ -80,6 +80,12 @@
margin: var(--grid-item-footer-margin, 8px 0 0 0);
font-size: var(--grid-item-font-size, 14px);
color: var(--grid-item-color, #333);
text-overflow: var(--grid-item-footer-text-overflow, ellipsis);
white-space: var(--grid-item-footer-white-space, nowrap);
overflow: var(--grid-item-footer-overflow, hidden);
width: var(--grid-item-footer-width, 100%);
text-align: var(--grid-item-footer-text-align, center);
height: var(--grid-item-footer-height, fit-content);
}
.grid-body-loader {
Expand All @@ -94,7 +100,7 @@
margin: var(--grid-item-margin, 8px 0 0 0);
border-radius: var(--grid-item-border-radius, 4px);
border: var(--animation-version, 32px solid #cbcccf66);
animation: clipperAnimation var(--loader-animation-duration) infinite linear;
animation: clipperAnimation var(--loader-animation-duration, 3s) infinite linear;
}
@keyframes clipperAnimation {
Expand Down
1 change: 1 addition & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export { default as Table } from './Table/Table.svelte';
export { default as Stepper } from './Stepper/Stepper.svelte';
export { default as Step } from './Stepper/Step.svelte';
export { default as Toast } from './Toast/Toast.svelte';
export { default as GridItem } from './GridItem/GridItem.svelte';

export type { ButtonProperties } from './Button/properties';
export type { ModalProperties, ModalAlign, ModalSize } from './Modal/properties';
Expand Down

0 comments on commit 32f8cf8

Please sign in to comment.