@helpdice/ui 2.6.0-beta.9 → 2.6.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/container/index.js +655 -8
- package/dist/expandable/index.js +1496 -10
- package/dist/index.js +1 -2
- package/esm/expandable/expand.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,6 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var icons = require('@helpdice/icons');
|
|
7
7
|
var framerMotion = require('framer-motion');
|
|
8
8
|
var reactDom = require('react-dom');
|
|
9
|
-
var Button$1 = require('components/button');
|
|
10
9
|
var reactDom$1 = require('@floating-ui/react-dom');
|
|
11
10
|
var pro = require('@helpdice/pro');
|
|
12
11
|
var reactSyntaxHighlighter = require('react-syntax-highlighter');
|
|
@@ -13477,7 +13476,7 @@ var Expandable = function Expandable(_ref) {
|
|
|
13477
13476
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
13478
13477
|
style: fadeStyle
|
|
13479
13478
|
})]
|
|
13480
|
-
}), isOverflowing && /*#__PURE__*/jsxRuntime.jsx(Button
|
|
13479
|
+
}), isOverflowing && /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
13481
13480
|
"aria-expanded": expanded,
|
|
13482
13481
|
onKeyDown: handleKey,
|
|
13483
13482
|
margin: 0,
|
package/esm/expandable/expand.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
|
-
import Button from "
|
|
2
|
+
import Button from "../button";
|
|
3
3
|
import React, { useEffect, useRef, useState } from "react";
|
|
4
4
|
var Expandable = function Expandable(_ref) {
|
|
5
5
|
var children = _ref.children,
|