@redis-ui/table 2.4.0 → 2.12.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/dist/Table/Table.cjs +58 -34
- package/dist/Table/Table.d.ts +3 -1
- package/dist/Table/Table.js +60 -36
- package/dist/Table/Table.style.cjs +24 -13
- package/dist/Table/Table.style.d.ts +4 -1
- package/dist/Table/Table.style.js +25 -14
- package/dist/Table/Table.types.d.ts +25 -8
- package/dist/Table/components/EmptyStateRow/EmptyStateRow.cjs +16 -0
- package/dist/Table/components/EmptyStateRow/EmptyStateRow.d.ts +8 -0
- package/dist/Table/components/EmptyStateRow/EmptyStateRow.js +16 -0
- package/dist/Table/components/ExpandRowButton/ExpandRowButton.cjs +1 -0
- package/dist/Table/components/ExpandRowButton/ExpandRowButton.js +1 -0
- package/dist/Table/components/RowSelection/HeaderMultiRowSelectionButton.cjs +29 -0
- package/dist/Table/components/RowSelection/HeaderMultiRowSelectionButton.d.ts +7 -0
- package/dist/Table/components/RowSelection/HeaderMultiRowSelectionButton.js +29 -0
- package/dist/Table/components/RowSelection/HeaderMultiRowSelectionButton.test.d.ts +1 -0
- package/dist/Table/components/RowSelection/RowSelectionButton.cjs +15 -0
- package/dist/Table/components/RowSelection/RowSelectionButton.d.ts +6 -0
- package/dist/Table/components/RowSelection/RowSelectionButton.js +15 -0
- package/dist/Table/components/RowSelection/RowSelectionButton.test.d.ts +1 -0
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.cjs +1 -1
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.js +1 -1
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.style.cjs +2 -2
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.style.js +2 -2
- package/dist/Table/components/TableHeaderCell/TableHeaderCell.cjs +37 -0
- package/dist/Table/components/TableHeaderCell/TableHeaderCell.d.ts +4 -0
- package/dist/Table/components/TableHeaderCell/TableHeaderCell.js +37 -0
- package/dist/Table/components/TableHeaderCell/TableHeaderCell.types.d.ts +13 -0
- package/dist/Table/components/TableHeaderCell/TableHeaderCell.utils.cjs +101 -0
- package/dist/Table/components/TableHeaderCell/TableHeaderCell.utils.d.ts +11 -0
- package/dist/Table/components/TableHeaderCell/TableHeaderCell.utils.js +101 -0
- package/dist/Table/components/TablePagination/TablePagination.cjs +27 -8
- package/dist/Table/components/TablePagination/TablePagination.js +26 -7
- package/dist/Table/components/TablePagination/TablePagination.style.cjs +14 -9
- package/dist/Table/components/TablePagination/TablePagination.style.d.ts +8 -7
- package/dist/Table/components/TablePagination/TablePagination.style.js +14 -9
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +32 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +55 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +37 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +100 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +82 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +24 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +51 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +33 -0
- package/package.json +5 -4
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const React = require("react");
|
|
4
|
+
const index = require("../../react-primitive/dist/index.cjs");
|
|
5
|
+
const jsxRuntime = require("../../../react/jsx-runtime.cjs");
|
|
6
|
+
function _interopNamespace(e) {
|
|
7
|
+
if (e && e.__esModule) return e;
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const React__namespace = /* @__PURE__ */ _interopNamespace(React);
|
|
24
|
+
var NAME = "VisuallyHidden";
|
|
25
|
+
var VisuallyHidden = React__namespace.forwardRef(
|
|
26
|
+
(props, forwardedRef) => {
|
|
27
|
+
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
28
|
+
index.Primitive.span,
|
|
29
|
+
{
|
|
30
|
+
...props,
|
|
31
|
+
ref: forwardedRef,
|
|
32
|
+
style: {
|
|
33
|
+
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
34
|
+
position: "absolute",
|
|
35
|
+
border: 0,
|
|
36
|
+
width: 1,
|
|
37
|
+
height: 1,
|
|
38
|
+
padding: 0,
|
|
39
|
+
margin: -1,
|
|
40
|
+
overflow: "hidden",
|
|
41
|
+
clip: "rect(0, 0, 0, 0)",
|
|
42
|
+
whiteSpace: "nowrap",
|
|
43
|
+
wordWrap: "normal",
|
|
44
|
+
...props.style
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
VisuallyHidden.displayName = NAME;
|
|
51
|
+
exports.VisuallyHidden = VisuallyHidden;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Primitive } from "../../react-primitive/dist/index.js";
|
|
3
|
+
import { j as jsxRuntimeExports } from "../../../react/jsx-runtime.js";
|
|
4
|
+
var NAME = "VisuallyHidden";
|
|
5
|
+
var VisuallyHidden = React.forwardRef(
|
|
6
|
+
(props, forwardedRef) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8
|
+
Primitive.span,
|
|
9
|
+
{
|
|
10
|
+
...props,
|
|
11
|
+
ref: forwardedRef,
|
|
12
|
+
style: {
|
|
13
|
+
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
14
|
+
position: "absolute",
|
|
15
|
+
border: 0,
|
|
16
|
+
width: 1,
|
|
17
|
+
height: 1,
|
|
18
|
+
padding: 0,
|
|
19
|
+
margin: -1,
|
|
20
|
+
overflow: "hidden",
|
|
21
|
+
clip: "rect(0, 0, 0, 0)",
|
|
22
|
+
whiteSpace: "nowrap",
|
|
23
|
+
wordWrap: "normal",
|
|
24
|
+
...props.style
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
VisuallyHidden.displayName = NAME;
|
|
31
|
+
export {
|
|
32
|
+
VisuallyHidden
|
|
33
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redis-ui/table",
|
|
3
|
-
"
|
|
3
|
+
"license": "UNLICENSED",
|
|
4
|
+
"version": "2.12.0",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"publishConfig": {
|
|
6
7
|
"registry": "https://npm.pkg.github.com/"
|
|
@@ -30,9 +31,9 @@
|
|
|
30
31
|
"styled-components": "^5.0.0"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@redis-ui/components": "^
|
|
34
|
-
"@redis-ui/icons": "^
|
|
35
|
-
"@redis-ui/styles": "^
|
|
34
|
+
"@redis-ui/components": "^39.11.0",
|
|
35
|
+
"@redis-ui/icons": "^6.1.0",
|
|
36
|
+
"@redis-ui/styles": "^12.5.0",
|
|
36
37
|
"@tanstack/react-table": "^8.9.8"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|