From 21518c8c1b5ab8382e67c05fca999d833789f475 Mon Sep 17 00:00:00 2001 From: BipanKishore <142712498+BipanKishore@users.noreply.github.com> Date: Wed, 8 May 2024 15:38:22 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8751517..011eeea 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ This library is highly customizable and can be used in various applications where flexible layout management is required. -[![resizable-panes-react](https://github.com/BipanKishore/resizable-panes-react/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/BipanKishore/resizable-panes-react/actions/workflows/build.yml) [![Cypress Tests](https://github.com/BipanKishore/resizable-panes-react/actions/workflows/cypress.yml/badge.svg?branch=master)](https://cloud.cypress.io/projects/2xc7po/branches/master/overview) ![nycrc config on GitHub](https://img.shields.io/nycrc/BipanKishore/resizable-panes-react) +[![resizable-panes-react](https://github.com/BipanKishore/resizable-panes-react/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/BipanKishore/resizable-panes-react/actions/workflows/build.yml) ![nycrc config on GitHub](https://img.shields.io/nycrc/BipanKishore/resizable-panes-react) [![NPM Version](https://img.shields.io/npm/v/resizable-panes-react)](https://www.npmjs.com/package/resizable-panes-react) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/resizable-panes-react)](https://www.npmjs.com/package/resizable-panes-react) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=BipanKishore_resizable-panes-react&branch=master&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=BipanKishore_resizable-panes-react) + + + [Cypress Recoreded tests are available here](https://cloud.cypress.io/projects/2xc7po/branches/master/overview) ## [Quick Demo](https://bipankishore.github.io/resizable-panes/) From d01e3fd311a3186a35d6a567ef8a737249a5f65b Mon Sep 17 00:00:00 2001 From: BipanKishore <142712498+BipanKishore@users.noreply.github.com> Date: Wed, 8 May 2024 15:46:09 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 011eeea..360eb73 100644 --- a/README.md +++ b/README.md @@ -73,17 +73,15 @@ function App() { GitHub Sponsors -## 👋 Hi there! If you find this project useful or valuable, please consider [Sponsoring Its Development]() or [Buy Me a Coffee]() +## 👋 Hi there! If you find this project useful or valuable do give it star on GitHub or please consider [Sponsoring Its Development]() or [Buy Me a Coffee]() 🚀 By sponsoring, you'll: **Receive Recognition**: -Sponsors will be prominently displayed on the project's README and other relevant documentation([Doc website](https://bipankishore.github.io/resizable-panes-demo/)). +Sponsors will be prominently displayed on the project's README and other relevant documentation. **Influence Roadmap**: Your feedback and suggestions will carry significant weight in shaping the project's future direction and features. -🙏 If You liked this project do give it a star - ## ResizablePanes Props | Prop | Type | Default | Required | Description | @@ -132,7 +130,7 @@ Sponsors will be prominently displayed on the project's README and other relevan | Method | Params | Description | | --------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- | | restore | | It restores the default view of layout. | -| setSize | (paneId: string, size: number, behaviour: ISetSizeBehaviour) | It excepts the positive number. It sets the size of Pane depending upon:
1. Its min and max.
2. min and max of other panes.
type ISetSizeBehaviour = 'ratio' / 'buttomFirst' / 'topFirst'| +| setSize | (paneId: string, size: number,
behaviour: ISetSizeBehaviour) | It excepts the positive number. It sets the size of Pane depending upon:
1. Its min and max.
2. min and max of other panes.
type ISetSizeBehaviour = 'ratio' / 'buttomFirst' / 'topFirst'| | setVisibilities | Object | It sets the visibility of Panes using the Boolean map of id of Panes. | | getSizes | | It returns the size map object of Ids of Panes | | getVisibilities | | It returns the visibility map object of Ids of Panes |