gridjs-spreadsheet 25.2.0 → 25.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridjs-spreadsheet",
3
- "version": "25.2.0",
3
+ "version": "25.4.0",
4
4
  "description": "this is the client side script for GridJs which is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs based on JSON format.",
5
5
  "types": "index.d.ts",
6
6
  "main": "xspreadsheet.js",
package/readme.md CHANGED
@@ -313,6 +313,20 @@ v25.1:
313
313
 
314
314
  - support copy/paste from MS-Excel
315
315
 
316
+ v25.2:
317
+
318
+ - support copy/paste from MS-Excel
319
+ - enhancement for automatic operations for user’s convenience, such as extending blank row/column, page scrolling, …
320
+
321
+ v25.3:
322
+
323
+ - support more shotcut keys
324
+ - support pasting the content copied from excel to multiple target areas
325
+
326
+ v25.4:
327
+
328
+ - support show statistics information in the lower right corner when cells are selected
329
+
316
330
  ## License
317
331
 
318
332
  MIT
package/xspreadsheet.css CHANGED
@@ -656,6 +656,8 @@ body {
656
656
  .x-spreadsheet-bottombar {
657
657
  position: relative;
658
658
  border-top: 1px solid #e0e2e4;
659
+ display: flex;
660
+ justify-content: space-between;
659
661
  }
660
662
  .x-spreadsheet-bottombar .x-spreadsheet-menu > li {
661
663
  line-height: 40px;
@@ -665,6 +667,24 @@ body {
665
667
  vertical-align: middle;
666
668
  border-right: 1px solid #e8eaed;
667
669
  }
670
+ .x-spreadsheet-bottombar .x-spreadsheet-stats {
671
+ border-left: 1px solid #e0e2e4;
672
+ padding: 0 10px;
673
+ height: 40px;
674
+ display: flex;
675
+ align-items: center;
676
+ color: #666;
677
+ font-size: 12px;
678
+ overflow: hidden;
679
+ }
680
+ .x-spreadsheet-bottombar .x-spreadsheet-stat-item {
681
+ margin-right: 12px;
682
+ white-space: nowrap;
683
+ }
684
+ .x-spreadsheet-bottombar [class^="x-spreadsheet-stat-value-"] {
685
+ font-weight: bold;
686
+ color: #333;
687
+ }
668
688
  .x-spreadsheet-menu {
669
689
  list-style: none;
670
690
  margin: 0;
@@ -1835,6 +1855,34 @@ input[type=number]::-webkit-outer-spin-button {
1835
1855
  border-top: none;
1836
1856
  flex: 1;
1837
1857
  }
1858
+ .x-spreadsheet-selector-dropdown-button {
1859
+ position: absolute;
1860
+ width: 24px;
1861
+ height: 18px;
1862
+ background-color: rgba(224, 224, 224, 0.32);
1863
+ border: 1px solid #ccc;
1864
+ border-radius: 3px;
1865
+ display: flex;
1866
+ justify-content: center;
1867
+ align-items: center;
1868
+ cursor: pointer;
1869
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
1870
+ transition: background-color 0.2s;
1871
+ z-index: 1000;
1872
+ }
1873
+ .x-spreadsheet-hover-highlight {
1874
+ background-color: rgba(75, 137, 255, 0.1);
1875
+ position: absolute;
1876
+ }
1877
+ .x-spreadsheet-selector-dropdown-button:hover {
1878
+ background-color: #d5d5d5;
1879
+ }
1880
+ .x-spreadsheet-selector-dropdown-button::after {
1881
+ content: '';
1882
+ border-left: 4px solid transparent;
1883
+ border-right: 4px solid transparent;
1884
+ border-top: 6px solid #777;
1885
+ }
1838
1886
  .x-spreadsheet-bar-label {
1839
1887
  flex: 0 0 auto;
1840
1888
  display: inline-block;