@helpdice/ui 2.5.8 → 2.5.9
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/index.js +1 -2
- package/dist/table/index.js +1 -2
- package/esm/table/table.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8,7 +8,6 @@ var framerMotion = require('framer-motion');
|
|
|
8
8
|
var reactDom = require('react-dom');
|
|
9
9
|
var reactDom$1 = require('@floating-ui/react-dom');
|
|
10
10
|
var pro = require('@helpdice/pro');
|
|
11
|
-
var Loading$1 = require('components/loading');
|
|
12
11
|
var reactSyntaxHighlighter = require('react-syntax-highlighter');
|
|
13
12
|
var prism = require('react-syntax-highlighter/dist/cjs/styles/prism');
|
|
14
13
|
var require$$0 = require('react-is');
|
|
@@ -36364,7 +36363,7 @@ function TableComponent(tableProps) {
|
|
|
36364
36363
|
readOnly: readOnly,
|
|
36365
36364
|
onSelected: onSelected
|
|
36366
36365
|
}), children]
|
|
36367
|
-
})), loading === "default" && isLoading ? /*#__PURE__*/jsxRuntime.jsx(Loading
|
|
36366
|
+
})), loading === "default" && isLoading ? /*#__PURE__*/jsxRuntime.jsx(Loading, {}) : data.length == 0 && /*#__PURE__*/jsxRuntime.jsx(Placeholder, {
|
|
36368
36367
|
empty: true,
|
|
36369
36368
|
textOnly: textPlaceholder,
|
|
36370
36369
|
msg: "No Data to show"
|
package/dist/table/index.js
CHANGED
|
@@ -8,7 +8,6 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
8
8
|
var reactDom = require('react-dom');
|
|
9
9
|
var pro = require('@helpdice/pro');
|
|
10
10
|
var icons = require('@helpdice/icons');
|
|
11
|
-
var Loading$1 = require('components/loading');
|
|
12
11
|
|
|
13
12
|
function _arrayLikeToArray(r, a) {
|
|
14
13
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -24195,7 +24194,7 @@ function TableComponent(tableProps) {
|
|
|
24195
24194
|
readOnly: readOnly,
|
|
24196
24195
|
onSelected: onSelected
|
|
24197
24196
|
}), children]
|
|
24198
|
-
})), loading === "default" && isLoading ? /*#__PURE__*/jsxRuntime.jsx(Loading
|
|
24197
|
+
})), loading === "default" && isLoading ? /*#__PURE__*/jsxRuntime.jsx(Loading, {}) : data.length == 0 && /*#__PURE__*/jsxRuntime.jsx(Placeholder, {
|
|
24199
24198
|
empty: true,
|
|
24200
24199
|
textOnly: textPlaceholder,
|
|
24201
24200
|
msg: "No Data to show"
|
package/esm/table/table.js
CHANGED
|
@@ -20,7 +20,7 @@ import Button from '../button';
|
|
|
20
20
|
import Tooltip from '../tooltip';
|
|
21
21
|
import Placeholder from '../placeholder';
|
|
22
22
|
import { useTheme } from '@helpdice/theme';
|
|
23
|
-
import Loading from '
|
|
23
|
+
import Loading from '../loading';
|
|
24
24
|
function TableComponent(tableProps) {
|
|
25
25
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
26
26
|
var _ref = tableProps,
|