@lateralus-ai/shipping-ui 2.0.0-dev.4 → 2.0.0-dev.6

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.
@@ -1,13 +1,30 @@
1
1
  import { ReactNode } from 'react';
2
- export type EntryType = "chat" | "issue";
3
- export type EntryState = "idle" | "selected";
2
+ export type EntryVariant = "chat" | "issue" | "report";
3
+ /** @deprecated Prefer `EntryVariant`. */
4
+ export type EntryType = EntryVariant;
5
+ export type EntryState = "idle" | "active";
4
6
  export type EntryProps = {
5
- type: EntryType;
7
+ /** Visual type — drives the default leading icon. */
8
+ variant?: EntryVariant;
9
+ /** @deprecated Use `variant`. */
10
+ type?: EntryVariant;
6
11
  state?: EntryState;
7
- title: string;
8
- subtitle?: string;
9
- meta?: ReactNode;
12
+ title?: ReactNode;
13
+ /** Secondary line — excerpt, metadata, or highlighted query match. */
14
+ subtitle?: ReactNode;
15
+ /** Unread count badge in the title row (Figma red pill). */
16
+ count?: number;
17
+ /** Trailing actions (e.g. ellipsis menu). Shown on hover / when forced. */
18
+ trailing?: ReactNode;
19
+ /** Override the default variant icon. */
20
+ icon?: ReactNode;
10
21
  onClick?: () => void;
11
22
  className?: string;
23
+ /** @deprecated Use `count` or `trailing`. */
24
+ meta?: ReactNode;
12
25
  };
13
- export declare const Entry: ({ type, state, title, subtitle, meta, onClick, className, }: EntryProps) => import("react/jsx-runtime").JSX.Element;
26
+ /**
27
+ * List entry row — Figma `Entry` (389:10001).
28
+ * Shared by search results and activity lists.
29
+ */
30
+ export declare const Entry: ({ variant, type, state, title, subtitle, count, trailing, icon, onClick, className, meta, }: EntryProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,7 @@ export { Checkbox, type CheckboxProps } from './Checkbox';
6
6
  export { Tab, type TabProps, type TabState } from './Tab';
7
7
  export { Tabs, TabsList, TabsTrigger, TabsContent, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, type TabsItem, type TabsType, } from './Tabs';
8
8
  export { Header, type HeaderProps, type HeaderVariant } from './Header';
9
- export { Entry, type EntryProps, type EntryType, type EntryState } from './Entry';
9
+ export { Entry, type EntryProps, type EntryType, type EntryState, type EntryVariant } from './Entry';
10
10
  export { EmptyState, type EmptyStateProps } from './EmptyState';
11
11
  export { Modal, ModalTrigger, ModalClose, ModalPortal, ModalOverlay, ModalContent, ModalTitle, ModalDescription, ModalHeaderSlot, ModalBody, type ModalProps, type ModalOverlayProps, type ModalContentProps, type ModalTitleProps, type ModalDescriptionProps, type ModalBodyProps, } from './Modal';
12
12
  export { ModalPanel } from './ModalPanel';