@redis-ui/table 2.4.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 +173 -0
- package/dist/Table/Table.context.cjs +13 -0
- package/dist/Table/Table.context.d.ts +7 -0
- package/dist/Table/Table.context.js +13 -0
- package/dist/Table/Table.d.ts +7 -0
- package/dist/Table/Table.js +173 -0
- package/dist/Table/Table.style.cjs +63 -0
- package/dist/Table/Table.style.d.ts +14 -0
- package/dist/Table/Table.style.js +61 -0
- package/dist/Table/Table.test.d.ts +1 -0
- package/dist/Table/Table.types.d.ts +31 -0
- package/dist/Table/components/ExpandRowButton/ExpandRowButton.cjs +20 -0
- package/dist/Table/components/ExpandRowButton/ExpandRowButton.d.ts +8 -0
- package/dist/Table/components/ExpandRowButton/ExpandRowButton.js +20 -0
- package/dist/Table/components/ExpandRowButton/ExpandRowButton.test.d.ts +1 -0
- package/dist/Table/components/ShowOnRowHover/ShowOnRowHover.style.cjs +11 -0
- package/dist/Table/components/ShowOnRowHover/ShowOnRowHover.style.d.ts +1 -0
- package/dist/Table/components/ShowOnRowHover/ShowOnRowHover.style.js +9 -0
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.cjs +34 -0
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.d.ts +2 -0
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.js +34 -0
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.cjs +11 -0
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.d.ts +2 -0
- package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.js +9 -0
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.cjs +36 -0
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.d.ts +2 -0
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.js +36 -0
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.style.cjs +15 -0
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.style.d.ts +2 -0
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.style.js +13 -0
- package/dist/Table/components/TableExpandedRow/TableExpandedRow.types.d.ts +9 -0
- package/dist/Table/components/TableExpandedRow/index.d.ts +3 -0
- package/dist/Table/components/TablePagination/TablePagination.cjs +93 -0
- package/dist/Table/components/TablePagination/TablePagination.d.ts +4 -0
- package/dist/Table/components/TablePagination/TablePagination.js +93 -0
- package/dist/Table/components/TablePagination/TablePagination.style.cjs +60 -0
- package/dist/Table/components/TablePagination/TablePagination.style.d.ts +50 -0
- package/dist/Table/components/TablePagination/TablePagination.style.js +58 -0
- package/dist/Table/components/TablePagination/TablePagination.test.d.ts +1 -0
- package/dist/Table/index.d.ts +8 -0
- package/dist/_virtual/jsx-runtime.cjs +4 -0
- package/dist/_virtual/jsx-runtime.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.cjs +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.cjs +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
- package/dist/index.cjs +8 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +36 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +18 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +32 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +63 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +45 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.cjs +123 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +106 -0
- package/dist/node_modules/@tanstack/table-core/build/lib/index.cjs +2816 -0
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +2816 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +902 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +900 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +35 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +33 -0
- package/dist/node_modules/react/jsx-runtime.cjs +12 -0
- package/dist/node_modules/react/jsx-runtime.js +12 -0
- package/package.json +42 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const reactJsxRuntime_production_min = require("../../../_virtual/react-jsx-runtime.production.min.cjs");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
6
|
+
const React__default = /* @__PURE__ */ _interopDefault(React);
|
|
7
|
+
/**
|
|
8
|
+
* @license React
|
|
9
|
+
* react-jsx-runtime.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
var hasRequiredReactJsxRuntime_production_min;
|
|
17
|
+
function requireReactJsxRuntime_production_min() {
|
|
18
|
+
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min.__exports;
|
|
19
|
+
hasRequiredReactJsxRuntime_production_min = 1;
|
|
20
|
+
var f = React__default.default, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
|
|
21
|
+
function q(c, a, g) {
|
|
22
|
+
var b, d = {}, e = null, h = null;
|
|
23
|
+
void 0 !== g && (e = "" + g);
|
|
24
|
+
void 0 !== a.key && (e = "" + a.key);
|
|
25
|
+
void 0 !== a.ref && (h = a.ref);
|
|
26
|
+
for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
|
27
|
+
if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
|
|
28
|
+
return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
|
|
29
|
+
}
|
|
30
|
+
reactJsxRuntime_production_min.__exports.Fragment = l;
|
|
31
|
+
reactJsxRuntime_production_min.__exports.jsx = q;
|
|
32
|
+
reactJsxRuntime_production_min.__exports.jsxs = q;
|
|
33
|
+
return reactJsxRuntime_production_min.__exports;
|
|
34
|
+
}
|
|
35
|
+
exports.__require = requireReactJsxRuntime_production_min;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __exports as reactJsxRuntime_production_min } from "../../../_virtual/react-jsx-runtime.production.min.js";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var hasRequiredReactJsxRuntime_production_min;
|
|
13
|
+
function requireReactJsxRuntime_production_min() {
|
|
14
|
+
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
15
|
+
hasRequiredReactJsxRuntime_production_min = 1;
|
|
16
|
+
var f = React__default, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
|
|
17
|
+
function q(c, a, g) {
|
|
18
|
+
var b, d = {}, e = null, h = null;
|
|
19
|
+
void 0 !== g && (e = "" + g);
|
|
20
|
+
void 0 !== a.key && (e = "" + a.key);
|
|
21
|
+
void 0 !== a.ref && (h = a.ref);
|
|
22
|
+
for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
|
23
|
+
if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
|
|
24
|
+
return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
|
|
25
|
+
}
|
|
26
|
+
reactJsxRuntime_production_min.Fragment = l;
|
|
27
|
+
reactJsxRuntime_production_min.jsx = q;
|
|
28
|
+
reactJsxRuntime_production_min.jsxs = q;
|
|
29
|
+
return reactJsxRuntime_production_min;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
requireReactJsxRuntime_production_min as __require
|
|
33
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("../../_virtual/jsx-runtime.cjs");
|
|
4
|
+
const reactJsxRuntime_production_min = require("./cjs/react-jsx-runtime.production.min.cjs");
|
|
5
|
+
const reactJsxRuntime_development = require("./cjs/react-jsx-runtime.development.cjs");
|
|
6
|
+
if (process.env.NODE_ENV === "production") {
|
|
7
|
+
jsxRuntime.__module.exports = reactJsxRuntime_production_min.__require();
|
|
8
|
+
} else {
|
|
9
|
+
jsxRuntime.__module.exports = reactJsxRuntime_development.__require();
|
|
10
|
+
}
|
|
11
|
+
var jsxRuntimeExports = jsxRuntime.__module.exports;
|
|
12
|
+
exports.jsxRuntimeExports = jsxRuntimeExports;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __module as jsxRuntime } from "../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { __require as requireReactJsxRuntime_production_min } from "./cjs/react-jsx-runtime.production.min.js";
|
|
3
|
+
import { __require as requireReactJsxRuntime_development } from "./cjs/react-jsx-runtime.development.js";
|
|
4
|
+
if (process.env.NODE_ENV === "production") {
|
|
5
|
+
jsxRuntime.exports = requireReactJsxRuntime_production_min();
|
|
6
|
+
} else {
|
|
7
|
+
jsxRuntime.exports = requireReactJsxRuntime_development();
|
|
8
|
+
}
|
|
9
|
+
var jsxRuntimeExports = jsxRuntime.exports;
|
|
10
|
+
export {
|
|
11
|
+
jsxRuntimeExports as j
|
|
12
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@redis-ui/table",
|
|
3
|
+
"version": "2.4.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://npm.pkg.github.com/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "git@github.com:redislabsdev/redis-ui.git",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"module": "./dist/index.js",
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "vite build",
|
|
23
|
+
"deploy": "node ../../scripts/deploy.js",
|
|
24
|
+
"lint": "eslint ./ --color --max-warnings=0",
|
|
25
|
+
"test": "vitest test"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
29
|
+
"react-dom": "^17.0.0 || ^18.0.0",
|
|
30
|
+
"styled-components": "^5.0.0"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@redis-ui/components": "^38.0.0",
|
|
34
|
+
"@redis-ui/icons": "^4.3.0",
|
|
35
|
+
"@redis-ui/styles": "^11.0.2",
|
|
36
|
+
"@tanstack/react-table": "^8.9.8"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@redislabsdev/eslint-config-redis-ui": "^2.0.0",
|
|
40
|
+
"@types/styled-components": "^5.1.26"
|
|
41
|
+
}
|
|
42
|
+
}
|