@sequenceholdings/atlas-ui 1.0.0 → 2.0.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/index.d.ts +25 -6
- package/dist/index.mjs +1996 -1994
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1661,11 +1661,9 @@ export declare interface GenericAvatarProps {
|
|
|
1661
1661
|
className?: string;
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
*/
|
|
1668
|
-
export declare function heatColor(value: number, min: number, max: number): string | undefined;
|
|
1664
|
+
export declare function heatCellStyle(value: number, min: number, max: number): {
|
|
1665
|
+
backgroundColor: string;
|
|
1666
|
+
} | undefined;
|
|
1669
1667
|
|
|
1670
1668
|
/**
|
|
1671
1669
|
* Sortable, paginated table with heat-colored numeric cells.
|
|
@@ -1878,7 +1876,7 @@ declare interface MetricGridProps {
|
|
|
1878
1876
|
className?: string;
|
|
1879
1877
|
}
|
|
1880
1878
|
|
|
1881
|
-
export declare function MultiSelect({ label, countLabel, options, selected, onChange, searchPlaceholder, emptyMessage, maxStackedIcons, hideWhenEmpty, className, }: MultiSelectProps): JSX.Element | null;
|
|
1879
|
+
export declare function MultiSelect({ label, countLabel, options, selected, onChange, searchPlaceholder, emptyMessage, maxStackedIcons, hideWhenEmpty, modal, className, }: MultiSelectProps): JSX.Element | null;
|
|
1882
1880
|
|
|
1883
1881
|
/**
|
|
1884
1882
|
* Fields shared by `MultiSelect` (trigger + popover) and the standalone
|
|
@@ -1995,6 +1993,27 @@ declare interface MultiSelectProps extends MultiSelectCoreProps {
|
|
|
1995
1993
|
* that hasn't loaded yet).
|
|
1996
1994
|
*/
|
|
1997
1995
|
hideWhenEmpty?: boolean;
|
|
1996
|
+
/**
|
|
1997
|
+
* Render the popover as a modal layer. Pass `true` when the MultiSelect
|
|
1998
|
+
* lives inside a Dialog.
|
|
1999
|
+
*
|
|
2000
|
+
* A Dialog scroll-locks the page with react-remove-scroll, allowing wheel
|
|
2001
|
+
* events only within the dialog's own content subtree. This popover portals
|
|
2002
|
+
* to the body, so it sits outside that subtree and the lock swallows every
|
|
2003
|
+
* wheel event over the option list — the list is a real scroll container
|
|
2004
|
+
* (`max-h-[300px] overflow-y-auto`) but cannot be scrolled, stranding every
|
|
2005
|
+
* option past the ~7th. Radix `Select` is unaffected because it implements
|
|
2006
|
+
* its own scrolling rather than relying on native overflow.
|
|
2007
|
+
*
|
|
2008
|
+
* Modal mode gives the popover its own scroll lock. react-remove-scroll
|
|
2009
|
+
* keeps a stack of locks with only the innermost active, so the popover's
|
|
2010
|
+
* lock supersedes the dialog's and allows wheel within the popover.
|
|
2011
|
+
*
|
|
2012
|
+
* Defaults to `false` because modal mode also traps focus and blocks outside
|
|
2013
|
+
* pointer events — in a filter toolbar that breaks clicking straight from one
|
|
2014
|
+
* open facet to the next, which is the dominant use of this component.
|
|
2015
|
+
*/
|
|
2016
|
+
modal?: boolean;
|
|
1998
2017
|
className?: string;
|
|
1999
2018
|
}
|
|
2000
2019
|
|