@nsaa/data-table 0.0.0-stage → 0.1.0-alpha.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/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Orim Studio
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ ---
24
+
25
+ This licence covers the free packages in this repository. The Pro package
26
+ (`packages/blocks`, when it exists) ships under its own commercial licence,
27
+ stated in that folder. Third-party code adapted into Nsaa keeps its original
28
+ notice in the file header; colour scales come from Radix Colors (MIT).
package/NOTICE ADDED
@@ -0,0 +1,154 @@
1
+ Nsaa
2
+ Copyright (c) 2026 Orim Studio. Licensed under the MIT License (see LICENSE).
3
+
4
+ This product includes code from the projects below. Their notices follow, as their licences require.
5
+ Runtime dependencies that are not copied in (Base UI, cmdk, input-otp, UISFX, ...) carry their own
6
+ licences in their packages; THIRD_PARTY.md lists every source.
7
+
8
+ -------------------------------------------------------------------------------
9
+ loading.dev (https://github.com/jakubkrehel/loading), pinned at
10
+ 755235bf7eea3dfb05ec4c3661088e3521ee2d75. Used in packages/core/src/loaders (vendored).
11
+
12
+ MIT License
13
+
14
+ Copyright (c) 2026 Jakub Krehel
15
+
16
+ Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ of this software and associated documentation files (the "Software"), to deal
18
+ in the Software without restriction, including without limitation the rights
19
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ copies of the Software, and to permit persons to whom the Software is
21
+ furnished to do so, subject to the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be included in all
24
+ copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
+ SOFTWARE.
33
+
34
+ -------------------------------------------------------------------------------
35
+ Loading UI (https://github.com/turbostarter/loading-ui), pinned at
36
+ d78e09e09f9963ae87974593784a4948f612f80d. Rebuilt in packages/core/src/loaders/text.
37
+
38
+ MIT License
39
+
40
+ Copyright (c) 2026 Bartosz Zagrodzki
41
+
42
+ Permission is hereby granted, free of charge, to any person obtaining a copy
43
+ of this software and associated documentation files (the "Software"), to deal
44
+ in the Software without restriction, including without limitation the rights
45
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46
+ copies of the Software, and to permit persons to whom the Software is
47
+ furnished to do so, subject to the following conditions:
48
+
49
+ The above copyright notice and this permission notice shall be included in all
50
+ copies or substantial portions of the Software.
51
+
52
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
55
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
+ SOFTWARE.
59
+
60
+ -------------------------------------------------------------------------------
61
+ shadcn/ui (https://github.com/shadcn-ui/ui), style base-nova. Adapted in
62
+ packages/core/src (the base-nova components), packages/data-table/src/ui and registry/.
63
+
64
+ MIT License
65
+
66
+ Copyright (c) 2023 shadcn
67
+
68
+ Permission is hereby granted, free of charge, to any person obtaining a copy
69
+ of this software and associated documentation files (the "Software"), to deal
70
+ in the Software without restriction, including without limitation the rights
71
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
+ copies of the Software, and to permit persons to whom the Software is
73
+ furnished to do so, subject to the following conditions:
74
+
75
+ The above copyright notice and this permission notice shall be included in all
76
+ copies or substantial portions of the Software.
77
+
78
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
84
+ SOFTWARE.
85
+
86
+ -------------------------------------------------------------------------------
87
+ ReUI (https://github.com/keenthemes/reui), free repository, v2.8.1. Adapted in
88
+ packages/data-table/src/reui and packages/data-table/src/transactions.example.tsx.
89
+
90
+ MIT License
91
+
92
+ Copyright (c) 2025 Keenthemes Inc.
93
+
94
+ Permission is hereby granted, free of charge, to any person obtaining a copy
95
+ of this software and associated documentation files (the "Software"), to deal
96
+ in the Software without restriction, including without limitation the rights
97
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
98
+ copies of the Software, and to permit persons to whom the Software is
99
+ furnished to do so, subject to the following conditions:
100
+
101
+ The above copyright notice and this permission notice shall be included in all
102
+ copies or substantial portions of the Software.
103
+
104
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
105
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
106
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
107
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
108
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
109
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
110
+ SOFTWARE.
111
+
112
+ -------------------------------------------------------------------------------
113
+ Lucide (https://lucide.dev). Icons inlined in packages/core/src (check, chevrons, x
114
+ and others). Some of these icons derive from Feather; its MIT notice follows.
115
+
116
+ ISC License
117
+
118
+ Copyright (c) 2026 Lucide Icons and Contributors
119
+
120
+ Permission to use, copy, modify, and/or distribute this software for any
121
+ purpose with or without fee is hereby granted, provided that the above
122
+ copyright notice and this permission notice appear in all copies.
123
+
124
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
125
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
126
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
127
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
128
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
129
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
130
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
131
+
132
+ Feather (https://github.com/feathericons/feather), for the Lucide icons derived from it.
133
+
134
+ The MIT License (MIT)
135
+
136
+ Copyright (c) 2013-present Cole Bemis
137
+
138
+ Permission is hereby granted, free of charge, to any person obtaining a copy
139
+ of this software and associated documentation files (the "Software"), to deal
140
+ in the Software without restriction, including without limitation the rights
141
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
142
+ copies of the Software, and to permit persons to whom the Software is
143
+ furnished to do so, subject to the following conditions:
144
+
145
+ The above copyright notice and this permission notice shall be included in all
146
+ copies or substantial portions of the Software.
147
+
148
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
149
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
150
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
151
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
152
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
153
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
154
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,29 @@
1
- # Temporary Holding Version
1
+ # @nsaa/data-table (Baseline)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The ReUI Data Grid (MIT, Copyright (c) 2025 Keenthemes Inc) on Nsaa tokens (#89): TanStack Table v9,
4
+ sorting, filters, pagination, row and column pinning, resizing, column and row drag and drop,
5
+ virtualisation and spreadsheet-style cell selection.
6
+
7
+ Baseline means the code is ReUI's as published, apart from imports: Button, Checkbox, Input,
8
+ Separator and `cn` come from `@nsaa/core`; the other shadcn parts it needs (dropdown menu, popover,
9
+ select, skeleton, spinner) are private in `src/ui` until core has them. Pinned versions are in
10
+ `package.json`; the ReUI version is in `THIRD_PARTY.md`.
11
+
12
+ ```tsx
13
+ import { DataGrid, DataGridContainer, DataGridTable, dataGridFeatures } from "@nsaa/data-table";
14
+ ```
15
+
16
+ See `src/transactions.example.tsx` for a complete setup, and add the package to Tailwind's sources
17
+ (`@source "../node_modules/@nsaa/data-table/dist";`).
18
+
19
+ ## Before promotion to Nsaa
20
+
21
+ - Reduced motion: drag and drop transitions and the skeleton shimmer have none.
22
+ - Colours: a few raw palette classes and rgba shadows; `zIndex` values instead of layer tokens.
23
+ - Mobile layout (#63): stacked rows or a sticky first column.
24
+ - Accessibility review. Lint findings switched off for the vendored folders (`biome.json`,
25
+ `eslint.config.js`): `aria-hidden` on focusable elements (table, virtual table), an
26
+ `aria-multiselectable` on a role that doesn't support it, `autoFocus` in cell editing, SVGs without
27
+ titles, `role` where a semantic element exists, React Compiler ref and effect rules, hook
28
+ dependencies, `any`.
29
+ - Spec, Figma, `review-animations` and `interface-review`, as for every Nsaa component.