diff --git a/README.md b/README.md index 5c83c18a..cc03fa36 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ -# ReactGrid - Spreadsheet experience for your React app +Sample app
ReactGrid is an open-source React component for displaying and editing data in a spreadsheet-like way. 🚀 [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/silevis/reactgrid/blob/develop/LICENSE) -[![Build Status](https://dev.azure.com/Silevis/ReactGrid/_apis/build/status/GitHub-MIT/Upgrade%20version%20and%20publish?branchName=master)](https://dev.azure.com/Silevis/ReactGrid/_build/latest?definitionId=17&branchName=master) [![reactgrid](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/simple/hwrqiy&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/hwrqiy/runs) -[![npm version](https://badge.fury.io/js/%40silevis%2Freactgrid.svg)](https://badge.fury.io/js/%40silevis%2Freactgrid) Sample app @@ -17,39 +15,31 @@ If you like our work, please give this project a star ⭐
  -Prerequisites: +# Check out the new v5-alpha version -- react: `16.13.1` || `17.0.0` `18.2.0` -- react-dom: `16.13.1` || `17.0.0` || `18.2.0` +🌐 [Visit our new Website](https://silevis.github.io/reactgrid/) +📚 [Dive into the Documentation](https://silevis.github.io/reactgrid/docs/5.0/1-getting-started) to get started quickly and easily. +# Features - - -# Docs - -- [Demo](https://reactgrid.com/examples/?utm_source=github&utm_medium=readme) -- [Get started](https://reactgrid.com/docs/4.0/1-getting-started/?utm_source=github&utm_medium=readme) -- [Documentation](https://reactgrid.com/docs/4.0/0-introduction/?utm_source=github&utm_medium=readme) -- [API Reference](https://reactgrid.com/docs/4.0/7-api/?utm_source=github&utm_medium=readme) - -# Browser support - -| [Edge](http://godban.github.io/browsers-support-badges/)
Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | [iOS Safari](http://godban.github.io/browsers-support-badges/)
iOS/iPadOs Safari | [Samsung](http://godban.github.io/browsers-support-badges/)
Samsung internet | [Opera](http://godban.github.io/browsers-support-badges/)
Opera | -| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | -| 80+ | 61+ | 57+ | 13.1+ | 13+ | 9+ | 45+ | +- Handling data changes +- Column resizing +- Column and row reordering +- Sticky rows and columns +- Keyboard shortcuts +- Spanned cells +- Range selection +- Fill handle +- Styled ranges +- Custom styling +- Custom cell types +- Customizable behaviors +- API hook that allows you to interact with a ReactGrid # Licensing -ReactGrid is published under the MIT License (MIT). - -(c) 2024 Silevis Software Sp. z o.o. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +ReactGrid is published under the [MIT License](./LICENSE). # Authors diff --git a/package-lock.json b/package-lock.json index 26f477e1..4d1c0bd1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@silevis/reactgrid", - "version": "4.1.10-rc.0", + "version": "4.1.10", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index fdd3117c..18eb6024 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@silevis/reactgrid", "description": "Add spreadsheet-like behavior to your React app.", - "version": "4.1.10", + "version": "4.1.11", "homepage": "https://reactgrid.com", "license": "MIT", "author": "Silevis Software", diff --git a/public/rg-banner.png b/public/rg-banner.png new file mode 100644 index 00000000..3f79f877 Binary files /dev/null and b/public/rg-banner.png differ diff --git a/src/default-colors.scss b/src/default-colors.scss index 7167c5bf..bfe9bcdc 100644 --- a/src/default-colors.scss +++ b/src/default-colors.scss @@ -1,3 +1,5 @@ +@use "sass:color"; + // COLORS $primary-color: #3579f8 !default; $bg-color: #ffffff !default; @@ -19,10 +21,7 @@ $checkbox-mark: #ffffff !default; $rg-content-text-color: #000000 !default; $cell-text-color: #000000 !default; -$dropdown-focused-item-bg-color: lighten( - $color: $primary-color, - $amount: 35, -) !default; +$dropdown-focused-item-bg-color: color.scale($primary-color, $lightness: 92.96875%) !default; $dropdown-menu-bg-color: #ffffff !default; // SHADOWS @@ -41,4 +40,4 @@ $opacity-20: 0.2 !default; $opacity-15: 0.15 !default; $opacity-10: 0.1 !default; $opacity-06: 0.06 !default; -$opacity-01: 0.01 !default; +$opacity-01: 0.01 !default; \ No newline at end of file diff --git a/src/main.scss b/src/main.scss index a2ed233a..1e662d27 100644 --- a/src/main.scss +++ b/src/main.scss @@ -1,3 +1,5 @@ +@use "sass:color"; + .rg-copy-container[contenteditable] { -webkit-user-select: text; user-select: text; @@ -195,7 +197,7 @@ cursor: pointer; &:hover { - background-color: darken($main-bg-color, 5); + background-color: color.scale($main-bg-color, $lightness: -5%); } } }