@simple-table/solid 3.0.7 → 3.0.10

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/README.md CHANGED
@@ -2,11 +2,29 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@simple-table/solid.svg)](https://www.npmjs.com/package/@simple-table/solid)
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@simple-table/solid.svg)](https://www.npmjs.com/package/@simple-table/solid)
5
+ [![GitHub stars](https://img.shields.io/github/stars/petera2c/simple-table.svg)](https://github.com/petera2c/simple-table)
5
6
  [![License](https://img.shields.io/npm/l/@simple-table/solid.svg)](LICENSE)
6
7
 
7
- Solid.js adapter for [Simple Table](https://www.simple-table.com/) a lightweight, high-performance data grid with full Solid component support for all renderers.
8
+ **Simple Table** is the SolidJS data grid and Solid table component for fine-grained reactive UIs: Solid components, JSX, signals-friendly workflows, and full Solid component support for cell renderers, headers, and footers. It is a **lightweight**, **high-performance** data grid with a **simple API**, **completely free features** for qualifying use, and strong TypeScript typings for Solid apps.
8
9
 
9
- ## Installation
10
+ <div align="center">
11
+ <img src="https://github.com/petera2c/simple-table-marketing/blob/main/src/assets/infrastructure-light.png?raw=true" alt="Simple Table Infrastructure Dashboard" width="800" />
12
+ </div>
13
+
14
+ ## Framework Support
15
+
16
+ Simple Table is available for the most popular frameworks:
17
+
18
+ | Framework | Package | Version |
19
+ |-----------|---------|---------|
20
+ | **Vanilla JS** | [`simple-table-core`](https://www.npmjs.com/package/simple-table-core) | [![npm](https://img.shields.io/npm/v/simple-table-core.svg)](https://www.npmjs.com/package/simple-table-core) |
21
+ | **React** | [`@simple-table/react`](https://www.npmjs.com/package/@simple-table/react) | [![npm](https://img.shields.io/npm/v/@simple-table/react.svg)](https://www.npmjs.com/package/@simple-table/react) |
22
+ | **Vue 3** | [`@simple-table/vue`](https://www.npmjs.com/package/@simple-table/vue) | [![npm](https://img.shields.io/npm/v/@simple-table/vue.svg)](https://www.npmjs.com/package/@simple-table/vue) |
23
+ | **Svelte** | [`@simple-table/svelte`](https://www.npmjs.com/package/@simple-table/svelte) | [![npm](https://img.shields.io/npm/v/@simple-table/svelte.svg)](https://www.npmjs.com/package/@simple-table/svelte) |
24
+ | **Solid** | [`@simple-table/solid`](https://www.npmjs.com/package/@simple-table/solid) | [![npm](https://img.shields.io/npm/v/@simple-table/solid.svg)](https://www.npmjs.com/package/@simple-table/solid) |
25
+ | **Angular** | [`@simple-table/angular`](https://www.npmjs.com/package/@simple-table/angular) | [![npm](https://img.shields.io/npm/v/@simple-table/angular.svg)](https://www.npmjs.com/package/@simple-table/angular) |
26
+
27
+ ## Quick Start
10
28
 
11
29
  ```bash
12
30
  npm install @simple-table/solid
@@ -14,23 +32,132 @@ npm install @simple-table/solid
14
32
 
15
33
  **Peer dependencies:** `solid-js >=1.0.0`
16
34
 
17
- ## Features
35
+ **[Follow our Quick Start Guide](https://www.simple-table.com/docs/quick-start)** for step-by-step instructions and live examples.
36
+
37
+ ## Building with Solid
18
38
 
19
39
  - Use Solid components for cell renderers, header renderers, footer renderers, and more
20
40
  - Access the imperative `TableAPI` via a ref callback for sorting, filtering, pagination, export, and more
21
- - All types exported directly no need to install `simple-table-core` separately
41
+ - Types and APIs are exported from this package
42
+
43
+ ## Features
44
+
45
+ ### Column Features
46
+
47
+ - **[Column Sorting](https://www.simple-table.com/docs/column-sorting)** - Sort data by any column with single or multi-column support
48
+ - **[Column Filtering](https://www.simple-table.com/docs/column-filtering)** - Filter data with built-in text, number, and date filters
49
+ - **[Column Resizing](https://www.simple-table.com/docs/column-resizing)** - Drag column borders to resize on the fly
50
+ - **[Column Pinning](https://www.simple-table.com/docs/column-pinning)** - Pin important columns to the left or right
51
+ - **[Column Reordering](https://www.simple-table.com/docs/column-reordering)** - Drag and drop columns to rearrange
52
+ - **[Column Visibility](https://www.simple-table.com/docs/column-visibility)** - Show or hide columns dynamically
53
+ - **[Column Alignment](https://www.simple-table.com/docs/column-alignment)** - Align content left, center, or right
54
+ - **[Column Selection](https://www.simple-table.com/docs/column-selection)** - Select entire columns for bulk operations
55
+ - **[Column Editing](https://www.simple-table.com/docs/column-editing)** - Edit entire columns with custom editors
56
+ - **[Nested Headers](https://www.simple-table.com/docs/nested-headers)** - Create multi-level header hierarchies
57
+ - **[Collapsible Columns](https://www.simple-table.com/docs/collapsible-columns)** - Expand and collapse column groups
58
+
59
+ ### Row Features
60
+
61
+ - **[Row Selection](https://www.simple-table.com/docs/row-selection)** - Select single or multiple rows with checkboxes
62
+ - **[Row Grouping](https://www.simple-table.com/docs/row-grouping)** - Group and organize rows by any column
63
+ - **[Aggregate Functions](https://www.simple-table.com/docs/aggregate-functions)** - Calculate Sum, Average, Count, and more
64
+ - **[Row Height](https://www.simple-table.com/docs/row-height)** - Customize row height for optimal display
65
+
66
+ ### Cell Features
67
+
68
+ - **[Cell Editing](https://www.simple-table.com/docs/cell-editing)** - Edit cells inline with custom editors
69
+ - **[Cell Highlighting](https://www.simple-table.com/docs/cell-highlighting)** - Highlight cells based on conditions
70
+ - **[Cell Renderer](https://www.simple-table.com/docs/cell-renderer)** - Custom cell rendering for any data type
71
+ - **[Cell Clicking](https://www.simple-table.com/docs/cell-clicking)** - Handle cell click events with ease
72
+
73
+ ### Advanced Features
74
+
75
+ - **[Pagination](https://www.simple-table.com/docs/pagination)** - Server-side and client-side pagination support
76
+ - **[Infinite Scroll](https://www.simple-table.com/docs/infinite-scroll)** - Fetch and display data as you scroll
77
+ - **[Live Updates](https://www.simple-table.com/docs/live-updates)** - Real-time data updates and websocket integration
78
+ - **[Header Renderer](https://www.simple-table.com/docs/header-renderer)** - Custom header rendering for advanced layouts
79
+
80
+ ### Customization
81
+
82
+ - **[Themes](https://www.simple-table.com/docs/themes)** - Apply built-in themes or create your own
83
+ - **[Custom Icons](https://www.simple-table.com/docs/custom-icons)** - Replace default icons with your own
84
+
85
+ ## Examples
86
+
87
+ See Simple Table in action across different industries:
88
+
89
+ <div align="center">
90
+
91
+ **[CRM Leads](https://www.simple-table.com/examples/crm)**
92
+
93
+ <br />
94
+ <br />
95
+
96
+ [<img src="https://github.com/petera2c/simple-table-marketing/blob/main/src/assets/crm-light.png?raw=true" alt="CRM Leads" width="800">](https://www.simple-table.com/examples/crm)
97
+
98
+ **[Infrastructure](https://www.simple-table.com/examples/infrastructure)**
22
99
 
23
- ## Documentation
100
+ [<img src="https://github.com/petera2c/simple-table-marketing/blob/main/src/assets/infrastructure-light.png?raw=true" alt="Infrastructure Dashboard" width="800">](https://www.simple-table.com/examples/infrastructure)
24
101
 
25
- - **Quick Start**: [simple-table.com/docs/quick-start](https://www.simple-table.com/docs/quick-start)
26
- - **Full Documentation**: [simple-table.com/docs/installation](https://www.simple-table.com/docs/installation)
27
- - **Examples**: [simple-table.com/examples/crm](https://www.simple-table.com/examples/crm)
102
+ <br />
103
+ <br />
104
+
105
+ **[HR Dashboard](https://www.simple-table.com/examples/hr)**
106
+
107
+ [<img src="https://github.com/petera2c/simple-table-marketing/blob/main/src/assets/HR-dark.png?raw=true" alt="HR Dashboard" width="800">](https://www.simple-table.com/examples/hr)
108
+
109
+ <br />
110
+ <br />
111
+
112
+ **[Manufacturing](https://www.simple-table.com/examples/manufacturing)**
113
+
114
+ [<img src="https://github.com/petera2c/simple-table-marketing/blob/main/src/assets/manufacturing-light.png?raw=true" alt="Manufacturing Dashboard" width="800">](https://www.simple-table.com/examples/manufacturing)
115
+
116
+ </div>
117
+
118
+ ## Resources
119
+
120
+ - **Website**: [simple-table.com](https://www.simple-table.com/)
121
+ - **Documentation**: [Complete Documentation](https://www.simple-table.com/docs/installation)
122
+
123
+ ## Pricing
124
+
125
+ Simple, transparent pricing that never changes based on your revenue or team size:
126
+
127
+ ### FREE - For Individuals & Startups
128
+
129
+ **$0/forever**
130
+
131
+ For side projects and pre-revenue teams. Unlimited users per product license with full access to all core features, built-in themes, TypeScript support, and the MIT License for **zero-revenue** companies only. If your company generates revenue, use Pro or Enterprise.
132
+
133
+ ### PRO - For Growing Businesses
134
+
135
+ **$85/month** or **$850/year** (about 17% less than twelve monthly payments)
136
+
137
+ For revenue-generating companies: priority email and Discord support, bug support for production issues, and the commercial EULA. Unlimited users per product license.
138
+
139
+ ### ENTERPRISE - For teams that need hands-on support
140
+
141
+ **$350/month** or **$3,500/year** (about 17% less than twelve monthly payments)
142
+
143
+ Premium support with faster response times, direct access to core developers, feature request prioritization, and the commercial EULA. Unlimited users per product license.
144
+
145
+ **[View Detailed Pricing](https://www.simple-table.com/pricing)**
28
146
 
29
147
  ## Community & Support
30
148
 
149
+ Join our growing community to ask questions or share feedback:
150
+
31
151
  - **Discord**: [Join us on Discord](https://discord.gg/RvKHCfg3PC)
32
152
  - **GitHub**: [Report bugs or suggest features](https://github.com/petera2c/simple-table/issues)
33
153
 
34
154
  ## License
35
155
 
36
- Dual licensed — MIT for zero-revenue individuals and startups; Pro and Enterprise (commercial EULA) for revenue-generating companies. See [LICENSE](LICENSE), [EULA.txt](../../EULA.txt), and [pricing](https://www.simple-table.com/pricing).
156
+ **Dual Licensed:**
157
+
158
+ - **Free Tier**: MIT License for zero-revenue individuals, startups, and organizations — see [LICENSE](LICENSE)
159
+ - **Pro and Enterprise**: Commercial EULA for revenue-generating companies — see [EULA.txt](../core/EULA.txt)
160
+
161
+ By using Simple Table, you agree to the terms in [EULA.txt](../core/EULA.txt) where applicable.
162
+
163
+ **[View Detailed Pricing & Licensing](https://www.simple-table.com/pricing)**
@@ -22,6 +22,8 @@ export interface TableAPIContext {
22
22
  expandedRows: Map<string, number>;
23
23
  collapsedRows: Map<string, number>;
24
24
  expandedDepths: Set<number>;
25
+ clearExpandedRows: () => void;
26
+ clearCollapsedRows: () => void;
25
27
  rowStateMap: Map<string | number, RowState>;
26
28
  headerRegistry: Map<string, any>;
27
29
  cellRegistry?: Map<string, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simple-table/solid",
3
- "version": "3.0.7",
3
+ "version": "3.0.10",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/types/solid/src/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "solid-js": ">=1.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "simple-table-core": "3.0.7"
31
+ "simple-table-core": "3.0.10"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@babel/preset-typescript": "^7.28.5",