@sio-group/ui-datatable 0.1.6 → 0.1.8
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/CHANGELOG.md +19 -0
- package/dist/index.cjs +6 -5
- package/dist/index.js +6 -5
- package/package.json +4 -4
- package/src/components/ActionCell.tsx +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @sio-group/ui-datatable
|
|
2
2
|
|
|
3
|
+
## 0.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @sio-group/ui-core@0.4.3
|
|
9
|
+
- @sio-group/ui-modal@0.4.6
|
|
10
|
+
- @sio-group/ui-pagination@0.1.4
|
|
11
|
+
|
|
12
|
+
## 0.1.7
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Bug: change dropdown trigger to ui-button
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @sio-group/ui-core@0.4.2
|
|
19
|
+
- @sio-group/ui-modal@0.4.5
|
|
20
|
+
- @sio-group/ui-pagination@0.1.3
|
|
21
|
+
|
|
3
22
|
## 0.1.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -244,12 +244,13 @@ var ActionCell = ({
|
|
|
244
244
|
ref: triggerRef,
|
|
245
245
|
children: [
|
|
246
246
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
247
|
-
|
|
247
|
+
import_ui_core.Button,
|
|
248
248
|
{
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
"
|
|
252
|
-
|
|
249
|
+
type: "button",
|
|
250
|
+
variant: "link",
|
|
251
|
+
ariaLabel: "Acties",
|
|
252
|
+
ariaExpanded: isOpen,
|
|
253
|
+
ariaHaspopup: "menu",
|
|
253
254
|
onClick: () => setIsOpen(!isOpen),
|
|
254
255
|
children: renderMenuIcon ? renderMenuIcon() : "\u22EE"
|
|
255
256
|
}
|
package/dist/index.js
CHANGED
|
@@ -218,12 +218,13 @@ var ActionCell = ({
|
|
|
218
218
|
ref: triggerRef,
|
|
219
219
|
children: [
|
|
220
220
|
/* @__PURE__ */ jsx3(
|
|
221
|
-
|
|
221
|
+
Button,
|
|
222
222
|
{
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
"
|
|
226
|
-
|
|
223
|
+
type: "button",
|
|
224
|
+
variant: "link",
|
|
225
|
+
ariaLabel: "Acties",
|
|
226
|
+
ariaExpanded: isOpen,
|
|
227
|
+
ariaHaspopup: "menu",
|
|
227
228
|
onClick: () => setIsOpen(!isOpen),
|
|
228
229
|
children: renderMenuIcon ? renderMenuIcon() : "\u22EE"
|
|
229
230
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sio-group/ui-datatable",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"react-dom": "^19"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@sio-group/ui-core": "0.4.
|
|
35
|
-
"@sio-group/ui-pagination": "0.1.
|
|
36
|
-
"@sio-group/ui-modal": "0.4.
|
|
34
|
+
"@sio-group/ui-core": "0.4.3",
|
|
35
|
+
"@sio-group/ui-pagination": "0.1.4",
|
|
36
|
+
"@sio-group/ui-modal": "0.4.6"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@vitejs/plugin-react": "^4",
|
|
@@ -63,15 +63,16 @@ export const ActionCell = <T extends { id: string | number }> ({
|
|
|
63
63
|
className="action-dropdown"
|
|
64
64
|
ref={triggerRef}
|
|
65
65
|
>
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
<Button
|
|
67
|
+
type="button"
|
|
68
|
+
variant="link"
|
|
69
|
+
ariaLabel="Acties"
|
|
70
|
+
ariaExpanded={isOpen}
|
|
71
|
+
ariaHaspopup="menu"
|
|
71
72
|
onClick={() => setIsOpen(!isOpen)}
|
|
72
73
|
>
|
|
73
74
|
{renderMenuIcon ? renderMenuIcon() : '⋮'}
|
|
74
|
-
</
|
|
75
|
+
</Button>
|
|
75
76
|
{isOpen && (
|
|
76
77
|
<div
|
|
77
78
|
className="action-dropdown__menu"
|