@indico-data/design-system 2.28.0 → 2.28.2
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/lib/index.d.ts +2 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/src/components/pill/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/floatUI/FloatUI.tsx +2 -2
- package/src/components/pill/types.ts +1 -1
package/lib/index.js
CHANGED
|
@@ -21137,7 +21137,7 @@ function FloatUI({ children, ariaLabel, isOpen: controlledIsOpen, setIsOpen: con
|
|
|
21137
21137
|
reference: referenceElementRef.current,
|
|
21138
21138
|
} }, floatingOptions));
|
|
21139
21139
|
useClickOutside(floatUIContentRef, () => setIsOpen(false));
|
|
21140
|
-
return (jsxRuntime.jsxs(
|
|
21140
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { ref: referenceElementRef, onClick: () => setIsOpen(!isOpen), children: trigger }), isOpen && (jsxRuntime.jsx("div", {
|
|
21141
21141
|
// Used to position the floating element relative to the reference element
|
|
21142
21142
|
ref: refs.setFloating, style: {
|
|
21143
21143
|
position: strategy,
|