@sequenceholdings/atlas-ui 0.3.1 → 1.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 +12 -59
- package/dist/index.mjs +1810 -1813
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,11 @@ export declare const AGENT_TINTS: {
|
|
|
81
81
|
|
|
82
82
|
export declare type AgentTint = keyof typeof AGENT_TINTS;
|
|
83
83
|
|
|
84
|
-
export declare
|
|
84
|
+
export declare function AlertDialog({ open, defaultOpen, onOpenChange, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Root>): JSX.Element;
|
|
85
|
+
|
|
86
|
+
export declare namespace AlertDialog {
|
|
87
|
+
var displayName: string | undefined;
|
|
88
|
+
}
|
|
85
89
|
|
|
86
90
|
export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
87
91
|
|
|
@@ -1009,7 +1013,11 @@ export declare type DefaultTaskStatus = 'todo' | 'in_progress' | 'blocked' | 'do
|
|
|
1009
1013
|
* - Content rounds to `rounded-surface` (DES-313) — the top-level
|
|
1010
1014
|
* container radius role shared with Card.
|
|
1011
1015
|
*/
|
|
1012
|
-
export declare
|
|
1016
|
+
export declare function Dialog({ open, defaultOpen, onOpenChange, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
|
|
1017
|
+
|
|
1018
|
+
export declare namespace Dialog {
|
|
1019
|
+
var displayName: string | undefined;
|
|
1020
|
+
}
|
|
1013
1021
|
|
|
1014
1022
|
/**
|
|
1015
1023
|
* DialogBody — the scrollable body region between DialogHeader and
|
|
@@ -1498,68 +1506,13 @@ export declare interface FilterOption<T extends string> {
|
|
|
1498
1506
|
swatch?: ReactNode;
|
|
1499
1507
|
}
|
|
1500
1508
|
|
|
1501
|
-
export declare function FilterPill({ label, options, selected, onChange }: FilterPillProps): JSX.Element | null;
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* @deprecated Do not use in new code, and migrate existing usages off it.
|
|
1505
|
-
* `FilterPill` is being retired from the design system: filtering must go
|
|
1506
|
-
* through the canonical support — `ProDataTable`'s native filter funnel
|
|
1507
|
-
* (`meta.filter` → `FilterMenu`), which owns state, ordering (search always
|
|
1508
|
-
* before filter), and DS-composed controls. This standalone pill is removed
|
|
1509
|
-
* from the design-system gallery; it is still exported from
|
|
1510
|
-
* `@sequenceholdings/atlas-ui` (deprecated) purely so existing consumers keep
|
|
1511
|
-
* compiling — kept only until the remaining app consumers (chat / crm /
|
|
1512
|
-
* permissions / groups / jarvis / billing) are migrated to the funnel, after
|
|
1513
|
-
* which the exports and this file go away (DES-126).
|
|
1514
|
-
*
|
|
1515
|
-
* FilterPill — a compact multi-select filter anchored to a table toolbar.
|
|
1516
|
-
*
|
|
1517
|
-
* Visual contract mirrors `SelectTrigger` so a toolbar of FilterPills +
|
|
1518
|
-
* SearchInput + Select reads as one coherent row of controls, not a
|
|
1519
|
-
* grab-bag of visual treatments:
|
|
1520
|
-
*
|
|
1521
|
-
* - Height: h-9 (36px)
|
|
1522
|
-
* - Radius: `rounded-control` — operable and one line tall
|
|
1523
|
-
* - Border/bg: `border bg-card` — `--input` border, raised surface,
|
|
1524
|
-
* same palette as Select/Input. NOT `background`: that is
|
|
1525
|
-
* the PAGE role (ds-neutral-50 under v2, not white), which
|
|
1526
|
-
* rendered the pill as a grey chip next to the white
|
|
1527
|
-
* outline controls beside it. `Button variant="outline"`
|
|
1528
|
-
* carries the same note and the same `dark:bg-input/30`
|
|
1529
|
-
* lift, since in dark the resting fill matches the darkest
|
|
1530
|
-
* surface and vanishes.
|
|
1531
|
-
* - Padding: px-3 py-1
|
|
1532
|
-
* - Text: text-base md:text-sm (14px on desktop)
|
|
1533
|
-
* - Focus ring: focus:ring-1 focus:ring-ring (keyboard-visible)
|
|
1534
|
-
*
|
|
1535
|
-
* Rationale for NOT using `rounded-full` + primary fill (the old shape):
|
|
1536
|
-
* 1. Visual noise. When a toolbar mixes a SearchInput (8px radius),
|
|
1537
|
-
* two FilterPills (full radius), and a Select (8px radius), the
|
|
1538
|
-
* eye has to re-parse each control. A consistent radius reads as
|
|
1539
|
-
* one group.
|
|
1540
|
-
* 2. Active state hierarchy. A solid primary-colored pill made the
|
|
1541
|
-
* active filter feel like a CTA. Filters are not CTAs — the
|
|
1542
|
-
* primary action on a dashboard is "run query" / "save", not
|
|
1543
|
-
* "I've narrowed my view". A subtle count chip communicates
|
|
1544
|
-
* activity without competing with real buttons.
|
|
1545
|
-
*
|
|
1546
|
-
* Active state now uses a tiny pill-shaped count badge next to the
|
|
1547
|
-
* label. The trigger itself stays in the Select-aligned neutral look.
|
|
1548
|
-
*/
|
|
1549
|
-
declare interface FilterPillProps {
|
|
1550
|
-
label: string;
|
|
1551
|
-
options: string[];
|
|
1552
|
-
selected: string[];
|
|
1553
|
-
onChange: (values: string[]) => void;
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
1509
|
/**
|
|
1557
1510
|
* @deprecated Do not use in new code, and migrate existing usages off it.
|
|
1558
1511
|
* `FilterSelect` is retired in favor of `MultiSelect` (searchable cmdk list,
|
|
1559
1512
|
* always-visible checkboxes, stacked trigger icons). It is still exported from
|
|
1560
1513
|
* `@sequenceholdings/atlas-ui` (deprecated) so remaining consumers keep
|
|
1561
|
-
* compiling — remove only after the blast-radius scan is clean (
|
|
1562
|
-
*
|
|
1514
|
+
* compiling — remove only after the blast-radius scan is clean (DES-261
|
|
1515
|
+
* deprecate-before-delete pattern).
|
|
1563
1516
|
*
|
|
1564
1517
|
* A compact multi-select filter for a table/list toolbar: a trigger with a count
|
|
1565
1518
|
* chip when active, and a popover of swatch + label rows with a check on the
|