@sio-group/ui-datatable 0.1.5 → 0.1.7

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @sio-group/ui-datatable
2
2
 
3
+ ## 0.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Bug: change dropdown trigger to ui-button
8
+ - Updated dependencies
9
+ - @sio-group/ui-core@0.4.2
10
+ - @sio-group/ui-modal@0.4.5
11
+ - @sio-group/ui-pagination@0.1.3
12
+
13
+ ## 0.1.6
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+ - @sio-group/ui-core@0.4.1
19
+ - @sio-group/ui-modal@0.4.4
20
+ - @sio-group/ui-pagination@0.1.2
21
+
3
22
  ## 0.1.5
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
- "button",
247
+ import_ui_core.Button,
248
248
  {
249
- className: "btn--link btn--default",
250
- "aria-label": "Acties",
251
- "aria-expanded": isOpen,
252
- "aria-haspopup": "menu",
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
- "button",
221
+ Button,
222
222
  {
223
- className: "btn--link btn--default",
224
- "aria-label": "Acties",
225
- "aria-expanded": isOpen,
226
- "aria-haspopup": "menu",
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.5",
3
+ "version": "0.1.7",
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.0",
35
- "@sio-group/ui-pagination": "0.1.1",
36
- "@sio-group/ui-modal": "0.4.3"
34
+ "@sio-group/ui-core": "0.4.2",
35
+ "@sio-group/ui-pagination": "0.1.3",
36
+ "@sio-group/ui-modal": "0.4.5"
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
- <button
67
- className="btn--link btn--default"
68
- aria-label="Acties"
69
- aria-expanded={isOpen}
70
- aria-haspopup="menu"
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
- </button>
75
+ </Button>
75
76
  {isOpen && (
76
77
  <div
77
78
  className="action-dropdown__menu"