@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.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { DateRange } from 'react-day-picker';
|
|
|
10
10
|
import { ContainerProps, RowProps, ColProps } from 'react-grid-system';
|
|
11
11
|
import { TableProps as TableProps$1, Direction as Direction$1, Alignment as Alignment$1 } from 'react-data-table-component';
|
|
12
12
|
import { Props as Props$r } from 'react-select';
|
|
13
|
+
import { SemanticColor as SemanticColor$1 } from 'src/types';
|
|
13
14
|
|
|
14
15
|
declare const GlobalStyles: () => react_jsx_runtime.JSX.Element;
|
|
15
16
|
|
|
@@ -901,7 +902,7 @@ type TableProps<T> = Omit<TableProps$1<T>, 'disabled' | 'progressPending' | 'dir
|
|
|
901
902
|
};
|
|
902
903
|
|
|
903
904
|
type PillSize = 'sm' | 'md' | 'lg';
|
|
904
|
-
type PillColor = SemanticColor | 'neutral';
|
|
905
|
+
type PillColor = SemanticColor$1 | 'neutral';
|
|
905
906
|
interface PillProps {
|
|
906
907
|
children: React$1.ReactNode | React$1.ReactNode[];
|
|
907
908
|
color?: PillColor;
|
package/lib/index.esm.js
CHANGED
|
@@ -21112,7 +21112,7 @@ function FloatUI({ children, ariaLabel, isOpen: controlledIsOpen, setIsOpen: con
|
|
|
21112
21112
|
reference: referenceElementRef.current,
|
|
21113
21113
|
} }, floatingOptions));
|
|
21114
21114
|
useClickOutside(floatUIContentRef, () => setIsOpen(false));
|
|
21115
|
-
return (jsxs(
|
|
21115
|
+
return (jsxs(Fragment, { children: [jsx("div", { ref: referenceElementRef, onClick: () => setIsOpen(!isOpen), children: trigger }), isOpen && (jsx("div", {
|
|
21116
21116
|
// Used to position the floating element relative to the reference element
|
|
21117
21117
|
ref: refs.setFloating, style: {
|
|
21118
21118
|
position: strategy,
|