@juspay/blend-design-system 0.0.25-beta → 0.0.26-beta

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.
Files changed (47) hide show
  1. package/dist/components/Avatar/Avatar.d.ts +2 -1
  2. package/dist/components/Avatar/types.d.ts +5 -0
  3. package/dist/components/Button/Button.d.ts +1 -1
  4. package/dist/components/Button/types.d.ts +1 -1
  5. package/dist/components/Checkbox/checkboxUtils.d.ts +0 -19
  6. package/dist/components/Checkbox/types.d.ts +1 -1
  7. package/dist/components/DataTable/TableBody/types.d.ts +5 -0
  8. package/dist/components/DataTable/TableHeader/DraggableColumnHeader.d.ts +9 -0
  9. package/dist/components/DataTable/TableHeader/index.d.ts +2 -1
  10. package/dist/components/DataTable/TableHeader/types.d.ts +2 -0
  11. package/dist/components/DataTable/types.d.ts +8 -14
  12. package/dist/components/Directory/directory.tokens.d.ts +86 -0
  13. package/dist/components/Drawer/components/DrawerBase.d.ts +1 -1
  14. package/dist/components/Drawer/types.d.ts +17 -0
  15. package/dist/components/Inputs/MultiValueInput/MultiValueInput.d.ts +1 -1
  16. package/dist/components/Inputs/MultiValueInput/types.d.ts +3 -1
  17. package/dist/components/Menu/Menu.d.ts +1 -1
  18. package/dist/components/Menu/types.d.ts +6 -0
  19. package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
  20. package/dist/components/MultiSelect/MultiSelectMenu.d.ts +1 -1
  21. package/dist/components/MultiSelect/types.d.ts +11 -0
  22. package/dist/components/Radio/utils.d.ts +0 -1
  23. package/dist/components/Sidebar/TenantPanel.d.ts +3 -1
  24. package/dist/components/Sidebar/sidebar.tokens.d.ts +1 -0
  25. package/dist/components/Sidebar/types.d.ts +22 -1
  26. package/dist/components/Sidebar/utils.d.ts +1 -1
  27. package/dist/components/SingleSelect/SingleSelect.d.ts +1 -1
  28. package/dist/components/SingleSelect/SingleSelectMenu.d.ts +7 -1
  29. package/dist/components/SingleSelect/types.d.ts +6 -0
  30. package/dist/components/SplitTag/types.d.ts +1 -10
  31. package/dist/components/StatCard/StatCard.d.ts +1 -1
  32. package/dist/components/StatCard/types.d.ts +6 -0
  33. package/dist/components/Switch/utils.d.ts +0 -1
  34. package/dist/components/Tabs/StyledTabs.d.ts +2 -0
  35. package/dist/components/Tabs/Tabs.d.ts +2 -0
  36. package/dist/components/Tabs/TabsList.d.ts +2 -0
  37. package/dist/components/Tabs/TabsTrigger.d.ts +5 -0
  38. package/dist/components/Tabs/types.d.ts +12 -0
  39. package/dist/components/Tabs/utils.d.ts +20 -0
  40. package/dist/components/Topbar/topbar.tokens.d.ts +19 -11
  41. package/dist/components/Topbar/types.d.ts +2 -1
  42. package/dist/context/ThemeContext.d.ts +2 -0
  43. package/dist/context/useComponentToken.d.ts +2 -1
  44. package/dist/main.d.ts +1 -0
  45. package/dist/main.js +38266 -29411
  46. package/dist/tokens/unit.tokens.d.ts +2 -0
  47. package/package.json +5 -1
@@ -1,4 +1,4 @@
1
- import { AvatarSize, AvatarShape } from './types';
1
+ import { AvatarSize, AvatarShape, AvatarOnlinePosition } from './types';
2
2
  declare const Avatar: import('react').ForwardRefExoticComponent<{
3
3
  src?: string;
4
4
  alt?: string;
@@ -6,6 +6,7 @@ declare const Avatar: import('react').ForwardRefExoticComponent<{
6
6
  size?: AvatarSize;
7
7
  shape?: AvatarShape;
8
8
  online?: boolean;
9
+ onlinePosition?: AvatarOnlinePosition;
9
10
  leadingSlot?: React.ReactNode;
10
11
  trailingSlot?: React.ReactNode;
11
12
  } & Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -10,6 +10,10 @@ export declare enum AvatarShape {
10
10
  CIRCULAR = "circular",
11
11
  ROUNDED = "rounded"
12
12
  }
13
+ export declare enum AvatarOnlinePosition {
14
+ TOP = "top",
15
+ BOTTOM = "bottom"
16
+ }
13
17
  export type AvatarProps = {
14
18
  src?: string;
15
19
  alt?: string;
@@ -17,6 +21,7 @@ export type AvatarProps = {
17
21
  size?: AvatarSize;
18
22
  shape?: AvatarShape;
19
23
  online?: boolean;
24
+ onlinePosition?: AvatarOnlinePosition;
20
25
  leadingSlot?: React.ReactNode;
21
26
  trailingSlot?: React.ReactNode;
22
27
  } & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
@@ -7,7 +7,7 @@ declare const Button: import('react').ForwardRefExoticComponent<{
7
7
  leadingIcon?: React.ReactNode;
8
8
  trailingIcon?: React.ReactNode;
9
9
  disabled?: boolean;
10
- onClick?: () => void;
10
+ onClick?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
11
11
  loading?: boolean;
12
12
  showSkeleton?: boolean;
13
13
  skeletonVariant?: import('../Skeleton').SkeletonVariant;
@@ -31,7 +31,7 @@ export type ButtonProps = {
31
31
  leadingIcon?: React.ReactNode;
32
32
  trailingIcon?: React.ReactNode;
33
33
  disabled?: boolean;
34
- onClick?: () => void;
34
+ onClick?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
35
35
  loading?: boolean;
36
36
  showSkeleton?: boolean;
37
37
  skeletonVariant?: SkeletonVariant;
@@ -1,25 +1,6 @@
1
1
  import { CheckboxSize } from './types';
2
2
  import { CheckboxTokensType } from './checkbox.token';
3
3
  export declare const getCheckboxDataState: (checked: boolean | "indeterminate") => string;
4
- export declare const extractPixelValue: (tokenValue: string | number | undefined) => number;
5
- /**
6
- * Determines if the checkbox component is controlled based on the checked prop
7
- */
8
- export declare const isControlledCheckbox: (checked: boolean | "indeterminate" | undefined) => boolean;
9
- /**
10
- * Creates input props for controlled vs uncontrolled components
11
- */
12
- export declare const createCheckboxInputProps: (checked: boolean | "indeterminate" | undefined, defaultChecked: boolean) => {
13
- checked: boolean | undefined;
14
- defaultChecked?: undefined;
15
- } | {
16
- defaultChecked: boolean;
17
- checked?: undefined;
18
- };
19
- /**
20
- * Gets the current checked state for styling purposes
21
- */
22
- export declare const getCurrentCheckedState: (checked: boolean | "indeterminate" | undefined, defaultChecked: boolean) => boolean | "indeterminate";
23
4
  /**
24
5
  * Gets the icon color based on checkbox state
25
6
  */
@@ -16,7 +16,7 @@ export declare enum CheckboxInteractionState {
16
16
  }
17
17
  export type CheckboxProps = {
18
18
  id?: string;
19
- value?: string;
19
+ name?: string;
20
20
  checked?: boolean | 'indeterminate';
21
21
  defaultChecked?: boolean;
22
22
  onCheckedChange?: (checked: boolean | 'indeterminate') => void;
@@ -1,5 +1,6 @@
1
1
  import { ColumnDefinition, RowActionsConfig } from '../types';
2
2
  import { MobileDataTableConfig } from '../hooks/useMobileDataTable';
3
+ import { SkeletonVariant } from '../../Skeleton/skeleton.tokens';
3
4
  export type TableBodyProps<T extends Record<string, unknown>> = {
4
5
  currentData: T[];
5
6
  visibleColumns: ColumnDefinition<T>[];
@@ -35,4 +36,8 @@ export type TableBodyProps<T extends Record<string, unknown>> = {
35
36
  getColumnWidth: (column: ColumnDefinition<T>, index: number) => React.CSSProperties;
36
37
  getRowStyle?: (row: T, index: number) => React.CSSProperties;
37
38
  getDisplayValue?: (value: unknown, column: ColumnDefinition<T>) => unknown;
39
+ isLoading?: boolean;
40
+ showSkeleton?: boolean;
41
+ skeletonVariant?: SkeletonVariant;
42
+ isRowLoading?: (row: T, index: number) => boolean;
38
43
  };
@@ -0,0 +1,9 @@
1
+ interface DraggableColumnHeaderProps {
2
+ id: string;
3
+ children: React.ReactNode;
4
+ style?: React.CSSProperties;
5
+ disabled?: boolean;
6
+ 'data-table-column-heading'?: string;
7
+ }
8
+ export declare const DraggableColumnHeader: React.FC<DraggableColumnHeaderProps>;
9
+ export {};
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { TableHeaderProps } from './types';
2
- declare const TableHeader: import('react').ForwardRefExoticComponent<TableHeaderProps<Record<string, unknown>> & import('react').RefAttributes<HTMLTableSectionElement>>;
3
+ declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps<Record<string, unknown>> & React.RefAttributes<HTMLTableSectionElement>>;
3
4
  export default TableHeader;
@@ -8,6 +8,7 @@ export type TableHeaderProps<T extends Record<string, unknown>> = {
8
8
  sortConfig?: SortConfig | null;
9
9
  enableInlineEdit?: boolean;
10
10
  enableColumnManager?: boolean;
11
+ enableColumnReordering?: boolean;
11
12
  columnManagerMaxSelections?: number;
12
13
  columnManagerAlwaysSelected?: string[];
13
14
  columnManagerPrimaryAction?: {
@@ -36,6 +37,7 @@ export type TableHeaderProps<T extends Record<string, unknown>> = {
36
37
  onSortDescending?: (field: keyof T) => void;
37
38
  onSelectAll: (checked: boolean | 'indeterminate') => void;
38
39
  onColumnChange: (columns: ColumnDefinition<T>[]) => void;
40
+ onColumnReorder?: (columns: ColumnDefinition<T>[]) => void;
39
41
  onColumnFilter?: (field: string, type: FilterType, value: string | string[] | {
40
42
  min: number;
41
43
  max: number;
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ButtonType, ButtonSize, ButtonSubType } from '../Button/types';
3
+ import { SkeletonVariant } from '../Skeleton/skeleton.tokens';
3
4
  export declare enum SortDirection {
4
5
  NONE = "none",
5
6
  ASCENDING = "asc",
@@ -121,6 +122,8 @@ export type BaseColumnDefinition<T> = {
121
122
  frozen?: boolean;
122
123
  className?: string;
123
124
  filterType?: FilterType;
125
+ showSkeleton?: boolean;
126
+ skeletonVariant?: SkeletonVariant;
124
127
  };
125
128
  export type ColumnDefinition<T> = (BaseColumnDefinition<T> & {
126
129
  type: ColumnType.TEXT;
@@ -235,6 +238,8 @@ export type DataTableProps<T extends Record<string, unknown>> = {
235
238
  onAdvancedFiltersChange?: (filters: unknown[]) => void;
236
239
  columnFreeze?: number;
237
240
  enableColumnManager?: boolean;
241
+ enableColumnReordering?: boolean;
242
+ onColumnReorder?: (columns: ColumnDefinition<T>[]) => void;
238
243
  columnManagerMaxSelections?: number;
239
244
  columnManagerAlwaysSelected?: (keyof T)[];
240
245
  columnManagerPrimaryAction?: {
@@ -255,6 +260,9 @@ export type DataTableProps<T extends Record<string, unknown>> = {
255
260
  onPageChange?: (page: number) => void;
256
261
  onPageSizeChange?: (pageSize: number) => void;
257
262
  isLoading?: boolean;
263
+ showSkeleton?: boolean;
264
+ skeletonVariant?: SkeletonVariant;
265
+ isRowLoading?: (row: T, index: number) => boolean;
258
266
  showHeader?: boolean;
259
267
  showToolbar?: boolean;
260
268
  showSettings?: boolean;
@@ -280,19 +288,5 @@ export type DataTableProps<T extends Record<string, unknown>> = {
280
288
  rowActions?: RowActionsConfig<T>;
281
289
  getRowStyle?: (row: T, index: number) => React.CSSProperties;
282
290
  tableBodyHeight?: string | number;
283
- /**
284
- * Approximate height of a single row in pixels.
285
- * Used to calculate minimum table height based on page size.
286
- * Helps maintain consistent layout and prevent shifting.
287
- * @default 52
288
- */
289
- rowHeight?: number;
290
- /**
291
- * Whether to maintain minimum height based on page size.
292
- * When true, table maintains consistent height preventing layout shifts.
293
- * When false, table height adjusts to content.
294
- * @default true
295
- */
296
- maintainMinHeight?: boolean;
297
291
  mobileColumnsToShow?: number;
298
292
  };
@@ -0,0 +1,86 @@
1
+ import { CSSObject } from 'styled-components';
2
+ import { FoundationTokenType } from '../../tokens/theme.token';
3
+ import { BreakpointType } from '../../breakpoints/breakPoints';
4
+ export type DirectoryState = 'default' | 'hover' | 'active';
5
+ /**
6
+ * Directory Tokens following the pattern: [target].CSSProp.[state]
7
+ *
8
+ * Hierarchical Structure:
9
+ * - Container level: gap, paddingX, paddingY (spacing for the entire directory)
10
+ * - Section level: Contains header, label, chevron, and item
11
+ * - header: Controls section header layout
12
+ * - label: Controls section label text styling
13
+ * - chevron: Controls section collapse/expand icon
14
+ * - item: Navigation items within the section (NavItem)
15
+ * - nested: Child items within navigation items
16
+ *
17
+ * Pattern examples:
18
+ * - gap (space between sections)
19
+ * - paddingX (container horizontal padding)
20
+ * - section.header.padding (section header spacing)
21
+ * - section.item.backgroundColor.[state] (nav item background with states)
22
+ * - section.item.nested.paddingLeft (nested item indentation)
23
+ */
24
+ export type DirectoryTokenType = {
25
+ gap: CSSObject['gap'];
26
+ paddingX: CSSObject['padding'];
27
+ paddingY: CSSObject['padding'];
28
+ section: {
29
+ gap: CSSObject['gap'];
30
+ header: {
31
+ padding: {
32
+ x: CSSObject['padding'];
33
+ y: CSSObject['padding'];
34
+ };
35
+ label: {
36
+ fontSize: CSSObject['fontSize'];
37
+ color: CSSObject['color'];
38
+ fontWeight: CSSObject['fontWeight'];
39
+ };
40
+ chevron: {
41
+ width: CSSObject['width'];
42
+ color: CSSObject['color'];
43
+ };
44
+ };
45
+ itemList: {
46
+ gap: CSSObject['gap'];
47
+ item: {
48
+ padding: {
49
+ x: CSSObject['padding'];
50
+ y: CSSObject['padding'];
51
+ };
52
+ gap: CSSObject['gap'];
53
+ borderRadius: CSSObject['borderRadius'];
54
+ fontWeight: CSSObject['fontWeight'];
55
+ fontSize: CSSObject['fontSize'];
56
+ transition: CSSObject['transition'];
57
+ backgroundColor: {
58
+ [key in DirectoryState]: CSSObject['backgroundColor'];
59
+ };
60
+ color: {
61
+ [key in DirectoryState]: CSSObject['color'];
62
+ };
63
+ icon: {
64
+ width: CSSObject['width'];
65
+ };
66
+ chevron: {
67
+ width: CSSObject['width'];
68
+ color: CSSObject['color'];
69
+ };
70
+ };
71
+ nested: {
72
+ paddingLeft: CSSObject['paddingLeft'];
73
+ marginTop: CSSObject['marginTop'];
74
+ border: {
75
+ width: CSSObject['width'];
76
+ color: CSSObject['color'];
77
+ leftOffset: CSSObject['left'];
78
+ };
79
+ };
80
+ };
81
+ };
82
+ };
83
+ export type ResponsiveDirectoryTokens = {
84
+ [key in keyof BreakpointType]: DirectoryTokenType;
85
+ };
86
+ export declare const getDirectoryTokens: (foundationToken: FoundationTokenType) => ResponsiveDirectoryTokens;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { DrawerProps, DrawerTriggerProps, DrawerContentProps, DrawerHeaderProps, DrawerTitleProps, DrawerDescriptionProps, DrawerFooterProps, DrawerCloseProps } from '../types';
3
- export declare const Drawer: ({ open, onOpenChange, direction, modal, dismissible, nested, snapPoints, activeSnapPoint, onSnapPointChange, fadeFromIndex, snapToSequentialPoint, children, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Drawer: ({ open, onOpenChange, direction, modal, dismissible, nested, snapPoints, activeSnapPoint, onSnapPointChange, fadeFromIndex, snapToSequentialPoint, disableDrag, children, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const DrawerTrigger: React.ForwardRefExoticComponent<DrawerTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  export declare const DrawerPortal: typeof import('vaul').Portal;
6
6
  export declare const DrawerOverlay: React.ForwardRefExoticComponent<{
@@ -60,6 +60,7 @@ export type DrawerProps = {
60
60
  * @default false
61
61
  */
62
62
  snapToSequentialPoint?: boolean;
63
+ disableDrag?: boolean;
63
64
  /**
64
65
  * Custom mobile offset values (overrides token defaults)
65
66
  */
@@ -105,6 +106,14 @@ export type DrawerContentProps = {
105
106
  * Custom styles
106
107
  */
107
108
  style?: React.CSSProperties;
109
+ /**
110
+ * Accessibility label for the drawer content
111
+ */
112
+ 'aria-label'?: string;
113
+ /**
114
+ * ID of the element describing the drawer content
115
+ */
116
+ 'aria-describedby'?: string;
108
117
  };
109
118
  export type DrawerHeaderProps = {
110
119
  /**
@@ -125,6 +134,10 @@ export type DrawerTitleProps = {
125
134
  * Custom class name
126
135
  */
127
136
  className?: string;
137
+ /**
138
+ * ID for ARIA labeling
139
+ */
140
+ id?: string;
128
141
  };
129
142
  export type DrawerDescriptionProps = {
130
143
  /**
@@ -135,6 +148,10 @@ export type DrawerDescriptionProps = {
135
148
  * Custom class name
136
149
  */
137
150
  className?: string;
151
+ /**
152
+ * ID for ARIA description
153
+ */
154
+ id?: string;
138
155
  };
139
156
  export type DrawerFooterProps = {
140
157
  /**
@@ -1,3 +1,3 @@
1
1
  import { MultiValueInputProps } from './types';
2
- declare const MultiValueInput: ({ value, label, sublabel, disabled, required, error, errorMessage, hintText, tags, onTagAdd, onTagRemove, onChange, size, ...rest }: MultiValueInputProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MultiValueInput: ({ value, label, sublabel, disabled, required, error, errorMessage, hintText, tags, onTagAdd, onTagRemove, onChange, size, onFocus, onBlur, ...rest }: MultiValueInputProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MultiValueInput;
@@ -25,4 +25,6 @@ export type MultiValueInputProps = {
25
25
  onTagRemove?: (tag: string) => void;
26
26
  onChange?: (value: string) => void;
27
27
  size?: TextInputSize;
28
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'style' | 'className' | 'onChange' | 'value'>;
28
+ onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
29
+ onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
30
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'style' | 'className' | 'onChange' | 'value' | 'onFocus' | 'onBlur'>;
@@ -2,7 +2,7 @@ import { CSSObject } from 'styled-components';
2
2
  import { MenuProps } from './types';
3
3
  export declare const contentBaseStyle: CSSObject;
4
4
  declare const Menu: {
5
- ({ trigger, items, asModal, alignment, side, sideOffset, alignOffset, collisonBoundaryRef, maxHeight, enableSearch, searchPlaceholder, minWidth, maxWidth, open, onOpenChange, enableVirtualScrolling, virtualItemHeight, virtualOverscan, virtualScrollThreshold, }: MenuProps): import("react/jsx-runtime").JSX.Element;
5
+ ({ trigger, items, asModal, alignment, side, sideOffset, alignOffset, collisonBoundaryRef, maxHeight, enableSearch, searchPlaceholder, minWidth, maxWidth, open, onOpenChange, enableVirtualScrolling, virtualItemHeight, virtualOverscan, virtualScrollThreshold, skeleton, }: MenuProps): import("react/jsx-runtime").JSX.Element;
6
6
  displayName: string;
7
7
  };
8
8
  export default Menu;
@@ -1,3 +1,4 @@
1
+ import { SkeletonVariant } from '../Skeleton';
1
2
  import { TooltipSide, TooltipAlign, TooltipSize } from '../Tooltip/types';
2
3
  export declare enum MenuAlignment {
3
4
  START = "start",
@@ -31,6 +32,11 @@ export type MenuProps = {
31
32
  sideOffset?: number;
32
33
  alignOffset?: number;
33
34
  collisonBoundaryRef?: Element | null | Array<Element | null>;
35
+ skeleton?: {
36
+ count?: number;
37
+ show?: boolean;
38
+ variant?: SkeletonVariant;
39
+ };
34
40
  };
35
41
  export declare enum MenuItemVariant {
36
42
  DEFAULT = "default",
@@ -1,3 +1,3 @@
1
1
  import { MultiSelectProps } from './types';
2
- declare const MultiSelect: ({ selectedValues, onChange, items, label, sublabel, disabled, helpIconHintText, name, required, variant, selectionTagType, slot, hintText, placeholder, size, enableSearch, searchPlaceholder, enableSelectAll, selectAllText, maxSelections, customTrigger, useDrawerOnMobile, minMenuWidth, maxMenuWidth, maxMenuHeight, alignment, side, sideOffset, alignOffset, inline, onBlur, onFocus, error, errorMessage, showActionButtons, primaryAction, secondaryAction, showItemDividers, showHeaderBorder, fullWidth, enableVirtualization, virtualListItemHeight, virtualListOverscan, itemsToRender, onEndReached, endReachedThreshold, hasMore, loadingComponent, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MultiSelect: ({ selectedValues, onChange, items, label, sublabel, disabled, helpIconHintText, name, required, variant, selectionTagType, slot, hintText, placeholder, size, enableSearch, searchPlaceholder, enableSelectAll, selectAllText, maxSelections, customTrigger, useDrawerOnMobile, minMenuWidth, maxMenuWidth, maxMenuHeight, alignment, side, sideOffset, alignOffset, inline, onBlur, onFocus, error, errorMessage, showActionButtons, primaryAction, secondaryAction, showItemDividers, showHeaderBorder, fullWidth, enableVirtualization, virtualListItemHeight, virtualListOverscan, itemsToRender, onEndReached, endReachedThreshold, hasMore, loadingComponent, skeleton, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MultiSelect;
@@ -1,3 +1,3 @@
1
1
  import { MultiSelectMenuProps } from './types';
2
- declare const MultiSelectMenu: ({ items, selected, onSelect, trigger, minMenuWidth, maxMenuWidth, maxMenuHeight, disabled, enableSearch, searchPlaceholder, enableSelectAll, selectAllText, maxSelections, onSelectAll, alignment, side, sideOffset, alignOffset, open, onOpenChange, showActionButtons, primaryAction, secondaryAction, enableVirtualization, virtualListItemHeight, virtualListOverscan, onEndReached, endReachedThreshold, hasMore, }: MultiSelectMenuProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MultiSelectMenu: ({ items, selected, onSelect, trigger, minMenuWidth, maxMenuWidth, maxMenuHeight, disabled, enableSearch, searchPlaceholder, enableSelectAll, selectAllText, maxSelections, onSelectAll, alignment, side, sideOffset, alignOffset, open, onOpenChange, showActionButtons, primaryAction, secondaryAction, enableVirtualization, virtualListItemHeight, virtualListOverscan, onEndReached, endReachedThreshold, hasMore, skeleton, }: MultiSelectMenuProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MultiSelectMenu;
@@ -1,3 +1,4 @@
1
+ import { SkeletonVariant } from '../Skeleton';
1
2
  import { TooltipSide, TooltipAlign, TooltipSize } from '../Tooltip/types';
2
3
  export declare enum MultiSelectVariant {
3
4
  CONTAINER = "container",
@@ -112,6 +113,11 @@ export type MultiSelectProps = {
112
113
  endReachedThreshold?: number;
113
114
  hasMore?: boolean;
114
115
  loadingComponent?: React.ReactNode;
116
+ skeleton?: {
117
+ count?: number;
118
+ show?: boolean;
119
+ variant?: SkeletonVariant;
120
+ };
115
121
  };
116
122
  export type MultiSelectMenuProps = {
117
123
  items: MultiSelectMenuGroupType[];
@@ -155,4 +161,9 @@ export type MultiSelectMenuProps = {
155
161
  endReachedThreshold?: number;
156
162
  hasMore?: boolean;
157
163
  loadingComponent?: React.ReactNode;
164
+ skeleton?: {
165
+ count?: number;
166
+ show?: boolean;
167
+ variant?: SkeletonVariant;
168
+ };
158
169
  };
@@ -2,7 +2,6 @@ import { default as React } from 'react';
2
2
  import { RadioSize, RadioProps } from './types';
3
3
  import { RadioTokensType } from './radio.token';
4
4
  export declare const getRadioDataState: (checked: boolean) => string;
5
- export declare const extractPixelValue: (tokenValue: string) => number;
6
5
  export declare const getSpacingBySize: (size: RadioSize) => {
7
6
  marginLeft: string;
8
7
  marginTop: string;
@@ -4,7 +4,9 @@ type TenantPanelProps = {
4
4
  items: TenantItem[];
5
5
  selected: string;
6
6
  onSelect: (label: string) => void;
7
- maxVisibleItems?: number;
7
+ tenantSlot1?: React.ReactNode;
8
+ tenantSlot2?: React.ReactNode;
9
+ tenantFooter?: React.ReactNode;
8
10
  };
9
11
  declare const TenantPanel: React.FC<TenantPanelProps>;
10
12
  declare const TenantItem: React.FC<{
@@ -60,6 +60,7 @@ export type SidebarTokenType = {
60
60
  backgroundColor: {
61
61
  [key in SidebarState]: CSSObject['backgroundColor'];
62
62
  };
63
+ width: CSSObject['width'];
63
64
  };
64
65
  };
65
66
  directory: {
@@ -5,17 +5,29 @@ export type LeftPanelItem = {
5
5
  label: string;
6
6
  icon: ReactNode;
7
7
  value?: string;
8
+ /**
9
+ * When true, item appears in main panel. When false or undefined, item appears in overflow menu (3-dots)
10
+ * Defaults to false (hidden in overflow)
11
+ */
12
+ showInPanel?: boolean;
8
13
  };
9
14
  export type LeftPanelInfo = {
10
15
  items: LeftPanelItem[];
11
16
  selected: string;
12
17
  onSelect: (value: string) => void;
13
- maxVisibleItems?: number;
18
+ tenantSlot1?: ReactNode;
19
+ tenantSlot2?: ReactNode;
20
+ tenantFooter?: ReactNode;
14
21
  };
15
22
  export type TenantItem = {
16
23
  label: string;
17
24
  value?: string;
18
25
  icon: ReactNode;
26
+ /**
27
+ * When true, item appears in main panel. When false or undefined, item appears in overflow menu (3-dots)
28
+ * Defaults to false (hidden in overflow)
29
+ */
30
+ showInPanel?: boolean;
19
31
  };
20
32
  export type SidebarMerchantInfo = {
21
33
  items: Array<{
@@ -69,6 +81,15 @@ export type SidebarProps = {
69
81
  * Only used when isExpanded is not provided
70
82
  */
71
83
  defaultIsExpanded?: boolean;
84
+ /**
85
+ * When true, shows only the left panel without any sidebar content
86
+ * In this mode:
87
+ * - Only left panel is visible (no directory, header, footer, toggle)
88
+ * - Left panel is always shown (no intermediate/hover states)
89
+ * - Sidebar cannot be expanded
90
+ * Only applies when leftPanel is provided
91
+ */
92
+ panelOnlyMode?: boolean;
72
93
  /**
73
94
  * Show primary action button in mobile navigation
74
95
  */
@@ -1,7 +1,7 @@
1
1
  import { MobileNavigationItem, TenantItem } from './types';
2
2
  import { SidebarTokenType } from './sidebar.tokens';
3
3
  import { DirectoryData } from '../Directory/types';
4
- export declare const arrangeTenants: (tenants: TenantItem[], selectedLabel: string, maxVisible: number) => {
4
+ export declare const arrangeTenants: (tenants: TenantItem[], selectedLabel: string) => {
5
5
  visibleTenants: TenantItem[];
6
6
  hiddenTenants: TenantItem[];
7
7
  hasMoreTenants: boolean;
@@ -1,3 +1,3 @@
1
1
  import { SingleSelectProps } from './types';
2
- declare const SingleSelect: ({ label, subLabel, hintText, required, helpIconText, placeholder, error, errorMessage, size, items, name, variant, disabled, selected, onSelect, enableSearch, searchPlaceholder, slot, customTrigger, useDrawerOnMobile, alignment, side, sideOffset, alignOffset, minMenuWidth, maxMenuWidth, maxMenuHeight, onBlur, onFocus, inline, fullWidth, enableVirtualization, virtualListItemHeight, virtualListOverscan, onEndReached, endReachedThreshold, hasMore, loadingComponent, }: SingleSelectProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SingleSelect: ({ label, subLabel, hintText, required, helpIconText, placeholder, error, errorMessage, size, items, name, variant, disabled, selected, onSelect, enableSearch, searchPlaceholder, slot, customTrigger, useDrawerOnMobile, alignment, side, sideOffset, alignOffset, minMenuWidth, maxMenuWidth, maxMenuHeight, onBlur, onFocus, inline, fullWidth, enableVirtualization, virtualListItemHeight, virtualListOverscan, onEndReached, endReachedThreshold, hasMore, loadingComponent, skeleton, }: SingleSelectProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default SingleSelect;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { SelectMenuAlignment, SelectMenuSide, SelectMenuGroupType } from '../Select';
3
3
  import { SelectMenuSize, SelectMenuVariant } from './types';
4
+ import { SkeletonVariant } from '../Skeleton';
4
5
  type SingleSelectMenuProps = {
5
6
  items: SelectMenuGroupType[];
6
7
  selected: string;
@@ -27,6 +28,11 @@ type SingleSelectMenuProps = {
27
28
  endReachedThreshold?: number;
28
29
  hasMore?: boolean;
29
30
  loadingComponent?: React.ReactNode;
31
+ skeleton?: {
32
+ count?: number;
33
+ show?: boolean;
34
+ variant?: SkeletonVariant;
35
+ };
30
36
  };
31
- declare const SingleSelectMenu: ({ items, selected, onSelect, trigger, minMenuWidth, maxMenuWidth, maxMenuHeight, enableSearch, searchPlaceholder, disabled, alignment, side, sideOffset, alignOffset, open, onOpenChange, size, variant, enableVirtualization, virtualListItemHeight, virtualListOverscan, onEndReached, endReachedThreshold, hasMore, }: SingleSelectMenuProps) => import("react/jsx-runtime").JSX.Element;
37
+ declare const SingleSelectMenu: ({ items, selected, onSelect, trigger, minMenuWidth, maxMenuWidth, maxMenuHeight, enableSearch, searchPlaceholder, disabled, alignment, side, sideOffset, alignOffset, open, onOpenChange, size, variant, enableVirtualization, virtualListItemHeight, virtualListOverscan, onEndReached, endReachedThreshold, hasMore, skeleton, }: SingleSelectMenuProps) => import("react/jsx-runtime").JSX.Element;
32
38
  export default SingleSelectMenu;
@@ -1,3 +1,4 @@
1
+ import { SkeletonVariant } from '../Skeleton';
1
2
  import { TooltipSide, TooltipAlign, TooltipSize } from '../Tooltip/types';
2
3
  export declare enum SelectMenuAlignment {
3
4
  START = "start",
@@ -102,4 +103,9 @@ export type SingleSelectProps = {
102
103
  endReachedThreshold?: number;
103
104
  hasMore?: boolean;
104
105
  loadingComponent?: React.ReactNode;
106
+ skeleton?: {
107
+ count?: number;
108
+ show?: boolean;
109
+ variant?: SkeletonVariant;
110
+ };
105
111
  };
@@ -1,16 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { TagColor, TagProps, TagShape, TagSize, TagVariant } from '../Tags';
3
- export type TagConfig = {
4
- text: string;
5
- variant?: TagVariant;
6
- style?: TagColor;
7
- onClick?: () => void;
8
- };
1
+ import { TagProps, TagShape, TagSize } from '../Tags';
9
2
  export type SplitTagProps = {
10
3
  primaryTag: Omit<TagProps, 'splitTagPosition' | 'size' | 'shape'>;
11
4
  secondaryTag?: Omit<TagProps, 'splitTagPosition' | 'size' | 'shape'>;
12
- leadingSlot?: ReactNode;
13
- trailingSlot?: ReactNode;
14
5
  size?: TagSize;
15
6
  shape?: TagShape;
16
7
  };
@@ -1,6 +1,6 @@
1
1
  import { StatCardProps } from './types';
2
2
  declare const StatCard: {
3
- ({ title, value, valueTooltip, change, subtitle, variant, chartData, progressValue, titleIcon, actionIcon, helpIconText, dropdownProps, maxWidth, xAxis, yAxis, valueFormatter, height, direction, ...props }: StatCardProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ title, value, valueTooltip, change, subtitle, variant, chartData, progressValue, titleIcon, actionIcon, helpIconText, dropdownProps, minWidth, maxWidth, xAxis, yAxis, valueFormatter, height, direction, ...props }: StatCardProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  export default StatCard;
@@ -11,6 +11,10 @@ export declare enum ChangeType {
11
11
  INCREASE = "increase",
12
12
  DECREASE = "decrease"
13
13
  }
14
+ export declare enum StatCardArrowDirection {
15
+ UP = "up",
16
+ DOWN = "down"
17
+ }
14
18
  export type ChartDataPoint = {
15
19
  value: number;
16
20
  name: string;
@@ -18,6 +22,7 @@ export type ChartDataPoint = {
18
22
  export type StatCardChange = {
19
23
  value: number;
20
24
  valueType: ChangeType;
25
+ arrowDirection?: StatCardArrowDirection;
21
26
  tooltip?: ReactNode;
22
27
  };
23
28
  export declare enum StatCardDirection {
@@ -48,6 +53,7 @@ export type StatCardProps = {
48
53
  helpIconText?: string;
49
54
  dropdownProps?: SingleSelectProps;
50
55
  maxWidth?: string;
56
+ minWidth?: string;
51
57
  xAxis?: StatCardAxisConfig;
52
58
  yAxis?: StatCardAxisConfig;
53
59
  valueFormatter?: AxisType;
@@ -2,7 +2,6 @@ import { default as React } from 'react';
2
2
  import { SwitchSize, SwitchProps } from './types';
3
3
  import { SwitchTokensType } from './switch.token';
4
4
  export declare const getSwitchDataState: (checked: boolean) => string;
5
- export declare const extractPixelValue: (tokenValue: string) => number;
6
5
  export declare const getSpacingBySize: (size: SwitchSize) => {
7
6
  marginLeft: string;
8
7
  marginTop: string;
@@ -11,11 +11,13 @@ export declare const StyledTabsList: import('styled-components/dist/types').ISty
11
11
  $expanded: boolean;
12
12
  $fitContent: boolean;
13
13
  $tabsToken: TabsTokensType;
14
+ $hideIndicator?: boolean;
14
15
  }>> & string & Omit<import('react').ForwardRefExoticComponent<TabsPrimitive.TabsListProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
15
16
  export declare const StyledTabsTrigger: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<TabsPrimitive.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>, {
16
17
  $variant: TabsVariant;
17
18
  $size: TabsSize;
18
19
  $tabsToken: TabsTokensType;
20
+ $isOverlay?: boolean;
19
21
  }>> & string & Omit<import('react').ForwardRefExoticComponent<TabsPrimitive.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
20
22
  export declare const IconContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
21
23
  $tabsToken: TabsTokensType;
@@ -11,5 +11,7 @@ declare const Tabs: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react
11
11
  addButtonTooltip?: string;
12
12
  maxDisplayTabs?: number;
13
13
  disable?: boolean;
14
+ showSkeleton?: boolean;
15
+ skeletonVariant?: import('../Skeleton').SkeletonVariant;
14
16
  } & React.RefAttributes<HTMLDivElement>>;
15
17
  export default Tabs;