@fastnd/components 1.0.10 → 1.0.12
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/EmptyState/EmptyState.d.ts +8 -0
- package/dist/components/ExpandButton/ExpandButton.d.ts +10 -0
- package/dist/components/ProgressCircle/ProgressCircle.d.ts +6 -0
- package/dist/components/ScoreBar/ScoreBar.d.ts +6 -0
- package/dist/components/SearchInput/SearchInput.d.ts +10 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +15 -0
- package/dist/components/index.d.ts +12 -0
- package/dist/components.js +845 -637
- package/dist/features/data-visualization/CardView/CardView.d.ts +24 -0
- package/dist/features/data-visualization/ConfigPopover/ConfigPopover.d.ts +12 -0
- package/dist/features/data-visualization/DataGrid/DataGrid.d.ts +34 -0
- package/dist/features/data-visualization/DataGrid/ResultCount.d.ts +8 -0
- package/dist/features/data-visualization/DataTable/DataTable.d.ts +17 -0
- package/dist/features/data-visualization/DataVisualizationPage/DataVisualizationPage.d.ts +8 -0
- package/dist/features/data-visualization/DomainSwitcher/DomainSwitcher.d.ts +9 -0
- package/dist/features/data-visualization/ListView/ListView.d.ts +19 -0
- package/dist/features/data-visualization/MoreFiltersPopover/MoreFiltersPopover.d.ts +12 -0
- package/dist/features/data-visualization/Toolbar/Toolbar.d.ts +22 -0
- package/dist/features/data-visualization/cells/CellDouble.d.ts +7 -0
- package/dist/features/data-visualization/cells/CellLink.d.ts +7 -0
- package/dist/features/data-visualization/cells/CellPrice.d.ts +7 -0
- package/dist/features/data-visualization/cells/InventoryBadge.d.ts +8 -0
- package/dist/features/data-visualization/cells/LifecycleStatusBadge.d.ts +8 -0
- package/dist/features/data-visualization/cells/index.d.ts +10 -0
- package/dist/features/data-visualization/index.d.ts +19 -0
- package/dist/features/data-visualization/types.d.ts +79 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface EmptyStateProps {
|
|
3
|
+
title: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ExpandButtonProps {
|
|
3
|
+
expanded?: boolean;
|
|
4
|
+
count?: number;
|
|
5
|
+
label?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
'aria-label'?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ExpandButton: React.ForwardRefExoticComponent<ExpandButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SearchInputProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
'aria-label'?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SegmentedControlOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface SegmentedControlProps {
|
|
8
|
+
options: SegmentedControlOption[];
|
|
9
|
+
value: string;
|
|
10
|
+
onChange?: (value: string) => void;
|
|
11
|
+
'aria-label'?: string;
|
|
12
|
+
role?: 'tablist' | 'radiogroup';
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const SegmentedControl: React.ForwardRefExoticComponent<SegmentedControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -20,3 +20,15 @@ export { StatusDropdown } from './StatusDropdown/StatusDropdown';
|
|
|
20
20
|
export type { StatusDropdownProps, StatusOption } from './StatusDropdown/StatusDropdown';
|
|
21
21
|
export { Checklist } from './Checklist/Checklist';
|
|
22
22
|
export type { ChecklistProps, ChecklistItemType } from './Checklist/Checklist';
|
|
23
|
+
export { SearchInput } from './SearchInput/SearchInput';
|
|
24
|
+
export type { SearchInputProps } from './SearchInput/SearchInput';
|
|
25
|
+
export { ExpandButton } from './ExpandButton/ExpandButton';
|
|
26
|
+
export type { ExpandButtonProps } from './ExpandButton/ExpandButton';
|
|
27
|
+
export { ProgressCircle } from './ProgressCircle/ProgressCircle';
|
|
28
|
+
export type { ProgressCircleProps } from './ProgressCircle/ProgressCircle';
|
|
29
|
+
export { ScoreBar } from './ScoreBar/ScoreBar';
|
|
30
|
+
export type { ScoreBarProps } from './ScoreBar/ScoreBar';
|
|
31
|
+
export { EmptyState } from './EmptyState/EmptyState';
|
|
32
|
+
export type { EmptyStateProps } from './EmptyState/EmptyState';
|
|
33
|
+
export { SegmentedControl } from './SegmentedControl/SegmentedControl';
|
|
34
|
+
export type { SegmentedControlProps, SegmentedControlOption } from './SegmentedControl/SegmentedControl';
|