@sequenceholdings/atlas-ui 2.0.1 → 3.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.
@@ -1743,6 +1743,7 @@ var M = (e, t) => {
1743
1743
  "control",
1744
1744
  "badge",
1745
1745
  "field",
1746
+ "surface-inset",
1746
1747
  "surface-nested",
1747
1748
  "surface"
1748
1749
  ], Dt = [
@@ -18287,7 +18288,7 @@ function eM({ active: t, payload: n, className: r, indicator: i = "dot", hideLab
18287
18288
  if (x.length === 0 && !S) return null;
18288
18289
  let C = m && b.length > 0 ? m(b) : null;
18289
18290
  return /* @__PURE__ */ y("div", {
18290
- className: At("grid min-w-[8rem] items-start gap-1.5 rounded-surface border border-border bg-card px-2.5 py-1.5 text-xs shadow-popover", r),
18291
+ className: At("grid min-w-32 items-start gap-1.5 rounded-surface border border-border bg-card px-2.5 py-1.5 text-xs shadow-popover", r),
18291
18292
  children: [
18292
18293
  S,
18293
18294
  x.length > 0 ? /* @__PURE__ */ v("div", {
package/dist/charts.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, O as m, P as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, Z as ee, _ as te, a as w, b as T, c as ne, d as re, f as ie, g as ae, h as oe, i as se, j as ce, k as le, l as ue, m as de, o as fe, p as pe, q as me, s as E, t as he, u as ge, v as _e, w as ve, x as ye, y as be, z as xe } from "./chart-D6BE0zF5.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, O as m, P as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, Z as ee, _ as te, a as w, b as T, c as ne, d as re, f as ie, g as ae, h as oe, i as se, j as ce, k as le, l as ue, m as de, o as fe, p as pe, q as me, s as E, t as he, u as ge, v as _e, w as ve, x as ye, y as be, z as xe } from "./chart-DeLyjZqf.js";
2
2
  import D, { PureComponent as Se, useMemo as O } from "react";
3
3
  import { jsx as k, jsxs as A } from "react/jsx-runtime";
4
4
  //#region ../../../node_modules/.pnpm/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/recharts/es6/shape/Polygon.js
package/dist/index.d.ts CHANGED
@@ -1681,8 +1681,8 @@ export declare interface HeatmapTableProps<T> {
1681
1681
  onRowClick?: (row: T) => void;
1682
1682
  /** Label used in pagination ("1–10 of 42 {entityLabel}") and empty state. */
1683
1683
  entityLabel?: string;
1684
- /** Tightens cell padding for dense, many-column matrices. */
1685
- density?: 'default' | 'compact' | 'dense';
1684
+ /** Component-owned density mode for this matrix. */
1685
+ density?: 'default' | 'compact';
1686
1686
  className?: string;
1687
1687
  }
1688
1688
 
@@ -1863,13 +1863,14 @@ export declare interface MetricAreaChartProps {
1863
1863
  className?: string;
1864
1864
  }
1865
1865
 
1866
- export declare function MetricCard({ label, value, subtitle, compact, className, onClick, children }: MetricCardProps): JSX.Element;
1866
+ export declare function MetricCard({ label, value, subtitle, density, className, onClick, children, }: MetricCardProps): JSX.Element;
1867
1867
 
1868
1868
  declare interface MetricCardProps {
1869
1869
  label: string;
1870
1870
  value: ReactNode;
1871
1871
  subtitle?: ReactNode;
1872
- compact?: boolean;
1872
+ /** Component-owned density mode for metric grids. */
1873
+ density?: 'default' | 'compact';
1873
1874
  className?: string;
1874
1875
  onClick?: () => void;
1875
1876
  children?: ReactNode;
@@ -2008,7 +2009,7 @@ declare interface MultiSelectProps extends MultiSelectCoreProps {
2008
2009
  * events only within the dialog's own content subtree. This popover portals
2009
2010
  * to the body, so it sits outside that subtree and the lock swallows every
2010
2011
  * wheel event over the option list — the list is a real scroll container
2011
- * (`max-h-[300px] overflow-y-auto`) but cannot be scrolled, stranding every
2012
+ * (`max-h-75 overflow-y-auto`) but cannot be scrolled, stranding every
2012
2013
  * option past the ~7th. Radix `Select` is unaffected because it implements
2013
2014
  * its own scrolling rather than relying on native overflow.
2014
2015
  *
@@ -2519,6 +2520,55 @@ declare interface ProDataTableProps<T> {
2519
2520
  * pass `bg-*` here expecting it to restyle the table surface.
2520
2521
  */
2521
2522
  className?: string;
2523
+ /**
2524
+ * Opt-in row grouping. Returns a stable group key per row; the table inserts
2525
+ * a full-width section-header row before each group's members. Group order
2526
+ * follows first appearance in the filtered/sorted row model. Pair with
2527
+ * `renderGroupHeader` for custom header content.
2528
+ *
2529
+ * Grouping + client pagination is unsupported in v1 — when `groupBy` is set
2530
+ * without `manualPagination`, the client pager is forced off (same as
2531
+ * `disablePagination`). Server-paginated tables keep their pager.
2532
+ */
2533
+ groupBy?: (row: T) => string;
2534
+ /**
2535
+ * Optional stable group order, including keys that currently have zero rows
2536
+ * (vocabulary-only teams, empty buckets). Without it, headers are derived
2537
+ * from the row model and empty groups disappear.
2538
+ *
2539
+ * While the table is searching, empty keys are still omitted so the result
2540
+ * stays dense — matching the prior Roster `filterGroups` contract.
2541
+ */
2542
+ groupKeys?: readonly string[];
2543
+ /**
2544
+ * Render the section-header cell for a group. Receives the group's key, the
2545
+ * filtered member rows in that group, whether the body is expanded, and a
2546
+ * `toggle` callback (no-op when `collapsibleGroups` is off). Defaults to the
2547
+ * group key as plain text when omitted.
2548
+ */
2549
+ renderGroupHeader?: (ctx: {
2550
+ groupKey: string;
2551
+ rows: T[];
2552
+ expanded: boolean;
2553
+ toggle: () => void;
2554
+ }) => React_2.ReactNode;
2555
+ /**
2556
+ * When true with `groupBy`, section bodies can collapse (headers stay).
2557
+ * Defaults to false — groups always show their rows.
2558
+ */
2559
+ collapsibleGroups?: boolean;
2560
+ /**
2561
+ * Controlled set of expanded group keys. Omit for uncontrolled
2562
+ * (`defaultExpandedGroups`). Ignored when `collapsibleGroups` is false.
2563
+ */
2564
+ expandedGroups?: ReadonlySet<string>;
2565
+ /**
2566
+ * Uncontrolled initial expansion. `'all'` (default) expands every group;
2567
+ * `'none'` collapses all; a string array expands those keys only.
2568
+ */
2569
+ defaultExpandedGroups?: 'all' | 'none' | string[];
2570
+ /** Called whenever the expanded set changes (controlled or uncontrolled). */
2571
+ onExpandedGroupsChange?: (next: ReadonlySet<string>) => void;
2522
2572
  }
2523
2573
 
2524
2574
  /**
@@ -3023,12 +3073,12 @@ export declare type StatusTone = keyof typeof STATUS_TONES;
3023
3073
  * No drop shadows — neither on the track nor the thumb — consistent
3024
3074
  * with the rest of Atlas's form primitives (Input, Select, Textarea,
3025
3075
  * Button, Checkbox). Affordance comes from the bg-color transition
3026
- * (`bg-input` → `bg-primary`) and the thumb's translate + opaque
3076
+ * (`bg-input` → `bg-expressive`) and the thumb's translate + opaque
3027
3077
  * contrast against the track.
3028
3078
  */
3029
3079
  export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
3030
3080
 
3031
- declare function Table<T>({ columns, data, selectable, getRowId, selectedRowIds, onSelectionChange, enableRowSelection, rowActions, getRowLabel, searchable, filters, toolbar, actions, footer, pageSize, disablePagination, resizableColumns, columnSizingStorageKey, defaultSort, manualPagination, rowCount, pageIndex, onPageChange, manualSorting, sorting: controlledSorting, onSortingChange, manualFiltering, columnFilters: controlledColumnFilters, onColumnFiltersChange, loading, emptyMessage, onRowClick, rowHref, rowClassName, minWidth, height, bordered, variant, ariaLabel, className, }: ProDataTableProps<T>): JSX.Element;
3081
+ declare function Table<T>(props: ProDataTableProps<T>): JSX.Element;
3032
3082
  export { Table as DataTable }
3033
3083
  export { Table as ProDataTable }
3034
3084
  export { Table }
@@ -3063,7 +3113,7 @@ export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsP
3063
3113
  export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
3064
3114
 
3065
3115
  export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
3066
- variant?: "default" | "line" | "sidebar" | null | undefined;
3116
+ variant?: "default" | "line" | "pills" | "sidebar" | null | undefined;
3067
3117
  } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLDivElement>>;
3068
3118
 
3069
3119
  export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
@@ -3759,11 +3809,11 @@ declare interface TrendBadgeProps {
3759
3809
  * body or long-form copy: that should wrap, not truncate.
3760
3810
  *
3761
3811
  * ```tsx
3762
- * <TruncatedText className="max-w-[16rem]">{customer.name}</TruncatedText>
3812
+ * <TruncatedText className="max-w-64">{customer.name}</TruncatedText>
3763
3813
  *
3764
3814
  * // asChild — the link itself truncates; pass the text as `tooltip`:
3765
3815
  * <TruncatedText asChild tooltip={repo.name}>
3766
- * <a href={href} className="max-w-[14rem]">{repo.name}</a>
3816
+ * <a href={href} className="max-w-56">{repo.name}</a>
3767
3817
  * </TruncatedText>
3768
3818
  * ```
3769
3819
  */