@lateralus-ai/shipping-ui 2.0.0-dev.8 → 2.0.0-dev.9
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/components/Tabs.d.ts +5 -5
- package/dist/components/index.d.ts +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1138 -1138
- package/dist/primitives/Badge.d.ts +7 -4
- package/dist/primitives/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/Tabs.tsx +31 -33
- package/src/components/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/patterns/Search/SearchModal.tsx +7 -1
- package/src/primitives/Badge.tsx +15 -5
- package/src/primitives/index.ts +1 -1
- package/src/stories/canvases/ContentCanvas.tsx +27 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3
3
|
export type TabsType = "tabs" | "pills";
|
|
4
|
+
/** Soft = search filters (filled idle). Solid = workflow shell (ghost idle, blue active). */
|
|
5
|
+
export type TabsAppearance = "soft" | "solid";
|
|
4
6
|
export type TabsProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Root> & {
|
|
5
7
|
type?: TabsType;
|
|
8
|
+
/** Only applies when `type="pills"`. Defaults to `soft`. */
|
|
9
|
+
appearance?: TabsAppearance;
|
|
6
10
|
};
|
|
7
|
-
export declare const Tabs: ({ type, className, children, ...props }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Tabs: ({ type, appearance, className, children, ...props }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
12
|
export type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List>;
|
|
9
13
|
export declare const TabsList: import('react').ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
14
|
export type TabsTriggerProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & {
|
|
11
|
-
/** Optional count badge (pill variant / search filters). */
|
|
12
|
-
count?: number;
|
|
13
15
|
children: ReactNode;
|
|
14
16
|
};
|
|
15
17
|
export declare const TabsTrigger: import('react').ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
16
|
-
/** Optional count badge (pill variant / search filters). */
|
|
17
|
-
count?: number;
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
20
20
|
export type TabsContentProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;
|
|
@@ -4,7 +4,7 @@ export { InputType, type InputTypeProps, type InputTypeKind, type InputTypeState
|
|
|
4
4
|
export { Chip, type ChipProps, type ChipVariant } from './Chip';
|
|
5
5
|
export { Checkbox, type CheckboxProps } from './Checkbox';
|
|
6
6
|
export { Tab, type TabProps, type TabState } from './Tab';
|
|
7
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, type TabsItem, type TabsType, } from './Tabs';
|
|
7
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, type TabsItem, type TabsType, type TabsAppearance, } from './Tabs';
|
|
8
8
|
export { Header, type HeaderProps, type HeaderVariant } from './Header';
|
|
9
9
|
export { Entry, type EntryProps, type EntryType, type EntryState, type EntryVariant } from './Entry';
|
|
10
10
|
export { EmptyState, type EmptyStateProps } from './EmptyState';
|